diff -x .svn -aruN 1.4.24.src/addfav.php 1.4.25.src/addfav.php
--- 1.4.24.src/addfav.php	2009-05-21 15:03:09.000000000 -0500
+++ 1.4.25.src/addfav.php	2009-05-26 11:25:52.000000000 -0500
@@ -1,71 +1,71 @@
-<?php
-/*************************
-  Coppermine Photo Gallery
-  ************************
-  Copyright (c) 2003-2009 Coppermine Dev Team
-  v1.1 originally written by Gregory DEMAR
-
-  This program is free software; you can redistribute it and/or modify
-  it under the terms of the GNU General Public License version 3
-  as published by the Free Software Foundation.
-
-  ********************************************
-  Coppermine version: 1.4.24
-  $HeadURL: https://coppermine.svn.sourceforge.net/svnroot/coppermine/trunk/cpg1.4.x/addfav.php $
-  $Revision: 5969 $
-  $Author: gaugau $
-  $Date: 2009-05-21 22:03:33 +0200 (Do, 21 Mai 2009) $
-**********************************************/
-
-/**
-* @ignore
-*/
-define('IN_COPPERMINE', true);
-/**
-* @ignore
-*/
-define('RATEPIC_PHP', true);
-
-require('include/init.inc.php');
-// Check if required parameters are present
-if (!isset($_GET['pid'])) cpg_die(CRITICAL_ERROR, $lang_errors['param_missing'], __FILE__, __LINE__);
-
-$pic = (int)$_GET['pid'];
-
-$ref = $CONFIG['site_url'] . (isset($_GET['ref']) ? $_GET['ref'] : "displayimage.php?pos=-$pic");
-$ref = str_replace('&amp;', '&', $ref);
-
-// If user does not accept script's cookies, we don't accept the vote
-if (!isset($_COOKIE[$CONFIG['cookie_name'] . '_data'])) {
-    header("Location: $ref");
-    exit;
-}
-// See if this picture is already present in the array
-if (!in_array($pic, $FAVPICS)) {
-    $FAVPICS[] = $pic;
-} else {
-    $key = array_search($pic, $FAVPICS);
-    unset ($FAVPICS[$key]);
-}
-
-$data = base64_encode(serialize($FAVPICS));
-setcookie($CONFIG['cookie_name'] . '_fav', $data, time() + 86400 * 30, $CONFIG['cookie_path']);
-// If the user is logged in then put it in the DB
-if (USER_ID > 0) {
-    $sql = "UPDATE {$CONFIG['TABLE_FAVPICS']} SET user_favpics = '$data' WHERE user_id = " . USER_ID;
-    cpg_db_query($sql);
-    // User never stored a fav... so insert new row
-    if (!mysql_affected_rows($CONFIG['LINK_ID'])) {
-        $sql = "INSERT INTO {$CONFIG['TABLE_FAVPICS']} ( user_id, user_favpics) VALUES (" . USER_ID . ", '$data')";
-        cpg_db_query($sql);
-    }
-}
-
-$header_location = (@preg_match('/Microsoft|WebSTAR|Xitami/', getenv('SERVER_SOFTWARE'))) ? 'Refresh: 0; URL=' : 'Location: ';
-header($header_location . $ref);
-pageheader($lang_info, "<meta http-equiv=\"refresh\" content=\"1;url=$ref\">");
-msg_box($lang_info, $lang_rate_pic_php['rate_ok'], $lang_continue, $ref);
-pagefooter();
-ob_end_flush();
-
+<?php
+/*************************
+  Coppermine Photo Gallery
+  ************************
+  Copyright (c) 2003-2009 Coppermine Dev Team
+  v1.1 originally written by Gregory DEMAR
+
+  This program is free software; you can redistribute it and/or modify
+  it under the terms of the GNU General Public License version 3
+  as published by the Free Software Foundation.
+
+  ********************************************
+  Coppermine version: 1.4.25
+  $HeadURL: https://coppermine.svn.sourceforge.net/svnroot/coppermine/trunk/cpg1.4.x/addfav.php $
+  $Revision: 5997 $
+  $Author: gaugau $
+  $Date: 2009-05-26 08:43:24 +0200 (Di, 26 Mai 2009) $
+**********************************************/
+
+/**
+* @ignore
+*/
+define('IN_COPPERMINE', true);
+/**
+* @ignore
+*/
+define('RATEPIC_PHP', true);
+
+require('include/init.inc.php');
+// Check if required parameters are present
+if (!isset($_GET['pid'])) cpg_die(CRITICAL_ERROR, $lang_errors['param_missing'], __FILE__, __LINE__);
+
+$pic = (int)$_GET['pid'];
+
+$ref = $CONFIG['site_url'] . (isset($_GET['ref']) ? $_GET['ref'] : "displayimage.php?pos=-$pic");
+$ref = str_replace('&amp;', '&', $ref);
+
+// If user does not accept script's cookies, we don't accept the vote
+if (!isset($_COOKIE[$CONFIG['cookie_name'] . '_data'])) {
+    header("Location: $ref");
+    exit;
+}
+// See if this picture is already present in the array
+if (!in_array($pic, $FAVPICS)) {
+    $FAVPICS[] = $pic;
+} else {
+    $key = array_search($pic, $FAVPICS);
+    unset ($FAVPICS[$key]);
+}
+
+$data = base64_encode(serialize($FAVPICS));
+setcookie($CONFIG['cookie_name'] . '_fav', $data, time() + 86400 * 30, $CONFIG['cookie_path']);
+// If the user is logged in then put it in the DB
+if (USER_ID > 0) {
+    $sql = "UPDATE {$CONFIG['TABLE_FAVPICS']} SET user_favpics = '$data' WHERE user_id = " . USER_ID;
+    cpg_db_query($sql);
+    // User never stored a fav... so insert new row
+    if (!mysql_affected_rows($CONFIG['LINK_ID'])) {
+        $sql = "INSERT INTO {$CONFIG['TABLE_FAVPICS']} ( user_id, user_favpics) VALUES (" . USER_ID . ", '$data')";
+        cpg_db_query($sql);
+    }
+}
+
+$header_location = (@preg_match('/Microsoft|WebSTAR|Xitami/', getenv('SERVER_SOFTWARE'))) ? 'Refresh: 0; URL=' : 'Location: ';
+header($header_location . $ref);
+pageheader($lang_info, "<meta http-equiv=\"refresh\" content=\"1;url=$ref\">");
+msg_box($lang_info, $lang_rate_pic_php['rate_ok'], $lang_continue, $ref);
+pagefooter();
+ob_end_flush();
+
 ?>
\ No newline at end of file
diff -x .svn -aruN 1.4.24.src/addpic.php 1.4.25.src/addpic.php
--- 1.4.24.src/addpic.php	2009-05-21 15:03:09.000000000 -0500
+++ 1.4.25.src/addpic.php	2009-05-26 11:25:52.000000000 -0500
@@ -1,59 +1,59 @@
-<?php
-/*************************
-  Coppermine Photo Gallery
-  ************************
-  Copyright (c) 2003-2009 Coppermine Dev Team
-  v1.1 originally written by Gregory DEMAR
-
-  This program is free software; you can redistribute it and/or modify
-  it under the terms of the GNU General Public License version 3
-  as published by the Free Software Foundation.
-  
-  ********************************************
-  Coppermine version: 1.4.24
-  $HeadURL: https://coppermine.svn.sourceforge.net/svnroot/coppermine/trunk/cpg1.4.x/addpic.php $
-  $Revision: 5969 $
-  $Author: gaugau $
-  $Date: 2009-05-21 22:03:33 +0200 (Do, 21 Mai 2009) $
-**********************************************/
-
-define('IN_COPPERMINE', true);
-
-define('ADDPIC_PHP', true);
-
-require('include/init.inc.php');
-require('include/picmgmt.inc.php');
-
-if (!GALLERY_ADMIN_MODE) die('Access denied');
-
-$aid = (int)$_GET['aid'];
-$pic_file = base64_decode($_GET['pic_file']);
-$dir_name = dirname($pic_file) . '/';
-$file_name = basename($pic_file);
-
-# Create the holder $picture_name by translating the file name.
-# Translate any forbidden character into an underscore.
-$sane_name = replace_forbidden($file_name);
-$source = './'.$CONFIG['fullpath'].$dir_name.$file_name;
-rename($source, './' . $CONFIG['fullpath'] . $dir_name . $sane_name);
-$sql = "SELECT pid FROM {$CONFIG['TABLE_PICTURES']} WHERE filepath='" . addslashes($dir_name) . "' AND filename='" . addslashes($file_name) . "' LIMIT 1";
-$result = cpg_db_query($sql);
-
-if (mysql_num_rows($result)) {
-    $file_name = 'images/up_dup.gif';
-} elseif (add_picture($aid, $dir_name, $sane_name)) {
-    $file_name = 'images/up_ok.gif';
-} else {
-    $file_name = 'images/up_pb.gif';
-    echo $ERROR;
-}
-
-if (ob_get_length()) {
-    ob_end_flush();
-    exit;
-}
-
-header('Content-type: image/gif');
-echo fread(fopen($file_name, 'rb'), filesize($file_name));
-ob_end_flush()
+<?php
+/*************************
+  Coppermine Photo Gallery
+  ************************
+  Copyright (c) 2003-2009 Coppermine Dev Team
+  v1.1 originally written by Gregory DEMAR
+
+  This program is free software; you can redistribute it and/or modify
+  it under the terms of the GNU General Public License version 3
+  as published by the Free Software Foundation.
+  
+  ********************************************
+  Coppermine version: 1.4.25
+  $HeadURL: https://coppermine.svn.sourceforge.net/svnroot/coppermine/trunk/cpg1.4.x/addpic.php $
+  $Revision: 5997 $
+  $Author: gaugau $
+  $Date: 2009-05-26 08:43:24 +0200 (Di, 26 Mai 2009) $
+**********************************************/
+
+define('IN_COPPERMINE', true);
+
+define('ADDPIC_PHP', true);
+
+require('include/init.inc.php');
+require('include/picmgmt.inc.php');
+
+if (!GALLERY_ADMIN_MODE) die('Access denied');
+
+$aid = (int)$_GET['aid'];
+$pic_file = base64_decode($_GET['pic_file']);
+$dir_name = dirname($pic_file) . '/';
+$file_name = basename($pic_file);
+
+# Create the holder $picture_name by translating the file name.
+# Translate any forbidden character into an underscore.
+$sane_name = replace_forbidden($file_name);
+$source = './'.$CONFIG['fullpath'].$dir_name.$file_name;
+rename($source, './' . $CONFIG['fullpath'] . $dir_name . $sane_name);
+$sql = "SELECT pid FROM {$CONFIG['TABLE_PICTURES']} WHERE filepath='" . addslashes($dir_name) . "' AND filename='" . addslashes($file_name) . "' LIMIT 1";
+$result = cpg_db_query($sql);
+
+if (mysql_num_rows($result)) {
+    $file_name = 'images/up_dup.gif';
+} elseif (add_picture($aid, $dir_name, $sane_name)) {
+    $file_name = 'images/up_ok.gif';
+} else {
+    $file_name = 'images/up_pb.gif';
+    echo $ERROR;
+}
+
+if (ob_get_length()) {
+    ob_end_flush();
+    exit;
+}
+
+header('Content-type: image/gif');
+echo fread(fopen($file_name, 'rb'), filesize($file_name));
+ob_end_flush()
 ?>
\ No newline at end of file
diff -x .svn -aruN 1.4.24.src/admin.php 1.4.25.src/admin.php
--- 1.4.24.src/admin.php	2009-05-21 15:03:09.000000000 -0500
+++ 1.4.25.src/admin.php	2009-05-26 11:25:52.000000000 -0500
@@ -1,909 +1,909 @@
-<?php
-/*************************
-  Coppermine Photo Gallery
-  ************************
-  Copyright (c) 2003-2009 Coppermine Dev Team
-  v1.1 originally written by Gregory DEMAR
-
-  This program is free software; you can redistribute it and/or modify
-  it under the terms of the GNU General Public License version 3
-  as published by the Free Software Foundation.
-  
-  ********************************************
-  Coppermine version: 1.4.24
-  $HeadURL: https://coppermine.svn.sourceforge.net/svnroot/coppermine/trunk/cpg1.4.x/admin.php $
-  $Revision: 5969 $
-  $Author: gaugau $
-  $Date: 2009-05-21 22:03:33 +0200 (Do, 21 Mai 2009) $
-**********************************************/
-
-define('IN_COPPERMINE', true);
-define('ADMIN_PHP', true);
-define('CONFIG_PHP', true); // added for backwards compatibility (language fallback)
-
-require('include/init.inc.php');
-require('include/sql_parse.php');
-
-$lang_admin_data = isset($lang_config_data) ? $lang_config_data : $lang_admin_data;
-
-// Options disabled in bridged version
-$options_to_disable = array('reg_notify_admin_email',
-    'reg_requires_valid_email',
-    'allow_duplicate_emails_addr',
-    'allow_email_change',
-    'login_threshold',
-    'login_expiry',
-    'user_profile1_name',
-    'user_profile2_name',
-    'user_profile3_name',
-    'user_profile4_name',
-    'user_profile5_name',
-    'user_profile6_name',
-    'enable_encrypted_passwords',
-);
-
-if (!GALLERY_ADMIN_MODE) cpg_die(ERROR, $lang_errors['access_denied'], __FILE__, __LINE__);
-
-function form_label($text)
-{
-        global $lang_admin_php;
-        global $sn1,$sn2,$sn3;
-
-        static $cmi = 0;
-        static $open = false;
-
-        if ($sn1) echo '<tr><td colspan ="3" class="tableb_compact"><a name="notice1"></a>'.$lang_admin_php['notice1'].'</td></tr>';
-        if ($sn2) echo '<tr><td colspan ="3" class="tableb_compact"><a name="notice2"></a>'.$lang_admin_php['notice2'].'</td></tr>';
-        if ($sn3) echo '<tr><td colspan ="3" class="tableb_compact"><a name="notice3"></a>'.$lang_admin_php['notice3'].'</td></tr>';
-
-        $sn1 = $sn2 = $sn3 = 0;
-
-        if ($open){
-        echo <<< EOT
-                                </table>
-                        </td>
-                </tr>
-EOT;
-        }
-        echo <<< EOT
-                <tr>
-                        <td class="tableh2" colspan="3" onclick="show_section('section{$cmi}')">
-                                <span style="cursor:pointer"><img src="images/descending.gif" border="0" width="9" height="9" alt="" title="{$lang_admin_php['click_expand']}" /> <b>$text</b></span>
-                        </td>
-                </tr>
-                <tr>
-                        <td>
-                                <table align="center" width="100%" cellspacing="1" cellpadding="0" class="maintable" id="section{$cmi}" border="0">
-EOT;
-
-        $open = true;
-        $cmi++;
-}
-
-function form_input($text, $name, $help = '')
-{
-    global $CONFIG;
-
-    $value = $CONFIG[$name];
-    $help = cpg_display_help($help);
-
-    $type = ($name == 'smtp_password') ? 'password' : 'text';
-
-
-    echo <<<EOT
-                <tr>
-                        <td width="60%" class="tableb">
-                                $text
-                        </td>
-                        <td width="50%" class="tableb" valign="top">
-                            <input type="$type" class="textinput" maxlength="255" style="width: 100%" name="$name" value="$value"/>
-                        </td>
-                        <td class="tableb" width="10%">
-                                $help
-                        </td>
-        </tr>
-
-EOT;
-}
-
-function form_yes_no($text, $name, $help = '')
-{
-    global $CONFIG, $lang_yes, $lang_no;
-    $help = cpg_display_help($help);
-
-    $value = $CONFIG[$name];
-    $yes_selected = $value ? 'checked="checked"' : '';
-    $no_selected = !$value ? 'checked="checked"' : '';
-
-    echo <<<EOT
-        <tr>
-                        <td class="tableb" width="60%">
-                                $text
-                        </td>
-                        <td class="tableb" valign="top" width="50%">
-                                <input type="radio" id="{$name}1" name="$name" value="1" $yes_selected/><label for="{$name}1" class="clickable_option">$lang_yes</label>
-                                &nbsp;&nbsp;
-                                <input type="radio" id="{$name}0" name="$name" value="0" $no_selected/><label for="{$name}0" class="clickable_option">$lang_no</label>
-                        </td>
-                        <td class="tableb" width="10%">
-                                $help
-                        </td>
-        </tr>
-
-EOT;
-}
-
-function form_img_pkg($text, $name, $help = '')
-{
-    global $CONFIG;
-    $help = cpg_display_help($help);
-
-
-    $value = $CONFIG[$name];
-    $im_selected = ($value == 'im') ? 'selected="selected"' : '';
-    $gd1_selected = ($value == 'gd1') ? 'selected="selected"' : '';
-    $gd2_selected = ($value == 'gd2') ? 'selected="selected"' : '';
-
-    echo <<<EOT
-        <tr>
-            <td class="tableb" width="60%">
-                $text
-            </td>
-            <td class="tableb" valign="top" width="50%">
-                <select name="$name" class="listbox">
-                    <option value="im" $im_selected>Image Magick</option>
-                    <option value="gd1" $gd1_selected>GD version 1.x</option>
-                    <option value="gd2" $gd2_selected>GD version 2.x</option>
-                </select>
-            </td>
-            <td class="tableb" width="10%">
-                $help
-            </td>
-        </tr>
-
-EOT;
-}
-
-function form_sort_order($text, $name, $help = '')
-{
-    global $CONFIG, $lang_admin_php;
-
-    $help = cpg_display_help($help);
-
-    $value = $CONFIG[$name];
-    $ta_selected = ($value == 'ta') ? 'selected="selected"' : '';
-    $td_selected = ($value == 'td') ? 'selected="selected"' : '';
-    $na_selected = ($value == 'na') ? 'selected="selected"' : '';
-    $nd_selected = ($value == 'nd') ? 'selected="selected"' : '';
-    $da_selected = ($value == 'da') ? 'selected="selected"' : '';
-    $dd_selected = ($value == 'dd') ? 'selected="selected"' : '';
-    $pa_selected = ($value == 'pa') ? 'selected="selected"' : '';
-    $pd_selected = ($value == 'pd') ? 'selected="selected"' : '';
-
-
-    echo <<<EOT
-        <tr>
-            <td class="tableb" width="60%">
-                        $text
-        </td>
-        <td class="tableb" valign="top" width="50%">
-                        <select name="$name" class="listbox">
-                                <option value="ta" $ta_selected>{$lang_admin_php['title_a']}</option>
-                                <option value="td" $td_selected>{$lang_admin_php['title_d']}</option>
-                                <option value="na" $na_selected>{$lang_admin_php['name_a']}</option>
-                                <option value="nd" $nd_selected>{$lang_admin_php['name_d']}</option>
-                                <option value="da" $da_selected>{$lang_admin_php['date_a']}</option>
-                                <option value="dd" $dd_selected>{$lang_admin_php['date_d']}</option>
-                                <option value="pa" $pa_selected>{$lang_admin_php['pos_a']}</option>
-                                <option value="pd" $pd_selected>{$lang_admin_php['pos_d']}</option>
-                        </select>
-                </td>
-                <td class="tableb" width="10%">
-                $help
-                </td>
-        </tr>
-
-EOT;
-}
-
-function form_charset($text, $name, $help = '')
-{
-    global $CONFIG;
-
-    $help = cpg_display_help($help);
-
-    $charsets = array('Default (not recommended)' => 'language file',
-        'Arabic' => 'iso-8859-6',
-        'Baltic' => 'iso-8859-4',
-        'Central European' => 'iso-8859-2',
-        'Chinese Simplified' => 'euc-cn',
-        'Chinese Traditional' => 'big5',
-        'Cyrillic' => 'koi8-r',
-        'Greek' => 'iso-8859-7',
-        'Hebrew' => 'iso-8859-8-i',
-        'Icelandic' => 'x-mac-icelandic',
-        'Japanese' => 'euc-jp',
-        'Korean' => 'euc-kr',
-        'Maltese' => 'iso-8859-3',
-        'Thai' => 'windows-874 ',
-        'Turkish' => 'iso-8859-9',
-        'Unicode (recommended)' => 'utf-8',
-        'Vietnamese' => 'windows-1258',
-        'Western' => 'iso-8859-1'
-        );
-
-    $value = strtolower($CONFIG[$name]);
-
-    echo <<<EOT
-        <tr>
-            <td class="tableb" width="60%">
-                        $text
-        </td>
-        <td class="tableb" valign="top" width="50%">
-                        <select name="$name" class="listbox">
-
-EOT;
-    foreach ($charsets as $country => $charset) {
-        echo "                                <option value=\"$charset\" " . ($value == $charset ? 'selected="selected"' : '') . ">$country ($charset)</option>\n";
-    }
-    echo <<<EOT
-                        </select>
-                </td>
-                <td class="tableb" width="10%">
-                $help
-                </td>
-        </tr>
-
-EOT;
-}
-
-function form_language($text, $name, $help = '')
-{
-    global $CONFIG;
-
-    $help = cpg_display_help($help);
-    $value = strtolower($CONFIG[$name]);
-    $lang_dir = 'lang/';
-
-    $dir = opendir($lang_dir);
-    while ($file = readdir($dir)) {
-        if (is_file($lang_dir . $file) && strtolower(substr($file, -4)) == '.php') {
-            $lang_array[] = strtolower(substr($file, 0 , -4));
-        }
-    }
-    closedir($dir);
-
-    natcasesort($lang_array);
-
-    echo <<<EOT
-        <tr>
-            <td class="tableb" width="60%">
-                        $text
-        </td>
-        <td class="tableb" valign="top" width="50%">
-                        <select name="$name" class="listbox">
-
-EOT;
-    foreach ($lang_array as $language) {
-        echo "                                <option value=\"$language\" " . ($value == $language ? 'selected="selected"' : '') . ">" . ucfirst($language) . "</option>\n";
-    }
-    echo <<<EOT
-                        </select>
-                </td>
-                <td class="tableb" width="10%">
-                $help
-                </td>
-        </tr>
-
-EOT;
-}
-
-function form_theme($text, $name, $help = '')
-{
-    global $CONFIG;
-    $help = cpg_display_help($help);
-
-
-    $result = cpg_db_query("SELECT value FROM {$CONFIG['TABLE_CONFIG']} WHERE name = 'theme'");
-    list($value) = mysql_fetch_row($result);
-    mysql_free_result($result);
-    $theme_dir = 'themes/';
-
-    $dir = opendir($theme_dir);
-    while ($file = readdir($dir)) {
-        if (is_dir($theme_dir . $file) && $file != "." && $file != ".." && $file != 'CVS' && $file != 'sample') {
-            $theme_array[] = $file;
-        }
-    }
-    closedir($dir);
-
-    natcasesort($theme_array);
-
-    echo <<<EOT
-        <tr>
-            <td class="tableb" width="60%">
-                        $text
-        </td>
-        <td class="tableb" valign="top" width="50%">
-                        <select name="$name" class="listbox">
-
-EOT;
-    foreach ($theme_array as $theme) {
-        echo "                                <option value=\"$theme\" " . ($value == $theme ? 'selected="selected"' : '') . ">" . strtr(ucfirst($theme), '_', ' ') . "</option>\n";
-    }
-    echo <<<EOT
-                        </select>
-                </td>
-                <td class="tableb" width="10%">
-                $help
-                </td>
-        </tr>
-
-EOT;
-}
-// Added for allowing user to select which aspect of thumbnails to scale
-function form_scale($text, $name, $help = '')
-{
-   global $CONFIG, $lang_admin_php ;
-
-           $help = cpg_display_help($help);
-
-    $value = $CONFIG[$name];
-    $any_selected = ($value == 'max') ? 'selected="selected"' : '';
-    $ht_selected = ($value == 'ht') ? 'selected="selected"' : '';
-    $wd_selected = ($value == 'wd') ? 'selected="selected"' : '';
-
-    echo <<<EOT
-        <tr>
-            <td class="tableb" width="60%">
-                        $text
-        </td>
-        <td class="tableb" valign="top" width="50%">
-                        <select name="$name" class="listbox">
-                                <option value="any" $any_selected>{$lang_admin_php['th_any']}</option>
-                                <option value="ht" $ht_selected>{$lang_admin_php['th_ht']}</option>
-                                <option value="wd" $wd_selected>{$lang_admin_php['th_wd']}</option>
-                        </select>
-                </td>
-                <td class="tableb" width="10%">
-                $help
-                </td>
-        </tr>
-
-EOT;
-}
-
-function form_lang_theme($text, $name, $help = '')
-{
-    global $CONFIG, $lang_yes, $lang_no, $lang_admin_php;
-    $help = cpg_display_help($help);
-
-
-    $value = $CONFIG[$name];
-    $no_selected = ($value == '0') ? 'checked="checked"' : '';
-    $yes_1_selected = ($value == '1') ? 'checked="checked"' : '';
-    $yes_2_selected = ($value == '2') ? 'checked="checked"' : '';
-
-    echo <<<EOT
-        <tr>
-            <td class="tableb" width="60%">
-                        $text
-        </td>
-        <td class="tableb" valign="top" width="50%">
-                        <input type="radio" id="{$name}1" name="$name" value="1" $yes_1_selected /><label for="{$name}1" class="clickable_option">$lang_yes:{$lang_admin_php['item']}</label>
-                        &nbsp;&nbsp;
-                        <input type="radio" id="{$name}2" name="$name" value="2" $yes_2_selected /><label for="{$name}2" class="clickable_option">$lang_yes:{$lang_admin_php['label']}+{$lang_admin_php['item']}</label>
-                &nbsp;&nbsp;
-                <input type="radio" id="{$name}0" name="$name" value="0" $no_selected /><label for="{$name}0" class="clickable_option">$lang_no</label>
-        </td>
-        <td class="tableb" width="10%">
-        $help
-        </td>
-        </tr>
-
-EOT;
-}
-
-function form_lang_debug($text, $name, $help = '')
-{
-    global $CONFIG, $lang_yes, $lang_no, $lang_admin_php;
-    $help = cpg_display_help($help);
-
-
-    $value = $CONFIG[$name];
-    $no_selected = ($value == '0') ? 'checked="checked"' : '';
-    $yes_1_selected = ($value == '1') ? 'checked="checked"' : '';
-    $yes_2_selected = ($value == '2') ? 'checked="checked"' : '';
-
-    echo <<<EOT
-        <tr>
-            <td class="tableb" width="60%">
-                                $text
-                </td>
-                <td class="tableb" valign="top" width="50%">
-                                <input type="radio" id="{$name}1" name="$name" value="1" $yes_1_selected /><label for="{$name}1" class="clickable_option">$lang_yes:{$lang_admin_php['debug_everyone']}</label>
-                                &nbsp;&nbsp;
-                                <input type="radio" id="{$name}2" name="$name" value="2" $yes_2_selected /><label for="{$name}2" class="clickable_option">$lang_yes:{$lang_admin_php['debug_admin']}</label>
-                        &nbsp;&nbsp;
-                        <input type="radio" id="{$name}0" name="$name" value="0" $no_selected /><label for="{$name}0" class="clickable_option">$lang_no</label>
-
-                </td>
-                <td class="tableb" width="10%">
-                        $help
-                </td>
-        </tr>
-
-EOT;
-}
-
-function form_number_dropdown($text, $name, $help = '')
-{
-   global $CONFIG, $lang_admin_php ;
-   $help = cpg_display_help($help);
-
-
-    echo <<<EOT
-        <tr>
-            <td class="tableb" width="60%">
-                        $text
-        </td>
-        <td class="tableb" valign="top" width="50%">
-                        <select name="$name" class="listbox">
-EOT;
-        for ($i = 5; $i <= 25; $i++) {
-        echo "<option value=\"".$i."\"";
-        if ($i == $CONFIG[$name]) { echo " selected=\"selected\"";}
-        echo ">".$i."</option>\n";
-        }
-     echo <<<EOT
-     </select>
-                </td>
-                <td class="tableb" width="10%">
-                $help
-                </td>
-        </tr>
-EOT;
-}
-
-function form_lang_logmode($text, $name, $help = '')
-{
-    global $CONFIG, $lang_admin_php;
-    $help = cpg_display_help($help);
-
-
-    $value = $CONFIG[$name];
-    $off_selected = ($value == '0') ? 'checked="checked"' : '';
-    $normal_selected = ($value == '1') ? 'checked="checked"' : '';
-    $all_selected = ($value == '2') ? 'checked="checked"' : '';
-
-    echo <<<EOT
-        <tr>
-            <td class="tableb" width="60%">
-                        $text
-        </td>
-        <td class="tableb" valign="top" width="50%">
-                         <input type="radio" id="{$name}1" name="$name" value="1" $normal_selected /><label for="{$name}1" class="clickable_option">{$lang_admin_php['log_normal']}</label>
-                        &nbsp;&nbsp;
-                        <input type="radio" id="{$name}2" name="$name" value="2" $all_selected /><label for="{$name}2" class="clickable_option">{$lang_admin_php['log_all']}</label>
-                        &nbsp;&nbsp;
-                        <input type="radio" id="{$name}0" name="$name" value="0" $off_selected /><label for="{$name}0" class="clickable_option">{$lang_admin_php['no_logs']}</label>
-                        &nbsp;&nbsp;
-                        ( <a href="viewlog.php">{$lang_admin_php['view_logs']}</a> )
-        </td>
-        <td class="tableb" width="10%">
-        $help
-        </td>
-        </tr>
-
-EOT;
-}
-
-
-function form_plugin_yes_no($text, $name, $help = '')
-{
-    global $CONFIG, $lang_yes, $lang_no,$lang_admin_php;
-    $help = cpg_display_help($help);
-
-
-    $value = $CONFIG[$name];
-    $yes_selected = $value ? 'checked="checked"' : '';
-    $no_selected = !$value ? 'checked="checked"' : '';
-
-    echo <<<EOT
-        <tr>
-            <td class="tableb" width="60%">
-                        $text
-        </td>
-        <td class="tableb" valign="top" width="50%">
-                        <input type="radio" id="{$name}1" name="$name" value="1" $yes_selected /><label for="{$name}1" class="clickable_option">$lang_yes</label>
-                        &nbsp;&nbsp;
-                        <input type="radio" id="{$name}0" name="$name" value="0" $no_selected /><label for="{$name}0" class="clickable_option">$lang_no</label>
-                        ( <a href="pluginmgr.php">{$lang_admin_php['manage_plugins']}</a> )
-                </td>
-                <td class="tableb" width="10%">
-                $help
-                </td>
-        </tr>
-
-EOT;
-}
-
-function form_exif_yes_no($text, $name, $help = '')
-{
-    global $CONFIG, $lang_yes, $lang_no,$lang_admin_php;
-    $help = cpg_display_help($help);
-
-
-    $value = $CONFIG[$name];
-    $yes_selected = $value ? 'checked="checked"' : '';
-    $no_selected = !$value ? 'checked="checked"' : '';
-
-    echo <<<EOT
-        <tr>
-            <td class="tableb" width="60%">
-                        $text
-        </td>
-        <td class="tableb" valign="top" width="50%">
-                        <input type="radio" id="{$name}1" name="$name" value="1" $yes_selected /><label for="{$name}1" class="clickable_option">$lang_yes</label>
-                        &nbsp;&nbsp;
-                        <input type="radio" id="{$name}0" name="$name" value="0" $no_selected /><label for="{$name}0" class="clickable_option">$lang_no</label>
-                        ( <a href="exifmgr.php">{$lang_admin_php['manage_exif']}</a> )
-                </td>
-                <td class="tableb" width="10%">
-                $help
-                </td>
-        </tr>
-
-EOT;
-}
-
-function form_keywords_yes_no($text, $name, $help = '')
-{
-    global $CONFIG, $lang_yes, $lang_no,$lang_admin_php;
-    $help = cpg_display_help($help);
-
-
-    $value = $CONFIG[$name];
-    $yes_selected = $value ? 'checked="checked"' : '';
-    $no_selected = !$value ? 'checked="checked"' : '';
-
-    echo <<<EOT
-        <tr>
-            <td class="tableb" width="60%">
-                        $text
-        </td>
-        <td class="tableb" valign="top" width="50%">
-                        <input type="radio" id="{$name}1" name="$name" value="1" $yes_selected /><label for="{$name}1" class="clickable_option">$lang_yes</label>
-                        &nbsp;&nbsp;
-                        <input type="radio" id="{$name}0" name="$name" value="0" $no_selected /><label for="{$name}0" class="clickable_option">$lang_no</label>
-                        ( <a href="keywordmgr.php">{$lang_admin_php['manage_keyword']}</a> )
-                </td>
-                <td class="tableb" width="10%">
-                $help
-                </td>
-        </tr>
-
-EOT;
-}
-
-function form_disabled($text, $name, $help = '')
-{
-  global $lang_admin_php;
-  $help = cpg_display_help($help);
-
-    echo <<<EOT
-                <tr>
-                    <td width="60%" class="tableb">
-                        $text
-                    </td>
-                    <td width="50%" class="tableb" valign="top">
-                        {$lang_admin_php['bbs_disabled']}
-                    </td>
-                    <td class="tableb" width="10%">
-                        $help
-                    </td>
-                </tr>
-
-EOT;
-}
-
-function form_auto_resize($text, $name, $help = '')
-{
-    global $CONFIG, $lang_yes, $lang_no, $lang_admin_php;
-    $help = cpg_display_help($help);
-
-
-    $value = $CONFIG[$name];
-    $no_selected = ($value == '0') ? 'checked="checked"' : '';
-    $yes_1_selected = ($value == '1') ? 'checked="checked"' : '';
-    $yes_2_selected = ($value == '2') ? 'checked="checked"' : '';
-
-    echo <<<EOT
-        <tr>
-            <td class="tableb" width="60%">
-                $text
-            </td>
-            <td class="tableb" valign="top" width="50%">
-                <input type="radio" id="{$name}0" name="$name" value="0" $no_selected /><label for="{$name}0" class="clickable_option">$lang_no</label>
-                &nbsp;&nbsp;
-                <input type="radio" id="{$name}1" name="$name" value="1" $yes_1_selected /><label for="{$name}1" class="clickable_option">$lang_yes:{$lang_admin_php['auto_resize_everyone']}</label>
-                &nbsp;&nbsp;
-                <input type="radio" id="{$name}2" name="$name" value="2" $yes_2_selected /><label for="{$name}2" class="clickable_option">$lang_yes:{$lang_admin_php['auto_resize_user']}</label>
-            </td>
-            <td class="tableb" width="10%">
-                $help
-            </td>
-        </tr>
-
-EOT;
-}
-
-function form_asc_desc($text, $name, $help = '')
-{
-    global $CONFIG, $lang_yes, $lang_no, $lang_admin_php;
-    $help = cpg_display_help($help);
-
-    $value = $CONFIG[$name];
-    $yes_selected = $value ? 'checked="checked"' : '';
-    $no_selected = !$value ? 'checked="checked"' : '';
-
-    echo <<<EOT
-        <tr>
-                        <td class="tableb" width="60%">
-                                $text
-                        </td>
-                        <td class="tableb" valign="top" width="50%">
-                                <input type="radio" id="{$name}0" name="$name" value="0" $no_selected /><label for="{$name}0" class="clickable_option">{$lang_admin_php['ascending']}</label>
-                                &nbsp;&nbsp;
-                                <input type="radio" id="{$name}1" name="$name" value="1" $yes_selected /><label for="{$name}1" class="clickable_option">{$lang_admin_php['descending']}</label>
-                        </td>
-                        <td class="tableb" width="10%">
-                                $help
-                        </td>
-        </tr>
-
-EOT;
-}
-
-
-function form_report_post_yes_no($text, $name, $help = '')
-{
-    global $CONFIG, $lang_yes, $lang_no,$lang_admin_php;
-    $help = cpg_display_help($help);
-
-
-    $value = $CONFIG[$name];
-    $yes_selected = $value ? 'checked="checked"' : '';
-    $no_selected = !$value ? 'checked="checked"' : '';
-
-    echo <<<EOT
-        <tr>
-            <td class="tableb" width="60%">
-                        $text
-        </td>
-        <td class="tableb" valign="top" width="50%">
-                        <input type="radio" id="{$name}1" name="$name" value="1" $yes_selected /><label for="{$name}1" class="clickable_option">$lang_yes</label>
-                        &nbsp;&nbsp;
-                        <input type="radio" id="{$name}0" name="$name" value="0" $no_selected /><label for="{$name}0" class="clickable_option">$lang_no</label>
-                        ( <a href="keywordmgr.php">{$lang_admin_php['report_post']}</a> )
-                </td>
-                <td class="tableb" width="10%">
-                $help
-                </td>
-        </tr>
-
-EOT;
-}
-
-
-
-
-
-
-function create_form(&$data)
-{
-        global $sn1, $sn2, $sn3, $options_to_disable, $CONFIG;
-
-    foreach($data as $element) {
-        if ((is_array($element))) {
-                $element[3] = (isset($element[3])) ? $element[3] : '';
-                if (UDB_INTEGRATION != 'coppermine' AND in_array($element[1],$options_to_disable) AND $CONFIG['bridge_enable']) $element[2] = 15;
-                $sn1 = max($sn1,(strpos($element[0],'<a href="#notice1"')));
-                $sn2 = max($sn2,(strpos($element[0],'<a href="#notice2"')));
-                $sn3 = max($sn3,(strpos($element[0],'<a href="#notice3"')));
-            switch ($element[2]) {
-                case 0 :
-                    form_input($element[0], $element[1], $element[3]);
-                    break;
-                case 1 :
-                    if (($element[1] == 'enable_encrypted_passwords' && !$CONFIG['enable_encrypted_passwords']) || $element[1] != 'enable_encrypted_passwords') {
-                        form_yes_no($element[0], $element[1], $element[3]);
-                    }
-                    break;
-                case 2 :
-                    form_img_pkg($element[0], $element[1], $element[3]);
-                    break;
-                case 3 :
-                    form_sort_order($element[0], $element[1], $element[3]);
-                    break;
-                case 4 :
-                    form_charset($element[0], $element[1], $element[3]);
-                    break;
-                case 5 :
-                    form_language($element[0], $element[1], $element[3]);
-                    break;
-                case 6 :
-                    form_theme($element[0], $element[1], $element[3]);
-                    break;
-                // Thumbnail scaling
-                case 7 :
-                    form_scale($element[0], $element[1], $element[3]);
-                    break;
-                // Language + Theme selection
-                case 8 :
-                    form_lang_theme($element[0], $element[1], $element[3]);
-                    break;
-                // debug mode selection
-                case 9 :
-                    form_lang_debug($element[0], $element[1], $element[3]);
-                    break;
-                // tabbed display fix
-                case 10 :
-                    form_number_dropdown($element[0], $element[1], $element[3]);
-                    break;
-                case 11 :
-                    form_lang_logmode($element[0], $element[1], $element[3]);
-                    break;
-                case 12 :
-                    form_plugin_yes_no($element[0], $element[1], $element[3]);
-                    break;
-                case 13 :
-                    form_exif_yes_no($element[0], $element[1], $element[3]);
-                    break;
-                case 14 :
-                    form_keywords_yes_no($element[0], $element[1], $element[3]);
-                    break;
-                    case 15 :
-                    form_disabled($element[0], $element[1], $element[3]);
-                    break;
-                case 16 :
-                    form_auto_resize($element[0], $element[1], $element[3]);
-                    break;
-                // ascending or descending
-                case 17 :
-                    form_asc_desc($element[0], $element[1], $element[3]);
-                    break;
-                default:
-                    die('Invalid action');
-            } // switch
-        } else {
-                form_label($element);
-        }
-    }
-}
-if (count($_POST) > 0) {
-    if (isset($_POST['update_config'])) {
-        $need_to_be_positive = array('albums_per_page',
-            'album_list_cols',
-            'max_tabs',
-            'picture_width',
-            'subcat_level',
-            'thumb_width',
-            'thumbcols',
-            'thumbrows',
-            // Show filmstrip
-            'max_film_strip_items');
-
-        // Code to rename system thumbs in images folder
-        $old_thumb_pfx =& $CONFIG['thumb_pfx'];
-
-        if ($old_thumb_pfx != $_POST['thumb_pfx']) {
-            $folders = array('images/', $THEME_DIR.'images/');
-            foreach ($folders as $folder) {
-                $thumbs = cpg_get_system_thumb_list($folder);
-                foreach ($thumbs as $thumb) {
-                    @rename($folder.$thumb['filename'],
-                            $folder.str_replace($old_thumb_pfx,$_POST['thumb_pfx'],$thumb['filename']));
-                }
-            }
-        }
-
-        foreach ($need_to_be_positive as $parameter)
-        $_POST[$parameter] = max(1, (int)$_POST[$parameter]);
-
-        foreach($lang_admin_data as $element) {
-            if ((is_array($element))) {
-                if (!isset($_POST[$element[1]])) /*cpg_die(CRITICAL_ERROR, "Missing admin value for '{$element[1]}'", __FILE__, __LINE__);*/ continue;
-                $value = addslashes($_POST[$element[1]]);
-                if ($element[1] == 'ecards_more_pic_target' && substr($value, -1, 1) != '/') $value .= '/';
-                if ($CONFIG[$element[1]] !== stripslashes($value))
-                     {
-                        cpg_db_query("UPDATE {$CONFIG['TABLE_CONFIG']} SET value = '$value' WHERE name = '{$element[1]}'");
-                                                if ($element[1]=='enable_encrypted_passwords' && $value) {
-                                                        cpg_db_query("update {$CONFIG['TABLE_USERS']} set user_password=md5(user_password);");
-                                                }
-                        if ($CONFIG['log_mode'] == CPG_LOG_ALL) {
-                                log_write('CONFIG UPDATE SQL: '.
-                                          "UPDATE {$CONFIG['TABLE_CONFIG']} SET value = '$value' WHERE name = '{$element[1]}'\n".
-                                          'TIME: '.date("F j, Y, g:i a")."\n".
-                                          'USER: '.$USER_DATA['user_name'],
-                                          CPG_DATABASE_LOG
-                                          );
-                        }
-                }
-            }
-        }
-        pageheader($lang_admin_php['title']);
-        msg_box($lang_admin_php['info'], $lang_admin_php['upd_success'], $lang_continue, 'index.php');
-
-    } elseif (isset($_POST['restore_config'])) {
-        $default_config = 'sql/basic.sql';
-        $sql_query = fread(fopen($default_config, 'r'), filesize($default_config));
-        $sql_query = preg_replace('/CPG_/', $CONFIG['TABLE_PREFIX'], $sql_query);
-        cpg_db_query("TRUNCATE TABLE {$CONFIG['TABLE_CONFIG']}");
-        cpg_db_query("TRUNCATE TABLE {$CONFIG['TABLE_FILETYPES']}");
-        $sql_query = remove_remarks($sql_query);
-        $sql_query = split_sql_file($sql_query, ';');
-
-        $sql_count = count($sql_query);
-        for($i = 0; $i < $sql_count; $i++) if (strpos($sql_query[$i],'config VALUES') || strpos($sql_query[$i],'filetypes VALUES')) cpg_db_query($sql_query[$i]);
-		$f= cpg_db_query("UPDATE {$CONFIG['TABLE_CONFIG']} SET value = '{$CONFIG['enable_encrypted_passwords']}' WHERE name = 'enable_encrypted_passwords'");
-		pageheader($lang_admin_php['title']);
-            //msg_box($lang_admin_php['info'], $lang_admin_php['restore_success'], $lang_continue, $PHP_SELF);
-            msg_box($lang_admin_php['info'], $lang_admin_php['restore_success'], $lang_continue, $_SERVER['PHP_SELF']);
-    }
-        pagefooter();
-        exit;
-}
-
-pageheader($lang_admin_php['title']);
-adminmessages();
-$signature = 'Coppermine Photo Gallery ' . COPPERMINE_VERSION . ' ('. COPPERMINE_VERSION_STATUS . ')';
-
-?>
-<script type="text/javascript">
-        onload = hideall;
-</script>
-<?php
-//echo "<form action=\"$PHP_SELF\" method=\"post\">";
-echo "<form action=\"".$_SERVER['PHP_SELF']."\" method=\"post\">";
-starttable('100%', "{$lang_admin_php['title']} - $signature", 3);
-echo <<<EOT
-    <tr>
-        <td class="tableh2" colspan="3">
-            <a href="javascript:expand();" class="admin_menu">{$lang_admin_php['expand_all']}&nbsp;&nbsp;<img src="images/descending.gif" width="9" height="9" border="0" alt="" title="{$lang_admin_php['expand_all']}" /></a>
-        </td>
-    </tr>
-EOT;
-
-create_form($lang_admin_data);
-
-        if ($sn1) echo '<tr><td colspan ="3" class="tableb_compact"><a name="notice1"></a>'.$lang_admin_php['notice1'].'</td></tr>';
-        if ($sn2) echo '<tr><td colspan ="3" class="tableb_compact"><a name="notice2"></a>'.$lang_admin_php['notice2'].'</td></tr>';
-        if ($sn3) echo '<tr><td colspan ="3" class="tableb_compact"><a name="notice3"></a>'.$lang_admin_php['notice3'].'</td></tr>';
-
-echo '</table></td></tr>';
-
-echo <<<EOT
-                <tr>
-                        <td align="left" class="tablef">
-                            <table border="0" cellspacing="0" cellpadding="0" width="100%">
-                                <tr>
-                                    <td width="33%">
-                                        <a href="javascript:expand();" class="admin_menu">{$lang_admin_php['expand_all']}<img src="images/ascending.gif" width="9" height="9" border="0" alt="" title="{$lang_admin_php['expand_all']}" /></a>
-                                    </td>
-                                    <td width="67%" align="center">
-                                        <input type="submit" class="button" name="update_config" value="{$lang_admin_php['save_cfg']}" />
-                                &nbsp;&nbsp;
-										<input type="submit" onclick="return confirm('{$lang_admin_php['restore_cfg']}');" class="button" name="restore_config" value="{$lang_admin_php['restore_cfg']}" />
-                                    </td>
-                                </tr>
-                            </table>
-                        </td>
-                </tr>
-EOT;
-endtable();
-echo '</form>';
-pagefooter();
-ob_end_flush();
-?>
+<?php
+/*************************
+  Coppermine Photo Gallery
+  ************************
+  Copyright (c) 2003-2009 Coppermine Dev Team
+  v1.1 originally written by Gregory DEMAR
+
+  This program is free software; you can redistribute it and/or modify
+  it under the terms of the GNU General Public License version 3
+  as published by the Free Software Foundation.
+  
+  ********************************************
+  Coppermine version: 1.4.25
+  $HeadURL: https://coppermine.svn.sourceforge.net/svnroot/coppermine/trunk/cpg1.4.x/admin.php $
+  $Revision: 5997 $
+  $Author: gaugau $
+  $Date: 2009-05-26 08:43:24 +0200 (Di, 26 Mai 2009) $
+**********************************************/
+
+define('IN_COPPERMINE', true);
+define('ADMIN_PHP', true);
+define('CONFIG_PHP', true); // added for backwards compatibility (language fallback)
+
+require('include/init.inc.php');
+require('include/sql_parse.php');
+
+$lang_admin_data = isset($lang_config_data) ? $lang_config_data : $lang_admin_data;
+
+// Options disabled in bridged version
+$options_to_disable = array('reg_notify_admin_email',
+    'reg_requires_valid_email',
+    'allow_duplicate_emails_addr',
+    'allow_email_change',
+    'login_threshold',
+    'login_expiry',
+    'user_profile1_name',
+    'user_profile2_name',
+    'user_profile3_name',
+    'user_profile4_name',
+    'user_profile5_name',
+    'user_profile6_name',
+    'enable_encrypted_passwords',
+);
+
+if (!GALLERY_ADMIN_MODE) cpg_die(ERROR, $lang_errors['access_denied'], __FILE__, __LINE__);
+
+function form_label($text)
+{
+        global $lang_admin_php;
+        global $sn1,$sn2,$sn3;
+
+        static $cmi = 0;
+        static $open = false;
+
+        if ($sn1) echo '<tr><td colspan ="3" class="tableb_compact"><a name="notice1"></a>'.$lang_admin_php['notice1'].'</td></tr>';
+        if ($sn2) echo '<tr><td colspan ="3" class="tableb_compact"><a name="notice2"></a>'.$lang_admin_php['notice2'].'</td></tr>';
+        if ($sn3) echo '<tr><td colspan ="3" class="tableb_compact"><a name="notice3"></a>'.$lang_admin_php['notice3'].'</td></tr>';
+
+        $sn1 = $sn2 = $sn3 = 0;
+
+        if ($open){
+        echo <<< EOT
+                                </table>
+                        </td>
+                </tr>
+EOT;
+        }
+        echo <<< EOT
+                <tr>
+                        <td class="tableh2" colspan="3" onclick="show_section('section{$cmi}')">
+                                <span style="cursor:pointer"><img src="images/descending.gif" border="0" width="9" height="9" alt="" title="{$lang_admin_php['click_expand']}" /> <b>$text</b></span>
+                        </td>
+                </tr>
+                <tr>
+                        <td>
+                                <table align="center" width="100%" cellspacing="1" cellpadding="0" class="maintable" id="section{$cmi}" border="0">
+EOT;
+
+        $open = true;
+        $cmi++;
+}
+
+function form_input($text, $name, $help = '')
+{
+    global $CONFIG;
+
+    $value = $CONFIG[$name];
+    $help = cpg_display_help($help);
+
+    $type = ($name == 'smtp_password') ? 'password' : 'text';
+
+
+    echo <<<EOT
+                <tr>
+                        <td width="60%" class="tableb">
+                                $text
+                        </td>
+                        <td width="50%" class="tableb" valign="top">
+                            <input type="$type" class="textinput" maxlength="255" style="width: 100%" name="$name" value="$value"/>
+                        </td>
+                        <td class="tableb" width="10%">
+                                $help
+                        </td>
+        </tr>
+
+EOT;
+}
+
+function form_yes_no($text, $name, $help = '')
+{
+    global $CONFIG, $lang_yes, $lang_no;
+    $help = cpg_display_help($help);
+
+    $value = $CONFIG[$name];
+    $yes_selected = $value ? 'checked="checked"' : '';
+    $no_selected = !$value ? 'checked="checked"' : '';
+
+    echo <<<EOT
+        <tr>
+                        <td class="tableb" width="60%">
+                                $text
+                        </td>
+                        <td class="tableb" valign="top" width="50%">
+                                <input type="radio" id="{$name}1" name="$name" value="1" $yes_selected/><label for="{$name}1" class="clickable_option">$lang_yes</label>
+                                &nbsp;&nbsp;
+                                <input type="radio" id="{$name}0" name="$name" value="0" $no_selected/><label for="{$name}0" class="clickable_option">$lang_no</label>
+                        </td>
+                        <td class="tableb" width="10%">
+                                $help
+                        </td>
+        </tr>
+
+EOT;
+}
+
+function form_img_pkg($text, $name, $help = '')
+{
+    global $CONFIG;
+    $help = cpg_display_help($help);
+
+
+    $value = $CONFIG[$name];
+    $im_selected = ($value == 'im') ? 'selected="selected"' : '';
+    $gd1_selected = ($value == 'gd1') ? 'selected="selected"' : '';
+    $gd2_selected = ($value == 'gd2') ? 'selected="selected"' : '';
+
+    echo <<<EOT
+        <tr>
+            <td class="tableb" width="60%">
+                $text
+            </td>
+            <td class="tableb" valign="top" width="50%">
+                <select name="$name" class="listbox">
+                    <option value="im" $im_selected>Image Magick</option>
+                    <option value="gd1" $gd1_selected>GD version 1.x</option>
+                    <option value="gd2" $gd2_selected>GD version 2.x</option>
+                </select>
+            </td>
+            <td class="tableb" width="10%">
+                $help
+            </td>
+        </tr>
+
+EOT;
+}
+
+function form_sort_order($text, $name, $help = '')
+{
+    global $CONFIG, $lang_admin_php;
+
+    $help = cpg_display_help($help);
+
+    $value = $CONFIG[$name];
+    $ta_selected = ($value == 'ta') ? 'selected="selected"' : '';
+    $td_selected = ($value == 'td') ? 'selected="selected"' : '';
+    $na_selected = ($value == 'na') ? 'selected="selected"' : '';
+    $nd_selected = ($value == 'nd') ? 'selected="selected"' : '';
+    $da_selected = ($value == 'da') ? 'selected="selected"' : '';
+    $dd_selected = ($value == 'dd') ? 'selected="selected"' : '';
+    $pa_selected = ($value == 'pa') ? 'selected="selected"' : '';
+    $pd_selected = ($value == 'pd') ? 'selected="selected"' : '';
+
+
+    echo <<<EOT
+        <tr>
+            <td class="tableb" width="60%">
+                        $text
+        </td>
+        <td class="tableb" valign="top" width="50%">
+                        <select name="$name" class="listbox">
+                                <option value="ta" $ta_selected>{$lang_admin_php['title_a']}</option>
+                                <option value="td" $td_selected>{$lang_admin_php['title_d']}</option>
+                                <option value="na" $na_selected>{$lang_admin_php['name_a']}</option>
+                                <option value="nd" $nd_selected>{$lang_admin_php['name_d']}</option>
+                                <option value="da" $da_selected>{$lang_admin_php['date_a']}</option>
+                                <option value="dd" $dd_selected>{$lang_admin_php['date_d']}</option>
+                                <option value="pa" $pa_selected>{$lang_admin_php['pos_a']}</option>
+                                <option value="pd" $pd_selected>{$lang_admin_php['pos_d']}</option>
+                        </select>
+                </td>
+                <td class="tableb" width="10%">
+                $help
+                </td>
+        </tr>
+
+EOT;
+}
+
+function form_charset($text, $name, $help = '')
+{
+    global $CONFIG;
+
+    $help = cpg_display_help($help);
+
+    $charsets = array('Default (not recommended)' => 'language file',
+        'Arabic' => 'iso-8859-6',
+        'Baltic' => 'iso-8859-4',
+        'Central European' => 'iso-8859-2',
+        'Chinese Simplified' => 'euc-cn',
+        'Chinese Traditional' => 'big5',
+        'Cyrillic' => 'koi8-r',
+        'Greek' => 'iso-8859-7',
+        'Hebrew' => 'iso-8859-8-i',
+        'Icelandic' => 'x-mac-icelandic',
+        'Japanese' => 'euc-jp',
+        'Korean' => 'euc-kr',
+        'Maltese' => 'iso-8859-3',
+        'Thai' => 'windows-874 ',
+        'Turkish' => 'iso-8859-9',
+        'Unicode (recommended)' => 'utf-8',
+        'Vietnamese' => 'windows-1258',
+        'Western' => 'iso-8859-1'
+        );
+
+    $value = strtolower($CONFIG[$name]);
+
+    echo <<<EOT
+        <tr>
+            <td class="tableb" width="60%">
+                        $text
+        </td>
+        <td class="tableb" valign="top" width="50%">
+                        <select name="$name" class="listbox">
+
+EOT;
+    foreach ($charsets as $country => $charset) {
+        echo "                                <option value=\"$charset\" " . ($value == $charset ? 'selected="selected"' : '') . ">$country ($charset)</option>\n";
+    }
+    echo <<<EOT
+                        </select>
+                </td>
+                <td class="tableb" width="10%">
+                $help
+                </td>
+        </tr>
+
+EOT;
+}
+
+function form_language($text, $name, $help = '')
+{
+    global $CONFIG;
+
+    $help = cpg_display_help($help);
+    $value = strtolower($CONFIG[$name]);
+    $lang_dir = 'lang/';
+
+    $dir = opendir($lang_dir);
+    while ($file = readdir($dir)) {
+        if (is_file($lang_dir . $file) && strtolower(substr($file, -4)) == '.php') {
+            $lang_array[] = strtolower(substr($file, 0 , -4));
+        }
+    }
+    closedir($dir);
+
+    natcasesort($lang_array);
+
+    echo <<<EOT
+        <tr>
+            <td class="tableb" width="60%">
+                        $text
+        </td>
+        <td class="tableb" valign="top" width="50%">
+                        <select name="$name" class="listbox">
+
+EOT;
+    foreach ($lang_array as $language) {
+        echo "                                <option value=\"$language\" " . ($value == $language ? 'selected="selected"' : '') . ">" . ucfirst($language) . "</option>\n";
+    }
+    echo <<<EOT
+                        </select>
+                </td>
+                <td class="tableb" width="10%">
+                $help
+                </td>
+        </tr>
+
+EOT;
+}
+
+function form_theme($text, $name, $help = '')
+{
+    global $CONFIG;
+    $help = cpg_display_help($help);
+
+
+    $result = cpg_db_query("SELECT value FROM {$CONFIG['TABLE_CONFIG']} WHERE name = 'theme'");
+    list($value) = mysql_fetch_row($result);
+    mysql_free_result($result);
+    $theme_dir = 'themes/';
+
+    $dir = opendir($theme_dir);
+    while ($file = readdir($dir)) {
+        if (is_dir($theme_dir . $file) && $file != "." && $file != ".." && $file != 'CVS' && $file != 'sample') {
+            $theme_array[] = $file;
+        }
+    }
+    closedir($dir);
+
+    natcasesort($theme_array);
+
+    echo <<<EOT
+        <tr>
+            <td class="tableb" width="60%">
+                        $text
+        </td>
+        <td class="tableb" valign="top" width="50%">
+                        <select name="$name" class="listbox">
+
+EOT;
+    foreach ($theme_array as $theme) {
+        echo "                                <option value=\"$theme\" " . ($value == $theme ? 'selected="selected"' : '') . ">" . strtr(ucfirst($theme), '_', ' ') . "</option>\n";
+    }
+    echo <<<EOT
+                        </select>
+                </td>
+                <td class="tableb" width="10%">
+                $help
+                </td>
+        </tr>
+
+EOT;
+}
+// Added for allowing user to select which aspect of thumbnails to scale
+function form_scale($text, $name, $help = '')
+{
+   global $CONFIG, $lang_admin_php ;
+
+           $help = cpg_display_help($help);
+
+    $value = $CONFIG[$name];
+    $any_selected = ($value == 'max') ? 'selected="selected"' : '';
+    $ht_selected = ($value == 'ht') ? 'selected="selected"' : '';
+    $wd_selected = ($value == 'wd') ? 'selected="selected"' : '';
+
+    echo <<<EOT
+        <tr>
+            <td class="tableb" width="60%">
+                        $text
+        </td>
+        <td class="tableb" valign="top" width="50%">
+                        <select name="$name" class="listbox">
+                                <option value="any" $any_selected>{$lang_admin_php['th_any']}</option>
+                                <option value="ht" $ht_selected>{$lang_admin_php['th_ht']}</option>
+                                <option value="wd" $wd_selected>{$lang_admin_php['th_wd']}</option>
+                        </select>
+                </td>
+                <td class="tableb" width="10%">
+                $help
+                </td>
+        </tr>
+
+EOT;
+}
+
+function form_lang_theme($text, $name, $help = '')
+{
+    global $CONFIG, $lang_yes, $lang_no, $lang_admin_php;
+    $help = cpg_display_help($help);
+
+
+    $value = $CONFIG[$name];
+    $no_selected = ($value == '0') ? 'checked="checked"' : '';
+    $yes_1_selected = ($value == '1') ? 'checked="checked"' : '';
+    $yes_2_selected = ($value == '2') ? 'checked="checked"' : '';
+
+    echo <<<EOT
+        <tr>
+            <td class="tableb" width="60%">
+                        $text
+        </td>
+        <td class="tableb" valign="top" width="50%">
+                        <input type="radio" id="{$name}1" name="$name" value="1" $yes_1_selected /><label for="{$name}1" class="clickable_option">$lang_yes:{$lang_admin_php['item']}</label>
+                        &nbsp;&nbsp;
+                        <input type="radio" id="{$name}2" name="$name" value="2" $yes_2_selected /><label for="{$name}2" class="clickable_option">$lang_yes:{$lang_admin_php['label']}+{$lang_admin_php['item']}</label>
+                &nbsp;&nbsp;
+                <input type="radio" id="{$name}0" name="$name" value="0" $no_selected /><label for="{$name}0" class="clickable_option">$lang_no</label>
+        </td>
+        <td class="tableb" width="10%">
+        $help
+        </td>
+        </tr>
+
+EOT;
+}
+
+function form_lang_debug($text, $name, $help = '')
+{
+    global $CONFIG, $lang_yes, $lang_no, $lang_admin_php;
+    $help = cpg_display_help($help);
+
+
+    $value = $CONFIG[$name];
+    $no_selected = ($value == '0') ? 'checked="checked"' : '';
+    $yes_1_selected = ($value == '1') ? 'checked="checked"' : '';
+    $yes_2_selected = ($value == '2') ? 'checked="checked"' : '';
+
+    echo <<<EOT
+        <tr>
+            <td class="tableb" width="60%">
+                                $text
+                </td>
+                <td class="tableb" valign="top" width="50%">
+                                <input type="radio" id="{$name}1" name="$name" value="1" $yes_1_selected /><label for="{$name}1" class="clickable_option">$lang_yes:{$lang_admin_php['debug_everyone']}</label>
+                                &nbsp;&nbsp;
+                                <input type="radio" id="{$name}2" name="$name" value="2" $yes_2_selected /><label for="{$name}2" class="clickable_option">$lang_yes:{$lang_admin_php['debug_admin']}</label>
+                        &nbsp;&nbsp;
+                        <input type="radio" id="{$name}0" name="$name" value="0" $no_selected /><label for="{$name}0" class="clickable_option">$lang_no</label>
+
+                </td>
+                <td class="tableb" width="10%">
+                        $help
+                </td>
+        </tr>
+
+EOT;
+}
+
+function form_number_dropdown($text, $name, $help = '')
+{
+   global $CONFIG, $lang_admin_php ;
+   $help = cpg_display_help($help);
+
+
+    echo <<<EOT
+        <tr>
+            <td class="tableb" width="60%">
+                        $text
+        </td>
+        <td class="tableb" valign="top" width="50%">
+                        <select name="$name" class="listbox">
+EOT;
+        for ($i = 5; $i <= 25; $i++) {
+        echo "<option value=\"".$i."\"";
+        if ($i == $CONFIG[$name]) { echo " selected=\"selected\"";}
+        echo ">".$i."</option>\n";
+        }
+     echo <<<EOT
+     </select>
+                </td>
+                <td class="tableb" width="10%">
+                $help
+                </td>
+        </tr>
+EOT;
+}
+
+function form_lang_logmode($text, $name, $help = '')
+{
+    global $CONFIG, $lang_admin_php;
+    $help = cpg_display_help($help);
+
+
+    $value = $CONFIG[$name];
+    $off_selected = ($value == '0') ? 'checked="checked"' : '';
+    $normal_selected = ($value == '1') ? 'checked="checked"' : '';
+    $all_selected = ($value == '2') ? 'checked="checked"' : '';
+
+    echo <<<EOT
+        <tr>
+            <td class="tableb" width="60%">
+                        $text
+        </td>
+        <td class="tableb" valign="top" width="50%">
+                         <input type="radio" id="{$name}1" name="$name" value="1" $normal_selected /><label for="{$name}1" class="clickable_option">{$lang_admin_php['log_normal']}</label>
+                        &nbsp;&nbsp;
+                        <input type="radio" id="{$name}2" name="$name" value="2" $all_selected /><label for="{$name}2" class="clickable_option">{$lang_admin_php['log_all']}</label>
+                        &nbsp;&nbsp;
+                        <input type="radio" id="{$name}0" name="$name" value="0" $off_selected /><label for="{$name}0" class="clickable_option">{$lang_admin_php['no_logs']}</label>
+                        &nbsp;&nbsp;
+                        ( <a href="viewlog.php">{$lang_admin_php['view_logs']}</a> )
+        </td>
+        <td class="tableb" width="10%">
+        $help
+        </td>
+        </tr>
+
+EOT;
+}
+
+
+function form_plugin_yes_no($text, $name, $help = '')
+{
+    global $CONFIG, $lang_yes, $lang_no,$lang_admin_php;
+    $help = cpg_display_help($help);
+
+
+    $value = $CONFIG[$name];
+    $yes_selected = $value ? 'checked="checked"' : '';
+    $no_selected = !$value ? 'checked="checked"' : '';
+
+    echo <<<EOT
+        <tr>
+            <td class="tableb" width="60%">
+                        $text
+        </td>
+        <td class="tableb" valign="top" width="50%">
+                        <input type="radio" id="{$name}1" name="$name" value="1" $yes_selected /><label for="{$name}1" class="clickable_option">$lang_yes</label>
+                        &nbsp;&nbsp;
+                        <input type="radio" id="{$name}0" name="$name" value="0" $no_selected /><label for="{$name}0" class="clickable_option">$lang_no</label>
+                        ( <a href="pluginmgr.php">{$lang_admin_php['manage_plugins']}</a> )
+                </td>
+                <td class="tableb" width="10%">
+                $help
+                </td>
+        </tr>
+
+EOT;
+}
+
+function form_exif_yes_no($text, $name, $help = '')
+{
+    global $CONFIG, $lang_yes, $lang_no,$lang_admin_php;
+    $help = cpg_display_help($help);
+
+
+    $value = $CONFIG[$name];
+    $yes_selected = $value ? 'checked="checked"' : '';
+    $no_selected = !$value ? 'checked="checked"' : '';
+
+    echo <<<EOT
+        <tr>
+            <td class="tableb" width="60%">
+                        $text
+        </td>
+        <td class="tableb" valign="top" width="50%">
+                        <input type="radio" id="{$name}1" name="$name" value="1" $yes_selected /><label for="{$name}1" class="clickable_option">$lang_yes</label>
+                        &nbsp;&nbsp;
+                        <input type="radio" id="{$name}0" name="$name" value="0" $no_selected /><label for="{$name}0" class="clickable_option">$lang_no</label>
+                        ( <a href="exifmgr.php">{$lang_admin_php['manage_exif']}</a> )
+                </td>
+                <td class="tableb" width="10%">
+                $help
+                </td>
+        </tr>
+
+EOT;
+}
+
+function form_keywords_yes_no($text, $name, $help = '')
+{
+    global $CONFIG, $lang_yes, $lang_no,$lang_admin_php;
+    $help = cpg_display_help($help);
+
+
+    $value = $CONFIG[$name];
+    $yes_selected = $value ? 'checked="checked"' : '';
+    $no_selected = !$value ? 'checked="checked"' : '';
+
+    echo <<<EOT
+        <tr>
+            <td class="tableb" width="60%">
+                        $text
+        </td>
+        <td class="tableb" valign="top" width="50%">
+                        <input type="radio" id="{$name}1" name="$name" value="1" $yes_selected /><label for="{$name}1" class="clickable_option">$lang_yes</label>
+                        &nbsp;&nbsp;
+                        <input type="radio" id="{$name}0" name="$name" value="0" $no_selected /><label for="{$name}0" class="clickable_option">$lang_no</label>
+                        ( <a href="keywordmgr.php">{$lang_admin_php['manage_keyword']}</a> )
+                </td>
+                <td class="tableb" width="10%">
+                $help
+                </td>
+        </tr>
+
+EOT;
+}
+
+function form_disabled($text, $name, $help = '')
+{
+  global $lang_admin_php;
+  $help = cpg_display_help($help);
+
+    echo <<<EOT
+                <tr>
+                    <td width="60%" class="tableb">
+                        $text
+                    </td>
+                    <td width="50%" class="tableb" valign="top">
+                        {$lang_admin_php['bbs_disabled']}
+                    </td>
+                    <td class="tableb" width="10%">
+                        $help
+                    </td>
+                </tr>
+
+EOT;
+}
+
+function form_auto_resize($text, $name, $help = '')
+{
+    global $CONFIG, $lang_yes, $lang_no, $lang_admin_php;
+    $help = cpg_display_help($help);
+
+
+    $value = $CONFIG[$name];
+    $no_selected = ($value == '0') ? 'checked="checked"' : '';
+    $yes_1_selected = ($value == '1') ? 'checked="checked"' : '';
+    $yes_2_selected = ($value == '2') ? 'checked="checked"' : '';
+
+    echo <<<EOT
+        <tr>
+            <td class="tableb" width="60%">
+                $text
+            </td>
+            <td class="tableb" valign="top" width="50%">
+                <input type="radio" id="{$name}0" name="$name" value="0" $no_selected /><label for="{$name}0" class="clickable_option">$lang_no</label>
+                &nbsp;&nbsp;
+                <input type="radio" id="{$name}1" name="$name" value="1" $yes_1_selected /><label for="{$name}1" class="clickable_option">$lang_yes:{$lang_admin_php['auto_resize_everyone']}</label>
+                &nbsp;&nbsp;
+                <input type="radio" id="{$name}2" name="$name" value="2" $yes_2_selected /><label for="{$name}2" class="clickable_option">$lang_yes:{$lang_admin_php['auto_resize_user']}</label>
+            </td>
+            <td class="tableb" width="10%">
+                $help
+            </td>
+        </tr>
+
+EOT;
+}
+
+function form_asc_desc($text, $name, $help = '')
+{
+    global $CONFIG, $lang_yes, $lang_no, $lang_admin_php;
+    $help = cpg_display_help($help);
+
+    $value = $CONFIG[$name];
+    $yes_selected = $value ? 'checked="checked"' : '';
+    $no_selected = !$value ? 'checked="checked"' : '';
+
+    echo <<<EOT
+        <tr>
+                        <td class="tableb" width="60%">
+                                $text
+                        </td>
+                        <td class="tableb" valign="top" width="50%">
+                                <input type="radio" id="{$name}0" name="$name" value="0" $no_selected /><label for="{$name}0" class="clickable_option">{$lang_admin_php['ascending']}</label>
+                                &nbsp;&nbsp;
+                                <input type="radio" id="{$name}1" name="$name" value="1" $yes_selected /><label for="{$name}1" class="clickable_option">{$lang_admin_php['descending']}</label>
+                        </td>
+                        <td class="tableb" width="10%">
+                                $help
+                        </td>
+        </tr>
+
+EOT;
+}
+
+
+function form_report_post_yes_no($text, $name, $help = '')
+{
+    global $CONFIG, $lang_yes, $lang_no,$lang_admin_php;
+    $help = cpg_display_help($help);
+
+
+    $value = $CONFIG[$name];
+    $yes_selected = $value ? 'checked="checked"' : '';
+    $no_selected = !$value ? 'checked="checked"' : '';
+
+    echo <<<EOT
+        <tr>
+            <td class="tableb" width="60%">
+                        $text
+        </td>
+        <td class="tableb" valign="top" width="50%">
+                        <input type="radio" id="{$name}1" name="$name" value="1" $yes_selected /><label for="{$name}1" class="clickable_option">$lang_yes</label>
+                        &nbsp;&nbsp;
+                        <input type="radio" id="{$name}0" name="$name" value="0" $no_selected /><label for="{$name}0" class="clickable_option">$lang_no</label>
+                        ( <a href="keywordmgr.php">{$lang_admin_php['report_post']}</a> )
+                </td>
+                <td class="tableb" width="10%">
+                $help
+                </td>
+        </tr>
+
+EOT;
+}
+
+
+
+
+
+
+function create_form(&$data)
+{
+        global $sn1, $sn2, $sn3, $options_to_disable, $CONFIG;
+
+    foreach($data as $element) {
+        if ((is_array($element))) {
+                $element[3] = (isset($element[3])) ? $element[3] : '';
+                if (UDB_INTEGRATION != 'coppermine' AND in_array($element[1],$options_to_disable) AND $CONFIG['bridge_enable']) $element[2] = 15;
+                $sn1 = max($sn1,(strpos($element[0],'<a href="#notice1"')));
+                $sn2 = max($sn2,(strpos($element[0],'<a href="#notice2"')));
+                $sn3 = max($sn3,(strpos($element[0],'<a href="#notice3"')));
+            switch ($element[2]) {
+                case 0 :
+                    form_input($element[0], $element[1], $element[3]);
+                    break;
+                case 1 :
+                    if (($element[1] == 'enable_encrypted_passwords' && !$CONFIG['enable_encrypted_passwords']) || $element[1] != 'enable_encrypted_passwords') {
+                        form_yes_no($element[0], $element[1], $element[3]);
+                    }
+                    break;
+                case 2 :
+                    form_img_pkg($element[0], $element[1], $element[3]);
+                    break;
+                case 3 :
+                    form_sort_order($element[0], $element[1], $element[3]);
+                    break;
+                case 4 :
+                    form_charset($element[0], $element[1], $element[3]);
+                    break;
+                case 5 :
+                    form_language($element[0], $element[1], $element[3]);
+                    break;
+                case 6 :
+                    form_theme($element[0], $element[1], $element[3]);
+                    break;
+                // Thumbnail scaling
+                case 7 :
+                    form_scale($element[0], $element[1], $element[3]);
+                    break;
+                // Language + Theme selection
+                case 8 :
+                    form_lang_theme($element[0], $element[1], $element[3]);
+                    break;
+                // debug mode selection
+                case 9 :
+                    form_lang_debug($element[0], $element[1], $element[3]);
+                    break;
+                // tabbed display fix
+                case 10 :
+                    form_number_dropdown($element[0], $element[1], $element[3]);
+                    break;
+                case 11 :
+                    form_lang_logmode($element[0], $element[1], $element[3]);
+                    break;
+                case 12 :
+                    form_plugin_yes_no($element[0], $element[1], $element[3]);
+                    break;
+                case 13 :
+                    form_exif_yes_no($element[0], $element[1], $element[3]);
+                    break;
+                case 14 :
+                    form_keywords_yes_no($element[0], $element[1], $element[3]);
+                    break;
+                    case 15 :
+                    form_disabled($element[0], $element[1], $element[3]);
+                    break;
+                case 16 :
+                    form_auto_resize($element[0], $element[1], $element[3]);
+                    break;
+                // ascending or descending
+                case 17 :
+                    form_asc_desc($element[0], $element[1], $element[3]);
+                    break;
+                default:
+                    die('Invalid action');
+            } // switch
+        } else {
+                form_label($element);
+        }
+    }
+}
+if (count($_POST) > 0) {
+    if (isset($_POST['update_config'])) {
+        $need_to_be_positive = array('albums_per_page',
+            'album_list_cols',
+            'max_tabs',
+            'picture_width',
+            'subcat_level',
+            'thumb_width',
+            'thumbcols',
+            'thumbrows',
+            // Show filmstrip
+            'max_film_strip_items');
+
+        // Code to rename system thumbs in images folder
+        $old_thumb_pfx =& $CONFIG['thumb_pfx'];
+
+        if ($old_thumb_pfx != $_POST['thumb_pfx']) {
+            $folders = array('images/', $THEME_DIR.'images/');
+            foreach ($folders as $folder) {
+                $thumbs = cpg_get_system_thumb_list($folder);
+                foreach ($thumbs as $thumb) {
+                    @rename($folder.$thumb['filename'],
+                            $folder.str_replace($old_thumb_pfx,$_POST['thumb_pfx'],$thumb['filename']));
+                }
+            }
+        }
+
+        foreach ($need_to_be_positive as $parameter)
+        $_POST[$parameter] = max(1, (int)$_POST[$parameter]);
+
+        foreach($lang_admin_data as $element) {
+            if ((is_array($element))) {
+                if (!isset($_POST[$element[1]])) /*cpg_die(CRITICAL_ERROR, "Missing admin value for '{$element[1]}'", __FILE__, __LINE__);*/ continue;
+                $value = addslashes($_POST[$element[1]]);
+                if ($element[1] == 'ecards_more_pic_target' && substr($value, -1, 1) != '/') $value .= '/';
+                if ($CONFIG[$element[1]] !== stripslashes($value))
+                     {
+                        cpg_db_query("UPDATE {$CONFIG['TABLE_CONFIG']} SET value = '$value' WHERE name = '{$element[1]}'");
+                                                if ($element[1]=='enable_encrypted_passwords' && $value) {
+                                                        cpg_db_query("update {$CONFIG['TABLE_USERS']} set user_password=md5(user_password);");
+                                                }
+                        if ($CONFIG['log_mode'] == CPG_LOG_ALL) {
+                                log_write('CONFIG UPDATE SQL: '.
+                                          "UPDATE {$CONFIG['TABLE_CONFIG']} SET value = '$value' WHERE name = '{$element[1]}'\n".
+                                          'TIME: '.date("F j, Y, g:i a")."\n".
+                                          'USER: '.$USER_DATA['user_name'],
+                                          CPG_DATABASE_LOG
+                                          );
+                        }
+                }
+            }
+        }
+        pageheader($lang_admin_php['title']);
+        msg_box($lang_admin_php['info'], $lang_admin_php['upd_success'], $lang_continue, 'index.php');
+
+    } elseif (isset($_POST['restore_config'])) {
+        $default_config = 'sql/basic.sql';
+        $sql_query = fread(fopen($default_config, 'r'), filesize($default_config));
+        $sql_query = preg_replace('/CPG_/', $CONFIG['TABLE_PREFIX'], $sql_query);
+        cpg_db_query("TRUNCATE TABLE {$CONFIG['TABLE_CONFIG']}");
+        cpg_db_query("TRUNCATE TABLE {$CONFIG['TABLE_FILETYPES']}");
+        $sql_query = remove_remarks($sql_query);
+        $sql_query = split_sql_file($sql_query, ';');
+
+        $sql_count = count($sql_query);
+        for($i = 0; $i < $sql_count; $i++) if (strpos($sql_query[$i],'config VALUES') || strpos($sql_query[$i],'filetypes VALUES')) cpg_db_query($sql_query[$i]);
+		$f= cpg_db_query("UPDATE {$CONFIG['TABLE_CONFIG']} SET value = '{$CONFIG['enable_encrypted_passwords']}' WHERE name = 'enable_encrypted_passwords'");
+		pageheader($lang_admin_php['title']);
+            //msg_box($lang_admin_php['info'], $lang_admin_php['restore_success'], $lang_continue, $PHP_SELF);
+            msg_box($lang_admin_php['info'], $lang_admin_php['restore_success'], $lang_continue, $_SERVER['PHP_SELF']);
+    }
+        pagefooter();
+        exit;
+}
+
+pageheader($lang_admin_php['title']);
+adminmessages();
+$signature = 'Coppermine Photo Gallery ' . COPPERMINE_VERSION . ' ('. COPPERMINE_VERSION_STATUS . ')';
+
+?>
+<script type="text/javascript">
+        onload = hideall;
+</script>
+<?php
+//echo "<form action=\"$PHP_SELF\" method=\"post\">";
+echo "<form action=\"".$_SERVER['PHP_SELF']."\" method=\"post\">";
+starttable('100%', "{$lang_admin_php['title']} - $signature", 3);
+echo <<<EOT
+    <tr>
+        <td class="tableh2" colspan="3">
+            <a href="javascript:expand();" class="admin_menu">{$lang_admin_php['expand_all']}&nbsp;&nbsp;<img src="images/descending.gif" width="9" height="9" border="0" alt="" title="{$lang_admin_php['expand_all']}" /></a>
+        </td>
+    </tr>
+EOT;
+
+create_form($lang_admin_data);
+
+        if ($sn1) echo '<tr><td colspan ="3" class="tableb_compact"><a name="notice1"></a>'.$lang_admin_php['notice1'].'</td></tr>';
+        if ($sn2) echo '<tr><td colspan ="3" class="tableb_compact"><a name="notice2"></a>'.$lang_admin_php['notice2'].'</td></tr>';
+        if ($sn3) echo '<tr><td colspan ="3" class="tableb_compact"><a name="notice3"></a>'.$lang_admin_php['notice3'].'</td></tr>';
+
+echo '</table></td></tr>';
+
+echo <<<EOT
+                <tr>
+                        <td align="left" class="tablef">
+                            <table border="0" cellspacing="0" cellpadding="0" width="100%">
+                                <tr>
+                                    <td width="33%">
+                                        <a href="javascript:expand();" class="admin_menu">{$lang_admin_php['expand_all']}<img src="images/ascending.gif" width="9" height="9" border="0" alt="" title="{$lang_admin_php['expand_all']}" /></a>
+                                    </td>
+                                    <td width="67%" align="center">
+                                        <input type="submit" class="button" name="update_config" value="{$lang_admin_php['save_cfg']}" />
+                                &nbsp;&nbsp;
+										<input type="submit" onclick="return confirm('{$lang_admin_php['restore_cfg']}');" class="button" name="restore_config" value="{$lang_admin_php['restore_cfg']}" />
+                                    </td>
+                                </tr>
+                            </table>
+                        </td>
+                </tr>
+EOT;
+endtable();
+echo '</form>';
+pagefooter();
+ob_end_flush();
+?>
diff -x .svn -aruN 1.4.24.src/albmgr.php 1.4.25.src/albmgr.php
--- 1.4.24.src/albmgr.php	2009-05-21 15:03:09.000000000 -0500
+++ 1.4.25.src/albmgr.php	2009-05-26 11:25:52.000000000 -0500
@@ -1,439 +1,439 @@
-<?php
-/*************************
-  Coppermine Photo Gallery
-  ************************
-  Copyright (c) 2003-2009 Coppermine Dev Team
-  v1.1 originally written by Gregory DEMAR
-
-  This program is free software; you can redistribute it and/or modify
-  it under the terms of the GNU General Public License version 3
-  as published by the Free Software Foundation.
-  
-  ********************************************
-  Coppermine version: 1.4.24
-  $HeadURL: https://coppermine.svn.sourceforge.net/svnroot/coppermine/trunk/cpg1.4.x/albmgr.php $
-  $Revision: 5969 $
-  $Author: gaugau $
-  $Date: 2009-05-21 22:03:33 +0200 (Do, 21 Mai 2009) $
-**********************************************/
-
-/**
-* Coppermine Photo Gallery 1.4.14 albmgr.php
-*
-* This file is the which allows creation of new Albumbs and editing the names of albums,
-* this is not the file which allows you to set album properties,
-* also see documentation for this file's {@relativelink ../_albmgr.php.php Free Standing Code}
-*
-* @copyright  2002-2007 Gregory DEMAR, Coppermine Dev Team
-* @license http://www.gnu.org/licenses/gpl.html GNU General Public License V3
-* @package Coppermine
-* @version $Id: albmgr.php 5969 2009-05-21 20:03:33Z gaugau $
-*/
-
-/**
-* @ignore
-*/
-define('IN_COPPERMINE', true);
-
-define('ALBMGR_PHP', true);
-
-require('include/init.inc.php');
-
-if (!(GALLERY_ADMIN_MODE || USER_ADMIN_MODE)) cpg_die(ERROR, $lang_errors['access_denied'], __FILE__, __LINE__);
-
-/**
- * alb_get_subcat_data()
- *
- * @param integer $parent
- * @param string $ident
- **/
-function alb_get_subcat_data($parent, $ident = '')
-{
-    global $CONFIG, $CAT_LIST;
-
-    $result = cpg_db_query("SELECT cid, name, description FROM {$CONFIG['TABLE_CATEGORIES']} WHERE parent = '$parent' AND cid != 1 ORDER BY pos");
-    if (mysql_num_rows($result) > 0) {
-        $rowset = cpg_db_fetch_rowset($result);
-        foreach ($rowset as $subcat) {
-            $CAT_LIST[] = array($subcat['cid'], $ident . $subcat['name']);
-            alb_get_subcat_data($subcat['cid'], $ident . '&nbsp;&nbsp;&nbsp;');
-        }
-    }
-}
-
-pageheader($lang_albmgr_php['alb_mrg']);
-
-?>
-
-<script language="javascript" type="text/javascript">
-<!--
-    function CheckAlbumForm(frm)
-    {
-        var select_len = frm.to.length;
-        var album = new Object();
-        var changed = false;
-
-        for (i=0; i<select_len; i++) {
-            album = new parseSelectValue(frm.to, i);
-
-            if (album.action != '0') {
-                if (album.album_nm == '') {
-                    alert('<?php echo $lang_albmgr_php['alb_need_name'] ?>');
-                    frm.to.options[i].selected = true;
-                    return false;
-                }
-                changed = true;
-            }
-        }
-
-        if (frm.delete_album.value.len !=0)
-            changed = true;
-
-        if (changed) {
-            if (confirm('<?php echo $lang_albmgr_php['confirm_modifs'] ?>')) {
-                for (i=0; i<select_len; i++) {
-                    album = new parseSelectValue(frm.to, i);
-                    if (album.action != '0') {
-                        frm.to.options[i].selected = true;
-                    }
-                }
-                return true;
-            }
-            else
-                return false;
-        }
-        else {
-            alert('<?php echo $lang_albmgr_php['no_change'] ?>');
-            return false;
-        }
-    }
-
-    function page_init()
-    {
-        document.album_menu.delete_album.value = "";
-    }
--->
-</script>
-
-<script language="javascript" type="text/javascript">
-<!--
-    var selectedOptIndex;
-
-    function Album_Select(selectedIndex)
-    {
-        selectedOptIndex = selectedIndex;
-
-        for (i=0; i<document.album_menu.to.length; i++) {
-            document.album_menu.to.options[i].selected = false;
-        }
-        document.album_menu.to.options[selectedIndex].selected = true;
-
-        var album = new Object();
-        album = new parseSelectValue(document.album_menu.to, selectedIndex);
-
-        album.deleteFrm();
-        album.changeFrm();
-    }
-
-    function Moveup_Option()
-    {
-        var to = document.album_menu.to;
-        var pos = selectedOptIndex;
-        if (pos == 0) {
-            return;
-        }
-
-        swap_option(to, pos, pos-1);
-        selected_option(to, pos-1);
-    }
-
-    function Movedown_Option()
-    {
-        var to = document.album_menu.to;
-        var pos = selectedOptIndex;
-        if (pos == to.length-1) {
-            return;
-        }
-
-        swap_option(to, pos, pos+1);
-        selected_option(to, pos+1);
-    }
-
-    function Album_Create()
-    {
-        var prev_album;
-        var to_pos, album_type, album_sort;
-        var to = document.album_menu.to;
-
-        if (to.selectedIndex == -1)
-            to_pos = to.length;
-        else
-            to_pos = to.selectedIndex;
-
-        if (to_pos > 0) {
-            prev_album = new parseSelectValue(to, to_pos-1);
-            album_sort = Number(prev_album.album_sort)+1;
-        }
-        else {
-            album_sort = 1;
-        }
-        move_list (to, to_pos);
-        make_option("<?php echo $lang_albmgr_php['new_album'] ?>", make_value('0', "<?php echo $lang_albmgr_php['new_album'] ?>", album_sort, '1'), to, to_pos);
-
-        selected_option(to, to_pos);
-    }
-
-    function Album_Delete()
-    {
-        var album = new Object();
-        var to = document.album_menu.to;
-        album = new parseSelectValue(to, selectedOptIndex);
-
-        var msg = '<?php echo $lang_albmgr_php['confirm_delete1'] ?>';
-
-        if (album.action == '1') {
-            if (confirm(msg)) {
-                to.options[selectedOptIndex] = null;
-                document.album_menu.album_nm.value='';
-            }
-            else {
-                return;
-            }
-        }
-        else {
-            msg = msg + '<?php echo $lang_albmgr_php['confirm_delete2'] ?>';
-
-            if (confirm(msg)) {
-                var album = new Object();
-                album =  new parseSelectValue(to, selectedOptIndex);
-                to.options[selectedOptIndex] = null;
-                document.album_menu.album_nm.value='';
-
-                document.album_menu.delete_album.value = document.album_menu.delete_album.value + album.album_no + ',';
-            }
-            else {
-                return;
-            }
-        }
-    }
-
-    function Album_NameChange(change_name)
-    {
-
-                try {
-                    var album = new Object();
-                    var to = document.album_menu.to;
-                    var value;
-                    var text;
-
-                    album = new parseSelectValue(to, selectedOptIndex);
-                    if (album.action == '1')
-                        action = '1';
-                    else
-                        action = '2';
-
-                    text = change_name.substring(0, 80);
-                    value = make_value(album.album_no, change_name, album.album_sort, action);
-                    make_option(text, value, to, selectedOptIndex);
-                }
-                catch(e) {
-                        alert("<?php echo $lang_albmgr_php['select_first'] ?>");
-                }
-        }
-
-    function make_option(text, value, target, index)
-    {
-        target[index] = new Option(text, value);
-    }
-
-    function move_list(target, pos)
-    {
-        var album = new Object();
-        var listlen = target.length;
-
-        for (j=listlen-1; j>pos-1; j--) {
-            album = new parseSelectValue(target, j)
-            if (album.action == '1') {
-                value = make_value(album.album_no, album.album_nm, Number(album.album_sort)+1, '1');
-            }
-            else {
-                value = make_value(album.album_no, album.album_nm, Number(album.album_sort)+1, '2');
-            }
-            text  = target.options[j].text;
-
-            make_option(text, value, target, j+1);
-        }
-    }
-
-    function _private_update_frm_element(name)
-    {
-        var frm = document.album_menu;
-        frm.album_nm.value = name;
-    }
-
-    function _private_change()
-    {
-        _private_update_frm_element(this.album_nm);
-    }
-
-    function _private_delete()
-    {
-        _private_update_frm_element('');
-    }
-
-    function parseSelectValue(select, selectedIndex)
-    {
-        var temp_nm
-        var option_value = select.options[selectedIndex].value;
-
-        this.album_no = option_value.substring(option_value.indexOf('album_no=') + 9, option_value.indexOf(','));
-        option_value = option_value.substring(option_value.indexOf(',') + 1);
-
-        temp_nm = option_value.substring(option_value.indexOf('album_nm=') + 9, option_value.indexOf('album_sort=')-1);
-        this.album_nm = temp_nm.substring(1, temp_nm.length-1);
-        option_value = option_value.substring(option_value.indexOf('album_sort='));
-
-        this.album_sort = option_value.substring(option_value.indexOf('album_sort=') + 11 ,option_value.indexOf(','));
-        option_value = option_value.substring(option_value.indexOf(',') + 1);
-
-        this.action = option_value.substring(option_value.indexOf('action=') + 7);
-
-        this.changeFrm = _private_change;
-        this.deleteFrm = _private_delete;
-
-        return this;
-    }
-
-    function selected_option(target, pos)
-    {
-        target.options[pos].selected = true;
-        Album_Select(pos);
-    }
-
-    function swap_option(target, swap_a, swap_b)
-    {
-        var album_a = new Object();
-        var album_b = new Object();
-
-        album_a = new parseSelectValue(target, swap_a);
-        album_b = new parseSelectValue(target, swap_b);
-
-        if (album_a.action == '0') album_a.action = '2';
-        if (album_b.action == '0') album_b.action = '2';
-
-        var temp_option = new Option(target.options[swap_a].text, make_value(album_a.album_no, album_a.album_nm,album_b.album_sort,album_a.action));
-        target[swap_a] = new Option(target.options[swap_b].text, make_value(album_b.album_no, album_b.album_nm,album_a.album_sort,album_b.action));
-        target[swap_b] = temp_option;
-    }
-
-    function make_value(album_no, album_nm, album_sort, action)
-    {
-        return "album_no=" + album_no + ",album_nm='" + album_nm + "',album_sort=" + album_sort + ",action=" + action;
-    }
--->
-</script>
-<form name="album_menu" method="post" action="delete.php?what=albmgr" onSubmit="return CheckAlbumForm(this);">
-<?php starttable("100%", $lang_albmgr_php['alb_mrg'].'&nbsp;'.cpg_display_help('f=index.htm&as=albmgr&ae=albmgr_end&top=1', '600', '400'), 1);
-?>
-<tr>
-<?php
-$cat = isset($_GET['cat']) ? (int)($_GET['cat']) : 0;
-if ($cat == 1) $cat = 0;
-
-if (GALLERY_ADMIN_MODE) {
-    $result = cpg_db_query("SELECT aid, title FROM {$CONFIG['TABLE_ALBUMS']} WHERE category = $cat ORDER BY pos ASC");
-} elseif (USER_ADMIN_MODE) {
-    $result = cpg_db_query("SELECT aid, title FROM {$CONFIG['TABLE_ALBUMS']} WHERE category = " . (USER_ID + FIRST_USER_CAT) . " ORDER BY pos ASC");
-} else cpg_die(ERROR, $lang_errors['perm_denied'], __FILE__, __LINE__);
-$rowset = cpg_db_fetch_rowset($result);
-$i = 100;
-$sort_order = '';
-if (count ($rowset) > 0) foreach ($rowset as $album) {
-    $sort_order .= $album['aid'] . '@' . ($i++) . ',';
-}
-
-?>
-        <input type="hidden" name="delete_album" value="" />
-        <input type="hidden" name="sort_order" value="<?php echo $sort_order ?>" />
-        <td class="tableb" valign="top" align="center">
-                <br />
-                <table width="300" border="0" cellspacing="0" cellpadding="0">
-<?php
-if (GALLERY_ADMIN_MODE) {
-    $CAT_LIST = array();
-    $CAT_LIST[] = array(FIRST_USER_CAT + USER_ID, $lang_albmgr_php['my_gallery']);
-    $CAT_LIST[] = array(0, $lang_albmgr_php['no_category']);
-    alb_get_subcat_data(0, '');
-
-    echo <<<EOT
-                <tr>
-                        <td>
-                                <b>{$lang_albmgr_php['select_category']}</b>
-                                <select onChange="if(this.options[this.selectedIndex].value) window.location.href='{$_SERVER['PHP_SELF']}?cat='+this.options[this.selectedIndex].value;"  name="cat" class="listbox">
-EOT;
-    foreach($CAT_LIST as $category) {
-        echo '                                <option value="' . $category[0] . '"' . ($cat == $category[0] ? ' selected': '') . ">" . $category[1] . "</option>\n";
-    }
-    echo <<<EOT
-                                </select>
-                                <br /><br />
-                        </td>
-                </tr>
-
-EOT;
-}
-
-?>
-                <tr>
-                        <td>
-                                <select id="to" name="to[]" size="<?php echo min(max(count ($rowset) + 3, 15), 40) ?>" multiple onChange="Album_Select(this.selectedIndex);" class="listbox" style="width: 300px">
-<?php
-$i = 100;
-$lb = '';
-if (count ($rowset) > 0) foreach ($rowset as $album) {
-    $lb .= '                                        <option value="album_no=' . $album['aid'] . ',album_nm=\'' . $album['title'] . '\',album_sort=' . ($i++) . ',action=0">' . stripslashes($album['title']) . "</option>\n";
-}
-echo $lb;
-
-?>
-                                </select>
-                        </td>
-                </tr>
-                <tr>
-                        <td>
-                                <table width="100%" border="0" cellspacing="0" cellpadding="0">
-                <tr>
-                                        <td><a href="javascript:Moveup_Option();"><img src="images/move_up.gif" width="26" height="21" border="0" alt="" /></a><a href="javascript:Movedown_Option();"><img src="images/move_down.gif" width="26" height="21" border="0" alt="" /></a>
-                                        </td>
-                                        <td align="center" style="background-color: #D4D0C8; width: 80px; height: 21px; border-top: 1px solid White; border-left: 1px solid White; border-right: 1px solid #808080; border-bottom: 1px solid #808080;"><a href="javascript:Album_Delete();" style="color: Black; font-weight: bold;"><?php echo $lang_albmgr_php['delete'] ?></a>
-                                        </td>
-                                        <td align="center" style="width: 1px;"><img src="images/spacer.gif" width="1" alt=""><br />
-                                        </td>
-                                        <td align="center" style="background-color: #D4D0C8; width: 80px; height: 21px; border-top: 1px solid White; border-left: 1px solid White; border-right: 1px solid #808080; border-bottom: 1px solid #808080;"><a href="javascript:Album_Create();" style="color: Black; font-weight: bold;"><?php echo $lang_albmgr_php['new'] ?></a>
-                                        </td>
-                                </tr>
-                                </table>
-                        </td>
-                </tr>
-                <tr>
-                        <td><br />
-                                <input type="text" name="album_nm" size="27" maxlength="80" class="textinput" style="width: 300px;" onChange="Album_NameChange(this.value);" onKeyUp="Album_NameChange(this.value);" />
-                                <br />
-                                <br />
-                        </td>
-                </tr>
-        </table>
-        </td>
-</tr>
-<tr>
-        <td colspan="2" align="center" class="tablef">
-        <input type="submit" class="button" value="<?php echo $lang_albmgr_php['apply_modifs'] ?>" />
-        </td>
-</tr>
-<?php
-endtable();
-echo '</form>';
-pagefooter();
-ob_end_flush();
-
+<?php
+/*************************
+  Coppermine Photo Gallery
+  ************************
+  Copyright (c) 2003-2009 Coppermine Dev Team
+  v1.1 originally written by Gregory DEMAR
+
+  This program is free software; you can redistribute it and/or modify
+  it under the terms of the GNU General Public License version 3
+  as published by the Free Software Foundation.
+  
+  ********************************************
+  Coppermine version: 1.4.25
+  $HeadURL: https://coppermine.svn.sourceforge.net/svnroot/coppermine/trunk/cpg1.4.x/albmgr.php $
+  $Revision: 5997 $
+  $Author: gaugau $
+  $Date: 2009-05-26 08:43:24 +0200 (Di, 26 Mai 2009) $
+**********************************************/
+
+/**
+* Coppermine Photo Gallery 1.4.14 albmgr.php
+*
+* This file is the which allows creation of new Albumbs and editing the names of albums,
+* this is not the file which allows you to set album properties,
+* also see documentation for this file's {@relativelink ../_albmgr.php.php Free Standing Code}
+*
+* @copyright  2002-2007 Gregory DEMAR, Coppermine Dev Team
+* @license http://www.gnu.org/licenses/gpl.html GNU General Public License V3
+* @package Coppermine
+* @version $Id: albmgr.php 5997 2009-05-26 06:43:24Z gaugau $
+*/
+
+/**
+* @ignore
+*/
+define('IN_COPPERMINE', true);
+
+define('ALBMGR_PHP', true);
+
+require('include/init.inc.php');
+
+if (!(GALLERY_ADMIN_MODE || USER_ADMIN_MODE)) cpg_die(ERROR, $lang_errors['access_denied'], __FILE__, __LINE__);
+
+/**
+ * alb_get_subcat_data()
+ *
+ * @param integer $parent
+ * @param string $ident
+ **/
+function alb_get_subcat_data($parent, $ident = '')
+{
+    global $CONFIG, $CAT_LIST;
+
+    $result = cpg_db_query("SELECT cid, name, description FROM {$CONFIG['TABLE_CATEGORIES']} WHERE parent = '$parent' AND cid != 1 ORDER BY pos");
+    if (mysql_num_rows($result) > 0) {
+        $rowset = cpg_db_fetch_rowset($result);
+        foreach ($rowset as $subcat) {
+            $CAT_LIST[] = array($subcat['cid'], $ident . $subcat['name']);
+            alb_get_subcat_data($subcat['cid'], $ident . '&nbsp;&nbsp;&nbsp;');
+        }
+    }
+}
+
+pageheader($lang_albmgr_php['alb_mrg']);
+
+?>
+
+<script language="javascript" type="text/javascript">
+<!--
+    function CheckAlbumForm(frm)
+    {
+        var select_len = frm.to.length;
+        var album = new Object();
+        var changed = false;
+
+        for (i=0; i<select_len; i++) {
+            album = new parseSelectValue(frm.to, i);
+
+            if (album.action != '0') {
+                if (album.album_nm == '') {
+                    alert('<?php echo $lang_albmgr_php['alb_need_name'] ?>');
+                    frm.to.options[i].selected = true;
+                    return false;
+                }
+                changed = true;
+            }
+        }
+
+        if (frm.delete_album.value.len !=0)
+            changed = true;
+
+        if (changed) {
+            if (confirm('<?php echo $lang_albmgr_php['confirm_modifs'] ?>')) {
+                for (i=0; i<select_len; i++) {
+                    album = new parseSelectValue(frm.to, i);
+                    if (album.action != '0') {
+                        frm.to.options[i].selected = true;
+                    }
+                }
+                return true;
+            }
+            else
+                return false;
+        }
+        else {
+            alert('<?php echo $lang_albmgr_php['no_change'] ?>');
+            return false;
+        }
+    }
+
+    function page_init()
+    {
+        document.album_menu.delete_album.value = "";
+    }
+-->
+</script>
+
+<script language="javascript" type="text/javascript">
+<!--
+    var selectedOptIndex;
+
+    function Album_Select(selectedIndex)
+    {
+        selectedOptIndex = selectedIndex;
+
+        for (i=0; i<document.album_menu.to.length; i++) {
+            document.album_menu.to.options[i].selected = false;
+        }
+        document.album_menu.to.options[selectedIndex].selected = true;
+
+        var album = new Object();
+        album = new parseSelectValue(document.album_menu.to, selectedIndex);
+
+        album.deleteFrm();
+        album.changeFrm();
+    }
+
+    function Moveup_Option()
+    {
+        var to = document.album_menu.to;
+        var pos = selectedOptIndex;
+        if (pos == 0) {
+            return;
+        }
+
+        swap_option(to, pos, pos-1);
+        selected_option(to, pos-1);
+    }
+
+    function Movedown_Option()
+    {
+        var to = document.album_menu.to;
+        var pos = selectedOptIndex;
+        if (pos == to.length-1) {
+            return;
+        }
+
+        swap_option(to, pos, pos+1);
+        selected_option(to, pos+1);
+    }
+
+    function Album_Create()
+    {
+        var prev_album;
+        var to_pos, album_type, album_sort;
+        var to = document.album_menu.to;
+
+        if (to.selectedIndex == -1)
+            to_pos = to.length;
+        else
+            to_pos = to.selectedIndex;
+
+        if (to_pos > 0) {
+            prev_album = new parseSelectValue(to, to_pos-1);
+            album_sort = Number(prev_album.album_sort)+1;
+        }
+        else {
+            album_sort = 1;
+        }
+        move_list (to, to_pos);
+        make_option("<?php echo $lang_albmgr_php['new_album'] ?>", make_value('0', "<?php echo $lang_albmgr_php['new_album'] ?>", album_sort, '1'), to, to_pos);
+
+        selected_option(to, to_pos);
+    }
+
+    function Album_Delete()
+    {
+        var album = new Object();
+        var to = document.album_menu.to;
+        album = new parseSelectValue(to, selectedOptIndex);
+
+        var msg = '<?php echo $lang_albmgr_php['confirm_delete1'] ?>';
+
+        if (album.action == '1') {
+            if (confirm(msg)) {
+                to.options[selectedOptIndex] = null;
+                document.album_menu.album_nm.value='';
+            }
+            else {
+                return;
+            }
+        }
+        else {
+            msg = msg + '<?php echo $lang_albmgr_php['confirm_delete2'] ?>';
+
+            if (confirm(msg)) {
+                var album = new Object();
+                album =  new parseSelectValue(to, selectedOptIndex);
+                to.options[selectedOptIndex] = null;
+                document.album_menu.album_nm.value='';
+
+                document.album_menu.delete_album.value = document.album_menu.delete_album.value + album.album_no + ',';
+            }
+            else {
+                return;
+            }
+        }
+    }
+
+    function Album_NameChange(change_name)
+    {
+
+                try {
+                    var album = new Object();
+                    var to = document.album_menu.to;
+                    var value;
+                    var text;
+
+                    album = new parseSelectValue(to, selectedOptIndex);
+                    if (album.action == '1')
+                        action = '1';
+                    else
+                        action = '2';
+
+                    text = change_name.substring(0, 80);
+                    value = make_value(album.album_no, change_name, album.album_sort, action);
+                    make_option(text, value, to, selectedOptIndex);
+                }
+                catch(e) {
+                        alert("<?php echo $lang_albmgr_php['select_first'] ?>");
+                }
+        }
+
+    function make_option(text, value, target, index)
+    {
+        target[index] = new Option(text, value);
+    }
+
+    function move_list(target, pos)
+    {
+        var album = new Object();
+        var listlen = target.length;
+
+        for (j=listlen-1; j>pos-1; j--) {
+            album = new parseSelectValue(target, j)
+            if (album.action == '1') {
+                value = make_value(album.album_no, album.album_nm, Number(album.album_sort)+1, '1');
+            }
+            else {
+                value = make_value(album.album_no, album.album_nm, Number(album.album_sort)+1, '2');
+            }
+            text  = target.options[j].text;
+
+            make_option(text, value, target, j+1);
+        }
+    }
+
+    function _private_update_frm_element(name)
+    {
+        var frm = document.album_menu;
+        frm.album_nm.value = name;
+    }
+
+    function _private_change()
+    {
+        _private_update_frm_element(this.album_nm);
+    }
+
+    function _private_delete()
+    {
+        _private_update_frm_element('');
+    }
+
+    function parseSelectValue(select, selectedIndex)
+    {
+        var temp_nm
+        var option_value = select.options[selectedIndex].value;
+
+        this.album_no = option_value.substring(option_value.indexOf('album_no=') + 9, option_value.indexOf(','));
+        option_value = option_value.substring(option_value.indexOf(',') + 1);
+
+        temp_nm = option_value.substring(option_value.indexOf('album_nm=') + 9, option_value.indexOf('album_sort=')-1);
+        this.album_nm = temp_nm.substring(1, temp_nm.length-1);
+        option_value = option_value.substring(option_value.indexOf('album_sort='));
+
+        this.album_sort = option_value.substring(option_value.indexOf('album_sort=') + 11 ,option_value.indexOf(','));
+        option_value = option_value.substring(option_value.indexOf(',') + 1);
+
+        this.action = option_value.substring(option_value.indexOf('action=') + 7);
+
+        this.changeFrm = _private_change;
+        this.deleteFrm = _private_delete;
+
+        return this;
+    }
+
+    function selected_option(target, pos)
+    {
+        target.options[pos].selected = true;
+        Album_Select(pos);
+    }
+
+    function swap_option(target, swap_a, swap_b)
+    {
+        var album_a = new Object();
+        var album_b = new Object();
+
+        album_a = new parseSelectValue(target, swap_a);
+        album_b = new parseSelectValue(target, swap_b);
+
+        if (album_a.action == '0') album_a.action = '2';
+        if (album_b.action == '0') album_b.action = '2';
+
+        var temp_option = new Option(target.options[swap_a].text, make_value(album_a.album_no, album_a.album_nm,album_b.album_sort,album_a.action));
+        target[swap_a] = new Option(target.options[swap_b].text, make_value(album_b.album_no, album_b.album_nm,album_a.album_sort,album_b.action));
+        target[swap_b] = temp_option;
+    }
+
+    function make_value(album_no, album_nm, album_sort, action)
+    {
+        return "album_no=" + album_no + ",album_nm='" + album_nm + "',album_sort=" + album_sort + ",action=" + action;
+    }
+-->
+</script>
+<form name="album_menu" method="post" action="delete.php?what=albmgr" onSubmit="return CheckAlbumForm(this);">
+<?php starttable("100%", $lang_albmgr_php['alb_mrg'].'&nbsp;'.cpg_display_help('f=index.htm&as=albmgr&ae=albmgr_end&top=1', '600', '400'), 1);
+?>
+<tr>
+<?php
+$cat = isset($_GET['cat']) ? (int)($_GET['cat']) : 0;
+if ($cat == 1) $cat = 0;
+
+if (GALLERY_ADMIN_MODE) {
+    $result = cpg_db_query("SELECT aid, title FROM {$CONFIG['TABLE_ALBUMS']} WHERE category = $cat ORDER BY pos ASC");
+} elseif (USER_ADMIN_MODE) {
+    $result = cpg_db_query("SELECT aid, title FROM {$CONFIG['TABLE_ALBUMS']} WHERE category = " . (USER_ID + FIRST_USER_CAT) . " ORDER BY pos ASC");
+} else cpg_die(ERROR, $lang_errors['perm_denied'], __FILE__, __LINE__);
+$rowset = cpg_db_fetch_rowset($result);
+$i = 100;
+$sort_order = '';
+if (count ($rowset) > 0) foreach ($rowset as $album) {
+    $sort_order .= $album['aid'] . '@' . ($i++) . ',';
+}
+
+?>
+        <input type="hidden" name="delete_album" value="" />
+        <input type="hidden" name="sort_order" value="<?php echo $sort_order ?>" />
+        <td class="tableb" valign="top" align="center">
+                <br />
+                <table width="300" border="0" cellspacing="0" cellpadding="0">
+<?php
+if (GALLERY_ADMIN_MODE) {
+    $CAT_LIST = array();
+    $CAT_LIST[] = array(FIRST_USER_CAT + USER_ID, $lang_albmgr_php['my_gallery']);
+    $CAT_LIST[] = array(0, $lang_albmgr_php['no_category']);
+    alb_get_subcat_data(0, '');
+
+    echo <<<EOT
+                <tr>
+                        <td>
+                                <b>{$lang_albmgr_php['select_category']}</b>
+                                <select onChange="if(this.options[this.selectedIndex].value) window.location.href='{$_SERVER['PHP_SELF']}?cat='+this.options[this.selectedIndex].value;"  name="cat" class="listbox">
+EOT;
+    foreach($CAT_LIST as $category) {
+        echo '                                <option value="' . $category[0] . '"' . ($cat == $category[0] ? ' selected': '') . ">" . $category[1] . "</option>\n";
+    }
+    echo <<<EOT
+                                </select>
+                                <br /><br />
+                        </td>
+                </tr>
+
+EOT;
+}
+
+?>
+                <tr>
+                        <td>
+                                <select id="to" name="to[]" size="<?php echo min(max(count ($rowset) + 3, 15), 40) ?>" multiple onChange="Album_Select(this.selectedIndex);" class="listbox" style="width: 300px">
+<?php
+$i = 100;
+$lb = '';
+if (count ($rowset) > 0) foreach ($rowset as $album) {
+    $lb .= '                                        <option value="album_no=' . $album['aid'] . ',album_nm=\'' . $album['title'] . '\',album_sort=' . ($i++) . ',action=0">' . stripslashes($album['title']) . "</option>\n";
+}
+echo $lb;
+
+?>
+                                </select>
+                        </td>
+                </tr>
+                <tr>
+                        <td>
+                                <table width="100%" border="0" cellspacing="0" cellpadding="0">
+                <tr>
+                                        <td><a href="javascript:Moveup_Option();"><img src="images/move_up.gif" width="26" height="21" border="0" alt="" /></a><a href="javascript:Movedown_Option();"><img src="images/move_down.gif" width="26" height="21" border="0" alt="" /></a>
+                                        </td>
+                                        <td align="center" style="background-color: #D4D0C8; width: 80px; height: 21px; border-top: 1px solid White; border-left: 1px solid White; border-right: 1px solid #808080; border-bottom: 1px solid #808080;"><a href="javascript:Album_Delete();" style="color: Black; font-weight: bold;"><?php echo $lang_albmgr_php['delete'] ?></a>
+                                        </td>
+                                        <td align="center" style="width: 1px;"><img src="images/spacer.gif" width="1" alt=""><br />
+                                        </td>
+                                        <td align="center" style="background-color: #D4D0C8; width: 80px; height: 21px; border-top: 1px solid White; border-left: 1px solid White; border-right: 1px solid #808080; border-bottom: 1px solid #808080;"><a href="javascript:Album_Create();" style="color: Black; font-weight: bold;"><?php echo $lang_albmgr_php['new'] ?></a>
+                                        </td>
+                                </tr>
+                                </table>
+                        </td>
+                </tr>
+                <tr>
+                        <td><br />
+                                <input type="text" name="album_nm" size="27" maxlength="80" class="textinput" style="width: 300px;" onChange="Album_NameChange(this.value);" onKeyUp="Album_NameChange(this.value);" />
+                                <br />
+                                <br />
+                        </td>
+                </tr>
+        </table>
+        </td>
+</tr>
+<tr>
+        <td colspan="2" align="center" class="tablef">
+        <input type="submit" class="button" value="<?php echo $lang_albmgr_php['apply_modifs'] ?>" />
+        </td>
+</tr>
+<?php
+endtable();
+echo '</form>';
+pagefooter();
+ob_end_flush();
+
 ?>
\ No newline at end of file
diff -x .svn -aruN 1.4.24.src/albums/edit/index.html 1.4.25.src/albums/edit/index.html
--- 1.4.24.src/albums/edit/index.html	2007-11-29 06:55:38.000000000 -0600
+++ 1.4.25.src/albums/edit/index.html	2007-07-20 10:28:55.000000000 -0500
@@ -1,5 +1,5 @@
-This file directory must not be altered.  Do not add files to it.
-
-This directory and all subdirectories are used by CPG for image manipulation.
-
-Woe unto he that stores his data here, for it shalt surely perish.
+This file directory must not be altered.  Do not add files to it.
+
+This directory and all subdirectories are used by CPG for image manipulation.
+
+Woe unto he that stores his data here, for it shalt surely perish.
diff -x .svn -aruN 1.4.24.src/albums/index.php 1.4.25.src/albums/index.php
--- 1.4.24.src/albums/index.php	2007-11-29 06:55:38.000000000 -0600
+++ 1.4.25.src/albums/index.php	2007-07-20 10:28:55.000000000 -0500
@@ -1,42 +1,42 @@
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml">
-<head>
-<title>Coppermine Photo Gallery - Albums Folder</title>
-<meta http-equiv="content-type" content="text/html; charset=iso-8859-1" />
-<meta http-equiv="refresh" content="0; url=../index.php">
-<style type="text/css">
-<!--
-body {
-        font-family : Verdana, Arial, Helvetica, sans-serif;
-        font-size: 12px;
-        background : #F7F7F7 ;
-        color : Black;
-        margin: 20px;
-}
-
-h1{
-        font-weight: bold;
-        font-size: 22px;
-        font-family: "Trebuchet MS", Verdana, Arial, Helvetica, sans-serif;
-        text-decoration: none;
-        line-height : 120%;
-        color : #000000;
-}
-
-p {
-        font-family : Verdana, Arial, Helvetica, sans-serif;
-        font-size: 12px;
-        margin: 10px 10px 0px 0px;
-}
-
--->
-</style>
-</head>
-<body>
-<h1><img src="../images/coppermine_logo.png" width="300" height="75" /></h1>
-<h1>Coppermine Photo Gallery - Albums Folder</h1>
-<p align="center">The contents of this folder aren't meant to be browsed. Visit the Coppermine Photo Gallery instead - you'll be redirected.
-If you don't want to wait (or your browser doesn't support redirect), click <a href="../index.php">here</a>.</p>
-
-</body>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+<title>Coppermine Photo Gallery - Albums Folder</title>
+<meta http-equiv="content-type" content="text/html; charset=iso-8859-1" />
+<meta http-equiv="refresh" content="0; url=../index.php">
+<style type="text/css">
+<!--
+body {
+        font-family : Verdana, Arial, Helvetica, sans-serif;
+        font-size: 12px;
+        background : #F7F7F7 ;
+        color : Black;
+        margin: 20px;
+}
+
+h1{
+        font-weight: bold;
+        font-size: 22px;
+        font-family: "Trebuchet MS", Verdana, Arial, Helvetica, sans-serif;
+        text-decoration: none;
+        line-height : 120%;
+        color : #000000;
+}
+
+p {
+        font-family : Verdana, Arial, Helvetica, sans-serif;
+        font-size: 12px;
+        margin: 10px 10px 0px 0px;
+}
+
+-->
+</style>
+</head>
+<body>
+<h1><img src="../images/coppermine_logo.png" width="300" height="75" /></h1>
+<h1>Coppermine Photo Gallery - Albums Folder</h1>
+<p align="center">The contents of this folder aren't meant to be browsed. Visit the Coppermine Photo Gallery instead - you'll be redirected.
+If you don't want to wait (or your browser doesn't support redirect), click <a href="../index.php">here</a>.</p>
+
+</body>
 </html>
\ No newline at end of file
diff -x .svn -aruN 1.4.24.src/albums/userpics/index.php 1.4.25.src/albums/userpics/index.php
--- 1.4.24.src/albums/userpics/index.php	2007-11-29 06:55:38.000000000 -0600
+++ 1.4.25.src/albums/userpics/index.php	2006-06-05 07:04:37.000000000 -0500
@@ -1,43 +1,43 @@
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml">
-<head>
-<title>Coppermine Photo Gallery - Userpics Folder</title>
-<meta http-equiv="content-type" content="text/html; charset=iso-8859-1" />
-<meta http-equiv="refresh" content="0; url=../../index.php">
-<style type="text/css">
-<!--
-body {
-        font-family : Verdana, Arial, Helvetica, sans-serif;
-        font-size: 12px;
-        background : #F7F7F7 ;
-        color : Black;
-        margin: 20px;
-}
-
-h1{
-        font-weight: bold;
-        font-size: 22px;
-        font-family: "Trebuchet MS", Verdana, Arial, Helvetica, sans-serif;
-        text-decoration: none;
-        line-height : 120%;
-        color : #000000;
-}
-
-p {
-        font-family : Verdana, Arial, Helvetica, sans-serif;
-        font-size: 12px;
-        margin: 10px 10px 0px 0px;
-}
-
--->
-</style>
-</head>
-
-<body>
-<h1><img src="../../images/coppermine_logo.png" width="300" height="75" /></h1>
-<h1>Coppermine Photo Gallery - Userpics Folder</h1>
-<p align="center">The contents of this folder aren't meant to be browsed. Visit the Coppermine Photo Gallery instead - you'll be redirected.
-If you don't want to wait (or your browser doesn't support redirect), click <a href="../../index.php">here</a>.<br />If you're the gallery admin: do not ftp-upload to this folder - refer to the documentation where to upload instead.</p>
-
-</body>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+<title>Coppermine Photo Gallery - Userpics Folder</title>
+<meta http-equiv="content-type" content="text/html; charset=iso-8859-1" />
+<meta http-equiv="refresh" content="0; url=../../index.php">
+<style type="text/css">
+<!--
+body {
+        font-family : Verdana, Arial, Helvetica, sans-serif;
+        font-size: 12px;
+        background : #F7F7F7 ;
+        color : Black;
+        margin: 20px;
+}
+
+h1{
+        font-weight: bold;
+        font-size: 22px;
+        font-family: "Trebuchet MS", Verdana, Arial, Helvetica, sans-serif;
+        text-decoration: none;
+        line-height : 120%;
+        color : #000000;
+}
+
+p {
+        font-family : Verdana, Arial, Helvetica, sans-serif;
+        font-size: 12px;
+        margin: 10px 10px 0px 0px;
+}
+
+-->
+</style>
+</head>
+
+<body>
+<h1><img src="../../images/coppermine_logo.png" width="300" height="75" /></h1>
+<h1>Coppermine Photo Gallery - Userpics Folder</h1>
+<p align="center">The contents of this folder aren't meant to be browsed. Visit the Coppermine Photo Gallery instead - you'll be redirected.
+If you don't want to wait (or your browser doesn't support redirect), click <a href="../../index.php">here</a>.<br />If you're the gallery admin: do not ftp-upload to this folder - refer to the documentation where to upload instead.</p>
+
+</body>
 </html>
\ No newline at end of file
diff -x .svn -aruN 1.4.24.src/anycontent.php 1.4.25.src/anycontent.php
--- 1.4.24.src/anycontent.php	2009-05-21 15:03:09.000000000 -0500
+++ 1.4.25.src/anycontent.php	2009-05-26 11:25:52.000000000 -0500
@@ -1,47 +1,47 @@
-<?php
-/*************************
-  Coppermine Photo Gallery
-  ************************
-  Copyright (c) 2003-2009 Coppermine Dev Team
-  v1.1 originally written by Gregory DEMAR
-
-  This program is free software; you can redistribute it and/or modify
-  it under the terms of the GNU General Public License version 3
-  as published by the Free Software Foundation.
-  
-  ********************************************
-  Coppermine version: 1.4.24
-  $HeadURL: https://coppermine.svn.sourceforge.net/svnroot/coppermine/trunk/cpg1.4.x/anycontent.php $
-  $Revision: 5969 $
-  $Author: gaugau $
-  $Date: 2009-05-21 22:03:33 +0200 (Do, 21 Mai 2009) $
-**********************************************/
-
-/**
-* Coppermine Photo Gallery 1.4.20 anycontent.php
-*
-* This file gets included in index.php if you set the option on the configuration panel: "content of the main page".
-* It can be used to display any content from any program, it is to be edited according to one's tastes.
-*
-*/
-
-if (!defined('IN_COPPERMINE')) {
-    die('Not in Coppermine...');
-}
-
-starttable("100%", "Welcome");
-
-echo <<< EOT
-    <tr>
-        <td class="tableb">
-            Here is text in the "anycontent" block.<br />
-            Edit the file "anycontent.php" in your Coppermine folder to change what is shown here.<br />
-            To show this block on your gallery, go to the configuration panel under "Album List View", then "content of the main page".
-        </td>
-    </tr>
-
-EOT;
-
-endtable();
-
-?>
+<?php
+/*************************
+  Coppermine Photo Gallery
+  ************************
+  Copyright (c) 2003-2009 Coppermine Dev Team
+  v1.1 originally written by Gregory DEMAR
+
+  This program is free software; you can redistribute it and/or modify
+  it under the terms of the GNU General Public License version 3
+  as published by the Free Software Foundation.
+  
+  ********************************************
+  Coppermine version: 1.4.25
+  $HeadURL: https://coppermine.svn.sourceforge.net/svnroot/coppermine/trunk/cpg1.4.x/anycontent.php $
+  $Revision: 5997 $
+  $Author: gaugau $
+  $Date: 2009-05-26 08:43:24 +0200 (Di, 26 Mai 2009) $
+**********************************************/
+
+/**
+* Coppermine Photo Gallery 1.4.20 anycontent.php
+*
+* This file gets included in index.php if you set the option on the configuration panel: "content of the main page".
+* It can be used to display any content from any program, it is to be edited according to one's tastes.
+*
+*/
+
+if (!defined('IN_COPPERMINE')) {
+    die('Not in Coppermine...');
+}
+
+starttable("100%", "Welcome");
+
+echo <<< EOT
+    <tr>
+        <td class="tableb">
+            Here is text in the "anycontent" block.<br />
+            Edit the file "anycontent.php" in your Coppermine folder to change what is shown here.<br />
+            To show this block on your gallery, go to the configuration panel under "Album List View", then "content of the main page".
+        </td>
+    </tr>
+
+EOT;
+
+endtable();
+
+?>
diff -x .svn -aruN 1.4.24.src/banning.php 1.4.25.src/banning.php
--- 1.4.24.src/banning.php	2009-05-25 15:01:17.000000000 -0500
+++ 1.4.25.src/banning.php	2009-05-26 11:25:52.000000000 -0500
@@ -1,338 +1,338 @@
-<?php
-/*************************
-  Coppermine Photo Gallery
-  ************************
-  Copyright (c) 2003-2009 Coppermine Dev Team
-  v1.1 originally written by Gregory DEMAR
-
-  This program is free software; you can redistribute it and/or modify
-  it under the terms of the GNU General Public License version 3
-  as published by the Free Software Foundation.
-  
-  ********************************************
-  Coppermine version: 1.4.24
-  $HeadURL: https://coppermine.svn.sourceforge.net/svnroot/coppermine/trunk/cpg1.4.x/banning.php $
-  $Revision: 5988 $
-  $Author: gaugau $
-  $Date: 2009-05-25 22:01:41 +0200 (Mo, 25 Mai 2009) $
-**********************************************/
-
-/**
-* Coppermine Photo Gallery 1.4.14 banning.php
-*
-* Someone please add a description
-*
-* @copyright 2002-2006 Gregory DEMAR, Coppermine Dev Team
-* @license http://www.gnu.org/licenses/gpl.html GNU General Public License V3
-* @package Coppermine
-* @version $Id: banning.php 5988 2009-05-25 20:01:41Z gaugau $
-*/
-
-
-define('IN_COPPERMINE', true);
-define('BANNING_PHP', true);
-
-require('include/init.inc.php');
-require('include/sql_parse.php');
-
-if (!GALLERY_ADMIN_MODE) cpg_die(ERROR, $lang_errors['access_denied'], __FILE__, __LINE__);
-// if (defined('UDB_INTEGRATION')) cpg_die(ERROR, $lang_errors['not_with_udb'], __FILE__, __LINE__);
-
-/**
- * create_banlist()
- *
- * @return
- **/
-function create_banlist()
-{
-    global $CONFIG, $lang_banning_php, $album_date_fmt; //$PHP_SELF,
-
-    $result = cpg_db_query ("SELECT *, UNIX_TIMESTAMP(expiry) AS expiry FROM {$CONFIG['TABLE_BANNED']} WHERE brute_force=0");
-    $count = mysql_num_rows($result);
-    if ($count > 0) {
-        echo <<<EOHEAD
-                <tr>
-                <th align="center" class="tableh2">{$lang_banning_php['user_name']}</th>
-                <th align="center" class="tableh2">{$lang_banning_php['ip_address']}</th>
-                <th align="center" class="tableh2">{$lang_banning_php['expiry']}</th>
-                <th align="center" class="tableh2"></th>
-                </tr>
-EOHEAD;
-
-        $row_counter = 0;
-        while ($row = mysql_fetch_array($result)) {
-            if ($row['user_id']) {
-                $username = get_username($row['user_id']);
-            } else {
-                $username = '';
-            }
-
-            if ($row['expiry']) {;
-                $expiry = localised_date($row['expiry'], '%Y-%m-%d');
-            } else {
-                $expiry = '';
-            }
-            echo <<<EOROW
-                                        <tr>
-                                               <form action="{$_SERVER['PHP_SELF']}" method="post" name="banlist$row_counter">
-                                                     <td width="20%" class="tableb" valign="middle">
-                                                             <input type="hidden" name="ban_id" value="{$row['ban_id']}" />
-                                                <input type="text" class="textinput" style="width: 100%" name="edit_ban_user_name" value="$username" />
-                                        </td>
-                                                <td class="tableb" valign="middle">
-                                                <input type="text" class="textinput" size="15" name="edit_ban_ip_addr" value="{$row['ip_addr']}" />
-                                        </td>
-                                                <td class="tableb" valign="middle">
-                                                <input type="text" class="listbox_lang" size="20" name="edit_ban_expires" value="$expiry" readonly="readonly" title="{$lang_banning_php['select_date']}" />
-                                                <a href="javascript:;"  onclick="return getCalendar(document.banlist$row_counter.edit_ban_expires);" title="{$lang_banning_php['select_date']}"><img src="images/calendar.gif" width="16" height="16" border="0" alt="" /></a>
-                                        </td>
-                                        <td class="tableb" valign="middle">
-                                                                <input type="submit" class="button" name="edit_ban" value="{$lang_banning_php['edit_ban']}" />
-                                        &nbsp;&nbsp;
-                                                                <input type="submit" class="button" name="delete_ban" value="{$lang_banning_php['delete_ban']}" />
-                                        </td>
-                                </form>
-                                </tr>
-EOROW;
-          $row_counter++;
-        }
-    }
-    mysql_free_result($result);
-}
-
-if (count($_POST) > 0) {
-    if (isset($_POST['add_ban'])) {
-        if ($_POST['add_ban_user_name']) {
-            if (!($ban_uid = get_userid($_POST['add_ban_user_name']))) {
-                cpg_die(CRITICAL_ERROR, $lang_banning_php['error_user']. ' '. $_POST['add_ban_user_name'], __FILE__, __LINE__);
-            }
-            // check that admin doesn't ban himself
-            if ($_POST['add_ban_user_name'] == USER_NAME) {
-               cpg_die(ERROR, $lang_banning_php['error_admin_ban'], __FILE__, __LINE__);
-               }
-        } else {
-            $ban_uid = 'NULL';
-        }
-
-        if ($_POST['add_ban_ip_addr']) {
-            $ban_ip_addr = "'" . addslashes($_POST['add_ban_ip_addr']) . "'";
-            //check admin ip address
-            if ($_POST['add_ban_ip_addr'] == $REMOTE_ADDR || $_POST['add_ban_ip_addr'] == $_SERVER["REMOTE_ADDR"] || ($_POST['add_ban_ip_addr'] == $_ENV["REMOTE_ADDR"] && $_ENV["REMOTE_ADDR"])) {
-               cpg_die(ERROR, $lang_banning_php['error_admin_ban'], __FILE__, __LINE__);
-               }
-            //check server ip adress
-            if ($_POST['add_ban_ip_addr'] == $SERVER_ADDR || $_POST['add_ban_ip_addr'] == $_SERVER["SERVER_ADDR"] || $_POST['add_ban_ip_addr'] == $_ENV["SERVER_ADDR"]) {
-               cpg_die(ERROR, $lang_banning_php['error_server_ban'], __FILE__, __LINE__);
-               }
-            //check illegal ip addresses
-            $ip_to_check = 'ip'.$_POST['add_ban_ip_addr'];
-            $ip_is_illegal = 0;
-            $illegal_ip = array('192.168.','10.','172.16.','172.17.','172.18.','172.19.','172.20.','172.21.','172.22.','172.23.','172.24.','172.25.','172.26.','172.27.','172.28.','172.29.','172.30.','172.31.','169.254.','127.', '192.0.','1.0.0.0','204.152.64.','204.152.65.');
-            foreach ($illegal_ip as $not_allowed_ip) {
-              if (strpos($ip_to_check,$not_allowed_ip) == 2){$ip_is_illegal++;}
-            }
-            //higher than 224 in first byte
-            for ($i = 224; $i <= 255; $i++) {
-            if (strpos($ip_to_check,$i.'.') == 2){$ip_is_illegal++;}
-            }
-            if ($ip_is_illegal != 0 && $CONFIG['ban_private_ip'] == 0) {
-            cpg_die(ERROR, $lang_banning_php['error_ip_forbidden'], __FILE__, __LINE__);
-            }
-        } else {
-            $ban_ip_addr = 'NULL';
-        }
-
-/* The existing validity check for expiry date stinks, have to create a new one
-        if (isset($_POST['add_ban_expires'])) { //expiry date has been set: start
-            if (($_POST['add_ban_expires']) && ($_POST['add_ban_expires'] != 'never')) { //expiry date contains data and is not set to 'never': start
-                if (!($ban_expires = strtotime($_POST['add_ban_expires']))) {
-                    $ban_expires = 'NULL';
-                }
-            } else {
-                $ban_expires = 'NULL';
-            }
-        } else {
-            $ban_expires = 'NULL';
-        }
-*/
-$ban_expires = $_POST['add_ban_expires'];
-if ($ban_expires == '') {
-    $ban_expires = 'NULL';
-} else {
-    $ban_expires = "'".$ban_expires.' 00:00:00'."'";
-}
-if ($ban_expires == '\' 00:00:00\'') {
-    $ban_expires = 'NULL';
-}
-
-//print 'expiry date|'.$ban_expires.'|'; //added for debugging
-
-        if ($ban_expires < 0) { $ban_expires = 'NULL';}
-        // check if anything has been submit at all
-        if (!$_POST['add_ban_user_name'] && !$_POST['add_ban_ip_addr']) {
-          cpg_die(CRITICAL_ERROR, $lang_banning_php['error_specify'], __FILE__, __LINE__);
-          }
-        if ($ban_uid || $ban_ip_addr) {
-            cpg_db_query("INSERT INTO {$CONFIG['TABLE_BANNED']} (user_id, ip_addr, expiry) VALUES ($ban_uid, $ban_ip_addr, $ban_expires)");
-        } else {
-            cpg_die(CRITICAL_ERROR, $lang_banning_php['error_specify'], __FILE__, __LINE__);
-        }
-    } elseif (isset($_POST['delete_ban'])) {
-        if (isset($_POST['ban_id'])) {
-            $ban_id = (int)$_POST['ban_id'];
-            if ($ban_id) {
-                cpg_db_query("DELETE FROM {$CONFIG['TABLE_BANNED']} WHERE ban_id=$ban_id");
-            } else {
-                cpg_die(CRITICAL_ERROR, $lang_banning_php['error_ban_id'], __FILE__, __LINE__);
-            }
-        }
-    } elseif (isset($_POST['edit_ban'])) {
-        if (isset($_POST['ban_id'])) {
-            $ban_id = (int)$_POST['ban_id'];
-            if ($ban_id) {
-                if ($_POST['edit_ban_user_name']) {
-                    if (!($ban_uid = get_userid($_POST['edit_ban_user_name']))) {
-                        cpg_die(CRITICAL_ERROR, $lang_banning_php['error_user'] . ' ' . $_POST['edit_ban_user_name'], __FILE__, __LINE__);
-                    }
-                } else {
-                    $ban_uid = 'NULL';
-                }
-
-                if (isset($_POST['edit_ban_ip_addr'])) {
-                    $ban_ip_addr = "'" . addslashes($_POST['edit_ban_ip_addr']) . "'";
-                } else {
-                    $ban_ip_addr = 'NULL';
-                }
-
-                /*
-                if (isset($_POST['edit_ban_expires'])) {
-                    if (($_POST['edit_ban_expires']) && ($_POST['edit_ban_expires'] != 'never')) {
-                        if (!($ban_expires = strtotime($_POST['edit_ban_expires']))) {
-                            $ban_expires = 'NULL';
-                        }
-                    } else {
-                        $ban_expires = 'NULL';
-                    }
-                } else {
-                    $ban_expires = 'NULL';
-                }
-                */
-                $ban_expires = $_POST['edit_ban_expires'];
-                if ($ban_expires == '') {
-                      $ban_expires = 'NULL';
-                } else {
-                    $ban_expires = "'".$ban_expires."'";
-                }
-
-                if ((int)$ban_expires < 0) $ban_expires = 'NULL';
-
-                if ($ban_uid || $ban_ip_addr) {
-                    cpg_db_query("UPDATE {$CONFIG['TABLE_BANNED']} SET user_id=$ban_uid, ip_addr=$ban_ip_addr, expiry=$ban_expires where ban_id=$ban_id");
-                } else {
-                    cpg_die(CRITICAL_ERROR, $lang_banning_php['error_specify'], __FILE__, __LINE__);
-                }
-            } else {
-                cpg_die(CRITICAL_ERROR, $lang_banning_php['error_ban_id'], __FILE__, __LINE__);
-            }
-        }
-    }
-}
-
-pageheader($lang_banning_php['title']);
-
-$signature = 'Coppermine Photo Gallery ' . COPPERMINE_VERSION . ' (' . COPPERMINE_VERSION_STATUS . ')';
-//print "<div align=\"left\">\n";
-starttable('100%', "{$lang_banning_php['title']} - $signature", 4);
-create_banlist();
-endtable();
-//print "</div>\n";
-$calendar_link_new = 'calendar.php?action=banning&amp;month='.ltrim(strftime('%m'),'0').'&amp;year='.strftime('%Y');
-print <<<EOT
-<script language="javascript" type="text/javascript">
-var calendarWindow = null;
-var calendarFormat = 'y-m-d';
-
-function getCalendar(in_dateField)
-{
-    if (calendarWindow && !calendarWindow.closed) {
-        alert('Calendar window already open.  Attempting focus...');
-        try {
-            calendarWindow.focus();
-        }
-        catch(e) {}
-
-        return false;
-    }
-
-    var cal_width = 300;
-    var cal_height = 260;
-
-    // IE needs less space to make this thing
-    if ((document.all) && (navigator.userAgent.indexOf("Konqueror") == -1)) {
-        cal_width = 290;
-    }
-
-    calendarTarget = in_dateField;
-    calendarWindow = window.open('{$calendar_link_new}', 'dateSelectorPopup','toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=1,dependent=no,width='+cal_width+',height='+cal_height);
-    return false;
-}
-
-function killCalendar()
-{
-    if (calendarWindow && !calendarWindow.closed) {
-        calendarWindow.close();
-    }
-}
-</script>
-EOT;
-print "<br />\n";
-starttable('100%', $lang_banning_php['add_new'], 4);
-echo <<<EOT
-                                        <tr>
-                                                <th class="tableh2">{$lang_banning_php['user_name']}</th>
-                                                <th class="tableh2">{$lang_banning_php['ip_address']}</th>
-                                                <th class="tableh2">{$lang_banning_php['expiry']}</th>
-                                                <th class="tableh2"></th>
-                                        </tr>
-
-                                        <tr>
-                                               <form action="{$_SERVER['PHP_SELF']}" method="post" name="list">
-                                                     <td class="tableb" valign="middle">
-                                                <input type="text" class="textinput" style="width: 100%" name="add_ban_user_name" value="" />
-                                        </td>
-                                                <td class="tableb" valign="middle">
-                                                <input type="text" class="textinput" name="add_ban_ip_addr" value="" size="15" maxlength="15" />
-                                        </td>
-                                                <td class="tableb" valign="middle">
-                                                <input type="text" class="listbox_lang"  name="add_ban_expires" value="" size="20" readonly="readonly" title="{$lang_banning_php['select_date']}" />
-                                                <a href="javascript:;"  onclick="return getCalendar(document.list.add_ban_expires);" title="{$lang_banning_php['select_date']}"><img src="images/calendar.gif" width="16" height="16" border="0" alt="" /></a>
-                                        </td>
-                                        <td class="tableb" valign="top">
-                                                                <input type="submit" class="button" name="add_ban" value="{$lang_banning_php['add_ban']}" />
-                                        </td>
-                                </form>
-                                </tr>
-EOT;
-endtable();
-print "<form action=\"http://ws.arin.net/cgi-bin/whois.pl\" method=\"post\" name=\"lookup\">\n";
-
-//starttable('-2', $lang_banning_php['lookup_ip'], 2);
-starttable('-2');
-print "<tr>\n";
-print "<td class=\"tablef\">\n";
-print "<b>".$lang_banning_php['lookup_ip']."</b>\n";
-print "</td>\n";
-print "<td class=\"tableb\">\n";
-print "<input type=\"text\" class=\"textinput\" size=\"20\" name=\"queryinput\" value=\"\" maxlength=\"15\" />\n";
-print "</td>\n";
-print "<td class=\"tableb\">\n";
-print "<input type=\"submit\" class=\"button\" name=\"submit\" value=\"{$lang_banning_php['submit']}\" />\n";
-print "</td>\n";
-print "</tr>\n";
-endtable();
-print "</form>\n";
-
-pagefooter();
-ob_end_flush();
-
-?>
+<?php
+/*************************
+  Coppermine Photo Gallery
+  ************************
+  Copyright (c) 2003-2009 Coppermine Dev Team
+  v1.1 originally written by Gregory DEMAR
+
+  This program is free software; you can redistribute it and/or modify
+  it under the terms of the GNU General Public License version 3
+  as published by the Free Software Foundation.
+  
+  ********************************************
+  Coppermine version: 1.4.25
+  $HeadURL: https://coppermine.svn.sourceforge.net/svnroot/coppermine/trunk/cpg1.4.x/banning.php $
+  $Revision: 5997 $
+  $Author: gaugau $
+  $Date: 2009-05-26 08:43:24 +0200 (Di, 26 Mai 2009) $
+**********************************************/
+
+/**
+* Coppermine Photo Gallery 1.4.14 banning.php
+*
+* Someone please add a description
+*
+* @copyright 2002-2006 Gregory DEMAR, Coppermine Dev Team
+* @license http://www.gnu.org/licenses/gpl.html GNU General Public License V3
+* @package Coppermine
+* @version $Id: banning.php 5997 2009-05-26 06:43:24Z gaugau $
+*/
+
+
+define('IN_COPPERMINE', true);
+define('BANNING_PHP', true);
+
+require('include/init.inc.php');
+require('include/sql_parse.php');
+
+if (!GALLERY_ADMIN_MODE) cpg_die(ERROR, $lang_errors['access_denied'], __FILE__, __LINE__);
+// if (defined('UDB_INTEGRATION')) cpg_die(ERROR, $lang_errors['not_with_udb'], __FILE__, __LINE__);
+
+/**
+ * create_banlist()
+ *
+ * @return
+ **/
+function create_banlist()
+{
+    global $CONFIG, $lang_banning_php, $album_date_fmt; //$PHP_SELF,
+
+    $result = cpg_db_query ("SELECT *, UNIX_TIMESTAMP(expiry) AS expiry FROM {$CONFIG['TABLE_BANNED']} WHERE brute_force=0");
+    $count = mysql_num_rows($result);
+    if ($count > 0) {
+        echo <<<EOHEAD
+                <tr>
+                <th align="center" class="tableh2">{$lang_banning_php['user_name']}</th>
+                <th align="center" class="tableh2">{$lang_banning_php['ip_address']}</th>
+                <th align="center" class="tableh2">{$lang_banning_php['expiry']}</th>
+                <th align="center" class="tableh2"></th>
+                </tr>
+EOHEAD;
+
+        $row_counter = 0;
+        while ($row = mysql_fetch_array($result)) {
+            if ($row['user_id']) {
+                $username = get_username($row['user_id']);
+            } else {
+                $username = '';
+            }
+
+            if ($row['expiry']) {;
+                $expiry = localised_date($row['expiry'], '%Y-%m-%d');
+            } else {
+                $expiry = '';
+            }
+            echo <<<EOROW
+                                        <tr>
+                                               <form action="{$_SERVER['PHP_SELF']}" method="post" name="banlist$row_counter">
+                                                     <td width="20%" class="tableb" valign="middle">
+                                                             <input type="hidden" name="ban_id" value="{$row['ban_id']}" />
+                                                <input type="text" class="textinput" style="width: 100%" name="edit_ban_user_name" value="$username" />
+                                        </td>
+                                                <td class="tableb" valign="middle">
+                                                <input type="text" class="textinput" size="15" name="edit_ban_ip_addr" value="{$row['ip_addr']}" />
+                                        </td>
+                                                <td class="tableb" valign="middle">
+                                                <input type="text" class="listbox_lang" size="20" name="edit_ban_expires" value="$expiry" readonly="readonly" title="{$lang_banning_php['select_date']}" />
+                                                <a href="javascript:;"  onclick="return getCalendar(document.banlist$row_counter.edit_ban_expires);" title="{$lang_banning_php['select_date']}"><img src="images/calendar.gif" width="16" height="16" border="0" alt="" /></a>
+                                        </td>
+                                        <td class="tableb" valign="middle">
+                                                                <input type="submit" class="button" name="edit_ban" value="{$lang_banning_php['edit_ban']}" />
+                                        &nbsp;&nbsp;
+                                                                <input type="submit" class="button" name="delete_ban" value="{$lang_banning_php['delete_ban']}" />
+                                        </td>
+                                </form>
+                                </tr>
+EOROW;
+          $row_counter++;
+        }
+    }
+    mysql_free_result($result);
+}
+
+if (count($_POST) > 0) {
+    if (isset($_POST['add_ban'])) {
+        if ($_POST['add_ban_user_name']) {
+            if (!($ban_uid = get_userid($_POST['add_ban_user_name']))) {
+                cpg_die(CRITICAL_ERROR, $lang_banning_php['error_user']. ' '. $_POST['add_ban_user_name'], __FILE__, __LINE__);
+            }
+            // check that admin doesn't ban himself
+            if ($_POST['add_ban_user_name'] == USER_NAME) {
+               cpg_die(ERROR, $lang_banning_php['error_admin_ban'], __FILE__, __LINE__);
+               }
+        } else {
+            $ban_uid = 'NULL';
+        }
+
+        if ($_POST['add_ban_ip_addr']) {
+            $ban_ip_addr = "'" . addslashes($_POST['add_ban_ip_addr']) . "'";
+            //check admin ip address
+            if ($_POST['add_ban_ip_addr'] == $REMOTE_ADDR || $_POST['add_ban_ip_addr'] == $_SERVER["REMOTE_ADDR"] || ($_POST['add_ban_ip_addr'] == $_ENV["REMOTE_ADDR"] && $_ENV["REMOTE_ADDR"])) {
+               cpg_die(ERROR, $lang_banning_php['error_admin_ban'], __FILE__, __LINE__);
+               }
+            //check server ip adress
+            if ($_POST['add_ban_ip_addr'] == $SERVER_ADDR || $_POST['add_ban_ip_addr'] == $_SERVER["SERVER_ADDR"] || $_POST['add_ban_ip_addr'] == $_ENV["SERVER_ADDR"]) {
+               cpg_die(ERROR, $lang_banning_php['error_server_ban'], __FILE__, __LINE__);
+               }
+            //check illegal ip addresses
+            $ip_to_check = 'ip'.$_POST['add_ban_ip_addr'];
+            $ip_is_illegal = 0;
+            $illegal_ip = array('192.168.','10.','172.16.','172.17.','172.18.','172.19.','172.20.','172.21.','172.22.','172.23.','172.24.','172.25.','172.26.','172.27.','172.28.','172.29.','172.30.','172.31.','169.254.','127.', '192.0.','1.0.0.0','204.152.64.','204.152.65.');
+            foreach ($illegal_ip as $not_allowed_ip) {
+              if (strpos($ip_to_check,$not_allowed_ip) == 2){$ip_is_illegal++;}
+            }
+            //higher than 224 in first byte
+            for ($i = 224; $i <= 255; $i++) {
+            if (strpos($ip_to_check,$i.'.') == 2){$ip_is_illegal++;}
+            }
+            if ($ip_is_illegal != 0 && $CONFIG['ban_private_ip'] == 0) {
+            cpg_die(ERROR, $lang_banning_php['error_ip_forbidden'], __FILE__, __LINE__);
+            }
+        } else {
+            $ban_ip_addr = 'NULL';
+        }
+
+/* The existing validity check for expiry date stinks, have to create a new one
+        if (isset($_POST['add_ban_expires'])) { //expiry date has been set: start
+            if (($_POST['add_ban_expires']) && ($_POST['add_ban_expires'] != 'never')) { //expiry date contains data and is not set to 'never': start
+                if (!($ban_expires = strtotime($_POST['add_ban_expires']))) {
+                    $ban_expires = 'NULL';
+                }
+            } else {
+                $ban_expires = 'NULL';
+            }
+        } else {
+            $ban_expires = 'NULL';
+        }
+*/
+$ban_expires = $_POST['add_ban_expires'];
+if ($ban_expires == '') {
+    $ban_expires = 'NULL';
+} else {
+    $ban_expires = "'".$ban_expires.' 00:00:00'."'";
+}
+if ($ban_expires == '\' 00:00:00\'') {
+    $ban_expires = 'NULL';
+}
+
+//print 'expiry date|'.$ban_expires.'|'; //added for debugging
+
+        if ($ban_expires < 0) { $ban_expires = 'NULL';}
+        // check if anything has been submit at all
+        if (!$_POST['add_ban_user_name'] && !$_POST['add_ban_ip_addr']) {
+          cpg_die(CRITICAL_ERROR, $lang_banning_php['error_specify'], __FILE__, __LINE__);
+          }
+        if ($ban_uid || $ban_ip_addr) {
+            cpg_db_query("INSERT INTO {$CONFIG['TABLE_BANNED']} (user_id, ip_addr, expiry) VALUES ($ban_uid, $ban_ip_addr, $ban_expires)");
+        } else {
+            cpg_die(CRITICAL_ERROR, $lang_banning_php['error_specify'], __FILE__, __LINE__);
+        }
+    } elseif (isset($_POST['delete_ban'])) {
+        if (isset($_POST['ban_id'])) {
+            $ban_id = (int)$_POST['ban_id'];
+            if ($ban_id) {
+                cpg_db_query("DELETE FROM {$CONFIG['TABLE_BANNED']} WHERE ban_id=$ban_id");
+            } else {
+                cpg_die(CRITICAL_ERROR, $lang_banning_php['error_ban_id'], __FILE__, __LINE__);
+            }
+        }
+    } elseif (isset($_POST['edit_ban'])) {
+        if (isset($_POST['ban_id'])) {
+            $ban_id = (int)$_POST['ban_id'];
+            if ($ban_id) {
+                if ($_POST['edit_ban_user_name']) {
+                    if (!($ban_uid = get_userid($_POST['edit_ban_user_name']))) {
+                        cpg_die(CRITICAL_ERROR, $lang_banning_php['error_user'] . ' ' . $_POST['edit_ban_user_name'], __FILE__, __LINE__);
+                    }
+                } else {
+                    $ban_uid = 'NULL';
+                }
+
+                if (isset($_POST['edit_ban_ip_addr'])) {
+                    $ban_ip_addr = "'" . addslashes($_POST['edit_ban_ip_addr']) . "'";
+                } else {
+                    $ban_ip_addr = 'NULL';
+                }
+
+                /*
+                if (isset($_POST['edit_ban_expires'])) {
+                    if (($_POST['edit_ban_expires']) && ($_POST['edit_ban_expires'] != 'never')) {
+                        if (!($ban_expires = strtotime($_POST['edit_ban_expires']))) {
+                            $ban_expires = 'NULL';
+                        }
+                    } else {
+                        $ban_expires = 'NULL';
+                    }
+                } else {
+                    $ban_expires = 'NULL';
+                }
+                */
+                $ban_expires = $_POST['edit_ban_expires'];
+                if ($ban_expires == '') {
+                      $ban_expires = 'NULL';
+                } else {
+                    $ban_expires = "'".$ban_expires."'";
+                }
+
+                if ((int)$ban_expires < 0) $ban_expires = 'NULL';
+
+                if ($ban_uid || $ban_ip_addr) {
+                    cpg_db_query("UPDATE {$CONFIG['TABLE_BANNED']} SET user_id=$ban_uid, ip_addr=$ban_ip_addr, expiry=$ban_expires where ban_id=$ban_id");
+                } else {
+                    cpg_die(CRITICAL_ERROR, $lang_banning_php['error_specify'], __FILE__, __LINE__);
+                }
+            } else {
+                cpg_die(CRITICAL_ERROR, $lang_banning_php['error_ban_id'], __FILE__, __LINE__);
+            }
+        }
+    }
+}
+
+pageheader($lang_banning_php['title']);
+
+$signature = 'Coppermine Photo Gallery ' . COPPERMINE_VERSION . ' (' . COPPERMINE_VERSION_STATUS . ')';
+//print "<div align=\"left\">\n";
+starttable('100%', "{$lang_banning_php['title']} - $signature", 4);
+create_banlist();
+endtable();
+//print "</div>\n";
+$calendar_link_new = 'calendar.php?action=banning&amp;month='.ltrim(strftime('%m'),'0').'&amp;year='.strftime('%Y');
+print <<<EOT
+<script language="javascript" type="text/javascript">
+var calendarWindow = null;
+var calendarFormat = 'y-m-d';
+
+function getCalendar(in_dateField)
+{
+    if (calendarWindow && !calendarWindow.closed) {
+        alert('Calendar window already open.  Attempting focus...');
+        try {
+            calendarWindow.focus();
+        }
+        catch(e) {}
+
+        return false;
+    }
+
+    var cal_width = 300;
+    var cal_height = 260;
+
+    // IE needs less space to make this thing
+    if ((document.all) && (navigator.userAgent.indexOf("Konqueror") == -1)) {
+        cal_width = 290;
+    }
+
+    calendarTarget = in_dateField;
+    calendarWindow = window.open('{$calendar_link_new}', 'dateSelectorPopup','toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=1,dependent=no,width='+cal_width+',height='+cal_height);
+    return false;
+}
+
+function killCalendar()
+{
+    if (calendarWindow && !calendarWindow.closed) {
+        calendarWindow.close();
+    }
+}
+</script>
+EOT;
+print "<br />\n";
+starttable('100%', $lang_banning_php['add_new'], 4);
+echo <<<EOT
+                                        <tr>
+                                                <th class="tableh2">{$lang_banning_php['user_name']}</th>
+                                                <th class="tableh2">{$lang_banning_php['ip_address']}</th>
+                                                <th class="tableh2">{$lang_banning_php['expiry']}</th>
+                                                <th class="tableh2"></th>
+                                        </tr>
+
+                                        <tr>
+                                               <form action="{$_SERVER['PHP_SELF']}" method="post" name="list">
+                                                     <td class="tableb" valign="middle">
+                                                <input type="text" class="textinput" style="width: 100%" name="add_ban_user_name" value="" />
+                                        </td>
+                                                <td class="tableb" valign="middle">
+                                                <input type="text" class="textinput" name="add_ban_ip_addr" value="" size="15" maxlength="15" />
+                                        </td>
+                                                <td class="tableb" valign="middle">
+                                                <input type="text" class="listbox_lang"  name="add_ban_expires" value="" size="20" readonly="readonly" title="{$lang_banning_php['select_date']}" />
+                                                <a href="javascript:;"  onclick="return getCalendar(document.list.add_ban_expires);" title="{$lang_banning_php['select_date']}"><img src="images/calendar.gif" width="16" height="16" border="0" alt="" /></a>
+                                        </td>
+                                        <td class="tableb" valign="top">
+                                                                <input type="submit" class="button" name="add_ban" value="{$lang_banning_php['add_ban']}" />
+                                        </td>
+                                </form>
+                                </tr>
+EOT;
+endtable();
+print "<form action=\"http://ws.arin.net/cgi-bin/whois.pl\" method=\"post\" name=\"lookup\">\n";
+
+//starttable('-2', $lang_banning_php['lookup_ip'], 2);
+starttable('-2');
+print "<tr>\n";
+print "<td class=\"tablef\">\n";
+print "<b>".$lang_banning_php['lookup_ip']."</b>\n";
+print "</td>\n";
+print "<td class=\"tableb\">\n";
+print "<input type=\"text\" class=\"textinput\" size=\"20\" name=\"queryinput\" value=\"\" maxlength=\"15\" />\n";
+print "</td>\n";
+print "<td class=\"tableb\">\n";
+print "<input type=\"submit\" class=\"button\" name=\"submit\" value=\"{$lang_banning_php['submit']}\" />\n";
+print "</td>\n";
+print "</tr>\n";
+endtable();
+print "</form>\n";
+
+pagefooter();
+ob_end_flush();
+
+?>
diff -x .svn -aruN 1.4.24.src/bridge/coppermine.inc.php 1.4.25.src/bridge/coppermine.inc.php
--- 1.4.24.src/bridge/coppermine.inc.php	2009-05-21 15:03:09.000000000 -0500
+++ 1.4.25.src/bridge/coppermine.inc.php	2009-05-26 11:25:52.000000000 -0500
@@ -1,437 +1,437 @@
-<?php
-/*************************
-  Coppermine Photo Gallery
-  ************************
-  Copyright (c) 2003-2009 Coppermine Dev Team
-  v1.1 originally written by Gregory DEMAR
-
-  This program is free software; you can redistribute it and/or modify
-  it under the terms of the GNU General Public License version 3
-  as published by the Free Software Foundation.
-  
-  ********************************************
-  Coppermine version: 1.4.24
-  $HeadURL: https://coppermine.svn.sourceforge.net/svnroot/coppermine/trunk/cpg1.4.x/bridge/coppermine.inc.php $
-  $Revision: 5969 $
-  $Author: gaugau $
-  $Date: 2009-05-21 22:03:33 +0200 (Do, 21 Mai 2009) $
-**********************************************/
-
-
-if (!defined('IN_COPPERMINE')) die('Not in Coppermine...');
-
-// Switch that allows overriding the bridge manager with hard-coded values
-define('USE_BRIDGEMGR', 1);
-
-require_once 'bridge/udb_base.inc.php';
-
-class coppermine_udb extends core_udb {
-
-        function coppermine_udb()
-        {
-                global $BRIDGE,$CONFIG;
-
-                if (!USE_BRIDGEMGR) {
-
-                        $this->boardurl = 'http://localhost/coppermine';
-                        include_once('../include/config.inc.php');
-
-                } else {
-                        $this->boardurl = $CONFIG['site_url'];
-                        $this->use_post_based_groups = @$BRIDGE['use_post_based_groups'];
-                }
-
-                // A hash that's a little specific to the client's configuration
-                $this->client_id = md5($_SERVER['HTTP_USER_AGENT'].$_SERVER['SERVER_PROTOCOL'].$CONFIG['site_url']);
-
-                $this->multigroups = 1;
-
-                $this->group_overrride = !$this->use_post_based_groups;
-
-                // Database connection settings
-                $this->db = array(
-                        'name' => $CONFIG['dbname'],
-                        'host' => $CONFIG['dbserver'] ? $CONFIG['dbserver'] : 'localhost',
-                        'user' => $CONFIG['dbuser'],
-                        'password' => $CONFIG['dbpass'],
-                        'prefix' =>$CONFIG['TABLE_PREFIX']
-                );
-
-                // Board table names
-                $this->table = array(
-                        'users' => 'users',
-                        'groups' => 'usergroups',
-                        'sessions' => 'sessions'
-                );
-
-                // Derived full table names
-                $this->usertable = '`' . $this->db['name'] . '`.' . $this->db['prefix'] . $this->table['users'];
-                $this->groupstable =  '`' . $this->db['name'] . '`.' . $this->db['prefix'] . $this->table['groups'];
-                $this->sessionstable =  '`' . $this->db['name'] . '`.' . $this->db['prefix'] . $this->table['sessions'];
-
-                // Table field names
-                $this->field = array(
-                        'username' => 'user_name', // name of 'username' field in users table
-                        'user_id' => 'user_id', // name of 'id' field in users table
-                        'password' => 'user_password', // name of 'password' field in users table
-                        'email' => 'user_email', // name of 'email' field in users table
-                        'regdate' => 'UNIX_TIMESTAMP(user_regdate)', // name of 'registered' field in users table
-                        'lastvisit' => 'UNIX_TIMESTAMP(user_lastvisit)', // last time user logged in
-                        'active' => 'user_active', // is user account active?
-                        'location' => "''", // name of 'location' field in users table
-                        'website' => "''", // name of 'website' field in users table
-                        'usertbl_group_id' => 'user_group', // name of 'group id' field in users table
-                        'grouptbl_group_id' => 'group_id', // name of 'group id' field in groups table
-                        'grouptbl_group_name' => 'group_name' // name of 'group name' field in groups table
-                );
-
-                // Pages to redirect to
-                $this->page = array(
-                        'register' => 'register.php',
-                        'editusers' => 'usermgr.php',
-                        'edituserprofile' => 'profile.php'
-                );
-
-                // Group ids - admin and guest only.
-                $this->admingroups = array(1);
-                $this->guestgroup = 3;
-
-                // Connect to db
-                $this->connect($CONFIG['LINK_ID']);
-        }
-
-
-        // Login function
-        function login( $username = null, $password = null, $remember = false ) {
-                global $CONFIG;
-
-                // Create the session_id from concat(cookievalue,client_id)
-                $session_id = $this->session_id.$this->client_id;
-
-                // Check if encrypted passwords are enabled
-                if ($CONFIG['enable_encrypted_passwords']) {
-                        $encpassword = md5($password);
-                } else {
-                        $encpassword = $password;
-                }
-
-                // Check for user in users table
-                $sql =  "SELECT user_id, user_name, user_password FROM {$this->usertable} WHERE ";
-                $sql .= "user_name = '$username' AND BINARY user_password = '$encpassword' AND user_active = 'YES'";
-                $results = cpg_db_query($sql);
-
-                // If exists update lastvisit value, session, and login
-                if (mysql_num_rows($results)) {
-
-                        // Update lastvisit value
-                        $sql =  "UPDATE {$this->usertable} SET user_lastvisit = NOW() ";
-                        $sql .= "WHERE user_name = '$username' AND BINARY user_password = '$encpassword' AND user_active = 'YES'";
-                        cpg_db_query($sql, $this->link_id);
-        
-                        $USER_DATA = mysql_fetch_assoc($results);
-                        mysql_free_result($results);
-        
-                        // If this is a 'remember me' login set the remember field to true
-                        if ($remember) {
-                                $remember_sql = ",remember = '1' ";
-                        } else {
-                                $remember_sql = '';
-                        }
-        
-                        // Update guest session with user's information
-                        $sql  = "update {$this->sessionstable} set ";
-                        $sql .= "user_id={$USER_DATA['user_id']} ";
-                        $sql .= $remember_sql;
-                        $sql .= "where session_id = '" . md5($session_id) . "'";
-                        cpg_db_query($sql, $this->link_id);
-
-                        return $USER_DATA;
-                } else {
-
-                        return false;
-                }
-        }
-
-
-        // Logout function
-        function logout() {
-
-                // Revert authenticated session to a guest session
-                $session_id = $this->session_id.$this->client_id;
-                $sql  = "update {$this->sessionstable} set user_id = 0, remember=0 where session_id = '" . md5($session_id) . "'";
-                cpg_db_query($sql, $this->link_id);
-        }
-		
-        function get_groups( &$user )
-        {
-			$groups = array($user['group_id'] - 100);
-
-			$sql = "SELECT user_group_list FROM {$this->usertable} AS u WHERE {$this->field['user_id']}='{$user['id']}' and user_group_list <> '';";
-
-			$result = cpg_db_query($sql, $this->link_id);
-
-			if ($row = mysql_fetch_array($result)){
-				$groups = array_merge($groups, explode(',', $row['user_group_list']));
-			}
-			
-			mysql_free_result($result);
-
-			return $groups;
-        }
-		
-        // definition of actions required to convert a password from user database form to cookie form
-        function udb_hash_db($password)
-        {
-                return $password;
-        }
-
-
-        // definition of how to extract id, name, group from a session cookie
-        function session_extraction()
-        {
-            global $CONFIG;
-
-                // Default anonymous values
-                $id = 0;
-                $pass = '';
-
-                // Get the session cookie value
-                $sessioncookie = $_COOKIE[$this->client_id];
-
-                // Create the session id by concat(session_cookie_value, client_id)
-                $session_id = $sessioncookie.$this->client_id;
-
-                // Lifetime of 'remember me' session is 2 weeks
-                $rememberme_life_time = time()-(CPG_WEEK*2);
-        
-                // Lifetime of normal session is 1 hour
-                $session_life_time = time()-CPG_HOUR;
-        
-                // Delete old sessions
-                $sql = "delete from {$this->sessionstable} where time<$session_life_time and remember=0;";
-                cpg_db_query($sql, $this->link_id);
-        
-                // Delete stale 'remember me' sessions
-                $sql = "delete from {$this->sessionstable} where time<$rememberme_life_time;";
-                cpg_db_query($sql, $this->link_id);
-        
-                // Check for valid session if session_cookie_value exists
-                if ($sessioncookie) {
-        
-                    // Check for valid session
-                    $sql =  'select user_id from '.$this->sessionstable." where session_id = '" . md5($session_id) . "'";
-                    $result = cpg_db_query($sql);
-        
-                    // If session exists...
-                    if (mysql_num_rows($result)) {
-                        $row = mysql_fetch_assoc($result);
-                        mysql_free_result($result);
-        
-                        $row['user_id'] = (int) $row['user_id'];
-        
-                        // Check if there's a user for this session
-                        $sql =  'select user_id as id, user_password as password ';
-                        $sql .= 'from '.$this->usertable.' ';
-                        $sql .= 'where user_id='.$row['user_id'];
-                        $result = cpg_db_query($sql, $this->link_id);
-        
-                        // If user exists, use the current session
-                        if ($result) {
-                            $row = mysql_fetch_assoc($result);
-                            mysql_free_result($result);
-        
-                            $pass = $row['password'];
-                            $id = (int) $row['id'];
-                            $this->session_id = $sessioncookie;
-        
-                        // If the user doesn't exist, use default guest credentials
-                        }
-        
-                    // If not a valid session exists, create a new session
-                    } else {
-        
-                        $this->create_session();
-                    }
-        
-                // No session exists; create one
-                } else {
-        
-                    $this->create_session();
-                }
-
-                return ($id) ? array($id, $pass) : false;
-        }
-
-
-        // Function used to keep the session alive
-        function session_update()
-        {
-                $session_id = $this->session_id.$this->client_id;
-                $sql = "update {$this->sessionstable} set time='".time()."' where session_id = '" . md5($session_id) . "'";
-                cpg_db_query($sql);
-        }
-
-
-        // Create a new session with the cookie lifetime set to 2 weeks
-        function create_session() {
-                global $CONFIG;
-                // start session
-                $this->session_id = $this->generateId();
-                $session_id = $this->session_id.$this->client_id;
-        
-                $sql =  'insert into '.$this->sessionstable.' (session_id, user_id, time, remember) values ';
-                $sql .= '("'.md5($session_id).'", 0, "'.time().'", 0);';
-        
-                // insert the guest session
-                cpg_db_query($sql, $this->link_id);
-        
-                // set the session cookie
-                setcookie( $this->client_id, $this->session_id, time() + (CPG_WEEK*2), $CONFIG['cookie_path'] );
-        }
-
-
-        // Modified function taken from Mambo session class
-        function generateId() {
-                $failsafe = 20;
-                $randnum = 0;
-                while ($failsafe--) {
-                        $randnum = md5( uniqid( microtime(), 1 ));
-                        $session_id = $randnum.$this->client_id;
-                        if ($randnum != "") {
-                                $sql = "SELECT session_id FROM {$this->sessionstable} WHERE session_id = '" . md5($session_id) . "'";
-								$result = cpg_db_query($sql, $this->link_id);
-                                if (!mysql_num_rows($result)) {
-                                        break;
-                                }
-                                mysql_free_result($result);
-                        }
-                }
-                return $randnum;
-        }
-
-
-        // Gets user/guest count
-        function get_session_users() {
-                static $count = array();
-    
-                if (!$count) {
-                        // Get guest count
-                        $sql = "select count(user_id) as num_guests from {$this->sessionstable} where user_id=0;";
-                        $result = cpg_db_query($sql, $this->link_id);
-                        $count = mysql_fetch_assoc($result);
-            
-                        // Get authenticated user count
-                        $sql = "select count(user_id) as num_users from {$this->sessionstable} where user_id>0;";
-                        $result = cpg_db_query($sql, $this->link_id);
-                        $count = array_merge(mysql_fetch_assoc($result), $count);
-                }
-
-                return $count;
-        }
-
-
-        /*
-         * Overidden functions !!DO NOT REMOVE OR CPG WILL NOT WORK CORRECTLY!!
-         */
-        // definition of how to extract an id and password hash from a cookie
-        function cookie_extraction()
-        {
-                return false;
-        }
-
-        // Register
-        function register_page()
-        {        }
-
-        // Edit users
-        function edit_users()
-        {        }
-
-        // View users
-        function view_users()
-        {        }
-
-        // View user profile
-        function view_profile($uid)
-        {        }
-
-        // Edit user profile
-        function edit_profile($uid)
-        {        }
-
-        function login_page()
-        {        }
-
-        function logout_page() {
-            $this->logout();
-        }
-		/* Note : we don't want to overide this - the groups need to be resynced to coppermine default after un-integration
-         * Rebuttal: without overriding and removing Coppermine group deletion (see below) its impossible to add new groups to a non-bridged install.
-         */
-		
-    	function synchronize_groups()
-    	{
-    		global $CONFIG ;
-
-    		if ($this->use_post_based_groups){
-    			if ($this->group_overrride){
-    				$udb_groups = $this->collect_groups();
-    			} else {
-    				$sql = "SELECT * FROM {$this->groupstable} WHERE {$this->field['grouptbl_group_name']} <> ''";
-
-    				$result = cpg_db_query($sql, $this->link_id);
-
-    				$udb_groups = array();
-
-    				while ($row = mysql_fetch_assoc($result))
-    				{
-    					$udb_groups[$row[$this->field['grouptbl_group_id']]+100] = utf_ucfirst(utf_strtolower($row[$this->field['grouptbl_group_name']]));
-    				}
-    			}
-    		} else {
-    			$udb_groups = array(1 =>'Administrators', 2=> 'Registered', 3=>'Guests', 4=> 'Banned');
-    		}
-
-    		$result = cpg_db_query("SELECT group_id, group_name FROM {$CONFIG['TABLE_USERGROUPS']} WHERE 1");
-
-    		while ($row = mysql_fetch_array($result)) {
-    			$cpg_groups[$row['group_id']] = $row['group_name'];
-    		}
-
-    		mysql_free_result($result);
-            /* Must be removed to allow new groups to be created in an unbridged install.
-    		// Scan Coppermine groups that need to be deleted
-    		foreach($cpg_groups as $c_group_id => $c_group_name) {
-    			if ((!isset($udb_groups[$c_group_id]))) {
-    				cpg_db_query("DELETE FROM {$CONFIG['TABLE_USERGROUPS']} WHERE group_id = '" . $c_group_id . "' LIMIT 1");
-    				unset($cpg_groups[$c_group_id]);
-    			}
-    		}
-    		*/
-
-    		// Scan udb groups that need to be created inside Coppermine table
-    		foreach($udb_groups as $i_group_id => $i_group_name) {
-    			if ((!isset($cpg_groups[$i_group_id]))) {
-    				// add admin info
-    				$admin_access = in_array($i_group_id-100, $this->admingroups) ? '1' : '0';
-    				cpg_db_query("INSERT INTO {$CONFIG['TABLE_USERGROUPS']} (group_id, group_name, has_admin_access) VALUES ('$i_group_id', '" . addslashes($i_group_name) . "', '$admin_access')");
-    				$cpg_groups[$i_group_id] = $i_group_name;
-    			}
-    		}
-
-    		// Update Group names
-    		foreach($udb_groups as $i_group_id => $i_group_name) {
-    			if ($cpg_groups[$i_group_id] != $i_group_name) {
-    				cpg_db_query("UPDATE {$CONFIG['TABLE_USERGROUPS']} SET group_name = '" . addslashes($i_group_name) . "' WHERE group_id = '$i_group_id' LIMIT 1");
-    			}
-    		}
-    		// fix admin grp
-    		if (!$this->use_post_based_groups) cpg_db_query("UPDATE {$CONFIG['TABLE_USERGROUPS']} SET has_admin_access = '1' WHERE group_id = '1' LIMIT 1");
-
-    	}
-
-}
-
-// and go !
-$cpg_udb = new coppermine_udb;
-?>
+<?php
+/*************************
+  Coppermine Photo Gallery
+  ************************
+  Copyright (c) 2003-2009 Coppermine Dev Team
+  v1.1 originally written by Gregory DEMAR
+
+  This program is free software; you can redistribute it and/or modify
+  it under the terms of the GNU General Public License version 3
+  as published by the Free Software Foundation.
+  
+  ********************************************
+  Coppermine version: 1.4.25
+  $HeadURL: https://coppermine.svn.sourceforge.net/svnroot/coppermine/trunk/cpg1.4.x/bridge/coppermine.inc.php $
+  $Revision: 5997 $
+  $Author: gaugau $
+  $Date: 2009-05-26 08:43:24 +0200 (Di, 26 Mai 2009) $
+**********************************************/
+
+
+if (!defined('IN_COPPERMINE')) die('Not in Coppermine...');
+
+// Switch that allows overriding the bridge manager with hard-coded values
+define('USE_BRIDGEMGR', 1);
+
+require_once 'bridge/udb_base.inc.php';
+
+class coppermine_udb extends core_udb {
+
+        function coppermine_udb()
+        {
+                global $BRIDGE,$CONFIG;
+
+                if (!USE_BRIDGEMGR) {
+
+                        $this->boardurl = 'http://localhost/coppermine';
+                        include_once('../include/config.inc.php');
+
+                } else {
+                        $this->boardurl = $CONFIG['site_url'];
+                        $this->use_post_based_groups = @$BRIDGE['use_post_based_groups'];
+                }
+
+                // A hash that's a little specific to the client's configuration
+                $this->client_id = md5($_SERVER['HTTP_USER_AGENT'].$_SERVER['SERVER_PROTOCOL'].$CONFIG['site_url']);
+
+                $this->multigroups = 1;
+
+                $this->group_overrride = !$this->use_post_based_groups;
+
+                // Database connection settings
+                $this->db = array(
+                        'name' => $CONFIG['dbname'],
+                        'host' => $CONFIG['dbserver'] ? $CONFIG['dbserver'] : 'localhost',
+                        'user' => $CONFIG['dbuser'],
+                        'password' => $CONFIG['dbpass'],
+                        'prefix' =>$CONFIG['TABLE_PREFIX']
+                );
+
+                // Board table names
+                $this->table = array(
+                        'users' => 'users',
+                        'groups' => 'usergroups',
+                        'sessions' => 'sessions'
+                );
+
+                // Derived full table names
+                $this->usertable = '`' . $this->db['name'] . '`.' . $this->db['prefix'] . $this->table['users'];
+                $this->groupstable =  '`' . $this->db['name'] . '`.' . $this->db['prefix'] . $this->table['groups'];
+                $this->sessionstable =  '`' . $this->db['name'] . '`.' . $this->db['prefix'] . $this->table['sessions'];
+
+                // Table field names
+                $this->field = array(
+                        'username' => 'user_name', // name of 'username' field in users table
+                        'user_id' => 'user_id', // name of 'id' field in users table
+                        'password' => 'user_password', // name of 'password' field in users table
+                        'email' => 'user_email', // name of 'email' field in users table
+                        'regdate' => 'UNIX_TIMESTAMP(user_regdate)', // name of 'registered' field in users table
+                        'lastvisit' => 'UNIX_TIMESTAMP(user_lastvisit)', // last time user logged in
+                        'active' => 'user_active', // is user account active?
+                        'location' => "''", // name of 'location' field in users table
+                        'website' => "''", // name of 'website' field in users table
+                        'usertbl_group_id' => 'user_group', // name of 'group id' field in users table
+                        'grouptbl_group_id' => 'group_id', // name of 'group id' field in groups table
+                        'grouptbl_group_name' => 'group_name' // name of 'group name' field in groups table
+                );
+
+                // Pages to redirect to
+                $this->page = array(
+                        'register' => 'register.php',
+                        'editusers' => 'usermgr.php',
+                        'edituserprofile' => 'profile.php'
+                );
+
+                // Group ids - admin and guest only.
+                $this->admingroups = array(1);
+                $this->guestgroup = 3;
+
+                // Connect to db
+                $this->connect($CONFIG['LINK_ID']);
+        }
+
+
+        // Login function
+        function login( $username = null, $password = null, $remember = false ) {
+                global $CONFIG;
+
+                // Create the session_id from concat(cookievalue,client_id)
+                $session_id = $this->session_id.$this->client_id;
+
+                // Check if encrypted passwords are enabled
+                if ($CONFIG['enable_encrypted_passwords']) {
+                        $encpassword = md5($password);
+                } else {
+                        $encpassword = $password;
+                }
+
+                // Check for user in users table
+                $sql =  "SELECT user_id, user_name, user_password FROM {$this->usertable} WHERE ";
+                $sql .= "user_name = '$username' AND BINARY user_password = '$encpassword' AND user_active = 'YES'";
+                $results = cpg_db_query($sql);
+
+                // If exists update lastvisit value, session, and login
+                if (mysql_num_rows($results)) {
+
+                        // Update lastvisit value
+                        $sql =  "UPDATE {$this->usertable} SET user_lastvisit = NOW() ";
+                        $sql .= "WHERE user_name = '$username' AND BINARY user_password = '$encpassword' AND user_active = 'YES'";
+                        cpg_db_query($sql, $this->link_id);
+        
+                        $USER_DATA = mysql_fetch_assoc($results);
+                        mysql_free_result($results);
+        
+                        // If this is a 'remember me' login set the remember field to true
+                        if ($remember) {
+                                $remember_sql = ",remember = '1' ";
+                        } else {
+                                $remember_sql = '';
+                        }
+        
+                        // Update guest session with user's information
+                        $sql  = "update {$this->sessionstable} set ";
+                        $sql .= "user_id={$USER_DATA['user_id']} ";
+                        $sql .= $remember_sql;
+                        $sql .= "where session_id = '" . md5($session_id) . "'";
+                        cpg_db_query($sql, $this->link_id);
+
+                        return $USER_DATA;
+                } else {
+
+                        return false;
+                }
+        }
+
+
+        // Logout function
+        function logout() {
+
+                // Revert authenticated session to a guest session
+                $session_id = $this->session_id.$this->client_id;
+                $sql  = "update {$this->sessionstable} set user_id = 0, remember=0 where session_id = '" . md5($session_id) . "'";
+                cpg_db_query($sql, $this->link_id);
+        }
+		
+        function get_groups( &$user )
+        {
+			$groups = array($user['group_id'] - 100);
+
+			$sql = "SELECT user_group_list FROM {$this->usertable} AS u WHERE {$this->field['user_id']}='{$user['id']}' and user_group_list <> '';";
+
+			$result = cpg_db_query($sql, $this->link_id);
+
+			if ($row = mysql_fetch_array($result)){
+				$groups = array_merge($groups, explode(',', $row['user_group_list']));
+			}
+			
+			mysql_free_result($result);
+
+			return $groups;
+        }
+		
+        // definition of actions required to convert a password from user database form to cookie form
+        function udb_hash_db($password)
+        {
+                return $password;
+        }
+
+
+        // definition of how to extract id, name, group from a session cookie
+        function session_extraction()
+        {
+            global $CONFIG;
+
+                // Default anonymous values
+                $id = 0;
+                $pass = '';
+
+                // Get the session cookie value
+                $sessioncookie = $_COOKIE[$this->client_id];
+
+                // Create the session id by concat(session_cookie_value, client_id)
+                $session_id = $sessioncookie.$this->client_id;
+
+                // Lifetime of 'remember me' session is 2 weeks
+                $rememberme_life_time = time()-(CPG_WEEK*2);
+        
+                // Lifetime of normal session is 1 hour
+                $session_life_time = time()-CPG_HOUR;
+        
+                // Delete old sessions
+                $sql = "delete from {$this->sessionstable} where time<$session_life_time and remember=0;";
+                cpg_db_query($sql, $this->link_id);
+        
+                // Delete stale 'remember me' sessions
+                $sql = "delete from {$this->sessionstable} where time<$rememberme_life_time;";
+                cpg_db_query($sql, $this->link_id);
+        
+                // Check for valid session if session_cookie_value exists
+                if ($sessioncookie) {
+        
+                    // Check for valid session
+                    $sql =  'select user_id from '.$this->sessionstable." where session_id = '" . md5($session_id) . "'";
+                    $result = cpg_db_query($sql);
+        
+                    // If session exists...
+                    if (mysql_num_rows($result)) {
+                        $row = mysql_fetch_assoc($result);
+                        mysql_free_result($result);
+        
+                        $row['user_id'] = (int) $row['user_id'];
+        
+                        // Check if there's a user for this session
+                        $sql =  'select user_id as id, user_password as password ';
+                        $sql .= 'from '.$this->usertable.' ';
+                        $sql .= 'where user_id='.$row['user_id'];
+                        $result = cpg_db_query($sql, $this->link_id);
+        
+                        // If user exists, use the current session
+                        if ($result) {
+                            $row = mysql_fetch_assoc($result);
+                            mysql_free_result($result);
+        
+                            $pass = $row['password'];
+                            $id = (int) $row['id'];
+                            $this->session_id = $sessioncookie;
+        
+                        // If the user doesn't exist, use default guest credentials
+                        }
+        
+                    // If not a valid session exists, create a new session
+                    } else {
+        
+                        $this->create_session();
+                    }
+        
+                // No session exists; create one
+                } else {
+        
+                    $this->create_session();
+                }
+
+                return ($id) ? array($id, $pass) : false;
+        }
+
+
+        // Function used to keep the session alive
+        function session_update()
+        {
+                $session_id = $this->session_id.$this->client_id;
+                $sql = "update {$this->sessionstable} set time='".time()."' where session_id = '" . md5($session_id) . "'";
+                cpg_db_query($sql);
+        }
+
+
+        // Create a new session with the cookie lifetime set to 2 weeks
+        function create_session() {
+                global $CONFIG;
+                // start session
+                $this->session_id = $this->generateId();
+                $session_id = $this->session_id.$this->client_id;
+        
+                $sql =  'insert into '.$this->sessionstable.' (session_id, user_id, time, remember) values ';
+                $sql .= '("'.md5($session_id).'", 0, "'.time().'", 0);';
+        
+                // insert the guest session
+                cpg_db_query($sql, $this->link_id);
+        
+                // set the session cookie
+                setcookie( $this->client_id, $this->session_id, time() + (CPG_WEEK*2), $CONFIG['cookie_path'] );
+        }
+
+
+        // Modified function taken from Mambo session class
+        function generateId() {
+                $failsafe = 20;
+                $randnum = 0;
+                while ($failsafe--) {
+                        $randnum = md5( uniqid( microtime(), 1 ));
+                        $session_id = $randnum.$this->client_id;
+                        if ($randnum != "") {
+                                $sql = "SELECT session_id FROM {$this->sessionstable} WHERE session_id = '" . md5($session_id) . "'";
+								$result = cpg_db_query($sql, $this->link_id);
+                                if (!mysql_num_rows($result)) {
+                                        break;
+                                }
+                                mysql_free_result($result);
+                        }
+                }
+                return $randnum;
+        }
+
+
+        // Gets user/guest count
+        function get_session_users() {
+                static $count = array();
+    
+                if (!$count) {
+                        // Get guest count
+                        $sql = "select count(user_id) as num_guests from {$this->sessionstable} where user_id=0;";
+                        $result = cpg_db_query($sql, $this->link_id);
+                        $count = mysql_fetch_assoc($result);
+            
+                        // Get authenticated user count
+                        $sql = "select count(user_id) as num_users from {$this->sessionstable} where user_id>0;";
+                        $result = cpg_db_query($sql, $this->link_id);
+                        $count = array_merge(mysql_fetch_assoc($result), $count);
+                }
+
+                return $count;
+        }
+
+
+        /*
+         * Overidden functions !!DO NOT REMOVE OR CPG WILL NOT WORK CORRECTLY!!
+         */
+        // definition of how to extract an id and password hash from a cookie
+        function cookie_extraction()
+        {
+                return false;
+        }
+
+        // Register
+        function register_page()
+        {        }
+
+        // Edit users
+        function edit_users()
+        {        }
+
+        // View users
+        function view_users()
+        {        }
+
+        // View user profile
+        function view_profile($uid)
+        {        }
+
+        // Edit user profile
+        function edit_profile($uid)
+        {        }
+
+        function login_page()
+        {        }
+
+        function logout_page() {
+            $this->logout();
+        }
+		/* Note : we don't want to overide this - the groups need to be resynced to coppermine default after un-integration
+         * Rebuttal: without overriding and removing Coppermine group deletion (see below) its impossible to add new groups to a non-bridged install.
+         */
+		
+    	function synchronize_groups()
+    	{
+    		global $CONFIG ;
+
+    		if ($this->use_post_based_groups){
+    			if ($this->group_overrride){
+    				$udb_groups = $this->collect_groups();
+    			} else {
+    				$sql = "SELECT * FROM {$this->groupstable} WHERE {$this->field['grouptbl_group_name']} <> ''";
+
+    				$result = cpg_db_query($sql, $this->link_id);
+
+    				$udb_groups = array();
+
+    				while ($row = mysql_fetch_assoc($result))
+    				{
+    					$udb_groups[$row[$this->field['grouptbl_group_id']]+100] = utf_ucfirst(utf_strtolower($row[$this->field['grouptbl_group_name']]));
+    				}
+    			}
+    		} else {
+    			$udb_groups = array(1 =>'Administrators', 2=> 'Registered', 3=>'Guests', 4=> 'Banned');
+    		}
+
+    		$result = cpg_db_query("SELECT group_id, group_name FROM {$CONFIG['TABLE_USERGROUPS']} WHERE 1");
+
+    		while ($row = mysql_fetch_array($result)) {
+    			$cpg_groups[$row['group_id']] = $row['group_name'];
+    		}
+
+    		mysql_free_result($result);
+            /* Must be removed to allow new groups to be created in an unbridged install.
+    		// Scan Coppermine groups that need to be deleted
+    		foreach($cpg_groups as $c_group_id => $c_group_name) {
+    			if ((!isset($udb_groups[$c_group_id]))) {
+    				cpg_db_query("DELETE FROM {$CONFIG['TABLE_USERGROUPS']} WHERE group_id = '" . $c_group_id . "' LIMIT 1");
+    				unset($cpg_groups[$c_group_id]);
+    			}
+    		}
+    		*/
+
+    		// Scan udb groups that need to be created inside Coppermine table
+    		foreach($udb_groups as $i_group_id => $i_group_name) {
+    			if ((!isset($cpg_groups[$i_group_id]))) {
+    				// add admin info
+    				$admin_access = in_array($i_group_id-100, $this->admingroups) ? '1' : '0';
+    				cpg_db_query("INSERT INTO {$CONFIG['TABLE_USERGROUPS']} (group_id, group_name, has_admin_access) VALUES ('$i_group_id', '" . addslashes($i_group_name) . "', '$admin_access')");
+    				$cpg_groups[$i_group_id] = $i_group_name;
+    			}
+    		}
+
+    		// Update Group names
+    		foreach($udb_groups as $i_group_id => $i_group_name) {
+    			if ($cpg_groups[$i_group_id] != $i_group_name) {
+    				cpg_db_query("UPDATE {$CONFIG['TABLE_USERGROUPS']} SET group_name = '" . addslashes($i_group_name) . "' WHERE group_id = '$i_group_id' LIMIT 1");
+    			}
+    		}
+    		// fix admin grp
+    		if (!$this->use_post_based_groups) cpg_db_query("UPDATE {$CONFIG['TABLE_USERGROUPS']} SET has_admin_access = '1' WHERE group_id = '1' LIMIT 1");
+
+    	}
+
+}
+
+// and go !
+$cpg_udb = new coppermine_udb;
+?>
diff -x .svn -aruN 1.4.24.src/bridge/invisionboard20.inc.php 1.4.25.src/bridge/invisionboard20.inc.php
--- 1.4.24.src/bridge/invisionboard20.inc.php	2009-05-21 15:03:09.000000000 -0500
+++ 1.4.25.src/bridge/invisionboard20.inc.php	2009-05-26 11:25:52.000000000 -0500
@@ -1,148 +1,148 @@
-<?php
-/*************************
-  Coppermine Photo Gallery
-  ************************
-  Copyright (c) 2003-2009 Coppermine Dev Team
-  v1.1 originally written by Gregory DEMAR
-
-  This program is free software; you can redistribute it and/or modify
-  it under the terms of the GNU General Public License version 3
-  as published by the Free Software Foundation.
-  
-  ********************************************
-  Coppermine version: 1.4.24
-  $HeadURL: https://coppermine.svn.sourceforge.net/svnroot/coppermine/trunk/cpg1.4.x/bridge/invisionboard20.inc.php $
-  $Revision: 5969 $
-  $Author: gaugau $
-  $Date: 2009-05-21 22:03:33 +0200 (Do, 21 Mai 2009) $
-**********************************************/
-
-if (!defined('IN_COPPERMINE')) die('Not in Coppermine...');
-
-// Switch that allows overriding the bridge manager with hard-coded values
-define('USE_BRIDGEMGR', 1);
-
-require_once 'bridge/udb_base.inc.php';
-
-class cpg_udb extends core_udb {
-
-	function cpg_udb()
-	{
-		global $BRIDGE;
-		
-		if (!USE_BRIDGEMGR) {
-			$this->boardurl = 'http://localhost/ipb';
-			require_once('../ipb/conf_global.php');
-			$this->use_post_based_groups = 0;
-		} else {
-			require_once($BRIDGE['relative_path_to_config_file'] . '/conf_global.php');
-			$this->boardurl = $INFO['board_url'];
-			$this->use_post_based_groups = $BRIDGE['use_post_based_groups'];
-		}
-		
-		// Database connection settings
-		$this->db = array(
-			'name' => $INFO['sql_database'],
-			'host' => $INFO['sql_host'] ? $INFO['sql_host'] : 'localhost',
-			'user' => $INFO['sql_user']	,
-			'password' => $INFO['sql_pass'],
-			'prefix' =>$INFO['sql_tbl_prefix']
-		);
-		
-		// Board table names
-		$this->table = array(
-			'users' => 'members',
-			'groups' => 'groups',
-			'sessions' => 'sessions'
-		);
-
-		// Derived full table names
-		$this->usertable = '`' . $this->db['name'] . '`.' . $this->db['prefix'] . $this->table['users'];
-		$this->groupstable =  '`' . $this->db['name'] . '`.' . $this->db['prefix'] . $this->table['groups'];
-		$this->sessionstable =  '`' . $this->db['name'] . '`.' . $this->db['prefix'] . $this->table['sessions'];
-		
-		// Table field names
-		$this->field = array(
-			'username' => 'name', // name of 'username' field in users table
-			'user_id' => 'id', // name of 'id' field in users table
-			'password' => 'member_login_key', // name of 'password' field in users table
-			'email' => 'email', // name of 'email' field in users table
-			'regdate' => 'joined', // name of 'registered' field in users table
-			'location' => "''", // name of 'location' field in users table
-			'website' => "''", // name of 'website' field in users table
-			'usertbl_group_id' => 'mgroup', // name of 'group id' field in users table
-			'grouptbl_group_id' => 'g_id', // name of 'group id' field in groups table
-			'grouptbl_group_name' => 'g_title' // name of 'group name' field in groups table
-		);
-		
-		// Pages to redirect to
-		$this->page = array(
-			'register' => '/index.php?act=Reg&CODE=00',
-			'editusers' => '/admin.php',
-			'edituserprofile' => '/index.php?showuser='
-		);
-	
-	
-		// Group ids - admin and guest only.
-		$this->admingroups = array($INFO['admin_group']);
-		$this->guestgroup = $this->use_post_based_groups ? $INFO['guest_group']+100 : 3;
-		
-		// Connect to db
-		$this->connect();
-	}
-
-	// definition of how to extract id, pass from session cookie
-	function session_extraction()
-	{
-		if (isset($_COOKIE['session_id'])) {
-			$session_id = addslashes($_COOKIE['session_id']);
-
-			$sql = "SELECT member_id , member_login_key FROM {$this->sessionstable} AS s INNER JOIN {$this->usertable} AS u ON s.member_id = u.id WHERE s.id = '$session_id'";
-			
-			$result = cpg_db_query($sql, $this->link_id);
-			
-			if (mysql_num_rows($result)){
-				$row = mysql_fetch_array($result);
-				return $row;
-			}
-		} else {
-			return false;
-		}
-	}
-	
-	// definition of how to extract an id and password hash from a cookie
-	function cookie_extraction()
-	{
-	    $id = 0;
-		$pass = '';
-		
-		if (isset($_COOKIE['member_id']) && isset($_COOKIE['pass_hash'])) {
-			$id = (int)$_COOKIE['member_id'];
-			$pass = substr(addslashes($_COOKIE['pass_hash']), 0, 32);
-		}
-
-		return ($id) ? array($id, $pass) : false;
-	}
-	
-	// definition of actions required to convert a password from user database form to cookie form
-	function udb_hash_db($password)
-	{
-		return $password; // unused
-	}
-	
-	function login_page()
-	{
-		$this->redirect("/index.php?act=Login&CODE=00");
-	}
-
-	function logout_page()
-	{
-		$this->redirect("/index.php?act=Login&CODE=03");
-	}
-}
-
-// and go !
-$cpg_udb = new cpg_udb;
-
-
-
+<?php
+/*************************
+  Coppermine Photo Gallery
+  ************************
+  Copyright (c) 2003-2009 Coppermine Dev Team
+  v1.1 originally written by Gregory DEMAR
+
+  This program is free software; you can redistribute it and/or modify
+  it under the terms of the GNU General Public License version 3
+  as published by the Free Software Foundation.
+  
+  ********************************************
+  Coppermine version: 1.4.25
+  $HeadURL: https://coppermine.svn.sourceforge.net/svnroot/coppermine/trunk/cpg1.4.x/bridge/invisionboard20.inc.php $
+  $Revision: 5997 $
+  $Author: gaugau $
+  $Date: 2009-05-26 08:43:24 +0200 (Di, 26 Mai 2009) $
+**********************************************/
+
+if (!defined('IN_COPPERMINE')) die('Not in Coppermine...');
+
+// Switch that allows overriding the bridge manager with hard-coded values
+define('USE_BRIDGEMGR', 1);
+
+require_once 'bridge/udb_base.inc.php';
+
+class cpg_udb extends core_udb {
+
+	function cpg_udb()
+	{
+		global $BRIDGE;
+		
+		if (!USE_BRIDGEMGR) {
+			$this->boardurl = 'http://localhost/ipb';
+			require_once('../ipb/conf_global.php');
+			$this->use_post_based_groups = 0;
+		} else {
+			require_once($BRIDGE['relative_path_to_config_file'] . '/conf_global.php');
+			$this->boardurl = $INFO['board_url'];
+			$this->use_post_based_groups = $BRIDGE['use_post_based_groups'];
+		}
+		
+		// Database connection settings
+		$this->db = array(
+			'name' => $INFO['sql_database'],
+			'host' => $INFO['sql_host'] ? $INFO['sql_host'] : 'localhost',
+			'user' => $INFO['sql_user']	,
+			'password' => $INFO['sql_pass'],
+			'prefix' =>$INFO['sql_tbl_prefix']
+		);
+		
+		// Board table names
+		$this->table = array(
+			'users' => 'members',
+			'groups' => 'groups',
+			'sessions' => 'sessions'
+		);
+
+		// Derived full table names
+		$this->usertable = '`' . $this->db['name'] . '`.' . $this->db['prefix'] . $this->table['users'];
+		$this->groupstable =  '`' . $this->db['name'] . '`.' . $this->db['prefix'] . $this->table['groups'];
+		$this->sessionstable =  '`' . $this->db['name'] . '`.' . $this->db['prefix'] . $this->table['sessions'];
+		
+		// Table field names
+		$this->field = array(
+			'username' => 'name', // name of 'username' field in users table
+			'user_id' => 'id', // name of 'id' field in users table
+			'password' => 'member_login_key', // name of 'password' field in users table
+			'email' => 'email', // name of 'email' field in users table
+			'regdate' => 'joined', // name of 'registered' field in users table
+			'location' => "''", // name of 'location' field in users table
+			'website' => "''", // name of 'website' field in users table
+			'usertbl_group_id' => 'mgroup', // name of 'group id' field in users table
+			'grouptbl_group_id' => 'g_id', // name of 'group id' field in groups table
+			'grouptbl_group_name' => 'g_title' // name of 'group name' field in groups table
+		);
+		
+		// Pages to redirect to
+		$this->page = array(
+			'register' => '/index.php?act=Reg&CODE=00',
+			'editusers' => '/admin.php',
+			'edituserprofile' => '/index.php?showuser='
+		);
+	
+	
+		// Group ids - admin and guest only.
+		$this->admingroups = array($INFO['admin_group']);
+		$this->guestgroup = $this->use_post_based_groups ? $INFO['guest_group']+100 : 3;
+		
+		// Connect to db
+		$this->connect();
+	}
+
+	// definition of how to extract id, pass from session cookie
+	function session_extraction()
+	{
+		if (isset($_COOKIE['session_id'])) {
+			$session_id = addslashes($_COOKIE['session_id']);
+
+			$sql = "SELECT member_id , member_login_key FROM {$this->sessionstable} AS s INNER JOIN {$this->usertable} AS u ON s.member_id = u.id WHERE s.id = '$session_id'";
+			
+			$result = cpg_db_query($sql, $this->link_id);
+			
+			if (mysql_num_rows($result)){
+				$row = mysql_fetch_array($result);
+				return $row;
+			}
+		} else {
+			return false;
+		}
+	}
+	
+	// definition of how to extract an id and password hash from a cookie
+	function cookie_extraction()
+	{
+	    $id = 0;
+		$pass = '';
+		
+		if (isset($_COOKIE['member_id']) && isset($_COOKIE['pass_hash'])) {
+			$id = (int)$_COOKIE['member_id'];
+			$pass = substr(addslashes($_COOKIE['pass_hash']), 0, 32);
+		}
+
+		return ($id) ? array($id, $pass) : false;
+	}
+	
+	// definition of actions required to convert a password from user database form to cookie form
+	function udb_hash_db($password)
+	{
+		return $password; // unused
+	}
+	
+	function login_page()
+	{
+		$this->redirect("/index.php?act=Login&CODE=00");
+	}
+
+	function logout_page()
+	{
+		$this->redirect("/index.php?act=Login&CODE=03");
+	}
+}
+
+// and go !
+$cpg_udb = new cpg_udb;
+
+
+
diff -x .svn -aruN 1.4.24.src/bridge/mambo.inc.php 1.4.25.src/bridge/mambo.inc.php
--- 1.4.24.src/bridge/mambo.inc.php	2009-05-21 15:03:09.000000000 -0500
+++ 1.4.25.src/bridge/mambo.inc.php	2009-05-26 11:25:52.000000000 -0500
@@ -1,418 +1,418 @@
-<?php
-/*************************
-  Coppermine Photo Gallery
-  ************************
-  Copyright (c) 2003-2009 Coppermine Dev Team
-  v1.1 originally written by Gregory DEMAR
-
-  This program is free software; you can redistribute it and/or modify
-  it under the terms of the GNU General Public License version 3
-  as published by the Free Software Foundation.
-  
-  ********************************************
-  Coppermine version: 1.4.24
-  $HeadURL: https://coppermine.svn.sourceforge.net/svnroot/coppermine/trunk/cpg1.4.x/bridge/mambo.inc.php $
-  $Revision: 5969 $
-  $Author: gaugau $
-  $Date: 2009-05-21 22:03:33 +0200 (Do, 21 Mai 2009) $
-**********************************************/
-
-if (!defined('IN_COPPERMINE')) die('Not in Coppermine...');
-
-// Switch that allows overriding the bridge manager with hard-coded values
-define('USE_BRIDGEMGR', 1);
-
-require_once 'bridge/udb_base.inc.php';
-
-class cpg_udb extends core_udb {
-
-	function cpg_udb()
-	{
-		global $BRIDGE;
-		
-		if (!USE_BRIDGEMGR) {
-
-			$this->boardurl = 'http://localhost/mambo';
-			include('../mambo/configuration.php');
-			include('../mambo/includes/version.php');
-
-		} else {
-			include($BRIDGE['relative_path_to_config_file'] . 'configuration.php');
-			include($BRIDGE['relative_path_to_config_file'] . 'includes/version.php');
-			$this->boardurl = $mosConfig_live_site;
-			$this->use_post_based_groups = $BRIDGE['use_post_based_groups'];
-		}
-		
-		$this->mambo_version = $_VERSION;
-
-        $this->multigroups = 0;
-
-		$this->group_overrride = !$this->use_post_based_groups;
-
-		// Database connection settings
-		$this->db = array(
-			'name' => $mosConfig_db,
-			'host' => $mosConfig_host ? $mosConfig_host : 'localhost',
-			'user' => $mosConfig_user,
-			'password' => $mosConfig_password,
-			'prefix' =>$mosConfig_dbprefix
-		);
-		
-		// Board table names
-		$this->table = array(
-			'users' => 'users',
-			'groups' => 'core_acl_aro_groups',
-			'sessions' => 'session'
-		);
-
-		// Derived full table names
-		$this->usertable = '`' . $this->db['name'] . '`.' . $this->db['prefix'] . $this->table['users'];
-		$this->groupstable =  '`' . $this->db['name'] . '`.' . $this->db['prefix'] . $this->table['groups'];
-		$this->sessionstable =  '`' . $this->db['name'] . '`.' . $this->db['prefix'] . $this->table['sessions'];
-		
-		// Table field names
-		$this->field = array(
-			'username' => 'username', // name of 'username' field in users table
-			'user_id' => 'id', // name of 'id' field in users table
-			'password' => 'password', // name of 'password' field in users table
-			'email' => 'email', // name of 'email' field in users table
-			'regdate' => 'UNIX_TIMESTAMP(registerDate)', // name of 'registered' field in users table
-			'lastvisit' => 'UNIX_TIMESTAMP(lastvisitDate)', // last time user logged in
-			'active' => '1-block', // is user account active?
-			'location' => "''", // name of 'location' field in users table
-			'website' => "''", // name of 'website' field in users table
-			'usertbl_group_id' => 'gid', // name of 'group id' field in users table
-			'grouptbl_group_id' => 'group_id', // name of 'group id' field in groups table
-			'grouptbl_group_name' => 'name' // name of 'group name' field in groups table
-		);
-		
-		// Pages to redirect to
-		$this->page = array(
-			'register' => '/index.php?option=com_registration&task=register',
-			'editusers' => '/administrator/index.php',
-			'edituserprofile' => '/index.php?option=com_user&task=UserDetails'
-		);
-
-		// Group ids - admin and guest only.
-		$this->admingroups = array(24,25);
-		$this->guestgroup = $this->use_post_based_groups ? 1 : 3;
-		
-		// Connect to db
-		$this->connect();
-		
-		// Delete old sessions
-		$past = time()-$mosConfig_lifetime;
-		$sql = 'delete from '.$this->sessionstable.' where (time < '.$past.');';
-		cpg_db_query($sql, $this->link_id);
-	}
-
-	function session_update() {
-		$sql = 'update '.$this->sessionstable.' set time="'.time().'" '.
-		       'where session_id=md5("'.$this->session_id.'");';
-		$result = cpg_db_query($sql, $this->link_id);
-	}
-	
-	function collect_groups()
-	{
-		$sql ="SELECT * FROM {$this->groupstable}";
-	
-		$result = cpg_db_query($sql, $this->link_id);
-		
-		$udb_groups = array(1=>'Guests');
-			
-		while ($row = mysql_fetch_assoc($result))
-		{
-			$udb_groups[$row[$this->field['grouptbl_group_id']]+100] = utf_ucfirst(utf_strtolower($row[$this->field['grouptbl_group_name']]));
-		}
-		
-		return $udb_groups;
-		
-	}
-	
-	// definition of how to extract an id and password hash from a cookie
-	function cookie_extraction()
-	{
-	    global $CONFIG;
-
-		// Default anonymous values
-		$id = 0;
-		$pass = '';
-		$f = $this->field;
-		$mambo_version =& $this->mambo_version;
-
-		$sessioncookie = $_COOKIE['sessioncookie'];
-		
-        // 4.5.1 and 4.5.2 compatibility
-        if (($mambo_version->RELEASE == '4.5' && $mambo_version->DEV_LEVEL != '1.0.9') && $sessioncookie) {
-		    $sessioncookie .= $_SERVER['REMOTE_ADDR'];
-		}
-
-		$usercookie = $_COOKIE['usercookie'];
-        $result = false;
-
-        // Query database for session, if cookie exists
-        if ($sessioncookie) {
-
-            $sql =  'select userid from '.$this->sessionstable.' where session_id=md5("'.$sessioncookie.'");';
-            $result = cpg_db_query($sql, $this->link_id);
-        }
-
-        // If session exists, check if user exists
-        if (mysql_num_rows($result)) {
-
-            $row = mysql_fetch_assoc($result);
-            mysql_free_result($result);
-
-            $row['userid'] = (int) $row['userid'];
-
-            $sql =  'select id, password ';
-            $sql .= 'from '.$this->usertable.' ';
-            $sql .= 'where id='.$row['userid'];
-
-            $result = cpg_db_query($sql, $this->link_id);
-
-            // If user exists, use the current session
-            if ($result) {
-                $row = mysql_fetch_assoc($result);
-                mysql_free_result($result);
-
-                $pass = $row['password'];
-                $id = (int) $row['id'];
-                $this->session_id = $sessioncookie;
-
-            // If the user doesn't exist, use default guest credentials
-            }
-
-        // No session exists, so create a session and check for remember me cookie
-        } else {
-
-			$this->create_session();
-
-			// remember me cookie exists; login with user creditials
-            if ($usercookie) {
-                $username = (isset($usercookie['username'])) ? addslashes($usercookie['username']) : '';
-				$password = (isset($usercookie['password'])) ? addslashes($usercookie['password']) : '';
-
-				// Grab id from Mambo database, if a cookie exists
-				if ($username) {
-					$sql =  'select u.'.$f['user_id'].' as id, u.'.$f['password'].' as password, u.'.
-					        $f['username'].' as username, u.'.$f['usertbl_group_id'].' as usertbl_group_id, '.
-							'g.'.$f['grouptbl_group_id'].' as grouptbl_group_id, g.'.$f['grouptbl_group_name'].' as grouptbl_group_name ';
-					$sql .= 'from '.$this->usertable.' as u ';
-					$sql .= 'inner join '.$this->groupstable.' as g ';
-					$sql .= 'on gid=group_id ';
-					$sql .= 'where u.'.$f['username'].'="'.$username.'" and u.'.$f['password'].'="'.$password.'" and u.block=0;';
-
-					$result = cpg_db_query($sql, $this->link_id);
-					
-					// the user exists; finalize login procedures
-					if ($result) {
-					
-						$row = mysql_fetch_assoc($result);
-						mysql_free_result($result);
-
-						$gid = 1;
-						
-						if ($this->is_group_child_of($row['grouptbl_group_name'],'Registered') ||
-							$this->is_group_child_of($row['grouptbl_group_name'],'Administrator')) {
-							
-							$gid = 2;
-						}
-						
-						// update session information in session table
-						$sql =  'update '.$this->sessionstable.' set '.
-								'userid='.$row['id'].
-								',username="'.$row['username'].'"'.
-								',guest=0 '.
-								',gid='.$gid.' '.
-								',usertype="'.$row['grouptbl_group_name'].'" '.
-								'where session_id=md5("'.$this->session_id.'");';
-						
-						cpg_db_query($sql, $this->link_id);
-						
-						// update last visit date
-						$currentDate = date("Y-m-d\TH:i:s");
-						$sql = 'update '.$this->usertable.' set '.
-							   'lastvisitDate="'.$currentDate.'" '.
-							   'where id='.$row['id'];
-						
-						cpg_db_query($sql, $this->link_id);
-						
-						$pass = $password;
-						$id = $row['id'];
-					}
-				}
-            }
-        }
-
-		return ($id) ? array($id, $pass) : false;
-	}
-
-    function login( $username = null, $password = null ) {
-
-		$this->create_session();
-
-        if ( is_null($username) || is_null($password) ) {
-            return false;
-        }
-
-		// Grab id from Mambo database, if a cookie exists
-		if ($username) {
-			$sql =  'select u.'.$f['user_id'].' as id, u.'.$f['password'].' as password, u.'.
-					$f['username'].' as username, u.'.$f['usertbl_group_id'].' as usertbl_group_id, '.
-					'g.'.$f['grouptbl_group_id'].' as grouptbl_group_id, g.'.$f['grouptbl_group_name'].' as grouptbl_group_name ';
-			$sql .= 'from '.$this->usertable.' as u ';
-			$sql .= 'inner join '.$this->groupstable.' as g ';
-			$sql .= 'on gid=group_id ';
-			$sql .= 'where u.'.$f['username'].'="'.$username.'" and u.'.$f['password'].'="'.$password.'" and u.block=0;';
-
-			$result = cpg_db_query($sql, $this->link_id);
-					
-			// the user exists; finalize login procedures
-			if ($result) {
-					
-				$row = mysql_fetch_assoc($result);
-				mysql_free_result($result);
-
-				$gid = 1;
-						
-				if ($this->is_group_child_of($row['grouptbl_group_name'],'Registered') ||
-					$this->is_group_child_of($row['grouptbl_group_name'],'Administrator')) {
-							
-					$gid = 2;
-				}
-						
-				// update session information in session table
-				$sql =  'update '.$this->sessionstable.' set '.
-						'userid='.$row['id'].
-						',username="'.$row['username'].'"'.
-						',guest=0 '.
-						',gid='.$gid.' '.
-						',usertype="'.$row['grouptbl_group_name'].'" '.
-						'where session_id=md5("'.$this->session_id.'");';
-						
-				cpg_db_query($sql, $this->link_id);
-						
-				// update last visit date
-				$currentDate = date("Y-m-d\TH:i:s");
-				$sql = 'update '.$this->usertable.' set '.
-					   'lastvisitDate="'.$currentDate.'" '.
-					   'where id='.$row['id'];
-						
-				cpg_db_query($sql, $this->link_id);
-						
-				$pass = $password;
-				$id = $row['id'];
-			}
-		}
-    }
-
-	/** create a guest session */
-	function create_session() {
-	    // alias the Mambo version object
-	    $mambo_version =& $this->mambo_version;
-
-		// start session
-        $this->session_id = $this->generateId();
-        $sessioncookie = $this->session_id;
-
-        // 4.5.1 and 4.5.2 compatibility
-        if ($mambo_version->RELEASE == '4.5' && $mambo_version->DEV_LEVEL != '1.0.9') {
-		    $this->session_id .= $_SERVER['REMOTE_ADDR'];
-		}
-
-        $sql =  'insert into '.$this->sessionstable.' (session_id, username, guest, time, gid) values ';
-        $sql .= '("'.md5($this->session_id).'", "", 1, "'.time().'",0)';
-
-		// insert the guest session
-        cpg_db_query($sql);
-
-		// set the session cookie
-        setcookie( "sessioncookie", $sessioncookie, time() + 43200, "/" );
-	}
-
-	/** taken from Mambo session class */
-	function generateId() {
-		$failsafe = 20;
-		$randnum = 0;
-		while ($failsafe--) {
-			$randnum = md5( uniqid( microtime(), 1 ) );
-			if ($randnum != "") {
-				$sql = "SELECT session_id FROM {$this->sessionstable} WHERE session_id=MD5('$randnum')";
-				if (!$result = cpg_db_query($sql, $this->link_id)) {
-					break;
-				}
-			}
-		}
-		return $randnum;
-	}
-
-	/** taken from Mambo acl api class */
-	/*======================================================================*\
-		Function:	has_group_parent
-		Purpose:	Checks whether the 'source' group is a child of the 'target'
-	\*======================================================================*/
-	function is_group_child_of( $grp_src, $grp_tgt, $group_type='ARO' ) {
-		
-		$table = &$this->groupstable;
-
-		if (is_int( $grp_src ) && is_int($grp_tgt)) {
-			$sql = "SELECT COUNT(*)".
-				  "\nFROM $table AS g1".
-				  "\nLEFT JOIN $table AS g2 ON g1.lft > g2.lft AND g1.lft < g2.rgt".
-				  "\nWHERE g1.group_id=$grp_src AND g2.group_id=$grp_tgt";
-		} else if (is_string( $grp_src ) && is_string($grp_tgt)) {
-			$sql = "SELECT COUNT(*)".
-				  "\nFROM $table AS g1".
-				  "\nLEFT JOIN $table AS g2 ON g1.lft > g2.lft AND g1.lft < g2.rgt".
-				  "\nWHERE g1.name='$grp_src' AND g2.name='$grp_tgt'";
-		} else if (is_int( $grp_src ) && is_string($grp_tgt)) {
-			$sql = "SELECT COUNT(*)".
-				  "\nFROM $table AS g1".
-				  "\nLEFT JOIN $table AS g2 ON g1.lft > g2.lft AND g1.lft < g2.rgt".
-				  "\nWHERE g1.group_id='$grp_src' AND g2.name='$grp_tgt'";
-		} else {
-			$sql = "SELECT COUNT(*)".
-				  "\nFROM $table AS g1".
-				  "\nLEFT JOIN $table AS g2 ON g1.lft > g2.lft AND g1.lft < g2.rgt".
-				  "\nWHERE g1.name=$grp_src AND g2.group_id='$grp_tgt'";
-		}
-		
-		$result = cpg_db_query($sql, $this->link_id);
-		$count = mysql_num_rows($result);
-		if ($count) {
-			mysql_free_result($result);
-		}
-		
-		return ($count > 0);
-	}
-
-	// definition of actions required to convert a password from user database form to cookie form
-	function udb_hash_db($password)
-	{
-		return $password; // unused
-	}
-	
-	function login_page()
-	{
-		$this->redirect("/index.php");
-	}
-
-	function logout_page()
-	{
-		global $CONFIG;
-        $this->redirect("/index.php?option=logout");
-	}
-	
-	function edit_profile() {
-		$this->redirect("/index.php?option=com_user&task=UserDetails&Itemid=21");
-	}
-
-	function view_users() {}
-	function view_profile() {}
-	function session_extraction($cookie_id)	{}
-}
-
-// and go !
-$cpg_udb = new cpg_udb;
-?>
+<?php
+/*************************
+  Coppermine Photo Gallery
+  ************************
+  Copyright (c) 2003-2009 Coppermine Dev Team
+  v1.1 originally written by Gregory DEMAR
+
+  This program is free software; you can redistribute it and/or modify
+  it under the terms of the GNU General Public License version 3
+  as published by the Free Software Foundation.
+  
+  ********************************************
+  Coppermine version: 1.4.25
+  $HeadURL: https://coppermine.svn.sourceforge.net/svnroot/coppermine/trunk/cpg1.4.x/bridge/mambo.inc.php $
+  $Revision: 5997 $
+  $Author: gaugau $
+  $Date: 2009-05-26 08:43:24 +0200 (Di, 26 Mai 2009) $
+**********************************************/
+
+if (!defined('IN_COPPERMINE')) die('Not in Coppermine...');
+
+// Switch that allows overriding the bridge manager with hard-coded values
+define('USE_BRIDGEMGR', 1);
+
+require_once 'bridge/udb_base.inc.php';
+
+class cpg_udb extends core_udb {
+
+	function cpg_udb()
+	{
+		global $BRIDGE;
+		
+		if (!USE_BRIDGEMGR) {
+
+			$this->boardurl = 'http://localhost/mambo';
+			include('../mambo/configuration.php');
+			include('../mambo/includes/version.php');
+
+		} else {
+			include($BRIDGE['relative_path_to_config_file'] . 'configuration.php');
+			include($BRIDGE['relative_path_to_config_file'] . 'includes/version.php');
+			$this->boardurl = $mosConfig_live_site;
+			$this->use_post_based_groups = $BRIDGE['use_post_based_groups'];
+		}
+		
+		$this->mambo_version = $_VERSION;
+
+        $this->multigroups = 0;
+
+		$this->group_overrride = !$this->use_post_based_groups;
+
+		// Database connection settings
+		$this->db = array(
+			'name' => $mosConfig_db,
+			'host' => $mosConfig_host ? $mosConfig_host : 'localhost',
+			'user' => $mosConfig_user,
+			'password' => $mosConfig_password,
+			'prefix' =>$mosConfig_dbprefix
+		);
+		
+		// Board table names
+		$this->table = array(
+			'users' => 'users',
+			'groups' => 'core_acl_aro_groups',
+			'sessions' => 'session'
+		);
+
+		// Derived full table names
+		$this->usertable = '`' . $this->db['name'] . '`.' . $this->db['prefix'] . $this->table['users'];
+		$this->groupstable =  '`' . $this->db['name'] . '`.' . $this->db['prefix'] . $this->table['groups'];
+		$this->sessionstable =  '`' . $this->db['name'] . '`.' . $this->db['prefix'] . $this->table['sessions'];
+		
+		// Table field names
+		$this->field = array(
+			'username' => 'username', // name of 'username' field in users table
+			'user_id' => 'id', // name of 'id' field in users table
+			'password' => 'password', // name of 'password' field in users table
+			'email' => 'email', // name of 'email' field in users table
+			'regdate' => 'UNIX_TIMESTAMP(registerDate)', // name of 'registered' field in users table
+			'lastvisit' => 'UNIX_TIMESTAMP(lastvisitDate)', // last time user logged in
+			'active' => '1-block', // is user account active?
+			'location' => "''", // name of 'location' field in users table
+			'website' => "''", // name of 'website' field in users table
+			'usertbl_group_id' => 'gid', // name of 'group id' field in users table
+			'grouptbl_group_id' => 'group_id', // name of 'group id' field in groups table
+			'grouptbl_group_name' => 'name' // name of 'group name' field in groups table
+		);
+		
+		// Pages to redirect to
+		$this->page = array(
+			'register' => '/index.php?option=com_registration&task=register',
+			'editusers' => '/administrator/index.php',
+			'edituserprofile' => '/index.php?option=com_user&task=UserDetails'
+		);
+
+		// Group ids - admin and guest only.
+		$this->admingroups = array(24,25);
+		$this->guestgroup = $this->use_post_based_groups ? 1 : 3;
+		
+		// Connect to db
+		$this->connect();
+		
+		// Delete old sessions
+		$past = time()-$mosConfig_lifetime;
+		$sql = 'delete from '.$this->sessionstable.' where (time < '.$past.');';
+		cpg_db_query($sql, $this->link_id);
+	}
+
+	function session_update() {
+		$sql = 'update '.$this->sessionstable.' set time="'.time().'" '.
+		       'where session_id=md5("'.$this->session_id.'");';
+		$result = cpg_db_query($sql, $this->link_id);
+	}
+	
+	function collect_groups()
+	{
+		$sql ="SELECT * FROM {$this->groupstable}";
+	
+		$result = cpg_db_query($sql, $this->link_id);
+		
+		$udb_groups = array(1=>'Guests');
+			
+		while ($row = mysql_fetch_assoc($result))
+		{
+			$udb_groups[$row[$this->field['grouptbl_group_id']]+100] = utf_ucfirst(utf_strtolower($row[$this->field['grouptbl_group_name']]));
+		}
+		
+		return $udb_groups;
+		
+	}
+	
+	// definition of how to extract an id and password hash from a cookie
+	function cookie_extraction()
+	{
+	    global $CONFIG;
+
+		// Default anonymous values
+		$id = 0;
+		$pass = '';
+		$f = $this->field;
+		$mambo_version =& $this->mambo_version;
+
+		$sessioncookie = $_COOKIE['sessioncookie'];
+		
+        // 4.5.1 and 4.5.2 compatibility
+        if (($mambo_version->RELEASE == '4.5' && $mambo_version->DEV_LEVEL != '1.0.9') && $sessioncookie) {
+		    $sessioncookie .= $_SERVER['REMOTE_ADDR'];
+		}
+
+		$usercookie = $_COOKIE['usercookie'];
+        $result = false;
+
+        // Query database for session, if cookie exists
+        if ($sessioncookie) {
+
+            $sql =  'select userid from '.$this->sessionstable.' where session_id=md5("'.$sessioncookie.'");';
+            $result = cpg_db_query($sql, $this->link_id);
+        }
+
+        // If session exists, check if user exists
+        if (mysql_num_rows($result)) {
+
+            $row = mysql_fetch_assoc($result);
+            mysql_free_result($result);
+
+            $row['userid'] = (int) $row['userid'];
+
+            $sql =  'select id, password ';
+            $sql .= 'from '.$this->usertable.' ';
+            $sql .= 'where id='.$row['userid'];
+
+            $result = cpg_db_query($sql, $this->link_id);
+
+            // If user exists, use the current session
+            if ($result) {
+                $row = mysql_fetch_assoc($result);
+                mysql_free_result($result);
+
+                $pass = $row['password'];
+                $id = (int) $row['id'];
+                $this->session_id = $sessioncookie;
+
+            // If the user doesn't exist, use default guest credentials
+            }
+
+        // No session exists, so create a session and check for remember me cookie
+        } else {
+
+			$this->create_session();
+
+			// remember me cookie exists; login with user creditials
+            if ($usercookie) {
+                $username = (isset($usercookie['username'])) ? addslashes($usercookie['username']) : '';
+				$password = (isset($usercookie['password'])) ? addslashes($usercookie['password']) : '';
+
+				// Grab id from Mambo database, if a cookie exists
+				if ($username) {
+					$sql =  'select u.'.$f['user_id'].' as id, u.'.$f['password'].' as password, u.'.
+					        $f['username'].' as username, u.'.$f['usertbl_group_id'].' as usertbl_group_id, '.
+							'g.'.$f['grouptbl_group_id'].' as grouptbl_group_id, g.'.$f['grouptbl_group_name'].' as grouptbl_group_name ';
+					$sql .= 'from '.$this->usertable.' as u ';
+					$sql .= 'inner join '.$this->groupstable.' as g ';
+					$sql .= 'on gid=group_id ';
+					$sql .= 'where u.'.$f['username'].'="'.$username.'" and u.'.$f['password'].'="'.$password.'" and u.block=0;';
+
+					$result = cpg_db_query($sql, $this->link_id);
+					
+					// the user exists; finalize login procedures
+					if ($result) {
+					
+						$row = mysql_fetch_assoc($result);
+						mysql_free_result($result);
+
+						$gid = 1;
+						
+						if ($this->is_group_child_of($row['grouptbl_group_name'],'Registered') ||
+							$this->is_group_child_of($row['grouptbl_group_name'],'Administrator')) {
+							
+							$gid = 2;
+						}
+						
+						// update session information in session table
+						$sql =  'update '.$this->sessionstable.' set '.
+								'userid='.$row['id'].
+								',username="'.$row['username'].'"'.
+								',guest=0 '.
+								',gid='.$gid.' '.
+								',usertype="'.$row['grouptbl_group_name'].'" '.
+								'where session_id=md5("'.$this->session_id.'");';
+						
+						cpg_db_query($sql, $this->link_id);
+						
+						// update last visit date
+						$currentDate = date("Y-m-d\TH:i:s");
+						$sql = 'update '.$this->usertable.' set '.
+							   'lastvisitDate="'.$currentDate.'" '.
+							   'where id='.$row['id'];
+						
+						cpg_db_query($sql, $this->link_id);
+						
+						$pass = $password;
+						$id = $row['id'];
+					}
+				}
+            }
+        }
+
+		return ($id) ? array($id, $pass) : false;
+	}
+
+    function login( $username = null, $password = null ) {
+
+		$this->create_session();
+
+        if ( is_null($username) || is_null($password) ) {
+            return false;
+        }
+
+		// Grab id from Mambo database, if a cookie exists
+		if ($username) {
+			$sql =  'select u.'.$f['user_id'].' as id, u.'.$f['password'].' as password, u.'.
+					$f['username'].' as username, u.'.$f['usertbl_group_id'].' as usertbl_group_id, '.
+					'g.'.$f['grouptbl_group_id'].' as grouptbl_group_id, g.'.$f['grouptbl_group_name'].' as grouptbl_group_name ';
+			$sql .= 'from '.$this->usertable.' as u ';
+			$sql .= 'inner join '.$this->groupstable.' as g ';
+			$sql .= 'on gid=group_id ';
+			$sql .= 'where u.'.$f['username'].'="'.$username.'" and u.'.$f['password'].'="'.$password.'" and u.block=0;';
+
+			$result = cpg_db_query($sql, $this->link_id);
+					
+			// the user exists; finalize login procedures
+			if ($result) {
+					
+				$row = mysql_fetch_assoc($result);
+				mysql_free_result($result);
+
+				$gid = 1;
+						
+				if ($this->is_group_child_of($row['grouptbl_group_name'],'Registered') ||
+					$this->is_group_child_of($row['grouptbl_group_name'],'Administrator')) {
+							
+					$gid = 2;
+				}
+						
+				// update session information in session table
+				$sql =  'update '.$this->sessionstable.' set '.
+						'userid='.$row['id'].
+						',username="'.$row['username'].'"'.
+						',guest=0 '.
+						',gid='.$gid.' '.
+						',usertype="'.$row['grouptbl_group_name'].'" '.
+						'where session_id=md5("'.$this->session_id.'");';
+						
+				cpg_db_query($sql, $this->link_id);
+						
+				// update last visit date
+				$currentDate = date("Y-m-d\TH:i:s");
+				$sql = 'update '.$this->usertable.' set '.
+					   'lastvisitDate="'.$currentDate.'" '.
+					   'where id='.$row['id'];
+						
+				cpg_db_query($sql, $this->link_id);
+						
+				$pass = $password;
+				$id = $row['id'];
+			}
+		}
+    }
+
+	/** create a guest session */
+	function create_session() {
+	    // alias the Mambo version object
+	    $mambo_version =& $this->mambo_version;
+
+		// start session
+        $this->session_id = $this->generateId();
+        $sessioncookie = $this->session_id;
+
+        // 4.5.1 and 4.5.2 compatibility
+        if ($mambo_version->RELEASE == '4.5' && $mambo_version->DEV_LEVEL != '1.0.9') {
+		    $this->session_id .= $_SERVER['REMOTE_ADDR'];
+		}
+
+        $sql =  'insert into '.$this->sessionstable.' (session_id, username, guest, time, gid) values ';
+        $sql .= '("'.md5($this->session_id).'", "", 1, "'.time().'",0)';
+
+		// insert the guest session
+        cpg_db_query($sql);
+
+		// set the session cookie
+        setcookie( "sessioncookie", $sessioncookie, time() + 43200, "/" );
+	}
+
+	/** taken from Mambo session class */
+	function generateId() {
+		$failsafe = 20;
+		$randnum = 0;
+		while ($failsafe--) {
+			$randnum = md5( uniqid( microtime(), 1 ) );
+			if ($randnum != "") {
+				$sql = "SELECT session_id FROM {$this->sessionstable} WHERE session_id=MD5('$randnum')";
+				if (!$result = cpg_db_query($sql, $this->link_id)) {
+					break;
+				}
+			}
+		}
+		return $randnum;
+	}
+
+	/** taken from Mambo acl api class */
+	/*======================================================================*\
+		Function:	has_group_parent
+		Purpose:	Checks whether the 'source' group is a child of the 'target'
+	\*======================================================================*/
+	function is_group_child_of( $grp_src, $grp_tgt, $group_type='ARO' ) {
+		
+		$table = &$this->groupstable;
+
+		if (is_int( $grp_src ) && is_int($grp_tgt)) {
+			$sql = "SELECT COUNT(*)".
+				  "\nFROM $table AS g1".
+				  "\nLEFT JOIN $table AS g2 ON g1.lft > g2.lft AND g1.lft < g2.rgt".
+				  "\nWHERE g1.group_id=$grp_src AND g2.group_id=$grp_tgt";
+		} else if (is_string( $grp_src ) && is_string($grp_tgt)) {
+			$sql = "SELECT COUNT(*)".
+				  "\nFROM $table AS g1".
+				  "\nLEFT JOIN $table AS g2 ON g1.lft > g2.lft AND g1.lft < g2.rgt".
+				  "\nWHERE g1.name='$grp_src' AND g2.name='$grp_tgt'";
+		} else if (is_int( $grp_src ) && is_string($grp_tgt)) {
+			$sql = "SELECT COUNT(*)".
+				  "\nFROM $table AS g1".
+				  "\nLEFT JOIN $table AS g2 ON g1.lft > g2.lft AND g1.lft < g2.rgt".
+				  "\nWHERE g1.group_id='$grp_src' AND g2.name='$grp_tgt'";
+		} else {
+			$sql = "SELECT COUNT(*)".
+				  "\nFROM $table AS g1".
+				  "\nLEFT JOIN $table AS g2 ON g1.lft > g2.lft AND g1.lft < g2.rgt".
+				  "\nWHERE g1.name=$grp_src AND g2.group_id='$grp_tgt'";
+		}
+		
+		$result = cpg_db_query($sql, $this->link_id);
+		$count = mysql_num_rows($result);
+		if ($count) {
+			mysql_free_result($result);
+		}
+		
+		return ($count > 0);
+	}
+
+	// definition of actions required to convert a password from user database form to cookie form
+	function udb_hash_db($password)
+	{
+		return $password; // unused
+	}
+	
+	function login_page()
+	{
+		$this->redirect("/index.php");
+	}
+
+	function logout_page()
+	{
+		global $CONFIG;
+        $this->redirect("/index.php?option=logout");
+	}
+	
+	function edit_profile() {
+		$this->redirect("/index.php?option=com_user&task=UserDetails&Itemid=21");
+	}
+
+	function view_users() {}
+	function view_profile() {}
+	function session_extraction($cookie_id)	{}
+}
+
+// and go !
+$cpg_udb = new cpg_udb;
+?>
diff -x .svn -aruN 1.4.24.src/bridge/mybb.inc.php 1.4.25.src/bridge/mybb.inc.php
--- 1.4.24.src/bridge/mybb.inc.php	2009-05-21 15:03:09.000000000 -0500
+++ 1.4.25.src/bridge/mybb.inc.php	2009-05-26 11:25:52.000000000 -0500
@@ -1,193 +1,193 @@
-<?php
-/*************************
-  Coppermine Photo Gallery
-  ************************
-  Copyright (c) 2003-2009 Coppermine Dev Team
-  v1.1 originally written by Gregory DEMAR
-
-  This program is free software; you can redistribute it and/or modify
-  it under the terms of the GNU General Public License version 3
-  as published by the Free Software Foundation.
-  
-  ********************************************
-  Coppermine version: 1.4.24
-  $HeadURL: https://coppermine.svn.sourceforge.net/svnroot/coppermine/trunk/cpg1.4.x/bridge/mybb.inc.php $
-  $Revision: 5969 $
-  $Author: gaugau $
-  $Date: 2009-05-21 22:03:33 +0200 (Do, 21 Mai 2009) $
-**********************************************/
-
-if (!defined('IN_COPPERMINE')) die('Not in Coppermine...');
-
-// Switch that allows overriding the bridge manager with hard-coded values
-define('USE_BRIDGEMGR', 1);
-
-require_once 'bridge/udb_base.inc.php';
-
-class cpg_udb extends core_udb {
-
-	function cpg_udb()
-	{
-		global $BRIDGE;
-		
-		if (!USE_BRIDGEMGR) { // the vars that are used when bridgemgr is disabled
-
-			// URL of your punbb
-			$this->boardurl = 'http://localhost/mybb';
-
-			// local path to your punbb config file
-			require_once('../mybb/inc/config.php');
-			
-			$this->use_post_based_groups = 1;
-
-		} else { // the vars from the bridgemgr
-			$this->boardurl = $BRIDGE['full_forum_url'];
-			require_once($BRIDGE['relative_path_to_config_file'] . 'config.php');
-			$this->use_post_based_groups = $BRIDGE['use_post_based_groups'];
-		}
-		
-		$this->multigroups = 0;
-		$this->group_overrride = 0;
-		
-		// Database connection settings
-		$this->db = array(
-			'name' => $config['database'],
-			'host' => $config['hostname'],
-			'user' => $config['username'],
-			'password' => $config['password'],
-			'prefix' =>$config['table_prefix']
-		);
-		
-		// Board table names
-		$this->table = array(
-			'users' => 'users',
-			'groups' => 'usergroups',
-			'sessions' => 'sessions',
-		);
-
-		// Derived full table names
-		$this->usertable = '`' . $this->db['name'] . '`.' . $this->db['prefix'] . $this->table['users'];
-		$this->groupstable =  '`' . $this->db['name'] . '`.' . $this->db['prefix'] . $this->table['groups'];
-		$this->sessionstable =  '`' . $this->db['name'] . '`.' . $this->db['prefix'] . $this->table['sessions'];
-		
-		// Table field names
-		$this->field = array(
-			'username' => 'username', // name of 'username' field in users table
-			'user_id' => 'uid', // name of 'id' field in users table
-			'password' => 'loginkey', // name of 'password' field in users table
-			'email' => 'email', // name of 'email' field in users table
-			'regdate' => 'regdate', // name of 'registered' field in users table
-			'location' => "''", // name of 'location' field in users table
-			'website' => 'website', // name of 'website' field in users table
-			'usertbl_group_id' => 'usergroup', // name of 'group id' field in users table
-			'grouptbl_group_id' => 'gid', // name of 'group id' field in groups table
-			'grouptbl_group_name' => 'title' // name of 'group name' field in groups table
-		);
-		
-		// Pages to redirect to
-		$this->page = array(
-			'register' => '/member.php?action=register',
-			'editusers' => '/memberlist.php',
-			'edituserprofile' => "/member.php?action=profile&uid="
-		);
-		
-		// Group ids
-		$this->admingroups = array(4);
-		$this->guestgroup = $this->use_post_based_groups ? 101 : 3;
-		
-		// Connect to db
-		$this->connect();
-	}
-
-	// definition of how to extract id, name, group from a session cookie
-	function session_extraction()
-	{
-		if (!isset($_COOKIE['sid'])) return false;
-	
-		$this->sid = addslashes($_COOKIE['sid']);
-		
-		if (!$this->sid) return false;
-		
-		$this->ipaddress = $this->getip();
-		
-		$result = cpg_db_query("SELECT u.{$this->field['user_id']}, u.{$this->field['password']} FROM {$this->sessionstable} AS s INNER JOIN {$this->usertable} AS u ON u.uid = s.uid WHERE sid='".$this->sid."' AND ip='".$this->ipaddress."'", $this->link_id);
-		
-		if (!mysql_num_rows($result)) return false;
-		
-		$row = mysql_fetch_row($result);
-
-		return $row; 
-	}
-	
-	// definition of how to extract an id and password hash from a cookie
-	function cookie_extraction()
-	{
-		return  isset($_COOKIE['mybbuser']) ? array_map('addslashes', explode("_", $_COOKIE['mybbuser'], 2)) : false;
-	}
-	
-	// imported function
-	function getip() {
-
-		if($_SERVER['HTTP_X_FORWARDED_FOR'])
-		{
-			if(preg_match_all("#[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}#s", $_SERVER['HTTP_X_FORWARDED_FOR'], $addresses))
-			{
-				while(list($key, $val) = each($addresses[0]))
-				{
-					if(!preg_match("#^(10|172\.16|192\.168)\.#", $val))
-					{
-						$ip = $val;
-						break;
-					}
-				}
-			}
-		}
-		if(!$ip)
-		{
-			if($_SERVER['HTTP_CLIENT_IP'])
-			{
-				$ip = $_SERVER['HTTP_CLIENT_IP'];
-			}
-			else
-			{
-				$ip = $_SERVER['REMOTE_ADDR'];
-			}
-		}
-		return $ip;
-	}
-
-	// definition of actions required to convert a password from user database form to cookie form
-	function udb_hash_db($password)
-	{
-		return $password;
-	}
-	
-	// Login
-	function login_page()
-	{
-		$this->redirect('/member.php?action=login');
-	}
-
-	// Logout
-	function logout_page()
-	{
-		$this->redirect('/member.php?action=logout&uid=' . USER_ID . '&sid=' . $this->sid);
-	}
-	
-	function view_users()
-	{
-		if (!$this->use_post_based_groups) $this->redirect($this->page['editusers']);
-	}
-	
-	function get_users($options = array())
-    {
-    }
-	
-	function view_profile($uid)
-	{
-	}
-}
-
-// and go !
-$cpg_udb = new cpg_udb;
+<?php
+/*************************
+  Coppermine Photo Gallery
+  ************************
+  Copyright (c) 2003-2009 Coppermine Dev Team
+  v1.1 originally written by Gregory DEMAR
+
+  This program is free software; you can redistribute it and/or modify
+  it under the terms of the GNU General Public License version 3
+  as published by the Free Software Foundation.
+  
+  ********************************************
+  Coppermine version: 1.4.25
+  $HeadURL: https://coppermine.svn.sourceforge.net/svnroot/coppermine/trunk/cpg1.4.x/bridge/mybb.inc.php $
+  $Revision: 5997 $
+  $Author: gaugau $
+  $Date: 2009-05-26 08:43:24 +0200 (Di, 26 Mai 2009) $
+**********************************************/
+
+if (!defined('IN_COPPERMINE')) die('Not in Coppermine...');
+
+// Switch that allows overriding the bridge manager with hard-coded values
+define('USE_BRIDGEMGR', 1);
+
+require_once 'bridge/udb_base.inc.php';
+
+class cpg_udb extends core_udb {
+
+	function cpg_udb()
+	{
+		global $BRIDGE;
+		
+		if (!USE_BRIDGEMGR) { // the vars that are used when bridgemgr is disabled
+
+			// URL of your punbb
+			$this->boardurl = 'http://localhost/mybb';
+
+			// local path to your punbb config file
+			require_once('../mybb/inc/config.php');
+			
+			$this->use_post_based_groups = 1;
+
+		} else { // the vars from the bridgemgr
+			$this->boardurl = $BRIDGE['full_forum_url'];
+			require_once($BRIDGE['relative_path_to_config_file'] . 'config.php');
+			$this->use_post_based_groups = $BRIDGE['use_post_based_groups'];
+		}
+		
+		$this->multigroups = 0;
+		$this->group_overrride = 0;
+		
+		// Database connection settings
+		$this->db = array(
+			'name' => $config['database'],
+			'host' => $config['hostname'],
+			'user' => $config['username'],
+			'password' => $config['password'],
+			'prefix' =>$config['table_prefix']
+		);
+		
+		// Board table names
+		$this->table = array(
+			'users' => 'users',
+			'groups' => 'usergroups',
+			'sessions' => 'sessions',
+		);
+
+		// Derived full table names
+		$this->usertable = '`' . $this->db['name'] . '`.' . $this->db['prefix'] . $this->table['users'];
+		$this->groupstable =  '`' . $this->db['name'] . '`.' . $this->db['prefix'] . $this->table['groups'];
+		$this->sessionstable =  '`' . $this->db['name'] . '`.' . $this->db['prefix'] . $this->table['sessions'];
+		
+		// Table field names
+		$this->field = array(
+			'username' => 'username', // name of 'username' field in users table
+			'user_id' => 'uid', // name of 'id' field in users table
+			'password' => 'loginkey', // name of 'password' field in users table
+			'email' => 'email', // name of 'email' field in users table
+			'regdate' => 'regdate', // name of 'registered' field in users table
+			'location' => "''", // name of 'location' field in users table
+			'website' => 'website', // name of 'website' field in users table
+			'usertbl_group_id' => 'usergroup', // name of 'group id' field in users table
+			'grouptbl_group_id' => 'gid', // name of 'group id' field in groups table
+			'grouptbl_group_name' => 'title' // name of 'group name' field in groups table
+		);
+		
+		// Pages to redirect to
+		$this->page = array(
+			'register' => '/member.php?action=register',
+			'editusers' => '/memberlist.php',
+			'edituserprofile' => "/member.php?action=profile&uid="
+		);
+		
+		// Group ids
+		$this->admingroups = array(4);
+		$this->guestgroup = $this->use_post_based_groups ? 101 : 3;
+		
+		// Connect to db
+		$this->connect();
+	}
+
+	// definition of how to extract id, name, group from a session cookie
+	function session_extraction()
+	{
+		if (!isset($_COOKIE['sid'])) return false;
+	
+		$this->sid = addslashes($_COOKIE['sid']);
+		
+		if (!$this->sid) return false;
+		
+		$this->ipaddress = $this->getip();
+		
+		$result = cpg_db_query("SELECT u.{$this->field['user_id']}, u.{$this->field['password']} FROM {$this->sessionstable} AS s INNER JOIN {$this->usertable} AS u ON u.uid = s.uid WHERE sid='".$this->sid."' AND ip='".$this->ipaddress."'", $this->link_id);
+		
+		if (!mysql_num_rows($result)) return false;
+		
+		$row = mysql_fetch_row($result);
+
+		return $row; 
+	}
+	
+	// definition of how to extract an id and password hash from a cookie
+	function cookie_extraction()
+	{
+		return  isset($_COOKIE['mybbuser']) ? array_map('addslashes', explode("_", $_COOKIE['mybbuser'], 2)) : false;
+	}
+	
+	// imported function
+	function getip() {
+
+		if($_SERVER['HTTP_X_FORWARDED_FOR'])
+		{
+			if(preg_match_all("#[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}#s", $_SERVER['HTTP_X_FORWARDED_FOR'], $addresses))
+			{
+				while(list($key, $val) = each($addresses[0]))
+				{
+					if(!preg_match("#^(10|172\.16|192\.168)\.#", $val))
+					{
+						$ip = $val;
+						break;
+					}
+				}
+			}
+		}
+		if(!$ip)
+		{
+			if($_SERVER['HTTP_CLIENT_IP'])
+			{
+				$ip = $_SERVER['HTTP_CLIENT_IP'];
+			}
+			else
+			{
+				$ip = $_SERVER['REMOTE_ADDR'];
+			}
+		}
+		return $ip;
+	}
+
+	// definition of actions required to convert a password from user database form to cookie form
+	function udb_hash_db($password)
+	{
+		return $password;
+	}
+	
+	// Login
+	function login_page()
+	{
+		$this->redirect('/member.php?action=login');
+	}
+
+	// Logout
+	function logout_page()
+	{
+		$this->redirect('/member.php?action=logout&uid=' . USER_ID . '&sid=' . $this->sid);
+	}
+	
+	function view_users()
+	{
+		if (!$this->use_post_based_groups) $this->redirect($this->page['editusers']);
+	}
+	
+	function get_users($options = array())
+    {
+    }
+	
+	function view_profile($uid)
+	{
+	}
+}
+
+// and go !
+$cpg_udb = new cpg_udb;
 ?>
\ No newline at end of file
diff -x .svn -aruN 1.4.24.src/bridge/phorum.inc.php 1.4.25.src/bridge/phorum.inc.php
--- 1.4.24.src/bridge/phorum.inc.php	2009-05-21 15:03:09.000000000 -0500
+++ 1.4.25.src/bridge/phorum.inc.php	2009-05-26 11:25:52.000000000 -0500
@@ -1,196 +1,196 @@
-<?php
-/*************************
-  Coppermine Photo Gallery
-  ************************
-  Copyright (c) 2003-2009 Coppermine Dev Team
-  v1.1 originally written by Gregory DEMAR
-
-  This program is free software; you can redistribute it and/or modify
-  it under the terms of the GNU General Public License version 3
-  as published by the Free Software Foundation.
-  
-  ********************************************
-  Coppermine version: 1.4.24
-  $HeadURL: https://coppermine.svn.sourceforge.net/svnroot/coppermine/trunk/cpg1.4.x/bridge/phorum.inc.php $
-  $Revision: 5969 $
-  $Author: gaugau $
-  $Date: 2009-05-21 22:03:33 +0200 (Do, 21 Mai 2009) $
-**********************************************/
-
-if (!defined('IN_COPPERMINE')) die('Not in Coppermine...');
-
-// Switch that allows overriding the bridge manager with hard-coded values
-define('USE_BRIDGEMGR', 1);
-
-require_once 'bridge/udb_base.inc.php';
-
-$dir = getcwd();
-
-chdir($BRIDGE['relative_path_to_config_file']);
-
-if (!USE_BRIDGEMGR) {
-	require_once('../phorum/common.php');
-} else {
-	require_once($BRIDGE['relative_path_to_config_file'] . 'common.php');
-}
-
-chdir($dir);
-
-class cpg_udb extends core_udb {
-
-	function cpg_udb()
-	{
-		global $BRIDGE, $CONFIG, $PHORUM;
-
-		$this->use_post_based_groups = $BRIDGE['use_post_based_groups'];
-		$this->boardurl = $PHORUM['http_path'];
-		$this->multigroups = 1;
-		$this->group_overrride = 1;
-
-		// Board table names
-		$this->table = array(
-			'users' => 'users',
-			'groups' => 'groups',
-			'usergroups' => 'user_group_xref'
-		);
-	
-		// Database connection settings
-		$this->db = array(
-			'name' => $PHORUM['DBCONFIG']['name'],
-			'host' => $PHORUM['DBCONFIG']['server'],
-			'user' => $PHORUM['DBCONFIG']['user'],
-			'password' => $PHORUM['DBCONFIG']['password'],
-			'prefix' =>$PHORUM['DBCONFIG']['table_prefix'] . '_'
-		);
-		
-		// Derived full table names
-		$this->usertable = '`' . $this->db['name'] . '`.' . $this->db['prefix'] . $this->table['users'];
-		$this->groupstable =  '`' . $this->db['name'] . '`.' . $this->db['prefix'] . $this->table['groups'];
-		$this->usergroupstable = '`' . $this->db['name'] . '`.' . $this->db['prefix'] . $this->table['usergroups'];
-		
-		// Table field names
-		$this->field = array(
-			'username' => 'username', // name of 'username' field in users table
-			'user_id' => 'user_id', // name of 'id' field in users table
-			'password' => 'password', // name of the password field in the users table
-			'email' => 'email', // name of 'email' field in users table
-			'regdate' => 'date_added', // name of 'registered' field in users table
-			'lastvisit' => 'date_last_active', // last time user logged in
-			'active' => 'active', // is user account active?
-			'location' => "''", // name of 'location' field in users table
-			'website' => "''", // name of 'website' field in users table
-			'usertbl_group_id' => 'NOT_USED', // name of 'group id' field in users table
-			'grouptbl_group_id' => 'group_id', // name of 'group id' field in groups table
-			'grouptbl_group_name' => 'name' // name of 'group name' field in groups table
-		);
-		
-		// Pages to redirect to
-		$this->page = array(
-			'register' => '/register.php?1',
-			'editusers' => '/admin.php?module=users',
-			'edituserprofile' => '/profile.php?1,',
-		);
-		
-		// Group ids - admin and guest only.
-		$this->admingroups = array(1);
-		$this->guestgroup = 3;
-		
-		// Connect to db - or supply a connection id to be used instead of making own connection.
-		$this->connect();
-	}
-
-	// Probably not a good idea to override this, come up with a better way later.
-	function authenticate()
-	{
-		global $PHORUM,  $USER_DATA;
-		
-		if (!$PHORUM['user']['user_id']){
-           $this->load_guest_data();
-		} else {
-			$this->load_user_data(array('id' => $PHORUM['user']['user_id'], 'username' => $PHORUM['user']['username']));
-		
-		
-		$USER_DATA['groups'] = array();
-		
-		if ($PHORUM['user']['admin']){
-			$USER_DATA['groups'][] = 1;
-		} else {
-			$USER_DATA['groups'][] = 2;
-		}	
-		
-		if ($this->use_post_based_groups){
-			foreach ($PHORUM['user']['groups'] as $group){
-				$USER_DATA['groups'][] = $group + 100;
-			}
-		}
-		}
-		$user_group_set = '(' . implode(',', $USER_DATA['groups']) . ')';
-		
-        $USER_DATA = array_merge($USER_DATA, $this->get_user_data($USER_DATA['groups'][0], $USER_DATA['groups'], $this->guestgroup));
-
-		$USER_DATA['has_admin_access'] =  (int) $PHORUM['user']['admin'];
-		
-		$USER_DATA['can_see_all_albums'] = $USER_DATA['has_admin_access'];
-		
-		// avoids a template error
-		if (!$USER_DATA['user_id']) $USER_DATA['can_create_albums'] = 0;
-		
-	    // For error checking
-		$CONFIG['TABLE_USERS'] = '**ERROR**';
-			
-		define('USER_ID', $USER_DATA['user_id']);
-        define('USER_NAME', addslashes($USER_DATA['user_name']));
-        define('USER_GROUP', $USER_DATA['group_name']);
-        define('USER_GROUP_SET', $user_group_set);
-        define('USER_IS_ADMIN', $USER_DATA['has_admin_access']);
-        define('USER_CAN_SEND_ECARDS', (int)$USER_DATA['can_send_ecards']);
-        define('USER_CAN_RATE_PICTURES', (int)$USER_DATA['can_rate_pictures']);
-        define('USER_CAN_POST_COMMENTS', (int)$USER_DATA['can_post_comments']);
-        define('USER_CAN_UPLOAD_PICTURES', (int)$USER_DATA['can_upload_pictures']);
-        define('USER_CAN_CREATE_ALBUMS', (int)$USER_DATA['can_create_albums']);
-        define('USER_UPLOAD_FORM', (int)$USER_DATA['upload_form_config']);
-        define('CUSTOMIZE_UPLOAD_FORM', (int)$USER_DATA['custom_user_upload']);
-        define('NUM_FILE_BOXES', (int)$USER_DATA['num_file_upload']);
-        define('NUM_URI_BOXES', (int)$USER_DATA['num_URI_upload']);
-		
-		$this->session_update();
-	}
-	
-	function collect_groups()
-	{
-		$sql ="SELECT * FROM {$this->groupstable}";
-	
-		$result = cpg_db_query($sql, $this->link_id);
-		
-		$udb_groups = array(1=>'Administrators', 2=>'Registered', 3 => 'Guests', 4 => 'Banned');
-			
-		while ($row = mysql_fetch_assoc($result))
-		{
-			$udb_groups[$row[$this->field['grouptbl_group_id']]+100] = utf_ucfirst(utf_strtolower($row[$this->field['grouptbl_group_name']]));
-		}
-
-		return $udb_groups;
-	}
-	
-	function login_page()
-	{
-		global $CONFIG;
-		
-		$this->redirect('/login.php');
-	}
-
-	function logout_page()
-	{
-		global $CONFIG;
-
-        $this->redirect('/login.php,logout=1');
-	}
-
-	//function view_users() {}
-	function view_profile() {}
-}
-
-
-// and go !
-$cpg_udb = new cpg_udb;
-?>
+<?php
+/*************************
+  Coppermine Photo Gallery
+  ************************
+  Copyright (c) 2003-2009 Coppermine Dev Team
+  v1.1 originally written by Gregory DEMAR
+
+  This program is free software; you can redistribute it and/or modify
+  it under the terms of the GNU General Public License version 3
+  as published by the Free Software Foundation.
+  
+  ********************************************
+  Coppermine version: 1.4.25
+  $HeadURL: https://coppermine.svn.sourceforge.net/svnroot/coppermine/trunk/cpg1.4.x/bridge/phorum.inc.php $
+  $Revision: 5997 $
+  $Author: gaugau $
+  $Date: 2009-05-26 08:43:24 +0200 (Di, 26 Mai 2009) $
+**********************************************/
+
+if (!defined('IN_COPPERMINE')) die('Not in Coppermine...');
+
+// Switch that allows overriding the bridge manager with hard-coded values
+define('USE_BRIDGEMGR', 1);
+
+require_once 'bridge/udb_base.inc.php';
+
+$dir = getcwd();
+
+chdir($BRIDGE['relative_path_to_config_file']);
+
+if (!USE_BRIDGEMGR) {
+	require_once('../phorum/common.php');
+} else {
+	require_once($BRIDGE['relative_path_to_config_file'] . 'common.php');
+}
+
+chdir($dir);
+
+class cpg_udb extends core_udb {
+
+	function cpg_udb()
+	{
+		global $BRIDGE, $CONFIG, $PHORUM;
+
+		$this->use_post_based_groups = $BRIDGE['use_post_based_groups'];
+		$this->boardurl = $PHORUM['http_path'];
+		$this->multigroups = 1;
+		$this->group_overrride = 1;
+
+		// Board table names
+		$this->table = array(
+			'users' => 'users',
+			'groups' => 'groups',
+			'usergroups' => 'user_group_xref'
+		);
+	
+		// Database connection settings
+		$this->db = array(
+			'name' => $PHORUM['DBCONFIG']['name'],
+			'host' => $PHORUM['DBCONFIG']['server'],
+			'user' => $PHORUM['DBCONFIG']['user'],
+			'password' => $PHORUM['DBCONFIG']['password'],
+			'prefix' =>$PHORUM['DBCONFIG']['table_prefix'] . '_'
+		);
+		
+		// Derived full table names
+		$this->usertable = '`' . $this->db['name'] . '`.' . $this->db['prefix'] . $this->table['users'];
+		$this->groupstable =  '`' . $this->db['name'] . '`.' . $this->db['prefix'] . $this->table['groups'];
+		$this->usergroupstable = '`' . $this->db['name'] . '`.' . $this->db['prefix'] . $this->table['usergroups'];
+		
+		// Table field names
+		$this->field = array(
+			'username' => 'username', // name of 'username' field in users table
+			'user_id' => 'user_id', // name of 'id' field in users table
+			'password' => 'password', // name of the password field in the users table
+			'email' => 'email', // name of 'email' field in users table
+			'regdate' => 'date_added', // name of 'registered' field in users table
+			'lastvisit' => 'date_last_active', // last time user logged in
+			'active' => 'active', // is user account active?
+			'location' => "''", // name of 'location' field in users table
+			'website' => "''", // name of 'website' field in users table
+			'usertbl_group_id' => 'NOT_USED', // name of 'group id' field in users table
+			'grouptbl_group_id' => 'group_id', // name of 'group id' field in groups table
+			'grouptbl_group_name' => 'name' // name of 'group name' field in groups table
+		);
+		
+		// Pages to redirect to
+		$this->page = array(
+			'register' => '/register.php?1',
+			'editusers' => '/admin.php?module=users',
+			'edituserprofile' => '/profile.php?1,',
+		);
+		
+		// Group ids - admin and guest only.
+		$this->admingroups = array(1);
+		$this->guestgroup = 3;
+		
+		// Connect to db - or supply a connection id to be used instead of making own connection.
+		$this->connect();
+	}
+
+	// Probably not a good idea to override this, come up with a better way later.
+	function authenticate()
+	{
+		global $PHORUM,  $USER_DATA;
+		
+		if (!$PHORUM['user']['user_id']){
+           $this->load_guest_data();
+		} else {
+			$this->load_user_data(array('id' => $PHORUM['user']['user_id'], 'username' => $PHORUM['user']['username']));
+		
+		
+		$USER_DATA['groups'] = array();
+		
+		if ($PHORUM['user']['admin']){
+			$USER_DATA['groups'][] = 1;
+		} else {
+			$USER_DATA['groups'][] = 2;
+		}	
+		
+		if ($this->use_post_based_groups){
+			foreach ($PHORUM['user']['groups'] as $group){
+				$USER_DATA['groups'][] = $group + 100;
+			}
+		}
+		}
+		$user_group_set = '(' . implode(',', $USER_DATA['groups']) . ')';
+		
+        $USER_DATA = array_merge($USER_DATA, $this->get_user_data($USER_DATA['groups'][0], $USER_DATA['groups'], $this->guestgroup));
+
+		$USER_DATA['has_admin_access'] =  (int) $PHORUM['user']['admin'];
+		
+		$USER_DATA['can_see_all_albums'] = $USER_DATA['has_admin_access'];
+		
+		// avoids a template error
+		if (!$USER_DATA['user_id']) $USER_DATA['can_create_albums'] = 0;
+		
+	    // For error checking
+		$CONFIG['TABLE_USERS'] = '**ERROR**';
+			
+		define('USER_ID', $USER_DATA['user_id']);
+        define('USER_NAME', addslashes($USER_DATA['user_name']));
+        define('USER_GROUP', $USER_DATA['group_name']);
+        define('USER_GROUP_SET', $user_group_set);
+        define('USER_IS_ADMIN', $USER_DATA['has_admin_access']);
+        define('USER_CAN_SEND_ECARDS', (int)$USER_DATA['can_send_ecards']);
+        define('USER_CAN_RATE_PICTURES', (int)$USER_DATA['can_rate_pictures']);
+        define('USER_CAN_POST_COMMENTS', (int)$USER_DATA['can_post_comments']);
+        define('USER_CAN_UPLOAD_PICTURES', (int)$USER_DATA['can_upload_pictures']);
+        define('USER_CAN_CREATE_ALBUMS', (int)$USER_DATA['can_create_albums']);
+        define('USER_UPLOAD_FORM', (int)$USER_DATA['upload_form_config']);
+        define('CUSTOMIZE_UPLOAD_FORM', (int)$USER_DATA['custom_user_upload']);
+        define('NUM_FILE_BOXES', (int)$USER_DATA['num_file_upload']);
+        define('NUM_URI_BOXES', (int)$USER_DATA['num_URI_upload']);
+		
+		$this->session_update();
+	}
+	
+	function collect_groups()
+	{
+		$sql ="SELECT * FROM {$this->groupstable}";
+	
+		$result = cpg_db_query($sql, $this->link_id);
+		
+		$udb_groups = array(1=>'Administrators', 2=>'Registered', 3 => 'Guests', 4 => 'Banned');
+			
+		while ($row = mysql_fetch_assoc($result))
+		{
+			$udb_groups[$row[$this->field['grouptbl_group_id']]+100] = utf_ucfirst(utf_strtolower($row[$this->field['grouptbl_group_name']]));
+		}
+
+		return $udb_groups;
+	}
+	
+	function login_page()
+	{
+		global $CONFIG;
+		
+		$this->redirect('/login.php');
+	}
+
+	function logout_page()
+	{
+		global $CONFIG;
+
+        $this->redirect('/login.php,logout=1');
+	}
+
+	//function view_users() {}
+	function view_profile() {}
+}
+
+
+// and go !
+$cpg_udb = new cpg_udb;
+?>
diff -x .svn -aruN 1.4.24.src/bridge/phpbb2018.inc.php 1.4.25.src/bridge/phpbb2018.inc.php
--- 1.4.24.src/bridge/phpbb2018.inc.php	2009-05-21 15:03:09.000000000 -0500
+++ 1.4.25.src/bridge/phpbb2018.inc.php	2009-05-26 11:25:52.000000000 -0500
@@ -1,381 +1,381 @@
-<?php
-/*************************
-  Coppermine Photo Gallery
-  ************************
-  Copyright (c) 2003-2009 Coppermine Dev Team
-  v1.1 originally written by Gregory DEMAR
-
-  This program is free software; you can redistribute it and/or modify
-  it under the terms of the GNU General Public License version 3
-  as published by the Free Software Foundation.
-  
-  ********************************************
-  Coppermine version: 1.4.24
-  $HeadURL: https://coppermine.svn.sourceforge.net/svnroot/coppermine/trunk/cpg1.4.x/bridge/phpbb2018.inc.php $
-  $Revision: 5969 $
-  $Author: gaugau $
-  $Date: 2009-05-21 22:03:33 +0200 (Do, 21 Mai 2009) $
-**********************************************/
-
-if (!defined('IN_COPPERMINE')) die('Not in Coppermine...');
-
-// Switch that allows overriding the bridge manager with hard-coded values
-define('USE_BRIDGEMGR', 1);
-
-require_once 'bridge/udb_base.inc.php';
-
-class phpbb2018_udb extends core_udb {
-
-	function phpbb2018_udb()
-	{
-		global $BRIDGE;
-		
-		if (!USE_BRIDGEMGR) {
-			$this->boardurl = 'http://www.yousite.com/phpBB2';
-			require_once('../phpBB2/config.php');
-
-		} else {
-			$this->boardurl = $BRIDGE['full_forum_url'];
-			require_once($BRIDGE['relative_path_to_config_file'] . 'config.php');
-			$this->use_post_based_groups = $BRIDGE['use_post_based_groups'];
-		}
-
-		$this->multigroups = 1;
-		
-		// Database connection settings
-		$this->db = array(
-			'name' => $dbname,
-			'host' => $dbhost ? $dbhost : 'localhost',
-			'user' => $dbuser,
-			'password' => $dbpasswd,
-			'prefix' =>$table_prefix
-		);
-		
-		// Board table names
-		$this->table = array(
-			'users' => 'users',
-			'groups' => 'groups',
-			'sessions' => 'sessions',
-			'usergroups' => 'user_group',
-			'sessionskeys' => 'sessions_keys'
-		);
-
-		// Derived full table names
-		$this->usertable = '`' . $this->db['name'] . '`.' . $this->db['prefix'] . $this->table['users'];
-		$this->groupstable =  '`' . $this->db['name'] . '`.' . $this->db['prefix'] . $this->table['groups'];
-		$this->sessionstable =  '`' . $this->db['name'] . '`.' . $this->db['prefix'] . $this->table['sessions'];
-		$this->usergroupstable = '`' . $this->db['name'] . '`.' . $this->db['prefix'] . $this->table['usergroups'];
-		$this->sessionskeystable = '`' . $this->db['name'] . '`.' . $this->db['prefix'] . $this->table['sessionskeys'];
-		
-		// Table field names
-		$this->field = array(
-			'username' => 'username', // name of 'username' field in users table
-			'user_id' => 'user_id', // name of 'id' field in users table
-			'password' => 'user_password', // name of 'password' field in users table
-			'email' => 'user_email', // name of 'email' field in users table
-			'regdate' => 'user_regdate', // name of 'registered' field in users table
-			'active' => 'user_active', // is user account active?
-			'lastvisit' => 'user_lastvisit', // name of 'location' field in users table
-			'location' => 'user_from', // name of 'location' field in users table
-			'website' => 'user_website', // name of 'website' field in users table
-			'usertbl_group_id' => 'group_id', // name of 'group id' field in users table
-			'grouptbl_group_id' => 'group_id', // name of 'group id' field in groups table
-			'grouptbl_group_name' => 'group_name' // name of 'group name' field in groups table
-		);
-		
-		// Pages to redirect to
-		$this->page = array(
-			'register' => '/profile.php?mode=register',
-			'editusers' => '/memberlist.php',
-			'edituserprofile' => "/profile.php?mode=viewprofile&u=",
-		);
-		
-		// Group ids - admin and guest only.
-		$this->admingroups = array(2);
-		$this->guestgroup = 3;
-		
-		// Use a special function to collect groups for cpg groups table
-		$this->group_overrride = 1;
-		
-		// Cookie settings - used in following functions only
-		$this->cookie_name = $BRIDGE['cookie_prefix'];
-		
-		// Connect to db
-		$this->connect();
-	}
-
-	function collect_groups()
-	{
-		$sql ="SELECT * FROM {$this->groupstable} WHERE group_single_user = 0";
-	
-		$result = cpg_db_query($sql, $this->link_id);
-		
-		$udb_groups = array(102 =>'Administrators', 2=> 'Registered', 3=>'Guests', 4=> 'Banned');
-			
-		while ($row = mysql_fetch_assoc($result))
-		{
-			$udb_groups[$row[$this->field['grouptbl_group_id']]+100] = utf_ucfirst(utf_strtolower($row[$this->field['grouptbl_group_name']]));
-		}
-
-		return $udb_groups;
-		
-	}
-	// definition of how to extract id, name, group from a session cookie
-	function session_extraction()
-	{
-		if (isset($_COOKIE[$this->cookie_name . '_sid'])) {
-			$this->sid = addslashes($_COOKIE[$this->cookie_name . '_sid']);
-
-			$sql = "SELECT u.{$this->field['user_id']} AS user_id, u.{$this->field['password']} AS password, u.user_level FROM {$this->usertable} AS u, {$this->sessionstable} AS s WHERE u.{$this->field['user_id']}=s.session_user_id AND s.session_id = '{$this->sid}' AND u.user_id > 0";
-			$result = cpg_db_query($sql, $this->link_id);
-
-			if (mysql_num_rows($result)){
-				$row = mysql_fetch_array($result);
-				$this->userlevel = $row['user_level'];
-				return $row;
-			} else {
-			    return false;
-			}
-		}
-	}
-	
-	// Get groups of which user is member
-	function get_groups($row)
-	{
-		$data = array();
-		
-		if ($this->use_post_based_groups){
-
-			$sql = "SELECT ug.{$this->field['usertbl_group_id']}+100 AS group_id FROM {$this->usertable} AS u, {$this->usergroupstable} AS ug, {$this->groupstable} as g WHERE u.{$this->field['user_id']}=ug.{$this->field['user_id']} AND u.{$this->field['user_id']}='{$row['id']}' AND g.{$this->field['grouptbl_group_id']} = ug.{$this->field['grouptbl_group_id']} AND  group_single_user = 0";
-
-			$result = cpg_db_query($sql, $this->link_id);
-
-			while ($row2 = mysql_fetch_array($result)) {
-				$data[] = $row2['group_id'];
-			}
-
-			if ($this->userlevel == 1 || in_array($row[$this->field['usertbl_group_id']] , $this->admingroups)) array_unshift($data, 102);
-			if ($this->userlevel == 0 || $this->userlevel == 2) array_unshift($data, 2);
-		} else {
-			$data[0] = ($this->userlevel == 1 || in_array($row[$this->field['usertbl_group_id']] , $this->admingroups)) ? 1 : 2;
-		}
-		
-		return $data;
-	}
-	
-	// definition of how to extract an id and password hash from a cookie
-	function cookie_extraction()
-	{
-	    $id = 0;
-		$pass = '';
-
-        if (isset($_COOKIE[$this->cookie_name.'_data'])){
-			$sessiondata = unserialize($_COOKIE[$this->cookie_name.'_data']);
-			$cookieid = $sessiondata['userid'] > 1 ? intval($sessiondata['userid']) : 0;
-			$cookiepass = (isset($sessiondata['autologinid'])) ? addslashes($sessiondata['autologinid']) : '';
-			if (!$cookiepass) return false;
-			$sql = "SELECT u.user_id, u.user_password, u.user_level FROM {$this->sessionskeystable} AS s 
-							INNER JOIN {$this->usertable} AS u ON s.user_id = u.user_id WHERE u.user_id = '$cookieid' AND u.user_active = 1 AND s.key_id = MD5('$cookiepass')";
-			$result = cpg_db_query($sql, $this->link_id);
-			list($id, $pass, $this->userlevel) = mysql_fetch_row($result);
-			$this->sid = 0;
-		}
-		
-		return ($id) ? array($id, $pass) : false;
-	}
-	
-	// definition of actions required to convert a password from user database form to cookie form
-	function udb_hash_db($password)
-	{
-		return $password; // unused
-	}
-
-	function login_page()
-	{
-		global $CONFIG;
-		
-		$cpg = parse_url($CONFIG['site_url']);
-		$bb = parse_url($this->boardurl);
-		$levels = count(explode('/', $bb['path'])) - 1;
-		$redirect = str_repeat('../', $levels) . trim($cpg['path'], '/') . '/';
-
-		$this->redirect("/login.php?redirect=$redirect");
-	}
-
-	function logout_page()
-	{
-		global $CONFIG;
-		
-		$cpg = parse_url($CONFIG['site_url']);
-		$bb = parse_url($this->boardurl);
-		$levels = count(explode('/', $bb['path'])) - 1;
-		$redirect = str_repeat('../', $levels) . trim($cpg['path'], '/') . '/';
-		
-		$this->redirect("/login.php?logout=true&sid={$this->sid}&redirect=$redirect");
-	}
-
-	function view_users() {}
-	function view_profile() {}
-	
-	function get_users($options = array())
-    {
-    	global $CONFIG;
-		
-		// Copy UDB fields and config variables (just to make it easier to read)
-    	$f =& $this->field;
-		$C =& $CONFIG;
-		
-		// Sort codes - global this in usermgr.php in 1.5
-        $sort_codes = array('name_a' => 'user_name ASC',
-                            'name_d' => 'user_name DESC',
-                            'group_a' => 'group_name ASC',
-                            'group_d' => 'group_name DESC',
-                            'reg_a' => 'user_regdate ASC',
-                            'reg_d' => 'user_regdate DESC',
-                            'pic_a' => 'pic_count ASC',
-                            'pic_d' => 'pic_count DESC',
-                            'disku_a' => 'disk_usage ASC',
-                            'disku_d' => 'disk_usage DESC',
-                            'lv_a' => 'user_lastvisit ASC',
-                            'lv_d' => 'user_lastvisit DESC',
-                           );
-        
-		$sql = "SELECT group_id, group_name, group_quota FROM {$C['TABLE_USERGROUPS']}";
-
-		$result = cpg_db_query($sql);
-		
-		$groups = $quotas = array();
-	
-		while ($row = mysql_fetch_assoc($result)) {
-			$groups[$row['group_id']] = $row['group_name'];
-			$quotas[$row['group_id']] = $row['group_quota'];
-		}
-		
-		if (in_array($options['sort'], array('group_a', 'group_d', 'pic_a', 'pic_d', 'disku_a', 'disku_d'))){
-			
-			$sort = '';
-			list($this->sortfield, $this->sortdir) = explode(' ', $sort_codes[$options['sort']]);
-			$this->adv_sort = true;
-			
-		} else {
-			
-			$sort = "ORDER BY " . $sort_codes[$options['sort']];
-			$this->adv_sort = false;
-		}
-
-		// Build WHERE clause, if this is a username search
-        if ($options['search']) {
-            $options['search'] = 'AND u.'.$f['username'].' LIKE "'.$options['search'].'" ';
-        }
-		
-		// Main array to hold our user data
-		$userlist = array();
-		
-		// These sorting methods need the cpg pics table, do that first
-		if (in_array($options['sort'], array('pic_a', 'pic_d', 'disku_a', 'disku_d'))){
-			
-			$sql = "SELECT owner_id, COUNT(pid) as pic_count, ROUND(SUM(total_filesize)/1024) as disk_usage FROM {$C['TABLE_PICTURES']} WHERE owner_id <> 0 GROUP BY owner_id ORDER BY {$sort_codes[$options['sort']]} LIMIT {$options['lower_limit']}, {$options['users_per_page']}";
-			$result = cpg_db_query($sql);
-			
-			// If no records, return empty value
-			if (!mysql_num_rows($result)) {
-				return array();
-			}
-		
-			while ($row = mysql_fetch_assoc($result)) $userlist[$row['owner_id']] = $row;
-			mysql_free_result($result);
-
-			$user_list_string = implode(', ', array_keys($userlist));
-
-			$sql = "SELECT u.{$f['user_id']} as user_id, u.user_level, {$f['username']} as user_name, {$f['email']} as user_email, {$f['regdate']} as user_regdate, {$f['lastvisit']} as user_lastvisit ".
-               "FROM {$this->usertable} AS u ".
-               "WHERE u.{$f['user_id']} IN ($user_list_string) GROUP BY u.{$f['user_id']}";
-		
-			$result = cpg_db_query($sql, $this->link_id);
-		
-			// If no records, return empty value
-			if (!mysql_num_rows($result)) {
-				return array();
-			}
-		
-			while ($row = mysql_fetch_assoc($result)) $userlist[$row['user_id']] = array_merge($userlist[$row['user_id']], $row);
-			mysql_free_result($result);
-
-		} else {
-		
-			$sql = "SELECT u.{$f['user_id']} as user_id, u.user_level, {$f['username']} as user_name, {$f['email']} as user_email, {$f['regdate']} as user_regdate, {$f['lastvisit']} as user_lastvisit, 0 as pic_count ".
-               "FROM {$this->usertable} AS u ".
-               "WHERE u.{$f['user_id']} > 0 " . $options['search'].
-               "GROUP BY u.{$f['user_id']} " . $sort . 
-			   " LIMIT {$options['lower_limit']}, {$options['users_per_page']}";
-		
-			$result = cpg_db_query($sql, $this->link_id);
-		
-			// If no records, return empty value
-			if (!mysql_num_rows($result)) {
-				return array();
-			}
-		
-			while ($row = mysql_fetch_assoc($result)) $userlist[$row['user_id']] = $row;
-			mysql_free_result($result);
-			
-			$user_list_string = implode(', ', array_keys($userlist));
-		
-			$sql = "SELECT owner_id, COUNT(pid) as pic_count, ROUND(SUM(total_filesize)/1024) as disk_usage FROM {$C['TABLE_PICTURES']} WHERE owner_id IN ($user_list_string) GROUP BY owner_id";
-
-			$result = cpg_db_query($sql);
-
-			while ($owner = mysql_fetch_assoc($result)) $userlist[$owner['owner_id']] = array_merge($userlist[$owner['owner_id']], $owner);
-		}
-		
-		foreach ($userlist as $uid => $user){
-			
-			$grps = array();
-		
-			if ($this->use_post_based_groups){
-	
-				$sql = "SELECT ug.{$this->field['usertbl_group_id']}+100 AS group_id FROM 
-					{$this->usertable} AS u, 
-					{$this->usergroupstable} AS ug, 
-					{$this->groupstable} as g 
-					WHERE u.{$this->field['user_id']}=ug.{$this->field['user_id']} 
-					AND u.{$this->field['user_id']}='$uid' 
-					AND g.{$this->field['grouptbl_group_id']} = ug.{$this->field['grouptbl_group_id']} 
-					AND  group_single_user = 0";
-	
-				$result = cpg_db_query($sql, $this->link_id);
-	
-				while ($row2 = mysql_fetch_array($result)) {
-					$grps[] = $row2['group_id'];
-				}
-	
-				if ($user['user_level'] == 1 || in_array($row[$this->field['usertbl_group_id']] , $this->admingroups)) array_unshift($grps, 102);
-				if ($user['user_level']  == 0 || $user['user_level']  == 2) array_unshift($grps, 2);
-			} else {
-				$grps[0] = ($user['user_level']  == 1 || in_array($row[$this->field['usertbl_group_id']] , $this->admingroups)) ? 1 : 2;
-			}
-	
-			$groupnames = $q = array();
-			
-			foreach ($grps as $gid){
-				$groupnames[] = $groups[$gid];
-				$q[] = $quotas[$gid];
-			}
-			
-			sort($groupnames);
-			
-			$userlist[$uid]['group_name'] = implode('<br />' ,$groupnames); 
-			$userlist[$uid]['group_quota'] = max($q);
-		}
-		
-		foreach ($userlist as $uid => $user) if (!isset($user['user_name'])) unset($userlist[$uid]);
-
-		if ($this->adv_sort) usort($userlist, array('core_udb', 'adv_sort'));
-
-        return $userlist;
-    }
-}
-
-// and go !
-$cpg_udb = new phpbb2018_udb;
+<?php
+/*************************
+  Coppermine Photo Gallery
+  ************************
+  Copyright (c) 2003-2009 Coppermine Dev Team
+  v1.1 originally written by Gregory DEMAR
+
+  This program is free software; you can redistribute it and/or modify
+  it under the terms of the GNU General Public License version 3
+  as published by the Free Software Foundation.
+  
+  ********************************************
+  Coppermine version: 1.4.25
+  $HeadURL: https://coppermine.svn.sourceforge.net/svnroot/coppermine/trunk/cpg1.4.x/bridge/phpbb2018.inc.php $
+  $Revision: 5997 $
+  $Author: gaugau $
+  $Date: 2009-05-26 08:43:24 +0200 (Di, 26 Mai 2009) $
+**********************************************/
+
+if (!defined('IN_COPPERMINE')) die('Not in Coppermine...');
+
+// Switch that allows overriding the bridge manager with hard-coded values
+define('USE_BRIDGEMGR', 1);
+
+require_once 'bridge/udb_base.inc.php';
+
+class phpbb2018_udb extends core_udb {
+
+	function phpbb2018_udb()
+	{
+		global $BRIDGE;
+		
+		if (!USE_BRIDGEMGR) {
+			$this->boardurl = 'http://www.yousite.com/phpBB2';
+			require_once('../phpBB2/config.php');
+
+		} else {
+			$this->boardurl = $BRIDGE['full_forum_url'];
+			require_once($BRIDGE['relative_path_to_config_file'] . 'config.php');
+			$this->use_post_based_groups = $BRIDGE['use_post_based_groups'];
+		}
+
+		$this->multigroups = 1;
+		
+		// Database connection settings
+		$this->db = array(
+			'name' => $dbname,
+			'host' => $dbhost ? $dbhost : 'localhost',
+			'user' => $dbuser,
+			'password' => $dbpasswd,
+			'prefix' =>$table_prefix
+		);
+		
+		// Board table names
+		$this->table = array(
+			'users' => 'users',
+			'groups' => 'groups',
+			'sessions' => 'sessions',
+			'usergroups' => 'user_group',
+			'sessionskeys' => 'sessions_keys'
+		);
+
+		// Derived full table names
+		$this->usertable = '`' . $this->db['name'] . '`.' . $this->db['prefix'] . $this->table['users'];
+		$this->groupstable =  '`' . $this->db['name'] . '`.' . $this->db['prefix'] . $this->table['groups'];
+		$this->sessionstable =  '`' . $this->db['name'] . '`.' . $this->db['prefix'] . $this->table['sessions'];
+		$this->usergroupstable = '`' . $this->db['name'] . '`.' . $this->db['prefix'] . $this->table['usergroups'];
+		$this->sessionskeystable = '`' . $this->db['name'] . '`.' . $this->db['prefix'] . $this->table['sessionskeys'];
+		
+		// Table field names
+		$this->field = array(
+			'username' => 'username', // name of 'username' field in users table
+			'user_id' => 'user_id', // name of 'id' field in users table
+			'password' => 'user_password', // name of 'password' field in users table
+			'email' => 'user_email', // name of 'email' field in users table
+			'regdate' => 'user_regdate', // name of 'registered' field in users table
+			'active' => 'user_active', // is user account active?
+			'lastvisit' => 'user_lastvisit', // name of 'location' field in users table
+			'location' => 'user_from', // name of 'location' field in users table
+			'website' => 'user_website', // name of 'website' field in users table
+			'usertbl_group_id' => 'group_id', // name of 'group id' field in users table
+			'grouptbl_group_id' => 'group_id', // name of 'group id' field in groups table
+			'grouptbl_group_name' => 'group_name' // name of 'group name' field in groups table
+		);
+		
+		// Pages to redirect to
+		$this->page = array(
+			'register' => '/profile.php?mode=register',
+			'editusers' => '/memberlist.php',
+			'edituserprofile' => "/profile.php?mode=viewprofile&u=",
+		);
+		
+		// Group ids - admin and guest only.
+		$this->admingroups = array(2);
+		$this->guestgroup = 3;
+		
+		// Use a special function to collect groups for cpg groups table
+		$this->group_overrride = 1;
+		
+		// Cookie settings - used in following functions only
+		$this->cookie_name = $BRIDGE['cookie_prefix'];
+		
+		// Connect to db
+		$this->connect();
+	}
+
+	function collect_groups()
+	{
+		$sql ="SELECT * FROM {$this->groupstable} WHERE group_single_user = 0";
+	
+		$result = cpg_db_query($sql, $this->link_id);
+		
+		$udb_groups = array(102 =>'Administrators', 2=> 'Registered', 3=>'Guests', 4=> 'Banned');
+			
+		while ($row = mysql_fetch_assoc($result))
+		{
+			$udb_groups[$row[$this->field['grouptbl_group_id']]+100] = utf_ucfirst(utf_strtolower($row[$this->field['grouptbl_group_name']]));
+		}
+
+		return $udb_groups;
+		
+	}
+	// definition of how to extract id, name, group from a session cookie
+	function session_extraction()
+	{
+		if (isset($_COOKIE[$this->cookie_name . '_sid'])) {
+			$this->sid = addslashes($_COOKIE[$this->cookie_name . '_sid']);
+
+			$sql = "SELECT u.{$this->field['user_id']} AS user_id, u.{$this->field['password']} AS password, u.user_level FROM {$this->usertable} AS u, {$this->sessionstable} AS s WHERE u.{$this->field['user_id']}=s.session_user_id AND s.session_id = '{$this->sid}' AND u.user_id > 0";
+			$result = cpg_db_query($sql, $this->link_id);
+
+			if (mysql_num_rows($result)){
+				$row = mysql_fetch_array($result);
+				$this->userlevel = $row['user_level'];
+				return $row;
+			} else {
+			    return false;
+			}
+		}
+	}
+	
+	// Get groups of which user is member
+	function get_groups($row)
+	{
+		$data = array();
+		
+		if ($this->use_post_based_groups){
+
+			$sql = "SELECT ug.{$this->field['usertbl_group_id']}+100 AS group_id FROM {$this->usertable} AS u, {$this->usergroupstable} AS ug, {$this->groupstable} as g WHERE u.{$this->field['user_id']}=ug.{$this->field['user_id']} AND u.{$this->field['user_id']}='{$row['id']}' AND g.{$this->field['grouptbl_group_id']} = ug.{$this->field['grouptbl_group_id']} AND  group_single_user = 0";
+
+			$result = cpg_db_query($sql, $this->link_id);
+
+			while ($row2 = mysql_fetch_array($result)) {
+				$data[] = $row2['group_id'];
+			}
+
+			if ($this->userlevel == 1 || in_array($row[$this->field['usertbl_group_id']] , $this->admingroups)) array_unshift($data, 102);
+			if ($this->userlevel == 0 || $this->userlevel == 2) array_unshift($data, 2);
+		} else {
+			$data[0] = ($this->userlevel == 1 || in_array($row[$this->field['usertbl_group_id']] , $this->admingroups)) ? 1 : 2;
+		}
+		
+		return $data;
+	}
+	
+	// definition of how to extract an id and password hash from a cookie
+	function cookie_extraction()
+	{
+	    $id = 0;
+		$pass = '';
+
+        if (isset($_COOKIE[$this->cookie_name.'_data'])){
+			$sessiondata = unserialize($_COOKIE[$this->cookie_name.'_data']);
+			$cookieid = $sessiondata['userid'] > 1 ? intval($sessiondata['userid']) : 0;
+			$cookiepass = (isset($sessiondata['autologinid'])) ? addslashes($sessiondata['autologinid']) : '';
+			if (!$cookiepass) return false;
+			$sql = "SELECT u.user_id, u.user_password, u.user_level FROM {$this->sessionskeystable} AS s 
+							INNER JOIN {$this->usertable} AS u ON s.user_id = u.user_id WHERE u.user_id = '$cookieid' AND u.user_active = 1 AND s.key_id = MD5('$cookiepass')";
+			$result = cpg_db_query($sql, $this->link_id);
+			list($id, $pass, $this->userlevel) = mysql_fetch_row($result);
+			$this->sid = 0;
+		}
+		
+		return ($id) ? array($id, $pass) : false;
+	}
+	
+	// definition of actions required to convert a password from user database form to cookie form
+	function udb_hash_db($password)
+	{
+		return $password; // unused
+	}
+
+	function login_page()
+	{
+		global $CONFIG;
+		
+		$cpg = parse_url($CONFIG['site_url']);
+		$bb = parse_url($this->boardurl);
+		$levels = count(explode('/', $bb['path'])) - 1;
+		$redirect = str_repeat('../', $levels) . trim($cpg['path'], '/') . '/';
+
+		$this->redirect("/login.php?redirect=$redirect");
+	}
+
+	function logout_page()
+	{
+		global $CONFIG;
+		
+		$cpg = parse_url($CONFIG['site_url']);
+		$bb = parse_url($this->boardurl);
+		$levels = count(explode('/', $bb['path'])) - 1;
+		$redirect = str_repeat('../', $levels) . trim($cpg['path'], '/') . '/';
+		
+		$this->redirect("/login.php?logout=true&sid={$this->sid}&redirect=$redirect");
+	}
+
+	function view_users() {}
+	function view_profile() {}
+	
+	function get_users($options = array())
+    {
+    	global $CONFIG;
+		
+		// Copy UDB fields and config variables (just to make it easier to read)
+    	$f =& $this->field;
+		$C =& $CONFIG;
+		
+		// Sort codes - global this in usermgr.php in 1.5
+        $sort_codes = array('name_a' => 'user_name ASC',
+                            'name_d' => 'user_name DESC',
+                            'group_a' => 'group_name ASC',
+                            'group_d' => 'group_name DESC',
+                            'reg_a' => 'user_regdate ASC',
+                            'reg_d' => 'user_regdate DESC',
+                            'pic_a' => 'pic_count ASC',
+                            'pic_d' => 'pic_count DESC',
+                            'disku_a' => 'disk_usage ASC',
+                            'disku_d' => 'disk_usage DESC',
+                            'lv_a' => 'user_lastvisit ASC',
+                            'lv_d' => 'user_lastvisit DESC',
+                           );
+        
+		$sql = "SELECT group_id, group_name, group_quota FROM {$C['TABLE_USERGROUPS']}";
+
+		$result = cpg_db_query($sql);
+		
+		$groups = $quotas = array();
+	
+		while ($row = mysql_fetch_assoc($result)) {
+			$groups[$row['group_id']] = $row['group_name'];
+			$quotas[$row['group_id']] = $row['group_quota'];
+		}
+		
+		if (in_array($options['sort'], array('group_a', 'group_d', 'pic_a', 'pic_d', 'disku_a', 'disku_d'))){
+			
+			$sort = '';
+			list($this->sortfield, $this->sortdir) = explode(' ', $sort_codes[$options['sort']]);
+			$this->adv_sort = true;
+			
+		} else {
+			
+			$sort = "ORDER BY " . $sort_codes[$options['sort']];
+			$this->adv_sort = false;
+		}
+
+		// Build WHERE clause, if this is a username search
+        if ($options['search']) {
+            $options['search'] = 'AND u.'.$f['username'].' LIKE "'.$options['search'].'" ';
+        }
+		
+		// Main array to hold our user data
+		$userlist = array();
+		
+		// These sorting methods need the cpg pics table, do that first
+		if (in_array($options['sort'], array('pic_a', 'pic_d', 'disku_a', 'disku_d'))){
+			
+			$sql = "SELECT owner_id, COUNT(pid) as pic_count, ROUND(SUM(total_filesize)/1024) as disk_usage FROM {$C['TABLE_PICTURES']} WHERE owner_id <> 0 GROUP BY owner_id ORDER BY {$sort_codes[$options['sort']]} LIMIT {$options['lower_limit']}, {$options['users_per_page']}";
+			$result = cpg_db_query($sql);
+			
+			// If no records, return empty value
+			if (!mysql_num_rows($result)) {
+				return array();
+			}
+		
+			while ($row = mysql_fetch_assoc($result)) $userlist[$row['owner_id']] = $row;
+			mysql_free_result($result);
+
+			$user_list_string = implode(', ', array_keys($userlist));
+
+			$sql = "SELECT u.{$f['user_id']} as user_id, u.user_level, {$f['username']} as user_name, {$f['email']} as user_email, {$f['regdate']} as user_regdate, {$f['lastvisit']} as user_lastvisit ".
+               "FROM {$this->usertable} AS u ".
+               "WHERE u.{$f['user_id']} IN ($user_list_string) GROUP BY u.{$f['user_id']}";
+		
+			$result = cpg_db_query($sql, $this->link_id);
+		
+			// If no records, return empty value
+			if (!mysql_num_rows($result)) {
+				return array();
+			}
+		
+			while ($row = mysql_fetch_assoc($result)) $userlist[$row['user_id']] = array_merge($userlist[$row['user_id']], $row);
+			mysql_free_result($result);
+
+		} else {
+		
+			$sql = "SELECT u.{$f['user_id']} as user_id, u.user_level, {$f['username']} as user_name, {$f['email']} as user_email, {$f['regdate']} as user_regdate, {$f['lastvisit']} as user_lastvisit, 0 as pic_count ".
+               "FROM {$this->usertable} AS u ".
+               "WHERE u.{$f['user_id']} > 0 " . $options['search'].
+               "GROUP BY u.{$f['user_id']} " . $sort . 
+			   " LIMIT {$options['lower_limit']}, {$options['users_per_page']}";
+		
+			$result = cpg_db_query($sql, $this->link_id);
+		
+			// If no records, return empty value
+			if (!mysql_num_rows($result)) {
+				return array();
+			}
+		
+			while ($row = mysql_fetch_assoc($result)) $userlist[$row['user_id']] = $row;
+			mysql_free_result($result);
+			
+			$user_list_string = implode(', ', array_keys($userlist));
+		
+			$sql = "SELECT owner_id, COUNT(pid) as pic_count, ROUND(SUM(total_filesize)/1024) as disk_usage FROM {$C['TABLE_PICTURES']} WHERE owner_id IN ($user_list_string) GROUP BY owner_id";
+
+			$result = cpg_db_query($sql);
+
+			while ($owner = mysql_fetch_assoc($result)) $userlist[$owner['owner_id']] = array_merge($userlist[$owner['owner_id']], $owner);
+		}
+		
+		foreach ($userlist as $uid => $user){
+			
+			$grps = array();
+		
+			if ($this->use_post_based_groups){
+	
+				$sql = "SELECT ug.{$this->field['usertbl_group_id']}+100 AS group_id FROM 
+					{$this->usertable} AS u, 
+					{$this->usergroupstable} AS ug, 
+					{$this->groupstable} as g 
+					WHERE u.{$this->field['user_id']}=ug.{$this->field['user_id']} 
+					AND u.{$this->field['user_id']}='$uid' 
+					AND g.{$this->field['grouptbl_group_id']} = ug.{$this->field['grouptbl_group_id']} 
+					AND  group_single_user = 0";
+	
+				$result = cpg_db_query($sql, $this->link_id);
+	
+				while ($row2 = mysql_fetch_array($result)) {
+					$grps[] = $row2['group_id'];
+				}
+	
+				if ($user['user_level'] == 1 || in_array($row[$this->field['usertbl_group_id']] , $this->admingroups)) array_unshift($grps, 102);
+				if ($user['user_level']  == 0 || $user['user_level']  == 2) array_unshift($grps, 2);
+			} else {
+				$grps[0] = ($user['user_level']  == 1 || in_array($row[$this->field['usertbl_group_id']] , $this->admingroups)) ? 1 : 2;
+			}
+	
+			$groupnames = $q = array();
+			
+			foreach ($grps as $gid){
+				$groupnames[] = $groups[$gid];
+				$q[] = $quotas[$gid];
+			}
+			
+			sort($groupnames);
+			
+			$userlist[$uid]['group_name'] = implode('<br />' ,$groupnames); 
+			$userlist[$uid]['group_quota'] = max($q);
+		}
+		
+		foreach ($userlist as $uid => $user) if (!isset($user['user_name'])) unset($userlist[$uid]);
+
+		if ($this->adv_sort) usort($userlist, array('core_udb', 'adv_sort'));
+
+        return $userlist;
+    }
+}
+
+// and go !
+$cpg_udb = new phpbb2018_udb;
 ?>
\ No newline at end of file
diff -x .svn -aruN 1.4.24.src/bridge/phpbb22.inc.php 1.4.25.src/bridge/phpbb22.inc.php
--- 1.4.24.src/bridge/phpbb22.inc.php	2009-05-21 15:03:09.000000000 -0500
+++ 1.4.25.src/bridge/phpbb22.inc.php	2009-05-26 11:25:52.000000000 -0500
@@ -1,183 +1,183 @@
-<?php
-/*************************
-  Coppermine Photo Gallery
-  ************************
-  Copyright (c) 2003-2009 Coppermine Dev Team
-  v1.1 originally written by Gregory DEMAR
-
-  This program is free software; you can redistribute it and/or modify
-  it under the terms of the GNU General Public License version 3
-  as published by the Free Software Foundation.
-  
-  ********************************************
-  Coppermine version: 1.4.24
-  $HeadURL: https://coppermine.svn.sourceforge.net/svnroot/coppermine/trunk/cpg1.4.x/bridge/phpbb22.inc.php $
-  $Revision: 5969 $
-  $Author: gaugau $
-  $Date: 2009-05-21 22:03:33 +0200 (Do, 21 Mai 2009) $
-**********************************************/
-
-/* 
-
-Login redirection:
-
-edit phpbb file: ucp.php
-
-find: login_box("index.$phpEx$SID");
-change to login_box(request_var('redirect', "index.$phpEx$SID"));
-
-
-Logout redirection:
-
-edit phpbb file ucp.php
-
-find: meta_refresh(3, "index.$phpEx$SID");
-change to : meta_refresh(3, request_var('redirect', "index.$phpEx$SID"));
-
-*/
-
-if (!defined('IN_COPPERMINE')) die('Not in Coppermine...');
-
-// Switch that allows overriding the bridge manager with hard-coded values
-define('USE_BRIDGEMGR', 1);
-
-require_once 'bridge/udb_base.inc.php';
-
-class cpg_udb extends core_udb {
-
-	function cpg_udb()
-	{
-		global $BRIDGE;
-		
-		if (!USE_BRIDGEMGR) { // the vars that are used when bridgemgr is disabled
-
-			// URL of your punbb
-			$this->boardurl = 'http://localhost/phpBB2';
-
-			// local path to your punbb config file
-			require_once('../phpBB2/config.php');
-
-		} else { // the vars from the bridgemgr
-			$this->boardurl = $BRIDGE['full_forum_url'];
-			require_once($BRIDGE['relative_path_to_config_file'] . 'config.php');
-		}
-		
-		// Database connection settings
-		$this->db = array(
-			'name' => $dbname,
-			'host' => $dbhost ? $dbhost : 'localhost',
-			'user' => $dbuser,
-			'password' => $dbpasswd,
-			'prefix' =>$table_prefix
-		);
-		
-		// Board table names
-		$this->table = array(
-			'users' => 'users',
-			'groups' => 'groups',
-			'sessions' => 'sessions'
-		);
-
-		// Derived full table names
-		$this->usertable = '`' . $this->db['name'] . '`.' . $this->db['prefix'] . $this->table['users'];
-		$this->groupstable =  '`' . $this->db['name'] . '`.' . $this->db['prefix'] . $this->table['groups'];
-		$this->sessionstable =  '`' . $this->db['name'] . '`.' . $this->db['prefix'] . $this->table['sessions'];
-		
-		// Table field names
-		$this->field = array(
-			'username' => 'username', // name of 'username' field in users table
-			'user_id' => 'user_id', // name of 'id' field in users table
-			'password' => 'user_password', // name of 'password' field in users table
-			'email' => 'user_email', // name of 'email' field in users table
-			'regdate' => 'user_regdate', // name of 'registered' field in users table
-			'active' => 'user_active', // is user account active?
-			'lastvisit' => 'user_lastvisit', // name of 'location' field in users table
-			'location' => 'user_from', // name of 'location' field in users table
-			'website' => 'user_website', // name of 'website' field in users table
-			'usertbl_group_id' => 'group_id', // name of 'group id' field in users table
-			'grouptbl_group_id' => 'group_id', // name of 'group id' field in groups table
-			'grouptbl_group_name' => 'group_name' // name of 'group name' field in groups table
-		);
-		
-		// Pages to redirect to
-		$this->page = array(
-			'register' => '/ucp.php?mode=register',
-			'editusers' => '/memberlist.php',
-			'edituserprofile' => "/memberlist.php?mode=viewprofile&u=",
-		);
-
-		// Group ids
-		$this->admingroups = array(7);
-		$this->guestgroup = 1;
-		
-		// Cookie settings - used in following functions only
-		$this->cookie_name = $BRIDGE['cookie_prefix'];
-		$this->cookie_seed = '';
-		
-		// Connect to db
-		$this->connect();
-	}
-
-	// definition of how to extract id, name, group from a session cookie
-	function session_extraction()
-	{
-		if (isset($_COOKIE[$this->cookie_name . '_sid'])) {
-			$session_id = addslashes($_COOKIE[$this->cookie_name . '_sid']);
-			
-			$sql = "SELECT user_id, username, group_id FROM {$this->sessionstable} INNER JOIN {$this->usertable} ON session_user_id = user_id WHERE session_id='$session_id';"; // AND session_user_id ='$cookie_id'"; (Maybe session_id is unique enough?)
-			
-			$result = cpg_db_query($sql, $this->link_id);
-			
-			if (mysql_num_rows($result)){
-				$row = mysql_fetch_array($result);
-				return $row;
-			} else {
-			    return false;
-			}
-		}
-	}
-	
-	// definition of how to extract an id and password hash from a cookie
-	function cookie_extraction()
-	{
-	    $id = 0;
-		$pass = '';
-
-        if (isset($_COOKIE[$this->cookie_name.'_data'])){
-			$sessiondata = unserialize($_COOKIE[$this->cookie_name.'_data']);
-			$id = $sessiondata['userid'] > 1 ? intval($sessiondata['userid']) : 0;
-            $pass = (isset($sessiondata['autologinid'])) ? addslashes($sessiondata['autologinid']) : '';
-		}
-	
-		return ($id) ? array($id, $pass) : false;
-	}
-	
-	// definition of actions required to convert a password from user database form to cookie form
-	function udb_hash_db($password)
-	{
-		return $password; // unused
-	}
-	
-	function login_page()
-	{
-		global $CONFIG;
-		
-		$redirect = urlencode($CONFIG['site_url']);
-		$this->redirect("/ucp.php?mode=login&redirect=$redirect");
-	}
-
-	function logout_page()
-	{
-		global $CONFIG;
-		
-		$redirect = urlencode($CONFIG['site_url']);
-        $this->redirect("/ucp.php?mode=logout&redirect=$redirect");
-	}
-
-	function view_users() {}
-	function view_profile() {}
-}
-
-// and go !
-$cpg_udb = new cpg_udb;
-?>
+<?php
+/*************************
+  Coppermine Photo Gallery
+  ************************
+  Copyright (c) 2003-2009 Coppermine Dev Team
+  v1.1 originally written by Gregory DEMAR
+
+  This program is free software; you can redistribute it and/or modify
+  it under the terms of the GNU General Public License version 3
+  as published by the Free Software Foundation.
+  
+  ********************************************
+  Coppermine version: 1.4.25
+  $HeadURL: https://coppermine.svn.sourceforge.net/svnroot/coppermine/trunk/cpg1.4.x/bridge/phpbb22.inc.php $
+  $Revision: 5997 $
+  $Author: gaugau $
+  $Date: 2009-05-26 08:43:24 +0200 (Di, 26 Mai 2009) $
+**********************************************/
+
+/* 
+
+Login redirection:
+
+edit phpbb file: ucp.php
+
+find: login_box("index.$phpEx$SID");
+change to login_box(request_var('redirect', "index.$phpEx$SID"));
+
+
+Logout redirection:
+
+edit phpbb file ucp.php
+
+find: meta_refresh(3, "index.$phpEx$SID");
+change to : meta_refresh(3, request_var('redirect', "index.$phpEx$SID"));
+
+*/
+
+if (!defined('IN_COPPERMINE')) die('Not in Coppermine...');
+
+// Switch that allows overriding the bridge manager with hard-coded values
+define('USE_BRIDGEMGR', 1);
+
+require_once 'bridge/udb_base.inc.php';
+
+class cpg_udb extends core_udb {
+
+	function cpg_udb()
+	{
+		global $BRIDGE;
+		
+		if (!USE_BRIDGEMGR) { // the vars that are used when bridgemgr is disabled
+
+			// URL of your punbb
+			$this->boardurl = 'http://localhost/phpBB2';
+
+			// local path to your punbb config file
+			require_once('../phpBB2/config.php');
+
+		} else { // the vars from the bridgemgr
+			$this->boardurl = $BRIDGE['full_forum_url'];
+			require_once($BRIDGE['relative_path_to_config_file'] . 'config.php');
+		}
+		
+		// Database connection settings
+		$this->db = array(
+			'name' => $dbname,
+			'host' => $dbhost ? $dbhost : 'localhost',
+			'user' => $dbuser,
+			'password' => $dbpasswd,
+			'prefix' =>$table_prefix
+		);
+		
+		// Board table names
+		$this->table = array(
+			'users' => 'users',
+			'groups' => 'groups',
+			'sessions' => 'sessions'
+		);
+
+		// Derived full table names
+		$this->usertable = '`' . $this->db['name'] . '`.' . $this->db['prefix'] . $this->table['users'];
+		$this->groupstable =  '`' . $this->db['name'] . '`.' . $this->db['prefix'] . $this->table['groups'];
+		$this->sessionstable =  '`' . $this->db['name'] . '`.' . $this->db['prefix'] . $this->table['sessions'];
+		
+		// Table field names
+		$this->field = array(
+			'username' => 'username', // name of 'username' field in users table
+			'user_id' => 'user_id', // name of 'id' field in users table
+			'password' => 'user_password', // name of 'password' field in users table
+			'email' => 'user_email', // name of 'email' field in users table
+			'regdate' => 'user_regdate', // name of 'registered' field in users table
+			'active' => 'user_active', // is user account active?
+			'lastvisit' => 'user_lastvisit', // name of 'location' field in users table
+			'location' => 'user_from', // name of 'location' field in users table
+			'website' => 'user_website', // name of 'website' field in users table
+			'usertbl_group_id' => 'group_id', // name of 'group id' field in users table
+			'grouptbl_group_id' => 'group_id', // name of 'group id' field in groups table
+			'grouptbl_group_name' => 'group_name' // name of 'group name' field in groups table
+		);
+		
+		// Pages to redirect to
+		$this->page = array(
+			'register' => '/ucp.php?mode=register',
+			'editusers' => '/memberlist.php',
+			'edituserprofile' => "/memberlist.php?mode=viewprofile&u=",
+		);
+
+		// Group ids
+		$this->admingroups = array(7);
+		$this->guestgroup = 1;
+		
+		// Cookie settings - used in following functions only
+		$this->cookie_name = $BRIDGE['cookie_prefix'];
+		$this->cookie_seed = '';
+		
+		// Connect to db
+		$this->connect();
+	}
+
+	// definition of how to extract id, name, group from a session cookie
+	function session_extraction()
+	{
+		if (isset($_COOKIE[$this->cookie_name . '_sid'])) {
+			$session_id = addslashes($_COOKIE[$this->cookie_name . '_sid']);
+			
+			$sql = "SELECT user_id, username, group_id FROM {$this->sessionstable} INNER JOIN {$this->usertable} ON session_user_id = user_id WHERE session_id='$session_id';"; // AND session_user_id ='$cookie_id'"; (Maybe session_id is unique enough?)
+			
+			$result = cpg_db_query($sql, $this->link_id);
+			
+			if (mysql_num_rows($result)){
+				$row = mysql_fetch_array($result);
+				return $row;
+			} else {
+			    return false;
+			}
+		}
+	}
+	
+	// definition of how to extract an id and password hash from a cookie
+	function cookie_extraction()
+	{
+	    $id = 0;
+		$pass = '';
+
+        if (isset($_COOKIE[$this->cookie_name.'_data'])){
+			$sessiondata = unserialize($_COOKIE[$this->cookie_name.'_data']);
+			$id = $sessiondata['userid'] > 1 ? intval($sessiondata['userid']) : 0;
+            $pass = (isset($sessiondata['autologinid'])) ? addslashes($sessiondata['autologinid']) : '';
+		}
+	
+		return ($id) ? array($id, $pass) : false;
+	}
+	
+	// definition of actions required to convert a password from user database form to cookie form
+	function udb_hash_db($password)
+	{
+		return $password; // unused
+	}
+	
+	function login_page()
+	{
+		global $CONFIG;
+		
+		$redirect = urlencode($CONFIG['site_url']);
+		$this->redirect("/ucp.php?mode=login&redirect=$redirect");
+	}
+
+	function logout_page()
+	{
+		global $CONFIG;
+		
+		$redirect = urlencode($CONFIG['site_url']);
+        $this->redirect("/ucp.php?mode=logout&redirect=$redirect");
+	}
+
+	function view_users() {}
+	function view_profile() {}
+}
+
+// and go !
+$cpg_udb = new cpg_udb;
+?>
diff -x .svn -aruN 1.4.24.src/bridge/phpbb.inc.php 1.4.25.src/bridge/phpbb.inc.php
--- 1.4.24.src/bridge/phpbb.inc.php	2009-05-21 15:03:09.000000000 -0500
+++ 1.4.25.src/bridge/phpbb.inc.php	2009-05-26 11:25:52.000000000 -0500
@@ -1,375 +1,375 @@
-<?php
-/*************************
-  Coppermine Photo Gallery
-  ************************
-  Copyright (c) 2003-2009 Coppermine Dev Team
-  v1.1 originally written by Gregory DEMAR
-
-  This program is free software; you can redistribute it and/or modify
-  it under the terms of the GNU General Public License version 3
-  as published by the Free Software Foundation.
-  
-  ********************************************
-  Coppermine version: 1.4.24
-  $HeadURL: https://coppermine.svn.sourceforge.net/svnroot/coppermine/trunk/cpg1.4.x/bridge/phpbb.inc.php $
-  $Revision: 5969 $
-  $Author: gaugau $
-  $Date: 2009-05-21 22:03:33 +0200 (Do, 21 Mai 2009) $
-**********************************************/
-
-if (!defined('IN_COPPERMINE')) die('Not in Coppermine...');
-
-// Switch that allows overriding the bridge manager with hard-coded values
-define('USE_BRIDGEMGR', 1);
-
-require_once 'bridge/udb_base.inc.php';
-
-class phpbb_udb extends core_udb {
-
-	function phpbb_udb()
-	{
-		global $BRIDGE;
-		
-		if (!USE_BRIDGEMGR) {
-			$this->boardurl = 'http://www.yousite.com/phpBB2';
-			require_once('../phpBB2/config.php');
-
-		} else {
-			$this->boardurl = $BRIDGE['full_forum_url'];
-			require_once($BRIDGE['relative_path_to_config_file'] . 'config.php');
-			$this->use_post_based_groups = $BRIDGE['use_post_based_groups'];
-		}
-		
-		$this->multigroups = 1;
-		
-		// Database connection settings
-		$this->db = array(
-			'name' => $dbname,
-			'host' => $dbhost ? $dbhost : 'localhost',
-			'user' => $dbuser,
-			'password' => $dbpasswd,
-			'prefix' =>$table_prefix
-		);
-		
-		// Board table names
-		$this->table = array(
-			'users' => 'users',
-			'groups' => 'groups',
-			'sessions' => 'sessions',
-			'usergroups' => 'user_group'
-		);
-
-		// Derived full table names
-		$this->usertable = '`' . $this->db['name'] . '`.' . $this->db['prefix'] . $this->table['users'];
-		$this->groupstable =  '`' . $this->db['name'] . '`.' . $this->db['prefix'] . $this->table['groups'];
-		$this->sessionstable =  '`' . $this->db['name'] . '`.' . $this->db['prefix'] . $this->table['sessions'];
-		$this->usergroupstable = '`' . $this->db['name'] . '`.' . $this->db['prefix'] . $this->table['usergroups'];
-		
-		// Table field names
-		$this->field = array(
-			'username' => 'username', // name of 'username' field in users table
-			'user_id' => 'user_id', // name of 'id' field in users table
-			'password' => 'user_password', // name of 'password' field in users table
-			'email' => 'user_email', // name of 'email' field in users table
-			'regdate' => 'user_regdate', // name of 'registered' field in users table
-			'active' => 'user_active', // is user account active?
-			'lastvisit' => 'user_lastvisit', // name of 'location' field in users table
-			'location' => 'user_from', // name of 'location' field in users table
-			'website' => 'user_website', // name of 'website' field in users table
-			'usertbl_group_id' => 'group_id', // name of 'group id' field in users table
-			'grouptbl_group_id' => 'group_id', // name of 'group id' field in groups table
-			'grouptbl_group_name' => 'group_name' // name of 'group name' field in groups table
-		);
-		
-		// Pages to redirect to
-		$this->page = array(
-			'register' => '/profile.php?mode=register',
-			'editusers' => '/memberlist.php',
-			'edituserprofile' => "/memberlist.php?mode=viewprofile&u=",
-		);
-		
-		// Group ids - admin and guest only.
-		$this->admingroups = array(2);
-		$this->guestgroup = $this->use_post_based_groups ? 3 : 3;
-		
-		// Use a special function to collect groups for cpg groups table
-		$this->group_overrride = 1;
-		
-		// Cookie settings - used in following functions only
-		$this->cookie_name = $BRIDGE['cookie_prefix'];
-		
-		// Connect to db
-		$this->connect();
-	}
-
-	function collect_groups()
-	{
-		$sql ="SELECT * FROM {$this->groupstable} WHERE group_single_user = 0";
-	
-		$result = cpg_db_query($sql, $this->link_id);
-		
-		$udb_groups = array(102 =>'Administrators', 2=> 'Registered', 3=>'Guests', 4=> 'Banned');
-			
-		while ($row = mysql_fetch_assoc($result))
-		{
-			$udb_groups[$row[$this->field['grouptbl_group_id']]+100] = utf_ucfirst(utf_strtolower($row[$this->field['grouptbl_group_name']]));
-		}
-
-		return $udb_groups;
-		
-	}
-	// definition of how to extract id, name, group from a session cookie
-	function session_extraction()
-	{
-		if (isset($_COOKIE[$this->cookie_name . '_sid'])) {			
-			$session_id = addslashes($_COOKIE[$this->cookie_name . '_sid']);
-
-			$sql = "SELECT u.{$this->field['user_id']} AS user_id, u.{$this->field['password']} AS password, u.user_level FROM {$this->usertable} AS u, {$this->sessionstable} AS s WHERE u.{$this->field['user_id']}=s.session_user_id AND s.session_id = '$session_id' AND u.user_id > 0";
-			
-			$result = cpg_db_query($sql, $this->link_id);
-
-			if (mysql_num_rows($result)){
-				$row = mysql_fetch_array($result);
-				$this->userlevel = $row['user_level'];
-				return $row;
-			} else {
-			    return false;
-			}
-		}
-	}
-	
-	// Get groups of which user is member
-	function get_groups($row)
-	{
-		$data = array();
-		
-		if ($this->use_post_based_groups){
-
-			$sql = "SELECT ug.{$this->field['usertbl_group_id']}+100 AS group_id FROM {$this->usertable} AS u, {$this->usergroupstable} AS ug, {$this->groupstable} as g WHERE u.{$this->field['user_id']}=ug.{$this->field['user_id']} AND u.{$this->field['user_id']}='{$row['id']}' AND g.{$this->field['grouptbl_group_id']} = ug.{$this->field['grouptbl_group_id']}";
-
-			$result = cpg_db_query($sql, $this->link_id);
-
-			while ($row2 = mysql_fetch_array($result)) {
-				$data[] = $row2['group_id'];
-			}
-
-			if ($this->userlevel == 1 || in_array($row[$this->field['usertbl_group_id']] , $this->admingroups)) array_unshift($data, 102);
-			if ($this->userlevel == 0) array_unshift($data, 2);
-		} else {
-			$data[0] = ($this->userlevel == 1 || in_array($row[$this->field['usertbl_group_id']] , $this->admingroups)) ? 1 : 2;
-		}
-		
-		return $data;
-	}
-	
-	// definition of how to extract an id and password hash from a cookie
-	function cookie_extraction()
-	{
-	    $id = 0;
-		$pass = '';
-
-        if (isset($_COOKIE[$this->cookie_name.'_data'])){
-			$sessiondata = unserialize($_COOKIE[$this->cookie_name.'_data']);
-			$id = $sessiondata['userid'] > 1 ? intval($sessiondata['userid']) : 0;
-            $pass = (isset($sessiondata['autologinid'])) ? addslashes($sessiondata['autologinid']) : '';
-		}
-		
-		return ($id) ? array($id, $pass) : false;
-	}
-	
-	// definition of actions required to convert a password from user database form to cookie form
-	function udb_hash_db($password)
-	{
-		return $password; // unused
-	}
-
-	function login_page()
-	{
-		global $CONFIG;
-		
-		$cpg = parse_url($CONFIG['site_url']);
-		$bb = parse_url($this->boardurl);
-		$levels = count(explode('/', $bb['path'])) - 1;
-		$redirect = str_repeat('../', $levels) . trim($cpg['path'], '/') . '/';
-
-		$this->redirect("/login.php?redirect=$redirect");
-	}
-
-	function logout_page()
-	{
-		global $CONFIG;
-		
-		$cpg = parse_url($CONFIG['site_url']);
-		$bb = parse_url($this->boardurl);
-		$levels = count(explode('/', $bb['path'])) - 1;
-		$redirect = str_repeat('../', $levels) . trim($cpg['path'], '/') . '/';
-		
-		$this->redirect("/login.php?logout=true&sid={$this->sid}&redirect=$redirect");
-	}
-
-	function view_users() {}
-	function view_profile() {}
-	
-	function get_users($options = array())
-    {
-    	global $CONFIG;
-		
-		// Copy UDB fields and config variables (just to make it easier to read)
-    	$f =& $this->field;
-		$C =& $CONFIG;
-		
-		// Sort codes - global this in usermgr.php in 1.5
-        $sort_codes = array('name_a' => 'user_name ASC',
-                            'name_d' => 'user_name DESC',
-                            'group_a' => 'group_name ASC',
-                            'group_d' => 'group_name DESC',
-                            'reg_a' => 'user_regdate ASC',
-                            'reg_d' => 'user_regdate DESC',
-                            'pic_a' => 'pic_count ASC',
-                            'pic_d' => 'pic_count DESC',
-                            'disku_a' => 'disk_usage ASC',
-                            'disku_d' => 'disk_usage DESC',
-                            'lv_a' => 'user_lastvisit ASC',
-                            'lv_d' => 'user_lastvisit DESC',
-                           );
-        
-		$sql = "SELECT group_id, group_name, group_quota FROM {$C['TABLE_USERGROUPS']}";
-
-		$result = cpg_db_query($sql);
-		
-		$groups = $quotas = array();
-	
-		while ($row = mysql_fetch_assoc($result)) {
-			$groups[$row['group_id']] = $row['group_name'];
-			$quotas[$row['group_id']] = $row['group_quota'];
-		}
-		
-		if (in_array($options['sort'], array('group_a', 'group_d', 'pic_a', 'pic_d', 'disku_a', 'disku_d'))){
-			
-			$sort = '';
-			list($this->sortfield, $this->sortdir) = explode(' ', $sort_codes[$options['sort']]);
-			$this->adv_sort = true;
-			
-		} else {
-			
-			$sort = "ORDER BY " . $sort_codes[$options['sort']];
-			$this->adv_sort = false;
-		}
-
-		// Build WHERE clause, if this is a username search
-        if ($options['search']) {
-            $options['search'] = 'AND u.'.$f['username'].' LIKE "'.$options['search'].'" ';
-        }
-		
-		// Main array to hold our user data
-		$userlist = array();
-		
-		// These sorting methods need the cpg pics table, do that first
-		if (in_array($options['sort'], array('pic_a', 'pic_d', 'disku_a', 'disku_d'))){
-			
-			$sql = "SELECT owner_id, COUNT(pid) as pic_count, ROUND(SUM(total_filesize)/1024) as disk_usage FROM {$C['TABLE_PICTURES']} WHERE owner_id <> 0 GROUP BY owner_id ORDER BY {$sort_codes[$options['sort']]} LIMIT {$options['lower_limit']}, {$options['users_per_page']}";
-			$result = cpg_db_query($sql);
-			
-			// If no records, return empty value
-			if (!mysql_num_rows($result)) {
-				return array();
-			}
-		
-			while ($row = mysql_fetch_assoc($result)) $userlist[$row['owner_id']] = $row;
-			mysql_free_result($result);
-
-			$user_list_string = implode(', ', array_keys($userlist));
-
-			$sql = "SELECT u.{$f['user_id']} as user_id, u.user_level, {$f['username']} as user_name, {$f['email']} as user_email, {$f['regdate']} as user_regdate, {$f['lastvisit']} as user_lastvisit ".
-               "FROM {$this->usertable} AS u ".
-               "WHERE u.{$f['user_id']} IN ($user_list_string) GROUP BY u.{$f['user_id']}";
-		
-			$result = cpg_db_query($sql, $this->link_id);
-		
-			// If no records, return empty value
-			if (!mysql_num_rows($result)) {
-				return array();
-			}
-		
-			while ($row = mysql_fetch_assoc($result)) $userlist[$row['user_id']] = array_merge($userlist[$row['user_id']], $row);
-			mysql_free_result($result);
-
-		} else {
-		
-			$sql = "SELECT u.{$f['user_id']} as user_id, u.user_level, {$f['username']} as user_name, {$f['email']} as user_email, {$f['regdate']} as user_regdate, {$f['lastvisit']} as user_lastvisit, 0 as pic_count ".
-               "FROM {$this->usertable} AS u ".
-               "WHERE u.{$f['user_id']} > 0 " . $options['search'].
-               "GROUP BY u.{$f['user_id']} " . $sort . 
-			   " LIMIT {$options['lower_limit']}, {$options['users_per_page']}";
-		
-			$result = cpg_db_query($sql, $this->link_id);
-		
-			// If no records, return empty value
-			if (!mysql_num_rows($result)) {
-				return array();
-			}
-		
-			while ($row = mysql_fetch_assoc($result)) $userlist[$row['user_id']] = $row;
-			mysql_free_result($result);
-			
-			$user_list_string = implode(', ', array_keys($userlist));
-		
-			$sql = "SELECT owner_id, COUNT(pid) as pic_count, ROUND(SUM(total_filesize)/1024) as disk_usage FROM {$C['TABLE_PICTURES']} WHERE owner_id IN ($user_list_string) GROUP BY owner_id";
-
-			$result = cpg_db_query($sql);
-
-			while ($owner = mysql_fetch_assoc($result)) $userlist[$owner['owner_id']] = array_merge($userlist[$owner['owner_id']], $owner);
-		}
-		
-		foreach ($userlist as $uid => $user){
-			
-			$grps = array();
-		
-			if ($this->use_post_based_groups){
-	
-				$sql = "SELECT ug.{$this->field['usertbl_group_id']}+100 AS group_id FROM 
-					{$this->usertable} AS u, 
-					{$this->usergroupstable} AS ug, 
-					{$this->groupstable} as g 
-					WHERE u.{$this->field['user_id']}=ug.{$this->field['user_id']} 
-					AND u.{$this->field['user_id']}='$uid' 
-					AND g.{$this->field['grouptbl_group_id']} = ug.{$this->field['grouptbl_group_id']} 
-					AND  group_single_user = 0";
-	
-				$result = cpg_db_query($sql, $this->link_id);
-	
-				while ($row2 = mysql_fetch_array($result)) {
-					$grps[] = $row2['group_id'];
-				}
-	
-				if ($user['user_level'] == 1 || in_array($row[$this->field['usertbl_group_id']] , $this->admingroups)) array_unshift($grps, 102);
-				if ($user['user_level']  == 0 || $user['user_level']  == 2) array_unshift($grps, 2);
-			} else {
-				$grps[0] = ($user['user_level']  == 1 || in_array($row[$this->field['usertbl_group_id']] , $this->admingroups)) ? 1 : 2;
-			}
-	
-			$groupnames = $q = array();
-			
-			foreach ($grps as $gid){
-				$groupnames[] = $groups[$gid];
-				$q[] = $quotas[$gid];
-			}
-			
-			sort($groupnames);
-			
-			$userlist[$uid]['group_name'] = implode('<br />' ,$groupnames); 
-			$userlist[$uid]['group_quota'] = max($q);
-		}
-		
-		foreach ($userlist as $uid => $user) if (!isset($user['user_name'])) unset($userlist[$uid]);
-
-		if ($this->adv_sort) usort($userlist, array('core_udb', 'adv_sort'));
-
-        return $userlist;
-    }
-
-}
-
-// and go !
-$cpg_udb = new phpbb_udb;
+<?php
+/*************************
+  Coppermine Photo Gallery
+  ************************
+  Copyright (c) 2003-2009 Coppermine Dev Team
+  v1.1 originally written by Gregory DEMAR
+
+  This program is free software; you can redistribute it and/or modify
+  it under the terms of the GNU General Public License version 3
+  as published by the Free Software Foundation.
+  
+  ********************************************
+  Coppermine version: 1.4.25
+  $HeadURL: https://coppermine.svn.sourceforge.net/svnroot/coppermine/trunk/cpg1.4.x/bridge/phpbb.inc.php $
+  $Revision: 5997 $
+  $Author: gaugau $
+  $Date: 2009-05-26 08:43:24 +0200 (Di, 26 Mai 2009) $
+**********************************************/
+
+if (!defined('IN_COPPERMINE')) die('Not in Coppermine...');
+
+// Switch that allows overriding the bridge manager with hard-coded values
+define('USE_BRIDGEMGR', 1);
+
+require_once 'bridge/udb_base.inc.php';
+
+class phpbb_udb extends core_udb {
+
+	function phpbb_udb()
+	{
+		global $BRIDGE;
+		
+		if (!USE_BRIDGEMGR) {
+			$this->boardurl = 'http://www.yousite.com/phpBB2';
+			require_once('../phpBB2/config.php');
+
+		} else {
+			$this->boardurl = $BRIDGE['full_forum_url'];
+			require_once($BRIDGE['relative_path_to_config_file'] . 'config.php');
+			$this->use_post_based_groups = $BRIDGE['use_post_based_groups'];
+		}
+		
+		$this->multigroups = 1;
+		
+		// Database connection settings
+		$this->db = array(
+			'name' => $dbname,
+			'host' => $dbhost ? $dbhost : 'localhost',
+			'user' => $dbuser,
+			'password' => $dbpasswd,
+			'prefix' =>$table_prefix
+		);
+		
+		// Board table names
+		$this->table = array(
+			'users' => 'users',
+			'groups' => 'groups',
+			'sessions' => 'sessions',
+			'usergroups' => 'user_group'
+		);
+
+		// Derived full table names
+		$this->usertable = '`' . $this->db['name'] . '`.' . $this->db['prefix'] . $this->table['users'];
+		$this->groupstable =  '`' . $this->db['name'] . '`.' . $this->db['prefix'] . $this->table['groups'];
+		$this->sessionstable =  '`' . $this->db['name'] . '`.' . $this->db['prefix'] . $this->table['sessions'];
+		$this->usergroupstable = '`' . $this->db['name'] . '`.' . $this->db['prefix'] . $this->table['usergroups'];
+		
+		// Table field names
+		$this->field = array(
+			'username' => 'username', // name of 'username' field in users table
+			'user_id' => 'user_id', // name of 'id' field in users table
+			'password' => 'user_password', // name of 'password' field in users table
+			'email' => 'user_email', // name of 'email' field in users table
+			'regdate' => 'user_regdate', // name of 'registered' field in users table
+			'active' => 'user_active', // is user account active?
+			'lastvisit' => 'user_lastvisit', // name of 'location' field in users table
+			'location' => 'user_from', // name of 'location' field in users table
+			'website' => 'user_website', // name of 'website' field in users table
+			'usertbl_group_id' => 'group_id', // name of 'group id' field in users table
+			'grouptbl_group_id' => 'group_id', // name of 'group id' field in groups table
+			'grouptbl_group_name' => 'group_name' // name of 'group name' field in groups table
+		);
+		
+		// Pages to redirect to
+		$this->page = array(
+			'register' => '/profile.php?mode=register',
+			'editusers' => '/memberlist.php',
+			'edituserprofile' => "/memberlist.php?mode=viewprofile&u=",
+		);
+		
+		// Group ids - admin and guest only.
+		$this->admingroups = array(2);
+		$this->guestgroup = $this->use_post_based_groups ? 3 : 3;
+		
+		// Use a special function to collect groups for cpg groups table
+		$this->group_overrride = 1;
+		
+		// Cookie settings - used in following functions only
+		$this->cookie_name = $BRIDGE['cookie_prefix'];
+		
+		// Connect to db
+		$this->connect();
+	}
+
+	function collect_groups()
+	{
+		$sql ="SELECT * FROM {$this->groupstable} WHERE group_single_user = 0";
+	
+		$result = cpg_db_query($sql, $this->link_id);
+		
+		$udb_groups = array(102 =>'Administrators', 2=> 'Registered', 3=>'Guests', 4=> 'Banned');
+			
+		while ($row = mysql_fetch_assoc($result))
+		{
+			$udb_groups[$row[$this->field['grouptbl_group_id']]+100] = utf_ucfirst(utf_strtolower($row[$this->field['grouptbl_group_name']]));
+		}
+
+		return $udb_groups;
+		
+	}
+	// definition of how to extract id, name, group from a session cookie
+	function session_extraction()
+	{
+		if (isset($_COOKIE[$this->cookie_name . '_sid'])) {			
+			$session_id = addslashes($_COOKIE[$this->cookie_name . '_sid']);
+
+			$sql = "SELECT u.{$this->field['user_id']} AS user_id, u.{$this->field['password']} AS password, u.user_level FROM {$this->usertable} AS u, {$this->sessionstable} AS s WHERE u.{$this->field['user_id']}=s.session_user_id AND s.session_id = '$session_id' AND u.user_id > 0";
+			
+			$result = cpg_db_query($sql, $this->link_id);
+
+			if (mysql_num_rows($result)){
+				$row = mysql_fetch_array($result);
+				$this->userlevel = $row['user_level'];
+				return $row;
+			} else {
+			    return false;
+			}
+		}
+	}
+	
+	// Get groups of which user is member
+	function get_groups($row)
+	{
+		$data = array();
+		
+		if ($this->use_post_based_groups){
+
+			$sql = "SELECT ug.{$this->field['usertbl_group_id']}+100 AS group_id FROM {$this->usertable} AS u, {$this->usergroupstable} AS ug, {$this->groupstable} as g WHERE u.{$this->field['user_id']}=ug.{$this->field['user_id']} AND u.{$this->field['user_id']}='{$row['id']}' AND g.{$this->field['grouptbl_group_id']} = ug.{$this->field['grouptbl_group_id']}";
+
+			$result = cpg_db_query($sql, $this->link_id);
+
+			while ($row2 = mysql_fetch_array($result)) {
+				$data[] = $row2['group_id'];
+			}
+
+			if ($this->userlevel == 1 || in_array($row[$this->field['usertbl_group_id']] , $this->admingroups)) array_unshift($data, 102);
+			if ($this->userlevel == 0) array_unshift($data, 2);
+		} else {
+			$data[0] = ($this->userlevel == 1 || in_array($row[$this->field['usertbl_group_id']] , $this->admingroups)) ? 1 : 2;
+		}
+		
+		return $data;
+	}
+	
+	// definition of how to extract an id and password hash from a cookie
+	function cookie_extraction()
+	{
+	    $id = 0;
+		$pass = '';
+
+        if (isset($_COOKIE[$this->cookie_name.'_data'])){
+			$sessiondata = unserialize($_COOKIE[$this->cookie_name.'_data']);
+			$id = $sessiondata['userid'] > 1 ? intval($sessiondata['userid']) : 0;
+            $pass = (isset($sessiondata['autologinid'])) ? addslashes($sessiondata['autologinid']) : '';
+		}
+		
+		return ($id) ? array($id, $pass) : false;
+	}
+	
+	// definition of actions required to convert a password from user database form to cookie form
+	function udb_hash_db($password)
+	{
+		return $password; // unused
+	}
+
+	function login_page()
+	{
+		global $CONFIG;
+		
+		$cpg = parse_url($CONFIG['site_url']);
+		$bb = parse_url($this->boardurl);
+		$levels = count(explode('/', $bb['path'])) - 1;
+		$redirect = str_repeat('../', $levels) . trim($cpg['path'], '/') . '/';
+
+		$this->redirect("/login.php?redirect=$redirect");
+	}
+
+	function logout_page()
+	{
+		global $CONFIG;
+		
+		$cpg = parse_url($CONFIG['site_url']);
+		$bb = parse_url($this->boardurl);
+		$levels = count(explode('/', $bb['path'])) - 1;
+		$redirect = str_repeat('../', $levels) . trim($cpg['path'], '/') . '/';
+		
+		$this->redirect("/login.php?logout=true&sid={$this->sid}&redirect=$redirect");
+	}
+
+	function view_users() {}
+	function view_profile() {}
+	
+	function get_users($options = array())
+    {
+    	global $CONFIG;
+		
+		// Copy UDB fields and config variables (just to make it easier to read)
+    	$f =& $this->field;
+		$C =& $CONFIG;
+		
+		// Sort codes - global this in usermgr.php in 1.5
+        $sort_codes = array('name_a' => 'user_name ASC',
+                            'name_d' => 'user_name DESC',
+                            'group_a' => 'group_name ASC',
+                            'group_d' => 'group_name DESC',
+                            'reg_a' => 'user_regdate ASC',
+                            'reg_d' => 'user_regdate DESC',
+                            'pic_a' => 'pic_count ASC',
+                            'pic_d' => 'pic_count DESC',
+                            'disku_a' => 'disk_usage ASC',
+                            'disku_d' => 'disk_usage DESC',
+                            'lv_a' => 'user_lastvisit ASC',
+                            'lv_d' => 'user_lastvisit DESC',
+                           );
+        
+		$sql = "SELECT group_id, group_name, group_quota FROM {$C['TABLE_USERGROUPS']}";
+
+		$result = cpg_db_query($sql);
+		
+		$groups = $quotas = array();
+	
+		while ($row = mysql_fetch_assoc($result)) {
+			$groups[$row['group_id']] = $row['group_name'];
+			$quotas[$row['group_id']] = $row['group_quota'];
+		}
+		
+		if (in_array($options['sort'], array('group_a', 'group_d', 'pic_a', 'pic_d', 'disku_a', 'disku_d'))){
+			
+			$sort = '';
+			list($this->sortfield, $this->sortdir) = explode(' ', $sort_codes[$options['sort']]);
+			$this->adv_sort = true;
+			
+		} else {
+			
+			$sort = "ORDER BY " . $sort_codes[$options['sort']];
+			$this->adv_sort = false;
+		}
+
+		// Build WHERE clause, if this is a username search
+        if ($options['search']) {
+            $options['search'] = 'AND u.'.$f['username'].' LIKE "'.$options['search'].'" ';
+        }
+		
+		// Main array to hold our user data
+		$userlist = array();
+		
+		// These sorting methods need the cpg pics table, do that first
+		if (in_array($options['sort'], array('pic_a', 'pic_d', 'disku_a', 'disku_d'))){
+			
+			$sql = "SELECT owner_id, COUNT(pid) as pic_count, ROUND(SUM(total_filesize)/1024) as disk_usage FROM {$C['TABLE_PICTURES']} WHERE owner_id <> 0 GROUP BY owner_id ORDER BY {$sort_codes[$options['sort']]} LIMIT {$options['lower_limit']}, {$options['users_per_page']}";
+			$result = cpg_db_query($sql);
+			
+			// If no records, return empty value
+			if (!mysql_num_rows($result)) {
+				return array();
+			}
+		
+			while ($row = mysql_fetch_assoc($result)) $userlist[$row['owner_id']] = $row;
+			mysql_free_result($result);
+
+			$user_list_string = implode(', ', array_keys($userlist));
+
+			$sql = "SELECT u.{$f['user_id']} as user_id, u.user_level, {$f['username']} as user_name, {$f['email']} as user_email, {$f['regdate']} as user_regdate, {$f['lastvisit']} as user_lastvisit ".
+               "FROM {$this->usertable} AS u ".
+               "WHERE u.{$f['user_id']} IN ($user_list_string) GROUP BY u.{$f['user_id']}";
+		
+			$result = cpg_db_query($sql, $this->link_id);
+		
+			// If no records, return empty value
+			if (!mysql_num_rows($result)) {
+				return array();
+			}
+		
+			while ($row = mysql_fetch_assoc($result)) $userlist[$row['user_id']] = array_merge($userlist[$row['user_id']], $row);
+			mysql_free_result($result);
+
+		} else {
+		
+			$sql = "SELECT u.{$f['user_id']} as user_id, u.user_level, {$f['username']} as user_name, {$f['email']} as user_email, {$f['regdate']} as user_regdate, {$f['lastvisit']} as user_lastvisit, 0 as pic_count ".
+               "FROM {$this->usertable} AS u ".
+               "WHERE u.{$f['user_id']} > 0 " . $options['search'].
+               "GROUP BY u.{$f['user_id']} " . $sort . 
+			   " LIMIT {$options['lower_limit']}, {$options['users_per_page']}";
+		
+			$result = cpg_db_query($sql, $this->link_id);
+		
+			// If no records, return empty value
+			if (!mysql_num_rows($result)) {
+				return array();
+			}
+		
+			while ($row = mysql_fetch_assoc($result)) $userlist[$row['user_id']] = $row;
+			mysql_free_result($result);
+			
+			$user_list_string = implode(', ', array_keys($userlist));
+		
+			$sql = "SELECT owner_id, COUNT(pid) as pic_count, ROUND(SUM(total_filesize)/1024) as disk_usage FROM {$C['TABLE_PICTURES']} WHERE owner_id IN ($user_list_string) GROUP BY owner_id";
+
+			$result = cpg_db_query($sql);
+
+			while ($owner = mysql_fetch_assoc($result)) $userlist[$owner['owner_id']] = array_merge($userlist[$owner['owner_id']], $owner);
+		}
+		
+		foreach ($userlist as $uid => $user){
+			
+			$grps = array();
+		
+			if ($this->use_post_based_groups){
+	
+				$sql = "SELECT ug.{$this->field['usertbl_group_id']}+100 AS group_id FROM 
+					{$this->usertable} AS u, 
+					{$this->usergroupstable} AS ug, 
+					{$this->groupstable} as g 
+					WHERE u.{$this->field['user_id']}=ug.{$this->field['user_id']} 
+					AND u.{$this->field['user_id']}='$uid' 
+					AND g.{$this->field['grouptbl_group_id']} = ug.{$this->field['grouptbl_group_id']} 
+					AND  group_single_user = 0";
+	
+				$result = cpg_db_query($sql, $this->link_id);
+	
+				while ($row2 = mysql_fetch_array($result)) {
+					$grps[] = $row2['group_id'];
+				}
+	
+				if ($user['user_level'] == 1 || in_array($row[$this->field['usertbl_group_id']] , $this->admingroups)) array_unshift($grps, 102);
+				if ($user['user_level']  == 0 || $user['user_level']  == 2) array_unshift($grps, 2);
+			} else {
+				$grps[0] = ($user['user_level']  == 1 || in_array($row[$this->field['usertbl_group_id']] , $this->admingroups)) ? 1 : 2;
+			}
+	
+			$groupnames = $q = array();
+			
+			foreach ($grps as $gid){
+				$groupnames[] = $groups[$gid];
+				$q[] = $quotas[$gid];
+			}
+			
+			sort($groupnames);
+			
+			$userlist[$uid]['group_name'] = implode('<br />' ,$groupnames); 
+			$userlist[$uid]['group_quota'] = max($q);
+		}
+		
+		foreach ($userlist as $uid => $user) if (!isset($user['user_name'])) unset($userlist[$uid]);
+
+		if ($this->adv_sort) usort($userlist, array('core_udb', 'adv_sort'));
+
+        return $userlist;
+    }
+
+}
+
+// and go !
+$cpg_udb = new phpbb_udb;
 ?>
\ No newline at end of file
diff -x .svn -aruN 1.4.24.src/bridge/punbb115.inc.php 1.4.25.src/bridge/punbb115.inc.php
--- 1.4.24.src/bridge/punbb115.inc.php	2009-05-21 15:03:09.000000000 -0500
+++ 1.4.25.src/bridge/punbb115.inc.php	2009-05-26 11:25:52.000000000 -0500
@@ -1,163 +1,163 @@
-<?php
-/*************************
-  Coppermine Photo Gallery
-  ************************
-  Copyright (c) 2003-2009 Coppermine Dev Team
-  v1.1 originally written by Gregory DEMAR
-
-  This program is free software; you can redistribute it and/or modify
-  it under the terms of the GNU General Public License version 3
-  as published by the Free Software Foundation.
-  
-  ********************************************
-  Coppermine version: 1.4.24
-  $HeadURL: https://coppermine.svn.sourceforge.net/svnroot/coppermine/trunk/cpg1.4.x/bridge/punbb115.inc.php $
-  $Revision: 5969 $
-  $Author: gaugau $
-  $Date: 2009-05-21 22:03:33 +0200 (Do, 21 Mai 2009) $
-**********************************************/
-
-/*
-
-For login/logout redirection:
-
-Edit punbb's login.php
-
-
-Find: $page_title = pun_htmlspecialchars($pun_config['o_board_title']).' / '.$lang_common['Login'];
-
-Add before it: $redirect_url = (isset($_GET['redir'])) ? $_GET['redir'] : $redirect_url;
-
-
-Find: redirect('index.php', $lang_login['Logout redirect']);
-
-Change to: redirect(isset($_GET['redir']) ? $_GET['redir'] : 'index.php', $lang_login['Logout redirect']);
-
-*/
-
-if (!defined('IN_COPPERMINE')) die('Not in Coppermine...');
-
-// Switch that allows overriding the bridge manager with hard-coded values
-define('USE_BRIDGEMGR', 1);
-
-require_once 'bridge/udb_base.inc.php';
-
-class cpg_udb extends core_udb {
-
-	function cpg_udb()
-	{
-		global $BRIDGE;
-		
-		if (!USE_BRIDGEMGR) { // the vars that are used when bridgemgr is disabled
-
-			// URL of your punbb
-			$this->boardurl = 'http://www.yoursite.com/punbb';
-
-			// local path to your punbb config file
-			require_once('../punbb/config.php');
-
-		} else { // the vars from the bridgemgr
-			$this->boardurl = $BRIDGE['full_forum_url'];
-			require_once($BRIDGE['relative_path_to_config_file'] . 'config.php');
-			$this->use_post_based_groups = $BRIDGE['use_post_based_groups'];
-		}
-		
-		$this->multigroups = 0;
-		$this->group_overrride = 0;
-		
-		// Database connection settings
-		$this->db = array(
-			'name' => $db_name,
-			'host' => $db_host,
-			'user' => $db_username,
-			'password' => $db_password,
-			'prefix' =>$db_prefix
-		);
-		
-		// Board table names
-		$this->table = array(
-			'users' => 'users',
-		);
-
-		// Derived full table names
-		$this->usertable = '`' . $this->db['name'] . '`.' . $this->db['prefix'] . $this->table['users'];
-		
-		// Table field names
-		$this->field = array(
-			'username' => 'username', // name of 'username' field in users table
-			'user_id' => 'id', // name of 'id' field in users table
-			'password' => 'password', // name of 'password' field in users table
-			'email' => 'email', // name of 'email' field in users table
-			'regdate' => 'registered', // name of 'registered' field in users table
-			'location' => 'location', // name of 'location' field in users table
-			'website' => 'url', // name of 'website' field in users table
-			'usertbl_group_id' => 'status', // name of 'group id' field in users table
-		);
-		
-		// Pages to redirect to
-		$this->page = array(
-			'register' => '/register.php',
-			'editusers' => '/userlist.php',
-			'edituserprofile' => "/profile.php?id="
-		);
-		
-		// Group ids
-		$this->admingroups = array(2);
-		$this->guestgroup = -1;
-		
-		// Cookie settings - used in following functions only
-		$this->cookie_name = $cookie_name;
-		
-		// Connect to db
-		$this->connect();
-	}
-		
-	// definition of how to extract id, name, group from a session cookie
-	function session_extraction()
-	{
-		$row = false; //array('id' => 0, 'username' => 'Guest', 'status' => -1);
-		
-        if (isset($_COOKIE[$this->cookie_name])) {
-			list($username, $pass_hash) = unserialize($_COOKIE[$this->cookie_name]);
-			if (strcasecmp($username, 'Guest'))
-			{
-				$result = cpg_db_query("SELECT id, username, status+100 AS status FROM {$this->usertable} WHERE username = '$username' AND password = '$pass_hash'", $this->link_id);
-				$row = mysql_fetch_assoc($result);
-			}
-		}
-		
-		return $row;
-	}
-	
-	// definition of how to extract an id and password hash from a cookie
-	function cookie_extraction()
-	{
-		return false;
-	}
-
-	// definition of actions required to convert a password from user database form to cookie form
-	function udb_hash_db($password)
-	{
-		return $password;
-	}
-	
-	// Login
-	function login_page()
-	{
-		global $CONFIG;
-		
-		$this->redirect('/login.php?action=in&redir='.$CONFIG['site_url']);
-	}
-
-	// Logout
-	function logout_page()
-	{
-		global $CONFIG;
-
-		$this->redirect('/login.php?action=out&id='.USER_ID.'&redir='.$CONFIG['site_url']);
-	}
-}
-
-// and go !
-$cpg_udb = new cpg_udb;
-?>
+<?php
+/*************************
+  Coppermine Photo Gallery
+  ************************
+  Copyright (c) 2003-2009 Coppermine Dev Team
+  v1.1 originally written by Gregory DEMAR
+
+  This program is free software; you can redistribute it and/or modify
+  it under the terms of the GNU General Public License version 3
+  as published by the Free Software Foundation.
+  
+  ********************************************
+  Coppermine version: 1.4.25
+  $HeadURL: https://coppermine.svn.sourceforge.net/svnroot/coppermine/trunk/cpg1.4.x/bridge/punbb115.inc.php $
+  $Revision: 5997 $
+  $Author: gaugau $
+  $Date: 2009-05-26 08:43:24 +0200 (Di, 26 Mai 2009) $
+**********************************************/
+
+/*
+
+For login/logout redirection:
+
+Edit punbb's login.php
+
+
+Find: $page_title = pun_htmlspecialchars($pun_config['o_board_title']).' / '.$lang_common['Login'];
+
+Add before it: $redirect_url = (isset($_GET['redir'])) ? $_GET['redir'] : $redirect_url;
+
+
+Find: redirect('index.php', $lang_login['Logout redirect']);
+
+Change to: redirect(isset($_GET['redir']) ? $_GET['redir'] : 'index.php', $lang_login['Logout redirect']);
+
+*/
+
+if (!defined('IN_COPPERMINE')) die('Not in Coppermine...');
+
+// Switch that allows overriding the bridge manager with hard-coded values
+define('USE_BRIDGEMGR', 1);
+
+require_once 'bridge/udb_base.inc.php';
+
+class cpg_udb extends core_udb {
+
+	function cpg_udb()
+	{
+		global $BRIDGE;
+		
+		if (!USE_BRIDGEMGR) { // the vars that are used when bridgemgr is disabled
+
+			// URL of your punbb
+			$this->boardurl = 'http://www.yoursite.com/punbb';
+
+			// local path to your punbb config file
+			require_once('../punbb/config.php');
+
+		} else { // the vars from the bridgemgr
+			$this->boardurl = $BRIDGE['full_forum_url'];
+			require_once($BRIDGE['relative_path_to_config_file'] . 'config.php');
+			$this->use_post_based_groups = $BRIDGE['use_post_based_groups'];
+		}
+		
+		$this->multigroups = 0;
+		$this->group_overrride = 0;
+		
+		// Database connection settings
+		$this->db = array(
+			'name' => $db_name,
+			'host' => $db_host,
+			'user' => $db_username,
+			'password' => $db_password,
+			'prefix' =>$db_prefix
+		);
+		
+		// Board table names
+		$this->table = array(
+			'users' => 'users',
+		);
+
+		// Derived full table names
+		$this->usertable = '`' . $this->db['name'] . '`.' . $this->db['prefix'] . $this->table['users'];
+		
+		// Table field names
+		$this->field = array(
+			'username' => 'username', // name of 'username' field in users table
+			'user_id' => 'id', // name of 'id' field in users table
+			'password' => 'password', // name of 'password' field in users table
+			'email' => 'email', // name of 'email' field in users table
+			'regdate' => 'registered', // name of 'registered' field in users table
+			'location' => 'location', // name of 'location' field in users table
+			'website' => 'url', // name of 'website' field in users table
+			'usertbl_group_id' => 'status', // name of 'group id' field in users table
+		);
+		
+		// Pages to redirect to
+		$this->page = array(
+			'register' => '/register.php',
+			'editusers' => '/userlist.php',
+			'edituserprofile' => "/profile.php?id="
+		);
+		
+		// Group ids
+		$this->admingroups = array(2);
+		$this->guestgroup = -1;
+		
+		// Cookie settings - used in following functions only
+		$this->cookie_name = $cookie_name;
+		
+		// Connect to db
+		$this->connect();
+	}
+		
+	// definition of how to extract id, name, group from a session cookie
+	function session_extraction()
+	{
+		$row = false; //array('id' => 0, 'username' => 'Guest', 'status' => -1);
+		
+        if (isset($_COOKIE[$this->cookie_name])) {
+			list($username, $pass_hash) = unserialize($_COOKIE[$this->cookie_name]);
+			if (strcasecmp($username, 'Guest'))
+			{
+				$result = cpg_db_query("SELECT id, username, status+100 AS status FROM {$this->usertable} WHERE username = '$username' AND password = '$pass_hash'", $this->link_id);
+				$row = mysql_fetch_assoc($result);
+			}
+		}
+		
+		return $row;
+	}
+	
+	// definition of how to extract an id and password hash from a cookie
+	function cookie_extraction()
+	{
+		return false;
+	}
+
+	// definition of actions required to convert a password from user database form to cookie form
+	function udb_hash_db($password)
+	{
+		return $password;
+	}
+	
+	// Login
+	function login_page()
+	{
+		global $CONFIG;
+		
+		$this->redirect('/login.php?action=in&redir='.$CONFIG['site_url']);
+	}
+
+	// Logout
+	function logout_page()
+	{
+		global $CONFIG;
+
+		$this->redirect('/login.php?action=out&id='.USER_ID.'&redir='.$CONFIG['site_url']);
+	}
+}
+
+// and go !
+$cpg_udb = new cpg_udb;
+?>
diff -x .svn -aruN 1.4.24.src/bridge/punbb12.inc.php 1.4.25.src/bridge/punbb12.inc.php
--- 1.4.24.src/bridge/punbb12.inc.php	2009-05-21 15:03:09.000000000 -0500
+++ 1.4.25.src/bridge/punbb12.inc.php	2009-05-26 11:25:52.000000000 -0500
@@ -1,268 +1,268 @@
-<?php
-/*************************
-  Coppermine Photo Gallery
-  ************************
-  Copyright (c) 2003-2009 Coppermine Dev Team
-  v1.1 originally written by Gregory DEMAR
-
-  This program is free software; you can redistribute it and/or modify
-  it under the terms of the GNU General Public License version 3
-  as published by the Free Software Foundation.
-  
-  ********************************************
-  Coppermine version: 1.4.24
-  $HeadURL: https://coppermine.svn.sourceforge.net/svnroot/coppermine/trunk/cpg1.4.x/bridge/punbb12.inc.php $
-  $Revision: 5969 $
-  $Author: gaugau $
-  $Date: 2009-05-21 22:03:33 +0200 (Do, 21 Mai 2009) $
-**********************************************/
-
-/*
-
-For login/logout redirection:
-
-Edit punbb's login.php
-
-
-Find: $page_title = pun_htmlspecialchars($pun_config['o_board_title']).' / '.$lang_common['Login'];
-
-Add before it: $redirect_url = (isset($_GET['redir'])) ? $_GET['redir'] : $redirect_url;
-
-
-Find: redirect('index.php', $lang_login['Logout redirect']);
-
-Change to: redirect(isset($_GET['redir']) ? $_GET['redir'] : 'index.php', $lang_login['Logout redirect']);
-
-*/
-
-if (!defined('IN_COPPERMINE')) die('Not in Coppermine...');
-
-// Switch that allows overriding the bridge manager with hard-coded values
-define('USE_BRIDGEMGR', 1);
-
-require_once 'bridge/udb_base.inc.php';
-
-class cpg_udb extends core_udb {
-
-	function cpg_udb()
-	{
-		global $BRIDGE;
-		
-		if (!USE_BRIDGEMGR) { // the vars that are used when bridgemgr is disabled
-
-			// URL of your punbb
-			$this->boardurl = 'http://www.yoursite.com/punbb';
-
-			// local path to your punbb config file
-			require_once('../punbb/config.php');
-
-		} else { // the vars from the bridgemgr
-			$this->boardurl = $BRIDGE['full_forum_url'];
-			require_once($BRIDGE['relative_path_to_config_file'] . 'config.php');
-			$this->use_post_based_groups = $BRIDGE['use_post_based_groups'];
-		}
-		
-		$this->multigroups = 0;
-		$this->group_overrride = 0;
-		
-		// Database connection settings
-		$this->db = array(
-			'name' => $db_name,
-			'host' => $db_host,
-			'user' => $db_username,
-			'password' => $db_password,
-			'prefix' =>$db_prefix
-		);
-		
-		// Board table names
-		$this->table = array(
-			'users' => 'users',
-			'groups' => 'groups',
-		);
-
-		// Derived full table names
-		$this->usertable = '`' . $this->db['name'] . '`.' . $this->db['prefix'] . $this->table['users'];
-		$this->groupstable =  '`' . $this->db['name'] . '`.' . $this->db['prefix'] . $this->table['groups'];
-		
-		// Table field names
-		$this->field = array(
-			'username' => 'username', // name of 'username' field in users table
-			'user_id' => 'id', // name of 'id' field in users table
-			'password' => 'password', // name of 'password' field in users table
-			'email' => 'email', // name of 'email' field in users table
-			'regdate' => 'registered', // name of 'registered' field in users table
-			'location' => 'location', // name of 'location' field in users table
-			'website' => 'url', // name of 'website' field in users table
-			'lastvisit' => 'last_visit', // name of 'location' field in users table
-			'usertbl_group_id' => 'group_id', // name of 'group id' field in users table
-			'grouptbl_group_id' => 'g_id', // name of 'group id' field in groups table
-			'grouptbl_group_name' => 'g_title' // name of 'group name' field in groups table
-		);
-		
-		// Pages to redirect to
-		$this->page = array(
-			'register' => '/register.php',
-			'editusers' => '/userlist.php',
-			'edituserprofile' => "/profile.php?id="
-		);
-		
-		// Group ids
-		$this->admingroups = array(1);
-		$this->guestgroup = 3;
-		
-		// Cookie settings - used in following functions only
-		$this->cookie_name = $cookie_name;
-		$this->cookie_seed = $cookie_seed;
-		
-		// Connect to db
-		$this->connect();
-	}
-
-	// definition of how to extract id, name, group from a session cookie
-	function session_extraction()
-	{
-			return false; // unused
-	}
-	
-	// definition of how to extract an id and password hash from a cookie
-	function cookie_extraction()
-	{
-	    $id = 0;
-	    $pass_hash = '';
-
-        if (isset($_COOKIE[$this->cookie_name]))
-                list($id, $pass_hash) = unserialize($_COOKIE[$this->cookie_name]);
-
-		return ($id) ? array($id, $pass_hash) : false;
-	}
-	
-	// definition of actions required to convert a password from user database form to cookie form
-	function udb_hash_db($password)
-	{
-		return md5($this->cookie_seed.$password);
-	}
-	
-	// Login
-	function login_page()
-	{
-		global $CONFIG;
-		
-		$this->redirect('/login.php?action=login&redir='.$CONFIG['site_url']);
-	}
-
-	// Logout
-	function logout_page()
-	{
-		global $CONFIG;
-
-		$this->redirect('/login.php?action=out&id='.USER_ID.'&redir='.$CONFIG['site_url']);
-	}
-	
-	function view_users() {}
-	
-	function view_profile($uid) {}
-	
-	function get_users($options = array())
-    {
-    	global $CONFIG;
-		
-		// Copy UDB fields and config variables (just to make it easier to read)
-    	$f =& $this->field;
-		$C =& $CONFIG;
-		
-		// Sort codes
-        $sort_codes = array('name_a' => 'user_name ASC',
-                            'name_d' => 'user_name DESC',
-                            'group_a' => 'group_name ASC',
-                            'group_d' => 'group_name DESC',
-                            'reg_a' => 'user_regdate ASC',
-                            'reg_d' => 'user_regdate DESC',
-                            'pic_a' => 'pic_count ASC',
-                            'pic_d' => 'pic_count DESC',
-                            'disku_a' => 'disk_usage ASC',
-                            'disku_d' => 'disk_usage DESC',
-                            'lv_a' => 'user_lastvisit ASC',
-                            'lv_d' => 'user_lastvisit DESC',
-                           );
-        
-		if (in_array($options['sort'], array('group_a', 'group_d', 'pic_a', 'pic_d', 'disku_a', 'disku_d'))){
-			
-			$sort = '';
-			list($this->sortfield, $this->sortdir) = explode(' ', $sort_codes[$options['sort']]);
-			$this->adv_sort = true;
-			
-		} else {
-			
-			$sort = "ORDER BY " . $sort_codes[$options['sort']];
-			$this->adv_sort = false;
-		}
-
-		// Build WHERE clause, if this is a username search
-        if ($options['search']) {
-            $options['search'] = 'AND u.'.$f['username'].' LIKE "'.$options['search'].'" ';
-        }
-
-        $sql = "SELECT group_id, group_name, group_quota FROM {$C['TABLE_USERGROUPS']}";
-
-		$result = cpg_db_query($sql);
-		
-		$groups = array();
-	
-		while ($row = mysql_fetch_assoc($result)) {
-			$groups[$row['group_id']] = $row;
-		}
-		
-		$sql ="SELECT {$f['grouptbl_group_id']} FROM {$this->groupstable}";
-	
-		$result = cpg_db_query($sql, $this->link_id);
-		$udb_groups = array();
-		
-		while ($row = mysql_fetch_assoc($result)) {
-			$udb_groups[] = $row['group_id'];
-		}
-
-
-        $sql = "SELECT u.{$f['user_id']} as user_id, u.{$f['usertbl_group_id']} AS user_group, {$f['username']} as user_name, {$f['email']} as user_email, {$f['regdate']} as user_regdate, {$f['lastvisit']} as user_lastvisit, '' as user_active, 0 AS pic_count ".
-               "FROM {$this->usertable} AS u ".
-               "WHERE u.{$f['user_id']} > 1 " . $options['search']
-                . $sort .
-               " LIMIT {$options['lower_limit']}, {$options['users_per_page']}";
-
-		$result = cpg_db_query($sql, $this->link_id);
-		
-		// If no records, return empty value
-		if (!mysql_num_rows($result)) {
-			return array();
-		}
-
-		// Extract user list to an array
-		while ($user = mysql_fetch_assoc($result)) {
-			if ($this->use_post_based_groups){
-				$gid = $user['user_group'] +100;
-			} else {
-				$gid = $user['user_group'] == $this->admingroups[0] ? 1 : 2;
-			}
-			$userlist[$user['user_id']] = array_merge($user, $groups[$gid]);
-			$users[] = $user['user_id'];
-		}
-		
-		$user_list_string = implode(', ', $users);
-		
-		$sql = "SELECT owner_id, COUNT(pid) as pic_count, ROUND(SUM(total_filesize)/1024) as disk_usage FROM {$C['TABLE_PICTURES']} WHERE owner_id IN ($user_list_string) GROUP BY owner_id";
-
-		$result = cpg_db_query($sql);
-
-
-		while ($owner = mysql_fetch_assoc($result)) {
-			$userlist[$owner['owner_id']] = array_merge($userlist[$owner['owner_id']], $owner);
-		}
-
-		if ($this->adv_sort) usort($userlist, array('cpg_udb', 'adv_sort'));
-
-        return $userlist;
-    }
-}
-
-// and go !
-$cpg_udb = new cpg_udb;
-?>
+<?php
+/*************************
+  Coppermine Photo Gallery
+  ************************
+  Copyright (c) 2003-2009 Coppermine Dev Team
+  v1.1 originally written by Gregory DEMAR
+
+  This program is free software; you can redistribute it and/or modify
+  it under the terms of the GNU General Public License version 3
+  as published by the Free Software Foundation.
+  
+  ********************************************
+  Coppermine version: 1.4.25
+  $HeadURL: https://coppermine.svn.sourceforge.net/svnroot/coppermine/trunk/cpg1.4.x/bridge/punbb12.inc.php $
+  $Revision: 5997 $
+  $Author: gaugau $
+  $Date: 2009-05-26 08:43:24 +0200 (Di, 26 Mai 2009) $
+**********************************************/
+
+/*
+
+For login/logout redirection:
+
+Edit punbb's login.php
+
+
+Find: $page_title = pun_htmlspecialchars($pun_config['o_board_title']).' / '.$lang_common['Login'];
+
+Add before it: $redirect_url = (isset($_GET['redir'])) ? $_GET['redir'] : $redirect_url;
+
+
+Find: redirect('index.php', $lang_login['Logout redirect']);
+
+Change to: redirect(isset($_GET['redir']) ? $_GET['redir'] : 'index.php', $lang_login['Logout redirect']);
+
+*/
+
+if (!defined('IN_COPPERMINE')) die('Not in Coppermine...');
+
+// Switch that allows overriding the bridge manager with hard-coded values
+define('USE_BRIDGEMGR', 1);
+
+require_once 'bridge/udb_base.inc.php';
+
+class cpg_udb extends core_udb {
+
+	function cpg_udb()
+	{
+		global $BRIDGE;
+		
+		if (!USE_BRIDGEMGR) { // the vars that are used when bridgemgr is disabled
+
+			// URL of your punbb
+			$this->boardurl = 'http://www.yoursite.com/punbb';
+
+			// local path to your punbb config file
+			require_once('../punbb/config.php');
+
+		} else { // the vars from the bridgemgr
+			$this->boardurl = $BRIDGE['full_forum_url'];
+			require_once($BRIDGE['relative_path_to_config_file'] . 'config.php');
+			$this->use_post_based_groups = $BRIDGE['use_post_based_groups'];
+		}
+		
+		$this->multigroups = 0;
+		$this->group_overrride = 0;
+		
+		// Database connection settings
+		$this->db = array(
+			'name' => $db_name,
+			'host' => $db_host,
+			'user' => $db_username,
+			'password' => $db_password,
+			'prefix' =>$db_prefix
+		);
+		
+		// Board table names
+		$this->table = array(
+			'users' => 'users',
+			'groups' => 'groups',
+		);
+
+		// Derived full table names
+		$this->usertable = '`' . $this->db['name'] . '`.' . $this->db['prefix'] . $this->table['users'];
+		$this->groupstable =  '`' . $this->db['name'] . '`.' . $this->db['prefix'] . $this->table['groups'];
+		
+		// Table field names
+		$this->field = array(
+			'username' => 'username', // name of 'username' field in users table
+			'user_id' => 'id', // name of 'id' field in users table
+			'password' => 'password', // name of 'password' field in users table
+			'email' => 'email', // name of 'email' field in users table
+			'regdate' => 'registered', // name of 'registered' field in users table
+			'location' => 'location', // name of 'location' field in users table
+			'website' => 'url', // name of 'website' field in users table
+			'lastvisit' => 'last_visit', // name of 'location' field in users table
+			'usertbl_group_id' => 'group_id', // name of 'group id' field in users table
+			'grouptbl_group_id' => 'g_id', // name of 'group id' field in groups table
+			'grouptbl_group_name' => 'g_title' // name of 'group name' field in groups table
+		);
+		
+		// Pages to redirect to
+		$this->page = array(
+			'register' => '/register.php',
+			'editusers' => '/userlist.php',
+			'edituserprofile' => "/profile.php?id="
+		);
+		
+		// Group ids
+		$this->admingroups = array(1);
+		$this->guestgroup = 3;
+		
+		// Cookie settings - used in following functions only
+		$this->cookie_name = $cookie_name;
+		$this->cookie_seed = $cookie_seed;
+		
+		// Connect to db
+		$this->connect();
+	}
+
+	// definition of how to extract id, name, group from a session cookie
+	function session_extraction()
+	{
+			return false; // unused
+	}
+	
+	// definition of how to extract an id and password hash from a cookie
+	function cookie_extraction()
+	{
+	    $id = 0;
+	    $pass_hash = '';
+
+        if (isset($_COOKIE[$this->cookie_name]))
+                list($id, $pass_hash) = unserialize($_COOKIE[$this->cookie_name]);
+
+		return ($id) ? array($id, $pass_hash) : false;
+	}
+	
+	// definition of actions required to convert a password from user database form to cookie form
+	function udb_hash_db($password)
+	{
+		return md5($this->cookie_seed.$password);
+	}
+	
+	// Login
+	function login_page()
+	{
+		global $CONFIG;
+		
+		$this->redirect('/login.php?action=login&redir='.$CONFIG['site_url']);
+	}
+
+	// Logout
+	function logout_page()
+	{
+		global $CONFIG;
+
+		$this->redirect('/login.php?action=out&id='.USER_ID.'&redir='.$CONFIG['site_url']);
+	}
+	
+	function view_users() {}
+	
+	function view_profile($uid) {}
+	
+	function get_users($options = array())
+    {
+    	global $CONFIG;
+		
+		// Copy UDB fields and config variables (just to make it easier to read)
+    	$f =& $this->field;
+		$C =& $CONFIG;
+		
+		// Sort codes
+        $sort_codes = array('name_a' => 'user_name ASC',
+                            'name_d' => 'user_name DESC',
+                            'group_a' => 'group_name ASC',
+                            'group_d' => 'group_name DESC',
+                            'reg_a' => 'user_regdate ASC',
+                            'reg_d' => 'user_regdate DESC',
+                            'pic_a' => 'pic_count ASC',
+                            'pic_d' => 'pic_count DESC',
+                            'disku_a' => 'disk_usage ASC',
+                            'disku_d' => 'disk_usage DESC',
+                            'lv_a' => 'user_lastvisit ASC',
+                            'lv_d' => 'user_lastvisit DESC',
+                           );
+        
+		if (in_array($options['sort'], array('group_a', 'group_d', 'pic_a', 'pic_d', 'disku_a', 'disku_d'))){
+			
+			$sort = '';
+			list($this->sortfield, $this->sortdir) = explode(' ', $sort_codes[$options['sort']]);
+			$this->adv_sort = true;
+			
+		} else {
+			
+			$sort = "ORDER BY " . $sort_codes[$options['sort']];
+			$this->adv_sort = false;
+		}
+
+		// Build WHERE clause, if this is a username search
+        if ($options['search']) {
+            $options['search'] = 'AND u.'.$f['username'].' LIKE "'.$options['search'].'" ';
+        }
+
+        $sql = "SELECT group_id, group_name, group_quota FROM {$C['TABLE_USERGROUPS']}";
+
+		$result = cpg_db_query($sql);
+		
+		$groups = array();
+	
+		while ($row = mysql_fetch_assoc($result)) {
+			$groups[$row['group_id']] = $row;
+		}
+		
+		$sql ="SELECT {$f['grouptbl_group_id']} FROM {$this->groupstable}";
+	
+		$result = cpg_db_query($sql, $this->link_id);
+		$udb_groups = array();
+		
+		while ($row = mysql_fetch_assoc($result)) {
+			$udb_groups[] = $row['group_id'];
+		}
+
+
+        $sql = "SELECT u.{$f['user_id']} as user_id, u.{$f['usertbl_group_id']} AS user_group, {$f['username']} as user_name, {$f['email']} as user_email, {$f['regdate']} as user_regdate, {$f['lastvisit']} as user_lastvisit, '' as user_active, 0 AS pic_count ".
+               "FROM {$this->usertable} AS u ".
+               "WHERE u.{$f['user_id']} > 1 " . $options['search']
+                . $sort .
+               " LIMIT {$options['lower_limit']}, {$options['users_per_page']}";
+
+		$result = cpg_db_query($sql, $this->link_id);
+		
+		// If no records, return empty value
+		if (!mysql_num_rows($result)) {
+			return array();
+		}
+
+		// Extract user list to an array
+		while ($user = mysql_fetch_assoc($result)) {
+			if ($this->use_post_based_groups){
+				$gid = $user['user_group'] +100;
+			} else {
+				$gid = $user['user_group'] == $this->admingroups[0] ? 1 : 2;
+			}
+			$userlist[$user['user_id']] = array_merge($user, $groups[$gid]);
+			$users[] = $user['user_id'];
+		}
+		
+		$user_list_string = implode(', ', $users);
+		
+		$sql = "SELECT owner_id, COUNT(pid) as pic_count, ROUND(SUM(total_filesize)/1024) as disk_usage FROM {$C['TABLE_PICTURES']} WHERE owner_id IN ($user_list_string) GROUP BY owner_id";
+
+		$result = cpg_db_query($sql);
+
+
+		while ($owner = mysql_fetch_assoc($result)) {
+			$userlist[$owner['owner_id']] = array_merge($userlist[$owner['owner_id']], $owner);
+		}
+
+		if ($this->adv_sort) usort($userlist, array('cpg_udb', 'adv_sort'));
+
+        return $userlist;
+    }
+}
+
+// and go !
+$cpg_udb = new cpg_udb;
+?>
diff -x .svn -aruN 1.4.24.src/bridge/smf10.inc.php 1.4.25.src/bridge/smf10.inc.php
--- 1.4.24.src/bridge/smf10.inc.php	2009-05-21 15:03:09.000000000 -0500
+++ 1.4.25.src/bridge/smf10.inc.php	2009-05-26 11:25:52.000000000 -0500
@@ -1,230 +1,230 @@
-<?php
-/*************************
-  Coppermine Photo Gallery
-  ************************
-  Copyright (c) 2003-2009 Coppermine Dev Team
-  v1.1 originally written by Gregory DEMAR
-
-  This program is free software; you can redistribute it and/or modify
-  it under the terms of the GNU General Public License version 3
-  as published by the Free Software Foundation.
-  
-  ********************************************
-  Coppermine version: 1.4.24
-  $HeadURL: https://coppermine.svn.sourceforge.net/svnroot/coppermine/trunk/cpg1.4.x/bridge/smf10.inc.php $
-  $Revision: 5969 $
-  $Author: gaugau $
-  $Date: 2009-05-21 22:03:33 +0200 (Do, 21 Mai 2009) $
-**********************************************/
-
-if (!defined('IN_COPPERMINE')) die('Not in Coppermine...');
-
-// Switch that allows overriding the bridge manager with hard-coded values
-define('USE_BRIDGEMGR', 1);
-
-require_once 'bridge/udb_base.inc.php';
-
-if (!USE_BRIDGEMGR) {
-        require_once('../smf/SSI.php');
-        $boardurl = 'http://www.mysite.com/board';
-} else {
-        require_once($BRIDGE['relative_path_to_config_file'] . 'SSI.php');
-}
-
-
-class cpg_udb extends core_udb {
-
-        function cpg_udb()
-        {
-                global $BRIDGE, $CONFIG, $boardurl, $db_prefix, $db_connection, $db_server, $db_name, $db_user, $user_settings;
-
-                $this->use_post_based_groups = $BRIDGE['use_post_based_groups'];
-                $this->boardurl = $boardurl;
-                $this->multigroups = 1;
-                $this->group_overrride = 1;
-
-
-                // Board table names
-                $this->table = array(
-                        'users' => 'members',
-                        'groups' => 'membergroups',
-                );
-
-                // Database connection settings
-                $this->db = array(
-                        'name' => $db_name,
-                        'host' => $db_server ? $db_server : 'localhost',
-                        'user' => $db_user,
-                        'prefix' =>$db_prefix
-                );
-
-        // Derived full table names
-        if (strpos($db_prefix, '.') === false) {
-            $this->usertable = '`' . $this->db['name'] . '`.' . $this->db['prefix'] . $this->table['users'];
-            $this->groupstable =  '`' . $this->db['name'] . '`.' . $this->db['prefix'] . $this->table['groups'];
-        } else {
-            $this->usertable = $this->db['prefix'] . $this->table['users'];
-            $this->groupstable = $this->db['prefix'] . $this->table['groups'];
-        }
-
-                // Table field names
-                $this->field = array(
-                        'username' => 'memberName', // name of 'username' field in users table
-                        'user_id' => 'ID_MEMBER', // name of 'id' field in users table
-                        'password' => 'passwd', // name of the password field in the users table
-                        'email' => 'emailAddress', // name of 'email' field in users table
-                        'regdate' => 'dateRegistered', // name of 'registered' field in users table
-                        'lastvisit' => 'UNIX_TIMESTAMP(lastLogin)', // last time user logged in
-                        'active' => 'is_activated', // is user account active?
-                        'location' => 'location', // name of 'location' field in users table
-                        'website' => 'websiteUrl', // name of 'website' field in users table
-                        'usertbl_group_id' => 'ID_POST_GROUP', // name of 'group id' field in users table
-                        'grouptbl_group_id' => 'ID_GROUP', // name of 'group id' field in groups table
-                        'grouptbl_group_name' => 'groupName' // name of 'group name' field in groups table
-                );
-
-                // Pages to redirect to
-                $this->page = array(
-                        'register' => '/index.php?action=register',
-                        'editusers' => '/index.php?action=mlist',
-                        'edituserprofile' => '/index.php?action=profile;u='
-                );
-
-                // Group ids - admin and guest only.
-                $this->admingroups = array($this->use_post_based_groups ? 101 : 1);
-                $this->guestgroup = $this->use_post_based_groups ? 1 : 3;
-
-                // Connect to db - or supply a connection id to be used instead of making own connection.
-                $this->connect($db_connection);
-        }
-
-        // overriding authenticate() as we can let SMF do this all for us.
-        function authenticate()
-        {
-                global $USER_DATA, $user_settings;
-
-                if (empty($user_settings['ID_MEMBER'])){
-                        $this->load_guest_data();
-                } else {
-
-                        $row = array(
-                                'id' => $user_settings['ID_MEMBER'],
-                                'username' => $user_settings['memberName'],
-                                'group_id' => $user_settings['ID_GROUP']
-                        );
-
-                        $this->load_user_data($row);
-                }
-
-                $user_group_set = '(' . implode(',', $USER_DATA['groups']) . ')';
-
-				$USER_DATA = array_merge($USER_DATA, $this->get_user_data($USER_DATA['groups'][0], $USER_DATA['groups'], $this->guestgroup));
-
-                 $USER_DATA['can_see_all_albums'] = $USER_DATA['has_admin_access'] = array_intersect($USER_DATA['groups'],$this->admingroups) ? 1 : 0;
-
-                // avoids a template error
-                if (!$USER_DATA['user_id']) $USER_DATA['can_create_albums'] = 0;
-
-				// For error checking
-                $CONFIG['TABLE_USERS'] = '**ERROR**';
-
-                define('USER_ID', $USER_DATA['user_id']);
-				define('USER_NAME', addslashes($USER_DATA['user_name']));
-				define('USER_GROUP', $USER_DATA['group_name']);
-				define('USER_GROUP_SET', $user_group_set);
-				define('USER_IS_ADMIN', $USER_DATA['has_admin_access']);
-				define('USER_CAN_SEND_ECARDS', (int)$USER_DATA['can_send_ecards']);
-				define('USER_CAN_RATE_PICTURES', (int)$USER_DATA['can_rate_pictures']);
-				define('USER_CAN_POST_COMMENTS', (int)$USER_DATA['can_post_comments']);
-				define('USER_CAN_UPLOAD_PICTURES', (int)$USER_DATA['can_upload_pictures']);
-				define('USER_CAN_CREATE_ALBUMS', (int)$USER_DATA['can_create_albums']);
-				define('USER_UPLOAD_FORM', (int)$USER_DATA['upload_form_config']);
-				define('CUSTOMIZE_UPLOAD_FORM', (int)$USER_DATA['custom_user_upload']);
-				define('NUM_FILE_BOXES', (int)$USER_DATA['num_file_upload']);
-				define('NUM_URI_BOXES', (int)$USER_DATA['num_URI_upload']);
-
-                $this->session_update();
-
-        }
-
-        function get_groups($row)
-        {
-                global $user_settings;
-
-                $i = $this->use_post_based_groups ? 100 : 0;
-				$data = array();
-				
-                if ($user_settings['ID_GROUP'] == 0){
-                        $data[0] = 2;
-                } else {
-                        $data[0] = $user_settings['ID_GROUP'] + $i;
-                }
-
-                if ($user_settings['additionalGroups']){
-
-                        $groups = explode(',', $user_settings['additionalGroups']);
-
-                        foreach ($groups as $id => $group){
-                                   //$data[$id] = $group+$i; This was overwriting the primary group
-                                $data[] = $group+$i;  //appends additionalGroups to the primary group.
-                        }
-                }
-
-                if ($this->use_post_based_groups) $data[] = $user_settings['ID_POST_GROUP'] + $i;
-
-                return $data;
-        }
-
-        function collect_groups()
-        {
-                // Use this version to exclude true post based groups
-                //$sql ="SELECT * FROM {$this->groupstable} WHERE minposts=-1";
-
-                // Use this version to include all SMF groups
-                $sql ="SELECT * FROM {$this->groupstable}";
-
-                $result = cpg_db_query($sql, $this->link_id);
-
-                $udb_groups = array(1=>'Guests', 2=>'Registered');
-
-                while ($row = mysql_fetch_assoc($result))
-                {
-                        $udb_groups[$row[$this->field['grouptbl_group_id']]+100] = utf_ucfirst(utf_strtolower($row[$this->field['grouptbl_group_name']]));
-                }
-
-                return $udb_groups;
-        }
-
-        function login_page()
-        {
-                global $CONFIG;
-
-                // silly workaround for SMF's redirect check...
-                $_SESSION['old_url'] = $CONFIG['site_url'] . '?board=redirect';
-                $this->redirect('/index.php?action=login');
-        }
-
-        function logout_page()
-        {
-                global $CONFIG;
-
-                // this is a wee bit messy like....
-                ob_start();
-                ssi_logout($CONFIG['site_url']);
-                preg_match('/<a href="(.*)">/', ob_get_clean(), $matches);
-                $this->boardurl = '';
-        $this->redirect($matches[1]);
-        }
-
-	function view_users()
-	{
-		$this->redirect($this->page['editusers']);
-	}
-	
-	function view_profile() {}
-}
-
-
-// and go !
-$cpg_udb = new cpg_udb;
+<?php
+/*************************
+  Coppermine Photo Gallery
+  ************************
+  Copyright (c) 2003-2009 Coppermine Dev Team
+  v1.1 originally written by Gregory DEMAR
+
+  This program is free software; you can redistribute it and/or modify
+  it under the terms of the GNU General Public License version 3
+  as published by the Free Software Foundation.
+  
+  ********************************************
+  Coppermine version: 1.4.25
+  $HeadURL: https://coppermine.svn.sourceforge.net/svnroot/coppermine/trunk/cpg1.4.x/bridge/smf10.inc.php $
+  $Revision: 5997 $
+  $Author: gaugau $
+  $Date: 2009-05-26 08:43:24 +0200 (Di, 26 Mai 2009) $
+**********************************************/
+
+if (!defined('IN_COPPERMINE')) die('Not in Coppermine...');
+
+// Switch that allows overriding the bridge manager with hard-coded values
+define('USE_BRIDGEMGR', 1);
+
+require_once 'bridge/udb_base.inc.php';
+
+if (!USE_BRIDGEMGR) {
+        require_once('../smf/SSI.php');
+        $boardurl = 'http://www.mysite.com/board';
+} else {
+        require_once($BRIDGE['relative_path_to_config_file'] . 'SSI.php');
+}
+
+
+class cpg_udb extends core_udb {
+
+        function cpg_udb()
+        {
+                global $BRIDGE, $CONFIG, $boardurl, $db_prefix, $db_connection, $db_server, $db_name, $db_user, $user_settings;
+
+                $this->use_post_based_groups = $BRIDGE['use_post_based_groups'];
+                $this->boardurl = $boardurl;
+                $this->multigroups = 1;
+                $this->group_overrride = 1;
+
+
+                // Board table names
+                $this->table = array(
+                        'users' => 'members',
+                        'groups' => 'membergroups',
+                );
+
+                // Database connection settings
+                $this->db = array(
+                        'name' => $db_name,
+                        'host' => $db_server ? $db_server : 'localhost',
+                        'user' => $db_user,
+                        'prefix' =>$db_prefix
+                );
+
+        // Derived full table names
+        if (strpos($db_prefix, '.') === false) {
+            $this->usertable = '`' . $this->db['name'] . '`.' . $this->db['prefix'] . $this->table['users'];
+            $this->groupstable =  '`' . $this->db['name'] . '`.' . $this->db['prefix'] . $this->table['groups'];
+        } else {
+            $this->usertable = $this->db['prefix'] . $this->table['users'];
+            $this->groupstable = $this->db['prefix'] . $this->table['groups'];
+        }
+
+                // Table field names
+                $this->field = array(
+                        'username' => 'memberName', // name of 'username' field in users table
+                        'user_id' => 'ID_MEMBER', // name of 'id' field in users table
+                        'password' => 'passwd', // name of the password field in the users table
+                        'email' => 'emailAddress', // name of 'email' field in users table
+                        'regdate' => 'dateRegistered', // name of 'registered' field in users table
+                        'lastvisit' => 'UNIX_TIMESTAMP(lastLogin)', // last time user logged in
+                        'active' => 'is_activated', // is user account active?
+                        'location' => 'location', // name of 'location' field in users table
+                        'website' => 'websiteUrl', // name of 'website' field in users table
+                        'usertbl_group_id' => 'ID_POST_GROUP', // name of 'group id' field in users table
+                        'grouptbl_group_id' => 'ID_GROUP', // name of 'group id' field in groups table
+                        'grouptbl_group_name' => 'groupName' // name of 'group name' field in groups table
+                );
+
+                // Pages to redirect to
+                $this->page = array(
+                        'register' => '/index.php?action=register',
+                        'editusers' => '/index.php?action=mlist',
+                        'edituserprofile' => '/index.php?action=profile;u='
+                );
+
+                // Group ids - admin and guest only.
+                $this->admingroups = array($this->use_post_based_groups ? 101 : 1);
+                $this->guestgroup = $this->use_post_based_groups ? 1 : 3;
+
+                // Connect to db - or supply a connection id to be used instead of making own connection.
+                $this->connect($db_connection);
+        }
+
+        // overriding authenticate() as we can let SMF do this all for us.
+        function authenticate()
+        {
+                global $USER_DATA, $user_settings;
+
+                if (empty($user_settings['ID_MEMBER'])){
+                        $this->load_guest_data();
+                } else {
+
+                        $row = array(
+                                'id' => $user_settings['ID_MEMBER'],
+                                'username' => $user_settings['memberName'],
+                                'group_id' => $user_settings['ID_GROUP']
+                        );
+
+                        $this->load_user_data($row);
+                }
+
+                $user_group_set = '(' . implode(',', $USER_DATA['groups']) . ')';
+
+				$USER_DATA = array_merge($USER_DATA, $this->get_user_data($USER_DATA['groups'][0], $USER_DATA['groups'], $this->guestgroup));
+
+                 $USER_DATA['can_see_all_albums'] = $USER_DATA['has_admin_access'] = array_intersect($USER_DATA['groups'],$this->admingroups) ? 1 : 0;
+
+                // avoids a template error
+                if (!$USER_DATA['user_id']) $USER_DATA['can_create_albums'] = 0;
+
+				// For error checking
+                $CONFIG['TABLE_USERS'] = '**ERROR**';
+
+                define('USER_ID', $USER_DATA['user_id']);
+				define('USER_NAME', addslashes($USER_DATA['user_name']));
+				define('USER_GROUP', $USER_DATA['group_name']);
+				define('USER_GROUP_SET', $user_group_set);
+				define('USER_IS_ADMIN', $USER_DATA['has_admin_access']);
+				define('USER_CAN_SEND_ECARDS', (int)$USER_DATA['can_send_ecards']);
+				define('USER_CAN_RATE_PICTURES', (int)$USER_DATA['can_rate_pictures']);
+				define('USER_CAN_POST_COMMENTS', (int)$USER_DATA['can_post_comments']);
+				define('USER_CAN_UPLOAD_PICTURES', (int)$USER_DATA['can_upload_pictures']);
+				define('USER_CAN_CREATE_ALBUMS', (int)$USER_DATA['can_create_albums']);
+				define('USER_UPLOAD_FORM', (int)$USER_DATA['upload_form_config']);
+				define('CUSTOMIZE_UPLOAD_FORM', (int)$USER_DATA['custom_user_upload']);
+				define('NUM_FILE_BOXES', (int)$USER_DATA['num_file_upload']);
+				define('NUM_URI_BOXES', (int)$USER_DATA['num_URI_upload']);
+
+                $this->session_update();
+
+        }
+
+        function get_groups($row)
+        {
+                global $user_settings;
+
+                $i = $this->use_post_based_groups ? 100 : 0;
+				$data = array();
+				
+                if ($user_settings['ID_GROUP'] == 0){
+                        $data[0] = 2;
+                } else {
+                        $data[0] = $user_settings['ID_GROUP'] + $i;
+                }
+
+                if ($user_settings['additionalGroups']){
+
+                        $groups = explode(',', $user_settings['additionalGroups']);
+
+                        foreach ($groups as $id => $group){
+                                   //$data[$id] = $group+$i; This was overwriting the primary group
+                                $data[] = $group+$i;  //appends additionalGroups to the primary group.
+                        }
+                }
+
+                if ($this->use_post_based_groups) $data[] = $user_settings['ID_POST_GROUP'] + $i;
+
+                return $data;
+        }
+
+        function collect_groups()
+        {
+                // Use this version to exclude true post based groups
+                //$sql ="SELECT * FROM {$this->groupstable} WHERE minposts=-1";
+
+                // Use this version to include all SMF groups
+                $sql ="SELECT * FROM {$this->groupstable}";
+
+                $result = cpg_db_query($sql, $this->link_id);
+
+                $udb_groups = array(1=>'Guests', 2=>'Registered');
+
+                while ($row = mysql_fetch_assoc($result))
+                {
+                        $udb_groups[$row[$this->field['grouptbl_group_id']]+100] = utf_ucfirst(utf_strtolower($row[$this->field['grouptbl_group_name']]));
+                }
+
+                return $udb_groups;
+        }
+
+        function login_page()
+        {
+                global $CONFIG;
+
+                // silly workaround for SMF's redirect check...
+                $_SESSION['old_url'] = $CONFIG['site_url'] . '?board=redirect';
+                $this->redirect('/index.php?action=login');
+        }
+
+        function logout_page()
+        {
+                global $CONFIG;
+
+                // this is a wee bit messy like....
+                ob_start();
+                ssi_logout($CONFIG['site_url']);
+                preg_match('/<a href="(.*)">/', ob_get_clean(), $matches);
+                $this->boardurl = '';
+        $this->redirect($matches[1]);
+        }
+
+	function view_users()
+	{
+		$this->redirect($this->page['editusers']);
+	}
+	
+	function view_profile() {}
+}
+
+
+// and go !
+$cpg_udb = new cpg_udb;
 ?>
\ No newline at end of file
diff -x .svn -aruN 1.4.24.src/bridge/smf20.inc.php 1.4.25.src/bridge/smf20.inc.php
--- 1.4.24.src/bridge/smf20.inc.php	2009-05-21 15:03:09.000000000 -0500
+++ 1.4.25.src/bridge/smf20.inc.php	2009-05-26 11:25:52.000000000 -0500
@@ -10,11 +10,11 @@
   as published by the Free Software Foundation.
 
   ********************************************
-  Coppermine version: 1.4.24
+  Coppermine version: 1.4.25
   $HeadURL: https://coppermine.svn.sourceforge.net/svnroot/coppermine/trunk/cpg1.4.x/bridge/smf20.inc.php $
-  $Revision: 5969 $
+  $Revision: 5997 $
   $Author: gaugau $
-  $Date: 2009-05-21 22:03:33 +0200 (Do, 21 Mai 2009) $
+  $Date: 2009-05-26 08:43:24 +0200 (Di, 26 Mai 2009) $
 **********************************************/
 
 if (!defined('IN_COPPERMINE')) die('Not in Coppermine...');
diff -x .svn -aruN 1.4.24.src/bridge/udb_base.inc.php 1.4.25.src/bridge/udb_base.inc.php
--- 1.4.24.src/bridge/udb_base.inc.php	2009-05-21 15:03:09.000000000 -0500
+++ 1.4.25.src/bridge/udb_base.inc.php	2009-05-26 11:25:52.000000000 -0500
@@ -1,796 +1,796 @@
-<?php
-/*************************
-  Coppermine Photo Gallery
-  ************************
-  Copyright (c) 2003-2009 Coppermine Dev Team
-  v1.1 originally written by Gregory DEMAR
-
-  This program is free software; you can redistribute it and/or modify
-  it under the terms of the GNU General Public License version 3
-  as published by the Free Software Foundation.
-  
-  ********************************************
-  Coppermine version: 1.4.24
-  $HeadURL: https://coppermine.svn.sourceforge.net/svnroot/coppermine/trunk/cpg1.4.x/bridge/udb_base.inc.php $
-  $Revision: 5969 $
-  $Author: gaugau $
-  $Date: 2009-05-21 22:03:33 +0200 (Do, 21 Mai 2009) $
-**********************************************/
-
-if (!defined('IN_COPPERMINE')) die('Not in Coppermine...');
-
-class core_udb {
-
-        function connect($id = '')
-        {
-                global $CONFIG;
-
-                // Define wheter we can join tables or not in SQL queries (same host & same db or user)
-                $this->can_join_tables = ($this->db['host'] == $CONFIG['dbserver'] && ($this->db['name'] == $CONFIG['dbname'] || $this->db['user'] == $CONFIG['dbuser']));
-
-                if ($id){
-                        $this->link_id = $id;
-                } else {
-                        // Connect to udb database if necessary
-                        if (!$this->can_join_tables) {
-                                $this->link_id = mysql_connect($this->db['host'], $this->db['user'], $this->db['password']);
-                                if (!$this->link_id) die("<b>Coppermine critical error</b>:<br />Unable to connect to UDB database !<br /><br />MySQL said: <b>" . mysql_error() . "</b>");
-                                mysql_select_db ($this->db['name'], $this->link_id);
-                        } else {
-                                $this->link_id = 0;
-                        }
-                }
-        }
-
-        function authenticate()
-        {
-                global $USER_DATA;
-
-                if (!($auth = $this->session_extraction()) && !($auth = $this->cookie_extraction())) {
-                        $this->load_guest_data();
-                } else {
-                        list ($id, $cookie_pass) = $auth;
-                        $f = $this->field;
-
-                        if (isset($this->usergroupstable)){
-                                $sql = "SELECT u.{$f['user_id']} AS id, u.{$f['username']} AS username, u.{$f['password']} AS password, ug.{$f['usertbl_group_id']} AS group_id ".
-                                           "FROM {$this->usertable} AS u, {$this->usergroupstable} AS ug ".
-                                           "WHERE u.{$f['user_id']}=ug.{$f['user_id']} AND u.{$f['user_id']}='$id'";
-                        } else {
-                                $sql = "SELECT u.{$f['user_id']} AS id, u.{$f['username']} AS username, u.{$f['password']} AS password, u.{$f['usertbl_group_id']}+100 AS group_id ".
-                                           "FROM {$this->usertable} AS u INNER JOIN {$this->groupstable} AS g ON u.{$f['usertbl_group_id']}=g.{$f['grouptbl_group_id']} ".
-                                           "WHERE u.{$f['user_id']}='$id'";
-                        }
-
-                        $result = cpg_db_query($sql, $this->link_id);
-
-                        if (mysql_num_rows($result)){
-                                $row = mysql_fetch_assoc($result);
-                                mysql_free_result($result);
-
-                                $db_pass = $this->udb_hash_db($row['password']);
-                                if ($db_pass === $cookie_pass) {
-                                        $this->load_user_data($row);
-                                } else {
-                                        $this->load_guest_data();
-                                }
-                        } else {
-                                $this->load_guest_data();
-                        }
-                }
-
-                $user_group_set = '(' . implode(',', $USER_DATA['groups']) . ')';
-
-        $USER_DATA = array_merge($USER_DATA, $this->get_user_data($USER_DATA['groups'][0], $USER_DATA['groups'], $this->guestgroup));
-
-                if ($this->use_post_based_groups){
-                        $USER_DATA['has_admin_access'] = (in_array($USER_DATA['groups'][0] - 100,$this->admingroups)) ? 1 : 0;
-                } else {
-                        $USER_DATA['has_admin_access'] = ($USER_DATA['groups'][0] == 1) ? 1 : 0;
-                }
-
-                $USER_DATA['can_see_all_albums'] = $USER_DATA['has_admin_access'];
-
-                // avoids a template error
-                if (!$USER_DATA['user_id']) $USER_DATA['can_create_albums'] = 0;
-
-            // For error checking
-                $CONFIG['TABLE_USERS'] = '**ERROR**';
-
-                define('USER_ID', $USER_DATA['user_id']);
-        define('USER_NAME', addslashes($USER_DATA['user_name']));
-        define('USER_GROUP', $USER_DATA['group_name']);
-        define('USER_GROUP_SET', $user_group_set);
-        define('USER_IS_ADMIN', $USER_DATA['has_admin_access']);
-        define('USER_CAN_SEND_ECARDS', (int)$USER_DATA['can_send_ecards']);
-        define('USER_CAN_RATE_PICTURES', (int)$USER_DATA['can_rate_pictures']);
-        define('USER_CAN_POST_COMMENTS', (int)$USER_DATA['can_post_comments']);
-        define('USER_CAN_UPLOAD_PICTURES', (int)$USER_DATA['can_upload_pictures']);
-        define('USER_CAN_CREATE_ALBUMS', (int)$USER_DATA['can_create_albums']);
-        define('USER_UPLOAD_FORM', (int)$USER_DATA['upload_form_config']);
-        define('CUSTOMIZE_UPLOAD_FORM', (int)$USER_DATA['custom_user_upload']);
-        define('NUM_FILE_BOXES', (int)$USER_DATA['num_file_upload']);
-        define('NUM_URI_BOXES', (int)$USER_DATA['num_URI_upload']);
-
-                $this->session_update();
-        }
-
-        function load_guest_data()
-        {
-                global $USER_DATA;
-
-                $USER_DATA['user_id'] = 0;
-        $USER_DATA['user_name'] = 'Guest';
-        $USER_DATA['groups'][0] = $this->use_post_based_groups ? ($this->guestgroup) : 3;
-        $USER_DATA['group_quota'] = 1;
-        $USER_DATA['can_rate_pictures'] = 0;
-                $USER_DATA['can_send_ecards'] = 0;
-                $USER_DATA['can_post_comments'] = 0;
-                $USER_DATA['can_upload_pictures'] = 0;
-                $USER_DATA['can_create_albums'] = 0;
-                $USER_DATA['pub_upl_need_approval'] = 1;
-                $USER_DATA['priv_upl_need_approval'] = 1;
-                $USER_DATA['upload_form_config'] = 0;
-                $USER_DATA['num_file_upload'] = 0;
-                $USER_DATA['num_URI_upload'] = 0;
-                $USER_DATA['custom_user_upload'] = 0;
-        }
-
-        function load_user_data($row)
-        {
-
-                global $USER_DATA;
-
-                $USER_DATA['user_id'] = $row['id'];
-        $USER_DATA['user_name'] = $row['username'];
-
-                //changed to "row['group_id']" $group_id = $row[($this->usergroupstable)?$this->field['usertbl_group_id']:$this->field['grouptbl_group_id']];
-
-                if  ($this->multigroups){
-                        $USER_DATA['groups'] = $this->get_groups($row);
-                } else {
-                        if ($this->use_post_based_groups){
-                                $USER_DATA['groups'] = array(0 => $row['group_id']);
-                        } else {
-                                $USER_DATA['groups'] = array(0 => (in_array($row['group_id'] - 100, $this->admingroups)) ? 1 : 2);
-                        }
-                }
-        }
-
-        /*
-         * Prototype function needed for Mambo *maybe others*
-         * Keeps the session alive
-         */
-        function session_update() {}
-
-        function get_user_count()
-        {
-                global $CONFIG;
-                static $user_count = 0;
-
-                if (!$user_count) {
-            $result = cpg_db_query("SELECT count(*) FROM {$this->usertable} WHERE 1", $this->link_id);
-            $nbEnr = mysql_fetch_array($result);
-            $user_count = $nbEnr[0];
-            mysql_free_result($result);
-        }
-
-        return $user_count;
-        }
-
-    function get_users($options = array())
-    {
-            global $CONFIG;
-
-                // Copy UDB fields and config variables (just to make it easier to read)
-            $f =& $this->field;
-                $C =& $CONFIG;
-
-                // Sort codes
-        $sort_codes = array('name_a' => 'user_name ASC',
-                            'name_d' => 'user_name DESC',
-                            'group_a' => 'group_name ASC',
-                            'group_d' => 'group_name DESC',
-                            'reg_a' => 'user_regdate ASC',
-                            'reg_d' => 'user_regdate DESC',
-                            'pic_a' => 'pic_count ASC',
-                            'pic_d' => 'pic_count DESC',
-                            'disku_a' => 'disk_usage ASC',
-                            'disku_d' => 'disk_usage DESC',
-                            'lv_a' => 'user_lastvisit ASC',
-                            'lv_d' => 'user_lastvisit DESC',
-                           );
-
-        // Fix the group id, if bridging is enabled
-        if ($CONFIG['bridge_enable']) {
-            $f['usertbl_group_id'] .= '+100';
-        }
-
-                // Build WHERE clause, if this is a username search
-        if ($options['search']) {
-            $options['search'] = 'WHERE u.'.$f['username'].' LIKE "'.$options['search'].'" ';
-        }
-
-                // Build SQL table, should work with all bridges
-        $sql = "SELECT {$f['user_id']} as user_id, {$f['username']} as user_name, {$f['email']} as user_email, {$f['regdate']} as user_regdate, {$f['lastvisit']} as user_lastvisit, {$f['active']} as user_active, ".
-               "COUNT(pid) as pic_count, ROUND(SUM(total_filesize)/1024) as disk_usage, group_name, group_quota ".
-               "FROM {$this->usertable} AS u ".
-               "INNER JOIN {$C['TABLE_USERGROUPS']} AS g ON u.{$f['usertbl_group_id']} = g.group_id ".
-               "LEFT JOIN {$C['TABLE_PICTURES']} AS p ON p.owner_id = u.{$f['user_id']} ".
-               $options['search'].
-               "GROUP BY user_id " . "ORDER BY " . $sort_codes[$options['sort']] . " ".
-               "LIMIT {$options['lower_limit']}, {$options['users_per_page']};";
-
-                $result = cpg_db_query($sql, $this->link_id);
-
-                // If no records, return empty value
-                if (!$result) {
-                        return array();
-                }
-
-                // Extract user list to an array
-                while ($user = mysql_fetch_assoc($result)) {
-                        $userlist[] = $user;
-                }
-
-        return $userlist;
-    }
-
-
-    function get_groups() {}
-
-        // Retrieve the name of a user
-        function get_user_name($uid)
-        {
-                $sql = "SELECT {$this->field['username']} as user_name FROM {$this->usertable} WHERE {$this->field['user_id']} = '$uid'";
-
-                $result = cpg_db_query($sql, $this->link_id);
-
-                if (mysql_num_rows($result)) {
-                        $row = mysql_fetch_array($result);
-                        mysql_free_result($result);
-                        return $row['user_name'];
-                } else {
-                        return '';
-                }
-        }
-
-        // Retrieve the id of a user
-        function get_user_id($username)
-        {
-                $username = addslashes($username);
-
-                $sql = "SELECT {$this->field['user_id']} AS user_id FROM {$this->usertable} WHERE {$this->field['username']}  = '$username'";
-
-                $result = cpg_db_query($sql, $this->link_id);
-
-                if (mysql_num_rows($result)) {
-                        $row = mysql_fetch_array($result);
-                        mysql_free_result($result);
-                        return $row['user_id'];
-                } else {
-                        return '';
-                }
-        }
-
-    // Perform database queries to calculate user's privileges based on group membership
-    function get_user_data($pri_group, $groups, $default_group_id = 3)
-    {
-
-            //Parameters :
-            //                $pri_group (scalar) :         Group ID number of the user's 'main' group. This is the group that will be
-            //                                                                                        the user's profile display. ($USER_DATA['group_id'])
-            //
-            //                $groups (array) :                        List of group ids of all the groups that the user is a member of. IF this list
-            //                                                                                        does not include the $pri_group, it will be added.
-            //
-            //                $default_group_id (scalar) :         The group used as a fall-back if no valid group ids are specified.
-            //                                                                                                        If this group also does not exist then CPG will abort with a critical
-            //                                                                                                        error.
-            //
-            // Returns an array containing most of the data to put into in $USER_DATA.
-
-            global $CONFIG;
-
-            foreach ($groups as $key => $val)
-                    if (!is_numeric($val))
-                            unset ($groups[$key]);
-            if (!in_array($pri_group, $groups)) array_push($groups, $pri_group);
-
-            $result = cpg_db_query("SELECT MAX(group_quota) as disk_max, MIN(group_quota) as disk_min, " .
-                            "MAX(can_rate_pictures) as can_rate_pictures, MAX(can_send_ecards) as can_send_ecards, " .
-                            "MAX(upload_form_config) as ufc_max, MIN(upload_form_config) as ufc_min, " .
-                            "MAX(custom_user_upload) as custom_user_upload, MAX(num_file_upload) as num_file_upload, " .
-                            "MAX(num_URI_upload) as num_URI_upload, " .
-                            "MAX(can_post_comments) as can_post_comments, MAX(can_upload_pictures) as can_upload_pictures, " .
-                            "MAX(can_create_albums) as can_create_albums, " .
-                            "MAX(has_admin_access) as has_admin_access, " .
-                            "MIN(pub_upl_need_approval) as pub_upl_need_approval, MIN( priv_upl_need_approval) as  priv_upl_need_approval ".
-                            "FROM {$CONFIG['TABLE_USERGROUPS']} WHERE group_id in (" .  implode(",", $groups). ")");
-
-            if (mysql_num_rows($result)) {
-                    $USER_DATA = mysql_fetch_assoc($result);
-                    $result = cpg_db_query("SELECT group_name FROM  {$CONFIG['TABLE_USERGROUPS']} WHERE group_id= " . $pri_group);
-                    $temp_arr = mysql_fetch_assoc($result);
-                    $USER_DATA["group_name"] = $temp_arr["group_name"];
-            } else {
-                    $result = cpg_db_query("SELECT * FROM {$CONFIG['TABLE_USERGROUPS']} WHERE group_id = $default_group_id");
-                   if (!mysql_num_rows($result)) die('<b>Coppermine critical error</b>:<br />The group table does not contain the Anonymous group !');
-                           $USER_DATA = mysql_fetch_assoc($result);
-                    }
-            mysql_free_result($result);
-
-            if ( $USER_DATA['ufc_max'] == $USER_DATA['ufc_min'] ) {
-                    $USER_DATA["upload_form_config"] = $USER_DATA['ufc_min'];
-            } elseif ($USER_DATA['ufc_min'] == 0) {
-                    $USER_DATA["upload_form_config"] = $USER_DATA['ufc_max'];
-            } elseif ((($USER_DATA['ufc_max'] == 2) or ($USER_DATA['ufc_max'] == 3)) and ($USER_DATA['ufc_min'] == 1)) {
-                    $USER_DATA["upload_form_config"] = 3;
-            } elseif (($USER_DATA['ufc_max'] == 3) and ($USER_DATA['ufc_min'] == 2)) {
-                    $USER_DATA["upload_form_config"] = 3;
-            } else {
-                    $USER_DATA["upload_form_config"] = 0;
-            }
-            $USER_DATA["group_quota"] = ($USER_DATA["disk_min"])?$USER_DATA["disk_max"]:0;
-
-            $USER_DATA['can_see_all_albums'] = $USER_DATA['has_admin_access'];
-
-            $USER_DATA["group_id"] = $pri_group;
-            $USER_DATA['groups'] = $groups;
-
-            if (get_magic_quotes_gpc() == 0)
-                            $USER_DATA['group_name'] = mysql_escape_string($USER_DATA['group_name']);
-
-            return($USER_DATA);
-    }
-        // Redirect
-        function redirect($target)
-        {
-                header('Location: '. $this->boardurl . $target);
-                exit;
-        }
-
-        // Register
-        function register_page()
-        {
-                $this->redirect($this->page['register']);
-        }
-
-        // View users
-        function view_users()
-        {
-                $this->redirect($this->page['editusers']);
-        }
-
-        // Edit users
-        function edit_users()
-        {
-                $this->redirect($this->page['editusers']);
-        }
-
-        // View user profile
-        function view_profile($uid)
-        {
-                $this->redirect($this->page['edituserprofile'].($uid ? $uid : USER_ID));
-        }
-
-        // Edit user profile
-        function edit_profile($uid)
-        {
-                $this->redirect($this->page['edituserprofile'].$uid);
-        }
-
-        // Get user information
-        function get_user_infos($uid)
-        {
-        global $lang_register_php;
-
-                $sql = "SELECT *, {$this->field['username']} AS user_name,
-                                                                                {$this->field['email']} AS user_email,
-                                                                                {$this->field['regdate']} AS user_regdate,
-                                                                                {$this->field['location']} AS user_location,
-                                                                                {$this->field['website']} AS user_website
-
-                                                                                FROM  {$this->usertable} WHERE {$this->field['user_id']} = '$uid'";
-
-                $result = cpg_db_query($sql, $this->link_id);
-
-                if (!mysql_num_rows($result)) cpg_die(ERROR, $lang_register_php['err_unk_user'], __FILE__, __LINE__);
-
-                $user_data = mysql_fetch_array($result);
-                if (!isset($user_data['group_name'])) $user_data['group_name'] = '';
-                if (!isset($user_data['user_profile1'])) $user_data['user_profile1'] = '';
-                if (!isset($user_data['user_profile2'])) $user_data['user_profile2'] = '';
-                if (!isset($user_data['user_profile3'])) $user_data['user_profile3'] = '';
-                if (!isset($user_data['user_profile4'])) $user_data['user_profile4'] = '';
-                if (!isset($user_data['user_profile5'])) $user_data['user_profile5'] = '';
-                if (!isset($user_data['user_profile6'])) $user_data['user_profile6'] = '';
-                mysql_free_result($result);
-
-                return $user_data;
-        }
-
-        // Query used to list users
-        function list_users_query(&$user_count)
-        {
-                global $CONFIG, $FORBIDDEN_SET, $PAGE;
-
-        $f =& $this->field;
-
-                if ($FORBIDDEN_SET != "") {
-                        $forbidden_with_icon = "AND ($FORBIDDEN_SET or p.galleryicon=p.pid)";
-                        $forbidden = "AND ($FORBIDDEN_SET)";
-                } else {
-                        $forbidden_with_icon = '';
-                        $forbidden = '';
-                }
-
-                // Get the total number of users with albums
-        $sql  = "select null ";
-        $sql .= "from {$CONFIG['TABLE_ALBUMS']} as p ";
-        $sql .= " INNER JOIN {$CONFIG['TABLE_PICTURES']} AS pics ON pics.aid = p.aid ";
-                $sql .= "where ( category>".FIRST_USER_CAT." $forbidden) ";
-        $sql .= "group by category;";
-
-        $result = cpg_db_query($sql);
-        $user_count = mysql_num_rows($result);
-
-        if ($user_count == 0) {
-            return false;
-        }
-
-        mysql_free_result($result);
-
-        $users_per_page = $CONFIG['thumbcols'] * $CONFIG['thumbrows'];
-        $totalPages = ceil($user_count / $users_per_page);
-        if ($PAGE > $totalPages) $PAGE = 1;
-        $lower_limit = ($PAGE-1) * $users_per_page;
-
-                if ($this->can_join_tables){
-
-                        $sql  = "SELECT {$f['user_id']} as user_id,";
-                        $sql .= "{$f['username']} as user_name,";
-                        $sql .= "COUNT(DISTINCT a.aid) as alb_count,";
-                        $sql .= "COUNT(DISTINCT pid) as pic_count,";
-                        $sql .= "MAX(pid) as thumb_pid, ";
-                        $sql .= "MAX(galleryicon) as gallery_pid ";
-                        $sql .= "FROM {$CONFIG['TABLE_ALBUMS']} AS a ";
-                        $sql .= "INNER JOIN {$this->usertable} as u on u.{$f['user_id']} = a.category - " . FIRST_USER_CAT . " ";
-                        $sql .= "INNER JOIN {$CONFIG['TABLE_PICTURES']} AS p ON p.aid = a.aid ";
-                        $sql .= "WHERE ((isnull(approved) or approved='YES') AND category > " . FIRST_USER_CAT . ") $forbidden_with_icon GROUP BY user_id ";
-                        $sql .= "ORDER BY category ";
-                        $sql .= "LIMIT $lower_limit, $users_per_page ";
-
-
-                        $result = cpg_db_query($sql);
-
-                        while ($row = mysql_fetch_array($result)) {
-                                $users[] = $row;
-                        }
-                        mysql_free_result($result);
-
-                } else {
-                        // This is the way we collect the data without a direct join to the forum's user table
-
-                        // This query determines which users we need to collect usernames of - ie just those which have albums with pics
-                        // and are on the page we are looking at
-                        $sql  = "SELECT category - 10000 as user_id ";
-                        $sql .= "FROM {$CONFIG['TABLE_ALBUMS']} AS a ";
-                        $sql .= "INNER JOIN {$CONFIG['TABLE_PICTURES']} AS p ON p.aid = a.aid ";
-                        $sql .= "WHERE ((isnull(approved) or approved='YES') ";
-                        $sql .= "AND category > " . FIRST_USER_CAT . ") $forbidden_with_icon GROUP BY category ";
-                        $sql .= "LIMIT $lower_limit, $users_per_page ";
-
-                        $result = cpg_db_query($sql);
-
-                        $user_ids = array();
-
-                        while ($row = mysql_fetch_array($result)) {
-                                $user_ids[] = $row['user_id'];
-                        }
-                        mysql_free_result($result);
-
-                        $userlist = implode(',', $user_ids);
-
-                        // This query collects an array of user_id -> username mappings for the user ids collected above
-                        $result = cpg_db_query("SELECT {$this->field['user_id']} AS user_id, {$this->field['username']} AS user_name FROM {$this->usertable} WHERE {$this->field['user_id']} IN ($userlist)", $this->link_id);
-
-                        $userdata = array();
-
-                        while ($row = mysql_fetch_array($result)) {
-                                $userdata[$row['user_id']] = $row['user_name'];
-                        }
-
-                        mysql_free_result($result);
-
-                        // This is the main query, similar to the one in the join implementation above but without the join to the user table
-                        // We use the pic's owner_id field as the user_id instead of using category - 10000 as the user_id
-                        $sql  = "SELECT owner_id as user_id,";
-                        //$sql .= "{$f['username']} as user_name,";
-                        $sql .= "COUNT(DISTINCT a.aid) as alb_count,";
-                        $sql .= "COUNT(DISTINCT pid) as pic_count,";
-                        $sql .= "MAX(pid) as thumb_pid, ";
-                        $sql .= "MAX(galleryicon) as gallery_pid ";
-                        $sql .= "FROM {$CONFIG['TABLE_ALBUMS']} AS a ";
-                   // $sql .= "INNER JOIN {$this->usertable} as u on u.{$f['user_id']}+".FIRST_USER_CAT."=a.category ";
-                        $sql .= "INNER JOIN {$CONFIG['TABLE_PICTURES']} AS p ON p.aid = a.aid ";
-                        $sql .= "WHERE ((isnull(approved) or approved='YES') AND category > " . FIRST_USER_CAT . ") $forbidden_with_icon GROUP BY user_id ";
-                        $sql .= "ORDER BY category ";
-                        $sql .= "LIMIT $lower_limit, $users_per_page ";
-
-                        $result = cpg_db_query($sql);
-
-                        // Here we associate the username with the album details.
-                        while ($row = mysql_fetch_array($result)) {
-                                $users[] = array_merge($row, array('user_name' => $userdata[$row['user_id']]));
-                        }
-
-                        mysql_free_result($result);
-                }
-                return $users;
-        }
-
-
-        // Group table synchronisation
-        function synchronize_groups()
-        {
-                global $CONFIG ;
-
-                if ($this->use_post_based_groups){
-                        if ($this->group_overrride){
-                                $udb_groups = $this->collect_groups();
-                        } else {
-                                $sql = "SELECT * FROM {$this->groupstable} WHERE {$this->field['grouptbl_group_name']} <> ''";
-
-                                $result = cpg_db_query($sql, $this->link_id);
-
-                                $udb_groups = array();
-
-                                while ($row = mysql_fetch_assoc($result))
-                                {
-                                        $udb_groups[$row[$this->field['grouptbl_group_id']]+100] = $row[$this->field['grouptbl_group_name']];
-                                }
-                        }
-                } else {
-                        $udb_groups = array(1 =>'Administrators', 2=> 'Registered', 3=>'Guests', 4=> 'Banned');
-                }
-
-                $result = cpg_db_query("SELECT group_id, group_name FROM {$CONFIG['TABLE_USERGROUPS']} WHERE 1");
-
-                while ($row = mysql_fetch_array($result)) {
-                        $cpg_groups[$row['group_id']] = $row['group_name'];
-                }
-
-                mysql_free_result($result);
-
-                // Scan Coppermine groups that need to be deleted
-                foreach($cpg_groups as $c_group_id => $c_group_name) {
-                        if ((!isset($udb_groups[$c_group_id]))) {
-                                cpg_db_query("DELETE FROM {$CONFIG['TABLE_USERGROUPS']} WHERE group_id = '" . $c_group_id . "' LIMIT 1");
-                                unset($cpg_groups[$c_group_id]);
-                        }
-                }
-
-                // Scan udb groups that need to be created inside Coppermine table
-                foreach($udb_groups as $i_group_id => $i_group_name) {
-                        if ((!isset($cpg_groups[$i_group_id]))) {
-                                // add admin info
-                                $admin_access = in_array($i_group_id-100, $this->admingroups) ? '1' : '0';
-                                cpg_db_query("INSERT INTO {$CONFIG['TABLE_USERGROUPS']} (group_id, group_name, has_admin_access) VALUES ('$i_group_id', '" . addslashes($i_group_name) . "', '$admin_access')");
-                                $cpg_groups[$i_group_id] = $i_group_name;
-                        }
-                }
-
-                // Update Group names
-                foreach($udb_groups as $i_group_id => $i_group_name) {
-                        if ($cpg_groups[$i_group_id] != $i_group_name) {
-                                cpg_db_query("UPDATE {$CONFIG['TABLE_USERGROUPS']} SET group_name = '" . addslashes($i_group_name) . "' WHERE group_id = '$i_group_id' LIMIT 1");
-                        }
-                }
-                // fix admin grp
-                if (!$this->use_post_based_groups) cpg_db_query("UPDATE {$CONFIG['TABLE_USERGROUPS']} SET has_admin_access = '1' WHERE group_id = '1' LIMIT 1");
-
-        }
-
-        // Retrieve the album list used in gallery admin mode
-        function get_admin_album_list()
-        {
-                global $CONFIG;
-
-                if ($this->can_join_tables) {
-                        $sql = "SELECT aid, CONCAT('(', {$this->field['username']}, ') ', a.title) AS title
-                                                        FROM {$CONFIG['TABLE_ALBUMS']} AS a
-                                                        INNER JOIN {$this->usertable} AS u
-                                                        ON category = (" . FIRST_USER_CAT . " + {$this->field['user_id']})
-                                                        ORDER BY title";
-                } else {
-                        $sql = "SELECT aid, IF(category > " . FIRST_USER_CAT . ", CONCAT('* ', title), CONCAT(' ', title)) AS title " . "FROM {$CONFIG['TABLE_ALBUMS']} " . "ORDER BY title";
-                }
-                return $sql;
-        }
-
-        // Retrieve the user album list used in gallery admin mode during batch add process.
-        function get_batch_add_album_list()
-        {
-                global $CONFIG;
-                if ($this->can_join_tables) {
-                        $sql = "SELECT aid, CONCAT('(', {$this->field['username']}, ') ', a.title) AS title
-                                                        FROM {$CONFIG['TABLE_ALBUMS']} AS a
-                                                        INNER JOIN {$this->usertable} AS u
-                                                        ON category = (" . FIRST_USER_CAT . " + ".USER_ID.") AND {$this->field['user_id']} = ".USER_ID." ORDER BY title";
-                } else {
-                        $sql = "SELECT aid, IF(category > " . FIRST_USER_CAT . ", CONCAT('* ', title), CONCAT(' ', title)) AS title " . "FROM {$CONFIG['TABLE_ALBUMS']} WHERE category = ".(FIRST_USER_CAT+USER_ID)." ORDER BY title";
-                }
-                return $sql;
-        }
-
-// Used to generate the album selection box in Admin tools (util.php)
-        function util_filloptions()
-        {
-                global $lang_util_php, $CONFIG, $lang_upload_php;
-
-                // Reset counter
-                $list_count = 0;
-
-                if ($this->can_join_tables) {
-
-                        $user_albums = cpg_db_query("SELECT {$this->field['username']} AS user_name, aid, a.title
-                                                                                FROM {$CONFIG['TABLE_ALBUMS']} AS a
-                                                                                LEFT JOIN {$this->usertable} AS u
-                                                                                ON (category - " . FIRST_USER_CAT . ") = {$this->field['user_id']}
-                                                                                WHERE category > " . FIRST_USER_CAT);
-                        $user_albums_list = cpg_db_fetch_rowset($user_albums);
-                        mysql_free_result($user_albums);
-
-                        // Cycle through the User albums
-                        foreach($user_albums_list as $album) {
-
-                                // Add to multi-dim array for later sorting
-                                $listArray[$list_count]['cat'] = $lang_upload_php['personal_albums'];
-                                $listArray[$list_count]['aid'] = $album['aid'];
-                                $username = is_null($album['user_name']) ? 'Mr. X' : $album['user_name'];
-                                $listArray[$list_count]['title'] = '(' . $username . ') ' . $album['title'];
-                                $list_count++;
-                        }
-
-                } else {
-
-                        $user_albums = cpg_db_query("SELECT aid, title, category FROM {$CONFIG['TABLE_ALBUMS']} WHERE category > " . FIRST_USER_CAT);
-
-                        $user_albums_list = $user_ids = array();
-
-                        if (mysql_num_rows($user_albums)){
-
-                                while ($row = cpg_db_fetch_row($user_albums)){
-                                        $user_albums_list[] = $row;
-                                        $user_ids[] = $row['category'] - FIRST_USER_CAT;
-                                }
-                                mysql_free_result($user_albums);
-
-                                $user_id_list = implode(', ', array_unique($user_ids));
-
-                                $user_names = cpg_db_query("SELECT {$this->field['username']} AS user_name, {$this->field['user_id']} AS user_id  FROM {$this->usertable} WHERE {$this->field['user_id']} IN ($user_id_list)", $this->link_id);
-
-                                while ($row = cpg_db_fetch_row($user_names)){
-                                        $user_names_list[$row['user_id']] = $row['user_name'];
-                                }
-                                mysql_free_result($user_names);
-
-                                // Cycle through the User albums
-                                foreach($user_albums_list as $album) {
-
-                                        // Add to multi-dim array for later sorting
-                                        $listArray[$list_count]['cat'] = $lang_upload_php['personal_albums'];
-                                        $listArray[$list_count]['aid'] = $album['aid'];
-                                        $username = isset($user_names_list[$album['category'] - FIRST_USER_CAT]) ? $user_names_list[$album['category'] - FIRST_USER_CAT] : 'Mr. X';
-                                        $listArray[$list_count]['title'] = '(' . $username . ') ' . $album['title'];
-                                        $list_count++;
-                                }
-                        } else {
-                                mysql_free_result($user_albums);
-                        }
-                }
-
-                $public_albums = cpg_db_query("SELECT aid, title, name FROM {$CONFIG['TABLE_ALBUMS']} LEFT JOIN {$CONFIG['TABLE_CATEGORIES']} ON cid = category WHERE category < " . FIRST_USER_CAT . " ORDER BY title");
-                $public_albums_list = cpg_db_fetch_rowset($public_albums);
-                mysql_free_result($public_albums);
-
-                // Cycle through the public albums
-                foreach($public_albums_list as $album) {
-
-                        // Set $album_id to the actual album ID
-                        $album_id = $album['aid'];
-
-                        // Add to multi-dim array for sorting later
-                        $vRes['name'] = $album['name'];
-                        if ($vRes['name']) {
-                                $listArray[$list_count]['cat'] = $vRes['name'];
-                        } else {
-                                $listArray[$list_count]['cat'] = $lang_upload_php['albums_no_category'];
-                        }
-                        $listArray[$list_count]['aid'] = $album['aid'];
-                        $listArray[$list_count]['title'] = $album['title'];
-                        $list_count++;
-                }
-
-                // Sort the pulldown options by category and album name
-                $listArray = array_csort($listArray,'cat','title');
-
-                // Finally, print out the nicely sorted and formatted drop down list
-                $alb_cat = '';
-
-                echo '&nbsp;&nbsp;&nbsp;&nbsp;<select size="1" name="albumid" class="listbox"><option value="0">All Albums</option>';
-
-                foreach ($listArray as $val) {
-                        if ($val['cat'] != $alb_cat) {
-                                if ($alb_cat) echo "                </optgroup>\n";
-                                echo '                <optgroup label="' . $val['cat'] . '">' . "\n";
-                                $alb_cat = $val['cat'];
-                        }
-                        echo '                <option value="' . $val['aid'] . '">   ' . $val['title'] . "</option>\n";
-                }
-
-                if ($alb_cat) echo "                </optgroup>\n";
-
-                print '</select> (3)';
-                print '&nbsp;&nbsp;&nbsp;&nbsp;<input type="submit" value="'.$lang_util_php['submit_form'].'" class="button" /> (4)';
-                // print '</form>';
-        }
-
-        // Taken from Mambo (com_registration.php)
-        function make_password(){
-                $makepass="";
-                $salt = "abchefghjkmnpqrstuvwxyz0123456789";
-                srand((double)microtime()*1000000);
-                $i = 0;
-                while ($i <= 7) {
-                        $num = rand() % 33;
-                        $tmp = substr($salt, $num, 1);
-                        $makepass = $makepass . $tmp;
-                        $i++;
-                }
-                return ($makepass);
-        }
-
-        function session_extraction() {
-            return false;
-        }
-
-        function cookie_extraction() {
-           return false;
-        }
-
-        // Simple login by specified username and pass.
-        // Used for xp publisher login
-        // Needs override for any BBS that is more complex than straight md5(password)
-        function login( $username = null, $password = null, $remember = false ) {
-
-                $encpassword = md5($password);
-
-                // Check for user in users table
-        $sql =  "SELECT {$this->field['user_id']} AS user_id, {$this->field['username']} AS user_name FROM {$this->usertable} WHERE ";
-        $sql .= "{$this->field['username']} = '$username' AND BINARY {$this->field['password']} = '$encpassword'";
-                $results = cpg_db_query($sql);
-
-                if (mysql_num_rows($results)) {
-                        $USER_DATA = mysql_fetch_assoc($results);
-                        mysql_free_result($results);
-                        return $USER_DATA;
-                } else {
-                        return false;
-                }
-        }
-		
-	// Used for sorting (usort) the userlist by criteria that are not directly in the udb user table, callback function.
-	function adv_sort($a, $b)
-	{
-		global $cpg_udb;
-
-		if ($cpg_udb->sortdir == 'ASC'){
-			return strcmp($a[$cpg_udb->sortfield], $b[$cpg_udb->sortfield]);
-		 } else {
-			return strcmp($b[$cpg_udb->sortfield], $a[$cpg_udb->sortfield]);
-		}
-	}
-}
+<?php
+/*************************
+  Coppermine Photo Gallery
+  ************************
+  Copyright (c) 2003-2009 Coppermine Dev Team
+  v1.1 originally written by Gregory DEMAR
+
+  This program is free software; you can redistribute it and/or modify
+  it under the terms of the GNU General Public License version 3
+  as published by the Free Software Foundation.
+  
+  ********************************************
+  Coppermine version: 1.4.25
+  $HeadURL: https://coppermine.svn.sourceforge.net/svnroot/coppermine/trunk/cpg1.4.x/bridge/udb_base.inc.php $
+  $Revision: 5997 $
+  $Author: gaugau $
+  $Date: 2009-05-26 08:43:24 +0200 (Di, 26 Mai 2009) $
+**********************************************/
+
+if (!defined('IN_COPPERMINE')) die('Not in Coppermine...');
+
+class core_udb {
+
+        function connect($id = '')
+        {
+                global $CONFIG;
+
+                // Define wheter we can join tables or not in SQL queries (same host & same db or user)
+                $this->can_join_tables = ($this->db['host'] == $CONFIG['dbserver'] && ($this->db['name'] == $CONFIG['dbname'] || $this->db['user'] == $CONFIG['dbuser']));
+
+                if ($id){
+                        $this->link_id = $id;
+                } else {
+                        // Connect to udb database if necessary
+                        if (!$this->can_join_tables) {
+                                $this->link_id = mysql_connect($this->db['host'], $this->db['user'], $this->db['password']);
+                                if (!$this->link_id) die("<b>Coppermine critical error</b>:<br />Unable to connect to UDB database !<br /><br />MySQL said: <b>" . mysql_error() . "</b>");
+                                mysql_select_db ($this->db['name'], $this->link_id);
+                        } else {
+                                $this->link_id = 0;
+                        }
+                }
+        }
+
+        function authenticate()
+        {
+                global $USER_DATA;
+
+                if (!($auth = $this->session_extraction()) && !($auth = $this->cookie_extraction())) {
+                        $this->load_guest_data();
+                } else {
+                        list ($id, $cookie_pass) = $auth;
+                        $f = $this->field;
+
+                        if (isset($this->usergroupstable)){
+                                $sql = "SELECT u.{$f['user_id']} AS id, u.{$f['username']} AS username, u.{$f['password']} AS password, ug.{$f['usertbl_group_id']} AS group_id ".
+                                           "FROM {$this->usertable} AS u, {$this->usergroupstable} AS ug ".
+                                           "WHERE u.{$f['user_id']}=ug.{$f['user_id']} AND u.{$f['user_id']}='$id'";
+                        } else {
+                                $sql = "SELECT u.{$f['user_id']} AS id, u.{$f['username']} AS username, u.{$f['password']} AS password, u.{$f['usertbl_group_id']}+100 AS group_id ".
+                                           "FROM {$this->usertable} AS u INNER JOIN {$this->groupstable} AS g ON u.{$f['usertbl_group_id']}=g.{$f['grouptbl_group_id']} ".
+                                           "WHERE u.{$f['user_id']}='$id'";
+                        }
+
+                        $result = cpg_db_query($sql, $this->link_id);
+
+                        if (mysql_num_rows($result)){
+                                $row = mysql_fetch_assoc($result);
+                                mysql_free_result($result);
+
+                                $db_pass = $this->udb_hash_db($row['password']);
+                                if ($db_pass === $cookie_pass) {
+                                        $this->load_user_data($row);
+                                } else {
+                                        $this->load_guest_data();
+                                }
+                        } else {
+                                $this->load_guest_data();
+                        }
+                }
+
+                $user_group_set = '(' . implode(',', $USER_DATA['groups']) . ')';
+
+        $USER_DATA = array_merge($USER_DATA, $this->get_user_data($USER_DATA['groups'][0], $USER_DATA['groups'], $this->guestgroup));
+
+                if ($this->use_post_based_groups){
+                        $USER_DATA['has_admin_access'] = (in_array($USER_DATA['groups'][0] - 100,$this->admingroups)) ? 1 : 0;
+                } else {
+                        $USER_DATA['has_admin_access'] = ($USER_DATA['groups'][0] == 1) ? 1 : 0;
+                }
+
+                $USER_DATA['can_see_all_albums'] = $USER_DATA['has_admin_access'];
+
+                // avoids a template error
+                if (!$USER_DATA['user_id']) $USER_DATA['can_create_albums'] = 0;
+
+            // For error checking
+                $CONFIG['TABLE_USERS'] = '**ERROR**';
+
+                define('USER_ID', $USER_DATA['user_id']);
+        define('USER_NAME', addslashes($USER_DATA['user_name']));
+        define('USER_GROUP', $USER_DATA['group_name']);
+        define('USER_GROUP_SET', $user_group_set);
+        define('USER_IS_ADMIN', $USER_DATA['has_admin_access']);
+        define('USER_CAN_SEND_ECARDS', (int)$USER_DATA['can_send_ecards']);
+        define('USER_CAN_RATE_PICTURES', (int)$USER_DATA['can_rate_pictures']);
+        define('USER_CAN_POST_COMMENTS', (int)$USER_DATA['can_post_comments']);
+        define('USER_CAN_UPLOAD_PICTURES', (int)$USER_DATA['can_upload_pictures']);
+        define('USER_CAN_CREATE_ALBUMS', (int)$USER_DATA['can_create_albums']);
+        define('USER_UPLOAD_FORM', (int)$USER_DATA['upload_form_config']);
+        define('CUSTOMIZE_UPLOAD_FORM', (int)$USER_DATA['custom_user_upload']);
+        define('NUM_FILE_BOXES', (int)$USER_DATA['num_file_upload']);
+        define('NUM_URI_BOXES', (int)$USER_DATA['num_URI_upload']);
+
+                $this->session_update();
+        }
+
+        function load_guest_data()
+        {
+                global $USER_DATA;
+
+                $USER_DATA['user_id'] = 0;
+        $USER_DATA['user_name'] = 'Guest';
+        $USER_DATA['groups'][0] = $this->use_post_based_groups ? ($this->guestgroup) : 3;
+        $USER_DATA['group_quota'] = 1;
+        $USER_DATA['can_rate_pictures'] = 0;
+                $USER_DATA['can_send_ecards'] = 0;
+                $USER_DATA['can_post_comments'] = 0;
+                $USER_DATA['can_upload_pictures'] = 0;
+                $USER_DATA['can_create_albums'] = 0;
+                $USER_DATA['pub_upl_need_approval'] = 1;
+                $USER_DATA['priv_upl_need_approval'] = 1;
+                $USER_DATA['upload_form_config'] = 0;
+                $USER_DATA['num_file_upload'] = 0;
+                $USER_DATA['num_URI_upload'] = 0;
+                $USER_DATA['custom_user_upload'] = 0;
+        }
+
+        function load_user_data($row)
+        {
+
+                global $USER_DATA;
+
+                $USER_DATA['user_id'] = $row['id'];
+        $USER_DATA['user_name'] = $row['username'];
+
+                //changed to "row['group_id']" $group_id = $row[($this->usergroupstable)?$this->field['usertbl_group_id']:$this->field['grouptbl_group_id']];
+
+                if  ($this->multigroups){
+                        $USER_DATA['groups'] = $this->get_groups($row);
+                } else {
+                        if ($this->use_post_based_groups){
+                                $USER_DATA['groups'] = array(0 => $row['group_id']);
+                        } else {
+                                $USER_DATA['groups'] = array(0 => (in_array($row['group_id'] - 100, $this->admingroups)) ? 1 : 2);
+                        }
+                }
+        }
+
+        /*
+         * Prototype function needed for Mambo *maybe others*
+         * Keeps the session alive
+         */
+        function session_update() {}
+
+        function get_user_count()
+        {
+                global $CONFIG;
+                static $user_count = 0;
+
+                if (!$user_count) {
+            $result = cpg_db_query("SELECT count(*) FROM {$this->usertable} WHERE 1", $this->link_id);
+            $nbEnr = mysql_fetch_array($result);
+            $user_count = $nbEnr[0];
+            mysql_free_result($result);
+        }
+
+        return $user_count;
+        }
+
+    function get_users($options = array())
+    {
+            global $CONFIG;
+
+                // Copy UDB fields and config variables (just to make it easier to read)
+            $f =& $this->field;
+                $C =& $CONFIG;
+
+                // Sort codes
+        $sort_codes = array('name_a' => 'user_name ASC',
+                            'name_d' => 'user_name DESC',
+                            'group_a' => 'group_name ASC',
+                            'group_d' => 'group_name DESC',
+                            'reg_a' => 'user_regdate ASC',
+                            'reg_d' => 'user_regdate DESC',
+                            'pic_a' => 'pic_count ASC',
+                            'pic_d' => 'pic_count DESC',
+                            'disku_a' => 'disk_usage ASC',
+                            'disku_d' => 'disk_usage DESC',
+                            'lv_a' => 'user_lastvisit ASC',
+                            'lv_d' => 'user_lastvisit DESC',
+                           );
+
+        // Fix the group id, if bridging is enabled
+        if ($CONFIG['bridge_enable']) {
+            $f['usertbl_group_id'] .= '+100';
+        }
+
+                // Build WHERE clause, if this is a username search
+        if ($options['search']) {
+            $options['search'] = 'WHERE u.'.$f['username'].' LIKE "'.$options['search'].'" ';
+        }
+
+                // Build SQL table, should work with all bridges
+        $sql = "SELECT {$f['user_id']} as user_id, {$f['username']} as user_name, {$f['email']} as user_email, {$f['regdate']} as user_regdate, {$f['lastvisit']} as user_lastvisit, {$f['active']} as user_active, ".
+               "COUNT(pid) as pic_count, ROUND(SUM(total_filesize)/1024) as disk_usage, group_name, group_quota ".
+               "FROM {$this->usertable} AS u ".
+               "INNER JOIN {$C['TABLE_USERGROUPS']} AS g ON u.{$f['usertbl_group_id']} = g.group_id ".
+               "LEFT JOIN {$C['TABLE_PICTURES']} AS p ON p.owner_id = u.{$f['user_id']} ".
+               $options['search'].
+               "GROUP BY user_id " . "ORDER BY " . $sort_codes[$options['sort']] . " ".
+               "LIMIT {$options['lower_limit']}, {$options['users_per_page']};";
+
+                $result = cpg_db_query($sql, $this->link_id);
+
+                // If no records, return empty value
+                if (!$result) {
+                        return array();
+                }
+
+                // Extract user list to an array
+                while ($user = mysql_fetch_assoc($result)) {
+                        $userlist[] = $user;
+                }
+
+        return $userlist;
+    }
+
+
+    function get_groups() {}
+
+        // Retrieve the name of a user
+        function get_user_name($uid)
+        {
+                $sql = "SELECT {$this->field['username']} as user_name FROM {$this->usertable} WHERE {$this->field['user_id']} = '$uid'";
+
+                $result = cpg_db_query($sql, $this->link_id);
+
+                if (mysql_num_rows($result)) {
+                        $row = mysql_fetch_array($result);
+                        mysql_free_result($result);
+                        return $row['user_name'];
+                } else {
+                        return '';
+                }
+        }
+
+        // Retrieve the id of a user
+        function get_user_id($username)
+        {
+                $username = addslashes($username);
+
+                $sql = "SELECT {$this->field['user_id']} AS user_id FROM {$this->usertable} WHERE {$this->field['username']}  = '$username'";
+
+                $result = cpg_db_query($sql, $this->link_id);
+
+                if (mysql_num_rows($result)) {
+                        $row = mysql_fetch_array($result);
+                        mysql_free_result($result);
+                        return $row['user_id'];
+                } else {
+                        return '';
+                }
+        }
+
+    // Perform database queries to calculate user's privileges based on group membership
+    function get_user_data($pri_group, $groups, $default_group_id = 3)
+    {
+
+            //Parameters :
+            //                $pri_group (scalar) :         Group ID number of the user's 'main' group. This is the group that will be
+            //                                                                                        the user's profile display. ($USER_DATA['group_id'])
+            //
+            //                $groups (array) :                        List of group ids of all the groups that the user is a member of. IF this list
+            //                                                                                        does not include the $pri_group, it will be added.
+            //
+            //                $default_group_id (scalar) :         The group used as a fall-back if no valid group ids are specified.
+            //                                                                                                        If this group also does not exist then CPG will abort with a critical
+            //                                                                                                        error.
+            //
+            // Returns an array containing most of the data to put into in $USER_DATA.
+
+            global $CONFIG;
+
+            foreach ($groups as $key => $val)
+                    if (!is_numeric($val))
+                            unset ($groups[$key]);
+            if (!in_array($pri_group, $groups)) array_push($groups, $pri_group);
+
+            $result = cpg_db_query("SELECT MAX(group_quota) as disk_max, MIN(group_quota) as disk_min, " .
+                            "MAX(can_rate_pictures) as can_rate_pictures, MAX(can_send_ecards) as can_send_ecards, " .
+                            "MAX(upload_form_config) as ufc_max, MIN(upload_form_config) as ufc_min, " .
+                            "MAX(custom_user_upload) as custom_user_upload, MAX(num_file_upload) as num_file_upload, " .
+                            "MAX(num_URI_upload) as num_URI_upload, " .
+                            "MAX(can_post_comments) as can_post_comments, MAX(can_upload_pictures) as can_upload_pictures, " .
+                            "MAX(can_create_albums) as can_create_albums, " .
+                            "MAX(has_admin_access) as has_admin_access, " .
+                            "MIN(pub_upl_need_approval) as pub_upl_need_approval, MIN( priv_upl_need_approval) as  priv_upl_need_approval ".
+                            "FROM {$CONFIG['TABLE_USERGROUPS']} WHERE group_id in (" .  implode(",", $groups). ")");
+
+            if (mysql_num_rows($result)) {
+                    $USER_DATA = mysql_fetch_assoc($result);
+                    $result = cpg_db_query("SELECT group_name FROM  {$CONFIG['TABLE_USERGROUPS']} WHERE group_id= " . $pri_group);
+                    $temp_arr = mysql_fetch_assoc($result);
+                    $USER_DATA["group_name"] = $temp_arr["group_name"];
+            } else {
+                    $result = cpg_db_query("SELECT * FROM {$CONFIG['TABLE_USERGROUPS']} WHERE group_id = $default_group_id");
+                   if (!mysql_num_rows($result)) die('<b>Coppermine critical error</b>:<br />The group table does not contain the Anonymous group !');
+                           $USER_DATA = mysql_fetch_assoc($result);
+                    }
+            mysql_free_result($result);
+
+            if ( $USER_DATA['ufc_max'] == $USER_DATA['ufc_min'] ) {
+                    $USER_DATA["upload_form_config"] = $USER_DATA['ufc_min'];
+            } elseif ($USER_DATA['ufc_min'] == 0) {
+                    $USER_DATA["upload_form_config"] = $USER_DATA['ufc_max'];
+            } elseif ((($USER_DATA['ufc_max'] == 2) or ($USER_DATA['ufc_max'] == 3)) and ($USER_DATA['ufc_min'] == 1)) {
+                    $USER_DATA["upload_form_config"] = 3;
+            } elseif (($USER_DATA['ufc_max'] == 3) and ($USER_DATA['ufc_min'] == 2)) {
+                    $USER_DATA["upload_form_config"] = 3;
+            } else {
+                    $USER_DATA["upload_form_config"] = 0;
+            }
+            $USER_DATA["group_quota"] = ($USER_DATA["disk_min"])?$USER_DATA["disk_max"]:0;
+
+            $USER_DATA['can_see_all_albums'] = $USER_DATA['has_admin_access'];
+
+            $USER_DATA["group_id"] = $pri_group;
+            $USER_DATA['groups'] = $groups;
+
+            if (get_magic_quotes_gpc() == 0)
+                            $USER_DATA['group_name'] = mysql_escape_string($USER_DATA['group_name']);
+
+            return($USER_DATA);
+    }
+        // Redirect
+        function redirect($target)
+        {
+                header('Location: '. $this->boardurl . $target);
+                exit;
+        }
+
+        // Register
+        function register_page()
+        {
+                $this->redirect($this->page['register']);
+        }
+
+        // View users
+        function view_users()
+        {
+                $this->redirect($this->page['editusers']);
+        }
+
+        // Edit users
+        function edit_users()
+        {
+                $this->redirect($this->page['editusers']);
+        }
+
+        // View user profile
+        function view_profile($uid)
+        {
+                $this->redirect($this->page['edituserprofile'].($uid ? $uid : USER_ID));
+        }
+
+        // Edit user profile
+        function edit_profile($uid)
+        {
+                $this->redirect($this->page['edituserprofile'].$uid);
+        }
+
+        // Get user information
+        function get_user_infos($uid)
+        {
+        global $lang_register_php;
+
+                $sql = "SELECT *, {$this->field['username']} AS user_name,
+                                                                                {$this->field['email']} AS user_email,
+                                                                                {$this->field['regdate']} AS user_regdate,
+                                                                                {$this->field['location']} AS user_location,
+                                                                                {$this->field['website']} AS user_website
+
+                                                                                FROM  {$this->usertable} WHERE {$this->field['user_id']} = '$uid'";
+
+                $result = cpg_db_query($sql, $this->link_id);
+
+                if (!mysql_num_rows($result)) cpg_die(ERROR, $lang_register_php['err_unk_user'], __FILE__, __LINE__);
+
+                $user_data = mysql_fetch_array($result);
+                if (!isset($user_data['group_name'])) $user_data['group_name'] = '';
+                if (!isset($user_data['user_profile1'])) $user_data['user_profile1'] = '';
+                if (!isset($user_data['user_profile2'])) $user_data['user_profile2'] = '';
+                if (!isset($user_data['user_profile3'])) $user_data['user_profile3'] = '';
+                if (!isset($user_data['user_profile4'])) $user_data['user_profile4'] = '';
+                if (!isset($user_data['user_profile5'])) $user_data['user_profile5'] = '';
+                if (!isset($user_data['user_profile6'])) $user_data['user_profile6'] = '';
+                mysql_free_result($result);
+
+                return $user_data;
+        }
+
+        // Query used to list users
+        function list_users_query(&$user_count)
+        {
+                global $CONFIG, $FORBIDDEN_SET, $PAGE;
+
+        $f =& $this->field;
+
+                if ($FORBIDDEN_SET != "") {
+                        $forbidden_with_icon = "AND ($FORBIDDEN_SET or p.galleryicon=p.pid)";
+                        $forbidden = "AND ($FORBIDDEN_SET)";
+                } else {
+                        $forbidden_with_icon = '';
+                        $forbidden = '';
+                }
+
+                // Get the total number of users with albums
+        $sql  = "select null ";
+        $sql .= "from {$CONFIG['TABLE_ALBUMS']} as p ";
+        $sql .= " INNER JOIN {$CONFIG['TABLE_PICTURES']} AS pics ON pics.aid = p.aid ";
+                $sql .= "where ( category>".FIRST_USER_CAT." $forbidden) ";
+        $sql .= "group by category;";
+
+        $result = cpg_db_query($sql);
+        $user_count = mysql_num_rows($result);
+
+        if ($user_count == 0) {
+            return false;
+        }
+
+        mysql_free_result($result);
+
+        $users_per_page = $CONFIG['thumbcols'] * $CONFIG['thumbrows'];
+        $totalPages = ceil($user_count / $users_per_page);
+        if ($PAGE > $totalPages) $PAGE = 1;
+        $lower_limit = ($PAGE-1) * $users_per_page;
+
+                if ($this->can_join_tables){
+
+                        $sql  = "SELECT {$f['user_id']} as user_id,";
+                        $sql .= "{$f['username']} as user_name,";
+                        $sql .= "COUNT(DISTINCT a.aid) as alb_count,";
+                        $sql .= "COUNT(DISTINCT pid) as pic_count,";
+                        $sql .= "MAX(pid) as thumb_pid, ";
+                        $sql .= "MAX(galleryicon) as gallery_pid ";
+                        $sql .= "FROM {$CONFIG['TABLE_ALBUMS']} AS a ";
+                        $sql .= "INNER JOIN {$this->usertable} as u on u.{$f['user_id']} = a.category - " . FIRST_USER_CAT . " ";
+                        $sql .= "INNER JOIN {$CONFIG['TABLE_PICTURES']} AS p ON p.aid = a.aid ";
+                        $sql .= "WHERE ((isnull(approved) or approved='YES') AND category > " . FIRST_USER_CAT . ") $forbidden_with_icon GROUP BY user_id ";
+                        $sql .= "ORDER BY category ";
+                        $sql .= "LIMIT $lower_limit, $users_per_page ";
+
+
+                        $result = cpg_db_query($sql);
+
+                        while ($row = mysql_fetch_array($result)) {
+                                $users[] = $row;
+                        }
+                        mysql_free_result($result);
+
+                } else {
+                        // This is the way we collect the data without a direct join to the forum's user table
+
+                        // This query determines which users we need to collect usernames of - ie just those which have albums with pics
+                        // and are on the page we are looking at
+                        $sql  = "SELECT category - 10000 as user_id ";
+                        $sql .= "FROM {$CONFIG['TABLE_ALBUMS']} AS a ";
+                        $sql .= "INNER JOIN {$CONFIG['TABLE_PICTURES']} AS p ON p.aid = a.aid ";
+                        $sql .= "WHERE ((isnull(approved) or approved='YES') ";
+                        $sql .= "AND category > " . FIRST_USER_CAT . ") $forbidden_with_icon GROUP BY category ";
+                        $sql .= "LIMIT $lower_limit, $users_per_page ";
+
+                        $result = cpg_db_query($sql);
+
+                        $user_ids = array();
+
+                        while ($row = mysql_fetch_array($result)) {
+                                $user_ids[] = $row['user_id'];
+                        }
+                        mysql_free_result($result);
+
+                        $userlist = implode(',', $user_ids);
+
+                        // This query collects an array of user_id -> username mappings for the user ids collected above
+                        $result = cpg_db_query("SELECT {$this->field['user_id']} AS user_id, {$this->field['username']} AS user_name FROM {$this->usertable} WHERE {$this->field['user_id']} IN ($userlist)", $this->link_id);
+
+                        $userdata = array();
+
+                        while ($row = mysql_fetch_array($result)) {
+                                $userdata[$row['user_id']] = $row['user_name'];
+                        }
+
+                        mysql_free_result($result);
+
+                        // This is the main query, similar to the one in the join implementation above but without the join to the user table
+                        // We use the pic's owner_id field as the user_id instead of using category - 10000 as the user_id
+                        $sql  = "SELECT owner_id as user_id,";
+                        //$sql .= "{$f['username']} as user_name,";
+                        $sql .= "COUNT(DISTINCT a.aid) as alb_count,";
+                        $sql .= "COUNT(DISTINCT pid) as pic_count,";
+                        $sql .= "MAX(pid) as thumb_pid, ";
+                        $sql .= "MAX(galleryicon) as gallery_pid ";
+                        $sql .= "FROM {$CONFIG['TABLE_ALBUMS']} AS a ";
+                   // $sql .= "INNER JOIN {$this->usertable} as u on u.{$f['user_id']}+".FIRST_USER_CAT."=a.category ";
+                        $sql .= "INNER JOIN {$CONFIG['TABLE_PICTURES']} AS p ON p.aid = a.aid ";
+                        $sql .= "WHERE ((isnull(approved) or approved='YES') AND category > " . FIRST_USER_CAT . ") $forbidden_with_icon GROUP BY user_id ";
+                        $sql .= "ORDER BY category ";
+                        $sql .= "LIMIT $lower_limit, $users_per_page ";
+
+                        $result = cpg_db_query($sql);
+
+                        // Here we associate the username with the album details.
+                        while ($row = mysql_fetch_array($result)) {
+                                $users[] = array_merge($row, array('user_name' => $userdata[$row['user_id']]));
+                        }
+
+                        mysql_free_result($result);
+                }
+                return $users;
+        }
+
+
+        // Group table synchronisation
+        function synchronize_groups()
+        {
+                global $CONFIG ;
+
+                if ($this->use_post_based_groups){
+                        if ($this->group_overrride){
+                                $udb_groups = $this->collect_groups();
+                        } else {
+                                $sql = "SELECT * FROM {$this->groupstable} WHERE {$this->field['grouptbl_group_name']} <> ''";
+
+                                $result = cpg_db_query($sql, $this->link_id);
+
+                                $udb_groups = array();
+
+                                while ($row = mysql_fetch_assoc($result))
+                                {
+                                        $udb_groups[$row[$this->field['grouptbl_group_id']]+100] = $row[$this->field['grouptbl_group_name']];
+                                }
+                        }
+                } else {
+                        $udb_groups = array(1 =>'Administrators', 2=> 'Registered', 3=>'Guests', 4=> 'Banned');
+                }
+
+                $result = cpg_db_query("SELECT group_id, group_name FROM {$CONFIG['TABLE_USERGROUPS']} WHERE 1");
+
+                while ($row = mysql_fetch_array($result)) {
+                        $cpg_groups[$row['group_id']] = $row['group_name'];
+                }
+
+                mysql_free_result($result);
+
+                // Scan Coppermine groups that need to be deleted
+                foreach($cpg_groups as $c_group_id => $c_group_name) {
+                        if ((!isset($udb_groups[$c_group_id]))) {
+                                cpg_db_query("DELETE FROM {$CONFIG['TABLE_USERGROUPS']} WHERE group_id = '" . $c_group_id . "' LIMIT 1");
+                                unset($cpg_groups[$c_group_id]);
+                        }
+                }
+
+                // Scan udb groups that need to be created inside Coppermine table
+                foreach($udb_groups as $i_group_id => $i_group_name) {
+                        if ((!isset($cpg_groups[$i_group_id]))) {
+                                // add admin info
+                                $admin_access = in_array($i_group_id-100, $this->admingroups) ? '1' : '0';
+                                cpg_db_query("INSERT INTO {$CONFIG['TABLE_USERGROUPS']} (group_id, group_name, has_admin_access) VALUES ('$i_group_id', '" . addslashes($i_group_name) . "', '$admin_access')");
+                                $cpg_groups[$i_group_id] = $i_group_name;
+                        }
+                }
+
+                // Update Group names
+                foreach($udb_groups as $i_group_id => $i_group_name) {
+                        if ($cpg_groups[$i_group_id] != $i_group_name) {
+                                cpg_db_query("UPDATE {$CONFIG['TABLE_USERGROUPS']} SET group_name = '" . addslashes($i_group_name) . "' WHERE group_id = '$i_group_id' LIMIT 1");
+                        }
+                }
+                // fix admin grp
+                if (!$this->use_post_based_groups) cpg_db_query("UPDATE {$CONFIG['TABLE_USERGROUPS']} SET has_admin_access = '1' WHERE group_id = '1' LIMIT 1");
+
+        }
+
+        // Retrieve the album list used in gallery admin mode
+        function get_admin_album_list()
+        {
+                global $CONFIG;
+
+                if ($this->can_join_tables) {
+                        $sql = "SELECT aid, CONCAT('(', {$this->field['username']}, ') ', a.title) AS title
+                                                        FROM {$CONFIG['TABLE_ALBUMS']} AS a
+                                                        INNER JOIN {$this->usertable} AS u
+                                                        ON category = (" . FIRST_USER_CAT . " + {$this->field['user_id']})
+                                                        ORDER BY title";
+                } else {
+                        $sql = "SELECT aid, IF(category > " . FIRST_USER_CAT . ", CONCAT('* ', title), CONCAT(' ', title)) AS title " . "FROM {$CONFIG['TABLE_ALBUMS']} " . "ORDER BY title";
+                }
+                return $sql;
+        }
+
+        // Retrieve the user album list used in gallery admin mode during batch add process.
+        function get_batch_add_album_list()
+        {
+                global $CONFIG;
+                if ($this->can_join_tables) {
+                        $sql = "SELECT aid, CONCAT('(', {$this->field['username']}, ') ', a.title) AS title
+                                                        FROM {$CONFIG['TABLE_ALBUMS']} AS a
+                                                        INNER JOIN {$this->usertable} AS u
+                                                        ON category = (" . FIRST_USER_CAT . " + ".USER_ID.") AND {$this->field['user_id']} = ".USER_ID." ORDER BY title";
+                } else {
+                        $sql = "SELECT aid, IF(category > " . FIRST_USER_CAT . ", CONCAT('* ', title), CONCAT(' ', title)) AS title " . "FROM {$CONFIG['TABLE_ALBUMS']} WHERE category = ".(FIRST_USER_CAT+USER_ID)." ORDER BY title";
+                }
+                return $sql;
+        }
+
+// Used to generate the album selection box in Admin tools (util.php)
+        function util_filloptions()
+        {
+                global $lang_util_php, $CONFIG, $lang_upload_php;
+
+                // Reset counter
+                $list_count = 0;
+
+                if ($this->can_join_tables) {
+
+                        $user_albums = cpg_db_query("SELECT {$this->field['username']} AS user_name, aid, a.title
+                                                                                FROM {$CONFIG['TABLE_ALBUMS']} AS a
+                                                                                LEFT JOIN {$this->usertable} AS u
+                                                                                ON (category - " . FIRST_USER_CAT . ") = {$this->field['user_id']}
+                                                                                WHERE category > " . FIRST_USER_CAT);
+                        $user_albums_list = cpg_db_fetch_rowset($user_albums);
+                        mysql_free_result($user_albums);
+
+                        // Cycle through the User albums
+                        foreach($user_albums_list as $album) {
+
+                                // Add to multi-dim array for later sorting
+                                $listArray[$list_count]['cat'] = $lang_upload_php['personal_albums'];
+                                $listArray[$list_count]['aid'] = $album['aid'];
+                                $username = is_null($album['user_name']) ? 'Mr. X' : $album['user_name'];
+                                $listArray[$list_count]['title'] = '(' . $username . ') ' . $album['title'];
+                                $list_count++;
+                        }
+
+                } else {
+
+                        $user_albums = cpg_db_query("SELECT aid, title, category FROM {$CONFIG['TABLE_ALBUMS']} WHERE category > " . FIRST_USER_CAT);
+
+                        $user_albums_list = $user_ids = array();
+
+                        if (mysql_num_rows($user_albums)){
+
+                                while ($row = cpg_db_fetch_row($user_albums)){
+                                        $user_albums_list[] = $row;
+                                        $user_ids[] = $row['category'] - FIRST_USER_CAT;
+                                }
+                                mysql_free_result($user_albums);
+
+                                $user_id_list = implode(', ', array_unique($user_ids));
+
+                                $user_names = cpg_db_query("SELECT {$this->field['username']} AS user_name, {$this->field['user_id']} AS user_id  FROM {$this->usertable} WHERE {$this->field['user_id']} IN ($user_id_list)", $this->link_id);
+
+                                while ($row = cpg_db_fetch_row($user_names)){
+                                        $user_names_list[$row['user_id']] = $row['user_name'];
+                                }
+                                mysql_free_result($user_names);
+
+                                // Cycle through the User albums
+                                foreach($user_albums_list as $album) {
+
+                                        // Add to multi-dim array for later sorting
+                                        $listArray[$list_count]['cat'] = $lang_upload_php['personal_albums'];
+                                        $listArray[$list_count]['aid'] = $album['aid'];
+                                        $username = isset($user_names_list[$album['category'] - FIRST_USER_CAT]) ? $user_names_list[$album['category'] - FIRST_USER_CAT] : 'Mr. X';
+                                        $listArray[$list_count]['title'] = '(' . $username . ') ' . $album['title'];
+                                        $list_count++;
+                                }
+                        } else {
+                                mysql_free_result($user_albums);
+                        }
+                }
+
+                $public_albums = cpg_db_query("SELECT aid, title, name FROM {$CONFIG['TABLE_ALBUMS']} LEFT JOIN {$CONFIG['TABLE_CATEGORIES']} ON cid = category WHERE category < " . FIRST_USER_CAT . " ORDER BY title");
+                $public_albums_list = cpg_db_fetch_rowset($public_albums);
+                mysql_free_result($public_albums);
+
+                // Cycle through the public albums
+                foreach($public_albums_list as $album) {
+
+                        // Set $album_id to the actual album ID
+                        $album_id = $album['aid'];
+
+                        // Add to multi-dim array for sorting later
+                        $vRes['name'] = $album['name'];
+                        if ($vRes['name']) {
+                                $listArray[$list_count]['cat'] = $vRes['name'];
+                        } else {
+                                $listArray[$list_count]['cat'] = $lang_upload_php['albums_no_category'];
+                        }
+                        $listArray[$list_count]['aid'] = $album['aid'];
+                        $listArray[$list_count]['title'] = $album['title'];
+                        $list_count++;
+                }
+
+                // Sort the pulldown options by category and album name
+                $listArray = array_csort($listArray,'cat','title');
+
+                // Finally, print out the nicely sorted and formatted drop down list
+                $alb_cat = '';
+
+                echo '&nbsp;&nbsp;&nbsp;&nbsp;<select size="1" name="albumid" class="listbox"><option value="0">All Albums</option>';
+
+                foreach ($listArray as $val) {
+                        if ($val['cat'] != $alb_cat) {
+                                if ($alb_cat) echo "                </optgroup>\n";
+                                echo '                <optgroup label="' . $val['cat'] . '">' . "\n";
+                                $alb_cat = $val['cat'];
+                        }
+                        echo '                <option value="' . $val['aid'] . '">   ' . $val['title'] . "</option>\n";
+                }
+
+                if ($alb_cat) echo "                </optgroup>\n";
+
+                print '</select> (3)';
+                print '&nbsp;&nbsp;&nbsp;&nbsp;<input type="submit" value="'.$lang_util_php['submit_form'].'" class="button" /> (4)';
+                // print '</form>';
+        }
+
+        // Taken from Mambo (com_registration.php)
+        function make_password(){
+                $makepass="";
+                $salt = "abchefghjkmnpqrstuvwxyz0123456789";
+                srand((double)microtime()*1000000);
+                $i = 0;
+                while ($i <= 7) {
+                        $num = rand() % 33;
+                        $tmp = substr($salt, $num, 1);
+                        $makepass = $makepass . $tmp;
+                        $i++;
+                }
+                return ($makepass);
+        }
+
+        function session_extraction() {
+            return false;
+        }
+
+        function cookie_extraction() {
+           return false;
+        }
+
+        // Simple login by specified username and pass.
+        // Used for xp publisher login
+        // Needs override for any BBS that is more complex than straight md5(password)
+        function login( $username = null, $password = null, $remember = false ) {
+
+                $encpassword = md5($password);
+
+                // Check for user in users table
+        $sql =  "SELECT {$this->field['user_id']} AS user_id, {$this->field['username']} AS user_name FROM {$this->usertable} WHERE ";
+        $sql .= "{$this->field['username']} = '$username' AND BINARY {$this->field['password']} = '$encpassword'";
+                $results = cpg_db_query($sql);
+
+                if (mysql_num_rows($results)) {
+                        $USER_DATA = mysql_fetch_assoc($results);
+                        mysql_free_result($results);
+                        return $USER_DATA;
+                } else {
+                        return false;
+                }
+        }
+		
+	// Used for sorting (usort) the userlist by criteria that are not directly in the udb user table, callback function.
+	function adv_sort($a, $b)
+	{
+		global $cpg_udb;
+
+		if ($cpg_udb->sortdir == 'ASC'){
+			return strcmp($a[$cpg_udb->sortfield], $b[$cpg_udb->sortfield]);
+		 } else {
+			return strcmp($b[$cpg_udb->sortfield], $a[$cpg_udb->sortfield]);
+		}
+	}
+}
 ?>
\ No newline at end of file
diff -x .svn -aruN 1.4.24.src/bridge/vbulletin30.inc.php 1.4.25.src/bridge/vbulletin30.inc.php
--- 1.4.24.src/bridge/vbulletin30.inc.php	2009-05-21 15:03:09.000000000 -0500
+++ 1.4.25.src/bridge/vbulletin30.inc.php	2009-05-26 11:25:52.000000000 -0500
@@ -1,191 +1,191 @@
-<?php
-/*************************
-  Coppermine Photo Gallery
-  ************************
-  Copyright (c) 2003-2009 Coppermine Dev Team
-  v1.1 originally written by Gregory DEMAR
-
-  This program is free software; you can redistribute it and/or modify
-  it under the terms of the GNU General Public License version 3
-  as published by the Free Software Foundation.
-  
-  ********************************************
-  Coppermine version: 1.4.24
-  $HeadURL: https://coppermine.svn.sourceforge.net/svnroot/coppermine/trunk/cpg1.4.x/bridge/vbulletin30.inc.php $
-  $Revision: 5969 $
-  $Author: gaugau $
-  $Date: 2009-05-21 22:03:33 +0200 (Do, 21 Mai 2009) $
-**********************************************/
-
-if (!defined('IN_COPPERMINE')) die('Not in Coppermine...');
-
-// Switch that allows overriding the bridge manager with hard-coded values
-define('USE_BRIDGEMGR', 1);
-
-require_once 'bridge/udb_base.inc.php';
-
-class cpg_udb extends core_udb {
-
-	function cpg_udb()
-	{
-		global $BRIDGE;
-		
-		if (!USE_BRIDGEMGR) {
-			$this->boardurl = 'http://www.yousite.com/vb3';
-			require_once('../vb3/includes/config.php');
-
-		} else {
-			$this->boardurl = $BRIDGE['full_forum_url'];
-			require_once($BRIDGE['relative_path_to_config_file'] . 'includes/config.php');
-			$this->use_post_based_groups = $BRIDGE['use_post_based_groups'];
-		}
-		
-		$this->multigroups = 1;
-		
-		// Database connection settings
-		
-		if (isset($config['Database']['dbname']))
-		{
-		  // Running on vBulletin 3.5.x
-		    $this->db = array(
-		        'name' => $config['Database']['dbname'],
-		        'host' => $config['MasterServer']['servername'] ? $config['MasterServer']['servername'] : 'localhost',
-		        'user' => $config['MasterServer']['username'],
-		        'password' => $config['MasterServer']['password'],
-		        'prefix' => $config['Database']['tableprefix']
-			);
-		} else {
-		  // Running on vBulletin 3.0.x
-		    $this->db = array(
-		    	'name' => $dbname,
-		    	'host' => $servername ? $servername : 'localhost',
-		    	'user' => $dbusername,
-		    	'password' => $dbpassword,
-		    	'prefix' =>$tableprefix
-			);
-		}
-		
-		// Board table names
-		$this->table = array(
-			'users' => 'user',
-			'groups' => 'usergroup',
-			'sessions' => 'session'
-		);
-
-		// Derived full table names
-		$this->usertable = '`' . $this->db['name'] . '`.' . $this->db['prefix'] . $this->table['users'];
-		$this->groupstable =  '`' . $this->db['name'] . '`.' . $this->db['prefix'] . $this->table['groups'];
-		$this->sessionstable =  '`' . $this->db['name'] . '`.' . $this->db['prefix'] . $this->table['sessions'];
-		
-		// Table field names
-		$this->field = array(
-			'username' => 'username', // name of 'username' field in users table
-			'user_id' => 'userid', // name of 'id' field in users table
-			'password' => 'password', // name of 'password' field in users table
-			'email' => 'email', // name of 'email' field in users table
-			'regdate' => 'joindate', // name of 'registered' field in users table
-			'location' => "''", // name of 'location' field in users table
-			'website' => 'homepage', // name of 'website' field in users table
-			'usertbl_group_id' => 'usergroupid', // name of 'group id' field in users table
-			'grouptbl_group_id' => 'usergroupid', // name of 'group id' field in groups table
-			'grouptbl_group_name' => 'title' // name of 'group name' field in groups table
-		);
-		
-		// Pages to redirect to
-		$this->page = array(
-			'register' => '/register.php',
-			'editusers' => '/memberlist.php',
-			'edituserprofile' => "/member.php?u=",
-		);
-		
-		// Group ids - admin and guest only.
-		$this->admingroups = array(6);
-		$this->guestgroup = $this->use_post_based_groups ? 101 : 3;
-		
-		// Use a special function to collect groups for cpg groups table
-		$this->group_overrride = 0;
-		
-		// Cookie settings - used in following functions only
-		if (isset($config['Misc']['cookieprefix']))
-		{
-		  // get cookieprefix from vb3.5.x
-		  $this->cookie_name = $config['Misc']['cookieprefix'];
-		} else {
-		  // get cookieprefix from vb3.0.x
-		  $this->cookie_name = $cookieprefix;
-		}
-		
-		// Connect to db
-		$this->connect();
-	}
-
-	// definition of how to extract id, name, group from a session cookie
-	function session_extraction()
-	{
-		if (isset($_COOKIE[$this->cookie_name . 'sessionhash'])) {
-			$session_id = addslashes($_COOKIE[$this->cookie_name . 'sessionhash']);
-			
-			$sql = "SELECT u.{$this->field['user_id']}, u.{$this->field['password']}, u.{$this->field['grouptbl_group_id']}+100 AS usergroupid FROM {$this->usertable} AS u, {$this->sessionstable} AS s WHERE s.{$this->field['user_id']}=u.{$this->field['user_id']} AND s.sessionhash='$session_id'";
-			
-			$result = cpg_db_query($sql, $this->link_id);
-			
-			if (mysql_num_rows($result)){
-				$row = mysql_fetch_array($result);
-				return $row;
-			} else {
-			    return false;
-			}
-		}
-	}
-	
-	// Get groups of which user is member
-	function get_groups($row)
-	{
-		$data[0] = in_array($row['group_id'] - 100, $this->admingroups) ? 1 : 2;
-		
-		if ($this->use_post_based_groups){
-			$sql = "SELECT g.{$this->field['usertbl_group_id']}+100 AS group_id, u.* FROM {$this->usertable} AS u, {$this->groupstable} as g WHERE g.{$this->field['grouptbl_group_id']} = u.{$this->field['usertbl_group_id']} AND u.{$this->field['user_id']} = '{$row['id']}'";
-
-			$result = cpg_db_query($sql, $this->link_id);
-        
-			$row = mysql_fetch_array($result);
-			
-			$data[0] = $row['group_id'];
-			
-			if ($row['membergroupids']){
-				$groups = explode(',', $row['membergroupids']);
-				foreach ($groups as $id => $group){
-					$data[] = $group+100;
-				}	
-			}
-		}
-		
-		return $data;
-	}
-	
-	// definition of how to extract an id and password hash from a cookie
-	function cookie_extraction()
-	{
-		return false;
-	}
-	
-	// definition of actions required to convert a password from user database form to cookie form
-	function udb_hash_db($password)
-	{
-		return $password; // unused
-	}
-
-	function login_page()
-	{
-		$this->redirect("/index.php");
-	}
-
-	function logout_page()
-	{
-		$this->redirect("/login.php?do=logout&u=".USER_ID);
-	}
-}
-
-// and go !
-$cpg_udb = new cpg_udb;
+<?php
+/*************************
+  Coppermine Photo Gallery
+  ************************
+  Copyright (c) 2003-2009 Coppermine Dev Team
+  v1.1 originally written by Gregory DEMAR
+
+  This program is free software; you can redistribute it and/or modify
+  it under the terms of the GNU General Public License version 3
+  as published by the Free Software Foundation.
+  
+  ********************************************
+  Coppermine version: 1.4.25
+  $HeadURL: https://coppermine.svn.sourceforge.net/svnroot/coppermine/trunk/cpg1.4.x/bridge/vbulletin30.inc.php $
+  $Revision: 5997 $
+  $Author: gaugau $
+  $Date: 2009-05-26 08:43:24 +0200 (Di, 26 Mai 2009) $
+**********************************************/
+
+if (!defined('IN_COPPERMINE')) die('Not in Coppermine...');
+
+// Switch that allows overriding the bridge manager with hard-coded values
+define('USE_BRIDGEMGR', 1);
+
+require_once 'bridge/udb_base.inc.php';
+
+class cpg_udb extends core_udb {
+
+	function cpg_udb()
+	{
+		global $BRIDGE;
+		
+		if (!USE_BRIDGEMGR) {
+			$this->boardurl = 'http://www.yousite.com/vb3';
+			require_once('../vb3/includes/config.php');
+
+		} else {
+			$this->boardurl = $BRIDGE['full_forum_url'];
+			require_once($BRIDGE['relative_path_to_config_file'] . 'includes/config.php');
+			$this->use_post_based_groups = $BRIDGE['use_post_based_groups'];
+		}
+		
+		$this->multigroups = 1;
+		
+		// Database connection settings
+		
+		if (isset($config['Database']['dbname']))
+		{
+		  // Running on vBulletin 3.5.x
+		    $this->db = array(
+		        'name' => $config['Database']['dbname'],
+		        'host' => $config['MasterServer']['servername'] ? $config['MasterServer']['servername'] : 'localhost',
+		        'user' => $config['MasterServer']['username'],
+		        'password' => $config['MasterServer']['password'],
+		        'prefix' => $config['Database']['tableprefix']
+			);
+		} else {
+		  // Running on vBulletin 3.0.x
+		    $this->db = array(
+		    	'name' => $dbname,
+		    	'host' => $servername ? $servername : 'localhost',
+		    	'user' => $dbusername,
+		    	'password' => $dbpassword,
+		    	'prefix' =>$tableprefix
+			);
+		}
+		
+		// Board table names
+		$this->table = array(
+			'users' => 'user',
+			'groups' => 'usergroup',
+			'sessions' => 'session'
+		);
+
+		// Derived full table names
+		$this->usertable = '`' . $this->db['name'] . '`.' . $this->db['prefix'] . $this->table['users'];
+		$this->groupstable =  '`' . $this->db['name'] . '`.' . $this->db['prefix'] . $this->table['groups'];
+		$this->sessionstable =  '`' . $this->db['name'] . '`.' . $this->db['prefix'] . $this->table['sessions'];
+		
+		// Table field names
+		$this->field = array(
+			'username' => 'username', // name of 'username' field in users table
+			'user_id' => 'userid', // name of 'id' field in users table
+			'password' => 'password', // name of 'password' field in users table
+			'email' => 'email', // name of 'email' field in users table
+			'regdate' => 'joindate', // name of 'registered' field in users table
+			'location' => "''", // name of 'location' field in users table
+			'website' => 'homepage', // name of 'website' field in users table
+			'usertbl_group_id' => 'usergroupid', // name of 'group id' field in users table
+			'grouptbl_group_id' => 'usergroupid', // name of 'group id' field in groups table
+			'grouptbl_group_name' => 'title' // name of 'group name' field in groups table
+		);
+		
+		// Pages to redirect to
+		$this->page = array(
+			'register' => '/register.php',
+			'editusers' => '/memberlist.php',
+			'edituserprofile' => "/member.php?u=",
+		);
+		
+		// Group ids - admin and guest only.
+		$this->admingroups = array(6);
+		$this->guestgroup = $this->use_post_based_groups ? 101 : 3;
+		
+		// Use a special function to collect groups for cpg groups table
+		$this->group_overrride = 0;
+		
+		// Cookie settings - used in following functions only
+		if (isset($config['Misc']['cookieprefix']))
+		{
+		  // get cookieprefix from vb3.5.x
+		  $this->cookie_name = $config['Misc']['cookieprefix'];
+		} else {
+		  // get cookieprefix from vb3.0.x
+		  $this->cookie_name = $cookieprefix;
+		}
+		
+		// Connect to db
+		$this->connect();
+	}
+
+	// definition of how to extract id, name, group from a session cookie
+	function session_extraction()
+	{
+		if (isset($_COOKIE[$this->cookie_name . 'sessionhash'])) {
+			$session_id = addslashes($_COOKIE[$this->cookie_name . 'sessionhash']);
+			
+			$sql = "SELECT u.{$this->field['user_id']}, u.{$this->field['password']}, u.{$this->field['grouptbl_group_id']}+100 AS usergroupid FROM {$this->usertable} AS u, {$this->sessionstable} AS s WHERE s.{$this->field['user_id']}=u.{$this->field['user_id']} AND s.sessionhash='$session_id'";
+			
+			$result = cpg_db_query($sql, $this->link_id);
+			
+			if (mysql_num_rows($result)){
+				$row = mysql_fetch_array($result);
+				return $row;
+			} else {
+			    return false;
+			}
+		}
+	}
+	
+	// Get groups of which user is member
+	function get_groups($row)
+	{
+		$data[0] = in_array($row['group_id'] - 100, $this->admingroups) ? 1 : 2;
+		
+		if ($this->use_post_based_groups){
+			$sql = "SELECT g.{$this->field['usertbl_group_id']}+100 AS group_id, u.* FROM {$this->usertable} AS u, {$this->groupstable} as g WHERE g.{$this->field['grouptbl_group_id']} = u.{$this->field['usertbl_group_id']} AND u.{$this->field['user_id']} = '{$row['id']}'";
+
+			$result = cpg_db_query($sql, $this->link_id);
+        
+			$row = mysql_fetch_array($result);
+			
+			$data[0] = $row['group_id'];
+			
+			if ($row['membergroupids']){
+				$groups = explode(',', $row['membergroupids']);
+				foreach ($groups as $id => $group){
+					$data[] = $group+100;
+				}	
+			}
+		}
+		
+		return $data;
+	}
+	
+	// definition of how to extract an id and password hash from a cookie
+	function cookie_extraction()
+	{
+		return false;
+	}
+	
+	// definition of actions required to convert a password from user database form to cookie form
+	function udb_hash_db($password)
+	{
+		return $password; // unused
+	}
+
+	function login_page()
+	{
+		$this->redirect("/index.php");
+	}
+
+	function logout_page()
+	{
+		$this->redirect("/login.php?do=logout&u=".USER_ID);
+	}
+}
+
+// and go !
+$cpg_udb = new cpg_udb;
 ?>
\ No newline at end of file
diff -x .svn -aruN 1.4.24.src/bridge/xmb.inc.php 1.4.25.src/bridge/xmb.inc.php
--- 1.4.24.src/bridge/xmb.inc.php	2009-05-21 15:03:09.000000000 -0500
+++ 1.4.25.src/bridge/xmb.inc.php	2009-05-26 11:25:52.000000000 -0500
@@ -1,372 +1,372 @@
-<?php
-/*************************
-  Coppermine Photo Gallery
-  ************************
-  Copyright (c) 2003-2009 Coppermine Dev Team
-  v1.1 originally written by Gregory DEMAR
-
-  This program is free software; you can redistribute it and/or modify
-  it under the terms of the GNU General Public License version 3
-  as published by the Free Software Foundation.
-  
-  ********************************************
-  Coppermine version: 1.4.24
-  $HeadURL: https://coppermine.svn.sourceforge.net/svnroot/coppermine/trunk/cpg1.4.x/bridge/xmb.inc.php $
-  $Revision: 5969 $
-  $Author: gaugau $
-  $Date: 2009-05-21 22:03:33 +0200 (Do, 21 Mai 2009) $
-**********************************************/
-
-/****
-
-  Bridge file for XMB
-  v2.0 Complete overhaul for XMB version 1.9.10 by Robert Chapin (miqrogroove).
-  Corresponding thread: http://forum.coppermine-gallery.net/index.php/topic,57550.0.html
-  
-**********************************************/
-
-/*
-Cookie fix (if your board is not installed to site root):
-functions.php,
-find put_cookie function definition (c. line 1394) and add
-$path = '/';
-just inside the top of the function
-*/
-
-if (!defined('IN_COPPERMINE')) die('Not in Coppermine...');
-
-// Switch that allows overriding the bridge manager with hard-coded values
-define('USE_BRIDGEMGR', 1);
-
-//Define XMB Constant Values
-define('ADMIN_GROUP_1',   'Super Administrator');
-define('ADMIN_GROUP_2',   'Administrator');
-define('BANNED_GROUP',    'Banned');
-define('COPPER_ADMIN',    1);
-define('COPPER_REG',      2);
-define('COPPER_GUEST',    3);
-define('COPPER_BANNED',   4);
-define('DEFAULT_PATH',    '../XMB/');
-define('DEFAULT_USE_PBG', 1);
-define('GUEST_GROUP',     'Guest');
-define('IN_CODE',         TRUE);
-define('REG_GROUP',       'Member');
-define('STAFF_GROUP_1',   'Super Moderator');
-define('STAFF_GROUP_2',   'Moderator');
-define('USER_MIN_LEN',    3);
-define('USER_MAX_LEN',    32);
-
-require_once 'bridge/udb_base.inc.php';
-
-/**
- * Provides XMB member authentication and member status information to Coppermine.
- */
-class cpg_udb extends core_udb {
-
-	//Member Variable Declarations Missing From Base Class
-	var $admingroups;
-	var $boardurl;
-	var $can_join_tables;
-	var $db;
-	var $field;
-	var $group_overrride;
-	var $groupstable;
-	var $guestgroup;
-	var $link_id;
-	var $multigroups;
-	var $page;
-	var $use_post_based_groups;
-	var $usertable;
-
-	//XMB Member Variables
-	var $config_path;
-	var $default_groups;
-	var $staff_group_defaults;
-	var $staff_groups;
-	var $table;
-
-	function cpg_udb() {
-		global $BRIDGE, $CONFIG;
-		
-		//Initialize All Member Variables
-		$this->admingroups = array();
-		$this->boardurl = '';
-		$this->can_join_tables = FALSE;
-		$this->config_path = DEFAULT_PATH;
-		$this->db = array();
-		$this->default_groups = array(COPPER_GUEST => 'Guests', COPPER_BANNED => 'Banned');  //XMB always has user levels equivalent to Coppermine's default Guests and Banned groups.
-		$this->field = array(
-			'username' => 'username', // name of 'username' field in users table
-			'user_id' => 'uid', // name of 'id' field in users table
-			'password' => 'password', // name of 'password' field in users table
-			'email' => 'email', // name of 'email' field in users table
-			'regdate' => 'regdate', // name of 'registered' field in users table
-			'location' => 'location', // name of 'location' field in users table
-			'website' => 'site', // name of 'website' field in users table
-			'usertbl_group_id' => 'status', // name of 'group id' field in users table
-			'grouptbl_group_id' => 'title', // name of 'group id' field in groups table
-			'grouptbl_group_name' => 'title', // name of 'group name' field in groups table
-		);
-		$this->group_overrride = 1;  //Flag to enable the collect_groups() method.
-		$this->groupstable = '';
-		$this->guestgroup = COPPER_GUEST;
-		$this->multigroups = 1;  //Flag to enable the get_groups() method.
-		$this->link_id = 0;
-		$this->page = array(
-			'edituserprofile' => '/editprofile.php?user=',
-			'editusers' => '/cp.php?action=members',
-			'login' => '/misc.php?action=login',
-			'logout' => '/misc.php?action=logout',
-			'register' => '/member.php?action=coppa',
-			'viewuserprofile' => '/member.php?action=viewpro&member=',
-			'viewusers' => '/misc.php?action=list',
-		);
-		$this->staff_group_defaults = array(
-			ADMIN_GROUP_1 => -101,
-			ADMIN_GROUP_2 => -102,
-			STAFF_GROUP_1 => -103,
-			STAFF_GROUP_2 => -104
-		);
-		$this->staff_groups = array();
-		$this->table = array(
-			'users' => 'members',
-			'groups' => 'ranks',
-		);
-		$this->use_post_based_groups = DEFAULT_USE_PBG;
-		$this->usertable = '';
-
-		if (USE_BRIDGEMGR) { // the vars that are used when bridgemgr is enabled
-			$this->config_path = $BRIDGE['relative_path_to_config_file'];
-			$this->use_post_based_groups = $BRIDGE['use_post_based_groups'];
-		}
-		
-		if ($this->use_post_based_groups != 1) {
-			$this->default_groups = array_merge(array(COPPER_REG => REG_GROUP), $this->default_groups);  //Add XMB's default authenticated user level.
-		}
-
-
-		/* Load the Configuration Created by XMB Installation */
-
-		require($this->config_path.'config.php');  //Dev Note: Custom error handling would be needed to properly re-call the constructor.
-
-		$this->boardurl = substr($full_url, 0, -1);  //XMB requires trailing slash, Coppermine requires bare ending.
-
-		// Database connection settings
-		$this->db = array(
-			'name' => $dbname,
-			'host' => $dbhost,
-			'user' => $dbuser,
-			'password' => $dbpw,
-			'prefix' => $tablepre
-		);
-		
-		// Derived full table names
-		$this->usertable   = '`' . $this->db['name'] . '`.' . $this->db['prefix'] . $this->table['users'];
-		$this->groupstable = '`' . $this->db['name'] . '`.' . $this->db['prefix'] . $this->table['groups'];
-		
-		// Connect to db
-		$this->connect();
-		
-		// Fix stupid bug in the base class >:{
-		if ($this->can_join_tables) {
-			$this->link_id = $CONFIG['LINK_ID'];
-		}
-	}
-
-	/**
-	 * Creates a list of XMB's User Ranks, including Coppermine's default user groups.
-	 *
-	 * It is important to notice this method is never used when $this->use_post_based_groups == 0.
-	 *
-	 * @author Robert Chapin (miqrogroove)
-	 * @return array Values from xmb_ranks.title Indexed by xmb_ranks.id + 100
-	 */
-	function collect_groups() {
-		static $group_cache;
-
-		//Initialize
-		if (is_array($group_cache)) {
-			return $group_cache;
-		}
-		$this->admingroups = array();
-		$udb_groups = $this->default_groups;
-
-		//Query all groups
-		$sql = "SELECT * FROM {$this->groupstable}";
-		$result = cpg_db_query($sql, $this->link_id);
-		while ($row = mysql_fetch_assoc($result)) {
-			$row['id'] = intval($row['id']) + 100;
-			$groupname = $row[$this->field['grouptbl_group_id']];
-
-			//Several user levels are implicitly defined by XMB's authentication system and must be handled for all scenarios.
-			if (isset($this->staff_group_defaults[$groupname])) {
-
-				$this->staff_groups[$groupname] = $row['id'];
-				$udb_groups[$row['id']] = $row[$this->field['grouptbl_group_name']];
-
-			} elseif ($this->use_post_based_groups == 1 And $groupname != BANNED_GROUP And $groupname != GUEST_GROUP) {
-
-				$udb_groups[$row['id']] = $row[$this->field['grouptbl_group_name']];
-
-			}
-		}
-
-		//Explicitly populate the arrays with any staff groups that are missing from the xmb_ranks table.
-		foreach ($this->staff_group_defaults as $title => $default_id) {
-			if (!isset($this->staff_groups[$title])) {
-				$default_id += 100;
-				$this->staff_groups[$title] = $default_id;
-				$udb_groups[$default_id] = $title;
-			}
-		}
-
-		$this->admingroups[] = $this->staff_groups[ADMIN_GROUP_1] - 100;
-		$this->admingroups[] = $this->staff_groups[ADMIN_GROUP_2] - 100;
-
-		$group_cache = $udb_groups;
-
-		return $group_cache;
-	}
-	
-	/**
-	 * Finds the ID number of the current user's XMB rank.
-	 *
-	 * This function must reconcile the various groups and modes between Coppermine and XMB.
-	 *
-	 * @author Robert Chapin (miqrogroove)
-	 * @param  array $row Associative index values are expected to be 'id', 'username', and 'password'.
-	 * @return array Value equal to an index in $udb_groups Indexed by zero.
-	 */
-	function get_groups($row) {
-		$uid = intval($row['id']);
-
-		$sql = "SELECT {$this->field['usertbl_group_id']} AS group_id, postnum FROM {$this->usertable} WHERE {$this->field['user_id']} = $uid";
-		$result = cpg_db_query($sql, $this->link_id);
-		if (mysql_num_rows($result) != 1) {
-			return array(0 => COPPER_GUEST);
-		}
-		$row = mysql_fetch_assoc($result);
-		mysql_free_result($result);
-		
-		$dbstatus = mysql_real_escape_string($row['group_id'], $this->link_id);
-
-		if ($dbstatus == BANNED_GROUP) {
-			return array(0 => COPPER_BANNED);
-		} elseif ($dbstatus == GUEST_GROUP) {
-			return array(0 => COPPER_GUEST);
-		} elseif ($this->use_post_based_groups != 1 And ($dbstatus == REG_GROUP Or $dbstatus == STAFF_GROUP_1 Or $dbstatus == STAFF_GROUP_2)) {
-			return array(0 => COPPER_REG);
-		} elseif ($this->use_post_based_groups != 1 And ($dbstatus == ADMIN_GROUP_1 Or $dbstatus == ADMIN_GROUP_2)) {
-			return array(0 => COPPER_ADMIN);
-		} elseif (isset($this->staff_group_defaults[$dbstatus])) {
-			if (!isset($this->staff_groups[$dbstatus])) { //get_groups() fired before collect_groups()
-				$this->collect_groups();
-			}
-			return array(0 => $this->staff_groups[$dbstatus]);
-		} elseif ($dbstatus == REG_GROUP) { //Handle post-based groups.
-
-			$sql = "SELECT * FROM {$this->groupstable} WHERE posts <= {$row['postnum']} ORDER BY posts DESC LIMIT 1";
-			$result = cpg_db_query($sql, $this->link_id);
-
-			if (mysql_num_rows($result) == 1) {
-				$row = mysql_fetch_assoc($result);
-				mysql_free_result($result);
-				$row['id'] = intval($row['id']) + 100;
-				return array(0 => $row['id']);
-			} else {
-				return array(0 => COPPER_GUEST);
-			}
-
-		} else {
-			return array(0 => COPPER_GUEST);
-		}
-	}
-	
-	/**
-	 * Get the XMB session credentials.
-	 *
-	 * @author Robert Chapin (miqrogroove)
-	 * @return array
-	 */
-	function session_extraction() {
-		$dbuser = $this->getCookie('xmbuser');
-		if (strlen($dbuser) >= USER_MIN_LEN And strlen($dbuser) <= USER_MAX_LEN) {
-			$sql = "SELECT {$this->field['user_id']} AS user_id FROM {$this->usertable} WHERE {$this->field['username']} = '$dbuser'";
-			$result = cpg_db_query($sql, $this->link_id);
-			if (mysql_num_rows($result) == 1) {
-				$row = mysql_fetch_array($result);
-				mysql_free_result($result);
-				return array($row['user_id'], $this->getCookie('xmbpw'));
-			}
-		}
-
-		return FALSE;
-	}
-	
-	// definition of actions required to convert a password from user database form to cookie form
-	function udb_hash_db($password)
-	{
-		return $password;
-	}
-	
-	// Login
-	function login_page()
-	{
-		$this->redirect($this->page['login']);
-	}
-
-	// Logout
-	function logout_page()
-	{
-		$this->redirect($this->page['logout']);
-	}
-	
-	// View users
-	function view_users()
-	{
-		$this->redirect($this->page['viewusers']);
-	}
-	
-	// View user profile
-	function view_profile($uid) {
-		if (empty($uid)) {
-			$uid = USER_ID;
-		}
-		$this->redirect($this->page['viewuserprofile'].rawurlencode(htmlspecialchars_decode($this->get_user_name($uid), ENT_QUOTES)));
-	}
-
-	// Edit user profile
-	function edit_profile($uid) {
-		$this->redirect($this->page['edituserprofile'].rawurlencode(htmlspecialchars_decode($this->get_user_name($uid), ENT_QUOTES)));
-	}
-	
-	/**
-	 * Simulates the code path of cookie variables used in XMB as of version 1.9.10.
-	 *
-	 * @author Robert Chapin (miqrogroove)
-	 * @param  string $varname Name of the cookie variable.
-	 * @return string
-	 */
-	function getCookie($varname) {
-		$retval = '';
-		if (isset($_COOKIE[$varname])) {
-			if (is_string($_COOKIE[$varname])) {
-				$retval = mysql_real_escape_string(str_replace("\x00", '', $_COOKIE[$varname]), $this->link_id);
-			}
-		}
-		return $retval;
-	}
-
-}
-
-// Copied from XMB's functions.inc.php file.
-if (!function_exists('htmlspecialchars_decode')) {
-	function htmlspecialchars_decode($string, $type=ENT_QUOTES) {
-		$array = array_flip(get_html_translation_table(HTML_SPECIALCHARS, $type));
-		return strtr($string, $array);
-	}
-}
-
-// and go !
-$cpg_udb = new cpg_udb;
+<?php
+/*************************
+  Coppermine Photo Gallery
+  ************************
+  Copyright (c) 2003-2009 Coppermine Dev Team
+  v1.1 originally written by Gregory DEMAR
+
+  This program is free software; you can redistribute it and/or modify
+  it under the terms of the GNU General Public License version 3
+  as published by the Free Software Foundation.
+  
+  ********************************************
+  Coppermine version: 1.4.25
+  $HeadURL: https://coppermine.svn.sourceforge.net/svnroot/coppermine/trunk/cpg1.4.x/bridge/xmb.inc.php $
+  $Revision: 5997 $
+  $Author: gaugau $
+  $Date: 2009-05-26 08:43:24 +0200 (Di, 26 Mai 2009) $
+**********************************************/
+
+/****
+
+  Bridge file for XMB
+  v2.0 Complete overhaul for XMB version 1.9.10 by Robert Chapin (miqrogroove).
+  Corresponding thread: http://forum.coppermine-gallery.net/index.php/topic,57550.0.html
+  
+**********************************************/
+
+/*
+Cookie fix (if your board is not installed to site root):
+functions.php,
+find put_cookie function definition (c. line 1394) and add
+$path = '/';
+just inside the top of the function
+*/
+
+if (!defined('IN_COPPERMINE')) die('Not in Coppermine...');
+
+// Switch that allows overriding the bridge manager with hard-coded values
+define('USE_BRIDGEMGR', 1);
+
+//Define XMB Constant Values
+define('ADMIN_GROUP_1',   'Super Administrator');
+define('ADMIN_GROUP_2',   'Administrator');
+define('BANNED_GROUP',    'Banned');
+define('COPPER_ADMIN',    1);
+define('COPPER_REG',      2);
+define('COPPER_GUEST',    3);
+define('COPPER_BANNED',   4);
+define('DEFAULT_PATH',    '../XMB/');
+define('DEFAULT_USE_PBG', 1);
+define('GUEST_GROUP',     'Guest');
+define('IN_CODE',         TRUE);
+define('REG_GROUP',       'Member');
+define('STAFF_GROUP_1',   'Super Moderator');
+define('STAFF_GROUP_2',   'Moderator');
+define('USER_MIN_LEN',    3);
+define('USER_MAX_LEN',    32);
+
+require_once 'bridge/udb_base.inc.php';
+
+/**
+ * Provides XMB member authentication and member status information to Coppermine.
+ */
+class cpg_udb extends core_udb {
+
+	//Member Variable Declarations Missing From Base Class
+	var $admingroups;
+	var $boardurl;
+	var $can_join_tables;
+	var $db;
+	var $field;
+	var $group_overrride;
+	var $groupstable;
+	var $guestgroup;
+	var $link_id;
+	var $multigroups;
+	var $page;
+	var $use_post_based_groups;
+	var $usertable;
+
+	//XMB Member Variables
+	var $config_path;
+	var $default_groups;
+	var $staff_group_defaults;
+	var $staff_groups;
+	var $table;
+
+	function cpg_udb() {
+		global $BRIDGE, $CONFIG;
+		
+		//Initialize All Member Variables
+		$this->admingroups = array();
+		$this->boardurl = '';
+		$this->can_join_tables = FALSE;
+		$this->config_path = DEFAULT_PATH;
+		$this->db = array();
+		$this->default_groups = array(COPPER_GUEST => 'Guests', COPPER_BANNED => 'Banned');  //XMB always has user levels equivalent to Coppermine's default Guests and Banned groups.
+		$this->field = array(
+			'username' => 'username', // name of 'username' field in users table
+			'user_id' => 'uid', // name of 'id' field in users table
+			'password' => 'password', // name of 'password' field in users table
+			'email' => 'email', // name of 'email' field in users table
+			'regdate' => 'regdate', // name of 'registered' field in users table
+			'location' => 'location', // name of 'location' field in users table
+			'website' => 'site', // name of 'website' field in users table
+			'usertbl_group_id' => 'status', // name of 'group id' field in users table
+			'grouptbl_group_id' => 'title', // name of 'group id' field in groups table
+			'grouptbl_group_name' => 'title', // name of 'group name' field in groups table
+		);
+		$this->group_overrride = 1;  //Flag to enable the collect_groups() method.
+		$this->groupstable = '';
+		$this->guestgroup = COPPER_GUEST;
+		$this->multigroups = 1;  //Flag to enable the get_groups() method.
+		$this->link_id = 0;
+		$this->page = array(
+			'edituserprofile' => '/editprofile.php?user=',
+			'editusers' => '/cp.php?action=members',
+			'login' => '/misc.php?action=login',
+			'logout' => '/misc.php?action=logout',
+			'register' => '/member.php?action=coppa',
+			'viewuserprofile' => '/member.php?action=viewpro&member=',
+			'viewusers' => '/misc.php?action=list',
+		);
+		$this->staff_group_defaults = array(
+			ADMIN_GROUP_1 => -101,
+			ADMIN_GROUP_2 => -102,
+			STAFF_GROUP_1 => -103,
+			STAFF_GROUP_2 => -104
+		);
+		$this->staff_groups = array();
+		$this->table = array(
+			'users' => 'members',
+			'groups' => 'ranks',
+		);
+		$this->use_post_based_groups = DEFAULT_USE_PBG;
+		$this->usertable = '';
+
+		if (USE_BRIDGEMGR) { // the vars that are used when bridgemgr is enabled
+			$this->config_path = $BRIDGE['relative_path_to_config_file'];
+			$this->use_post_based_groups = $BRIDGE['use_post_based_groups'];
+		}
+		
+		if ($this->use_post_based_groups != 1) {
+			$this->default_groups = array_merge(array(COPPER_REG => REG_GROUP), $this->default_groups);  //Add XMB's default authenticated user level.
+		}
+
+
+		/* Load the Configuration Created by XMB Installation */
+
+		require($this->config_path.'config.php');  //Dev Note: Custom error handling would be needed to properly re-call the constructor.
+
+		$this->boardurl = substr($full_url, 0, -1);  //XMB requires trailing slash, Coppermine requires bare ending.
+
+		// Database connection settings
+		$this->db = array(
+			'name' => $dbname,
+			'host' => $dbhost,
+			'user' => $dbuser,
+			'password' => $dbpw,
+			'prefix' => $tablepre
+		);
+		
+		// Derived full table names
+		$this->usertable   = '`' . $this->db['name'] . '`.' . $this->db['prefix'] . $this->table['users'];
+		$this->groupstable = '`' . $this->db['name'] . '`.' . $this->db['prefix'] . $this->table['groups'];
+		
+		// Connect to db
+		$this->connect();
+		
+		// Fix stupid bug in the base class >:{
+		if ($this->can_join_tables) {
+			$this->link_id = $CONFIG['LINK_ID'];
+		}
+	}
+
+	/**
+	 * Creates a list of XMB's User Ranks, including Coppermine's default user groups.
+	 *
+	 * It is important to notice this method is never used when $this->use_post_based_groups == 0.
+	 *
+	 * @author Robert Chapin (miqrogroove)
+	 * @return array Values from xmb_ranks.title Indexed by xmb_ranks.id + 100
+	 */
+	function collect_groups() {
+		static $group_cache;
+
+		//Initialize
+		if (is_array($group_cache)) {
+			return $group_cache;
+		}
+		$this->admingroups = array();
+		$udb_groups = $this->default_groups;
+
+		//Query all groups
+		$sql = "SELECT * FROM {$this->groupstable}";
+		$result = cpg_db_query($sql, $this->link_id);
+		while ($row = mysql_fetch_assoc($result)) {
+			$row['id'] = intval($row['id']) + 100;
+			$groupname = $row[$this->field['grouptbl_group_id']];
+
+			//Several user levels are implicitly defined by XMB's authentication system and must be handled for all scenarios.
+			if (isset($this->staff_group_defaults[$groupname])) {
+
+				$this->staff_groups[$groupname] = $row['id'];
+				$udb_groups[$row['id']] = $row[$this->field['grouptbl_group_name']];
+
+			} elseif ($this->use_post_based_groups == 1 And $groupname != BANNED_GROUP And $groupname != GUEST_GROUP) {
+
+				$udb_groups[$row['id']] = $row[$this->field['grouptbl_group_name']];
+
+			}
+		}
+
+		//Explicitly populate the arrays with any staff groups that are missing from the xmb_ranks table.
+		foreach ($this->staff_group_defaults as $title => $default_id) {
+			if (!isset($this->staff_groups[$title])) {
+				$default_id += 100;
+				$this->staff_groups[$title] = $default_id;
+				$udb_groups[$default_id] = $title;
+			}
+		}
+
+		$this->admingroups[] = $this->staff_groups[ADMIN_GROUP_1] - 100;
+		$this->admingroups[] = $this->staff_groups[ADMIN_GROUP_2] - 100;
+
+		$group_cache = $udb_groups;
+
+		return $group_cache;
+	}
+	
+	/**
+	 * Finds the ID number of the current user's XMB rank.
+	 *
+	 * This function must reconcile the various groups and modes between Coppermine and XMB.
+	 *
+	 * @author Robert Chapin (miqrogroove)
+	 * @param  array $row Associative index values are expected to be 'id', 'username', and 'password'.
+	 * @return array Value equal to an index in $udb_groups Indexed by zero.
+	 */
+	function get_groups($row) {
+		$uid = intval($row['id']);
+
+		$sql = "SELECT {$this->field['usertbl_group_id']} AS group_id, postnum FROM {$this->usertable} WHERE {$this->field['user_id']} = $uid";
+		$result = cpg_db_query($sql, $this->link_id);
+		if (mysql_num_rows($result) != 1) {
+			return array(0 => COPPER_GUEST);
+		}
+		$row = mysql_fetch_assoc($result);
+		mysql_free_result($result);
+		
+		$dbstatus = mysql_real_escape_string($row['group_id'], $this->link_id);
+
+		if ($dbstatus == BANNED_GROUP) {
+			return array(0 => COPPER_BANNED);
+		} elseif ($dbstatus == GUEST_GROUP) {
+			return array(0 => COPPER_GUEST);
+		} elseif ($this->use_post_based_groups != 1 And ($dbstatus == REG_GROUP Or $dbstatus == STAFF_GROUP_1 Or $dbstatus == STAFF_GROUP_2)) {
+			return array(0 => COPPER_REG);
+		} elseif ($this->use_post_based_groups != 1 And ($dbstatus == ADMIN_GROUP_1 Or $dbstatus == ADMIN_GROUP_2)) {
+			return array(0 => COPPER_ADMIN);
+		} elseif (isset($this->staff_group_defaults[$dbstatus])) {
+			if (!isset($this->staff_groups[$dbstatus])) { //get_groups() fired before collect_groups()
+				$this->collect_groups();
+			}
+			return array(0 => $this->staff_groups[$dbstatus]);
+		} elseif ($dbstatus == REG_GROUP) { //Handle post-based groups.
+
+			$sql = "SELECT * FROM {$this->groupstable} WHERE posts <= {$row['postnum']} ORDER BY posts DESC LIMIT 1";
+			$result = cpg_db_query($sql, $this->link_id);
+
+			if (mysql_num_rows($result) == 1) {
+				$row = mysql_fetch_assoc($result);
+				mysql_free_result($result);
+				$row['id'] = intval($row['id']) + 100;
+				return array(0 => $row['id']);
+			} else {
+				return array(0 => COPPER_GUEST);
+			}
+
+		} else {
+			return array(0 => COPPER_GUEST);
+		}
+	}
+	
+	/**
+	 * Get the XMB session credentials.
+	 *
+	 * @author Robert Chapin (miqrogroove)
+	 * @return array
+	 */
+	function session_extraction() {
+		$dbuser = $this->getCookie('xmbuser');
+		if (strlen($dbuser) >= USER_MIN_LEN And strlen($dbuser) <= USER_MAX_LEN) {
+			$sql = "SELECT {$this->field['user_id']} AS user_id FROM {$this->usertable} WHERE {$this->field['username']} = '$dbuser'";
+			$result = cpg_db_query($sql, $this->link_id);
+			if (mysql_num_rows($result) == 1) {
+				$row = mysql_fetch_array($result);
+				mysql_free_result($result);
+				return array($row['user_id'], $this->getCookie('xmbpw'));
+			}
+		}
+
+		return FALSE;
+	}
+	
+	// definition of actions required to convert a password from user database form to cookie form
+	function udb_hash_db($password)
+	{
+		return $password;
+	}
+	
+	// Login
+	function login_page()
+	{
+		$this->redirect($this->page['login']);
+	}
+
+	// Logout
+	function logout_page()
+	{
+		$this->redirect($this->page['logout']);
+	}
+	
+	// View users
+	function view_users()
+	{
+		$this->redirect($this->page['viewusers']);
+	}
+	
+	// View user profile
+	function view_profile($uid) {
+		if (empty($uid)) {
+			$uid = USER_ID;
+		}
+		$this->redirect($this->page['viewuserprofile'].rawurlencode(htmlspecialchars_decode($this->get_user_name($uid), ENT_QUOTES)));
+	}
+
+	// Edit user profile
+	function edit_profile($uid) {
+		$this->redirect($this->page['edituserprofile'].rawurlencode(htmlspecialchars_decode($this->get_user_name($uid), ENT_QUOTES)));
+	}
+	
+	/**
+	 * Simulates the code path of cookie variables used in XMB as of version 1.9.10.
+	 *
+	 * @author Robert Chapin (miqrogroove)
+	 * @param  string $varname Name of the cookie variable.
+	 * @return string
+	 */
+	function getCookie($varname) {
+		$retval = '';
+		if (isset($_COOKIE[$varname])) {
+			if (is_string($_COOKIE[$varname])) {
+				$retval = mysql_real_escape_string(str_replace("\x00", '', $_COOKIE[$varname]), $this->link_id);
+			}
+		}
+		return $retval;
+	}
+
+}
+
+// Copied from XMB's functions.inc.php file.
+if (!function_exists('htmlspecialchars_decode')) {
+	function htmlspecialchars_decode($string, $type=ENT_QUOTES) {
+		$array = array_flip(get_html_translation_table(HTML_SPECIALCHARS, $type));
+		return strtr($string, $array);
+	}
+}
+
+// and go !
+$cpg_udb = new cpg_udb;
 ?>
\ No newline at end of file
diff -x .svn -aruN 1.4.24.src/bridge/xoops.inc.php 1.4.25.src/bridge/xoops.inc.php
--- 1.4.24.src/bridge/xoops.inc.php	2009-05-21 15:03:09.000000000 -0500
+++ 1.4.25.src/bridge/xoops.inc.php	2009-05-26 11:25:52.000000000 -0500
@@ -1,217 +1,217 @@
-<?php
-/*************************
-  Coppermine Photo Gallery
-  ************************
-  Copyright (c) 2003-2009 Coppermine Dev Team
-  v1.1 originally written by Gregory DEMAR
-
-  This program is free software; you can redistribute it and/or modify
-  it under the terms of the GNU General Public License version 3
-  as published by the Free Software Foundation.
-  
-  ********************************************
-  Coppermine version: 1.4.24
-  $HeadURL: https://coppermine.svn.sourceforge.net/svnroot/coppermine/trunk/cpg1.4.x/bridge/xoops.inc.php $
-  $Revision: 5969 $
-  $Author: gaugau $
-  $Date: 2009-05-21 22:03:33 +0200 (Do, 21 Mai 2009) $
-**********************************************/
-
-if (!defined('IN_COPPERMINE')) die('Not in Coppermine...');
-
-// Switch that allows overriding the bridge manager with hard-coded values
-define('USE_BRIDGEMGR', 1);
-
-require_once 'bridge/udb_base.inc.php';
-
-if (!USE_BRIDGEMGR) {
-	require_once('../xoops/mainfile.php');
-} else {
-	require_once($BRIDGE['relative_path_to_config_file'] . 'mainfile.php');
-}
-
-// reset to cpg db
-mysql_select_db($CONFIG['dbname']);
-
-class xoops_udb extends core_udb {
-
-	function xoops_udb()
-	{
-		global $BRIDGE, $xoopsDB;
-
-		$this->use_post_based_groups = $BRIDGE['use_post_based_groups'];
-		
-		$this->boardurl =  XOOPS_URL;
-		$this->multigroups = 1;
-		$this->group_overrride = 0;
-
-		// Board table names
-		$this->table = array(
-			'users' => 'users',
-			'groups' => 'groups',
-			'usergroups' => 'groups_users_link'
-		);
-
-		// Database connection settings
-		$this->db = array(
-			'name' => XOOPS_DB_NAME,
-			'prefix' =>XOOPS_DB_PREFIX . '_',
-			'host' =>XOOPS_DB_HOST,
-			'user' => XOOPS_DB_USER
-		);
-		
-		// Derived full table names
-		$this->usertable = '`' . $this->db['name'] . '`.' . $this->db['prefix'] . $this->table['users'];
-		$this->groupstable =  '`' . $this->db['name'] . '`.' . $this->db['prefix'] . $this->table['groups'];
-		$this->usergroupstable = '`' . $this->db['name'] . '`.' . $this->db['prefix'] . $this->table['usergroups'];
-		
-		// Table field names
-		$this->field = array(
-			'username' => 'uname', // name of 'username' field in users table
-			'user_id' => 'uid', // name of 'id' field in users table
-			'password' => 'pass', // name of the password field in the users table
-			'email' => 'email', // name of 'email' field in users table
-			'regdate' => "''", // name of 'registered' field in users table
-			'lastvisit' => 'last_login', // last time user logged in
-			'active' => "''", // is user account active?
-			'location' => "''", // name of 'location' field in users table
-			'website' => "''", // name of 'website' field in users table
-			'usertbl_group_id' => 'uid', // name of 'group id' field in users table
-			'grouptbl_group_id' => 'groupid', // name of 'group id' field in groups table
-			'grouptbl_group_name' => 'name' // name of 'group name' field in groups table
-		);
-		
-		// Pages to redirect to
-		$this->page = array(
-			'register' => '/register.php',
-			'editusers' => '/index.php?action=mlist',
-			'edituserprofile' => '/userinfo.php?uid='
-		);
-		
-		// Group ids - admin and guest only.
-		$this->admingroups = array(XOOPS_GROUP_ADMIN);
-		$this->guestgroup = XOOPS_GROUP_ANONYMOUS + ($this->use_post_based_groups ? 100 : 0);
-		
-		// Connect to db - or supply a connection id to be used instead of making own connection.
-		$this->connect($xoopsDB->conn);
-	}
-	
-	function get_groups($row)
-	{
-		if ($this->use_post_based_groups){
-		   //$groups = $_SESSION['xoopsUserGroups'];
-			//foreach ($groups as $a => &$b) $b += 100;
-			$groups = array();
-			foreach ($_SESSION['xoopsUserGroups'] as $a => $b) $groups[$a] = $b + 100;
-			return $groups;
-		}
-		return array($_SESSION['xoopsUserGroups'][0]);
-	}
-	
-	// definition of how to extract id, name, group from a session cookie
-	function session_extraction()
-	{
-		return array($_SESSION['xoopsUserId'], 'fudge');
-	}
-	
-	// definition of how to extract an id and password hash from a cookie
-	function cookie_extraction()
-	{
-		return false; //unused
-	}
-	
-	// definition of actions required to convert a password from user database form to cookie form
-	function udb_hash_db($password)
-	{
-		return 'fudge';
-	}
-	
-	function login_page()
-	{
-		global $CONFIG;
-		
-		$parts = parse_url($CONFIG['site_url']);
-		$path = $parts['path'];
-		$this->redirect("/user.php?xoops_redirect=$path");
-	}
-
-	function logout_page()
-	{
-		global $CONFIG;
-		
-		$parts = parse_url($CONFIG['site_url']);
-		$path = $parts['path'];
-		$this->redirect("/user.php?op=logout&xoops_redirect=$path");
-	}
-	
-	function view_users()
-	{
-
-	}
-	
-	function get_users($options = array())
-    {
-    	global $CONFIG;
-
-		// Copy UDB fields and config variables (just to make it easier to read)
-    	$f =& $this->field;
-		$C =& $CONFIG;
-		
-		// Sort codes
-        $sort_codes = array('name_a' => 'user_name ASC',
-                            'name_d' => 'user_name DESC',
-                            'group_a' => 'group_name ASC',
-                            'group_d' => 'group_name DESC',
-                            'reg_a' => 'user_regdate ASC',
-                            'reg_d' => 'user_regdate DESC',
-                            'pic_a' => 'pic_count ASC',
-                            'pic_d' => 'pic_count DESC',
-                            'disku_a' => 'disk_usage ASC',
-                            'disku_d' => 'disk_usage DESC',
-                            'lv_a' => 'user_lastvisit ASC',
-                            'lv_d' => 'user_lastvisit DESC',
-                           );
-
-        // Fix the group id, if bridging is enabled
-        if ($CONFIG['bridge_enable']) {
-            $f['usertbl_group_id'] .= '+100';
-        }
-        
-		// Build WHERE clause, if this is a username search
-        if ($options['search']) {
-            $options['search'] = 'WHERE u.'.$f['username'].' LIKE "'.$options['search'].'" ';
-        }
-
-		// Build SQL table, should work with all bridges
-        $sql = "SELECT u.{$f['user_id']} as user_id, {$f['username']} as user_name, {$f['email']} as user_email, {$f['regdate']} as user_regdate, {$f['lastvisit']} as user_lastvisit, '' as user_active, ".
-               "COUNT(pid) as pic_count, ROUND(SUM(total_filesize)/1024) as disk_usage, group_name, group_quota ".
-               "FROM {$this->usertable} AS u ".
-			   "INNER JOIN {$this->usergroupstable} AS ug ON u.uid = ug.uid ".   
-               " INNER JOIN {$C['TABLE_USERGROUPS']} AS g ".
-			   "ON  g.group_id = ug.{$f['grouptbl_group_id']} LEFT JOIN {$C['TABLE_PICTURES']} AS p ON p.owner_id = u.{$f['user_id']} ".
-               $options['search'].
-               "GROUP BY user_id " . "ORDER BY " . $sort_codes[$options['sort']] . " ".
-               "LIMIT {$options['lower_limit']}, {$options['users_per_page']};";
-
-		$result = cpg_db_query($sql);
-		
-		// If no records, return empty value
-		if (!$result) {
-			return array();
-		}
-		
-		// Extract user list to an array
-		while ($user = mysql_fetch_assoc($result)) {
-			$userlist[] = $user;
-		}	
-
-        return $userlist;
-    }
-
-
-}
-
-
-// and go !
-$cpg_udb = new xoops_udb;
-?>
+<?php
+/*************************
+  Coppermine Photo Gallery
+  ************************
+  Copyright (c) 2003-2009 Coppermine Dev Team
+  v1.1 originally written by Gregory DEMAR
+
+  This program is free software; you can redistribute it and/or modify
+  it under the terms of the GNU General Public License version 3
+  as published by the Free Software Foundation.
+  
+  ********************************************
+  Coppermine version: 1.4.25
+  $HeadURL: https://coppermine.svn.sourceforge.net/svnroot/coppermine/trunk/cpg1.4.x/bridge/xoops.inc.php $
+  $Revision: 5997 $
+  $Author: gaugau $
+  $Date: 2009-05-26 08:43:24 +0200 (Di, 26 Mai 2009) $
+**********************************************/
+
+if (!defined('IN_COPPERMINE')) die('Not in Coppermine...');
+
+// Switch that allows overriding the bridge manager with hard-coded values
+define('USE_BRIDGEMGR', 1);
+
+require_once 'bridge/udb_base.inc.php';
+
+if (!USE_BRIDGEMGR) {
+	require_once('../xoops/mainfile.php');
+} else {
+	require_once($BRIDGE['relative_path_to_config_file'] . 'mainfile.php');
+}
+
+// reset to cpg db
+mysql_select_db($CONFIG['dbname']);
+
+class xoops_udb extends core_udb {
+
+	function xoops_udb()
+	{
+		global $BRIDGE, $xoopsDB;
+
+		$this->use_post_based_groups = $BRIDGE['use_post_based_groups'];
+		
+		$this->boardurl =  XOOPS_URL;
+		$this->multigroups = 1;
+		$this->group_overrride = 0;
+
+		// Board table names
+		$this->table = array(
+			'users' => 'users',
+			'groups' => 'groups',
+			'usergroups' => 'groups_users_link'
+		);
+
+		// Database connection settings
+		$this->db = array(
+			'name' => XOOPS_DB_NAME,
+			'prefix' =>XOOPS_DB_PREFIX . '_',
+			'host' =>XOOPS_DB_HOST,
+			'user' => XOOPS_DB_USER
+		);
+		
+		// Derived full table names
+		$this->usertable = '`' . $this->db['name'] . '`.' . $this->db['prefix'] . $this->table['users'];
+		$this->groupstable =  '`' . $this->db['name'] . '`.' . $this->db['prefix'] . $this->table['groups'];
+		$this->usergroupstable = '`' . $this->db['name'] . '`.' . $this->db['prefix'] . $this->table['usergroups'];
+		
+		// Table field names
+		$this->field = array(
+			'username' => 'uname', // name of 'username' field in users table
+			'user_id' => 'uid', // name of 'id' field in users table
+			'password' => 'pass', // name of the password field in the users table
+			'email' => 'email', // name of 'email' field in users table
+			'regdate' => "''", // name of 'registered' field in users table
+			'lastvisit' => 'last_login', // last time user logged in
+			'active' => "''", // is user account active?
+			'location' => "''", // name of 'location' field in users table
+			'website' => "''", // name of 'website' field in users table
+			'usertbl_group_id' => 'uid', // name of 'group id' field in users table
+			'grouptbl_group_id' => 'groupid', // name of 'group id' field in groups table
+			'grouptbl_group_name' => 'name' // name of 'group name' field in groups table
+		);
+		
+		// Pages to redirect to
+		$this->page = array(
+			'register' => '/register.php',
+			'editusers' => '/index.php?action=mlist',
+			'edituserprofile' => '/userinfo.php?uid='
+		);
+		
+		// Group ids - admin and guest only.
+		$this->admingroups = array(XOOPS_GROUP_ADMIN);
+		$this->guestgroup = XOOPS_GROUP_ANONYMOUS + ($this->use_post_based_groups ? 100 : 0);
+		
+		// Connect to db - or supply a connection id to be used instead of making own connection.
+		$this->connect($xoopsDB->conn);
+	}
+	
+	function get_groups($row)
+	{
+		if ($this->use_post_based_groups){
+		   //$groups = $_SESSION['xoopsUserGroups'];
+			//foreach ($groups as $a => &$b) $b += 100;
+			$groups = array();
+			foreach ($_SESSION['xoopsUserGroups'] as $a => $b) $groups[$a] = $b + 100;
+			return $groups;
+		}
+		return array($_SESSION['xoopsUserGroups'][0]);
+	}
+	
+	// definition of how to extract id, name, group from a session cookie
+	function session_extraction()
+	{
+		return array($_SESSION['xoopsUserId'], 'fudge');
+	}
+	
+	// definition of how to extract an id and password hash from a cookie
+	function cookie_extraction()
+	{
+		return false; //unused
+	}
+	
+	// definition of actions required to convert a password from user database form to cookie form
+	function udb_hash_db($password)
+	{
+		return 'fudge';
+	}
+	
+	function login_page()
+	{
+		global $CONFIG;
+		
+		$parts = parse_url($CONFIG['site_url']);
+		$path = $parts['path'];
+		$this->redirect("/user.php?xoops_redirect=$path");
+	}
+
+	function logout_page()
+	{
+		global $CONFIG;
+		
+		$parts = parse_url($CONFIG['site_url']);
+		$path = $parts['path'];
+		$this->redirect("/user.php?op=logout&xoops_redirect=$path");
+	}
+	
+	function view_users()
+	{
+
+	}
+	
+	function get_users($options = array())
+    {
+    	global $CONFIG;
+
+		// Copy UDB fields and config variables (just to make it easier to read)
+    	$f =& $this->field;
+		$C =& $CONFIG;
+		
+		// Sort codes
+        $sort_codes = array('name_a' => 'user_name ASC',
+                            'name_d' => 'user_name DESC',
+                            'group_a' => 'group_name ASC',
+                            'group_d' => 'group_name DESC',
+                            'reg_a' => 'user_regdate ASC',
+                            'reg_d' => 'user_regdate DESC',
+                            'pic_a' => 'pic_count ASC',
+                            'pic_d' => 'pic_count DESC',
+                            'disku_a' => 'disk_usage ASC',
+                            'disku_d' => 'disk_usage DESC',
+                            'lv_a' => 'user_lastvisit ASC',
+                            'lv_d' => 'user_lastvisit DESC',
+                           );
+
+        // Fix the group id, if bridging is enabled
+        if ($CONFIG['bridge_enable']) {
+            $f['usertbl_group_id'] .= '+100';
+        }
+        
+		// Build WHERE clause, if this is a username search
+        if ($options['search']) {
+            $options['search'] = 'WHERE u.'.$f['username'].' LIKE "'.$options['search'].'" ';
+        }
+
+		// Build SQL table, should work with all bridges
+        $sql = "SELECT u.{$f['user_id']} as user_id, {$f['username']} as user_name, {$f['email']} as user_email, {$f['regdate']} as user_regdate, {$f['lastvisit']} as user_lastvisit, '' as user_active, ".
+               "COUNT(pid) as pic_count, ROUND(SUM(total_filesize)/1024) as disk_usage, group_name, group_quota ".
+               "FROM {$this->usertable} AS u ".
+			   "INNER JOIN {$this->usergroupstable} AS ug ON u.uid = ug.uid ".   
+               " INNER JOIN {$C['TABLE_USERGROUPS']} AS g ".
+			   "ON  g.group_id = ug.{$f['grouptbl_group_id']} LEFT JOIN {$C['TABLE_PICTURES']} AS p ON p.owner_id = u.{$f['user_id']} ".
+               $options['search'].
+               "GROUP BY user_id " . "ORDER BY " . $sort_codes[$options['sort']] . " ".
+               "LIMIT {$options['lower_limit']}, {$options['users_per_page']};";
+
+		$result = cpg_db_query($sql);
+		
+		// If no records, return empty value
+		if (!$result) {
+			return array();
+		}
+		
+		// Extract user list to an array
+		while ($user = mysql_fetch_assoc($result)) {
+			$userlist[] = $user;
+		}	
+
+        return $userlist;
+    }
+
+
+}
+
+
+// and go !
+$cpg_udb = new xoops_udb;
+?>
diff -x .svn -aruN 1.4.24.src/bridgemgr.php 1.4.25.src/bridgemgr.php
--- 1.4.24.src/bridgemgr.php	2009-05-21 15:03:09.000000000 -0500
+++ 1.4.25.src/bridgemgr.php	2009-05-26 11:25:52.000000000 -0500
@@ -1,1407 +1,1407 @@
-<?php
-/*************************
-  Coppermine Photo Gallery
-  ************************
-  Copyright (c) 2003-2009 Coppermine Dev Team
-  v1.1 originally written by Gregory DEMAR
-
-  This program is free software; you can redistribute it and/or modify
-  it under the terms of the GNU General Public License version 3
-  as published by the Free Software Foundation.
-
-  ********************************************
-  Coppermine version: 1.4.24
-  $HeadURL: https://coppermine.svn.sourceforge.net/svnroot/coppermine/trunk/cpg1.4.x/bridgemgr.php $
-  $Revision: 5969 $
-  $Author: gaugau $
-  $Date: 2009-05-21 22:03:33 +0200 (Do, 21 Mai 2009) $
-**********************************************/
-
-
-define('IN_COPPERMINE', true);
-define('BRIDGEMGR_PHP', true);
-
-require('include/init.inc.php');
-
-///////////// function defintions start /////////////////////////////
-
-function write_to_db($step) {
-    global $BRIDGE,$CONFIG,$default_bridge_data,$lang_bridgemgr_php, $previous_step, $next_step;
-    $error = 0;
-    // do the check for plausibility of posted data
-    foreach($_POST as $key => $value) { // loop through the posted data -- start
-        // filter the post data that doesn't get written
-        if (array_key_exists($key, $BRIDGE)) { // post data exists as db key -- start
-            // do the lookups
-            $options = explode(',', $default_bridge_data[$BRIDGE['short_name']][$key.'_used']);
-            foreach($options as $key2) {
-                $options[$key2] = trim($options[$key2], ','); // get rid of the delimiters
-            }
-            if ($options[0] != '') { // only continue with this loop if there really is an option to check --- start
-                if ($options[0] == 'lookfor') { // check for the existance of a local file/folder --- start
-                    if (file_exists($value.$options[1]) == false) {
-                        $return[$key] = sprintf($lang_bridgemgr_php['error_folder_not_exist'], '<tt>'.$value.$options[1].'</tt>','<i>'.$lang_bridgemgr_php[$key].'</i>');
-                    }
-                } // check for the existance of a file/folder --- end
-                if ($options[0] == 'cookie') { // check for the existance of a cookie --- start
-                    foreach ($_COOKIE as $key2 => $value2) { // loop through the cookie global var --- start
-                        //print '<br>cookie:'.$key2.', content:'.$value2."<br />\n";
-                        if (@strstr($key2,$value) == false && $options[1] == 'not_empty') {
-                            $return[$key] = sprintf($lang_bridgemgr_php['error_cookie_not_readible'], '&quot;<tt>'.$value.'</tt>*&quot;','<i>'.$lang_bridgemgr_php[$key].'</i>');
-                        }
-                    }  // loop through the cookie global var --- end
-                                        if (isset($temp_err)) $return[$key] = $temp_err;
-                } // check for the existance of a cookie --- end
-                if ($options[1] == 'not_empty') { // check for empty mandatory fields --- start
-                    if ($value == '') {
-                        $return[$key] = sprintf($lang_bridgemgr_php['error_mandatory_field_empty'], '<i>'.$lang_bridgemgr_php[$key].'</i>');
-                    }
-                } // check for empty mandatory fields --- end
-                if ($options[0] == 'no_trailing_slash' || $options[1] == 'no_trailing_slash' || $options[2] == 'no_trailing_slash') { // check for unneeded trailing slashes --- start
-                    if ($value != rtrim($value, '/')) {
-                        $return[$key] = sprintf($lang_bridgemgr_php['error_no_trailing_slash'], '<i>'.$lang_bridgemgr_php[$key].'</i>');
-                    }
-                } // check for unneeded traling slashes --- end
-                if ($options[0] == 'trailing_slash' || $options[1] == 'trailing_slash' || $options[2] == 'trailing_slash') { // check for needed trailing slashes --- start
-                    if ($value == rtrim($value, '/')) {
-                        $return[$key] = sprintf($lang_bridgemgr_php['error_trailing_slash'], '<i>'.$lang_bridgemgr_php[$key].'</i>');
-                    }
-                } // check for needed traling slashes --- end
-                //print "<hr />\n";
-                //print $options[0].':'.$options[1].','.$options[2];
-                //print "<hr />\n";
-            } // only continue with this loop if there really is an option to check --- end
-        } // post data exists as db key -- end
-    } // loop through the posted data -- end
-
-
-    // loop through the expected data
-    //void
-
-
-    // do some checking according to the step we're currently in
-    switch ($step) {
-    case "choose_bbs":
-    if ($_POST['short_name'] == '') {
-        $return['short_name'] = $lang_bridgemgr_php['error_specify_bbs'];
-        $error++;
-    }
-    if ($_POST['short_name'] == 'custom_selector') {
-        $_POST['short_name'] = $_POST['custom_filename'];
-        if ($_POST['short_name'] == '') {
-            $return['short_name'] = $lang_bridgemgr_php['error_no_blank_name'];
-        }
-        if (ereg('[^A-Za-z0-9_-]',$_POST['short_name'])) {
-            $return['short_name'] = $lang_bridgemgr_php['error_no_special_chars'];
-        }
-    }
-    // check if the bridge file actually exists
-    if (file_exists('bridge/'.$_POST['short_name'].'.inc.php') == false) {
-        $return['bridge_file_not_exist'] = sprintf($lang_bridgemgr_php['error_bridge_file_not_exist'],'<i>bridge/'.$_POST['short_name'].'.inc.php</i>');
-    }
-       break;
-
-    case "settings_path":
-    //if ($_POST['short_name'] == '') {
-    //    $return['short_name'] = $lang_bridgemgr_php['error_specify_bbs'];
-    //}
-
-       break;
-
-    case "db_group":
-    //if ($_POST['use_standard_groups'] == '') {
-    //    $_POST['use_standard_groups'] = 0 ;
-    //}
-       break;
-
-    case "db_connect":
-        if ($default_bridge_data[$BRIDGE['short_name']]['db_hostname_used'] != '') { // check the db connection --- start
-            @mysql_close(); //temporarily disconnect from the coppermine database
-            ob_start();
-            $link = mysql_connect($_POST['db_hostname'], $_POST['db_username'], $_POST['db_password']);
-            $mysql_error_output = ob_get_contents();
-            ob_end_clean();
-            if (!$link) {
-                $return[$step] = $lang_bridgemgr_php['error_db_connect'].'<tt>'.$mysql_error_output.'</tt>';
-            } elseif ($default_bridge_data[$BRIDGE['short_name']]['db_database_name_used'] != '') { // check the database
-                ob_start();
-                $db_selected = mysql_select_db($_POST['db_database_name'], $link);
-                print mysql_error();
-                $mysql_error_output = ob_get_contents();
-                ob_end_clean();
-                if (!$db_selected) {
-                   $return['db_database_name'] = sprintf($lang_bridgemgr_php['error_db_name'], '<i>'.$_POST['db_database_name'].'</i>', '<i>'.$lang_bridgemgr_php['db_database_name'].'</i>'). ' <tt>'.$mysql_error_output.'</tt>';
-                }
-            }
-            @mysql_close($link);
-            cpg_db_connect(); // connect back to coppermine db
-        } // check the db connection --- end
-       break;
-
-    case "db_tables":
-        if ($default_bridge_data[$BRIDGE['short_name']]['table_prefix_used'] != '') {
-            $prefix_and_table = sprintf($lang_bridgemgr_php['error_prefix_and_table'], '<i>'.$lang_bridgemgr_php['table_prefix'].'</i>');
-        }
-        @mysql_close(); //temporarily disconnect from the coppermine database
-        $link = @mysql_connect($BRIDGE['db_hostname'], $BRIDGE['db_username'], $BRIDGE['db_password']);
-        $db_selected = @mysql_select_db($BRIDGE['db_database_name'], $link);
-        $loop_table_names = array ('user_table', 'session_table', 'group_table', 'group_table', 'group_relation_table', 'group_mapping_table');
-        foreach ($loop_table_names as $key) { // loop through the possible tables --- start
-            if ($default_bridge_data[$BRIDGE['short_name']][$key.'_used'] != '') { // check if table exists --- start
-                $temp_tablename = $_POST['table_prefix'].$_POST[$key];
-                $result = mysql_query('SELECT * FROM '.$temp_tablename);
-                if (!$result) {
-                    $return['db_'.$key] = sprintf($lang_bridgemgr_php['error_db_table'], '<i>'.$temp_tablename.'</i>', $prefix_and_table.'<i>'.$lang_bridgemgr_php[$key].'</i>'). ' <tt>'.$mysql_error_output.'</tt>';
-                }
-                @mysql_free_result($result);
-            } // check if table exists --- end
-        } // loop through the possible tables --- end
-        @mysql_close($link);
-        cpg_db_connect(); // connect back to coppermine db
-       break;
-
-
-    } // end switch
-
-    // write the post data to the database
-    //print_r($_POST);
-    foreach($_POST as $key => $value) {
-        // filter the post data that doesn't get written
-        if (array_key_exists($key, $BRIDGE)) {
-            if ($CONFIG['debug_mode'] != 0) { // print what actually get's written when in debug_mode
-                print '<span class="explanation">Writing to database: ';
-                print $key . '|' . $value;
-                print '<br /></span>';
-            }
-            if ($return[$key] != '') {
-                //print '|Error in this key';
-            } else {
-                cpg_db_query("UPDATE {$CONFIG['TABLE_BRIDGE']} SET value = '$value' WHERE name = '$key'");
-            }
-            //print '<br />';
-        }
-    }
-    $value = $_POST['bridge_enable'];
-    if ($value != '0' && $value != '1') {
-        $value = $CONFIG['bridge_enable'];
-    }
-    cpg_db_query("UPDATE {$CONFIG['TABLE_CONFIG']} SET value = '$value' WHERE name = 'bridge_enable'");
-    if ($_POST['clear_unused_db_fields'] == 1) {
-        // clear all database entries that aren't actually used with the current bridge file
-        // not implemented yet (not sure if necessary after all)
-    }
-
-    // ouput error messages, if any
-    if (is_array($return)) {
-        starttable('100%',$lang_bridgemgr_php['error_title']);
-        print '<tr><td class="tableb" align="left"><ul>';
-        foreach($return as $key) {
-            print '<li>'.$key.'</li>';
-        }
-        print '</ul></td></tr>';
-        print '<tr>'.$new_line;
-        print '    <td class="tablef" align="center">'.$new_line;
-        print '        <a href="javascript:history.back()" class="admin_menu" title="'.$lang_bridgemgr_php['back'].'" />&laquo;'.$lang_bridgemgr_php['back'].'</a>'.$new_line;
-        print '    </td>'.$new_line;
-        print '</tr>'.$new_line;
-        endtable();
-        $error = 1;
-    }
-    print '<br />';
-    if ($error != '') {return 'error';}
-}
-
-function cpg_check_allowed_emergency_logon($timestamp,$failures = '') {
-    //define the wait time (in seconds)
-    $wait_time = array('0','5','10','20','30','60','120', '300', '1500', '6000');
-    // make a real timestamp out of the date
-    $timestamp = strtotime($timestamp);
-    // if failed more than x times, the wait time will keep the same
-    if ($failures > count($wait_time)) {$failures = count($wait_time);}
-    //print 'Last logon:'.$timestamp.'|'.date('Y-m-d H:i:s', $timestamp);
-    //print '<br>';
-    $current_timestamp = time();
-    //print 'Current time:'.$current_timestamp.'|'.date('Y-m-d H:i:s',$current_timestamp);
-    //print '<br>';
-    $allowed_timestamp = $timestamp+($wait_time[$failures]);
-    //print 'Allowed logon:'.$allowed_timestamp.'|'.date('Y-m-d H:i:s', $allowed_timestamp).'|'.$wait_time[$failures];
-    //print '<hr>';
-    $difference = $allowed_timestamp - $current_timestamp;
-    //print 'Difference in seconds:'.$difference;
-    return $difference;
-}
-
-function cpg_bridge_prefill( $bridge = '', $key = '') {
-global $BRIDGE,$default_bridge_data;
-if ($BRIDGE[$key]) {
-    return $BRIDGE[$key];
-    } else {
-    return $default_bridge_data[$bridge][$key.'_default'];
-    }
-}
-
-function cpg_submit_button($step, $back = 'true', $columns = '3', $next = 'true')
-{
-global $lang_bridgemgr_php,$new_line;
-$checked = '';
-
-if ($_POST['hide_unused_fields'] != '' || $back != 'true') {
-    $checked = 'checked="checked"';
-}
-$return = '    <tr>'.$new_line;
-$return .= '        <td colspan="'.$columns.'" class="tablef" align="center">'.$new_line;
-$return .= '            <table border="0" cellspacing="0" cellpadding="0" width="100%"><tr>'.$new_line;
-$return .= '            <td align="left">'.$new_line;
-$return .= '            <input type="Checkbox" name="hide_unused_fields" id="hide_unused_fields" value="1" class="checkbox" '.$checked.' onclick="toggleUnusedFields(this);" />'.$new_line;
-$return .= '            <label for="hide_unused_fields" class="clickable_option">'.$new_line;
-$return .= '            <span class="explanation">'.$new_line;
-$return .= '                '.$lang_bridgemgr_php['hide_unused_fields'].$new_line;
-$return .= '            </span>'.$new_line;
-$return .= '            </label>'.$new_line;
-$return .= '            <script type="text/javascript">';
-$return .= '            <!--'.$new_line;
-$return .= '            //function toggleUnusedFields(el_name) {'.$new_line;
-$return .= '            //var elems = el_name.getElementsById("hide_row");'.$new_line;
-$return .= '            '.$new_line;
-$return .= '            '.$new_line;
-$return .= '            }'.$new_line;
-$return .= '            -->'.$new_line;
-$return .= '            </script>'.$new_line;
-$return .= '        </td>'.$new_line;
-$return .= '        <td align="center">'.$new_line;
-if ($back == 'true') {
-    $return .= '            <input type="button" name="back" value="&laquo;'.$lang_bridgemgr_php['back'].'" class="button" onclick="javascript:history.back()" />'.$new_line;
-}
-if ($next != 'false') {
-    $return .= '            <input type="submit" name="submit" value="'.$lang_bridgemgr_php['next'].'&raquo;" class="button" />'.$new_line;
-}
-$return .= '            <input type="hidden" name="step" value="'.$step.'" />'.$new_line;
-$return .= '            </td>';
-$return .= '                </tr></table>';
-$return .= '        </td>'.$new_line;
-$return .= '    </tr>'.$new_line;
-return $return;
-}
-
-function remote_file_exists ($url)
-{
-// currently not used - will have to be looked into: we need a reliable way to check if an url exists, even if we can not use fopen, because it is disabled in php.ini
-/*
-   Return error codes:
-   1 = Invalid URL host
-   2 = Unable to connect to remote host
-*/
-   $head = "";
-   $url_p = parse_url ($url);
-
-   if (isset ($url_p["host"]))
-   { $host = $url_p["host"]; }
-   else
-   { return 1; }
-
-   if (isset ($url_p["path"]))
-   { $path = $url_p["path"]; }
-   else
-   { $path = ""; }
-
-   $fp = fsockopen ($host, 80, $errno, $errstr, 20);
-   if (!$fp)
-   { return 2; }
-   else
-   {
-       $parse = parse_url($url);
-       $host = $parse['host'];
-
-       fputs($fp, "HEAD ".$url." HTTP/1.1\r\n");
-       fputs($fp, "HOST: ".$host."\r\n");
-       fputs($fp, "Connection: close\r\n\r\n");
-       $headers = "";
-       while (!feof ($fp))
-       { $headers .= fgets ($fp, 128); }
-   }
-   fclose ($fp);
-   $arr_headers = explode("\n", $headers);
-   $return = false;
-   if (isset ($arr_headers[0]))
-   { $return = strpos ($arr_headers[0], "404") === false; }
-   return $return;
-}
-
-function cpg_refresh_config_db_values() {
-global $CONFIG;
-// Retrieve DB stored configuration
-$results = cpg_db_query("SELECT * FROM {$CONFIG['TABLE_CONFIG']}");
-while ($row = mysql_fetch_array($results)) {
-    $CONFIG[$row['name']] = $row['value'];
-} // while
-mysql_free_result($results);
-return $CONFIG;
-}
-
-function cpg_is_writable($folder)
-{
-$return = 0;
-$file_content = "this is just a test file that hasn't been deleted properly.\nIt's safe to delete it now";
-@unlink($folder.'/cpgvc_tf.txt');
-if ($fd = @fopen($folder.'/cpgvc_tf.txt', 'w')) {
-    @fwrite($fd, $file_content);
-    @fclose($fd);
-    @unlink($folder.'/cpgvc_tf.txt');
-    $return = 1;
-} else {
-    $return = -1;
-}
-return $return;
-}
-
-///////////// function defintions end /////////////////////////////
-
-
-if (GALLERY_ADMIN_MODE) { // gallery admin mode --- start
-
-// define the var array
-
-// status: bridge ok, manager was ok a while ago ..
-$default_bridge_data['invisionboard20'] = array(
-  'full_name' => 'Invision Power Board 2.x',
-  'short_name' => 'invisionboard20',
-  'support_url' => 'http://forums.invisionpower.com/',
-  'full_forum_url_default' => 'http://www.yoursite.com/board',
-  'full_forum_url_used' => 'mandatory,not_empty,no_trailing_slash',
-  'relative_path_to_config_file_default' => '../board/',
-  'relative_path_to_config_file_used' => 'lookfor,conf_global.php',
-  'use_post_based_groups_default' => '0',
-  'use_post_based_groups_used' => 'radio,1,0',
-);
-
-// status: bridge ok, manager ok
-$default_bridge_data['mambo'] = array(
-  'full_name' => 'Mambo server',
-  'short_name' => 'mambo',
-  'support_url' => 'http://www.mamboserver.com/',
-  'full_forum_url_default' => 'http://www.yoursite.com/board',
-  'full_forum_url_used' => 'mandatory,not_empty,no_trailing_slash',
-  'relative_path_to_config_file_default' => '../board/',
-  'relative_path_to_config_file_used' => 'lookfor,configuration.php',
-  'use_post_based_groups_default' => '0',
-  'use_post_based_groups_used' => 'radio,1,0',
-);
-
-// status: bridge ok, manager ok
-$default_bridge_data['phpbb'] = array(
-  'full_name' => 'phpBB versions prior to 2.0.18',
-  'short_name' => 'phpbb20',
-  'support_url' => 'http://www.phpbb.com/',
-  'full_forum_url_default' => 'http://www.yoursite.com/board',
-  'full_forum_url_used' => 'mandatory,not_empty,no_trailing_slash',
-  'relative_path_to_config_file_default' => '../board/',
-  'relative_path_to_config_file_used' => 'lookfor,config.php',
-  'use_post_based_groups_default' => '0',
-  'use_post_based_groups_used' => 'radio,1,0',
-   'cookie_prefix_default' => 'phpbb2mysql',
-   'cookie_prefix_used' => 'cookie',
-);
-
-$default_bridge_data['phpbb2018'] = array(
-  'full_name' => 'phpBB version 2.0.18 or better',
-  'short_name' => 'phpbb2018',
-  'support_url' => 'http://www.phpbb.com/',
-  'full_forum_url_default' => 'http://www.yoursite.com/board',
-  'full_forum_url_used' => 'mandatory,not_empty,no_trailing_slash',
-  'relative_path_to_config_file_default' => '../board/',
-  'relative_path_to_config_file_used' => 'lookfor,config.php',
-  'use_post_based_groups_default' => '0',
-  'use_post_based_groups_used' => 'radio,1,0',
-   'cookie_prefix_default' => 'phpbb2mysql',
-   'cookie_prefix_used' => 'cookie',
-);
-
-// status: bridge ok, manager unknown
-$default_bridge_data['phpbb22'] = array(
-  'full_name' => 'phpBB 2.2',
-  'short_name' => 'phpbb22',
-  'support_url' => 'http://www.phpbb.com/',
-  'full_forum_url_default' => 'http://www.yoursite.com/board',
-  'full_forum_url_used' => 'mandatory,not_empty,no_trailing_slash',
-  'relative_path_to_config_file_default' => '../board/',
-  'relative_path_to_config_file_used' => 'lookfor,config.php',
-  'use_post_based_groups_default' => '0',
-  'use_post_based_groups_used' => 'radio,1,0',
-);
-
-// status: bridge unknown, manager unknown
-$default_bridge_data['punbb115'] = array(
-  'full_name' => 'PunBB v1.1.5',
-  'short_name' => 'punbb115',
-  'support_url' => 'http://www.punbb.org/',
-  'full_forum_url_default' => 'http://www.yoursite.com/board',
-  'full_forum_url_used' => 'mandatory,not_empty,no_trailing_slash',
-  'relative_path_to_config_file_default' => '../board/',
-  'relative_path_to_config_file_used' => 'lookfor,config.php',
-  'use_post_based_groups_default' => '0',
-);
-
-// status: bridge ok, manager ok
-$default_bridge_data['punbb12'] = array(
-  'full_name' => 'PunBB v1.2',
-  'short_name' => 'punbb12',
-  'support_url' => 'http://www.punbb.org/',
-  'full_forum_url_default' => 'http://www.yoursite.com/board',
-  'full_forum_url_used' => 'mandatory,not_empty,no_trailing_slash',
-  'relative_path_to_config_file_default' => '../board/',
-  'relative_path_to_config_file_used' => 'lookfor,config.php',
-  'use_post_based_groups_default' => '0',
-  'use_post_based_groups_used' => 'radio,1,0',
-);
-
-// status: bridge ok, manager ok
-$default_bridge_data['smf10'] = array(
-  'full_name' => 'Simple Machines (SMF) 1.x',
-  'short_name' => 'smf10',
-  'support_url' => 'http://www.simplemachines.org/',
-  'full_forum_url_default' => 'http://www.yoursite.com/board',
-  'full_forum_url_used' => 'mandatory,not_empty,no_trailing_slash',
-  'relative_path_to_config_file_default' => '../board/',
-  'relative_path_to_config_file_used' => 'lookfor,Settings.php',
-  'use_post_based_groups_default' => '0',
-  'use_post_based_groups_used' => 'radio,1,0',
-);
-
-// status: bridge ok, manager ok
-$default_bridge_data['smf20'] = array(
-  'full_name' => 'Simple Machines (SMF) 2.x',
-  'short_name' => 'smf20',
-  'support_url' => 'http://www.simplemachines.org/',
-  'full_forum_url_default' => 'http://www.yoursite.com/board',
-  'full_forum_url_used' => 'mandatory,not_empty,no_trailing_slash',
-  'relative_path_to_config_file_default' => '../board/',
-  'relative_path_to_config_file_used' => 'lookfor,Settings.php',
-  'use_post_based_groups_default' => '0',
-  'use_post_based_groups_used' => 'radio,1,0',
-);
-
-// status: bridge unknown, manager unknown
-$default_bridge_data['vbulletin30'] = array(
-  'full_name' => 'vBulletin 3.0',
-  'short_name' => 'vbulletin30',
-  'support_url' => 'http://www.vbulletin.com/',
-  'full_forum_url_default' => 'http://www.yoursite.com/board',
-  'full_forum_url_used' => 'mandatory,not_empty,no_trailing_slash',
-  'relative_path_to_config_file_default' => '../board/',
-  'relative_path_to_config_file_used' => 'lookfor,includes/config.php',
-  'use_post_based_groups_default' => '0',
-  'use_post_based_groups_used' => 'radio,1,0',
-);
-
-$default_bridge_data['mybb'] = array(
-  'full_name' => 'MyBB 1.02',
-  'short_name' => 'mybb',
-  'support_url' => 'http://www.mybboard.com/',
-  'full_forum_url_default' => 'http://www.yoursite.com/board',
-  'full_forum_url_used' => 'mandatory,not_empty,no_trailing_slash',
-  'relative_path_to_config_file_default' => '../board/inc',
-  'relative_path_to_config_file_used' => 'lookfor,config.php',
-  'use_post_based_groups_default' => '0',
-  'use_post_based_groups_used' => 'radio,1,0',
-);
-
-$default_bridge_data['xmb'] = array(
-  'full_name' => 'XMB 1.9.10 or better',
-  'short_name' => 'xmb',
-  'support_url' => 'http://www.xmbforum.com/',
-  'full_forum_url_default' => '',
-  'full_forum_url_used' => '',
-  'relative_path_to_config_file_default' => '../XMB/',
-  'relative_path_to_config_file_used' => 'lookfor,config.php',
-  'use_post_based_groups_default' => '1',
-  'use_post_based_groups_used' => 'radio,1,0',
-);
-
-$default_bridge_data['xoops'] = array(
-  'full_name' => 'Xoops 2.0',
-  'short_name' => 'xoops',
-  'support_url' => 'http://www.xoops.org/',
-  'full_forum_url_default' => 'http://www.yoursite.com/board',
-  'full_forum_url_used' => 'mandatory,not_empty,no_trailing_slash',
-  'relative_path_to_config_file_default' => '../board/',
-  'relative_path_to_config_file_used' => 'lookfor,mainfile.php',
-  'use_post_based_groups_default' => '0',
-  'use_post_based_groups_used' => 'radio,1,0',
-);
-
-$default_bridge_data['phorum'] = array(
-  'full_name' => 'Phorum 5',
-  'short_name' => 'phorum',
-  'support_url' => 'http://www.phorum.org/',
-  'full_forum_url_default' => '',
-  'full_forum_url_used' => '',
-  'relative_path_to_config_file_default' => '../phorum/',
-  'relative_path_to_config_file_used' => 'lookfor,common.php',
-  'use_post_based_groups_default' => '0',
-  'use_post_based_groups_used' => 'radio,1,0',
-);
-
-//////////////// main code start //////////////////////
-
-// initialize vars
-$step = $_POST['step'];
-if (!$step) {
-    $step = 'finalize';
-}
-$new_line = "\n";
-/*
-$next_step = array( // this defines the order of steps
-  'choose_bbs' => 'settings_path',
-  'settings_path' => 'db_connect',
-  'db_connect' => 'db_tables',
-  'db_tables' => 'db_groups',
-  'db_groups' => 'special_settings',
-  'special_settings' => 'finalize',
-  'finalize' => 'finalize',
-);
-*/
-
-$next_step = array( // this defines the order of steps
-  'choose_bbs' => 'settings_path',
-  'settings_path' => 'special_settings',
-  'special_settings' => 'finalize',
-  'finalize' => 'finalize',
-);
-
-$previous_step = array_flip($next_step);
-
-
-pageheader($lang_bridgemgr_php['title']);
-echo <<<EOT
-<style type="text/css">
-.explanation {font-size: 80%;}
-.important {color:red;}
-</style>
-EOT;
-
-//print 'Current step:'.$step.', previous step:'.$previous_step[$step].', next step:'.$next_step[$step];  // debug ouput
-
-// get the bridge db vars first
-$BRIDGE = cpg_get_bridge_db_values();
-//print_r($BRIDGE);
-//print '<hr>';
-
-switch ($step) {
-case "choose_bbs":
-$BRIDGE = cpg_get_bridge_db_values();
-print '<form name="'.$step.'" action="'.$_SERVER['PHP_SELF'].'" method="post">';
-//print '<input type="hidden" name="hide_unused_fields" value="1" />';
-starttable('100%', $lang_bridgemgr_php['title'].': '.$lang_bridgemgr_php['choose_bbs_app'],2);
-$checked[$BRIDGE['short_name']] = 'checked="checked"';
-foreach($default_bridge_data as $key => $value) {
-    print '<tr>'.$new_line;
-    print '    <td class="tableb">'.$new_line;
-    print '        <input type="Radio" name="short_name" id="'.$key.'" class="radio" value="'.$key.'" '.$checked[$key].' />'.$new_line;
-    print '        <label for="'.$key.'" class="clickable_option">'.$new_line;
-    print '            '.$value['full_name'].$new_line;
-    print '        </label>'.$new_line;
-    print '    </td>'.$new_line;
-    print '    <td class="tableb">'.$new_line;
-    print '        <span class="explanation">'.$new_line;
-    print '            <a href="'.$value['support_url'].'" title="'.$lang_bridgemgr_php['support_url'].'" rel="external">'.$value['support_url'].'</a>'.$new_line;
-    print '        </span>'.$new_line;
-    print '    </td>'.$new_line;
-    print '</tr>'.$new_line;
-} // end foreach
-
-// loop through the pre-made bridges. If there's one in the db that doesn't exist in the bridges, that's our custom theme; prefill the form fields with it.
-$prefill = '';
-$checked = '';
-$custom_bridge_counter_exist = 0;
-foreach($default_bridge_data as $key => $value) {
-    if ($BRIDGE['short_name'] == $key) {
-        $custom_bridge_counter_exist++;
-    }
-}
-if ($custom_bridge_counter_exist == 0) { // we have a custom bridge --- start
-    $prefill = $BRIDGE['short_name'];
-    $checked = 'checked="checked"';
-} // we have a custom bridge --- end
-
-// form field for the custom bridge
-    print '<tr>'.$new_line;
-    print '    <td class="tableb">'.$new_line;
-    print '        <input type="Radio" name="short_name" id="custom_selector" class="radio" value="custom_selector" '.$checked.' onclick="document.'.$step.'.custom_filename.focus();" />'.$new_line;
-    //print '        <label for="custom_selector" class="clickable_option">'.$new_line;
-    print '            <input type="text" name="custom_filename" value="'.$prefill.'" size="30" class="textinput" onclick="document.getElementById(\'custom_selector\').checked=true;" />'.$new_line;
-    //print '        </label>'.$new_line;
-    print '    </td>'.$new_line;
-    print '    <td class="tableb">'.$new_line;
-    print '        <span class="explanation">'.$new_line;
-    print '            '.$lang_bridgemgr_php['custom_bridge_file'].$new_line;
-    print '        </span>'.$new_line;
-    print '    </td>'.$new_line;
-    print '</tr>'.$new_line;
-
-print cpg_submit_button($next_step[$step], 'false', '2');
-endtable();
-print "</form>\n";
-   break;
-
-case "settings_path":
-    $error = write_to_db($previous_step[$step]);
-    if (!$error) {
-        $BRIDGE = cpg_get_bridge_db_values();
-        print '<form name="'.$step.'" action="'.$_SERVER['PHP_SELF'].'" method="post">';
-        starttable('100%',$lang_bridgemgr_php['title'].': '.$lang_bridgemgr_php['settings_path'], 3);
-        $loop_array = array('full_forum_url','relative_path_of_forum_from_webroot','relative_path_to_config_file', 'cookie_prefix');
-        $rows_displayed = 0;
-        $section_number = 0;
-        foreach($loop_array as $key) {
-            $prefill = cpg_bridge_prefill($BRIDGE['short_name'],$key);
-            if ($key == 'relative_path_of_forum_from_webroot') {
-                $minibrowser = '<a href="javascript:;" onclick="MM_openBrWindow(\'minibrowser.php?startfolder='.rawurlencode($prefill).'&amp;parentform='.rawurlencode($step).'&amp;formelementname='.rawurlencode($key).'\',\''.uniqid(rand()) .'\',\'scrollbars=yes,toolbar=no,status=no,locationbar=no,resizable=yes,width=600,height=400\')"><img src="images/folder.gif" width="16" height="16" border="0" alt="" title="'.$lang_bridgemgr_php['browse'].'" /></a>';
-            } else {
-                $minibrowser = '';
-            }
-            $reset_to_default = '';
-            if ($default_bridge_data[$BRIDGE['short_name']][$key.'_used'] == '') {
-                $disabled = 'disabled="disabled" style="background-color:InactiveCaptionText;color:GrayText"';
-                $minibrowser = '';
-            } else {
-                $disabled = '';
-                $rows_displayed++;
-                if ($default_bridge_data[$BRIDGE['short_name']][$key.'_default'] != '') {
-                    $reset_to_default = '<img src="images/flags/reset.gif" width="16" height="11" border="0" alt="" title="'.$lang_bridgemgr_php['reset_to_default'].'" style="cursor:pointer" onclick="document.getElementById(\''.$key.'\').value=\''.$default_bridge_data[$BRIDGE['short_name']][$key.'_default'].'\'" />';
-                }
-            }
-            if ($_POST['hide_unused_fields'] != 1 || $disabled == '')
-            {
-                print '<tr>'.$new_line;
-                print '    <td class="tableb">'.$new_line;
-                print '        '.$lang_bridgemgr_php[$key].':'.$new_line;
-                print '    </td>'.$new_line;
-                print '    <td class="tableb" style="overflow:visible">'.$new_line;
-                print '        <input type="text" name="'.$key.'" id="'.$key.'" class="textinput" value="'.$prefill.'" '.$disabled.' size="50" />'.$minibrowser.$reset_to_default.$new_line;
-                print '    </td>'.$new_line;
-                print '    <td class="tableb">'.$new_line;
-                print $display1.$new_line;
-                print '        <span class="explanation">'.$lang_bridgemgr_php[$key.'_explanation'].'</span>'.$new_line;
-                print $display2.$new_line;
-                print '    </td>'.$new_line;
-                print '</tr>'.$new_line;
-            }
-        }
-        if ($rows_displayed == 0) {
-            print '<tr>';
-            print '    <td class="tableh2" colspan="3" align="center">';
-            print '        <h2>'.$lang_bridgemgr_php['no_action_needed'].'</h2>';
-            print '    </td>';
-            print '</tr>';
-        }
-        print cpg_submit_button($next_step[$step]);
-        endtable();
-        print "</form>\n";
-    } // end if not error
-   break;
-
-case "db_connect":
-
-    $error = write_to_db($previous_step[$step]);
-    if (!$error) {
-        $BRIDGE = cpg_get_bridge_db_values();
-        print '<form name="'.$step.'" action="'.$_SERVER['PHP_SELF'].'" method="post">';
-        starttable('100%',$lang_bridgemgr_php['title'].': '.$lang_bridgemgr_php['database_connection'], 3);
-        $loop_array = array('db_database_name','db_hostname','db_username','db_password');
-        $rows_displayed = 0;
-        foreach($loop_array as $key) {
-            $prefill = cpg_bridge_prefill($BRIDGE['short_name'],$key);
-            $reset_to_default = '';
-            if ($default_bridge_data[$BRIDGE['short_name']][$key.'_used'] == '') {
-                $disabled = 'disabled="disabled" style="background-color:InactiveCaptionText;color:GrayText"';
-            } else {
-                $disabled = '';
-                $rows_displayed++;
-                if ($default_bridge_data[$BRIDGE['short_name']][$key.'_default'] != '') {
-                    $reset_to_default = '<img src="images/flags/reset.gif" width="16" height="11" border="0" alt="" title="'.$lang_bridgemgr_php['reset_to_default'].'" style="cursor:pointer" onclick="document.getElementById(\''.$key.'\').value=\''.$default_bridge_data[$BRIDGE['short_name']][$key.'_default'].'\'" />';
-                }
-            }
-            if ($default_bridge_data[$BRIDGE['short_name']][$key.'_used'] == 'password') {$fieldtype = 'password';} else {$fieldtype = 'text';}
-            if ($_POST['hide_unused_fields'] != 1 || $disabled == '')
-            {
-                //print $default_bridge_data[$BRIDGE['short_name']][$key.'_used'].'|<br>';
-                print '<tr>';
-                print '    <td class="tableb">';
-                print '        '.$lang_bridgemgr_php[$key].':';
-                print '    </td>';
-                print '    <td class="tableb">';
-                print '        <input type="'.$fieldtype.'" name="'.$key.'" id="'.$key.'" class="textinput" value="'.$prefill.'" '.$disabled.' size="30"  style="width:80%" />'.$reset_to_default;
-                print '    </td>';
-                print '    <td class="tableb">';
-                print '        <span class="explanation">'.$lang_bridgemgr_php[$key.'_explanation'].'</span>';
-                print '    </td>';
-                print '</tr>';
-            }
-        }
-        if ($rows_displayed == 0) {
-            print '<tr>';
-            print '    <td class="tableh2" colspan="3" align="center">';
-            print '        <h2>'.$lang_bridgemgr_php['no_action_needed'].'</h2>';
-            print '    </td>';
-            print '</tr>';
-        }
-
-
-        print cpg_submit_button($next_step[$step]);
-        endtable();
-        print "</form>\n";
-    } // end if error
-    break;
-
-case "db_tables":
-
-    $error = write_to_db($previous_step[$step]);
-    if (!$error) {
-        $BRIDGE = cpg_get_bridge_db_values();
-        print '<form name="'.$step.'" action="'.$_SERVER['PHP_SELF'].'" method="post">';
-        starttable('100%',$lang_bridgemgr_php['title'].': '.$lang_bridgemgr_php['database_tables'], 3);
-        $loop_array = array('table_prefix', 'user_table', 'session_table', 'group_table', 'group_relation_table', 'group_mapping_table');
-        $rows_displayed = 0;
-        foreach($loop_array as $key) {
-            $prefill = cpg_bridge_prefill($BRIDGE['short_name'],$key);
-            $reset_to_default = '';
-            if ($default_bridge_data[$BRIDGE['short_name']][$key.'_used'] == '') {
-                $disabled = 'disabled="disabled" style="background-color:InactiveCaptionText;color:GrayText"';
-            } else {
-                $disabled = '';
-                $rows_displayed++;
-                if ($default_bridge_data[$BRIDGE['short_name']][$key.'_default'] != '') {
-                    $reset_to_default = '<img src="images/flags/reset.gif" width="16" height="11" border="0" alt="" title="'.$lang_bridgemgr_php['reset_to_default'].'" style="cursor:pointer" onclick="document.getElementById(\''.$key.'\').value=\''.$default_bridge_data[$BRIDGE['short_name']][$key.'_default'].'\'" />';
-                }
-            }
-            if ($default_bridge_data[$BRIDGE['short_name']][$key.'_used'] == 'password') {$fieldtype = 'password';} else {$fieldtype = 'text';}
-            if ($_POST['hide_unused_fields'] != 1 || $disabled == '')
-            {
-                //print $default_bridge_data[$BRIDGE['short_name']][$key.'_used'].'|<br>';
-                print '<tr>';
-                print '    <td class="tableb">';
-                print '        '.$lang_bridgemgr_php[$key].':';
-                print '    </td>';
-                print '    <td class="tableb">';
-                print '        <input type="'.$fieldtype.'" name="'.$key.'" id="'.$key.'" class="textinput" value="'.$prefill.'" '.$disabled.' size="30"  style="width:80%" />'.$reset_to_default;
-                print '    </td>';
-                print '    <td class="tableb">';
-                print '        <span class="explanation">'.$lang_bridgemgr_php[$key.'_explanation'].'</span>';
-                print '    </td>';
-                print '</tr>';
-            }
-        }
-        if ($rows_displayed == 0) {
-            print '<tr>'.$new_line;
-            print '    <td class="tableh2" colspan="3" align="center">'.$new_line;
-            print '        <h2>'.$lang_bridgemgr_php['no_action_needed'].'</h2>'.$new_line;
-            print '    </td>'.$new_line;
-            print '</tr>'.$new_line;
-        }
-
-
-        print cpg_submit_button($next_step[$step]);
-        endtable();
-        print "</form>\n";
-    } // end if error
-    break;
-
-case "db_groups":
-
-    $error = write_to_db($previous_step[$step]);
-    if (!$error) {
-        $BRIDGE = cpg_get_bridge_db_values();
-        print '<form name="'.$step.'" action="'.$_SERVER['PHP_SELF'].'" method="post">';
-        starttable('100%',$lang_bridgemgr_php['title'].': '.$lang_bridgemgr_php['bbs_groups'], 3);
-        if ($default_bridge_data[$BRIDGE['short_name']]['use_standard_groups_used'] != '')
-        {
-            if ($BRIDGE['use_standard_groups'] != '') {
-                $prefill = $BRIDGE['use_standard_groups'];
-            } else {
-                $prefill = $default_bridge_data[$BRIDGE['short_name']]['use_standard_groups_default'];
-            }
-            if ($prefill == 1) {
-                $checked = 'checked="checked"';
-            } else {
-                $checked = '';
-            }
-            print '<tr>'.$new_line;
-            print '    <td class="tableb" colspan="2" align="left">'.$new_line;
-            print '        <input type="hidden" name="use_standard_groups" id="use_standard_groups" value="'.$prefill.'" />'.$new_line;
-            print '        <input type="checkbox" name="dummy_use_standard_groups" id="dummy_use_standard_groups" class="checkbox" value="1" '.$checked.' onclick="toggleGroupFields();" />'.$new_line;
-            print '        <label for="dummy_use_standard_groups" class="clickable_option">'.$lang_bridgemgr_php['use_standard_groups'].'</label>'.$new_line;
-            print '    </td>'.$new_line;
-            print '    <td class="tableb">'.$new_line;
-            print '        <span class="explanation">'.$lang_bridgemgr_php['use_standard_groups_explanation'].'</span>'.$new_line;
-            print '    </td>'.$new_line;
-            print '</tr>'.$new_line;
-        }
-        $loop_array = array('validating_group', 'guest_group', 'member_group', 'admin_group', 'banned_group', 'global_moderators_group');
-        $rows_displayed = 0;
-        foreach($loop_array as $key) { // foreach loop start
-            $prefill = cpg_bridge_prefill($BRIDGE['short_name'],$key);
-            $reset_to_default = '';
-            if ($default_bridge_data[$BRIDGE['short_name']][$key.'_used'] == '') {
-                $disabled = 'disabled="disabled" style="background-color:InactiveCaptionText;color:GrayText"';
-            } else {
-                $disabled = '';
-                $rows_displayed++;
-                if ($default_bridge_data[$BRIDGE['short_name']][$key.'_default'] != '') {
-                    $reset_to_default = '<img src="images/flags/reset.gif" width="16" height="11" border="0" alt="" title="'.$lang_bridgemgr_php['reset_to_default'].'" style="cursor:pointer" onclick="document.getElementById(\''.$key.'\').value=\''.$default_bridge_data[$BRIDGE['short_name']][$key.'_default'].'\'" />';
-                }
-            }
-            if ($default_bridge_data[$BRIDGE['short_name']][$key.'_used'] == 'password') {$fieldtype = 'password';} else {$fieldtype = 'text';}
-            if ($_POST['hide_unused_fields'] != 1 || $disabled == '')
-            {
-                print '<tr>'.$new_line;
-                print '    <td class="tableb">'.$new_line;
-                print '        '.$lang_bridgemgr_php[$key].':'.$new_line;
-                print '    </td>'.$new_line;
-                print '    <td class="tableb">'.$new_line;
-                print '        <input type="'.$fieldtype.'" name="'.$key.'" id="'.$key.'" class="textinput" value="'.$prefill.'" '.$disabled.' size="30"  style="width:80%" />'.$reset_to_default.$new_line;
-                print '    </td>'.$new_line;
-                print '    <td class="tableb">'.$new_line;
-                print '        <span class="explanation">'.$lang_bridgemgr_php[$key.'_explanation'].'</span>'.$new_line;
-                print '    </td>'.$new_line;
-                print '</tr>'.$new_line;
-                $keywords[] = $key;
-            }
-        } // foreach loop end
-        if ($rows_displayed == 0) {
-            print '<tr>'.$new_line;
-            print '    <td class="tableh2" colspan="3" align="center">'.$new_line;
-            print '        <h2>'.$lang_bridgemgr_php['no_action_needed'].'</h2>'.$new_line;
-            print '    </td>'.$new_line;
-            print '</tr>'.$new_line;
-        } else {
-            // dome dhtml magic to disable the input fields in case they get overridden with the option 'use_standard_groups' anyway
-    print '<script type="text/javascript">'.$new_line;
-    print '<!--'.$new_line;
-    print 'toggleGroupFields();'.$new_line;
-    print 'function toggleGroupFields() {'.$new_line;
-    print '    var use_standard_groups = document.getElementById("dummy_use_standard_groups").checked;'.$new_line;
-    print '    if (use_standard_groups == true) {'.$new_line;
-    print '        AllGroupFieldsDisable();'.$new_line;
-    print '        document.getElementById("use_standard_groups").value = 1;'.$new_line;
-    print '    }'.$new_line;
-    print '    if (use_standard_groups == false) {'.$new_line;
-    print '        AllGroupFieldsEnable();'.$new_line;
-    print '        document.getElementById("use_standard_groups").value = 0;'.$new_line;
-    print '    }'.$new_line;
-    print '}'.$new_line;
-    print 'function AllGroupFieldsDisable() {'.$new_line;
-    foreach($keywords as $key) {
-    print '    document.getElementById("'.$key.'").disabled = true;'.$new_line;
-    print '    document.getElementById("'.$key.'").style.backgroundColor = \'InactiveCaptionText\';'.$new_line;
-    print '    document.getElementById("'.$key.'").style.color = \'GrayText\';'.$new_line;
-    }
-    print '}'.$new_line;
-    print 'function AllGroupFieldsEnable() {'.$new_line;
-    foreach($keywords as $key) {
-    print '    document.getElementById("'.$key.'").disabled = false;'.$new_line;
-    print '    document.getElementById("'.$key.'").style.backgroundColor = \'Window\';'.$new_line;
-    print '    document.getElementById("'.$key.'").style.color = \'MenuText\';'.$new_line;
-    }
-    print '}'.$new_line;
-    print '-->'.$new_line;
-    print '</script>'.$new_line;
-        }
-        print cpg_submit_button($next_step[$step]);
-        endtable();
-        print "</form>\n";
-    } // end if error
-    break;
-
-case "special_settings":
-
-    $error = write_to_db($previous_step[$step]);
-    if (!$error) {
-        $BRIDGE = cpg_get_bridge_db_values();
-        print '<form name="'.$step.'" action="'.$_SERVER['PHP_SELF'].'" method="post">';
-        starttable('100%',$lang_bridgemgr_php['title'].': '.$lang_bridgemgr_php['special_settings'], 3);
-        $loop_array = array('logout_flag', 'use_post_based_groups','license_number');
-        $rows_displayed = 0;
-        foreach($loop_array as $key) { // foreach loop_array --- start
-            if ($BRIDGE[$key]) {
-                $prefill = $BRIDGE[$key];
-            } else {
-                $prefill = $default_bridge_data[$BRIDGE['short_name']][$key.'_default'];
-            }
-            //print 'key:'.$key.',prefill:'.$prefill.'<br>';
-            //print_r($default_bridge_data[$BRIDGE['short_name']]);
-            //if ($default_bridge_data['phpbb']['logout_flag_default'] == true){print '<h1>true</h1>';}else{print '<h1>not true</h1>';}
-            $reset_to_default = '';
-            if ($default_bridge_data[$BRIDGE['short_name']][$key.'_used'] == '') {
-                $disabled = 'disabled="disabled"';
-            } else {
-                $disabled = '';
-                $rows_displayed++;
-            }
-            // get the possible options for the value
-            //  e.g. 'option_name_used' => 'radio,1,0',
-            $option_yes = '';
-            $option_no = '';
-            $options = explode(',', $default_bridge_data[$BRIDGE['short_name']][$key.'_used']);
-            //print_r($options);
-            if ($options[0] == 'radio') {$option_yes = $options[1]; $option_no = $options[2];}
-            if ($BRIDGE[$key] == $options[1]) {
-                $checked_yes = 'checked="checked"';
-                $checked_no = '';
-            } elseif ($BRIDGE[$key] == $options[2]) {
-                $checked_yes = '';
-                $checked_no = 'checked="checked"';
-            }
-            //if ($BRIDGE[$key] == 1){print $key.'true<br>';}
-            //if ($BRIDGE[$key] == 0){print $key.'false<br>';}
-            //print $key.$BRIDGE[$key];
-            if ($default_bridge_data[$BRIDGE['short_name']][$key.'_used'] == 'password') {$fieldtype = 'password';} else {$fieldtype = 'text';}
-            if ($_POST['hide_unused_fields'] != 1 || $disabled == '') { // actually display the row? --- start
-                if ($options[0] == 'radio') { // radio button --- start
-                    print '<tr>'.$new_line;
-                    print '    <td class="tableb">'.$new_line;
-                    print '        '.$lang_bridgemgr_php[$key].':'.$new_line;
-                    print '    </td>'.$new_line;
-                    print '    <td class="tableb">'.$new_line;
-                    print '        <input type="Radio" name="'.$key.'" id="'.$key.'_yes" class="radio" value="'.$option_yes.'" '.$disabled.' '.$checked_yes.' />'.$new_line;
-                    print '        <label for="'.$key.'_yes" class="clickable_option">'.$new_line;
-                    print '            '.$lang_bridgemgr_php[$key.'_yes'].$new_line;
-                    print '        </label>&nbsp;'.$new_line;
-                    print '        <br />'.$new_line;
-                    print '        <input type="Radio" name="'.$key.'" id="'.$key.'_no" class="radio" value="'.$option_no.'" '.$disabled.' '.$checked_no.' /><label for="'.$key.'_no" class="clickable_option">'.$lang_bridgemgr_php[$key.'_no'].'</label>'.$new_line;
-                    print '    </td>'.$new_line;
-                    print '    <td class="tableb">'.$new_line;
-                    print '        <span class="explanation">'.$lang_bridgemgr_php[$key.'_explanation'].'</span>'.$new_line;
-                    print '    </td>'.$new_line;
-                    print '</tr>'.$new_line;
-                } // radio button --- end
-                if ($options[0] == 'mandatory') { // input field --- start
-                    print '<tr>'.$new_line;
-                    print '    <td class="tableb">'.$new_line;
-                    print '        '.$lang_bridgemgr_php[$key].':'.$new_line;
-                    print '    </td>'.$new_line;
-                    print '    <td class="tableb">'.$new_line;
-                    print '        <input type="'.$fieldtype.'" name="'.$key.'" id="'.$key.'" class="textinput" value="'.$prefill.'" '.$disabled.' size="30"  style="width:80%" />'.$reset_to_default.$new_line;
-                    print '    </td>'.$new_line;
-                    print '    <td class="tableb">'.$new_line;
-                    print '        <span class="explanation">'.$lang_bridgemgr_php[$key.'_explanation'].'</span>'.$new_line;
-                    print '    </td>'.$new_line;
-                    print '</tr>'.$new_line;
-                } // input field --- end
-                if ($options[0] == 'checkbox') { // checkbox --- start
-                    print '<tr>'.$new_line;
-                    print '    <td class="tableb" colspan="2">'.$new_line;
-                    print '        <input type="checkbox" name="'.$key.'" id="'.$key.'" class="checkbox" value="1" '.$checked.' />'.$new_line;
-                    print '        <label for="'.$key.'" class="clickable_option">'.$new_line;
-                    print '            '.$lang_bridgemgr_php[$key].$new_line;
-                    print '        </label>&nbsp;'.$new_line;
-                    print '    </td>'.$new_line;
-                    print '    <td class="tableb">'.$new_line;
-                    print '        <span class="explanation">'.$lang_bridgemgr_php[$key.'_explanation'].'</span>'.$new_line;
-                    print '    </td>'.$new_line;
-                    print '</tr>'.$new_line;
-                } // checkbox --- end
-            } // actually display the row? --- end
-        } // foreach loop_array --- end
-
-        if ($default_bridge_data[$BRIDGE['short_name']]['create_redir_file_content'] != '') { // create redirection file question --- start
-            // sub-step1: make up the content of the redir file
-            $default_bridge_data[$BRIDGE['short_name']]['create_redir_file_content'] = str_replace('{COPPERMINE_URL}', rtrim($CONFIG['ecards_more_pic_target'], '/').'/', $default_bridge_data[$BRIDGE['short_name']]['create_redir_file_content']);
-            // sub-step2: can we read the folder it's suppossed to go into?
-            // sub-step3: is the redir file already in place and if yes: does it match the content we have come up with?
-            // sub-step4: is the folder writable?
-            // if we can't write (for whatever reason), just output the contents for copy and paste
-            // what do we need: write the file, display it only or do both?
-            $redir_action = explode(',', $default_bridge_data[$BRIDGE['short_name']]['create_redir_file_action']);
-            if (in_array('write',$redir_action)) { // the file should be created --- start
-                // come up with the folder the bbs resides in
-                if ($BRIDGE['relative_path_of_forum_from_webroot'] != '' && $default_bridge_data[$BRIDGE['short_name']]['relative_path_of_forum_from_webroot_used'] != '') {
-                    // we have a db entry and the user appears to have it configured
-                    $redir_folder = $BRIDGE['relative_path_of_forum_from_webroot'];
-                } elseif ($BRIDGE['relative_path_to_config_file'] != '' && $default_bridge_data[$BRIDGE['short_name']]['relative_path_to_config_file_used'] != '') {
-                    // we have a relative path. We'll use it if we don't have a folder already
-                    $redir_folder = $BRIDGE['relative_path_to_config_file'];
-                } else {
-                    // something strange happened: there is no path set at all. We won't be able to write the file. Change the option to "display_only"
-                    $default_bridge_data[$BRIDGE['short_name']]['create_redir_file_action'] = @str_replace(',write', '', $default_bridge_data[$BRIDGE['short_name']]['create_redir_file_action']);
-                    $default_bridge_data[$BRIDGE['short_name']]['create_redir_file_action'] = @str_replace('write,', '', $default_bridge_data[$BRIDGE['short_name']]['create_redir_file_action']);
-                    $default_bridge_data[$BRIDGE['short_name']]['create_redir_file_action'] = @str_replace('write', '', $default_bridge_data[$BRIDGE['short_name']]['create_redir_file_action']);
-                    $redir_action = explode(',', $default_bridge_data[$BRIDGE['short_name']]['create_redir_file_action']);
-                }
-                // check if the redir file already exists
-                print $redir_folder;
-                $redir_folder_writable = cpg_is_writable($redir_folder);
-                if ($redir_folder_writable == '-1') {
-                    // the redir folder is not writable
-                    print 'Not writable';
-                }
-            } // the file should be created --- end
-            // display the option
-            // temporarily removed this section, as it's still under construction
-            print '<!--';
-            print '<tr>'.$new_line;
-            print '    <td class="tableb" colspan="2">'.$new_line;
-            print '        <input type="checkbox" name="create_redir_file" id="create_redir_file" class="checkbox" value="1" checked="checked" />'.$new_line;
-            print '        <label for="create_redir_file" class="clickable_option">'.$new_line;
-            print '        <span class="explanation">'.$new_line;
-            print '            '.$lang_bridgemgr_php['create_redir_file'].$new_line;
-            print '        </span>'.$new_line;
-            print '        </label>&nbsp;'.$new_line;
-            print '    </td>'.$new_line;
-            print '    <td class="tableb">'.$new_line;
-            print '        <span class="explanation">'.$new_line;
-            print '        '.$lang_bridgemgr_php['create_redir_file_explanation'].$new_line;
-            print '        </span>'.$new_line;
-            print '    </td>'.$new_line;
-            print '</tr>'.$new_line;
-            print '<tr>'.$new_line;
-            print '    <td class="tableb" colspan="3">'.$new_line;
-            print '        <textarea style="width:100%">';
-            print $default_bridge_data[$BRIDGE['short_name']]['create_redir_file_content'];
-            print '        </textarea>';
-            print '    </td>'.$new_line;
-            print '</tr>'.$new_line;
-            print '-->';
-            // temporarily removed this section, as it's still under construction --- end
-        } // create redirection file question --- end
-
-        if ($rows_displayed == 0) {
-            print '<tr>';
-            print '    <td class="tableh2" colspan="3" align="center">';
-            print '        <h2>'.$lang_bridgemgr_php['no_action_needed'].'</h2>';
-            print '    </td>';
-            print '</tr>';
-        }
-        print cpg_submit_button($next_step[$step]);
-        endtable();
-        print "</form>\n";
-    } // end if error
-    break;
-
-
-case "finalize":
-
-    $error = write_to_db($previous_step[$step]);
-    if (!$error) {
-        $BRIDGE = cpg_get_bridge_db_values();
-        $CONFIG = cpg_refresh_config_db_values();
-
-                // sync groups here now :)
-                if ($CONFIG['bridge_enable']){
-                                                include_once 'bridge/' . $BRIDGE['short_name'] . '.inc.php';
-                        $cpg_udb->synchronize_groups();
-                } else {
-                        // ok, then restore group table
-                        cpg_db_query("DELETE FROM {$CONFIG['TABLE_USERGROUPS']} WHERE 1");
-                        cpg_db_query("INSERT INTO {$CONFIG['TABLE_USERGROUPS']}
-                        VALUES (1, 'Administrators', 0, 1, 1, 1, 1, 1, 1, 0, 0, 3, 0, 5, 3)");
-                        cpg_db_query("INSERT INTO {$CONFIG['TABLE_USERGROUPS']}
-                        VALUES (2, 'Registered', 1024, 0, 1, 1, 1, 1, 1, 1, 0, 3, 0, 5, 3)");
-                        cpg_db_query("INSERT INTO {$CONFIG['TABLE_USERGROUPS']}
-                        VALUES (3, 'Anonymous', 0, 0, 1, 0, 0, 0, 0, 1, 1, 0, 0, 5, 3)");
-                        cpg_db_query("INSERT INTO {$CONFIG['TABLE_USERGROUPS']}
-                        VALUES (4, 'Banned', 0, 0, 0, 0, 0, 0, 0, 1, 1, 0, 0, 5, 3)");
-                }
-        print '<form name="'.$step.'" action="'.$_SERVER['PHP_SELF'].'" method="post">';
-        echo <<<EOT
-    <script type="text/javascript">
-    <!--
-    function changeSubmitButton() {
-        document.finalize.submit.value='{$lang_bridgemgr_php['finish']}';
-        document.finalize.step.value='finalize';
-        document.finalize.force_startpage.value='1';
-    }
-    -->
-    </script>
-EOT;
-        starttable(-1,$lang_bridgemgr_php['title'].': '.$lang_bridgemgr_php['finalize'],2);
-        if ($_POST['submit'] && $CONFIG['bridge_enable'] != 1) {
-            print '<tr>';
-            print '<td class="tableb" colspan="2">';
-            print '<span class="explanation">';
-            printf($lang_bridgemgr_php['finalize_explanation'],$CONFIG['ecards_more_pic_target'].'/bridgemgr.php');
-            print '</span>';
-            print '</td>';
-            print '</tr>';
-        }
-        if (is_array($BRIDGE)) { // there are entries in the db already --- start
-            print '<tr>';
-            print '<td class="tableh2" colspan="2">';
-            print $lang_bridgemgr_php['your_bridge_settings'];
-            print '</td>';
-            print '</tr>';
-            $mandatory_fields_missing = 0;
-            foreach($BRIDGE as $key => $value) {
-                if ($default_bridge_data[$BRIDGE['short_name']][$key.'_used'] != '') {
-                    print '<tr>';
-                    print '    <td class="tableb" width="50%">';
-                    print '        <span class="explanation">'.$lang_bridgemgr_php[$key].':</span>';
-                    print '    </td>';
-                    print '    <td class="tableb" width="50%">';
-                    if ($default_bridge_data[$BRIDGE['short_name']][$key.'_used'] == 'password') {
-                        $pw = '';
-                        for ($i=1; $i <= strlen($value);$i++) {
-                            $pw = $pw.'*';
-                        }
-                        $value = $pw;
-                    }
-                    print '        <span class="explanation">'.$value;
-                    // check if we really can allow enabling bridging: are all required fields in the db?
-                    if (strstr($default_bridge_data[$BRIDGE['short_name']][$key.'_used'], 'not_empty') != false && $value == '') {
-                        print ' (<span class="important">'.$lang_bridgemgr_php['error_must_not_be_empty'].'</span>)';
-                        $mandatory_fields_missing++;
-                    }
-                    $explode = explode(',', $default_bridge_data[$BRIDGE['short_name']][$key.'_used']);
-                    if ($explode[0] == radio && ($value != $explode[1] && $value != $explode[2])) {
-                        printf(' ('.$lang_bridgemgr_php['error_either_be'].')',$explode[1],$explode[2]);
-                        $mandatory_fields_missing++;
-                    }
-                    //print '<br>';
-                    print '</span>';
-                    print '    </td>';
-                    print '</tr>';
-                }
-            }
-        }  // there are entries in the db already --- end
-        if ($BRIDGE['short_name'] != '') {// display the enable/disable option only if there's at least a db entry about the file to bridge with --- start
-            print '<tr>';
-            print '<td class="tableh2" colspan="2">';
-            printf($lang_bridgemgr_php['title_enable'], '<b>'.$default_bridge_data[$BRIDGE['short_name']]['full_name'].'</b>');
-            print '</td>';
-            print '</tr>';
-            //print 'bridge enabled:'.$CONFIG['bridge_enable'];
-            if ($CONFIG['bridge_enable'] == 1) {
-                $checked_yes = 'checked="checked"';
-                $checked_no = '';
-                $disabled_yes = '';
-                $disabled_no = '';
-            } else {
-                $checked_yes = '';
-                $checked_no = 'checked="checked"';
-                if ($mandatory_fields_missing != 0) {
-                    $disabled_yes = 'disabled="disabled"';
-                    $disabled_no = '';
-                } else {
-                    $disabled_yes = '';
-                    $disabled_no = '';
-                }
-            }
-        } // display the enable/disable option only if there's at least a db entry about the file to bridge with --- end
-        if ($_POST['submit'] == '' || $_POST['wizard_finished'] != '' || $_POST['force_startpage'] == '1') {
-            if ($BRIDGE['short_name'] != '') {// display the enable/disable option only if there's at least a db entry about the file to bridge with --- start
-                print '<tr>';
-                print '    <td class="tableb" width="50%">';
-                print '        <input type="Radio" name="bridge_enable" id="bridge_enable_yes" class="radio" value="1" '.$disabled_yes.' '.$checked_yes.' onclick="changeSubmitButton();" /><label for="bridge_enable_yes" class="clickable_option">'.$lang_bridgemgr_php['bridge_enable_yes'].'</label>';
-                print '    </td>';
-                print '    <td class="tableb" width="50%">';
-                print '        <input type="Radio" name="bridge_enable" id="bridge_enable_no" class="radio" value="0" '.$disabled_no.' '.$checked_no.' onclick="changeSubmitButton();" /><label for="bridge_enable_no" class="clickable_option">'.$lang_bridgemgr_php['bridge_enable_no'].'</label>';
-                print '    </td>';
-                print '</tr>';
-            } // display the enable/disable option only if there's at least a db entry about the file to bridge with --- end
-            print '<tr>'.$new_line;
-            print '        <td colspan="2" class="tablef" align="center">'.$new_line;
-            print '            <table border="0" cellspacing="0" cellpadding="0" width="100%">'.$new_line;
-            print '                <tr>'.$new_line;
-            print '                    <td align="left">'.$new_line;
-            print '                        <!--<input type="Checkbox" name="hide_unused_fields" id="hide_unused_fields" value="1" class="checkbox"  />'.$new_line;
-            print '                        <label for="hide_unused_fields" class="clickable_option"><span class="explanation">hide unused form fields (recommended)</span></label>-->'.$new_line;
-            print '                   </td>'.$new_line;
-            print '                   <td align="center">'.$new_line;
-            print '                        <!--<input type="button" name="back" value="&laquo;back" class="button" onclick="javascript:history.back()" />-->'.$new_line;
-            print '                        <input type="submit" name="submit" value="'.$lang_bridgemgr_php['start_wizard'].'" class="button" />'.$new_line;
-            print '                        <input type="hidden" name="step" value="choose_bbs" />'.$new_line;
-            print '                        <input type="hidden" name="force_startpage" value="0" />'.$new_line;
-            print '                   </td>'.$new_line;
-            print '                 </tr>'.$new_line;
-            print '             </table>'.$new_line;
-            print '        </td>'.$new_line;
-            print '</tr>'.$new_line;
-        } else {
-            print '<tr>';
-            print '    <td class="tableb" width="50%">';
-            print '        <input type="Radio" name="bridge_enable" id="bridge_enable_yes" class="radio" value="1" '.$disabled_yes.' '.$checked_yes.' /><label for="bridge_enable_yes" class="clickable_option">'.$lang_bridgemgr_php['bridge_enable_yes'].'</label>';
-            print '    </td>';
-            print '    <td class="tableb" width="50%">';
-            print '        <input type="Radio" name="bridge_enable" id="bridge_enable_no" class="radio" value="0" '.$disabled_no.' '.$checked_no.' /><label for="bridge_enable_no" class="clickable_option">'.$lang_bridgemgr_php['bridge_enable_no'].'</label>';
-            print '    </td>';
-            print '</tr>';
-            print '<tr>'.$new_line;
-            print '        <td colspan="2" class="tablef" align="center">'.$new_line;
-            print '            <table border="0" cellspacing="0" cellpadding="0" width="100%">'.$new_line;
-            print '                <tr>'.$new_line;
-            print '                    <td align="left">'.$new_line;
-            //print '                        <input type="Checkbox" name="clear_unused_db_fields" id="clear_unused_db_fields" value="1" class="checkbox"  checked="checked" />'.$new_line;
-            //print '                        <label for="clear_unused_db_fields" class="clickable_option"><span class="explanation">'.$lang_bridgemgr_php['clear_unused_db_fields'].'</span></label>'.$new_line;
-            print '                   </td>'.$new_line;
-            print '                   <td align="center">'.$new_line;
-            print '                        <input type="button" name="back" value="&laquo;'.$lang_bridgemgr_php['back'].'" class="button" onclick="javascript:history.back()" />'.$new_line;
-            print '                        <input type="submit" name="submit" value="'.$lang_bridgemgr_php['finish'].'" class="button" />'.$new_line;
-            print '                        <input type="hidden" name="step" value="finalize" />'.$new_line;
-            print '                        <input type="hidden" name="wizard_finished" value="finished" />'.$new_line;
-            print '                   </td>'.$new_line;
-            print '                 </tr>'.$new_line;
-            print '             </table>'.$new_line;
-            print '        </td>'.$new_line;
-            print '</tr>'.$new_line;
-        }
-        endtable();
-        print '</form>';
-    } // end if error
-    break;
-}
-
-
-print "<br />\n";
-pagefooter();
-} // gallery admin mode --- end
-else { // not in gallery admin mode --- start
-    if ($CONFIG['bridge_enable'] != 1) { cpg_die(ERROR, $lang_errors['access_denied'], __FILE__, __LINE__); }
-
-    // initialize vars
-    $step = $_POST['step'];
-    $new_line = "\n";
-
-    pageheader($lang_bridgemgr_php['title']);
-    switch ($step) {
-    case "attempt_to_disable":
-    // check if the wait time is over; if it isn't, send them back
-    $results = cpg_db_query("SELECT value FROM {$CONFIG['TABLE_BRIDGE']} WHERE name = 'recovery_logon_timestamp'");
-    if (mysql_num_rows($results)) {
-        $row = mysql_fetch_array($results);
-    }
-    $recovery_logon_timestamp = $row['value'];
-    //print $recovery_logon_timestamp;
-    $results = cpg_db_query("SELECT value FROM {$CONFIG['TABLE_BRIDGE']} WHERE name = 'recovery_logon_failures'");
-    if (mysql_num_rows($results)) {
-        $row = mysql_fetch_array($results);
-    }
-    $recovery_logon_failures = $row['value'];
-    $logon_allowed = cpg_check_allowed_emergency_logon($recovery_logon_timestamp,$recovery_logon_failures);
-    if ($logon_allowed > 0) {
-        // the user is not allowed to logon yet, the wait time has not elapsed yet
-        msg_box($lang_bridgemgr_php['recovery_wait_title'], $lang_bridgemgr_php['recovery_wait_content'], $lang_bridgemgr_php['try_again'], $_SERVER['PHP_SELF'], "-1");
-    } else { // the logon wait time has passed, the user is allowed to try to logon now
-        // go through the list of standalone admins and check if we have a match
-        $temp_user_table = $CONFIG['TABLE_PREFIX'].'users';
-
-        // Check if encrypted passwords are enabled
-        if ($CONFIG['enable_encrypted_passwords']) {
-                $encpassword = md5(addslashes($_POST['password']));
-        } else {
-                $encpassword = addslashes($_POST['password']);
-        }
-
-        $results = cpg_db_query("SELECT user_id, user_name, user_password FROM $temp_user_table WHERE user_name = '" . addslashes($_POST['username']) . "' AND BINARY user_password = '" . $encpassword . "' AND user_active = 'YES' AND user_group = '1'");
-        if (mysql_num_rows($results)) {
-            $retrieved_data = mysql_fetch_array($results);
-        }
-        if ($retrieved_data['user_name'] == $_POST['username'] && $retrieved_data['user_password'] == $encpassword && $retrieved_data['user_name'] != '' ) {
-            // authentification successfull
-            cpg_db_query("UPDATE {$CONFIG['TABLE_CONFIG']} SET value = '0' WHERE name = 'bridge_enable'");
-            cpg_db_query("UPDATE {$CONFIG['TABLE_BRIDGE']} SET value = '0' WHERE name = 'recovery_logon_failures'");
-            cpg_db_query("UPDATE {$CONFIG['TABLE_BRIDGE']} SET value = NOW() WHERE name = 'recovery_logon_timestamp'");
-
-                        // ok, then restore group table
-                                cpg_db_query("DELETE FROM {$CONFIG['TABLE_USERGROUPS']} WHERE 1");
-                                cpg_db_query("INSERT INTO {$CONFIG['TABLE_USERGROUPS']}
-                                VALUES (1, 'Administrators', 0, 1, 1, 1, 1, 1, 1, 0, 0, 3, 0, 5, 3)");
-                                cpg_db_query("INSERT INTO {$CONFIG['TABLE_USERGROUPS']}
-                                VALUES (2, 'Registered', 1024, 0, 1, 1, 1, 1, 1, 1, 0, 3, 0, 5, 3)");
-                                cpg_db_query("INSERT INTO {$CONFIG['TABLE_USERGROUPS']}
-                                VALUES (3, 'Anonymous', 0, 0, 1, 0, 0, 0, 0, 1, 1, 0, 0, 5, 3)");
-                                cpg_db_query("INSERT INTO {$CONFIG['TABLE_USERGROUPS']}
-                                VALUES (4, 'Banned', 0, 0, 0, 0, 0, 0, 0, 1, 1, 0, 0, 5, 3)");
-
-            if (USER_ID) { //user already logged in
-                msg_box($lang_bridgemgr_php['recovery_success_title'], $lang_bridgemgr_php['recovery_success_content'], $lang_bridgemgr_php['goto_bridgemgr'], $_SERVER['PHP_SELF'], "-1");
-            } else { // user not logged in yet
-                msg_box($lang_bridgemgr_php['recovery_success_title'], $lang_bridgemgr_php['recovery_success_content'].'<br />'.$lang_bridgemgr_php['recovery_success_advice_login'], $lang_bridgemgr_php['goto_login'], "login.php?referer=".$_SERVER['PHP_SELF'], "-1");
-            }
-        } else {
-            // authentification failed
-            cpg_db_query("UPDATE {$CONFIG['TABLE_BRIDGE']} SET value = NOW() WHERE name = 'recovery_logon_timestamp'");
-            $results = cpg_db_query("SELECT value FROM {$CONFIG['TABLE_BRIDGE']} WHERE name = 'recovery_logon_failures'");
-            if (mysql_num_rows($results)) {
-                $row = mysql_fetch_array($results);
-            }
-            $number_of_failed_attempts = $row['value'] + 1;
-            cpg_db_query("UPDATE {$CONFIG['TABLE_BRIDGE']} SET value = '$number_of_failed_attempts' WHERE name = 'recovery_logon_failures'");
-            msg_box($lang_bridgemgr_php['recovery_failure_title'], $lang_bridgemgr_php['recovery_failure_content'], $lang_bridgemgr_php['try_again'], $_SERVER['PHP_SELF'], "-1");
-        }
-    }
-    break;
-    default:
-    // check if the wait time is over; if it isn't, disable the submit button
-    $results = cpg_db_query("SELECT value FROM {$CONFIG['TABLE_BRIDGE']} WHERE name = 'recovery_logon_timestamp'");
-    if (mysql_num_rows($results)) {
-        $row = mysql_fetch_array($results);
-    }
-    $recovery_logon_timestamp = $row['value'];
-    //print $recovery_logon_timestamp;
-    $results = cpg_db_query("SELECT value FROM {$CONFIG['TABLE_BRIDGE']} WHERE name = 'recovery_logon_failures'");
-    if (mysql_num_rows($results)) {
-        $row = mysql_fetch_array($results);
-    }
-    $recovery_logon_failures = $row['value'];
-    $logon_allowed = cpg_check_allowed_emergency_logon($recovery_logon_timestamp,$recovery_logon_failures);
-    if ($logon_allowed < 0) {$logon_allowed = 0;}
-    starttable(-1,$lang_bridgemgr_php['recovery_title'],2);
-        echo <<<EOT
-        <form name="disable_integration" action="{$_SERVER['PHP_SELF']}" method="post">
-        <tr>
-            <td class="tableb" colspan="2">
-                {$lang_bridgemgr_php['recovery_explanation']}
-            </td>
-        </tr>
-        <tr>
-              <td class="tableb" width="40%">{$lang_bridgemgr_php['username']}</td>
-              <td class="tableb" width="60%"><input type="text" class="textinput" name="username" style="width: 100%" /></td>
-        </tr>
-        <tr>
-            <td class="tableb">{$lang_bridgemgr_php['password']}</td>
-            <td class="tableb"><input type="password" class="textinput" name="password" style="width: 100%" /></td>
-        </tr>
-        <tr>
-            <td class="tablef" colspan="2" align="center">
-                <input type="submit" name="submit" id="submit" value="{$lang_bridgemgr_php['disable_submit']}" class="button" />
-                <input type="hidden" name="step" value="attempt_to_disable" />
-            </td>
-        </tr>
-        <script language="javascript" type="text/javascript">
-        <!--
-        document.disable_integration.username.focus();
-        document.disable_integration.submit.disabled = true;
-
-EOT;
-print '        var countDownTime = '.$logon_allowed;
-echo <<<EOT
-
-        counter=setTimeout("countDown()", 1000);
-        var aktiv = window.setInterval("countDown()",1000);
-        var message = '{$lang_bridgemgr_php['wait']}';
-        function countDown(){
-                countDownTime--;
-                if (countDownTime <=0) {
-                    message = '{$lang_bridgemgr_php['disable_submit']}';
-                    document.getElementById('submit').disabled = false;
-                    countDownTime='';
-                    clearTimeout(counter);
-                    //return;
-                }
-                document.getElementById('submit').value = message +' '+countDownTime;
-        }
-        window.onload=countDown();
-        -->
-        </script>
-EOT;
-        endtable();
-        print '</form>';
-    break;
-    }
-    pagefooter();
-} // not in gallery admin mode --- end
-
-
-
-//////////////////////// main code end /////////////////////////////////
-
+<?php
+/*************************
+  Coppermine Photo Gallery
+  ************************
+  Copyright (c) 2003-2009 Coppermine Dev Team
+  v1.1 originally written by Gregory DEMAR
+
+  This program is free software; you can redistribute it and/or modify
+  it under the terms of the GNU General Public License version 3
+  as published by the Free Software Foundation.
+
+  ********************************************
+  Coppermine version: 1.4.25
+  $HeadURL: https://coppermine.svn.sourceforge.net/svnroot/coppermine/trunk/cpg1.4.x/bridgemgr.php $
+  $Revision: 5997 $
+  $Author: gaugau $
+  $Date: 2009-05-26 08:43:24 +0200 (Di, 26 Mai 2009) $
+**********************************************/
+
+
+define('IN_COPPERMINE', true);
+define('BRIDGEMGR_PHP', true);
+
+require('include/init.inc.php');
+
+///////////// function defintions start /////////////////////////////
+
+function write_to_db($step) {
+    global $BRIDGE,$CONFIG,$default_bridge_data,$lang_bridgemgr_php, $previous_step, $next_step;
+    $error = 0;
+    // do the check for plausibility of posted data
+    foreach($_POST as $key => $value) { // loop through the posted data -- start
+        // filter the post data that doesn't get written
+        if (array_key_exists($key, $BRIDGE)) { // post data exists as db key -- start
+            // do the lookups
+            $options = explode(',', $default_bridge_data[$BRIDGE['short_name']][$key.'_used']);
+            foreach($options as $key2) {
+                $options[$key2] = trim($options[$key2], ','); // get rid of the delimiters
+            }
+            if ($options[0] != '') { // only continue with this loop if there really is an option to check --- start
+                if ($options[0] == 'lookfor') { // check for the existance of a local file/folder --- start
+                    if (file_exists($value.$options[1]) == false) {
+                        $return[$key] = sprintf($lang_bridgemgr_php['error_folder_not_exist'], '<tt>'.$value.$options[1].'</tt>','<i>'.$lang_bridgemgr_php[$key].'</i>');
+                    }
+                } // check for the existance of a file/folder --- end
+                if ($options[0] == 'cookie') { // check for the existance of a cookie --- start
+                    foreach ($_COOKIE as $key2 => $value2) { // loop through the cookie global var --- start
+                        //print '<br>cookie:'.$key2.', content:'.$value2."<br />\n";
+                        if (@strstr($key2,$value) == false && $options[1] == 'not_empty') {
+                            $return[$key] = sprintf($lang_bridgemgr_php['error_cookie_not_readible'], '&quot;<tt>'.$value.'</tt>*&quot;','<i>'.$lang_bridgemgr_php[$key].'</i>');
+                        }
+                    }  // loop through the cookie global var --- end
+                                        if (isset($temp_err)) $return[$key] = $temp_err;
+                } // check for the existance of a cookie --- end
+                if ($options[1] == 'not_empty') { // check for empty mandatory fields --- start
+                    if ($value == '') {
+                        $return[$key] = sprintf($lang_bridgemgr_php['error_mandatory_field_empty'], '<i>'.$lang_bridgemgr_php[$key].'</i>');
+                    }
+                } // check for empty mandatory fields --- end
+                if ($options[0] == 'no_trailing_slash' || $options[1] == 'no_trailing_slash' || $options[2] == 'no_trailing_slash') { // check for unneeded trailing slashes --- start
+                    if ($value != rtrim($value, '/')) {
+                        $return[$key] = sprintf($lang_bridgemgr_php['error_no_trailing_slash'], '<i>'.$lang_bridgemgr_php[$key].'</i>');
+                    }
+                } // check for unneeded traling slashes --- end
+                if ($options[0] == 'trailing_slash' || $options[1] == 'trailing_slash' || $options[2] == 'trailing_slash') { // check for needed trailing slashes --- start
+                    if ($value == rtrim($value, '/')) {
+                        $return[$key] = sprintf($lang_bridgemgr_php['error_trailing_slash'], '<i>'.$lang_bridgemgr_php[$key].'</i>');
+                    }
+                } // check for needed traling slashes --- end
+                //print "<hr />\n";
+                //print $options[0].':'.$options[1].','.$options[2];
+                //print "<hr />\n";
+            } // only continue with this loop if there really is an option to check --- end
+        } // post data exists as db key -- end
+    } // loop through the posted data -- end
+
+
+    // loop through the expected data
+    //void
+
+
+    // do some checking according to the step we're currently in
+    switch ($step) {
+    case "choose_bbs":
+    if ($_POST['short_name'] == '') {
+        $return['short_name'] = $lang_bridgemgr_php['error_specify_bbs'];
+        $error++;
+    }
+    if ($_POST['short_name'] == 'custom_selector') {
+        $_POST['short_name'] = $_POST['custom_filename'];
+        if ($_POST['short_name'] == '') {
+            $return['short_name'] = $lang_bridgemgr_php['error_no_blank_name'];
+        }
+        if (ereg('[^A-Za-z0-9_-]',$_POST['short_name'])) {
+            $return['short_name'] = $lang_bridgemgr_php['error_no_special_chars'];
+        }
+    }
+    // check if the bridge file actually exists
+    if (file_exists('bridge/'.$_POST['short_name'].'.inc.php') == false) {
+        $return['bridge_file_not_exist'] = sprintf($lang_bridgemgr_php['error_bridge_file_not_exist'],'<i>bridge/'.$_POST['short_name'].'.inc.php</i>');
+    }
+       break;
+
+    case "settings_path":
+    //if ($_POST['short_name'] == '') {
+    //    $return['short_name'] = $lang_bridgemgr_php['error_specify_bbs'];
+    //}
+
+       break;
+
+    case "db_group":
+    //if ($_POST['use_standard_groups'] == '') {
+    //    $_POST['use_standard_groups'] = 0 ;
+    //}
+       break;
+
+    case "db_connect":
+        if ($default_bridge_data[$BRIDGE['short_name']]['db_hostname_used'] != '') { // check the db connection --- start
+            @mysql_close(); //temporarily disconnect from the coppermine database
+            ob_start();
+            $link = mysql_connect($_POST['db_hostname'], $_POST['db_username'], $_POST['db_password']);
+            $mysql_error_output = ob_get_contents();
+            ob_end_clean();
+            if (!$link) {
+                $return[$step] = $lang_bridgemgr_php['error_db_connect'].'<tt>'.$mysql_error_output.'</tt>';
+            } elseif ($default_bridge_data[$BRIDGE['short_name']]['db_database_name_used'] != '') { // check the database
+                ob_start();
+                $db_selected = mysql_select_db($_POST['db_database_name'], $link);
+                print mysql_error();
+                $mysql_error_output = ob_get_contents();
+                ob_end_clean();
+                if (!$db_selected) {
+                   $return['db_database_name'] = sprintf($lang_bridgemgr_php['error_db_name'], '<i>'.$_POST['db_database_name'].'</i>', '<i>'.$lang_bridgemgr_php['db_database_name'].'</i>'). ' <tt>'.$mysql_error_output.'</tt>';
+                }
+            }
+            @mysql_close($link);
+            cpg_db_connect(); // connect back to coppermine db
+        } // check the db connection --- end
+       break;
+
+    case "db_tables":
+        if ($default_bridge_data[$BRIDGE['short_name']]['table_prefix_used'] != '') {
+            $prefix_and_table = sprintf($lang_bridgemgr_php['error_prefix_and_table'], '<i>'.$lang_bridgemgr_php['table_prefix'].'</i>');
+        }
+        @mysql_close(); //temporarily disconnect from the coppermine database
+        $link = @mysql_connect($BRIDGE['db_hostname'], $BRIDGE['db_username'], $BRIDGE['db_password']);
+        $db_selected = @mysql_select_db($BRIDGE['db_database_name'], $link);
+        $loop_table_names = array ('user_table', 'session_table', 'group_table', 'group_table', 'group_relation_table', 'group_mapping_table');
+        foreach ($loop_table_names as $key) { // loop through the possible tables --- start
+            if ($default_bridge_data[$BRIDGE['short_name']][$key.'_used'] != '') { // check if table exists --- start
+                $temp_tablename = $_POST['table_prefix'].$_POST[$key];
+                $result = mysql_query('SELECT * FROM '.$temp_tablename);
+                if (!$result) {
+                    $return['db_'.$key] = sprintf($lang_bridgemgr_php['error_db_table'], '<i>'.$temp_tablename.'</i>', $prefix_and_table.'<i>'.$lang_bridgemgr_php[$key].'</i>'). ' <tt>'.$mysql_error_output.'</tt>';
+                }
+                @mysql_free_result($result);
+            } // check if table exists --- end
+        } // loop through the possible tables --- end
+        @mysql_close($link);
+        cpg_db_connect(); // connect back to coppermine db
+       break;
+
+
+    } // end switch
+
+    // write the post data to the database
+    //print_r($_POST);
+    foreach($_POST as $key => $value) {
+        // filter the post data that doesn't get written
+        if (array_key_exists($key, $BRIDGE)) {
+            if ($CONFIG['debug_mode'] != 0) { // print what actually get's written when in debug_mode
+                print '<span class="explanation">Writing to database: ';
+                print $key . '|' . $value;
+                print '<br /></span>';
+            }
+            if ($return[$key] != '') {
+                //print '|Error in this key';
+            } else {
+                cpg_db_query("UPDATE {$CONFIG['TABLE_BRIDGE']} SET value = '$value' WHERE name = '$key'");
+            }
+            //print '<br />';
+        }
+    }
+    $value = $_POST['bridge_enable'];
+    if ($value != '0' && $value != '1') {
+        $value = $CONFIG['bridge_enable'];
+    }
+    cpg_db_query("UPDATE {$CONFIG['TABLE_CONFIG']} SET value = '$value' WHERE name = 'bridge_enable'");
+    if ($_POST['clear_unused_db_fields'] == 1) {
+        // clear all database entries that aren't actually used with the current bridge file
+        // not implemented yet (not sure if necessary after all)
+    }
+
+    // ouput error messages, if any
+    if (is_array($return)) {
+        starttable('100%',$lang_bridgemgr_php['error_title']);
+        print '<tr><td class="tableb" align="left"><ul>';
+        foreach($return as $key) {
+            print '<li>'.$key.'</li>';
+        }
+        print '</ul></td></tr>';
+        print '<tr>'.$new_line;
+        print '    <td class="tablef" align="center">'.$new_line;
+        print '        <a href="javascript:history.back()" class="admin_menu" title="'.$lang_bridgemgr_php['back'].'" />&laquo;'.$lang_bridgemgr_php['back'].'</a>'.$new_line;
+        print '    </td>'.$new_line;
+        print '</tr>'.$new_line;
+        endtable();
+        $error = 1;
+    }
+    print '<br />';
+    if ($error != '') {return 'error';}
+}
+
+function cpg_check_allowed_emergency_logon($timestamp,$failures = '') {
+    //define the wait time (in seconds)
+    $wait_time = array('0','5','10','20','30','60','120', '300', '1500', '6000');
+    // make a real timestamp out of the date
+    $timestamp = strtotime($timestamp);
+    // if failed more than x times, the wait time will keep the same
+    if ($failures > count($wait_time)) {$failures = count($wait_time);}
+    //print 'Last logon:'.$timestamp.'|'.date('Y-m-d H:i:s', $timestamp);
+    //print '<br>';
+    $current_timestamp = time();
+    //print 'Current time:'.$current_timestamp.'|'.date('Y-m-d H:i:s',$current_timestamp);
+    //print '<br>';
+    $allowed_timestamp = $timestamp+($wait_time[$failures]);
+    //print 'Allowed logon:'.$allowed_timestamp.'|'.date('Y-m-d H:i:s', $allowed_timestamp).'|'.$wait_time[$failures];
+    //print '<hr>';
+    $difference = $allowed_timestamp - $current_timestamp;
+    //print 'Difference in seconds:'.$difference;
+    return $difference;
+}
+
+function cpg_bridge_prefill( $bridge = '', $key = '') {
+global $BRIDGE,$default_bridge_data;
+if ($BRIDGE[$key]) {
+    return $BRIDGE[$key];
+    } else {
+    return $default_bridge_data[$bridge][$key.'_default'];
+    }
+}
+
+function cpg_submit_button($step, $back = 'true', $columns = '3', $next = 'true')
+{
+global $lang_bridgemgr_php,$new_line;
+$checked = '';
+
+if ($_POST['hide_unused_fields'] != '' || $back != 'true') {
+    $checked = 'checked="checked"';
+}
+$return = '    <tr>'.$new_line;
+$return .= '        <td colspan="'.$columns.'" class="tablef" align="center">'.$new_line;
+$return .= '            <table border="0" cellspacing="0" cellpadding="0" width="100%"><tr>'.$new_line;
+$return .= '            <td align="left">'.$new_line;
+$return .= '            <input type="Checkbox" name="hide_unused_fields" id="hide_unused_fields" value="1" class="checkbox" '.$checked.' onclick="toggleUnusedFields(this);" />'.$new_line;
+$return .= '            <label for="hide_unused_fields" class="clickable_option">'.$new_line;
+$return .= '            <span class="explanation">'.$new_line;
+$return .= '                '.$lang_bridgemgr_php['hide_unused_fields'].$new_line;
+$return .= '            </span>'.$new_line;
+$return .= '            </label>'.$new_line;
+$return .= '            <script type="text/javascript">';
+$return .= '            <!--'.$new_line;
+$return .= '            //function toggleUnusedFields(el_name) {'.$new_line;
+$return .= '            //var elems = el_name.getElementsById("hide_row");'.$new_line;
+$return .= '            '.$new_line;
+$return .= '            '.$new_line;
+$return .= '            }'.$new_line;
+$return .= '            -->'.$new_line;
+$return .= '            </script>'.$new_line;
+$return .= '        </td>'.$new_line;
+$return .= '        <td align="center">'.$new_line;
+if ($back == 'true') {
+    $return .= '            <input type="button" name="back" value="&laquo;'.$lang_bridgemgr_php['back'].'" class="button" onclick="javascript:history.back()" />'.$new_line;
+}
+if ($next != 'false') {
+    $return .= '            <input type="submit" name="submit" value="'.$lang_bridgemgr_php['next'].'&raquo;" class="button" />'.$new_line;
+}
+$return .= '            <input type="hidden" name="step" value="'.$step.'" />'.$new_line;
+$return .= '            </td>';
+$return .= '                </tr></table>';
+$return .= '        </td>'.$new_line;
+$return .= '    </tr>'.$new_line;
+return $return;
+}
+
+function remote_file_exists ($url)
+{
+// currently not used - will have to be looked into: we need a reliable way to check if an url exists, even if we can not use fopen, because it is disabled in php.ini
+/*
+   Return error codes:
+   1 = Invalid URL host
+   2 = Unable to connect to remote host
+*/
+   $head = "";
+   $url_p = parse_url ($url);
+
+   if (isset ($url_p["host"]))
+   { $host = $url_p["host"]; }
+   else
+   { return 1; }
+
+   if (isset ($url_p["path"]))
+   { $path = $url_p["path"]; }
+   else
+   { $path = ""; }
+
+   $fp = fsockopen ($host, 80, $errno, $errstr, 20);
+   if (!$fp)
+   { return 2; }
+   else
+   {
+       $parse = parse_url($url);
+       $host = $parse['host'];
+
+       fputs($fp, "HEAD ".$url." HTTP/1.1\r\n");
+       fputs($fp, "HOST: ".$host."\r\n");
+       fputs($fp, "Connection: close\r\n\r\n");
+       $headers = "";
+       while (!feof ($fp))
+       { $headers .= fgets ($fp, 128); }
+   }
+   fclose ($fp);
+   $arr_headers = explode("\n", $headers);
+   $return = false;
+   if (isset ($arr_headers[0]))
+   { $return = strpos ($arr_headers[0], "404") === false; }
+   return $return;
+}
+
+function cpg_refresh_config_db_values() {
+global $CONFIG;
+// Retrieve DB stored configuration
+$results = cpg_db_query("SELECT * FROM {$CONFIG['TABLE_CONFIG']}");
+while ($row = mysql_fetch_array($results)) {
+    $CONFIG[$row['name']] = $row['value'];
+} // while
+mysql_free_result($results);
+return $CONFIG;
+}
+
+function cpg_is_writable($folder)
+{
+$return = 0;
+$file_content = "this is just a test file that hasn't been deleted properly.\nIt's safe to delete it now";
+@unlink($folder.'/cpgvc_tf.txt');
+if ($fd = @fopen($folder.'/cpgvc_tf.txt', 'w')) {
+    @fwrite($fd, $file_content);
+    @fclose($fd);
+    @unlink($folder.'/cpgvc_tf.txt');
+    $return = 1;
+} else {
+    $return = -1;
+}
+return $return;
+}
+
+///////////// function defintions end /////////////////////////////
+
+
+if (GALLERY_ADMIN_MODE) { // gallery admin mode --- start
+
+// define the var array
+
+// status: bridge ok, manager was ok a while ago ..
+$default_bridge_data['invisionboard20'] = array(
+  'full_name' => 'Invision Power Board 2.x',
+  'short_name' => 'invisionboard20',
+  'support_url' => 'http://forums.invisionpower.com/',
+  'full_forum_url_default' => 'http://www.yoursite.com/board',
+  'full_forum_url_used' => 'mandatory,not_empty,no_trailing_slash',
+  'relative_path_to_config_file_default' => '../board/',
+  'relative_path_to_config_file_used' => 'lookfor,conf_global.php',
+  'use_post_based_groups_default' => '0',
+  'use_post_based_groups_used' => 'radio,1,0',
+);
+
+// status: bridge ok, manager ok
+$default_bridge_data['mambo'] = array(
+  'full_name' => 'Mambo server',
+  'short_name' => 'mambo',
+  'support_url' => 'http://www.mamboserver.com/',
+  'full_forum_url_default' => 'http://www.yoursite.com/board',
+  'full_forum_url_used' => 'mandatory,not_empty,no_trailing_slash',
+  'relative_path_to_config_file_default' => '../board/',
+  'relative_path_to_config_file_used' => 'lookfor,configuration.php',
+  'use_post_based_groups_default' => '0',
+  'use_post_based_groups_used' => 'radio,1,0',
+);
+
+// status: bridge ok, manager ok
+$default_bridge_data['phpbb'] = array(
+  'full_name' => 'phpBB versions prior to 2.0.18',
+  'short_name' => 'phpbb20',
+  'support_url' => 'http://www.phpbb.com/',
+  'full_forum_url_default' => 'http://www.yoursite.com/board',
+  'full_forum_url_used' => 'mandatory,not_empty,no_trailing_slash',
+  'relative_path_to_config_file_default' => '../board/',
+  'relative_path_to_config_file_used' => 'lookfor,config.php',
+  'use_post_based_groups_default' => '0',
+  'use_post_based_groups_used' => 'radio,1,0',
+   'cookie_prefix_default' => 'phpbb2mysql',
+   'cookie_prefix_used' => 'cookie',
+);
+
+$default_bridge_data['phpbb2018'] = array(
+  'full_name' => 'phpBB version 2.0.18 or better',
+  'short_name' => 'phpbb2018',
+  'support_url' => 'http://www.phpbb.com/',
+  'full_forum_url_default' => 'http://www.yoursite.com/board',
+  'full_forum_url_used' => 'mandatory,not_empty,no_trailing_slash',
+  'relative_path_to_config_file_default' => '../board/',
+  'relative_path_to_config_file_used' => 'lookfor,config.php',
+  'use_post_based_groups_default' => '0',
+  'use_post_based_groups_used' => 'radio,1,0',
+   'cookie_prefix_default' => 'phpbb2mysql',
+   'cookie_prefix_used' => 'cookie',
+);
+
+// status: bridge ok, manager unknown
+$default_bridge_data['phpbb22'] = array(
+  'full_name' => 'phpBB 2.2',
+  'short_name' => 'phpbb22',
+  'support_url' => 'http://www.phpbb.com/',
+  'full_forum_url_default' => 'http://www.yoursite.com/board',
+  'full_forum_url_used' => 'mandatory,not_empty,no_trailing_slash',
+  'relative_path_to_config_file_default' => '../board/',
+  'relative_path_to_config_file_used' => 'lookfor,config.php',
+  'use_post_based_groups_default' => '0',
+  'use_post_based_groups_used' => 'radio,1,0',
+);
+
+// status: bridge unknown, manager unknown
+$default_bridge_data['punbb115'] = array(
+  'full_name' => 'PunBB v1.1.5',
+  'short_name' => 'punbb115',
+  'support_url' => 'http://www.punbb.org/',
+  'full_forum_url_default' => 'http://www.yoursite.com/board',
+  'full_forum_url_used' => 'mandatory,not_empty,no_trailing_slash',
+  'relative_path_to_config_file_default' => '../board/',
+  'relative_path_to_config_file_used' => 'lookfor,config.php',
+  'use_post_based_groups_default' => '0',
+);
+
+// status: bridge ok, manager ok
+$default_bridge_data['punbb12'] = array(
+  'full_name' => 'PunBB v1.2',
+  'short_name' => 'punbb12',
+  'support_url' => 'http://www.punbb.org/',
+  'full_forum_url_default' => 'http://www.yoursite.com/board',
+  'full_forum_url_used' => 'mandatory,not_empty,no_trailing_slash',
+  'relative_path_to_config_file_default' => '../board/',
+  'relative_path_to_config_file_used' => 'lookfor,config.php',
+  'use_post_based_groups_default' => '0',
+  'use_post_based_groups_used' => 'radio,1,0',
+);
+
+// status: bridge ok, manager ok
+$default_bridge_data['smf10'] = array(
+  'full_name' => 'Simple Machines (SMF) 1.x',
+  'short_name' => 'smf10',
+  'support_url' => 'http://www.simplemachines.org/',
+  'full_forum_url_default' => 'http://www.yoursite.com/board',
+  'full_forum_url_used' => 'mandatory,not_empty,no_trailing_slash',
+  'relative_path_to_config_file_default' => '../board/',
+  'relative_path_to_config_file_used' => 'lookfor,Settings.php',
+  'use_post_based_groups_default' => '0',
+  'use_post_based_groups_used' => 'radio,1,0',
+);
+
+// status: bridge ok, manager ok
+$default_bridge_data['smf20'] = array(
+  'full_name' => 'Simple Machines (SMF) 2.x',
+  'short_name' => 'smf20',
+  'support_url' => 'http://www.simplemachines.org/',
+  'full_forum_url_default' => 'http://www.yoursite.com/board',
+  'full_forum_url_used' => 'mandatory,not_empty,no_trailing_slash',
+  'relative_path_to_config_file_default' => '../board/',
+  'relative_path_to_config_file_used' => 'lookfor,Settings.php',
+  'use_post_based_groups_default' => '0',
+  'use_post_based_groups_used' => 'radio,1,0',
+);
+
+// status: bridge unknown, manager unknown
+$default_bridge_data['vbulletin30'] = array(
+  'full_name' => 'vBulletin 3.0',
+  'short_name' => 'vbulletin30',
+  'support_url' => 'http://www.vbulletin.com/',
+  'full_forum_url_default' => 'http://www.yoursite.com/board',
+  'full_forum_url_used' => 'mandatory,not_empty,no_trailing_slash',
+  'relative_path_to_config_file_default' => '../board/',
+  'relative_path_to_config_file_used' => 'lookfor,includes/config.php',
+  'use_post_based_groups_default' => '0',
+  'use_post_based_groups_used' => 'radio,1,0',
+);
+
+$default_bridge_data['mybb'] = array(
+  'full_name' => 'MyBB 1.02',
+  'short_name' => 'mybb',
+  'support_url' => 'http://www.mybboard.com/',
+  'full_forum_url_default' => 'http://www.yoursite.com/board',
+  'full_forum_url_used' => 'mandatory,not_empty,no_trailing_slash',
+  'relative_path_to_config_file_default' => '../board/inc',
+  'relative_path_to_config_file_used' => 'lookfor,config.php',
+  'use_post_based_groups_default' => '0',
+  'use_post_based_groups_used' => 'radio,1,0',
+);
+
+$default_bridge_data['xmb'] = array(
+  'full_name' => 'XMB 1.9.10 or better',
+  'short_name' => 'xmb',
+  'support_url' => 'http://www.xmbforum.com/',
+  'full_forum_url_default' => '',
+  'full_forum_url_used' => '',
+  'relative_path_to_config_file_default' => '../XMB/',
+  'relative_path_to_config_file_used' => 'lookfor,config.php',
+  'use_post_based_groups_default' => '1',
+  'use_post_based_groups_used' => 'radio,1,0',
+);
+
+$default_bridge_data['xoops'] = array(
+  'full_name' => 'Xoops 2.0',
+  'short_name' => 'xoops',
+  'support_url' => 'http://www.xoops.org/',
+  'full_forum_url_default' => 'http://www.yoursite.com/board',
+  'full_forum_url_used' => 'mandatory,not_empty,no_trailing_slash',
+  'relative_path_to_config_file_default' => '../board/',
+  'relative_path_to_config_file_used' => 'lookfor,mainfile.php',
+  'use_post_based_groups_default' => '0',
+  'use_post_based_groups_used' => 'radio,1,0',
+);
+
+$default_bridge_data['phorum'] = array(
+  'full_name' => 'Phorum 5',
+  'short_name' => 'phorum',
+  'support_url' => 'http://www.phorum.org/',
+  'full_forum_url_default' => '',
+  'full_forum_url_used' => '',
+  'relative_path_to_config_file_default' => '../phorum/',
+  'relative_path_to_config_file_used' => 'lookfor,common.php',
+  'use_post_based_groups_default' => '0',
+  'use_post_based_groups_used' => 'radio,1,0',
+);
+
+//////////////// main code start //////////////////////
+
+// initialize vars
+$step = $_POST['step'];
+if (!$step) {
+    $step = 'finalize';
+}
+$new_line = "\n";
+/*
+$next_step = array( // this defines the order of steps
+  'choose_bbs' => 'settings_path',
+  'settings_path' => 'db_connect',
+  'db_connect' => 'db_tables',
+  'db_tables' => 'db_groups',
+  'db_groups' => 'special_settings',
+  'special_settings' => 'finalize',
+  'finalize' => 'finalize',
+);
+*/
+
+$next_step = array( // this defines the order of steps
+  'choose_bbs' => 'settings_path',
+  'settings_path' => 'special_settings',
+  'special_settings' => 'finalize',
+  'finalize' => 'finalize',
+);
+
+$previous_step = array_flip($next_step);
+
+
+pageheader($lang_bridgemgr_php['title']);
+echo <<<EOT
+<style type="text/css">
+.explanation {font-size: 80%;}
+.important {color:red;}
+</style>
+EOT;
+
+//print 'Current step:'.$step.', previous step:'.$previous_step[$step].', next step:'.$next_step[$step];  // debug ouput
+
+// get the bridge db vars first
+$BRIDGE = cpg_get_bridge_db_values();
+//print_r($BRIDGE);
+//print '<hr>';
+
+switch ($step) {
+case "choose_bbs":
+$BRIDGE = cpg_get_bridge_db_values();
+print '<form name="'.$step.'" action="'.$_SERVER['PHP_SELF'].'" method="post">';
+//print '<input type="hidden" name="hide_unused_fields" value="1" />';
+starttable('100%', $lang_bridgemgr_php['title'].': '.$lang_bridgemgr_php['choose_bbs_app'],2);
+$checked[$BRIDGE['short_name']] = 'checked="checked"';
+foreach($default_bridge_data as $key => $value) {
+    print '<tr>'.$new_line;
+    print '    <td class="tableb">'.$new_line;
+    print '        <input type="Radio" name="short_name" id="'.$key.'" class="radio" value="'.$key.'" '.$checked[$key].' />'.$new_line;
+    print '        <label for="'.$key.'" class="clickable_option">'.$new_line;
+    print '            '.$value['full_name'].$new_line;
+    print '        </label>'.$new_line;
+    print '    </td>'.$new_line;
+    print '    <td class="tableb">'.$new_line;
+    print '        <span class="explanation">'.$new_line;
+    print '            <a href="'.$value['support_url'].'" title="'.$lang_bridgemgr_php['support_url'].'" rel="external">'.$value['support_url'].'</a>'.$new_line;
+    print '        </span>'.$new_line;
+    print '    </td>'.$new_line;
+    print '</tr>'.$new_line;
+} // end foreach
+
+// loop through the pre-made bridges. If there's one in the db that doesn't exist in the bridges, that's our custom theme; prefill the form fields with it.
+$prefill = '';
+$checked = '';
+$custom_bridge_counter_exist = 0;
+foreach($default_bridge_data as $key => $value) {
+    if ($BRIDGE['short_name'] == $key) {
+        $custom_bridge_counter_exist++;
+    }
+}
+if ($custom_bridge_counter_exist == 0) { // we have a custom bridge --- start
+    $prefill = $BRIDGE['short_name'];
+    $checked = 'checked="checked"';
+} // we have a custom bridge --- end
+
+// form field for the custom bridge
+    print '<tr>'.$new_line;
+    print '    <td class="tableb">'.$new_line;
+    print '        <input type="Radio" name="short_name" id="custom_selector" class="radio" value="custom_selector" '.$checked.' onclick="document.'.$step.'.custom_filename.focus();" />'.$new_line;
+    //print '        <label for="custom_selector" class="clickable_option">'.$new_line;
+    print '            <input type="text" name="custom_filename" value="'.$prefill.'" size="30" class="textinput" onclick="document.getElementById(\'custom_selector\').checked=true;" />'.$new_line;
+    //print '        </label>'.$new_line;
+    print '    </td>'.$new_line;
+    print '    <td class="tableb">'.$new_line;
+    print '        <span class="explanation">'.$new_line;
+    print '            '.$lang_bridgemgr_php['custom_bridge_file'].$new_line;
+    print '        </span>'.$new_line;
+    print '    </td>'.$new_line;
+    print '</tr>'.$new_line;
+
+print cpg_submit_button($next_step[$step], 'false', '2');
+endtable();
+print "</form>\n";
+   break;
+
+case "settings_path":
+    $error = write_to_db($previous_step[$step]);
+    if (!$error) {
+        $BRIDGE = cpg_get_bridge_db_values();
+        print '<form name="'.$step.'" action="'.$_SERVER['PHP_SELF'].'" method="post">';
+        starttable('100%',$lang_bridgemgr_php['title'].': '.$lang_bridgemgr_php['settings_path'], 3);
+        $loop_array = array('full_forum_url','relative_path_of_forum_from_webroot','relative_path_to_config_file', 'cookie_prefix');
+        $rows_displayed = 0;
+        $section_number = 0;
+        foreach($loop_array as $key) {
+            $prefill = cpg_bridge_prefill($BRIDGE['short_name'],$key);
+            if ($key == 'relative_path_of_forum_from_webroot') {
+                $minibrowser = '<a href="javascript:;" onclick="MM_openBrWindow(\'minibrowser.php?startfolder='.rawurlencode($prefill).'&amp;parentform='.rawurlencode($step).'&amp;formelementname='.rawurlencode($key).'\',\''.uniqid(rand()) .'\',\'scrollbars=yes,toolbar=no,status=no,locationbar=no,resizable=yes,width=600,height=400\')"><img src="images/folder.gif" width="16" height="16" border="0" alt="" title="'.$lang_bridgemgr_php['browse'].'" /></a>';
+            } else {
+                $minibrowser = '';
+            }
+            $reset_to_default = '';
+            if ($default_bridge_data[$BRIDGE['short_name']][$key.'_used'] == '') {
+                $disabled = 'disabled="disabled" style="background-color:InactiveCaptionText;color:GrayText"';
+                $minibrowser = '';
+            } else {
+                $disabled = '';
+                $rows_displayed++;
+                if ($default_bridge_data[$BRIDGE['short_name']][$key.'_default'] != '') {
+                    $reset_to_default = '<img src="images/flags/reset.gif" width="16" height="11" border="0" alt="" title="'.$lang_bridgemgr_php['reset_to_default'].'" style="cursor:pointer" onclick="document.getElementById(\''.$key.'\').value=\''.$default_bridge_data[$BRIDGE['short_name']][$key.'_default'].'\'" />';
+                }
+            }
+            if ($_POST['hide_unused_fields'] != 1 || $disabled == '')
+            {
+                print '<tr>'.$new_line;
+                print '    <td class="tableb">'.$new_line;
+                print '        '.$lang_bridgemgr_php[$key].':'.$new_line;
+                print '    </td>'.$new_line;
+                print '    <td class="tableb" style="overflow:visible">'.$new_line;
+                print '        <input type="text" name="'.$key.'" id="'.$key.'" class="textinput" value="'.$prefill.'" '.$disabled.' size="50" />'.$minibrowser.$reset_to_default.$new_line;
+                print '    </td>'.$new_line;
+                print '    <td class="tableb">'.$new_line;
+                print $display1.$new_line;
+                print '        <span class="explanation">'.$lang_bridgemgr_php[$key.'_explanation'].'</span>'.$new_line;
+                print $display2.$new_line;
+                print '    </td>'.$new_line;
+                print '</tr>'.$new_line;
+            }
+        }
+        if ($rows_displayed == 0) {
+            print '<tr>';
+            print '    <td class="tableh2" colspan="3" align="center">';
+            print '        <h2>'.$lang_bridgemgr_php['no_action_needed'].'</h2>';
+            print '    </td>';
+            print '</tr>';
+        }
+        print cpg_submit_button($next_step[$step]);
+        endtable();
+        print "</form>\n";
+    } // end if not error
+   break;
+
+case "db_connect":
+
+    $error = write_to_db($previous_step[$step]);
+    if (!$error) {
+        $BRIDGE = cpg_get_bridge_db_values();
+        print '<form name="'.$step.'" action="'.$_SERVER['PHP_SELF'].'" method="post">';
+        starttable('100%',$lang_bridgemgr_php['title'].': '.$lang_bridgemgr_php['database_connection'], 3);
+        $loop_array = array('db_database_name','db_hostname','db_username','db_password');
+        $rows_displayed = 0;
+        foreach($loop_array as $key) {
+            $prefill = cpg_bridge_prefill($BRIDGE['short_name'],$key);
+            $reset_to_default = '';
+            if ($default_bridge_data[$BRIDGE['short_name']][$key.'_used'] == '') {
+                $disabled = 'disabled="disabled" style="background-color:InactiveCaptionText;color:GrayText"';
+            } else {
+                $disabled = '';
+                $rows_displayed++;
+                if ($default_bridge_data[$BRIDGE['short_name']][$key.'_default'] != '') {
+                    $reset_to_default = '<img src="images/flags/reset.gif" width="16" height="11" border="0" alt="" title="'.$lang_bridgemgr_php['reset_to_default'].'" style="cursor:pointer" onclick="document.getElementById(\''.$key.'\').value=\''.$default_bridge_data[$BRIDGE['short_name']][$key.'_default'].'\'" />';
+                }
+            }
+            if ($default_bridge_data[$BRIDGE['short_name']][$key.'_used'] == 'password') {$fieldtype = 'password';} else {$fieldtype = 'text';}
+            if ($_POST['hide_unused_fields'] != 1 || $disabled == '')
+            {
+                //print $default_bridge_data[$BRIDGE['short_name']][$key.'_used'].'|<br>';
+                print '<tr>';
+                print '    <td class="tableb">';
+                print '        '.$lang_bridgemgr_php[$key].':';
+                print '    </td>';
+                print '    <td class="tableb">';
+                print '        <input type="'.$fieldtype.'" name="'.$key.'" id="'.$key.'" class="textinput" value="'.$prefill.'" '.$disabled.' size="30"  style="width:80%" />'.$reset_to_default;
+                print '    </td>';
+                print '    <td class="tableb">';
+                print '        <span class="explanation">'.$lang_bridgemgr_php[$key.'_explanation'].'</span>';
+                print '    </td>';
+                print '</tr>';
+            }
+        }
+        if ($rows_displayed == 0) {
+            print '<tr>';
+            print '    <td class="tableh2" colspan="3" align="center">';
+            print '        <h2>'.$lang_bridgemgr_php['no_action_needed'].'</h2>';
+            print '    </td>';
+            print '</tr>';
+        }
+
+
+        print cpg_submit_button($next_step[$step]);
+        endtable();
+        print "</form>\n";
+    } // end if error
+    break;
+
+case "db_tables":
+
+    $error = write_to_db($previous_step[$step]);
+    if (!$error) {
+        $BRIDGE = cpg_get_bridge_db_values();
+        print '<form name="'.$step.'" action="'.$_SERVER['PHP_SELF'].'" method="post">';
+        starttable('100%',$lang_bridgemgr_php['title'].': '.$lang_bridgemgr_php['database_tables'], 3);
+        $loop_array = array('table_prefix', 'user_table', 'session_table', 'group_table', 'group_relation_table', 'group_mapping_table');
+        $rows_displayed = 0;
+        foreach($loop_array as $key) {
+            $prefill = cpg_bridge_prefill($BRIDGE['short_name'],$key);
+            $reset_to_default = '';
+            if ($default_bridge_data[$BRIDGE['short_name']][$key.'_used'] == '') {
+                $disabled = 'disabled="disabled" style="background-color:InactiveCaptionText;color:GrayText"';
+            } else {
+                $disabled = '';
+                $rows_displayed++;
+                if ($default_bridge_data[$BRIDGE['short_name']][$key.'_default'] != '') {
+                    $reset_to_default = '<img src="images/flags/reset.gif" width="16" height="11" border="0" alt="" title="'.$lang_bridgemgr_php['reset_to_default'].'" style="cursor:pointer" onclick="document.getElementById(\''.$key.'\').value=\''.$default_bridge_data[$BRIDGE['short_name']][$key.'_default'].'\'" />';
+                }
+            }
+            if ($default_bridge_data[$BRIDGE['short_name']][$key.'_used'] == 'password') {$fieldtype = 'password';} else {$fieldtype = 'text';}
+            if ($_POST['hide_unused_fields'] != 1 || $disabled == '')
+            {
+                //print $default_bridge_data[$BRIDGE['short_name']][$key.'_used'].'|<br>';
+                print '<tr>';
+                print '    <td class="tableb">';
+                print '        '.$lang_bridgemgr_php[$key].':';
+                print '    </td>';
+                print '    <td class="tableb">';
+                print '        <input type="'.$fieldtype.'" name="'.$key.'" id="'.$key.'" class="textinput" value="'.$prefill.'" '.$disabled.' size="30"  style="width:80%" />'.$reset_to_default;
+                print '    </td>';
+                print '    <td class="tableb">';
+                print '        <span class="explanation">'.$lang_bridgemgr_php[$key.'_explanation'].'</span>';
+                print '    </td>';
+                print '</tr>';
+            }
+        }
+        if ($rows_displayed == 0) {
+            print '<tr>'.$new_line;
+            print '    <td class="tableh2" colspan="3" align="center">'.$new_line;
+            print '        <h2>'.$lang_bridgemgr_php['no_action_needed'].'</h2>'.$new_line;
+            print '    </td>'.$new_line;
+            print '</tr>'.$new_line;
+        }
+
+
+        print cpg_submit_button($next_step[$step]);
+        endtable();
+        print "</form>\n";
+    } // end if error
+    break;
+
+case "db_groups":
+
+    $error = write_to_db($previous_step[$step]);
+    if (!$error) {
+        $BRIDGE = cpg_get_bridge_db_values();
+        print '<form name="'.$step.'" action="'.$_SERVER['PHP_SELF'].'" method="post">';
+        starttable('100%',$lang_bridgemgr_php['title'].': '.$lang_bridgemgr_php['bbs_groups'], 3);
+        if ($default_bridge_data[$BRIDGE['short_name']]['use_standard_groups_used'] != '')
+        {
+            if ($BRIDGE['use_standard_groups'] != '') {
+                $prefill = $BRIDGE['use_standard_groups'];
+            } else {
+                $prefill = $default_bridge_data[$BRIDGE['short_name']]['use_standard_groups_default'];
+            }
+            if ($prefill == 1) {
+                $checked = 'checked="checked"';
+            } else {
+                $checked = '';
+            }
+            print '<tr>'.$new_line;
+            print '    <td class="tableb" colspan="2" align="left">'.$new_line;
+            print '        <input type="hidden" name="use_standard_groups" id="use_standard_groups" value="'.$prefill.'" />'.$new_line;
+            print '        <input type="checkbox" name="dummy_use_standard_groups" id="dummy_use_standard_groups" class="checkbox" value="1" '.$checked.' onclick="toggleGroupFields();" />'.$new_line;
+            print '        <label for="dummy_use_standard_groups" class="clickable_option">'.$lang_bridgemgr_php['use_standard_groups'].'</label>'.$new_line;
+            print '    </td>'.$new_line;
+            print '    <td class="tableb">'.$new_line;
+            print '        <span class="explanation">'.$lang_bridgemgr_php['use_standard_groups_explanation'].'</span>'.$new_line;
+            print '    </td>'.$new_line;
+            print '</tr>'.$new_line;
+        }
+        $loop_array = array('validating_group', 'guest_group', 'member_group', 'admin_group', 'banned_group', 'global_moderators_group');
+        $rows_displayed = 0;
+        foreach($loop_array as $key) { // foreach loop start
+            $prefill = cpg_bridge_prefill($BRIDGE['short_name'],$key);
+            $reset_to_default = '';
+            if ($default_bridge_data[$BRIDGE['short_name']][$key.'_used'] == '') {
+                $disabled = 'disabled="disabled" style="background-color:InactiveCaptionText;color:GrayText"';
+            } else {
+                $disabled = '';
+                $rows_displayed++;
+                if ($default_bridge_data[$BRIDGE['short_name']][$key.'_default'] != '') {
+                    $reset_to_default = '<img src="images/flags/reset.gif" width="16" height="11" border="0" alt="" title="'.$lang_bridgemgr_php['reset_to_default'].'" style="cursor:pointer" onclick="document.getElementById(\''.$key.'\').value=\''.$default_bridge_data[$BRIDGE['short_name']][$key.'_default'].'\'" />';
+                }
+            }
+            if ($default_bridge_data[$BRIDGE['short_name']][$key.'_used'] == 'password') {$fieldtype = 'password';} else {$fieldtype = 'text';}
+            if ($_POST['hide_unused_fields'] != 1 || $disabled == '')
+            {
+                print '<tr>'.$new_line;
+                print '    <td class="tableb">'.$new_line;
+                print '        '.$lang_bridgemgr_php[$key].':'.$new_line;
+                print '    </td>'.$new_line;
+                print '    <td class="tableb">'.$new_line;
+                print '        <input type="'.$fieldtype.'" name="'.$key.'" id="'.$key.'" class="textinput" value="'.$prefill.'" '.$disabled.' size="30"  style="width:80%" />'.$reset_to_default.$new_line;
+                print '    </td>'.$new_line;
+                print '    <td class="tableb">'.$new_line;
+                print '        <span class="explanation">'.$lang_bridgemgr_php[$key.'_explanation'].'</span>'.$new_line;
+                print '    </td>'.$new_line;
+                print '</tr>'.$new_line;
+                $keywords[] = $key;
+            }
+        } // foreach loop end
+        if ($rows_displayed == 0) {
+            print '<tr>'.$new_line;
+            print '    <td class="tableh2" colspan="3" align="center">'.$new_line;
+            print '        <h2>'.$lang_bridgemgr_php['no_action_needed'].'</h2>'.$new_line;
+            print '    </td>'.$new_line;
+            print '</tr>'.$new_line;
+        } else {
+            // dome dhtml magic to disable the input fields in case they get overridden with the option 'use_standard_groups' anyway
+    print '<script type="text/javascript">'.$new_line;
+    print '<!--'.$new_line;
+    print 'toggleGroupFields();'.$new_line;
+    print 'function toggleGroupFields() {'.$new_line;
+    print '    var use_standard_groups = document.getElementById("dummy_use_standard_groups").checked;'.$new_line;
+    print '    if (use_standard_groups == true) {'.$new_line;
+    print '        AllGroupFieldsDisable();'.$new_line;
+    print '        document.getElementById("use_standard_groups").value = 1;'.$new_line;
+    print '    }'.$new_line;
+    print '    if (use_standard_groups == false) {'.$new_line;
+    print '        AllGroupFieldsEnable();'.$new_line;
+    print '        document.getElementById("use_standard_groups").value = 0;'.$new_line;
+    print '    }'.$new_line;
+    print '}'.$new_line;
+    print 'function AllGroupFieldsDisable() {'.$new_line;
+    foreach($keywords as $key) {
+    print '    document.getElementById("'.$key.'").disabled = true;'.$new_line;
+    print '    document.getElementById("'.$key.'").style.backgroundColor = \'InactiveCaptionText\';'.$new_line;
+    print '    document.getElementById("'.$key.'").style.color = \'GrayText\';'.$new_line;
+    }
+    print '}'.$new_line;
+    print 'function AllGroupFieldsEnable() {'.$new_line;
+    foreach($keywords as $key) {
+    print '    document.getElementById("'.$key.'").disabled = false;'.$new_line;
+    print '    document.getElementById("'.$key.'").style.backgroundColor = \'Window\';'.$new_line;
+    print '    document.getElementById("'.$key.'").style.color = \'MenuText\';'.$new_line;
+    }
+    print '}'.$new_line;
+    print '-->'.$new_line;
+    print '</script>'.$new_line;
+        }
+        print cpg_submit_button($next_step[$step]);
+        endtable();
+        print "</form>\n";
+    } // end if error
+    break;
+
+case "special_settings":
+
+    $error = write_to_db($previous_step[$step]);
+    if (!$error) {
+        $BRIDGE = cpg_get_bridge_db_values();
+        print '<form name="'.$step.'" action="'.$_SERVER['PHP_SELF'].'" method="post">';
+        starttable('100%',$lang_bridgemgr_php['title'].': '.$lang_bridgemgr_php['special_settings'], 3);
+        $loop_array = array('logout_flag', 'use_post_based_groups','license_number');
+        $rows_displayed = 0;
+        foreach($loop_array as $key) { // foreach loop_array --- start
+            if ($BRIDGE[$key]) {
+                $prefill = $BRIDGE[$key];
+            } else {
+                $prefill = $default_bridge_data[$BRIDGE['short_name']][$key.'_default'];
+            }
+            //print 'key:'.$key.',prefill:'.$prefill.'<br>';
+            //print_r($default_bridge_data[$BRIDGE['short_name']]);
+            //if ($default_bridge_data['phpbb']['logout_flag_default'] == true){print '<h1>true</h1>';}else{print '<h1>not true</h1>';}
+            $reset_to_default = '';
+            if ($default_bridge_data[$BRIDGE['short_name']][$key.'_used'] == '') {
+                $disabled = 'disabled="disabled"';
+            } else {
+                $disabled = '';
+                $rows_displayed++;
+            }
+            // get the possible options for the value
+            //  e.g. 'option_name_used' => 'radio,1,0',
+            $option_yes = '';
+            $option_no = '';
+            $options = explode(',', $default_bridge_data[$BRIDGE['short_name']][$key.'_used']);
+            //print_r($options);
+            if ($options[0] == 'radio') {$option_yes = $options[1]; $option_no = $options[2];}
+            if ($BRIDGE[$key] == $options[1]) {
+                $checked_yes = 'checked="checked"';
+                $checked_no = '';
+            } elseif ($BRIDGE[$key] == $options[2]) {
+                $checked_yes = '';
+                $checked_no = 'checked="checked"';
+            }
+            //if ($BRIDGE[$key] == 1){print $key.'true<br>';}
+            //if ($BRIDGE[$key] == 0){print $key.'false<br>';}
+            //print $key.$BRIDGE[$key];
+            if ($default_bridge_data[$BRIDGE['short_name']][$key.'_used'] == 'password') {$fieldtype = 'password';} else {$fieldtype = 'text';}
+            if ($_POST['hide_unused_fields'] != 1 || $disabled == '') { // actually display the row? --- start
+                if ($options[0] == 'radio') { // radio button --- start
+                    print '<tr>'.$new_line;
+                    print '    <td class="tableb">'.$new_line;
+                    print '        '.$lang_bridgemgr_php[$key].':'.$new_line;
+                    print '    </td>'.$new_line;
+                    print '    <td class="tableb">'.$new_line;
+                    print '        <input type="Radio" name="'.$key.'" id="'.$key.'_yes" class="radio" value="'.$option_yes.'" '.$disabled.' '.$checked_yes.' />'.$new_line;
+                    print '        <label for="'.$key.'_yes" class="clickable_option">'.$new_line;
+                    print '            '.$lang_bridgemgr_php[$key.'_yes'].$new_line;
+                    print '        </label>&nbsp;'.$new_line;
+                    print '        <br />'.$new_line;
+                    print '        <input type="Radio" name="'.$key.'" id="'.$key.'_no" class="radio" value="'.$option_no.'" '.$disabled.' '.$checked_no.' /><label for="'.$key.'_no" class="clickable_option">'.$lang_bridgemgr_php[$key.'_no'].'</label>'.$new_line;
+                    print '    </td>'.$new_line;
+                    print '    <td class="tableb">'.$new_line;
+                    print '        <span class="explanation">'.$lang_bridgemgr_php[$key.'_explanation'].'</span>'.$new_line;
+                    print '    </td>'.$new_line;
+                    print '</tr>'.$new_line;
+                } // radio button --- end
+                if ($options[0] == 'mandatory') { // input field --- start
+                    print '<tr>'.$new_line;
+                    print '    <td class="tableb">'.$new_line;
+                    print '        '.$lang_bridgemgr_php[$key].':'.$new_line;
+                    print '    </td>'.$new_line;
+                    print '    <td class="tableb">'.$new_line;
+                    print '        <input type="'.$fieldtype.'" name="'.$key.'" id="'.$key.'" class="textinput" value="'.$prefill.'" '.$disabled.' size="30"  style="width:80%" />'.$reset_to_default.$new_line;
+                    print '    </td>'.$new_line;
+                    print '    <td class="tableb">'.$new_line;
+                    print '        <span class="explanation">'.$lang_bridgemgr_php[$key.'_explanation'].'</span>'.$new_line;
+                    print '    </td>'.$new_line;
+                    print '</tr>'.$new_line;
+                } // input field --- end
+                if ($options[0] == 'checkbox') { // checkbox --- start
+                    print '<tr>'.$new_line;
+                    print '    <td class="tableb" colspan="2">'.$new_line;
+                    print '        <input type="checkbox" name="'.$key.'" id="'.$key.'" class="checkbox" value="1" '.$checked.' />'.$new_line;
+                    print '        <label for="'.$key.'" class="clickable_option">'.$new_line;
+                    print '            '.$lang_bridgemgr_php[$key].$new_line;
+                    print '        </label>&nbsp;'.$new_line;
+                    print '    </td>'.$new_line;
+                    print '    <td class="tableb">'.$new_line;
+                    print '        <span class="explanation">'.$lang_bridgemgr_php[$key.'_explanation'].'</span>'.$new_line;
+                    print '    </td>'.$new_line;
+                    print '</tr>'.$new_line;
+                } // checkbox --- end
+            } // actually display the row? --- end
+        } // foreach loop_array --- end
+
+        if ($default_bridge_data[$BRIDGE['short_name']]['create_redir_file_content'] != '') { // create redirection file question --- start
+            // sub-step1: make up the content of the redir file
+            $default_bridge_data[$BRIDGE['short_name']]['create_redir_file_content'] = str_replace('{COPPERMINE_URL}', rtrim($CONFIG['ecards_more_pic_target'], '/').'/', $default_bridge_data[$BRIDGE['short_name']]['create_redir_file_content']);
+            // sub-step2: can we read the folder it's suppossed to go into?
+            // sub-step3: is the redir file already in place and if yes: does it match the content we have come up with?
+            // sub-step4: is the folder writable?
+            // if we can't write (for whatever reason), just output the contents for copy and paste
+            // what do we need: write the file, display it only or do both?
+            $redir_action = explode(',', $default_bridge_data[$BRIDGE['short_name']]['create_redir_file_action']);
+            if (in_array('write',$redir_action)) { // the file should be created --- start
+                // come up with the folder the bbs resides in
+                if ($BRIDGE['relative_path_of_forum_from_webroot'] != '' && $default_bridge_data[$BRIDGE['short_name']]['relative_path_of_forum_from_webroot_used'] != '') {
+                    // we have a db entry and the user appears to have it configured
+                    $redir_folder = $BRIDGE['relative_path_of_forum_from_webroot'];
+                } elseif ($BRIDGE['relative_path_to_config_file'] != '' && $default_bridge_data[$BRIDGE['short_name']]['relative_path_to_config_file_used'] != '') {
+                    // we have a relative path. We'll use it if we don't have a folder already
+                    $redir_folder = $BRIDGE['relative_path_to_config_file'];
+                } else {
+                    // something strange happened: there is no path set at all. We won't be able to write the file. Change the option to "display_only"
+                    $default_bridge_data[$BRIDGE['short_name']]['create_redir_file_action'] = @str_replace(',write', '', $default_bridge_data[$BRIDGE['short_name']]['create_redir_file_action']);
+                    $default_bridge_data[$BRIDGE['short_name']]['create_redir_file_action'] = @str_replace('write,', '', $default_bridge_data[$BRIDGE['short_name']]['create_redir_file_action']);
+                    $default_bridge_data[$BRIDGE['short_name']]['create_redir_file_action'] = @str_replace('write', '', $default_bridge_data[$BRIDGE['short_name']]['create_redir_file_action']);
+                    $redir_action = explode(',', $default_bridge_data[$BRIDGE['short_name']]['create_redir_file_action']);
+                }
+                // check if the redir file already exists
+                print $redir_folder;
+                $redir_folder_writable = cpg_is_writable($redir_folder);
+                if ($redir_folder_writable == '-1') {
+                    // the redir folder is not writable
+                    print 'Not writable';
+                }
+            } // the file should be created --- end
+            // display the option
+            // temporarily removed this section, as it's still under construction
+            print '<!--';
+            print '<tr>'.$new_line;
+            print '    <td class="tableb" colspan="2">'.$new_line;
+            print '        <input type="checkbox" name="create_redir_file" id="create_redir_file" class="checkbox" value="1" checked="checked" />'.$new_line;
+            print '        <label for="create_redir_file" class="clickable_option">'.$new_line;
+            print '        <span class="explanation">'.$new_line;
+            print '            '.$lang_bridgemgr_php['create_redir_file'].$new_line;
+            print '        </span>'.$new_line;
+            print '        </label>&nbsp;'.$new_line;
+            print '    </td>'.$new_line;
+            print '    <td class="tableb">'.$new_line;
+            print '        <span class="explanation">'.$new_line;
+            print '        '.$lang_bridgemgr_php['create_redir_file_explanation'].$new_line;
+            print '        </span>'.$new_line;
+            print '    </td>'.$new_line;
+            print '</tr>'.$new_line;
+            print '<tr>'.$new_line;
+            print '    <td class="tableb" colspan="3">'.$new_line;
+            print '        <textarea style="width:100%">';
+            print $default_bridge_data[$BRIDGE['short_name']]['create_redir_file_content'];
+            print '        </textarea>';
+            print '    </td>'.$new_line;
+            print '</tr>'.$new_line;
+            print '-->';
+            // temporarily removed this section, as it's still under construction --- end
+        } // create redirection file question --- end
+
+        if ($rows_displayed == 0) {
+            print '<tr>';
+            print '    <td class="tableh2" colspan="3" align="center">';
+            print '        <h2>'.$lang_bridgemgr_php['no_action_needed'].'</h2>';
+            print '    </td>';
+            print '</tr>';
+        }
+        print cpg_submit_button($next_step[$step]);
+        endtable();
+        print "</form>\n";
+    } // end if error
+    break;
+
+
+case "finalize":
+
+    $error = write_to_db($previous_step[$step]);
+    if (!$error) {
+        $BRIDGE = cpg_get_bridge_db_values();
+        $CONFIG = cpg_refresh_config_db_values();
+
+                // sync groups here now :)
+                if ($CONFIG['bridge_enable']){
+                                                include_once 'bridge/' . $BRIDGE['short_name'] . '.inc.php';
+                        $cpg_udb->synchronize_groups();
+                } else {
+                        // ok, then restore group table
+                        cpg_db_query("DELETE FROM {$CONFIG['TABLE_USERGROUPS']} WHERE 1");
+                        cpg_db_query("INSERT INTO {$CONFIG['TABLE_USERGROUPS']}
+                        VALUES (1, 'Administrators', 0, 1, 1, 1, 1, 1, 1, 0, 0, 3, 0, 5, 3)");
+                        cpg_db_query("INSERT INTO {$CONFIG['TABLE_USERGROUPS']}
+                        VALUES (2, 'Registered', 1024, 0, 1, 1, 1, 1, 1, 1, 0, 3, 0, 5, 3)");
+                        cpg_db_query("INSERT INTO {$CONFIG['TABLE_USERGROUPS']}
+                        VALUES (3, 'Anonymous', 0, 0, 1, 0, 0, 0, 0, 1, 1, 0, 0, 5, 3)");
+                        cpg_db_query("INSERT INTO {$CONFIG['TABLE_USERGROUPS']}
+                        VALUES (4, 'Banned', 0, 0, 0, 0, 0, 0, 0, 1, 1, 0, 0, 5, 3)");
+                }
+        print '<form name="'.$step.'" action="'.$_SERVER['PHP_SELF'].'" method="post">';
+        echo <<<EOT
+    <script type="text/javascript">
+    <!--
+    function changeSubmitButton() {
+        document.finalize.submit.value='{$lang_bridgemgr_php['finish']}';
+        document.finalize.step.value='finalize';
+        document.finalize.force_startpage.value='1';
+    }
+    -->
+    </script>
+EOT;
+        starttable(-1,$lang_bridgemgr_php['title'].': '.$lang_bridgemgr_php['finalize'],2);
+        if ($_POST['submit'] && $CONFIG['bridge_enable'] != 1) {
+            print '<tr>';
+            print '<td class="tableb" colspan="2">';
+            print '<span class="explanation">';
+            printf($lang_bridgemgr_php['finalize_explanation'],$CONFIG['ecards_more_pic_target'].'/bridgemgr.php');
+            print '</span>';
+            print '</td>';
+            print '</tr>';
+        }
+        if (is_array($BRIDGE)) { // there are entries in the db already --- start
+            print '<tr>';
+            print '<td class="tableh2" colspan="2">';
+            print $lang_bridgemgr_php['your_bridge_settings'];
+            print '</td>';
+            print '</tr>';
+            $mandatory_fields_missing = 0;
+            foreach($BRIDGE as $key => $value) {
+                if ($default_bridge_data[$BRIDGE['short_name']][$key.'_used'] != '') {
+                    print '<tr>';
+                    print '    <td class="tableb" width="50%">';
+                    print '        <span class="explanation">'.$lang_bridgemgr_php[$key].':</span>';
+                    print '    </td>';
+                    print '    <td class="tableb" width="50%">';
+                    if ($default_bridge_data[$BRIDGE['short_name']][$key.'_used'] == 'password') {
+                        $pw = '';
+                        for ($i=1; $i <= strlen($value);$i++) {
+                            $pw = $pw.'*';
+                        }
+                        $value = $pw;
+                    }
+                    print '        <span class="explanation">'.$value;
+                    // check if we really can allow enabling bridging: are all required fields in the db?
+                    if (strstr($default_bridge_data[$BRIDGE['short_name']][$key.'_used'], 'not_empty') != false && $value == '') {
+                        print ' (<span class="important">'.$lang_bridgemgr_php['error_must_not_be_empty'].'</span>)';
+                        $mandatory_fields_missing++;
+                    }
+                    $explode = explode(',', $default_bridge_data[$BRIDGE['short_name']][$key.'_used']);
+                    if ($explode[0] == radio && ($value != $explode[1] && $value != $explode[2])) {
+                        printf(' ('.$lang_bridgemgr_php['error_either_be'].')',$explode[1],$explode[2]);
+                        $mandatory_fields_missing++;
+                    }
+                    //print '<br>';
+                    print '</span>';
+                    print '    </td>';
+                    print '</tr>';
+                }
+            }
+        }  // there are entries in the db already --- end
+        if ($BRIDGE['short_name'] != '') {// display the enable/disable option only if there's at least a db entry about the file to bridge with --- start
+            print '<tr>';
+            print '<td class="tableh2" colspan="2">';
+            printf($lang_bridgemgr_php['title_enable'], '<b>'.$default_bridge_data[$BRIDGE['short_name']]['full_name'].'</b>');
+            print '</td>';
+            print '</tr>';
+            //print 'bridge enabled:'.$CONFIG['bridge_enable'];
+            if ($CONFIG['bridge_enable'] == 1) {
+                $checked_yes = 'checked="checked"';
+                $checked_no = '';
+                $disabled_yes = '';
+                $disabled_no = '';
+            } else {
+                $checked_yes = '';
+                $checked_no = 'checked="checked"';
+                if ($mandatory_fields_missing != 0) {
+                    $disabled_yes = 'disabled="disabled"';
+                    $disabled_no = '';
+                } else {
+                    $disabled_yes = '';
+                    $disabled_no = '';
+                }
+            }
+        } // display the enable/disable option only if there's at least a db entry about the file to bridge with --- end
+        if ($_POST['submit'] == '' || $_POST['wizard_finished'] != '' || $_POST['force_startpage'] == '1') {
+            if ($BRIDGE['short_name'] != '') {// display the enable/disable option only if there's at least a db entry about the file to bridge with --- start
+                print '<tr>';
+                print '    <td class="tableb" width="50%">';
+                print '        <input type="Radio" name="bridge_enable" id="bridge_enable_yes" class="radio" value="1" '.$disabled_yes.' '.$checked_yes.' onclick="changeSubmitButton();" /><label for="bridge_enable_yes" class="clickable_option">'.$lang_bridgemgr_php['bridge_enable_yes'].'</label>';
+                print '    </td>';
+                print '    <td class="tableb" width="50%">';
+                print '        <input type="Radio" name="bridge_enable" id="bridge_enable_no" class="radio" value="0" '.$disabled_no.' '.$checked_no.' onclick="changeSubmitButton();" /><label for="bridge_enable_no" class="clickable_option">'.$lang_bridgemgr_php['bridge_enable_no'].'</label>';
+                print '    </td>';
+                print '</tr>';
+            } // display the enable/disable option only if there's at least a db entry about the file to bridge with --- end
+            print '<tr>'.$new_line;
+            print '        <td colspan="2" class="tablef" align="center">'.$new_line;
+            print '            <table border="0" cellspacing="0" cellpadding="0" width="100%">'.$new_line;
+            print '                <tr>'.$new_line;
+            print '                    <td align="left">'.$new_line;
+            print '                        <!--<input type="Checkbox" name="hide_unused_fields" id="hide_unused_fields" value="1" class="checkbox"  />'.$new_line;
+            print '                        <label for="hide_unused_fields" class="clickable_option"><span class="explanation">hide unused form fields (recommended)</span></label>-->'.$new_line;
+            print '                   </td>'.$new_line;
+            print '                   <td align="center">'.$new_line;
+            print '                        <!--<input type="button" name="back" value="&laquo;back" class="button" onclick="javascript:history.back()" />-->'.$new_line;
+            print '                        <input type="submit" name="submit" value="'.$lang_bridgemgr_php['start_wizard'].'" class="button" />'.$new_line;
+            print '                        <input type="hidden" name="step" value="choose_bbs" />'.$new_line;
+            print '                        <input type="hidden" name="force_startpage" value="0" />'.$new_line;
+            print '                   </td>'.$new_line;
+            print '                 </tr>'.$new_line;
+            print '             </table>'.$new_line;
+            print '        </td>'.$new_line;
+            print '</tr>'.$new_line;
+        } else {
+            print '<tr>';
+            print '    <td class="tableb" width="50%">';
+            print '        <input type="Radio" name="bridge_enable" id="bridge_enable_yes" class="radio" value="1" '.$disabled_yes.' '.$checked_yes.' /><label for="bridge_enable_yes" class="clickable_option">'.$lang_bridgemgr_php['bridge_enable_yes'].'</label>';
+            print '    </td>';
+            print '    <td class="tableb" width="50%">';
+            print '        <input type="Radio" name="bridge_enable" id="bridge_enable_no" class="radio" value="0" '.$disabled_no.' '.$checked_no.' /><label for="bridge_enable_no" class="clickable_option">'.$lang_bridgemgr_php['bridge_enable_no'].'</label>';
+            print '    </td>';
+            print '</tr>';
+            print '<tr>'.$new_line;
+            print '        <td colspan="2" class="tablef" align="center">'.$new_line;
+            print '            <table border="0" cellspacing="0" cellpadding="0" width="100%">'.$new_line;
+            print '                <tr>'.$new_line;
+            print '                    <td align="left">'.$new_line;
+            //print '                        <input type="Checkbox" name="clear_unused_db_fields" id="clear_unused_db_fields" value="1" class="checkbox"  checked="checked" />'.$new_line;
+            //print '                        <label for="clear_unused_db_fields" class="clickable_option"><span class="explanation">'.$lang_bridgemgr_php['clear_unused_db_fields'].'</span></label>'.$new_line;
+            print '                   </td>'.$new_line;
+            print '                   <td align="center">'.$new_line;
+            print '                        <input type="button" name="back" value="&laquo;'.$lang_bridgemgr_php['back'].'" class="button" onclick="javascript:history.back()" />'.$new_line;
+            print '                        <input type="submit" name="submit" value="'.$lang_bridgemgr_php['finish'].'" class="button" />'.$new_line;
+            print '                        <input type="hidden" name="step" value="finalize" />'.$new_line;
+            print '                        <input type="hidden" name="wizard_finished" value="finished" />'.$new_line;
+            print '                   </td>'.$new_line;
+            print '                 </tr>'.$new_line;
+            print '             </table>'.$new_line;
+            print '        </td>'.$new_line;
+            print '</tr>'.$new_line;
+        }
+        endtable();
+        print '</form>';
+    } // end if error
+    break;
+}
+
+
+print "<br />\n";
+pagefooter();
+} // gallery admin mode --- end
+else { // not in gallery admin mode --- start
+    if ($CONFIG['bridge_enable'] != 1) { cpg_die(ERROR, $lang_errors['access_denied'], __FILE__, __LINE__); }
+
+    // initialize vars
+    $step = $_POST['step'];
+    $new_line = "\n";
+
+    pageheader($lang_bridgemgr_php['title']);
+    switch ($step) {
+    case "attempt_to_disable":
+    // check if the wait time is over; if it isn't, send them back
+    $results = cpg_db_query("SELECT value FROM {$CONFIG['TABLE_BRIDGE']} WHERE name = 'recovery_logon_timestamp'");
+    if (mysql_num_rows($results)) {
+        $row = mysql_fetch_array($results);
+    }
+    $recovery_logon_timestamp = $row['value'];
+    //print $recovery_logon_timestamp;
+    $results = cpg_db_query("SELECT value FROM {$CONFIG['TABLE_BRIDGE']} WHERE name = 'recovery_logon_failures'");
+    if (mysql_num_rows($results)) {
+        $row = mysql_fetch_array($results);
+    }
+    $recovery_logon_failures = $row['value'];
+    $logon_allowed = cpg_check_allowed_emergency_logon($recovery_logon_timestamp,$recovery_logon_failures);
+    if ($logon_allowed > 0) {
+        // the user is not allowed to logon yet, the wait time has not elapsed yet
+        msg_box($lang_bridgemgr_php['recovery_wait_title'], $lang_bridgemgr_php['recovery_wait_content'], $lang_bridgemgr_php['try_again'], $_SERVER['PHP_SELF'], "-1");
+    } else { // the logon wait time has passed, the user is allowed to try to logon now
+        // go through the list of standalone admins and check if we have a match
+        $temp_user_table = $CONFIG['TABLE_PREFIX'].'users';
+
+        // Check if encrypted passwords are enabled
+        if ($CONFIG['enable_encrypted_passwords']) {
+                $encpassword = md5(addslashes($_POST['password']));
+        } else {
+                $encpassword = addslashes($_POST['password']);
+        }
+
+        $results = cpg_db_query("SELECT user_id, user_name, user_password FROM $temp_user_table WHERE user_name = '" . addslashes($_POST['username']) . "' AND BINARY user_password = '" . $encpassword . "' AND user_active = 'YES' AND user_group = '1'");
+        if (mysql_num_rows($results)) {
+            $retrieved_data = mysql_fetch_array($results);
+        }
+        if ($retrieved_data['user_name'] == $_POST['username'] && $retrieved_data['user_password'] == $encpassword && $retrieved_data['user_name'] != '' ) {
+            // authentification successfull
+            cpg_db_query("UPDATE {$CONFIG['TABLE_CONFIG']} SET value = '0' WHERE name = 'bridge_enable'");
+            cpg_db_query("UPDATE {$CONFIG['TABLE_BRIDGE']} SET value = '0' WHERE name = 'recovery_logon_failures'");
+            cpg_db_query("UPDATE {$CONFIG['TABLE_BRIDGE']} SET value = NOW() WHERE name = 'recovery_logon_timestamp'");
+
+                        // ok, then restore group table
+                                cpg_db_query("DELETE FROM {$CONFIG['TABLE_USERGROUPS']} WHERE 1");
+                                cpg_db_query("INSERT INTO {$CONFIG['TABLE_USERGROUPS']}
+                                VALUES (1, 'Administrators', 0, 1, 1, 1, 1, 1, 1, 0, 0, 3, 0, 5, 3)");
+                                cpg_db_query("INSERT INTO {$CONFIG['TABLE_USERGROUPS']}
+                                VALUES (2, 'Registered', 1024, 0, 1, 1, 1, 1, 1, 1, 0, 3, 0, 5, 3)");
+                                cpg_db_query("INSERT INTO {$CONFIG['TABLE_USERGROUPS']}
+                                VALUES (3, 'Anonymous', 0, 0, 1, 0, 0, 0, 0, 1, 1, 0, 0, 5, 3)");
+                                cpg_db_query("INSERT INTO {$CONFIG['TABLE_USERGROUPS']}
+                                VALUES (4, 'Banned', 0, 0, 0, 0, 0, 0, 0, 1, 1, 0, 0, 5, 3)");
+
+            if (USER_ID) { //user already logged in
+                msg_box($lang_bridgemgr_php['recovery_success_title'], $lang_bridgemgr_php['recovery_success_content'], $lang_bridgemgr_php['goto_bridgemgr'], $_SERVER['PHP_SELF'], "-1");
+            } else { // user not logged in yet
+                msg_box($lang_bridgemgr_php['recovery_success_title'], $lang_bridgemgr_php['recovery_success_content'].'<br />'.$lang_bridgemgr_php['recovery_success_advice_login'], $lang_bridgemgr_php['goto_login'], "login.php?referer=".$_SERVER['PHP_SELF'], "-1");
+            }
+        } else {
+            // authentification failed
+            cpg_db_query("UPDATE {$CONFIG['TABLE_BRIDGE']} SET value = NOW() WHERE name = 'recovery_logon_timestamp'");
+            $results = cpg_db_query("SELECT value FROM {$CONFIG['TABLE_BRIDGE']} WHERE name = 'recovery_logon_failures'");
+            if (mysql_num_rows($results)) {
+                $row = mysql_fetch_array($results);
+            }
+            $number_of_failed_attempts = $row['value'] + 1;
+            cpg_db_query("UPDATE {$CONFIG['TABLE_BRIDGE']} SET value = '$number_of_failed_attempts' WHERE name = 'recovery_logon_failures'");
+            msg_box($lang_bridgemgr_php['recovery_failure_title'], $lang_bridgemgr_php['recovery_failure_content'], $lang_bridgemgr_php['try_again'], $_SERVER['PHP_SELF'], "-1");
+        }
+    }
+    break;
+    default:
+    // check if the wait time is over; if it isn't, disable the submit button
+    $results = cpg_db_query("SELECT value FROM {$CONFIG['TABLE_BRIDGE']} WHERE name = 'recovery_logon_timestamp'");
+    if (mysql_num_rows($results)) {
+        $row = mysql_fetch_array($results);
+    }
+    $recovery_logon_timestamp = $row['value'];
+    //print $recovery_logon_timestamp;
+    $results = cpg_db_query("SELECT value FROM {$CONFIG['TABLE_BRIDGE']} WHERE name = 'recovery_logon_failures'");
+    if (mysql_num_rows($results)) {
+        $row = mysql_fetch_array($results);
+    }
+    $recovery_logon_failures = $row['value'];
+    $logon_allowed = cpg_check_allowed_emergency_logon($recovery_logon_timestamp,$recovery_logon_failures);
+    if ($logon_allowed < 0) {$logon_allowed = 0;}
+    starttable(-1,$lang_bridgemgr_php['recovery_title'],2);
+        echo <<<EOT
+        <form name="disable_integration" action="{$_SERVER['PHP_SELF']}" method="post">
+        <tr>
+            <td class="tableb" colspan="2">
+                {$lang_bridgemgr_php['recovery_explanation']}
+            </td>
+        </tr>
+        <tr>
+              <td class="tableb" width="40%">{$lang_bridgemgr_php['username']}</td>
+              <td class="tableb" width="60%"><input type="text" class="textinput" name="username" style="width: 100%" /></td>
+        </tr>
+        <tr>
+            <td class="tableb">{$lang_bridgemgr_php['password']}</td>
+            <td class="tableb"><input type="password" class="textinput" name="password" style="width: 100%" /></td>
+        </tr>
+        <tr>
+            <td class="tablef" colspan="2" align="center">
+                <input type="submit" name="submit" id="submit" value="{$lang_bridgemgr_php['disable_submit']}" class="button" />
+                <input type="hidden" name="step" value="attempt_to_disable" />
+            </td>
+        </tr>
+        <script language="javascript" type="text/javascript">
+        <!--
+        document.disable_integration.username.focus();
+        document.disable_integration.submit.disabled = true;
+
+EOT;
+print '        var countDownTime = '.$logon_allowed;
+echo <<<EOT
+
+        counter=setTimeout("countDown()", 1000);
+        var aktiv = window.setInterval("countDown()",1000);
+        var message = '{$lang_bridgemgr_php['wait']}';
+        function countDown(){
+                countDownTime--;
+                if (countDownTime <=0) {
+                    message = '{$lang_bridgemgr_php['disable_submit']}';
+                    document.getElementById('submit').disabled = false;
+                    countDownTime='';
+                    clearTimeout(counter);
+                    //return;
+                }
+                document.getElementById('submit').value = message +' '+countDownTime;
+        }
+        window.onload=countDown();
+        -->
+        </script>
+EOT;
+        endtable();
+        print '</form>';
+    break;
+    }
+    pagefooter();
+} // not in gallery admin mode --- end
+
+
+
+//////////////////////// main code end /////////////////////////////////
+
 ?>
\ No newline at end of file
diff -x .svn -aruN 1.4.24.src/calendar.php 1.4.25.src/calendar.php
--- 1.4.24.src/calendar.php	2009-05-21 15:03:09.000000000 -0500
+++ 1.4.25.src/calendar.php	2009-05-26 11:25:52.000000000 -0500
@@ -1,519 +1,519 @@
-<?php
-/*************************
-  Coppermine Photo Gallery
-  ************************
-  Copyright (c) 2003-2009 Coppermine Dev Team
-  v1.1 originally written by Gregory DEMAR
-
-  This program is free software; you can redistribute it and/or modify
-  it under the terms of the GNU General Public License version 3
-  as published by the Free Software Foundation.
-  
-  ********************************************
-  Coppermine version: 1.4.24
-  $HeadURL: https://coppermine.svn.sourceforge.net/svnroot/coppermine/trunk/cpg1.4.x/calendar.php $
-  $Revision: 5969 $
-  $Author: gaugau $
-  $Date: 2009-05-21 22:03:33 +0200 (Do, 21 Mai 2009) $
-**********************************************/
-
-define('IN_COPPERMINE', true);
-define('CALENDAR_PHP', true);
-
-require('include/init.inc.php');
-
-
-if ($_REQUEST['action'] == 'banning') {
-?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
-<html>
-  <head>
-    <title><?php print $lang_calendar_php['title']; ?></title>
-    <meta http-equiv="Content-Type" content="text/html; charset=<?php echo 'language file' ? $lang_charset : $CONFIG['charset']; ?>" />
-    <meta http-equiv="Pragma" content="no-cache" />
-<link rel="stylesheet" href="themes/<?php echo $CONFIG['theme']; ?>
-/style.css" />
-<script language="javascript" type="text/javascript">
-
-// get the date format
-var calendarFormat = 'y-m-d';
-var targetDateField = window.opener.calendarTarget;
-
-function sendDate(month, day, year)
-{
-    // pad with blank zeros numbers under 10
-    month = month < 10 ? '0' + month : month;
-    day   = day   < 10 ? '0' + day   : day;
-    selectedDate = parent.calendarFormat;
-    selectedDate = selectedDate.replace(/m/, month);
-    selectedDate = selectedDate.replace(/d/, day);
-    selectedDate = selectedDate.replace(/y/, year);
-    //selectedDate = selectedDate + ' 00:00:00';
-    if (selectedDate == '-0-0') {
-       selectedDate = '';
-       }
-    targetDateField.value = selectedDate;
-    parent.window.close();
-}
-</script>
-</head>
-<body>
-<?php
-
-class MyCalendar extends Calendar
-{
-    function getCalendarLink($month, $year)
-    {
-        // Redisplay the current page, but with some parameters
-        // to set the new month and year
-        
-        // Fixed possible security hole
-        $s = $_SERVER['PHP_SELF']; //getenv('SCRIPT_NAME');
-        return "$s?action=".$_REQUEST['action']."&amp;month=$month&amp;year=$year";
-    }
-
-    function getDateLink($day, $month, $year)
-    {
-            $link = (mktime(0,0,0,$month, $day, $year) > localised_timestamp())  ? "<a href=\"#\" onclick=\"sendDate('".$month."', '".$day."', '".$year."');\" class=\"user_thumb_infobox\">" : '';
-        return $link;
-    }
-}
-
-$today = getdate();
-
-$month = (int) $_REQUEST['month'];
-$year = (int) $_REQUEST['year'];
-
-if ($year == 0) {
-    $year = $today['year'];
-}
-
-if ($month == 0) {
-    $month = $today['mon'];
-}
-
-$cal = new MyCalendar;
-$cal->setMonthNames($lang_month);
-$cal->setDayNames($lang_day_of_week);
-$cal->setStartDay(1);
-echo $cal->getMonthView($month, $year);
-
-?>
-<div align="center"><a href="javascript:window.close()" class="admin_menu"><?php print $lang_calendar_php['close']; ?></a> <a href="#" onclick="sendDate('', '', '');" class="admin_menu"><?php print $lang_calendar_php['clear_date']; ?></a></div>
-<br />
-</body>
-</html>
-<?php
-} // end action=banning
-
-
-
-/////////////////////////////////////////////////////////////////////////////////////////
-// PHP Calendar Class Version 1.4 (5th March 2001)
-//
-// Copyright David Wilkinson 2000 - 2001. All Rights reserved.
-//
-// This software may be used, modified and distributed freely
-// providing this copyright notice remains intact at the head
-// of the file.
-//
-// This software is freeware. The author accepts no liability for
-// any loss or damages whatsoever incurred directly or indirectly
-// from the use of this script. The author of this software makes
-// no claims as to its fitness for any purpose whatsoever. If you
-// wish to use this software you should first satisfy yourself that
-// it meets your requirements.
-//
-// URL:   http://www.cascade.org.uk/software/php/calendar/
-// Email: davidw@cascade.org.uk
-
-class Calendar
-{
-    /*
-        Constructor for the Calendar class
-    */
-    function Calendar()
-    {
-    }
-
-
-    /*
-        Get the array of strings used to label the days of the week. This array contains seven
-        elements, one for each day of the week. The first entry in this array represents Sunday.
-    */
-    function getDayNames()
-    {
-        return $this->dayNames;
-    }
-
-
-    /*
-        Set the array of strings used to label the days of the week. This array must contain seven
-        elements, one for each day of the week. The first entry in this array represents Sunday.
-    */
-    function setDayNames($names)
-    {
-        $this->dayNames = $names;
-    }
-
-    /*
-        Get the array of strings used to label the months of the year. This array contains twelve
-        elements, one for each month of the year. The first entry in this array represents January.
-    */
-    function getMonthNames()
-    {
-        return $this->monthNames;
-    }
-
-    /*
-        Set the array of strings used to label the months of the year. This array must contain twelve
-        elements, one for each month of the year. The first entry in this array represents January.
-    */
-    function setMonthNames($names)
-    {
-        $this->monthNames = $names;
-    }
-
-
-
-    /*
-        Gets the start day of the week. This is the day that appears in the first column
-        of the calendar. Sunday = 0.
-    */
-      function getStartDay()
-    {
-        return $this->startDay;
-    }
-
-    /*
-        Sets the start day of the week. This is the day that appears in the first column
-        of the calendar. Sunday = 0.
-    */
-    function setStartDay($day)
-    {
-        $this->startDay = $day;
-    }
-
-
-    /*
-        Gets the start month of the year. This is the month that appears first in the year
-        view. January = 1.
-    */
-    function getStartMonth()
-    {
-        return $this->startMonth;
-    }
-
-    /*
-        Sets the start month of the year. This is the month that appears first in the year
-        view. January = 1.
-    */
-    function setStartMonth($month)
-    {
-        $this->startMonth = $month;
-    }
-
-
-    /*
-        Return the URL to link to in order to display a calendar for a given month/year.
-        You must override this method if you want to activate the "forward" and "back"
-        feature of the calendar.
-
-        Note: If you return an empty string from this function, no navigation link will
-        be displayed. This is the default behaviour.
-
-        If the calendar is being displayed in "year" view, $month will be set to zero.
-    */
-    //function getCalendarLink($month, $year)
-    //{
-    //    return "";
-    //}
-
-    /*
-        Return the URL to link to  for a given date.
-        You must override this method if you want to activate the date linking
-        feature of the calendar.
-
-        Note: If you return an empty string from this function, no navigation link will
-        be displayed. This is the default behaviour.
-    */
-    function getDateLink($day, $month, $year)
-    {
-        return "";
-    }
-
-
-    /*
-        Return the HTML for the current month
-    */
-    function getCurrentMonthView()
-    {
-        $d = getdate(localised_timestamp());
-        return $this->getMonthView($d["mon"], $d["year"]);
-    }
-
-
-    /*
-        Return the HTML for the current year
-    */
-    function getCurrentYearView()
-    {
-        $d = getdate(localised_timestamp());
-        return $this->getYearView($d["year"]);
-    }
-
-
-    /*
-        Return the HTML for a specified month
-    */
-    function getMonthView($month, $year)
-    {
-        return $this->getMonthHTML($month, $year);
-    }
-
-
-    /*
-        Return the HTML for a specified year
-    */
-    function getYearView($year)
-    {
-        return $this->getYearHTML($year);
-    }
-
-
-
-    /********************************************************************************
-
-        The rest are private methods. No user-servicable parts inside.
-
-        You shouldn't need to call any of these functions directly.
-
-    *********************************************************************************/
-
-
-    /*
-        Calculate the number of days in a month, taking into account leap years.
-    */
-    function getDaysInMonth($month, $year)
-    {
-        if ($month < 1 || $month > 12)
-        {
-            return 0;
-        }
-
-        $d = $this->daysInMonth[$month - 1];
-
-        if ($month == 2)
-        {
-            // Check for leap year
-            // Forget the 4000 rule, I doubt I'll be around then...
-
-            if ($year%4 == 0)
-            {
-                if ($year%100 == 0)
-                {
-                    if ($year%400 == 0)
-                    {
-                        $d = 29;
-                    }
-                }
-                else
-                {
-                    $d = 29;
-                }
-            }
-        }
-
-        return $d;
-    }
-
-
-    /*
-        Generate the HTML for a given month
-    */
-    function getMonthHTML($m, $y, $showYear = 1)
-    {
-        $s = "";
-
-        $a = $this->adjustDate($m, $y);
-        $month = $a[0];
-        $year = $a[1];
-
-      $daysInMonth = $this->getDaysInMonth($month, $year);
-      $date = getdate(mktime(12, 0, 0, $month, 1, $year));
-
-      $first = $date["wday"];
-      $monthName = $this->monthNames[$month - 1];
-
-      $prev = $this->adjustDate($month - 1, $year);
-      $next = $this->adjustDate($month + 1, $year);
-
-      if ($showYear == 1)
-      {
-          $prevMonth = $this->getCalendarLink($prev[0], $prev[1]);
-          $nextMonth = $this->getCalendarLink($next[0], $next[1]);
-      }
-      else
-      {
-          $prevMonth = "";
-          $nextMonth = "";
-      }
-
-      $header = $monthName . (($showYear > 0) ? " " . $year : "");
-
-      $s .= "<table class=\"maintable\" align=\"center\">\n";
-      $s .= "<tr>\n";
-      $s .= "<td align=\"center\" valign=\"top\">" . (($prevMonth == "") ? "&nbsp;" : "<a href=\"$prevMonth\" class=\"user_thumb_infobox\">&laquo;</a>")  . "</td>\n";
-      $s .= "<td align=\"center\" valign=\"top\" class=\"tableh1\" colspan=\"5\">$header</td>\n";
-      $s .= "<td align=\"center\" valign=\"top\">" . (($nextMonth == "") ? "&nbsp;" : "<a href=\"$nextMonth\" class=\"user_thumb_infobox\">&raquo;</a>")  . "</td>\n";
-      $s .= "</tr>\n";
-
-      $s .= "<tr>\n";
-      $s .= "<td align=\"center\" valign=\"top\" class=\"tableh1_compact\">" . $this->dayNames[($this->startDay)%7] . "</td>\n";
-      $s .= "<td align=\"center\" valign=\"top\" class=\"tableh1_compact\">" . $this->dayNames[($this->startDay+1)%7] . "</td>\n";
-      $s .= "<td align=\"center\" valign=\"top\" class=\"tableh1_compact\">" . $this->dayNames[($this->startDay+2)%7] . "</td>\n";
-      $s .= "<td align=\"center\" valign=\"top\" class=\"tableh1_compact\">" . $this->dayNames[($this->startDay+3)%7] . "</td>\n";
-      $s .= "<td align=\"center\" valign=\"top\" class=\"tableh1_compact\">" . $this->dayNames[($this->startDay+4)%7] . "</td>\n";
-      $s .= "<td align=\"center\" valign=\"top\" class=\"tableh1_compact\">" . $this->dayNames[($this->startDay+5)%7] . "</td>\n";
-      $s .= "<td align=\"center\" valign=\"top\" class=\"tableh1_compact\">" . $this->dayNames[($this->startDay+6)%7] . "</td>\n";
-      $s .= "</tr>\n";
-
-      // We need to work out what date to start at so that the first appears in the correct column
-      $d = $this->startDay + 1 - $first;
-      while ($d > 1)
-      {
-          $d -= 7;
-      }
-
-        // Make sure we know when today is, so that we can use a different CSS style
-        $today = getdate(time());
-
-      while ($d <= $daysInMonth)
-      {
-          $s .= "<tr>\n";
-
-          for ($i = 0; $i < 7; $i++)
-          {
-              $class = ($year == $today["year"] && $month == $today["mon"] && $d == $today["mday"]) ? "tableb" : "tableh2";
-              $s .= "<td class=\"$class\" align=\"right\" valign=\"top\">";
-              if ($d > 0 && $d <= $daysInMonth)
-              {
-                  $link = $this->getDateLink($d, $month, $year);
-                  $s .= (($link == "") ? $d : $link.$d."</a>");
-              }
-              else
-              {
-                  $s .= "&nbsp;";
-              }
-                $s .= "</td>\n";
-              $d++;
-          }
-          $s .= "</tr>\n";
-      }
-
-      $s .= "</table>\n";
-
-      return $s;
-    }
-
-
-    /*
-        Generate the HTML for a given year
-    */
-    function getYearHTML($year)
-    {
-        $s = "";
-      $prev = $this->getCalendarLink(0, $year - 1);
-      $next = $this->getCalendarLink(0, $year + 1);
-
-        $s .= "<table class=\"maintable\" border=\"0\">\n";
-        $s .= "<tr>";
-      $s .= "<td align=\"center\" valign=\"top\" align=\"left\">" . (($prev == "") ? "&nbsp;" : "<a href=\"$prev\">&lt;&lt;</a>")  . "</td>\n";
-        $s .= "<td class=\"tableh1\" valign=\"top\" align=\"center\">" . (($this->startMonth > 1) ? $year . " - " . ($year + 1) : $year) ."</td>\n";
-      $s .= "<td align=\"center\" valign=\"top\" align=\"right\">" . (($next == "") ? "&nbsp;" : "<a href=\"$next\">&gt;&gt;</a>")  . "</td>\n";
-        $s .= "</tr>\n";
-        $s .= "<tr>";
-        $s .= "<td class=\"tableh1_compact\" valign=\"top\">" . $this->getMonthHTML(0 + $this->startMonth, $year, 0) ."</td>\n";
-        $s .= "<td class=\"tableh1_compact\" valign=\"top\">" . $this->getMonthHTML(1 + $this->startMonth, $year, 0) ."</td>\n";
-        $s .= "<td class=\"tableh1_compact\" valign=\"top\">" . $this->getMonthHTML(2 + $this->startMonth, $year, 0) ."</td>\n";
-        $s .= "</tr>\n";
-        $s .= "<tr>\n";
-        $s .= "<td class=\"tableh1_compact\" valign=\"top\">" . $this->getMonthHTML(3 + $this->startMonth, $year, 0) ."</td>\n";
-        $s .= "<td class=\"tableh1_compact\" valign=\"top\">" . $this->getMonthHTML(4 + $this->startMonth, $year, 0) ."</td>\n";
-        $s .= "<td class=\"tableh1_compact\" valign=\"top\">" . $this->getMonthHTML(5 + $this->startMonth, $year, 0) ."</td>\n";
-        $s .= "</tr>\n";
-        $s .= "<tr>\n";
-        $s .= "<td class=\"tableh1_compact\" valign=\"top\">" . $this->getMonthHTML(6 + $this->startMonth, $year, 0) ."</td>\n";
-        $s .= "<td class=\"tableh1_compact\" valign=\"top\">" . $this->getMonthHTML(7 + $this->startMonth, $year, 0) ."</td>\n";
-        $s .= "<td class=\"tableh1_compact\" valign=\"top\">" . $this->getMonthHTML(8 + $this->startMonth, $year, 0) ."</td>\n";
-        $s .= "</tr>\n";
-        $s .= "<tr>\n";
-        $s .= "<td class=\"tableh1_compact\" valign=\"top\">" . $this->getMonthHTML(9 + $this->startMonth, $year, 0) ."</td>\n";
-        $s .= "<td class=\"tableh1_compact\" valign=\"top\">" . $this->getMonthHTML(10 + $this->startMonth, $year, 0) ."</td>\n";
-        $s .= "<td class=\"tableh1_compact\" valign=\"top\">" . $this->getMonthHTML(11 + $this->startMonth, $year, 0) ."</td>\n";
-        $s .= "</tr>\n";
-        $s .= "</table>\n";
-
-        return $s;
-    }
-
-    /*
-        Adjust dates to allow months > 12 and < 0. Just adjust the years appropriately.
-        e.g. Month 14 of the year 2001 is actually month 2 of year 2002.
-    */
-    function adjustDate($month, $year)
-    {
-        $a = array();
-        $a[0] = $month;
-        $a[1] = $year;
-
-        while ($a[0] > 12)
-        {
-            $a[0] -= 12;
-            $a[1]++;
-        }
-
-        while ($a[0] <= 0)
-        {
-            $a[0] += 12;
-            $a[1]--;
-        }
-
-        return $a;
-    }
-
-    /*
-        The start day of the week. This is the day that appears in the first column
-        of the calendar. Sunday = 0.
-    */
-    var $startDay = 0;
-
-    /*
-        The start month of the year. This is the month that appears in the first slot
-        of the calendar in the year view. January = 1.
-    */
-    var $startMonth = 1;
-
-    /*
-        The labels to display for the days of the week. The first entry in this array
-        represents Sunday.
-    */
-    var $dayNames = array("S", "M", "T", "W", "T", "F", "S");
-
-    /*
-        The labels to display for the months of the year. The first entry in this array
-        represents January.
-    */
-    var $monthNames = array("January", "February", "March", "April", "May", "June",
-                            "July", "August", "September", "October", "November", "December");
-
-
-    /*
-        The number of days in each month. You're unlikely to want to change this...
-        The first entry in this array represents January.
-    */
-    var $daysInMonth = array(31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31);
-
-}
-
-?>
+<?php
+/*************************
+  Coppermine Photo Gallery
+  ************************
+  Copyright (c) 2003-2009 Coppermine Dev Team
+  v1.1 originally written by Gregory DEMAR
+
+  This program is free software; you can redistribute it and/or modify
+  it under the terms of the GNU General Public License version 3
+  as published by the Free Software Foundation.
+  
+  ********************************************
+  Coppermine version: 1.4.25
+  $HeadURL: https://coppermine.svn.sourceforge.net/svnroot/coppermine/trunk/cpg1.4.x/calendar.php $
+  $Revision: 5997 $
+  $Author: gaugau $
+  $Date: 2009-05-26 08:43:24 +0200 (Di, 26 Mai 2009) $
+**********************************************/
+
+define('IN_COPPERMINE', true);
+define('CALENDAR_PHP', true);
+
+require('include/init.inc.php');
+
+
+if ($_REQUEST['action'] == 'banning') {
+?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html>
+  <head>
+    <title><?php print $lang_calendar_php['title']; ?></title>
+    <meta http-equiv="Content-Type" content="text/html; charset=<?php echo 'language file' ? $lang_charset : $CONFIG['charset']; ?>" />
+    <meta http-equiv="Pragma" content="no-cache" />
+<link rel="stylesheet" href="themes/<?php echo $CONFIG['theme']; ?>
+/style.css" />
+<script language="javascript" type="text/javascript">
+
+// get the date format
+var calendarFormat = 'y-m-d';
+var targetDateField = window.opener.calendarTarget;
+
+function sendDate(month, day, year)
+{
+    // pad with blank zeros numbers under 10
+    month = month < 10 ? '0' + month : month;
+    day   = day   < 10 ? '0' + day   : day;
+    selectedDate = parent.calendarFormat;
+    selectedDate = selectedDate.replace(/m/, month);
+    selectedDate = selectedDate.replace(/d/, day);
+    selectedDate = selectedDate.replace(/y/, year);
+    //selectedDate = selectedDate + ' 00:00:00';
+    if (selectedDate == '-0-0') {
+       selectedDate = '';
+       }
+    targetDateField.value = selectedDate;
+    parent.window.close();
+}
+</script>
+</head>
+<body>
+<?php
+
+class MyCalendar extends Calendar
+{
+    function getCalendarLink($month, $year)
+    {
+        // Redisplay the current page, but with some parameters
+        // to set the new month and year
+        
+        // Fixed possible security hole
+        $s = $_SERVER['PHP_SELF']; //getenv('SCRIPT_NAME');
+        return "$s?action=".$_REQUEST['action']."&amp;month=$month&amp;year=$year";
+    }
+
+    function getDateLink($day, $month, $year)
+    {
+            $link = (mktime(0,0,0,$month, $day, $year) > localised_timestamp())  ? "<a href=\"#\" onclick=\"sendDate('".$month."', '".$day."', '".$year."');\" class=\"user_thumb_infobox\">" : '';
+        return $link;
+    }
+}
+
+$today = getdate();
+
+$month = (int) $_REQUEST['month'];
+$year = (int) $_REQUEST['year'];
+
+if ($year == 0) {
+    $year = $today['year'];
+}
+
+if ($month == 0) {
+    $month = $today['mon'];
+}
+
+$cal = new MyCalendar;
+$cal->setMonthNames($lang_month);
+$cal->setDayNames($lang_day_of_week);
+$cal->setStartDay(1);
+echo $cal->getMonthView($month, $year);
+
+?>
+<div align="center"><a href="javascript:window.close()" class="admin_menu"><?php print $lang_calendar_php['close']; ?></a> <a href="#" onclick="sendDate('', '', '');" class="admin_menu"><?php print $lang_calendar_php['clear_date']; ?></a></div>
+<br />
+</body>
+</html>
+<?php
+} // end action=banning
+
+
+
+/////////////////////////////////////////////////////////////////////////////////////////
+// PHP Calendar Class Version 1.4 (5th March 2001)
+//
+// Copyright David Wilkinson 2000 - 2001. All Rights reserved.
+//
+// This software may be used, modified and distributed freely
+// providing this copyright notice remains intact at the head
+// of the file.
+//
+// This software is freeware. The author accepts no liability for
+// any loss or damages whatsoever incurred directly or indirectly
+// from the use of this script. The author of this software makes
+// no claims as to its fitness for any purpose whatsoever. If you
+// wish to use this software you should first satisfy yourself that
+// it meets your requirements.
+//
+// URL:   http://www.cascade.org.uk/software/php/calendar/
+// Email: davidw@cascade.org.uk
+
+class Calendar
+{
+    /*
+        Constructor for the Calendar class
+    */
+    function Calendar()
+    {
+    }
+
+
+    /*
+        Get the array of strings used to label the days of the week. This array contains seven
+        elements, one for each day of the week. The first entry in this array represents Sunday.
+    */
+    function getDayNames()
+    {
+        return $this->dayNames;
+    }
+
+
+    /*
+        Set the array of strings used to label the days of the week. This array must contain seven
+        elements, one for each day of the week. The first entry in this array represents Sunday.
+    */
+    function setDayNames($names)
+    {
+        $this->dayNames = $names;
+    }
+
+    /*
+        Get the array of strings used to label the months of the year. This array contains twelve
+        elements, one for each month of the year. The first entry in this array represents January.
+    */
+    function getMonthNames()
+    {
+        return $this->monthNames;
+    }
+
+    /*
+        Set the array of strings used to label the months of the year. This array must contain twelve
+        elements, one for each month of the year. The first entry in this array represents January.
+    */
+    function setMonthNames($names)
+    {
+        $this->monthNames = $names;
+    }
+
+
+
+    /*
+        Gets the start day of the week. This is the day that appears in the first column
+        of the calendar. Sunday = 0.
+    */
+      function getStartDay()
+    {
+        return $this->startDay;
+    }
+
+    /*
+        Sets the start day of the week. This is the day that appears in the first column
+        of the calendar. Sunday = 0.
+    */
+    function setStartDay($day)
+    {
+        $this->startDay = $day;
+    }
+
+
+    /*
+        Gets the start month of the year. This is the month that appears first in the year
+        view. January = 1.
+    */
+    function getStartMonth()
+    {
+        return $this->startMonth;
+    }
+
+    /*
+        Sets the start month of the year. This is the month that appears first in the year
+        view. January = 1.
+    */
+    function setStartMonth($month)
+    {
+        $this->startMonth = $month;
+    }
+
+
+    /*
+        Return the URL to link to in order to display a calendar for a given month/year.
+        You must override this method if you want to activate the "forward" and "back"
+        feature of the calendar.
+
+        Note: If you return an empty string from this function, no navigation link will
+        be displayed. This is the default behaviour.
+
+        If the calendar is being displayed in "year" view, $month will be set to zero.
+    */
+    //function getCalendarLink($month, $year)
+    //{
+    //    return "";
+    //}
+
+    /*
+        Return the URL to link to  for a given date.
+        You must override this method if you want to activate the date linking
+        feature of the calendar.
+
+        Note: If you return an empty string from this function, no navigation link will
+        be displayed. This is the default behaviour.
+    */
+    function getDateLink($day, $month, $year)
+    {
+        return "";
+    }
+
+
+    /*
+        Return the HTML for the current month
+    */
+    function getCurrentMonthView()
+    {
+        $d = getdate(localised_timestamp());
+        return $this->getMonthView($d["mon"], $d["year"]);
+    }
+
+
+    /*
+        Return the HTML for the current year
+    */
+    function getCurrentYearView()
+    {
+        $d = getdate(localised_timestamp());
+        return $this->getYearView($d["year"]);
+    }
+
+
+    /*
+        Return the HTML for a specified month
+    */
+    function getMonthView($month, $year)
+    {
+        return $this->getMonthHTML($month, $year);
+    }
+
+
+    /*
+        Return the HTML for a specified year
+    */
+    function getYearView($year)
+    {
+        return $this->getYearHTML($year);
+    }
+
+
+
+    /********************************************************************************
+
+        The rest are private methods. No user-servicable parts inside.
+
+        You shouldn't need to call any of these functions directly.
+
+    *********************************************************************************/
+
+
+    /*
+        Calculate the number of days in a month, taking into account leap years.
+    */
+    function getDaysInMonth($month, $year)
+    {
+        if ($month < 1 || $month > 12)
+        {
+            return 0;
+        }
+
+        $d = $this->daysInMonth[$month - 1];
+
+        if ($month == 2)
+        {
+            // Check for leap year
+            // Forget the 4000 rule, I doubt I'll be around then...
+
+            if ($year%4 == 0)
+            {
+                if ($year%100 == 0)
+                {
+                    if ($year%400 == 0)
+                    {
+                        $d = 29;
+                    }
+                }
+                else
+                {
+                    $d = 29;
+                }
+            }
+        }
+
+        return $d;
+    }
+
+
+    /*
+        Generate the HTML for a given month
+    */
+    function getMonthHTML($m, $y, $showYear = 1)
+    {
+        $s = "";
+
+        $a = $this->adjustDate($m, $y);
+        $month = $a[0];
+        $year = $a[1];
+
+      $daysInMonth = $this->getDaysInMonth($month, $year);
+      $date = getdate(mktime(12, 0, 0, $month, 1, $year));
+
+      $first = $date["wday"];
+      $monthName = $this->monthNames[$month - 1];
+
+      $prev = $this->adjustDate($month - 1, $year);
+      $next = $this->adjustDate($month + 1, $year);
+
+      if ($showYear == 1)
+      {
+          $prevMonth = $this->getCalendarLink($prev[0], $prev[1]);
+          $nextMonth = $this->getCalendarLink($next[0], $next[1]);
+      }
+      else
+      {
+          $prevMonth = "";
+          $nextMonth = "";
+      }
+
+      $header = $monthName . (($showYear > 0) ? " " . $year : "");
+
+      $s .= "<table class=\"maintable\" align=\"center\">\n";
+      $s .= "<tr>\n";
+      $s .= "<td align=\"center\" valign=\"top\">" . (($prevMonth == "") ? "&nbsp;" : "<a href=\"$prevMonth\" class=\"user_thumb_infobox\">&laquo;</a>")  . "</td>\n";
+      $s .= "<td align=\"center\" valign=\"top\" class=\"tableh1\" colspan=\"5\">$header</td>\n";
+      $s .= "<td align=\"center\" valign=\"top\">" . (($nextMonth == "") ? "&nbsp;" : "<a href=\"$nextMonth\" class=\"user_thumb_infobox\">&raquo;</a>")  . "</td>\n";
+      $s .= "</tr>\n";
+
+      $s .= "<tr>\n";
+      $s .= "<td align=\"center\" valign=\"top\" class=\"tableh1_compact\">" . $this->dayNames[($this->startDay)%7] . "</td>\n";
+      $s .= "<td align=\"center\" valign=\"top\" class=\"tableh1_compact\">" . $this->dayNames[($this->startDay+1)%7] . "</td>\n";
+      $s .= "<td align=\"center\" valign=\"top\" class=\"tableh1_compact\">" . $this->dayNames[($this->startDay+2)%7] . "</td>\n";
+      $s .= "<td align=\"center\" valign=\"top\" class=\"tableh1_compact\">" . $this->dayNames[($this->startDay+3)%7] . "</td>\n";
+      $s .= "<td align=\"center\" valign=\"top\" class=\"tableh1_compact\">" . $this->dayNames[($this->startDay+4)%7] . "</td>\n";
+      $s .= "<td align=\"center\" valign=\"top\" class=\"tableh1_compact\">" . $this->dayNames[($this->startDay+5)%7] . "</td>\n";
+      $s .= "<td align=\"center\" valign=\"top\" class=\"tableh1_compact\">" . $this->dayNames[($this->startDay+6)%7] . "</td>\n";
+      $s .= "</tr>\n";
+
+      // We need to work out what date to start at so that the first appears in the correct column
+      $d = $this->startDay + 1 - $first;
+      while ($d > 1)
+      {
+          $d -= 7;
+      }
+
+        // Make sure we know when today is, so that we can use a different CSS style
+        $today = getdate(time());
+
+      while ($d <= $daysInMonth)
+      {
+          $s .= "<tr>\n";
+
+          for ($i = 0; $i < 7; $i++)
+          {
+              $class = ($year == $today["year"] && $month == $today["mon"] && $d == $today["mday"]) ? "tableb" : "tableh2";
+              $s .= "<td class=\"$class\" align=\"right\" valign=\"top\">";
+              if ($d > 0 && $d <= $daysInMonth)
+              {
+                  $link = $this->getDateLink($d, $month, $year);
+                  $s .= (($link == "") ? $d : $link.$d."</a>");
+              }
+              else
+              {
+                  $s .= "&nbsp;";
+              }
+                $s .= "</td>\n";
+              $d++;
+          }
+          $s .= "</tr>\n";
+      }
+
+      $s .= "</table>\n";
+
+      return $s;
+    }
+
+
+    /*
+        Generate the HTML for a given year
+    */
+    function getYearHTML($year)
+    {
+        $s = "";
+      $prev = $this->getCalendarLink(0, $year - 1);
+      $next = $this->getCalendarLink(0, $year + 1);
+
+        $s .= "<table class=\"maintable\" border=\"0\">\n";
+        $s .= "<tr>";
+      $s .= "<td align=\"center\" valign=\"top\" align=\"left\">" . (($prev == "") ? "&nbsp;" : "<a href=\"$prev\">&lt;&lt;</a>")  . "</td>\n";
+        $s .= "<td class=\"tableh1\" valign=\"top\" align=\"center\">" . (($this->startMonth > 1) ? $year . " - " . ($year + 1) : $year) ."</td>\n";
+      $s .= "<td align=\"center\" valign=\"top\" align=\"right\">" . (($next == "") ? "&nbsp;" : "<a href=\"$next\">&gt;&gt;</a>")  . "</td>\n";
+        $s .= "</tr>\n";
+        $s .= "<tr>";
+        $s .= "<td class=\"tableh1_compact\" valign=\"top\">" . $this->getMonthHTML(0 + $this->startMonth, $year, 0) ."</td>\n";
+        $s .= "<td class=\"tableh1_compact\" valign=\"top\">" . $this->getMonthHTML(1 + $this->startMonth, $year, 0) ."</td>\n";
+        $s .= "<td class=\"tableh1_compact\" valign=\"top\">" . $this->getMonthHTML(2 + $this->startMonth, $year, 0) ."</td>\n";
+        $s .= "</tr>\n";
+        $s .= "<tr>\n";
+        $s .= "<td class=\"tableh1_compact\" valign=\"top\">" . $this->getMonthHTML(3 + $this->startMonth, $year, 0) ."</td>\n";
+        $s .= "<td class=\"tableh1_compact\" valign=\"top\">" . $this->getMonthHTML(4 + $this->startMonth, $year, 0) ."</td>\n";
+        $s .= "<td class=\"tableh1_compact\" valign=\"top\">" . $this->getMonthHTML(5 + $this->startMonth, $year, 0) ."</td>\n";
+        $s .= "</tr>\n";
+        $s .= "<tr>\n";
+        $s .= "<td class=\"tableh1_compact\" valign=\"top\">" . $this->getMonthHTML(6 + $this->startMonth, $year, 0) ."</td>\n";
+        $s .= "<td class=\"tableh1_compact\" valign=\"top\">" . $this->getMonthHTML(7 + $this->startMonth, $year, 0) ."</td>\n";
+        $s .= "<td class=\"tableh1_compact\" valign=\"top\">" . $this->getMonthHTML(8 + $this->startMonth, $year, 0) ."</td>\n";
+        $s .= "</tr>\n";
+        $s .= "<tr>\n";
+        $s .= "<td class=\"tableh1_compact\" valign=\"top\">" . $this->getMonthHTML(9 + $this->startMonth, $year, 0) ."</td>\n";
+        $s .= "<td class=\"tableh1_compact\" valign=\"top\">" . $this->getMonthHTML(10 + $this->startMonth, $year, 0) ."</td>\n";
+        $s .= "<td class=\"tableh1_compact\" valign=\"top\">" . $this->getMonthHTML(11 + $this->startMonth, $year, 0) ."</td>\n";
+        $s .= "</tr>\n";
+        $s .= "</table>\n";
+
+        return $s;
+    }
+
+    /*
+        Adjust dates to allow months > 12 and < 0. Just adjust the years appropriately.
+        e.g. Month 14 of the year 2001 is actually month 2 of year 2002.
+    */
+    function adjustDate($month, $year)
+    {
+        $a = array();
+        $a[0] = $month;
+        $a[1] = $year;
+
+        while ($a[0] > 12)
+        {
+            $a[0] -= 12;
+            $a[1]++;
+        }
+
+        while ($a[0] <= 0)
+        {
+            $a[0] += 12;
+            $a[1]--;
+        }
+
+        return $a;
+    }
+
+    /*
+        The start day of the week. This is the day that appears in the first column
+        of the calendar. Sunday = 0.
+    */
+    var $startDay = 0;
+
+    /*
+        The start month of the year. This is the month that appears in the first slot
+        of the calendar in the year view. January = 1.
+    */
+    var $startMonth = 1;
+
+    /*
+        The labels to display for the days of the week. The first entry in this array
+        represents Sunday.
+    */
+    var $dayNames = array("S", "M", "T", "W", "T", "F", "S");
+
+    /*
+        The labels to display for the months of the year. The first entry in this array
+        represents January.
+    */
+    var $monthNames = array("January", "February", "March", "April", "May", "June",
+                            "July", "August", "September", "October", "November", "December");
+
+
+    /*
+        The number of days in each month. You're unlikely to want to change this...
+        The first entry in this array represents January.
+    */
+    var $daysInMonth = array(31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31);
+
+}
+
+?>
diff -x .svn -aruN 1.4.24.src/catmgr.php 1.4.25.src/catmgr.php
--- 1.4.24.src/catmgr.php	2009-05-21 15:03:09.000000000 -0500
+++ 1.4.25.src/catmgr.php	2009-05-26 11:25:52.000000000 -0500
@@ -1,479 +1,479 @@
-<?php
-/*************************
-  Coppermine Photo Gallery
-  ************************
-  Copyright (c) 2003-2009 Coppermine Dev Team
-  v1.1 originally written by Gregory DEMAR
-
-  This program is free software; you can redistribute it and/or modify
-  it under the terms of the GNU General Public License version 3
-  as published by the Free Software Foundation.
-  
-  ********************************************
-  Coppermine version: 1.4.24
-  $HeadURL: https://coppermine.svn.sourceforge.net/svnroot/coppermine/trunk/cpg1.4.x/catmgr.php $
-  $Revision: 5969 $
-  $Author: gaugau $
-  $Date: 2009-05-21 22:03:33 +0200 (Do, 21 Mai 2009) $
-**********************************************/
-
-define('IN_COPPERMINE', true);
-define('ALBMGR_PHP', true); // added this line as workaround for missing translation of *no category*. Should be removed in next version. GauGau 2005-08-09
-define('CATMGR_PHP', true);
-
-
-require('include/init.inc.php');
-
-//ob_end_flush(); //commented out, as it doesn't seem to do anything particularly helpful
-
-if (!GALLERY_ADMIN_MODE) cpg_die(ERROR, $lang_errors['access_denied'], __FILE__, __LINE__);
-// Fix categories that have an invalid parent
-function fix_cat_table()
-{
-    global $CONFIG;
-
-    $result = cpg_db_query("SELECT cid FROM {$CONFIG['TABLE_CATEGORIES']} WHERE 1");
-    if (mysql_num_rows($result) > 0) {
-        $set = '';
-        while ($row = mysql_fetch_array($result)) $set .= $row['cid'] . ',';
-        $set = '(' . substr($set, 0, -1) . ')';
-        $sql = "UPDATE {$CONFIG['TABLE_CATEGORIES']} " . "SET parent = '0' " . "WHERE parent=cid OR parent NOT IN $set";
-        $result = cpg_db_query($sql);
-    }
-}
-
-function get_subcat_data($parent, $ident = '')
-{
-    global $CONFIG, $CAT_LIST;
-    if ($CONFIG['categories_alpha_sort'] == 1) {
-    $sort_query = 'name';
-    } else {
-    $sort_query = 'pos';
-    }
-
-    $sql = "SELECT cid, name, description " . "FROM {$CONFIG['TABLE_CATEGORIES']} " . "WHERE parent = '$parent' " . "ORDER BY $sort_query";
-    $result = cpg_db_query($sql);
-
-    if (($cat_count = mysql_num_rows($result)) > 0) {
-        $rowset = cpg_db_fetch_rowset($result);
-        $pos = 0;
-        foreach ($rowset as $subcat) {
-            if ($pos > 0) {
-                $CAT_LIST[] = array('cid' => $subcat['cid'],
-                    'parent' => $parent,
-                    'pos' => $pos++,
-                    'prev' => $prev_cid,
-                    'cat_count' => $cat_count,
-                    'name' => $ident . $subcat['name']);
-                $CAT_LIST[$last_index]['next'] = $subcat['cid'];
-            } else {
-                $CAT_LIST[] = array('cid' => $subcat['cid'],
-                    'parent' => $parent,
-                    'pos' => $pos++,
-                    'cat_count' => $cat_count,
-                    'name' => $ident . $subcat['name']);
-            }
-            $prev_cid = $subcat['cid'];
-            $last_index = count($CAT_LIST) -1;
-            get_subcat_data($subcat['cid'], $ident . '&nbsp;&nbsp;&nbsp;');
-        }
-    }
-}
-
-function update_cat_order()
-{
-    global $CAT_LIST, $CONFIG;
-
-    foreach ($CAT_LIST as $category)
-    cpg_db_query("UPDATE {$CONFIG['TABLE_CATEGORIES']} SET pos='{$category['pos']}' WHERE cid = '{$category['cid']}' LIMIT 1");
-}
-
-function cat_list_box($highlight = 0, $curr_cat, $on_change_refresh = true)
-{
-    global $CAT_LIST, $lang_albmgr_php; //$PHP_SELF,
-
-    if ($on_change_refresh) {
-        $lb = <<< EOT
-                        <select onChange="if(this.options[this.selectedIndex].value) window.location.href='{$_SERVER['PHP_SELF']}?op=setparent&amp;cid=$curr_cat&amp;parent='+this.options[this.selectedIndex].value;"  name="parent" class="listbox">
-
-EOT;
-    } else {
-        $lb = <<< EOT
-                        <select name="parent" class="listbox">
-
-EOT;
-    }
-    $lb .= '                        <option value="0"' . ($highlight == 0 ? ' selected': '') . '>' . $lang_albmgr_php['no_category'] . "</option>\n";
-    foreach($CAT_LIST as $category) if ($category['cid'] != 1 && $category['cid'] != $curr_cat) {
-        $lb .= '                        <option value="' . $category['cid'] . '"' . ($highlight == $category['cid'] ? ' selected': '') . ">" . $category['name'] . "</option>\n";
-    } elseif ($category['cid'] != 1 && $category['cid'] == $curr_cat) {
-        $lb .= '                        <option value="' . $category['parent'] . '"' . ($highlight == $category['cid'] ? ' selected': '') . ">" . $category['name'] . "</option>\n";
-    }
-
-    $lb .= <<<EOT
-                        </select>
-
-EOT;
-
-    return $lb;
-}
-
-function form_alb_thumb()
-{
-    global $CONFIG, $lang_catmgr_php, $lang_modifyalb_php, $current_category, $cid,$USER_DATA;
-    $results = cpg_db_query("SELECT pid, filepath, filename, url_prefix FROM {$CONFIG['TABLE_PICTURES']},{$CONFIG['TABLE_ALBUMS']} WHERE {$CONFIG['TABLE_PICTURES']}.aid = {$CONFIG['TABLE_ALBUMS']}.aid AND {$CONFIG['TABLE_ALBUMS']}.category = '$cid' AND approved='YES' ORDER BY filename");
-    if (mysql_num_rows($results) == 0) {
-        echo <<<EOT
-        <tr>
-                <td class="tableb" valign="top">
-                        {$lang_modifyalb_php['alb_thumb']}
-                </td>
-                <td class="tableb" valign="top">
-                        <i>{$lang_modifyalb_php['alb_empty']}</i>
-                        <input type="hidden" name="thumb" value="0" />
-                </td>
-        </tr>
-
-EOT;
-        return;
-    }
-    $cpg_nopic_data = cpg_get_system_thumb('nopic.jpg',$USER_DATA['user_id']);
-    $initial_thumb_url = $cpg_nopic_data['thumb']; //'images/nopic.jpg';
-
-    echo <<<EOT
-<script language="JavaScript" type="text/JavaScript">
-var Pic = new Array()
-
-Pic[0] = '$initial_thumb_url'
-
-EOT;
-
-    $img_list = array(0 => $lang_modifyalb_php['last_uploaded']);
-    while ($picture = mysql_fetch_array($results)) {
-        $thumb_url = get_pic_url($picture, 'thumb');
-        echo "Pic[{$picture['pid']}] = '" . $thumb_url . "'\n";
-        if ($picture['pid'] == $current_category['thumb']) $initial_thumb_url = $thumb_url;
-        $img_list[$picture['pid']] = htmlspecialchars($picture['filename']);
-    } // while
-    echo <<<EOT
-
-function ChangeThumb(index)
-{
-        document.images.Thumb.src = Pic[index]
-}
-</script>
-
-EOT;
-    $thumb_cell_height = $CONFIG['thumb_width'] + 17;
-    echo <<<EOT
-        <tr>
-                <td class="tableb" valign="top">
-                        {$lang_catmgr_php['cat_thumb']}
-                </td>
-                <td class="tableb" align="center">
-                        <table cellspacing="0" cellpadding="5" border="0">
-                                <tr>
-                                        <td width="$thumb_cell_height" height="$thumb_cell_height" align="center"><img src="$initial_thumb_url" name='Thumb' class='image' /><br /></td>
-                                </tr>
-                        </table>
-                        <select name="thumb" class="listbox" onChange="if(this.options[this.selectedIndex].value) ChangeThumb(this.options[this.selectedIndex].value);" onKeyUp="if(this.options[this.selectedIndex].value) ChangeThumb(this.options[this.selectedIndex].value);">
-
-EOT;
-    foreach($img_list as $pid => $pic_name) {
-        echo '                                <option value="' . $pid . '"' . ($pid == $current_category['thumb'] ? ' selected':'') . '>' . $pic_name . "</option>\n";
-    }
-    echo <<<EOT
-                        </select>
-                </td>
-        </tr>
-
-EOT;
-}
-
-function display_cat_list()
-{
-    global $CAT_LIST, $CONFIG; //$PHP_SELF,
-
-    $CAT_LIST3 = $CAT_LIST;
-
-    foreach ($CAT_LIST3 as $key => $category) {
-        echo "        <tr>\n";
-        echo '                <td class="tableb" width="80%"><b>' . $category['name'] . '</b></td>' . "\n";
-
-        if ($category['pos'] > 0 && $CONFIG['categories_alpha_sort'] != 1) {
-            echo '                <td class="tableb" width="4%"><a href="' . $_SERVER['PHP_SELF'] . '?op=move&amp;cid1=' . $category['cid'] . '&amp;pos1=' . ($category['pos']-1) . '&amp;cid2=' . $category['prev'] . '&amp;pos2=' . ($category['pos']) . '">' . '<img src="images/up.gif"  border="0" alt="" />' . '</a></td>' . "\n";
-        } else {
-            echo '                <td class="tableb" width="4%">' . '&nbsp;' . '</td>' . "\n";
-        }
-
-        if ($category['pos'] < $category['cat_count']-1  && $CONFIG['categories_alpha_sort'] != 1) {
-            echo '                <td class="tableb" width="4%"><a href="' . $_SERVER['PHP_SELF'] . '?op=move&amp;cid1=' . $category['cid'] . '&amp;pos1=' . ($category['pos'] + 1) . '&amp;cid2=' . $category['next'] . '&amp;pos2=' . ($category['pos']) . '">' . '<img src="images/down.gif"  border="0" alt="" />' . '</a></td>' . "\n";
-        } else {
-            echo '                <td class="tableb" width="4%">' . '&nbsp;' . '</td>' . "\n";
-        }
-
-        if ($category['cid'] != 1) {
-            echo '                <td class="tableb" width="4%"><a href="' . $_SERVER['PHP_SELF'] . '?op=deletecat&amp;cid=' . $category['cid'] . '" onClick="return confirmDel(\'' . addslashes(str_replace('&nbsp;', '', $category['name'])) . '\')">' . '<img src="images/delete.gif"  border="0" alt="" />' . '</a></td>' . "\n";
-        } else {
-            echo '                <td class="tableb" width="4%">' . '&nbsp;' . '</td>' . "\n";
-        }
-
-        echo '                <td class="tableb" width="4%">' . '<a href="' . $_SERVER['PHP_SELF'] . '?op=editcat&amp;cid=' . $category['cid'] . '">' . '<img src="images/edit.gif" border="0" alt="" />' . '</a></td>' . "\n";
-        echo '                <td class="tableb" width="4%">' . "\n" . cat_list_box($category['parent'], $category['cid']) . "\n" . '</td>' . "\n";
-        echo "        </tr>\n";
-    }
-}
-
-function verify_children($parent, $cid)
-{
-    global $CONFIG, $children;
-
-    $sql = "SELECT cid " . "FROM {$CONFIG['TABLE_CATEGORIES']} " . "WHERE parent = '$parent' ";
-    $result = cpg_db_query($sql);
-
-    if (($cat_count = mysql_num_rows($result)) > 0) {
-                while ($row = mysql_fetch_array($result)) {
-                       $children[]=$row['cid'];
-       // call this function again to this this
-       // child's children
-                       verify_children($row['cid'], $cid);
-              }
-    }
-        return false;
-}
-
-
-if (isset($_POST['update_config'])) {
-    $value = $_POST['categories_alpha_sort'];
-            cpg_db_query("UPDATE {$CONFIG['TABLE_CONFIG']} SET value = '$value' WHERE name = 'categories_alpha_sort'");
-            $CONFIG['categories_alpha_sort'] = $value;
-            if ($CONFIG['log_mode'] == CPG_LOG_ALL) {
-                    log_write('CONFIG UPDATE SQL: '.
-                              "UPDATE {$CONFIG['TABLE_CONFIG']} SET value = '$value' WHERE name = 'categories_alpha_sort'\n".
-                              'TIME: '.date("F j, Y, g:i a")."\n".
-                              'USER: '.$USER_DATA['user_name'],
-                              CPG_DATABASE_LOG
-                              );
-            }
-
-}
-
-
-$op = isset($_GET['op']) ? $_GET['op'] : '';
-$current_category = array('cid' => '0', 'name' => '', 'parent' => '0', 'description' => '');
-
-switch ($op) {
-    case 'move':
-        if (!isset($_GET['cid1']) || !isset($_GET['cid2']) || !isset($_GET['pos1']) || !isset($_GET['pos2'])) cpg_die(CRITICAL_ERROR, sprintf($lang_catmgr_php['miss_param'], 'move'), __FILE__, __LINE__);
-
-        $cid1 = (int)$_GET['cid1'];
-        $cid2 = (int)$_GET['cid2'];
-        $pos1 = (int)$_GET['pos1'];
-        $pos2 = (int)$_GET['pos2'];
-
-        cpg_db_query("UPDATE {$CONFIG['TABLE_CATEGORIES']} SET pos='$pos1' WHERE cid = '$cid1' LIMIT 1");
-        cpg_db_query("UPDATE {$CONFIG['TABLE_CATEGORIES']} SET pos='$pos2' WHERE cid = '$cid2' LIMIT 1");
-        break;
-
-    case 'setparent':
-        if (!isset($_GET['cid']) || !isset($_GET['parent'])) cpg_die(CRITICAL_ERROR, sprintf($lang_catmgr_php['miss_param'], 'setparent'), __FILE__, __LINE__);
-
-        $cid = (int)$_GET['cid'];
-        $parent = (int)$_GET['parent'];
-                $children=array();
-                verify_children($cid, $cid);
-                if (!in_array($parent, $children)){
-                cpg_db_query("UPDATE {$CONFIG['TABLE_CATEGORIES']} SET parent='$parent', pos='-1' WHERE cid = '$cid' LIMIT 1");
-                }else{
-                        cpg_die(ERROR, "You cannot move a category into its own child", __FILE__, __LINE__);
-                }
-                break;
-
-    case 'editcat':
-        if (!isset($_GET['cid'])) cpg_die(CRITICAL_ERROR, sprintf($lang_catmgr_php['miss_param'], 'editcat'), __FILE__, __LINE__);
-
-        $cid = (int)$_GET['cid'];
-        $result = cpg_db_query("SELECT cid, name, parent, description, thumb FROM {$CONFIG['TABLE_CATEGORIES']} WHERE cid = '$cid' LIMIT 1");
-
-        if (!mysql_num_rows($result)) cpg_die(ERROR, $lang_catmgr_php['unknown_cat'], __FILE__, __LINE__);
-        $current_category = mysql_fetch_array($result);
-        break;
-
-    case 'updatecat':
-        if (!isset($_POST['cid']) || !isset($_POST['parent']) || !isset($_POST['name']) || !isset($_POST['description'])) cpg_die(CRITICAL_ERROR, sprintf($lang_catmgr_php['miss_param'], 'updatecat'), __FILE__, __LINE__);
-
-                $name = trim($_POST['name']);
-                if (empty($name)){
-                        break;
-                }
-
-
-        $cid = (int)$_POST['cid'];
-        $parent = (int)$_POST['parent'];
-        $thumb = (int)$_POST['thumb'];
-        $name = trim($_POST['name']) ? addslashes($_POST['name']) : '&lt;???&gt;';
-        $description = addslashes($_POST['description']);
-                $children=array();
-                verify_children($cid, $cid);
-                if (!in_array($parent, $children)){
-                cpg_db_query("UPDATE {$CONFIG['TABLE_CATEGORIES']} SET parent='$parent', name='$name', description='$description', thumb='$thumb' WHERE cid = '$cid' LIMIT 1");
-                }else{
-                        cpg_db_query("UPDATE {$CONFIG['TABLE_CATEGORIES']} SET name='$name', description='$description', thumb='$thumb' WHERE cid = '$cid' LIMIT 1");
-                }
-        break;
-
-    case 'createcat':
-        if (!isset($_POST['parent']) || !isset($_POST['name']) || !isset($_POST['description'])) cpg_die(CRITICAL_ERROR, sprintf($lang_catmgr_php['miss_param'], 'createcat'), __FILE__, __LINE__);
-
-                $name = trim($_POST['name']);
-
-                if (empty($name)){
-                        break;
-                }
-
-
-                $parent = (int)$_POST['parent'];
-        $name = trim($_POST['name']) ? addslashes($_POST['name']) : '&lt;???&gt;';
-        $description = addslashes($_POST['description']);
-
-        cpg_db_query("INSERT INTO {$CONFIG['TABLE_CATEGORIES']} (pos, parent, name, description) VALUES ('10000', '$parent', '$name', '$description')");
-        break;
-
-    case 'deletecat':
-        if (!isset($_GET['cid'])) cpg_die(CRITICAL_ERROR, sprintf($lang_catmgr_php['miss_param'], 'deletecat'), __FILE__, __LINE__);
-
-        $cid = (int)$_GET['cid'];
-
-        $result = cpg_db_query("SELECT parent FROM {$CONFIG['TABLE_CATEGORIES']} WHERE cid = '$cid' LIMIT 1");
-        if ($cid == 1) cpg_die(ERROR, $lang_catmgr_php['usergal_cat_ro'], __FILE__, __LINE__);
-        if (!mysql_num_rows($result)) cpg_die(ERROR, $lang_catmgr_php['unknown_cat'], __FILE__, __LINE__);
-        $del_category = mysql_fetch_array($result);
-        $parent = $del_category['parent'];
-        $result = cpg_db_query("UPDATE {$CONFIG['TABLE_CATEGORIES']} SET parent='$parent' WHERE parent = '$cid'");
-        $result = cpg_db_query("UPDATE {$CONFIG['TABLE_ALBUMS']} SET category='$parent' WHERE category = '$cid'");
-        $result = cpg_db_query("DELETE FROM {$CONFIG['TABLE_CATEGORIES']} WHERE cid='$cid' LIMIT 1");
-        break;
-}
-
-fix_cat_table();
-get_subcat_data(0);
-if ($CONFIG['categories_alpha_sort'] != 1) {
-    update_cat_order();
-}
-
-pageheader($lang_catmgr_php['manage_cat']);
-echo <<<EOT
-
-<script language="javascript" type="text/javascript">
-function confirmDel(catName)
-{
-    return confirm("{$lang_catmgr_php['confirm_delete']} (" + catName + ") ?");
-}
-</script>
-
-
-EOT;
-
-starttable('100%');
-$help = '&nbsp;'.cpg_display_help('f=index.htm&amp;as=cat_cp&amp;ae=albmgr&amp;top=1', '600', '400');
-echo <<<EOT
-        <tr>
-                <td class="tableh1"><b><span class="statlink">{$lang_catmgr_php['category']}</span></b>$help</td>
-                <td colspan="4" class="tableh1" align="center"><b><span class="statlink">{$lang_catmgr_php['operations']}</span></b></td>
-                <td class="tableh1" align="center"><b><span class="statlink">{$lang_catmgr_php['move_into']}</span></b></td>
-        </tr>
-        <form method="get" action="{$_SERVER['PHP_SELF']}">
-
-EOT;
-
-display_cat_list();
-
-echo <<<EOT
-        </form>
-
-EOT;
-
-
-
-// configure sort category alphabetically
-    $yes_selected = $CONFIG['categories_alpha_sort'] ? 'checked="checked"' : '';
-    $no_selected = !$CONFIG['categories_alpha_sort'] ? 'checked="checked"' : '';
-
-echo <<<EOT
-        <script language="javascript" type="text/javascript">
-        <!--
-        function checkFormSubmit()
-        {
-        document.catsortconfig.submit()
-        }
-        -->
-        </script>
-
-<form name="catsortconfig" action="{$_SERVER['PHP_SELF']}" method="post">
-        <tr>
-            <td class="tablef" colspan="6">
-                        {$lang_catmgr_php['categories_alpha_sort']}
-                        &nbsp;&nbsp;
-                        <input type="radio" id="categories_alpha_sort1" name="categories_alpha_sort" value="1"  onclick="checkFormSubmit()" $yes_selected /><label for="categories_alpha_sort1" class="clickable_option">$lang_yes</label>
-                        &nbsp;&nbsp;
-                        <input type="radio" id="categories_alpha_sort0" name="categories_alpha_sort" value="0"  onclick="checkFormSubmit()" $no_selected /><label for="categories_alpha_sort0" class="clickable_option">$lang_no</label>
-                        &nbsp;&nbsp;
-                        <input type="hidden" name="update_config" value="{$lang_catmgr_php['save_cfg']}" class="button" />
-                </td>
-        </tr>
-        </form>
-EOT;
-endtable();
-
-echo "<br />\n";
-
-starttable('100%', $lang_catmgr_php['update_create'], 2);
-$lb = cat_list_box($current_category['parent'], $current_category['cid'], false);
-$op = $current_category['cid'] ? 'updatecat' : 'createcat';
-if ($CONFIG['show_bbcode_help']) {$description_help .= '&nbsp;'. cpg_display_help('f=index.html&amp;base=64&amp;h='.urlencode(base64_encode(serialize($lang_bbcode_help_title))).'&amp;t='.urlencode(base64_encode(serialize($lang_bbcode_help))),470,245);}
-echo <<<EOT
-        <form method="post" action="{$_SERVER['PHP_SELF']}?op=$op">
-        <input type="hidden" name="cid" value ="{$current_category['cid']}" />
-        <tr>
-            <td width="40%" class="tableb">
-                        {$lang_catmgr_php['parent_cat']}
-        </td>
-        <td width="60%" class="tableb" valign="top">
-                $lb
-                </td>
-        </tr>
-        <tr>
-            <td width="40%" class="tableb">
-                        {$lang_catmgr_php['cat_title']}
-        </td>
-        <td width="60%" class="tableb" valign="top">
-                <input type="text" style="width: 100%" name="name" value="{$current_category['name']}" class="textinput" />
-                </td>
-        </tr>
-        <tr>
-                <td class="tableb" valign="top">
-                        {$lang_catmgr_php['cat_desc']}$description_help
-                </td>
-                <td class="tableb" valign="top">
-                        <textarea name="description" rows="5" cols="40" style="width: 100%;" class="textinput">{$current_category['description']}</textarea>
-                </td>
-        </tr>
-EOT;
-
-form_alb_thumb();
-
-echo <<<EOT
-        <tr>
-                <td colspan="2" align="center" class="tablef">
-                <input type="submit" value="{$lang_catmgr_php['update_create']}" class="button" />
-                </td>
-                </form>
-        </tr>
-
-EOT;
-
-endtable();
-pagefooter();
-ob_end_flush();
-
+<?php
+/*************************
+  Coppermine Photo Gallery
+  ************************
+  Copyright (c) 2003-2009 Coppermine Dev Team
+  v1.1 originally written by Gregory DEMAR
+
+  This program is free software; you can redistribute it and/or modify
+  it under the terms of the GNU General Public License version 3
+  as published by the Free Software Foundation.
+  
+  ********************************************
+  Coppermine version: 1.4.25
+  $HeadURL: https://coppermine.svn.sourceforge.net/svnroot/coppermine/trunk/cpg1.4.x/catmgr.php $
+  $Revision: 5997 $
+  $Author: gaugau $
+  $Date: 2009-05-26 08:43:24 +0200 (Di, 26 Mai 2009) $
+**********************************************/
+
+define('IN_COPPERMINE', true);
+define('ALBMGR_PHP', true); // added this line as workaround for missing translation of *no category*. Should be removed in next version. GauGau 2005-08-09
+define('CATMGR_PHP', true);
+
+
+require('include/init.inc.php');
+
+//ob_end_flush(); //commented out, as it doesn't seem to do anything particularly helpful
+
+if (!GALLERY_ADMIN_MODE) cpg_die(ERROR, $lang_errors['access_denied'], __FILE__, __LINE__);
+// Fix categories that have an invalid parent
+function fix_cat_table()
+{
+    global $CONFIG;
+
+    $result = cpg_db_query("SELECT cid FROM {$CONFIG['TABLE_CATEGORIES']} WHERE 1");
+    if (mysql_num_rows($result) > 0) {
+        $set = '';
+        while ($row = mysql_fetch_array($result)) $set .= $row['cid'] . ',';
+        $set = '(' . substr($set, 0, -1) . ')';
+        $sql = "UPDATE {$CONFIG['TABLE_CATEGORIES']} " . "SET parent = '0' " . "WHERE parent=cid OR parent NOT IN $set";
+        $result = cpg_db_query($sql);
+    }
+}
+
+function get_subcat_data($parent, $ident = '')
+{
+    global $CONFIG, $CAT_LIST;
+    if ($CONFIG['categories_alpha_sort'] == 1) {
+    $sort_query = 'name';
+    } else {
+    $sort_query = 'pos';
+    }
+
+    $sql = "SELECT cid, name, description " . "FROM {$CONFIG['TABLE_CATEGORIES']} " . "WHERE parent = '$parent' " . "ORDER BY $sort_query";
+    $result = cpg_db_query($sql);
+
+    if (($cat_count = mysql_num_rows($result)) > 0) {
+        $rowset = cpg_db_fetch_rowset($result);
+        $pos = 0;
+        foreach ($rowset as $subcat) {
+            if ($pos > 0) {
+                $CAT_LIST[] = array('cid' => $subcat['cid'],
+                    'parent' => $parent,
+                    'pos' => $pos++,
+                    'prev' => $prev_cid,
+                    'cat_count' => $cat_count,
+                    'name' => $ident . $subcat['name']);
+                $CAT_LIST[$last_index]['next'] = $subcat['cid'];
+            } else {
+                $CAT_LIST[] = array('cid' => $subcat['cid'],
+                    'parent' => $parent,
+                    'pos' => $pos++,
+                    'cat_count' => $cat_count,
+                    'name' => $ident . $subcat['name']);
+            }
+            $prev_cid = $subcat['cid'];
+            $last_index = count($CAT_LIST) -1;
+            get_subcat_data($subcat['cid'], $ident . '&nbsp;&nbsp;&nbsp;');
+        }
+    }
+}
+
+function update_cat_order()
+{
+    global $CAT_LIST, $CONFIG;
+
+    foreach ($CAT_LIST as $category)
+    cpg_db_query("UPDATE {$CONFIG['TABLE_CATEGORIES']} SET pos='{$category['pos']}' WHERE cid = '{$category['cid']}' LIMIT 1");
+}
+
+function cat_list_box($highlight = 0, $curr_cat, $on_change_refresh = true)
+{
+    global $CAT_LIST, $lang_albmgr_php; //$PHP_SELF,
+
+    if ($on_change_refresh) {
+        $lb = <<< EOT
+                        <select onChange="if(this.options[this.selectedIndex].value) window.location.href='{$_SERVER['PHP_SELF']}?op=setparent&amp;cid=$curr_cat&amp;parent='+this.options[this.selectedIndex].value;"  name="parent" class="listbox">
+
+EOT;
+    } else {
+        $lb = <<< EOT
+                        <select name="parent" class="listbox">
+
+EOT;
+    }
+    $lb .= '                        <option value="0"' . ($highlight == 0 ? ' selected': '') . '>' . $lang_albmgr_php['no_category'] . "</option>\n";
+    foreach($CAT_LIST as $category) if ($category['cid'] != 1 && $category['cid'] != $curr_cat) {
+        $lb .= '                        <option value="' . $category['cid'] . '"' . ($highlight == $category['cid'] ? ' selected': '') . ">" . $category['name'] . "</option>\n";
+    } elseif ($category['cid'] != 1 && $category['cid'] == $curr_cat) {
+        $lb .= '                        <option value="' . $category['parent'] . '"' . ($highlight == $category['cid'] ? ' selected': '') . ">" . $category['name'] . "</option>\n";
+    }
+
+    $lb .= <<<EOT
+                        </select>
+
+EOT;
+
+    return $lb;
+}
+
+function form_alb_thumb()
+{
+    global $CONFIG, $lang_catmgr_php, $lang_modifyalb_php, $current_category, $cid,$USER_DATA;
+    $results = cpg_db_query("SELECT pid, filepath, filename, url_prefix FROM {$CONFIG['TABLE_PICTURES']},{$CONFIG['TABLE_ALBUMS']} WHERE {$CONFIG['TABLE_PICTURES']}.aid = {$CONFIG['TABLE_ALBUMS']}.aid AND {$CONFIG['TABLE_ALBUMS']}.category = '$cid' AND approved='YES' ORDER BY filename");
+    if (mysql_num_rows($results) == 0) {
+        echo <<<EOT
+        <tr>
+                <td class="tableb" valign="top">
+                        {$lang_modifyalb_php['alb_thumb']}
+                </td>
+                <td class="tableb" valign="top">
+                        <i>{$lang_modifyalb_php['alb_empty']}</i>
+                        <input type="hidden" name="thumb" value="0" />
+                </td>
+        </tr>
+
+EOT;
+        return;
+    }
+    $cpg_nopic_data = cpg_get_system_thumb('nopic.jpg',$USER_DATA['user_id']);
+    $initial_thumb_url = $cpg_nopic_data['thumb']; //'images/nopic.jpg';
+
+    echo <<<EOT
+<script language="JavaScript" type="text/JavaScript">
+var Pic = new Array()
+
+Pic[0] = '$initial_thumb_url'
+
+EOT;
+
+    $img_list = array(0 => $lang_modifyalb_php['last_uploaded']);
+    while ($picture = mysql_fetch_array($results)) {
+        $thumb_url = get_pic_url($picture, 'thumb');
+        echo "Pic[{$picture['pid']}] = '" . $thumb_url . "'\n";
+        if ($picture['pid'] == $current_category['thumb']) $initial_thumb_url = $thumb_url;
+        $img_list[$picture['pid']] = htmlspecialchars($picture['filename']);
+    } // while
+    echo <<<EOT
+
+function ChangeThumb(index)
+{
+        document.images.Thumb.src = Pic[index]
+}
+</script>
+
+EOT;
+    $thumb_cell_height = $CONFIG['thumb_width'] + 17;
+    echo <<<EOT
+        <tr>
+                <td class="tableb" valign="top">
+                        {$lang_catmgr_php['cat_thumb']}
+                </td>
+                <td class="tableb" align="center">
+                        <table cellspacing="0" cellpadding="5" border="0">
+                                <tr>
+                                        <td width="$thumb_cell_height" height="$thumb_cell_height" align="center"><img src="$initial_thumb_url" name='Thumb' class='image' /><br /></td>
+                                </tr>
+                        </table>
+                        <select name="thumb" class="listbox" onChange="if(this.options[this.selectedIndex].value) ChangeThumb(this.options[this.selectedIndex].value);" onKeyUp="if(this.options[this.selectedIndex].value) ChangeThumb(this.options[this.selectedIndex].value);">
+
+EOT;
+    foreach($img_list as $pid => $pic_name) {
+        echo '                                <option value="' . $pid . '"' . ($pid == $current_category['thumb'] ? ' selected':'') . '>' . $pic_name . "</option>\n";
+    }
+    echo <<<EOT
+                        </select>
+                </td>
+        </tr>
+
+EOT;
+}
+
+function display_cat_list()
+{
+    global $CAT_LIST, $CONFIG; //$PHP_SELF,
+
+    $CAT_LIST3 = $CAT_LIST;
+
+    foreach ($CAT_LIST3 as $key => $category) {
+        echo "        <tr>\n";
+        echo '                <td class="tableb" width="80%"><b>' . $category['name'] . '</b></td>' . "\n";
+
+        if ($category['pos'] > 0 && $CONFIG['categories_alpha_sort'] != 1) {
+            echo '                <td class="tableb" width="4%"><a href="' . $_SERVER['PHP_SELF'] . '?op=move&amp;cid1=' . $category['cid'] . '&amp;pos1=' . ($category['pos']-1) . '&amp;cid2=' . $category['prev'] . '&amp;pos2=' . ($category['pos']) . '">' . '<img src="images/up.gif"  border="0" alt="" />' . '</a></td>' . "\n";
+        } else {
+            echo '                <td class="tableb" width="4%">' . '&nbsp;' . '</td>' . "\n";
+        }
+
+        if ($category['pos'] < $category['cat_count']-1  && $CONFIG['categories_alpha_sort'] != 1) {
+            echo '                <td class="tableb" width="4%"><a href="' . $_SERVER['PHP_SELF'] . '?op=move&amp;cid1=' . $category['cid'] . '&amp;pos1=' . ($category['pos'] + 1) . '&amp;cid2=' . $category['next'] . '&amp;pos2=' . ($category['pos']) . '">' . '<img src="images/down.gif"  border="0" alt="" />' . '</a></td>' . "\n";
+        } else {
+            echo '                <td class="tableb" width="4%">' . '&nbsp;' . '</td>' . "\n";
+        }
+
+        if ($category['cid'] != 1) {
+            echo '                <td class="tableb" width="4%"><a href="' . $_SERVER['PHP_SELF'] . '?op=deletecat&amp;cid=' . $category['cid'] . '" onClick="return confirmDel(\'' . addslashes(str_replace('&nbsp;', '', $category['name'])) . '\')">' . '<img src="images/delete.gif"  border="0" alt="" />' . '</a></td>' . "\n";
+        } else {
+            echo '                <td class="tableb" width="4%">' . '&nbsp;' . '</td>' . "\n";
+        }
+
+        echo '                <td class="tableb" width="4%">' . '<a href="' . $_SERVER['PHP_SELF'] . '?op=editcat&amp;cid=' . $category['cid'] . '">' . '<img src="images/edit.gif" border="0" alt="" />' . '</a></td>' . "\n";
+        echo '                <td class="tableb" width="4%">' . "\n" . cat_list_box($category['parent'], $category['cid']) . "\n" . '</td>' . "\n";
+        echo "        </tr>\n";
+    }
+}
+
+function verify_children($parent, $cid)
+{
+    global $CONFIG, $children;
+
+    $sql = "SELECT cid " . "FROM {$CONFIG['TABLE_CATEGORIES']} " . "WHERE parent = '$parent' ";
+    $result = cpg_db_query($sql);
+
+    if (($cat_count = mysql_num_rows($result)) > 0) {
+                while ($row = mysql_fetch_array($result)) {
+                       $children[]=$row['cid'];
+       // call this function again to this this
+       // child's children
+                       verify_children($row['cid'], $cid);
+              }
+    }
+        return false;
+}
+
+
+if (isset($_POST['update_config'])) {
+    $value = $_POST['categories_alpha_sort'];
+            cpg_db_query("UPDATE {$CONFIG['TABLE_CONFIG']} SET value = '$value' WHERE name = 'categories_alpha_sort'");
+            $CONFIG['categories_alpha_sort'] = $value;
+            if ($CONFIG['log_mode'] == CPG_LOG_ALL) {
+                    log_write('CONFIG UPDATE SQL: '.
+                              "UPDATE {$CONFIG['TABLE_CONFIG']} SET value = '$value' WHERE name = 'categories_alpha_sort'\n".
+                              'TIME: '.date("F j, Y, g:i a")."\n".
+                              'USER: '.$USER_DATA['user_name'],
+                              CPG_DATABASE_LOG
+                              );
+            }
+
+}
+
+
+$op = isset($_GET['op']) ? $_GET['op'] : '';
+$current_category = array('cid' => '0', 'name' => '', 'parent' => '0', 'description' => '');
+
+switch ($op) {
+    case 'move':
+        if (!isset($_GET['cid1']) || !isset($_GET['cid2']) || !isset($_GET['pos1']) || !isset($_GET['pos2'])) cpg_die(CRITICAL_ERROR, sprintf($lang_catmgr_php['miss_param'], 'move'), __FILE__, __LINE__);
+
+        $cid1 = (int)$_GET['cid1'];
+        $cid2 = (int)$_GET['cid2'];
+        $pos1 = (int)$_GET['pos1'];
+        $pos2 = (int)$_GET['pos2'];
+
+        cpg_db_query("UPDATE {$CONFIG['TABLE_CATEGORIES']} SET pos='$pos1' WHERE cid = '$cid1' LIMIT 1");
+        cpg_db_query("UPDATE {$CONFIG['TABLE_CATEGORIES']} SET pos='$pos2' WHERE cid = '$cid2' LIMIT 1");
+        break;
+
+    case 'setparent':
+        if (!isset($_GET['cid']) || !isset($_GET['parent'])) cpg_die(CRITICAL_ERROR, sprintf($lang_catmgr_php['miss_param'], 'setparent'), __FILE__, __LINE__);
+
+        $cid = (int)$_GET['cid'];
+        $parent = (int)$_GET['parent'];
+                $children=array();
+                verify_children($cid, $cid);
+                if (!in_array($parent, $children)){
+                cpg_db_query("UPDATE {$CONFIG['TABLE_CATEGORIES']} SET parent='$parent', pos='-1' WHERE cid = '$cid' LIMIT 1");
+                }else{
+                        cpg_die(ERROR, "You cannot move a category into its own child", __FILE__, __LINE__);
+                }
+                break;
+
+    case 'editcat':
+        if (!isset($_GET['cid'])) cpg_die(CRITICAL_ERROR, sprintf($lang_catmgr_php['miss_param'], 'editcat'), __FILE__, __LINE__);
+
+        $cid = (int)$_GET['cid'];
+        $result = cpg_db_query("SELECT cid, name, parent, description, thumb FROM {$CONFIG['TABLE_CATEGORIES']} WHERE cid = '$cid' LIMIT 1");
+
+        if (!mysql_num_rows($result)) cpg_die(ERROR, $lang_catmgr_php['unknown_cat'], __FILE__, __LINE__);
+        $current_category = mysql_fetch_array($result);
+        break;
+
+    case 'updatecat':
+        if (!isset($_POST['cid']) || !isset($_POST['parent']) || !isset($_POST['name']) || !isset($_POST['description'])) cpg_die(CRITICAL_ERROR, sprintf($lang_catmgr_php['miss_param'], 'updatecat'), __FILE__, __LINE__);
+
+                $name = trim($_POST['name']);
+                if (empty($name)){
+                        break;
+                }
+
+
+        $cid = (int)$_POST['cid'];
+        $parent = (int)$_POST['parent'];
+        $thumb = (int)$_POST['thumb'];
+        $name = trim($_POST['name']) ? addslashes($_POST['name']) : '&lt;???&gt;';
+        $description = addslashes($_POST['description']);
+                $children=array();
+                verify_children($cid, $cid);
+                if (!in_array($parent, $children)){
+                cpg_db_query("UPDATE {$CONFIG['TABLE_CATEGORIES']} SET parent='$parent', name='$name', description='$description', thumb='$thumb' WHERE cid = '$cid' LIMIT 1");
+                }else{
+                        cpg_db_query("UPDATE {$CONFIG['TABLE_CATEGORIES']} SET name='$name', description='$description', thumb='$thumb' WHERE cid = '$cid' LIMIT 1");
+                }
+        break;
+
+    case 'createcat':
+        if (!isset($_POST['parent']) || !isset($_POST['name']) || !isset($_POST['description'])) cpg_die(CRITICAL_ERROR, sprintf($lang_catmgr_php['miss_param'], 'createcat'), __FILE__, __LINE__);
+
+                $name = trim($_POST['name']);
+
+                if (empty($name)){
+                        break;
+                }
+
+
+                $parent = (int)$_POST['parent'];
+        $name = trim($_POST['name']) ? addslashes($_POST['name']) : '&lt;???&gt;';
+        $description = addslashes($_POST['description']);
+
+        cpg_db_query("INSERT INTO {$CONFIG['TABLE_CATEGORIES']} (pos, parent, name, description) VALUES ('10000', '$parent', '$name', '$description')");
+        break;
+
+    case 'deletecat':
+        if (!isset($_GET['cid'])) cpg_die(CRITICAL_ERROR, sprintf($lang_catmgr_php['miss_param'], 'deletecat'), __FILE__, __LINE__);
+
+        $cid = (int)$_GET['cid'];
+
+        $result = cpg_db_query("SELECT parent FROM {$CONFIG['TABLE_CATEGORIES']} WHERE cid = '$cid' LIMIT 1");
+        if ($cid == 1) cpg_die(ERROR, $lang_catmgr_php['usergal_cat_ro'], __FILE__, __LINE__);
+        if (!mysql_num_rows($result)) cpg_die(ERROR, $lang_catmgr_php['unknown_cat'], __FILE__, __LINE__);
+        $del_category = mysql_fetch_array($result);
+        $parent = $del_category['parent'];
+        $result = cpg_db_query("UPDATE {$CONFIG['TABLE_CATEGORIES']} SET parent='$parent' WHERE parent = '$cid'");
+        $result = cpg_db_query("UPDATE {$CONFIG['TABLE_ALBUMS']} SET category='$parent' WHERE category = '$cid'");
+        $result = cpg_db_query("DELETE FROM {$CONFIG['TABLE_CATEGORIES']} WHERE cid='$cid' LIMIT 1");
+        break;
+}
+
+fix_cat_table();
+get_subcat_data(0);
+if ($CONFIG['categories_alpha_sort'] != 1) {
+    update_cat_order();
+}
+
+pageheader($lang_catmgr_php['manage_cat']);
+echo <<<EOT
+
+<script language="javascript" type="text/javascript">
+function confirmDel(catName)
+{
+    return confirm("{$lang_catmgr_php['confirm_delete']} (" + catName + ") ?");
+}
+</script>
+
+
+EOT;
+
+starttable('100%');
+$help = '&nbsp;'.cpg_display_help('f=index.htm&amp;as=cat_cp&amp;ae=albmgr&amp;top=1', '600', '400');
+echo <<<EOT
+        <tr>
+                <td class="tableh1"><b><span class="statlink">{$lang_catmgr_php['category']}</span></b>$help</td>
+                <td colspan="4" class="tableh1" align="center"><b><span class="statlink">{$lang_catmgr_php['operations']}</span></b></td>
+                <td class="tableh1" align="center"><b><span class="statlink">{$lang_catmgr_php['move_into']}</span></b></td>
+        </tr>
+        <form method="get" action="{$_SERVER['PHP_SELF']}">
+
+EOT;
+
+display_cat_list();
+
+echo <<<EOT
+        </form>
+
+EOT;
+
+
+
+// configure sort category alphabetically
+    $yes_selected = $CONFIG['categories_alpha_sort'] ? 'checked="checked"' : '';
+    $no_selected = !$CONFIG['categories_alpha_sort'] ? 'checked="checked"' : '';
+
+echo <<<EOT
+        <script language="javascript" type="text/javascript">
+        <!--
+        function checkFormSubmit()
+        {
+        document.catsortconfig.submit()
+        }
+        -->
+        </script>
+
+<form name="catsortconfig" action="{$_SERVER['PHP_SELF']}" method="post">
+        <tr>
+            <td class="tablef" colspan="6">
+                        {$lang_catmgr_php['categories_alpha_sort']}
+                        &nbsp;&nbsp;
+                        <input type="radio" id="categories_alpha_sort1" name="categories_alpha_sort" value="1"  onclick="checkFormSubmit()" $yes_selected /><label for="categories_alpha_sort1" class="clickable_option">$lang_yes</label>
+                        &nbsp;&nbsp;
+                        <input type="radio" id="categories_alpha_sort0" name="categories_alpha_sort" value="0"  onclick="checkFormSubmit()" $no_selected /><label for="categories_alpha_sort0" class="clickable_option">$lang_no</label>
+                        &nbsp;&nbsp;
+                        <input type="hidden" name="update_config" value="{$lang_catmgr_php['save_cfg']}" class="button" />
+                </td>
+        </tr>
+        </form>
+EOT;
+endtable();
+
+echo "<br />\n";
+
+starttable('100%', $lang_catmgr_php['update_create'], 2);
+$lb = cat_list_box($current_category['parent'], $current_category['cid'], false);
+$op = $current_category['cid'] ? 'updatecat' : 'createcat';
+if ($CONFIG['show_bbcode_help']) {$description_help .= '&nbsp;'. cpg_display_help('f=index.html&amp;base=64&amp;h='.urlencode(base64_encode(serialize($lang_bbcode_help_title))).'&amp;t='.urlencode(base64_encode(serialize($lang_bbcode_help))),470,245);}
+echo <<<EOT
+        <form method="post" action="{$_SERVER['PHP_SELF']}?op=$op">
+        <input type="hidden" name="cid" value ="{$current_category['cid']}" />
+        <tr>
+            <td width="40%" class="tableb">
+                        {$lang_catmgr_php['parent_cat']}
+        </td>
+        <td width="60%" class="tableb" valign="top">
+                $lb
+                </td>
+        </tr>
+        <tr>
+            <td width="40%" class="tableb">
+                        {$lang_catmgr_php['cat_title']}
+        </td>
+        <td width="60%" class="tableb" valign="top">
+                <input type="text" style="width: 100%" name="name" value="{$current_category['name']}" class="textinput" />
+                </td>
+        </tr>
+        <tr>
+                <td class="tableb" valign="top">
+                        {$lang_catmgr_php['cat_desc']}$description_help
+                </td>
+                <td class="tableb" valign="top">
+                        <textarea name="description" rows="5" cols="40" style="width: 100%;" class="textinput">{$current_category['description']}</textarea>
+                </td>
+        </tr>
+EOT;
+
+form_alb_thumb();
+
+echo <<<EOT
+        <tr>
+                <td colspan="2" align="center" class="tablef">
+                <input type="submit" value="{$lang_catmgr_php['update_create']}" class="button" />
+                </td>
+                </form>
+        </tr>
+
+EOT;
+
+endtable();
+pagefooter();
+ob_end_flush();
+
 ?>
\ No newline at end of file
diff -x .svn -aruN 1.4.24.src/CHANGELOG 1.4.25.src/CHANGELOG
--- 1.4.24.src/CHANGELOG	2009-05-25 15:59:16.000000000 -0500
+++ 1.4.25.src/CHANGELOG	2009-06-22 06:57:46.000000000 -0500
@@ -1,629 +1,635 @@
-************************
-Coppermine Photo Gallery
-************************
-Copyright (c) 2003-2008 Coppermine Dev Team
-v1.1 originally written by Gregory DEMAR
-
-This program is free software; you can redistribute it and/or modify
-it under the terms of the GNU General Public License version 3
-as published by the Free Software Foundation.
-
-********************************************
-Coppermine version: 1.4.24
-$HeadURL: https://coppermine.svn.sourceforge.net/svnroot/coppermine/trunk/cpg1.4.x/CHANGELOG $
-$Revision: 5993 $
-$Author: gaugau $
-$Date: 2009-05-25 22:59:40 +0200 (Mo, 25 Mai 2009) $
-*********************************************
-Changelog
-=========
-[A] = Added new feature
-[B] = Bugfix (fix something that wasn't working as expected)
-[C] = Cosmetical fix (layout, typo etc.)
-[D] = Documentation improvements
-[M] = Maintenance works
-[O] = Optimization of code
-[S] = Security fix (issues that are related to security)
-*********************************************
-
-2009-05-26 [M] Release of cpg1.4.24 {GauGau}
-2009-05-25 [B] Added 'svn' to the list of foldernames to skip during batch-add {GauGau}
-2009-05-25 [B] Fixing duplicates during batch-add (thread ID 57717) {GauGau}
-2009-05-25 [O] Removed deprecated target attributes {GauGau}
-2009-05-25 [M] Replaced reference to coppermine.sf.net with currenty URL coppermine-gallery.net {GauGau}
-2009-05-25 [O] Updated Russian language file (user contribution) {GauGau}
-2009-05-24 [C] Added line breaks for meta navigation (thread ID 56888) {GauGau}
-2009-09-24 [O] Backported browser and client OS detection function from cpg1.5.x for granular stats {GauGau}
-2009-09-24 [B] Added code for correct keyword separation in keyword meta tag (thread ID 56873) {GauGau}
-2009-05-24 [O] Updated Georgian language file (user contribution) {GauGau}
-2009-05-23 [B] Updated previous security fix to avoid causing an infinite loop in PHP 4.3 {Nibbler}
-2009-05-23 [O] Updated Finnish language file (user contribution) {GauGau}
-2009-05-23 [O] Updated Italian language file (user contribution) {GauGau}
-2009-05-21 [M] Updated version count from cpg1.4.23 to cpg1.4.24 in subversion repository as a preparation for a possible future release {GauGau}
-2009-05-21 [M] Release of cpg1.4.23 {GauGau}
-2009-05-20 [M] Added a warning message for admin if register_globals is on {Abbas}
-2009-05-19 [S] Fixing http://www.milw0rm.com/exploits/8713 {Nibbler}
-2009-05-18 [O] Updated Italian language file (user contribution) {GauGau}
-2009-05-19 [B] Add PHP 5.3 support to debugger {Nibbler}
-2009-05-01 [M] Updated version count from cpg1.4.22 to cpg1.4.23 in subversion repository as a preparation for a possible future release {GauGau}
-2009-04-30 [M] Release of cpg1.4.22 {GauGau}
-2009-04-29 [B] Fixed improper ban expirations due to time offset being incorrectly applied (thread ID 55464) {Paver}
-2009-04-29 [S] Fixed XSS vulnerability in showdoc.php (thread ID 59237) {Nibbler}
-2009-04-23 [B] Increased maxlength for password field in user manager from 8 to 25 to match the limits elsewhere {Nibbler}
-2009-03-05 [M] Updated version count from cpg1.4.21 to cpg1.4.22 in subversion repository as a preparation for the next release {GauGau}
-2009-03-04 [M] Release of cpg1.4.21 {GauGau}
-2009-03-04 [M] Changed versioncheck repository URL from sf.net to coppermine-gallery.net {GauGau}
-2009-03-03 [D] Added information to the bbcode section of the docs about the CSRF vulnerability {Paver}
-2009-03-03 [S] Removed processing of bbcodes [img] and [url] due to CSRF vulnerability (thread ID 58309) {Paver}
-2009-03-02 [B] Fixed HTML special characters in referer for hit/vote stats {Paver}
-2009-03-02 [B] Fixed converting 'search_phrase' from array to string for table 'hit_stats' {Paver}
-2009-03-02 [B] Fixed 'unknown' browser field in hit_stats table since SVN 3132 (thread ID 56433) {Paver}
-2009-03-02 [B] Fixed invalid query limit in 'random' meta-album in certain cases (thread ID 52160) {Paver}
-2009-03-02 [M] Updated version count as a preparation for the release of cpg1.4.21 {GauGau}
-2009-02-20 [B] Fixed 'Selecting private pics as a category thumbnail' issue (thread ID 57898) {Nibbler}
-2009-02-04 [M] Release of cpg1.4.20 {GauGau}
-2009-02-04 [M] Updated version count as a preparation for the release of cpg1.4.20 {GauGau}
-2009-02-02 [S] Added fix for security vulnerability reported on -> http://www.milw0rm.com/exploits/7909 {Aditya}
-2009-01-28 [M] Updated header to reflect new year {GauGau}
-2009-01-28 [O] Updated XMB bridge file to work with recent versions of that application (user contribution, thread ID 57550) {GauGau}
-2008-12-31 [B] Update names associated with pictures and comments when user name is changed {Nibbler}
-2008-12-23 [B] Fixed issue involving display of name field in the report to admin form {TranzNDance}
-2008-11-09 [B] Added missing translation to German language files (thread ID 56204) {GauGau}
-2008-10-20 [M] Re-did the credits section of the language files for easier future integration into cpg1.5.x {GauGau}
-2008-10-19 [O] Removed double ; at line ends (thread ID 51899) {GauGau}
-2008-10-19 [C] Fixed validation issue with registration screen (thread ID 51310) {GauGau}
-2008-10-18 [B] Added error message if pic editor is being run with missing parameters or without authorization (thread ID 54414) {GauGau}
-2008-10-18 [B] Fixed error message in ecard.php that complained about wrong recipient email although sender email is wrong (thread ID 50844) {GauGau}
-2008-10-18 [C] Fixed minor smilies issue (thread ID 52804) {GauGau}
-2008-10-18 [B] Fixed upload permission issue for bridged galleries (thread ID 50798) {GauGau}
-2008-10-18 [C] Improved improper translation (thread ID 50460) {GauGau}
-2008-10-08 [B] Corrected SMF2 anonymous user fix {Nibbler}
-2008-09-17 [O] Reduced memory usage of keyword manager {Nibbler}
-2008-09-06 [A] Added Croation language file (user contribution) {GauGau}
-2008-08-11 [B] Fixing thumbnail dimension calculation rounding error {Nibbler}
-2008-08-07 [M] Updated version count from cpg1.4.19 to cpg1.4.20 in subversion repository as a preparation for the next release {GauGau}
-2008-08-03 [M] Release of cpg1.4.19 {GauGau}
-2008-08-01 [B] Fixed profile email check issue (thread ID 52391) {Nibbler}
-2008-08-01 [S] Fixed a security issue reported at http://www.milw0rm.com/exploits/6178 {Abbas}
-2008-07-25 [B] SMF anonymous user fix {Nibbler}
-2008-06-11 [D] Added Spanish documentation (user contribution) {GauGau}
-2008-05-21 [B] Replaced hard-coded string "edit keywords" with translation (thread ID 52721) {GauGau}
-2008-05-04 [B] Fixed resources consumption for slideshows in meta albums {GauGau}
-2008-05-03 [B] Fixing the type being translated in reports {GauGau}
-2008-04-30 [C] Removed invalid <f>-tag in upload.php {GauGau}
-2008-04-30 [C] Fixing improper nesting of form-tag in various files {GauGau}
-2008-04-28 [C] Fixing spacer for empty album list cells (thread ID 51414) {GauGau}
-2008-04-28 [O] Updated Danish language file (user contribution) {GauGau}
-2008-04-16 [M] Updated version count from cpg1.4.18 to cpg1.4.19 in subversion repository as a preparation for a possible future release {GauGau}
-2008-04-16 [O] Applied suggested Olympus Exif improvements (thread ID 45445) {GauGau}
-2008-04-14 [M] Release of cpg1.4.18 {GauGau}
-2008-04-13 [S] Corrected SQL injection vulnerabilities in session handling code {Nibbler}
-2008-04-12 [M] Updated version count from cpg1.4.17 to cpg1.4.18 in subversion repository as a preparation for the next release {GauGau}
-2008-04-10 [M] Release of cpg1.4.17 {GauGau}
-2008-04-10 [S] Corrected an SQL injection vulnerability in URI upload code {Nibbler}
-2008-03-19 [A] Added Welsh language file (user contribution) {Nibbler}
-2008-03-02 [M] Updated version count from cpg1.4.16 to cpg1.4.17 in subversion repository as a preparation for a possible future release {GauGau}
-2008-02-29 [B] Changed date formats in lang files for better windows compatibility {Nibbler}
-2008-02-12 [O] Updated Romanian language file (user contribution) {GauGau}
-2008-02-07 [A] Added Latvian language file (user contribution) {GauGau}
-2008-02-04 [B] ImageMagick rotate bug fix {Nibbler}
-2008-02-02 [M] Release of cpg1.4.16 {GauGau}
-2008-02-02 [M] Updated version count from cpg1.4.15 to cpg1.4.16 in subversion repository as a preparation for the next release {GauGau}
-2008-02-01 [B] Reverted incorrect escapeshellarg() additions {Nibbler}
-2008-01-30 [M] Release of cpg1.4.15 {GauGau}
-2008-01-26 [M] Updated file header to reflect the new year 2008 {GauGau}
-2008-01-26 [O] Updated Danish language file (user contribution) {GauGau}
-2008-01-04 [B] Avoid possible corrupt zip files by cleaning output buffer {Nibbler}
-2007-12-29 [D] Fixed documentation that explains admin passwords (thread ID 49304) {GauGau}
-2007-12-20 [A] Added Serbian (Cyrillic) language file (user contribution) {GauGau}
-2007-12-11 [S] Added code to fix the shell injection security issue reported by Janek Vind via email and discussed in topic 48930 {Aditya}
-2007-12-11 [B] Fixed broken functionality of search engine query strings not being recorded because of typo (thread id 48934) {GauGau}
-2007-12-10 [S] Added code to remove 2 security issues reported by Janek Vind via email and discussed in topic 48890 {Aditya}
-2007-12-02 [B] Adding xmlns to html tag to fix XHTML compliance {Nibbler}
-2007-12-02 [B] Fixed subcategory depth issue {Nibbler}
-2007-11-30 [A] Added Estonian language file (user contribution) {GauGau}
-2007-11-29 [M] Populated SVN-property "HeadURL" {GauGau}
-2007-11-29 [M] Updated version count from cpg1.4.14 to cpg1.4.15 in subversion repository as a preparation for a possible future release {GauGau}
-2007-11-29 [O] Hiding empty IPTC fields as suggested in thread 48672 {GauGau}
-2007-11-22 [A] Added Serbian language file (user contribution) {GauGau}
-2007-11-15 [B] Corrected spelling of 'Favourites' in British English lang file {Nibbler}
-2007-11-15 [B] British English now recognised correctly {Nibbler}
-2007-11-15 [B] Compatibility fix for MyBB 1.2.9 {Nibbler}
-2007-11-07 [M] Release of cpg1.4.14 {GauGau}
-2007-10-31 [S] Removed html_entity_decode causing potential XSS vulnerability as discussed in http://coppermine-gallery.net/forum/index.php?topic=47390.0 {Aditya}
-2007-09-17 [M] Updated version count from cpg1.4.13 to cpg1.4.14 in subversion repository as a preparation for a possible future release {GauGau}
-2007-09-17 [B] Fixed usergroups-bug in bridge file for SMF2.0 (user contribution) {GauGau}
-2007-09-14 [M] Release of cpg1.4.13 {GauGau}
-2007-09-13 [M] Updated documentation with reference to release announcement thread {GauGau}
-2007-09-08 [M] Upgraded version numbers to prepare for release {GauGau}
-2007-09-08 [B] Removed SEF_URL plugin from standard package as it is known to cause issues. Plugin can be downloaded separately instead from http://coppermine-gallery.net/forum/index.php?topic=46718.0 {GauGau}
-2007-09-05 [S] Added code to remove risky characters in log file name in URL and to check if given log file name's directory is current directory or not to fix second vulnerability reported by L4teral (thread ID 46623) {Amit}
-2007-09-05 [S] If 'http' or 'script' is set in referer then referer will be set to 'index.php' - first vulnerability reported by L4teral (thread ID 46623) {Amit}
-2007-09-04 [A] Added preliminary (beta) bridge for SMF 2.x (user contribution) {GauGau}
-2007-08-25 [C] Removed config option "Display album description" that hasn't been implemented yet {GauGau}
-2007-08-25 [O] Removed byte order mark for some language files {GauGau}
-2007-08-24 [D] Back-ported some of the documentation improvements for the next coppermine version to cpg1.4.x {GauGau}
-2007-08-24 [D] Added section to documentation that is meant to explain the need for upgrading {GauGau}
-2007-08-18 [B] XHTML ampersand fix in clickable keywords {Nibbler}
-2007-08-18 [B] Fixing conditional call to process_smilies() in report file {Nibbler}
-2007-08-18 [B] Quota check only applies to uploads to user galleries {Nibbler}
-2007-08-18 [B] Avoid redirecting users to the logout page after logging in {Nibbler}
-2007-08-18 [B] Fixed sending of duplicate forgot password emails {Nibbler}
-2007-08-16 [M] Updated license reference from GNU GPL v2 to GNU GPL v3 {GauGau}
-2007-08-16 [A] Added Romanian language file (user contribution) {GauGau}
-2007-08-14 [A] Added Catalan language file (user contribution) {GauGau}
-2007-07-27 [B] Added missing curly brackets to various default theme definitions {GauGau}
-2007-07-27 [B] Fixing issue creating new user with mysql strict mode {Nibbler}
-2007-07-26 [B] Added missing curly brackets to user admin menu default definition {GauGau}
-2007-07-18 [A] Added Macedonian language file (partial translation, user contribution) {GauGau}
-2007-07-04 [B] Fixed improper fix for double quotes for comment input fields (thread ID 40423) {GauGau}
-2007-07-04 [M] Updated version count from cpg1.4.12 to cpg1.4.13 in subversion repository as a preparation for a possible future release {GauGau}
-2007-07-02 [M] Release of cpg1.4.12 {GauGau}
-2007-07-02 [D] Backported parts of the cpg1.5.x documentation for cpg1.4.x {GauGau}
-2007-07-02 [C] Fixed double quotes for comment input fields (thread ID 40423) {GauGau}
-2007-07-02 [C] Replaced string "CVS" with "SVN" to reflect the changed repository structure of the SF.net code repository {GauGau}
-2007-06-30 [B] Fixed multiple password protected albums bug {Abbas}
-2007-06-28 [M] Updated version count from cpg1.4.11 to cpg1.4.12 in subversion repository as a preparation for a possible future release {GauGau}
-2007-06-28 [M] Release of cpg1.4.11 {GauGau}
-2007-06-28 [S] Fixed a vulnerability where SQL injection was possible with array indices of album password cookie {Abbas}
-2007-03-30 [C] Renamed default cookie name to version-independant name to avoid confusion for beginners {GauGau}
-2007-03-26 [D] Added German version of the FAQ (user contribution, work in progress) {GauGau}
-2007-01-29 [D] Correcting links {Nibbler}
-2007-01-24 [A] Added Lithuanian translation (user contribution) {GauGau}
-2007-01-15 [A] Added Arabic translation (user contribution) {GauGau}
-2007-01-14 [B] Fixed situation in plugin api that caused bizarre plugin behavior when plugins called underlying plugin api hooks {Donnoman}
-2007-01-08 [S] Fixed the vulnerability mentioned in topic 39943, though only admins could have exploited that. {Abbas}
-2006-12-28 [B] Fixed garbage collection deleting special file "no_FTP-uploads_into_this_folder!" inside edit folder {GauGau}
-2006-12-28 [B] Fixed bug in search by keyword {GauGau}
-2006-12-27 [M] Updated copyright date {GauGau}
-2006-12-27 [C] Small fix in background image of sub menu for project_vii {GauGau}
-2006-12-27 [B] Updated zipdownload with more recent library to enable zip downloads for mac users {GauGau}
-2006-12-13 [B] Fixed visibility of upload link for users disallowed public uploads, but allowed personal galleries {GauGau}
-2006-12-11 [B] Replaced HTML entities with actual characters in Danish language file {GauGau}
-2006-12-06 [B] Avoid attempting to send emails to admins who have no email address in profile. {Nibbler}
-2006-11-28 [A] Added Hindi language file (user contribution) {GauGau}
-2006-11-27 [B] Fixing redirect to file after new upload while bridged. {Nibbler}
-2006-11-17 [D] Updated code in FAQ entry {Nibbler}
-2006-11-12 [B] Fixed plugin api sleep and wake actions to be scoped correctly. {Donnoman}
-2006-11-09 [B] Fixed display of hit stats link on displayimage {Nibbler}
-2006-11-09 [M] Updated version count from cpg1.4.10 to cpg1.4.11 in subversion repository as a preparation for a possible future release {GauGau}
-2006-11-09 [A] Added Thai language (user contribution) {GauGau}
-2006-10-30 [M] Release of cpg1.4.10 {GauGau}
-2006-10-29 [B] IE/WMP video playback fix {Nibbler}
-2006-10-28 [S] Removing SQL injection vulnerability {Nibbler}
-2006-10-27 [M] Removing unused file include/exifReader.inc.php {Nibbler}
-2006-10-27 [B] Adding missing checks for email address validity and duplicate email addresses to profile page. {Nibbler}
-2006-10-27 [B] Correcting difference between schema.sql and update.sql with respect to the user_password field. {Nibbler}
-2006-10-27 [B] Pictures awaiting approval are no longer found using the search feature. {Nibbler}
-2006-10-27 [B] Converting htmlentities back to normal format for use in emails {Nibbler}
-2006-10-16 [B] BLOB and TEXT columns cannot have DEFAULT values. {Nibbler}
-2006-10-16 [D] Updated minimum requirements information. {Nibbler}
-2006-10-08 [B] Escape queries in include/exif_php.inc.php {Donnoman}
-2006-10-03 [S] Corrected flaw in search logic {Nibbler}
-2006-09-17 [M] Updated credits section of documentation {GauGau}
-2006-09-04 [A] Added Indonesian language file (user contribution) {GauGau}
-2006-09-03 [M] Updated version count from cpg1.4.9 to cpg1.4.10 in subversion repository as a preparation for a possible future release {GauGau}
-2006-09-02 [O] Updated brazilian language file (user contribution) {GauGau}
-2006-09-01 [B] Reverted width="100%%" in themes.inc.php & sample theme - topic: 35701 {Paver}
-2006-08-26 [M] Release of cpg1.4.9 {GauGau}
-2006-08-24 [D] Added group membership section to docs {GauGau}
-2006-08-22 [C] Corrected spelling of 'determine' {Nibbler}
-2006-08-20 [B] Fixed sql issue with missing/incorrect user galleries {Nibbler}
-2006-08-16 [B] Fixed SEF plugin issue with favpics meta album {Nibbler}
-2006-08-12 [D] Added $extra_info and $install_info implementations to the sample plugin {Donnoman}
-2006-08-12 [C] Changed pluginmgr.php to display $extra_info and $install_info clearly with its associated plugin {Donnoman}
-2006-08-12 [B] Fixed $extra_info and $install_info repeating for unrelated plugins {Donnoman}
-2006-08-11 [B] Fixed duplicate documentation_lnk per http://coppermine-gallery.net/forum/index.php?topic=33836.msg158112#msg158112 {Donnoman}
-2006-08-10 [B] Removed BOM (Byte Order Mark) from Hebrew, Polish and Slovenian {GauGau}
-2006-08-10 [D] Changed minimum requirements section in docs from PHP4.1.0 to PHP4.2.0 {GauGau}
-2006-08-09 [B] Fixed invalid character at start of dutch language file {Nibbler}
-2006-08-01 [C] Fixed relative positioning glitch of navmenu in IE {GauGau}
-2006-07-28 [O] Updated hebrew language file (user contribution) {GauGau}
-2006-07-28 [D] Fixed anchor link in docs {GauGau}
-2006-07-17 [A] Added Albanian language file (user contribution) {GauGau}
-2006-07-13 [A] Added Brazilian-Portuguese language file (user contribution) {GauGau}
-2006-07-10 [D] Added documentation improvements {GauGau}
-2006-06-30 [B] Created a new snapshot of themes.inc.php for the sample theme.php {Paver}
-2006-06-25 [B] Removed admin from secondary group in usermgr.php - topic 32781 {Paver}
-2006-06-25 [B] Fixed user profile fields in charsetmgr.php - topic 32491 {Paver}
-2006-06-25 [B] Fixed theme_create_tabs call in functions.inc.php - topic 33030 {Paver}
-2006-06-25 [C] Modified Persian label according to topic 33024 {Paver}
-2006-06-25 [B] Added id tag for keyword field in upload.php for Firefox "insert from keyword list" {Paver}
-2006-06-23 [C] Fixed extra bold tags for {STATISTICS} in themes.inc.php {Paver}
-2006-06-23 [S] Fixed the security flaw in parameter cleanup system reported by imei addmimistrator @ http://myimei.com/security/2006-06-20/coppermine-148parameter-cleanup-system-bypassregistering-global-varables.html  (addmimistrator(4}gmail(O}com) {Aditya}
-2006-06-23 [S] Fixed the security flaw in add_hit function reported by imei addmimistrator @ http://myimei.com/security/2006-06-11/copperminephotogallery148-addhit-function-sqlinjection-attack.html  (addmimistrator(4}gmail(O}com) {Aditya}
-2006-06-16 [M] Counted version number up {GauGau}
-2006-06-12 [B] Added table type info for all tables {GauGau}
-2006-06-07 [M] Release of cpg1.4.8 {GauGau}
-2006-06-07 [M] Updated version count {GauGau}
-2006-06-07 [B] Reversed 'lastalb' fix due to stability issue {Paver}
-2006-06-06 [M] Release of cpg1.4.7 {GauGau}
-2006-06-06 [M] Updated version count in versioncheck.php {GauGau}
-2006-06-06 [B] Fixed 'lastalb' bug for MySQL 4.1+ (known issue for 3.23, 4.0) {Paver}
-2006-06-06 [S] Modified fix for usermgr security issue {Paver}
-2006-06-05 [B] Removed filmstrip function from classic theme {Nibbler}
-2006-06-05 [S] Fixed the usermgr security issue {Abbas}
-2006-06-04 [B] Fixed private images showing up in lastup & random {Paver}
-2006-05-23 [M] Increased version number in svn from 1.4.6 to 1.4.7 {GauGau}
-2006-05-23 [D] Added missing detail in database requirements section {GauGau}
-2006-05-19 [M] Release of cpg1.4.6 {GauGau}
-2006-05-19 [M] Updated default table prefix {GauGau}
-2006-05-19 [B] Fixed clickable keywords for utf-8 encoding {GauGau}
-2006-05-18 [B] Fixed the reset of detailed hit/vote stats issue {Abbas}
-2006-05-19 [O] Removed unneeded flush of outbut buffer in category manager {GauGau}
-2006-05-19 [C] Replaced "report to moderator" button in hardwired theme to match the overall look of the theme {GauGau}
-2006-05-19 [C] Replaced "report to moderator" button in eyeball theme to match the overall look of the theme {GauGau}
-2006-05-18 [B] Added imagejpeg workaround to address bug in PHP4.4.1 {GauGau}
-2006-05-17 [B] Created default value of $category['cat_thumb'] when not defined in theme_display_cat_list {Paver}
-2006-05-17 [B] Fixed $cpg_show_private_album setting & use for meta-albums, topic 30894 {Paver}
-2006-05-17 [B] Fixed hardcoding of 'iso-8859-1' in stat_details, keyword_select, xp_publish {Paver}
-2006-05-17 [B] Fixed errant "inactive_next_tab" notice & put in commented placeholder code {Paver}
-2006-05-17 [B] Fixed category statistics, making unapproved uploads not being taken into account {GauGau}
-2006-05-17 [B] Fixed upload approval to personal galleries when public upload approval is turned off {GauGau}
-2006-05-17 [B] Preventing whitespace in include/config.inc.php breaking cookies {Nibbler}
-2006-05-17 [C] Cleaning notices caused by bridging system {Nibbler}
-2006-05-17 [B] Fixing nuke check 'continue anyway' feature {Nibbler}
-2006-05-17 [B] Fixing search * wildcard {Nibbler}
-2006-05-17 [C] Avoid deleting group_name unnecessarily {Nibbler}
-2006-05-17 [C] Avoiding php notice in profile.php {Nibbler}
-2006-05-17 [B] Fixing edit permissions bug {Nibbler}
-2006-05-17 [D] Changed layout of changelog (this file) {GauGau}
-2006-05-17 [A] Added Finnish language (user contrib) {GauGau}
-2006-05-17 [S] Fixed the obscure, misdocumented "feature" in Apache that causes the server to process the last "valid" extension in the filename (rar exploit): replace all dots in the filename except the last one with an underscore {GauGau}
-2006-05-17 [O] Converted english_gb.php from partial translation that needed language fallback to full translation {GauGau}
-2006-05-13 [C] Fixed visibility issue for clickable options in fruity theme {GauGau}
-2006-05-13 [B] Fixed missing translation in batch add {GauGau}
-2006-05-10 [B] Fixed admin recognition issue in IPB bridge {Nibbler}
-2006-05-09 [D] Updated screenshots in docs {GauGau}
-2006-05-09 [M] Changed coppermine version from cpg1.4.5 to cpg1.4.6 {GauGau}
-2006-05-08 [B] Replaced $lang_displayreport_php['invalid_data'] with $lang_report_php['invalid_data'] in displayreport.php {TranzNDance}
-2006-05-08 [B] Fixed JavaScript error messages for crop and rotate {GauGau}
-2006-05-08 [B] Fixed bug where input field was being saved for sender's name {TranzNDance}
-2006-04-21 [M] Released cpg1.4.5 {GauGau}
-2006-04-21 [S] Fixed remote file inclusion vulnerability {GauGau}
-2006-04-10 [M] Re-added config.php and server_relocate.php to overwrite the outdated files when users upgrade {GauGau}
-2006-03-12 [A] Added Georgian language file {GauGau}
-2006-03-06 [B] Fixed redirecting back to original url after adding to favs {Nibbler}
-2006-02-26 [M] CPG1.4.4 released {GauGau}
-2006-02-23 [B] Fixed bug in charsetmgr {Abbas}
-2006-02-20 [B] Fixing issue with smilie url prefix in admin comment notification {Nibbler}
-2006-02-20 [C] Fixed some deprecated tags like <font> {GauGau}
-2006-02-20 [B] Fixed help pop up in batch add section {GauGau}
-2006-02-18 [M] Increased version count from 1.4.3 to 1.4.4 {GauGau}
-2006-02-18 [A] Added partial Portuguese translation {GauGau}
-2006-02-05 [A] Added Ukrainian, Slovak and Turkish translations {GauGau}
-2006-02-05 [A] Added ukrainian language string to language selector, fixed slovak flag {GauGau}
-2006-02-04 [B] Fixed reset password bug {Abbas}
-2006-02-04 [O] Added function get_batch_add_album_list to get the personal albums for admin on batch add page {Abbas}
-2006-01-31 [B] Fixed bug smilies coming broken in notification email {Abbas}
-2006-01-26 [D] Added plugin section to docs {GauGau}
-2006-01-25 [C] Fixed typo in dutch language file {GauGau}
-2006-01-25 [C] Fixed typo in dutch language file {GauGau}
-2006-01-25 [B] Fixed the Search Engine friendly URLs bug in displaying multipage thumbnails and albums {Abbas}
-2006-01-25 [B] Fixed issue "gif can't be added to favorites" {GauGau}
-2006-01-25 [C] Fixed css class glitch ("button" instead of "submit") {GauGau}
-2006-01-24 [A] Added Ukrainian translation {GauGau}
-2006-01-24 [A] Added Galician translation {GauGau}
-2006-01-21 [A] Added Russian translation {GauGau}
-2005-12-27 [B] Internationalized ecard button titles {TranzNDance}
-2005-12-27 [B] Fixed issue with topn images not working in keyworded albums, provided by donnoman {TranzNDance}
-2005-12-26 [M] Removed cpg1.3.x language files {GauGau}
-2005-12-25 [B] Fixed Duplicate keys in $lang_picinfo in english.php {Donnoman}
-2005-12-10 [B] Fixed selecting sample theme from admin.php {Donnoman}
-2005-12-03 [C] Fixed project_vii css style which resulted in constant horizontal scrollbar {TranzNDance}
-2005-12-02 [C] Fixed XHTML compliance and charset missing from picEditor.php {Donnoman}
-2005-12-02 [B] Fixed moved title after setting the charset {Donnoman}
-2005-12-02 [B] Added fix for showing correct number of tabs and pages when viewing lastalb meta album {Abbas}
-2005-12-01 [C] Fixed minor typo in english.php regarding "Create intermediate pictures" {Donnoman}
-2005-11-28 [M] Increased version count from cpg1.4.2 to cpg1.4.3 {GauGau}
-2005-11-25 [M] Moved files from devel branch of CVS to stable branch {AbbasAli}
-2005-11-24 [B] Fixed non approved images from showing up errantly in albums with keywords set {Donnoman}
-2005-11-24 [D] Fixed example for template_sub_menu to include custom_link button in the docs {Donnoman}
-2005-11-20 [B] Applied speculative fixes to xp publisher component {Nibbler}
-2005-11-20 [A] Added phpBB 2.0.18 bridge support {Nibbler}
-2005-11-10 [B] Fixed issue with MySQL 5 {Nibbler}
-2005-11-03 [A] Added French translation of the FAQ to docs folder {GauGau}
-2005-10-20 [A] Added portuguese language file for cpg1.4.x (user contrib) {GauGau}
-2005-10-01 [C] Added files to userpics and edit directory to avoid uploads to those folders {GauGau}
-2005-09-20 [S] Added fix for XSS vulnaribility in language selector {Aditya}
-2005-09-20 [S] Added fix for forbidden characters (space and ampersand) issue {Abbas}
-2005-09-19 [A] Added portuguese language file {GauGau}
-2005-09-19 [D] Added improved XP publisher section to docs {GauGau}
-2005-09-09 [D] Added exif section to docs {GauGau}
-2005-08-12 [C] Fixed minor bugs in italian translations {GauGau}
-2005-08-12 [B] Fixed email validation routine for ecards {GauGau}
-2005-08-12 [A] Added Galician language support (user contribution) {GauGau}
-2005-08-11 [C] Fixed hardwired. {Donnoman}
-2005-08-07 [B] Fixed mulitple keywords getting filtered out from iptc on upload {Donnoman}
-2005-08-07 [A] Changed Upload title to be iptc headline if iptc title isn't available {Donnoman}
-2005-07-24 [B] Removed depreciated randomizing code from index.php {Donnoman}
-2005-07-24 [B] Changed to not automatically include init.inc.php for included files via the query string (?file=) {Donnoman}
-2005-07-05 [C] Fixed typos in finnish language file {GauGau}
-2005-07-04 [D] Updated the translator's guide {GauGau}
-2005-07-04 [C] Fixed omission about privacy settings in french language file {GauGau}
-2005-05-04 [B] Added fix for sort order of rated thumbs with identical rating {GauGau}
-2005-04-24 [A] Added plugin hook in picmgmt.inc.php 'add_file_data' {Donnoman}
-2005-04-24 [A] Added define('THEME_HAS_FILM_STRIP_GRAPHIC', 1); adjusted filmstrip template {Donnoman}
-2005-04-10 [B] Fixed require path to 'udb_base.inc.php' in the bridge files {Donnoman}
-2005-04-10 [B] Fixed notices coming from create_session in the bridge files  {Donnoman}
-2005-04-10 [B] Fixed custom thumbs in directories that have spaces {Donnoman}
-2005-04-10 [M] Changed themes/classic => themes/sample, themes/core => themes/classic, excluded 'sample' from the themeSelect, {Donnoman}
-2005-04-10 [C] Added <span> to alblink so that it's selector will work like the other anchor selectors {Donnoman}
-2005-03-23 [A] Added new bridge files (Xoops, XMB, MyBB) to bridge manager {Nibbler}
-2005-03-22 [A] Added thai language file (user contribution) {GauGau}
-2005-03-22 [A] Added persian (farsi) language file (user contribution) {GauGau}
-2005-03-09 [M] Removed styleguide theme from package (available in coppermine download section instead), usage is deprecated {GauGau}
-2005-03-08 [B] Fixed display of IP address in last viewed to be dependent on 'GALLERY_ADMIN_MODE' {Donnoman}
-2005-03-08 [B] Fixed display of bb_code'ed comments being displayed raw in thumbnail captions, now is bb_decoded then strip_tagged {Donnoman}
-2005-03-07 [A] Added plugin actions to put content below the breadcrumb on thumbnail.php and displayimage.php {Donnoman}
-2005-02-19 [A] Added single function to generate the thumbnail captions {Donnoman}
-2005-02-18 [A] Enabled smilies in reviewcom.php (Review Comments) for comments with smilies {TranzNDance}
-2005-02-18 [A] Added ability to see summaries of which albums different user groups have access to (prevents assigning users to groups with too much access) {TranzNDance}
-2005-02-17 [B] Various bug fixes in UDB integration {Chris}
-2005-02-17 [A] Added experimental code to create and use a separate "album set" for metalbums that is not limited to the configured category depth {Donnoman}
-2005-02-17 [A] Added ability to filter blocks and include plugin files into Coppermine {Chris}
-2005-02-15 [A] Added linked file statistics along with normal stats. (Admin setable) {Aditya}
-2005-02-15 [A] Added "anonymous user posting comments can not disguise as registered user" hack (contributed by nol33t) {GauGau}
-2005-02-11 [A] Added admin configurable "home" button as first button in the sys_menu. {Donnoman}
-2005-02-09 [A] Added display filename under thumbnail of the film strip based on admin configuration. {Donnoman}
-2005-02-08 [C] Changed wording on the ability to hide admin uploaders to Display admin uploaders under thumbnails {Donnoman}
-2005-02-08 [B] Changed the reliance on having regular uploaders displayed in order to turn on or off displaying admin uploaders being displayed under thumbnails {Donnoman}
-2005-02-05 [A] Added IPTC import of title, caption, and keywords with upload.php and batch add {Donnoman}
-2005-02-05 [A] Added function filter_content that filters arbitrary arrays of strings for bad_word matches and replaces them with the bad_word token (...) {Donnoman}
-2005-02-03 [A] Added {pseudo} session functionality {Chris}
-2005-02-01 [A] Added link to user profile and sort options in review comments page {GauGau}
-2005-01-30 [A] Added switch to show/hide admin username under thumbnails {Donnoman}
-2005-01-30 [A] Added display of the uploader under all thumbs when set in config (even random/lastviewed/lastupdated) {Donnoman}
-2005-01-27 [A] Added documentation link to admin menu {GauGau}
-2005-01-26 [A] Modified bridging processes (usermgr *can* work with all bridge files) {Chris}
-2005-01-26 [B] Bug fixes {Chris}
-2005-01-26 [B] Added HTML necessary for user customizable media players {Chris}
-2005-01-26 [A] Added coppermine bridge file (Coppermine is bridged 100% of the time) {Chris}
-2005-01-22 [B] Added minibrowser to language fallback {GauGau}
-2005-01-18 [B] Added files to language fallback {GauGau}
-2005-01-18 [C] Added buttons to searchnew.php for album properties and thumbnail view {GauGau}
-2005-01-16 [A] Added configuration option to disable the vanity block {Donnoman}
-2005-01-13 [C] Added calendar icon to let users choose date on banning page {GauGau}
-2005-01-05 [M] Removed all the language utf8.files; the language.php files are encoded in utf8 {chtito}
-2005-01-02 [M] Moved the contents of english.php into English-utf-8.php {chtito}
-2005-01-02 [A] Link to the charset manager added to update.php {chtito}
-2005-01-01 [C] Some cosmetic changes in installer.css {?}
-2005-01-01 [O] Made utf-8 the default encoding for new installs; added a "not recommended" warnin for the 'language file' encoding {?}
-2005-01-01 [M] Changed default theme from "classic" to "core" {GauGau}
-2005-01-01 [A] Added charsetmgr.php to convert the encoding of the whole database {chtito}
-2005-01-01 [A] Added a update.in.php file for a couple of functions common with charsetmgr {?}
-2005-12-25 [A] Added a security alert for the admin if relocate_server.php exists {Donnoman}
-2004-12-30 [M] Updated file headers {GauGau}
-2004-12-28 [A] Added ability for admin to approve registrations {TranzNDance}
-2004-12-27 [A] Removed admin menu item "Upload approval" from sight if there are no pending approvals {GauGau}
-2004-12-27 [A] Removed admin menu item "Display Ecards" from sight if ecard logging has not been enabled {GauGau}
-2004-12-27 [O] Changed order of admin menu items to be more intuitive {GauGau}
-2004-12-23 [C] Fixed {APPROVAL_ID} causing validation issues {Donnoman}
-2004-12-23 [C] Changed script.js to use a different method to catch IE and FF in DOCTYPE mode, accomodate vert scroll bar of IE {Donnoman}
-2004-12-23 [C] Changed full size pic pop up to remove style.css and use embedded stylesheet to assure minimal padding {Donnoman}
-2004-12-23 [A] Added _TITLE localizations where _LNK's had been re used. {Donnoman}
-2004-12-20 [A] Enable BBcode for comments and ecards {TranzNDance}
-2004-12-19 [B] Fixed pipe separator display when no keywords existed on the search page {Donnoman}
-2004-12-19 [B] Changed script.js to recognize IE6 and FF in compliance mode for pop up resize {Donnoman}
-2004-12-19 [C] Changed full size pic pop up to be XHTML 1.0 Transitional Compliant {Donnoman}
-2004-12-16 [A] Added "advanced album dropdown" to "sort my pics" (picmgr.php) {GauGau}
-2004-12-15 [A] Added ability to preview and edit ecard before sending {TranzNDance}
-2004-12-14 [A] Added Basque language (user contribution) {GauGau}
-2004-12-12 [M] Changed coppermine version from cpg1.4.0 alpha to cpg1.4.1 beta {GauGau}
-2004-12-12 [A] Added admin option "Allow unlogged users (guest or anonymous) access" {GauGau}
-2004-12-10 [A] Added server relocation script {kegobeer}
-2004-12-08 [A] Added advanced searching {Nibbler}
-2004-12-01 [C] Removed dotted line from css class "clickable_option" {GauGau}
-2004-12-01 [A] Added support for PunBB 1.2 {Nibbler}
-2004-11-28 [A] Added file renaming option {Nibbler}
-2004-11-28 [A] Added ability for users to edit their pics after upload {Nibbler}
-2004-11-26 [B] Added code to check/add trailing slash to ecards_more_pic_target in config.php {kegobeer}
-2004-11-20 [A] Added report to admin/mod function for files and comments {TranzNDance}
-2004-11-19 [A] Added IPB 2.0 bridge file (user contribution) {GauGau}
-2004-11-19 [A] Added ability to hide ecard button when user can't send {TranzNDance}
-2004-11-16 [M] Removed admin/user mode toggle for non admins {GauGau}
-2004-11-09 [C] Changed help pop up to so can be read when body dark colour {Casper}
-2004-11-08 [C] Changed options for "Image view" and "Comment settings" to be different sections {GauGau}
-2004-11-08 [A] Added option to sort comments ascending or descending {GauGau}
-2004-11-06 [A] Added slovak translation (user contribution) {GauGau}
-2004-11-02 [A] Added custom header and footer include option {GauGau}
-2004-10-28 [A] Added option to delete all files and comments when deleting users {GauGau}
-2004-10-27 [A] Added "change secondary group" for multiple users (usermgr.php) {GauGau}
-2004-10-26 [A] Added language support for xp_publish.php {Casper}
-2004-10-22 [B] Changed edit dirctory creation from 666 to 777 in picmgmt.inc.php {Casper}
-2004-10-13 [A] Added "change primary group membership" for multiple users at once in user management {GauGau}
-2004-10-10 [A] Added batch activation/deactivation/password reset in user manager {GauGau}
-2004-10-07 [A] Added provisional phpbb 2.2 integration support {Nibbler}
-2004-10-07 [C] Added "check/uncheck all" option in exif manager {GauGau}
-2004-10-06 [D] Added sub section for logging and statistics in coppermine config and the docs to reflect the additional log features introduced lately {GauGau}
-2004-10-06 [A] Added optional browsing through batch added files {GauGau}
-2004-10-05 [A] Added scripts for recording detailed statistics for votes and hits {Aditya}
-2004-10-05 [A] Added "check/uncheck all" option in groupmanager {GauGau}
-2004-10-04 [A] Added mulitiple user selection and deleting {GauGau}
-2004-10-04 [A] Added "reset group names to default" option in group manager {GauGau}
-2004-09-29 [C] Fixed typos in French language file (user contribution) {GauGau}
-2004-09-29 [O] Added overhauled Russian translation (user contribution) {GauGau}
-2004-09-27 [A] Added link to edit files, parent category and thumbnail view in album properties {GauGau}
-2004-09-27 [A] Added GIF support for GD back into Coppermine {kegobeer}
-2004-09-27 [A] Added check/uncheck all fields in reviewcom.php {GauGau}
-2004-09-25 [O] Config.php renamed admin.php {Casper}
-2004-09-25 [O] Admin.php name changed to mode.php {Casper}
-2004-09-15 [A] Added Kurdish language file (user contrib) {GauGau}
-2004-09-12 [A] Added bridge manager for easier BBS integration {GauGau}
-2004-09-10 [A] Added Uighur language file (user contrib) {GauGau}
-2004-09-10 [A] Added Estonian language file (user contrib) {GauGau}
-2004-09-05 [A] Added Turkish language file (user contrib) {GauGau}
-2004-09-05 [A] Added Catalan language file (user contrib) {GauGau}
-2004-08-31 [C] Changed bbcode help to display help icon instead of full text {GauGau}
-2004-08-31 [A] Added option to sort categories by name instead of position {GauGau}
-2004-08-31 [C] Added alt tags to some images for xhtml compliance {GauGau}
-2004-08-20 [B] Added facility to disable config settings that are irrelevent with bridged installs {Nibbler}
-2004-08-16 [A] Added version check routine for easier upgrades {GauGau}
-2004-08-13 [C] Silenced CHMOD command to avoid issues on servers not supporting the command {GauGau}
-2004-08-13 [A] Added advanced sorting hack (sort by position, picture manager) {GauGau}
-2004-08-12 [A] Added option to select all checkboxes when editing files in an album {GauGau}
-2004-08-12 [A] Added clickable keyword search and keyword manager {GauGau}
-2004-08-10 [C] Fixed animated smilies stoppping to move when being clicked on (user contribution) {GauGau}
-2004-08-10 [A] Added display number of uploaded pictures in the profile mod (user contribution) {GauGau}
-2004-08-09 [A] Added option to sort categories alphabetically {GauGau}
-2004-08-09 [A] Added brute force attack protection {GauGau}
-2004-08-03 [A] Added section to album properties where the admin can reset views, votes and files {GauGau}
-2004-07-25 [A] Added bridge for PunBB {Nibbler}
-2004-07-22 [C] Changed help icon availability for all users vs. admin only {GauGau}
-2004-07-22 [D] Added overview over used colors in style sheets {GauGau}
-2004-07-22 [A] Added option 'user can change email address in profile' {GauGau}
-2004-07-20 [C] New javascript driven config page  {Nibbler}
-2004-07-20 [C] Modified groups manager to fit on one page {GauGau}
-2004-07-20 [A] Added reset view counter into admin tools {Nibbler}
-2004-07-19 [B] Changed activation email link to use config set gallery url {Nibbler}
-2004-07-14 [D] Fixed all internal and external links in the documentation {Nibbler}
-2004-07-14 [D] Added online help (help icon that can refer to parts of documentation) {GauGau}
-2004-07-13 [A] Added links to album properties, parent category and thumbnail view in editpics.php {GauGau}
-2004-07-11 [A] Replaced mailer functions to send both plain text and html enabled emails {GauGau}
-2004-07-09 [C] Added flashing approval button if pics require admin approval {GauGau}
-2004-07-08 [M] Moved SMTP settings from include/mailer.inc.php to coppermine config {GauGau}
-2004-07-08 [A] Added various changes for plugin API {Chris}
-2004-07-06 [B] Fixed expiration bug in banning.php, added calendar.php to select date {GauGau}
-2004-07-06 [C] Changed hard coded english in delete.php and upload.php to lang file, user contribution u3uk, {Casper}
-2004-07-06 [A] Added Password protected albums {Tarique}
-2004-07-06 [A] Added admin option to allow banning of private IPs  {GauGau}
-2004-07-04 [B] Fixed 'system thumbs not renaming on config change' {Chris}
-2004-07-04 [D] Added warning in docs to backup anycontent when upgrading, {Casper}
-2004-07-04 [A] Added 'media_autostart' to lang_config_data {Chris}
-2004-07-04 [A] Added 'media autostart' to config values {Chris}
-2004-07-04 [B] Added 'if' block for unlink operations in update.php {Chris}
-2004-07-03 [A] Added 'thumb_pfx' to system thumbs {Chris}
-2004-07-03 [A] Added 'thumb_nopic.jpg' and 'thumb_private.jpg' to images folder {Chris}
-2004-07-01 [B] Fixed "> 1k users > very slow" bug {Chris}
-2004-06-30 [A] Added Latvian language files (user contrib) {GauGau}
-2004-06-30 [A] Added Czech language files (user contrib) {GauGau}
-2004-06-29 [A] Added timezone GMT offset feature {Nibbler}
-2004-06-29 [A] Added individual query timings for debug mode box {Nibbler}
-2004-06-28 [B] Rewritten admin tools page, added db refresh, deletion of resized pics, XHTML compliance {Nibbler}
-2004-06-28 [B] Fixed 'Private pics no longer displayed as 'last comment by' in profile page' bug {Nibbler}
-2004-06-25 [A] Added Swedish language files (user contrib) {GauGau}
-2004-06-25 [C] Added some Site Navigation elements using <LINK rel='' {Tarique}
-2004-06-25 [B] Added check to searchnew.php for "no subfolders within albums" {GauGau}
-2004-06-25 [A] Added Arabic language files (user contrib) {GauGau}
-2004-06-24 [B] Fixed 'Restore factory defaults' bug {Nibbler}
-2004-06-23 [C] Added text link over thumbnails on profile page, {GauGau}
-2004-06-22 [A] Changed profile field 6 to text area for longer biography entries etc, {Casper}
-2004-06-22 [A] Added version warning if other version than stable is being used, {GauGau}
-2004-06-22 [A] Added framework for language fall back, {Tarique}
-2004-06-20 [A] Added keyword Inserter, {tarique}
-2004-06-19 [A] Added config settable profile fields, {casper}
-2004-06-17 [A] Added valid XHTML 1.0 transitional output to displayimage, {tarique}
-2004-06-17 [A] Updated Server side favorite to be in separate table, {tarique}
-2004-06-16 [B] Fixed 'install not working' {Chris}
-2004-06-16 [B] Fixed album visibility issue {Chris}
-2004-06-15 [B] Fixed bug in index.php of not showing user gallery thumbnails, {tarique}
-2004-06-14 [C] Added valid XHTML 1.0 transitional output to index and thumbnail, {tarique}
-2004-06-14 [A] Added server side favorite, {tarique}
-2004-06-14 [A] Added more info display to lasthits meta album, {tarique}
-2004-06-14 [A] Added ISO to EXIF extraction, {tarique}
-2004-06-13 [C] Removed 'field1' typo in editOnepics.php, {casper}
-2004-06-14 [B] Fixed bug in update.sql, {casper}
-2004-06-14 [M] Changed 'cpg130_filetypes' to 'CPG_filetypes', {Chris}
-2004-06-11 [M] Release 1.3.0 {GauGau}
-2004-05-20 [B] Anonymous can not send ecards bug fix {Nibbler}
-2004-05-01 [A] Calculate suitable permissioons and quotas for users in multiple usergroups {Jack}
-2004-05-01 [B] Album visibility now correct for admins and users in multiple usergroups {Jack}
-2004-04-24 [D] Updated/Added new screenshot gifs {Chris}
-2004-04-24 [D] Updated miscellaneous documentation information {Chris}
-2004-04-22 [A] Changed 'tiff', 'ram', and 'psd' doctypes to 'document' {Chris}
-2004-04-20 [B] Fixed 'missing controls' bug in displayimage.php {Chris}
-2004-04-20 [C] Fixed height/width fields in editpics.php {Chris}
-2004-04-20 [C] Added height/width fields to editOnePic.php {Chris}
-2004-04-19 [B] Fixed 'unable to ban with bb integration bug {Nibbler}
-2004-04-24 [A] Bridge to Simple Machines Forum (SMF) {Jack}
-2004-03-30 [A] Added support for multiple HTTP/URI uploads {Hyperion}
-2004-03-22 [B] Fixed album thumb bug {Chris}
-2004-03-16 [A] Added multiple URI upload changes to the language file {Hyperion}
-2004-03-14 [A] Added switch to turn off notices in debug mode {GauGau}
-2004-03-14 [A] Added slideshow intervall as admin option {GauGau}
-2004-03-14 [A] Added pic keywords to meta tags {GauGau}
-2004-03-14 [A] Added IP address lookup {GauGau}
-2004-03-11 [A] Added feature "admin can't ban himself" {GauGau}
-2004-03-05 [D] Added footnote on album manager to explain group settings {GauGau}
-2004-03-04 [A] Added Download Favourites as Zip file {Tarique}
-2004-03-02 [A] Added multiple HTTP upload changes to the language file {Hyperion}
-2004-03-02 [A] Added config option "debug output for admin only" {GauGau}
-2004-03-01 [C] Changed "picture" to "file" in lang/english.php {Chris}
-2004-03-01 [B] Added bug fixes for video mod to {reviewcom.php;index.php;displayimage.php} {Chris}
-2004-02-29 [A] Re introduced "notify admin on comments" {GauGau}
-2004-02-29 [C] Moved HTML format for image borders from theme.php to style.css {GauGau}
-2004-02-29 [A] Added theme 'styleguide' {GauGau}
-2004-02-29 [A] Added ecards logging {GauGau}
-2004-02-21 [A] Added clickable album names (user contrib) {GauGau}
-2004-02-20 [A] Added bbcode help (user contrib by icebox) {GauGau}
-2004-02-20 [A] Added "user can't rate own picture" hack (user contrib by jdbaranger) {GauGau}
-2004-02-18 [A] Added user FAQ (admin option) {GauGau}
-2004-02-17 [D] Updated the documentation {GauGau}
-2004-02-17 [A] Added memberlist hack by jason {GauGau}
-2004-02-17 [A] Added category name to dropdown in upload.php (user contrib by the Burrek) {GauGau}
-2004-02-01 [A] Added video mod to {index.php;reviewcom.php;displayimage.php;db_input.php;editpics.php;searchnew.php;thumbnails.php;include/functions.inc.php;include/picmgmt.php;include/init.inc.php} {Chris}
-2004-01-29 [A] Added admin option "show views under thumbnail" {GauGau}
-2004-01-09 [A] Added RSS Feed Add On {Tarique}
-2004-01-07 [A] Added a new crop and rotate editor {Tarique}
-2004-01-07 [A] Added a faster EXIF Reader class {Tarique}
-2004-01-03 [A] Added admin set able option to put gallery offline {Tarique}
-2003-11-22 [M] Moved debug_output from themes to functions.inc.php with easy copy-and-paste option {GauGau}
-2003-11-22 [C] Changed yes/no dropdown in config to radio buttons (less clicks!) {GauGau}
-2003-11-19 [A] Added language and theme selection {GauGau}
-2003-11-17 [A] Added picture ownername display as an admin setable option {Tarique}
-2003-11-10 [C] Cosmetical fixes to util.php {GauGau}
-2003-11-09 [A] Added forgot my password link in login form {GauGau}
-2003-11-08 [A] Added Breadcrumb for meta-albums {Tarique}
-2003-11-02 [A] Added options to searchnew.php (batch- add): album selection mandatory; no display of dot-folders, userpics nor manipulation folders; buttons "select all/unselect all" {GauGau}
-2003-11-02 [A] Added focus on search box and login box {GauGau}
-2003-11-02 [A] Added admin notification for upload approval {GauGau}
-2003-10-27 [B] Removed buggy no right- click option {GauGau}
-2003-10-22 [A] Added portuguese language file for 1.2.0 {GauGau}
-2003-10-21 [A] Added estonian and japanese language file for 1.2.0 {GauGau}
-2003-10-21 [A] Updated croatian, french, german, italian  {GauGau}
-2003-10-19 [A] Added notification on user registration by email (admin option) {GauGau}
-2003-10-19 [A] Added option to disable comment flood protection {GauGau}
-2003-10-16 [A] Added Thumbnails for categories, Edit Single Picture, EXIF and IPTC data shown, some bug fixes and new bugs {Tarique}
-2003-10-16 [A] Added latvian language file for 1.2.0 {GauGau}
-2003-10-14 [A] Added croatian language file for 1.2.0 {GauGau}
-2003-10-14 [A] Added chinese_gb language file for 1.2.0 {GauGau}
-2003-10-12 [A] Added slovenian language file for 1.2.0 {GauGau}
-2003-10-10 [A] Added french translation for 1.2.0 {GauGau}
-2003-10-10 [A] Added korean language file for 1.2.0 {GauGau}
-2003-10-09 [A] Added romanian language file {GauGau}
-2003-10-09 [B] Fixed rtl-bug (filesize/unit) {GauGau}
-2003-10-08 [A] Added 1.2.0 indonesian (done by sengsara), updated danish (Laugesen) {GauGau}
-2003-10-08 [B] Fixed corrupted language files (mustn't be in unicode, but ansi)  {GauGau}
-2003-10-07 [A] Added 1.2.0 translations for swedish and german {GauGau}
-2003-10-07 [A] Added 1.2.0 changes in english language to bosnian.php, brazilian.php, estonian.php, latvian.php, portuguese.php, russian.php, slovenian.php for 1.2.0 compliance {GauGau}
-2003-10-06 [A] Added 1.2.0 translations for arabic, hebrew and turkish {GauGau}
-2003-10-06 [M] Moved all docs into the docs folder {GauGau}
-2003-10-05 [B] Fixed charset in pop-up bug (http://coppermine.sourceforge.net/board/viewtopic.php?t=291) {GauGau}
-2003-10-05 [B] Fixed pop-up scrollbar bug (http://coppermine.sourceforge.net/board/viewtopic.php?t=290) {GauGau}
-2003-10-05 [A] Added 1.2.0 translations for dutch, finnish, norwegian, spanish {GauGau}
-2003-10-03 [D] Added offline- manual in /docs- folder (manual.pdf) {GauGau}
-2003-10-02 [A] Added user banning functionality {GauGau}
-2003-10-01 [C] fixed improper html tags in hardwired theme {GauGau}
-2003-10-01 [A] added version info to html output (above </body>) for easier support {GauGau}
-2003-09-30 [A] updated dutch.php and greek.php (minor bugfixes by original translators) {GauGau}
-2003-09-30 [A] Added 'no right- click' admin option (I know this is childish but has been requested often), db update necessary (see update.sql) {GauGau}
-2003-09-30 [A] IP Logging now on picture uploads {Jack}
-2003-09-27 [C] Moved hardcoded text from util.php to language file {GauGau}
-2003-09-25 [B] Fixed Batch Update to force selection of an album & identify the category of an album {Jack}
-2003-09-25 [A] Added Email notification on Comment {Tarique}
-2003-09-24 [A] Added Complete Queries to the debug output {Tarique}
-2003-09-24 [A] Added Comment IP viewing {Jack}
-2003-09-19 [A] Added AnyContent Block {Tarique}
-2003-09-18 [A] Added IP logging {Jack}
-2003-09-18 [A] Added Fav Pics Option {Tarique}
-2003-09-02 [A] Added Edit Name in comments {Tarique}
-2003-09-01 [B] Fixed the bug in search.inc.php {Tarique}
-2003-08-23 [A] Added Breadcrumb navigation to include album names {Tarique}
-2003-08-23 [A] Added Last Updated Album Block {Tarique}
-2003-08-22 [A] Added Title option to sort in albums {Tarique}
-2003-08-22 [A] Separated the breadcrumb block so that it can be placed independently of category {Tarique}
-2003-08-22 [A] Added option to choose max hieght or width for thumbnails - will help in creating nicer looking thumbnail rows and cols {Tarique}
-2003-08-22 [A] Added option to display a clickable flimstrip of thumbnails below the image display {Tarique}
-2003-08-22 [A] Added option to show first level albums of a category instead of just statistics of the category {Tarique}
-2003-08-22 [A] Added Absolute URL of a picture in the pic info this helps in giving out links to other people and the same picture will display regardless of the sort setting of the individual {Tarique}
+************************
+Coppermine Photo Gallery
+************************
+Copyright (c) 2003-2008 Coppermine Dev Team
+v1.1 originally written by Gregory DEMAR
+
+This program is free software; you can redistribute it and/or modify
+it under the terms of the GNU General Public License version 3
+as published by the Free Software Foundation.
+
+********************************************
+Coppermine version: 1.4.25
+$HeadURL: https://coppermine.svn.sourceforge.net/svnroot/coppermine/trunk/cpg1.4.x/CHANGELOG $
+$Revision: 6218 $
+$Author: gaugau $
+$Date: 2009-06-22 09:41:17 +0200 (Mo, 22 Jun 2009) $
+*********************************************
+Changelog
+=========
+[A] = Added new feature
+[B] = Bugfix (fix something that wasn't working as expected)
+[C] = Cosmetical fix (layout, typo etc.)
+[D] = Documentation improvements
+[M] = Maintenance works
+[O] = Optimization of code
+[S] = Security fix (issues that are related to security)
+*********************************************
+
+2009-06-22 [M] Release of cpg1.4.25 {GauGau}
+2009-06-15 [B] Additional PHP 5.3 compat fix {Nibbler}
+2009-05-30 [O] Updated Danish language file (user contribution) (thread ID 59795) {GauGau}
+2009-05-27 [B] Fix uploading problem caused by security fix {Nibbler}
+2009-05-26 [O] Updated Turkish language file (user contribution) (thread ID 59699) {GauGau}
+2009-05-26 [M] Updated version count from cpg1.4.24 to cpg1.4.25 in subversion repository as a preparation for a possible future release {GauGau}
+2009-05-26 [M] Release of cpg1.4.24 {GauGau}
+2009-05-25 [B] Added 'svn' to the list of foldernames to skip during batch-add {GauGau}
+2009-05-25 [B] Fixing duplicates during batch-add (thread ID 57717) {GauGau}
+2009-05-25 [O] Removed deprecated target attributes {GauGau}
+2009-05-25 [M] Replaced reference to coppermine.sf.net with currenty URL coppermine-gallery.net {GauGau}
+2009-05-25 [O] Updated Russian language file (user contribution) {GauGau}
+2009-05-24 [C] Added line breaks for meta navigation (thread ID 56888) {GauGau}
+2009-09-24 [O] Backported browser and client OS detection function from cpg1.5.x for granular stats {GauGau}
+2009-09-24 [B] Added code for correct keyword separation in keyword meta tag (thread ID 56873) {GauGau}
+2009-05-24 [O] Updated Georgian language file (user contribution) {GauGau}
+2009-05-23 [B] Updated previous security fix to avoid causing an infinite loop in PHP 4.3 {Nibbler}
+2009-05-23 [O] Updated Finnish language file (user contribution) {GauGau}
+2009-05-23 [O] Updated Italian language file (user contribution) {GauGau}
+2009-05-21 [M] Updated version count from cpg1.4.23 to cpg1.4.24 in subversion repository as a preparation for a possible future release {GauGau}
+2009-05-21 [M] Release of cpg1.4.23 {GauGau}
+2009-05-20 [M] Added a warning message for admin if register_globals is on {Abbas}
+2009-05-19 [S] Fixing http://www.milw0rm.com/exploits/8713 {Nibbler}
+2009-05-18 [O] Updated Italian language file (user contribution) {GauGau}
+2009-05-19 [B] Add PHP 5.3 support to debugger {Nibbler}
+2009-05-01 [M] Updated version count from cpg1.4.22 to cpg1.4.23 in subversion repository as a preparation for a possible future release {GauGau}
+2009-04-30 [M] Release of cpg1.4.22 {GauGau}
+2009-04-29 [B] Fixed improper ban expirations due to time offset being incorrectly applied (thread ID 55464) {Paver}
+2009-04-29 [S] Fixed XSS vulnerability in showdoc.php (thread ID 59237) {Nibbler}
+2009-04-23 [B] Increased maxlength for password field in user manager from 8 to 25 to match the limits elsewhere {Nibbler}
+2009-03-05 [M] Updated version count from cpg1.4.21 to cpg1.4.22 in subversion repository as a preparation for the next release {GauGau}
+2009-03-04 [M] Release of cpg1.4.21 {GauGau}
+2009-03-04 [M] Changed versioncheck repository URL from sf.net to coppermine-gallery.net {GauGau}
+2009-03-03 [D] Added information to the bbcode section of the docs about the CSRF vulnerability {Paver}
+2009-03-03 [S] Removed processing of bbcodes [img] and [url] due to CSRF vulnerability (thread ID 58309) {Paver}
+2009-03-02 [B] Fixed HTML special characters in referer for hit/vote stats {Paver}
+2009-03-02 [B] Fixed converting 'search_phrase' from array to string for table 'hit_stats' {Paver}
+2009-03-02 [B] Fixed 'unknown' browser field in hit_stats table since SVN 3132 (thread ID 56433) {Paver}
+2009-03-02 [B] Fixed invalid query limit in 'random' meta-album in certain cases (thread ID 52160) {Paver}
+2009-03-02 [M] Updated version count as a preparation for the release of cpg1.4.21 {GauGau}
+2009-02-20 [B] Fixed 'Selecting private pics as a category thumbnail' issue (thread ID 57898) {Nibbler}
+2009-02-04 [M] Release of cpg1.4.20 {GauGau}
+2009-02-04 [M] Updated version count as a preparation for the release of cpg1.4.20 {GauGau}
+2009-02-02 [S] Added fix for security vulnerability reported on -> http://www.milw0rm.com/exploits/7909 {Aditya}
+2009-01-28 [M] Updated header to reflect new year {GauGau}
+2009-01-28 [O] Updated XMB bridge file to work with recent versions of that application (user contribution, thread ID 57550) {GauGau}
+2008-12-31 [B] Update names associated with pictures and comments when user name is changed {Nibbler}
+2008-12-23 [B] Fixed issue involving display of name field in the report to admin form {TranzNDance}
+2008-11-09 [B] Added missing translation to German language files (thread ID 56204) {GauGau}
+2008-10-20 [M] Re-did the credits section of the language files for easier future integration into cpg1.5.x {GauGau}
+2008-10-19 [O] Removed double ; at line ends (thread ID 51899) {GauGau}
+2008-10-19 [C] Fixed validation issue with registration screen (thread ID 51310) {GauGau}
+2008-10-18 [B] Added error message if pic editor is being run with missing parameters or without authorization (thread ID 54414) {GauGau}
+2008-10-18 [B] Fixed error message in ecard.php that complained about wrong recipient email although sender email is wrong (thread ID 50844) {GauGau}
+2008-10-18 [C] Fixed minor smilies issue (thread ID 52804) {GauGau}
+2008-10-18 [B] Fixed upload permission issue for bridged galleries (thread ID 50798) {GauGau}
+2008-10-18 [C] Improved improper translation (thread ID 50460) {GauGau}
+2008-10-08 [B] Corrected SMF2 anonymous user fix {Nibbler}
+2008-09-17 [O] Reduced memory usage of keyword manager {Nibbler}
+2008-09-06 [A] Added Croation language file (user contribution) {GauGau}
+2008-08-11 [B] Fixing thumbnail dimension calculation rounding error {Nibbler}
+2008-08-07 [M] Updated version count from cpg1.4.19 to cpg1.4.20 in subversion repository as a preparation for the next release {GauGau}
+2008-08-03 [M] Release of cpg1.4.19 {GauGau}
+2008-08-01 [B] Fixed profile email check issue (thread ID 52391) {Nibbler}
+2008-08-01 [S] Fixed a security issue reported at http://www.milw0rm.com/exploits/6178 {Abbas}
+2008-07-25 [B] SMF anonymous user fix {Nibbler}
+2008-06-11 [D] Added Spanish documentation (user contribution) {GauGau}
+2008-05-21 [B] Replaced hard-coded string "edit keywords" with translation (thread ID 52721) {GauGau}
+2008-05-04 [B] Fixed resources consumption for slideshows in meta albums {GauGau}
+2008-05-03 [B] Fixing the type being translated in reports {GauGau}
+2008-04-30 [C] Removed invalid <f>-tag in upload.php {GauGau}
+2008-04-30 [C] Fixing improper nesting of form-tag in various files {GauGau}
+2008-04-28 [C] Fixing spacer for empty album list cells (thread ID 51414) {GauGau}
+2008-04-28 [O] Updated Danish language file (user contribution) {GauGau}
+2008-04-16 [M] Updated version count from cpg1.4.18 to cpg1.4.19 in subversion repository as a preparation for a possible future release {GauGau}
+2008-04-16 [O] Applied suggested Olympus Exif improvements (thread ID 45445) {GauGau}
+2008-04-14 [M] Release of cpg1.4.18 {GauGau}
+2008-04-13 [S] Corrected SQL injection vulnerabilities in session handling code {Nibbler}
+2008-04-12 [M] Updated version count from cpg1.4.17 to cpg1.4.18 in subversion repository as a preparation for the next release {GauGau}
+2008-04-10 [M] Release of cpg1.4.17 {GauGau}
+2008-04-10 [S] Corrected an SQL injection vulnerability in URI upload code {Nibbler}
+2008-03-19 [A] Added Welsh language file (user contribution) {Nibbler}
+2008-03-02 [M] Updated version count from cpg1.4.16 to cpg1.4.17 in subversion repository as a preparation for a possible future release {GauGau}
+2008-02-29 [B] Changed date formats in lang files for better windows compatibility {Nibbler}
+2008-02-12 [O] Updated Romanian language file (user contribution) {GauGau}
+2008-02-07 [A] Added Latvian language file (user contribution) {GauGau}
+2008-02-04 [B] ImageMagick rotate bug fix {Nibbler}
+2008-02-02 [M] Release of cpg1.4.16 {GauGau}
+2008-02-02 [M] Updated version count from cpg1.4.15 to cpg1.4.16 in subversion repository as a preparation for the next release {GauGau}
+2008-02-01 [B] Reverted incorrect escapeshellarg() additions {Nibbler}
+2008-01-30 [M] Release of cpg1.4.15 {GauGau}
+2008-01-26 [M] Updated file header to reflect the new year 2008 {GauGau}
+2008-01-26 [O] Updated Danish language file (user contribution) {GauGau}
+2008-01-04 [B] Avoid possible corrupt zip files by cleaning output buffer {Nibbler}
+2007-12-29 [D] Fixed documentation that explains admin passwords (thread ID 49304) {GauGau}
+2007-12-20 [A] Added Serbian (Cyrillic) language file (user contribution) {GauGau}
+2007-12-11 [S] Added code to fix the shell injection security issue reported by Janek Vind via email and discussed in topic 48930 {Aditya}
+2007-12-11 [B] Fixed broken functionality of search engine query strings not being recorded because of typo (thread id 48934) {GauGau}
+2007-12-10 [S] Added code to remove 2 security issues reported by Janek Vind via email and discussed in topic 48890 {Aditya}
+2007-12-02 [B] Adding xmlns to html tag to fix XHTML compliance {Nibbler}
+2007-12-02 [B] Fixed subcategory depth issue {Nibbler}
+2007-11-30 [A] Added Estonian language file (user contribution) {GauGau}
+2007-11-29 [M] Populated SVN-property "HeadURL" {GauGau}
+2007-11-29 [M] Updated version count from cpg1.4.14 to cpg1.4.15 in subversion repository as a preparation for a possible future release {GauGau}
+2007-11-29 [O] Hiding empty IPTC fields as suggested in thread 48672 {GauGau}
+2007-11-22 [A] Added Serbian language file (user contribution) {GauGau}
+2007-11-15 [B] Corrected spelling of 'Favourites' in British English lang file {Nibbler}
+2007-11-15 [B] British English now recognised correctly {Nibbler}
+2007-11-15 [B] Compatibility fix for MyBB 1.2.9 {Nibbler}
+2007-11-07 [M] Release of cpg1.4.14 {GauGau}
+2007-10-31 [S] Removed html_entity_decode causing potential XSS vulnerability as discussed in http://coppermine-gallery.net/forum/index.php?topic=47390.0 {Aditya}
+2007-09-17 [M] Updated version count from cpg1.4.13 to cpg1.4.14 in subversion repository as a preparation for a possible future release {GauGau}
+2007-09-17 [B] Fixed usergroups-bug in bridge file for SMF2.0 (user contribution) {GauGau}
+2007-09-14 [M] Release of cpg1.4.13 {GauGau}
+2007-09-13 [M] Updated documentation with reference to release announcement thread {GauGau}
+2007-09-08 [M] Upgraded version numbers to prepare for release {GauGau}
+2007-09-08 [B] Removed SEF_URL plugin from standard package as it is known to cause issues. Plugin can be downloaded separately instead from http://coppermine-gallery.net/forum/index.php?topic=46718.0 {GauGau}
+2007-09-05 [S] Added code to remove risky characters in log file name in URL and to check if given log file name's directory is current directory or not to fix second vulnerability reported by L4teral (thread ID 46623) {Amit}
+2007-09-05 [S] If 'http' or 'script' is set in referer then referer will be set to 'index.php' - first vulnerability reported by L4teral (thread ID 46623) {Amit}
+2007-09-04 [A] Added preliminary (beta) bridge for SMF 2.x (user contribution) {GauGau}
+2007-08-25 [C] Removed config option "Display album description" that hasn't been implemented yet {GauGau}
+2007-08-25 [O] Removed byte order mark for some language files {GauGau}
+2007-08-24 [D] Back-ported some of the documentation improvements for the next coppermine version to cpg1.4.x {GauGau}
+2007-08-24 [D] Added section to documentation that is meant to explain the need for upgrading {GauGau}
+2007-08-18 [B] XHTML ampersand fix in clickable keywords {Nibbler}
+2007-08-18 [B] Fixing conditional call to process_smilies() in report file {Nibbler}
+2007-08-18 [B] Quota check only applies to uploads to user galleries {Nibbler}
+2007-08-18 [B] Avoid redirecting users to the logout page after logging in {Nibbler}
+2007-08-18 [B] Fixed sending of duplicate forgot password emails {Nibbler}
+2007-08-16 [M] Updated license reference from GNU GPL v2 to GNU GPL v3 {GauGau}
+2007-08-16 [A] Added Romanian language file (user contribution) {GauGau}
+2007-08-14 [A] Added Catalan language file (user contribution) {GauGau}
+2007-07-27 [B] Added missing curly brackets to various default theme definitions {GauGau}
+2007-07-27 [B] Fixing issue creating new user with mysql strict mode {Nibbler}
+2007-07-26 [B] Added missing curly brackets to user admin menu default definition {GauGau}
+2007-07-18 [A] Added Macedonian language file (partial translation, user contribution) {GauGau}
+2007-07-04 [B] Fixed improper fix for double quotes for comment input fields (thread ID 40423) {GauGau}
+2007-07-04 [M] Updated version count from cpg1.4.12 to cpg1.4.13 in subversion repository as a preparation for a possible future release {GauGau}
+2007-07-02 [M] Release of cpg1.4.12 {GauGau}
+2007-07-02 [D] Backported parts of the cpg1.5.x documentation for cpg1.4.x {GauGau}
+2007-07-02 [C] Fixed double quotes for comment input fields (thread ID 40423) {GauGau}
+2007-07-02 [C] Replaced string "CVS" with "SVN" to reflect the changed repository structure of the SF.net code repository {GauGau}
+2007-06-30 [B] Fixed multiple password protected albums bug {Abbas}
+2007-06-28 [M] Updated version count from cpg1.4.11 to cpg1.4.12 in subversion repository as a preparation for a possible future release {GauGau}
+2007-06-28 [M] Release of cpg1.4.11 {GauGau}
+2007-06-28 [S] Fixed a vulnerability where SQL injection was possible with array indices of album password cookie {Abbas}
+2007-03-30 [C] Renamed default cookie name to version-independant name to avoid confusion for beginners {GauGau}
+2007-03-26 [D] Added German version of the FAQ (user contribution, work in progress) {GauGau}
+2007-01-29 [D] Correcting links {Nibbler}
+2007-01-24 [A] Added Lithuanian translation (user contribution) {GauGau}
+2007-01-15 [A] Added Arabic translation (user contribution) {GauGau}
+2007-01-14 [B] Fixed situation in plugin api that caused bizarre plugin behavior when plugins called underlying plugin api hooks {Donnoman}
+2007-01-08 [S] Fixed the vulnerability mentioned in topic 39943, though only admins could have exploited that. {Abbas}
+2006-12-28 [B] Fixed garbage collection deleting special file "no_FTP-uploads_into_this_folder!" inside edit folder {GauGau}
+2006-12-28 [B] Fixed bug in search by keyword {GauGau}
+2006-12-27 [M] Updated copyright date {GauGau}
+2006-12-27 [C] Small fix in background image of sub menu for project_vii {GauGau}
+2006-12-27 [B] Updated zipdownload with more recent library to enable zip downloads for mac users {GauGau}
+2006-12-13 [B] Fixed visibility of upload link for users disallowed public uploads, but allowed personal galleries {GauGau}
+2006-12-11 [B] Replaced HTML entities with actual characters in Danish language file {GauGau}
+2006-12-06 [B] Avoid attempting to send emails to admins who have no email address in profile. {Nibbler}
+2006-11-28 [A] Added Hindi language file (user contribution) {GauGau}
+2006-11-27 [B] Fixing redirect to file after new upload while bridged. {Nibbler}
+2006-11-17 [D] Updated code in FAQ entry {Nibbler}
+2006-11-12 [B] Fixed plugin api sleep and wake actions to be scoped correctly. {Donnoman}
+2006-11-09 [B] Fixed display of hit stats link on displayimage {Nibbler}
+2006-11-09 [M] Updated version count from cpg1.4.10 to cpg1.4.11 in subversion repository as a preparation for a possible future release {GauGau}
+2006-11-09 [A] Added Thai language (user contribution) {GauGau}
+2006-10-30 [M] Release of cpg1.4.10 {GauGau}
+2006-10-29 [B] IE/WMP video playback fix {Nibbler}
+2006-10-28 [S] Removing SQL injection vulnerability {Nibbler}
+2006-10-27 [M] Removing unused file include/exifReader.inc.php {Nibbler}
+2006-10-27 [B] Adding missing checks for email address validity and duplicate email addresses to profile page. {Nibbler}
+2006-10-27 [B] Correcting difference between schema.sql and update.sql with respect to the user_password field. {Nibbler}
+2006-10-27 [B] Pictures awaiting approval are no longer found using the search feature. {Nibbler}
+2006-10-27 [B] Converting htmlentities back to normal format for use in emails {Nibbler}
+2006-10-16 [B] BLOB and TEXT columns cannot have DEFAULT values. {Nibbler}
+2006-10-16 [D] Updated minimum requirements information. {Nibbler}
+2006-10-08 [B] Escape queries in include/exif_php.inc.php {Donnoman}
+2006-10-03 [S] Corrected flaw in search logic {Nibbler}
+2006-09-17 [M] Updated credits section of documentation {GauGau}
+2006-09-04 [A] Added Indonesian language file (user contribution) {GauGau}
+2006-09-03 [M] Updated version count from cpg1.4.9 to cpg1.4.10 in subversion repository as a preparation for a possible future release {GauGau}
+2006-09-02 [O] Updated brazilian language file (user contribution) {GauGau}
+2006-09-01 [B] Reverted width="100%%" in themes.inc.php & sample theme - topic: 35701 {Paver}
+2006-08-26 [M] Release of cpg1.4.9 {GauGau}
+2006-08-24 [D] Added group membership section to docs {GauGau}
+2006-08-22 [C] Corrected spelling of 'determine' {Nibbler}
+2006-08-20 [B] Fixed sql issue with missing/incorrect user galleries {Nibbler}
+2006-08-16 [B] Fixed SEF plugin issue with favpics meta album {Nibbler}
+2006-08-12 [D] Added $extra_info and $install_info implementations to the sample plugin {Donnoman}
+2006-08-12 [C] Changed pluginmgr.php to display $extra_info and $install_info clearly with its associated plugin {Donnoman}
+2006-08-12 [B] Fixed $extra_info and $install_info repeating for unrelated plugins {Donnoman}
+2006-08-11 [B] Fixed duplicate documentation_lnk per http://coppermine-gallery.net/forum/index.php?topic=33836.msg158112#msg158112 {Donnoman}
+2006-08-10 [B] Removed BOM (Byte Order Mark) from Hebrew, Polish and Slovenian {GauGau}
+2006-08-10 [D] Changed minimum requirements section in docs from PHP4.1.0 to PHP4.2.0 {GauGau}
+2006-08-09 [B] Fixed invalid character at start of dutch language file {Nibbler}
+2006-08-01 [C] Fixed relative positioning glitch of navmenu in IE {GauGau}
+2006-07-28 [O] Updated hebrew language file (user contribution) {GauGau}
+2006-07-28 [D] Fixed anchor link in docs {GauGau}
+2006-07-17 [A] Added Albanian language file (user contribution) {GauGau}
+2006-07-13 [A] Added Brazilian-Portuguese language file (user contribution) {GauGau}
+2006-07-10 [D] Added documentation improvements {GauGau}
+2006-06-30 [B] Created a new snapshot of themes.inc.php for the sample theme.php {Paver}
+2006-06-25 [B] Removed admin from secondary group in usermgr.php - topic 32781 {Paver}
+2006-06-25 [B] Fixed user profile fields in charsetmgr.php - topic 32491 {Paver}
+2006-06-25 [B] Fixed theme_create_tabs call in functions.inc.php - topic 33030 {Paver}
+2006-06-25 [C] Modified Persian label according to topic 33024 {Paver}
+2006-06-25 [B] Added id tag for keyword field in upload.php for Firefox "insert from keyword list" {Paver}
+2006-06-23 [C] Fixed extra bold tags for {STATISTICS} in themes.inc.php {Paver}
+2006-06-23 [S] Fixed the security flaw in parameter cleanup system reported by imei addmimistrator @ http://myimei.com/security/2006-06-20/coppermine-148parameter-cleanup-system-bypassregistering-global-varables.html  (addmimistrator(4}gmail(O}com) {Aditya}
+2006-06-23 [S] Fixed the security flaw in add_hit function reported by imei addmimistrator @ http://myimei.com/security/2006-06-11/copperminephotogallery148-addhit-function-sqlinjection-attack.html  (addmimistrator(4}gmail(O}com) {Aditya}
+2006-06-16 [M] Counted version number up {GauGau}
+2006-06-12 [B] Added table type info for all tables {GauGau}
+2006-06-07 [M] Release of cpg1.4.8 {GauGau}
+2006-06-07 [M] Updated version count {GauGau}
+2006-06-07 [B] Reversed 'lastalb' fix due to stability issue {Paver}
+2006-06-06 [M] Release of cpg1.4.7 {GauGau}
+2006-06-06 [M] Updated version count in versioncheck.php {GauGau}
+2006-06-06 [B] Fixed 'lastalb' bug for MySQL 4.1+ (known issue for 3.23, 4.0) {Paver}
+2006-06-06 [S] Modified fix for usermgr security issue {Paver}
+2006-06-05 [B] Removed filmstrip function from classic theme {Nibbler}
+2006-06-05 [S] Fixed the usermgr security issue {Abbas}
+2006-06-04 [B] Fixed private images showing up in lastup & random {Paver}
+2006-05-23 [M] Increased version number in svn from 1.4.6 to 1.4.7 {GauGau}
+2006-05-23 [D] Added missing detail in database requirements section {GauGau}
+2006-05-19 [M] Release of cpg1.4.6 {GauGau}
+2006-05-19 [M] Updated default table prefix {GauGau}
+2006-05-19 [B] Fixed clickable keywords for utf-8 encoding {GauGau}
+2006-05-18 [B] Fixed the reset of detailed hit/vote stats issue {Abbas}
+2006-05-19 [O] Removed unneeded flush of outbut buffer in category manager {GauGau}
+2006-05-19 [C] Replaced "report to moderator" button in hardwired theme to match the overall look of the theme {GauGau}
+2006-05-19 [C] Replaced "report to moderator" button in eyeball theme to match the overall look of the theme {GauGau}
+2006-05-18 [B] Added imagejpeg workaround to address bug in PHP4.4.1 {GauGau}
+2006-05-17 [B] Created default value of $category['cat_thumb'] when not defined in theme_display_cat_list {Paver}
+2006-05-17 [B] Fixed $cpg_show_private_album setting & use for meta-albums, topic 30894 {Paver}
+2006-05-17 [B] Fixed hardcoding of 'iso-8859-1' in stat_details, keyword_select, xp_publish {Paver}
+2006-05-17 [B] Fixed errant "inactive_next_tab" notice & put in commented placeholder code {Paver}
+2006-05-17 [B] Fixed category statistics, making unapproved uploads not being taken into account {GauGau}
+2006-05-17 [B] Fixed upload approval to personal galleries when public upload approval is turned off {GauGau}
+2006-05-17 [B] Preventing whitespace in include/config.inc.php breaking cookies {Nibbler}
+2006-05-17 [C] Cleaning notices caused by bridging system {Nibbler}
+2006-05-17 [B] Fixing nuke check 'continue anyway' feature {Nibbler}
+2006-05-17 [B] Fixing search * wildcard {Nibbler}
+2006-05-17 [C] Avoid deleting group_name unnecessarily {Nibbler}
+2006-05-17 [C] Avoiding php notice in profile.php {Nibbler}
+2006-05-17 [B] Fixing edit permissions bug {Nibbler}
+2006-05-17 [D] Changed layout of changelog (this file) {GauGau}
+2006-05-17 [A] Added Finnish language (user contrib) {GauGau}
+2006-05-17 [S] Fixed the obscure, misdocumented "feature" in Apache that causes the server to process the last "valid" extension in the filename (rar exploit): replace all dots in the filename except the last one with an underscore {GauGau}
+2006-05-17 [O] Converted english_gb.php from partial translation that needed language fallback to full translation {GauGau}
+2006-05-13 [C] Fixed visibility issue for clickable options in fruity theme {GauGau}
+2006-05-13 [B] Fixed missing translation in batch add {GauGau}
+2006-05-10 [B] Fixed admin recognition issue in IPB bridge {Nibbler}
+2006-05-09 [D] Updated screenshots in docs {GauGau}
+2006-05-09 [M] Changed coppermine version from cpg1.4.5 to cpg1.4.6 {GauGau}
+2006-05-08 [B] Replaced $lang_displayreport_php['invalid_data'] with $lang_report_php['invalid_data'] in displayreport.php {TranzNDance}
+2006-05-08 [B] Fixed JavaScript error messages for crop and rotate {GauGau}
+2006-05-08 [B] Fixed bug where input field was being saved for sender's name {TranzNDance}
+2006-04-21 [M] Released cpg1.4.5 {GauGau}
+2006-04-21 [S] Fixed remote file inclusion vulnerability {GauGau}
+2006-04-10 [M] Re-added config.php and server_relocate.php to overwrite the outdated files when users upgrade {GauGau}
+2006-03-12 [A] Added Georgian language file {GauGau}
+2006-03-06 [B] Fixed redirecting back to original url after adding to favs {Nibbler}
+2006-02-26 [M] CPG1.4.4 released {GauGau}
+2006-02-23 [B] Fixed bug in charsetmgr {Abbas}
+2006-02-20 [B] Fixing issue with smilie url prefix in admin comment notification {Nibbler}
+2006-02-20 [C] Fixed some deprecated tags like <font> {GauGau}
+2006-02-20 [B] Fixed help pop up in batch add section {GauGau}
+2006-02-18 [M] Increased version count from 1.4.3 to 1.4.4 {GauGau}
+2006-02-18 [A] Added partial Portuguese translation {GauGau}
+2006-02-05 [A] Added Ukrainian, Slovak and Turkish translations {GauGau}
+2006-02-05 [A] Added ukrainian language string to language selector, fixed slovak flag {GauGau}
+2006-02-04 [B] Fixed reset password bug {Abbas}
+2006-02-04 [O] Added function get_batch_add_album_list to get the personal albums for admin on batch add page {Abbas}
+2006-01-31 [B] Fixed bug smilies coming broken in notification email {Abbas}
+2006-01-26 [D] Added plugin section to docs {GauGau}
+2006-01-25 [C] Fixed typo in dutch language file {GauGau}
+2006-01-25 [C] Fixed typo in dutch language file {GauGau}
+2006-01-25 [B] Fixed the Search Engine friendly URLs bug in displaying multipage thumbnails and albums {Abbas}
+2006-01-25 [B] Fixed issue "gif can't be added to favorites" {GauGau}
+2006-01-25 [C] Fixed css class glitch ("button" instead of "submit") {GauGau}
+2006-01-24 [A] Added Ukrainian translation {GauGau}
+2006-01-24 [A] Added Galician translation {GauGau}
+2006-01-21 [A] Added Russian translation {GauGau}
+2005-12-27 [B] Internationalized ecard button titles {TranzNDance}
+2005-12-27 [B] Fixed issue with topn images not working in keyworded albums, provided by donnoman {TranzNDance}
+2005-12-26 [M] Removed cpg1.3.x language files {GauGau}
+2005-12-25 [B] Fixed Duplicate keys in $lang_picinfo in english.php {Donnoman}
+2005-12-10 [B] Fixed selecting sample theme from admin.php {Donnoman}
+2005-12-03 [C] Fixed project_vii css style which resulted in constant horizontal scrollbar {TranzNDance}
+2005-12-02 [C] Fixed XHTML compliance and charset missing from picEditor.php {Donnoman}
+2005-12-02 [B] Fixed moved title after setting the charset {Donnoman}
+2005-12-02 [B] Added fix for showing correct number of tabs and pages when viewing lastalb meta album {Abbas}
+2005-12-01 [C] Fixed minor typo in english.php regarding "Create intermediate pictures" {Donnoman}
+2005-11-28 [M] Increased version count from cpg1.4.2 to cpg1.4.3 {GauGau}
+2005-11-25 [M] Moved files from devel branch of CVS to stable branch {AbbasAli}
+2005-11-24 [B] Fixed non approved images from showing up errantly in albums with keywords set {Donnoman}
+2005-11-24 [D] Fixed example for template_sub_menu to include custom_link button in the docs {Donnoman}
+2005-11-20 [B] Applied speculative fixes to xp publisher component {Nibbler}
+2005-11-20 [A] Added phpBB 2.0.18 bridge support {Nibbler}
+2005-11-10 [B] Fixed issue with MySQL 5 {Nibbler}
+2005-11-03 [A] Added French translation of the FAQ to docs folder {GauGau}
+2005-10-20 [A] Added portuguese language file for cpg1.4.x (user contrib) {GauGau}
+2005-10-01 [C] Added files to userpics and edit directory to avoid uploads to those folders {GauGau}
+2005-09-20 [S] Added fix for XSS vulnaribility in language selector {Aditya}
+2005-09-20 [S] Added fix for forbidden characters (space and ampersand) issue {Abbas}
+2005-09-19 [A] Added portuguese language file {GauGau}
+2005-09-19 [D] Added improved XP publisher section to docs {GauGau}
+2005-09-09 [D] Added exif section to docs {GauGau}
+2005-08-12 [C] Fixed minor bugs in italian translations {GauGau}
+2005-08-12 [B] Fixed email validation routine for ecards {GauGau}
+2005-08-12 [A] Added Galician language support (user contribution) {GauGau}
+2005-08-11 [C] Fixed hardwired. {Donnoman}
+2005-08-07 [B] Fixed mulitple keywords getting filtered out from iptc on upload {Donnoman}
+2005-08-07 [A] Changed Upload title to be iptc headline if iptc title isn't available {Donnoman}
+2005-07-24 [B] Removed depreciated randomizing code from index.php {Donnoman}
+2005-07-24 [B] Changed to not automatically include init.inc.php for included files via the query string (?file=) {Donnoman}
+2005-07-05 [C] Fixed typos in finnish language file {GauGau}
+2005-07-04 [D] Updated the translator's guide {GauGau}
+2005-07-04 [C] Fixed omission about privacy settings in french language file {GauGau}
+2005-05-04 [B] Added fix for sort order of rated thumbs with identical rating {GauGau}
+2005-04-24 [A] Added plugin hook in picmgmt.inc.php 'add_file_data' {Donnoman}
+2005-04-24 [A] Added define('THEME_HAS_FILM_STRIP_GRAPHIC', 1); adjusted filmstrip template {Donnoman}
+2005-04-10 [B] Fixed require path to 'udb_base.inc.php' in the bridge files {Donnoman}
+2005-04-10 [B] Fixed notices coming from create_session in the bridge files  {Donnoman}
+2005-04-10 [B] Fixed custom thumbs in directories that have spaces {Donnoman}
+2005-04-10 [M] Changed themes/classic => themes/sample, themes/core => themes/classic, excluded 'sample' from the themeSelect, {Donnoman}
+2005-04-10 [C] Added <span> to alblink so that it's selector will work like the other anchor selectors {Donnoman}
+2005-03-23 [A] Added new bridge files (Xoops, XMB, MyBB) to bridge manager {Nibbler}
+2005-03-22 [A] Added thai language file (user contribution) {GauGau}
+2005-03-22 [A] Added persian (farsi) language file (user contribution) {GauGau}
+2005-03-09 [M] Removed styleguide theme from package (available in coppermine download section instead), usage is deprecated {GauGau}
+2005-03-08 [B] Fixed display of IP address in last viewed to be dependent on 'GALLERY_ADMIN_MODE' {Donnoman}
+2005-03-08 [B] Fixed display of bb_code'ed comments being displayed raw in thumbnail captions, now is bb_decoded then strip_tagged {Donnoman}
+2005-03-07 [A] Added plugin actions to put content below the breadcrumb on thumbnail.php and displayimage.php {Donnoman}
+2005-02-19 [A] Added single function to generate the thumbnail captions {Donnoman}
+2005-02-18 [A] Enabled smilies in reviewcom.php (Review Comments) for comments with smilies {TranzNDance}
+2005-02-18 [A] Added ability to see summaries of which albums different user groups have access to (prevents assigning users to groups with too much access) {TranzNDance}
+2005-02-17 [B] Various bug fixes in UDB integration {Chris}
+2005-02-17 [A] Added experimental code to create and use a separate "album set" for metalbums that is not limited to the configured category depth {Donnoman}
+2005-02-17 [A] Added ability to filter blocks and include plugin files into Coppermine {Chris}
+2005-02-15 [A] Added linked file statistics along with normal stats. (Admin setable) {Aditya}
+2005-02-15 [A] Added "anonymous user posting comments can not disguise as registered user" hack (contributed by nol33t) {GauGau}
+2005-02-11 [A] Added admin configurable "home" button as first button in the sys_menu. {Donnoman}
+2005-02-09 [A] Added display filename under thumbnail of the film strip based on admin configuration. {Donnoman}
+2005-02-08 [C] Changed wording on the ability to hide admin uploaders to Display admin uploaders under thumbnails {Donnoman}
+2005-02-08 [B] Changed the reliance on having regular uploaders displayed in order to turn on or off displaying admin uploaders being displayed under thumbnails {Donnoman}
+2005-02-05 [A] Added IPTC import of title, caption, and keywords with upload.php and batch add {Donnoman}
+2005-02-05 [A] Added function filter_content that filters arbitrary arrays of strings for bad_word matches and replaces them with the bad_word token (...) {Donnoman}
+2005-02-03 [A] Added {pseudo} session functionality {Chris}
+2005-02-01 [A] Added link to user profile and sort options in review comments page {GauGau}
+2005-01-30 [A] Added switch to show/hide admin username under thumbnails {Donnoman}
+2005-01-30 [A] Added display of the uploader under all thumbs when set in config (even random/lastviewed/lastupdated) {Donnoman}
+2005-01-27 [A] Added documentation link to admin menu {GauGau}
+2005-01-26 [A] Modified bridging processes (usermgr *can* work with all bridge files) {Chris}
+2005-01-26 [B] Bug fixes {Chris}
+2005-01-26 [B] Added HTML necessary for user customizable media players {Chris}
+2005-01-26 [A] Added coppermine bridge file (Coppermine is bridged 100% of the time) {Chris}
+2005-01-22 [B] Added minibrowser to language fallback {GauGau}
+2005-01-18 [B] Added files to language fallback {GauGau}
+2005-01-18 [C] Added buttons to searchnew.php for album properties and thumbnail view {GauGau}
+2005-01-16 [A] Added configuration option to disable the vanity block {Donnoman}
+2005-01-13 [C] Added calendar icon to let users choose date on banning page {GauGau}
+2005-01-05 [M] Removed all the language utf8.files; the language.php files are encoded in utf8 {chtito}
+2005-01-02 [M] Moved the contents of english.php into English-utf-8.php {chtito}
+2005-01-02 [A] Link to the charset manager added to update.php {chtito}
+2005-01-01 [C] Some cosmetic changes in installer.css {?}
+2005-01-01 [O] Made utf-8 the default encoding for new installs; added a "not recommended" warnin for the 'language file' encoding {?}
+2005-01-01 [M] Changed default theme from "classic" to "core" {GauGau}
+2005-01-01 [A] Added charsetmgr.php to convert the encoding of the whole database {chtito}
+2005-01-01 [A] Added a update.in.php file for a couple of functions common with charsetmgr {?}
+2005-12-25 [A] Added a security alert for the admin if relocate_server.php exists {Donnoman}
+2004-12-30 [M] Updated file headers {GauGau}
+2004-12-28 [A] Added ability for admin to approve registrations {TranzNDance}
+2004-12-27 [A] Removed admin menu item "Upload approval" from sight if there are no pending approvals {GauGau}
+2004-12-27 [A] Removed admin menu item "Display Ecards" from sight if ecard logging has not been enabled {GauGau}
+2004-12-27 [O] Changed order of admin menu items to be more intuitive {GauGau}
+2004-12-23 [C] Fixed {APPROVAL_ID} causing validation issues {Donnoman}
+2004-12-23 [C] Changed script.js to use a different method to catch IE and FF in DOCTYPE mode, accomodate vert scroll bar of IE {Donnoman}
+2004-12-23 [C] Changed full size pic pop up to remove style.css and use embedded stylesheet to assure minimal padding {Donnoman}
+2004-12-23 [A] Added _TITLE localizations where _LNK's had been re used. {Donnoman}
+2004-12-20 [A] Enable BBcode for comments and ecards {TranzNDance}
+2004-12-19 [B] Fixed pipe separator display when no keywords existed on the search page {Donnoman}
+2004-12-19 [B] Changed script.js to recognize IE6 and FF in compliance mode for pop up resize {Donnoman}
+2004-12-19 [C] Changed full size pic pop up to be XHTML 1.0 Transitional Compliant {Donnoman}
+2004-12-16 [A] Added "advanced album dropdown" to "sort my pics" (picmgr.php) {GauGau}
+2004-12-15 [A] Added ability to preview and edit ecard before sending {TranzNDance}
+2004-12-14 [A] Added Basque language (user contribution) {GauGau}
+2004-12-12 [M] Changed coppermine version from cpg1.4.0 alpha to cpg1.4.1 beta {GauGau}
+2004-12-12 [A] Added admin option "Allow unlogged users (guest or anonymous) access" {GauGau}
+2004-12-10 [A] Added server relocation script {kegobeer}
+2004-12-08 [A] Added advanced searching {Nibbler}
+2004-12-01 [C] Removed dotted line from css class "clickable_option" {GauGau}
+2004-12-01 [A] Added support for PunBB 1.2 {Nibbler}
+2004-11-28 [A] Added file renaming option {Nibbler}
+2004-11-28 [A] Added ability for users to edit their pics after upload {Nibbler}
+2004-11-26 [B] Added code to check/add trailing slash to ecards_more_pic_target in config.php {kegobeer}
+2004-11-20 [A] Added report to admin/mod function for files and comments {TranzNDance}
+2004-11-19 [A] Added IPB 2.0 bridge file (user contribution) {GauGau}
+2004-11-19 [A] Added ability to hide ecard button when user can't send {TranzNDance}
+2004-11-16 [M] Removed admin/user mode toggle for non admins {GauGau}
+2004-11-09 [C] Changed help pop up to so can be read when body dark colour {Casper}
+2004-11-08 [C] Changed options for "Image view" and "Comment settings" to be different sections {GauGau}
+2004-11-08 [A] Added option to sort comments ascending or descending {GauGau}
+2004-11-06 [A] Added slovak translation (user contribution) {GauGau}
+2004-11-02 [A] Added custom header and footer include option {GauGau}
+2004-10-28 [A] Added option to delete all files and comments when deleting users {GauGau}
+2004-10-27 [A] Added "change secondary group" for multiple users (usermgr.php) {GauGau}
+2004-10-26 [A] Added language support for xp_publish.php {Casper}
+2004-10-22 [B] Changed edit dirctory creation from 666 to 777 in picmgmt.inc.php {Casper}
+2004-10-13 [A] Added "change primary group membership" for multiple users at once in user management {GauGau}
+2004-10-10 [A] Added batch activation/deactivation/password reset in user manager {GauGau}
+2004-10-07 [A] Added provisional phpbb 2.2 integration support {Nibbler}
+2004-10-07 [C] Added "check/uncheck all" option in exif manager {GauGau}
+2004-10-06 [D] Added sub section for logging and statistics in coppermine config and the docs to reflect the additional log features introduced lately {GauGau}
+2004-10-06 [A] Added optional browsing through batch added files {GauGau}
+2004-10-05 [A] Added scripts for recording detailed statistics for votes and hits {Aditya}
+2004-10-05 [A] Added "check/uncheck all" option in groupmanager {GauGau}
+2004-10-04 [A] Added mulitiple user selection and deleting {GauGau}
+2004-10-04 [A] Added "reset group names to default" option in group manager {GauGau}
+2004-09-29 [C] Fixed typos in French language file (user contribution) {GauGau}
+2004-09-29 [O] Added overhauled Russian translation (user contribution) {GauGau}
+2004-09-27 [A] Added link to edit files, parent category and thumbnail view in album properties {GauGau}
+2004-09-27 [A] Added GIF support for GD back into Coppermine {kegobeer}
+2004-09-27 [A] Added check/uncheck all fields in reviewcom.php {GauGau}
+2004-09-25 [O] Config.php renamed admin.php {Casper}
+2004-09-25 [O] Admin.php name changed to mode.php {Casper}
+2004-09-15 [A] Added Kurdish language file (user contrib) {GauGau}
+2004-09-12 [A] Added bridge manager for easier BBS integration {GauGau}
+2004-09-10 [A] Added Uighur language file (user contrib) {GauGau}
+2004-09-10 [A] Added Estonian language file (user contrib) {GauGau}
+2004-09-05 [A] Added Turkish language file (user contrib) {GauGau}
+2004-09-05 [A] Added Catalan language file (user contrib) {GauGau}
+2004-08-31 [C] Changed bbcode help to display help icon instead of full text {GauGau}
+2004-08-31 [A] Added option to sort categories by name instead of position {GauGau}
+2004-08-31 [C] Added alt tags to some images for xhtml compliance {GauGau}
+2004-08-20 [B] Added facility to disable config settings that are irrelevent with bridged installs {Nibbler}
+2004-08-16 [A] Added version check routine for easier upgrades {GauGau}
+2004-08-13 [C] Silenced CHMOD command to avoid issues on servers not supporting the command {GauGau}
+2004-08-13 [A] Added advanced sorting hack (sort by position, picture manager) {GauGau}
+2004-08-12 [A] Added option to select all checkboxes when editing files in an album {GauGau}
+2004-08-12 [A] Added clickable keyword search and keyword manager {GauGau}
+2004-08-10 [C] Fixed animated smilies stoppping to move when being clicked on (user contribution) {GauGau}
+2004-08-10 [A] Added display number of uploaded pictures in the profile mod (user contribution) {GauGau}
+2004-08-09 [A] Added option to sort categories alphabetically {GauGau}
+2004-08-09 [A] Added brute force attack protection {GauGau}
+2004-08-03 [A] Added section to album properties where the admin can reset views, votes and files {GauGau}
+2004-07-25 [A] Added bridge for PunBB {Nibbler}
+2004-07-22 [C] Changed help icon availability for all users vs. admin only {GauGau}
+2004-07-22 [D] Added overview over used colors in style sheets {GauGau}
+2004-07-22 [A] Added option 'user can change email address in profile' {GauGau}
+2004-07-20 [C] New javascript driven config page  {Nibbler}
+2004-07-20 [C] Modified groups manager to fit on one page {GauGau}
+2004-07-20 [A] Added reset view counter into admin tools {Nibbler}
+2004-07-19 [B] Changed activation email link to use config set gallery url {Nibbler}
+2004-07-14 [D] Fixed all internal and external links in the documentation {Nibbler}
+2004-07-14 [D] Added online help (help icon that can refer to parts of documentation) {GauGau}
+2004-07-13 [A] Added links to album properties, parent category and thumbnail view in editpics.php {GauGau}
+2004-07-11 [A] Replaced mailer functions to send both plain text and html enabled emails {GauGau}
+2004-07-09 [C] Added flashing approval button if pics require admin approval {GauGau}
+2004-07-08 [M] Moved SMTP settings from include/mailer.inc.php to coppermine config {GauGau}
+2004-07-08 [A] Added various changes for plugin API {Chris}
+2004-07-06 [B] Fixed expiration bug in banning.php, added calendar.php to select date {GauGau}
+2004-07-06 [C] Changed hard coded english in delete.php and upload.php to lang file, user contribution u3uk, {Casper}
+2004-07-06 [A] Added Password protected albums {Tarique}
+2004-07-06 [A] Added admin option to allow banning of private IPs  {GauGau}
+2004-07-04 [B] Fixed 'system thumbs not renaming on config change' {Chris}
+2004-07-04 [D] Added warning in docs to backup anycontent when upgrading, {Casper}
+2004-07-04 [A] Added 'media_autostart' to lang_config_data {Chris}
+2004-07-04 [A] Added 'media autostart' to config values {Chris}
+2004-07-04 [B] Added 'if' block for unlink operations in update.php {Chris}
+2004-07-03 [A] Added 'thumb_pfx' to system thumbs {Chris}
+2004-07-03 [A] Added 'thumb_nopic.jpg' and 'thumb_private.jpg' to images folder {Chris}
+2004-07-01 [B] Fixed "> 1k users > very slow" bug {Chris}
+2004-06-30 [A] Added Latvian language files (user contrib) {GauGau}
+2004-06-30 [A] Added Czech language files (user contrib) {GauGau}
+2004-06-29 [A] Added timezone GMT offset feature {Nibbler}
+2004-06-29 [A] Added individual query timings for debug mode box {Nibbler}
+2004-06-28 [B] Rewritten admin tools page, added db refresh, deletion of resized pics, XHTML compliance {Nibbler}
+2004-06-28 [B] Fixed 'Private pics no longer displayed as 'last comment by' in profile page' bug {Nibbler}
+2004-06-25 [A] Added Swedish language files (user contrib) {GauGau}
+2004-06-25 [C] Added some Site Navigation elements using <LINK rel='' {Tarique}
+2004-06-25 [B] Added check to searchnew.php for "no subfolders within albums" {GauGau}
+2004-06-25 [A] Added Arabic language files (user contrib) {GauGau}
+2004-06-24 [B] Fixed 'Restore factory defaults' bug {Nibbler}
+2004-06-23 [C] Added text link over thumbnails on profile page, {GauGau}
+2004-06-22 [A] Changed profile field 6 to text area for longer biography entries etc, {Casper}
+2004-06-22 [A] Added version warning if other version than stable is being used, {GauGau}
+2004-06-22 [A] Added framework for language fall back, {Tarique}
+2004-06-20 [A] Added keyword Inserter, {tarique}
+2004-06-19 [A] Added config settable profile fields, {casper}
+2004-06-17 [A] Added valid XHTML 1.0 transitional output to displayimage, {tarique}
+2004-06-17 [A] Updated Server side favorite to be in separate table, {tarique}
+2004-06-16 [B] Fixed 'install not working' {Chris}
+2004-06-16 [B] Fixed album visibility issue {Chris}
+2004-06-15 [B] Fixed bug in index.php of not showing user gallery thumbnails, {tarique}
+2004-06-14 [C] Added valid XHTML 1.0 transitional output to index and thumbnail, {tarique}
+2004-06-14 [A] Added server side favorite, {tarique}
+2004-06-14 [A] Added more info display to lasthits meta album, {tarique}
+2004-06-14 [A] Added ISO to EXIF extraction, {tarique}
+2004-06-13 [C] Removed 'field1' typo in editOnepics.php, {casper}
+2004-06-14 [B] Fixed bug in update.sql, {casper}
+2004-06-14 [M] Changed 'cpg130_filetypes' to 'CPG_filetypes', {Chris}
+2004-06-11 [M] Release 1.3.0 {GauGau}
+2004-05-20 [B] Anonymous can not send ecards bug fix {Nibbler}
+2004-05-01 [A] Calculate suitable permissioons and quotas for users in multiple usergroups {Jack}
+2004-05-01 [B] Album visibility now correct for admins and users in multiple usergroups {Jack}
+2004-04-24 [D] Updated/Added new screenshot gifs {Chris}
+2004-04-24 [D] Updated miscellaneous documentation information {Chris}
+2004-04-22 [A] Changed 'tiff', 'ram', and 'psd' doctypes to 'document' {Chris}
+2004-04-20 [B] Fixed 'missing controls' bug in displayimage.php {Chris}
+2004-04-20 [C] Fixed height/width fields in editpics.php {Chris}
+2004-04-20 [C] Added height/width fields to editOnePic.php {Chris}
+2004-04-19 [B] Fixed 'unable to ban with bb integration bug {Nibbler}
+2004-04-24 [A] Bridge to Simple Machines Forum (SMF) {Jack}
+2004-03-30 [A] Added support for multiple HTTP/URI uploads {Hyperion}
+2004-03-22 [B] Fixed album thumb bug {Chris}
+2004-03-16 [A] Added multiple URI upload changes to the language file {Hyperion}
+2004-03-14 [A] Added switch to turn off notices in debug mode {GauGau}
+2004-03-14 [A] Added slideshow intervall as admin option {GauGau}
+2004-03-14 [A] Added pic keywords to meta tags {GauGau}
+2004-03-14 [A] Added IP address lookup {GauGau}
+2004-03-11 [A] Added feature "admin can't ban himself" {GauGau}
+2004-03-05 [D] Added footnote on album manager to explain group settings {GauGau}
+2004-03-04 [A] Added Download Favourites as Zip file {Tarique}
+2004-03-02 [A] Added multiple HTTP upload changes to the language file {Hyperion}
+2004-03-02 [A] Added config option "debug output for admin only" {GauGau}
+2004-03-01 [C] Changed "picture" to "file" in lang/english.php {Chris}
+2004-03-01 [B] Added bug fixes for video mod to {reviewcom.php;index.php;displayimage.php} {Chris}
+2004-02-29 [A] Re introduced "notify admin on comments" {GauGau}
+2004-02-29 [C] Moved HTML format for image borders from theme.php to style.css {GauGau}
+2004-02-29 [A] Added theme 'styleguide' {GauGau}
+2004-02-29 [A] Added ecards logging {GauGau}
+2004-02-21 [A] Added clickable album names (user contrib) {GauGau}
+2004-02-20 [A] Added bbcode help (user contrib by icebox) {GauGau}
+2004-02-20 [A] Added "user can't rate own picture" hack (user contrib by jdbaranger) {GauGau}
+2004-02-18 [A] Added user FAQ (admin option) {GauGau}
+2004-02-17 [D] Updated the documentation {GauGau}
+2004-02-17 [A] Added memberlist hack by jason {GauGau}
+2004-02-17 [A] Added category name to dropdown in upload.php (user contrib by the Burrek) {GauGau}
+2004-02-01 [A] Added video mod to {index.php;reviewcom.php;displayimage.php;db_input.php;editpics.php;searchnew.php;thumbnails.php;include/functions.inc.php;include/picmgmt.php;include/init.inc.php} {Chris}
+2004-01-29 [A] Added admin option "show views under thumbnail" {GauGau}
+2004-01-09 [A] Added RSS Feed Add On {Tarique}
+2004-01-07 [A] Added a new crop and rotate editor {Tarique}
+2004-01-07 [A] Added a faster EXIF Reader class {Tarique}
+2004-01-03 [A] Added admin set able option to put gallery offline {Tarique}
+2003-11-22 [M] Moved debug_output from themes to functions.inc.php with easy copy-and-paste option {GauGau}
+2003-11-22 [C] Changed yes/no dropdown in config to radio buttons (less clicks!) {GauGau}
+2003-11-19 [A] Added language and theme selection {GauGau}
+2003-11-17 [A] Added picture ownername display as an admin setable option {Tarique}
+2003-11-10 [C] Cosmetical fixes to util.php {GauGau}
+2003-11-09 [A] Added forgot my password link in login form {GauGau}
+2003-11-08 [A] Added Breadcrumb for meta-albums {Tarique}
+2003-11-02 [A] Added options to searchnew.php (batch- add): album selection mandatory; no display of dot-folders, userpics nor manipulation folders; buttons "select all/unselect all" {GauGau}
+2003-11-02 [A] Added focus on search box and login box {GauGau}
+2003-11-02 [A] Added admin notification for upload approval {GauGau}
+2003-10-27 [B] Removed buggy no right- click option {GauGau}
+2003-10-22 [A] Added portuguese language file for 1.2.0 {GauGau}
+2003-10-21 [A] Added estonian and japanese language file for 1.2.0 {GauGau}
+2003-10-21 [A] Updated croatian, french, german, italian  {GauGau}
+2003-10-19 [A] Added notification on user registration by email (admin option) {GauGau}
+2003-10-19 [A] Added option to disable comment flood protection {GauGau}
+2003-10-16 [A] Added Thumbnails for categories, Edit Single Picture, EXIF and IPTC data shown, some bug fixes and new bugs {Tarique}
+2003-10-16 [A] Added latvian language file for 1.2.0 {GauGau}
+2003-10-14 [A] Added croatian language file for 1.2.0 {GauGau}
+2003-10-14 [A] Added chinese_gb language file for 1.2.0 {GauGau}
+2003-10-12 [A] Added slovenian language file for 1.2.0 {GauGau}
+2003-10-10 [A] Added french translation for 1.2.0 {GauGau}
+2003-10-10 [A] Added korean language file for 1.2.0 {GauGau}
+2003-10-09 [A] Added romanian language file {GauGau}
+2003-10-09 [B] Fixed rtl-bug (filesize/unit) {GauGau}
+2003-10-08 [A] Added 1.2.0 indonesian (done by sengsara), updated danish (Laugesen) {GauGau}
+2003-10-08 [B] Fixed corrupted language files (mustn't be in unicode, but ansi)  {GauGau}
+2003-10-07 [A] Added 1.2.0 translations for swedish and german {GauGau}
+2003-10-07 [A] Added 1.2.0 changes in english language to bosnian.php, brazilian.php, estonian.php, latvian.php, portuguese.php, russian.php, slovenian.php for 1.2.0 compliance {GauGau}
+2003-10-06 [A] Added 1.2.0 translations for arabic, hebrew and turkish {GauGau}
+2003-10-06 [M] Moved all docs into the docs folder {GauGau}
+2003-10-05 [B] Fixed charset in pop-up bug (http://coppermine.sourceforge.net/board/viewtopic.php?t=291) {GauGau}
+2003-10-05 [B] Fixed pop-up scrollbar bug (http://coppermine.sourceforge.net/board/viewtopic.php?t=290) {GauGau}
+2003-10-05 [A] Added 1.2.0 translations for dutch, finnish, norwegian, spanish {GauGau}
+2003-10-03 [D] Added offline- manual in /docs- folder (manual.pdf) {GauGau}
+2003-10-02 [A] Added user banning functionality {GauGau}
+2003-10-01 [C] fixed improper html tags in hardwired theme {GauGau}
+2003-10-01 [A] added version info to html output (above </body>) for easier support {GauGau}
+2003-09-30 [A] updated dutch.php and greek.php (minor bugfixes by original translators) {GauGau}
+2003-09-30 [A] Added 'no right- click' admin option (I know this is childish but has been requested often), db update necessary (see update.sql) {GauGau}
+2003-09-30 [A] IP Logging now on picture uploads {Jack}
+2003-09-27 [C] Moved hardcoded text from util.php to language file {GauGau}
+2003-09-25 [B] Fixed Batch Update to force selection of an album & identify the category of an album {Jack}
+2003-09-25 [A] Added Email notification on Comment {Tarique}
+2003-09-24 [A] Added Complete Queries to the debug output {Tarique}
+2003-09-24 [A] Added Comment IP viewing {Jack}
+2003-09-19 [A] Added AnyContent Block {Tarique}
+2003-09-18 [A] Added IP logging {Jack}
+2003-09-18 [A] Added Fav Pics Option {Tarique}
+2003-09-02 [A] Added Edit Name in comments {Tarique}
+2003-09-01 [B] Fixed the bug in search.inc.php {Tarique}
+2003-08-23 [A] Added Breadcrumb navigation to include album names {Tarique}
+2003-08-23 [A] Added Last Updated Album Block {Tarique}
+2003-08-22 [A] Added Title option to sort in albums {Tarique}
+2003-08-22 [A] Separated the breadcrumb block so that it can be placed independently of category {Tarique}
+2003-08-22 [A] Added option to choose max hieght or width for thumbnails - will help in creating nicer looking thumbnail rows and cols {Tarique}
+2003-08-22 [A] Added option to display a clickable flimstrip of thumbnails below the image display {Tarique}
+2003-08-22 [A] Added option to show first level albums of a category instead of just statistics of the category {Tarique}
+2003-08-22 [A] Added Absolute URL of a picture in the pic info this helps in giving out links to other people and the same picture will display regardless of the sort setting of the individual {Tarique}
 2003-08-22 [A] Added option of turning on OR off the showing of "Private" Icon to unlogged / unprivileged user {Tarique}
\ No newline at end of file
diff -x .svn -aruN 1.4.24.src/charsetmgr.php 1.4.25.src/charsetmgr.php
--- 1.4.24.src/charsetmgr.php	2009-05-21 15:03:09.000000000 -0500
+++ 1.4.25.src/charsetmgr.php	2009-05-26 11:25:52.000000000 -0500
@@ -1,318 +1,318 @@
-<?php
-/*************************
-  Coppermine Photo Gallery
-  ************************
-  Copyright (c) 2003-2009 Coppermine Dev Team
-  v1.1 originally written by Gregory DEMAR
-
-  This program is free software; you can redistribute it and/or modify
-  it under the terms of the GNU General Public License version 3
-  as published by the Free Software Foundation.
-  
-  ********************************************
-  Coppermine version: 1.4.24
-  $HeadURL: https://coppermine.svn.sourceforge.net/svnroot/coppermine/trunk/cpg1.4.x/charsetmgr.php $
-  $Revision: 5969 $
-  $Author: gaugau $
-  $Date: 2009-05-21 22:03:33 +0200 (Do, 21 Mai 2009) $
-**********************************************/
-
-define('IN_COPPERMINE', true);
-//define('DISPLAYIMAGE_PHP', true);
-require('include/init.inc.php');
-require('include/update.inc.php');
-
-
-if (!GALLERY_ADMIN_MODE) die('Access denied');
-
-// Displays a menu with a choice of charsets
-function form_charset($optionvalue, $selected)
-{
-    global $CONFIG;
-
-
-    $charsets = array(//'Default' => 'language file',
-                      'Arabic' => 'iso-8859-6',
-                      'Baltic' => 'iso-8859-4',
-                      'Central European' => 'iso-8859-2',
-                      'Chinese Simplified' => 'euc-cn',
-                      'Chinese Traditional' => 'big5',
-                      'Cyrillic (windows-1251)' => 'windows-1251',
-                      'Cyrillic (koi8-r)' => 'koi8-r',
-                      'Greek' => 'iso-8859-7',
-                      'Hebrew' => 'iso-8859-8-i',
-                      'Icelandic' => 'x-mac-icelandic',
-                      'Japanese' => 'euc-jp',
-                      'Korean' => 'euc-kr',
-                      'Maltese' => 'iso-8859-3',
-                      'Thai' => 'windows-874',
-                      'Turkish' => 'iso-8859-9',
-                      'Unicode' => 'utf-8',
-                      'Vietnamese' => 'windows-1258',
-                      'Western' => 'iso-8859-1'
-                      );
-
-    //$value = strtolower($CONFIG['charset']);
-
-    echo "<select name=\"$optionvalue\">";
-    foreach ($charsets as $country => $charset)
-    {
-        echo "<option value=\"$charset\" " . ($selected == $charset ? 'selected="selected"' : '') . ">$country ($charset)</option>\n";
-    }
-    echo "</select>";
-}
-
-// Converts a given column of a given table from one charset to another
-function charset_convert($table_name, $column_name, $index_name, $charsetin, $charsetout, $doit = 0)
-{
-    global $CONFIG;
-     $result = cpg_db_query("SELECT * FROM $table_name");
-
-    while ($row = mysql_fetch_array($result))
-    {
-        if ($element = $row["$column_name"])
-        {
-            $elementid = $row[$index_name];
-            if ($convstr = iconv($charsetin,$charsetout,$element))
-            {
-
-                $query = "UPDATE $table_name SET $column_name='".addslashes($convstr)."' WHERE $index_name=$elementid";
-                $status = "<td>$query</td>";
-                $conversion_possible = 1;
-            }
-            else
-            {
-                $convstr = $element;
-                $status = "<td class=\"warning\">CONVERSION IMPOSSIBLE</td>";
-                $conversion_possible = 0;
-            }
-            if ($doit)
-            {
-
-                if ($conversion_possible)
-                {
-                    $updateresult = cpg_db_query($query);
-                    if ($updateresult )// check that the conversion was performed
-                        $status = '<td class="done">DONE</td>';
-                    else
-                        $status = '<td class="failed">Query failed: '.mysql_error().' </td>';
-                }
-                else
-                    $status = '<td >Query was impossible.</td>';
-
-            }
-
-            // We try to check if there are non-ascii characters in the string
-            if (iconv($charsetin, 'us-ascii', $element))
-                $asciionly = 1;
-            else
-                $asciionly = 0;
-
-            // The test above does not work, so the user has to check all the strings:
-            $asciionly = 0;
-
-                echo '<tr><td class="'.($asciionly ? 'nocheck' : 'check')."\">$convstr</td><td>$table_name</td><td>$column_name</td><td>$elementid</td>$status</tr>\n";
-        }
-
-
-    }
-    return $conversion_possible;
-
-
-}
-
-function set_config($name, $value)
-{
-    global $CONFIG;
-    cpg_db_query("UPDATE {$CONFIG['TABLE_CONFIG']} SET value='$value' WHERE name='$name'");
-}
-
-// Either checks or carries out the conversion in all the necessary fields
-function register_changes()
-{
-    global $CONFIG;
-    if (count($_POST) > 0) {
-
-        if (isset($_POST['check']))
-            $doconvert = 0;
-        else if (isset($_POST['convert']))
-            $doconvert = 1;
-        if (isset($doconvert)) // ambiguous! it means: if a button has been pushed!
-        {
-            $charsetin = $_POST['charset_in'];
-            $charsetout = $_POST['charset_out'];
-
-            // elements of the database that need converting
-            // the first element in the array is the id name of the table
-            $affected_elements = array(
-                                       $CONFIG['TABLE_ALBUMS'] =>
-                                       array('aid', 'title', 'description', 'keyword'),
-                                       $CONFIG['TABLE_PICTURES'] =>
-                                       array('pid', 'title', 'caption', 'keywords'),
-                                       $CONFIG['TABLE_COMMENTS'] =>
-                                       array('msg_id', 'msg_author', 'msg_body'),
-                                       $CONFIG['TABLE_CATEGORIES'] =>
-                                       array('cid', 'name', 'description'),
-                                       $CONFIG['TABLE_USERGROUPS'] =>
-                                       array('group_id', 'group_name'),
-                                       $CONFIG['TABLE_USERS'] =>
-                                       array('user_id', 'user_name', 'user_password', 'user_profile1', 'user_profile2', 'user_profile3', 'user_profile4', 'user_profile5', 'user_profile6')
-                                       );
-
-
-            header("Content-Type: text/html; charset=$charsetout");
-
-
-            //echo $charsetin . " " .$charsetout;
-            if (!$doconvert)
-            {
-                $windowtitle = "Charset Manager - 2/3 - Check";
-                $title = "2/3 - Checking conversion from <b>$charsetin</b> to <b>$charsetout</b>";
-            }
-            else if ($doconvert)
-            {
-                $windowtitle = "Charset Manager - 3/3 - Conversion";
-                $title = "3/3 - Converting from <b>$charsetin</b> to <b>$charsetout</b>";
-            }
-            html_header($windowtitle, $charsetout);
-            html_logo();
-            echo "<h1>$title</h1>";
-            echo '<table border="1" class="charsetchecktable" cellpadding="3" cellspacing="0"  style="margin:auto;">';
-            if (!$doconvert)
-                echo '<p class="warning">You <b>must check</b> that all the cells in <span class="check">blue</span> are displayed properly.</p>';
-            echo "<tr><th>String</th><th>Table</th><th>Column</th><th>Id</th><th>".($doconvert? "Result" : "Query")."</th></tr>";
-            foreach($affected_elements as $table => $columns)
-                for ($i = 1; $i < count($columns); ++$i)
-                {
-
-                    charset_convert($table, $columns[$i], $columns[0], $charsetin, $charsetout, $doconvert);
-
-                }
-                echo '</table>';
-            if (!$doconvert)
-            {
-                echo  "<form action=\"".$_SERVER['PHP_SELF']."\" method=\"post\">";
-                echo '<input type="hidden" name="charset_in" value="'.$charsetin."\" />\n";
-echo '<input type="hidden" name="charset_out" value="'.$charsetout."\" />\n";
-echo <<<EOT
-    <div class="warning">
-    <p>Before converting you <b>must</b>:</p>
-    <ol>
-    <li>Make a backup of your database. <span class="bigwarning">A malfunction of this script will result in the partial or complete loss or corruption of your comments and other string data containing non-ascii characters.</span></li>
-    <li>Check that all the strings above in <span class="check">blue</span> are displayed correctly.
-    </ol>
-    </div>
-EOT;
-echo '<div class="input"><input type="submit" class="button" name="convert" value="Convert" /></div>';
-                echo '</form>';
-            }
-            if ($doconvert)
-            {
-                // the script has succeeded (hopefully): we change the charset accordingly in the database
-                set_config('charset', $charsetout);
-
-                echo <<<EOT
-                    <div class="warning">
-                    <p>The conversion has been carried out.<br/>
-                If you did not get any errors, for security reasons, you may now <b>remove the file charsetmgr.php</b>, or make it unaccessible, since you will not need this file anymore.<br/>
-                    You may now <a href="index.php">proceed to the main page.</a>
-                    </p>
-                    </div>
-EOT;
-
-            }
-
-                    html_footer();
-                exit;
-        }
-    }
-}
-
-// Charsetmgr start page
-register_changes();
-
-$languagefilecfg = 0;
-
-if ($CONFIG['charset'] == 'language file')
-{
-    $thecharset = $lang_charset;
-    $languagefilecfg = 1;
-    // we set the charset once and for all (better than 'language file')
-    set_config('charset', $thecharset);
-}
-else
-{
-    $thecharset = $CONFIG['charset'];
-}
-
-
-
-
-
-html_header("Charset Manager - 1/3 - Start");
-html_logo();
-echo '<h1>1/3 - Charset Manager Start</h1>';
-
-// We need these two to run the script
-$alreadyunicode = 0;
-$iconvavailable = 1;
-
-// We test whether the converting function is available
-if (!function_exists('iconv'))
-{
-    $iconvavailable = 0;
-}
-
-
-if ($languagefilecfg)
-{
-    /*
-    echo <<<EOT
-        <p class="warning">You are using the language default encoding. It means that:</p>
-    <ol>
-    <li> If there are comments left in different languages <b>other than English</b> and <b>other than your default language</b>, there might be some inconsistency in the encoding used for the comments. In that case, choose the encoding in which most of your comments are encoded.</li>
-        <li>The default choice of the left menu <b>might not be the right one</b>. Change it if it seems unappropriate.</li>
-        </ol>
-EOT;
-     */
-
-}
-
-if ($thecharset == 'utf-8')
-{
-    echo '<p class="warning">Your site is already configured to use utf-8. <b>You don\'t need this script and should <a href="index.php">leave this page</a></b>.</p>';
-    $alreadyunicode = 1;
-}
-
-if (!$alreadyunicode && !$iconvavailable) // can't run the script but need it
-{
-    set_config('lang', 'english');
-    echo '<p class="warning">The <a href="http://www.php.net/iconv">iconv</a> function is not available. <b>You cannot use this script.</b> Coppermine will now run in English. <br/>You may install iconv and start this script again. You should now <a href="index.php?lang=english">proceed to the main page</a>.</p>';
-}
-
-
-echo <<<EOT
-<ul>
-<li><b>You should not change the value of the second menu (utf-8) unless you know what you are doing!</b></li>
-<li>Clicking on check will just allow you to check if the conversion is possible. The database will be left unchanged.
-</ul>
-EOT;
-
-echo "<fieldset><legend>Charset Converter</legend>";
-echo "<form action=\"".$_SERVER['PHP_SELF']."\" method=\"post\">";
-echo "Convert from ";
-form_charset('charset_in', $thecharset);
-echo " to ";
-form_charset('charset_out', 'utf-8');
-echo <<<EOT
-<input type="submit" class="button" name="check" value="Check" />
-
-EOT;
-echo "</form>";
-echo "</fieldset>";
-
-
-
-ob_end_flush();
-html_footer();
-?>
+<?php
+/*************************
+  Coppermine Photo Gallery
+  ************************
+  Copyright (c) 2003-2009 Coppermine Dev Team
+  v1.1 originally written by Gregory DEMAR
+
+  This program is free software; you can redistribute it and/or modify
+  it under the terms of the GNU General Public License version 3
+  as published by the Free Software Foundation.
+  
+  ********************************************
+  Coppermine version: 1.4.25
+  $HeadURL: https://coppermine.svn.sourceforge.net/svnroot/coppermine/trunk/cpg1.4.x/charsetmgr.php $
+  $Revision: 5997 $
+  $Author: gaugau $
+  $Date: 2009-05-26 08:43:24 +0200 (Di, 26 Mai 2009) $
+**********************************************/
+
+define('IN_COPPERMINE', true);
+//define('DISPLAYIMAGE_PHP', true);
+require('include/init.inc.php');
+require('include/update.inc.php');
+
+
+if (!GALLERY_ADMIN_MODE) die('Access denied');
+
+// Displays a menu with a choice of charsets
+function form_charset($optionvalue, $selected)
+{
+    global $CONFIG;
+
+
+    $charsets = array(//'Default' => 'language file',
+                      'Arabic' => 'iso-8859-6',
+                      'Baltic' => 'iso-8859-4',
+                      'Central European' => 'iso-8859-2',
+                      'Chinese Simplified' => 'euc-cn',
+                      'Chinese Traditional' => 'big5',
+                      'Cyrillic (windows-1251)' => 'windows-1251',
+                      'Cyrillic (koi8-r)' => 'koi8-r',
+                      'Greek' => 'iso-8859-7',
+                      'Hebrew' => 'iso-8859-8-i',
+                      'Icelandic' => 'x-mac-icelandic',
+                      'Japanese' => 'euc-jp',
+                      'Korean' => 'euc-kr',
+                      'Maltese' => 'iso-8859-3',
+                      'Thai' => 'windows-874',
+                      'Turkish' => 'iso-8859-9',
+                      'Unicode' => 'utf-8',
+                      'Vietnamese' => 'windows-1258',
+                      'Western' => 'iso-8859-1'
+                      );
+
+    //$value = strtolower($CONFIG['charset']);
+
+    echo "<select name=\"$optionvalue\">";
+    foreach ($charsets as $country => $charset)
+    {
+        echo "<option value=\"$charset\" " . ($selected == $charset ? 'selected="selected"' : '') . ">$country ($charset)</option>\n";
+    }
+    echo "</select>";
+}
+
+// Converts a given column of a given table from one charset to another
+function charset_convert($table_name, $column_name, $index_name, $charsetin, $charsetout, $doit = 0)
+{
+    global $CONFIG;
+     $result = cpg_db_query("SELECT * FROM $table_name");
+
+    while ($row = mysql_fetch_array($result))
+    {
+        if ($element = $row["$column_name"])
+        {
+            $elementid = $row[$index_name];
+            if ($convstr = iconv($charsetin,$charsetout,$element))
+            {
+
+                $query = "UPDATE $table_name SET $column_name='".addslashes($convstr)."' WHERE $index_name=$elementid";
+                $status = "<td>$query</td>";
+                $conversion_possible = 1;
+            }
+            else
+            {
+                $convstr = $element;
+                $status = "<td class=\"warning\">CONVERSION IMPOSSIBLE</td>";
+                $conversion_possible = 0;
+            }
+            if ($doit)
+            {
+
+                if ($conversion_possible)
+                {
+                    $updateresult = cpg_db_query($query);
+                    if ($updateresult )// check that the conversion was performed
+                        $status = '<td class="done">DONE</td>';
+                    else
+                        $status = '<td class="failed">Query failed: '.mysql_error().' </td>';
+                }
+                else
+                    $status = '<td >Query was impossible.</td>';
+
+            }
+
+            // We try to check if there are non-ascii characters in the string
+            if (iconv($charsetin, 'us-ascii', $element))
+                $asciionly = 1;
+            else
+                $asciionly = 0;
+
+            // The test above does not work, so the user has to check all the strings:
+            $asciionly = 0;
+
+                echo '<tr><td class="'.($asciionly ? 'nocheck' : 'check')."\">$convstr</td><td>$table_name</td><td>$column_name</td><td>$elementid</td>$status</tr>\n";
+        }
+
+
+    }
+    return $conversion_possible;
+
+
+}
+
+function set_config($name, $value)
+{
+    global $CONFIG;
+    cpg_db_query("UPDATE {$CONFIG['TABLE_CONFIG']} SET value='$value' WHERE name='$name'");
+}
+
+// Either checks or carries out the conversion in all the necessary fields
+function register_changes()
+{
+    global $CONFIG;
+    if (count($_POST) > 0) {
+
+        if (isset($_POST['check']))
+            $doconvert = 0;
+        else if (isset($_POST['convert']))
+            $doconvert = 1;
+        if (isset($doconvert)) // ambiguous! it means: if a button has been pushed!
+        {
+            $charsetin = $_POST['charset_in'];
+            $charsetout = $_POST['charset_out'];
+
+            // elements of the database that need converting
+            // the first element in the array is the id name of the table
+            $affected_elements = array(
+                                       $CONFIG['TABLE_ALBUMS'] =>
+                                       array('aid', 'title', 'description', 'keyword'),
+                                       $CONFIG['TABLE_PICTURES'] =>
+                                       array('pid', 'title', 'caption', 'keywords'),
+                                       $CONFIG['TABLE_COMMENTS'] =>
+                                       array('msg_id', 'msg_author', 'msg_body'),
+                                       $CONFIG['TABLE_CATEGORIES'] =>
+                                       array('cid', 'name', 'description'),
+                                       $CONFIG['TABLE_USERGROUPS'] =>
+                                       array('group_id', 'group_name'),
+                                       $CONFIG['TABLE_USERS'] =>
+                                       array('user_id', 'user_name', 'user_password', 'user_profile1', 'user_profile2', 'user_profile3', 'user_profile4', 'user_profile5', 'user_profile6')
+                                       );
+
+
+            header("Content-Type: text/html; charset=$charsetout");
+
+
+            //echo $charsetin . " " .$charsetout;
+            if (!$doconvert)
+            {
+                $windowtitle = "Charset Manager - 2/3 - Check";
+                $title = "2/3 - Checking conversion from <b>$charsetin</b> to <b>$charsetout</b>";
+            }
+            else if ($doconvert)
+            {
+                $windowtitle = "Charset Manager - 3/3 - Conversion";
+                $title = "3/3 - Converting from <b>$charsetin</b> to <b>$charsetout</b>";
+            }
+            html_header($windowtitle, $charsetout);
+            html_logo();
+            echo "<h1>$title</h1>";
+            echo '<table border="1" class="charsetchecktable" cellpadding="3" cellspacing="0"  style="margin:auto;">';
+            if (!$doconvert)
+                echo '<p class="warning">You <b>must check</b> that all the cells in <span class="check">blue</span> are displayed properly.</p>';
+            echo "<tr><th>String</th><th>Table</th><th>Column</th><th>Id</th><th>".($doconvert? "Result" : "Query")."</th></tr>";
+            foreach($affected_elements as $table => $columns)
+                for ($i = 1; $i < count($columns); ++$i)
+                {
+
+                    charset_convert($table, $columns[$i], $columns[0], $charsetin, $charsetout, $doconvert);
+
+                }
+                echo '</table>';
+            if (!$doconvert)
+            {
+                echo  "<form action=\"".$_SERVER['PHP_SELF']."\" method=\"post\">";
+                echo '<input type="hidden" name="charset_in" value="'.$charsetin."\" />\n";
+echo '<input type="hidden" name="charset_out" value="'.$charsetout."\" />\n";
+echo <<<EOT
+    <div class="warning">
+    <p>Before converting you <b>must</b>:</p>
+    <ol>
+    <li>Make a backup of your database. <span class="bigwarning">A malfunction of this script will result in the partial or complete loss or corruption of your comments and other string data containing non-ascii characters.</span></li>
+    <li>Check that all the strings above in <span class="check">blue</span> are displayed correctly.
+    </ol>
+    </div>
+EOT;
+echo '<div class="input"><input type="submit" class="button" name="convert" value="Convert" /></div>';
+                echo '</form>';
+            }
+            if ($doconvert)
+            {
+                // the script has succeeded (hopefully): we change the charset accordingly in the database
+                set_config('charset', $charsetout);
+
+                echo <<<EOT
+                    <div class="warning">
+                    <p>The conversion has been carried out.<br/>
+                If you did not get any errors, for security reasons, you may now <b>remove the file charsetmgr.php</b>, or make it unaccessible, since you will not need this file anymore.<br/>
+                    You may now <a href="index.php">proceed to the main page.</a>
+                    </p>
+                    </div>
+EOT;
+
+            }
+
+                    html_footer();
+                exit;
+        }
+    }
+}
+
+// Charsetmgr start page
+register_changes();
+
+$languagefilecfg = 0;
+
+if ($CONFIG['charset'] == 'language file')
+{
+    $thecharset = $lang_charset;
+    $languagefilecfg = 1;
+    // we set the charset once and for all (better than 'language file')
+    set_config('charset', $thecharset);
+}
+else
+{
+    $thecharset = $CONFIG['charset'];
+}
+
+
+
+
+
+html_header("Charset Manager - 1/3 - Start");
+html_logo();
+echo '<h1>1/3 - Charset Manager Start</h1>';
+
+// We need these two to run the script
+$alreadyunicode = 0;
+$iconvavailable = 1;
+
+// We test whether the converting function is available
+if (!function_exists('iconv'))
+{
+    $iconvavailable = 0;
+}
+
+
+if ($languagefilecfg)
+{
+    /*
+    echo <<<EOT
+        <p class="warning">You are using the language default encoding. It means that:</p>
+    <ol>
+    <li> If there are comments left in different languages <b>other than English</b> and <b>other than your default language</b>, there might be some inconsistency in the encoding used for the comments. In that case, choose the encoding in which most of your comments are encoded.</li>
+        <li>The default choice of the left menu <b>might not be the right one</b>. Change it if it seems unappropriate.</li>
+        </ol>
+EOT;
+     */
+
+}
+
+if ($thecharset == 'utf-8')
+{
+    echo '<p class="warning">Your site is already configured to use utf-8. <b>You don\'t need this script and should <a href="index.php">leave this page</a></b>.</p>';
+    $alreadyunicode = 1;
+}
+
+if (!$alreadyunicode && !$iconvavailable) // can't run the script but need it
+{
+    set_config('lang', 'english');
+    echo '<p class="warning">The <a href="http://www.php.net/iconv">iconv</a> function is not available. <b>You cannot use this script.</b> Coppermine will now run in English. <br/>You may install iconv and start this script again. You should now <a href="index.php?lang=english">proceed to the main page</a>.</p>';
+}
+
+
+echo <<<EOT
+<ul>
+<li><b>You should not change the value of the second menu (utf-8) unless you know what you are doing!</b></li>
+<li>Clicking on check will just allow you to check if the conversion is possible. The database will be left unchanged.
+</ul>
+EOT;
+
+echo "<fieldset><legend>Charset Converter</legend>";
+echo "<form action=\"".$_SERVER['PHP_SELF']."\" method=\"post\">";
+echo "Convert from ";
+form_charset('charset_in', $thecharset);
+echo " to ";
+form_charset('charset_out', 'utf-8');
+echo <<<EOT
+<input type="submit" class="button" name="check" value="Check" />
+
+EOT;
+echo "</form>";
+echo "</fieldset>";
+
+
+
+ob_end_flush();
+html_footer();
+?>
diff -x .svn -aruN 1.4.24.src/config.php 1.4.25.src/config.php
--- 1.4.24.src/config.php	2009-05-21 15:03:09.000000000 -0500
+++ 1.4.25.src/config.php	2009-05-26 11:25:52.000000000 -0500
@@ -1,34 +1,34 @@
-<?php
-/*************************
-  Coppermine Photo Gallery
-  ************************
-  Copyright (c) 2003-2009 Coppermine Dev Team
-  v1.1 originally written by Gregory DEMAR
-
-  This program is free software; you can redistribute it and/or modify
-  it under the terms of the GNU General Public License version 3
-  as published by the Free Software Foundation.
-  
-  ********************************************
-  Coppermine version: 1.4.24
-  $HeadURL: https://coppermine.svn.sourceforge.net/svnroot/coppermine/trunk/cpg1.4.x/config.php $
-  $Revision: 5969 $
-  $Author: gaugau $
-  $Date: 2009-05-21 22:03:33 +0200 (Do, 21 Mai 2009) $
-**********************************************/
-
-define('IN_COPPERMINE', true);
-require('include/init.inc.php');
-if (!GALLERY_ADMIN_MODE) cpg_die(ERROR, $lang_errors['access_denied'], __FILE__, __LINE__);
-
-
-$redirect = "admin.php";
-$message = <<< EOT
-You are trying to access Coppermine's <a href="admin.php">config page</a> using an outdated link - the file config.php has been renamed to admin.php. You probably updated your site and haven't changed your theme as suggested in the <a href="docs/theme/">theme upgrade guide</a>.<br />
-You are now being redirected to the actual page you were looking for.
-EOT;
-pageheader($lang_info, "<meta http-equiv=\"refresh\" content=\"100;url=$redirect\" />");
-msg_box($lang_info, $message, $lang_continue, $redirect);
-pagefooter();
-ob_end_flush();
+<?php
+/*************************
+  Coppermine Photo Gallery
+  ************************
+  Copyright (c) 2003-2009 Coppermine Dev Team
+  v1.1 originally written by Gregory DEMAR
+
+  This program is free software; you can redistribute it and/or modify
+  it under the terms of the GNU General Public License version 3
+  as published by the Free Software Foundation.
+  
+  ********************************************
+  Coppermine version: 1.4.25
+  $HeadURL: https://coppermine.svn.sourceforge.net/svnroot/coppermine/trunk/cpg1.4.x/config.php $
+  $Revision: 5997 $
+  $Author: gaugau $
+  $Date: 2009-05-26 08:43:24 +0200 (Di, 26 Mai 2009) $
+**********************************************/
+
+define('IN_COPPERMINE', true);
+require('include/init.inc.php');
+if (!GALLERY_ADMIN_MODE) cpg_die(ERROR, $lang_errors['access_denied'], __FILE__, __LINE__);
+
+
+$redirect = "admin.php";
+$message = <<< EOT
+You are trying to access Coppermine's <a href="admin.php">config page</a> using an outdated link - the file config.php has been renamed to admin.php. You probably updated your site and haven't changed your theme as suggested in the <a href="docs/theme/">theme upgrade guide</a>.<br />
+You are now being redirected to the actual page you were looking for.
+EOT;
+pageheader($lang_info, "<meta http-equiv=\"refresh\" content=\"100;url=$redirect\" />");
+msg_box($lang_info, $message, $lang_continue, $redirect);
+pagefooter();
+ob_end_flush();
 ?>
\ No newline at end of file
diff -x .svn -aruN 1.4.24.src/COPYING 1.4.25.src/COPYING
--- 1.4.24.src/COPYING	2007-11-29 06:55:38.000000000 -0600
+++ 1.4.25.src/COPYING	2007-08-16 11:51:01.000000000 -0500
@@ -1,208 +1,208 @@
-GNU GENERAL PUBLIC LICENSE
-
-Version 3, 29 June 2007
-
-Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/>
-
-Everyone is permitted to copy and distribute verbatim copies of this license document, but changing it is not allowed.
-
-Preamble
-
-The GNU General Public License is a free, copyleft license for software and other kinds of works.
-
-The licenses for most software and other practical works are designed to take away your freedom to share and change the works. By contrast, the GNU General Public License is intended to guarantee your freedom to share and change all versions of a program--to make sure it remains free software for all its users. We, the Free Software Foundation, use the GNU General Public License for most of our software; it applies also to any other work released this way by its authors. You can apply it to your programs, too.
-
-When we speak of free software, we are referring to freedom, not price. Our General Public Licenses are designed to make sure that you have the freedom to distribute copies of free software (and charge for them if you wish), that you receive source code or can get it if you want it, that you can change the software or use pieces of it in new free programs, and that you know you can do these things.
-
-To protect your rights, we need to prevent others from denying you these rights or asking you to surrender the rights. Therefore, you have certain responsibilities if you distribute copies of the software, or if you modify it: responsibilities to respect the freedom of others.
-
-For example, if you distribute copies of such a program, whether gratis or for a fee, you must pass on to the recipients the same freedoms that you received. You must make sure that they, too, receive or can get the source code. And you must show them these terms so they know their rights.
-
-Developers that use the GNU GPL protect your rights with two steps: (1) assert copyright on the software, and (2) offer you this License giving you legal permission to copy, distribute and/or modify it.
-
-For the developers' and authors' protection, the GPL clearly explains that there is no warranty for this free software. For both users' and authors' sake, the GPL requires that modified versions be marked as changed, so that their problems will not be attributed erroneously to authors of previous versions.
-
-Some devices are designed to deny users access to install or run modified versions of the software inside them, although the manufacturer can do so. This is fundamentally incompatible with the aim of protecting users' freedom to change the software. The systematic pattern of such abuse occurs in the area of products for individuals to use, which is precisely where it is most unacceptable. Therefore, we have designed this version of the GPL to prohibit the practice for those products. If such problems arise substantially in other domains, we stand ready to extend this provision to those domains in future versions of the GPL, as needed to protect the freedom of users.
-
-Finally, every program is threatened constantly by software patents. States should not allow patents to restrict development and use of software on general-purpose computers, but in those that do, we wish to avoid the special danger that patents applied to a free program could make it effectively proprietary. To prevent this, the GPL assures that patents cannot be used to render the program non-free.
-
-The precise terms and conditions for copying, distribution and modification follow.
-
-TERMS AND CONDITIONS
-0. Definitions.
-
-This License refers to version 3 of the GNU General Public License.
-
-Copyright also means copyright-like laws that apply to other kinds of works, such as semiconductor masks.
-
-The Program refers to any copyrightable work licensed under this License. Each licensee is addressed as you. Licensees and recipients may be individuals or organizations.
-
-To modify a work means to copy from or adapt all or part of the work in a fashion requiring copyright permission, other than the making of an exact copy. The resulting work is called a modified version of the earlier work or a work based on the earlier work.
-
-A covered work means either the unmodified Program or a work based on the Program.
-
-To propagate a work means to do anything with it that, without permission, would make you directly or secondarily liable for infringement under applicable copyright law, except executing it on a computer or modifying a private copy. Propagation includes copying, distribution (with or without modification), making available to the public, and in some countries other activities as well.
-
-To convey a work means any kind of propagation that enables other parties to make or receive copies. Mere interaction with a user through a computer network, with no transfer of a copy, is not conveying.
-
-An interactive user interface displays Appropriate Legal Notices to the extent that it includes a convenient and prominently visible feature that (1) displays an appropriate copyright notice, and (2) tells the user that there is no warranty for the work (except to the extent that warranties are provided), that licensees may convey the work under this License, and how to view a copy of this License. If the interface presents a list of user commands or options, such as a menu, a prominent item in the list meets this criterion.
-
-1. Source Code.
-
-The source code for a work means the preferred form of the work for making modifications to it. Object code means any non-source form of a work.
-
-A Standard Interface means an interface that either is an official standard defined by a recognized standards body, or, in the case of interfaces specified for a particular programming language, one that is widely used among developers working in that language.
-
-The System Libraries of an executable work include anything, other than the work as a whole, that (a) is included in the normal form of packaging a Major Component, but which is not part of that Major Component, and (b) serves only to enable use of the work with that Major Component, or to implement a Standard Interface for which an implementation is available to the public in source code form. A Major Component, in this context, means a major essential component (kernel, window system, and so on) of the specific operating system (if any) on which the executable work runs, or a compiler used to produce the work, or an object code interpreter used to run it.
-
-The Corresponding Source for a work in object code form means all the source code needed to generate, install, and (for an executable work) run the object code and to modify the work, including scripts to control those activities. However, it does not include the work's System Libraries, or general-purpose tools or generally available free programs which are used unmodified in performing those activities but which are not part of the work. For example, Corresponding Source includes interface definition files associated with source files for the work, and the source code for shared libraries and dynamically linked subprograms that the work is specifically designed to require, such as by intimate data communication or control flow between those subprograms and other parts of the work.
-
-The Corresponding Source need not include anything that users can regenerate automatically from other parts of the Corresponding Source.
-
-The Corresponding Source for a work in source code form is that same work.
-
-2. Basic Permissions.
-
-All rights granted under this License are granted for the term of copyright on the Program, and are irrevocable provided the stated conditions are met. This License explicitly affirms your unlimited permission to run the unmodified Program. The output from running a covered work is covered by this License only if the output, given its content, constitutes a covered work. This License acknowledges your rights of fair use or other equivalent, as provided by copyright law.
-
-You may make, run and propagate covered works that you do not convey, without conditions so long as your license otherwise remains in force. You may convey covered works to others for the sole purpose of having them make modifications exclusively for you, or provide you with facilities for running those works, provided that you comply with the terms of this License in conveying all material for which you do not control copyright. Those thus making or running the covered works for you must do so exclusively on your behalf, under your direction and control, on terms that prohibit them from making any copies of your copyrighted material outside their relationship with you.
-
-Conveying under any other circumstances is permitted solely under the conditions stated below. Sublicensing is not allowed; section 10 makes it unnecessary.
-
-3. Protecting Users' Legal Rights From Anti-Circumvention Law.
-
-No covered work shall be deemed part of an effective technological measure under any applicable law fulfilling obligations under article 11 of the WIPO copyright treaty adopted on 20 December 1996, or similar laws prohibiting or restricting circumvention of such measures.
-
-When you convey a covered work, you waive any legal power to forbid circumvention of technological measures to the extent such circumvention is effected by exercising rights under this License with respect to the covered work, and you disclaim any intention to limit operation or modification of the work as a means of enforcing, against the work's users, your or third parties' legal rights to forbid circumvention of technological measures.
-
-4. Conveying Verbatim Copies.
-
-You may convey verbatim copies of the Program's source code as you receive it, in any medium, provided that you conspicuously and appropriately publish on each copy an appropriate copyright notice; keep intact all notices stating that this License and any non-permissive terms added in accord with section 7 apply to the code; keep intact all notices of the absence of any warranty; and give all recipients a copy of this License along with the Program.
-
-You may charge any price or no price for each copy that you convey, and you may offer support or warranty protection for a fee.
-5. Conveying Modified Source Versions.
-
-
-You may convey a work based on the Program, or the modifications to produce it from the Program, in the form of source code under the terms of section 4, provided that you also meet all of these conditions:
-
-    a) The work must carry prominent notices stating that you modified it, and giving a relevant date.
-    b) The work must carry prominent notices stating that it is released under this License and any conditions added under section 7. This requirement modifies the requirement in section 4 to keep intact all notices.
-    c) You must license the entire work, as a whole, under this License to anyone who comes into possession of a copy. This License will therefore apply, along with any applicable section 7 additional terms, to the whole of the work, and all its parts, regardless of how they are packaged. This License gives no permission to license the work in any other way, but it does not invalidate such permission if you have separately received it.
-    d) If the work has interactive user interfaces, each must display Appropriate Legal Notices; however, if the Program has interactive interfaces that do not display Appropriate Legal Notices, your work need not make them do so.
-
-A compilation of a covered work with other separate and independent works, which are not by their nature extensions of the covered work, and which are not combined with it such as to form a larger program, in or on a volume of a storage or distribution medium, is called an aggregate if the compilation and its resulting copyright are not used to limit the access or legal rights of the compilation's users beyond what the individual works permit. Inclusion of a covered work in an aggregate does not cause this License to apply to the other parts of the aggregate.
-
-6. Conveying Non-Source Forms.
-
-You may convey a covered work in object code form under the terms of sections 4 and 5, provided that you also convey the machine-readable Corresponding Source under the terms of this License, in one of these ways:
-
-    a) Convey the object code in, or embodied in, a physical product (including a physical distribution medium), accompanied by the Corresponding Source fixed on a durable physical medium customarily used for software interchange.
-    b) Convey the object code in, or embodied in, a physical product (including a physical distribution medium), accompanied by a written offer, valid for at least three years and valid for as long as you offer spare parts or customer support for that product model, to give anyone who possesses the object code either (1) a copy of the Corresponding Source for all the software in the product that is covered by this License, on a durable physical medium customarily used for software interchange, for a price no more than your reasonable cost of physically performing this conveying of source, or (2) access to copy the Corresponding Source from a network server at no charge.
-    c) Convey individual copies of the object code with a copy of the written offer to provide the Corresponding Source. This alternative is allowed only occasionally and noncommercially, and only if you received the object code with such an offer, in accord with subsection 6b.
-    d) Convey the object code by offering access from a designated place (gratis or for a charge), and offer equivalent access to the Corresponding Source in the same way through the same place at no further charge. You need not require recipients to copy the Corresponding Source along with the object code. If the place to copy the object code is a network server, the Corresponding Source may be on a different server (operated by you or a third party) that supports equivalent copying facilities, provided you maintain clear directions next to the object code saying where to find the Corresponding Source. Regardless of what server hosts the Corresponding Source, you remain obligated to ensure that it is available for as long as needed to satisfy these requirements.
-    e) Convey the object code using peer-to-peer transmission, provided you inform other peers where the object code and Corresponding Source of the work are being offered to the general public at no charge under subsection 6d.
-
-A separable portion of the object code, whose source code is excluded from the Corresponding Source as a System Library, need not be included in conveying the object code work.
-
-A User Product is either (1) a consumer product, which means any tangible personal property which is normally used for personal, family, or household purposes, or (2) anything designed or sold for incorporation into a dwelling. In determining whether a product is a consumer product, doubtful cases shall be resolved in favor of coverage. For a particular product received by a particular user, normally used refers to a typical or common use of that class of product, regardless of the status of the particular user or of the way in which the particular user actually uses, or expects or is expected to use, the product. A product is a consumer product regardless of whether the product has substantial commercial, industrial or non-consumer uses, unless such uses represent the only significant mode of use of the product.
-
-Installation Information for a User Product means any methods, procedures, authorization keys, or other information required to install and execute modified versions of a covered work in that User Product from a modified version of its Corresponding Source. The information must suffice to ensure that the continued functioning of the modified object code is in no case prevented or interfered with solely because modification has been made.
-
-If you convey an object code work under this section in, or with, or specifically for use in, a User Product, and the conveying occurs as part of a transaction in which the right of possession and use of the User Product is transferred to the recipient in perpetuity or for a fixed term (regardless of how the transaction is characterized), the Corresponding Source conveyed under this section must be accompanied by the Installation Information. But this requirement does not apply if neither you nor any third party retains the ability to install modified object code on the User Product (for example, the work has been installed in ROM).
-
-The requirement to provide Installation Information does not include a requirement to continue to provide support service, warranty, or updates for a work that has been modified or installed by the recipient, or for the User Product in which it has been modified or installed. Access to a network may be denied when the modification itself materially and adversely affects the operation of the network or violates the rules and protocols for communication across the network.
-
-Corresponding Source conveyed, and Installation Information provided, in accord with this section must be in a format that is publicly documented (and with an implementation available to the public in source code form), and must require no special password or key for unpacking, reading or copying.
-
-7. Additional Terms.
-
-Additional permissions are terms that supplement the terms of this License by making exceptions from one or more of its conditions. Additional permissions that are applicable to the entire Program shall be treated as though they were included in this License, to the extent that they are valid under applicable law. If additional permissions apply only to part of the Program, that part may be used separately under those permissions, but the entire Program remains governed by this License without regard to the additional permissions.
-
-When you convey a copy of a covered work, you may at your option remove any additional permissions from that copy, or from any part of it. (Additional permissions may be written to require their own removal in certain cases when you modify the work.) You may place additional permissions on material, added by you to a covered work, for which you have or can give appropriate copyright permission.
-
-Notwithstanding any other provision of this License, for material you add to a covered work, you may (if authorized by the copyright holders of that material) supplement the terms of this License with terms:
-
-    a) Disclaiming warranty or limiting liability differently from the terms of sections 15 and 16 of this License; or
-    b) Requiring preservation of specified reasonable legal notices or author attributions in that material or in the Appropriate Legal Notices displayed by works containing it; or
-    c) Prohibiting misrepresentation of the origin of that material, or requiring that modified versions of such material be marked in reasonable ways as different from the original version; or
-    d) Limiting the use for publicity purposes of names of licensors or authors of the material; or
-    e) Declining to grant rights under trademark law for use of some trade names, trademarks, or service marks; or
-    f) Requiring indemnification of licensors and authors of that material by anyone who conveys the material (or modified versions of it) with contractual assumptions of liability to the recipient, for any liability that these contractual assumptions directly impose on those licensors and authors.
-
-All other non-permissive additional terms are considered further restrictions within the meaning of section 10. If the Program as you received it, or any part of it, contains a notice stating that it is governed by this License along with a term that is a further restriction, you may remove that term. If a license document contains a further restriction but permits relicensing or conveying under this License, you may add to a covered work material governed by the terms of that license document, provided that the further restriction does not survive such relicensing or conveying.
-
-If you add terms to a covered work in accord with this section, you must place, in the relevant source files, a statement of the additional terms that apply to those files, or a notice indicating where to find the applicable terms.
-
-Additional terms, permissive or non-permissive, may be stated in the form of a separately written license, or stated as exceptions; the above requirements apply either way.
-
-8. Termination.
-
-You may not propagate or modify a covered work except as expressly provided under this License. Any attempt otherwise to propagate or modify it is void, and will automatically terminate your rights under this License (including any patent licenses granted under the third paragraph of section 11).
-
-However, if you cease all violation of this License, then your license from a particular copyright holder is reinstated (a) provisionally, unless and until the copyright holder explicitly and finally terminates your license, and (b) permanently, if the copyright holder fails to notify you of the violation by some reasonable means prior to 60 days after the cessation.
-
-Moreover, your license from a particular copyright holder is reinstated permanently if the copyright holder notifies you of the violation by some reasonable means, this is the first time you have received notice of violation of this License (for any work) from that copyright holder, and you cure the violation prior to 30 days after your receipt of the notice.
-
-Termination of your rights under this section does not terminate the licenses of parties who have received copies or rights from you under this License. If your rights have been terminated and not permanently reinstated, you do not qualify to receive new licenses for the same material under section 10.
-
-9. Acceptance Not Required for Having Copies.
-
-You are not required to accept this License in order to receive or run a copy of the Program. Ancillary propagation of a covered work occurring solely as a consequence of using peer-to-peer transmission to receive a copy likewise does not require acceptance. However, nothing other than this License grants you permission to propagate or modify any covered work. These actions infringe copyright if you do not accept this License. Therefore, by modifying or propagating a covered work, you indicate your acceptance of this License to do so.
-
-10. Automatic Licensing of Downstream Recipients.
-
-Each time you convey a covered work, the recipient automatically receives a license from the original licensors, to run, modify and propagate that work, subject to this License. You are not responsible for enforcing compliance by third parties with this License.
-
-An entity transaction is a transaction transferring control of an organization, or substantially all assets of one, or subdividing an organization, or merging organizations. If propagation of a covered work results from an entity transaction, each party to that transaction who receives a copy of the work also receives whatever licenses to the work the party's predecessor in interest had or could give under the previous paragraph, plus a right to possession of the Corresponding Source of the work from the predecessor in interest, if the predecessor has it or can get it with reasonable efforts.
-
-You may not impose any further restrictions on the exercise of the rights granted or affirmed under this License. For example, you may not impose a license fee, royalty, or other charge for exercise of rights granted under this License, and you may not initiate litigation (including a cross-claim or counterclaim in a lawsuit) alleging that any patent claim is infringed by making, using, selling, offering for sale, or importing the Program or any portion of it.
-
-11. Patents.
-
-A contributor is a copyright holder who authorizes use under this License of the Program or a work on which the Program is based. The work thus licensed is called the contributor's contributor version.
-
-A contributor's essential patent claims are all patent claims owned or controlled by the contributor, whether already acquired or hereafter acquired, that would be infringed by some manner, permitted by this License, of making, using, or selling its contributor version, but do not include claims that would be infringed only as a consequence of further modification of the contributor version. For purposes of this definition, control includes the right to grant patent sublicenses in a manner consistent with the requirements of this License.
-
-Each contributor grants you a non-exclusive, worldwide, royalty-free patent license under the contributor's essential patent claims, to make, use, sell, offer for sale, import and otherwise run, modify and propagate the contents of its contributor version.
-
-In the following three paragraphs, a patent license is any express agreement or commitment, however denominated, not to enforce a patent (such as an express permission to practice a patent or covenant not to sue for patent infringement). To grant such a patent license to a party means to make such an agreement or commitment not to enforce a patent against the party.
-
-If you convey a covered work, knowingly relying on a patent license, and the Corresponding Source of the work is not available for anyone to copy, free of charge and under the terms of this License, through a publicly available network server or other readily accessible means, then you must either (1) cause the Corresponding Source to be so available, or (2) arrange to deprive yourself of the benefit of the patent license for this particular work, or (3) arrange, in a manner consistent with the requirements of this License, to extend the patent license to downstream recipients. Knowingly relying means you have actual knowledge that, but for the patent license, your conveying the covered work in a country, or your recipient's use of the covered work in a country, would infringe one or more identifiable patents in that country that you have reason to believe are valid.
-
-If, pursuant to or in connection with a single transaction or arrangement, you convey, or propagate by procuring conveyance of, a covered work, and grant a patent license to some of the parties receiving the covered work authorizing them to use, propagate, modify or convey a specific copy of the covered work, then the patent license you grant is automatically extended to all recipients of the covered work and works based on it.
-
-A patent license is discriminatory if it does not include within the scope of its coverage, prohibits the exercise of, or is conditioned on the non-exercise of one or more of the rights that are specifically granted under this License. You may not convey a covered work if you are a party to an arrangement with a third party that is in the business of distributing software, under which you make payment to the third party based on the extent of your activity of conveying the work, and under which the third party grants, to any of the parties who would receive the covered work from you, a discriminatory patent license (a) in connection with copies of the covered work conveyed by you (or copies made from those copies), or (b) primarily for and in connection with specific products or compilations that contain the covered work, unless you entered into that arrangement, or that patent license was granted, prior to 28 March 2007.
-
-Nothing in this License shall be construed as excluding or limiting any implied license or other defenses to infringement that may otherwise be available to you under applicable patent law.
-
-12. No Surrender of Others' Freedom.
-
-If conditions are imposed on you (whether by court order, agreement or otherwise) that contradict the conditions of this License, they do not excuse you from the conditions of this License. If you cannot convey a covered work so as to satisfy simultaneously your obligations under this License and any other pertinent obligations, then as a consequence you may not convey it at all. For example, if you agree to terms that obligate you to collect a royalty for further conveying from those to whom you convey the Program, the only way you could satisfy both those terms and this License would be to refrain entirely from conveying the Program.
-
-13. Use with the GNU Affero General Public License.
-
-Notwithstanding any other provision of this License, you have permission to link or combine any covered work with a work licensed under version 3 of the GNU Affero General Public License into a single combined work, and to convey the resulting work. The terms of this License will continue to apply to the part which is the covered work, but the special requirements of the GNU Affero General Public License, section 13, concerning interaction through a network will apply to the combination as such.
-
-14. Revised Versions of this License.
-
-The Free Software Foundation may publish revised and/or new versions of the GNU General Public License from time to time. Such new versions will be similar in spirit to the present version, but may differ in detail to address new problems or concerns.
-
-Each version is given a distinguishing version number. If the Program specifies that a certain numbered version of the GNU General Public License or any later version applies to it, you have the option of following the terms and conditions either of that numbered version or of any later version published by the Free Software Foundation. If the Program does not specify a version number of the GNU General Public License, you may choose any version ever published by the Free Software Foundation.
-
-If the Program specifies that a proxy can decide which future versions of the GNU General Public License can be used, that proxy's public statement of acceptance of a version permanently authorizes you to choose that version for the Program.
-
-Later license versions may give you additional or different permissions. However, no additional obligations are imposed on any author or copyright holder as a result of your choosing to follow a later version.
-
-15. Disclaimer of Warranty.
-
-THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM AS IS WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
-
-16. Limitation of Liability.
-
-IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
-
-17. Interpretation of Sections 15 and 16.
-
-If the disclaimer of warranty and limitation of liability provided above cannot be given local legal effect according to their terms, reviewing courts shall apply local law that most closely approximates an absolute waiver of all civil liability in connection with the Program, unless a warranty or assumption of liability accompanies a copy of the Program in return for a fee.
-
+GNU GENERAL PUBLIC LICENSE
+
+Version 3, 29 June 2007
+
+Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/>
+
+Everyone is permitted to copy and distribute verbatim copies of this license document, but changing it is not allowed.
+
+Preamble
+
+The GNU General Public License is a free, copyleft license for software and other kinds of works.
+
+The licenses for most software and other practical works are designed to take away your freedom to share and change the works. By contrast, the GNU General Public License is intended to guarantee your freedom to share and change all versions of a program--to make sure it remains free software for all its users. We, the Free Software Foundation, use the GNU General Public License for most of our software; it applies also to any other work released this way by its authors. You can apply it to your programs, too.
+
+When we speak of free software, we are referring to freedom, not price. Our General Public Licenses are designed to make sure that you have the freedom to distribute copies of free software (and charge for them if you wish), that you receive source code or can get it if you want it, that you can change the software or use pieces of it in new free programs, and that you know you can do these things.
+
+To protect your rights, we need to prevent others from denying you these rights or asking you to surrender the rights. Therefore, you have certain responsibilities if you distribute copies of the software, or if you modify it: responsibilities to respect the freedom of others.
+
+For example, if you distribute copies of such a program, whether gratis or for a fee, you must pass on to the recipients the same freedoms that you received. You must make sure that they, too, receive or can get the source code. And you must show them these terms so they know their rights.
+
+Developers that use the GNU GPL protect your rights with two steps: (1) assert copyright on the software, and (2) offer you this License giving you legal permission to copy, distribute and/or modify it.
+
+For the developers' and authors' protection, the GPL clearly explains that there is no warranty for this free software. For both users' and authors' sake, the GPL requires that modified versions be marked as changed, so that their problems will not be attributed erroneously to authors of previous versions.
+
+Some devices are designed to deny users access to install or run modified versions of the software inside them, although the manufacturer can do so. This is fundamentally incompatible with the aim of protecting users' freedom to change the software. The systematic pattern of such abuse occurs in the area of products for individuals to use, which is precisely where it is most unacceptable. Therefore, we have designed this version of the GPL to prohibit the practice for those products. If such problems arise substantially in other domains, we stand ready to extend this provision to those domains in future versions of the GPL, as needed to protect the freedom of users.
+
+Finally, every program is threatened constantly by software patents. States should not allow patents to restrict development and use of software on general-purpose computers, but in those that do, we wish to avoid the special danger that patents applied to a free program could make it effectively proprietary. To prevent this, the GPL assures that patents cannot be used to render the program non-free.
+
+The precise terms and conditions for copying, distribution and modification follow.
+
+TERMS AND CONDITIONS
+0. Definitions.
+
+This License refers to version 3 of the GNU General Public License.
+
+Copyright also means copyright-like laws that apply to other kinds of works, such as semiconductor masks.
+
+The Program refers to any copyrightable work licensed under this License. Each licensee is addressed as you. Licensees and recipients may be individuals or organizations.
+
+To modify a work means to copy from or adapt all or part of the work in a fashion requiring copyright permission, other than the making of an exact copy. The resulting work is called a modified version of the earlier work or a work based on the earlier work.
+
+A covered work means either the unmodified Program or a work based on the Program.
+
+To propagate a work means to do anything with it that, without permission, would make you directly or secondarily liable for infringement under applicable copyright law, except executing it on a computer or modifying a private copy. Propagation includes copying, distribution (with or without modification), making available to the public, and in some countries other activities as well.
+
+To convey a work means any kind of propagation that enables other parties to make or receive copies. Mere interaction with a user through a computer network, with no transfer of a copy, is not conveying.
+
+An interactive user interface displays Appropriate Legal Notices to the extent that it includes a convenient and prominently visible feature that (1) displays an appropriate copyright notice, and (2) tells the user that there is no warranty for the work (except to the extent that warranties are provided), that licensees may convey the work under this License, and how to view a copy of this License. If the interface presents a list of user commands or options, such as a menu, a prominent item in the list meets this criterion.
+
+1. Source Code.
+
+The source code for a work means the preferred form of the work for making modifications to it. Object code means any non-source form of a work.
+
+A Standard Interface means an interface that either is an official standard defined by a recognized standards body, or, in the case of interfaces specified for a particular programming language, one that is widely used among developers working in that language.
+
+The System Libraries of an executable work include anything, other than the work as a whole, that (a) is included in the normal form of packaging a Major Component, but which is not part of that Major Component, and (b) serves only to enable use of the work with that Major Component, or to implement a Standard Interface for which an implementation is available to the public in source code form. A Major Component, in this context, means a major essential component (kernel, window system, and so on) of the specific operating system (if any) on which the executable work runs, or a compiler used to produce the work, or an object code interpreter used to run it.
+
+The Corresponding Source for a work in object code form means all the source code needed to generate, install, and (for an executable work) run the object code and to modify the work, including scripts to control those activities. However, it does not include the work's System Libraries, or general-purpose tools or generally available free programs which are used unmodified in performing those activities but which are not part of the work. For example, Corresponding Source includes interface definition files associated with source files for the work, and the source code for shared libraries and dynamically linked subprograms that the work is specifically designed to require, such as by intimate data communication or control flow between those subprograms and other parts of the work.
+
+The Corresponding Source need not include anything that users can regenerate automatically from other parts of the Corresponding Source.
+
+The Corresponding Source for a work in source code form is that same work.
+
+2. Basic Permissions.
+
+All rights granted under this License are granted for the term of copyright on the Program, and are irrevocable provided the stated conditions are met. This License explicitly affirms your unlimited permission to run the unmodified Program. The output from running a covered work is covered by this License only if the output, given its content, constitutes a covered work. This License acknowledges your rights of fair use or other equivalent, as provided by copyright law.
+
+You may make, run and propagate covered works that you do not convey, without conditions so long as your license otherwise remains in force. You may convey covered works to others for the sole purpose of having them make modifications exclusively for you, or provide you with facilities for running those works, provided that you comply with the terms of this License in conveying all material for which you do not control copyright. Those thus making or running the covered works for you must do so exclusively on your behalf, under your direction and control, on terms that prohibit them from making any copies of your copyrighted material outside their relationship with you.
+
+Conveying under any other circumstances is permitted solely under the conditions stated below. Sublicensing is not allowed; section 10 makes it unnecessary.
+
+3. Protecting Users' Legal Rights From Anti-Circumvention Law.
+
+No covered work shall be deemed part of an effective technological measure under any applicable law fulfilling obligations under article 11 of the WIPO copyright treaty adopted on 20 December 1996, or similar laws prohibiting or restricting circumvention of such measures.
+
+When you convey a covered work, you waive any legal power to forbid circumvention of technological measures to the extent such circumvention is effected by exercising rights under this License with respect to the covered work, and you disclaim any intention to limit operation or modification of the work as a means of enforcing, against the work's users, your or third parties' legal rights to forbid circumvention of technological measures.
+
+4. Conveying Verbatim Copies.
+
+You may convey verbatim copies of the Program's source code as you receive it, in any medium, provided that you conspicuously and appropriately publish on each copy an appropriate copyright notice; keep intact all notices stating that this License and any non-permissive terms added in accord with section 7 apply to the code; keep intact all notices of the absence of any warranty; and give all recipients a copy of this License along with the Program.
+
+You may charge any price or no price for each copy that you convey, and you may offer support or warranty protection for a fee.
+5. Conveying Modified Source Versions.
+
+
+You may convey a work based on the Program, or the modifications to produce it from the Program, in the form of source code under the terms of section 4, provided that you also meet all of these conditions:
+
+    a) The work must carry prominent notices stating that you modified it, and giving a relevant date.
+    b) The work must carry prominent notices stating that it is released under this License and any conditions added under section 7. This requirement modifies the requirement in section 4 to keep intact all notices.
+    c) You must license the entire work, as a whole, under this License to anyone who comes into possession of a copy. This License will therefore apply, along with any applicable section 7 additional terms, to the whole of the work, and all its parts, regardless of how they are packaged. This License gives no permission to license the work in any other way, but it does not invalidate such permission if you have separately received it.
+    d) If the work has interactive user interfaces, each must display Appropriate Legal Notices; however, if the Program has interactive interfaces that do not display Appropriate Legal Notices, your work need not make them do so.
+
+A compilation of a covered work with other separate and independent works, which are not by their nature extensions of the covered work, and which are not combined with it such as to form a larger program, in or on a volume of a storage or distribution medium, is called an aggregate if the compilation and its resulting copyright are not used to limit the access or legal rights of the compilation's users beyond what the individual works permit. Inclusion of a covered work in an aggregate does not cause this License to apply to the other parts of the aggregate.
+
+6. Conveying Non-Source Forms.
+
+You may convey a covered work in object code form under the terms of sections 4 and 5, provided that you also convey the machine-readable Corresponding Source under the terms of this License, in one of these ways:
+
+    a) Convey the object code in, or embodied in, a physical product (including a physical distribution medium), accompanied by the Corresponding Source fixed on a durable physical medium customarily used for software interchange.
+    b) Convey the object code in, or embodied in, a physical product (including a physical distribution medium), accompanied by a written offer, valid for at least three years and valid for as long as you offer spare parts or customer support for that product model, to give anyone who possesses the object code either (1) a copy of the Corresponding Source for all the software in the product that is covered by this License, on a durable physical medium customarily used for software interchange, for a price no more than your reasonable cost of physically performing this conveying of source, or (2) access to copy the Corresponding Source from a network server at no charge.
+    c) Convey individual copies of the object code with a copy of the written offer to provide the Corresponding Source. This alternative is allowed only occasionally and noncommercially, and only if you received the object code with such an offer, in accord with subsection 6b.
+    d) Convey the object code by offering access from a designated place (gratis or for a charge), and offer equivalent access to the Corresponding Source in the same way through the same place at no further charge. You need not require recipients to copy the Corresponding Source along with the object code. If the place to copy the object code is a network server, the Corresponding Source may be on a different server (operated by you or a third party) that supports equivalent copying facilities, provided you maintain clear directions next to the object code saying where to find the Corresponding Source. Regardless of what server hosts the Corresponding Source, you remain obligated to ensure that it is available for as long as needed to satisfy these requirements.
+    e) Convey the object code using peer-to-peer transmission, provided you inform other peers where the object code and Corresponding Source of the work are being offered to the general public at no charge under subsection 6d.
+
+A separable portion of the object code, whose source code is excluded from the Corresponding Source as a System Library, need not be included in conveying the object code work.
+
+A User Product is either (1) a consumer product, which means any tangible personal property which is normally used for personal, family, or household purposes, or (2) anything designed or sold for incorporation into a dwelling. In determining whether a product is a consumer product, doubtful cases shall be resolved in favor of coverage. For a particular product received by a particular user, normally used refers to a typical or common use of that class of product, regardless of the status of the particular user or of the way in which the particular user actually uses, or expects or is expected to use, the product. A product is a consumer product regardless of whether the product has substantial commercial, industrial or non-consumer uses, unless such uses represent the only significant mode of use of the product.
+
+Installation Information for a User Product means any methods, procedures, authorization keys, or other information required to install and execute modified versions of a covered work in that User Product from a modified version of its Corresponding Source. The information must suffice to ensure that the continued functioning of the modified object code is in no case prevented or interfered with solely because modification has been made.
+
+If you convey an object code work under this section in, or with, or specifically for use in, a User Product, and the conveying occurs as part of a transaction in which the right of possession and use of the User Product is transferred to the recipient in perpetuity or for a fixed term (regardless of how the transaction is characterized), the Corresponding Source conveyed under this section must be accompanied by the Installation Information. But this requirement does not apply if neither you nor any third party retains the ability to install modified object code on the User Product (for example, the work has been installed in ROM).
+
+The requirement to provide Installation Information does not include a requirement to continue to provide support service, warranty, or updates for a work that has been modified or installed by the recipient, or for the User Product in which it has been modified or installed. Access to a network may be denied when the modification itself materially and adversely affects the operation of the network or violates the rules and protocols for communication across the network.
+
+Corresponding Source conveyed, and Installation Information provided, in accord with this section must be in a format that is publicly documented (and with an implementation available to the public in source code form), and must require no special password or key for unpacking, reading or copying.
+
+7. Additional Terms.
+
+Additional permissions are terms that supplement the terms of this License by making exceptions from one or more of its conditions. Additional permissions that are applicable to the entire Program shall be treated as though they were included in this License, to the extent that they are valid under applicable law. If additional permissions apply only to part of the Program, that part may be used separately under those permissions, but the entire Program remains governed by this License without regard to the additional permissions.
+
+When you convey a copy of a covered work, you may at your option remove any additional permissions from that copy, or from any part of it. (Additional permissions may be written to require their own removal in certain cases when you modify the work.) You may place additional permissions on material, added by you to a covered work, for which you have or can give appropriate copyright permission.
+
+Notwithstanding any other provision of this License, for material you add to a covered work, you may (if authorized by the copyright holders of that material) supplement the terms of this License with terms:
+
+    a) Disclaiming warranty or limiting liability differently from the terms of sections 15 and 16 of this License; or
+    b) Requiring preservation of specified reasonable legal notices or author attributions in that material or in the Appropriate Legal Notices displayed by works containing it; or
+    c) Prohibiting misrepresentation of the origin of that material, or requiring that modified versions of such material be marked in reasonable ways as different from the original version; or
+    d) Limiting the use for publicity purposes of names of licensors or authors of the material; or
+    e) Declining to grant rights under trademark law for use of some trade names, trademarks, or service marks; or
+    f) Requiring indemnification of licensors and authors of that material by anyone who conveys the material (or modified versions of it) with contractual assumptions of liability to the recipient, for any liability that these contractual assumptions directly impose on those licensors and authors.
+
+All other non-permissive additional terms are considered further restrictions within the meaning of section 10. If the Program as you received it, or any part of it, contains a notice stating that it is governed by this License along with a term that is a further restriction, you may remove that term. If a license document contains a further restriction but permits relicensing or conveying under this License, you may add to a covered work material governed by the terms of that license document, provided that the further restriction does not survive such relicensing or conveying.
+
+If you add terms to a covered work in accord with this section, you must place, in the relevant source files, a statement of the additional terms that apply to those files, or a notice indicating where to find the applicable terms.
+
+Additional terms, permissive or non-permissive, may be stated in the form of a separately written license, or stated as exceptions; the above requirements apply either way.
+
+8. Termination.
+
+You may not propagate or modify a covered work except as expressly provided under this License. Any attempt otherwise to propagate or modify it is void, and will automatically terminate your rights under this License (including any patent licenses granted under the third paragraph of section 11).
+
+However, if you cease all violation of this License, then your license from a particular copyright holder is reinstated (a) provisionally, unless and until the copyright holder explicitly and finally terminates your license, and (b) permanently, if the copyright holder fails to notify you of the violation by some reasonable means prior to 60 days after the cessation.
+
+Moreover, your license from a particular copyright holder is reinstated permanently if the copyright holder notifies you of the violation by some reasonable means, this is the first time you have received notice of violation of this License (for any work) from that copyright holder, and you cure the violation prior to 30 days after your receipt of the notice.
+
+Termination of your rights under this section does not terminate the licenses of parties who have received copies or rights from you under this License. If your rights have been terminated and not permanently reinstated, you do not qualify to receive new licenses for the same material under section 10.
+
+9. Acceptance Not Required for Having Copies.
+
+You are not required to accept this License in order to receive or run a copy of the Program. Ancillary propagation of a covered work occurring solely as a consequence of using peer-to-peer transmission to receive a copy likewise does not require acceptance. However, nothing other than this License grants you permission to propagate or modify any covered work. These actions infringe copyright if you do not accept this License. Therefore, by modifying or propagating a covered work, you indicate your acceptance of this License to do so.
+
+10. Automatic Licensing of Downstream Recipients.
+
+Each time you convey a covered work, the recipient automatically receives a license from the original licensors, to run, modify and propagate that work, subject to this License. You are not responsible for enforcing compliance by third parties with this License.
+
+An entity transaction is a transaction transferring control of an organization, or substantially all assets of one, or subdividing an organization, or merging organizations. If propagation of a covered work results from an entity transaction, each party to that transaction who receives a copy of the work also receives whatever licenses to the work the party's predecessor in interest had or could give under the previous paragraph, plus a right to possession of the Corresponding Source of the work from the predecessor in interest, if the predecessor has it or can get it with reasonable efforts.
+
+You may not impose any further restrictions on the exercise of the rights granted or affirmed under this License. For example, you may not impose a license fee, royalty, or other charge for exercise of rights granted under this License, and you may not initiate litigation (including a cross-claim or counterclaim in a lawsuit) alleging that any patent claim is infringed by making, using, selling, offering for sale, or importing the Program or any portion of it.
+
+11. Patents.
+
+A contributor is a copyright holder who authorizes use under this License of the Program or a work on which the Program is based. The work thus licensed is called the contributor's contributor version.
+
+A contributor's essential patent claims are all patent claims owned or controlled by the contributor, whether already acquired or hereafter acquired, that would be infringed by some manner, permitted by this License, of making, using, or selling its contributor version, but do not include claims that would be infringed only as a consequence of further modification of the contributor version. For purposes of this definition, control includes the right to grant patent sublicenses in a manner consistent with the requirements of this License.
+
+Each contributor grants you a non-exclusive, worldwide, royalty-free patent license under the contributor's essential patent claims, to make, use, sell, offer for sale, import and otherwise run, modify and propagate the contents of its contributor version.
+
+In the following three paragraphs, a patent license is any express agreement or commitment, however denominated, not to enforce a patent (such as an express permission to practice a patent or covenant not to sue for patent infringement). To grant such a patent license to a party means to make such an agreement or commitment not to enforce a patent against the party.
+
+If you convey a covered work, knowingly relying on a patent license, and the Corresponding Source of the work is not available for anyone to copy, free of charge and under the terms of this License, through a publicly available network server or other readily accessible means, then you must either (1) cause the Corresponding Source to be so available, or (2) arrange to deprive yourself of the benefit of the patent license for this particular work, or (3) arrange, in a manner consistent with the requirements of this License, to extend the patent license to downstream recipients. Knowingly relying means you have actual knowledge that, but for the patent license, your conveying the covered work in a country, or your recipient's use of the covered work in a country, would infringe one or more identifiable patents in that country that you have reason to believe are valid.
+
+If, pursuant to or in connection with a single transaction or arrangement, you convey, or propagate by procuring conveyance of, a covered work, and grant a patent license to some of the parties receiving the covered work authorizing them to use, propagate, modify or convey a specific copy of the covered work, then the patent license you grant is automatically extended to all recipients of the covered work and works based on it.
+
+A patent license is discriminatory if it does not include within the scope of its coverage, prohibits the exercise of, or is conditioned on the non-exercise of one or more of the rights that are specifically granted under this License. You may not convey a covered work if you are a party to an arrangement with a third party that is in the business of distributing software, under which you make payment to the third party based on the extent of your activity of conveying the work, and under which the third party grants, to any of the parties who would receive the covered work from you, a discriminatory patent license (a) in connection with copies of the covered work conveyed by you (or copies made from those copies), or (b) primarily for and in connection with specific products or compilations that contain the covered work, unless you entered into that arrangement, or that patent license was granted, prior to 28 March 2007.
+
+Nothing in this License shall be construed as excluding or limiting any implied license or other defenses to infringement that may otherwise be available to you under applicable patent law.
+
+12. No Surrender of Others' Freedom.
+
+If conditions are imposed on you (whether by court order, agreement or otherwise) that contradict the conditions of this License, they do not excuse you from the conditions of this License. If you cannot convey a covered work so as to satisfy simultaneously your obligations under this License and any other pertinent obligations, then as a consequence you may not convey it at all. For example, if you agree to terms that obligate you to collect a royalty for further conveying from those to whom you convey the Program, the only way you could satisfy both those terms and this License would be to refrain entirely from conveying the Program.
+
+13. Use with the GNU Affero General Public License.
+
+Notwithstanding any other provision of this License, you have permission to link or combine any covered work with a work licensed under version 3 of the GNU Affero General Public License into a single combined work, and to convey the resulting work. The terms of this License will continue to apply to the part which is the covered work, but the special requirements of the GNU Affero General Public License, section 13, concerning interaction through a network will apply to the combination as such.
+
+14. Revised Versions of this License.
+
+The Free Software Foundation may publish revised and/or new versions of the GNU General Public License from time to time. Such new versions will be similar in spirit to the present version, but may differ in detail to address new problems or concerns.
+
+Each version is given a distinguishing version number. If the Program specifies that a certain numbered version of the GNU General Public License or any later version applies to it, you have the option of following the terms and conditions either of that numbered version or of any later version published by the Free Software Foundation. If the Program does not specify a version number of the GNU General Public License, you may choose any version ever published by the Free Software Foundation.
+
+If the Program specifies that a proxy can decide which future versions of the GNU General Public License can be used, that proxy's public statement of acceptance of a version permanently authorizes you to choose that version for the Program.
+
+Later license versions may give you additional or different permissions. However, no additional obligations are imposed on any author or copyright holder as a result of your choosing to follow a later version.
+
+15. Disclaimer of Warranty.
+
+THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM AS IS WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
+
+16. Limitation of Liability.
+
+IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
+
+17. Interpretation of Sections 15 and 16.
+
+If the disclaimer of warranty and limitation of liability provided above cannot be given local legal effect according to their terms, reviewing courts shall apply local law that most closely approximates an absolute waiver of all civil liability in connection with the Program, unless a warranty or assumption of liability accompanies a copy of the Program in return for a fee.
+
 END OF TERMS AND CONDITIONS
\ No newline at end of file
diff -x .svn -aruN 1.4.24.src/db_ecard.php 1.4.25.src/db_ecard.php
--- 1.4.24.src/db_ecard.php	2009-05-21 15:03:09.000000000 -0500
+++ 1.4.25.src/db_ecard.php	2009-05-26 11:25:52.000000000 -0500
@@ -1,278 +1,278 @@
-<?php
-/*************************
-  Coppermine Photo Gallery
-  ************************
-  Copyright (c) 2003-2009 Coppermine Dev Team
-  v1.1 originally written by Gregory DEMAR
-
-  This program is free software; you can redistribute it and/or modify
-  it under the terms of the GNU General Public License version 3
-  as published by the Free Software Foundation.
-  
-  ********************************************
-  Coppermine version: 1.4.24
-  $HeadURL: https://coppermine.svn.sourceforge.net/svnroot/coppermine/trunk/cpg1.4.x/db_ecard.php $
-  $Revision: 5969 $
-  $Author: gaugau $
-  $Date: 2009-05-21 22:03:33 +0200 (Do, 21 Mai 2009) $
-**********************************************/
-
-define('IN_COPPERMINE', true);
-define('DB_ECARD_PHP', true);
-global $CONFIG;
-
-require('include/init.inc.php');
-if (!GALLERY_ADMIN_MODE) cpg_die(ERROR, $lang_errors['access_denied'], __FILE__, __LINE__, 'false');
-
-$sort = isset($_REQUEST['sort']) ? $_REQUEST['sort'] : '';
-$start = isset($_REQUEST['start']) ? $_REQUEST['start'] : '';
-$count = isset($_REQUEST['count']) ? $_REQUEST['count'] : '';
-//set default values
-$selectOptions = array(25,50,75,100);
-$sortBy = 'date';
-$sortDirection = 'DESC';
-$sortText = $lang_db_ecard_php['ecard_by_date'];
-$sortDirectionText = $lang_db_ecard_php['ecard_descending'];
-if (!$start) {$startFrom = '0';}else{$startFrom=$start;}
-if (!$count) {$countTo = $selectOptions[0];}else{$countTo=$count;}
-$tabOutput = '';
-
-//delete selected ecards
-if (isset($_REQUEST['eid'])) {
-  foreach ($_REQUEST['eid'] as $key) {
-    //print $key;
-    //print "<br>";
-    $query = "DELETE FROM {$CONFIG['TABLE_ECARDS']} WHERE eid='$key'";
-    $result = cpg_db_query($query);
-    }
-}
-
-switch ($sort) {
-  case 'snd' :
-    $sortBy = 'sender_name';
-    $sortDirection = 'DESC';
-    $sortText = $lang_db_ecard_php['ecard_by_sender_name'];
-    break;
-  case 'sna' :
-    $sortBy = 'sender_name';
-    $sortDirection = 'ASC';
-    $sortText = $lang_db_ecard_php['ecard_by_sender_name'];
-    break;
-  case 'sed' :
-    $sortBy = 'sender_email';
-    $sortDirection = 'DESC';
-    $sortText = $lang_db_ecard_php['ecard_by_sender_email'];
-    break;
-  case 'sea' :
-    $sortBy = 'sender_email';
-    $sortDirection = 'ASC';
-    $sortText = $lang_db_ecard_php['ecard_by_sender_email'];
-    break;
-  case 'id' :
-    $sortBy = 'sender_ip';
-    $sortDirection = 'DESC';
-    $sortText = $lang_db_ecard_php['ecard_by_sender_ip'];
-    break;
-  case 'ia' :
-    $sortBy = 'sender_ip';
-    $sortDirection = 'ASC';
-    $sortText = $lang_db_ecard_php['ecard_by_sender_ip'];
-    break;
-  case 'rnd' :
-    $sortBy = 'recipient_name';
-    $sortDirection = 'DESC';
-    $sortText = $lang_db_ecard_php['ecard_by_recipient_name'];
-    break;
-  case 'rna' :
-    $sortBy = 'recipient_name';
-    $sortDirection = 'ASC';
-    $sortText = $lang_db_ecard_php['ecard_by_recipient_name'];
-    break;
-  case 'red' :
-    $sortBy = 'recipient_email';
-    $sortDirection = 'DESC';
-    $sortText = $lang_db_ecard_php['ecard_by_recipient_email'];
-    break;
-  case 'rea' :
-    $sortBy = 'recipient_email';
-    $sortDirection = 'ASC';
-    $sortText = $lang_db_ecard_php['ecard_by_recipient_email'];
-    break;
-  case 'da' :
-    $sortBy = 'date';
-    $sortDirection = 'ASC';
-    break;
-}
-
-if ($sortDirection == 'ASC'){$sortDirectionText = $lang_db_ecard_php['ecard_ascending'];}
-
-// determine the total number of entries
-$result = cpg_db_query("SELECT COUNT(*) FROM {$CONFIG['TABLE_ECARDS']}");
-if (!mysql_num_rows($result)) cpg_die(ERROR, $lang_errors['ecards_empty'], __FILE__, __LINE__, false);
-$totalEcards = mysql_fetch_array($result);
-$totalEcards = $totalEcards[0];
-$result = cpg_db_query("SELECT eid, sender_name, sender_email, recipient_name, recipient_email, link, date, sender_ip FROM {$CONFIG['TABLE_ECARDS']} ORDER BY $sortBy $sortDirection LIMIT $startFrom,$countTo");
-if (!mysql_num_rows($result)) cpg_die(ERROR, $lang_errors['ecards_empty'], __FILE__, __LINE__, false);
-
-pageheader($lang_db_ecard_php['title']);
-
-$formTarget = cpgGetUrlVars('count');
-print '<form method="post" name="ecardselect" action="'.$formTarget.'" onSubmit="return defaultagree(this)">';
-?>
-
-<script language="javascript" type="text/javascript">
-<!--
-function checkAll(field)
-{
-for (i = 0; i < field.length; i++)
-  field[i].checked = true ;
-}
-
-function uncheckAll(field)
-{
-for (i = 0; i < field.length; i++)
-  field[i].checked = false ;
-}
-
-var checkobj
-
-function agreesubmit(el){
-checkobj=el
-if (document.all||document.getElementById){
-for (i=0;i<checkobj.form.length;i++){  //hunt down submit button
-var tempobj=checkobj.form.elements[i]
-if(tempobj.type.toLowerCase()=="submit")
-tempobj.disabled=!checkobj.checked
-}
-}
-}
-
-function defaultagree(el){
-if (!document.all&&!document.getElementById){
-if (window.checkobj&&checkobj.checked)
-return true
-else{
-alert("<?php print $lang_db_ecard_php['ecards_delete_confirm']; ?>")
-return false
-}
-}
-}
-
--->
-</script>
-<?php
-// create tabbed display (non-coppermine standard); maybe this could be changed later using the coppermine standard method
-// step 1: calculate the number of pages
-$pageTotal = ceil($totalEcards/$countTo);
-// step 2: get the current url without 'start' and 'count'
-$urlWithoutStart = $_SERVER["SCRIPT_NAME"]."?";
-foreach ($_GET as $key => $value) {
-  if ($key!='start' && $key!='count'){$urlWithoutStart.= $key . "=" . $value . "&";}
-}
-//print $pageTotal;
-//step 3: loop through the pages & create the links
-for ($page = 1 ; $page <= $pageTotal; $page++) {
-if ($page != $startFrom/$countTo+1) {
-  $tabOutput .= '<a href="'.$urlWithoutStart.'start='.($page-1)*$countTo.'&amp;count='.$countTo.'">';
-  }
-else {
-  $currentPage = $page;
-  $currentStart = ($page-1)*$countTo+1;
-  $currentEnd = $currentStart+$countTo-1;
-  if ($currentEnd > $totalEcards) {$currentEnd =$totalEcards;}
-  }
-$tabOutput .= $page;
-//$tabOutput .= '('.$page.'/'.$startFrom/$countTo.') ';
-if ($page != $startFrom/$countTo+1) {
-  $tabOutput .= '</a>';
-  }
-$tabOutput .= '&nbsp;';
-}
-$maxPage =  $page-1;
-
-$help = '&nbsp;'.cpg_display_help('f=index.htm&amp;as=ecard_log&amp;ae=ecard_log_end&top=1', '830', '400');
-$tableHeader1 = $lang_db_ecard_php['title']." (".$lang_db_ecard_php['ecard_sorted']." ".$sortText.", ".$sortDirectionText.")" . $help;
-starttable('100%',$tableHeader1,3);
-print '<tr><td class="tableb_compact">';
-printf($lang_db_ecard_php['ecard_number'], $currentStart, $currentEnd, $totalEcards);
-print '</td><td class="tableb_compact">';
-if ($maxPage > 1) {
-  print $lang_db_ecard_php['ecard_goto_page'].' ';
-  print $tabOutput;
-}
-print '</td><td align="right" class="tableb_compact">';
-print $lang_db_ecard_php['ecard_records_per_page'];
-print '  <select onChange="if(this.options[this.selectedIndex].value) window.location.href=\''.$formTarget.'count=\'+this.options[this.selectedIndex].value;"  name="count" class="listbox">';
-foreach ($selectOptions as $key ) {
-  print '   <option value="'.$key.'" ';
-  if ($key == $countTo) {print 'selected="selected"';}
-  print '>'.$key.'</option>';
-}
-print '  </select>';
-print '</td></tr>';
-endtable();
-
-print '<br />';
-
-
-$urlWithoutSort = cpgGetUrlVars('sort');
-starttable('100%');
-//print '<table border="1">';
-print "<tr>
-<th class=\"tableh1_compact\" align=\"left\" valign=\"bottom\" rowspan=\"2\"></th>
-<th class=\"tableh1_compact\" colspan=\"3\" align=\"left\" valign=\"bottom\">".$lang_db_ecard_php['ecard_sender']."</th>
-<th class=\"tableh1_compact\" colspan=\"2\" align=\"left\" valign=\"bottom\">".$lang_db_ecard_php['ecard_recipient']."</th>
-<th class=\"tableh1_compact\" rowspan=\"2\" align=\"left\" valign=\"bottom\">".$lang_db_ecard_php['ecard_date']." <a href=\"".$urlWithoutSort."sort=da\"><img src=\"images/ascending.gif\" width=\"9\" height=\"9\" border=\"0\" alt=\"\" title=\"".$lang_db_ecard_php['ecard_ascending']."\" /></a>&nbsp;<a href=\"".$urlWithoutSort."sort=dd\"><img src=\"images/descending.gif\" width=\"9\" height=\"9\" border=\"0\" alt=\"\" title=\"".$lang_db_ecard_php['ecard_descending']."\" /></a></th>
-<th class=\"tableh1_compact\" rowspan=\"2\" align=\"left\" valign=\"bottom\"></th>
-</tr>";
-print "<tr>
-<th class=\"tableh1_compact\" align=\"left\" valign=\"bottom\">".$lang_db_ecard_php['ecard_name']." <a href=\"".$urlWithoutSort."sort=sna\"><img src=\"images/ascending.gif\" width=\"9\" height=\"9\" border=\"0\" alt=\"\" title=\"".$lang_db_ecard_php['ecard_ascending']."\" /></a>&nbsp;<a href=\"".$urlWithoutSort."sort=snd\"><img src=\"images/descending.gif\" width=\"9\" height=\"9\" border=\"0\" alt=\"\" title=\"".$lang_db_ecard_php['ecard_descending']."\" /></a></th>
-<th class=\"tableh1_compact\" align=\"left\" valign=\"bottom\">".$lang_db_ecard_php['ecard_email']." <a href=\"".$urlWithoutSort."sort=sea\"><img src=\"images/ascending.gif\" width=\"9\" height=\"9\" border=\"0\" alt=\"\" title=\"".$lang_db_ecard_php['ecard_ascending']."\" /></a>&nbsp;<a href=\"".$urlWithoutSort."sort=sed\"><img src=\"images/descending.gif\" width=\"9\" height=\"9\" border=\"0\" alt=\"\" title=\"".$lang_db_ecard_php['ecard_descending']."\" /></a></th>
-<th class=\"tableh1_compact\" align=\"left\" valign=\"bottom\">".$lang_db_ecard_php['ecard_ip']." <a href=\"".$urlWithoutSort."sort=ia\"><img src=\"images/ascending.gif\" width=\"9\" height=\"9\" border=\"0\" alt=\"\" title=\"".$lang_db_ecard_php['ecard_ascending']."\" /></a>&nbsp;<a href=\"".$urlWithoutSort."sort=id\"><img src=\"images/descending.gif\" width=\"9\" height=\"9\" border=\"0\" alt=\"\" title=\"".$lang_db_ecard_php['ecard_descending']."\" /></a></th>
-<th class=\"tableh1_compact\" align=\"left\" valign=\"bottom\">".$lang_db_ecard_php['ecard_name']." <a href=\"".$urlWithoutSort."sort=rna\"><img src=\"images/ascending.gif\" width=\"9\" height=\"9\" border=\"0\" alt=\"\" title=\"".$lang_db_ecard_php['ecard_ascending']."\" /></a>&nbsp;<a href=\"".$urlWithoutSort."sort=rnd\"><img src=\"images/descending.gif\" width=\"9\" height=\"9\" border=\"0\" alt=\"\" title=\"".$lang_db_ecard_php['ecard_descending']."\" /></a></th>
-<th class=\"tableh1_compact\" align=\"left\" valign=\"bottom\">".$lang_db_ecard_php['ecard_email']." <a href=\"".$urlWithoutSort."sort=rea\"><img src=\"images/ascending.gif\" width=\"9\" height=\"9\" border=\"0\" alt=\"\" title=\"".$lang_db_ecard_php['ecard_ascending']."\" /></a>&nbsp;<a href=\"".$urlWithoutSort."sort=red\"><img src=\"images/descending.gif\" width=\"9\" height=\"9\" border=\"0\" alt=\"\" title=\"".$lang_db_ecard_php['ecard_descending']."\" /></a></th>
-</tr>";
-$tempClass = ' class="tableb"';
-while ($line = mysql_fetch_array($result, MYSQL_ASSOC)) {
-   print "\t<tr>\n";
-   print "<td".$tempClass." align=\"center\"><input type=\"Checkbox\" name=\"eid[]\" value=\"".$line['eid']."\" id=\"eidselector\" class=\"checkbox\" /></td>\n";
-   print "<td".$tempClass."><b class=\"thumb_caption\">".$line['sender_name']."</b></td>\n";
-   print "<td".$tempClass."><span class=\"thumb_caption\"><a href=\"mailto:".$line['sender_email']."\">".$line['sender_email']."</a></span></td>\n";
-   print "<td".$tempClass."><span class=\"thumb_caption\"><a href=\"http://ws.arin.net/cgi-bin/whois.pl?queryinput=".$line['sender_ip']."\">".$line['sender_ip']."</a></span></td>\n";
-   print "<td".$tempClass."><b class=\"thumb_caption\">".$line['recipient_name']."</b></td>\n";
-   print "<td".$tempClass."><span class=\"thumb_caption\"><a href=\"mailto:".$line['recipient_email']."\">".$line['recipient_email']."</a></span></td>\n";
-   print "<td".$tempClass."><span class=\"thumb_caption\">".strftime($lastcom_date_fmt,$line['date'])."</span></td>\n";
-   print "<td align=\"center\"".$tempClass."><span class=\"thumb_caption\"><a href=\"displayecard.php?data=".$line['link']."\"><img src=\"images/ecard.gif\" width=\"16\" height=\"16\" border=\"0\" alt=\"\" title=\"".$lang_db_ecard_php['ecard_display']."\" /></a></span></td>\n";
-   print "\t</tr>\n";
-   if ($tempClass == ' class="tableb"'){$tempClass = ' class="tableh2"';}else{$tempClass = ' class="tableb"';}
-}
-
-print '<tr><td class="tableh1_compact" align="center"><img src="images/arrow_upleft.gif" width="31" height="22" border="0" alt="" /></td>';
-print '<td colspan="3" class="tableh1_compact">';
-print '<input type="button" name="CheckAll" class="button" value="'.$lang_db_ecard_php['check_all'].'" onClick="checkAll(document.ecardselect.eidselector)" />&nbsp;';
-print '<input type="button" name="UnCheckAll" class="button" value="'.$lang_db_ecard_php['uncheck_all'].'" onClick="uncheckAll(document.ecardselect.eidselector)" />';
-print '</td>';
-print '<td colspan="4" class="tableh1_compact" align="left">';
-print '<input type="submit" class="button" name="delete" value="'.$lang_db_ecard_php['ecards_delete_selected'].'" disabled="disabled" />&nbsp;';
-print '<input name="agreecheck" type="checkbox" onClick="agreesubmit(this)" />'.$lang_db_ecard_php['ecards_delete_sure'];
-print '</td>';
-print '</tr>';
-endtable();
-
-print "</form>\n";
-
-pagefooter();
-
-
-
-function cpgGetUrlVars($exception)
-// get the url vars
-{
- $cpgGetUrl = $_SERVER["SCRIPT_NAME"]."?";
- foreach ($_GET as $key => $value) {
-    if ($key!=$exception){$cpgGetUrl.= $key . "=" . $value . "&";}
- }
-return $cpgGetUrl;
-}
-
-?>
+<?php
+/*************************
+  Coppermine Photo Gallery
+  ************************
+  Copyright (c) 2003-2009 Coppermine Dev Team
+  v1.1 originally written by Gregory DEMAR
+
+  This program is free software; you can redistribute it and/or modify
+  it under the terms of the GNU General Public License version 3
+  as published by the Free Software Foundation.
+  
+  ********************************************
+  Coppermine version: 1.4.25
+  $HeadURL: https://coppermine.svn.sourceforge.net/svnroot/coppermine/trunk/cpg1.4.x/db_ecard.php $
+  $Revision: 5997 $
+  $Author: gaugau $
+  $Date: 2009-05-26 08:43:24 +0200 (Di, 26 Mai 2009) $
+**********************************************/
+
+define('IN_COPPERMINE', true);
+define('DB_ECARD_PHP', true);
+global $CONFIG;
+
+require('include/init.inc.php');
+if (!GALLERY_ADMIN_MODE) cpg_die(ERROR, $lang_errors['access_denied'], __FILE__, __LINE__, 'false');
+
+$sort = isset($_REQUEST['sort']) ? $_REQUEST['sort'] : '';
+$start = isset($_REQUEST['start']) ? $_REQUEST['start'] : '';
+$count = isset($_REQUEST['count']) ? $_REQUEST['count'] : '';
+//set default values
+$selectOptions = array(25,50,75,100);
+$sortBy = 'date';
+$sortDirection = 'DESC';
+$sortText = $lang_db_ecard_php['ecard_by_date'];
+$sortDirectionText = $lang_db_ecard_php['ecard_descending'];
+if (!$start) {$startFrom = '0';}else{$startFrom=$start;}
+if (!$count) {$countTo = $selectOptions[0];}else{$countTo=$count;}
+$tabOutput = '';
+
+//delete selected ecards
+if (isset($_REQUEST['eid'])) {
+  foreach ($_REQUEST['eid'] as $key) {
+    //print $key;
+    //print "<br>";
+    $query = "DELETE FROM {$CONFIG['TABLE_ECARDS']} WHERE eid='$key'";
+    $result = cpg_db_query($query);
+    }
+}
+
+switch ($sort) {
+  case 'snd' :
+    $sortBy = 'sender_name';
+    $sortDirection = 'DESC';
+    $sortText = $lang_db_ecard_php['ecard_by_sender_name'];
+    break;
+  case 'sna' :
+    $sortBy = 'sender_name';
+    $sortDirection = 'ASC';
+    $sortText = $lang_db_ecard_php['ecard_by_sender_name'];
+    break;
+  case 'sed' :
+    $sortBy = 'sender_email';
+    $sortDirection = 'DESC';
+    $sortText = $lang_db_ecard_php['ecard_by_sender_email'];
+    break;
+  case 'sea' :
+    $sortBy = 'sender_email';
+    $sortDirection = 'ASC';
+    $sortText = $lang_db_ecard_php['ecard_by_sender_email'];
+    break;
+  case 'id' :
+    $sortBy = 'sender_ip';
+    $sortDirection = 'DESC';
+    $sortText = $lang_db_ecard_php['ecard_by_sender_ip'];
+    break;
+  case 'ia' :
+    $sortBy = 'sender_ip';
+    $sortDirection = 'ASC';
+    $sortText = $lang_db_ecard_php['ecard_by_sender_ip'];
+    break;
+  case 'rnd' :
+    $sortBy = 'recipient_name';
+    $sortDirection = 'DESC';
+    $sortText = $lang_db_ecard_php['ecard_by_recipient_name'];
+    break;
+  case 'rna' :
+    $sortBy = 'recipient_name';
+    $sortDirection = 'ASC';
+    $sortText = $lang_db_ecard_php['ecard_by_recipient_name'];
+    break;
+  case 'red' :
+    $sortBy = 'recipient_email';
+    $sortDirection = 'DESC';
+    $sortText = $lang_db_ecard_php['ecard_by_recipient_email'];
+    break;
+  case 'rea' :
+    $sortBy = 'recipient_email';
+    $sortDirection = 'ASC';
+    $sortText = $lang_db_ecard_php['ecard_by_recipient_email'];
+    break;
+  case 'da' :
+    $sortBy = 'date';
+    $sortDirection = 'ASC';
+    break;
+}
+
+if ($sortDirection == 'ASC'){$sortDirectionText = $lang_db_ecard_php['ecard_ascending'];}
+
+// determine the total number of entries
+$result = cpg_db_query("SELECT COUNT(*) FROM {$CONFIG['TABLE_ECARDS']}");
+if (!mysql_num_rows($result)) cpg_die(ERROR, $lang_errors['ecards_empty'], __FILE__, __LINE__, false);
+$totalEcards = mysql_fetch_array($result);
+$totalEcards = $totalEcards[0];
+$result = cpg_db_query("SELECT eid, sender_name, sender_email, recipient_name, recipient_email, link, date, sender_ip FROM {$CONFIG['TABLE_ECARDS']} ORDER BY $sortBy $sortDirection LIMIT $startFrom,$countTo");
+if (!mysql_num_rows($result)) cpg_die(ERROR, $lang_errors['ecards_empty'], __FILE__, __LINE__, false);
+
+pageheader($lang_db_ecard_php['title']);
+
+$formTarget = cpgGetUrlVars('count');
+print '<form method="post" name="ecardselect" action="'.$formTarget.'" onSubmit="return defaultagree(this)">';
+?>
+
+<script language="javascript" type="text/javascript">
+<!--
+function checkAll(field)
+{
+for (i = 0; i < field.length; i++)
+  field[i].checked = true ;
+}
+
+function uncheckAll(field)
+{
+for (i = 0; i < field.length; i++)
+  field[i].checked = false ;
+}
+
+var checkobj
+
+function agreesubmit(el){
+checkobj=el
+if (document.all||document.getElementById){
+for (i=0;i<checkobj.form.length;i++){  //hunt down submit button
+var tempobj=checkobj.form.elements[i]
+if(tempobj.type.toLowerCase()=="submit")
+tempobj.disabled=!checkobj.checked
+}
+}
+}
+
+function defaultagree(el){
+if (!document.all&&!document.getElementById){
+if (window.checkobj&&checkobj.checked)
+return true
+else{
+alert("<?php print $lang_db_ecard_php['ecards_delete_confirm']; ?>")
+return false
+}
+}
+}
+
+-->
+</script>
+<?php
+// create tabbed display (non-coppermine standard); maybe this could be changed later using the coppermine standard method
+// step 1: calculate the number of pages
+$pageTotal = ceil($totalEcards/$countTo);
+// step 2: get the current url without 'start' and 'count'
+$urlWithoutStart = $_SERVER["SCRIPT_NAME"]."?";
+foreach ($_GET as $key => $value) {
+  if ($key!='start' && $key!='count'){$urlWithoutStart.= $key . "=" . $value . "&";}
+}
+//print $pageTotal;
+//step 3: loop through the pages & create the links
+for ($page = 1 ; $page <= $pageTotal; $page++) {
+if ($page != $startFrom/$countTo+1) {
+  $tabOutput .= '<a href="'.$urlWithoutStart.'start='.($page-1)*$countTo.'&amp;count='.$countTo.'">';
+  }
+else {
+  $currentPage = $page;
+  $currentStart = ($page-1)*$countTo+1;
+  $currentEnd = $currentStart+$countTo-1;
+  if ($currentEnd > $totalEcards) {$currentEnd =$totalEcards;}
+  }
+$tabOutput .= $page;
+//$tabOutput .= '('.$page.'/'.$startFrom/$countTo.') ';
+if ($page != $startFrom/$countTo+1) {
+  $tabOutput .= '</a>';
+  }
+$tabOutput .= '&nbsp;';
+}
+$maxPage =  $page-1;
+
+$help = '&nbsp;'.cpg_display_help('f=index.htm&amp;as=ecard_log&amp;ae=ecard_log_end&top=1', '830', '400');
+$tableHeader1 = $lang_db_ecard_php['title']." (".$lang_db_ecard_php['ecard_sorted']." ".$sortText.", ".$sortDirectionText.")" . $help;
+starttable('100%',$tableHeader1,3);
+print '<tr><td class="tableb_compact">';
+printf($lang_db_ecard_php['ecard_number'], $currentStart, $currentEnd, $totalEcards);
+print '</td><td class="tableb_compact">';
+if ($maxPage > 1) {
+  print $lang_db_ecard_php['ecard_goto_page'].' ';
+  print $tabOutput;
+}
+print '</td><td align="right" class="tableb_compact">';
+print $lang_db_ecard_php['ecard_records_per_page'];
+print '  <select onChange="if(this.options[this.selectedIndex].value) window.location.href=\''.$formTarget.'count=\'+this.options[this.selectedIndex].value;"  name="count" class="listbox">';
+foreach ($selectOptions as $key ) {
+  print '   <option value="'.$key.'" ';
+  if ($key == $countTo) {print 'selected="selected"';}
+  print '>'.$key.'</option>';
+}
+print '  </select>';
+print '</td></tr>';
+endtable();
+
+print '<br />';
+
+
+$urlWithoutSort = cpgGetUrlVars('sort');
+starttable('100%');
+//print '<table border="1">';
+print "<tr>
+<th class=\"tableh1_compact\" align=\"left\" valign=\"bottom\" rowspan=\"2\"></th>
+<th class=\"tableh1_compact\" colspan=\"3\" align=\"left\" valign=\"bottom\">".$lang_db_ecard_php['ecard_sender']."</th>
+<th class=\"tableh1_compact\" colspan=\"2\" align=\"left\" valign=\"bottom\">".$lang_db_ecard_php['ecard_recipient']."</th>
+<th class=\"tableh1_compact\" rowspan=\"2\" align=\"left\" valign=\"bottom\">".$lang_db_ecard_php['ecard_date']." <a href=\"".$urlWithoutSort."sort=da\"><img src=\"images/ascending.gif\" width=\"9\" height=\"9\" border=\"0\" alt=\"\" title=\"".$lang_db_ecard_php['ecard_ascending']."\" /></a>&nbsp;<a href=\"".$urlWithoutSort."sort=dd\"><img src=\"images/descending.gif\" width=\"9\" height=\"9\" border=\"0\" alt=\"\" title=\"".$lang_db_ecard_php['ecard_descending']."\" /></a></th>
+<th class=\"tableh1_compact\" rowspan=\"2\" align=\"left\" valign=\"bottom\"></th>
+</tr>";
+print "<tr>
+<th class=\"tableh1_compact\" align=\"left\" valign=\"bottom\">".$lang_db_ecard_php['ecard_name']." <a href=\"".$urlWithoutSort."sort=sna\"><img src=\"images/ascending.gif\" width=\"9\" height=\"9\" border=\"0\" alt=\"\" title=\"".$lang_db_ecard_php['ecard_ascending']."\" /></a>&nbsp;<a href=\"".$urlWithoutSort."sort=snd\"><img src=\"images/descending.gif\" width=\"9\" height=\"9\" border=\"0\" alt=\"\" title=\"".$lang_db_ecard_php['ecard_descending']."\" /></a></th>
+<th class=\"tableh1_compact\" align=\"left\" valign=\"bottom\">".$lang_db_ecard_php['ecard_email']." <a href=\"".$urlWithoutSort."sort=sea\"><img src=\"images/ascending.gif\" width=\"9\" height=\"9\" border=\"0\" alt=\"\" title=\"".$lang_db_ecard_php['ecard_ascending']."\" /></a>&nbsp;<a href=\"".$urlWithoutSort."sort=sed\"><img src=\"images/descending.gif\" width=\"9\" height=\"9\" border=\"0\" alt=\"\" title=\"".$lang_db_ecard_php['ecard_descending']."\" /></a></th>
+<th class=\"tableh1_compact\" align=\"left\" valign=\"bottom\">".$lang_db_ecard_php['ecard_ip']." <a href=\"".$urlWithoutSort."sort=ia\"><img src=\"images/ascending.gif\" width=\"9\" height=\"9\" border=\"0\" alt=\"\" title=\"".$lang_db_ecard_php['ecard_ascending']."\" /></a>&nbsp;<a href=\"".$urlWithoutSort."sort=id\"><img src=\"images/descending.gif\" width=\"9\" height=\"9\" border=\"0\" alt=\"\" title=\"".$lang_db_ecard_php['ecard_descending']."\" /></a></th>
+<th class=\"tableh1_compact\" align=\"left\" valign=\"bottom\">".$lang_db_ecard_php['ecard_name']." <a href=\"".$urlWithoutSort."sort=rna\"><img src=\"images/ascending.gif\" width=\"9\" height=\"9\" border=\"0\" alt=\"\" title=\"".$lang_db_ecard_php['ecard_ascending']."\" /></a>&nbsp;<a href=\"".$urlWithoutSort."sort=rnd\"><img src=\"images/descending.gif\" width=\"9\" height=\"9\" border=\"0\" alt=\"\" title=\"".$lang_db_ecard_php['ecard_descending']."\" /></a></th>
+<th class=\"tableh1_compact\" align=\"left\" valign=\"bottom\">".$lang_db_ecard_php['ecard_email']." <a href=\"".$urlWithoutSort."sort=rea\"><img src=\"images/ascending.gif\" width=\"9\" height=\"9\" border=\"0\" alt=\"\" title=\"".$lang_db_ecard_php['ecard_ascending']."\" /></a>&nbsp;<a href=\"".$urlWithoutSort."sort=red\"><img src=\"images/descending.gif\" width=\"9\" height=\"9\" border=\"0\" alt=\"\" title=\"".$lang_db_ecard_php['ecard_descending']."\" /></a></th>
+</tr>";
+$tempClass = ' class="tableb"';
+while ($line = mysql_fetch_array($result, MYSQL_ASSOC)) {
+   print "\t<tr>\n";
+   print "<td".$tempClass." align=\"center\"><input type=\"Checkbox\" name=\"eid[]\" value=\"".$line['eid']."\" id=\"eidselector\" class=\"checkbox\" /></td>\n";
+   print "<td".$tempClass."><b class=\"thumb_caption\">".$line['sender_name']."</b></td>\n";
+   print "<td".$tempClass."><span class=\"thumb_caption\"><a href=\"mailto:".$line['sender_email']."\">".$line['sender_email']."</a></span></td>\n";
+   print "<td".$tempClass."><span class=\"thumb_caption\"><a href=\"http://ws.arin.net/cgi-bin/whois.pl?queryinput=".$line['sender_ip']."\">".$line['sender_ip']."</a></span></td>\n";
+   print "<td".$tempClass."><b class=\"thumb_caption\">".$line['recipient_name']."</b></td>\n";
+   print "<td".$tempClass."><span class=\"thumb_caption\"><a href=\"mailto:".$line['recipient_email']."\">".$line['recipient_email']."</a></span></td>\n";
+   print "<td".$tempClass."><span class=\"thumb_caption\">".strftime($lastcom_date_fmt,$line['date'])."</span></td>\n";
+   print "<td align=\"center\"".$tempClass."><span class=\"thumb_caption\"><a href=\"displayecard.php?data=".$line['link']."\"><img src=\"images/ecard.gif\" width=\"16\" height=\"16\" border=\"0\" alt=\"\" title=\"".$lang_db_ecard_php['ecard_display']."\" /></a></span></td>\n";
+   print "\t</tr>\n";
+   if ($tempClass == ' class="tableb"'){$tempClass = ' class="tableh2"';}else{$tempClass = ' class="tableb"';}
+}
+
+print '<tr><td class="tableh1_compact" align="center"><img src="images/arrow_upleft.gif" width="31" height="22" border="0" alt="" /></td>';
+print '<td colspan="3" class="tableh1_compact">';
+print '<input type="button" name="CheckAll" class="button" value="'.$lang_db_ecard_php['check_all'].'" onClick="checkAll(document.ecardselect.eidselector)" />&nbsp;';
+print '<input type="button" name="UnCheckAll" class="button" value="'.$lang_db_ecard_php['uncheck_all'].'" onClick="uncheckAll(document.ecardselect.eidselector)" />';
+print '</td>';
+print '<td colspan="4" class="tableh1_compact" align="left">';
+print '<input type="submit" class="button" name="delete" value="'.$lang_db_ecard_php['ecards_delete_selected'].'" disabled="disabled" />&nbsp;';
+print '<input name="agreecheck" type="checkbox" onClick="agreesubmit(this)" />'.$lang_db_ecard_php['ecards_delete_sure'];
+print '</td>';
+print '</tr>';
+endtable();
+
+print "</form>\n";
+
+pagefooter();
+
+
+
+function cpgGetUrlVars($exception)
+// get the url vars
+{
+ $cpgGetUrl = $_SERVER["SCRIPT_NAME"]."?";
+ foreach ($_GET as $key => $value) {
+    if ($key!=$exception){$cpgGetUrl.= $key . "=" . $value . "&";}
+ }
+return $cpgGetUrl;
+}
+
+?>
diff -x .svn -aruN 1.4.24.src/db_input.php 1.4.25.src/db_input.php
--- 1.4.24.src/db_input.php	2009-05-21 15:03:09.000000000 -0500
+++ 1.4.25.src/db_input.php	2009-05-26 11:25:52.000000000 -0500
@@ -1,431 +1,431 @@
-<?php
-/*************************
-  Coppermine Photo Gallery
-  ************************
-  Copyright (c) 2003-2009 Coppermine Dev Team
-  v1.1 originally written by Gregory DEMAR
-
-  This program is free software; you can redistribute it and/or modify
-  it under the terms of the GNU General Public License version 3
-  as published by the Free Software Foundation.
-  
-  ********************************************
-  Coppermine version: 1.4.24
-  $HeadURL: https://coppermine.svn.sourceforge.net/svnroot/coppermine/trunk/cpg1.4.x/db_input.php $
-  $Revision: 5969 $
-  $Author: gaugau $
-  $Date: 2009-05-21 22:03:33 +0200 (Do, 21 Mai 2009) $
-**********************************************/
-
-define('IN_COPPERMINE', true);
-define('DB_INPUT_PHP', true);
-
-require('include/init.inc.php');
-require('include/picmgmt.inc.php');
-require('include/mailer.inc.php');
-require('include/smilies.inc.php');
-
-/*known issue: code was edited to not count URL in comment character count. However
-this resulted in the character count not being respected at all.
-
-With the new code, the long urls don't affect the display of the hyperlinked word.
-However, I can't figure out how to make the code respect the max comment word length and max comment length.
-Formatted and unformatted words that are longer than the allowed setting do not get truncated. -Thu */
-
-function check_comment(&$str)
-{
-    global $CONFIG, $lang_bad_words, $queries;
-
-    if ($CONFIG['filter_bad_words']) {
-        $ercp = array();
-        foreach($lang_bad_words as $word) {
-            $ercp[] = '/' . ($word[0] == '*' ? '': '\b') . str_replace('*', '', $word) . ($word[(strlen($word)-1)] == '*' ? '': '\b') . '/i';
-        }
-        $str = preg_replace($ercp, '(...)', $str);
-    }
-
-    $com_words=explode(' ',strip_tags(bb_decode($str)));
-    $replacements=array();
-    foreach($com_words as $key => $word) {
-       if (utf_strlen($word) > $CONFIG['max_com_wlength'] ) {
-          $replacements[] = $word;
-       }
-    }
-    $str=str_replace($replacements,'(...)',$str);
-}
-
-if (!isset($_GET['event']) && !isset($_POST['event'])) {
-    cpg_die(CRITICAL_ERROR, $lang_errors['param_missing'], __FILE__, __LINE__);
-}
-
-$event = isset($_POST['event']) ? $_POST['event'] : $_GET['event'];
-switch ($event) {
-
-    // Comment update
-
-    case 'comment_update':
-        if (!(USER_CAN_POST_COMMENTS)) cpg_die(ERROR, $lang_errors['perm_denied'], __FILE__, __LINE__);
-
-        check_comment($_POST['msg_body']);
-        check_comment($_POST['msg_author']);
-        $msg_body = addslashes(trim($_POST['msg_body']));
-        $msg_author = addslashes(trim($_POST['msg_author']));
-        $msg_id = (int)$_POST['msg_id'];
-
-        if ($msg_body == '') cpg_die(ERROR, $lang_db_input_php['err_comment_empty'], __FILE__, __LINE__);
-
-        if (GALLERY_ADMIN_MODE) {
-            $update = cpg_db_query("UPDATE {$CONFIG['TABLE_COMMENTS']} SET msg_body='$msg_body', msg_author='$msg_author' WHERE msg_id='$msg_id'");
-        } elseif (USER_ID) {
-            $update = cpg_db_query("UPDATE {$CONFIG['TABLE_COMMENTS']} SET msg_body='$msg_body' WHERE msg_id='$msg_id' AND author_id ='" . USER_ID . "' LIMIT 1");
-        } else {
-            $update = cpg_db_query("UPDATE {$CONFIG['TABLE_COMMENTS']} SET msg_body='$msg_body' WHERE msg_id='$msg_id' AND author_md5_id ='{$USER['ID']}' AND author_id = '0' LIMIT 1");
-        }
-
-        $header_location = (@preg_match('/Microsoft|WebSTAR|Xitami/', getenv('SERVER_SOFTWARE'))) ? 'Refresh: 0; URL=' : 'Location: ';
-
-        $result = cpg_db_query("SELECT pid FROM {$CONFIG['TABLE_COMMENTS']} WHERE msg_id='$msg_id'");
-        if (!mysql_num_rows($result)) {
-            mysql_free_result($result);
-            $header_location = (@preg_match('/Microsoft|WebSTAR|Xitami/', getenv('SERVER_SOFTWARE'))) ? 'Refresh: 0; URL=' : 'Location: ';
-            $redirect = "index.php";
-            header($header_location . $redirect);
-            pageheader($lang_info, "<meta http-equiv=\"refresh\" content=\"1;url=$redirect\" />");
-            msg_box($lang_info, $lang_db_input_php['redirect_msg'], $lang_db_input_php['continue'], $redirect);
-            pagefooter();
-            ob_end_flush();
-            exit;
-        } else {
-            $comment_data = mysql_fetch_array($result);
-            mysql_free_result($result);
-            $redirect = "displayimage.php?pos=" . (- $comment_data['pid']);
-            header($header_location . $redirect);
-            pageheader($lang_info, "<meta http-equiv=\"refresh\" content=\"1;url=$redirect\" />");
-            msg_box($lang_info, $lang_db_input_php['redirect_msg'], $lang_db_input_php['continue'], $redirect);
-            pagefooter();
-            ob_end_flush();
-            exit;
-        }
-        break;
-
-    // Comment
-
-    case 'comment':
-        if (!(USER_CAN_POST_COMMENTS)) cpg_die(ERROR, $lang_errors['perm_denied'], __FILE__, __LINE__);
-
-        check_comment($_POST['msg_body']);
-                check_comment($_POST['msg_author']);
-        $msg_author = addslashes(trim($_POST['msg_author']));
-        $msg_body = addslashes(trim($_POST['msg_body']));
-        $pid = (int)$_POST['pid'];
-
-        if ($msg_author == '' || $msg_body == '') cpg_die(ERROR, $lang_db_input_php['empty_name_or_com'], __FILE__, __LINE__);
-
-        $result = cpg_db_query("SELECT comments FROM {$CONFIG['TABLE_PICTURES']}, {$CONFIG['TABLE_ALBUMS']} WHERE {$CONFIG['TABLE_PICTURES']}.aid = {$CONFIG['TABLE_ALBUMS']}.aid AND pid='$pid'");
-        if (!mysql_num_rows($result)) cpg_die(ERROR, $lang_errors['non_exist_ap'], __FILE__, __LINE__);
-        $album_data = mysql_fetch_array($result);
-        mysql_free_result($result);
-
-        if ($album_data['comments'] != 'YES') cpg_die(ERROR, $lang_errors['perm_denied'], __FILE__, __LINE__);
-
-        if (!$CONFIG['disable_comment_flood_protect']){
-          $result = cpg_db_query("SELECT author_md5_id, author_id FROM {$CONFIG['TABLE_COMMENTS']} WHERE pid = '$pid' ORDER BY msg_id DESC LIMIT 1");
-          if (mysql_num_rows($result)) {
-              $last_com_data = mysql_fetch_array($result);
-              if ((USER_ID && $last_com_data['author_id'] == USER_ID) || (!USER_ID && $last_com_data['author_md5_id'] == $USER['ID'])) {
-                  cpg_die(ERROR, $lang_db_input_php['no_flood'], __FILE__, __LINE__);
-              }
-          }
-        }
-
-        if (!USER_ID) { // Anonymous users, we need to use META refresh to save the cookie
-            if (mysql_result(cpg_db_query("select count(user_id) from {$CONFIG['TABLE_USERS']} where UPPER(user_name) = UPPER('$msg_author')"),0,0))
-            {
-              cpg_die($lang_error, $lang_db_input_php['com_author_error'],__FILE__,__LINE__);
-          }
-
-            $insert = cpg_db_query("INSERT INTO {$CONFIG['TABLE_COMMENTS']} (pid, msg_author, msg_body, msg_date, author_md5_id, author_id, msg_raw_ip, msg_hdr_ip) VALUES ('$pid', '{$CONFIG['comments_anon_pfx']}$msg_author', '$msg_body', NOW(), '{$USER['ID']}', '0', '$raw_ip', '$hdr_ip')");
-
-            $USER['name'] = $_POST['msg_author'];
-            $redirect = "displayimage.php?pos=" . (- $pid);
-            if ($CONFIG['email_comment_notification']) {
-                $mail_body = "<p>" . bb_decode(process_smilies($msg_body, $CONFIG['ecards_more_pic_target'])) . "</p>\n\r ".$lang_db_input_php['email_comment_body'] . " " . $CONFIG['ecards_more_pic_target'].(substr($CONFIG["ecards_more_pic_target"], -1) == '/' ? '' : '/').$redirect;
-                cpg_mail('admin', $lang_db_input_php['email_comment_subject'], make_clickable($mail_body));
-            }
-            pageheader($lang_db_input_php['com_added'], "<meta http-equiv=\"refresh\" content=\"1;url=$redirect\" />");
-            msg_box($lang_db_input_php['info'], $lang_db_input_php['com_added'], $lang_continue, $redirect);
-            pagefooter();
-            ob_end_flush();
-            exit;
-        } else { // Registered users, we can use Location to redirect
-            $insert = cpg_db_query("INSERT INTO {$CONFIG['TABLE_COMMENTS']} (pid, msg_author, msg_body, msg_date, author_md5_id, author_id, msg_raw_ip, msg_hdr_ip) VALUES ('$pid', '" . addslashes(USER_NAME) . "', '$msg_body', NOW(), '', '" . USER_ID . "', '$raw_ip', '$hdr_ip')");
-            $redirect = "displayimage.php?pos=" . (- $pid);
-            if ($CONFIG['email_comment_notification'] && !USER_IS_ADMIN ) {
-                $mail_body = "<p>" . bb_decode(process_smilies($msg_body, $CONFIG['ecards_more_pic_target'])) . "</p>\n\r ".$lang_db_input_php['email_comment_body'] . " " . $CONFIG['ecards_more_pic_target'] . (substr($CONFIG["ecards_more_pic_target"], -1) == '/' ? '' : '/') . $redirect;
-                cpg_mail('admin', $lang_db_input_php['email_comment_subject'], make_clickable($mail_body));
-            }
-            $header_location = (@preg_match('/Microsoft|WebSTAR|Xitami/', getenv('SERVER_SOFTWARE'))) ? 'Refresh: 0; URL=' : 'Location: ';
-            header($header_location . $redirect);
-            pageheader($lang_db_input_php['com_added'], "<meta http-equiv=\"refresh\" content=\"1;url=$redirect\" />");
-            msg_box($lang_db_input_php['info'], $lang_db_input_php['com_added'], $lang_continue, $redirect);
-            pagefooter();
-            ob_end_flush();
-            exit;
-        }
-        break;
-
-    // Update album
-
-    case 'album_update':
-        if (!(USER_ADMIN_MODE || GALLERY_ADMIN_MODE)) cpg_die(ERROR, $lang_errors['perm_denied'], __FILE__, __LINE__);
-
-        $aid = (int)$_POST['aid'];
-        $title = addslashes(trim($_POST['title']));
-        $category = (int)$_POST['category'];
-        $description = addslashes(trim($_POST['description']));
-                $keyword = addslashes(trim($_POST['keyword']));
-        $thumb = (int)$_POST['thumb'];
-        $visibility = (int)$_POST['visibility'];
-        $uploads = $_POST['uploads'] == 'YES' ? 'YES' : 'NO';
-        $comments = $_POST['comments'] == 'YES' ? 'YES' : 'NO';
-        $votes = $_POST['votes'] == 'YES' ? 'YES' : 'NO';
-        $password = addslashes($_POST['alb_password']);
-                $password_hint = addslashes(trim($_POST['alb_password_hint']));
-        $visibility = !empty($password) ? FIRST_USER_CAT + USER_ID : $visibility;
-
-        if (!$title) cpg_die(ERROR, $lang_db_input_php['alb_need_title'], __FILE__, __LINE__);
-
-        if (GALLERY_ADMIN_MODE) {
-            $query = "UPDATE {$CONFIG['TABLE_ALBUMS']} SET title='$title', description='$description', category='$category', thumb='$thumb', uploads='$uploads', comments='$comments', votes='$votes', visibility='$visibility', alb_password='$password', alb_password_hint='$password_hint', keyword='$keyword' WHERE aid='$aid' LIMIT 1";
-        } else {
-            $category = FIRST_USER_CAT + USER_ID;
-            $query = "UPDATE {$CONFIG['TABLE_ALBUMS']} SET title='$title', description='$description', thumb='$thumb',  comments='$comments', votes='$votes', visibility='$visibility', alb_password='$password', alb_password_hint='$password_hint',keyword='$keyword' WHERE aid='$aid' AND category='$category' LIMIT 1";
-        }
-
-        $update = cpg_db_query($query);
-
-        if (!mysql_affected_rows()) cpg_die(INFORMATION, $lang_db_input_php['no_udp_needed'], __FILE__, __LINE__);
-                pageheader($lang_db_input_php['alb_updated'], "<meta http-equiv=\"refresh\" content=\"1;url=modifyalb.php?album=$aid\" />");
-        msg_box($lang_db_input_php['info'], $lang_db_input_php['alb_updated'], $lang_continue, "modifyalb.php?album=$aid");
-        pagefooter();
-        ob_end_flush();
-        exit;
-        break;
-
-    // Reset album
-
-    case 'album_reset':
-        if (!GALLERY_ADMIN_MODE) cpg_die(ERROR, $lang_errors['perm_denied'], __FILE__, __LINE__);
-
-        $counter_affected_rows = 0;
-        $aid = (int)$_POST['aid'];
-        $reset_views = (int)($_POST['reset_views']);
-        $reset_rating = (int)$_POST['reset_rating'];
-        $delete_comments = (int)($_POST['delete_comments']);
-        $delete_files = (int)$_POST['delete_files'];
-
-        if ($reset_views || $reset_rating) {
-            // Get all pids for this album and reset their details hit stats
-            $query = "SELECT pid FROM {$CONFIG['TABLE_PICTURES']} WHERE aid = '$aid'";
-            $result = cpg_db_query($query);
-            while ($row = mysql_fetch_array($result, MYSQL_ASSOC)) {
-              $pid[] = $row['pid'];
-            }
-        }
-
-        if ($reset_views) { // if reset_views start
-            $query = "UPDATE {$CONFIG['TABLE_PICTURES']} SET hits='0' WHERE aid='$aid'";
-                $update = cpg_db_query($query);
-            if (isset($CONFIG['debug_mode']) && ($CONFIG['debug_mode'] == 1)) {
-                $queries[] = $query;
-            }
-            if (mysql_affected_rows()) {
-                $counter_affected_rows++;
-            }
-            resetDetailHits($pid);
-        } // if reset_views end
-
-        if ($reset_rating) { // if reset_rating start
-            $query = "UPDATE {$CONFIG['TABLE_PICTURES']} SET  pic_rating='0',  votes='0' WHERE aid='$aid'";
-                $update = cpg_db_query($query);
-            if (isset($CONFIG['debug_mode']) && ($CONFIG['debug_mode'] == 1)) {
-                $queries[] = $query;
-            }
-            if (mysql_affected_rows()) {
-                $counter_affected_rows++;
-            }
-            resetDetailVotes($pid);
-        } // if reset_rating end
-
-        if ($delete_files) { // if delete_files start
-            $query = "DELETE FROM {$CONFIG['TABLE_PICTURES']} WHERE aid='$aid'";
-                $update = cpg_db_query($query);
-            if (isset($CONFIG['debug_mode']) && ($CONFIG['debug_mode'] == 1)) {
-                $queries[] = $query;
-            }
-            if (mysql_affected_rows()) {
-                $counter_affected_rows++;
-            }
-        } // if delete_files end
-
-
-        if ($counter_affected_rows == 0) cpg_die(INFORMATION, $lang_db_input_php['no_udp_needed'], __FILE__, __LINE__);
-        if ($CONFIG['debug_mode'] == 0) {
-            pageheader($lang_db_input_php['alb_updated'], "<meta http-equiv=\"refresh\" content=\"1;url=modifyalb.php?album=$aid\" />");
-        }
-        msg_box($lang_db_input_php['info'], $lang_db_input_php['alb_updated'], $lang_continue, "modifyalb.php?album=$aid");
-        pagefooter();
-        ob_end_flush();
-        exit;
-        break;
-
-    // Picture upload
-
-
-    case 'picture':
-        if (!USER_CAN_UPLOAD_PICTURES) cpg_die(ERROR, $lang_errors['perm_denied'], __FILE__, __LINE__);
-
-        $album = (int)$_POST['album'];
-        $title = addslashes($_POST['title']);
-        $caption = addslashes($_POST['caption']);
-        $keywords = addslashes($_POST['keywords']);
-        $user1 = addslashes($_POST['user1']);
-        $user2 = addslashes($_POST['user2']);
-        $user3 = addslashes($_POST['user3']);
-        $user4 = addslashes($_POST['user4']);
-        // Check if the album id provided is valid
-        if (!GALLERY_ADMIN_MODE) {
-            $result = cpg_db_query("SELECT category FROM {$CONFIG['TABLE_ALBUMS']} WHERE aid='$album' and (uploads = 'YES' OR category = '" . (USER_ID + FIRST_USER_CAT) . "')");
-            if (mysql_num_rows($result) == 0)cpg_die(ERROR, $lang_db_input_php['unknown_album'], __FILE__, __LINE__);
-            $row = mysql_fetch_array($result);
-            mysql_free_result($result);
-            $category = $row['category'];
-        } else {
-            $result = cpg_db_query("SELECT category FROM {$CONFIG['TABLE_ALBUMS']} WHERE aid='$album'");
-            if (mysql_num_rows($result) == 0)cpg_die(ERROR, $lang_db_input_php['unknown_album'], __FILE__, __LINE__);
-            $row = mysql_fetch_array($result);
-            mysql_free_result($result);
-            $category = $row['category'];
-        }
-        // Test if the filename of the temporary uploaded picture is empty
-        if ($_FILES['userpicture']['tmp_name'] == '') cpg_die(ERROR, $lang_db_input_php['no_pic_uploaded'], __FILE__, __LINE__);
-        // Pictures are moved in a directory named 10000 + USER_ID
-        if (USER_ID && !defined('SILLY_SAFE_MODE')) {
-            $filepath = $CONFIG['userpics'] . (USER_ID + FIRST_USER_CAT);
-            $dest_dir = $CONFIG['fullpath'] . $filepath;
-            if (!is_dir($dest_dir)) {
-                mkdir($dest_dir, octdec($CONFIG['default_dir_mode']));
-                if (!is_dir($dest_dir)) cpg_die(CRITICAL_ERROR, sprintf($lang_db_input_php['err_mkdir'], $dest_dir), __FILE__, __LINE__, true);
-                chmod($dest_dir, octdec($CONFIG['default_dir_mode']));
-                $fp = fopen($dest_dir . '/index.html', 'w');
-                fwrite($fp, ' ');
-                fclose($fp);
-            }
-            $dest_dir .= '/';
-            $filepath .= '/';
-        } else {
-            $filepath = $CONFIG['userpics'];
-            $dest_dir = $CONFIG['fullpath'] . $filepath;
-        }
-        // Check that target dir is writable
-        if (!is_writable($dest_dir)) cpg_die(CRITICAL_ERROR, sprintf($lang_db_input_php['dest_dir_ro'], $dest_dir), __FILE__, __LINE__, true);
-        if (get_magic_quotes_gpc()) $_FILES['userpicture']['name'] = stripslashes($_FILES['userpicture']['name']);
-        // Replace forbidden chars with underscores
-                $picture_name = replace_forbidden($_FILES['userpicture']['name']);
-        // Check that the file uploaded has a valid extension
-        $matches = array();
-        if (!preg_match("/(.+)\.(.*?)\Z/", $picture_name, $matches)) {
-            $matches[1] = 'invalid_fname';
-            $matches[2] = 'xxx';
-        }
-
-        if ($matches[2] == '' || !is_known_filetype($matches)) {
-            cpg_die(ERROR, sprintf($lang_db_input_php['err_invalid_fext'], $CONFIG['allowed_file_extensions']), __FILE__, __LINE__);
-        }
-
-        // Create a unique name for the uploaded file
-        $nr = 0;
-        $picture_name = $matches[1] . '.' . $matches[2];
-        while (file_exists($dest_dir . $picture_name)) {
-            $picture_name = $matches[1] . '~' . $nr++ . '.' . $matches[2];
-        }
-        $uploaded_pic = $dest_dir . $picture_name;
-        // Move the picture into its final location
-        if (!move_uploaded_file($_FILES['userpicture']['tmp_name'], $uploaded_pic))
-            cpg_die(CRITICAL_ERROR, sprintf($lang_db_input_php['err_move'], $picture_name, $dest_dir), __FILE__, __LINE__, true);
-        // Change file permission
-        chmod($uploaded_pic, octdec($CONFIG['default_file_mode']));
-        // Get picture information
-
-
-        // Check that picture file size is lower than the maximum allowed
-        if (filesize($uploaded_pic) > ($CONFIG['max_upl_size'] << 10)) {
-            @unlink($uploaded_pic);
-            cpg_die(ERROR, sprintf($lang_db_input_php['err_imgsize_too_large'], $CONFIG['max_upl_size']), __FILE__, __LINE__);
-        } elseif (is_image($picture_name)) {
-            $imginfo = getimagesize($uploaded_pic);
-            // getimagesize does not recognize the file as a picture
-            if ($imginfo == null) {
-                @unlink($uploaded_pic);
-                cpg_die(ERROR, $lang_db_input_php['err_invalid_img'], __FILE__, __LINE__, true);
-            // JPEG and PNG only are allowed with GD
-            //} elseif ($imginfo[2] != GIS_JPG && $imginfo[2] != GIS_PNG && ($CONFIG['thumb_method'] == 'gd1' || $CONFIG['thumb_method'] == 'gd2')) {
-            } elseif ($imginfo[2] != GIS_JPG && $imginfo[2] != GIS_PNG && $CONFIG['GIF_support'] == 0) {
-                @unlink($uploaded_pic);
-                cpg_die(ERROR, $lang_errors['gd_file_type_err'], __FILE__, __LINE__, true);
-            // *** NOT NEEDED CHECK DONE BY 'is_image'
-            // Check image type is among those allowed for ImageMagick
-            //} elseif (!stristr($CONFIG['allowed_img_types'], $IMG_TYPES[$imginfo[2]]) && $CONFIG['thumb_method'] == 'im') {
-                //@unlink($uploaded_pic);
-                //cpg_die(ERROR, sprintf($lang_db_input_php['allowed_img_types'], $CONFIG['allowed_img_types']), __FILE__, __LINE__);
-            // Check that picture size (in pixels) is lower than the maximum allowed
-            } elseif (max($imginfo[0], $imginfo[1]) > $CONFIG['max_upl_width_height']) {
-              if ((USER_IS_ADMIN && $CONFIG['auto_resize'] == 1) || (!USER_IS_ADMIN && $CONFIG['auto_resize'] > 0))
-              {
-                //resize_image($uploaded_pic, $uploaded_pic, $CONFIG['max_upl_width_height'], $CONFIG['thumb_method'], $imginfo[0] > $CONFIG['max_upl_width_height'] ? 'wd' : 'ht');
-                resize_image($uploaded_pic, $uploaded_pic, $CONFIG['max_upl_width_height'], $CONFIG['thumb_method'], $CONFIG['thumb_use']);
-              }
-              else
-              {
-                @unlink($uploaded_pic);
-                cpg_die(ERROR, sprintf($lang_db_input_php['err_fsize_too_large'], $CONFIG['max_upl_width_height'], $CONFIG['max_upl_width_height']), __FILE__, __LINE__);
-              }
-            } // Image is ok
-        }
-
-        // Upload is ok
-        // Create thumbnail and internediate image and add the image into the DB
-        $result = add_picture($album, $filepath, $picture_name, 0, $title, $caption, $keywords, $user1, $user2, $user3, $user4, $category, $raw_ip, $hdr_ip,(int) $_POST['width'],(int) $_POST['height']);
-
-        if (!$result) {
-            @unlink($uploaded_pic);
-            cpg_die(CRITICAL_ERROR, sprintf($lang_db_input_php['err_insert_pic'], $uploaded_pic) . '<br /><br />' . $ERROR, __FILE__, __LINE__, true);
-        } elseif ($PIC_NEED_APPROVAL) {
-            pageheader($lang_info);
-            msg_box($lang_info, $lang_db_input_php['upload_success'], $lang_continue, 'index.php');
-            // start: send admin approval mail added by gaugau: 03-11-09
-            if ($CONFIG['upl_notify_admin_email'])
-            {
-                include_once('include/mailer.inc.php');
-                cpg_mail('admin', sprintf($lang_db_input_php['notify_admin_email_subject'], $CONFIG['gallery_name']), sprintf($lang_db_input_php['notify_admin_email_body'], USER_NAME,  $CONFIG['ecards_more_pic_target'].(substr($CONFIG["ecards_more_pic_target"], -1) == '/' ? '' : '/') .'editpics.php?mode=upload_approval' ));
-            }
-            // end: send admin approval mail
-            ob_end_flush();
-        } else {
-            $header_location = (@preg_match('/Microsoft|WebSTAR|Xitami/', getenv('SERVER_SOFTWARE'))) ? 'Refresh: 0; URL=' : 'Location: ';
-            $redirect = "displayimage.php?pos=" . (- mysql_insert_id($CONFIG['LINK_ID']));
-            header($header_location . $redirect);
-            pageheader($lang_info, "<meta http-equiv=\"refresh\" content=\"1;url=$redirect\" />");
-            msg_box($lang_info, $lang_db_input_php['upl_success'], $lang_continue, $redirect);
-            pagefooter();
-            ob_end_flush();
-            exit;
-        }
-        break;
-
-    // Unknow event
-
-    default:
-        cpg_die(CRITICAL_ERROR, $lang_errors['param_missing'], __FILE__, __LINE__);
-}
-?>
+<?php
+/*************************
+  Coppermine Photo Gallery
+  ************************
+  Copyright (c) 2003-2009 Coppermine Dev Team
+  v1.1 originally written by Gregory DEMAR
+
+  This program is free software; you can redistribute it and/or modify
+  it under the terms of the GNU General Public License version 3
+  as published by the Free Software Foundation.
+  
+  ********************************************
+  Coppermine version: 1.4.25
+  $HeadURL: https://coppermine.svn.sourceforge.net/svnroot/coppermine/trunk/cpg1.4.x/db_input.php $
+  $Revision: 5997 $
+  $Author: gaugau $
+  $Date: 2009-05-26 08:43:24 +0200 (Di, 26 Mai 2009) $
+**********************************************/
+
+define('IN_COPPERMINE', true);
+define('DB_INPUT_PHP', true);
+
+require('include/init.inc.php');
+require('include/picmgmt.inc.php');
+require('include/mailer.inc.php');
+require('include/smilies.inc.php');
+
+/*known issue: code was edited to not count URL in comment character count. However
+this resulted in the character count not being respected at all.
+
+With the new code, the long urls don't affect the display of the hyperlinked word.
+However, I can't figure out how to make the code respect the max comment word length and max comment length.
+Formatted and unformatted words that are longer than the allowed setting do not get truncated. -Thu */
+
+function check_comment(&$str)
+{
+    global $CONFIG, $lang_bad_words, $queries;
+
+    if ($CONFIG['filter_bad_words']) {
+        $ercp = array();
+        foreach($lang_bad_words as $word) {
+            $ercp[] = '/' . ($word[0] == '*' ? '': '\b') . str_replace('*', '', $word) . ($word[(strlen($word)-1)] == '*' ? '': '\b') . '/i';
+        }
+        $str = preg_replace($ercp, '(...)', $str);
+    }
+
+    $com_words=explode(' ',strip_tags(bb_decode($str)));
+    $replacements=array();
+    foreach($com_words as $key => $word) {
+       if (utf_strlen($word) > $CONFIG['max_com_wlength'] ) {
+          $replacements[] = $word;
+       }
+    }
+    $str=str_replace($replacements,'(...)',$str);
+}
+
+if (!isset($_GET['event']) && !isset($_POST['event'])) {
+    cpg_die(CRITICAL_ERROR, $lang_errors['param_missing'], __FILE__, __LINE__);
+}
+
+$event = isset($_POST['event']) ? $_POST['event'] : $_GET['event'];
+switch ($event) {
+
+    // Comment update
+
+    case 'comment_update':
+        if (!(USER_CAN_POST_COMMENTS)) cpg_die(ERROR, $lang_errors['perm_denied'], __FILE__, __LINE__);
+
+        check_comment($_POST['msg_body']);
+        check_comment($_POST['msg_author']);
+        $msg_body = addslashes(trim($_POST['msg_body']));
+        $msg_author = addslashes(trim($_POST['msg_author']));
+        $msg_id = (int)$_POST['msg_id'];
+
+        if ($msg_body == '') cpg_die(ERROR, $lang_db_input_php['err_comment_empty'], __FILE__, __LINE__);
+
+        if (GALLERY_ADMIN_MODE) {
+            $update = cpg_db_query("UPDATE {$CONFIG['TABLE_COMMENTS']} SET msg_body='$msg_body', msg_author='$msg_author' WHERE msg_id='$msg_id'");
+        } elseif (USER_ID) {
+            $update = cpg_db_query("UPDATE {$CONFIG['TABLE_COMMENTS']} SET msg_body='$msg_body' WHERE msg_id='$msg_id' AND author_id ='" . USER_ID . "' LIMIT 1");
+        } else {
+            $update = cpg_db_query("UPDATE {$CONFIG['TABLE_COMMENTS']} SET msg_body='$msg_body' WHERE msg_id='$msg_id' AND author_md5_id ='{$USER['ID']}' AND author_id = '0' LIMIT 1");
+        }
+
+        $header_location = (@preg_match('/Microsoft|WebSTAR|Xitami/', getenv('SERVER_SOFTWARE'))) ? 'Refresh: 0; URL=' : 'Location: ';
+
+        $result = cpg_db_query("SELECT pid FROM {$CONFIG['TABLE_COMMENTS']} WHERE msg_id='$msg_id'");
+        if (!mysql_num_rows($result)) {
+            mysql_free_result($result);
+            $header_location = (@preg_match('/Microsoft|WebSTAR|Xitami/', getenv('SERVER_SOFTWARE'))) ? 'Refresh: 0; URL=' : 'Location: ';
+            $redirect = "index.php";
+            header($header_location . $redirect);
+            pageheader($lang_info, "<meta http-equiv=\"refresh\" content=\"1;url=$redirect\" />");
+            msg_box($lang_info, $lang_db_input_php['redirect_msg'], $lang_db_input_php['continue'], $redirect);
+            pagefooter();
+            ob_end_flush();
+            exit;
+        } else {
+            $comment_data = mysql_fetch_array($result);
+            mysql_free_result($result);
+            $redirect = "displayimage.php?pos=" . (- $comment_data['pid']);
+            header($header_location . $redirect);
+            pageheader($lang_info, "<meta http-equiv=\"refresh\" content=\"1;url=$redirect\" />");
+            msg_box($lang_info, $lang_db_input_php['redirect_msg'], $lang_db_input_php['continue'], $redirect);
+            pagefooter();
+            ob_end_flush();
+            exit;
+        }
+        break;
+
+    // Comment
+
+    case 'comment':
+        if (!(USER_CAN_POST_COMMENTS)) cpg_die(ERROR, $lang_errors['perm_denied'], __FILE__, __LINE__);
+
+        check_comment($_POST['msg_body']);
+                check_comment($_POST['msg_author']);
+        $msg_author = addslashes(trim($_POST['msg_author']));
+        $msg_body = addslashes(trim($_POST['msg_body']));
+        $pid = (int)$_POST['pid'];
+
+        if ($msg_author == '' || $msg_body == '') cpg_die(ERROR, $lang_db_input_php['empty_name_or_com'], __FILE__, __LINE__);
+
+        $result = cpg_db_query("SELECT comments FROM {$CONFIG['TABLE_PICTURES']}, {$CONFIG['TABLE_ALBUMS']} WHERE {$CONFIG['TABLE_PICTURES']}.aid = {$CONFIG['TABLE_ALBUMS']}.aid AND pid='$pid'");
+        if (!mysql_num_rows($result)) cpg_die(ERROR, $lang_errors['non_exist_ap'], __FILE__, __LINE__);
+        $album_data = mysql_fetch_array($result);
+        mysql_free_result($result);
+
+        if ($album_data['comments'] != 'YES') cpg_die(ERROR, $lang_errors['perm_denied'], __FILE__, __LINE__);
+
+        if (!$CONFIG['disable_comment_flood_protect']){
+          $result = cpg_db_query("SELECT author_md5_id, author_id FROM {$CONFIG['TABLE_COMMENTS']} WHERE pid = '$pid' ORDER BY msg_id DESC LIMIT 1");
+          if (mysql_num_rows($result)) {
+              $last_com_data = mysql_fetch_array($result);
+              if ((USER_ID && $last_com_data['author_id'] == USER_ID) || (!USER_ID && $last_com_data['author_md5_id'] == $USER['ID'])) {
+                  cpg_die(ERROR, $lang_db_input_php['no_flood'], __FILE__, __LINE__);
+              }
+          }
+        }
+
+        if (!USER_ID) { // Anonymous users, we need to use META refresh to save the cookie
+            if (mysql_result(cpg_db_query("select count(user_id) from {$CONFIG['TABLE_USERS']} where UPPER(user_name) = UPPER('$msg_author')"),0,0))
+            {
+              cpg_die($lang_error, $lang_db_input_php['com_author_error'],__FILE__,__LINE__);
+          }
+
+            $insert = cpg_db_query("INSERT INTO {$CONFIG['TABLE_COMMENTS']} (pid, msg_author, msg_body, msg_date, author_md5_id, author_id, msg_raw_ip, msg_hdr_ip) VALUES ('$pid', '{$CONFIG['comments_anon_pfx']}$msg_author', '$msg_body', NOW(), '{$USER['ID']}', '0', '$raw_ip', '$hdr_ip')");
+
+            $USER['name'] = $_POST['msg_author'];
+            $redirect = "displayimage.php?pos=" . (- $pid);
+            if ($CONFIG['email_comment_notification']) {
+                $mail_body = "<p>" . bb_decode(process_smilies($msg_body, $CONFIG['ecards_more_pic_target'])) . "</p>\n\r ".$lang_db_input_php['email_comment_body'] . " " . $CONFIG['ecards_more_pic_target'].(substr($CONFIG["ecards_more_pic_target"], -1) == '/' ? '' : '/').$redirect;
+                cpg_mail('admin', $lang_db_input_php['email_comment_subject'], make_clickable($mail_body));
+            }
+            pageheader($lang_db_input_php['com_added'], "<meta http-equiv=\"refresh\" content=\"1;url=$redirect\" />");
+            msg_box($lang_db_input_php['info'], $lang_db_input_php['com_added'], $lang_continue, $redirect);
+            pagefooter();
+            ob_end_flush();
+            exit;
+        } else { // Registered users, we can use Location to redirect
+            $insert = cpg_db_query("INSERT INTO {$CONFIG['TABLE_COMMENTS']} (pid, msg_author, msg_body, msg_date, author_md5_id, author_id, msg_raw_ip, msg_hdr_ip) VALUES ('$pid', '" . addslashes(USER_NAME) . "', '$msg_body', NOW(), '', '" . USER_ID . "', '$raw_ip', '$hdr_ip')");
+            $redirect = "displayimage.php?pos=" . (- $pid);
+            if ($CONFIG['email_comment_notification'] && !USER_IS_ADMIN ) {
+                $mail_body = "<p>" . bb_decode(process_smilies($msg_body, $CONFIG['ecards_more_pic_target'])) . "</p>\n\r ".$lang_db_input_php['email_comment_body'] . " " . $CONFIG['ecards_more_pic_target'] . (substr($CONFIG["ecards_more_pic_target"], -1) == '/' ? '' : '/') . $redirect;
+                cpg_mail('admin', $lang_db_input_php['email_comment_subject'], make_clickable($mail_body));
+            }
+            $header_location = (@preg_match('/Microsoft|WebSTAR|Xitami/', getenv('SERVER_SOFTWARE'))) ? 'Refresh: 0; URL=' : 'Location: ';
+            header($header_location . $redirect);
+            pageheader($lang_db_input_php['com_added'], "<meta http-equiv=\"refresh\" content=\"1;url=$redirect\" />");
+            msg_box($lang_db_input_php['info'], $lang_db_input_php['com_added'], $lang_continue, $redirect);
+            pagefooter();
+            ob_end_flush();
+            exit;
+        }
+        break;
+
+    // Update album
+
+    case 'album_update':
+        if (!(USER_ADMIN_MODE || GALLERY_ADMIN_MODE)) cpg_die(ERROR, $lang_errors['perm_denied'], __FILE__, __LINE__);
+
+        $aid = (int)$_POST['aid'];
+        $title = addslashes(trim($_POST['title']));
+        $category = (int)$_POST['category'];
+        $description = addslashes(trim($_POST['description']));
+                $keyword = addslashes(trim($_POST['keyword']));
+        $thumb = (int)$_POST['thumb'];
+        $visibility = (int)$_POST['visibility'];
+        $uploads = $_POST['uploads'] == 'YES' ? 'YES' : 'NO';
+        $comments = $_POST['comments'] == 'YES' ? 'YES' : 'NO';
+        $votes = $_POST['votes'] == 'YES' ? 'YES' : 'NO';
+        $password = addslashes($_POST['alb_password']);
+                $password_hint = addslashes(trim($_POST['alb_password_hint']));
+        $visibility = !empty($password) ? FIRST_USER_CAT + USER_ID : $visibility;
+
+        if (!$title) cpg_die(ERROR, $lang_db_input_php['alb_need_title'], __FILE__, __LINE__);
+
+        if (GALLERY_ADMIN_MODE) {
+            $query = "UPDATE {$CONFIG['TABLE_ALBUMS']} SET title='$title', description='$description', category='$category', thumb='$thumb', uploads='$uploads', comments='$comments', votes='$votes', visibility='$visibility', alb_password='$password', alb_password_hint='$password_hint', keyword='$keyword' WHERE aid='$aid' LIMIT 1";
+        } else {
+            $category = FIRST_USER_CAT + USER_ID;
+            $query = "UPDATE {$CONFIG['TABLE_ALBUMS']} SET title='$title', description='$description', thumb='$thumb',  comments='$comments', votes='$votes', visibility='$visibility', alb_password='$password', alb_password_hint='$password_hint',keyword='$keyword' WHERE aid='$aid' AND category='$category' LIMIT 1";
+        }
+
+        $update = cpg_db_query($query);
+
+        if (!mysql_affected_rows()) cpg_die(INFORMATION, $lang_db_input_php['no_udp_needed'], __FILE__, __LINE__);
+                pageheader($lang_db_input_php['alb_updated'], "<meta http-equiv=\"refresh\" content=\"1;url=modifyalb.php?album=$aid\" />");
+        msg_box($lang_db_input_php['info'], $lang_db_input_php['alb_updated'], $lang_continue, "modifyalb.php?album=$aid");
+        pagefooter();
+        ob_end_flush();
+        exit;
+        break;
+
+    // Reset album
+
+    case 'album_reset':
+        if (!GALLERY_ADMIN_MODE) cpg_die(ERROR, $lang_errors['perm_denied'], __FILE__, __LINE__);
+
+        $counter_affected_rows = 0;
+        $aid = (int)$_POST['aid'];
+        $reset_views = (int)($_POST['reset_views']);
+        $reset_rating = (int)$_POST['reset_rating'];
+        $delete_comments = (int)($_POST['delete_comments']);
+        $delete_files = (int)$_POST['delete_files'];
+
+        if ($reset_views || $reset_rating) {
+            // Get all pids for this album and reset their details hit stats
+            $query = "SELECT pid FROM {$CONFIG['TABLE_PICTURES']} WHERE aid = '$aid'";
+            $result = cpg_db_query($query);
+            while ($row = mysql_fetch_array($result, MYSQL_ASSOC)) {
+              $pid[] = $row['pid'];
+            }
+        }
+
+        if ($reset_views) { // if reset_views start
+            $query = "UPDATE {$CONFIG['TABLE_PICTURES']} SET hits='0' WHERE aid='$aid'";
+                $update = cpg_db_query($query);
+            if (isset($CONFIG['debug_mode']) && ($CONFIG['debug_mode'] == 1)) {
+                $queries[] = $query;
+            }
+            if (mysql_affected_rows()) {
+                $counter_affected_rows++;
+            }
+            resetDetailHits($pid);
+        } // if reset_views end
+
+        if ($reset_rating) { // if reset_rating start
+            $query = "UPDATE {$CONFIG['TABLE_PICTURES']} SET  pic_rating='0',  votes='0' WHERE aid='$aid'";
+                $update = cpg_db_query($query);
+            if (isset($CONFIG['debug_mode']) && ($CONFIG['debug_mode'] == 1)) {
+                $queries[] = $query;
+            }
+            if (mysql_affected_rows()) {
+                $counter_affected_rows++;
+            }
+            resetDetailVotes($pid);
+        } // if reset_rating end
+
+        if ($delete_files) { // if delete_files start
+            $query = "DELETE FROM {$CONFIG['TABLE_PICTURES']} WHERE aid='$aid'";
+                $update = cpg_db_query($query);
+            if (isset($CONFIG['debug_mode']) && ($CONFIG['debug_mode'] == 1)) {
+                $queries[] = $query;
+            }
+            if (mysql_affected_rows()) {
+                $counter_affected_rows++;
+            }
+        } // if delete_files end
+
+
+        if ($counter_affected_rows == 0) cpg_die(INFORMATION, $lang_db_input_php['no_udp_needed'], __FILE__, __LINE__);
+        if ($CONFIG['debug_mode'] == 0) {
+            pageheader($lang_db_input_php['alb_updated'], "<meta http-equiv=\"refresh\" content=\"1;url=modifyalb.php?album=$aid\" />");
+        }
+        msg_box($lang_db_input_php['info'], $lang_db_input_php['alb_updated'], $lang_continue, "modifyalb.php?album=$aid");
+        pagefooter();
+        ob_end_flush();
+        exit;
+        break;
+
+    // Picture upload
+
+
+    case 'picture':
+        if (!USER_CAN_UPLOAD_PICTURES) cpg_die(ERROR, $lang_errors['perm_denied'], __FILE__, __LINE__);
+
+        $album = (int)$_POST['album'];
+        $title = addslashes($_POST['title']);
+        $caption = addslashes($_POST['caption']);
+        $keywords = addslashes($_POST['keywords']);
+        $user1 = addslashes($_POST['user1']);
+        $user2 = addslashes($_POST['user2']);
+        $user3 = addslashes($_POST['user3']);
+        $user4 = addslashes($_POST['user4']);
+        // Check if the album id provided is valid
+        if (!GALLERY_ADMIN_MODE) {
+            $result = cpg_db_query("SELECT category FROM {$CONFIG['TABLE_ALBUMS']} WHERE aid='$album' and (uploads = 'YES' OR category = '" . (USER_ID + FIRST_USER_CAT) . "')");
+            if (mysql_num_rows($result) == 0)cpg_die(ERROR, $lang_db_input_php['unknown_album'], __FILE__, __LINE__);
+            $row = mysql_fetch_array($result);
+            mysql_free_result($result);
+            $category = $row['category'];
+        } else {
+            $result = cpg_db_query("SELECT category FROM {$CONFIG['TABLE_ALBUMS']} WHERE aid='$album'");
+            if (mysql_num_rows($result) == 0)cpg_die(ERROR, $lang_db_input_php['unknown_album'], __FILE__, __LINE__);
+            $row = mysql_fetch_array($result);
+            mysql_free_result($result);
+            $category = $row['category'];
+        }
+        // Test if the filename of the temporary uploaded picture is empty
+        if ($_FILES['userpicture']['tmp_name'] == '') cpg_die(ERROR, $lang_db_input_php['no_pic_uploaded'], __FILE__, __LINE__);
+        // Pictures are moved in a directory named 10000 + USER_ID
+        if (USER_ID && !defined('SILLY_SAFE_MODE')) {
+            $filepath = $CONFIG['userpics'] . (USER_ID + FIRST_USER_CAT);
+            $dest_dir = $CONFIG['fullpath'] . $filepath;
+            if (!is_dir($dest_dir)) {
+                mkdir($dest_dir, octdec($CONFIG['default_dir_mode']));
+                if (!is_dir($dest_dir)) cpg_die(CRITICAL_ERROR, sprintf($lang_db_input_php['err_mkdir'], $dest_dir), __FILE__, __LINE__, true);
+                chmod($dest_dir, octdec($CONFIG['default_dir_mode']));
+                $fp = fopen($dest_dir . '/index.html', 'w');
+                fwrite($fp, ' ');
+                fclose($fp);
+            }
+            $dest_dir .= '/';
+            $filepath .= '/';
+        } else {
+            $filepath = $CONFIG['userpics'];
+            $dest_dir = $CONFIG['fullpath'] . $filepath;
+        }
+        // Check that target dir is writable
+        if (!is_writable($dest_dir)) cpg_die(CRITICAL_ERROR, sprintf($lang_db_input_php['dest_dir_ro'], $dest_dir), __FILE__, __LINE__, true);
+        if (get_magic_quotes_gpc()) $_FILES['userpicture']['name'] = stripslashes($_FILES['userpicture']['name']);
+        // Replace forbidden chars with underscores
+                $picture_name = replace_forbidden($_FILES['userpicture']['name']);
+        // Check that the file uploaded has a valid extension
+        $matches = array();
+        if (!preg_match("/(.+)\.(.*?)\Z/", $picture_name, $matches)) {
+            $matches[1] = 'invalid_fname';
+            $matches[2] = 'xxx';
+        }
+
+        if ($matches[2] == '' || !is_known_filetype($matches)) {
+            cpg_die(ERROR, sprintf($lang_db_input_php['err_invalid_fext'], $CONFIG['allowed_file_extensions']), __FILE__, __LINE__);
+        }
+
+        // Create a unique name for the uploaded file
+        $nr = 0;
+        $picture_name = $matches[1] . '.' . $matches[2];
+        while (file_exists($dest_dir . $picture_name)) {
+            $picture_name = $matches[1] . '~' . $nr++ . '.' . $matches[2];
+        }
+        $uploaded_pic = $dest_dir . $picture_name;
+        // Move the picture into its final location
+        if (!move_uploaded_file($_FILES['userpicture']['tmp_name'], $uploaded_pic))
+            cpg_die(CRITICAL_ERROR, sprintf($lang_db_input_php['err_move'], $picture_name, $dest_dir), __FILE__, __LINE__, true);
+        // Change file permission
+        chmod($uploaded_pic, octdec($CONFIG['default_file_mode']));
+        // Get picture information
+
+
+        // Check that picture file size is lower than the maximum allowed
+        if (filesize($uploaded_pic) > ($CONFIG['max_upl_size'] << 10)) {
+            @unlink($uploaded_pic);
+            cpg_die(ERROR, sprintf($lang_db_input_php['err_imgsize_too_large'], $CONFIG['max_upl_size']), __FILE__, __LINE__);
+        } elseif (is_image($picture_name)) {
+            $imginfo = getimagesize($uploaded_pic);
+            // getimagesize does not recognize the file as a picture
+            if ($imginfo == null) {
+                @unlink($uploaded_pic);
+                cpg_die(ERROR, $lang_db_input_php['err_invalid_img'], __FILE__, __LINE__, true);
+            // JPEG and PNG only are allowed with GD
+            //} elseif ($imginfo[2] != GIS_JPG && $imginfo[2] != GIS_PNG && ($CONFIG['thumb_method'] == 'gd1' || $CONFIG['thumb_method'] == 'gd2')) {
+            } elseif ($imginfo[2] != GIS_JPG && $imginfo[2] != GIS_PNG && $CONFIG['GIF_support'] == 0) {
+                @unlink($uploaded_pic);
+                cpg_die(ERROR, $lang_errors['gd_file_type_err'], __FILE__, __LINE__, true);
+            // *** NOT NEEDED CHECK DONE BY 'is_image'
+            // Check image type is among those allowed for ImageMagick
+            //} elseif (!stristr($CONFIG['allowed_img_types'], $IMG_TYPES[$imginfo[2]]) && $CONFIG['thumb_method'] == 'im') {
+                //@unlink($uploaded_pic);
+                //cpg_die(ERROR, sprintf($lang_db_input_php['allowed_img_types'], $CONFIG['allowed_img_types']), __FILE__, __LINE__);
+            // Check that picture size (in pixels) is lower than the maximum allowed
+            } elseif (max($imginfo[0], $imginfo[1]) > $CONFIG['max_upl_width_height']) {
+              if ((USER_IS_ADMIN && $CONFIG['auto_resize'] == 1) || (!USER_IS_ADMIN && $CONFIG['auto_resize'] > 0))
+              {
+                //resize_image($uploaded_pic, $uploaded_pic, $CONFIG['max_upl_width_height'], $CONFIG['thumb_method'], $imginfo[0] > $CONFIG['max_upl_width_height'] ? 'wd' : 'ht');
+                resize_image($uploaded_pic, $uploaded_pic, $CONFIG['max_upl_width_height'], $CONFIG['thumb_method'], $CONFIG['thumb_use']);
+              }
+              else
+              {
+                @unlink($uploaded_pic);
+                cpg_die(ERROR, sprintf($lang_db_input_php['err_fsize_too_large'], $CONFIG['max_upl_width_height'], $CONFIG['max_upl_width_height']), __FILE__, __LINE__);
+              }
+            } // Image is ok
+        }
+
+        // Upload is ok
+        // Create thumbnail and internediate image and add the image into the DB
+        $result = add_picture($album, $filepath, $picture_name, 0, $title, $caption, $keywords, $user1, $user2, $user3, $user4, $category, $raw_ip, $hdr_ip,(int) $_POST['width'],(int) $_POST['height']);
+
+        if (!$result) {
+            @unlink($uploaded_pic);
+            cpg_die(CRITICAL_ERROR, sprintf($lang_db_input_php['err_insert_pic'], $uploaded_pic) . '<br /><br />' . $ERROR, __FILE__, __LINE__, true);
+        } elseif ($PIC_NEED_APPROVAL) {
+            pageheader($lang_info);
+            msg_box($lang_info, $lang_db_input_php['upload_success'], $lang_continue, 'index.php');
+            // start: send admin approval mail added by gaugau: 03-11-09
+            if ($CONFIG['upl_notify_admin_email'])
+            {
+                include_once('include/mailer.inc.php');
+                cpg_mail('admin', sprintf($lang_db_input_php['notify_admin_email_subject'], $CONFIG['gallery_name']), sprintf($lang_db_input_php['notify_admin_email_body'], USER_NAME,  $CONFIG['ecards_more_pic_target'].(substr($CONFIG["ecards_more_pic_target"], -1) == '/' ? '' : '/') .'editpics.php?mode=upload_approval' ));
+            }
+            // end: send admin approval mail
+            ob_end_flush();
+        } else {
+            $header_location = (@preg_match('/Microsoft|WebSTAR|Xitami/', getenv('SERVER_SOFTWARE'))) ? 'Refresh: 0; URL=' : 'Location: ';
+            $redirect = "displayimage.php?pos=" . (- mysql_insert_id($CONFIG['LINK_ID']));
+            header($header_location . $redirect);
+            pageheader($lang_info, "<meta http-equiv=\"refresh\" content=\"1;url=$redirect\" />");
+            msg_box($lang_info, $lang_db_input_php['upl_success'], $lang_continue, $redirect);
+            pagefooter();
+            ob_end_flush();
+            exit;
+        }
+        break;
+
+    // Unknow event
+
+    default:
+        cpg_die(CRITICAL_ERROR, $lang_errors['param_missing'], __FILE__, __LINE__);
+}
+?>
diff -x .svn -aruN 1.4.24.src/delete.php 1.4.25.src/delete.php
--- 1.4.24.src/delete.php	2009-05-21 15:03:09.000000000 -0500
+++ 1.4.25.src/delete.php	2009-05-26 11:25:52.000000000 -0500
@@ -1,765 +1,765 @@
-<?php
-/*************************
-  Coppermine Photo Gallery
-  ************************
-  Copyright (c) 2003-2009 Coppermine Dev Team
-  v1.1 originally written by Gregory DEMAR
-
-  This program is free software; you can redistribute it and/or modify
-  it under the terms of the GNU General Public License version 3
-  as published by the Free Software Foundation.
-  
-  ********************************************
-  Coppermine version: 1.4.24
-  $HeadURL: https://coppermine.svn.sourceforge.net/svnroot/coppermine/trunk/cpg1.4.x/delete.php $
-  $Revision: 5969 $
-  $Author: gaugau $
-  $Date: 2009-05-21 22:03:33 +0200 (Do, 21 Mai 2009) $
-**********************************************/
-
-define('IN_COPPERMINE', true);
-define('DELETE_PHP', true);
-
-require('include/init.inc.php');
-
-/**
- * Local functions definition
- */
-
-$header_printed = false;
-$need_caption = false;
-
-function output_table_header()
-{
-    global $header_printed, $need_caption, $lang_delete_php;
-
-    $header_printed = true;
-    $need_caption = true;
-
-echo <<<EOT
-<tr>
-<td class="tableh2"><b>{$lang_delete_php['npic']}</b></td>
-<td class="tableh2" align="center"><b>{$lang_delete_php['fs_pic']}</b></td>
-<td class="tableh2" align="center"><b>{$lang_delete_php['ns_pic']}</b></td>
-<td class="tableh2" align="center"><b>{$lang_delete_php['thumb_pic']}</b></td>
-<td class="tableh2" align="center"><b>{$lang_delete_php['comment']}</b></td>
-<td class="tableh2" align="center"><b>{$lang_delete_php['im_in_alb']}</b></td>
-</tr>
-EOT;
-}
-
-function output_caption()
-{
-    global $lang_delete_php
-    ?>
-<tr><td colspan="6" class="tableb">&nbsp;</td></tr>
-<tr><td colspan="6" class="tableh2"><b><?php echo $lang_delete_php['caption'] ?></b></tr>
-<tr><td colspan="6" class="tableb">
-<table cellpadding="1" cellspacing="0">
-<tr><td><b>F</b></td><td>:</td><td><?php echo $lang_delete_php['fs_pic'] ?></td><td width="20">&nbsp;</td><td><img src="images/green.gif" border="0" width="12" height="12" align="absmiddle"></td><td>:</td><td><?php echo $lang_delete_php['del_success'] ?></td></tr>
-<tr><td><b>N</b></td><td>:</td><td><?php echo $lang_delete_php['ns_pic'] ?></td><td width="20">&nbsp</td><td><img src="images/red.gif" border="0" width="12" height="12" align="absmiddle"></td><td>:</td><td><?php echo $lang_delete_php['err_del'] ?></td></tr>
-<tr><td><b>T</b></td><td>:</td><td><?php echo $lang_delete_php['thumb_pic'] ?></td></tr>
-<tr><td><b>C</b></td><td>:</td><td><?php echo $lang_delete_php['comment'] ?></td></tr>
-<tr><td><b>D</b></td><td>:</td><td><?php echo $lang_delete_php['im_in_alb'] ?></td></tr>
-</table>
-</td>
-</tr>
-<?php
-}
-
-function delete_picture($pid)
-{
-    global $CONFIG, $header_printed, $lang_errors;
-
-    if (!$header_printed)
-        output_table_header();
-
-    $green = "<img src=\"images/green.gif\" border=\"0\" width=\"12\" height=\"12\"><br />";
-    $red = "<img src=\"images/red.gif\" border=\"0\" width=\"12\" height=\"12\"><br />";
-
-    if (GALLERY_ADMIN_MODE) {
-        $query = "SELECT aid, filepath, filename FROM {$CONFIG['TABLE_PICTURES']} WHERE pid='$pid'";
-        $result = cpg_db_query($query);
-        if (!mysql_num_rows($result)) cpg_die(CRITICAL_ERROR, $lang_errors['non_exist_ap'], __FILE__, __LINE__);
-        $pic = mysql_fetch_array($result);
-    } else {
-        $query = "SELECT {$CONFIG['TABLE_PICTURES']}.aid as aid, category, filepath, filename, owner_id FROM {$CONFIG['TABLE_PICTURES']}, {$CONFIG['TABLE_ALBUMS']} WHERE {$CONFIG['TABLE_PICTURES']}.aid = {$CONFIG['TABLE_ALBUMS']}.aid AND pid='$pid'";
-        $result = cpg_db_query($query);
-        if (!mysql_num_rows($result)) cpg_die(CRITICAL_ERROR, $lang_errors['non_exist_ap'], __FILE__, __LINE__);
-        $pic = mysql_fetch_array($result);
-        if (!($pic['category'] == FIRST_USER_CAT + USER_ID || ($CONFIG['users_can_edit_pics'] && $pic['owner_id'] == USER_ID)) || !USER_ID) cpg_die(ERROR, $lang_errors['access_denied'], __FILE__, __LINE__);
-    }
-
-    $aid = $pic['aid'];
-    $dir = $CONFIG['fullpath'] . $pic['filepath'];
-    $file = $pic['filename'];
-
-
-    if (!is_writable($dir)) cpg_die(CRITICAL_ERROR, sprintf($lang_errors['directory_ro'], htmlspecialchars($dir)), __FILE__, __LINE__);
-
-    echo "<td class=\"tableb\">" . htmlspecialchars($file) . "</td>";
-
-    $files = array($dir . $file, $dir . $CONFIG['normal_pfx'] . $file, $dir . $CONFIG['thumb_pfx'] . $file);
-    foreach ($files as $currFile) {
-        echo "<td class=\"tableb\" align=\"center\">";
-        if (is_file($currFile)) {
-            if (@unlink($currFile))
-                echo $green;
-            else
-                echo $red;
-        } else
-            echo "&nbsp;";
-        echo "</td>";
-    }
-
-    $query = "DELETE FROM {$CONFIG['TABLE_COMMENTS']} WHERE pid='$pid'";
-    $result = cpg_db_query($query);
-    echo "<td class=\"tableb\" align=\"center\">";
-    if (mysql_affected_rows() > 0)
-        echo $green;
-    else
-        echo "&nbsp;";
-    echo "</td>";
-
-    $query = "DELETE FROM {$CONFIG['TABLE_EXIF']} WHERE filename='".addslashes($dir.$file)."' LIMIT 1";
-    $result = cpg_db_query($query);
-
-    $query = "DELETE FROM {$CONFIG['TABLE_PICTURES']} WHERE pid='$pid' LIMIT 1";
-    $result = cpg_db_query($query);
-    echo "<td class=\"tableb\" align=\"center\">";
-    if (mysql_affected_rows() > 0)
-        echo $green;
-    else
-        echo $red;
-    echo "</td>";
-
-    echo "</tr>\n";
-
-    return $aid;
-}
-
-function delete_album($aid)
-{
-    global $CONFIG, $lang_errors, $lang_delete_php;
-
-    $query = "SELECT title, category FROM {$CONFIG['TABLE_ALBUMS']} WHERE aid ='$aid'";
-    $result = cpg_db_query($query);
-    if (!mysql_num_rows($result)) cpg_die(CRITICAL_ERROR, $lang_errors['non_exist_ap'], __FILE__, __LINE__);
-    $album_data = mysql_fetch_array($result);
-
-    if (!GALLERY_ADMIN_MODE) {
-        if ($album_data['category'] != FIRST_USER_CAT + USER_ID) cpg_die(ERROR, $lang_errors['perm_denied'], __FILE__, __LINE__);
-    }
-
-    $query = "SELECT pid FROM {$CONFIG['TABLE_PICTURES']} WHERE aid='$aid'";
-    $result = cpg_db_query($query);
-    // Delete all files
-    while ($pic = mysql_fetch_array($result)) {
-        delete_picture($pic['pid']);
-    }
-    // Delete album
-    $query = "DELETE from {$CONFIG['TABLE_ALBUMS']} WHERE aid='$aid'";
-    $result = cpg_db_query($query);
-    if (mysql_affected_rows() > 0)
-        echo "<tr><td colspan=\"6\" class=\"tableb\">" . sprintf($lang_delete_php['alb_del_success'], $album_data['title']) . "</td></tr>\n";
-}
-
-/**
- * Album manager functions
- */
-
-function parse_select_option($value)
-{
-    global $HTML_SUBST;
-
-    if (!preg_match("/.+?no=(\d+),album_nm='(.+?)',album_sort=(\d+),action=(\d)/", $value, $matches))
-        return false;
-
-    return array('album_no' => (int)$matches[1],
-        'album_nm' => get_magic_quotes_gpc() ? strtr(stripslashes($matches[2]), $HTML_SUBST) : strtr($matches[2], $HTML_SUBST),
-        'album_sort' => (int)$matches[3],
-        'action' => (int)$matches[4]
-        );
-}
-
-function parse_orig_sort_order($value)
-{
-    if (!preg_match("/(\d+)@(\d+)/", $value, $matches))
-        return false;
-
-    return array('aid' => (int)$matches[1],
-        'pos' => (int)$matches[2],
-        );
-}
-
-function parse_list($value)
-{
-    return preg_split("/,/", $value, -1, PREG_SPLIT_NO_EMPTY);
-}
-
-/**************************************************************************
-* Picture manager functions
-**************************************************************************/
-
-               function parse_pic_select_option($value)
-               {
-                       global $HTML_SUBST;
-
-                       if (!preg_match("/.+?no=(\d+),picture_nm='(.+?)',picture_sort=(\d+),action=(\d)/", $value, $matches))
-                               return false;
-
-                       return array(
-                               'picture_no'   => (int)$matches[1],
-                               'picture_nm'   => get_magic_quotes_gpc() ? strtr(stripslashes($matches[2]), $HTML_SUBST) : strtr($matches[2], $HTML_SUBST),
-                               'picture_sort' => (int)$matches[3],
-                               'action'     => (int)$matches[4]
-                       );
-               }
-
-               function parse_pic_orig_sort_order($value)
-               {
-                       if (!preg_match("/(\d+)@(\d+)/", $value, $matches))
-                               return false;
-
-                       return array(
-                               'aid'   => (int)$matches[1],
-                               'pos'   => (int)$matches[2],
-                       );
-               }
-
-
-               function parse_pic_list($value)
-               {
-                       return preg_split("/,/", $value, -1, PREG_SPLIT_NO_EMPTY);
-               }
-
-
-/**
- * Main code starts here
- */
-
-if (!isset($_GET['what']) && !isset($_POST['what'])) {
-    cpg_die(CRITICAL_ERROR, $lang_errors['param_missing'], __FILE__, __LINE__);
-}
-
-$what = isset($_GET['what']) ? $_GET['what'] : $_POST['what'];
-switch ($what) {
-
-    // Album manager (don't necessarily delete something ;-)
-
-    case 'albmgr':
-        if (!(GALLERY_ADMIN_MODE || USER_ADMIN_MODE)) cpg_die(ERROR, $lang_errors['access_denied'], __FILE__, __LINE__);
-
-        if (!GALLERY_ADMIN_MODE) {
-            $restrict = "AND category = '" . (FIRST_USER_CAT + USER_ID) . "'";
-        } else {
-            $restrict = '';
-        }
-
-        pageheader($lang_delete_php['alb_mgr']);
-        starttable("100%", $lang_delete_php['alb_mgr'], 6);
-
-        $orig_sort_order = parse_list($_POST['sort_order']);
-        foreach ($orig_sort_order as $album) {
-            $op = parse_orig_sort_order($album);
-            if (count ($op) == 2) {
-                $query = "UPDATE $CONFIG[TABLE_ALBUMS] SET pos='{$op['pos']}' WHERE aid='{$op['aid']}' $restrict LIMIT 1";
-                cpg_db_query($query);
-            } else {
-                cpg_die (sprintf(CRITICAL_ERROR, $lang_delete_php['err_invalid_data'], $_POST['sort_order']), __FILE__, __LINE__);
-            }
-        }
-
-        $to_delete = parse_list($_POST['delete_album']);
-        foreach ($to_delete as $album_id) {
-            delete_album((int)$album_id);
-        }
-
-        if (isset($_POST['to'])) foreach ($_POST['to'] as $option_value) {
-            $op = parse_select_option(stripslashes($option_value));
-            switch ($op['action']) {
-                case '0':
-                    break;
-                case '1':
-                    if (GALLERY_ADMIN_MODE) {
-                        $category = (int)$_POST['cat'];
-                    } else {
-                        $category = FIRST_USER_CAT + USER_ID;
-                    }
-                    echo "<tr><td colspan=\"6\" class=\"tableb\">" . sprintf($lang_delete_php['create_alb'], $op['album_nm']) . "</td></tr>\n";
-                    $query = "INSERT INTO {$CONFIG['TABLE_ALBUMS']} (category, title, uploads, pos, description) VALUES ('$category', '" . addslashes($op['album_nm']) . "', 'NO',  '{$op['album_sort']}', '')";
-                    cpg_db_query($query);
-                    break;
-                case '2':
-                    echo "<tr><td colspan=\"6\" class=\"tableb\">" . sprintf($lang_delete_php['update_alb'], $op['album_no'], $op['album_nm'], $op['album_sort']) . "</td></tr>\n";
-                    $query = "UPDATE $CONFIG[TABLE_ALBUMS] SET title='" . addslashes($op['album_nm']) . "', pos='{$op['album_sort']}' WHERE aid='{$op['album_no']}' $restrict LIMIT 1";
-                    cpg_db_query($query);
-                    break;
-                default:
-                    cpg_die (CRITICAL_ERROR, $lang_delete_php['err_invalid_data'], __FILE__, __LINE__);
-            }
-        }
-        if ($need_caption) output_caption();
-        echo "<tr><td colspan=\"6\" class=\"tablef\" align=\"center\">\n";
-        echo "<div class=\"admin_menu_thumb\"><a href=\"index.php\"  class=\"adm_menu\">$lang_continue</a></div>\n";
-        echo "</td></tr>";
-        endtable();
-        pagefooter();
-        ob_end_flush();
-        break;
-
-//
-// Picture manager (don't necessarily delete something ;-)
-//
-   case 'picmgr':
-      if (!(GALLERY_ADMIN_MODE || USER_ADMIN_MODE)) cpg_die(ERROR, $lang_errors['access_denied'], __FILE__, __LINE__);
-
-      if(!GALLERY_ADMIN_MODE){
-         //$restrict = "AND category = '".(FIRST_USER_CAT + USER_ID)."'";
-         $restrict = '';
-      } else {
-         $restrict = '';
-      }
-
-      pageheader($lang_delete_php['pic_mgr']);
-      starttable("100%", $lang_delete_php['pic_mgr'], 6);
-
-      $orig_sort_order = parse_pic_list($_POST['sort_order']);
-      foreach ($orig_sort_order as $picture){
-         $op = parse_pic_orig_sort_order($picture);
-         if (count ($op) == 2){
-            $query = "UPDATE $CONFIG[TABLE_PICTURES] SET position='{$op['pos']}' WHERE pid='{$op['aid']}' $restrict LIMIT 1";
-            cpg_db_query($query);
-         } else {
-            cpg_die (sprintf(CRITICAL_ERROR, $lang_delete_php['err_invalid_data'], $_POST['sort_order']), __FILE__, __LINE__);
-         }
-      }
-
-      $to_delete = parse_pic_list($_POST['delete_picture']);
-      foreach ($to_delete as $picture_id){
-         delete_picture((int)$picture_id);
-      }
-
-      if (isset($_POST['to'])) foreach ($_POST['to'] as $option_value){
-         $op = parse_pic_select_option(stripslashes($option_value));
-         switch ($op['action']){
-            case '0':
-               break;
-            case '1':
-               if(GALLERY_ADMIN_MODE){
-                  $category = (int)$_POST['cat'];
-               } else {
-                  $category = FIRST_USER_CAT + USER_ID;
-               }
-               echo "<tr><td colspan=\"6\" class=\"tableb\">".sprintf($lang_delete_php['create_alb'], $op['album_nm'])."</td></tr>\n";
-				if (GALLERY_ADMIN_MODE){               
-               		$query = "INSERT INTO {$CONFIG['TABLE_ALBUMS']} (category, title, uploads, pos, description, visibility) VALUES ('$category', '".addslashes($op['album_nm'])."', 'NO',  '{$op['album_sort']}', '', " . (FIRST_USER_CAT + USER_ID) . ")";
-               } else {
-					$query = "INSERT INTO {$CONFIG['TABLE_ALBUMS']} (category, title, uploads, pos, description) VALUES ('$category', '".addslashes($op['album_nm'])."', 'NO',  '{$op['album_sort']}', '')";
-            	} 
-               cpg_db_query($query);
-               break;
-            case '2':
-               echo "<tr><td colspan=\"6\" class=\"tableb\">".sprintf($lang_delete_php['update_pic'], $op['picture_no'], $op['picture_nm'], $op['picture_sort'])."</td></tr>\n";
-               $query = "UPDATE $CONFIG[TABLE_PICTURES] SET position='{$op['picture_sort']}' WHERE pid='{$op['picture_no']}' $restrict LIMIT 1";
-               cpg_db_query($query);
-               break;
-            default:
-               cpg_die (CRITICAL_ERROR, $lang_delete_php['err_invalid_data'], __FILE__, __LINE__);
-         }
-      }
-      if ($need_caption) output_caption();
-      echo "<tr><td colspan=\"6\" class=\"tablef\" align=\"center\">\n";
-      echo "<div class=\"admin_menu_thumb\"><a href=\"index.php\"  class=\"adm_menu\">$lang_continue</a></div>\n";
-      echo "</td></tr>";
-      endtable();
-      pagefooter();
-      ob_end_flush();
-      break;
-
-
-
-    // Comment
-
-    case 'comment':
-        $msg_id = (int)$_GET['msg_id'];
-
-        $result = cpg_db_query("SELECT pid FROM {$CONFIG['TABLE_COMMENTS']} WHERE msg_id='$msg_id'");
-        if (!mysql_num_rows($result)) {
-            cpg_die(CRITICAL_ERROR, $lang_errors['non_exist_comment'], __FILE__, __LINE__);
-        } else {
-            $comment_data = mysql_fetch_array($result);
-        }
-
-        if (GALLERY_ADMIN_MODE) {
-            $query = "DELETE FROM {$CONFIG['TABLE_COMMENTS']} WHERE msg_id='$msg_id'";
-        } elseif (USER_ID) {
-            $query = "DELETE FROM {$CONFIG['TABLE_COMMENTS']} WHERE msg_id='$msg_id' AND author_id ='" . USER_ID . "' LIMIT 1";
-        } else {
-            $query = "DELETE FROM {$CONFIG['TABLE_COMMENTS']} WHERE msg_id='$msg_id' AND author_md5_id ='{$USER['ID']}' AND author_id = '0' LIMIT 1";
-        }
-        $result = cpg_db_query($query);
-
-        $header_location = (@preg_match('/Microsoft|WebSTAR|Xitami/', getenv('SERVER_SOFTWARE'))) ? 'Refresh: 0; URL=' : 'Location: ';
-        $redirect = "displayimage.php?pos=" . (- $comment_data['pid']);
-        header($header_location . $redirect);
-        pageheader($lang_info, "<META http-equiv=\"refresh\" content=\"1;url=$redirect\">");
-        msg_box($lang_info, $lang_delete_php['comment_deleted'], $lang_continue, $redirect);
-        pagefooter();
-        ob_end_flush();
-        break;
-
-    // Picture
-
-    case 'picture':
-        $pid = (int)$_GET['id'];
-
-        pageheader($lang_delete_php['del_pic']);
-        starttable("100%", $lang_delete_php['del_pic'], 6);
-        output_table_header();
-        $aid = delete_picture($pid);
-        output_caption();
-        echo "<tr><td colspan=\"6\" class=\"tablef\" align=\"center\">\n";
-        echo "<div class=\"admin_menu_thumb\"><a href=\"thumbnails.php?album=$aid\"  class=\"adm_menu\">$lang_continue</a></div>\n";
-        echo "</td></tr>\n";
-        endtable();
-        pagefooter();
-        ob_end_flush();
-        break;
-
-    // Album
-
-    case 'album':
-        if (!(GALLERY_ADMIN_MODE || USER_ADMIN_MODE)) cpg_die(ERROR, $lang_errors['access_denied'], __FILE__, __LINE__);
-
-        $aid = (int)$_GET['id'];
-
-        pageheader($lang_delete_php['del_alb']);
-        starttable("100%", $lang_delete_php['del_alb'], 6);
-
-        delete_album($aid);
-        if ($need_caption) output_caption();
-
-        echo "<tr><td colspan=\"6\" class=\"tablef\" align=\"center\">\n";
-        echo "<div class=\"admin_menu_thumb\"><a href=\"index.php\"  class=\"adm_menu\">$lang_continue</a></div>\n";
-        echo "</td></tr>";
-        endtable();
-        pagefooter();
-        ob_end_flush();
-        break;
-
-    // User
-
-    case 'user':
-        $user_id = str_replace('u', '', $_GET['id']);
-        $users_scheduled_for_action = explode(',', $user_id);
-        if (!(GALLERY_ADMIN_MODE) || ($user_id == USER_ID) || UDB_INTEGRATION != 'coppermine') cpg_die(ERROR, $lang_errors['perm_denied'], __FILE__, __LINE__);
-
-        switch ($_REQUEST['action']) {
-                case 'delete':
-                    pageheader($lang_delete_php['del_user']);
-                    starttable("100%", $lang_delete_php['del_user'], 6);
-                    foreach($users_scheduled_for_action as $key) {
-                        $result = cpg_db_query("SELECT user_name FROM {$CONFIG['TABLE_USERS']} WHERE user_id = '$key'");
-                        print '<tr>';
-                        if (!mysql_num_rows($result)) {
-                            print '<td class="tableb">'.$lang_delete_php['err_unknown_user'].'</td>';
-                        } else {
-                            $user_data = mysql_fetch_array($result);
-                            print '<td class="tableb">';
-                            // First delete the albums
-                            $result2 = cpg_db_query("SELECT aid FROM {$CONFIG['TABLE_ALBUMS']} WHERE category = '" . (FIRST_USER_CAT + $key) . "'");
-                            $user_alb_counter = 0;
-                            while ($album = mysql_fetch_array($result2)) {
-                                starttable('100%');
-                                delete_album($album['aid']);
-                                endtable();
-                                $user_alb_counter++;
-                            } // while
-                            mysql_free_result($result2);
-                            starttable('100%');
-                            print '<tr>';
-                            // Then anonymize comments posted by the user
-                            $comment_result = cpg_db_query("SELECT COUNT(*) FROM {$CONFIG['TABLE_COMMENTS']} WHERE author_id = '$key'");
-                            $comment_counter = mysql_fetch_array($comment_result);
-                            mysql_free_result($comment_result);
-                            print '<td class="tableb" width="25%">';
-                            if ($_REQUEST['delete_comments'] == 'yes') {
-                                cpg_db_query("DELETE FROM {$CONFIG['TABLE_COMMENTS']} WHERE author_id = '$key'");
-                                if ($comment_counter[0] > 0) {
-                                    print '<img src="images/green.gif" width="12" height="12" border="0" alt="" /> ';
-                                }
-                                printf($lang_delete_php['deleted_comments'], $comment_counter[0]);
-                            } else {
-                                cpg_db_query("UPDATE {$CONFIG['TABLE_COMMENTS']} SET  author_id = '0' WHERE  author_id = '$key'");
-                                if ($comment_counter[0] > 0) {
-                                    print '<img src="images/green.gif" width="12" height="12" border="0" alt="" /> ';
-                                }
-                                printf($lang_delete_php['anonymized_comments'], $comment_counter[0]);
-                            }
-                            print '</td>';
-                            // Do the same for pictures uploaded in public albums
-                            $publ_upload_result = cpg_db_query("SELECT COUNT(*) FROM {$CONFIG['TABLE_PICTURES']} WHERE owner_id = '$key'");
-                            $publ_upload_counter = mysql_fetch_array($publ_upload_result);
-                            mysql_free_result($publ_upload_result);
-                            print '<td class="tableb" width="25%">';
-                            if ($_REQUEST['delete_files'] == 'yes') {
-                                cpg_db_query("DELETE FROM {$CONFIG['TABLE_PICTURES']} WHERE  owner_id = '$key'");
-                                if ($publ_upload_counter[0] > 0) {
-                                    print '<img src="images/green.gif" width="12" height="12" border="0" alt="" /> ';
-                                }
-                                printf($lang_delete_php['deleted_uploads'], $publ_upload_counter[0]);
-                            } else {
-                                cpg_db_query("UPDATE {$CONFIG['TABLE_PICTURES']} SET  owner_id = '0' WHERE  owner_id = '$key'");
-                                if ($publ_upload_counter[0] > 0) {
-                                    print '<img src="images/green.gif" width="12" height="12" border="0" alt="" /> ';
-                                }
-                                printf($lang_delete_php['anonymized_uploads'], $publ_upload_counter[0]);
-                            }
-                            print '</td>';
-                            // Finally delete the user
-                            cpg_db_query("DELETE FROM {$CONFIG['TABLE_USERS']} WHERE user_id = '$key'");
-                            print '<td class="tableb" width="50%">';
-                            print '<b>';
-                            print '<img src="images/green.gif" width="12" height="12" border="0" alt="" /> ';
-                            printf($lang_delete_php['user_deleted'],'&laquo;'.$user_data['user_name'].'&raquo;');
-                            print '</b>';
-                            print '</td>';
-                            print '</tr>';
-                            endtable();
-                            print '</td>';
-                        }
-                        mysql_free_result($result);
-                        print '</tr>';
-                    }
-                    echo "<tr><td colspan=\"6\" class=\"tablef\" align=\"center\">\n";
-                    echo "<a href=\"usermgr.php\"  class=\"admin_menu\">$lang_continue</a>\n";
-                    echo "</td></tr>";
-                    endtable();
-                    pagefooter();
-                    break; // end case "delete"
-                case 'activate':
-                    pageheader($lang_delete_php['activate_user']);
-                    starttable("100%", $lang_delete_php['activate_user'], 2);
-                    print "<tr>\n";
-                    print "<td class=\"tableh2\"><b>{$lang_delete_php['username']}</b></td>\n";
-                    print "<td class=\"tableh2\"><b>{$lang_delete_php['status']}</b></td>\n";
-                    print "</tr>\n";
-
-                    foreach($users_scheduled_for_action as $key) {
-                        $result = cpg_db_query("SELECT user_name,user_active FROM {$CONFIG['TABLE_USERS']} WHERE user_id = '$key'");
-                        if (!mysql_num_rows($result)) {
-                            print '<tr><td class="tableb" colspan="2">'.$lang_delete_php['err_unknown_user'].'</td>';
-                        } else {
-                            $user_data = mysql_fetch_array($result);
-                            print '<tr>';
-                            print '<td class="tableb"><b>';
-                            print $user_data['user_name'];
-                            print '</b></td>';
-                            print '<td class="tableb">';
-                            if ($user_data['user_active'] == 'YES') {
-                                // user is already active
-                                print $lang_delete_php['user_already_active'];
-                            } else {
-                                // activate this user
-                                cpg_db_query("UPDATE {$CONFIG['TABLE_USERS']} SET user_active = 'YES' WHERE  user_id = '$key'");
-                                print $lang_delete_php['activated'];
-                            }
-                            print '</b></td>';
-                        }
-                        mysql_free_result($result);
-                    } // foreach --- end
-                    echo "<tr><td colspan=\"2\" class=\"tablef\" align=\"center\">\n";
-                    echo "<a href=\"usermgr.php\" class=\"admin_menu\">$lang_continue</a>\n";
-                    echo "</td></tr>";
-                    endtable();
-                    pagefooter();
-                    break; // end case "activate"
-                case 'deactivate':
-                    pageheader($lang_delete_php['deactivate_user']);
-                    starttable("100%", $lang_delete_php['deactivate_user'], 2);
-                    print "<tr>\n";
-                    print "<td class=\"tableh2\"><b>{$lang_delete_php['username']}</b></td>\n";
-                    print "<td class=\"tableh2\"><b>{$lang_delete_php['status']}</b></td>\n";
-                    print "</tr>\n";
-
-                    foreach($users_scheduled_for_action as $key) {
-                        $result = cpg_db_query("SELECT user_name,user_active FROM {$CONFIG['TABLE_USERS']} WHERE user_id = '$key'");
-                        if (!mysql_num_rows($result)) {
-                            print '<tr><td class="tableb" colspan="2">'.$lang_delete_php['err_unknown_user'].'</td>';
-                        } else {
-                            $user_data = mysql_fetch_array($result);
-                            print '<tr>';
-                            print '<td class="tableb"><b>';
-                            print $user_data['user_name'];
-                            print '</b></td>';
-                            print '<td class="tableb">';
-                            if ($user_data['user_active'] == 'NO') {
-                                // user is already inactive
-                                print $lang_delete_php['user_already_inactive'];
-                            } else {
-                                // deactivate this user
-                                cpg_db_query("UPDATE {$CONFIG['TABLE_USERS']} SET user_active = 'NO' WHERE  user_id = '$key'");
-                                print $lang_delete_php['deactivated'];
-                            }
-                            print '</b></td>';
-                        }
-                        mysql_free_result($result);
-                    } // foreach --- end
-                    echo "<tr><td colspan=\"2\" class=\"tablef\" align=\"center\">\n";
-                    echo "<a href=\"usermgr.php\" class=\"admin_menu\">$lang_continue</a>\n";
-                    echo "</td></tr>";
-                    endtable();
-                    pagefooter();
-                    break; // end case "deactivate"
-                case 'reset_password':
-                    pageheader($lang_delete_php['reset_password']);
-                    starttable("100%", $lang_delete_php['reset_password'], 2);
-                    print "<tr>\n";
-                    print "<td class=\"tableh2\"><b>{$lang_delete_php['username']}</b></td>\n";
-                    print "<td class=\"tableh2\"><b>{$lang_delete_php['status']}</b></td>\n";
-                    print "</tr>\n";
-
-                    foreach($users_scheduled_for_action as $key) {
-                        $result = cpg_db_query("SELECT user_name FROM {$CONFIG['TABLE_USERS']} WHERE user_id = '$key'");
-                        if (!mysql_num_rows($result)) {
-                            print '<tr><td class="tableb" colspan="2">'.$lang_delete_php['err_unknown_user'].'</td>';
-                        } else {
-                            $user_data = mysql_fetch_array($result);
-                            print '<tr>';
-                            print '<td class="tableb"><b>';
-                            print $user_data['user_name'];
-                            print '</b></td>';
-                            print '<td class="tableb">';
-                            // set this user's password
-                            $new_password = $CONFIG['enable_encrypted_passwords'] ? md5(addslashes($_REQUEST['new_password'])) : addslashes($_REQUEST['new_password']);
-                            cpg_db_query("UPDATE {$CONFIG['TABLE_USERS']} SET user_password = '$new_password' WHERE  user_id = '$key'");
-                            printf($lang_delete_php['password_reset'], '&laquo;'.$_REQUEST['new_password'].'&raquo;');
-                            print '</b></td>';
-                        }
-                        mysql_free_result($result);
-                    } // foreach --- end
-                    echo "<tr><td colspan=\"2\" class=\"tablef\" align=\"center\">\n";
-                    echo "<a href=\"usermgr.php\" class=\"admin_menu\">$lang_continue</a>\n";
-                    echo "</td></tr>";
-                    endtable();
-                    pagefooter();
-                    break; // end case "reset_password"
-                case 'change_group':
-                    pageheader($lang_delete_php['change_group']);
-                    starttable("100%", $lang_delete_php['change_group'], 2);
-                    print "<tr>\n";
-                    print "<td class=\"tableh2\"><b>{$lang_delete_php['username']}</b></td>\n";
-                    print "<td class=\"tableh2\"><b>{$lang_delete_php['status']}</b></td>\n";
-                    print "</tr>\n";
-                    $result_group = cpg_db_query("SELECT group_id,group_name FROM {$CONFIG['TABLE_USERGROUPS']}");
-                    if (!mysql_num_rows($result_group)) {
-                        cpg_die(CRITICAL_ERROR, $lang_delete_php['err_empty_groups'], __FILE__, __LINE__);
-                    }
-                    while ($row = mysql_fetch_array($result_group)) {
-                        $group_label[$row['group_id']] = $row['group_name'];
-                    } // while
-                    foreach($users_scheduled_for_action as $key) {
-                        $result = cpg_db_query("SELECT user_name,user_group FROM {$CONFIG['TABLE_USERS']} WHERE user_id = '$key'");
-                        if (!mysql_num_rows($result)) {
-                            print '<tr><td class="tableb" colspan="2">'.$lang_delete_php['err_unknown_user'].'</td>';
-                        } else {
-                            $user_data = mysql_fetch_array($result);
-                            print '<tr>';
-                            print '<td class="tableb"><b>';
-                            print $user_data['user_name'];
-                            print '</b></td>';
-                            print '<td class="tableb">';
-                            // set this user's group
-                            $group=addslashes($_REQUEST['group']);
-                            cpg_db_query("UPDATE {$CONFIG['TABLE_USERS']} SET user_group = '$group' WHERE  user_id = '$key'");
-                            printf($lang_delete_php['change_group_to_group'], '&laquo;'.$group_label[$user_data['user_group']].'&raquo;', '&laquo;'.$group_label[$_REQUEST['group']].'&raquo;');
-                            print '</b></td>';
-                        }
-                        mysql_free_result($result);
-                    } // foreach --- end
-                    echo "<tr><td colspan=\"2\" class=\"tablef\" align=\"center\">\n";
-                    echo "<a href=\"usermgr.php\" class=\"admin_menu\">$lang_continue</a>\n";
-                    echo "</td></tr>";
-                    endtable();
-                    pagefooter();
-                    break; // end case "change_group"
-                case 'add_group':
-                    pageheader($lang_delete_php['add_group']);
-                    starttable("100%", $lang_delete_php['add_group'], 2);
-                    print "<tr>\n";
-                    print "<td class=\"tableh2\"><b>{$lang_delete_php['username']}</b></td>\n";
-                    print "<td class=\"tableh2\"><b>{$lang_delete_php['status']}</b></td>\n";
-                    print "</tr>\n";
-                    $result_group = cpg_db_query("SELECT group_id,group_name FROM {$CONFIG['TABLE_USERGROUPS']} ORDER BY group_name");
-                    if (!mysql_num_rows($result_group)) {
-                        cpg_die(CRITICAL_ERROR, $lang_delete_php['err_empty_groups'], __FILE__, __LINE__);
-                    }
-                    while ($row = mysql_fetch_array($result_group)) {
-                        $group_label[$row['group_id']] = $row['group_name'];
-                    } // while
-                    foreach($users_scheduled_for_action as $key) {
-                        $result = cpg_db_query("SELECT user_name,user_group FROM {$CONFIG['TABLE_USERS']} WHERE user_id = '$key'");
-                        if (!mysql_num_rows($result)) {
-                            print '<tr><td class="tableb" colspan="2">'.$lang_delete_php['err_unknown_user'].'</td>';
-                        } else {
-                            $user_data = mysql_fetch_array($result);
-                            print '<tr>';
-                            print '<td class="tableb"><b>';
-                            print $user_data['user_name'];
-                            print '</b></td>';
-                            print '<td class="tableb">';
-                            // check group membership of this particular user
-                            $sql = "SELECT * FROM {$CONFIG['TABLE_USERS']} WHERE user_id = '$key'";
-                            $result_user = cpg_db_query($sql);
-                            if (!mysql_num_rows($result)) { print 'unknown user';}
-                            $user_data = mysql_fetch_array($result_user);
-                            mysql_free_result($result_user);
-                            $user_group = explode(',', $user_data['user_group_list']);
-                            natcasesort($user_group);
-                            if (!in_array($_REQUEST['group'], $user_group)){
-                                $user_group[] =  addslashes($_REQUEST['group']);
-                            }
-                            $group_output = '';
-                            $new_group_query = '';
-                            foreach($user_group as $group) {
-                                if ($group !='') {
-                                $group_output .= '&laquo;'.$group_label[$group].'&raquo;, ';
-                                $new_group_query .= $group.',';
-                                }
-                            }
-                            $group_output = trim(trim($group_output), ',');
-                            $new_group_query = trim($new_group_query, ',');
-                            // set this user's group
-                            cpg_db_query("UPDATE {$CONFIG['TABLE_USERS']} SET user_group_list = '$new_group_query' WHERE  user_id = '$key'");
-                            printf($lang_delete_php['add_group_to_group'], '&laquo;'.$user_data['user_name'].'&raquo;', '&laquo;'.$group_label[$_REQUEST['group']].'&raquo;', '&laquo;'.$group_label[$user_data['user_group']].'&raquo;', $group_output);
-                            print '</b></td>';
-                        }
-                        mysql_free_result($result);
-                    } // foreach --- end
-                    echo "<tr><td colspan=\"2\" class=\"tablef\" align=\"center\">\n";
-                    echo "<a href=\"usermgr.php\" class=\"admin_menu\">$lang_continue</a>\n";
-                    echo "</td></tr>";
-                    endtable();
-                    pagefooter();
-                    break; // end case "add_group"
-                default:
-                    cpg_die(CRITICAL_ERROR, $lang_errors['param_missing'], __FILE__, __LINE__);
-                    break;
-        }
-
-
-
-
-
-        ob_end_flush();
-        break;
-
-
-    // Unknow command
-
-    default:
-        cpg_die(CRITICAL_ERROR, $lang_errors['param_missing'], __FILE__, __LINE__);
-}
-
-?>
+<?php
+/*************************
+  Coppermine Photo Gallery
+  ************************
+  Copyright (c) 2003-2009 Coppermine Dev Team
+  v1.1 originally written by Gregory DEMAR
+
+  This program is free software; you can redistribute it and/or modify
+  it under the terms of the GNU General Public License version 3
+  as published by the Free Software Foundation.
+  
+  ********************************************
+  Coppermine version: 1.4.25
+  $HeadURL: https://coppermine.svn.sourceforge.net/svnroot/coppermine/trunk/cpg1.4.x/delete.php $
+  $Revision: 5997 $
+  $Author: gaugau $
+  $Date: 2009-05-26 08:43:24 +0200 (Di, 26 Mai 2009) $
+**********************************************/
+
+define('IN_COPPERMINE', true);
+define('DELETE_PHP', true);
+
+require('include/init.inc.php');
+
+/**
+ * Local functions definition
+ */
+
+$header_printed = false;
+$need_caption = false;
+
+function output_table_header()
+{
+    global $header_printed, $need_caption, $lang_delete_php;
+
+    $header_printed = true;
+    $need_caption = true;
+
+echo <<<EOT
+<tr>
+<td class="tableh2"><b>{$lang_delete_php['npic']}</b></td>
+<td class="tableh2" align="center"><b>{$lang_delete_php['fs_pic']}</b></td>
+<td class="tableh2" align="center"><b>{$lang_delete_php['ns_pic']}</b></td>
+<td class="tableh2" align="center"><b>{$lang_delete_php['thumb_pic']}</b></td>
+<td class="tableh2" align="center"><b>{$lang_delete_php['comment']}</b></td>
+<td class="tableh2" align="center"><b>{$lang_delete_php['im_in_alb']}</b></td>
+</tr>
+EOT;
+}
+
+function output_caption()
+{
+    global $lang_delete_php
+    ?>
+<tr><td colspan="6" class="tableb">&nbsp;</td></tr>
+<tr><td colspan="6" class="tableh2"><b><?php echo $lang_delete_php['caption'] ?></b></tr>
+<tr><td colspan="6" class="tableb">
+<table cellpadding="1" cellspacing="0">
+<tr><td><b>F</b></td><td>:</td><td><?php echo $lang_delete_php['fs_pic'] ?></td><td width="20">&nbsp;</td><td><img src="images/green.gif" border="0" width="12" height="12" align="absmiddle"></td><td>:</td><td><?php echo $lang_delete_php['del_success'] ?></td></tr>
+<tr><td><b>N</b></td><td>:</td><td><?php echo $lang_delete_php['ns_pic'] ?></td><td width="20">&nbsp</td><td><img src="images/red.gif" border="0" width="12" height="12" align="absmiddle"></td><td>:</td><td><?php echo $lang_delete_php['err_del'] ?></td></tr>
+<tr><td><b>T</b></td><td>:</td><td><?php echo $lang_delete_php['thumb_pic'] ?></td></tr>
+<tr><td><b>C</b></td><td>:</td><td><?php echo $lang_delete_php['comment'] ?></td></tr>
+<tr><td><b>D</b></td><td>:</td><td><?php echo $lang_delete_php['im_in_alb'] ?></td></tr>
+</table>
+</td>
+</tr>
+<?php
+}
+
+function delete_picture($pid)
+{
+    global $CONFIG, $header_printed, $lang_errors;
+
+    if (!$header_printed)
+        output_table_header();
+
+    $green = "<img src=\"images/green.gif\" border=\"0\" width=\"12\" height=\"12\"><br />";
+    $red = "<img src=\"images/red.gif\" border=\"0\" width=\"12\" height=\"12\"><br />";
+
+    if (GALLERY_ADMIN_MODE) {
+        $query = "SELECT aid, filepath, filename FROM {$CONFIG['TABLE_PICTURES']} WHERE pid='$pid'";
+        $result = cpg_db_query($query);
+        if (!mysql_num_rows($result)) cpg_die(CRITICAL_ERROR, $lang_errors['non_exist_ap'], __FILE__, __LINE__);
+        $pic = mysql_fetch_array($result);
+    } else {
+        $query = "SELECT {$CONFIG['TABLE_PICTURES']}.aid as aid, category, filepath, filename, owner_id FROM {$CONFIG['TABLE_PICTURES']}, {$CONFIG['TABLE_ALBUMS']} WHERE {$CONFIG['TABLE_PICTURES']}.aid = {$CONFIG['TABLE_ALBUMS']}.aid AND pid='$pid'";
+        $result = cpg_db_query($query);
+        if (!mysql_num_rows($result)) cpg_die(CRITICAL_ERROR, $lang_errors['non_exist_ap'], __FILE__, __LINE__);
+        $pic = mysql_fetch_array($result);
+        if (!($pic['category'] == FIRST_USER_CAT + USER_ID || ($CONFIG['users_can_edit_pics'] && $pic['owner_id'] == USER_ID)) || !USER_ID) cpg_die(ERROR, $lang_errors['access_denied'], __FILE__, __LINE__);
+    }
+
+    $aid = $pic['aid'];
+    $dir = $CONFIG['fullpath'] . $pic['filepath'];
+    $file = $pic['filename'];
+
+
+    if (!is_writable($dir)) cpg_die(CRITICAL_ERROR, sprintf($lang_errors['directory_ro'], htmlspecialchars($dir)), __FILE__, __LINE__);
+
+    echo "<td class=\"tableb\">" . htmlspecialchars($file) . "</td>";
+
+    $files = array($dir . $file, $dir . $CONFIG['normal_pfx'] . $file, $dir . $CONFIG['thumb_pfx'] . $file);
+    foreach ($files as $currFile) {
+        echo "<td class=\"tableb\" align=\"center\">";
+        if (is_file($currFile)) {
+            if (@unlink($currFile))
+                echo $green;
+            else
+                echo $red;
+        } else
+            echo "&nbsp;";
+        echo "</td>";
+    }
+
+    $query = "DELETE FROM {$CONFIG['TABLE_COMMENTS']} WHERE pid='$pid'";
+    $result = cpg_db_query($query);
+    echo "<td class=\"tableb\" align=\"center\">";
+    if (mysql_affected_rows() > 0)
+        echo $green;
+    else
+        echo "&nbsp;";
+    echo "</td>";
+
+    $query = "DELETE FROM {$CONFIG['TABLE_EXIF']} WHERE filename='".addslashes($dir.$file)."' LIMIT 1";
+    $result = cpg_db_query($query);
+
+    $query = "DELETE FROM {$CONFIG['TABLE_PICTURES']} WHERE pid='$pid' LIMIT 1";
+    $result = cpg_db_query($query);
+    echo "<td class=\"tableb\" align=\"center\">";
+    if (mysql_affected_rows() > 0)
+        echo $green;
+    else
+        echo $red;
+    echo "</td>";
+
+    echo "</tr>\n";
+
+    return $aid;
+}
+
+function delete_album($aid)
+{
+    global $CONFIG, $lang_errors, $lang_delete_php;
+
+    $query = "SELECT title, category FROM {$CONFIG['TABLE_ALBUMS']} WHERE aid ='$aid'";
+    $result = cpg_db_query($query);
+    if (!mysql_num_rows($result)) cpg_die(CRITICAL_ERROR, $lang_errors['non_exist_ap'], __FILE__, __LINE__);
+    $album_data = mysql_fetch_array($result);
+
+    if (!GALLERY_ADMIN_MODE) {
+        if ($album_data['category'] != FIRST_USER_CAT + USER_ID) cpg_die(ERROR, $lang_errors['perm_denied'], __FILE__, __LINE__);
+    }
+
+    $query = "SELECT pid FROM {$CONFIG['TABLE_PICTURES']} WHERE aid='$aid'";
+    $result = cpg_db_query($query);
+    // Delete all files
+    while ($pic = mysql_fetch_array($result)) {
+        delete_picture($pic['pid']);
+    }
+    // Delete album
+    $query = "DELETE from {$CONFIG['TABLE_ALBUMS']} WHERE aid='$aid'";
+    $result = cpg_db_query($query);
+    if (mysql_affected_rows() > 0)
+        echo "<tr><td colspan=\"6\" class=\"tableb\">" . sprintf($lang_delete_php['alb_del_success'], $album_data['title']) . "</td></tr>\n";
+}
+
+/**
+ * Album manager functions
+ */
+
+function parse_select_option($value)
+{
+    global $HTML_SUBST;
+
+    if (!preg_match("/.+?no=(\d+),album_nm='(.+?)',album_sort=(\d+),action=(\d)/", $value, $matches))
+        return false;
+
+    return array('album_no' => (int)$matches[1],
+        'album_nm' => get_magic_quotes_gpc() ? strtr(stripslashes($matches[2]), $HTML_SUBST) : strtr($matches[2], $HTML_SUBST),
+        'album_sort' => (int)$matches[3],
+        'action' => (int)$matches[4]
+        );
+}
+
+function parse_orig_sort_order($value)
+{
+    if (!preg_match("/(\d+)@(\d+)/", $value, $matches))
+        return false;
+
+    return array('aid' => (int)$matches[1],
+        'pos' => (int)$matches[2],
+        );
+}
+
+function parse_list($value)
+{
+    return preg_split("/,/", $value, -1, PREG_SPLIT_NO_EMPTY);
+}
+
+/**************************************************************************
+* Picture manager functions
+**************************************************************************/
+
+               function parse_pic_select_option($value)
+               {
+                       global $HTML_SUBST;
+
+                       if (!preg_match("/.+?no=(\d+),picture_nm='(.+?)',picture_sort=(\d+),action=(\d)/", $value, $matches))
+                               return false;
+
+                       return array(
+                               'picture_no'   => (int)$matches[1],
+                               'picture_nm'   => get_magic_quotes_gpc() ? strtr(stripslashes($matches[2]), $HTML_SUBST) : strtr($matches[2], $HTML_SUBST),
+                               'picture_sort' => (int)$matches[3],
+                               'action'     => (int)$matches[4]
+                       );
+               }
+
+               function parse_pic_orig_sort_order($value)
+               {
+                       if (!preg_match("/(\d+)@(\d+)/", $value, $matches))
+                               return false;
+
+                       return array(
+                               'aid'   => (int)$matches[1],
+                               'pos'   => (int)$matches[2],
+                       );
+               }
+
+
+               function parse_pic_list($value)
+               {
+                       return preg_split("/,/", $value, -1, PREG_SPLIT_NO_EMPTY);
+               }
+
+
+/**
+ * Main code starts here
+ */
+
+if (!isset($_GET['what']) && !isset($_POST['what'])) {
+    cpg_die(CRITICAL_ERROR, $lang_errors['param_missing'], __FILE__, __LINE__);
+}
+
+$what = isset($_GET['what']) ? $_GET['what'] : $_POST['what'];
+switch ($what) {
+
+    // Album manager (don't necessarily delete something ;-)
+
+    case 'albmgr':
+        if (!(GALLERY_ADMIN_MODE || USER_ADMIN_MODE)) cpg_die(ERROR, $lang_errors['access_denied'], __FILE__, __LINE__);
+
+        if (!GALLERY_ADMIN_MODE) {
+            $restrict = "AND category = '" . (FIRST_USER_CAT + USER_ID) . "'";
+        } else {
+            $restrict = '';
+        }
+
+        pageheader($lang_delete_php['alb_mgr']);
+        starttable("100%", $lang_delete_php['alb_mgr'], 6);
+
+        $orig_sort_order = parse_list($_POST['sort_order']);
+        foreach ($orig_sort_order as $album) {
+            $op = parse_orig_sort_order($album);
+            if (count ($op) == 2) {
+                $query = "UPDATE $CONFIG[TABLE_ALBUMS] SET pos='{$op['pos']}' WHERE aid='{$op['aid']}' $restrict LIMIT 1";
+                cpg_db_query($query);
+            } else {
+                cpg_die (sprintf(CRITICAL_ERROR, $lang_delete_php['err_invalid_data'], $_POST['sort_order']), __FILE__, __LINE__);
+            }
+        }
+
+        $to_delete = parse_list($_POST['delete_album']);
+        foreach ($to_delete as $album_id) {
+            delete_album((int)$album_id);
+        }
+
+        if (isset($_POST['to'])) foreach ($_POST['to'] as $option_value) {
+            $op = parse_select_option(stripslashes($option_value));
+            switch ($op['action']) {
+                case '0':
+                    break;
+                case '1':
+                    if (GALLERY_ADMIN_MODE) {
+                        $category = (int)$_POST['cat'];
+                    } else {
+                        $category = FIRST_USER_CAT + USER_ID;
+                    }
+                    echo "<tr><td colspan=\"6\" class=\"tableb\">" . sprintf($lang_delete_php['create_alb'], $op['album_nm']) . "</td></tr>\n";
+                    $query = "INSERT INTO {$CONFIG['TABLE_ALBUMS']} (category, title, uploads, pos, description) VALUES ('$category', '" . addslashes($op['album_nm']) . "', 'NO',  '{$op['album_sort']}', '')";
+                    cpg_db_query($query);
+                    break;
+                case '2':
+                    echo "<tr><td colspan=\"6\" class=\"tableb\">" . sprintf($lang_delete_php['update_alb'], $op['album_no'], $op['album_nm'], $op['album_sort']) . "</td></tr>\n";
+                    $query = "UPDATE $CONFIG[TABLE_ALBUMS] SET title='" . addslashes($op['album_nm']) . "', pos='{$op['album_sort']}' WHERE aid='{$op['album_no']}' $restrict LIMIT 1";
+                    cpg_db_query($query);
+                    break;
+                default:
+                    cpg_die (CRITICAL_ERROR, $lang_delete_php['err_invalid_data'], __FILE__, __LINE__);
+            }
+        }
+        if ($need_caption) output_caption();
+        echo "<tr><td colspan=\"6\" class=\"tablef\" align=\"center\">\n";
+        echo "<div class=\"admin_menu_thumb\"><a href=\"index.php\"  class=\"adm_menu\">$lang_continue</a></div>\n";
+        echo "</td></tr>";
+        endtable();
+        pagefooter();
+        ob_end_flush();
+        break;
+
+//
+// Picture manager (don't necessarily delete something ;-)
+//
+   case 'picmgr':
+      if (!(GALLERY_ADMIN_MODE || USER_ADMIN_MODE)) cpg_die(ERROR, $lang_errors['access_denied'], __FILE__, __LINE__);
+
+      if(!GALLERY_ADMIN_MODE){
+         //$restrict = "AND category = '".(FIRST_USER_CAT + USER_ID)."'";
+         $restrict = '';
+      } else {
+         $restrict = '';
+      }
+
+      pageheader($lang_delete_php['pic_mgr']);
+      starttable("100%", $lang_delete_php['pic_mgr'], 6);
+
+      $orig_sort_order = parse_pic_list($_POST['sort_order']);
+      foreach ($orig_sort_order as $picture){
+         $op = parse_pic_orig_sort_order($picture);
+         if (count ($op) == 2){
+            $query = "UPDATE $CONFIG[TABLE_PICTURES] SET position='{$op['pos']}' WHERE pid='{$op['aid']}' $restrict LIMIT 1";
+            cpg_db_query($query);
+         } else {
+            cpg_die (sprintf(CRITICAL_ERROR, $lang_delete_php['err_invalid_data'], $_POST['sort_order']), __FILE__, __LINE__);
+         }
+      }
+
+      $to_delete = parse_pic_list($_POST['delete_picture']);
+      foreach ($to_delete as $picture_id){
+         delete_picture((int)$picture_id);
+      }
+
+      if (isset($_POST['to'])) foreach ($_POST['to'] as $option_value){
+         $op = parse_pic_select_option(stripslashes($option_value));
+         switch ($op['action']){
+            case '0':
+               break;
+            case '1':
+               if(GALLERY_ADMIN_MODE){
+                  $category = (int)$_POST['cat'];
+               } else {
+                  $category = FIRST_USER_CAT + USER_ID;
+               }
+               echo "<tr><td colspan=\"6\" class=\"tableb\">".sprintf($lang_delete_php['create_alb'], $op['album_nm'])."</td></tr>\n";
+				if (GALLERY_ADMIN_MODE){               
+               		$query = "INSERT INTO {$CONFIG['TABLE_ALBUMS']} (category, title, uploads, pos, description, visibility) VALUES ('$category', '".addslashes($op['album_nm'])."', 'NO',  '{$op['album_sort']}', '', " . (FIRST_USER_CAT + USER_ID) . ")";
+               } else {
+					$query = "INSERT INTO {$CONFIG['TABLE_ALBUMS']} (category, title, uploads, pos, description) VALUES ('$category', '".addslashes($op['album_nm'])."', 'NO',  '{$op['album_sort']}', '')";
+            	} 
+               cpg_db_query($query);
+               break;
+            case '2':
+               echo "<tr><td colspan=\"6\" class=\"tableb\">".sprintf($lang_delete_php['update_pic'], $op['picture_no'], $op['picture_nm'], $op['picture_sort'])."</td></tr>\n";
+               $query = "UPDATE $CONFIG[TABLE_PICTURES] SET position='{$op['picture_sort']}' WHERE pid='{$op['picture_no']}' $restrict LIMIT 1";
+               cpg_db_query($query);
+               break;
+            default:
+               cpg_die (CRITICAL_ERROR, $lang_delete_php['err_invalid_data'], __FILE__, __LINE__);
+         }
+      }
+      if ($need_caption) output_caption();
+      echo "<tr><td colspan=\"6\" class=\"tablef\" align=\"center\">\n";
+      echo "<div class=\"admin_menu_thumb\"><a href=\"index.php\"  class=\"adm_menu\">$lang_continue</a></div>\n";
+      echo "</td></tr>";
+      endtable();
+      pagefooter();
+      ob_end_flush();
+      break;
+
+
+
+    // Comment
+
+    case 'comment':
+        $msg_id = (int)$_GET['msg_id'];
+
+        $result = cpg_db_query("SELECT pid FROM {$CONFIG['TABLE_COMMENTS']} WHERE msg_id='$msg_id'");
+        if (!mysql_num_rows($result)) {
+            cpg_die(CRITICAL_ERROR, $lang_errors['non_exist_comment'], __FILE__, __LINE__);
+        } else {
+            $comment_data = mysql_fetch_array($result);
+        }
+
+        if (GALLERY_ADMIN_MODE) {
+            $query = "DELETE FROM {$CONFIG['TABLE_COMMENTS']} WHERE msg_id='$msg_id'";
+        } elseif (USER_ID) {
+            $query = "DELETE FROM {$CONFIG['TABLE_COMMENTS']} WHERE msg_id='$msg_id' AND author_id ='" . USER_ID . "' LIMIT 1";
+        } else {
+            $query = "DELETE FROM {$CONFIG['TABLE_COMMENTS']} WHERE msg_id='$msg_id' AND author_md5_id ='{$USER['ID']}' AND author_id = '0' LIMIT 1";
+        }
+        $result = cpg_db_query($query);
+
+        $header_location = (@preg_match('/Microsoft|WebSTAR|Xitami/', getenv('SERVER_SOFTWARE'))) ? 'Refresh: 0; URL=' : 'Location: ';
+        $redirect = "displayimage.php?pos=" . (- $comment_data['pid']);
+        header($header_location . $redirect);
+        pageheader($lang_info, "<META http-equiv=\"refresh\" content=\"1;url=$redirect\">");
+        msg_box($lang_info, $lang_delete_php['comment_deleted'], $lang_continue, $redirect);
+        pagefooter();
+        ob_end_flush();
+        break;
+
+    // Picture
+
+    case 'picture':
+        $pid = (int)$_GET['id'];
+
+        pageheader($lang_delete_php['del_pic']);
+        starttable("100%", $lang_delete_php['del_pic'], 6);
+        output_table_header();
+        $aid = delete_picture($pid);
+        output_caption();
+        echo "<tr><td colspan=\"6\" class=\"tablef\" align=\"center\">\n";
+        echo "<div class=\"admin_menu_thumb\"><a href=\"thumbnails.php?album=$aid\"  class=\"adm_menu\">$lang_continue</a></div>\n";
+        echo "</td></tr>\n";
+        endtable();
+        pagefooter();
+        ob_end_flush();
+        break;
+
+    // Album
+
+    case 'album':
+        if (!(GALLERY_ADMIN_MODE || USER_ADMIN_MODE)) cpg_die(ERROR, $lang_errors['access_denied'], __FILE__, __LINE__);
+
+        $aid = (int)$_GET['id'];
+
+        pageheader($lang_delete_php['del_alb']);
+        starttable("100%", $lang_delete_php['del_alb'], 6);
+
+        delete_album($aid);
+        if ($need_caption) output_caption();
+
+        echo "<tr><td colspan=\"6\" class=\"tablef\" align=\"center\">\n";
+        echo "<div class=\"admin_menu_thumb\"><a href=\"index.php\"  class=\"adm_menu\">$lang_continue</a></div>\n";
+        echo "</td></tr>";
+        endtable();
+        pagefooter();
+        ob_end_flush();
+        break;
+
+    // User
+
+    case 'user':
+        $user_id = str_replace('u', '', $_GET['id']);
+        $users_scheduled_for_action = explode(',', $user_id);
+        if (!(GALLERY_ADMIN_MODE) || ($user_id == USER_ID) || UDB_INTEGRATION != 'coppermine') cpg_die(ERROR, $lang_errors['perm_denied'], __FILE__, __LINE__);
+
+        switch ($_REQUEST['action']) {
+                case 'delete':
+                    pageheader($lang_delete_php['del_user']);
+                    starttable("100%", $lang_delete_php['del_user'], 6);
+                    foreach($users_scheduled_for_action as $key) {
+                        $result = cpg_db_query("SELECT user_name FROM {$CONFIG['TABLE_USERS']} WHERE user_id = '$key'");
+                        print '<tr>';
+                        if (!mysql_num_rows($result)) {
+                            print '<td class="tableb">'.$lang_delete_php['err_unknown_user'].'</td>';
+                        } else {
+                            $user_data = mysql_fetch_array($result);
+                            print '<td class="tableb">';
+                            // First delete the albums
+                            $result2 = cpg_db_query("SELECT aid FROM {$CONFIG['TABLE_ALBUMS']} WHERE category = '" . (FIRST_USER_CAT + $key) . "'");
+                            $user_alb_counter = 0;
+                            while ($album = mysql_fetch_array($result2)) {
+                                starttable('100%');
+                                delete_album($album['aid']);
+                                endtable();
+                                $user_alb_counter++;
+                            } // while
+                            mysql_free_result($result2);
+                            starttable('100%');
+                            print '<tr>';
+                            // Then anonymize comments posted by the user
+                            $comment_result = cpg_db_query("SELECT COUNT(*) FROM {$CONFIG['TABLE_COMMENTS']} WHERE author_id = '$key'");
+                            $comment_counter = mysql_fetch_array($comment_result);
+                            mysql_free_result($comment_result);
+                            print '<td class="tableb" width="25%">';
+                            if ($_REQUEST['delete_comments'] == 'yes') {
+                                cpg_db_query("DELETE FROM {$CONFIG['TABLE_COMMENTS']} WHERE author_id = '$key'");
+                                if ($comment_counter[0] > 0) {
+                                    print '<img src="images/green.gif" width="12" height="12" border="0" alt="" /> ';
+                                }
+                                printf($lang_delete_php['deleted_comments'], $comment_counter[0]);
+                            } else {
+                                cpg_db_query("UPDATE {$CONFIG['TABLE_COMMENTS']} SET  author_id = '0' WHERE  author_id = '$key'");
+                                if ($comment_counter[0] > 0) {
+                                    print '<img src="images/green.gif" width="12" height="12" border="0" alt="" /> ';
+                                }
+                                printf($lang_delete_php['anonymized_comments'], $comment_counter[0]);
+                            }
+                            print '</td>';
+                            // Do the same for pictures uploaded in public albums
+                            $publ_upload_result = cpg_db_query("SELECT COUNT(*) FROM {$CONFIG['TABLE_PICTURES']} WHERE owner_id = '$key'");
+                            $publ_upload_counter = mysql_fetch_array($publ_upload_result);
+                            mysql_free_result($publ_upload_result);
+                            print '<td class="tableb" width="25%">';
+                            if ($_REQUEST['delete_files'] == 'yes') {
+                                cpg_db_query("DELETE FROM {$CONFIG['TABLE_PICTURES']} WHERE  owner_id = '$key'");
+                                if ($publ_upload_counter[0] > 0) {
+                                    print '<img src="images/green.gif" width="12" height="12" border="0" alt="" /> ';
+                                }
+                                printf($lang_delete_php['deleted_uploads'], $publ_upload_counter[0]);
+                            } else {
+                                cpg_db_query("UPDATE {$CONFIG['TABLE_PICTURES']} SET  owner_id = '0' WHERE  owner_id = '$key'");
+                                if ($publ_upload_counter[0] > 0) {
+                                    print '<img src="images/green.gif" width="12" height="12" border="0" alt="" /> ';
+                                }
+                                printf($lang_delete_php['anonymized_uploads'], $publ_upload_counter[0]);
+                            }
+                            print '</td>';
+                            // Finally delete the user
+                            cpg_db_query("DELETE FROM {$CONFIG['TABLE_USERS']} WHERE user_id = '$key'");
+                            print '<td class="tableb" width="50%">';
+                            print '<b>';
+                            print '<img src="images/green.gif" width="12" height="12" border="0" alt="" /> ';
+                            printf($lang_delete_php['user_deleted'],'&laquo;'.$user_data['user_name'].'&raquo;');
+                            print '</b>';
+                            print '</td>';
+                            print '</tr>';
+                            endtable();
+                            print '</td>';
+                        }
+                        mysql_free_result($result);
+                        print '</tr>';
+                    }
+                    echo "<tr><td colspan=\"6\" class=\"tablef\" align=\"center\">\n";
+                    echo "<a href=\"usermgr.php\"  class=\"admin_menu\">$lang_continue</a>\n";
+                    echo "</td></tr>";
+                    endtable();
+                    pagefooter();
+                    break; // end case "delete"
+                case 'activate':
+                    pageheader($lang_delete_php['activate_user']);
+                    starttable("100%", $lang_delete_php['activate_user'], 2);
+                    print "<tr>\n";
+                    print "<td class=\"tableh2\"><b>{$lang_delete_php['username']}</b></td>\n";
+                    print "<td class=\"tableh2\"><b>{$lang_delete_php['status']}</b></td>\n";
+                    print "</tr>\n";
+
+                    foreach($users_scheduled_for_action as $key) {
+                        $result = cpg_db_query("SELECT user_name,user_active FROM {$CONFIG['TABLE_USERS']} WHERE user_id = '$key'");
+                        if (!mysql_num_rows($result)) {
+                            print '<tr><td class="tableb" colspan="2">'.$lang_delete_php['err_unknown_user'].'</td>';
+                        } else {
+                            $user_data = mysql_fetch_array($result);
+                            print '<tr>';
+                            print '<td class="tableb"><b>';
+                            print $user_data['user_name'];
+                            print '</b></td>';
+                            print '<td class="tableb">';
+                            if ($user_data['user_active'] == 'YES') {
+                                // user is already active
+                                print $lang_delete_php['user_already_active'];
+                            } else {
+                                // activate this user
+                                cpg_db_query("UPDATE {$CONFIG['TABLE_USERS']} SET user_active = 'YES' WHERE  user_id = '$key'");
+                                print $lang_delete_php['activated'];
+                            }
+                            print '</b></td>';
+                        }
+                        mysql_free_result($result);
+                    } // foreach --- end
+                    echo "<tr><td colspan=\"2\" class=\"tablef\" align=\"center\">\n";
+                    echo "<a href=\"usermgr.php\" class=\"admin_menu\">$lang_continue</a>\n";
+                    echo "</td></tr>";
+                    endtable();
+                    pagefooter();
+                    break; // end case "activate"
+                case 'deactivate':
+                    pageheader($lang_delete_php['deactivate_user']);
+                    starttable("100%", $lang_delete_php['deactivate_user'], 2);
+                    print "<tr>\n";
+                    print "<td class=\"tableh2\"><b>{$lang_delete_php['username']}</b></td>\n";
+                    print "<td class=\"tableh2\"><b>{$lang_delete_php['status']}</b></td>\n";
+                    print "</tr>\n";
+
+                    foreach($users_scheduled_for_action as $key) {
+                        $result = cpg_db_query("SELECT user_name,user_active FROM {$CONFIG['TABLE_USERS']} WHERE user_id = '$key'");
+                        if (!mysql_num_rows($result)) {
+                            print '<tr><td class="tableb" colspan="2">'.$lang_delete_php['err_unknown_user'].'</td>';
+                        } else {
+                            $user_data = mysql_fetch_array($result);
+                            print '<tr>';
+                            print '<td class="tableb"><b>';
+                            print $user_data['user_name'];
+                            print '</b></td>';
+                            print '<td class="tableb">';
+                            if ($user_data['user_active'] == 'NO') {
+                                // user is already inactive
+                                print $lang_delete_php['user_already_inactive'];
+                            } else {
+                                // deactivate this user
+                                cpg_db_query("UPDATE {$CONFIG['TABLE_USERS']} SET user_active = 'NO' WHERE  user_id = '$key'");
+                                print $lang_delete_php['deactivated'];
+                            }
+                            print '</b></td>';
+                        }
+                        mysql_free_result($result);
+                    } // foreach --- end
+                    echo "<tr><td colspan=\"2\" class=\"tablef\" align=\"center\">\n";
+                    echo "<a href=\"usermgr.php\" class=\"admin_menu\">$lang_continue</a>\n";
+                    echo "</td></tr>";
+                    endtable();
+                    pagefooter();
+                    break; // end case "deactivate"
+                case 'reset_password':
+                    pageheader($lang_delete_php['reset_password']);
+                    starttable("100%", $lang_delete_php['reset_password'], 2);
+                    print "<tr>\n";
+                    print "<td class=\"tableh2\"><b>{$lang_delete_php['username']}</b></td>\n";
+                    print "<td class=\"tableh2\"><b>{$lang_delete_php['status']}</b></td>\n";
+                    print "</tr>\n";
+
+                    foreach($users_scheduled_for_action as $key) {
+                        $result = cpg_db_query("SELECT user_name FROM {$CONFIG['TABLE_USERS']} WHERE user_id = '$key'");
+                        if (!mysql_num_rows($result)) {
+                            print '<tr><td class="tableb" colspan="2">'.$lang_delete_php['err_unknown_user'].'</td>';
+                        } else {
+                            $user_data = mysql_fetch_array($result);
+                            print '<tr>';
+                            print '<td class="tableb"><b>';
+                            print $user_data['user_name'];
+                            print '</b></td>';
+                            print '<td class="tableb">';
+                            // set this user's password
+                            $new_password = $CONFIG['enable_encrypted_passwords'] ? md5(addslashes($_REQUEST['new_password'])) : addslashes($_REQUEST['new_password']);
+                            cpg_db_query("UPDATE {$CONFIG['TABLE_USERS']} SET user_password = '$new_password' WHERE  user_id = '$key'");
+                            printf($lang_delete_php['password_reset'], '&laquo;'.$_REQUEST['new_password'].'&raquo;');
+                            print '</b></td>';
+                        }
+                        mysql_free_result($result);
+                    } // foreach --- end
+                    echo "<tr><td colspan=\"2\" class=\"tablef\" align=\"center\">\n";
+                    echo "<a href=\"usermgr.php\" class=\"admin_menu\">$lang_continue</a>\n";
+                    echo "</td></tr>";
+                    endtable();
+                    pagefooter();
+                    break; // end case "reset_password"
+                case 'change_group':
+                    pageheader($lang_delete_php['change_group']);
+                    starttable("100%", $lang_delete_php['change_group'], 2);
+                    print "<tr>\n";
+                    print "<td class=\"tableh2\"><b>{$lang_delete_php['username']}</b></td>\n";
+                    print "<td class=\"tableh2\"><b>{$lang_delete_php['status']}</b></td>\n";
+                    print "</tr>\n";
+                    $result_group = cpg_db_query("SELECT group_id,group_name FROM {$CONFIG['TABLE_USERGROUPS']}");
+                    if (!mysql_num_rows($result_group)) {
+                        cpg_die(CRITICAL_ERROR, $lang_delete_php['err_empty_groups'], __FILE__, __LINE__);
+                    }
+                    while ($row = mysql_fetch_array($result_group)) {
+                        $group_label[$row['group_id']] = $row['group_name'];
+                    } // while
+                    foreach($users_scheduled_for_action as $key) {
+                        $result = cpg_db_query("SELECT user_name,user_group FROM {$CONFIG['TABLE_USERS']} WHERE user_id = '$key'");
+                        if (!mysql_num_rows($result)) {
+                            print '<tr><td class="tableb" colspan="2">'.$lang_delete_php['err_unknown_user'].'</td>';
+                        } else {
+                            $user_data = mysql_fetch_array($result);
+                            print '<tr>';
+                            print '<td class="tableb"><b>';
+                            print $user_data['user_name'];
+                            print '</b></td>';
+                            print '<td class="tableb">';
+                            // set this user's group
+                            $group=addslashes($_REQUEST['group']);
+                            cpg_db_query("UPDATE {$CONFIG['TABLE_USERS']} SET user_group = '$group' WHERE  user_id = '$key'");
+                            printf($lang_delete_php['change_group_to_group'], '&laquo;'.$group_label[$user_data['user_group']].'&raquo;', '&laquo;'.$group_label[$_REQUEST['group']].'&raquo;');
+                            print '</b></td>';
+                        }
+                        mysql_free_result($result);
+                    } // foreach --- end
+                    echo "<tr><td colspan=\"2\" class=\"tablef\" align=\"center\">\n";
+                    echo "<a href=\"usermgr.php\" class=\"admin_menu\">$lang_continue</a>\n";
+                    echo "</td></tr>";
+                    endtable();
+                    pagefooter();
+                    break; // end case "change_group"
+                case 'add_group':
+                    pageheader($lang_delete_php['add_group']);
+                    starttable("100%", $lang_delete_php['add_group'], 2);
+                    print "<tr>\n";
+                    print "<td class=\"tableh2\"><b>{$lang_delete_php['username']}</b></td>\n";
+                    print "<td class=\"tableh2\"><b>{$lang_delete_php['status']}</b></td>\n";
+                    print "</tr>\n";
+                    $result_group = cpg_db_query("SELECT group_id,group_name FROM {$CONFIG['TABLE_USERGROUPS']} ORDER BY group_name");
+                    if (!mysql_num_rows($result_group)) {
+                        cpg_die(CRITICAL_ERROR, $lang_delete_php['err_empty_groups'], __FILE__, __LINE__);
+                    }
+                    while ($row = mysql_fetch_array($result_group)) {
+                        $group_label[$row['group_id']] = $row['group_name'];
+                    } // while
+                    foreach($users_scheduled_for_action as $key) {
+                        $result = cpg_db_query("SELECT user_name,user_group FROM {$CONFIG['TABLE_USERS']} WHERE user_id = '$key'");
+                        if (!mysql_num_rows($result)) {
+                            print '<tr><td class="tableb" colspan="2">'.$lang_delete_php['err_unknown_user'].'</td>';
+                        } else {
+                            $user_data = mysql_fetch_array($result);
+                            print '<tr>';
+                            print '<td class="tableb"><b>';
+                            print $user_data['user_name'];
+                            print '</b></td>';
+                            print '<td class="tableb">';
+                            // check group membership of this particular user
+                            $sql = "SELECT * FROM {$CONFIG['TABLE_USERS']} WHERE user_id = '$key'";
+                            $result_user = cpg_db_query($sql);
+                            if (!mysql_num_rows($result)) { print 'unknown user';}
+                            $user_data = mysql_fetch_array($result_user);
+                            mysql_free_result($result_user);
+                            $user_group = explode(',', $user_data['user_group_list']);
+                            natcasesort($user_group);
+                            if (!in_array($_REQUEST['group'], $user_group)){
+                                $user_group[] =  addslashes($_REQUEST['group']);
+                            }
+                            $group_output = '';
+                            $new_group_query = '';
+                            foreach($user_group as $group) {
+                                if ($group !='') {
+                                $group_output .= '&laquo;'.$group_label[$group].'&raquo;, ';
+                                $new_group_query .= $group.',';
+                                }
+                            }
+                            $group_output = trim(trim($group_output), ',');
+                            $new_group_query = trim($new_group_query, ',');
+                            // set this user's group
+                            cpg_db_query("UPDATE {$CONFIG['TABLE_USERS']} SET user_group_list = '$new_group_query' WHERE  user_id = '$key'");
+                            printf($lang_delete_php['add_group_to_group'], '&laquo;'.$user_data['user_name'].'&raquo;', '&laquo;'.$group_label[$_REQUEST['group']].'&raquo;', '&laquo;'.$group_label[$user_data['user_group']].'&raquo;', $group_output);
+                            print '</b></td>';
+                        }
+                        mysql_free_result($result);
+                    } // foreach --- end
+                    echo "<tr><td colspan=\"2\" class=\"tablef\" align=\"center\">\n";
+                    echo "<a href=\"usermgr.php\" class=\"admin_menu\">$lang_continue</a>\n";
+                    echo "</td></tr>";
+                    endtable();
+                    pagefooter();
+                    break; // end case "add_group"
+                default:
+                    cpg_die(CRITICAL_ERROR, $lang_errors['param_missing'], __FILE__, __LINE__);
+                    break;
+        }
+
+
+
+
+
+        ob_end_flush();
+        break;
+
+
+    // Unknow command
+
+    default:
+        cpg_die(CRITICAL_ERROR, $lang_errors['param_missing'], __FILE__, __LINE__);
+}
+
+?>
diff -x .svn -aruN 1.4.24.src/displayecard.php 1.4.25.src/displayecard.php
--- 1.4.24.src/displayecard.php	2009-05-21 15:03:09.000000000 -0500
+++ 1.4.25.src/displayecard.php	2009-05-26 11:25:52.000000000 -0500
@@ -1,59 +1,59 @@
-<?php
-/*************************
-  Coppermine Photo Gallery
-  ************************
-  Copyright (c) 2003-2009 Coppermine Dev Team
-  v1.1 originally written by Gregory DEMAR
-
-  This program is free software; you can redistribute it and/or modify
-  it under the terms of the GNU General Public License version 3
-  as published by the Free Software Foundation.
-
-  ********************************************
-  Coppermine version: 1.4.24
-  $HeadURL: https://coppermine.svn.sourceforge.net/svnroot/coppermine/trunk/cpg1.4.x/displayecard.php $
-  $Revision: 5969 $
-  $Author: gaugau $
-  $Date: 2009-05-21 22:03:33 +0200 (Do, 21 Mai 2009) $
-**********************************************/
-
-define('IN_COPPERMINE', true);
-define('DISPLAYECARD_PHP', true);
-
-require('include/init.inc.php');
-require('include/smilies.inc.php');
-
-if (!isset($_GET['data'])) cpg_die(CRITICAL_ERROR, $lang_errors['param_missing'], __FILE__, __LINE__);
-
-$data = array();
-$data = @unserialize(@base64_decode($_GET['data']));
-
-if (is_array($data)) {
-
-// Remove HTML tags as we can't trust what we receive
-foreach($data as $key => $value) $data[$key] = strtr($value, $HTML_SUBST);
-// Load template parameters
-$params = array('{LANG_DIR}' => $lang_text_dir,
-    '{TITLE}' => sprintf($lang_ecard_php['ecard_title'], $data['sn']),
-    '{CHARSET}' => $CONFIG['charset'] == 'language file' ? $lang_charset : $CONFIG['charset'],
-    '{VIEW_ECARD_TGT}' => '',
-    '{VIEW_ECARD_LNK}' => '',
-    '{PIC_URL}' => $data['p'],
-    '{URL_PREFIX}' => '',
-    '{GREETINGS}' => $data['g'],
-    '{MESSAGE}' => bb_decode(process_smilies($data['m'])),
-    '{SENDER_EMAIL}' => $data['se'],
-    '{SENDER_NAME}' => $data['sn'],
-    '{VIEW_MORE_TGT}' => $CONFIG['ecards_more_pic_target'],
-    '{VIEW_MORE_LNK}' => $lang_ecard_php['view_more_pics'],
-    '{PID}' => $data['pid'],
-    '{PIC_TITLE}' => $data['pt'],
-	'{PIC_CAPTION}' => $data['pc'],
-    );
-// Parse template
-echo template_eval($template_ecard, $params);
-
-} else {
-        cpg_die(CRITICAL_ERROR, $lang_displayecard_php['invalid_data'], __FILE__, __LINE__);
-}
-?>
+<?php
+/*************************
+  Coppermine Photo Gallery
+  ************************
+  Copyright (c) 2003-2009 Coppermine Dev Team
+  v1.1 originally written by Gregory DEMAR
+
+  This program is free software; you can redistribute it and/or modify
+  it under the terms of the GNU General Public License version 3
+  as published by the Free Software Foundation.
+
+  ********************************************
+  Coppermine version: 1.4.25
+  $HeadURL: https://coppermine.svn.sourceforge.net/svnroot/coppermine/trunk/cpg1.4.x/displayecard.php $
+  $Revision: 5997 $
+  $Author: gaugau $
+  $Date: 2009-05-26 08:43:24 +0200 (Di, 26 Mai 2009) $
+**********************************************/
+
+define('IN_COPPERMINE', true);
+define('DISPLAYECARD_PHP', true);
+
+require('include/init.inc.php');
+require('include/smilies.inc.php');
+
+if (!isset($_GET['data'])) cpg_die(CRITICAL_ERROR, $lang_errors['param_missing'], __FILE__, __LINE__);
+
+$data = array();
+$data = @unserialize(@base64_decode($_GET['data']));
+
+if (is_array($data)) {
+
+// Remove HTML tags as we can't trust what we receive
+foreach($data as $key => $value) $data[$key] = strtr($value, $HTML_SUBST);
+// Load template parameters
+$params = array('{LANG_DIR}' => $lang_text_dir,
+    '{TITLE}' => sprintf($lang_ecard_php['ecard_title'], $data['sn']),
+    '{CHARSET}' => $CONFIG['charset'] == 'language file' ? $lang_charset : $CONFIG['charset'],
+    '{VIEW_ECARD_TGT}' => '',
+    '{VIEW_ECARD_LNK}' => '',
+    '{PIC_URL}' => $data['p'],
+    '{URL_PREFIX}' => '',
+    '{GREETINGS}' => $data['g'],
+    '{MESSAGE}' => bb_decode(process_smilies($data['m'])),
+    '{SENDER_EMAIL}' => $data['se'],
+    '{SENDER_NAME}' => $data['sn'],
+    '{VIEW_MORE_TGT}' => $CONFIG['ecards_more_pic_target'],
+    '{VIEW_MORE_LNK}' => $lang_ecard_php['view_more_pics'],
+    '{PID}' => $data['pid'],
+    '{PIC_TITLE}' => $data['pt'],
+	'{PIC_CAPTION}' => $data['pc'],
+    );
+// Parse template
+echo template_eval($template_ecard, $params);
+
+} else {
+        cpg_die(CRITICAL_ERROR, $lang_displayecard_php['invalid_data'], __FILE__, __LINE__);
+}
+?>
diff -x .svn -aruN 1.4.24.src/displayimage.php 1.4.25.src/displayimage.php
--- 1.4.24.src/displayimage.php	2009-05-24 05:00:04.000000000 -0500
+++ 1.4.25.src/displayimage.php	2009-05-26 11:25:52.000000000 -0500
@@ -1,336 +1,336 @@
-<?php
-/*************************
-  Coppermine Photo Gallery
-  ************************
-  Copyright (c) 2003-2009 Coppermine Dev Team
-  v1.1 originally written by Gregory DEMAR
-
-  This program is free software; you can redistribute it and/or modify
-  it under the terms of the GNU General Public License version 3
-  as published by the Free Software Foundation.
-
-  ********************************************
-  Coppermine version: 1.4.24
-  $HeadURL: https://coppermine.svn.sourceforge.net/svnroot/coppermine/trunk/cpg1.4.x/displayimage.php $
-  $Revision: 5978 $
-  $Author: gaugau $
-  $Date: 2009-05-24 12:00:28 +0200 (So, 24 Mai 2009) $
-**********************************************/
-
-define('IN_COPPERMINE', true);
-define('DISPLAYIMAGE_PHP', true);
-define('INDEX_PHP', true);
-//define('SMILIES_PHP', true);
-
-require('include/init.inc.php');
-
-if (!USER_ID && $CONFIG['allow_unlogged_access'] == 0) {
-    $redirect = $redirect . "login.php";
-    header("Location: $redirect");
-    exit();
-}
-
-if ($CONFIG['enable_smilies']) include("include/smilies.inc.php");
-
-$breadcrumb = '';
-$breadcrumb_text = '';
-$cat_data = array();
-
-if($CONFIG['read_exif_data'] ){
-        include("include/exif_php.inc.php");
-}
-if($CONFIG['read_iptc_data'] ){
-        include("include/iptc.inc.php");
-}
-
-
-/**
- * Local functions definition
- */
-
-# Sanitize the data - to fix the XSS vulnerability - Aditya
-function sanitize_data(&$value, $key)
-{
-        if (is_array($value)) {
-                array_walk($value, 'sanitize_data');
-        } else {
-                # sanitize against sql/html injection; trim any nongraphical non-ASCII character:
-                $value = trim(htmlentities(strip_tags(trim($value,"\x7f..\xff\x0..\x1f")),ENT_QUOTES));
-        }
-}
-function html_picture_menu()
-{
-    global $lang_display_image_php, $CURRENT_PIC_DATA, $CURRENT_ALBUM_DATA, $CONFIG;
-
-    $mime_content = cpg_get_type($CURRENT_PIC_DATA['filename']);
-    $picmenu = '';
-
-  if (false) { //(!($mime_content['content']=='image')) {
-    $picmenu = <<<EOT
-     <a href="#" onclick="return MM_openBrWindow('setplayer.php?={$mime_content['extension']}','Set_Player','scrollbars=no,toolbar=no,status=no,resizable=no')" class="admin_menu" >{$lang_display_image_php['set_player']}</a>
-EOT;
-  }
-
-  if ((USER_ADMIN_MODE && $CURRENT_ALBUM_DATA['category'] == FIRST_USER_CAT + USER_ID) || ($CONFIG['users_can_edit_pics'] && $CURRENT_PIC_DATA['owner_id'] == USER_ID && USER_ID != 0) || GALLERY_ADMIN_MODE) {
-    $picmenu .= <<<EOT
-     <a href="javascript:;" onclick="return MM_openBrWindow('picEditor.php?id={$CURRENT_PIC_DATA['pid']}','Crop_Picture','scrollbars=yes,toolbar=no,status=yes,resizable=yes')" class="admin_menu" >{$lang_display_image_php['crop_pic']}</a> <a href="editOnePic.php?id={$CURRENT_PIC_DATA['pid']}&amp;what=picture"  class="admin_menu">{$lang_display_image_php['edit_pic']}</a> <a href="delete.php?id={$CURRENT_PIC_DATA['pid']}&amp;what=picture"  class="admin_menu" onclick="return confirm('{$lang_display_image_php['confirm_del']}'); return false; ">{$lang_display_image_php['del_pic']}</a>
-EOT;
-  }
-
-  return $picmenu;
-}
-
-// Display picture information
-function html_picinfo()
-{
-    global $CONFIG, $CURRENT_PIC_DATA, $CURRENT_ALBUM_DATA, $THEME_DIR, $FAVPICS, $REFERER;
-    global $album, $lang_picinfo, $lang_display_image_php, $lang_byte_units, $lastup_date_fmt;
-
-    if ($CURRENT_PIC_DATA['owner_id'] && $CURRENT_PIC_DATA['owner_name']) {
-        $owner_link = '<a href ="profile.php?uid=' . $CURRENT_PIC_DATA['owner_id'] . '">' . $CURRENT_PIC_DATA['owner_name'] . '</a> ';
-    } else {
-        $owner_link = '';
-    }
-
-    if (GALLERY_ADMIN_MODE && $CURRENT_PIC_DATA['pic_raw_ip']) {
-        if ($CURRENT_PIC_DATA['pic_hdr_ip']) {
-            $ipinfo = ' (' . $CURRENT_PIC_DATA['pic_hdr_ip'] . '[' . $CURRENT_PIC_DATA['pic_raw_ip'] . ']) / ';
-        } else {
-            $ipinfo = ' (' . $CURRENT_PIC_DATA['pic_raw_ip'] . ') / ';
-        }
-    } else {
-        if ($owner_link) {
-            $ipinfo = '/ ';
-        } else {
-            $ipinfo = '';
-        }
-    }
-
-    $info[$lang_picinfo['Filename']] = htmlspecialchars($CURRENT_PIC_DATA['filename']);
-    $info[$lang_picinfo['Album name']] = '<span class="alblink">' . $owner_link . $ipinfo . '<a href="thumbnails.php?album=' . $CURRENT_PIC_DATA['aid'] . '">' . $CURRENT_ALBUM_DATA['title'] . '</a></span>';
-
-    if ($CURRENT_PIC_DATA['votes'] > 0) {
-        if (defined('THEME_HAS_RATING_GRAPHICS')) {
-            $prefix = $THEME_DIR;
-        } else {
-            $prefix = '';
-        }
-        if (GALLERY_ADMIN_MODE) {
-          $width = 800;
-          $height = 500;
-        } else {
-          $width = 400;
-          $height = 250;
-        }
-
-        $detailsLink = $CONFIG['vote_details'] ? ' (<a href="#" onclick="MM_openBrWindow(\'stat_details.php?type=vote&amp;pid='.$CURRENT_PIC_DATA['pid'].'&amp;sort=sdate&amp;dir=&amp;sdate=1&amp;ip=1&amp;rating=1&amp;referer=1&amp;browser=1&amp;os=1\',\'\',\'resizable=yes,width='.$width.',height='.$height.',top=50,left=50,scrollbars=yes\'); return false;">'.$lang_picinfo['details'].'</a>)' : '';
-        $info[sprintf($lang_picinfo['Rating'], $CURRENT_PIC_DATA['votes'])] = '<img src="' . $prefix . 'images/rating' . round($CURRENT_PIC_DATA['pic_rating'] / 2000) . '.gif" align="middle" alt="" />'.$detailsLink;
-    }
-
-    if ($CURRENT_PIC_DATA['keywords'] != "") {
-        $info[$lang_picinfo['Keywords']] = '<span class="alblink">' . preg_replace("/(\S+)/", "<a href=\"thumbnails.php?album=search&amp;search=\\1\">\\1</a>" , $CURRENT_PIC_DATA['keywords']) . '</span>';
-    }
-
-    for ($i = 1; $i <= 4; $i++) {
-        if ($CONFIG['user_field' . $i . '_name']) {
-            if ($CURRENT_PIC_DATA['user' . $i] != "") {
-                $info[$CONFIG['user_field' . $i . '_name']] = make_clickable($CURRENT_PIC_DATA['user' . $i]);
-            }
-        }
-    }
-
-    $info[$lang_picinfo['File Size']] = ($CURRENT_PIC_DATA['filesize'] > 10240 ? ($CURRENT_PIC_DATA['filesize'] >> 10) . '&nbsp;' . $lang_byte_units[1] : $CURRENT_PIC_DATA['filesize'] . '&nbsp;' . $lang_byte_units[0]);
-    $info[$lang_picinfo['File Size']] = '<span dir="ltr">' . $info[$lang_picinfo['File Size']] . '</span>';
-    $info[$lang_picinfo['Date Added']] = localised_date($CURRENT_PIC_DATA['ctime'],$lastup_date_fmt);
-    $info[$lang_picinfo['Dimensions']] = sprintf($lang_display_image_php['size'], $CURRENT_PIC_DATA['pwidth'], $CURRENT_PIC_DATA['pheight']);
-    $detailsLink = ($CURRENT_PIC_DATA['hits'] && $CONFIG['hit_details'] && GALLERY_ADMIN_MODE) ? ' (<a href="#" onclick="MM_openBrWindow(\'stat_details.php?type=hits&amp;pid='.$CURRENT_PIC_DATA['pid'].'&amp;sort=sdate&amp;dir=&amp;sdate=1&amp;ip=1&amp;search_phrase=1&amp;referer=1&amp;browser=1&amp;os=1\',\'\',\'resizable=yes,width=800,height=500,top=50,left=50,scrollbars=yes\'); return false;">'.$lang_picinfo['details'].'</a>)' : '';
-    $info[$lang_picinfo['Displayed']] = sprintf($lang_display_image_php['views'], $CURRENT_PIC_DATA['hits']);
-    $info[$lang_picinfo['Displayed']] .= $detailsLink;
-
-    $path_to_pic = $CONFIG['fullpath'] . $CURRENT_PIC_DATA['filepath'] . $CURRENT_PIC_DATA['filename'];
-
-    if ($CONFIG['read_exif_data']) $exif = exif_parse_file($path_to_pic);
-
-    if (isset($exif) && is_array($exif)) {
-                array_walk($exif, 'sanitize_data');
-        $info = array_merge($info,$exif);
-    }
-
-    if ($CONFIG['read_iptc_data']) $iptc = get_IPTC($path_to_pic);
-
-    if (isset($iptc) && is_array($iptc)) {
-        array_walk($iptc, 'sanitize_data');
-        if (!empty($iptc['Title'])) $info[$lang_picinfo['iptcTitle']] = $iptc['Title'];
-        if (!empty($iptc['Copyright'])) $info[$lang_picinfo['iptcCopyright']] = $iptc['Copyright'];
-        if (!empty($iptc['Keywords'])) $info[$lang_picinfo['iptcKeywords']] = implode(' ',$iptc['Keywords']);
-        if (!empty($iptc['Category'])) $info[$lang_picinfo['iptcCategory']] = $iptc['Category'];
-        if (!empty($iptc['SubCategories'])) $info[$lang_picinfo['iptcSubCategories']] = implode(' ',$iptc['SubCategories']);
-    }
-    // Create the absolute URL for display in info
-    $info[$lang_picinfo['URL']] = '<a href="' . $CONFIG["ecards_more_pic_target"] . (substr($CONFIG["ecards_more_pic_target"], -1) == '/' ? '' : '/') .basename($_SERVER['PHP_SELF']) . "?pos=-$CURRENT_PIC_DATA[pid]" . '" >' . $CONFIG["ecards_more_pic_target"] . (substr($CONFIG["ecards_more_pic_target"], -1) == '/' ? '' : '/') . basename($_SERVER['PHP_SELF']) . "?pos=-$CURRENT_PIC_DATA[pid]" . '</a>';
-    // with subdomains the variable is $_SERVER["SERVER_NAME"] does not return the right value instead of using a new config variable I reused $CONFIG["ecards_more_pic_target"] no trailing slash in the configure
-    // Create the add to fav link
-        $ref = $REFERER ? "&amp;ref=$REFERER" : '';
-    if (!in_array($CURRENT_PIC_DATA['pid'], $FAVPICS)) {
-        $info[$lang_picinfo['addFavPhrase']] = "<a href=\"addfav.php?pid=" . $CURRENT_PIC_DATA['pid'] . $ref . "\" >" . $lang_picinfo['addFav'] . '</a>';
-    } else {
-        $info[$lang_picinfo['addFavPhrase']] = "<a href=\"addfav.php?pid=" . $CURRENT_PIC_DATA['pid']  . $ref . "\" >" . $lang_picinfo['remFav'] . '</a>';
-    }
-
-    /**
-     * Filter file information
-     */
-    $info = CPGPluginAPI::filter('file_info',$info);
-
-    return theme_html_picinfo($info);
-}
-
-function get_subcat_data($parent, $level)
-{
-    global $CONFIG, $ALBUM_SET_ARRAY;
-
-    $result = cpg_db_query("SELECT cid, name, description FROM {$CONFIG['TABLE_CATEGORIES']} WHERE parent = '$parent'");
-    if (mysql_num_rows($result) > 0) {
-        $rowset = cpg_db_fetch_rowset($result);
-        foreach ($rowset as $subcat) {
-            $result = cpg_db_query("SELECT aid FROM {$CONFIG['TABLE_ALBUMS']} WHERE category = {$subcat['cid']}");
-            $album_count = mysql_num_rows($result);
-            while ($row = mysql_fetch_array($result)) {
-                $ALBUM_SET_ARRAY[] = $row['aid'];
-            } // while
-        }
-        if ($level > 1) get_subcat_data($subcat['cid'], $level -1);
-    }
-}
-
-/**
- * Main code
- */
-
-$pos = isset($_GET['pos']) ? (int)$_GET['pos'] : 0;
-
-/**
- * Hack added by tarique to prevent incorrect picture being seen on last view or last uploaded
- */
-
-$pid = isset($_GET['pid']) ? (int)$_GET['pid'] : 0;
-
-$cat = isset($_GET['cat']) ? (int)$_GET['cat'] : 0;
-$album = isset($_GET['album']) ? $_GET['album'] : '';
-// Build the album set if required
-/*
-//disabled by donnoman
-if (!is_numeric($album) && $cat) { // Meta albums, we need to restrict the albums to the current category
-    if ($cat < 0) {
-        $ALBUM_SET .= 'AND aid IN (' . (- $cat) . ') ';
-    } else {
-        $ALBUM_SET_ARRAY = array();
-        if ($cat == USER_GAL_CAT)
-            $where = 'category > ' . FIRST_USER_CAT;
-        else
-            $where = "category = '$cat'";
-
-        $result = cpg_db_query("SELECT aid FROM {$CONFIG['TABLE_ALBUMS']} WHERE $where");
-        while ($row = mysql_fetch_array($result)) {
-            $ALBUM_SET_ARRAY[] = $row['aid'];
-        } // while
-        get_subcat_data($cat, $CONFIG['subcat_level']);
-        // Treat the album set
-        if (count($ALBUM_SET_ARRAY)) {
-            $set = '';
-            foreach ($ALBUM_SET_ARRAY as $album_id) $set .= ($set == '') ? $album_id : ',' . $album_id;
-            $ALBUM_SET .= "AND aid IN ($set) ";
-        }
-    }
-}
-//disabled by donnoman
-*/
-//get_meta_album_set in functions.inc.php will populate the $ALBUM_SET instead; matches $META_ALBUM_SET.
-get_meta_album_set($cat,$ALBUM_SET);
-$META_ALBUM_SET = $ALBUM_SET; //displayimage uses $ALBUM_SET but get_pic_data in functions now uses $META_ALBUM_SET
-
-//attempt to fix topn images for keyworded albums
-if ($cat < 0) {
-    $result = cpg_db_query("SELECT category, title, aid, keyword, description, alb_password_hint FROM {$CONFIG['TABLE_ALBUMS']} WHERE aid='" . (- $cat) . "'");
-    if (mysql_num_rows($result) > 0) {
-        $CURRENT_ALBUM_DATA = mysql_fetch_array($result);
-        $CURRENT_ALBUM_KEYWORD = $CURRENT_ALBUM_DATA['keyword'];
-    }
-}
-// Retrieve data for the current picture
-if ($pos < 0 || $pid > 0) {
-    $pid = ($pos < 0) ? -$pos : $pid;
-    $result = cpg_db_query("SELECT aid from {$CONFIG['TABLE_PICTURES']} WHERE pid='$pid' $ALBUM_SET LIMIT 1");
-    if (mysql_num_rows($result) == 0) cpg_die(ERROR, $lang_errors['non_exist_ap'], __FILE__, __LINE__);
-    $row = mysql_fetch_array($result);
-    $album = $row['aid'];
-    $pic_data = get_pic_data($album, $pic_count, $album_name, -1, -1, false);
-    for($pos = 0; $pic_data[$pos]['pid'] != $pid && $pos < $pic_count; $pos++);
-    $pic_data = get_pic_data($album, $pic_count, $album_name, $pos, 1, false);
-    $CURRENT_PIC_DATA = $pic_data[0];
-
-} elseif (isset($_GET['pos'])) {
-    $pic_data = get_pic_data($album, $pic_count, $album_name, $pos, 1, false);
-    if ($pic_count == 0) {
-        cpg_die(INFORMATION, $lang_errors['no_img_to_display'], __FILE__, __LINE__);
-    } elseif (count($pic_data) == 0 && $pos >= $pic_count) {
-        $pos = $pic_count - 1;
-        $human_pos = $pos + 1;
-        $pic_data = get_pic_data($album, $pic_count, $album_name, $pos, 1, false);
-    }
-    $CURRENT_PIC_DATA = $pic_data[0];
-}
-
-// Retrieve data for the current album
-if (isset($CURRENT_PIC_DATA)) {
-    $result = cpg_db_query("SELECT title, comments, votes, category, aid FROM {$CONFIG['TABLE_ALBUMS']} WHERE aid='{$CURRENT_PIC_DATA['aid']}' LIMIT 1");
-    if (!mysql_num_rows($result)) cpg_die(CRITICAL_ERROR, sprintf($lang_errors['pic_in_invalid_album'], $CURRENT_PIC_DATA['aid']), __FILE__, __LINE__);
-    $CURRENT_ALBUM_DATA = mysql_fetch_array($result);
-
-    if (is_numeric($album)) {
-        $cat = - $album;
-        $actual_cat = $CURRENT_ALBUM_DATA['category'];
-        breadcrumb($actual_cat, $breadcrumb, $breadcrumb_text);
-        $cat = - $album;
-    } else {
-        $actual_cat = $CURRENT_ALBUM_DATA['category'];
-        breadcrumb($actual_cat, $breadcrumb, $breadcrumb_text);
-    }
-}
-
-if (isset($_GET['fullsize'])) {
-    theme_display_fullsize_pic();
-    ob_end_flush();
-} elseif (isset($_GET['slideshow'])) {
-    theme_slideshow();
-    ob_end_flush();
-} else {
-    if (!isset($_GET['pos'])) cpg_die(ERROR, $lang_errors['non_exist_ap'], __FILE__, __LINE__);
-    $picture_title = $CURRENT_PIC_DATA['title'] ? $CURRENT_PIC_DATA['title'] : strtr(preg_replace("/(.+)\..*?\Z/", "\\1", htmlspecialchars($CURRENT_PIC_DATA['filename'])), "_", " ");
-
-    $nav_menu = theme_html_img_nav_menu();
-    $picture = theme_html_picture();
-    $votes = theme_html_rating_box();
-    $pic_info = html_picinfo();
-    $comments = theme_html_comments($CURRENT_PIC_DATA['pid']);
-    if ($CURRENT_PIC_DATA['keywords']) {
-	    $meta_keywords = "<meta name=\"keywords\" content=\"".rtrim(str_replace(' ', ',', $CURRENT_PIC_DATA['keywords']),',')."\"/>"; 
-    }
-    $meta_keywords .= $meta_nav;
-    pageheader($album_name . '/' . $picture_title, $meta_keywords, false);
-    adminmessages();
-    // Display Breadcrumbs
-    if ($breadcrumb && !(strpos($CONFIG['main_page_layout'],"breadcrumb")===false)) {
-        theme_display_breadcrumb($breadcrumb, $cat_data);
-    }
-    // Display Filmstrip if the album is not search
-    if ($album != 'search') {
-        $film_strip = display_film_strip($album, (isset($cat) ? $cat : 0), $pos, true);
-    }
-    CPGPluginAPI::filter('post_breadcrumb',null);
-    theme_display_image($nav_menu, $picture, $votes, $pic_info, $comments, $film_strip);
-    pagefooter();
-    ob_end_flush();
-}
-
+<?php
+/*************************
+  Coppermine Photo Gallery
+  ************************
+  Copyright (c) 2003-2009 Coppermine Dev Team
+  v1.1 originally written by Gregory DEMAR
+
+  This program is free software; you can redistribute it and/or modify
+  it under the terms of the GNU General Public License version 3
+  as published by the Free Software Foundation.
+
+  ********************************************
+  Coppermine version: 1.4.25
+  $HeadURL: https://coppermine.svn.sourceforge.net/svnroot/coppermine/trunk/cpg1.4.x/displayimage.php $
+  $Revision: 5997 $
+  $Author: gaugau $
+  $Date: 2009-05-26 08:43:24 +0200 (Di, 26 Mai 2009) $
+**********************************************/
+
+define('IN_COPPERMINE', true);
+define('DISPLAYIMAGE_PHP', true);
+define('INDEX_PHP', true);
+//define('SMILIES_PHP', true);
+
+require('include/init.inc.php');
+
+if (!USER_ID && $CONFIG['allow_unlogged_access'] == 0) {
+    $redirect = $redirect . "login.php";
+    header("Location: $redirect");
+    exit();
+}
+
+if ($CONFIG['enable_smilies']) include("include/smilies.inc.php");
+
+$breadcrumb = '';
+$breadcrumb_text = '';
+$cat_data = array();
+
+if($CONFIG['read_exif_data'] ){
+        include("include/exif_php.inc.php");
+}
+if($CONFIG['read_iptc_data'] ){
+        include("include/iptc.inc.php");
+}
+
+
+/**
+ * Local functions definition
+ */
+
+# Sanitize the data - to fix the XSS vulnerability - Aditya
+function sanitize_data(&$value, $key)
+{
+        if (is_array($value)) {
+                array_walk($value, 'sanitize_data');
+        } else {
+                # sanitize against sql/html injection; trim any nongraphical non-ASCII character:
+                $value = trim(htmlentities(strip_tags(trim($value,"\x7f..\xff\x0..\x1f")),ENT_QUOTES));
+        }
+}
+function html_picture_menu()
+{
+    global $lang_display_image_php, $CURRENT_PIC_DATA, $CURRENT_ALBUM_DATA, $CONFIG;
+
+    $mime_content = cpg_get_type($CURRENT_PIC_DATA['filename']);
+    $picmenu = '';
+
+  if (false) { //(!($mime_content['content']=='image')) {
+    $picmenu = <<<EOT
+     <a href="#" onclick="return MM_openBrWindow('setplayer.php?={$mime_content['extension']}','Set_Player','scrollbars=no,toolbar=no,status=no,resizable=no')" class="admin_menu" >{$lang_display_image_php['set_player']}</a>
+EOT;
+  }
+
+  if ((USER_ADMIN_MODE && $CURRENT_ALBUM_DATA['category'] == FIRST_USER_CAT + USER_ID) || ($CONFIG['users_can_edit_pics'] && $CURRENT_PIC_DATA['owner_id'] == USER_ID && USER_ID != 0) || GALLERY_ADMIN_MODE) {
+    $picmenu .= <<<EOT
+     <a href="javascript:;" onclick="return MM_openBrWindow('picEditor.php?id={$CURRENT_PIC_DATA['pid']}','Crop_Picture','scrollbars=yes,toolbar=no,status=yes,resizable=yes')" class="admin_menu" >{$lang_display_image_php['crop_pic']}</a> <a href="editOnePic.php?id={$CURRENT_PIC_DATA['pid']}&amp;what=picture"  class="admin_menu">{$lang_display_image_php['edit_pic']}</a> <a href="delete.php?id={$CURRENT_PIC_DATA['pid']}&amp;what=picture"  class="admin_menu" onclick="return confirm('{$lang_display_image_php['confirm_del']}'); return false; ">{$lang_display_image_php['del_pic']}</a>
+EOT;
+  }
+
+  return $picmenu;
+}
+
+// Display picture information
+function html_picinfo()
+{
+    global $CONFIG, $CURRENT_PIC_DATA, $CURRENT_ALBUM_DATA, $THEME_DIR, $FAVPICS, $REFERER;
+    global $album, $lang_picinfo, $lang_display_image_php, $lang_byte_units, $lastup_date_fmt;
+
+    if ($CURRENT_PIC_DATA['owner_id'] && $CURRENT_PIC_DATA['owner_name']) {
+        $owner_link = '<a href ="profile.php?uid=' . $CURRENT_PIC_DATA['owner_id'] . '">' . $CURRENT_PIC_DATA['owner_name'] . '</a> ';
+    } else {
+        $owner_link = '';
+    }
+
+    if (GALLERY_ADMIN_MODE && $CURRENT_PIC_DATA['pic_raw_ip']) {
+        if ($CURRENT_PIC_DATA['pic_hdr_ip']) {
+            $ipinfo = ' (' . $CURRENT_PIC_DATA['pic_hdr_ip'] . '[' . $CURRENT_PIC_DATA['pic_raw_ip'] . ']) / ';
+        } else {
+            $ipinfo = ' (' . $CURRENT_PIC_DATA['pic_raw_ip'] . ') / ';
+        }
+    } else {
+        if ($owner_link) {
+            $ipinfo = '/ ';
+        } else {
+            $ipinfo = '';
+        }
+    }
+
+    $info[$lang_picinfo['Filename']] = htmlspecialchars($CURRENT_PIC_DATA['filename']);
+    $info[$lang_picinfo['Album name']] = '<span class="alblink">' . $owner_link . $ipinfo . '<a href="thumbnails.php?album=' . $CURRENT_PIC_DATA['aid'] . '">' . $CURRENT_ALBUM_DATA['title'] . '</a></span>';
+
+    if ($CURRENT_PIC_DATA['votes'] > 0) {
+        if (defined('THEME_HAS_RATING_GRAPHICS')) {
+            $prefix = $THEME_DIR;
+        } else {
+            $prefix = '';
+        }
+        if (GALLERY_ADMIN_MODE) {
+          $width = 800;
+          $height = 500;
+        } else {
+          $width = 400;
+          $height = 250;
+        }
+
+        $detailsLink = $CONFIG['vote_details'] ? ' (<a href="#" onclick="MM_openBrWindow(\'stat_details.php?type=vote&amp;pid='.$CURRENT_PIC_DATA['pid'].'&amp;sort=sdate&amp;dir=&amp;sdate=1&amp;ip=1&amp;rating=1&amp;referer=1&amp;browser=1&amp;os=1\',\'\',\'resizable=yes,width='.$width.',height='.$height.',top=50,left=50,scrollbars=yes\'); return false;">'.$lang_picinfo['details'].'</a>)' : '';
+        $info[sprintf($lang_picinfo['Rating'], $CURRENT_PIC_DATA['votes'])] = '<img src="' . $prefix . 'images/rating' . round($CURRENT_PIC_DATA['pic_rating'] / 2000) . '.gif" align="middle" alt="" />'.$detailsLink;
+    }
+
+    if ($CURRENT_PIC_DATA['keywords'] != "") {
+        $info[$lang_picinfo['Keywords']] = '<span class="alblink">' . preg_replace("/(\S+)/", "<a href=\"thumbnails.php?album=search&amp;search=\\1\">\\1</a>" , $CURRENT_PIC_DATA['keywords']) . '</span>';
+    }
+
+    for ($i = 1; $i <= 4; $i++) {
+        if ($CONFIG['user_field' . $i . '_name']) {
+            if ($CURRENT_PIC_DATA['user' . $i] != "") {
+                $info[$CONFIG['user_field' . $i . '_name']] = make_clickable($CURRENT_PIC_DATA['user' . $i]);
+            }
+        }
+    }
+
+    $info[$lang_picinfo['File Size']] = ($CURRENT_PIC_DATA['filesize'] > 10240 ? ($CURRENT_PIC_DATA['filesize'] >> 10) . '&nbsp;' . $lang_byte_units[1] : $CURRENT_PIC_DATA['filesize'] . '&nbsp;' . $lang_byte_units[0]);
+    $info[$lang_picinfo['File Size']] = '<span dir="ltr">' . $info[$lang_picinfo['File Size']] . '</span>';
+    $info[$lang_picinfo['Date Added']] = localised_date($CURRENT_PIC_DATA['ctime'],$lastup_date_fmt);
+    $info[$lang_picinfo['Dimensions']] = sprintf($lang_display_image_php['size'], $CURRENT_PIC_DATA['pwidth'], $CURRENT_PIC_DATA['pheight']);
+    $detailsLink = ($CURRENT_PIC_DATA['hits'] && $CONFIG['hit_details'] && GALLERY_ADMIN_MODE) ? ' (<a href="#" onclick="MM_openBrWindow(\'stat_details.php?type=hits&amp;pid='.$CURRENT_PIC_DATA['pid'].'&amp;sort=sdate&amp;dir=&amp;sdate=1&amp;ip=1&amp;search_phrase=1&amp;referer=1&amp;browser=1&amp;os=1\',\'\',\'resizable=yes,width=800,height=500,top=50,left=50,scrollbars=yes\'); return false;">'.$lang_picinfo['details'].'</a>)' : '';
+    $info[$lang_picinfo['Displayed']] = sprintf($lang_display_image_php['views'], $CURRENT_PIC_DATA['hits']);
+    $info[$lang_picinfo['Displayed']] .= $detailsLink;
+
+    $path_to_pic = $CONFIG['fullpath'] . $CURRENT_PIC_DATA['filepath'] . $CURRENT_PIC_DATA['filename'];
+
+    if ($CONFIG['read_exif_data']) $exif = exif_parse_file($path_to_pic);
+
+    if (isset($exif) && is_array($exif)) {
+                array_walk($exif, 'sanitize_data');
+        $info = array_merge($info,$exif);
+    }
+
+    if ($CONFIG['read_iptc_data']) $iptc = get_IPTC($path_to_pic);
+
+    if (isset($iptc) && is_array($iptc)) {
+        array_walk($iptc, 'sanitize_data');
+        if (!empty($iptc['Title'])) $info[$lang_picinfo['iptcTitle']] = $iptc['Title'];
+        if (!empty($iptc['Copyright'])) $info[$lang_picinfo['iptcCopyright']] = $iptc['Copyright'];
+        if (!empty($iptc['Keywords'])) $info[$lang_picinfo['iptcKeywords']] = implode(' ',$iptc['Keywords']);
+        if (!empty($iptc['Category'])) $info[$lang_picinfo['iptcCategory']] = $iptc['Category'];
+        if (!empty($iptc['SubCategories'])) $info[$lang_picinfo['iptcSubCategories']] = implode(' ',$iptc['SubCategories']);
+    }
+    // Create the absolute URL for display in info
+    $info[$lang_picinfo['URL']] = '<a href="' . $CONFIG["ecards_more_pic_target"] . (substr($CONFIG["ecards_more_pic_target"], -1) == '/' ? '' : '/') .basename($_SERVER['PHP_SELF']) . "?pos=-$CURRENT_PIC_DATA[pid]" . '" >' . $CONFIG["ecards_more_pic_target"] . (substr($CONFIG["ecards_more_pic_target"], -1) == '/' ? '' : '/') . basename($_SERVER['PHP_SELF']) . "?pos=-$CURRENT_PIC_DATA[pid]" . '</a>';
+    // with subdomains the variable is $_SERVER["SERVER_NAME"] does not return the right value instead of using a new config variable I reused $CONFIG["ecards_more_pic_target"] no trailing slash in the configure
+    // Create the add to fav link
+        $ref = $REFERER ? "&amp;ref=$REFERER" : '';
+    if (!in_array($CURRENT_PIC_DATA['pid'], $FAVPICS)) {
+        $info[$lang_picinfo['addFavPhrase']] = "<a href=\"addfav.php?pid=" . $CURRENT_PIC_DATA['pid'] . $ref . "\" >" . $lang_picinfo['addFav'] . '</a>';
+    } else {
+        $info[$lang_picinfo['addFavPhrase']] = "<a href=\"addfav.php?pid=" . $CURRENT_PIC_DATA['pid']  . $ref . "\" >" . $lang_picinfo['remFav'] . '</a>';
+    }
+
+    /**
+     * Filter file information
+     */
+    $info = CPGPluginAPI::filter('file_info',$info);
+
+    return theme_html_picinfo($info);
+}
+
+function get_subcat_data($parent, $level)
+{
+    global $CONFIG, $ALBUM_SET_ARRAY;
+
+    $result = cpg_db_query("SELECT cid, name, description FROM {$CONFIG['TABLE_CATEGORIES']} WHERE parent = '$parent'");
+    if (mysql_num_rows($result) > 0) {
+        $rowset = cpg_db_fetch_rowset($result);
+        foreach ($rowset as $subcat) {
+            $result = cpg_db_query("SELECT aid FROM {$CONFIG['TABLE_ALBUMS']} WHERE category = {$subcat['cid']}");
+            $album_count = mysql_num_rows($result);
+            while ($row = mysql_fetch_array($result)) {
+                $ALBUM_SET_ARRAY[] = $row['aid'];
+            } // while
+        }
+        if ($level > 1) get_subcat_data($subcat['cid'], $level -1);
+    }
+}
+
+/**
+ * Main code
+ */
+
+$pos = isset($_GET['pos']) ? (int)$_GET['pos'] : 0;
+
+/**
+ * Hack added by tarique to prevent incorrect picture being seen on last view or last uploaded
+ */
+
+$pid = isset($_GET['pid']) ? (int)$_GET['pid'] : 0;
+
+$cat = isset($_GET['cat']) ? (int)$_GET['cat'] : 0;
+$album = isset($_GET['album']) ? $_GET['album'] : '';
+// Build the album set if required
+/*
+//disabled by donnoman
+if (!is_numeric($album) && $cat) { // Meta albums, we need to restrict the albums to the current category
+    if ($cat < 0) {
+        $ALBUM_SET .= 'AND aid IN (' . (- $cat) . ') ';
+    } else {
+        $ALBUM_SET_ARRAY = array();
+        if ($cat == USER_GAL_CAT)
+            $where = 'category > ' . FIRST_USER_CAT;
+        else
+            $where = "category = '$cat'";
+
+        $result = cpg_db_query("SELECT aid FROM {$CONFIG['TABLE_ALBUMS']} WHERE $where");
+        while ($row = mysql_fetch_array($result)) {
+            $ALBUM_SET_ARRAY[] = $row['aid'];
+        } // while
+        get_subcat_data($cat, $CONFIG['subcat_level']);
+        // Treat the album set
+        if (count($ALBUM_SET_ARRAY)) {
+            $set = '';
+            foreach ($ALBUM_SET_ARRAY as $album_id) $set .= ($set == '') ? $album_id : ',' . $album_id;
+            $ALBUM_SET .= "AND aid IN ($set) ";
+        }
+    }
+}
+//disabled by donnoman
+*/
+//get_meta_album_set in functions.inc.php will populate the $ALBUM_SET instead; matches $META_ALBUM_SET.
+get_meta_album_set($cat,$ALBUM_SET);
+$META_ALBUM_SET = $ALBUM_SET; //displayimage uses $ALBUM_SET but get_pic_data in functions now uses $META_ALBUM_SET
+
+//attempt to fix topn images for keyworded albums
+if ($cat < 0) {
+    $result = cpg_db_query("SELECT category, title, aid, keyword, description, alb_password_hint FROM {$CONFIG['TABLE_ALBUMS']} WHERE aid='" . (- $cat) . "'");
+    if (mysql_num_rows($result) > 0) {
+        $CURRENT_ALBUM_DATA = mysql_fetch_array($result);
+        $CURRENT_ALBUM_KEYWORD = $CURRENT_ALBUM_DATA['keyword'];
+    }
+}
+// Retrieve data for the current picture
+if ($pos < 0 || $pid > 0) {
+    $pid = ($pos < 0) ? -$pos : $pid;
+    $result = cpg_db_query("SELECT aid from {$CONFIG['TABLE_PICTURES']} WHERE pid='$pid' $ALBUM_SET LIMIT 1");
+    if (mysql_num_rows($result) == 0) cpg_die(ERROR, $lang_errors['non_exist_ap'], __FILE__, __LINE__);
+    $row = mysql_fetch_array($result);
+    $album = $row['aid'];
+    $pic_data = get_pic_data($album, $pic_count, $album_name, -1, -1, false);
+    for($pos = 0; $pic_data[$pos]['pid'] != $pid && $pos < $pic_count; $pos++);
+    $pic_data = get_pic_data($album, $pic_count, $album_name, $pos, 1, false);
+    $CURRENT_PIC_DATA = $pic_data[0];
+
+} elseif (isset($_GET['pos'])) {
+    $pic_data = get_pic_data($album, $pic_count, $album_name, $pos, 1, false);
+    if ($pic_count == 0) {
+        cpg_die(INFORMATION, $lang_errors['no_img_to_display'], __FILE__, __LINE__);
+    } elseif (count($pic_data) == 0 && $pos >= $pic_count) {
+        $pos = $pic_count - 1;
+        $human_pos = $pos + 1;
+        $pic_data = get_pic_data($album, $pic_count, $album_name, $pos, 1, false);
+    }
+    $CURRENT_PIC_DATA = $pic_data[0];
+}
+
+// Retrieve data for the current album
+if (isset($CURRENT_PIC_DATA)) {
+    $result = cpg_db_query("SELECT title, comments, votes, category, aid FROM {$CONFIG['TABLE_ALBUMS']} WHERE aid='{$CURRENT_PIC_DATA['aid']}' LIMIT 1");
+    if (!mysql_num_rows($result)) cpg_die(CRITICAL_ERROR, sprintf($lang_errors['pic_in_invalid_album'], $CURRENT_PIC_DATA['aid']), __FILE__, __LINE__);
+    $CURRENT_ALBUM_DATA = mysql_fetch_array($result);
+
+    if (is_numeric($album)) {
+        $cat = - $album;
+        $actual_cat = $CURRENT_ALBUM_DATA['category'];
+        breadcrumb($actual_cat, $breadcrumb, $breadcrumb_text);
+        $cat = - $album;
+    } else {
+        $actual_cat = $CURRENT_ALBUM_DATA['category'];
+        breadcrumb($actual_cat, $breadcrumb, $breadcrumb_text);
+    }
+}
+
+if (isset($_GET['fullsize'])) {
+    theme_display_fullsize_pic();
+    ob_end_flush();
+} elseif (isset($_GET['slideshow'])) {
+    theme_slideshow();
+    ob_end_flush();
+} else {
+    if (!isset($_GET['pos'])) cpg_die(ERROR, $lang_errors['non_exist_ap'], __FILE__, __LINE__);
+    $picture_title = $CURRENT_PIC_DATA['title'] ? $CURRENT_PIC_DATA['title'] : strtr(preg_replace("/(.+)\..*?\Z/", "\\1", htmlspecialchars($CURRENT_PIC_DATA['filename'])), "_", " ");
+
+    $nav_menu = theme_html_img_nav_menu();
+    $picture = theme_html_picture();
+    $votes = theme_html_rating_box();
+    $pic_info = html_picinfo();
+    $comments = theme_html_comments($CURRENT_PIC_DATA['pid']);
+    if ($CURRENT_PIC_DATA['keywords']) {
+	    $meta_keywords = "<meta name=\"keywords\" content=\"".rtrim(str_replace(' ', ',', $CURRENT_PIC_DATA['keywords']),',')."\"/>"; 
+    }
+    $meta_keywords .= $meta_nav;
+    pageheader($album_name . '/' . $picture_title, $meta_keywords, false);
+    adminmessages();
+    // Display Breadcrumbs
+    if ($breadcrumb && !(strpos($CONFIG['main_page_layout'],"breadcrumb")===false)) {
+        theme_display_breadcrumb($breadcrumb, $cat_data);
+    }
+    // Display Filmstrip if the album is not search
+    if ($album != 'search') {
+        $film_strip = display_film_strip($album, (isset($cat) ? $cat : 0), $pos, true);
+    }
+    CPGPluginAPI::filter('post_breadcrumb',null);
+    theme_display_image($nav_menu, $picture, $votes, $pic_info, $comments, $film_strip);
+    pagefooter();
+    ob_end_flush();
+}
+
 ?>
\ No newline at end of file
diff -x .svn -aruN 1.4.24.src/displayreport.php 1.4.25.src/displayreport.php
--- 1.4.24.src/displayreport.php	2009-05-21 15:03:09.000000000 -0500
+++ 1.4.25.src/displayreport.php	2009-05-26 11:25:52.000000000 -0500
@@ -1,88 +1,88 @@
-<?php
-/*************************
-  Coppermine Photo Gallery
-  ************************
-  Copyright (c) 2003-2009 Coppermine Dev Team
-  v1.1 originally written by Gregory DEMAR
-
-  This program is free software; you can redistribute it and/or modify
-  it under the terms of the GNU General Public License version 3
-  as published by the Free Software Foundation.
-  
-  ********************************************
-  Coppermine version: 1.4.24
-  $HeadURL: https://coppermine.svn.sourceforge.net/svnroot/coppermine/trunk/cpg1.4.x/displayreport.php $
-  $Revision: 5969 $
-  $Author: gaugau $
-  $Date: 2009-05-21 22:03:33 +0200 (Do, 21 Mai 2009) $
-**********************************************/
-
-define('IN_COPPERMINE', true);
-define('DISPLAYREPORT_PHP', true);
-
-require('include/init.inc.php');
-require('include/smilies.inc.php');
-
-if (!GALLERY_ADMIN_MODE) {
-    cpg_die(ERROR, $lang_errors['access_denied'], __FILE__, __LINE__);
-}
-
-if (!isset($_GET['data'])) cpg_die(CRITICAL_ERROR, $lang_errors['param_missing'], __FILE__, __LINE__);
-
-$data = array();
-$data = @unserialize(@base64_decode($_GET['data']));
-
-if (is_array($data)) {
-
-// Remove HTML tags as we can't trust what we receive
-//foreach($data as $key => $value) $data[$key] = strtr($value, $HTML_SUBST);
-// Load template parameters
-	if ($data['t'] == 'comment') {
-		$params = array('{LANG_DIR}' => $lang_text_dir,
-			'{TITLE}' => sprintf($lang_report_php['report_subject'], $data['sn'], $data['t']),
-			'{CHARSET}' => $CONFIG['charset'] == 'language file' ? $lang_charset : $CONFIG['charset'],
-			'{VIEW_REPORT_TGT}' => '',
-			'{VIEW_REPORT_LNK}' => '',
-			'{URL_PREFIX}' => '',
-			'{SUBJECT}' => $data['su'],
-			'{MESSAGE}' => nl2br(process_smilies($data['m'])),
-			'{SENDER_EMAIL}' => $data['se'],
-			'{SENDER_NAME}' => $data['sn'],
-			'{VIEW_MORE_TGT}' => $CONFIG['ecards_more_pic_target'],
-			'{VIEW_MORE_LNK}' => $lang_report_php['view_more_pics'],
-			'{REASON}' => $data['r'],
-			'{COMMENT}' => $data['c'],
-			'{COMMENT_ID}' => $data['cid'],
-			'{VIEW_COMMENT_LNK}' => $lang_report_php['view_comment'],
-			'{COMMENT_LNK}' => $lang_report_php['go_comment'],
-			'{COMMENT_TGT}' => "{$CONFIG['ecards_more_pic_target']}displayimage.php?pos=-" . $data['pid'] . "#comment" . $data['cid'],
-			'{PID}' => $data['pid'],
-			);
-		// Parse template if report is on a comment
-		echo template_eval($template_report_comment, $params);
-
-	} else {
-			$params = array('{LANG_DIR}' => $lang_text_dir,
-				'{TITLE}' => sprintf($lang_report_php['report_subject'], $data['sn'], $data['t']),
-				'{CHARSET}' => $CONFIG['charset'] == 'language file' ? $lang_charset : $CONFIG['charset'],
-				'{VIEW_REPORT_TGT}' => '',
-				'{VIEW_REPORT_LNK}' => '',
-				'{PIC_URL}' => $data['p'],
-				'{PIC_TGT}' => "{$CONFIG['ecards_more_pic_target']}displayimage.php?pos=-" . $data['pid'],
-				'{URL_PREFIX}' => '',
-				'{SUBJECT}' => $data['su'],
-				'{MESSAGE}' => nl2br(process_smilies($data['m'])),
-				'{SENDER_EMAIL}' => $data['se'],
-				'{SENDER_NAME}' => $data['sn'],
-				'{VIEW_MORE_TGT}' => $CONFIG['ecards_more_pic_target'],
-				'{VIEW_MORE_LNK}' => $lang_report_php['view_more_pics'],
-				'{REASON}' => $data['r'],
-				'{PID}' => $data['pid'],
-				);
-			// Parse template
-			echo template_eval($template_report, $params);
-	}
-} else {
-        cpg_die(CRITICAL_ERROR, $lang_report_php['invalid_data'], __FILE__, __LINE__);
-}
+<?php
+/*************************
+  Coppermine Photo Gallery
+  ************************
+  Copyright (c) 2003-2009 Coppermine Dev Team
+  v1.1 originally written by Gregory DEMAR
+
+  This program is free software; you can redistribute it and/or modify
+  it under the terms of the GNU General Public License version 3
+  as published by the Free Software Foundation.
+  
+  ********************************************
+  Coppermine version: 1.4.25
+  $HeadURL: https://coppermine.svn.sourceforge.net/svnroot/coppermine/trunk/cpg1.4.x/displayreport.php $
+  $Revision: 5997 $
+  $Author: gaugau $
+  $Date: 2009-05-26 08:43:24 +0200 (Di, 26 Mai 2009) $
+**********************************************/
+
+define('IN_COPPERMINE', true);
+define('DISPLAYREPORT_PHP', true);
+
+require('include/init.inc.php');
+require('include/smilies.inc.php');
+
+if (!GALLERY_ADMIN_MODE) {
+    cpg_die(ERROR, $lang_errors['access_denied'], __FILE__, __LINE__);
+}
+
+if (!isset($_GET['data'])) cpg_die(CRITICAL_ERROR, $lang_errors['param_missing'], __FILE__, __LINE__);
+
+$data = array();
+$data = @unserialize(@base64_decode($_GET['data']));
+
+if (is_array($data)) {
+
+// Remove HTML tags as we can't trust what we receive
+//foreach($data as $key => $value) $data[$key] = strtr($value, $HTML_SUBST);
+// Load template parameters
+	if ($data['t'] == 'comment') {
+		$params = array('{LANG_DIR}' => $lang_text_dir,
+			'{TITLE}' => sprintf($lang_report_php['report_subject'], $data['sn'], $data['t']),
+			'{CHARSET}' => $CONFIG['charset'] == 'language file' ? $lang_charset : $CONFIG['charset'],
+			'{VIEW_REPORT_TGT}' => '',
+			'{VIEW_REPORT_LNK}' => '',
+			'{URL_PREFIX}' => '',
+			'{SUBJECT}' => $data['su'],
+			'{MESSAGE}' => nl2br(process_smilies($data['m'])),
+			'{SENDER_EMAIL}' => $data['se'],
+			'{SENDER_NAME}' => $data['sn'],
+			'{VIEW_MORE_TGT}' => $CONFIG['ecards_more_pic_target'],
+			'{VIEW_MORE_LNK}' => $lang_report_php['view_more_pics'],
+			'{REASON}' => $data['r'],
+			'{COMMENT}' => $data['c'],
+			'{COMMENT_ID}' => $data['cid'],
+			'{VIEW_COMMENT_LNK}' => $lang_report_php['view_comment'],
+			'{COMMENT_LNK}' => $lang_report_php['go_comment'],
+			'{COMMENT_TGT}' => "{$CONFIG['ecards_more_pic_target']}displayimage.php?pos=-" . $data['pid'] . "#comment" . $data['cid'],
+			'{PID}' => $data['pid'],
+			);
+		// Parse template if report is on a comment
+		echo template_eval($template_report_comment, $params);
+
+	} else {
+			$params = array('{LANG_DIR}' => $lang_text_dir,
+				'{TITLE}' => sprintf($lang_report_php['report_subject'], $data['sn'], $data['t']),
+				'{CHARSET}' => $CONFIG['charset'] == 'language file' ? $lang_charset : $CONFIG['charset'],
+				'{VIEW_REPORT_TGT}' => '',
+				'{VIEW_REPORT_LNK}' => '',
+				'{PIC_URL}' => $data['p'],
+				'{PIC_TGT}' => "{$CONFIG['ecards_more_pic_target']}displayimage.php?pos=-" . $data['pid'],
+				'{URL_PREFIX}' => '',
+				'{SUBJECT}' => $data['su'],
+				'{MESSAGE}' => nl2br(process_smilies($data['m'])),
+				'{SENDER_EMAIL}' => $data['se'],
+				'{SENDER_NAME}' => $data['sn'],
+				'{VIEW_MORE_TGT}' => $CONFIG['ecards_more_pic_target'],
+				'{VIEW_MORE_LNK}' => $lang_report_php['view_more_pics'],
+				'{REASON}' => $data['r'],
+				'{PID}' => $data['pid'],
+				);
+			// Parse template
+			echo template_eval($template_report, $params);
+	}
+} else {
+        cpg_die(CRITICAL_ERROR, $lang_report_php['invalid_data'], __FILE__, __LINE__);
+}
 ?>
\ No newline at end of file
diff -x .svn -aruN 1.4.24.src/docs/COPYING 1.4.25.src/docs/COPYING
--- 1.4.24.src/docs/COPYING	2007-11-29 06:55:38.000000000 -0600
+++ 1.4.25.src/docs/COPYING	2007-07-20 10:29:33.000000000 -0500
@@ -1,281 +1,281 @@
-		    GNU GENERAL PUBLIC LICENSE
-		       Version 2, June 1991
-
- Copyright (C) 1989, 1991 Free Software Foundation, Inc.
-                          675 Mass Ave, Cambridge, MA 02139, USA
- Everyone is permitted to copy and distribute verbatim copies
- of this license document, but changing it is not allowed.
-
-			    Preamble
-
-  The licenses for most software are designed to take away your
-freedom to share and change it.  By contrast, the GNU General Public
-License is intended to guarantee your freedom to share and change free
-software--to make sure the software is free for all its users.  This
-General Public License applies to most of the Free Software
-Foundation's software and to any other program whose authors commit to
-using it.  (Some other Free Software Foundation software is covered by
-the GNU Library General Public License instead.)  You can apply it to
-your programs, too.
-
-  When we speak of free software, we are referring to freedom, not
-price.  Our General Public Licenses are designed to make sure that you
-have the freedom to distribute copies of free software (and charge for
-this service if you wish), that you receive source code or can get it
-if you want it, that you can change the software or use pieces of it
-in new free programs; and that you know you can do these things.
-
-  To protect your rights, we need to make restrictions that forbid
-anyone to deny you these rights or to ask you to surrender the rights.
-These restrictions translate to certain responsibilities for you if you
-distribute copies of the software, or if you modify it.
-
-  For example, if you distribute copies of such a program, whether
-gratis or for a fee, you must give the recipients all the rights that
-you have.  You must make sure that they, too, receive or can get the
-source code.  And you must show them these terms so they know their
-rights.
-
-  We protect your rights with two steps: (1) copyright the software, and
-(2) offer you this license which gives you legal permission to copy,
-distribute and/or modify the software.
-
-  Also, for each author's protection and ours, we want to make certain
-that everyone understands that there is no warranty for this free
-software.  If the software is modified by someone else and passed on, we
-want its recipients to know that what they have is not the original, so
-that any problems introduced by others will not reflect on the original
-authors' reputations.
-
-  Finally, any free program is threatened constantly by software
-patents.  We wish to avoid the danger that redistributors of a free
-program will individually obtain patent licenses, in effect making the
-program proprietary.  To prevent this, we have made it clear that any
-patent must be licensed for everyone's free use or not licensed at all.
-
-  The precise terms and conditions for copying, distribution and
-modification follow.
-
-		    GNU GENERAL PUBLIC LICENSE
-   TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
-
-  0. This License applies to any program or other work which contains
-a notice placed by the copyright holder saying it may be distributed
-under the terms of this General Public License.  The "Program", below,
-refers to any such program or work, and a "work based on the Program"
-means either the Program or any derivative work under copyright law:
-that is to say, a work containing the Program or a portion of it,
-either verbatim or with modifications and/or translated into another
-language.  (Hereinafter, translation is included without limitation in
-the term "modification".)  Each licensee is addressed as "you".
-
-Activities other than copying, distribution and modification are not
-covered by this License; they are outside its scope.  The act of
-running the Program is not restricted, and the output from the Program
-is covered only if its contents constitute a work based on the
-Program (independent of having been made by running the Program).
-Whether that is true depends on what the Program does.
-
-  1. You may copy and distribute verbatim copies of the Program's
-source code as you receive it, in any medium, provided that you
-conspicuously and appropriately publish on each copy an appropriate
-copyright notice and disclaimer of warranty; keep intact all the
-notices that refer to this License and to the absence of any warranty;
-and give any other recipients of the Program a copy of this License
-along with the Program.
-
-You may charge a fee for the physical act of transferring a copy, and
-you may at your option offer warranty protection in exchange for a fee.
-
-  2. You may modify your copy or copies of the Program or any portion
-of it, thus forming a work based on the Program, and copy and
-distribute such modifications or work under the terms of Section 1
-above, provided that you also meet all of these conditions:
-
-    a) You must cause the modified files to carry prominent notices
-    stating that you changed the files and the date of any change.
-
-    b) You must cause any work that you distribute or publish, that in
-    whole or in part contains or is derived from the Program or any
-    part thereof, to be licensed as a whole at no charge to all third
-    parties under the terms of this License.
-
-    c) If the modified program normally reads commands interactively
-    when run, you must cause it, when started running for such
-    interactive use in the most ordinary way, to print or display an
-    announcement including an appropriate copyright notice and a
-    notice that there is no warranty (or else, saying that you provide
-    a warranty) and that users may redistribute the program under
-    these conditions, and telling the user how to view a copy of this
-    License.  (Exception: if the Program itself is interactive but
-    does not normally print such an announcement, your work based on
-    the Program is not required to print an announcement.)
-
-These requirements apply to the modified work as a whole.  If
-identifiable sections of that work are not derived from the Program,
-and can be reasonably considered independent and separate works in
-themselves, then this License, and its terms, do not apply to those
-sections when you distribute them as separate works.  But when you
-distribute the same sections as part of a whole which is a work based
-on the Program, the distribution of the whole must be on the terms of
-this License, whose permissions for other licensees extend to the
-entire whole, and thus to each and every part regardless of who wrote it.
-
-Thus, it is not the intent of this section to claim rights or contest
-your rights to work written entirely by you; rather, the intent is to
-exercise the right to control the distribution of derivative or
-collective works based on the Program.
-
-In addition, mere aggregation of another work not based on the Program
-with the Program (or with a work based on the Program) on a volume of
-a storage or distribution medium does not bring the other work under
-the scope of this License.
-
-  3. You may copy and distribute the Program (or a work based on it,
-under Section 2) in object code or executable form under the terms of
-Sections 1 and 2 above provided that you also do one of the following:
-
-    a) Accompany it with the complete corresponding machine-readable
-    source code, which must be distributed under the terms of Sections
-    1 and 2 above on a medium customarily used for software interchange; or,
-
-    b) Accompany it with a written offer, valid for at least three
-    years, to give any third party, for a charge no more than your
-    cost of physically performing source distribution, a complete
-    machine-readable copy of the corresponding source code, to be
-    distributed under the terms of Sections 1 and 2 above on a medium
-    customarily used for software interchange; or,
-
-    c) Accompany it with the information you received as to the offer
-    to distribute corresponding source code.  (This alternative is
-    allowed only for noncommercial distribution and only if you
-    received the program in object code or executable form with such
-    an offer, in accord with Subsection b above.)
-
-The source code for a work means the preferred form of the work for
-making modifications to it.  For an executable work, complete source
-code means all the source code for all modules it contains, plus any
-associated interface definition files, plus the scripts used to
-control compilation and installation of the executable.  However, as a
-special exception, the source code distributed need not include
-anything that is normally distributed (in either source or binary
-form) with the major components (compiler, kernel, and so on) of the
-operating system on which the executable runs, unless that component
-itself accompanies the executable.
-
-If distribution of executable or object code is made by offering
-access to copy from a designated place, then offering equivalent
-access to copy the source code from the same place counts as
-distribution of the source code, even though third parties are not
-compelled to copy the source along with the object code.
-
-  4. You may not copy, modify, sublicense, or distribute the Program
-except as expressly provided under this License.  Any attempt
-otherwise to copy, modify, sublicense or distribute the Program is
-void, and will automatically terminate your rights under this License.
-However, parties who have received copies, or rights, from you under
-this License will not have their licenses terminated so long as such
-parties remain in full compliance.
-
-  5. You are not required to accept this License, since you have not
-signed it.  However, nothing else grants you permission to modify or
-distribute the Program or its derivative works.  These actions are
-prohibited by law if you do not accept this License.  Therefore, by
-modifying or distributing the Program (or any work based on the
-Program), you indicate your acceptance of this License to do so, and
-all its terms and conditions for copying, distributing or modifying
-the Program or works based on it.
-
-  6. Each time you redistribute the Program (or any work based on the
-Program), the recipient automatically receives a license from the
-original licensor to copy, distribute or modify the Program subject to
-these terms and conditions.  You may not impose any further
-restrictions on the recipients' exercise of the rights granted herein.
-You are not responsible for enforcing compliance by third parties to
-this License.
-
-  7. If, as a consequence of a court judgment or allegation of patent
-infringement or for any other reason (not limited to patent issues),
-conditions are imposed on you (whether by court order, agreement or
-otherwise) that contradict the conditions of this License, they do not
-excuse you from the conditions of this License.  If you cannot
-distribute so as to satisfy simultaneously your obligations under this
-License and any other pertinent obligations, then as a consequence you
-may not distribute the Program at all.  For example, if a patent
-license would not permit royalty-free redistribution of the Program by
-all those who receive copies directly or indirectly through you, then
-the only way you could satisfy both it and this License would be to
-refrain entirely from distribution of the Program.
-
-If any portion of this section is held invalid or unenforceable under
-any particular circumstance, the balance of the section is intended to
-apply and the section as a whole is intended to apply in other
-circumstances.
-
-It is not the purpose of this section to induce you to infringe any
-patents or other property right claims or to contest validity of any
-such claims; this section has the sole purpose of protecting the
-integrity of the free software distribution system, which is
-implemented by public license practices.  Many people have made
-generous contributions to the wide range of software distributed
-through that system in reliance on consistent application of that
-system; it is up to the author/donor to decide if he or she is willing
-to distribute software through any other system and a licensee cannot
-impose that choice.
-
-This section is intended to make thoroughly clear what is believed to
-be a consequence of the rest of this License.
-
-  8. If the distribution and/or use of the Program is restricted in
-certain countries either by patents or by copyrighted interfaces, the
-original copyright holder who places the Program under this License
-may add an explicit geographical distribution limitation excluding
-those countries, so that distribution is permitted only in or among
-countries not thus excluded.  In such case, this License incorporates
-the limitation as if written in the body of this License.
-
-  9. The Free Software Foundation may publish revised and/or new versions
-of the General Public License from time to time.  Such new versions will
-be similar in spirit to the present version, but may differ in detail to
-address new problems or concerns.
-
-Each version is given a distinguishing version number.  If the Program
-specifies a version number of this License which applies to it and "any
-later version", you have the option of following the terms and conditions
-either of that version or of any later version published by the Free
-Software Foundation.  If the Program does not specify a version number of
-this License, you may choose any version ever published by the Free Software
-Foundation.
-
-  10. If you wish to incorporate parts of the Program into other free
-programs whose distribution conditions are different, write to the author
-to ask for permission.  For software which is copyrighted by the Free
-Software Foundation, write to the Free Software Foundation; we sometimes
-make exceptions for this.  Our decision will be guided by the two goals
-of preserving the free status of all derivatives of our free software and
-of promoting the sharing and reuse of software generally.
-
-			    NO WARRANTY
-
-  11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
-FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW.  EXCEPT WHEN
-OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES
-PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED
-OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
-MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.  THE ENTIRE RISK AS
-TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU.  SHOULD THE
-PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,
-REPAIR OR CORRECTION.
-
-  12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
-WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
-REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,
-INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING
-OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED
-TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY
-YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER
-PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
-POSSIBILITY OF SUCH DAMAGES.
-
-		     END OF TERMS AND CONDITIONS
-
+		    GNU GENERAL PUBLIC LICENSE
+		       Version 2, June 1991
+
+ Copyright (C) 1989, 1991 Free Software Foundation, Inc.
+                          675 Mass Ave, Cambridge, MA 02139, USA
+ Everyone is permitted to copy and distribute verbatim copies
+ of this license document, but changing it is not allowed.
+
+			    Preamble
+
+  The licenses for most software are designed to take away your
+freedom to share and change it.  By contrast, the GNU General Public
+License is intended to guarantee your freedom to share and change free
+software--to make sure the software is free for all its users.  This
+General Public License applies to most of the Free Software
+Foundation's software and to any other program whose authors commit to
+using it.  (Some other Free Software Foundation software is covered by
+the GNU Library General Public License instead.)  You can apply it to
+your programs, too.
+
+  When we speak of free software, we are referring to freedom, not
+price.  Our General Public Licenses are designed to make sure that you
+have the freedom to distribute copies of free software (and charge for
+this service if you wish), that you receive source code or can get it
+if you want it, that you can change the software or use pieces of it
+in new free programs; and that you know you can do these things.
+
+  To protect your rights, we need to make restrictions that forbid
+anyone to deny you these rights or to ask you to surrender the rights.
+These restrictions translate to certain responsibilities for you if you
+distribute copies of the software, or if you modify it.
+
+  For example, if you distribute copies of such a program, whether
+gratis or for a fee, you must give the recipients all the rights that
+you have.  You must make sure that they, too, receive or can get the
+source code.  And you must show them these terms so they know their
+rights.
+
+  We protect your rights with two steps: (1) copyright the software, and
+(2) offer you this license which gives you legal permission to copy,
+distribute and/or modify the software.
+
+  Also, for each author's protection and ours, we want to make certain
+that everyone understands that there is no warranty for this free
+software.  If the software is modified by someone else and passed on, we
+want its recipients to know that what they have is not the original, so
+that any problems introduced by others will not reflect on the original
+authors' reputations.
+
+  Finally, any free program is threatened constantly by software
+patents.  We wish to avoid the danger that redistributors of a free
+program will individually obtain patent licenses, in effect making the
+program proprietary.  To prevent this, we have made it clear that any
+patent must be licensed for everyone's free use or not licensed at all.
+
+  The precise terms and conditions for copying, distribution and
+modification follow.
+
+		    GNU GENERAL PUBLIC LICENSE
+   TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
+
+  0. This License applies to any program or other work which contains
+a notice placed by the copyright holder saying it may be distributed
+under the terms of this General Public License.  The "Program", below,
+refers to any such program or work, and a "work based on the Program"
+means either the Program or any derivative work under copyright law:
+that is to say, a work containing the Program or a portion of it,
+either verbatim or with modifications and/or translated into another
+language.  (Hereinafter, translation is included without limitation in
+the term "modification".)  Each licensee is addressed as "you".
+
+Activities other than copying, distribution and modification are not
+covered by this License; they are outside its scope.  The act of
+running the Program is not restricted, and the output from the Program
+is covered only if its contents constitute a work based on the
+Program (independent of having been made by running the Program).
+Whether that is true depends on what the Program does.
+
+  1. You may copy and distribute verbatim copies of the Program's
+source code as you receive it, in any medium, provided that you
+conspicuously and appropriately publish on each copy an appropriate
+copyright notice and disclaimer of warranty; keep intact all the
+notices that refer to this License and to the absence of any warranty;
+and give any other recipients of the Program a copy of this License
+along with the Program.
+
+You may charge a fee for the physical act of transferring a copy, and
+you may at your option offer warranty protection in exchange for a fee.
+
+  2. You may modify your copy or copies of the Program or any portion
+of it, thus forming a work based on the Program, and copy and
+distribute such modifications or work under the terms of Section 1
+above, provided that you also meet all of these conditions:
+
+    a) You must cause the modified files to carry prominent notices
+    stating that you changed the files and the date of any change.
+
+    b) You must cause any work that you distribute or publish, that in
+    whole or in part contains or is derived from the Program or any
+    part thereof, to be licensed as a whole at no charge to all third
+    parties under the terms of this License.
+
+    c) If the modified program normally reads commands interactively
+    when run, you must cause it, when started running for such
+    interactive use in the most ordinary way, to print or display an
+    announcement including an appropriate copyright notice and a
+    notice that there is no warranty (or else, saying that you provide
+    a warranty) and that users may redistribute the program under
+    these conditions, and telling the user how to view a copy of this
+    License.  (Exception: if the Program itself is interactive but
+    does not normally print such an announcement, your work based on
+    the Program is not required to print an announcement.)
+
+These requirements apply to the modified work as a whole.  If
+identifiable sections of that work are not derived from the Program,
+and can be reasonably considered independent and separate works in
+themselves, then this License, and its terms, do not apply to those
+sections when you distribute them as separate works.  But when you
+distribute the same sections as part of a whole which is a work based
+on the Program, the distribution of the whole must be on the terms of
+this License, whose permissions for other licensees extend to the
+entire whole, and thus to each and every part regardless of who wrote it.
+
+Thus, it is not the intent of this section to claim rights or contest
+your rights to work written entirely by you; rather, the intent is to
+exercise the right to control the distribution of derivative or
+collective works based on the Program.
+
+In addition, mere aggregation of another work not based on the Program
+with the Program (or with a work based on the Program) on a volume of
+a storage or distribution medium does not bring the other work under
+the scope of this License.
+
+  3. You may copy and distribute the Program (or a work based on it,
+under Section 2) in object code or executable form under the terms of
+Sections 1 and 2 above provided that you also do one of the following:
+
+    a) Accompany it with the complete corresponding machine-readable
+    source code, which must be distributed under the terms of Sections
+    1 and 2 above on a medium customarily used for software interchange; or,
+
+    b) Accompany it with a written offer, valid for at least three
+    years, to give any third party, for a charge no more than your
+    cost of physically performing source distribution, a complete
+    machine-readable copy of the corresponding source code, to be
+    distributed under the terms of Sections 1 and 2 above on a medium
+    customarily used for software interchange; or,
+
+    c) Accompany it with the information you received as to the offer
+    to distribute corresponding source code.  (This alternative is
+    allowed only for noncommercial distribution and only if you
+    received the program in object code or executable form with such
+    an offer, in accord with Subsection b above.)
+
+The source code for a work means the preferred form of the work for
+making modifications to it.  For an executable work, complete source
+code means all the source code for all modules it contains, plus any
+associated interface definition files, plus the scripts used to
+control compilation and installation of the executable.  However, as a
+special exception, the source code distributed need not include
+anything that is normally distributed (in either source or binary
+form) with the major components (compiler, kernel, and so on) of the
+operating system on which the executable runs, unless that component
+itself accompanies the executable.
+
+If distribution of executable or object code is made by offering
+access to copy from a designated place, then offering equivalent
+access to copy the source code from the same place counts as
+distribution of the source code, even though third parties are not
+compelled to copy the source along with the object code.
+
+  4. You may not copy, modify, sublicense, or distribute the Program
+except as expressly provided under this License.  Any attempt
+otherwise to copy, modify, sublicense or distribute the Program is
+void, and will automatically terminate your rights under this License.
+However, parties who have received copies, or rights, from you under
+this License will not have their licenses terminated so long as such
+parties remain in full compliance.
+
+  5. You are not required to accept this License, since you have not
+signed it.  However, nothing else grants you permission to modify or
+distribute the Program or its derivative works.  These actions are
+prohibited by law if you do not accept this License.  Therefore, by
+modifying or distributing the Program (or any work based on the
+Program), you indicate your acceptance of this License to do so, and
+all its terms and conditions for copying, distributing or modifying
+the Program or works based on it.
+
+  6. Each time you redistribute the Program (or any work based on the
+Program), the recipient automatically receives a license from the
+original licensor to copy, distribute or modify the Program subject to
+these terms and conditions.  You may not impose any further
+restrictions on the recipients' exercise of the rights granted herein.
+You are not responsible for enforcing compliance by third parties to
+this License.
+
+  7. If, as a consequence of a court judgment or allegation of patent
+infringement or for any other reason (not limited to patent issues),
+conditions are imposed on you (whether by court order, agreement or
+otherwise) that contradict the conditions of this License, they do not
+excuse you from the conditions of this License.  If you cannot
+distribute so as to satisfy simultaneously your obligations under this
+License and any other pertinent obligations, then as a consequence you
+may not distribute the Program at all.  For example, if a patent
+license would not permit royalty-free redistribution of the Program by
+all those who receive copies directly or indirectly through you, then
+the only way you could satisfy both it and this License would be to
+refrain entirely from distribution of the Program.
+
+If any portion of this section is held invalid or unenforceable under
+any particular circumstance, the balance of the section is intended to
+apply and the section as a whole is intended to apply in other
+circumstances.
+
+It is not the purpose of this section to induce you to infringe any
+patents or other property right claims or to contest validity of any
+such claims; this section has the sole purpose of protecting the
+integrity of the free software distribution system, which is
+implemented by public license practices.  Many people have made
+generous contributions to the wide range of software distributed
+through that system in reliance on consistent application of that
+system; it is up to the author/donor to decide if he or she is willing
+to distribute software through any other system and a licensee cannot
+impose that choice.
+
+This section is intended to make thoroughly clear what is believed to
+be a consequence of the rest of this License.
+
+  8. If the distribution and/or use of the Program is restricted in
+certain countries either by patents or by copyrighted interfaces, the
+original copyright holder who places the Program under this License
+may add an explicit geographical distribution limitation excluding
+those countries, so that distribution is permitted only in or among
+countries not thus excluded.  In such case, this License incorporates
+the limitation as if written in the body of this License.
+
+  9. The Free Software Foundation may publish revised and/or new versions
+of the General Public License from time to time.  Such new versions will
+be similar in spirit to the present version, but may differ in detail to
+address new problems or concerns.
+
+Each version is given a distinguishing version number.  If the Program
+specifies a version number of this License which applies to it and "any
+later version", you have the option of following the terms and conditions
+either of that version or of any later version published by the Free
+Software Foundation.  If the Program does not specify a version number of
+this License, you may choose any version ever published by the Free Software
+Foundation.
+
+  10. If you wish to incorporate parts of the Program into other free
+programs whose distribution conditions are different, write to the author
+to ask for permission.  For software which is copyrighted by the Free
+Software Foundation, write to the Free Software Foundation; we sometimes
+make exceptions for this.  Our decision will be guided by the two goals
+of preserving the free status of all derivatives of our free software and
+of promoting the sharing and reuse of software generally.
+
+			    NO WARRANTY
+
+  11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
+FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW.  EXCEPT WHEN
+OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES
+PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED
+OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.  THE ENTIRE RISK AS
+TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU.  SHOULD THE
+PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,
+REPAIR OR CORRECTION.
+
+  12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
+WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
+REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,
+INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING
+OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED
+TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY
+YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER
+PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
+POSSIBILITY OF SUCH DAMAGES.
+
+		     END OF TERMS AND CONDITIONS
+
diff -x .svn -aruN 1.4.24.src/docs/faq_de.htm 1.4.25.src/docs/faq_de.htm
--- 1.4.24.src/docs/faq_de.htm	2009-05-21 15:03:09.000000000 -0500
+++ 1.4.25.src/docs/faq_de.htm	2009-05-26 11:25:48.000000000 -0500
@@ -15,11 +15,11 @@
 <meta http-equiv="imagetoolbar" content="no" />
 <!--
   Subversion information (for information and developer purposes only - safe to ignore for everybody else):
-  Coppermine version: 1.4.24
+  Coppermine version: 1.4.25
   $HeadURL: https://coppermine.svn.sourceforge.net/svnroot/coppermine/trunk/cpg1.4.x/docs/faq_de.htm $
-  $Revision: 5969 $
+  $Revision: 5997 $
   $Author: gaugau $
-  $Date: 2009-05-21 22:03:33 +0200 (Do, 21 Mai 2009) $
+  $Date: 2009-05-26 08:43:24 +0200 (Di, 26 Mai 2009) $
 -->
 <style type="text/css">
 <!--
diff -x .svn -aruN 1.4.24.src/docs/faq_fr.htm 1.4.25.src/docs/faq_fr.htm
--- 1.4.24.src/docs/faq_fr.htm	2009-05-21 15:03:09.000000000 -0500
+++ 1.4.25.src/docs/faq_fr.htm	2009-05-26 11:25:48.000000000 -0500
@@ -1,1587 +1,1587 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
-<head>
-<title>French FAQ Coppermine Photo Gallery - Documentation &amp; Manuel en Franais</title>
-<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
-<meta name="robots" content="noindex,nofollow">
-<meta name="language" content="fr">
-<meta name="author" content="PYAP">
-<meta name="copyright" content="Coppermine dev team">
-<meta name="description" content="Coppermine Photo Gallery project - Coppermine is an easily set-up, fast, feature-rich photo gallery script with mySQL database, user management, private galleries, automatic thumbnail creation, ecard feature and a template system for easy customization to match the rest of a site.">
-<meta name="keywords" content="photo,gallery,galery,image,coppermine,php,mysql,easy,feature,phpnuke,thumbnail,automatic,creation,gd,Image Magick,ecard">
-<meta name="page-topic" content="photo,gallery,galery,image,coppermine,php,mysql,easy,feature,phpnuke,thumbnail,automatic,creation,gd,Image Magick,ecard">
-<meta http-equiv="Content-Style-Type" content="text/css">
-<meta name="MSSmartTagsPreventParsing" content="true">
-<meta http-equiv="imagetoolbar" content="no">
-<!--
-  Subversion information (for information and developer purposes only - safe to ignore for everybody else):
-  Coppermine version: 1.4.24
-  $HeadURL: https://coppermine.svn.sourceforge.net/svnroot/coppermine/trunk/cpg1.4.x/docs/faq_fr.htm $
-  $Revision: 5969 $
-  $Author: gaugau $
-  $Date: 2009-05-21 22:03:33 +0200 (Do, 21 Mai 2009) $
--->
-<!-- Version Fran?aise Pascal YAP Janvier 2005 -->
-<!-- Contact PYAP here http://coppermine.sourceforge.net/board/index.php?action=profile;u=1545 -->
-<!-- Visit French Coppermine Forum at http://coppermine.sourceforge.net/board/index.php?board=38.0 -->
-<link rel="stylesheet" type="text/css" href="style.css">
-<style type="text/css">
-
-</style>
-</head>
-
-<body><a name="top"></a>
-<h1>Coppermine 1.4.x FAQ</h1>
-<ul>
-  <li><a href="http://coppermine.sourceforge.net/board/index.php?board=38.0">Forum Support Coppermine en Franais</a></li>
-  <li><a href="http://coppermine.sourceforge.net/board/">Support forums for Coppermine Photo Gallery</a></b> en anglais.</li>
-  <li><b>Base de <a href="http://coppermine.sourceforge.net/">Coppermine Photo Gallery</a></b></li>
-  <li>Pour voir les <b>Cr&eacute;dits</b> et <b>Copyrights</b>, suivez : <a href="index_fr.htm#credits"><b>Coppermine documentation</b></a></li>
-  <li>Nous avons souvent contast&eacute; dans le <b>Forum consacr&eacute; &agrave; Coppermine Photo Gallery</b> que les m&ecirc;mes questions &eacute;taient fr&eacute;quement pos&eacute;es. C'est pour cette raison que nous avons d&eacute;cid&eacute; de concevoir cette page <b>FAQ</b> (<b>F</b>requent <b>A</b>sk <b>Q</b>uestions, <b>F</b>oire <b>A</b>ux <b>Q</b>uestions, ou <b>Questions Fr&eacute;quement Pos&eacute;es</b>)</li>
-</ul>
-
-<h2>Table des mati&egrave;res:</h2>
-<ul class="nomargin">
-  <li><b>&nbsp;Installation</b></li>
-  <ul class="nomargin">
-    <li>&nbsp;<a class="content" href="#MinimumRequirements">Quelles sont <b>les ressources minimuns n&eacute;cessaires pour utiliser Coppermine</b> 1.4.x?</a></li>
-    <li>&nbsp;<a class="content" href="#whatIsImageMagick"><b>ImageMagick</b> qu'est-ce que c'est, et o&ugrave; puis-je l'obtenir ?</a></li>
-    <li>&nbsp;<a class="content" href="#WhatIsGD"><b>GD</b> <b>1</b> ou <b>2</b> qu'est-ce que c'est, et o&ugrave; puis-je l'obtenir ?</a></li>
-    <li>&nbsp;<a class="content" href="#VersionPHP">Comment savoir quelle <b> version de PHP</b> est utilis&eacute;e sur mon serveur ?</a></li>
-    <li>&nbsp;<a class="content" href="#VersionGD">Comment savoir quelle <b> version de GD</b> est utilis&eacute;e ?</a></li>
-    <li>&nbsp;<a class="content" href="#GD1vsGD2">Quelles sont <b>les diff&eacute;rences entre GD1 et GD2</b> ?</a></li>
-    <li><a class="content" href="#InstallSteps">&nbsp;Quelles sont <b>les &eacute;tapes pour voir Coppermine</b> fonctionner ?</a></li>
-    <li><a class="content" href="#installIMwhenHosted">&nbsp;Comment installer <b>ImageMagick ou GD</b> ?</a></li>
-    <li><a class="content" href="#minimumInstall">&nbsp;Je ne poss&egrave;de qu'un <b>petit espace Web</b>, y-a-t-il une <b>Installation Minimum de Coppermine</b>?</a><br />
-      <br />
-    </li>
-  </ul>
-  <li><b>&nbsp;Upload</b></li>
-  <ul class="nomargin">
-    <li><a class="content" href="#uploadGeneralTroubleshooting">&nbsp;<b>Recommandations G&eacute;n&eacute;rales pour l'Upload</b> (<b>CHMOD</b> / <b>T&eacute;l&eacute;chargements</b> / <b>Permissions</b>)</a><br />
-      <br />
-    </li>
-  </ul>
-  <li>&nbsp;<b> Les Messages d'Erreur</b></li>
-  <ul class="nomargin">
-    <li>&nbsp;<a class="content" href="#errormessage">Durant l'intallation, je reois un message <b><tt class="code"><i>&nbsp;Fatal Error: Call to undefined function: imagecreatefromjpeg() in /include/picmgmt.inc.php
-      on line 168&nbsp;</i></tt></b>. Qu'est-ce-que cel&agrave; signifie ?</a></li>
-    <li>&nbsp;<a class="content" href="#mkdirPermissionDenied">Durant l'installation, je reois ce message d'erreur : <tt class="code">&nbsp;Warning :<i><b>mkdir(dummy) [function.mkdir]: Permission denied in /your/path/to/coppermine/install.php on line 126&nbsp;</b></i></tt>. Qu'est-ce-que cel&agrave; signifie ?</a></li>
-    <li>&nbsp;<a class="content" href="#EmptyDelimiter">Je reois cette <b>erreur</b> <tt class="code"><b><i>&nbsp;Warning: Empty Delimiter in search.inc.php line 33</i></b>&nbsp;</tt>. Que puis-je faire ?</a></li>
-    <li>&nbsp;<a class="content" href="#zerosizedreply">Je reois cette erreur <tt class="code"><b><i>&nbsp;Zero Sized Reply during install&nbsp;</i></b></tt>. Que puis-je faire ?</a></li>
-    <li><a class="content" href="#ErrorUndefinedIndex">&nbsp;Je reois ce message <i><b><tt class="code">&nbsp;Warning: Undefined index: SCRIPT_NAME in /www.your-domain.com/include/init.inc.php on line 90&nbsp;</tt></b></i>. Que dois-je faire ?</a></li>
-    <li>&nbsp;<a class="content" href="#ErrorCantMovePic">Quand un Utilisateur tente d'uploader une image, je reois ce message d'erreur : <i><b><tt class="code">&nbsp;Impossible to move somepic.jpg to albums/userpics/ | Warning: move_uploaded_file(/tmp/phpezCYKr) [function.move-uploaded-file]: failed to create stream: Operation not permitted&nbsp;</tt></b></i>. Que se passe-t-il, o&ugrave; est l'erreur ?</a></li>
-    <li><a class="content" href="#httpPostVars">&nbsp;Durant le t&eacute;l&eacute;chargement d'une image vers mon serveur, je reois ce message <tt class="code"><i><b>&nbsp;Warning: Undefined variable: HTTP_POST_VARS in include/init.inc.php on line 43&nbsp;</b></i></tt>. Que dois-je faire ?</a><br />
-      <br />
-    </li>
-  </ul>
-  <li><b>&nbsp;Setup / R&eacute;glages / Configuration</b></li>
-  <ul class="nomargin">
-    <li>&nbsp;<a class="content" href="#LinkInAlbumDescription"><b>Inclure un lien dans la Description d'un Album </b> ou <b>dans la l&eacute;gende d'une image</b> ?</a></li>
-    <li><a class="content" href="#NoLastUploads">Comment faire pour <b>&eacute;diter ce qui sera affich&eacute; sur la premi&egrave;re page de ma Galerie Coppermine</b>, et </a><a class="content" href="#NoLastUploads"><b>ne pas afficher mes Nouvelles Images sur ma page d'acueuil</b>.</a></li>
-    <li><a class="content" href="#editCopyrights"><b>Comment effacer</b> ou modifier cette ligne en bas de page &quot;<tt class="code"><b>&nbsp;Powered by Coppermine&nbsp;</b></tt>&quot;?</a></li>
-    <li><a class="content" href="#buyLicense"><b>Je veux acheter une Licence Coppermine</b> pour supprimer la ligne &quot;<tt class="code"><b>&nbsp;Powered by Coppermine&nbsp;</b></tt>&quot;, comment faire ?</a></li>
-    <li><a class="content" href="#removeFeature"> <b>Je ne veux pas utiliser certaines fonctions </b>de Coppermine. Comment les supprimer ?</a></li>
-    <li><a class="content" href="#customHeader">Comment <b>ajouter une ent&ecirc;te, ou un pied de page personnalis&eacute; &agrave; Coppermine </b>?</a></li>
-    <li><a class="content" href="#createPublicAlbum">Comment cr&eacute;er <b>un Album o&ugrave; tout le monde peut charger des images</b> dedans ?</a></li>
-    <li><a class="content" href="#BackupDatabase"><b>Comment faire une</b> <b>Sauvegarde/Backup de ma base de donn&eacute;es Coppermine</b> ?</a></li>
-    <li><a class="content" href="#noFullsizePopup"><b>L<span class="content">es images plein format ne s'ouvrent pas</span></b><span class="content"> dans une nouvelle fen&ecirc;tre popup <b>lorsque je clique sur les images interm&eacute;diaires</b>. Que se passe-t-il ?</span></a></li>
-    <li class="content"><a class="content" href="#viewThumbnailsOnly"><b>Comment faire pour que les utilisateurs non enregistr&eacute;s ne voient que les vignettes</b>, pas les images en grand taille ?</a></li>
-    <li class="content"><a class="content" href="#preventHotlinks"><b>Comment faire pour emp&ecirc;cher les autres sites web de faire des liens directs vers les images de ma galerie</b></a></li>
-    <li><a class="content" href="#changeLanguage">Je tente de <b>changer le langage</b> depuis la page de Configuration, <b>mais cel&agrave; ne marche pas</b>? O&ugrave; est l'erreur ?</a></li>
-    <li class="content"><a class="content" href="#onlyregisteredcomments"><b>Comment faire pour autoriser les Utilisateurs non-enregistr&eacute;s &agrave; d&eacute;poser des commentaires</b> sous mes photos ? et <b>pas uniquement les Utilisateurs enregistr&eacute;s</b>!</a></li>
-    <li><a class="content" href="#httpUpload"><b>Je ne peux pas t&eacute;l&eacute;charger des images vers mon serveur</b> ! Que se passe-t-il ?</a></li>
-    <li><a class="content" href="#ordercategories"><b>Comment changer l'ordre des Cat&eacute;gories</b> ?</b>?</a></li>
-    <li><a class="content" href="#cantDeletePic"><b>Je ne peux pas supprimer certaines images en FTP</b> ! Que dois-je faire? </a></li>
-    <li><a class="content" href="#cantUploadBigPics"><b>Je ne peux pas t&eacute;l&eacute;charger de grosses images vers mon serveur</b>. Qu'est-ce qui ne va pas ?</a></li>
-    <li><a class="content" href="#cookie"><b>Je ne peux pas me connecter &agrave; ma galerie</b> Coppermine (<b>login</b>) !</a></li>
-    <li><a class="content" href="#moveAlbum">Comment <b>d&eacute;placer un Album depuis Cat&eacute;gorie vers une autre</b> ?</a></li>
-    <li><a class="content" href="#sortAlbum">Comment puis-je <b>changer l'ordre d'affichage des Albums</b>?</a></li>
-    <li><a class="content" href="#deleteIntermediates"><b>Je ne d&eacute;sire plus utiliser les images interm&eacute;diaires</b>. <b>Comment faire pour les supprimer</b> afin de gagner de la place sur mon web ?</a></li>
-    <li><a class="content" href="#howAlbumsFolderWork"><b>Comment fonctionnent les Albums et les Dossiers</b> dans Coppermine?</a></li>
-    <li><a class="content" href="#howMoveAlbum">Comment faire pour <b>d&eacute;placer un Album depuis une Cat&eacute;gorie vers une autre Cat&eacute;gorie</b>?</a></li>
-  </ul>
-  <li><b>Add-ons / Modifications / Hacks</b></li>
-  <ul class="nomargin">
-    <li><a class="content" href="#changeOrderEdit">Comment puis-je changer l'ordre des images en<b> les &eacute;ditant </b>?</a></li>
-    <li><a class="content" href="#rightHandMenu">Comment puis-je cr&eacute;e un menu qui sera affich&eacute;<b> &agrave; droite</b> de ma galerie?</a></li>
-    <li><a class="content" href="#jumpToPrivateAlbum">Comment envoyer directement un utilisateur vers <b>son album priv&eacute;</b> lorsqu'il s'identifie</a></li>
-    <li><a class="content" href="#registeredUsersOnly">Comment peut-on <b>emp&ecirc;cher les utilisateurs non enregistr&eacute;s</b> de voir la galerie?</a></li>
-    <li><a class="content" href="#displayUploaderName">Comment peut-on <b>afficher le nom de <i>l'uploader</i></b> avec les informations de l'image?</a></li>
-    <li><a class="content" href="#linksInCustomFields">Comment peut-on mettre <b>un lien cliquable dans les champs utilisateurs personnalisables</b>?</a></li>
-    <li><a class="content" href="#sortThumbsByCustomField">Comment peut-on <b>trier les vignettes par utilisateurs d&eacute;finis dans les champs personnalisables</b>?</a></li>
-    <li><a class="content" href="#iptcSupport">Comment peut-on <b>activer le support IPTC </b>?</a></li>
-    <li><a class="content" href="#addFooterBeforePoweredBy">Comment peut-on <b>ajouter</b> des informations <b>juste avant</b> la ligne "Powered by Coppermine"?</a></li>
-    <li><a class="content" href="#commonPHPerrors">Erreurs communes de PHP et comment s'en d&eacute;barrasser...</a></li>
-    <li><a class="content" href="#renameTemplateHtml">Peut-on <b>renommer template.html en template.php</b> pour inclure <b>du code PHP</b> dans mon<i> template</i>?</a></li>
-    <li><a class="content" href="#preventPictureStealing">Comment peut-on emp&ecirc;cher les utilisateur d'enregistrer (<i>voler</i>) mes images?</a></li>
-  </ul>
-  <li><b>Je dispose de mon propre serveur</b></li>
-  <ul class="nomargin">
-    <li><a class="content" href="#enableGD">Comment peut-on <b>activer gd</b> sur mon serveur Windows?</a></li>
-    <li><a class="content" href="#enableIMonWindows">Comment peut-on <b>activer ImageMagick</b> sur mon serveur Windows?</a></li>
-  </ul>
-  <li><b>Forum d'aide de Coppermine</b></li>
-  <ul class="nomargin">
-    <li><a class="content" href="#phpNewbie">Je  <b>n'y connais rien &agrave; </b> PHP/mySQL...</a></li>
-    <li><a class="content" href="#lamesupport">J'ai post&eacute; ma question il y a d&eacute;j&agrave; longtemps mais, <b>personne n'y r&eacute;ponds</b>. Que se passe t'il...?</a></li>
-    <li><a class="content" href="#howtoask">Comment dois-je poser ma <b>question</b>?</a></li>
-    <li><a class="content" href="#firstSteps">J'ai un probl&egrave;me avec Coppermine. Que faut'il fair en premier (<b>avant de poster</b> sur le forum)?</a></li>
-    <li><a class="content" href="#nonEnglishPosting">H&eacute;, en regardant votre profil J'ai vu que vous &eacute;tiez Allemand/Franais/ou autre... Puis-je poser ma question dans cette <b>langue</b>?</a></li>
-    <li><a class="content" href="#emailSupport">Puis-je vous envoyer un courriel/<acronym title="private message" class="tool">pm</acronym>/<acronym title="instant message" class="tool">im</acronym> pour <b>de l'aide</b>?</a></li>
-    <li><a class="content" href="#aboutTeam"><b>Qui</b> &ecirc;tes vous ?</a></li>
-  </ul>
-</ul>
-
-
-<hr width="66%">
-<br />&nbsp;<br />
-<h2>Installation</h2><a name="MinimumRequirements"></a>
-<h3>Quelles sont les ressources minimum pour pouvoir utiliser Coppermine 1.4.x?</h3>
-<p>
-
-</p><ul>
-  <li>N'importe quel serveur avec une pr&eacute;f&eacute;rence pour <b>APACHE</b>.
-    <b>Coppermine</b> fonctionne parfaitement avec <a href="http://httpd.apache.org/" class="external">Apache</a>,
-    <a href="http://www.microsoft.com/iis/" class="external">Microsoft
-    Internet Information Server</a> (IIS), <a href="http://www.roxen.com/products/webserver/" class="external">Roxen
-    WebServer</a>, <a href="http://www.aprelium.com/" class="external">Abyss</a>,
-    <a href="http://www.janaserver.de/" class="external">JanaServer</a>)</li>
-  <li>PHP 4.1.0 ou plus r&eacute;cent.</li>
-  <li><a href="#WhatIsGD">GD lib</a> ou Image Magick.</li>
-  <li>mySQL 3.23.23 ou plus r&eacute;cent (4.x recommand&eacute;). Don't confuse
-    the client api version (which is shown in phpinfo) with the mySQL version
-    !</li>
-</ul>
-<p></p><br /><div class="back">[<a href="#top">Haut de page</a>]</div><hr />
-<a name="WhatIsGD"></a>
-<h3>Qu'est-ce que <u>GD</u> et o&ugrave; l'obtenir ?</h3>
-<p><b>GD est une Librairie Graphic</b> qui permet &agrave; PHP de manipuler des
-  images. Vous pouvez t&eacute;l&eacute;charger <b>GD</b> depuis <a href="http://www.boutell.com/gd/" class="external">www.boutell.com/gd/</a>.<br />
-  <b>GD</b> est livr&eacute; avec les versions les plus r&eacute;centes de PHP.
-  Vous aurez peut-&ecirc;tre besoin de recompiler PHP en fonction de la configuration
-  de votre serveur <i> APACHE</i>.<br />
-  Sur la plupart des syst&egrave;mes <i>Windows</i>, vous n'avez qu'&agrave;
-  d&eacute;clarer <b>GD</b> dans le fichier <b>php.ini</b> (ce
-  qui ne peut &ecirc;tre effectu&eacute; que si vous &ecirc;tes le "propri&eacute;taire"
-  de votre serveur web)<br />
-  Si votre votre <b>Galerie Coppermine</b> est install&eacute;e chez un h&eacute;bergeur,
-  <b>assurez-vous que votre espace web est bien &eacute;quip&eacute; de GD</b>.
-  Si tel n'est pas le cas, demandez &agrave; votre h&eacute;bergeur de l'installer,
-  ... sinon cherchez un autre h&eacute;bergeur !<br />
-  Comment <a class="content" href="#VersionGD"><b>connaitre la version GD</b></a>
-  de mon serveur ?</p>
-<br /><div class="back">[<a href="#top">Haut de page</a>]</div><hr />
-<a name="whatIsImageMagick"></a>
-<h3>ImageMagick qu'est-ce que c'est, et o&ugrave; puis-je l'obtenir ?</h3>
-<p><b>ImageMagick</b> est une librairie Graphic qui permet la manipulation d'images.<br />
-  Vous pouvez t&eacute;l&eacute;charger <b>ImageMagick</b> ici : <a href="http://www.imagemagick.org/" class="external">www.magemagick.org</a>.<br />
-  Existe pour Unix, Linux, Mac et Windows.<br />
-  Vous ne pouvez installer <b>ImageMagick</b> que si vous avez votre propre serveur
-  ou sur votre ordinateur personnel pour y effectuer des essais.<br />
-  Vous ne pouvez pas installer <b>ImageMagick</b> chez un h&eacute;bergeur (free,
-  lycos, wanadoo, proxad...)<br />
-</p>
-<br />
-<div class="back">[<a href="#top">Haut de page</a>]</div><hr />
-<a name="VersionPHP"></a>
-<h3>Comment savoir quelle version de PHP est utilis&eacute;e sur mon serveur ?</h3>
-<p>- Cr&eacute;ez un fichier (mode texte brut. Pas Word ou autres) Nommez-le "info-version.php".<br />
-  - Ins&eacute;rez le code suivant <tt class="code">&lt;?php phpinfo(); ?&gt;</tt>
-  et sauvegardez.<br />
-  - T&eacute;l&eacute;chargez votre fichier "info-version.php" vers
-  votre serveur.<br />
-  - Faites pointez votre navigateur internet vers ce fichier. L'adresse &agrave;
-  taper sera par exemple <i>http://VotreWwWeb .com/info-version.php</i><br />
-  - La toute premi&egrave;re ligne doit afficher : "<b>PHP Version x.y.z</b>"
-  (x, y et z &eacute;tant les num&eacute;ros de version)<br />
-  <br />
-  &nbsp;&nbsp;&nbsp;<b>NOTEZ que laisser "info-version.php" sur votre
-  serveur peut repr&eacute;senter un risque majeur pour l'int&eacute;grit&eacute;
-  de votre web</b> (esprit malveillant) Apr&egrave;s avoir constat&eacute; la
-  version de votre PHP, supprimez le fichier "info-version.php" ou d&eacute;placez-le
-  vers un dossier prot&eacute;g&eacute; par un mot de passe.<br />
-  <br />
-  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Lorsque vous &ecirc;tes connect&eacute; sur votre
-  Galerie <b>Coppermine 1.4.x en Mode Admin</b>, il y a le fichier "<b>phpinfo.php</b>"
-  que vous pouvez ex&eacute;cuter pour connaitre d'autres infos. Faites alors
-  : <i>http://VotreWwWeb .com/phpinfo.php</i><br />
-</p>
-<br /><div class="back">[<a href="#top">Haut de page</a>]</div><hr />
-<a name="VersionGD"></a>
-<h3>Comment savoir quelle version de GD est utilis&eacute;e ?</h3>
-<p>- Cr&eacute;ez un fichier texte <b>en mode texte brut</b> et surtout pas Word
-  ou autres. Nommez-le "<b>info-version.php</b>".<br />
-  - Ins&eacute;rez le code suivant <tt class="code">&lt;?php phpinfo(); ?&gt;</tt>
-  et sauvegardez.<br />
-  - T&eacute;l&eacute;chargez votre fichier "<b>info-version.php</b>"
-  vers votre serveur.<br />
-  - Faites pointez votre navigateur internet vers ce fichier,<br />
-  l'adresse &agrave; taper sera par exemple <i>http://VotreWwWebCoppermine .com/info-version.php</i><br />
-  <br />
-  - Cherchez alors le tableau concernant <b>GD</b> :<br />
-
-</p><div style="font-family: arial,helvetica,sans-serif; font-size: 14pt; font-weight: bold;" align="center">gd</div>
-<table align="center" bgcolor="#000000" border="0" cellpadding="3" cellspacing="1" width="600">
-<tbody><tr bgcolor="#cccccc" valign="baseline">
-    <td bgcolor="#ccccff" width="292"><b>GD Support</b></td>
-    <td align="left" width="293">enabled</td>
-  </tr>
-<tr bgcolor="#cccccc" valign="baseline">
-    <td bgcolor="#ccccff" width="292"><b>GD Version</b></td>
-    <td align="left" width="293">1.6.2 or higher</td>
-  </tr>
-<tr bgcolor="#cccccc" valign="baseline">
-    <td bgcolor="#ccccff" width="292"><b>FreeType Support</b></td>
-    <td align="left" width="293">enabled</td>
-  </tr>
-<tr bgcolor="#cccccc" valign="baseline">
-    <td bgcolor="#ccccff" width="292"><b>FreeType Linkage</b></td>
-    <td align="left" width="293">with TTF library</td>
-  </tr>
-<tr bgcolor="#cccccc" valign="baseline">
-    <td bgcolor="#ccccff" width="292"><b>JPG Support</b></td>
-    <td align="left" width="293">enabled</td>
-  </tr>
-<tr bgcolor="#cccccc" valign="baseline">
-    <td bgcolor="#ccccff" width="292"><b>PNG Support</b></td>
-    <td align="left" width="293">enabled</td>
-  </tr>
-<tr bgcolor="#cccccc" valign="baseline">
-    <td bgcolor="#ccccff" width="292"><b>WBMP Support</b></td>
-    <td align="left" width="293">enabled</td>
-  </tr>
-</tbody></table>
-<br />
-<b>NOTEZ que laisser "info-version.php"
-sur votre serveur peut repr&eacute;senter un risque majeur pour l'int&eacute;grit&eacute;
-de votre web</b><i> (il existe effectivement des esprits malveillant)</i><br />
-Apr&egrave;s avoir constat&eacute; la version de votre librairie graphique GD
-supprimez le fichier "info-version.php" ou d&eacute;placez-le vers un
-dossier prot&eacute;g&eacute; par un mot de passe.<br />
-<br />
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Lorsque vous &ecirc;tes connect&eacute; sur votre
-Galerie <b>Coppermine 1.4.x en Mode Admin</b>, il y a le fichier "<b>phpinfo.php</b>"
-que vous pouvez ex&eacute;cuter pour connaitre d'autres infos. Faites alors :
-<i>http://VotreWwWeb .com/phpinfo.php</i><br />
-<br />
-<br />
-<div class="back">[<a href="#top">Haut de page</a>]</div><hr />
-<a name="GD1vsGD2"></a>
-<h3>Quelles sont les diff&eacute;rences entre GD1 and GD2 ? </h3>
-<p><b>GD2</b> produit de meilleurs r&eacute;sultats que <b>GD1</b> pour la cr&eacute;ation
-  des images interm&eacute;diaires et des vignettes (intermediate
-  and thumbnails)
-<table class="frame2" border="0" width="323">
-  <tbody><tr>
-    <td colspan="2">
-      <div align="center"><span class="winzig">Exemple depuis <a href="http://www.vddh.com/wnailer/index.php?pag=res&amp;pic=1#comp" class="external">w-nailer:
-        about resizing</a><br />
-        (Taille originale : 1024 x 768 pixels)</span></div>
-    </td>
-  </tr><tr>
-    <td align="center" width="156"><img src="http://coppermine.sourceforge.net/images/128x96gd1.jpg" alt="" title="GD1" border="0" height="96" width="128"></td>
-    <td align="center" width="157"><img src="http://coppermine.sourceforge.net/images/128x96gd2.jpg" alt="" title="GD2" border="0" height="96" width="128"></td>
-  </tr><tr>
-    <td align="center" width="156"><span class="winzig"><b>GD 1</b>.8.4 :<br />
-      ImageCreate<br />
-      ImageCopyResized<br />
-      128 x 96 pixels</span></td>
-    <td align="center" width="157"><span class="winzig"><b>GD 2</b>.0.1 :<br />
-      ImageCreateTrueColor<br />
-      ImageCopyResampled<br />
-      128 x 96 pixels</span></td>
-  </tr></tbody></table>
-<b>Faire une mise &agrave; jour de GD</b> alors que des images sont d&eacute;j&agrave;
-install&eacute;es dans Coppermine n'aura <b>aucune influence de qualit&eacute;</b>
-sur ces images.<b> Seuls les nouvelles images profiteront d'un gain de qualit&eacute;</b>.<br />
-<b>Vous ne pouvez pas faire de mise &agrave; jour de GD si vous n'&ecirc;tes pas
-propri&eacute;taire de votre serveur. Seuls les h&eacute;bergeurs peuvent le faire
-!</b><br />
-</p>
-  <div class="back">[<a href="#top">Haut de page</a>]</div>
-<hr />
-<a name="InstallSteps"></a>
-<h3>Quelles sont les &eacute;tapes pour voir Coppermine fonctionner ?</h3>
-<p>Comme en fait &eacute;tat le fichier <a href="http://expo.pays-dignois.com/docs_cpg4/README-fr.html"><b>Readme-fr</b></a>
-  pr&eacute;sent dans la documentation Coppermine :
-</p><ol>
-  <li>T&eacute;l&eacute;chargez l'archive <b>Coppermine</b> (Download
-    Coppermine)</li>
-  <li>D&eacute;zippez l'archive sur votre disque dur (Unzip it
-    to your harddrive)</li>
-  <li>T&eacute;l&eacute;chargez vers votre serveur les fichiers <b>Coppermine</b>
-    (Upload the stuff to your server)</li>
-  <li>Afin que Coppermine puisse avoir des droits d'acc&egrave;s en Lecture/Ecriture
-    sur votre serveur, il faut faire un <b>CHMOD 777</b> aux dossiers "<i>include</i>"
-    et" <i>albums</i>".</li>
-  <li>Pointez votre navigateur sur <i>http://VotreCoppermine .com/install.php</i>
-    et suivez les instructions qui s'afficheront.<br />
-    Les Tables MySQL seront cr&eacute;&eacute;es &agrave; ce moment l&agrave;,
-    et la Configuration sera cr&eacute;e avec les valeurs par d&eacute;faut.</li>
-  <li>Apr&egrave;s une installation r&eacute;ussie, <b>pour des raisons de s&eacute;curit&eacute;
-    vous devrez supprimer le fichier "install.php" de votre serveur</b>.</li>
-  <li>Pointez votre navigateur vers <i>http://VotreCoppermine.com/</i> <b>Connectez-vous
-    en tant qu'Administrateur</b>. Passez en <b>Mode Admin</b> (si
-    vous &ecirc;tes en <b>Mode Utilisateur</b>) et <b>Utilisez la barre
-    de menu r&eacute;serv&eacute;e aux Administrateurs</b> de la Galerie.<br />
-    <b>Les r&eacute;glages</b> et le <b>d&eacute;but de la personalisation</b>
-    de votre <b>Coppermine</b> passent par cette barre. (ci-dessous)<br />
-    <img src="pics/barre_menu_fr.gif" alt="Capture d'&eacute;cran de la barre de Menu du Mode Admin (theme classic)" height="19" width="766"></li>
-  <br />
-  <li>Cliquez &agrave; <i>par-ci par-l&agrave;</i>, jouez avec les boutons, et
-    testez si tout fonctionne correctement. (testez en local)</li>
-  <li>Annoncez la publication de votre Galerie, par exemple depuis votre Homepage)</li>
-</ol>
-<br />
-<div class="back">[<a href="#top">Haut de page</a>]</div><hr />
-<a name="installIMwhenHosted"></a>
-<h3>Comment installer ImageMagick ou GD ?</h3>
-<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Vous ne pouvez pas installer <b>IM </b>ou <b>GD</b>
-  que si vous n'&ecirc;tes pas propri&eacute;taire de votre serveur (<a href="#enableIMonWindows">installer
-  ImageMagic ou GD sur votre serveur web personnel</a>) sauf si vous avez
-  des droits d'acc&egrave;s "<i>au coeur</i>" de votre serveur !<br />
-  Si votre votre <b>Galerie Coppermine</b> est chez un h&eacute;bergeur, <b>assurez-vous
-  que votre espace web est &eacute;quip&eacute; de IM ou GD</b>. Si tel n'est
-  pas le cas, demandez &agrave; votre h&eacute;bergeur de l'installer, ... sinon
-  cherchez un autre h&eacute;bergeur !<br />
-</p>
-<br /><div class="back">[<a href="#top">Haut de page</a>]</div><hr />
-<a name="minimumInstall"></a>
-<h3>Je ne poss&egrave;de qu'un petit espace Web pour mes photos,<br />
-  y-a-t-il une "<u>Installation</u> <u>Minimum</u>" de Coppermine ?<br />
-</h3>
-<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Il y a une nette contradiction dans cette question
-  !<br />
-  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Ne perdez pas de vue que vous avez install&eacute;
-  une galerie de photos ! Photos qui par essence demanderont un espace important
-  sur votre web !<br />
-  Cependant, si vous voulez installer une petite galerie, avec uniquement quelques
-  images de petites dimensions et &eacute;conomiser le maximum de place : c'est
-  possible. Il est techniquement envisageable de supprimer quelques fichiers d&eacute;j&agrave;
-  t&eacute;l&eacute;charg&eacute;s, ou de ne pas t&eacute;l&eacute;charger tous
-  les fichiers de Coppermine lors de l'installation.<br />
-  Ceci &eacute;tant dit, ce n'est r&eacute;serv&eacute; qu'aux utilisateurs exp&eacute;riment&eacute;s
-  ou &agrave; ceux qui n'ont pas peur ;-)<br />
-  Si vous avez un doute, faites une installation compl&egrave;te.<br />
-  <br />
-  Quelques pistes pour gagner de la place,<br />
-  pour les utilisateurs exp&eacute;riment&eacute;s et responsables uniquement
-  :<br />
-</p>
-<ol>
-  <li><b>Supprimez tous les fichiers des langues sauf "french.php" pour
-    nous Francophones. </b>(vous ne visez que votre langue, et
-    oubliez tous les pays alentours !)<br />
-    Ne conservez que le fichier de language qui vous interresse, ce n'est pas
-    forc&eacute;ment le Franais ! (french.php)<br />
-    Nous vous recommandons quand m&ecirc;me de conserver l'anglais, langue internationale.
-    En cas de coup dur majeur, cela peut permettre en outre aux Concepteurs, Mod&eacute;rateurs
-    ou utilisateurs Anglophones de Coppermine de naviguer correctement dans votre
-    galerie et de vous venir en aide via les Forums Coppermine. (<a href="http://coppermine.sourceforge.net/board/index.php?board=38.0" title="Forum Coppermine Francophone, mais pas anglophobe !">forum
-    Coppermine en Franais</a>)<br />
-    Supprimez tous les fichiers du dossier "<i>/lang/</i>" excecpt&eacute;
-    vle language que vous d&eacute;sirez conserver. Par exemple pour ne conserver
-    que le Franais, supprimez tous les fichiers sauf "<i>/lang/french.php</i>"
-    et "<i>/lang/french-utf-8.php</i>". <br />
-    L'espace web que vous pouvez &eacute;conomiser au maximum
-    est de <b>2.9 MB</b> </li>
-  <br />
-  <br />
-  <li><b>Supprimez tous les fichiers de Langage encod&eacute;s inutiles</b><br />
-    Avez-vous not&eacute; que dans le dossier "<i>/lang/</i>" chaque
-    langage poss&egrave;de deux fichiers : par exemple <i>french.php</i> et <i>french-utf-8.php</i>
-    ?<br />
-    Vous n'avez besoin des fichiers <b>utf-8</b> que si vous avez choisi "<b>Unicode(utf-8)</b>",
-    page <b>Configuration de Coppermine</b> et le menu d&eacute;roulant "<b>Character
-    Encoding</b>".<br />
-    <img src="pics/barre_menu_fr.gif" alt="Cliquez le Bouton &quot;Configuration&quot; pour valider ou non UTF-8 (Mode Admin) (theme classic)" height="19" width="766"><br />
-    Si vous avez choisi d'utiliser "<b>Unicode(utf-8)</b>", votre Galerie
-    Coppermine sera affich&eacute;e par les navigateurs de vos visiteurs selon
-    les r&eacute;glages que ceux-ci auront choisi.<br />
-    Si vous avez d&eacute;cid&eacute; de ne pas utiliser UTF-8, vous pouvez effacer
-    tous les fichiers portant dans leur nom utf-8.<br />
-    L'espace web que vous pouvez &eacute;conomiser au maximum
-    est de <b>1.7 MB</b></li>
-  <br />
-  <br />
-  <li><b>Supprimez tous les Th&egrave;mes Coppermine inutiles</b><br />
-    Vous pouvez sans probl&egrave;me supprimer de votre dossier "<i>/Themes/</i>",
-    tous les th&egrave;mes que vous ne d&eacute;sirez pas rendre disponible &agrave;
-    vos internautes.<br />
-    Si vous utilisez un Th&egrave;me que vous avez conu vous-m&ecirc;me,
-    ou un Th&egrave;me personalis&eacute; t&eacute;l&eacute;charg&eacute; quelque
-    part sur internet, nous vous recommandons vivement de <b>conserver sur votre
-    web le th&egrave;me Classic</b> livr&eacute; avec Coppermine, ceci afin de
-    permettre l'ouverture de votre galerie en cas de probl&egrave;me avec votre
-    Th&egrave;me personnalis&eacute; !<br />
-    Les Th&egrave;mes que vous pouvez supprimer seront ceux que vous ne pr&eacute;voyer
-    pas d'utiliser, mais conservez <b>Classic</b>.<br />
-    L'espace web que vous pouvez &eacute;conomiser au maximum
-    est de <b>1 MB</b> </li>
-  <br />
-  <br />
-  <li><b>Supprimez la Documentation Coppermine</b><br />
-    Le dossier "<i>/docs/</i>" de Coppermine contient tous les documents
-    n&eacute;cessaires &agrave; la compr&eacute;hension de Coppermine dans son
-    ensemble.<br />
-    Mais il n'est pas utile que ces docs soient sur votre web. Vous pouvez donc
-    supprimer le dossier "<i>/docs/</i>" de votre serveur web (en
-    ligne)<br />
-    Ne supprimez pas la documentation de votre machine locale ! Cette documentation
-    est tr&egrave;s utile ;-)<br />
-    L'espace web que vous pouvez &eacute;conomiser au maximum
-    est de <b>0.5 MB</b></li>
-  <br />
-  <br />
-  <li><b>Supprimez les fichiers "Bridge"</b><br />
-    Les fichiers "<b>Bridge</b>" sont utilis&eacute;s lorsque l'on doit
-    int&eacute;grer et accoupler Coppermine dans des Forums de type <b>phpBB</b>,
-    <b>YaBB SE</b>, <b>SMF</b> etc.<br />
-    <u>Si vous pensez ne pas utiliser l'int&eacute;gration</u> de Coppermine pour
-    un BBS existant, vous pouvez alors <b>supprimer l'int&eacute;gralit&eacute;
-    du dossier "<i>/bridge/</i>"</b> ou ne pas le t&eacute;l&eacute;charger.<br />
-    <u>Si vous pensez utiliser l'int&eacute;gration</u> de Coppermine pour un
-    de vos Forums cit&eacute;s plus haut, n'effacez pas le dossier "<i>/bridge/</i>"
-    mais <b>conservez uniquement le fichier bridge qui correspond &agrave; votre
-    forum</b>.<br />
-    L'espace web que vous pouvez &eacute;conomiser au maximum
-    est de <b>137 KB</b></li>
-  <br />
-  <br />
-  <li><b>Effacer tous les Drapeaux / Flags</b><br />
-    Si vous &ecirc;tes certain de ne pas vouloir utiliser les Drapeaux (flags)
-    "<i>Affichez le drapeau des Langues</i>" dans la Configuration de
-    Coppermine, supprimez le dossier "<i>/flags/</i>" citu&eacute; dans
-    "<i>/votre_dossier_coppemine/images<b>/flags</b></i>".<br />
-    Ce gain d'espace web est envisageable <b>seulement si vous ne voulez pas voir
-    de drapeau</b>, <b>cel&agrave; n'emp&ecirc;che pas d'offrir d'autres langages</b>
-    &agrave; vos visiteurs.<br />
-    L'espace web que vous pouvez &eacute;conomiser au maximum
-    est de <b>80 KB</b> </li>
-  <br />
-  <br />
-  <li><b>Supprimez tous les fichiers utilis&eacute;s lors de l'installation de
-    Coppermine<br />
-    &nbsp;ainsi que les fichiers neccessaires aux Upgrades ou mises &agrave; jour
-    de Coppermine</b><br />
-    Une fois Coppermine correctement install&eacute; et test&eacute;, vous pouvez
-    supprimer les fichiers utilis&eacute;s lors de l'install.<br />
-    Dans le dossier racine de Coppermine, localisez et effacez : <i>install.php,
-    installer.css, update.php, upgrade-1.0-to-1.2.php</i>.<br />
-    Vous pouvez &eacute;galement supprimer le dossier "<i>/sql/</i>".<br />
-    <br />
-    N'oubliez pas que <u>si vous pr&eacute;voyez dans l'avenir une mise &agrave;
-    jour de Coppermine</u>, <u>vous serez obliger de t&eacute;l&eacute;charger
-    de nouveau les fichers que vous venez de supprimer</u>. M&ecirc;me chose pour
-    le dossier "<i>/sql/</i>".<br />
-    L'espace web que vous pouvez &eacute;conomiser au maximum
-    est de <b>73 KB</b> </li>
-</ol>
-<p class="code" align="center">En
-  r&eacute;sum&eacute;, <b>une installation minimun de Coppermine consommera environ
-  3.3 MB</b> de votre espace web.</p>
-<p><br />
-</p>
-<div class="back">[<a href="#top">Haut de page</a>]</div><hr />
-<a name="uploadGeneralTroubleshooting"></a>
-<h2>Upload</h2>
-
-
-<h3>Recommandations G&eacute;n&eacute;rales pour l'Upload (CHMOD/T&eacute;l&eacute;chargements)<br />
-  D&eacute;pannage des probl&egrave;mes g&eacute;n&eacute;raux de t&eacute;l&eacute;chargement (Upload)</h3>
-<p>Si vous rencontre des probl&egrave;mes de t&eacute;l&eacute;chargement avec CPG 1.3, vous devriez changer
-le parametrage des t&eacute;l&eacute;chargements dans le panneau de gestion des groupes &agrave; <i>'un seul fichier uniquement'</i> et
-activer le mode <i>'Debuggage'</i> dans la page de configuration. Changer ce param&eacute;trage
-annule certaines erreurs masqu&eacute;es lors des t&eacute;l&eacute;chargements multiples.
-Vous aurez ainsi acc&egrave;s &agrave; des messages d'erreur plus d&eacute;taill&eacute;s.</p>
-<p><span class="important">En premier et avant toute chose: v&eacute;rifiez vos droits pour les r&eacute;pertoires
- /albums, /albums/userpics, et /albums/edit. Toutes (CHMOD)
-devraient &ecirc;tre sur 777 ou 755.</span><br /><br />Si vous ne savez pas de quoi nous parlons en &eacute;crivant
- 777 ou 755, faites une recherche Google sur les droits sur les fichiers UNIX.
-  Windows a le m&ecirc;me type de droits pour ses fichiers. Vous pouvez g&eacute;n&eacute;ralement
-parametrer ces droits en utilisant votre client FTP.<br />
-Pour ceux qui auraient pass&eacute; outre les conseils &eacute;crits en rouge, Je vais r&eacute;peter pour essayer d'attirer votre attention:
-<br />
-<span class="important">Oui , nous avons &eacute;crit quelque chose que VOUS devez faire.
-<br />&nbsp;<br />
-Nous r&eacute;petons -- v&eacute;rifiez vos droits pour les r&eacute;pertoires <tt class="code">/albums</tt>, <tt class="code">/albums/userpics</tt>, et <tt class="code">/albums/edit</tt> .  Tous doivent &ecirc;tre &agrave; 777 ou 755.
-<br />&nbsp;<br />
-Oui, nous vous demandons de v&eacute;rifier les droits de chaque r&eacute;pertoire, m&ecirc;me si vous pensez que vous l'avez d&eacute;j&agrave; fait. Oui, nous vous le redemandons.</span>
-</p>
-<p>S'il vous plait, comprenez que les t&eacute;l&eacute;chargements HTTP sont limit&eacute;s par des restrictions se trouvant dans la configuration de PHP.</p>
-<br />&nbsp;<br />
-<b>Les points &agrave; v&eacute;rifier:</b>
-<ol>
-<li><b>max_input_time</b>- 60 seconds est la limite de temps pour t&eacute;l&eacute;charger des fichiers.<br />
-Cette limite de temps inclue la dur&eacute;e n&eacute;cessaire &agrave; t&eacute;l&eacute;charger les fichiers, donc si
-vous d&eacute;passez cette limite, le fichier ne sera m&ecirc;me pas analys&eacute;, et le navigateur n'aura pas de r&eacute;ponse
-. Vous pouvez r&eacute;soudre ce probl&egrave;me en essayant de t&eacute;l&eacute;charger des fichiers plus petits ou moins nombreux, ou vous pouvez essayer de t&eacute;l&eacute;charger avec une plus grande bande passante.
-La meilleure solution est, bien sur, d'augmenter la limite de temps &agrave; une valeur sup&eacute;rieure &agrave; celle necessaire.</li>
-<li><b>upload_max_filesize</b> - 2MB est la valeur par d&eacute;faut pour la taille de chaque fichier individuellement.</li>
-<li><b>post_max_size</b> - 8MB est la limite par d&eacute;faut pour chaque requ&ecirc;te.</li>
-<li><b>memory_limit</b> - 8MB est la taille par d&eacute;faut.</li>
-<li>La limite par d&eacute;faut <b>LimitRequestBody</b> de PHP est de - 512KB . (principalement un probl&egrave;me sur les syst&egrave;mes Redhat/Apache.  Trouv&eacute; dans /etc/http/conf.d)<br />
-En g&eacute;n&eacute;ral, upload_max_filesize &lt; post_max_size &lt; memory_limit permettent de t&eacute;l&eacute;charger correctement.
-Coppermine peut vous pr&eacute;venir si un fichier d&eacute;passe la valeur de
- upload_max_filesize, mais il ne peut pas vous pr&eacute;venir si tous les fichiers d&eacute;passent la limite maximale par requete ou pour la m&eacute;moire.</li>
-  <li><b>file_uploads</b> ? D&eacute;termine si PHP autorise le t&eacute;l&eacute;chargement de fichiers. Il doit &ecirc;tre param&eacute;tr&eacute; &agrave; "<i>On</i>".</li>
-<li><b>upload_tmp_dir</b> ? D&eacute;termine le r&eacute;pertoire temporaire ou PHP Stocke les fichiers t&eacute;l&eacute;charg&eacute;s.</li>
-</ol>
-
-<p>Le probl&egrave;me le plus courrant est une alerte <i>open_basedir</i>
-. Dans ce cas, l'administrateur de votre serveur a limit&eacute; les fichiers avec lesquels PHP peut travailler &agrave; certains r&eacute;pertoires.
-si il n'a pas cr&eacute;e et sp&eacute;cifi&eacute; de r&eacute;pertoire temporaire dans la restriction <i>open_basedir</i>,
- PHP va essayer d'utiliser le r&eacute;pertoire temporaire de votre Syst&egrave;me d'exploitation,
-et sera repouss&eacute; par la restriction <i>open_basedir</i>.</p>
-
-<p><b>Quelques informations concernnat les diff&eacute;rents mechanismes de t&eacute;l&eacute;chargement dans CPG 1.3:</b><br />
-Les t&eacute;l&eacute;chargements multiples par HTTP sont pr&eacute;vus pour g&eacute;rer un petit nombre de fichiers
- et ont &eacute;t&eacute;s limit&eacute;s &agrave; 10. Toutefois, il n'y a pas r&eacute;ellement de limites si vous aves le controle sur la configuration de votre php.ini
- <br />Si vous cherchez &agrave; t&eacute;l&eacute;charger plus de 15 ou 20 fichiers en une fois
-, vous devriez utiliser la fonction de t&eacute;l&eacute;chargement par lot (batch add)ou l'utilitaire XP_Publisher.
-Chacun ayant ses avantages et ses inconv&eacute;nients.
-<br />La fonction de t&eacute;l&eacute;chargement par lots est rapide, mais il charge le serveur et vous pouvez avoir des d&eacute;passements de limite de temps (time_out).
- L'utilitaire XP Publisher est plus lent,
-mais limite la charge du serveur. Il &eacute;vite aussi plusieurs probl&egrave;mes cqus&eacute;s par la configuration du
- php.ini en t&eacute;l&eacute;chargeant chaque fichier de l'ensemble comme une requete individuelle.</p>
-
-<br /><div class="back">[<a href="#top">Haut de page</a>]</div><hr />
-
-<h2>Messages d'Erreurs</h2>
-
-<a name="errormessage"></a>
-<h3>Durant l'intallation, je reois un message : <tt class="code"> &nbsp;Fatal
-  error: Call to undefined function: imagecreatefromjpeg() in /include/picmgmt.inc.php
-  on line 168&nbsp;</tt>. Qu'est-ce-que cel&agrave; signifie ? <br />
-</h3>
-<p>Ce message d'erreur signifie que le PHP install&eacute; sur votre serveur ne
-  supporte pas la librairie graphique <b>GD</b>, et n'est donc pas install&eacute;
-  sur votre serveur.<br />
-  Si la suite logiciel <b>ImageMagick</b> est install&eacute;e sur votre serveur,
-  vous pouvez tenter de l'utiliser &agrave; la place de <b>GD</b>.<br />
-  La librairie graphique <b>GD</b> est d&eacute;sormais livr&eacute; en standard
-  avec les versions r&eacute;centes de PHP.<br />
-  <br />
-  <b>Coppermine ne peut pas fonctionner si ni GD ni ImageMagick ne sont install&eacute;s
-  sur votre serveur</b>.<br />
-  <br />
-</p>
-
-<br /><div class="back">[<a href="#top">Haut de page</a>]</div><hr />
-<a name="mkdirPermissionDenied"></a>
-<h3>Durant l'installation, je reois ce message d'erreur <tt class="code">Warning:
-  mkdir(dummy) [function.mkdir]: Permission denied in /your/path/to/coppermine/install.php
-  on line 126</tt> Qu'est-ce-que cel&agrave; signifie ?</h3>
-<p>Le script de <b>Coppermine doit poss&eacute;der les droits</b> n&eacute;cessaires
-  <b>pour cr&eacute;er et supprimer des fichiers</b>.
-</p><ul>
-  <li>Sous un serveur<b>*nix/linux</b> :<br />
-    Il faut faire un <b>CHMOD 755</b> (rwxr-xr-x) du dossier de Coppermine ansi
-    que tous ses sous-dossiers.<br />
-    Pour en savoir plus sur l'action CHMOD visitez le site web suivant : <a href="http://www.google.com/search?q=chmod+tutorial" class="external">fine
-    chmod tutorials</a></li>
-  <li>Sous <b>Windows/IIS</b> :<br />
-    V&eacute;rifiez si l'utilisateur du serveur web o&ugrave; sont ex&eacute;cut&eacute;s
-    le scripts PHP poss&egrave;de suffisament de droits d'acc&egrave;s en lecture,
-    modification, supression.... sur le dossier Coppermine. Pour savoir comment
-    faire, contratcez votreh&eacute;bergeur ou lisez les manuels concernant le
-    serveur qui vous interesse.</li>
-  <li>sous <b>Windows/Apache</b> :<br />
-    V&eacute;rifiez les droits d'acc&egrave;s du syst&egrave;me de fichiers. Check
-    the account Apache runs under an set the rights in the file-system. </li>
-</ul>
-<br /><p></p><br /><div class="back">[<a href="#top">Haut de page</a>]</div><hr />
-<a name="EmptyDelimiter"></a>
-<h3>Je reois cette erreur "<tt class="code">&nbsp;Warning: Empty
-  Delimiter in search.inc.php line 33&nbsp;</tt>". Que puis-je faire ?</h3>
-<p>Editez le fichier <b>include/search.inc.php</b><br />
-  Cherchez la ligne suivante :<br />
-  <tt class="code">$charset = $CONFIG['charset'] == 'language file' ? $lang_charset : $CONFIG['charset'];</tt><br />
-  et replacez-la par celle-ci :<br />
-<tt class="code">$charset = $CONFIG['charset'] == 'language file' ? $GLOBALS['lang_charset'] : $CONFIG['charset'];</tt><br /></p><br /><div class="back">[<a href="#top">Haut de page</a>]</div><hr />
-<a name="zerosizedreply"></a>
-<h3>Je reois cette erreur pendant l'installation :&nbsp;<span class="code">&nbsp;Zero
-  Sized Reply&nbsp;</span> . Que puis-je faire ?</h3>
-<p>Quelques utilisateurs ont d&eacute;j&agrave; reu le message d'erreur
-  suivant durant l'installation :<br />
-  <br />
-
-</p><pre>While trying to retrieve the URL: http://yoursite.com/coppermine/install.php
-The system returned:
-Zero Sized Reply
-Reason:
-The remote server did not reply any data for this request.
-Please try again later</pre>
-<br />
-&nbsp;&nbsp;&nbsp; Nous ne savons pas pourquoi cel&agrave; arrive sur certaines
-configurations !<br />
-<b>Ceux d'entre vous qui recevront un tel message d'erreur
-ne pourront pas installer Coppermine, h&eacute;las</b>, nous en sommes
-tr&egrave;s sinc&egrave;rement d&eacute;sol&eacute;.<br />
-&nbsp;&nbsp;&nbsp;Si vous avez une id&eacute;e sur la cause d'un tel d&eacute;sagr&eacute;ment,
-et si en plus vous poss&egrave;dez une solution, s'il vous plait, rendez-nous
-visite sur un de <b>nos Forums Coppermine</b> :-) et partagez vos connaissances
-avec l'ensemble des utilisateurs de Coppermine.<br />
-<br />
-<b>Merci par avance.</b><br />
-<p></p>
-<p><b><a href="http://coppermine.sourceforge.net/board/index.php?board=38.0">http://coppermine.sourceforge.net/board/index.php?board=38.0
-  </a> Forum Coppermine en Franais<br />
-  </b>ou encore :<b> <a href="http://coppermine.sourceforge.net/board/"><br />
-  Support forums for Coppermine Photo Gallery</a></b> en anglais.</p>
-<br /><div class="back">[<a href="#top">Haut de page</a>]</div><hr />
-<a name="ErrorUndefinedIndex"></a>
-<h3> Je reois ce message <tt class="code">Warning: Undefined index: SCRIPT_NAME
-  in /www.your-domain.com/include/init.inc.php on line 90</tt>.<br />
-  Que dois-je faire ?</h3>
-<p>Editez (apr&egrave;s avoir fait une copie de secours)
-  le fichier <b>include/init.inc.php</b> :<br />
-  Modifiez la ligne suivante :<br />
-</p><pre>$PHP_SELF = isset($_SERVER['REDIRECT_URL']) ? $_SERVER['REDIRECT_URL'] : $_SERVER['SCRIPT_NAME'];</pre>
-par celle-ci :<br />
-<pre>$PHP_SELF = $_SERVER['PHP_SELF'];</pre>
-<p></p><br /><div class="back">[<a href="#top">Haut de page</a>]</div><hr />
-<a name="ErrorCantMovePic"></a>
-<h3>Quand un Utilisateur tente d'uploader une image, je reois ce message
-  d'erreur :<br />
-  <tt class="code">&nbsp;Impossible to move somepic.jpg to albums/userpics/ |
-  Warning: move_uploaded_file(/tmp/phpezCYKr) [function.move-uploaded-file]: failed
-  to create stream: Operation not permitted&nbsp;</tt><br />
-  Que se passe-t-il, o&ugrave; est l'erreur ?</h3>
-<p>Vous devez contacter l'administrateur de votre serveur tout simplement parce
-  que vous ne pouvez pas modifier vous-m&ecirc;me la location du dossier <i>temporaire</i>
-  utilis&eacute; pour le t&eacute;l&eacute;chargement des vos fichiers vers votre
-  serveur (sauf si vous &ecirc;tes l'administrateur en question)<br />
-  Si la restriction <i>Open Base Dir</i> est en fonction sur votre site, le dossier
-  <i>temporaire</i> doit faire partie des dossiers aupr&egrave;s desquels vous
-  avez des droits d'acc&egrave;s.<br />
-  <br />
-</p>
-<div class="back">[<a href="#top">Haut de page</a>]</div><hr />
-<a name="httpPostVars"></a>
-<h3> Durant le t&eacute;l&eacute;chargement d'une image vers mon serveur, je reois
-  ce message <span class="code">&nbsp;Warning: Undefined variable: HTTP_POST_VARS
-  in include/init.inc.php on line 43 </span>&nbsp;&nbsp;Que dois-je faire ?<br />
-</h3>
-<p>&nbsp;&nbsp;&nbsp;V&eacute;rifiez si votre <a href="#VersionPHP">version de
-  PHP</a> correspond au <a href="#MinimumRequirements">minimum requits</a> pour
-  faire fonctionner <b>Coppermine</b>.<br />
-  Si la version de votre PHP est la 4.1.0 ou mieux, l'erreur est probablement
-  caus&eacute;e par une mauvaise configuration de votre serveur, et non pas un
-  <i>bug</i> de Coppermine.<br />
-  Dans le cas de figure o&ugrave; vous ne seriez pas propri&eacute;taire de votre
-  serveur, mais h&eacute;berg&eacute; chez un prestataire de service gratuit ou
-  pas, <b>vous pouvez tentez &agrave; vos risques et p&eacute;rils
-  la possibilit&eacute; suivante</b> :<br />
-  <br />
-  <b>Editez le fichier Init.inc.php et recherchez</b> :<br />
-
-</p><pre>$PHP_SELF = isset($_SERVER['REDIRECT_URL']) ? $_SERVER['REDIRECT_URL'] : $_SERVER['SCRIPT_NAME'];</pre>
-<br />
-Replacez le code ci-dessus, par le suivant
-<pre>$PHP_SELF = $_SERVER['PHP_SELF'];</pre><br /><p></p><br /><div class="back">[<a href="#top">Haut de page</a>]</div><hr />
-
-<br />&nbsp;<br />
-<h2>Setup / R&eacute;glages / Configuration</h2>
-<a name="LinkInAlbumDescription"></a>
-<h3>Inclure un <u>Lien</u> dans la Description d'un Album ou dans la l&eacute;gende
-  d'une image ?</h3>
-<p><b>Coppermine</b> interpr&egrave;te les <b>bbCodes</b> suivants dans les descriptions
-  des images et des albums :<br />
-  (les m&ecirc;me <b>bbCodes</b> utilis&eacute;s par <b>phpBB</b>)<br />
-  <br />
-  </p>
-<table border="0">
-<tbody><tr>
-<th>code</th>
-    <th>r&eacute;sultat</th>
-</tr>
-<tr><td><pre>[b]bold text[/b]</pre></td><td><b>bold text</b></td></tr>
-<tr><td><pre>[i]italic[/i]</pre></td><td><i>italic</i></td></tr>
-<tr><td><pre>[url=http://www.foo.com/bar.html]URL text[/url]</pre></td><td><a href="http://www.foo.com/bar.html">URL text</a></td></tr>
-<tr><td><pre>[email]user@domain.tld[/email]</pre></td><td><a href="mailto:user@domain.tld">user@domain.tld</a></td></tr>
-</tbody></table>
-
-
-
-
-<div class="back">[<a href="#top">Haut de page</a>]</div><hr />
-<a name="NoLastUploads"></a>
-<h3>Comment faire pour &eacute;diter ce qui sera affich&eacute; ou non sur la
-  premi&egrave;re page de ma Galerie Coppermine ?<br />
-  Ne pas afficher mes Nouvelles Images sur ma page d'acueuil.<br />
-  <br />
-</h3>
-<p>
-</p><ol>
-  <li>Connectez-vous en tant qu'<b>Administrateur</b> de Copermine.</li>
-
-  <li>Cliquez sur <b>Admin Mode</b> si ce n'est pas d&eacute;j&agrave; fait.</li>
-  <li>Cliquez sur <b>Config</b> dans le <b>Menu Admin</b>.</li>
-  <li>Sous "Album list view" utilisez les mots-clefs suivant :
-    <ul>
-      <li>'<b>breadcrumb</b>' : <i>(miettes de pain !)</i>
-        Affichera une ligne en <i>mode texte</i> pour la navigation dans votre
-        Galerie (expl :"Index Albums &gt; Categorie &gt;
-        sous-categorie &gt; Album")</li>
-      <li>'<b>catlist</b>': Affichera la liste des cat&eacute;gories.
-      </li><li>'<b>alblist</b>' : Liste des Albums.
-      </li><li>'<b>random</b>' : Affichera al&eacute;atoirement les images de votre
-        galerie. Il n'est pas conseill&eacute; de laisser cette option "<i>random</i>"
-        pour des galeries qui auraient plus de 10.000 images. Il peut en r&eacute;sulter
-        des d&eacute;sastres de performances ! Si c'est le cas de votre galerie
-        n'utilisez pas "<i>random</i>".
-      </li><li>'<b>lastup</b>' : Les Nouvelles Images t&eacute;l&eacute;charg&eacute;es
-        sur votre serveur.
-      </li><li>'<b>topn</b>' : Les Images les plus regard&eacute;es.
-      </li><li>'<b>toprated</b>' : Les images les mieux not&eacute;es.
-      </li><li>'<b>lastcom</b>' : Les derniers commentaires.</li>
-      <li>'<b>lasthits</b>' : Les derni&egrave;res images vues par vos visiteurs.</li>
-      <li>'<b>anycontent</b>' :<br />
-        <br />
-        L'option <b>anycontent</b> et le fichier <b>anycontent.php</b> ont &eacute;t&eacute;
-        conu pour que vous puissiez y inclure du <i>PHP</i> ou du <i>HTML</i>.
-        C'est avec <b>anycontent.php</b> que vous pourrez inclure une <b>Banni&egrave;re
-        Rotative</b>, un fichier <b>FLASH</b>, ou un <b>simple Texte de Bienvenue</b>.<br />
-        Pour que <b>anycontent</b> apparraisse en premi&egrave;re page de votre
-        galerie Coppermine, ou la <b>page Configuration</b> o&ugrave; vous devrez
-        d&eacute;clarer cette option de la mani&egrave;re suivante : <tt class="code">anycontent/catlist/alblist/random,<b>2</b>/lastup,<b>2</b>
-        <br />
-        <br />
-        </tt> Ces options signifient et afficheront <b>anycontent</b> en haut
-        de page, <b>catlist</b> la liste des Cat&eacute;gories, <b>alblist</b>
-        la liste des Albums, <b>random</b> affichage al&eacute;atoire et vignettes
-        sur <b>2</b> lignes, <b>lastup</b> les derniers t&eacute;l&eacute;chargements
-        sur <b>2</b> lignes.<br />
-        <a href="http://coppermine.sourceforge.net/board/index.php?topic=12681.0">Voir
-        un sujet complet sur "<b>Anycontent.php</b>" (forum<b> Coppermine
-        en Franais</b>)</a></li>
-    </ul>
-  </li>
-</ol>
-<br /><p></p><br /><div class="back">[<a href="#top">Haut de page</a>]</div><hr />
-<a name="editCopyrights"></a>
-<h3>Comment effacer ou modifier cette ligne en bas de page "<tt class="code">Powered
-  by Coppermine</tt>" ? ?</h3>
-<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<b>Vous ne pouvez pas supprimer
-  la ligne "<tt class="code">Powered by Coppermine</tt>"
-  !</b><br />
-  Cel&agrave; fait partie du "<b>contrat moral</b>" du <b>logiciel GRATUIT
-  Coppermine</b> que vous vous &ecirc;tes engag&eacute; &agrave; <b>respecter
-  en installant le logiciel et en laissant le Copyright Coppermine en bas de page</b>.<br />
-  Souvenez-vous que Coppermine est d&eacute;velopp&eacute; par un groupement de
-  personnes toutes b&eacute;n&eacute;voles !<br />
-  Comme le souligne <i><b><a href="http://coppermine.sourceforge.net/faq.php">GauGau</a></b></i>
-  <b>dans les FAQ en anglais</b> : &lt;&lt; <i>Note: don't ask stupid questions
-  on removing this line in the <a href="http://coppermine.sourceforge.net/board/">Coppermine
-  Photo Gallery Support Board</a> - your posting will be deleted !</i> &gt;&gt;<br />
-  Autrement dit, les <b>questions relatives &agrave; la suppression du (c)opyright
-  Coppermine</b> sur le Forum aussi bien en anglais qu'en franais ou chinois,
-  <b>seront imm&eacute;diatement supprim&eacute;es</b> !</p>
-<p>N&eacute;anmoins, vous avez la possibilit&eacute; de modifier la <i>CLASS CSS
-  FOOTER</i> qui correspond au <b>Copyright Coppermine</b>.<br />
-  Vous pouvez ainsi l'int&eacute;grer aux couleurs de vos Th&egrave;mes.<br />
-  <br />
-  <br />
-</p>
-<div class="back">[<a href="#top">Haut de page</a>]</div><hr />
-<a name="buyLicense"></a>
-<h3>Je veux acheter une Licence Coppermine pour supprimer la ligne "<tt class="code">Powered
-  by Coppermine</tt>", comment faire ? <br />
-</h3>
-<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<b>Coppermine</b> et son d&eacute;veloppement,
-  sont bas&eacute;s sur l'<i>OpenSource</i> et les licences d'utilisation <i>GNU
-  / GPL</i>. Autrement dit, il est possible &agrave; chacun d'apporter sa contribution
-  au d&eacute;veloppement de Coppermine sans pouvoir esp&eacute;rer r&eacute;tribution,
-  ni esp&eacute;rer vendre tot ou partie du code ! <b>Coppermine est gratuit</b>,
-  et n'est ni &agrave; acheter ni &agrave; vendre !<br />
-  Pour en savoir plus, ouvrez le fichier <b><u>COPYING</u></b> livr&eacute; avec
-  le <b>pack d'installation de Coppermine.</b><br />
-  <br />
-</p>
-<br /><div class="back">[<a href="#top">Haut de page</a>]</div><hr />
-<a name="removeFeature"></a>
-<h3>Je ne veux pas utiliser certaines fonctions de Coppermine. Comment les supprimer
-  ? <br />
-</h3>
-<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Il est juste n&eacute;cessaire de supprimer le
-  lien qui ouvre la fonction que vous ne voulez pas voir appara&icirc;tre.<br />
-  <br />
-  &nbsp;&nbsp;- Ouvrez le fichier <i>/themes/votre_theme/</i><b>theme.php</b><br />
-  &nbsp;&nbsp;- Recherchez la fonction &agrave; supprimer, et mettez le code de
-  cette fonction en commentaires HTML "<b>&lt;!-- --&gt;</b>"
-  .<br />
-  Si vous d&eacute;sirez par exemple <b>supprimer la fonction eCards</b> (envoie
-  de e-cartes postales) recherchez le code suivant et mettez-le en commentaire
-  : <br />
-
-</p><pre>&lt;td align="center" valign="middle" class="navmenu" width="48"&gt;
-&lt;a href="{ECARD_TGT}" title="{ECARD_TITLE}"&gt;
-&lt;img src="images/ecard.gif" width="16" height="16" border="0" align="absmiddle" alt="{ECARD_TITLE}"&gt;&lt;/a&gt;
-&lt;/td&gt;</pre>
-comme ceci :<br />
-<pre>&lt;!-- &lt;td align="center" valign="middle" class="navmenu" width="48"&gt;
-&lt;a href="{ECARD_TGT}" title="{ECARD_TITLE}"&gt;
-&lt;img src="images/ecard.gif" width="16" height="16" border="0" align="absmiddle" alt="{ECARD_TITLE}"&gt;&lt;/a&gt;
-&lt;/td&gt; --&gt;</pre>
-<p></p><br /><div class="back">[<a href="#top">Haut de page</a>]</div><hr />
-<a name="customHeader"></a>
-<h3>Comment ajouter une ent&ecirc;te ou un pied de page personnalis&eacute; &agrave;
-  Coppermine?<br />
-</h3>
-<p><b>La personnalisation de Coppermine passe passe 3 fichiers essentiels</b>
-  :<br />
-  - <b>TEMPLATE.HTML</b>, <b>THEME.PHP</b>, <b>STYLE.CSS</b> tous situ&eacute;s
-  dans le dossier du th&egrave;me que vous utilisez.<br />
-</p><ul>
-  <li>Si vous d&eacute;sirez placer du <b>code statique HTML</b>, un logo par
-    exemple, vous devez &eacute;diter le fichier <tt class="code">/themes/votretheme/<b>template.html</b></tt>
-    pour y ajouter ou supprimer ce que vous voulez, avec la plus grande prudence
-    !</li>
-  <li>Si vous d&eacute;sirez placer du <b>code PHP</b>, c'est le fichier <tt class="code">/themes/votreheme/<b>theme.php</b></tt>
-    qu'il faut &eacute;diter.</li>
-  <br />
-  <li>Pour intervenir sur <b>les aspects esth&eacute;tiques de Coppermine</b>,
-    il faut &eacute;diter le fichier <tt class="code">/themes/votretheme/<b>style.css</b></tt></li>
-  <li>Si vous poss&eacute;dez des connaissances en PHP, m&egrave;me un peu, et que vous
-    voulez inclure du code dynamique PHP, recherchez dans <tt class="code">/themes/votretheme/<b>theme.php</b></tt>&nbsp;la
-    ligne suivante&nbsp;<tt class="code"><b> function pageheader&nbsp;</b></tt>&nbsp;modifiez
-    ce qui vous semble utile de changer de la mani&egrave;re suivante :</li>
-</ul>
-<pre>function pageheader($section, $meta = '')
-{
-   global $CONFIG, $THEME_DIR;
-   global $template_header, $lang_charset, $lang_text_dir;
-
-   if(empty($custom_header)){
-      include('/path/your_file.php');
-      static $custom_header = ob_get_contents();
-      ob_clean();
-   }
-
-   header('P3P: CP="CAO DSP COR CURa ADMa DEVa OUR IND PHY ONL UNI COM NAV INT DEM PRE"');
-   user_save_profile();
-
-   $template_vars = array(
-      '{LANG_DIR}' =&gt; $lang_text_dir,
-      '{TITLE}' =&gt; $CONFIG['gallery_name'].' - '.$section,
-      '{CHARSET}' =&gt; $CONFIG['charset'] == 'language file' ? $lang_charset : $CONFIG['charset'],
-      '{META}' =&gt; $meta,
-      '{GAL_NAME}' =&gt; $CONFIG['gallery_name'],
-      '{GAL_DESCRIPTION}' =&gt; $CONFIG['gallery_description'],
-      '{MAIN_MENU}' =&gt; theme_main_menu(),
-      '{ADMIN_MENU}' =&gt; theme_admin_mode_menu(),
-      '{CUSTOM_HEADER}' =&gt; $custom_header,
-   );
-
-   echo template_eval($template_header, $template_vars);
-}</pre>
-<br />
-Vous aurez &eacute;galement besoin de cr&eacute;er un nouveau champs <b>{CUSTOM_HEADER}</b>
-dans le fichier <b>template.html</b>. <br />
-<p></p><br /><div class="back">[<a href="#top">Haut de page</a>]</div><hr />
-<a name="createPublicAlbum"></a>
-<h3>Comment cr&eacute;er un Album o&ugrave; tout le monde peut charger des images
-  dedans ?<br />
-</h3>
-<p><b><u>PREMI&Egrave;REMENT</u> : Assurez-vous pour commencer que votre galerie
-  Coppermine poss&egrave;de au moins une Cat&eacute;gorie</b> poss&eacute;dant
-  elle-m&ecirc;me <b>au moins un Album</b> dans lequel tout le monde peut t&eacute;l&eacute;charger
-  ! :
-</p><ul>
-  <li>Connectez-vous en tant qu'<b>Admin</b></li>
-  <li><b>Passez en mode Admin</b> de le cas o&ugrave; vous seriez connect&eacute;
-    en tant qu'<b>Admim/Utilisateur</b>.</li>
-  <li>Cliquez le bouton "<b>Groupes</b>"</li>
-  <li>Pour le <b>Groupe "<i>anonymes</i>" accordez les quota</b> et
-    <b>les droits de t&eacute;l&eacute;chargements</b></li>
-  <li>Cliquez dans votre menu <b>Liste des Albums</b></li>
-  <li>Choisissez la Cat&eacute;gorie o&ugrave; se trouve votre Album public</li>
-  <li>Cliquez sur le bouton "<b>Propri&eacute;t&eacute;s</b>" de votre
-    Album public </li>
-  <li>Dans "<b>Permissions pour cet Album</b>" et mettez "<b>OUI</b>"
-    pour "<b>Les Visiteurs peuvent mettre des Photos en ligne</b>" (en
-    fonction de la configuration des groupes) puis cliquez sur "<b>Mettre
-    l'Album &agrave; jour</b>"</li>
-  <li><b>Ajoutez dans votre navigation un lien &eacute;vident</b> vers le <b>T&eacute;l&eacute;chargement
-    publique</b>, si il n'existe pas d&eacute;j&agrave;. Pour cel&agrave; &eacute;ditez
-    le fichier <i>/themes/votretheme/</i><b>theme.php</b></li>
-</ul>
-<br /><p></p><br /><div class="back">[<a href="#top">Haut de page</a>]</div><hr />
-<a name="BackupDatabase"></a>
-<h3>Comment faire une Sauvegarde/Backup de ma Base de Donn&eacute;es Coppermine
-  ?</h3>
-<p>Il n'y a pour l'instant pas de fonction interne &agrave; Coppermine pour effectuer une sauvegarde de la base de donn&eacute;e.
-Vous pouvez n&eacute;anmoins sauvegarder la structure de vos r&eacute;pertoires/fichiers avec votre bon vieux client FTP
- et utiliser un utilitaire comme <a href="http://www.phpmyadmin.net/" class="external">phpMyAdmin</a>
-pour sauvegarder la base de donn&eacute;e (beaucoup d'h&eacute;bergeurs offrant mySQL proposent une version pr&eacute;install&eacute;e de phpMyAdmin - utile pour la sauvegarde!).
-PhpMyAdmin est facile &agrave; istaller:
- T&eacute;l&eacute;charger le pack et extrayez le sur votre disque dur.
-Ouvrez le fichier config et modifiez le en y entrant vos parametres de connection et placez l'ensemble sur votre serveur.<br />
-Voici un petit tutoriel pour la sauvegarde de la base de donn&eacute;e avec phpMyAdmin:
-</p><ul>
-<li>Procurez vous le progranne et installez le (n'oubliez pas de le proteger par mot de passe)</li>
-<li>Depuis votre navigateur allez dans le r&eacute;pertoire ou vous l'avez install&eacute;</li>
-<li>cliquez sur le nom de votre base de donn&eacute; dans le cadre &agrave; gauche</li>
-<li>Sous l'onglet "exporter" dans "shema et donn&eacute;e de la base" selectionnez la(les) table(s) que vous voulez savegarder (apputez sur CTRL pour s&eacute;lectionner plus d'une table)</li>
-<li>cochez "Structure and donn&eacute;es"</li>
-<li>cochez "Transmettre"</li>
-<li>cochez "zippe" (facultatif)</li>
-<li><b>NE COCHEZ PAS</b>  "inclure des &eacute;nonc&eacute;s 'drop table'" - votre base de donn&eacute;e serait &eacute;ffac&eacute;e si vous le faisiez</li>
-<li>appuyez sur "&eacute;x&eacute;cuter"</li>
-<li>Sauvegardez le fichier sur votre disque dur (en fonction de la rapidit&eacute; de votre connection cel&agrave; peut prendre un certain temps)</li>
-</ul><br /><p></p><br /><div class="back">[<a href="#top">Haut de page</a>]</div><hr />
-<a name="noFullsizePopup"></a>
-<h3><b>Les
-  images plein format ne s'ouvrent pas</b> dans une nouvelle fen&ecirc;tre popup <b>lorsque je clique sur les images interm&eacute;diaires</b>. Que se passe-t-il ?<br />
-  </h3>
-<p><strong>Vous avez probablement modifi&eacute; votre th&egrave;me:</strong> Pour que l'ouverture d'une fen&ecirc;tre
-pop up avec l'affichage des images plein format fonctionne, il vous faut <strong>imp&eacute;rativement</strong>  cette ligne<tt class="code">&lt;script type="text/javascript" src="scripts.js"&gt;&lt;/script&gt;</tt> dans <strong>/themes/votretheme/template.html</strong></p>
-<p><br />
-  L'ent&ecirc;te &lt;head&gt; de votre fichier <strong>template.html
-  </strong>devrait ressembler &agrave; &agrave;:<br />
-
-</p>
-<pre>&lt;head&gt;
-&lt;title&gt;{TITLE}&lt;/title&gt;
-&lt;meta http-equiv="Content-Type" content="text/html; charset={CHARSET}" /&gt;
-{META}
-&lt;link rel="stylesheet" href="themes/default/style.css" /&gt;
-&lt;script type="text/javascript" src="scripts.js"&gt;&lt;/script&gt;
-&lt;/head&gt;</pre>
-<p>-controllez le th&egrave;me par d&eacute;faut inclu dans coppermine si vous n'&ecirc;tes pas
-  sur de vous.</p>
-
-<p></p><br /><div class="back">[<a href="#top">Haut de page</a>]</div><hr /><a name="viewThumbnailsOnly"></a>
-<h3><b>Comment faire pour que les utilisateurs non enregistr&eacute;s ne voient
-que les vignettes</b>, pas les images en grand taille ?<br />
-</h3>
-<p>Ouvrez <strong>displayimage.php</strong> et ajoutez:<br />
-
-  <tt class="code">if (!USER_ID) cpg_die(ERROR, 'You need to register to access this page', __FILE__, __LINE__);</tt><br />
-  Juste avant<br />
-
-</p>
-<pre>/**************************************************************************
-* Local functions definition
-**************************************************************************/</pre><p></p><br /><div class="back">[<a href="#top">Haut de page</a>]</div><hr /><a name="preventHotlinks"></a>
-<h3><b>Comment
-      faire pour emp&ecirc;cher les autres sites web de faire des liens directs vers
-les images de ma galerie</b> ?<br />
-</h3>
-<p>Enp&ecirc;cher les liens directs en cr&eacute;ant un fichier <strong>.htaccess</strong> dans le r&eacute;pertoire <strong>albums </strong>et ajoutez y ceci:<br />
-  <br />
-</p>
-<pre>SetEnvIfNoCase Referer "^http://www.yourdomian.com/" locally_linked=1
-SetEnvIfNoCase Referer "^http://yourdomain.com/" locally_linked=1
-SetEnvIf Referer "^$" locally_linked=1
-&lt;FilesMatch "\.(gif|png|jpe?g)$"&gt;
-  Order Allow,Deny
-  Allow from env=locally_linked
-&lt;/FilesMatch&gt;</pre>
-Ceci ne fonctionne que sous linux /unix et seulement si votre h&eacute;bergeur autorise
-cette
-fonction,ou que vous avez votre propre serveur.<br />
-<br />
-<p></p><br /><div class="back">[<a href="#top">Haut de page</a>]</div><hr /><a name="changeLanguage"></a>
-<h3>Je
-tente de <b>changer le langage</b> depuis la page de Configuration, <b>mais cel&agrave; ne marche pas</b> ? O&ugrave; est l'erreur ?<br />
-</h3>
-<p>Le param&egrave;tre d'encodage des caract&egrave;res "Character encoding" est probablement regl&eacute; sur l'encodage UTF-8 (ou l'a &eacute;t&eacute;) dans votre page de
-  configuration.<br />
-
-</p>
-<p>Lorsque UTF-8 est s&eacute;lectionn&eacute;, Coppermine choisis le fichier langage en fonction
-  de la configuration de votre navigateur et stocke ces param&egrave;tres dans un cookie.
-  Ces param&egrave;tres remplacent ceux stock&eacute;s dans le fichier <strong>CONFIG.</strong><br />
-
-  <b>Pour changer cela:</b><br />
-  <br />
-</p>
-<ul>
-<li>Mettre la valeur <strong>Default (language
-    file)</strong> dans
-  le champ  &quot;<strong>Encodage des caract&egrave;res</strong>&quot;de la page de configuration<br />
-  </li>
-<li>Ensuite, appellez le script:<tt class="code">http://yoursite.com/coppermine_dir/index.php?lang=xxx</tt> (Cel&agrave; va r&eacute;initialiser le cookie)<br />
-  </li>
-</ul>
-<br /><p></p><br /><div class="back">[<a href="#top">Haut de page</a>]</div><hr /><a name="onlyregisteredcomments"></a>
-<h3><b>Comment
-faire pour autoriser les Utilisateurs non-enregistr&eacute;s &agrave; d&eacute;poser des commentaires</b> sous mes photos ? et <b>pas uniquement les Utilisateurs enregistr&eacute;s!<br />
-</b></h3>
-<p></p><ul>
-<li>Identifiez vous en tant qu'administrateur </li>
-<li>En mode admin </li>
-<li>onglet <strong>Groupes</strong> </li>
-<li>Groupe "Anonymous" - "Peut poster des commentaires" - "Oui"</li>
-<li>Appliquer les modifications</li>
-</ul>
-Pour changer les param&egrave;tres par albums (l'&eacute;tape pr&eacute;c&eacute;dente doit avoir &eacute;t&eacute; faite):<br />
-
-<ul>
-<li>Identifiez vous en tant qu'administrateur</li>
-<li>En mode admin </li>
-<li>Ouvrez la cat&eacute;gorie et cliquez sur l'album</li>
-<li>onglet <strong>Prori&eacute;t&eacute;s </strong></li>
-<li>&quot;Permissions pour cet album&quot;-&quot; Les visiteurs peuvent poster des commentaires&quot;-&quot;Oui&quot;</li>
-<li>&quot;Mettre l'album &agrave; jour&quot;</li>
-</ul>
-<br /><p></p><br /><div class="back">[<a href="#top">Haut de page</a>]</div><hr /><a name="httpUpload"></a>
-<h3>Je <b>ne peut pas uploder</b> avec les fonctions de t&eacute;l&eacute;chargement. Que se passe t'il?</h3>
-<p>Si vous avec un message d'erreur <br /><tt class="code">No picture was uploaded (aucune image n'a &eacute;t&eacute; t&eacute;l&eacute;charg&eacute;e)</tt>.<br />
- Si vous avez effectivement s&eacute;lectionn&eacute; une image &agrave; t&eacute;l&eacute;charger, v&eacute;rifiez que le serveur vous autorise de t&eacute;l&eacute;chargement de fichiers..., v&eacute;rifiez s'il y a un probl&egrave;me avec le t&eacute;l&eacute;chargement par HTTP sur votre serveur
-  - Il peut avoir &eacute;t&eacute; d&eacute;sactiv&eacute; ou mal configur&eacute;. Dans <a href="#VersionPHP">phpinfo()</a>, v&eacute;rifiez que "file_uploads" est sur ON, "upload_max_filesize" a une valeur comme 2M et "upload_tmp_dir" est un r&eacute;pertoire valide!<br /></p><br /><div class="back">[<a href="#top">Haut de page</a>]</div><hr /><a name="ordercategories"></a>
-<h3>Comment changer <b>l'ordre des cat&eacute;gories</b>?</h3>
-<p></p><ul>
-<li>identifiez vous comme administrateur</li>
-<li>Mode administrateur</li>
-<li>categories</li>
-<li>utilisez les boutons "fl&ecirc;che haut"- et "fl&ecirc;che bas"- pour changer l'ordre des cat&eacute;gories</li>
-</ul><br /><p></p><br /><div class="back">[<a href="#top">Haut de page</a>]</div><hr /><a name="cantDeletePic"></a>
-<h3>Je <b>ne peux pas &eacute;ffacer certaines images</b> depuis le FTP. Que faire?</h3>
-<p>Ce n'est pas Coppermine qui ne vous laisse pas effacer les images, c'est
-votre serveur FTP. Le probl&egrave;me est du &agrave; la configuration de votre serveur.
-Essayez d'effacer vos images depuis le script (Coppermine).<br />
-SI PHP fonctionne avec l'utilisateur "nobody" alors tous les fichiers cr&eacute;es par n'importe quel script PHP (Ce n'est pas sp&eacute;cifique &agrave; Coppermine) sera accessible par "nobody".
-Il n'y a rien a faire pour changer a.<br />&nbsp;<br />
-<table class="bordl" border="0" cellpadding="2" cellspacing="2"><tbody><tr><td align="left" valign="top"><p class="fliess">
-777 ne devrait pas &ecirc;tre le mode par d&eacute;faut des r&eacute;pertoires parce qu'il n'est absolument pas s&eacute;curis&eacute;
-, si votre galerie fonctionne sur un serveur partag&eacute; et que
-le PHP safe mode n'est pas activ&eacute;, tous ceux qui ont un compte sur ce serveur
-ont la possibilit&eacute; d'effacer vos images. Il y a eu plusieurs sujets sur ce probl&egrave;me
-sur le forum de Menalto Gallery et plusieurs utilisateurs ont vu leur galerie pirat&eacute;e et d&eacute;truite &agrave; cause de cel&agrave;
-. Ce probl&egrave;me n'est pas sp&eacute;cifique &agrave;
-Photo galleries, il s'applique &agrave; tout script PHP qui cr&eacute;e des r&eacute;pertoires.
-A condition que vous ayez les droits en &eacute;criture sur un r&eacute;pertoire, vous pouvez effacer tous les fichiers qu'ils contient, m&ecirc;me si vous n'avez pas le droit en &eacute;criture sur ces fichiers
-eux m&ecirc;me.<br />&nbsp;<br />
-Je pr&eacute;f&egrave;re avoir 20 personnes se plaignant HAUT ET FORT et de mani&egrave;re REPETEE
-qu'ils doivent contacter leur administrateur syst&egrave;me pour d&eacute;sinstaller commermine, parceque c'est un probl&egrave;me
- et qu'ils vont changer de galerie &agrave; cause de a,
-plut&ocirc;t qu'1 personne se plaignant que toutes ses images ont &eacute;t&eacute; effac&eacute;es.<br />&nbsp;<br />
-SI vous n'&ecirc;tes pas d'accord avec a, &eacute;connomisez votre temps et arr&ecirc;tez la lecture de cette FAQ:<br />
-<a href="http://www.zend.com/manual/function.mkdir.php" class="external">http://www.zend.com/manual/function.mkdir.php</a><br />
-<a href="http://www.zend.com/manual/function.chmod.php" class="external">http://www.zend.com/manual/function.chmod.php</a><br />
-plut&ocirc;t que de poster dans le forum d'aide.<br />&nbsp;
-<br />C'est une d&eacute;cision de l'administrateur syst&egrave;me de faire fonctionner PHP comme un module Apache
-et le fait que tous les fichiers/r&eacute;pertoires cr&eacute;es par PHP ne soient accessibles par personne
-est le r&eacute;sultat de cette d&eacute;cision. Ainsi, les administrateurs syst&egrave;me ne devraient pas se plaindre
-si vous leur demandez d'effacer certains fichiers ou r&eacute;pertoires.<br />&nbsp;<br />
-Sur le serveur web ou ce site fonctionne, tout fonctionne bien lorsque les r&eacute;pertoires sont cr&eacute;es
-en  mode 755 et chaque fichier/r&eacute;pertoires cr&eacute;es par PHP
-sont accessible par l'utilisateur "chezgreg" qui est l'utilisateur que j'utilise pour me connecter par FTP
-. De plus, si un des fichier/r&eacute;pertoire de mon site est en mode 777,
-le serveur d&eacute;sactive mon site et m'envoie un courriel me pr&eacute;venant que mon site n'est pas s&eacute;curis&eacute;.<br />&nbsp;<br />
-Greg (Cr&eacute;ateur initial de Coppermine)</p></td></tr></tbody></table><br /></p><p></p><br /><div class="back">[<a href="#top">Haut de page</a>]</div><hr /><a name="cantUploadBigPics"></a>
-<h3>Je <b>ne peux pas t&eacute;l&eacute;charger de grandes images</b>. Que se passe t'il?</h3>
-<p>La taille maximale des images est limit&eacute;e par plusieurs parametres - Pour trouver pourquoi vous ne pouvez pas t&eacute;l&eacute;charger de grandes images, v&eacute;rifiez ce qui suis:
-</p><ul>
-<li>assurez vous d'avoir assez de place libre sur votre serveur (rappelez vous que vous avez besoin de place pour
- les images originales, les images int&eacute;rm&eacute;diaires et les vignettes!)</li>
-<li>Lorsque vous &ecirc;tes identifi&eacute;s comme administrateur v&eacute;rifiez le parem&eacute;trage de votre "Groupe": les groupes (m&ecirc;me le groupe administarteur!) ont des limitations qui peuvent &ecirc;tre configur&eacute;s</li>
-<li>time-out du navigateur: le navigateurcommun&eacute;ment utilis&eacute;, Internet Explorer a une fonction time-out
-: si votre t&eacute;l&eacute;chargement n'est pas termin&eacute; apr&egrave;s une certaine p&eacute;riode, le navigateur va se d&eacute;connecter
-(en particulier avec les connections de messageries instantann&eacute;es)</li>
-<li>Il y a un param&eacute;trage de la limite maximale dans le configuration de PHP sur votre serveur web.
- Si vous &ecirc;tes chez un h&eacute;bergeur ou vous ne pouvez pas modifier grand choses, mais si vous &ecirc;tes sur votre propre serveur
-, v&eacute;rifiez php.ini et cherchez <tt class="code">LimitRequestBody</tt> - cette valeur (en bytes) est la valeru maximale de t&eacute;l&eacute;chargement autoris&eacute;e par  php/html</li>
-</ul><br /><p></p><br /><div class="back">[<a href="#top">Haut de page</a>]</div><hr /><a name="cookie"></a>
-<h3>Je ne peut pas <b>m'identifier</b> dans Coppermine. Que se passe t'il?</h3>
-<p>C'est souvent un probl&egrave;me de cookie:
-</p><ul>
-<li>Si vous utilisez Internet Explorer 6, vous devez activez l'autorisation pour les cookies.
- Cliquez sur "Outils" - "Options Internet" -
-"Confidentialit&eacute;" et ajoutez votre site &agrave; la liste des sites de confiance, ou
-placez le curseur sur un niveau inf&eacute;rieur.</li>
-<li>Parfois IE ne g&egrave;re pas les Cookies correctement. Fermez votre navigateur,
-essayez d'effacer tous les cookies manuellement et red&eacute;marez le navigateur</li>
-<li>V&eacute;rifiez si vous n'utilisez pas un logiciel qui interf&egrave;re avec l'acceptation des cookies
-comme les pare-feu (ZoneAlarm, Tiny, Cookie Washer
-etc.) d&eacute;sactivez les et regardez si les cookies sont accept&eacute;s</li>
-<li>Essayez d'utiliser un autre navigateur (comme <a href="http://www.opera.com/" class="external">Opera</a>,
-qui est assez l&eacute;ger &agrave; t&eacute;l&eacute;charger et facile &agrave; d&eacute;sinstaller). C'est g&eacute;n&eacute;ralement une bonne id&eacute;e
- d'avoir plusieurs navigateurs sur votre ordinateur pour v&eacute;rifier le fonctionnement de votre site avec votre navigateur pr&eacute;f&eacute;r&eacute;</li>
-<li>Si vous utilisez les sous-domaineset la version de Coppermine ou certains programmes
-sur diff&eacute;rents sous-domaines (comme galerie.votresite.com et
-forum.votresite.com) cel&agrave; peut ausii poser des probl&egrave;mes: un sou-domaine est un domaine diff&eacute;rent
- (en fait foo.com et bar.com sont des sous-domaines  <acronym class="tool" title="top level domain">tld</acronym>
-".com", donc du point de vue des cookies ce sont deux domaines diff&eacute;rents
-comme forum.votresite.com et comics.votresite.com). Bien sur vous pouvez "modifier certaines choses" dans les scripts,
- Mais g&eacute;n&eacute;ralement les scripts bbs (forum) sont difficiles &agrave; modifier.</li>
-</ul><br /><p></p><br /><div class="back">[<a href="#top">Haut de page</a>]</div><hr /><a name="moveAlbum"></a>
-<h3>Comment peut-on <b>d&eacute;placer un album</b> d'une cat&eacute;gorie vers une autre?</h3>
-<p></p><ul>
-<li>identifiez vous comme administrateur</li>
-<li>mode administrateur</li>
-<li>cliquez sur cat&eacute;gorie</li>
-<li>clicquez "Propri&eacute;t&eacute;s" de l'album que vous voulez d&eacute;placer</li>
-<li>dans la liste d&eacute;roulante pr&egrave;s de "Cat&eacute;gorie de l'Album", choisissez la cat&eacute;gorie dans laquelle vous voulez d&eacute;placer l'album</li>
-<li>cliquez "mettre l'album &agrave; jour"</li>
-</ul><br /><p></p><br /><div class="back">[<a href="#top">Haut de page</a>]</div><hr />
-
-<a name="sortAlbum"></a>
-<h3>Comment peut-on <b>changer l'ordre des albums</b>?</h3>
-<p>Par d&eacute;faut les albums apparaissent dans l'ordre ou ils on &eacute;t&eacute; cr&eacute;es. Si vous voulez modifier l'odre d'affichage faites comme suit:
-</p><ul>
-<li>identifiez vous comme administrateur</li>
-<li>mode administrateur</li>
-<li>"Albums"</li>
-<li>choisissez une cat&eacute;gorie dans la liste d&eacute;roulante</li>
-<li>surlignez un album en cliquant sur son nom</li>
-<li>utilisez les fl&ecirc;ches haut  <img src="http://coppermine.sourceforge.net/images/move_up.gif" alt="" border="0" height="11" width="13"> et bas <img src="http://coppermine.sourceforge.net/images/move_down.gif" alt="" border="0" height="11" width="13"> pour changer sa position </li>
-<li>cliquez sur "appliquer les modifications"</li>
-<li>Confirmez le message "Etes vous sur de vouloir faire ces modifications ?" en cliquant sur "OK"</li>
-</ul><br /><p></p><br /><div class="back">[<a href="#top">Haut de page</a>]</div><hr />
-
-<a name="deleteIntermediates"></a>
-<h3>Je ne veux plus utiliser les images int&eacute;rm&eacute;diaires. Coment les effacer pour gagner de l'espace disque?</h3>
-<p>Article manquant actuellement dans la faq. </p><br /><div class="back">[<a href="#top">Haut de page</a>]</div><hr />
-
-<a name="howAlbumsFolderWork"></a>
-<h3>Comment fonctionnent les Albums et les Dossiers dans Coppermine ?</h3>
-<ol>
-<li>Lorsque vous cr&eacute;ez un album, c'est un album virtuel. Coppermine
-ne cr&eacute;e pas de r&eacute;pertoire pour cet album sur le disuqe dur du serveur,
-il laisse les images ou elles sont sur le serveur, et utilise la base de donn&eacute;e
-pour savoir quelle ilage va dans quel album. Vous pouvez d&eacute;placer les images d'albums
-&agrave; albums, mais tout cel&agrave; est fait dans la base de donn&eacute;e, les images ne sont jamais d&eacute;plac&eacute;es sur le serveur.</li>
-<li>Lorsque vous t&eacute;l&eacute;chargez par Html, en utilisant le lien 'upload' , coppermine place
-les images (ainsiq ue les vignette et les images interm&eacute;diaires) dans le r&eacute;pertoire 'userpics'
-.</li>
-<li>Lorsque vous t&eacute;l&eacute;chargez par ftp, vous devez placer les fichiers dans un r&eacute;pertoire que vous aurez cr&eacute;e
-, dans le r&eacute;pertoire 'albums' , mais pas dans le r&eacute;pertoire 'userpics'.
-Vous pouvez cr&eacute;er autant de r&eacute;pertoires/sous-r&eacute;pertoires que vous voulez.
-Vous pouvez les nommer comme vous le souhaitez, mais nous recommandons de reproduite l'arborescence
-categorie/albums que vous avez cr&eacute;e sur votre site, pour plus de facilit&eacute; d'utilisation.</li>
-<li>Lorsque vous t&eacute;l&eacute;chargez par lot, coppermine vous demande dans quel albumvous voulez placer les images
-, mais il laisse les images l&agrave; ou elles sont sur le serveur.</li>
-</ol>
-<br /><div class="back">[<a href="#top">Haut de page</a>]</div><hr />
-
-<a name="howMoveAlbum"></a>
-<h3>Comment faire pour d&eacute;placer un Album depuis une Cat&eacute;gorie vers une autre Cat&eacute;gorie ??</h3>
-<ul>
-<<li>identifiez vous comme administrateur</li>
-<li>mode administrateur</li>
-<li>cr&eacute;ez des cat&eacute;gories (en utilisant le gestionnaire de cat&eacute;gories du menu administrateur)</li>
-<li>allez sur la pareg d'accueil de votre galerie</li>
-<li>cliquez sur "Propri&eacute;t&eacute;s" &agrave; c&ocirc;t&eacute; de la vignette de l'album</li>
-<li>Depuis la liste d&eacute;roulante "Cat&eacute;gorie de l'Album", choisissez la cat&eacute;gorie ou vou ssouhaitez placer l'album</li>
-<li>Cliquez sur "Mettre &agrave; jour l'Album"</li>
-</ul>
-
-<br />&nbsp;<br />
-<h2>Add-ons / Modifications / Hacks</h2><a name="letUserSelectTheme"></a>
-<a name="changeOrderEdit"></a>
-<h3>Comment puis-je changer l'ordre des images en les &eacute;ditant ?</h3>
-<p>Par d&eacute;faut, les images sont motr&eacute;s par ordre alphab&eacute;tique lorsque vous les &eacute;ditez. pour changer l'ordre de tri 'par date", ouvrez <tt class="code">editpics.php</tt> et changez<br />
-<tt class="code">$result = cpg_db_query("SELECT * FROM
-{$CONFIG['TABLE_PICTURES']} WHERE aid = '$album_id' ORDER BY filename
-LIMIT $start, $count");</tt><br />
-par<br />
-<tt class="code">$result = cpg_db_query("SELECT * FROM {$CONFIG['TABLE_PICTURES']} WHERE aid = '$album_id' ORDER BY pid LIMIT $start, $count");</tt><br /></p><br />
-<div class="back">[<a href="#top">Haut de page</a>]</div><hr /><a name="rightHandMenu"></a>
-<h3>Comment puis-je cr&eacute;e un menu qui sera affich&eacute; &agrave; droite de ma galerie?</h3>
-<p>Lorsque le fichier template.html est lu, il est s&eacute;par&eacute; en deux. Ce qui est avant la balise
-{GALLERY} est g&eacute;n&eacute;r&eacute; par la fonction "pageheader", ce qui est apr&egrave;s par la fonction
- "pagefooter".<br />
-Si votr emenu est dans le "footer" (pied de page) vous devez modifier votre fichier theme.php<br />
-</p><pre>   $template_vars = array(
-      '{LANG_DIR}' =&gt; $lang_text_dir,
-      '{TITLE}' =&gt; $CONFIG['gallery_name'].' - '.$section,
-      '{CHARSET}' =&gt; $CONFIG['charset'] == 'language file' ? $lang_charset : $CONFIG['charset'],
-      '{META}' =&gt; $meta,
-      '{GAL_NAME}' =&gt; $CONFIG['gallery_name'],
-      '{GAL_DESCRIPTION}' =&gt; $CONFIG['gallery_description'],
-      '{MAIN_MENU}' =&gt; theme_main_menu(),
-      '{ADMIN_MENU}' =&gt; theme_admin_mode_menu()
-   );
-
-   echo template_eval($template_header, $template_vars);</pre>
-   deviendra
-<pre>   $template_vars = array(
-      '{LANG_DIR}' =&gt; $lang_text_dir,
-      '{TITLE}' =&gt; $CONFIG['gallery_name'].' - '.$section,
-      '{CHARSET}' =&gt; $CONFIG['charset'] == 'language file' ? $lang_charset : $CONFIG['charset'],
-      '{META}' =&gt; $meta,
-      '{GAL_NAME}' =&gt; $CONFIG['gallery_name'],
-      '{GAL_DESCRIPTION}' =&gt; $CONFIG['gallery_description'],
-   );
-
-   echo template_eval($template_header, $template_vars);</pre>
-et<br /><tt class="code">echo $template_footer;</tt><br />
-deviendra<br />
-<pre>   $template_vars = array(
-      '{MAIN_MENU}' =&gt; theme_main_menu(),
-      '{ADMIN_MENU}' =&gt; theme_admin_mode_menu()
-   );
-
-   echo template_eval($template_footer, $template_vars);</pre>
-<br /><p></p><br /><div class="back">[<a href="#top">Haut de page</a>]</div><hr /><a name="jumpToPrivateAlbum"></a>
-<h3>Comment envoyer directement un utilisateur vers son album priv&eacute; lorsqu'il s'identifie</h3>
-<p>ouvrez<br /><tt class="code">login.php</tt><br />et cherchez<br />
-<tt class="code">pageheader($lang_login_php['login'],"&lt;META http-equiv=\"refresh\" content=\"3;url=$referer\"&gt;");</tt><br />
-<br />et ajoutez <b>avant</b><br />
-<tt class="code">$referer = 'index.php?cat='.(FIRST_USER_CAT+$USER_DATA['user_id']); </tt><br /><br /></p><br /><div class="back">[<a href="#top">Haut de page</a>]</div><hr /><a name="registeredUsersOnly"></a>
-<h3>Comment peut-on emp&ecirc;cher les utilisateurs non enregistr&eacute;s de voir la galerie?</h3>
-<p>ouvrez<br /><tt class="code">displayimage.php</tt><br />et cherchez<br />
-</p><pre>/**************************************************************************
-* Local functions definition
-**************************************************************************/</pre>
-<br />ajoutez <b>avant</b><br />
-<tt class="code">if (!USER_ID) cpg_die(ERROR, 'vous devez vous enregistre pour acceder &agrave; cette page', __FILE__, __LINE__);</tt><br /><br /><p></p><br /><div class="back">[<a href="#top">Haut de page</a>]</div><hr /><a name="displayUploaderName"></a>
-<h3>Comment peut-on afficher le nom de l'uploader  avec les informations de l'image?</h3>
-<p><b>Attention</b>: Cette modification est assez compliqu&eacute;e &agrave; faire pour un d&eacute;butant!<br />ouvrez displayimage.php et cherchez:<br />
-<tt class="code">   $info[$lang_picinfo['Filename']]   = htmlspecialchars($CURRENT_PIC_DATA['filename']);</tt><br />et ajoutez apr&egrave;s:<br />
-<tt class="code">   $info[$lang_picinfo['Username']]   = htmlspecialchars($CURRENT_PIC_DATA['user_name']);</tt>.<br />
-Puis ouvrez /include/functions.inc.php et chrechez ce qui suit dans 'function get_pic_data()':<br />
-<tt class="code">      if($select_columns != '*') $select_columns .= ', title, caption';</tt><br />et remplacez ce code par:<br />
-<tt class="code">      if($select_columns != '*') $select_columns .= ', title, caption, user_name';</tt>.<br />
-Ensuite cherchez:<br />
-<tt class="code"> $result = cpg_db_query("SELECT $select_columns from
-{$CONFIG['TABLE_PICTURES']} WHERE aid='$album' $approved $ALBUM_SET
-ORDER BY $sort_order $limit");</tt><br />
-et remplacez le code par:<br />
-<tt class="code"> $result = cpg_db_query("SELECT $select_columns from
-{$CONFIG['TABLE_PICTURES']} AS p LEFT JOIN {$CONFIG['TABLE_USERS']} AS
-u ON u.user_id = p.owner_id WHERE p.aid='$album' $approved $ALBUM_SET
-ORDER BY $sort_order $limit");</tt><br />
-Puis vous devez ajouter la chaine pour le nom d'utilisateur dans le fichier langue.
- Ouvrez /lang/votrelangue.php (par exemple french.php) et cherchez:<br />
-<tt class="code">$lang_picinfo = array(</tt><br />
-ajoutez apr&egrave;s:<br />
-<tt class="code">        'Username' =&gt; 'Nom d'utilisateur',</tt><br />
-Ensuite vous devez executer cette requ&ecirc;te dans MySQL (avec un outil comme <a href="http://www.phpmyadmin.net/">phpMyAdmin</a>):<br />
-<tt class="code">ALTER TABLE `cpg135_pictures` ADD INDEX ( `owner_id` );</tt><br />
-(Si votre pr&eacute;fixe de table n'est pas cpg135_ vous devrez le changer dans la requ&ecirc;te)<br /><br /></p><br /><div class="back">[<a href="#top">Haut de page</a>]</div><hr /><a name="linksInCustomFields"></a>
-<h3>Comment peut-on mettre un lien cliquable dans les champs utilisateurs personnalisables?</h3>
-<p>ouvrez displayimage.php et changez<br />
-<tt class="code">$info[$CONFIG['user_field'.$i.'_name']] = make_clickable($CURRENT_PIC_DATA['user'.$i]); </tt><br />
-en<br />
-<tt class="code">$info[$CONFIG['user_field'.$i.'_name']] = bb_decode($CURRENT_PIC_DATA['user'.$i]); </tt><br />&nbsp;<br />
-Pour permettre d'utiliser les BBCodes dans les champs personnalis&eacute;s: vous pouvez avoir quelque chose comme<br />
-<tt class="code">[url]http://www.somesite.com/foo/bar.php?whatever=42[/url]</tt><br />
-ou<br />
-<tt class="code">[url=http://www.somesite.com/foo/bar.php?whatever=42]lien vers un site![/url]</tt><br />dans le champ utilisateur personnalis&eacute; (qui a bien sur &eacute;t&eacute; activ&eacute; d'abbord dans la page de configuration)<br /><br /></p><br /><div class="back">[<a href="#top">Haut de page</a>]</div><hr />
-
-<a name="sortThumbsByCustomField"></a>
-<h3>Comment peut-on trier les vignettes par utilisateurs d&eacute;finis dans les champs personnalisables?</h3>
-<p></p><ol>
-<li>ouvrez /includes/functions.inc.php<br />
-changez<br />
-<pre>$sort_array = array('na' =&gt; 'filename ASC', 'nd' =&gt; 'filename DESC', 'da' =&gt; 'pid ASC', 'dd' =&gt; 'pid DESC'); </pre>
-pour<br />
-<pre>   $sort_array = array(
-      'na' =&gt; 'filename ASC',
-      'nd' =&gt; 'filename DESC',
-      'da' =&gt; 'pid ASC',
-      'dd' =&gt; 'pid DESC',
-      'f1a' =&gt; 'user1 ASC',
-      'f1d' =&gt; 'user1 DESC',
-      'f2a' =&gt; 'user2 ASC',
-      'f2d' =&gt; 'user2 DESC',
-      'f3a' =&gt; 'user3 ASC',
-      'f3d' =&gt; 'user3 DESC',
-      'f4a' =&gt; 'user1 ASC',
-      'f4d' =&gt; 'user1 DESC'
-   );
-</pre></li>
-<li>ouvrez /themes/votretheme/theme.php<br />
-<ul>
-<li>changez<br />
-<pre>   // The sort order options are not available for meta albums
-   if ($sort_options){
-
-      $param = array(
-         '{ALBUM_NAME}' =&gt; $album_name,
-         '{AID}' =&gt; $aid,
-         '{PAGE}' =&gt; $page,
-         '{NAME}' =&gt; $lang_thumb_view['name'],
-         '{DATE}' =&gt; $lang_thumb_view['date'],
-         '{SORT_NA}' =&gt; $lang_thumb_view['sort_na'],
-         '{SORT_ND}' =&gt; $lang_thumb_view['sort_nd'],
-         '{SORT_DA}' =&gt; $lang_thumb_view['sort_da'],
-         '{SORT_DD}' =&gt; $lang_thumb_view['sort_dd'],
-         );</pre>
-<br />
-pour<br />
-<pre>   // The sort order options are not available for meta albums
-   if ($sort_options){
-
-      $param = array(
-         '{ALBUM_NAME}' =&gt; $album_name,
-         '{AID}' =&gt; $aid,
-         '{PAGE}' =&gt; $page,
-         '{NAME}' =&gt; $lang_thumb_view['name'],
-         '{DATE}' =&gt; $lang_thumb_view['date'],
-         '{SORT_NA}' =&gt; $lang_thumb_view['sort_na'],
-         '{SORT_ND}' =&gt; $lang_thumb_view['sort_nd'],
-         '{SORT_DA}' =&gt; $lang_thumb_view['sort_da'],
-         '{SORT_DD}' =&gt; $lang_thumb_view['sort_dd'],
-         // Exxodus Sorting
-         '{FIELD1}' =&gt; $CONFIG['user_field1_name'],
-         '{FIELD2}' =&gt; $CONFIG['user_field2_name'],
-         '{FIELD3}' =&gt; $CONFIG['user_field3_name'],
-         '{FIELD4}' =&gt; $CONFIG['user_field4_name'],
-         // Exxodus Sorting
-         );</pre>&nbsp;
-</li>
-<li>modifiez les lignes apr&egrave;s <tt class="code">$template_thumb_view_title_row </tt> comme cel&agrave;:<br />
-<pre>// HTML template for title row of the thumbnail view (album title + sort options)
-// Exxodus (Adding Sorting by UserField)
-$template_thumb_view_title_row = &lt;&lt;&lt;EOT
-
-         &lt;table width="100%" cellpadding="0" cellspacing="0"&gt;
-         &lt;tr&gt;
-            &lt;td width="100%" class="statlink"&gt;&lt;h2&gt;{ALBUM_NAME}&lt;/h2&gt;&lt;/td&gt;
-            &lt;td&gt;&lt;img src="images/spacer.gif" width="1"&gt;&lt;/td&gt;
-            &lt;td class="sortorder_cell"&gt;
-               &lt;table height="100%" cellpadding="0" cellspacing="0"&gt;
-               &lt;tr&gt;
-                  &lt;td class="sortorder_options"&gt;{NAME}&lt;/td&gt;
-                  &lt;td class="sortorder_options"&gt;&lt;span class="statlink"&gt;
-                  &lt;a href="thumbnails.php?album={AID}&amp;page={PAGE}&amp;sort=na" title="{SORT_NA}"&gt;&amp;+&amp;&lt;/a&gt;/&lt;/span&gt;&lt;/td&gt;
-                  &lt;td class="sortorder_options"&gt;&lt;span class="statlink"&gt;
-                  &lt;a href="thumbnails.php?album={AID}&amp;page={PAGE}&amp;sort=nd" title="{SORT_ND}"&gt;&amp;-&amp;&lt;/a&gt;&lt;/span&gt;&lt;/td&gt;
-               &lt;/tr&gt;
-               &lt;tr&gt;
-                  &lt;td class="sortorder_options"&gt;{DATE}&lt;/td&gt;
-                  &lt;td class="sortorder_options"&gt;&lt;span class="statlink"&gt;
-                  &lt;a href="thumbnails.php?album={AID}&amp;page={PAGE}&amp;sort=da" title="{SORT_DA}"&gt;&amp;+&amp;&lt;/a&gt;/&lt;/span&gt;&lt;/td&gt;
-                  &lt;td class="sortorder_options"&gt;&lt;span class="statlink"&gt;
-                  &lt;a href="thumbnails.php?album={AID}&amp;page={PAGE}&amp;sort=dd" title="{SORT_DD}"&gt;&amp;-&amp;&lt;/a&gt;&lt;/span&gt;&lt;/td&gt;
-               &lt;/tr&gt;
-               &lt;/table&gt;
-            &lt;/td&gt;
-            &lt;td&gt;&lt;img src="images/spacer.gif" width="10"&gt;&lt;/td&gt;
-            &lt;td class="sortorder_cell"&gt;
-               &lt;table height="100%" cellpadding="0" cellspacing="0"&gt;
-               &lt;tr&gt;
-                  &lt;td class="sortorder_options"&gt;{FIELD1}&lt;/td&gt;
-                  &lt;td class="sortorder_options"&gt;&lt;span class="statlink"&gt;
-                  &lt;a href="thumbnails.php?album={AID}&amp;page={PAGE}&amp;sort=f1a"&gt;&amp;+&amp;&lt;/a&gt;/&lt;/span&gt;&lt;/td&gt;
-                  &lt;td class="sortorder_options"&gt;&lt;span class="statlink"&gt;
-                  &lt;a href="thumbnails.php?album={AID}&amp;page={PAGE}&amp;sort=f1d"&gt;&amp;-&amp;&lt;/a&gt;&lt;/span&gt;&lt;/td&gt;
-               &lt;/tr&gt;
-               &lt;tr&gt;
-                  &lt;td class="sortorder_options"&gt;{FIELD2}&lt;/td&gt;
-                  &lt;td class="sortorder_options"&gt;&lt;span class="statlink"&gt;
-                  &lt;a href="thumbnails.php?album={AID}&amp;page={PAGE}&amp;sort=f2a"&gt;&amp;+&amp;&lt;/a&gt;/&lt;/span&gt;&lt;/td&gt;
-                  &lt;td class="sortorder_options"&gt;&lt;span class="statlink"&gt;
-                  &lt;a href="thumbnails.php?album={AID}&amp;page={PAGE}&amp;sort=f2d"&gt;&amp;-&amp;&lt;/a&gt;&lt;/span&gt;&lt;/td&gt;
-               &lt;/tr&gt;
-               &lt;/table&gt;
-            &lt;/td&gt;
-            &lt;td&gt;&lt;img src="images/spacer.gif" width="10"&gt;&lt;/td&gt;
-            &lt;td class="sortorder_cell"&gt;
-               &lt;table height="100%" cellpadding="0" cellspacing="0"&gt;
-               &lt;tr&gt;
-                  &lt;td class="sortorder_options"&gt;{FIELD3}&lt;/td&gt;
-                  &lt;td class="sortorder_options"&gt;&lt;span class="statlink"&gt;
-                  &lt;a href="thumbnails.php?album={AID}&amp;page={PAGE}&amp;sort=f3a"&gt;&amp;+&amp;&lt;/a&gt;/&lt;/span&gt;&lt;/td&gt;
-                  &lt;td class="sortorder_options"&gt;&lt;span class="statlink"&gt;
-                  &lt;a href="thumbnails.php?album={AID}&amp;page={PAGE}&amp;sort=f3d"&gt;&amp;-&amp;&lt;/a&gt;&lt;/span&gt;&lt;/td&gt;
-               &lt;/tr&gt;
-               &lt;tr&gt;
-                  &lt;td class="sortorder_options"&gt;{FIELD4}&lt;/td&gt;
-                  &lt;td class="sortorder_options"&gt;&lt;span class="statlink"&gt;
-                  &lt;a href="thumbnails.php?album={AID}&amp;page={PAGE}&amp;sort=f4a"&gt;&amp;+&amp;&lt;/a&gt;/&lt;/span&gt;&lt;/td&gt;
-                  &lt;td class="sortorder_options"&gt;&lt;span class="statlink"&gt;
-                  &lt;a href="thumbnails.php?album={AID}&amp;page={PAGE}&amp;sort=f4d"&gt;&amp;-&amp;&lt;/a&gt;&lt;/span&gt;&lt;/td&gt;
-               &lt;/tr&gt;
-               &lt;/table&gt;
-            &lt;/td&gt;
-         &lt;/tr&gt;
-         &lt;/table&gt;
-
-EOT;</pre>
-
-</li>
-</ul>
-</li>
-</ol><br /><p></p><br /><div class="back">[<a href="#top">Haut de page</a>]</div><hr /><a name="iptcSupport"></a>
-<h3>Comment peut-on activer le support IPTC ?</h3>
-<p>ouvrez <tt class="code">/includes/picmgmt.inc.php</tt> et cherchez<br />
-<tt class="code">        $imagesize = getimagesize($image);</tt><br />
-remplacez par:<br />
-</p><pre>$imagesize = getimagesize($image,&amp;$info);
-$iptc = iptcparse($info["APP13"]);
-if (is_array($iptc)) {
-$caption.=$iptc['2#120'][0];
-$title.=$iptc['2#105'][0];
-(is_array($iptc['2#025'])) &amp;&amp; ($keywords.=implode(" ", $iptc['2#025']));
-}</pre>
-Cette modification n'a pas &eacute;t&eacute; test&eacute;e, utilisez la &agrave; vos risques et p&eacute;rils...!<br /><p></p><br /><div class="back">[<a href="#top">Haut de page</a>]</div><hr />
-
-<a name="addFooterBeforePoweredBy"></a>
-<h3>Comment peut-on ajouter des informations juste avant la ligne "Powered by Coppermine"?</h3>
-<p>Ouvrez /themes/votretheme/theme.php, cherchez <tt class="code">echo $template_footer</tt> et ajoutez ce que vous vouliez voir apparaitredans une ligne <b>avant</b>, comme cel&agrave; <tt class="code">print '&lt;span class="footer"&gt;&lt;a href="http://www.onlien.com/ma page.htm"&gt;Mon Lien&lt;/a&gt;&lt;/span&gt;';</tt><br /></p><br /><div class="back">[<a href="#top">Haut de page</a>]</div><hr /><a name="commonPHPerrors"></a>
-<h3>Erreurs communes de PHP et comment s'en d&eacute;barrasser...</h3>
-<p>Il y a beaucoup de personnes (particuli&egrave;rement des d&eacute;butants en PHP) qui posent des questions comme
- <tt class="code">J'ai une erreur "Parse error: parse error in XXX"</tt>
-et qui ne savent pas de quoi il s'agit et ce qu'il faut faire.
- C'est pourquoi j'ai traduits cette liste d'erreurs communes
- (et la solution pour r&eacute;soudre celles ci) depuis un article original en allemand
- <a href="http://www.drweb.de/" class="external">Dr. Web</a> :<br />
-</p><ul>
-<li><tt class="code">Parse error: parse error in C:\Apache\htdocs\read.php on line 8</tt>
- - Cette erreur se r&eacute;f&egrave;re &agrave; une erreur de syntaxe dans PHP. Vous avez probablement oubli&eacute; de terminer votre ligne par <tt class="code">;</tt> ou vous avez trop ou pas assez de parenth&egrave;ses ouvertes ou ferm&eacute;es (<tt class="code">{</tt>).</li>
-<li><tt class="code">Fatal error: Call to unsupported/undefined function ... in C:\Apache\htdocs\read.php on line 8</tt>
-- Cette erreur signifie que la fonction que votre scriptpt veut utiliser n'est pas
-d&eacute;finie dans la version actuelle de PHP avec ses modules, ou que vous utilisez une
-fonction utilisateur qui n'ont pas &eacute;t&eacute; d&eacute;finies actuellement (G&eacute;n&eacute;ralement
-caus&eacute;e lorque vous oubliez d'inclure la d&eacute;finition de la fonction).</li>
-<li><tt class="code">Warning: Wrong parameter ... for ... in C:\Apache\htdocs\read.php on line 8</tt>
- - Vous avez pass&eacute; trop (ou de mauvais) parametres &agrave; la fonction.
-  Si c'est une fonction inclue dans les fonctions PHP, v&eacute;rifiez le <a href="http://www.php.net/manual/en/funcref.php" class="external">manuel</a>; Si il s'agit d'une fonction utilisateur, v&eacute;rifiez votre code.</li>
-<li><tt class="code">Warning: Cannot add header information - header was already sent ... in C:\Apache\htdocs\read.php on line 4</tt>
- - vous avee une sortie de texte avant (exemple. la d&eacute;claration du doctype ou <tt class="code">&lt;html&gt;</tt>)
-et appelez la fonction header() ensuite. C'est le plus souvent le cas
-lors de l'utilisation de cookie. Pappelez vous vous ne pouvez pas utiliser plusieurs fois la fonction header()!</li>
-<li><tt class="code">Parse error: parser stack overflow in C:\Apache\htdocs\read.php</tt>
- - PHP d&eacute;passe les capacit&eacute;s m&eacute;moire
-  - cela arrive g&eacute;n&eacute;ralement si vous faites une boucle sans fin, particuli&egrave;rement en utilisant les d&eacute;clarations d'inclusions.</li>
-<li><tt class="code">Warning: fopen("file.txt","r+") - No such file or directory</tt>
- - le fichier ou le r&eacute;pertoire requis n'existe pas. V&eacute;rifiez l'ortographe (la pr&eacute;cision est importante).</li>
-<li><tt class="code">SAFE MODE Restriction in effect. The script whose uid is 531 is not allowed to access...</tt>
-- Le "safe mode" est activ&eacute;. Certaines fonctions du syst&egrave;me de t&eacute;l&eacute;chargement ne peuvent pas &ecirc;tre utilis&eacute;es.
- G&eacute;n&eacute;ralement votre h&eacute;bergeur a mis en place le "self mode" (souvent
-mal configur&eacute;). Essayez de mettre sur "silly_safe_mode".</li>
-</ul>
-<br /><p></p><br /><div class="back">[<a href="#top">Haut de page</a>]</div><hr />
-
-
-<a name="renameTemplateHtml"></a>
-<h3>Peut-on renommer template.html en template.php pour inclure du code PHP dans mon template?</h3>
-<p>Non, ce n'est absolument pas la mani&egrave;re de fonctionner de coppermine; pour des pages "normales"
-Le nom d'extention indique au serveur comment le fichier doit &ecirc;tre analyser par l'interpreteur PHP.
- Le fichier template dans le r&eacute;pertoire themes
-folder n'est pas analys&eacute; &agrave; cause de cel&agrave;. - l'extension .html a juste &eacute;t&eacute; choisie pour pouvoir l'&eacute;diter plus facilement.
-Vous ne pouvez pas avoir de code PHP dans le fichier template,
- quel que soit le nom que vous lui donnez - C'est comme a!</p><br /><div class="back">[<a href="#top">Haut de page</a>]</div><hr />
-
-<a name="preventPictureStealing"></a>
-<h3>Comment peut-on emp&ecirc;cher les utilisateur d'enregistrer (voler) mes images?
-</h3>
-<p>Vous ne pouvez pas completement emp&ecirc;cher les utilisateurs de "voler" vos images -
-C'est la mani&egrave;re de fonctionner d'internet: si une image est affich&eacute;e dans un navigateur
-, l'utilisateur a une copie de cette image sur son disque dur. Il y a
-neanmoins plusieurs methodes pour rendre plus difficile aux utilisateurs n&eacute;ophites le "vol" d'images:
-</p><ul>
-<li>Ajoutez un filigranne sur vos images avant de les mettre en ligne</li>
-<li>Utilisez les watermark-hacks: <a href="http://coppermine.sourceforge.net/board/index.php?topic=1467.0">Coppermine support board / mods / Watermarking hack (w/ ImageMagick)</a>, <a href="http://coppermine.sourceforge.net/board/index.php?topic=3269.0">Coppermine support board / mods / Watermark on a per image basis (GD)</a>, <a href="http://coppermine.sourceforge.net/board/index.php?topic=7160.0">Coppermine support board / mods / Permanent Watermark with GD2</a>.
-Notez que ces  hacks augmente la charge du serveur, du fait que le filigrane est appliqu&eacute; &agrave; l'image &agrave; chaque fois qu'un utilisateur l'affiche
- dans son navigateur.</li>
-<li>Emp&ecirc;cher Internet Explorer de montrer la barre d'outils "Image" lorsqu'un utilisateur survole l'image avec sa souris
-. Ouvrez themes/votretheme/template.html,
-trouvez <tt class="code">&lt;meta http-equiv="Pragma" content="no-cache" /&gt;</tt> et ajoutez apr&egrave;s <tt class="code">&lt;meta http-equiv="imagetoolbar" content="no" /&gt;</tt></li>
-<li>Utilisez un des multiples scripts "anti click droit" disponibles (exemple: <a href="http://coppermine.sourceforge.net/board/index.php?topic=2450.0">Coppermine support board / mods / no right-click</a> or <a href="http://www.codelifter.com/main/javascript/norightclick1.html" class="external">codelifter.com: no right-click</a>)</li>
-</ul>
-<br /><p></p>
-<br />
-<div class="back">[<a href="#top">Haut de page</a>]</div><hr />
-
-
-
-<br />&nbsp;<br />
-<h2>Je dispose de mon propre serveur</h2><a name="enableGD"></a>
-<h3>Comment peut-on activer gd sur mon serveur Windows?</h3>
-<p>GD 1.x 2.x sont normalement partie int&eacute;grante de toute distribution standart de PHP sous Windows<br />
-Pour v&eacute;rifier si vous avez cette bibliotheque, allez dans le r&eacute;pertoire ou est install&eacute; votre php,
-allez dans le sous r&eacute;pertoire "extensions" et regardez si vous avez un fichier nomm&eacute;
-"php_gd2.dll".<br />
-Parfois vous devrez aussi ouvrir votre fichier php.ini file (situ&eacute; normalement dans le r&eacute;pertoire windows
-) et enlevez le ";" qui est au d&eacute;but de la ligne:<br />
-<tt class="code">extension=php_gd2.dll</tt> (&agrave; la fin du fichier). Cel&agrave; obligera PHP a charger l'extension GD2.<br />
-Chaque fois que vous effectuez un changement dans php.ini, rappelez vous que vous devez red&eacute;marer votre serveur.<br />
-ImageMagick est plus difficile &agrave; utiliser sous Windows<br />
-Greg (auteur initial de coppermine)<br /></p><br /><div class="back">[<a href="#top">Haut de page</a>]</div><hr />
-<a name="enableIMonWindows"></a>
-<h3>Comment peut-on activer ImageMagick sur mon serveur Windows?</h3>
-<p>ImageMagick est beaucoup plus difficile &agrave; parametrer sous Windows. Il y a plusieurs chose &agrave; prendre en compte
-. Le forum d'aide de Coppermine n'est <b>pas</b> le bon endroit pour demander de l'aide pour son installation, ce forumt
-traitant de Coppermine, pas du ssujet "Comment configurer un serveur" (la plupars des gens
-sur le forum de Coppermine n'ont pas leu propre serveur, mais ont un espace chez un h&eacute;bergeur).
- Essayez plut&ocirc;t de trouver de l'aide sur de forums traitant de ce sujet particulier.
-<br /><br /></p><br /><div class="back">[<a href="#top">Haut de page</a>]</div><hr />
-
-<br />&nbsp;<br />
-<h2>Forum d'aide de Coppermine</h2>
-Ce sont (h&eacute;las)
-des questions pas suffisament pos&eacute;es sur les forums d'aide. Avant de poster sur le forum d'aide
-(ou en fait sur tout forum), s'il vous plait lisez cel&agrave;:
-<a name="phpNewbie"></a>
-<h3>Je n'y connais rien &agrave;  PHP/mySQL...</h3>
-<p>Pas de probl&egrave;mes, chacun a &eacute;t&eacute; d&eacute;butant un jour, <b>mais</b>: ne commencez pas chaque sujet par "Je suis d&eacute;butant", "je n'y commais rien &agrave; PHP " etc.<br />
-Souvent, on le voit &agrave; la question pos&eacute;e elle m&ecirc;me, pas besions de s'excuser...<br /></p><br /><div class="back">[<a href="#top">Haut de page</a>]</div><hr /><a name="lamesupport"></a>
-<h3>J'ai post&eacute; ma question il y a d&eacute;j&agrave; longtemps mais , personne n'y r&eacute;ponds. Que se passe t'il...?</h3>
-<p>Le forum d'aide n'est <b>pas</b> une hotline. M&ecirc;me si il y a beaucoup de visiteurs
-, seulement une petite part apporte de l'aide - sur la base du volontariat libre et gratuit.
- Nous ne sommes pas pay&eacute;s pour &agrave; et avons une vie, un travail, une famille
-. Nous ne sommes pas toujours l&agrave;.<br />Si vous ne recevez pas de r&eacute;ponse &agrave; votre question:
-</p><ul>
-<li>Assurez vous que vous avez laiss&eacute; assez de temps pour r&eacute;pondre (jours, pas heures!)</li>
-<li>peut-&ecirc;tre que personne ne connais la r&eacute;ponse &agrave; votre probl&egrave;me</li>
-<li>Votre question a peut &ecirc;tre d&eacute;j&agrave; &eacute;t&eacute; pos&eacute;e tr&egrave;s souvent</li>
-<li>Votre envoie a &eacute;t&eacute; impoli ou injurieux et vous &ecirc;tes ignor&eacute;s pour cette raison</li>
-<li>votre requ&ecirc;te demande beaucoup de programation, et aucun de ceux qui sont en mesure de le faire n'ont de besions pour cette fonction</li>
-</ul><br /><p></p><br /><div class="back">[<a href="#top">Haut de page</a>]</div><hr /><a name="howtoask"></a>
-<h3>Comment dois-je poser ma question?</h3>
-<p>Si vous avez une question, assurez vous de donner le plus possible d'informations:
-</p><ul>
-<li>Un lien vers votre galerie est souvent le seul moyen de vous aider-
-donnez le avec votre question, ou mieux: editez votre profil sur le forum d'aide
- et entre l'URL de votre site !</li>
-<li>Si vous avez des probl&egrave;mes de serveur, assurez vous de donner les informations sur votre serveur (<acronym class="tool" title="operation system">OS</acronym>, serveur, version PHP,versions mySQL, version de la librairie gd, safe mode sur on/off?).
- La plupars des informations peuvent &ecirc;tre trouv&eacute;es ici <a href="#VersionGD">phpinfo()</a></li>
-<li>S'il s'agit d'un probl&egrave;me 'utilisateur', donnez nous les informations de votre utilisateur: <acronym class="tool" title="operation system">OS</acronym> et navigateur</li>
-<li>postez une capture d'&eacute;cran si necessaire</li>
-<li>Utilisez un titre de sujet correct: dites &agrave; quoi se rapporte votre question
-! la plupars des personnes apportant de l'aide sont r&eacute;ticents &agrave; r&eacute;pondre &agrave; des sujets du genre
- "J'ai une question" ou
-"Probl&egrave;me d'installation" ou "demande de fonction" ou "aidez moi s'il vous plaiiiiiiiiiiiiit"</li>
-</ul><br /><p></p><br /><div class="back">[<a href="#top">Haut de page</a>]</div><hr /><a name="firstSteps"></a>
-<h3>J'ai un probl&egrave;me avec Coppermine. Que faut'il fair en premier (avant de poster sur le forum)?</h3>
-<p></p><ul>
-<li>lisez le fichier 'readme' qui est dans le pack de coppermine</li>
-<li>lisez la doculentation</li>
-<li>lisez cette FAQ</li>
-<li><a href="http://coppermine.sourceforge.net/board/index.php?action=search">Cherchez</a> sur le forum d'aide</li>
-<li>activez le mode debug (identifiez vous comme admin, mode admin, configuration, mode de debugage)</li>
-<li>choisissez le bon forum d'aide: si vous utilisez la version pour phpnuke
-de coppermine, ne postez pas sur le support d'aide pour la version autonome
-et vice et versa</li>
-</ul><br /><p></p><br /><div class="back">[<a href="#top">Haut de page</a>]</div><hr /><a name="nonEnglishPosting"></a>
-<h3>H&eacute;, en regardant votre profil J'ai vu que vous &eacute;tiez Allemand/Franais/ou autre... Puis-je poser ma question dans cette langue?</h3>
-<p>S'il vous plait, ne postez pas dans une autre langue que l'Anglais - comme &agrave;,
-d'autres pourront b&eacute;n&eacute;ficier des questions (et des r&eacute;ponses). Ne soyez pas effray&eacute;s par votre mauvais anglais
- - personne ne se moqueras de vous, et la plupars des
-visiteurs ont une autre langue maternelle que l'anglais! Il y a un forum francophone
-ici <a href="http://coppermine-gallery.net/forum/index.php?board=38.0" class="external">http://coppermine-gallery.net/forum/index.php?board=38.0</a>
- - utilisez le si vous n'&ecirc;tes pas en mesure de poster en anglais!<br /></p><br /><div class="back">[<a href="#top">Haut de page</a>]</div><hr /><a name="emailSupport"></a>
-<h3>Puis-je vous envoyer un courriel/pm/im pour de l'aide?</h3>
-<p>Non vous ne devez pas! postez votre question sur le forum <a href="http://coppermine.sourceforge.net/board/">Forum d'aide de Coppermine</a>  - si nous (la communaut&eacute;) ne trouvons pas la solution <b>et</b> <i>j'ai</i> le temps <b>et</b> <i>Je </i> le souhaite <i>Je</i>vous enverrais un courriel/pm/im <i>you</i>!<br />
-</p><br /><div class="back">[<a href="#top">Haut de page</a>]</div><hr />
-
-<a name="aboutTeam"></a>
-<h3><b>Qui &ecirc;tes vous ?</b></h3>
-<p>Nous sommes un groupe de personnes qui a d&eacute;cid&eacute; de former une &eacute;quipe pour d&eacute;velopper Coppermine d'avantage - regardez la page <a href="http://coppermine.sourceforge.net/team/">equipe</a> pour les d&eacute;tails...<br /></p><br /><div class="back">[<a href="#top">Haut de page</a>]</div><hr />
-
-
-<br />&nbsp;<br />
-Cette FAQ est un travail qui &eacute;volue, s'il vous plait contribuez au forum d'aide de Coppermine Photo Galerie <a href="http://coppermine.sourceforge.net/board/">
-</a> <br />
-Rapportez les erreurs, fautes etc...<br />
-V&eacute;rifiez  <a href="http://coppermine.sourceforge.net/faq.php">
-la version en ligne de ce document</a> pour les mises &agrave; jour!<br />
-Profitez en!<br />
-<br />
-<b>GauGau</b> (aka <b>Joachim Mueller</b>) - Coppermine
-Dev Team <b><br />
-(ne me contactez pas pour r&eacute;soudre vos probl&egrave;mes d'installation de Coppermine)</b>.<a name=""></a>
-<br />
-<div class="back">[<a href="#top">Haut de page</a>]</div><hr />
-<p>Adaptation &amp; Traduction du <a href="http://coppermine.sourceforge.net/faq.php">FAW en anglais</a> en Franais par <a href="http://coppermine.sourceforge.net/board/index.php?action=profile;u=1545"><b>PYAP</b></a> (cad <b>Pascal YAP</b>) et <a href="http://coppermine.sourceforge.net/board/index.php?action=profile;u=9980"><b>Frantz</b></a> (cad Franois KELLER) (<b>French Coppermine Moderators</b>)</p>
-</body>
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+<title>French FAQ Coppermine Photo Gallery - Documentation &amp; Manuel en Franais</title>
+<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
+<meta name="robots" content="noindex,nofollow">
+<meta name="language" content="fr">
+<meta name="author" content="PYAP">
+<meta name="copyright" content="Coppermine dev team">
+<meta name="description" content="Coppermine Photo Gallery project - Coppermine is an easily set-up, fast, feature-rich photo gallery script with mySQL database, user management, private galleries, automatic thumbnail creation, ecard feature and a template system for easy customization to match the rest of a site.">
+<meta name="keywords" content="photo,gallery,galery,image,coppermine,php,mysql,easy,feature,phpnuke,thumbnail,automatic,creation,gd,Image Magick,ecard">
+<meta name="page-topic" content="photo,gallery,galery,image,coppermine,php,mysql,easy,feature,phpnuke,thumbnail,automatic,creation,gd,Image Magick,ecard">
+<meta http-equiv="Content-Style-Type" content="text/css">
+<meta name="MSSmartTagsPreventParsing" content="true">
+<meta http-equiv="imagetoolbar" content="no">
+<!--
+  Subversion information (for information and developer purposes only - safe to ignore for everybody else):
+  Coppermine version: 1.4.25
+  $HeadURL: https://coppermine.svn.sourceforge.net/svnroot/coppermine/trunk/cpg1.4.x/docs/faq_fr.htm $
+  $Revision: 5997 $
+  $Author: gaugau $
+  $Date: 2009-05-26 08:43:24 +0200 (Di, 26 Mai 2009) $
+-->
+<!-- Version Fran?aise Pascal YAP Janvier 2005 -->
+<!-- Contact PYAP here http://coppermine.sourceforge.net/board/index.php?action=profile;u=1545 -->
+<!-- Visit French Coppermine Forum at http://coppermine.sourceforge.net/board/index.php?board=38.0 -->
+<link rel="stylesheet" type="text/css" href="style.css">
+<style type="text/css">
+
+</style>
+</head>
+
+<body><a name="top"></a>
+<h1>Coppermine 1.4.x FAQ</h1>
+<ul>
+  <li><a href="http://coppermine.sourceforge.net/board/index.php?board=38.0">Forum Support Coppermine en Franais</a></li>
+  <li><a href="http://coppermine.sourceforge.net/board/">Support forums for Coppermine Photo Gallery</a></b> en anglais.</li>
+  <li><b>Base de <a href="http://coppermine.sourceforge.net/">Coppermine Photo Gallery</a></b></li>
+  <li>Pour voir les <b>Cr&eacute;dits</b> et <b>Copyrights</b>, suivez : <a href="index_fr.htm#credits"><b>Coppermine documentation</b></a></li>
+  <li>Nous avons souvent contast&eacute; dans le <b>Forum consacr&eacute; &agrave; Coppermine Photo Gallery</b> que les m&ecirc;mes questions &eacute;taient fr&eacute;quement pos&eacute;es. C'est pour cette raison que nous avons d&eacute;cid&eacute; de concevoir cette page <b>FAQ</b> (<b>F</b>requent <b>A</b>sk <b>Q</b>uestions, <b>F</b>oire <b>A</b>ux <b>Q</b>uestions, ou <b>Questions Fr&eacute;quement Pos&eacute;es</b>)</li>
+</ul>
+
+<h2>Table des mati&egrave;res:</h2>
+<ul class="nomargin">
+  <li><b>&nbsp;Installation</b></li>
+  <ul class="nomargin">
+    <li>&nbsp;<a class="content" href="#MinimumRequirements">Quelles sont <b>les ressources minimuns n&eacute;cessaires pour utiliser Coppermine</b> 1.4.x?</a></li>
+    <li>&nbsp;<a class="content" href="#whatIsImageMagick"><b>ImageMagick</b> qu'est-ce que c'est, et o&ugrave; puis-je l'obtenir ?</a></li>
+    <li>&nbsp;<a class="content" href="#WhatIsGD"><b>GD</b> <b>1</b> ou <b>2</b> qu'est-ce que c'est, et o&ugrave; puis-je l'obtenir ?</a></li>
+    <li>&nbsp;<a class="content" href="#VersionPHP">Comment savoir quelle <b> version de PHP</b> est utilis&eacute;e sur mon serveur ?</a></li>
+    <li>&nbsp;<a class="content" href="#VersionGD">Comment savoir quelle <b> version de GD</b> est utilis&eacute;e ?</a></li>
+    <li>&nbsp;<a class="content" href="#GD1vsGD2">Quelles sont <b>les diff&eacute;rences entre GD1 et GD2</b> ?</a></li>
+    <li><a class="content" href="#InstallSteps">&nbsp;Quelles sont <b>les &eacute;tapes pour voir Coppermine</b> fonctionner ?</a></li>
+    <li><a class="content" href="#installIMwhenHosted">&nbsp;Comment installer <b>ImageMagick ou GD</b> ?</a></li>
+    <li><a class="content" href="#minimumInstall">&nbsp;Je ne poss&egrave;de qu'un <b>petit espace Web</b>, y-a-t-il une <b>Installation Minimum de Coppermine</b>?</a><br />
+      <br />
+    </li>
+  </ul>
+  <li><b>&nbsp;Upload</b></li>
+  <ul class="nomargin">
+    <li><a class="content" href="#uploadGeneralTroubleshooting">&nbsp;<b>Recommandations G&eacute;n&eacute;rales pour l'Upload</b> (<b>CHMOD</b> / <b>T&eacute;l&eacute;chargements</b> / <b>Permissions</b>)</a><br />
+      <br />
+    </li>
+  </ul>
+  <li>&nbsp;<b> Les Messages d'Erreur</b></li>
+  <ul class="nomargin">
+    <li>&nbsp;<a class="content" href="#errormessage">Durant l'intallation, je reois un message <b><tt class="code"><i>&nbsp;Fatal Error: Call to undefined function: imagecreatefromjpeg() in /include/picmgmt.inc.php
+      on line 168&nbsp;</i></tt></b>. Qu'est-ce-que cel&agrave; signifie ?</a></li>
+    <li>&nbsp;<a class="content" href="#mkdirPermissionDenied">Durant l'installation, je reois ce message d'erreur : <tt class="code">&nbsp;Warning :<i><b>mkdir(dummy) [function.mkdir]: Permission denied in /your/path/to/coppermine/install.php on line 126&nbsp;</b></i></tt>. Qu'est-ce-que cel&agrave; signifie ?</a></li>
+    <li>&nbsp;<a class="content" href="#EmptyDelimiter">Je reois cette <b>erreur</b> <tt class="code"><b><i>&nbsp;Warning: Empty Delimiter in search.inc.php line 33</i></b>&nbsp;</tt>. Que puis-je faire ?</a></li>
+    <li>&nbsp;<a class="content" href="#zerosizedreply">Je reois cette erreur <tt class="code"><b><i>&nbsp;Zero Sized Reply during install&nbsp;</i></b></tt>. Que puis-je faire ?</a></li>
+    <li><a class="content" href="#ErrorUndefinedIndex">&nbsp;Je reois ce message <i><b><tt class="code">&nbsp;Warning: Undefined index: SCRIPT_NAME in /www.your-domain.com/include/init.inc.php on line 90&nbsp;</tt></b></i>. Que dois-je faire ?</a></li>
+    <li>&nbsp;<a class="content" href="#ErrorCantMovePic">Quand un Utilisateur tente d'uploader une image, je reois ce message d'erreur : <i><b><tt class="code">&nbsp;Impossible to move somepic.jpg to albums/userpics/ | Warning: move_uploaded_file(/tmp/phpezCYKr) [function.move-uploaded-file]: failed to create stream: Operation not permitted&nbsp;</tt></b></i>. Que se passe-t-il, o&ugrave; est l'erreur ?</a></li>
+    <li><a class="content" href="#httpPostVars">&nbsp;Durant le t&eacute;l&eacute;chargement d'une image vers mon serveur, je reois ce message <tt class="code"><i><b>&nbsp;Warning: Undefined variable: HTTP_POST_VARS in include/init.inc.php on line 43&nbsp;</b></i></tt>. Que dois-je faire ?</a><br />
+      <br />
+    </li>
+  </ul>
+  <li><b>&nbsp;Setup / R&eacute;glages / Configuration</b></li>
+  <ul class="nomargin">
+    <li>&nbsp;<a class="content" href="#LinkInAlbumDescription"><b>Inclure un lien dans la Description d'un Album </b> ou <b>dans la l&eacute;gende d'une image</b> ?</a></li>
+    <li><a class="content" href="#NoLastUploads">Comment faire pour <b>&eacute;diter ce qui sera affich&eacute; sur la premi&egrave;re page de ma Galerie Coppermine</b>, et </a><a class="content" href="#NoLastUploads"><b>ne pas afficher mes Nouvelles Images sur ma page d'acueuil</b>.</a></li>
+    <li><a class="content" href="#editCopyrights"><b>Comment effacer</b> ou modifier cette ligne en bas de page &quot;<tt class="code"><b>&nbsp;Powered by Coppermine&nbsp;</b></tt>&quot;?</a></li>
+    <li><a class="content" href="#buyLicense"><b>Je veux acheter une Licence Coppermine</b> pour supprimer la ligne &quot;<tt class="code"><b>&nbsp;Powered by Coppermine&nbsp;</b></tt>&quot;, comment faire ?</a></li>
+    <li><a class="content" href="#removeFeature"> <b>Je ne veux pas utiliser certaines fonctions </b>de Coppermine. Comment les supprimer ?</a></li>
+    <li><a class="content" href="#customHeader">Comment <b>ajouter une ent&ecirc;te, ou un pied de page personnalis&eacute; &agrave; Coppermine </b>?</a></li>
+    <li><a class="content" href="#createPublicAlbum">Comment cr&eacute;er <b>un Album o&ugrave; tout le monde peut charger des images</b> dedans ?</a></li>
+    <li><a class="content" href="#BackupDatabase"><b>Comment faire une</b> <b>Sauvegarde/Backup de ma base de donn&eacute;es Coppermine</b> ?</a></li>
+    <li><a class="content" href="#noFullsizePopup"><b>L<span class="content">es images plein format ne s'ouvrent pas</span></b><span class="content"> dans une nouvelle fen&ecirc;tre popup <b>lorsque je clique sur les images interm&eacute;diaires</b>. Que se passe-t-il ?</span></a></li>
+    <li class="content"><a class="content" href="#viewThumbnailsOnly"><b>Comment faire pour que les utilisateurs non enregistr&eacute;s ne voient que les vignettes</b>, pas les images en grand taille ?</a></li>
+    <li class="content"><a class="content" href="#preventHotlinks"><b>Comment faire pour emp&ecirc;cher les autres sites web de faire des liens directs vers les images de ma galerie</b></a></li>
+    <li><a class="content" href="#changeLanguage">Je tente de <b>changer le langage</b> depuis la page de Configuration, <b>mais cel&agrave; ne marche pas</b>? O&ugrave; est l'erreur ?</a></li>
+    <li class="content"><a class="content" href="#onlyregisteredcomments"><b>Comment faire pour autoriser les Utilisateurs non-enregistr&eacute;s &agrave; d&eacute;poser des commentaires</b> sous mes photos ? et <b>pas uniquement les Utilisateurs enregistr&eacute;s</b>!</a></li>
+    <li><a class="content" href="#httpUpload"><b>Je ne peux pas t&eacute;l&eacute;charger des images vers mon serveur</b> ! Que se passe-t-il ?</a></li>
+    <li><a class="content" href="#ordercategories"><b>Comment changer l'ordre des Cat&eacute;gories</b> ?</b>?</a></li>
+    <li><a class="content" href="#cantDeletePic"><b>Je ne peux pas supprimer certaines images en FTP</b> ! Que dois-je faire? </a></li>
+    <li><a class="content" href="#cantUploadBigPics"><b>Je ne peux pas t&eacute;l&eacute;charger de grosses images vers mon serveur</b>. Qu'est-ce qui ne va pas ?</a></li>
+    <li><a class="content" href="#cookie"><b>Je ne peux pas me connecter &agrave; ma galerie</b> Coppermine (<b>login</b>) !</a></li>
+    <li><a class="content" href="#moveAlbum">Comment <b>d&eacute;placer un Album depuis Cat&eacute;gorie vers une autre</b> ?</a></li>
+    <li><a class="content" href="#sortAlbum">Comment puis-je <b>changer l'ordre d'affichage des Albums</b>?</a></li>
+    <li><a class="content" href="#deleteIntermediates"><b>Je ne d&eacute;sire plus utiliser les images interm&eacute;diaires</b>. <b>Comment faire pour les supprimer</b> afin de gagner de la place sur mon web ?</a></li>
+    <li><a class="content" href="#howAlbumsFolderWork"><b>Comment fonctionnent les Albums et les Dossiers</b> dans Coppermine?</a></li>
+    <li><a class="content" href="#howMoveAlbum">Comment faire pour <b>d&eacute;placer un Album depuis une Cat&eacute;gorie vers une autre Cat&eacute;gorie</b>?</a></li>
+  </ul>
+  <li><b>Add-ons / Modifications / Hacks</b></li>
+  <ul class="nomargin">
+    <li><a class="content" href="#changeOrderEdit">Comment puis-je changer l'ordre des images en<b> les &eacute;ditant </b>?</a></li>
+    <li><a class="content" href="#rightHandMenu">Comment puis-je cr&eacute;e un menu qui sera affich&eacute;<b> &agrave; droite</b> de ma galerie?</a></li>
+    <li><a class="content" href="#jumpToPrivateAlbum">Comment envoyer directement un utilisateur vers <b>son album priv&eacute;</b> lorsqu'il s'identifie</a></li>
+    <li><a class="content" href="#registeredUsersOnly">Comment peut-on <b>emp&ecirc;cher les utilisateurs non enregistr&eacute;s</b> de voir la galerie?</a></li>
+    <li><a class="content" href="#displayUploaderName">Comment peut-on <b>afficher le nom de <i>l'uploader</i></b> avec les informations de l'image?</a></li>
+    <li><a class="content" href="#linksInCustomFields">Comment peut-on mettre <b>un lien cliquable dans les champs utilisateurs personnalisables</b>?</a></li>
+    <li><a class="content" href="#sortThumbsByCustomField">Comment peut-on <b>trier les vignettes par utilisateurs d&eacute;finis dans les champs personnalisables</b>?</a></li>
+    <li><a class="content" href="#iptcSupport">Comment peut-on <b>activer le support IPTC </b>?</a></li>
+    <li><a class="content" href="#addFooterBeforePoweredBy">Comment peut-on <b>ajouter</b> des informations <b>juste avant</b> la ligne "Powered by Coppermine"?</a></li>
+    <li><a class="content" href="#commonPHPerrors">Erreurs communes de PHP et comment s'en d&eacute;barrasser...</a></li>
+    <li><a class="content" href="#renameTemplateHtml">Peut-on <b>renommer template.html en template.php</b> pour inclure <b>du code PHP</b> dans mon<i> template</i>?</a></li>
+    <li><a class="content" href="#preventPictureStealing">Comment peut-on emp&ecirc;cher les utilisateur d'enregistrer (<i>voler</i>) mes images?</a></li>
+  </ul>
+  <li><b>Je dispose de mon propre serveur</b></li>
+  <ul class="nomargin">
+    <li><a class="content" href="#enableGD">Comment peut-on <b>activer gd</b> sur mon serveur Windows?</a></li>
+    <li><a class="content" href="#enableIMonWindows">Comment peut-on <b>activer ImageMagick</b> sur mon serveur Windows?</a></li>
+  </ul>
+  <li><b>Forum d'aide de Coppermine</b></li>
+  <ul class="nomargin">
+    <li><a class="content" href="#phpNewbie">Je  <b>n'y connais rien &agrave; </b> PHP/mySQL...</a></li>
+    <li><a class="content" href="#lamesupport">J'ai post&eacute; ma question il y a d&eacute;j&agrave; longtemps mais, <b>personne n'y r&eacute;ponds</b>. Que se passe t'il...?</a></li>
+    <li><a class="content" href="#howtoask">Comment dois-je poser ma <b>question</b>?</a></li>
+    <li><a class="content" href="#firstSteps">J'ai un probl&egrave;me avec Coppermine. Que faut'il fair en premier (<b>avant de poster</b> sur le forum)?</a></li>
+    <li><a class="content" href="#nonEnglishPosting">H&eacute;, en regardant votre profil J'ai vu que vous &eacute;tiez Allemand/Franais/ou autre... Puis-je poser ma question dans cette <b>langue</b>?</a></li>
+    <li><a class="content" href="#emailSupport">Puis-je vous envoyer un courriel/<acronym title="private message" class="tool">pm</acronym>/<acronym title="instant message" class="tool">im</acronym> pour <b>de l'aide</b>?</a></li>
+    <li><a class="content" href="#aboutTeam"><b>Qui</b> &ecirc;tes vous ?</a></li>
+  </ul>
+</ul>
+
+
+<hr width="66%">
+<br />&nbsp;<br />
+<h2>Installation</h2><a name="MinimumRequirements"></a>
+<h3>Quelles sont les ressources minimum pour pouvoir utiliser Coppermine 1.4.x?</h3>
+<p>
+
+</p><ul>
+  <li>N'importe quel serveur avec une pr&eacute;f&eacute;rence pour <b>APACHE</b>.
+    <b>Coppermine</b> fonctionne parfaitement avec <a href="http://httpd.apache.org/" class="external">Apache</a>,
+    <a href="http://www.microsoft.com/iis/" class="external">Microsoft
+    Internet Information Server</a> (IIS), <a href="http://www.roxen.com/products/webserver/" class="external">Roxen
+    WebServer</a>, <a href="http://www.aprelium.com/" class="external">Abyss</a>,
+    <a href="http://www.janaserver.de/" class="external">JanaServer</a>)</li>
+  <li>PHP 4.1.0 ou plus r&eacute;cent.</li>
+  <li><a href="#WhatIsGD">GD lib</a> ou Image Magick.</li>
+  <li>mySQL 3.23.23 ou plus r&eacute;cent (4.x recommand&eacute;). Don't confuse
+    the client api version (which is shown in phpinfo) with the mySQL version
+    !</li>
+</ul>
+<p></p><br /><div class="back">[<a href="#top">Haut de page</a>]</div><hr />
+<a name="WhatIsGD"></a>
+<h3>Qu'est-ce que <u>GD</u> et o&ugrave; l'obtenir ?</h3>
+<p><b>GD est une Librairie Graphic</b> qui permet &agrave; PHP de manipuler des
+  images. Vous pouvez t&eacute;l&eacute;charger <b>GD</b> depuis <a href="http://www.boutell.com/gd/" class="external">www.boutell.com/gd/</a>.<br />
+  <b>GD</b> est livr&eacute; avec les versions les plus r&eacute;centes de PHP.
+  Vous aurez peut-&ecirc;tre besoin de recompiler PHP en fonction de la configuration
+  de votre serveur <i> APACHE</i>.<br />
+  Sur la plupart des syst&egrave;mes <i>Windows</i>, vous n'avez qu'&agrave;
+  d&eacute;clarer <b>GD</b> dans le fichier <b>php.ini</b> (ce
+  qui ne peut &ecirc;tre effectu&eacute; que si vous &ecirc;tes le "propri&eacute;taire"
+  de votre serveur web)<br />
+  Si votre votre <b>Galerie Coppermine</b> est install&eacute;e chez un h&eacute;bergeur,
+  <b>assurez-vous que votre espace web est bien &eacute;quip&eacute; de GD</b>.
+  Si tel n'est pas le cas, demandez &agrave; votre h&eacute;bergeur de l'installer,
+  ... sinon cherchez un autre h&eacute;bergeur !<br />
+  Comment <a class="content" href="#VersionGD"><b>connaitre la version GD</b></a>
+  de mon serveur ?</p>
+<br /><div class="back">[<a href="#top">Haut de page</a>]</div><hr />
+<a name="whatIsImageMagick"></a>
+<h3>ImageMagick qu'est-ce que c'est, et o&ugrave; puis-je l'obtenir ?</h3>
+<p><b>ImageMagick</b> est une librairie Graphic qui permet la manipulation d'images.<br />
+  Vous pouvez t&eacute;l&eacute;charger <b>ImageMagick</b> ici : <a href="http://www.imagemagick.org/" class="external">www.magemagick.org</a>.<br />
+  Existe pour Unix, Linux, Mac et Windows.<br />
+  Vous ne pouvez installer <b>ImageMagick</b> que si vous avez votre propre serveur
+  ou sur votre ordinateur personnel pour y effectuer des essais.<br />
+  Vous ne pouvez pas installer <b>ImageMagick</b> chez un h&eacute;bergeur (free,
+  lycos, wanadoo, proxad...)<br />
+</p>
+<br />
+<div class="back">[<a href="#top">Haut de page</a>]</div><hr />
+<a name="VersionPHP"></a>
+<h3>Comment savoir quelle version de PHP est utilis&eacute;e sur mon serveur ?</h3>
+<p>- Cr&eacute;ez un fichier (mode texte brut. Pas Word ou autres) Nommez-le "info-version.php".<br />
+  - Ins&eacute;rez le code suivant <tt class="code">&lt;?php phpinfo(); ?&gt;</tt>
+  et sauvegardez.<br />
+  - T&eacute;l&eacute;chargez votre fichier "info-version.php" vers
+  votre serveur.<br />
+  - Faites pointez votre navigateur internet vers ce fichier. L'adresse &agrave;
+  taper sera par exemple <i>http://VotreWwWeb .com/info-version.php</i><br />
+  - La toute premi&egrave;re ligne doit afficher : "<b>PHP Version x.y.z</b>"
+  (x, y et z &eacute;tant les num&eacute;ros de version)<br />
+  <br />
+  &nbsp;&nbsp;&nbsp;<b>NOTEZ que laisser "info-version.php" sur votre
+  serveur peut repr&eacute;senter un risque majeur pour l'int&eacute;grit&eacute;
+  de votre web</b> (esprit malveillant) Apr&egrave;s avoir constat&eacute; la
+  version de votre PHP, supprimez le fichier "info-version.php" ou d&eacute;placez-le
+  vers un dossier prot&eacute;g&eacute; par un mot de passe.<br />
+  <br />
+  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Lorsque vous &ecirc;tes connect&eacute; sur votre
+  Galerie <b>Coppermine 1.4.x en Mode Admin</b>, il y a le fichier "<b>phpinfo.php</b>"
+  que vous pouvez ex&eacute;cuter pour connaitre d'autres infos. Faites alors
+  : <i>http://VotreWwWeb .com/phpinfo.php</i><br />
+</p>
+<br /><div class="back">[<a href="#top">Haut de page</a>]</div><hr />
+<a name="VersionGD"></a>
+<h3>Comment savoir quelle version de GD est utilis&eacute;e ?</h3>
+<p>- Cr&eacute;ez un fichier texte <b>en mode texte brut</b> et surtout pas Word
+  ou autres. Nommez-le "<b>info-version.php</b>".<br />
+  - Ins&eacute;rez le code suivant <tt class="code">&lt;?php phpinfo(); ?&gt;</tt>
+  et sauvegardez.<br />
+  - T&eacute;l&eacute;chargez votre fichier "<b>info-version.php</b>"
+  vers votre serveur.<br />
+  - Faites pointez votre navigateur internet vers ce fichier,<br />
+  l'adresse &agrave; taper sera par exemple <i>http://VotreWwWebCoppermine .com/info-version.php</i><br />
+  <br />
+  - Cherchez alors le tableau concernant <b>GD</b> :<br />
+
+</p><div style="font-family: arial,helvetica,sans-serif; font-size: 14pt; font-weight: bold;" align="center">gd</div>
+<table align="center" bgcolor="#000000" border="0" cellpadding="3" cellspacing="1" width="600">
+<tbody><tr bgcolor="#cccccc" valign="baseline">
+    <td bgcolor="#ccccff" width="292"><b>GD Support</b></td>
+    <td align="left" width="293">enabled</td>
+  </tr>
+<tr bgcolor="#cccccc" valign="baseline">
+    <td bgcolor="#ccccff" width="292"><b>GD Version</b></td>
+    <td align="left" width="293">1.6.2 or higher</td>
+  </tr>
+<tr bgcolor="#cccccc" valign="baseline">
+    <td bgcolor="#ccccff" width="292"><b>FreeType Support</b></td>
+    <td align="left" width="293">enabled</td>
+  </tr>
+<tr bgcolor="#cccccc" valign="baseline">
+    <td bgcolor="#ccccff" width="292"><b>FreeType Linkage</b></td>
+    <td align="left" width="293">with TTF library</td>
+  </tr>
+<tr bgcolor="#cccccc" valign="baseline">
+    <td bgcolor="#ccccff" width="292"><b>JPG Support</b></td>
+    <td align="left" width="293">enabled</td>
+  </tr>
+<tr bgcolor="#cccccc" valign="baseline">
+    <td bgcolor="#ccccff" width="292"><b>PNG Support</b></td>
+    <td align="left" width="293">enabled</td>
+  </tr>
+<tr bgcolor="#cccccc" valign="baseline">
+    <td bgcolor="#ccccff" width="292"><b>WBMP Support</b></td>
+    <td align="left" width="293">enabled</td>
+  </tr>
+</tbody></table>
+<br />
+<b>NOTEZ que laisser "info-version.php"
+sur votre serveur peut repr&eacute;senter un risque majeur pour l'int&eacute;grit&eacute;
+de votre web</b><i> (il existe effectivement des esprits malveillant)</i><br />
+Apr&egrave;s avoir constat&eacute; la version de votre librairie graphique GD
+supprimez le fichier "info-version.php" ou d&eacute;placez-le vers un
+dossier prot&eacute;g&eacute; par un mot de passe.<br />
+<br />
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Lorsque vous &ecirc;tes connect&eacute; sur votre
+Galerie <b>Coppermine 1.4.x en Mode Admin</b>, il y a le fichier "<b>phpinfo.php</b>"
+que vous pouvez ex&eacute;cuter pour connaitre d'autres infos. Faites alors :
+<i>http://VotreWwWeb .com/phpinfo.php</i><br />
+<br />
+<br />
+<div class="back">[<a href="#top">Haut de page</a>]</div><hr />
+<a name="GD1vsGD2"></a>
+<h3>Quelles sont les diff&eacute;rences entre GD1 and GD2 ? </h3>
+<p><b>GD2</b> produit de meilleurs r&eacute;sultats que <b>GD1</b> pour la cr&eacute;ation
+  des images interm&eacute;diaires et des vignettes (intermediate
+  and thumbnails)
+<table class="frame2" border="0" width="323">
+  <tbody><tr>
+    <td colspan="2">
+      <div align="center"><span class="winzig">Exemple depuis <a href="http://www.vddh.com/wnailer/index.php?pag=res&amp;pic=1#comp" class="external">w-nailer:
+        about resizing</a><br />
+        (Taille originale : 1024 x 768 pixels)</span></div>
+    </td>
+  </tr><tr>
+    <td align="center" width="156"><img src="http://coppermine.sourceforge.net/images/128x96gd1.jpg" alt="" title="GD1" border="0" height="96" width="128"></td>
+    <td align="center" width="157"><img src="http://coppermine.sourceforge.net/images/128x96gd2.jpg" alt="" title="GD2" border="0" height="96" width="128"></td>
+  </tr><tr>
+    <td align="center" width="156"><span class="winzig"><b>GD 1</b>.8.4 :<br />
+      ImageCreate<br />
+      ImageCopyResized<br />
+      128 x 96 pixels</span></td>
+    <td align="center" width="157"><span class="winzig"><b>GD 2</b>.0.1 :<br />
+      ImageCreateTrueColor<br />
+      ImageCopyResampled<br />
+      128 x 96 pixels</span></td>
+  </tr></tbody></table>
+<b>Faire une mise &agrave; jour de GD</b> alors que des images sont d&eacute;j&agrave;
+install&eacute;es dans Coppermine n'aura <b>aucune influence de qualit&eacute;</b>
+sur ces images.<b> Seuls les nouvelles images profiteront d'un gain de qualit&eacute;</b>.<br />
+<b>Vous ne pouvez pas faire de mise &agrave; jour de GD si vous n'&ecirc;tes pas
+propri&eacute;taire de votre serveur. Seuls les h&eacute;bergeurs peuvent le faire
+!</b><br />
+</p>
+  <div class="back">[<a href="#top">Haut de page</a>]</div>
+<hr />
+<a name="InstallSteps"></a>
+<h3>Quelles sont les &eacute;tapes pour voir Coppermine fonctionner ?</h3>
+<p>Comme en fait &eacute;tat le fichier <a href="http://expo.pays-dignois.com/docs_cpg4/README-fr.html"><b>Readme-fr</b></a>
+  pr&eacute;sent dans la documentation Coppermine :
+</p><ol>
+  <li>T&eacute;l&eacute;chargez l'archive <b>Coppermine</b> (Download
+    Coppermine)</li>
+  <li>D&eacute;zippez l'archive sur votre disque dur (Unzip it
+    to your harddrive)</li>
+  <li>T&eacute;l&eacute;chargez vers votre serveur les fichiers <b>Coppermine</b>
+    (Upload the stuff to your server)</li>
+  <li>Afin que Coppermine puisse avoir des droits d'acc&egrave;s en Lecture/Ecriture
+    sur votre serveur, il faut faire un <b>CHMOD 777</b> aux dossiers "<i>include</i>"
+    et" <i>albums</i>".</li>
+  <li>Pointez votre navigateur sur <i>http://VotreCoppermine .com/install.php</i>
+    et suivez les instructions qui s'afficheront.<br />
+    Les Tables MySQL seront cr&eacute;&eacute;es &agrave; ce moment l&agrave;,
+    et la Configuration sera cr&eacute;e avec les valeurs par d&eacute;faut.</li>
+  <li>Apr&egrave;s une installation r&eacute;ussie, <b>pour des raisons de s&eacute;curit&eacute;
+    vous devrez supprimer le fichier "install.php" de votre serveur</b>.</li>
+  <li>Pointez votre navigateur vers <i>http://VotreCoppermine.com/</i> <b>Connectez-vous
+    en tant qu'Administrateur</b>. Passez en <b>Mode Admin</b> (si
+    vous &ecirc;tes en <b>Mode Utilisateur</b>) et <b>Utilisez la barre
+    de menu r&eacute;serv&eacute;e aux Administrateurs</b> de la Galerie.<br />
+    <b>Les r&eacute;glages</b> et le <b>d&eacute;but de la personalisation</b>
+    de votre <b>Coppermine</b> passent par cette barre. (ci-dessous)<br />
+    <img src="pics/barre_menu_fr.gif" alt="Capture d'&eacute;cran de la barre de Menu du Mode Admin (theme classic)" height="19" width="766"></li>
+  <br />
+  <li>Cliquez &agrave; <i>par-ci par-l&agrave;</i>, jouez avec les boutons, et
+    testez si tout fonctionne correctement. (testez en local)</li>
+  <li>Annoncez la publication de votre Galerie, par exemple depuis votre Homepage)</li>
+</ol>
+<br />
+<div class="back">[<a href="#top">Haut de page</a>]</div><hr />
+<a name="installIMwhenHosted"></a>
+<h3>Comment installer ImageMagick ou GD ?</h3>
+<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Vous ne pouvez pas installer <b>IM </b>ou <b>GD</b>
+  que si vous n'&ecirc;tes pas propri&eacute;taire de votre serveur (<a href="#enableIMonWindows">installer
+  ImageMagic ou GD sur votre serveur web personnel</a>) sauf si vous avez
+  des droits d'acc&egrave;s "<i>au coeur</i>" de votre serveur !<br />
+  Si votre votre <b>Galerie Coppermine</b> est chez un h&eacute;bergeur, <b>assurez-vous
+  que votre espace web est &eacute;quip&eacute; de IM ou GD</b>. Si tel n'est
+  pas le cas, demandez &agrave; votre h&eacute;bergeur de l'installer, ... sinon
+  cherchez un autre h&eacute;bergeur !<br />
+</p>
+<br /><div class="back">[<a href="#top">Haut de page</a>]</div><hr />
+<a name="minimumInstall"></a>
+<h3>Je ne poss&egrave;de qu'un petit espace Web pour mes photos,<br />
+  y-a-t-il une "<u>Installation</u> <u>Minimum</u>" de Coppermine ?<br />
+</h3>
+<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Il y a une nette contradiction dans cette question
+  !<br />
+  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Ne perdez pas de vue que vous avez install&eacute;
+  une galerie de photos ! Photos qui par essence demanderont un espace important
+  sur votre web !<br />
+  Cependant, si vous voulez installer une petite galerie, avec uniquement quelques
+  images de petites dimensions et &eacute;conomiser le maximum de place : c'est
+  possible. Il est techniquement envisageable de supprimer quelques fichiers d&eacute;j&agrave;
+  t&eacute;l&eacute;charg&eacute;s, ou de ne pas t&eacute;l&eacute;charger tous
+  les fichiers de Coppermine lors de l'installation.<br />
+  Ceci &eacute;tant dit, ce n'est r&eacute;serv&eacute; qu'aux utilisateurs exp&eacute;riment&eacute;s
+  ou &agrave; ceux qui n'ont pas peur ;-)<br />
+  Si vous avez un doute, faites une installation compl&egrave;te.<br />
+  <br />
+  Quelques pistes pour gagner de la place,<br />
+  pour les utilisateurs exp&eacute;riment&eacute;s et responsables uniquement
+  :<br />
+</p>
+<ol>
+  <li><b>Supprimez tous les fichiers des langues sauf "french.php" pour
+    nous Francophones. </b>(vous ne visez que votre langue, et
+    oubliez tous les pays alentours !)<br />
+    Ne conservez que le fichier de language qui vous interresse, ce n'est pas
+    forc&eacute;ment le Franais ! (french.php)<br />
+    Nous vous recommandons quand m&ecirc;me de conserver l'anglais, langue internationale.
+    En cas de coup dur majeur, cela peut permettre en outre aux Concepteurs, Mod&eacute;rateurs
+    ou utilisateurs Anglophones de Coppermine de naviguer correctement dans votre
+    galerie et de vous venir en aide via les Forums Coppermine. (<a href="http://coppermine.sourceforge.net/board/index.php?board=38.0" title="Forum Coppermine Francophone, mais pas anglophobe !">forum
+    Coppermine en Franais</a>)<br />
+    Supprimez tous les fichiers du dossier "<i>/lang/</i>" excecpt&eacute;
+    vle language que vous d&eacute;sirez conserver. Par exemple pour ne conserver
+    que le Franais, supprimez tous les fichiers sauf "<i>/lang/french.php</i>"
+    et "<i>/lang/french-utf-8.php</i>". <br />
+    L'espace web que vous pouvez &eacute;conomiser au maximum
+    est de <b>2.9 MB</b> </li>
+  <br />
+  <br />
+  <li><b>Supprimez tous les fichiers de Langage encod&eacute;s inutiles</b><br />
+    Avez-vous not&eacute; que dans le dossier "<i>/lang/</i>" chaque
+    langage poss&egrave;de deux fichiers : par exemple <i>french.php</i> et <i>french-utf-8.php</i>
+    ?<br />
+    Vous n'avez besoin des fichiers <b>utf-8</b> que si vous avez choisi "<b>Unicode(utf-8)</b>",
+    page <b>Configuration de Coppermine</b> et le menu d&eacute;roulant "<b>Character
+    Encoding</b>".<br />
+    <img src="pics/barre_menu_fr.gif" alt="Cliquez le Bouton &quot;Configuration&quot; pour valider ou non UTF-8 (Mode Admin) (theme classic)" height="19" width="766"><br />
+    Si vous avez choisi d'utiliser "<b>Unicode(utf-8)</b>", votre Galerie
+    Coppermine sera affich&eacute;e par les navigateurs de vos visiteurs selon
+    les r&eacute;glages que ceux-ci auront choisi.<br />
+    Si vous avez d&eacute;cid&eacute; de ne pas utiliser UTF-8, vous pouvez effacer
+    tous les fichiers portant dans leur nom utf-8.<br />
+    L'espace web que vous pouvez &eacute;conomiser au maximum
+    est de <b>1.7 MB</b></li>
+  <br />
+  <br />
+  <li><b>Supprimez tous les Th&egrave;mes Coppermine inutiles</b><br />
+    Vous pouvez sans probl&egrave;me supprimer de votre dossier "<i>/Themes/</i>",
+    tous les th&egrave;mes que vous ne d&eacute;sirez pas rendre disponible &agrave;
+    vos internautes.<br />
+    Si vous utilisez un Th&egrave;me que vous avez conu vous-m&ecirc;me,
+    ou un Th&egrave;me personalis&eacute; t&eacute;l&eacute;charg&eacute; quelque
+    part sur internet, nous vous recommandons vivement de <b>conserver sur votre
+    web le th&egrave;me Classic</b> livr&eacute; avec Coppermine, ceci afin de
+    permettre l'ouverture de votre galerie en cas de probl&egrave;me avec votre
+    Th&egrave;me personnalis&eacute; !<br />
+    Les Th&egrave;mes que vous pouvez supprimer seront ceux que vous ne pr&eacute;voyer
+    pas d'utiliser, mais conservez <b>Classic</b>.<br />
+    L'espace web que vous pouvez &eacute;conomiser au maximum
+    est de <b>1 MB</b> </li>
+  <br />
+  <br />
+  <li><b>Supprimez la Documentation Coppermine</b><br />
+    Le dossier "<i>/docs/</i>" de Coppermine contient tous les documents
+    n&eacute;cessaires &agrave; la compr&eacute;hension de Coppermine dans son
+    ensemble.<br />
+    Mais il n'est pas utile que ces docs soient sur votre web. Vous pouvez donc
+    supprimer le dossier "<i>/docs/</i>" de votre serveur web (en
+    ligne)<br />
+    Ne supprimez pas la documentation de votre machine locale ! Cette documentation
+    est tr&egrave;s utile ;-)<br />
+    L'espace web que vous pouvez &eacute;conomiser au maximum
+    est de <b>0.5 MB</b></li>
+  <br />
+  <br />
+  <li><b>Supprimez les fichiers "Bridge"</b><br />
+    Les fichiers "<b>Bridge</b>" sont utilis&eacute;s lorsque l'on doit
+    int&eacute;grer et accoupler Coppermine dans des Forums de type <b>phpBB</b>,
+    <b>YaBB SE</b>, <b>SMF</b> etc.<br />
+    <u>Si vous pensez ne pas utiliser l'int&eacute;gration</u> de Coppermine pour
+    un BBS existant, vous pouvez alors <b>supprimer l'int&eacute;gralit&eacute;
+    du dossier "<i>/bridge/</i>"</b> ou ne pas le t&eacute;l&eacute;charger.<br />
+    <u>Si vous pensez utiliser l'int&eacute;gration</u> de Coppermine pour un
+    de vos Forums cit&eacute;s plus haut, n'effacez pas le dossier "<i>/bridge/</i>"
+    mais <b>conservez uniquement le fichier bridge qui correspond &agrave; votre
+    forum</b>.<br />
+    L'espace web que vous pouvez &eacute;conomiser au maximum
+    est de <b>137 KB</b></li>
+  <br />
+  <br />
+  <li><b>Effacer tous les Drapeaux / Flags</b><br />
+    Si vous &ecirc;tes certain de ne pas vouloir utiliser les Drapeaux (flags)
+    "<i>Affichez le drapeau des Langues</i>" dans la Configuration de
+    Coppermine, supprimez le dossier "<i>/flags/</i>" citu&eacute; dans
+    "<i>/votre_dossier_coppemine/images<b>/flags</b></i>".<br />
+    Ce gain d'espace web est envisageable <b>seulement si vous ne voulez pas voir
+    de drapeau</b>, <b>cel&agrave; n'emp&ecirc;che pas d'offrir d'autres langages</b>
+    &agrave; vos visiteurs.<br />
+    L'espace web que vous pouvez &eacute;conomiser au maximum
+    est de <b>80 KB</b> </li>
+  <br />
+  <br />
+  <li><b>Supprimez tous les fichiers utilis&eacute;s lors de l'installation de
+    Coppermine<br />
+    &nbsp;ainsi que les fichiers neccessaires aux Upgrades ou mises &agrave; jour
+    de Coppermine</b><br />
+    Une fois Coppermine correctement install&eacute; et test&eacute;, vous pouvez
+    supprimer les fichiers utilis&eacute;s lors de l'install.<br />
+    Dans le dossier racine de Coppermine, localisez et effacez : <i>install.php,
+    installer.css, update.php, upgrade-1.0-to-1.2.php</i>.<br />
+    Vous pouvez &eacute;galement supprimer le dossier "<i>/sql/</i>".<br />
+    <br />
+    N'oubliez pas que <u>si vous pr&eacute;voyez dans l'avenir une mise &agrave;
+    jour de Coppermine</u>, <u>vous serez obliger de t&eacute;l&eacute;charger
+    de nouveau les fichers que vous venez de supprimer</u>. M&ecirc;me chose pour
+    le dossier "<i>/sql/</i>".<br />
+    L'espace web que vous pouvez &eacute;conomiser au maximum
+    est de <b>73 KB</b> </li>
+</ol>
+<p class="code" align="center">En
+  r&eacute;sum&eacute;, <b>une installation minimun de Coppermine consommera environ
+  3.3 MB</b> de votre espace web.</p>
+<p><br />
+</p>
+<div class="back">[<a href="#top">Haut de page</a>]</div><hr />
+<a name="uploadGeneralTroubleshooting"></a>
+<h2>Upload</h2>
+
+
+<h3>Recommandations G&eacute;n&eacute;rales pour l'Upload (CHMOD/T&eacute;l&eacute;chargements)<br />
+  D&eacute;pannage des probl&egrave;mes g&eacute;n&eacute;raux de t&eacute;l&eacute;chargement (Upload)</h3>
+<p>Si vous rencontre des probl&egrave;mes de t&eacute;l&eacute;chargement avec CPG 1.3, vous devriez changer
+le parametrage des t&eacute;l&eacute;chargements dans le panneau de gestion des groupes &agrave; <i>'un seul fichier uniquement'</i> et
+activer le mode <i>'Debuggage'</i> dans la page de configuration. Changer ce param&eacute;trage
+annule certaines erreurs masqu&eacute;es lors des t&eacute;l&eacute;chargements multiples.
+Vous aurez ainsi acc&egrave;s &agrave; des messages d'erreur plus d&eacute;taill&eacute;s.</p>
+<p><span class="important">En premier et avant toute chose: v&eacute;rifiez vos droits pour les r&eacute;pertoires
+ /albums, /albums/userpics, et /albums/edit. Toutes (CHMOD)
+devraient &ecirc;tre sur 777 ou 755.</span><br /><br />Si vous ne savez pas de quoi nous parlons en &eacute;crivant
+ 777 ou 755, faites une recherche Google sur les droits sur les fichiers UNIX.
+  Windows a le m&ecirc;me type de droits pour ses fichiers. Vous pouvez g&eacute;n&eacute;ralement
+parametrer ces droits en utilisant votre client FTP.<br />
+Pour ceux qui auraient pass&eacute; outre les conseils &eacute;crits en rouge, Je vais r&eacute;peter pour essayer d'attirer votre attention:
+<br />
+<span class="important">Oui , nous avons &eacute;crit quelque chose que VOUS devez faire.
+<br />&nbsp;<br />
+Nous r&eacute;petons -- v&eacute;rifiez vos droits pour les r&eacute;pertoires <tt class="code">/albums</tt>, <tt class="code">/albums/userpics</tt>, et <tt class="code">/albums/edit</tt> .  Tous doivent &ecirc;tre &agrave; 777 ou 755.
+<br />&nbsp;<br />
+Oui, nous vous demandons de v&eacute;rifier les droits de chaque r&eacute;pertoire, m&ecirc;me si vous pensez que vous l'avez d&eacute;j&agrave; fait. Oui, nous vous le redemandons.</span>
+</p>
+<p>S'il vous plait, comprenez que les t&eacute;l&eacute;chargements HTTP sont limit&eacute;s par des restrictions se trouvant dans la configuration de PHP.</p>
+<br />&nbsp;<br />
+<b>Les points &agrave; v&eacute;rifier:</b>
+<ol>
+<li><b>max_input_time</b>- 60 seconds est la limite de temps pour t&eacute;l&eacute;charger des fichiers.<br />
+Cette limite de temps inclue la dur&eacute;e n&eacute;cessaire &agrave; t&eacute;l&eacute;charger les fichiers, donc si
+vous d&eacute;passez cette limite, le fichier ne sera m&ecirc;me pas analys&eacute;, et le navigateur n'aura pas de r&eacute;ponse
+. Vous pouvez r&eacute;soudre ce probl&egrave;me en essayant de t&eacute;l&eacute;charger des fichiers plus petits ou moins nombreux, ou vous pouvez essayer de t&eacute;l&eacute;charger avec une plus grande bande passante.
+La meilleure solution est, bien sur, d'augmenter la limite de temps &agrave; une valeur sup&eacute;rieure &agrave; celle necessaire.</li>
+<li><b>upload_max_filesize</b> - 2MB est la valeur par d&eacute;faut pour la taille de chaque fichier individuellement.</li>
+<li><b>post_max_size</b> - 8MB est la limite par d&eacute;faut pour chaque requ&ecirc;te.</li>
+<li><b>memory_limit</b> - 8MB est la taille par d&eacute;faut.</li>
+<li>La limite par d&eacute;faut <b>LimitRequestBody</b> de PHP est de - 512KB . (principalement un probl&egrave;me sur les syst&egrave;mes Redhat/Apache.  Trouv&eacute; dans /etc/http/conf.d)<br />
+En g&eacute;n&eacute;ral, upload_max_filesize &lt; post_max_size &lt; memory_limit permettent de t&eacute;l&eacute;charger correctement.
+Coppermine peut vous pr&eacute;venir si un fichier d&eacute;passe la valeur de
+ upload_max_filesize, mais il ne peut pas vous pr&eacute;venir si tous les fichiers d&eacute;passent la limite maximale par requete ou pour la m&eacute;moire.</li>
+  <li><b>file_uploads</b> ? D&eacute;termine si PHP autorise le t&eacute;l&eacute;chargement de fichiers. Il doit &ecirc;tre param&eacute;tr&eacute; &agrave; "<i>On</i>".</li>
+<li><b>upload_tmp_dir</b> ? D&eacute;termine le r&eacute;pertoire temporaire ou PHP Stocke les fichiers t&eacute;l&eacute;charg&eacute;s.</li>
+</ol>
+
+<p>Le probl&egrave;me le plus courrant est une alerte <i>open_basedir</i>
+. Dans ce cas, l'administrateur de votre serveur a limit&eacute; les fichiers avec lesquels PHP peut travailler &agrave; certains r&eacute;pertoires.
+si il n'a pas cr&eacute;e et sp&eacute;cifi&eacute; de r&eacute;pertoire temporaire dans la restriction <i>open_basedir</i>,
+ PHP va essayer d'utiliser le r&eacute;pertoire temporaire de votre Syst&egrave;me d'exploitation,
+et sera repouss&eacute; par la restriction <i>open_basedir</i>.</p>
+
+<p><b>Quelques informations concernnat les diff&eacute;rents mechanismes de t&eacute;l&eacute;chargement dans CPG 1.3:</b><br />
+Les t&eacute;l&eacute;chargements multiples par HTTP sont pr&eacute;vus pour g&eacute;rer un petit nombre de fichiers
+ et ont &eacute;t&eacute;s limit&eacute;s &agrave; 10. Toutefois, il n'y a pas r&eacute;ellement de limites si vous aves le controle sur la configuration de votre php.ini
+ <br />Si vous cherchez &agrave; t&eacute;l&eacute;charger plus de 15 ou 20 fichiers en une fois
+, vous devriez utiliser la fonction de t&eacute;l&eacute;chargement par lot (batch add)ou l'utilitaire XP_Publisher.
+Chacun ayant ses avantages et ses inconv&eacute;nients.
+<br />La fonction de t&eacute;l&eacute;chargement par lots est rapide, mais il charge le serveur et vous pouvez avoir des d&eacute;passements de limite de temps (time_out).
+ L'utilitaire XP Publisher est plus lent,
+mais limite la charge du serveur. Il &eacute;vite aussi plusieurs probl&egrave;mes cqus&eacute;s par la configuration du
+ php.ini en t&eacute;l&eacute;chargeant chaque fichier de l'ensemble comme une requete individuelle.</p>
+
+<br /><div class="back">[<a href="#top">Haut de page</a>]</div><hr />
+
+<h2>Messages d'Erreurs</h2>
+
+<a name="errormessage"></a>
+<h3>Durant l'intallation, je reois un message : <tt class="code"> &nbsp;Fatal
+  error: Call to undefined function: imagecreatefromjpeg() in /include/picmgmt.inc.php
+  on line 168&nbsp;</tt>. Qu'est-ce-que cel&agrave; signifie ? <br />
+</h3>
+<p>Ce message d'erreur signifie que le PHP install&eacute; sur votre serveur ne
+  supporte pas la librairie graphique <b>GD</b>, et n'est donc pas install&eacute;
+  sur votre serveur.<br />
+  Si la suite logiciel <b>ImageMagick</b> est install&eacute;e sur votre serveur,
+  vous pouvez tenter de l'utiliser &agrave; la place de <b>GD</b>.<br />
+  La librairie graphique <b>GD</b> est d&eacute;sormais livr&eacute; en standard
+  avec les versions r&eacute;centes de PHP.<br />
+  <br />
+  <b>Coppermine ne peut pas fonctionner si ni GD ni ImageMagick ne sont install&eacute;s
+  sur votre serveur</b>.<br />
+  <br />
+</p>
+
+<br /><div class="back">[<a href="#top">Haut de page</a>]</div><hr />
+<a name="mkdirPermissionDenied"></a>
+<h3>Durant l'installation, je reois ce message d'erreur <tt class="code">Warning:
+  mkdir(dummy) [function.mkdir]: Permission denied in /your/path/to/coppermine/install.php
+  on line 126</tt> Qu'est-ce-que cel&agrave; signifie ?</h3>
+<p>Le script de <b>Coppermine doit poss&eacute;der les droits</b> n&eacute;cessaires
+  <b>pour cr&eacute;er et supprimer des fichiers</b>.
+</p><ul>
+  <li>Sous un serveur<b>*nix/linux</b> :<br />
+    Il faut faire un <b>CHMOD 755</b> (rwxr-xr-x) du dossier de Coppermine ansi
+    que tous ses sous-dossiers.<br />
+    Pour en savoir plus sur l'action CHMOD visitez le site web suivant : <a href="http://www.google.com/search?q=chmod+tutorial" class="external">fine
+    chmod tutorials</a></li>
+  <li>Sous <b>Windows/IIS</b> :<br />
+    V&eacute;rifiez si l'utilisateur du serveur web o&ugrave; sont ex&eacute;cut&eacute;s
+    le scripts PHP poss&egrave;de suffisament de droits d'acc&egrave;s en lecture,
+    modification, supression.... sur le dossier Coppermine. Pour savoir comment
+    faire, contratcez votreh&eacute;bergeur ou lisez les manuels concernant le
+    serveur qui vous interesse.</li>
+  <li>sous <b>Windows/Apache</b> :<br />
+    V&eacute;rifiez les droits d'acc&egrave;s du syst&egrave;me de fichiers. Check
+    the account Apache runs under an set the rights in the file-system. </li>
+</ul>
+<br /><p></p><br /><div class="back">[<a href="#top">Haut de page</a>]</div><hr />
+<a name="EmptyDelimiter"></a>
+<h3>Je reois cette erreur "<tt class="code">&nbsp;Warning: Empty
+  Delimiter in search.inc.php line 33&nbsp;</tt>". Que puis-je faire ?</h3>
+<p>Editez le fichier <b>include/search.inc.php</b><br />
+  Cherchez la ligne suivante :<br />
+  <tt class="code">$charset = $CONFIG['charset'] == 'language file' ? $lang_charset : $CONFIG['charset'];</tt><br />
+  et replacez-la par celle-ci :<br />
+<tt class="code">$charset = $CONFIG['charset'] == 'language file' ? $GLOBALS['lang_charset'] : $CONFIG['charset'];</tt><br /></p><br /><div class="back">[<a href="#top">Haut de page</a>]</div><hr />
+<a name="zerosizedreply"></a>
+<h3>Je reois cette erreur pendant l'installation :&nbsp;<span class="code">&nbsp;Zero
+  Sized Reply&nbsp;</span> . Que puis-je faire ?</h3>
+<p>Quelques utilisateurs ont d&eacute;j&agrave; reu le message d'erreur
+  suivant durant l'installation :<br />
+  <br />
+
+</p><pre>While trying to retrieve the URL: http://yoursite.com/coppermine/install.php
+The system returned:
+Zero Sized Reply
+Reason:
+The remote server did not reply any data for this request.
+Please try again later</pre>
+<br />
+&nbsp;&nbsp;&nbsp; Nous ne savons pas pourquoi cel&agrave; arrive sur certaines
+configurations !<br />
+<b>Ceux d'entre vous qui recevront un tel message d'erreur
+ne pourront pas installer Coppermine, h&eacute;las</b>, nous en sommes
+tr&egrave;s sinc&egrave;rement d&eacute;sol&eacute;.<br />
+&nbsp;&nbsp;&nbsp;Si vous avez une id&eacute;e sur la cause d'un tel d&eacute;sagr&eacute;ment,
+et si en plus vous poss&egrave;dez une solution, s'il vous plait, rendez-nous
+visite sur un de <b>nos Forums Coppermine</b> :-) et partagez vos connaissances
+avec l'ensemble des utilisateurs de Coppermine.<br />
+<br />
+<b>Merci par avance.</b><br />
+<p></p>
+<p><b><a href="http://coppermine.sourceforge.net/board/index.php?board=38.0">http://coppermine.sourceforge.net/board/index.php?board=38.0
+  </a> Forum Coppermine en Franais<br />
+  </b>ou encore :<b> <a href="http://coppermine.sourceforge.net/board/"><br />
+  Support forums for Coppermine Photo Gallery</a></b> en anglais.</p>
+<br /><div class="back">[<a href="#top">Haut de page</a>]</div><hr />
+<a name="ErrorUndefinedIndex"></a>
+<h3> Je reois ce message <tt class="code">Warning: Undefined index: SCRIPT_NAME
+  in /www.your-domain.com/include/init.inc.php on line 90</tt>.<br />
+  Que dois-je faire ?</h3>
+<p>Editez (apr&egrave;s avoir fait une copie de secours)
+  le fichier <b>include/init.inc.php</b> :<br />
+  Modifiez la ligne suivante :<br />
+</p><pre>$PHP_SELF = isset($_SERVER['REDIRECT_URL']) ? $_SERVER['REDIRECT_URL'] : $_SERVER['SCRIPT_NAME'];</pre>
+par celle-ci :<br />
+<pre>$PHP_SELF = $_SERVER['PHP_SELF'];</pre>
+<p></p><br /><div class="back">[<a href="#top">Haut de page</a>]</div><hr />
+<a name="ErrorCantMovePic"></a>
+<h3>Quand un Utilisateur tente d'uploader une image, je reois ce message
+  d'erreur :<br />
+  <tt class="code">&nbsp;Impossible to move somepic.jpg to albums/userpics/ |
+  Warning: move_uploaded_file(/tmp/phpezCYKr) [function.move-uploaded-file]: failed
+  to create stream: Operation not permitted&nbsp;</tt><br />
+  Que se passe-t-il, o&ugrave; est l'erreur ?</h3>
+<p>Vous devez contacter l'administrateur de votre serveur tout simplement parce
+  que vous ne pouvez pas modifier vous-m&ecirc;me la location du dossier <i>temporaire</i>
+  utilis&eacute; pour le t&eacute;l&eacute;chargement des vos fichiers vers votre
+  serveur (sauf si vous &ecirc;tes l'administrateur en question)<br />
+  Si la restriction <i>Open Base Dir</i> est en fonction sur votre site, le dossier
+  <i>temporaire</i> doit faire partie des dossiers aupr&egrave;s desquels vous
+  avez des droits d'acc&egrave;s.<br />
+  <br />
+</p>
+<div class="back">[<a href="#top">Haut de page</a>]</div><hr />
+<a name="httpPostVars"></a>
+<h3> Durant le t&eacute;l&eacute;chargement d'une image vers mon serveur, je reois
+  ce message <span class="code">&nbsp;Warning: Undefined variable: HTTP_POST_VARS
+  in include/init.inc.php on line 43 </span>&nbsp;&nbsp;Que dois-je faire ?<br />
+</h3>
+<p>&nbsp;&nbsp;&nbsp;V&eacute;rifiez si votre <a href="#VersionPHP">version de
+  PHP</a> correspond au <a href="#MinimumRequirements">minimum requits</a> pour
+  faire fonctionner <b>Coppermine</b>.<br />
+  Si la version de votre PHP est la 4.1.0 ou mieux, l'erreur est probablement
+  caus&eacute;e par une mauvaise configuration de votre serveur, et non pas un
+  <i>bug</i> de Coppermine.<br />
+  Dans le cas de figure o&ugrave; vous ne seriez pas propri&eacute;taire de votre
+  serveur, mais h&eacute;berg&eacute; chez un prestataire de service gratuit ou
+  pas, <b>vous pouvez tentez &agrave; vos risques et p&eacute;rils
+  la possibilit&eacute; suivante</b> :<br />
+  <br />
+  <b>Editez le fichier Init.inc.php et recherchez</b> :<br />
+
+</p><pre>$PHP_SELF = isset($_SERVER['REDIRECT_URL']) ? $_SERVER['REDIRECT_URL'] : $_SERVER['SCRIPT_NAME'];</pre>
+<br />
+Replacez le code ci-dessus, par le suivant
+<pre>$PHP_SELF = $_SERVER['PHP_SELF'];</pre><br /><p></p><br /><div class="back">[<a href="#top">Haut de page</a>]</div><hr />
+
+<br />&nbsp;<br />
+<h2>Setup / R&eacute;glages / Configuration</h2>
+<a name="LinkInAlbumDescription"></a>
+<h3>Inclure un <u>Lien</u> dans la Description d'un Album ou dans la l&eacute;gende
+  d'une image ?</h3>
+<p><b>Coppermine</b> interpr&egrave;te les <b>bbCodes</b> suivants dans les descriptions
+  des images et des albums :<br />
+  (les m&ecirc;me <b>bbCodes</b> utilis&eacute;s par <b>phpBB</b>)<br />
+  <br />
+  </p>
+<table border="0">
+<tbody><tr>
+<th>code</th>
+    <th>r&eacute;sultat</th>
+</tr>
+<tr><td><pre>[b]bold text[/b]</pre></td><td><b>bold text</b></td></tr>
+<tr><td><pre>[i]italic[/i]</pre></td><td><i>italic</i></td></tr>
+<tr><td><pre>[url=http://www.foo.com/bar.html]URL text[/url]</pre></td><td><a href="http://www.foo.com/bar.html">URL text</a></td></tr>
+<tr><td><pre>[email]user@domain.tld[/email]</pre></td><td><a href="mailto:user@domain.tld">user@domain.tld</a></td></tr>
+</tbody></table>
+
+
+
+
+<div class="back">[<a href="#top">Haut de page</a>]</div><hr />
+<a name="NoLastUploads"></a>
+<h3>Comment faire pour &eacute;diter ce qui sera affich&eacute; ou non sur la
+  premi&egrave;re page de ma Galerie Coppermine ?<br />
+  Ne pas afficher mes Nouvelles Images sur ma page d'acueuil.<br />
+  <br />
+</h3>
+<p>
+</p><ol>
+  <li>Connectez-vous en tant qu'<b>Administrateur</b> de Copermine.</li>
+
+  <li>Cliquez sur <b>Admin Mode</b> si ce n'est pas d&eacute;j&agrave; fait.</li>
+  <li>Cliquez sur <b>Config</b> dans le <b>Menu Admin</b>.</li>
+  <li>Sous "Album list view" utilisez les mots-clefs suivant :
+    <ul>
+      <li>'<b>breadcrumb</b>' : <i>(miettes de pain !)</i>
+        Affichera une ligne en <i>mode texte</i> pour la navigation dans votre
+        Galerie (expl :"Index Albums &gt; Categorie &gt;
+        sous-categorie &gt; Album")</li>
+      <li>'<b>catlist</b>': Affichera la liste des cat&eacute;gories.
+      </li><li>'<b>alblist</b>' : Liste des Albums.
+      </li><li>'<b>random</b>' : Affichera al&eacute;atoirement les images de votre
+        galerie. Il n'est pas conseill&eacute; de laisser cette option "<i>random</i>"
+        pour des galeries qui auraient plus de 10.000 images. Il peut en r&eacute;sulter
+        des d&eacute;sastres de performances ! Si c'est le cas de votre galerie
+        n'utilisez pas "<i>random</i>".
+      </li><li>'<b>lastup</b>' : Les Nouvelles Images t&eacute;l&eacute;charg&eacute;es
+        sur votre serveur.
+      </li><li>'<b>topn</b>' : Les Images les plus regard&eacute;es.
+      </li><li>'<b>toprated</b>' : Les images les mieux not&eacute;es.
+      </li><li>'<b>lastcom</b>' : Les derniers commentaires.</li>
+      <li>'<b>lasthits</b>' : Les derni&egrave;res images vues par vos visiteurs.</li>
+      <li>'<b>anycontent</b>' :<br />
+        <br />
+        L'option <b>anycontent</b> et le fichier <b>anycontent.php</b> ont &eacute;t&eacute;
+        conu pour que vous puissiez y inclure du <i>PHP</i> ou du <i>HTML</i>.
+        C'est avec <b>anycontent.php</b> que vous pourrez inclure une <b>Banni&egrave;re
+        Rotative</b>, un fichier <b>FLASH</b>, ou un <b>simple Texte de Bienvenue</b>.<br />
+        Pour que <b>anycontent</b> apparraisse en premi&egrave;re page de votre
+        galerie Coppermine, ou la <b>page Configuration</b> o&ugrave; vous devrez
+        d&eacute;clarer cette option de la mani&egrave;re suivante : <tt class="code">anycontent/catlist/alblist/random,<b>2</b>/lastup,<b>2</b>
+        <br />
+        <br />
+        </tt> Ces options signifient et afficheront <b>anycontent</b> en haut
+        de page, <b>catlist</b> la liste des Cat&eacute;gories, <b>alblist</b>
+        la liste des Albums, <b>random</b> affichage al&eacute;atoire et vignettes
+        sur <b>2</b> lignes, <b>lastup</b> les derniers t&eacute;l&eacute;chargements
+        sur <b>2</b> lignes.<br />
+        <a href="http://coppermine.sourceforge.net/board/index.php?topic=12681.0">Voir
+        un sujet complet sur "<b>Anycontent.php</b>" (forum<b> Coppermine
+        en Franais</b>)</a></li>
+    </ul>
+  </li>
+</ol>
+<br /><p></p><br /><div class="back">[<a href="#top">Haut de page</a>]</div><hr />
+<a name="editCopyrights"></a>
+<h3>Comment effacer ou modifier cette ligne en bas de page "<tt class="code">Powered
+  by Coppermine</tt>" ? ?</h3>
+<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<b>Vous ne pouvez pas supprimer
+  la ligne "<tt class="code">Powered by Coppermine</tt>"
+  !</b><br />
+  Cel&agrave; fait partie du "<b>contrat moral</b>" du <b>logiciel GRATUIT
+  Coppermine</b> que vous vous &ecirc;tes engag&eacute; &agrave; <b>respecter
+  en installant le logiciel et en laissant le Copyright Coppermine en bas de page</b>.<br />
+  Souvenez-vous que Coppermine est d&eacute;velopp&eacute; par un groupement de
+  personnes toutes b&eacute;n&eacute;voles !<br />
+  Comme le souligne <i><b><a href="http://coppermine.sourceforge.net/faq.php">GauGau</a></b></i>
+  <b>dans les FAQ en anglais</b> : &lt;&lt; <i>Note: don't ask stupid questions
+  on removing this line in the <a href="http://coppermine.sourceforge.net/board/">Coppermine
+  Photo Gallery Support Board</a> - your posting will be deleted !</i> &gt;&gt;<br />
+  Autrement dit, les <b>questions relatives &agrave; la suppression du (c)opyright
+  Coppermine</b> sur le Forum aussi bien en anglais qu'en franais ou chinois,
+  <b>seront imm&eacute;diatement supprim&eacute;es</b> !</p>
+<p>N&eacute;anmoins, vous avez la possibilit&eacute; de modifier la <i>CLASS CSS
+  FOOTER</i> qui correspond au <b>Copyright Coppermine</b>.<br />
+  Vous pouvez ainsi l'int&eacute;grer aux couleurs de vos Th&egrave;mes.<br />
+  <br />
+  <br />
+</p>
+<div class="back">[<a href="#top">Haut de page</a>]</div><hr />
+<a name="buyLicense"></a>
+<h3>Je veux acheter une Licence Coppermine pour supprimer la ligne "<tt class="code">Powered
+  by Coppermine</tt>", comment faire ? <br />
+</h3>
+<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<b>Coppermine</b> et son d&eacute;veloppement,
+  sont bas&eacute;s sur l'<i>OpenSource</i> et les licences d'utilisation <i>GNU
+  / GPL</i>. Autrement dit, il est possible &agrave; chacun d'apporter sa contribution
+  au d&eacute;veloppement de Coppermine sans pouvoir esp&eacute;rer r&eacute;tribution,
+  ni esp&eacute;rer vendre tot ou partie du code ! <b>Coppermine est gratuit</b>,
+  et n'est ni &agrave; acheter ni &agrave; vendre !<br />
+  Pour en savoir plus, ouvrez le fichier <b><u>COPYING</u></b> livr&eacute; avec
+  le <b>pack d'installation de Coppermine.</b><br />
+  <br />
+</p>
+<br /><div class="back">[<a href="#top">Haut de page</a>]</div><hr />
+<a name="removeFeature"></a>
+<h3>Je ne veux pas utiliser certaines fonctions de Coppermine. Comment les supprimer
+  ? <br />
+</h3>
+<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Il est juste n&eacute;cessaire de supprimer le
+  lien qui ouvre la fonction que vous ne voulez pas voir appara&icirc;tre.<br />
+  <br />
+  &nbsp;&nbsp;- Ouvrez le fichier <i>/themes/votre_theme/</i><b>theme.php</b><br />
+  &nbsp;&nbsp;- Recherchez la fonction &agrave; supprimer, et mettez le code de
+  cette fonction en commentaires HTML "<b>&lt;!-- --&gt;</b>"
+  .<br />
+  Si vous d&eacute;sirez par exemple <b>supprimer la fonction eCards</b> (envoie
+  de e-cartes postales) recherchez le code suivant et mettez-le en commentaire
+  : <br />
+
+</p><pre>&lt;td align="center" valign="middle" class="navmenu" width="48"&gt;
+&lt;a href="{ECARD_TGT}" title="{ECARD_TITLE}"&gt;
+&lt;img src="images/ecard.gif" width="16" height="16" border="0" align="absmiddle" alt="{ECARD_TITLE}"&gt;&lt;/a&gt;
+&lt;/td&gt;</pre>
+comme ceci :<br />
+<pre>&lt;!-- &lt;td align="center" valign="middle" class="navmenu" width="48"&gt;
+&lt;a href="{ECARD_TGT}" title="{ECARD_TITLE}"&gt;
+&lt;img src="images/ecard.gif" width="16" height="16" border="0" align="absmiddle" alt="{ECARD_TITLE}"&gt;&lt;/a&gt;
+&lt;/td&gt; --&gt;</pre>
+<p></p><br /><div class="back">[<a href="#top">Haut de page</a>]</div><hr />
+<a name="customHeader"></a>
+<h3>Comment ajouter une ent&ecirc;te ou un pied de page personnalis&eacute; &agrave;
+  Coppermine?<br />
+</h3>
+<p><b>La personnalisation de Coppermine passe passe 3 fichiers essentiels</b>
+  :<br />
+  - <b>TEMPLATE.HTML</b>, <b>THEME.PHP</b>, <b>STYLE.CSS</b> tous situ&eacute;s
+  dans le dossier du th&egrave;me que vous utilisez.<br />
+</p><ul>
+  <li>Si vous d&eacute;sirez placer du <b>code statique HTML</b>, un logo par
+    exemple, vous devez &eacute;diter le fichier <tt class="code">/themes/votretheme/<b>template.html</b></tt>
+    pour y ajouter ou supprimer ce que vous voulez, avec la plus grande prudence
+    !</li>
+  <li>Si vous d&eacute;sirez placer du <b>code PHP</b>, c'est le fichier <tt class="code">/themes/votreheme/<b>theme.php</b></tt>
+    qu'il faut &eacute;diter.</li>
+  <br />
+  <li>Pour intervenir sur <b>les aspects esth&eacute;tiques de Coppermine</b>,
+    il faut &eacute;diter le fichier <tt class="code">/themes/votretheme/<b>style.css</b></tt></li>
+  <li>Si vous poss&eacute;dez des connaissances en PHP, m&egrave;me un peu, et que vous
+    voulez inclure du code dynamique PHP, recherchez dans <tt class="code">/themes/votretheme/<b>theme.php</b></tt>&nbsp;la
+    ligne suivante&nbsp;<tt class="code"><b> function pageheader&nbsp;</b></tt>&nbsp;modifiez
+    ce qui vous semble utile de changer de la mani&egrave;re suivante :</li>
+</ul>
+<pre>function pageheader($section, $meta = '')
+{
+   global $CONFIG, $THEME_DIR;
+   global $template_header, $lang_charset, $lang_text_dir;
+
+   if(empty($custom_header)){
+      include('/path/your_file.php');
+      static $custom_header = ob_get_contents();
+      ob_clean();
+   }
+
+   header('P3P: CP="CAO DSP COR CURa ADMa DEVa OUR IND PHY ONL UNI COM NAV INT DEM PRE"');
+   user_save_profile();
+
+   $template_vars = array(
+      '{LANG_DIR}' =&gt; $lang_text_dir,
+      '{TITLE}' =&gt; $CONFIG['gallery_name'].' - '.$section,
+      '{CHARSET}' =&gt; $CONFIG['charset'] == 'language file' ? $lang_charset : $CONFIG['charset'],
+      '{META}' =&gt; $meta,
+      '{GAL_NAME}' =&gt; $CONFIG['gallery_name'],
+      '{GAL_DESCRIPTION}' =&gt; $CONFIG['gallery_description'],
+      '{MAIN_MENU}' =&gt; theme_main_menu(),
+      '{ADMIN_MENU}' =&gt; theme_admin_mode_menu(),
+      '{CUSTOM_HEADER}' =&gt; $custom_header,
+   );
+
+   echo template_eval($template_header, $template_vars);
+}</pre>
+<br />
+Vous aurez &eacute;galement besoin de cr&eacute;er un nouveau champs <b>{CUSTOM_HEADER}</b>
+dans le fichier <b>template.html</b>. <br />
+<p></p><br /><div class="back">[<a href="#top">Haut de page</a>]</div><hr />
+<a name="createPublicAlbum"></a>
+<h3>Comment cr&eacute;er un Album o&ugrave; tout le monde peut charger des images
+  dedans ?<br />
+</h3>
+<p><b><u>PREMI&Egrave;REMENT</u> : Assurez-vous pour commencer que votre galerie
+  Coppermine poss&egrave;de au moins une Cat&eacute;gorie</b> poss&eacute;dant
+  elle-m&ecirc;me <b>au moins un Album</b> dans lequel tout le monde peut t&eacute;l&eacute;charger
+  ! :
+</p><ul>
+  <li>Connectez-vous en tant qu'<b>Admin</b></li>
+  <li><b>Passez en mode Admin</b> de le cas o&ugrave; vous seriez connect&eacute;
+    en tant qu'<b>Admim/Utilisateur</b>.</li>
+  <li>Cliquez le bouton "<b>Groupes</b>"</li>
+  <li>Pour le <b>Groupe "<i>anonymes</i>" accordez les quota</b> et
+    <b>les droits de t&eacute;l&eacute;chargements</b></li>
+  <li>Cliquez dans votre menu <b>Liste des Albums</b></li>
+  <li>Choisissez la Cat&eacute;gorie o&ugrave; se trouve votre Album public</li>
+  <li>Cliquez sur le bouton "<b>Propri&eacute;t&eacute;s</b>" de votre
+    Album public </li>
+  <li>Dans "<b>Permissions pour cet Album</b>" et mettez "<b>OUI</b>"
+    pour "<b>Les Visiteurs peuvent mettre des Photos en ligne</b>" (en
+    fonction de la configuration des groupes) puis cliquez sur "<b>Mettre
+    l'Album &agrave; jour</b>"</li>
+  <li><b>Ajoutez dans votre navigation un lien &eacute;vident</b> vers le <b>T&eacute;l&eacute;chargement
+    publique</b>, si il n'existe pas d&eacute;j&agrave;. Pour cel&agrave; &eacute;ditez
+    le fichier <i>/themes/votretheme/</i><b>theme.php</b></li>
+</ul>
+<br /><p></p><br /><div class="back">[<a href="#top">Haut de page</a>]</div><hr />
+<a name="BackupDatabase"></a>
+<h3>Comment faire une Sauvegarde/Backup de ma Base de Donn&eacute;es Coppermine
+  ?</h3>
+<p>Il n'y a pour l'instant pas de fonction interne &agrave; Coppermine pour effectuer une sauvegarde de la base de donn&eacute;e.
+Vous pouvez n&eacute;anmoins sauvegarder la structure de vos r&eacute;pertoires/fichiers avec votre bon vieux client FTP
+ et utiliser un utilitaire comme <a href="http://www.phpmyadmin.net/" class="external">phpMyAdmin</a>
+pour sauvegarder la base de donn&eacute;e (beaucoup d'h&eacute;bergeurs offrant mySQL proposent une version pr&eacute;install&eacute;e de phpMyAdmin - utile pour la sauvegarde!).
+PhpMyAdmin est facile &agrave; istaller:
+ T&eacute;l&eacute;charger le pack et extrayez le sur votre disque dur.
+Ouvrez le fichier config et modifiez le en y entrant vos parametres de connection et placez l'ensemble sur votre serveur.<br />
+Voici un petit tutoriel pour la sauvegarde de la base de donn&eacute;e avec phpMyAdmin:
+</p><ul>
+<li>Procurez vous le progranne et installez le (n'oubliez pas de le proteger par mot de passe)</li>
+<li>Depuis votre navigateur allez dans le r&eacute;pertoire ou vous l'avez install&eacute;</li>
+<li>cliquez sur le nom de votre base de donn&eacute; dans le cadre &agrave; gauche</li>
+<li>Sous l'onglet "exporter" dans "shema et donn&eacute;e de la base" selectionnez la(les) table(s) que vous voulez savegarder (apputez sur CTRL pour s&eacute;lectionner plus d'une table)</li>
+<li>cochez "Structure and donn&eacute;es"</li>
+<li>cochez "Transmettre"</li>
+<li>cochez "zippe" (facultatif)</li>
+<li><b>NE COCHEZ PAS</b>  "inclure des &eacute;nonc&eacute;s 'drop table'" - votre base de donn&eacute;e serait &eacute;ffac&eacute;e si vous le faisiez</li>
+<li>appuyez sur "&eacute;x&eacute;cuter"</li>
+<li>Sauvegardez le fichier sur votre disque dur (en fonction de la rapidit&eacute; de votre connection cel&agrave; peut prendre un certain temps)</li>
+</ul><br /><p></p><br /><div class="back">[<a href="#top">Haut de page</a>]</div><hr />
+<a name="noFullsizePopup"></a>
+<h3><b>Les
+  images plein format ne s'ouvrent pas</b> dans une nouvelle fen&ecirc;tre popup <b>lorsque je clique sur les images interm&eacute;diaires</b>. Que se passe-t-il ?<br />
+  </h3>
+<p><strong>Vous avez probablement modifi&eacute; votre th&egrave;me:</strong> Pour que l'ouverture d'une fen&ecirc;tre
+pop up avec l'affichage des images plein format fonctionne, il vous faut <strong>imp&eacute;rativement</strong>  cette ligne<tt class="code">&lt;script type="text/javascript" src="scripts.js"&gt;&lt;/script&gt;</tt> dans <strong>/themes/votretheme/template.html</strong></p>
+<p><br />
+  L'ent&ecirc;te &lt;head&gt; de votre fichier <strong>template.html
+  </strong>devrait ressembler &agrave; &agrave;:<br />
+
+</p>
+<pre>&lt;head&gt;
+&lt;title&gt;{TITLE}&lt;/title&gt;
+&lt;meta http-equiv="Content-Type" content="text/html; charset={CHARSET}" /&gt;
+{META}
+&lt;link rel="stylesheet" href="themes/default/style.css" /&gt;
+&lt;script type="text/javascript" src="scripts.js"&gt;&lt;/script&gt;
+&lt;/head&gt;</pre>
+<p>-controllez le th&egrave;me par d&eacute;faut inclu dans coppermine si vous n'&ecirc;tes pas
+  sur de vous.</p>
+
+<p></p><br /><div class="back">[<a href="#top">Haut de page</a>]</div><hr /><a name="viewThumbnailsOnly"></a>
+<h3><b>Comment faire pour que les utilisateurs non enregistr&eacute;s ne voient
+que les vignettes</b>, pas les images en grand taille ?<br />
+</h3>
+<p>Ouvrez <strong>displayimage.php</strong> et ajoutez:<br />
+
+  <tt class="code">if (!USER_ID) cpg_die(ERROR, 'You need to register to access this page', __FILE__, __LINE__);</tt><br />
+  Juste avant<br />
+
+</p>
+<pre>/**************************************************************************
+* Local functions definition
+**************************************************************************/</pre><p></p><br /><div class="back">[<a href="#top">Haut de page</a>]</div><hr /><a name="preventHotlinks"></a>
+<h3><b>Comment
+      faire pour emp&ecirc;cher les autres sites web de faire des liens directs vers
+les images de ma galerie</b> ?<br />
+</h3>
+<p>Enp&ecirc;cher les liens directs en cr&eacute;ant un fichier <strong>.htaccess</strong> dans le r&eacute;pertoire <strong>albums </strong>et ajoutez y ceci:<br />
+  <br />
+</p>
+<pre>SetEnvIfNoCase Referer "^http://www.yourdomian.com/" locally_linked=1
+SetEnvIfNoCase Referer "^http://yourdomain.com/" locally_linked=1
+SetEnvIf Referer "^$" locally_linked=1
+&lt;FilesMatch "\.(gif|png|jpe?g)$"&gt;
+  Order Allow,Deny
+  Allow from env=locally_linked
+&lt;/FilesMatch&gt;</pre>
+Ceci ne fonctionne que sous linux /unix et seulement si votre h&eacute;bergeur autorise
+cette
+fonction,ou que vous avez votre propre serveur.<br />
+<br />
+<p></p><br /><div class="back">[<a href="#top">Haut de page</a>]</div><hr /><a name="changeLanguage"></a>
+<h3>Je
+tente de <b>changer le langage</b> depuis la page de Configuration, <b>mais cel&agrave; ne marche pas</b> ? O&ugrave; est l'erreur ?<br />
+</h3>
+<p>Le param&egrave;tre d'encodage des caract&egrave;res "Character encoding" est probablement regl&eacute; sur l'encodage UTF-8 (ou l'a &eacute;t&eacute;) dans votre page de
+  configuration.<br />
+
+</p>
+<p>Lorsque UTF-8 est s&eacute;lectionn&eacute;, Coppermine choisis le fichier langage en fonction
+  de la configuration de votre navigateur et stocke ces param&egrave;tres dans un cookie.
+  Ces param&egrave;tres remplacent ceux stock&eacute;s dans le fichier <strong>CONFIG.</strong><br />
+
+  <b>Pour changer cela:</b><br />
+  <br />
+</p>
+<ul>
+<li>Mettre la valeur <strong>Default (language
+    file)</strong> dans
+  le champ  &quot;<strong>Encodage des caract&egrave;res</strong>&quot;de la page de configuration<br />
+  </li>
+<li>Ensuite, appellez le script:<tt class="code">http://yoursite.com/coppermine_dir/index.php?lang=xxx</tt> (Cel&agrave; va r&eacute;initialiser le cookie)<br />
+  </li>
+</ul>
+<br /><p></p><br /><div class="back">[<a href="#top">Haut de page</a>]</div><hr /><a name="onlyregisteredcomments"></a>
+<h3><b>Comment
+faire pour autoriser les Utilisateurs non-enregistr&eacute;s &agrave; d&eacute;poser des commentaires</b> sous mes photos ? et <b>pas uniquement les Utilisateurs enregistr&eacute;s!<br />
+</b></h3>
+<p></p><ul>
+<li>Identifiez vous en tant qu'administrateur </li>
+<li>En mode admin </li>
+<li>onglet <strong>Groupes</strong> </li>
+<li>Groupe "Anonymous" - "Peut poster des commentaires" - "Oui"</li>
+<li>Appliquer les modifications</li>
+</ul>
+Pour changer les param&egrave;tres par albums (l'&eacute;tape pr&eacute;c&eacute;dente doit avoir &eacute;t&eacute; faite):<br />
+
+<ul>
+<li>Identifiez vous en tant qu'administrateur</li>
+<li>En mode admin </li>
+<li>Ouvrez la cat&eacute;gorie et cliquez sur l'album</li>
+<li>onglet <strong>Prori&eacute;t&eacute;s </strong></li>
+<li>&quot;Permissions pour cet album&quot;-&quot; Les visiteurs peuvent poster des commentaires&quot;-&quot;Oui&quot;</li>
+<li>&quot;Mettre l'album &agrave; jour&quot;</li>
+</ul>
+<br /><p></p><br /><div class="back">[<a href="#top">Haut de page</a>]</div><hr /><a name="httpUpload"></a>
+<h3>Je <b>ne peut pas uploder</b> avec les fonctions de t&eacute;l&eacute;chargement. Que se passe t'il?</h3>
+<p>Si vous avec un message d'erreur <br /><tt class="code">No picture was uploaded (aucune image n'a &eacute;t&eacute; t&eacute;l&eacute;charg&eacute;e)</tt>.<br />
+ Si vous avez effectivement s&eacute;lectionn&eacute; une image &agrave; t&eacute;l&eacute;charger, v&eacute;rifiez que le serveur vous autorise de t&eacute;l&eacute;chargement de fichiers..., v&eacute;rifiez s'il y a un probl&egrave;me avec le t&eacute;l&eacute;chargement par HTTP sur votre serveur
+  - Il peut avoir &eacute;t&eacute; d&eacute;sactiv&eacute; ou mal configur&eacute;. Dans <a href="#VersionPHP">phpinfo()</a>, v&eacute;rifiez que "file_uploads" est sur ON, "upload_max_filesize" a une valeur comme 2M et "upload_tmp_dir" est un r&eacute;pertoire valide!<br /></p><br /><div class="back">[<a href="#top">Haut de page</a>]</div><hr /><a name="ordercategories"></a>
+<h3>Comment changer <b>l'ordre des cat&eacute;gories</b>?</h3>
+<p></p><ul>
+<li>identifiez vous comme administrateur</li>
+<li>Mode administrateur</li>
+<li>categories</li>
+<li>utilisez les boutons "fl&ecirc;che haut"- et "fl&ecirc;che bas"- pour changer l'ordre des cat&eacute;gories</li>
+</ul><br /><p></p><br /><div class="back">[<a href="#top">Haut de page</a>]</div><hr /><a name="cantDeletePic"></a>
+<h3>Je <b>ne peux pas &eacute;ffacer certaines images</b> depuis le FTP. Que faire?</h3>
+<p>Ce n'est pas Coppermine qui ne vous laisse pas effacer les images, c'est
+votre serveur FTP. Le probl&egrave;me est du &agrave; la configuration de votre serveur.
+Essayez d'effacer vos images depuis le script (Coppermine).<br />
+SI PHP fonctionne avec l'utilisateur "nobody" alors tous les fichiers cr&eacute;es par n'importe quel script PHP (Ce n'est pas sp&eacute;cifique &agrave; Coppermine) sera accessible par "nobody".
+Il n'y a rien a faire pour changer a.<br />&nbsp;<br />
+<table class="bordl" border="0" cellpadding="2" cellspacing="2"><tbody><tr><td align="left" valign="top"><p class="fliess">
+777 ne devrait pas &ecirc;tre le mode par d&eacute;faut des r&eacute;pertoires parce qu'il n'est absolument pas s&eacute;curis&eacute;
+, si votre galerie fonctionne sur un serveur partag&eacute; et que
+le PHP safe mode n'est pas activ&eacute;, tous ceux qui ont un compte sur ce serveur
+ont la possibilit&eacute; d'effacer vos images. Il y a eu plusieurs sujets sur ce probl&egrave;me
+sur le forum de Menalto Gallery et plusieurs utilisateurs ont vu leur galerie pirat&eacute;e et d&eacute;truite &agrave; cause de cel&agrave;
+. Ce probl&egrave;me n'est pas sp&eacute;cifique &agrave;
+Photo galleries, il s'applique &agrave; tout script PHP qui cr&eacute;e des r&eacute;pertoires.
+A condition que vous ayez les droits en &eacute;criture sur un r&eacute;pertoire, vous pouvez effacer tous les fichiers qu'ils contient, m&ecirc;me si vous n'avez pas le droit en &eacute;criture sur ces fichiers
+eux m&ecirc;me.<br />&nbsp;<br />
+Je pr&eacute;f&egrave;re avoir 20 personnes se plaignant HAUT ET FORT et de mani&egrave;re REPETEE
+qu'ils doivent contacter leur administrateur syst&egrave;me pour d&eacute;sinstaller commermine, parceque c'est un probl&egrave;me
+ et qu'ils vont changer de galerie &agrave; cause de a,
+plut&ocirc;t qu'1 personne se plaignant que toutes ses images ont &eacute;t&eacute; effac&eacute;es.<br />&nbsp;<br />
+SI vous n'&ecirc;tes pas d'accord avec a, &eacute;connomisez votre temps et arr&ecirc;tez la lecture de cette FAQ:<br />
+<a href="http://www.zend.com/manual/function.mkdir.php" class="external">http://www.zend.com/manual/function.mkdir.php</a><br />
+<a href="http://www.zend.com/manual/function.chmod.php" class="external">http://www.zend.com/manual/function.chmod.php</a><br />
+plut&ocirc;t que de poster dans le forum d'aide.<br />&nbsp;
+<br />C'est une d&eacute;cision de l'administrateur syst&egrave;me de faire fonctionner PHP comme un module Apache
+et le fait que tous les fichiers/r&eacute;pertoires cr&eacute;es par PHP ne soient accessibles par personne
+est le r&eacute;sultat de cette d&eacute;cision. Ainsi, les administrateurs syst&egrave;me ne devraient pas se plaindre
+si vous leur demandez d'effacer certains fichiers ou r&eacute;pertoires.<br />&nbsp;<br />
+Sur le serveur web ou ce site fonctionne, tout fonctionne bien lorsque les r&eacute;pertoires sont cr&eacute;es
+en  mode 755 et chaque fichier/r&eacute;pertoires cr&eacute;es par PHP
+sont accessible par l'utilisateur "chezgreg" qui est l'utilisateur que j'utilise pour me connecter par FTP
+. De plus, si un des fichier/r&eacute;pertoire de mon site est en mode 777,
+le serveur d&eacute;sactive mon site et m'envoie un courriel me pr&eacute;venant que mon site n'est pas s&eacute;curis&eacute;.<br />&nbsp;<br />
+Greg (Cr&eacute;ateur initial de Coppermine)</p></td></tr></tbody></table><br /></p><p></p><br /><div class="back">[<a href="#top">Haut de page</a>]</div><hr /><a name="cantUploadBigPics"></a>
+<h3>Je <b>ne peux pas t&eacute;l&eacute;charger de grandes images</b>. Que se passe t'il?</h3>
+<p>La taille maximale des images est limit&eacute;e par plusieurs parametres - Pour trouver pourquoi vous ne pouvez pas t&eacute;l&eacute;charger de grandes images, v&eacute;rifiez ce qui suis:
+</p><ul>
+<li>assurez vous d'avoir assez de place libre sur votre serveur (rappelez vous que vous avez besoin de place pour
+ les images originales, les images int&eacute;rm&eacute;diaires et les vignettes!)</li>
+<li>Lorsque vous &ecirc;tes identifi&eacute;s comme administrateur v&eacute;rifiez le parem&eacute;trage de votre "Groupe": les groupes (m&ecirc;me le groupe administarteur!) ont des limitations qui peuvent &ecirc;tre configur&eacute;s</li>
+<li>time-out du navigateur: le navigateurcommun&eacute;ment utilis&eacute;, Internet Explorer a une fonction time-out
+: si votre t&eacute;l&eacute;chargement n'est pas termin&eacute; apr&egrave;s une certaine p&eacute;riode, le navigateur va se d&eacute;connecter
+(en particulier avec les connections de messageries instantann&eacute;es)</li>
+<li>Il y a un param&eacute;trage de la limite maximale dans le configuration de PHP sur votre serveur web.
+ Si vous &ecirc;tes chez un h&eacute;bergeur ou vous ne pouvez pas modifier grand choses, mais si vous &ecirc;tes sur votre propre serveur
+, v&eacute;rifiez php.ini et cherchez <tt class="code">LimitRequestBody</tt> - cette valeur (en bytes) est la valeru maximale de t&eacute;l&eacute;chargement autoris&eacute;e par  php/html</li>
+</ul><br /><p></p><br /><div class="back">[<a href="#top">Haut de page</a>]</div><hr /><a name="cookie"></a>
+<h3>Je ne peut pas <b>m'identifier</b> dans Coppermine. Que se passe t'il?</h3>
+<p>C'est souvent un probl&egrave;me de cookie:
+</p><ul>
+<li>Si vous utilisez Internet Explorer 6, vous devez activez l'autorisation pour les cookies.
+ Cliquez sur "Outils" - "Options Internet" -
+"Confidentialit&eacute;" et ajoutez votre site &agrave; la liste des sites de confiance, ou
+placez le curseur sur un niveau inf&eacute;rieur.</li>
+<li>Parfois IE ne g&egrave;re pas les Cookies correctement. Fermez votre navigateur,
+essayez d'effacer tous les cookies manuellement et red&eacute;marez le navigateur</li>
+<li>V&eacute;rifiez si vous n'utilisez pas un logiciel qui interf&egrave;re avec l'acceptation des cookies
+comme les pare-feu (ZoneAlarm, Tiny, Cookie Washer
+etc.) d&eacute;sactivez les et regardez si les cookies sont accept&eacute;s</li>
+<li>Essayez d'utiliser un autre navigateur (comme <a href="http://www.opera.com/" class="external">Opera</a>,
+qui est assez l&eacute;ger &agrave; t&eacute;l&eacute;charger et facile &agrave; d&eacute;sinstaller). C'est g&eacute;n&eacute;ralement une bonne id&eacute;e
+ d'avoir plusieurs navigateurs sur votre ordinateur pour v&eacute;rifier le fonctionnement de votre site avec votre navigateur pr&eacute;f&eacute;r&eacute;</li>
+<li>Si vous utilisez les sous-domaineset la version de Coppermine ou certains programmes
+sur diff&eacute;rents sous-domaines (comme galerie.votresite.com et
+forum.votresite.com) cel&agrave; peut ausii poser des probl&egrave;mes: un sou-domaine est un domaine diff&eacute;rent
+ (en fait foo.com et bar.com sont des sous-domaines  <acronym class="tool" title="top level domain">tld</acronym>
+".com", donc du point de vue des cookies ce sont deux domaines diff&eacute;rents
+comme forum.votresite.com et comics.votresite.com). Bien sur vous pouvez "modifier certaines choses" dans les scripts,
+ Mais g&eacute;n&eacute;ralement les scripts bbs (forum) sont difficiles &agrave; modifier.</li>
+</ul><br /><p></p><br /><div class="back">[<a href="#top">Haut de page</a>]</div><hr /><a name="moveAlbum"></a>
+<h3>Comment peut-on <b>d&eacute;placer un album</b> d'une cat&eacute;gorie vers une autre?</h3>
+<p></p><ul>
+<li>identifiez vous comme administrateur</li>
+<li>mode administrateur</li>
+<li>cliquez sur cat&eacute;gorie</li>
+<li>clicquez "Propri&eacute;t&eacute;s" de l'album que vous voulez d&eacute;placer</li>
+<li>dans la liste d&eacute;roulante pr&egrave;s de "Cat&eacute;gorie de l'Album", choisissez la cat&eacute;gorie dans laquelle vous voulez d&eacute;placer l'album</li>
+<li>cliquez "mettre l'album &agrave; jour"</li>
+</ul><br /><p></p><br /><div class="back">[<a href="#top">Haut de page</a>]</div><hr />
+
+<a name="sortAlbum"></a>
+<h3>Comment peut-on <b>changer l'ordre des albums</b>?</h3>
+<p>Par d&eacute;faut les albums apparaissent dans l'ordre ou ils on &eacute;t&eacute; cr&eacute;es. Si vous voulez modifier l'odre d'affichage faites comme suit:
+</p><ul>
+<li>identifiez vous comme administrateur</li>
+<li>mode administrateur</li>
+<li>"Albums"</li>
+<li>choisissez une cat&eacute;gorie dans la liste d&eacute;roulante</li>
+<li>surlignez un album en cliquant sur son nom</li>
+<li>utilisez les fl&ecirc;ches haut  <img src="http://coppermine.sourceforge.net/images/move_up.gif" alt="" border="0" height="11" width="13"> et bas <img src="http://coppermine.sourceforge.net/images/move_down.gif" alt="" border="0" height="11" width="13"> pour changer sa position </li>
+<li>cliquez sur "appliquer les modifications"</li>
+<li>Confirmez le message "Etes vous sur de vouloir faire ces modifications ?" en cliquant sur "OK"</li>
+</ul><br /><p></p><br /><div class="back">[<a href="#top">Haut de page</a>]</div><hr />
+
+<a name="deleteIntermediates"></a>
+<h3>Je ne veux plus utiliser les images int&eacute;rm&eacute;diaires. Coment les effacer pour gagner de l'espace disque?</h3>
+<p>Article manquant actuellement dans la faq. </p><br /><div class="back">[<a href="#top">Haut de page</a>]</div><hr />
+
+<a name="howAlbumsFolderWork"></a>
+<h3>Comment fonctionnent les Albums et les Dossiers dans Coppermine ?</h3>
+<ol>
+<li>Lorsque vous cr&eacute;ez un album, c'est un album virtuel. Coppermine
+ne cr&eacute;e pas de r&eacute;pertoire pour cet album sur le disuqe dur du serveur,
+il laisse les images ou elles sont sur le serveur, et utilise la base de donn&eacute;e
+pour savoir quelle ilage va dans quel album. Vous pouvez d&eacute;placer les images d'albums
+&agrave; albums, mais tout cel&agrave; est fait dans la base de donn&eacute;e, les images ne sont jamais d&eacute;plac&eacute;es sur le serveur.</li>
+<li>Lorsque vous t&eacute;l&eacute;chargez par Html, en utilisant le lien 'upload' , coppermine place
+les images (ainsiq ue les vignette et les images interm&eacute;diaires) dans le r&eacute;pertoire 'userpics'
+.</li>
+<li>Lorsque vous t&eacute;l&eacute;chargez par ftp, vous devez placer les fichiers dans un r&eacute;pertoire que vous aurez cr&eacute;e
+, dans le r&eacute;pertoire 'albums' , mais pas dans le r&eacute;pertoire 'userpics'.
+Vous pouvez cr&eacute;er autant de r&eacute;pertoires/sous-r&eacute;pertoires que vous voulez.
+Vous pouvez les nommer comme vous le souhaitez, mais nous recommandons de reproduite l'arborescence
+categorie/albums que vous avez cr&eacute;e sur votre site, pour plus de facilit&eacute; d'utilisation.</li>
+<li>Lorsque vous t&eacute;l&eacute;chargez par lot, coppermine vous demande dans quel albumvous voulez placer les images
+, mais il laisse les images l&agrave; ou elles sont sur le serveur.</li>
+</ol>
+<br /><div class="back">[<a href="#top">Haut de page</a>]</div><hr />
+
+<a name="howMoveAlbum"></a>
+<h3>Comment faire pour d&eacute;placer un Album depuis une Cat&eacute;gorie vers une autre Cat&eacute;gorie ??</h3>
+<ul>
+<<li>identifiez vous comme administrateur</li>
+<li>mode administrateur</li>
+<li>cr&eacute;ez des cat&eacute;gories (en utilisant le gestionnaire de cat&eacute;gories du menu administrateur)</li>
+<li>allez sur la pareg d'accueil de votre galerie</li>
+<li>cliquez sur "Propri&eacute;t&eacute;s" &agrave; c&ocirc;t&eacute; de la vignette de l'album</li>
+<li>Depuis la liste d&eacute;roulante "Cat&eacute;gorie de l'Album", choisissez la cat&eacute;gorie ou vou ssouhaitez placer l'album</li>
+<li>Cliquez sur "Mettre &agrave; jour l'Album"</li>
+</ul>
+
+<br />&nbsp;<br />
+<h2>Add-ons / Modifications / Hacks</h2><a name="letUserSelectTheme"></a>
+<a name="changeOrderEdit"></a>
+<h3>Comment puis-je changer l'ordre des images en les &eacute;ditant ?</h3>
+<p>Par d&eacute;faut, les images sont motr&eacute;s par ordre alphab&eacute;tique lorsque vous les &eacute;ditez. pour changer l'ordre de tri 'par date", ouvrez <tt class="code">editpics.php</tt> et changez<br />
+<tt class="code">$result = cpg_db_query("SELECT * FROM
+{$CONFIG['TABLE_PICTURES']} WHERE aid = '$album_id' ORDER BY filename
+LIMIT $start, $count");</tt><br />
+par<br />
+<tt class="code">$result = cpg_db_query("SELECT * FROM {$CONFIG['TABLE_PICTURES']} WHERE aid = '$album_id' ORDER BY pid LIMIT $start, $count");</tt><br /></p><br />
+<div class="back">[<a href="#top">Haut de page</a>]</div><hr /><a name="rightHandMenu"></a>
+<h3>Comment puis-je cr&eacute;e un menu qui sera affich&eacute; &agrave; droite de ma galerie?</h3>
+<p>Lorsque le fichier template.html est lu, il est s&eacute;par&eacute; en deux. Ce qui est avant la balise
+{GALLERY} est g&eacute;n&eacute;r&eacute; par la fonction "pageheader", ce qui est apr&egrave;s par la fonction
+ "pagefooter".<br />
+Si votr emenu est dans le "footer" (pied de page) vous devez modifier votre fichier theme.php<br />
+</p><pre>   $template_vars = array(
+      '{LANG_DIR}' =&gt; $lang_text_dir,
+      '{TITLE}' =&gt; $CONFIG['gallery_name'].' - '.$section,
+      '{CHARSET}' =&gt; $CONFIG['charset'] == 'language file' ? $lang_charset : $CONFIG['charset'],
+      '{META}' =&gt; $meta,
+      '{GAL_NAME}' =&gt; $CONFIG['gallery_name'],
+      '{GAL_DESCRIPTION}' =&gt; $CONFIG['gallery_description'],
+      '{MAIN_MENU}' =&gt; theme_main_menu(),
+      '{ADMIN_MENU}' =&gt; theme_admin_mode_menu()
+   );
+
+   echo template_eval($template_header, $template_vars);</pre>
+   deviendra
+<pre>   $template_vars = array(
+      '{LANG_DIR}' =&gt; $lang_text_dir,
+      '{TITLE}' =&gt; $CONFIG['gallery_name'].' - '.$section,
+      '{CHARSET}' =&gt; $CONFIG['charset'] == 'language file' ? $lang_charset : $CONFIG['charset'],
+      '{META}' =&gt; $meta,
+      '{GAL_NAME}' =&gt; $CONFIG['gallery_name'],
+      '{GAL_DESCRIPTION}' =&gt; $CONFIG['gallery_description'],
+   );
+
+   echo template_eval($template_header, $template_vars);</pre>
+et<br /><tt class="code">echo $template_footer;</tt><br />
+deviendra<br />
+<pre>   $template_vars = array(
+      '{MAIN_MENU}' =&gt; theme_main_menu(),
+      '{ADMIN_MENU}' =&gt; theme_admin_mode_menu()
+   );
+
+   echo template_eval($template_footer, $template_vars);</pre>
+<br /><p></p><br /><div class="back">[<a href="#top">Haut de page</a>]</div><hr /><a name="jumpToPrivateAlbum"></a>
+<h3>Comment envoyer directement un utilisateur vers son album priv&eacute; lorsqu'il s'identifie</h3>
+<p>ouvrez<br /><tt class="code">login.php</tt><br />et cherchez<br />
+<tt class="code">pageheader($lang_login_php['login'],"&lt;META http-equiv=\"refresh\" content=\"3;url=$referer\"&gt;");</tt><br />
+<br />et ajoutez <b>avant</b><br />
+<tt class="code">$referer = 'index.php?cat='.(FIRST_USER_CAT+$USER_DATA['user_id']); </tt><br /><br /></p><br /><div class="back">[<a href="#top">Haut de page</a>]</div><hr /><a name="registeredUsersOnly"></a>
+<h3>Comment peut-on emp&ecirc;cher les utilisateurs non enregistr&eacute;s de voir la galerie?</h3>
+<p>ouvrez<br /><tt class="code">displayimage.php</tt><br />et cherchez<br />
+</p><pre>/**************************************************************************
+* Local functions definition
+**************************************************************************/</pre>
+<br />ajoutez <b>avant</b><br />
+<tt class="code">if (!USER_ID) cpg_die(ERROR, 'vous devez vous enregistre pour acceder &agrave; cette page', __FILE__, __LINE__);</tt><br /><br /><p></p><br /><div class="back">[<a href="#top">Haut de page</a>]</div><hr /><a name="displayUploaderName"></a>
+<h3>Comment peut-on afficher le nom de l'uploader  avec les informations de l'image?</h3>
+<p><b>Attention</b>: Cette modification est assez compliqu&eacute;e &agrave; faire pour un d&eacute;butant!<br />ouvrez displayimage.php et cherchez:<br />
+<tt class="code">   $info[$lang_picinfo['Filename']]   = htmlspecialchars($CURRENT_PIC_DATA['filename']);</tt><br />et ajoutez apr&egrave;s:<br />
+<tt class="code">   $info[$lang_picinfo['Username']]   = htmlspecialchars($CURRENT_PIC_DATA['user_name']);</tt>.<br />
+Puis ouvrez /include/functions.inc.php et chrechez ce qui suit dans 'function get_pic_data()':<br />
+<tt class="code">      if($select_columns != '*') $select_columns .= ', title, caption';</tt><br />et remplacez ce code par:<br />
+<tt class="code">      if($select_columns != '*') $select_columns .= ', title, caption, user_name';</tt>.<br />
+Ensuite cherchez:<br />
+<tt class="code"> $result = cpg_db_query("SELECT $select_columns from
+{$CONFIG['TABLE_PICTURES']} WHERE aid='$album' $approved $ALBUM_SET
+ORDER BY $sort_order $limit");</tt><br />
+et remplacez le code par:<br />
+<tt class="code"> $result = cpg_db_query("SELECT $select_columns from
+{$CONFIG['TABLE_PICTURES']} AS p LEFT JOIN {$CONFIG['TABLE_USERS']} AS
+u ON u.user_id = p.owner_id WHERE p.aid='$album' $approved $ALBUM_SET
+ORDER BY $sort_order $limit");</tt><br />
+Puis vous devez ajouter la chaine pour le nom d'utilisateur dans le fichier langue.
+ Ouvrez /lang/votrelangue.php (par exemple french.php) et cherchez:<br />
+<tt class="code">$lang_picinfo = array(</tt><br />
+ajoutez apr&egrave;s:<br />
+<tt class="code">        'Username' =&gt; 'Nom d'utilisateur',</tt><br />
+Ensuite vous devez executer cette requ&ecirc;te dans MySQL (avec un outil comme <a href="http://www.phpmyadmin.net/">phpMyAdmin</a>):<br />
+<tt class="code">ALTER TABLE `cpg135_pictures` ADD INDEX ( `owner_id` );</tt><br />
+(Si votre pr&eacute;fixe de table n'est pas cpg135_ vous devrez le changer dans la requ&ecirc;te)<br /><br /></p><br /><div class="back">[<a href="#top">Haut de page</a>]</div><hr /><a name="linksInCustomFields"></a>
+<h3>Comment peut-on mettre un lien cliquable dans les champs utilisateurs personnalisables?</h3>
+<p>ouvrez displayimage.php et changez<br />
+<tt class="code">$info[$CONFIG['user_field'.$i.'_name']] = make_clickable($CURRENT_PIC_DATA['user'.$i]); </tt><br />
+en<br />
+<tt class="code">$info[$CONFIG['user_field'.$i.'_name']] = bb_decode($CURRENT_PIC_DATA['user'.$i]); </tt><br />&nbsp;<br />
+Pour permettre d'utiliser les BBCodes dans les champs personnalis&eacute;s: vous pouvez avoir quelque chose comme<br />
+<tt class="code">[url]http://www.somesite.com/foo/bar.php?whatever=42[/url]</tt><br />
+ou<br />
+<tt class="code">[url=http://www.somesite.com/foo/bar.php?whatever=42]lien vers un site![/url]</tt><br />dans le champ utilisateur personnalis&eacute; (qui a bien sur &eacute;t&eacute; activ&eacute; d'abbord dans la page de configuration)<br /><br /></p><br /><div class="back">[<a href="#top">Haut de page</a>]</div><hr />
+
+<a name="sortThumbsByCustomField"></a>
+<h3>Comment peut-on trier les vignettes par utilisateurs d&eacute;finis dans les champs personnalisables?</h3>
+<p></p><ol>
+<li>ouvrez /includes/functions.inc.php<br />
+changez<br />
+<pre>$sort_array = array('na' =&gt; 'filename ASC', 'nd' =&gt; 'filename DESC', 'da' =&gt; 'pid ASC', 'dd' =&gt; 'pid DESC'); </pre>
+pour<br />
+<pre>   $sort_array = array(
+      'na' =&gt; 'filename ASC',
+      'nd' =&gt; 'filename DESC',
+      'da' =&gt; 'pid ASC',
+      'dd' =&gt; 'pid DESC',
+      'f1a' =&gt; 'user1 ASC',
+      'f1d' =&gt; 'user1 DESC',
+      'f2a' =&gt; 'user2 ASC',
+      'f2d' =&gt; 'user2 DESC',
+      'f3a' =&gt; 'user3 ASC',
+      'f3d' =&gt; 'user3 DESC',
+      'f4a' =&gt; 'user1 ASC',
+      'f4d' =&gt; 'user1 DESC'
+   );
+</pre></li>
+<li>ouvrez /themes/votretheme/theme.php<br />
+<ul>
+<li>changez<br />
+<pre>   // The sort order options are not available for meta albums
+   if ($sort_options){
+
+      $param = array(
+         '{ALBUM_NAME}' =&gt; $album_name,
+         '{AID}' =&gt; $aid,
+         '{PAGE}' =&gt; $page,
+         '{NAME}' =&gt; $lang_thumb_view['name'],
+         '{DATE}' =&gt; $lang_thumb_view['date'],
+         '{SORT_NA}' =&gt; $lang_thumb_view['sort_na'],
+         '{SORT_ND}' =&gt; $lang_thumb_view['sort_nd'],
+         '{SORT_DA}' =&gt; $lang_thumb_view['sort_da'],
+         '{SORT_DD}' =&gt; $lang_thumb_view['sort_dd'],
+         );</pre>
+<br />
+pour<br />
+<pre>   // The sort order options are not available for meta albums
+   if ($sort_options){
+
+      $param = array(
+         '{ALBUM_NAME}' =&gt; $album_name,
+         '{AID}' =&gt; $aid,
+         '{PAGE}' =&gt; $page,
+         '{NAME}' =&gt; $lang_thumb_view['name'],
+         '{DATE}' =&gt; $lang_thumb_view['date'],
+         '{SORT_NA}' =&gt; $lang_thumb_view['sort_na'],
+         '{SORT_ND}' =&gt; $lang_thumb_view['sort_nd'],
+         '{SORT_DA}' =&gt; $lang_thumb_view['sort_da'],
+         '{SORT_DD}' =&gt; $lang_thumb_view['sort_dd'],
+         // Exxodus Sorting
+         '{FIELD1}' =&gt; $CONFIG['user_field1_name'],
+         '{FIELD2}' =&gt; $CONFIG['user_field2_name'],
+         '{FIELD3}' =&gt; $CONFIG['user_field3_name'],
+         '{FIELD4}' =&gt; $CONFIG['user_field4_name'],
+         // Exxodus Sorting
+         );</pre>&nbsp;
+</li>
+<li>modifiez les lignes apr&egrave;s <tt class="code">$template_thumb_view_title_row </tt> comme cel&agrave;:<br />
+<pre>// HTML template for title row of the thumbnail view (album title + sort options)
+// Exxodus (Adding Sorting by UserField)
+$template_thumb_view_title_row = &lt;&lt;&lt;EOT
+
+         &lt;table width="100%" cellpadding="0" cellspacing="0"&gt;
+         &lt;tr&gt;
+            &lt;td width="100%" class="statlink"&gt;&lt;h2&gt;{ALBUM_NAME}&lt;/h2&gt;&lt;/td&gt;
+            &lt;td&gt;&lt;img src="images/spacer.gif" width="1"&gt;&lt;/td&gt;
+            &lt;td class="sortorder_cell"&gt;
+               &lt;table height="100%" cellpadding="0" cellspacing="0"&gt;
+               &lt;tr&gt;
+                  &lt;td class="sortorder_options"&gt;{NAME}&lt;/td&gt;
+                  &lt;td class="sortorder_options"&gt;&lt;span class="statlink"&gt;
+                  &lt;a href="thumbnails.php?album={AID}&amp;page={PAGE}&amp;sort=na" title="{SORT_NA}"&gt;&amp;+&amp;&lt;/a&gt;/&lt;/span&gt;&lt;/td&gt;
+                  &lt;td class="sortorder_options"&gt;&lt;span class="statlink"&gt;
+                  &lt;a href="thumbnails.php?album={AID}&amp;page={PAGE}&amp;sort=nd" title="{SORT_ND}"&gt;&amp;-&amp;&lt;/a&gt;&lt;/span&gt;&lt;/td&gt;
+               &lt;/tr&gt;
+               &lt;tr&gt;
+                  &lt;td class="sortorder_options"&gt;{DATE}&lt;/td&gt;
+                  &lt;td class="sortorder_options"&gt;&lt;span class="statlink"&gt;
+                  &lt;a href="thumbnails.php?album={AID}&amp;page={PAGE}&amp;sort=da" title="{SORT_DA}"&gt;&amp;+&amp;&lt;/a&gt;/&lt;/span&gt;&lt;/td&gt;
+                  &lt;td class="sortorder_options"&gt;&lt;span class="statlink"&gt;
+                  &lt;a href="thumbnails.php?album={AID}&amp;page={PAGE}&amp;sort=dd" title="{SORT_DD}"&gt;&amp;-&amp;&lt;/a&gt;&lt;/span&gt;&lt;/td&gt;
+               &lt;/tr&gt;
+               &lt;/table&gt;
+            &lt;/td&gt;
+            &lt;td&gt;&lt;img src="images/spacer.gif" width="10"&gt;&lt;/td&gt;
+            &lt;td class="sortorder_cell"&gt;
+               &lt;table height="100%" cellpadding="0" cellspacing="0"&gt;
+               &lt;tr&gt;
+                  &lt;td class="sortorder_options"&gt;{FIELD1}&lt;/td&gt;
+                  &lt;td class="sortorder_options"&gt;&lt;span class="statlink"&gt;
+                  &lt;a href="thumbnails.php?album={AID}&amp;page={PAGE}&amp;sort=f1a"&gt;&amp;+&amp;&lt;/a&gt;/&lt;/span&gt;&lt;/td&gt;
+                  &lt;td class="sortorder_options"&gt;&lt;span class="statlink"&gt;
+                  &lt;a href="thumbnails.php?album={AID}&amp;page={PAGE}&amp;sort=f1d"&gt;&amp;-&amp;&lt;/a&gt;&lt;/span&gt;&lt;/td&gt;
+               &lt;/tr&gt;
+               &lt;tr&gt;
+                  &lt;td class="sortorder_options"&gt;{FIELD2}&lt;/td&gt;
+                  &lt;td class="sortorder_options"&gt;&lt;span class="statlink"&gt;
+                  &lt;a href="thumbnails.php?album={AID}&amp;page={PAGE}&amp;sort=f2a"&gt;&amp;+&amp;&lt;/a&gt;/&lt;/span&gt;&lt;/td&gt;
+                  &lt;td class="sortorder_options"&gt;&lt;span class="statlink"&gt;
+                  &lt;a href="thumbnails.php?album={AID}&amp;page={PAGE}&amp;sort=f2d"&gt;&amp;-&amp;&lt;/a&gt;&lt;/span&gt;&lt;/td&gt;
+               &lt;/tr&gt;
+               &lt;/table&gt;
+            &lt;/td&gt;
+            &lt;td&gt;&lt;img src="images/spacer.gif" width="10"&gt;&lt;/td&gt;
+            &lt;td class="sortorder_cell"&gt;
+               &lt;table height="100%" cellpadding="0" cellspacing="0"&gt;
+               &lt;tr&gt;
+                  &lt;td class="sortorder_options"&gt;{FIELD3}&lt;/td&gt;
+                  &lt;td class="sortorder_options"&gt;&lt;span class="statlink"&gt;
+                  &lt;a href="thumbnails.php?album={AID}&amp;page={PAGE}&amp;sort=f3a"&gt;&amp;+&amp;&lt;/a&gt;/&lt;/span&gt;&lt;/td&gt;
+                  &lt;td class="sortorder_options"&gt;&lt;span class="statlink"&gt;
+                  &lt;a href="thumbnails.php?album={AID}&amp;page={PAGE}&amp;sort=f3d"&gt;&amp;-&amp;&lt;/a&gt;&lt;/span&gt;&lt;/td&gt;
+               &lt;/tr&gt;
+               &lt;tr&gt;
+                  &lt;td class="sortorder_options"&gt;{FIELD4}&lt;/td&gt;
+                  &lt;td class="sortorder_options"&gt;&lt;span class="statlink"&gt;
+                  &lt;a href="thumbnails.php?album={AID}&amp;page={PAGE}&amp;sort=f4a"&gt;&amp;+&amp;&lt;/a&gt;/&lt;/span&gt;&lt;/td&gt;
+                  &lt;td class="sortorder_options"&gt;&lt;span class="statlink"&gt;
+                  &lt;a href="thumbnails.php?album={AID}&amp;page={PAGE}&amp;sort=f4d"&gt;&amp;-&amp;&lt;/a&gt;&lt;/span&gt;&lt;/td&gt;
+               &lt;/tr&gt;
+               &lt;/table&gt;
+            &lt;/td&gt;
+         &lt;/tr&gt;
+         &lt;/table&gt;
+
+EOT;</pre>
+
+</li>
+</ul>
+</li>
+</ol><br /><p></p><br /><div class="back">[<a href="#top">Haut de page</a>]</div><hr /><a name="iptcSupport"></a>
+<h3>Comment peut-on activer le support IPTC ?</h3>
+<p>ouvrez <tt class="code">/includes/picmgmt.inc.php</tt> et cherchez<br />
+<tt class="code">        $imagesize = getimagesize($image);</tt><br />
+remplacez par:<br />
+</p><pre>$imagesize = getimagesize($image,&amp;$info);
+$iptc = iptcparse($info["APP13"]);
+if (is_array($iptc)) {
+$caption.=$iptc['2#120'][0];
+$title.=$iptc['2#105'][0];
+(is_array($iptc['2#025'])) &amp;&amp; ($keywords.=implode(" ", $iptc['2#025']));
+}</pre>
+Cette modification n'a pas &eacute;t&eacute; test&eacute;e, utilisez la &agrave; vos risques et p&eacute;rils...!<br /><p></p><br /><div class="back">[<a href="#top">Haut de page</a>]</div><hr />
+
+<a name="addFooterBeforePoweredBy"></a>
+<h3>Comment peut-on ajouter des informations juste avant la ligne "Powered by Coppermine"?</h3>
+<p>Ouvrez /themes/votretheme/theme.php, cherchez <tt class="code">echo $template_footer</tt> et ajoutez ce que vous vouliez voir apparaitredans une ligne <b>avant</b>, comme cel&agrave; <tt class="code">print '&lt;span class="footer"&gt;&lt;a href="http://www.onlien.com/ma page.htm"&gt;Mon Lien&lt;/a&gt;&lt;/span&gt;';</tt><br /></p><br /><div class="back">[<a href="#top">Haut de page</a>]</div><hr /><a name="commonPHPerrors"></a>
+<h3>Erreurs communes de PHP et comment s'en d&eacute;barrasser...</h3>
+<p>Il y a beaucoup de personnes (particuli&egrave;rement des d&eacute;butants en PHP) qui posent des questions comme
+ <tt class="code">J'ai une erreur "Parse error: parse error in XXX"</tt>
+et qui ne savent pas de quoi il s'agit et ce qu'il faut faire.
+ C'est pourquoi j'ai traduits cette liste d'erreurs communes
+ (et la solution pour r&eacute;soudre celles ci) depuis un article original en allemand
+ <a href="http://www.drweb.de/" class="external">Dr. Web</a> :<br />
+</p><ul>
+<li><tt class="code">Parse error: parse error in C:\Apache\htdocs\read.php on line 8</tt>
+ - Cette erreur se r&eacute;f&egrave;re &agrave; une erreur de syntaxe dans PHP. Vous avez probablement oubli&eacute; de terminer votre ligne par <tt class="code">;</tt> ou vous avez trop ou pas assez de parenth&egrave;ses ouvertes ou ferm&eacute;es (<tt class="code">{</tt>).</li>
+<li><tt class="code">Fatal error: Call to unsupported/undefined function ... in C:\Apache\htdocs\read.php on line 8</tt>
+- Cette erreur signifie que la fonction que votre scriptpt veut utiliser n'est pas
+d&eacute;finie dans la version actuelle de PHP avec ses modules, ou que vous utilisez une
+fonction utilisateur qui n'ont pas &eacute;t&eacute; d&eacute;finies actuellement (G&eacute;n&eacute;ralement
+caus&eacute;e lorque vous oubliez d'inclure la d&eacute;finition de la fonction).</li>
+<li><tt class="code">Warning: Wrong parameter ... for ... in C:\Apache\htdocs\read.php on line 8</tt>
+ - Vous avez pass&eacute; trop (ou de mauvais) parametres &agrave; la fonction.
+  Si c'est une fonction inclue dans les fonctions PHP, v&eacute;rifiez le <a href="http://www.php.net/manual/en/funcref.php" class="external">manuel</a>; Si il s'agit d'une fonction utilisateur, v&eacute;rifiez votre code.</li>
+<li><tt class="code">Warning: Cannot add header information - header was already sent ... in C:\Apache\htdocs\read.php on line 4</tt>
+ - vous avee une sortie de texte avant (exemple. la d&eacute;claration du doctype ou <tt class="code">&lt;html&gt;</tt>)
+et appelez la fonction header() ensuite. C'est le plus souvent le cas
+lors de l'utilisation de cookie. Pappelez vous vous ne pouvez pas utiliser plusieurs fois la fonction header()!</li>
+<li><tt class="code">Parse error: parser stack overflow in C:\Apache\htdocs\read.php</tt>
+ - PHP d&eacute;passe les capacit&eacute;s m&eacute;moire
+  - cela arrive g&eacute;n&eacute;ralement si vous faites une boucle sans fin, particuli&egrave;rement en utilisant les d&eacute;clarations d'inclusions.</li>
+<li><tt class="code">Warning: fopen("file.txt","r+") - No such file or directory</tt>
+ - le fichier ou le r&eacute;pertoire requis n'existe pas. V&eacute;rifiez l'ortographe (la pr&eacute;cision est importante).</li>
+<li><tt class="code">SAFE MODE Restriction in effect. The script whose uid is 531 is not allowed to access...</tt>
+- Le "safe mode" est activ&eacute;. Certaines fonctions du syst&egrave;me de t&eacute;l&eacute;chargement ne peuvent pas &ecirc;tre utilis&eacute;es.
+ G&eacute;n&eacute;ralement votre h&eacute;bergeur a mis en place le "self mode" (souvent
+mal configur&eacute;). Essayez de mettre sur "silly_safe_mode".</li>
+</ul>
+<br /><p></p><br /><div class="back">[<a href="#top">Haut de page</a>]</div><hr />
+
+
+<a name="renameTemplateHtml"></a>
+<h3>Peut-on renommer template.html en template.php pour inclure du code PHP dans mon template?</h3>
+<p>Non, ce n'est absolument pas la mani&egrave;re de fonctionner de coppermine; pour des pages "normales"
+Le nom d'extention indique au serveur comment le fichier doit &ecirc;tre analyser par l'interpreteur PHP.
+ Le fichier template dans le r&eacute;pertoire themes
+folder n'est pas analys&eacute; &agrave; cause de cel&agrave;. - l'extension .html a juste &eacute;t&eacute; choisie pour pouvoir l'&eacute;diter plus facilement.
+Vous ne pouvez pas avoir de code PHP dans le fichier template,
+ quel que soit le nom que vous lui donnez - C'est comme a!</p><br /><div class="back">[<a href="#top">Haut de page</a>]</div><hr />
+
+<a name="preventPictureStealing"></a>
+<h3>Comment peut-on emp&ecirc;cher les utilisateur d'enregistrer (voler) mes images?
+</h3>
+<p>Vous ne pouvez pas completement emp&ecirc;cher les utilisateurs de "voler" vos images -
+C'est la mani&egrave;re de fonctionner d'internet: si une image est affich&eacute;e dans un navigateur
+, l'utilisateur a une copie de cette image sur son disque dur. Il y a
+neanmoins plusieurs methodes pour rendre plus difficile aux utilisateurs n&eacute;ophites le "vol" d'images:
+</p><ul>
+<li>Ajoutez un filigranne sur vos images avant de les mettre en ligne</li>
+<li>Utilisez les watermark-hacks: <a href="http://coppermine.sourceforge.net/board/index.php?topic=1467.0">Coppermine support board / mods / Watermarking hack (w/ ImageMagick)</a>, <a href="http://coppermine.sourceforge.net/board/index.php?topic=3269.0">Coppermine support board / mods / Watermark on a per image basis (GD)</a>, <a href="http://coppermine.sourceforge.net/board/index.php?topic=7160.0">Coppermine support board / mods / Permanent Watermark with GD2</a>.
+Notez que ces  hacks augmente la charge du serveur, du fait que le filigrane est appliqu&eacute; &agrave; l'image &agrave; chaque fois qu'un utilisateur l'affiche
+ dans son navigateur.</li>
+<li>Emp&ecirc;cher Internet Explorer de montrer la barre d'outils "Image" lorsqu'un utilisateur survole l'image avec sa souris
+. Ouvrez themes/votretheme/template.html,
+trouvez <tt class="code">&lt;meta http-equiv="Pragma" content="no-cache" /&gt;</tt> et ajoutez apr&egrave;s <tt class="code">&lt;meta http-equiv="imagetoolbar" content="no" /&gt;</tt></li>
+<li>Utilisez un des multiples scripts "anti click droit" disponibles (exemple: <a href="http://coppermine.sourceforge.net/board/index.php?topic=2450.0">Coppermine support board / mods / no right-click</a> or <a href="http://www.codelifter.com/main/javascript/norightclick1.html" class="external">codelifter.com: no right-click</a>)</li>
+</ul>
+<br /><p></p>
+<br />
+<div class="back">[<a href="#top">Haut de page</a>]</div><hr />
+
+
+
+<br />&nbsp;<br />
+<h2>Je dispose de mon propre serveur</h2><a name="enableGD"></a>
+<h3>Comment peut-on activer gd sur mon serveur Windows?</h3>
+<p>GD 1.x 2.x sont normalement partie int&eacute;grante de toute distribution standart de PHP sous Windows<br />
+Pour v&eacute;rifier si vous avez cette bibliotheque, allez dans le r&eacute;pertoire ou est install&eacute; votre php,
+allez dans le sous r&eacute;pertoire "extensions" et regardez si vous avez un fichier nomm&eacute;
+"php_gd2.dll".<br />
+Parfois vous devrez aussi ouvrir votre fichier php.ini file (situ&eacute; normalement dans le r&eacute;pertoire windows
+) et enlevez le ";" qui est au d&eacute;but de la ligne:<br />
+<tt class="code">extension=php_gd2.dll</tt> (&agrave; la fin du fichier). Cel&agrave; obligera PHP a charger l'extension GD2.<br />
+Chaque fois que vous effectuez un changement dans php.ini, rappelez vous que vous devez red&eacute;marer votre serveur.<br />
+ImageMagick est plus difficile &agrave; utiliser sous Windows<br />
+Greg (auteur initial de coppermine)<br /></p><br /><div class="back">[<a href="#top">Haut de page</a>]</div><hr />
+<a name="enableIMonWindows"></a>
+<h3>Comment peut-on activer ImageMagick sur mon serveur Windows?</h3>
+<p>ImageMagick est beaucoup plus difficile &agrave; parametrer sous Windows. Il y a plusieurs chose &agrave; prendre en compte
+. Le forum d'aide de Coppermine n'est <b>pas</b> le bon endroit pour demander de l'aide pour son installation, ce forumt
+traitant de Coppermine, pas du ssujet "Comment configurer un serveur" (la plupars des gens
+sur le forum de Coppermine n'ont pas leu propre serveur, mais ont un espace chez un h&eacute;bergeur).
+ Essayez plut&ocirc;t de trouver de l'aide sur de forums traitant de ce sujet particulier.
+<br /><br /></p><br /><div class="back">[<a href="#top">Haut de page</a>]</div><hr />
+
+<br />&nbsp;<br />
+<h2>Forum d'aide de Coppermine</h2>
+Ce sont (h&eacute;las)
+des questions pas suffisament pos&eacute;es sur les forums d'aide. Avant de poster sur le forum d'aide
+(ou en fait sur tout forum), s'il vous plait lisez cel&agrave;:
+<a name="phpNewbie"></a>
+<h3>Je n'y connais rien &agrave;  PHP/mySQL...</h3>
+<p>Pas de probl&egrave;mes, chacun a &eacute;t&eacute; d&eacute;butant un jour, <b>mais</b>: ne commencez pas chaque sujet par "Je suis d&eacute;butant", "je n'y commais rien &agrave; PHP " etc.<br />
+Souvent, on le voit &agrave; la question pos&eacute;e elle m&ecirc;me, pas besions de s'excuser...<br /></p><br /><div class="back">[<a href="#top">Haut de page</a>]</div><hr /><a name="lamesupport"></a>
+<h3>J'ai post&eacute; ma question il y a d&eacute;j&agrave; longtemps mais , personne n'y r&eacute;ponds. Que se passe t'il...?</h3>
+<p>Le forum d'aide n'est <b>pas</b> une hotline. M&ecirc;me si il y a beaucoup de visiteurs
+, seulement une petite part apporte de l'aide - sur la base du volontariat libre et gratuit.
+ Nous ne sommes pas pay&eacute;s pour &agrave; et avons une vie, un travail, une famille
+. Nous ne sommes pas toujours l&agrave;.<br />Si vous ne recevez pas de r&eacute;ponse &agrave; votre question:
+</p><ul>
+<li>Assurez vous que vous avez laiss&eacute; assez de temps pour r&eacute;pondre (jours, pas heures!)</li>
+<li>peut-&ecirc;tre que personne ne connais la r&eacute;ponse &agrave; votre probl&egrave;me</li>
+<li>Votre question a peut &ecirc;tre d&eacute;j&agrave; &eacute;t&eacute; pos&eacute;e tr&egrave;s souvent</li>
+<li>Votre envoie a &eacute;t&eacute; impoli ou injurieux et vous &ecirc;tes ignor&eacute;s pour cette raison</li>
+<li>votre requ&ecirc;te demande beaucoup de programation, et aucun de ceux qui sont en mesure de le faire n'ont de besions pour cette fonction</li>
+</ul><br /><p></p><br /><div class="back">[<a href="#top">Haut de page</a>]</div><hr /><a name="howtoask"></a>
+<h3>Comment dois-je poser ma question?</h3>
+<p>Si vous avez une question, assurez vous de donner le plus possible d'informations:
+</p><ul>
+<li>Un lien vers votre galerie est souvent le seul moyen de vous aider-
+donnez le avec votre question, ou mieux: editez votre profil sur le forum d'aide
+ et entre l'URL de votre site !</li>
+<li>Si vous avez des probl&egrave;mes de serveur, assurez vous de donner les informations sur votre serveur (<acronym class="tool" title="operation system">OS</acronym>, serveur, version PHP,versions mySQL, version de la librairie gd, safe mode sur on/off?).
+ La plupars des informations peuvent &ecirc;tre trouv&eacute;es ici <a href="#VersionGD">phpinfo()</a></li>
+<li>S'il s'agit d'un probl&egrave;me 'utilisateur', donnez nous les informations de votre utilisateur: <acronym class="tool" title="operation system">OS</acronym> et navigateur</li>
+<li>postez une capture d'&eacute;cran si necessaire</li>
+<li>Utilisez un titre de sujet correct: dites &agrave; quoi se rapporte votre question
+! la plupars des personnes apportant de l'aide sont r&eacute;ticents &agrave; r&eacute;pondre &agrave; des sujets du genre
+ "J'ai une question" ou
+"Probl&egrave;me d'installation" ou "demande de fonction" ou "aidez moi s'il vous plaiiiiiiiiiiiiit"</li>
+</ul><br /><p></p><br /><div class="back">[<a href="#top">Haut de page</a>]</div><hr /><a name="firstSteps"></a>
+<h3>J'ai un probl&egrave;me avec Coppermine. Que faut'il fair en premier (avant de poster sur le forum)?</h3>
+<p></p><ul>
+<li>lisez le fichier 'readme' qui est dans le pack de coppermine</li>
+<li>lisez la doculentation</li>
+<li>lisez cette FAQ</li>
+<li><a href="http://coppermine.sourceforge.net/board/index.php?action=search">Cherchez</a> sur le forum d'aide</li>
+<li>activez le mode debug (identifiez vous comme admin, mode admin, configuration, mode de debugage)</li>
+<li>choisissez le bon forum d'aide: si vous utilisez la version pour phpnuke
+de coppermine, ne postez pas sur le support d'aide pour la version autonome
+et vice et versa</li>
+</ul><br /><p></p><br /><div class="back">[<a href="#top">Haut de page</a>]</div><hr /><a name="nonEnglishPosting"></a>
+<h3>H&eacute;, en regardant votre profil J'ai vu que vous &eacute;tiez Allemand/Franais/ou autre... Puis-je poser ma question dans cette langue?</h3>
+<p>S'il vous plait, ne postez pas dans une autre langue que l'Anglais - comme &agrave;,
+d'autres pourront b&eacute;n&eacute;ficier des questions (et des r&eacute;ponses). Ne soyez pas effray&eacute;s par votre mauvais anglais
+ - personne ne se moqueras de vous, et la plupars des
+visiteurs ont une autre langue maternelle que l'anglais! Il y a un forum francophone
+ici <a href="http://coppermine-gallery.net/forum/index.php?board=38.0" class="external">http://coppermine-gallery.net/forum/index.php?board=38.0</a>
+ - utilisez le si vous n'&ecirc;tes pas en mesure de poster en anglais!<br /></p><br /><div class="back">[<a href="#top">Haut de page</a>]</div><hr /><a name="emailSupport"></a>
+<h3>Puis-je vous envoyer un courriel/pm/im pour de l'aide?</h3>
+<p>Non vous ne devez pas! postez votre question sur le forum <a href="http://coppermine.sourceforge.net/board/">Forum d'aide de Coppermine</a>  - si nous (la communaut&eacute;) ne trouvons pas la solution <b>et</b> <i>j'ai</i> le temps <b>et</b> <i>Je </i> le souhaite <i>Je</i>vous enverrais un courriel/pm/im <i>you</i>!<br />
+</p><br /><div class="back">[<a href="#top">Haut de page</a>]</div><hr />
+
+<a name="aboutTeam"></a>
+<h3><b>Qui &ecirc;tes vous ?</b></h3>
+<p>Nous sommes un groupe de personnes qui a d&eacute;cid&eacute; de former une &eacute;quipe pour d&eacute;velopper Coppermine d'avantage - regardez la page <a href="http://coppermine.sourceforge.net/team/">equipe</a> pour les d&eacute;tails...<br /></p><br /><div class="back">[<a href="#top">Haut de page</a>]</div><hr />
+
+
+<br />&nbsp;<br />
+Cette FAQ est un travail qui &eacute;volue, s'il vous plait contribuez au forum d'aide de Coppermine Photo Galerie <a href="http://coppermine.sourceforge.net/board/">
+</a> <br />
+Rapportez les erreurs, fautes etc...<br />
+V&eacute;rifiez  <a href="http://coppermine.sourceforge.net/faq.php">
+la version en ligne de ce document</a> pour les mises &agrave; jour!<br />
+Profitez en!<br />
+<br />
+<b>GauGau</b> (aka <b>Joachim Mueller</b>) - Coppermine
+Dev Team <b><br />
+(ne me contactez pas pour r&eacute;soudre vos probl&egrave;mes d'installation de Coppermine)</b>.<a name=""></a>
+<br />
+<div class="back">[<a href="#top">Haut de page</a>]</div><hr />
+<p>Adaptation &amp; Traduction du <a href="http://coppermine.sourceforge.net/faq.php">FAW en anglais</a> en Franais par <a href="http://coppermine.sourceforge.net/board/index.php?action=profile;u=1545"><b>PYAP</b></a> (cad <b>Pascal YAP</b>) et <a href="http://coppermine.sourceforge.net/board/index.php?action=profile;u=9980"><b>Frantz</b></a> (cad Franois KELLER) (<b>French Coppermine Moderators</b>)</p>
+</body>
 </html>
\ No newline at end of file
diff -x .svn -aruN 1.4.24.src/docs/faq.htm 1.4.25.src/docs/faq.htm
--- 1.4.24.src/docs/faq.htm	2009-05-21 15:03:09.000000000 -0500
+++ 1.4.25.src/docs/faq.htm	2009-05-26 11:25:48.000000000 -0500
@@ -1,1044 +1,1044 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
-   "http://www.w3.org/TR/html4/loose.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
-<head>
-<title>Coppermine Photo Gallery - Documentation &amp; Manual</title>
-<meta http-equiv="content-type" content="text/html; charset=utf-8" />
-<meta name="language"    content="en" />
-<meta name="author" content="Tom"/>
-<meta name="copyright"   content="Coppermine dev team" />
-<meta name="description" content="Coppermine Photo Gallery project - Coppermine is an easily set-up, fast, feature-rich photo gallery script with mySQL database, user management, private galleries, automatic thumbnail creation, ecard feature and a template system for easy customization to match the rest of a site." />
-<meta name="keywords"    content="photo,gallery,galery,image,coppermine,php,mysql,easy,feature,phpnuke,thumbnail,automatic,creation,gd,Image Magick,ecard" />
-<meta name="page-topic"    content="photo,gallery,galery,image,coppermine,php,mysql,easy,feature,phpnuke,thumbnail,automatic,creation,gd,Image Magick,ecard" />
-<meta http-equiv="Content-Style-Type" content="text/css" />
-<meta name="MSSmartTagsPreventParsing" content="true" />
-<meta http-equiv="imagetoolbar" content="no" />
-<!--
-  Subversion information (for information and developer purposes only - safe to ignore for everybody else):
-  Coppermine version: 1.4.24
-  $HeadURL: https://coppermine.svn.sourceforge.net/svnroot/coppermine/trunk/cpg1.4.x/docs/faq.htm $
-  $Revision: 5969 $
-  $Author: gaugau $
-  $Date: 2009-05-21 22:03:33 +0200 (Do, 21 Mai 2009) $
--->
-<style type="text/css">
-<!--
-body {
-        font-size: 12px; background: #F7F7F7; margin: 2%; color: black; font-family: verdana, arial, helvetica, sans-serif;
-        scrollbar-face-color: #DEE3E7;
-        scrollbar-highlight-color: #FFFFFF;
-        scrollbar-shadow-color: #DEE3E7;
-        scrollbar-3dlight-color: #D1D7DC;
-        scrollbar-arrow-color:  #006699;
-        scrollbar-track-color: #EFEFEF;
-        scrollbar-darkshadow-color: #98AAB1;
-}
-td {
-        font-size: 12px
-}
-h1 {
-        font-weight: bolder; font-size: 24px; color: #0E72A4; line-height: 120%; font-family: "Trebuchet MS", Verdana, Arial, Helvetica, sans-serif; text-decoration: none
-}
-h2 {
-        font-size: 20px; color: #0E72A4; font-family: Arial, Helvetica, sans-serif; text-decoration: none;
-}
-h3 {
-        font-weight: bolder; font-size: 16px; font-family: Verdana, Arial, Helvetica, sans-serif; text-decoration: none; color: #0E72A4;
-}
-h4 {
-        font-weight: bold; font-size: 14px; font-family: Verdana, Arial, Helvetica, sans-serif; text-decoration: none; color: #0E72A4;
-}
-p {
-        font-size: 12px; margin: 10px 10px 0px 0px; font-family: Verdana, Arial, Helvetica, sans-serif
-}
-pre {
-        border-right: #999999 1px solid; padding-right: 5px; border-top: #999999 1px solid; padding-left: 5px; font-size: 12px; padding-bottom: 5px; margin: 10px 10px 0px 0px; border-left: #999999 1px solid; padding-top: 5px; border-bottom: #999999 1px solid; font-style: normal; font-family: "Courier New", Courier, mono; background-color: #E0E0E0
-}
-
-.code {
-        font-size: 12px; font-style: normal; font-family: "Courier New", Courier, mono; background-color: #E0E0E0
-}
-ul {
-        padding-right: 0px; padding-left: 0px; padding-bottom: 0px; margin: 10px 0px 10px 5px; padding-top: 0px
-}
-ul.content {
-        padding-right: 0px; padding-left: 0px; padding-bottom: 0px; margin: 5px 5px 0px 0px; padding-top: 0px
-}
-li {
-        padding-right: 0px; margin-top: 4px; padding-left: 0px; list-style-position: outside; margin-bottom: 4px; padding-bottom: 0px; margin-left: 10px; padding-top: 0px;
-}
-li.content {
-        padding-right: 0px; margin-top: 0px; padding-left: 0px; list-style-position: outside; margin-bottom: 5px; padding-bottom: 0px; margin-left: 10px; padding-top: 0px; list-style-type: none;
-}
-hr {
-        border-right: #000000 0px solid; border-top: #000000 1px solid; border-left: #000000 0px solid; border-bottom: #000000 0px solid; height: 0px
-}
-.navbar {
-        font-weight: bold; font-size: 10px; background: url(/coppermine/themes/pixel-rave-blue100/images/nav-bar-button.gif) #72a5cc no-repeat; vertical-align: middle; color: #A5C6DF; font-family: Arial, Helvetica, sans-serif
-}
-a.navbar {
-        display: block; vertical-align: middle; width: 100px; color: #A5C6DF; line-height: 25px; position: relative; height: 25px; text-align: center; text-decoration: none
-}
-a.navbar:hover {
-        color: #ffffff; text-decoration: none
-}
-
-a.content {
-        text-decoration: none
-}
-a.content:hover {
-        text-decoration: underline
-}
-
-a.external {
-        background: transparent url('pics/link.gif') 100% 50% no-repeat;
-        padding-right: 10px;
-}
-
-.back {
-        margin-top: 10px; font-size: 10px; margin-bottom: 10px
-}
-.important { color: red }
-.totop {font-size:8px; text-align:right}
--->
-</style>
-</head>
-<body>
-<h1><b>Coppermine 1.4.x FAQ</b></h1>
-<p>FAQ for <a href="http://coppermine.sourceforge.net/">Coppermine Photo Gallery v1.4.x</a><br />
-For credits and copyrights, see <a href="index.htm#credits">Coppermine documentation</a></p>
-
-
-<p>With thousands of users, it's not surprising that so many of the same questions are asked on the <a href="http://coppermine.sourceforge.net/board/">support forums for Coppermine Photo Gallery</a>. So, to help facilitate your website development, we've  included this basic <acronym class="tool" title="FAQ=Frequently Asked Questions">FAQ</acronym> file on common issues. Please be sure to refer to this FAQ first before posting questions on the forum. Failure to do so will, could, well ... , reflect unkindly on you and could result in some negative "<i>karma</i>."</p>
-<p>This document is the <i>second best</i> resource to understand Coppermine - it's mandatory that you read the <a href="index.htm">documentation</a> first that comes with your Coppermine package.</p>
-<p>The FAQ are available <a href="faq_de.htm">in German</a> and <a href="faq_fr.htm">French</a> as well.</p>
-
-<a name="top"></a>
-<h2><b>Table of contents</b>:</h2>
-<ul class="nomargin">
-<li><b>Installation</b></li>
-<ul class="nomargin">
-<li><a class="content" href="#MinimumRequirements">What are the <b>minimum requirements</b> for the installation and use of Coppermine 1.4.x ?</a></li>
-<li><a class="content" href="#whatIsImageMagick">What's <b>ImageMagick</b> and how can I get it?</a></li>
-<li><a class="content" href="#WhatIsGD">What's <b>GD</b> and how can I get it?</a></li>
-<li><a class="content" href="#VersionPHP">How do I find out <b>which version of PHP</b> I have?</a></li>
-<li><a class="content" href="#VersionGD">How do I find out <b>which version of GD</b> I have?</a></li>
-<li><a class="content" href="#GD1vsGD2">What&#39;s the difference between <b>GD1 and GD2</b>?</a></li>
-<li><a class="content" href="#InstallSteps">What are the <b>steps</b> to get Coppermine running?</a></li>
-<li><a class="content" href="#installIMwhenHosted">How can I <b>install ImageMagick or GD</b>?</a></li>
-<li><a class="content" href="#minimumInstall">I'm short on webspace. Is there a &quot;<b>minimum install</b>&quot;?</a></li>
-</ul>
-
-<li><b>Upload</b></li>
-<ul class="nomargin">
-<li><a class="content" href="#uploadGeneralTroubleshooting">General Upload Troubleshooting</a></li>
-</ul>
-
-<li><b>Error messages</b></li>
-<ul class="nomargin">
-<li><a class="content" href="#WhatIsImageMagick">When installing I get the <b>error</b> <tt class="code">Fatal error: Call to undefined function: imagecreatefromjpeg() in /include/picmgmt.inc.php on line 168</tt>. What does that mean?</a></li>
-<li><a class="content" href="#mkdirPermissionDenied">When installing I get the <b>error</b> <tt class="code">Warning: mkdir(dummy) [function.mkdir]: Permission denied in /your/path/to/coppermine/install.php on line 126</tt>. What does that mean?</a></li>
-<li><a class="content" href="#EmptyDelimiter">I get the <b>error</b> &quot;<tt class="code">Warning: Empty Delimiter in search.inc.php line 33&quot;</tt>. What can I do?</a></li>
-<li><a class="content" href="#zerosizedreply">I get the <b>error</b> <tt class="code">Zero Sized Reply</tt> during install. What can I do?</a></li>
-<li><a class="content" href="#ErrorUndefinedIndex">I have the error message <tt class="code">Warning: Undefined index: SCRIPT_NAME in /www.your-domain.com/include/init.inc.php on line 90</tt>. What can I do?</a></li>
-<li><a class="content" href="#ErrorCantMovePic">When I try to upload a picture I get the error message <tt class="code">Impossible to move somepic.jpg to albums/userpics/ | Warning: move_uploaded_file(/tmp/phpezCYKr) [function.move-uploaded-file]: failed to create stream: Operation not permitted</tt>. What&#39;s wrong?</a></li>
-<li><a class="content" href="#ErrorFailedToOpenDir">When I try to upload a picture I get the error message <tt class="code">Warning: opendir(./albums/edit): failed to open dir: No such file or directory</tt>. What&#39;s wrong?</a></li>
-<li><a class="content" href="#httpPostVars">When uploading I get the error <tt class="code">Warning: Undefined variable: HTTP_POST_VARS in include/init.inc.php on line 43</tt>. What can I do?</a></li>
-<li><a class="content" href="#createWriteMYI">I get the error message <tt class="code">Can't create/write to file '/tmp/#sql_45d5_0.MYI'</tt>. What's wrong?</a></li>
-<li><a class="content" href="#cantOpenMYI">I get the error message <tt class="code">Can't open file: 'yourPrefix_tableName.MYI'</tt> or similar. What's wrong?</a></li>
-</ul>
-
-<li><b>Setup / Configuration</b></li>
-<ul class="nomargin">
-<li><a class="content" href="#LinkInAlbumDescription">How can I include a <b>link in an album description</b> or the caption of a pic?</a></li>
-<li><a class="content" href="#NoLastUploads">I don&#39;t want to show the <b>last uploads</b> and/or <b>random pictures</b> on the start page. How do I edit what&#39;s shown on the start page of coppermine?</a></li>
-<li><a class="content" href="#editCopyrights">How do I <b>remove/edit the bottom line</b> &quot;<tt class="code">Powered by Coppermine</tt>&quot; ?</a></li>
-<li><a class="content" href="#buyLicense">I want to buy a <b>license</b> for Coppermine (and get rid of the &quot;<tt class="code">Powered by Coppermine</tt>&quot; line). How?</a></li>
-<li><a class="content" href="#removeFeature">I don&#39;t want to use the feature XYZ of Coppermine. How can I <b>remove</b> it?</a></li>
-<li><a class="content" href="#customHeader">How do I add a <b>custom header/footer</b> to Coppermine?</a></li>
-<li><a class="content" href="#createPublicAlbum">How do I create an <b>album</b> that <b>anyone</b> can add photos to?</a></li>
-<li><a class="content" href="#BackupDatabase">How can I <b>backup</b> my coppermine database?</a></li>
-<li><a class="content" href="#noFullsizePopup">The <b>fullsize-pic doesn&#39;t pop up</b> when clicking on the intermediate size pic. What&#39;s wrong?</a></li>
-<li><a class="content" href="#viewThumbnailsOnly">How can I let unregistered users see the <b>thumbnails only</b>, but not the actual pictures?</a></li>
-<li><a class="content" href="#preventHotlinks">How can I prevent other sites linking directly to the pictures in my gallery instead of the gallery page?</a></li>
-<li><a class="content" href="#changeLanguage">I tried to change the <b>language</b> on the config page, but it doesn&#39;t work. What&#39;s wrong?</a></li>
-<li><a class="content" href="#onlyregisteredcomments">How do I let guests, not only registered users to put <b>comments</b> on pictures?</a></li>
-<li><a class="content" href="#httpUpload">I <b>can&#39;t upload</b> with the upload feature. What&#39;s wrong?</a></li>
-<li><a class="content" href="#ordercategories">How do I change the <b>order of categories</b>?</a></li>
-<li><a class="content" href="#cantDeletePic">I <b>can&#39;t delete a certain picture</b> with ftp. What can I do?</a></li>
-<li><a class="content" href="#cantUploadBigPics">I <b>can&#39;t upload big pics</b>. What&#39;s wrong?</a></li>
-<li><a class="content" href="#cookie">I can&#39;t <b>login</b> to Coppermine. What&#39;s wrong?</a></li>
-<li><a class="content" href="#sortAlbum">How can I change the <b>sorting order of the albums</b>?</a></li>
-<li><a class="content" href="#deleteIntermediates">I don't use the <b>intermediate pictures</b> anymore. How can I <b>delete</b> them to gain disk space?</a></li>
-<li><a class="content" href="#howAlbumsFolderWork">How do <b>albums and folders</b> work in coppermine?</a></li>
-<li><a class="content" href="#howMoveAlbum">How can I <b>move albums from one category to another</b>?</a></li>
-<li><a class="content" href="#moveGallery">How do I <b>move a gallery</b>?</a></li>
-<li><a class="content" href="#oneFileMultipleAlbums">How do I <b>show the same file in multiple albums</b>?</a></li>
-
-</ul>
-<li><b>Add-ons / Modifications / Hacks</b></li>
-<ul class="nomargin">
-<li><a class="content" href="#changeOrderEdit">How can I change the order of the pics when <b>editing</b> them?</a></li>
-<li><a class="content" href="#rightHandMenu">How can I create a menu that&#39;s shown on the <b>right side</b> of the gallery?</a></li>
-<li><a class="content" href="#jumpToPrivateAlbum">How can I send a user <b>directly to his private album</b> once he logs in?</a></li>
-<li><a class="content" href="#registeredUsersOnly">How can I <b>prevent unregistered user</b> from viewing the gallery?</a></li>
-<li><a class="content" href="#displayUploaderName">How can I <b>display the name of the uploader</b> with the picture info?</a></li>
-<li><a class="content" href="#linksInCustomFields">How do I enable clickable <b>links in custom user fields</b>?</a></li>
-<li><a class="content" href="#sortThumbsByCustomField">How can I <b>sort the thumbnails by user defined (custom) fields</b>?</a></li>
-<li><a class="content" href="#iptcSupport">How do I <b>enable IPTC support</b>?</a></li>
-<li><a class="content" href="#commonPHPerrors">Common PHP errors and how to get rid of them...</a></li>
-<li><a class="content" href="#renameTemplateHtml">Can I <b>rename template.html to template.php</b> to include <b>PHP code</b> in my template?</a></li>
-<li><a class="content" href="#preventPictureStealing">How can I prevent users from saving (stealing) my pictures?</a></li>
-</ul>
-<li><b>I'm running my own server</b></li>
-<ul class="nomargin">
-<li><a class="content" href="#enableGD">How do I <b>enable gd</b> on my Windows server?</a></li>
-<li><a class="content" href="#enableIMonWindows">How do I <b>enable ImageMagick</b> on my Windows server?</a></li>
-</ul>
-<li><b>Coppermine Support board</b></li>
-<ul class="nomargin">
-<li><a class="content" href="#phpNewbie">I <b>don&#39;t know</b> PHP/mySQL...</a></li>
-<li><a class="content" href="#lamesupport">I&#39;ve posted my question a while ago, but <b>nobody answers</b>. What the...?</a></li>
-<li><a class="content" href="#howtoask">How should I write my <b>question</b>?</a></li>
-<li><a class="content" href="#firstSteps">I&#39;ve run into trouble. What should I do first (<b>before posting</b> on the board)?</a></li>
-<li><a class="content" href="#nonEnglishPosting">Hey, by looking at your profile I can see you&#39;re German/French/Whatever. Can I post a question in that <b>language</b>?</a></li>
-<li><a class="content" href="#emailSupport">May I email/<acronym title="private message" class="tool">pm</acronym>/<acronym title="instant message" class="tool">im</acronym> you for <b>support</b>?</a></li>
-<li><a class="content" href="#aboutTeam"><b>Who</b> are you anyway?</a></li>
-</ul>
-</ul>
-
-
-<br />&nbsp;<br />
-<h2>Installation</h2><a name="MinimumRequirements"></a>
-<h3>What are the <b>minimum requirements</b> for the use of Coppermine 1.4.x ?</h3>
-<p>
-    <ul>
-        <li>any webserver, Apache recommended (Coppermine has been reported to work with <a href="http://httpd.apache.org/" class="external">Apache</a>, <a href="http://www.microsoft.com/iis/" class="external">Microsoft Internet Information Server</a> (IIS), <a href="http://www.roxen.com/products/webserver/" class="external">Roxen WebServer</a>, <a href="http://www.aprelium.com/" class="external">Abyss</a>, <a href="http://www.janaserver.de/" class="external">JanaServer</a>)</li>
-        <li>PHP 4.2.0 or better</li>
-        <li><a href="#WhatIsGD">GD lib</a> or Image Magick</li>
-        <li>mySQL 3.23.23 or better (4.x recommended). Don&#39;t confuse the client api version (which is shown in phpinfo) with the mySQL version!</li>
-    </ul><br /></p><br /><div class="totop">[<a href="#top" class="nodeco">top of page</a>]</div><hr />
-<a name="WhatIsGD"></a>
-<h3>What's <b>GD</b> and how can I get it?</h3>
-<p>GD is a graphical library which enables PHP to do image manipulation. If you are running your own webservem you can download it at <a href="http://www.boutell.com/gd/" class="external">www.boutell.com/gd/</a>. You will need to recompile PHP on (L)Unix systems, depending on your setup Apache as well. Most recent versions of PHP come with GD - go for a package. On most windows systems, you can just enable it in the php.ini file. If you are subscribing to a webhost: find out through your webhost if GD/GD2 support is available on your site. If not, ask your webhost if you can have it or find yourself another webhost. GD/GD2 are pretty much a standard feature at most webhosting services.<br /></p><br /><div class="totop">[<a href="#top" class="nodeco">top of page</a>]</div><hr />
-
-<a name="whatIsImageMagick"></a>
-<h3>What's ImageMagick and how can I get it?</h3>
-<p>ImageMagick is another graphical library like GD/GD2 for image manipulation. If you are running your own webserver, you can download it at <a href="http://www.imagemagick.org" class="external">imagemagick.org</a>. There are sources available for Unix, Linux, Mac and Windows executables, as well as binary packages for various server operating systems. You cannot install ImageMagick if you are subscribing to a webhost.
-<br /></p>
-<br />
-<div class="totop">[<a href="#top" class="nodeco">top of page</a>]</div><hr />
-
-<a name="VersionPHP"></a>
-<h3>How do I find out <b>which version of PHP</b> I have?</h3>
-<p>If you haven't installed Coppermine, yet, create a blank file named "info.php". Add the following code to it: <tt class="code">&lt;?php phpinfo(); ?&gt;</tt>. Save the file and upload it to your webserver, then run it in your browser (e.g. http://www.yourdomain.com/info.php). The very first line should read &quot;PHP Version X.Y.Z&quot;<br />Please note: leaving info.php on your server could be a security risk; either delete it after use or move it into a password protected directory!<br />&nbsp;<br />If you have already installed Coppermine, you will find a phpinfo file (phpinfo.php) within the coppermine folder. Log in to your Coppermine setup as the admin and simply point (type in the URL) your browser to http://yourdomain.tld/your_coppermine_folder/phpinfo.php .</p><br /><div class="totop">[<a href="#top" class="nodeco">top of page</a>]</div><hr /><a name="VersionGD"></a>
-<h3>How do I find out <b>which version of GD</b> I have?</h3>
-<p>If you haven't installed Coppermine, yet, create a blank file named "info.php", put this code into it: <tt class="code">&lt;?php phpinfo(); ?&gt;</tt>. Save the file and upload this file to your webserver, then run it in your browser (e.g. http://www.yourdomain.com/info.php). Look for a table like this:<br />
-<div align="center" style="font-family: arial, helvetica, sans-serif; font-size: 14pt; font-weight: bold;">gd</div>
-<table border="0" cellpadding="3" cellspacing="1" width="600" bgcolor="#000000" align="center">
-<tr valign="baseline" bgcolor="#cccccc"><td bgcolor="#ccccff" ><b>GD Support</b></td><td align="left">enabled</td></tr>
-<tr valign="baseline" bgcolor="#cccccc"><td bgcolor="#ccccff" ><b>GD Version</b></td><td align="left">1.6.2 or higher</td></tr>
-<tr valign="baseline" bgcolor="#cccccc"><td bgcolor="#ccccff" ><b>FreeType Support</b></td><td align="left">enabled</td></tr>
-<tr valign="baseline" bgcolor="#cccccc"><td bgcolor="#ccccff" ><b>FreeType Linkage</b></td><td align="left">with TTF library</td></tr>
-<tr valign="baseline" bgcolor="#cccccc"><td bgcolor="#ccccff" ><b>JPG Support</b></td><td align="left">enabled</td></tr>
-<tr valign="baseline" bgcolor="#cccccc"><td bgcolor="#ccccff" ><b>PNG Support</b></td><td align="left">enabled</td></tr>
-<tr valign="baseline" bgcolor="#cccccc"><td bgcolor="#ccccff" ><b>WBMP Support</b></td><td align="left">enabled</td></tr>
-</table>
-<br /><br />Please note: leaving info.php on your server could be a security risk; either delete it after use or move it into a password protected directory!<br />&nbsp;<br />If you have already installed Coppermine, you will find a phpinfo file (phpinfo.php) within the coppermine folder. Log in to your Coppermine setup as the admin and simply point (type in the URL) your browser to http://yourdomain.tld/your_coppermine_folder/phpinfo.php. Then scoll down to the GD section of the display.<br /></p><br /><div class="totop">[<a href="#top" class="nodeco">top of page</a>]</div><hr /><a name="GD1vsGD2"></a>
-<h3>What&#39;s the difference between <b>GD1 and GD2</b>?</h3>
-<p>GD2 is an updated version of GD1 and, as such, will create pictures with better quality (intermediate and thumbnails). <table border="0" class="frame2"><tr><td colspan="2"><span class="winzig">Here&#39;s an example taken from <a href="http://www.vddh.com/wnailer/index.php?pag=res&pic=1#comp" class="external">w-nailer: about resizing</a><br />(Original pic size: 1024 x 768 pixels):</span></td></tr><tr><td align="center"><img src="http://coppermine.sourceforge.net/images/128x96gd1.jpg" width="128" height="96" border="0" alt="" title="GD1"></td><td align="center"><img src="http://coppermine.sourceforge.net/images/128x96gd2.jpg" width="128" height="96" border="0" alt="" title="GD2"></td></tr><tr><td align="center"><span class="winzig">GD 1.8.4:<br />ImageCreate<br />ImageCopyResized<br />128 x 96 pixels</span></td><td align="center"><span class="winzig">GD 2.0.1:<br />ImageCreateTrueColor<br />ImageCopyResampled<br />128 x 96 pixels</span></td></tr></table>Upgrades of the GD lib after coppermine has already installed will not affect pictures that were previously created. It will only affect those created after the upgrade. <b>Unless you are running your own webserver, you cannot upgrade nor install GD lib  - only your webhost can!</b><br /></p><br /><div class="totop">[<a href="#top" class="nodeco">top of page</a>]</div><hr />
-
-<a name="InstallSteps"></a>
-<h3>What are the <b>steps</b> to get Coppermine running?</h3>
-<p>as stated in the Coppermine readme file:
-<ol>
-<li>Download Coppermine</li>
-<li>Unzip it to your harddrive</li>
-<li>Upload the contents of the coppermine folder to your server (you can install it in the root or in a unique folder with a name of your choosing).</li>
-<li>CHMOD (<u>CH</u>ange permission settings <u>MOD</u>e) your newly uploaded Coppermine "include" and "albums" folders and subfolders to allow for read/write access. If your webhost does not provide file management tools to let you do this, you will probably need to search the net, download and install an FTP program to facilitate this.</li>
-<li> Create a database with your website management tools if you don't already have one. You do not have to add any tables to your newly created database. Coppermine will create them for you. If you already have a database on your site, Coppermine can use that as well. </li>
-<li>If you are installing on a Yahoo Webserver, <a href="http://coppermine-gallery.net/forum/index.php?topic=18943.0">read this thread first</a>.</li>
-<li>Point your browser to http://www.yoursite.com/coppermine/install.php and follow the directions of the install file (basically the mySQL-tables will be created there and the config table will be filled with default values)</li>
-<li>Upon successfull installation, delete the install.php file from your website.</li>
-<li>Point your browser to http://www.yoursite.com/coppermine/ , and login as admin using the ID and Password you provided during install. In admin mode, click on the CONFIG menu button to start customizing your coppermine photo gallery.</li>
-<li>Experiment with your new install, create a few categories, sub-categories, and albums. Upload a few pics (not too many, just yet), test if everything works. </li>
-<li>Point your browser to http://www.yoursite.com/coppermine/docs/ and READ the docs. The documents included with CPG1.4.x have been updated from previous versions to help answer your questions and issues so that you can get the site you want the first time out. Reading the docs takes but a few minutes. Resolving issues after the fact can take days, even weeks.</li>
-<li>If your new Coppermine install is in a sub folder on your site, publish your site by linking it to your homepage.</li>
-</ol><br /></p><br /><div class="totop">[<a href="#top" class="nodeco">top of page</a>]</div><hr />
-
-<a name="installIMwhenHosted"></a>
-<h3>How can I <b>install ImageMagick or GD</b>?</h3>
-<p>You can only <a href="#enableIMonWindows">install ImageMagic or GD if you&#39;re running your own server</a> or if you have at least shell access to your webserver. If your site is being hosted by a webhost you can only contact your webhost and ask them to install it for you. If they refuse choose another webhost.<br /></p><br /><div class="totop">[<a href="#top" class="nodeco">top of page</a>]</div><hr />
-
-<a name="minimumInstall"></a>
-<h3>I'm running short on webspace. Is there a &quot;<b>minimum install</b>&quot;?</h3>
-<p>This is of course a contradiction in terms: running a gallery page usually means you will considerable webspace to store your pics, but if you only want to publish a few pics with what little webspace you have left, there are some files that don't have to be uploaded or that can be removed if not needed. It is however recommended that only experienced users create a minimum install; when in doubt, do a full install.</p>
-<ol>
-<li><b>Remove all languages that you don't need</b> (if your users are all from the same country).<br />
-It's recommended that you keep English anyway even if your users use another language, just for you as admin to be able to temporarily switch to English.<br />
-Delete all files in the lang-subfolder of your coppermine install except yourlanguage.php (e.g. if you're using french, delete all files but /lang/french.php and /lang/french-utf-8.php).
-<br /><div class="totop">Webspace that can be saved (maximum): 2.9 MB</div>
-</li>
-<li><b>Remove all language files that come with an encoding you don't need</b><br />
-You'll notice that for each language there are two files in the lang-folder: yourlanguage.php and yourlanguage-utf-8.php. You will need the utf-8 files only if you chose &quot;Unicode(utf-8)&quot; in &quot;Character encoding&quot; on your config page. Using <i>Unicode (utf-8)</i> will display the gallery in the language your page visitor has set in his browser. If you haven't chosen <i>Unicode (utf-8)</i> in coppermine config, it's safe to delete all language files with &quot;utf-8&quot; in their filenames from the lang folder.
-<br /><div class="totop">Webspace that can be saved (maximum): 1.7 MB</div>
-</li>
-<li><b>Remove all unnecessary themes</b><br />
-Remove all themes you won't use from your themes folder. If you're using a customized theme, it's recommended to leave the classic/default theme in place for administrative purposes.<br />
-Example: if you're using the theme &quot;Eyeball&quot; that comes with coppermine, you can safely delete the sub-folders &quot;classic&quot;, &quot;fruity&quot;, &quot;hardwired&quot;, &quot;igames&quot;, &quot;mac_ox_x&quot;, &quot;project_vii&quot;, &quot;rainy_day&quot;, &quot;styleguide&quot; and &quot;water_drop&quot; from your themes folder.
-<br /><div class="totop">Webspace that can be saved (maximum): 1 MB</div>
-</li>
-<li><b>Remove some docs from the docs folder</b><br />
-The docs folder contains documents that are meant to help you set up and administer coppermine. In cpg1.4.0 or better, there are some files in this folder that are mandatory to have on the server for the help icons to work; others are optional. You can remove the files &quot;credits.html&quot;, &quot;faq.html&quot;, &quot;README.html&quot;, &quot;theme.htm&quot; and &quot;translation.htm&quot;. All other files (and the subfolder &quot;pics&quot;) have to remain on the webserver if you want to use the help icons (recommended).
-<br /><div class="totop">Webspace that can be saved (maximum): 164 KB</div>
-</li>
-<li><b>Remove bridge files</b><br />
-The Coppermine package includes bridge files used for integration of coppermine with bulletin board software like phpBB, SMF etc. It is safe to delete some files in the bridge folder; if you <i>are</i> using bbs integration, you will have to keep the bridge file that corresponds to the bbs you're using. If you are not using integration, you must keep the file <b>coppermine.inc.php</b>. The file <b>udb_base.php</b> is required under all setups ans should not be deleted.
-<br /><div class="totop">Webspace that can be saved (maximum): 85 KB</div>
-</li>
-<li><b>Remove the flags</b><br />
-If you're not going to use the &quot;select language by flags&quot; option from the coppermine menu, it's safe to delete the flags folder (/your_coppermine_folder/images/flags/). If you <i>are</i> using the flags option, you can of course delete all flags you don't use at all.
-<br /><div class="totop">Webspace that can be saved (maximum): 80 KB</div>
-</li>
-<li><b>Remove files that are needed for install or upgrade only</b><br />
-Once Coppermine has been installed and is &quot;up-and-running&quot;, you can safely delete the files that are needed for installing only: from the coppermine root folder, delete install.php, installer.css, update.php,  upgrade-1.0-to-1.2.php. You can delete the folder &quot;sql&quot; as well.<br />
-If you want to update/upgrade your coppermine install later (once a new version comes out), you will of course have to re-upload the update files and the sql folder to your webserver.
-<br /><div class="totop">Webspace that can be saved (maximum): 73 KB</div>
-</li>
-<li><b>Choose to only display intermediate-sized pics and thumbnails.</b><br /> After you have batch added your pics and confirmed that they are displaying properly in your CPG setup, click on Admin Tools and select the "Delete original size photos (1)" option.</li><br />
-</ol>
-Summary: a minimum install of coppermine will need approx. 3.3 MB of webspace.
-<br /><div class="totop">[<a href="#top" class="nodeco">top of page</a>]</div><hr />
-
-<h2>Upload</h2>
-
-<a name="uploadGeneralTroubleshooting"></a>
-<h3>General Upload Troubleshooting</h3>
-<p>When troubleshooting uploads in CPG 1.4, you are advised to change the upload settings in the Groups console to 'Single uploads only' and to activate 'Debug mode' in the config console.  Changing this setting negates some of the error masking done in the multiple upload setting.  This will allow you to access more detailed error messages.</p>
-<p><span class="important"><fieldset><legend><b>First and foremost:</b></legend>Check your folder and file permission settings on the /albums, /albums/userpics, and /albums/edit directories.  All should be 777 or 755.</span><br /><br />If you don't know what we mean by <i>777</i> or <i>755</i>,  you need to do a Google search on <i>UNIX file permissions</i>. Windows has a similar set of file permissions. You can usually set these permissions using an <i>FTP client</i> (If you don't know what an <i>FTP client</i> is, Google for <i>FTP client</i>).<br /> </fieldset> <br />
-For those of you who skim over statements written in red letters, I will repeat to try to get your attention:
-<br />  <br />
-<span class="important"><fieldset><legend><b>Yes, we are writing about something that could easily apply to YOU.</b></legend>
-<br />&nbsp;<br />
-We repeat -- check your permissions on the <tt class="code">/albums</tt>, <tt class="code">/albums/userpics</tt>, and <tt class="code">/albums/edit</tt> directories.  All should be 777 or 755.
-<br />&nbsp;<br />
-Yes, we do want you to check the permissions of each folder even if you think you have already done this. Yes, we mean it.<br /></fieldset></span>
-</p>
-<p><b>NOTE:</b> HTTP uploads are limited by the restrictions placed upon them in PHP's configuration.</p>
-<br />&nbsp;<br />
-<b>Things to check:</b> <font size="-2">(if you are webhosted, you will need to consult with your webhost regarding the following settings.)</font>
-<ol>
-<li><b>max_input_time</b>- 60 seconds is the default time limit for uploading files.<br />This time limit includes the time it takes for the files to upload, so if you exceed this limit, the file will not even parse, and the browser will not get a response. You can workaround this by trying to upload smaller or fewer files, or you can try uploading over broadband. The best solution, of course, is to increase the time limit to something more in line with your needs.</li>
-<li><b>upload_max_filesize</b> - 2MB is the default limit for individual files.</li>
-<li><b>post_max_size</b> - 8MB is the default limit for post requests.</li>
-<li><b>memory_limit</b> - 8MB is the default size.</li>
-<li>PHP's <b>LimitRequestBody</b> - 512KB default limit. (mainly an issue on Redhat/Apache systems.  Found in /etc/http/conf.d)<br />In general, upload_max_filesize &lt; post_max_size &lt; memory_limit in order for uploads to function properly. Coppermine may warn you if a file exceeds upload_max_filesize, but it cannot warn you if the total size of all the files exceeds the post limit or the memory limit.</li>
-<li><b>file_uploads</b> - This determines whether or not PHP will allow file uploads. It must be set to &quot;On&quot;.</li>
-<li><b>upload_tmp_dir</b> - This specifies the temporary directory where PHP stores uploaded files.</li>
-</ol>
-
-<p>The most common issue caused by this setting is an open_basedir warning.  In this situation, your server administrator has restricted the files that PHP can work with to a certain directory.  If he does not create and specify a temporary directory within the open_basedir restriction, PHP will attempt to use the OS temporary directory, and it will be rebuffed by the open_basedir restriction.</p>
-
-<p><b>Some notes about the different types of upload mechanisms available in CPG 1.3 (or better):</b><br />
-Multiple HTTP uploads are designed to handle a small number of files, and have an upper limit of 10 files at a time.  Therefore, they are not well suited for the uploading of large numbers of files unless you are running your own webserver or have control over the php.ini configuration.
-<br />
-If you are looking to upload more than 15 or 20 files at a time, you should consider the batch add process or the XP_Publisher utility.  Each has its own drawbacks and advantages.
-<br />
-The batch add process is fast, but it creates quite a load on the server and, as a result, you may experience timeouts causing your uploads to terminate prematurely.  XP Publisher, on the otherhand, is considerably slower, but it limits the load on the server.  It also circumvents many of the pitfalls caused by limitations set in the php.ini configuration by uploading each file in the batch being uploaded as an individual post request.</p>
-
-<br /><div class="totop">[<a href="#top" class="nodeco">top of page</a>]</div><hr />
-
-<h2>Error Messages</h2>
-
-<a name="WhatIsImageMagick"></a>
-<h3>When installing I get the <b>error</b> <tt class="code">Fatal error: Call to undefined function: imagecreatefromjpeg() in /include/picmgmt.inc.php on line 168</tt>. What does that mean?</h3>
-<p>This error means that the version of PHP installed on your server does not support the GD1/GD2 image library.<br />
-If you know that the ImageMagick suite is installed on your server, you could try using it instead. Otherwise, you will have to find another webhost or convince your existing webhost to have GD1/GD2 installed (the GD image library is now a standard component of PHP and should normally be installed and available, de facto). Coppermine won't run without gd or image magick.<br /></p><br /><div class="totop">[<a href="#top" class="nodeco">top of page</a>]</div><hr />
-
-<a name="mkdirPermissionDenied"></a>
-<h3>When installing I get the <b>error</b> <tt class="code">Warning: mkdir(dummy) [function.mkdir]: Permission denied in /your/path/to/coppermine/install.php on line 126</tt>. What does that mean?</h3>
-<p>The script must have the right to create and delete files.
-<ul>
-<li>on *nix/linux-webservers:<br />chmod the coppermine directory (and all subdirectories) to 755 (rwxr-xr-x). To find more about chmod: check some of these <a href="http://www.google.com/search?q=chmod+tutorial" class="external">fine chmod tutorials</a></li>
-<li>on Windows/IIS:<br />Check if the user the webserver runs the php-scripts under (usually called IUSR) has sufficient rights to read, execute, change, delete in the Coppermine folder. To find out how, ask your webhost or read the server manual, if you're running your own server.
-</li>
-<li>on Windows/Apache:<br />Check the account Apache runs under and set the <i>rights</i> in the file-system.
-</li>
-</ul><br /></p><br /><div class="totop">[<a href="#top" class="nodeco">top of page</a>]</div><hr />
-
-<a name="EmptyDelimiter"></a>
-<h3>I get the <b>error</b> &quot;<tt class="code">Warning: Empty Delimiter in search.inc.php line 33&quot;</tt>. What can I do?</h3>
-<p>Edit the file include/search.inc.php<br />
-Look for the line with<br /><tt class="code">$charset = $CONFIG[&#39;charset&#39;] == &#39;language file&#39; ? $lang_charset : $CONFIG[&#39;charset&#39;];</tt><br />
-Replace it with :<br />
-<tt class="code">$charset = $CONFIG[&#39;charset&#39;] == &#39;language file&#39; ? $GLOBALS[&#39;lang_charset&#39;] : $CONFIG[&#39;charset&#39;];</tt><br /></p><br /><div class="totop">[<a href="#top" class="nodeco">top of page</a>]</div><hr />
-
-<a name="zerosizedreply"></a>
-<h3>I get the <b>error</b> <span class="code">Zero Sized Reply</span> during install. What can I do?</h3>
-<p>On rare ocassions, some users experience this error message during install:<br />
-<pre>While trying to retrieve the URL: http://yoursite.com/coppermine/install.php
-The system returned:
-Zero Sized Reply
-Reason:
-The remote server did not reply any data for this request.
-Please try again later</pre>
-Unfortunately, we still do not know why this happens - those who get this error simply cannot use Coppermine (our apologies). Disabling or removing HTTP filtering on the firewall may help (client and/or server end).  Should you have any idea as to what may be causing this error (and even possibly come up with a solution), please visit the Coppermine support board and enlighten us.<br /></p><br /><div class="totop">[<a href="#top" class="nodeco">top of page</a>]</div><hr />
-
-<a name="ErrorUndefinedIndex"></a>
-<h3>I have the error message <tt class="code">Warning: Undefined index: SCRIPT_NAME in /www.your-domain.com/include/init.inc.php on line 90</tt>. What can I do?</h3>
-<p>Try to edit the file include/init.inc.php:<br />
-change<br />
-<pre>$PHP_SELF = isset($_SERVER[&#39;REDIRECT_URL&#39;]) ? $_SERVER[&#39;REDIRECT_URL&#39;] : $_SERVER[&#39;SCRIPT_NAME&#39;];</pre>
-to<br />
-<pre>$PHP_SELF = $_SERVER[&#39;PHP_SELF&#39;];</pre>
-</p><br /><div class="totop">[<a href="#top" class="nodeco">top of page</a>]</div><hr />
-
-<a name="ErrorCantMovePic"></a>
-<h3>When a user tries to upload a picture s/he gets the error message <tt class="code">Impossible to move somepic.jpg to albums/userpics/ | Warning: move_uploaded_file(/tmp/phpezCYKr) [function.move-uploaded-file]: failed to create stream: Operation not permitted</tt>. What&#39;s wrong?</h3>
-<p>You should contact the admin of your webhost because you usually can&#39;t change the location of the website's temporary directory for file uploads, yourself (it is part of PHP configuration) .<br />
-If the <i>open basedir restriction</i> is in effect on your site then the temp directory for file uploads should be one that you can access.<br /></p><br /><div class="totop">[<a href="#top" class="nodeco">top of page</a>]</div><hr />
-
-<a name="ErrorFailedToOpenDir"></a>
-<h3>When I try to upload a picture I get the error message <tt class="code">Warning: opendir(./albums/edit): failed to open dir: No such file or directory</tt>. What&#39;s wrong?</h3>
-<ul>
-<li>Make sure you have a folder named 'edit' in your albums folder.</li>
-<li>Make sure the edit directory has been chmod to 777/755.</li>
-<li>Make sure you have completely upgraded to the current version of Coppermine</li>
-</ul><br /><div class="totop">[<a href="#top" class="nodeco">top of page</a>]</div><hr />
-
-<a name="httpPostVars"></a>
-<h3>When uploading I get the error <tt class="code">Warning: Undefined variable: HTTP_POST_VARS in include/init.inc.php on line 43</tt>. What can I do?</h3>
-<p>Check if <a href="#VersionPHP">your version of PHP</a> fullfills the <a href="#MinimumRequirements">minimum requirements</a> for Coppermine. If your version is 4.1.0 or better, then this error is probably caused by a misconfiguration of your hosting server, and not a Coppermine issue. If the server isn&#39;t yours to configure properly (that is: if you&#39;re with a webhost), you can try this workaround (at your own risk):<br >
-Edit the file "init.inc.php" and look for<br />
-<pre>$PHP_SELF = isset($_SERVER[&#39;REDIRECT_URL&#39;]) ? $_SERVER[&#39;REDIRECT_URL&#39;] : $_SERVER[&#39;SCRIPT_NAME&#39;];</pre>
-Replace it with<br />
-<pre>$PHP_SELF = $_SERVER[&#39;PHP_SELF&#39;];</pre><br /></p><br /><div class="totop">[<a href="#top" class="nodeco">top of page</a>]</div><hr />
-
-<a name="createWriteMYI"></a>
-<h3>I get the error message <tt class="code">Can't create/write to file '/tmp/#sql_45d5_0.MYI'</tt>. What's wrong?</h3>
-<p><b>The problem:</b><br />
-MySQL can't create a temporary file for the result set in the given temporary directory.</p>
-<p><b>The solution:</b><br />
-Alter the tmpdir variable to point to a writable directory.  It requires changing the tmpdir line in the my.cnf file, usually in the [mysqld] section (tmpdir = /writable/dir, where /writable/dir is a directory to which you can write).</p>
-<p><b>Ask your webhost to make the above changes.</b></p>
-<br /><div class="totop">[<a href="#top" class="nodeco">top of page</a>]</div><hr />
-
-<a name="cantOpenMYI"></a>
-<h3>I get the error message <tt class="code">Can't open file: 'yourPrefix_tableName.MYI'</tt> or similar. What's wrong?</h3>
-<p><b>The problem:</b><br />
-Your table is corrupted.</p>
-<p><b>The solution:</b><br />
-This is not a coppermine issue, but a mySQL issue. It just may affect a database table used by Coppermine.<br />
-Use your website's Control Panel to repair the table, or use phpMyAdmin to execute this sql query: <tt class="code">REPAIR TABLE yourPrefix_tableName</tt><br />
-(Replace yourPrefix_tableName with your table name, e.g. cpg145_pictures)</p>
-<p><b>If you don't understand the solution, ask your webhost to make the above changes.</b></p>
-<br /><div class="totop">[<a href="#top" class="nodeco">top of page</a>]</div><hr />
-
-<br />&nbsp;<br />
-<h2>Setup / configuration</h2><a name="LinkInAlbumDescription"></a>
-<h3>How can I include a <b>link in an album description field</b> or in the caption of a pic?</h3>
-<p>Coppermine supports the following bbCodes (the same bbCodes that are used by phpBB) in image and album description:</p>
-<table border="0">
-<tr>
-<th>code</th>
-<th>output</th>
-</tr>
-<tr><td><pre>[b]bold text[/b]</pre></td><td><b>bold text</b></td></tr>
-<tr><td><pre>[i]italic[/i]</pre></td><td><i>italic</i></td></tr>
-<tr><td><pre>[url=http://www.foo.com/bar.html]URL text[/url]</pre></td><td><a href="http://www.foo.com/bar.html">URL text</a></td></tr>
-<tr><td><pre>[email]user@domain.tld[/email]</pre></td><td><a href="mailto:user@domain.tld">user@domain.tld</a></td></tr>
-</table>
-
-
-<div class="totop">[<a href="#top" class="nodeco">top of page</a>]</div><hr />
-<a name="NoLastUploads"></a>
-<h3>I don&#39;t want to show the <b>last uploads</b> and/or <b>random pictures</b>on the start page. How do I edit what&#39;s shown on the start page of coppermine?</h3>
-<p>  <ol>
-    <li>login as admin into your CPG setup</li>
-    <li>click on "Admin Mode" if it is not already enabled</li>
-    <li>Click on Config in the "Admin Menu"</li>
-    <li>under "Album list view" use the above provided keywords:
-    <ul>
-      <li>'<b>breadcrumb</b>': navigation inside the gallery (e.g. &quot;home &gt; category &gt; subcategory &gt; album&quot;)</li>
-      <li>'<b>catlist</b>': category list
-      <li>'<b>alblist</b>': album list
-      <li>'<b>random</b>': random pictures (leaving random pictures &quot;on&quot; for huge galleries with more than 10,000 pics might result in performance problems; switch random &quot;off&quot; in this case)
-      <li>'<b>lastup</b>': last uploads
-      <li>'<b>topn</b>': most viewed
-      <li>'<b>toprated</b>': top rated
-      <li>'<b>lastcom</b>': last comments </li>
-      <li>'<b>lasthits</b>': last viewed </li>
-      <li>'<b>lastalb</b>': last created albums</li>
-      <li>'<b>anycontent</b>': inserts php-generated custom content that YOU have coded into the file 'anycontent.php' and displays the content on the index page. It can be used to include banner-rotation scripts, welcome scripts, or similar. Where it appears in the index page is determined by it's placement in the string example below.</li>
-    </ul>
-    (e.g. <tt class="code">anycontent/catlist/alblist/random,2/lastup,2</tt> translates to: &quot;anycontent file contents, category list, album list, 2 rows of random pics, 2 rows of last uploads&quot; -- and will display in the order that they are listed)</li>
-  </ol><br /></p><br /><div class="totop">[<a href="#top" class="nodeco">top of page</a>]</div><hr /><a name="editCopyrights"></a>
-  <h3>How do I <b>remove/edit the bottom line</b> &quot;<tt class="code">Powered by Coppermine</tt>&quot; ?</h3>
-<p>You mustn&#39;t remove the line - it&#39;s part of the deal: you&#39;re allowed to use and modify Coppermine on your site, but this line must remain! We feel strongly that it is more than a justified demand to give credit where credit is due. We hope that you will agree with us and just be glad that such a great piece of software is available for use at NO COST, with no banner ads or embedded spyware, to you.<br />
-You are allowed to change the way the line looks by editing the CSS class to make it fit into the design of your site; edit /themes/yourtheme/style.css, look for the class "Footer" and change the settings there as you wish.<br />
-Note: PLEASE don&#39;t ask idiotic questions on how to remove this line in the <a href="http://coppermine.sourceforge.net/board/">Coppermine Photo Gallery Support Board</a> - your posting will be deleted!<br /></p><br /><div class="totop">[<a href="#top" class="nodeco">top of page</a>]</div><hr /><a name="buyLicense"></a>
-<h3>I want to buy a <b>license</b> for Coppermine (and get rid of the &quot;<tt class="code">Powered by Coppermine</tt>&quot; line). How?</h3>
-<p>As Coppermine is based on OpenSource software published under GNU/GPL (which allows the modification of the code, but disallows changes of the license model of your modifications), you can not purchase a version of coppermine with or without the credit line removed. Read the file COPYING that comes with the distribution of Coppermine for details.<br /></p><br /><div class="totop">[<a href="#top" class="nodeco">top of page</a>]</div><hr /><a name="removeFeature"></a>
-<h3>I don&#39;t want to use the feature XYZ of Coppermine. How can I <b>remove</b> it?</h3>
-<p>Just remove the link; edit /themes/yourtheme/theme.php, look for the feature you want to remove and comment out the HTML code.<br />Example: if you want to remove the ecard-feature, just look for
-<pre>&lt;td align=&quot;center&quot; valign=&quot;middle&quot; class=&quot;navmenu&quot; width=&quot;48&quot;&gt;
-&lt;a href=&quot;{ECARD_TGT}&quot; title=&quot;{ECARD_TITLE}&quot;&gt;
-&lt;img src=&quot;images/ecard.gif&quot; width=&quot;16&quot; height=&quot;16&quot; border=&quot;0&quot; align=&quot;absmiddle&quot; alt=&quot;{ECARD_TITLE}&quot;&gt;&lt;/a&gt;
-&lt;/td&gt;</pre>
-and replace it with<br />
-<pre>&lt;!--&lt;td align=&quot;center&quot; valign=&quot;middle&quot; class=&quot;navmenu&quot; width=&quot;48&quot;&gt;
-&lt;a href=&quot;{ECARD_TGT}&quot; title=&quot;{ECARD_TITLE}&quot;&gt;
-&lt;img src=&quot;images/ecard.gif&quot; width=&quot;16&quot; height=&quot;16&quot; border=&quot;0&quot; align=&quot;absmiddle&quot; alt=&quot;{ECARD_TITLE}&quot;&gt;&lt;/a&gt;
-&lt;/td&gt;--&gt;</pre></p><br /><div class="totop">[<a href="#top" class="nodeco">top of page</a>]</div><hr /><a name="customHeader"></a>
-<h3>How do I add a <b>custom header/footer</b> to Coppermine?</h3>
-<p>There are these files to look for:
-<ul>
-
-<li>if you want to add static html-content (for example your site logo), edit <tt class="code">/themes/yourtheme/template.html</tt> - add/remove anything you want, but be sure to leave everything in that is in brackets.</li>
-<li>if you want dynamic content (or want to add PHP-code), edit the file <tt class="code">/themes/yourtheme/theme.php</tt></li>
-<li>if you want the edit the color scheme of a theme to match the &quot;look-and-feel&quot; of your site, edit <tt class="code">/themes/yourtheme/style.css</tt></li>
-<li>for experienced php users, cpg 1.4.x introduces an alternative method of adding intricate custom headers or footers. Create a php file for your header and one for your footer using a format similar to the following: <br />
-<pre><blockquote>&lt;?php <br />
-echo &lt;&lt;&lt;EOT  <br /><br />
-Enter your header/footer content here.  What you enter here will be displayed<br />at the top of my page if it is a header and at the bottom of my page if it is a footer. <br /> <br />
-EOT; <br />
-?></blockquote></pre>
-
-<p>Name them myheader.php and myfooter.php, or any other original name that doesn't already exist in the cpg folder and save them into the Coppermine root folder. Then while in Admin mode, click on the CONFIG tab, scroll to <b><i>Themes settings</i></b> and  enter the name of your header and footer files in the appropriate include fields at the bottom of this section. (NOTE: You will still need to edit the template.html file of your theme to remove any unwanted logos and entries above the menu sections.)</li> </p>
-
-
-</ul><br /></p><br /><div class="totop">[<a href="#top" class="nodeco">top of page</a>]</div><hr /><a name="createPublicAlbum"></a>
-<h3>How do I create an <b>album</b> that <b>all users</b> can add photos to?</h3>
-<p>(Assuming that you have already created at least one category and/or one album where the uploaded photos should go to):
-<ul>
-<li>Log in as admin</li>
-<li>Confirm that you are in admin mode</li>
-<li>Select the Album list button</li>
-<li>If you placed the album in a category, choose the category you created the album in</li>
-<li>Next to the appropriate album, click on &quot;properties&quot;</li>
-<li>Set &quot;Visitors can upload pictures&quot; to &quot;yes&quot; and click &quot;update album&quot;</li>
-<li>Provide an upload link in your navigation menu if it&#39;s not already there (check /themes/yourtheme/theme.php)</li>
-<li>Next, click on the Groups tab</li>
-<li>For the group named &quot;anonymous&quot; - set the allowable space usage quota and upload rights</li>
-
-</ul><br /></p><br /><div class="totop">[<a href="#top" class="nodeco">top of page</a>]</div><hr /><a name="BackupDatabase"></a>
-<h3>How can I <b>backup</b> my coppermine database?</h3>
-<p>Currently, there are no built-in backup solutions for coppermine available, yet. To backup your directory/file structure, you must use the good old ftp method and a tool like <a href="http://www.phpmyadmin.net/" class="external">phpMyAdmin</a> to backup your database (Many webhosts that offer mySQL also offer a pre-installed version of phpMyAdmin - if so, use that!). PhpMyAdmin is easy to install: just download the distribution, unzip it to your harddrive, edit one config file and upload it to your server. (NOTE: Some webhosts offer backup services. You should check if this service is available to you, first.)<br /><br />
-Here&#39;s a quick &quot;how to backup a database with phpMyAdmin&quot; primer:
-<ul>
-<li>Download the software if it's not available to you, install it (remember to password-protect it).</li>
-<li>Point your browser to the location you installed it on.</li>
-<li>Select the database you want to back up from the dropdown list in the left frame.</li>
-<li>In &quot;View dump (schema) of database&quot; select the table(s) you want to back up (press CTRL to select more than one table).</li>
-<li>Mark &quot;Structure and data&quot;</li>
-<li>Check &quot;Save as file&quot;</li>
-<li>Check &quot;zipped&quot;</li>
-<li><b>DON&#39;T</b> check &quot;Add &#39;drop table&#39;&quot; - your database will be erased, if you do.</li>
-<li>Press &quot;go&quot;</li>
-<li>Save the file on your harddisk (depending on the speed of your connection this could take a while).</li>
-</ul><br /></p><br /><div class="totop">[<a href="#top" class="nodeco">top of page</a>]</div><hr /><a name="noFullsizePopup"></a>
-<h3>The <b>fullsize-pic doesn&#39;t pop up</b> when clicking on the intermediate size pic. What&#39;s wrong?</h3>
-<p>If you are certain that your original file is larger in dimensions than the settings you selected for intermediate sized pictures, there's a good chance that you over-edited your theme's template/html file: make sure that the line <tt class="code">&lt;script type=&quot;text/javascript&quot; src=&quot;scripts.js&quot;&gt;&lt;/script&gt;</tt> inside /themes/yourtheme/template.html is still there to make the pop-up window work...<br />
-The &lt;head&gt;-part of your template file should look like this:<br />
-<pre>&lt;head&gt;
-&lt;title&gt;{TITLE}&lt;/title&gt;
-&lt;meta http-equiv=&quot;Content-Type&quot; content=&quot;text/html; charset={CHARSET}&quot; /&gt;
-{META}
-&lt;link rel=&quot;stylesheet&quot; href=&quot;themes/default/style.css&quot; /&gt;
-&lt;script type=&quot;text/javascript&quot; src=&quot;scripts.js&quot;&gt;&lt;/script&gt;
-&lt;/head&gt;</pre>
-- If you&#39;re still unsure about this, just compare your theme's template.html with the default theme that comes with coppermine .<br /></p><br /><div class="totop">[<a href="#top" class="nodeco">top of page</a>]</div><hr /><a name="viewThumbnailsOnly"></a>
-<h3>How can I let unregistered users see the <b>thumbnails only</b>, but not the actual pictures?</h3>
-<p>Edit displayimage.php and add<br /><tt class="code">if (!USER_ID) cpg_die(ERROR, &#39;You need to register to access this page&#39;, __FILE__, __LINE__);</tt><br />just before<br />
-<pre>/**************************************************************************
-* Local functions definition
-**************************************************************************/</pre></p><br /><div class="totop">[<a href="#top" class="nodeco">top of page</a>]</div><hr /><a name="preventHotlinks"></a>
-<h3>How can I prevent other sites from linking directly to the pictures in my gallery instead of the gallery page?</h3>
-<p>IF your webhost supports the use of .htaccess files (you will need to ask them), you can prevent &quot;hotlinking&quot; by creating an .htaccess file in the albums folder.<br />
-Open your text editor and add the following lines, then save the file as .htaccess :
-<pre>SetEnvIfNoCase Referer &quot;^http://www.yourdomian.com/&quot; locally_linked=1
-SetEnvIfNoCase Referer &quot;^http://yourdomain.com/&quot; locally_linked=1
-SetEnvIf Referer &quot;^$&quot; locally_linked=1
-&lt;FilesMatch &quot;\.(gif|png|jpe?g)$&quot;&gt;
-  Order Allow,Deny
-  Allow from env=locally_linked
-&lt;/FilesMatch&gt;</pre>
-This will only work on linux/unix and apache servers AND only if you&#39;re allowed to use /htaccess files by your webhost or if you run your own server and &quot;mod_rewrite&quot; is enabled on your server . <br /></p><br /><div class="totop">[<a href="#top" class="nodeco">top of page</a>]</div><hr /><a name="changeLanguage"></a>
-
-<h3>I tried to change the <b>language</b> on the config page, but it doesn&#39;t work. What&#39;s wrong?</h3>
-<p>&quot;Character encoding&quot; is probably set (or has been set sometime ago) to UTF-8 on your config page.<br />
-When UTF-8 is selected, Coppermine chooses your language file based on your browser configuration and stores the value in a cookie. This overrides the value stored in the CONFIG.<br />
-<b>To fix that:</b><br />
-<ul>
-<li>Set &quot;Character encoding&quot; to Default (language file)</li>
-<li>Then call the script with <tt class="code">http://yoursite.com/coppermine_dir/index.php?lang=xxx</tt> (this will reset the cookie)
-</ul><br /></p><br /><div class="totop">[<a href="#top" class="nodeco">top of page</a>]</div><hr /><a name="onlyregisteredcomments"></a>
-<h3>How do I allow all guests, not just registered users, to add <b>comments</b> to pictures?</h3>
-<p><ul>
-<li>log in as admin</li>
-<li>admin mode</li>
-<li>groups</li>
-<li>&quot;Anonymous&quot; - &quot;Can post comments&quot; - &quot;yes&quot;</li>
-<li>Apply modifications</li>
-</ul>
-To change the settings on a per album basis, first, complete the above steps, then):
-<ul>
-<li>Log in as admin</li>
-<li>Confirm that you are in admin mode</li>
-<li>In Category view, click on the album of choice</li>
-<li>Select &quot;Properties&quot;</li>
-<li>Set&quot;Permissions for this album&quot; - &quot;Visitors can post comments&quot; - &quot;Yes&quot;</li>
-<li>&quot;Update album&quot;</li>
-</ul><br /></p><br /><div class="totop">[<a href="#top" class="nodeco">top of page</a>]</div><hr /><a name="httpUpload"></a>
-<h3>I <b>can&#39;t upload</b> with the upload feature. What&#39;s wrong?</h3>
-<p>If you experience the error message: <tt class="code">No picture was uploaded. If you have really selected a picture to upload, check that the server allows file uploads...</tt>, check if there&#39;s a problem with HTTP uploads on your server - this feature may have been disabled or improperly configured. In <a href="#VersionPHP">phpinfo()</a>, check that "file_uploads" is ON, "upload_max_filesize" is something like 2M and "upload_tmp_dir" is a valid directory!<br /></p><br /><div class="totop">[<a href="#top" class="nodeco">top of page</a>]</div><hr /><a name="ordercategories"></a>
-<h3>How do I change the <b>order of categories</b>?</h3>
-<p><ul>
-<li>Log in as admin</li>
-<li>from the admin mode menu strip</li>
-<li>select the categories menu button</li>
-<li>use the &quot;arrow up&quot;- and &quot;arrow down&quot;-buttons to change the order of categories</li>
-</ul><br /></p><br /><div class="totop">[<a href="#top" class="nodeco">top of page</a>]</div><hr /><a name="cantDeletePic"></a>
-<h3>I <b>can&#39;t delete a certain picture</b> with ftp. What can I do?</h3>
-<p>If you can't delete a file or picture with your FTP software, it is not Coppermine that won&#39;t allow you to delete the picture; it is your FTP server. The problem is in the configuration of your server. Try to delete your picture from within the script.</p>
-<p>If PHP on your server is running under user "nobody," then all files created by any PHP script (this is not specific to Coppermine) will be owned by "nobody". There is no way to change that.</p>
-<table border="0" cellspacing="2" cellpadding="2" class="bordl"><tr><td valign="top" align="left"><p class="fliess"> <b>IMPORTANT:</b>  0777 (CHMOD 777) should not be the default mode for directories because it may present a security risk, if your gallery is running on a shared server and PHP safe mode is not enabled, anyone with an account on the same server could possibly delete your pictures. There have been several threads on this issue on the Menalto Gallery forum and several users have seen their gallery hacked and destoyed because of this. This issue is not specific to Photo galleries, it applies to all PHP scripts that create directories. As long as someone has <i>write</i> access to a directory, s/he could conceiveably delete any file it contains, even if that person doesn&#39;t have write access to the file itself.<br />&nbsp;<br />
-We would prefer to have users complaining LOUDLY and REPEATEDLY that they have to constantly contact their sysadmin to set this or reset that or even uninstall Coppermine, and have THIS as an issue and electing to switch to another gallery script because of this inconvenience, rather than learn of one person devastated in finding that all his/her pictures have been erased by a hacker.<br />&nbsp;<br />
-Don't agree? Read this:<br />
-<a href="http://www.zend.com/manual/function.mkdir.php" class="external">http://www.zend.com/manual/function.mkdir.php</a><br />
-<a href="http://www.zend.com/manual/function.chmod.php" class="external">http://www.zend.com/manual/function.chmod.php</a><br />
-before thinking of posting an argument in this forum.<br />&nbsp;
-<br />Ultimately it is the decision of the sysadmin on how s/he will elect to run PHP as an Apache module and if all files/dir created by PHP are to be owned by &quot;nobodyquot;. So sysadmins who have set up their servers as such, are in no position to complain when asked to remove certain files or directories.<br />&nbsp;<br />
-<blockquote><i>On the webhost this site is running on, everything works fine when directory are created with mode 755 and all files/dir created by PHP are owned by the chezgreg user which is the user I use when connecting by FTP. Also if one of the file/directory on my site has a mode of 777, the server will shutdown my site and send me an email warning me that this is unsafe.</i><br />&nbsp;<br />
-Greg</blockquote></p></td></tr></table><br /></p><br /><div class="totop">[<a href="#top" class="nodeco">top of page</a>]</div><hr /><a name="cantUploadBigPics"></a>
-<h3>I <b>can&#39;t upload big pics or files</b>. What&#39;s wrong?</h3>
-<p>The max. size of uploadable pics and/or files is limited by various settings - to find out why you can&#39;t upload big picks, check the following:
-<ul>
-<li>Make sure you have enough webspace left (remember that you need space for the full size pic, the intermediate size pic and the thumbnail!)</li>
-<li>When logged in as admin check your &quot;Group&quot; settings: the groups (even the admin group!) have quota limits that can be configured there</li>
-<li>Browser time-out: the commonly-used Internet Explorer has a time-out function: if your upload isn&#39;t finished within a certain period, the browser will time-out (this applies especially to dial-up connections)</li>
-<li>There&#39;are a maximum limits set in the PHP config of your server or webhosting server. If you&#39;re with a webhost there&#39;s very little you can do about it except ask them if they could help you out. If you&#39;re running your own server, check php.ini and look for <tt class="code">LimitRequestBody</tt> - this value (in bytes) in the max upload allowed by php/html</li>
-</ul><br /></p><br /><div class="totop">[<a href="#top" class="nodeco">top of page</a>]</div><hr /><a name="cookie"></a>
-<h3>I can&#39;t <b>login</b> to Coppermine. What&#39;s wrong?</h3>
-<p>This is most likely a cookie issue:
-<ul>
-<li>If you&#39;re running Internet Explorer 6, you&#39;ll have to enable the acceptance of cookies. Click on &quot;Tools&quot; - &quot;Internet Options&quot; - &quot;Privacy&quot; and add your site to the list of sites that are trusted, or set the slider to a lower level.</li>
-<li>Sometimes IE will not handle Cookies properly. Close your browser, try deleting all local cookies manually and start your browser again</li>
-<li>Check if you&#39;re running a software that interferes with acceptance of cookies like personal firewalls (ZoneAlarm, Tiny, Cookie Washer etc.) and turn them off to see if cookies are accepted then</li>
-<li>Try using another browser (like <a href="http://www.opera.com/" class="external">Opera</a>, which is rather small to download and can be removed easily). It&#39;s a generally a good idea to have some different browsers on your local machine to check if your site is displayed correctly not only in your favourite browser</li>
-<li>If you&#39;re using subdomains and the dev version of coppermine or some mod on a different subdomain (like gallery.yoursite.com and board.yoursite.com) this could also cause problems: a subdomain is a different domain (in fact foo.com and bar.com are subdomains of the <acronym class="tool" title="top level domain">tld</acronym> &quot;.com&quot;, so regarding cookies they are as different domains as bbs.yoursite.com and comics.yoursite.com). Of course you can &quot;hack some sense&quot; into the scripts, but usually bbs are hard to trick to make them more hack-proof.</li>
-</ul><br /></p><br /><div class="totop">[<a href="#top" class="nodeco">top of page</a>]</div><hr />
-
-<a name="sortAlbum"></a>
-<h3>How can I change the <b>sorting order of the albums</b>?</h3>
-<p>By default the albums appear in the order they were created. If you want to adjust the sorting order, do the following:
-<ul>
-<li>Log in as admin;</li>
-<li>&quot;enter admin mode&quot;;</li>
-<li>select &quot;Albums&quot; from the admin menu strip;</li>
-<li>choose the category whose albums you want to sort from the dropdown list;</li>
-<li>highlight an album by clicking on it once;</li>
-<li>then use the up <img src="http://coppermine.sourceforge.net/images/move_up.gif" width="13" height="11" border="0" alt="" /> and down <img src="http://coppermine.sourceforge.net/images/move_down.gif" width="13" height="11" border="0" alt="" /> buttons to change the position. </li>
-<li>Click &quot;apply modifications&quot;.</li>
-<li>Confirm the message &quot;Are you sure you want to make these modifications ?&quot; with &quot;OK&quot;</li>
-</ul><br /></p><br /><div class="totop">[<a href="#top" class="nodeco">top of page</a>]</div><hr />
-
-<a name="deleteIntermediates"></a>
-<h3>I don't use the <b>intermediate pictures</b> anymore. How can I <b>delete</b> them to gain disk space?</h3>
-<p>Why would you want to do that? Deleting the intermediate pics would disable many of the great features that make coppermine what is today. The option to send ecards, to add comments to pics, to rate pics, to display exif information, just to name a few. If you really want to save space, opt to delete your original files using the Admin Tools menu option.  Doing this will allow your users to enjoy all of coppermine's features with the exception of viewing full-sized images.  In the end, it will probably save you more space as well.  Just be sure to set your intermediate sized picture settings in CONFIG to a size that you can live with.</p>
-<p>If you really must remove the intermediate sized pics, search the mods and hacks board in the coppermine forum to learn how.</p><br /><div class="totop">[<a href="#top" class="nodeco">top of page</a>]</div><hr />
-
-<a name="howAlbumsFolderWork"></a>
-<h3>How do <b>albums and folders</b> work in coppermine?</h3>
-<ol>
-<li>When you create an album, it is a dynamic 'virtual' album.  Coppermine doesn't create a physical folder for this album on the server's hard drive, it leaves the pictures where you put them on the server, and uses the database to know which pic belongs in which album. You can move pics from album to album in Coppermine, but it's all done in the database, the pics are never moved on the server.</li>
-<li>When you upload by html, using the 'upload' link, coppermine places the pic (and the thumb and normal size copies) in the 'userpics' directory.</li>
-<li>When you upload by ftp, you should place the pics into folders that you create within the 'albums' folder, but never in the 'userpics' folder. The 'userpics' folder is reserved for html uploads only.  You can create as many folders/sub-folders for FTP uploads as you want. (Many webhosting services will recommend that you keep the number of files per folder under 500 in order to maximize speed and certain functions. This means you can upload up to 500/3 files in each folder.) You can name these folders anything you want, but we do recommend mirroring the category/album structures that you have created, whenever possible, to facilitate ease of use and site management.</li>
-<li>When you batch add files that you have already FTP'd to your site, coppermine asks you what album you want to put the pics in, but it leaves the pics where they are on the server.</li>
-</ol>
-<br /><div class="totop">[<a href="#top" class="nodeco">top of page</a>]</div><hr />
-
-<a name="howMoveAlbum"></a>
-<h3>How can I <b>move albums from one category to another</b>?</h3>
-<ul>
-<li>log in as admin</li>
-<li>admin mode</li>
-<li>create categories (using category manager from admin menu)</li>
-<li>go to the index page of your gallery</li>
-<li>click "Properties" next to the album thumbnail</li>
-<li>From the dropdown list &quot;Album category&quot;, choose the category the album should go to</li>
-<li>Click &quot;Update Album&quot;</li>
-</ul>
-<br /><div class="totop">[<a href="#top" class="nodeco">top of page</a>]</div><hr />
-
-<a name="moveGallery"></a>
-<h3>How can I <b>move my gallery to another host</b>?</h3>
-<ul>
-<li>Backup your files: FTP-download your complete coppermine-folder to your hard drive</li>
-<li>use a tool like phpMyAdmin to get a dump (backup) of your mySQL database entries. More info <a href="http://coppermine-gallery.net/demo/cpg14x/docs/faq.htm#BackupDatabase">here</a></li>
-<li>verify your backup is working: check if the mySQL-dump contains all data (open the zipped dump file and use a text editor to view it)</li>
-<li>on the new server: FTP-upload your coppermine-folder to the new server</li>
-<li>CHMOD the folder /albums to 755 or 777 (depending on your server config]</li>
-<li>restore the mySQL table by running the queries of the dump files you created in step 2</li>
-<li>test-drive your coppermine gallery - you should be done</li>
-</ul>
-<br /><div class="totop">[<a href="#top" class="nodeco">top of page</a>]</div><hr />
-
-<a name="oneFileMultipleAlbums"></a>
-<h3>How do I <b>show the same file in multiple albums</b>?</h3>
-<p>The <b>Album Keyword</b> in <a href="http://coppermine-gallery.net/demo/cpg14x/docs/index.htm#album_prop">Album Properties</a> is used to link images from one album into another. Using this method, files/images can be displayed in various albums while the file itself need only exists in one album on your webserver.  You simply upload a file to one album as you would normally do, then assign one or more keywords to the file. The keyword function reads blank spaces between words as a 'break' and assumes that these words are separate words.  If you must use phrases for your keywords, connect them with an underscore or by using the ascii space holder ctrl+Alt+0160 (NOTE: the latter option only works with latin based character sets.)  Each album can only have ONE (1) keyword or keyword phrase.  All pictures residing in different albums that you would like to be displayed in this album must have the same keyword or keyword phrase in their respective keyword fields.  Pictures, unlike albums, can have multiple keywords or keyword phrases separated by spaces. This provides you with the option to display pictures in many albums.  For the visitor of these albums, it will appear as if the file/image had been uploaded to each. </p>
-<p>If you use album keywords to display images/files in more than one album, enabling the Config option, Show number of linked files, will display additional information for the album stats. That is, if an album doesn't only contain &quot;regular&quot; files, but files linked via the "album keyword" option as well, the number of linked files will be displayed separately like this "3 files, last one added on Oct 07, 2004<em>, 3 linked files, 6 files total</em>".</p>
-<br /><div class="totop">[<a href="#top" class="nodeco">top of page</a>]</div><hr />
-
-<h2>Add-ons / Modifications / Hacks</h2><a name="letUserSelectTheme"></a>
-<a name="changeOrderEdit"></a>
-<h3>How can I change the order of the pics <u>when <b>editing</b> them</u>?</h3>
-<p>By default, the pics are shown alphabetically when you edit them. To change the sorting order to &quot;by date&quot;, edit <tt class="code">editpics.php</tt> and change<br />
-<pre>$sql = &quot;SELECT p.*,a.category FROM {$CONFIG['TABLE_PICTURES']} as p &quot;.
-                           &quot;INNER JOIN {$CONFIG['TABLE_ALBUMS']} as a &quot;.
-                           &quot;ON a.aid=p.aid &quot;.
-                           &quot;WHERE p.aid = '$album_id' &quot;.
-                           &quot;ORDER BY p.filename LIMIT $start, $count&quot;;
-                $result = cpg_db_query($sql);</pre><br />to<br />
-<pre>$sql = &quot;SELECT p.*,a.category FROM {$CONFIG['TABLE_PICTURES']} as p &quot;.
-                           &quot;INNER JOIN {$CONFIG['TABLE_ALBUMS']} as a &quot;.
-                           &quot;ON a.aid=p.aid &quot;.
-                           &quot;WHERE p.aid = '$album_id' &quot;.
-                           &quot;ORDER BY pid LIMIT $start, $count&quot;;
-                $result = cpg_db_query($sql);</pre><br /></p><br />
-<div class="totop">[<a href="#top" class="nodeco">top of page</a>]</div><hr /><a name="rightHandMenu"></a>
-<h3>How can I create a menu that&#39;s shown on the <b>right side</b> of the gallery?</h3>
-<p>When the template.html is read, it is split in 2. What is before the {GALLERY} tag is output by the pageheader function, what is after by the pagefooter function.<br />
-If your menu is in the &quot;footer&quot; you need to modify your theme.php file <br />
-<pre>   $template_vars = array(
-      &#39;{LANG_DIR}&#39; => $lang_text_dir,
-      &#39;{TITLE}&#39; => $CONFIG[&#39;gallery_name&#39;].&#39; - &#39;.$section,
-      &#39;{CHARSET}&#39; => $CONFIG[&#39;charset&#39;] == &#39;language file&#39; ? $lang_charset : $CONFIG[&#39;charset&#39;],
-      &#39;{META}&#39; => $meta,
-      &#39;{GAL_NAME}&#39; => $CONFIG[&#39;gallery_name&#39;],
-      &#39;{GAL_DESCRIPTION}&#39; => $CONFIG[&#39;gallery_description&#39;],
-      &#39;{MAIN_MENU}&#39; => theme_main_menu(),
-      &#39;{ADMIN_MENU}&#39; => theme_admin_mode_menu()
-   );
-
-   echo template_eval($template_header, $template_vars);</pre>
-   will become
-<pre>   $template_vars = array(
-      &#39;{LANG_DIR}&#39; => $lang_text_dir,
-      &#39;{TITLE}&#39; => $CONFIG[&#39;gallery_name&#39;].&#39; - &#39;.$section,
-      &#39;{CHARSET}&#39; => $CONFIG[&#39;charset&#39;] == &#39;language file&#39; ? $lang_charset : $CONFIG[&#39;charset&#39;],
-      &#39;{META}&#39; => $meta,
-      &#39;{GAL_NAME}&#39; => $CONFIG[&#39;gallery_name&#39;],
-      &#39;{GAL_DESCRIPTION}&#39; => $CONFIG[&#39;gallery_description&#39;],
-   );
-
-   echo template_eval($template_header, $template_vars);</pre>
-and<br /><tt class="code">echo $template_footer;</tt><br />
-will become<br />
-<pre>   $template_vars = array(
-      &#39;{MAIN_MENU}&#39; => theme_main_menu(),
-      &#39;{ADMIN_MENU}&#39; => theme_admin_mode_menu()
-   );
-
-   echo template_eval($template_footer, $template_vars);</pre>
-<br /></p><br /><div class="totop">[<a href="#top" class="nodeco">top of page</a>]</div><hr /><a name="jumpToPrivateAlbum"></a>
-<h3>How can I send a user <b>directly to his private album</b> once he logs in?</h3>
-<p>edit<br /><tt class="code">login.php</tt><br />and search for<br />
-<tt class="code">pageheader($lang_login_php[&#39;login&#39;],&quot;&lt;META http-equiv=\&quot;refresh\&quot; content=\&quot;3;url=$referer\&quot;&gt;&quot;);</tt><br />
-<br />and add <b>before</b> it<br />
-<tt class="code">$referer = &#39;index.php?cat=&#39;.(FIRST_USER_CAT+$USER_DATA[&#39;user_id&#39;]); </tt><br /><br /></p><br /><div class="totop">[<a href="#top" class="nodeco">top of page</a>]</div><hr /><a name="registeredUsersOnly"></a>
-<h3>How can I <b>prevent unregistered users</b> from viewing the gallery?</h3>
-<p>In Config, when &quot;Allow unlogged users (guest or anonymous) access&quot; is set to &quot;No&quot;, unlogged users (i.e. guests or anonymous users) can not access anything in your gallery except the login screen (and the registration screen, if you allow registrations). Completely disabling anonymous access will probably decrease your site's popularity. Use this option only if you need your gallery to be absolutely private. The recommended setting is to leave anonymous access enabled and use the more specific permissions by groups and albums settings instead.<br /><br />
-<h3>How can I <b>display the name of the uploader</b> with the picture info?</h3>
-<p><b>Warning</b>: this is quite a complicated hack for a newbie to perform! Make sure to back up your original files before attempting this.<br />Edit displayimage.php and search for:<br />
-<tt class="code">   $info[$lang_picinfo[&#39;Filename&#39;]]   = htmlspecialchars($CURRENT_PIC_DATA[&#39;filename&#39;]);</tt><br />add after it:<br />
-<tt class="code">   $info[$lang_picinfo[&#39;Username&#39;]]   = htmlspecialchars($CURRENT_PIC_DATA[&#39;user_name&#39;]);</tt>.<br />
-Then open /include/functions.inc.php and search for following in function get_pic_data():<br />
-<tt class="code">      if($select_columns != &#39;*&#39;) $select_columns .= &#39;, title, caption&#39;;</tt><br />and replace it with:<br />
-<tt class="code">      if($select_columns != &#39;*&#39;) $select_columns .= &#39;, title, caption, user_name&#39;;</tt>.<br />
-After that search for:<br />
-<tt class="code">      $result = cpg_db_query("SELECT $select_columns from {$CONFIG[&#39;TABLE_PICTURES&#39;]} WHERE aid=&#39;$album&#39; $approved $ALBUM_SET ORDER BY $sort_order $limit");</tt><br />
-and replace it with:<br />
-<tt class="code">      $result = cpg_db_query("SELECT $select_columns from {$CONFIG[&#39;TABLE_PICTURES&#39;]} AS p LEFT JOIN {$CONFIG[&#39;TABLE_USERS&#39;]} AS u ON u.user_id = p.owner_id WHERE p.aid=&#39;$album&#39; $approved $ALBUM_SET ORDER BY $sort_order $limit");</tt><br />Then you have to add the language string for the username. Open /lang/yourlang.php and search for:<br />
-<tt class="code">$lang_picinfo = array(</tt><br />
-and add after that:<br />
-<tt class="code">        &#39;Username&#39; => &#39;Username&#39;,</tt><br />
-Also you need to execute this query in MySQL (with a tool like <a href="http://www.phpmyadmin.net">phpMyAdmin</a>):<br />
-<tt class="code">ALTER TABLE `cpg11d_pictures` ADD INDEX ( `owner_id` );</tt><br />
-(<b>NOTE:</b> If your database table_prefix is not &quot;cpg11d_&quot;, you will need to change it in the query)<br /><br /></p><br /><div class="totop">[<a href="#top" class="nodeco">top of page</a>]</div><hr /><a name="linksInCustomFields"></a>
-<h3>How do I enable clickable <b>links in custom user fields</b>?</h3>
-<p>Edit displayimage.php and change<br />
-<tt class="code">$info[$CONFIG[&#39;user_field&#39;.$i.&#39;_name&#39;]] = make_clickable($CURRENT_PIC_DATA[&#39;user&#39;.$i]); </tt><br />
-into<br />
-<tt class="code">$info[$CONFIG[&#39;user_field&#39;.$i.&#39;_name&#39;]] = bb_decode($CURRENT_PIC_DATA[&#39;user&#39;.$i]); </tt><br />&nbsp;<br />
-This will allow you to use BBCodes in the custom fields: you can then have something like<br />
-<tt class="code">[url]http://www.somesite.com/foo/bar.php?whatever=42[/url]</tt><br />
-or<br />
-<tt class="code">[url=http://www.somesite.com/foo/bar.php?whatever=42]link to some site![/url]</tt><br />in your custom user fields (the display of which, of course, has to be enabled in the config page, begin with).<br /><br /></p><br /><div class="totop">[<a href="#top" class="nodeco">top of page</a>]</div><hr />
-
-<a name="sortThumbsByCustomField"></a>
-<h3>How can I <b>sort the thumbnails by user defined (custom) fields</b>?</h3>
-<p><ol>
-<li>Edit /includes/functions.inc.php<br />
-change<br />
-<pre>$sort_array = array(&#39;na&#39; => &#39;filename ASC&#39;, &#39;nd&#39; => &#39;filename DESC&#39;, &#39;da&#39; => &#39;pid ASC&#39;, &#39;dd&#39; => &#39;pid DESC&#39;); </pre>
-to<br />
-<pre>   $sort_array = array(
-      &#39;na&#39; => &#39;filename ASC&#39;,
-      &#39;nd&#39; => &#39;filename DESC&#39;,
-      &#39;da&#39; => &#39;pid ASC&#39;,
-      &#39;dd&#39; => &#39;pid DESC&#39;,
-      &#39;f1a&#39; => &#39;user1 ASC&#39;,
-      &#39;f1d&#39; => &#39;user1 DESC&#39;,
-      &#39;f2a&#39; => &#39;user2 ASC&#39;,
-      &#39;f2d&#39; => &#39;user2 DESC&#39;,
-      &#39;f3a&#39; => &#39;user3 ASC&#39;,
-      &#39;f3d&#39; => &#39;user3 DESC&#39;,
-      &#39;f4a&#39; => &#39;user1 ASC&#39;,
-      &#39;f4d&#39; => &#39;user1 DESC&#39;
-   );
-</pre></li>
-<li>Edit /themes/yourtheme/theme.php<br />
-<ul>
-<li>change<br />
-<pre>   // The sort order options are not available for meta albums
-   if ($sort_options){
-
-      $param = array(
-         &#39;{ALBUM_NAME}&#39; => $album_name,
-         &#39;{AID}&#39; => $aid,
-         &#39;{PAGE}&#39; => $page,
-         &#39;{NAME}&#39; => $lang_thumb_view[&#39;name&#39;],
-         &#39;{DATE}&#39; => $lang_thumb_view[&#39;date&#39;],
-         &#39;{SORT_NA}&#39; => $lang_thumb_view[&#39;sort_na&#39;],
-         &#39;{SORT_ND}&#39; => $lang_thumb_view[&#39;sort_nd&#39;],
-         &#39;{SORT_DA}&#39; => $lang_thumb_view[&#39;sort_da&#39;],
-         &#39;{SORT_DD}&#39; => $lang_thumb_view[&#39;sort_dd&#39;],
-         );</pre>
-<br />
-to<br />
-<pre>   // The sort order options are not available for meta albums
-   if ($sort_options){
-
-      $param = array(
-         &#39;{ALBUM_NAME}&#39; => $album_name,
-         &#39;{AID}&#39; => $aid,
-         &#39;{PAGE}&#39; => $page,
-         &#39;{NAME}&#39; => $lang_thumb_view[&#39;name&#39;],
-         &#39;{DATE}&#39; => $lang_thumb_view[&#39;date&#39;],
-         &#39;{SORT_NA}&#39; => $lang_thumb_view[&#39;sort_na&#39;],
-         &#39;{SORT_ND}&#39; => $lang_thumb_view[&#39;sort_nd&#39;],
-         &#39;{SORT_DA}&#39; => $lang_thumb_view[&#39;sort_da&#39;],
-         &#39;{SORT_DD}&#39; => $lang_thumb_view[&#39;sort_dd&#39;],
-         // Exxodus Sorting
-         &#39;{FIELD1}&#39; => $CONFIG[&#39;user_field1_name&#39;],
-         &#39;{FIELD2}&#39; => $CONFIG[&#39;user_field2_name&#39;],
-         &#39;{FIELD3}&#39; => $CONFIG[&#39;user_field3_name&#39;],
-         &#39;{FIELD4}&#39; => $CONFIG[&#39;user_field4_name&#39;],
-         // Exxodus Sorting
-         );</pre>&nbsp;
-</li>
-<li>modify the lines after <tt class="code">$template_thumb_view_title_row </tt> like this:<br />
-<pre>// HTML template for title row of the thumbnail view (album title + sort options)
-// Exxodus (Adding Sorting by UserField)
-$template_thumb_view_title_row = &lt;&lt;&lt;EOT
-
-         &lt;table width=&quot;100%&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot;&gt;
-         &lt;tr&gt;
-            &lt;td width=&quot;100%&quot; class=&quot;statlink&quot;&gt;&lt;h2&gt;{ALBUM_NAME}&lt;/h2&gt;&lt;/td&gt;
-            &lt;td&gt;&lt;img src=&quot;images/spacer.gif&quot; width=&quot;1&quot;&gt;&lt;/td&gt;
-            &lt;td class=&quot;sortorder_cell&quot;&gt;
-               &lt;table height=&quot;100%&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot;&gt;
-               &lt;tr&gt;
-                  &lt;td class=&quot;sortorder_options&quot;&gt;{NAME}&lt;/td&gt;
-                  &lt;td class=&quot;sortorder_options&quot;&gt;&lt;span class=&quot;statlink&quot;&gt;
-                  &lt;a href=&quot;thumbnails.php?album={AID}&page={PAGE}&sort=na&quot; title=&quot;{SORT_NA}&quot;&gt;&+&&lt;/a&gt;/&lt;/span&gt;&lt;/td&gt;
-                  &lt;td class=&quot;sortorder_options&quot;&gt;&lt;span class=&quot;statlink&quot;&gt;
-                  &lt;a href=&quot;thumbnails.php?album={AID}&page={PAGE}&sort=nd&quot; title=&quot;{SORT_ND}&quot;&gt;&-&&lt;/a&gt;&lt;/span&gt;&lt;/td&gt;
-               &lt;/tr&gt;
-               &lt;tr&gt;
-                  &lt;td class=&quot;sortorder_options&quot;&gt;{DATE}&lt;/td&gt;
-                  &lt;td class=&quot;sortorder_options&quot;&gt;&lt;span class=&quot;statlink&quot;&gt;
-                  &lt;a href=&quot;thumbnails.php?album={AID}&page={PAGE}&sort=da&quot; title=&quot;{SORT_DA}&quot;&gt;&+&&lt;/a&gt;/&lt;/span&gt;&lt;/td&gt;
-                  &lt;td class=&quot;sortorder_options&quot;&gt;&lt;span class=&quot;statlink&quot;&gt;
-                  &lt;a href=&quot;thumbnails.php?album={AID}&page={PAGE}&sort=dd&quot; title=&quot;{SORT_DD}&quot;&gt;&-&&lt;/a&gt;&lt;/span&gt;&lt;/td&gt;
-               &lt;/tr&gt;
-               &lt;/table&gt;
-            &lt;/td&gt;
-            &lt;td&gt;&lt;img src=&quot;images/spacer.gif&quot; width=&quot;10&quot;&gt;&lt;/td&gt;
-            &lt;td class=&quot;sortorder_cell&quot;&gt;
-               &lt;table height=&quot;100%&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot;&gt;
-               &lt;tr&gt;
-                  &lt;td class=&quot;sortorder_options&quot;&gt;{FIELD1}&lt;/td&gt;
-                  &lt;td class=&quot;sortorder_options&quot;&gt;&lt;span class=&quot;statlink&quot;&gt;
-                  &lt;a href=&quot;thumbnails.php?album={AID}&page={PAGE}&sort=f1a&quot;&gt;&+&&lt;/a&gt;/&lt;/span&gt;&lt;/td&gt;
-                  &lt;td class=&quot;sortorder_options&quot;&gt;&lt;span class=&quot;statlink&quot;&gt;
-                  &lt;a href=&quot;thumbnails.php?album={AID}&page={PAGE}&sort=f1d&quot;&gt;&-&&lt;/a&gt;&lt;/span&gt;&lt;/td&gt;
-               &lt;/tr&gt;
-               &lt;tr&gt;
-                  &lt;td class=&quot;sortorder_options&quot;&gt;{FIELD2}&lt;/td&gt;
-                  &lt;td class=&quot;sortorder_options&quot;&gt;&lt;span class=&quot;statlink&quot;&gt;
-                  &lt;a href=&quot;thumbnails.php?album={AID}&page={PAGE}&sort=f2a&quot;&gt;&+&&lt;/a&gt;/&lt;/span&gt;&lt;/td&gt;
-                  &lt;td class=&quot;sortorder_options&quot;&gt;&lt;span class=&quot;statlink&quot;&gt;
-                  &lt;a href=&quot;thumbnails.php?album={AID}&page={PAGE}&sort=f2d&quot;&gt;&-&&lt;/a&gt;&lt;/span&gt;&lt;/td&gt;
-               &lt;/tr&gt;
-               &lt;/table&gt;
-            &lt;/td&gt;
-            &lt;td&gt;&lt;img src=&quot;images/spacer.gif&quot; width=&quot;10&quot;&gt;&lt;/td&gt;
-            &lt;td class=&quot;sortorder_cell&quot;&gt;
-               &lt;table height=&quot;100%&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot;&gt;
-               &lt;tr&gt;
-                  &lt;td class=&quot;sortorder_options&quot;&gt;{FIELD3}&lt;/td&gt;
-                  &lt;td class=&quot;sortorder_options&quot;&gt;&lt;span class=&quot;statlink&quot;&gt;
-                  &lt;a href=&quot;thumbnails.php?album={AID}&page={PAGE}&sort=f3a&quot;&gt;&+&&lt;/a&gt;/&lt;/span&gt;&lt;/td&gt;
-                  &lt;td class=&quot;sortorder_options&quot;&gt;&lt;span class=&quot;statlink&quot;&gt;
-                  &lt;a href=&quot;thumbnails.php?album={AID}&page={PAGE}&sort=f3d&quot;&gt;&-&&lt;/a&gt;&lt;/span&gt;&lt;/td&gt;
-               &lt;/tr&gt;
-               &lt;tr&gt;
-                  &lt;td class=&quot;sortorder_options&quot;&gt;{FIELD4}&lt;/td&gt;
-                  &lt;td class=&quot;sortorder_options&quot;&gt;&lt;span class=&quot;statlink&quot;&gt;
-                  &lt;a href=&quot;thumbnails.php?album={AID}&page={PAGE}&sort=f4a&quot;&gt;&+&&lt;/a&gt;/&lt;/span&gt;&lt;/td&gt;
-                  &lt;td class=&quot;sortorder_options&quot;&gt;&lt;span class=&quot;statlink&quot;&gt;
-                  &lt;a href=&quot;thumbnails.php?album={AID}&page={PAGE}&sort=f4d&quot;&gt;&-&&lt;/a&gt;&lt;/span&gt;&lt;/td&gt;
-               &lt;/tr&gt;
-               &lt;/table&gt;
-            &lt;/td&gt;
-         &lt;/tr&gt;
-         &lt;/table&gt;
-
-EOT;</pre>
-
-</li>
-</ul>
-</li>
-</ol><br /></p><br /><div class="totop">[<a href="#top" class="nodeco">top of page</a>]</div><hr /><a name="iptcSupport"></a>
-<h3>How do I <b>enable IPTC support</b>?</h3>
-<p>Edit <tt class="code">/includes/picmgmt.inc.php</tt> and search for<br />
-<tt class="code">        $imagesize = getimagesize($image);</tt><br />
-replace this with:<br />
-<pre>$imagesize = getimagesize($image,&$info);
-$iptc = iptcparse($info["APP13"]);
-if (is_array($iptc)) {
-$caption.=$iptc[&#39;2#120&#39;][0];
-$title.=$iptc[&#39;2#105&#39;][0];
-(is_array($iptc[&#39;2#025&#39;])) && ($keywords.=implode(" ", $iptc[&#39;2#025&#39;]));
-}</pre>
-NOTE: This hack hasn&#39;t been thoroughly tested, use at your own risk...!<br /></p><br /><div class="totop">[<a href="#top" class="nodeco">top of page</a>]</div><hr />
-
-
-<a name="commonPHPerrors"></a>
-<h3>Common PHP errors and how to get rid of them...</h3>
-<p>There are a lot of people (especially PHP newbies) that post questions like <tt class="code">I get the error &quot;Parse error: parse error in XXX&quot;</tt> and don&#39;t know what to do about it. That&#39;s why I translated this list of common errors (and a solution how to fix them) from the original german article in <a href="http://www.drweb.de" class="external">Dr. Web</a> :<br />
-<ul>
-<li><tt class="code">Parse error: parse error in C:\Apache\htdocs\read.php on line 8</tt> - This error message refers to an error in the PHP syntax. You probably forgot to end a line with <tt class="code">;</tt> or you have too many brackets opened or closed (<tt class="code">{</tt>).</li>
-<li><tt class="code">Fatal error: Call to unsupported/undefined function ... in C:\Apache\htdocs\read.php on line 8</tt> - This error means that the function your script was going to use isn&#39;t defined in the current PHP version with modules, or if you&#39;re using user-defined functions that your function hasn&#39;t been defined yet (this is usually caused if you forgot to include the function definition).</li>
-<li><tt class="code">Warning: Wrong parameter ... for ... in C:\Apache\htdocs\read.php on line 8</tt> - you have handed over too many (or the wrong) parameters to the function. If it&#39;s a built-in php-function, check the <a href="http://www.php.net/manual/en/funcref.php" class="external"> manual; </a> to see if it&#39;s a user-defined function, then recheck your code.</li>
-<li><tt class="code">Warning: Cannot add header information - header was already sent ... in C:\Apache\htdocs\read.php on line 4</tt> - you had some text output first (e.g. the doctype declaration or <tt class="code">&lt;html&gt;</tt>) and called the function header() afterwards. This is most often the case when using cookie stuff. Remember you can not use header() twice!</li>
-<li><tt class="code">Parse error: parser stack overflow in C:\Apache\htdocs\read.php</tt> - PHP is out of memory - this usually happens if you built an eternal loop, especially when using include statements.</li>
-<li><tt class="code">Warning: fopen("file.txt","r+") - No such file or directory</tt> - the requested file or directory doesn&#39;t exist. Check the spelling (accuracy counts here).</li>
-<li><tt class="code">SAFE MODE Restriction in effect. The script whose uid is 531 is not allowed to access...</tt> - The safe mode is switched on. Some functions in the upload systems can&#39;t be used. Usually your webhost has put safe mode in place (often not correctly configured). Try switching silly_safe_mode on.</li>
-</ul>
-<br /></p><br /><div class="totop">[<a href="#top" class="nodeco">top of page</a>]</div><hr />
-
-
-<a name="renameTemplateHtml"></a>
-<h3>Can I rename template.html to template.php to include PHP code in my template?</h3>
-<p>No, this is simply not the way coppermine works; for &quot;normal&quot; pages the name of the extension tells the webserver whether the file should be parsed by the PHP interpreter. The template files within the themes folder are not being parsed this way - the extension .html was just chosen to make editing easier. You can not have PHP code in the template file, no matter how you name it - that's all there is to it!</p><br /><div class="totop">[<a href="#top" class="nodeco">top of page</a>]</div><hr />
-
-<a name="preventPictureStealing"></a>
-<h3>How can I prevent users from saving (stealing) my pictures?</h3>
-<p>You can not completely prevent users from stealing your pics - that's the way the www works: if a picture is being displayed in the browser, the user already has a copy of it on his hard drive. There are however some methods to make it harder for newbie users to steal your pics:
-<ul>
-<li>Add a watermark to your images before you upload them</li>
-<li>Apply one of the watermark-hacks: <a href="http://coppermine.sourceforge.net/board/index.php?topic=1467.0">Coppermine support board / mods / Watermarking hack (w/ ImageMagick)</a>, <a href="http://coppermine.sourceforge.net/board/index.php?topic=3269.0">Coppermine support board / mods / Watermark on a per image basis (GD)</a>, <a href="http://coppermine.sourceforge.net/board/index.php?topic=7160.0">Coppermine support board / mods / Permanent Watermark with GD2</a>. Please note that those hacks will result in a high server load, as the watermark is applied to a picture each time a users views the picture in his browser.</li>
-<li>Prevent Internet Explorer to show the image toolbar when a user hovers over a pic with the mouse. Edit themes/yourtheme/template.html, find <tt class="code">&lt;meta http-equiv="Pragma" content="no-cache" /&gt;</tt> and add after it <tt class="code">&lt;meta http-equiv="imagetoolbar" content="no" /&gt;</tt></li>
-<li>Use one of the many &quot;no right-click&quot; scripts that are available (e.g. <a href="http://coppermine.sourceforge.net/board/index.php?topic=2450.0">Coppermine support board / mods / no right-click</a> or <a href="http://www.codelifter.com/main/javascript/norightclick1.html" class="external">codelifter.com: no right-click</a>)</li>
-</ul>
-<br /></p>
-<br />
-<div class="totop">[<a href="#top" class="nodeco">top of page</a>]</div><hr />
-
-
-
-<br />&nbsp;<br />
-<h2>I&#39;m running my own server</h2><a name="enableGD"></a>
-<h3>How do I <b>enable gd</b> on my Windows server?</h3>
-<p>GD 1.x 2.x are normally part of all standard PHP distributions under Windows<br />
-To check if you have it, go to the directory where you installed PHP, go to the &quot;extensions&quot; subdir and see if you have a file named "php_gd2.dll".<br />
-Ocassionally, you will also need to edit your php.ini file (located in windows directory normally) and remove the &quot;;&quot; that is at the beginning of the line:<br />
-<tt class="code">extension=php_gd2.dll</tt> (at the end of the file). This will cause PHP to load the GD2 extension.<br />
-Whenever you make changes to php.ini, remember that you will need to restart your webserver before changes become effective.<br />
-ImageMagick it quite complicated to use under Windows<br />
-Greg<br /></p><br /><div class="totop">[<a href="#top" class="nodeco">top of page</a>]</div><hr />
-<a name="enableIMonWindows"></a>
-<h3>How do I <b>enable ImageMagick</b> on my Windows server?</h3>
-<p>ImageMagick is quite complicated to set up on Windows. There are several things to be taken into account. The Coppermine support board is <b>not</b> the right place to ask for help on installing it, as it deals with Coppermine, not &quot;How to set up a server&quot; (most people on the Coppermine boards don&#39;t run their own webserver, but they have webspace by a webhost). Instead, try to find support boards on the internet that deal with this special topic.<br /><br /></p><br /><div class="totop">[<a href="#top" class="nodeco">top of page</a>]</div><hr />
-
-<br />&nbsp;<br />
-<h2>Coppermine Support board</h2>These are (alas) not-so-frequently-asked-questions on the support board. Before posting on the Support board (or, in fact, any board), please read this:
-<a name="phpNewbie"></a>
-<h3>I <b>don&#39;t know</b> PHP/mySQL...</h3>
-<p>No problem with that, everyone stars as a newbie. <b></b>Just don&#39;t start each and every posting by stating &quot;I&#39;m a newbie&quot;, &quot;I don&#39;t know anything about PHP&quot; etc.<br />Usually, one can acertain that from your question itself. There's no need to apologize. Most of us can still remember when we were in your shoes.<br /></p><br /><div class="totop">[<a href="#top" class="nodeco">top of page</a>]</div><hr /><a name="lamesupport"></a>
-<h3>I&#39;ve posted my question a while ago, but <b>nobody answers</b>. What the...?</h3>
-<p>The support board is <b>not</b> a hotline. Although there are many visitors to the site, only a few do actually support - on a unpaid, voluntary basis. Yes, we don&#39;t receive remuneratio for our contributions and we each have a life, a job, family and more. We are away sometimes, as well. So, please, be patient, read the docs and search the boards while you are waiting.<br />If you don&#39;t get an answer to your question:
-<ul>
-<li>make sure you have given us enough time to react (days, not hours!)</li>
-<li>maybe nobody knows the answer to your problem</li>
-<li>maybe your question has been asked very often</li>
-<li>maybe your posting has been rude or impolite and you&#39;re ignored for that reason</li>
-<li>maybe you requested a feature that requires a lot of coding, and none of those who are able to do it have a need for the feature</li>
-</ul><br /></p><br /><div class="totop">[<a href="#top" class="nodeco">top of page</a>]</div><hr /><a name="howtoask"></a>
-<h3>How should I write my <b>question</b>?</h3>
-<p>If you have a question, make sure you provide as much information as possible:
-<ul>
-<li>a link to your gallery, with a test account ID and test account password, is most often the only way to help - provide it with your question, or even better: edit your profile on the support board and enter the url of your page there!</li>
-<li>when addressing server issues, make sure to provide information on your server (<acronym class="tool" title="operation system">OS</acronym>, server, PHP version, mySQL version, gd lib version, safe mode on/off?). Most information can be retrieved by <a href="#VersionGD">phpinfo()</a></li>
-<li>if it&#39;s a client issue, give us information at least to your client&#39;s <acronym class="tool" title="operation system">OS</acronym> and browser</li>
-<li>Give us a screenshot, if necessary</li>
-<li>use a proper subject line: state in the subject line what your question is actually about! Most supporters are reluctant to answer to a posting that has a silly subject line like &quot;I have a question&quot; or &quot;Install problem&quot; or &quot;feature request&quot; or &quot;help me pleeeeaaaase&quot;</li>
-</ul><br /></p><br /><div class="totop">[<a href="#top" class="nodeco">top of page</a>]</div><hr /><a name="firstSteps"></a>
-<h3>I&#39;ve run into trouble. What should I do first (<b>before posting</b> on the board)?</h3>
-<p><ul>
-<li>read the readme that comes with the coppermine distribution</li>
-<li>read the documentation</li>
-<li>read this FAQ</li>
-<li><a href="http://coppermine.sourceforge.net/board/index.php?action=search">Search</a> the support board</li>
-<li>enable debug mode (log in as admin, admin mode, config, debug mode)</li>
-<li>choose the right support board: if you&#39;re running the phpnuke-port of coppermine, don&#39;t post in the support board for the standalone version and vice versa</li>
-</ul><br /></p><br /><div class="totop">[<a href="#top" class="nodeco">top of page</a>]</div><hr /><a name="nonEnglishPosting"></a>
-<h3>Hey, by looking at your profile I can see you&#39;re German/French/Whatever. Can I post a question in that <b>language</b>?</h3>
-<p>If you are posting in the English support boards, pPlease do not post in some other language - in this way, others may benefit from your question (and the answers you receive ), too. Don&#39;t be afraid to write &quot;poor english&quot; - no one will laugh at you, and most of our visitor&#39;s first language isn&#39;t english to begin with! There&#39;s a german support board available at <a href="http://forum.the-service.de/" class="external">http://forum.the-service.de/</a> - use it if you are more comfortable with German and you&#39; not able to write in English!<br /></p>
-<p>We have <a href="http://coppermine.sourceforge.net/board/index.php?board=37.0">language-specific support boards</a> for Chinese and French.</p><br /><div class="totop">[<a href="#top" class="nodeco">top of page</a>]</div><hr /><a name="emailSupport"></a>
-<h3>May I email/<acronym title="private message" class="tool">pm</acronym>/<acronym title="instant message" class="tool">im</acronym> you for <b>support</b>?</h3>
-<p>No you mustn&#39;t! Post your question on the <a href="http://coppermine.sourceforge.net/board/">Coppermine support board</a> (publicly) - if we (the community) don&#39;t find a solution <b>and</b> <i>I</i> have the time <b>and</b> <i>I</i> want to <i>I</i>&#39;ll email/pm/im <i>you</i>!<br />
-</p><br /><div class="totop">[<a href="#top" class="nodeco">top of page</a>]</div><hr />
-
-<a name="aboutTeam"></a>
-<h3><b>Who</b> are you anyway?</h3>
-<p>We are a group of people who decided to form a team to develop Coppermine further - check the <a href="http://coppermine.sourceforge.net/team/">team</a> page for details...<br /></p><br /><div class="totop">[<a href="#top" class="nodeco">top of page</a>]</div><hr />
-
-
-<br />&nbsp;<br />
-
-This FAQ is a work in progress, please contribute in the <a href="http://coppermine.sourceforge.net/board/">Coppermine Photo Gallery Support Board</a> (don't contact me to ask for fixes of your Coppermine install). Please report any bugs, typos etc.<br />Check the <a href="http://coppermine-gallery.net/demo/cpg14x/docs/faq.htm">online-version of this document</a> for updates!<br />Have fun!<br />
-<br />
-GauGau (aka Joachim Mueller) - coppermine dev team
-
-
-
-
-
-<a name=""></a>
-<h3></h3>
-<p>
-<br /></p>
-<br />
-<div class="totop">[<a href="#top" class="nodeco">top of page</a>]</div><hr />
-
-
-
-<hr />
-<a href="http://sourceforge.net"><img src="http://sourceforge.net/sflogo.php?group_id=89658&amp;type=1" width="88" height="31" border="0" alt="SourceForge.net Logo" align="left" /><span class="small">Powered by Sourceforge.net</span></a>
-</body>
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+   "http://www.w3.org/TR/html4/loose.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+<title>Coppermine Photo Gallery - Documentation &amp; Manual</title>
+<meta http-equiv="content-type" content="text/html; charset=utf-8" />
+<meta name="language"    content="en" />
+<meta name="author" content="Tom"/>
+<meta name="copyright"   content="Coppermine dev team" />
+<meta name="description" content="Coppermine Photo Gallery project - Coppermine is an easily set-up, fast, feature-rich photo gallery script with mySQL database, user management, private galleries, automatic thumbnail creation, ecard feature and a template system for easy customization to match the rest of a site." />
+<meta name="keywords"    content="photo,gallery,galery,image,coppermine,php,mysql,easy,feature,phpnuke,thumbnail,automatic,creation,gd,Image Magick,ecard" />
+<meta name="page-topic"    content="photo,gallery,galery,image,coppermine,php,mysql,easy,feature,phpnuke,thumbnail,automatic,creation,gd,Image Magick,ecard" />
+<meta http-equiv="Content-Style-Type" content="text/css" />
+<meta name="MSSmartTagsPreventParsing" content="true" />
+<meta http-equiv="imagetoolbar" content="no" />
+<!--
+  Subversion information (for information and developer purposes only - safe to ignore for everybody else):
+  Coppermine version: 1.4.25
+  $HeadURL: https://coppermine.svn.sourceforge.net/svnroot/coppermine/trunk/cpg1.4.x/docs/faq.htm $
+  $Revision: 5997 $
+  $Author: gaugau $
+  $Date: 2009-05-26 08:43:24 +0200 (Di, 26 Mai 2009) $
+-->
+<style type="text/css">
+<!--
+body {
+        font-size: 12px; background: #F7F7F7; margin: 2%; color: black; font-family: verdana, arial, helvetica, sans-serif;
+        scrollbar-face-color: #DEE3E7;
+        scrollbar-highlight-color: #FFFFFF;
+        scrollbar-shadow-color: #DEE3E7;
+        scrollbar-3dlight-color: #D1D7DC;
+        scrollbar-arrow-color:  #006699;
+        scrollbar-track-color: #EFEFEF;
+        scrollbar-darkshadow-color: #98AAB1;
+}
+td {
+        font-size: 12px
+}
+h1 {
+        font-weight: bolder; font-size: 24px; color: #0E72A4; line-height: 120%; font-family: "Trebuchet MS", Verdana, Arial, Helvetica, sans-serif; text-decoration: none
+}
+h2 {
+        font-size: 20px; color: #0E72A4; font-family: Arial, Helvetica, sans-serif; text-decoration: none;
+}
+h3 {
+        font-weight: bolder; font-size: 16px; font-family: Verdana, Arial, Helvetica, sans-serif; text-decoration: none; color: #0E72A4;
+}
+h4 {
+        font-weight: bold; font-size: 14px; font-family: Verdana, Arial, Helvetica, sans-serif; text-decoration: none; color: #0E72A4;
+}
+p {
+        font-size: 12px; margin: 10px 10px 0px 0px; font-family: Verdana, Arial, Helvetica, sans-serif
+}
+pre {
+        border-right: #999999 1px solid; padding-right: 5px; border-top: #999999 1px solid; padding-left: 5px; font-size: 12px; padding-bottom: 5px; margin: 10px 10px 0px 0px; border-left: #999999 1px solid; padding-top: 5px; border-bottom: #999999 1px solid; font-style: normal; font-family: "Courier New", Courier, mono; background-color: #E0E0E0
+}
+
+.code {
+        font-size: 12px; font-style: normal; font-family: "Courier New", Courier, mono; background-color: #E0E0E0
+}
+ul {
+        padding-right: 0px; padding-left: 0px; padding-bottom: 0px; margin: 10px 0px 10px 5px; padding-top: 0px
+}
+ul.content {
+        padding-right: 0px; padding-left: 0px; padding-bottom: 0px; margin: 5px 5px 0px 0px; padding-top: 0px
+}
+li {
+        padding-right: 0px; margin-top: 4px; padding-left: 0px; list-style-position: outside; margin-bottom: 4px; padding-bottom: 0px; margin-left: 10px; padding-top: 0px;
+}
+li.content {
+        padding-right: 0px; margin-top: 0px; padding-left: 0px; list-style-position: outside; margin-bottom: 5px; padding-bottom: 0px; margin-left: 10px; padding-top: 0px; list-style-type: none;
+}
+hr {
+        border-right: #000000 0px solid; border-top: #000000 1px solid; border-left: #000000 0px solid; border-bottom: #000000 0px solid; height: 0px
+}
+.navbar {
+        font-weight: bold; font-size: 10px; background: url(/coppermine/themes/pixel-rave-blue100/images/nav-bar-button.gif) #72a5cc no-repeat; vertical-align: middle; color: #A5C6DF; font-family: Arial, Helvetica, sans-serif
+}
+a.navbar {
+        display: block; vertical-align: middle; width: 100px; color: #A5C6DF; line-height: 25px; position: relative; height: 25px; text-align: center; text-decoration: none
+}
+a.navbar:hover {
+        color: #ffffff; text-decoration: none
+}
+
+a.content {
+        text-decoration: none
+}
+a.content:hover {
+        text-decoration: underline
+}
+
+a.external {
+        background: transparent url('pics/link.gif') 100% 50% no-repeat;
+        padding-right: 10px;
+}
+
+.back {
+        margin-top: 10px; font-size: 10px; margin-bottom: 10px
+}
+.important { color: red }
+.totop {font-size:8px; text-align:right}
+-->
+</style>
+</head>
+<body>
+<h1><b>Coppermine 1.4.x FAQ</b></h1>
+<p>FAQ for <a href="http://coppermine.sourceforge.net/">Coppermine Photo Gallery v1.4.x</a><br />
+For credits and copyrights, see <a href="index.htm#credits">Coppermine documentation</a></p>
+
+
+<p>With thousands of users, it's not surprising that so many of the same questions are asked on the <a href="http://coppermine.sourceforge.net/board/">support forums for Coppermine Photo Gallery</a>. So, to help facilitate your website development, we've  included this basic <acronym class="tool" title="FAQ=Frequently Asked Questions">FAQ</acronym> file on common issues. Please be sure to refer to this FAQ first before posting questions on the forum. Failure to do so will, could, well ... , reflect unkindly on you and could result in some negative "<i>karma</i>."</p>
+<p>This document is the <i>second best</i> resource to understand Coppermine - it's mandatory that you read the <a href="index.htm">documentation</a> first that comes with your Coppermine package.</p>
+<p>The FAQ are available <a href="faq_de.htm">in German</a> and <a href="faq_fr.htm">French</a> as well.</p>
+
+<a name="top"></a>
+<h2><b>Table of contents</b>:</h2>
+<ul class="nomargin">
+<li><b>Installation</b></li>
+<ul class="nomargin">
+<li><a class="content" href="#MinimumRequirements">What are the <b>minimum requirements</b> for the installation and use of Coppermine 1.4.x ?</a></li>
+<li><a class="content" href="#whatIsImageMagick">What's <b>ImageMagick</b> and how can I get it?</a></li>
+<li><a class="content" href="#WhatIsGD">What's <b>GD</b> and how can I get it?</a></li>
+<li><a class="content" href="#VersionPHP">How do I find out <b>which version of PHP</b> I have?</a></li>
+<li><a class="content" href="#VersionGD">How do I find out <b>which version of GD</b> I have?</a></li>
+<li><a class="content" href="#GD1vsGD2">What&#39;s the difference between <b>GD1 and GD2</b>?</a></li>
+<li><a class="content" href="#InstallSteps">What are the <b>steps</b> to get Coppermine running?</a></li>
+<li><a class="content" href="#installIMwhenHosted">How can I <b>install ImageMagick or GD</b>?</a></li>
+<li><a class="content" href="#minimumInstall">I'm short on webspace. Is there a &quot;<b>minimum install</b>&quot;?</a></li>
+</ul>
+
+<li><b>Upload</b></li>
+<ul class="nomargin">
+<li><a class="content" href="#uploadGeneralTroubleshooting">General Upload Troubleshooting</a></li>
+</ul>
+
+<li><b>Error messages</b></li>
+<ul class="nomargin">
+<li><a class="content" href="#WhatIsImageMagick">When installing I get the <b>error</b> <tt class="code">Fatal error: Call to undefined function: imagecreatefromjpeg() in /include/picmgmt.inc.php on line 168</tt>. What does that mean?</a></li>
+<li><a class="content" href="#mkdirPermissionDenied">When installing I get the <b>error</b> <tt class="code">Warning: mkdir(dummy) [function.mkdir]: Permission denied in /your/path/to/coppermine/install.php on line 126</tt>. What does that mean?</a></li>
+<li><a class="content" href="#EmptyDelimiter">I get the <b>error</b> &quot;<tt class="code">Warning: Empty Delimiter in search.inc.php line 33&quot;</tt>. What can I do?</a></li>
+<li><a class="content" href="#zerosizedreply">I get the <b>error</b> <tt class="code">Zero Sized Reply</tt> during install. What can I do?</a></li>
+<li><a class="content" href="#ErrorUndefinedIndex">I have the error message <tt class="code">Warning: Undefined index: SCRIPT_NAME in /www.your-domain.com/include/init.inc.php on line 90</tt>. What can I do?</a></li>
+<li><a class="content" href="#ErrorCantMovePic">When I try to upload a picture I get the error message <tt class="code">Impossible to move somepic.jpg to albums/userpics/ | Warning: move_uploaded_file(/tmp/phpezCYKr) [function.move-uploaded-file]: failed to create stream: Operation not permitted</tt>. What&#39;s wrong?</a></li>
+<li><a class="content" href="#ErrorFailedToOpenDir">When I try to upload a picture I get the error message <tt class="code">Warning: opendir(./albums/edit): failed to open dir: No such file or directory</tt>. What&#39;s wrong?</a></li>
+<li><a class="content" href="#httpPostVars">When uploading I get the error <tt class="code">Warning: Undefined variable: HTTP_POST_VARS in include/init.inc.php on line 43</tt>. What can I do?</a></li>
+<li><a class="content" href="#createWriteMYI">I get the error message <tt class="code">Can't create/write to file '/tmp/#sql_45d5_0.MYI'</tt>. What's wrong?</a></li>
+<li><a class="content" href="#cantOpenMYI">I get the error message <tt class="code">Can't open file: 'yourPrefix_tableName.MYI'</tt> or similar. What's wrong?</a></li>
+</ul>
+
+<li><b>Setup / Configuration</b></li>
+<ul class="nomargin">
+<li><a class="content" href="#LinkInAlbumDescription">How can I include a <b>link in an album description</b> or the caption of a pic?</a></li>
+<li><a class="content" href="#NoLastUploads">I don&#39;t want to show the <b>last uploads</b> and/or <b>random pictures</b> on the start page. How do I edit what&#39;s shown on the start page of coppermine?</a></li>
+<li><a class="content" href="#editCopyrights">How do I <b>remove/edit the bottom line</b> &quot;<tt class="code">Powered by Coppermine</tt>&quot; ?</a></li>
+<li><a class="content" href="#buyLicense">I want to buy a <b>license</b> for Coppermine (and get rid of the &quot;<tt class="code">Powered by Coppermine</tt>&quot; line). How?</a></li>
+<li><a class="content" href="#removeFeature">I don&#39;t want to use the feature XYZ of Coppermine. How can I <b>remove</b> it?</a></li>
+<li><a class="content" href="#customHeader">How do I add a <b>custom header/footer</b> to Coppermine?</a></li>
+<li><a class="content" href="#createPublicAlbum">How do I create an <b>album</b> that <b>anyone</b> can add photos to?</a></li>
+<li><a class="content" href="#BackupDatabase">How can I <b>backup</b> my coppermine database?</a></li>
+<li><a class="content" href="#noFullsizePopup">The <b>fullsize-pic doesn&#39;t pop up</b> when clicking on the intermediate size pic. What&#39;s wrong?</a></li>
+<li><a class="content" href="#viewThumbnailsOnly">How can I let unregistered users see the <b>thumbnails only</b>, but not the actual pictures?</a></li>
+<li><a class="content" href="#preventHotlinks">How can I prevent other sites linking directly to the pictures in my gallery instead of the gallery page?</a></li>
+<li><a class="content" href="#changeLanguage">I tried to change the <b>language</b> on the config page, but it doesn&#39;t work. What&#39;s wrong?</a></li>
+<li><a class="content" href="#onlyregisteredcomments">How do I let guests, not only registered users to put <b>comments</b> on pictures?</a></li>
+<li><a class="content" href="#httpUpload">I <b>can&#39;t upload</b> with the upload feature. What&#39;s wrong?</a></li>
+<li><a class="content" href="#ordercategories">How do I change the <b>order of categories</b>?</a></li>
+<li><a class="content" href="#cantDeletePic">I <b>can&#39;t delete a certain picture</b> with ftp. What can I do?</a></li>
+<li><a class="content" href="#cantUploadBigPics">I <b>can&#39;t upload big pics</b>. What&#39;s wrong?</a></li>
+<li><a class="content" href="#cookie">I can&#39;t <b>login</b> to Coppermine. What&#39;s wrong?</a></li>
+<li><a class="content" href="#sortAlbum">How can I change the <b>sorting order of the albums</b>?</a></li>
+<li><a class="content" href="#deleteIntermediates">I don't use the <b>intermediate pictures</b> anymore. How can I <b>delete</b> them to gain disk space?</a></li>
+<li><a class="content" href="#howAlbumsFolderWork">How do <b>albums and folders</b> work in coppermine?</a></li>
+<li><a class="content" href="#howMoveAlbum">How can I <b>move albums from one category to another</b>?</a></li>
+<li><a class="content" href="#moveGallery">How do I <b>move a gallery</b>?</a></li>
+<li><a class="content" href="#oneFileMultipleAlbums">How do I <b>show the same file in multiple albums</b>?</a></li>
+
+</ul>
+<li><b>Add-ons / Modifications / Hacks</b></li>
+<ul class="nomargin">
+<li><a class="content" href="#changeOrderEdit">How can I change the order of the pics when <b>editing</b> them?</a></li>
+<li><a class="content" href="#rightHandMenu">How can I create a menu that&#39;s shown on the <b>right side</b> of the gallery?</a></li>
+<li><a class="content" href="#jumpToPrivateAlbum">How can I send a user <b>directly to his private album</b> once he logs in?</a></li>
+<li><a class="content" href="#registeredUsersOnly">How can I <b>prevent unregistered user</b> from viewing the gallery?</a></li>
+<li><a class="content" href="#displayUploaderName">How can I <b>display the name of the uploader</b> with the picture info?</a></li>
+<li><a class="content" href="#linksInCustomFields">How do I enable clickable <b>links in custom user fields</b>?</a></li>
+<li><a class="content" href="#sortThumbsByCustomField">How can I <b>sort the thumbnails by user defined (custom) fields</b>?</a></li>
+<li><a class="content" href="#iptcSupport">How do I <b>enable IPTC support</b>?</a></li>
+<li><a class="content" href="#commonPHPerrors">Common PHP errors and how to get rid of them...</a></li>
+<li><a class="content" href="#renameTemplateHtml">Can I <b>rename template.html to template.php</b> to include <b>PHP code</b> in my template?</a></li>
+<li><a class="content" href="#preventPictureStealing">How can I prevent users from saving (stealing) my pictures?</a></li>
+</ul>
+<li><b>I'm running my own server</b></li>
+<ul class="nomargin">
+<li><a class="content" href="#enableGD">How do I <b>enable gd</b> on my Windows server?</a></li>
+<li><a class="content" href="#enableIMonWindows">How do I <b>enable ImageMagick</b> on my Windows server?</a></li>
+</ul>
+<li><b>Coppermine Support board</b></li>
+<ul class="nomargin">
+<li><a class="content" href="#phpNewbie">I <b>don&#39;t know</b> PHP/mySQL...</a></li>
+<li><a class="content" href="#lamesupport">I&#39;ve posted my question a while ago, but <b>nobody answers</b>. What the...?</a></li>
+<li><a class="content" href="#howtoask">How should I write my <b>question</b>?</a></li>
+<li><a class="content" href="#firstSteps">I&#39;ve run into trouble. What should I do first (<b>before posting</b> on the board)?</a></li>
+<li><a class="content" href="#nonEnglishPosting">Hey, by looking at your profile I can see you&#39;re German/French/Whatever. Can I post a question in that <b>language</b>?</a></li>
+<li><a class="content" href="#emailSupport">May I email/<acronym title="private message" class="tool">pm</acronym>/<acronym title="instant message" class="tool">im</acronym> you for <b>support</b>?</a></li>
+<li><a class="content" href="#aboutTeam"><b>Who</b> are you anyway?</a></li>
+</ul>
+</ul>
+
+
+<br />&nbsp;<br />
+<h2>Installation</h2><a name="MinimumRequirements"></a>
+<h3>What are the <b>minimum requirements</b> for the use of Coppermine 1.4.x ?</h3>
+<p>
+    <ul>
+        <li>any webserver, Apache recommended (Coppermine has been reported to work with <a href="http://httpd.apache.org/" class="external">Apache</a>, <a href="http://www.microsoft.com/iis/" class="external">Microsoft Internet Information Server</a> (IIS), <a href="http://www.roxen.com/products/webserver/" class="external">Roxen WebServer</a>, <a href="http://www.aprelium.com/" class="external">Abyss</a>, <a href="http://www.janaserver.de/" class="external">JanaServer</a>)</li>
+        <li>PHP 4.2.0 or better</li>
+        <li><a href="#WhatIsGD">GD lib</a> or Image Magick</li>
+        <li>mySQL 3.23.23 or better (4.x recommended). Don&#39;t confuse the client api version (which is shown in phpinfo) with the mySQL version!</li>
+    </ul><br /></p><br /><div class="totop">[<a href="#top" class="nodeco">top of page</a>]</div><hr />
+<a name="WhatIsGD"></a>
+<h3>What's <b>GD</b> and how can I get it?</h3>
+<p>GD is a graphical library which enables PHP to do image manipulation. If you are running your own webservem you can download it at <a href="http://www.boutell.com/gd/" class="external">www.boutell.com/gd/</a>. You will need to recompile PHP on (L)Unix systems, depending on your setup Apache as well. Most recent versions of PHP come with GD - go for a package. On most windows systems, you can just enable it in the php.ini file. If you are subscribing to a webhost: find out through your webhost if GD/GD2 support is available on your site. If not, ask your webhost if you can have it or find yourself another webhost. GD/GD2 are pretty much a standard feature at most webhosting services.<br /></p><br /><div class="totop">[<a href="#top" class="nodeco">top of page</a>]</div><hr />
+
+<a name="whatIsImageMagick"></a>
+<h3>What's ImageMagick and how can I get it?</h3>
+<p>ImageMagick is another graphical library like GD/GD2 for image manipulation. If you are running your own webserver, you can download it at <a href="http://www.imagemagick.org" class="external">imagemagick.org</a>. There are sources available for Unix, Linux, Mac and Windows executables, as well as binary packages for various server operating systems. You cannot install ImageMagick if you are subscribing to a webhost.
+<br /></p>
+<br />
+<div class="totop">[<a href="#top" class="nodeco">top of page</a>]</div><hr />
+
+<a name="VersionPHP"></a>
+<h3>How do I find out <b>which version of PHP</b> I have?</h3>
+<p>If you haven't installed Coppermine, yet, create a blank file named "info.php". Add the following code to it: <tt class="code">&lt;?php phpinfo(); ?&gt;</tt>. Save the file and upload it to your webserver, then run it in your browser (e.g. http://www.yourdomain.com/info.php). The very first line should read &quot;PHP Version X.Y.Z&quot;<br />Please note: leaving info.php on your server could be a security risk; either delete it after use or move it into a password protected directory!<br />&nbsp;<br />If you have already installed Coppermine, you will find a phpinfo file (phpinfo.php) within the coppermine folder. Log in to your Coppermine setup as the admin and simply point (type in the URL) your browser to http://yourdomain.tld/your_coppermine_folder/phpinfo.php .</p><br /><div class="totop">[<a href="#top" class="nodeco">top of page</a>]</div><hr /><a name="VersionGD"></a>
+<h3>How do I find out <b>which version of GD</b> I have?</h3>
+<p>If you haven't installed Coppermine, yet, create a blank file named "info.php", put this code into it: <tt class="code">&lt;?php phpinfo(); ?&gt;</tt>. Save the file and upload this file to your webserver, then run it in your browser (e.g. http://www.yourdomain.com/info.php). Look for a table like this:<br />
+<div align="center" style="font-family: arial, helvetica, sans-serif; font-size: 14pt; font-weight: bold;">gd</div>
+<table border="0" cellpadding="3" cellspacing="1" width="600" bgcolor="#000000" align="center">
+<tr valign="baseline" bgcolor="#cccccc"><td bgcolor="#ccccff" ><b>GD Support</b></td><td align="left">enabled</td></tr>
+<tr valign="baseline" bgcolor="#cccccc"><td bgcolor="#ccccff" ><b>GD Version</b></td><td align="left">1.6.2 or higher</td></tr>
+<tr valign="baseline" bgcolor="#cccccc"><td bgcolor="#ccccff" ><b>FreeType Support</b></td><td align="left">enabled</td></tr>
+<tr valign="baseline" bgcolor="#cccccc"><td bgcolor="#ccccff" ><b>FreeType Linkage</b></td><td align="left">with TTF library</td></tr>
+<tr valign="baseline" bgcolor="#cccccc"><td bgcolor="#ccccff" ><b>JPG Support</b></td><td align="left">enabled</td></tr>
+<tr valign="baseline" bgcolor="#cccccc"><td bgcolor="#ccccff" ><b>PNG Support</b></td><td align="left">enabled</td></tr>
+<tr valign="baseline" bgcolor="#cccccc"><td bgcolor="#ccccff" ><b>WBMP Support</b></td><td align="left">enabled</td></tr>
+</table>
+<br /><br />Please note: leaving info.php on your server could be a security risk; either delete it after use or move it into a password protected directory!<br />&nbsp;<br />If you have already installed Coppermine, you will find a phpinfo file (phpinfo.php) within the coppermine folder. Log in to your Coppermine setup as the admin and simply point (type in the URL) your browser to http://yourdomain.tld/your_coppermine_folder/phpinfo.php. Then scoll down to the GD section of the display.<br /></p><br /><div class="totop">[<a href="#top" class="nodeco">top of page</a>]</div><hr /><a name="GD1vsGD2"></a>
+<h3>What&#39;s the difference between <b>GD1 and GD2</b>?</h3>
+<p>GD2 is an updated version of GD1 and, as such, will create pictures with better quality (intermediate and thumbnails). <table border="0" class="frame2"><tr><td colspan="2"><span class="winzig">Here&#39;s an example taken from <a href="http://www.vddh.com/wnailer/index.php?pag=res&pic=1#comp" class="external">w-nailer: about resizing</a><br />(Original pic size: 1024 x 768 pixels):</span></td></tr><tr><td align="center"><img src="http://coppermine.sourceforge.net/images/128x96gd1.jpg" width="128" height="96" border="0" alt="" title="GD1"></td><td align="center"><img src="http://coppermine.sourceforge.net/images/128x96gd2.jpg" width="128" height="96" border="0" alt="" title="GD2"></td></tr><tr><td align="center"><span class="winzig">GD 1.8.4:<br />ImageCreate<br />ImageCopyResized<br />128 x 96 pixels</span></td><td align="center"><span class="winzig">GD 2.0.1:<br />ImageCreateTrueColor<br />ImageCopyResampled<br />128 x 96 pixels</span></td></tr></table>Upgrades of the GD lib after coppermine has already installed will not affect pictures that were previously created. It will only affect those created after the upgrade. <b>Unless you are running your own webserver, you cannot upgrade nor install GD lib  - only your webhost can!</b><br /></p><br /><div class="totop">[<a href="#top" class="nodeco">top of page</a>]</div><hr />
+
+<a name="InstallSteps"></a>
+<h3>What are the <b>steps</b> to get Coppermine running?</h3>
+<p>as stated in the Coppermine readme file:
+<ol>
+<li>Download Coppermine</li>
+<li>Unzip it to your harddrive</li>
+<li>Upload the contents of the coppermine folder to your server (you can install it in the root or in a unique folder with a name of your choosing).</li>
+<li>CHMOD (<u>CH</u>ange permission settings <u>MOD</u>e) your newly uploaded Coppermine "include" and "albums" folders and subfolders to allow for read/write access. If your webhost does not provide file management tools to let you do this, you will probably need to search the net, download and install an FTP program to facilitate this.</li>
+<li> Create a database with your website management tools if you don't already have one. You do not have to add any tables to your newly created database. Coppermine will create them for you. If you already have a database on your site, Coppermine can use that as well. </li>
+<li>If you are installing on a Yahoo Webserver, <a href="http://coppermine-gallery.net/forum/index.php?topic=18943.0">read this thread first</a>.</li>
+<li>Point your browser to http://www.yoursite.com/coppermine/install.php and follow the directions of the install file (basically the mySQL-tables will be created there and the config table will be filled with default values)</li>
+<li>Upon successfull installation, delete the install.php file from your website.</li>
+<li>Point your browser to http://www.yoursite.com/coppermine/ , and login as admin using the ID and Password you provided during install. In admin mode, click on the CONFIG menu button to start customizing your coppermine photo gallery.</li>
+<li>Experiment with your new install, create a few categories, sub-categories, and albums. Upload a few pics (not too many, just yet), test if everything works. </li>
+<li>Point your browser to http://www.yoursite.com/coppermine/docs/ and READ the docs. The documents included with CPG1.4.x have been updated from previous versions to help answer your questions and issues so that you can get the site you want the first time out. Reading the docs takes but a few minutes. Resolving issues after the fact can take days, even weeks.</li>
+<li>If your new Coppermine install is in a sub folder on your site, publish your site by linking it to your homepage.</li>
+</ol><br /></p><br /><div class="totop">[<a href="#top" class="nodeco">top of page</a>]</div><hr />
+
+<a name="installIMwhenHosted"></a>
+<h3>How can I <b>install ImageMagick or GD</b>?</h3>
+<p>You can only <a href="#enableIMonWindows">install ImageMagic or GD if you&#39;re running your own server</a> or if you have at least shell access to your webserver. If your site is being hosted by a webhost you can only contact your webhost and ask them to install it for you. If they refuse choose another webhost.<br /></p><br /><div class="totop">[<a href="#top" class="nodeco">top of page</a>]</div><hr />
+
+<a name="minimumInstall"></a>
+<h3>I'm running short on webspace. Is there a &quot;<b>minimum install</b>&quot;?</h3>
+<p>This is of course a contradiction in terms: running a gallery page usually means you will considerable webspace to store your pics, but if you only want to publish a few pics with what little webspace you have left, there are some files that don't have to be uploaded or that can be removed if not needed. It is however recommended that only experienced users create a minimum install; when in doubt, do a full install.</p>
+<ol>
+<li><b>Remove all languages that you don't need</b> (if your users are all from the same country).<br />
+It's recommended that you keep English anyway even if your users use another language, just for you as admin to be able to temporarily switch to English.<br />
+Delete all files in the lang-subfolder of your coppermine install except yourlanguage.php (e.g. if you're using french, delete all files but /lang/french.php and /lang/french-utf-8.php).
+<br /><div class="totop">Webspace that can be saved (maximum): 2.9 MB</div>
+</li>
+<li><b>Remove all language files that come with an encoding you don't need</b><br />
+You'll notice that for each language there are two files in the lang-folder: yourlanguage.php and yourlanguage-utf-8.php. You will need the utf-8 files only if you chose &quot;Unicode(utf-8)&quot; in &quot;Character encoding&quot; on your config page. Using <i>Unicode (utf-8)</i> will display the gallery in the language your page visitor has set in his browser. If you haven't chosen <i>Unicode (utf-8)</i> in coppermine config, it's safe to delete all language files with &quot;utf-8&quot; in their filenames from the lang folder.
+<br /><div class="totop">Webspace that can be saved (maximum): 1.7 MB</div>
+</li>
+<li><b>Remove all unnecessary themes</b><br />
+Remove all themes you won't use from your themes folder. If you're using a customized theme, it's recommended to leave the classic/default theme in place for administrative purposes.<br />
+Example: if you're using the theme &quot;Eyeball&quot; that comes with coppermine, you can safely delete the sub-folders &quot;classic&quot;, &quot;fruity&quot;, &quot;hardwired&quot;, &quot;igames&quot;, &quot;mac_ox_x&quot;, &quot;project_vii&quot;, &quot;rainy_day&quot;, &quot;styleguide&quot; and &quot;water_drop&quot; from your themes folder.
+<br /><div class="totop">Webspace that can be saved (maximum): 1 MB</div>
+</li>
+<li><b>Remove some docs from the docs folder</b><br />
+The docs folder contains documents that are meant to help you set up and administer coppermine. In cpg1.4.0 or better, there are some files in this folder that are mandatory to have on the server for the help icons to work; others are optional. You can remove the files &quot;credits.html&quot;, &quot;faq.html&quot;, &quot;README.html&quot;, &quot;theme.htm&quot; and &quot;translation.htm&quot;. All other files (and the subfolder &quot;pics&quot;) have to remain on the webserver if you want to use the help icons (recommended).
+<br /><div class="totop">Webspace that can be saved (maximum): 164 KB</div>
+</li>
+<li><b>Remove bridge files</b><br />
+The Coppermine package includes bridge files used for integration of coppermine with bulletin board software like phpBB, SMF etc. It is safe to delete some files in the bridge folder; if you <i>are</i> using bbs integration, you will have to keep the bridge file that corresponds to the bbs you're using. If you are not using integration, you must keep the file <b>coppermine.inc.php</b>. The file <b>udb_base.php</b> is required under all setups ans should not be deleted.
+<br /><div class="totop">Webspace that can be saved (maximum): 85 KB</div>
+</li>
+<li><b>Remove the flags</b><br />
+If you're not going to use the &quot;select language by flags&quot; option from the coppermine menu, it's safe to delete the flags folder (/your_coppermine_folder/images/flags/). If you <i>are</i> using the flags option, you can of course delete all flags you don't use at all.
+<br /><div class="totop">Webspace that can be saved (maximum): 80 KB</div>
+</li>
+<li><b>Remove files that are needed for install or upgrade only</b><br />
+Once Coppermine has been installed and is &quot;up-and-running&quot;, you can safely delete the files that are needed for installing only: from the coppermine root folder, delete install.php, installer.css, update.php,  upgrade-1.0-to-1.2.php. You can delete the folder &quot;sql&quot; as well.<br />
+If you want to update/upgrade your coppermine install later (once a new version comes out), you will of course have to re-upload the update files and the sql folder to your webserver.
+<br /><div class="totop">Webspace that can be saved (maximum): 73 KB</div>
+</li>
+<li><b>Choose to only display intermediate-sized pics and thumbnails.</b><br /> After you have batch added your pics and confirmed that they are displaying properly in your CPG setup, click on Admin Tools and select the "Delete original size photos (1)" option.</li><br />
+</ol>
+Summary: a minimum install of coppermine will need approx. 3.3 MB of webspace.
+<br /><div class="totop">[<a href="#top" class="nodeco">top of page</a>]</div><hr />
+
+<h2>Upload</h2>
+
+<a name="uploadGeneralTroubleshooting"></a>
+<h3>General Upload Troubleshooting</h3>
+<p>When troubleshooting uploads in CPG 1.4, you are advised to change the upload settings in the Groups console to 'Single uploads only' and to activate 'Debug mode' in the config console.  Changing this setting negates some of the error masking done in the multiple upload setting.  This will allow you to access more detailed error messages.</p>
+<p><span class="important"><fieldset><legend><b>First and foremost:</b></legend>Check your folder and file permission settings on the /albums, /albums/userpics, and /albums/edit directories.  All should be 777 or 755.</span><br /><br />If you don't know what we mean by <i>777</i> or <i>755</i>,  you need to do a Google search on <i>UNIX file permissions</i>. Windows has a similar set of file permissions. You can usually set these permissions using an <i>FTP client</i> (If you don't know what an <i>FTP client</i> is, Google for <i>FTP client</i>).<br /> </fieldset> <br />
+For those of you who skim over statements written in red letters, I will repeat to try to get your attention:
+<br />  <br />
+<span class="important"><fieldset><legend><b>Yes, we are writing about something that could easily apply to YOU.</b></legend>
+<br />&nbsp;<br />
+We repeat -- check your permissions on the <tt class="code">/albums</tt>, <tt class="code">/albums/userpics</tt>, and <tt class="code">/albums/edit</tt> directories.  All should be 777 or 755.
+<br />&nbsp;<br />
+Yes, we do want you to check the permissions of each folder even if you think you have already done this. Yes, we mean it.<br /></fieldset></span>
+</p>
+<p><b>NOTE:</b> HTTP uploads are limited by the restrictions placed upon them in PHP's configuration.</p>
+<br />&nbsp;<br />
+<b>Things to check:</b> <font size="-2">(if you are webhosted, you will need to consult with your webhost regarding the following settings.)</font>
+<ol>
+<li><b>max_input_time</b>- 60 seconds is the default time limit for uploading files.<br />This time limit includes the time it takes for the files to upload, so if you exceed this limit, the file will not even parse, and the browser will not get a response. You can workaround this by trying to upload smaller or fewer files, or you can try uploading over broadband. The best solution, of course, is to increase the time limit to something more in line with your needs.</li>
+<li><b>upload_max_filesize</b> - 2MB is the default limit for individual files.</li>
+<li><b>post_max_size</b> - 8MB is the default limit for post requests.</li>
+<li><b>memory_limit</b> - 8MB is the default size.</li>
+<li>PHP's <b>LimitRequestBody</b> - 512KB default limit. (mainly an issue on Redhat/Apache systems.  Found in /etc/http/conf.d)<br />In general, upload_max_filesize &lt; post_max_size &lt; memory_limit in order for uploads to function properly. Coppermine may warn you if a file exceeds upload_max_filesize, but it cannot warn you if the total size of all the files exceeds the post limit or the memory limit.</li>
+<li><b>file_uploads</b> - This determines whether or not PHP will allow file uploads. It must be set to &quot;On&quot;.</li>
+<li><b>upload_tmp_dir</b> - This specifies the temporary directory where PHP stores uploaded files.</li>
+</ol>
+
+<p>The most common issue caused by this setting is an open_basedir warning.  In this situation, your server administrator has restricted the files that PHP can work with to a certain directory.  If he does not create and specify a temporary directory within the open_basedir restriction, PHP will attempt to use the OS temporary directory, and it will be rebuffed by the open_basedir restriction.</p>
+
+<p><b>Some notes about the different types of upload mechanisms available in CPG 1.3 (or better):</b><br />
+Multiple HTTP uploads are designed to handle a small number of files, and have an upper limit of 10 files at a time.  Therefore, they are not well suited for the uploading of large numbers of files unless you are running your own webserver or have control over the php.ini configuration.
+<br />
+If you are looking to upload more than 15 or 20 files at a time, you should consider the batch add process or the XP_Publisher utility.  Each has its own drawbacks and advantages.
+<br />
+The batch add process is fast, but it creates quite a load on the server and, as a result, you may experience timeouts causing your uploads to terminate prematurely.  XP Publisher, on the otherhand, is considerably slower, but it limits the load on the server.  It also circumvents many of the pitfalls caused by limitations set in the php.ini configuration by uploading each file in the batch being uploaded as an individual post request.</p>
+
+<br /><div class="totop">[<a href="#top" class="nodeco">top of page</a>]</div><hr />
+
+<h2>Error Messages</h2>
+
+<a name="WhatIsImageMagick"></a>
+<h3>When installing I get the <b>error</b> <tt class="code">Fatal error: Call to undefined function: imagecreatefromjpeg() in /include/picmgmt.inc.php on line 168</tt>. What does that mean?</h3>
+<p>This error means that the version of PHP installed on your server does not support the GD1/GD2 image library.<br />
+If you know that the ImageMagick suite is installed on your server, you could try using it instead. Otherwise, you will have to find another webhost or convince your existing webhost to have GD1/GD2 installed (the GD image library is now a standard component of PHP and should normally be installed and available, de facto). Coppermine won't run without gd or image magick.<br /></p><br /><div class="totop">[<a href="#top" class="nodeco">top of page</a>]</div><hr />
+
+<a name="mkdirPermissionDenied"></a>
+<h3>When installing I get the <b>error</b> <tt class="code">Warning: mkdir(dummy) [function.mkdir]: Permission denied in /your/path/to/coppermine/install.php on line 126</tt>. What does that mean?</h3>
+<p>The script must have the right to create and delete files.
+<ul>
+<li>on *nix/linux-webservers:<br />chmod the coppermine directory (and all subdirectories) to 755 (rwxr-xr-x). To find more about chmod: check some of these <a href="http://www.google.com/search?q=chmod+tutorial" class="external">fine chmod tutorials</a></li>
+<li>on Windows/IIS:<br />Check if the user the webserver runs the php-scripts under (usually called IUSR) has sufficient rights to read, execute, change, delete in the Coppermine folder. To find out how, ask your webhost or read the server manual, if you're running your own server.
+</li>
+<li>on Windows/Apache:<br />Check the account Apache runs under and set the <i>rights</i> in the file-system.
+</li>
+</ul><br /></p><br /><div class="totop">[<a href="#top" class="nodeco">top of page</a>]</div><hr />
+
+<a name="EmptyDelimiter"></a>
+<h3>I get the <b>error</b> &quot;<tt class="code">Warning: Empty Delimiter in search.inc.php line 33&quot;</tt>. What can I do?</h3>
+<p>Edit the file include/search.inc.php<br />
+Look for the line with<br /><tt class="code">$charset = $CONFIG[&#39;charset&#39;] == &#39;language file&#39; ? $lang_charset : $CONFIG[&#39;charset&#39;];</tt><br />
+Replace it with :<br />
+<tt class="code">$charset = $CONFIG[&#39;charset&#39;] == &#39;language file&#39; ? $GLOBALS[&#39;lang_charset&#39;] : $CONFIG[&#39;charset&#39;];</tt><br /></p><br /><div class="totop">[<a href="#top" class="nodeco">top of page</a>]</div><hr />
+
+<a name="zerosizedreply"></a>
+<h3>I get the <b>error</b> <span class="code">Zero Sized Reply</span> during install. What can I do?</h3>
+<p>On rare ocassions, some users experience this error message during install:<br />
+<pre>While trying to retrieve the URL: http://yoursite.com/coppermine/install.php
+The system returned:
+Zero Sized Reply
+Reason:
+The remote server did not reply any data for this request.
+Please try again later</pre>
+Unfortunately, we still do not know why this happens - those who get this error simply cannot use Coppermine (our apologies). Disabling or removing HTTP filtering on the firewall may help (client and/or server end).  Should you have any idea as to what may be causing this error (and even possibly come up with a solution), please visit the Coppermine support board and enlighten us.<br /></p><br /><div class="totop">[<a href="#top" class="nodeco">top of page</a>]</div><hr />
+
+<a name="ErrorUndefinedIndex"></a>
+<h3>I have the error message <tt class="code">Warning: Undefined index: SCRIPT_NAME in /www.your-domain.com/include/init.inc.php on line 90</tt>. What can I do?</h3>
+<p>Try to edit the file include/init.inc.php:<br />
+change<br />
+<pre>$PHP_SELF = isset($_SERVER[&#39;REDIRECT_URL&#39;]) ? $_SERVER[&#39;REDIRECT_URL&#39;] : $_SERVER[&#39;SCRIPT_NAME&#39;];</pre>
+to<br />
+<pre>$PHP_SELF = $_SERVER[&#39;PHP_SELF&#39;];</pre>
+</p><br /><div class="totop">[<a href="#top" class="nodeco">top of page</a>]</div><hr />
+
+<a name="ErrorCantMovePic"></a>
+<h3>When a user tries to upload a picture s/he gets the error message <tt class="code">Impossible to move somepic.jpg to albums/userpics/ | Warning: move_uploaded_file(/tmp/phpezCYKr) [function.move-uploaded-file]: failed to create stream: Operation not permitted</tt>. What&#39;s wrong?</h3>
+<p>You should contact the admin of your webhost because you usually can&#39;t change the location of the website's temporary directory for file uploads, yourself (it is part of PHP configuration) .<br />
+If the <i>open basedir restriction</i> is in effect on your site then the temp directory for file uploads should be one that you can access.<br /></p><br /><div class="totop">[<a href="#top" class="nodeco">top of page</a>]</div><hr />
+
+<a name="ErrorFailedToOpenDir"></a>
+<h3>When I try to upload a picture I get the error message <tt class="code">Warning: opendir(./albums/edit): failed to open dir: No such file or directory</tt>. What&#39;s wrong?</h3>
+<ul>
+<li>Make sure you have a folder named 'edit' in your albums folder.</li>
+<li>Make sure the edit directory has been chmod to 777/755.</li>
+<li>Make sure you have completely upgraded to the current version of Coppermine</li>
+</ul><br /><div class="totop">[<a href="#top" class="nodeco">top of page</a>]</div><hr />
+
+<a name="httpPostVars"></a>
+<h3>When uploading I get the error <tt class="code">Warning: Undefined variable: HTTP_POST_VARS in include/init.inc.php on line 43</tt>. What can I do?</h3>
+<p>Check if <a href="#VersionPHP">your version of PHP</a> fullfills the <a href="#MinimumRequirements">minimum requirements</a> for Coppermine. If your version is 4.1.0 or better, then this error is probably caused by a misconfiguration of your hosting server, and not a Coppermine issue. If the server isn&#39;t yours to configure properly (that is: if you&#39;re with a webhost), you can try this workaround (at your own risk):<br >
+Edit the file "init.inc.php" and look for<br />
+<pre>$PHP_SELF = isset($_SERVER[&#39;REDIRECT_URL&#39;]) ? $_SERVER[&#39;REDIRECT_URL&#39;] : $_SERVER[&#39;SCRIPT_NAME&#39;];</pre>
+Replace it with<br />
+<pre>$PHP_SELF = $_SERVER[&#39;PHP_SELF&#39;];</pre><br /></p><br /><div class="totop">[<a href="#top" class="nodeco">top of page</a>]</div><hr />
+
+<a name="createWriteMYI"></a>
+<h3>I get the error message <tt class="code">Can't create/write to file '/tmp/#sql_45d5_0.MYI'</tt>. What's wrong?</h3>
+<p><b>The problem:</b><br />
+MySQL can't create a temporary file for the result set in the given temporary directory.</p>
+<p><b>The solution:</b><br />
+Alter the tmpdir variable to point to a writable directory.  It requires changing the tmpdir line in the my.cnf file, usually in the [mysqld] section (tmpdir = /writable/dir, where /writable/dir is a directory to which you can write).</p>
+<p><b>Ask your webhost to make the above changes.</b></p>
+<br /><div class="totop">[<a href="#top" class="nodeco">top of page</a>]</div><hr />
+
+<a name="cantOpenMYI"></a>
+<h3>I get the error message <tt class="code">Can't open file: 'yourPrefix_tableName.MYI'</tt> or similar. What's wrong?</h3>
+<p><b>The problem:</b><br />
+Your table is corrupted.</p>
+<p><b>The solution:</b><br />
+This is not a coppermine issue, but a mySQL issue. It just may affect a database table used by Coppermine.<br />
+Use your website's Control Panel to repair the table, or use phpMyAdmin to execute this sql query: <tt class="code">REPAIR TABLE yourPrefix_tableName</tt><br />
+(Replace yourPrefix_tableName with your table name, e.g. cpg145_pictures)</p>
+<p><b>If you don't understand the solution, ask your webhost to make the above changes.</b></p>
+<br /><div class="totop">[<a href="#top" class="nodeco">top of page</a>]</div><hr />
+
+<br />&nbsp;<br />
+<h2>Setup / configuration</h2><a name="LinkInAlbumDescription"></a>
+<h3>How can I include a <b>link in an album description field</b> or in the caption of a pic?</h3>
+<p>Coppermine supports the following bbCodes (the same bbCodes that are used by phpBB) in image and album description:</p>
+<table border="0">
+<tr>
+<th>code</th>
+<th>output</th>
+</tr>
+<tr><td><pre>[b]bold text[/b]</pre></td><td><b>bold text</b></td></tr>
+<tr><td><pre>[i]italic[/i]</pre></td><td><i>italic</i></td></tr>
+<tr><td><pre>[url=http://www.foo.com/bar.html]URL text[/url]</pre></td><td><a href="http://www.foo.com/bar.html">URL text</a></td></tr>
+<tr><td><pre>[email]user@domain.tld[/email]</pre></td><td><a href="mailto:user@domain.tld">user@domain.tld</a></td></tr>
+</table>
+
+
+<div class="totop">[<a href="#top" class="nodeco">top of page</a>]</div><hr />
+<a name="NoLastUploads"></a>
+<h3>I don&#39;t want to show the <b>last uploads</b> and/or <b>random pictures</b>on the start page. How do I edit what&#39;s shown on the start page of coppermine?</h3>
+<p>  <ol>
+    <li>login as admin into your CPG setup</li>
+    <li>click on "Admin Mode" if it is not already enabled</li>
+    <li>Click on Config in the "Admin Menu"</li>
+    <li>under "Album list view" use the above provided keywords:
+    <ul>
+      <li>'<b>breadcrumb</b>': navigation inside the gallery (e.g. &quot;home &gt; category &gt; subcategory &gt; album&quot;)</li>
+      <li>'<b>catlist</b>': category list
+      <li>'<b>alblist</b>': album list
+      <li>'<b>random</b>': random pictures (leaving random pictures &quot;on&quot; for huge galleries with more than 10,000 pics might result in performance problems; switch random &quot;off&quot; in this case)
+      <li>'<b>lastup</b>': last uploads
+      <li>'<b>topn</b>': most viewed
+      <li>'<b>toprated</b>': top rated
+      <li>'<b>lastcom</b>': last comments </li>
+      <li>'<b>lasthits</b>': last viewed </li>
+      <li>'<b>lastalb</b>': last created albums</li>
+      <li>'<b>anycontent</b>': inserts php-generated custom content that YOU have coded into the file 'anycontent.php' and displays the content on the index page. It can be used to include banner-rotation scripts, welcome scripts, or similar. Where it appears in the index page is determined by it's placement in the string example below.</li>
+    </ul>
+    (e.g. <tt class="code">anycontent/catlist/alblist/random,2/lastup,2</tt> translates to: &quot;anycontent file contents, category list, album list, 2 rows of random pics, 2 rows of last uploads&quot; -- and will display in the order that they are listed)</li>
+  </ol><br /></p><br /><div class="totop">[<a href="#top" class="nodeco">top of page</a>]</div><hr /><a name="editCopyrights"></a>
+  <h3>How do I <b>remove/edit the bottom line</b> &quot;<tt class="code">Powered by Coppermine</tt>&quot; ?</h3>
+<p>You mustn&#39;t remove the line - it&#39;s part of the deal: you&#39;re allowed to use and modify Coppermine on your site, but this line must remain! We feel strongly that it is more than a justified demand to give credit where credit is due. We hope that you will agree with us and just be glad that such a great piece of software is available for use at NO COST, with no banner ads or embedded spyware, to you.<br />
+You are allowed to change the way the line looks by editing the CSS class to make it fit into the design of your site; edit /themes/yourtheme/style.css, look for the class "Footer" and change the settings there as you wish.<br />
+Note: PLEASE don&#39;t ask idiotic questions on how to remove this line in the <a href="http://coppermine.sourceforge.net/board/">Coppermine Photo Gallery Support Board</a> - your posting will be deleted!<br /></p><br /><div class="totop">[<a href="#top" class="nodeco">top of page</a>]</div><hr /><a name="buyLicense"></a>
+<h3>I want to buy a <b>license</b> for Coppermine (and get rid of the &quot;<tt class="code">Powered by Coppermine</tt>&quot; line). How?</h3>
+<p>As Coppermine is based on OpenSource software published under GNU/GPL (which allows the modification of the code, but disallows changes of the license model of your modifications), you can not purchase a version of coppermine with or without the credit line removed. Read the file COPYING that comes with the distribution of Coppermine for details.<br /></p><br /><div class="totop">[<a href="#top" class="nodeco">top of page</a>]</div><hr /><a name="removeFeature"></a>
+<h3>I don&#39;t want to use the feature XYZ of Coppermine. How can I <b>remove</b> it?</h3>
+<p>Just remove the link; edit /themes/yourtheme/theme.php, look for the feature you want to remove and comment out the HTML code.<br />Example: if you want to remove the ecard-feature, just look for
+<pre>&lt;td align=&quot;center&quot; valign=&quot;middle&quot; class=&quot;navmenu&quot; width=&quot;48&quot;&gt;
+&lt;a href=&quot;{ECARD_TGT}&quot; title=&quot;{ECARD_TITLE}&quot;&gt;
+&lt;img src=&quot;images/ecard.gif&quot; width=&quot;16&quot; height=&quot;16&quot; border=&quot;0&quot; align=&quot;absmiddle&quot; alt=&quot;{ECARD_TITLE}&quot;&gt;&lt;/a&gt;
+&lt;/td&gt;</pre>
+and replace it with<br />
+<pre>&lt;!--&lt;td align=&quot;center&quot; valign=&quot;middle&quot; class=&quot;navmenu&quot; width=&quot;48&quot;&gt;
+&lt;a href=&quot;{ECARD_TGT}&quot; title=&quot;{ECARD_TITLE}&quot;&gt;
+&lt;img src=&quot;images/ecard.gif&quot; width=&quot;16&quot; height=&quot;16&quot; border=&quot;0&quot; align=&quot;absmiddle&quot; alt=&quot;{ECARD_TITLE}&quot;&gt;&lt;/a&gt;
+&lt;/td&gt;--&gt;</pre></p><br /><div class="totop">[<a href="#top" class="nodeco">top of page</a>]</div><hr /><a name="customHeader"></a>
+<h3>How do I add a <b>custom header/footer</b> to Coppermine?</h3>
+<p>There are these files to look for:
+<ul>
+
+<li>if you want to add static html-content (for example your site logo), edit <tt class="code">/themes/yourtheme/template.html</tt> - add/remove anything you want, but be sure to leave everything in that is in brackets.</li>
+<li>if you want dynamic content (or want to add PHP-code), edit the file <tt class="code">/themes/yourtheme/theme.php</tt></li>
+<li>if you want the edit the color scheme of a theme to match the &quot;look-and-feel&quot; of your site, edit <tt class="code">/themes/yourtheme/style.css</tt></li>
+<li>for experienced php users, cpg 1.4.x introduces an alternative method of adding intricate custom headers or footers. Create a php file for your header and one for your footer using a format similar to the following: <br />
+<pre><blockquote>&lt;?php <br />
+echo &lt;&lt;&lt;EOT  <br /><br />
+Enter your header/footer content here.  What you enter here will be displayed<br />at the top of my page if it is a header and at the bottom of my page if it is a footer. <br /> <br />
+EOT; <br />
+?></blockquote></pre>
+
+<p>Name them myheader.php and myfooter.php, or any other original name that doesn't already exist in the cpg folder and save them into the Coppermine root folder. Then while in Admin mode, click on the CONFIG tab, scroll to <b><i>Themes settings</i></b> and  enter the name of your header and footer files in the appropriate include fields at the bottom of this section. (NOTE: You will still need to edit the template.html file of your theme to remove any unwanted logos and entries above the menu sections.)</li> </p>
+
+
+</ul><br /></p><br /><div class="totop">[<a href="#top" class="nodeco">top of page</a>]</div><hr /><a name="createPublicAlbum"></a>
+<h3>How do I create an <b>album</b> that <b>all users</b> can add photos to?</h3>
+<p>(Assuming that you have already created at least one category and/or one album where the uploaded photos should go to):
+<ul>
+<li>Log in as admin</li>
+<li>Confirm that you are in admin mode</li>
+<li>Select the Album list button</li>
+<li>If you placed the album in a category, choose the category you created the album in</li>
+<li>Next to the appropriate album, click on &quot;properties&quot;</li>
+<li>Set &quot;Visitors can upload pictures&quot; to &quot;yes&quot; and click &quot;update album&quot;</li>
+<li>Provide an upload link in your navigation menu if it&#39;s not already there (check /themes/yourtheme/theme.php)</li>
+<li>Next, click on the Groups tab</li>
+<li>For the group named &quot;anonymous&quot; - set the allowable space usage quota and upload rights</li>
+
+</ul><br /></p><br /><div class="totop">[<a href="#top" class="nodeco">top of page</a>]</div><hr /><a name="BackupDatabase"></a>
+<h3>How can I <b>backup</b> my coppermine database?</h3>
+<p>Currently, there are no built-in backup solutions for coppermine available, yet. To backup your directory/file structure, you must use the good old ftp method and a tool like <a href="http://www.phpmyadmin.net/" class="external">phpMyAdmin</a> to backup your database (Many webhosts that offer mySQL also offer a pre-installed version of phpMyAdmin - if so, use that!). PhpMyAdmin is easy to install: just download the distribution, unzip it to your harddrive, edit one config file and upload it to your server. (NOTE: Some webhosts offer backup services. You should check if this service is available to you, first.)<br /><br />
+Here&#39;s a quick &quot;how to backup a database with phpMyAdmin&quot; primer:
+<ul>
+<li>Download the software if it's not available to you, install it (remember to password-protect it).</li>
+<li>Point your browser to the location you installed it on.</li>
+<li>Select the database you want to back up from the dropdown list in the left frame.</li>
+<li>In &quot;View dump (schema) of database&quot; select the table(s) you want to back up (press CTRL to select more than one table).</li>
+<li>Mark &quot;Structure and data&quot;</li>
+<li>Check &quot;Save as file&quot;</li>
+<li>Check &quot;zipped&quot;</li>
+<li><b>DON&#39;T</b> check &quot;Add &#39;drop table&#39;&quot; - your database will be erased, if you do.</li>
+<li>Press &quot;go&quot;</li>
+<li>Save the file on your harddisk (depending on the speed of your connection this could take a while).</li>
+</ul><br /></p><br /><div class="totop">[<a href="#top" class="nodeco">top of page</a>]</div><hr /><a name="noFullsizePopup"></a>
+<h3>The <b>fullsize-pic doesn&#39;t pop up</b> when clicking on the intermediate size pic. What&#39;s wrong?</h3>
+<p>If you are certain that your original file is larger in dimensions than the settings you selected for intermediate sized pictures, there's a good chance that you over-edited your theme's template/html file: make sure that the line <tt class="code">&lt;script type=&quot;text/javascript&quot; src=&quot;scripts.js&quot;&gt;&lt;/script&gt;</tt> inside /themes/yourtheme/template.html is still there to make the pop-up window work...<br />
+The &lt;head&gt;-part of your template file should look like this:<br />
+<pre>&lt;head&gt;
+&lt;title&gt;{TITLE}&lt;/title&gt;
+&lt;meta http-equiv=&quot;Content-Type&quot; content=&quot;text/html; charset={CHARSET}&quot; /&gt;
+{META}
+&lt;link rel=&quot;stylesheet&quot; href=&quot;themes/default/style.css&quot; /&gt;
+&lt;script type=&quot;text/javascript&quot; src=&quot;scripts.js&quot;&gt;&lt;/script&gt;
+&lt;/head&gt;</pre>
+- If you&#39;re still unsure about this, just compare your theme's template.html with the default theme that comes with coppermine .<br /></p><br /><div class="totop">[<a href="#top" class="nodeco">top of page</a>]</div><hr /><a name="viewThumbnailsOnly"></a>
+<h3>How can I let unregistered users see the <b>thumbnails only</b>, but not the actual pictures?</h3>
+<p>Edit displayimage.php and add<br /><tt class="code">if (!USER_ID) cpg_die(ERROR, &#39;You need to register to access this page&#39;, __FILE__, __LINE__);</tt><br />just before<br />
+<pre>/**************************************************************************
+* Local functions definition
+**************************************************************************/</pre></p><br /><div class="totop">[<a href="#top" class="nodeco">top of page</a>]</div><hr /><a name="preventHotlinks"></a>
+<h3>How can I prevent other sites from linking directly to the pictures in my gallery instead of the gallery page?</h3>
+<p>IF your webhost supports the use of .htaccess files (you will need to ask them), you can prevent &quot;hotlinking&quot; by creating an .htaccess file in the albums folder.<br />
+Open your text editor and add the following lines, then save the file as .htaccess :
+<pre>SetEnvIfNoCase Referer &quot;^http://www.yourdomian.com/&quot; locally_linked=1
+SetEnvIfNoCase Referer &quot;^http://yourdomain.com/&quot; locally_linked=1
+SetEnvIf Referer &quot;^$&quot; locally_linked=1
+&lt;FilesMatch &quot;\.(gif|png|jpe?g)$&quot;&gt;
+  Order Allow,Deny
+  Allow from env=locally_linked
+&lt;/FilesMatch&gt;</pre>
+This will only work on linux/unix and apache servers AND only if you&#39;re allowed to use /htaccess files by your webhost or if you run your own server and &quot;mod_rewrite&quot; is enabled on your server . <br /></p><br /><div class="totop">[<a href="#top" class="nodeco">top of page</a>]</div><hr /><a name="changeLanguage"></a>
+
+<h3>I tried to change the <b>language</b> on the config page, but it doesn&#39;t work. What&#39;s wrong?</h3>
+<p>&quot;Character encoding&quot; is probably set (or has been set sometime ago) to UTF-8 on your config page.<br />
+When UTF-8 is selected, Coppermine chooses your language file based on your browser configuration and stores the value in a cookie. This overrides the value stored in the CONFIG.<br />
+<b>To fix that:</b><br />
+<ul>
+<li>Set &quot;Character encoding&quot; to Default (language file)</li>
+<li>Then call the script with <tt class="code">http://yoursite.com/coppermine_dir/index.php?lang=xxx</tt> (this will reset the cookie)
+</ul><br /></p><br /><div class="totop">[<a href="#top" class="nodeco">top of page</a>]</div><hr /><a name="onlyregisteredcomments"></a>
+<h3>How do I allow all guests, not just registered users, to add <b>comments</b> to pictures?</h3>
+<p><ul>
+<li>log in as admin</li>
+<li>admin mode</li>
+<li>groups</li>
+<li>&quot;Anonymous&quot; - &quot;Can post comments&quot; - &quot;yes&quot;</li>
+<li>Apply modifications</li>
+</ul>
+To change the settings on a per album basis, first, complete the above steps, then):
+<ul>
+<li>Log in as admin</li>
+<li>Confirm that you are in admin mode</li>
+<li>In Category view, click on the album of choice</li>
+<li>Select &quot;Properties&quot;</li>
+<li>Set&quot;Permissions for this album&quot; - &quot;Visitors can post comments&quot; - &quot;Yes&quot;</li>
+<li>&quot;Update album&quot;</li>
+</ul><br /></p><br /><div class="totop">[<a href="#top" class="nodeco">top of page</a>]</div><hr /><a name="httpUpload"></a>
+<h3>I <b>can&#39;t upload</b> with the upload feature. What&#39;s wrong?</h3>
+<p>If you experience the error message: <tt class="code">No picture was uploaded. If you have really selected a picture to upload, check that the server allows file uploads...</tt>, check if there&#39;s a problem with HTTP uploads on your server - this feature may have been disabled or improperly configured. In <a href="#VersionPHP">phpinfo()</a>, check that "file_uploads" is ON, "upload_max_filesize" is something like 2M and "upload_tmp_dir" is a valid directory!<br /></p><br /><div class="totop">[<a href="#top" class="nodeco">top of page</a>]</div><hr /><a name="ordercategories"></a>
+<h3>How do I change the <b>order of categories</b>?</h3>
+<p><ul>
+<li>Log in as admin</li>
+<li>from the admin mode menu strip</li>
+<li>select the categories menu button</li>
+<li>use the &quot;arrow up&quot;- and &quot;arrow down&quot;-buttons to change the order of categories</li>
+</ul><br /></p><br /><div class="totop">[<a href="#top" class="nodeco">top of page</a>]</div><hr /><a name="cantDeletePic"></a>
+<h3>I <b>can&#39;t delete a certain picture</b> with ftp. What can I do?</h3>
+<p>If you can't delete a file or picture with your FTP software, it is not Coppermine that won&#39;t allow you to delete the picture; it is your FTP server. The problem is in the configuration of your server. Try to delete your picture from within the script.</p>
+<p>If PHP on your server is running under user "nobody," then all files created by any PHP script (this is not specific to Coppermine) will be owned by "nobody". There is no way to change that.</p>
+<table border="0" cellspacing="2" cellpadding="2" class="bordl"><tr><td valign="top" align="left"><p class="fliess"> <b>IMPORTANT:</b>  0777 (CHMOD 777) should not be the default mode for directories because it may present a security risk, if your gallery is running on a shared server and PHP safe mode is not enabled, anyone with an account on the same server could possibly delete your pictures. There have been several threads on this issue on the Menalto Gallery forum and several users have seen their gallery hacked and destoyed because of this. This issue is not specific to Photo galleries, it applies to all PHP scripts that create directories. As long as someone has <i>write</i> access to a directory, s/he could conceiveably delete any file it contains, even if that person doesn&#39;t have write access to the file itself.<br />&nbsp;<br />
+We would prefer to have users complaining LOUDLY and REPEATEDLY that they have to constantly contact their sysadmin to set this or reset that or even uninstall Coppermine, and have THIS as an issue and electing to switch to another gallery script because of this inconvenience, rather than learn of one person devastated in finding that all his/her pictures have been erased by a hacker.<br />&nbsp;<br />
+Don't agree? Read this:<br />
+<a href="http://www.zend.com/manual/function.mkdir.php" class="external">http://www.zend.com/manual/function.mkdir.php</a><br />
+<a href="http://www.zend.com/manual/function.chmod.php" class="external">http://www.zend.com/manual/function.chmod.php</a><br />
+before thinking of posting an argument in this forum.<br />&nbsp;
+<br />Ultimately it is the decision of the sysadmin on how s/he will elect to run PHP as an Apache module and if all files/dir created by PHP are to be owned by &quot;nobodyquot;. So sysadmins who have set up their servers as such, are in no position to complain when asked to remove certain files or directories.<br />&nbsp;<br />
+<blockquote><i>On the webhost this site is running on, everything works fine when directory are created with mode 755 and all files/dir created by PHP are owned by the chezgreg user which is the user I use when connecting by FTP. Also if one of the file/directory on my site has a mode of 777, the server will shutdown my site and send me an email warning me that this is unsafe.</i><br />&nbsp;<br />
+Greg</blockquote></p></td></tr></table><br /></p><br /><div class="totop">[<a href="#top" class="nodeco">top of page</a>]</div><hr /><a name="cantUploadBigPics"></a>
+<h3>I <b>can&#39;t upload big pics or files</b>. What&#39;s wrong?</h3>
+<p>The max. size of uploadable pics and/or files is limited by various settings - to find out why you can&#39;t upload big picks, check the following:
+<ul>
+<li>Make sure you have enough webspace left (remember that you need space for the full size pic, the intermediate size pic and the thumbnail!)</li>
+<li>When logged in as admin check your &quot;Group&quot; settings: the groups (even the admin group!) have quota limits that can be configured there</li>
+<li>Browser time-out: the commonly-used Internet Explorer has a time-out function: if your upload isn&#39;t finished within a certain period, the browser will time-out (this applies especially to dial-up connections)</li>
+<li>There&#39;are a maximum limits set in the PHP config of your server or webhosting server. If you&#39;re with a webhost there&#39;s very little you can do about it except ask them if they could help you out. If you&#39;re running your own server, check php.ini and look for <tt class="code">LimitRequestBody</tt> - this value (in bytes) in the max upload allowed by php/html</li>
+</ul><br /></p><br /><div class="totop">[<a href="#top" class="nodeco">top of page</a>]</div><hr /><a name="cookie"></a>
+<h3>I can&#39;t <b>login</b> to Coppermine. What&#39;s wrong?</h3>
+<p>This is most likely a cookie issue:
+<ul>
+<li>If you&#39;re running Internet Explorer 6, you&#39;ll have to enable the acceptance of cookies. Click on &quot;Tools&quot; - &quot;Internet Options&quot; - &quot;Privacy&quot; and add your site to the list of sites that are trusted, or set the slider to a lower level.</li>
+<li>Sometimes IE will not handle Cookies properly. Close your browser, try deleting all local cookies manually and start your browser again</li>
+<li>Check if you&#39;re running a software that interferes with acceptance of cookies like personal firewalls (ZoneAlarm, Tiny, Cookie Washer etc.) and turn them off to see if cookies are accepted then</li>
+<li>Try using another browser (like <a href="http://www.opera.com/" class="external">Opera</a>, which is rather small to download and can be removed easily). It&#39;s a generally a good idea to have some different browsers on your local machine to check if your site is displayed correctly not only in your favourite browser</li>
+<li>If you&#39;re using subdomains and the dev version of coppermine or some mod on a different subdomain (like gallery.yoursite.com and board.yoursite.com) this could also cause problems: a subdomain is a different domain (in fact foo.com and bar.com are subdomains of the <acronym class="tool" title="top level domain">tld</acronym> &quot;.com&quot;, so regarding cookies they are as different domains as bbs.yoursite.com and comics.yoursite.com). Of course you can &quot;hack some sense&quot; into the scripts, but usually bbs are hard to trick to make them more hack-proof.</li>
+</ul><br /></p><br /><div class="totop">[<a href="#top" class="nodeco">top of page</a>]</div><hr />
+
+<a name="sortAlbum"></a>
+<h3>How can I change the <b>sorting order of the albums</b>?</h3>
+<p>By default the albums appear in the order they were created. If you want to adjust the sorting order, do the following:
+<ul>
+<li>Log in as admin;</li>
+<li>&quot;enter admin mode&quot;;</li>
+<li>select &quot;Albums&quot; from the admin menu strip;</li>
+<li>choose the category whose albums you want to sort from the dropdown list;</li>
+<li>highlight an album by clicking on it once;</li>
+<li>then use the up <img src="http://coppermine.sourceforge.net/images/move_up.gif" width="13" height="11" border="0" alt="" /> and down <img src="http://coppermine.sourceforge.net/images/move_down.gif" width="13" height="11" border="0" alt="" /> buttons to change the position. </li>
+<li>Click &quot;apply modifications&quot;.</li>
+<li>Confirm the message &quot;Are you sure you want to make these modifications ?&quot; with &quot;OK&quot;</li>
+</ul><br /></p><br /><div class="totop">[<a href="#top" class="nodeco">top of page</a>]</div><hr />
+
+<a name="deleteIntermediates"></a>
+<h3>I don't use the <b>intermediate pictures</b> anymore. How can I <b>delete</b> them to gain disk space?</h3>
+<p>Why would you want to do that? Deleting the intermediate pics would disable many of the great features that make coppermine what is today. The option to send ecards, to add comments to pics, to rate pics, to display exif information, just to name a few. If you really want to save space, opt to delete your original files using the Admin Tools menu option.  Doing this will allow your users to enjoy all of coppermine's features with the exception of viewing full-sized images.  In the end, it will probably save you more space as well.  Just be sure to set your intermediate sized picture settings in CONFIG to a size that you can live with.</p>
+<p>If you really must remove the intermediate sized pics, search the mods and hacks board in the coppermine forum to learn how.</p><br /><div class="totop">[<a href="#top" class="nodeco">top of page</a>]</div><hr />
+
+<a name="howAlbumsFolderWork"></a>
+<h3>How do <b>albums and folders</b> work in coppermine?</h3>
+<ol>
+<li>When you create an album, it is a dynamic 'virtual' album.  Coppermine doesn't create a physical folder for this album on the server's hard drive, it leaves the pictures where you put them on the server, and uses the database to know which pic belongs in which album. You can move pics from album to album in Coppermine, but it's all done in the database, the pics are never moved on the server.</li>
+<li>When you upload by html, using the 'upload' link, coppermine places the pic (and the thumb and normal size copies) in the 'userpics' directory.</li>
+<li>When you upload by ftp, you should place the pics into folders that you create within the 'albums' folder, but never in the 'userpics' folder. The 'userpics' folder is reserved for html uploads only.  You can create as many folders/sub-folders for FTP uploads as you want. (Many webhosting services will recommend that you keep the number of files per folder under 500 in order to maximize speed and certain functions. This means you can upload up to 500/3 files in each folder.) You can name these folders anything you want, but we do recommend mirroring the category/album structures that you have created, whenever possible, to facilitate ease of use and site management.</li>
+<li>When you batch add files that you have already FTP'd to your site, coppermine asks you what album you want to put the pics in, but it leaves the pics where they are on the server.</li>
+</ol>
+<br /><div class="totop">[<a href="#top" class="nodeco">top of page</a>]</div><hr />
+
+<a name="howMoveAlbum"></a>
+<h3>How can I <b>move albums from one category to another</b>?</h3>
+<ul>
+<li>log in as admin</li>
+<li>admin mode</li>
+<li>create categories (using category manager from admin menu)</li>
+<li>go to the index page of your gallery</li>
+<li>click "Properties" next to the album thumbnail</li>
+<li>From the dropdown list &quot;Album category&quot;, choose the category the album should go to</li>
+<li>Click &quot;Update Album&quot;</li>
+</ul>
+<br /><div class="totop">[<a href="#top" class="nodeco">top of page</a>]</div><hr />
+
+<a name="moveGallery"></a>
+<h3>How can I <b>move my gallery to another host</b>?</h3>
+<ul>
+<li>Backup your files: FTP-download your complete coppermine-folder to your hard drive</li>
+<li>use a tool like phpMyAdmin to get a dump (backup) of your mySQL database entries. More info <a href="http://coppermine-gallery.net/demo/cpg14x/docs/faq.htm#BackupDatabase">here</a></li>
+<li>verify your backup is working: check if the mySQL-dump contains all data (open the zipped dump file and use a text editor to view it)</li>
+<li>on the new server: FTP-upload your coppermine-folder to the new server</li>
+<li>CHMOD the folder /albums to 755 or 777 (depending on your server config]</li>
+<li>restore the mySQL table by running the queries of the dump files you created in step 2</li>
+<li>test-drive your coppermine gallery - you should be done</li>
+</ul>
+<br /><div class="totop">[<a href="#top" class="nodeco">top of page</a>]</div><hr />
+
+<a name="oneFileMultipleAlbums"></a>
+<h3>How do I <b>show the same file in multiple albums</b>?</h3>
+<p>The <b>Album Keyword</b> in <a href="http://coppermine-gallery.net/demo/cpg14x/docs/index.htm#album_prop">Album Properties</a> is used to link images from one album into another. Using this method, files/images can be displayed in various albums while the file itself need only exists in one album on your webserver.  You simply upload a file to one album as you would normally do, then assign one or more keywords to the file. The keyword function reads blank spaces between words as a 'break' and assumes that these words are separate words.  If you must use phrases for your keywords, connect them with an underscore or by using the ascii space holder ctrl+Alt+0160 (NOTE: the latter option only works with latin based character sets.)  Each album can only have ONE (1) keyword or keyword phrase.  All pictures residing in different albums that you would like to be displayed in this album must have the same keyword or keyword phrase in their respective keyword fields.  Pictures, unlike albums, can have multiple keywords or keyword phrases separated by spaces. This provides you with the option to display pictures in many albums.  For the visitor of these albums, it will appear as if the file/image had been uploaded to each. </p>
+<p>If you use album keywords to display images/files in more than one album, enabling the Config option, Show number of linked files, will display additional information for the album stats. That is, if an album doesn't only contain &quot;regular&quot; files, but files linked via the "album keyword" option as well, the number of linked files will be displayed separately like this "3 files, last one added on Oct 07, 2004<em>, 3 linked files, 6 files total</em>".</p>
+<br /><div class="totop">[<a href="#top" class="nodeco">top of page</a>]</div><hr />
+
+<h2>Add-ons / Modifications / Hacks</h2><a name="letUserSelectTheme"></a>
+<a name="changeOrderEdit"></a>
+<h3>How can I change the order of the pics <u>when <b>editing</b> them</u>?</h3>
+<p>By default, the pics are shown alphabetically when you edit them. To change the sorting order to &quot;by date&quot;, edit <tt class="code">editpics.php</tt> and change<br />
+<pre>$sql = &quot;SELECT p.*,a.category FROM {$CONFIG['TABLE_PICTURES']} as p &quot;.
+                           &quot;INNER JOIN {$CONFIG['TABLE_ALBUMS']} as a &quot;.
+                           &quot;ON a.aid=p.aid &quot;.
+                           &quot;WHERE p.aid = '$album_id' &quot;.
+                           &quot;ORDER BY p.filename LIMIT $start, $count&quot;;
+                $result = cpg_db_query($sql);</pre><br />to<br />
+<pre>$sql = &quot;SELECT p.*,a.category FROM {$CONFIG['TABLE_PICTURES']} as p &quot;.
+                           &quot;INNER JOIN {$CONFIG['TABLE_ALBUMS']} as a &quot;.
+                           &quot;ON a.aid=p.aid &quot;.
+                           &quot;WHERE p.aid = '$album_id' &quot;.
+                           &quot;ORDER BY pid LIMIT $start, $count&quot;;
+                $result = cpg_db_query($sql);</pre><br /></p><br />
+<div class="totop">[<a href="#top" class="nodeco">top of page</a>]</div><hr /><a name="rightHandMenu"></a>
+<h3>How can I create a menu that&#39;s shown on the <b>right side</b> of the gallery?</h3>
+<p>When the template.html is read, it is split in 2. What is before the {GALLERY} tag is output by the pageheader function, what is after by the pagefooter function.<br />
+If your menu is in the &quot;footer&quot; you need to modify your theme.php file <br />
+<pre>   $template_vars = array(
+      &#39;{LANG_DIR}&#39; => $lang_text_dir,
+      &#39;{TITLE}&#39; => $CONFIG[&#39;gallery_name&#39;].&#39; - &#39;.$section,
+      &#39;{CHARSET}&#39; => $CONFIG[&#39;charset&#39;] == &#39;language file&#39; ? $lang_charset : $CONFIG[&#39;charset&#39;],
+      &#39;{META}&#39; => $meta,
+      &#39;{GAL_NAME}&#39; => $CONFIG[&#39;gallery_name&#39;],
+      &#39;{GAL_DESCRIPTION}&#39; => $CONFIG[&#39;gallery_description&#39;],
+      &#39;{MAIN_MENU}&#39; => theme_main_menu(),
+      &#39;{ADMIN_MENU}&#39; => theme_admin_mode_menu()
+   );
+
+   echo template_eval($template_header, $template_vars);</pre>
+   will become
+<pre>   $template_vars = array(
+      &#39;{LANG_DIR}&#39; => $lang_text_dir,
+      &#39;{TITLE}&#39; => $CONFIG[&#39;gallery_name&#39;].&#39; - &#39;.$section,
+      &#39;{CHARSET}&#39; => $CONFIG[&#39;charset&#39;] == &#39;language file&#39; ? $lang_charset : $CONFIG[&#39;charset&#39;],
+      &#39;{META}&#39; => $meta,
+      &#39;{GAL_NAME}&#39; => $CONFIG[&#39;gallery_name&#39;],
+      &#39;{GAL_DESCRIPTION}&#39; => $CONFIG[&#39;gallery_description&#39;],
+   );
+
+   echo template_eval($template_header, $template_vars);</pre>
+and<br /><tt class="code">echo $template_footer;</tt><br />
+will become<br />
+<pre>   $template_vars = array(
+      &#39;{MAIN_MENU}&#39; => theme_main_menu(),
+      &#39;{ADMIN_MENU}&#39; => theme_admin_mode_menu()
+   );
+
+   echo template_eval($template_footer, $template_vars);</pre>
+<br /></p><br /><div class="totop">[<a href="#top" class="nodeco">top of page</a>]</div><hr /><a name="jumpToPrivateAlbum"></a>
+<h3>How can I send a user <b>directly to his private album</b> once he logs in?</h3>
+<p>edit<br /><tt class="code">login.php</tt><br />and search for<br />
+<tt class="code">pageheader($lang_login_php[&#39;login&#39;],&quot;&lt;META http-equiv=\&quot;refresh\&quot; content=\&quot;3;url=$referer\&quot;&gt;&quot;);</tt><br />
+<br />and add <b>before</b> it<br />
+<tt class="code">$referer = &#39;index.php?cat=&#39;.(FIRST_USER_CAT+$USER_DATA[&#39;user_id&#39;]); </tt><br /><br /></p><br /><div class="totop">[<a href="#top" class="nodeco">top of page</a>]</div><hr /><a name="registeredUsersOnly"></a>
+<h3>How can I <b>prevent unregistered users</b> from viewing the gallery?</h3>
+<p>In Config, when &quot;Allow unlogged users (guest or anonymous) access&quot; is set to &quot;No&quot;, unlogged users (i.e. guests or anonymous users) can not access anything in your gallery except the login screen (and the registration screen, if you allow registrations). Completely disabling anonymous access will probably decrease your site's popularity. Use this option only if you need your gallery to be absolutely private. The recommended setting is to leave anonymous access enabled and use the more specific permissions by groups and albums settings instead.<br /><br />
+<h3>How can I <b>display the name of the uploader</b> with the picture info?</h3>
+<p><b>Warning</b>: this is quite a complicated hack for a newbie to perform! Make sure to back up your original files before attempting this.<br />Edit displayimage.php and search for:<br />
+<tt class="code">   $info[$lang_picinfo[&#39;Filename&#39;]]   = htmlspecialchars($CURRENT_PIC_DATA[&#39;filename&#39;]);</tt><br />add after it:<br />
+<tt class="code">   $info[$lang_picinfo[&#39;Username&#39;]]   = htmlspecialchars($CURRENT_PIC_DATA[&#39;user_name&#39;]);</tt>.<br />
+Then open /include/functions.inc.php and search for following in function get_pic_data():<br />
+<tt class="code">      if($select_columns != &#39;*&#39;) $select_columns .= &#39;, title, caption&#39;;</tt><br />and replace it with:<br />
+<tt class="code">      if($select_columns != &#39;*&#39;) $select_columns .= &#39;, title, caption, user_name&#39;;</tt>.<br />
+After that search for:<br />
+<tt class="code">      $result = cpg_db_query("SELECT $select_columns from {$CONFIG[&#39;TABLE_PICTURES&#39;]} WHERE aid=&#39;$album&#39; $approved $ALBUM_SET ORDER BY $sort_order $limit");</tt><br />
+and replace it with:<br />
+<tt class="code">      $result = cpg_db_query("SELECT $select_columns from {$CONFIG[&#39;TABLE_PICTURES&#39;]} AS p LEFT JOIN {$CONFIG[&#39;TABLE_USERS&#39;]} AS u ON u.user_id = p.owner_id WHERE p.aid=&#39;$album&#39; $approved $ALBUM_SET ORDER BY $sort_order $limit");</tt><br />Then you have to add the language string for the username. Open /lang/yourlang.php and search for:<br />
+<tt class="code">$lang_picinfo = array(</tt><br />
+and add after that:<br />
+<tt class="code">        &#39;Username&#39; => &#39;Username&#39;,</tt><br />
+Also you need to execute this query in MySQL (with a tool like <a href="http://www.phpmyadmin.net">phpMyAdmin</a>):<br />
+<tt class="code">ALTER TABLE `cpg11d_pictures` ADD INDEX ( `owner_id` );</tt><br />
+(<b>NOTE:</b> If your database table_prefix is not &quot;cpg11d_&quot;, you will need to change it in the query)<br /><br /></p><br /><div class="totop">[<a href="#top" class="nodeco">top of page</a>]</div><hr /><a name="linksInCustomFields"></a>
+<h3>How do I enable clickable <b>links in custom user fields</b>?</h3>
+<p>Edit displayimage.php and change<br />
+<tt class="code">$info[$CONFIG[&#39;user_field&#39;.$i.&#39;_name&#39;]] = make_clickable($CURRENT_PIC_DATA[&#39;user&#39;.$i]); </tt><br />
+into<br />
+<tt class="code">$info[$CONFIG[&#39;user_field&#39;.$i.&#39;_name&#39;]] = bb_decode($CURRENT_PIC_DATA[&#39;user&#39;.$i]); </tt><br />&nbsp;<br />
+This will allow you to use BBCodes in the custom fields: you can then have something like<br />
+<tt class="code">[url]http://www.somesite.com/foo/bar.php?whatever=42[/url]</tt><br />
+or<br />
+<tt class="code">[url=http://www.somesite.com/foo/bar.php?whatever=42]link to some site![/url]</tt><br />in your custom user fields (the display of which, of course, has to be enabled in the config page, begin with).<br /><br /></p><br /><div class="totop">[<a href="#top" class="nodeco">top of page</a>]</div><hr />
+
+<a name="sortThumbsByCustomField"></a>
+<h3>How can I <b>sort the thumbnails by user defined (custom) fields</b>?</h3>
+<p><ol>
+<li>Edit /includes/functions.inc.php<br />
+change<br />
+<pre>$sort_array = array(&#39;na&#39; => &#39;filename ASC&#39;, &#39;nd&#39; => &#39;filename DESC&#39;, &#39;da&#39; => &#39;pid ASC&#39;, &#39;dd&#39; => &#39;pid DESC&#39;); </pre>
+to<br />
+<pre>   $sort_array = array(
+      &#39;na&#39; => &#39;filename ASC&#39;,
+      &#39;nd&#39; => &#39;filename DESC&#39;,
+      &#39;da&#39; => &#39;pid ASC&#39;,
+      &#39;dd&#39; => &#39;pid DESC&#39;,
+      &#39;f1a&#39; => &#39;user1 ASC&#39;,
+      &#39;f1d&#39; => &#39;user1 DESC&#39;,
+      &#39;f2a&#39; => &#39;user2 ASC&#39;,
+      &#39;f2d&#39; => &#39;user2 DESC&#39;,
+      &#39;f3a&#39; => &#39;user3 ASC&#39;,
+      &#39;f3d&#39; => &#39;user3 DESC&#39;,
+      &#39;f4a&#39; => &#39;user1 ASC&#39;,
+      &#39;f4d&#39; => &#39;user1 DESC&#39;
+   );
+</pre></li>
+<li>Edit /themes/yourtheme/theme.php<br />
+<ul>
+<li>change<br />
+<pre>   // The sort order options are not available for meta albums
+   if ($sort_options){
+
+      $param = array(
+         &#39;{ALBUM_NAME}&#39; => $album_name,
+         &#39;{AID}&#39; => $aid,
+         &#39;{PAGE}&#39; => $page,
+         &#39;{NAME}&#39; => $lang_thumb_view[&#39;name&#39;],
+         &#39;{DATE}&#39; => $lang_thumb_view[&#39;date&#39;],
+         &#39;{SORT_NA}&#39; => $lang_thumb_view[&#39;sort_na&#39;],
+         &#39;{SORT_ND}&#39; => $lang_thumb_view[&#39;sort_nd&#39;],
+         &#39;{SORT_DA}&#39; => $lang_thumb_view[&#39;sort_da&#39;],
+         &#39;{SORT_DD}&#39; => $lang_thumb_view[&#39;sort_dd&#39;],
+         );</pre>
+<br />
+to<br />
+<pre>   // The sort order options are not available for meta albums
+   if ($sort_options){
+
+      $param = array(
+         &#39;{ALBUM_NAME}&#39; => $album_name,
+         &#39;{AID}&#39; => $aid,
+         &#39;{PAGE}&#39; => $page,
+         &#39;{NAME}&#39; => $lang_thumb_view[&#39;name&#39;],
+         &#39;{DATE}&#39; => $lang_thumb_view[&#39;date&#39;],
+         &#39;{SORT_NA}&#39; => $lang_thumb_view[&#39;sort_na&#39;],
+         &#39;{SORT_ND}&#39; => $lang_thumb_view[&#39;sort_nd&#39;],
+         &#39;{SORT_DA}&#39; => $lang_thumb_view[&#39;sort_da&#39;],
+         &#39;{SORT_DD}&#39; => $lang_thumb_view[&#39;sort_dd&#39;],
+         // Exxodus Sorting
+         &#39;{FIELD1}&#39; => $CONFIG[&#39;user_field1_name&#39;],
+         &#39;{FIELD2}&#39; => $CONFIG[&#39;user_field2_name&#39;],
+         &#39;{FIELD3}&#39; => $CONFIG[&#39;user_field3_name&#39;],
+         &#39;{FIELD4}&#39; => $CONFIG[&#39;user_field4_name&#39;],
+         // Exxodus Sorting
+         );</pre>&nbsp;
+</li>
+<li>modify the lines after <tt class="code">$template_thumb_view_title_row </tt> like this:<br />
+<pre>// HTML template for title row of the thumbnail view (album title + sort options)
+// Exxodus (Adding Sorting by UserField)
+$template_thumb_view_title_row = &lt;&lt;&lt;EOT
+
+         &lt;table width=&quot;100%&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot;&gt;
+         &lt;tr&gt;
+            &lt;td width=&quot;100%&quot; class=&quot;statlink&quot;&gt;&lt;h2&gt;{ALBUM_NAME}&lt;/h2&gt;&lt;/td&gt;
+            &lt;td&gt;&lt;img src=&quot;images/spacer.gif&quot; width=&quot;1&quot;&gt;&lt;/td&gt;
+            &lt;td class=&quot;sortorder_cell&quot;&gt;
+               &lt;table height=&quot;100%&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot;&gt;
+               &lt;tr&gt;
+                  &lt;td class=&quot;sortorder_options&quot;&gt;{NAME}&lt;/td&gt;
+                  &lt;td class=&quot;sortorder_options&quot;&gt;&lt;span class=&quot;statlink&quot;&gt;
+                  &lt;a href=&quot;thumbnails.php?album={AID}&page={PAGE}&sort=na&quot; title=&quot;{SORT_NA}&quot;&gt;&+&&lt;/a&gt;/&lt;/span&gt;&lt;/td&gt;
+                  &lt;td class=&quot;sortorder_options&quot;&gt;&lt;span class=&quot;statlink&quot;&gt;
+                  &lt;a href=&quot;thumbnails.php?album={AID}&page={PAGE}&sort=nd&quot; title=&quot;{SORT_ND}&quot;&gt;&-&&lt;/a&gt;&lt;/span&gt;&lt;/td&gt;
+               &lt;/tr&gt;
+               &lt;tr&gt;
+                  &lt;td class=&quot;sortorder_options&quot;&gt;{DATE}&lt;/td&gt;
+                  &lt;td class=&quot;sortorder_options&quot;&gt;&lt;span class=&quot;statlink&quot;&gt;
+                  &lt;a href=&quot;thumbnails.php?album={AID}&page={PAGE}&sort=da&quot; title=&quot;{SORT_DA}&quot;&gt;&+&&lt;/a&gt;/&lt;/span&gt;&lt;/td&gt;
+                  &lt;td class=&quot;sortorder_options&quot;&gt;&lt;span class=&quot;statlink&quot;&gt;
+                  &lt;a href=&quot;thumbnails.php?album={AID}&page={PAGE}&sort=dd&quot; title=&quot;{SORT_DD}&quot;&gt;&-&&lt;/a&gt;&lt;/span&gt;&lt;/td&gt;
+               &lt;/tr&gt;
+               &lt;/table&gt;
+            &lt;/td&gt;
+            &lt;td&gt;&lt;img src=&quot;images/spacer.gif&quot; width=&quot;10&quot;&gt;&lt;/td&gt;
+            &lt;td class=&quot;sortorder_cell&quot;&gt;
+               &lt;table height=&quot;100%&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot;&gt;
+               &lt;tr&gt;
+                  &lt;td class=&quot;sortorder_options&quot;&gt;{FIELD1}&lt;/td&gt;
+                  &lt;td class=&quot;sortorder_options&quot;&gt;&lt;span class=&quot;statlink&quot;&gt;
+                  &lt;a href=&quot;thumbnails.php?album={AID}&page={PAGE}&sort=f1a&quot;&gt;&+&&lt;/a&gt;/&lt;/span&gt;&lt;/td&gt;
+                  &lt;td class=&quot;sortorder_options&quot;&gt;&lt;span class=&quot;statlink&quot;&gt;
+                  &lt;a href=&quot;thumbnails.php?album={AID}&page={PAGE}&sort=f1d&quot;&gt;&-&&lt;/a&gt;&lt;/span&gt;&lt;/td&gt;
+               &lt;/tr&gt;
+               &lt;tr&gt;
+                  &lt;td class=&quot;sortorder_options&quot;&gt;{FIELD2}&lt;/td&gt;
+                  &lt;td class=&quot;sortorder_options&quot;&gt;&lt;span class=&quot;statlink&quot;&gt;
+                  &lt;a href=&quot;thumbnails.php?album={AID}&page={PAGE}&sort=f2a&quot;&gt;&+&&lt;/a&gt;/&lt;/span&gt;&lt;/td&gt;
+                  &lt;td class=&quot;sortorder_options&quot;&gt;&lt;span class=&quot;statlink&quot;&gt;
+                  &lt;a href=&quot;thumbnails.php?album={AID}&page={PAGE}&sort=f2d&quot;&gt;&-&&lt;/a&gt;&lt;/span&gt;&lt;/td&gt;
+               &lt;/tr&gt;
+               &lt;/table&gt;
+            &lt;/td&gt;
+            &lt;td&gt;&lt;img src=&quot;images/spacer.gif&quot; width=&quot;10&quot;&gt;&lt;/td&gt;
+            &lt;td class=&quot;sortorder_cell&quot;&gt;
+               &lt;table height=&quot;100%&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot;&gt;
+               &lt;tr&gt;
+                  &lt;td class=&quot;sortorder_options&quot;&gt;{FIELD3}&lt;/td&gt;
+                  &lt;td class=&quot;sortorder_options&quot;&gt;&lt;span class=&quot;statlink&quot;&gt;
+                  &lt;a href=&quot;thumbnails.php?album={AID}&page={PAGE}&sort=f3a&quot;&gt;&+&&lt;/a&gt;/&lt;/span&gt;&lt;/td&gt;
+                  &lt;td class=&quot;sortorder_options&quot;&gt;&lt;span class=&quot;statlink&quot;&gt;
+                  &lt;a href=&quot;thumbnails.php?album={AID}&page={PAGE}&sort=f3d&quot;&gt;&-&&lt;/a&gt;&lt;/span&gt;&lt;/td&gt;
+               &lt;/tr&gt;
+               &lt;tr&gt;
+                  &lt;td class=&quot;sortorder_options&quot;&gt;{FIELD4}&lt;/td&gt;
+                  &lt;td class=&quot;sortorder_options&quot;&gt;&lt;span class=&quot;statlink&quot;&gt;
+                  &lt;a href=&quot;thumbnails.php?album={AID}&page={PAGE}&sort=f4a&quot;&gt;&+&&lt;/a&gt;/&lt;/span&gt;&lt;/td&gt;
+                  &lt;td class=&quot;sortorder_options&quot;&gt;&lt;span class=&quot;statlink&quot;&gt;
+                  &lt;a href=&quot;thumbnails.php?album={AID}&page={PAGE}&sort=f4d&quot;&gt;&-&&lt;/a&gt;&lt;/span&gt;&lt;/td&gt;
+               &lt;/tr&gt;
+               &lt;/table&gt;
+            &lt;/td&gt;
+         &lt;/tr&gt;
+         &lt;/table&gt;
+
+EOT;</pre>
+
+</li>
+</ul>
+</li>
+</ol><br /></p><br /><div class="totop">[<a href="#top" class="nodeco">top of page</a>]</div><hr /><a name="iptcSupport"></a>
+<h3>How do I <b>enable IPTC support</b>?</h3>
+<p>Edit <tt class="code">/includes/picmgmt.inc.php</tt> and search for<br />
+<tt class="code">        $imagesize = getimagesize($image);</tt><br />
+replace this with:<br />
+<pre>$imagesize = getimagesize($image,&$info);
+$iptc = iptcparse($info["APP13"]);
+if (is_array($iptc)) {
+$caption.=$iptc[&#39;2#120&#39;][0];
+$title.=$iptc[&#39;2#105&#39;][0];
+(is_array($iptc[&#39;2#025&#39;])) && ($keywords.=implode(" ", $iptc[&#39;2#025&#39;]));
+}</pre>
+NOTE: This hack hasn&#39;t been thoroughly tested, use at your own risk...!<br /></p><br /><div class="totop">[<a href="#top" class="nodeco">top of page</a>]</div><hr />
+
+
+<a name="commonPHPerrors"></a>
+<h3>Common PHP errors and how to get rid of them...</h3>
+<p>There are a lot of people (especially PHP newbies) that post questions like <tt class="code">I get the error &quot;Parse error: parse error in XXX&quot;</tt> and don&#39;t know what to do about it. That&#39;s why I translated this list of common errors (and a solution how to fix them) from the original german article in <a href="http://www.drweb.de" class="external">Dr. Web</a> :<br />
+<ul>
+<li><tt class="code">Parse error: parse error in C:\Apache\htdocs\read.php on line 8</tt> - This error message refers to an error in the PHP syntax. You probably forgot to end a line with <tt class="code">;</tt> or you have too many brackets opened or closed (<tt class="code">{</tt>).</li>
+<li><tt class="code">Fatal error: Call to unsupported/undefined function ... in C:\Apache\htdocs\read.php on line 8</tt> - This error means that the function your script was going to use isn&#39;t defined in the current PHP version with modules, or if you&#39;re using user-defined functions that your function hasn&#39;t been defined yet (this is usually caused if you forgot to include the function definition).</li>
+<li><tt class="code">Warning: Wrong parameter ... for ... in C:\Apache\htdocs\read.php on line 8</tt> - you have handed over too many (or the wrong) parameters to the function. If it&#39;s a built-in php-function, check the <a href="http://www.php.net/manual/en/funcref.php" class="external"> manual; </a> to see if it&#39;s a user-defined function, then recheck your code.</li>
+<li><tt class="code">Warning: Cannot add header information - header was already sent ... in C:\Apache\htdocs\read.php on line 4</tt> - you had some text output first (e.g. the doctype declaration or <tt class="code">&lt;html&gt;</tt>) and called the function header() afterwards. This is most often the case when using cookie stuff. Remember you can not use header() twice!</li>
+<li><tt class="code">Parse error: parser stack overflow in C:\Apache\htdocs\read.php</tt> - PHP is out of memory - this usually happens if you built an eternal loop, especially when using include statements.</li>
+<li><tt class="code">Warning: fopen("file.txt","r+") - No such file or directory</tt> - the requested file or directory doesn&#39;t exist. Check the spelling (accuracy counts here).</li>
+<li><tt class="code">SAFE MODE Restriction in effect. The script whose uid is 531 is not allowed to access...</tt> - The safe mode is switched on. Some functions in the upload systems can&#39;t be used. Usually your webhost has put safe mode in place (often not correctly configured). Try switching silly_safe_mode on.</li>
+</ul>
+<br /></p><br /><div class="totop">[<a href="#top" class="nodeco">top of page</a>]</div><hr />
+
+
+<a name="renameTemplateHtml"></a>
+<h3>Can I rename template.html to template.php to include PHP code in my template?</h3>
+<p>No, this is simply not the way coppermine works; for &quot;normal&quot; pages the name of the extension tells the webserver whether the file should be parsed by the PHP interpreter. The template files within the themes folder are not being parsed this way - the extension .html was just chosen to make editing easier. You can not have PHP code in the template file, no matter how you name it - that's all there is to it!</p><br /><div class="totop">[<a href="#top" class="nodeco">top of page</a>]</div><hr />
+
+<a name="preventPictureStealing"></a>
+<h3>How can I prevent users from saving (stealing) my pictures?</h3>
+<p>You can not completely prevent users from stealing your pics - that's the way the www works: if a picture is being displayed in the browser, the user already has a copy of it on his hard drive. There are however some methods to make it harder for newbie users to steal your pics:
+<ul>
+<li>Add a watermark to your images before you upload them</li>
+<li>Apply one of the watermark-hacks: <a href="http://coppermine.sourceforge.net/board/index.php?topic=1467.0">Coppermine support board / mods / Watermarking hack (w/ ImageMagick)</a>, <a href="http://coppermine.sourceforge.net/board/index.php?topic=3269.0">Coppermine support board / mods / Watermark on a per image basis (GD)</a>, <a href="http://coppermine.sourceforge.net/board/index.php?topic=7160.0">Coppermine support board / mods / Permanent Watermark with GD2</a>. Please note that those hacks will result in a high server load, as the watermark is applied to a picture each time a users views the picture in his browser.</li>
+<li>Prevent Internet Explorer to show the image toolbar when a user hovers over a pic with the mouse. Edit themes/yourtheme/template.html, find <tt class="code">&lt;meta http-equiv="Pragma" content="no-cache" /&gt;</tt> and add after it <tt class="code">&lt;meta http-equiv="imagetoolbar" content="no" /&gt;</tt></li>
+<li>Use one of the many &quot;no right-click&quot; scripts that are available (e.g. <a href="http://coppermine.sourceforge.net/board/index.php?topic=2450.0">Coppermine support board / mods / no right-click</a> or <a href="http://www.codelifter.com/main/javascript/norightclick1.html" class="external">codelifter.com: no right-click</a>)</li>
+</ul>
+<br /></p>
+<br />
+<div class="totop">[<a href="#top" class="nodeco">top of page</a>]</div><hr />
+
+
+
+<br />&nbsp;<br />
+<h2>I&#39;m running my own server</h2><a name="enableGD"></a>
+<h3>How do I <b>enable gd</b> on my Windows server?</h3>
+<p>GD 1.x 2.x are normally part of all standard PHP distributions under Windows<br />
+To check if you have it, go to the directory where you installed PHP, go to the &quot;extensions&quot; subdir and see if you have a file named "php_gd2.dll".<br />
+Ocassionally, you will also need to edit your php.ini file (located in windows directory normally) and remove the &quot;;&quot; that is at the beginning of the line:<br />
+<tt class="code">extension=php_gd2.dll</tt> (at the end of the file). This will cause PHP to load the GD2 extension.<br />
+Whenever you make changes to php.ini, remember that you will need to restart your webserver before changes become effective.<br />
+ImageMagick it quite complicated to use under Windows<br />
+Greg<br /></p><br /><div class="totop">[<a href="#top" class="nodeco">top of page</a>]</div><hr />
+<a name="enableIMonWindows"></a>
+<h3>How do I <b>enable ImageMagick</b> on my Windows server?</h3>
+<p>ImageMagick is quite complicated to set up on Windows. There are several things to be taken into account. The Coppermine support board is <b>not</b> the right place to ask for help on installing it, as it deals with Coppermine, not &quot;How to set up a server&quot; (most people on the Coppermine boards don&#39;t run their own webserver, but they have webspace by a webhost). Instead, try to find support boards on the internet that deal with this special topic.<br /><br /></p><br /><div class="totop">[<a href="#top" class="nodeco">top of page</a>]</div><hr />
+
+<br />&nbsp;<br />
+<h2>Coppermine Support board</h2>These are (alas) not-so-frequently-asked-questions on the support board. Before posting on the Support board (or, in fact, any board), please read this:
+<a name="phpNewbie"></a>
+<h3>I <b>don&#39;t know</b> PHP/mySQL...</h3>
+<p>No problem with that, everyone stars as a newbie. <b></b>Just don&#39;t start each and every posting by stating &quot;I&#39;m a newbie&quot;, &quot;I don&#39;t know anything about PHP&quot; etc.<br />Usually, one can acertain that from your question itself. There's no need to apologize. Most of us can still remember when we were in your shoes.<br /></p><br /><div class="totop">[<a href="#top" class="nodeco">top of page</a>]</div><hr /><a name="lamesupport"></a>
+<h3>I&#39;ve posted my question a while ago, but <b>nobody answers</b>. What the...?</h3>
+<p>The support board is <b>not</b> a hotline. Although there are many visitors to the site, only a few do actually support - on a unpaid, voluntary basis. Yes, we don&#39;t receive remuneratio for our contributions and we each have a life, a job, family and more. We are away sometimes, as well. So, please, be patient, read the docs and search the boards while you are waiting.<br />If you don&#39;t get an answer to your question:
+<ul>
+<li>make sure you have given us enough time to react (days, not hours!)</li>
+<li>maybe nobody knows the answer to your problem</li>
+<li>maybe your question has been asked very often</li>
+<li>maybe your posting has been rude or impolite and you&#39;re ignored for that reason</li>
+<li>maybe you requested a feature that requires a lot of coding, and none of those who are able to do it have a need for the feature</li>
+</ul><br /></p><br /><div class="totop">[<a href="#top" class="nodeco">top of page</a>]</div><hr /><a name="howtoask"></a>
+<h3>How should I write my <b>question</b>?</h3>
+<p>If you have a question, make sure you provide as much information as possible:
+<ul>
+<li>a link to your gallery, with a test account ID and test account password, is most often the only way to help - provide it with your question, or even better: edit your profile on the support board and enter the url of your page there!</li>
+<li>when addressing server issues, make sure to provide information on your server (<acronym class="tool" title="operation system">OS</acronym>, server, PHP version, mySQL version, gd lib version, safe mode on/off?). Most information can be retrieved by <a href="#VersionGD">phpinfo()</a></li>
+<li>if it&#39;s a client issue, give us information at least to your client&#39;s <acronym class="tool" title="operation system">OS</acronym> and browser</li>
+<li>Give us a screenshot, if necessary</li>
+<li>use a proper subject line: state in the subject line what your question is actually about! Most supporters are reluctant to answer to a posting that has a silly subject line like &quot;I have a question&quot; or &quot;Install problem&quot; or &quot;feature request&quot; or &quot;help me pleeeeaaaase&quot;</li>
+</ul><br /></p><br /><div class="totop">[<a href="#top" class="nodeco">top of page</a>]</div><hr /><a name="firstSteps"></a>
+<h3>I&#39;ve run into trouble. What should I do first (<b>before posting</b> on the board)?</h3>
+<p><ul>
+<li>read the readme that comes with the coppermine distribution</li>
+<li>read the documentation</li>
+<li>read this FAQ</li>
+<li><a href="http://coppermine.sourceforge.net/board/index.php?action=search">Search</a> the support board</li>
+<li>enable debug mode (log in as admin, admin mode, config, debug mode)</li>
+<li>choose the right support board: if you&#39;re running the phpnuke-port of coppermine, don&#39;t post in the support board for the standalone version and vice versa</li>
+</ul><br /></p><br /><div class="totop">[<a href="#top" class="nodeco">top of page</a>]</div><hr /><a name="nonEnglishPosting"></a>
+<h3>Hey, by looking at your profile I can see you&#39;re German/French/Whatever. Can I post a question in that <b>language</b>?</h3>
+<p>If you are posting in the English support boards, pPlease do not post in some other language - in this way, others may benefit from your question (and the answers you receive ), too. Don&#39;t be afraid to write &quot;poor english&quot; - no one will laugh at you, and most of our visitor&#39;s first language isn&#39;t english to begin with! There&#39;s a german support board available at <a href="http://forum.the-service.de/" class="external">http://forum.the-service.de/</a> - use it if you are more comfortable with German and you&#39; not able to write in English!<br /></p>
+<p>We have <a href="http://coppermine.sourceforge.net/board/index.php?board=37.0">language-specific support boards</a> for Chinese and French.</p><br /><div class="totop">[<a href="#top" class="nodeco">top of page</a>]</div><hr /><a name="emailSupport"></a>
+<h3>May I email/<acronym title="private message" class="tool">pm</acronym>/<acronym title="instant message" class="tool">im</acronym> you for <b>support</b>?</h3>
+<p>No you mustn&#39;t! Post your question on the <a href="http://coppermine.sourceforge.net/board/">Coppermine support board</a> (publicly) - if we (the community) don&#39;t find a solution <b>and</b> <i>I</i> have the time <b>and</b> <i>I</i> want to <i>I</i>&#39;ll email/pm/im <i>you</i>!<br />
+</p><br /><div class="totop">[<a href="#top" class="nodeco">top of page</a>]</div><hr />
+
+<a name="aboutTeam"></a>
+<h3><b>Who</b> are you anyway?</h3>
+<p>We are a group of people who decided to form a team to develop Coppermine further - check the <a href="http://coppermine.sourceforge.net/team/">team</a> page for details...<br /></p><br /><div class="totop">[<a href="#top" class="nodeco">top of page</a>]</div><hr />
+
+
+<br />&nbsp;<br />
+
+This FAQ is a work in progress, please contribute in the <a href="http://coppermine.sourceforge.net/board/">Coppermine Photo Gallery Support Board</a> (don't contact me to ask for fixes of your Coppermine install). Please report any bugs, typos etc.<br />Check the <a href="http://coppermine-gallery.net/demo/cpg14x/docs/faq.htm">online-version of this document</a> for updates!<br />Have fun!<br />
+<br />
+GauGau (aka Joachim Mueller) - coppermine dev team
+
+
+
+
+
+<a name=""></a>
+<h3></h3>
+<p>
+<br /></p>
+<br />
+<div class="totop">[<a href="#top" class="nodeco">top of page</a>]</div><hr />
+
+
+
+<hr />
+<a href="http://sourceforge.net"><img src="http://sourceforge.net/sflogo.php?group_id=89658&amp;type=1" width="88" height="31" border="0" alt="SourceForge.net Logo" align="left" /><span class="small">Powered by Sourceforge.net</span></a>
+</body>
 </html>
\ No newline at end of file
diff -x .svn -aruN 1.4.24.src/docs/index_es.htm 1.4.25.src/docs/index_es.htm
--- 1.4.24.src/docs/index_es.htm	2009-05-21 15:03:09.000000000 -0500
+++ 1.4.25.src/docs/index_es.htm	2009-05-26 11:25:48.000000000 -0500
@@ -14,7 +14,7 @@
 <meta http-equiv="imagetoolbar" content="no"><!-- SVN version info: $Id: index.htm 3305 2006-10-16 02:46:59Z nibbler999 $ -->
 <!--
   Subversion information (for information and developer purposes only - safe to ignore for everybody else):
-  Coppermine version: 1.4.24
+  Coppermine version: 1.4.25
   $HeadURL: https://coppermine.svn.sourceforge.net/svnroot/coppermine/trunk/cpg1.4.x/docs/index.htm $
   $Revision: 4392 $
   $Author: gaugau $
diff -x .svn -aruN 1.4.24.src/docs/index_fr.htm 1.4.25.src/docs/index_fr.htm
--- 1.4.24.src/docs/index_fr.htm	2009-05-24 05:04:28.000000000 -0500
+++ 1.4.25.src/docs/index_fr.htm	2009-05-26 11:25:48.000000000 -0500
@@ -1,1911 +1,1911 @@
-<!doctype html public "-//W3C//DTD HTML 4.01 Transitional//EN">
-<html>
-<head>
-<title>Coppermine Photo Gallery - Documentation et Manuel d'aide en Français</title>
-<meta http-equiv="content-type" content="text/html; charset=UTF-8">
-<meta name="language"    content="fr">
-<meta name="author"      content="Coppermine dev team">
-<meta name="translator" content="Frantz">
-<meta name="copyright"   content="Coppermine dev team">
-<meta name="description" content="Coppermine Photo Gallery project - Coppermine is an easily set-up, fast, feature-rich photo gallery script with mySQL database, user management, private galleries, automatic thumbnail creation, ecard feature and a template system for easy customization to match the rest of a site.">
-<meta name="keywords"    content="photo,gallery,galery,image,coppermine,php,mysql,easy,feature,phpnuke,thumbnail,automatic,creation,gd,Image Magick,ecard">
-<meta name="page-topic"    content="photo,gallery,galery,image,coppermine,php,mysql,easy,feature,phpnuke,thumbnail,automatic,creation,gd,Image Magick,ecard">
-<meta http-equiv="Content-Style-Type" content="text/css">
-<meta name="MSSmartTagsPreventParsing" content="true">
-<meta http-equiv="imagetoolbar" content="no">
-<!--
-  Subversion information (for information and developer purposes only - safe to ignore for everybody else):
-  Coppermine version: 1.4.24
-  $HeadURL: https://coppermine.svn.sourceforge.net/svnroot/coppermine/trunk/cpg1.4.x/docs/index_fr.htm $
-  $Revision: 5979 $
-  $Author: frantzk $
-  $Date: 2009-05-24 12:04:52 +0200 (So, 24 Mai 2009) $
--->
-<link rel="stylesheet" type="text/css" href="style.css">
-</head>
-<body>
-<table cellspacing="0" cellpadding="0" width="100%" border="0">
-  <tbody>
-  <tr>
-    <td>
-                        <p><img src="pics/fr_coppermine_logo_french.jpg" alt="Galerie Photo Coppermine - Votre Galerie Photo en ligne" />
-<h1>Galerie Photo Coppermine v1.4.24: Documentation et Manuel d'aide</h1>
-<h1>A propos de Coppermine</h1>
-<p>Coppermine Photo Gallery est un script de gestion de galerie photo. les utilisateures peuvent télécharger des images depuis leur navigateur Internet (Les vigenttes sont crées automatiquement), noter les images, ajouter des commentaires et envoyer des cartes électroniques. Les administrateurs peuvent gérer les galeries et ajouter par lot les images téléchargées sur le serveur par le FTP. Les fichiers multimédias sont aussi supportés.</p>
-<p>Les images sont placées dans des albums, ces albums pouvant être regroupés dans des catégories. Le scipt supporte les utilisateurs multiples et chaque utilisateur à la possibilité d'avoir ses propres albums.</p>
-<p>Le script est multi langage et possède un système de thèmes. Il utilise PHP, une base de donnée MySQL ainsi que la librairie graphique GD (version 1.x or 2.x) ou ImageMagick pour générer les vignettes. Un programme d'installation permet une mise ne place simple et rapide.</p>
-
-      <a name="top"></a>
-<div id="toc">
-      <h1>Table des Matières</h1>
-      <ul class="level1">
-        <li class="level1"><a href="testing.php#testVersion" class="menu1">0. Version Beta (Test)</a></li>
-          </ul>
-<ul class="level1">
-        <li class="level1"><a href="#what" class="menu1">1. Configuration nécéssaire au fonctionnement</a></li>
-</ul>
-<ul class="level1">
-
-        <li class="level1"><a href="#installation" class="menu1">2. Installation et configuration</a></li>
-</ul>
-        <ul class="level2">
-                <li class="level2"><a href="#how" class="menu2">2.1 Comment installer le script</a></li>
-                <li class="level2"><a href="#getting" class="menu2">2.2 Démarrage</a></li>
-                <li class="level2"><a href="#xp" class="menu2">2.3 Utiliser l'assitant de publication Web de Windows XP</a></li>
-                <li class="level2"><a href="#creating" class="menu2">2.4 Créer ou mettre à jour vos propres thèmes</a></li>
-
-                <li class="level2"><a href="#safe" class="menu2">2.5 Problèmes liés au Safe mode</a></li>
-                <li class="level2"><a href="#smtp" class="menu2">2.6 Utiliser SMTP pour envoyer des courriels</a></li>
-        </ul>
-<ul class="level1">
-        <li class="level1"><a href="#upgrade" class="menu1">3. Mise à jour</a></li>
-</ul>
-        <ul class="level2">
-                <li class="level2"><a href="#10" class="menu2">3.1 Mise à jour depuis la version 1.0</a></li>
-
-                <li class="level2"><a href="#11" class="menu2">3.2 Mise à jour depuis la mise à disposition de la version 1.1</a></li>
-                <li class="level2"><a href="#12" class="menu2">3.3 Mise à jour depuis cpg1.2.0rc2 ou cpg1.2.0final vers la version cpg1.2.1</a></li>
-                <li class="level2"><a href="#13" class="menu2">3.4 Mise à jour depuis cpg1.2.0 (ou plus récent) vers la version cpg1.4.1</a></li>
-                <li class="level2"><a href="#versioncheck" class="menu2">3.5 L'outil de vérification de version</a></li>
-        </ul>
-                <ul class="level3">
-                        <li class="level3"><a href="#versioncheck_description_start">3.5.1 Que fait'il</a></li>
-
-                        <li class="level3"><a href="#versioncheck_options_start">3.5.2 Options</a></li>
-                        <li class="level3"><a href="#versioncheck_comparison_start">3.5.3 Comparaison de version</a></li>
-                </ul>
-<ul class="level1">
-        <li class="level1"><a href="#administration" class="menu1">4. Configuration et Administration</a></li>
-</ul>
-        <ul class="level2">
-
-                <li class="level2"><a href="#cat_alb_pic" class="menu2">4.1 Categories, albums et fichiers</a></li>
-                <li class="level2"><a href="#admin_user_mode" class="menu2">4.2 Mode administrateur et Mode utilisateur</a></li>
-                <li class="level2"><a href="#group_cp" class="menu2">4.3 Le panneau de gestion des groupes</a></li>
-                <li class="level2"><a href="#user_cp" class="menu2">4.4 Le panneau de gestion des utilisateurs</a></li>
-        </ul>
-                <ul class="level3">
-
-                        <li class="level3"><a href="#user_cp_page">4.4.1 Commandes de la page</a></li>
-                        <li class="level3"><a href="#user_cp_search">4.4.2 Rechercher un(des) utilisateur(s)</a></li>
-                        <li class="level3"><a href="#user_cp_new">4.4.3 Créer de nouveaux utilisateurs</a></li>
-                </ul>
-        <ul class="level2">
-                <li class="level2"><a href="#cat_cp" class="menu2">4.5 Le panneau de gestion des catégories</a></li>
-                <li class="level2"><a href="#albmgr" class="menu2">4.6 Le gestionnaire d'albums</a></li>
-
-        </ul>
-                <ul class="level3">
-                        <li class="level3"><a href="#albmgr_create">4.6.1 Créer des albums</a></li>
-                        <li class="level3"><a href="#albmgr_rename">4.6.2 Renommer les albums</a></li>
-                        <li class="level3"><a href="#albmgr_order">4.6.3 Changer l'ordre des albums</a></li>
-                        <li class="level3"><a href="#albmgr_delete">4.6.4 Effacer un(des) album(s)</a></li>
-                </ul>
-
-        <ul class="level2">
-                <li class="level2"><a href="#modif_alb_pics" class="menu2">4.7 Modifier les albums/les fichiers/files</a></li>
-                <li class="level2"><a href="#album_prop" class="menu2">4.8 Propriétés des albums</a></li>
-        </ul>
-                <ul class="level3">
-                        <li class="level3"><a href="#album_prop_reset_start">4.8.1 Remise aux valeurs par défaut des propriétés des albums</a></li>
-                </ul>
-
-        <ul class="level2">
-                <li class="level2"><a href="#edit_pics" class="menu2">4.9 Editer les fichiers</a></li>
-        </ul>
-                <ul class="level3">
-                        <li class="level3"><a href="#edit_vids">4.9.1 Editer les vidéeos</a></li>
-                        <li class="level3"><a href="#cust_thmb">4.9.2 Vignettes personnalisées</a></li>
-                </ul>
-
-        <ul class="level2">
-                <li class="level2"><a href="#bbcode" class="menu2">4.10 Utilisation des bbcodes pour inserer des liens et formater les descriptions</a></li>
-                <li class="level2"><a href="#batch_add_pics" class="menu2">4.11 Téléchargement des fichiers par FTP / Ajout d'images par lot</a></li>
-                <li class="level2"><a href="#admin" class="menu2">4.12 La page de configuration de la galerie</a></li>
-        </ul>
-                <ul class="level3">
-                        <li class="level3"><a href="#admin_general">4.12.1 Paramètres généraux</a></li>
-
-                        <li class="level3"><a href="#admin_language">4.12.2 Langage et jeux de caractères (encodage des caractères)</a></li>
-                        <li class="level3"><a href="#admin_theme">4.12.3 Paramètres des thèmes</a></li>
-                        <li class="level3"><a href="#admin_album_list">4.12.4 Affichage de la liste des albums</a></li>
-                        <li class="level3"><a href="#admin_thumbnail_view">4.12.5 Affichage des vignettes</a></li>
-                        <li class="level3"><a href="#admin_image_comment">4.12.6 Affichage des images</a></li>
-                        <li class="level3"><a href="#admin_comment_start">4.12.7 Paramètres des commentaires</a></li>
-
-                        <li class="level3"><a href="#admin_picture_thumbnail">4.12.8 Paramètres des fichiers et des vignettes</a></li>
-                        <li class="level3"><a href="#admin_picture_thumb_advanced">4.12.9 Paramètres avancée des fichiers et des vignettes</a></li>
-                        <li class="level3"><a href="#admin_user">4.12.10 Paramètres des utilisateurs</a></li>
-                        <li class="level3"><a href="#admin_custom">4.12.11 Champs personnalisés pour le profil des utilisateurs</a></li>
-                        <li class="level3"><a href="#admin_custom_image">4.12.12 Champs personnalisés pour la description de l'images</a></li>
-
-                        <li class="level3"><a href="#admin_cookie">4.12.13 Paramètres du Cookie</a></li>
-                        <li class="level3"><a href="#admin_email">4.12.14 Paramètres des courriels</a></li>
-                        <li class="level3"><a href="#admin_logging">4.12.15 Enregistrement et statistiques</a></li>
-                        <li class="level3"><a href="#admin_misc">4.12.16 Paramètres divers</a></li>
-                </ul>
-            <ul class="level2">
-            <li class="level2"><a href="#exif" class="menu2">4.13 Données EXIF</a></li>
-        </ul>
-                <ul class="level3">
-                        <li class="level3"><a href="#exif_manager">4.13.1 Le gestionnaire de données EXIF</a></li>
-                </ul>
-<ul class="level1">
-
-        <li class="level1"><a href="#integrating" class="menu1">5. Intégrer le script avec votre forum</a></li>
-</ul>
-        <ul class="level2">
-                 <li class="level2"><a href="#integrating_bridge_start" class="menu2">5.1 Fichiers d'intégration (bridges) disponibles</a></li>
-                 <li class="level2"><a href="#integrating_prerequisites_start" class="menu2">5.2 Pre-requis</a></li>
-        </ul>
-                <ul class="level3">
-                         <li class="level3"><a href="#integrating_cookie_start">5.2.1 Authentification par cookie</a></li>
-                         <li class="level3"><a href="#integrating_standalone_start">5.2.2 Version autonome d'abord</a></li>
-                         <li class="level3"><a href="#integrating_users_start">5.2.3 Les utilisateur, groupes et images téléchargées par les utilisateurs de Coppermine ont été perdues lors de l'intégration</a></li>
-                         <li class="level3"><a href="#integrating_backup_start">5.2.4 Sauvegarde</a></li>
-                  </ul>
-        <ul class="level2">
-                 <li class="level2"><a href="#integrating_steps_start" class="menu2">5.3 Etapes de l'intégration</a></li>
-
-        </ul>
-                <ul class="level3">
-                        <li class="level3"><a href="#bridge_manager_start">5.3.1 Utilisation du gestionnaire d'intégration (bridge)</a></li>
-                </ul>
-                         <ul class="level4">
-                                 <li class="level4"><a href="#bridge_manager_app_start">5.3.1.1 Choisir une application à intégrer avec Coppermine</a></li>
-                                 <li class="level4"><a href="#bridge_manager_path_start">5.3.1.2 Chemin(s) utilisé par votre forum</a></li>
-                                 <li class="level4"><a href="#bridge_manager_specific_start">5.3.1.3 Paramètres spécifiques de votre forum</a></li>
-                                 <li class="level4"><a href="#bridge_manager_enable_start">5.3.1.4 activer/désactiver l'intégration du forum</a></li>
-                         </ul>
-
-                 <ul class="level3">
-                                 <li class="level3"><a href="#bridge_manager_recover_start">5.3.2 Restauration après une erreur d'intégration</a></li>
-                                                                 <li class="level3"><a href="#integrating_steps_sync_start">5.3.3 Syncroniser les groupes du forum avec ceux de Coppermine</a></li>
-                 </ul>
-<ul class="level1">
-        <li class="level1"><a href="#translating" class="menu1">6. Traduire Coppermine dans d'autres langues</a></li>
-
-</ul>
-<ul class="level1">
-        <li class="level1"><a href="#known_issues" class="menu1">7. Problèmes connus</a></li>
-</ul>
-<ul class="level1">
-        <li class="level1"><a href="#credits" class="menu1">8. Credits</a></li>
-</ul>
-        <ul class="level2">
-                <li class="level2"><a href="#developers" class="menu2">8.1 L'équipe de Coppermine</a></li>
-                <li class="level2"><a href="#contributors" class="menu2">8.2 Contributeurs</a></li>
-
-                <li class="level2"><a href="#codebase" class="menu2">8.3 Code utilisé par Coppermine</a></li>
-                <li class="level2"><a href="#copyright" class="menu2">8.4 License</a> (Copyright &amp; disclaimer)</li>
-        </ul>
-</div><!-- end toc -->
-      <hr />
-
-<a name="testVersion"></a>
-<h1>0. Version beta (Test)</h1>
-<p>Cher Testeur,</p>
-<p>Merci de prendre du temps pour tester Coppermine Photo Gallery. Soyez brisques avec ce programme afin que nous puissions débusquer et éliminerles bugs de la version 1.4 mise à disposition du public</p>
-<p>Merci de comprendre que cette version est une version béta, destinée à faire des test et qui ne doit pas être utilisée en production, Donc, il n'y a pas de support d'aide pour la version 1.4.1 actuellement.</p>
-
-<p>En testant CPG 1.4, merci de noter tous les comportements bizarres rencontrés.  Cela inclue les erreurs typographiques, les instructions erronées ou trompeuses, ou toute autre erreur.  Si vous rencontrez une erreur grave, placez le mode de débuggage sur &quot;actif&quot; dans le panneau de configuration et copiez le texte le la fenêtre de débuggage.  Cela aidera beaucoup l'équpe de développement à résoudre le problème.</p>
-
-<p><b>Domaines ou il faut être particulièrement attentif:</b></p>
-<ul>
-<li>Testez toutes les facettes de, depuis l'installation en passant par toutes les actions possibles (et dans le plus grand nombre de langue et de thèmes possible).</li>
-<li>Si vous avez la possibilité de tester GD, GD2 et ImageMagick, merci de toutes les tester.</li>
-<li>Merci de tenter d'utiliser différents types de fichiers graphiques comme les fichiers JPEG, PNG and GIF (pour les utilisateurs d'ImageMagick et GD 2.0.28+ ).</li>
-</ul>
-<p>Merci de rapporter le résultat de vos tests sur le <a href="http://coppermine.sourceforge.net/board/index.php?board=29.0">forum de test</a>, mais vérifiez, avant de commencer un nouveau sujet, que le problème que vous rapportez n'a pas déjà été évoqué avant.</p>
-
-<p><b>Votre rapport doit inclure:</b></p>
-<ul>
-<li>Le système d'exploitation du serveur</li>
-<li>Le logiciel Web du serveur</li>
-<li>La biblioteque GD, GD2 ou ImageMagick testée</li>
-<li>la version de votre PHP </li>
-<li>Le forum integré (si c'est le cas)</li>
-<li>Les Themes entièrement testés (par entièrement testés, nous voulons dire, en ayant utilisé le maximum de fonctions avec les thèmes)</li>
-<li>Les erreurs graves</li>
-<li>Votre système d'exploitation et votre navigateur internet</li>
-<li>S'il s'agit d'une nouvelle installation ou d'une mise à jour (en cas de mise à jour, depusi quelle version de cpg)</li>
-</ul>
-
-<p>Les résultats de vos test ne serviront pas seulement à résoudre les problèmes,mais aussi à vérifier la compatibilité de CPG avec le plus grand nombre de navigateurs et de systèmes d'exploitattion.  C'est pour cela que ces informations sont importantes MEME SI VOUS NE TROUVEZ PAS D'ERREURS.</p>
-
-<p>Merci pour votre participation et le temps que vous avez consacré pour permettre à CPG de devenir la galerie photo  open-source la plus utilisée!</p>
-
-<p>L'équipe de développement de Coppermine</p>
-<p><a class="back" href="#top">Haut de page</a></p><hr />
-
-
-
-<a name="what"></a>
-<h1>1. Configuration nécéssaire au fonctionnement</h1>
-<ul>
-  <li>Un seveur Web supportant Php</li>
-  <li>Une base de donnée MySQL<br />
-  Au minimum la version 3.23.23 ou mieux (4.x recommandé)est requise.  Votre base MySql doit vous permettre d'avoir les droits pour: CREER, MODIFIER, SELECTIONNER, METTRE A JOUR, EFFACER (La plupart des utilisateurs utilisant un serveur Web ont ces droits; si vous ne les aviez pas, vous ne seriez en mesure d'utiliser aucun script).<br />
-  Une base de donnée doit être disponible pour l'utilisation de Coppermine - Le programme d'installation ne créera pas la base de donnée pour vous. Sur la plupars des serveurs Web, une base de donnée est mise à disposition par votre hébergeur.</li>
-  <li>PHP (version 4.1.0 ou plu srécente), soit intégrant la librairie graphique GD ou permettant d'utiliser la fonction exec()  pour le  &quot;convertisseur&quot ImageMagick; necessaires pour générer les vignettes et pour réduire la taille des images.</li>
-  <li>Une librairie graphique: soit GD (PHP doit être compilé pour la supporter) ou ImageMagick.<br />
-  (voir <a href="faq.htm#whatIsImageMagick"> Qu'est ce qu'ImageMagick </a> et<a href="faq.htm#WhatIsGD"> Qu'est ce que GD</a>)</li>
-</ul>
-
-<p><a class="back" href="#top">Haut de page</a></p><hr />
-
-<a name="installation"></a>
-<h1>2. Installation et configuration</h1>
-<a name="how"></a>
-<h2>2.1 Comment installer le script</h2>
-<ul>
-  <li><b>Décompressez l'archive tout en préservant la structure des répertoires</b><br />(vous pouvez renommer le répertoire de Coppermine mais pas les fichiers ou les répertoires inclus).</li>
-  <li><b>Placer tous les fichiers sur votre serveur Web</b> (assurez vous d'utiliser le bon mode FTP)</li>
-  <li><b>Mettez le CHMOD des répertoires <i>albums</i> et <i>include</i> à 755 (ou 777, en fonction de la configuration de votre serveur)</b> - cette étape est réellement très importante, ne l'ommetez pas!<p>Il y a une multitude de didactitiels pour débutants expliquant comment utiliser le CHMOD disponibles: <a href="http://www.google.com/search?q=chmod+tutorial" class="external">chercher un didactitiel sur le CHMOD avec Google</a>. Si vous êtes sur un serveur Windows, vous devez établir les permissions comme il faut (habituellement le serveur Web sur  IIS fonctionne avec le nom d'utilisateur &quot;IUSR_hostname&quot; - Vous devez mettre les droits en RWX pour cet utilisateur). </p><p>La raison pour laquelle ces droits sont necessaires est de permettre à Coppermine de stocker les fichiers dans le répertoire albums (les fichiers téléchargés dans la galerie) et de configurer un fichier dans le répertoire "include" contenant vos informations de connection à la base de donnée. (Ce fichier <i>config.inc.php</i> est celui qu evous devrez modifier si les informations concernant votre base de donnée changent après l'installation). Si vous hésitez entre 777 ou 755 essayez d'abord 777 et vérifiez si celà fonctionne. Si ça ne marche pas, essayez 755, en cas d'échec, consultez l'administrateur de votre serveur Web.</p></li>
-  <li><b>Vérifiez d'avoir les bonnes informations concernant les paramètres de connexion à votre base de donnée</b> - vous devez connaitre le nom de votre base de donnée ainsi que les informations concernant l'utilisateur afin que Coppermine puisse se connecter à la base de donnée. La base de donnée et le nom d'utilisateur doit exister, et l'utilisateur doit avoir accès à la base de donnée appropriée. Coppermine va créer les tables necessaires durant l'installation, Il ne sera pas necessaire que vous ajoutiez vous même de tables.</li>
-  <li><b>Lancer le programme d'installation sur votre serveur</b> (en allant à l'adresse http://votre_site/répertoire_coppermine/install.php depusi votre navigateur internet)
-  et suivez les instructions</li>
-</ul>
-<p><a class="back" href="#top">Haut de page</a></p><hr />
-
-
-<a name="getting"></a>
-<h2>2.2 Démarrage</h2>
-<p>Identifiez vous avec le nom d'administrateur et le mot de passe que vous avez défini lors de l'installation, cliquez sur le lien &quot;mode administrateur&quot; si il est visible, aller à la page <b>Configuration</b> et commencez à configurer votre galerie. Notez que même si vous êtes membre du groupe administrateur, vous devez être en &quot;mode administrateur&quot; pour configurer votre galerie.</p>
-<p>Certains paramètres de la configuration ne peuvent pas être changés par la suite (si il y a déjà des images dans la base de donnée) - Vérifiez d'effectuer vos parametrages correctement au démarrage. Bien que vous voulliez certainement commencer à utiliser Coppermine imédiatement, il est recommandé de configurer correctement ces paramètres (signalés par un astérisque &quot;*&quot;)en tout premier.</p>
-<p>Utilisez le lien du &quot;<b><a href="#albmgr">Gestionnaire d'albums</a></b>&quot; (&quot;Albums&quot; dans le menu administrateur) pour créer et organiser vos albums. Vous avez besoin d'au moins un album pour placer vos images.</p>
-<p>Utilisez le groupe <b>anonymous</b> pour définir ce que les utilisateurs son enregistrés peuvent ou ne peuvent pas faire (dans la page <a href="#group_cp">groupes</a>).</p>
-<p>Utilisez l'option <b><a href="#modif_alb_pics">propriétés</a></b> d'un album pour modifier la description et les droits.
-</p>
-<p>Pour qu'un utilisateur puisse être en mesure de télécharger des fichiers dans les albums, deux conditions doivent être réunies:</p>
-<ul>
-  <li> L'utilisateur doit être membre d'un <a href="#group_cp">groupe</a> qui peut télécharger des fichiers.</li>
-  <li>Il doit y avoir au moins un album où l'option ;<b>les visiteurs peuvent télécharger des fichiers</b>&quot; doit être définie sur  &quot;<b>Oui</b>&quot;,<br /> <b>OU</b> <br />l'utilisateur a crée un album dans les 'galerie des utilisateurs' (user galleries), si cela lui est permis.</li>
-</ul>
-<p>Il en est de même pour <b>noter les images</b> et <b>poster un commenatire</b>.</p>
-<p>Si vous avez installé le script avec succès mais is vous avez des difficultés à le faire fonctionner correctement, Vous pouvez activer le &quot;<b><a href="#debug_mode">mode de débuggage</a></b>&quot; sur la <b>page de configuration</b>. Dans ce mode, le script affiche la majorité des messages d'avertissements/erreurs produits par PHP en plus de certaines informations de déboggage .Cela peut fournir de précieuses pour comprendre ce qui ne fonctionne pas.</p>
-<p><a class="back" href="#top">Haut de page</a></p><hr />
-
-<a name="xp"></a>
-<h2>2.3 Utiliser l'assitant de publication Web de Windows XP</h2>
-<p>Si vous utilisez Windows XP, vous pouvez utiliser son assitant intégré de publication Web pour télécharger vos photos dans votre galerie.</p>
-<p>Une fois le script correctement installé sur votre serveur, appelez le fichier xp_publish.php a partir de votre navigateur Internet (http://votre_site.com/votre_repertoire_coppermine/xp_publish.php).</p>
-<p>Le script affichera certaines informations sur l'installation et la manière d'utiliser l'assistant. Fondamentallement, vosu serez amené à télécharger un petit fichier crée par le script, qui doit être chargé dans votre base de registre Windows.</p>
-<p>Si vosu souhaitez permettre à vos visiteurs d'utiliser l'assistant de publication Web de Windows XP, il est recommandé de placer un lien vers le fichier depuis votre site.</p>
-<p class="small">[cpg1.1.1 ou postérieur necessaire]</p>
-<p><a class="back" href="#top">Haut de page</a></p><hr />
-
-<a name="creating"></a>
-<h2>2.4 Créer ou mettre à jour vos propres thèmes</h2>
-<p>Pour mettre à jour un thème personnalisé existant vers la version 1.4.x, lisez la <a href="theme/index.html">documentation pour la mise à jour des thèmes</a>.</p>
-<p>Les thèmes de Coppermine sont placés dans le répertoire &quot;<b>themes</b>&quot;, ils se composent de 3 fichiers : </p>
-<ul>
-  <li>&quot;<b>template.html</b>&quot; le gabarit principal en HTML.</li>
-  <li>&quot;<b>style.css</b>&quot; la feuille de style associée avec le thème</li>
-  <li>&quot;<b>theme.php</b>&quot; le fichier PHP du thème</li>
-  </ul>
-<p>Le thème nommé &quot;sample&quot; comprends un exemple pour chacun de ces fichiers mais n'est pas visible aux utilisateurs dans la liste de sélection des thèmes. le fichier theme.php du thème Sample comprends la liste de toutes le fonctions utilisables dans les thèmes et les gabarits comme référence pour vous. Si vous optez pour l'utilisation  du thème &quot;sample&quot; pour commencer la création de votre propre thème, vous devez, pour le fichier theme.php suivre les instructions dans la &quot;<a href="theme/index.html">documentation pour la mise à jour des thèmes</a>&quot; et commencer par un fichier theme.php vide.</p>
-<p>Pour créer un nouveau gabarit, la meilleure solution est d'utiliser un gabarit existant comme base. Pour ce faire, faites une copie du répertoire du thème que vous voulez utiliser comme base. Puis éditez les fichiers &quot;<b>template.html</b>&quot; et &quot;<b>theme.php</b>&quot; et remplacez toutes les occurences de &quot;<b>themes/repertoire_ancien_theme</b>&quot; par &quot;<b>themes/repertoire_nouveau_theme</b>&quot; afin de faire pointer les liens vers le bon endroit.</p>
-<p>Lors de l'édition du fichier &quot;<b>template.html</b>&quot; n'effacez pas les éléments entre <b>{}</b> ce sont les balises utilisées par le script. Gardez aussi en mémoire que même si ces fichiers sont palcés dans le répertoire &quot;<b>themes/repertoire_de_votre_theme</b>&quot;, il faut construire votre thème comme si il était placé dans le répertoire principal du script. En pratique, pour charger une image, vous devez utiliser <i>&lt;img src=&quot;themes/repertoire_de_votre_theme/images/image.gif&quot; alt=&quot;&quot;/&gt;</i> et non <i>&lt;img src=&quot;images/image.gif&quot; alt=&quot;&quot;/&gt;.</i> Il en va de mêm pour le fichier &quot;<b>theme.php</b>&quot;.</p>
-<p>Faites aussi attention de ne pas éffacer la ligne <i>&lt;script type="text/javascript" src="scripts.js"&gt;&lt;/script&gt;</i> necessaire à l'ouverture de la fenêtre pour les images originales et pour d'autres fonctions utilisant le JavaScript.</p>
-<p>Si vous utilisez un éditeur HTML pour faire votre gabarit, la meilleure solution est de copier le fichier &quot;<b>template.html</b>&quot; dans le répertoire principal du script et de l'editer depuis cet emplacement. Si le script trouve un fichier nommé &quot;<b>template.html</b>&quot; dans le répertoire principal il le chargera à la place de celui placé dans le répertoire du thème. Une fois les modifications terminées, redéplacez le fichier dans le répertoire de votre thème.</p>
-<p>Pour modifier les couleurs, les polices, la hauteur des lettres etc... utilisés par le script, ouvrez la feuille de style &quot;<b>style.css</b>&quot; . Si vous voulez augmenter ou diminuer la taille de la police vous pouvea simpement modifier la ligne avec : <i>table { font-size: 12px; }</i>. La plupart des tailles utilisée sont définies par des pourcentages de cette taille.</p>
-<p>Le fichier &quot;<b>theme.php</b>&quot; contient tous les gabarits HTML utilisés par le script. Vous pouvez aussi les modifier. Si vous faites des modifications de ces gabarits, ne touchez pas aux lignes avec <i>&lt;!-- BEGIN xxx --&gt;</i> et <i>&lt;!-- END xxx --&gt;</i>.</p>
-<p>Si vous n'êtes pas sur de savoir comment créer votre propre thème pour Coppermine, jettez un coup d'oeil à la page de téléchargement du site de Coppermine: il y a beaucoup de <a href="http://sourceforge.net/project/showfiles.php?group_id=89658&amp;package_id=98541">thèmes apportés par les utilisateurs</a> disponibles au téléchargement et que vous pouvez visualiser sur la <a href="http://coppermine.sourceforge.net/demo/">page de démonstration de Coppermine</a>.</p>
-<p>Pendant le processus de création d'un nouveau thème, il est possible que vous ne vouliez pas montre ce thème à vos visiteurs, mais que vous (en tant qu'administrateur de coppermine) souez en mesure de visualiser votre thème. pour faire celà, ajoutez simplement <tt class="code">theme=nom_de_votre_theme</tt> dans la barre d'adresse de votre navigateur.</p>
-<b>Exemples:</b>
-<ul>
-<li><tt class="code">http://votre_site.com/coppermine/index.php?theme=nom_de_votre_theme</tt> va afficher la page d'index de votre galerie Coppermine en utilisant votre thème</li>
-<li><tt class="code">http://votre_site.com/coppermine/thumbnails.php?album=1&amp;theme=nom_de_votre_theme</tt> va afficher les vignettes de l'album 1 en utilisant votre thème</li>
-<li><tt class="code">http://votre_site.com/coppermine/?theme=xxx</tt> va restaurer l'affichage en utilisant le thème choisi par défaut dans la page de configuration de Coppermine</li>
-</ul>
-<p><a class="back" href="#top">Haut de page</a></p><hr />
-
-<a name="safe"></a>
-<h2>2.5 Problèmes liés au Safe mode</h2>
-<p>Un nombre important d'hébergeurs utilisent PHP en safe mode. Coppermine fonctionne sans problèmes en safe mode et avec &quot;open basedir restriction&quot; actif, a condition que le safe mode soit configuré correctement. Malheureusement, chez de nombreux hébergeurs, le safe mode n'est pas configuré correctement.</p>
-<p>si votre hébergeur utilise PHP en self mode et est mal configuré, vous devez faire ce qui suit :</p>
-<ul>
-  <li>Depuis un client FTP, changez le mode du répertoire &quot;<b>include</b>&quot; de Coppermine sur votre serveur à <b>0777</b>.</li>
-  <li>Faites de même pour les répertoires &quot;<b>albums</b>&quot; et &quot;<b>userpics</b>&quot;.</li>
-  <li>Vérifiez qu'au début du fichier &quot;<b>include/config.inc.php</b>&quot;, vous avez une ligne avec : &quot;<b>define('SILLY_SAFE_MODE', 1);</b>&quot;</li>
-</ul>
-<p><a class="back" href="#top">Haut de page</a></p><hr />
-
-<a name="smtp"></a>
-<h2>2.6 Utiliser SMTP pour envoyer des courriels</h2>
-<p>Par défaut, le script utilise la fonction <b>mail</b> integrée à PHP pour envoyer des courriels. Dans certains cas, cette fonction ne peut pas être utilisée.</p>
-<p> Pour pouvoir être en mesure d'envoyer des courriels avec PHP vous devez fournir un <b>serveur SMTP</b>, un <b>nom d'utilisateur</b> et un <b>mot de passe</b>, vous devez editer  &quot;paramètres pour l'envoie de courriels&quot; dans la page de configuration et y mettre les bonnes valeurs. Si vous n'avez pas besoins de nom d'utilisateur et de mot de passe pour vous connecter à votre serveur SMTP, laissez les champs vides. Si vous ne savez pas quels paramètres saisir, contactez votre hébergeur.</p>
-<p><a class="back" href="#top">Haut de page</a></p><hr />
-
-<a name="upgrade"></a>
-<h1>3. Mise à jour</h1>
-<a name="10"></a>
-<h2>3.1 Mise à jour depuis la version 1.0</h2>
-
-<p>Si vous avez installé la version 1.0 et que vous voulez transferer vos albums vers la version 1.3.2 faites comme suit:</p>
-<ul>
-  <li>Premièrement faites une sauvegarde de votre base de donnée (dump).</li>
-  <li> Installez normallement la 1.3.2 dans un répertoire différent de celui ou vous avez installé la version. Attention, pour pouvoir utiliser le script de mise à jour, les <b>tables for version 1.0 and 1.3.2 doivent être placées dans la même base de donnée</b>.</li>
-  <li>Copiez le répertoire &quot;<b>albums</b>&quot; de la version 1.0 dans le répertoire ou vous avez installé la version 1.3.2</li>
-  <li>Le script de mise à jour présume que vous utilisez le préfixe &quot;<b>CPG_</b>&quot; pour les les tables (valeurs par defaut) lorsque vous avez installé la version 1.0, si ce n'est pas le cas, editez upgrade-1.0-to-1.2.php et modifiez la variable $prefix10.</li>
-  <li>Identifiez vous dans votre galerie Coppermine 1.3.2, passez en mode administrateur</li>
-  <li>Appelez le script de mise à jour, http://votresite.com/repertoire_coppermine/upgrade-1.0-to-1.2.php</li>
-  <li><b>La mise à jour de la version 1.0 vers la version 1.3.2 se fait en deux étapes.</b> Vous devez cliquer sur le lien qui apparait au pied de la page pour achever la mise à jour!.</li>
-        <li><b>Effaceez upgrade-1.0-to-1.2.php de votre serveur</b>.</li>
-        <li>Si vous rencontrez une erreur, allez à la page de configuration de Coppermine 1.3.2, activez le <a href="#debug_mode">mode de debbugage</a>, essayez d'appeler le script de mise à jour encore une fois et regardez quelle erreur se produit.</li>
-</ul>
-<p> <b>Ce processus de mise à jour ne modifie pas votre galerie en version 1.0 gallery</b></p>
-<p><a class="back" href="#top">Haut de page</a></p><hr />
-
-<a name="11"></a>
-<h2>3.2 Mise à jour depuis la mise à disposition de la version 1.1</h2>
-  <ul>
-            <li>Premièrement, faite une sauvegarde de votre base de donnée (dump).</li>
-      <li>Sauvegardez votre fichier <b>include/config.inc.php</b>, votre fichier <b>anycontent.php</b> et votyre répertoire <b>albums</b>.</li>
-      <li>Décompressez l'archive</li>
-      <li>Si le fichier <b>install.php</b> existe dans le répertoire principal, effacez le.</li>
-      <li>Téléchargez tous les nouveaux fichiers et répertoires sur votre serveur</li>
-      <li>Mettez le CHMOD du répertoire <b>albums</b> et de tous les sous-répertoires au minimum sur 755 ou 777 (en fonction de la configuration de votre serveur)</li>
-      <li>Appelez le script de mise à jour http://votresite.com/repertoire_coppermine/update.php</li>
-      <li>La mise à jour devrait être achevée.</li>
-  </ul>
-<p><a class="back" href="#top">Haut de page</a></p><hr />
-
-<a name="12"></a>
-<h2>3.3 Mise à jour depuis cpg1.2.0rc2 ou cpg1.2.0final vers la version cpg1.2.1</h2>
-    <ul>
-                <li>Premièrement, faite une sauvegarde de votre base de donnée (dump).</li>
-        <li>Sauvegardez votre fichier <b>include/config.inc.php</b>, votre fichier <b>anycontent.php</b> et votyre répertoire <b>albums</b>.</li>
-      <li>Décompressez l'archive</li>
-      <li>Si le fichier <b>install.php</b> existe dans le répertoire principal, effacez le.</li>
-        <li><b>Excepté pour le répertoire "albums" </b>, téléchargez sur votre serveur l'ensemble des nouveaux fichiers et répertoires en vous assurant de <b>ne pas remplacer le fichier <i>include/config.inc.php</i>, votre fichier <i>anycontent.php</i> ou le répertoire <i>albums</i></b>.</li>
-        <li>Créez un répertoire nommé &quot;edit&quot; dans votre répertoire &quot;albums&quot; - Ce répertoire servira  de répertoire temporaire à Coppermine, n'y placez pas de fichiers par FTP. Assurez vous que le nouveau répertoire &quot;edit&quot; a le même CHMOD que votre répertoire albums (755 ou 777, en fonction de la configuration devotre serveur)</li>
-        <li>Il n'y a pas de mise à jour de la base donnée necessaire, vous êtes prêts a continuer</li>
-    </ul>
-
-<p><a class="back" href="#top">Haut de page</a></p><hr />
-
-<a name="13"></a>
-<h2>3.4 Mise à jour de cpg1.2.x ou cpg1.3.x  vers la version cpg1.4.1</h2>
-    <ul>
-                <li>Premièrement, faite une sauvegarde de votre base de donnée (dump).</li>
-        <li>Sauvegardez votre fichier <b>include/config.inc.php</b>, votre fichier <b>anycontent.php</b> et votyre répertoire <b>albums</b>.</li>
-      <li>Décompressez l'archive</li>
-      <li>Si le fichier <b>install.php</b> existe dans le répertoire principal, effacez le.</li>
-        <li><b>Excepté pour le répertoire "albums" </b>, téléchargez sur votre serveur l'ensemble des nouveaux fichiers et répertoires en vous assurant de <b>ne pas remplacer le fichier <i>include/config.inc.php</i>, votre fichier <i>anycontent.php</i> ou le répertoire <i>albums</i></b>.</li>
-        <li>Si vous ne l'avez pas déjà fait, créez un répertoire nommé &quot;edit&quot; à l'intérieur de votre répertoire &quot;albums&quot; - Ce répertoire servira  de répertoire temporaire à Coppermine, n'y placez pas de fichiers par FTP. Assurez vous que le nouveau répertoire &quot;edit&quot; a le même CHMOD que votre répertoire albums (755 ou 777, en fonction de la configuration devotre serveur)</li>
-        <li>Lancez le fichier &quot;update.php&quot; dans le répertoire de Coppermine depuis votre navigateur internet (exemple: http://votresite.com/coppermine/update.php). Cela va mettre à jour votre installation de Coppermine en faisant les changement necessaires dans la base de donnée.</li>
-        <li>Si vous avez fait un thème personnalisé, appliquez les changements apportés dans la structure des thèmes à votre thème personnalisé - référez vous au <a href="theme/index.html">guide de mise à jour des thèmes</a>.</li>
-        <li>Vous ne pouvez pas utiliser les fichiers langues des anciennes versions de Coppermine - Assurez vous de n'avoir que des fichiers langages livrés avec ce pack dans votre répertoire <b>lang</b>(effacez ou renommez tous les fichiers des versions antérieures présents dans le répertoire <b>lang</b>)</li>
-    </ul>
-<p>Merci de noter: comme il y des changements aussi bien dans les fichiers de Coppermine que dans la base de donnée entre cpg1.3.0beta vers cpg1.3.0 (final), les utilisateur de la version béta doivent appliquer toute les étapes mentionnées ci-dessus:  les fichiers doivent être remplacés et le script update.php doit être lancé ensuite.</p>
-<p><a class="back" href="#top">Haut de page</a></p><hr />
-
-<a name="versioncheck"></a>
-<h2>3.5 L'outil de vérification de version</h2>
-<p>Depuis cpg1.3.2 Coppermine inclue un outil de vérification de version pour vous permettre de résoudre facilement les problèmes lors des mises à jour. Contrairement à d'autres parties de Coppermine qui ne fonctionnent que pour la version pour laquelle elles on été écrites, l'outil de vérification de version peut être utilisé avec toutes les versions depuis cpg1.2.1. Pour lancher le vérificateur de version, ajoutez simplement <tt>versioncheck.php</tt> dans la barre d'adresse de votre navigateur après vous être identifié comme administrateur dans Coppermine (exemple: <tt>http://votresite.com/repertoire_coppermine/versioncheck.php</tt>).</p>
-<a name="versioncheck_description_start"></a>
-<h3>3.5.1 Que fait'il</h3>
-<p>le script &quot;versioncheck&quot; est destiné pour les utilisateurs qui ont mis à jour leur installation de Coppermineis. Le script passe en revue les fichiers de votre serveur et essaye de déterminer si la version des fichiers sur votre serveur est la même que celle des fichiers placés sur http://coppermine.sourceforge.net, de cette manière vous pouvez voir les fichiers que vous devriez mettre à jour.</p>
-<p>Il va montrer en <span style="color:red;font-weight:bold">rouge</span> tout ce qui doit être changé. Les entrées en <span style="color:#FFBE00;font-weight:bold">jaune</span> doivent être vérifiées. Les entrées en <span style="color:green;font-weight:bold">vert</span> (ou dans la couleur par défaut de votre thème) sont justes et doivent être laissées. Quand une entrée est <span style="color:red;font-weight:bold">rouge</span> ou <span style="color:#FFBE00;font-weight:bold">jaune</span>, une icone d'aide apparait à proximité. Cliquez dessus pour plus de détails. En s'attardant avec la souris sur un élément vous afficherez des informations complémentaires (bulles d'aide).</p>
-<p>L'écran de l'outil de vérification de versioncomporte plusieures sections:</p>
-<ul>
-<li><b>Section 1:</b> explications sur l'utilisation de l'outil de vérification de version</li>
-<li><b>Section 2:</b>(&quot;<a href="#versioncheck_options_start">Options</a>&quot;) affiche les options que vous pouvez choisir</li>
-<li><b>Section 3:</b> affiche une alerte si Coppermine ne peut pas se connecter à l'emplacement du référentiel en ligne de Coppermine  (là ou sont placées les versions des fichiers les plus récentes). Le script ira par défaut à la copie locale des fichiers. En cas de connection réussie, il n'y aura bien sur pas de message d'erreur (pas de section 3).</li>
-<li><b>Section 4:</b> affiche la version de Coppermine que vous utilisez actuellement. Le script de vérification de version extrait ces données du fichier <i>include/init.inc.php</i> - Si vous n'avez pas remplacé votre copie de ce fichier par la nouvelle version lors de la mise à jour de votre installation, votre ancienne (dépassée) version apparaitra dans cette section.</li>
-<li><b>Section 5:</b> affiche le coeur des informations vérifiées: la comparaison des versions. Le fichier va passer en revue tous les fichiers censés exister (en se basant sur les données du répertoire d'archivage en ligne (le site de Coppermine)) et les compare avec ceux qui se trouvent sur votre serveur.</li>
-<li><b>Section 6:</b> affiche un récapitulatif des fichier et répertoires vérifiés</li>
-</ul>
-<a name="versioncheck_description_end"></a>
-
-<a name="versioncheck_options_start"></a>
-<h3>3.5.2 Options</h3>
-<p>L'écran d'option vous permets de configurer le vérificateur de version, ou plutôt ce qui doit être affiché. Les options ne sont pas sauvegardées, vous devrez donc ajuster vos paramètres à chaque utilisation du vérificateur de version. Les options par défaut devraient convenir à la majorité des utilisateurs - ne les changez que si vous avez de bonnes raisons de le faire.</p>
-<img src="pics/fr_versioncheck_options.gif" width="760" height="264" border="0" alt="" title="options" />
-<ul>
-<li><i>montrer les fichiers/répertoires optionnels</i><br />Décochez cette option pour cacher les fichiers étiquetés comme &quot;optionel&quot; (n'affiche que les fichiers necessaires)</li>
-<li><i>Montrer les fichiers necessaires</i><br />Décochez cette option pour cacher les fichiers étiquetés comme &quot;necessaires&quot; (Attention ! décocher les deux options (fichiers optionnels et fichiers necessaires) va bien sur faire en sorte qu'aucun fichiers ne sera affiché)</li>
-<li><i>Montrer les informations complémentaires</i><br />Séletcionne quelles informations afficher entre celles concernant votre installation de Coppermine et celles du référentiel en ligne. déselectionnez si vous faites une capture d'écran pour gagner de la place et réduire la dimension.</li>
-<li><i>Montrer la version des fichiers</i><br />Sélectionne quelles informations complémentaires d'un fichier concernant la version mise en circulation dont vous disposez doivent être affichées. Lorsque vosu regardez le code source d'un fichier coppermine, la version du fichier est le nombre qui se présente ainsi: <tt>Id: index.htm,v 1.66 2004/08/26 04:42:19 gaugau Exp</tt> (dans cet exemple, la version du fichier est 1.66)</li>
-<li><i>Montrer uniquementles répertoires/fichier avec des erreurs</i><br />Sélectionne l'affichage des fichiers qui ont des erreurs (option cochée). Activez cette option si vous voulez faire une capture d'écran et demander de l'aide sur le forum de Coppermine.</li>
-<li><i>Coppermine est installé à la racine du site</i><br />Experimental: si tous vos fichiers sont affichés comme &quot;non-existant&quot;, vous avez probablement installé Coppermine à la racine de votre site, ou vous utilisez un sous-domaine. Cochez cette option uniquement si vous rencontrez ce problème. Cette option n'a pas été testée complêtement, Il n'est pas garanti qu'elle fonctionne sur votre installation.</li>
-<li><i>Essayer de se connecter au référentiel en ligne</i><br />Détermine si le vérificateur de version doit essayer de se connecter sur le référentiel en ligne (coché par défaut). Décochez cette option uniquement si vous êtes sur de ne pas pouvoir acceder au référentiel en ligne à cause du paramêtrage de votre serveur et que vous voullez accélerer un peu le temps d'execution du script.</li>
-<li><i>Montrer les droits des répertoires</i><br />Détermine s'il faut montrer/cacher les droits en écriture/lecture des répertoires.</li>
-<li><i>Ne pas montrer le lien vers les webcvs</i> / <i>Montrer le lien webcvs vers la branche stable</i> / <i>Montrer le lien webcvs vers la branche de développement</i><br />Détermine quelle colonne supplémentaire montrer avec un lien vers le webcvs. N'utiliser que si votre version de Coppermine est correcte (<span style="color:green;font-weight:bold">vert</span>), mais que la version de vos fichiers apparait dépassée. Vous pouvez vous connecter au webcvs pour trouver une version plus récente de votre fichier. Ne faire que si vous savez ce que vous faites (ou si celà vous a été demandé par un membre de l'équipe de support du forum d'aide de Coppermine).</li>
-<li><i>Montrer une sortie condensée (pour faciliter les captures d'écran)</i><br />Lorsqu'elle est activée, cette option réduit la largeur des colonnes de comparaison de de version. Cela vous permettra de faire une capture d'écran de taille réduite.</li>
-</ul>
-<a name="versioncheck_options_end"></a>
-
-<a name="versioncheck_comparison_start"></a>
-<h3>3.5.3 Comparaison de version</h3>
-<p>Il y a une multitude d'informations données dans un minimum d'espace. Voici un exemple des possibilités de sorties et leur significations:</p>
-<img src="pics/versioncheck_comparison.gif" width="411" height="279" border="0" alt="" title="comparaison de version" />
-<ul>
-<li>Colonne &quot;icone&quot; montre si l'entrée est un répertoire ou un fichier. Cliquer sur l'icone vous conduira vers une page, exemple: en cliquant sur util.php vous sere conduit vers la page &quot;outils d'administration&quot; (bien que tous les fichiers Coppermine ne peuvent pas être ouverts  en les executants directement depuis votre navigateur).<p>Dans l'exemple ci-dessus, les lignes &quot;A&quot; à &quot;E&quot; sont des répertoires, les lignes &quot;F&quot; à &quot;K&quot; sont des fichiers.</p></li>
-<li>Colonne &quot;Répertoire/fichier&quot; montre le chemin relatif de la racine de votre galerie Coppermine vers le répertoire/fichier en question.<br />
-<p>Si une entrée est dans la couleur de police par défau, elle existe (dans l'exemple ci-dessus, toutes les lignes sauf &quot;G&quot; et &quot;H&quot;).<br />
-<p>Si l'entrée est en <span style="color:#FFBE00;font-weight:bold">jaune</span> (ligne &quot;G&quot;), le répertoire/fichier correspondant n'existe pas sur votre serveur, mais il est considéré comme optionnel (par exemple un fichier langage livré avec le pack Coppermine, que vous ne voulez pas utiliser peut être effacé de votre serveur. Il sera montré en <span style="color:#FFBE00;font-weight:bold">jaune</span>, mais il n'est pas necessaire au bon fonctionnement de la galerie). C'est a vous de voir si vous en avez besoin.</p>
-<p>Si l'entrée est en <span style="color:red;font-weight:bold">rouge</span> (row &quot;H&quot;), le répertoire/fichier en question n'existe pas sur votre serveur, mais il est necessaire au fonctionnement de Coppermine. Il faut que vous téléchargiez ce fichier depuis votre package Coppermine vers votre serveur. Ne laisser votre configuration telle quelle uniquement si vous savez ce que vous faites.</p></li>
-<li>La colonne &quot;incriptible&quot; montre si le répertoire en question est inscriptible, et aussi si c'est correct. les droits en écriture pour les fichiers ne sont pas affichés, cela ralentirais énormément le script. Généralement, il y a une icone qui montre le statut 'inscriptible' pour les répertoires (à condition que l'image de l'icone soit présente sur votre serveur). Sinon, un texte entre parentèses ets visible (si vous n'avez pas l'image de l'icone).
-<ul>
-<li>Un crayon blanc avec un &quot;x&quot <span style="color:green;font-weight:bold">vert</span> ; indique quele le répertoire n'est inscriptible et n'est pas supposé l'être - tout est bon (ligne &quot;A&quot;)</li>
-<li>Un crayon <span style="color:green;font-weight:bold">vert</span> indique que le répertoire est inscriptible et qu'il est bien supposé l'être - tout est bon (ligne &quot;D&quot;</li>
-<li>Un crayon blanc avec un &quot;x&quot <span style="color:red;font-weight:bold">rouge</span> ; indique que le répertoire n'est pas inscriptible, mais devrait l'être (ligne &quot;C&quot;). Vous devriez changer les droits en écriture (CHMOD) pour ce répertoire et tout ce qu'il contient, habituellement en utilisant votre client <acronym title="File Transfer Protocol">FTP</acronym> .</li>
-<li>Un crayon <span style="color:red;font-weight:bold">rouge</span> indique que le répertoire est inscriptible, mais ne devrait pas l'être (ligne &quot;E&quot;). Avoir des fichiers inscriptibles peut être un risque pour la sécurité. Si possible, vous devez changer les droits de ce répertoire et de tout ce qu'il contient en écriture/execution uniquement.</li>
-</ul>
-</li>
-<li>Un point d'intérrogation dans une boite jaune (icone d'aide) indique que des informations complémentaires sont disponibles. Cliquez sur cette icone pour ouvrir une fenêtre avec ces informations.</li>
-<li>La colonne &quot;cpg version&quot; affiche de quelle version de Coppermine est issu le fichier sur votre serveur, et quelle devrait être sa version. L'information est extraite de l'entête du fichier, c'est la raison pourquoi les répertoires sont marqués comme &quot;n/a&quot; - il n'y a pas d'entête contenant d'informations concernant la version de coppermine (lignes &quot;A&quot; à &quot;E&quot;).
-<p>Les fichiers contenant des informations dans leur entête sont affichés avec leur version sur votre serveur et avec la version du fichier du référentiel Coppermine, séparés par un slash ('/'). Il est possible que la version d'un fichier diffère de celle de votre pack Coppermine - Cela ne pose pas de problème aussi longtemps que les deux versions (la votre et celle du référentiel) sont compatibles (Elles s'affichent en  <span style="color:green;font-weight:bold">vert</span>) - dans l'exemple ci dessus: lignes &quot;F&quot;, &quot;J&quot; et &quot;K&quot;.</p>
-<p>Bien sur, le numéro de version qui n'existe pas dans un fichier ne peut pas être extrait, les lignes &quot;G&quot; et &quot;H&quot; ont un tiret à la place du N&Acirc; de version de Coppermine. Si votre version de Coppermine est plus ancienne que celle du référentiel, votre version est affichée en <span style="color:red;font-weight:bold">rouge</span>: Si c'est cas, vous n'avez probablement pas téléchargé le bon fichier depuis votre pack Coppermine vers votre serveur (remplacez le fichier existant sur votre serveur) - vous devriez faire ainsi là: (ligne &quot;I&quot;).</p>
-<p>Si votre version locale est affichée en <span style="color:#FFBE00;font-weight:bold">jaune</span>, vous utilisez un fichier dont la version est plus récente que le reste de vos fichiers - vous avez probablement téléchargé le fichier depuis la branche en développement: rappelez vous qu'il n'y a pas de support pour les fichiers en cours de développement, faites ainsi à vos risques et périls (si vous savez ce que vous faites). Si la majorité de vos fichiers sont affichés en <span style="color:#FFBE00;font-weight:bold">jaune</span>, vous avez probablement mis à jour plusieurs fichiers, mais vous avez oublié de mettre à jour le fichier &quot;include/init.inc.php&quot; (qui contient les informations de version pour votre installation de Coppermine). assurez vous de télécharger <b>tous</b> les fichier depuis le pack vers votre serveur.</p>
-</li>
-<li>
-<p>La colonne &quot;Version de fichier&quot; contient la version individuelle de chaque fichier qui augmenteras au fur et a mesure du développement d'une nouvelle version de Coppermine (à chaque fois qu'un développeur modifie un fichier, le numéro de version augmente d'une unité). Comme les répertoires ne contiennent pas de numeros de version similaires, ils sont à nouveau étiquetés comme &quot;n/a&quot; (lignes &quot;A&quot; à &quot;E&quot;); Il en est de même pour les fichiers qui n'existent pas, c'est pourquoi le N&Acirc; de version est représenté par un tiret (lignes &quot;G&quot; et &quot;H&quot;). Aussi le N&Acirc; de version de fichier est hors de propos lors de la comparaison de fichiers provenant de packs Coppermine différents, c'est pourquoi la ligne &quot;I&quot; est contient un tiret.</p>
-<p>Le système de couleur est le même que pour la version de Coppermine: <span style="color:green;font-weight:bold">vert</span> signifie que &quot;tout est OK&quot;, <span style="color:red;font-weight:bold">rouge</span> signifie que &quot;vous utilisez une version dépassée&quot; et <span style="color:#FFBE00;font-weight:bold">jaune</span> signifie que &quot;vous utilisez une version plus récente que celle supposée.</p>
-<p>La différence entre les colonnes 'version de Coppermine' et 'version de fichier' est la manières de trouver quel fichier est supposé remplacer l'existant sur votre serveur: <span style="color:red;font-weight:bold">rouge</span> pour la colonne de version de Coppermine signifie que le fichier sur votre serveur n'a pas été remplacé par le fichier du pack Coppermine;  <span style="color:red;font-weight:bold">rouge</span> pour la colonne de version de fichier (ligne &quot;J&quot;) signifie généralement qu'il y a eu une mise à jour de certains fichiers dans le pack depuis sa mise à disposition - Vous devriez véridier qi il n'y a pas un nouveau pack disponible ou charger le fichier le plus récent depuis le <acronym title="Concurrent version system">CVS</acronym> (activez le lien vers le webcvs dans les <a href="#versioncheck_options_start">options</a> du vérificateur de version ).</p>
-</li>
-<li>La colonne &quot;web cvs&quot; (désactivée par défaut) conduit vers le fichier correspondant dans le <acronym title="Concurrent version system">CVS</acronym>. Il est recommendé d'utiliser celà uniquement si il apparait qu'il y a une nouvelle version du fichier dans le cvs que celle de votre pack Coppermine et si vous savez ce que vous faites.</li>
-</ul>
-<a name="versioncheck_comparison_end"></a>
-<a name="versioncheck_end"></a>
-<p><a class="back" href="#top">Haut de page</a></p><hr />
-
-<a name="administration"></a>
-<h1>4. Configuration et Administration</h1>
-
-<h2>4.1 Categories, albums et fichiers<a name="cat_alb_pic"></a></h2>
-<p>La Galerie Photo Coppermine (CPG) fonctionne de cette manière:</p>
-<ul>
-  <li>Le fichiers sont placés dans des albums</li>
-  <li>Les albums sont organisés en catégories</li>
-  <li>Les catégories peuvent être imbriquées (sous-categories)</li>
-</ul>
-<p>Si vous n'avez pas beaucoup d'albums, vous n'avez pas besoin d'utiliser de catégories. Dans ce cas, vous ne créez aucune catégorie et tous les albums apparaitrons sur la page principale.</p>
-<p>Il y a une catégorie spéciale nommée &quot;<b>User galleries</b>&quot;. Cette catégorie ne peut pas être effacée. Si un utilisateur appartiens à un groupe où &quot;peut avoir une galerie personnelle&quot; est parametré sur OUI, il a le droit de créer ses propres albums et sa galerie sera une sous-catégorie de &quot;User galleries&quot;.</p>
-<p>L'administrateur peut créer des albums dans n'importe quelle catégorie. Les utilisateurs réguliers peuvent uniquement créer leurs albums dans &quot;User galleries/Leur_nom_utilisateur&quot;.</p>
-<p>Pour renommer la catégorie &quot;<b>User galleries</b>&quot; et sa description, allez simplement vers le <a href="#cat_cp">panneau de gestion des catégories</a> et changez les (par exemple pour traduire les mots &quot;User galleries&quot; dans votre langue).</p>
-
-<p><a class="back" href="#top">Haut de page</a></p><hr />
-
-<h2>4.2 Mode Administrateur et mode Utilisateur<a name="admin_user_mode"></a></h2>
-<p>Lorsque vous êtes identifié en tant qu'administrateur, le script a deux mode de fonctionnement : Le mode Administrateur et le mode Utilisateur. Vous basculez entre le mode Administrateur et le mode Utilisateur en cliquant sur le lien correspondant dans le menu en haut de page.</p>
-<p>Lorsque vous êtes en mode administrateur, vous pouvea gérer votre galerie et le menu suivant apparait:</p>
-<p><a name="admin_menu"></a><img src="pics/fr_admin_menu.gif" border="0" alt="Admin menu" /></p>
-<p>Si vous êtes en mode utilisateur et vous gardez le status d'administrateur, mais les controles d'administration (la barre de menu administrateur etc...) sont cachés de manière à donner l'impression que la page est similaire à celle que verrait un "utilisateur normal". Toutefois (tant que vous êtes identifiés en tant qu'administrateur), vos droits en mode utilisateur sont les mêmes qu'en mode administrateur; vous ne pouvez <b>pas</b> utiliser le "<i>Mode Utilisateur</i>" pour vérifierce qu'un non administrateur verra; pour cela, créez un  compte utilisateur test (non-administrateur) et identifiez vous avec cet utilisateur particulier (il est recommendé d'utiliser deux navigateurs différents, afin de pouvoir vous identifier en tant qu'utilisateur "normal" et administrateur en même temps).</p>
-<p>Les onglets du menu administrateur s'expliquent par eux mêmes:</p>
-<ul>
-  <li><b>Approbation de téléchargement</b><br />Visualise toutes les images attendant l'approbation de l'administrateur (suivant le parametrage dans &quot;<a href="#group_cp">groupes</a> du &quot; panneau de configuration)</li>
-  <li><b>Configuration</b><br />Gère l'ensemble de l'apparence de la galerie et les paramètres utilisés dans panneau de configuration du menu administrateur &quot;<a href="#admin">Configuration</a>&quot; (Avertissement: vous ne pouvez pas acceder à la configuration en entrant manuellement l'adresse du fichier de configuration)</li>
-  <li><b>Categories</b><br />Créer/Modifier/Effacer les <a href="#cat_cp">categories</a></li>
-  <li><b>Albums</b><br />Créer/Modifier/Effacer les <a href="#albmgr">albums</a></li>
-  <li><b>Groups</b><br />Créer/Modifier/Effacer les <a href="#group_cp">groupes</a></li>
-  <li><b>Users</b><br />Créer/Modifier/Effacer les <a href="#user_cp">utilisateurs</a></li>
-  <li><b>Bannir des Utilisateurs</b><br />Bannir des utilisateurs en se servant du nom d'utilisateur ou de l'adresse IP. Attention de ne pas vous bannir vous même! Utilisez cette possibilité avec beaucoup de précaussions, depuis que la majorité des utilisateurs ont une adresse IP statique, cette fonction doit être utilisée uniquement si vous savez vraiment ce que vous faites.<br />
-  <span class="small">[cpg1.3.0 ou supérieur requis]</span>
-  </li>
-  <li><b>Examiner les commentaires</b><br />modifie/efface le commentaires de sutilisateurs/li>
-  <li><a name="ecard_log"></a><b>Afficher les E Cartes</b><p>Visualiser les cartes électroniques envoyées par les utilisateurs.</p>
-  <p>Vous devez activer d'abord l'enregistrement des Cartes (ecard-logging) dans la configuration (par défaut, logging est désactivé). Lorsque l'option est activée, toutes les E cartes envoyées sont stockées dans la base de donnée, ou l'administrateur de coppermine peut les visualiser.</p>
-  <img src="pics/fr_ecard_log.gif" border="0" alt="" /><br />
-  Vous pouvez trier les enregistrements en cliquant sur les icones en forme de flèches dans chaque entête de colonne, et vous pouvez effacer un où plusieurs enregistrements (effacer les enregistrement n'empechera pas le destinataire de la carte de la visualiser).<br />
-  <p>Avant de cocher cette option, vérifiez que l'enregistrement de ces données est autorisée dans votre pays. Il est recommandé de signaler aux utilisateurs que toutes les cartes électroniques seront enregistrées (de préférence sur la page d'enregistrement).</p>
-  <span class="small">[cpg1.3.0 ou supérieur requis]</span>
-  <a name="ecard_log_end"></a>
-  </li>
-  <li><b>Trier mes images</b><p>Le gestionnaire d'images peut servir à trier de façon parsonnalisé les images à l'intérieur des albums. Par défaut, les vignettes sur la page de l'album sont triées suivant l'ordre défini dans  &quot;<a href="#admin_thumbnail_view">Tri par défaut pour les fichiers</a>&quot; sur la page de configuration. L'option "Trier mes images" prends le dessus sur cette option par défaut et affiche les vignettes suivant l'ordre que vous aurez spécifié. Comme celà suppose un travail supplémentaire lors de la maintenance de chaque album, il est recommandé d'utiliser l'ordre de tri par défaut et(au lieu de spécifier un ortre de tri presonnalisé) de nommer les fichiers judicieusement avant de les placer dans votre galerie.</p>
-  <p>Note: Chaque utilisateur (y compris l'administrateur) peut utiliser le controle de l'odre de tri sur les vignettes des albums pour remplacer manuellement l'ordre défini dans la configuration de Coppermine avec l'option "Trier mes images"; la dernière méthode de tri sera stockée localement dans un cookie chez le client.</p></li>
-  <li><b>Ajouts de fichiers en traitement par lot</b><br /><a href="#batch_add_pics">Ajouter par lot</a> dans la base de donnée de coppermine les fichiers téléchargés via le FTP.</li>
-  <li><a name="admin_tools"></a><b>Outils d'administration (redimenstionnement des images)</b><br />Collection d'utiliatires pour:
-        <dl>
-      <dt>Reconstruire ou redimentionner les images intermédiaires ou les vignettes.</dt>
-      <img src="pics/fr_util_re-size.gif" alt="" border="0" /><br /><p>Utilisez cette fonction si vous avez changé le paramètrage pour les images intermédiaires ou les vignettes dans la configuration, ou si vous avez remplacé une version corrompue.</p><p>Delectionnez le bouton radio pour cette action, puis choisissez de reconstruire les vignettes, les images intermédiaires, ou les deux.</p><p>Cette fonction utilise beaucoup de ressources serveur, si vous rencontrez des problèmes de 'timeout', essayez de traiter de plus petits lots d'images.</p>
-      <dt>Effacer les images originales (grande taille).</dt>
-      <dd><p>Utilisez cette fonction pour gagner de la place sur votre serveur.</p><p>Si cette option est sélectionnée, Coppermine vérifie si il existe une image intermédiaire, et si c'est le cas, efface l'image originale, puis renomme l'image intermédiaire. Si l'image intermédiaire n'existe pas, Coppermine laisse l'original en place.</p></dd>
-      <dt>Effacer les commentaires orphelins.</dt>
-      <dd>Parfois, si des images ont été effacées, certains commentaires associés restent dans la base de donnée.  Utilisez cette fonction pour les effacer entièrement de la base de donnée.</dd>
-      <dt>Renommer le titre des fichiers.</dt>
-      <dd>Utilisez cette fonction pour renommer l'intitulé de tous le fichiers dans les albums, en utilisant les informations du nom de fichier.</dd>
-      <dt>Effacer les titres des fichiers.</dt>
-      <dd>Utilisez cette fonction pour effacer les titres des fichiers d'un ou de plusieurs albums.</dd>
-      <dt>affichez le php info de votre serveur.</dt>
-      <dd>Si vous rencontrez des problèmes, c'est parfois à cause du parametrage de votre serveur.  Ciquer sur ce lien vous fournira toutes les indications sur le parametrage de votre Php et mySQL, ainsiq eu sur votre libarire GD (si elle est installée).  Cela peut être utilse à l'équipe de support, si vous n'êtes pas en mesure de résoudre vous même le problème.<br />Il n'est pas possible pour les visiteurs de votre site de visualiser ces informations, donc, si on vous le demande, faites un copier/coller des ces informaations sur le forum d'aide.</dd>
-      <dt>Lancez la mise à jour de la base de donnée (update.php).</dt>
-      <dd>Après une mise à jour, il est généralement necessaire de lancer update.php.  Cela peut être fait en entrant directement l'adresse dans votre navigateur, ou en cliquant sur ce lien.<a name="admin_tools_end"></a></dd>
-          </dl>
-  </li>
-  <li><b>Mon Profil</b><br />Modifiez votre propre profil utilisateur</li>
-</ul>
-<p>Il y avait un mode administrateur et un mode utilisateur pour les utilisateurs &quot;normaux&quot; dans les versions antérieures à  cpg1.4.x, qui a été suppimée car il était "embrouillant" pour des utilisateurs et n'a pas atteint son objectif.</p>
-<p>L'utilisateur enregistré a ces options:</p>
-<ul>
-  <li><b>Créer/Trier mes albums</b><br /> similaire au gestionnaire d'albums du mode administrateur, l'utilisateur peut créer des albums dans sa galerie utilisateur</li>
-  <li><b>Modifier mes albums</b><br />L'utilisateur peut modifierles titre  et la description de ses albums  (similaire à &quot;<a href="#album_prop">propriétés de l'album</a>&quot; pour l'administrateur, mais l'utilisateur ne peut pas déplacer ses albums vers d'autres catégories)</li>
-  <li><b>Mon profil</b><br />L'utilisateur peut modifier son profil (changer de mot de passe, sa localisation, ses centres d'intérêts, l'adresse de sont site et sa profession, voir son quota d'utilisation du disque). Si vous avez intégré Cpg avec un forum, le lien &quot;Mon profil&quot; vous dirigera vers la page des profils utilisateur du forum. </li>
-</ul>
-<p><a class="back" href="#top">Haut de page</a></p><hr />
-
-<a name="group_cp"></a><h2>4.3 Le panneau de gestion des groupes</h2>
-<p><img src="pics/fr_group_cp.gif"  border="1" alt=""/></p>
-<p>C'est là que vous pouvez définir ce que les membres des groupes peuvent ou ne peuvent pas faire.</p>
-<p>Le quota disque ne s'applique que pour les groupes où &quot;<i>Galerie pesrsonnelle</i>&quot; a été paramétré sur &quot;<b>Autorisé</b>&quot;. L'ensemble des fichiers téléchargés dans sa galerie personnelle par un utilisateur ainsi qu eles fichiers téléchargés dans les galeries publiques sont pris en compte dans ce quota.</p>
-<p>Utilisez le groupe <b>anonymous</b> pour déterminer ce que les utilisateurs non enregistrés peuvent ou ne peuvent pas faire. Quota et &quot;<i>Galerie personnelle</i>&quot; n'ont pas de sens pour les utilisateurs non enregistrés.</p>
-<a name="group_cp_permissions"></a>
-<p><i>Droits</i> contrôle ce que l'utilisateur est autorisé à faire dans la galerie (Voter/Envoyer des Cartes/Poster des commentaires).</p>
-<p>Rappelez vous que si un utilisateur est membre d'un groupe où &quot;<i>Voter</i>&quot;, &quot;<i>Commentairess</i>&quot; ou &quot;<i>Télécharger dans les albums publics</i>&quot; est parametré sur &quot;<i>OUI</i>&quot;, il n'aura le droit d'effectuer ces opérations que dans les albums ou cela est autorisé, Par exemple: télécharger des fichiers ne sera possible que dans des albums ou &quot;<i>Les visiteurs peuvent télécharger des fichiers</i>&quot; est parametré sur <i>OUI</i>.</p>
-<a name="group_cp_permissions_end"></a>
-<a name="group_cp_personal"></a>
-<p>Si &quot;<i>Galerie personnelle</i>&quot; est parametré sur <i>Autorisé</i>, le membre du groupe pourra avoir sa propre galerie dans la catégorie &quot;<i>User galleries</i>&quot; et dans laquelle il aura la possibilité de créer ses propres albums.</p>
-<p>Si &quot;<i>Approbation</i>&quot; est parametré à <i>NON</i>, les fichiers téléchargés par le membre du groupe dans les albums crées dans sa propre galerie n'ont pas besoin de l'approbation de l'administrateur. If &quot;<i>Approval</i>&quot; si parametré à <i>OUI</i>, l'utilisateur de ce groupe particulier pourra télécharger des fichiers, mais ceux ci ne pourront être vus qu'après approbation de l'administrateur.</p>
-<a name="group_cp_personal_end"></a>
-<p>Le panneau de contrôle des groupes vous permets de controler les possibilités de téléchargements de chaque groupe.</p>
-<a name="group_cp_upload_method"></a>
-<p><i>Methode de téléchargement</i> vous permets de sélectionner le type de téléchargement qu'un groupe peut utiliser. Quatres possibilités sont offertes.</p>
-<ul>
-<li><b>Téléchargement d'un seul fichier</b> - Le groupe ne peut pas utiliser les possibilités avancées de téléchargement. Ils ne peuvent télécharger qu'un seul fichier à la fois. Pour activer le mode de téléchargement d'un seul fichier, parametrez  <i>champs d'upload</i> sur &quot;1&quot;, <i>champs d'upload URI</i> sur &quot;0&quot; et <i>Nombres de champs</i> sur &quot;fixe&quot;</li>
-<li><b>Multiple téléchargements</b> - le groupe peut télécharger plusieurs fichiers en même temps. Pour activer le téléchargement multiple, mettez <i>champs d'upload</i> sur un nombre suppérieur à &quot;1&quot;, <i>champs d'upload URI</i> à &quot;0&quot; - libre à vous de laisser l'utilisateur fixer lui même le <i>Nombre de champs</i>, mais il est recommandé de le parametrer à &quot;fixe&quot; pour éviter une confusion.</li>
-<li><b>URI upload seulement</b> - Le groupe ne peut télécharger des fichiers qu'en utilisant les URIs. les URIs doivent commencer par 'http://' ou 'ftp://'. Pour activer  URI uploads seulement, mettez <i>Champs d'upload </i> to &quot;0&quot;, <i>Champs d'upload URI</i> to &quot;1&quot; ou plus.</li>
-<li><b>Fichiers-URI</b> - Le groupe peut utiliser les fichiers ou les URIs pour le téléchargement. Pour activer les deux options, mettez <i>Champs d'upload</i> sur &quot;1&quot; ou plus, <i>Champs d'upload URI</i> sur &quot;1&quot; ou plus</li>
-</ul>
-<p><i>Nombre de champs </i> sélectionné sur &quot;variable&quot; permet à l'utilisateur de choisir le nombre de champs d'upload pour un téléchargement. généralement, vous laisserez cette option sur &quot;fixe&quot;, du fait qu'il propose à l'utilisateur une étape supplémentaire dans l'assistant de téléchargement qui n'est pas obligatoirement necessaire.</p>
-<p><i>Champs d'upload</i> controle le nombre de champs d'upload présentés à l'utilisateur. Si l'utilisateur peut personnaliser le nombre de champs (<i>Nombre de chamsp </i> mis sur &quot;variable&quot;), ce parametrage donne le nombre maximum de champs que pourra choisir l'utilisateur. Sinon, ce parametrage détermine le nombre de champs d'upload apparents.</p>
-<p><i>Champs d'upload URI </i> propose le même type de contrôles que <i>Champs d'upload</i>, mais il controles l'affichage des champs de'ulpoad URI.</p>
-<a name="group_cp_upload_method_end"></a>
-<p><b>Notez bien</b>: pour une installation non bridgée (Coppermine autonome), le groupe "banned" n'a aucun effet. Un utilisateur qui est membre de ce groupe peut s'identifier et voir les images, il lui est seulement impossible de télécharger, voter, envoyer des cartes électroniques ou poster des commentaires. Si vous voullez faire un vrai bannissement pour certains utilisateurs, vous devrez utiliser la fonction "bannir un utilisateur" à la place (non relié avec le groupe "banned").</p>
-<a name="group_cp_end"></a>
-<p><a class="back" href="#top">Haut de page</a></p><hr />
-
-<a name="user_cp"></a><h2>4.4 Le panneau de gestion des utilisateurs</h2>
-<p>Le panneau de gestion des utilisateurs est accessible en cliquant sur le boutton "utilisateurs" du menu administrateur. C'est l'endroit ou vous pouvez créer et gérer les utilisateurs.</p>
-<p><span class="important">Si vous aves activé l'intégration (bridge) de Coppermine avec une autre application (votre forum par exemple), Coppermine utilisera la tables des membres de cette application, et donc, la gestion d'utilisateurs intégré à Coppermine sera désactivée en faveur de celle de l'application bridgée avec Coppermine.</span></p><p>Vous n'aurez donc pas cette page de gestion des utilisateurs; en cliquant sur le lien "utilisateurs" vous serez dirigé vers la page de gestion des utilisateurs de votre application bridgée avec Coppermine.</p>
-<img src="pics/fr_usermgr.gif"  border="0" alt="" title="page de gestion des utilisateurs" /><br />
-<a name="user_cp_page"></a><h3>4.4.1 Commandes de la page</h3>
-<ul>
-<li>Vous pouvez choisir l'ordre de tri sur l'affichage de la page  en cliquant sur les icônes en forme de flèche (<img src="../images/ascending.gif" width="9" height="9" border="0" alt="" title="croissant" /><img src="../images/descending.gif" width="9" height="9" border="0" alt="" title="décroissant" />) à côté de chaque entête de colonne ou en choississant l'ordre de tri dans le menu déroulant en haut à droite de la page.</li>
-<li>Si vous avez plus de 25 utilisateurs, des liens de navigation apparaitrons en bas à droite de la page, vous permettant d'acceder aux autres pages de la liste de vos membres</li>
-<li>Cliquer sur le nom d'utilisateur <b>affichera</b> la page de profil de l'utilisateur sélectionné (lercture seulement)</li>
-<li>L'icone d'édition (<img src="../images/edit.gif" width="16" height="16" border="0" alt="" title="édition" />) vous conduira vers la page de profil de l'utilisateur en mode <b>édition</b>  - vous pouvez modifier le mot de passe, l'adresse Email et d'autres parametrages concernant l'utilisateur ici</li>
-<li>Si l'utilisateur a téléchargé des fichiers, un lien "Téléchargements récents" sera visible à côté de son nom, permettant de visualiser les fichiers téléchargés par cet utilisateur en particulier</li>
-<li>La colonne groupe affiche le groupe initial dont l'utilisateur est membre</li>
-<li>La colonne "Enregistré le" montre la date ou l'inscription de cet utilisateur à eu lieu</li>
-<li>La colonne "dernière visite" affiche la date de la dernière connection de l'utilisateur. <br />Attention: si l'utilisateur à coché la case "Se souvenir de moi" sur la page d'identification, il n'aura pas besoin de s'identifier à chaque visite sur la galerie.</li>
-<li>La colonne "Fichiers" affiche combien de fichiers l'utilisateur à téléchargé pour l'instant (y compris ceux attendant l'approbation de l'administrateur)</li>
-<li>La colonne "Espace utilisé" affiche combien d'espace aloué à l'utilisateur est déjà utilisé. L'espace total alloué à l'utilisateur ("Quota d'espace") dépend des groupes d'utilisateurs - vous les parametrez dans le <a href="#group_cp">Gestionnaire de groupes</a>.</li>
-<li>Vous pouvez changer certains parametrages pour différents utilisateurs immédiatement en cochant la boite de sélection devant la ligne de l'utilisateur (utilisez la boite de sélection tout en haut de la page pour sélectionner/déselectionner tous les utilisateurs sur la page) et choisissez l'action à lancer depuis le menu déroulant "sélectionner" en bas à gauche de la page. Les actions possibles sont: "Effacer", "Désactiver", "Activer", "Changer le mot de passe", "Changer le groupe principal" et "Ajouter un groupe secondaire". L'utilisateur actuellement connecté (vous en tant qu'administrateur) n'a pas de boite de sélection devant sa ligne afin d'éviter un effacement accidentel de votre compte administrateur.</li>
-</ul>
-<a name="user_cp_page_end"></a>
-<a name="user_cp_search"></a><h3>4.4.2 Chercher un(des)utilisateur(s)</h3>
-<p>Vous pouvez utiliser les jokers <tt class="code">*</tt> (toutes les chaines) and <tt class="code">?</tt> (tout caractère simple) ou même <tt class="code">%expression%</tt>.<br />Exemple: une recherche sur <tt class="code">j*</tt> retournera les deux: <tt class="code">Jack</tt> et <tt class="code">Jill</tt></p>
-<a name="user_cp_search_end"></a>
-<a name="user_cp_new"></a><h3>4.4.3 Créer de nouveaux utilisateurs</h3>
-<p>Pour créer un nouvel utilisateur, cliquez simplement sur le bouton  "Créer un n ouvel utilisateur" au bas de la page et completez le formulaire qui apparaitra.</p>
-<a name="user_cp_new_end"></a>
-<a name="user_cp_end"></a>
-<p><a class="back" href="#top">Haut de page</a></p><hr />
-
-<a name="cat_cp"></a><h2>4.5 Le panneau de gestion des catégories</h2>
-<p><img src="pics/fr_category_cp.gif" border="1" alt="Gestion des catégories" /></p>
-<p>C'est la que vous pouvez éditer vos catégories.</p>
-<ul>
-<li>Le bouton <img src="pics/edit.gif" border="0" width="16" height="16" alt="" />
-vous permets de modifier le titre, la description et la catégorie parents d'une catégorie existante.</li>
-<li>Le bouton <img src="pics/delete.gif" width="16" height="16" alt="" />
-vous permets d'effacer une catégorie. Effacer une catégorie n'efface pas les albums et les fichiers contenus. Ils sont simplement déplacés dans la catégorie &quot;Racine&quot;.</li>
-<li>Les boutons <img src="pics/up.gif" width="16" height="16" alt="" /> et <img
-src="pics/down.gif" width="16" height="16" alt="" /> permettent de changer l'ordre des catégories.</li>
-<li>La liste déroulante &quot;<b>Déplacer dans</b>&quot; vous permets de changer la catégorie parente d'une catégorie spécifique. </li></ul>
-<p>&quot;<b>User galleries</b>&quot; est une catégorie spéciale. Elle n'est pas visible sauf si certains utilisateurs ont créer leur propre galerie. Elle ne peut pas être effacée mais vous pouvez modifier son titre et sa description en utilisant le bouton <img src="pics/edit.gif" width="16" height="16" alt="" /> . </p>
-<p>Vous pouvez spécifier à Coppermine de trier toutes les catégories par ordre alphabétique (au lieu d'un ordre personnalisé) en parametrant &quot;Classement des catégories par ordre alphabétique&quot; sur &quot;OUI&quot;. Ce parametrage est disponible dans la page de configuration de Coppermine et dans le gestionnaire de catégories. Si vous activez le classement par ordre alphabétique, les flèches "hau" et "bas" qui vous permettent normalement de déplacer les catégories ne sont plus affichées.</p>
-<p><a class="back" href="#top">Haut de page</a></p><hr />
-
-<a name="albmgr"></a><h2>4.6 Le gestionnaire d'Albums</h2>
-<p><img src="pics/fr_albmgr.gif"  border="0" alt="" title="Gestionnaire d'album" /></p>
-<p>Coppermine stocke les fichiers dans des albums, vous avez donc besoin d'au moins un album pour y placer vos fichiers/photos. Les albums peuvent être regroupés dans des catégories (mais vous n'avez pas <i>besoin</i> de catégorie, ils peuvent aussi être placés à la &quot;racine&quot; de Coppermine).</p>
-<p>Lorsque cous cliquez sur &quot;Albums&quot; dans le menu Administrateur, vous accédez au <i>gestionnaire d'album</i>.</p>
-<h3><a name="albmgr_create"></a>4.6.1 Créer des albums</h3>
-<ul>
-<li><b>Choisissez depuis la liste déroulante</b> &quot;Sélectionner une catégorie category&quot; la catégorie dans laquelle placer l'album (ou choisissez &quot;* Pas de Catégorie *&quot; si l'album doit être placé à la &quot;racine&quot; de Coppermine). Si vous n'avez pas encore crée de catégorie, allez au <a href="#cat_cp">panneau de gestion des catégories</a> d'abord, mais vous pouvez déplacer par la suite l'album en utilisant la page <a href="#album_prop">propriétés de l'album</a>.</li>
-<li><b>Cliquez sur le bouton &quot;Nouveau&quot;</b> - votre nouvel album apparaitdans la listet, avec par défaut le nom &quot;Nouvel album&quot;</li>
-<li><b>Cliquez sur le champ texte au bas de l'écran</b>, sélectionnez le nom par défaut &quot;Nouvel Album&quot;</li>
-<li><b>Entrez le nom que vous voulez lui donner</b></li>
-<li>(répetez les étapes  2 à 4 pour ajouter plus d'un album)</li>
-<li><b>Cliquez sur &quot;Appliquer les modifications&quot;</b> pour soumettre vos changements à la base de donnée (si vous ne le faites pas, toutes vos modifications seront perdues)</li>
-<li><b>Confirmer en cliquant sur &quot;OK&quot; dans la fenêtre d'alerte</b> (<i>Etes vous sur de vouloir faire ces modifications ?</i>)</li>
-</ul>
-<h3><a name="albmgr_rename"></a>4.6.2 Renommer les albums</h3>
-<ul>
-<li><b>Choisissez une catégorie dans la liste déroulante</b></li>
-<li><b>Cliquez sur l'album à modifier</b></li>
-<li><b>Cliquez sur le champ teste au bas de l'écran</b>, sélectionnez le nom de l'album</li>
-<li><b>Entrez le nouveau nom de l'album</b></li>
-<li><b>Cliquez sur &quot;Appliquer les modifications&quot;</b></li>
-<li><b>Confirmer en cliquant sur &quot;OK&quot; dans la fenêtre d'alerte</b> (<i>Etes vous sur de vouloir faire ces modifications ?</i>)</li>
-</ul>
-<h3><a name="albmgr_order"></a>4.6.3 Changer l'ordre des albums</h3>
-<ul>
-<li><b>Choisissez une catégorie dans la liste déroulante</b></li>
-<li><b>Cliquez sur l'album que vous voulez monter ou descendre dans la liste</b></li>
-<li><b>Utilisez les flèches pour déplacer l'album vers le haut<img src="../images/move_up.gif" width="26" height="21" border="0" alt="" title="monter" /> ou vers le bas <img src="../images/move_down.gif" width="26" height="21" border="0" alt="" title="descendre" /></b></li>
-<li><b>Cliquez sur &quot;Appliquer les modifications&quot;</b></li>
-<li><b>Confirmer en cliquant sur &quot;OK&quot; dans la fenêtre d'alerte</b> (<i>Etes vous sur de vouloir faire ces modifications ?</i>)</li>
-</ul>
-<h3><a name="albmgr_delete"></a>4.3.4 Effacer des albums</h3>
-<ul>
-<li><b>Choisissez une catégorie dans la liste déroulante</b></li>
-<li><b>Cliquez sur l'album que vous voulez effacer</b></li>
-<li><b>Cliquez sur le bouton &quot;Supprimer&quot; </b></li>
-<li><b>Confirmee en cliquant sur &quot;OK&quot; dans la fenêtre d'alerte</b> (<i>Etes vous sur de vouloir effacer cet album ? Tous les fichier et commentaires qu'il contenait seront perdus !</i>)</li>
-<li><b>Cliquez sur &quot;Appliquer les modifications&quot;</b></li>
-<li><b>Confirmer en cliquant sur &quot;OK&quot; dans la fenêtre d'alerte</b> (<i>Etes vous sur de vouloir faire ces modifications ?</i>)</li>
-</ul>
-<a name="albmgr_end"></a>
-<p><a class="back" href="#top">Haut de page</a></p><hr />
-
-<h2>4.7 Modifier les albums/fichiers<a name="modif_alb_pics"></a></h2>
-<p>Si vous êtes en mode administrateur, un menu est affiché à côté de chaque album</p>
-<p></p>
-<p><img src="pics/fr_album_menu.gif" border="1" alt="" /></p>
-<p><b>Supprimer</b> permets de supprimer l'album ainsi que tous les fichiers qu'il contient.</p>
-<p><b><a href="#album_prop">Propriétés</a></b> vous permets de modifier le nom, la description et les droitsde l'album</p>
-<p><b><a href="#edit_pics">Modifier les photos</a></b> vous permets de modofoer les titres/légendes/mots-clés etc... des fichiers dans l'album</p>
-<p><a class="back" href="#top">Haut de page</a></p><hr />
-
-<a name="album_prop"></a><h2>4.8 Propriétés de l'album</h2>
-<p><img src="pics/fr_edit_album.gif" border="0" alt="" /></p>
-<p>La liste déroulante "Catégorie de l'album"  vous permets de déplacer l'album entre les catégories. Si vous le mettez sur &quot;* Pas de catégorie *&quot; l'album apparaitra sur votre page principale.</p>
-<p>Utilisez les <a href="#bbcode">bbcode</a> pour ajouter des liens ou pour formater la description.</p>
-<p>La vignette est l'image qui représentera cet album dans la liste des albums.</p>
-<p>Si vous avez parametré  &quot;Les utilisateurs peuvent avoir des albums privés&quot; sur OUI dans la <a href="#admin">page de configuration</a>, vous pouvez définir qui peut voir les fichiers de cet album.</p>
-<p>Si &quot;les visiteurs peuvent mettre des photos en ligne&quot; est parametré sur OUI, il est possible de télécharger des fichiers dans cet album.</p>
-<a name="album_prop_visitor_start"></a>
-<p><b>Attention: Un visiteur peut avoir le droit de télécharger des fichiers dans cet album ou cette option est parametrée sur OUI uniquement si il est membre d'un groupe où &quot;peut télécharger des images&quot; est parametré sur OUI.</b> Les utilisateurs non enregistrés sont membres du groupe &quot;Anonymous&quot;.</p>
-<p>Les mêmes règles s'appliquent pour &quot;Les visiteurs peuvent poster des commentaires&quot; et &quot;les visiteurs peuvent noter ce fichier&quot;.</p>
-<a name="album_prop_visitor_end"></a>
-<a name="album_prop_keyword_start"></a>
-<p>Le <b>Mot-clé de l'album</b> n'est <i>pas</i> utilisé dans un but de recherche, mais pour afficher des images d'autres albums dans celui-ci. En utilisant cette métode, les fichiers/images peuvent être dans plusieurs albums alors qu le fichier lui même nexiste qu'une seule fois sur votre serveur: vous téléchargez le fichier dans un album et lui assignez un ou plusieurs mots-clé. Puis allez dans les propriétés de l'autre album et ajoutez les mots-clé assignés au fichier dans le champ  &quot;mots clé de l'album&quot; du deuxième album. Pour le visiteur de cet album, ce sera comme si les fichiers/images étaien présents dans les deux albums. </p>
-<a name="album_prop_keyword_end"></a>
-<a name="album_prop_password_start"></a>
-<p><b>Mot de passe de l'album</b>: vous pouvez proteger l'accès à un album par mot de passe (au lieu de se baser sur les droits "normaux" des groupes). Par ce moyen, vous pouvez permettre l'accès à des utilisateurs non enregistrés (invités) qui connaissent le mot de passe. Utilisez cette option pour paramêtre un album pour les membres de votre famille en déterminant un mot de passe qu'eux seuls peuvent connaître grace à une question pense bête suggérant la réponse  (par exemple "<i>Quel est le nom de jeune fille de tante Ursule?</i>"), ou vous pouvez décider d'envoyer le mot de passe particulier par Email uniquement à vos amis. La question opptionnelle <b>pense bête</b> est affichée à côté du champ demandant le mot de passe, si elle est définie.<br />
-Attention: en définissant un mot de passe pour un album, le champ de la liste déroulante "<i>L'album peut être vu par</i>" sera placé automatiquement sur "<i>seulement moi</i>" - C'est le comportement normal. Si vous changez  "<i>l'album peut être vu par</i>" par quelque chose d'autre, vous devrez bien sur désactiver le mot de passe de l'album.</p>
-<a name="album_prop_password_end"></a>
-
-<a name="album_prop_reset_start"></a>
-<h3>4.8.1 Réinitialisation des propriétés de l'album</h3>
-<img src="pics/fr_modifyalb_reset.gif"  border="0" alt="" />
-<p>Vous pouvez réinitialiser le compteur de vue et de votes dans l'album et même effacer toutes les images en même temps, dans la sous-section &quot;Réinitialiser l'album&quot; en cochant les options et en soumettant le formulaire. Pour éviter les réinitialisations accidentelles, vous devez d'abord cocher l'option &quot;Je suis sur&quot; avant de pouvoir soumettre les changements (Le bouton est grisé si vous ne le faites pas).</p>
-<p>Utilisez cette option avec prudence: La suppression de fichiers est irreversible, de même que les compteurs de vue et de votes (vous pouvez uniquement restaurer le compteur de vues et de notes manuellement en éditant les entrées de la base de donnée de Coppermine avec un outil extérieur tel que <a href="http://www.phpmyadmin.net/" class="external" rel="external">phpMyAdmin</a> - non recommandé).</p>
-<a name="album_prop_reset_end"></a>
-<a name="album_prop_end"></a>
-<p><a class="back" href="#top">Haut de page</a></p><hr />
-
-<a name="edit_pics"></a><h2>4.9 Edition des fichiers</h2>
-<p><img src="pics/fr_edit_picture.gif" border="0" alt="" /></p>
-<p>C'est là que vous pouvez modifier le titre, la description, les mots clé et les champs personnalisés(si ils sont utilisés) d'un fichier.</p>
-<p>Utilisez le menu déroulant pour déplacer le fichier vers un autre album.</p>
-<p><a class="back" href="#top">Haut de page</a></p><hr />
-
-<h3>4.9.1 Editing videos<a name="edit_vids"></a></h3>
-<p><img src="pics/edit_video.gif" border="0" alt="" /></p>
-<p>C'est là que vous pouvez modifier le titre, la description, les mots clé et les champs personnalisés(si ils sont utilisés) d'un fichier.</p>
-<p>Utilisez le menu déroulant pour déplacer le fichier vers un autre album.</p>
-<p>Utilisez les champs hauteur et largeur pour parametrer la taille des vidéeos.</p>
-<p>La mise en ligne de vidéeos est possible depuis cpg1.3.0 (ou suppérieur) et comme ajout pout cpg1.2.1 sous forme de modification.</p>
-<p class="small">[cpg 1.3.0 ou supérieur requis]</p>
-<p><a class="back" href="#top">Haut de page</a></p><hr />
-
-<h3>4.9.2 Vignettes personnalisées<a name="cust_thmb"></a></h3>
-<p><img src="pics/cust_thmb.gif" border="1" alt="" /></p>
-<p><b>Orde des vignettes:</b><br />
-<b class="important">Les vignettes sont sélectionnées par niveau (défini par l'utilisateur, définies par le thème, global) puis par type (Type de fichier, extention de fichier, type de média) dans l'ordre.</b> Les vignettes définies par l'utilisateur sont stockées dans le répertoire ou se trouve le fichier. Les vignettes définies par le thème sont stockées dans le répertoire 'images' du thème. Les vignettes globales sont stockées dans le répertoire 'images' de la racine de Coppermine. <b class="important">les vignettes peuvent être soit des 'gif', 'png', ou 'jpg'.</b></p>
-<p><b>Types de vignettes:</b><br />
-<b class="important">Les vignettes spécifiques à un fichier doivent avoir le même nom de base que le fichier.</b> dans l'exemple utilisé dans la capture d'écran, la vignettes pourrait être 'thumb_<b>thailand_waterfall</b>.gif', 'thumb_<b>thailand_waterfall</b>.png', ou 'thumb_<b>thailand_waterfall</b>.jpg', dans cet ordre.</p>
-<p><b class="important">Les vignettes spécifiques à une extention de fichier sont nommées après l'extention du fichier.</b> (Exemples: 'thumb_wmv.jpg', 'thumb_wav.jpg'.)</p>
-<p><b class="important">Les vignettes spécifiques à un type de média sont 'thumb_movie', 'thumb_document', and 'thumb_audio'.</b> Les photos utilisent par défaut les vignettes spécifiques au fichier.</p>
-<p><b>Mise en ligne:</b><br />
-Il y a 2 manières de mettre en ligne les vignettes personnalisées:</p>
-<p>1. Ayez une image déjà en ligne puis téléchargez une vidéo via la page de téléchargement. (ou vice versa) La vidéo partagera la vignette de l'image.<br />
-</p><br /><br />
-<p><img src="pics/cust_thmb_3.gif" border="1" alt="" /></p>
-<p>2. Téléchargez par FTP les deux: vidéo et vignette/image puis mettez les en ligne par lot. Si vous téléchargez par FTP la vignette, elle sera montrée à la place de celle par défaut de Coppermine dans la page de traitement par lot. Si vous téléchargez une image, elle aura l'air d'une capture d'écran. De même, si les deux fichiers sont ajoutés, la vignette de l'imagesera utilisée par la vidée.</p>
-<br /><br />
-<p><img src="pics/cust_thmb_final.gif" border="1" alt="" /></p>
-<p>Résultat final.</p>
-<p>Attention: Si la methode 1 est utilisée et l'image effacée, la vignette sera elle aussi effacée, et la vignette par défaut de Coppermine sera utilisée.<br />
-Si une vidéo a été précédemment mise en ligne via le FTP, la vignette doit être téléchargée par le FTP dans le même répertoire.</p>
-<p>La mise en ligne de vidéeos est possible depuis cpg1.3.0 (ou suppérieur) et comme ajout pout cpg1.2.1 sous forme de modification. Les vignettes personnalisée ne sont pas supportées par les versions antérieures à 1.3.0. <b class="important"> En suivant ces instructions, une vignette personnalisée peut être définie pour ous les fichiers, pas uniquement pour les vidéos.</b>
-</p>
-<p><b>FAQS:</b></p>
-<ul>
-<li><b>Quote</b><br /><div class="quote">J'ai une vidéo nommée <b>'movie.wmv'</b>, quand je télécharge une vignette pour elle nommée <b>'thumb_movie.jpg'</b> elle remplace plusieurs vidéos!!!!</div>
-Oulà!!!. <b>'thumb_movie.jpg'</b> est une vignette spécifique à un type de média. Renommez la vidéo et sa vignette autrement que juste <b>'movie'</b>.</li>
-<li><b>Quote</b><br /><div class="quote">Je ne trouve pas les répertoires de mes utilisateurs!</div>
-Depuis Coppermine, recherchez l'album utilisateur. Regardez l'adresse de la page dans la barre d'adresse de votre navigateur et vousverrez le nom du répertoire. (Voyez la capture d'écran pour l'exemple.)<br />
-<img src="pics/user_folder_link.gif" alt=""/><br />
-Vos utilisateurs peuvent télécharger leurs propres vignettes en utilisant cette astuce: Créez un album. Changez les droits afin que personne d'autre que luine puisse le voir. Puis téléchargez les images grandeur réelle des vignettes dans ce répertoire. Les fichiers hors de cet album sont en mesure d'utiliser les vignettes de ces images. (Regardez plus haut pour le nom.)</li>
-<li><b>Quote</b><br /><div class="quote">Comment puis-je faire pour empêcher mes utilisateurs de créer leurs propres vignettes ?</div>
-Pour l'instant, vous ne pouvez pas.</li>
-</ul>
-<p class="small">[cpg 1.3.0 ou supérieur requis]</p>
-<a name="edit_pics_end"></a>
-<p><a class="back" href="#top">Haut de page</a></p><hr />
-
-
-<a name="bbcode"></a>
-<h2>4.10 Utilisation des "bbcode" pour inserer des liens et pour formater les textes des descriptions</h2>
-<p>Coppermine peut utiliser les bbCodes suivants (les mêmessbbCodes sont utilisées par phpBB ainsiq eu d'autres applications de type forums) dans les descriptions d'images ou d'albums</p>
-<ul>
-  <li><tt class="code">[b]Gras[/b]</tt> =&gt; <b>Gras</b></li>
-  <li><tt class="code">[i]Italique[/i]</tt> =&gt; <i>Italique</i></li>
-  <li><s><tt class="code">[url=http://votresite.com/]Texte du lien[/url]</tt> =&gt; <a href="http://votresite.com">Texte du lien</a></s> (cpg1.4.21)</li>
-  <li><tt class="code">[email]utilisateur@votrehebergeur.com[/email]</tt> =&gt; <a href="mailto:utilisateur@votrehebergeur.com">utilisateur@votrehebergeur.com</a></li>
-  <li><tt class="code">[color=red]du texte[/color]</tt> =&gt; <span style="color:red">du texte</span></li>
-  <li><s><tt class="code">[img]http://coppermine.sf.net/demo/images/red.gif[/img]</tt> => <img src="../images/red.gif" border="0" alt="" /></s> (cpg1.4.21)</li>
-</ul>
-<a name="bbcode_end"></a>
-<p><a class="back" href="#top">Haut de page</a></p><hr />
-
-<a name="ftp"></a><a name="batch_add_pics"></a>
-<h2>4.11 Téléchargement des fichiers par FTP / Ajout d'images par lot</h2>
-<p>Il est recommandé aux administrateurs de galeries Coppermine d'utiliser le FTP pour mettre en ligne beaucoups d'images en une seule fois. Utilisez votre logiciel FTP pour créer des sous-répertoires dans <i>votre_repertoirecoppermine/albums/</i>, ou les téléchargements par FTP pourront être placés. C'est une bonne idée d'avoir une structure de répertoires dans le répertoire <i>albums</i> reflettant la structure de vos catégories et de vos albums dans la galerie Coppemrine, mais ce n'est pas obligatoire.</p><p><span class="important">Important</span>: do not create folders or upload to the <i>userpics</i>- nor the <i>edit</i>-folder by ftp: these folders are used by coppermine internally and mustn't be used for any other purpose! Folder names mustn't contain dots and it's even recommended not to use any special chars - only use a-z, numbers and maybe <tt class="code">-</tt> or <tt class="code">_</tt>. Make sure to upload in binary or auto-mode.</p>
-<p>Après avoir téléchargé vos photos par FTP, cliquez sur le bouton FTP du menu administrateur. L'ajout par lot se fera en trois étapes:</p>
-<ul>
-<li>Trouvez le répertoire dans lequel vous avez téléchargé vos photos. Selectionnez le en cliquant dessus.
-<br /><img src="pics/fr_searchnew_1.gif" border="0" alt="" /><a name="ftp_select_dir_end"></a></li>
-<li><a name="ftp_select_file"></a>Sélectionnez les photos que vous voulez mettre en ligne (en cochant la case à côté d'elles, les nouvelles images sont pré-sélectionnées, celles qui sont déjà dans la base de donnée de Coppermine ne le sont pas) et l'album dans lequel vous voullez les insérer. Cliquez sur &quot;Placer les images sélectionnées&quot; pour commencer le traitement par lot.<br />
-<img src="pics/fr_searchnew_2.gif" border="0" alt="" /><a name="ftp_select_file_end"></a></li>
-<li><a name="ftp_show_result"></a>Coppermine va afficher le résulta du traitement d'ajout par lot(patientez un peu avant que tous les résultats soient affichés).<br />
-Si les 'signes' OK, DP, PB n'apparaissent pas cliquez sur le lien cassé pour voir les messages d'erreur de PHP.<br />
-Si vous rencontrez un problème de 'timeout', rechargez la page depuis votre navigateur.
-<ul>
-<li>OK : signifie que le fichier a été placé avec succès</li>
-<li>DP : signifie que le fichier est un double et est déjà placé dans la base de donnée</li>
-<li>PB : signifie que le fichier n'a pas pu être ajouté, vérifiez votre configuration et les droits des répertoires ou les fichiers sont placés</li>
-<li>NA : signifie que vous n'avez pas sélectionné d'album où placer les fichiers, retournez en arrière et sélectionnez un album. Si vou sn'avez pas d'album, créez en un d'abord</li>
-</ul>
-<a name="ftp_show_result_end"></a>
-</li>
-</ul>
-<p>Donner l'accès FTP à d'autres utilisateurs est un sérieux danger pour la sécurité, c'est&Acirc;&sup2;la raison pour laquelle le traitement d'ajout par lots est uniquement possible pour l'administrateur de la galerie Coppermine.</p>
-<p>Une fois que les fichiers ont été ajoutés dans la base de donnée de Coppermine, assurez vous de ne pas les renommer ou les effacer par le FTP - utilisez plutôt le menu administrateur de coppermine pour supprimer des fichiers, par ce biais, ils seront supprimés à la fois de la base de donnée <b>et</b> du système de fichiers.</p>
-<a name="ftp_end"></a>
-<p><a class="back" href="#top">Haut de page</a></p><hr />
-
-<h2>4.12 Page de configuration de la galerie<a name="admin"></a></h2>
-<p>C'est l'emplacement où vous pourrez configurer la plus grande part de votre galerie Coppemine. Certains paramètres ont un impact sur les fichiers que vous avez mise en ligne - changer ces options si vous avez déjà un grand nombre de fichiers en ligne peut être problématique, c'est pourquoi vous devriez réfléchir à ces paramétrages juste aprè sl'installation de votre galerie Coppermine, avant que vous ne mettiez en lignes des images ou que vous ne montriez votre galerie au public.</p>
-<a name="admin_general"></a>
-<h3>4.12.1 Paramètres généraux</h3>
-<a name="admin_general_name"></a><h4>Nom de la galerie</h4>
-<p>Il s'agit du nom de votre galerie. Il apparaitra dans le titre de vos pages et est affiché dans certains gabarits.</p>
-<a name="admin_general_name_end"></a>
-<a name="admin_general_description"></a><h4>Description de la galerie</h4>
-<p>C'est une courte description de votre galerie. Cette description est montrée dans certains thèmes à côté du nom de votre galerie.</p>
-<a name="admin_general_description_end"></a>
-<a name="admin_general_email"></a><h4>Courriel de l'administrateur de la galerie</h4>
-<p>Tous les courriels envoyés par la galerie sont envoyés à cette adresse. Vérifiez que vous avez bien entré une adresse valide.</p>
-<a name="admin_general_email_end"></a>
-<a name="admin_general_coppermine-url"></a><h4>URL du répertoire de votre galerie Coppermine</h4>
-<p>C'est l'adresse URL vers laquelle sera dirigé le visiteur qui clique sur le lien &quot;Voir plus de photos&quot; sur une carte postale électronique. Ce <i>doit</i> être l'adresse URL de votre galerie (juste le chemin vers votre répertoire Coppermine, par exemple: <i>http://votresite.com/coppermine/</i>). Ne précisez pas de fichier précis (comme index.php) dans ce champ.</p><p>Dans les versions antérieures de coppermine, ce champ était appelé &quot;adresse cible pour le lien 'Voir plus de Photos' des cartes électroniques&quot;, mais depuis que cette URL est utilisée ailleur par Coppermine, son nom a changé.</p>
-<a name="admin_general_coppermine-url_end"></a>
-<a name="admin_general_home-url"></a><h4>URL de votre page d'accueil</h4>
-<p>C'est l'adresse URL vers laquelle le visiteur sera dirigé lorsqu'il cliqueras sur le bouton &quot;Accueil&quot; du menu principal.</p>
-<p>Vous pouvez utiliser &quot;/&quot; pour la racine de votre site, &quot;index.php&quot; pour votre galerie, ou toute adresse URL valide.</p>
-<p class="small">[cpg1.4.0 ou supérieur requis]</p>
-<a name="admin_general_home-url_end"></a>
-<a name="admin_general_zip-download"></a><h4>Permettre le téléchargement-ZIP des favorits</h4>
-<p>Si cette option est activée, l'utilisateur peut télécharger un fichier ZIP contenant les fichiers qu'il a placé dans la page &quot;Mes favorits&quot;. Cette otpion requière que la librairie zlib soit instéllée sur votre serveur (lancez <a href="http://www.php.net/phpinfo" class="external">phpinfo</a> pour vérifier si cette librairie existe sur votre serveur).</p>
-<p class="small">[cpg1.3.0 ou supérieur requis]</p>
-<a name="admin_general_zip-download_end"></a>
-<a name="admin_general_time-offset"></a><h4>Différence d'heure par rapport à l'heure GMT</h4>
-<p>Spécifiez la différence entre votre heure locale et l'heure de la zone ou se situe votre serveur. Cette valeur est utilisée pour corriger le cachet d'heure dans les cartes éléctroniques et à d'autres endroits.</p>
-<p class="small">[cpg1.4.0 ou supérieur requis]</p>
-<a name="admin_general_time-offset_end"></a>
-<a name="admin_general_encrypt_password_start"></a><h4>Autoriser les mots de passe cryptés</h4>
-<p>Cette option est uniquement valable si les mots de passe utilisateurs sont stockés en textes entiers dans la base de donnée (habituellement c'est le cas si vous mettez a jour depuis une ancienne version de Coppermine qui n'avait pas cette option). Cela va crypter tous les mots de passe dans la base de donné, et tous les futurs mots de passe seront stockés cryptés eux aussi. Ce processus est irréversible: une fois que le cryptage est en place, il est impossible de le désactiver, utilisez cette option en connaisance de cause.</p>
-<p>Cette option augmente la sécurité de Coppermine, mais il y a un inconvénient à cette methode: même l'administrateur ne peut pas retrouver un mot de passe perdu pour un utilisateur (ou le sien), le mot de passe peut seulement être réinitialiser à une autre valeur, mais l'administrateur ne peut pas lire l'actuel mot de passe d'un utilisateur.</p>
-<p class="small">[cpg1.4.0 ou supérieur requis]</p>
-<a name="admin_general_encrypt_password_end"></a>
-<a name="admin_general_help"></a><h4>Activer les icônes d'aide</h4>
-<p>Active l'affichage des icônes d'aide dans divers endroits des pages d'administration de Coppermine. Si vous activez cette option, assurez vous d'avoir téléchargé le répertoire "docs" dans le répertoire Coppermine sur votre serveur Web.</p>
-<p>Si vous choissisez ce parametrage sur &quot;Oui: Tout le monde&quot;, les utilisateurs enregistrés pourront voir les icônes d'aide à certains endroitsl, par exemple lors de la création d'une galerie utilisateur.</p>
-<p>Comme le texte d'aide est basé sur la documentation livrée avec Coppermine, elle est disponible en Anglais (et ici en Français, peut être dans d'autres langues). Si la langue manternelle de vos visiteurs n'est pas la même que celle de la documentation que vous avez placé sur votre serveur, il est conseillé de mettre cette option sur &quot;OUI: Uniquement l'administrateur&quot; afin d'éviter les confusions chez vos visiteurs.</p>
-<p>Il est fortement déconsséillé de désactiver totalement les icônes d'aide: même si vous pensez savoir tout ce qui se passe dans votre galerie Coppermine, Les icônes d'aides peuvent vous donnez des indications sur les actions d'une option spécifique.</p>
-<p class="small">[cpg1.4.0 ou supérieur requis]</p>
-<a name="admin_general_help_end"></a>
-<a name="admin_general_keywords_start"></a><h4>Activer les mots-clé cliquables dans la recherche</h4>
-<p>Lorsque cetteoption est activée, une liste de tous les mots clé entrés dans la  page &quot;<a href="#edit_pics">Editer les fichiers</a>&quot; sera affichée au bas de la page de recherche, chaque mot clé  etant cliquable. L'activation de cette option est recommandée si vou sn'avez pas un trop grand nombre de mots clé (par exemple moins de 100) - celà donnera aux visiteurs une idée des recherches qu'il peut faire (en complément de la recherche depuis une phrase). Notez que l'activation de cette option pour une grande liste de mots clé (par exemple plusieurs centaines) va ralentir la page de recherche et risque d'embrouiller l'utilisateur débutant.</p>
-<p class="small">[cpg1.4.0 ou supérieur requis]</p>
-<a name="admin_general_keywords_end"></a>
-<a name="admin_general_enable-plugins"></a><h4>Activer les plugins</h4>
-<p>Activer les plugins. Cette fonction est toute neuve, il n'y a pas encore de documentation pour cette fonction.</p>
-<p class="small">[cpg1.4.0 ou supérieur requis]</p>
-<a name="admin_general_enable-plugins_end"></a>
-
-<a name="admin_general_private-ip"></a><h4> Autoriser le bannissement d'adresse IP non routable (privé)</h4>
-<p>Habituellement, la plupart des utilisateurs de l'internet ont une adresse IP dynamique qui leur est assignée par leur fournisseur d'accès au moment de la connection. Cette adresse IP change à chaque fois que l'utilisateur se connecte à l'internet, mais, pendant une session internet, cette adresse IP est &quot;visible&quot; par les sites web sur lesquels l'utilisateur surfe. Dans l'étendue de tous les adresse IP (0.0.0.0 à 255.255.255.255), certaines plages sont réservées dans un but précis (essentiellement pour une utilisation en réseaux privés). La fonction de banissement n'accepte pas les adresses IP provenant de cette plage d'adresses privées (exemple: 192.168.0.1) afin d'éviter à des administrateurs de galeries Coppermine innexpérimentés de bannir des adresses IP de leurs propres réseaux. Si vous utilisez actuellement  Coppermine sur votre LAN/WAN utilisant des adresse IP privées (par exemple l'intranet de votre entreprise) et que vous souhaitiez pouvoir bannir des utilisateurs, basculez cette option sur &quot;OUI&quot;. Si vous utilisez coppermine depuis un serveur web sur l'internet(par exemple si vous avez un hébergeur), vous devriez placer cette option sur &quot;Non&quot;.<br />
-Si vous n'utilisez pas le système de banissement, vou spouvez sans risque ignorer ce parametrage.</p>
-<p class="small">[cpg1.4.0 ou supérieur requis]</p>
-<a name="admin_general_private-ip_end"></a>
-
-<a name="admin_general_browsable_batch_add"></a><h4> Interface de téléchargement par lot</h4>
-<p>Pour <a href="#batch_add_pics">mettre en ligne par lot</a> des fichiers (Que vous avez placés par <acronym title="File Transfer Protocol">FTP</acronym> avant) dans votre galerie, vous devez choisir entre l'option d'une liste à parcourir, ou vous pourrez explorer la structure de votre répertoire <tt class="code">albums</tt>, et d'afficher la structure complête de vos répertoires. Activez cette option si vous avez une structure complexe de répertoires et sous répertoires que vous voulez explorer (Votre navigateur doit être capable d'afficher les <a href="http://www.w3schools.com/tags/tag_iframe.asp" class="external" rel="external">iframes</a>). Parametrez cette option sur &quot;Non&quot; (désacticé) si vous voulez utiliser l'interface &quot;classique&quot; de coppermine qui montre en une fois l'ensemble de la structure.<br />
-Vous pouvez aussi basculer cette option sur la page de <a href="#batch_add_pics">Téléchargement par lot</a> .</p>
-<p class="small">[cpg1.4.0 ou supérieur requis]</p>
-<a name="admin_general_browsable_batch_add_end"></a>
-<p><a class="back" href="#top">Haut de page</a></p><hr />
-
-<a name="admin_language"></a>
-<h3>4.12.2 Langue et jeu de caractères</h3>
-<p><img src="pics/fr_config_language.gif"  border="1" alt="parametrage de la langue" /></p>
-<a name="admin_language_language"></a><h4>Langue</h4>
-<p>C'est la langue par défaut de votre galerie. Tous les fichiers langues sont stockés dans le répertoire <b>lang</b> sur votre serveur.</p>
-<p>Les fichiers langues avec un suffixe "<b>-utf8</b>" sont des fichiers unicode . Si vous sélectionnez un fichier -utf8 comme language par défaut et que vous parametrez "encodage des caractères " sur "Unicode (utf-8)" le script détectera automatiquement la langue préférée du visiteur en se basant sur la configuration de son navigateur. Si le language correspondant existe, il sera utilisé sinon, c'est le language par défaut qui sera utilisé.</p>
-<p>Si le script détecte automatiquement la langue préférée du visiteur, il stocke ce résultat dans un cookie dans l'ordinateur du visiteur. pour réinitialiser ce cookie (et pour forcer le script à faire une nouvelle auto détection) appelez le avec quelque chose comme: <a href="#">http://votresite.com/coppermine_dir/index.php?lang=xxx</a></p>
-<p>Si vous aviez déjà ajouté des commentaires ou des fichiers dans votre galerie, vous ne devriez pas changer le jeu de caractères de votre galerie. Si vou sle faites, les caractères  non-ASCII risquent de ne pas s'afficher correctement.</p>
-<a name="admin_language_language_end"></a>
-<a name="admin_language_fallback"></a><h4>Remplacement par l'Anglais si la traduction de la phrase n'est pas trouvée ?</h4>
-<p>Activez cette option si vous utilisez une langue différente de l'anglais. Si certaines phrases n'existent pas dans votre fichier langage, coppermine affichera la phrase en anglais à la place.</p><p>Cette fonction a été introduite afin de permettre l'utilisation d'anciens fichiers langage, Pendant le développement d'une nouvelle version de Coppermine seul le fichier langage Anglais est mis à jour. Pour compenser les traductions soumises plus tard, vous pouvez utiliser cette option. La plupars des traductions affectent seulement la partie administration de Coppermine, donc, c'est principalement l'administrateur qui verra des phrases en Anglais à la place de sa langue si elle n'existe pas dans son fichier langage. Actuellement cette option de remplacement ne fonctionne que pour 95% des phrases, donc il se peut qu'il y ait encore des traductions manquantes.</p>
-<p class="small">[cpg1.4.0 ou supérieur requis]</p>
-<a name="admin_language_fallback_end"></a>
-<a name="admin_language_charset"></a><h4>Encodage des caractères</h4>
-<p>Il devrait normallement être sur "Unicode (utf-8)" (ou "Default (language file)"). Reportez vous au chapitre sur la &quot;<b><a href="#admin_language">langue</a></b>&quot; dans cette page.</p>
-<a name="admin_language_list"></a><h4>Affiche la liste des langues</h4>
-<p>Activez cette option si vous voulez que vos visiteurs puissent choisir leur propre langue avec une liste déroulante (vous pouvez choisir de montrer uniquementla liste elle même ou une légende disant &quot;<b>Choisissez votre langage:</b>&quot; avant la liste). Editez votre fichier "template" (/themes/votretheme/template.html) pour déterminer où vous voulez voir apparaitre la liste déroulante dans votre galerie (cherchez <b>{LANGUAGE_SELECT_LIST}</b>).</p>
-<p class="small">[cpg1.3.0 ou supérieur requis]</p>
-<a name="admin_language_list_end"></a>
-<a name="admin_language_flags"></a><h4>Affichez les drapeaux de langues</h4>
-<p>Activez cette option si vous voulez que vos visiteurs puissent sélectionner leur propre langue en cliquantsur le drapeau représentant leur langage (vous pouvez choisir de ne montrer que les drapeux eux même ou une légende disant &quot;<b>Choisissez votre langue:</b>&quot; devant les drapeaux). Editez votre fichier "template" (/themes/votretheme/template.html) pour déterminer ou vous souhaitez voir apparaitre les drapeaux dans votre galerie (cherchez <b>{LANGUAGE_SELECT_FLAGS}</b>).</p>
-<p class="small">[cpg1.3.0 ou supérieur requis]</p>
-<a name="admin_language_flags_end"></a>
-<a name="admin_language_reset"></a><h4>Affichez &quot;reset&quot; dans la sélection des langues</h4>
-<p>Cette option s'applique uniquement si vous avez activé la sélection de langue - il montrera une icône &quot;default&quot; ou une entrée dans la liste pour permettre au visiteur de retourner au langage initial de la galerie.</p>
-<p class="small">[cpg1.3.0 ou supérieur requis]</p>
-<a name="admin_language_reset_end"></a>
-<a name="admin_language_charset_end"></a>
-<p><a class="back" href="#top">Haut de page</a></p><hr />
-
-<a name="admin_theme"></a>
-<h3>4.12.3 Paramétrage des thèmes</h3>
-<a name="admin_theme_theme"></a><h4>Thème</h4>
-<p>Utilisez cette ligne pour sélectionner le thème de votre galerie. Les thèmes sont stockés dans des sous-répertoires du répertoire <b>themes</b>.</p>
-<a name="admin_theme_theme_end"></a>
-<a name="admin_theme_theme_list"></a><h4>Afficher la liste des thèmes</h4>
-<p>Activez cette option si vous voulez permettre à vos utilisateurs de sélectionner un autre thème depuis une liste déroulante (vous pouvez choisir de montrer uniquement la liste elle même ou une légende disant &quot;<b>Choisissez votre thème:</b>&quot; devant la liste). Editez votre fichier "template" (/themes/votretheme/template.html) pour déterminer ou la liste déroulante des thèmes sera affichée dans votre galerie (cherchez <b>{THEME_SELECT_LIST}</b>).</p>
-<p>Cette option n'a de sens que si vous avez au moins un autre thème dans votre répertoire /themes/ folder en plus de votre thème par défaut. Il est recommandé de n'offrir cette possibilité que si elle apporte un bénéfice à l'utilisateur (par exemple un thème moins "graphique" qui se chargera plus rapidement pour les visiteurs ayant une connection RTC, ou un thème avec moins de couleurs et avec un bon contraste).</p>
-<p class="small">[cpg1.3.0 ou supérieur requis]</p>
-<a name="admin_theme_theme_list_end"></a>
-<a name="admin_theme_theme_reset"></a><h4>Affiche &quot;reset&quot; dans la sélection du thème</h4>
-<p>Cette ne s'applique que si vous avez activé la sélection des thèmes - il montrera une entrée &quot;default&quot; dans la liste permettant au visiteur de retourner au thème par défaut de votre galerie.</p>
-<p class="small">[cpg1.3.0 ou supérieur requis]</p>
-<a name="admin_theme_theme_reset_end"></a>
-<a name="admin_theme_faq"></a><h4>Afficher la FAQ</h4>
-<p>Cette option ajoute &quot;FAQ&quot; dans la barre de menu si elle est activée. Si un visiteur clique dessus, il s'affichera une liste de &quot;Questions Fréquemment Posées (FAQ)&quot; sur l'utilisation de Coppermine. Pour changer le contenu de cette FAQ, éditez le fichier /votre_coppermine/lang/votre_langue.php (par exemple french.php) et cherchez</p>
-<pre>// ------------------------------------------------------------------------- //
-// File faq.php
-// ------------------------------------------------------------------------- //</pre>
-<p>Modifiez ce qui vient après.</p>
-<p class="small">[cpg1.3.0 ou supérieur requis]</p>
-<a name="admin_theme_faq_end"></a>
-<a name="admin_theme_custom_lnk_name"></a><h4>Nom du lien de menu personnalisé</h4>
-<p>C'est le nom qui apparaitra dans le menu pour votre lien personnalisé.  Laissez le vide si vous ne l'utilisez pas.</p>
-<p class="small">[cpg1.4.0 ou supérieur requis]</p>
-<a name="admin_theme_custom_lnk_name_end"></a>
-<a name="admin_language_custom_lnk_url"></a><h4>Adresse URL de votre lien personnalisé</h4>
-<p>C'est l'adresse URL vers laquelle l'utilisateur sera dirigé en cliquant sur le boutton &quot;Lien Personnalisé&quot; de votre menu principal.</p>
-<p>Vous pouvez utiliser une adresse URL valide.</p>
-<p>Il est important de lasser ce chanp vide si vous ne voulez pas de lien personnalisé.</p>
-<p class="small">[cpg1.4.0 ou supérieur requis]</p>
-<a name="admin_language_custom_lnk_url_end"></a>
-<a name="admin_theme_bbcode"></a><h4>Afficher l'aide pour les bbcode help</h4>
-<p>Si elle est activée, cette option affiche les <a href="#bbcode">bbcodes</a> qui peuvent être employés dans les champs de description, à côté de ce champ.</p>
-<p class="small">[cpg1.3.0 ou supérieur requis]</p>
-<a name="admin_theme_bbcode_end"></a>
-<a name="vanity_block"></a><h4> Afficher les boutons indiquant le respect des standards XHTML et CSS pour les thèmes conformes</h4>
-<p>Si activé, et si le thème utilisé respecte les standards XHTML et CSS, les icônes sont affichées. Le bloc comporte les icônes et liens  pour les soumissions HTML et CSS vers w3.org, ainsi que des liens vers les projets PHP, et MySQL.</p>
-<p class="small">[cpg1.4.1 ou supérieur requis]</p>
-<a name="vanity_block_end"></a>
-<a name="admin_theme_include_path_start"></a>
-<h4> Chemin pour inclure un en-tête de page personnalisé</h4>
-<p>Chemin relatif vers un fichier optionnel d'en-tête personnalisé. En utilisant cette option, vous pouvez inclure des éléments de code non-coppermine afin de les insérer à votre thème, par exemple une barre de navigation qui est utilisée dans l'ensemble de votre site. Vous pouvez uniquement ajouter un chemin relatif (vu depuis la racine de votre installation Coppermine) - pas de chemin absolu ni de lien http d'un autre site. Cette option est destinée aux utilisateurs expérimentés ayant des connaissances en PHP. <br />
-<span class="important">Attention: vous ne devez pas inclure des pages complètes contenant un entête ou un pied de page html (balises de type <tt class="code">&lt;head&gt;</tt> ou <tt class="code">&lt;body&gt;</tt>), ni des fichiers inclus faisant des manipulations d'entête, par exemple lisant un autre cookie (non-coppermine).</span></p>
-<p class="small">[cpg1.4.0 ou supérieur requis]</p>
-<h4> Chemin pour inclure un pied de page personnalisé</h4>
-<p>Chemin relatif vers un fichier optionnel de pied de page personnalisé. Les mêmes remarques que pour l'entête personnalisé s'appliquent.</p>
-<p class="small">[cpg1.4.0 ou supérieur requis]</p>
-<a name="admin_theme_include_path_end"></a>
-<a name="admin_theme_end"></a>
-<p><a class="back" href="#top">Haut de page</a></p><hr />
-
-<a name="admin_album_list"></a>
-<h3>4.12.4 Affichage de la liste des Albums</h3>
-<a name="admin_album_table-width"></a>
-<h4>Largeur du tableau principal (pixels or %)</h4>
-<p>C'est la largeur du tableau utilisé dans la page principale ou quand vous affichez les vignettes d'un album. Vous pouvez entrer une largeur en pixels ou en pourcentage. La valeur par défaut est 100%.</p>
-<a name="admin_album_table-width_end"></a>
-<a name="admin_album_category-levels"></a>
-<h4> Nombre de niveaux de catégories à afficher</h4>
-<p>La valeur par défaut est 2. Avec cette valeur, le script va afficher la catégorie actuelle plus un niveau de sous-catégories.</p>
-<a name="admin_album_category-levels_end"></a>
-<a name="admin_album_number"></a>
-<h4> Nombre d'albums à afficher</h4>
-<p>C'est le nombre d'albums à afficher sur une pagee. Si la catégorie contiens plus d'albums, ils seront affichés sur plusieurs pages.</p>
-<a name="admin_album_number_end"></a>
-<a name="admin_album_columns"></a>
-<h4> Nombre de colonnes pour la liste des albums</h4>
-<p>Parle de lui même. La valeur par défaut est 2.</p>
-<a name="admin_album_columns_end"></a>
-<a name="admin_album_thumbnail-size"></a>
-<h4> Taille des vignettes en pixels</h4>
-<p>C'est la taille des vignettes qui sont affichées pour chaque album. 50 veut dire que la vignette s'inscrira dans un carré de 50x50 pixels.</p>
-<p>Si la taille que vous spécifiez est plus grande que dans &quot;Paramètres des images et des vignettes/Largeur maximum ou hauteur des vignettes&quot;, la vignette sera étirée.</p>
-<a name="admin_album_thumbnail-size_end"></a>
-<a name="admin_album_list_content"></a><a name="changing"></a><h4> Le contenu de la page principale</h4>
-<p>Cette option vous permets de changer le contenu de la page principale affichée par le script.</p>
-<p>La valeur par défaut est &quot;<b>catlist/alblist/random,2/lastup,2</b>&quot;</p>
-<p>Vous pouves utiliser les "codes" suivants</p>
-<ul>
-  <li>'<b>breadcrumb</b>': navigation dans la galerie (par exemple &quot;accueil &gt; categories &gt; sous-catégories &gt; album&quot;)</li>
-  <li>'<b>catlist</b>': Liste des catégories</li>
-  <li>'<b>alblist</b>': Liste des Albums</li>
-  <li>'<b>random</b>': Fichiers aléatoires (laisser &quot;random files&quot; pour les galeries énormes avec plus de 10,000 images peut poser les problèmes de performances; enlevez  &quot;random&quot; dans ce cas)</li>
-  <li>'<b>lastup</b>': Derniers ajouts</li>
-  <li>'<b>topn</b>': Les plus populaires</li>
-  <li>'<b>toprated</b>': Les mieix notées</li>
-  <li>'<b>lastcom</b>': Derniers commentaires </li>
-  <li>'<b>lasthits</b>': Derniers visualisés </li>
-  <li>'<b>anycontent</b>': insère du contenu généré par PHP qui doit se trouver dans le fichier 'anycontent.php' sur la page d'accueil. Peut être utilisé pour inclure une bannière ou d'autres scripts (compteur...).</li>
-  <li>'<b>lastalb</b>': Derniers albums crées</li>
-  </ul>
-<p>Sauf si vous savez réellement ce que vous faites laissez 'catlist' et "alblist" dans le &quot;<i>contenu de la page principale</i>&quot;, ce sont les parties de base de la page d'accueil.</p>
-<p>Le <b>,2</b> signifie 2 lignes de vignettes.</p>
-<a name="admin_album_list_content_end"></a>
-<a name="admin_album_first-level_thumbs"></a>
-<h4> Afficher les vignettes de l'album du premier niveau avec la catégorie</h4>
-<p>Utilisez ce paramètre pour choisir de montrer ou pas les vignettes du premier album dans la catégorie.</p>
-<a name="admin_album_first-level_thumbs_end"></a>
-<a name="admin_album_list_alphasort_start"></a>
-<h4> Classer les catégories par ordre alphabétique (au lieu du classement par ajout)</h4>
-<p>Vous pouvez spécifier à Coppermine de trier toutes les catégories par ordre alphabétique (au lieu d'un ordre personnalisé) en parametrant &quot;Trier les catégories par ordre alphabétique&quot; sur &quot;OUI&quot;. Ce paramétrage est disponible dans la page de configuration de Coppermine et dans le gestionnaire de catégories. Si vous activez le tri alphabétique, les flèches de montée et de descente permettant de déplacer les catégories n'apparaitrons plus.</p>
-<p class="small">[cpg1.4.0 ou supérieur requis]</p>
-<a name="admin_album_list_alphasort_end"></a>
-<a name="admin_album_linked_files_start"></a><h4> Afficher le nombre de fichiers liés</h4>
-<p>Si vous utilisez les mots clé des albums pour afficher des images/fichiers dans plus d'un album, l'activation de cette fonction affichera des informations complémentaires dans les tatistiques de l'album: si un album ne contient pas uniquement des fichiers &quot;normaux&quot;, mais des fichiers liés via l'option "<a href="#album_prop_keyword_start">mots clé de l'album</a>", le nombre de fichiers liés sera affiché séparément comme ceci "3 fichiers, les dernier ajouté le 07 octobre, 2004<i>, 3 fichiers liés, 6 fichiers au total</i>".</p>
-<p class="small">[cpg1.4.0 ou supérieur requis]</p>
-<a name="admin_album_linked_files_end"></a>
-<a name="admin_album_list_end"></a>
-<p><a class="back" href="#top">Haut de page</a></p><hr />
-
-<a name="admin_thumbnail_view"></a>
-<h3>4.12.5 Affichage des vignettes</h3>
-<a name="admin_thumbnail_columns"></a>
-<h4> Nombre de colonnes sur la page des vignettes</h4>
-<p>La valeur par défaut est 4, cela signifie que chaque ligne affichera 4 vignettes.</p>
-<a name="admin_thumbnail_columns_end"></a>
-<a name="admin_thumbnail_rows"></a>
-<h4> Nombre de lignes sur la page des vignettes</h4>
-<p>La valeur par défaut est 3.</p>
-<a name="admin_thumbnail_rows_end"></a>
-<a name="admin_thumbnail_tabs"></a>
-<h4> Nombre maximal d'onglets à afficher</h4>
-<p>Si les vignettes sont affichées sur plusieures pages, des onglets sont affichés en bas de page. Cette valeur définie combien d'onglets doivent être affichés.</p>
-<a name="admin_thumbnail_tabs_end"></a>
-<a name="admin_thumbnail_display_caption"></a>
-<h4> Afficher la légende de l'image (en plus de son titre) sous la vignette </h4>
-<p>Sélectionne quelles légendes sont affichées sous chaque vignette lorsque le visiteur visualise (normalement) les vignettes.</p>
-<p class="small">[cpg1.3.0 ou supérieur requis]</p>
-<a name="admin_thumbnail_display_caption_end"></a>
-<a name="admin_thumbnail_display_views"></a>
-<h4> Afficher le nombre de vues sous la vignette</h4>
-<p>Sélectionne l'affichage du nombre de vues sous chaque vignette lorsque le visiteur les visualise.</p>
-<p class="small">[cpg1.3.0 ou supérieur requis]</p>
-<a name="admin_thumbnail_display_views_end"></a>
-<a name="admin_thumbnail_display_comments"></a>
-<h4> Afficher le nombre de commentaires sous les vignettes</h4>
-<p>Sélectionne l'affichage du nombre de commentaire sous les vignettes.</p>
-<p class="small">[cpg1.3.0 ou supérieur requis]</p>
-<a name="admin_thumbnail_display_comments_end"></a>
-<a name="admin_thumbnail_display_uploader"></a>
-<h4> Afficher le nom de l'utilisateur sous la vignette</h4>
-<p>Sélectionne l'affichage du "téléchargeur" non administrateur de l'image/fichier sous la vignette.</p>
-<p class="small">[cpg1.4.0 ou supérieur requis]</p>
-<a name="admin_thumbnail_display_uploader_end"></a>
-<a name="admin_thumbnail_display_admin_uploader"></a>
-<h4>Afficher le nom de l'administrateur sous la vignette de ses images</h4>
-<p>Sélectionne l'affichage du nom du "téléchargeur" de l'image qui appartient au groupe "administrateur".</p>
-<p class="small">[cpg1.4.0 ou supérieur requis]</p>
-<a name="admin_thumbnail_display_admin_uploader_end"></a>
-<a name="admin_thumbnail_display_filename"></a>
-<h4> Afficher le nom du fichier sous la vignette</h4>
-<p>Séléectionne l'affichage du nom< du fichier sous chaque vignette.</p>
-<p class="small">[cpg1.4.0 ou supérieur requis]</p>
-<a name="admin_thumbnail_display_filename_end"></a>
-<a name="admin_thumbnail_display_description"></a>
-<h4> Afficher la description des albums</h4>
-<p>Séléctionne l'affichage de la description de l'album sous chaque vignette d'album.</p>
-<a name="admin_thumbnail_display_description_end"></a>
-<a name="admin_thumbnail_default_sortorder"></a>
-<h4> Classement par défaut des fichiers</h4>
-<p>Cette option détermine l'ordre d'affichage des vignettes lorsque l'utilisateur les visualise.</p>
-<a name="admin_thumbnail_default_sortorder_end"></a>
-<a name="admin_thumbnail_minimum_votes"></a>
-<h4> Nombre minimun de vote pour apparaître dans la liste 'les mieux notés'</h4>
-<p>Utilisé pour déterminer combien de vote un fichier doit recevoir avant d'apparaitre dans &quot;Les mieux notées.&quot;  Si un fichier reçois moins de votes que &quot;cette valeur&quot;, il ne sera pas affiché dans la page "les mieux notées".</p>
-<a name="admin_thumbnail_minimum_votes_end"></a>
-<a name="admin_thumbnail_view_end"></a>
-<p><a class="back" href="#top">Haut de page</a></p><hr />
-
-<a name="admin_image_comment"></a>
-<h3>4.12.6 Affichage des images</h3>
-<a name="admin_image_comment_table-width"></a>
-<h4>Largeur du tableau pour l'affichage des images (pixels ou %)</h4>
-<p>La largeur du tableau utilisé pour l'affichage des images intérmédiaires.</p>
-<p>Exemples:<br /><tt class="code">600</tt> = Le tableau autour de l'images aura une largeur de 600 pixels (même si l'image a une plus grande largeur).<br />
-<tt class="code">100%</tt> = Utilise la place disponible (Dépends de la dimension horizontale de l'image).</p>
-<a name="admin_image_comment_table-width_end"></a>
-<a name="admin_image_comment_info_visible"></a>
-<h4>Les informations sur l'image sont visibles par défaut</h4>
-<p>Définit si les informations sur le fichier (celles qui apparaissent lorsque vous cliquez sur le bouton (i)) sont visibles par défaut.</p>
-<a name="admin_image_comment_info_visible_end"></a>
-<a name="admin_image_comment_descr_length"></a>
-<h4> Nombre maximun de caractères pour la description des fichiers</h4>
-<p> Nombre maximun de caractères que la description des fichiers peut avoir.</p>
-<a name="admin_image_comment_descr_length_end"></a>
-<a name="admin_image_comment_filmstrip_toggle"></a>
-<h4> Afficher le négatif</h4>
-<p>Séléctionne l'affichage du négatif outour des vignettes des images précédentes et suivantes dans l'album (affichage des images intermédiaires).</p>
-<p class="small">[cpg1.2.0 ou supérieur requis]</p>
-<a name="admin_image_comment_filmstrip_toggle_end"></a>
-<a name="admin_image_comment_display_film_strip_filename"></a>
-<h4> Afficher le nom du fichier en dessous du négatif</h4>
-<p>Sélectionne l'affichage du nom des fichiers sous chaque vignette dans le négatif.</p>
-<p class="small">[cpg1.4.0 ou supérieur requis]</p>
-<a name="admin_image_comment_display_film_strip_filename_end"></a>
-<a name="admin_image_comment_filmstrip_number"></a>
-<h4> Nombre de vignettes dans le négatif</h4>
-<p>Parametre le nombre de vignettes a afficher dans le négatif.</p>
-<p class="small">[cpg1.2.0 ou supérieur requis]</p>
-<a name="admin_image_comment_filmstrip_number_end"></a>
-<a name="admin_image_comment_slideshow_interval"></a>
-<h4>Intervalle du diaporama en millisecondes (1 seconde = 1000 millisecondes)</h4>
-<p>Cela paramètre le temps d'affichage de chaque image (intervalle de transition) lorsque le visiteur regarde un diaporama (L'image suivante est chargée/cachée pendant que l'image en cours est affichée). Cet intervalle doit être en millisecondes (1 seconde = 1000 millisecondes).<br />Rappelez vous que donner très petite valeur a ce paramètre value n'a pas de sens pour pous les utilisateurs, spécialement pour ceux qui ont une connection lente ou si vous avez de gros fichiers.</p>
-<a name="admin_image_comment_slideshow_interval_end"></a>
-<a name="admin_image_comment_end"></a>
-<p><a class="back" href="#top">Haut de page</a></p><hr />
-
-<a name="admin_comment_start"></a>
-<h3>4.12.7 Paramètres des commentaires</h3>
-<a name="admin_image_comment_bad_words"></a>
-<h4> Filtrer les mots interdits dans les commentaires</h4>
-<p>Efface les "mots interdits" des commentaires. La liste des "mots interdits" est dans le fichier langage .</p>
-<a name="admin_image_comment_bad_words_end"></a>
-<a name="admin_image_comment_smilies"></a>
-<h4> Autoriser les smileys dans les commentaires</h4>
-<p>Sélectionne l'usage des smileys dans les commentaires.</p>
-<a name="admin_image_comment_smilies_end"></a>
-<a name="admin_image_comment_flood"></a>
-<h4>Autoriser plusieurs commentaires consécutifs pour une images par un même utilisateur (désactive la protection anti-flood)</h4>
-<p>Ce paramètrage sélectionne une protection contre l'afflu de commentaires. Si le paramétrage est OUI, un visiteur peut poster un commentaire, même si il vient d'en poster un. Il est recommandé de paramétrer sur NON.</p>
-<a name="admin_image_comment_flood_end"></a>
-<a name="admin_image_comment_chars_per_word"></a>
-<h4>  Nombre maximun de caractères dans un mot</h4>
-<p>Afin d'aviter que quelqu'un ne casse la disposition de la galerie en postant un long commentaire sans espace. Avec le paramétrage par défaut, les mots de plus de 38 caractères sont censurés.</p>
-<a name="admin_image_comment_chars_per_word_end"></a>
-<a name="admin_image_comment_lines"></a>
-<h4> Nombre maximun de lignes dans un commentaire</h4>
-<p>Evite d'avoir des commentaires trop longs.</p>
-<a name="admin_image_comment_lines_end"></a>
-<a name="admin_image_comment_length"></a>
-<h4> Longueur maximum d'un commentaire</h4>
-<p>Nombre maximum de caractères que peut contenir un commentaire.</p>
-<a name="admin_image_comment_length_end"></a>
-<a name="admin_image_comment_admin_notify"></a>
-<h4> Informer l'administrateur de nouveaux commentaires par courriel</h4>
-<p>Sélectionne si vous voulez recevoir un courriel à chaque fois qu'un commentaire est posté. Attention: n'activez cette option que si votre site a un faible trafic, ou vous serez submergés de courriels de notification.</p>
-<a name="admin_image_comment_admin_notify_end"></a>
-<a name="admin_comment_sort_start"></a>
-<h4> Ordre de tri des commentaires</h4>
-<p>Change l'ordre des commentaires faits pour un seul fichier.<br />
-Ascendant: Le commentaire le plus récent en pied de page, le plus vieux en haut de page<br />
-Descendant: Le commentaire de plus récent en haut de page, le plus ancien en bas de page</p>
-<a name="admin_comment_sort_end"></a>
-<a name="comments_anon_pfx"></a>
-<h4> Préfixe pour les commentaires d'utilisateurs anonymes</h4>
-<p>Si vous avez autorisé les viviteurs anonymes à poster des commenatires (droits paramétrés dans le panneau de configuration des <a href="#group_cp">groupes</a> ), Ce préfixe sera utilisé à gauches des commentaires des visiteurs anonymes. Cela peut être utile pour éviter que des utilisateurs non-enregistrés ne se fassent passer pour un utilisateur enregistré (ou un administrateur) en postant un commentaire. Laissez vide si vous ne voulez pas de préfixe devant les commentaires des "invités".</p>
-<a name="comments_anon_pfx_end"></a>
-<a name="admin_comment_end"></a>
-<p><a class="back" href="#top">Haut de page</a></p><hr />
-
-<a name="admin_picture_thumbnail"></a>
-<h3>4.12.8 Paramètres des images et vignettes</h3>
-<a name="admin_picture_thumbnail_jpeg_quality"></a>
-<h4> Qualité pour les fichiers JPG</h4>
-<p>La qualité utilisée pour la compression JPEG lorsque le script redimentionne les images. Cette valeur peut aller de 0 (Le plus mauvais) to 100 (Le meilleur). Cette valeur peut être mise à 75 si vous utilisez ImageMagick.<br />Vous ne devez pas changer ce paramétrage si vous ne savez pas ce que vous faites, les autres options sur les vignettes ou images intermédiaires (dimensions) ont un plus grand impact sur la taille des fichiers que le taux de compression.</p>
-<a name="admin_picture_thumbnail_jpeg_quality_end"></a>
-<a name="admin_picture_thumbnail_max-dimension"></a>
-<h4> Dimension maximale pour les vignettes **</h4>
-<p>Ddéfini la taille maximale en pixels pour la dimension spécifique des vignettes.</p><div class="important">Si vous changez ce paramétrage, seul les fichiers ajoutés à partir de ce moment sont concernés, Il est donc préférable de ne pas changer ce paramètre si il y a déjà des images dans la galerie. Vous pouvez malgré tout appliquer ces changements aux fichiers existants avec &quot;l'utilitaire d'administration (redimentionner les images)&quot; du menu administrateur.</div>
-<a name="admin_picture_thumbnail_max-dimension_end"></a>
-<a name="admin_picture_thumbnail_use-dimension"></a>
-<h4> Utiliser la dimension (largeur ou hauteur ou aspect max pour la vignette)</h4>
-<p>Défini la dimension qui sera utilisée pour déterminer la taille maximum en pixels qui sera utilisée.</p><div class="important">Si vous changez ce paramétrage, seul les fichiers ajoutés à partir de ce moment sont concernés, Il est donc préférable de ne pas changer ce paramètre si il y a déjà des images dans la galerie. Vous pouvez malgré tout appliquer ces changements aux fichiers existants avec &quot;l'utilitaire d'administration (redimentionner les images)&quot; du menu administrateur.</div>
-<a name="admin_picture_thumbnail_use-dimension_end"></a>
-<a name="admin_picture_thumbnail_intermediate_toggle"></a>
-<h4> Créer des images intermédiaires</h4>
-<p>Par défaut, lorsque vous téléchargez des fichiers, le script crée une vignette du fichier (avec un nom ayant pour préfixe thumb_) plus une version intérmédiaire (Fichier avec un nom ayant pour préfixe normal_). Si vous placez cette option sur NON, L'image intermédiaire n'est pas crée.</p>
-<a name="admin_picture_thumbnail_intermediate_toggle_end"></a>
-<a name="admin_picture_thumbnail_intermediate_dimension"></a>
-<h4> Largeur ou hauteur maximale pour une image/vidéo intermédiaire</h4>
-<p>Les images intermédiaires sont celles qui sont affichées lorsque vous cliquez sur les vignettes. La valeur par défaut est 400, cela signifie que l'image intermédiaire sera inscrite dans un carré de 400x400 pixels.</p>
-<a name="admin_picture_thumbnail_intermediate_dimension_end"></a>
-<a name="admin_picture_thumbnail_max_upload_size"></a>
-<h4> Poids maximal des images à uploader (Ko)</h4>
-<p>Chaque fichier dont la taille est supérieure à cette valeur sera rejetée par le script. Parametrer cette option sur une valeur supérieure à celle supportée par votre serveur générera un "magnifique" message d'erreur de la part du serveur à la place des messages d'erreurs "normaux" de Coppermine - Il est recommandé de placer cette valeur au moins un peu plus bas ou égale à la valeur maximale acceptée par votre serveur. La taille autorisée par votre serveur est difficile à déterminer par Coppermine (ou par tout autre script PHP)- Si vous ne la connaissez pas et avez un doute, contactez votre hébergeur.</p>
-<a name="admin_picture_thumbnail_max_upload_size_end"></a>
-<a name="admin_picture_thumbnail_max_upload_dimension"></a>
-<h4> Longueur ou hauteur maximale pour les images/vidéos uploadées (en pixels)</h4>
-<p>Limite les dimensions des images téléchargées. Redimentionner de grandes images demande beaucoup de ressources mémoire et processeur. Il y a habituellement une limite en place sur votre serveur - Vous ne pouvez pas mettre ce parametrage de Coppermine à une valeur supérieure que celle supportée par votre serveur.</p>
-<a name="admin_picture_thumbnail_max_upload_dimension_end"></a>
-<a name="admin_picture_thumbnail_auto-resize"></a>
-<h4> Redimensionner automatiquement les images qui dépassent la hauteur et/ou la largeur maximale</h4>
-<p>Pendant le processus de téléchargement, si les images sont plus grandes (en largeur ou en hauteur) que la largeur maximale sont automatiquement redimensionnées à la taille maximum autorisée.</p>
-<p><b>Note:</b> La manière dont les images sont redimensionnées (largeur/hauteurt/aspect maximum) est déterminé dans l'option d'administration &quot;<a href="#admin_picture_thumbnail_use-dimension">Utilise la dimension (largeur ou hauteur ou aspect maximum pour les vignettes)</a>&quot;</p>
-<p>Il y a trois options:</p>
-<ul><li>Non - Désactivé</li><li>Oui: Tous - Activé pour tous les visiteurs, y compris l'administrateur pendant le processus d'ajout par lot.</li>
-<li>Oui: Utilisateurs seulement - Avtivé pour les utilisateurs "normaux"</li></ul>
-<p class="small">[cpg1.4.0 ou supérieur requis]</p>
-<a name="admin_picture_thumbnail_auto-resize_end"></a>
-<a name="admin_picture_thumbnail_end"></a>
-<p><a class="back" href="#top">Haut de page</a></p><hr />
-
-<a name="admin_picture_thumb_advanced"></a>
-<h3>4.12.9 Paramètres avancés des images et vignettes</h3>
-<a name="admin_picture_thumb_advanced_private_toggle"></a>
-<h4>Les albums peuvent être privés </h4>
-<p>Si placé sur OUI Votr egalerie pourra contenir des albums visibles uniquement par les utilisateurs membres de groupes particuliers.</p>
-<p>Si un utilisateur est memebre d'un groupe qui peut avoir des albums privés et que cette otpion est activée, l'utilisateur aura la possibilité de cacher certains de ses albums à d'autres visiteurs.</p>
-<p>Cette option ne définit <b>pas</b> quels utilisateurs peuvent avoir une galerie privée, <b>ni</b> ne définit qui peut télécharger (ces paramètres sont accessibles dans le <a href="#group_cp">gestionnaire de groupe</a>). Vous ne devez mettre cette optio sur NON que si vous savez ce que vous faites (par défaut elle est placée sur OUI).</p>
-<p class="important">Note: Note: si vous commutez de 'Oui' à 'Non' les albums privés actuels deviendront publics!</p>
-<a name="admin_picture_thumb_advanced_private_toggle_end"></a>
-<a name="admin_picture_thumb_advanced_private_icon_show"></a>
-<h4> Montrer les vignettes des albums privés aux utilisateurs anonymes </h4>
-<p>Sélectionne l'affichage des vignettes des albums privés pour les utilisateurs anonymes.<br />placé sur 'NON', l'album sera caché aux utilisateurs non autorisés.<br />Placé sur 'OUI', le nom de l'album, sa description et ses statistiques sont montrés, mais pas les vignettes ou les fichiers.</p>
-<a name="admin_picture_thumb_advanced_private_icon_show_end"></a>
-<a name="admin_picture_thumb_advanced_filename_forbidden_chars"></a>
-<h4> Caractères interdits dans les noms de fichiers</h4>
-<p>Lorsque le nom de fichier d'un fichier téléchargé contient un de ces caractères, il sera remplacé par un "_".</p>
-<p>Ne changez rien si vous ne savez pas exactement ce que vous faites.</p>
-<a name="admin_picture_thumb_advanced_filename_forbidden_chars_end"></a>
-<a name="admin_picture_thumb_advanced_pic_extensions"></a>
-<h4> Types d'images autorisés</h4>
-<p>&quot;<i>ALL</i>&quot; autorisera tous les types de fichiers image supportés par votre librairie graphique (GD ou ImageMagick) . Si vous voulez restreindre l'autorisation à seulement certains types de fichiers, entrez la liste des extensions de fichier que vous autorisez, séparés par un "/", par exemple <tt class="code">jpg/bmp/tif</tt></p>
-<p class="small">[cpg1.3.0 ou supérieur requis]</p>
-<a name="admin_picture_thumb_advanced_pic_extensions_end"></a>
-<a name="admin_thumbs_advanced_movie"></a>
-<h4> Types de vidéos autorisés</h4>
-<p>&quot;<i>ALL</i>&quot; autorisera TOUS les types de fichiers vidéo au téléchargement. Si vous voulez restreindre l'autorisation à seulement certains types de fichiers, entrez la liste des extensions de fichier que vous autorisez, séparés par un "/", par exemple <tt class="code">wmv/avi/mov</tt>.</p>
-<p>Nottez bien que pour pouvoir visionner les vidéos, il faudra que l'utilisateur de Coppermine dispose des codecs appropriés et configurés correctement sur son ordinateur, par exemple: si vous autorisez le type de fichier <tt class="faq">mov</tt>, l'utilisateur qui va vouloir visonner cette vidéo devra avoirle plug-in Quick-Time d'Apple installé. Donc notez que <tt class="code">avi</tt> est juste un conteneur pour différents codecs - ce qui veut dire que si un ordinateur est capable de lire video1.avi il est possible qu'il ne puisse pas lire video2.avi si ces deux fichiers ont été encodés avec différents codecs.</p>
-<p class="small">[cpg1.3.0 ou supérieur requis]</p>
-<a name="admin_thumbs_advanced_movie_end"></a>
-<a name="admin_movie_autoplay"></a>
-<h4> Démarrage automatique des vidéos</h4>
-<p>Si placé sur OUI, les vidéos seront lancées imédiatement lorsquelles sont chargées (ne s'applique pas aux fichiers Flash).</p>
-<a name="admin_movie_autoplay_end"></a>
-<a name="admin_picture_thumb_advanced_audio_extensions"></a>
-<h4> Types de fichiers sons autorisés</h4>
-<p>&quot;<i>ALL</i>&quot; autorisera les télécharegment de TOUS les types de fichiers audio. Si vous voulez restreindre l'autorisation de téléchargement à certains types de fichier, entrez la liste des extentions séparés par un "/", par exemple: <tt class="code">wav/mp3/wma</tt>.</p>
-<p>Notez que pour pouvoir écouter un fichier audio, l'utilisateur de Coppermine devra avoir les codecs installés et configurés correctement sur son ordinateur, par exemple: si vous autorisez les fichiers <tt class="code">mp3</tt>, l'utilisateur qui voudra les écouter devra avoir un lecteur mp3 installé.</p>
-<p class="small">[cpg1.3.0 ou supérieur requis]</p>
-<a name="admin_picture_thumb_advanced_audio_extensions_end"></a>
-<a name="admin_picture_thumb_advanced_doc_extensions"></a>
-<h4> Types de fichiers textes autorisés</h4>
-<p>&quot;<i>ALL</i>&quot; autorisera le téléchargement de TOUS les types de fichiers "documents". Si vous voulez restreindre l'autorisation de téléchargement à certains types de fichiers, entrez la liste des extentions séparés par un "/", par exemple: <tt class="code">txt/pdf</tt>.</p>
-<p>Notez que pour pouvoir ouvrir les documenst, l'utilisateur de Coppermine devra avoir installé sur son ordinateur, le logiciel capable de le lire, par exemple: si vous autorisez les fichiers <tt class="code">xls</tt>, l'utilisateur qui voudra ouvrir ces fichiers devra posseder une application capable d'ourir et de lire les fichiers MS-Excel . Soyez vigilant avec certains types de fichiers (en particulier si vous autorisez le téléchargement sans l'approbation de l'administrateur), ils peuvent contenir des macro-virus.</p>
-<p class="small">[cpg1.3.0 ou supérieur requis]</p>
-<a name="admin_picture_thumb_advanced_doc_extensions_end"></a>
-<a name="admin_picture_thumb_advanced_resize_method"></a>
-<h4> Méthode de redimensionnement des images</h4>
-<p>Paramétrez avec le type de librairie Images présente sur votre serveur (soit GD1, GD2 ou ImageMagick).</p>
-<p>Si vous utilisez GD 1.x et que les couleurs de vos vignettes et de vos images intermédiaires ne sont pas bonnes, vous avez probablement GD2 sur votr eserveur - basculez cette option sur GD 2.x</p>
-<p>La plupars des distributions récentes de PHP sont livrées avec GD - Si vous ne savez pas ce que vous avez, mettez cette option sur GD2 et regardez votre paramétrage dans <a href="http://www.php.net/phpinfo" rel="external" class="external">phpinfo</a>.</p>
-<a name="admin_picture_thumb_advanced_resize_method_end"></a>
-<a name="admin_picture_thumb_advanced_im_path"></a>
-<h4> Chemin vers l'utilitaire 'convert' d'ImageMagick (exemple /usr/bin/X11/)</h4>
-<p>Si vous utilisez l'utilitaire de conversion ImageMagick pour redimentionner vos images, vous devez entrer le nom du répertoirelans lequel se trouve le programme de conversion. N'oubliez pas le "<tt class="code">/</tt>"final.</p>
-<p>Si votre serveur fonctionne sous Windows, utilisez / et non \ pour séparer les éléments du chemin (exemple: utlisez C:/ImageMagick/ et non C:\ImageMagick\). Ce chemin ne doit pas contenir d'espaces, donc sous ne placez pas ImageMagick dans le répertoire "Program files".</p>
-<p><b>ImageMagick fonctionnera avec difficultés si PHP, sur votre serveur, fonctionne en  SAFE mode et c'est un véritable challenge de le faire fonctionner sous Windows. Utilisez  GD dans ces cas et ne perdez pas votre temps à demander de l'aide sur le forum à ce sujet. Il y a trop de choses qui peuvent empêcher ImageMagick de fonctionner correctement, et sans un accès physique à votre serveur il est difficiles d'estimer ce qui ne va pas.</b></p>
-<a name="admin_picture_thumb_advanced_im_path_end"></a>
-<a name="admin_picture_thumb_advanced_allowed_imagetypes"></a>
-<h4>Types d'images autorisés (uniquement pour ImageMagick)</h4>
-<p>C'est la liste des types d'images que le script va accepter si vous utilisez ImageMagick. La détection du type d'image se fait en lisant les informations de l'entête du fichier et non en regardant l'extention du fichier.</p>
-<a name="admin_picture_thumb_advanced_allowed_imagetypes_end"></a>
-<a name="admin_picture_thumb_advanced_im_commandline"></a>
-<h4> Options de ligne de commande pour ImageMagick</h4>
-<p>Ici vou spouvez ajouter des options qui vont se joindre à la ligne de commande lors de l'exécution de ImageMagick. Lisez le manuel d'ImageMagick pour voir ce qui est possible.</p>
-<a name="admin_picture_thumb_advanced_im_commandline_end"></a>
-<a name="admin_picture_thumb_advanced_exif"></a>
-<h4> Lire les informations EXIF dans les fichiers JPEG</h4>
-<p>Avec cette option sur Oui, le programme va lire les informations EXIF  placées par les appareils photos numériques dans les fichiers JPEG. Pour cpg1.x à cpg1.2.1, cette option ne fonctionnera que si PHP a été compilé avec l'extention EXIF. Coppermine 1.3.0 (ou supérieur) intègre les ressources EXIF même si le serveur lui même ne les a pas, puisqu'il utilise une <a href="http://www.offsky.com/software/exif/index.php" class="external">classe EXIF séparée</a>.</p>
-<p class="small">[cpg1.3.0 ou supérieur requis]</p>
-<a name="admin_picture_thumb_advanced_exif_end"></a>
-<a name="admin_picture_thumb_advanced_iptc"></a>
-<h4> Lire les informations IPTC dans les fichiers JPEG</h4>
-<p>Avec cette option sur OUI, le script va lire les informations <a href="http://www.iptc.org/" class="external">IPTC</a> placées par les appareils photos numériques dans les fichiers images.</p>
-<p class="small">[cpg1.3.0 ou supérieur requis]</p>
-<a name="admin_picture_thumb_advanced_iptc_end"></a>
-<a name="admin_picture_thumb_advanced_albums_dir"></a>
-<h4> Répertoire des albums</h4>
-<p>C'est le répertoire de base pour votre "Stock d'Images". C'est le chemin relatif depuis le répertoire principal du programme. </p>
-<p>Vous pouvez utiliser ../ dans le chemin pour monter d'un niveau dans l'arborescence.</p>
-<p>Vous ne pouvez <b>past</b> utiliser un chemin absolu ici ("/var/mes_images/" ne fonctionnera pas) et le répertoire album doit être visible par votre serveur.</p>
-<p>Ce paramètre ne doit pas être changé si vous avez déjà des fichiers dans votre base de donnée. Si vous le faites, toutes les liens vers vos fichiers existants seront brisés.</p>
-<a name="admin_picture_thumb_advanced_albums_dir_end"></a>
-<a name="admin_picture_thumb_advanced_userpics_dir"></a>
-<h4> Répertoire pour les fichiers des utilisateurs</h4>
-<p>C'est le répertoire ou sont stockés les fichiers téléchargés depuis l'interface Web. Ce répertoire est un sous-répertoire su répertoire the album.</p>
-<p>Les mêmes remarques que précédemment s'appliquent.</p>
-<p>Si vous téléchargez des fichiers par le FTP, placez les dans un sous-répertoire du répertoire "album" et non dans le &quot;répertoire pour les fichiers utilisateurs&quot;. </p>
-<p>Ce paramètre ne doit pas être changé si vous avez déjà des fichiers dans votre base de donnée. Si vous le faites, toutes les liens vers vos fichiers existants seront brisés.</p>
-<a name="admin_picture_thumb_advanced_userpics_dir_end"></a>
-<a name="admin_picture_thumb_advanced_intermediate_prefix"></a>
-<h4> Préfixe pour les images intermédiaires</h4>
-<p>Ce préfixe est ajouté au nom de fichier lors de la création des images intermédiaires.</p>
-<p>Ce paramètre ne doit pas être changé si vous avez déjà des fichiers dans votre base de donnée. Si vous le faites, toutes les liens vers vos fichiers existants seront brisés.</p>
-<a name="admin_picture_thumb_advanced_intermediate_prefix_end"></a>
-<a name="admin_picture_thumb_advanced_thumbs_prefix"></a>
-<h4> Préfixe pour les vignettes</h4>
-<p>Ce préfixe est ajouté au nom de fichier lors de la création des vignettes.</p>
-<p>Ce paramètre ne doit pas être changé si vous avez déjà des fichiers dans votre base de donnée. Si vous le faites, toutes les liens vers vos fichiers existants seront brisés.</p>
-<a name="admin_picture_thumb_advanced_thumbs_prefix_end"></a>
-<a name="admin_picture_thumb_advanced_chmod_folder"></a>
-<h4> Mode par défaut des répertoires</h4>
-<p>Si pendant l'installation, l'installeur vous signale qu'un répertoire n'a pas ces droits demandés, placez le sur <b>0777</b> sinon vous n'aurez pas la possibilité d'effacer les répertoires crées par le programme avec votre client FTP le jour ou vous déciderez de désinstaller le programme.</p>
-<p><span class="important">Attention</span>: paramétrer cette option ne fait pas de CHMOD sur vos fichiers ou répertoires imédiatement; au lieu de celà, Coppermine en tient compte en créant de nouveaux répertoires pour le téléchargement des utilisateurs (a l'intérieur du répertoire "userpics"). Si vous rencontrez des problèmes  concernant les droits pendant la configuration initiale de Coppermine, cette option n'est <b>pas</b> ce qu'il faut regarder ou changer.</p>
-<a name="admin_picture_thumb_advanced_chmod_folder_end"></a>
-<a name="admin_picture_thumb_advanced_chmod_files"></a>
-<h4> Mode par défaut des fichiers</h4>
-<p>Si pendant l'installation, l'installeur vous signale qu'un répertoire n'a pas ces droits demandés, placez le sur <b>0666</b>.</p>
-<p><span class="important">Attention</span>: paramétrer cette option ne fait pas de CHMOD sur vos fichiers ou répertoires imédiatement; au lieu de celà, Coppermine en tient compte lors du téléchargement d'images dans la galerie ou de la création des vignettes et des images intermédiaires. Si vous rencontrez des problèmes  concernant les droits pendant la configuration initiale de Coppermine, cette option n'est <b>pas</b> ce qu'il faut regarder ou changer.</p>
-<a name="admin_picture_thumb_advanced_chmod_files_end"></a>
-<a name="admin_picture_thumb_advanced_end"></a>
-<p><a class="back" href="#top">Haut de page</a></p><hr />
-
-<a name="admin_user"></a>
-<h3>4.12.10 Paramètres Utilisateurs</h3>
-<a name="admin_allow_registration"></a>
-<h4> Autoriser de nouvelles inscriptions</h4>
-<p>Défini si les nouveaux visiteurs peuvent s'enregistrer eux même ou non. Si vous parametrez sur NON, seul l'administrateur pourra crée de nouveaux utilisateurset le lien &quot;s'identifier&quot; ne s'affichera plus dans le menu de navigation.</p>
-<a name="admin_allow_unlogged_access"></a>
-<h4> Autoriser l'accès aux visiteurs non authentifiés (visiteur ou anonyme)</h4>
-<p>Si placé sur &quot;Non&quot;, les utilisateurs non identifiés (exemples: visiteurs ou utilisateurs anonymes) ne peuvent pas acceder à votre galerie sauf à la page d'identification (et la page d'inscription si vous avez autorisé les inscriptions). Soyez attentifs au fait que de désactiver totalement l'accès anonyme affaiblira la popularité de votre site. N'utilisez celà que si vous souhaitez que votr egalerie soit totalement privée. Il est recommandé de laisser l'accès anonyme et d'utiliser les droits d'accès des groupes et d'albums pour filtrer vos utilisateurs.</p>
-<a name="admin_allow_unlogged_access_end"></a>
-<p class="small">[cpg1.4.0 ou supérieur requis]</p>
-<a name="admin_allow_registration_end"></a>
-<a name="admin_registration_verify"></a>
-<h4> L'inscription d'un nouvel utilisateur doit être validée</h4>
-<p>Si placé sur OUI un email contenant un code d'activation sera envoyé à l'utilisateur. Si placé sur NON, le compte utilisateur sera immédiatement actif.</p>
-<a name="admin_registration_verify_end"></a>
-<a name="admin_registration_notify"></a>
-<h4> Notifier l'administrateur des nouvelles inscriptions par courriel</h4>
-<p>Si placé sur OUI un courriel sera envoyé à l'administrateur de la galerie lorsqu'un nouvelutilisateur s'est enregistré.</p>
-<a name="admin_registration_notify_end"></a>
-<p class="small">[cpg1.3.0 ou supérieur requis]</p>
-<a name="admin_activation"></a>
-<h4> L'administrateur doit activer les enregistrements</h4>
-<p>Demande l'activation par l'administrateur. Paramétré sur OUI, celà permets à l'administrateur d'activer les nouvelles isncriptions.</p>
-<p>Par défaut, cette ce paramètre est placé sur NON, ainsi les utilisateurs peuvent activer eux même leur compte après l'inscription.</p>
-<p class="small">[cpg1.4.0 ou supérieur requis]</p>
-<a name="admin_activation_end"></a>
-<a name="admin_allow_duplicate_emails_addr"></a>
-<h4> Autoriser deux utilisateurs à avoir la même adresse courriel</h4>
-<p>Autorise ou empèche deux utilisateurs de s'enregistrer avec la même adresse Email. Il est recommendé de placer cette option sur NON. Cette option a été désaprouvée et sera peut être suprimée dans une prochaine version de Coppemrine.</p>
-<a name="admin_allow_duplicate_emails_addr_end"></a>
-<a name="admin_approval_notify"></a>
-<h4> Notifier l'administrateur lorsque des uploads nécessitent son approbation</h4>
-<p>Si activé, l'administrateur de la galerie recevra un courriel le prévenant de toutes le images attendant son approbation (depends du paramétrage concernant l'approbation dans &quot;<a href="#group_cp">groups</a>&quot;). Le courriel est envoyé à l'adresse spécifiée dans &quot;<a href="#admin_general">parametres généraux</a>&quot;.</p><p>Cette option n'est recommendée que pour les sites avec peu de trafic (si les utilisateurs téléchargent uniquement de temps en temps).</p>
-<a name="admin_approval_notify_end"></a>
-<p class="small">[cpg1.3.0 ou supérieur requis]</p>
-<a name="admin_user_memberlist"></a>
-<h4> Autoriser les utilisateurs authentifiés à visualiser la liste des membres</h4>
-<p>Si activé, un élément de menu complémentaire &quot;liste des membres&quot; est affiché dans le menu principal de Coppermine si un utilisateur s'est autentifié, lui permettant de voir la liste de tous les utilisateurs, avec les statistiques concernat leur dernière visite, téléchargements et utilisation de leur quota disque.</p><p>C'est une nouvelle fonction dans  cpg1.3.0 (contribution de l'utilisateur <a href="#contributors">Jason</a>) - elle est disponible comme <a href="http://sourceforge.net/project/showfiles.php?group_id=89658&amp;package_id=98542">mod</a> (pas dans la distribution normale de Coppermine) pour les versions antérieures à cpg1.3.0.</p>
-<a name="admin_user_memberlist_end"></a>
-<p class="small">[cpg1.3.0 ou supérieur requis]</p>
-<a name="admin_user_allow_email_change"></a>
-<h4> Autoriser les utilisateurs à changer leur adresse courriel dans leur profil</h4>
-<p>Cette option à un impact sur la page profil de l'utilisateur, il détermine si l'utilisateur peut changer sa propre adresse Email.<br />Utilisez cette option prudemment, comme l'adresse Email de l'utilisateur n'est pas enregistrée: si vous laisse les utilisateurs changer leu adresse mail, ils peuvent la changer en une adresse non valide (par exemple après avoir mise en ligne des images enfreignant les règles de votre galerie) - vous n'aurez aucune chance de les retrouver.</p>
-<p>Cette option ne peut être prise en compte que si vous utilisez une version autonome de Coppermine; si vous utilisez Coppermine intégré à un forum, cette option ne sera tout simplement pas prise en compte, comme le profil utilisateur de votre forum sera utilisé pour gérer votre profil utilisateur dans Coppermine.</p>
-<p class="small">[cpg1.4.0 ou supérieur requis]</p>
-<a name="admin_user_allow_email_change_end"></a>
-<a name="admin_user_editpics_public_start"></a>
-<h4> Autoriser les utilisateurs à garder le controle de leurs images dans les galeries publiques</h4>
-<p>si activé, l'administrateur ne sera plus le seul à pouvoir éditer les images et les fichiers téléchargés dans les galeries publiques, les utilisateurs autentifiés pourront aussi le faire. Bien sur, en premier lieu, l'utilisateur devra avoir le droit de télécharger des images dans les gaelries publiques (paramétrable dans  le <a href="#group_cp">panneau de gestion des groupes</a>) pour qu ecette option ait un effet.</p>
-<p class="small">[cpg1.4.0 ou supérieur requis]</p>
-<a name="admin_user_editpics_public_end"></a>
-<a name="admin_user_login_start"></a>
-<a name="admin_user_login_threshold_start"></a>
-<h4>Nombre d'échec d'authentification avant bannissement temporaire (pour parer à une attaque brutale)</h4>
-<p>Pour parrer à une attaque brutale (si un programme hostile essaye de s'identifier dans Coppermine comme administrateur en passant automatiquement en revue toutes les combinaisons possibles de mots de passe et de noms d'utilisateurs) Coppermine bannis temporairement l'adresse IP d'un possible attaquant après un certain nombre de tentatives d'autentification infructueuses. De cette manièreThis way, l'attaque massive prendra beaucoup plus de temps pour essayer toutes les combinaisons possibles.</p>
-<p>Avec ce paramétrage, vous dpécifiez le nombre de tentatives infructueuse d'autentification après laquelle l'adresse IP sera bannie temporairement.</p>
-<p class="small">[cpg1.4.0 ou supérieur requis]</p>
-<a name="admin_user_login_threshold_end"></a>
-<a name="admin_user_login_expiry_start"></a>
-<h4> Durée du bannissement temporaire après un échec d'authentification</h4>
-<p>Cette valeur spécifie la durée du bannissement temporaire (en minutes) après le nombre de tentatives infructueuses d'autentification spécifié par <a href="#admin_user_login_threshold_start">Nombre d'échec d'authentification avant bannissement temporaire </a>.</p>
-<p class="small">[cpg1.4.0 ou supérieur requis]</p>
-<a name="admin_user_login_expiry_end"></a>
-<a name="admin_user_login_end"></a>
-<a name="admin_user_enable_report"></a>
-<h4> Activer les rapports à l'administrateur</h4>
-<p>Active les rapports. Si placé sur OUI, celà permets aux utilisateurs de rapporter des fichiers téléchargés ou des commentaires à l'administrateur de la galerie.</p>
-<p>Ce paramètre est dépendant du fait que les cartes postales électroniques sont activées.  Seuls les utilisateurs ayant le droit d'envoyer des cartes postales électroniques dans le paramétrage de leur 'groupe' ont la possibilité d'envoyer ces rapports. L'icone d'envoie des rapports est cachée à ceux qui n'ont pas ce droit.</p>
-<p class="small">[cpg1.4.0 ou supérieur requis]</p>
-<a name="admin_user_enable_report_end"></a>
-<p><a class="back" href="#top">Haut de page</a></p><hr />
-
-<a name="admin_custom"></a>
-<h4>4.12.11 Champs personnalisés pour le profil utilisateur (laisser vide si inutilisés). Utilisez le profil 6 pour les longs textes, comme les biographies </h4>
-<p>Ces champs sont affichés dans l'espace du &quot;profil utilisateuruser profile&quot;. Ils n'apparaîtrons que si vous leur donnez un nom. Comme le dit le titre du chapitre, utilisez le champ 6 pour les textes longs, comme les biographies, ou si vous voulez utiliser les bb code.</p>
-<p>Vous pouvez ausii utiliser le champ 6 pour les avatars.  Pour montrer un avatar dans le profil, il devra être entré en bbcode, par exemple pour montrer 'avatar.gif', qui se trouve dans votre répertoire image, utilisez le [img]http://www.votresite.com/images/avatar.gif[/img]</p>
-<a name="admin_custom_end"></a>
-<p><a class="back" href="#top">Haut de page</a></p><hr />
-
-<a name="admin_custom_image"></a>
-<h4>4.12.12 Champs personnalisés pour les descriptions d'images (laisser vide si inutilisés)</h4>
-<p>Ces champs sont affichés dans l'espace &quot;informations du fichier&quot; . Ils n'apparaîtrons que si vous leur donnez un nom.</p>
-<a name="admin_custom_image_end"></a>
-<p><a class="back" href="#top">Haut de page</a></p><hr />
-<a name="admin_cookie"></a>
-<h4>4.12.13 Paramètres des Cookies</h4>
-<a name="admin_cookie_name"></a>
-<h4>Nom du cookie utilisé par le script (si vous utilisez l'intégration avec un forum, vérifiez que les cookies sont différents)</h4>
-<p>La valeur par défaut est &quot;cpg140&quot;. Même si vous avez différentes versions du script tournant sur le mêm serveur vous pouvez laisser la valeur par défaut.<br /><span class="important">Si vous utilisez une intégration avec un forum, vérifiez qu'elle <b>diffère</b> du nom du cookie du forum</span></p>
-<a name="admin_cookie_name_end"></a>
-<a name="admin_cookie_path"></a>
-<h4> Chemin du cookie utilisé par le script</h4>
-<p>La valeur pa défaut est "/". Ne changez pas cette valeur si vous ne savez pas ce que vous faites. Il vous permettra de vous idendifier.</p>
-<p>Si vous avez endomagé votre galerie en modifiant cette valeur, utilisez phpMyAdmin pour éditer la table xxxx_config dans votre base de donnée et restaurez la valeur par défaut. </p>
-<p>Si vous utilisez une intégration de forum avec Coppermine, assurez vous d'utiliser <b>différents</b> noms de cookies pour Coppermine et pour votre forum! Le chemin dans les deux applications doivent être définis afin que Coppermine puisse lire les deux. Habituellement la valeur par défaut &quot;<tt class="code">/</tt>&quot; devrait être paramétré de manière identique pour Coppermine et pour le forum avec lequel il est intégré.</p>
-<a name="admin_cookie_path_end"></a>
-<p><a class="back" href="#top">Haut de page</a></p><hr />
-<a name="admin_email"></a>
-<h4>4.12.14 Paramètres Pour les Courriels</h4>
-<p>Habituellement rien n'a a être changé; laissez tous les champs vides si vous n'êtes pas sur. Vous ne devez changer ces paramètres que si vous rencontrez des problèmes (par exemple si les cartes postales électroniques, les informations d'enregistrement ou les notifications ne sont pas envoyés). Coppermine lui-même n'inclue pas de moteur d'envoie de mails, il passe le relais au serveur qui est capable de le faire (en utilisant un méchanismes inclu dans PHP). Si vous ne savez pas ce qu'il faut entrer, contactez votre hébergeur pour de l'aide.</p>
-<h4> Serveur SMTP</h4>
-<p>Le nom de serveur <acronym title="Simple Mail Transfer Protocol">SMTP</acronym><br />
-Si vous laissez le champ vide, sendmail (ou equivalent) sera utilisé pour envoyerles courriels depuis votre serveur. Sendmail existe sur la plupars des serveurs Unix/Linux. Si vous spécifiez un serveur SMTP, Coppermine essayera d'envoyer le courriel en utilisant SMTP (C'est habituellement necessaire sur les serveurs Windows).</p>
-<p class="small">[cpg1.4.0 ou supérieur requis]</p>
-<h4> Nom utilisateur SMTP</h4>
-<p>C'est nom d'utilisateur qui vous authentifie sur le serveur SMTP (Ce n'est <b>pas</b> votre nom dutilisateur administrateur de Coppermine.</p>
-<p class="small">[cpg1.4.0 ou supérieur requis]</p>
-<h4> Mot de passe SMTP</h4>
-<p>C'est le mot de passe qui va avec le nom d'utilisateur mentionné ci-dessus, ce n'est (<b>pas</b> le même que votre mot de passe administarteur de Coppermine).</p>
-<p class="small">[cpg1.4.0 ou supérieur requis]</p>
-<a name="admin_email_end"></a>
-<p><a class="back" href="#top">Haut de page</a></p><hr />
-<a name="admin_logging"></a>
-<h3>4.12.15 Logs et statistiques</h3>
-<p>Comme tous les logs (ces données seront éffacées si l'option d'enregistrement est désactivée), la fonction d'enregistrement de Coppremine impacte  les performances, l'espace de stockage des données et la base de donnée. Vous devriez réfléchir si vous avez réellement besoin de ces enregistrements avant d'activer cette fonction. Ces enregistrements ne sont utiles que si un administrateur les regarde.</p>
-<a name="admin_logging_log_mode"></a>
-<h4> Mode d'enregistrement </h4>
-<p>Défini, quelle sortes d'enregistrements vous voulez activer. Cette fonction enregistre tous les changements qui ont lieu dans la base de donnée de Coppermine, ce qui est très utile si vous êtes en train d'essayer de débbuger ou si il y a plusieurs administrateurs pour la galerie.<br />
-Tous les fichiers log sont en Anglais</p>
-<p class="small">[cpg1.4.0 ou supérieur requis]</p>
-<a name="admin_logging_log_mode_end"></a>
-<a name="admin_general_log_ecards"></a>
-<h4> Enregistrer les envois de cartes électroniques</h4>
-<p>Si activé, toutes les cartes postales électroniques envoyées sont aussi écrites dans la base de donnée, et l'administrateur de Coppermine pourra les visualiser. Avant de basculer cette option sur OUI, assurez vous que l'enregistrement de ces données est légal dans votre pays. Il est conseillé de prévenir vos utilisateurs que toutes les cartes postales électroniques sont enregistrées (de préférence sur la page d'inscription).</p>
-<p class="small">[cpg1.3.0 ou supérieur requis]</p>
-<a name="admin_general_log_ecards_end"></a>
-<a name="admin_logging_votedetails"></a>
-<h4> Enregistrer le détails des statistiques de vote</h4>
-<p>
-  Activer cette option enregistre:</p>
-  <ol>
-    <li>Chaque vote séparément</li>
-    <li>L'adresse IP</li>
-    <li>La provenance</li>
-    <li>Le navigateur</li>
-    <li>Le système d'exploitation</li>
-  </ol>
-   <p>du "voteur".</p>
-   <p>Comme les statistiques sont gardées par le biais de fichiers, Le lien vers les statistiques peut être accessible individuellement sur la page du fichier (displayimage.php). En cliquant sur le lien dans la section information sur le fichier une fenêtre affichant les statistiques du fichier.</p>
-<p>
-  <span class="important">Important: Le total des votes peut ne pas être correct si vous activez détails et que vous ne réinitialisez pas les votes précédents.</span>
-</p>
-<a name="admin_logging_votedetails_end"></a>
-<a name="admin_logging_hitdetails"></a>
-<h4>Enregistre les statistiques détaillées d'accès</h4>
-<p>
-  Activer ces otpions enregistre:</p>
-  <ol>
-    <li>Chaque vote séparément</li>
-    <li>L'adresse IP</li>
-    <li>Le mot clé de recherche, si l'afluent est Google, Yahoo! or Lycos</li>
-    <li>l'afluent</li>
-    <li>Le navigateur</li>
-    <li>Le système d'exploitation</li>
-  </ol>
-   <p>du visiteur.</p>
-   <p>Comme les statistiques sont gardées par le biais de fichiers, Le lien vers les statistiques peut être accessible individuellement sur la page du fichier (displayimage.php). En cliquant sur le lien dans la section information sur le fichier une fenêtre affichant les statistiques du fichier.</p>
-<p>
-  <span class="important">Important: Le total des votes peut ne pas être correct si vous activez détails et que vous ne réinitialisez pas les votes précédents.</span>
-</p>
-<a name="admin_logging_hitdetails_end"></a>
-<a name="admin_logging_end"></a>
-<p><a class="back" href="#top">Haut de page</a></p><hr />
-
-<a name="admin_misc"></a>
-<h3>4.12.16 Paramètres de la maintenance</h3>
-<a name="debug_mode"></a>
-<h4> Activer le mode débogage</h4>
-<p>CPG montrera les messages d'erreur qui sont normalement supprimés.  Celà aide à la résoultion des problèmes de votre galerie lorsque vous demandez de l'aide sur le <a href="http://coppermine.sourceforge.net/board/">Forum d'aide de Coppermine</a>. Laissez cette option sur Non si vous n'avez pas de problème.</p>
-<p>Mettez la sur OUI (option &quot;Tout le monde&quot;) si vous demandez de l'aide sur le <a href="http://coppermine.sourceforge.net/board/">forum d'aide de Coppermine</a>, afin que ceux qui veulent vous aider puissent voir les informations de débogage. Choisissez l'option &quot;seulement l'administrateur&quot; si vous voulez localiser l'incident vous même - les informations de débogage ne seront visible que si vous vous identifiez comme administrateur, les autres utilisateurs ou visiteurs ne les verront pas.</p>
-<a name="admin_misc_debug_notices"></a>
-<h4> Afficher les avertissements dans le mode débogage</h4>
-<p>Peut être utile pour localiser les incidents avec votre installation de Coppermine - Uniquement recommendé si vous connaissez un peu PHP pour comprendre les messages d'erreur additionnels affichés par cette option. Cette option ne s'applique que si le mode de débogage est activé.</p>
-<a name="admin_misc_debug_notices_end"></a>
-<a name="debug_mode_end"></a>
-
-<a name="admin_general_offline"></a>
-<h4> La galerie est hors ligne</h4>
-<p>Si vous devez faire des travaux de maintenance sur votre galerie, basculez en mode hors ligne. Seuls les membres du groupe administrateur pourrons s'identifier, tous les autres utilisateurs ne verrons que &quot;La galerie est hors ligne&quot;. Pensez à rebasculer cette option lorsque la maintenance est terminée.</p>
-<p class="small">[cpg1.3.0 ou supérieur requis]</p>
-<a name="admin_general_offline_end"></a>
-
-<p><a class="back" href="#top">Haut de page</a></p><hr />
-<a name="exif"></a>
-<h2>4.12 Données EXIF</h2>
-<p>Les format "Exchangeable image file" (Exif) est une spécificité pour les fichiers au format image utilisés par les appareils photos numériques par l'addition de
-"méta datas" spécifiques. Ces "méta datas" sont écrites par l'appareil photo et peuvent
-être utilisées par certaines applications ensuite. Coppermine est
-capable d'afficher certaines de ces données EXIF dans la section d'information des images
-, comme des informations concernant la date et l'heure, les règlages de l'appareil photo, des informations sur la localisation
-, des descriptions et des informations sur le copyright .<br>
-<img src="pics/fr_exif_data_cpg1.jpg" alt="Exif data in pic info section" border="0" height="202" width="400">
-</p>
-
-<a name="exif_manager"></a>
-<h2>4.12.1 Gestionnaire d'EXIF </h2>
-<p><img src="pics/fr_exifmanager_cpg1.gif" alt="" align="right" border="0" height="439" width="600">CPG1.4.x
-(ou supérieur) est livré avec un gestionnaire de données EXIF permettant à l'administrateur de la galerie Coppermine
-de décider quelles données EXIF seront montrées par Coppermine.
-Notez: Si les données EXIF n'existent pas dans certaines images,
-coppermine ne sera bien entendu pas capable de les montrer. Coppermine n'est pas
-un éditeur de données EXIF - il affiche seulement celles qui existent dans vos images
-.<br>
-Pour acceder au gestionnaire d'EXIF, allez dans la page de configuration de Coppermine et cliquez sur le lien de la section <a href="#admin_picture_thumb_advanced">Paramètres avancés des images et vignettes</a>  "Administrer l'affichafe des EXIFS" à côté de la ligne "<a href="#admin_picture_thumb_advanced_exif">Lire les données EXIF dans les fichiers JPEG</a>". Vous pouvez aussi entre directement http://votresite.com/votre_repertoire_coppermine/exifmgr.php dans la barre d'adresse de votre navigateur.</p>
-<p>Cochez les cases dans le gestionnaire d'EXIF devant les informations que vous voulez montrer dans
-la section d'informations sur l'image de Coppermine(si le fichier image contient ces informations).</p>
-<br clear="all">
-
-<p><a class="back" href="#top">Haut de page</a></p><hr>
-<a name="integrating"></a>
-<h1>5. Intégration du script avec votre forum</h1>
-<a name="integrating_bridge_start"></a>
-<h2>5.1 Fichiers d'intégration disponibles</h2>
-<p>Coppermine peut s'intégrer avec les forums suivant (Coppermine et votre forum vont partager la même base de donnée utilisateurs).</p>
-<ul>
-  <li>eBlah</li>
-  <li>Invision Power Board</li>
-  <li>Mambo</li>
-  <li>MyBB</li>
-  <li>phpBB 2</li>
-  <li>PunBB</li>
-  <li>SMF</li>
-  <li>vBulletin</li>
-  <li>XMB</li>
-  <li>Xoops2</li>
-</ul>
-
-<a name="integrating_bridge_end"></a>
-
-<a name="integrating_prerequisites_start"></a>
-<h2>5.2 Pre-requis</h2>
-
-<a name="integrating_cookie_start"></a>
-<h3>5.2.1 Autentification par cookie</h3>
-<p>Le loggin d'intégration utilise le cookie de votre forum, donc il ne pourra pas fonctionner si le cookie de votre forum n'est pas visible par  Coppermine. Donc, sauf si vous êtes un espert, faites les choses simplement et installez Coppermine et votre forum sur le même domaine. Exemples :</p>
-<table border="0" cellspacing="5" cellpadding="5" class="border1">
-<tr>
-<td>Cela <b>va</b> fonctionner:</td>
-<td>Cela <b class="important">ne va pas</b> fonctionner</td>
-</tr>
-<tr>
-<td class="code">Forum: http://votresite.com/forum/<br />
-Coppermine: http://votresite.com/galerie/</td>
-<td class="code">Forum: http://forum.votresite.com/<br />
-Coppermine: http://galerie.votresite.com/</td>
-</tr>
-</table>
-<p>Le chemin du cookie dans la page de configuration du forum devrait être parametré à  '/' la ou cette option est disponible.</p>
-<p><span class="important">Important</span>: Le nom du cookie de votre forum et de Coppermine ne doivent <b>pas</b> être les mêmes - ils <b>doivent</b> être différents!</p>
-<a name="integrating_cookie_end"></a>
-
-<a name="integrating_standalone_start"></a>
-<h3>5.2.2 Version autonome d'abord</h3>
-<p>Pour éviter les confusions, assurez vous de configurer Coppermine et votre forum en fonctionnement autonome en premier. Vérifiez que les deux fonctionnent correctement sans intégration. Testez toutes les fonctions de coppermine (comme les téléchargements, l'enregistrement etc.) lorsque  Coppermine est installé, avant même de commencer l'intégration.</p>
-<a name="integrating_standalone_end"></a>
-
-<a name="integrating_users_start"></a>
-<h3>5.2.3 Les utilisateur, groupes et images téléchargées par les utilisateurs de Coppermine sont perdues lors de l'intégration</h3>
-<p><span class="important">Attention:</span> Si vous avez déjà des utilisateurs et des groupes personnalisés dans votre base de donnée Coppermine lorsque vous activez l'intégration avec votre forum, soyez concients qu'ils vont être perdus. Si vos utilisateurs ont déjà crée des albums privés et téléchargé des images, elles vont être perdues également!</p>
-<a name="integrating_users_end"></a>
-
-<a name="integrating_backup_start"></a>
-<h3>5.2.4 Sauvegarde</h3>
-<p><span class="important">Sauvegardez</span>: Il est très important de faire uen sauvegarde de votre base de donnée Coppermine et de vos fichiers avant d'activer l'intégration, vous pourrez ainsi revenir en arrière si elle échoue.</p>
-<p>De toute façon vous êtes encouragés à faire une sauvegarde régulière de votre base de donnée, spécialement avant d'appliquer des changements dans le code (installation de mod/hack par exemple).</p>
-<a name="integrating_backup_end"></a>
-
-<a name="integrating_prerequisites_end"></a>
-
-<a name="integrating_steps_start"></a>
-<h2>5.3 Etapes de l'intégration</h2>
-<p>Depuis cpg1.4.x vous pouvez utiliser le <a href="#bridge_manager_start">Gestionnaire d'intégration</a> qui vous permettra d'activer/désactiver l'intégration par le biais d'un assistant.</p>
-
-<a name="bridge_manager_start"></a>
-<h3>5.3.1 Utilisation du gestionnaire d'intégration (bridge)</h3>
-<p>Le gestionnaire d'intégration est une nouvelle fonction dans cpg1.4, il n'est pas disponible dans les versions antérieures. A la place d'éditer manuellement les fichiers codes de Coppermine, vous pouvez activer/désactiver l'intégration depuis votre navigateur, en utilisant un assitant. pour démarer le gestionnaire d'intégration, identifiez vous comme administrateur, Choisissez &quot;Utiliatires&quot; dans le menu et le  &quot;gestionnaire d'intégration&quot;</p>
-<p><img src="pics/fr_bridge_01_start.gif"  border="0" alt=""  /></p>
-<p>Si vous lancez le gestionnaire d'intégration pour la première fois, il n'y aura qu'un seul bouton qui vous permettra de démarer l'assistant</p>
-<p>(Si vous retournez dans le gestionnaire d'intégration plus tard, vous aurez des cases de choix permettant d'activer/désactiver l'intégration) cliquez dessus.</p>
-<p class="important">Notez: a chaque étape de l'assistant d'intégration, des informations sont écrites dans la base de donnée de Coppermine. Contrairement à d'autre assistants (la plupars sur votre ordinateur), le gestionnaire d'intégration n'a pas de bouton&quot;&quot;annuler&quot;! Une fois que vous avez activé l'intégration et que tout fonctionne bien, vous ne devriez changer aucune valeur juste par curiosité, comme elles seront écrites dans la base de donnée, il se pourrait que l'intégration, qui fonctionnait jusque là, ne fonctionne plus du tout après avoir &quot;joué&quot; avec elles.<br clear="all" /></p>
-<p><img src="pics/fr_bridge_02_app.gif"  border="0" alt=""  /></p>
-<p>Dans la première étape de l'assistant &quot;choisissez l'application avec laquelle vous souhaitez intégrer Coppermine&quot;, vous devez choisir l'application à brideger avec Coppermine. Notez que vous <b>devez</b> avoir cette application déjà installée sur votre serveur, elle doit être correctement configurée et doit fonctionner. N'utilisez pas le gestionnaire d'intégration si vous avez <i>projeté</i> de la faire plus tard .</p>
-<p>Si vous avec un fichier personnalisé d'intégration qui n'est pas disponible dans l'assistant, choisissez le bouton radio à côté du champ texte et entrez le nom de votre fichier ici, sans l'extention &quot;.inc.php&quot; (le fichier d'intégration doit être placé dans le sous-répertoire &quot;bridge&quot;) de Coppermine.<br />
-Cliquez sur &quot;suivant&quot;</p>
-<p>L'étape suivante dépends de l'application que vous avez choisi : certaines applications ont besoin que des <acronym title="Uniform Resource Locator">URL</acronym>s soient entrées, ou des chemine d'accès. Certaines ont besoins que l'on entre desinformations sur les tables mySQL ou sur les cookies, d'autres pas. L'assistant ne vous &quot;demandera&quot; que les parapètres appropriés pour votre application - si l'un ou l'autre point des explications suivantes ne s'appliquent pas à votre application, ne vous affolez pas - ne suivez que les informations adéquates et cliquez sur &quot;suivant&quot;. Toutefois, vous devez comprendre que Coppermine ne peut vérifier que certaines entrées - certaines entrées seront invalidées.</p>
-<p>Si un bouton d'annulation (<img src="../images/flags/reset.gif" width="16" height="11" border="0" alt="" />) est affiché près d'un champ de formulaire, ce champ n'a pas de valeur par défaut. Il est peut être normal qu'il n'y en ait pas dans un champ, toutefois, rappelez vous que si vous avez &quot;joué&quot; avec le gestionnaire de bridge auparavant, les paramètres précédents qui apparaissent dans un champ ne sont pas corrects - ne sautez pas une étape rapidement sans faire attention à celà. Utilisez le bouton de réinitialisation pour remettre la valeur par défaut (par necessairement  &quot;la bonne&quot; valeur par défaut).<br clear="all" /></p>
-<a name="bridge_manager_app_start"></a>
-<h4>5.3.1.1 Choisir une application à intégrer avec Coppermine</h4>
-<ul>
-<ul>
-  <li>eBlah</li>
-  <li>Invision Power Board</li>
-  <li>Mambo</li>
-  <li>MyBB</li>
-  <li>phpBB 2</li>
-  <li>PunBB</li>
-  <li>SMF</li>
-  <li>vBulletin</li>
-  <li>XMB</li>
-  <li>Xoops2</li>
-</ul>
-</ul>
-<a name="bridge_manager_app_end"></a>
-<a name="bridge_manager_path_start"></a>
-<h4>5.3.1.2 Chemin(s) utilisé par votre forum</h4>
-<ul>
-<li><b>URL du forum</b><br />
-L'adresse URL complète de votre forum (incluant http://, exemple: http://www.votresite.com/forum/)</li>
-<li><b>Chemin relatif du forum</b><br />
-Le chemin relatif d'accès au forum depuis la racine de votre site (Exemple: si votre l'adresse de votre forum est http://www.votresite.com/forum/, entrez "/forum/" dans ce champ)</li>
-<li><b>Chemin relatif du fichier de configuration de votre forum</b><br />
-Chemin relatif vers votre forum, vu depuis le répertoire de Coppermine (exemple: "../forum/" si votre forum se trouve à  http://www.votresite.com/forum/ et Coppermine à http://www.votresite.com/gallery/)</li>
-</ul>
-<a name="bridge_manager_path_end"></a>
-<a name="bridge_manager_specific_start"></a>
-<h4>5.3.1.3 Paramètres spécifiques de votre forum</h4>
-<ul>
-<li><b> Utiliser les groupes basés sur le nombre de messages ?</b><br />
-Est ce que Coppermine doit importer les groupes spéciaux existant dans le forum ? Si vous délectionnez NON, alors Coppermine utilisera les groupes standards (Administrateur, Enregistrés and Anonymes) ce qui permets une administration plus facile ce qui est recommandé. Vous pourrez changer ces parametres plus tard.</li>
-</ul>
-<a name="bridge_manager_specific_end"></a>
-<a name="bridge_manager_enable_start"></a>
-<h4>5.3.1.4 activer/désactiver l'intégration du forum</h4>
-<p>C'est la dernière étape du gestionnaire d'intégration - il récapiltule les paramétrages que vous avez faits dans les étapes précédentes - vous pouvez activer ou désactiver l'intégration ici. Par défaut, l'intégration est paramétrée à  &quot;désactivé&quot; après que le gestionnaire d'intégration a été lancé pour la première fois. Vous devrez activer l'intégration avec votre forum uniquement si vous êtes surque votre forum est parametré correctement. Cliquez sur le bouton &quot;Terminer&quot; dans tous les cas pour enfin écrire dans la base de donnée, même si vous laissez le paramétrage actuel (laisser l'intégration sur &quot;désactivé&quot;).</p>
-<ul>
-<li><b>Active l'intégration avec XXX</b></li>
-</ul>
-<a name="bridge_manager_enable_end"></a>
-<p class="small">[cpg1.4.0 ou supérieur requis]</p>
-<a name="bridge_manager_end"></a>
-<p><a class="back" href="#top">Haut de page</a></p><hr />
-
-<a name="bridge_manager_recover_start"></a>
-<h3>5.3.2 Restauration après une erreur d'intégration</h3>
-<p>Si vous avez défini de mauvais paramètres dans le gestionnaire d'intégration, votre integration peut échouer, avec pour résultat (dans le pire des cas) une situation l'intégration est activée, mais vous ne pouvez plus vous identifier comme administrateur pour la désactiver à nouveau (par exemple si vous avez défini de mauvais paramétrage de cookie ce qui arrète l'autentification). Pour ces situation le gestionnaire d'intégration comprends une fonction de restauration: si vous n'êtes pas identifié comme administrateur de Coppermine (en fait vous n'êtes pas du tout identifiés) vous pouvez acceder à l'URL de votre gestionnaire d'intégration (http://votresite.com/votre_repertoire_coppermine/bridgemgr.php) en l'entrant manuellement dans la barre d'adresse de votre navigateur, il vous est demandé d'entre vos identifiants administrateur - utilisez les identifiants que vous avez définis lors de l'installation de Coppermine (les identifiants de la version autonome). Celà ne vous identifieras pas, mais désactiveras l'intégration, de sorte que vous puissiez modifier les mauvais paramètres d'intégration. Pour éviter que d'autres essayent de deviner vos identifiants administrateurs, il y a un seuil maximum d'essai inffructueux qui s'incrémente à chaque fois que vous entrez de mauvais identifiants, saisissez donc vos identifiants avec soin.</p>
-<p class="small">[cpg1.4.0 ou supérieur requis]</p>
-<a name="bridge_manager_recover_end"></a>
-<p><a class="back" href="#top">Haut de page</a></p><hr />
-
-
-<a name="integrating_steps_sync_start"></a>
-<h3>5.3.3 Syncroniser les groupes du forum avec ceux de Coppermine</h3>
-<p>Identifiez vous comme administrateur sur votre forum. Allez dans la galerie, passez en mode administrateur et cliquez sur le bouton &quot;Groupes&quot;. Cela va syncroniser le groupes Coppermine avec ceux de votre forum. Les droits que vous verrez pour chaque groupe seront complêtement désordonnés, prenez le temps de les reparametre correctement.</p>
-<p>Chaque fois que vous ajoutez ou supprimez un groupe de votre forum vous devez refaire cette opération afin de maintenir la syncronisation des groupes.</p>
-<p>Si vous essayez de vous inden ou de gérer les utilisateurs de Coppermine, vous serez redirigé vers la page correspondante de votre forum. Par contre lorsque l'identification ou la sortie du mode administrateur est faite depuis le forum, vous ne serez pas redirigé automatiquement vers la galerie, le forum n'ayant pas de fonction pour cela. Il vous appartient d'ajouter un lien vers votre galerie sur votre forum.</p>
-<a name="integrating_steps_sync_end"></a>
-<a name="integrating_steps_end"></a>
-<a name="integrating_end"></a>
-<p><a class="back" href="#top">Haut de page</a></p><hr />
-
-<a name="translating"></a>
-<h1>6. Traduction de Coppermine dans d'autres langues</h1>
-<p>Coppermine a des fichiers language séparés ce qui facilite grandement la traduction du programme. Les fichiers languages sont palcés dans le répertoire <b>lang </b>. Les fichiers avec le suffixe <b>utf-8</b> sont des fichiers unicode. Ils sont générés automatiquement par le programme <a href="http://www.iconv.com/iconv.htm" class="external">iconv</a>, donc vous n'avez pas besoin de faire de version unicode de votre traduction.</p>
-<p>Si vous sélectinnez un fichier language utf-8 comme lague par défaut, le programme pourra sélectionner automatiquement le language en fonction du paramétrage du navigateur de votre visiteur. Par exemple si le fichier language par défaut est danish-utf-8 et qu'un visiteur anglais accède à la galerie, c'est le fichier language english-utf-8 qui sera utilisé par le script.</p>
-<p> Si vous avez traduit  Coppermine dans une langue pas encore existante, lisez le <a href="translation.htm">guide du traducteur</a> et visitez le <a href="http://coppermine.sourceforge.net/board/index.php?topic=4623.0">site web Coppermine</a> sur Sourceforge et suivez les instructions pour soumettre votre fichier langue.</p>
-<p></p>
-<p><a class="back" href="#top">Haut de page</a></p><hr />
-
-<a name="known_issues"></a>
-<h1>7. Problèmes connus</h1>
-<p>Les petites bizzareries et minuscules problèmes suivants sont connus et seront fixés dans les futures versions.</p>
-<ul>
-        <li>Certains petits textes ne sont disponibles qu'ne anglais, exemple: picEditor. (Problème de langue)</li>
-        <li>La documentation (ce document) et la <a href="faq.htm">FAQ</a> sont incomplets.</li>
-        <li>Les <a href="http://coppermine.sourceforge.net/board/index.php?topic=1866.0">flêches utilisées pour la navigation</a> d'une image à une autre sont inversés dans les fichiers language rtl</li>
-                <li class="important">Comme vous êtes en train d'utiliser une version béta de coppermine 1.4, il y a d'autres problèmes connus en discussion sur le forum <a href="http://coppermine.sourceforge.net/board/index.php?board=29.0">CPG 1.4 Testing/Bugs</a>. S'il vous plais, référez vous à ce forum pour plus d'informations.</li>
-</ul>
-<p><a class="back" href="#top">Haut de page</a></p><hr />
-
-<a name="credits"></a>
-<h1>8. Credits</h1>
-<a name="developers"></a>
-<h2>8.1 L'equipe Coppermine </h2>
-<!-- Team Member sort order: GROUP BY 'status' ORDER BY 'position' IN THIS ORDER (Proj Mgr,Lead dev,Developer,Supporter,tester,other), 'username' ASC -->
-<table border="0" cellspacing="6" cellpadding="4">
-  <tr>
-    <td><strong>Developeur</strong></td>
-    <td><strong>Pseudo</strong></td>
-    <td><strong>Role/Position</strong></td>
-    <td><strong>Status</strong></td>
-  </tr>
-  <tr>
-    <td>Joachim M&uuml;ller</td>
-    <td><a href="http://coppermine.sourceforge.net/board/index.php?action=profile;u=2">gaugau</a></td>
-    <td>Chef de Projet</td>
-    <td>actif</td>
-  </tr>
-  <tr>
-    <td>Dr Tarique Sani</td>
-    <td><a href="http://coppermine.sourceforge.net/board/index.php?action=profile;u=4">tarique</a></td>
-    <td>Développeur principal </td>
-    <td>actif</td>
-  </tr>
-  <tr>
-    <td>Abbas Ali</td>
-    <td><a href="http://coppermine.sourceforge.net/board/index.php?action=profile;u=11737">abbas</a></td>
-    <td>Developeur</td>
-    <td>actif</td>
-  </tr>
-  <tr>
-    <td>Aditya Mooley</td>
-    <td><a href="http://coppermine.sourceforge.net/board/index.php?action=profile;u=5957">Aditya</a></td>
-    <td>Developeur</td>
-    <td>actif</td>
-  </tr>
-  <tr>
-    <td>Maarten Hagoort</td>
-    <td><a href="http://coppermine.sourceforge.net/board/index.php?action=profile;u=404">DJ Maze</a></td>
-    <td>Developeur (nuke team)</td>
-    <td>actif</td>
-  </tr>
-  <tr>
-    <td>Donovan Bray</td>
-    <td><a href="http://coppermine.sourceforge.net/board/index.php?action=profile;u=10059">donnoman</a></td>
-    <td>Developeur</td>
-    <td>actif</td>
-  </tr>
-  <tr>
-    <td>Eyal Zvi</td>
-    <td><a href="http://coppermine.sourceforge.net/board/index.php?action=profile;u=94">EZ</a></td>
-    <td>Developeur</td>
-    <td>actif</td>
-  </tr>
-  <tr>
-    <td>Tommy Atkinson</td>
-    <td><a href="http://coppermine.sourceforge.net/board/index.php?action=profile;u=941">Nibbler</a></td>
-    <td>Developeur</td>
-    <td>actif</td>
-  </tr>
-  <tr>
-    <td>Christopher Brown-Floyd</td>
-    <td><a href="http://coppermine.sourceforge.net/board/index.php?action=profile;u=1874">omniscientdeveloper</a></td>
-    <td>Developeur</td>
-    <td>actif</td>
-  </tr>
-  <tr>
-    <td>Clive Leech</td>
-    <td><a href="http://coppermine.sourceforge.net/board/index.php?action=profile;u=56">casper</a></td>
-    <td>Supporter</td>
-    <td>actif</td>
-  </tr>
-  <tr>
-    <td>Dave Kazebeer</td>
-    <td><a href="http://coppermine.sourceforge.net/board/index.php?action=profile;u=7">kegobeer</a></td>
-    <td>Supporter</td>
-    <td>actif</td>
-  </tr>
-  <tr>
-    <td>Thu Tu</td>
-    <td><a href="http://coppermine.sourceforge.net/board/index.php?action=profile;u=7792">TranzNDance</a></td>
-    <td>Supporter</td>
-    <td>actif</td>
-  </tr>
-  <tr>
-    <td>Andreas Ellsel</td>
-    <td><a href="http://coppermine.sourceforge.net/board/index.php?action=profile;u=898">Andi</a></td>
-    <td>Testeur</td>
-    <td>actif</td>
-  </tr>
-  <tr>
-    <td><strong>Developeur</strong></td>
-    <td><strong>Pseudo</strong></td>
-    <td><strong>Role/Position</strong></td>
-    <td><strong>Status</strong></td>
-  </tr>
-  <tr>
-    <td>Gr&eacute;gory Demar</td>
-    <td><a href="http://coppermine.sourceforge.net/board/index.php?action=profile;u=259">Greg</a></td>
-    <td>Créateur originel de Coppermine</td>
-    <td>retiré</td>
-  </tr>
-  <tr>
-    <td>Jack</td>
-    <td><a href="http://coppermine.sourceforge.net/board/index.php?action=profile;u=6">datajack</a></td>
-    <td>Developeur</td>
-    <td>retiré</td>
-  </tr>
-  <tr>
-    <td>DJ Axion</td>
-    <td><a href="http://coppermine.sourceforge.net/board/index.php?action=profile;u=9">djaxion</a></td>
-    <td>Developeur</td>
-    <td>retiré</td>
-  </tr>
-  <tr>
-    <td>Scott Gahres</td>
-    <td><a href="http://coppermine.sourceforge.net/board/index.php?action=profile;u=66">gtroll</a></td>
-    <td>Developeur</td>
-    <td>retiré</td>
-  </tr>
-  <tr>
-    <td>Hyperion</td>
-    <td><a href="http://coppermine.sourceforge.net/board/index.php?action=profile;u=125">hyperion01</a></td>
-    <td>Developeur</td>
-    <td>retiré</td>
-  </tr>
-  <tr>
-    <td>John Asendorf</td>
-    <td><a href="http://coppermine.sourceforge.net/board/index.php?action=profile;u=30">jasendorf</a></td>
-    <td>Developeur</td>
-    <td>retiré</td>
-  </tr>
-  <tr>
-    <td>Jay Hao-En Liu</td>
-    <td><a href="http://coppermine.sourceforge.net/board/index.php?action=profile;u=59">Oasis</a></td>
-    <td>Developeur</td>
-    <td>retiré</td>
-  </tr>
-  <tr>
-    <td>Timothy</td>
-    <td><a href="http://coppermine.sourceforge.net/board/index.php?action=profile;u=6949">skybax</a></td>
-    <td>Developeur</td>
-    <td>retiré</td>
-  </tr>
-  <tr>
-    <td>David Holm</td>
-    <td><a href="http://coppermine.sourceforge.net/board/index.php?action=profile;u=14">wormie_dk</a></td>
-    <td>Developeur</td>
-    <td>retiré</td>
-  </tr>
-  <tr>
-    <td>Mark Zerr</td>
-    <td><a href="http://coppermine.sourceforge.net/board/index.php?action=profile;u=11">zarsky99</a></td>
-    <td>Testeur</td>
-    <td>retiré</td>
-  </tr>
-  <tr>
-    <td>mitirapa</td>
-    <td><a href="http://coppermine.sourceforge.net/board/index.php?action=profile;u=133">mitirapa</a></td>
-    <td>Porter (Cross Platform Devel.)</td>
-    <td>retiré</td>
-  </tr>
-  <tr>
-    <td>Moorey</td>
-    <td><a href="http://coppermine.sourceforge.net/board/index.php?action=profile;u=13">moorey</a></td>
-    <td>Web Designer</td>
-    <td>retiré</td>
-  </tr>
-</table>
-<p><a class="back" href="#top">Haut de page</a></p><hr />
-
-<a name="contributors"></a>
-<h2>8.2 Contributeurs</h2>
-<table border="0" cellspacing="6" cellpadding="4">
-<tr>
-  <td><a href="http://coppermine.sourceforge.net/board/index.php?action=profile;u=101">DaMysterious</a></td>
-  <td>DaMysterious a crée beaucoups de thèmes fantastiques pour Coppermine</td>
-</tr>
-<tr>
-  <td><a href="http://coppermine.sourceforge.net/board/index.php?action=profile;u=1399">Nanobot</a></td>
-  <td>Doug a réalisé le fichier d'intégration pour vBulletin v3</td>
-</tr>
-<tr>
-  <td><a href="http://www.sanisoft.com/aboutus.php3">Girish Nair</a></td>
-  <td>Girish a contribué à la fonctione film strip</td>
-</tr>
-<tr>
-  <td><a href="http://coppermine.sourceforge.net/board/index.php?action=profile;u=378">Jason Kawaja</a></td>
-  <td>Jason a réalisé le hack <a href="http://coppermine.sourceforge.net/board/index.php?topic=1985.0">memberlist</a></td>
-</tr>
-</table>
-<p><a class="back" href="#top">Haut de page</a></p><hr />
-
-<a name="codebase"></a>
-<h2>8.3 Coppermine utilise le code des logiciels libres suivant :</h2>
-<p><b>phpBB</b><br />
-  Auteur: phpBBGroup <br />
-  URL: <a href="http://www.phpbb.com/">http://www.phpbb.com/</a><br />
-</p>
-<p><b>phpMyAdmin</b><br />
-  Auteur: phpMyAdmin devel team<br />
-  URL: <a href="http://www.phpmyadmin.net/">http://www.phpmyadmin.net/</a><br />
-</p>
-<p><b>phpPhotoAlbum</b><br />
-  Auteur: Henning St&oslash;verud<br />
-  E-mail: henning AT stoverud DOT com<br />
-  URL: <a href="http://www.stoverud.com/PHPhotoalbum/">http://www.stoverud.com/PHPhotoalbum/</a><br />
-</p>
-<p><b>DOM Tooltip 0.6.0</b><br />
-  Auteur: Dan Allen<br />
-  E-mail: dan AT mojavelinux DOT com<br />
-  URL: <a href="http://www.mojavelinux.com/forum/viewtopic.php?t=127">http://www.mojavelinux.com/forum/viewtopic.php?t=127</a><br />
-  Note: DOM Tooltip, which is being used with the theme &quot;styleguide&quot; only, is released under <a href="http://www.gnu.org/copyleft/lesser.html">LGPL</a><br />
-</p>
-<p><b>TAR/GZIP/ZIP Archive Classes</b><br />
-  Auteur: Devin Doucette<br />
-  E-mail: darksnoopy AT shaw DOT ca<br />
-</p>
-
-<p><b>Exifixer</b><br />
-  Auteur: Jake Olefsky<br />
-  URL: <a href="http://www.offsky.com/software/exif/index.php">http://www.offsky.com/software/exif/index.php</a><br />
-</p>
-<p><b>Codelifter Slideshow</b><br />
-  URL: <a href="http://www.codelifter.com/">http://www.codelifter.com</a><br />
-</p>
-<p><b>PHPMailer</b><br />
-  Auteur: <a href="http://sourceforge.net/project/memberlist.php?group_id=26031">PHPMailer Team</a><br />
-  URL: <a href="http://phpmailer.sourceforge.net/">http://phpmailer.sourceforge.net/</a><br />
-</p>
-<p><b>PHP Calendar Class Version 1.4</b><br />
-  Auteur: David Wilkinson<br />
-  E-mail: davidw AT cascade DOT org DOT uk<br />
-  URL: <a href="http://www.cascade.org.uk/software/php/calendar/">http://www.cascade.org.uk/software/php/calendar/</a><br />
-</p>
-<p><a class="back" href="#top">Haut de page</a></p><hr />
-
-<a name="copyright"></a>
-<h2>8.4 Copyright et décharge de responsabilité</h2>
-<p>Cette application est un logiciel opensource publié sous licence <a href="http://www.gnu.org/copyleft/gpl.html">GPL</a>.
-</p>
-<p> Parce que l'utilisation de ce Programme est libre et gratuite, aucune garantie n'est fournie, comme le permet la loi. Sauf mention écrite, les détenteurs du copyright et/ou les tiers fournissent le Programme en l'état, sans aucune sorte de garantie explicite ou implicite, y compris les garanties de commercialisation ou d'adaptation dans un but particulier. Vous assumez tous les risques quant à la qualité et aux effets du Programme. Si le Programme est défectueux, Vous assumez le coût de tous les services, corrections ou réparations nécessaires. </p>
-<p>Coppermine Photo Galleryest sous Copyright &copy; 2002 - 2005 Gr&eacute;gory  DEMAR et de l'équipe de développement de Coppermine, Tous droits réservés.<br />
-</p>
-<p><a class="back" href="#top">Haut de page</a></p><hr />
-
-
-      </td></tr></tbody></table>
-</body>
+<!doctype html public "-//W3C//DTD HTML 4.01 Transitional//EN">
+<html>
+<head>
+<title>Coppermine Photo Gallery - Documentation et Manuel d'aide en Français</title>
+<meta http-equiv="content-type" content="text/html; charset=UTF-8">
+<meta name="language"    content="fr">
+<meta name="author"      content="Coppermine dev team">
+<meta name="translator" content="Frantz">
+<meta name="copyright"   content="Coppermine dev team">
+<meta name="description" content="Coppermine Photo Gallery project - Coppermine is an easily set-up, fast, feature-rich photo gallery script with mySQL database, user management, private galleries, automatic thumbnail creation, ecard feature and a template system for easy customization to match the rest of a site.">
+<meta name="keywords"    content="photo,gallery,galery,image,coppermine,php,mysql,easy,feature,phpnuke,thumbnail,automatic,creation,gd,Image Magick,ecard">
+<meta name="page-topic"    content="photo,gallery,galery,image,coppermine,php,mysql,easy,feature,phpnuke,thumbnail,automatic,creation,gd,Image Magick,ecard">
+<meta http-equiv="Content-Style-Type" content="text/css">
+<meta name="MSSmartTagsPreventParsing" content="true">
+<meta http-equiv="imagetoolbar" content="no">
+<!--
+  Subversion information (for information and developer purposes only - safe to ignore for everybody else):
+  Coppermine version: 1.4.25
+  $HeadURL: https://coppermine.svn.sourceforge.net/svnroot/coppermine/trunk/cpg1.4.x/docs/index_fr.htm $
+  $Revision: 5997 $
+  $Author: gaugau $
+  $Date: 2009-05-26 08:43:24 +0200 (Di, 26 Mai 2009) $
+-->
+<link rel="stylesheet" type="text/css" href="style.css">
+</head>
+<body>
+<table cellspacing="0" cellpadding="0" width="100%" border="0">
+  <tbody>
+  <tr>
+    <td>
+                        <p><img src="pics/fr_coppermine_logo_french.jpg" alt="Galerie Photo Coppermine - Votre Galerie Photo en ligne" />
+<h1>Galerie Photo Coppermine v1.4.24: Documentation et Manuel d'aide</h1>
+<h1>A propos de Coppermine</h1>
+<p>Coppermine Photo Gallery est un script de gestion de galerie photo. les utilisateures peuvent télécharger des images depuis leur navigateur Internet (Les vigenttes sont crées automatiquement), noter les images, ajouter des commentaires et envoyer des cartes électroniques. Les administrateurs peuvent gérer les galeries et ajouter par lot les images téléchargées sur le serveur par le FTP. Les fichiers multimédias sont aussi supportés.</p>
+<p>Les images sont placées dans des albums, ces albums pouvant être regroupés dans des catégories. Le scipt supporte les utilisateurs multiples et chaque utilisateur à la possibilité d'avoir ses propres albums.</p>
+<p>Le script est multi langage et possède un système de thèmes. Il utilise PHP, une base de donnée MySQL ainsi que la librairie graphique GD (version 1.x or 2.x) ou ImageMagick pour générer les vignettes. Un programme d'installation permet une mise ne place simple et rapide.</p>
+
+      <a name="top"></a>
+<div id="toc">
+      <h1>Table des Matières</h1>
+      <ul class="level1">
+        <li class="level1"><a href="testing.php#testVersion" class="menu1">0. Version Beta (Test)</a></li>
+          </ul>
+<ul class="level1">
+        <li class="level1"><a href="#what" class="menu1">1. Configuration nécéssaire au fonctionnement</a></li>
+</ul>
+<ul class="level1">
+
+        <li class="level1"><a href="#installation" class="menu1">2. Installation et configuration</a></li>
+</ul>
+        <ul class="level2">
+                <li class="level2"><a href="#how" class="menu2">2.1 Comment installer le script</a></li>
+                <li class="level2"><a href="#getting" class="menu2">2.2 Démarrage</a></li>
+                <li class="level2"><a href="#xp" class="menu2">2.3 Utiliser l'assitant de publication Web de Windows XP</a></li>
+                <li class="level2"><a href="#creating" class="menu2">2.4 Créer ou mettre à jour vos propres thèmes</a></li>
+
+                <li class="level2"><a href="#safe" class="menu2">2.5 Problèmes liés au Safe mode</a></li>
+                <li class="level2"><a href="#smtp" class="menu2">2.6 Utiliser SMTP pour envoyer des courriels</a></li>
+        </ul>
+<ul class="level1">
+        <li class="level1"><a href="#upgrade" class="menu1">3. Mise à jour</a></li>
+</ul>
+        <ul class="level2">
+                <li class="level2"><a href="#10" class="menu2">3.1 Mise à jour depuis la version 1.0</a></li>
+
+                <li class="level2"><a href="#11" class="menu2">3.2 Mise à jour depuis la mise à disposition de la version 1.1</a></li>
+                <li class="level2"><a href="#12" class="menu2">3.3 Mise à jour depuis cpg1.2.0rc2 ou cpg1.2.0final vers la version cpg1.2.1</a></li>
+                <li class="level2"><a href="#13" class="menu2">3.4 Mise à jour depuis cpg1.2.0 (ou plus récent) vers la version cpg1.4.1</a></li>
+                <li class="level2"><a href="#versioncheck" class="menu2">3.5 L'outil de vérification de version</a></li>
+        </ul>
+                <ul class="level3">
+                        <li class="level3"><a href="#versioncheck_description_start">3.5.1 Que fait'il</a></li>
+
+                        <li class="level3"><a href="#versioncheck_options_start">3.5.2 Options</a></li>
+                        <li class="level3"><a href="#versioncheck_comparison_start">3.5.3 Comparaison de version</a></li>
+                </ul>
+<ul class="level1">
+        <li class="level1"><a href="#administration" class="menu1">4. Configuration et Administration</a></li>
+</ul>
+        <ul class="level2">
+
+                <li class="level2"><a href="#cat_alb_pic" class="menu2">4.1 Categories, albums et fichiers</a></li>
+                <li class="level2"><a href="#admin_user_mode" class="menu2">4.2 Mode administrateur et Mode utilisateur</a></li>
+                <li class="level2"><a href="#group_cp" class="menu2">4.3 Le panneau de gestion des groupes</a></li>
+                <li class="level2"><a href="#user_cp" class="menu2">4.4 Le panneau de gestion des utilisateurs</a></li>
+        </ul>
+                <ul class="level3">
+
+                        <li class="level3"><a href="#user_cp_page">4.4.1 Commandes de la page</a></li>
+                        <li class="level3"><a href="#user_cp_search">4.4.2 Rechercher un(des) utilisateur(s)</a></li>
+                        <li class="level3"><a href="#user_cp_new">4.4.3 Créer de nouveaux utilisateurs</a></li>
+                </ul>
+        <ul class="level2">
+                <li class="level2"><a href="#cat_cp" class="menu2">4.5 Le panneau de gestion des catégories</a></li>
+                <li class="level2"><a href="#albmgr" class="menu2">4.6 Le gestionnaire d'albums</a></li>
+
+        </ul>
+                <ul class="level3">
+                        <li class="level3"><a href="#albmgr_create">4.6.1 Créer des albums</a></li>
+                        <li class="level3"><a href="#albmgr_rename">4.6.2 Renommer les albums</a></li>
+                        <li class="level3"><a href="#albmgr_order">4.6.3 Changer l'ordre des albums</a></li>
+                        <li class="level3"><a href="#albmgr_delete">4.6.4 Effacer un(des) album(s)</a></li>
+                </ul>
+
+        <ul class="level2">
+                <li class="level2"><a href="#modif_alb_pics" class="menu2">4.7 Modifier les albums/les fichiers/files</a></li>
+                <li class="level2"><a href="#album_prop" class="menu2">4.8 Propriétés des albums</a></li>
+        </ul>
+                <ul class="level3">
+                        <li class="level3"><a href="#album_prop_reset_start">4.8.1 Remise aux valeurs par défaut des propriétés des albums</a></li>
+                </ul>
+
+        <ul class="level2">
+                <li class="level2"><a href="#edit_pics" class="menu2">4.9 Editer les fichiers</a></li>
+        </ul>
+                <ul class="level3">
+                        <li class="level3"><a href="#edit_vids">4.9.1 Editer les vidéeos</a></li>
+                        <li class="level3"><a href="#cust_thmb">4.9.2 Vignettes personnalisées</a></li>
+                </ul>
+
+        <ul class="level2">
+                <li class="level2"><a href="#bbcode" class="menu2">4.10 Utilisation des bbcodes pour inserer des liens et formater les descriptions</a></li>
+                <li class="level2"><a href="#batch_add_pics" class="menu2">4.11 Téléchargement des fichiers par FTP / Ajout d'images par lot</a></li>
+                <li class="level2"><a href="#admin" class="menu2">4.12 La page de configuration de la galerie</a></li>
+        </ul>
+                <ul class="level3">
+                        <li class="level3"><a href="#admin_general">4.12.1 Paramètres généraux</a></li>
+
+                        <li class="level3"><a href="#admin_language">4.12.2 Langage et jeux de caractères (encodage des caractères)</a></li>
+                        <li class="level3"><a href="#admin_theme">4.12.3 Paramètres des thèmes</a></li>
+                        <li class="level3"><a href="#admin_album_list">4.12.4 Affichage de la liste des albums</a></li>
+                        <li class="level3"><a href="#admin_thumbnail_view">4.12.5 Affichage des vignettes</a></li>
+                        <li class="level3"><a href="#admin_image_comment">4.12.6 Affichage des images</a></li>
+                        <li class="level3"><a href="#admin_comment_start">4.12.7 Paramètres des commentaires</a></li>
+
+                        <li class="level3"><a href="#admin_picture_thumbnail">4.12.8 Paramètres des fichiers et des vignettes</a></li>
+                        <li class="level3"><a href="#admin_picture_thumb_advanced">4.12.9 Paramètres avancée des fichiers et des vignettes</a></li>
+                        <li class="level3"><a href="#admin_user">4.12.10 Paramètres des utilisateurs</a></li>
+                        <li class="level3"><a href="#admin_custom">4.12.11 Champs personnalisés pour le profil des utilisateurs</a></li>
+                        <li class="level3"><a href="#admin_custom_image">4.12.12 Champs personnalisés pour la description de l'images</a></li>
+
+                        <li class="level3"><a href="#admin_cookie">4.12.13 Paramètres du Cookie</a></li>
+                        <li class="level3"><a href="#admin_email">4.12.14 Paramètres des courriels</a></li>
+                        <li class="level3"><a href="#admin_logging">4.12.15 Enregistrement et statistiques</a></li>
+                        <li class="level3"><a href="#admin_misc">4.12.16 Paramètres divers</a></li>
+                </ul>
+            <ul class="level2">
+            <li class="level2"><a href="#exif" class="menu2">4.13 Données EXIF</a></li>
+        </ul>
+                <ul class="level3">
+                        <li class="level3"><a href="#exif_manager">4.13.1 Le gestionnaire de données EXIF</a></li>
+                </ul>
+<ul class="level1">
+
+        <li class="level1"><a href="#integrating" class="menu1">5. Intégrer le script avec votre forum</a></li>
+</ul>
+        <ul class="level2">
+                 <li class="level2"><a href="#integrating_bridge_start" class="menu2">5.1 Fichiers d'intégration (bridges) disponibles</a></li>
+                 <li class="level2"><a href="#integrating_prerequisites_start" class="menu2">5.2 Pre-requis</a></li>
+        </ul>
+                <ul class="level3">
+                         <li class="level3"><a href="#integrating_cookie_start">5.2.1 Authentification par cookie</a></li>
+                         <li class="level3"><a href="#integrating_standalone_start">5.2.2 Version autonome d'abord</a></li>
+                         <li class="level3"><a href="#integrating_users_start">5.2.3 Les utilisateur, groupes et images téléchargées par les utilisateurs de Coppermine ont été perdues lors de l'intégration</a></li>
+                         <li class="level3"><a href="#integrating_backup_start">5.2.4 Sauvegarde</a></li>
+                  </ul>
+        <ul class="level2">
+                 <li class="level2"><a href="#integrating_steps_start" class="menu2">5.3 Etapes de l'intégration</a></li>
+
+        </ul>
+                <ul class="level3">
+                        <li class="level3"><a href="#bridge_manager_start">5.3.1 Utilisation du gestionnaire d'intégration (bridge)</a></li>
+                </ul>
+                         <ul class="level4">
+                                 <li class="level4"><a href="#bridge_manager_app_start">5.3.1.1 Choisir une application à intégrer avec Coppermine</a></li>
+                                 <li class="level4"><a href="#bridge_manager_path_start">5.3.1.2 Chemin(s) utilisé par votre forum</a></li>
+                                 <li class="level4"><a href="#bridge_manager_specific_start">5.3.1.3 Paramètres spécifiques de votre forum</a></li>
+                                 <li class="level4"><a href="#bridge_manager_enable_start">5.3.1.4 activer/désactiver l'intégration du forum</a></li>
+                         </ul>
+
+                 <ul class="level3">
+                                 <li class="level3"><a href="#bridge_manager_recover_start">5.3.2 Restauration après une erreur d'intégration</a></li>
+                                                                 <li class="level3"><a href="#integrating_steps_sync_start">5.3.3 Syncroniser les groupes du forum avec ceux de Coppermine</a></li>
+                 </ul>
+<ul class="level1">
+        <li class="level1"><a href="#translating" class="menu1">6. Traduire Coppermine dans d'autres langues</a></li>
+
+</ul>
+<ul class="level1">
+        <li class="level1"><a href="#known_issues" class="menu1">7. Problèmes connus</a></li>
+</ul>
+<ul class="level1">
+        <li class="level1"><a href="#credits" class="menu1">8. Credits</a></li>
+</ul>
+        <ul class="level2">
+                <li class="level2"><a href="#developers" class="menu2">8.1 L'équipe de Coppermine</a></li>
+                <li class="level2"><a href="#contributors" class="menu2">8.2 Contributeurs</a></li>
+
+                <li class="level2"><a href="#codebase" class="menu2">8.3 Code utilisé par Coppermine</a></li>
+                <li class="level2"><a href="#copyright" class="menu2">8.4 License</a> (Copyright &amp; disclaimer)</li>
+        </ul>
+</div><!-- end toc -->
+      <hr />
+
+<a name="testVersion"></a>
+<h1>0. Version beta (Test)</h1>
+<p>Cher Testeur,</p>
+<p>Merci de prendre du temps pour tester Coppermine Photo Gallery. Soyez brisques avec ce programme afin que nous puissions débusquer et éliminerles bugs de la version 1.4 mise à disposition du public</p>
+<p>Merci de comprendre que cette version est une version béta, destinée à faire des test et qui ne doit pas être utilisée en production, Donc, il n'y a pas de support d'aide pour la version 1.4.1 actuellement.</p>
+
+<p>En testant CPG 1.4, merci de noter tous les comportements bizarres rencontrés.  Cela inclue les erreurs typographiques, les instructions erronées ou trompeuses, ou toute autre erreur.  Si vous rencontrez une erreur grave, placez le mode de débuggage sur &quot;actif&quot; dans le panneau de configuration et copiez le texte le la fenêtre de débuggage.  Cela aidera beaucoup l'équpe de développement à résoudre le problème.</p>
+
+<p><b>Domaines ou il faut être particulièrement attentif:</b></p>
+<ul>
+<li>Testez toutes les facettes de, depuis l'installation en passant par toutes les actions possibles (et dans le plus grand nombre de langue et de thèmes possible).</li>
+<li>Si vous avez la possibilité de tester GD, GD2 et ImageMagick, merci de toutes les tester.</li>
+<li>Merci de tenter d'utiliser différents types de fichiers graphiques comme les fichiers JPEG, PNG and GIF (pour les utilisateurs d'ImageMagick et GD 2.0.28+ ).</li>
+</ul>
+<p>Merci de rapporter le résultat de vos tests sur le <a href="http://coppermine.sourceforge.net/board/index.php?board=29.0">forum de test</a>, mais vérifiez, avant de commencer un nouveau sujet, que le problème que vous rapportez n'a pas déjà été évoqué avant.</p>
+
+<p><b>Votre rapport doit inclure:</b></p>
+<ul>
+<li>Le système d'exploitation du serveur</li>
+<li>Le logiciel Web du serveur</li>
+<li>La biblioteque GD, GD2 ou ImageMagick testée</li>
+<li>la version de votre PHP </li>
+<li>Le forum integré (si c'est le cas)</li>
+<li>Les Themes entièrement testés (par entièrement testés, nous voulons dire, en ayant utilisé le maximum de fonctions avec les thèmes)</li>
+<li>Les erreurs graves</li>
+<li>Votre système d'exploitation et votre navigateur internet</li>
+<li>S'il s'agit d'une nouvelle installation ou d'une mise à jour (en cas de mise à jour, depusi quelle version de cpg)</li>
+</ul>
+
+<p>Les résultats de vos test ne serviront pas seulement à résoudre les problèmes,mais aussi à vérifier la compatibilité de CPG avec le plus grand nombre de navigateurs et de systèmes d'exploitattion.  C'est pour cela que ces informations sont importantes MEME SI VOUS NE TROUVEZ PAS D'ERREURS.</p>
+
+<p>Merci pour votre participation et le temps que vous avez consacré pour permettre à CPG de devenir la galerie photo  open-source la plus utilisée!</p>
+
+<p>L'équipe de développement de Coppermine</p>
+<p><a class="back" href="#top">Haut de page</a></p><hr />
+
+
+
+<a name="what"></a>
+<h1>1. Configuration nécéssaire au fonctionnement</h1>
+<ul>
+  <li>Un seveur Web supportant Php</li>
+  <li>Une base de donnée MySQL<br />
+  Au minimum la version 3.23.23 ou mieux (4.x recommandé)est requise.  Votre base MySql doit vous permettre d'avoir les droits pour: CREER, MODIFIER, SELECTIONNER, METTRE A JOUR, EFFACER (La plupart des utilisateurs utilisant un serveur Web ont ces droits; si vous ne les aviez pas, vous ne seriez en mesure d'utiliser aucun script).<br />
+  Une base de donnée doit être disponible pour l'utilisation de Coppermine - Le programme d'installation ne créera pas la base de donnée pour vous. Sur la plupars des serveurs Web, une base de donnée est mise à disposition par votre hébergeur.</li>
+  <li>PHP (version 4.1.0 ou plu srécente), soit intégrant la librairie graphique GD ou permettant d'utiliser la fonction exec()  pour le  &quot;convertisseur&quot ImageMagick; necessaires pour générer les vignettes et pour réduire la taille des images.</li>
+  <li>Une librairie graphique: soit GD (PHP doit être compilé pour la supporter) ou ImageMagick.<br />
+  (voir <a href="faq.htm#whatIsImageMagick"> Qu'est ce qu'ImageMagick </a> et<a href="faq.htm#WhatIsGD"> Qu'est ce que GD</a>)</li>
+</ul>
+
+<p><a class="back" href="#top">Haut de page</a></p><hr />
+
+<a name="installation"></a>
+<h1>2. Installation et configuration</h1>
+<a name="how"></a>
+<h2>2.1 Comment installer le script</h2>
+<ul>
+  <li><b>Décompressez l'archive tout en préservant la structure des répertoires</b><br />(vous pouvez renommer le répertoire de Coppermine mais pas les fichiers ou les répertoires inclus).</li>
+  <li><b>Placer tous les fichiers sur votre serveur Web</b> (assurez vous d'utiliser le bon mode FTP)</li>
+  <li><b>Mettez le CHMOD des répertoires <i>albums</i> et <i>include</i> à 755 (ou 777, en fonction de la configuration de votre serveur)</b> - cette étape est réellement très importante, ne l'ommetez pas!<p>Il y a une multitude de didactitiels pour débutants expliquant comment utiliser le CHMOD disponibles: <a href="http://www.google.com/search?q=chmod+tutorial" class="external">chercher un didactitiel sur le CHMOD avec Google</a>. Si vous êtes sur un serveur Windows, vous devez établir les permissions comme il faut (habituellement le serveur Web sur  IIS fonctionne avec le nom d'utilisateur &quot;IUSR_hostname&quot; - Vous devez mettre les droits en RWX pour cet utilisateur). </p><p>La raison pour laquelle ces droits sont necessaires est de permettre à Coppermine de stocker les fichiers dans le répertoire albums (les fichiers téléchargés dans la galerie) et de configurer un fichier dans le répertoire "include" contenant vos informations de connection à la base de donnée. (Ce fichier <i>config.inc.php</i> est celui qu evous devrez modifier si les informations concernant votre base de donnée changent après l'installation). Si vous hésitez entre 777 ou 755 essayez d'abord 777 et vérifiez si celà fonctionne. Si ça ne marche pas, essayez 755, en cas d'échec, consultez l'administrateur de votre serveur Web.</p></li>
+  <li><b>Vérifiez d'avoir les bonnes informations concernant les paramètres de connexion à votre base de donnée</b> - vous devez connaitre le nom de votre base de donnée ainsi que les informations concernant l'utilisateur afin que Coppermine puisse se connecter à la base de donnée. La base de donnée et le nom d'utilisateur doit exister, et l'utilisateur doit avoir accès à la base de donnée appropriée. Coppermine va créer les tables necessaires durant l'installation, Il ne sera pas necessaire que vous ajoutiez vous même de tables.</li>
+  <li><b>Lancer le programme d'installation sur votre serveur</b> (en allant à l'adresse http://votre_site/répertoire_coppermine/install.php depusi votre navigateur internet)
+  et suivez les instructions</li>
+</ul>
+<p><a class="back" href="#top">Haut de page</a></p><hr />
+
+
+<a name="getting"></a>
+<h2>2.2 Démarrage</h2>
+<p>Identifiez vous avec le nom d'administrateur et le mot de passe que vous avez défini lors de l'installation, cliquez sur le lien &quot;mode administrateur&quot; si il est visible, aller à la page <b>Configuration</b> et commencez à configurer votre galerie. Notez que même si vous êtes membre du groupe administrateur, vous devez être en &quot;mode administrateur&quot; pour configurer votre galerie.</p>
+<p>Certains paramètres de la configuration ne peuvent pas être changés par la suite (si il y a déjà des images dans la base de donnée) - Vérifiez d'effectuer vos parametrages correctement au démarrage. Bien que vous voulliez certainement commencer à utiliser Coppermine imédiatement, il est recommandé de configurer correctement ces paramètres (signalés par un astérisque &quot;*&quot;)en tout premier.</p>
+<p>Utilisez le lien du &quot;<b><a href="#albmgr">Gestionnaire d'albums</a></b>&quot; (&quot;Albums&quot; dans le menu administrateur) pour créer et organiser vos albums. Vous avez besoin d'au moins un album pour placer vos images.</p>
+<p>Utilisez le groupe <b>anonymous</b> pour définir ce que les utilisateurs son enregistrés peuvent ou ne peuvent pas faire (dans la page <a href="#group_cp">groupes</a>).</p>
+<p>Utilisez l'option <b><a href="#modif_alb_pics">propriétés</a></b> d'un album pour modifier la description et les droits.
+</p>
+<p>Pour qu'un utilisateur puisse être en mesure de télécharger des fichiers dans les albums, deux conditions doivent être réunies:</p>
+<ul>
+  <li> L'utilisateur doit être membre d'un <a href="#group_cp">groupe</a> qui peut télécharger des fichiers.</li>
+  <li>Il doit y avoir au moins un album où l'option ;<b>les visiteurs peuvent télécharger des fichiers</b>&quot; doit être définie sur  &quot;<b>Oui</b>&quot;,<br /> <b>OU</b> <br />l'utilisateur a crée un album dans les 'galerie des utilisateurs' (user galleries), si cela lui est permis.</li>
+</ul>
+<p>Il en est de même pour <b>noter les images</b> et <b>poster un commenatire</b>.</p>
+<p>Si vous avez installé le script avec succès mais is vous avez des difficultés à le faire fonctionner correctement, Vous pouvez activer le &quot;<b><a href="#debug_mode">mode de débuggage</a></b>&quot; sur la <b>page de configuration</b>. Dans ce mode, le script affiche la majorité des messages d'avertissements/erreurs produits par PHP en plus de certaines informations de déboggage .Cela peut fournir de précieuses pour comprendre ce qui ne fonctionne pas.</p>
+<p><a class="back" href="#top">Haut de page</a></p><hr />
+
+<a name="xp"></a>
+<h2>2.3 Utiliser l'assitant de publication Web de Windows XP</h2>
+<p>Si vous utilisez Windows XP, vous pouvez utiliser son assitant intégré de publication Web pour télécharger vos photos dans votre galerie.</p>
+<p>Une fois le script correctement installé sur votre serveur, appelez le fichier xp_publish.php a partir de votre navigateur Internet (http://votre_site.com/votre_repertoire_coppermine/xp_publish.php).</p>
+<p>Le script affichera certaines informations sur l'installation et la manière d'utiliser l'assistant. Fondamentallement, vosu serez amené à télécharger un petit fichier crée par le script, qui doit être chargé dans votre base de registre Windows.</p>
+<p>Si vosu souhaitez permettre à vos visiteurs d'utiliser l'assistant de publication Web de Windows XP, il est recommandé de placer un lien vers le fichier depuis votre site.</p>
+<p class="small">[cpg1.1.1 ou postérieur necessaire]</p>
+<p><a class="back" href="#top">Haut de page</a></p><hr />
+
+<a name="creating"></a>
+<h2>2.4 Créer ou mettre à jour vos propres thèmes</h2>
+<p>Pour mettre à jour un thème personnalisé existant vers la version 1.4.x, lisez la <a href="theme/index.html">documentation pour la mise à jour des thèmes</a>.</p>
+<p>Les thèmes de Coppermine sont placés dans le répertoire &quot;<b>themes</b>&quot;, ils se composent de 3 fichiers : </p>
+<ul>
+  <li>&quot;<b>template.html</b>&quot; le gabarit principal en HTML.</li>
+  <li>&quot;<b>style.css</b>&quot; la feuille de style associée avec le thème</li>
+  <li>&quot;<b>theme.php</b>&quot; le fichier PHP du thème</li>
+  </ul>
+<p>Le thème nommé &quot;sample&quot; comprends un exemple pour chacun de ces fichiers mais n'est pas visible aux utilisateurs dans la liste de sélection des thèmes. le fichier theme.php du thème Sample comprends la liste de toutes le fonctions utilisables dans les thèmes et les gabarits comme référence pour vous. Si vous optez pour l'utilisation  du thème &quot;sample&quot; pour commencer la création de votre propre thème, vous devez, pour le fichier theme.php suivre les instructions dans la &quot;<a href="theme/index.html">documentation pour la mise à jour des thèmes</a>&quot; et commencer par un fichier theme.php vide.</p>
+<p>Pour créer un nouveau gabarit, la meilleure solution est d'utiliser un gabarit existant comme base. Pour ce faire, faites une copie du répertoire du thème que vous voulez utiliser comme base. Puis éditez les fichiers &quot;<b>template.html</b>&quot; et &quot;<b>theme.php</b>&quot; et remplacez toutes les occurences de &quot;<b>themes/repertoire_ancien_theme</b>&quot; par &quot;<b>themes/repertoire_nouveau_theme</b>&quot; afin de faire pointer les liens vers le bon endroit.</p>
+<p>Lors de l'édition du fichier &quot;<b>template.html</b>&quot; n'effacez pas les éléments entre <b>{}</b> ce sont les balises utilisées par le script. Gardez aussi en mémoire que même si ces fichiers sont palcés dans le répertoire &quot;<b>themes/repertoire_de_votre_theme</b>&quot;, il faut construire votre thème comme si il était placé dans le répertoire principal du script. En pratique, pour charger une image, vous devez utiliser <i>&lt;img src=&quot;themes/repertoire_de_votre_theme/images/image.gif&quot; alt=&quot;&quot;/&gt;</i> et non <i>&lt;img src=&quot;images/image.gif&quot; alt=&quot;&quot;/&gt;.</i> Il en va de mêm pour le fichier &quot;<b>theme.php</b>&quot;.</p>
+<p>Faites aussi attention de ne pas éffacer la ligne <i>&lt;script type="text/javascript" src="scripts.js"&gt;&lt;/script&gt;</i> necessaire à l'ouverture de la fenêtre pour les images originales et pour d'autres fonctions utilisant le JavaScript.</p>
+<p>Si vous utilisez un éditeur HTML pour faire votre gabarit, la meilleure solution est de copier le fichier &quot;<b>template.html</b>&quot; dans le répertoire principal du script et de l'editer depuis cet emplacement. Si le script trouve un fichier nommé &quot;<b>template.html</b>&quot; dans le répertoire principal il le chargera à la place de celui placé dans le répertoire du thème. Une fois les modifications terminées, redéplacez le fichier dans le répertoire de votre thème.</p>
+<p>Pour modifier les couleurs, les polices, la hauteur des lettres etc... utilisés par le script, ouvrez la feuille de style &quot;<b>style.css</b>&quot; . Si vous voulez augmenter ou diminuer la taille de la police vous pouvea simpement modifier la ligne avec : <i>table { font-size: 12px; }</i>. La plupart des tailles utilisée sont définies par des pourcentages de cette taille.</p>
+<p>Le fichier &quot;<b>theme.php</b>&quot; contient tous les gabarits HTML utilisés par le script. Vous pouvez aussi les modifier. Si vous faites des modifications de ces gabarits, ne touchez pas aux lignes avec <i>&lt;!-- BEGIN xxx --&gt;</i> et <i>&lt;!-- END xxx --&gt;</i>.</p>
+<p>Si vous n'êtes pas sur de savoir comment créer votre propre thème pour Coppermine, jettez un coup d'oeil à la page de téléchargement du site de Coppermine: il y a beaucoup de <a href="http://sourceforge.net/project/showfiles.php?group_id=89658&amp;package_id=98541">thèmes apportés par les utilisateurs</a> disponibles au téléchargement et que vous pouvez visualiser sur la <a href="http://coppermine.sourceforge.net/demo/">page de démonstration de Coppermine</a>.</p>
+<p>Pendant le processus de création d'un nouveau thème, il est possible que vous ne vouliez pas montre ce thème à vos visiteurs, mais que vous (en tant qu'administrateur de coppermine) souez en mesure de visualiser votre thème. pour faire celà, ajoutez simplement <tt class="code">theme=nom_de_votre_theme</tt> dans la barre d'adresse de votre navigateur.</p>
+<b>Exemples:</b>
+<ul>
+<li><tt class="code">http://votre_site.com/coppermine/index.php?theme=nom_de_votre_theme</tt> va afficher la page d'index de votre galerie Coppermine en utilisant votre thème</li>
+<li><tt class="code">http://votre_site.com/coppermine/thumbnails.php?album=1&amp;theme=nom_de_votre_theme</tt> va afficher les vignettes de l'album 1 en utilisant votre thème</li>
+<li><tt class="code">http://votre_site.com/coppermine/?theme=xxx</tt> va restaurer l'affichage en utilisant le thème choisi par défaut dans la page de configuration de Coppermine</li>
+</ul>
+<p><a class="back" href="#top">Haut de page</a></p><hr />
+
+<a name="safe"></a>
+<h2>2.5 Problèmes liés au Safe mode</h2>
+<p>Un nombre important d'hébergeurs utilisent PHP en safe mode. Coppermine fonctionne sans problèmes en safe mode et avec &quot;open basedir restriction&quot; actif, a condition que le safe mode soit configuré correctement. Malheureusement, chez de nombreux hébergeurs, le safe mode n'est pas configuré correctement.</p>
+<p>si votre hébergeur utilise PHP en self mode et est mal configuré, vous devez faire ce qui suit :</p>
+<ul>
+  <li>Depuis un client FTP, changez le mode du répertoire &quot;<b>include</b>&quot; de Coppermine sur votre serveur à <b>0777</b>.</li>
+  <li>Faites de même pour les répertoires &quot;<b>albums</b>&quot; et &quot;<b>userpics</b>&quot;.</li>
+  <li>Vérifiez qu'au début du fichier &quot;<b>include/config.inc.php</b>&quot;, vous avez une ligne avec : &quot;<b>define('SILLY_SAFE_MODE', 1);</b>&quot;</li>
+</ul>
+<p><a class="back" href="#top">Haut de page</a></p><hr />
+
+<a name="smtp"></a>
+<h2>2.6 Utiliser SMTP pour envoyer des courriels</h2>
+<p>Par défaut, le script utilise la fonction <b>mail</b> integrée à PHP pour envoyer des courriels. Dans certains cas, cette fonction ne peut pas être utilisée.</p>
+<p> Pour pouvoir être en mesure d'envoyer des courriels avec PHP vous devez fournir un <b>serveur SMTP</b>, un <b>nom d'utilisateur</b> et un <b>mot de passe</b>, vous devez editer  &quot;paramètres pour l'envoie de courriels&quot; dans la page de configuration et y mettre les bonnes valeurs. Si vous n'avez pas besoins de nom d'utilisateur et de mot de passe pour vous connecter à votre serveur SMTP, laissez les champs vides. Si vous ne savez pas quels paramètres saisir, contactez votre hébergeur.</p>
+<p><a class="back" href="#top">Haut de page</a></p><hr />
+
+<a name="upgrade"></a>
+<h1>3. Mise à jour</h1>
+<a name="10"></a>
+<h2>3.1 Mise à jour depuis la version 1.0</h2>
+
+<p>Si vous avez installé la version 1.0 et que vous voulez transferer vos albums vers la version 1.3.2 faites comme suit:</p>
+<ul>
+  <li>Premièrement faites une sauvegarde de votre base de donnée (dump).</li>
+  <li> Installez normallement la 1.3.2 dans un répertoire différent de celui ou vous avez installé la version. Attention, pour pouvoir utiliser le script de mise à jour, les <b>tables for version 1.0 and 1.3.2 doivent être placées dans la même base de donnée</b>.</li>
+  <li>Copiez le répertoire &quot;<b>albums</b>&quot; de la version 1.0 dans le répertoire ou vous avez installé la version 1.3.2</li>
+  <li>Le script de mise à jour présume que vous utilisez le préfixe &quot;<b>CPG_</b>&quot; pour les les tables (valeurs par defaut) lorsque vous avez installé la version 1.0, si ce n'est pas le cas, editez upgrade-1.0-to-1.2.php et modifiez la variable $prefix10.</li>
+  <li>Identifiez vous dans votre galerie Coppermine 1.3.2, passez en mode administrateur</li>
+  <li>Appelez le script de mise à jour, http://votresite.com/repertoire_coppermine/upgrade-1.0-to-1.2.php</li>
+  <li><b>La mise à jour de la version 1.0 vers la version 1.3.2 se fait en deux étapes.</b> Vous devez cliquer sur le lien qui apparait au pied de la page pour achever la mise à jour!.</li>
+        <li><b>Effaceez upgrade-1.0-to-1.2.php de votre serveur</b>.</li>
+        <li>Si vous rencontrez une erreur, allez à la page de configuration de Coppermine 1.3.2, activez le <a href="#debug_mode">mode de debbugage</a>, essayez d'appeler le script de mise à jour encore une fois et regardez quelle erreur se produit.</li>
+</ul>
+<p> <b>Ce processus de mise à jour ne modifie pas votre galerie en version 1.0 gallery</b></p>
+<p><a class="back" href="#top">Haut de page</a></p><hr />
+
+<a name="11"></a>
+<h2>3.2 Mise à jour depuis la mise à disposition de la version 1.1</h2>
+  <ul>
+            <li>Premièrement, faite une sauvegarde de votre base de donnée (dump).</li>
+      <li>Sauvegardez votre fichier <b>include/config.inc.php</b>, votre fichier <b>anycontent.php</b> et votyre répertoire <b>albums</b>.</li>
+      <li>Décompressez l'archive</li>
+      <li>Si le fichier <b>install.php</b> existe dans le répertoire principal, effacez le.</li>
+      <li>Téléchargez tous les nouveaux fichiers et répertoires sur votre serveur</li>
+      <li>Mettez le CHMOD du répertoire <b>albums</b> et de tous les sous-répertoires au minimum sur 755 ou 777 (en fonction de la configuration de votre serveur)</li>
+      <li>Appelez le script de mise à jour http://votresite.com/repertoire_coppermine/update.php</li>
+      <li>La mise à jour devrait être achevée.</li>
+  </ul>
+<p><a class="back" href="#top">Haut de page</a></p><hr />
+
+<a name="12"></a>
+<h2>3.3 Mise à jour depuis cpg1.2.0rc2 ou cpg1.2.0final vers la version cpg1.2.1</h2>
+    <ul>
+                <li>Premièrement, faite une sauvegarde de votre base de donnée (dump).</li>
+        <li>Sauvegardez votre fichier <b>include/config.inc.php</b>, votre fichier <b>anycontent.php</b> et votyre répertoire <b>albums</b>.</li>
+      <li>Décompressez l'archive</li>
+      <li>Si le fichier <b>install.php</b> existe dans le répertoire principal, effacez le.</li>
+        <li><b>Excepté pour le répertoire "albums" </b>, téléchargez sur votre serveur l'ensemble des nouveaux fichiers et répertoires en vous assurant de <b>ne pas remplacer le fichier <i>include/config.inc.php</i>, votre fichier <i>anycontent.php</i> ou le répertoire <i>albums</i></b>.</li>
+        <li>Créez un répertoire nommé &quot;edit&quot; dans votre répertoire &quot;albums&quot; - Ce répertoire servira  de répertoire temporaire à Coppermine, n'y placez pas de fichiers par FTP. Assurez vous que le nouveau répertoire &quot;edit&quot; a le même CHMOD que votre répertoire albums (755 ou 777, en fonction de la configuration devotre serveur)</li>
+        <li>Il n'y a pas de mise à jour de la base donnée necessaire, vous êtes prêts a continuer</li>
+    </ul>
+
+<p><a class="back" href="#top">Haut de page</a></p><hr />
+
+<a name="13"></a>
+<h2>3.4 Mise à jour de cpg1.2.x ou cpg1.3.x  vers la version cpg1.4.1</h2>
+    <ul>
+                <li>Premièrement, faite une sauvegarde de votre base de donnée (dump).</li>
+        <li>Sauvegardez votre fichier <b>include/config.inc.php</b>, votre fichier <b>anycontent.php</b> et votyre répertoire <b>albums</b>.</li>
+      <li>Décompressez l'archive</li>
+      <li>Si le fichier <b>install.php</b> existe dans le répertoire principal, effacez le.</li>
+        <li><b>Excepté pour le répertoire "albums" </b>, téléchargez sur votre serveur l'ensemble des nouveaux fichiers et répertoires en vous assurant de <b>ne pas remplacer le fichier <i>include/config.inc.php</i>, votre fichier <i>anycontent.php</i> ou le répertoire <i>albums</i></b>.</li>
+        <li>Si vous ne l'avez pas déjà fait, créez un répertoire nommé &quot;edit&quot; à l'intérieur de votre répertoire &quot;albums&quot; - Ce répertoire servira  de répertoire temporaire à Coppermine, n'y placez pas de fichiers par FTP. Assurez vous que le nouveau répertoire &quot;edit&quot; a le même CHMOD que votre répertoire albums (755 ou 777, en fonction de la configuration devotre serveur)</li>
+        <li>Lancez le fichier &quot;update.php&quot; dans le répertoire de Coppermine depuis votre navigateur internet (exemple: http://votresite.com/coppermine/update.php). Cela va mettre à jour votre installation de Coppermine en faisant les changement necessaires dans la base de donnée.</li>
+        <li>Si vous avez fait un thème personnalisé, appliquez les changements apportés dans la structure des thèmes à votre thème personnalisé - référez vous au <a href="theme/index.html">guide de mise à jour des thèmes</a>.</li>
+        <li>Vous ne pouvez pas utiliser les fichiers langues des anciennes versions de Coppermine - Assurez vous de n'avoir que des fichiers langages livrés avec ce pack dans votre répertoire <b>lang</b>(effacez ou renommez tous les fichiers des versions antérieures présents dans le répertoire <b>lang</b>)</li>
+    </ul>
+<p>Merci de noter: comme il y des changements aussi bien dans les fichiers de Coppermine que dans la base de donnée entre cpg1.3.0beta vers cpg1.3.0 (final), les utilisateur de la version béta doivent appliquer toute les étapes mentionnées ci-dessus:  les fichiers doivent être remplacés et le script update.php doit être lancé ensuite.</p>
+<p><a class="back" href="#top">Haut de page</a></p><hr />
+
+<a name="versioncheck"></a>
+<h2>3.5 L'outil de vérification de version</h2>
+<p>Depuis cpg1.3.2 Coppermine inclue un outil de vérification de version pour vous permettre de résoudre facilement les problèmes lors des mises à jour. Contrairement à d'autres parties de Coppermine qui ne fonctionnent que pour la version pour laquelle elles on été écrites, l'outil de vérification de version peut être utilisé avec toutes les versions depuis cpg1.2.1. Pour lancher le vérificateur de version, ajoutez simplement <tt>versioncheck.php</tt> dans la barre d'adresse de votre navigateur après vous être identifié comme administrateur dans Coppermine (exemple: <tt>http://votresite.com/repertoire_coppermine/versioncheck.php</tt>).</p>
+<a name="versioncheck_description_start"></a>
+<h3>3.5.1 Que fait'il</h3>
+<p>le script &quot;versioncheck&quot; est destiné pour les utilisateurs qui ont mis à jour leur installation de Coppermineis. Le script passe en revue les fichiers de votre serveur et essaye de déterminer si la version des fichiers sur votre serveur est la même que celle des fichiers placés sur http://coppermine.sourceforge.net, de cette manière vous pouvez voir les fichiers que vous devriez mettre à jour.</p>
+<p>Il va montrer en <span style="color:red;font-weight:bold">rouge</span> tout ce qui doit être changé. Les entrées en <span style="color:#FFBE00;font-weight:bold">jaune</span> doivent être vérifiées. Les entrées en <span style="color:green;font-weight:bold">vert</span> (ou dans la couleur par défaut de votre thème) sont justes et doivent être laissées. Quand une entrée est <span style="color:red;font-weight:bold">rouge</span> ou <span style="color:#FFBE00;font-weight:bold">jaune</span>, une icone d'aide apparait à proximité. Cliquez dessus pour plus de détails. En s'attardant avec la souris sur un élément vous afficherez des informations complémentaires (bulles d'aide).</p>
+<p>L'écran de l'outil de vérification de versioncomporte plusieures sections:</p>
+<ul>
+<li><b>Section 1:</b> explications sur l'utilisation de l'outil de vérification de version</li>
+<li><b>Section 2:</b>(&quot;<a href="#versioncheck_options_start">Options</a>&quot;) affiche les options que vous pouvez choisir</li>
+<li><b>Section 3:</b> affiche une alerte si Coppermine ne peut pas se connecter à l'emplacement du référentiel en ligne de Coppermine  (là ou sont placées les versions des fichiers les plus récentes). Le script ira par défaut à la copie locale des fichiers. En cas de connection réussie, il n'y aura bien sur pas de message d'erreur (pas de section 3).</li>
+<li><b>Section 4:</b> affiche la version de Coppermine que vous utilisez actuellement. Le script de vérification de version extrait ces données du fichier <i>include/init.inc.php</i> - Si vous n'avez pas remplacé votre copie de ce fichier par la nouvelle version lors de la mise à jour de votre installation, votre ancienne (dépassée) version apparaitra dans cette section.</li>
+<li><b>Section 5:</b> affiche le coeur des informations vérifiées: la comparaison des versions. Le fichier va passer en revue tous les fichiers censés exister (en se basant sur les données du répertoire d'archivage en ligne (le site de Coppermine)) et les compare avec ceux qui se trouvent sur votre serveur.</li>
+<li><b>Section 6:</b> affiche un récapitulatif des fichier et répertoires vérifiés</li>
+</ul>
+<a name="versioncheck_description_end"></a>
+
+<a name="versioncheck_options_start"></a>
+<h3>3.5.2 Options</h3>
+<p>L'écran d'option vous permets de configurer le vérificateur de version, ou plutôt ce qui doit être affiché. Les options ne sont pas sauvegardées, vous devrez donc ajuster vos paramètres à chaque utilisation du vérificateur de version. Les options par défaut devraient convenir à la majorité des utilisateurs - ne les changez que si vous avez de bonnes raisons de le faire.</p>
+<img src="pics/fr_versioncheck_options.gif" width="760" height="264" border="0" alt="" title="options" />
+<ul>
+<li><i>montrer les fichiers/répertoires optionnels</i><br />Décochez cette option pour cacher les fichiers étiquetés comme &quot;optionel&quot; (n'affiche que les fichiers necessaires)</li>
+<li><i>Montrer les fichiers necessaires</i><br />Décochez cette option pour cacher les fichiers étiquetés comme &quot;necessaires&quot; (Attention ! décocher les deux options (fichiers optionnels et fichiers necessaires) va bien sur faire en sorte qu'aucun fichiers ne sera affiché)</li>
+<li><i>Montrer les informations complémentaires</i><br />Séletcionne quelles informations afficher entre celles concernant votre installation de Coppermine et celles du référentiel en ligne. déselectionnez si vous faites une capture d'écran pour gagner de la place et réduire la dimension.</li>
+<li><i>Montrer la version des fichiers</i><br />Sélectionne quelles informations complémentaires d'un fichier concernant la version mise en circulation dont vous disposez doivent être affichées. Lorsque vosu regardez le code source d'un fichier coppermine, la version du fichier est le nombre qui se présente ainsi: <tt>Id: index.htm,v 1.66 2004/08/26 04:42:19 gaugau Exp</tt> (dans cet exemple, la version du fichier est 1.66)</li>
+<li><i>Montrer uniquementles répertoires/fichier avec des erreurs</i><br />Sélectionne l'affichage des fichiers qui ont des erreurs (option cochée). Activez cette option si vous voulez faire une capture d'écran et demander de l'aide sur le forum de Coppermine.</li>
+<li><i>Coppermine est installé à la racine du site</i><br />Experimental: si tous vos fichiers sont affichés comme &quot;non-existant&quot;, vous avez probablement installé Coppermine à la racine de votre site, ou vous utilisez un sous-domaine. Cochez cette option uniquement si vous rencontrez ce problème. Cette option n'a pas été testée complêtement, Il n'est pas garanti qu'elle fonctionne sur votre installation.</li>
+<li><i>Essayer de se connecter au référentiel en ligne</i><br />Détermine si le vérificateur de version doit essayer de se connecter sur le référentiel en ligne (coché par défaut). Décochez cette option uniquement si vous êtes sur de ne pas pouvoir acceder au référentiel en ligne à cause du paramêtrage de votre serveur et que vous voullez accélerer un peu le temps d'execution du script.</li>
+<li><i>Montrer les droits des répertoires</i><br />Détermine s'il faut montrer/cacher les droits en écriture/lecture des répertoires.</li>
+<li><i>Ne pas montrer le lien vers les webcvs</i> / <i>Montrer le lien webcvs vers la branche stable</i> / <i>Montrer le lien webcvs vers la branche de développement</i><br />Détermine quelle colonne supplémentaire montrer avec un lien vers le webcvs. N'utiliser que si votre version de Coppermine est correcte (<span style="color:green;font-weight:bold">vert</span>), mais que la version de vos fichiers apparait dépassée. Vous pouvez vous connecter au webcvs pour trouver une version plus récente de votre fichier. Ne faire que si vous savez ce que vous faites (ou si celà vous a été demandé par un membre de l'équipe de support du forum d'aide de Coppermine).</li>
+<li><i>Montrer une sortie condensée (pour faciliter les captures d'écran)</i><br />Lorsqu'elle est activée, cette option réduit la largeur des colonnes de comparaison de de version. Cela vous permettra de faire une capture d'écran de taille réduite.</li>
+</ul>
+<a name="versioncheck_options_end"></a>
+
+<a name="versioncheck_comparison_start"></a>
+<h3>3.5.3 Comparaison de version</h3>
+<p>Il y a une multitude d'informations données dans un minimum d'espace. Voici un exemple des possibilités de sorties et leur significations:</p>
+<img src="pics/versioncheck_comparison.gif" width="411" height="279" border="0" alt="" title="comparaison de version" />
+<ul>
+<li>Colonne &quot;icone&quot; montre si l'entrée est un répertoire ou un fichier. Cliquer sur l'icone vous conduira vers une page, exemple: en cliquant sur util.php vous sere conduit vers la page &quot;outils d'administration&quot; (bien que tous les fichiers Coppermine ne peuvent pas être ouverts  en les executants directement depuis votre navigateur).<p>Dans l'exemple ci-dessus, les lignes &quot;A&quot; à &quot;E&quot; sont des répertoires, les lignes &quot;F&quot; à &quot;K&quot; sont des fichiers.</p></li>
+<li>Colonne &quot;Répertoire/fichier&quot; montre le chemin relatif de la racine de votre galerie Coppermine vers le répertoire/fichier en question.<br />
+<p>Si une entrée est dans la couleur de police par défau, elle existe (dans l'exemple ci-dessus, toutes les lignes sauf &quot;G&quot; et &quot;H&quot;).<br />
+<p>Si l'entrée est en <span style="color:#FFBE00;font-weight:bold">jaune</span> (ligne &quot;G&quot;), le répertoire/fichier correspondant n'existe pas sur votre serveur, mais il est considéré comme optionnel (par exemple un fichier langage livré avec le pack Coppermine, que vous ne voulez pas utiliser peut être effacé de votre serveur. Il sera montré en <span style="color:#FFBE00;font-weight:bold">jaune</span>, mais il n'est pas necessaire au bon fonctionnement de la galerie). C'est a vous de voir si vous en avez besoin.</p>
+<p>Si l'entrée est en <span style="color:red;font-weight:bold">rouge</span> (row &quot;H&quot;), le répertoire/fichier en question n'existe pas sur votre serveur, mais il est necessaire au fonctionnement de Coppermine. Il faut que vous téléchargiez ce fichier depuis votre package Coppermine vers votre serveur. Ne laisser votre configuration telle quelle uniquement si vous savez ce que vous faites.</p></li>
+<li>La colonne &quot;incriptible&quot; montre si le répertoire en question est inscriptible, et aussi si c'est correct. les droits en écriture pour les fichiers ne sont pas affichés, cela ralentirais énormément le script. Généralement, il y a une icone qui montre le statut 'inscriptible' pour les répertoires (à condition que l'image de l'icone soit présente sur votre serveur). Sinon, un texte entre parentèses ets visible (si vous n'avez pas l'image de l'icone).
+<ul>
+<li>Un crayon blanc avec un &quot;x&quot <span style="color:green;font-weight:bold">vert</span> ; indique quele le répertoire n'est inscriptible et n'est pas supposé l'être - tout est bon (ligne &quot;A&quot;)</li>
+<li>Un crayon <span style="color:green;font-weight:bold">vert</span> indique que le répertoire est inscriptible et qu'il est bien supposé l'être - tout est bon (ligne &quot;D&quot;</li>
+<li>Un crayon blanc avec un &quot;x&quot <span style="color:red;font-weight:bold">rouge</span> ; indique que le répertoire n'est pas inscriptible, mais devrait l'être (ligne &quot;C&quot;). Vous devriez changer les droits en écriture (CHMOD) pour ce répertoire et tout ce qu'il contient, habituellement en utilisant votre client <acronym title="File Transfer Protocol">FTP</acronym> .</li>
+<li>Un crayon <span style="color:red;font-weight:bold">rouge</span> indique que le répertoire est inscriptible, mais ne devrait pas l'être (ligne &quot;E&quot;). Avoir des fichiers inscriptibles peut être un risque pour la sécurité. Si possible, vous devez changer les droits de ce répertoire et de tout ce qu'il contient en écriture/execution uniquement.</li>
+</ul>
+</li>
+<li>Un point d'intérrogation dans une boite jaune (icone d'aide) indique que des informations complémentaires sont disponibles. Cliquez sur cette icone pour ouvrir une fenêtre avec ces informations.</li>
+<li>La colonne &quot;cpg version&quot; affiche de quelle version de Coppermine est issu le fichier sur votre serveur, et quelle devrait être sa version. L'information est extraite de l'entête du fichier, c'est la raison pourquoi les répertoires sont marqués comme &quot;n/a&quot; - il n'y a pas d'entête contenant d'informations concernant la version de coppermine (lignes &quot;A&quot; à &quot;E&quot;).
+<p>Les fichiers contenant des informations dans leur entête sont affichés avec leur version sur votre serveur et avec la version du fichier du référentiel Coppermine, séparés par un slash ('/'). Il est possible que la version d'un fichier diffère de celle de votre pack Coppermine - Cela ne pose pas de problème aussi longtemps que les deux versions (la votre et celle du référentiel) sont compatibles (Elles s'affichent en  <span style="color:green;font-weight:bold">vert</span>) - dans l'exemple ci dessus: lignes &quot;F&quot;, &quot;J&quot; et &quot;K&quot;.</p>
+<p>Bien sur, le numéro de version qui n'existe pas dans un fichier ne peut pas être extrait, les lignes &quot;G&quot; et &quot;H&quot; ont un tiret à la place du N&Acirc; de version de Coppermine. Si votre version de Coppermine est plus ancienne que celle du référentiel, votre version est affichée en <span style="color:red;font-weight:bold">rouge</span>: Si c'est cas, vous n'avez probablement pas téléchargé le bon fichier depuis votre pack Coppermine vers votre serveur (remplacez le fichier existant sur votre serveur) - vous devriez faire ainsi là: (ligne &quot;I&quot;).</p>
+<p>Si votre version locale est affichée en <span style="color:#FFBE00;font-weight:bold">jaune</span>, vous utilisez un fichier dont la version est plus récente que le reste de vos fichiers - vous avez probablement téléchargé le fichier depuis la branche en développement: rappelez vous qu'il n'y a pas de support pour les fichiers en cours de développement, faites ainsi à vos risques et périls (si vous savez ce que vous faites). Si la majorité de vos fichiers sont affichés en <span style="color:#FFBE00;font-weight:bold">jaune</span>, vous avez probablement mis à jour plusieurs fichiers, mais vous avez oublié de mettre à jour le fichier &quot;include/init.inc.php&quot; (qui contient les informations de version pour votre installation de Coppermine). assurez vous de télécharger <b>tous</b> les fichier depuis le pack vers votre serveur.</p>
+</li>
+<li>
+<p>La colonne &quot;Version de fichier&quot; contient la version individuelle de chaque fichier qui augmenteras au fur et a mesure du développement d'une nouvelle version de Coppermine (à chaque fois qu'un développeur modifie un fichier, le numéro de version augmente d'une unité). Comme les répertoires ne contiennent pas de numeros de version similaires, ils sont à nouveau étiquetés comme &quot;n/a&quot; (lignes &quot;A&quot; à &quot;E&quot;); Il en est de même pour les fichiers qui n'existent pas, c'est pourquoi le N&Acirc; de version est représenté par un tiret (lignes &quot;G&quot; et &quot;H&quot;). Aussi le N&Acirc; de version de fichier est hors de propos lors de la comparaison de fichiers provenant de packs Coppermine différents, c'est pourquoi la ligne &quot;I&quot; est contient un tiret.</p>
+<p>Le système de couleur est le même que pour la version de Coppermine: <span style="color:green;font-weight:bold">vert</span> signifie que &quot;tout est OK&quot;, <span style="color:red;font-weight:bold">rouge</span> signifie que &quot;vous utilisez une version dépassée&quot; et <span style="color:#FFBE00;font-weight:bold">jaune</span> signifie que &quot;vous utilisez une version plus récente que celle supposée.</p>
+<p>La différence entre les colonnes 'version de Coppermine' et 'version de fichier' est la manières de trouver quel fichier est supposé remplacer l'existant sur votre serveur: <span style="color:red;font-weight:bold">rouge</span> pour la colonne de version de Coppermine signifie que le fichier sur votre serveur n'a pas été remplacé par le fichier du pack Coppermine;  <span style="color:red;font-weight:bold">rouge</span> pour la colonne de version de fichier (ligne &quot;J&quot;) signifie généralement qu'il y a eu une mise à jour de certains fichiers dans le pack depuis sa mise à disposition - Vous devriez véridier qi il n'y a pas un nouveau pack disponible ou charger le fichier le plus récent depuis le <acronym title="Concurrent version system">CVS</acronym> (activez le lien vers le webcvs dans les <a href="#versioncheck_options_start">options</a> du vérificateur de version ).</p>
+</li>
+<li>La colonne &quot;web cvs&quot; (désactivée par défaut) conduit vers le fichier correspondant dans le <acronym title="Concurrent version system">CVS</acronym>. Il est recommendé d'utiliser celà uniquement si il apparait qu'il y a une nouvelle version du fichier dans le cvs que celle de votre pack Coppermine et si vous savez ce que vous faites.</li>
+</ul>
+<a name="versioncheck_comparison_end"></a>
+<a name="versioncheck_end"></a>
+<p><a class="back" href="#top">Haut de page</a></p><hr />
+
+<a name="administration"></a>
+<h1>4. Configuration et Administration</h1>
+
+<h2>4.1 Categories, albums et fichiers<a name="cat_alb_pic"></a></h2>
+<p>La Galerie Photo Coppermine (CPG) fonctionne de cette manière:</p>
+<ul>
+  <li>Le fichiers sont placés dans des albums</li>
+  <li>Les albums sont organisés en catégories</li>
+  <li>Les catégories peuvent être imbriquées (sous-categories)</li>
+</ul>
+<p>Si vous n'avez pas beaucoup d'albums, vous n'avez pas besoin d'utiliser de catégories. Dans ce cas, vous ne créez aucune catégorie et tous les albums apparaitrons sur la page principale.</p>
+<p>Il y a une catégorie spéciale nommée &quot;<b>User galleries</b>&quot;. Cette catégorie ne peut pas être effacée. Si un utilisateur appartiens à un groupe où &quot;peut avoir une galerie personnelle&quot; est parametré sur OUI, il a le droit de créer ses propres albums et sa galerie sera une sous-catégorie de &quot;User galleries&quot;.</p>
+<p>L'administrateur peut créer des albums dans n'importe quelle catégorie. Les utilisateurs réguliers peuvent uniquement créer leurs albums dans &quot;User galleries/Leur_nom_utilisateur&quot;.</p>
+<p>Pour renommer la catégorie &quot;<b>User galleries</b>&quot; et sa description, allez simplement vers le <a href="#cat_cp">panneau de gestion des catégories</a> et changez les (par exemple pour traduire les mots &quot;User galleries&quot; dans votre langue).</p>
+
+<p><a class="back" href="#top">Haut de page</a></p><hr />
+
+<h2>4.2 Mode Administrateur et mode Utilisateur<a name="admin_user_mode"></a></h2>
+<p>Lorsque vous êtes identifié en tant qu'administrateur, le script a deux mode de fonctionnement : Le mode Administrateur et le mode Utilisateur. Vous basculez entre le mode Administrateur et le mode Utilisateur en cliquant sur le lien correspondant dans le menu en haut de page.</p>
+<p>Lorsque vous êtes en mode administrateur, vous pouvea gérer votre galerie et le menu suivant apparait:</p>
+<p><a name="admin_menu"></a><img src="pics/fr_admin_menu.gif" border="0" alt="Admin menu" /></p>
+<p>Si vous êtes en mode utilisateur et vous gardez le status d'administrateur, mais les controles d'administration (la barre de menu administrateur etc...) sont cachés de manière à donner l'impression que la page est similaire à celle que verrait un "utilisateur normal". Toutefois (tant que vous êtes identifiés en tant qu'administrateur), vos droits en mode utilisateur sont les mêmes qu'en mode administrateur; vous ne pouvez <b>pas</b> utiliser le "<i>Mode Utilisateur</i>" pour vérifierce qu'un non administrateur verra; pour cela, créez un  compte utilisateur test (non-administrateur) et identifiez vous avec cet utilisateur particulier (il est recommendé d'utiliser deux navigateurs différents, afin de pouvoir vous identifier en tant qu'utilisateur "normal" et administrateur en même temps).</p>
+<p>Les onglets du menu administrateur s'expliquent par eux mêmes:</p>
+<ul>
+  <li><b>Approbation de téléchargement</b><br />Visualise toutes les images attendant l'approbation de l'administrateur (suivant le parametrage dans &quot;<a href="#group_cp">groupes</a> du &quot; panneau de configuration)</li>
+  <li><b>Configuration</b><br />Gère l'ensemble de l'apparence de la galerie et les paramètres utilisés dans panneau de configuration du menu administrateur &quot;<a href="#admin">Configuration</a>&quot; (Avertissement: vous ne pouvez pas acceder à la configuration en entrant manuellement l'adresse du fichier de configuration)</li>
+  <li><b>Categories</b><br />Créer/Modifier/Effacer les <a href="#cat_cp">categories</a></li>
+  <li><b>Albums</b><br />Créer/Modifier/Effacer les <a href="#albmgr">albums</a></li>
+  <li><b>Groups</b><br />Créer/Modifier/Effacer les <a href="#group_cp">groupes</a></li>
+  <li><b>Users</b><br />Créer/Modifier/Effacer les <a href="#user_cp">utilisateurs</a></li>
+  <li><b>Bannir des Utilisateurs</b><br />Bannir des utilisateurs en se servant du nom d'utilisateur ou de l'adresse IP. Attention de ne pas vous bannir vous même! Utilisez cette possibilité avec beaucoup de précaussions, depuis que la majorité des utilisateurs ont une adresse IP statique, cette fonction doit être utilisée uniquement si vous savez vraiment ce que vous faites.<br />
+  <span class="small">[cpg1.3.0 ou supérieur requis]</span>
+  </li>
+  <li><b>Examiner les commentaires</b><br />modifie/efface le commentaires de sutilisateurs/li>
+  <li><a name="ecard_log"></a><b>Afficher les E Cartes</b><p>Visualiser les cartes électroniques envoyées par les utilisateurs.</p>
+  <p>Vous devez activer d'abord l'enregistrement des Cartes (ecard-logging) dans la configuration (par défaut, logging est désactivé). Lorsque l'option est activée, toutes les E cartes envoyées sont stockées dans la base de donnée, ou l'administrateur de coppermine peut les visualiser.</p>
+  <img src="pics/fr_ecard_log.gif" border="0" alt="" /><br />
+  Vous pouvez trier les enregistrements en cliquant sur les icones en forme de flèches dans chaque entête de colonne, et vous pouvez effacer un où plusieurs enregistrements (effacer les enregistrement n'empechera pas le destinataire de la carte de la visualiser).<br />
+  <p>Avant de cocher cette option, vérifiez que l'enregistrement de ces données est autorisée dans votre pays. Il est recommandé de signaler aux utilisateurs que toutes les cartes électroniques seront enregistrées (de préférence sur la page d'enregistrement).</p>
+  <span class="small">[cpg1.3.0 ou supérieur requis]</span>
+  <a name="ecard_log_end"></a>
+  </li>
+  <li><b>Trier mes images</b><p>Le gestionnaire d'images peut servir à trier de façon parsonnalisé les images à l'intérieur des albums. Par défaut, les vignettes sur la page de l'album sont triées suivant l'ordre défini dans  &quot;<a href="#admin_thumbnail_view">Tri par défaut pour les fichiers</a>&quot; sur la page de configuration. L'option "Trier mes images" prends le dessus sur cette option par défaut et affiche les vignettes suivant l'ordre que vous aurez spécifié. Comme celà suppose un travail supplémentaire lors de la maintenance de chaque album, il est recommandé d'utiliser l'ordre de tri par défaut et(au lieu de spécifier un ortre de tri presonnalisé) de nommer les fichiers judicieusement avant de les placer dans votre galerie.</p>
+  <p>Note: Chaque utilisateur (y compris l'administrateur) peut utiliser le controle de l'odre de tri sur les vignettes des albums pour remplacer manuellement l'ordre défini dans la configuration de Coppermine avec l'option "Trier mes images"; la dernière méthode de tri sera stockée localement dans un cookie chez le client.</p></li>
+  <li><b>Ajouts de fichiers en traitement par lot</b><br /><a href="#batch_add_pics">Ajouter par lot</a> dans la base de donnée de coppermine les fichiers téléchargés via le FTP.</li>
+  <li><a name="admin_tools"></a><b>Outils d'administration (redimenstionnement des images)</b><br />Collection d'utiliatires pour:
+        <dl>
+      <dt>Reconstruire ou redimentionner les images intermédiaires ou les vignettes.</dt>
+      <img src="pics/fr_util_re-size.gif" alt="" border="0" /><br /><p>Utilisez cette fonction si vous avez changé le paramètrage pour les images intermédiaires ou les vignettes dans la configuration, ou si vous avez remplacé une version corrompue.</p><p>Delectionnez le bouton radio pour cette action, puis choisissez de reconstruire les vignettes, les images intermédiaires, ou les deux.</p><p>Cette fonction utilise beaucoup de ressources serveur, si vous rencontrez des problèmes de 'timeout', essayez de traiter de plus petits lots d'images.</p>
+      <dt>Effacer les images originales (grande taille).</dt>
+      <dd><p>Utilisez cette fonction pour gagner de la place sur votre serveur.</p><p>Si cette option est sélectionnée, Coppermine vérifie si il existe une image intermédiaire, et si c'est le cas, efface l'image originale, puis renomme l'image intermédiaire. Si l'image intermédiaire n'existe pas, Coppermine laisse l'original en place.</p></dd>
+      <dt>Effacer les commentaires orphelins.</dt>
+      <dd>Parfois, si des images ont été effacées, certains commentaires associés restent dans la base de donnée.  Utilisez cette fonction pour les effacer entièrement de la base de donnée.</dd>
+      <dt>Renommer le titre des fichiers.</dt>
+      <dd>Utilisez cette fonction pour renommer l'intitulé de tous le fichiers dans les albums, en utilisant les informations du nom de fichier.</dd>
+      <dt>Effacer les titres des fichiers.</dt>
+      <dd>Utilisez cette fonction pour effacer les titres des fichiers d'un ou de plusieurs albums.</dd>
+      <dt>affichez le php info de votre serveur.</dt>
+      <dd>Si vous rencontrez des problèmes, c'est parfois à cause du parametrage de votre serveur.  Ciquer sur ce lien vous fournira toutes les indications sur le parametrage de votre Php et mySQL, ainsiq eu sur votre libarire GD (si elle est installée).  Cela peut être utilse à l'équipe de support, si vous n'êtes pas en mesure de résoudre vous même le problème.<br />Il n'est pas possible pour les visiteurs de votre site de visualiser ces informations, donc, si on vous le demande, faites un copier/coller des ces informaations sur le forum d'aide.</dd>
+      <dt>Lancez la mise à jour de la base de donnée (update.php).</dt>
+      <dd>Après une mise à jour, il est généralement necessaire de lancer update.php.  Cela peut être fait en entrant directement l'adresse dans votre navigateur, ou en cliquant sur ce lien.<a name="admin_tools_end"></a></dd>
+          </dl>
+  </li>
+  <li><b>Mon Profil</b><br />Modifiez votre propre profil utilisateur</li>
+</ul>
+<p>Il y avait un mode administrateur et un mode utilisateur pour les utilisateurs &quot;normaux&quot; dans les versions antérieures à  cpg1.4.x, qui a été suppimée car il était "embrouillant" pour des utilisateurs et n'a pas atteint son objectif.</p>
+<p>L'utilisateur enregistré a ces options:</p>
+<ul>
+  <li><b>Créer/Trier mes albums</b><br /> similaire au gestionnaire d'albums du mode administrateur, l'utilisateur peut créer des albums dans sa galerie utilisateur</li>
+  <li><b>Modifier mes albums</b><br />L'utilisateur peut modifierles titre  et la description de ses albums  (similaire à &quot;<a href="#album_prop">propriétés de l'album</a>&quot; pour l'administrateur, mais l'utilisateur ne peut pas déplacer ses albums vers d'autres catégories)</li>
+  <li><b>Mon profil</b><br />L'utilisateur peut modifier son profil (changer de mot de passe, sa localisation, ses centres d'intérêts, l'adresse de sont site et sa profession, voir son quota d'utilisation du disque). Si vous avez intégré Cpg avec un forum, le lien &quot;Mon profil&quot; vous dirigera vers la page des profils utilisateur du forum. </li>
+</ul>
+<p><a class="back" href="#top">Haut de page</a></p><hr />
+
+<a name="group_cp"></a><h2>4.3 Le panneau de gestion des groupes</h2>
+<p><img src="pics/fr_group_cp.gif"  border="1" alt=""/></p>
+<p>C'est là que vous pouvez définir ce que les membres des groupes peuvent ou ne peuvent pas faire.</p>
+<p>Le quota disque ne s'applique que pour les groupes où &quot;<i>Galerie pesrsonnelle</i>&quot; a été paramétré sur &quot;<b>Autorisé</b>&quot;. L'ensemble des fichiers téléchargés dans sa galerie personnelle par un utilisateur ainsi qu eles fichiers téléchargés dans les galeries publiques sont pris en compte dans ce quota.</p>
+<p>Utilisez le groupe <b>anonymous</b> pour déterminer ce que les utilisateurs non enregistrés peuvent ou ne peuvent pas faire. Quota et &quot;<i>Galerie personnelle</i>&quot; n'ont pas de sens pour les utilisateurs non enregistrés.</p>
+<a name="group_cp_permissions"></a>
+<p><i>Droits</i> contrôle ce que l'utilisateur est autorisé à faire dans la galerie (Voter/Envoyer des Cartes/Poster des commentaires).</p>
+<p>Rappelez vous que si un utilisateur est membre d'un groupe où &quot;<i>Voter</i>&quot;, &quot;<i>Commentairess</i>&quot; ou &quot;<i>Télécharger dans les albums publics</i>&quot; est parametré sur &quot;<i>OUI</i>&quot;, il n'aura le droit d'effectuer ces opérations que dans les albums ou cela est autorisé, Par exemple: télécharger des fichiers ne sera possible que dans des albums ou &quot;<i>Les visiteurs peuvent télécharger des fichiers</i>&quot; est parametré sur <i>OUI</i>.</p>
+<a name="group_cp_permissions_end"></a>
+<a name="group_cp_personal"></a>
+<p>Si &quot;<i>Galerie personnelle</i>&quot; est parametré sur <i>Autorisé</i>, le membre du groupe pourra avoir sa propre galerie dans la catégorie &quot;<i>User galleries</i>&quot; et dans laquelle il aura la possibilité de créer ses propres albums.</p>
+<p>Si &quot;<i>Approbation</i>&quot; est parametré à <i>NON</i>, les fichiers téléchargés par le membre du groupe dans les albums crées dans sa propre galerie n'ont pas besoin de l'approbation de l'administrateur. If &quot;<i>Approval</i>&quot; si parametré à <i>OUI</i>, l'utilisateur de ce groupe particulier pourra télécharger des fichiers, mais ceux ci ne pourront être vus qu'après approbation de l'administrateur.</p>
+<a name="group_cp_personal_end"></a>
+<p>Le panneau de contrôle des groupes vous permets de controler les possibilités de téléchargements de chaque groupe.</p>
+<a name="group_cp_upload_method"></a>
+<p><i>Methode de téléchargement</i> vous permets de sélectionner le type de téléchargement qu'un groupe peut utiliser. Quatres possibilités sont offertes.</p>
+<ul>
+<li><b>Téléchargement d'un seul fichier</b> - Le groupe ne peut pas utiliser les possibilités avancées de téléchargement. Ils ne peuvent télécharger qu'un seul fichier à la fois. Pour activer le mode de téléchargement d'un seul fichier, parametrez  <i>champs d'upload</i> sur &quot;1&quot;, <i>champs d'upload URI</i> sur &quot;0&quot; et <i>Nombres de champs</i> sur &quot;fixe&quot;</li>
+<li><b>Multiple téléchargements</b> - le groupe peut télécharger plusieurs fichiers en même temps. Pour activer le téléchargement multiple, mettez <i>champs d'upload</i> sur un nombre suppérieur à &quot;1&quot;, <i>champs d'upload URI</i> à &quot;0&quot; - libre à vous de laisser l'utilisateur fixer lui même le <i>Nombre de champs</i>, mais il est recommandé de le parametrer à &quot;fixe&quot; pour éviter une confusion.</li>
+<li><b>URI upload seulement</b> - Le groupe ne peut télécharger des fichiers qu'en utilisant les URIs. les URIs doivent commencer par 'http://' ou 'ftp://'. Pour activer  URI uploads seulement, mettez <i>Champs d'upload </i> to &quot;0&quot;, <i>Champs d'upload URI</i> to &quot;1&quot; ou plus.</li>
+<li><b>Fichiers-URI</b> - Le groupe peut utiliser les fichiers ou les URIs pour le téléchargement. Pour activer les deux options, mettez <i>Champs d'upload</i> sur &quot;1&quot; ou plus, <i>Champs d'upload URI</i> sur &quot;1&quot; ou plus</li>
+</ul>
+<p><i>Nombre de champs </i> sélectionné sur &quot;variable&quot; permet à l'utilisateur de choisir le nombre de champs d'upload pour un téléchargement. généralement, vous laisserez cette option sur &quot;fixe&quot;, du fait qu'il propose à l'utilisateur une étape supplémentaire dans l'assistant de téléchargement qui n'est pas obligatoirement necessaire.</p>
+<p><i>Champs d'upload</i> controle le nombre de champs d'upload présentés à l'utilisateur. Si l'utilisateur peut personnaliser le nombre de champs (<i>Nombre de chamsp </i> mis sur &quot;variable&quot;), ce parametrage donne le nombre maximum de champs que pourra choisir l'utilisateur. Sinon, ce parametrage détermine le nombre de champs d'upload apparents.</p>
+<p><i>Champs d'upload URI </i> propose le même type de contrôles que <i>Champs d'upload</i>, mais il controles l'affichage des champs de'ulpoad URI.</p>
+<a name="group_cp_upload_method_end"></a>
+<p><b>Notez bien</b>: pour une installation non bridgée (Coppermine autonome), le groupe "banned" n'a aucun effet. Un utilisateur qui est membre de ce groupe peut s'identifier et voir les images, il lui est seulement impossible de télécharger, voter, envoyer des cartes électroniques ou poster des commentaires. Si vous voullez faire un vrai bannissement pour certains utilisateurs, vous devrez utiliser la fonction "bannir un utilisateur" à la place (non relié avec le groupe "banned").</p>
+<a name="group_cp_end"></a>
+<p><a class="back" href="#top">Haut de page</a></p><hr />
+
+<a name="user_cp"></a><h2>4.4 Le panneau de gestion des utilisateurs</h2>
+<p>Le panneau de gestion des utilisateurs est accessible en cliquant sur le boutton "utilisateurs" du menu administrateur. C'est l'endroit ou vous pouvez créer et gérer les utilisateurs.</p>
+<p><span class="important">Si vous aves activé l'intégration (bridge) de Coppermine avec une autre application (votre forum par exemple), Coppermine utilisera la tables des membres de cette application, et donc, la gestion d'utilisateurs intégré à Coppermine sera désactivée en faveur de celle de l'application bridgée avec Coppermine.</span></p><p>Vous n'aurez donc pas cette page de gestion des utilisateurs; en cliquant sur le lien "utilisateurs" vous serez dirigé vers la page de gestion des utilisateurs de votre application bridgée avec Coppermine.</p>
+<img src="pics/fr_usermgr.gif"  border="0" alt="" title="page de gestion des utilisateurs" /><br />
+<a name="user_cp_page"></a><h3>4.4.1 Commandes de la page</h3>
+<ul>
+<li>Vous pouvez choisir l'ordre de tri sur l'affichage de la page  en cliquant sur les icônes en forme de flèche (<img src="../images/ascending.gif" width="9" height="9" border="0" alt="" title="croissant" /><img src="../images/descending.gif" width="9" height="9" border="0" alt="" title="décroissant" />) à côté de chaque entête de colonne ou en choississant l'ordre de tri dans le menu déroulant en haut à droite de la page.</li>
+<li>Si vous avez plus de 25 utilisateurs, des liens de navigation apparaitrons en bas à droite de la page, vous permettant d'acceder aux autres pages de la liste de vos membres</li>
+<li>Cliquer sur le nom d'utilisateur <b>affichera</b> la page de profil de l'utilisateur sélectionné (lercture seulement)</li>
+<li>L'icone d'édition (<img src="../images/edit.gif" width="16" height="16" border="0" alt="" title="édition" />) vous conduira vers la page de profil de l'utilisateur en mode <b>édition</b>  - vous pouvez modifier le mot de passe, l'adresse Email et d'autres parametrages concernant l'utilisateur ici</li>
+<li>Si l'utilisateur a téléchargé des fichiers, un lien "Téléchargements récents" sera visible à côté de son nom, permettant de visualiser les fichiers téléchargés par cet utilisateur en particulier</li>
+<li>La colonne groupe affiche le groupe initial dont l'utilisateur est membre</li>
+<li>La colonne "Enregistré le" montre la date ou l'inscription de cet utilisateur à eu lieu</li>
+<li>La colonne "dernière visite" affiche la date de la dernière connection de l'utilisateur. <br />Attention: si l'utilisateur à coché la case "Se souvenir de moi" sur la page d'identification, il n'aura pas besoin de s'identifier à chaque visite sur la galerie.</li>
+<li>La colonne "Fichiers" affiche combien de fichiers l'utilisateur à téléchargé pour l'instant (y compris ceux attendant l'approbation de l'administrateur)</li>
+<li>La colonne "Espace utilisé" affiche combien d'espace aloué à l'utilisateur est déjà utilisé. L'espace total alloué à l'utilisateur ("Quota d'espace") dépend des groupes d'utilisateurs - vous les parametrez dans le <a href="#group_cp">Gestionnaire de groupes</a>.</li>
+<li>Vous pouvez changer certains parametrages pour différents utilisateurs immédiatement en cochant la boite de sélection devant la ligne de l'utilisateur (utilisez la boite de sélection tout en haut de la page pour sélectionner/déselectionner tous les utilisateurs sur la page) et choisissez l'action à lancer depuis le menu déroulant "sélectionner" en bas à gauche de la page. Les actions possibles sont: "Effacer", "Désactiver", "Activer", "Changer le mot de passe", "Changer le groupe principal" et "Ajouter un groupe secondaire". L'utilisateur actuellement connecté (vous en tant qu'administrateur) n'a pas de boite de sélection devant sa ligne afin d'éviter un effacement accidentel de votre compte administrateur.</li>
+</ul>
+<a name="user_cp_page_end"></a>
+<a name="user_cp_search"></a><h3>4.4.2 Chercher un(des)utilisateur(s)</h3>
+<p>Vous pouvez utiliser les jokers <tt class="code">*</tt> (toutes les chaines) and <tt class="code">?</tt> (tout caractère simple) ou même <tt class="code">%expression%</tt>.<br />Exemple: une recherche sur <tt class="code">j*</tt> retournera les deux: <tt class="code">Jack</tt> et <tt class="code">Jill</tt></p>
+<a name="user_cp_search_end"></a>
+<a name="user_cp_new"></a><h3>4.4.3 Créer de nouveaux utilisateurs</h3>
+<p>Pour créer un nouvel utilisateur, cliquez simplement sur le bouton  "Créer un n ouvel utilisateur" au bas de la page et completez le formulaire qui apparaitra.</p>
+<a name="user_cp_new_end"></a>
+<a name="user_cp_end"></a>
+<p><a class="back" href="#top">Haut de page</a></p><hr />
+
+<a name="cat_cp"></a><h2>4.5 Le panneau de gestion des catégories</h2>
+<p><img src="pics/fr_category_cp.gif" border="1" alt="Gestion des catégories" /></p>
+<p>C'est la que vous pouvez éditer vos catégories.</p>
+<ul>
+<li>Le bouton <img src="pics/edit.gif" border="0" width="16" height="16" alt="" />
+vous permets de modifier le titre, la description et la catégorie parents d'une catégorie existante.</li>
+<li>Le bouton <img src="pics/delete.gif" width="16" height="16" alt="" />
+vous permets d'effacer une catégorie. Effacer une catégorie n'efface pas les albums et les fichiers contenus. Ils sont simplement déplacés dans la catégorie &quot;Racine&quot;.</li>
+<li>Les boutons <img src="pics/up.gif" width="16" height="16" alt="" /> et <img
+src="pics/down.gif" width="16" height="16" alt="" /> permettent de changer l'ordre des catégories.</li>
+<li>La liste déroulante &quot;<b>Déplacer dans</b>&quot; vous permets de changer la catégorie parente d'une catégorie spécifique. </li></ul>
+<p>&quot;<b>User galleries</b>&quot; est une catégorie spéciale. Elle n'est pas visible sauf si certains utilisateurs ont créer leur propre galerie. Elle ne peut pas être effacée mais vous pouvez modifier son titre et sa description en utilisant le bouton <img src="pics/edit.gif" width="16" height="16" alt="" /> . </p>
+<p>Vous pouvez spécifier à Coppermine de trier toutes les catégories par ordre alphabétique (au lieu d'un ordre personnalisé) en parametrant &quot;Classement des catégories par ordre alphabétique&quot; sur &quot;OUI&quot;. Ce parametrage est disponible dans la page de configuration de Coppermine et dans le gestionnaire de catégories. Si vous activez le classement par ordre alphabétique, les flèches "hau" et "bas" qui vous permettent normalement de déplacer les catégories ne sont plus affichées.</p>
+<p><a class="back" href="#top">Haut de page</a></p><hr />
+
+<a name="albmgr"></a><h2>4.6 Le gestionnaire d'Albums</h2>
+<p><img src="pics/fr_albmgr.gif"  border="0" alt="" title="Gestionnaire d'album" /></p>
+<p>Coppermine stocke les fichiers dans des albums, vous avez donc besoin d'au moins un album pour y placer vos fichiers/photos. Les albums peuvent être regroupés dans des catégories (mais vous n'avez pas <i>besoin</i> de catégorie, ils peuvent aussi être placés à la &quot;racine&quot; de Coppermine).</p>
+<p>Lorsque cous cliquez sur &quot;Albums&quot; dans le menu Administrateur, vous accédez au <i>gestionnaire d'album</i>.</p>
+<h3><a name="albmgr_create"></a>4.6.1 Créer des albums</h3>
+<ul>
+<li><b>Choisissez depuis la liste déroulante</b> &quot;Sélectionner une catégorie category&quot; la catégorie dans laquelle placer l'album (ou choisissez &quot;* Pas de Catégorie *&quot; si l'album doit être placé à la &quot;racine&quot; de Coppermine). Si vous n'avez pas encore crée de catégorie, allez au <a href="#cat_cp">panneau de gestion des catégories</a> d'abord, mais vous pouvez déplacer par la suite l'album en utilisant la page <a href="#album_prop">propriétés de l'album</a>.</li>
+<li><b>Cliquez sur le bouton &quot;Nouveau&quot;</b> - votre nouvel album apparaitdans la listet, avec par défaut le nom &quot;Nouvel album&quot;</li>
+<li><b>Cliquez sur le champ texte au bas de l'écran</b>, sélectionnez le nom par défaut &quot;Nouvel Album&quot;</li>
+<li><b>Entrez le nom que vous voulez lui donner</b></li>
+<li>(répetez les étapes  2 à 4 pour ajouter plus d'un album)</li>
+<li><b>Cliquez sur &quot;Appliquer les modifications&quot;</b> pour soumettre vos changements à la base de donnée (si vous ne le faites pas, toutes vos modifications seront perdues)</li>
+<li><b>Confirmer en cliquant sur &quot;OK&quot; dans la fenêtre d'alerte</b> (<i>Etes vous sur de vouloir faire ces modifications ?</i>)</li>
+</ul>
+<h3><a name="albmgr_rename"></a>4.6.2 Renommer les albums</h3>
+<ul>
+<li><b>Choisissez une catégorie dans la liste déroulante</b></li>
+<li><b>Cliquez sur l'album à modifier</b></li>
+<li><b>Cliquez sur le champ teste au bas de l'écran</b>, sélectionnez le nom de l'album</li>
+<li><b>Entrez le nouveau nom de l'album</b></li>
+<li><b>Cliquez sur &quot;Appliquer les modifications&quot;</b></li>
+<li><b>Confirmer en cliquant sur &quot;OK&quot; dans la fenêtre d'alerte</b> (<i>Etes vous sur de vouloir faire ces modifications ?</i>)</li>
+</ul>
+<h3><a name="albmgr_order"></a>4.6.3 Changer l'ordre des albums</h3>
+<ul>
+<li><b>Choisissez une catégorie dans la liste déroulante</b></li>
+<li><b>Cliquez sur l'album que vous voulez monter ou descendre dans la liste</b></li>
+<li><b>Utilisez les flèches pour déplacer l'album vers le haut<img src="../images/move_up.gif" width="26" height="21" border="0" alt="" title="monter" /> ou vers le bas <img src="../images/move_down.gif" width="26" height="21" border="0" alt="" title="descendre" /></b></li>
+<li><b>Cliquez sur &quot;Appliquer les modifications&quot;</b></li>
+<li><b>Confirmer en cliquant sur &quot;OK&quot; dans la fenêtre d'alerte</b> (<i>Etes vous sur de vouloir faire ces modifications ?</i>)</li>
+</ul>
+<h3><a name="albmgr_delete"></a>4.3.4 Effacer des albums</h3>
+<ul>
+<li><b>Choisissez une catégorie dans la liste déroulante</b></li>
+<li><b>Cliquez sur l'album que vous voulez effacer</b></li>
+<li><b>Cliquez sur le bouton &quot;Supprimer&quot; </b></li>
+<li><b>Confirmee en cliquant sur &quot;OK&quot; dans la fenêtre d'alerte</b> (<i>Etes vous sur de vouloir effacer cet album ? Tous les fichier et commentaires qu'il contenait seront perdus !</i>)</li>
+<li><b>Cliquez sur &quot;Appliquer les modifications&quot;</b></li>
+<li><b>Confirmer en cliquant sur &quot;OK&quot; dans la fenêtre d'alerte</b> (<i>Etes vous sur de vouloir faire ces modifications ?</i>)</li>
+</ul>
+<a name="albmgr_end"></a>
+<p><a class="back" href="#top">Haut de page</a></p><hr />
+
+<h2>4.7 Modifier les albums/fichiers<a name="modif_alb_pics"></a></h2>
+<p>Si vous êtes en mode administrateur, un menu est affiché à côté de chaque album</p>
+<p></p>
+<p><img src="pics/fr_album_menu.gif" border="1" alt="" /></p>
+<p><b>Supprimer</b> permets de supprimer l'album ainsi que tous les fichiers qu'il contient.</p>
+<p><b><a href="#album_prop">Propriétés</a></b> vous permets de modifier le nom, la description et les droitsde l'album</p>
+<p><b><a href="#edit_pics">Modifier les photos</a></b> vous permets de modofoer les titres/légendes/mots-clés etc... des fichiers dans l'album</p>
+<p><a class="back" href="#top">Haut de page</a></p><hr />
+
+<a name="album_prop"></a><h2>4.8 Propriétés de l'album</h2>
+<p><img src="pics/fr_edit_album.gif" border="0" alt="" /></p>
+<p>La liste déroulante "Catégorie de l'album"  vous permets de déplacer l'album entre les catégories. Si vous le mettez sur &quot;* Pas de catégorie *&quot; l'album apparaitra sur votre page principale.</p>
+<p>Utilisez les <a href="#bbcode">bbcode</a> pour ajouter des liens ou pour formater la description.</p>
+<p>La vignette est l'image qui représentera cet album dans la liste des albums.</p>
+<p>Si vous avez parametré  &quot;Les utilisateurs peuvent avoir des albums privés&quot; sur OUI dans la <a href="#admin">page de configuration</a>, vous pouvez définir qui peut voir les fichiers de cet album.</p>
+<p>Si &quot;les visiteurs peuvent mettre des photos en ligne&quot; est parametré sur OUI, il est possible de télécharger des fichiers dans cet album.</p>
+<a name="album_prop_visitor_start"></a>
+<p><b>Attention: Un visiteur peut avoir le droit de télécharger des fichiers dans cet album ou cette option est parametrée sur OUI uniquement si il est membre d'un groupe où &quot;peut télécharger des images&quot; est parametré sur OUI.</b> Les utilisateurs non enregistrés sont membres du groupe &quot;Anonymous&quot;.</p>
+<p>Les mêmes règles s'appliquent pour &quot;Les visiteurs peuvent poster des commentaires&quot; et &quot;les visiteurs peuvent noter ce fichier&quot;.</p>
+<a name="album_prop_visitor_end"></a>
+<a name="album_prop_keyword_start"></a>
+<p>Le <b>Mot-clé de l'album</b> n'est <i>pas</i> utilisé dans un but de recherche, mais pour afficher des images d'autres albums dans celui-ci. En utilisant cette métode, les fichiers/images peuvent être dans plusieurs albums alors qu le fichier lui même nexiste qu'une seule fois sur votre serveur: vous téléchargez le fichier dans un album et lui assignez un ou plusieurs mots-clé. Puis allez dans les propriétés de l'autre album et ajoutez les mots-clé assignés au fichier dans le champ  &quot;mots clé de l'album&quot; du deuxième album. Pour le visiteur de cet album, ce sera comme si les fichiers/images étaien présents dans les deux albums. </p>
+<a name="album_prop_keyword_end"></a>
+<a name="album_prop_password_start"></a>
+<p><b>Mot de passe de l'album</b>: vous pouvez proteger l'accès à un album par mot de passe (au lieu de se baser sur les droits "normaux" des groupes). Par ce moyen, vous pouvez permettre l'accès à des utilisateurs non enregistrés (invités) qui connaissent le mot de passe. Utilisez cette option pour paramêtre un album pour les membres de votre famille en déterminant un mot de passe qu'eux seuls peuvent connaître grace à une question pense bête suggérant la réponse  (par exemple "<i>Quel est le nom de jeune fille de tante Ursule?</i>"), ou vous pouvez décider d'envoyer le mot de passe particulier par Email uniquement à vos amis. La question opptionnelle <b>pense bête</b> est affichée à côté du champ demandant le mot de passe, si elle est définie.<br />
+Attention: en définissant un mot de passe pour un album, le champ de la liste déroulante "<i>L'album peut être vu par</i>" sera placé automatiquement sur "<i>seulement moi</i>" - C'est le comportement normal. Si vous changez  "<i>l'album peut être vu par</i>" par quelque chose d'autre, vous devrez bien sur désactiver le mot de passe de l'album.</p>
+<a name="album_prop_password_end"></a>
+
+<a name="album_prop_reset_start"></a>
+<h3>4.8.1 Réinitialisation des propriétés de l'album</h3>
+<img src="pics/fr_modifyalb_reset.gif"  border="0" alt="" />
+<p>Vous pouvez réinitialiser le compteur de vue et de votes dans l'album et même effacer toutes les images en même temps, dans la sous-section &quot;Réinitialiser l'album&quot; en cochant les options et en soumettant le formulaire. Pour éviter les réinitialisations accidentelles, vous devez d'abord cocher l'option &quot;Je suis sur&quot; avant de pouvoir soumettre les changements (Le bouton est grisé si vous ne le faites pas).</p>
+<p>Utilisez cette option avec prudence: La suppression de fichiers est irreversible, de même que les compteurs de vue et de votes (vous pouvez uniquement restaurer le compteur de vues et de notes manuellement en éditant les entrées de la base de donnée de Coppermine avec un outil extérieur tel que <a href="http://www.phpmyadmin.net/" class="external" rel="external">phpMyAdmin</a> - non recommandé).</p>
+<a name="album_prop_reset_end"></a>
+<a name="album_prop_end"></a>
+<p><a class="back" href="#top">Haut de page</a></p><hr />
+
+<a name="edit_pics"></a><h2>4.9 Edition des fichiers</h2>
+<p><img src="pics/fr_edit_picture.gif" border="0" alt="" /></p>
+<p>C'est là que vous pouvez modifier le titre, la description, les mots clé et les champs personnalisés(si ils sont utilisés) d'un fichier.</p>
+<p>Utilisez le menu déroulant pour déplacer le fichier vers un autre album.</p>
+<p><a class="back" href="#top">Haut de page</a></p><hr />
+
+<h3>4.9.1 Editing videos<a name="edit_vids"></a></h3>
+<p><img src="pics/edit_video.gif" border="0" alt="" /></p>
+<p>C'est là que vous pouvez modifier le titre, la description, les mots clé et les champs personnalisés(si ils sont utilisés) d'un fichier.</p>
+<p>Utilisez le menu déroulant pour déplacer le fichier vers un autre album.</p>
+<p>Utilisez les champs hauteur et largeur pour parametrer la taille des vidéeos.</p>
+<p>La mise en ligne de vidéeos est possible depuis cpg1.3.0 (ou suppérieur) et comme ajout pout cpg1.2.1 sous forme de modification.</p>
+<p class="small">[cpg 1.3.0 ou supérieur requis]</p>
+<p><a class="back" href="#top">Haut de page</a></p><hr />
+
+<h3>4.9.2 Vignettes personnalisées<a name="cust_thmb"></a></h3>
+<p><img src="pics/cust_thmb.gif" border="1" alt="" /></p>
+<p><b>Orde des vignettes:</b><br />
+<b class="important">Les vignettes sont sélectionnées par niveau (défini par l'utilisateur, définies par le thème, global) puis par type (Type de fichier, extention de fichier, type de média) dans l'ordre.</b> Les vignettes définies par l'utilisateur sont stockées dans le répertoire ou se trouve le fichier. Les vignettes définies par le thème sont stockées dans le répertoire 'images' du thème. Les vignettes globales sont stockées dans le répertoire 'images' de la racine de Coppermine. <b class="important">les vignettes peuvent être soit des 'gif', 'png', ou 'jpg'.</b></p>
+<p><b>Types de vignettes:</b><br />
+<b class="important">Les vignettes spécifiques à un fichier doivent avoir le même nom de base que le fichier.</b> dans l'exemple utilisé dans la capture d'écran, la vignettes pourrait être 'thumb_<b>thailand_waterfall</b>.gif', 'thumb_<b>thailand_waterfall</b>.png', ou 'thumb_<b>thailand_waterfall</b>.jpg', dans cet ordre.</p>
+<p><b class="important">Les vignettes spécifiques à une extention de fichier sont nommées après l'extention du fichier.</b> (Exemples: 'thumb_wmv.jpg', 'thumb_wav.jpg'.)</p>
+<p><b class="important">Les vignettes spécifiques à un type de média sont 'thumb_movie', 'thumb_document', and 'thumb_audio'.</b> Les photos utilisent par défaut les vignettes spécifiques au fichier.</p>
+<p><b>Mise en ligne:</b><br />
+Il y a 2 manières de mettre en ligne les vignettes personnalisées:</p>
+<p>1. Ayez une image déjà en ligne puis téléchargez une vidéo via la page de téléchargement. (ou vice versa) La vidéo partagera la vignette de l'image.<br />
+</p><br /><br />
+<p><img src="pics/cust_thmb_3.gif" border="1" alt="" /></p>
+<p>2. Téléchargez par FTP les deux: vidéo et vignette/image puis mettez les en ligne par lot. Si vous téléchargez par FTP la vignette, elle sera montrée à la place de celle par défaut de Coppermine dans la page de traitement par lot. Si vous téléchargez une image, elle aura l'air d'une capture d'écran. De même, si les deux fichiers sont ajoutés, la vignette de l'imagesera utilisée par la vidée.</p>
+<br /><br />
+<p><img src="pics/cust_thmb_final.gif" border="1" alt="" /></p>
+<p>Résultat final.</p>
+<p>Attention: Si la methode 1 est utilisée et l'image effacée, la vignette sera elle aussi effacée, et la vignette par défaut de Coppermine sera utilisée.<br />
+Si une vidéo a été précédemment mise en ligne via le FTP, la vignette doit être téléchargée par le FTP dans le même répertoire.</p>
+<p>La mise en ligne de vidéeos est possible depuis cpg1.3.0 (ou suppérieur) et comme ajout pout cpg1.2.1 sous forme de modification. Les vignettes personnalisée ne sont pas supportées par les versions antérieures à 1.3.0. <b class="important"> En suivant ces instructions, une vignette personnalisée peut être définie pour ous les fichiers, pas uniquement pour les vidéos.</b>
+</p>
+<p><b>FAQS:</b></p>
+<ul>
+<li><b>Quote</b><br /><div class="quote">J'ai une vidéo nommée <b>'movie.wmv'</b>, quand je télécharge une vignette pour elle nommée <b>'thumb_movie.jpg'</b> elle remplace plusieurs vidéos!!!!</div>
+Oulà!!!. <b>'thumb_movie.jpg'</b> est une vignette spécifique à un type de média. Renommez la vidéo et sa vignette autrement que juste <b>'movie'</b>.</li>
+<li><b>Quote</b><br /><div class="quote">Je ne trouve pas les répertoires de mes utilisateurs!</div>
+Depuis Coppermine, recherchez l'album utilisateur. Regardez l'adresse de la page dans la barre d'adresse de votre navigateur et vousverrez le nom du répertoire. (Voyez la capture d'écran pour l'exemple.)<br />
+<img src="pics/user_folder_link.gif" alt=""/><br />
+Vos utilisateurs peuvent télécharger leurs propres vignettes en utilisant cette astuce: Créez un album. Changez les droits afin que personne d'autre que luine puisse le voir. Puis téléchargez les images grandeur réelle des vignettes dans ce répertoire. Les fichiers hors de cet album sont en mesure d'utiliser les vignettes de ces images. (Regardez plus haut pour le nom.)</li>
+<li><b>Quote</b><br /><div class="quote">Comment puis-je faire pour empêcher mes utilisateurs de créer leurs propres vignettes ?</div>
+Pour l'instant, vous ne pouvez pas.</li>
+</ul>
+<p class="small">[cpg 1.3.0 ou supérieur requis]</p>
+<a name="edit_pics_end"></a>
+<p><a class="back" href="#top">Haut de page</a></p><hr />
+
+
+<a name="bbcode"></a>
+<h2>4.10 Utilisation des "bbcode" pour inserer des liens et pour formater les textes des descriptions</h2>
+<p>Coppermine peut utiliser les bbCodes suivants (les mêmessbbCodes sont utilisées par phpBB ainsiq eu d'autres applications de type forums) dans les descriptions d'images ou d'albums</p>
+<ul>
+  <li><tt class="code">[b]Gras[/b]</tt> =&gt; <b>Gras</b></li>
+  <li><tt class="code">[i]Italique[/i]</tt> =&gt; <i>Italique</i></li>
+  <li><s><tt class="code">[url=http://votresite.com/]Texte du lien[/url]</tt> =&gt; <a href="http://votresite.com">Texte du lien</a></s> (cpg1.4.21)</li>
+  <li><tt class="code">[email]utilisateur@votrehebergeur.com[/email]</tt> =&gt; <a href="mailto:utilisateur@votrehebergeur.com">utilisateur@votrehebergeur.com</a></li>
+  <li><tt class="code">[color=red]du texte[/color]</tt> =&gt; <span style="color:red">du texte</span></li>
+  <li><s><tt class="code">[img]http://coppermine.sf.net/demo/images/red.gif[/img]</tt> => <img src="../images/red.gif" border="0" alt="" /></s> (cpg1.4.21)</li>
+</ul>
+<a name="bbcode_end"></a>
+<p><a class="back" href="#top">Haut de page</a></p><hr />
+
+<a name="ftp"></a><a name="batch_add_pics"></a>
+<h2>4.11 Téléchargement des fichiers par FTP / Ajout d'images par lot</h2>
+<p>Il est recommandé aux administrateurs de galeries Coppermine d'utiliser le FTP pour mettre en ligne beaucoups d'images en une seule fois. Utilisez votre logiciel FTP pour créer des sous-répertoires dans <i>votre_repertoirecoppermine/albums/</i>, ou les téléchargements par FTP pourront être placés. C'est une bonne idée d'avoir une structure de répertoires dans le répertoire <i>albums</i> reflettant la structure de vos catégories et de vos albums dans la galerie Coppemrine, mais ce n'est pas obligatoire.</p><p><span class="important">Important</span>: do not create folders or upload to the <i>userpics</i>- nor the <i>edit</i>-folder by ftp: these folders are used by coppermine internally and mustn't be used for any other purpose! Folder names mustn't contain dots and it's even recommended not to use any special chars - only use a-z, numbers and maybe <tt class="code">-</tt> or <tt class="code">_</tt>. Make sure to upload in binary or auto-mode.</p>
+<p>Après avoir téléchargé vos photos par FTP, cliquez sur le bouton FTP du menu administrateur. L'ajout par lot se fera en trois étapes:</p>
+<ul>
+<li>Trouvez le répertoire dans lequel vous avez téléchargé vos photos. Selectionnez le en cliquant dessus.
+<br /><img src="pics/fr_searchnew_1.gif" border="0" alt="" /><a name="ftp_select_dir_end"></a></li>
+<li><a name="ftp_select_file"></a>Sélectionnez les photos que vous voulez mettre en ligne (en cochant la case à côté d'elles, les nouvelles images sont pré-sélectionnées, celles qui sont déjà dans la base de donnée de Coppermine ne le sont pas) et l'album dans lequel vous voullez les insérer. Cliquez sur &quot;Placer les images sélectionnées&quot; pour commencer le traitement par lot.<br />
+<img src="pics/fr_searchnew_2.gif" border="0" alt="" /><a name="ftp_select_file_end"></a></li>
+<li><a name="ftp_show_result"></a>Coppermine va afficher le résulta du traitement d'ajout par lot(patientez un peu avant que tous les résultats soient affichés).<br />
+Si les 'signes' OK, DP, PB n'apparaissent pas cliquez sur le lien cassé pour voir les messages d'erreur de PHP.<br />
+Si vous rencontrez un problème de 'timeout', rechargez la page depuis votre navigateur.
+<ul>
+<li>OK : signifie que le fichier a été placé avec succès</li>
+<li>DP : signifie que le fichier est un double et est déjà placé dans la base de donnée</li>
+<li>PB : signifie que le fichier n'a pas pu être ajouté, vérifiez votre configuration et les droits des répertoires ou les fichiers sont placés</li>
+<li>NA : signifie que vous n'avez pas sélectionné d'album où placer les fichiers, retournez en arrière et sélectionnez un album. Si vou sn'avez pas d'album, créez en un d'abord</li>
+</ul>
+<a name="ftp_show_result_end"></a>
+</li>
+</ul>
+<p>Donner l'accès FTP à d'autres utilisateurs est un sérieux danger pour la sécurité, c'est&Acirc;&sup2;la raison pour laquelle le traitement d'ajout par lots est uniquement possible pour l'administrateur de la galerie Coppermine.</p>
+<p>Une fois que les fichiers ont été ajoutés dans la base de donnée de Coppermine, assurez vous de ne pas les renommer ou les effacer par le FTP - utilisez plutôt le menu administrateur de coppermine pour supprimer des fichiers, par ce biais, ils seront supprimés à la fois de la base de donnée <b>et</b> du système de fichiers.</p>
+<a name="ftp_end"></a>
+<p><a class="back" href="#top">Haut de page</a></p><hr />
+
+<h2>4.12 Page de configuration de la galerie<a name="admin"></a></h2>
+<p>C'est l'emplacement où vous pourrez configurer la plus grande part de votre galerie Coppemine. Certains paramètres ont un impact sur les fichiers que vous avez mise en ligne - changer ces options si vous avez déjà un grand nombre de fichiers en ligne peut être problématique, c'est pourquoi vous devriez réfléchir à ces paramétrages juste aprè sl'installation de votre galerie Coppermine, avant que vous ne mettiez en lignes des images ou que vous ne montriez votre galerie au public.</p>
+<a name="admin_general"></a>
+<h3>4.12.1 Paramètres généraux</h3>
+<a name="admin_general_name"></a><h4>Nom de la galerie</h4>
+<p>Il s'agit du nom de votre galerie. Il apparaitra dans le titre de vos pages et est affiché dans certains gabarits.</p>
+<a name="admin_general_name_end"></a>
+<a name="admin_general_description"></a><h4>Description de la galerie</h4>
+<p>C'est une courte description de votre galerie. Cette description est montrée dans certains thèmes à côté du nom de votre galerie.</p>
+<a name="admin_general_description_end"></a>
+<a name="admin_general_email"></a><h4>Courriel de l'administrateur de la galerie</h4>
+<p>Tous les courriels envoyés par la galerie sont envoyés à cette adresse. Vérifiez que vous avez bien entré une adresse valide.</p>
+<a name="admin_general_email_end"></a>
+<a name="admin_general_coppermine-url"></a><h4>URL du répertoire de votre galerie Coppermine</h4>
+<p>C'est l'adresse URL vers laquelle sera dirigé le visiteur qui clique sur le lien &quot;Voir plus de photos&quot; sur une carte postale électronique. Ce <i>doit</i> être l'adresse URL de votre galerie (juste le chemin vers votre répertoire Coppermine, par exemple: <i>http://votresite.com/coppermine/</i>). Ne précisez pas de fichier précis (comme index.php) dans ce champ.</p><p>Dans les versions antérieures de coppermine, ce champ était appelé &quot;adresse cible pour le lien 'Voir plus de Photos' des cartes électroniques&quot;, mais depuis que cette URL est utilisée ailleur par Coppermine, son nom a changé.</p>
+<a name="admin_general_coppermine-url_end"></a>
+<a name="admin_general_home-url"></a><h4>URL de votre page d'accueil</h4>
+<p>C'est l'adresse URL vers laquelle le visiteur sera dirigé lorsqu'il cliqueras sur le bouton &quot;Accueil&quot; du menu principal.</p>
+<p>Vous pouvez utiliser &quot;/&quot; pour la racine de votre site, &quot;index.php&quot; pour votre galerie, ou toute adresse URL valide.</p>
+<p class="small">[cpg1.4.0 ou supérieur requis]</p>
+<a name="admin_general_home-url_end"></a>
+<a name="admin_general_zip-download"></a><h4>Permettre le téléchargement-ZIP des favorits</h4>
+<p>Si cette option est activée, l'utilisateur peut télécharger un fichier ZIP contenant les fichiers qu'il a placé dans la page &quot;Mes favorits&quot;. Cette otpion requière que la librairie zlib soit instéllée sur votre serveur (lancez <a href="http://www.php.net/phpinfo" class="external">phpinfo</a> pour vérifier si cette librairie existe sur votre serveur).</p>
+<p class="small">[cpg1.3.0 ou supérieur requis]</p>
+<a name="admin_general_zip-download_end"></a>
+<a name="admin_general_time-offset"></a><h4>Différence d'heure par rapport à l'heure GMT</h4>
+<p>Spécifiez la différence entre votre heure locale et l'heure de la zone ou se situe votre serveur. Cette valeur est utilisée pour corriger le cachet d'heure dans les cartes éléctroniques et à d'autres endroits.</p>
+<p class="small">[cpg1.4.0 ou supérieur requis]</p>
+<a name="admin_general_time-offset_end"></a>
+<a name="admin_general_encrypt_password_start"></a><h4>Autoriser les mots de passe cryptés</h4>
+<p>Cette option est uniquement valable si les mots de passe utilisateurs sont stockés en textes entiers dans la base de donnée (habituellement c'est le cas si vous mettez a jour depuis une ancienne version de Coppermine qui n'avait pas cette option). Cela va crypter tous les mots de passe dans la base de donné, et tous les futurs mots de passe seront stockés cryptés eux aussi. Ce processus est irréversible: une fois que le cryptage est en place, il est impossible de le désactiver, utilisez cette option en connaisance de cause.</p>
+<p>Cette option augmente la sécurité de Coppermine, mais il y a un inconvénient à cette methode: même l'administrateur ne peut pas retrouver un mot de passe perdu pour un utilisateur (ou le sien), le mot de passe peut seulement être réinitialiser à une autre valeur, mais l'administrateur ne peut pas lire l'actuel mot de passe d'un utilisateur.</p>
+<p class="small">[cpg1.4.0 ou supérieur requis]</p>
+<a name="admin_general_encrypt_password_end"></a>
+<a name="admin_general_help"></a><h4>Activer les icônes d'aide</h4>
+<p>Active l'affichage des icônes d'aide dans divers endroits des pages d'administration de Coppermine. Si vous activez cette option, assurez vous d'avoir téléchargé le répertoire "docs" dans le répertoire Coppermine sur votre serveur Web.</p>
+<p>Si vous choissisez ce parametrage sur &quot;Oui: Tout le monde&quot;, les utilisateurs enregistrés pourront voir les icônes d'aide à certains endroitsl, par exemple lors de la création d'une galerie utilisateur.</p>
+<p>Comme le texte d'aide est basé sur la documentation livrée avec Coppermine, elle est disponible en Anglais (et ici en Français, peut être dans d'autres langues). Si la langue manternelle de vos visiteurs n'est pas la même que celle de la documentation que vous avez placé sur votre serveur, il est conseillé de mettre cette option sur &quot;OUI: Uniquement l'administrateur&quot; afin d'éviter les confusions chez vos visiteurs.</p>
+<p>Il est fortement déconsséillé de désactiver totalement les icônes d'aide: même si vous pensez savoir tout ce qui se passe dans votre galerie Coppermine, Les icônes d'aides peuvent vous donnez des indications sur les actions d'une option spécifique.</p>
+<p class="small">[cpg1.4.0 ou supérieur requis]</p>
+<a name="admin_general_help_end"></a>
+<a name="admin_general_keywords_start"></a><h4>Activer les mots-clé cliquables dans la recherche</h4>
+<p>Lorsque cetteoption est activée, une liste de tous les mots clé entrés dans la  page &quot;<a href="#edit_pics">Editer les fichiers</a>&quot; sera affichée au bas de la page de recherche, chaque mot clé  etant cliquable. L'activation de cette option est recommandée si vou sn'avez pas un trop grand nombre de mots clé (par exemple moins de 100) - celà donnera aux visiteurs une idée des recherches qu'il peut faire (en complément de la recherche depuis une phrase). Notez que l'activation de cette option pour une grande liste de mots clé (par exemple plusieurs centaines) va ralentir la page de recherche et risque d'embrouiller l'utilisateur débutant.</p>
+<p class="small">[cpg1.4.0 ou supérieur requis]</p>
+<a name="admin_general_keywords_end"></a>
+<a name="admin_general_enable-plugins"></a><h4>Activer les plugins</h4>
+<p>Activer les plugins. Cette fonction est toute neuve, il n'y a pas encore de documentation pour cette fonction.</p>
+<p class="small">[cpg1.4.0 ou supérieur requis]</p>
+<a name="admin_general_enable-plugins_end"></a>
+
+<a name="admin_general_private-ip"></a><h4> Autoriser le bannissement d'adresse IP non routable (privé)</h4>
+<p>Habituellement, la plupart des utilisateurs de l'internet ont une adresse IP dynamique qui leur est assignée par leur fournisseur d'accès au moment de la connection. Cette adresse IP change à chaque fois que l'utilisateur se connecte à l'internet, mais, pendant une session internet, cette adresse IP est &quot;visible&quot; par les sites web sur lesquels l'utilisateur surfe. Dans l'étendue de tous les adresse IP (0.0.0.0 à 255.255.255.255), certaines plages sont réservées dans un but précis (essentiellement pour une utilisation en réseaux privés). La fonction de banissement n'accepte pas les adresses IP provenant de cette plage d'adresses privées (exemple: 192.168.0.1) afin d'éviter à des administrateurs de galeries Coppermine innexpérimentés de bannir des adresses IP de leurs propres réseaux. Si vous utilisez actuellement  Coppermine sur votre LAN/WAN utilisant des adresse IP privées (par exemple l'intranet de votre entreprise) et que vous souhaitiez pouvoir bannir des utilisateurs, basculez cette option sur &quot;OUI&quot;. Si vous utilisez coppermine depuis un serveur web sur l'internet(par exemple si vous avez un hébergeur), vous devriez placer cette option sur &quot;Non&quot;.<br />
+Si vous n'utilisez pas le système de banissement, vou spouvez sans risque ignorer ce parametrage.</p>
+<p class="small">[cpg1.4.0 ou supérieur requis]</p>
+<a name="admin_general_private-ip_end"></a>
+
+<a name="admin_general_browsable_batch_add"></a><h4> Interface de téléchargement par lot</h4>
+<p>Pour <a href="#batch_add_pics">mettre en ligne par lot</a> des fichiers (Que vous avez placés par <acronym title="File Transfer Protocol">FTP</acronym> avant) dans votre galerie, vous devez choisir entre l'option d'une liste à parcourir, ou vous pourrez explorer la structure de votre répertoire <tt class="code">albums</tt>, et d'afficher la structure complête de vos répertoires. Activez cette option si vous avez une structure complexe de répertoires et sous répertoires que vous voulez explorer (Votre navigateur doit être capable d'afficher les <a href="http://www.w3schools.com/tags/tag_iframe.asp" class="external" rel="external">iframes</a>). Parametrez cette option sur &quot;Non&quot; (désacticé) si vous voulez utiliser l'interface &quot;classique&quot; de coppermine qui montre en une fois l'ensemble de la structure.<br />
+Vous pouvez aussi basculer cette option sur la page de <a href="#batch_add_pics">Téléchargement par lot</a> .</p>
+<p class="small">[cpg1.4.0 ou supérieur requis]</p>
+<a name="admin_general_browsable_batch_add_end"></a>
+<p><a class="back" href="#top">Haut de page</a></p><hr />
+
+<a name="admin_language"></a>
+<h3>4.12.2 Langue et jeu de caractères</h3>
+<p><img src="pics/fr_config_language.gif"  border="1" alt="parametrage de la langue" /></p>
+<a name="admin_language_language"></a><h4>Langue</h4>
+<p>C'est la langue par défaut de votre galerie. Tous les fichiers langues sont stockés dans le répertoire <b>lang</b> sur votre serveur.</p>
+<p>Les fichiers langues avec un suffixe "<b>-utf8</b>" sont des fichiers unicode . Si vous sélectionnez un fichier -utf8 comme language par défaut et que vous parametrez "encodage des caractères " sur "Unicode (utf-8)" le script détectera automatiquement la langue préférée du visiteur en se basant sur la configuration de son navigateur. Si le language correspondant existe, il sera utilisé sinon, c'est le language par défaut qui sera utilisé.</p>
+<p>Si le script détecte automatiquement la langue préférée du visiteur, il stocke ce résultat dans un cookie dans l'ordinateur du visiteur. pour réinitialiser ce cookie (et pour forcer le script à faire une nouvelle auto détection) appelez le avec quelque chose comme: <a href="#">http://votresite.com/coppermine_dir/index.php?lang=xxx</a></p>
+<p>Si vous aviez déjà ajouté des commentaires ou des fichiers dans votre galerie, vous ne devriez pas changer le jeu de caractères de votre galerie. Si vou sle faites, les caractères  non-ASCII risquent de ne pas s'afficher correctement.</p>
+<a name="admin_language_language_end"></a>
+<a name="admin_language_fallback"></a><h4>Remplacement par l'Anglais si la traduction de la phrase n'est pas trouvée ?</h4>
+<p>Activez cette option si vous utilisez une langue différente de l'anglais. Si certaines phrases n'existent pas dans votre fichier langage, coppermine affichera la phrase en anglais à la place.</p><p>Cette fonction a été introduite afin de permettre l'utilisation d'anciens fichiers langage, Pendant le développement d'une nouvelle version de Coppermine seul le fichier langage Anglais est mis à jour. Pour compenser les traductions soumises plus tard, vous pouvez utiliser cette option. La plupars des traductions affectent seulement la partie administration de Coppermine, donc, c'est principalement l'administrateur qui verra des phrases en Anglais à la place de sa langue si elle n'existe pas dans son fichier langage. Actuellement cette option de remplacement ne fonctionne que pour 95% des phrases, donc il se peut qu'il y ait encore des traductions manquantes.</p>
+<p class="small">[cpg1.4.0 ou supérieur requis]</p>
+<a name="admin_language_fallback_end"></a>
+<a name="admin_language_charset"></a><h4>Encodage des caractères</h4>
+<p>Il devrait normallement être sur "Unicode (utf-8)" (ou "Default (language file)"). Reportez vous au chapitre sur la &quot;<b><a href="#admin_language">langue</a></b>&quot; dans cette page.</p>
+<a name="admin_language_list"></a><h4>Affiche la liste des langues</h4>
+<p>Activez cette option si vous voulez que vos visiteurs puissent choisir leur propre langue avec une liste déroulante (vous pouvez choisir de montrer uniquementla liste elle même ou une légende disant &quot;<b>Choisissez votre langage:</b>&quot; avant la liste). Editez votre fichier "template" (/themes/votretheme/template.html) pour déterminer où vous voulez voir apparaitre la liste déroulante dans votre galerie (cherchez <b>{LANGUAGE_SELECT_LIST}</b>).</p>
+<p class="small">[cpg1.3.0 ou supérieur requis]</p>
+<a name="admin_language_list_end"></a>
+<a name="admin_language_flags"></a><h4>Affichez les drapeaux de langues</h4>
+<p>Activez cette option si vous voulez que vos visiteurs puissent sélectionner leur propre langue en cliquantsur le drapeau représentant leur langage (vous pouvez choisir de ne montrer que les drapeux eux même ou une légende disant &quot;<b>Choisissez votre langue:</b>&quot; devant les drapeaux). Editez votre fichier "template" (/themes/votretheme/template.html) pour déterminer ou vous souhaitez voir apparaitre les drapeaux dans votre galerie (cherchez <b>{LANGUAGE_SELECT_FLAGS}</b>).</p>
+<p class="small">[cpg1.3.0 ou supérieur requis]</p>
+<a name="admin_language_flags_end"></a>
+<a name="admin_language_reset"></a><h4>Affichez &quot;reset&quot; dans la sélection des langues</h4>
+<p>Cette option s'applique uniquement si vous avez activé la sélection de langue - il montrera une icône &quot;default&quot; ou une entrée dans la liste pour permettre au visiteur de retourner au langage initial de la galerie.</p>
+<p class="small">[cpg1.3.0 ou supérieur requis]</p>
+<a name="admin_language_reset_end"></a>
+<a name="admin_language_charset_end"></a>
+<p><a class="back" href="#top">Haut de page</a></p><hr />
+
+<a name="admin_theme"></a>
+<h3>4.12.3 Paramétrage des thèmes</h3>
+<a name="admin_theme_theme"></a><h4>Thème</h4>
+<p>Utilisez cette ligne pour sélectionner le thème de votre galerie. Les thèmes sont stockés dans des sous-répertoires du répertoire <b>themes</b>.</p>
+<a name="admin_theme_theme_end"></a>
+<a name="admin_theme_theme_list"></a><h4>Afficher la liste des thèmes</h4>
+<p>Activez cette option si vous voulez permettre à vos utilisateurs de sélectionner un autre thème depuis une liste déroulante (vous pouvez choisir de montrer uniquement la liste elle même ou une légende disant &quot;<b>Choisissez votre thème:</b>&quot; devant la liste). Editez votre fichier "template" (/themes/votretheme/template.html) pour déterminer ou la liste déroulante des thèmes sera affichée dans votre galerie (cherchez <b>{THEME_SELECT_LIST}</b>).</p>
+<p>Cette option n'a de sens que si vous avez au moins un autre thème dans votre répertoire /themes/ folder en plus de votre thème par défaut. Il est recommandé de n'offrir cette possibilité que si elle apporte un bénéfice à l'utilisateur (par exemple un thème moins "graphique" qui se chargera plus rapidement pour les visiteurs ayant une connection RTC, ou un thème avec moins de couleurs et avec un bon contraste).</p>
+<p class="small">[cpg1.3.0 ou supérieur requis]</p>
+<a name="admin_theme_theme_list_end"></a>
+<a name="admin_theme_theme_reset"></a><h4>Affiche &quot;reset&quot; dans la sélection du thème</h4>
+<p>Cette ne s'applique que si vous avez activé la sélection des thèmes - il montrera une entrée &quot;default&quot; dans la liste permettant au visiteur de retourner au thème par défaut de votre galerie.</p>
+<p class="small">[cpg1.3.0 ou supérieur requis]</p>
+<a name="admin_theme_theme_reset_end"></a>
+<a name="admin_theme_faq"></a><h4>Afficher la FAQ</h4>
+<p>Cette option ajoute &quot;FAQ&quot; dans la barre de menu si elle est activée. Si un visiteur clique dessus, il s'affichera une liste de &quot;Questions Fréquemment Posées (FAQ)&quot; sur l'utilisation de Coppermine. Pour changer le contenu de cette FAQ, éditez le fichier /votre_coppermine/lang/votre_langue.php (par exemple french.php) et cherchez</p>
+<pre>// ------------------------------------------------------------------------- //
+// File faq.php
+// ------------------------------------------------------------------------- //</pre>
+<p>Modifiez ce qui vient après.</p>
+<p class="small">[cpg1.3.0 ou supérieur requis]</p>
+<a name="admin_theme_faq_end"></a>
+<a name="admin_theme_custom_lnk_name"></a><h4>Nom du lien de menu personnalisé</h4>
+<p>C'est le nom qui apparaitra dans le menu pour votre lien personnalisé.  Laissez le vide si vous ne l'utilisez pas.</p>
+<p class="small">[cpg1.4.0 ou supérieur requis]</p>
+<a name="admin_theme_custom_lnk_name_end"></a>
+<a name="admin_language_custom_lnk_url"></a><h4>Adresse URL de votre lien personnalisé</h4>
+<p>C'est l'adresse URL vers laquelle l'utilisateur sera dirigé en cliquant sur le boutton &quot;Lien Personnalisé&quot; de votre menu principal.</p>
+<p>Vous pouvez utiliser une adresse URL valide.</p>
+<p>Il est important de lasser ce chanp vide si vous ne voulez pas de lien personnalisé.</p>
+<p class="small">[cpg1.4.0 ou supérieur requis]</p>
+<a name="admin_language_custom_lnk_url_end"></a>
+<a name="admin_theme_bbcode"></a><h4>Afficher l'aide pour les bbcode help</h4>
+<p>Si elle est activée, cette option affiche les <a href="#bbcode">bbcodes</a> qui peuvent être employés dans les champs de description, à côté de ce champ.</p>
+<p class="small">[cpg1.3.0 ou supérieur requis]</p>
+<a name="admin_theme_bbcode_end"></a>
+<a name="vanity_block"></a><h4> Afficher les boutons indiquant le respect des standards XHTML et CSS pour les thèmes conformes</h4>
+<p>Si activé, et si le thème utilisé respecte les standards XHTML et CSS, les icônes sont affichées. Le bloc comporte les icônes et liens  pour les soumissions HTML et CSS vers w3.org, ainsi que des liens vers les projets PHP, et MySQL.</p>
+<p class="small">[cpg1.4.1 ou supérieur requis]</p>
+<a name="vanity_block_end"></a>
+<a name="admin_theme_include_path_start"></a>
+<h4> Chemin pour inclure un en-tête de page personnalisé</h4>
+<p>Chemin relatif vers un fichier optionnel d'en-tête personnalisé. En utilisant cette option, vous pouvez inclure des éléments de code non-coppermine afin de les insérer à votre thème, par exemple une barre de navigation qui est utilisée dans l'ensemble de votre site. Vous pouvez uniquement ajouter un chemin relatif (vu depuis la racine de votre installation Coppermine) - pas de chemin absolu ni de lien http d'un autre site. Cette option est destinée aux utilisateurs expérimentés ayant des connaissances en PHP. <br />
+<span class="important">Attention: vous ne devez pas inclure des pages complètes contenant un entête ou un pied de page html (balises de type <tt class="code">&lt;head&gt;</tt> ou <tt class="code">&lt;body&gt;</tt>), ni des fichiers inclus faisant des manipulations d'entête, par exemple lisant un autre cookie (non-coppermine).</span></p>
+<p class="small">[cpg1.4.0 ou supérieur requis]</p>
+<h4> Chemin pour inclure un pied de page personnalisé</h4>
+<p>Chemin relatif vers un fichier optionnel de pied de page personnalisé. Les mêmes remarques que pour l'entête personnalisé s'appliquent.</p>
+<p class="small">[cpg1.4.0 ou supérieur requis]</p>
+<a name="admin_theme_include_path_end"></a>
+<a name="admin_theme_end"></a>
+<p><a class="back" href="#top">Haut de page</a></p><hr />
+
+<a name="admin_album_list"></a>
+<h3>4.12.4 Affichage de la liste des Albums</h3>
+<a name="admin_album_table-width"></a>
+<h4>Largeur du tableau principal (pixels or %)</h4>
+<p>C'est la largeur du tableau utilisé dans la page principale ou quand vous affichez les vignettes d'un album. Vous pouvez entrer une largeur en pixels ou en pourcentage. La valeur par défaut est 100%.</p>
+<a name="admin_album_table-width_end"></a>
+<a name="admin_album_category-levels"></a>
+<h4> Nombre de niveaux de catégories à afficher</h4>
+<p>La valeur par défaut est 2. Avec cette valeur, le script va afficher la catégorie actuelle plus un niveau de sous-catégories.</p>
+<a name="admin_album_category-levels_end"></a>
+<a name="admin_album_number"></a>
+<h4> Nombre d'albums à afficher</h4>
+<p>C'est le nombre d'albums à afficher sur une pagee. Si la catégorie contiens plus d'albums, ils seront affichés sur plusieurs pages.</p>
+<a name="admin_album_number_end"></a>
+<a name="admin_album_columns"></a>
+<h4> Nombre de colonnes pour la liste des albums</h4>
+<p>Parle de lui même. La valeur par défaut est 2.</p>
+<a name="admin_album_columns_end"></a>
+<a name="admin_album_thumbnail-size"></a>
+<h4> Taille des vignettes en pixels</h4>
+<p>C'est la taille des vignettes qui sont affichées pour chaque album. 50 veut dire que la vignette s'inscrira dans un carré de 50x50 pixels.</p>
+<p>Si la taille que vous spécifiez est plus grande que dans &quot;Paramètres des images et des vignettes/Largeur maximum ou hauteur des vignettes&quot;, la vignette sera étirée.</p>
+<a name="admin_album_thumbnail-size_end"></a>
+<a name="admin_album_list_content"></a><a name="changing"></a><h4> Le contenu de la page principale</h4>
+<p>Cette option vous permets de changer le contenu de la page principale affichée par le script.</p>
+<p>La valeur par défaut est &quot;<b>catlist/alblist/random,2/lastup,2</b>&quot;</p>
+<p>Vous pouves utiliser les "codes" suivants</p>
+<ul>
+  <li>'<b>breadcrumb</b>': navigation dans la galerie (par exemple &quot;accueil &gt; categories &gt; sous-catégories &gt; album&quot;)</li>
+  <li>'<b>catlist</b>': Liste des catégories</li>
+  <li>'<b>alblist</b>': Liste des Albums</li>
+  <li>'<b>random</b>': Fichiers aléatoires (laisser &quot;random files&quot; pour les galeries énormes avec plus de 10,000 images peut poser les problèmes de performances; enlevez  &quot;random&quot; dans ce cas)</li>
+  <li>'<b>lastup</b>': Derniers ajouts</li>
+  <li>'<b>topn</b>': Les plus populaires</li>
+  <li>'<b>toprated</b>': Les mieix notées</li>
+  <li>'<b>lastcom</b>': Derniers commentaires </li>
+  <li>'<b>lasthits</b>': Derniers visualisés </li>
+  <li>'<b>anycontent</b>': insère du contenu généré par PHP qui doit se trouver dans le fichier 'anycontent.php' sur la page d'accueil. Peut être utilisé pour inclure une bannière ou d'autres scripts (compteur...).</li>
+  <li>'<b>lastalb</b>': Derniers albums crées</li>
+  </ul>
+<p>Sauf si vous savez réellement ce que vous faites laissez 'catlist' et "alblist" dans le &quot;<i>contenu de la page principale</i>&quot;, ce sont les parties de base de la page d'accueil.</p>
+<p>Le <b>,2</b> signifie 2 lignes de vignettes.</p>
+<a name="admin_album_list_content_end"></a>
+<a name="admin_album_first-level_thumbs"></a>
+<h4> Afficher les vignettes de l'album du premier niveau avec la catégorie</h4>
+<p>Utilisez ce paramètre pour choisir de montrer ou pas les vignettes du premier album dans la catégorie.</p>
+<a name="admin_album_first-level_thumbs_end"></a>
+<a name="admin_album_list_alphasort_start"></a>
+<h4> Classer les catégories par ordre alphabétique (au lieu du classement par ajout)</h4>
+<p>Vous pouvez spécifier à Coppermine de trier toutes les catégories par ordre alphabétique (au lieu d'un ordre personnalisé) en parametrant &quot;Trier les catégories par ordre alphabétique&quot; sur &quot;OUI&quot;. Ce paramétrage est disponible dans la page de configuration de Coppermine et dans le gestionnaire de catégories. Si vous activez le tri alphabétique, les flèches de montée et de descente permettant de déplacer les catégories n'apparaitrons plus.</p>
+<p class="small">[cpg1.4.0 ou supérieur requis]</p>
+<a name="admin_album_list_alphasort_end"></a>
+<a name="admin_album_linked_files_start"></a><h4> Afficher le nombre de fichiers liés</h4>
+<p>Si vous utilisez les mots clé des albums pour afficher des images/fichiers dans plus d'un album, l'activation de cette fonction affichera des informations complémentaires dans les tatistiques de l'album: si un album ne contient pas uniquement des fichiers &quot;normaux&quot;, mais des fichiers liés via l'option "<a href="#album_prop_keyword_start">mots clé de l'album</a>", le nombre de fichiers liés sera affiché séparément comme ceci "3 fichiers, les dernier ajouté le 07 octobre, 2004<i>, 3 fichiers liés, 6 fichiers au total</i>".</p>
+<p class="small">[cpg1.4.0 ou supérieur requis]</p>
+<a name="admin_album_linked_files_end"></a>
+<a name="admin_album_list_end"></a>
+<p><a class="back" href="#top">Haut de page</a></p><hr />
+
+<a name="admin_thumbnail_view"></a>
+<h3>4.12.5 Affichage des vignettes</h3>
+<a name="admin_thumbnail_columns"></a>
+<h4> Nombre de colonnes sur la page des vignettes</h4>
+<p>La valeur par défaut est 4, cela signifie que chaque ligne affichera 4 vignettes.</p>
+<a name="admin_thumbnail_columns_end"></a>
+<a name="admin_thumbnail_rows"></a>
+<h4> Nombre de lignes sur la page des vignettes</h4>
+<p>La valeur par défaut est 3.</p>
+<a name="admin_thumbnail_rows_end"></a>
+<a name="admin_thumbnail_tabs"></a>
+<h4> Nombre maximal d'onglets à afficher</h4>
+<p>Si les vignettes sont affichées sur plusieures pages, des onglets sont affichés en bas de page. Cette valeur définie combien d'onglets doivent être affichés.</p>
+<a name="admin_thumbnail_tabs_end"></a>
+<a name="admin_thumbnail_display_caption"></a>
+<h4> Afficher la légende de l'image (en plus de son titre) sous la vignette </h4>
+<p>Sélectionne quelles légendes sont affichées sous chaque vignette lorsque le visiteur visualise (normalement) les vignettes.</p>
+<p class="small">[cpg1.3.0 ou supérieur requis]</p>
+<a name="admin_thumbnail_display_caption_end"></a>
+<a name="admin_thumbnail_display_views"></a>
+<h4> Afficher le nombre de vues sous la vignette</h4>
+<p>Sélectionne l'affichage du nombre de vues sous chaque vignette lorsque le visiteur les visualise.</p>
+<p class="small">[cpg1.3.0 ou supérieur requis]</p>
+<a name="admin_thumbnail_display_views_end"></a>
+<a name="admin_thumbnail_display_comments"></a>
+<h4> Afficher le nombre de commentaires sous les vignettes</h4>
+<p>Sélectionne l'affichage du nombre de commentaire sous les vignettes.</p>
+<p class="small">[cpg1.3.0 ou supérieur requis]</p>
+<a name="admin_thumbnail_display_comments_end"></a>
+<a name="admin_thumbnail_display_uploader"></a>
+<h4> Afficher le nom de l'utilisateur sous la vignette</h4>
+<p>Sélectionne l'affichage du "téléchargeur" non administrateur de l'image/fichier sous la vignette.</p>
+<p class="small">[cpg1.4.0 ou supérieur requis]</p>
+<a name="admin_thumbnail_display_uploader_end"></a>
+<a name="admin_thumbnail_display_admin_uploader"></a>
+<h4>Afficher le nom de l'administrateur sous la vignette de ses images</h4>
+<p>Sélectionne l'affichage du nom du "téléchargeur" de l'image qui appartient au groupe "administrateur".</p>
+<p class="small">[cpg1.4.0 ou supérieur requis]</p>
+<a name="admin_thumbnail_display_admin_uploader_end"></a>
+<a name="admin_thumbnail_display_filename"></a>
+<h4> Afficher le nom du fichier sous la vignette</h4>
+<p>Séléectionne l'affichage du nom< du fichier sous chaque vignette.</p>
+<p class="small">[cpg1.4.0 ou supérieur requis]</p>
+<a name="admin_thumbnail_display_filename_end"></a>
+<a name="admin_thumbnail_display_description"></a>
+<h4> Afficher la description des albums</h4>
+<p>Séléctionne l'affichage de la description de l'album sous chaque vignette d'album.</p>
+<a name="admin_thumbnail_display_description_end"></a>
+<a name="admin_thumbnail_default_sortorder"></a>
+<h4> Classement par défaut des fichiers</h4>
+<p>Cette option détermine l'ordre d'affichage des vignettes lorsque l'utilisateur les visualise.</p>
+<a name="admin_thumbnail_default_sortorder_end"></a>
+<a name="admin_thumbnail_minimum_votes"></a>
+<h4> Nombre minimun de vote pour apparaître dans la liste 'les mieux notés'</h4>
+<p>Utilisé pour déterminer combien de vote un fichier doit recevoir avant d'apparaitre dans &quot;Les mieux notées.&quot;  Si un fichier reçois moins de votes que &quot;cette valeur&quot;, il ne sera pas affiché dans la page "les mieux notées".</p>
+<a name="admin_thumbnail_minimum_votes_end"></a>
+<a name="admin_thumbnail_view_end"></a>
+<p><a class="back" href="#top">Haut de page</a></p><hr />
+
+<a name="admin_image_comment"></a>
+<h3>4.12.6 Affichage des images</h3>
+<a name="admin_image_comment_table-width"></a>
+<h4>Largeur du tableau pour l'affichage des images (pixels ou %)</h4>
+<p>La largeur du tableau utilisé pour l'affichage des images intérmédiaires.</p>
+<p>Exemples:<br /><tt class="code">600</tt> = Le tableau autour de l'images aura une largeur de 600 pixels (même si l'image a une plus grande largeur).<br />
+<tt class="code">100%</tt> = Utilise la place disponible (Dépends de la dimension horizontale de l'image).</p>
+<a name="admin_image_comment_table-width_end"></a>
+<a name="admin_image_comment_info_visible"></a>
+<h4>Les informations sur l'image sont visibles par défaut</h4>
+<p>Définit si les informations sur le fichier (celles qui apparaissent lorsque vous cliquez sur le bouton (i)) sont visibles par défaut.</p>
+<a name="admin_image_comment_info_visible_end"></a>
+<a name="admin_image_comment_descr_length"></a>
+<h4> Nombre maximun de caractères pour la description des fichiers</h4>
+<p> Nombre maximun de caractères que la description des fichiers peut avoir.</p>
+<a name="admin_image_comment_descr_length_end"></a>
+<a name="admin_image_comment_filmstrip_toggle"></a>
+<h4> Afficher le négatif</h4>
+<p>Séléctionne l'affichage du négatif outour des vignettes des images précédentes et suivantes dans l'album (affichage des images intermédiaires).</p>
+<p class="small">[cpg1.2.0 ou supérieur requis]</p>
+<a name="admin_image_comment_filmstrip_toggle_end"></a>
+<a name="admin_image_comment_display_film_strip_filename"></a>
+<h4> Afficher le nom du fichier en dessous du négatif</h4>
+<p>Sélectionne l'affichage du nom des fichiers sous chaque vignette dans le négatif.</p>
+<p class="small">[cpg1.4.0 ou supérieur requis]</p>
+<a name="admin_image_comment_display_film_strip_filename_end"></a>
+<a name="admin_image_comment_filmstrip_number"></a>
+<h4> Nombre de vignettes dans le négatif</h4>
+<p>Parametre le nombre de vignettes a afficher dans le négatif.</p>
+<p class="small">[cpg1.2.0 ou supérieur requis]</p>
+<a name="admin_image_comment_filmstrip_number_end"></a>
+<a name="admin_image_comment_slideshow_interval"></a>
+<h4>Intervalle du diaporama en millisecondes (1 seconde = 1000 millisecondes)</h4>
+<p>Cela paramètre le temps d'affichage de chaque image (intervalle de transition) lorsque le visiteur regarde un diaporama (L'image suivante est chargée/cachée pendant que l'image en cours est affichée). Cet intervalle doit être en millisecondes (1 seconde = 1000 millisecondes).<br />Rappelez vous que donner très petite valeur a ce paramètre value n'a pas de sens pour pous les utilisateurs, spécialement pour ceux qui ont une connection lente ou si vous avez de gros fichiers.</p>
+<a name="admin_image_comment_slideshow_interval_end"></a>
+<a name="admin_image_comment_end"></a>
+<p><a class="back" href="#top">Haut de page</a></p><hr />
+
+<a name="admin_comment_start"></a>
+<h3>4.12.7 Paramètres des commentaires</h3>
+<a name="admin_image_comment_bad_words"></a>
+<h4> Filtrer les mots interdits dans les commentaires</h4>
+<p>Efface les "mots interdits" des commentaires. La liste des "mots interdits" est dans le fichier langage .</p>
+<a name="admin_image_comment_bad_words_end"></a>
+<a name="admin_image_comment_smilies"></a>
+<h4> Autoriser les smileys dans les commentaires</h4>
+<p>Sélectionne l'usage des smileys dans les commentaires.</p>
+<a name="admin_image_comment_smilies_end"></a>
+<a name="admin_image_comment_flood"></a>
+<h4>Autoriser plusieurs commentaires consécutifs pour une images par un même utilisateur (désactive la protection anti-flood)</h4>
+<p>Ce paramètrage sélectionne une protection contre l'afflu de commentaires. Si le paramétrage est OUI, un visiteur peut poster un commentaire, même si il vient d'en poster un. Il est recommandé de paramétrer sur NON.</p>
+<a name="admin_image_comment_flood_end"></a>
+<a name="admin_image_comment_chars_per_word"></a>
+<h4>  Nombre maximun de caractères dans un mot</h4>
+<p>Afin d'aviter que quelqu'un ne casse la disposition de la galerie en postant un long commentaire sans espace. Avec le paramétrage par défaut, les mots de plus de 38 caractères sont censurés.</p>
+<a name="admin_image_comment_chars_per_word_end"></a>
+<a name="admin_image_comment_lines"></a>
+<h4> Nombre maximun de lignes dans un commentaire</h4>
+<p>Evite d'avoir des commentaires trop longs.</p>
+<a name="admin_image_comment_lines_end"></a>
+<a name="admin_image_comment_length"></a>
+<h4> Longueur maximum d'un commentaire</h4>
+<p>Nombre maximum de caractères que peut contenir un commentaire.</p>
+<a name="admin_image_comment_length_end"></a>
+<a name="admin_image_comment_admin_notify"></a>
+<h4> Informer l'administrateur de nouveaux commentaires par courriel</h4>
+<p>Sélectionne si vous voulez recevoir un courriel à chaque fois qu'un commentaire est posté. Attention: n'activez cette option que si votre site a un faible trafic, ou vous serez submergés de courriels de notification.</p>
+<a name="admin_image_comment_admin_notify_end"></a>
+<a name="admin_comment_sort_start"></a>
+<h4> Ordre de tri des commentaires</h4>
+<p>Change l'ordre des commentaires faits pour un seul fichier.<br />
+Ascendant: Le commentaire le plus récent en pied de page, le plus vieux en haut de page<br />
+Descendant: Le commentaire de plus récent en haut de page, le plus ancien en bas de page</p>
+<a name="admin_comment_sort_end"></a>
+<a name="comments_anon_pfx"></a>
+<h4> Préfixe pour les commentaires d'utilisateurs anonymes</h4>
+<p>Si vous avez autorisé les viviteurs anonymes à poster des commenatires (droits paramétrés dans le panneau de configuration des <a href="#group_cp">groupes</a> ), Ce préfixe sera utilisé à gauches des commentaires des visiteurs anonymes. Cela peut être utile pour éviter que des utilisateurs non-enregistrés ne se fassent passer pour un utilisateur enregistré (ou un administrateur) en postant un commentaire. Laissez vide si vous ne voulez pas de préfixe devant les commentaires des "invités".</p>
+<a name="comments_anon_pfx_end"></a>
+<a name="admin_comment_end"></a>
+<p><a class="back" href="#top">Haut de page</a></p><hr />
+
+<a name="admin_picture_thumbnail"></a>
+<h3>4.12.8 Paramètres des images et vignettes</h3>
+<a name="admin_picture_thumbnail_jpeg_quality"></a>
+<h4> Qualité pour les fichiers JPG</h4>
+<p>La qualité utilisée pour la compression JPEG lorsque le script redimentionne les images. Cette valeur peut aller de 0 (Le plus mauvais) to 100 (Le meilleur). Cette valeur peut être mise à 75 si vous utilisez ImageMagick.<br />Vous ne devez pas changer ce paramétrage si vous ne savez pas ce que vous faites, les autres options sur les vignettes ou images intermédiaires (dimensions) ont un plus grand impact sur la taille des fichiers que le taux de compression.</p>
+<a name="admin_picture_thumbnail_jpeg_quality_end"></a>
+<a name="admin_picture_thumbnail_max-dimension"></a>
+<h4> Dimension maximale pour les vignettes **</h4>
+<p>Ddéfini la taille maximale en pixels pour la dimension spécifique des vignettes.</p><div class="important">Si vous changez ce paramétrage, seul les fichiers ajoutés à partir de ce moment sont concernés, Il est donc préférable de ne pas changer ce paramètre si il y a déjà des images dans la galerie. Vous pouvez malgré tout appliquer ces changements aux fichiers existants avec &quot;l'utilitaire d'administration (redimentionner les images)&quot; du menu administrateur.</div>
+<a name="admin_picture_thumbnail_max-dimension_end"></a>
+<a name="admin_picture_thumbnail_use-dimension"></a>
+<h4> Utiliser la dimension (largeur ou hauteur ou aspect max pour la vignette)</h4>
+<p>Défini la dimension qui sera utilisée pour déterminer la taille maximum en pixels qui sera utilisée.</p><div class="important">Si vous changez ce paramétrage, seul les fichiers ajoutés à partir de ce moment sont concernés, Il est donc préférable de ne pas changer ce paramètre si il y a déjà des images dans la galerie. Vous pouvez malgré tout appliquer ces changements aux fichiers existants avec &quot;l'utilitaire d'administration (redimentionner les images)&quot; du menu administrateur.</div>
+<a name="admin_picture_thumbnail_use-dimension_end"></a>
+<a name="admin_picture_thumbnail_intermediate_toggle"></a>
+<h4> Créer des images intermédiaires</h4>
+<p>Par défaut, lorsque vous téléchargez des fichiers, le script crée une vignette du fichier (avec un nom ayant pour préfixe thumb_) plus une version intérmédiaire (Fichier avec un nom ayant pour préfixe normal_). Si vous placez cette option sur NON, L'image intermédiaire n'est pas crée.</p>
+<a name="admin_picture_thumbnail_intermediate_toggle_end"></a>
+<a name="admin_picture_thumbnail_intermediate_dimension"></a>
+<h4> Largeur ou hauteur maximale pour une image/vidéo intermédiaire</h4>
+<p>Les images intermédiaires sont celles qui sont affichées lorsque vous cliquez sur les vignettes. La valeur par défaut est 400, cela signifie que l'image intermédiaire sera inscrite dans un carré de 400x400 pixels.</p>
+<a name="admin_picture_thumbnail_intermediate_dimension_end"></a>
+<a name="admin_picture_thumbnail_max_upload_size"></a>
+<h4> Poids maximal des images à uploader (Ko)</h4>
+<p>Chaque fichier dont la taille est supérieure à cette valeur sera rejetée par le script. Parametrer cette option sur une valeur supérieure à celle supportée par votre serveur générera un "magnifique" message d'erreur de la part du serveur à la place des messages d'erreurs "normaux" de Coppermine - Il est recommandé de placer cette valeur au moins un peu plus bas ou égale à la valeur maximale acceptée par votre serveur. La taille autorisée par votre serveur est difficile à déterminer par Coppermine (ou par tout autre script PHP)- Si vous ne la connaissez pas et avez un doute, contactez votre hébergeur.</p>
+<a name="admin_picture_thumbnail_max_upload_size_end"></a>
+<a name="admin_picture_thumbnail_max_upload_dimension"></a>
+<h4> Longueur ou hauteur maximale pour les images/vidéos uploadées (en pixels)</h4>
+<p>Limite les dimensions des images téléchargées. Redimentionner de grandes images demande beaucoup de ressources mémoire et processeur. Il y a habituellement une limite en place sur votre serveur - Vous ne pouvez pas mettre ce parametrage de Coppermine à une valeur supérieure que celle supportée par votre serveur.</p>
+<a name="admin_picture_thumbnail_max_upload_dimension_end"></a>
+<a name="admin_picture_thumbnail_auto-resize"></a>
+<h4> Redimensionner automatiquement les images qui dépassent la hauteur et/ou la largeur maximale</h4>
+<p>Pendant le processus de téléchargement, si les images sont plus grandes (en largeur ou en hauteur) que la largeur maximale sont automatiquement redimensionnées à la taille maximum autorisée.</p>
+<p><b>Note:</b> La manière dont les images sont redimensionnées (largeur/hauteurt/aspect maximum) est déterminé dans l'option d'administration &quot;<a href="#admin_picture_thumbnail_use-dimension">Utilise la dimension (largeur ou hauteur ou aspect maximum pour les vignettes)</a>&quot;</p>
+<p>Il y a trois options:</p>
+<ul><li>Non - Désactivé</li><li>Oui: Tous - Activé pour tous les visiteurs, y compris l'administrateur pendant le processus d'ajout par lot.</li>
+<li>Oui: Utilisateurs seulement - Avtivé pour les utilisateurs "normaux"</li></ul>
+<p class="small">[cpg1.4.0 ou supérieur requis]</p>
+<a name="admin_picture_thumbnail_auto-resize_end"></a>
+<a name="admin_picture_thumbnail_end"></a>
+<p><a class="back" href="#top">Haut de page</a></p><hr />
+
+<a name="admin_picture_thumb_advanced"></a>
+<h3>4.12.9 Paramètres avancés des images et vignettes</h3>
+<a name="admin_picture_thumb_advanced_private_toggle"></a>
+<h4>Les albums peuvent être privés </h4>
+<p>Si placé sur OUI Votr egalerie pourra contenir des albums visibles uniquement par les utilisateurs membres de groupes particuliers.</p>
+<p>Si un utilisateur est memebre d'un groupe qui peut avoir des albums privés et que cette otpion est activée, l'utilisateur aura la possibilité de cacher certains de ses albums à d'autres visiteurs.</p>
+<p>Cette option ne définit <b>pas</b> quels utilisateurs peuvent avoir une galerie privée, <b>ni</b> ne définit qui peut télécharger (ces paramètres sont accessibles dans le <a href="#group_cp">gestionnaire de groupe</a>). Vous ne devez mettre cette optio sur NON que si vous savez ce que vous faites (par défaut elle est placée sur OUI).</p>
+<p class="important">Note: Note: si vous commutez de 'Oui' à 'Non' les albums privés actuels deviendront publics!</p>
+<a name="admin_picture_thumb_advanced_private_toggle_end"></a>
+<a name="admin_picture_thumb_advanced_private_icon_show"></a>
+<h4> Montrer les vignettes des albums privés aux utilisateurs anonymes </h4>
+<p>Sélectionne l'affichage des vignettes des albums privés pour les utilisateurs anonymes.<br />placé sur 'NON', l'album sera caché aux utilisateurs non autorisés.<br />Placé sur 'OUI', le nom de l'album, sa description et ses statistiques sont montrés, mais pas les vignettes ou les fichiers.</p>
+<a name="admin_picture_thumb_advanced_private_icon_show_end"></a>
+<a name="admin_picture_thumb_advanced_filename_forbidden_chars"></a>
+<h4> Caractères interdits dans les noms de fichiers</h4>
+<p>Lorsque le nom de fichier d'un fichier téléchargé contient un de ces caractères, il sera remplacé par un "_".</p>
+<p>Ne changez rien si vous ne savez pas exactement ce que vous faites.</p>
+<a name="admin_picture_thumb_advanced_filename_forbidden_chars_end"></a>
+<a name="admin_picture_thumb_advanced_pic_extensions"></a>
+<h4> Types d'images autorisés</h4>
+<p>&quot;<i>ALL</i>&quot; autorisera tous les types de fichiers image supportés par votre librairie graphique (GD ou ImageMagick) . Si vous voulez restreindre l'autorisation à seulement certains types de fichiers, entrez la liste des extensions de fichier que vous autorisez, séparés par un "/", par exemple <tt class="code">jpg/bmp/tif</tt></p>
+<p class="small">[cpg1.3.0 ou supérieur requis]</p>
+<a name="admin_picture_thumb_advanced_pic_extensions_end"></a>
+<a name="admin_thumbs_advanced_movie"></a>
+<h4> Types de vidéos autorisés</h4>
+<p>&quot;<i>ALL</i>&quot; autorisera TOUS les types de fichiers vidéo au téléchargement. Si vous voulez restreindre l'autorisation à seulement certains types de fichiers, entrez la liste des extensions de fichier que vous autorisez, séparés par un "/", par exemple <tt class="code">wmv/avi/mov</tt>.</p>
+<p>Nottez bien que pour pouvoir visionner les vidéos, il faudra que l'utilisateur de Coppermine dispose des codecs appropriés et configurés correctement sur son ordinateur, par exemple: si vous autorisez le type de fichier <tt class="faq">mov</tt>, l'utilisateur qui va vouloir visonner cette vidéo devra avoirle plug-in Quick-Time d'Apple installé. Donc notez que <tt class="code">avi</tt> est juste un conteneur pour différents codecs - ce qui veut dire que si un ordinateur est capable de lire video1.avi il est possible qu'il ne puisse pas lire video2.avi si ces deux fichiers ont été encodés avec différents codecs.</p>
+<p class="small">[cpg1.3.0 ou supérieur requis]</p>
+<a name="admin_thumbs_advanced_movie_end"></a>
+<a name="admin_movie_autoplay"></a>
+<h4> Démarrage automatique des vidéos</h4>
+<p>Si placé sur OUI, les vidéos seront lancées imédiatement lorsquelles sont chargées (ne s'applique pas aux fichiers Flash).</p>
+<a name="admin_movie_autoplay_end"></a>
+<a name="admin_picture_thumb_advanced_audio_extensions"></a>
+<h4> Types de fichiers sons autorisés</h4>
+<p>&quot;<i>ALL</i>&quot; autorisera les télécharegment de TOUS les types de fichiers audio. Si vous voulez restreindre l'autorisation de téléchargement à certains types de fichier, entrez la liste des extentions séparés par un "/", par exemple: <tt class="code">wav/mp3/wma</tt>.</p>
+<p>Notez que pour pouvoir écouter un fichier audio, l'utilisateur de Coppermine devra avoir les codecs installés et configurés correctement sur son ordinateur, par exemple: si vous autorisez les fichiers <tt class="code">mp3</tt>, l'utilisateur qui voudra les écouter devra avoir un lecteur mp3 installé.</p>
+<p class="small">[cpg1.3.0 ou supérieur requis]</p>
+<a name="admin_picture_thumb_advanced_audio_extensions_end"></a>
+<a name="admin_picture_thumb_advanced_doc_extensions"></a>
+<h4> Types de fichiers textes autorisés</h4>
+<p>&quot;<i>ALL</i>&quot; autorisera le téléchargement de TOUS les types de fichiers "documents". Si vous voulez restreindre l'autorisation de téléchargement à certains types de fichiers, entrez la liste des extentions séparés par un "/", par exemple: <tt class="code">txt/pdf</tt>.</p>
+<p>Notez que pour pouvoir ouvrir les documenst, l'utilisateur de Coppermine devra avoir installé sur son ordinateur, le logiciel capable de le lire, par exemple: si vous autorisez les fichiers <tt class="code">xls</tt>, l'utilisateur qui voudra ouvrir ces fichiers devra posseder une application capable d'ourir et de lire les fichiers MS-Excel . Soyez vigilant avec certains types de fichiers (en particulier si vous autorisez le téléchargement sans l'approbation de l'administrateur), ils peuvent contenir des macro-virus.</p>
+<p class="small">[cpg1.3.0 ou supérieur requis]</p>
+<a name="admin_picture_thumb_advanced_doc_extensions_end"></a>
+<a name="admin_picture_thumb_advanced_resize_method"></a>
+<h4> Méthode de redimensionnement des images</h4>
+<p>Paramétrez avec le type de librairie Images présente sur votre serveur (soit GD1, GD2 ou ImageMagick).</p>
+<p>Si vous utilisez GD 1.x et que les couleurs de vos vignettes et de vos images intermédiaires ne sont pas bonnes, vous avez probablement GD2 sur votr eserveur - basculez cette option sur GD 2.x</p>
+<p>La plupars des distributions récentes de PHP sont livrées avec GD - Si vous ne savez pas ce que vous avez, mettez cette option sur GD2 et regardez votre paramétrage dans <a href="http://www.php.net/phpinfo" rel="external" class="external">phpinfo</a>.</p>
+<a name="admin_picture_thumb_advanced_resize_method_end"></a>
+<a name="admin_picture_thumb_advanced_im_path"></a>
+<h4> Chemin vers l'utilitaire 'convert' d'ImageMagick (exemple /usr/bin/X11/)</h4>
+<p>Si vous utilisez l'utilitaire de conversion ImageMagick pour redimentionner vos images, vous devez entrer le nom du répertoirelans lequel se trouve le programme de conversion. N'oubliez pas le "<tt class="code">/</tt>"final.</p>
+<p>Si votre serveur fonctionne sous Windows, utilisez / et non \ pour séparer les éléments du chemin (exemple: utlisez C:/ImageMagick/ et non C:\ImageMagick\). Ce chemin ne doit pas contenir d'espaces, donc sous ne placez pas ImageMagick dans le répertoire "Program files".</p>
+<p><b>ImageMagick fonctionnera avec difficultés si PHP, sur votre serveur, fonctionne en  SAFE mode et c'est un véritable challenge de le faire fonctionner sous Windows. Utilisez  GD dans ces cas et ne perdez pas votre temps à demander de l'aide sur le forum à ce sujet. Il y a trop de choses qui peuvent empêcher ImageMagick de fonctionner correctement, et sans un accès physique à votre serveur il est difficiles d'estimer ce qui ne va pas.</b></p>
+<a name="admin_picture_thumb_advanced_im_path_end"></a>
+<a name="admin_picture_thumb_advanced_allowed_imagetypes"></a>
+<h4>Types d'images autorisés (uniquement pour ImageMagick)</h4>
+<p>C'est la liste des types d'images que le script va accepter si vous utilisez ImageMagick. La détection du type d'image se fait en lisant les informations de l'entête du fichier et non en regardant l'extention du fichier.</p>
+<a name="admin_picture_thumb_advanced_allowed_imagetypes_end"></a>
+<a name="admin_picture_thumb_advanced_im_commandline"></a>
+<h4> Options de ligne de commande pour ImageMagick</h4>
+<p>Ici vou spouvez ajouter des options qui vont se joindre à la ligne de commande lors de l'exécution de ImageMagick. Lisez le manuel d'ImageMagick pour voir ce qui est possible.</p>
+<a name="admin_picture_thumb_advanced_im_commandline_end"></a>
+<a name="admin_picture_thumb_advanced_exif"></a>
+<h4> Lire les informations EXIF dans les fichiers JPEG</h4>
+<p>Avec cette option sur Oui, le programme va lire les informations EXIF  placées par les appareils photos numériques dans les fichiers JPEG. Pour cpg1.x à cpg1.2.1, cette option ne fonctionnera que si PHP a été compilé avec l'extention EXIF. Coppermine 1.3.0 (ou supérieur) intègre les ressources EXIF même si le serveur lui même ne les a pas, puisqu'il utilise une <a href="http://www.offsky.com/software/exif/index.php" class="external">classe EXIF séparée</a>.</p>
+<p class="small">[cpg1.3.0 ou supérieur requis]</p>
+<a name="admin_picture_thumb_advanced_exif_end"></a>
+<a name="admin_picture_thumb_advanced_iptc"></a>
+<h4> Lire les informations IPTC dans les fichiers JPEG</h4>
+<p>Avec cette option sur OUI, le script va lire les informations <a href="http://www.iptc.org/" class="external">IPTC</a> placées par les appareils photos numériques dans les fichiers images.</p>
+<p class="small">[cpg1.3.0 ou supérieur requis]</p>
+<a name="admin_picture_thumb_advanced_iptc_end"></a>
+<a name="admin_picture_thumb_advanced_albums_dir"></a>
+<h4> Répertoire des albums</h4>
+<p>C'est le répertoire de base pour votre "Stock d'Images". C'est le chemin relatif depuis le répertoire principal du programme. </p>
+<p>Vous pouvez utiliser ../ dans le chemin pour monter d'un niveau dans l'arborescence.</p>
+<p>Vous ne pouvez <b>past</b> utiliser un chemin absolu ici ("/var/mes_images/" ne fonctionnera pas) et le répertoire album doit être visible par votre serveur.</p>
+<p>Ce paramètre ne doit pas être changé si vous avez déjà des fichiers dans votre base de donnée. Si vous le faites, toutes les liens vers vos fichiers existants seront brisés.</p>
+<a name="admin_picture_thumb_advanced_albums_dir_end"></a>
+<a name="admin_picture_thumb_advanced_userpics_dir"></a>
+<h4> Répertoire pour les fichiers des utilisateurs</h4>
+<p>C'est le répertoire ou sont stockés les fichiers téléchargés depuis l'interface Web. Ce répertoire est un sous-répertoire su répertoire the album.</p>
+<p>Les mêmes remarques que précédemment s'appliquent.</p>
+<p>Si vous téléchargez des fichiers par le FTP, placez les dans un sous-répertoire du répertoire "album" et non dans le &quot;répertoire pour les fichiers utilisateurs&quot;. </p>
+<p>Ce paramètre ne doit pas être changé si vous avez déjà des fichiers dans votre base de donnée. Si vous le faites, toutes les liens vers vos fichiers existants seront brisés.</p>
+<a name="admin_picture_thumb_advanced_userpics_dir_end"></a>
+<a name="admin_picture_thumb_advanced_intermediate_prefix"></a>
+<h4> Préfixe pour les images intermédiaires</h4>
+<p>Ce préfixe est ajouté au nom de fichier lors de la création des images intermédiaires.</p>
+<p>Ce paramètre ne doit pas être changé si vous avez déjà des fichiers dans votre base de donnée. Si vous le faites, toutes les liens vers vos fichiers existants seront brisés.</p>
+<a name="admin_picture_thumb_advanced_intermediate_prefix_end"></a>
+<a name="admin_picture_thumb_advanced_thumbs_prefix"></a>
+<h4> Préfixe pour les vignettes</h4>
+<p>Ce préfixe est ajouté au nom de fichier lors de la création des vignettes.</p>
+<p>Ce paramètre ne doit pas être changé si vous avez déjà des fichiers dans votre base de donnée. Si vous le faites, toutes les liens vers vos fichiers existants seront brisés.</p>
+<a name="admin_picture_thumb_advanced_thumbs_prefix_end"></a>
+<a name="admin_picture_thumb_advanced_chmod_folder"></a>
+<h4> Mode par défaut des répertoires</h4>
+<p>Si pendant l'installation, l'installeur vous signale qu'un répertoire n'a pas ces droits demandés, placez le sur <b>0777</b> sinon vous n'aurez pas la possibilité d'effacer les répertoires crées par le programme avec votre client FTP le jour ou vous déciderez de désinstaller le programme.</p>
+<p><span class="important">Attention</span>: paramétrer cette option ne fait pas de CHMOD sur vos fichiers ou répertoires imédiatement; au lieu de celà, Coppermine en tient compte en créant de nouveaux répertoires pour le téléchargement des utilisateurs (a l'intérieur du répertoire "userpics"). Si vous rencontrez des problèmes  concernant les droits pendant la configuration initiale de Coppermine, cette option n'est <b>pas</b> ce qu'il faut regarder ou changer.</p>
+<a name="admin_picture_thumb_advanced_chmod_folder_end"></a>
+<a name="admin_picture_thumb_advanced_chmod_files"></a>
+<h4> Mode par défaut des fichiers</h4>
+<p>Si pendant l'installation, l'installeur vous signale qu'un répertoire n'a pas ces droits demandés, placez le sur <b>0666</b>.</p>
+<p><span class="important">Attention</span>: paramétrer cette option ne fait pas de CHMOD sur vos fichiers ou répertoires imédiatement; au lieu de celà, Coppermine en tient compte lors du téléchargement d'images dans la galerie ou de la création des vignettes et des images intermédiaires. Si vous rencontrez des problèmes  concernant les droits pendant la configuration initiale de Coppermine, cette option n'est <b>pas</b> ce qu'il faut regarder ou changer.</p>
+<a name="admin_picture_thumb_advanced_chmod_files_end"></a>
+<a name="admin_picture_thumb_advanced_end"></a>
+<p><a class="back" href="#top">Haut de page</a></p><hr />
+
+<a name="admin_user"></a>
+<h3>4.12.10 Paramètres Utilisateurs</h3>
+<a name="admin_allow_registration"></a>
+<h4> Autoriser de nouvelles inscriptions</h4>
+<p>Défini si les nouveaux visiteurs peuvent s'enregistrer eux même ou non. Si vous parametrez sur NON, seul l'administrateur pourra crée de nouveaux utilisateurset le lien &quot;s'identifier&quot; ne s'affichera plus dans le menu de navigation.</p>
+<a name="admin_allow_unlogged_access"></a>
+<h4> Autoriser l'accès aux visiteurs non authentifiés (visiteur ou anonyme)</h4>
+<p>Si placé sur &quot;Non&quot;, les utilisateurs non identifiés (exemples: visiteurs ou utilisateurs anonymes) ne peuvent pas acceder à votre galerie sauf à la page d'identification (et la page d'inscription si vous avez autorisé les inscriptions). Soyez attentifs au fait que de désactiver totalement l'accès anonyme affaiblira la popularité de votre site. N'utilisez celà que si vous souhaitez que votr egalerie soit totalement privée. Il est recommandé de laisser l'accès anonyme et d'utiliser les droits d'accès des groupes et d'albums pour filtrer vos utilisateurs.</p>
+<a name="admin_allow_unlogged_access_end"></a>
+<p class="small">[cpg1.4.0 ou supérieur requis]</p>
+<a name="admin_allow_registration_end"></a>
+<a name="admin_registration_verify"></a>
+<h4> L'inscription d'un nouvel utilisateur doit être validée</h4>
+<p>Si placé sur OUI un email contenant un code d'activation sera envoyé à l'utilisateur. Si placé sur NON, le compte utilisateur sera immédiatement actif.</p>
+<a name="admin_registration_verify_end"></a>
+<a name="admin_registration_notify"></a>
+<h4> Notifier l'administrateur des nouvelles inscriptions par courriel</h4>
+<p>Si placé sur OUI un courriel sera envoyé à l'administrateur de la galerie lorsqu'un nouvelutilisateur s'est enregistré.</p>
+<a name="admin_registration_notify_end"></a>
+<p class="small">[cpg1.3.0 ou supérieur requis]</p>
+<a name="admin_activation"></a>
+<h4> L'administrateur doit activer les enregistrements</h4>
+<p>Demande l'activation par l'administrateur. Paramétré sur OUI, celà permets à l'administrateur d'activer les nouvelles isncriptions.</p>
+<p>Par défaut, cette ce paramètre est placé sur NON, ainsi les utilisateurs peuvent activer eux même leur compte après l'inscription.</p>
+<p class="small">[cpg1.4.0 ou supérieur requis]</p>
+<a name="admin_activation_end"></a>
+<a name="admin_allow_duplicate_emails_addr"></a>
+<h4> Autoriser deux utilisateurs à avoir la même adresse courriel</h4>
+<p>Autorise ou empèche deux utilisateurs de s'enregistrer avec la même adresse Email. Il est recommendé de placer cette option sur NON. Cette option a été désaprouvée et sera peut être suprimée dans une prochaine version de Coppemrine.</p>
+<a name="admin_allow_duplicate_emails_addr_end"></a>
+<a name="admin_approval_notify"></a>
+<h4> Notifier l'administrateur lorsque des uploads nécessitent son approbation</h4>
+<p>Si activé, l'administrateur de la galerie recevra un courriel le prévenant de toutes le images attendant son approbation (depends du paramétrage concernant l'approbation dans &quot;<a href="#group_cp">groups</a>&quot;). Le courriel est envoyé à l'adresse spécifiée dans &quot;<a href="#admin_general">parametres généraux</a>&quot;.</p><p>Cette option n'est recommendée que pour les sites avec peu de trafic (si les utilisateurs téléchargent uniquement de temps en temps).</p>
+<a name="admin_approval_notify_end"></a>
+<p class="small">[cpg1.3.0 ou supérieur requis]</p>
+<a name="admin_user_memberlist"></a>
+<h4> Autoriser les utilisateurs authentifiés à visualiser la liste des membres</h4>
+<p>Si activé, un élément de menu complémentaire &quot;liste des membres&quot; est affiché dans le menu principal de Coppermine si un utilisateur s'est autentifié, lui permettant de voir la liste de tous les utilisateurs, avec les statistiques concernat leur dernière visite, téléchargements et utilisation de leur quota disque.</p><p>C'est une nouvelle fonction dans  cpg1.3.0 (contribution de l'utilisateur <a href="#contributors">Jason</a>) - elle est disponible comme <a href="http://sourceforge.net/project/showfiles.php?group_id=89658&amp;package_id=98542">mod</a> (pas dans la distribution normale de Coppermine) pour les versions antérieures à cpg1.3.0.</p>
+<a name="admin_user_memberlist_end"></a>
+<p class="small">[cpg1.3.0 ou supérieur requis]</p>
+<a name="admin_user_allow_email_change"></a>
+<h4> Autoriser les utilisateurs à changer leur adresse courriel dans leur profil</h4>
+<p>Cette option à un impact sur la page profil de l'utilisateur, il détermine si l'utilisateur peut changer sa propre adresse Email.<br />Utilisez cette option prudemment, comme l'adresse Email de l'utilisateur n'est pas enregistrée: si vous laisse les utilisateurs changer leu adresse mail, ils peuvent la changer en une adresse non valide (par exemple après avoir mise en ligne des images enfreignant les règles de votre galerie) - vous n'aurez aucune chance de les retrouver.</p>
+<p>Cette option ne peut être prise en compte que si vous utilisez une version autonome de Coppermine; si vous utilisez Coppermine intégré à un forum, cette option ne sera tout simplement pas prise en compte, comme le profil utilisateur de votre forum sera utilisé pour gérer votre profil utilisateur dans Coppermine.</p>
+<p class="small">[cpg1.4.0 ou supérieur requis]</p>
+<a name="admin_user_allow_email_change_end"></a>
+<a name="admin_user_editpics_public_start"></a>
+<h4> Autoriser les utilisateurs à garder le controle de leurs images dans les galeries publiques</h4>
+<p>si activé, l'administrateur ne sera plus le seul à pouvoir éditer les images et les fichiers téléchargés dans les galeries publiques, les utilisateurs autentifiés pourront aussi le faire. Bien sur, en premier lieu, l'utilisateur devra avoir le droit de télécharger des images dans les gaelries publiques (paramétrable dans  le <a href="#group_cp">panneau de gestion des groupes</a>) pour qu ecette option ait un effet.</p>
+<p class="small">[cpg1.4.0 ou supérieur requis]</p>
+<a name="admin_user_editpics_public_end"></a>
+<a name="admin_user_login_start"></a>
+<a name="admin_user_login_threshold_start"></a>
+<h4>Nombre d'échec d'authentification avant bannissement temporaire (pour parer à une attaque brutale)</h4>
+<p>Pour parrer à une attaque brutale (si un programme hostile essaye de s'identifier dans Coppermine comme administrateur en passant automatiquement en revue toutes les combinaisons possibles de mots de passe et de noms d'utilisateurs) Coppermine bannis temporairement l'adresse IP d'un possible attaquant après un certain nombre de tentatives d'autentification infructueuses. De cette manièreThis way, l'attaque massive prendra beaucoup plus de temps pour essayer toutes les combinaisons possibles.</p>
+<p>Avec ce paramétrage, vous dpécifiez le nombre de tentatives infructueuse d'autentification après laquelle l'adresse IP sera bannie temporairement.</p>
+<p class="small">[cpg1.4.0 ou supérieur requis]</p>
+<a name="admin_user_login_threshold_end"></a>
+<a name="admin_user_login_expiry_start"></a>
+<h4> Durée du bannissement temporaire après un échec d'authentification</h4>
+<p>Cette valeur spécifie la durée du bannissement temporaire (en minutes) après le nombre de tentatives infructueuses d'autentification spécifié par <a href="#admin_user_login_threshold_start">Nombre d'échec d'authentification avant bannissement temporaire </a>.</p>
+<p class="small">[cpg1.4.0 ou supérieur requis]</p>
+<a name="admin_user_login_expiry_end"></a>
+<a name="admin_user_login_end"></a>
+<a name="admin_user_enable_report"></a>
+<h4> Activer les rapports à l'administrateur</h4>
+<p>Active les rapports. Si placé sur OUI, celà permets aux utilisateurs de rapporter des fichiers téléchargés ou des commentaires à l'administrateur de la galerie.</p>
+<p>Ce paramètre est dépendant du fait que les cartes postales électroniques sont activées.  Seuls les utilisateurs ayant le droit d'envoyer des cartes postales électroniques dans le paramétrage de leur 'groupe' ont la possibilité d'envoyer ces rapports. L'icone d'envoie des rapports est cachée à ceux qui n'ont pas ce droit.</p>
+<p class="small">[cpg1.4.0 ou supérieur requis]</p>
+<a name="admin_user_enable_report_end"></a>
+<p><a class="back" href="#top">Haut de page</a></p><hr />
+
+<a name="admin_custom"></a>
+<h4>4.12.11 Champs personnalisés pour le profil utilisateur (laisser vide si inutilisés). Utilisez le profil 6 pour les longs textes, comme les biographies </h4>
+<p>Ces champs sont affichés dans l'espace du &quot;profil utilisateuruser profile&quot;. Ils n'apparaîtrons que si vous leur donnez un nom. Comme le dit le titre du chapitre, utilisez le champ 6 pour les textes longs, comme les biographies, ou si vous voulez utiliser les bb code.</p>
+<p>Vous pouvez ausii utiliser le champ 6 pour les avatars.  Pour montrer un avatar dans le profil, il devra être entré en bbcode, par exemple pour montrer 'avatar.gif', qui se trouve dans votre répertoire image, utilisez le [img]http://www.votresite.com/images/avatar.gif[/img]</p>
+<a name="admin_custom_end"></a>
+<p><a class="back" href="#top">Haut de page</a></p><hr />
+
+<a name="admin_custom_image"></a>
+<h4>4.12.12 Champs personnalisés pour les descriptions d'images (laisser vide si inutilisés)</h4>
+<p>Ces champs sont affichés dans l'espace &quot;informations du fichier&quot; . Ils n'apparaîtrons que si vous leur donnez un nom.</p>
+<a name="admin_custom_image_end"></a>
+<p><a class="back" href="#top">Haut de page</a></p><hr />
+<a name="admin_cookie"></a>
+<h4>4.12.13 Paramètres des Cookies</h4>
+<a name="admin_cookie_name"></a>
+<h4>Nom du cookie utilisé par le script (si vous utilisez l'intégration avec un forum, vérifiez que les cookies sont différents)</h4>
+<p>La valeur par défaut est &quot;cpg140&quot;. Même si vous avez différentes versions du script tournant sur le mêm serveur vous pouvez laisser la valeur par défaut.<br /><span class="important">Si vous utilisez une intégration avec un forum, vérifiez qu'elle <b>diffère</b> du nom du cookie du forum</span></p>
+<a name="admin_cookie_name_end"></a>
+<a name="admin_cookie_path"></a>
+<h4> Chemin du cookie utilisé par le script</h4>
+<p>La valeur pa défaut est "/". Ne changez pas cette valeur si vous ne savez pas ce que vous faites. Il vous permettra de vous idendifier.</p>
+<p>Si vous avez endomagé votre galerie en modifiant cette valeur, utilisez phpMyAdmin pour éditer la table xxxx_config dans votre base de donnée et restaurez la valeur par défaut. </p>
+<p>Si vous utilisez une intégration de forum avec Coppermine, assurez vous d'utiliser <b>différents</b> noms de cookies pour Coppermine et pour votre forum! Le chemin dans les deux applications doivent être définis afin que Coppermine puisse lire les deux. Habituellement la valeur par défaut &quot;<tt class="code">/</tt>&quot; devrait être paramétré de manière identique pour Coppermine et pour le forum avec lequel il est intégré.</p>
+<a name="admin_cookie_path_end"></a>
+<p><a class="back" href="#top">Haut de page</a></p><hr />
+<a name="admin_email"></a>
+<h4>4.12.14 Paramètres Pour les Courriels</h4>
+<p>Habituellement rien n'a a être changé; laissez tous les champs vides si vous n'êtes pas sur. Vous ne devez changer ces paramètres que si vous rencontrez des problèmes (par exemple si les cartes postales électroniques, les informations d'enregistrement ou les notifications ne sont pas envoyés). Coppermine lui-même n'inclue pas de moteur d'envoie de mails, il passe le relais au serveur qui est capable de le faire (en utilisant un méchanismes inclu dans PHP). Si vous ne savez pas ce qu'il faut entrer, contactez votre hébergeur pour de l'aide.</p>
+<h4> Serveur SMTP</h4>
+<p>Le nom de serveur <acronym title="Simple Mail Transfer Protocol">SMTP</acronym><br />
+Si vous laissez le champ vide, sendmail (ou equivalent) sera utilisé pour envoyerles courriels depuis votre serveur. Sendmail existe sur la plupars des serveurs Unix/Linux. Si vous spécifiez un serveur SMTP, Coppermine essayera d'envoyer le courriel en utilisant SMTP (C'est habituellement necessaire sur les serveurs Windows).</p>
+<p class="small">[cpg1.4.0 ou supérieur requis]</p>
+<h4> Nom utilisateur SMTP</h4>
+<p>C'est nom d'utilisateur qui vous authentifie sur le serveur SMTP (Ce n'est <b>pas</b> votre nom dutilisateur administrateur de Coppermine.</p>
+<p class="small">[cpg1.4.0 ou supérieur requis]</p>
+<h4> Mot de passe SMTP</h4>
+<p>C'est le mot de passe qui va avec le nom d'utilisateur mentionné ci-dessus, ce n'est (<b>pas</b> le même que votre mot de passe administarteur de Coppermine).</p>
+<p class="small">[cpg1.4.0 ou supérieur requis]</p>
+<a name="admin_email_end"></a>
+<p><a class="back" href="#top">Haut de page</a></p><hr />
+<a name="admin_logging"></a>
+<h3>4.12.15 Logs et statistiques</h3>
+<p>Comme tous les logs (ces données seront éffacées si l'option d'enregistrement est désactivée), la fonction d'enregistrement de Coppremine impacte  les performances, l'espace de stockage des données et la base de donnée. Vous devriez réfléchir si vous avez réellement besoin de ces enregistrements avant d'activer cette fonction. Ces enregistrements ne sont utiles que si un administrateur les regarde.</p>
+<a name="admin_logging_log_mode"></a>
+<h4> Mode d'enregistrement </h4>
+<p>Défini, quelle sortes d'enregistrements vous voulez activer. Cette fonction enregistre tous les changements qui ont lieu dans la base de donnée de Coppermine, ce qui est très utile si vous êtes en train d'essayer de débbuger ou si il y a plusieurs administrateurs pour la galerie.<br />
+Tous les fichiers log sont en Anglais</p>
+<p class="small">[cpg1.4.0 ou supérieur requis]</p>
+<a name="admin_logging_log_mode_end"></a>
+<a name="admin_general_log_ecards"></a>
+<h4> Enregistrer les envois de cartes électroniques</h4>
+<p>Si activé, toutes les cartes postales électroniques envoyées sont aussi écrites dans la base de donnée, et l'administrateur de Coppermine pourra les visualiser. Avant de basculer cette option sur OUI, assurez vous que l'enregistrement de ces données est légal dans votre pays. Il est conseillé de prévenir vos utilisateurs que toutes les cartes postales électroniques sont enregistrées (de préférence sur la page d'inscription).</p>
+<p class="small">[cpg1.3.0 ou supérieur requis]</p>
+<a name="admin_general_log_ecards_end"></a>
+<a name="admin_logging_votedetails"></a>
+<h4> Enregistrer le détails des statistiques de vote</h4>
+<p>
+  Activer cette option enregistre:</p>
+  <ol>
+    <li>Chaque vote séparément</li>
+    <li>L'adresse IP</li>
+    <li>La provenance</li>
+    <li>Le navigateur</li>
+    <li>Le système d'exploitation</li>
+  </ol>
+   <p>du "voteur".</p>
+   <p>Comme les statistiques sont gardées par le biais de fichiers, Le lien vers les statistiques peut être accessible individuellement sur la page du fichier (displayimage.php). En cliquant sur le lien dans la section information sur le fichier une fenêtre affichant les statistiques du fichier.</p>
+<p>
+  <span class="important">Important: Le total des votes peut ne pas être correct si vous activez détails et que vous ne réinitialisez pas les votes précédents.</span>
+</p>
+<a name="admin_logging_votedetails_end"></a>
+<a name="admin_logging_hitdetails"></a>
+<h4>Enregistre les statistiques détaillées d'accès</h4>
+<p>
+  Activer ces otpions enregistre:</p>
+  <ol>
+    <li>Chaque vote séparément</li>
+    <li>L'adresse IP</li>
+    <li>Le mot clé de recherche, si l'afluent est Google, Yahoo! or Lycos</li>
+    <li>l'afluent</li>
+    <li>Le navigateur</li>
+    <li>Le système d'exploitation</li>
+  </ol>
+   <p>du visiteur.</p>
+   <p>Comme les statistiques sont gardées par le biais de fichiers, Le lien vers les statistiques peut être accessible individuellement sur la page du fichier (displayimage.php). En cliquant sur le lien dans la section information sur le fichier une fenêtre affichant les statistiques du fichier.</p>
+<p>
+  <span class="important">Important: Le total des votes peut ne pas être correct si vous activez détails et que vous ne réinitialisez pas les votes précédents.</span>
+</p>
+<a name="admin_logging_hitdetails_end"></a>
+<a name="admin_logging_end"></a>
+<p><a class="back" href="#top">Haut de page</a></p><hr />
+
+<a name="admin_misc"></a>
+<h3>4.12.16 Paramètres de la maintenance</h3>
+<a name="debug_mode"></a>
+<h4> Activer le mode débogage</h4>
+<p>CPG montrera les messages d'erreur qui sont normalement supprimés.  Celà aide à la résoultion des problèmes de votre galerie lorsque vous demandez de l'aide sur le <a href="http://coppermine.sourceforge.net/board/">Forum d'aide de Coppermine</a>. Laissez cette option sur Non si vous n'avez pas de problème.</p>
+<p>Mettez la sur OUI (option &quot;Tout le monde&quot;) si vous demandez de l'aide sur le <a href="http://coppermine.sourceforge.net/board/">forum d'aide de Coppermine</a>, afin que ceux qui veulent vous aider puissent voir les informations de débogage. Choisissez l'option &quot;seulement l'administrateur&quot; si vous voulez localiser l'incident vous même - les informations de débogage ne seront visible que si vous vous identifiez comme administrateur, les autres utilisateurs ou visiteurs ne les verront pas.</p>
+<a name="admin_misc_debug_notices"></a>
+<h4> Afficher les avertissements dans le mode débogage</h4>
+<p>Peut être utile pour localiser les incidents avec votre installation de Coppermine - Uniquement recommendé si vous connaissez un peu PHP pour comprendre les messages d'erreur additionnels affichés par cette option. Cette option ne s'applique que si le mode de débogage est activé.</p>
+<a name="admin_misc_debug_notices_end"></a>
+<a name="debug_mode_end"></a>
+
+<a name="admin_general_offline"></a>
+<h4> La galerie est hors ligne</h4>
+<p>Si vous devez faire des travaux de maintenance sur votre galerie, basculez en mode hors ligne. Seuls les membres du groupe administrateur pourrons s'identifier, tous les autres utilisateurs ne verrons que &quot;La galerie est hors ligne&quot;. Pensez à rebasculer cette option lorsque la maintenance est terminée.</p>
+<p class="small">[cpg1.3.0 ou supérieur requis]</p>
+<a name="admin_general_offline_end"></a>
+
+<p><a class="back" href="#top">Haut de page</a></p><hr />
+<a name="exif"></a>
+<h2>4.12 Données EXIF</h2>
+<p>Les format "Exchangeable image file" (Exif) est une spécificité pour les fichiers au format image utilisés par les appareils photos numériques par l'addition de
+"méta datas" spécifiques. Ces "méta datas" sont écrites par l'appareil photo et peuvent
+être utilisées par certaines applications ensuite. Coppermine est
+capable d'afficher certaines de ces données EXIF dans la section d'information des images
+, comme des informations concernant la date et l'heure, les règlages de l'appareil photo, des informations sur la localisation
+, des descriptions et des informations sur le copyright .<br>
+<img src="pics/fr_exif_data_cpg1.jpg" alt="Exif data in pic info section" border="0" height="202" width="400">
+</p>
+
+<a name="exif_manager"></a>
+<h2>4.12.1 Gestionnaire d'EXIF </h2>
+<p><img src="pics/fr_exifmanager_cpg1.gif" alt="" align="right" border="0" height="439" width="600">CPG1.4.x
+(ou supérieur) est livré avec un gestionnaire de données EXIF permettant à l'administrateur de la galerie Coppermine
+de décider quelles données EXIF seront montrées par Coppermine.
+Notez: Si les données EXIF n'existent pas dans certaines images,
+coppermine ne sera bien entendu pas capable de les montrer. Coppermine n'est pas
+un éditeur de données EXIF - il affiche seulement celles qui existent dans vos images
+.<br>
+Pour acceder au gestionnaire d'EXIF, allez dans la page de configuration de Coppermine et cliquez sur le lien de la section <a href="#admin_picture_thumb_advanced">Paramètres avancés des images et vignettes</a>  "Administrer l'affichafe des EXIFS" à côté de la ligne "<a href="#admin_picture_thumb_advanced_exif">Lire les données EXIF dans les fichiers JPEG</a>". Vous pouvez aussi entre directement http://votresite.com/votre_repertoire_coppermine/exifmgr.php dans la barre d'adresse de votre navigateur.</p>
+<p>Cochez les cases dans le gestionnaire d'EXIF devant les informations que vous voulez montrer dans
+la section d'informations sur l'image de Coppermine(si le fichier image contient ces informations).</p>
+<br clear="all">
+
+<p><a class="back" href="#top">Haut de page</a></p><hr>
+<a name="integrating"></a>
+<h1>5. Intégration du script avec votre forum</h1>
+<a name="integrating_bridge_start"></a>
+<h2>5.1 Fichiers d'intégration disponibles</h2>
+<p>Coppermine peut s'intégrer avec les forums suivant (Coppermine et votre forum vont partager la même base de donnée utilisateurs).</p>
+<ul>
+  <li>eBlah</li>
+  <li>Invision Power Board</li>
+  <li>Mambo</li>
+  <li>MyBB</li>
+  <li>phpBB 2</li>
+  <li>PunBB</li>
+  <li>SMF</li>
+  <li>vBulletin</li>
+  <li>XMB</li>
+  <li>Xoops2</li>
+</ul>
+
+<a name="integrating_bridge_end"></a>
+
+<a name="integrating_prerequisites_start"></a>
+<h2>5.2 Pre-requis</h2>
+
+<a name="integrating_cookie_start"></a>
+<h3>5.2.1 Autentification par cookie</h3>
+<p>Le loggin d'intégration utilise le cookie de votre forum, donc il ne pourra pas fonctionner si le cookie de votre forum n'est pas visible par  Coppermine. Donc, sauf si vous êtes un espert, faites les choses simplement et installez Coppermine et votre forum sur le même domaine. Exemples :</p>
+<table border="0" cellspacing="5" cellpadding="5" class="border1">
+<tr>
+<td>Cela <b>va</b> fonctionner:</td>
+<td>Cela <b class="important">ne va pas</b> fonctionner</td>
+</tr>
+<tr>
+<td class="code">Forum: http://votresite.com/forum/<br />
+Coppermine: http://votresite.com/galerie/</td>
+<td class="code">Forum: http://forum.votresite.com/<br />
+Coppermine: http://galerie.votresite.com/</td>
+</tr>
+</table>
+<p>Le chemin du cookie dans la page de configuration du forum devrait être parametré à  '/' la ou cette option est disponible.</p>
+<p><span class="important">Important</span>: Le nom du cookie de votre forum et de Coppermine ne doivent <b>pas</b> être les mêmes - ils <b>doivent</b> être différents!</p>
+<a name="integrating_cookie_end"></a>
+
+<a name="integrating_standalone_start"></a>
+<h3>5.2.2 Version autonome d'abord</h3>
+<p>Pour éviter les confusions, assurez vous de configurer Coppermine et votre forum en fonctionnement autonome en premier. Vérifiez que les deux fonctionnent correctement sans intégration. Testez toutes les fonctions de coppermine (comme les téléchargements, l'enregistrement etc.) lorsque  Coppermine est installé, avant même de commencer l'intégration.</p>
+<a name="integrating_standalone_end"></a>
+
+<a name="integrating_users_start"></a>
+<h3>5.2.3 Les utilisateur, groupes et images téléchargées par les utilisateurs de Coppermine sont perdues lors de l'intégration</h3>
+<p><span class="important">Attention:</span> Si vous avez déjà des utilisateurs et des groupes personnalisés dans votre base de donnée Coppermine lorsque vous activez l'intégration avec votre forum, soyez concients qu'ils vont être perdus. Si vos utilisateurs ont déjà crée des albums privés et téléchargé des images, elles vont être perdues également!</p>
+<a name="integrating_users_end"></a>
+
+<a name="integrating_backup_start"></a>
+<h3>5.2.4 Sauvegarde</h3>
+<p><span class="important">Sauvegardez</span>: Il est très important de faire uen sauvegarde de votre base de donnée Coppermine et de vos fichiers avant d'activer l'intégration, vous pourrez ainsi revenir en arrière si elle échoue.</p>
+<p>De toute façon vous êtes encouragés à faire une sauvegarde régulière de votre base de donnée, spécialement avant d'appliquer des changements dans le code (installation de mod/hack par exemple).</p>
+<a name="integrating_backup_end"></a>
+
+<a name="integrating_prerequisites_end"></a>
+
+<a name="integrating_steps_start"></a>
+<h2>5.3 Etapes de l'intégration</h2>
+<p>Depuis cpg1.4.x vous pouvez utiliser le <a href="#bridge_manager_start">Gestionnaire d'intégration</a> qui vous permettra d'activer/désactiver l'intégration par le biais d'un assistant.</p>
+
+<a name="bridge_manager_start"></a>
+<h3>5.3.1 Utilisation du gestionnaire d'intégration (bridge)</h3>
+<p>Le gestionnaire d'intégration est une nouvelle fonction dans cpg1.4, il n'est pas disponible dans les versions antérieures. A la place d'éditer manuellement les fichiers codes de Coppermine, vous pouvez activer/désactiver l'intégration depuis votre navigateur, en utilisant un assitant. pour démarer le gestionnaire d'intégration, identifiez vous comme administrateur, Choisissez &quot;Utiliatires&quot; dans le menu et le  &quot;gestionnaire d'intégration&quot;</p>
+<p><img src="pics/fr_bridge_01_start.gif"  border="0" alt=""  /></p>
+<p>Si vous lancez le gestionnaire d'intégration pour la première fois, il n'y aura qu'un seul bouton qui vous permettra de démarer l'assistant</p>
+<p>(Si vous retournez dans le gestionnaire d'intégration plus tard, vous aurez des cases de choix permettant d'activer/désactiver l'intégration) cliquez dessus.</p>
+<p class="important">Notez: a chaque étape de l'assistant d'intégration, des informations sont écrites dans la base de donnée de Coppermine. Contrairement à d'autre assistants (la plupars sur votre ordinateur), le gestionnaire d'intégration n'a pas de bouton&quot;&quot;annuler&quot;! Une fois que vous avez activé l'intégration et que tout fonctionne bien, vous ne devriez changer aucune valeur juste par curiosité, comme elles seront écrites dans la base de donnée, il se pourrait que l'intégration, qui fonctionnait jusque là, ne fonctionne plus du tout après avoir &quot;joué&quot; avec elles.<br clear="all" /></p>
+<p><img src="pics/fr_bridge_02_app.gif"  border="0" alt=""  /></p>
+<p>Dans la première étape de l'assistant &quot;choisissez l'application avec laquelle vous souhaitez intégrer Coppermine&quot;, vous devez choisir l'application à brideger avec Coppermine. Notez que vous <b>devez</b> avoir cette application déjà installée sur votre serveur, elle doit être correctement configurée et doit fonctionner. N'utilisez pas le gestionnaire d'intégration si vous avez <i>projeté</i> de la faire plus tard .</p>
+<p>Si vous avec un fichier personnalisé d'intégration qui n'est pas disponible dans l'assistant, choisissez le bouton radio à côté du champ texte et entrez le nom de votre fichier ici, sans l'extention &quot;.inc.php&quot; (le fichier d'intégration doit être placé dans le sous-répertoire &quot;bridge&quot;) de Coppermine.<br />
+Cliquez sur &quot;suivant&quot;</p>
+<p>L'étape suivante dépends de l'application que vous avez choisi : certaines applications ont besoin que des <acronym title="Uniform Resource Locator">URL</acronym>s soient entrées, ou des chemine d'accès. Certaines ont besoins que l'on entre desinformations sur les tables mySQL ou sur les cookies, d'autres pas. L'assistant ne vous &quot;demandera&quot; que les parapètres appropriés pour votre application - si l'un ou l'autre point des explications suivantes ne s'appliquent pas à votre application, ne vous affolez pas - ne suivez que les informations adéquates et cliquez sur &quot;suivant&quot;. Toutefois, vous devez comprendre que Coppermine ne peut vérifier que certaines entrées - certaines entrées seront invalidées.</p>
+<p>Si un bouton d'annulation (<img src="../images/flags/reset.gif" width="16" height="11" border="0" alt="" />) est affiché près d'un champ de formulaire, ce champ n'a pas de valeur par défaut. Il est peut être normal qu'il n'y en ait pas dans un champ, toutefois, rappelez vous que si vous avez &quot;joué&quot; avec le gestionnaire de bridge auparavant, les paramètres précédents qui apparaissent dans un champ ne sont pas corrects - ne sautez pas une étape rapidement sans faire attention à celà. Utilisez le bouton de réinitialisation pour remettre la valeur par défaut (par necessairement  &quot;la bonne&quot; valeur par défaut).<br clear="all" /></p>
+<a name="bridge_manager_app_start"></a>
+<h4>5.3.1.1 Choisir une application à intégrer avec Coppermine</h4>
+<ul>
+<ul>
+  <li>eBlah</li>
+  <li>Invision Power Board</li>
+  <li>Mambo</li>
+  <li>MyBB</li>
+  <li>phpBB 2</li>
+  <li>PunBB</li>
+  <li>SMF</li>
+  <li>vBulletin</li>
+  <li>XMB</li>
+  <li>Xoops2</li>
+</ul>
+</ul>
+<a name="bridge_manager_app_end"></a>
+<a name="bridge_manager_path_start"></a>
+<h4>5.3.1.2 Chemin(s) utilisé par votre forum</h4>
+<ul>
+<li><b>URL du forum</b><br />
+L'adresse URL complète de votre forum (incluant http://, exemple: http://www.votresite.com/forum/)</li>
+<li><b>Chemin relatif du forum</b><br />
+Le chemin relatif d'accès au forum depuis la racine de votre site (Exemple: si votre l'adresse de votre forum est http://www.votresite.com/forum/, entrez "/forum/" dans ce champ)</li>
+<li><b>Chemin relatif du fichier de configuration de votre forum</b><br />
+Chemin relatif vers votre forum, vu depuis le répertoire de Coppermine (exemple: "../forum/" si votre forum se trouve à  http://www.votresite.com/forum/ et Coppermine à http://www.votresite.com/gallery/)</li>
+</ul>
+<a name="bridge_manager_path_end"></a>
+<a name="bridge_manager_specific_start"></a>
+<h4>5.3.1.3 Paramètres spécifiques de votre forum</h4>
+<ul>
+<li><b> Utiliser les groupes basés sur le nombre de messages ?</b><br />
+Est ce que Coppermine doit importer les groupes spéciaux existant dans le forum ? Si vous délectionnez NON, alors Coppermine utilisera les groupes standards (Administrateur, Enregistrés and Anonymes) ce qui permets une administration plus facile ce qui est recommandé. Vous pourrez changer ces parametres plus tard.</li>
+</ul>
+<a name="bridge_manager_specific_end"></a>
+<a name="bridge_manager_enable_start"></a>
+<h4>5.3.1.4 activer/désactiver l'intégration du forum</h4>
+<p>C'est la dernière étape du gestionnaire d'intégration - il récapiltule les paramétrages que vous avez faits dans les étapes précédentes - vous pouvez activer ou désactiver l'intégration ici. Par défaut, l'intégration est paramétrée à  &quot;désactivé&quot; après que le gestionnaire d'intégration a été lancé pour la première fois. Vous devrez activer l'intégration avec votre forum uniquement si vous êtes surque votre forum est parametré correctement. Cliquez sur le bouton &quot;Terminer&quot; dans tous les cas pour enfin écrire dans la base de donnée, même si vous laissez le paramétrage actuel (laisser l'intégration sur &quot;désactivé&quot;).</p>
+<ul>
+<li><b>Active l'intégration avec XXX</b></li>
+</ul>
+<a name="bridge_manager_enable_end"></a>
+<p class="small">[cpg1.4.0 ou supérieur requis]</p>
+<a name="bridge_manager_end"></a>
+<p><a class="back" href="#top">Haut de page</a></p><hr />
+
+<a name="bridge_manager_recover_start"></a>
+<h3>5.3.2 Restauration après une erreur d'intégration</h3>
+<p>Si vous avez défini de mauvais paramètres dans le gestionnaire d'intégration, votre integration peut échouer, avec pour résultat (dans le pire des cas) une situation l'intégration est activée, mais vous ne pouvez plus vous identifier comme administrateur pour la désactiver à nouveau (par exemple si vous avez défini de mauvais paramétrage de cookie ce qui arrète l'autentification). Pour ces situation le gestionnaire d'intégration comprends une fonction de restauration: si vous n'êtes pas identifié comme administrateur de Coppermine (en fait vous n'êtes pas du tout identifiés) vous pouvez acceder à l'URL de votre gestionnaire d'intégration (http://votresite.com/votre_repertoire_coppermine/bridgemgr.php) en l'entrant manuellement dans la barre d'adresse de votre navigateur, il vous est demandé d'entre vos identifiants administrateur - utilisez les identifiants que vous avez définis lors de l'installation de Coppermine (les identifiants de la version autonome). Celà ne vous identifieras pas, mais désactiveras l'intégration, de sorte que vous puissiez modifier les mauvais paramètres d'intégration. Pour éviter que d'autres essayent de deviner vos identifiants administrateurs, il y a un seuil maximum d'essai inffructueux qui s'incrémente à chaque fois que vous entrez de mauvais identifiants, saisissez donc vos identifiants avec soin.</p>
+<p class="small">[cpg1.4.0 ou supérieur requis]</p>
+<a name="bridge_manager_recover_end"></a>
+<p><a class="back" href="#top">Haut de page</a></p><hr />
+
+
+<a name="integrating_steps_sync_start"></a>
+<h3>5.3.3 Syncroniser les groupes du forum avec ceux de Coppermine</h3>
+<p>Identifiez vous comme administrateur sur votre forum. Allez dans la galerie, passez en mode administrateur et cliquez sur le bouton &quot;Groupes&quot;. Cela va syncroniser le groupes Coppermine avec ceux de votre forum. Les droits que vous verrez pour chaque groupe seront complêtement désordonnés, prenez le temps de les reparametre correctement.</p>
+<p>Chaque fois que vous ajoutez ou supprimez un groupe de votre forum vous devez refaire cette opération afin de maintenir la syncronisation des groupes.</p>
+<p>Si vous essayez de vous inden ou de gérer les utilisateurs de Coppermine, vous serez redirigé vers la page correspondante de votre forum. Par contre lorsque l'identification ou la sortie du mode administrateur est faite depuis le forum, vous ne serez pas redirigé automatiquement vers la galerie, le forum n'ayant pas de fonction pour cela. Il vous appartient d'ajouter un lien vers votre galerie sur votre forum.</p>
+<a name="integrating_steps_sync_end"></a>
+<a name="integrating_steps_end"></a>
+<a name="integrating_end"></a>
+<p><a class="back" href="#top">Haut de page</a></p><hr />
+
+<a name="translating"></a>
+<h1>6. Traduction de Coppermine dans d'autres langues</h1>
+<p>Coppermine a des fichiers language séparés ce qui facilite grandement la traduction du programme. Les fichiers languages sont palcés dans le répertoire <b>lang </b>. Les fichiers avec le suffixe <b>utf-8</b> sont des fichiers unicode. Ils sont générés automatiquement par le programme <a href="http://www.iconv.com/iconv.htm" class="external">iconv</a>, donc vous n'avez pas besoin de faire de version unicode de votre traduction.</p>
+<p>Si vous sélectinnez un fichier language utf-8 comme lague par défaut, le programme pourra sélectionner automatiquement le language en fonction du paramétrage du navigateur de votre visiteur. Par exemple si le fichier language par défaut est danish-utf-8 et qu'un visiteur anglais accède à la galerie, c'est le fichier language english-utf-8 qui sera utilisé par le script.</p>
+<p> Si vous avez traduit  Coppermine dans une langue pas encore existante, lisez le <a href="translation.htm">guide du traducteur</a> et visitez le <a href="http://coppermine.sourceforge.net/board/index.php?topic=4623.0">site web Coppermine</a> sur Sourceforge et suivez les instructions pour soumettre votre fichier langue.</p>
+<p></p>
+<p><a class="back" href="#top">Haut de page</a></p><hr />
+
+<a name="known_issues"></a>
+<h1>7. Problèmes connus</h1>
+<p>Les petites bizzareries et minuscules problèmes suivants sont connus et seront fixés dans les futures versions.</p>
+<ul>
+        <li>Certains petits textes ne sont disponibles qu'ne anglais, exemple: picEditor. (Problème de langue)</li>
+        <li>La documentation (ce document) et la <a href="faq.htm">FAQ</a> sont incomplets.</li>
+        <li>Les <a href="http://coppermine.sourceforge.net/board/index.php?topic=1866.0">flêches utilisées pour la navigation</a> d'une image à une autre sont inversés dans les fichiers language rtl</li>
+                <li class="important">Comme vous êtes en train d'utiliser une version béta de coppermine 1.4, il y a d'autres problèmes connus en discussion sur le forum <a href="http://coppermine.sourceforge.net/board/index.php?board=29.0">CPG 1.4 Testing/Bugs</a>. S'il vous plais, référez vous à ce forum pour plus d'informations.</li>
+</ul>
+<p><a class="back" href="#top">Haut de page</a></p><hr />
+
+<a name="credits"></a>
+<h1>8. Credits</h1>
+<a name="developers"></a>
+<h2>8.1 L'equipe Coppermine </h2>
+<!-- Team Member sort order: GROUP BY 'status' ORDER BY 'position' IN THIS ORDER (Proj Mgr,Lead dev,Developer,Supporter,tester,other), 'username' ASC -->
+<table border="0" cellspacing="6" cellpadding="4">
+  <tr>
+    <td><strong>Developeur</strong></td>
+    <td><strong>Pseudo</strong></td>
+    <td><strong>Role/Position</strong></td>
+    <td><strong>Status</strong></td>
+  </tr>
+  <tr>
+    <td>Joachim M&uuml;ller</td>
+    <td><a href="http://coppermine.sourceforge.net/board/index.php?action=profile;u=2">gaugau</a></td>
+    <td>Chef de Projet</td>
+    <td>actif</td>
+  </tr>
+  <tr>
+    <td>Dr Tarique Sani</td>
+    <td><a href="http://coppermine.sourceforge.net/board/index.php?action=profile;u=4">tarique</a></td>
+    <td>Développeur principal </td>
+    <td>actif</td>
+  </tr>
+  <tr>
+    <td>Abbas Ali</td>
+    <td><a href="http://coppermine.sourceforge.net/board/index.php?action=profile;u=11737">abbas</a></td>
+    <td>Developeur</td>
+    <td>actif</td>
+  </tr>
+  <tr>
+    <td>Aditya Mooley</td>
+    <td><a href="http://coppermine.sourceforge.net/board/index.php?action=profile;u=5957">Aditya</a></td>
+    <td>Developeur</td>
+    <td>actif</td>
+  </tr>
+  <tr>
+    <td>Maarten Hagoort</td>
+    <td><a href="http://coppermine.sourceforge.net/board/index.php?action=profile;u=404">DJ Maze</a></td>
+    <td>Developeur (nuke team)</td>
+    <td>actif</td>
+  </tr>
+  <tr>
+    <td>Donovan Bray</td>
+    <td><a href="http://coppermine.sourceforge.net/board/index.php?action=profile;u=10059">donnoman</a></td>
+    <td>Developeur</td>
+    <td>actif</td>
+  </tr>
+  <tr>
+    <td>Eyal Zvi</td>
+    <td><a href="http://coppermine.sourceforge.net/board/index.php?action=profile;u=94">EZ</a></td>
+    <td>Developeur</td>
+    <td>actif</td>
+  </tr>
+  <tr>
+    <td>Tommy Atkinson</td>
+    <td><a href="http://coppermine.sourceforge.net/board/index.php?action=profile;u=941">Nibbler</a></td>
+    <td>Developeur</td>
+    <td>actif</td>
+  </tr>
+  <tr>
+    <td>Christopher Brown-Floyd</td>
+    <td><a href="http://coppermine.sourceforge.net/board/index.php?action=profile;u=1874">omniscientdeveloper</a></td>
+    <td>Developeur</td>
+    <td>actif</td>
+  </tr>
+  <tr>
+    <td>Clive Leech</td>
+    <td><a href="http://coppermine.sourceforge.net/board/index.php?action=profile;u=56">casper</a></td>
+    <td>Supporter</td>
+    <td>actif</td>
+  </tr>
+  <tr>
+    <td>Dave Kazebeer</td>
+    <td><a href="http://coppermine.sourceforge.net/board/index.php?action=profile;u=7">kegobeer</a></td>
+    <td>Supporter</td>
+    <td>actif</td>
+  </tr>
+  <tr>
+    <td>Thu Tu</td>
+    <td><a href="http://coppermine.sourceforge.net/board/index.php?action=profile;u=7792">TranzNDance</a></td>
+    <td>Supporter</td>
+    <td>actif</td>
+  </tr>
+  <tr>
+    <td>Andreas Ellsel</td>
+    <td><a href="http://coppermine.sourceforge.net/board/index.php?action=profile;u=898">Andi</a></td>
+    <td>Testeur</td>
+    <td>actif</td>
+  </tr>
+  <tr>
+    <td><strong>Developeur</strong></td>
+    <td><strong>Pseudo</strong></td>
+    <td><strong>Role/Position</strong></td>
+    <td><strong>Status</strong></td>
+  </tr>
+  <tr>
+    <td>Gr&eacute;gory Demar</td>
+    <td><a href="http://coppermine.sourceforge.net/board/index.php?action=profile;u=259">Greg</a></td>
+    <td>Créateur originel de Coppermine</td>
+    <td>retiré</td>
+  </tr>
+  <tr>
+    <td>Jack</td>
+    <td><a href="http://coppermine.sourceforge.net/board/index.php?action=profile;u=6">datajack</a></td>
+    <td>Developeur</td>
+    <td>retiré</td>
+  </tr>
+  <tr>
+    <td>DJ Axion</td>
+    <td><a href="http://coppermine.sourceforge.net/board/index.php?action=profile;u=9">djaxion</a></td>
+    <td>Developeur</td>
+    <td>retiré</td>
+  </tr>
+  <tr>
+    <td>Scott Gahres</td>
+    <td><a href="http://coppermine.sourceforge.net/board/index.php?action=profile;u=66">gtroll</a></td>
+    <td>Developeur</td>
+    <td>retiré</td>
+  </tr>
+  <tr>
+    <td>Hyperion</td>
+    <td><a href="http://coppermine.sourceforge.net/board/index.php?action=profile;u=125">hyperion01</a></td>
+    <td>Developeur</td>
+    <td>retiré</td>
+  </tr>
+  <tr>
+    <td>John Asendorf</td>
+    <td><a href="http://coppermine.sourceforge.net/board/index.php?action=profile;u=30">jasendorf</a></td>
+    <td>Developeur</td>
+    <td>retiré</td>
+  </tr>
+  <tr>
+    <td>Jay Hao-En Liu</td>
+    <td><a href="http://coppermine.sourceforge.net/board/index.php?action=profile;u=59">Oasis</a></td>
+    <td>Developeur</td>
+    <td>retiré</td>
+  </tr>
+  <tr>
+    <td>Timothy</td>
+    <td><a href="http://coppermine.sourceforge.net/board/index.php?action=profile;u=6949">skybax</a></td>
+    <td>Developeur</td>
+    <td>retiré</td>
+  </tr>
+  <tr>
+    <td>David Holm</td>
+    <td><a href="http://coppermine.sourceforge.net/board/index.php?action=profile;u=14">wormie_dk</a></td>
+    <td>Developeur</td>
+    <td>retiré</td>
+  </tr>
+  <tr>
+    <td>Mark Zerr</td>
+    <td><a href="http://coppermine.sourceforge.net/board/index.php?action=profile;u=11">zarsky99</a></td>
+    <td>Testeur</td>
+    <td>retiré</td>
+  </tr>
+  <tr>
+    <td>mitirapa</td>
+    <td><a href="http://coppermine.sourceforge.net/board/index.php?action=profile;u=133">mitirapa</a></td>
+    <td>Porter (Cross Platform Devel.)</td>
+    <td>retiré</td>
+  </tr>
+  <tr>
+    <td>Moorey</td>
+    <td><a href="http://coppermine.sourceforge.net/board/index.php?action=profile;u=13">moorey</a></td>
+    <td>Web Designer</td>
+    <td>retiré</td>
+  </tr>
+</table>
+<p><a class="back" href="#top">Haut de page</a></p><hr />
+
+<a name="contributors"></a>
+<h2>8.2 Contributeurs</h2>
+<table border="0" cellspacing="6" cellpadding="4">
+<tr>
+  <td><a href="http://coppermine.sourceforge.net/board/index.php?action=profile;u=101">DaMysterious</a></td>
+  <td>DaMysterious a crée beaucoups de thèmes fantastiques pour Coppermine</td>
+</tr>
+<tr>
+  <td><a href="http://coppermine.sourceforge.net/board/index.php?action=profile;u=1399">Nanobot</a></td>
+  <td>Doug a réalisé le fichier d'intégration pour vBulletin v3</td>
+</tr>
+<tr>
+  <td><a href="http://www.sanisoft.com/aboutus.php3">Girish Nair</a></td>
+  <td>Girish a contribué à la fonctione film strip</td>
+</tr>
+<tr>
+  <td><a href="http://coppermine.sourceforge.net/board/index.php?action=profile;u=378">Jason Kawaja</a></td>
+  <td>Jason a réalisé le hack <a href="http://coppermine.sourceforge.net/board/index.php?topic=1985.0">memberlist</a></td>
+</tr>
+</table>
+<p><a class="back" href="#top">Haut de page</a></p><hr />
+
+<a name="codebase"></a>
+<h2>8.3 Coppermine utilise le code des logiciels libres suivant :</h2>
+<p><b>phpBB</b><br />
+  Auteur: phpBBGroup <br />
+  URL: <a href="http://www.phpbb.com/">http://www.phpbb.com/</a><br />
+</p>
+<p><b>phpMyAdmin</b><br />
+  Auteur: phpMyAdmin devel team<br />
+  URL: <a href="http://www.phpmyadmin.net/">http://www.phpmyadmin.net/</a><br />
+</p>
+<p><b>phpPhotoAlbum</b><br />
+  Auteur: Henning St&oslash;verud<br />
+  E-mail: henning AT stoverud DOT com<br />
+  URL: <a href="http://www.stoverud.com/PHPhotoalbum/">http://www.stoverud.com/PHPhotoalbum/</a><br />
+</p>
+<p><b>DOM Tooltip 0.6.0</b><br />
+  Auteur: Dan Allen<br />
+  E-mail: dan AT mojavelinux DOT com<br />
+  URL: <a href="http://www.mojavelinux.com/forum/viewtopic.php?t=127">http://www.mojavelinux.com/forum/viewtopic.php?t=127</a><br />
+  Note: DOM Tooltip, which is being used with the theme &quot;styleguide&quot; only, is released under <a href="http://www.gnu.org/copyleft/lesser.html">LGPL</a><br />
+</p>
+<p><b>TAR/GZIP/ZIP Archive Classes</b><br />
+  Auteur: Devin Doucette<br />
+  E-mail: darksnoopy AT shaw DOT ca<br />
+</p>
+
+<p><b>Exifixer</b><br />
+  Auteur: Jake Olefsky<br />
+  URL: <a href="http://www.offsky.com/software/exif/index.php">http://www.offsky.com/software/exif/index.php</a><br />
+</p>
+<p><b>Codelifter Slideshow</b><br />
+  URL: <a href="http://www.codelifter.com/">http://www.codelifter.com</a><br />
+</p>
+<p><b>PHPMailer</b><br />
+  Auteur: <a href="http://sourceforge.net/project/memberlist.php?group_id=26031">PHPMailer Team</a><br />
+  URL: <a href="http://phpmailer.sourceforge.net/">http://phpmailer.sourceforge.net/</a><br />
+</p>
+<p><b>PHP Calendar Class Version 1.4</b><br />
+  Auteur: David Wilkinson<br />
+  E-mail: davidw AT cascade DOT org DOT uk<br />
+  URL: <a href="http://www.cascade.org.uk/software/php/calendar/">http://www.cascade.org.uk/software/php/calendar/</a><br />
+</p>
+<p><a class="back" href="#top">Haut de page</a></p><hr />
+
+<a name="copyright"></a>
+<h2>8.4 Copyright et décharge de responsabilité</h2>
+<p>Cette application est un logiciel opensource publié sous licence <a href="http://www.gnu.org/copyleft/gpl.html">GPL</a>.
+</p>
+<p> Parce que l'utilisation de ce Programme est libre et gratuite, aucune garantie n'est fournie, comme le permet la loi. Sauf mention écrite, les détenteurs du copyright et/ou les tiers fournissent le Programme en l'état, sans aucune sorte de garantie explicite ou implicite, y compris les garanties de commercialisation ou d'adaptation dans un but particulier. Vous assumez tous les risques quant à la qualité et aux effets du Programme. Si le Programme est défectueux, Vous assumez le coût de tous les services, corrections ou réparations nécessaires. </p>
+<p>Coppermine Photo Galleryest sous Copyright &copy; 2002 - 2005 Gr&eacute;gory  DEMAR et de l'équipe de développement de Coppermine, Tous droits réservés.<br />
+</p>
+<p><a class="back" href="#top">Haut de page</a></p><hr />
+
+
+      </td></tr></tbody></table>
+</body>
 </html>
\ No newline at end of file
diff -x .svn -aruN 1.4.24.src/docs/index.htm 1.4.25.src/docs/index.htm
--- 1.4.24.src/docs/index.htm	2009-05-25 15:59:16.000000000 -0500
+++ 1.4.25.src/docs/index.htm	2009-06-22 06:57:46.000000000 -0500
@@ -1,3443 +1,3484 @@
-<!doctype html public "-//W3C//DTD HTML 4.01 Transitional//EN">
-<html>
-<head>
-<title>Coppermine Photo Gallery - Documentation &amp; Manual</title>
-<meta http-equiv="content-type" content="text/html; charset=iso-8859-1">
-<meta name="language"    content="en">
-<meta name="author" content="Coppermine dev team">
-<meta name="copyright"   content="Coppermine dev team">
-<meta name="description" content="Coppermine Photo Gallery project - Coppermine is an easily set-up, fast, feature-rich photo gallery script with mySQL database, user management, private galleries, automatic thumbnail creation, ecard feature and a template system for easy customization to match the rest of a site.">
-<meta name="keywords"    content="photo gallery,galery,image,coppermine,php,mysql,easy,feature,thumbnail,automatic,creation,gd,Image Magick,ecard">
-<meta name="page-topic"    content="photo gallery,galery,image,coppermine,php,mysql,easy,feature,thumbnail,automatic,creation,gd,Image Magick,ecard">
-<meta http-equiv="Content-Style-Type" content="text/css">
-<meta name="MSSmartTagsPreventParsing" content="true">
-<meta http-equiv="imagetoolbar" content="no">
-<!--
-  Subversion information (for information and developer purposes only - safe to ignore for everybody else):
-  Coppermine version: 1.4.24
-  $HeadURL: https://coppermine.svn.sourceforge.net/svnroot/coppermine/trunk/cpg1.4.x/docs/index.htm $
-  $Revision: 5993 $
-  $Author: gaugau $
-  $Date: 2009-05-25 22:59:40 +0200 (Mo, 25 Mai 2009) $
--->
-<link rel="stylesheet" type="text/css" href="style.css">
-</head>
-<body>
-<table cellspacing="0" cellpadding="0" width="100%" border="0">
-  <tbody>
-  <tr>
-    <td>
-                        <p><img src="../images/coppermine_logo.png" alt="Coppermine Photo Gallery - Your Online Photo Gallery" />
-<h1>Coppermine Photo Gallery v1.4.24: Documentation and Manual</h1>
-<h1>About Coppermine</h1>
-<p>Coppermine Photo Gallery is an advanced, user-friendly, picture gallery script with built-in support for other multi-media/data files.  The gallery can be private, accessible to registered users only, and/or open to all visitors to your site. Users, if permitted, can upload pictures with their web browser (thumbnail and intermediate sized images are created on the fly), rate pictures, add comments and even send e-cards. The site administrator determines which of the features listed above are accessible by registered and non-registered users. The site administrator can also manage galleries and batch process large numbers of pictures that have been uploaded onto the server by FTP.</p>
-<p>Image files are stored in albums and albums can be grouped into categories, which in turn, can be further grouped under parent categories. The script supports multiple users and provides the administrator of the website with tools to manage which user groups can or cannot have personal albums, send ecards, or add comments. Users may also upload to public albums if the website administrator permits it. Permissions to create albums, upload and delete files are all determined by the website administrator.</p>
-<p>Coppermine has an optional user selectable theme system with a number of themes pre-installed. It also supports the use of multiple languages and contains it's own language library. These language files provide, users of your gallery, access in their preferred languages. Coppermine uses PHP, a MySQL database, and either the GD library (version 1.x or 2.x) or ImageMagick to generate and keep records and file information of all thumbnails, intermediate, and full-sized images. Coppermine generates the html code necessary to display its various categories, sub-categories, albums, intermediate, and full-sized image displays dynamically. This drastically cuts down on the number of files and space your gallery would require using standard HTML. The install script (install.php) makes it quick and easy to get started.</p>
-
-      <a name="top"></a>
-<div id="toc">
-      <h1>Table of contents</h1>
-      <!--<ul class="level1">
-        <li class="level1"><a href="#testVersion" class="menu1">0. Beta (Testing) version</a></li>
-      </ul>-->
-<ul class="level1">
-        <li class="level1"><a href="#what" class="menu1">1. What is required</a></li>
-</ul>
-<ul class="level1">
-
-        <li class="level1"><a href="#installation" class="menu1">2. Installation and setup</a></li>
-</ul>
-        <ul class="level2">
-                <li class="level2"><a href="#how" class="menu2">2.1 How To Install The Script</a></li>
-        </ul>
-                <ul class="level3">
-                  <li class="level3"><a href="#permissions">2.1.1 Setting permissions</a></li>
-                </ul>
-                <ul class="level4">
-                  <li class="level4"><a href="#permissions_chmod">2.1.1.1 Apache on Unix/Linux (CHMOD)</a></li>
-                  <li class="level4"><a href="#permissions_apache_windows">2.1.1.2 Apache on Windows</a></li>
-                  <li class="level4"><a href="#permissions_iis_windows">2.1.1.3 IIS on Windows</a></li>
-                </ul>
-                <ul class="level3">
-                  <li class="level3"><a href="#install_screen_start">2.1.2 The install screen</a></li>
-                  <li class="level3"><a href="#install_what">2.1.3 What the installer does</a></li>
-                </ul>
-        <ul class="level2">
-                <li class="level2"><a href="#getting" class="menu2">2.2 Getting Started</a></li>
-        </ul>
-        <ul class="level3">
-                <li class="level3"><a href="#getting_concepts">2.2.1 Basic concepts</a></li>
-                <li class="level3"><a href="#getting_initial_configuration">2.2.2 Initial configuration</a></li>
-                <li class="level3"><a href="#getting_structure">2.2.3 Category, albums and file structure</a></li>
-                <li class="level3"><a href="#getting_admin_account">2.2.4 Your admin account</a></li>
-                <li class="level3"><a href="#getting_check_uploads">2.2.5 Check uploads</a></li>
-                <li class="level3"><a href="#getting_consider_bridging">2.2.6 Consider bridging</a></li>
-                <li class="level3"><a href="#getting_interaction">2.2.7 What are your visitors allowed to do?</a></li>
-                <li class="level3"><a href="#getting_design">2.2.8 Change your coppermine's design</a></li>
-        </ul>
-        <ul class="level2">
-                <li class="level2"><a href="#creating" class="menu2">2.3 Creating or upgrading your own themes</a></li>
-        </ul>
-        <ul class="level3">
-                <li class="level3"><a href="#theme_builtin">2.3.1 Themes that come with Coppermine</a></li>
-                <li class="level3"><a href="#theme_upgrading">2.3.2 Upgrading your custom theme</a></li>
-                <li class="level3"><a href="#theme_files">2.3.3 Content of a theme</a></li>
-                <li class="level3"><a href="#theme_sample">2.3.4 The sample theme - a template to copy from</a></li>
-                <li class="level3"><a href="#theme_engine">2.3.5 How the theme engine works</a></li>
-                <li class="level3"><a href="#theme_create">2.3.6 Creating your custom theme</a></li>
-        </ul>
-                <ul class="level4">
-                  <li class="level4"><a href="#theme_create_rename">2.3.6.1 Rename your theme first</a></li>
-                  <li class="level4"><a href="#theme_create_tipps">2.3.6.2 Tipps & tricks</a></li>
-                  <li class="level4"><a href="#theme_create_wysiwyg">2.3.6.3 Using WYSIWYG-editors</a></li>
-                  <li class="level4"><a href="#theme_create_template_html">2.3.6.4 Editing template.html</a></li>
-                  <li class="level4"><a href="#theme_create_template_token">2.3.6.5 Template tokens</a></li>
-                  <li class="level4"><a href="#theme_create_template_token_list">2.3.6.6 List of tokens in template.html</a></li>
-                  <li class="level4"><a href="#theme_create_colors">2.3.6.7 Modifying colors</a></li>
-                  <li class="level4"><a href="#theme_create_theme_php">2.3.6.8 Editing theme.php</a></li>
-                </ul>
-        <ul class="level2">
-                <li class="level2"><a href="#safe" class="menu2">2.3 Safe mode issues</a></li>
-                <li class="level2"><a href="#smtp" class="menu2">2.5 Using SMTP to send emails</a></li>
-        </ul>
-<ul class="level1">
-        <li class="level1"><a href="#upgrade" class="menu1">3. Upgrading</a></li>
-</ul>
-        <ul class="level2">
-                <li class="level2"><a href="#upgrade_steps" class="menu2">3.1 Upgrade steps</a></li>
-        </ul>
-          <ul class="level3">
-                <li class="level3"><a href="#10" class="menu3">3.1.1 Upgrading from version 1.0</a></li>
-                <li class="level3"><a href="#13" class="menu3">3.1.2 Upgrading from cpg1.1.x, cpg1.2.x or cpg1.3.x to version cpg1.4.x</a></li>
-                <li class="level3"><a href="#14" class="menu3">3.1.3 Upgrading from cpg1.4.0 (or better) to version cpg1.4.24</a></li>
-           </ul>
-        <ul class="level2">
-                <li class="level2"><a href="#upgrade_why" class="menu2">3.2 Why upgrade?</a></li>
-        </ul>
-                <ul class="level3">
-                        <li class="level3"><a href="#upgrade_why_reasons">3.2.1 Reasons for package releases</a></li>
-                        <li class="level3"><a href="#upgrade_why_changelog">3.2.2 Changelog </a></li>
-                </ul>
-        <ul class="level2">
-                <li class="level2"><a href="#versioncheck" class="menu2">3.3 The version check tool</a></li>
-        </ul>
-                <ul class="level3">
-                        <li class="level3"><a href="#versioncheck_description_start">3.3.1 What it does</a></li>
-
-                        <li class="level3"><a href="#versioncheck_options_start">3.3.2 Options</a></li>
-                        <li class="level3"><a href="#versioncheck_comparison_start">3.3.3 Version comparison</a></li>
-                </ul>
-        <ul class="level2">
-                <li class="level2"><a href="#downgrading" class="menu2">3.4 Downgrading from cpg1.4.x</a></li>
-        </ul>
-
-<ul class="level1">
-        <li class="level1"><a href="#administration" class="menu1">4. Configuration &amp; Administration</a></li>
-</ul>
-        <ul class="level2">
-
-                <li class="level2"><a href="#cat_alb_pic" class="menu2">4.1 Categories, albums and files</a></li>
-                <li class="level2"><a href="#admin_user_mode" class="menu2">4.2 Admin mode &amp; User mode</a></li>
-                <li class="level2"><a href="#group_cp" class="menu2">4.3 The group control panel</a></li>
-                <li class="level2"><a href="#user_cp" class="menu2">4.4 The user control panel</a></li>
-        </ul>
-                <ul class="level3">
-
-                        <li class="level3"><a href="#user_cp_page">4.4.1 Page controls</a></li>
-                        <li class="level3"><a href="#user_cp_search">4.4.2 Searching for user(s)</a></li>
-                        <li class="level3"><a href="#user_cp_new">4.4.3 Creating new users</a></li>
-                        <li class="level3"><a href="#user_cp_edit">4.4.4 Editing users</a></li>
-                        <li class="level3"><a href="#user_cp_group">4.4.5 Group membership</a></li>
-                </ul>
-        <ul class="level2">
-                <li class="level2"><a href="#cat_cp" class="menu2">4.5 The category control panel</a></li>
-                <li class="level2"><a href="#albmgr" class="menu2">4.6 The album manager</a></li>
-
-        </ul>
-                <ul class="level3">
-                        <li class="level3"><a href="#albmgr_create">4.6.1 Creating albums</a></li>
-                        <li class="level3"><a href="#albmgr_rename">4.6.2 Renaming albums</a></li>
-                        <li class="level3"><a href="#albmgr_order">4.6.3 Changing the album order</a></li>
-                        <li class="level3"><a href="#albmgr_delete">4.6.4 Deleting albums</a></li>
-                </ul>
-
-        <ul class="level2">
-                <li class="level2"><a href="#modif_alb_pics" class="menu2">4.7 Modifying album/files</a></li>
-                <li class="level2"><a href="#album_prop" class="menu2">4.8 Album properties</a></li>
-        </ul>
-                <ul class="level3">
-                        <li class="level3"><a href="#album_prop_reset_start">4.8.1 Reset album properties</a></li>
-                </ul>
-
-        <ul class="level2">
-                <li class="level2"><a href="#edit_pics" class="menu2">4.9 Editing files</a></li>
-        </ul>
-                <ul class="level3">
-                        <li class="level3"><a href="#edit_vids">4.9.1 Editing videos</a></li>
-                        <li class="level3"><a href="#cust_thmb">4.9.2 Custom thumbnails</a></li>
-                </ul>
-
-        <ul class="level2">
-                <li class="level2"><a href="#bbcode" class="menu2">4.10 Using bbcode to insert links and format in descriptions</a></li>
-                <li class="level2"><a href="#uploading" class="menu2">4.11 Uploading pics/files</a></li>
-        </ul>
-                <ul class="level3">
-                  <li class="level3"><a href="#batch_add_pics">4.11.1 Uploading pics by FTP / Batch-Add Pictures</a></li>
-                  <li class="level3"><a href="#upload_http">4.11.2 Uploading by HTTP</a></li>
-                  <li class="level3"><a href="#xp">4.11.3 Using Windows XP Web Publishing Wizard with Coppermine</a></li>
-                </ul>
-                <ul class="level4">
-                  <li class="level4"><a href="#xp_publish_setup">4.11.3.1 XP Web Publishing Wizard: Setup</a></li>
-                  <li class="level4"><a href="#xp_publish_upload">4.11.3.2 XP Web Publishing Wizard: Uploading pictures</a></li>
-                </ul>
-        <ul class="level3">
-                <li class="level3"><a href="#upload_trouble">4.11.4 Upload troubleshooting</a></li>
-                <li class="level3"><a href="#upload_support">4.11.5 Asking for support on upload issues</a></li>
-                <li class="level3"><a href="#upload_error_messages">4.11.6 Error messages</a></li>
-        </ul>
-        <ul class="level2">
-                <li class="level2"><a href="#admin" class="menu2">4.12 The gallery configuration page</a></li>
-        </ul>
-                <ul class="level3">
-                        <li class="level3"><a href="#admin_general">4.12.1 General settings</a></li>
-
-                        <li class="level3"><a href="#admin_language">4.12.2 Language &amp; Charset settings</a></li>
-                        <li class="level3"><a href="#admin_theme">4.12.3 Themes settings</a></li>
-                        <li class="level3"><a href="#admin_album_list">4.12.4 Album list view</a></li>
-                        <li class="level3"><a href="#admin_thumbnail_view">4.12.5 Thumbnail view</a></li>
-                        <li class="level3"><a href="#admin_image_comment">4.12.6 Image view</a></li>
-                        <li class="level3"><a href="#admin_comment_start">4.12.7 Comment settings</a></li>
-
-                        <li class="level3"><a href="#admin_picture_thumbnail">4.12.8 File and thumbnail settings</a></li>
-                        <li class="level3"><a href="#admin_picture_thumb_advanced">4.12.9 Files and thumbnails advanced settings</a></li>
-                        <li class="level3"><a href="#admin_user">4.12.10 User settings</a></li>
-                        <li class="level3"><a href="#admin_custom">4.12.11 Custom fields for user profile</a></li>
-                        <li class="level3"><a href="#admin_custom_image">4.12.12 Custom fields for image description</a></li>
-
-                        <li class="level3"><a href="#admin_cookie">4.12.13 Cookie settings</a></li>
-                        <li class="level3"><a href="#admin_email">4.12.14 Email settings</a></li>
-                        <li class="level3"><a href="#admin_logging">4.12.15 Logging &amp; statistics</a></li>
-                        <li class="level3"><a href="#admin_misc">4.12.16 Miscellaneous settings</a></li>
-                </ul>
-        <ul class="level2">
-            <li class="level2"><a href="#exif" class="menu2">4.13 EXIF data</a></li>
-        </ul>
-                <ul class="level3">
-                        <li class="level3"><a href="#exif_manager">4.13.1 The EXIF manager</a></li>
-                </ul>
-        <ul class="level2">
-            <li class="level2"><a href="#plugin" class="menu2">4.14 Plugins</a></li>
-        </ul>
-                <ul class="level3">
-                        <li class="level3"><a href="#plugin_definition">4.14.1 What is a plugin?</a></li>
-                        <li class="level3"><a href="#plugin_api">4.14.2 The Plugin API</a></li>
-                        <li class="level3"><a href="#plugin_manager">4.14.3 The Plugin Manager</a></li>
-                </ul>
-                     <ul class="level4">
-                         <li class="level4"><a href="#plugin_manager_upload">4.14.3.1 Uploading a plugin</a></li>
-                         <li class="level4"><a href="#plugin_manager_install">4.14.3.2 Installing a plugin</a></li>
-                         <li class="level4"><a href="#plugin_manager_configuration">4.14.3.3 Plugin Configuration</a></li>
-                         <li class="level4"><a href="#plugin_manager_uninstall">4.14.3.4 Uninstalling a plugin</a></li>
-                     </ul>
-                <ul class="level3">
-                        <li class="level3"><a href="#plugin_writing">4.14.4 Writing plugins</a></li>
-                </ul>
-
-<ul class="level1">
-        <li class="level1"><a href="#integrating" class="menu1">5. Integrating the script with your bulletin board</a></li>
-</ul>
-        <ul class="level2">
-                 <li class="level2"><a href="#integrating_bridge_start" class="menu2">5.1 Available bridge files</a></li>
-                 <li class="level2"><a href="#integrating_prerequisites_start" class="menu2">5.2 Pre-requistes</a></li>
-        </ul>
-                <ul class="level3">
-                         <li class="level3"><a href="#integrating_cookie_start">5.2.1 Authentication by cookie</a></li>
-                         <li class="level3"><a href="#integrating_standalone_start">5.2.2 Standalone version first</a></li>
-                         <li class="level3"><a href="#integrating_users_start">5.2.3 Coppermine users, groups and pics uploaded by users are lost when integrating</a></li>
-                         <li class="level3"><a href="#integrating_backup_start">5.2.4 Backup</a></li>
-                  </ul>
-        <ul class="level2">
-                 <li class="level2"><a href="#integrating_steps_start" class="menu2">5.3 Integration steps</a></li>
-
-        </ul>
-                <ul class="level3">
-                        <li class="level3"><a href="#bridge_manager_start">5.3.1 Using the bridge manager</a></li>
-                </ul>
-                         <ul class="level4">
-                                 <li class="level4"><a href="#bridge_manager_app_start">5.3.1.1 choose application to bridge coppermine with</a></li>
-                                 <li class="level4"><a href="#bridge_manager_path_start">5.3.1.2 path(s) used by your BBS app</a></li>
-                                 <li class="level4"><a href="#bridge_manager_specific_start">5.3.1.3 BBS-specific settings</a></li>
-                                 <li class="level4"><a href="#bridge_manager_enable_start">5.3.1.4 enable/disable BBS integration</a></li>
-                         </ul>
-
-                 <ul class="level3">
-                                 <li class="level3"><a href="#bridge_manager_recover_start">5.3.2 Recover from failed bridging</a></li>
-                                                                 <li class="level3"><a href="#integrating_steps_sync_start">5.3.3 Synchronising the bbs groups with Coppermine's groups</a></li>
-                 </ul>
-        <ul class="level2">
-                 <li class="level2"><a href="#integrating_support_start" class="menu2">5.4 Bridging support</a></li>
-
-        </ul>
-<ul class="level1">
-        <li class="level1"><a href="#translating" class="menu1">6. Translating Coppermine into other languages</a></li>
-
-</ul>
-<ul class="level1">
-        <li class="level1"><a href="#known_issues" class="menu1">7. Known Issues</a></li>
-</ul>
-<ul class="level1">
-        <li class="level1"><a href="#credits" class="menu1">8. Credits</a></li>
-</ul>
-        <ul class="level2">
-                <li class="level2"><a href="#developers" class="menu2">8.1 Coppermine team</a></li>
-                <li class="level2"><a href="#contributors" class="menu2">8.2 Contributors</a></li>
-                <li class="level2"><a href="#codebase" class="menu2">8.3 Code used in Coppermine</a></li>
-                <li class="level2"><a href="#copyright" class="menu2">8.4 Copyright, license and disclaimer</a></li>
-        </ul>
-        <ul class="level3">
-                <li class="level3"><a href="#copyright_license">8.4.1 License</a></li>
-                <li class="level3"><a href="#copyright_additional">8.4.2 Additional terms</a></li>
-        </ul>
-        <ul class="level4">
-                <li class="level4"><a href="#copyright_additional_disclaimer">8.4.2.1 Disclaimer</a></li>
-                <li class="level4"><a href="#copyright_additional_preservation">8.4.2.2 Preservation of author attributions</a></li>
-                <li class="level4"><a href="#copyright_additional_marking">8.4.2.3 Marking of modified versions</a></li>
-        </ul>
-        <ul class="level3">
-                <li class="level3"><a href="#copyright_copyright">8.4.3 Copyrights</a></li>
-        </ul>
-</div><!-- end toc -->
-      <hr />
-
-<a name="what"></a>
-<h1>1. What is required</h1>
-<p>There are certain <strong>minimum requirements</strong> that need to be met in order to be able to install Coppermine:</p>
-<h2>1.1 Technical requirements</h2>
-<ul>
-  <li><strong>A web server that supports PHP</strong><br />
-  PHP (version 4.2.0 or better), either compiled with the support for the GD library or permission to use the exec() function for the ImageMagick &quot;convert&quot; utility in order to make thumbnails and reduced size images. Mysql support needs to be compiled into PHP as well.</li>
-  <li><strong>A MySQL database</strong><br />
-  You will need MySQL version 3.23.23 or better. MySQL 4.1 is recommended, MySQL 5 is supported. The MySQL user needs permissions to perform CREATE, ALTER, REPLACE, SELECT, UPDATE, DELETE, INSERT data from the database. Most users have these permissions when webhosted. If you don't have them, you will not be able to use this or any other pre-made scripts at all. If you are uncertain about your permissions, please check with your webhost. Most hosting services can probably tell you whether coppermine can or cannot be run on their servers.<br />
-  A database needs to be set up that Coppermine can use - the install script will <strong>not</strong> create a database for you, but it will automatically create the tables and data structure in your database during install. In most webhosted environments, you will already have at least one database set up for you by your webhost. If not, you will need to create one. If you do need to create a database, check with your webhost on the proper procedures for doing so. Write down your database name, userID and password. You will require all three to successfully install Coppermine. </li>
-  <li><strong>An image library:</strong><br />
-  Either GD version 1.x or 2.x (PHP has to be compiled to support it) or ImageMagick.<br />
-  (see <a href="faq.htm#whatIsImageMagick">What's ImageMagick</a> and <a href="faq.htm#WhatIsGD">What is GD</a>)</li>
-  <li>It's always a good idea to contact your webhosting service first and ask them if they are aware of any known issues when installing Coppermine.</li>
-</ul>
-<p>Although Coppermine can be run on <em>any</em> webserver that has the minimum requirements mentioned above, the Coppermine dev team can not support you on setting up your webserver in the first place. As suggested, those are requirements, i.e. they have to be met before actually considering to run Coppermine. Please note that the Coppermine group does not recommend self-hosting unless you're an experienced webserver administrator and know your way around.</p>
-
-<h2>1.2 Personal requirements</h2>
-<p>Coppermine is aimed at webmasters who have at least basic HTML know-how and some experience in setting up pre-made scripts. The Coppermine dev team is aware that there are Coppermine users who set up their gallery using auto-installers who have little or no experience in setting up similar scripts, which is fine as well. We just ask you to read the documentation thoroughly before asking questions on the Coppermine support board, as this should answer most newbie questions. You can use coppermine just fine using the <a href="#theme_builtin">pre-made themes that come with the coppermine package</a>. However, if you want to modify existing themes or <a href="#theme_create">come up with a theme of your own</a> (that matches the look of the rest of your site), you should have basic to intermediate <acronym title="Hyper Text Markup Language">HTML</acronym> and <acronym title="Cascading Style Sheets">CSS</acronym> skills.</p>
-
-<p><a class="back" href="#top">Back to top</a></p><hr />
-
-<a name="installation"></a>
-<h1>2. Installation and Setup</h1>
-<a name="how"></a>
-<h2>2.1 How to install the script</h2>
-<ul>
-  <li><strong>Unpack the archive preserving the directory structure.</strong><br /> You can rename the coppermine folder, but not the files or folders within.</li>
-  <li><strong>Upload all files onto your webserver</strong> (making sure to use the correct ftp mode)</li>
-  <li><strong><a href="#permissions">Set permissions</a> on the "<em>albums</em>" and "<em>include</em>" folders in your Coppermine directory</strong>. Usually, you have to apply the CHMOD command, setting the permissions to 755 (or 777, depending on your server config).  <span class="important">This step is very important and must not be overlooked!</span></li>
-  <li><strong>Ensure you have correct information about your database</strong> - you need to <em>know</em> the database name as well as the details of a MySQL user account with which Coppermine should connect to the database. The database and the username must already exist, and the user must have access to the relevent database. Coppermine will not create the database for you, but it will create the tables in the database during installation, there is no need for you to add any tables yourself.</li>
-  <li><strong>Run the install script on your server</strong><br />Type the following URL into your web browser:&nbsp;&nbsp; http://your_server/coppermine_dir/install.php&nbsp;&nbsp; (<em>your_server</em> = your website, <em>coppermine_dir</em> = the folder in which you uploaded your Coppermine files.) Follow the online instructions on the <a href="#install_screen_start">install screen</a> inserting the necessary information as requested.</li>
-</ul>
-  <li><strong>Confirm that you have all the correct information about the database that will be used for your Coppermine installation.</strong> If no database exists for your website, you will need to create one, or have one created for you by your webhost. Your webhost can best provide you with instructions on how to go about doing this.  For installation purposes, you will need to know the path of the database server that you will be using with Coppermine and details of the MySQL user account through which Coppermine will connect to the server. You must have the database server path (usually 'localhost'), your MySQL username, MySQL password, and MySQL database name prior to installing Coppermine. The user installing Coppermine must have all relevant access rights to this database.
-
- If you are using a newly created database, there is no need for you to manually add any tables. Coppermine will create the necessary tables in the database during installation process.</li>
-
-  <li><strong>To run the install script on your server,</strong> type the following URL into your web browser:&nbsp;&nbsp; http://your_server/coppermine_dir/install.php&nbsp;&nbsp; (<em>your_server</em> = your website, <em>coppermine_dir</em> = the folder in which you uploaded your Coppermine files.)   Follow the online instructions inserting the necessary information as requested.</li>
-</ul>
-
-<p><a class="back" href="#top">Back to top</a></p><hr />
-
-<a name="permissions"></a>
-<h3>2.1.1 Setting permissions</h3>
-Coppermine needs <em>write access</em> to a number of files and folders on the webserver in order to accomplish the following:
-<ul>
-<li>during install, coppermine needs to create and write to the file "config.inc.php" in the "include" folder in order to store the necessary mySQL access data to run coppermine and to create and write the "install.lock" file, also in the same folder to prevent the installer from being run a second time after a successful install.</li>
-<li>when using http uploads, coppermine needs to write the files that are being uploaded into the subfolders that you or your users create in the coppermine <em>albums</em> folder</li>
-<li>regardless of the upload method, coppermine will create a thumbnail file and an intermediate file (if you have configured coppermine accordingly) and store it in a sub-folder in the "albums" directory, as well</li>
-<li>If you are going to enable <a href="#admin_logging">logging</a> at some stage, the script needs write access on the folder "logs"</li>
-<li>The "plugin" folder needs to be set to write access as well if you want to use the zip upload capabilities of the <a href="#plugin_manager_upload">plugin manager</a></li>
-</ul>
-<p>By default, files and folders on a webserver are usually not writable, so you will probably have to change permissions before installion, for the reasons mentioned above. It's really mandatory that you set/change (CHMOD) permissions - or you will run into issues sooner or later.</p>
-<p>To be able to set permissions correctly, you have to understand how they work: there are <em><strong>r</strong>ead</em>, <em><strong>w</strong>rite</em> and <em>e<strong>x</strong>ecute</em> permissions (abbreviated with <strong>rwx</strong>) for each folder and file. Permissions on a parent folder can propagate to a child folder or the files within it, but it's possible to tweak your setup so that unwanted permissions will not propagate to child folders and resident files.</p>
-<p>However, there are differences between the different operating systems that are used as webservers. As a result, there are a number of different approaches. As coppermine is designed to run on many different setups, we've included some basic instructions. Those who know their way around may find these instructions somewhat generalized and lacking in details.<br />Note: it is not your local, client computer that matters, permission-wise, but, rather, the operating system used by your webserver. If you're not sure what OS your server is running on, try the CHMOD instructions first - most webservers run a version of Unix/Linux. <span class="important">If you can't figure how to set permissions properly, ask your webhost for support.</span></p>
-<p><a class="back" href="#top">Back to top</a></p><hr />
-
-<a name="permissions_chmod"></a>
-<h4>2.1.1.1 Apache on Unix/Linux (CHMOD)</h4>
-<ul>
-<li><strong>Basics</strong><br />
-There are different flavors of Unix/Linux - all of them share a similar, somewhat common approach. In referring to this architecture, the word "Lunix" is used for both Unix and Linux derivates. "Read" permissions apply to files that are not actively run, but only being served, e.g text or plain html files. "Write" permissions are needed to dynamically create files, modify or delete them. "Execute" permissions are needed to run executable files, for example, script files like PHP. To serve web pages that are php-powered properly, the most basic permissions that are needed, therefore, are "read" and "execute" (abbreviated as r-x).<br />
-Possible permissions settings are:
-  <ul>
-  <li><tt class="code">r--</tt> ... read only</li>
-  <li><tt class="code">r-x</tt> ... read and execute</li>
-  <li><tt class="code">rwx</tt> ... read, write and execute</li>
-  </ul>
-Needless to say, other combinations are technically possible (such as -wx, --x or -w-), but they make little sense in webserver setups and will be ignored in this tutorial.
-</li>
-<li><strong>Groups in Lunix</strong><br />
-Lunix uses a set of three-group permissions, each of which can be applied independently. These are: <em>owner</em>, <em>group</em> and <em>world</em>. Using this set, you can dictate if a user who owns a file has permission to modify or delete it (write permission) while other users will only be able to read/view and possibly execute the file. On your server, these permission settings for the three possible groups are written in as a single line entry (in the order "owner", "group", "world"). <br />
-Examples  :
-  <ul>
-  <li><tt class="code">rwxrwxrwx</tt> ... read, write and execute (rwx) permissions for all three groups</li>
-  <li><tt class="code">rwxr-xr-x</tt> ... rwx permissions for the owner, r-x permissions for all others</li>
-  <li><tt class="code">r-xr-xr-x</tt> ... read and execute permissions for all groups, only</li>
-  </ul>
-</li>
-<li><strong>Webserver daemon</strong><br />
-Even though you (the user who owns the files on your server and who has control over the permissions) may be able to access a file (e.g. using your FTP app), the coppermine script may not be able to do so. This is often caused by a particular setup option for servers: services (in Lunix often called "daemons") may run in the context of a specific user that is different from the user who is allowed to access the files. On many such servers, the webserver (apache) service runs as user "nobody". This way, the server can be protected against hacker attacks. Therefore, setting permissions on a server for the "owner" only does not work on these particular setups, you must set permissions for both "group" and "world" (at least for the group the webserver daemon is in).
-</li>
-<li><strong>Binary arithmetics</strong><br />
-As you can see, permissions can be either "on" or "off" - this is the equivalent to the two different states that a bit of data can have in binary arithmetics (and therefore, also in the whole world of computing).
-As we have three types of different permissions (read, write, execute), we will need three bits to assign a set of permissions. The highest bit is the "<em><strong>r</strong>ead</em>" bit - decimal "4" is used to represent it. The middle bit "<em><strong>w</strong>rite</em>" is assigned to decimal "2", the lowest bit "<em>e<strong>x</strong>ecute</em>" is represented by decimal "1".
-This may be a bit hard to understand or follow at first, especially if you haven't dealt with binary arithmetics before. If you would like to learn more, google for it. It's easier to understand if you look at some examples:
-<div style="float:left;margin-right:10px">
-<table border="0" cellspacing="0" cellpadding="0" class="maintable">
-<tr><td class="tableh1">permission</td><td class="tableh1">bit value</td><td class="tableh1">set?</td><td class="tableh1">value</td></tr>
-<tr><td class="tableb">read</td><td class="tableb">4</td><td class="tableb"><input type="checkbox" checked="checked" onclick="javascript:this.checked=true"/></td><td class="tableb">4</td></tr>
-<tr><td class="tableb">write</td><td class="tableb">2</td><td class="tableb"><input type="checkbox" checked="checked" onclick="javascript:this.checked=true" /></td><td class="tableb">2</td></tr>
-<tr><td class="tableb">execute</td><td class="tableb">1</td><td class="tableb"><input type="checkbox" checked="checked" onclick="javascript:this.checked=true" /></td><td class="tableb">1</td></tr>
-<tr><td colspan="3" class="tablef">sum (resulting byte value)</td><td class="tablef">7</td></tr>
-</table>
-</div>
-<div style="float:left;margin-right:10px">
-<table border="0" cellspacing="0" cellpadding="0" class="maintable">
-<tr><td class="tableh1">permission</td><td class="tableh1">bit value</td><td class="tableh1">set?</td><td class="tableh1">value</td></tr>
-<tr><td class="tableb">read</td><td class="tableb">4</td><td class="tableb"><input type="checkbox" checked="checked" onclick="javascript:this.checked=true" /></td><td class="tableb">4</td></tr>
-<tr><td class="tableb">write</td><td class="tableb">2</td><td class="tableb"><input type="checkbox" onclick="javascript:this.checked=false" /></td><td class="tableb">-</td></tr>
-<tr><td class="tableb">execute</td><td class="tableb">1</td><td class="tableb"><input type="checkbox" checked="checked" onclick="javascript:this.checked=true" /></td><td class="tableb">1</td></tr>
-<tr><td colspan="3" class="tablef">sum (resulting byte value)</td><td class="tablef">5</td></tr>
-</table>
-</div>
-<div style="float:left;margin-right:10px">
-<table border="0" cellspacing="0" cellpadding="0" class="maintable">
-<tr><td class="tableh1">permission</td><td class="tableh1">bit value</td><td class="tableh1">set?</td><td class="tableh1">value</td></tr>
-<tr><td class="tableb">read</td><td class="tableb">4</td><td class="tableb"><input type="checkbox" checked="checked" onclick="javascript:this.checked=true" /></td><td class="tableb">4</td></tr>
-<tr><td class="tableb">write</td><td class="tableb">2</td><td class="tableb"><input type="checkbox" checked="checked" onclick="javascript:this.checked=true" /></td><td class="tableb">2</td></tr>
-<tr><td class="tableb">execute</td><td class="tableb">1</td><td class="tableb"><input type="checkbox" onclick="javascript:this.checked=false" /></td><td class="tableb">-</td></tr>
-<tr><td colspan="3" class="tablef">sum (resulting byte value)</td><td class="tablef">6</td></tr>
-</table>
-</div>
-<div style="clear:left"></div>
-</li>
-<li><strong>What good is all of this?</strong><br />
-Instead of having to remember and write <tt class="code">rwxrwxrwx</tt> for each file or folder in your setup, you can now write <tt class="code">777</tt> in its place. The same applies for <tt class="code">rwxr-xr-x</tt>, you can write <tt class="code">755</tt>, instead.
-</li>
-<li><strong>FTP application</strong><br />
-Setting the permissions using your FTP application will be the option available for most users who are webhosted. Depending on the FTP app you use, the user interface will slightly differ: some apps will allow you to enter the CHMOD command by entering the numbers (777 or 755), others will provide you with checkboxes where you can tick the permissions separately for each group. More advanced FTP apps may even provide you with both mechanisms. As this documentation can't cover all individual FTP apps that are available, the exact method might differ a bit from what you have.<br />
-Your FTP app will probably have two windows, one showing your local files, the other one showing the files on your server. In the window that shows the remote files on the server, navigate to the folder your coppermine files reside in. Highlight the "albums" folder that resides within the coppermine folder. From the context menu (right-click!), choose "properties" (might be named "chmod" or similar as well). The permissions dialog will then pop up. Choose the proper permissions as suggested above (777 or 755, depending on your server setup). If you have a checkbox that enables the permissions to propagate for all sub-folders and files, tick it. If you don't have it, nevermind. Then click "OK" on the dialog box to apply the permissions. Keep in mind that your FTP app might not have the power to actually find out about the current permissions that <strong>are</strong> applied, so you mustn't trust the information displayed in the dialog box: even if it appears that the permissions are already set as needed, this may not be the case, so you should re-apply the permissions no matter what.<br />
-After having applied the permissions for the albums folder, do the same thing for the include folder that resides within your coppermine folder.
-</li>
-<li><strong>Website control panel</strong><br />
-Some webhosts may not give you the option to access your site using FTP, or they may not allow your FTP client to execute the CHMOD command. If this is the case, you probably have a server setup interface (e.g. cpanel) to apply permission to folders and files. In fact, this doesn't matter, the method for applying permissions doesn't differ from the one described above in the section "FTP application": navigate to the albums folder and apply the permissions needed to give your webserver write access to all files and folders within the albums folder. Do the same thing for the include folder as well.
-</li>
-<li><strong>Shell access</strong><br />
-If you have shell access to your server, you can apply the native <a href="http://www.die.net/doc/linux/man/man1/chmod.1.html" rel="external" class="external">CHMOD</a> command on your files and folders. Go to your coppermine folder using your shell access, then apply the permissions to the albums and include folder and everything within it. As explained above, the user the apache daemon runs under needs write access, so you should CHMOD to 777 or 755, depending on your server setup.
-</li>
-</ul>
-<a name="permissions_chmod_end"></a>
-<p><a class="back" href="#top">Back to top</a></p><hr />
-
-<a name="permissions_apache_windows"></a>
-<h4>2.1.1.2 Apache on Windows</h4>
-<p>You have to understand that there is no such thing as CHMOD on Windows operating systems - this command is available on Unix/Linux only, even if your FTP application displays a CHMOD option. If you try to apply CHMOD on Windows, the command will simply be ignored and do nothing. However, there are permissions on Windows as well.</p>
-<p>The apache webserver service runs under a particular user - if you have full access to the server, check the services control to find out which one it is. If you can't do this, ask your webhost.</p>
-<p>As a temporary workaround, set permissions on folder and file level as suggested in the section <a href="#permissions_iis_windows">IIS on Windows</a>, but not for the IUSR (which only exists on IIS), but for "everyone". However, allowing "everyone" to have read, write and execute permissions might be a security risk and is not recommended at all.</p>
-<a name="permissions_apache_windows_end"></a>
-<p><a class="back" href="#top">Back to top</a></p><hr />
-
-<a name="permissions_iis_windows"></a>
-<h4>2.1.1.3 IIS on Windows</h4>
-<p>Pre-requisites: you will need full admin privileges over your server to execute this process. If you do not run the webserver yourself, your webhost has probably set up a web-based interface to let you change permissions. If you're not sure, contact your webhost.</p>
-<p>The dialogs may differ slightly depending on the Windows version you have:</p>
-<ul>
-<li>Start Windows Explorer on your webserver and navigate to your coppermine folder</li>
-<li>right-click on the folder you want to change permissions for</li>
-<li>Choose "Properties"</li>
-<li>On the properties dialog, click on the "Security" tab</li>
-<li>Highlight the user "Internet guest account (hostname\IUSR_hostname). If it's not there already, use the "Add..." dialog to add this particular user</li>
-<li>Tick the "Allow"-checkbox for "Write"-access</li>
-<li>Click the "Advanced" button</li>
-<li>Just to make sure the write access propagates to all folders and files within the folder you're currently editing, tick the checkbox "Reset permissions on all child objects and enable propagation of inheritable permissions"</li>
-<li>click "OK"</li>
-<li>answer the confirmation dialog box that asks you if all permissions should be replaced with "Yes"</li>
-<li>depending on the number of child objects and your system's speed, wait until the permissions of all objects have been changed and the status window goes away.</li>
-<li>Click "OK" to close the permissions dialog</li>
-</ul>
-<p>You have to understand that there is no such thing as CHMOD on Windows operating systems - this command is available on Unix/Linux only, even if your FTP application displays a CHMOD option. If you try to apply CHMOD on Windows, the command will simply be ignored and do nothing. However, there are permissions on Windows as well.</p>
-<a name="permissions_iis_windows_end"></a>
-
-<a href="permissions_end"></a>
-<p><a class="back" href="#top">Back to top</a></p><hr />
-
-<a name="install_screen_start"></a>
-<h3>2.1.2 The install screen</h3>
-<table border="0" cellpadding="5" cellspacing="0">
- <tr>
-  <td style="border-top:1px solid #0E72A4;border-left:1px solid #0E72A4;border-right:1px solid #0E72A4;" colspan="2"><strong>Your admin account</strong>
-  </td>
-  <td></td>
- </tr>
- <tr>
-  <td style="border-left:1px solid #0E72A4;border-right:1px solid #0E72A4;" colspan="2"> <span class="small">This section requires information to create your administration account. Use only alphanumeric characters. Enter the data carefully !</span>
-  </td>
-  <td><span class="small">Input an original admin username and password here. Make sure to either memorize it well, or note it down somewhere safe; you won't be able to administer your site if you lose this data. </span></td>
- </tr>
- <tr>
-  <td style="border-left:1px solid #0E72A4;" width="20%"><strong>Username</strong>
-  </td>
-  <td style="border-right:1px solid #0E72A4;" width="20%">
-          <input type="text" style="width:100%" readonly="readonly" name="admin_username" value="" />
-  </td>
-  <td valign="top" width="60%"><span class="small">This will be the username for your everyday administration of coppermine - choose one that you can memorize and enter easily. This entry is case sensitive so give special consideration when creating a username. Pics that you upload later under this admin account will display the name shown in the uploader field. Comments you make will also display this name, as well, for others to see.</span></td>
- </tr>
- <tr>
-  <td style="border-left:1px solid #0E72A4;"><strong>Password</strong>
-  </td>
-  <td style="border-right:1px solid #0E72A4;">
-          <input type="text" style="width:100%" readonly="readonly" name="admin_password" value="" />
-  </td>
-  <td><span class="small">This will be your admin password to your coppermine install. Don't use trivial, overly abused passwords - if an attacker figures out your password, s/he will be able to hack your entire site! Use a combination of upper and lower case letters and numbers like "<tt class="code">j3e4N5n6yG</tt>". Remember, passwords like your admin username are case sensitive. Be careful when creating your password. Write it down and keep it safe, preferably somewhere away from your computer.</span> </td>
- </tr>
- <tr>
-  <td style="border-left:1px solid #0E72A4;"><strong>Email address</strong>
-  </td>
-  <td style="border-right:1px solid #0E72A4;">
-          <input type="text" style="width:100%" readonly="readonly" name="admin_email" value="" />
-  </td>
-  <td><span class="small">This email address will be used to send emails from the webserver (e.g. the registration email, notifications and ecards). Make sure that it is a valid email address.</span></td>
- </tr>
- <tr>
-  <td style="border-left:1px solid #0E72A4;border-right:1px solid #0E72A4;" colspan="2"><strong>Your MySQL configuration</strong>
-  </td>
-  <td rowspan="2"><span class="small">MySQL is the type of database service that is available on most webservers. If you don't have it, you cannot install it. That is, unless the server is yours to administer. If you are webhosted, you are probably out of luck. It's mandatory to have a mySQL database to run Coppermine or any other PHP-based script. You can not fake the mySQL information during install, you must <strong>know</strong> it before hand, and enter the information as required. If you're not sure about the information required, ask your webhost.</span></td>
- </tr>
- <tr>
-<td style="border-left:1px solid #0E72A4;border-right:1px solid #0E72A4;" colspan="2"><span class="small">This section requires information on how to access your MySQL database. If you don't know how to fill them, check with your webhost support.</span>
-    </td>
- </tr>
- <tr>
-  <td style="border-left:1px solid #0E72A4;"><strong>MySQL Host</strong><br /><span class="small">(localhost is usually OK)</span>
-  </td>
-  <td style="border-right:1px solid #0E72A4;" valign="top">
-          <input type="text" style="width:100%" readonly="readonly" name="dbserver" value="localhost" />
-  </td>
-  <td><span class="small"></span></td>
- </tr>
- <tr>
-  <td style="border-left:1px solid #0E72A4;"><strong>MySQL Database Name</strong>
-  </td>
-  <td style="border-right:1px solid #0E72A4;">
-          <input type="text" style="width:100%" readonly="readonly" name="dbname" value="" />
-  </td>
-  <td><span class="small">Coppermine will <strong>not</strong> create this database for you - it must exist prior to any attempt at installing coppermine. (If you do not have a pre-designated database, you will have to create one, provided you have the authority on your site to do so).</span></td>
- </tr>
- <tr>
-  <td style="border-left:1px solid #0E72A4;"><strong>MySQL Username</strong>
-  </td>
-  <td style="border-right:1px solid #0E72A4;">
-          <input type="text" style="width:100%" readonly="readonly" name="dbuser" value="" />
-  </td>
-  <td><span class="small">The mySQL user name does <strong>not</strong> have to be your coppermine admin username, nor is it the necessarily the same as your FTP username (although this <em>can</em> be the case for some users, but only by sheer coincidence or deliberate intention, to simplify site administration).<br />
-  The mySQL user needs the permissions CREATE TABLE, INSERT, ALTER, UPDATE, DELETE, SELECT.</span></td>
- </tr>
- <tr>
-  <td style="border-left:1px solid #0E72A4;"><strong>MySQL Password</strong>
-  </td>
-  <td style="border-right:1px solid #0E72A4;">
-          <input type="text" style="width:100%" readonly="readonly" name="dbpass" value="" />
-  </td>
-  <td><span class="small">The password that goes with your mySQL username.</span></td>
- </tr>
- <tr>
-  <td style="border-left:1px solid #0E72A4;"><strong>MySQL table prefix</strong><br /><span class="small">(the default value is OK; do not use dots!)</span>
-  </td>
-  <td style="border-right:1px solid #0E72A4;" valign="top">
-          <input type="text" style="width:100%" readonly="readonly" name="table_prefix" value="cpg140_" />
-  </td>
-  <td><span class="small">Coppermine's tables can co-exist in an existing database which has tables used by other applications. All coppermine tables will be using a different prefix from these, as specified here. You can even have several coppermine installs using one database - only the table prefixes have to differ in each case. Unless you know what you are doing, don't change the default value.</span></td>
- </tr>
- <tr>
-  <td style="border-left:1px solid #0E72A4;border-right:1px solid #0E72A4;" colspan="2"><strong>ImageMagick</strong>
-  </td>
-  <td rowspan="3" valign="top"><span class="small">You can not fake an ImageMagick path, you have to <em>know</em> it. If you're not sure, leave this field empty - Coppermine will then try to use GD by default. You can edit the path later as well in the <a href="#admin_picture_thumb_advanced">config screen</a>. You can only install ImageMagick or GD if the server is yours to administer - if you're webhosted, you probably can't. The user of the webserver, who wishes to use ImageMagick, will need read/write/execute permissions in the folder where ImageMagick's convert executable resides in.</span></td>
- </tr>
- <tr>
-  <td style="border-left:1px solid #0E72A4;border-right:1px solid #0E72A4;" colspan="2" valign="top"><span class="small">Coppermine can use the <a href="http://www.imagemagick.org/" rel="external" class="external">ImageMagick</a> 'convert' program to create thumbnails. Quality of images produced by ImageMagick is superior to GD1 but equivalent to GD2.<br /><br />
-  If ImageMagick is installed on your system and you want to use it, you need to input the full path to the 'convert' program below. On Windows the path should look like 'c:/ImageMagick/' (use / not \ in the path) and should not contain any space, on Unix is it something like '/usr/bin/X11/'.</span>
-  </td>
- </tr>
- <tr>
-  <td style="border-left:1px solid #0E72A4;" valign="top"><strong>ImageMagick path</strong>
-  </td>
-  <td style="border-right:1px solid #0E72A4;" valign="top">
-          <input type="text" style="width:100%" readonly="readonly" name="impath" value="" />
-  </td>
- </tr>
- <tr>
-  <td colspan="2" align="center" style="border-left:1px solid #0E72A4;border-right:1px solid #0E72A4;border-bottom:1px solid #0E72A4;"><br />
-   <input type="submit" value="Let's Go !" /><br /><br />
-  </td>
-  <td><span class="small">After having entered all required data, click this button to submit the form</span></td>
- </tr>
-</table>
-<a name="install_screen_end"></a>
-<p><a class="back" href="#top">Back to top</a></p><hr />
-
-<a name="install_what"></a>
-<h3>2.1.3 What the installer does</h3>
-<p>After performing some basic checks, the installer creates the needed database tables for you and fills them with default values. It creates the file include/config.inc.php within the coppermine folder on your server that stores the database details you entered during install. If you should change your mysql database details later (i.e. if you change the password of your mysql user account or if you migrate your gallery to another server), you will need to edit include/config.inc.php manually to reflect the changes. The file include/config.inc.php also keeps the install script from being run twice: if the installer is run, a check is performed wether the config file exists - if yes, the installer will stop and redirect the user to the index page.</p>
-<a name="install_what_end"></a>
-<p><a class="back" href="#top">Back to top</a></p><hr />
-
-<a name="getting"></a>
-<h2>2.2 Getting started</h2>
-<p>Use the &quot;<strong><a href="#albmgr">Album Manager</a></strong>&quot; (&quot;Albums&quot; link in the admin menu) in to create and order your albums. You'll need at least one album your files can go into.</p>
-<p>Use the <strong>anonymous</strong> group to define what non-registered users can and can't do (in the <a href="#group_cp">groups</a> panel).</p>
-<p>Use the <strong><a href="#modif_alb_pics">properties</a></strong> of an album to modify its description and permissions.
-</p>
-<p>In order for a user to be allowed to upload a file in album two conditions must be met:</p>
-<ul>
-  <li> The user must be part of a <a href="#group_cp">group</a> that can upload files.</li>
-  <li>There must be at least one album where &quot;<strong>Visitors can upload files</strong>&quot; has been set to &quot;<strong>Yes</strong>&quot;,<br /> <strong>OR</strong> <br />The user has created an album in the 'user galleries', if allowed.</li>
-</ul>
-<p>The same applies to <strong>picture rating</strong> and <strong>comment posting</strong>.</p>
-<p>If you have installed the script succesfully but are having trouble getting it working properly you can enable the &quot;<strong><a href="#debug_mode">debug mode</a></strong>&quot; on the <strong>Config page</strong>. In this mode, the script outputs most of the warning/error messages produced by PHP in addition to some debug information. This can provide valuable information to understand what is wrong.</p>
-
-
-
-<a name="getting_concepts"></a><h3>2.2.1 Basic concepts<a href="#getting_concepts" title="Link to this section"><img src="pics/anchor.gif" width="15" height="9" border="0" alt="" /></a></h3>
-<p>Of course you're exited about Coppermine and want to start with it right now. However, there are some basic considerations you should make up your mind about first, as some settings can't be changed easily once your gallery has been populated with content.</p>
-<p>So this section is meant as a guide once you've finished <a href="#installation">installing</a> Coppermine. Go through it carefully to avoid issues that may turn up later.</p>
-<ul>
-        <li><strong><a href="#getting_initial_configuration">Initial configuration</a></strong><br />
-        Settings you should edit immediately after finishing the install</li>
-        <li><strong><a href="#getting_structure">Category/album/file structure</a></strong><br />
-        Understand how Coppermine organizes navigation and storage of individual files</li>
-        <li><strong><a href="#getting_admin_account">Your admin account</a></strong><br /></li>
-        <li><strong><a href="#getting_check_uploads">Check uploads</a></strong><br />
-        Make sure uploading works as expected before letting in visitors</li>
-        <li><strong><a href="#getting_consider_bridging">Consider bridging</a></strong><br />
-        Bridging later when you already have users might get difficult</li>
-        <li><strong><a href="#getting_interaction">What are your visitors allowed to do?</a></strong><br />
-        What level of user interaction are you going to allow?</li>
-        <li><strong><a href="#getting_design">Change your coppermine's design</a></strong><br /></li>
-</ul>
-
-
-
-<a name="getting_initial_configuration"></a><h3>2.2.2 Initial configuration<a href="#getting_initial_configuration" title="Link to this section"><img src="pics/anchor.gif" width="15" height="9" border="0" alt="" /></a></h3>
-<p>There are some settings in Coppermine's config that you should edit right after finishing install.</p>
-<p>Log in with the admin username and password you set up during install, click on the &quot;Show admin controls&quot; link if it is visible, go to the <strong>Config</strong> page and start to configure your gallery. Note that even if you are a member of the administrator group, you need to be have &quot;Show admin controls&quot; enabled. In previous versions, this used to be named &quot;admin mode&quot;, but was renamed because some people thought that switching from admin mode to user mode showed them what regular users can see (which is not the case).</p>
-<ul>
-  <li><a href="#admin_general_email">Gallery administrator email</a></li>
-  <li><a href="#admin_general_coppermine-url">URL of your coppermine gallery folder</a></li>
-</ul>
-<p>There are some settings in config that can't be changed later (if there are already files in the database) - make sure to set them up correctly in the first place. Although you'll surely want to start using coppermine immediately it is advisable to configure those settings (marked with an asterisk &quot;*&quot;) properly at the very beginning.</p>
-
-<a name="getting_structure"></a><h3>2.2.3 Category, albums and file structure<a href="#getting_structure" title="Link to this section"><img src="pics/anchor.gif" width="15" height="9" border="0" alt="" /></a></h3>
-<p>The Coppermine Photo Gallery works in the following way:</p>
-<ul>
-  <li>Files are stored in albums</li>
-  <li>Albums are organised in categories</li>
-  <li>Categories can be nested (into subcategories)</li>
-</ul>
-
-<p>If you don't plan to have many albums, you really won't need to use the categories feature. If this applies to you, simply do not create any categories and all your albums will automatically appear on the main page of the script.</p>
-<p>There is, however, a special category named &quot;<strong>User galleries</strong>&quot;. This category can't be deleted. If a user belongs to the group &quot;can have a personal gallery&quot; and this is set to YES, he will have the right to create his own albums and his gallery will be a sub-category of &quot;User galleries&quot;. This link is not visible to visitors of your site, however, if you do not allow users to upload pics and have their own albums. </p>
-<p>The administrator can create albums in any category. Non-administrative users can only create albums in the &quot;User galleries/Their_username&quot;.</p>
-<p>You can, however rename the &quot;User Galleries&quot;. To rename the &quot;<strong>User galleries</strong>&quot; category and description, simply go to your <a href="#cat_cp">category control panel</a> and change the name there (e.g. to translate the words &quot;User galleries&quot; into your language).</p>
-
-<a name="getting_admin_account"></a><h3>2.2.4 Your admin account<a href="#getting_admin_account" title="Link to this section"><img src="pics/anchor.gif" width="15" height="9" border="0" alt="" /></a></h3>
-<p>It's mandatory to have your admin account configured properly and to memorize the admin account data. Coppermine even provides you with the option to retrieve a lost password, but for this, you have to configure an email address for every account. When users sign up, they have to enter an email address, so this should not be a problem. However, the admin account that you created during setup doesn't have an email account yet. You should go to your profile when logged in as admin and specify a valid email address for the admin there - this way, you can later request a new password if you forget it.</p>
-
-
-
-<a name="getting_check_uploads"></a><h3>2.2.5 Check uploads<a href="#getting_check_uploads" title="Link to this section"><img src="pics/anchor.gif" width="15" height="9" border="0" alt="" /></a></h3>
-<p>Before actually promoting your coppermine gallery publicly, you should make sure that uploads work as expected, as they are the most common issues users have, caused by the huge amount of factors that have to be taken into account. Review the <a href="#upload_trouble">upload troubleshooting section</a> if you have issues.</p>
-
-
-
-<a name="getting_consider_bridging"></a><h3>2.2.6 Consider bridging<a href="#getting_consider_bridging" title="Link to this section"><img src="pics/anchor.gif" width="15" height="9" border="0" alt="" /></a></h3>
-<p>Coppermine was designed to be used as standalone application in the first place. However, many people wanted to integrate it with another app, so starting with cpg1.1.x coppermine came with a mechanism that allowed users to bridge coppermine with another app in terms of user management. The main advantage is giving your site visitors a single sign-on for your overall site (e.g. both in your gallery and your forum), so they don't have to sign in twice and memorize two different logons.</p>
-<p>Bridging does <strong>not</strong> integrate coppermine visually into your home page (you have to <a href="#creating">create a custom theme</a> to accomplish this).</p>
-<p>You can enable (or disable) bridging at any time, but you should make up your mind on bridging when installing Coppermine in the first place, because there are some issues that have to be taken into account: if you already have users inside your coppermine database when enabling bridging, the correlation between those initial coppermine users and the "new" users from the app you bridge with gets lost. As a consequence, there will be no more correlation between things your "old" users did (uploading pic, posting comments etc.) and the "new" users from the bridge.</p>
-<p>To circumvent those future issues, you should make up your mind when installing coppermine: do you want to allow user interaction? Do you plan to offer a bulletin board later (or any other application that keeps track of users)? If your answer is "yes", or "maybe", then it's advisable to enable bridging before actually promoting your site publicly and starting to let users in.</p>
-<p>Read up details in the <a href="#integrating">bridging section</a> of the docs.</p>
-
-
-
-<a name="getting_interaction"></a><h3>2.2.7 What are your visitors allowed to do?<a href="#getting_interaction" title="Link to this section"><img src="pics/anchor.gif" width="15" height="9" border="0" alt="" /></a></h3>
-<p>Coppermine can be used for a variety or purposes: some use it to display their personal files to everyone on the internet, others want only a limited number of users to be able to access the site for viewing only and no interaction at all. A large number of webmasters want to create a community site, where users can participate by uploading files, comment on other's files and rate them.</p>
-<p>You can use Coppermine in all those setups (and a mixture of it), but you should be aware of the possibilities and limitations first:</p>
-<p>Users &quot;inherit&quot; their permissions from the group they're in. That's why many settings in Coppermine are set per group. This way, you can have several levels of permissions. Set permissions by group using the <a href="#group_cp">group control panel</a></p>
-
-
-<a name="getting_design"></a><h3>2.2.8 Change your coppermine's design<a href="#getting_design" title="Link to this section"><img src="pics/anchor.gif" width="15" height="9" border="0" alt="" /></a></h3>
-<p>You can change some layout and design aspects (e.g. <a href="#admin_album_list_content">displaying random thumbnails on the index page</a>) in the corresponding config section. Coppermine comes with a theme engine that allows you to customize the look of your gallery. You can choose one of the themes that come with Coppermine or you can download user-contributed themes from the downloads section of the Coppermine homepage. Based on the available themes you can <a href="#theme_create">customize your individual theme</a> to make your site look unique and make your gallery match the overall look of your site.</p>
-<p><a class="back" href="#top">Back to top</a></p><hr />
-
-
-<a name="creating"></a>
-<h2>2.3 Creating or upgrading your own themes</h2>
-<p>Coppermine comes with a powerful engine that allows you to <a href="#theme_create">create your own theme</a>, giving your gallery a unique look that matches the overall layout of your entire site. Other applications call them &quot;skins&quot; or &quot;templates&quot;, well call them &quot;themes&quot;.</p>
-<p>There is a (constantly growing) number of user-contributed themes that can be previewed and downloaded from the Coppermine web site.</p>
--------------------------------------
-<a name="theme_builtin"></a><h3>2.3.1 Themes that come with Coppermine<a href="#theme_builtin" title="Link to this section"><img src="pics/anchor.gif" width="15" height="9" border="0" alt="" /></a></h3>
-<p>The Coppermine package comes with some pre-made themes:</p>
-<ul>
-  <li><strong>Classic</strong><br />
-  The default theme with white background and a horizontal menu</li>
-  <li><strong>Eyeball</strong><br />
-  A theme with a dark background and a horizontal menu that expands for user interaction features</li>
-  <li><strong>Fruity</strong><br />
-  A colorful theme with a vertical menu on the left</li>
-  <li><strong>Hardwired</strong><br />
-  A theme with a dark background and a smallish font size that works well for narrow space and smaller resolutions. Comes with two horizontal menus</li>
-  <li><strong>IGames</strong><br />
-  A dark theme with 3D-effects and a horizontal menu</li>
-  <li><strong>Mac OX X</strong><br />
-  A theme with light background and an expanding horizontal menu that resembles the look of a Mac</li>
-  <li><strong>Project VII</strong><br />
-  A theme with white background featuring a horizontal expanding menu</li>
-  <li><strong>Rainy Day</strong><br />
-  A theme with dark background and rounded edges</li>
-  <li><strong>Sample</strong><br />
-  The sample theme would look identical to the classic theme. It will not be displayed using the <a href="#admin_theme_theme_list">theme selector</a> - it is just meant as <a href="#theme_sample">a template to copy from</a> when creating or modifying your own theme.</li>
-  <li><strong>Waterdrop</strong><br />
-  A theme with a light background and a &quot;conventional&quot; horizontal menu</li>
-</ul>
-
-<a name="theme_upgrading"></a><h3>2.3.2 Upgrading your custom theme<a href="#theme_upgrading" title="Link to this section"><img src="pics/anchor.gif" width="15" height="9" border="0" alt="" /></a></h3>
-<p>To upgrade an existing custom theme from cpg1.3.x to version 1.4.x, read the <a href="theme/index.html">theme upgrade documentation</a>.</p>
-<p>You only have to upgrade your custom theme when upgrading between major versions (e.g. from cpg1.3.x to cpg1.4.x), as from one major version to the next, the theming engine is subject to changes. When only upgrading from minor versions to the next (e.g. from cpg1.4.x to cpg1.4.y), you don't have to update your custom theme.</p>
-<p>The core themes that come with Coppermine packages don't need to be updated, as they should be replaced during the upgrade and therefor will contain all needed changes. However: if you have based your custom theme on one of the core themes that come with coppermine (e.g. the classic theme), pay attention to possible changes. As suggested below, it's advisable to rename your custom theme to make sure that it doesn't accidentally get overwritten when upgrading.</p>
-<a name="theme_upgrading_end"></a>
-
-<a name="theme_files"></a><h3>2.3.3 Content of a theme<a href="#theme_files" title="Link to this section"><img src="pics/anchor.gif" width="15" height="9" border="0" alt="" /></a></h3>
-<p>Coppermine themes are stored in the &quot;<strong>themes</strong>&quot; directory, each consists of 3 primary files : </p>
-<ul>
-  <li>&quot;<strong>template.html</strong>&quot; the main template in plain HTML.</li>
-  <li>&quot;<strong>style.css</strong>&quot; the stylesheet associated with the template</li>
-  <li>&quot;<strong>theme.php</strong>&quot; the PHP theme file</li>
-</ul>
-<p>Additionally, there usually is a folder named &quot;images&quot; that resides within the theme folder (themes/theme_name/images/) that contains the images used by the particular theme (logos, bullets, backgrounds and other graphical resources needed).</p>
-<a name="theme_files_end"></a>
-
-<a name="theme_sample"></a><h3>2.3.4 The sample theme - a template to copy from<a href="#theme_sample" title="Link to this section"><img src="pics/anchor.gif" width="15" height="9" border="0" alt="" /></a></h3>
-<p>Your Coppermine installation also includes a &quot;sample&quot; theme directory. The &quot;sample&quot; theme includes each of these files but does not show up in the user selectable list of themes in your Coppermine display. Sample's theme.php also holds a copy of every themeable function and template for your reference. If you opt to use the &quot;sample&quot; theme to begin creating your own theme, you should follow the theme.php instructions in the &quot;<a href="theme/index.html">theme upgrade documentation</a>&quot; and begin with a blank theme.php.</p>
-<p>To clarify: you <strong>mustn't</strong> edit the sample theme (as it will not be displayed), but copy the sections you want to see changed from it into your custom theme. Don't copy the whole content from themes/sample/theme.php into your custom theme, as this will only clutter your custom theme and will make upgrading very hard in the future. Instead, copy the sections you want to modify.</p>
-<a name="theme_sample_end"></a>
-
-<a name="theme_engine"></a><h3>2.3.5 How the theme engine works<a href="#theme_engine" title="Link to this section"><img src="pics/anchor.gif" width="15" height="9" border="0" alt="" /></a></h3>
-<p>When a Coppermine page is being parsed, the core code will call theme functions. If those functions exist in your custom theme, they will be taken into account. If a particular function does not exist in your custom theme, the core function will be used. The core functions (the default theme behaviour if you want to put it that way) reside in includes/themes.inc.php. Therefor, you <strong>mustn't</strong> edit includes/themes.inc.php, under no circumstances, as all your changes will be lost when upgrading in the future. Everything that possibly could be accomplished by editing include/themes.inc.php can be accomplished by editing themes/yourtheme/theme.php as well - stuff defined in your custom theme will take precedence over the core theme functions.</p>
-<a name="theme_engine_end"></a>
-
-<a name="theme_create"></a><h3>2.3.6 Creating your custom theme<a href="#theme_create" title="Link to this section"><img src="pics/anchor.gif" width="15" height="9" border="0" alt="" /></a></h3>
-<a name="theme_create_rename"></a><h4>2.3.6.1 Rename your theme first<a href="#theme_create_rename" title="Link to this section"><img src="pics/anchor.gif" width="15" height="9" border="0" alt="" /></a></h4>
-<p>To create a new theme, the best solution is to use an existing one as its copy template. To do that, make a copy of the folder of the theme you want to use as a basis. Then edit the &quot;<strong>template.html</strong>&quot;, &quot;style.css&quot; and &quot;<strong>theme.php</strong>&quot; files and replace all occurences of &quot;<strong>themes/old_theme_dir</strong>&quot; with &quot;<strong>themes/new_theme_dir</strong>&quot; in order for the links to point to the correct place.<br />
-Avoid using spaces and special chars in your custom theme name - only use alphanumerals and the underscore (_).</p>
-<p>Also keep in mind that despite this file being located in the &quot;<strong>themes/your_theme_dir</strong>&quot; directory, it must be coded as if it was in the main directory of the coppermine installation. For example, in order to display an image, you must use <tt class="code">&lt;img src=&quot;<strong>themes</strong>/theme_dir/images/image.gif&quot; alt=&quot;&quot;/&gt;</tt> and not just <tt class="code">&lt;img src=&quot;images/image.gif&quot; alt=&quot;&quot;/&gt;.</tt> The same principle applies for the &quot;<strong>theme.php</strong>&quot; file.</p>
-<div class="quote">
-<p><strong>Example:</strong></p>
-<ul>
-  <li><strong>Create a copy</strong><br />
-  Browse the local coppermine gallery copy on your client, navigate to the themes folder (<tt class="code">your_coppermine_folder/themes/</tt>), right-click on the folder name that represents the theme you want to base your custom theme on (in this example, we will use the classic theme, so we will use <tt class="code">your_coppermine_folder/themes/classic/</tt>), select &quot;copy&quot; from the context menu. Then paste the content of the clipboard into the themes folder; a folder (named &quot;Copy of classic&quot; or similar) will turn up.</li>
-  <li><strong>Rename the folder</strong><br />
-  Right-click on the newly created folder (<tt class="code">your_coppermine_folder/themes/Copy of classic/</tt>) and select &quot; rename&quot; from the context menu. Choose a unique theme name - in this example, we will use &quot;my_theme&quot; (resulting in the folder to be renamed to <tt class="code">your_coppermine_folder/themes/my_theme/</tt>).<br />
-  Keep in mind that we will upload the theme to your webserver later - you will have to make sure to properly use capitalization: on Windows-driven clients, capitalization does not matter, so there is no difference between &quot;<tt class="code">My_theme</tt>&quot; and &quot;<tt class="code">My_theme</tt>&quot;. Most webservers are Linux-driven though, where capitalization <em>does</em> matter (there <em>is</em> a difference between &quot;<tt class="code">My_theme</tt>&quot; and &quot;<tt class="code">My_theme</tt>&quot;). To be safe it is recommended to use lower case to stay out of harms way.</li>
-  <li><strong>Edit the files to reflect the theme name</strong><br />
-  Use a plain text editor (in this example, we will use notepad.exe), open <tt class="code">your_coppermine_folder/themes/my_theme/template.html</tt>. Find &quot;<tt class="code">themes/classic</tt>&quot; and replace with &quot;<tt class="code">themes/my_theme</tt>&quot; (may exist in the file several times, so make sure to replace <em>all</em> occurrences of &quot;<tt class="code">themes/classic</tt>&quot; with &quot;<tt class="code">themes/my_theme</tt>&quot;). Save your changes. Then do the same thing for the files <tt class="code">theme.php</tt> and <tt class="code">style.css</tt>.
-  </li>
-</ul>
-</div>
-<p>It is strongly recommended to rename your custom theme as suggested above, even if you only plan to accomplish minor changes to a default theme that coppermine comes with. The reason is quite simple: when upgrading at a later stage, you will not run into issues (e.g. accidentally overwrite your customized theme with an updated default theme).</p>
-
-<a name="theme_create_tipps"></a><h4>2.3.6.2 Tipps &amp; tricks<a href="#theme_create_tipps" title="Link to this section"><img src="pics/anchor.gif" width="15" height="9" border="0" alt="" /></a></h4>
-<p>If you're not sure how to go about creating your own theme, you could also have a look at the download section of the coppermine homepage: there are many user-contributed themes available for download that can be previewed on the <a href="http://coppermine-gallery.net/demo/cpg14x/" rel="external" class="external">coppermine demo page</a>.</p>
-<p>While you're in the process of creating or testing a new theme, you might not want your theme to be displayed to visitors of your site, but you (as the coppermine admin) may want to still be able to preview your theme. To do that, simply add <tt class="code">theme=your_theme_name</tt> to the url in your browser.</p>
-<br />
-<div class="quote">
-<strong>Examples:</strong>
-<ul>
-<li><tt class="code">http://yoursite.tld/coppermine/index.php?theme=your_theme_name</tt> will show the coppermine index page, using your theme</li>
-<li><tt class="code">http://yoursite.tld/coppermine/thumbnails.php?album=1&amp;theme=your_theme_name</tt> will show the thumbnail view of album 1, using your theme</li>
-<li><tt class="code">http://yoursite.tld/coppermine/?theme=xxx</tt> will reset your view back to the theme you chose as your <a href="#admin_theme_theme">default theme</a> in coppermine config</li>
-</ul>
-</div>
-
-<a name="theme_create_wysiwyg"></a><h4>2.3.6.3 Using WYSIWYG-editors<a href="#theme_create_wysiwyg" title="Link to this section"><img src="pics/anchor.gif" width="15" height="9" border="0" alt="" /></a></h4>
-<p>If you are using an HTML editor to design your template, the easist working solution might be to save the &quot;<strong>template.html</strong>&quot; file into the main directory of your coppermine installation and edit it there. Whenever you load Coppermine, if the script finds a file named &quot;<strong>template.html</strong>&quot; in the main directory it will load it instead of the default one that you assigned in the CONFIG menu. Once you have finished  editing your theme be sure to move the file back into the directory it belongs. Don't forget to remove the temporary template.html file from the Coppermine root folder once you are done editing!</p>
-<p class="important">It is strongly recommended <strong>not</strong> to use a <acronym title="What You See Is What You Get">WYSIWYG</acronym>-editor at all to edit Coppermine files. The coppermine dev team is aware that it might seem easier for beginners to use those graphical editors. However, they have some major drawbacks:</p>
-<ul>
-  <li>Some editors (mostly MS Frontpage) are notorious for &quot;beautifying&quot; the code in a manner that renders embedded PHP code invalid. Subsequently, if you use a WYSIWYG-editor to edit theme.php, the file may get corrupt (i.e. un-usable)</li>
-  <li>Graphical editors tend to create deprecated, invalid, proprietary HTML. You have more control if you use a plain text editor instead.</li>
-  <li>You don't learn anything. Sooner or later, you will want to do something your precious WYSIWYG-editor isn't capable to do. Now what? You have always used the editor to do your work - you don't understand HTML. When using a plain text editor, the learning curve may be steep, but it's much more entertaining.</li>
-</ul>
-
-<a name="theme_create_template_html"></a><h4>2.3.6.4 Editing template.html<a href="#theme_create_template_html" title="Link to this section"><img src="pics/anchor.gif" width="15" height="9" border="0" alt="" /></a></h4>
-<p>The file template.html is the core file of each theme: it can only contain HTML/CSS/JavaScript code (no PHP!) plus some placeholder tokens that will get replaced with content when the theme is being parsed (i.e. when the HTML output of a gallery page is being generated). Template.html determines the overall layout of your gallery pages. Use it to make your gallery match the overall look of your entire website.</p>
-
-<a name="theme_create_template_token"></a><h4>2.3.6.5 Template tokens<a href="#theme_create_template_token" title="Link to this section"><img src="pics/anchor.gif" width="15" height="9" border="0" alt="" /></a></h4>
-<p>When editing the &quot;<strong>template.html</strong>&quot; file do not remove the elements between <strong>{}</strong> - these are the placeholders used by the script. Think of those items in curly brackets as placeholders that will be replaced later with dynamic content when your template is being parsed. You can move the placeholder tokens around to obtain different layouts. However, you have to understand that the {GALLERY}-token is a special placeholder: think of it more as a separator than an actual placeholder token. When the template is being parsed, the {GALLERY}-token will be replaced with the actual core component of the gallery. Other placeholders tokens in curly braces that come <em>before</em> the {GALLERY} token are being handled by the pageheader function; placeholder tokens that come <em>after</em> the {GALLERY}-token are being handled by the pagefooter function. Therefor, you have to keep in mind that you can freely move tokens around in template.html as long as you don't reverse the position of the token you move and the {GALLERY}-token.</p>
-
-<a name="theme_create_template_token_list"></a><h4>2.3.6.6 List of tokens in template.html<a href="#theme_create_template_token_list" title="Link to this section"><img src="pics/anchor.gif" width="15" height="9" border="0" alt="" /></a></h4>
-<table border="0" cellspacing="0" cellpadding="0" class="maintable">
-  <tr>
-    <th valign="top" align="left" class="tableh1">Token</th>
-    <th valign="top" align="left" class="tableh1">Description</th>
-    <th valign="top" align="left" class="tableh1">Default position</th>
-    <th valign="top" align="left" class="tableh1">Needed?</th>
-    <th valign="top" align="left" class="tableh1">Dependancies</th>
-  </tr>
-  <tr>
-    <td valign="top" class="tableb">{LANG_DIR}</td>
-    <td valign="top" class="tableb" class="tableb">
-      <strong>Language direction</strong><br />
-      Possible values are <abbr title="left-to-right">LTR</abbr> and <abbr title="right-to-left">RTL</abbr>. Should not be changed or modified at all.
-    </td>
-    <td valign="top" class="tableb">pageheader</td>
-    <td valign="top" class="tableb">mandatory</td>
-    <td valign="top" class="tableb">Filled by Coppermine, depending on the orientation of the language the end user has chosen</td>
-  </tr>
-  <tr>
-    <td valign="top" class="tableb tableb_alternate">{CHARSET}</td>
-    <td valign="top" class="tableb tableb_alternate">
-      <strong>Character set</strong><br />
-      Determines the character set used - filling the HTML tag <tt class="code"><meta http-equiv="Content-Type" content="text/html; charset={CHARSET}" /></tt>. Do not change unless you <em>really</em> know what you're doing.
-    </td>
-    <td valign="top" class="tableb tableb_alternate">pageheader</td>
-    <td valign="top" class="tableb tableb_alternate">mandatory</td>
-    <td valign="top" class="tableb tableb_alternate">Filled by Coppermine, depending on the <a href="#admin_language_charset">encoding</a> the admin has chosen in config.</td>
-  </tr>
-  <tr>
-    <td valign="top" class="tableb">{TITLE}</td>
-    <td valign="top" class="tableb">
-      <strong>Page Title</strong><br />
-      The page title that is mainly taken into account by search engines. The human visitor sees the title tag in the browser window.
-    </td>
-    <td valign="top" class="tableb">pageheader</td>
-    <td valign="top" class="tableb">mandatory</td>
-    <td valign="top" class="tableb">Title tag is being composed in the individual coppermine core file (e.g. displayimage.php, thumbnails.php etc.), handed over to the pageheader function.</td>
-  </tr>
-  <tr>
-    <td valign="top" class="tableb tableb_alternate">{META}</td>
-    <td valign="top" class="tableb tableb_alternate">
-      <strong>Meta tags</strong><br />
-      Meta tags that depend on the dynamic content of a page are being inserted here. Currently, Coppermine uses the keywords meta tag (<tt class="code">&lt;meta name="keywords" content="DYNAMIC CONTENT HERE" /&gt;</tt>) and the refresh meta tag (<tt class="code">&lt;meta http-equiv="refresh" content="5; URL=REDIRECTION_PAGE" /&gt;</tt>).<br />
-      If you want to add other meta tags (e.g. author meta data like <tt class="code">&lt;meta name="author" content="Firstname Lastname" /&gt;</tt>), do not replace the token, but add your custom meta tags below the {META}-token.
-    </td>
-    <td valign="top" class="tableb tableb_alternate">pageheader</td>
-    <td valign="top" class="tableb tableb_alternate">mandatory</td>
-    <td valign="top" class="tableb tableb_alternate">Populated dynamically by the script, e.g. for meta keywords based on file keywords or for redirection for status change screens.</td>
-  </tr>
-  <tr>
-    <td valign="top" class="tableb tableb_alternate">{CUSTOM_HEADER}</td>
-    <td valign="top" class="tableb tableb_alternate">
-      <strong>Custom Header</strong><br />
-      If the corresponding option has been set in config, this token will be replaced with the output that your <a href="#admin_theme_include_path_start">custom header</a> generates. If you don't use the custom header feature, you can remove the {CUSTOM_HEADER}-token from your template, but it's advisable to leave it in place if you decide to use the feature later.
-    </td>
-    <td valign="top" class="tableb tableb_alternate">pageheader</td>
-    <td valign="top" class="tableb tableb_alternate">optional</td>
-    <td valign="top" class="tableb tableb_alternate"><a href="#admin_theme_include_path_start">Path to custom header include</a> set up in config</td>
-  </tr>
-  <tr>
-    <td valign="top" class="tableb">{GAL_NAME}</td>
-    <td valign="top" class="tableb">
-      <strong>Gallery name</strong><br />
-      Will be replaced with the gallery name you set up in config when the template is being parsed. You might want to remove this token, especially if you already have a banner in your theme that displays your gallery name.
-    </td>
-    <td valign="top" class="tableb">pageheader</td>
-    <td valign="top" class="tableb">optional</td>
-    <td valign="top" class="tableb"><a href="#admin_general_name">Gallery name</a> set in config</td>
-  </tr>
-  <tr>
-    <td valign="top" class="tableb tableb_alternate">{GAL_DESCRIPTION}</td>
-    <td valign="top" class="tableb tableb_alternate">
-      <strong>Gallery description</strong><br />
-      Will be replaced with the gallery description you set up in config when the template is being parsed. You might want to remove this token, especially if you already have a banner in your theme that displays your gallery name.
-    </td>
-    <td valign="top" class="tableb tableb_alternate">pageheader</td>
-    <td valign="top" class="tableb tableb_alternate">optional</td>
-    <td valign="top" class="tableb tableb_alternate"><a href="#admin_general_description">Gallery description</a> set in config</td>
-  </tr>
-  <tr>
-    <td valign="top" class="tableb">{SYS_MENU}</td>
-    <td valign="top" class="tableb">
-      <strong>System menu</strong><br />
-      Determines the position of the first level menu the end user will see on your page (the one that contains the login/logout link). Even if you want to get rid of the menu or parts of it, do not remove the {SYS_MENU} token itself, but remove the menu items you don't want displayed by editing theme.php instead.
-    </td>
-    <td valign="top" class="tableb">pageheader</td>
-    <td valign="top" class="tableb">mandatory</td>
-    <td valign="top" class="tableb">
-      <ul>
-        <li>Login/Logout link: Status of user (admin/registered user/guest).</li>
-        <li>Upload-link: Permission of current user to upload (determined in <a href="#group_cp">groups panel</a>).</li>
-        <li>Register-link: <a href="#admin_allow_registration">Allow new user registrations</a> enabled/disabled in config.</li>
-        <li>FAQ-link: <a href="#admin_theme_faq">Display FAQ</a> enabled/disabled in config.</li>
-      </ul>
-    </td>
-  </tr>
-  <tr>
-    <td valign="top" class="tableb tableb_alternate">{SUB_MENU}</td>
-    <td valign="top" class="tableb tableb_alternate">
-      <strong>Sub menu</strong><br />
-      Determines the position of the second level menu the end user will see on your page (the one that contains the links &quot;Album list&quot; / &quot;Last uploads&quot; / &quot;Last comments&quot; / &quot;Most viewed&quot; / &quot;Top rated&quot; / &quot;My Favorites&quot; / &quot;By Date&quot; / &quot;Search&quot;). Even if you want to get rid of the menu or parts of it, do not remove the {SUB_MENU} token itself, but remove the menu items you don't want displayed by editing theme.php instead.
-    </td>
-    <td valign="top" class="tableb tableb_alternate">pageheader</td>
-    <td valign="top" class="tableb tableb_alternate">mandatory</td>
-    <td valign="top" class="tableb tableb_alternate"><abbr title="not applicable">n/a</abbr></td>
-  </tr>
-  <tr>
-    <td valign="top" class="tableb">{LANGUAGE_SELECT_FLAGS}</td>
-    <td valign="top" class="tableb">
-      <strong>Language selector (flags)</strong><br />
-      Will display a row of flags representing the languages available for the end user to choose if corresponding config setting is enabled.
-    </td>
-    <td valign="top" class="tableb">pageheader</td>
-    <td valign="top" class="tableb">optional</td>
-    <td valign="top" class="tableb"><a href="#admin_language_flags">Display language flags</a> enabled/disabled in config.</td>
-  </tr>
-  <tr>
-    <td valign="top" class="tableb tableb_alternate">{LANGUAGE_SELECT_LIST}</td>
-    <td valign="top" class="tableb tableb_alternate">
-      <strong>Language selector (list)</strong><br />
-      Will display a dropdown list of languages available for the end user to choose if corresponding config setting is enabled.
-    </td>
-    <td valign="top" class="tableb tableb_alternate">pageheader</td>
-    <td valign="top" class="tableb tableb_alternate">optional</td>
-    <td valign="top" class="tableb tableb_alternate"><a href="#admin_language_list">Display language list</a> enabled/disabled in config.</td>
-  </tr>
-  <tr>
-    <td valign="top" class="tableb">{THEME_SELECT_LIST}</td>
-    <td valign="top" class="tableb">
-      <strong>Theme selector (list)</strong><br />
-      Will display a dropdown list of themes available for the end user to choose if corresponding config setting is enabled.
-    </td>
-    <td valign="top" class="tableb">pageheader</td>
-    <td valign="top" class="tableb">optional</td>
-    <td valign="top" class="tableb"><a href="#admin_theme_theme_list">Display theme list</a> enabled/disabled in config.</td>
-  </tr>
-  <tr>
-    <td valign="top" class="tableb tableb_alternate">{ADMIN_MENU}</td>
-    <td valign="top" class="tableb tableb_alternate">
-      <strong>Admin menu</strong><br />
-      Displays the admin menu.
-    </td>
-    <td valign="top" class="tableb tableb_alternate">pageheader</td>
-    <td valign="top" class="tableb tableb_alternate">mandatory</td>
-    <td valign="top" class="tableb tableb_alternate">Admin must be logged in. Admin controls mustn't be hidden.</td>
-  </tr>
-  <tr>
-    <td valign="top" class="tableb tableb_alternate">{GALLERY}</td>
-    <td valign="top" class="tableb tableb_alternate">
-      <strong>Gallery</strong><br />
-    </td>
-    <td valign="top" class="tableb tableb_alternate"><abbr title="not applicable">n/a</abbr></td>
-    <td valign="top" class="tableb tableb_alternate">mandatory</td>
-    <td valign="top" class="tableb tableb_alternate"></td>
-  </tr>
-  <tr>
-    <td valign="top" class="tableb">{CUSTOM_FOOTER}</td>
-    <td valign="top" class="tableb">
-      <strong>Custom Footer</strong><br />
-      If the corresponding option has been set in config, this token will be replaced with the output that your <a href="#php-content_header_footer">custom footer</a> generates. If you don't use the custom footer feature, you can remove the {CUSTOM_FOOTER}-token from your template, but it's advisable to leave it in place if you decide to use the feature later.
-    </td>
-    <td valign="top" class="tableb">pagefooter</td>
-    <td valign="top" class="tableb">optional</td>
-    <td valign="top" class="tableb"><a href="#admin_theme_include_path_start">Path to custom footer include</a> set up in config</td>
-  </tr>
-  <tr>
-    <td valign="top" class="tableb tableb_alternate">{VANITY}</td>
-    <td valign="top" class="tableb tableb_alternate">
-      <strong>Vanity block</strong><br />
-      If your custom theme is defined as valid theme and you have enabled the corresponding option in config, the {VANITY}-placeholder will be replaced with mini-banners that link to PHP.net, mysql.com and the HTML and CSS validators of the W3C.<br />
-      <img src="pics/vanity.png" width="351" height="26" border="0" alt="" title="vanity block" />
-    </td>
-    <td valign="top" class="tableb tableb_alternate">pagefooter</td>
-    <td valign="top" class="tableb tableb_alternate">optional</td>
-    <td valign="top" class="tableb tableb_alternate">
-      <a href="#vanity_block">Display the vanity block on themes that are defined as XHTML and CSS compliant</a> enabled in config.<br />
-      Theme defined XHTML and CSS compliant in theme.php
-    </td>
-  </tr>
-</table>
-
-
-<a name="theme_create_colors"></a><h4>2.3.6.7 Modifying colors<a href="#theme_create_colors" title="Link to this section"><img src="pics/anchor.gif" width="15" height="9" border="0" alt="" /></a></h4>
-<p>To modify the colors, fonts, font sizes, etc... used by the script, you should edit the &quot;<strong>style.css</strong>&quot; stylesheet whenever possible. For example, if you want to increase or decrease the size of the fonts you can simply modify the line with : <tt class="code">table { font-size: 12px; }</tt>. Most of the font sizes used by the script are defined as a percentage of this size.</p>
-
-<a name="theme_create_theme_php"></a><h4>2.3.6.8 Editing theme.php<a href="#theme_create_theme_php" title="Link to this section"><img src="pics/anchor.gif" width="15" height="9" border="0" alt="" /></a></h4>
-<p>The &quot;<strong>theme.php</strong>&quot; file contains all the HTML templates used by the script. You can edit them, as well. When making modifications to these templates, be careful that you do not alter the lines that start with <tt class="code">&lt;!-- BEGIN xxx --&gt;</tt> and <tt class="code">&lt;!-- END xxx --&gt;</tt>. These lines are often used to identify the start and end of specific code blocks that the script will use to display your gallery.</p>
-
-
-<a name="theme_create_end"></a>
-<p><a class="back" href="#top">Back to top</a></p><hr />
-
-<a name="safe"></a>
-<h2>2.4 Safe mode issues</h2>
-<p>A significant number of webhosts on the Internet run PHP in safe mode. Coppermine runs without any problem in safe mode and with the &quot;open basedir restriction&quot; active, provided safe mode is properly configured. Unfortunately, on many hosts, safe mode is not configured properly.</p>
-<p>If your webhost is running PHP in safe mode but is misconfigured, you may need to do the following :</p>
-<ul>
-  <li>With a FTP program, change the mode of Coppermine's &quot;<strong>include</strong>&quot; directory on your server to <strong>0777</strong>.</li>
-  <li>Do the same for the &quot;<strong>albums</strong>&quot; and &quot;<strong>userpics</strong>&quot; directories.</li>
-  <li>Check that at the beginning the the &quot;<strong>include/config.inc.php</strong>&quot; file, you have a line with : &quot;<strong>define('SILLY_SAFE_MODE', 1);</strong>&quot;</li>
-</ul>
-<p><a class="back" href="#top">Back to top</a></p><hr />
-
-<a name="smtp"></a>
-<h2>2.5 Using SMTP to send emails</h2>
-<p>By default the script uses the PHP built-in <strong>mail</strong> function to send emails. In some cases, the PHP built-in function can't be used.</p>
-<p> If, in order to send emails with PHP, you are required to supply a <strong>hostname</strong>, a <strong>username</strong> and a <strong>password</strong>, you will need to edit the CONFIG menu section &quot;Email settings&quot; and insert the correct values there. If you don't need a username and password to connect to your SMTP server, just leave these lines blank. If you don't know what settings to enter, you will need to check with your webhost.</p>
-<p><a class="back" href="#top">Back to top</a></p><hr />
-
-<a name="upgrade"></a>
-<h1>3. Upgrading</h1>
-<a name="upgrade_steps"></a>
-<h2>3.1 Upgrade steps</h2>
-<a name="10"></a>
-<h3>3.1.1 Upgrading from version 1.0</h3>
-
-<p>If you already have installed version 1.0 and you want to transfer your albums to version 1.4x follow the following steps:</p>
-<ul>
-  <li>First, make a backup (dump) of your database.</li>
-  <li> Install version 1.4.x as you normally would but in a directory different from the one where you v 1.0 is. Note that in order to use the upgrade script, <strong>tables for version 1.0 and 1.4.x must be stored in the same database</strong>.</li>
-  <li>Copy the &quot;<strong>albums</strong>&quot; directory of version 1.0 into the directory where you installed version 1.4.x</li>
-  <li>The upgrade script assumes that you used the &quot;<strong>CPG_</strong>&quot; prefix for tables (default value) when you installed version 1.0, if this is not the case, edit upgrade-1.0-to-1.2.php and edit the $prefix10 variable.</li>
-  <li>Login to your 1.4.x Gallery, enter the admin mode</li>
-  <li>And call the upgrade script, http://yousitename/coppermine_dir/upgrade-1.0-to-1.2.php</li>
-  <li><strong>The upgrade from 1.0 to 1.4.x is a two-step process.</strong> You must click the link which comes up on the bottom of the page to complete the upgrade!.</li>
-        <li><strong>Delete upgrade-1.0-to-1.2.php from your server</strong>.</li>
-        <li>If you get an error, go to Coppermine 1.4.x config page, enable <a href="#debug_mode">debug mode</a>, try to call the upgrade script again and check what errors you get.</li>
-</ul>
-<p> <strong>This upgrade process leaves your v1.0 gallery untouched </strong></p>
-<p><a class="back" href="#top">Back to top</a></p><hr />
-
-<a name="13"></a>
-<h3>3.1.2 Upgrading from cpg1.1.x, cpg1.2.x or cpg1.3.x to version cpg1.4.x</h3>
-    <ul>
-        <li>First, make a backup (dump) of your database.</li>
-        <li>Backup your include/config.inc.php file, your anycontent.php file and your &quot;albums&quot; directory.</li>
-        <li>Unpack the archive</li>
-        <li><strong>Except for the &quot;albums&quot; directory</strong>, upload all of the new files and directories making sure not to overwrite the include/config.inc.php file, your anycontent.php file or the albums directory.</li>
-        <li>Delete all leftover, outdated language files in the lang folder</li>
-        <li>If you have not already done so, create a folder called &quot;edit&quot; within your &quot;albums&quot; directory - this folder will be used by coppermine as a temporary folder, do not ftp-upload files there. Make sure the new &quot;edit&quot;-folder is CHMODed the same way your albums-directory is (755 or 777, depending on your server's config)</li>
-        <li>Run the file &quot;update.php&quot; in the coppermine directory once in your browser (e.g. http://yourdomain.tld/coppermine/update.php). This will update your coppermine install by making all necessary changes in the database.</li>
-        <li>If you have made a custom theme, apply the changes that were introduced in the themes structure to your custom-made theme - refer to the <a href="theme/index.html">theme-upgrade guide</a>.</li>
-        <li>You can not use language files from older versions of Coppermine as primary language (the language the admin will use) - make sure you only have the language files that come with this package inside of your lang folder (delete or rename all files from older versions within the lang folder).<br />
-        If you need to use a language that hasn't been translated for cpg1.4.x, you can try using the language file from cpg1.3.x, however there are certain caveats:
-          <ul>
-            <li>You need to enable the language fallback option in coppermine's config page</li>
-            <li>cpg1.4.x-phrases that don't exist in your old language file will go untranslated or show in english</li>
-            <li>Coppermine can't be administered using an old language file - the admin needs to use a "true" cpg1.4.x language file</li>
-            <li>You're free to try using old language files, however when running into issues or error messages, switch to US-English and see if the issue goes away then. Using outdated language files goes unsupported</li>
-          </ul>
-        </li>
-        <li>The bridging method has changed from cpg1.3.x to cpg1.4.x. When upgrading, your bridged coppermine install will be unbridged - you will have to re-apply the bridging using the <a href="#integrating">bridge-manager</a> (using your standalone admin account you initially used to set up coppermine). You will not lose anything though, don't worry.</li>
-    </ul>
-<p>Please note: as there have been changes both in the coppermine files and the database from cpg1.3.0 or better to cpg1.4.x, users of previous versions will have to apply all steps mentioned above: both the files have to be replaced and the update.php script has to be run once.</p>
-
-<a name="14"></a>
-<h3>3.1.3 Upgrading from cpg1.4.0 or better to version cpg1.4.24</h3>
-    <ul>
-        <li>First, make a backup (dump) of your database.</li>
-        <li>Backup your include/config.inc.php file, your anycontent.php file and your &quot;albums&quot; directory.</li>
-        <li>Unpack the archive</li>
-        <li><strong>Except for the &quot;albums&quot; directory</strong>, upload all of the new files and directories making sure not to overwrite the include/config.inc.php file, your anycontent.php file or the albums directory.</li>
-        <li>Run the file &quot;update.php&quot; in the coppermine directory once in your browser (e.g. http://yourdomain.tld/coppermine/update.php). This will update your coppermine install by making all necessary changes in the database.</li>
-        <li>If you have made a custom theme, apply the changes that were introduced in the themes structure to your custom-made theme - refer to the <a href="theme/index.html">theme-upgrade guide</a>.</li>
-    </ul>
-<p>Please note: as there have been changes both in the coppermine files and the database from cpg1.4.0 or better to cpg1.4.24, users of older versions than cpg1.4.24 will have to apply all steps mentioned above: both the files have to be replaced and the update.php script has to be run once.</p>
-<a name="upgrade_steps_end"></a>
-<p><a class="back" href="#top">Back to top</a></p><hr />
-
-<a name="upgrade_why"></a>
-<h2>3.2 Why upgrade?</h2>
-<p>There are major and minor releases of Coppermine. Major releases have so far been cpg1.0, cpg1.1, cpg1.2.x, cpg1.3.x and cpg1.4.x. The next major release will be cpg1.5.x (which currently is in the dev pipeline - no scheduled release date yet). Minor releases (the third number in the version numbering scheme) represent updates, also known as &quot;maintenance releases&quot;. Major releases contain new features (compared to the previous major release), minor releases do not contain new features, but only bug fixes and slight improvements (like additional language files).</p>
-<p>To understand the release policy of the coppermine dev team you have to understand how bugs are being fixed: we maintain a repository where the core code of each major release is being constantly being improved. Major and minor bugs that are reported on the coppermine support board are being fixed in that repository. Once a new package is being bundled, all fixes that have been made in that repository go into the new maintenance release.</p>
-<p>There is a good reason for every new maintenance release: they are usually being packaged when a new bug or vulnerability is being discovered that is relevant in terms of security. As suggested above, there are several minor bugfixes that go into each new release as well, not only the one major bug or vulnerability that lead to the maintenance release. Therefor, it will not be enough to just fix the single vulnerability that has been the initial reason for a new package to be released. Instead, always upgrade to the most recent stable release as soon as it has been announced.</p>
-
-<a name="upgrade_why_reasons"></a>
-<h3>3.2.1 Reasons for package releases</h3>
-<p>This is a list of minor releases of cpg1.4.x and the reason why they have been released. It is meant to explain why you should upgrade as soon as possible to the most recent stable release if you are running an outdated version.</p>
-<table border="0" cellspacing="0" cellpadding="0" class="maintable">
-  <tr>
-    <th class="tableh1" valign="top" align="left">Package</td>
-    <th class="tableh1" valign="top" align="left">Reason for release</td>
-    <th class="tableh1" valign="top" align="left"><span class="small">Release Date</span></td>
-  </tr>
-  <tr>
-    <td class="tableb" valign="top">cpg1.4.0</td>
-    <td class="tableb" valign="top">
-      <ul>
-        <li>Alpha release for testers and developers only</li>
-      </ul>
-    </td>
-    <td class="tableb" valign="top" align="right">no package</td>
-  </tr>
-  <tr>
-    <td class="tableb tableb_alternate" valign="top">cpg1.4.1</td>
-    <td class="tableb tableb_alternate" valign="top">
-      <ul>
-        <li>Beta release for public testing</li>
-      </ul>
-      <div class="small" align="right">[<a href="http://forum.coppermine-gallery.net/index.php/topic,19374.0.html">more</a>]</div>
-    </td>
-    <td class="tableb tableb_alternate" valign="bottom" align="left">2005-07-02</td>
-  </tr>
-  <tr>
-    <td class="tableb" valign="top">cpg1.4.2</td>
-    <td class="tableb" valign="top">
-      <ul>
-        <li>Initial Stable release</li>
-      </ul>
-      <div class="small" align="right">[<a href="http://forum.coppermine-gallery.net/index.php/topic,24001.0.html">more</a>]</div>
-    </td>
-    <td class="tableb" valign="bottom" align="left">2005-11-23</td>
-  </tr>
-  <tr>
-    <td class="tableb tableb_alternate" valign="top">cpg1.4.3</td>
-    <td class="tableb tableb_alternate" valign="top">
-      <ul>
-        <li>The file relocate_server.php removed that contained a security flaw</li>
-        <li>Leftover language files from cpg1.3.x was removed from the package that caused issues</li>
-      </ul>
-      <div class="small" align="right">[<a href="http://forum.coppermine-gallery.net/index.php/topic,25598.0.html">more</a>]</div>
-    </td>
-    <td class="tableb tableb_alternate" valign="top" align="right">2005-12-27</td>
-  </tr>
-  <tr>
-    <td class="tableb" valign="top">cpg1.4.4</td>
-    <td class="tableb" valign="top">
-      <ul>
-        <li>Remote code execution flaw caused by language file inclusion</li>
-      </ul>
-      <div class="small" align="right">[<a href="http://forum.coppermine-gallery.net/index.php/topic,28445.0.html">more</a>]</div>
-    </td>
-    <td class="tableb" valign="top" align="right">2006-02-26</td>
-  </tr>
-  <tr>
-    <td class="tableb tableb_alternate" valign="top">cpg1.4.5</td>
-    <td class="tableb tableb_alternate" valign="top">
-      <ul>
-        <li>Directory traversal bug (<acronym title="also known as">aka</acronym> &quot;IMEI-Bug&quot;)</li>
-      </ul>
-      <div class="small" align="right">[<a href="http://forum.coppermine-gallery.net/index.php/topic,30655.0.html">more</a>]</div>
-    </td>
-    <td class="tableb tableb_alternate" valign="top" align="right">2006-04-21</td>
-  </tr>
-  <tr>
-    <td class="tableb" valign="top">cpg1.4.6</td>
-    <td class="tableb" valign="top">
-      <ul>
-        <li>Protection against the .rar-vulnerability of Apache-driven webservers</li>
-      </ul>
-      <div class="small" align="right">[<a href="http://forum.coppermine-gallery.net/index.php/topic,31671.0.html">more</a>]</div>
-    </td>
-    <td class="tableb" valign="top" align="right">2006-05-19</td>
-  </tr>
-  <tr>
-    <td class="tableb tableb_alternate" valign="top">cpg1.4.7</td>
-    <td class="tableb tableb_alternate" valign="top">
-      <ul>
-        <li>Fixed vulnerability of user manager</li>
-      </ul>
-      <div class="small" align="right">[<a href="http://forum.coppermine-gallery.net/index.php/topic,32333.0.html">more</a>]</div>
-    </td>
-    <td class="tableb tableb_alternate" valign="top" align="right">2006-06-06</td>
-  </tr>
-  <tr>
-    <td class="tableb" valign="top">cpg1.4.8</td>
-    <td class="tableb" valign="top">
-      <ul>
-        <li>Stability fix for &quot;Last updated Albums&quot; caused by improper fix in cpg1.4.7</li>
-      </ul>
-      <div class="small" align="right">[<a href="http://forum.coppermine-gallery.net/index.php/topic,32413.0.html">more</a>]</div>
-    </td>
-    <td class="tableb" valign="top" align="right">2006-06-08</td>
-  </tr>
-  <tr>
-    <td class="tableb tableb_alternate" valign="top">cpg1.4.9</td>
-    <td class="tableb tableb_alternate" valign="top">
-      <ul>
-        <li>Fixing security flaw</li>
-      </ul>
-      <div class="small" align="right">[<a href="http://forum.coppermine-gallery.net/index.php/topic,35473.0.html">more</a>]</div>
-    </td>
-    <td class="tableb tableb_alternate" valign="top" align="right">2006-08-27</td>
-  </tr>
-  <tr>
-    <td class="tableb" valign="top">cpg1.4.10</td>
-    <td class="tableb" valign="top">
-      <ul>
-        <li>Potential disclosure of sensitive information (sql injection)</li>
-        <li>Removal of unused file</li>
-        <li>Missing checks for email validity</li>
-        <li>Flaw in search logic</li>
-        <li>Fixed video playback in IE</li>
-      </ul>
-      <div class="small" align="right">[<a href="http://forum.coppermine-gallery.net/index.php/topic,37895.0.html">more</a>]</div>
-    </td>
-    <td class="tableb" valign="top" align="right">2006-10-29</td>
-  </tr>
-  <tr>
-    <td class="tableb tableb_alternate" valign="top">cpg1.4.11</td>
-    <td class="tableb tableb_alternate" valign="top">
-      <ul>
-        <li>mysql injection vulnerability in include/functions-inc.php</li>
-      </ul>
-      <div class="small" align="right">[<a href="http://forum.coppermine-gallery.net/index.php/topic,44845.0.html">more</a>]</div>
-    </td>
-    <td class="tableb tableb_alternate" valign="top" align="right">2007-06-29</td>
-  </tr>
-  <tr>
-    <td class="tableb" valign="top">cpg1.4.12</td>
-    <td class="tableb" valign="top">
-      <ul>
-        <li>mysql injection could lead to disclosure of sensitive information</li>
-        <li>Fixed double quotes for input fields in comments</li>
-      </ul>
-      <div class="small" align="right">[<a href="http://forum.coppermine-gallery.net/index.php/topic,44924.0.html">more</a>]</div>
-    </td>
-    <td class="tableb" valign="top" align="right">2007-07-02</td>
-  </tr>
-  <tr>
-    <td class="tableb tableb_alternate" valign="top">cpg1.4.13</td>
-    <td class="tableb tableb_alternate" valign="top">
-      <ul>
-        <li>Fixed several security-critical XSS-vulnerabilites reported by L4teral</li>
-        <li>Fixed broken russian language file (no security impact)</li>
-        <li>SEF_URLs plugin removed</li>
-        <li>Updated license from GNU GPL v2 to GNU GPL v3</li>
-      </ul>
-      <div class="small" align="right">[<a href="http://forum.coppermine-gallery.net/index.php/topic,46847.0.html">more</a>]</div>
-    </td>
-    <td class="tableb tableb_alternate" valign="top" align="right">2007-09-13</td>
-  </tr>
-  <tr>
-    <td class="tableb" valign="top">cpg1.4.14</td>
-    <td class="tableb" valign="top">
-      <ul>
-        <li>Fixed potential XSS vulnerability in displayecard.php reported by Nicolas Le Gland</li>
-      </ul>
-      <div class="small" align="right">[<a href="http://forum.coppermine-gallery.net/index.php/topic,48106.0.html">more</a>]</div>
-    </td>
-    <td class="tableb" valign="top" align="right">2007-11-07</td>
-  </tr>
-  <tr>
-    <td class="tableb tableb_alternate" valign="top">cpg1.4.15</td>
-    <td class="tableb tableb_alternate" valign="top">
-      <ul>
-        <li>Fixed potential XSS vulnerabilities in docs/showdoc.php</li>
-        <li>Fixed path diclosure in include/slideshow.inc.php</li>
-        <li>Fixed possible shell injection in include/imageObjectIM.class.php</li>
-        <li>Fixed low-impact sql injection vulnerabilities in util.php and reviewcom.php</li>
-        <li>Fixed typo in include/functions.inc.php that stopped search engine access rcording for stats</li>
-      </ul>
-      Thanks to Janek Vind for reporting those issues.
-      <div class="small" align="right">[<a href="http://forum.coppermine-gallery.net/index.php/topic,50103.0.html">more</a>]</div>
-    </td>
-    <td class="tableb tableb_alternate" valign="top" align="right">2008-01-30</td>
-  </tr>
-  <tr>
-    <td class="tableb" valign="top">cpg1.4.16</td>
-    <td class="tableb" valign="top">
-      <ul>
-        <li>Removed escapeshellarg that has been introduced into cpg1.4.15 in error</li>
-      </ul>
-      <div class="small" align="right">[<a href="http://forum.coppermine-gallery.net/index.php/topic,50194.0.html">more</a>]</div>
-    </td>
-    <td class="tableb" valign="top" align="right">2008-02-02</td>
-  </tr>
-  <tr>
-    <td class="tableb tableb_alternate" valign="top">cpg1.4.17</td>
-    <td class="tableb tableb_alternate" valign="top">
-      <ul>
-        <li>Corrected an SQL injection vulnerability in URI upload code</li>
-        <li>Added Welsh language file</li>
-        <li>Changed date formats in lang files for better windows compatibility</li>
-        <li>Updated Romanian language file</li>
-        <li>Added Latvian language file</li>
-        <li>ImageMagick rotate bug fix</li>
-      </ul>
-      <div class="small" align="right">[<a href="http://forum.coppermine-gallery.net/index.php/topic,51787.0.html">more</a>]</div>
-    </td>
-    <td class="tableb tableb_alternate" valign="top" align="right">2008-04-14</td>
-  </tr>
-  <tr>
-    <td class="tableb" valign="top">cpg1.4.18</td>
-    <td class="tableb" valign="top">
-      <ul>
-        <li>sql injection vulnerability in bridge/coppermine.inc.php fixed</li>
-      </ul>
-      <div class="small" align="right">[<a href="http://forum.coppermine-gallery.net/index.php/topic,51882.0.html">more</a>]</div>
-    </td>
-    <td class="tableb" valign="top" align="right">2008-04-14</td>
-  </tr>
-  <tr>
-    <td class="tableb tableb_alternate" valign="top">cpg1.4.19</td>
-    <td class="tableb tableb_alternate" valign="top">
-      <ul>
-        <li>Danish language file updated</li>
-        <li>spacer for empty album list cells fixed</li>
-        <li>improper nesting of form-tag in various files fixed</li>
-        <li>invalid <tt class="code">&lt;f&gt;</tt>-tag in upload.php removed</li>
-        <li>type translation in reports fixed</li>
-        <li>resources consumption for slideshows in meta albums fixed</li>
-        <li>hard-coded string "edit keywords" replaced with translation</li>
-        <li><a href="index_es.htm">Spanish documentation</a> added</li>
-        <li>SMF anonymous user fix</li>
-        <li class="important">security issue reported at <a href="http://www.milw0rm.com/exploits/6178">http://www.milw0rm.com/exploits/6178</a> fixed</li>
-        <li>profile email check issue fixed</li>
-      </ul>
-      <div class="small" align="right">[<a href="http://forum.coppermine-gallery.net/index.php/topic,54235.0.html">more</a>]</div>
-    </td>
-    <td class="tableb tableb_alternate" valign="top" align="right">2008-08-03</td>
-  </tr>
-  <tr>
-    <td class="tableb" valign="top">cpg1.4.20</td>
-    <td class="tableb" valign="top">
-      <ul>
-        <li class="important">Fixed vulnerability that allows (if unpatched) the uploading and execution of remote code (<a href="http://www.milw0rm.com/exploits/7909" rel="external" class="external">milw0rm exploit 7909</a>)</li>
-        <li>Updated XMB bridge file to work with recent versions of that application (user contribution, <a href="http://forum.coppermine-gallery.net/index.php/topic,57550.0.html">thread ID 57550</a>)</li>
-        <li>Update names associated with pictures and comments when user name is changed</li>
-        <li>Fixed issue involving display of name field in the report to admin form</li>
-        <li>Added missing translation to German language files (<a href="http://forum.coppermine-gallery.net/index.php/topic,56204.0.html">thread ID 56204</a>)</li>
-        <li>Re-did the credits section of the language files for easier future integration into cpg1.5.x</li>
-        <li>Removed double ; at line ends (<a href="http://forum.coppermine-gallery.net/index.php/topic,51899.0.html">thread ID 51899</a>)</li>
-        <li>Fixed validation issue with registration screen (thread ID 51310</a>)</li>
-        <li>Added error message if pic editor is being run with missing parameters or without authorization (<a href="http://forum.coppermine-gallery.net/index.php/topic,54414.0.html">thread ID 54414</a>)</li>
-        <li>Fixed error message in ecard.php that complained about wrong recipient email although sender email is wrong (<a href="http://forum.coppermine-gallery.net/index.php/topic,50844.0.html">thread ID 50844</a>)</li>
-        <li>Fixed minor smilies issue (<a href="http://forum.coppermine-gallery.net/index.php/topic,52804.0.html">thread ID 52804</a>)</li>
-        <li>Fixed upload permission issue for bridged galleries (<a href="http://forum.coppermine-gallery.net/index.php/topic,50798.0.html">thread ID 50798</a>)</li>
-        <li>Improved improper translation (<a href="http://forum.coppermine-gallery.net/index.php/topic,50460.0.html">thread ID 50460</a>)</li>
-        <li>Corrected SMF2 anonymous user fix</li>
-        <li>Reduced memory usage of keyword manager</li>
-        <li>Added Croation language file (user contribution)</li>
-        <li>Fixing thumbnail dimension calculation rounding error</li>
-      </ul>
-      <div class="small" align="right">[<a href="http://forum.coppermine-gallery.net/index.php/topic,57882.0.html">more</a>]</div>
-    </td>
-    <td class="tableb" valign="top" align="right">2009-02-04</td>
-  </tr>
-  <tr>
-    <td class="tableb tableb_alternate" valign="top">cpg1.4.21</td>
-    <td class="tableb tableb_alternate" valign="top">
-      <ul>
-        <li class="important">Fixed serious vulnerability that allows (if unpatched) the attacker to gain admin privileges (milw0rm exploits <a href="http://www.milw0rm.com/exploits/8114" rel="external" class="external">8114</a> and <a href="http://www.milw0rm.com/exploits/8115" rel="external" class="external">8115</a>)</li>
-        <li><a href="http://forum.coppermine-gallery.net/index.php/topic,57898.0.html">Fixed 'Selecting private pics as a category thumbnail' issue</a></li>
-        <li><a href="http://forum.coppermine-gallery.net/index.php/topic,52597.0.html">Fixed HTML special characters in referer for hit/vote stats</a></li>
-		<li>Fixed converting 'search_phrase' from array to string for table 'hit_stats'</li>
-		<li><a href="http://forum.coppermine-gallery.net/index.php/topic,56433.0.html">Fixed 'unknown' browser field in hit_stats table</a></li>
-		<li><a href="http://forum.coppermine-gallery.net/index.php/topic,52160.0.html">Fixed invalid query limit in 'random' meta-album in certain cases</a></li>
-      </ul>
-      <div class="small" align="right">[<a href="http://forum.coppermine-gallery.net/index.php/topic,58309.0.html">more</a>]</div>
-    </td>
-    <td class="tableb tableb_alternate" valign="top" align="right">2009-03-04</td>
-  </tr>
-  <tr>
-    <td class="tableb" valign="top">cpg1.4.22</td>
-    <td class="tableb" valign="top">
-      <ul>
-			<li><a href="http://forum.coppermine-gallery.net/index.php/topic,55464.0.html">Fixed improper ban expirations due to time offset being incorrectly applied</a></li>
-			<li class="important"><a href="http://forum.coppermine-gallery.net/index.php/topic,59237.0.html">Fixed XSS vulnerability in showdoc.php</a></li>
-			<li>Increased maxlength for password field in user manager from 8 to 25 to match the limits elsewhere</li>
-      </ul>
-      <div class="small" align="right">[<a href="http://forum.coppermine-gallery.net/index.php/topic,59247.0.html">more</a>]</div>
-    </td>
-    <td class="tableb" valign="top" align="right">2009-04-30</td>
-  </tr>
-  <tr>
-    <td class="tableb tableb_alternate" valign="top">cpg1.4.23</td>
-    <td class="tableb tableb_alternate" valign="top">
-      <ul>
-        <li class="important">Fixed serious vulnerability (<a href="http://www.milw0rm.com/exploits/8713" rel="external" class="external">milw0rm exploits 8713</a>)</li>
-        <li><a href="http://forum.coppermine-gallery.net/index.php/topic,59569.0.html">Added a warning message for admin if register_globals is on</a></li>
-        <li>Added PHP 5.3 support to debugger</li>
-        <li><a href="http://forum.coppermine-gallery.net/index.php/topic,58074.0.html">Updated Italian language file (user contribution)</a></li>
-      </ul>
-      <div class="small" align="right">[<a href="http://forum.coppermine-gallery.net/index.php/topic,59551.0.html">more</a>]</div>
-    </td>
-    <td class="tableb tableb_alternate" valign="top" align="right">2009-05-21</td>
-  </tr>
-  <tr>
-    <td class="tableb" valign="top">cpg1.4.24</td>
-    <td class="tableb" valign="top">
-      <ul>
-			<li>Added 'svn' to the list of foldernames to skip during batch-add</li>
-			<li>Fixing duplicates during batch-add (<a href="http://forum.coppermine-gallery.net/index.php/topic,57717.0.html">thread</a>)</li>
-			<li>Removed deprecated target attributes</li>
-			<li>Replaced reference to coppermine.sf.net with currenty URL coppermine-gallery.net</li>
-			<li>Updated Russian language file (<a href="http://forum.coppermine-gallery.net/index.php/topic,20355.msg294591.html#msg294591">thread</a>)</li>
-			<li>Added line breaks for meta navigation (<a href="http://forum.coppermine-gallery.net/index.php/topic,56888.0.html">thread</a>)</li>
-			<li>Backported browser and client OS detection function from cpg1.5.x for granular stats</li>
-			<li>Added code for correct keyword separation in keyword meta tag (<a href="http://forum.coppermine-gallery.net/index.php/topic,56873.0.html">thread</a>)</li>
-			<li>Updated Georgian language file (<a href="http://forum.coppermine-gallery.net/index.php/topic,20355.msg294374.html#msg294374">thread</a>)</li>
-			<li class="important">Updated previous security fix to avoid causing an infinite loop in PHP 4.3</li>
-			<li>Updated Finnish language file (<a href="http://forum.coppermine-gallery.net/index.php/topic,59620.0.html">thread</a>)</li>
-			<li>Updated Italian language file (<a href="http://forum.coppermine-gallery.net/index.php/topic,58074.0.html">thread</a>)</li>
-      </ul>
-      <div class="small" align="right">[<a href="http://forum.coppermine-gallery.net/index.php/topic,59681.0.html">more</a>]</div>
-    </td>
-    <td class="tableb" valign="top" align="right">2009-05-26</td>
-  </tr>
-</table>
-<p>As you can see, the coppermine dev team is constantly fixing and improving coppermine. Every non-trivial piece of software contains bugs, so there is no guarantee that the version that currently is the most recent one will be the final, ultimately bug-free version to be released in the cpg1.4.x series. It is absolutely vital that you perform regular updates as soon as new packages are being released.</p>
-<a name="upgrade_why_reasons_end"></a>
-<a name="upgrade_why_changelog"></a>
-<h3>3.2.2 Changelog</h3>
-<p>Details on the changes that went into a release can be found in the changelog that comes with each package. The changelog file can be found in the root directory of the coppermine package. The changelog contains more information on additional languages and the time and date of the fix as well.</p>
-<p>The changelog is a plain-text file that can be read using a simple editor - on Windows-driven machines, notepad.exe is fine.</p>
-<a name="upgrade_why_changelog_end"></a>
-<a name="upgrade_why_end"></a>
-<p><a class="back" href="#top">Back to top</a></p><hr />
-
-<a name="versioncheck"></a>
-<h2>3.3 The version check tool</h2>
-<p>Since the release of cpg1.3.2 Coppermine comes with an additional version checking tool to help you resolve issues with upgrades and updates easily. Except for specific files of coppermine that will only work for the version that it had been originally designed for, the versioncheck tool can be used with all versions starting from cpg1.2.1. To launch the versioncheck, simply add <tt>versioncheck.php</tt> to your browser's address bar after being logged into coppermine as admin (example: <tt>http://yourdomain.tld/your_coppermine_folder/versioncheck.php</tt>).  With version 1.4x, you can run the versioncheck utility from the Admin Tools menu.</p>
-<a name="versioncheck_description_start"></a>
-<h3>3.7.1 What it does</h3>
-<p>The script &quot;versioncheck&quot; is meant for users who have updated their coppermine install. This script goes through the files on your webserver and tries to determine if the local file versions on your webserver are the identical to the ones at the repository of http://coppermine.sourceforge.net. Files that do not match are displayed and are the files you should update as well. In Cpg1.4.x you can toggle the URL to the latest update for individual files in the versioncheck page.</p>
-<p>It will show everything in <span style="color:red;font-weight:bold">red</span> that needs to be fixed. Entries in <span style="color:#FFBE00;font-weight:bold">yellow</span> need looking into. Entries in <span style="color:green;font-weight:bold">green</span> (or your theme's default font color) are OK and should be left alone. When an entry is <span style="color:red;font-weight:bold">red</span> or <span style="color:#FFBE00;font-weight:bold">yellow</span>, a help icon will appear next to it. Click it to find out more. Hovering with your mouse over an item will display additional information as well (tooltip).</p>
-<p>The versioncheck screen has several sections:</p>
-<ul>
-<li>Section 1 explains what the versioncheck tool can be used for</li>
-<li>Section 2 (&quot;<a href="#versioncheck_options_start">Options</a>&quot;) displays the options you can chose</li>
-<li>Section 3 will display a warning if coppermine was not able to connect to the online repository (where the most recent version data is being stored). The script will default to a local copy of the repository file. If connection to the online repository was succesfull, there will of course be no error message (no section 3).</li>
-<li>Section 4 will show what version of coppermine you actually use. The versioncheck script draws this piece of information from the file <em>include/init.inc.php</em> - if you haven't replaced your copy of this file with the new version during upgrade, your old (outdated) version will appear in this section.</li>
-<li>Section 5 will show the core of versioncheck's file: the version comparison. The script will loop through all files that are suppossed to exist (based on repository data) and compare them to the files you actually have on your webserver.</li>
-<li>Section 6 will display a summary of the files and folders checked</li>
-</ul>
-<a name="versioncheck_description_end"></a>
-
-<a name="versioncheck_options_start"></a>
-<h3>3.3.2 Options</h3>
-<p>The options screen lets you configure the versioncheck, or rather what is being displayed. The options aren't saved anywhere, so you will have to adjust them each time you run versioncheck. The default options should be OK for most users - only change them if you have good reasons to do so.</p>
-<img src="pics/versioncheck_options.gif" width="844" height="159" border="0" alt="" title="" />
-<ul>
-<li><em>show optional folders/files</em><br />Uncheck this to hide files that are tagged as &quot;optional&quot; (display mandatory files only)</li>
-<li><em>show mandatory files</em><br />Uncheck this to hide files that are tagged as &quot;mandatory&quot; (Note disabling both optional and mandatory files will of course result in no files being displayed at all)</li>
-<li><em>show additional information</em><br />Toggles whether informaton about the installed coppermine version and the repository connection status are being displayed. Uncheck if your're making screenshots to save space and reduce dimensions.</li>
-<li><em>show file versions</em><br />Toggles wether additional version information of a file that belongs to the release version you're using should be displayed. When viewing the source code of a coppermine file, the file version is the number that looks like this: <tt>Id: index.htm,v 1.66 2004/08/26 04:42:19 gaugau Exp</tt> (in this example the file version is 1.66)</li>
-<li><em>show folders/files with errors only</em><br />Toggles display of files that don't have errors. Enable this option if you want to make a screenshot and ask for support on the coppermine forum.</li>
-<li><em>coppermine is installed in the webroot</em><br />Experimental: if all your files are being displayed as &quot;non-existant&quot;, you probably have installed coppermine in your webroot, or you are using subdomains. Check this option only if you are experiencing problems. This option hasn't been tested thoroughly yet, there's no guarantee it will work on your setup.</li>
-<li><em>try connecting to the online repository</em><br />Toggles wether versioncheck should try to connect to the online repository (checked by default). Only uncheck this option if you're sure you can not access the online repository because of your server setup and you want to reduce the time the script needs to execute a bit.</li>
-<li><em>show folder permissions</em><br />Toggles the option to show/hide the read/write permissions of a folder.</li>
-<li><em>don't display web svn link</em> / <em>display web svn link to stable branch</em> / <em>display web svn link to devel branch</em><br />Toggles wether to show an additional column that contains a link to the web svn. Only recommended if your cpg version is OK (<span style="color:green;font-weight:bold">green</span>), but your file version appears to be outdated. You can then connect to the web svn to get a more recent version of your file. Only recommended if you know what you're doing (or you have been told to do so from a supporter from the coppermine support board).</li>
-<li><em>show condensed ouput (for easier screenshots)</em><br />When checked, this options reduces the width of the version comparison columns. This will allow you to create screenshots with reduced dimensions and size.</li>
-</ul>
-<a name="versioncheck_options_end"></a>
-
-<a name="versioncheck_comparison_start"></a>
-<h3>3.3.3 Version comparison</h3>
-<p>There is a lot of information packed into a small space. Here's an example of a possible output and what the output means:</p>  <br />
-<img src="pics/versioncheck_comparison.gif" width="411" height="279" border="0" alt="" title="version comparison" />
-<ul>
-<li>The column &quot;icon&quot; shows if the entry is a folder or a file. Clicking on the icon takes you to the page, e.g. clicking on util.php will take you to the &quot;admin tools page&quot; (although not all coppermine files can be opened directly by running them in the browser).<p>In above example, rows &quot;A&quot; to &quot;E&quot; are folders, rows &quot;F&quot; to &quot;K&quot; are files.</p></li>
-<li>The column &quot;folder/file&quot; holds the relative path from your coppermine root to the folder/file in question.<br />
-<p>If an entry is in your default font color, it exists (in above example, all rows but &quot;G&quot; and &quot;H&quot;).<br />
-<p>If the entry is in <span style="color:#FFBE00;font-weight:bold">yellow</span> (row &quot;G&quot;), the corresponding folder/file doesn't exist on your webserver, but it is only considered to be optional (e.g. a language file that comes with the coppermine package that you don't want to use can be deleted from the webserver. It will then be shown in <span style="color:#FFBE00;font-weight:bold">yellow</span>, as it's only optional to have it). It's up to you if you need it.</p>
-<p>If the entry is in <span style="color:red;font-weight:bold">red</span> (row &quot;H&quot;), the folder/file in question doesn't exist on your webserver, but it is mandatory to have it. You should upload the file from your coppermine package to your webserver. Only leave it as-is if you really know what you're doing.</p></li>
-<li>The column &quot;writable&quot; shows information if the folder in question is writable, and whether this is correct or not. The write permissions for files are not being displayed, as this would slow down the script considerably. Usually, there are icons that show the writable status of your folder (if you have the icon resources on your webspace). Optionally, a plain text message in brackets might be visible (if you don't have the icon resources).
-<ul>
-<li>A white pencil with a <span style="color:green;font-weight:bold">green</span> &quot;x&quot; indicates that the folder is not writable and is isn't suppossed to be writable - everything is OK then (row &quot;A&quot;)</li>
-<li>A <span style="color:green;font-weight:bold">green</span> pencil indicates that the folder is writable and it is suppossed to be writable as well - everything is OK then (row &quot;D&quot;</li>
-<li>A white pencil with a <span style="color:red;font-weight:bold">red</span> &quot;x&quot; indicates that the folder is not writable, although it should be (row &quot;C&quot;). You should change write permissions (CHMOD) for this folder and everything within it, usually using your <acronym title="File Transfer Protocol">FTP</acronym> software.</li>
-<li>A <span style="color:red;font-weight:bold">red</span> pencil indicates that the folder is writable, but it shouldn't be (row &quot;E&quot;). Unless absolutely necessary, leaving files writable could be a security risk. Where possible, you should change permissions for this folder and everything within it to read/execute only.</li>
-</ul>
-</li>
-<li>A question mark in a yellow box (help icon) indicates that there is additional information available. Click on the icon to display the pop-up window with this information.</li>
-<li>The column &quot;cpg version&quot; displays what coppermine package your file on your webserver is from, and what version it should be from. The data is being extracted from the header of the file, that's why folders are shown as &quot;n/a&quot; - they have no header information containing their coppermine version (rows &quot;A&quot; to &quot;E&quot;).
-<p>Files that contain header information are being displayed with your file version and the cpg version of the file in the repository, separated with a slash. It is possible that a file version may differ from the version of your whole package - this doesn't matter as long as both your version and the repository versions match (the are displayed in <span style="color:green;font-weight:bold">green</span>) - in above example: rows &quot;F&quot;, &quot;J&quot; and &quot;K&quot;.</p>
-<p>Of course, version numbers from files that don't exist can't be extracted, that's why rows &quot;G&quot; and &quot;H&quot; have a dash as cpg version. If your cpg version is lower than the repository version, your version is  being displayed in <span style="color:red;font-weight:bold">red</span>: if this is the case, you probably haven't successfully uploaded the proper file of files from the coppermine package to your webserver (replacing files that may have already existed on your webserver) - you should do so now (row &quot;I&quot;).</p>
-<p>If your local version is being displayed in <span style="color:#FFBE00;font-weight:bold">yellow</span>, you are using a file that belongs to a higher coppermine version than the rest of your files - you probably downloaded a file from the devel branch: remember that using devel files go unsupported, do so on your own risk (if you know what you're doing). If most or all of your files are being displayed in <span style="color:#FFBE00;font-weight:bold">yellow</span>, you probably have upgraded some files, but you forgot to upgrade the file &quot;include/init.inc.php&quot; (that holds the version info for your install). Make sure to upload <strong>all</strong> files  from the package to your server.</p>
-</li>
-<li>
-<p>The column &quot;file version&quot; holds the individual file's version that get's increased during development of a new coppermine version (each time a developer modifies a certain file, the version number increases by one). As folders can't contain such version numbers, they are again labelled as &quot;n/a&quot; (rows &quot;A&quot; to &quot;E&quot;); the same applies to files that don't exist, that's why their file version is displayed as dash (rows &quot;G&quot; and &quot;H&quot;). Also the file version is irrelevant when comparing files from different coppermine packages, that's why row &quot;I&quot; has a dash as well.</p>
-<p>The coloring scheme is similar to the cpg version system: <span style="color:green;font-weight:bold">green</span> means &quot;everything is OK&quot;, <span style="color:red;font-weight:bold">red</span> means &quot;you're using an outdated version&quot; and <span style="color:#FFBE00;font-weight:bold">yellow</span> means &quot;you're using a newer version than you're actually suppossed to.</p>
-<p>The difference between the cpg version and the file version columns is indicative of the way you should obtain the file that you need to replace the existing one on your server: a <span style="color:red;font-weight:bold">red</span> entry in the cpg version column means the file on your server hasn't been replaced with the file from the coppermine package; a <span style="color:red;font-weight:bold">red</span> entry in the file version column (row &quot;J&quot;) usually means that there have been updates to a certain file after the release of the package - you should either check if there is a newer package available or get the most recent file from the <acronym title="Subversion">SVN</acronym> (enable the web svn link column in the versioncheck <a href="#versioncheck_options_start">options</a>).</p>
-</li>
-<li>The column &quot;web svn&quot; (off by default) links to the corresponding file in the <acronym title="Subversion">SVN</acronym>. You're recommended to use this only if there appears to be a newer version in the svn than your coppermine package has and you know what you're doing.</li>
-</ul>
-<a name="versioncheck_comparison_end"></a>
-<a name="versioncheck_end"></a>
-<p><a class="back" href="#top">Back to top</a></p><hr />
-<a name="downgrading"></a>
-<h2>3.4 Downgrading from cpg1.4.x to an older version</h2>
-<p>CPG1.4.x incorporates many new features (compared to older versions), so we encourage all users to upgrade. However, there may be some who want to test cpg1.4.x and decide later that they want to go back to an older version. You have to keep in mind that a full upgrade changes the overall layout of coppermine's database that includes converting the encoding to unicode. This process can't be reverted: once you have done the conversion, the only way back is to restore a complete mySQL database dump (of course you have to create this backup <strong>before</strong> you upgraded in the first place). Creating mySQL dumps (backups) is recommended anyway, so you should do so <strong>now</strong>.</p>
-<p>If you haven't converted your database to unicode (utf-8) encoding, you can downgrade as explained below. To make this absolutely clear: you can only downgrade if you used to have cpg1.3.x before and upgraded this version to cpg1.4.x without converting the database. If you <em>have</em> converted the database or if you have made a <em>fresh</em> install of cpg1.4.x, you can't downgrade at all!</p>
-<p>To actually perform the downgrade, replace all cpg1.4.x files on your server with the files from the older version (as if you were doing an upgrade, see above). You then have to undo some changes in the database structure. To do so, run a query like<br />
-<pre>ALTER TABLE `CPG_users` CHANGE `user_location`  `user_profile1` VARCHAR(255);
-ALTER TABLE `CPG_users` CHANGE `user_interests` `user_profile2` VARCHAR(255);
-ALTER TABLE `CPG_users` CHANGE `user_website` `user_profile3` VARCHAR(255);
-ALTER TABLE `CPG_users` CHANGE `user_occupation` `user_profile4` VARCHAR(255);</pre><br />
-using a tool like <a href="http://www.phpmyadmin.net/" rel="external" class="external">phpMyAdmin</a>, replacing <tt class="code">CPG_</tt> in the query with the prefix you have chosen during coppermine install.</p>
-<a name="downgrading_end"></a>
-<p><a class="back" href="#top">Back to top</a></p><hr />
-
-<a name="administration"></a>
-<h1>4. Configuration &amp; Administration</h1>
-
-<h2>4.1 Categories, albums and files<a name="cat_alb_pic"></a></h2>
-<p>The Coppermine Photo Gallery (CPG) works in the following way:</p>
-<ul>
-  <li>Files are stored in albums</li>
-  <li>Albums are organised in categories</li>
-  <li>Categories can be nested (into subcategories)</li>
-</ul>
-
-<p>If you don't plan to have many albums, you really won't need to use the categories feature. If this applies to you, simply do not create any categories and all your albums will automatically appear on the main page of the script.</p>
-<p>There is, however, a special category named &quot;<strong>User galleries</strong>&quot;. This category can't be deleted. If a user belongs to the group &quot;can have a personal gallery&quot; and this is set to YES, he will have the right to create his own albums and his gallery will be a sub-category of &quot;User galleries&quot;. This link is not visible to visitors of your site, however, if you do not allow users to upload pics and have their own albums. </p>
-<p>The administrator can create albums in any category. Non-administrative users can only create albums in the &quot;User galleries/Their_username&quot;.</p>
-<p>You can, however rename the &quot;User Galleries&quot;. To rename the &quot;<strong>User galleries</strong>&quot; category and description, simply go to your <a href="#cat_cp">category control panel</a> and change the name there (e.g. to translate the words &quot;User galleries&quot; into your language).</p>
-
-<p><a class="back" href="#top">Back to top</a></p><hr />
-
-<h2>4.2 Admin mode &amp; User mode<a name="admin_user_mode"></a></h2>
-<p>When you are logged in as an administrator, the script provides two modes of operation : Admin mode &amp; User mode. You can switch between Admin &amp; User mode by clicking on the corresponding link in the menu bar at the top of the screen.</p>
-<p>When you are in admin mode, you can administer your gallery using the menu bar that appears when in admin mode, as shown below :</p>
-<p><a name="admin_menu"></a><img src="pics/admin_menu.gif" border="0" alt="Admin menu" /></p>
-<p>When you are in user mode you are still logged in as an admin user, but the admin controls (the admin menu bar etc.) are hidden from the screen to give you a basic preview of what the page would look like for "regular users". However (as you still are logged in as admin), certain permissions and options in user mode will still look the same as if you were in admin mode; you can <strong>not</strong> use "<em>User Mode</em>" to see what a non-admin user is actually allowed to see.  To see what a casual visitor can see and do on your site, simply log out.  To see what a registered user can see and do on your site, create a test user account (non-admin) and log in with this particular user (when doing this it is recommended that you use two different browsers, NOT  two instances of the same browswer, to view your site so you can stay logged in as admin on one and view what regular users see while making changes in admin mode. You will have to refresh the non-admin mode screen to see what changes you incorporated).</p>
-<p>The items in the admin menu should be pretty self-explanatory:</p>
-<ul>
-  <li><strong>Upload approval</strong><br />See all pics that await approval by the admin (if you set admin approval as a required step on the settings in the &quot;<a href="#group_cp">groups</a>&quot; control panel)</li>
-  <li><strong>Config</strong><br />Configure the overall look of your gallery and the settings using the &quot;<a href="#admin">Config</a>&quot; button in the admin menu (note: you can not access the configuration by manually entering the url of the config file)</li>
-  <li><strong>Categories</strong><br />Create/edit/delete <a href="#cat_cp">categories</a></li>
-  <li><strong>Albums</strong><br />Create/edit/delete <a href="#albmgr">albums</a></li>
-  <li><strong>Groups</strong><br />Create/edit/delete <a href="#group_cp">groups</a></li>
-  <li><strong>Users</strong><br />Create/edit/delete <a href="#user_cp">users</a></li>
-  <li><strong>Ban Users</strong><br />Ban users based on hostname or IP address. Make sure not to ban yourself! Use this feature with extreme caution, as most users today do not have static IP addresses, this feature should only be employed if you really know what you're doing.<br />
-  <span class="small">[cpg1.3.0 or better required]</span>
-  </li>
-  <li><strong>Review Comments</strong><br />edit/delete user's comments</li>
-  <li><a name="ecard_log"></a><strong>Display Ecards</strong><p>View the ecards sent by users.</p>
-  <p>You must have ecard-logging enabled in the config menu, first (by default, logging is disabled). When enabled, all ecards that are being sent are written into the database, where the coppermine admin can view them.</p>
-  <img src="pics/ecard_log.gif" border="0" alt="" /><br />
-  You can sort the log by clicking on the arrow icons next to each heading, and you can delete single or multiple log entries (deleting the log entries will not disable the ecard recipient to view the ecard).<br />
-  <p>Before switching this option on, make sure that logging such information is legal in your country. It is also advisable to notify your users that all ecards are being logged (preferrably on the registration screen).</p>
-  <span class="small">[cpg1.3.0 or better required]</span>
-  <a name="ecard_log_end"></a>
-  </li>
-  <li><strong>Sort my pictures</strong><p>Picture manager that can be used to custom-sort files within an album. By default, the thumbnail page that displays the contents of an album will be sorted by the sorting order specified in &quot;<a href="#admin_thumbnail_default_sortorder">Default sort order for files</a>&quot; on the config page. The "sort my pictures" option overrides the default sorting mechanism and displays the thumbnails in the order you specify. As this means an additional effort in the maintenance of each album, it's recommended to use the default sorting by filename and (instead of specifying a custom sort order) and naming the files appropriately before upload.</p>
-  <p>Note: each user (including the admin) can use the sorting controls on the album's thumbnails display page to manually override the sorting option that was specified in coppermine's config and the "Sort my pictures" option; this final method of changing the sort order is stored locally in a cookie of the client and reverts to the config settings when this cookie is discarded.</p></li>
-  <li><strong>Batch add files</strong><br /><a href="#batch_add_pics">Batch-add files</a> to the coppermine database that have been previously uploaded by FTP. Batch-add files does not upload files for you. You must upload files using your webhost's file manager or an FTP client software. You FTP files into folders that you create in the coppermine album directory.  You must not, however, create these folders in the <em>userpics</em> folder.</li>
-  <li><a name="admin_tools"></a><strong>Admin Tools (Resize Pictures)</strong><br />A collection of utilities to:
-        <dl>
-      <dt>Rebuild or resize intermediate pictures and thumbnails.</dt>
-      <dd><img src="pics/util_re-size.gif" alt="" border="0" /><br /><p>Use this if you have changed the settings for thumbnail or intermediate images in config, or if you have to replace corrupt versions.</p><p>Select the radio button for this action, then choose to rebuild the thumbnails, intermediates, or both.</p><p>This uses a lot of server resources, so if you experience timeout issues, try setting it to process smaller batches ( 45 is the current default ).</p></dd>
-      <dt>Delete full-size pictures.</dt>
-      <dd><p>Use this to save space on your webspace.</p><p>When selected, Coppermine checks to see if an intermediate copy exists, and if it does, it deletes the original sized picture, then re-names the intermediate. If no intermediate exists, Coppermine leaves the original in place.</p></dd>
-      <dt>Delete orphaned comments.</dt>
-      <dd>Sometimes, when pictures have been deleted, any comments associated with them remain in the database.  Use this to remove them from the database entirely.</dd>
-      <dt>Rename file titles.</dt>
-      <dd>Use this to re-name the title of all files in an album, using info from the filename.</dd>
-      <dt>Delete file titles.</dt>
-      <dd>Use this to clear the file titles from one or more albums.</dd>
-      <dt>View your server php info.</dt>
-      <dd><p>If, you after following the troubleshooting guides in the documents provided here, you are still having problems with your coppermine installation, these problems are sometimes caused by a misconfigured server setup.  Clicking this link will provide you with all your php and mySQL settings, as well as information on the GD library (if installed).  The information may be required by the support team, if you are unable to sort problems yourself.</p><p>It is not possible for visitors to your site to access this information, so if asked for it, copy and paste it on the support board. Do not post this information or any debug information unless requested first.  You may post <em>ERROR</em> messages verbatim, but refrain from posting <em>warning</em> messages.  </p></dd>
-      <dt>Run a database update (update.php).</dt>
-      <dd>After an update/upgrade, it is usually necessary to run update.php.  This can be done by typing the address directly into your browser, or by clicking this link.<a name="admin_tools_end"></a></dd>
-          </dl>
-  </li>
-  <li><strong>My profile</strong><br />Edit your own user profile</li>
-</ul>
-<p>In previous beta versions of cpg1.4.x there used to be an admin mode and user mode for &quot;regular registered&quot; users, somewhat like those for the true administrator. This feature has been removed as it was both confusing for end users and really didn't serve any special purpose.</p>
-<p>The user with upload permissions has the following admin options:</p>
-<ul>
-  <li><strong>Create / order my albums</strong><br />similar to album manager in admin mode, the user can create albums within his user gallery</li>
-  <li><strong>Modify my albums</strong><br />The user can edit album title and description (similar to &quot;<a href="#album_prop">album properties</a>&quot; for the admin, but the user can't move his albums to other categories)</li>
-  <li><strong>My profile</strong><br />The user can edit his profile (changing passwords, edit location, interests, home page and occupation properties, view quota usage). When integrated with a bbs service, the &quot;My profile&quot; link will send the user to the bbs's profile page. </li>
-</ul>
-<p><a class="back" href="#top">Back to top</a></p><hr />
-
-<a name="group_cp"></a><h2>4.3 The group control panel</h2>
-<p><img src="pics/group_cp.gif" width="638" height="232" border="0" alt="" /></p>
-<p>This is where you define what members of a user <em>group</em> can and can't do.</p>
-<p>The disk quota applies only for groups where &quot;<em>Personal gallery</em>&quot; has been set to &quot;<strong>Allowed</strong>&quot;. Both files uploaded by a user in his personal gallery as well as files uploaded to public galleries are included in the quota.</p>
-<p>Use the <strong>anonymous</strong> group to define what non-registered users can and can't do. Quota and &quot;<em>Personal gallery</em>&quot; are meaningless for anonymous users.</p>
-<a name="group_cp_permissions"></a>
-<p><em>Permissions</em> control what the user is allowed to do in the gallery (Rating/Sending Ecards/Posting Comments).</p>
-<p>Bear in mind that if a user is a member of a group where &quot;<em>Rating</em>&quot;, &quot;<em>Comments</em>&quot; or &quot;<em>Public albums upload</em>&quot; is set &quot;<em>YES</em>&quot;, s/he will have the right to perform these operations only in albums where they are allowed. ( ie. uploading files will only be possible in albums where &quot;<em>Visitors can upload files</em>&quot; has been set to <em>YES</em>.)</p>
-<a name="group_cp_permissions_end"></a>
-<a name="group_cp_personal"></a>
-<p>If &quot;<em>Personal gallery</em>&quot; is set to <em>Allowed</em>, the members of the group will be able to have their own gallery in the &quot;<em>User galleries</em>&quot; category where they will be able to create their own albums.</p>
-<p>If &quot;<em>Approval</em>&quot; is set to <em>NO</em>, files uploaded by members of the group in albums created in their own gallery won't need to be approved by the admin. If &quot;<em>Approval</em>&quot; is set to <em>YES</em>, the users in the particular group will be able to upload, however the uploaded files will only be shown after the admin (you) has approved them.</p>
-<a name="group_cp_personal_end"></a>
-<p>The group control panel enables you to control the upload parameters of any group.</p>
-<a name="group_cp_upload_method"></a>
-<p><em>Upload method</em> lets you select the type of upload method that a particular group may use. Four forms or methods are currently available.</p>
-<ul>
-<li><strong>Single file uploads only</strong> - Users of this group may not use advanced uploading features. They may upload one file at a time. To enable single file uploads only, set <em>File upload boxes</em> to &quot;1&quot;, <em>URI upload boxes</em> to &quot;0&quot; and <em>No. of boxes</em> to &quot;fixed&quot;</li>
-<li><strong>Multiple file uploads only</strong> - Users of this group may upload multiple files at one time. To enable multiple file uploads, set <em>File upload boxes</em> to any number higher than &quot;1&quot;, <em>URI upload boxes</em> to &quot;0&quot; - it's up to you to let users configure the <em>No. of boxes</em>, but it's recommended to set it to &quot;fixed&quot; to avoid confusion and to limit the load on your server should several users try to upload simultaneously. You can set the number of file upload boxes to any number from 0 to 10 (5 is the default).</li>
-<li><strong>URI uploads only</strong> - The group may only upload files using URIs. Acceptable URIs must begin with 'http://' or 'ftp://'. To enable URI uploads only, set <em>File upload boxes</em> to &quot;0&quot;, <em>URI upload boxes</em> to &quot;1&quot; or higher.</li>
-<li><strong>File-URI</strong> - Users of this group may upload files using file upload boxes and URIs. To enable both file and URI uploads, set <em>File upload boxes</em> to &quot;1&quot; or higher, <em>URI upload boxes</em> to &quot;1&quot; or higher</li>
-</ul>
-<p><em>No. of boxes </em> set to &quot;variable&quot; allows the user to select the number of upload boxes for an upload. Usually, you will leave this option set to &quot;fixed&quot;, as it presents the user with an additional step in the upload wizard that is not necessary.</p>
-<p><em>File upload boxes</em> controls the number of file upload boxes presented to the user. If the user may customize the number of boxes (<em>No. of boxes </em> set to &quot;variable&quot;), this setting serves a maximum limit for the number of boxes he may request. Otherwise, this setting determines the number of boxes that will appear on the upload form.</p>
-<p><em>URI upload boxes</em> is the same type of control as <em>File upload boxes</em>, but it controls the presentation of URI upload boxes.</p>
-<a name="group_cp_upload_method_end"></a>
-<p><strong>Please note</strong>: on unbridged installs (or standard, stand-alone coppermine installs), the group "banned" feature really doesn't accomplish much. A user who is member of this group is still able to log in and view pics, he's just not able to upload, rate, send ecards or post comments. If you truly want to place a full ban on someone you should use the "banning" feature (which isn't group-based but individually based), instead.</p>
-<a name="group_cp_end"></a>
-<p><a class="back" href="#top">Back to top</a></p><hr />
-
-<a name="user_cp"></a><h2>4.4 The user control panel</h2>
-<p>The user control panel can be found when clicking "users" from the admin menu. It is the place where you create and manage your users.</p>
-<p><span class="important">If you have enabled integration (bridging) Coppermine with another application (e.g. your favorite BBS app), Coppermine will use the member table of the application you bridged with (your BBS), so the built-in Coppermine user management will be disabled in favor of the user management that comes with the bridged application. This has been incorporated to eliminate redundancy and facilitate a seemless integration.</span></p><p>As a result, you will not have this user control panel; clicking the "users" link will send you to your bridge application's user management instead.</p>
-<img src="pics/usermgr.gif" width="600" height="550" border="0" alt="" title="user control panel" /><br />
-<a name="user_cp_page"></a><h3>4.4.1 Page controls</h3>
-<ul>
-<li>You can sort the user management display by either clicking the arrow icons (<img src="../images/ascending.gif" width="9" height="9" border="0" alt="" title="ascending" /><img src="../images/descending.gif" width="9" height="9" border="0" alt="" title="descending" />) next to each column header or by choosing the sort order from the dropdown at the top right.</li>
-<li>If you have more than 25 users, a page tab will apear at the bottom right of the screen, allowing you to go to subsequent pages of your member list</li>
-<li>Clicking on a user's name will <strong>display</strong> the profile page of the individual user (read only)</li>
-<li>The edit icon (<img src="pics/edit.gif" width="16" height="16" border="0" alt="" title="edit" />) will send you to the user's profile in <strong>edit</strong> mode - you can change the password, email account and other user-related settings there</li>
-<li>If a user has uploaded any files, a link of "recent uploads" will show up next to his name. Clicking on this link will display files that have been uploaded by that user</li>
-<li>The &quot;group&quot; column displays the primary member group the user is in</li>
-<li>The column &quot;Registered on&quot; will show the date that the user account was created</li>
-<li>The &quot;Last visit&quot; column will show the last login of the user. <br />Note: if the user has ticked the checkbox &quot;Remember me&quot; on the login screen, he will not have to login every time he visits the gallery so this date may be accurate.</li>
-<li>The &quot;Files&quot; column displays how many files the user has uploaded to date (including those that are awaiting admin approval)</li>
-<li>The &quot;Space used&quot; column shows how much of the space that is assigned to the user has already been used. The total space the user is allowed to have ("Space Quota") depends on the user's group - which you set in the <a href="#group_cp">groups panel</a>.</li>
-<li>You can change a number of settings for several users at once by clicking the checkbox in front of the user row (use the checkbox at the very top or bottom of the page to select/unselect all users on the page) and then chosing an action to perform from the dropdown box "With selected" at the bottom left of the page. The actions you can choose from are &quot;Delete&quot;, &quot;Deactivate&quot;, &quot;Activate&quot;, &quot;Reset password&quot;, &quot;Change primary membergroup&quot; and &quot;Add secondary membergroup&quot;. The user currently logged on (you as gallery admin) has no checkbox to avoid accidental deletion or deactivation of your own admin account.</li>
-</ul>
-<a name="user_cp_page_end"></a>
-<a name="user_cp_search"></a><h3>4.4.2 Searching for user(s)</h3>
-<p>You can use the wildcards:  <tt class="code">*</tt> (for any <em>string</em>) and <tt class="code">?</tt> (<em>any single character</em>) or even <tt class="code">%expression%</tt>.<br />Example: searching for <tt class="code">j*</tt> will return both <tt class="code">Jack</tt> and <tt class="code">Jill</tt></p>
-<a name="user_cp_search_end"></a>
-<a name="user_cp_new"></a><h3>4.4.3 Creating new users</h3>
-<p>To create a new user, simply click on the button "Create new user" at the bottom of the user manager and fill in the form that will come up.</p>
-<p>This does of course not apply if you have bridging enabled, as user management is being handled by the app you have bridged coppermine with. In this case, the user management screen of your bridged app should show - create a new user there.</p>
-<a name="user_cp_new_end"></a>
-<a name="user_cp_edit"></a><h3>4.4.4 Editing users</h3>
-<p><img src="pics/usermgr_edit.gif" width="295" height="326" border="0" alt="" align="right" />To edit the properties of a user, click the <img src="pics/edit.gif" width="16" height="16" border="0" alt="" title="edit" />-button next to the user name. You will then find a page where you can modify all user profile fields the user has. This includes the option to change the password of that user. If you don't want to change a user's password, leave the password field blank.<br />
-The dropdown list determines the primary group the user is in, the checkboxes beneath it determine the secondary groups.</p>
-<p>Please note that this screen (as well as the rest of Coppermine's user management) will not be available if you have enabled <a href="#integrating">bridging</a>, because then the user management of the application you have bridged with (e.g. your BBS) kicks in and handles everything related to user management.<br />
-The button "Album permissions by group" can <em>not</em> be used to set permissions, but only to <em>view</em> them. You can set permissions using the <a href="#album_prop">album properties</a> screen.</p>
-<a name="user_cp_edit_end"></a>
-<a name="user_cp_group"></a><h3>4.4.5 Group membership</h3>
-<p>When creating a new user or editing an existing user, you will notice a row named &quot;User group&quot; - it determines what group(s) the user is in.<br />
-The first field (a dropdown field) determines the primary user group. It determines the status of a user. You should set it to &quot;Administrator&quot; (for users you want to assign admins powers to) or &quot;Registered&quot;.<br />
-Additional (secondary) group membership can be assigned using the checkboxes beneath the dropdown field. Here, all your custom groups (that you can create and manage using the <a href="#group_cp">group control panel</a>) should show as well as the core groups (the ones that come with coppermine out of the box and can't be deleted). Assign additional group membership to your users here. Privileges for a particular user inherited from group membership are added: the least restrictive permissions are taken into account.</p>
-<p>Example: if you want your registered users to be capable of viewing the gallery only, and only privileged users of your custom user group "photographers" are allowed to actually upload files, make all your users members of the built-in group "registered" (by default, they already are). Only for user you want to give the privilege to upload, tick the check box "photographers" as secondary group. Then go to your groups control panel and disallow uploads for the registered group there, but allow uploads for the custom group "photographers".</p>
-<p class="important">Note: the button "album permission by group" beneath the checkboxes is <strong>not</strong> meant to <strong>assign</strong> album permissions, but only to <strong>check</strong> the permissions set. You can only assign particular album permissions on the <a href="#album_prop">album properties</a> screen.<br clear="all" /></p>
-<a name="user_cp_group_end"></a>
-<a name="user_cp_end"></a>
-<p><a class="back" href="#top">Back to top</a></p><hr />
-
-<a name="cat_cp"></a><h2>4.5 The categories control panel</h2>
-<p><img src="pics/category_cp.gif" border="1" alt="" /></p>
-<p>This panel allows you to edit your categories.</p>
-<ul>
-<li>The <img src="pics/edit.gif" border="0" width="16" height="16" alt="" /> button
-allows you to edit the title, description and parent category of an
-existing cetegory.</li>
-<li>The <img src="pics/delete.gif" width="16" height="16" alt="" /> button
-allows you to delete a category. Deleting a category does not delete the
-albums and files it contains. These are moved to the &quot;Root&quot;
-category if it is a subcategory that is deleted or to the root of the category list if it is a parent category that is deleted..</li>
-<li>The <img src="pics/up.gif" width="16" height="16" alt="" /> and <img
-src="pics/down.gif" width="16" height="16" alt="" /> buttons allow you to
-order your categories.</li>
-<li>The &quot;<strong>Move into</strong>&quot; dropdown lists allow you to change the parent
-of a specific category. </li></ul>
-<p>&quot;<strong>User galleries</strong>&quot; is a special category. It is not visible unless
-you have some users that have created their own gallery. It can't be
-deleted but you can edit its title and description by using the <img
-src="pics/edit.gif" width="16" height="16" alt="" /> button. </p>
-<p>You can specify how you want categories sorted in coppermine: alphabetically (instead of a customized order) by setting &quot;Sort categories alphabetically&quot; to &quot;Yes&quot;. This setting is available both in coppermine config and the category manager. If you enable alphabetical sorting, the move up and move down arrows that normally let you manually sort the categories will disappear. Disable this feature if you want to organize your categories in some other order.</p>
-<p>You can only assign a picture to the category only if you have an album with images nested directly within it.</p>
-<p><a class="back" href="#top">Back to top</a></p><hr />
-
-<a name="albmgr"></a><h2>4.6 The Album Manager</h2>
-<p><img src="pics/albmgr.gif" width="360" height="288" border="0" alt="" title="Album Manager" /></p>
-<p>Coppermine stores files inside of albums, so you'll need at least one album for your pictures/files to be placed in. Albums can be stored in categories (but they don't <em>HAVE</em> to be in a category, they can just as well go into the coppermine &quot;root&quot;).</p>
-<p>When you click on &quot;albums&quot; in the admin menu, you will see the <em>Album Manager</em>.</p>
-<h3><a name="albmgr_create"></a>4.6.1 Creating albums</h3>
-<ul>
-<li><strong>Choose a category from the dropdown list</strong> &quot;Select category&quot; and highlight the selection where you would like your album to reside in. (or choose &quot;* No category *&quot; if the album should go into the coppermine &quot;root&quot;). If you haven't created a category yet, go to the <a href="#cat_cp">categories control panel</a> first. Or, you can proceed with these steps to first create an album and move the album into a category later.  You can also perform this moving task by using the <a href="#album_prop">album properties</a> page.</li>
-<li><strong>To create an album, click on the &quot;New&quot; button</strong> - a new album will appear on the list, by default this album is labelled &quot;New album&quot;</li>
-<li><strong>Click on the text input field at the bottom of the screen</strong>, highlight the default name &quot;New album&quot; </li>
-<li><strong>Then type in the album name you want to use</strong></li>
-<li>(repeat steps 2 through 4 to add additional albums)</li>
-<li><strong>Click &quot;Apply modifications&quot;</strong> to submit your changes to the database. failure to do so will result in the loss of all the changes you just made.  You can always return to this panel to edit and change album names, sort them within their parent category, and/or move them to different parent categories.</li>
-<li><strong>After clicking to Apply Modification, confirm your intent in the alert box with &the quot;OK&quot; </strong> (<em>Are you sure you want to make these modifications ? button.</em>)</li>
-</ul>
-<h3><a name="albmgr_rename"></a>4.6.2 Renaming albums</h3>
-<ul>
-<li><strong>Choose a category from the dropdown list</strong></li>
-<li><strong>Click on the album you want to change</strong></li>
-<li><strong>Click on the text input filed at the bottom of the screen</strong>, highlighting the album name</li>
-<li><strong>Type the album name you want to assign</strong></li>
-<li><strong>Click &quot;Apply modifications&quot;</strong></li>
-<li><strong>After clicking to Apply Modification, confirm your intent in the alert box with &the quot;OK&quot; </strong> (<em>Are you sure you want to make these modifications ? button.</em>)</li>
-
-</ul>
-<h3><a name="albmgr_order"></a>4.6.3 Changing the album order</h3>
-<ul>
-<li><strong>Choose a category from the dropdown list</strong></li>
-<li><strong>Click on the album you want to move up or down in the list</strong></li>
-<li><strong>Use the arrow buttons to move the album up<img src="../images/move_up.gif" width="26" height="21" border="0" alt="" title="move the album up" /> or down<img src="../images/move_down.gif" width="26" height="21" border="0" alt="" title="move the album down" /></strong></li>
-<li><strong>Click &quot;Apply modifications&quot;</strong></li>
-<li><strong>After clicking to Apply Modification, confirm your intent in the alert box with &the quot;OK&quot; </strong> (<em>Are you sure you want to make these modifications ? button.</em>)</li>
-
-</ul>
-<h3><a name="albmgr_delete"></a>4.3.4 Deleting albums</h3>
-<ul>
-<li><strong>Choose a category from the dropdown list</strong></li>
-<li><strong>Click on the album you want to delete</strong></li>
-<li><strong>Click the &quot;Delete&quot; button</strong></li>
-<li><strong>Confirm the alert box with &quot;OK&quot;</strong> (<em>Are you sure you want to delete this album ? All files and comments it contains will be lost !</em>)</li>
-<li><strong>Click &quot;Apply modifications&quot;</strong></li>
-<li><strong>After clicking to Apply Modification, confirm your intent in the alert box with &the quot;OK&quot; </strong> (<em>Are you sure you want to make these modifications ? button.</em>)</li>
-
-</ul>
-<a name="albmgr_end"></a>
-<p><a class="back" href="#top">Back to top</a></p><hr />
-
-<h2>4.7 Modifying albums/files<a name="modif_alb_pics"></a></h2>
-<p>When you are in admin mode there is a menu displayed next to each album</p>
-<p></p>
-<p><img src="pics/album_menu.gif" border="1" alt="" /></p>
-<p><strong>Delete</strong> allows you to delete the album and <strong>(CAUTION</strong>) all files within it.</p>
-<p><strong><a href="#album_prop">Properties</a></strong> allows you to modify the name, description and permissions of the album</p>
-<p><strong><a href="#edit_pics">Edit files</a></strong> allows you to modify the title/caption/keywords etc... of the files in the album</p>
-<p><a class="back" href="#top">Back to top</a></p><hr />
-
-<a name="album_prop"></a><h2>4.8 Album properties</h2>
-<p><img src="pics/edit_album.gif" width="508" height="466" border="0" alt="" /></p>
-<p>The "Album category" drop down list allows you to move an album from one category to another. If you set this to &quot;* No category *&quot; then the album will be displayed on your main page.</p>
-<p>Use <a href="#bbcode">bbcode</a> to add links and additional formatting to your descriptions.</p>
-<p>The thumbnail option lets you select the picture that will represent the album in the album list. Do not assign a picture here if you would like the album to select images randomly.</p>
-<p>If you have set &quot;Users can can have private albums&quot; to YES on the <a href="#admin">config page</a>, you can determine who will have permission to view the files of this album.</p>
-<p>When &quot;visitors can upload file&quot; is set to YES, it is possible for them to upload files into albums by enabling this permission.</p>
-<a name="album_prop_visitor_start"></a>
-<p><strong>Note that only visitors who are members of a <em>group</em> for which the setting &quot;Can upload pictures&quot; is set to YES.</strong> Members not in the permitted group will not be able to upload files into such an album. Non-registered users are members of the &quot;Anonymous&quot; group. </p>
-<p>The same rules as above apply for &quot;Visitors can post comments&quot; and &quot;Visitors can rate files&quot;.</p>
-<a name="album_prop_visitor_end"></a>
-<a name="album_prop_keyword_start"></a>
-<p>In 1.4.x the <strong>Album Keyword</strong> is <em>no</em> longer being used for searching purposes, but, rather, to link images from other album into another. Using this method, files/images can be displayed in various albums while the file itself need only exists in one album on your webserver.  You simply upload a file to one album as you would normally do, then assign one or more keywords to the file. The keyword function reads blank spaces between words as a 'break' and assumes that these words are separate words.  If you must use phrases for your keywords, connect them with an underscore or by using the ascii space holder ctrl+Alt+0160 (NOTE: the latter option only works with latin based character sets.)  Each album can only have ONE (1) keyword or keyword phrase.  All pictures residing in different albums that you would like to be displayed in this album must have the same keyword or keyword phrase in their respective keyword fields.  Pictures, unlike albums can have multiple keywords or keyword phrases separated by spaces. This provides you with the option to display pictures in many albums.  For the visitor of these albums, it will appear as if the file/image had been uploaded to each. </p>
-<a name="album_prop_keyword_end"></a>
-<a name="album_prop_password_start"></a>
-<p><strong>Album Password</strong>: you can specify an album to be password-protected (instead of relying on the "regular" group-based permissions). This way, you can even allow access for unlogged users (guests) who you provide the password to. Use this option, for example, to set up an album for your family members only by specifying a password that only they can come up with answering an additional password hint (e.g. "<em>What was the maiden name of aunt Emma?</em>"), or you could decide to send the particular password to specific friends, family or business associates by email. The optional <strong>password hint</strong> will be displayed at the password prompt, when set.</p>
-<p>Note: when setting an album password, the permission dropdown field "<em>Album can be viewed by</em>" will be switched automatically to "<em>me only</em>" - this is expected behaviour. If you change the "<em>Album can be viewed by</em>" to another selection, you must disable the album password as well.</p>
-<a name="album_prop_password_end"></a>
-
-<a name="album_prop_reset_start"></a>
-<h3>4.8.1 Reset album properties</h3>
-<img src="pics/modifyalb_reset.gif" width="436" height="148" border="0" alt="" />
-<p>You can reset the number of views count and total ratings in the album properties panel and even delete all pics at once in the sub-section &quot;Reset album&quot; by ticking the desired checkboxes and then submitting the form. To prevent accidental resets, you will have to place a tick on the checkbox &quot;I'm sure&quot; before changes can be submitted (the button will be greyed out (disabled) if you don't).</p>
-<p>Use these options with care: the deleting of files is irreversible, as well as the reset of views and ratings (you can only restore views and ratings by manually editing coppermine's database entries with third-party tools like <a href="http://www.phpmyadmin.net/" class="external" rel="external">phpMyAdmin</a> - not recommended).</p>
-<a name="album_prop_reset_end"></a>
-<a name="album_prop_end"></a>
-<p><a class="back" href="#top">Back to top</a></p><hr />
-
-<a name="edit_pics"></a><h2>4.9 Editing files</h2>
-<p><img src="pics/edit_picture.gif" width="696" height="314" border="0" alt="" /></p>
-<p>Use this link to modify your file's title, description, keywords, and custom fields (if they are used).</p>
-<p>Use the album drop down menu in the panel to move the file between albums.
-Use keywords to link files to other albums (see description in the albums section above).</p>
-<p><a class="back" href="#top">Back to top</a></p><hr />
-
-<h3>4.9.1 Editing videos<a name="edit_vids"></a></h3>
-<p><img src="pics/edit_video.gif" border="0" alt="" /></p>
-<p>Here, you can modify the title, description, keywords, and custom fields (if they are used) of your video files.</p>
-<p>Use the album drop down menu to move the video to another album.</p>
-<p>Use the height and width fields to set the size of the video.</p>
-<p>Video uploads are possible beginning with cpg1.3.0 (or latter) and are included as part of the distribution package. For cpg1.2.1 you must install a separate modification.</p>
-<p class="small right_align">[cpg1.3.0 or better required]</p>
-<p><a class="back" href="#top">Back to top</a></p><hr />
-
-<h3>4.9.2 Custom Thumbnails<a name="cust_thmb"></a></h3>
-<p><img src="pics/cust_thmb.gif" border="1" alt="" /></p>
-<p><strong>Order of thumbnails:</strong><br />
-<strong class="important">Thumbnails are defined by different levels (these are: user-defined, theme-defined, global) then in the order of their type (file-specific, extension-specific, media-specific).</strong> User-defined thumbnails are stored in the folder where the parent file is located. Theme-defined thumbnails are stored in the themes 'images' folder. Global thumbnails are stored within the 'images' folder of the Coppermine root. <strong class="important">Thumbnails can be one of the following file types: 'gif', 'png', or 'jpg'.</strong></p>
-<p><strong>Types of thumbnails:</strong><br />
-<strong class="important">File-specific thumbnails must have the same base name as the file.</strong> Using the above screenshot of a video file as an example, the thumbnails for this file could be 'thumb_<strong>thailand_waterfall</strong>.gif', 'thumb_<strong>thailand_waterfall</strong>.png', or 'thumb_<strong>thailand_waterfall</strong>.jpg', and searched for by cpg in that order.</p>
-<p><strong class="important">Extension-specific thumbnails are named after the extension of the file.</strong> (Examples: 'thumb_wmv.jpg', 'thumb_wav.jpg'.)</p>
-<p><strong class="important">The base name for media-specific thumbnails are 'thumb_movie', 'thumb_document', and 'thumb_audio'.</strong> Images use file-specific thumbnails by default.</p>
-<p><strong>Uploading:</strong><br />
-There are 2 ways to upload custom thumbnails:</p>
-<p>1. Have an image already uploaded then upload a video via the upload page. (or vice versa) The video will share the thumbnail of the image.<br />
-</p><br /><br />
-<p><img src="pics/cust_thmb_3.gif" border="1" alt="" /></p>
-<p>2. FTP upload both the video and (thumbnail or image) then <a href="#batch_add_pics">batch-add</a>. If you FTP upload the thumbnail, the thumbnail will be display in the batch add page instead of the default Coppermine thumbnail. If you upload an image it will look like the above screenshot. However, when the both files are added to the database, the thumbnail of the image will be used by the video.</p>
-<br /><br />
-<p><img src="pics/cust_thmb_final.gif" border="1" alt="" /></p>
-<p>Final result.</p>
-<p>Note: If the first method is used and the image later deleted, the thumbnail will also be deleted and the default Coppermine thumbnails will be displayed, instead.<br />
-If a previously uploaded video is to be uploaded again, via FTP, the accompanying thumbnail must also be uploaded, via FTP, to the same folder.</p>
-<p>Video uploads are permitted from verstion 1.3.0 of cpg (or better) and are included as part of the distribution package. For cpg1.2.1, this option is only available as a separate modification. The use of custom thumbnails aren't supported in versions prior to 1.3.0. <strong class="important"> NOTE: Using the above instructions, a custom thumbnail can be applied to any file, not just videos.</strong>
-</p>
-<p><strong>FAQS:</strong></p>
-<ul>
-<li><strong>Quote</strong><br /><div class="quote">I have a video named <strong>'movie.wmv'</strong>, when I upload a thumbnail for it <strong>'thumb_movie.jpg'</strong> it replaces the thumbnails for multiple videos!!!!</div>
-Duhh. <strong>'thumb_movie.jpg'</strong> is a <em>media-specific</em> thumbnail. Rename the video and the thumbnail with something other than just <strong>'movie'</strong>.</li>
-<li><strong>Quote</strong><br /><div class="quote">I can't find my user's folder!</div>
-From within Coppermine, browse to the user's album. Look in the url of your browser and you should see the folder's name. (See screenshot for an example.)<br />
-<img src="pics/user_folder_link.gif" alt=""/><br />
-Your users can upload their own thumbnails by using this trick: Create an album. Change the permissions on it so no one can view it except that specific user. Then upload the fullsized images of the thumbnails to this folder. Files outside this album will be able to use the thumbnails of these images. (See above for naming.)</li>
-<li><strong>Quote</strong><br /><div class="quote">How do I stop my users from creating their own custom thumbnails?</div>
-Currently, this is not possible.</li>
-</ul>
-
-<p class="small right_align">[cpg1.3.0 or better required]</p>
-<a name="edit_pics_end"></a>
-<p><a class="back" href="#top">Back to top</a></p><hr />
-
-
-<a name="bbcode"></a>
-<h2>4.10 Using bbcode to insert links and special formatting in various description fields</h2>
-<p>Coppermine understands the following bbCodes (the same bbCodes that are used by phpBB and many other BBS apps) in image and album description</p>
-<ul>
-  <li><tt class="code">[b]Bold[/b]</tt> =&gt; <strong>Bold</strong></li>
-  <li><tt class="code">[i]Italic[/i]</tt> =&gt; <em>Italic</em></li>
-  <li><s><tt class="code">[url=http://yoursite.com/]Url Text[/url]</tt> =&gt; <a href="http://yoursite.com">Url Text</a></s> (* see below)</li>
-  <li><tt class="code">[email]user@domain.com[/email]</tt> =&gt; <a href="mailto:user@domain.com">user@domain.com</a></li>
-  <li><tt class="code">[color=red]some text[/color]</tt> =&gt; <span style="color:red">some text</span></li>
-  <li><s><tt class="code">[img]http://coppermine.sf.net/demo/images/red.gif[/img]</tt> =&gt; <img src="../images/red.gif" border="0" alt="" /></s> (* see below)</li>
-</ul>
-<p>(*) As of cpg1.4.21, the bbcode tags [img] and [url] are no longer processed properly.  These two tags can be used to launch an attack against your website called a Cross-Site Request Forgery attack (<a href="http://en.wikipedia.org/wiki/Cross-site_request_forgery" rel="external" class="external">CSRF definition</a>).  In such an attack a user puts a malicious link in an [img] or [url] tag and can gain control of your website.  With such a serious vulnerability, the Coppermine dev team removed processing of these tags to address the immediate risk of such an attack.  This is not a final solution but a necessary one.</p>
-<p>Now the following processing is done (so that users won't be completely confused):</p>
-<ul>
-  <li><tt class="code">[url=http://yoursite.com/]Url Text[/url]</tt> =&gt; Url Text<img src="../images/descending.gif" alt="" title="http://yoursite.com/" /></li>
-  <li><tt class="code">[url]http://yoursite.com[/url]</tt> =&gt; http://yoursite.com<img src="../images/descending.gif" alt="" title="http://yoursite.com" /></li>
-  <li><tt class="code">[img]http://site.com/image.gif[/img]</tt> =&gt; <img src="../images/thumbnails.gif" border="0" alt="" title="http://site.com/image.gif" /></li>
-</ul>
-<p>As you can see above, no links are displayed for [url] tags, but you will see the link either as plain text or as a mouse-over/tooltip on the image next to the link text: <img src="../images/descending.gif" alt="" />.  For [img] tags, a placeholder image (<img src="../images/thumbnails.gif" border="0" alt="" />) is shown with the mouse-over/tooltip showing the image link.</p>
-<p>We realize that some administrators will want to process [img] and [url] tags correctly.  The Coppermine dev team is working on a solution for cpg1.5 and also one that can be applied to cpg1.4.  Information can be found on this <a href="http://forum.coppermine-gallery.net/index.php/topic,58309.0.html" rel="external" class="external">thread</a> on the Coppermine support forum.  For those who want to hack the code themselves, the relevant function is <tt class="code">bb_decode()</tt> in <tt class="code">include/functions.inc.php</tt>.  Please be <strong>very</strong> careful to address CSRF attacks and read as much as you can about them before going live on your website with your hacked fix.</p>
-<a name="bbcode_end"></a>
-<p><a class="back" href="#top">Back to top</a></p><hr />
-
-<a name="ftp"></a><a name="uploading"></a>
-<h2>4.11 Uploading pics/files</h2>
-<p>There are several methods to upload files within Coppermine. You (as gallery admin) should use <a href="#batch_add_pics">FTP-upload plus batch-add</a> (only the admin can do this). Regular users are supposed to use the "regular" <a href="#upload_http">http upload</a> or (if they have Windows XP) the <a href="#xp">XP Publisher</a>.</p>
-<a name="uploading_end"></a>
-<p><a class="back" href="#top">Back to top</a></p><hr />
-
-<a name="ftp"></a><a name="batch_add_pics"></a>
-<h3>4.11.1 Uploading pics by FTP / Batch-Add Pictures</h2>
-<p>It is recommended that the coppermine admin use ftp to upload multiple pics/files at a time. Use your ftp software to create sub-folders within <em>your_coppermine_directory/albums/</em>, where your ftp uploads can be saved. Though not mandatory, it's always a good idea to have a folder structure within the <em>albums</em> folder that reflects or mirrors your coppermine categories and albums.</p><p><span class="important">Important</span>: do not create folders or ftp upload to the <em>userpics</em>- nor to the <em>edit</em>-folder by ftp: these folders are used by coppermine internally and must not be used for any other purpose! <strong><strong>Folder names must not contain dots</strong></strong>. We also highly recommend refraining from the use of any other special characters - use only a-z, numbers and <tt class="code">-</tt> (dashes) or <tt class="code">_</tt> (underscores) to fill blank spaces. Make sure to upload in binary or auto-mode.</p>
-<p>Once you have uploaded your photos by ftp, click on the &quot;Batch Add Pictures&quot; button. The batch-add is performed in three steps:</p>
-<ul>
-<li>find the directory under which you have uploaded your photos. Select this directory by clicking on it.
-<br /><img src="pics/searchnew_1.gif" border="0" alt="" /><a name="ftp_select_dir_end"></a></li>
-<li><a name="ftp_select_file"></a>select the photos you wish to upload (by ticking them).  New pics are automatically pre-selected, those that already are in your coppermine database are not selected. Next select thee album you wish to insert them into. Click &quot;Insert Selected Pictures&quot; to start the batch-add process.<br />
-<img src="pics/searchnew_2.gif" border="0" alt="" /><a name="ftp_select_file_end"></a></li>
-<li><a name="ftp_show_result"></a>CPG will then display the results of the batch-add (allow some time for all results to display).<br />
-If the OK, DP, or PB 'signs' does not appear, click on the broken file image to see if any error message was produced by PHP.<br />
-Should your browser time out, hit the reload button.
-<ul>
-<li>OK : means that the file was succesfully added</li>
-<li>DP : means that the file is a duplicate and is already in the database</li>
-<li>PB : means that the file could not be added, check your configuration and the permission of directories where the files are located</li>
-<li>NA : means that you haven't selected an album the files should go to, hit 'back' and select an album. If you don't have an album create one first</li>
-</ul>
-<a name="ftp_show_result_end"></a>
-</li>
-</ul>
-<p>Giving FTP-access to other users can pose a serious security threat, this is why batch-add is only available for the coppermine gallery admin.</p>
-<p>Once files have been added to coppermine's database, make sure that you never rename or delete them via ftp - use coppermine's admin menu options to remove or rename files, instead.  Only in this way will these files be removed from both the file system <strong>and</strong> the database.</p>
-<a name="ftp_end"></a>
-<p><a class="back" href="#top">Back to top</a></p><hr />
-
-<a name="upload_http"></a>
-<h3>4.11.2 Uploading by HTTP</h3>
-<p>Regular HTTP uploads use the browser's built-in capabilities to upload files to a server. The maximum file size is determined by two basic factors: the speed and amount of data the web-browser can upload before timing out, and the allowed file size determined by server settings. Note that those settings are not determined by coppermine, but the server config (php.ini). Users who are webhosted usually can't edit php.ini, so they will have to live with the settings the webserver admin has set up. Those who actually run their own server and can edit php.ini should take a look at the settings if (large) http uploads fail:</p>
-<ol>
-<li><strong>max_input_time</strong>- 60 seconds is the default time limit for uploading files.<br />
-This time limit includes the time it takes for the files to upload, so if you exceed this limit, the file will not even parse, and the browser will not get a response. You can workaround this by trying to upload smaller or fewer files, or you can try uploading over broadband. The best solution, of course, is to increase the time limit to something more in line with your needs.</li>
-<li><strong>upload_max_filesize</strong> - 2MB is the default limit for individual files.</li>
-<li><strong>post_max_size</strong> - 8MB is the default limit for post requests.</li>
-<li><strong>memory_limit</strong> - 8MB is the default size.</li>
-<li>PHP's <strong>LimitRequestBody</strong> - 512KB default limit. (mainly an issue on Redhat/Apache systems.  Found in /etc/http/conf.d)<br />
-In general, upload_max_filesize &lt; post_max_size &lt; memory_limit in order for uploads to function properly. Coppermine may warn you if a file exceeds upload_max_filesize, but it cannot warn you if the total size of all the files exceeds the post limit or the memory limit.</li>
-<li><strong>file_uploads</strong> - This determines whether or not PHP will allow file uploads. It must be set to 'On'.</li>
-<li><strong>upload_tmp_dir</strong> - This specifies the temporary directory where PHP stores uploaded files.<br />
-The most common issue caused by this setting is an open_basedir warning.  In this situation, your server administrator has restricted the files that PHP can work with to a certain directory.  If he does not create and specify a temporary directory within the open_basedir restriction, PHP will attempt to use the OS temporary directory, and it will be rebuffed by the open_basedir restriction.</li>
-<li><strong>allow_fopen_url</strong> - This controls PHP's ability to read files using URL/URIs.  If it is disabled, Coppermine will not be able to upload from URLs.</li>
-</ol>
-<p>It should be obvious that the files have to be uploaded somewhere (into some folder) on your webserver - this is the albums folder within the folder you installed coppermine on your server. The HTTP uploads go into subfolders of the "userpics" folder (which resides within the "albums" folder). Obviously, the coppermine upload script needs write permissions to upload the files there. This is why you have to change permissions on the albums folder and everything within it during coppermine install - make it writable for the user the webserver runs under. This is done using the CHMOD command on Unix/Linux based servers. If you experience issues with uploading, make sure that you have set the permissions correctly.</p>
-<a name="upload_http_end"></a>
-<p><a class="back" href="#top">Back to top</a></p><hr />
-
-<a name="xp"></a>
-<h3>4.11.3 Using Windows XP Web Publishing Wizard with Coppermine</h3>
-<p>If you are using Windows XP, you can use its built-in web publishing wizard to upload your photos to your gallery.</p>
-<p>Once you have properly installed the script on your server, call the xp_publish.php file from your web browser (http://your_site.com/coppermine_dir/xp_publish.php).</p>
-<p>The script displays some information on how to do the installation on the client side and how to use the Wizard. Basically you will need to download a small file created by the script that needs to be loaded into your Windows registry.</p>
-<p>If you want to allow your users to use the Windows XP Web Publishing Wizard, it's advisable to promote it by showing a link to the file somewhere on your page.</p>
-
-<a name="xp_publish_setup"></a>
-<h4>4.11.3.1 XP Web Publishing Wizard: Setup</h4>
-Before you can use the XP Web Publishing Wizard, it needs to know the address of the your gallery.
-<ul>
-<li>Open your browser and type the following into the address box replacing "your_site.com" and "coppermine_dir" with your own Gallery address information : <tt class="code">http://your_site.com/coppermine_dir/xp_publish.php</tt></li>
-<li>On "File Download - Security Warning" click "Save" to save the cpg_###.reg file on your Desktop. (The ### represents a 10-digit numerical timestamp.)</li>
-<li>Open Windows Explorer</li>
-<li>Select Desktop from the left panel</li>
-<li>Double click on the file name that you just saved</li>
-<li>On Registry Editor's "Are you sure..." dialog click "Yes"</li>
-</ul>
-
-Above procedure needs to be done only once by users wishing to use the XP Publishing Wizard.
-
-<a name="xp_publish_upload"></a>
-<h4>4.11.3.2 XP Web Publishing Wizard: Uploading pictures</h4>
-The process of uploading pictures is a matter of following a simple dialog. It takes much longer to describe the process than do it.
-<ul>
-<li>Start Windows Explorer and locate the directory with your photographs and select one or more pictures for upload.</li>
-<li>If the Windows Explorer left panel is not titled "Picture Tasks", click on the "X" in the top right corner of the panel to close it and to reveal the Picture Tasks panel.</li>
-<li>Select "Publish xxxx to the Web" from "File and Folder Tasks" on the left panel. "xxxx" could say "this file, these files or this folder" depending on what is highlighted on the right panel.</li>
-<li>On Web Publishing Wizard's Welcome screen click "Next".</li>
-<li>You can change your selection if necessary on the Thumbnail window showing up. Click "Next" when you are ready.</li>
-<li>From the service provider window highlight your Photo Gallery name and click "Next".</li>
-<li>Enter your Coppermine username and password to login to your gallery and click "Next".</li>
-<li>From the "Welcome username" window you have an option of uploading your picture(s) into one of the existing albums or starting a new album. Click "Next" when you are ready.</li>
-<li>Click "Next" in the upload starting confirmation window.</li>
-<li>Select the picture sizes for the uploaded pictures. If you are unsure about acceptable picture sizes, verify with your Gallery administrator. Click "Next" when you are ready.</li>
-<li>You are presented with the last window of the dialog and given a choice of opening the Gallery when the upload is complete.</li>
-<li>Click "Finish" to end the XP Web Publishing Wizard and to enter the Gallery to check the new album contents.</li>
-</ul>
-<p class="small right_align">[cpg1.1.1 or better required]</p>
-<p><a class="back" href="#top">Back to top</a></p><hr />
-
-<a name="upload_trouble"></a>
-<h3>4.11.4 Upload troubleshooting</h3>
-<p>If you are experiencing issues with coppermine's upload process, temporarily change your coppermine settings as suggested below to get more detailed error messages. This applies to all upload methods, not only <a href="#upload_http">HTTP uploads</a>.</p>
-<ul>
-<li><strong>Log in as admin</strong><br />
-Go to your coppermine page and log in as admin</li>
-<li><strong>Go to the <a href="#admin">config screen</a></strong></li>
-<li><strong>Scroll to the bottom of the page</strong></li>
-<li><strong>Expand the "Maintenance settings" section by clicking on it</strong></li>
-<li><strong>Enable debug mode for everyone</strong><br />
-(set <em>Enable debug mode</em> to "Yes: Everyone")</li>
-<li><strong>Leave display of notices switched off</strong><br />
-(notices are only meant for developers. If you have idea what they mean, leave them off.)</li>
-<li><strong>Save the new settings by clicking on "Save new configuration"</strong></li>
-<li><strong>Go to the <a href="#group_cp">"groups" panel</a></strong></li>
-<li><strong>Set the upload form configuration for all groups to "Single file uploads only"</strong><br />
- <ol>
-   <li>set <em>File upload boxes</em> to &quot;1&quot; (1)</li>
-   <li>set <em>URI upload boxes</em> to &quot;0&quot; (2)</li>
-   <li>set <em>No. of boxes</em> to &quot;fixed&quot; (3)</li>
- </ul>
-</li>
-<li><strong>Save your new settings</strong><br />
-(click on "Apply Modifications")</li>
-</ul>
-<p>Then try to upload (using http uploads, even if you experienced troubles using another upload method) - you should get a more detailed <a href="#upload_error_messages">error message</a> that tells you what exactly goes wrong with your uploads. If the error message doesn't mean anything to you, <a href="http://forum.coppermine-gallery.net/index.php?action=search" rel="external" class="external">search the support board</a> for the error message you get.</p>
-
-
-<a name="upload_support"></a><h3>4.11.5 Asking for support on upload issues<a href="#upload_support" title="Link to this section"><img src="pics/anchor.gif" width="15" height="9" border="0" alt="" /></a></h3>
-
-<p class="important">When asking for support on the coppermine forum, post a link to your site and a <a href="#user_cp_new">test user account</a> (the test user mustn't be in the admin group!) with upload privileges, with the above mentioned settings in place - this way, supporters can see the error messages as well. Do not post debug_output unless requested. If you want fast results, you should disable admin approval for the group the test user is in, so supporters can tell instantly what is wrong without needing to double-check.</p>
-<p>When people have issues with uploading and decide to post their question on the Coppermine support board, they usually are told to read this upload troubleshooting section. Many of them fail to do so properly, which results in frustration both for users as well as supporters. To make this absolutely clear: the above mentioned steps are absolutely <strong>mandatory</strong>, no matter what skill level you have, no matter what upload method you have troubles with. Failing to do <strong>exactly</strong> as suggested will result in your request for help being ignored. Yes, this applies to you. We mean it!</p>
-<a name="upload_support_end"></a>
-
-<a name="upload_error_messages"></a><h3>4.11.6 Error messages<a href="#upload_error_messages" title="Link to this section"><img src="pics/anchor.gif" width="15" height="9" border="0" alt="" /></a></h3>
-<p>Below is a list of common error messages and possible reasons / fixes. Before <a href="#upload_support">asking for support</a>, make sure to have read the row that deals with the error you get and tried to apply the suggested fix.</p>
-<table border="0" cellspacing="0" cellpadding="0" class="maintable" width="90%">
-  <tr>
-    <th align="left" class="tableh1">Error message</th>
-    <th align="left" class="tableh1">Possible cause</th>
-    <th align="left" class="tableh1">Suggested fix</th>
-  </tr>
-  <tr>
-    <td valign="top" class="tableb">
-      <a name="ErrorCantMovePic"></a><tt class="code">Impossible to move <em>somepic.jpg</em> to albums/userpics/<br />
-      Warning: move_uploaded_file(/tmp/<em>phpezCYKr</em>)<br />
-      [function.move-uploaded-file]: failed to create stream: Operation not permitted</tt><a href="#ErrorCantMovePic" title="Link to this section"><img src="pics/anchor.gif" width="15" height="9" border="0" alt="" /></a>
-    </td>
-    <td valign="top" class="tableb">
-      PHP's temporary folder is missing or doesn't have the needed permissions
-    </td>
-    <td valign="top" class="tableb">
-      You should contact the admin of your webhost because you usually can't change the location of the website's temporary directory for file uploads, yourself (it is part of PHP configuration) .<br />
-      If the <em><a href="http://www.php.net/manual/en/ini.php#ini.list" rel="external" class="external">open_basedir</a> restriction</em> is in effect on your site then the temp directory for file uploads should be one that you can access.
-    </td>
-  </tr>
-  <tr>
-    <td valign="top" class="tableb tableb_alternate">
-      <a name="ErrorImpossibleToMove"></a><tt class="code">Impossible to move <em>somepic.jpg</em> to albums/userpics/</tt><a href="#ErrorImpossibleToMove" title="Link to this section"><img src="pics/anchor.gif" width="15" height="9" border="0" alt="" /></a>
-    </td>
-    <td valign="top" class="tableb tableb_alternate">The coppermine script doesn't have permissions on the filesystem of the server to create the thumbnail or intermediate image within the specified folder</td>
-    <td valign="top" class="tableb tableb_alternate">Apply permissions on the albums folder and everything within it as suggested in the section <a href="#permissions">Setting permissions</a>. This error message is the most frequent one, as many users tend to skip reading the permissions section. At least when getting this error message, you should read it thoroughly.</td>
-  </tr>
-  <tr>
-    <td valign="top" class="tableb">
-      <a name="ErrorFailedToOpenDir"></a><tt class="code">Warning: opendir(./albums/edit): failed to open dir: No such file or directory</tt><a href="#ErrorFailedToOpenDir" title="Link to this section"><img src="pics/anchor.gif" width="15" height="9" border="0" alt="" /></a>
-    </td>
-    <td valign="top" class="tableb">
-      <ul>
-        <li>'edit'-folder in your albums folder is missing</li>
-        <li>'edit'-folder in your albums folder doesn't have rwx-<a href="#permissions">permissions</a></li>
-        <li>Improper upgrade from cpg1.3.x</li>
-      </ul>
-    </td>
-    <td valign="top" class="tableb">
-      <ul>
-        <li>Make sure you have a folder named 'edit' in your albums folder.</li>
-        <li>Make sure the edit directory has been chmod to 777/755.</li>
-        <li>Make sure you have completely <a href="#upgrade">upgraded</a> to Coppermine 1.5.x</li>
-      </ul>
-    </td>
-  </tr>
-  <tr>
-    <td valign="top" class="tableb tableb_alternate">
-      <a name="httpPostVars"></a><tt class="code">Warning: Undefined variable: HTTP_POST_VARS in include/init.inc.php on line 43</tt><a href="#httpPostVars" title="Link to this section"><img src="pics/anchor.gif" width="15" height="9" border="0" alt="" /></a>
-    </td>
-    <td valign="top" class="tableb tableb_alternate">
-      <ul>
-        <li>Outdated PHP-version on your server</li>
-        <li>Improper webserver configuration</li>
-      </ul>
-    </td>
-    <td valign="top" class="tableb tableb_alternate">
-      Check if <a href="faq.htm#VersionPHP">your version of PHP</a> fullfills the <a href="#what">minimum requirements</a> for Coppermine. If your version is 4.1.0 or better, then this error is probably caused by a misconfiguration of your hosting server, and not a Coppermine issue. If the server isn't yours to configure properly (that is: if you're with a webhost), you can try this workaround (at your own risk):<br >
-      Edit the file "init.inc.php" and look for<br />
-      <div class="quote">$PHP_SELF = isset($_SERVER['REDIRECT_URL']) ? $_SERVER['REDIRECT_URL'] : $_SERVER['SCRIPT_NAME'];</div>
-Replace it with<br />
-      <div class="quote">$PHP_SELF = $_SERVER['PHP_SELF'];</div>
-    </td>
-  </tr>
-  <tr>
-    <td valign="top" class="tableb">
-      <a name="ErrorNoAlbumExisting"></a><tt class="code">Sorry there is no album where you are allowed to upload files</tt><a href="#ErrorNoAlbumExisting" title="Link to this section"><img src="pics/anchor.gif" width="15" height="9" border="0" alt="" /></a>
-    </td>
-    <td valign="top" class="tableb">
-      <ul>
-        <li>You (as admin) haven't created any albums yet.</li>
-        <li>You (as non-admin user) don't have the permission to upload to public albums</li>
-        <li>You haven't created at least one album in your personal gallery</li>
-      </ul>
-    </td>
-    <td valign="top" class="tableb">
-      <ul>
-        <li>If you get this message when being logged in as the admin of your gallery, you have to <a href="#albmgr_create">create at least one album</a> where file uploads could possibly be uploaded to</li>
-        <li>If you get this message when being logged in as non-admin, you have to make sure that you have understood the concept behind coppermine: the admin determines on the <a href="#group_cp">groups control panel</a> wether users can have personal galleries (i.e. create albums inside their user gallery) or if they are allowed to upload into admin-created public albums. If the user <strong>is</strong> allowed to have personal galleries and gets this message, he needs to create at least one album first by clicking on &quot;Create / oder my albums&quot;. If the user is suppossed to upload to public albums (that need to be created by the admin in advance) and gets the above mentioned error message, the admin needs to specify at least one public album where users are allowed to upload to using the <a href="#album_prop">album properties</a> screen.</li>
-      </ul>
-    </td>
-  </tr>
-  <tr>
-    <td valign="top" class="tableb tableb_alternate">
-      <a name="ErrorAllowedMemorySize"></a><tt class="code">Fatal error: Allowed memory size of <em>XXXXXXX</em> bytes exhausted at (null):0 (tried to allocate <em>XXXX</em> bytes) in /var/www/html/include/picmgmt.inc.php</tt><a href="#ErrorAllowedMemorySize" title="Link to this section"><img src="pics/anchor.gif" width="15" height="9" border="0" alt="" /></a>
-    </td>
-    <td valign="top" class="tableb tableb_alternate">
-      This error occurs when using GD and attempting to upload a high resoltuion image.  It's not the size of the file that matters here; it's the number of pixels that determine memory use in GD.
-    </td>
-    <td valign="top" class="tableb tableb_alternate">
-      There is (at least in theory) no limit <em>in Coppermine</em> to the file size or dimensions that the script can handle. However, there is at least one limit existing on the webserver: resizing images (to create intermediate images and/or thumbnails) consumes memory and burns CPU cylces. To prevent the server from crashing, the server admin has to restrict the amount of memory that a PHP script is allowed to consume. The error message mentioned above means that the limit imposed by the server admin has been reached, i.e. the image that the script tried to process consumed to much memory.
-      <ul>
-        <li><strong>Alternative 1 (ideal):</strong><br />
-        Increase the memory limit allocation in php.ini. You must be the server's administrator to do this. Also, .htaccess files cannot change this configuration setting, and it cannot be changed using ini_set(). First, you locate the following block in php.ini (if you actually are the server admin):<br />
-        <div class="quote"><tt>;;;;;;;;;;;;;;;;;;;<br />; Resource Limits ;<br />;;;;;;;;;;;;;;;;;;;<br />&nbsp;<br />max_execution_time = 30     ; Maximum execution time of each script, in seconds<br />max_input_time = 60        ; Maximum amount of time each script may spend parsing request data<br />memory_limit = 8M      ; Maximum amount of memory a script may consume (8MB)</tt></div>
-         Now you increase the memory limit to fit your needs. 9 to 16 MB should handle most requirements. To calculate the amount of memory an image uses, you simply multiply the pixel width and height, and then you multiply the result by the number of base colors (RGB - 3, CMYK - 4). Finally, you divide by 1048576 to get the memory usage in MB.<br />
-         Here are some common image resolutions and their memory use in GD (assuming RGB):
-         <ul>
-           <li>800 x 600 - 1.37 MB</li>
-           <li>1024 x 768 - 2.25 MB</li>
-           <li>1200 x 1600 - 5.49 MB</li>
-         </ul>
-         Remember when using the above figures that the amount of memory being used by the rest of Coppermine must be taken into account, too.<br />
-         If you are unable to change php.ini settings yourself, you can always ask your server administrator to change this for you.  However, most administrators (especially on shared webhsoting) will be reluctant to do so, as this setting will affect everyone on a shared server. A higher memory limit requires reducing the number of people who can be hosted on the same server in order to maintain server stability. This reduces profitability, etc.<br />
-         If you cannot change php.ini, you should read alternatives 2 and 3.</li>
-         <li><strong>Alternative 2 (sensible):</strong><br />
-         Resize your images before uploading if you do not require high resolution images.  This saves upload bandwidth and time for you.</li>
-         <li><strong>Alternative 3 (workaround):</strong><br />
-         You may download one of many free programs that resize images. Then resize the images to a smaller resolution (like 800 x 600) by the batch into a different folder while maintaining the same filenames.<br />
-         Upload the resized images to Coppermine.  Then use your FTP client to overwrite the images with the higher resolution images. </li>
-      </ul>
-    </td>
-  </tr>
-  <tr>
-    <td valign="top" class="tableb">
-      <a name="ErrorExecDisabled"></a><tt class="code">Exec() has been disabled</tt><a href="#ErrorExecDisabled" title="Link to this section"><img src="pics/anchor.gif" width="15" height="9" border="0" alt="" /></a>
-    </td>
-    <td valign="top" class="tableb">
-      php.ini allows the server administrator to disable certain functions. Usually this is the case if your server is running in safe_mode.
-    </td>
-    <td valign="top" class="tableb">
-      If the server administrator has disabled exec() you will not be able to use Image Magick.<br />
-      You may try to replace exec() with passthru() in the entire core code of coppermine (not recommended) if it has not been disabled as well.  Otherwise, you can't use ImageMagick and must use GD. Change <a href="#admin_picture_thumb_advanced_resize_method">Method for resizing images</a> in config accordingly.
-    </td>
-  </tr>
-  <tr>
-    <td valign="top" class="tableb tableb_alternate">
-      <a name="ErrorNotAGdExtension"></a><tt class="code">Not a GD extension</tt><a href="#ErrorNotAGdExtension" title="Link to this section"><img src="pics/anchor.gif" width="15" height="9" border="0" alt="" /></a>
-    </td>
-    <td valign="top" class="tableb tableb_alternate">
-      The file(s) you tried to upload can not be handled using the GD ImageLibrary
-    </td>
-    <td valign="top" class="tableb tableb_alternate">
-      The GD library can only handle jpeg, png and gif files, while the ImageMagick library supports additionally bmp, psd and some other (less common) file types. However, those files are not suitable for use on the internet. Details can be found in the <a href="#admin_picture_thumb_advanced_pic_extensions">Allowed image types</a> section in the config page of the docs.
-    </td>
-  </tr>
-  <tr>
-    <td valign="top" class="tableb">
-      <a name=""></a><tt class="code">The file '<em>albums/userpics/10001/somepic.jpg</em>' can't be inserted in the album. Error executing ImageMagick - Return value <strong>127</strong></tt><a href="#" title="Link to this section"><img src="pics/anchor.gif" width="15" height="9" border="0" alt="" /></a>
-    </td>
-    <td valign="top" class="tableb">
-      You haven't specified the correct <a href="#admin_picture_thumb_advanced_im_path">path to ImageMagick</a>, or you don't have ImageMagic at all.
-    </td>
-    <td valign="top" class="tableb">
-      If you're sure that you actually have ImageMagick available on your server, review <a href="#admin_picture_thumb_advanced_im_path">path to ImageMagick</a>. If the path appears to be correct, make sure that the coppermine script has permissions to read and execute the convert executable within the ImageMagick folder. If you're not sure, switch <a href="#admin_picture_thumb_advanced_resize_method">Method for resizing images</a> from &quot;ImageMagick&quot; to &quot;GD2&quot;, then try uploading again.
-    </td>
-  </tr>
-  <tr>
-    <td valign="top" class="tableb tableb_alternate">
-      <a name=""></a><tt class="code">PHP running on your server does not support the GD image library, check with your webhost if ImageMagick is installed.</tt><a href="#" title="Link to this section"><img src="pics/anchor.gif" width="15" height="9" border="0" alt="" /></a>
-    </td>
-    <td valign="top" class="tableb tableb_alternate">
-      Your webserver doesn't come with support for the GD image library.
-    </td>
-    <td valign="top" class="tableb tableb_alternate">
-      Make sure that you fullfill the <a href="#what">minimum requirements</a> to run Coppermine. If GD is not available on your server, you could use ImageMagick. Ask your webhost if ImageMagick is available on your webserver.
-    </td>
-  </tr>
-</table>
-<a name="upload_error_messages_end"></a>
-
-<a name="upload_trouble_end"></a>
-<p><a class="back" href="#top">Back to top</a></p><hr />
-
-<h2>4.12 The gallery configuration page<a name="admin"></a></h2>
-<p>This is where you will configure the most important parts of your coppermine gallery. Some settings have an impact on the files you upload - changing the ( * ) astericked options after you have alreaded added a large number of files in your gallery can be a difficult undertaking. For this reason, it is important that you spend time with your coppermine setup at the early stages of gallery development to get those settings exactly the way you want them, before actually uploading too many pics or listing the gallery to the general public.</p>
-<a name="admin_general"></a>
-<h3>4.12.1 General settings</h3>
-<a name="admin_general_name"></a><h4>Gallery name</h4>
-<p>Enter the name of your gallery in this text field. The name you enter will appear as the title that is displayed in the web browser's title bar and is also displayed in many of the different theme templates.</p>
-<a name="admin_general_name_end"></a>
-<a name="admin_general_description"></a><h4>Gallery description</h4>
-<p>Enter a short description of your gallery in this text field. This description is also displayed in some of the theme templates just below the name of your gallery.</p>
-<a name="admin_general_description_end"></a>
-<a name="admin_general_email"></a><h4>Gallery administrator email</h4>
-<p>All emails sent by the gallery will be sent using this email address. This must be a valid email address.</p>
-<a name="admin_general_email_end"></a>
-<a name="admin_general_coppermine-url"></a><h4>URL of your coppermine gallery folder</h4>
-<p>This is the URL where a user will be directed to when s/he clicks on the &quot;See more pictures&quot; link in an e-card. This <em>must</em> be the URL to the root of your coppermine installation followed by a forward slash (just the path to your coppermine folder, e.g. <em>http://yourdomain.tld/coppermine/</em>). Do not specify a specific file (such as index.php) or subfolder within the coppermine gallery in this field.</p><p>In previous versions of Coppermine, this field was called &quot;Target address for the 'See more pictures' link in e-cards&quot;, but as this url is now being used for other functions in coppermine, it has been changed, appropriately.</p>
-<a name="admin_general_coppermine-url_end"></a>
-<a name="admin_general_home-url"></a><h4>URL of your home page</h4>
-<p>This is the URL where a user will be directed when he clicks on the &quot;Home&quot; button in the main menu.</p>
-<p>You can use &quot;/&quot; for the root of your domain, &quot;index.php&quot; for your gallery's default starting page, or any other valid URL. By default this is "index.php".</p>
-<p class="small right_align">[cpg1.4.0 or better required]</p>
-<a name="admin_general_home-url_end"></a>
-<a name="admin_general_zip-download"></a><h4>Allow ZIP-download of favorites</h4>
-<p>When enabled, users of your site may download files that they previously saved into their <em>favorites</em> collection. These files are dowloaded from the user's &quot;My favorites&quot; page and saved onto their computers in a zip-file format. This option requires zlib to be installed on your server (run <a href="http://www.php.net/phpinfo" rel="external" class="external">phpinfo</a> to check if this php library file exists on your server).</p>
-<p class="small right_align">[cpg1.3.0 or better required]</p>
-<a name="admin_general_zip-download_end"></a>
-<a name="admin_general_time-offset"></a><h4>Timezone difference relative to GMT</h4>
-<p>Specify the time zone difference between your local time and the time zone your webserver is in. This value will be used to adjust time stamps in ecards and other places.</p>
-<p class="small right_align">[cpg1.4.0 or better required]</p>
-<a name="admin_general_time-offset_end"></a>
-<a name="admin_general_encrypt_password_start"></a><h4>Enable encrypted passwords</h4>
-<p>This option affects changes on user passwords that are stored as plain text in your database (this is the case if you have upgraded from previous versions of coppermine that did not have this feature). It will encrypt all passwords in the database, and all future passwords will be stored encypted as well. This process can not be reversed: once encryption in turned on, it can not be turned off, so use this option only after giving it some serious consideration.</p>
-<p>This option increases user security in coppermine, but comes with a drawback inherent to this method: even the admin will not be able to recover a lost password of a user (or his own password). The password can only be reset to another value using the "I forgot my password" option during login.</p>
-<p class="small right_align">[cpg1.4.0 or better required]</p>
-<a name="admin_general_encrypt_password_end"></a>
-<a name="admin_general_help"></a><h4>Enable help-icons</h4>
-<p>Enables the display of help icons in various sections of the coppermine admin pages. When enabled, make sure you have also uploaded the "docs" folder into your coppermine folder on your webserver.</p>
-<p>If you choose to set this to &quot;Yes: everyone&quot;, logged in (registered) users will be able to see the help icons in strategic locations as well, e.g. when creating a user gallery.</p>
-<p>As the help text is based on the documentation that comes with coppermine, it is available in English only. If the native language of your user(s) is not English, it is advisable to set this option to &quot;Yes: admin only&quot; to avoid confusion among your users.</p>
-<p>It is strongly recommended that you do not disable the help icons altogether: even though you feel that you know your way around in your Coppermine install, the help icons might help you with the functinos of a new or unfamiliar option later.</p>
-<p class="small right_align">[cpg1.4.0 or better required]</p>
-<a name="admin_general_help_end"></a>
-<a name="admin_general_keywords_start"></a><h4>Enable clickable keywords in search</h4>
-<p>When enabled, a list of all keywords entered in the &quot;<a href="#edit_pics">Edit files</a>&quot; page will appear at the bottom of the search page, with each keyword being a clickable search link. Enabling this option is recommended only if you have a small number of keywords in use (e.g. less than 100) - it will provide your users with some ideas as to what they could be searching for in your gallery (in addition to the standard full-text search). Please note that enabling this option for a large list of keywords (e.g. thousands of keywords) can slow down the search page considerably and may be confusing for new users and visitors to your site.</p>
-<p class="small right_align">[cpg1.4.0 or better required]</p>
-<a name="admin_general_keywords_end"></a>
-<a name="admin_general_enable-plugins"></a><h4>Enable plugins</h4>
-<p>Enable or disable <a href="#plugin">plugins</a>, with a link to the <a href="#plugin_manager">plugin manager</a>. This is a brand-new feature of coppermine. This feature allows advanced copperminers to create plug-ins that can control the way coppermine looks and behaves without modifying the inherent code of the script itself. We anticipate many exciting, user-contributed, plug-ins in the near future.  More details can be found in the <a href="#plugin_start">plugins section of this documentation</a>.  Since plugins add on to the core Coppermine system, if you are having problems, try to disable all plugins using this setting to see if a plugin may be at fault.  If so, you can then enable all plugins here, then uninstall or install one plugin at a time in the <a href="#plugin_manager">plugin manager</a> to figure out which one is at fault.</p>
-<p class="small right_align">[cpg1.4.0 or better required]</p>
-<a name="admin_general_enable-plugins_end"></a>
-
-<a name="admin_general_private-ip"></a><h4>Allow banning of non-routable (private) IP addresses</h4>
-<p>Today, most people on the internet have dynamic IP addresses that are assigned to them when connecting to the internet by their Internet Service Provider. These IP addresses change each time the user connects to the internet, but during an internet session these IP addresses are &quot;visible&quot; at the web-sites that thee user is surfing. Within the range of all IP addresses (0.0.0.0 to 255.255.255.255), certan ranges are reserved for special purposes (mostly for the use on private networks). The banning feature will not accept IP addresses banning of addresses that belong to these private ranges (e.g. 192.168.0.1). This is necessary to prevent unexperienced, as well as experienced, coppermine admins from banning IP addresses within their own LAN. If you're actually running Coppermine on your LAN/WAN that uses private IP addresses (e.g. on a company's intranet) and you want the authority to be able to ban users, switch this option to &quot;Yes&quot;. If you're running coppermine on a webserver located in the internet (e.g. you're webhosted), you should keep this option set to &quot;No&quot;.<br />
-If you don't use banning at all, you can safely ignore this setting completely.</p>
-<p class="small right_align">[cpg1.4.0 or better required]</p>
-<a name="admin_general_private-ip_end"></a>
-
-<a name="admin_general_browsable_batch_add"></a><h4>Browsable batch-add interface</h4>
-<p>When <a href="#batch_add_pics">batch-adding</a> files (that you have uploaded using <acronym title="File Transfer Protocol">FTP</acronym> before) to your gallery, you have the option to switch between a browsable list, where you can go scroll through the directory structure in your <tt class="code">albums</tt>-folder or to display the whole directory structure at once. Enable this option if you have a larger structure of directories and subdirectories you want to browse through (this requires your browser to be capable of displaying <a href="http://www.w3schools.com/tags/tag_iframe.asp" class="external" rel="external">iframes</a>). Set this option to &quot;No&quot; (disabled) if you want to use the &quot;classic&quot; coppermine interface that shows a complete list of the structure at once.<br />
-Should you have difficulties using one, try the other. You can toggle between these options on the <a href="#batch_add_pics">batch-add</a> page as well.</p>
-<p class="small right_align">[cpg1.4.0 or better required]</p>
-<a name="admin_general_browsable_batch_add_end"></a>
-<p><a class="back" href="#top">Back to top</a></p><hr />
-
-<a name="admin_language"></a>
-<h3>4.12.2 Language &amp; Charset settings</h3>
-<p><img src="pics/config_language.gif" width="612" height="234" border="1" alt="" /></p>
-<a name="admin_language_language"></a><h4>Language</h4>
-<p>This sets the default language for your gallery.</p>
-<p>Coppermine has a separate language file that makes the translation of the script much more easy. The language files are stored in the <strong>lang </strong>directory. The files are unicode encoded (utf-8). They are automatically generated with the <a href="http://www.iconv.com/iconv.htm" rel="external" class="external">iconv</a> program so there is no need for you to make an unicode version of your translation.</p>
-<p>If you select utf-8 to be the default encoding in coppermine's config, then the script will be able to automatically select a language file based on the visitor browser configuration.</p>
-<p>Here's how coppermine determines the language of a user: when accessed, coppermine checks if a user explicitely has set a language preference (which is stored in a cookie on the client). If one is set, coppermine is being displayed in that particular language.</p>
-<p>If no individual language preference has been set, coppermine detects the language preference of a user set up in his browser. If the browser language is (for example) English, then coppermine will display in English.</p>
-<p>If the browser language is set to hindi (as an example), while there is no Coppermine language file available for that particular language, then coppermine will fall back to the default language you have set up in Coppermine's config.</p>
-<p>As you can see, the determination of the actual language setting is a three step process:</p>
-<ul>
-<li>user preference (cookie)</li>
-<li>browser setting</li>
-<li>coppermine config setting</li>
-</ul>
-<p>This three-step-process is very helpful: in fact, you only set a default language in Coppermine's config (usually the language the majority of your visitors is speaking) and that's it: if a visitor who speaks another language visits your page, Coppermine's controls will display in his language. Usually, you don't have to provide a <a href="htm#admin_language_list">language selector</a> on your page (but it's an option in Coppermine's config to display one if you prefer so). The language selector in fact just adds a parameter to the URL, which then subsequently triggers a cookie to be set on the client. You (as Coppermine admin) can accomplish the same by manually adding the parameter to the URL in the address bar of your browser. Just observe how the URL changes on the your coppermine gallery if you have enabled the language selector in coppermine's config to get an idea how this works.</p>
-<p>When the script auto detects the preferred language, it stores the result in a cookie on the visitor's computer. To reset this cookie (and thus force the script to do another auto detection) the user must call this autodetect function with something like: <a href="#">http://yoursite.com/coppermine_dir/index.php?lang=xxx</a></p>
-<p>Once you have added comments or files to your gallery, you should not change the character set of your gallery. If you do so, non-ASCII characters may display properly.</p>
-<a name="admin_language_language_end"></a>
-<a name="admin_language_fallback"></a><h4>Fallback to English if translated phrase not found?</h4>
-<p>Enable this option if you're using languages other than english. If a certain word or phrase doesn't exist within your language file, coppermine will display the equivalent english phrase, instead.</p><p>This feature has been introduced to allow the use of previous version language files -- language files that may have not been translated for the this version, yet. Until an updated version of the language file is made available, you can use this option. Most translation differences affect the admin part of coppermine only, so  the admin will experience most of these untranslated strings. The admin will see some phrases in english instead of his/her preferred language for strings and words that don't exist in the currently available language file. NOTE: this fallback option only works for 95% of all phrases, there may still be some other translation omissions.</p>
-<p class="small right_align">[cpg1.4.0 or better required]</p>
-<a name="admin_language_fallback_end"></a>
-<a name="admin_language_charset"></a><h4>Character encoding</h4>
-<p>This should normally be set to "Unicode (utf-8)" (or "Default (language file)"). See the discussion in the &quot;<strong><a href="#admin_language">language</a></strong>&quot; section of this page.</p>
-<a name="admin_language_list"></a><h4>Display language list</h4>
-<p>Enable this option if you want your users to be able to select a preferred language from a dropdown list (you can specify to display only the list itself or a label saying &quot;<strong>Choose your language:</strong>&quot; in front of the list). Edit your template file (/themes/yourtheme/template.html) to specify where the language dropdown list should appear on your gallery (look for the call tag: <strong>{LANGUAGE_SELECT_LIST}</strong>).</p>
-<p class="small right_align">[cpg1.3.0 or better required]</p>
-<a name="admin_language_list_end"></a>
-<a name="admin_language_flags"></a><h4>Display language flags</h4>
-<p>Enable this option if you would like the option of having your users select languages appropriate for their use by merely clicking on a flag icon which representing their language or country (you can specify to display the flags themselves or include a label that states: &quot;<strong>Choose your language:</strong>&quot; in front of the flags). Edit your template file (/themes/yourtheme/template.html) to specify where the flags should appear in your gallery (look for the call tag:<strong>{LANGUAGE_SELECT_FLAGS}</strong>).</p>
-<p class="small right_align">[cpg1.3.0 or better required]</p>
-<a name="admin_language_flags_end"></a>
-<a name="admin_language_reset"></a><h4>Display &quot;reset&quot; in the language selection</h4>
-<p>This option only applies only if you enabled user language selection - it will show a &quot;default&quot;-icon or list entry to let the users go back to the original language of your gallery.</p>
-<p class="small right_align">[cpg1.3.0 or better required]</p>
-<a name="admin_language_reset_end"></a>
-<a name="admin_language_charset_end"></a>
-<p><a class="back" href="#top">Back to top</a></p><hr />
-
-<a name="admin_theme"></a>
-<h3>4.12.3 Themes settings</h3>
-<a name="admin_theme_theme"></a><h4>Theme</h4>
-<p>Use this dropdown list to select the default theme for your gallery (Themes are stored in sub-directories of the <strong>themes</strong> directory ).</p>
-<a name="admin_theme_theme_end"></a>
-<a name="admin_theme_theme_list"></a><h4>Display theme list</h4>
-<p>Enable this option if you want your users to be able to select other themes from a dropdown list (you can specify to display only the list itself or a label saying &quot;<strong>Choose your theme:</strong>&quot; in front of the list). Edit your template file (/themes/yourtheme/template.html) to specify where the theme dropdown list should appear on your gallery (look for <strong>{THEME_SELECT_LIST}</strong>).</p>
-<p>This option only makes sense if you have at least one alternative theme in your /themes/ folder other than your default theme. We recommend using this option only if there's are additional benefits for the user (for example a theme with less graphics in it that loads faster for users on a dial-up connection, or a theme with reduced color pallettes and good contrast).</p>
-<p class="small right_align">[cpg1.3.0 or better required]</p>
-<a name="admin_theme_theme_list_end"></a>
-<a name="admin_theme_theme_reset"></a><h4>Display &quot;reset&quot; in theme selection</h4>
-<p>This option applies only if you enabled the user theme selection option - it will show a &quot;default&quot; list entry to let the users go back to the original theme of your gallery.</p>
-<p class="small right_align">[cpg1.3.0 or better required]</p>
-<a name="admin_theme_theme_reset_end"></a>
-<a name="admin_theme_faq"></a><h4>Display FAQ</h4>
-<p>This option adds a &quot;FAQ&quot; link to the menu bar when enabled. If a user clicks on it, it will display a list of &quot;Frequently asked question&quot; on how to use coppermine. To change the content of the FAQ, edit the file /your_coppermine_folder/lang/yourlanguage.php (e.g. english.php) and look for</p>
-<pre>// ------------------------------------------------------------------------- //
-// File faq.php
-// ------------------------------------------------------------------------- //</pre>
-<p>Edit the content that comes after it.</p>
-<p class="small right_align">[cpg1.3.0 or better required]</p>
-<a name="admin_theme_faq_end"></a>
-<a name="admin_theme_custom_lnk_name"></a><h4>Name of your custom link</h4>
-<p>Use this if you want to create a custom link that will appear in the menu. What you enter here will be the name of the menu link or button.  Leave space blank if you do not have any specific use for it.</p>
-<p class="small right_align">[cpg1.4.0 or better required]</p>
-<a name="admin_theme_custom_lnk_name_end"></a>
-<a name="admin_language_custom_lnk_url"></a><h4>URL of your custom link</h4>
-<p>This is the URL where the user's browser will be directed to when s/he clicks on the &quot;Custom link name&quot; button in the main menu.</p>
-<p>You can use any valid URL.</p>
-<p>Leave this blank if you do not have any specific use for it.</p>
-<p class="small right_align">[cpg1.4.0 or better required]</p>
-<a name="admin_language_custom_lnk_url_end"></a>
-<a name="admin_theme_bbcode"></a><h4>Display bbcode help</h4>
-<p>When enabled, this will display the <a href="#bbcode">bulletin board codes</a> that may be used in description fields to help with the formatting of text, images and links.</p>
-<p class="small right_align">[cpg1.3.0 or better required]</p>
-<a name="admin_theme_bbcode_end"></a>
-<a name="vanity_block"></a><h4>Display the vanity block on themes that are defined as XHTML and CSS compliant</h4>
-<p>When enabled and using a theme that has been defined as XHTML and CSS compliant, the vanity block will be shown. The vanity block contains the logos and links for HTML and CSS compliance at w3.org, as well as pointers to the PHP, and MySQL projects.</p>
-<p class="small right_align">[cpg1.4.2 or better required]</p>
-<a name="vanity_block_end"></a>
-<a name="admin_theme_include_path_start"></a>
-<h4>Path to custom header include</h4>
-<p>Optional relative path to a custom header file. Using this option, you can include non-coppermine code bits to be included into your theme, e.g. an overall navigation that gets included on your whole website. You can only add a relative path (seen from the root path of your coppermine install) - not an absolute one, nor a http include from another website. This option is only meant for experienced users who have some PHP know-how. </p>
-<p><span class="important">Warning: you mustn't include full html pages that contain an html header or footer (tags like <tt class="code">&lt;head&gt;</tt> or <tt class="code">&lt;body&gt;</tt>), nor can the included file do file header manipulation, e.g. reading another (non-coppermine) cookie.</span></p>
-<p class="small right_align">[cpg1.4.0 or better required]</p>
-<h4>Path to custom footer include</h4>
-<p>Optional relative path to a custom footer file. The same remarks apply as for the custom header include path.</p>
-<p class="small right_align">[cpg1.4.0 or better required]</p>
-<a name="admin_theme_include_path_end"></a>
-<a name="admin_theme_end"></a>
-<p><a class="back" href="#top">Back to top</a></p><hr />
-
-<a name="admin_album_list"></a>
-<h3>4.12.4 Album list view</h3>
-<a name="admin_album_table-width"></a>
-<h4>Width of the main table (pixels or %)</h4>
-<p>The number you type in here becomes the default width of the display tables used on your main page or when you are viewing thumbnails of an album. You can enter the width in pixels or specify it in percentages. The default value is 100%.</p>
-<a name="admin_album_table-width_end"></a>
-<a name="admin_album_category-levels"></a>
-<h4>Number of levels of categories to display</h4>
-<p>The default value is 2. With this value the script will display the current categories plus one level of sub-categories.</p>
-<a name="admin_album_category-levels_end"></a>
-<a name="admin_album_number"></a>
-<h4>Number of albums to display</h4>
-<p>This is the number of albums to display on a page. If the current category contains more albums than what is allowed on the page, the album list will be split over multiple pages with tabs at the bottom of each album list table that users can click on to advance to the next set of albums in a particular category.</p>
-<a name="admin_album_number_end"></a>
-<a name="admin_album_columns"></a>
-<h4>Number of columns for the album list</h4>
-<p>Self-explanatory. The default value is 2.</p>
-<a name="admin_album_columns_end"></a>
-<a name="admin_album_thumbnail-size"></a>
-<h4>Size of thumbnails in pixels</h4>
-<p>This sets the maximum size of the thumbnails that are to be displayed for each album. 50 means that the thumbnail will fit inside a square of 50x50 pixels.</p>
-<p>If the size you specify there is larger than &quot;Pictures and thumbnails settings/Max width or height of a thumbnail&quot;, the thumbnail will be stretched. Aesthetically, it is better to have thumbnails smaller than or equal to the Max width or height settings here.</p>
-<a name="admin_album_thumbnail-size_end"></a>
-<a name="admin_album_list_content"></a><a name="changing"></a><h4>The content of the main page</h4>
-<p>This option allows you to change the content of the main page displayed by the script.</p>
-<p>The default value is &quot;<strong>catlist/alblist/random,2/lastup,2</strong>&quot;</p>
-<p>You can use the following "codes" to include other items:</p>
-<ul>
-  <li>'<strong>breadcrumb</strong>': navigation inside the gallery (e.g. &quot;home &gt; category &gt; subcategory &gt; album&quot;)</li>
-  <li>'<strong>catlist</strong>': category list</li>
-  <li>'<strong>alblist</strong>': album list</li>
-  <li>'<strong>random</strong>': random files (leaving random files &quot;on&quot; for huge galleries with more than 10,000 pics might result in performance problems; switch random &quot;off&quot; in this case)</li>
-  <li>'<strong>lastup</strong>': last uploads</li>
-  <li>'<strong>topn</strong>': most viewed</li>
-  <li>'<strong>toprated</strong>': top rated</li>
-  <li>'<strong>lastcom</strong>': last comments </li>
-  <li>'<strong>lasthits</strong>': last viewed </li>
-  <li>'<strong>anycontent</strong>': inserts php-generated content that has to reside within the file 'anycontent.php' into the index page. Can be used to include banner-rotation scripts or similar.</li>
-  <li>'<strong>lastalb</strong>': last created albums</li>
-  </ul>
-<p>Unless you really know what you are doing you should always keep catlist and alblist in &quot;<em>the content of the main page</em>&quot;, as they make up the core parts of the index page or any gallery site, for that matter.</p>
-<p>The <strong>,2</strong> dictates that cpg should display 2 rows of thumbnails.</p>
-<a name="admin_album_list_content_end"></a>
-<a name="admin_album_first-level_thumbs"></a>
-<h4>Show first level album thumbnails in categories</h4>
-<p>Use this setting to choose whether or not to display thumbnails from the first album of the categories listed on the default gallery entry page.</p>
-<a name="admin_album_first-level_thumbs_end"></a>
-<a name="admin_album_list_alphasort_start"></a>
-<h4>Sort categories alphabetically (instead of custom sort order)</h4>
-<p>You can dictate that coppermine sort all categories alphabetically (instead of in a custom order) by setting &quot;Sort categories alphabetically&quot; to &quot;Yes&quot;. This setting is accessible both in the coppermine config menu and in the category manager. If you enable alphabetical sorting, the up and down arrows that normally let you move  categories up and down in the custom sorting list will disappear.</p>
-<p class="small right_align">[cpg1.4.0 or better required]</p>
-<a name="admin_album_list_alphasort_end"></a>
-<a name="admin_album_linked_files_start"></a><h4>Show number of linked files</h4>
-<p>If you use album keywords to display images/files in more than one album, enabling this option will display additional information for the album stats: if an album doesn't only contain &quot;regular&quot; files, but files linked via the "<a href="#album_prop_keyword_start">album keyword</a>" option as well, the number of linked files will be displayed separately like this "3 files, last one added on Oct 07, 2004<em>, 3 linked files, 6 files total</em>".</p>
-<p class="small right_align">[cpg1.4.0 or better required]</p>
-<a name="admin_album_linked_files_end"></a>
-<a name="admin_album_list_end"></a>
-<p><a class="back" href="#top">Back to top</a></p><hr />
-
-<a name="admin_thumbnail_view"></a>
-<h3>4.12.5 Thumbnail view</h3>
-<a name="admin_thumbnail_columns"></a>
-<h4>Number of columns on thumbnail page</h4>
-<p>Default value is 4 this means that each row will show 4 thumbnails.</p>
-<a name="admin_thumbnail_columns_end"></a>
-<a name="admin_thumbnail_rows"></a>
-<h4>Number of rows on thumbnail page</h4>
-<p>Default value is 3.</p>
-<a name="admin_thumbnail_rows_end"></a>
-<a name="admin_thumbnail_tabs"></a>
-<h4>Maximum number of tabs to display</h4>
-<p>When the thumbnails spread over multiple pages, tabs are displayed at the bottom of the page. This value define how many tabs will be displayed.</p>
-<a name="admin_thumbnail_tabs_end"></a>
-<a name="admin_thumbnail_display_caption"></a>
-<h4>Display file caption (in addition to title) below the thumbnail </h4>
-<p>Toggles whether the file caption is displayed below each thumbnail while user is in (regular) thumbnail view.</p>
-<p class="small right_align">[cpg1.3.0 or better required]</p>
-<a name="admin_thumbnail_display_caption_end"></a>
-<a name="admin_thumbnail_display_views"></a>
-<h4>Display number of views below the thumbnail</h4>
-<p>Toggles whether the number of views is displayed below each thumbnail while user is in thumbnail view.</p>
-<p class="small right_align">[cpg1.3.0 or better required]</p>
-<a name="admin_thumbnail_display_views_end"></a>
-<a name="admin_thumbnail_display_comments"></a>
-<h4>Display number of comments below the thumbnail</h4>
-<p>Toggles the display of the number of comments for below each thumbnail.</p>
-<p class="small right_align">[cpg1.3.0 or better required]</p>
-<a name="admin_thumbnail_display_comments_end"></a>
-<a name="admin_thumbnail_display_uploader"></a>
-<h4>Display uploader name below the thumbnail</h4>
-<p>Toggles the display of the name of non-admin uploaders below each thumbnail.</p>
-<p class="small right_align">[cpg1.4.0 or better required]</p>
-<a name="admin_thumbnail_display_uploader_end"></a>
-<a name="admin_thumbnail_display_admin_uploader"></a>
-<h4>Display names of admin uploaders below the thumbnail</h4>
-<p>Toggles the display of admin uploader names below each thumbnail for users that have the administrators group set as thier default group.</p>
-<p class="small right_align">[cpg1.4.0 or better required]</p>
-<a name="admin_thumbnail_display_admin_uploader_end"></a>
-<a name="admin_thumbnail_display_filename"></a>
-<h4>Display the file name below the thumbnail</h4>
-<p>Toggles the display of the file name below each thumbnail.</p>
-<p class="small right_align">[cpg1.4.0 or better required]</p>
-<a name="admin_thumbnail_display_filename_end"></a>
-<a name="admin_thumbnail_display_description"></a>
-<!--Not implemented yet
-<h4>Display album description</h4>
-<p>Toggles the display of the album description below each album thumbnail.</p>
--->
-<a name="admin_thumbnail_display_description_end"></a>
-<a name="admin_thumbnail_default_sortorder"></a>
-<h4>Default sort order for files</h4>
-<p>This option determines the default order in which thumbnails should be displayed. Your user can override this by selecting a custom sort order from the sort buttons above the albums.</p>
-<a name="admin_thumbnail_default_sortorder_end"></a>
-<a name="admin_thumbnail_minimum_votes"></a>
-<h4>Minimum number of votes for a file to appear in the 'top-rated' list</h4>
-<p>Used to determine how many votes a file must receive before appearing as a &quot;top-rated file.&quot;  If a file has received less than &quot;this value&quot; of votes, it will not be displayed in the "top-rated" page. This value must be greater or equal to 1.</p>
-<a name="admin_thumbnail_minimum_votes_end"></a>
-<a name="admin_thumbnail_view_end"></a>
-<p><a class="back" href="#top">Back to top</a></p><hr />
-
-<a name="admin_image_comment"></a>
-<h3>4.12.6 Image view</h3>
-<a name="admin_image_comment_table-width"></a>
-<h4>Width of the table for picture display (pixels or %)</h4>
-<p>The minimum width of the table that will be used to display the intermediate picture.</p>
-<p>Examples:<br /><tt class="code">600</tt> = The table around the pic will be 600 pixels wide (if the pic has larger dimensions this table will expand accordingly to fit the image).<br />
-<tt class="code">100%</tt> = use all available space based on the horizontal dimension of the pic.</p>
-<a name="admin_image_comment_table-width_end"></a>
-<a name="admin_image_comment_info_visible"></a>
-<h4>File information are visible by default</h4>
-<p>Define whether or not the file information block that appears below the intermediate image should be visible by default (If turned off, users can still view the info block by clicking on the ( i ) button..</p>
-<a name="admin_image_comment_info_visible_end"></a>
-<a name="admin_image_comment_descr_length"></a>
-<h4>Max length for an image description</h4>
-<p>Maximum number of characters that an image description may contain.</p>
-<a name="admin_image_comment_descr_length_end"></a>
-<a name="admin_image_comment_filmstrip_toggle"></a>
-<h4>Show film strip</h4>
-<p>Toggles display of a "film strip" showing thumbnails of prior and subsequent files in the album.</p>
-<p class="small right_align">[cpg1.2.0 or better required]</p>
-<a name="admin_image_comment_filmstrip_toggle_end"></a>
-<a name="admin_image_comment_display_film_strip_filename"></a>
-<h4>Display file name under film strip thumbnail</h4>
-<p>Toggles the display of the file name below each thumbnail in the film strip.</p>
-<p class="small right_align">[cpg1.4.0 or better required]</p>
-<a name="admin_image_comment_display_film_strip_filename_end"></a>
-<a name="admin_image_comment_filmstrip_number"></a>
-<h4>Number of items in film strip</h4>
-<p>Sets the number of thumbnails to display in film strip. The number you can set here is dependent on your thumbnail size and monitor size. If you do not want to inconvenience users with smaller monitors set this value between 4-6.</p>
-<p class="small right_align">[cpg1.2.0 or better required]</p>
-<a name="admin_image_comment_filmstrip_number_end"></a>
-<a name="admin_image_comment_slideshow_interval"></a>
-<h4>Slideshow interval in milliseconds</h4>
-<p>This sets the time that each pic is to be displayed (transition interval) when a user is viewing a slideshow (the next pic is being loaded/cached while the current one is being displayed). This setting must be in milliseconds (1 second = 1000 milliseconds).<br />Remember that setting this to a very low value may not be in the best interest for all of your users, especially those who are on dial-up connections, or if you have large files (kb)that may take longer than the allotted time to display.</p>
-<a name="admin_image_comment_slideshow_interval_end"></a>
-<a name="admin_image_comment_end"></a>
-<p><a class="back" href="#top">Back to top</a></p><hr />
-
-<a name="admin_comment_start"></a>
-<h3>4.12.7 Comment settings</h3>
-<a name="admin_image_comment_bad_words"></a>
-<h4>Filter bad words in comments</h4>
-<p>Remove "bad words" from comments. The "bad words" list is in the language file. NOTE: Not all language files may contain an equivelent for this list.</p>
-<a name="admin_image_comment_bad_words_end"></a>
-<a name="admin_image_comment_smilies"></a>
-<h4>Allow smilies in comments</h4>
-<p>Toggle the use of smilies in comments.</p>
-<a name="admin_image_comment_smilies_end"></a>
-<a name="admin_image_comment_flood"></a>
-<h4>Allow several consecutive comments for a specific pic/file from the same user</h4>
-<p>This setting toggles flood protection for the comments option. When set to YES, a user can post another comment, even though he already posted a previous one. Some users may abuse this setting. The recommended setting is: NO.</p>
-<a name="admin_image_comment_flood_end"></a>
-<a name="admin_image_comment_chars_per_word"></a>
-<h4>Max number of characters in a word</h4>
-<p>This is designed to prevent someone from breaking the flow of your gallery layout by posting lengthy comments without using spaces between words. With this default value, "words" that longer than 38 characters are automatically censored.</p>
-<a name="admin_image_comment_chars_per_word_end"></a>
-<a name="admin_image_comment_lines"></a>
-<h4>Max number of lines in a comment</h4>
-<p>Prevent a comment for containing too many "new line" characters (enter key).</p>
-<a name="admin_image_comment_lines_end"></a>
-<a name="admin_image_comment_length"></a>
-<h4>Maximum length of a comment</h4>
-<p>Maximum number of characters that a comment may contain.</p>
-<a name="admin_image_comment_length_end"></a>
-<a name="admin_image_comment_admin_notify"></a>
-<h4>Notify admin of comments by email</h4>
-<p>Toggle if you want to receive an email each time a comment is being posted. Warning: only enable this option on sites with very low user traffic or you may soon find yourself flooded with notification emails.</p>
-<a name="admin_image_comment_admin_notify_end"></a>
-<a name="admin_comment_sort_start"></a>
-<h4>Sort order of comments</h4>
-<p>Changes the sorting order of comments made to a file.<br />
-Ascending: latest comment at the bottom, oldest comment at the top<br />
-Descending: latest comment at the top, oldest comment at the bottom</p>
-<a name="admin_comment_sort_end"></a>
-<a name="comments_anon_pfx"></a>
-<h4>Prefix for anonymous comments authors</h4>
-<p>If you allowed anonymous comments (permissions set on the <a href="#group_cp">groups</a> control panel), this prefix will be used for comments left by unregistered users. This can be helpful in preventing and identifing unregistered users posing as other registered users (or even an admininstrators) when leaving comments. Leave this blank if you do not want a prefix for guest's comments.</p>
-<a name="comments_anon_pfx_end"></a>
-<a name="admin_comment_end"></a>
-<p><a class="back" href="#top">Back to top</a></p><hr />
-
-<a name="admin_picture_thumbnail"></a>
-<h3>4.12.8 Picture and thumbnail settings</h3>
-<a name="admin_picture_thumbnail_jpeg_quality"></a>
-<h4>Quality for JPEG files</h4>
-<p>The quality used for JPEG compression when the script resizes an image. Values can range from 0 (worst) to 100 (best). By default this value is set to 80. This value can be set to 75 when using ImageMagick.<br />Do not change this setting unless you really know what you're doing. Other settings for thumbnail and intermediate pic (dimensions) may have a significant and undesireable impact on filesizes and image quality.</p>
-<a name="admin_picture_thumbnail_jpeg_quality_end"></a>
-<a name="admin_picture_thumbnail_max-dimension"></a><h4>Max dimension of a thumbnail</h4>
-<p>Sets the maximum allowable size in pixels for the specified dimension of your thumbnails.</p><div class="important">When changing this setting, only files that are added after the change will be affected. Therefore, it is advisable that this setting not be changed after photos have already been added to the gallery. You can, however, apply the changes to the existing pictures with the &quot;admin tools (resize pictures)&quot; utility from the admin menu.</div>
-<a name="admin_picture_thumbnail_max-dimension_end"></a>
-<a name="admin_picture_thumbnail_use-dimension"></a><h4>Use dimension ( width or height or Max aspect for thumbnail )</h4>
-<p>Sets the dimension (height or width) on which the maximum pixel size limitation should apply to.</p><div class="important">When changing this setting, only files that are added after the change will be affected. Therefore, it is advisable that this setting not be changed after photos have already been added to the gallery. You can, however, apply the changes to the existing pictures with the &quot;admin tools (resize pictures)&quot; utility from the admin menu.</div>
-<a name="admin_picture_thumbnail_use-dimension_end"></a>
-<a name="admin_picture_thumbnail_intermediate_toggle"></a>
-<h4>Create intermediate pictures</h4>
-<p>By default, whenever you upload a file, the script creates both a thumbnail of the file (file name using "thumb_" as its prefix) and an intermediate version of the file(file name using "normal_" as its prefix). If you set this option to NO, the intermediate file will not be created.</p>
-<a name="admin_picture_thumbnail_intermediate_toggle_end"></a>
-<a name="admin_picture_thumbnail_intermediate_dimension"></a>
-<h4>Max width or height of an intermediate picture/video</h4>
-<p>The intermediate pictures are those that appears when you click on a thumbnail. The default value is 400, it means that the intermediate picture will be created to fit inside a square of 400x400 pixels. NOTE: Currently, 33% of your users have monitors set at 800 pixels wide, another 33% have their settings at 1024 pixels, the rest have settings less than or greater than these two numbers. Therefore a setting of 600 or less would fit the screens of most users.  Keep in mind,however, that setting this size larger than 400 impacts the file size of your intermediate pictures and the time it takes to download and display on slower connections.</p>
-<a name="admin_picture_thumbnail_intermediate_dimension_end"></a>
-<a name="admin_picture_thumbnail_max_upload_size"></a>
-<h4>Max size for uploaded files (KB)</h4>
-<p>Any file with a file size larger than this value will be rejected by the coppermine script. Setting this option to a higher value than what is actually supported by your webserver will only result in "funny" webserver error messages in lieu of "regular" coppermine error messages. Therefore, it is recommended that you set this value to a size that is slightly lower or equal to the max file size that your server is set to handle. The actual size your server can handle cannot be determined by Coppermine (or any PHP script) - when in doubt, contact your webhost.</p> <p>Prior to an FTP upload of files, it is recommended that the admin use their imaging software to resize (individually or by batch processing) larger files to a more practical size. This will facilitate the FTP process and the creation of intermediate pictures and thumbnails.</p>
-<a name="admin_picture_thumbnail_max_upload_size_end"></a>
-<a name="admin_picture_thumbnail_max_upload_dimension"></a>
-<h4>Max width or height for uploaded pictures (pixels)</h4>
-<p>Limits the height and width dimensions of the pictures that are uploaded. Resizing large pictures requires a lot of memory and consumes CPU resources. As a result, there are usually limitations that have been set by your webserver (host) regarding the maximum uploadable file sizes - you cannot set this value to one that is higher than what is actually supported by your webserver. Contact your webhost/server if you are not sure about your site's file size limitations. (Ideally, users will resize their pictures to a more manageable size prior to attempting any uploads. Determine what you would like the maximum size for a full size pic should be (dpi and dimensions, while keeping in mind the screen size of your users) and use that as a recommended standard for FTP and user HTTP uploads. Inform your users of this recommended size constraints.)</p>
-<a name="admin_picture_thumbnail_max_upload_dimension_end"></a>
-<a name="admin_picture_thumbnail_auto-resize"></a><h4>Auto resize images that are larger than max width or height</h4>
-<p>During the upload process, if images are larger than the maximum width or height allowed they will automatically be resized to the maximum allowable size. Users with especially large files should be advised to resize their pictures outside of coppermine before uploading as this process also consumes considerable resources when processed online.</p>
-<p><strong>Note:</strong> How the image is resized (width/height/max aspect) is set in the admin option &quot;<a href="#admin_picture_thumbnail_use-dimension">Use dimension (width or height or Max aspect for thumbnail)</a>&quot;</p>
-<p>There are three options:</p>
-<ul><li>No - Disabled</li><li>Yes: Everyone - Enabled for all users, including the Admin during batch-add process.</li>
-<li>Yes: User only - Enabled only for regular users</li></ul>
-<p class="small right_align">[cpg1.4.0 or better required]</p>
-<a name="admin_picture_thumbnail_auto-resize_end"></a>
-<a name="admin_picture_thumbnail_end"></a>
-<p><a class="back" href="#top">Back to top</a></p><hr />
-
-<a name="admin_picture_thumb_advanced"></a>
-<h3>4.12.9 Files and thumbnails advanced settings</h3>
-<a name="admin_picture_thumb_advanced_private_toggle"></a>
-<h4>Albums can be private</h4>
-<p>If set to YES then your gallery can contain albums that are visible only to users that belong to a specified group. This is ideal for creating albums that contain files that you want accessible to only a select group of people.  You could also create a userID and password and inform specific users/customers of the ID and password needed to view these files. </p>
-<p>If a user is a member of a group that can have its own gallery and this option is turned on then this user will have the permission to hide any of his/her albums from other users.</p>
-<p>This option does <strong>not</strong> determine whether users can have personal galleries at all, <strong>nor</strong> does it determine who is allowed to upload and who is not (these settings are accessible in the <a href="#group_cp">groups manager</a>). You should only set this option to NO if you really know what you're doing (by default, it is set to YES).</p>
-<p class="important">Note: if you switch from 'yes' to 'no' all currently private albums will become public!</p>
-<a name="admin_picture_thumb_advanced_private_toggle_end"></a>
-<a name="admin_picture_thumb_advanced_private_icon_show"></a>
-<h4>Show private album Icon to unlogged user </h4>
-<p>Toggles the display of the private album icons to unlogged users.<br />Set to 'NO', the album is completely hidden from unauthorised users.<br />Set to 'YES', the album name, description and statistics are shown, but not the thumbnails or files contained within.</p>
-<a name="admin_picture_thumb_advanced_private_icon_show_end"></a>
-<a name="admin_picture_thumb_advanced_filename_forbidden_chars"></a>
-<h4>Characters forbidden in filenames</h4>
-<p>When the filename of a file that is uploaded contains any one or more of these characters, the characters will be replaced with an underscore.</p>
-<p>Don't change this unless you know exactly what you are doing.</p>
-<a name="admin_picture_thumb_advanced_filename_forbidden_chars_end"></a>
-<a name="admin_picture_thumb_advanced_pic_extensions"></a>
-<h4>Allowed image types</h4>
-<p>&quot;<em>ALL</em>&quot; will result in all allowed image file types that your image library (GD or ImageMagick) is capable of handling to be allowed as uploads and content in your gallery. If you want to restrict the allowed file types to certain types only, enter a slash-separated list of extensions, e.g. <tt class="code">jpg/bmp/tif</tt></p>
-<p class="small right_align">[cpg1.3.0 or better required]</p>
-<a name="admin_picture_thumb_advanced_pic_extensions_end"></a>
-<a name="admin_thumbs_advanced_movie"></a>
-<h4>Allowed movie types</h4>
-<p>&quot;<em>ALL</em>&quot; will result in all allowed movie file types to be uploaded. If you want to restrict the allowable file types to certain extensions only, enter a slash-separated list of extensions, e.g. <tt class="code">wmv/avi/mov</tt>.</p>
-<p>Note that being able to display a movie requires that the cpg-user have the necessary codecs properly configured on their computers to display the movie file, e.g. if you allow the file type <tt class="faq">mov</tt>, the user who wishes to view the file will need to have Apple's Quick-Time plug-in installed. Also note that <tt class="code">avi</tt> is just a container for different codecs - this means that a computer which is capable of playing movie1.avi may not be capable of playing movie2.avi if those files have been encoded with different 'avi' codecs.</p>
-<p class="small right_align">[cpg1.3.0 or better required]</p>
-<a name="admin_thumbs_advanced_movie_end"></a>
-<a name="admin_movie_autoplay"></a>
-<h4>Movie Playback Autostart</h4>
-<p>If set to YES, movies will instantly start playing when loaded (has no affect on flash files, however).  Nothing will happen if the user does not have the necessary codecs installed on their computer.</p>
-<a name="admin_movie_autoplay_end"></a>
-<a name="admin_picture_thumb_advanced_audio_extensions"></a>
-<h4>Allowed audio types</h4>
-<p>&quot;<em>ALL</em>&quot; will result in all allowable audio file types to be uploaded. If you want to restrict the allowed file types to certain extensions only, enter a slash-separated list of extensions, e.g. <tt class="code">wav/mp3/wma</tt>.</p>
-<p>Note that being able to listen to an audio file requires that the cpg-user have the necessary codecs properly configured on their computers to hear these files, e.g. if you allow the file type <tt class="code">mp3</tt>, users who wish to listen to the file will need to have a media player installed on their computer that can handle mp3 files.</p>
-<p class="important">Warning: if your webserver is not hardened against an exploit of a vulnerability in the apache webserver setup, then it might be a security risk to allow the upload of <tt class="code">ram</tt>, <tt class="code">ra</tt> and <tt class="code">rm</tt>-files. If you're not sure, do not allow this file types.</p>
-<p class="small right_align">[cpg1.3.0 or better required]</p>
-<a name="admin_picture_thumb_advanced_audio_extensions_end"></a>
-<a name="admin_picture_thumb_advanced_doc_extensions"></a>
-<h4>Allowed document types</h4>
-<p>&quot;<em>ALL</em>&quot; will result in all allowable document file types to be uploaded. If you want to restrict the allowable file types to certain extensions only, enter a slash-separated list of extensions, e.g. <tt class="code">txt/pdf</tt>.</p>
-<p>Note that being able to browse a document file requires the cpg-user to have a compatible software installed and configured properly on their computer that is capable of displaying the type of document in question, e.g. if you allow the file type <tt class="code">xls</tt>, users who wish to browse the file will need to have an application installed on their computer that can display MS-Excel sheets. Be extremely careful with  document that are known to be vulnerable to virus contamination, embedded or as macros. This is especially true if you plan to allow users the capability of uploading documents without admin approval.</p>
-<p class="important">Warning: if your webserver is not hardened against an exploit of a vulnerability in the apache webserver setup, then it might be a security risk to allow the upload of <tt class="code">rar</tt>-files. If you're not sure, do not allow this file type.</p>
-<p class="small right_align">[cpg1.3.0 or better required]</p>
-<a name="admin_picture_thumb_advanced_doc_extensions_end"></a>
-<a name="admin_picture_thumb_advanced_resize_method"></a>
-<h4>Method for resizing images</h4>
-<p>Set this to the type of image library you have on your server (must be either GD1, GD2 or ImageMagick). GD2 is the recommended setting.</p>
-<p>If you are using GD 1.x and the colors of your thumbnails or intermediate image do not display properly, then, chances are, you actually have GD2 on your server - switch this option to GD 2.x</p>
-<p>More recent distributions of PHP come pre-packaged with GD - if you're not sure what you have, set this option to GD2. You can also look at your PHP settings by pointing your browser to the phpinfo.php file in your gallery.  eg, <strong>http://www.yourgallery.com/your_cpg_folder/phpinfo.php</strong>. For more information on using PHP click on this link: <a href="http://www.php.net/phpinfo" rel="external" class="external">phpinfo</a>.</p>
-<a name="admin_picture_thumb_advanced_resize_method_end"></a>
-<a name="admin_picture_thumb_advanced_im_path"></a>
-<h4>Path to ImageMagick 'convert' utility (example /usr/bin/X11/) </h4>
-<p>If you intend using ImageMagick convert utility to resize you picture, you must enter the name of the <u>directory</u> where the convert program is located in this line. Don't forget the trailing "<tt class="code">/</tt>" to close the path. This path must only indicate the <strong>directory</strong> where the convert utility is located, it should not point directly to the convert utility.</p>
-<p>If your server is running under Windows, use / and not \ to separate components of the path (eg. use C:/ImageMagick/ and not C:\ImageMagick\). This path must not contain any spaces under Windows so that it will not put ImageMagick in the "Program files" directory.</p>
-<p><strong>ImageMagick will not work properly if PHP on your server is running in SAFE mode and it is a real challenge to get it running under Windows. Please consider using GD in these cases and don't waste your time asking for support in the forum with ImageMagick installation questions. There are just too many things that can prevent ImageMagick from work properly and without physical access to your server it is extremely difficult to guess what is wrong.</strong></p>
-<a name="admin_picture_thumb_advanced_im_path_end"></a>
-<a name="admin_picture_thumb_advanced_allowed_imagetypes"></a>
-<h4>Allowed image types (only valid for ImageMagick)</h4>
-<p>This is the list of image types that the script will accept when using ImageMagick. Image type detection is performed by reading the header of the file and not by looking at its file extension.</p>
-<a name="admin_picture_thumb_advanced_allowed_imagetypes_end"></a>
-<a name="admin_picture_thumb_advanced_im_commandline"></a>
-<h4>Command line options for ImageMagick</h4>
-<p>Here you can add options that will be appended to the command line when executing ImageMagick. Read the ImageMagick Convert manual to see what is available.</p>
-<a name="admin_picture_thumb_advanced_im_commandline_end"></a>
-<a name="admin_picture_thumb_advanced_exif"></a>
-<h4>Read EXIF data in JPEG files</h4>
-<p>With this option turned on, the script will read the EXIF data stored by digicams in JPEG files. For cpg1.x to cpg1.2.1, this option will work only if PHP was compiled with the EXIF extension. Coppermine 1.3.0 (or better) comes with built-in EXIF support even if the webserver itself doesn't have EXIF support, as it uses a <a href="http://www.offsky.com/software/exif/index.php" rel="external" class="external">separate EXIF class</a>.</p>
-<p class="small right_align">[cpg1.3.0 or better required]</p>
-<a name="admin_picture_thumb_advanced_exif_end"></a>
-<a name="admin_picture_thumb_advanced_iptc"></a>
-<h4>Read IPTC data in JPEG files</h4>
-<p>With this option turned on, the script will read the <a href="http://www.iptc.org/" rel="external" class="external">IPTC</a> data stored by digicams in picture files.</p>
-<p class="small right_align">[cpg1.3.0 or better required]</p>
-<a name="admin_picture_thumb_advanced_iptc_end"></a>
-<a name="admin_picture_thumb_advanced_albums_dir"></a>
-<h4>The album directory</h4>
-<p>This is the base directory for your "Image Store". The path is relative to the main directory of the script. </p>
-<p>You can use ../ in the path to move-up one level in the directory tree.</p>
-<p>You can <strong>not</strong> use an absolute path there ("/var/my_images/" will not work) and the album directory must be visible by your web server.</p>
-<p>This setting mustn't be changed if you already have files in your database. If you do so, all references to your existing files will break.</p>
-<a name="admin_picture_thumb_advanced_albums_dir_end"></a>
-<a name="admin_picture_thumb_advanced_userpics_dir"></a>
-<h4>The directory for user files</h4>
-<p>This is the directory where files uploaded using the web interface (URL/URI) are stored. This directory is a subdirectory of the album directory. It's recommended that you leave this setting as is. Should you decide to change it, keep in mind that the folder must exist within the albums folder and the path should be relative to it.</p>
-<p>The same remarks as above apply.</p>
-<p>When you upload files by FTP, store them in a subdirectory (folder) of the "album directory" and not inside the &quot;directory for user files&quot;. </p>
-<p>This setting mustn't be changed if you already have files in your database. If you do, all reference to previously existing files will no longer be valid.</p>
-<a name="admin_picture_thumb_advanced_userpics_dir_end"></a>
-<a name="admin_picture_thumb_advanced_intermediate_prefix"></a>
-<h4>The prefix for intermediate pictures</h4>
-<p>This prefix is added to the file name of created pictures.</p>
-<p>These setting mustn't be changed if you already have files in your database. If you do, all reference to your existing files will become invalid.</p>
-<a name="admin_picture_thumb_advanced_intermediate_prefix_end"></a>
-<a name="admin_picture_thumb_advanced_thumbs_prefix"></a>
-<h4>The prefix for thumbnails</h4>
-<p>This prefix is added to the file name of created intermediate thumbnails.</p>
-<p>These setting mustn't be changed if you already have files in your database. If you do, all reference to your existing files will become invalid.</p>
-<a name="admin_picture_thumb_advanced_thumbs_prefix_end"></a>
-<a name="admin_picture_thumb_advanced_chmod_folder"></a>
-<h4>Default mode for directories</h4>
-<p>If, and only if, during the file upload or batch add process, the installer complains about the directory not having the right permissions, try setting this to <strong>0777</strong> . Failure to do so may prevent you from being able to delete directories created by the script with your FTP client should you ever decide it necessary to uninstall the coppermine script.</p>
-<p><span class="important">Note</span>: setting this option doesn't CHMOD the files or folders that are being uploaded. Instead, the setting is used when coppermine, itself, creates <strong>new</strong> folders for user uploads (within the userpics directory). If you experienced problems during the initial Coppermine setup related to permissions, this option is <strong>not</strong> what you have been looking for nor should it be changed ( for more information regarding CHMOD, see the <a href="faq.htm">FAQ.htm</a> document located in the DOCS folder of this installation package ).</p>
-<a name="admin_picture_thumb_advanced_chmod_folder_end"></a>
-<a name="admin_picture_thumb_advanced_chmod_files"></a>
-<h4>Default mode for files</h4>
-<p>If, and only if, during the file upload or batch add process, the installer complains about the directory not having the right permissions, try setting this to <strong>0666</strong>.</p>
-<p><span class="important">Note</span>: setting this option doesn't CHMOD the files or folders that are being uploaded. Instead, the setting is used when coppermine, itself, creates <strong>new</strong> folders for user uploads (within the userpics directory). If you experienced problems during the initial Coppermine setup related to permissions, this option is <strong>not</strong> what you have been looking for nor should it be changed ( for more information regarding CHMOD, see the <a href="faq.htm">FAQ.htm</a> document located in the DOCS folder of this installation package ).</p>
-<a name="admin_picture_thumb_advanced_chmod_files_end"></a>
-<a name="admin_picture_thumb_advanced_end"></a>
-<p><a class="back" href="#top">Back to top</a></p><hr />
-
-<a name="admin_user"></a>
-<h3>4.12.10 User settings</h3>
-<a name="admin_allow_registration"></a>
-<h4>Allow new user registrations</h4>
-<p>Defines whether new users can self-register or not. If you set this to NO, only the admin can create new users and the &quot;register&quot; link won't be displayed in the navigation.</p>
-<a name="admin_allow_unlogged_access"></a>
-<h4>Allow unlogged users (guest or anonymous) access</h4>
-<p>When set to &quot;No&quot;, unlogged users (i.e. guests or anonymous users) can not access anything in your gallery except the login screen (and the registration screen, if you allow registrations). Completely disabling anonymous access will probably decrease your site's popularity. Use this option only if you need your gallery to be absolutely private. The recommended setting is to leave anonymous access enabled and use the more specific permissions by groups and albums settings instead.</p>
-<a name="admin_allow_unlogged_access_end"></a>
-<p class="small right_align">[cpg1.4.0 or better required]</p>
-<a name="admin_allow_registration_end"></a>
-<a name="admin_registration_verify"></a>
-<h4>User registration requires email verification</h4>
-<p>If set to YES an email will be sent to the user that will contain a code to activate his account. If set to NO, user accounts become immediately active.</p>
-<a name="admin_registration_verify_end"></a>
-<a name="admin_registration_notify"></a>
-<h4>Notify admin of user registration by email</h4>
-<p>If set to YES an email will be sent to the gallery admin when a new user registers.</p>
-<a name="admin_registration_notify_end"></a>
-<p class="small right_align">[cpg1.3.0 or better required]</p>
-<a name="admin_activation"></a><h4>Admin Activation</h4>
-<p>Enable admin activation. When set to yes, a gallery administrator must first activate the new registration before the user can log-in and take advantage of any registered user privileges.</p>
-<p>By default, it is set to no, so users would activate their own accounts upon registering.</p>
-<p class="small right_align">[cpg1.4.0 or better required]</p>
-<a name="admin_activation_end"></a>
-<a name="admin_allow_duplicate_emails_addr"></a>
-<h4>Allow two users to have the same email address</h4>
-<p>Allow or prevent two users from registering with the same email
-address. Recommended setting is NO. As most internet users today have more than one email address, this option is being considered as deprecated and will possibly be removed in future versions of coppermine.</p>
-<a name="admin_allow_duplicate_emails_addr_end"></a>
-<a name="admin_approval_notify"></a>
-<h4>Notify admin of user upload awaiting approval</h4>
-<p>When enabled, the gallery admin receives an email notification of all pics that await for his/her approval (depends on the approval settings in &quot;<a href="#group_cp">groups</a>&quot;). The email is sent to the address specified in &quot;<a href="#admin_general">General settings</a>&quot;.</p><p>This option is only recommended for websites with low or medium traffic (where users only upload every now and then).</p>
-<a name="admin_approval_notify_end"></a>
-<p class="small right_align">[cpg1.3.0 or better required]</p>
-<a name="admin_user_memberlist"></a>
-<h4>Allow logged in users to view memberlist</h4>
-<p>When enabled, an additional menu item &quot;Memberlist&quot; is displayed in the coppermine main menu if a user is logged in, to let him see a list of all users, with stats on their last visits, uploads and quota usage.</p><p>This is a new feature since cpg1.3.0 (user contribution by <a href="#contributors">Jason</a>) - it's available as <a href="http://sourceforge.net/project/showfiles.php?group_id=89658&amp;package_id=98542" rel="external" class="external">mod</a> (not in the regular coppermine package) for older versions than cpg1.3.0.</p>
-<a name="admin_user_memberlist_end"></a>
-<p class="small right_align">[cpg1.3.0 or better required]</p>
-<a name="admin_user_allow_email_change"></a><h4>Allow users to change their email address in profile</h4>
-<p>This option impacts the user's profile page, it determines whether or not the user can change his/her own email address.<br />Use this option wisely, as the old email address of a user is not preserved after a change: if you allow users to change their email address, abusers may change it to a non-existing email address (e.g. after uploading some pics that go against your gallery's rules) - you would have no chance of tracking this user.</p>
-<p>This option only applies if you use Coppermine as a standalone application; if you run Coppermine integrated with a bbs, this option will be deferred to the user profile from your bbs to manage each user's profile.</p>
-<p class="small right_align">[cpg1.4.0 or better required]</p>
-<a name="admin_user_allow_email_change_end"></a>
-<a name="admin_user_editpics_public_start"></a><h4>Allow users to retain control over their pics in public galleries</h4>
-<p>When enabled, both the admin and the uploading user can edit and delete files that were uploaded to a public gallery. Of course the user must have permissions to upload to the public gallery in the first place (see the <a href="#group_cp">groups control panel</a>) before this option will have any effect.</p>
-<p class="small right_align">[cpg1.4.0 or better required]</p>
-<a name="admin_user_editpics_public_end"></a>
-<a name="admin_user_login_start"></a>
-<a name="admin_user_login_threshold_start"></a>
-<h4>Number of failed login attempts until temporary ban (to avoid brute force attacks)</h4>
-<p>To make brute force attacks (where a hostile script tries to log into coppermine as admin by running through all possible combinations of username and password automatically) less effective Coppermine temporarily bans the IP address of a possible attacker after a certain amount of failed logins. This way, the brute force attack would need way too long to try all possible combinations.</p>
-<p>With this setting you specify the maximum number of failed log-in attempts before the IP address of the user is temporarily banned.</p>
-<p class="small right_align">[cpg1.4.0 or better required]</p>
-<a name="admin_user_login_threshold_end"></a>
-<a name="admin_user_login_expiry_start"></a>
-<h4>Duration of a temporary ban after failed logins</h4>
-<p>This value specifies the duration of the temporary ban (in minutes) after the number of failed log-in attempts specified with <a href="#admin_user_login_threshold_start">Number of failed login attempts until temporary ban</a>.</p>
-<p class="small right_align">[cpg1.4.0 or better required]</p>
-<a name="admin_user_login_expiry_end"></a>
-<a name="admin_user_login_end"></a>
-<a name="admin_user_enable_report"></a><h4>Enable reports</h4>
-<p>Enable reports. When set to "yes," this feature will allow users to report on uploaded files or comments to the site admin.</p>
-<p>This setting is dependant on e-cards being enabled.  Only users who have permission to send e-cards in the 'groups' settings are able to send reports. The report icon is hidden from those not allowed to do so.</p>
-<p class="small right_align">[cpg1.4.0 or better required]</p>
-<a name="admin_user_enable_report_end"></a>
-<p><a class="back" href="#top">Back to top</a></p><hr />
-
-<a name="admin_custom"></a>
-<h4>4.12.11 Custom fields for user profile (leave blank if unused). Use Profile 6 for long entries, such as biographies </h4>
-<p>These fields are displayed within the &quot;user profile&quot; area. They will appear only if you assign a name to the field. As instructed in the heading, use field 6 for long entries, such as biographies, or if you want to include the use of bb code.</p>
-<p>You can also use field 6 for avatars.  To show an avatar in the profile, it should be entered in bbcode, for example to show 'avatar.gif', which is located in your images folder, use the code [img]http://www.yoursite.com/images/avatar.gif[/img]</p>
-<a name="admin_custom_end"></a>
-<p><a class="back" href="#top">Back to top</a></p><hr />
-
-<a name="admin_custom_image"></a>
-<h4>4.12.12 Custom fields for image description (leave blank if unused)</h4>
-<p>These fields are displayed within the &quot;file information&quot; area. They will appear only if you give them a name.</p>
-<a name="admin_custom_image_end"></a>
-<p><a class="back" href="#top">Back to top</a></p><hr />
-
-<a name="admin_cookie"></a>
-<h4>4.12.13 Cookie settings</h4>
-<a name="admin_cookie_name"></a>
-<h4>Name of the cookie used by coppermine</h4>
-<p>Default value is &quot;coppermine&quot;. Even if you have multiple instances of the script running on the same server you can keep the default value.</p><p><span class="important">When using bbs integration, make sure it <strong>differs</strong> from the bbs's cookie name</span></p>
-<a name="admin_cookie_name_end"></a>
-<a name="admin_cookie_path"></a>
-<h4>Path of the cookie used by the script</h4>
-<p>Default value is "/". Don't change this unless you know what you are doing. This may prevent you from logging in.</p>
-<p>If you have broken your gallery by modifying this value, use phpMyAdmin to edit the xxxx_config table in your database and restore the default value. </p>
-<p>When using bbs integration into Coppermine, make sure to use <strong>different</strong> cookie names for coppermine and your bbs! The paths in both applications have to be set so coppermine is able to read both. Usually the default value &quot;<tt class="code">/</tt>&quot; should be set as path both for coppermine install and the BBS app you bridge with.</p>
-<a name="admin_cookie_path_end"></a>
-<p><a class="back" href="#top">Back to top</a></p><hr />
-
-<a name="admin_email"></a>
-<h4>4.12.14 Email settings</h4>
-<p>Usually nothing has to be changed here; leave all fields blank when not sure. Only if you run into problems (e.g. if ecards, registration info or notifications don't get sent) you should change these settings. Coppermine itself doesn't come with an engine to send mails, it relies on a webserver being able to do so (using the built-in mechanisms of PHP). If you're not sure what to enter, ask your webhost for support.</p>
-<h4>SMTP Host</h4>
-<p>The hostname of the <acronym title="Simple Mail Transfer Protocol">SMTP</acronym> server<br />
-If you leave this blank, sendmail (or a surrogate) will be used to send emails from your server. Sendmail exists on most Unix/Linux webservers. If you specify a SMTP hostname, Coppermine will try to send emails using SMTP (this usually is needed on Windows webservers).</p>
-<p class="small right_align">[cpg1.4.0 or better required]</p>
-<h4>SMTP Username</h4>
-<p>The username needed to authenticate on the SMTP server (this is <strong>not</strong> your coppermine admin username).</p>
-<p class="small right_align">[cpg1.4.0 or better required]</p>
-<h4>SMTP Password</h4>
-<p>The password that goes with above mentioned username (<strong>not</strong> identical to your coppermine admin password).</p>
-<p class="small right_align">[cpg1.4.0 or better required]</p>
-<a name="admin_email_end"></a>
-<p><a class="back" href="#top">Back to top</a></p><hr />
-
-<a name="admin_logging"></a>
-<h3>4.12.15 Logging &amp; statistics</h3>
-<p>Like all logs (that record data that would get dropped if logging was disabled), the logging features of Coppermine will have a slight performance impact as well as an impact on webspace and database usage. You should make up your mind if you actually will need the logs before enabling the feature. A log is only helpful if the admin actually looks into it.</p>
-<a name="admin_logging_log_mode"></a><h4>Logging mode</h4>
-<p>Set, what kind of logging you want to enable. This feature records all changes that are done in coppermine's database, which is especially helpful if you're trying to debug or if there are various admins on a gallery.<br />
-All log files are written in english</p>
-<p class="small right_align">[cpg1.4.0 or better required]</p>
-<a name="admin_logging_log_mode_end"></a>
-<a name="admin_general_log_ecards"></a><h4>Log ecards</h4>
-<p>When enabled, all ecards that are being sent are as well written into the database, where the coppermine admin can view them. Before switching this option on, make sure that logging is legal in your country. It is also advisable to notify your users that all ecards are being logged (preferrably on the registration screen).</p>
-<p class="small right_align">[cpg1.3.0 or better required]</p>
-<a name="admin_general_log_ecards_end"></a>
-<a name="admin_logging_votedetails"></a><h4>Keep detailed vote statistics</h4>
-<p>
-  Enabling this option records:</p>
-  <ol>
-    <li>Each vote separately</li>
-    <li>IP Address</li>
-    <li>Referer</li>
-    <li>Browser</li>
-    <li>Operating System</li>
-  </ol>
-   <p>of the voter.</p>
-   <p>As the statistics are being kept per file, the link to the stats can be accessed on the individual file's page (displayimage.php) by clicking the link in the file info section to open the stats pop-up.</p>
-<p>
-  <span class="important">Note: The total votes may not match if you enable details and do not reset the earlier votes.</span>
-</p>
-<a name="admin_logging_votedetails_end"></a>
-<a name="admin_logging_hitdetails"></a><h4>Keep detailed hit statistics</h4>
-<p>
-  Enabling this option records:</p>
-  <ol>
-    <li>Each vote separately</li>
-    <li>IP Address</li>
-    <li>Search Keyword, if the referer is Google, Yahoo! or Lycos search engines</li>
-    <li>Referer</li>
-    <li>Browser</li>
-    <li>Operating System</li>
-  </ol>
-   <p>of the visitor.</p>
-   <p>As the statistics are being kept per file, the link to the stats can be accessed on the individual file's page (displayimage.php) by clicking the link in the file info section to open the stats pop-up.
-</p>
-<p>
-  <span class="important">Note: The total hits may not match if you enable details and do not reset the earlier hits.</span>
-</p>
-<a name="admin_logging_hitdetails_end"></a>
-<a name="admin_logging_end"></a>
-<p><a class="back" href="#top">Back to top</a></p><hr />
-
-<a name="admin_misc"></a>
-<h3>4.12.16 Miscellaneous settings</h3>
-<a name="debug_mode"></a><h4>Enable debug mode</h4>
-<p>CPG will show error messages which are normally suppressed.  This is helpful in troubleshooting problems with your gallery or when asking      for help on the <a href="http://forum.coppermine-gallery.net/" rel="external" class="external">CPG Support Forums</a>. Turn this feature off if you don't experience problems.</p>
-<p>Turn it on (option &quot;Everyone&quot;) if you are requesting help on the <a href="http://forum.coppermine-gallery.net/" rel="external" class="external">coppermine support board</a>, so the supporters can have a look at the debug output as well. Choose the option &quot;Admin only&quot; when troubleshooting on your own - debug output will be only visible when you're logged in as admin, regular users or guests won't see the debug output.</p>
-<a name="admin_misc_debug_notices"></a><h4>Display notices in debug mode</h4>
-<p>May be helpful to troubleshoot problems with your coppermine install - only recommended if you know a little PHP and you can understand the additional error messages this option shows. This option only applies if debug mode is enabled.</p>
-<a name="admin_misc_debug_notices_end"></a>
-<a name="debug_mode_end"></a>
-
-<a name="admin_general_offline"></a><h4>Gallery is offline</h4>
-<p>If you have to do maintenance work on your gallery, switch it to offline mode. Only members of the admin group will be able to log in, all other users will only see &quot;Gallery is offline&quot;. Remember to switch this option off once your maintenance work is done.</p>
-<p class="small right_align">[cpg1.3.0 or better required]</p>
-<a name="admin_general_offline_end"></a>
-
-<p><a class="back" href="#top">Back to top</a></p><hr />
-
-<a name="exif"></a>
-<h2>4.13 EXIF data</h2>
-<p>The &quot;Exchangeable image file&quot; format (Exif) is a specification for the image file format used by digital cameras with the addition of specific metadata tags. The meta data are written by the camera and can be post-processed using certain desktop applications. Coppermine is capable of displaying some of the EXIF data within the pic info section, like date and time information, camera settings, location information, descriptions and copyright information.<br />
-<img src="pics/exif_data_cpg1.4.x.jpg" width="400" height="202" border="0" alt="Exif data in pic info section" />
-</p>
-
-<a name="exif_manager"></a>
-<h3>4.13.1 EXIF manager</h3>
-<p><img src="pics/exifmanager_cpg1.4.x.gif" width="600" height="439" border="0" alt="" align="right" />CPG1.4.x (or better) comes with an EXIF manager that let's the coppermine admin decide what EXIF data should be displayed within coppermine. Please note: if the exif data don't exist within a particular image, coppermine will of course not be able to display them. Coppermine is not an editor for exif data - it just displays the exif data that exists in your pics.<br />
-To access the exif manager, go to coppermine's config and click within the section <a href="#admin_picture_thumb_advanced">Files and thumbnails advanced settings</a> at &quot;Manage exif display&quot; next to the line &quot;<a href="#admin_picture_thumb_advanced_exif">Read EXIF data in JPEG files</a>&quot;. Alternatively, you can directly enter http://yoursite.tld/your_coppermine_folder/exifmgr.php into your browser's address bar.</p>
-<p>Tick the checkboxes in the exif manager that you want to show up in coppermine's pic info section (if the image file actually holds this particular set of information).</p>
-<br clear="all" />
-<p><a class="back" href="#top">Back to top</a></p><hr />
-
-<a name="plugin_start"></a>
-<a name="plugin"></a>
-<h2>4.14 Plugins</h2>
-<p>Included in your coppermine setup is one basic plugin:</p>
-<ul>
-    <li>Sample plugin: meant for plugin-writers as an example only</li>
-</ul>
-<p>You can find more plugins on the Coppermine Support Forum, both from Coppermine developers and from user contributions.</p>
-<p class="small right_align">[cpg1.4.0 or better required]</p>
-<a name="plugin_definition"></a>
-<h3>4.14.1 What is a plugin?</h3>
-<p>Starting from cpg1.4.0, coppermine comes with a plugin <acronym title="Application Programming Interface">API</acronym> that enables plugin authors to modify coppermine features without hacking the core code, making upgrading easier, as modifications don't have to be re-applied every time you upgrade your coppermine version. It's recommended to use plugins instead of code modifications that require hacking the core code.</p>
-<a name="plugin_definition_end"></a>
-<a name="plugin_api"></a>
-<h3>4.14.2 The Plugin API</h3>
-<p>The plugin API consists of several "hooks" all over the core code of coppermine that allows plugin authors to interact with coppermine functions, overriding or adding features. There are limitations to what can be done using a plugin, as the number of hooks is limited. As a result, not every change of coppermine behaviour that could be accomplished by hacking the core code is possible to achieve using the plugin API. However, using a plugin is more elegant and usually much easier to install and get running (at least for the end user) than a crude core code hack. Installing and configuring a plugin doesn't require the coppermine admin to mess with the source code - you simply upload the plugin, install it, configure it and you're done. If the plugin has been coded as suggested and is mature enough, it should come with a configuration screen that makes editing source code irrelevant.<br />
-Unfortunately, there is no API documentation available yet.</p>
-<a name="plugin_api_end"></a>
-<a name="plugin_manager"></a>
-<h3>4.14.3 The Plugin Manager</h3>
-<p>The plugin manager is the central place from where you upload, install, configure and remove plugins. It can be acceessed in two ways:</p>
-<ul>
-    <li><strong>Using Coppermine's navigation:</strong><br />
-    Log in as admin, go to coppermine's config, expand the "General settings" section, on click "Manage plugins" next to "Enable plugins" (make sure that you have set "Enable plugins" to "Yes") if you plan using plugins.</li>
-    <li><strong>Directly accessing the plugin manager</strong><br />
-    Make sure that you are logged in as admin, then directly enter the plugin manager's url in the address bar of your browser, e.g. http://yoursite.tld/your_coppermine_folder/pluginmgr.php</li>
-</ul>
-<p>The plugin manager organizes the plugins you have in your Coppermine directory.  It is important to understand the difference between uploading plugins and installing plugins.  When you copy a plugin to the Coppermine plugins folder (using the Upload button on the plugin manager or via FTP), you have merely uploaded the plugin files.  The plugin is not installed yet.  When you install a plugin, Coppermine runs the plugin's installation routine to configure and activate the plugin so that it will be executed when people use your gallery.  To clearly show which plugins are running and which are not, the plugin manager is separated into two sections (see screen capture below):</p>
-<ul>
-    <li>the plugins that are installed and running (upper section)</li>
-    <li>the plugins that exist within the plugins folder of your server's hard drive but have not been installed and therefore are not running in your Coppermine gallery (lower section)</li>
-</ul>
-<p><img src="pics/plugin_manager.gif" width="716" height="234" border="0" alt="Coppermine Plugin Manager" /></p>
-<p>By default, coppermine comes with some sample or code plugins (none of them are enabled by default though), additional plugins can be found on the corresponding section of coppermine's forum.</p>
-<a name="plugin_manager_upload"></a>
-<h4>4.14.3.1 Uploading a plugin</h4>
-<p>Unless you're going to code your own plugins, they usually come packaged up already, compressed into a zip file. There are two options how to upload a plugin:</p>
-<ul>
-    <li>Method 1: <strong>Using the upload interface on coppermine's plugin manager page</strong><br />
-    <ul>
-        <li>Download the plugin you need from the internet (usually the <a href="http://coppermine-gallery.net/" rel="external" class="external">coppermine page</a>) to your local hard drive</li>
-        <li>Click the "browse" button on the plugin manager page</li>
-        <li>Navigate to the plugin zip file you just have downloaded to your local PC's hard drive</li>
-        <li>Click "upload"</li>
-    </ul>
-    This is the more elegant and easier method - you just use the upload control on the plugin manager page and the zip file you uploaded gets extracted from the archive and stored on the server within the proper folder. There are two pre-requisites though:
-    <ul>
-        <li>PHP running on your webserver needs zip support - not all webserver have zip support enabled.</li>
-        <li>the script needs write permissions within the plugins folder.</li>
-    </ul>
-    If you fail to fullfil those two pre-requisites, this simple method (upload interface) won't work for you (i.e. you will get error messages when trying, or the plugin will even simply fail to work without an error message at all). If this is the case for you, it's recommended not to mess with server setup (unless you're an expert and the server is yours to administer), but just to use the second upload method described below.</li>
-    <li>Method 2: <strong>Uploading the unzipped plugin files using your FTP app</strong><br />
-        <ul>
-            <li>Download the plugin you need from the internet to your local hard drive (same step as above)</li>
-            <li>Unpack the zip file into a folder on your hard drive (preserving the folder structure of the plugin)</li>
-            <li>Use your FTP app to upload the unpacked plugin files into the plugin folder of your coppermine install on your server, preserving the structure of the zip archive.  For example: if the plugin contained the folder "foobar", which held the actual plugin files, you upload the whole folder "foobar" and all of its contents into the plugins folder. The resulting folder structure on your server should be something like <tt class="code">/your_coppermine_folder/plugins/foobar/</tt></li>
-        </ul>
-    </li>
-</ul>
-<p>After uploading the files (you may need to refresh the plugin manager page), the plugin you just uploaded should show in the list "Plugins Not Installed". If it does, you can continue to the next step and <a href="#plugin_manager_install">install</a> the plugin.</p>
-<a name="plugin_manager_upload_end"></a>
-<a name="plugin_manager_install"></a>
-<h4>4.14.3.2 Installing a plugin</h4>
-<p>Installing a plugin is fairly straightforward - just click on the <img src="../images/info.gif" width="16" height="16" border="0" alt="" />-icon next to the plugin. The install will enable the plugin to be executed when coppermine is being run (depending on the plugin's purpose). Some plugins come with a configuration screen that will be executed right after the install - if this is the case, configure it accordingly.</p>
-<a name="plugin_manager_install_end"></a>
-<a name="plugin_manager_configuration"></a>
-<h4>4.14.3.3 Plugin Configuration</h4>
-<p>Some plugins may need to be configured during install, others may have a separate configuration page that can be accessed at any time. This depends on how the plugin author wrote the plugin, so we can't give any recommendations within this documentation. Some plugins may even need to be configured before actually being uploaded (especially plugins in alpha or beta stage - these may come without a browser-driven configuration page and require you to modify the plugin's code to configure the plugin). If unsure, take a look in the unzipped plugin archive on your hard-drive - usually, plugins that require you to edit or configure anything come with a README file that tells you how to do so.</p>
-<a name="plugin_manager_configuration_end"></a>
-<a name="plugin_manager_uninstall"></a>
-<h4>4.14.3.4 Uninstalling a plugin</h4>
-<p>Executing a plugin might be consuming resources or not work as expected, so you might want to uninstall a plugin at some time (maybe because you just tried it out and it doesn't work as expected for you). It's recommended not to just delete the plugin's subfolder using your FTP app (because the plugin might have applied database changes that need to be undone). Instead, you should go to the plugin manager and click on the <img src="../images/delete.gif" width="16" height="16" border="0" alt="" />-icon next to an active (installed) plugin. The plugin then should get uninstalled and turn up in the list "Plugins Not installed". It's safe to leave the sources of an unneeded plugin on the server, so there should be no need to delete the plugin right after uninstall, however you may as well delete it, especially if you're short on webspace and the plugin eats up a lot of space.</p>
-<p>To finally delete an inactive plugin from your server's plugin folder, click the <img src="../images/delete.gif" width="16" height="16" border="0" alt="" />-icon next to a plugin that is in the list "Plugins Not installed". If the script fails to delete a plugin this way (because of lacking permissions to do so on file/folder level), you can use your FTP app to delete the particular plugin's sub-folder within coppermine's "plugins" folder (deleting manually). As with all delete operations, you should make a local backup before deleting if you're not absolutely sure what you're doing.</p>
-<a name="plugin_manager_uninstall_end"></a>
-<a name="plugin_manager_end"></a>
-<a name="plugin_writing"></a>
-<h3>4.14.4 Writing plugins</h3>
-<p>As suggested above, there's no documentation available yet for plugin authors, so the only method to learn how plugins work is by looking at the source code. Examine the code of the plugins that come with coppermine, or take a look at some that are available for download from the plugin contributions sub-board on the coppermine web page.</p>
-<p>If you accomplished writing a plugin, we ask you to share it with the coppermine community by posting it on the appropriate board (this is of course not mandatory, but we'd appreciate to see your contribution). We would welcome a user-contributed API documentation or a list of hooks as well, or other related documentation.</p>
-<a name="plugin_writing_end"></a>
-<a name="plugin_end"></a>
-<p><a class="back" href="#top">Back to top</a></p><hr />
-
-
-<a name="integrating"></a>
-<h1>5. Integrating the script with your bulletin board</h1>
-<a name="integrating_bridge_start"></a>
-<h2>5.1 Available bridge files</h2>
-<p>Coppermine can be integrated with the following bulletin boards (eg. Coppermine
-  and your bulletin board will share the same user database).</p>
-<ul>
-  <li>Invision Power Board</li>
-  <li>Mambo</li>
-  <li>MyBB</li>
-  <li>Phorum</li>
-  <li>phpBB 2</li>
-  <li>PunBB</li>
-  <li>SMF 1.x</li>
-  <li>SMF 2.x (beta)</li>
-  <li>vBulletin</li>
-  <li>XMB</li>
-  <li>Xoops2</li>
-</ul>
-
-<a name="integrating_bridge_end"></a>
-
-<a name="integrating_prerequisites_start"></a>
-<h2>5.2 Pre-requistes</h2>
-
-<a name="integrating_cookie_start"></a>
-<h3>5.2.1 Authentication by cookie</h3>
-<p>The login integration uses your bulletin board cookies, therefore it won't work if your board cookies are not visible by Coppermine. So unless you are an expert, keep things simple and install Coppermine and your bulletin board on the same domain. Examples :</p>
-<table border="0" cellspacing="5" cellpadding="5" class="border1">
-<tr>
-<td>This <strong>will</strong> work:</td>
-<td>This <strong class="important">won't</strong> work:</td>
-</tr>
-<tr>
-<td class="code">Bulletin board: http://yourdomain.com/board/<br />
-Coppermine: http://yourdomain.com/gallery/</td>
-<td class="code">Bulletin board: http://board.yourdomain.com/<br />
-Coppermine: http://gallery.yourdomain.com/</td>
-</tr>
-</table>
-<p>The cookie path in the forum's configuration should be set to '/' where this option is available.</p>
-<p><span class="important">Important</span>: the cookie names of your bbs and coppermine must <strong>not</strong> be the same - they <strong>must</strong> differ!</p>
-<a name="integrating_cookie_end"></a>
-
-<a name="integrating_standalone_start"></a>
-<h3>5.2.2 Standalone version first</h3>
-<p>To avoid confusion, make sure to set up both coppermine and your bbs as standalone first. Make sure they both run correctly without integration. Test all features of coppermine (like upload, registration etc.) when Coppermine is installed, before you even start integration.</p>
-<a name="integrating_standalone_end"></a>
-
-<a name="integrating_users_start"></a>
-<h3>5.2.3 Coppermine users, groups and pics uploaded by users are lost when integrating</h3>
-<p><span class="important">Warning:</span> If you already have users and custom groups in your coppermine database when you enable bbs integration, be aware that they will be lost. If your coppermine users have already created private albums and uploaded pics to them, they will be lost as well!</p>
-<a name="integrating_users_end"></a>
-
-<a name="integrating_backup_start"></a>
-<h3>5.2.4 Backup</h3>
-<p><span class="important">Backup</span>: it is very advisable to backup both your coppermine database and your files before enabling bbs integration, so you can safely go back if the integration fails.</p>
-<p>In fact you're encouraged to backup your database on a regular base, and especially before applying code changes.</p>
-<a name="integrating_backup_end"></a>
-
-<a name="integrating_prerequisites_end"></a>
-
-<a name="integrating_steps_start"></a>
-<h2>5.3 Integration steps</h2>
-<p>From cpg1.4.x on you can use the <a href="#bridge_manager_start">Bridge Manager</a> that will provide a wizard-like interface to enable/disable bridging.</p>
-
-<a name="bridge_manager_start"></a>
-<h3>5.3.1 Using the bridge manager</h3>
-<p>The bridge manager is a new feature in cpg1.4, it is not available in older versions. Instead of manually editing coppermine code files, you can enable/disable bridging in your browser, using a wizard-like user interface. To start the bridge manager, log in as admin, choose &quot;Admin Tools&quot; from the navigation and the &quot;bridge manager&quot;</p>
-<p><img src="pics/bridge_01_start.gif" width="429" height="72" border="0" alt="" align="right" />If you run the bridge manager for the first time, there will only be one button that let's you actually start the wizard (if you return to the bridge manager later, you will also find a switch to enable/disable bridging) click it.</p>
-<p class="important">Note: with each step in the wizard, some information is being written to the coppermine database. Unlike other wizards (mostly on your local machine), the bridge manager doesn't have a &quot;&quot;cancel&quot;-button! Once you have enabled bridging and everything is working fine, you shouldn't change any values just out of curiosity, as they will get written to the database, which might result in a bridging that used to work not working any more after &quot;playing&quot; with it.<br clear="all" /></p>
-<p><img src="pics/bridge_02_app.png" width="600" height="340" border="0" alt="" align="right" />In the first actual step of the wizard &quot;choose application to bridge coppermine with&quot;, you have to choose the application you actually want to coppermine with. Note that you <strong>must</strong> have this application already installed on your webserver, it has to be properly configured and must be up-and-running. Don't use the bridge manager yet if you only <em>plan</em> to integrate coppermine with another application later.</p>
-<p>If you have a custom-made bridge file that is not available in the wizard, choose the radio button in front of the text field and enter the name of your bridge file there, without the extension &quot;.inc.php&quot; (the bridge file must reside in the coppermine sub-folder &quot;bridge&quot;).<br />
-Click &quot;next&quot;</p>
-<p>The next steps depend on the application you have chosen to bridge with: some applications need <acronym title="Uniform Resource Locator">URL</acronym>s to be entered, or paths. Some need mySQL table information or cookie data to be entered, others don't. The point of the wizard is that it will only &quot;ask&quot; you the relevant settings for your application - if one or more items of the following description doesn't turn up for your application, there's no need to worry - just keep filling in the mandatory information and then hit &quot;next&quot;. However, you have to understand that coppermine can proof-check only some of your input - some input goes unvalidated.</p>
-<p>If a reset button (<img src="../images/flags/reset.gif" width="16" height="11" border="0" alt="" />) is being displayed next to an input field, the field value doesn't have the default value. It can be perfectly OK to have a non-default value in a field, however you should keep in mind that if you have &quot;played&quot; with the bridge manager before, previous settings might exist in a field that are not correct - do not light-heartedly skip a step without paying attention to it. Use the reset button to revert to the default value (not necessarily &quot;quor&quot; default value though).<br clear="all" /></p>
-<a name="bridge_manager_app_start"></a>
-<h4>5.3.1.1 choose application to bridge coppermine with</h4>
-<ul>
-<ul>
-  <li>Invision Power Board</li>
-  <li>Mambo</li>
-  <li>MyBB</li>
-  <li>phpBB 2</li>
-  <li>Phorum</li>
-  <li>PunBB</li>
-  <li>SMF 1.x</li>
-  <li>SMF 2.x</li>
-  <li>vBulletin</li>
-  <li>XMB</li>
-  <li>Xoops2</li>
-</ul>
-</ul>
-<a name="bridge_manager_app_end"></a>
-<a name="bridge_manager_path_start"></a>
-<h4>5.3.1.2 path(s) used by your BBS app</h4>
-<ul>
-<li><strong>Forum URL</strong><br />
-Full URL of your BBS app (including the leading http:// bit, e.g. http://www.yourdomain.tld/forum/)</li>
-<li><strong>Relative forum path</strong><br />
-Relative path to your BBS app from the webroot (Example: if your BBS is at http://www.yourdomain.tld/forum/, enter "/forum/" into this field)</li>
-<li><strong>Relative path to your BBS's config file</strong><br />
-Relative path to your BBS, seen from your Coppermine folder (e.g. "../forum/" if your BBS is at http://www.yourdomain.tld/forum/ and Coppermine at http://www.yourdomain.tld/gallery/)</li>
-</ul>
-<a name="bridge_manager_path_end"></a>
-<a name="bridge_manager_specific_start"></a>
-<h4>5.3.1.3 BBS-specific settings</h4>
-<ul>
-<li><strong>Use post-based groups?</strong><br />
-Should Coppermine import the special groups that exist in the forum ? If you select no, then Coppermine will use the standard groups (Administrator, Registered and Anonymous) which makes administration easier and is recommended. You can change this setting later as well.</li>
-</ul>
-<a name="bridge_manager_specific_end"></a>
-<a name="bridge_manager_enable_start"></a>
-<h4>5.3.1.4 enable/disable BBS integration</h4>
-<p>This is the last step of the bridge manager - it summarizes up the settings you have made in previous steps - you can enable or disable integration here. By default, integration is set to &quot;disabled&quot; after the bridge manager has been run for the first time. You should only enable integration if you're sure your BBS app is set up correctly. Click the &quot;Finish&quot; button in any case to finally write to the database, even if you choose to keep the current settings (leaving integration &quot;disabled&quot;).</p>
-<ul>
-<li><strong>Enable integration/bridging with XXX</strong></li>
-</ul>
-<a name="bridge_manager_enable_end"></a>
-<p class="small right_align">[cpg1.4.0 or better required]</p>
-<a name="bridge_manager_end"></a>
-<p><a class="back" href="#top">Back to top</a></p><hr />
-
-<a name="bridge_manager_recover_start"></a>
-<h3>5.3.2 Recover from failed bridging</h3>
-<p>If you have provided improper settings using the bridge manager, your integration might fail, resulting (in the worst case) in a stituation where bridging is enabled, but you can not log in as admin to switch it off again (e.g. if you provided improper cookie settings that stops authentication from working). For this situation a recovery setting was built into the bridge manager: if you are not logged in as coppermine admin (in fact: not logged in at all) and you access the URL of your bridge manager (http://yourdomain.tld/your_coppermine_folder/bridgemgr.php) by entering it manually into the address bar of your browser, you are prompted to enter your admin account details - use the admin account you used to install coppermine with in the first place (the standalone admin account). This will not log you in, but switch integration off, so you can fix improper bridging settings then. To avoid others trying to guess your admin account details, there's a login treshold that rises every time you enter wrong credentials, so enter your admin account details with care.</p>
-<p class="small right_align">[cpg1.4.0 or better required]</p>
-<a name="bridge_manager_recover_end"></a>
-<p><a class="back" href="#top">Back to top</a></p><hr />
-
-
-<a name="integrating_steps_sync_start"></a>
-<h3>5.3.3 Synchronising the bbs groups with Coppermine's groups</h3>
-<p>Login using the admin account of your board. Go to the gallery, enter admin mode and click on the &quot;Groups&quot; button. This will synchronize Coppermine groups with those of your board. The permission you will see for each group will be completely messy, so take some time to set them properly.</p>
-<p>Each time you add or delete a group in your board you will need to do the operation above in order to keep the synchronisation of the groups.</p>
-<p>When you will try to login / logout or manage users from Coppermine, you will be redirected to the corresponding page of your bulletin board. Once the login or logout is performed you won't be redirected automatically to the gallery because your board does not have any function for that. It's up to you to add a link on your board to get you back to the gallery.</p>
-<p class="important">It's mandatory that you (as admin) go to the groups page directly after bridging or whenever you change anything in your bridging configuration or if you change anything in your groups settings on your bbs, as you need to trigger the re-sync.</p>
-<a name="integrating_steps_sync_end"></a>
-<a name="integrating_steps_end"></a>
-<p><a class="back" href="#top">Back to top</a></p><hr />
-
-<a name="integrating_support_start"></a>
-<h2>5.4 Bridging support</h2>
-<p>With the explanations given above you should be able to bridge your (BBS) application with Coppermine. However, if things don't work as expected, you're welcome to look for help using the <a href="http://forum.coppermine-gallery.net/" rel="external" class="external">coppermine support board</a>. When asking for support, please keep in mind that the supporters will need some information to enable them to help you:</p>
-<ul>
-  <li>Search the board before posting - maybe somebody had similar issues to yours that have been solved already</li>
-  <li>Post on the board that deals with your version - bridging mechanisms have changed from version to version, that's why it's important to post on the board that actually corresponds to your coppermine version</li>
-  <li>Don't hijack threads - when looking for bridging support, start your own thread</li>
-  <li>Read the sticky threads before posting</li>
-  <li>Make sure you are using the latest versions of the bridging files, they are kept up to date between formal Coppermine releases. Download the relevant files from the <a href="http://coppermine.svn.sourceforge.net/viewvc/coppermine/trunk/cpg1.4.x/" rel="external" class="external">SVN</a>. Update udb_base.inc.php and the file that corresponds to the bridge you are using and upload them into your bridge directory, overwriting the old ones. Of course you should make sure to use the most recent stable coppermine release in the first place.</li>
-  <li>When requesting bridge support, please post a link to your site, a test user account, and what you have set in the bridge manager.<br />Make sure that the test user account doesn't have admin privileges. When posting parts of your bridge file, make sure to replace passwords with asterisks.<br />&nbsp;<br />This is how your posting should look like (with actual URLs instead of the dummy URLs given here as an example):<br />
-  <pre class="code">I have the following issue when trying to bridge coppermine and XXX:
-[error message here]
-
-Coppermine install: http://mysite.tld/my_coppermine_folder/
-Forum install: http://mysite.tld/my_forum_folder/
-Coppermine version: cpg1.4.24
-Forum version: SuperDuper BBS app v0.8.15
-Test user account: some_testuser_name / the_password_for_the_test_user_account
-
-BridgeManager settings:
-Forum URL:  http://mysite.tld/test/foo_bar
-Relative path to your BBS's config file:  ../bla/
-Use post-based groups?:  0  </pre></li>
-</ul>
-<a name="integrating_support_start"></a>
-
-<a name="integrating_end"></a>
-<p><a class="back" href="#top">Back to top</a></p><hr />
-
-<a name="translating"></a>
-<h1>6. Translating Coppermine into other languages</h1>
-<p>Coppermine has a separate language file that make the translation of the script much more easy. The language files are stored in the <strong>lang </strong>directory.</p>
-<p>If you select an utf-8 language file as the default one, then the script will be able to automatically select a language file based on the visitor browser configuration. For instance if the default language file is danish (utf-8) and an english visitor accesses your gallery, the english language file will be used by the script.</p>
-<p> If you have translated Coppermine into a language not already supported, please read the <a href="translation.htm">translator's guide</a> and visit the <a href="http://forum.coppermine-gallery.net/index.php?topic=20355.0" rel="external" class="external">Coppermine Web Site</a> and follow the instructions for submitting your language.</p>
-<p></p>
-<p><a class="back" href="#top">Back to top</a></p><hr />
-
-<a name="known_issues"></a>
-<h1>7. Known Issues</h1>
-<p>The following slight quirks and tiny issues are known and will hopefully be fixed in future releases.</p>
-<ul>
-        <li>The <a href="http://forum.coppermine-gallery.net/index.php?topic=1866.0" rel="external" class="external">arrows used for navigation</a> from one pic to the other display in the wrong order for rtl-languages</li>
-        <li>Keyword list returns incorrect result for asian characters</li>
-        <li>Browser bug: IE displays 100%-width values incorrectly</li>
-        <li>New batch-add interface doesn't work on all server setups. Users who have issues with it should use the classic interface instead.</li>
-        <li>Missing Query in debug output: the value for $CONFIG['debug_mode'] is not yet set before the first query to the config table</li>
-        <li>Page tabs in user manager don't behave in the same way as other tabs</li>
-        <li>Resizing gif/png with transparent background doesn't preserve alpha info</li>
-        <li>Weird characters on mouseover tooltips in other browsers than IE</li>
-        <li>Wrong charset in emails sent from coppermine</li>
-        <li>Language fallback not working for util.php and faq.php</li>
-        <li>Hardcoded charset in xp_publisher.php</li>
-        <li>Thumbnail sizes over 120px causes edit fields to run over its edge</li>
-        <li>No album thumbnails for albums that contain only pics linked by keyword</li>
-        <li>Possible stability issues with PHP5 and plugins</li>
-        <li>Crop/rotate doesn't work with GD1</li>
-        <li>Rotate causing distorted image for large files</li>
-        <li>Search Engine Friendly URLs plugin is not working flawlessly, it's still experimental</li>
-        <li><tt class="code">&lt;object&gt;&lt;param&gt;&lt;/param&gt;&lt;/object&gt;</tt> construct for multimedia files doesn't validate but is needed for backwards compatibility</li>
-        <li>Nuke check in installer needs improvement</li>
-        <li>EXIF and IPTC information are lost when rotating</li>
-        <li>Banned group doesn't work as expected</li>
-        <li>Album created using XP publisher despite upload failure</li>
-        <li>Hebrew translation still incomplete</li>
-        <li>No category thumbnail for user galleries and categories that don't contain albums with pics in it, but only sub-categories</li>
-        <li>SEF plugin breaks custom sort order</li>
-        <li>Editpics and editOnePic allow users to move files from a personal gallery to a public album without approval where approval is required</li>
-        <li>Editpics and editOnePic allow users to move files from a personal gallery to a public album without notice where they might not be able to edit the file</li>
-</ul>
-<p><a class="back" href="#top">Back to top</a></p><hr />
-
-<a name="credits"></a>
-<h1>8. Credits</h1>
-<a name="developers"></a>
-<h2>8.1 Coppermine team</h2>
-<!-- Team Member sort order: GROUP BY 'status' ORDER BY 'position' IN THIS ORDER (Proj Mgr,Lead dev,Developer,Supporter,tester,other), 'username' ASC -->
-<table border="0" cellspacing="6" cellpadding="4">
-  <tr>
-    <td><strong>Developer</strong></td>
-    <td><strong>Username</strong></td>
-    <td><strong>Role/Position</strong></td>
-    <td><strong>Status</strong></td>
-  </tr>
-  <tr>
-    <td>Joachim M&uuml;ller</td>
-    <td><a href="http://forum.coppermine-gallery.net/index.php?action=profile;u=2" rel="external" class="external">gaugau</a></td>
-    <td>Project Manager</td>
-    <td>active</td>
-  </tr>
-  <tr>
-    <td>Dr Tarique Sani</td>
-    <td><a href="http://forum.coppermine-gallery.net/index.php?action=profile;u=4" rel="external" class="external">tarique</a></td>
-    <td>Lead Developer</td>
-    <td>active</td>
-  </tr>
-  <tr>
-    <td>Abbas Ali</td>
-    <td><a href="http://forum.coppermine-gallery.net/index.php?action=profile;u=11737" rel="external" class="external">abbas</a></td>
-    <td>Developer</td>
-    <td>active</td>
-  </tr>
-  <tr>
-    <td>Aditya Mooley</td>
-    <td><a href="http://forum.coppermine-gallery.net/index.php?action=profile;u=5957" rel="external" class="external">Aditya</a></td>
-    <td>Developer</td>
-    <td>active</td>
-  </tr>
-  <tr>
-    <td>Donovan Bray</td>
-    <td><a href="http://forum.coppermine-gallery.net/index.php?action=profile;u=10059" rel="external" class="external">donnoman</a></td>
-    <td>Developer</td>
-    <td>active</td>
-  </tr>
-  <tr>
-    <td>Tommy Atkinson</td>
-    <td><a href="http://forum.coppermine-gallery.net/index.php?action=profile;u=941" rel="external" class="external">Nibbler</a></td>
-    <td>Developer</td>
-    <td>active</td>
-  </tr>
-  <tr>
-    <td>Dave Kazebeer</td>
-    <td><a href="http://forum.coppermine-gallery.net/index.php?action=profile;u=7" rel="external" class="external">kegobeer</a></td>
-    <td>Supporter</td>
-    <td>active</td>
-  </tr>
-  <tr>
-    <td>Thomas Lange</td>
-    <td><a href="http://forum.coppermine-gallery.net/index.php?action=profile;u=14796" rel="external" class="external">Stramm</a></td>
-    <td>Developer</td>
-    <td>active</td>
-  </tr>
-  <tr>
-    <td>Thu Tu</td>
-    <td><a href="http://forum.coppermine-gallery.net/index.php?action=profile;u=7792" rel="external" class="external">TranzNDance</a></td>
-    <td>Supporter</td>
-    <td>active</td>
-  </tr>
-  <tr>
-    <td>Paul Van Rompay</td>
-    <td><a href="http://forum.coppermine-gallery.net/index.php?action=profile;u=23938" rel="external" class="external">Paver</a></td>
-    <td>Developer</td>
-    <td>active</td>
-  </tr>
-  <tr>
-    <td>Amit Badkas</td>
-    <td><a href="http://forum.coppermine-gallery.net/index.php?action=profile;u=18262" rel="external" class="external">Amit</a></td>
-    <td>Developer</td>
-    <td>active</td>
-  </tr>
-  <tr>
-    <td>Andreas Ellsel</td>
-    <td><a href="http://forum.coppermine-gallery.net/index.php?action=profile;u=898" rel="external" class="external">Andi</a></td>
-    <td>Tester</td>
-    <td>active</td>
-  </tr>
-  <tr>
-    <td><strong>Developer</strong></td>
-    <td><strong>Username</strong></td>
-    <td><strong>Role/Position</strong></td>
-    <td><strong>Status</strong></td>
-  </tr>
-  <tr>
-    <td>Gr&eacute;gory Demar</td>
-    <td><a href="http://forum.coppermine-gallery.net/index.php?action=profile;u=259" rel="external" class="external">Greg</a></td>
-    <td>Original creator of Coppermine</td>
-    <td>retired</td>
-  </tr>
-  <tr>
-    <td>Jack</td>
-    <td><a href="http://forum.coppermine-gallery.net/index.php?action=profile;u=6" rel="external" class="external">datajack</a></td>
-    <td>Developer</td>
-    <td>retired</td>
-  </tr>
-  <tr>
-    <td>DJ Axion</td>
-    <td><a href="http://forum.coppermine-gallery.net/index.php?action=profile;u=9" rel="external" class="external">djaxion</a></td>
-    <td>Developer</td>
-    <td>retired</td>
-  </tr>
-  <tr>
-    <td>Scott Gahres</td>
-    <td><a href="http://forum.coppermine-gallery.net/index.php?action=profile;u=66" rel="external" class="external">gtroll</a></td>
-    <td>Developer</td>
-    <td>retired</td>
-  </tr>
-  <tr>
-    <td>Hyperion</td>
-    <td><a href="http://forum.coppermine-gallery.net/index.php?action=profile;u=125" rel="external" class="external">hyperion01</a></td>
-    <td>Developer</td>
-    <td>retired</td>
-  </tr>
-  <tr>
-    <td>John Asendorf</td>
-    <td><a href="http://forum.coppermine-gallery.net/index.php?action=profile;u=30" rel="external" class="external">jasendorf</a></td>
-    <td>Developer</td>
-    <td>retired</td>
-  </tr>
-  <tr>
-    <td>Jay Hao-En Liu</td>
-    <td><a href="http://forum.coppermine-gallery.net/index.php?action=profile;u=59" rel="external" class="external">Oasis</a></td>
-    <td>Developer</td>
-    <td>retired</td>
-  </tr>
-  <tr>
-    <td>Christopher Brown-Floyd</td>
-    <td><a href="http://forum.coppermine-gallery.net/index.php?action=profile;u=1874" rel="external" class="external">omniscientdeveloper</a></td>
-    <td>Developer</td>
-    <td>retired</td>
-  </tr>
-  <tr>
-    <td>Timothy</td>
-    <td><a href="http://forum.coppermine-gallery.net/index.php?action=profile;u=6949" rel="external" class="external">skybax</a></td>
-    <td>Developer</td>
-    <td>retired</td>
-  </tr>
-  <tr>
-    <td>David Holm</td>
-    <td><a href="http://forum.coppermine-gallery.net/index.php?action=profile;u=14" rel="external" class="external">wormie_dk</a></td>
-    <td>Developer</td>
-    <td>retired</td>
-  </tr>
-  <tr>
-    <td>Mark Zerr</td>
-    <td><a href="http://forum.coppermine-gallery.net/index.php?action=profile;u=11" rel="external" class="external">zarsky99</a></td>
-    <td>Tester</td>
-    <td>retired</td>
-  </tr>
-  <tr>
-    <td>mitirapa</td>
-    <td><a href="http://forum.coppermine-gallery.net/index.php?action=profile;u=133" rel="external" class="external">mitirapa</a></td>
-    <td>Porter (Cross Platform Devel.)</td>
-    <td>retired</td>
-  </tr>
-  <tr>
-    <td>Moorey</td>
-    <td><a href="http://forum.coppermine-gallery.net/index.php?action=profile;u=13" rel="external" class="external">moorey</a></td>
-    <td>Web Designer</td>
-    <td>retired</td>
-  </tr>
-  <tr>
-    <td>Maarten Hagoort</td>
-    <td><a href="http://forum.coppermine-gallery.net/index.php?action=profile;u=404" rel="external" class="external">DJ Maze</a></td>
-    <td>Developer (nuke team)</td>
-    <td>retired</td>
-  </tr>
-  <tr>
-    <td>Eyal Zvi</td>
-    <td><a href="http://forum.coppermine-gallery.net/index.php?action=profile;u=94" rel="external" class="external">EZ</a></td>
-    <td>Developer</td>
-    <td>retired</td>
-  </tr>
-  <tr>
-    <td>Clive Leech</td>
-    <td><a href="http://forum.coppermine-gallery.net/index.php?action=profile;u=56" rel="external" class="external">casper</a></td>
-    <td>Supporter</td>
-    <td>retired</td>
-  </tr>
-  <tr>
-    <td>Dennis Nakano</td>
-    <td><a href="http://forum.coppermine-gallery.net/index.php?action=profile;u=19311" rel="external" class="external">madeinhawaii</a></td>
-    <td>Supporter</td>
-    <td>retired</td>
-  </tr>
-    <tr>
-    <td>Roberta</td>
-    <td><a href="http://forum.coppermine-gallery.net/index.php?action=profile;u=24398" rel="external" class="external">Blueiris</a></td>
-    <td>Supporter</td>
-    <td>retired</td>
-  </tr>
-</table>
-<p><a class="back" href="#top">Back to top</a></p><hr />
-
-<a name="contributors"></a>
-<h2>8.2 Contributors</h2>
-<table border="0" cellspacing="6" cellpadding="4">
-<tr>
-  <td><a href="http://forum.coppermine-gallery.net/index.php?action=profile;u=101" rel="external" class="external">DaMysterious</a></td>
-  <td>DaMysterious has created loads of fantastic themes for Coppermine</td>
-</tr>
-<tr>
-  <td><a href="http://forum.coppermine-gallery.net/index.php?action=profile;u=1399" rel="external" class="external">Nanobot</a></td>
-  <td>Doug has done the vBulletin v3 bridge file</td>
-</tr>
-<tr>
-  <td><a href="http://www.sanisoft.com/aboutus.php3" rel="external" class="external">Girish Nair</a></td>
-  <td>Girish has contributed to the film strip feature</td>
-</tr>
-<tr>
-  <td><a href="http://forum.coppermine-gallery.net/index.php?action=profile;u=378" rel="external" class="external">Jason Kawaja</a></td>
-  <td>Jason did the <a href="http://forum.coppermine-gallery.net/index.php?topic=1985.0" rel="external" class="external">memberlist hack</a></td>
-</tr>
-<tr>
-  <td><a href="http://forum.coppermine-gallery.net/index.php?action=profile;u=22846" rel="external" class="external">Alexander L&ouml;bel</a></td>
-  <td>Alex did the translation of the <a href="faq_de.htm" rel="external" class="external">FAQ in German</a></td>
-</tr>
-<tr>
-  <td><a href="http://www.worldwidegarage.com/" rel="external" class="external">Joe Ernst</a></td>
-  <td>Joe has contributed the &quot;Sort my pictures&quot; feature</td>
-</tr>
-<tr>
-  <td><a href="http://forum.coppermine-gallery.net/index.php?action=profile;u=1545" rel="external" class="external">Pascal Yap</a></td>
-  <td>Pascal is a moderator of the <a href="http://forum.coppermine-gallery.net/index.php?board=38.0" rel="external" class="external">French support board</a> and has contributed several mods and hacks. He has translated the <a href="faq_fr.htm">FAQ into French</a>.</td>
-</tr>
-<tr>
-  <td><a href="http://forum.coppermine-gallery.net/index.php?action=profile;u=1545" rel="external" class="external">Fran&ccedil;ois Keller</a></td>
-  <td>Frantz is a moderator of the <a href="http://forum.coppermine-gallery.net/index.php?board=38.0" rel="external" class="external">French support board</a> and has contributed several mods and hacks. He is co-author of the translation of the <a href="faq_fr.htm">FAQ into French</a> as well as the French language file for cpg1.4.x.</td>
-</tr>
-<tr>
-  <td><a href="http://forum.coppermine-gallery.net/index.php?action=profile;u=9544" rel="external" class="external">Leny</a></td>
-  <td>Leny has come up with the partial translation of the documentation into Spanish.</td>
-</tr>
-<tr>
-  <td><a href="http://forum.coppermine-gallery.net/index.php?action=profile;u=61576">Robert Chapin</a></td>
-  <td>Robert Chapin (miqrogroove) has re-done the bridge file for XMB.</td>
-</tr>
-</table>
-<p>There is a full list of translators that can be found on the coppermine homepage: please visit <a href="http://coppermine-gallery.net/team/#translators">Coppermine-gallery.net &gt; About &gt; Translators</a></a>.</p>
-<p><a class="back" href="#top">Back to top</a></p><hr />
-
-<a name="codebase"></a>
-<h2>8.3 Coppermine uses code from the following free softwares :</h2>
-<p><strong>phpBB</strong><br />
-  Author: phpBBGroup <br />
-  URL: <a href="http://www.phpbb.com/" rel="external" class="external">http://www.phpbb.com/</a><br />
-  License: GNU GPL
-</p>
-<p><strong>phpMyAdmin</strong><br />
-  Author: phpMyAdmin devel team<br />
-  URL: <a href="http://www.phpmyadmin.net/" rel="external" class="external">http://www.phpmyadmin.net/</a><br />
-  License: GNU GPL
-</p>
-<p><strong>phpPhotoAlbum</strong><br />
-  Author: Henning St&oslash;verud<br />
-  E-mail: henning AT stoverud DOT com<br />
-  URL: <a href="http://www.stoverud.com/PHPhotoalbum/" rel="external" class="external">http://www.stoverud.com/PHPhotoalbum/</a><br />
-  License: GNU GPL
-</p>
-<p><strong>TAR/GZIP/ZIP Archive Classes</strong><br />
-  Author: Devin Doucette<br />
-  E-mail: darksnoopy AT shaw DOT ca<br />
-  License: GNU GPL
-</p>
-
-<p><strong>Exifixer</strong><br />
-  Author: Jake Olefsky<br />
-  URL: <a href="http://www.offsky.com/software/exif/index.php" rel="external" class="external">http://www.offsky.com/software/exif/index.php</a><br />
-  License: GNU GPL
-</p>
-<p><strong>Codelifter Slideshow</strong><br />
-  URL: <a href="http://www.codelifter.com/">http://www.codelifter.com</a><br />
-  License: free for all, as long as copyright information stays intact
-</p>
-<p><strong>PHPMailer</strong><br />
-  Author: <a href="http://sourceforge.net/project/memberlist.php?group_id=26031" rel="external" class="external">PHPMailer Team</a><br />
-  URL: <a href="http://phpmailer.sourceforge.net/" rel="external" class="external">http://phpmailer.sourceforge.net/</a><br />
-  License: LGPL
-</p>
-<p><strong>PHP Calendar Class Version 1.4</strong><br />
-  Author: David Wilkinson<br />
-  E-mail: davidw AT cascade DOT org DOT uk<br />
-  URL: <a href="http://www.cascade.org.uk/software/php/calendar/" rel="external" class="external">http://www.cascade.org.uk/software/php/calendar/</a><br />
-  License: free for all, as long as copyright information stays intact
-</p>
-<p><a class="back" href="#top">Back to top</a></p><hr />
-
-<a name="copyright"></a>
-<h2>8.4 Copyright, license and disclaimer</h2>
-<a name="copyright_license"></a>
-<h3>8.4.1 License</h3>
-<p>This application is opensource software released under the GNU <a href="http://www.gnu.org/licenses/gpl.html" rel="external" class="external">GPL</a>, version 3.</p>
-<p>Versions prior to cpg1.4.13 used to be released under GNU GPL version 2. As the Free Software Foundation has released version 3 of the license, we updated the license reference for this release accordingly.<br />
-Subsequently, all versions of Coppermine from that time on (July 2007) will be released under GNU GPL version 3.</p>
-<a name="copyright_additional"></a>
-<h3>8.4.2 Additional terms (license add-ons)</h3>
-<p>The GNU GPL does not allow further restrictions of permissions except the additional terms that <em>can</em> be added according to section 7 of the GNU GPL v3.</p>
-<p>Coppermine <strong>is</strong> being released under the GNU GPL with the following, GPL-compliant additional terms:</p>
-<a name="copyright_additional_disclaimer"></a>
-<h4>8.4.2.1 Disclaimer</h4>
-<p class="small">According to GNU GPL v3, section 7 a)</p>
-<p>Because the program is licensed free of charge, there is no warranty for the program, to the extent permitted by applicable law. Except when otherwise stated in writing the copyright holders and/or other parties provide the program &quot;as is&quot; without warranty of any kind, either expressed or implied, including, but not limited to, the implied warranties of merchantability and fitness for a particular purpose. The entire risk as to the quality and performance of the program is with you. Should the program prove defective, you assume the cost of all necessary servicing, repair or correction.</p>
-<a name="copyright_additional_preservation"></a>
-<h4>8.4.2.2 Preservation of author attributions</h4>
-<p class="small">According to GNU GPL v3, section 7 b)</p>
-<p>The Coppermine group (<acronym title="also known as">aka</acronym> Coppermine Dev Team) requires the preservation of the &quot;Powered by Coppermine&quot; footer in a legible, unobscured manner in the output of all pages generated by Coppermine-driven galleries.<br />This policy may be subject of change in future versions. It has originally been made a requirement by the initial author of the first version of Coppermine. We ask you (the end user) to respect this policy and keep the footer intact. Additionally, we have a strict policy on the Coppermine support forum that galleries with the footer tag removed will not receive support. We're convinced that you should give credit where credit is due. We ask you to think twice before removing the tag, as it is meant to spread the word about Coppermine and give others who like your Coppermine-driven gallery to get one of their own.</p>
-<p>In previous versions (prior to cpg1.4.13) of Coppermine (which used to be covered by the GNU GPL v2), the additional term that the footer should not be removed existed as well. There have been third parties though who doubted the rightfulness of this additional term and subsequently claimed that it <em>was</em> legal to remove the tag; some of those third-parties even offered instructions how to accomplish this code-wise (although the legal details had been clarified long before with the <a href="http://fsf.org/" rel="external" class="external">Free Software Foundation</a> and the <a href="http://www.opensource.org/" rel="external" class="external">Open Source Initiative</a>). The Coppermine Dev Team welcomes that version 3 of the GNU GPL clarifies this legal aspect and demands of any third parties to respect the <em>full</em> license, including the additional terms covered in this section of the documentation.</p>
-<a name="copyright_additional_marking"></a>
-<h4>8.4.2.3 Marking of modified versions</h4>
-<p class="small">According to GNU GPL v3, section 7 c)</p>
-<p>The Coppermine Dev Team requires as additional term of the license Coppermine comes with that modified versions of Coppermine conveyed to others should be marked in a reasonable way. Modified versions mustn't be conveyed to others under the same name as the original coppermine release. Package name, source code and the output generated by the modified version should make it obvious for potential users that the modified version and the original coppermine version that the modified version is based upon differ.</p>
-<p><strong>Examples:</strong><br />
-<div class="quote">If you create a port of coppermine with the added feature to brew coffee, name it in a way as suggested below:
-<ul>
-  <li>Coppermine - coffee edition</li>
-  <li>Coppermine with Coffe-Support</li>
-  <li>Coppermine ported for CoffeeMaker v1.8</li>
-</ul>
-</div>
-</p>
-<p><strong>Explanation:</strong><br />
-If you download Coppermine and modify it for the use on your webspace, you don't have to rename it - the above mentioned additional term does not apply to you. It only applies if you make your modified version available for others for download or other means of distribution.<br />
-We think that this helps both the Coppermine project as well as the author of the modified version: people who are using the modified version can find out easily where they can turn to for help. The author of the modification get get the credit he deserves. The Coppermine Dev Team can make sure that issues caused by third-party modifications have less impact on the reputation of the original package.</p>
-<a name="copyright_copyright"></a>
-<h3>8.4.3 Copyrights</h3>
-<p>Coppermine Photo Gallery is Copyright &copy; 2002 - 2007 Gr&eacute;gory  DEMAR and the Coppermine Dev Team, All Rights Reserved.<br />
-</p>
-<p><a class="back" href="#top">Back to top</a></p><hr />
-
-
-      </td></tr></tbody></table>
-</body>
+<!doctype html public "-//W3C//DTD HTML 4.01 Transitional//EN">
+<html>
+<head>
+<title>Coppermine Photo Gallery - Documentation &amp; Manual</title>
+<meta http-equiv="content-type" content="text/html; charset=iso-8859-1">
+<meta name="language"    content="en">
+<meta name="author" content="Coppermine dev team">
+<meta name="copyright"   content="Coppermine dev team">
+<meta name="description" content="Coppermine Photo Gallery project - Coppermine is an easily set-up, fast, feature-rich photo gallery script with mySQL database, user management, private galleries, automatic thumbnail creation, ecard feature and a template system for easy customization to match the rest of a site.">
+<meta name="keywords"    content="photo gallery,galery,image,coppermine,php,mysql,easy,feature,thumbnail,automatic,creation,gd,Image Magick,ecard">
+<meta name="page-topic"    content="photo gallery,galery,image,coppermine,php,mysql,easy,feature,thumbnail,automatic,creation,gd,Image Magick,ecard">
+<meta http-equiv="Content-Style-Type" content="text/css">
+<meta name="MSSmartTagsPreventParsing" content="true">
+<meta http-equiv="imagetoolbar" content="no">
+<!--
+  Subversion information (for information and developer purposes only - safe to ignore for everybody else):
+  Coppermine version: 1.4.25
+  $HeadURL: https://coppermine.svn.sourceforge.net/svnroot/coppermine/trunk/cpg1.4.x/docs/index.htm $
+  $Revision: 6217 $
+  $Author: gaugau $
+  $Date: 2009-06-22 09:34:51 +0200 (Mo, 22 Jun 2009) $
+-->
+<link rel="stylesheet" type="text/css" href="style.css">
+</head>
+<body>
+<table cellspacing="0" cellpadding="0" width="100%" border="0">
+  <tbody>
+  <tr>
+    <td>
+                        <p><img src="../images/coppermine_logo.png" alt="Coppermine Photo Gallery - Your Online Photo Gallery" />
+<h1>Coppermine Photo Gallery v1.4.25: Documentation and Manual</h1>
+<h1>About Coppermine</h1>
+<p>Coppermine Photo Gallery is an advanced, user-friendly, picture gallery script with built-in support for other multi-media/data files.  The gallery can be private, accessible to registered users only, and/or open to all visitors to your site. Users, if permitted, can upload pictures with their web browser (thumbnail and intermediate sized images are created on the fly), rate pictures, add comments and even send e-cards. The site administrator determines which of the features listed above are accessible by registered and non-registered users. The site administrator can also manage galleries and batch process large numbers of pictures that have been uploaded onto the server by FTP.</p>
+<p>Image files are stored in albums and albums can be grouped into categories, which in turn, can be further grouped under parent categories. The script supports multiple users and provides the administrator of the website with tools to manage which user groups can or cannot have personal albums, send ecards, or add comments. Users may also upload to public albums if the website administrator permits it. Permissions to create albums, upload and delete files are all determined by the website administrator.</p>
+<p>Coppermine has an optional user selectable theme system with a number of themes pre-installed. It also supports the use of multiple languages and contains it's own language library. These language files provide, users of your gallery, access in their preferred languages. Coppermine uses PHP, a MySQL database, and either the GD library (version 1.x or 2.x) or ImageMagick to generate and keep records and file information of all thumbnails, intermediate, and full-sized images. Coppermine generates the html code necessary to display its various categories, sub-categories, albums, intermediate, and full-sized image displays dynamically. This drastically cuts down on the number of files and space your gallery would require using standard HTML. The install script (install.php) makes it quick and easy to get started.</p>
+
+      <a name="top"></a>
+<div id="toc">
+      <h1>Table of contents</h1>
+      <!--<ul class="level1">
+        <li class="level1"><a href="#testVersion" class="menu1">0. Beta (Testing) version</a></li>
+      </ul>-->
+<ul class="level1">
+        <li class="level1"><a href="#what" class="menu1">1. What is required</a></li>
+</ul>
+<ul class="level1">
+
+        <li class="level1"><a href="#installation" class="menu1">2. Installation and setup</a></li>
+</ul>
+        <ul class="level2">
+                <li class="level2"><a href="#how" class="menu2">2.1 How To Install The Script</a></li>
+        </ul>
+                <ul class="level3">
+                  <li class="level3"><a href="#permissions">2.1.1 Setting permissions</a></li>
+                </ul>
+                <ul class="level4">
+                  <li class="level4"><a href="#permissions_chmod">2.1.1.1 Apache on Unix/Linux (CHMOD)</a></li>
+                  <li class="level4"><a href="#permissions_apache_windows">2.1.1.2 Apache on Windows</a></li>
+                  <li class="level4"><a href="#permissions_iis_windows">2.1.1.3 IIS on Windows</a></li>
+                </ul>
+                <ul class="level3">
+                  <li class="level3"><a href="#install_screen_start">2.1.2 The install screen</a></li>
+                  <li class="level3"><a href="#install_what">2.1.3 What the installer does</a></li>
+                </ul>
+        <ul class="level2">
+                <li class="level2"><a href="#getting" class="menu2">2.2 Getting Started</a></li>
+        </ul>
+        <ul class="level3">
+                <li class="level3"><a href="#getting_concepts">2.2.1 Basic concepts</a></li>
+                <li class="level3"><a href="#getting_initial_configuration">2.2.2 Initial configuration</a></li>
+                <li class="level3"><a href="#getting_structure">2.2.3 Category, albums and file structure</a></li>
+                <li class="level3"><a href="#getting_admin_account">2.2.4 Your admin account</a></li>
+                <li class="level3"><a href="#getting_check_uploads">2.2.5 Check uploads</a></li>
+                <li class="level3"><a href="#getting_consider_bridging">2.2.6 Consider bridging</a></li>
+                <li class="level3"><a href="#getting_interaction">2.2.7 What are your visitors allowed to do?</a></li>
+                <li class="level3"><a href="#getting_design">2.2.8 Change your coppermine's design</a></li>
+        </ul>
+        <ul class="level2">
+                <li class="level2"><a href="#creating" class="menu2">2.3 Creating or upgrading your own themes</a></li>
+        </ul>
+        <ul class="level3">
+                <li class="level3"><a href="#theme_builtin">2.3.1 Themes that come with Coppermine</a></li>
+                <li class="level3"><a href="#theme_upgrading">2.3.2 Upgrading your custom theme</a></li>
+                <li class="level3"><a href="#theme_files">2.3.3 Content of a theme</a></li>
+                <li class="level3"><a href="#theme_sample">2.3.4 The sample theme - a template to copy from</a></li>
+                <li class="level3"><a href="#theme_engine">2.3.5 How the theme engine works</a></li>
+                <li class="level3"><a href="#theme_create">2.3.6 Creating your custom theme</a></li>
+        </ul>
+                <ul class="level4">
+                  <li class="level4"><a href="#theme_create_rename">2.3.6.1 Rename your theme first</a></li>
+                  <li class="level4"><a href="#theme_create_tipps">2.3.6.2 Tipps & tricks</a></li>
+                  <li class="level4"><a href="#theme_create_wysiwyg">2.3.6.3 Using WYSIWYG-editors</a></li>
+                  <li class="level4"><a href="#theme_create_template_html">2.3.6.4 Editing template.html</a></li>
+                  <li class="level4"><a href="#theme_create_template_token">2.3.6.5 Template tokens</a></li>
+                  <li class="level4"><a href="#theme_create_template_token_list">2.3.6.6 List of tokens in template.html</a></li>
+                  <li class="level4"><a href="#theme_create_colors">2.3.6.7 Modifying colors</a></li>
+                  <li class="level4"><a href="#theme_create_theme_php">2.3.6.8 Editing theme.php</a></li>
+                </ul>
+        <ul class="level2">
+                <li class="level2"><a href="#safe" class="menu2">2.3 Safe mode issues</a></li>
+                <li class="level2"><a href="#smtp" class="menu2">2.5 Using SMTP to send emails</a></li>
+        </ul>
+<ul class="level1">
+        <li class="level1"><a href="#upgrade" class="menu1">3. Upgrading</a></li>
+</ul>
+        <ul class="level2">
+                <li class="level2"><a href="#upgrade_steps" class="menu2">3.1 Upgrade steps</a></li>
+        </ul>
+          <ul class="level3">
+                <li class="level3"><a href="#10" class="menu3">3.1.1 Upgrading from version 1.0</a></li>
+                <li class="level3"><a href="#13" class="menu3">3.1.2 Upgrading from cpg1.1.x, cpg1.2.x or cpg1.3.x to version cpg1.4.x</a></li>
+                <li class="level3"><a href="#14" class="menu3">3.1.3 Upgrading from cpg1.4.0 (or better) to version cpg1.4.25</a></li>
+           </ul>
+        <ul class="level2">
+                <li class="level2"><a href="#upgrade_why" class="menu2">3.2 Why upgrade?</a></li>
+        </ul>
+                <ul class="level3">
+                        <li class="level3"><a href="#upgrade_why_reasons">3.2.1 Reasons for package releases</a></li>
+                        <li class="level3"><a href="#upgrade_why_changelog">3.2.2 Changelog </a></li>
+                </ul>
+        <ul class="level2">
+                <li class="level2"><a href="#versioncheck" class="menu2">3.3 The version check tool</a></li>
+        </ul>
+                <ul class="level3">
+                        <li class="level3"><a href="#versioncheck_description_start">3.3.1 What it does</a></li>
+
+                        <li class="level3"><a href="#versioncheck_options_start">3.3.2 Options</a></li>
+                        <li class="level3"><a href="#versioncheck_comparison_start">3.3.3 Version comparison</a></li>
+                </ul>
+        <ul class="level2">
+                <li class="level2"><a href="#downgrading" class="menu2">3.4 Downgrading from cpg1.4.x</a></li>
+        </ul>
+
+<ul class="level1">
+        <li class="level1"><a href="#administration" class="menu1">4. Configuration &amp; Administration</a></li>
+</ul>
+        <ul class="level2">
+
+                <li class="level2"><a href="#cat_alb_pic" class="menu2">4.1 Categories, albums and files</a></li>
+                <li class="level2"><a href="#admin_user_mode" class="menu2">4.2 Admin mode &amp; User mode</a></li>
+                <li class="level2"><a href="#group_cp" class="menu2">4.3 The group control panel</a></li>
+                <li class="level2"><a href="#user_cp" class="menu2">4.4 The user control panel</a></li>
+        </ul>
+                <ul class="level3">
+
+                        <li class="level3"><a href="#user_cp_page">4.4.1 Page controls</a></li>
+                        <li class="level3"><a href="#user_cp_search">4.4.2 Searching for user(s)</a></li>
+                        <li class="level3"><a href="#user_cp_new">4.4.3 Creating new users</a></li>
+                        <li class="level3"><a href="#user_cp_edit">4.4.4 Editing users</a></li>
+                        <li class="level3"><a href="#user_cp_group">4.4.5 Group membership</a></li>
+                </ul>
+        <ul class="level2">
+                <li class="level2"><a href="#cat_cp" class="menu2">4.5 The category control panel</a></li>
+                <li class="level2"><a href="#albmgr" class="menu2">4.6 The album manager</a></li>
+
+        </ul>
+                <ul class="level3">
+                        <li class="level3"><a href="#albmgr_create">4.6.1 Creating albums</a></li>
+                        <li class="level3"><a href="#albmgr_rename">4.6.2 Renaming albums</a></li>
+                        <li class="level3"><a href="#albmgr_order">4.6.3 Changing the album order</a></li>
+                        <li class="level3"><a href="#albmgr_delete">4.6.4 Deleting albums</a></li>
+                </ul>
+
+        <ul class="level2">
+                <li class="level2"><a href="#modif_alb_pics" class="menu2">4.7 Modifying album/files</a></li>
+                <li class="level2"><a href="#album_prop" class="menu2">4.8 Album properties</a></li>
+        </ul>
+                <ul class="level3">
+                        <li class="level3"><a href="#album_prop_reset_start">4.8.1 Reset album properties</a></li>
+                </ul>
+
+        <ul class="level2">
+                <li class="level2"><a href="#edit_pics" class="menu2">4.9 Editing files</a></li>
+        </ul>
+                <ul class="level3">
+                        <li class="level3"><a href="#edit_vids">4.9.1 Editing videos</a></li>
+                        <li class="level3"><a href="#cust_thmb">4.9.2 Custom thumbnails</a></li>
+                </ul>
+
+        <ul class="level2">
+                <li class="level2"><a href="#bbcode" class="menu2">4.10 Using bbcode to insert links and format in descriptions</a></li>
+                <li class="level2"><a href="#uploading" class="menu2">4.11 Uploading pics/files</a></li>
+        </ul>
+                <ul class="level3">
+                  <li class="level3"><a href="#batch_add_pics">4.11.1 Uploading pics by FTP / Batch-Add Pictures</a></li>
+                  <li class="level3"><a href="#upload_http">4.11.2 Uploading by HTTP</a></li>
+                  <li class="level3"><a href="#xp">4.11.3 Using Windows XP Web Publishing Wizard with Coppermine</a></li>
+                </ul>
+                <ul class="level4">
+                  <li class="level4"><a href="#xp_publish_setup">4.11.3.1 XP Web Publishing Wizard: Setup</a></li>
+                  <li class="level4"><a href="#xp_publish_upload">4.11.3.2 XP Web Publishing Wizard: Uploading pictures</a></li>
+                </ul>
+        <ul class="level3">
+                <li class="level3"><a href="#upload_trouble">4.11.4 Upload troubleshooting</a></li>
+                <li class="level3"><a href="#upload_support">4.11.5 Asking for support on upload issues</a></li>
+                <li class="level3"><a href="#upload_error_messages">4.11.6 Error messages</a></li>
+        </ul>
+        <ul class="level2">
+                <li class="level2"><a href="#admin" class="menu2">4.12 The gallery configuration page</a></li>
+        </ul>
+                <ul class="level3">
+                        <li class="level3"><a href="#admin_general">4.12.1 General settings</a></li>
+
+                        <li class="level3"><a href="#admin_language">4.12.2 Language &amp; Charset settings</a></li>
+                        <li class="level3"><a href="#admin_theme">4.12.3 Themes settings</a></li>
+                        <li class="level3"><a href="#admin_album_list">4.12.4 Album list view</a></li>
+                        <li class="level3"><a href="#admin_thumbnail_view">4.12.5 Thumbnail view</a></li>
+                        <li class="level3"><a href="#admin_image_comment">4.12.6 Image view</a></li>
+                        <li class="level3"><a href="#admin_comment_start">4.12.7 Comment settings</a></li>
+
+                        <li class="level3"><a href="#admin_picture_thumbnail">4.12.8 File and thumbnail settings</a></li>
+                        <li class="level3"><a href="#admin_picture_thumb_advanced">4.12.9 Files and thumbnails advanced settings</a></li>
+                        <li class="level3"><a href="#admin_user">4.12.10 User settings</a></li>
+                        <li class="level3"><a href="#admin_custom">4.12.11 Custom fields for user profile</a></li>
+                        <li class="level3"><a href="#admin_custom_image">4.12.12 Custom fields for image description</a></li>
+
+                        <li class="level3"><a href="#admin_cookie">4.12.13 Cookie settings</a></li>
+                        <li class="level3"><a href="#admin_email">4.12.14 Email settings</a></li>
+                        <li class="level3"><a href="#admin_logging">4.12.15 Logging &amp; statistics</a></li>
+                        <li class="level3"><a href="#admin_misc">4.12.16 Miscellaneous settings</a></li>
+                </ul>
+        <ul class="level2">
+            <li class="level2"><a href="#exif" class="menu2">4.13 EXIF data</a></li>
+        </ul>
+                <ul class="level3">
+                        <li class="level3"><a href="#exif_manager">4.13.1 The EXIF manager</a></li>
+                </ul>
+        <ul class="level2">
+            <li class="level2"><a href="#plugin" class="menu2">4.14 Plugins</a></li>
+        </ul>
+                <ul class="level3">
+                        <li class="level3"><a href="#plugin_definition">4.14.1 What is a plugin?</a></li>
+                        <li class="level3"><a href="#plugin_api">4.14.2 The Plugin API</a></li>
+                        <li class="level3"><a href="#plugin_manager">4.14.3 The Plugin Manager</a></li>
+                </ul>
+                     <ul class="level4">
+                         <li class="level4"><a href="#plugin_manager_upload">4.14.3.1 Uploading a plugin</a></li>
+                         <li class="level4"><a href="#plugin_manager_install">4.14.3.2 Installing a plugin</a></li>
+                         <li class="level4"><a href="#plugin_manager_configuration">4.14.3.3 Plugin Configuration</a></li>
+                         <li class="level4"><a href="#plugin_manager_uninstall">4.14.3.4 Uninstalling a plugin</a></li>
+                     </ul>
+                <ul class="level3">
+                        <li class="level3"><a href="#plugin_writing">4.14.4 Writing plugins</a></li>
+                </ul>
+
+<ul class="level1">
+        <li class="level1"><a href="#integrating" class="menu1">5. Integrating the script with your bulletin board</a></li>
+</ul>
+        <ul class="level2">
+                 <li class="level2"><a href="#integrating_bridge_start" class="menu2">5.1 Available bridge files</a></li>
+                 <li class="level2"><a href="#integrating_prerequisites_start" class="menu2">5.2 Pre-requistes</a></li>
+        </ul>
+                <ul class="level3">
+                         <li class="level3"><a href="#integrating_cookie_start">5.2.1 Authentication by cookie</a></li>
+                         <li class="level3"><a href="#integrating_standalone_start">5.2.2 Standalone version first</a></li>
+                         <li class="level3"><a href="#integrating_users_start">5.2.3 Coppermine users, groups and pics uploaded by users are lost when integrating</a></li>
+                         <li class="level3"><a href="#integrating_backup_start">5.2.4 Backup</a></li>
+                  </ul>
+        <ul class="level2">
+                 <li class="level2"><a href="#integrating_steps_start" class="menu2">5.3 Integration steps</a></li>
+
+        </ul>
+                <ul class="level3">
+                        <li class="level3"><a href="#bridge_manager_start">5.3.1 Using the bridge manager</a></li>
+                </ul>
+                         <ul class="level4">
+                                 <li class="level4"><a href="#bridge_manager_app_start">5.3.1.1 choose application to bridge coppermine with</a></li>
+                                 <li class="level4"><a href="#bridge_manager_path_start">5.3.1.2 path(s) used by your BBS app</a></li>
+                                 <li class="level4"><a href="#bridge_manager_specific_start">5.3.1.3 BBS-specific settings</a></li>
+                                 <li class="level4"><a href="#bridge_manager_enable_start">5.3.1.4 enable/disable BBS integration</a></li>
+                         </ul>
+
+                 <ul class="level3">
+                                 <li class="level3"><a href="#bridge_manager_recover_start">5.3.2 Recover from failed bridging</a></li>
+                                                                 <li class="level3"><a href="#integrating_steps_sync_start">5.3.3 Synchronising the bbs groups with Coppermine's groups</a></li>
+                 </ul>
+        <ul class="level2">
+                 <li class="level2"><a href="#integrating_support_start" class="menu2">5.4 Bridging support</a></li>
+
+        </ul>
+<ul class="level1">
+        <li class="level1"><a href="#translating" class="menu1">6. Translating Coppermine into other languages</a></li>
+
+</ul>
+<ul class="level1">
+        <li class="level1"><a href="#known_issues" class="menu1">7. Known Issues</a></li>
+</ul>
+<ul class="level1">
+        <li class="level1"><a href="#credits" class="menu1">8. Credits</a></li>
+</ul>
+        <ul class="level2">
+                <li class="level2"><a href="#developers" class="menu2">8.1 Coppermine team</a></li>
+                <li class="level2"><a href="#contributors" class="menu2">8.2 Contributors</a></li>
+                <li class="level2"><a href="#codebase" class="menu2">8.3 Code used in Coppermine</a></li>
+                <li class="level2"><a href="#copyright" class="menu2">8.4 Copyright, license and disclaimer</a></li>
+        </ul>
+        <ul class="level3">
+                <li class="level3"><a href="#copyright_license">8.4.1 License</a></li>
+                <li class="level3"><a href="#copyright_additional">8.4.2 Additional terms</a></li>
+        </ul>
+        <ul class="level4">
+                <li class="level4"><a href="#copyright_additional_disclaimer">8.4.2.1 Disclaimer</a></li>
+                <li class="level4"><a href="#copyright_additional_preservation">8.4.2.2 Preservation of author attributions</a></li>
+                <li class="level4"><a href="#copyright_additional_marking">8.4.2.3 Marking of modified versions</a></li>
+        </ul>
+        <ul class="level3">
+                <li class="level3"><a href="#copyright_copyright">8.4.3 Copyrights</a></li>
+        </ul>
+</div><!-- end toc -->
+      <hr />
+
+<a name="what"></a>
+<h1>1. What is required</h1>
+<p>There are certain <strong>minimum requirements</strong> that need to be met in order to be able to install Coppermine:</p>
+<h2>1.1 Technical requirements</h2>
+<ul>
+  <li><strong>A web server that supports PHP</strong><br />
+  PHP (version 4.2.0 or better), either compiled with the support for the GD library or permission to use the exec() function for the ImageMagick &quot;convert&quot; utility in order to make thumbnails and reduced size images. Mysql support needs to be compiled into PHP as well.</li>
+  <li><strong>A MySQL database</strong><br />
+  You will need MySQL version 3.23.23 or better. MySQL 4.1 is recommended, MySQL 5 is supported. The MySQL user needs permissions to perform CREATE, ALTER, REPLACE, SELECT, UPDATE, DELETE, INSERT data from the database. Most users have these permissions when webhosted. If you don't have them, you will not be able to use this or any other pre-made scripts at all. If you are uncertain about your permissions, please check with your webhost. Most hosting services can probably tell you whether coppermine can or cannot be run on their servers.<br />
+  A database needs to be set up that Coppermine can use - the install script will <strong>not</strong> create a database for you, but it will automatically create the tables and data structure in your database during install. In most webhosted environments, you will already have at least one database set up for you by your webhost. If not, you will need to create one. If you do need to create a database, check with your webhost on the proper procedures for doing so. Write down your database name, userID and password. You will require all three to successfully install Coppermine. </li>
+  <li><strong>An image library:</strong><br />
+  Either GD version 1.x or 2.x (PHP has to be compiled to support it) or ImageMagick.<br />
+  (see <a href="faq.htm#whatIsImageMagick">What's ImageMagick</a> and <a href="faq.htm#WhatIsGD">What is GD</a>)</li>
+  <li>It's always a good idea to contact your webhosting service first and ask them if they are aware of any known issues when installing Coppermine.</li>
+</ul>
+<p>Although Coppermine can be run on <em>any</em> webserver that has the minimum requirements mentioned above, the Coppermine dev team can not support you on setting up your webserver in the first place. As suggested, those are requirements, i.e. they have to be met before actually considering to run Coppermine. Please note that the Coppermine group does not recommend self-hosting unless you're an experienced webserver administrator and know your way around.</p>
+
+<h2>1.2 Personal requirements</h2>
+<p>Coppermine is aimed at webmasters who have at least basic HTML know-how and some experience in setting up pre-made scripts. The Coppermine dev team is aware that there are Coppermine users who set up their gallery using auto-installers who have little or no experience in setting up similar scripts, which is fine as well. We just ask you to read the documentation thoroughly before asking questions on the Coppermine support board, as this should answer most newbie questions. You can use coppermine just fine using the <a href="#theme_builtin">pre-made themes that come with the coppermine package</a>. However, if you want to modify existing themes or <a href="#theme_create">come up with a theme of your own</a> (that matches the look of the rest of your site), you should have basic to intermediate <acronym title="Hyper Text Markup Language">HTML</acronym> and <acronym title="Cascading Style Sheets">CSS</acronym> skills.</p>
+
+<p><a class="back" href="#top">Back to top</a></p><hr />
+
+<a name="installation"></a>
+<h1>2. Installation and Setup</h1>
+<a name="how"></a>
+<h2>2.1 How to install the script</h2>
+<ul>
+  <li><strong>Unpack the archive preserving the directory structure.</strong><br /> You can rename the coppermine folder, but not the files or folders within.</li>
+  <li><strong>Upload all files onto your webserver</strong> (making sure to use the correct ftp mode)</li>
+  <li><strong><a href="#permissions">Set permissions</a> on the "<em>albums</em>" and "<em>include</em>" folders in your Coppermine directory</strong>. Usually, you have to apply the CHMOD command, setting the permissions to 755 (or 777, depending on your server config).  <span class="important">This step is very important and must not be overlooked!</span></li>
+  <li><strong>Ensure you have correct information about your database</strong> - you need to <em>know</em> the database name as well as the details of a MySQL user account with which Coppermine should connect to the database. The database and the username must already exist, and the user must have access to the relevent database. Coppermine will not create the database for you, but it will create the tables in the database during installation, there is no need for you to add any tables yourself.</li>
+  <li><strong>Run the install script on your server</strong><br />Type the following URL into your web browser:&nbsp;&nbsp; http://your_server/coppermine_dir/install.php&nbsp;&nbsp; (<em>your_server</em> = your website, <em>coppermine_dir</em> = the folder in which you uploaded your Coppermine files.) Follow the online instructions on the <a href="#install_screen_start">install screen</a> inserting the necessary information as requested.</li>
+</ul>
+  <li><strong>Confirm that you have all the correct information about the database that will be used for your Coppermine installation.</strong> If no database exists for your website, you will need to create one, or have one created for you by your webhost. Your webhost can best provide you with instructions on how to go about doing this.  For installation purposes, you will need to know the path of the database server that you will be using with Coppermine and details of the MySQL user account through which Coppermine will connect to the server. You must have the database server path (usually 'localhost'), your MySQL username, MySQL password, and MySQL database name prior to installing Coppermine. The user installing Coppermine must have all relevant access rights to this database.
+
+ If you are using a newly created database, there is no need for you to manually add any tables. Coppermine will create the necessary tables in the database during installation process.</li>
+
+  <li><strong>To run the install script on your server,</strong> type the following URL into your web browser:&nbsp;&nbsp; http://your_server/coppermine_dir/install.php&nbsp;&nbsp; (<em>your_server</em> = your website, <em>coppermine_dir</em> = the folder in which you uploaded your Coppermine files.)   Follow the online instructions inserting the necessary information as requested.</li>
+</ul>
+
+<p><a class="back" href="#top">Back to top</a></p><hr />
+
+<a name="permissions"></a>
+<h3>2.1.1 Setting permissions</h3>
+Coppermine needs <em>write access</em> to a number of files and folders on the webserver in order to accomplish the following:
+<ul>
+<li>during install, coppermine needs to create and write to the file "config.inc.php" in the "include" folder in order to store the necessary mySQL access data to run coppermine and to create and write the "install.lock" file, also in the same folder to prevent the installer from being run a second time after a successful install.</li>
+<li>when using http uploads, coppermine needs to write the files that are being uploaded into the subfolders that you or your users create in the coppermine <em>albums</em> folder</li>
+<li>regardless of the upload method, coppermine will create a thumbnail file and an intermediate file (if you have configured coppermine accordingly) and store it in a sub-folder in the "albums" directory, as well</li>
+<li>If you are going to enable <a href="#admin_logging">logging</a> at some stage, the script needs write access on the folder "logs"</li>
+<li>The "plugin" folder needs to be set to write access as well if you want to use the zip upload capabilities of the <a href="#plugin_manager_upload">plugin manager</a></li>
+</ul>
+<p>By default, files and folders on a webserver are usually not writable, so you will probably have to change permissions before installion, for the reasons mentioned above. It's really mandatory that you set/change (CHMOD) permissions - or you will run into issues sooner or later.</p>
+<p>To be able to set permissions correctly, you have to understand how they work: there are <em><strong>r</strong>ead</em>, <em><strong>w</strong>rite</em> and <em>e<strong>x</strong>ecute</em> permissions (abbreviated with <strong>rwx</strong>) for each folder and file. Permissions on a parent folder can propagate to a child folder or the files within it, but it's possible to tweak your setup so that unwanted permissions will not propagate to child folders and resident files.</p>
+<p>However, there are differences between the different operating systems that are used as webservers. As a result, there are a number of different approaches. As coppermine is designed to run on many different setups, we've included some basic instructions. Those who know their way around may find these instructions somewhat generalized and lacking in details.<br />Note: it is not your local, client computer that matters, permission-wise, but, rather, the operating system used by your webserver. If you're not sure what OS your server is running on, try the CHMOD instructions first - most webservers run a version of Unix/Linux. <span class="important">If you can't figure how to set permissions properly, ask your webhost for support.</span></p>
+<p><a class="back" href="#top">Back to top</a></p><hr />
+
+<a name="permissions_chmod"></a>
+<h4>2.1.1.1 Apache on Unix/Linux (CHMOD)</h4>
+<ul>
+<li><strong>Basics</strong><br />
+There are different flavors of Unix/Linux - all of them share a similar, somewhat common approach. In referring to this architecture, the word "Lunix" is used for both Unix and Linux derivates. "Read" permissions apply to files that are not actively run, but only being served, e.g text or plain html files. "Write" permissions are needed to dynamically create files, modify or delete them. "Execute" permissions are needed to run executable files, for example, script files like PHP. To serve web pages that are php-powered properly, the most basic permissions that are needed, therefore, are "read" and "execute" (abbreviated as r-x).<br />
+Possible permissions settings are:
+  <ul>
+  <li><tt class="code">r--</tt> ... read only</li>
+  <li><tt class="code">r-x</tt> ... read and execute</li>
+  <li><tt class="code">rwx</tt> ... read, write and execute</li>
+  </ul>
+Needless to say, other combinations are technically possible (such as -wx, --x or -w-), but they make little sense in webserver setups and will be ignored in this tutorial.
+</li>
+<li><strong>Groups in Lunix</strong><br />
+Lunix uses a set of three-group permissions, each of which can be applied independently. These are: <em>owner</em>, <em>group</em> and <em>world</em>. Using this set, you can dictate if a user who owns a file has permission to modify or delete it (write permission) while other users will only be able to read/view and possibly execute the file. On your server, these permission settings for the three possible groups are written in as a single line entry (in the order "owner", "group", "world"). <br />
+Examples  :
+  <ul>
+  <li><tt class="code">rwxrwxrwx</tt> ... read, write and execute (rwx) permissions for all three groups</li>
+  <li><tt class="code">rwxr-xr-x</tt> ... rwx permissions for the owner, r-x permissions for all others</li>
+  <li><tt class="code">r-xr-xr-x</tt> ... read and execute permissions for all groups, only</li>
+  </ul>
+</li>
+<li><strong>Webserver daemon</strong><br />
+Even though you (the user who owns the files on your server and who has control over the permissions) may be able to access a file (e.g. using your FTP app), the coppermine script may not be able to do so. This is often caused by a particular setup option for servers: services (in Lunix often called "daemons") may run in the context of a specific user that is different from the user who is allowed to access the files. On many such servers, the webserver (apache) service runs as user "nobody". This way, the server can be protected against hacker attacks. Therefore, setting permissions on a server for the "owner" only does not work on these particular setups, you must set permissions for both "group" and "world" (at least for the group the webserver daemon is in).
+</li>
+<li><strong>Binary arithmetics</strong><br />
+As you can see, permissions can be either "on" or "off" - this is the equivalent to the two different states that a bit of data can have in binary arithmetics (and therefore, also in the whole world of computing).
+As we have three types of different permissions (read, write, execute), we will need three bits to assign a set of permissions. The highest bit is the "<em><strong>r</strong>ead</em>" bit - decimal "4" is used to represent it. The middle bit "<em><strong>w</strong>rite</em>" is assigned to decimal "2", the lowest bit "<em>e<strong>x</strong>ecute</em>" is represented by decimal "1".
+This may be a bit hard to understand or follow at first, especially if you haven't dealt with binary arithmetics before. If you would like to learn more, google for it. It's easier to understand if you look at some examples:
+<div style="float:left;margin-right:10px">
+<table border="0" cellspacing="0" cellpadding="0" class="maintable">
+<tr><td class="tableh1">permission</td><td class="tableh1">bit value</td><td class="tableh1">set?</td><td class="tableh1">value</td></tr>
+<tr><td class="tableb">read</td><td class="tableb">4</td><td class="tableb"><input type="checkbox" checked="checked" onclick="javascript:this.checked=true"/></td><td class="tableb">4</td></tr>
+<tr><td class="tableb">write</td><td class="tableb">2</td><td class="tableb"><input type="checkbox" checked="checked" onclick="javascript:this.checked=true" /></td><td class="tableb">2</td></tr>
+<tr><td class="tableb">execute</td><td class="tableb">1</td><td class="tableb"><input type="checkbox" checked="checked" onclick="javascript:this.checked=true" /></td><td class="tableb">1</td></tr>
+<tr><td colspan="3" class="tablef">sum (resulting byte value)</td><td class="tablef">7</td></tr>
+</table>
+</div>
+<div style="float:left;margin-right:10px">
+<table border="0" cellspacing="0" cellpadding="0" class="maintable">
+<tr><td class="tableh1">permission</td><td class="tableh1">bit value</td><td class="tableh1">set?</td><td class="tableh1">value</td></tr>
+<tr><td class="tableb">read</td><td class="tableb">4</td><td class="tableb"><input type="checkbox" checked="checked" onclick="javascript:this.checked=true" /></td><td class="tableb">4</td></tr>
+<tr><td class="tableb">write</td><td class="tableb">2</td><td class="tableb"><input type="checkbox" onclick="javascript:this.checked=false" /></td><td class="tableb">-</td></tr>
+<tr><td class="tableb">execute</td><td class="tableb">1</td><td class="tableb"><input type="checkbox" checked="checked" onclick="javascript:this.checked=true" /></td><td class="tableb">1</td></tr>
+<tr><td colspan="3" class="tablef">sum (resulting byte value)</td><td class="tablef">5</td></tr>
+</table>
+</div>
+<div style="float:left;margin-right:10px">
+<table border="0" cellspacing="0" cellpadding="0" class="maintable">
+<tr><td class="tableh1">permission</td><td class="tableh1">bit value</td><td class="tableh1">set?</td><td class="tableh1">value</td></tr>
+<tr><td class="tableb">read</td><td class="tableb">4</td><td class="tableb"><input type="checkbox" checked="checked" onclick="javascript:this.checked=true" /></td><td class="tableb">4</td></tr>
+<tr><td class="tableb">write</td><td class="tableb">2</td><td class="tableb"><input type="checkbox" checked="checked" onclick="javascript:this.checked=true" /></td><td class="tableb">2</td></tr>
+<tr><td class="tableb">execute</td><td class="tableb">1</td><td class="tableb"><input type="checkbox" onclick="javascript:this.checked=false" /></td><td class="tableb">-</td></tr>
+<tr><td colspan="3" class="tablef">sum (resulting byte value)</td><td class="tablef">6</td></tr>
+</table>
+</div>
+<div style="clear:left"></div>
+</li>
+<li><strong>What good is all of this?</strong><br />
+Instead of having to remember and write <tt class="code">rwxrwxrwx</tt> for each file or folder in your setup, you can now write <tt class="code">777</tt> in its place. The same applies for <tt class="code">rwxr-xr-x</tt>, you can write <tt class="code">755</tt>, instead.
+</li>
+<li><strong>FTP application</strong><br />
+Setting the permissions using your FTP application will be the option available for most users who are webhosted. Depending on the FTP app you use, the user interface will slightly differ: some apps will allow you to enter the CHMOD command by entering the numbers (777 or 755), others will provide you with checkboxes where you can tick the permissions separately for each group. More advanced FTP apps may even provide you with both mechanisms. As this documentation can't cover all individual FTP apps that are available, the exact method might differ a bit from what you have.<br />
+Your FTP app will probably have two windows, one showing your local files, the other one showing the files on your server. In the window that shows the remote files on the server, navigate to the folder your coppermine files reside in. Highlight the "albums" folder that resides within the coppermine folder. From the context menu (right-click!), choose "properties" (might be named "chmod" or similar as well). The permissions dialog will then pop up. Choose the proper permissions as suggested above (777 or 755, depending on your server setup). If you have a checkbox that enables the permissions to propagate for all sub-folders and files, tick it. If you don't have it, nevermind. Then click "OK" on the dialog box to apply the permissions. Keep in mind that your FTP app might not have the power to actually find out about the current permissions that <strong>are</strong> applied, so you mustn't trust the information displayed in the dialog box: even if it appears that the permissions are already set as needed, this may not be the case, so you should re-apply the permissions no matter what.<br />
+After having applied the permissions for the albums folder, do the same thing for the include folder that resides within your coppermine folder.
+</li>
+<li><strong>Website control panel</strong><br />
+Some webhosts may not give you the option to access your site using FTP, or they may not allow your FTP client to execute the CHMOD command. If this is the case, you probably have a server setup interface (e.g. cpanel) to apply permission to folders and files. In fact, this doesn't matter, the method for applying permissions doesn't differ from the one described above in the section "FTP application": navigate to the albums folder and apply the permissions needed to give your webserver write access to all files and folders within the albums folder. Do the same thing for the include folder as well.
+</li>
+<li><strong>Shell access</strong><br />
+If you have shell access to your server, you can apply the native <a href="http://www.die.net/doc/linux/man/man1/chmod.1.html" rel="external" class="external">CHMOD</a> command on your files and folders. Go to your coppermine folder using your shell access, then apply the permissions to the albums and include folder and everything within it. As explained above, the user the apache daemon runs under needs write access, so you should CHMOD to 777 or 755, depending on your server setup.
+</li>
+</ul>
+<a name="permissions_chmod_end"></a>
+<p><a class="back" href="#top">Back to top</a></p><hr />
+
+<a name="permissions_apache_windows"></a>
+<h4>2.1.1.2 Apache on Windows</h4>
+<p>You have to understand that there is no such thing as CHMOD on Windows operating systems - this command is available on Unix/Linux only, even if your FTP application displays a CHMOD option. If you try to apply CHMOD on Windows, the command will simply be ignored and do nothing. However, there are permissions on Windows as well.</p>
+<p>The apache webserver service runs under a particular user - if you have full access to the server, check the services control to find out which one it is. If you can't do this, ask your webhost.</p>
+<p>As a temporary workaround, set permissions on folder and file level as suggested in the section <a href="#permissions_iis_windows">IIS on Windows</a>, but not for the IUSR (which only exists on IIS), but for "everyone". However, allowing "everyone" to have read, write and execute permissions might be a security risk and is not recommended at all.</p>
+<a name="permissions_apache_windows_end"></a>
+<p><a class="back" href="#top">Back to top</a></p><hr />
+
+<a name="permissions_iis_windows"></a>
+<h4>2.1.1.3 IIS on Windows</h4>
+<p>Pre-requisites: you will need full admin privileges over your server to execute this process. If you do not run the webserver yourself, your webhost has probably set up a web-based interface to let you change permissions. If you're not sure, contact your webhost.</p>
+<p>The dialogs may differ slightly depending on the Windows version you have:</p>
+<ul>
+<li>Start Windows Explorer on your webserver and navigate to your coppermine folder</li>
+<li>right-click on the folder you want to change permissions for</li>
+<li>Choose "Properties"</li>
+<li>On the properties dialog, click on the "Security" tab</li>
+<li>Highlight the user "Internet guest account (hostname\IUSR_hostname). If it's not there already, use the "Add..." dialog to add this particular user</li>
+<li>Tick the "Allow"-checkbox for "Write"-access</li>
+<li>Click the "Advanced" button</li>
+<li>Just to make sure the write access propagates to all folders and files within the folder you're currently editing, tick the checkbox "Reset permissions on all child objects and enable propagation of inheritable permissions"</li>
+<li>click "OK"</li>
+<li>answer the confirmation dialog box that asks you if all permissions should be replaced with "Yes"</li>
+<li>depending on the number of child objects and your system's speed, wait until the permissions of all objects have been changed and the status window goes away.</li>
+<li>Click "OK" to close the permissions dialog</li>
+</ul>
+<p>You have to understand that there is no such thing as CHMOD on Windows operating systems - this command is available on Unix/Linux only, even if your FTP application displays a CHMOD option. If you try to apply CHMOD on Windows, the command will simply be ignored and do nothing. However, there are permissions on Windows as well.</p>
+<a name="permissions_iis_windows_end"></a>
+
+<a href="permissions_end"></a>
+<p><a class="back" href="#top">Back to top</a></p><hr />
+
+<a name="install_screen_start"></a>
+<h3>2.1.2 The install screen</h3>
+<table border="0" cellpadding="5" cellspacing="0">
+ <tr>
+  <td style="border-top:1px solid #0E72A4;border-left:1px solid #0E72A4;border-right:1px solid #0E72A4;" colspan="2"><strong>Your admin account</strong>
+  </td>
+  <td></td>
+ </tr>
+ <tr>
+  <td style="border-left:1px solid #0E72A4;border-right:1px solid #0E72A4;" colspan="2"> <span class="small">This section requires information to create your administration account. Use only alphanumeric characters. Enter the data carefully !</span>
+  </td>
+  <td><span class="small">Input an original admin username and password here. Make sure to either memorize it well, or note it down somewhere safe; you won't be able to administer your site if you lose this data. </span></td>
+ </tr>
+ <tr>
+  <td style="border-left:1px solid #0E72A4;" width="20%"><strong>Username</strong>
+  </td>
+  <td style="border-right:1px solid #0E72A4;" width="20%">
+          <input type="text" style="width:100%" readonly="readonly" name="admin_username" value="" />
+  </td>
+  <td valign="top" width="60%"><span class="small">This will be the username for your everyday administration of coppermine - choose one that you can memorize and enter easily. This entry is case sensitive so give special consideration when creating a username. Pics that you upload later under this admin account will display the name shown in the uploader field. Comments you make will also display this name, as well, for others to see.</span></td>
+ </tr>
+ <tr>
+  <td style="border-left:1px solid #0E72A4;"><strong>Password</strong>
+  </td>
+  <td style="border-right:1px solid #0E72A4;">
+          <input type="text" style="width:100%" readonly="readonly" name="admin_password" value="" />
+  </td>
+  <td><span class="small">This will be your admin password to your coppermine install. Don't use trivial, overly abused passwords - if an attacker figures out your password, s/he will be able to hack your entire site! Use a combination of upper and lower case letters and numbers like "<tt class="code">j3e4N5n6yG</tt>". Remember, passwords like your admin username are case sensitive. Be careful when creating your password. Write it down and keep it safe, preferably somewhere away from your computer.</span> </td>
+ </tr>
+ <tr>
+  <td style="border-left:1px solid #0E72A4;"><strong>Email address</strong>
+  </td>
+  <td style="border-right:1px solid #0E72A4;">
+          <input type="text" style="width:100%" readonly="readonly" name="admin_email" value="" />
+  </td>
+  <td><span class="small">This email address will be used to send emails from the webserver (e.g. the registration email, notifications and ecards). Make sure that it is a valid email address.</span></td>
+ </tr>
+ <tr>
+  <td style="border-left:1px solid #0E72A4;border-right:1px solid #0E72A4;" colspan="2"><strong>Your MySQL configuration</strong>
+  </td>
+  <td rowspan="2"><span class="small">MySQL is the type of database service that is available on most webservers. If you don't have it, you cannot install it. That is, unless the server is yours to administer. If you are webhosted, you are probably out of luck. It's mandatory to have a mySQL database to run Coppermine or any other PHP-based script. You can not fake the mySQL information during install, you must <strong>know</strong> it before hand, and enter the information as required. If you're not sure about the information required, ask your webhost.</span></td>
+ </tr>
+ <tr>
+<td style="border-left:1px solid #0E72A4;border-right:1px solid #0E72A4;" colspan="2"><span class="small">This section requires information on how to access your MySQL database. If you don't know how to fill them, check with your webhost support.</span>
+    </td>
+ </tr>
+ <tr>
+  <td style="border-left:1px solid #0E72A4;"><strong>MySQL Host</strong><br /><span class="small">(localhost is usually OK)</span>
+  </td>
+  <td style="border-right:1px solid #0E72A4;" valign="top">
+          <input type="text" style="width:100%" readonly="readonly" name="dbserver" value="localhost" />
+  </td>
+  <td><span class="small"></span></td>
+ </tr>
+ <tr>
+  <td style="border-left:1px solid #0E72A4;"><strong>MySQL Database Name</strong>
+  </td>
+  <td style="border-right:1px solid #0E72A4;">
+          <input type="text" style="width:100%" readonly="readonly" name="dbname" value="" />
+  </td>
+  <td><span class="small">Coppermine will <strong>not</strong> create this database for you - it must exist prior to any attempt at installing coppermine. (If you do not have a pre-designated database, you will have to create one, provided you have the authority on your site to do so).</span></td>
+ </tr>
+ <tr>
+  <td style="border-left:1px solid #0E72A4;"><strong>MySQL Username</strong>
+  </td>
+  <td style="border-right:1px solid #0E72A4;">
+          <input type="text" style="width:100%" readonly="readonly" name="dbuser" value="" />
+  </td>
+  <td><span class="small">The mySQL user name does <strong>not</strong> have to be your coppermine admin username, nor is it the necessarily the same as your FTP username (although this <em>can</em> be the case for some users, but only by sheer coincidence or deliberate intention, to simplify site administration).<br />
+  The mySQL user needs the permissions CREATE TABLE, INSERT, ALTER, UPDATE, DELETE, SELECT.</span></td>
+ </tr>
+ <tr>
+  <td style="border-left:1px solid #0E72A4;"><strong>MySQL Password</strong>
+  </td>
+  <td style="border-right:1px solid #0E72A4;">
+          <input type="text" style="width:100%" readonly="readonly" name="dbpass" value="" />
+  </td>
+  <td><span class="small">The password that goes with your mySQL username.</span></td>
+ </tr>
+ <tr>
+  <td style="border-left:1px solid #0E72A4;"><strong>MySQL table prefix</strong><br /><span class="small">(the default value is OK; do not use dots!)</span>
+  </td>
+  <td style="border-right:1px solid #0E72A4;" valign="top">
+          <input type="text" style="width:100%" readonly="readonly" name="table_prefix" value="cpg140_" />
+  </td>
+  <td><span class="small">Coppermine's tables can co-exist in an existing database which has tables used by other applications. All coppermine tables will be using a different prefix from these, as specified here. You can even have several coppermine installs using one database - only the table prefixes have to differ in each case. Unless you know what you are doing, don't change the default value.</span></td>
+ </tr>
+ <tr>
+  <td style="border-left:1px solid #0E72A4;border-right:1px solid #0E72A4;" colspan="2"><strong>ImageMagick</strong>
+  </td>
+  <td rowspan="3" valign="top"><span class="small">You can not fake an ImageMagick path, you have to <em>know</em> it. If you're not sure, leave this field empty - Coppermine will then try to use GD by default. You can edit the path later as well in the <a href="#admin_picture_thumb_advanced">config screen</a>. You can only install ImageMagick or GD if the server is yours to administer - if you're webhosted, you probably can't. The user of the webserver, who wishes to use ImageMagick, will need read/write/execute permissions in the folder where ImageMagick's convert executable resides in.</span></td>
+ </tr>
+ <tr>
+  <td style="border-left:1px solid #0E72A4;border-right:1px solid #0E72A4;" colspan="2" valign="top"><span class="small">Coppermine can use the <a href="http://www.imagemagick.org/" rel="external" class="external">ImageMagick</a> 'convert' program to create thumbnails. Quality of images produced by ImageMagick is superior to GD1 but equivalent to GD2.<br /><br />
+  If ImageMagick is installed on your system and you want to use it, you need to input the full path to the 'convert' program below. On Windows the path should look like 'c:/ImageMagick/' (use / not \ in the path) and should not contain any space, on Unix is it something like '/usr/bin/X11/'.</span>
+  </td>
+ </tr>
+ <tr>
+  <td style="border-left:1px solid #0E72A4;" valign="top"><strong>ImageMagick path</strong>
+  </td>
+  <td style="border-right:1px solid #0E72A4;" valign="top">
+          <input type="text" style="width:100%" readonly="readonly" name="impath" value="" />
+  </td>
+ </tr>
+ <tr>
+  <td colspan="2" align="center" style="border-left:1px solid #0E72A4;border-right:1px solid #0E72A4;border-bottom:1px solid #0E72A4;"><br />
+   <input type="submit" value="Let's Go !" /><br /><br />
+  </td>
+  <td><span class="small">After having entered all required data, click this button to submit the form</span></td>
+ </tr>
+</table>
+<a name="install_screen_end"></a>
+<p><a class="back" href="#top">Back to top</a></p><hr />
+
+<a name="install_what"></a>
+<h3>2.1.3 What the installer does</h3>
+<p>After performing some basic checks, the installer creates the needed database tables for you and fills them with default values. It creates the file include/config.inc.php within the coppermine folder on your server that stores the database details you entered during install. If you should change your mysql database details later (i.e. if you change the password of your mysql user account or if you migrate your gallery to another server), you will need to edit include/config.inc.php manually to reflect the changes. The file include/config.inc.php also keeps the install script from being run twice: if the installer is run, a check is performed wether the config file exists - if yes, the installer will stop and redirect the user to the index page.</p>
+<a name="install_what_end"></a>
+<p><a class="back" href="#top">Back to top</a></p><hr />
+
+<a name="getting"></a>
+<h2>2.2 Getting started</h2>
+<p>Use the &quot;<strong><a href="#albmgr">Album Manager</a></strong>&quot; (&quot;Albums&quot; link in the admin menu) in to create and order your albums. You'll need at least one album your files can go into.</p>
+<p>Use the <strong>anonymous</strong> group to define what non-registered users can and can't do (in the <a href="#group_cp">groups</a> panel).</p>
+<p>Use the <strong><a href="#modif_alb_pics">properties</a></strong> of an album to modify its description and permissions.
+</p>
+<p>In order for a user to be allowed to upload a file in album two conditions must be met:</p>
+<ul>
+  <li> The user must be part of a <a href="#group_cp">group</a> that can upload files.</li>
+  <li>There must be at least one album where &quot;<strong>Visitors can upload files</strong>&quot; has been set to &quot;<strong>Yes</strong>&quot;,<br /> <strong>OR</strong> <br />The user has created an album in the 'user galleries', if allowed.</li>
+</ul>
+<p>The same applies to <strong>picture rating</strong> and <strong>comment posting</strong>.</p>
+<p>If you have installed the script succesfully but are having trouble getting it working properly you can enable the &quot;<strong><a href="#debug_mode">debug mode</a></strong>&quot; on the <strong>Config page</strong>. In this mode, the script outputs most of the warning/error messages produced by PHP in addition to some debug information. This can provide valuable information to understand what is wrong.</p>
+
+
+
+<a name="getting_concepts"></a><h3>2.2.1 Basic concepts<a href="#getting_concepts" title="Link to this section"><img src="pics/anchor.gif" width="15" height="9" border="0" alt="" /></a></h3>
+<p>Of course you're exited about Coppermine and want to start with it right now. However, there are some basic considerations you should make up your mind about first, as some settings can't be changed easily once your gallery has been populated with content.</p>
+<p>So this section is meant as a guide once you've finished <a href="#installation">installing</a> Coppermine. Go through it carefully to avoid issues that may turn up later.</p>
+<ul>
+        <li><strong><a href="#getting_initial_configuration">Initial configuration</a></strong><br />
+        Settings you should edit immediately after finishing the install</li>
+        <li><strong><a href="#getting_structure">Category/album/file structure</a></strong><br />
+        Understand how Coppermine organizes navigation and storage of individual files</li>
+        <li><strong><a href="#getting_admin_account">Your admin account</a></strong><br /></li>
+        <li><strong><a href="#getting_check_uploads">Check uploads</a></strong><br />
+        Make sure uploading works as expected before letting in visitors</li>
+        <li><strong><a href="#getting_consider_bridging">Consider bridging</a></strong><br />
+        Bridging later when you already have users might get difficult</li>
+        <li><strong><a href="#getting_interaction">What are your visitors allowed to do?</a></strong><br />
+        What level of user interaction are you going to allow?</li>
+        <li><strong><a href="#getting_design">Change your coppermine's design</a></strong><br /></li>
+</ul>
+
+
+
+<a name="getting_initial_configuration"></a><h3>2.2.2 Initial configuration<a href="#getting_initial_configuration" title="Link to this section"><img src="pics/anchor.gif" width="15" height="9" border="0" alt="" /></a></h3>
+<p>There are some settings in Coppermine's config that you should edit right after finishing install.</p>
+<p>Log in with the admin username and password you set up during install, click on the &quot;Show admin controls&quot; link if it is visible, go to the <strong>Config</strong> page and start to configure your gallery. Note that even if you are a member of the administrator group, you need to be have &quot;Show admin controls&quot; enabled. In previous versions, this used to be named &quot;admin mode&quot;, but was renamed because some people thought that switching from admin mode to user mode showed them what regular users can see (which is not the case).</p>
+<ul>
+  <li><a href="#admin_general_email">Gallery administrator email</a></li>
+  <li><a href="#admin_general_coppermine-url">URL of your coppermine gallery folder</a></li>
+</ul>
+<p>There are some settings in config that can't be changed later (if there are already files in the database) - make sure to set them up correctly in the first place. Although you'll surely want to start using coppermine immediately it is advisable to configure those settings (marked with an asterisk &quot;*&quot;) properly at the very beginning.</p>
+
+<a name="getting_structure"></a><h3>2.2.3 Category, albums and file structure<a href="#getting_structure" title="Link to this section"><img src="pics/anchor.gif" width="15" height="9" border="0" alt="" /></a></h3>
+<p>The Coppermine Photo Gallery works in the following way:</p>
+<ul>
+  <li>Files are stored in albums</li>
+  <li>Albums are organised in categories</li>
+  <li>Categories can be nested (into subcategories)</li>
+</ul>
+
+<p>If you don't plan to have many albums, you really won't need to use the categories feature. If this applies to you, simply do not create any categories and all your albums will automatically appear on the main page of the script.</p>
+<p>There is, however, a special category named &quot;<strong>User galleries</strong>&quot;. This category can't be deleted. If a user belongs to the group &quot;can have a personal gallery&quot; and this is set to YES, he will have the right to create his own albums and his gallery will be a sub-category of &quot;User galleries&quot;. This link is not visible to visitors of your site, however, if you do not allow users to upload pics and have their own albums. </p>
+<p>The administrator can create albums in any category. Non-administrative users can only create albums in the &quot;User galleries/Their_username&quot;.</p>
+<p>You can, however rename the &quot;User Galleries&quot;. To rename the &quot;<strong>User galleries</strong>&quot; category and description, simply go to your <a href="#cat_cp">category control panel</a> and change the name there (e.g. to translate the words &quot;User galleries&quot; into your language).</p>
+
+<a name="getting_admin_account"></a><h3>2.2.4 Your admin account<a href="#getting_admin_account" title="Link to this section"><img src="pics/anchor.gif" width="15" height="9" border="0" alt="" /></a></h3>
+<p>It's mandatory to have your admin account configured properly and to memorize the admin account data. Coppermine even provides you with the option to retrieve a lost password, but for this, you have to configure an email address for every account. When users sign up, they have to enter an email address, so this should not be a problem. However, the admin account that you created during setup doesn't have an email account yet. You should go to your profile when logged in as admin and specify a valid email address for the admin there - this way, you can later request a new password if you forget it.</p>
+
+
+
+<a name="getting_check_uploads"></a><h3>2.2.5 Check uploads<a href="#getting_check_uploads" title="Link to this section"><img src="pics/anchor.gif" width="15" height="9" border="0" alt="" /></a></h3>
+<p>Before actually promoting your coppermine gallery publicly, you should make sure that uploads work as expected, as they are the most common issues users have, caused by the huge amount of factors that have to be taken into account. Review the <a href="#upload_trouble">upload troubleshooting section</a> if you have issues.</p>
+
+
+
+<a name="getting_consider_bridging"></a><h3>2.2.6 Consider bridging<a href="#getting_consider_bridging" title="Link to this section"><img src="pics/anchor.gif" width="15" height="9" border="0" alt="" /></a></h3>
+<p>Coppermine was designed to be used as standalone application in the first place. However, many people wanted to integrate it with another app, so starting with cpg1.1.x coppermine came with a mechanism that allowed users to bridge coppermine with another app in terms of user management. The main advantage is giving your site visitors a single sign-on for your overall site (e.g. both in your gallery and your forum), so they don't have to sign in twice and memorize two different logons.</p>
+<p>Bridging does <strong>not</strong> integrate coppermine visually into your home page (you have to <a href="#creating">create a custom theme</a> to accomplish this).</p>
+<p>You can enable (or disable) bridging at any time, but you should make up your mind on bridging when installing Coppermine in the first place, because there are some issues that have to be taken into account: if you already have users inside your coppermine database when enabling bridging, the correlation between those initial coppermine users and the "new" users from the app you bridge with gets lost. As a consequence, there will be no more correlation between things your "old" users did (uploading pic, posting comments etc.) and the "new" users from the bridge.</p>
+<p>To circumvent those future issues, you should make up your mind when installing coppermine: do you want to allow user interaction? Do you plan to offer a bulletin board later (or any other application that keeps track of users)? If your answer is "yes", or "maybe", then it's advisable to enable bridging before actually promoting your site publicly and starting to let users in.</p>
+<p>Read up details in the <a href="#integrating">bridging section</a> of the docs.</p>
+
+
+
+<a name="getting_interaction"></a><h3>2.2.7 What are your visitors allowed to do?<a href="#getting_interaction" title="Link to this section"><img src="pics/anchor.gif" width="15" height="9" border="0" alt="" /></a></h3>
+<p>Coppermine can be used for a variety or purposes: some use it to display their personal files to everyone on the internet, others want only a limited number of users to be able to access the site for viewing only and no interaction at all. A large number of webmasters want to create a community site, where users can participate by uploading files, comment on other's files and rate them.</p>
+<p>You can use Coppermine in all those setups (and a mixture of it), but you should be aware of the possibilities and limitations first:</p>
+<p>Users &quot;inherit&quot; their permissions from the group they're in. That's why many settings in Coppermine are set per group. This way, you can have several levels of permissions. Set permissions by group using the <a href="#group_cp">group control panel</a></p>
+
+
+<a name="getting_design"></a><h3>2.2.8 Change your coppermine's design<a href="#getting_design" title="Link to this section"><img src="pics/anchor.gif" width="15" height="9" border="0" alt="" /></a></h3>
+<p>You can change some layout and design aspects (e.g. <a href="#admin_album_list_content">displaying random thumbnails on the index page</a>) in the corresponding config section. Coppermine comes with a theme engine that allows you to customize the look of your gallery. You can choose one of the themes that come with Coppermine or you can download user-contributed themes from the downloads section of the Coppermine homepage. Based on the available themes you can <a href="#theme_create">customize your individual theme</a> to make your site look unique and make your gallery match the overall look of your site.</p>
+<p><a class="back" href="#top">Back to top</a></p><hr />
+
+
+<a name="creating"></a>
+<h2>2.3 Creating or upgrading your own themes</h2>
+<p>Coppermine comes with a powerful engine that allows you to <a href="#theme_create">create your own theme</a>, giving your gallery a unique look that matches the overall layout of your entire site. Other applications call them &quot;skins&quot; or &quot;templates&quot;, well call them &quot;themes&quot;.</p>
+<p>There is a (constantly growing) number of user-contributed themes that can be previewed and downloaded from the Coppermine web site.</p>
+-------------------------------------
+<a name="theme_builtin"></a><h3>2.3.1 Themes that come with Coppermine<a href="#theme_builtin" title="Link to this section"><img src="pics/anchor.gif" width="15" height="9" border="0" alt="" /></a></h3>
+<p>The Coppermine package comes with some pre-made themes:</p>
+<ul>
+  <li><strong>Classic</strong><br />
+  The default theme with white background and a horizontal menu</li>
+  <li><strong>Eyeball</strong><br />
+  A theme with a dark background and a horizontal menu that expands for user interaction features</li>
+  <li><strong>Fruity</strong><br />
+  A colorful theme with a vertical menu on the left</li>
+  <li><strong>Hardwired</strong><br />
+  A theme with a dark background and a smallish font size that works well for narrow space and smaller resolutions. Comes with two horizontal menus</li>
+  <li><strong>IGames</strong><br />
+  A dark theme with 3D-effects and a horizontal menu</li>
+  <li><strong>Mac OX X</strong><br />
+  A theme with light background and an expanding horizontal menu that resembles the look of a Mac</li>
+  <li><strong>Project VII</strong><br />
+  A theme with white background featuring a horizontal expanding menu</li>
+  <li><strong>Rainy Day</strong><br />
+  A theme with dark background and rounded edges</li>
+  <li><strong>Sample</strong><br />
+  The sample theme would look identical to the classic theme. It will not be displayed using the <a href="#admin_theme_theme_list">theme selector</a> - it is just meant as <a href="#theme_sample">a template to copy from</a> when creating or modifying your own theme.</li>
+  <li><strong>Waterdrop</strong><br />
+  A theme with a light background and a &quot;conventional&quot; horizontal menu</li>
+</ul>
+
+<a name="theme_upgrading"></a><h3>2.3.2 Upgrading your custom theme<a href="#theme_upgrading" title="Link to this section"><img src="pics/anchor.gif" width="15" height="9" border="0" alt="" /></a></h3>
+<p>To upgrade an existing custom theme from cpg1.3.x to version 1.4.x, read the <a href="theme/index.html">theme upgrade documentation</a>.</p>
+<p>You only have to upgrade your custom theme when upgrading between major versions (e.g. from cpg1.3.x to cpg1.4.x), as from one major version to the next, the theming engine is subject to changes. When only upgrading from minor versions to the next (e.g. from cpg1.4.x to cpg1.4.y), you don't have to update your custom theme.</p>
+<p>The core themes that come with Coppermine packages don't need to be updated, as they should be replaced during the upgrade and therefor will contain all needed changes. However: if you have based your custom theme on one of the core themes that come with coppermine (e.g. the classic theme), pay attention to possible changes. As suggested below, it's advisable to rename your custom theme to make sure that it doesn't accidentally get overwritten when upgrading.</p>
+<a name="theme_upgrading_end"></a>
+
+<a name="theme_files"></a><h3>2.3.3 Content of a theme<a href="#theme_files" title="Link to this section"><img src="pics/anchor.gif" width="15" height="9" border="0" alt="" /></a></h3>
+<p>Coppermine themes are stored in the &quot;<strong>themes</strong>&quot; directory, each consists of 3 primary files : </p>
+<ul>
+  <li>&quot;<strong>template.html</strong>&quot; the main template in plain HTML.</li>
+  <li>&quot;<strong>style.css</strong>&quot; the stylesheet associated with the template</li>
+  <li>&quot;<strong>theme.php</strong>&quot; the PHP theme file</li>
+</ul>
+<p>Additionally, there usually is a folder named &quot;images&quot; that resides within the theme folder (themes/theme_name/images/) that contains the images used by the particular theme (logos, bullets, backgrounds and other graphical resources needed).</p>
+<a name="theme_files_end"></a>
+
+<a name="theme_sample"></a><h3>2.3.4 The sample theme - a template to copy from<a href="#theme_sample" title="Link to this section"><img src="pics/anchor.gif" width="15" height="9" border="0" alt="" /></a></h3>
+<p>Your Coppermine installation also includes a &quot;sample&quot; theme directory. The &quot;sample&quot; theme includes each of these files but does not show up in the user selectable list of themes in your Coppermine display. Sample's theme.php also holds a copy of every themeable function and template for your reference. If you opt to use the &quot;sample&quot; theme to begin creating your own theme, you should follow the theme.php instructions in the &quot;<a href="theme/index.html">theme upgrade documentation</a>&quot; and begin with a blank theme.php.</p>
+<p>To clarify: you <strong>mustn't</strong> edit the sample theme (as it will not be displayed), but copy the sections you want to see changed from it into your custom theme. Don't copy the whole content from themes/sample/theme.php into your custom theme, as this will only clutter your custom theme and will make upgrading very hard in the future. Instead, copy the sections you want to modify.</p>
+<a name="theme_sample_end"></a>
+
+<a name="theme_engine"></a><h3>2.3.5 How the theme engine works<a href="#theme_engine" title="Link to this section"><img src="pics/anchor.gif" width="15" height="9" border="0" alt="" /></a></h3>
+<p>When a Coppermine page is being parsed, the core code will call theme functions. If those functions exist in your custom theme, they will be taken into account. If a particular function does not exist in your custom theme, the core function will be used. The core functions (the default theme behaviour if you want to put it that way) reside in includes/themes.inc.php. Therefor, you <strong>mustn't</strong> edit includes/themes.inc.php, under no circumstances, as all your changes will be lost when upgrading in the future. Everything that possibly could be accomplished by editing include/themes.inc.php can be accomplished by editing themes/yourtheme/theme.php as well - stuff defined in your custom theme will take precedence over the core theme functions.</p>
+<a name="theme_engine_end"></a>
+
+<a name="theme_create"></a><h3>2.3.6 Creating your custom theme<a href="#theme_create" title="Link to this section"><img src="pics/anchor.gif" width="15" height="9" border="0" alt="" /></a></h3>
+<a name="theme_create_rename"></a><h4>2.3.6.1 Rename your theme first<a href="#theme_create_rename" title="Link to this section"><img src="pics/anchor.gif" width="15" height="9" border="0" alt="" /></a></h4>
+<p>To create a new theme, the best solution is to use an existing one as its copy template. To do that, make a copy of the folder of the theme you want to use as a basis. Then edit the &quot;<strong>template.html</strong>&quot;, &quot;style.css&quot; and &quot;<strong>theme.php</strong>&quot; files and replace all occurences of &quot;<strong>themes/old_theme_dir</strong>&quot; with &quot;<strong>themes/new_theme_dir</strong>&quot; in order for the links to point to the correct place.<br />
+Avoid using spaces and special chars in your custom theme name - only use alphanumerals and the underscore (_).</p>
+<p>Also keep in mind that despite this file being located in the &quot;<strong>themes/your_theme_dir</strong>&quot; directory, it must be coded as if it was in the main directory of the coppermine installation. For example, in order to display an image, you must use <tt class="code">&lt;img src=&quot;<strong>themes</strong>/theme_dir/images/image.gif&quot; alt=&quot;&quot;/&gt;</tt> and not just <tt class="code">&lt;img src=&quot;images/image.gif&quot; alt=&quot;&quot;/&gt;.</tt> The same principle applies for the &quot;<strong>theme.php</strong>&quot; file.</p>
+<div class="quote">
+<p><strong>Example:</strong></p>
+<ul>
+  <li><strong>Create a copy</strong><br />
+  Browse the local coppermine gallery copy on your client, navigate to the themes folder (<tt class="code">your_coppermine_folder/themes/</tt>), right-click on the folder name that represents the theme you want to base your custom theme on (in this example, we will use the classic theme, so we will use <tt class="code">your_coppermine_folder/themes/classic/</tt>), select &quot;copy&quot; from the context menu. Then paste the content of the clipboard into the themes folder; a folder (named &quot;Copy of classic&quot; or similar) will turn up.</li>
+  <li><strong>Rename the folder</strong><br />
+  Right-click on the newly created folder (<tt class="code">your_coppermine_folder/themes/Copy of classic/</tt>) and select &quot; rename&quot; from the context menu. Choose a unique theme name - in this example, we will use &quot;my_theme&quot; (resulting in the folder to be renamed to <tt class="code">your_coppermine_folder/themes/my_theme/</tt>).<br />
+  Keep in mind that we will upload the theme to your webserver later - you will have to make sure to properly use capitalization: on Windows-driven clients, capitalization does not matter, so there is no difference between &quot;<tt class="code">My_theme</tt>&quot; and &quot;<tt class="code">My_theme</tt>&quot;. Most webservers are Linux-driven though, where capitalization <em>does</em> matter (there <em>is</em> a difference between &quot;<tt class="code">My_theme</tt>&quot; and &quot;<tt class="code">My_theme</tt>&quot;). To be safe it is recommended to use lower case to stay out of harms way.</li>
+  <li><strong>Edit the files to reflect the theme name</strong><br />
+  Use a plain text editor (in this example, we will use notepad.exe), open <tt class="code">your_coppermine_folder/themes/my_theme/template.html</tt>. Find &quot;<tt class="code">themes/classic</tt>&quot; and replace with &quot;<tt class="code">themes/my_theme</tt>&quot; (may exist in the file several times, so make sure to replace <em>all</em> occurrences of &quot;<tt class="code">themes/classic</tt>&quot; with &quot;<tt class="code">themes/my_theme</tt>&quot;). Save your changes. Then do the same thing for the files <tt class="code">theme.php</tt> and <tt class="code">style.css</tt>.
+  </li>
+</ul>
+</div>
+<p>It is strongly recommended to rename your custom theme as suggested above, even if you only plan to accomplish minor changes to a default theme that coppermine comes with. The reason is quite simple: when upgrading at a later stage, you will not run into issues (e.g. accidentally overwrite your customized theme with an updated default theme).</p>
+
+<a name="theme_create_tipps"></a><h4>2.3.6.2 Tipps &amp; tricks<a href="#theme_create_tipps" title="Link to this section"><img src="pics/anchor.gif" width="15" height="9" border="0" alt="" /></a></h4>
+<p>If you're not sure how to go about creating your own theme, you could also have a look at the download section of the coppermine homepage: there are many user-contributed themes available for download that can be previewed on the <a href="http://coppermine-gallery.net/demo/cpg14x/" rel="external" class="external">coppermine demo page</a>.</p>
+<p>While you're in the process of creating or testing a new theme, you might not want your theme to be displayed to visitors of your site, but you (as the coppermine admin) may want to still be able to preview your theme. To do that, simply add <tt class="code">theme=your_theme_name</tt> to the url in your browser.</p>
+<br />
+<div class="quote">
+<strong>Examples:</strong>
+<ul>
+<li><tt class="code">http://yoursite.tld/coppermine/index.php?theme=your_theme_name</tt> will show the coppermine index page, using your theme</li>
+<li><tt class="code">http://yoursite.tld/coppermine/thumbnails.php?album=1&amp;theme=your_theme_name</tt> will show the thumbnail view of album 1, using your theme</li>
+<li><tt class="code">http://yoursite.tld/coppermine/?theme=xxx</tt> will reset your view back to the theme you chose as your <a href="#admin_theme_theme">default theme</a> in coppermine config</li>
+</ul>
+</div>
+
+<a name="theme_create_wysiwyg"></a><h4>2.3.6.3 Using WYSIWYG-editors<a href="#theme_create_wysiwyg" title="Link to this section"><img src="pics/anchor.gif" width="15" height="9" border="0" alt="" /></a></h4>
+<p>If you are using an HTML editor to design your template, the easist working solution might be to save the &quot;<strong>template.html</strong>&quot; file into the main directory of your coppermine installation and edit it there. Whenever you load Coppermine, if the script finds a file named &quot;<strong>template.html</strong>&quot; in the main directory it will load it instead of the default one that you assigned in the CONFIG menu. Once you have finished  editing your theme be sure to move the file back into the directory it belongs. Don't forget to remove the temporary template.html file from the Coppermine root folder once you are done editing!</p>
+<p class="important">It is strongly recommended <strong>not</strong> to use a <acronym title="What You See Is What You Get">WYSIWYG</acronym>-editor at all to edit Coppermine files. The coppermine dev team is aware that it might seem easier for beginners to use those graphical editors. However, they have some major drawbacks:</p>
+<ul>
+  <li>Some editors (mostly MS Frontpage) are notorious for &quot;beautifying&quot; the code in a manner that renders embedded PHP code invalid. Subsequently, if you use a WYSIWYG-editor to edit theme.php, the file may get corrupt (i.e. un-usable)</li>
+  <li>Graphical editors tend to create deprecated, invalid, proprietary HTML. You have more control if you use a plain text editor instead.</li>
+  <li>You don't learn anything. Sooner or later, you will want to do something your precious WYSIWYG-editor isn't capable to do. Now what? You have always used the editor to do your work - you don't understand HTML. When using a plain text editor, the learning curve may be steep, but it's much more entertaining.</li>
+</ul>
+
+<a name="theme_create_template_html"></a><h4>2.3.6.4 Editing template.html<a href="#theme_create_template_html" title="Link to this section"><img src="pics/anchor.gif" width="15" height="9" border="0" alt="" /></a></h4>
+<p>The file template.html is the core file of each theme: it can only contain HTML/CSS/JavaScript code (no PHP!) plus some placeholder tokens that will get replaced with content when the theme is being parsed (i.e. when the HTML output of a gallery page is being generated). Template.html determines the overall layout of your gallery pages. Use it to make your gallery match the overall look of your entire website.</p>
+
+<a name="theme_create_template_token"></a><h4>2.3.6.5 Template tokens<a href="#theme_create_template_token" title="Link to this section"><img src="pics/anchor.gif" width="15" height="9" border="0" alt="" /></a></h4>
+<p>When editing the &quot;<strong>template.html</strong>&quot; file do not remove the elements between <strong>{}</strong> - these are the placeholders used by the script. Think of those items in curly brackets as placeholders that will be replaced later with dynamic content when your template is being parsed. You can move the placeholder tokens around to obtain different layouts. However, you have to understand that the {GALLERY}-token is a special placeholder: think of it more as a separator than an actual placeholder token. When the template is being parsed, the {GALLERY}-token will be replaced with the actual core component of the gallery. Other placeholders tokens in curly braces that come <em>before</em> the {GALLERY} token are being handled by the pageheader function; placeholder tokens that come <em>after</em> the {GALLERY}-token are being handled by the pagefooter function. Therefor, you have to keep in mind that you can freely move tokens around in template.html as long as you don't reverse the position of the token you move and the {GALLERY}-token.</p>
+
+<a name="theme_create_template_token_list"></a><h4>2.3.6.6 List of tokens in template.html<a href="#theme_create_template_token_list" title="Link to this section"><img src="pics/anchor.gif" width="15" height="9" border="0" alt="" /></a></h4>
+<table border="0" cellspacing="0" cellpadding="0" class="maintable">
+  <tr>
+    <th valign="top" align="left" class="tableh1">Token</th>
+    <th valign="top" align="left" class="tableh1">Description</th>
+    <th valign="top" align="left" class="tableh1">Default position</th>
+    <th valign="top" align="left" class="tableh1">Needed?</th>
+    <th valign="top" align="left" class="tableh1">Dependancies</th>
+  </tr>
+  <tr>
+    <td valign="top" class="tableb">{LANG_DIR}</td>
+    <td valign="top" class="tableb" class="tableb">
+      <strong>Language direction</strong><br />
+      Possible values are <abbr title="left-to-right">LTR</abbr> and <abbr title="right-to-left">RTL</abbr>. Should not be changed or modified at all.
+    </td>
+    <td valign="top" class="tableb">pageheader</td>
+    <td valign="top" class="tableb">mandatory</td>
+    <td valign="top" class="tableb">Filled by Coppermine, depending on the orientation of the language the end user has chosen</td>
+  </tr>
+  <tr>
+    <td valign="top" class="tableb tableb_alternate">{CHARSET}</td>
+    <td valign="top" class="tableb tableb_alternate">
+      <strong>Character set</strong><br />
+      Determines the character set used - filling the HTML tag <tt class="code"><meta http-equiv="Content-Type" content="text/html; charset={CHARSET}" /></tt>. Do not change unless you <em>really</em> know what you're doing.
+    </td>
+    <td valign="top" class="tableb tableb_alternate">pageheader</td>
+    <td valign="top" class="tableb tableb_alternate">mandatory</td>
+    <td valign="top" class="tableb tableb_alternate">Filled by Coppermine, depending on the <a href="#admin_language_charset">encoding</a> the admin has chosen in config.</td>
+  </tr>
+  <tr>
+    <td valign="top" class="tableb">{TITLE}</td>
+    <td valign="top" class="tableb">
+      <strong>Page Title</strong><br />
+      The page title that is mainly taken into account by search engines. The human visitor sees the title tag in the browser window.
+    </td>
+    <td valign="top" class="tableb">pageheader</td>
+    <td valign="top" class="tableb">mandatory</td>
+    <td valign="top" class="tableb">Title tag is being composed in the individual coppermine core file (e.g. displayimage.php, thumbnails.php etc.), handed over to the pageheader function.</td>
+  </tr>
+  <tr>
+    <td valign="top" class="tableb tableb_alternate">{META}</td>
+    <td valign="top" class="tableb tableb_alternate">
+      <strong>Meta tags</strong><br />
+      Meta tags that depend on the dynamic content of a page are being inserted here. Currently, Coppermine uses the keywords meta tag (<tt class="code">&lt;meta name="keywords" content="DYNAMIC CONTENT HERE" /&gt;</tt>) and the refresh meta tag (<tt class="code">&lt;meta http-equiv="refresh" content="5; URL=REDIRECTION_PAGE" /&gt;</tt>).<br />
+      If you want to add other meta tags (e.g. author meta data like <tt class="code">&lt;meta name="author" content="Firstname Lastname" /&gt;</tt>), do not replace the token, but add your custom meta tags below the {META}-token.
+    </td>
+    <td valign="top" class="tableb tableb_alternate">pageheader</td>
+    <td valign="top" class="tableb tableb_alternate">mandatory</td>
+    <td valign="top" class="tableb tableb_alternate">Populated dynamically by the script, e.g. for meta keywords based on file keywords or for redirection for status change screens.</td>
+  </tr>
+  <tr>
+    <td valign="top" class="tableb tableb_alternate">{CUSTOM_HEADER}</td>
+    <td valign="top" class="tableb tableb_alternate">
+      <strong>Custom Header</strong><br />
+      If the corresponding option has been set in config, this token will be replaced with the output that your <a href="#admin_theme_include_path_start">custom header</a> generates. If you don't use the custom header feature, you can remove the {CUSTOM_HEADER}-token from your template, but it's advisable to leave it in place if you decide to use the feature later.
+    </td>
+    <td valign="top" class="tableb tableb_alternate">pageheader</td>
+    <td valign="top" class="tableb tableb_alternate">optional</td>
+    <td valign="top" class="tableb tableb_alternate"><a href="#admin_theme_include_path_start">Path to custom header include</a> set up in config</td>
+  </tr>
+  <tr>
+    <td valign="top" class="tableb">{GAL_NAME}</td>
+    <td valign="top" class="tableb">
+      <strong>Gallery name</strong><br />
+      Will be replaced with the gallery name you set up in config when the template is being parsed. You might want to remove this token, especially if you already have a banner in your theme that displays your gallery name.
+    </td>
+    <td valign="top" class="tableb">pageheader</td>
+    <td valign="top" class="tableb">optional</td>
+    <td valign="top" class="tableb"><a href="#admin_general_name">Gallery name</a> set in config</td>
+  </tr>
+  <tr>
+    <td valign="top" class="tableb tableb_alternate">{GAL_DESCRIPTION}</td>
+    <td valign="top" class="tableb tableb_alternate">
+      <strong>Gallery description</strong><br />
+      Will be replaced with the gallery description you set up in config when the template is being parsed. You might want to remove this token, especially if you already have a banner in your theme that displays your gallery name.
+    </td>
+    <td valign="top" class="tableb tableb_alternate">pageheader</td>
+    <td valign="top" class="tableb tableb_alternate">optional</td>
+    <td valign="top" class="tableb tableb_alternate"><a href="#admin_general_description">Gallery description</a> set in config</td>
+  </tr>
+  <tr>
+    <td valign="top" class="tableb">{SYS_MENU}</td>
+    <td valign="top" class="tableb">
+      <strong>System menu</strong><br />
+      Determines the position of the first level menu the end user will see on your page (the one that contains the login/logout link). Even if you want to get rid of the menu or parts of it, do not remove the {SYS_MENU} token itself, but remove the menu items you don't want displayed by editing theme.php instead.
+    </td>
+    <td valign="top" class="tableb">pageheader</td>
+    <td valign="top" class="tableb">mandatory</td>
+    <td valign="top" class="tableb">
+      <ul>
+        <li>Login/Logout link: Status of user (admin/registered user/guest).</li>
+        <li>Upload-link: Permission of current user to upload (determined in <a href="#group_cp">groups panel</a>).</li>
+        <li>Register-link: <a href="#admin_allow_registration">Allow new user registrations</a> enabled/disabled in config.</li>
+        <li>FAQ-link: <a href="#admin_theme_faq">Display FAQ</a> enabled/disabled in config.</li>
+      </ul>
+    </td>
+  </tr>
+  <tr>
+    <td valign="top" class="tableb tableb_alternate">{SUB_MENU}</td>
+    <td valign="top" class="tableb tableb_alternate">
+      <strong>Sub menu</strong><br />
+      Determines the position of the second level menu the end user will see on your page (the one that contains the links &quot;Album list&quot; / &quot;Last uploads&quot; / &quot;Last comments&quot; / &quot;Most viewed&quot; / &quot;Top rated&quot; / &quot;My Favorites&quot; / &quot;By Date&quot; / &quot;Search&quot;). Even if you want to get rid of the menu or parts of it, do not remove the {SUB_MENU} token itself, but remove the menu items you don't want displayed by editing theme.php instead.
+    </td>
+    <td valign="top" class="tableb tableb_alternate">pageheader</td>
+    <td valign="top" class="tableb tableb_alternate">mandatory</td>
+    <td valign="top" class="tableb tableb_alternate"><abbr title="not applicable">n/a</abbr></td>
+  </tr>
+  <tr>
+    <td valign="top" class="tableb">{LANGUAGE_SELECT_FLAGS}</td>
+    <td valign="top" class="tableb">
+      <strong>Language selector (flags)</strong><br />
+      Will display a row of flags representing the languages available for the end user to choose if corresponding config setting is enabled.
+    </td>
+    <td valign="top" class="tableb">pageheader</td>
+    <td valign="top" class="tableb">optional</td>
+    <td valign="top" class="tableb"><a href="#admin_language_flags">Display language flags</a> enabled/disabled in config.</td>
+  </tr>
+  <tr>
+    <td valign="top" class="tableb tableb_alternate">{LANGUAGE_SELECT_LIST}</td>
+    <td valign="top" class="tableb tableb_alternate">
+      <strong>Language selector (list)</strong><br />
+      Will display a dropdown list of languages available for the end user to choose if corresponding config setting is enabled.
+    </td>
+    <td valign="top" class="tableb tableb_alternate">pageheader</td>
+    <td valign="top" class="tableb tableb_alternate">optional</td>
+    <td valign="top" class="tableb tableb_alternate"><a href="#admin_language_list">Display language list</a> enabled/disabled in config.</td>
+  </tr>
+  <tr>
+    <td valign="top" class="tableb">{THEME_SELECT_LIST}</td>
+    <td valign="top" class="tableb">
+      <strong>Theme selector (list)</strong><br />
+      Will display a dropdown list of themes available for the end user to choose if corresponding config setting is enabled.
+    </td>
+    <td valign="top" class="tableb">pageheader</td>
+    <td valign="top" class="tableb">optional</td>
+    <td valign="top" class="tableb"><a href="#admin_theme_theme_list">Display theme list</a> enabled/disabled in config.</td>
+  </tr>
+  <tr>
+    <td valign="top" class="tableb tableb_alternate">{ADMIN_MENU}</td>
+    <td valign="top" class="tableb tableb_alternate">
+      <strong>Admin menu</strong><br />
+      Displays the admin menu.
+    </td>
+    <td valign="top" class="tableb tableb_alternate">pageheader</td>
+    <td valign="top" class="tableb tableb_alternate">mandatory</td>
+    <td valign="top" class="tableb tableb_alternate">Admin must be logged in. Admin controls mustn't be hidden.</td>
+  </tr>
+  <tr>
+    <td valign="top" class="tableb tableb_alternate">{GALLERY}</td>
+    <td valign="top" class="tableb tableb_alternate">
+      <strong>Gallery</strong><br />
+    </td>
+    <td valign="top" class="tableb tableb_alternate"><abbr title="not applicable">n/a</abbr></td>
+    <td valign="top" class="tableb tableb_alternate">mandatory</td>
+    <td valign="top" class="tableb tableb_alternate"></td>
+  </tr>
+  <tr>
+    <td valign="top" class="tableb">{CUSTOM_FOOTER}</td>
+    <td valign="top" class="tableb">
+      <strong>Custom Footer</strong><br />
+      If the corresponding option has been set in config, this token will be replaced with the output that your <a href="#php-content_header_footer">custom footer</a> generates. If you don't use the custom footer feature, you can remove the {CUSTOM_FOOTER}-token from your template, but it's advisable to leave it in place if you decide to use the feature later.
+    </td>
+    <td valign="top" class="tableb">pagefooter</td>
+    <td valign="top" class="tableb">optional</td>
+    <td valign="top" class="tableb"><a href="#admin_theme_include_path_start">Path to custom footer include</a> set up in config</td>
+  </tr>
+  <tr>
+    <td valign="top" class="tableb tableb_alternate">{VANITY}</td>
+    <td valign="top" class="tableb tableb_alternate">
+      <strong>Vanity block</strong><br />
+      If your custom theme is defined as valid theme and you have enabled the corresponding option in config, the {VANITY}-placeholder will be replaced with mini-banners that link to PHP.net, mysql.com and the HTML and CSS validators of the W3C.<br />
+      <img src="pics/vanity.png" width="351" height="26" border="0" alt="" title="vanity block" />
+    </td>
+    <td valign="top" class="tableb tableb_alternate">pagefooter</td>
+    <td valign="top" class="tableb tableb_alternate">optional</td>
+    <td valign="top" class="tableb tableb_alternate">
+      <a href="#vanity_block">Display the vanity block on themes that are defined as XHTML and CSS compliant</a> enabled in config.<br />
+      Theme defined XHTML and CSS compliant in theme.php
+    </td>
+  </tr>
+</table>
+
+
+<a name="theme_create_colors"></a><h4>2.3.6.7 Modifying colors<a href="#theme_create_colors" title="Link to this section"><img src="pics/anchor.gif" width="15" height="9" border="0" alt="" /></a></h4>
+<p>To modify the colors, fonts, font sizes, etc... used by the script, you should edit the &quot;<strong>style.css</strong>&quot; stylesheet whenever possible. For example, if you want to increase or decrease the size of the fonts you can simply modify the line with : <tt class="code">table { font-size: 12px; }</tt>. Most of the font sizes used by the script are defined as a percentage of this size.</p>
+
+<a name="theme_create_theme_php"></a><h4>2.3.6.8 Editing theme.php<a href="#theme_create_theme_php" title="Link to this section"><img src="pics/anchor.gif" width="15" height="9" border="0" alt="" /></a></h4>
+<p>The &quot;<strong>theme.php</strong>&quot; file contains all the HTML templates used by the script. You can edit them, as well. When making modifications to these templates, be careful that you do not alter the lines that start with <tt class="code">&lt;!-- BEGIN xxx --&gt;</tt> and <tt class="code">&lt;!-- END xxx --&gt;</tt>. These lines are often used to identify the start and end of specific code blocks that the script will use to display your gallery.</p>
+
+
+<a name="theme_create_end"></a>
+<p><a class="back" href="#top">Back to top</a></p><hr />
+
+<a name="safe"></a>
+<h2>2.4 Safe mode issues</h2>
+<p>A significant number of webhosts on the Internet run PHP in safe mode. Coppermine runs without any problem in safe mode and with the &quot;open basedir restriction&quot; active, provided safe mode is properly configured. Unfortunately, on many hosts, safe mode is not configured properly.</p>
+<p>If your webhost is running PHP in safe mode but is misconfigured, you may need to do the following :</p>
+<ul>
+  <li>With a FTP program, change the mode of Coppermine's &quot;<strong>include</strong>&quot; directory on your server to <strong>0777</strong>.</li>
+  <li>Do the same for the &quot;<strong>albums</strong>&quot; and &quot;<strong>userpics</strong>&quot; directories.</li>
+  <li>Check that at the beginning the the &quot;<strong>include/config.inc.php</strong>&quot; file, you have a line with : &quot;<strong>define('SILLY_SAFE_MODE', 1);</strong>&quot;</li>
+</ul>
+<p><a class="back" href="#top">Back to top</a></p><hr />
+
+<a name="smtp"></a>
+<h2>2.5 Using SMTP to send emails</h2>
+<p>By default the script uses the PHP built-in <strong>mail</strong> function to send emails. In some cases, the PHP built-in function can't be used.</p>
+<p> If, in order to send emails with PHP, you are required to supply a <strong>hostname</strong>, a <strong>username</strong> and a <strong>password</strong>, you will need to edit the CONFIG menu section &quot;Email settings&quot; and insert the correct values there. If you don't need a username and password to connect to your SMTP server, just leave these lines blank. If you don't know what settings to enter, you will need to check with your webhost.</p>
+<p><a class="back" href="#top">Back to top</a></p><hr />
+
+<a name="upgrade"></a>
+<h1>3. Upgrading</h1>
+<a name="upgrade_steps"></a>
+<h2>3.1 Upgrade steps</h2>
+<a name="10"></a>
+<h3>3.1.1 Upgrading from version 1.0</h3>
+
+<p>If you already have installed version 1.0 and you want to transfer your albums to version 1.4x follow the following steps:</p>
+<ul>
+  <li>First, make a backup (dump) of your database.</li>
+  <li> Install version 1.4.x as you normally would but in a directory different from the one where you v 1.0 is. Note that in order to use the upgrade script, <strong>tables for version 1.0 and 1.4.x must be stored in the same database</strong>.</li>
+  <li>Copy the &quot;<strong>albums</strong>&quot; directory of version 1.0 into the directory where you installed version 1.4.x</li>
+  <li>The upgrade script assumes that you used the &quot;<strong>CPG_</strong>&quot; prefix for tables (default value) when you installed version 1.0, if this is not the case, edit upgrade-1.0-to-1.2.php and edit the $prefix10 variable.</li>
+  <li>Login to your 1.4.x Gallery, enter the admin mode</li>
+  <li>And call the upgrade script, http://yousitename/coppermine_dir/upgrade-1.0-to-1.2.php</li>
+  <li><strong>The upgrade from 1.0 to 1.4.x is a two-step process.</strong> You must click the link which comes up on the bottom of the page to complete the upgrade!.</li>
+        <li><strong>Delete upgrade-1.0-to-1.2.php from your server</strong>.</li>
+        <li>If you get an error, go to Coppermine 1.4.x config page, enable <a href="#debug_mode">debug mode</a>, try to call the upgrade script again and check what errors you get.</li>
+</ul>
+<p> <strong>This upgrade process leaves your v1.0 gallery untouched </strong></p>
+<p><a class="back" href="#top">Back to top</a></p><hr />
+
+<a name="13"></a>
+<h3>3.1.2 Upgrading from cpg1.1.x, cpg1.2.x or cpg1.3.x to version cpg1.4.x</h3>
+    <ul>
+        <li>First, make a backup (dump) of your database.</li>
+        <li>Backup your include/config.inc.php file, your anycontent.php file and your &quot;albums&quot; directory.</li>
+        <li>Unpack the archive</li>
+        <li><strong>Except for the &quot;albums&quot; directory</strong>, upload all of the new files and directories making sure not to overwrite the include/config.inc.php file, your anycontent.php file or the albums directory.</li>
+        <li>Delete all leftover, outdated language files in the lang folder</li>
+        <li>If you have not already done so, create a folder called &quot;edit&quot; within your &quot;albums&quot; directory - this folder will be used by coppermine as a temporary folder, do not ftp-upload files there. Make sure the new &quot;edit&quot;-folder is CHMODed the same way your albums-directory is (755 or 777, depending on your server's config)</li>
+        <li>Run the file &quot;update.php&quot; in the coppermine directory once in your browser (e.g. http://yourdomain.tld/coppermine/update.php). This will update your coppermine install by making all necessary changes in the database.</li>
+        <li>If you have made a custom theme, apply the changes that were introduced in the themes structure to your custom-made theme - refer to the <a href="theme/index.html">theme-upgrade guide</a>.</li>
+        <li>You can not use language files from older versions of Coppermine as primary language (the language the admin will use) - make sure you only have the language files that come with this package inside of your lang folder (delete or rename all files from older versions within the lang folder).<br />
+        If you need to use a language that hasn't been translated for cpg1.4.x, you can try using the language file from cpg1.3.x, however there are certain caveats:
+          <ul>
+            <li>You need to enable the language fallback option in coppermine's config page</li>
+            <li>cpg1.4.x-phrases that don't exist in your old language file will go untranslated or show in english</li>
+            <li>Coppermine can't be administered using an old language file - the admin needs to use a "true" cpg1.4.x language file</li>
+            <li>You're free to try using old language files, however when running into issues or error messages, switch to US-English and see if the issue goes away then. Using outdated language files goes unsupported</li>
+          </ul>
+        </li>
+        <li>The bridging method has changed from cpg1.3.x to cpg1.4.x. When upgrading, your bridged coppermine install will be unbridged - you will have to re-apply the bridging using the <a href="#integrating">bridge-manager</a> (using your standalone admin account you initially used to set up coppermine). You will not lose anything though, don't worry.</li>
+    </ul>
+<p>Please note: as there have been changes both in the coppermine files and the database from cpg1.3.0 or better to cpg1.4.x, users of previous versions will have to apply all steps mentioned above: both the files have to be replaced and the update.php script has to be run once.</p>
+
+<a name="14"></a>
+<h3>3.1.3 Upgrading from cpg1.4.0 or better to version cpg1.4.25</h3>
+    <ul>
+        <li>First, make a backup (dump) of your database.</li>
+        <li>Backup your include/config.inc.php file, your anycontent.php file and your &quot;albums&quot; directory.</li>
+        <li>Unpack the archive</li>
+        <li><strong>Except for the &quot;albums&quot; directory</strong>, upload all of the new files and directories making sure not to overwrite the include/config.inc.php file, your anycontent.php file or the albums directory.</li>
+        <li>Run the file &quot;update.php&quot; in the coppermine directory once in your browser (e.g. http://yourdomain.tld/coppermine/update.php). This will update your coppermine install by making all necessary changes in the database.</li>
+        <li>If you have made a custom theme, apply the changes that were introduced in the themes structure to your custom-made theme - refer to the <a href="theme/index.html">theme-upgrade guide</a>.</li>
+    </ul>
+<p>Please note: as there have been changes both in the coppermine files and the database from cpg1.4.0 or better to cpg1.4.25, users of older versions than cpg1.4.25 will have to apply all steps mentioned above: both the files have to be replaced and the update.php script has to be run once.</p>
+<a name="upgrade_steps_end"></a>
+<p><a class="back" href="#top">Back to top</a></p><hr />
+
+<a name="upgrade_why"></a>
+<h2>3.2 Why upgrade?</h2>
+<p>There are major and minor releases of Coppermine. Major releases have so far been cpg1.0, cpg1.1, cpg1.2.x, cpg1.3.x and cpg1.4.x. The next major release will be cpg1.5.x (which currently is in the dev pipeline - no scheduled release date yet). Minor releases (the third number in the version numbering scheme) represent updates, also known as &quot;maintenance releases&quot;. Major releases contain new features (compared to the previous major release), minor releases do not contain new features, but only bug fixes and slight improvements (like additional language files).</p>
+<p>To understand the release policy of the coppermine dev team you have to understand how bugs are being fixed: we maintain a repository where the core code of each major release is being constantly being improved. Major and minor bugs that are reported on the coppermine support board are being fixed in that repository. Once a new package is being bundled, all fixes that have been made in that repository go into the new maintenance release.</p>
+<p>There is a good reason for every new maintenance release: they are usually being packaged when a new bug or vulnerability is being discovered that is relevant in terms of security. As suggested above, there are several minor bugfixes that go into each new release as well, not only the one major bug or vulnerability that lead to the maintenance release. Therefor, it will not be enough to just fix the single vulnerability that has been the initial reason for a new package to be released. Instead, always upgrade to the most recent stable release as soon as it has been announced.</p>
+
+<a name="upgrade_why_reasons"></a>
+<h3>3.2.1 Reasons for package releases</h3>
+<p>This is a list of minor releases of cpg1.4.x and the reason why they have been released. It is meant to explain why you should upgrade as soon as possible to the most recent stable release if you are running an outdated version.</p>
+<table border="0" cellspacing="0" cellpadding="0" class="maintable">
+  <tr>
+    <th class="tableh1" valign="top" align="left">Package</td>
+    <th class="tableh1" valign="top" align="left">Reason for release</td>
+    <th class="tableh1" valign="top" align="left"><span class="small">Release Date</span></td>
+  </tr>
+  <tr>
+    <td class="tableb" valign="top">cpg1.4.0</td>
+    <td class="tableb" valign="top">
+      <ul>
+        <li>Alpha release for testers and developers only</li>
+      </ul>
+    </td>
+    <td class="tableb" valign="top" align="right">no package</td>
+  </tr>
+  <tr>
+    <td class="tableb tableb_alternate" valign="top">cpg1.4.1</td>
+    <td class="tableb tableb_alternate" valign="top">
+      <ul>
+        <li>Beta release for public testing</li>
+      </ul>
+      <div class="small" align="right">[<a href="http://forum.coppermine-gallery.net/index.php/topic,19374.0.html">more</a>]</div>
+    </td>
+    <td class="tableb tableb_alternate" valign="bottom" align="left">2005-07-02</td>
+  </tr>
+  <tr>
+    <td class="tableb" valign="top">cpg1.4.2</td>
+    <td class="tableb" valign="top">
+      <ul>
+        <li>Initial Stable release</li>
+      </ul>
+      <div class="small" align="right">[<a href="http://forum.coppermine-gallery.net/index.php/topic,24001.0.html">more</a>]</div>
+    </td>
+    <td class="tableb" valign="bottom" align="left">2005-11-23</td>
+  </tr>
+  <tr>
+    <td class="tableb tableb_alternate" valign="top">cpg1.4.3</td>
+    <td class="tableb tableb_alternate" valign="top">
+      <ul>
+        <li>The file relocate_server.php removed that contained a security flaw</li>
+        <li>Leftover language files from cpg1.3.x was removed from the package that caused issues</li>
+      </ul>
+      <div class="small" align="right">[<a href="http://forum.coppermine-gallery.net/index.php/topic,25598.0.html">more</a>]</div>
+    </td>
+    <td class="tableb tableb_alternate" valign="top" align="right">2005-12-27</td>
+  </tr>
+  <tr>
+    <td class="tableb" valign="top">cpg1.4.4</td>
+    <td class="tableb" valign="top">
+      <ul>
+        <li>Remote code execution flaw caused by language file inclusion</li>
+      </ul>
+      <div class="small" align="right">[<a href="http://forum.coppermine-gallery.net/index.php/topic,28445.0.html">more</a>]</div>
+    </td>
+    <td class="tableb" valign="top" align="right">2006-02-26</td>
+  </tr>
+  <tr>
+    <td class="tableb tableb_alternate" valign="top">cpg1.4.5</td>
+    <td class="tableb tableb_alternate" valign="top">
+      <ul>
+        <li>Directory traversal bug (<acronym title="also known as">aka</acronym> &quot;IMEI-Bug&quot;)</li>
+      </ul>
+      <div class="small" align="right">[<a href="http://forum.coppermine-gallery.net/index.php/topic,30655.0.html">more</a>]</div>
+    </td>
+    <td class="tableb tableb_alternate" valign="top" align="right">2006-04-21</td>
+  </tr>
+  <tr>
+    <td class="tableb" valign="top">cpg1.4.6</td>
+    <td class="tableb" valign="top">
+      <ul>
+        <li>Protection against the .rar-vulnerability of Apache-driven webservers</li>
+      </ul>
+      <div class="small" align="right">[<a href="http://forum.coppermine-gallery.net/index.php/topic,31671.0.html">more</a>]</div>
+    </td>
+    <td class="tableb" valign="top" align="right">2006-05-19</td>
+  </tr>
+  <tr>
+    <td class="tableb tableb_alternate" valign="top">cpg1.4.7</td>
+    <td class="tableb tableb_alternate" valign="top">
+      <ul>
+        <li>Fixed vulnerability of user manager</li>
+      </ul>
+      <div class="small" align="right">[<a href="http://forum.coppermine-gallery.net/index.php/topic,32333.0.html">more</a>]</div>
+    </td>
+    <td class="tableb tableb_alternate" valign="top" align="right">2006-06-06</td>
+  </tr>
+  <tr>
+    <td class="tableb" valign="top">cpg1.4.8</td>
+    <td class="tableb" valign="top">
+      <ul>
+        <li>Stability fix for &quot;Last updated Albums&quot; caused by improper fix in cpg1.4.7</li>
+      </ul>
+      <div class="small" align="right">[<a href="http://forum.coppermine-gallery.net/index.php/topic,32413.0.html">more</a>]</div>
+    </td>
+    <td class="tableb" valign="top" align="right">2006-06-08</td>
+  </tr>
+  <tr>
+    <td class="tableb tableb_alternate" valign="top">cpg1.4.9</td>
+    <td class="tableb tableb_alternate" valign="top">
+      <ul>
+        <li>Fixing security flaw</li>
+      </ul>
+      <div class="small" align="right">[<a href="http://forum.coppermine-gallery.net/index.php/topic,35473.0.html">more</a>]</div>
+    </td>
+    <td class="tableb tableb_alternate" valign="top" align="right">2006-08-27</td>
+  </tr>
+  <tr>
+    <td class="tableb" valign="top">cpg1.4.10</td>
+    <td class="tableb" valign="top">
+      <ul>
+        <li>Potential disclosure of sensitive information (sql injection)</li>
+        <li>Removal of unused file</li>
+        <li>Missing checks for email validity</li>
+        <li>Flaw in search logic</li>
+        <li>Fixed video playback in IE</li>
+      </ul>
+      <div class="small" align="right">[<a href="http://forum.coppermine-gallery.net/index.php/topic,37895.0.html">more</a>]</div>
+    </td>
+    <td class="tableb" valign="top" align="right">2006-10-29</td>
+  </tr>
+  <tr>
+    <td class="tableb tableb_alternate" valign="top">cpg1.4.11</td>
+    <td class="tableb tableb_alternate" valign="top">
+      <ul>
+        <li>mysql injection vulnerability in include/functions-inc.php</li>
+      </ul>
+      <div class="small" align="right">[<a href="http://forum.coppermine-gallery.net/index.php/topic,44845.0.html">more</a>]</div>
+    </td>
+    <td class="tableb tableb_alternate" valign="top" align="right">2007-06-29</td>
+  </tr>
+  <tr>
+    <td class="tableb" valign="top">cpg1.4.12</td>
+    <td class="tableb" valign="top">
+      <ul>
+        <li>mysql injection could lead to disclosure of sensitive information</li>
+        <li>Fixed double quotes for input fields in comments</li>
+      </ul>
+      <div class="small" align="right">[<a href="http://forum.coppermine-gallery.net/index.php/topic,44924.0.html">more</a>]</div>
+    </td>
+    <td class="tableb" valign="top" align="right">2007-07-02</td>
+  </tr>
+  <tr>
+    <td class="tableb tableb_alternate" valign="top">cpg1.4.13</td>
+    <td class="tableb tableb_alternate" valign="top">
+      <ul>
+        <li>Fixed several security-critical XSS-vulnerabilites reported by L4teral</li>
+        <li>Fixed broken russian language file (no security impact)</li>
+        <li>SEF_URLs plugin removed</li>
+        <li>Updated license from GNU GPL v2 to GNU GPL v3</li>
+      </ul>
+      <div class="small" align="right">[<a href="http://forum.coppermine-gallery.net/index.php/topic,46847.0.html">more</a>]</div>
+    </td>
+    <td class="tableb tableb_alternate" valign="top" align="right">2007-09-13</td>
+  </tr>
+  <tr>
+    <td class="tableb" valign="top">cpg1.4.14</td>
+    <td class="tableb" valign="top">
+      <ul>
+        <li>Fixed potential XSS vulnerability in displayecard.php reported by Nicolas Le Gland</li>
+      </ul>
+      <div class="small" align="right">[<a href="http://forum.coppermine-gallery.net/index.php/topic,48106.0.html">more</a>]</div>
+    </td>
+    <td class="tableb" valign="top" align="right">2007-11-07</td>
+  </tr>
+  <tr>
+    <td class="tableb tableb_alternate" valign="top">cpg1.4.15</td>
+    <td class="tableb tableb_alternate" valign="top">
+      <ul>
+        <li>Fixed potential XSS vulnerabilities in docs/showdoc.php</li>
+        <li>Fixed path diclosure in include/slideshow.inc.php</li>
+        <li>Fixed possible shell injection in include/imageObjectIM.class.php</li>
+        <li>Fixed low-impact sql injection vulnerabilities in util.php and reviewcom.php</li>
+        <li>Fixed typo in include/functions.inc.php that stopped search engine access rcording for stats</li>
+      </ul>
+      Thanks to Janek Vind for reporting those issues.
+      <div class="small" align="right">[<a href="http://forum.coppermine-gallery.net/index.php/topic,50103.0.html">more</a>]</div>
+    </td>
+    <td class="tableb tableb_alternate" valign="top" align="right">2008-01-30</td>
+  </tr>
+  <tr>
+    <td class="tableb" valign="top">cpg1.4.16</td>
+    <td class="tableb" valign="top">
+      <ul>
+        <li>Removed escapeshellarg that has been introduced into cpg1.4.15 in error</li>
+      </ul>
+      <div class="small" align="right">[<a href="http://forum.coppermine-gallery.net/index.php/topic,50194.0.html">more</a>]</div>
+    </td>
+    <td class="tableb" valign="top" align="right">2008-02-02</td>
+  </tr>
+  <tr>
+    <td class="tableb tableb_alternate" valign="top">cpg1.4.17</td>
+    <td class="tableb tableb_alternate" valign="top">
+      <ul>
+        <li>Corrected an SQL injection vulnerability in URI upload code</li>
+        <li>Added Welsh language file</li>
+        <li>Changed date formats in lang files for better windows compatibility</li>
+        <li>Updated Romanian language file</li>
+        <li>Added Latvian language file</li>
+        <li>ImageMagick rotate bug fix</li>
+      </ul>
+      <div class="small" align="right">[<a href="http://forum.coppermine-gallery.net/index.php/topic,51787.0.html">more</a>]</div>
+    </td>
+    <td class="tableb tableb_alternate" valign="top" align="right">2008-04-14</td>
+  </tr>
+  <tr>
+    <td class="tableb" valign="top">cpg1.4.18</td>
+    <td class="tableb" valign="top">
+      <ul>
+        <li>sql injection vulnerability in bridge/coppermine.inc.php fixed</li>
+      </ul>
+      <div class="small" align="right">[<a href="http://forum.coppermine-gallery.net/index.php/topic,51882.0.html">more</a>]</div>
+    </td>
+    <td class="tableb" valign="top" align="right">2008-04-14</td>
+  </tr>
+  <tr>
+    <td class="tableb tableb_alternate" valign="top">cpg1.4.19</td>
+    <td class="tableb tableb_alternate" valign="top">
+      <ul>
+        <li>Danish language file updated</li>
+        <li>spacer for empty album list cells fixed</li>
+        <li>improper nesting of form-tag in various files fixed</li>
+        <li>invalid <tt class="code">&lt;f&gt;</tt>-tag in upload.php removed</li>
+        <li>type translation in reports fixed</li>
+        <li>resources consumption for slideshows in meta albums fixed</li>
+        <li>hard-coded string "edit keywords" replaced with translation</li>
+        <li><a href="index_es.htm">Spanish documentation</a> added</li>
+        <li>SMF anonymous user fix</li>
+        <li class="important">security issue reported at <a href="http://www.milw0rm.com/exploits/6178">http://www.milw0rm.com/exploits/6178</a> fixed</li>
+        <li>profile email check issue fixed</li>
+      </ul>
+      <div class="small" align="right">[<a href="http://forum.coppermine-gallery.net/index.php/topic,54235.0.html">more</a>]</div>
+    </td>
+    <td class="tableb tableb_alternate" valign="top" align="right">2008-08-03</td>
+  </tr>
+  <tr>
+    <td class="tableb" valign="top">cpg1.4.20</td>
+    <td class="tableb" valign="top">
+      <ul>
+        <li class="important">Fixed vulnerability that allows (if unpatched) the uploading and execution of remote code (<a href="http://www.milw0rm.com/exploits/7909" rel="external" class="external">milw0rm exploit 7909</a>)</li>
+        <li>Updated XMB bridge file to work with recent versions of that application (user contribution, <a href="http://forum.coppermine-gallery.net/index.php/topic,57550.0.html">thread ID 57550</a>)</li>
+        <li>Update names associated with pictures and comments when user name is changed</li>
+        <li>Fixed issue involving display of name field in the report to admin form</li>
+        <li>Added missing translation to German language files (<a href="http://forum.coppermine-gallery.net/index.php/topic,56204.0.html">thread ID 56204</a>)</li>
+        <li>Re-did the credits section of the language files for easier future integration into cpg1.5.x</li>
+        <li>Removed double ; at line ends (<a href="http://forum.coppermine-gallery.net/index.php/topic,51899.0.html">thread ID 51899</a>)</li>
+        <li>Fixed validation issue with registration screen (thread ID 51310</a>)</li>
+        <li>Added error message if pic editor is being run with missing parameters or without authorization (<a href="http://forum.coppermine-gallery.net/index.php/topic,54414.0.html">thread ID 54414</a>)</li>
+        <li>Fixed error message in ecard.php that complained about wrong recipient email although sender email is wrong (<a href="http://forum.coppermine-gallery.net/index.php/topic,50844.0.html">thread ID 50844</a>)</li>
+        <li>Fixed minor smilies issue (<a href="http://forum.coppermine-gallery.net/index.php/topic,52804.0.html">thread ID 52804</a>)</li>
+        <li>Fixed upload permission issue for bridged galleries (<a href="http://forum.coppermine-gallery.net/index.php/topic,50798.0.html">thread ID 50798</a>)</li>
+        <li>Improved improper translation (<a href="http://forum.coppermine-gallery.net/index.php/topic,50460.0.html">thread ID 50460</a>)</li>
+        <li>Corrected SMF2 anonymous user fix</li>
+        <li>Reduced memory usage of keyword manager</li>
+        <li>Added Croation language file (user contribution)</li>
+        <li>Fixing thumbnail dimension calculation rounding error</li>
+      </ul>
+      <div class="small" align="right">[<a href="http://forum.coppermine-gallery.net/index.php/topic,57882.0.html">more</a>]</div>
+    </td>
+    <td class="tableb" valign="top" align="right">2009-02-04</td>
+  </tr>
+  <tr>
+    <td class="tableb tableb_alternate" valign="top">cpg1.4.21</td>
+    <td class="tableb tableb_alternate" valign="top">
+      <ul>
+        <li class="important">Fixed serious vulnerability that allows (if unpatched) the attacker to gain admin privileges (milw0rm exploits <a href="http://www.milw0rm.com/exploits/8114" rel="external" class="external">8114</a> and <a href="http://www.milw0rm.com/exploits/8115" rel="external" class="external">8115</a>)</li>
+        <li><a href="http://forum.coppermine-gallery.net/index.php/topic,57898.0.html">Fixed 'Selecting private pics as a category thumbnail' issue</a></li>
+        <li><a href="http://forum.coppermine-gallery.net/index.php/topic,52597.0.html">Fixed HTML special characters in referer for hit/vote stats</a></li>
+		<li>Fixed converting 'search_phrase' from array to string for table 'hit_stats'</li>
+		<li><a href="http://forum.coppermine-gallery.net/index.php/topic,56433.0.html">Fixed 'unknown' browser field in hit_stats table</a></li>
+		<li><a href="http://forum.coppermine-gallery.net/index.php/topic,52160.0.html">Fixed invalid query limit in 'random' meta-album in certain cases</a></li>
+      </ul>
+      <div class="small" align="right">[<a href="http://forum.coppermine-gallery.net/index.php/topic,58309.0.html">more</a>]</div>
+    </td>
+    <td class="tableb tableb_alternate" valign="top" align="right">2009-03-04</td>
+  </tr>
+  <tr>
+    <td class="tableb" valign="top">cpg1.4.22</td>
+    <td class="tableb" valign="top">
+      <ul>
+			<li><a href="http://forum.coppermine-gallery.net/index.php/topic,55464.0.html">Fixed improper ban expirations due to time offset being incorrectly applied</a></li>
+			<li class="important"><a href="http://forum.coppermine-gallery.net/index.php/topic,59237.0.html">Fixed XSS vulnerability in showdoc.php</a></li>
+			<li>Increased maxlength for password field in user manager from 8 to 25 to match the limits elsewhere</li>
+      </ul>
+      <div class="small" align="right">[<a href="http://forum.coppermine-gallery.net/index.php/topic,59247.0.html">more</a>]</div>
+    </td>
+    <td class="tableb" valign="top" align="right">2009-04-30</td>
+  </tr>
+  <tr>
+    <td class="tableb tableb_alternate" valign="top">cpg1.4.23</td>
+    <td class="tableb tableb_alternate" valign="top">
+      <ul>
+        <li class="important">Fixed serious vulnerability (<a href="http://www.milw0rm.com/exploits/8713" rel="external" class="external">milw0rm exploits 8713</a>)</li>
+        <li><a href="http://forum.coppermine-gallery.net/index.php/topic,59569.0.html">Added a warning message for admin if register_globals is on</a></li>
+        <li>Added PHP 5.3 support to debugger</li>
+        <li><a href="http://forum.coppermine-gallery.net/index.php/topic,58074.0.html">Updated Italian language file (user contribution)</a></li>
+      </ul>
+      <div class="small" align="right">[<a href="http://forum.coppermine-gallery.net/index.php/topic,59551.0.html">more</a>]</div>
+    </td>
+    <td class="tableb tableb_alternate" valign="top" align="right">2009-05-21</td>
+  </tr>
+  <tr>
+    <td class="tableb" valign="top">cpg1.4.24</td>
+    <td class="tableb" valign="top">
+      <ul>
+			<li>Added 'svn' to the list of foldernames to skip during batch-add</li>
+			<li>Fixing duplicates during batch-add (<a href="http://forum.coppermine-gallery.net/index.php/topic,57717.0.html">thread</a>)</li>
+			<li>Removed deprecated target attributes</li>
+			<li>Replaced reference to coppermine.sf.net with currenty URL coppermine-gallery.net</li>
+			<li>Updated Russian language file (<a href="http://forum.coppermine-gallery.net/index.php/topic,20355.msg294591.html#msg294591">thread</a>)</li>
+			<li>Added line breaks for meta navigation (<a href="http://forum.coppermine-gallery.net/index.php/topic,56888.0.html">thread</a>)</li>
+			<li>Backported browser and client OS detection function from cpg1.5.x for granular stats</li>
+			<li>Added code for correct keyword separation in keyword meta tag (<a href="http://forum.coppermine-gallery.net/index.php/topic,56873.0.html">thread</a>)</li>
+			<li>Updated Georgian language file (<a href="http://forum.coppermine-gallery.net/index.php/topic,20355.msg294374.html#msg294374">thread</a>)</li>
+			<li class="important">Updated previous security fix to avoid causing an infinite loop in PHP 4.3</li>
+			<li>Updated Finnish language file (<a href="http://forum.coppermine-gallery.net/index.php/topic,59620.0.html">thread</a>)</li>
+			<li>Updated Italian language file (<a href="http://forum.coppermine-gallery.net/index.php/topic,58074.0.html">thread</a>)</li>
+      </ul>
+      <div class="small" align="right">[<a href="http://forum.coppermine-gallery.net/index.php/topic,59681.0.html">more</a>]</div>
+    </td>
+    <td class="tableb" valign="top" align="right">2009-05-26</td>
+  </tr>
+  <tr>
+    <td class="tableb tableb_alternate" valign="top">cpg1.4.25</td>
+    <td class="tableb tableb_alternate" valign="top">
+      <ul>
+        <li>PHP 5.3 compatibility fix</li>
+        <li>Updated Danish language file (user contribution)</li>
+        <li>Fix uploading problem caused by security fix</li>
+        <li>Updated Turkish language file (user contribution)</li>
+      </ul>
+      <div class="small" align="right">[<a href="http://forum.coppermine-gallery.net/index.php/topic,60265.0.html">more</a>]</div>
+    </td>
+    <td class="tableb tableb_alternate" valign="top" align="right">2009-06-22</td>
+  </tr>
+</table>
+<p>As you can see, the coppermine dev team is constantly fixing and improving coppermine. Every non-trivial piece of software contains bugs, so there is no guarantee that the version that currently is the most recent one will be the final, ultimately bug-free version to be released in the cpg1.4.x series. It is absolutely vital that you perform regular updates as soon as new packages are being released.</p>
+<a name="upgrade_why_reasons_end"></a>
+<a name="upgrade_why_changelog"></a>
+<h3>3.2.2 Changelog</h3>
+<p>Details on the changes that went into a release can be found in the changelog that comes with each package. The changelog file can be found in the root directory of the coppermine package. The changelog contains more information on additional languages and the time and date of the fix as well.</p>
+<p>The changelog is a plain-text file that can be read using a simple editor - on Windows-driven machines, notepad.exe is fine.</p>
+<a name="upgrade_why_changelog_end"></a>
+<a name="upgrade_why_end"></a>
+<p><a class="back" href="#top">Back to top</a></p><hr />
+
+<a name="versioncheck"></a>
+<h2>3.3 The version check tool</h2>
+<p>Since the release of cpg1.3.2 Coppermine comes with an additional version checking tool to help you resolve issues with upgrades and updates easily. Except for specific files of coppermine that will only work for the version that it had been originally designed for, the versioncheck tool can be used with all versions starting from cpg1.2.1. To launch the versioncheck, simply add <tt>versioncheck.php</tt> to your browser's address bar after being logged into coppermine as admin (example: <tt>http://yourdomain.tld/your_coppermine_folder/versioncheck.php</tt>).  With version 1.4x, you can run the versioncheck utility from the Admin Tools menu.</p>
+<a name="versioncheck_description_start"></a>
+<h3>3.7.1 What it does</h3>
+<p>The script &quot;versioncheck&quot; is meant for users who have updated their coppermine install. This script goes through the files on your webserver and tries to determine if the local file versions on your webserver are the identical to the ones at the repository of http://coppermine.sourceforge.net. Files that do not match are displayed and are the files you should update as well. In Cpg1.4.x you can toggle the URL to the latest update for individual files in the versioncheck page.</p>
+<p>It will show everything in <span style="color:red;font-weight:bold">red</span> that needs to be fixed. Entries in <span style="color:#FFBE00;font-weight:bold">yellow</span> need looking into. Entries in <span style="color:green;font-weight:bold">green</span> (or your theme's default font color) are OK and should be left alone. When an entry is <span style="color:red;font-weight:bold">red</span> or <span style="color:#FFBE00;font-weight:bold">yellow</span>, a help icon will appear next to it. Click it to find out more. Hovering with your mouse over an item will display additional information as well (tooltip).</p>
+<p>The versioncheck screen has several sections:</p>
+<ul>
+<li>Section 1 explains what the versioncheck tool can be used for</li>
+<li>Section 2 (&quot;<a href="#versioncheck_options_start">Options</a>&quot;) displays the options you can chose</li>
+<li>Section 3 will display a warning if coppermine was not able to connect to the online repository (where the most recent version data is being stored). The script will default to a local copy of the repository file. If connection to the online repository was succesfull, there will of course be no error message (no section 3).</li>
+<li>Section 4 will show what version of coppermine you actually use. The versioncheck script draws this piece of information from the file <em>include/init.inc.php</em> - if you haven't replaced your copy of this file with the new version during upgrade, your old (outdated) version will appear in this section.</li>
+<li>Section 5 will show the core of versioncheck's file: the version comparison. The script will loop through all files that are suppossed to exist (based on repository data) and compare them to the files you actually have on your webserver.</li>
+<li>Section 6 will display a summary of the files and folders checked</li>
+</ul>
+<a name="versioncheck_description_end"></a>
+
+<a name="versioncheck_options_start"></a>
+<h3>3.3.2 Options</h3>
+<p>The options screen lets you configure the versioncheck, or rather what is being displayed. The options aren't saved anywhere, so you will have to adjust them each time you run versioncheck. The default options should be OK for most users - only change them if you have good reasons to do so.</p>
+<img src="pics/versioncheck_options.gif" width="844" height="159" border="0" alt="" title="" />
+<ul>
+<li><em>show optional folders/files</em><br />Uncheck this to hide files that are tagged as &quot;optional&quot; (display mandatory files only)</li>
+<li><em>show mandatory files</em><br />Uncheck this to hide files that are tagged as &quot;mandatory&quot; (Note disabling both optional and mandatory files will of course result in no files being displayed at all)</li>
+<li><em>show additional information</em><br />Toggles whether informaton about the installed coppermine version and the repository connection status are being displayed. Uncheck if your're making screenshots to save space and reduce dimensions.</li>
+<li><em>show file versions</em><br />Toggles wether additional version information of a file that belongs to the release version you're using should be displayed. When viewing the source code of a coppermine file, the file version is the number that looks like this: <tt>Id: index.htm,v 1.66 2004/08/26 04:42:19 gaugau Exp</tt> (in this example the file version is 1.66)</li>
+<li><em>show folders/files with errors only</em><br />Toggles display of files that don't have errors. Enable this option if you want to make a screenshot and ask for support on the coppermine forum.</li>
+<li><em>coppermine is installed in the webroot</em><br />Experimental: if all your files are being displayed as &quot;non-existant&quot;, you probably have installed coppermine in your webroot, or you are using subdomains. Check this option only if you are experiencing problems. This option hasn't been tested thoroughly yet, there's no guarantee it will work on your setup.</li>
+<li><em>try connecting to the online repository</em><br />Toggles wether versioncheck should try to connect to the online repository (checked by default). Only uncheck this option if you're sure you can not access the online repository because of your server setup and you want to reduce the time the script needs to execute a bit.</li>
+<li><em>show folder permissions</em><br />Toggles the option to show/hide the read/write permissions of a folder.</li>
+<li><em>don't display web svn link</em> / <em>display web svn link to stable branch</em> / <em>display web svn link to devel branch</em><br />Toggles wether to show an additional column that contains a link to the web svn. Only recommended if your cpg version is OK (<span style="color:green;font-weight:bold">green</span>), but your file version appears to be outdated. You can then connect to the web svn to get a more recent version of your file. Only recommended if you know what you're doing (or you have been told to do so from a supporter from the coppermine support board).</li>
+<li><em>show condensed ouput (for easier screenshots)</em><br />When checked, this options reduces the width of the version comparison columns. This will allow you to create screenshots with reduced dimensions and size.</li>
+</ul>
+<a name="versioncheck_options_end"></a>
+
+<a name="versioncheck_comparison_start"></a>
+<h3>3.3.3 Version comparison</h3>
+<p>There is a lot of information packed into a small space. Here's an example of a possible output and what the output means:</p>  <br />
+<img src="pics/versioncheck_comparison.gif" width="411" height="279" border="0" alt="" title="version comparison" />
+<ul>
+<li>The column &quot;icon&quot; shows if the entry is a folder or a file. Clicking on the icon takes you to the page, e.g. clicking on util.php will take you to the &quot;admin tools page&quot; (although not all coppermine files can be opened directly by running them in the browser).<p>In above example, rows &quot;A&quot; to &quot;E&quot; are folders, rows &quot;F&quot; to &quot;K&quot; are files.</p></li>
+<li>The column &quot;folder/file&quot; holds the relative path from your coppermine root to the folder/file in question.<br />
+<p>If an entry is in your default font color, it exists (in above example, all rows but &quot;G&quot; and &quot;H&quot;).<br />
+<p>If the entry is in <span style="color:#FFBE00;font-weight:bold">yellow</span> (row &quot;G&quot;), the corresponding folder/file doesn't exist on your webserver, but it is only considered to be optional (e.g. a language file that comes with the coppermine package that you don't want to use can be deleted from the webserver. It will then be shown in <span style="color:#FFBE00;font-weight:bold">yellow</span>, as it's only optional to have it). It's up to you if you need it.</p>
+<p>If the entry is in <span style="color:red;font-weight:bold">red</span> (row &quot;H&quot;), the folder/file in question doesn't exist on your webserver, but it is mandatory to have it. You should upload the file from your coppermine package to your webserver. Only leave it as-is if you really know what you're doing.</p></li>
+<li>The column &quot;writable&quot; shows information if the folder in question is writable, and whether this is correct or not. The write permissions for files are not being displayed, as this would slow down the script considerably. Usually, there are icons that show the writable status of your folder (if you have the icon resources on your webspace). Optionally, a plain text message in brackets might be visible (if you don't have the icon resources).
+<ul>
+<li>A white pencil with a <span style="color:green;font-weight:bold">green</span> &quot;x&quot; indicates that the folder is not writable and is isn't suppossed to be writable - everything is OK then (row &quot;A&quot;)</li>
+<li>A <span style="color:green;font-weight:bold">green</span> pencil indicates that the folder is writable and it is suppossed to be writable as well - everything is OK then (row &quot;D&quot;</li>
+<li>A white pencil with a <span style="color:red;font-weight:bold">red</span> &quot;x&quot; indicates that the folder is not writable, although it should be (row &quot;C&quot;). You should change write permissions (CHMOD) for this folder and everything within it, usually using your <acronym title="File Transfer Protocol">FTP</acronym> software.</li>
+<li>A <span style="color:red;font-weight:bold">red</span> pencil indicates that the folder is writable, but it shouldn't be (row &quot;E&quot;). Unless absolutely necessary, leaving files writable could be a security risk. Where possible, you should change permissions for this folder and everything within it to read/execute only.</li>
+</ul>
+</li>
+<li>A question mark in a yellow box (help icon) indicates that there is additional information available. Click on the icon to display the pop-up window with this information.</li>
+<li>The column &quot;cpg version&quot; displays what coppermine package your file on your webserver is from, and what version it should be from. The data is being extracted from the header of the file, that's why folders are shown as &quot;n/a&quot; - they have no header information containing their coppermine version (rows &quot;A&quot; to &quot;E&quot;).
+<p>Files that contain header information are being displayed with your file version and the cpg version of the file in the repository, separated with a slash. It is possible that a file version may differ from the version of your whole package - this doesn't matter as long as both your version and the repository versions match (the are displayed in <span style="color:green;font-weight:bold">green</span>) - in above example: rows &quot;F&quot;, &quot;J&quot; and &quot;K&quot;.</p>
+<p>Of course, version numbers from files that don't exist can't be extracted, that's why rows &quot;G&quot; and &quot;H&quot; have a dash as cpg version. If your cpg version is lower than the repository version, your version is  being displayed in <span style="color:red;font-weight:bold">red</span>: if this is the case, you probably haven't successfully uploaded the proper file of files from the coppermine package to your webserver (replacing files that may have already existed on your webserver) - you should do so now (row &quot;I&quot;).</p>
+<p>If your local version is being displayed in <span style="color:#FFBE00;font-weight:bold">yellow</span>, you are using a file that belongs to a higher coppermine version than the rest of your files - you probably downloaded a file from the devel branch: remember that using devel files go unsupported, do so on your own risk (if you know what you're doing). If most or all of your files are being displayed in <span style="color:#FFBE00;font-weight:bold">yellow</span>, you probably have upgraded some files, but you forgot to upgrade the file &quot;include/init.inc.php&quot; (that holds the version info for your install). Make sure to upload <strong>all</strong> files  from the package to your server.</p>
+</li>
+<li>
+<p>The column &quot;file version&quot; holds the individual file's version that get's increased during development of a new coppermine version (each time a developer modifies a certain file, the version number increases by one). As folders can't contain such version numbers, they are again labelled as &quot;n/a&quot; (rows &quot;A&quot; to &quot;E&quot;); the same applies to files that don't exist, that's why their file version is displayed as dash (rows &quot;G&quot; and &quot;H&quot;). Also the file version is irrelevant when comparing files from different coppermine packages, that's why row &quot;I&quot; has a dash as well.</p>
+<p>The coloring scheme is similar to the cpg version system: <span style="color:green;font-weight:bold">green</span> means &quot;everything is OK&quot;, <span style="color:red;font-weight:bold">red</span> means &quot;you're using an outdated version&quot; and <span style="color:#FFBE00;font-weight:bold">yellow</span> means &quot;you're using a newer version than you're actually suppossed to.</p>
+<p>The difference between the cpg version and the file version columns is indicative of the way you should obtain the file that you need to replace the existing one on your server: a <span style="color:red;font-weight:bold">red</span> entry in the cpg version column means the file on your server hasn't been replaced with the file from the coppermine package; a <span style="color:red;font-weight:bold">red</span> entry in the file version column (row &quot;J&quot;) usually means that there have been updates to a certain file after the release of the package - you should either check if there is a newer package available or get the most recent file from the <acronym title="Subversion">SVN</acronym> (enable the web svn link column in the versioncheck <a href="#versioncheck_options_start">options</a>).</p>
+</li>
+<li>The column &quot;web svn&quot; (off by default) links to the corresponding file in the <acronym title="Subversion">SVN</acronym>. You're recommended to use this only if there appears to be a newer version in the svn than your coppermine package has and you know what you're doing.</li>
+</ul>
+<a name="versioncheck_comparison_end"></a>
+<a name="versioncheck_end"></a>
+<p><a class="back" href="#top">Back to top</a></p><hr />
+<a name="downgrading"></a>
+<h2>3.4 Downgrading from cpg1.4.x to an older version</h2>
+<p>CPG1.4.x incorporates many new features (compared to older versions), so we encourage all users to upgrade. However, there may be some who want to test cpg1.4.x and decide later that they want to go back to an older version. You have to keep in mind that a full upgrade changes the overall layout of coppermine's database that includes converting the encoding to unicode. This process can't be reverted: once you have done the conversion, the only way back is to restore a complete mySQL database dump (of course you have to create this backup <strong>before</strong> you upgraded in the first place). Creating mySQL dumps (backups) is recommended anyway, so you should do so <strong>now</strong>.</p>
+<p>If you haven't converted your database to unicode (utf-8) encoding, you can downgrade as explained below. To make this absolutely clear: you can only downgrade if you used to have cpg1.3.x before and upgraded this version to cpg1.4.x without converting the database. If you <em>have</em> converted the database or if you have made a <em>fresh</em> install of cpg1.4.x, you can't downgrade at all!</p>
+<p>To actually perform the downgrade, replace all cpg1.4.x files on your server with the files from the older version (as if you were doing an upgrade, see above). You then have to undo some changes in the database structure. To do so, run a query like<br />
+<pre>ALTER TABLE `CPG_users` CHANGE `user_location`  `user_profile1` VARCHAR(255);
+ALTER TABLE `CPG_users` CHANGE `user_interests` `user_profile2` VARCHAR(255);
+ALTER TABLE `CPG_users` CHANGE `user_website` `user_profile3` VARCHAR(255);
+ALTER TABLE `CPG_users` CHANGE `user_occupation` `user_profile4` VARCHAR(255);</pre><br />
+using a tool like <a href="http://www.phpmyadmin.net/" rel="external" class="external">phpMyAdmin</a>, replacing <tt class="code">CPG_</tt> in the query with the prefix you have chosen during coppermine install.</p>
+<a name="downgrading_end"></a>
+<p><a class="back" href="#top">Back to top</a></p><hr />
+
+<a name="administration"></a>
+<h1>4. Configuration &amp; Administration</h1>
+
+<h2>4.1 Categories, albums and files<a name="cat_alb_pic"></a></h2>
+<p>The Coppermine Photo Gallery (CPG) works in the following way:</p>
+<ul>
+  <li>Files are stored in albums</li>
+  <li>Albums are organised in categories</li>
+  <li>Categories can be nested (into subcategories)</li>
+</ul>
+
+<p>If you don't plan to have many albums, you really won't need to use the categories feature. If this applies to you, simply do not create any categories and all your albums will automatically appear on the main page of the script.</p>
+<p>There is, however, a special category named &quot;<strong>User galleries</strong>&quot;. This category can't be deleted. If a user belongs to the group &quot;can have a personal gallery&quot; and this is set to YES, he will have the right to create his own albums and his gallery will be a sub-category of &quot;User galleries&quot;. This link is not visible to visitors of your site, however, if you do not allow users to upload pics and have their own albums. </p>
+<p>The administrator can create albums in any category. Non-administrative users can only create albums in the &quot;User galleries/Their_username&quot;.</p>
+<p>You can, however rename the &quot;User Galleries&quot;. To rename the &quot;<strong>User galleries</strong>&quot; category and description, simply go to your <a href="#cat_cp">category control panel</a> and change the name there (e.g. to translate the words &quot;User galleries&quot; into your language).</p>
+
+<p><a class="back" href="#top">Back to top</a></p><hr />
+
+<h2>4.2 Admin mode &amp; User mode<a name="admin_user_mode"></a></h2>
+<p>When you are logged in as an administrator, the script provides two modes of operation : Admin mode &amp; User mode. You can switch between Admin &amp; User mode by clicking on the corresponding link in the menu bar at the top of the screen.</p>
+<p>When you are in admin mode, you can administer your gallery using the menu bar that appears when in admin mode, as shown below :</p>
+<p><a name="admin_menu"></a><img src="pics/admin_menu.gif" border="0" alt="Admin menu" /></p>
+<p>When you are in user mode you are still logged in as an admin user, but the admin controls (the admin menu bar etc.) are hidden from the screen to give you a basic preview of what the page would look like for "regular users". However (as you still are logged in as admin), certain permissions and options in user mode will still look the same as if you were in admin mode; you can <strong>not</strong> use "<em>User Mode</em>" to see what a non-admin user is actually allowed to see.  To see what a casual visitor can see and do on your site, simply log out.  To see what a registered user can see and do on your site, create a test user account (non-admin) and log in with this particular user (when doing this it is recommended that you use two different browsers, NOT  two instances of the same browswer, to view your site so you can stay logged in as admin on one and view what regular users see while making changes in admin mode. You will have to refresh the non-admin mode screen to see what changes you incorporated).</p>
+<p>The items in the admin menu should be pretty self-explanatory:</p>
+<ul>
+  <li><strong>Upload approval</strong><br />See all pics that await approval by the admin (if you set admin approval as a required step on the settings in the &quot;<a href="#group_cp">groups</a>&quot; control panel)</li>
+  <li><strong>Config</strong><br />Configure the overall look of your gallery and the settings using the &quot;<a href="#admin">Config</a>&quot; button in the admin menu (note: you can not access the configuration by manually entering the url of the config file)</li>
+  <li><strong>Categories</strong><br />Create/edit/delete <a href="#cat_cp">categories</a></li>
+  <li><strong>Albums</strong><br />Create/edit/delete <a href="#albmgr">albums</a></li>
+  <li><strong>Groups</strong><br />Create/edit/delete <a href="#group_cp">groups</a></li>
+  <li><strong>Users</strong><br />Create/edit/delete <a href="#user_cp">users</a></li>
+  <li><strong>Ban Users</strong><br />Ban users based on hostname or IP address. Make sure not to ban yourself! Use this feature with extreme caution, as most users today do not have static IP addresses, this feature should only be employed if you really know what you're doing.<br />
+  <span class="small">[cpg1.3.0 or better required]</span>
+  </li>
+  <li><strong>Review Comments</strong><br />edit/delete user's comments</li>
+  <li><a name="ecard_log"></a><strong>Display Ecards</strong><p>View the ecards sent by users.</p>
+  <p>You must have ecard-logging enabled in the config menu, first (by default, logging is disabled). When enabled, all ecards that are being sent are written into the database, where the coppermine admin can view them.</p>
+  <img src="pics/ecard_log.gif" border="0" alt="" /><br />
+  You can sort the log by clicking on the arrow icons next to each heading, and you can delete single or multiple log entries (deleting the log entries will not disable the ecard recipient to view the ecard).<br />
+  <p>Before switching this option on, make sure that logging such information is legal in your country. It is also advisable to notify your users that all ecards are being logged (preferrably on the registration screen).</p>
+  <span class="small">[cpg1.3.0 or better required]</span>
+  <a name="ecard_log_end"></a>
+  </li>
+  <li><strong>Sort my pictures</strong><p>Picture manager that can be used to custom-sort files within an album. By default, the thumbnail page that displays the contents of an album will be sorted by the sorting order specified in &quot;<a href="#admin_thumbnail_default_sortorder">Default sort order for files</a>&quot; on the config page. The "sort my pictures" option overrides the default sorting mechanism and displays the thumbnails in the order you specify. As this means an additional effort in the maintenance of each album, it's recommended to use the default sorting by filename and (instead of specifying a custom sort order) and naming the files appropriately before upload.</p>
+  <p>Note: each user (including the admin) can use the sorting controls on the album's thumbnails display page to manually override the sorting option that was specified in coppermine's config and the "Sort my pictures" option; this final method of changing the sort order is stored locally in a cookie of the client and reverts to the config settings when this cookie is discarded.</p></li>
+  <li><strong>Batch add files</strong><br /><a href="#batch_add_pics">Batch-add files</a> to the coppermine database that have been previously uploaded by FTP. Batch-add files does not upload files for you. You must upload files using your webhost's file manager or an FTP client software. You FTP files into folders that you create in the coppermine album directory.  You must not, however, create these folders in the <em>userpics</em> folder.</li>
+  <li><a name="admin_tools"></a><strong>Admin Tools (Resize Pictures)</strong><br />A collection of utilities to:
+        <dl>
+      <dt>Rebuild or resize intermediate pictures and thumbnails.</dt>
+      <dd><img src="pics/util_re-size.gif" alt="" border="0" /><br /><p>Use this if you have changed the settings for thumbnail or intermediate images in config, or if you have to replace corrupt versions.</p><p>Select the radio button for this action, then choose to rebuild the thumbnails, intermediates, or both.</p><p>This uses a lot of server resources, so if you experience timeout issues, try setting it to process smaller batches ( 45 is the current default ).</p></dd>
+      <dt>Delete full-size pictures.</dt>
+      <dd><p>Use this to save space on your webspace.</p><p>When selected, Coppermine checks to see if an intermediate copy exists, and if it does, it deletes the original sized picture, then re-names the intermediate. If no intermediate exists, Coppermine leaves the original in place.</p></dd>
+      <dt>Delete orphaned comments.</dt>
+      <dd>Sometimes, when pictures have been deleted, any comments associated with them remain in the database.  Use this to remove them from the database entirely.</dd>
+      <dt>Rename file titles.</dt>
+      <dd>Use this to re-name the title of all files in an album, using info from the filename.</dd>
+      <dt>Delete file titles.</dt>
+      <dd>Use this to clear the file titles from one or more albums.</dd>
+      <dt>View your server php info.</dt>
+      <dd><p>If, you after following the troubleshooting guides in the documents provided here, you are still having problems with your coppermine installation, these problems are sometimes caused by a misconfigured server setup.  Clicking this link will provide you with all your php and mySQL settings, as well as information on the GD library (if installed).  The information may be required by the support team, if you are unable to sort problems yourself.</p><p>It is not possible for visitors to your site to access this information, so if asked for it, copy and paste it on the support board. Do not post this information or any debug information unless requested first.  You may post <em>ERROR</em> messages verbatim, but refrain from posting <em>warning</em> messages.  </p></dd>
+      <dt>Run a database update (update.php).</dt>
+      <dd>After an update/upgrade, it is usually necessary to run update.php.  This can be done by typing the address directly into your browser, or by clicking this link.<a name="admin_tools_end"></a></dd>
+          </dl>
+  </li>
+  <li><strong>My profile</strong><br />Edit your own user profile</li>
+</ul>
+<p>In previous beta versions of cpg1.4.x there used to be an admin mode and user mode for &quot;regular registered&quot; users, somewhat like those for the true administrator. This feature has been removed as it was both confusing for end users and really didn't serve any special purpose.</p>
+<p>The user with upload permissions has the following admin options:</p>
+<ul>
+  <li><strong>Create / order my albums</strong><br />similar to album manager in admin mode, the user can create albums within his user gallery</li>
+  <li><strong>Modify my albums</strong><br />The user can edit album title and description (similar to &quot;<a href="#album_prop">album properties</a>&quot; for the admin, but the user can't move his albums to other categories)</li>
+  <li><strong>My profile</strong><br />The user can edit his profile (changing passwords, edit location, interests, home page and occupation properties, view quota usage). When integrated with a bbs service, the &quot;My profile&quot; link will send the user to the bbs's profile page. </li>
+</ul>
+<p><a class="back" href="#top">Back to top</a></p><hr />
+
+<a name="group_cp"></a><h2>4.3 The group control panel</h2>
+<p><img src="pics/group_cp.gif" width="638" height="232" border="0" alt="" /></p>
+<p>This is where you define what members of a user <em>group</em> can and can't do.</p>
+<p>The disk quota applies only for groups where &quot;<em>Personal gallery</em>&quot; has been set to &quot;<strong>Allowed</strong>&quot;. Both files uploaded by a user in his personal gallery as well as files uploaded to public galleries are included in the quota. Set the quota to 0 to disable the quota (unlimited space).</p>
+<p>Use the <strong>anonymous</strong> group to define what non-registered users can and can't do. Quota and &quot;<em>Personal gallery</em>&quot; are meaningless for anonymous users.</p>
+<a name="group_cp_permissions"></a>
+<p><em>Permissions</em> control what the user is allowed to do in the gallery (Rating/Sending Ecards/Posting Comments).</p>
+<p>Bear in mind that if a user is a member of a group where &quot;<em>Rating</em>&quot;, &quot;<em>Comments</em>&quot; or &quot;<em>Public albums upload</em>&quot; is set &quot;<em>YES</em>&quot;, s/he will have the right to perform these operations only in albums where they are allowed. ( ie. uploading files will only be possible in albums where &quot;<em>Visitors can upload files</em>&quot; has been set to <em>YES</em>.)</p>
+<a name="group_cp_permissions_end"></a>
+<a name="group_cp_personal"></a>
+<p>If &quot;<em>Personal gallery</em>&quot; is set to <em>Allowed</em>, the members of the group will be able to have their own gallery in the &quot;<em>User galleries</em>&quot; category where they will be able to create their own albums.</p>
+<p>If &quot;<em>Approval</em>&quot; is set to <em>NO</em>, files uploaded by members of the group in albums created in their own gallery won't need to be approved by the admin. If &quot;<em>Approval</em>&quot; is set to <em>YES</em>, the users in the particular group will be able to upload, however the uploaded files will only be shown after the admin (you) has approved them.</p>
+<a name="group_cp_personal_end"></a>
+<p>The group control panel enables you to control the upload parameters of any group.</p>
+<a name="group_cp_upload_method"></a>
+<p><em>Upload method</em> lets you select the type of upload method that a particular group may use. Four forms or methods are currently available.</p>
+<ul>
+<li><strong>Single file uploads only</strong> - Users of this group may not use advanced uploading features. They may upload one file at a time. To enable single file uploads only, set <em>File upload boxes</em> to &quot;1&quot;, <em>URI upload boxes</em> to &quot;0&quot; and <em>No. of boxes</em> to &quot;fixed&quot;</li>
+<li><strong>Multiple file uploads only</strong> - Users of this group may upload multiple files at one time. To enable multiple file uploads, set <em>File upload boxes</em> to any number higher than &quot;1&quot;, <em>URI upload boxes</em> to &quot;0&quot; - it's up to you to let users configure the <em>No. of boxes</em>, but it's recommended to set it to &quot;fixed&quot; to avoid confusion and to limit the load on your server should several users try to upload simultaneously. You can set the number of file upload boxes to any number from 0 to 10 (5 is the default).</li>
+<li><strong>URI uploads only</strong> - The group may only upload files using URIs. Acceptable URIs must begin with 'http://' or 'ftp://'. To enable URI uploads only, set <em>File upload boxes</em> to &quot;0&quot;, <em>URI upload boxes</em> to &quot;1&quot; or higher.</li>
+<li><strong>File-URI</strong> - Users of this group may upload files using file upload boxes and URIs. To enable both file and URI uploads, set <em>File upload boxes</em> to &quot;1&quot; or higher, <em>URI upload boxes</em> to &quot;1&quot; or higher</li>
+</ul>
+<p><em>No. of boxes </em> set to &quot;variable&quot; allows the user to select the number of upload boxes for an upload. Usually, you will leave this option set to &quot;fixed&quot;, as it presents the user with an additional step in the upload wizard that is not necessary.</p>
+<p><em>File upload boxes</em> controls the number of file upload boxes presented to the user. If the user may customize the number of boxes (<em>No. of boxes </em> set to &quot;variable&quot;), this setting serves a maximum limit for the number of boxes he may request. Otherwise, this setting determines the number of boxes that will appear on the upload form.</p>
+<p><em>URI upload boxes</em> is the same type of control as <em>File upload boxes</em>, but it controls the presentation of URI upload boxes.</p>
+<a name="group_cp_upload_method_end"></a>
+<p><strong>Please note</strong>: on unbridged installs (or standard, stand-alone coppermine installs), the group "banned" feature really doesn't accomplish much. A user who is member of this group is still able to log in and view pics, he's just not able to upload, rate, send ecards or post comments. If you truly want to place a full ban on someone you should use the "banning" feature (which isn't group-based but individually based), instead.</p>
+<a name="group_cp_end"></a>
+<p><a class="back" href="#top">Back to top</a></p><hr />
+
+<a name="user_cp"></a><h2>4.4 The user control panel</h2>
+<p>The user control panel can be found when clicking "users" from the admin menu. It is the place where you create and manage your users.</p>
+<p><span class="important">If you have enabled integration (bridging) Coppermine with another application (e.g. your favorite BBS app), Coppermine will use the member table of the application you bridged with (your BBS), so the built-in Coppermine user management will be disabled in favor of the user management that comes with the bridged application. This has been incorporated to eliminate redundancy and facilitate a seemless integration.</span></p><p>As a result, you will not have this user control panel; clicking the "users" link will send you to your bridge application's user management instead.</p>
+<img src="pics/usermgr.gif" width="600" height="550" border="0" alt="" title="user control panel" /><br />
+<a name="user_cp_page"></a><h3>4.4.1 Page controls</h3>
+<ul>
+<li>You can sort the user management display by either clicking the arrow icons (<img src="../images/ascending.gif" width="9" height="9" border="0" alt="" title="ascending" /><img src="../images/descending.gif" width="9" height="9" border="0" alt="" title="descending" />) next to each column header or by choosing the sort order from the dropdown at the top right.</li>
+<li>If you have more than 25 users, a page tab will apear at the bottom right of the screen, allowing you to go to subsequent pages of your member list</li>
+<li>Clicking on a user's name will <strong>display</strong> the profile page of the individual user (read only)</li>
+<li>The edit icon (<img src="pics/edit.gif" width="16" height="16" border="0" alt="" title="edit" />) will send you to the user's profile in <strong>edit</strong> mode - you can change the password, email account and other user-related settings there</li>
+<li>If a user has uploaded any files, a link of "recent uploads" will show up next to his name. Clicking on this link will display files that have been uploaded by that user</li>
+<li>The &quot;group&quot; column displays the primary member group the user is in</li>
+<li>The column &quot;Registered on&quot; will show the date that the user account was created</li>
+<li>The &quot;Last visit&quot; column will show the last login of the user. <br />Note: if the user has ticked the checkbox &quot;Remember me&quot; on the login screen, he will not have to login every time he visits the gallery so this date may be accurate.</li>
+<li>The &quot;Files&quot; column displays how many files the user has uploaded to date (including those that are awaiting admin approval)</li>
+<li>The &quot;Space used&quot; column shows how much of the space that is assigned to the user has already been used. The total space the user is allowed to have ("Space Quota") depends on the user's group - which you set in the <a href="#group_cp">groups panel</a>.</li>
+<li>You can change a number of settings for several users at once by clicking the checkbox in front of the user row (use the checkbox at the very top or bottom of the page to select/unselect all users on the page) and then chosing an action to perform from the dropdown box "With selected" at the bottom left of the page. The actions you can choose from are &quot;Delete&quot;, &quot;Deactivate&quot;, &quot;Activate&quot;, &quot;Reset password&quot;, &quot;Change primary membergroup&quot; and &quot;Add secondary membergroup&quot;. The user currently logged on (you as gallery admin) has no checkbox to avoid accidental deletion or deactivation of your own admin account.</li>
+</ul>
+<a name="user_cp_page_end"></a>
+<a name="user_cp_search"></a><h3>4.4.2 Searching for user(s)</h3>
+<p>You can use the wildcards:  <tt class="code">*</tt> (for any <em>string</em>) and <tt class="code">?</tt> (<em>any single character</em>) or even <tt class="code">%expression%</tt>.<br />Example: searching for <tt class="code">j*</tt> will return both <tt class="code">Jack</tt> and <tt class="code">Jill</tt></p>
+<a name="user_cp_search_end"></a>
+<a name="user_cp_new"></a><h3>4.4.3 Creating new users</h3>
+<p>To create a new user, simply click on the button "Create new user" at the bottom of the user manager and fill in the form that will come up.</p>
+<p>This does of course not apply if you have bridging enabled, as user management is being handled by the app you have bridged coppermine with. In this case, the user management screen of your bridged app should show - create a new user there.</p>
+<a name="user_cp_new_end"></a>
+<a name="user_cp_edit"></a><h3>4.4.4 Editing users</h3>
+<p><img src="pics/usermgr_edit.gif" width="295" height="326" border="0" alt="" align="right" />To edit the properties of a user, click the <img src="pics/edit.gif" width="16" height="16" border="0" alt="" title="edit" />-button next to the user name. You will then find a page where you can modify all user profile fields the user has. This includes the option to change the password of that user. If you don't want to change a user's password, leave the password field blank.<br />
+The dropdown list determines the primary group the user is in, the checkboxes beneath it determine the secondary groups.</p>
+<p>Please note that this screen (as well as the rest of Coppermine's user management) will not be available if you have enabled <a href="#integrating">bridging</a>, because then the user management of the application you have bridged with (e.g. your BBS) kicks in and handles everything related to user management.<br />
+The button "Album permissions by group" can <em>not</em> be used to set permissions, but only to <em>view</em> them. You can set permissions using the <a href="#album_prop">album properties</a> screen.</p>
+<a name="user_cp_edit_end"></a>
+<a name="user_cp_group"></a><h3>4.4.5 Group membership</h3>
+<p>When creating a new user or editing an existing user, you will notice a row named &quot;User group&quot; - it determines what group(s) the user is in.<br />
+The first field (a dropdown field) determines the primary user group. It determines the status of a user. You should set it to &quot;Administrator&quot; (for users you want to assign admins powers to) or &quot;Registered&quot;.<br />
+Additional (secondary) group membership can be assigned using the checkboxes beneath the dropdown field. Here, all your custom groups (that you can create and manage using the <a href="#group_cp">group control panel</a>) should show as well as the core groups (the ones that come with coppermine out of the box and can't be deleted). Assign additional group membership to your users here. Privileges for a particular user inherited from group membership are added: the least restrictive permissions are taken into account.</p>
+<p>Example: if you want your registered users to be capable of viewing the gallery only, and only privileged users of your custom user group "photographers" are allowed to actually upload files, make all your users members of the built-in group "registered" (by default, they already are). Only for user you want to give the privilege to upload, tick the check box "photographers" as secondary group. Then go to your groups control panel and disallow uploads for the registered group there, but allow uploads for the custom group "photographers".</p>
+<p class="important">Note: the button "album permission by group" beneath the checkboxes is <strong>not</strong> meant to <strong>assign</strong> album permissions, but only to <strong>check</strong> the permissions set. You can only assign particular album permissions on the <a href="#album_prop">album properties</a> screen.<br clear="all" /></p>
+<a name="user_cp_group_end"></a>
+<a name="user_cp_end"></a>
+<p><a class="back" href="#top">Back to top</a></p><hr />
+
+<a name="cat_cp"></a><h2>4.5 The categories control panel</h2>
+<p><img src="pics/category_cp.gif" border="1" alt="" /></p>
+<p>This panel allows you to edit your categories.</p>
+<ul>
+<li>The <img src="pics/edit.gif" border="0" width="16" height="16" alt="" /> button
+allows you to edit the title, description and parent category of an
+existing cetegory.</li>
+<li>The <img src="pics/delete.gif" width="16" height="16" alt="" /> button
+allows you to delete a category. Deleting a category does not delete the
+albums and files it contains. These are moved to the &quot;Root&quot;
+category if it is a subcategory that is deleted or to the root of the category list if it is a parent category that is deleted..</li>
+<li>The <img src="pics/up.gif" width="16" height="16" alt="" /> and <img
+src="pics/down.gif" width="16" height="16" alt="" /> buttons allow you to
+order your categories.</li>
+<li>The &quot;<strong>Move into</strong>&quot; dropdown lists allow you to change the parent
+of a specific category. </li></ul>
+<p>&quot;<strong>User galleries</strong>&quot; is a special category. It is not visible unless
+you have some users that have created their own gallery. It can't be
+deleted but you can edit its title and description by using the <img
+src="pics/edit.gif" width="16" height="16" alt="" /> button. </p>
+<p>You can specify how you want categories sorted in coppermine: alphabetically (instead of a customized order) by setting &quot;Sort categories alphabetically&quot; to &quot;Yes&quot;. This setting is available both in coppermine config and the category manager. If you enable alphabetical sorting, the move up and move down arrows that normally let you manually sort the categories will disappear. Disable this feature if you want to organize your categories in some other order.</p>
+<p>You can only assign a picture to the category only if you have an album with images nested directly within it.</p>
+<p><a class="back" href="#top">Back to top</a></p><hr />
+
+<a name="albmgr"></a><h2>4.6 The Album Manager</h2>
+<p><img src="pics/albmgr.gif" width="360" height="288" border="0" alt="" title="Album Manager" /></p>
+<p>Coppermine stores files inside of albums, so you'll need at least one album for your pictures/files to be placed in. Albums can be stored in categories (but they don't <em>HAVE</em> to be in a category, they can just as well go into the coppermine &quot;root&quot;).</p>
+<p>When you click on &quot;albums&quot; in the admin menu, you will see the <em>Album Manager</em>.</p>
+<h3><a name="albmgr_create"></a>4.6.1 Creating albums</h3>
+<ul>
+<li><strong>Choose a category from the dropdown list</strong> &quot;Select category&quot; and highlight the selection where you would like your album to reside in. (or choose &quot;* No category *&quot; if the album should go into the coppermine &quot;root&quot;). If you haven't created a category yet, go to the <a href="#cat_cp">categories control panel</a> first. Or, you can proceed with these steps to first create an album and move the album into a category later.  You can also perform this moving task by using the <a href="#album_prop">album properties</a> page.</li>
+<li><strong>To create an album, click on the &quot;New&quot; button</strong> - a new album will appear on the list, by default this album is labelled &quot;New album&quot;</li>
+<li><strong>Click on the text input field at the bottom of the screen</strong>, highlight the default name &quot;New album&quot; </li>
+<li><strong>Then type in the album name you want to use</strong></li>
+<li>(repeat steps 2 through 4 to add additional albums)</li>
+<li><strong>Click &quot;Apply modifications&quot;</strong> to submit your changes to the database. failure to do so will result in the loss of all the changes you just made.  You can always return to this panel to edit and change album names, sort them within their parent category, and/or move them to different parent categories.</li>
+<li><strong>After clicking to Apply Modification, confirm your intent in the alert box with &the quot;OK&quot; </strong> (<em>Are you sure you want to make these modifications ? button.</em>)</li>
+</ul>
+<h3><a name="albmgr_rename"></a>4.6.2 Renaming albums</h3>
+<ul>
+<li><strong>Choose a category from the dropdown list</strong></li>
+<li><strong>Click on the album you want to change</strong></li>
+<li><strong>Click on the text input filed at the bottom of the screen</strong>, highlighting the album name</li>
+<li><strong>Type the album name you want to assign</strong></li>
+<li><strong>Click &quot;Apply modifications&quot;</strong></li>
+<li><strong>After clicking to Apply Modification, confirm your intent in the alert box with &the quot;OK&quot; </strong> (<em>Are you sure you want to make these modifications ? button.</em>)</li>
+
+</ul>
+<h3><a name="albmgr_order"></a>4.6.3 Changing the album order</h3>
+<ul>
+<li><strong>Choose a category from the dropdown list</strong></li>
+<li><strong>Click on the album you want to move up or down in the list</strong></li>
+<li><strong>Use the arrow buttons to move the album up<img src="../images/move_up.gif" width="26" height="21" border="0" alt="" title="move the album up" /> or down<img src="../images/move_down.gif" width="26" height="21" border="0" alt="" title="move the album down" /></strong></li>
+<li><strong>Click &quot;Apply modifications&quot;</strong></li>
+<li><strong>After clicking to Apply Modification, confirm your intent in the alert box with &the quot;OK&quot; </strong> (<em>Are you sure you want to make these modifications ? button.</em>)</li>
+
+</ul>
+<h3><a name="albmgr_delete"></a>4.3.4 Deleting albums</h3>
+<ul>
+<li><strong>Choose a category from the dropdown list</strong></li>
+<li><strong>Click on the album you want to delete</strong></li>
+<li><strong>Click the &quot;Delete&quot; button</strong></li>
+<li><strong>Confirm the alert box with &quot;OK&quot;</strong> (<em>Are you sure you want to delete this album ? All files and comments it contains will be lost !</em>)</li>
+<li><strong>Click &quot;Apply modifications&quot;</strong></li>
+<li><strong>After clicking to Apply Modification, confirm your intent in the alert box with &the quot;OK&quot; </strong> (<em>Are you sure you want to make these modifications ? button.</em>)</li>
+
+</ul>
+<a name="albmgr_end"></a>
+<p><a class="back" href="#top">Back to top</a></p><hr />
+
+<h2>4.7 Modifying albums/files<a name="modif_alb_pics"></a></h2>
+<p>When you are in admin mode there is a menu displayed next to each album</p>
+<p></p>
+<p><img src="pics/album_menu.gif" border="1" alt="" /></p>
+<p><strong>Delete</strong> allows you to delete the album and <strong>(CAUTION</strong>) all files within it.</p>
+<p><strong><a href="#album_prop">Properties</a></strong> allows you to modify the name, description and permissions of the album</p>
+<p><strong><a href="#edit_pics">Edit files</a></strong> allows you to modify the title/caption/keywords etc... of the files in the album</p>
+<p><a class="back" href="#top">Back to top</a></p><hr />
+
+<a name="album_prop"></a><h2>4.8 Album properties</h2>
+<p><img src="pics/edit_album.gif" width="508" height="466" border="0" alt="" /></p>
+<p>The "Album category" drop down list allows you to move an album from one category to another. If you set this to &quot;* No category *&quot; then the album will be displayed on your main page.</p>
+<p>Use <a href="#bbcode">bbcode</a> to add links and additional formatting to your descriptions.</p>
+<p>The thumbnail option lets you select the picture that will represent the album in the album list. Do not assign a picture here if you would like the album to select images randomly.</p>
+<p>If you have set &quot;Users can can have private albums&quot; to YES on the <a href="#admin">config page</a>, you can determine who will have permission to view the files of this album.</p>
+<p>When &quot;visitors can upload file&quot; is set to YES, it is possible for them to upload files into albums by enabling this permission.</p>
+<a name="album_prop_visitor_start"></a>
+<p><strong>Note that only visitors who are members of a <em>group</em> for which the setting &quot;Can upload pictures&quot; is set to YES.</strong> Members not in the permitted group will not be able to upload files into such an album. Non-registered users are members of the &quot;Anonymous&quot; group. </p>
+<p>The same rules as above apply for &quot;Visitors can post comments&quot; and &quot;Visitors can rate files&quot;.</p>
+<a name="album_prop_visitor_end"></a>
+<a name="album_prop_keyword_start"></a>
+<p>In 1.4.x the <strong>Album Keyword</strong> is <em>no</em> longer being used for searching purposes, but, rather, to link images from other album into another. Using this method, files/images can be displayed in various albums while the file itself need only exists in one album on your webserver.  You simply upload a file to one album as you would normally do, then assign one or more keywords to the file. The keyword function reads blank spaces between words as a 'break' and assumes that these words are separate words.  If you must use phrases for your keywords, connect them with an underscore or by using the ascii space holder ctrl+Alt+0160 (NOTE: the latter option only works with latin based character sets.)  Each album can only have ONE (1) keyword or keyword phrase.  All pictures residing in different albums that you would like to be displayed in this album must have the same keyword or keyword phrase in their respective keyword fields.  Pictures, unlike albums can have multiple keywords or keyword phrases separated by spaces. This provides you with the option to display pictures in many albums.  For the visitor of these albums, it will appear as if the file/image had been uploaded to each. </p>
+<a name="album_prop_keyword_end"></a>
+<a name="album_prop_password_start"></a>
+<p><strong>Album Password</strong>: you can specify an album to be password-protected (instead of relying on the "regular" group-based permissions). This way, you can even allow access for unlogged users (guests) who you provide the password to. Use this option, for example, to set up an album for your family members only by specifying a password that only they can come up with answering an additional password hint (e.g. "<em>What was the maiden name of aunt Emma?</em>"), or you could decide to send the particular password to specific friends, family or business associates by email. The optional <strong>password hint</strong> will be displayed at the password prompt, when set.</p>
+<p>Note: when setting an album password, the permission dropdown field "<em>Album can be viewed by</em>" will be switched automatically to "<em>me only</em>" - this is expected behaviour. If you change the "<em>Album can be viewed by</em>" to another selection, you must disable the album password as well.</p>
+<a name="album_prop_password_end"></a>
+
+<a name="album_prop_reset_start"></a>
+<h3>4.8.1 Reset album properties</h3>
+<img src="pics/modifyalb_reset.gif" width="436" height="148" border="0" alt="" />
+<p>You can reset the number of views count and total ratings in the album properties panel and even delete all pics at once in the sub-section &quot;Reset album&quot; by ticking the desired checkboxes and then submitting the form. To prevent accidental resets, you will have to place a tick on the checkbox &quot;I'm sure&quot; before changes can be submitted (the button will be greyed out (disabled) if you don't).</p>
+<p>Use these options with care: the deleting of files is irreversible, as well as the reset of views and ratings (you can only restore views and ratings by manually editing coppermine's database entries with third-party tools like <a href="http://www.phpmyadmin.net/" class="external" rel="external">phpMyAdmin</a> - not recommended).</p>
+<a name="album_prop_reset_end"></a>
+<a name="album_prop_end"></a>
+<p><a class="back" href="#top">Back to top</a></p><hr />
+
+<a name="edit_pics"></a><h2>4.9 Editing files</h2>
+<p><img src="pics/edit_picture.gif" width="696" height="314" border="0" alt="" /></p>
+<p>Use this link to modify your file's title, description, keywords, and custom fields (if they are used).</p>
+<p>Use the album drop down menu in the panel to move the file between albums.
+Use keywords to link files to other albums (see description in the albums section above).</p>
+<p><a class="back" href="#top">Back to top</a></p><hr />
+
+<h3>4.9.1 Editing videos<a name="edit_vids"></a></h3>
+<p><img src="pics/edit_video.gif" border="0" alt="" /></p>
+<p>Here, you can modify the title, description, keywords, and custom fields (if they are used) of your video files.</p>
+<p>Use the album drop down menu to move the video to another album.</p>
+<p>Use the height and width fields to set the size of the video.</p>
+<p>Video uploads are possible beginning with cpg1.3.0 (or latter) and are included as part of the distribution package. For cpg1.2.1 you must install a separate modification.</p>
+<p class="small right_align">[cpg1.3.0 or better required]</p>
+<p><a class="back" href="#top">Back to top</a></p><hr />
+
+<h3>4.9.2 Custom Thumbnails<a name="cust_thmb"></a></h3>
+<p><img src="pics/cust_thmb.gif" border="1" alt="" /></p>
+<p><strong>Order of thumbnails:</strong><br />
+<strong class="important">Thumbnails are defined by different levels (these are: user-defined, theme-defined, global) then in the order of their type (file-specific, extension-specific, media-specific).</strong> User-defined thumbnails are stored in the folder where the parent file is located. Theme-defined thumbnails are stored in the themes 'images' folder. Global thumbnails are stored within the 'images' folder of the Coppermine root. <strong class="important">Thumbnails can be one of the following file types: 'gif', 'png', or 'jpg'.</strong></p>
+<p><strong>Types of thumbnails:</strong><br />
+<strong class="important">File-specific thumbnails must have the same base name as the file.</strong> Using the above screenshot of a video file as an example, the thumbnails for this file could be 'thumb_<strong>thailand_waterfall</strong>.gif', 'thumb_<strong>thailand_waterfall</strong>.png', or 'thumb_<strong>thailand_waterfall</strong>.jpg', and searched for by cpg in that order.</p>
+<p><strong class="important">Extension-specific thumbnails are named after the extension of the file.</strong> (Examples: 'thumb_wmv.jpg', 'thumb_wav.jpg'.)</p>
+<p><strong class="important">The base name for media-specific thumbnails are 'thumb_movie', 'thumb_document', and 'thumb_audio'.</strong> Images use file-specific thumbnails by default.</p>
+<p><strong>Uploading:</strong><br />
+There are 2 ways to upload custom thumbnails:</p>
+<p>1. Have an image already uploaded then upload a video via the upload page. (or vice versa) The video will share the thumbnail of the image.<br />
+</p><br /><br />
+<p><img src="pics/cust_thmb_3.gif" border="1" alt="" /></p>
+<p>2. FTP upload both the video and (thumbnail or image) then <a href="#batch_add_pics">batch-add</a>. If you FTP upload the thumbnail, the thumbnail will be display in the batch add page instead of the default Coppermine thumbnail. If you upload an image it will look like the above screenshot. However, when the both files are added to the database, the thumbnail of the image will be used by the video.</p>
+<br /><br />
+<p><img src="pics/cust_thmb_final.gif" border="1" alt="" /></p>
+<p>Final result.</p>
+<p>Note: If the first method is used and the image later deleted, the thumbnail will also be deleted and the default Coppermine thumbnails will be displayed, instead.<br />
+If a previously uploaded video is to be uploaded again, via FTP, the accompanying thumbnail must also be uploaded, via FTP, to the same folder.</p>
+<p>Video uploads are permitted from verstion 1.3.0 of cpg (or better) and are included as part of the distribution package. For cpg1.2.1, this option is only available as a separate modification. The use of custom thumbnails aren't supported in versions prior to 1.3.0. <strong class="important"> NOTE: Using the above instructions, a custom thumbnail can be applied to any file, not just videos.</strong>
+</p>
+<p><strong>FAQS:</strong></p>
+<ul>
+<li><strong>Quote</strong><br /><div class="quote">I have a video named <strong>'movie.wmv'</strong>, when I upload a thumbnail for it <strong>'thumb_movie.jpg'</strong> it replaces the thumbnails for multiple videos!!!!</div>
+Duhh. <strong>'thumb_movie.jpg'</strong> is a <em>media-specific</em> thumbnail. Rename the video and the thumbnail with something other than just <strong>'movie'</strong>.</li>
+<li><strong>Quote</strong><br /><div class="quote">I can't find my user's folder!</div>
+From within Coppermine, browse to the user's album. Look in the url of your browser and you should see the folder's name. (See screenshot for an example.)<br />
+<img src="pics/user_folder_link.gif" alt=""/><br />
+Your users can upload their own thumbnails by using this trick: Create an album. Change the permissions on it so no one can view it except that specific user. Then upload the fullsized images of the thumbnails to this folder. Files outside this album will be able to use the thumbnails of these images. (See above for naming.)</li>
+<li><strong>Quote</strong><br /><div class="quote">How do I stop my users from creating their own custom thumbnails?</div>
+Currently, this is not possible.</li>
+</ul>
+
+<p class="small right_align">[cpg1.3.0 or better required]</p>
+<a name="edit_pics_end"></a>
+<p><a class="back" href="#top">Back to top</a></p><hr />
+
+
+<a name="bbcode"></a>
+<h2>4.10 Using bbcode to insert links and special formatting in various description fields</h2>
+<p>Coppermine understands the following bbCodes (the same bbCodes that are used by phpBB and many other BBS apps) in image and album description</p>
+<ul>
+  <li><tt class="code">[b]Bold[/b]</tt> =&gt; <strong>Bold</strong></li>
+  <li><tt class="code">[i]Italic[/i]</tt> =&gt; <em>Italic</em></li>
+  <li><s><tt class="code">[url=http://yoursite.com/]Url Text[/url]</tt> =&gt; <a href="http://yoursite.com">Url Text</a></s> (* see below)</li>
+  <li><tt class="code">[email]user@domain.com[/email]</tt> =&gt; <a href="mailto:user@domain.com">user@domain.com</a></li>
+  <li><tt class="code">[color=red]some text[/color]</tt> =&gt; <span style="color:red">some text</span></li>
+  <li><s><tt class="code">[img]http://coppermine.sf.net/demo/images/red.gif[/img]</tt> =&gt; <img src="../images/red.gif" border="0" alt="" /></s> (* see below)</li>
+</ul>
+<p>(*) As of cpg1.4.21, the bbcode tags [img] and [url] are no longer processed properly.  These two tags can be used to launch an attack against your website called a Cross-Site Request Forgery attack (<a href="http://en.wikipedia.org/wiki/Cross-site_request_forgery" rel="external" class="external">CSRF definition</a>).  In such an attack a user puts a malicious link in an [img] or [url] tag and can gain control of your website.  With such a serious vulnerability, the Coppermine dev team removed processing of these tags to address the immediate risk of such an attack.  This is not a final solution but a necessary one.</p>
+<p>Now the following processing is done (so that users won't be completely confused):</p>
+<ul>
+  <li><tt class="code">[url=http://yoursite.com/]Url Text[/url]</tt> =&gt; Url Text<img src="../images/descending.gif" alt="" title="http://yoursite.com/" /></li>
+  <li><tt class="code">[url]http://yoursite.com[/url]</tt> =&gt; http://yoursite.com<img src="../images/descending.gif" alt="" title="http://yoursite.com" /></li>
+  <li><tt class="code">[img]http://site.com/image.gif[/img]</tt> =&gt; <img src="../images/thumbnails.gif" border="0" alt="" title="http://site.com/image.gif" /></li>
+</ul>
+<p>As you can see above, no links are displayed for [url] tags, but you will see the link either as plain text or as a mouse-over/tooltip on the image next to the link text: <img src="../images/descending.gif" alt="" />.  For [img] tags, a placeholder image (<img src="../images/thumbnails.gif" border="0" alt="" />) is shown with the mouse-over/tooltip showing the image link.</p>
+<p>We realize that some administrators will want to process [img] and [url] tags correctly.  The Coppermine dev team is working on a solution for cpg1.5 and also one that can be applied to cpg1.4.  Information can be found on this <a href="http://forum.coppermine-gallery.net/index.php/topic,58309.0.html" rel="external" class="external">thread</a> on the Coppermine support forum.  For those who want to hack the code themselves, the relevant function is <tt class="code">bb_decode()</tt> in <tt class="code">include/functions.inc.php</tt>.  Please be <strong>very</strong> careful to address CSRF attacks and read as much as you can about them before going live on your website with your hacked fix.</p>
+<a name="bbcode_end"></a>
+<p><a class="back" href="#top">Back to top</a></p><hr />
+
+<a name="ftp"></a><a name="uploading"></a>
+<h2>4.11 Uploading pics/files</h2>
+<p>There are several methods to upload files within Coppermine. You (as gallery admin) should use <a href="#batch_add_pics">FTP-upload plus batch-add</a> (only the admin can do this). Regular users are supposed to use the "regular" <a href="#upload_http">http upload</a> or (if they have Windows XP) the <a href="#xp">XP Publisher</a>.</p>
+<a name="uploading_end"></a>
+<p><a class="back" href="#top">Back to top</a></p><hr />
+
+<a name="ftp"></a><a name="batch_add_pics"></a>
+<h3>4.11.1 Uploading pics by FTP / Batch-Add Pictures</h2>
+<p>It is recommended that the coppermine admin use ftp to upload multiple pics/files at a time. Use your ftp software to create sub-folders within <em>your_coppermine_directory/albums/</em>, where your ftp uploads can be saved. Though not mandatory, it's always a good idea to have a folder structure within the <em>albums</em> folder that reflects or mirrors your coppermine categories and albums.</p><p><span class="important">Important</span>: do not create folders or ftp upload to the <em>userpics</em>- nor to the <em>edit</em>-folder by ftp: these folders are used by coppermine internally and must not be used for any other purpose! <strong><strong>Folder names must not contain dots</strong></strong>. We also highly recommend refraining from the use of any other special characters - use only a-z, numbers and <tt class="code">-</tt> (dashes) or <tt class="code">_</tt> (underscores) to fill blank spaces. Make sure to upload in binary or auto-mode.</p>
+<p>Once you have uploaded your photos by ftp, click on the &quot;Batch Add Pictures&quot; button. The batch-add is performed in three steps:</p>
+<ul>
+<li>find the directory under which you have uploaded your photos. Select this directory by clicking on it.
+<br /><img src="pics/searchnew_1.gif" border="0" alt="" /><a name="ftp_select_dir_end"></a></li>
+<li><a name="ftp_select_file"></a>select the photos you wish to upload (by ticking them).  New pics are automatically pre-selected, those that already are in your coppermine database are not selected. Next select thee album you wish to insert them into. Click &quot;Insert Selected Pictures&quot; to start the batch-add process.<br />
+<img src="pics/searchnew_2.gif" border="0" alt="" /><a name="ftp_select_file_end"></a></li>
+<li><a name="ftp_show_result"></a>CPG will then display the results of the batch-add (allow some time for all results to display).<br />
+If the OK, DP, or PB 'signs' does not appear, click on the broken file image to see if any error message was produced by PHP.<br />
+Should your browser time out, hit the reload button.
+<ul>
+<li>OK : means that the file was succesfully added</li>
+<li>DP : means that the file is a duplicate and is already in the database</li>
+<li>PB : means that the file could not be added, check your configuration and the permission of directories where the files are located</li>
+<li>NA : means that you haven't selected an album the files should go to, hit 'back' and select an album. If you don't have an album create one first</li>
+</ul>
+<a name="ftp_show_result_end"></a>
+</li>
+</ul>
+<p>Giving FTP-access to other users can pose a serious security threat, this is why batch-add is only available for the coppermine gallery admin.</p>
+<p>Once files have been added to coppermine's database, make sure that you never rename or delete them via ftp - use coppermine's admin menu options to remove or rename files, instead.  Only in this way will these files be removed from both the file system <strong>and</strong> the database.</p>
+<a name="ftp_end"></a>
+<p><a class="back" href="#top">Back to top</a></p><hr />
+
+<a name="upload_http"></a>
+<h3>4.11.2 Uploading by HTTP</h3>
+<p>Regular HTTP uploads use the browser's built-in capabilities to upload files to a server. The maximum file size is determined by two basic factors: the speed and amount of data the web-browser can upload before timing out, and the allowed file size determined by server settings. Note that those settings are not determined by coppermine, but the server config (php.ini). Users who are webhosted usually can't edit php.ini, so they will have to live with the settings the webserver admin has set up. Those who actually run their own server and can edit php.ini should take a look at the settings if (large) http uploads fail:</p>
+<ol>
+<li><strong>max_input_time</strong>- 60 seconds is the default time limit for uploading files.<br />
+This time limit includes the time it takes for the files to upload, so if you exceed this limit, the file will not even parse, and the browser will not get a response. You can workaround this by trying to upload smaller or fewer files, or you can try uploading over broadband. The best solution, of course, is to increase the time limit to something more in line with your needs.</li>
+<li><strong>upload_max_filesize</strong> - 2MB is the default limit for individual files.</li>
+<li><strong>post_max_size</strong> - 8MB is the default limit for post requests.</li>
+<li><strong>memory_limit</strong> - 8MB is the default size.</li>
+<li>PHP's <strong>LimitRequestBody</strong> - 512KB default limit. (mainly an issue on Redhat/Apache systems.  Found in /etc/http/conf.d)<br />
+In general, upload_max_filesize &lt; post_max_size &lt; memory_limit in order for uploads to function properly. Coppermine may warn you if a file exceeds upload_max_filesize, but it cannot warn you if the total size of all the files exceeds the post limit or the memory limit.</li>
+<li><strong>file_uploads</strong> - This determines whether or not PHP will allow file uploads. It must be set to 'On'.</li>
+<li><strong>upload_tmp_dir</strong> - This specifies the temporary directory where PHP stores uploaded files.<br />
+The most common issue caused by this setting is an open_basedir warning.  In this situation, your server administrator has restricted the files that PHP can work with to a certain directory.  If he does not create and specify a temporary directory within the open_basedir restriction, PHP will attempt to use the OS temporary directory, and it will be rebuffed by the open_basedir restriction.</li>
+<li><strong>allow_fopen_url</strong> - This controls PHP's ability to read files using URL/URIs.  If it is disabled, Coppermine will not be able to upload from URLs.</li>
+</ol>
+<p>It should be obvious that the files have to be uploaded somewhere (into some folder) on your webserver - this is the albums folder within the folder you installed coppermine on your server. The HTTP uploads go into subfolders of the "userpics" folder (which resides within the "albums" folder). Obviously, the coppermine upload script needs write permissions to upload the files there. This is why you have to change permissions on the albums folder and everything within it during coppermine install - make it writable for the user the webserver runs under. This is done using the CHMOD command on Unix/Linux based servers. If you experience issues with uploading, make sure that you have set the permissions correctly.</p>
+<a name="upload_http_end"></a>
+<p><a class="back" href="#top">Back to top</a></p><hr />
+
+<a name="xp"></a>
+<h3>4.11.3 Using Windows XP Web Publishing Wizard with Coppermine</h3>
+<p>If you are using Windows XP, you can use its built-in web publishing wizard to upload your photos to your gallery.</p>
+<p>Once you have properly installed the script on your server, call the xp_publish.php file from your web browser (http://your_site.com/coppermine_dir/xp_publish.php).</p>
+<p>The script displays some information on how to do the installation on the client side and how to use the Wizard. Basically you will need to download a small file created by the script that needs to be loaded into your Windows registry.</p>
+<p>If you want to allow your users to use the Windows XP Web Publishing Wizard, it's advisable to promote it by showing a link to the file somewhere on your page.</p>
+
+<a name="xp_publish_setup"></a>
+<h4>4.11.3.1 XP Web Publishing Wizard: Setup</h4>
+Before you can use the XP Web Publishing Wizard, it needs to know the address of the your gallery.
+<ul>
+<li>Open your browser and type the following into the address box replacing "your_site.com" and "coppermine_dir" with your own Gallery address information : <tt class="code">http://your_site.com/coppermine_dir/xp_publish.php</tt></li>
+<li>On "File Download - Security Warning" click "Save" to save the cpg_###.reg file on your Desktop. (The ### represents a 10-digit numerical timestamp.)</li>
+<li>Open Windows Explorer</li>
+<li>Select Desktop from the left panel</li>
+<li>Double click on the file name that you just saved</li>
+<li>On Registry Editor's "Are you sure..." dialog click "Yes"</li>
+</ul>
+
+Above procedure needs to be done only once by users wishing to use the XP Publishing Wizard.
+
+<a name="xp_publish_upload"></a>
+<h4>4.11.3.2 XP Web Publishing Wizard: Uploading pictures</h4>
+The process of uploading pictures is a matter of following a simple dialog. It takes much longer to describe the process than do it.
+<ul>
+<li>Start Windows Explorer and locate the directory with your photographs and select one or more pictures for upload.</li>
+<li>If the Windows Explorer left panel is not titled "Picture Tasks", click on the "X" in the top right corner of the panel to close it and to reveal the Picture Tasks panel.</li>
+<li>Select "Publish xxxx to the Web" from "File and Folder Tasks" on the left panel. "xxxx" could say "this file, these files or this folder" depending on what is highlighted on the right panel.</li>
+<li>On Web Publishing Wizard's Welcome screen click "Next".</li>
+<li>You can change your selection if necessary on the Thumbnail window showing up. Click "Next" when you are ready.</li>
+<li>From the service provider window highlight your Photo Gallery name and click "Next".</li>
+<li>Enter your Coppermine username and password to login to your gallery and click "Next".</li>
+<li>From the "Welcome username" window you have an option of uploading your picture(s) into one of the existing albums or starting a new album. Click "Next" when you are ready.</li>
+<li>Click "Next" in the upload starting confirmation window.</li>
+<li>Select the picture sizes for the uploaded pictures. If you are unsure about acceptable picture sizes, verify with your Gallery administrator. Click "Next" when you are ready.</li>
+<li>You are presented with the last window of the dialog and given a choice of opening the Gallery when the upload is complete.</li>
+<li>Click "Finish" to end the XP Web Publishing Wizard and to enter the Gallery to check the new album contents.</li>
+</ul>
+<p class="small right_align">[cpg1.1.1 or better required]</p>
+<p><a class="back" href="#top">Back to top</a></p><hr />
+
+<a name="upload_trouble"></a>
+<h3>4.11.4 Upload troubleshooting</h3>
+<p>If you are experiencing issues with coppermine's upload process, temporarily change your coppermine settings as suggested below to get more detailed error messages. This applies to all upload methods, not only <a href="#upload_http">HTTP uploads</a>.</p>
+<ul>
+<li><strong>Log in as admin</strong><br />
+Go to your coppermine page and log in as admin</li>
+<li><strong>Go to the <a href="#admin">config screen</a></strong></li>
+<li><strong>Scroll to the bottom of the page</strong></li>
+<li><strong>Expand the "Maintenance settings" section by clicking on it</strong></li>
+<li><strong>Enable debug mode for everyone</strong><br />
+(set <em>Enable debug mode</em> to "Yes: Everyone")</li>
+<li><strong>Leave display of notices switched off</strong><br />
+(notices are only meant for developers. If you have idea what they mean, leave them off.)</li>
+<li><strong>Save the new settings by clicking on "Save new configuration"</strong></li>
+<li><strong>Go to the <a href="#group_cp">"groups" panel</a></strong></li>
+<li><strong>Set the upload form configuration for all groups to "Single file uploads only"</strong><br />
+ <ol>
+   <li>set <em>File upload boxes</em> to &quot;1&quot; (1)</li>
+   <li>set <em>URI upload boxes</em> to &quot;0&quot; (2)</li>
+   <li>set <em>No. of boxes</em> to &quot;fixed&quot; (3)</li>
+ </ul>
+</li>
+<li><strong>Save your new settings</strong><br />
+(click on "Apply Modifications")</li>
+</ul>
+<p>Then try to upload (using http uploads, even if you experienced troubles using another upload method) - you should get a more detailed <a href="#upload_error_messages">error message</a> that tells you what exactly goes wrong with your uploads. If the error message doesn't mean anything to you, <a href="http://forum.coppermine-gallery.net/index.php?action=search" rel="external" class="external">search the support board</a> for the error message you get.</p>
+
+
+<a name="upload_support"></a><h3>4.11.5 Asking for support on upload issues<a href="#upload_support" title="Link to this section"><img src="pics/anchor.gif" width="15" height="9" border="0" alt="" /></a></h3>
+
+<p class="important">When asking for support on the coppermine forum, post a link to your site and a <a href="#user_cp_new">test user account</a> (the test user mustn't be in the admin group!) with upload privileges, with the above mentioned settings in place - this way, supporters can see the error messages as well. Do not post debug_output unless requested. If you want fast results, you should disable admin approval for the group the test user is in, so supporters can tell instantly what is wrong without needing to double-check.</p>
+<p>When people have issues with uploading and decide to post their question on the Coppermine support board, they usually are told to read this upload troubleshooting section. Many of them fail to do so properly, which results in frustration both for users as well as supporters. To make this absolutely clear: the above mentioned steps are absolutely <strong>mandatory</strong>, no matter what skill level you have, no matter what upload method you have troubles with. Failing to do <strong>exactly</strong> as suggested will result in your request for help being ignored. Yes, this applies to you. We mean it!</p>
+<a name="upload_support_end"></a>
+
+<a name="upload_error_messages"></a><h3>4.11.6 Error messages<a href="#upload_error_messages" title="Link to this section"><img src="pics/anchor.gif" width="15" height="9" border="0" alt="" /></a></h3>
+<p>Below is a list of common error messages and possible reasons / fixes. Before <a href="#upload_support">asking for support</a>, make sure to have read the row that deals with the error you get and tried to apply the suggested fix.</p>
+<table border="0" cellspacing="0" cellpadding="0" class="maintable" width="90%">
+  <tr>
+    <th align="left" class="tableh1">Error message</th>
+    <th align="left" class="tableh1">Possible cause</th>
+    <th align="left" class="tableh1">Suggested fix</th>
+  </tr>
+  <tr>
+    <td valign="top" class="tableb">
+      <a name="ErrorCantMovePic"></a><tt class="code">Impossible to move <em>somepic.jpg</em> to albums/userpics/<br />
+      Warning: move_uploaded_file(/tmp/<em>phpezCYKr</em>)<br />
+      [function.move-uploaded-file]: failed to create stream: Operation not permitted</tt><a href="#ErrorCantMovePic" title="Link to this section"><img src="pics/anchor.gif" width="15" height="9" border="0" alt="" /></a>
+    </td>
+    <td valign="top" class="tableb">
+      PHP's temporary folder is missing or doesn't have the needed permissions
+    </td>
+    <td valign="top" class="tableb">
+      You should contact the admin of your webhost because you usually can't change the location of the website's temporary directory for file uploads, yourself (it is part of PHP configuration) .<br />
+      If the <em><a href="http://www.php.net/manual/en/ini.php#ini.list" rel="external" class="external">open_basedir</a> restriction</em> is in effect on your site then the temp directory for file uploads should be one that you can access.
+    </td>
+  </tr>
+  <tr>
+    <td valign="top" class="tableb tableb_alternate">
+      <a name="ErrorImpossibleToMove"></a><tt class="code">Impossible to move <em>somepic.jpg</em> to albums/userpics/</tt><a href="#ErrorImpossibleToMove" title="Link to this section"><img src="pics/anchor.gif" width="15" height="9" border="0" alt="" /></a>
+    </td>
+    <td valign="top" class="tableb tableb_alternate">The coppermine script doesn't have permissions on the filesystem of the server to create the thumbnail or intermediate image within the specified folder</td>
+    <td valign="top" class="tableb tableb_alternate">Apply permissions on the albums folder and everything within it as suggested in the section <a href="#permissions">Setting permissions</a>. This error message is the most frequent one, as many users tend to skip reading the permissions section. At least when getting this error message, you should read it thoroughly.</td>
+  </tr>
+  <tr>
+    <td valign="top" class="tableb">
+      <a name="ErrorFailedToOpenDir"></a><tt class="code">Warning: opendir(./albums/edit): failed to open dir: No such file or directory</tt><a href="#ErrorFailedToOpenDir" title="Link to this section"><img src="pics/anchor.gif" width="15" height="9" border="0" alt="" /></a>
+    </td>
+    <td valign="top" class="tableb">
+      <ul>
+        <li>'edit'-folder in your albums folder is missing</li>
+        <li>'edit'-folder in your albums folder doesn't have rwx-<a href="#permissions">permissions</a></li>
+        <li>Improper upgrade from cpg1.3.x</li>
+      </ul>
+    </td>
+    <td valign="top" class="tableb">
+      <ul>
+        <li>Make sure you have a folder named 'edit' in your albums folder.</li>
+        <li>Make sure the edit directory has been chmod to 777/755.</li>
+        <li>Make sure you have completely <a href="#upgrade">upgraded</a> to Coppermine 1.5.x</li>
+      </ul>
+    </td>
+  </tr>
+  <tr>
+    <td valign="top" class="tableb tableb_alternate">
+      <a name="httpPostVars"></a><tt class="code">Warning: Undefined variable: HTTP_POST_VARS in include/init.inc.php on line 43</tt><a href="#httpPostVars" title="Link to this section"><img src="pics/anchor.gif" width="15" height="9" border="0" alt="" /></a>
+    </td>
+    <td valign="top" class="tableb tableb_alternate">
+      <ul>
+        <li>Outdated PHP-version on your server</li>
+        <li>Improper webserver configuration</li>
+      </ul>
+    </td>
+    <td valign="top" class="tableb tableb_alternate">
+      Check if <a href="faq.htm#VersionPHP">your version of PHP</a> fullfills the <a href="#what">minimum requirements</a> for Coppermine. If your version is 4.1.0 or better, then this error is probably caused by a misconfiguration of your hosting server, and not a Coppermine issue. If the server isn't yours to configure properly (that is: if you're with a webhost), you can try this workaround (at your own risk):<br >
+      Edit the file "init.inc.php" and look for<br />
+      <div class="quote">$PHP_SELF = isset($_SERVER['REDIRECT_URL']) ? $_SERVER['REDIRECT_URL'] : $_SERVER['SCRIPT_NAME'];</div>
+Replace it with<br />
+      <div class="quote">$PHP_SELF = $_SERVER['PHP_SELF'];</div>
+    </td>
+  </tr>
+  <tr>
+    <td valign="top" class="tableb">
+      <a name="ErrorNoAlbumExisting"></a><tt class="code">Sorry there is no album where you are allowed to upload files</tt><a href="#ErrorNoAlbumExisting" title="Link to this section"><img src="pics/anchor.gif" width="15" height="9" border="0" alt="" /></a>
+    </td>
+    <td valign="top" class="tableb">
+      <ul>
+        <li>You (as admin) haven't created any albums yet.</li>
+        <li>You (as non-admin user) don't have the permission to upload to public albums</li>
+        <li>You haven't created at least one album in your personal gallery</li>
+      </ul>
+    </td>
+    <td valign="top" class="tableb">
+      <ul>
+        <li>If you get this message when being logged in as the admin of your gallery, you have to <a href="#albmgr_create">create at least one album</a> where file uploads could possibly be uploaded to</li>
+        <li>If you get this message when being logged in as non-admin, you have to make sure that you have understood the concept behind coppermine: the admin determines on the <a href="#group_cp">groups control panel</a> wether users can have personal galleries (i.e. create albums inside their user gallery) or if they are allowed to upload into admin-created public albums. If the user <strong>is</strong> allowed to have personal galleries and gets this message, he needs to create at least one album first by clicking on &quot;Create / oder my albums&quot;. If the user is suppossed to upload to public albums (that need to be created by the admin in advance) and gets the above mentioned error message, the admin needs to specify at least one public album where users are allowed to upload to using the <a href="#album_prop">album properties</a> screen.</li>
+      </ul>
+    </td>
+  </tr>
+  <tr>
+    <td valign="top" class="tableb tableb_alternate">
+      <a name="ErrorAllowedMemorySize"></a><tt class="code">Fatal error: Allowed memory size of <em>XXXXXXX</em> bytes exhausted at (null):0 (tried to allocate <em>XXXX</em> bytes) in /var/www/html/include/picmgmt.inc.php</tt><a href="#ErrorAllowedMemorySize" title="Link to this section"><img src="pics/anchor.gif" width="15" height="9" border="0" alt="" /></a>
+    </td>
+    <td valign="top" class="tableb tableb_alternate">
+      This error occurs when using GD and attempting to upload a high resoltuion image.  It's not the size of the file that matters here; it's the number of pixels that determine memory use in GD.
+    </td>
+    <td valign="top" class="tableb tableb_alternate">
+      There is (at least in theory) no limit <em>in Coppermine</em> to the file size or dimensions that the script can handle. However, there is at least one limit existing on the webserver: resizing images (to create intermediate images and/or thumbnails) consumes memory and burns CPU cylces. To prevent the server from crashing, the server admin has to restrict the amount of memory that a PHP script is allowed to consume. The error message mentioned above means that the limit imposed by the server admin has been reached, i.e. the image that the script tried to process consumed to much memory.
+      <ul>
+        <li><strong>Alternative 1 (ideal):</strong><br />
+        Increase the memory limit allocation in php.ini. You must be the server's administrator to do this. Also, .htaccess files cannot change this configuration setting, and it cannot be changed using ini_set(). First, you locate the following block in php.ini (if you actually are the server admin):<br />
+        <div class="quote"><tt>;;;;;;;;;;;;;;;;;;;<br />; Resource Limits ;<br />;;;;;;;;;;;;;;;;;;;<br />&nbsp;<br />max_execution_time = 30     ; Maximum execution time of each script, in seconds<br />max_input_time = 60        ; Maximum amount of time each script may spend parsing request data<br />memory_limit = 8M      ; Maximum amount of memory a script may consume (8MB)</tt></div>
+         Now you increase the memory limit to fit your needs. 9 to 16 MB should handle most requirements. To calculate the amount of memory an image uses, you simply multiply the pixel width and height, and then you multiply the result by the number of base colors (RGB - 3, CMYK - 4). Finally, you divide by 1048576 to get the memory usage in MB.<br />
+         Here are some common image resolutions and their memory use in GD (assuming RGB):
+         <ul>
+           <li>800 x 600 - 1.37 MB</li>
+           <li>1024 x 768 - 2.25 MB</li>
+           <li>1200 x 1600 - 5.49 MB</li>
+         </ul>
+         Remember when using the above figures that the amount of memory being used by the rest of Coppermine must be taken into account, too.<br />
+         If you are unable to change php.ini settings yourself, you can always ask your server administrator to change this for you.  However, most administrators (especially on shared webhsoting) will be reluctant to do so, as this setting will affect everyone on a shared server. A higher memory limit requires reducing the number of people who can be hosted on the same server in order to maintain server stability. This reduces profitability, etc.<br />
+         If you cannot change php.ini, you should read alternatives 2 and 3.</li>
+         <li><strong>Alternative 2 (sensible):</strong><br />
+         Resize your images before uploading if you do not require high resolution images.  This saves upload bandwidth and time for you.</li>
+         <li><strong>Alternative 3 (workaround):</strong><br />
+         You may download one of many free programs that resize images. Then resize the images to a smaller resolution (like 800 x 600) by the batch into a different folder while maintaining the same filenames.<br />
+         Upload the resized images to Coppermine.  Then use your FTP client to overwrite the images with the higher resolution images. </li>
+      </ul>
+    </td>
+  </tr>
+  <tr>
+    <td valign="top" class="tableb">
+      <a name="ErrorExecDisabled"></a><tt class="code">Exec() has been disabled</tt><a href="#ErrorExecDisabled" title="Link to this section"><img src="pics/anchor.gif" width="15" height="9" border="0" alt="" /></a>
+    </td>
+    <td valign="top" class="tableb">
+      php.ini allows the server administrator to disable certain functions. Usually this is the case if your server is running in safe_mode.
+    </td>
+    <td valign="top" class="tableb">
+      If the server administrator has disabled exec() you will not be able to use Image Magick.<br />
+      You may try to replace exec() with passthru() in the entire core code of coppermine (not recommended) if it has not been disabled as well.  Otherwise, you can't use ImageMagick and must use GD. Change <a href="#admin_picture_thumb_advanced_resize_method">Method for resizing images</a> in config accordingly.
+    </td>
+  </tr>
+  <tr>
+    <td valign="top" class="tableb tableb_alternate">
+      <a name="ErrorNotAGdExtension"></a><tt class="code">Not a GD extension</tt><a href="#ErrorNotAGdExtension" title="Link to this section"><img src="pics/anchor.gif" width="15" height="9" border="0" alt="" /></a>
+    </td>
+    <td valign="top" class="tableb tableb_alternate">
+      The file(s) you tried to upload can not be handled using the GD ImageLibrary
+    </td>
+    <td valign="top" class="tableb tableb_alternate">
+      The GD library can only handle jpeg, png and gif files, while the ImageMagick library supports additionally bmp, psd and some other (less common) file types. However, those files are not suitable for use on the internet. Details can be found in the <a href="#admin_picture_thumb_advanced_pic_extensions">Allowed image types</a> section in the config page of the docs.
+    </td>
+  </tr>
+  <tr>
+    <td valign="top" class="tableb">
+      <a name=""></a><tt class="code">The file '<em>albums/userpics/10001/somepic.jpg</em>' can't be inserted in the album. Error executing ImageMagick - Return value <strong>127</strong></tt><a href="#" title="Link to this section"><img src="pics/anchor.gif" width="15" height="9" border="0" alt="" /></a>
+    </td>
+    <td valign="top" class="tableb">
+      You haven't specified the correct <a href="#admin_picture_thumb_advanced_im_path">path to ImageMagick</a>, or you don't have ImageMagic at all.
+    </td>
+    <td valign="top" class="tableb">
+      If you're sure that you actually have ImageMagick available on your server, review <a href="#admin_picture_thumb_advanced_im_path">path to ImageMagick</a>. If the path appears to be correct, make sure that the coppermine script has permissions to read and execute the convert executable within the ImageMagick folder. If you're not sure, switch <a href="#admin_picture_thumb_advanced_resize_method">Method for resizing images</a> from &quot;ImageMagick&quot; to &quot;GD2&quot;, then try uploading again.
+    </td>
+  </tr>
+  <tr>
+    <td valign="top" class="tableb tableb_alternate">
+      <a name=""></a><tt class="code">PHP running on your server does not support the GD image library, check with your webhost if ImageMagick is installed.</tt><a href="#" title="Link to this section"><img src="pics/anchor.gif" width="15" height="9" border="0" alt="" /></a>
+    </td>
+    <td valign="top" class="tableb tableb_alternate">
+      Your webserver doesn't come with support for the GD image library.
+    </td>
+    <td valign="top" class="tableb tableb_alternate">
+      Make sure that you fullfill the <a href="#what">minimum requirements</a> to run Coppermine. If GD is not available on your server, you could use ImageMagick. Ask your webhost if ImageMagick is available on your webserver.
+    </td>
+  </tr>
+  <tr>
+    <td valign="top" class="tableb">
+      <a name="no_file_uploaded"></a><a name="allow_file_uploads"></a>
+      <tt class="code">No file was uploaded ! If you have really selected a file to upload, check that the server allows file uploads...</tt><a href="#no_file_uploaded" title="Link to this section"><img src="pics/anchor.gif" width="15" height="9" border="0" alt="" /></a>
+    </td>
+    <td valign="top" class="tableb">
+      File uploads are disabled in php.ini or there is a permissions issue or there is an issue with your webserver's upload mechansim.
+    </td>
+    <td valign="top" class="tableb">
+      There may be several reasons for this error message. The file you tried to upload did not &quot;reach&quot; the folder on the webserver where it is supposed to go. Check if there's a problem with HTTP uploads on your server - this feature may have been disabled or improperly configured. In <a href="faq.htm#VersionPHP">phpinfo()</a>, check that "file_uploads" is ON, "upload_max_filesize" is something like 2M and "upload_tmp_dir" is a valid directory! Make sure to review your <a href="install_permissions.htm#permissions">file/folder permissions</a> as well.<br />
+      If the server isn't yours to administer, you may have to ask your webhost for support. Here is what you should check:
+      <ul>
+	      <li>test file &quot;<strong>too large</strong>&quot;<br />
+	      If you encounter this error message in the first place, make sure that the file you test uploading with is not to large in terms of file size and dimensions. Test with a known-good, small file first. You are welcome to download one from the coppermine demo gallery and use that for testing purposes.</li>
+	      <li>&quot;<strong>file_uploads</strong>&quot; enabled<br />
+	      Go to your phpinfo page (available as <a href="admin_menu.htm#phpinfo">admin menu</a> item), search it for <tt class="code">file_uploads</tt> and make sure that it is set to &quot;on&quot;. If you are on shared webhosting, only your webhost can enable this for you.</li>
+	      <li>&quot;<strong>upload_tmp_dir</strong>&quot; needs to be set<br />
+	      On the phpinfo page, make sure that <tt class="code">upload_tmp_dir</tt> needs to be set. If you are on shared webhosting, only your webhost can set this up for you. The script (i.e. the user the webserver runs under) needs to be allowed to write to that file.</li>
+      </ul>
+    </td>
+  </tr>
+  <tr>
+    <td valign="top" class="tableb tableb_alternate">
+      <a name="destination_not_writable"></a><tt class="code">Destination directory albums/userpics/XXXXX/ is not writable by the script</tt><a href="#destination_not_writable" title="Link to this section"><img src="pics/anchor.gif" width="15" height="9" border="0" alt="" /></a>
+    </td>
+    <td valign="top" class="tableb tableb_alternate">permissions on file system level are not correct</td>
+    <td valign="top" class="tableb tableb_alternate">Make sure to review your <a href="install_permissions.htm#permissions">file/folder permissions</a>. If that doesn't help, ask your webhost for support.</td>
+  </tr>
+</table>
+<a name="upload_error_messages_end"></a>
+
+<a name="upload_trouble_end"></a>
+<p><a class="back" href="#top">Back to top</a></p><hr />
+
+<h2>4.12 The gallery configuration page<a name="admin"></a></h2>
+<p>This is where you will configure the most important parts of your coppermine gallery. Some settings have an impact on the files you upload - changing the ( * ) astericked options after you have alreaded added a large number of files in your gallery can be a difficult undertaking. For this reason, it is important that you spend time with your coppermine setup at the early stages of gallery development to get those settings exactly the way you want them, before actually uploading too many pics or listing the gallery to the general public.</p>
+<a name="admin_general"></a>
+<h3>4.12.1 General settings</h3>
+<a name="admin_general_name"></a><h4>Gallery name</h4>
+<p>Enter the name of your gallery in this text field. The name you enter will appear as the title that is displayed in the web browser's title bar and is also displayed in many of the different theme templates.</p>
+<a name="admin_general_name_end"></a>
+<a name="admin_general_description"></a><h4>Gallery description</h4>
+<p>Enter a short description of your gallery in this text field. This description is also displayed in some of the theme templates just below the name of your gallery.</p>
+<a name="admin_general_description_end"></a>
+<a name="admin_general_email"></a><h4>Gallery administrator email</h4>
+<p>All emails sent by the gallery will be sent using this email address. This must be a valid email address.</p>
+<a name="admin_general_email_end"></a>
+<a name="admin_general_coppermine-url"></a><h4>URL of your coppermine gallery folder</h4>
+<p>This is the URL where a user will be directed to when s/he clicks on the &quot;See more pictures&quot; link in an e-card. This <em>must</em> be the URL to the root of your coppermine installation followed by a forward slash (just the path to your coppermine folder, e.g. <em>http://yourdomain.tld/coppermine/</em>). Do not specify a specific file (such as index.php) or subfolder within the coppermine gallery in this field.</p><p>In previous versions of Coppermine, this field was called &quot;Target address for the 'See more pictures' link in e-cards&quot;, but as this url is now being used for other functions in coppermine, it has been changed, appropriately.</p>
+<a name="admin_general_coppermine-url_end"></a>
+<a name="admin_general_home-url"></a><h4>URL of your home page</h4>
+<p>This is the URL where a user will be directed when he clicks on the &quot;Home&quot; button in the main menu.</p>
+<p>You can use &quot;/&quot; for the root of your domain, &quot;index.php&quot; for your gallery's default starting page, or any other valid URL. By default this is "index.php".</p>
+<p class="small right_align">[cpg1.4.0 or better required]</p>
+<a name="admin_general_home-url_end"></a>
+<a name="admin_general_zip-download"></a><h4>Allow ZIP-download of favorites</h4>
+<p>When enabled, users of your site may download files that they previously saved into their <em>favorites</em> collection. These files are dowloaded from the user's &quot;My favorites&quot; page and saved onto their computers in a zip-file format. This option requires zlib to be installed on your server (run <a href="http://www.php.net/phpinfo" rel="external" class="external">phpinfo</a> to check if this php library file exists on your server).</p>
+<p class="small right_align">[cpg1.3.0 or better required]</p>
+<a name="admin_general_zip-download_end"></a>
+<a name="admin_general_time-offset"></a><h4>Timezone difference relative to GMT</h4>
+<p>Specify the time zone difference between your local time and the time zone your webserver is in. This value will be used to adjust time stamps in ecards and other places.</p>
+<p class="small right_align">[cpg1.4.0 or better required]</p>
+<a name="admin_general_time-offset_end"></a>
+<a name="admin_general_encrypt_password_start"></a><h4>Enable encrypted passwords</h4>
+<p>This option affects changes on user passwords that are stored as plain text in your database (this is the case if you have upgraded from previous versions of coppermine that did not have this feature). It will encrypt all passwords in the database, and all future passwords will be stored encypted as well. This process can not be reversed: once encryption in turned on, it can not be turned off, so use this option only after giving it some serious consideration.</p>
+<p>This option increases user security in coppermine, but comes with a drawback inherent to this method: even the admin will not be able to recover a lost password of a user (or his own password). The password can only be reset to another value using the "I forgot my password" option during login.</p>
+<p class="small right_align">[cpg1.4.0 or better required]</p>
+<a name="admin_general_encrypt_password_end"></a>
+<a name="admin_general_help"></a><h4>Enable help-icons</h4>
+<p>Enables the display of help icons in various sections of the coppermine admin pages. When enabled, make sure you have also uploaded the "docs" folder into your coppermine folder on your webserver.</p>
+<p>If you choose to set this to &quot;Yes: everyone&quot;, logged in (registered) users will be able to see the help icons in strategic locations as well, e.g. when creating a user gallery.</p>
+<p>As the help text is based on the documentation that comes with coppermine, it is available in English only. If the native language of your user(s) is not English, it is advisable to set this option to &quot;Yes: admin only&quot; to avoid confusion among your users.</p>
+<p>It is strongly recommended that you do not disable the help icons altogether: even though you feel that you know your way around in your Coppermine install, the help icons might help you with the functinos of a new or unfamiliar option later.</p>
+<p class="small right_align">[cpg1.4.0 or better required]</p>
+<a name="admin_general_help_end"></a>
+<a name="admin_general_keywords_start"></a><h4>Enable clickable keywords in search</h4>
+<p>When enabled, a list of all keywords entered in the &quot;<a href="#edit_pics">Edit files</a>&quot; page will appear at the bottom of the search page, with each keyword being a clickable search link. Enabling this option is recommended only if you have a small number of keywords in use (e.g. less than 100) - it will provide your users with some ideas as to what they could be searching for in your gallery (in addition to the standard full-text search). Please note that enabling this option for a large list of keywords (e.g. thousands of keywords) can slow down the search page considerably and may be confusing for new users and visitors to your site.</p>
+<p class="small right_align">[cpg1.4.0 or better required]</p>
+<a name="admin_general_keywords_end"></a>
+<a name="admin_general_enable-plugins"></a><h4>Enable plugins</h4>
+<p>Enable or disable <a href="#plugin">plugins</a>, with a link to the <a href="#plugin_manager">plugin manager</a>. This is a brand-new feature of coppermine. This feature allows advanced copperminers to create plug-ins that can control the way coppermine looks and behaves without modifying the inherent code of the script itself. We anticipate many exciting, user-contributed, plug-ins in the near future.  More details can be found in the <a href="#plugin_start">plugins section of this documentation</a>.  Since plugins add on to the core Coppermine system, if you are having problems, try to disable all plugins using this setting to see if a plugin may be at fault.  If so, you can then enable all plugins here, then uninstall or install one plugin at a time in the <a href="#plugin_manager">plugin manager</a> to figure out which one is at fault.</p>
+<p class="small right_align">[cpg1.4.0 or better required]</p>
+<a name="admin_general_enable-plugins_end"></a>
+
+<a name="admin_general_private-ip"></a><h4>Allow banning of non-routable (private) IP addresses</h4>
+<p>Today, most people on the internet have dynamic IP addresses that are assigned to them when connecting to the internet by their Internet Service Provider. These IP addresses change each time the user connects to the internet, but during an internet session these IP addresses are &quot;visible&quot; at the web-sites that thee user is surfing. Within the range of all IP addresses (0.0.0.0 to 255.255.255.255), certan ranges are reserved for special purposes (mostly for the use on private networks). The banning feature will not accept IP addresses banning of addresses that belong to these private ranges (e.g. 192.168.0.1). This is necessary to prevent unexperienced, as well as experienced, coppermine admins from banning IP addresses within their own LAN. If you're actually running Coppermine on your LAN/WAN that uses private IP addresses (e.g. on a company's intranet) and you want the authority to be able to ban users, switch this option to &quot;Yes&quot;. If you're running coppermine on a webserver located in the internet (e.g. you're webhosted), you should keep this option set to &quot;No&quot;.<br />
+If you don't use banning at all, you can safely ignore this setting completely.</p>
+<p class="small right_align">[cpg1.4.0 or better required]</p>
+<a name="admin_general_private-ip_end"></a>
+
+<a name="admin_general_browsable_batch_add"></a><h4>Browsable batch-add interface</h4>
+<p>When <a href="#batch_add_pics">batch-adding</a> files (that you have uploaded using <acronym title="File Transfer Protocol">FTP</acronym> before) to your gallery, you have the option to switch between a browsable list, where you can go scroll through the directory structure in your <tt class="code">albums</tt>-folder or to display the whole directory structure at once. Enable this option if you have a larger structure of directories and subdirectories you want to browse through (this requires your browser to be capable of displaying <a href="http://www.w3schools.com/tags/tag_iframe.asp" class="external" rel="external">iframes</a>). Set this option to &quot;No&quot; (disabled) if you want to use the &quot;classic&quot; coppermine interface that shows a complete list of the structure at once.<br />
+Should you have difficulties using one, try the other. You can toggle between these options on the <a href="#batch_add_pics">batch-add</a> page as well.</p>
+<p class="small right_align">[cpg1.4.0 or better required]</p>
+<a name="admin_general_browsable_batch_add_end"></a>
+<p><a class="back" href="#top">Back to top</a></p><hr />
+
+<a name="admin_language"></a>
+<h3>4.12.2 Language &amp; Charset settings</h3>
+<p><img src="pics/config_language.gif" width="612" height="234" border="1" alt="" /></p>
+<a name="admin_language_language"></a><h4>Language</h4>
+<p>This sets the default language for your gallery.</p>
+<p>Coppermine has a separate language file that makes the translation of the script much more easy. The language files are stored in the <strong>lang </strong>directory. The files are unicode encoded (utf-8). They are automatically generated with the <a href="http://www.iconv.com/iconv.htm" rel="external" class="external">iconv</a> program so there is no need for you to make an unicode version of your translation.</p>
+<p>If you select utf-8 to be the default encoding in coppermine's config, then the script will be able to automatically select a language file based on the visitor browser configuration.</p>
+<p>Here's how coppermine determines the language of a user: when accessed, coppermine checks if a user explicitely has set a language preference (which is stored in a cookie on the client). If one is set, coppermine is being displayed in that particular language.</p>
+<p>If no individual language preference has been set, coppermine detects the language preference of a user set up in his browser. If the browser language is (for example) English, then coppermine will display in English.</p>
+<p>If the browser language is set to hindi (as an example), while there is no Coppermine language file available for that particular language, then coppermine will fall back to the default language you have set up in Coppermine's config.</p>
+<p>As you can see, the determination of the actual language setting is a three step process:</p>
+<ul>
+<li>user preference (cookie)</li>
+<li>browser setting</li>
+<li>coppermine config setting</li>
+</ul>
+<p>This three-step-process is very helpful: in fact, you only set a default language in Coppermine's config (usually the language the majority of your visitors is speaking) and that's it: if a visitor who speaks another language visits your page, Coppermine's controls will display in his language. Usually, you don't have to provide a <a href="htm#admin_language_list">language selector</a> on your page (but it's an option in Coppermine's config to display one if you prefer so). The language selector in fact just adds a parameter to the URL, which then subsequently triggers a cookie to be set on the client. You (as Coppermine admin) can accomplish the same by manually adding the parameter to the URL in the address bar of your browser. Just observe how the URL changes on the your coppermine gallery if you have enabled the language selector in coppermine's config to get an idea how this works.</p>
+<p>When the script auto detects the preferred language, it stores the result in a cookie on the visitor's computer. To reset this cookie (and thus force the script to do another auto detection) the user must call this autodetect function with something like: <a href="#">http://yoursite.com/coppermine_dir/index.php?lang=xxx</a></p>
+<p>Once you have added comments or files to your gallery, you should not change the character set of your gallery. If you do so, non-ASCII characters may display properly.</p>
+<a name="admin_language_language_end"></a>
+<a name="admin_language_fallback"></a><h4>Fallback to English if translated phrase not found?</h4>
+<p>Enable this option if you're using languages other than english. If a certain word or phrase doesn't exist within your language file, coppermine will display the equivalent english phrase, instead.</p><p>This feature has been introduced to allow the use of previous version language files -- language files that may have not been translated for the this version, yet. Until an updated version of the language file is made available, you can use this option. Most translation differences affect the admin part of coppermine only, so  the admin will experience most of these untranslated strings. The admin will see some phrases in english instead of his/her preferred language for strings and words that don't exist in the currently available language file. NOTE: this fallback option only works for 95% of all phrases, there may still be some other translation omissions.</p>
+<p class="small right_align">[cpg1.4.0 or better required]</p>
+<a name="admin_language_fallback_end"></a>
+<a name="admin_language_charset"></a><h4>Character encoding</h4>
+<p>This should normally be set to "Unicode (utf-8)" (or "Default (language file)"). See the discussion in the &quot;<strong><a href="#admin_language">language</a></strong>&quot; section of this page.</p>
+<a name="admin_language_list"></a><h4>Display language list</h4>
+<p>Enable this option if you want your users to be able to select a preferred language from a dropdown list (you can specify to display only the list itself or a label saying &quot;<strong>Choose your language:</strong>&quot; in front of the list). Edit your template file (/themes/yourtheme/template.html) to specify where the language dropdown list should appear on your gallery (look for the call tag: <strong>{LANGUAGE_SELECT_LIST}</strong>).</p>
+<p class="small right_align">[cpg1.3.0 or better required]</p>
+<a name="admin_language_list_end"></a>
+<a name="admin_language_flags"></a><h4>Display language flags</h4>
+<p>Enable this option if you would like the option of having your users select languages appropriate for their use by merely clicking on a flag icon which representing their language or country (you can specify to display the flags themselves or include a label that states: &quot;<strong>Choose your language:</strong>&quot; in front of the flags). Edit your template file (/themes/yourtheme/template.html) to specify where the flags should appear in your gallery (look for the call tag:<strong>{LANGUAGE_SELECT_FLAGS}</strong>).</p>
+<p class="small right_align">[cpg1.3.0 or better required]</p>
+<a name="admin_language_flags_end"></a>
+<a name="admin_language_reset"></a><h4>Display &quot;reset&quot; in the language selection</h4>
+<p>This option only applies only if you enabled user language selection - it will show a &quot;default&quot;-icon or list entry to let the users go back to the original language of your gallery.</p>
+<p class="small right_align">[cpg1.3.0 or better required]</p>
+<a name="admin_language_reset_end"></a>
+<a name="admin_language_charset_end"></a>
+<p><a class="back" href="#top">Back to top</a></p><hr />
+
+<a name="admin_theme"></a>
+<h3>4.12.3 Themes settings</h3>
+<a name="admin_theme_theme"></a><h4>Theme</h4>
+<p>Use this dropdown list to select the default theme for your gallery (Themes are stored in sub-directories of the <strong>themes</strong> directory ).</p>
+<a name="admin_theme_theme_end"></a>
+<a name="admin_theme_theme_list"></a><h4>Display theme list</h4>
+<p>Enable this option if you want your users to be able to select other themes from a dropdown list (you can specify to display only the list itself or a label saying &quot;<strong>Choose your theme:</strong>&quot; in front of the list). Edit your template file (/themes/yourtheme/template.html) to specify where the theme dropdown list should appear on your gallery (look for <strong>{THEME_SELECT_LIST}</strong>).</p>
+<p>This option only makes sense if you have at least one alternative theme in your /themes/ folder other than your default theme. We recommend using this option only if there's are additional benefits for the user (for example a theme with less graphics in it that loads faster for users on a dial-up connection, or a theme with reduced color pallettes and good contrast).</p>
+<p class="small right_align">[cpg1.3.0 or better required]</p>
+<a name="admin_theme_theme_list_end"></a>
+<a name="admin_theme_theme_reset"></a><h4>Display &quot;reset&quot; in theme selection</h4>
+<p>This option applies only if you enabled the user theme selection option - it will show a &quot;default&quot; list entry to let the users go back to the original theme of your gallery.</p>
+<p class="small right_align">[cpg1.3.0 or better required]</p>
+<a name="admin_theme_theme_reset_end"></a>
+<a name="admin_theme_faq"></a><h4>Display FAQ</h4>
+<p>This option adds a &quot;FAQ&quot; link to the menu bar when enabled. If a user clicks on it, it will display a list of &quot;Frequently asked question&quot; on how to use coppermine. To change the content of the FAQ, edit the file /your_coppermine_folder/lang/yourlanguage.php (e.g. english.php) and look for</p>
+<pre>// ------------------------------------------------------------------------- //
+// File faq.php
+// ------------------------------------------------------------------------- //</pre>
+<p>Edit the content that comes after it.</p>
+<p class="small right_align">[cpg1.3.0 or better required]</p>
+<a name="admin_theme_faq_end"></a>
+<a name="admin_theme_custom_lnk_name"></a><h4>Name of your custom link</h4>
+<p>Use this if you want to create a custom link that will appear in the menu. What you enter here will be the name of the menu link or button.  Leave space blank if you do not have any specific use for it.</p>
+<p class="small right_align">[cpg1.4.0 or better required]</p>
+<a name="admin_theme_custom_lnk_name_end"></a>
+<a name="admin_language_custom_lnk_url"></a><h4>URL of your custom link</h4>
+<p>This is the URL where the user's browser will be directed to when s/he clicks on the &quot;Custom link name&quot; button in the main menu.</p>
+<p>You can use any valid URL.</p>
+<p>Leave this blank if you do not have any specific use for it.</p>
+<p class="small right_align">[cpg1.4.0 or better required]</p>
+<a name="admin_language_custom_lnk_url_end"></a>
+<a name="admin_theme_bbcode"></a><h4>Display bbcode help</h4>
+<p>When enabled, this will display the <a href="#bbcode">bulletin board codes</a> that may be used in description fields to help with the formatting of text, images and links.</p>
+<p class="small right_align">[cpg1.3.0 or better required]</p>
+<a name="admin_theme_bbcode_end"></a>
+<a name="vanity_block"></a><h4>Display the vanity block on themes that are defined as XHTML and CSS compliant</h4>
+<p>When enabled and using a theme that has been defined as XHTML and CSS compliant, the vanity block will be shown. The vanity block contains the logos and links for HTML and CSS compliance at w3.org, as well as pointers to the PHP, and MySQL projects.</p>
+<p class="small right_align">[cpg1.4.2 or better required]</p>
+<a name="vanity_block_end"></a>
+<a name="admin_theme_include_path_start"></a>
+<h4>Path to custom header include</h4>
+<p>Optional relative path to a custom header file. Using this option, you can include non-coppermine code bits to be included into your theme, e.g. an overall navigation that gets included on your whole website. You can only add a relative path (seen from the root path of your coppermine install) - not an absolute one, nor a http include from another website. This option is only meant for experienced users who have some PHP know-how. </p>
+<p><span class="important">Warning: you mustn't include full html pages that contain an html header or footer (tags like <tt class="code">&lt;head&gt;</tt> or <tt class="code">&lt;body&gt;</tt>), nor can the included file do file header manipulation, e.g. reading another (non-coppermine) cookie.</span></p>
+<p class="small right_align">[cpg1.4.0 or better required]</p>
+<h4>Path to custom footer include</h4>
+<p>Optional relative path to a custom footer file. The same remarks apply as for the custom header include path.</p>
+<p class="small right_align">[cpg1.4.0 or better required]</p>
+<a name="admin_theme_include_path_end"></a>
+<a name="admin_theme_end"></a>
+<p><a class="back" href="#top">Back to top</a></p><hr />
+
+<a name="admin_album_list"></a>
+<h3>4.12.4 Album list view</h3>
+<a name="admin_album_table-width"></a>
+<h4>Width of the main table (pixels or %)</h4>
+<p>The number you type in here becomes the default width of the display tables used on your main page or when you are viewing thumbnails of an album. You can enter the width in pixels or specify it in percentages. The default value is 100%.</p>
+<a name="admin_album_table-width_end"></a>
+<a name="admin_album_category-levels"></a>
+<h4>Number of levels of categories to display</h4>
+<p>The default value is 2. With this value the script will display the current categories plus one level of sub-categories.</p>
+<a name="admin_album_category-levels_end"></a>
+<a name="admin_album_number"></a>
+<h4>Number of albums to display</h4>
+<p>This is the number of albums to display on a page. If the current category contains more albums than what is allowed on the page, the album list will be split over multiple pages with tabs at the bottom of each album list table that users can click on to advance to the next set of albums in a particular category.</p>
+<a name="admin_album_number_end"></a>
+<a name="admin_album_columns"></a>
+<h4>Number of columns for the album list</h4>
+<p>Self-explanatory. The default value is 2.</p>
+<a name="admin_album_columns_end"></a>
+<a name="admin_album_thumbnail-size"></a>
+<h4>Size of thumbnails in pixels</h4>
+<p>This sets the maximum size of the thumbnails that are to be displayed for each album. 50 means that the thumbnail will fit inside a square of 50x50 pixels.</p>
+<p>If the size you specify there is larger than &quot;Pictures and thumbnails settings/Max width or height of a thumbnail&quot;, the thumbnail will be stretched. Aesthetically, it is better to have thumbnails smaller than or equal to the Max width or height settings here.</p>
+<a name="admin_album_thumbnail-size_end"></a>
+<a name="admin_album_list_content"></a><a name="changing"></a><h4>The content of the main page</h4>
+<p>This option allows you to change the content of the main page displayed by the script.</p>
+<p>The default value is &quot;<strong>catlist/alblist/random,2/lastup,2</strong>&quot;</p>
+<p>You can use the following "codes" to include other items:</p>
+<ul>
+  <li>'<strong>breadcrumb</strong>': navigation inside the gallery (e.g. &quot;home &gt; category &gt; subcategory &gt; album&quot;)</li>
+  <li>'<strong>catlist</strong>': category list</li>
+  <li>'<strong>alblist</strong>': album list</li>
+  <li>'<strong>random</strong>': random files (leaving random files &quot;on&quot; for huge galleries with more than 10,000 pics might result in performance problems; switch random &quot;off&quot; in this case)</li>
+  <li>'<strong>lastup</strong>': last uploads</li>
+  <li>'<strong>topn</strong>': most viewed</li>
+  <li>'<strong>toprated</strong>': top rated</li>
+  <li>'<strong>lastcom</strong>': last comments </li>
+  <li>'<strong>lasthits</strong>': last viewed </li>
+  <li>'<strong>anycontent</strong>': inserts php-generated content that has to reside within the file 'anycontent.php' into the index page. Can be used to include banner-rotation scripts or similar.</li>
+  <li>'<strong>lastalb</strong>': last created albums</li>
+  </ul>
+<p>Unless you really know what you are doing you should always keep catlist and alblist in &quot;<em>the content of the main page</em>&quot;, as they make up the core parts of the index page or any gallery site, for that matter.</p>
+<p>The <strong>,2</strong> dictates that cpg should display 2 rows of thumbnails.</p>
+<a name="admin_album_list_content_end"></a>
+<a name="admin_album_first-level_thumbs"></a>
+<h4>Show first level album thumbnails in categories</h4>
+<p>Use this setting to choose whether or not to display thumbnails from the first album of the categories listed on the default gallery entry page.</p>
+<a name="admin_album_first-level_thumbs_end"></a>
+<a name="admin_album_list_alphasort_start"></a>
+<h4>Sort categories alphabetically (instead of custom sort order)</h4>
+<p>You can dictate that coppermine sort all categories alphabetically (instead of in a custom order) by setting &quot;Sort categories alphabetically&quot; to &quot;Yes&quot;. This setting is accessible both in the coppermine config menu and in the category manager. If you enable alphabetical sorting, the up and down arrows that normally let you move  categories up and down in the custom sorting list will disappear.</p>
+<p class="small right_align">[cpg1.4.0 or better required]</p>
+<a name="admin_album_list_alphasort_end"></a>
+<a name="admin_album_linked_files_start"></a><h4>Show number of linked files</h4>
+<p>If you use album keywords to display images/files in more than one album, enabling this option will display additional information for the album stats: if an album doesn't only contain &quot;regular&quot; files, but files linked via the "<a href="#album_prop_keyword_start">album keyword</a>" option as well, the number of linked files will be displayed separately like this "3 files, last one added on Oct 07, 2004<em>, 3 linked files, 6 files total</em>".</p>
+<p class="small right_align">[cpg1.4.0 or better required]</p>
+<a name="admin_album_linked_files_end"></a>
+<a name="admin_album_list_end"></a>
+<p><a class="back" href="#top">Back to top</a></p><hr />
+
+<a name="admin_thumbnail_view"></a>
+<h3>4.12.5 Thumbnail view</h3>
+<a name="admin_thumbnail_columns"></a>
+<h4>Number of columns on thumbnail page</h4>
+<p>Default value is 4 this means that each row will show 4 thumbnails.</p>
+<a name="admin_thumbnail_columns_end"></a>
+<a name="admin_thumbnail_rows"></a>
+<h4>Number of rows on thumbnail page</h4>
+<p>Default value is 3.</p>
+<a name="admin_thumbnail_rows_end"></a>
+<a name="admin_thumbnail_tabs"></a>
+<h4>Maximum number of tabs to display</h4>
+<p>When the thumbnails spread over multiple pages, tabs are displayed at the bottom of the page. This value define how many tabs will be displayed.</p>
+<a name="admin_thumbnail_tabs_end"></a>
+<a name="admin_thumbnail_display_caption"></a>
+<h4>Display file caption (in addition to title) below the thumbnail </h4>
+<p>Toggles whether the file caption is displayed below each thumbnail while user is in (regular) thumbnail view.</p>
+<p class="small right_align">[cpg1.3.0 or better required]</p>
+<a name="admin_thumbnail_display_caption_end"></a>
+<a name="admin_thumbnail_display_views"></a>
+<h4>Display number of views below the thumbnail</h4>
+<p>Toggles whether the number of views is displayed below each thumbnail while user is in thumbnail view.</p>
+<p class="small right_align">[cpg1.3.0 or better required]</p>
+<a name="admin_thumbnail_display_views_end"></a>
+<a name="admin_thumbnail_display_comments"></a>
+<h4>Display number of comments below the thumbnail</h4>
+<p>Toggles the display of the number of comments for below each thumbnail.</p>
+<p class="small right_align">[cpg1.3.0 or better required]</p>
+<a name="admin_thumbnail_display_comments_end"></a>
+<a name="admin_thumbnail_display_uploader"></a>
+<h4>Display uploader name below the thumbnail</h4>
+<p>Toggles the display of the name of non-admin uploaders below each thumbnail.</p>
+<p class="small right_align">[cpg1.4.0 or better required]</p>
+<a name="admin_thumbnail_display_uploader_end"></a>
+<a name="admin_thumbnail_display_admin_uploader"></a>
+<h4>Display names of admin uploaders below the thumbnail</h4>
+<p>Toggles the display of admin uploader names below each thumbnail for users that have the administrators group set as thier default group.</p>
+<p class="small right_align">[cpg1.4.0 or better required]</p>
+<a name="admin_thumbnail_display_admin_uploader_end"></a>
+<a name="admin_thumbnail_display_filename"></a>
+<h4>Display the file name below the thumbnail</h4>
+<p>Toggles the display of the file name below each thumbnail.</p>
+<p class="small right_align">[cpg1.4.0 or better required]</p>
+<a name="admin_thumbnail_display_filename_end"></a>
+<a name="admin_thumbnail_display_description"></a>
+<!--Not implemented yet
+<h4>Display album description</h4>
+<p>Toggles the display of the album description below each album thumbnail.</p>
+-->
+<a name="admin_thumbnail_display_description_end"></a>
+<a name="admin_thumbnail_default_sortorder"></a>
+<h4>Default sort order for files</h4>
+<p>This option determines the default order in which thumbnails should be displayed. Your user can override this by selecting a custom sort order from the sort buttons above the albums.</p>
+<a name="admin_thumbnail_default_sortorder_end"></a>
+<a name="admin_thumbnail_minimum_votes"></a>
+<h4>Minimum number of votes for a file to appear in the 'top-rated' list</h4>
+<p>Used to determine how many votes a file must receive before appearing as a &quot;top-rated file.&quot;  If a file has received less than &quot;this value&quot; of votes, it will not be displayed in the "top-rated" page. This value must be greater or equal to 1.</p>
+<a name="admin_thumbnail_minimum_votes_end"></a>
+<a name="admin_thumbnail_view_end"></a>
+<p><a class="back" href="#top">Back to top</a></p><hr />
+
+<a name="admin_image_comment"></a>
+<h3>4.12.6 Image view</h3>
+<a name="admin_image_comment_table-width"></a>
+<h4>Width of the table for picture display (pixels or %)</h4>
+<p>The minimum width of the table that will be used to display the intermediate picture.</p>
+<p>Examples:<br /><tt class="code">600</tt> = The table around the pic will be 600 pixels wide (if the pic has larger dimensions this table will expand accordingly to fit the image).<br />
+<tt class="code">100%</tt> = use all available space based on the horizontal dimension of the pic.</p>
+<a name="admin_image_comment_table-width_end"></a>
+<a name="admin_image_comment_info_visible"></a>
+<h4>File information are visible by default</h4>
+<p>Define whether or not the file information block that appears below the intermediate image should be visible by default (If turned off, users can still view the info block by clicking on the ( i ) button..</p>
+<a name="admin_image_comment_info_visible_end"></a>
+<a name="admin_image_comment_descr_length"></a>
+<h4>Max length for an image description</h4>
+<p>Maximum number of characters that an image description may contain.</p>
+<a name="admin_image_comment_descr_length_end"></a>
+<a name="admin_image_comment_filmstrip_toggle"></a>
+<h4>Show film strip</h4>
+<p>Toggles display of a "film strip" showing thumbnails of prior and subsequent files in the album.</p>
+<p class="small right_align">[cpg1.2.0 or better required]</p>
+<a name="admin_image_comment_filmstrip_toggle_end"></a>
+<a name="admin_image_comment_display_film_strip_filename"></a>
+<h4>Display file name under film strip thumbnail</h4>
+<p>Toggles the display of the file name below each thumbnail in the film strip.</p>
+<p class="small right_align">[cpg1.4.0 or better required]</p>
+<a name="admin_image_comment_display_film_strip_filename_end"></a>
+<a name="admin_image_comment_filmstrip_number"></a>
+<h4>Number of items in film strip</h4>
+<p>Sets the number of thumbnails to display in film strip. The number you can set here is dependent on your thumbnail size and monitor size. If you do not want to inconvenience users with smaller monitors set this value between 4-6.</p>
+<p class="small right_align">[cpg1.2.0 or better required]</p>
+<a name="admin_image_comment_filmstrip_number_end"></a>
+<a name="admin_image_comment_slideshow_interval"></a>
+<h4>Slideshow interval in milliseconds</h4>
+<p>This sets the time that each pic is to be displayed (transition interval) when a user is viewing a slideshow (the next pic is being loaded/cached while the current one is being displayed). This setting must be in milliseconds (1 second = 1000 milliseconds).<br />Remember that setting this to a very low value may not be in the best interest for all of your users, especially those who are on dial-up connections, or if you have large files (kb)that may take longer than the allotted time to display.</p>
+<a name="admin_image_comment_slideshow_interval_end"></a>
+<a name="admin_image_comment_end"></a>
+<p><a class="back" href="#top">Back to top</a></p><hr />
+
+<a name="admin_comment_start"></a>
+<h3>4.12.7 Comment settings</h3>
+<a name="admin_image_comment_bad_words"></a>
+<h4>Filter bad words in comments</h4>
+<p>Remove "bad words" from comments. The "bad words" list is in the language file. NOTE: Not all language files may contain an equivelent for this list.</p>
+<a name="admin_image_comment_bad_words_end"></a>
+<a name="admin_image_comment_smilies"></a>
+<h4>Allow smilies in comments</h4>
+<p>Toggle the use of smilies in comments.</p>
+<a name="admin_image_comment_smilies_end"></a>
+<a name="admin_image_comment_flood"></a>
+<h4>Allow several consecutive comments for a specific pic/file from the same user</h4>
+<p>This setting toggles flood protection for the comments option. When set to YES, a user can post another comment, even though he already posted a previous one. Some users may abuse this setting. The recommended setting is: NO.</p>
+<a name="admin_image_comment_flood_end"></a>
+<a name="admin_image_comment_chars_per_word"></a>
+<h4>Max number of characters in a word</h4>
+<p>This is designed to prevent someone from breaking the flow of your gallery layout by posting lengthy comments without using spaces between words. With this default value, "words" that longer than 38 characters are automatically censored.</p>
+<a name="admin_image_comment_chars_per_word_end"></a>
+<a name="admin_image_comment_lines"></a>
+<h4>Max number of lines in a comment</h4>
+<p>Prevent a comment for containing too many "new line" characters (enter key).</p>
+<a name="admin_image_comment_lines_end"></a>
+<a name="admin_image_comment_length"></a>
+<h4>Maximum length of a comment</h4>
+<p>Maximum number of characters that a comment may contain.</p>
+<a name="admin_image_comment_length_end"></a>
+<a name="admin_image_comment_admin_notify"></a>
+<h4>Notify admin of comments by email</h4>
+<p>Toggle if you want to receive an email each time a comment is being posted. Warning: only enable this option on sites with very low user traffic or you may soon find yourself flooded with notification emails.</p>
+<a name="admin_image_comment_admin_notify_end"></a>
+<a name="admin_comment_sort_start"></a>
+<h4>Sort order of comments</h4>
+<p>Changes the sorting order of comments made to a file.<br />
+Ascending: latest comment at the bottom, oldest comment at the top<br />
+Descending: latest comment at the top, oldest comment at the bottom</p>
+<a name="admin_comment_sort_end"></a>
+<a name="comments_anon_pfx"></a>
+<h4>Prefix for anonymous comments authors</h4>
+<p>If you allowed anonymous comments (permissions set on the <a href="#group_cp">groups</a> control panel), this prefix will be used for comments left by unregistered users. This can be helpful in preventing and identifing unregistered users posing as other registered users (or even an admininstrators) when leaving comments. Leave this blank if you do not want a prefix for guest's comments.</p>
+<a name="comments_anon_pfx_end"></a>
+<a name="admin_comment_end"></a>
+<p><a class="back" href="#top">Back to top</a></p><hr />
+
+<a name="admin_picture_thumbnail"></a>
+<h3>4.12.8 Picture and thumbnail settings</h3>
+<a name="admin_picture_thumbnail_jpeg_quality"></a>
+<h4>Quality for JPEG files</h4>
+<p>The quality used for JPEG compression when the script resizes an image. Values can range from 0 (worst) to 100 (best). By default this value is set to 80. This value can be set to 75 when using ImageMagick.<br />Do not change this setting unless you really know what you're doing. Other settings for thumbnail and intermediate pic (dimensions) may have a significant and undesireable impact on filesizes and image quality.</p>
+<a name="admin_picture_thumbnail_jpeg_quality_end"></a>
+<a name="admin_picture_thumbnail_max-dimension"></a><h4>Max dimension of a thumbnail</h4>
+<p>Sets the maximum allowable size in pixels for the specified dimension of your thumbnails.</p><div class="important">When changing this setting, only files that are added after the change will be affected. Therefore, it is advisable that this setting not be changed after photos have already been added to the gallery. You can, however, apply the changes to the existing pictures with the &quot;admin tools (resize pictures)&quot; utility from the admin menu.</div>
+<a name="admin_picture_thumbnail_max-dimension_end"></a>
+<a name="admin_picture_thumbnail_use-dimension"></a><h4>Use dimension ( width or height or Max aspect for thumbnail )</h4>
+<p>Sets the dimension (height or width) on which the maximum pixel size limitation should apply to.</p><div class="important">When changing this setting, only files that are added after the change will be affected. Therefore, it is advisable that this setting not be changed after photos have already been added to the gallery. You can, however, apply the changes to the existing pictures with the &quot;admin tools (resize pictures)&quot; utility from the admin menu.</div>
+<a name="admin_picture_thumbnail_use-dimension_end"></a>
+<a name="admin_picture_thumbnail_intermediate_toggle"></a>
+<h4>Create intermediate pictures</h4>
+<p>By default, whenever you upload a file, the script creates both a thumbnail of the file (file name using "thumb_" as its prefix) and an intermediate version of the file(file name using "normal_" as its prefix). If you set this option to NO, the intermediate file will not be created.</p>
+<a name="admin_picture_thumbnail_intermediate_toggle_end"></a>
+<a name="admin_picture_thumbnail_intermediate_dimension"></a>
+<h4>Max width or height of an intermediate picture/video</h4>
+<p>The intermediate pictures are those that appears when you click on a thumbnail. The default value is 400, it means that the intermediate picture will be created to fit inside a square of 400x400 pixels. NOTE: Currently, 33% of your users have monitors set at 800 pixels wide, another 33% have their settings at 1024 pixels, the rest have settings less than or greater than these two numbers. Therefore a setting of 600 or less would fit the screens of most users.  Keep in mind,however, that setting this size larger than 400 impacts the file size of your intermediate pictures and the time it takes to download and display on slower connections.</p>
+<a name="admin_picture_thumbnail_intermediate_dimension_end"></a>
+<a name="admin_picture_thumbnail_max_upload_size"></a>
+<h4>Max size for uploaded files (KB)</h4>
+<p>Any file with a file size larger than this value will be rejected by the coppermine script. Setting this option to a higher value than what is actually supported by your webserver will only result in "funny" webserver error messages in lieu of "regular" coppermine error messages. Therefore, it is recommended that you set this value to a size that is slightly lower or equal to the max file size that your server is set to handle. The actual size your server can handle cannot be determined by Coppermine (or any PHP script) - when in doubt, contact your webhost.</p> <p>Prior to an FTP upload of files, it is recommended that the admin use their imaging software to resize (individually or by batch processing) larger files to a more practical size. This will facilitate the FTP process and the creation of intermediate pictures and thumbnails.</p>
+<a name="admin_picture_thumbnail_max_upload_size_end"></a>
+<a name="admin_picture_thumbnail_max_upload_dimension"></a>
+<h4>Max width or height for uploaded pictures (pixels)</h4>
+<p>Limits the height and width dimensions of the pictures that are uploaded. Resizing large pictures requires a lot of memory and consumes CPU resources. As a result, there are usually limitations that have been set by your webserver (host) regarding the maximum uploadable file sizes - you cannot set this value to one that is higher than what is actually supported by your webserver. Contact your webhost/server if you are not sure about your site's file size limitations. (Ideally, users will resize their pictures to a more manageable size prior to attempting any uploads. Determine what you would like the maximum size for a full size pic should be (dpi and dimensions, while keeping in mind the screen size of your users) and use that as a recommended standard for FTP and user HTTP uploads. Inform your users of this recommended size constraints.)</p>
+<a name="admin_picture_thumbnail_max_upload_dimension_end"></a>
+<a name="admin_picture_thumbnail_auto-resize"></a><h4>Auto resize images that are larger than max width or height</h4>
+<p>During the upload process, if images are larger than the maximum width or height allowed they will automatically be resized to the maximum allowable size. Users with especially large files should be advised to resize their pictures outside of coppermine before uploading as this process also consumes considerable resources when processed online.</p>
+<p><strong>Note:</strong> How the image is resized (width/height/max aspect) is set in the admin option &quot;<a href="#admin_picture_thumbnail_use-dimension">Use dimension (width or height or Max aspect for thumbnail)</a>&quot;</p>
+<p>There are three options:</p>
+<ul><li>No - Disabled</li><li>Yes: Everyone - Enabled for all users, including the Admin during batch-add process.</li>
+<li>Yes: User only - Enabled only for regular users</li></ul>
+<p class="small right_align">[cpg1.4.0 or better required]</p>
+<a name="admin_picture_thumbnail_auto-resize_end"></a>
+<a name="admin_picture_thumbnail_end"></a>
+<p><a class="back" href="#top">Back to top</a></p><hr />
+
+<a name="admin_picture_thumb_advanced"></a>
+<h3>4.12.9 Files and thumbnails advanced settings</h3>
+<a name="admin_picture_thumb_advanced_private_toggle"></a>
+<h4>Albums can be private</h4>
+<p>If set to YES then your gallery can contain albums that are visible only to users that belong to a specified group. This is ideal for creating albums that contain files that you want accessible to only a select group of people.  You could also create a userID and password and inform specific users/customers of the ID and password needed to view these files. </p>
+<p>If a user is a member of a group that can have its own gallery and this option is turned on then this user will have the permission to hide any of his/her albums from other users.</p>
+<p>This option does <strong>not</strong> determine whether users can have personal galleries at all, <strong>nor</strong> does it determine who is allowed to upload and who is not (these settings are accessible in the <a href="#group_cp">groups manager</a>). You should only set this option to NO if you really know what you're doing (by default, it is set to YES).</p>
+<p class="important">Note: if you switch from 'yes' to 'no' all currently private albums will become public!</p>
+<a name="admin_picture_thumb_advanced_private_toggle_end"></a>
+<a name="admin_picture_thumb_advanced_private_icon_show"></a>
+<h4>Show private album Icon to unlogged user </h4>
+<p>Toggles the display of the private album icons to unlogged users.<br />Set to 'NO', the album is completely hidden from unauthorised users.<br />Set to 'YES', the album name, description and statistics are shown, but not the thumbnails or files contained within.</p>
+<a name="admin_picture_thumb_advanced_private_icon_show_end"></a>
+<a name="admin_picture_thumb_advanced_filename_forbidden_chars"></a>
+<h4>Characters forbidden in filenames</h4>
+<p>When the filename of a file that is uploaded contains any one or more of these characters, the characters will be replaced with an underscore.</p>
+<p>Don't change this unless you know exactly what you are doing.</p>
+<a name="admin_picture_thumb_advanced_filename_forbidden_chars_end"></a>
+<a name="admin_picture_thumb_advanced_pic_extensions"></a>
+<h4>Allowed image types</h4>
+<p>&quot;<em>ALL</em>&quot; will result in all allowed image file types that your image library (GD or ImageMagick) is capable of handling to be allowed as uploads and content in your gallery. If you want to restrict the allowed file types to certain types only, enter a slash-separated list of extensions, e.g. <tt class="code">jpg/bmp/tif</tt></p>
+<p class="small right_align">[cpg1.3.0 or better required]</p>
+<a name="admin_picture_thumb_advanced_pic_extensions_end"></a>
+<a name="admin_thumbs_advanced_movie"></a>
+<h4>Allowed movie types</h4>
+<p>&quot;<em>ALL</em>&quot; will result in all allowed movie file types to be uploaded. If you want to restrict the allowable file types to certain extensions only, enter a slash-separated list of extensions, e.g. <tt class="code">wmv/avi/mov</tt>.</p>
+<p>Note that being able to display a movie requires that the cpg-user have the necessary codecs properly configured on their computers to display the movie file, e.g. if you allow the file type <tt class="faq">mov</tt>, the user who wishes to view the file will need to have Apple's Quick-Time plug-in installed. Also note that <tt class="code">avi</tt> is just a container for different codecs - this means that a computer which is capable of playing movie1.avi may not be capable of playing movie2.avi if those files have been encoded with different 'avi' codecs.</p>
+<p class="small right_align">[cpg1.3.0 or better required]</p>
+<a name="admin_thumbs_advanced_movie_end"></a>
+<a name="admin_movie_autoplay"></a>
+<h4>Movie Playback Autostart</h4>
+<p>If set to YES, movies will instantly start playing when loaded (has no affect on flash files, however).  Nothing will happen if the user does not have the necessary codecs installed on their computer.</p>
+<a name="admin_movie_autoplay_end"></a>
+<a name="admin_picture_thumb_advanced_audio_extensions"></a>
+<h4>Allowed audio types</h4>
+<p>&quot;<em>ALL</em>&quot; will result in all allowable audio file types to be uploaded. If you want to restrict the allowed file types to certain extensions only, enter a slash-separated list of extensions, e.g. <tt class="code">wav/mp3/wma</tt>.</p>
+<p>Note that being able to listen to an audio file requires that the cpg-user have the necessary codecs properly configured on their computers to hear these files, e.g. if you allow the file type <tt class="code">mp3</tt>, users who wish to listen to the file will need to have a media player installed on their computer that can handle mp3 files.</p>
+<p class="important">Warning: if your webserver is not hardened against an exploit of a vulnerability in the apache webserver setup, then it might be a security risk to allow the upload of <tt class="code">ram</tt>, <tt class="code">ra</tt> and <tt class="code">rm</tt>-files. If you're not sure, do not allow this file types.</p>
+<p class="small right_align">[cpg1.3.0 or better required]</p>
+<a name="admin_picture_thumb_advanced_audio_extensions_end"></a>
+<a name="admin_picture_thumb_advanced_doc_extensions"></a>
+<h4>Allowed document types</h4>
+<p>&quot;<em>ALL</em>&quot; will result in all allowable document file types to be uploaded. If you want to restrict the allowable file types to certain extensions only, enter a slash-separated list of extensions, e.g. <tt class="code">txt/pdf</tt>.</p>
+<p>Note that being able to browse a document file requires the cpg-user to have a compatible software installed and configured properly on their computer that is capable of displaying the type of document in question, e.g. if you allow the file type <tt class="code">xls</tt>, users who wish to browse the file will need to have an application installed on their computer that can display MS-Excel sheets. Be extremely careful with  document that are known to be vulnerable to virus contamination, embedded or as macros. This is especially true if you plan to allow users the capability of uploading documents without admin approval.</p>
+<p class="important">Warning: if your webserver is not hardened against an exploit of a vulnerability in the apache webserver setup, then it might be a security risk to allow the upload of <tt class="code">rar</tt>-files. If you're not sure, do not allow this file type.</p>
+<p class="small right_align">[cpg1.3.0 or better required]</p>
+<a name="admin_picture_thumb_advanced_doc_extensions_end"></a>
+<a name="admin_picture_thumb_advanced_resize_method"></a>
+<h4>Method for resizing images</h4>
+<p>Set this to the type of image library you have on your server (must be either GD1, GD2 or ImageMagick). GD2 is the recommended setting.</p>
+<p>If you are using GD 1.x and the colors of your thumbnails or intermediate image do not display properly, then, chances are, you actually have GD2 on your server - switch this option to GD 2.x</p>
+<p>More recent distributions of PHP come pre-packaged with GD - if you're not sure what you have, set this option to GD2. You can also look at your PHP settings by pointing your browser to the phpinfo.php file in your gallery.  eg, <strong>http://www.yourgallery.com/your_cpg_folder/phpinfo.php</strong>. For more information on using PHP click on this link: <a href="http://www.php.net/phpinfo" rel="external" class="external">phpinfo</a>.</p>
+<a name="admin_picture_thumb_advanced_resize_method_end"></a>
+<a name="admin_picture_thumb_advanced_im_path"></a>
+<h4>Path to ImageMagick 'convert' utility (example /usr/bin/X11/) </h4>
+<p>If you intend using ImageMagick convert utility to resize you picture, you must enter the name of the <u>directory</u> where the convert program is located in this line. Don't forget the trailing "<tt class="code">/</tt>" to close the path. This path must only indicate the <strong>directory</strong> where the convert utility is located, it should not point directly to the convert utility.</p>
+<p>If your server is running under Windows, use / and not \ to separate components of the path (eg. use C:/ImageMagick/ and not C:\ImageMagick\). This path must not contain any spaces under Windows so that it will not put ImageMagick in the "Program files" directory.</p>
+<p><strong>ImageMagick will not work properly if PHP on your server is running in SAFE mode and it is a real challenge to get it running under Windows. Please consider using GD in these cases and don't waste your time asking for support in the forum with ImageMagick installation questions. There are just too many things that can prevent ImageMagick from work properly and without physical access to your server it is extremely difficult to guess what is wrong.</strong></p>
+<a name="admin_picture_thumb_advanced_im_path_end"></a>
+<a name="admin_picture_thumb_advanced_allowed_imagetypes"></a>
+<h4>Allowed image types (only valid for ImageMagick)</h4>
+<p>This is the list of image types that the script will accept when using ImageMagick. Image type detection is performed by reading the header of the file and not by looking at its file extension.</p>
+<a name="admin_picture_thumb_advanced_allowed_imagetypes_end"></a>
+<a name="admin_picture_thumb_advanced_im_commandline"></a>
+<h4>Command line options for ImageMagick</h4>
+<p>Here you can add options that will be appended to the command line when executing ImageMagick. Read the ImageMagick Convert manual to see what is available.</p>
+<a name="admin_picture_thumb_advanced_im_commandline_end"></a>
+<a name="admin_picture_thumb_advanced_exif"></a>
+<h4>Read EXIF data in JPEG files</h4>
+<p>With this option turned on, the script will read the EXIF data stored by digicams in JPEG files. For cpg1.x to cpg1.2.1, this option will work only if PHP was compiled with the EXIF extension. Coppermine 1.3.0 (or better) comes with built-in EXIF support even if the webserver itself doesn't have EXIF support, as it uses a <a href="http://www.offsky.com/software/exif/index.php" rel="external" class="external">separate EXIF class</a>.</p>
+<p class="small right_align">[cpg1.3.0 or better required]</p>
+<a name="admin_picture_thumb_advanced_exif_end"></a>
+<a name="admin_picture_thumb_advanced_iptc"></a>
+<h4>Read IPTC data in JPEG files</h4>
+<p>With this option turned on, the script will read the <a href="http://www.iptc.org/" rel="external" class="external">IPTC</a> data stored by digicams in picture files.</p>
+<p class="small right_align">[cpg1.3.0 or better required]</p>
+<a name="admin_picture_thumb_advanced_iptc_end"></a>
+<a name="admin_picture_thumb_advanced_albums_dir"></a>
+<h4>The album directory</h4>
+<p>This is the base directory for your "Image Store". The path is relative to the main directory of the script. </p>
+<p>You can use ../ in the path to move-up one level in the directory tree.</p>
+<p>You can <strong>not</strong> use an absolute path there ("/var/my_images/" will not work) and the album directory must be visible by your web server.</p>
+<p>This setting mustn't be changed if you already have files in your database. If you do so, all references to your existing files will break.</p>
+<a name="admin_picture_thumb_advanced_albums_dir_end"></a>
+<a name="admin_picture_thumb_advanced_userpics_dir"></a>
+<h4>The directory for user files</h4>
+<p>This is the directory where files uploaded using the web interface (URL/URI) are stored. This directory is a subdirectory of the album directory. It's recommended that you leave this setting as is. Should you decide to change it, keep in mind that the folder must exist within the albums folder and the path should be relative to it.</p>
+<p>The same remarks as above apply.</p>
+<p>When you upload files by FTP, store them in a subdirectory (folder) of the "album directory" and not inside the &quot;directory for user files&quot;. </p>
+<p>This setting mustn't be changed if you already have files in your database. If you do, all reference to previously existing files will no longer be valid.</p>
+<a name="admin_picture_thumb_advanced_userpics_dir_end"></a>
+<a name="admin_picture_thumb_advanced_intermediate_prefix"></a>
+<h4>The prefix for intermediate pictures</h4>
+<p>This prefix is added to the file name of created pictures.</p>
+<p>These setting mustn't be changed if you already have files in your database. If you do, all reference to your existing files will become invalid.</p>
+<a name="admin_picture_thumb_advanced_intermediate_prefix_end"></a>
+<a name="admin_picture_thumb_advanced_thumbs_prefix"></a>
+<h4>The prefix for thumbnails</h4>
+<p>This prefix is added to the file name of created intermediate thumbnails.</p>
+<p>These setting mustn't be changed if you already have files in your database. If you do, all reference to your existing files will become invalid.</p>
+<a name="admin_picture_thumb_advanced_thumbs_prefix_end"></a>
+<a name="admin_picture_thumb_advanced_chmod_folder"></a>
+<h4>Default mode for directories</h4>
+<p>If, and only if, during the file upload or batch add process, the installer complains about the directory not having the right permissions, try setting this to <strong>0777</strong> . Failure to do so may prevent you from being able to delete directories created by the script with your FTP client should you ever decide it necessary to uninstall the coppermine script.</p>
+<p><span class="important">Note</span>: setting this option doesn't CHMOD the files or folders that are being uploaded. Instead, the setting is used when coppermine, itself, creates <strong>new</strong> folders for user uploads (within the userpics directory). If you experienced problems during the initial Coppermine setup related to permissions, this option is <strong>not</strong> what you have been looking for nor should it be changed ( for more information regarding CHMOD, see the <a href="faq.htm">FAQ.htm</a> document located in the DOCS folder of this installation package ).</p>
+<a name="admin_picture_thumb_advanced_chmod_folder_end"></a>
+<a name="admin_picture_thumb_advanced_chmod_files"></a>
+<h4>Default mode for files</h4>
+<p>If, and only if, during the file upload or batch add process, the installer complains about the directory not having the right permissions, try setting this to <strong>0666</strong>.</p>
+<p><span class="important">Note</span>: setting this option doesn't CHMOD the files or folders that are being uploaded. Instead, the setting is used when coppermine, itself, creates <strong>new</strong> folders for user uploads (within the userpics directory). If you experienced problems during the initial Coppermine setup related to permissions, this option is <strong>not</strong> what you have been looking for nor should it be changed ( for more information regarding CHMOD, see the <a href="faq.htm">FAQ.htm</a> document located in the DOCS folder of this installation package ).</p>
+<a name="admin_picture_thumb_advanced_chmod_files_end"></a>
+<a name="admin_picture_thumb_advanced_end"></a>
+<p><a class="back" href="#top">Back to top</a></p><hr />
+
+<a name="admin_user"></a>
+<h3>4.12.10 User settings</h3>
+<a name="admin_allow_registration"></a>
+<h4>Allow new user registrations</h4>
+<p>Defines whether new users can self-register or not. If you set this to NO, only the admin can create new users and the &quot;register&quot; link won't be displayed in the navigation.</p>
+<a name="admin_allow_unlogged_access"></a>
+<h4>Allow unlogged users (guest or anonymous) access</h4>
+<p>When set to &quot;No&quot;, unlogged users (i.e. guests or anonymous users) can not access anything in your gallery except the login screen (and the registration screen, if you allow registrations). Completely disabling anonymous access will probably decrease your site's popularity. Use this option only if you need your gallery to be absolutely private. The recommended setting is to leave anonymous access enabled and use the more specific permissions by groups and albums settings instead.</p>
+<a name="admin_allow_unlogged_access_end"></a>
+<p class="small right_align">[cpg1.4.0 or better required]</p>
+<a name="admin_allow_registration_end"></a>
+<a name="admin_registration_verify"></a>
+<h4>User registration requires email verification</h4>
+<p>If set to YES an email will be sent to the user that will contain a code to activate his account. If set to NO, user accounts become immediately active.</p>
+<a name="admin_registration_verify_end"></a>
+<a name="admin_registration_notify"></a>
+<h4>Notify admin of user registration by email</h4>
+<p>If set to YES an email will be sent to the gallery admin when a new user registers.</p>
+<a name="admin_registration_notify_end"></a>
+<p class="small right_align">[cpg1.3.0 or better required]</p>
+<a name="admin_activation"></a><h4>Admin Activation</h4>
+<p>Enable admin activation. When set to yes, a gallery administrator must first activate the new registration before the user can log-in and take advantage of any registered user privileges.</p>
+<p>By default, it is set to no, so users would activate their own accounts upon registering.</p>
+<p class="small right_align">[cpg1.4.0 or better required]</p>
+<a name="admin_activation_end"></a>
+<a name="admin_allow_duplicate_emails_addr"></a>
+<h4>Allow two users to have the same email address</h4>
+<p>Allow or prevent two users from registering with the same email
+address. Recommended setting is NO. As most internet users today have more than one email address, this option is being considered as deprecated and will possibly be removed in future versions of coppermine.</p>
+<a name="admin_allow_duplicate_emails_addr_end"></a>
+<a name="admin_approval_notify"></a>
+<h4>Notify admin of user upload awaiting approval</h4>
+<p>When enabled, the gallery admin receives an email notification of all pics that await for his/her approval (depends on the approval settings in &quot;<a href="#group_cp">groups</a>&quot;). The email is sent to the address specified in &quot;<a href="#admin_general">General settings</a>&quot;.</p><p>This option is only recommended for websites with low or medium traffic (where users only upload every now and then).</p>
+<a name="admin_approval_notify_end"></a>
+<p class="small right_align">[cpg1.3.0 or better required]</p>
+<a name="admin_user_memberlist"></a>
+<h4>Allow logged in users to view memberlist</h4>
+<p>When enabled, an additional menu item &quot;Memberlist&quot; is displayed in the coppermine main menu if a user is logged in, to let him see a list of all users, with stats on their last visits, uploads and quota usage.</p><p>This is a new feature since cpg1.3.0 (user contribution by <a href="#contributors">Jason</a>) - it's available as <a href="http://sourceforge.net/project/showfiles.php?group_id=89658&amp;package_id=98542" rel="external" class="external">mod</a> (not in the regular coppermine package) for older versions than cpg1.3.0.</p>
+<a name="admin_user_memberlist_end"></a>
+<p class="small right_align">[cpg1.3.0 or better required]</p>
+<a name="admin_user_allow_email_change"></a><h4>Allow users to change their email address in profile</h4>
+<p>This option impacts the user's profile page, it determines whether or not the user can change his/her own email address.<br />Use this option wisely, as the old email address of a user is not preserved after a change: if you allow users to change their email address, abusers may change it to a non-existing email address (e.g. after uploading some pics that go against your gallery's rules) - you would have no chance of tracking this user.</p>
+<p>This option only applies if you use Coppermine as a standalone application; if you run Coppermine integrated with a bbs, this option will be deferred to the user profile from your bbs to manage each user's profile.</p>
+<p class="small right_align">[cpg1.4.0 or better required]</p>
+<a name="admin_user_allow_email_change_end"></a>
+<a name="admin_user_editpics_public_start"></a><h4>Allow users to retain control over their pics in public galleries</h4>
+<p>When enabled, both the admin and the uploading user can edit and delete files that were uploaded to a public gallery. Of course the user must have permissions to upload to the public gallery in the first place (see the <a href="#group_cp">groups control panel</a>) before this option will have any effect.</p>
+<p class="small right_align">[cpg1.4.0 or better required]</p>
+<a name="admin_user_editpics_public_end"></a>
+<a name="admin_user_login_start"></a>
+<a name="admin_user_login_threshold_start"></a>
+<h4>Number of failed login attempts until temporary ban (to avoid brute force attacks)</h4>
+<p>To make brute force attacks (where a hostile script tries to log into coppermine as admin by running through all possible combinations of username and password automatically) less effective Coppermine temporarily bans the IP address of a possible attacker after a certain amount of failed logins. This way, the brute force attack would need way too long to try all possible combinations.</p>
+<p>With this setting you specify the maximum number of failed log-in attempts before the IP address of the user is temporarily banned.</p>
+<p class="small right_align">[cpg1.4.0 or better required]</p>
+<a name="admin_user_login_threshold_end"></a>
+<a name="admin_user_login_expiry_start"></a>
+<h4>Duration of a temporary ban after failed logins</h4>
+<p>This value specifies the duration of the temporary ban (in minutes) after the number of failed log-in attempts specified with <a href="#admin_user_login_threshold_start">Number of failed login attempts until temporary ban</a>.</p>
+<p class="small right_align">[cpg1.4.0 or better required]</p>
+<a name="admin_user_login_expiry_end"></a>
+<a name="admin_user_login_end"></a>
+<a name="admin_user_enable_report"></a><h4>Enable reports</h4>
+<p>Enable reports. When set to "yes," this feature will allow users to report on uploaded files or comments to the site admin.</p>
+<p>This setting is dependant on e-cards being enabled.  Only users who have permission to send e-cards in the 'groups' settings are able to send reports. The report icon is hidden from those not allowed to do so.</p>
+<p class="small right_align">[cpg1.4.0 or better required]</p>
+<a name="admin_user_enable_report_end"></a>
+<p><a class="back" href="#top">Back to top</a></p><hr />
+
+<a name="admin_custom"></a>
+<h4>4.12.11 Custom fields for user profile (leave blank if unused). Use Profile 6 for long entries, such as biographies </h4>
+<p>These fields are displayed within the &quot;user profile&quot; area. They will appear only if you assign a name to the field. As instructed in the heading, use field 6 for long entries, such as biographies, or if you want to include the use of bb code.</p>
+<p>You can also use field 6 for avatars.  To show an avatar in the profile, it should be entered in bbcode, for example to show 'avatar.gif', which is located in your images folder, use the code [img]http://www.yoursite.com/images/avatar.gif[/img]</p>
+<a name="admin_custom_end"></a>
+<p><a class="back" href="#top">Back to top</a></p><hr />
+
+<a name="admin_custom_image"></a>
+<h4>4.12.12 Custom fields for image description (leave blank if unused)</h4>
+<p>These fields are displayed within the &quot;file information&quot; area. They will appear only if you give them a name.</p>
+<a name="admin_custom_image_end"></a>
+<p><a class="back" href="#top">Back to top</a></p><hr />
+
+<a name="admin_cookie"></a>
+<h4>4.12.13 Cookie settings</h4>
+<a name="admin_cookie_name"></a>
+<h4>Name of the cookie used by coppermine</h4>
+<p>Default value is &quot;coppermine&quot;. Even if you have multiple instances of the script running on the same server you can keep the default value.</p><p><span class="important">When using bbs integration, make sure it <strong>differs</strong> from the bbs's cookie name</span></p>
+<a name="admin_cookie_name_end"></a>
+<a name="admin_cookie_path"></a>
+<h4>Path of the cookie used by the script</h4>
+<p>Default value is "/". Don't change this unless you know what you are doing. This may prevent you from logging in.</p>
+<p>If you have broken your gallery by modifying this value, use phpMyAdmin to edit the xxxx_config table in your database and restore the default value. </p>
+<p>When using bbs integration into Coppermine, make sure to use <strong>different</strong> cookie names for coppermine and your bbs! The paths in both applications have to be set so coppermine is able to read both. Usually the default value &quot;<tt class="code">/</tt>&quot; should be set as path both for coppermine install and the BBS app you bridge with.</p>
+<a name="admin_cookie_path_end"></a>
+<p><a class="back" href="#top">Back to top</a></p><hr />
+
+<a name="admin_email"></a>
+<h4>4.12.14 Email settings</h4>
+<p>Usually nothing has to be changed here; leave all fields blank when not sure. Only if you run into problems (e.g. if ecards, registration info or notifications don't get sent) you should change these settings. Coppermine itself doesn't come with an engine to send mails, it relies on a webserver being able to do so (using the built-in mechanisms of PHP). If you're not sure what to enter, ask your webhost for support.</p>
+<h4>SMTP Host</h4>
+<p>The hostname of the <acronym title="Simple Mail Transfer Protocol">SMTP</acronym> server<br />
+If you leave this blank, sendmail (or a surrogate) will be used to send emails from your server. Sendmail exists on most Unix/Linux webservers. If you specify a SMTP hostname, Coppermine will try to send emails using SMTP (this usually is needed on Windows webservers).</p>
+<p class="small right_align">[cpg1.4.0 or better required]</p>
+<h4>SMTP Username</h4>
+<p>The username needed to authenticate on the SMTP server (this is <strong>not</strong> your coppermine admin username).</p>
+<p class="small right_align">[cpg1.4.0 or better required]</p>
+<h4>SMTP Password</h4>
+<p>The password that goes with above mentioned username (<strong>not</strong> identical to your coppermine admin password).</p>
+<p class="small right_align">[cpg1.4.0 or better required]</p>
+<a name="admin_email_end"></a>
+<p><a class="back" href="#top">Back to top</a></p><hr />
+
+<a name="admin_logging"></a>
+<h3>4.12.15 Logging &amp; statistics</h3>
+<p>Like all logs (that record data that would get dropped if logging was disabled), the logging features of Coppermine will have a slight performance impact as well as an impact on webspace and database usage. You should make up your mind if you actually will need the logs before enabling the feature. A log is only helpful if the admin actually looks into it.</p>
+<a name="admin_logging_log_mode"></a><h4>Logging mode</h4>
+<p>Set, what kind of logging you want to enable. This feature records all changes that are done in coppermine's database, which is especially helpful if you're trying to debug or if there are various admins on a gallery.<br />
+All log files are written in english</p>
+<p class="small right_align">[cpg1.4.0 or better required]</p>
+<a name="admin_logging_log_mode_end"></a>
+<a name="admin_general_log_ecards"></a><h4>Log ecards</h4>
+<p>When enabled, all ecards that are being sent are as well written into the database, where the coppermine admin can view them. Before switching this option on, make sure that logging is legal in your country. It is also advisable to notify your users that all ecards are being logged (preferrably on the registration screen).</p>
+<p class="small right_align">[cpg1.3.0 or better required]</p>
+<a name="admin_general_log_ecards_end"></a>
+<a name="admin_logging_votedetails"></a><h4>Keep detailed vote statistics</h4>
+<p>
+  Enabling this option records:</p>
+  <ol>
+    <li>Each vote separately</li>
+    <li>IP Address</li>
+    <li>Referer</li>
+    <li>Browser</li>
+    <li>Operating System</li>
+  </ol>
+   <p>of the voter.</p>
+   <p>As the statistics are being kept per file, the link to the stats can be accessed on the individual file's page (displayimage.php) by clicking the link in the file info section to open the stats pop-up.</p>
+<p>
+  <span class="important">Note: The total votes may not match if you enable details and do not reset the earlier votes.</span>
+</p>
+<a name="admin_logging_votedetails_end"></a>
+<a name="admin_logging_hitdetails"></a><h4>Keep detailed hit statistics</h4>
+<p>
+  Enabling this option records:</p>
+  <ol>
+    <li>Each vote separately</li>
+    <li>IP Address</li>
+    <li>Search Keyword, if the referer is Google, Yahoo! or Lycos search engines</li>
+    <li>Referer</li>
+    <li>Browser</li>
+    <li>Operating System</li>
+  </ol>
+   <p>of the visitor.</p>
+   <p>As the statistics are being kept per file, the link to the stats can be accessed on the individual file's page (displayimage.php) by clicking the link in the file info section to open the stats pop-up.
+</p>
+<p>
+  <span class="important">Note: The total hits may not match if you enable details and do not reset the earlier hits.</span>
+</p>
+<a name="admin_logging_hitdetails_end"></a>
+<a name="admin_logging_end"></a>
+<p><a class="back" href="#top">Back to top</a></p><hr />
+
+<a name="admin_misc"></a>
+<h3>4.12.16 Miscellaneous settings</h3>
+<a name="debug_mode"></a><h4>Enable debug mode</h4>
+<p>CPG will show error messages which are normally suppressed.  This is helpful in troubleshooting problems with your gallery or when asking      for help on the <a href="http://forum.coppermine-gallery.net/" rel="external" class="external">CPG Support Forums</a>. Turn this feature off if you don't experience problems.</p>
+<p>Turn it on (option &quot;Everyone&quot;) if you are requesting help on the <a href="http://forum.coppermine-gallery.net/" rel="external" class="external">coppermine support board</a>, so the supporters can have a look at the debug output as well. Choose the option &quot;Admin only&quot; when troubleshooting on your own - debug output will be only visible when you're logged in as admin, regular users or guests won't see the debug output.</p>
+<a name="admin_misc_debug_notices"></a><h4>Display notices in debug mode</h4>
+<p>May be helpful to troubleshoot problems with your coppermine install - only recommended if you know a little PHP and you can understand the additional error messages this option shows. This option only applies if debug mode is enabled.</p>
+<a name="admin_misc_debug_notices_end"></a>
+<a name="debug_mode_end"></a>
+
+<a name="admin_general_offline"></a><h4>Gallery is offline</h4>
+<p>If you have to do maintenance work on your gallery, switch it to offline mode. Only members of the admin group will be able to log in, all other users will only see &quot;Gallery is offline&quot;. Remember to switch this option off once your maintenance work is done.</p>
+<p class="small right_align">[cpg1.3.0 or better required]</p>
+<a name="admin_general_offline_end"></a>
+
+<p><a class="back" href="#top">Back to top</a></p><hr />
+
+<a name="exif"></a>
+<h2>4.13 EXIF data</h2>
+<p>The &quot;Exchangeable image file&quot; format (Exif) is a specification for the image file format used by digital cameras with the addition of specific metadata tags. The meta data are written by the camera and can be post-processed using certain desktop applications. Coppermine is capable of displaying some of the EXIF data within the pic info section, like date and time information, camera settings, location information, descriptions and copyright information.<br />
+<img src="pics/exif_data_cpg1.4.x.jpg" width="400" height="202" border="0" alt="Exif data in pic info section" />
+</p>
+
+<a name="exif_manager"></a>
+<h3>4.13.1 EXIF manager</h3>
+<p><img src="pics/exifmanager_cpg1.4.x.gif" width="600" height="439" border="0" alt="" align="right" />CPG1.4.x (or better) comes with an EXIF manager that let's the coppermine admin decide what EXIF data should be displayed within coppermine. Please note: if the exif data don't exist within a particular image, coppermine will of course not be able to display them. Coppermine is not an editor for exif data - it just displays the exif data that exists in your pics.<br />
+To access the exif manager, go to coppermine's config and click within the section <a href="#admin_picture_thumb_advanced">Files and thumbnails advanced settings</a> at &quot;Manage exif display&quot; next to the line &quot;<a href="#admin_picture_thumb_advanced_exif">Read EXIF data in JPEG files</a>&quot;. Alternatively, you can directly enter http://yoursite.tld/your_coppermine_folder/exifmgr.php into your browser's address bar.</p>
+<p>Tick the checkboxes in the exif manager that you want to show up in coppermine's pic info section (if the image file actually holds this particular set of information).</p>
+<br clear="all" />
+<p><a class="back" href="#top">Back to top</a></p><hr />
+
+<a name="plugin_start"></a>
+<a name="plugin"></a>
+<h2>4.14 Plugins</h2>
+<p>Included in your coppermine setup is one basic plugin:</p>
+<ul>
+    <li>Sample plugin: meant for plugin-writers as an example only</li>
+</ul>
+<p>You can find more plugins on the Coppermine Support Forum, both from Coppermine developers and from user contributions.</p>
+<p class="small right_align">[cpg1.4.0 or better required]</p>
+<a name="plugin_definition"></a>
+<h3>4.14.1 What is a plugin?</h3>
+<p>Starting from cpg1.4.0, coppermine comes with a plugin <acronym title="Application Programming Interface">API</acronym> that enables plugin authors to modify coppermine features without hacking the core code, making upgrading easier, as modifications don't have to be re-applied every time you upgrade your coppermine version. It's recommended to use plugins instead of code modifications that require hacking the core code.</p>
+<a name="plugin_definition_end"></a>
+<a name="plugin_api"></a>
+<h3>4.14.2 The Plugin API</h3>
+<p>The plugin API consists of several "hooks" all over the core code of coppermine that allows plugin authors to interact with coppermine functions, overriding or adding features. There are limitations to what can be done using a plugin, as the number of hooks is limited. As a result, not every change of coppermine behaviour that could be accomplished by hacking the core code is possible to achieve using the plugin API. However, using a plugin is more elegant and usually much easier to install and get running (at least for the end user) than a crude core code hack. Installing and configuring a plugin doesn't require the coppermine admin to mess with the source code - you simply upload the plugin, install it, configure it and you're done. If the plugin has been coded as suggested and is mature enough, it should come with a configuration screen that makes editing source code irrelevant.<br />
+Unfortunately, there is no API documentation available yet.</p>
+<a name="plugin_api_end"></a>
+<a name="plugin_manager"></a>
+<h3>4.14.3 The Plugin Manager</h3>
+<p>The plugin manager is the central place from where you upload, install, configure and remove plugins. It can be acceessed in two ways:</p>
+<ul>
+    <li><strong>Using Coppermine's navigation:</strong><br />
+    Log in as admin, go to coppermine's config, expand the "General settings" section, on click "Manage plugins" next to "Enable plugins" (make sure that you have set "Enable plugins" to "Yes") if you plan using plugins.</li>
+    <li><strong>Directly accessing the plugin manager</strong><br />
+    Make sure that you are logged in as admin, then directly enter the plugin manager's url in the address bar of your browser, e.g. http://yoursite.tld/your_coppermine_folder/pluginmgr.php</li>
+</ul>
+<p>The plugin manager organizes the plugins you have in your Coppermine directory.  It is important to understand the difference between uploading plugins and installing plugins.  When you copy a plugin to the Coppermine plugins folder (using the Upload button on the plugin manager or via FTP), you have merely uploaded the plugin files.  The plugin is not installed yet.  When you install a plugin, Coppermine runs the plugin's installation routine to configure and activate the plugin so that it will be executed when people use your gallery.  To clearly show which plugins are running and which are not, the plugin manager is separated into two sections (see screen capture below):</p>
+<ul>
+    <li>the plugins that are installed and running (upper section)</li>
+    <li>the plugins that exist within the plugins folder of your server's hard drive but have not been installed and therefore are not running in your Coppermine gallery (lower section)</li>
+</ul>
+<p><img src="pics/plugin_manager.gif" width="716" height="234" border="0" alt="Coppermine Plugin Manager" /></p>
+<p>By default, coppermine comes with some sample or code plugins (none of them are enabled by default though), additional plugins can be found on the corresponding section of coppermine's forum.</p>
+<a name="plugin_manager_upload"></a>
+<h4>4.14.3.1 Uploading a plugin</h4>
+<p>Unless you're going to code your own plugins, they usually come packaged up already, compressed into a zip file. There are two options how to upload a plugin:</p>
+<ul>
+    <li>Method 1: <strong>Using the upload interface on coppermine's plugin manager page</strong><br />
+    <ul>
+        <li>Download the plugin you need from the internet (usually the <a href="http://coppermine-gallery.net/" rel="external" class="external">coppermine page</a>) to your local hard drive</li>
+        <li>Click the "browse" button on the plugin manager page</li>
+        <li>Navigate to the plugin zip file you just have downloaded to your local PC's hard drive</li>
+        <li>Click "upload"</li>
+    </ul>
+    This is the more elegant and easier method - you just use the upload control on the plugin manager page and the zip file you uploaded gets extracted from the archive and stored on the server within the proper folder. There are two pre-requisites though:
+    <ul>
+        <li>PHP running on your webserver needs zip support - not all webserver have zip support enabled.</li>
+        <li>the script needs write permissions within the plugins folder.</li>
+    </ul>
+    If you fail to fullfil those two pre-requisites, this simple method (upload interface) won't work for you (i.e. you will get error messages when trying, or the plugin will even simply fail to work without an error message at all). If this is the case for you, it's recommended not to mess with server setup (unless you're an expert and the server is yours to administer), but just to use the second upload method described below.</li>
+    <li>Method 2: <strong>Uploading the unzipped plugin files using your FTP app</strong><br />
+        <ul>
+            <li>Download the plugin you need from the internet to your local hard drive (same step as above)</li>
+            <li>Unpack the zip file into a folder on your hard drive (preserving the folder structure of the plugin)</li>
+            <li>Use your FTP app to upload the unpacked plugin files into the plugin folder of your coppermine install on your server, preserving the structure of the zip archive.  For example: if the plugin contained the folder "foobar", which held the actual plugin files, you upload the whole folder "foobar" and all of its contents into the plugins folder. The resulting folder structure on your server should be something like <tt class="code">/your_coppermine_folder/plugins/foobar/</tt></li>
+        </ul>
+    </li>
+</ul>
+<p>After uploading the files (you may need to refresh the plugin manager page), the plugin you just uploaded should show in the list "Plugins Not Installed". If it does, you can continue to the next step and <a href="#plugin_manager_install">install</a> the plugin.</p>
+<a name="plugin_manager_upload_end"></a>
+<a name="plugin_manager_install"></a>
+<h4>4.14.3.2 Installing a plugin</h4>
+<p>Installing a plugin is fairly straightforward - just click on the <img src="../images/info.gif" width="16" height="16" border="0" alt="" />-icon next to the plugin. The install will enable the plugin to be executed when coppermine is being run (depending on the plugin's purpose). Some plugins come with a configuration screen that will be executed right after the install - if this is the case, configure it accordingly.</p>
+<a name="plugin_manager_install_end"></a>
+<a name="plugin_manager_configuration"></a>
+<h4>4.14.3.3 Plugin Configuration</h4>
+<p>Some plugins may need to be configured during install, others may have a separate configuration page that can be accessed at any time. This depends on how the plugin author wrote the plugin, so we can't give any recommendations within this documentation. Some plugins may even need to be configured before actually being uploaded (especially plugins in alpha or beta stage - these may come without a browser-driven configuration page and require you to modify the plugin's code to configure the plugin). If unsure, take a look in the unzipped plugin archive on your hard-drive - usually, plugins that require you to edit or configure anything come with a README file that tells you how to do so.</p>
+<a name="plugin_manager_configuration_end"></a>
+<a name="plugin_manager_uninstall"></a>
+<h4>4.14.3.4 Uninstalling a plugin</h4>
+<p>Executing a plugin might be consuming resources or not work as expected, so you might want to uninstall a plugin at some time (maybe because you just tried it out and it doesn't work as expected for you). It's recommended not to just delete the plugin's subfolder using your FTP app (because the plugin might have applied database changes that need to be undone). Instead, you should go to the plugin manager and click on the <img src="../images/delete.gif" width="16" height="16" border="0" alt="" />-icon next to an active (installed) plugin. The plugin then should get uninstalled and turn up in the list "Plugins Not installed". It's safe to leave the sources of an unneeded plugin on the server, so there should be no need to delete the plugin right after uninstall, however you may as well delete it, especially if you're short on webspace and the plugin eats up a lot of space.</p>
+<p>To finally delete an inactive plugin from your server's plugin folder, click the <img src="../images/delete.gif" width="16" height="16" border="0" alt="" />-icon next to a plugin that is in the list "Plugins Not installed". If the script fails to delete a plugin this way (because of lacking permissions to do so on file/folder level), you can use your FTP app to delete the particular plugin's sub-folder within coppermine's "plugins" folder (deleting manually). As with all delete operations, you should make a local backup before deleting if you're not absolutely sure what you're doing.</p>
+<a name="plugin_manager_uninstall_end"></a>
+<a name="plugin_manager_end"></a>
+<a name="plugin_writing"></a>
+<h3>4.14.4 Writing plugins</h3>
+<p>As suggested above, there's no documentation available yet for plugin authors, so the only method to learn how plugins work is by looking at the source code. Examine the code of the plugins that come with coppermine, or take a look at some that are available for download from the plugin contributions sub-board on the coppermine web page.</p>
+<p>If you accomplished writing a plugin, we ask you to share it with the coppermine community by posting it on the appropriate board (this is of course not mandatory, but we'd appreciate to see your contribution). We would welcome a user-contributed API documentation or a list of hooks as well, or other related documentation.</p>
+<a name="plugin_writing_end"></a>
+<a name="plugin_end"></a>
+<p><a class="back" href="#top">Back to top</a></p><hr />
+
+
+<a name="integrating"></a>
+<h1>5. Integrating the script with your bulletin board</h1>
+<a name="integrating_bridge_start"></a>
+<h2>5.1 Available bridge files</h2>
+<p>Coppermine can be integrated with the following bulletin boards (eg. Coppermine
+  and your bulletin board will share the same user database).</p>
+<ul>
+  <li>Invision Power Board</li>
+  <li>Mambo</li>
+  <li>MyBB</li>
+  <li>Phorum</li>
+  <li>phpBB 2</li>
+  <li>PunBB</li>
+  <li>SMF 1.x</li>
+  <li>SMF 2.x (beta)</li>
+  <li>vBulletin</li>
+  <li>XMB</li>
+  <li>Xoops2</li>
+</ul>
+
+<a name="integrating_bridge_end"></a>
+
+<a name="integrating_prerequisites_start"></a>
+<h2>5.2 Pre-requistes</h2>
+
+<a name="integrating_cookie_start"></a>
+<h3>5.2.1 Authentication by cookie</h3>
+<p>The login integration uses your bulletin board cookies, therefore it won't work if your board cookies are not visible by Coppermine. So unless you are an expert, keep things simple and install Coppermine and your bulletin board on the same domain. Examples :</p>
+<table border="0" cellspacing="5" cellpadding="5" class="border1">
+<tr>
+<td>This <strong>will</strong> work:</td>
+<td>This <strong class="important">won't</strong> work:</td>
+</tr>
+<tr>
+<td class="code">Bulletin board: http://yourdomain.com/board/<br />
+Coppermine: http://yourdomain.com/gallery/</td>
+<td class="code">Bulletin board: http://board.yourdomain.com/<br />
+Coppermine: http://gallery.yourdomain.com/</td>
+</tr>
+</table>
+<p>The cookie path in the forum's configuration should be set to '/' where this option is available.</p>
+<p><span class="important">Important</span>: the cookie names of your bbs and coppermine must <strong>not</strong> be the same - they <strong>must</strong> differ!</p>
+<a name="integrating_cookie_end"></a>
+
+<a name="integrating_standalone_start"></a>
+<h3>5.2.2 Standalone version first</h3>
+<p>To avoid confusion, make sure to set up both coppermine and your bbs as standalone first. Make sure they both run correctly without integration. Test all features of coppermine (like upload, registration etc.) when Coppermine is installed, before you even start integration.</p>
+<a name="integrating_standalone_end"></a>
+
+<a name="integrating_users_start"></a>
+<h3>5.2.3 Coppermine users, groups and pics uploaded by users are lost when integrating</h3>
+<p><span class="important">Warning:</span> If you already have users and custom groups in your coppermine database when you enable bbs integration, be aware that they will be lost. If your coppermine users have already created private albums and uploaded pics to them, they will be lost as well!</p>
+<a name="integrating_users_end"></a>
+
+<a name="integrating_backup_start"></a>
+<h3>5.2.4 Backup</h3>
+<p><span class="important">Backup</span>: it is very advisable to backup both your coppermine database and your files before enabling bbs integration, so you can safely go back if the integration fails.</p>
+<p>In fact you're encouraged to backup your database on a regular base, and especially before applying code changes.</p>
+<a name="integrating_backup_end"></a>
+
+<a name="integrating_prerequisites_end"></a>
+
+<a name="integrating_steps_start"></a>
+<h2>5.3 Integration steps</h2>
+<p>From cpg1.4.x on you can use the <a href="#bridge_manager_start">Bridge Manager</a> that will provide a wizard-like interface to enable/disable bridging.</p>
+
+<a name="bridge_manager_start"></a>
+<h3>5.3.1 Using the bridge manager</h3>
+<p>The bridge manager is a new feature in cpg1.4, it is not available in older versions. Instead of manually editing coppermine code files, you can enable/disable bridging in your browser, using a wizard-like user interface. To start the bridge manager, log in as admin, choose &quot;Admin Tools&quot; from the navigation and the &quot;bridge manager&quot;</p>
+<p><img src="pics/bridge_01_start.gif" width="429" height="72" border="0" alt="" align="right" />If you run the bridge manager for the first time, there will only be one button that let's you actually start the wizard (if you return to the bridge manager later, you will also find a switch to enable/disable bridging) click it.</p>
+<p class="important">Note: with each step in the wizard, some information is being written to the coppermine database. Unlike other wizards (mostly on your local machine), the bridge manager doesn't have a &quot;&quot;cancel&quot;-button! Once you have enabled bridging and everything is working fine, you shouldn't change any values just out of curiosity, as they will get written to the database, which might result in a bridging that used to work not working any more after &quot;playing&quot; with it.<br clear="all" /></p>
+<p><img src="pics/bridge_02_app.png" width="600" height="340" border="0" alt="" align="right" />In the first actual step of the wizard &quot;choose application to bridge coppermine with&quot;, you have to choose the application you actually want to coppermine with. Note that you <strong>must</strong> have this application already installed on your webserver, it has to be properly configured and must be up-and-running. Don't use the bridge manager yet if you only <em>plan</em> to integrate coppermine with another application later.</p>
+<p>If you have a custom-made bridge file that is not available in the wizard, choose the radio button in front of the text field and enter the name of your bridge file there, without the extension &quot;.inc.php&quot; (the bridge file must reside in the coppermine sub-folder &quot;bridge&quot;).<br />
+Click &quot;next&quot;</p>
+<p>The next steps depend on the application you have chosen to bridge with: some applications need <acronym title="Uniform Resource Locator">URL</acronym>s to be entered, or paths. Some need mySQL table information or cookie data to be entered, others don't. The point of the wizard is that it will only &quot;ask&quot; you the relevant settings for your application - if one or more items of the following description doesn't turn up for your application, there's no need to worry - just keep filling in the mandatory information and then hit &quot;next&quot;. However, you have to understand that coppermine can proof-check only some of your input - some input goes unvalidated.</p>
+<p>If a reset button (<img src="../images/flags/reset.gif" width="16" height="11" border="0" alt="" />) is being displayed next to an input field, the field value doesn't have the default value. It can be perfectly OK to have a non-default value in a field, however you should keep in mind that if you have &quot;played&quot; with the bridge manager before, previous settings might exist in a field that are not correct - do not light-heartedly skip a step without paying attention to it. Use the reset button to revert to the default value (not necessarily &quot;quor&quot; default value though).<br clear="all" /></p>
+<a name="bridge_manager_app_start"></a>
+<h4>5.3.1.1 choose application to bridge coppermine with</h4>
+<ul>
+<ul>
+  <li>Invision Power Board</li>
+  <li>Mambo</li>
+  <li>MyBB</li>
+  <li>phpBB 2</li>
+  <li>Phorum</li>
+  <li>PunBB</li>
+  <li>SMF 1.x</li>
+  <li>SMF 2.x</li>
+  <li>vBulletin</li>
+  <li>XMB</li>
+  <li>Xoops2</li>
+</ul>
+</ul>
+<a name="bridge_manager_app_end"></a>
+<a name="bridge_manager_path_start"></a>
+<h4>5.3.1.2 path(s) used by your BBS app</h4>
+<ul>
+<li><strong>Forum URL</strong><br />
+Full URL of your BBS app (including the leading http:// bit, e.g. http://www.yourdomain.tld/forum/)</li>
+<li><strong>Relative forum path</strong><br />
+Relative path to your BBS app from the webroot (Example: if your BBS is at http://www.yourdomain.tld/forum/, enter "/forum/" into this field)</li>
+<li><strong>Relative path to your BBS's config file</strong><br />
+Relative path to your BBS, seen from your Coppermine folder (e.g. "../forum/" if your BBS is at http://www.yourdomain.tld/forum/ and Coppermine at http://www.yourdomain.tld/gallery/)</li>
+</ul>
+<a name="bridge_manager_path_end"></a>
+<a name="bridge_manager_specific_start"></a>
+<h4>5.3.1.3 BBS-specific settings</h4>
+<ul>
+<li><strong>Use post-based groups?</strong><br />
+Should Coppermine import the special groups that exist in the forum ? If you select no, then Coppermine will use the standard groups (Administrator, Registered and Anonymous) which makes administration easier and is recommended. You can change this setting later as well.</li>
+</ul>
+<a name="bridge_manager_specific_end"></a>
+<a name="bridge_manager_enable_start"></a>
+<h4>5.3.1.4 enable/disable BBS integration</h4>
+<p>This is the last step of the bridge manager - it summarizes up the settings you have made in previous steps - you can enable or disable integration here. By default, integration is set to &quot;disabled&quot; after the bridge manager has been run for the first time. You should only enable integration if you're sure your BBS app is set up correctly. Click the &quot;Finish&quot; button in any case to finally write to the database, even if you choose to keep the current settings (leaving integration &quot;disabled&quot;).</p>
+<ul>
+<li><strong>Enable integration/bridging with XXX</strong></li>
+</ul>
+<a name="bridge_manager_enable_end"></a>
+<p class="small right_align">[cpg1.4.0 or better required]</p>
+<a name="bridge_manager_end"></a>
+<p><a class="back" href="#top">Back to top</a></p><hr />
+
+<a name="bridge_manager_recover_start"></a>
+<h3>5.3.2 Recover from failed bridging</h3>
+<p>If you have provided improper settings using the bridge manager, your integration might fail, resulting (in the worst case) in a stituation where bridging is enabled, but you can not log in as admin to switch it off again (e.g. if you provided improper cookie settings that stops authentication from working). For this situation a recovery setting was built into the bridge manager: if you are not logged in as coppermine admin (in fact: not logged in at all) and you access the URL of your bridge manager (http://yourdomain.tld/your_coppermine_folder/bridgemgr.php) by entering it manually into the address bar of your browser, you are prompted to enter your admin account details - use the admin account you used to install coppermine with in the first place (the standalone admin account). This will not log you in, but switch integration off, so you can fix improper bridging settings then. To avoid others trying to guess your admin account details, there's a login treshold that rises every time you enter wrong credentials, so enter your admin account details with care.</p>
+<p class="small right_align">[cpg1.4.0 or better required]</p>
+<a name="bridge_manager_recover_end"></a>
+<p><a class="back" href="#top">Back to top</a></p><hr />
+
+
+<a name="integrating_steps_sync_start"></a>
+<h3>5.3.3 Synchronising the bbs groups with Coppermine's groups</h3>
+<p>Login using the admin account of your board. Go to the gallery, enter admin mode and click on the &quot;Groups&quot; button. This will synchronize Coppermine groups with those of your board. The permission you will see for each group will be completely messy, so take some time to set them properly.</p>
+<p>Each time you add or delete a group in your board you will need to do the operation above in order to keep the synchronisation of the groups.</p>
+<p>When you will try to login / logout or manage users from Coppermine, you will be redirected to the corresponding page of your bulletin board. Once the login or logout is performed you won't be redirected automatically to the gallery because your board does not have any function for that. It's up to you to add a link on your board to get you back to the gallery.</p>
+<p class="important">It's mandatory that you (as admin) go to the groups page directly after bridging or whenever you change anything in your bridging configuration or if you change anything in your groups settings on your bbs, as you need to trigger the re-sync.</p>
+<a name="integrating_steps_sync_end"></a>
+<a name="integrating_steps_end"></a>
+<p><a class="back" href="#top">Back to top</a></p><hr />
+
+<a name="integrating_support_start"></a>
+<h2>5.4 Bridging support</h2>
+<p>With the explanations given above you should be able to bridge your (BBS) application with Coppermine. However, if things don't work as expected, you're welcome to look for help using the <a href="http://forum.coppermine-gallery.net/" rel="external" class="external">coppermine support board</a>. When asking for support, please keep in mind that the supporters will need some information to enable them to help you:</p>
+<ul>
+  <li>Search the board before posting - maybe somebody had similar issues to yours that have been solved already</li>
+  <li>Post on the board that deals with your version - bridging mechanisms have changed from version to version, that's why it's important to post on the board that actually corresponds to your coppermine version</li>
+  <li>Don't hijack threads - when looking for bridging support, start your own thread</li>
+  <li>Read the sticky threads before posting</li>
+  <li>Make sure you are using the latest versions of the bridging files, they are kept up to date between formal Coppermine releases. Download the relevant files from the <a href="http://coppermine.svn.sourceforge.net/viewvc/coppermine/trunk/cpg1.4.x/" rel="external" class="external">SVN</a>. Update udb_base.inc.php and the file that corresponds to the bridge you are using and upload them into your bridge directory, overwriting the old ones. Of course you should make sure to use the most recent stable coppermine release in the first place.</li>
+  <li>When requesting bridge support, please post a link to your site, a test user account, and what you have set in the bridge manager.<br />Make sure that the test user account doesn't have admin privileges. When posting parts of your bridge file, make sure to replace passwords with asterisks.<br />&nbsp;<br />This is how your posting should look like (with actual URLs instead of the dummy URLs given here as an example):<br />
+  <pre class="code">I have the following issue when trying to bridge coppermine and XXX:
+[error message here]
+
+Coppermine install: http://mysite.tld/my_coppermine_folder/
+Forum install: http://mysite.tld/my_forum_folder/
+Coppermine version: cpg1.4.25
+Forum version: SuperDuper BBS app v0.8.15
+Test user account: some_testuser_name / the_password_for_the_test_user_account
+
+BridgeManager settings:
+Forum URL:  http://mysite.tld/test/foo_bar
+Relative path to your BBS's config file:  ../bla/
+Use post-based groups?:  0  </pre></li>
+</ul>
+<a name="integrating_support_start"></a>
+
+<a name="integrating_end"></a>
+<p><a class="back" href="#top">Back to top</a></p><hr />
+
+<a name="translating"></a>
+<h1>6. Translating Coppermine into other languages</h1>
+<p>Coppermine has a separate language file that make the translation of the script much more easy. The language files are stored in the <strong>lang </strong>directory.</p>
+<p>If you select an utf-8 language file as the default one, then the script will be able to automatically select a language file based on the visitor browser configuration. For instance if the default language file is danish (utf-8) and an english visitor accesses your gallery, the english language file will be used by the script.</p>
+<p> If you have translated Coppermine into a language not already supported, please read the <a href="translation.htm">translator's guide</a> and visit the <a href="http://forum.coppermine-gallery.net/index.php?topic=20355.0" rel="external" class="external">Coppermine Web Site</a> and follow the instructions for submitting your language.</p>
+<p></p>
+<p><a class="back" href="#top">Back to top</a></p><hr />
+
+<a name="known_issues"></a>
+<h1>7. Known Issues</h1>
+<p>The following slight quirks and tiny issues are known and will hopefully be fixed in future releases.</p>
+<ul>
+        <li>The <a href="http://forum.coppermine-gallery.net/index.php?topic=1866.0" rel="external" class="external">arrows used for navigation</a> from one pic to the other display in the wrong order for rtl-languages</li>
+        <li>Keyword list returns incorrect result for asian characters</li>
+        <li>Browser bug: IE displays 100%-width values incorrectly</li>
+        <li>New batch-add interface doesn't work on all server setups. Users who have issues with it should use the classic interface instead.</li>
+        <li>Missing Query in debug output: the value for $CONFIG['debug_mode'] is not yet set before the first query to the config table</li>
+        <li>Page tabs in user manager don't behave in the same way as other tabs</li>
+        <li>Resizing gif/png with transparent background doesn't preserve alpha info</li>
+        <li>Weird characters on mouseover tooltips in other browsers than IE</li>
+        <li>Wrong charset in emails sent from coppermine</li>
+        <li>Language fallback not working for util.php and faq.php</li>
+        <li>Hardcoded charset in xp_publisher.php</li>
+        <li>Thumbnail sizes over 120px causes edit fields to run over its edge</li>
+        <li>No album thumbnails for albums that contain only pics linked by keyword</li>
+        <li>Possible stability issues with PHP5 and plugins</li>
+        <li>Crop/rotate doesn't work with GD1</li>
+        <li>Rotate causing distorted image for large files</li>
+        <li>Search Engine Friendly URLs plugin is not working flawlessly, it's still experimental</li>
+        <li><tt class="code">&lt;object&gt;&lt;param&gt;&lt;/param&gt;&lt;/object&gt;</tt> construct for multimedia files doesn't validate but is needed for backwards compatibility</li>
+        <li>Nuke check in installer needs improvement</li>
+        <li>EXIF and IPTC information are lost when rotating</li>
+        <li>Banned group doesn't work as expected</li>
+        <li>Album created using XP publisher despite upload failure</li>
+        <li>Hebrew translation still incomplete</li>
+        <li>No category thumbnail for user galleries and categories that don't contain albums with pics in it, but only sub-categories</li>
+        <li>SEF plugin breaks custom sort order</li>
+        <li>Editpics and editOnePic allow users to move files from a personal gallery to a public album without approval where approval is required</li>
+        <li>Editpics and editOnePic allow users to move files from a personal gallery to a public album without notice where they might not be able to edit the file</li>
+</ul>
+<p><a class="back" href="#top">Back to top</a></p><hr />
+
+<a name="credits"></a>
+<h1>8. Credits</h1>
+<a name="developers"></a>
+<h2>8.1 Coppermine team</h2>
+<!-- Team Member sort order: GROUP BY 'status' ORDER BY 'position' IN THIS ORDER (Proj Mgr,Lead dev,Developer,Supporter,tester,other), 'username' ASC -->
+<table border="0" cellspacing="6" cellpadding="4">
+  <tr>
+    <td><strong>Developer</strong></td>
+    <td><strong>Username</strong></td>
+    <td><strong>Role/Position</strong></td>
+    <td><strong>Status</strong></td>
+  </tr>
+  <tr>
+    <td>Joachim M&uuml;ller</td>
+    <td><a href="http://forum.coppermine-gallery.net/index.php?action=profile;u=2" rel="external" class="external">gaugau</a></td>
+    <td>Project Manager</td>
+    <td>active</td>
+  </tr>
+  <tr>
+    <td>Dr Tarique Sani</td>
+    <td><a href="http://forum.coppermine-gallery.net/index.php?action=profile;u=4" rel="external" class="external">tarique</a></td>
+    <td>Lead Developer</td>
+    <td>active</td>
+  </tr>
+  <tr>
+    <td>Abbas Ali</td>
+    <td><a href="http://forum.coppermine-gallery.net/index.php?action=profile;u=11737" rel="external" class="external">abbas</a></td>
+    <td>Developer</td>
+    <td>active</td>
+  </tr>
+  <tr>
+    <td>Aditya Mooley</td>
+    <td><a href="http://forum.coppermine-gallery.net/index.php?action=profile;u=5957" rel="external" class="external">Aditya</a></td>
+    <td>Developer</td>
+    <td>active</td>
+  </tr>
+  <tr>
+    <td>Donovan Bray</td>
+    <td><a href="http://forum.coppermine-gallery.net/index.php?action=profile;u=10059" rel="external" class="external">donnoman</a></td>
+    <td>Developer</td>
+    <td>active</td>
+  </tr>
+  <tr>
+    <td>Tommy Atkinson</td>
+    <td><a href="http://forum.coppermine-gallery.net/index.php?action=profile;u=941" rel="external" class="external">Nibbler</a></td>
+    <td>Developer</td>
+    <td>active</td>
+  </tr>
+  <tr>
+    <td>Dave Kazebeer</td>
+    <td><a href="http://forum.coppermine-gallery.net/index.php?action=profile;u=7" rel="external" class="external">kegobeer</a></td>
+    <td>Supporter</td>
+    <td>active</td>
+  </tr>
+  <tr>
+    <td>Thomas Lange</td>
+    <td><a href="http://forum.coppermine-gallery.net/index.php?action=profile;u=14796" rel="external" class="external">Stramm</a></td>
+    <td>Developer</td>
+    <td>active</td>
+  </tr>
+  <tr>
+    <td>Thu Tu</td>
+    <td><a href="http://forum.coppermine-gallery.net/index.php?action=profile;u=7792" rel="external" class="external">TranzNDance</a></td>
+    <td>Supporter</td>
+    <td>active</td>
+  </tr>
+  <tr>
+    <td>Paul Van Rompay</td>
+    <td><a href="http://forum.coppermine-gallery.net/index.php?action=profile;u=23938" rel="external" class="external">Paver</a></td>
+    <td>Developer</td>
+    <td>active</td>
+  </tr>
+  <tr>
+    <td>Amit Badkas</td>
+    <td><a href="http://forum.coppermine-gallery.net/index.php?action=profile;u=18262" rel="external" class="external">Amit</a></td>
+    <td>Developer</td>
+    <td>active</td>
+  </tr>
+  <tr>
+    <td>Andreas Ellsel</td>
+    <td><a href="http://forum.coppermine-gallery.net/index.php?action=profile;u=898" rel="external" class="external">Andi</a></td>
+    <td>Tester</td>
+    <td>active</td>
+  </tr>
+  <tr>
+    <td><strong>Developer</strong></td>
+    <td><strong>Username</strong></td>
+    <td><strong>Role/Position</strong></td>
+    <td><strong>Status</strong></td>
+  </tr>
+  <tr>
+    <td>Gr&eacute;gory Demar</td>
+    <td><a href="http://forum.coppermine-gallery.net/index.php?action=profile;u=259" rel="external" class="external">Greg</a></td>
+    <td>Original creator of Coppermine</td>
+    <td>retired</td>
+  </tr>
+  <tr>
+    <td>Jack</td>
+    <td><a href="http://forum.coppermine-gallery.net/index.php?action=profile;u=6" rel="external" class="external">datajack</a></td>
+    <td>Developer</td>
+    <td>retired</td>
+  </tr>
+  <tr>
+    <td>DJ Axion</td>
+    <td><a href="http://forum.coppermine-gallery.net/index.php?action=profile;u=9" rel="external" class="external">djaxion</a></td>
+    <td>Developer</td>
+    <td>retired</td>
+  </tr>
+  <tr>
+    <td>Scott Gahres</td>
+    <td><a href="http://forum.coppermine-gallery.net/index.php?action=profile;u=66" rel="external" class="external">gtroll</a></td>
+    <td>Developer</td>
+    <td>retired</td>
+  </tr>
+  <tr>
+    <td>Hyperion</td>
+    <td><a href="http://forum.coppermine-gallery.net/index.php?action=profile;u=125" rel="external" class="external">hyperion01</a></td>
+    <td>Developer</td>
+    <td>retired</td>
+  </tr>
+  <tr>
+    <td>John Asendorf</td>
+    <td><a href="http://forum.coppermine-gallery.net/index.php?action=profile;u=30" rel="external" class="external">jasendorf</a></td>
+    <td>Developer</td>
+    <td>retired</td>
+  </tr>
+  <tr>
+    <td>Jay Hao-En Liu</td>
+    <td><a href="http://forum.coppermine-gallery.net/index.php?action=profile;u=59" rel="external" class="external">Oasis</a></td>
+    <td>Developer</td>
+    <td>retired</td>
+  </tr>
+  <tr>
+    <td>Christopher Brown-Floyd</td>
+    <td><a href="http://forum.coppermine-gallery.net/index.php?action=profile;u=1874" rel="external" class="external">omniscientdeveloper</a></td>
+    <td>Developer</td>
+    <td>retired</td>
+  </tr>
+  <tr>
+    <td>Timothy</td>
+    <td><a href="http://forum.coppermine-gallery.net/index.php?action=profile;u=6949" rel="external" class="external">skybax</a></td>
+    <td>Developer</td>
+    <td>retired</td>
+  </tr>
+  <tr>
+    <td>David Holm</td>
+    <td><a href="http://forum.coppermine-gallery.net/index.php?action=profile;u=14" rel="external" class="external">wormie_dk</a></td>
+    <td>Developer</td>
+    <td>retired</td>
+  </tr>
+  <tr>
+    <td>Mark Zerr</td>
+    <td><a href="http://forum.coppermine-gallery.net/index.php?action=profile;u=11" rel="external" class="external">zarsky99</a></td>
+    <td>Tester</td>
+    <td>retired</td>
+  </tr>
+  <tr>
+    <td>mitirapa</td>
+    <td><a href="http://forum.coppermine-gallery.net/index.php?action=profile;u=133" rel="external" class="external">mitirapa</a></td>
+    <td>Porter (Cross Platform Devel.)</td>
+    <td>retired</td>
+  </tr>
+  <tr>
+    <td>Moorey</td>
+    <td><a href="http://forum.coppermine-gallery.net/index.php?action=profile;u=13" rel="external" class="external">moorey</a></td>
+    <td>Web Designer</td>
+    <td>retired</td>
+  </tr>
+  <tr>
+    <td>Maarten Hagoort</td>
+    <td><a href="http://forum.coppermine-gallery.net/index.php?action=profile;u=404" rel="external" class="external">DJ Maze</a></td>
+    <td>Developer (nuke team)</td>
+    <td>retired</td>
+  </tr>
+  <tr>
+    <td>Eyal Zvi</td>
+    <td><a href="http://forum.coppermine-gallery.net/index.php?action=profile;u=94" rel="external" class="external">EZ</a></td>
+    <td>Developer</td>
+    <td>retired</td>
+  </tr>
+  <tr>
+    <td>Clive Leech</td>
+    <td><a href="http://forum.coppermine-gallery.net/index.php?action=profile;u=56" rel="external" class="external">casper</a></td>
+    <td>Supporter</td>
+    <td>retired</td>
+  </tr>
+  <tr>
+    <td>Dennis Nakano</td>
+    <td><a href="http://forum.coppermine-gallery.net/index.php?action=profile;u=19311" rel="external" class="external">madeinhawaii</a></td>
+    <td>Supporter</td>
+    <td>retired</td>
+  </tr>
+    <tr>
+    <td>Roberta</td>
+    <td><a href="http://forum.coppermine-gallery.net/index.php?action=profile;u=24398" rel="external" class="external">Blueiris</a></td>
+    <td>Supporter</td>
+    <td>retired</td>
+  </tr>
+</table>
+<p><a class="back" href="#top">Back to top</a></p><hr />
+
+<a name="contributors"></a>
+<h2>8.2 Contributors</h2>
+<table border="0" cellspacing="6" cellpadding="4">
+<tr>
+  <td><a href="http://forum.coppermine-gallery.net/index.php?action=profile;u=101" rel="external" class="external">DaMysterious</a></td>
+  <td>DaMysterious has created loads of fantastic themes for Coppermine</td>
+</tr>
+<tr>
+  <td><a href="http://forum.coppermine-gallery.net/index.php?action=profile;u=1399" rel="external" class="external">Nanobot</a></td>
+  <td>Doug has done the vBulletin v3 bridge file</td>
+</tr>
+<tr>
+  <td><a href="http://www.sanisoft.com/aboutus.php3" rel="external" class="external">Girish Nair</a></td>
+  <td>Girish has contributed to the film strip feature</td>
+</tr>
+<tr>
+  <td><a href="http://forum.coppermine-gallery.net/index.php?action=profile;u=378" rel="external" class="external">Jason Kawaja</a></td>
+  <td>Jason did the <a href="http://forum.coppermine-gallery.net/index.php?topic=1985.0" rel="external" class="external">memberlist hack</a></td>
+</tr>
+<tr>
+  <td><a href="http://forum.coppermine-gallery.net/index.php?action=profile;u=22846" rel="external" class="external">Alexander L&ouml;bel</a></td>
+  <td>Alex did the translation of the <a href="faq_de.htm" rel="external" class="external">FAQ in German</a></td>
+</tr>
+<tr>
+  <td><a href="http://www.worldwidegarage.com/" rel="external" class="external">Joe Ernst</a></td>
+  <td>Joe has contributed the &quot;Sort my pictures&quot; feature</td>
+</tr>
+<tr>
+  <td><a href="http://forum.coppermine-gallery.net/index.php?action=profile;u=1545" rel="external" class="external">Pascal Yap</a></td>
+  <td>Pascal is a moderator of the <a href="http://forum.coppermine-gallery.net/index.php?board=38.0" rel="external" class="external">French support board</a> and has contributed several mods and hacks. He has translated the <a href="faq_fr.htm">FAQ into French</a>.</td>
+</tr>
+<tr>
+  <td><a href="http://forum.coppermine-gallery.net/index.php?action=profile;u=1545" rel="external" class="external">Fran&ccedil;ois Keller</a></td>
+  <td>Frantz is a moderator of the <a href="http://forum.coppermine-gallery.net/index.php?board=38.0" rel="external" class="external">French support board</a> and has contributed several mods and hacks. He is co-author of the translation of the <a href="faq_fr.htm">FAQ into French</a> as well as the French language file for cpg1.4.x.</td>
+</tr>
+<tr>
+  <td><a href="http://forum.coppermine-gallery.net/index.php?action=profile;u=9544" rel="external" class="external">Leny</a></td>
+  <td>Leny has come up with the partial translation of the documentation into Spanish.</td>
+</tr>
+<tr>
+  <td><a href="http://forum.coppermine-gallery.net/index.php?action=profile;u=61576">Robert Chapin</a></td>
+  <td>Robert Chapin (miqrogroove) has re-done the bridge file for XMB.</td>
+</tr>
+</table>
+<p>There is a full list of translators that can be found on the coppermine homepage: please visit <a href="http://coppermine-gallery.net/team/#translators">Coppermine-gallery.net &gt; About &gt; Translators</a></a>.</p>
+<p><a class="back" href="#top">Back to top</a></p><hr />
+
+<a name="codebase"></a>
+<h2>8.3 Coppermine uses code from the following free softwares :</h2>
+<p><strong>phpBB</strong><br />
+  Author: phpBBGroup <br />
+  URL: <a href="http://www.phpbb.com/" rel="external" class="external">http://www.phpbb.com/</a><br />
+  License: GNU GPL
+</p>
+<p><strong>phpMyAdmin</strong><br />
+  Author: phpMyAdmin devel team<br />
+  URL: <a href="http://www.phpmyadmin.net/" rel="external" class="external">http://www.phpmyadmin.net/</a><br />
+  License: GNU GPL
+</p>
+<p><strong>phpPhotoAlbum</strong><br />
+  Author: Henning St&oslash;verud<br />
+  E-mail: henning AT stoverud DOT com<br />
+  URL: <a href="http://www.stoverud.com/PHPhotoalbum/" rel="external" class="external">http://www.stoverud.com/PHPhotoalbum/</a><br />
+  License: GNU GPL
+</p>
+<p><strong>TAR/GZIP/ZIP Archive Classes</strong><br />
+  Author: Devin Doucette<br />
+  E-mail: darksnoopy AT shaw DOT ca<br />
+  License: GNU GPL
+</p>
+
+<p><strong>Exifixer</strong><br />
+  Author: Jake Olefsky<br />
+  URL: <a href="http://www.offsky.com/software/exif/index.php" rel="external" class="external">http://www.offsky.com/software/exif/index.php</a><br />
+  License: GNU GPL
+</p>
+<p><strong>Codelifter Slideshow</strong><br />
+  URL: <a href="http://www.codelifter.com/">http://www.codelifter.com</a><br />
+  License: free for all, as long as copyright information stays intact
+</p>
+<p><strong>PHPMailer</strong><br />
+  Author: <a href="http://sourceforge.net/project/memberlist.php?group_id=26031" rel="external" class="external">PHPMailer Team</a><br />
+  URL: <a href="http://phpmailer.sourceforge.net/" rel="external" class="external">http://phpmailer.sourceforge.net/</a><br />
+  License: LGPL
+</p>
+<p><strong>PHP Calendar Class Version 1.4</strong><br />
+  Author: David Wilkinson<br />
+  E-mail: davidw AT cascade DOT org DOT uk<br />
+  URL: <a href="http://www.cascade.org.uk/software/php/calendar/" rel="external" class="external">http://www.cascade.org.uk/software/php/calendar/</a><br />
+  License: free for all, as long as copyright information stays intact
+</p>
+<p><a class="back" href="#top">Back to top</a></p><hr />
+
+<a name="copyright"></a>
+<h2>8.4 Copyright, license and disclaimer</h2>
+<a name="copyright_license"></a>
+<h3>8.4.1 License</h3>
+<p>This application is opensource software released under the GNU <a href="http://www.gnu.org/licenses/gpl.html" rel="external" class="external">GPL</a>, version 3.</p>
+<p>Versions prior to cpg1.4.13 used to be released under GNU GPL version 2. As the Free Software Foundation has released version 3 of the license, we updated the license reference for this release accordingly.<br />
+Subsequently, all versions of Coppermine from that time on (July 2007) will be released under GNU GPL version 3.</p>
+<a name="copyright_additional"></a>
+<h3>8.4.2 Additional terms (license add-ons)</h3>
+<p>The GNU GPL does not allow further restrictions of permissions except the additional terms that <em>can</em> be added according to section 7 of the GNU GPL v3.</p>
+<p>Coppermine <strong>is</strong> being released under the GNU GPL with the following, GPL-compliant additional terms:</p>
+<a name="copyright_additional_disclaimer"></a>
+<h4>8.4.2.1 Disclaimer</h4>
+<p class="small">According to GNU GPL v3, section 7 a)</p>
+<p>Because the program is licensed free of charge, there is no warranty for the program, to the extent permitted by applicable law. Except when otherwise stated in writing the copyright holders and/or other parties provide the program &quot;as is&quot; without warranty of any kind, either expressed or implied, including, but not limited to, the implied warranties of merchantability and fitness for a particular purpose. The entire risk as to the quality and performance of the program is with you. Should the program prove defective, you assume the cost of all necessary servicing, repair or correction.</p>
+<a name="copyright_additional_preservation"></a>
+<h4>8.4.2.2 Preservation of author attributions</h4>
+<p class="small">According to GNU GPL v3, section 7 b)</p>
+<p>The Coppermine group (<acronym title="also known as">aka</acronym> Coppermine Dev Team) requires the preservation of the &quot;Powered by Coppermine&quot; footer in a legible, unobscured manner in the output of all pages generated by Coppermine-driven galleries.<br />This policy may be subject of change in future versions. It has originally been made a requirement by the initial author of the first version of Coppermine. We ask you (the end user) to respect this policy and keep the footer intact. Additionally, we have a strict policy on the Coppermine support forum that galleries with the footer tag removed will not receive support. We're convinced that you should give credit where credit is due. We ask you to think twice before removing the tag, as it is meant to spread the word about Coppermine and give others who like your Coppermine-driven gallery to get one of their own.</p>
+<p>In previous versions (prior to cpg1.4.13) of Coppermine (which used to be covered by the GNU GPL v2), the additional term that the footer should not be removed existed as well. There have been third parties though who doubted the rightfulness of this additional term and subsequently claimed that it <em>was</em> legal to remove the tag; some of those third-parties even offered instructions how to accomplish this code-wise (although the legal details had been clarified long before with the <a href="http://fsf.org/" rel="external" class="external">Free Software Foundation</a> and the <a href="http://www.opensource.org/" rel="external" class="external">Open Source Initiative</a>). The Coppermine Dev Team welcomes that version 3 of the GNU GPL clarifies this legal aspect and demands of any third parties to respect the <em>full</em> license, including the additional terms covered in this section of the documentation.</p>
+<a name="copyright_additional_marking"></a>
+<h4>8.4.2.3 Marking of modified versions</h4>
+<p class="small">According to GNU GPL v3, section 7 c)</p>
+<p>The Coppermine Dev Team requires as additional term of the license Coppermine comes with that modified versions of Coppermine conveyed to others should be marked in a reasonable way. Modified versions mustn't be conveyed to others under the same name as the original coppermine release. Package name, source code and the output generated by the modified version should make it obvious for potential users that the modified version and the original coppermine version that the modified version is based upon differ.</p>
+<p><strong>Examples:</strong><br />
+<div class="quote">If you create a port of coppermine with the added feature to brew coffee, name it in a way as suggested below:
+<ul>
+  <li>Coppermine - coffee edition</li>
+  <li>Coppermine with Coffe-Support</li>
+  <li>Coppermine ported for CoffeeMaker v1.8</li>
+</ul>
+</div>
+</p>
+<p><strong>Explanation:</strong><br />
+If you download Coppermine and modify it for the use on your webspace, you don't have to rename it - the above mentioned additional term does not apply to you. It only applies if you make your modified version available for others for download or other means of distribution.<br />
+We think that this helps both the Coppermine project as well as the author of the modified version: people who are using the modified version can find out easily where they can turn to for help. The author of the modification get get the credit he deserves. The Coppermine Dev Team can make sure that issues caused by third-party modifications have less impact on the reputation of the original package.</p>
+<a name="copyright_copyright"></a>
+<h3>8.4.3 Copyrights</h3>
+<p>Coppermine Photo Gallery is Copyright &copy; 2002 - 2007 Gr&eacute;gory  DEMAR and the Coppermine Dev Team, All Rights Reserved.<br />
+</p>
+<p><a class="back" href="#top">Back to top</a></p><hr />
+
+
+      </td></tr></tbody></table>
+</body>
 </html>
\ No newline at end of file
diff -x .svn -aruN 1.4.24.src/docs/README.html 1.4.25.src/docs/README.html
--- 1.4.24.src/docs/README.html	2009-05-21 15:03:09.000000000 -0500
+++ 1.4.25.src/docs/README.html	2009-05-26 11:25:48.000000000 -0500
@@ -1,135 +1,135 @@
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml">
-<head>
-<title>Coppermine Photo Gallery - README</title>
-<meta http-equiv="content-type" content="text/html; charset=iso-8859-1" />
-<style type="text/css">
-<!--
-body {
-        font-family : Verdana, Arial, Helvetica, sans-serif;
-        font-size: 12px;
-        background : #F7F7F7 ;
-        color : Black;
-        margin: 20px;
-}
-
-h1{
-        font-weight: bold;
-        font-size: 22px;
-        font-family: "Trebuchet MS", Verdana, Arial, Helvetica, sans-serif;
-        text-decoration: none;
-        line-height : 120%;
-        color : #000000;
-}
-
-.code{
-               font-family: "courier new", helvetica, "times new roman", serif;
-}
-
-p {
-        font-family : Verdana, Arial, Helvetica, sans-serif;
-        font-size: 12px;
-        margin: 10px 10px 0px 0px;
-}
-
--->
-</style>
-
-<!--
-  Subversion information (for information and developer purposes only - safe to ignore for everybody else):
-  Coppermine version: 1.4.24
-  $HeadURL: https://coppermine.svn.sourceforge.net/svnroot/coppermine/trunk/cpg1.4.x/docs/README.html $
-  $Revision: 5969 $
-  $Author: gaugau $
-  $Date: 2009-05-21 22:03:33 +0200 (Do, 21 Mai 2009) $
--->
-</head>
-
-<body>
-<body>
-<h1><img src="../images/coppermine_logo.png" width="300" height="75" /></h1>
-<h1>CPG - Coppermine Photo Gallery Quick-Start Guide</h1>
-<p>Congratulations on downloading the most recent, most powerful, and feature rich version of Coppermine, ever.  You've already made the right decision in selecting Coppermine as your photo gallery script and just about now, you're probably wondering how to get started and you want to install CPG A.S.A.P. Right?  Before that, however, make another "right" decision and take some time out to <b>r</b>ead <b>t</b>he '<b>f</b>ascinating' <b>m</b>anuals <a href="index.htm">(RTFM)</a> that come with Coppermine.</p>
-
-<p>Click on the <a href="index.htm">RTFM</a> link or look in the folder that you just extracted your Coppermine files into.  In it, you'll find a folder called 'docs'. All the documentation for installation, faqs, administration, troubleshooting, modifying themes, and more is there.  Familiarize yourself with the contents of the various docs to enhance your CPG experience and create the gallery that you've always dreamed about, in the least amount of time, and with the least amount of set-backs and frustration.  Read it and in no time at all, your friends and relatives will be praising you and gawking at your incredible photo-gallery.</p>
-
-<p>Even if you are installing this as an upgrade from an older version of Coppermine, you'll still need to read the docs for directions and to understand some of the major changes between CPG 1.4x and all previous versions. You'll need to know what can and cannot be ported from your previous installation to this new version.  It is important to note that <u>upgrade</u> installations are considerably different from <u>update</u> installations. For example, In version 1.35, an 'update' to 1.34, the Classic theme's theme.php script was a whopping 1487 lines long. In 1.4x, an upgrade, it's a mere 24. Nope, this is NOT a miss-type. So where did all that code go? <u>Read the docs</u>. Your custom themes from previous versions will undoubtedly need some changes made to it before you can use them in this new version. So, just how do you go about doing that?  <a href="docs/index.htm">RTFM!</a></p>
-
-<p>This download is a stand-alone version (<a href="http://coppermine-gallery.net/demo/" title="Coppermine demo URL">see screenshots</a>) of Coppermine Photo Gallery if you are looking for something that integrates with a CMS (content management system), you should visit <a href="http://www.cpgnuke.com">http://www.cpgnuke.com</a>.</p>
-
-<p>Ok, okay, so you don't want to read the documentation. At least, "not just yet," you say. You just want to get it up and running. Poke around and see what's what. Well, you've been warned! The rest of this guide will help walk you through the basics of installing Coppermine as a fresh, stand-alone (non-upgrade) install. (If you are trying to upgrade from a previous installation of coppermine, you already know what to do - <a href="index.htm">RTFM</a>.) Ready?</p>
-<br />
-
-<p> <b><font size="3">Let's Start!</font></b></p>
-
-<p><b>Question:</b>  Does my webserver support Coppermine?<br />
-<b>Answer:</b>  You need to have a webserver or webhost that provides the following:  PHP 4.2.0 or newer (PHP5 supported), and MySQL 3.23.23 or newer (MySQL 4.1 is recommended, MySQL 5 is supported).  You also need either GD 1.xx or 2.xx (2.xx recommended) or ImageMagick installed.  GD normally comes bundled with PHP;
-ImageMagick must be installed by your webhost.</p>
-
-<p><b>Question:</b>  Where can I find out that stuff?<br />
-<b>Answer:</b>  Ask your webhost, they should be able to tell you.  You can also create a file called phpinfo.php, upload it to your website and enter www.yoursite.com/phpinfo.php in your browser, run it and see what versions of the above requirements you have.  Only your host, however, can tell you the exact location of ImageMagick's convert utility, if it's available, at all.</p>
-
-<p>To create your phpinfo file, copy the following into a text file and save the file as phpinfo.php. </p>
-<blockquote><p class="code">&#60;?php<br />
-phpinfo();<br />
-?&#62;</p></blockquote>
-
-<p><b>Question:</b>  Where do I put all these files?<br />
-<b>Answer:</b>  You could put them in your root directory (not recommended) or upload the coppermine directory to your website. If you are uncertain about where exactly to upload it,ask your webhost into what folder you need to upload your html and other script files. We recommend uploading the directory cpg140 (and all the files contained within) directly to your webhost's recommended folder and renaming to your liking after the upload is complete. Compare your uploaded files with your coppermine package. Make sure all the files were successfully uploaded. </p>
-
-<p><b>Question:</b>  Ok, I uploaded everything to www.yoursite.com/cpg140.  Now what?<br />
-<b>Answer:</b>  You need to change permissions on a few directories before you can do
-anything else.  Using your FTP program or website Control Panel, change permissions on
-the: "include", "albums", "albums/userpics", and "albums/edit" directories to 777.  You should also create a new directory in albums that you will FTP your images/files into (name it "uploads" or any thing that catches your fancy -just no spaces or funny diacritical symbols, please.) and set it's permissions to '777' also.  Some server set-ups will not work with chmod '777'. In which case, you should use '755'. (Confused? Don't know what CHMODE is? You've been warned, need we say more?) </p>
-
-<p><b>Question:</b>  I changed the permissions.  What's next?<br />
-<b>Answer:</b>  You need to create a MySQL database.  Using your website Control Panel or a
-tool like phpMyAdmin, create a MySQL database.  Write down the database name, the
-username and password  you'll need it to successfully install Coppermine.  If you already have a database you're using for a BBS or something else, that'll work just as well.  You can use that database for Coppermine, too.  If you have a BBS and plan to connect it to Coppermine install, you'll need to share the database anyway.</p>
-
-<p><b>Question:</b>  My files are in place, permissions are set, and I have my MySQL database information.  What's the next step? <br />
-<b>Answer:</b>  Read the... (Oops, sorry.)&nbsp; Now you have to run the Coppermine install.  Launch your web browser and enter http://www.yousite.com/coppermine/install.php and fill in the information that is requested. If you have never used ImageMagick before, leave that line blank during the install process. You can always add that information after you have Coppermine up and running. </p>
-
-<p><b>Question:</b>  Screen went blank! Suddenly there are error messages popping up all over the place! My webhost, crashed!  What do I do?<br />
-<b>Answer:</b>  Read the documentation!  If you haven't done so already, you're not going anywhere, anyway, so here's the perfect opportunity. We can wait. Chances are, you'll find the answers you need, there. All we can say at this point is that if your server crashed, it probably wasn't your install and it wasn't our fault. It was just a coincidence. Wait till it's up and running again and try the installation again. If, however, you really can't find the answers you need in the documents, go to
-<a href="http://coppermine.sourceforge.net">http://coppermine.sourceforge.net</a> and review the support boards.  Spend a little time looking around and search for your problem. Thousands have gone before you, so a solution for your installation issues have probably been posted, already. (HINT: search using the exact error message you see on your screen.)</p>
-
-<p><b>Question:</b>  Ha! Ha! Got You!  It's installed and working!  Now what?<br />
-<b>Answer:</b>  1) Wipe that smile off your face. 2) Read the docs, anyway -- twice. 3) You'll need to look at the configuration of Coppermine to make sure it's set up the way you want it.  Log in as the admin, if you aren't already logged in.  Enter Admin Mode - (if the 'Admin Mode' menu link isn't visible, you are already logged in). Click on the Config button.  These are a few of the things you should pay close attention to:<br /><br />
-<ul><li><b>General Settings:</b> You should put in your site name and email address, and set your GMT time zone offset.</li>
-<li><b>Language, Themes & Charset settings:</b>  Choose your default language.</li>
-<li><b>Files and thumbnails settings:</b>  Set the max size for uploaded files to whatever size you prefer in kilobytes .  The default setting is 1024kb.  Make sure that this maximum file size is within the maximum allowed by your webhost. While you are at it, you should also set the "max width or height for uploaded pictures/videos (pixels)"  this will prevent your users from uploading images that are larger than what is desireable.  If you would like Coppermine to automatically resize images that are larger than what you've designated in the Config settings, set "auto resize images that are larger than max width or height" to either:  "Yes:Everyone" or "Yes:User only".  "Everyone" means everybody, including when the administrator(you) batch-adds pictures, and User means just your gallery members when they upload pictures.</li>
-<li><b>Files and thumbnails advanced settings:</b>  Make sure you have the correct image
-manipulation software selected.  If you are using GD, you should select GD2 if available on your webserver.  If you plan to use ImageMagick you should put in the path now to
-the binaries (make sure it ends with a trailing slash "/").  Do you want to allow your members to be able to create private albums?  If you do, be sure to set "Users can have private albums" to 'Yes'.</li>
-<li><b>User settings:</b>  If you plan to let people register and upload pictures, make certain that you set "Allow new user registrations" to 'Yes'.</li>
-<li>You also want to take a peek at the groups settings.  Coppermine comes with four
-groups by default: administrators, registered users, anonymous users, and banned users.
-This is where you control permissions to send e-cards, upload files, etc.  This is also
-where you can set the maximum allowed disk space for each group (disk quota).  It's set to
-1024kb by default.</li></ul></p>
-
-<p><b>Question:</b>  I think everything is set correctly.  Can I upload pictures yet?<br />
-<b>Answer:</b>  No.  First you need to create an album to put them in.  In the same row as the Config link or button, you'll see a link called Albums.  Click on it and you are taken to a screen that allows you to create an album.  Click "New Album", then rename it to whatever you'd like.  Click "Apply changes" and presto!  You now have an album.</p>
-
-<p><b>Question:</b>  I made an album, so now can I upload pictures?<br />
-<b>Answer:</b>  Yes.  As the admin, you should use an FTP program to upload your pictures
-to your website, then do a batch-add to put them into your Coppermine database.  Back at
-the beginning of this guide I told you to create a directory in albums for just this purpose. Let's say you made one called "uploads".  FTP your images to your albums/uploads folder.  When that's done, click on batch-add.  Select uploads as the directory.  You are now presented with a list of all the pictures you just uploaded.  By default Coppermine selects all of the images.  Select the album (uploads) to put them into, then click Go.  You now have an online gallery with pictures to look at! Aren't you amazing!</p>
-
-<p><b>Question:</b>  Now, can I add a title to a picture?<br />
-<b>Answer:</b>  Yes you can.  On the main Coppermine screen, when you are logged in as an
-admin, you'll see a number of options listed next to the album.  If you click on "edit files" you will be able to add all sorts of information to each picture.</p>
-
-<p><b>Question:</b>  I can delete the original pictures now, right?  After all, they are in the database, right?<br />
-<b>Answer:</b>  Wrong!  Coppermine doesn't actually put the pictures into the database.  It just uses the database to remember where the pictures are stored on the webserver, what
-album and category they belong to, and other information related to the pictures.  If you
-delete the original picture, it will cause a bunch of errors.  If you want to delete the
-original, read the documentation on what the Admin Tools are for and can do for you. You should never delete anything using your webhost tools or ftp program that can be handled internally with coppermine. Doing so can lead to a host of mysql database errors.</p>
-
-<p>You are now successfully running Coppermine on your website!  Now take a few minutes to read the documentation so you'll know how to administer your gallery. Coppermine is very powerful and can do a lot more than what you probably thought was possible.<br /><br />Experiment with it with just a few pictures, categories, and albums at first. Set it up exactly the way you want it before adding a bunch of pictures. Most of all have a good time! Oh yeah, and don't forget, <a href="index.htm">RTFM</a>! </p><br /><br />
-
-<p>The Coppermine Dev Team<br />
-<a href="http://coppermine.sourceforge.net">http://coppermine.sourceforge.net</a></p>
-</body>
-</html>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+<title>Coppermine Photo Gallery - README</title>
+<meta http-equiv="content-type" content="text/html; charset=iso-8859-1" />
+<style type="text/css">
+<!--
+body {
+        font-family : Verdana, Arial, Helvetica, sans-serif;
+        font-size: 12px;
+        background : #F7F7F7 ;
+        color : Black;
+        margin: 20px;
+}
+
+h1{
+        font-weight: bold;
+        font-size: 22px;
+        font-family: "Trebuchet MS", Verdana, Arial, Helvetica, sans-serif;
+        text-decoration: none;
+        line-height : 120%;
+        color : #000000;
+}
+
+.code{
+               font-family: "courier new", helvetica, "times new roman", serif;
+}
+
+p {
+        font-family : Verdana, Arial, Helvetica, sans-serif;
+        font-size: 12px;
+        margin: 10px 10px 0px 0px;
+}
+
+-->
+</style>
+
+<!--
+  Subversion information (for information and developer purposes only - safe to ignore for everybody else):
+  Coppermine version: 1.4.25
+  $HeadURL: https://coppermine.svn.sourceforge.net/svnroot/coppermine/trunk/cpg1.4.x/docs/README.html $
+  $Revision: 5997 $
+  $Author: gaugau $
+  $Date: 2009-05-26 08:43:24 +0200 (Di, 26 Mai 2009) $
+-->
+</head>
+
+<body>
+<body>
+<h1><img src="../images/coppermine_logo.png" width="300" height="75" /></h1>
+<h1>CPG - Coppermine Photo Gallery Quick-Start Guide</h1>
+<p>Congratulations on downloading the most recent, most powerful, and feature rich version of Coppermine, ever.  You've already made the right decision in selecting Coppermine as your photo gallery script and just about now, you're probably wondering how to get started and you want to install CPG A.S.A.P. Right?  Before that, however, make another "right" decision and take some time out to <b>r</b>ead <b>t</b>he '<b>f</b>ascinating' <b>m</b>anuals <a href="index.htm">(RTFM)</a> that come with Coppermine.</p>
+
+<p>Click on the <a href="index.htm">RTFM</a> link or look in the folder that you just extracted your Coppermine files into.  In it, you'll find a folder called 'docs'. All the documentation for installation, faqs, administration, troubleshooting, modifying themes, and more is there.  Familiarize yourself with the contents of the various docs to enhance your CPG experience and create the gallery that you've always dreamed about, in the least amount of time, and with the least amount of set-backs and frustration.  Read it and in no time at all, your friends and relatives will be praising you and gawking at your incredible photo-gallery.</p>
+
+<p>Even if you are installing this as an upgrade from an older version of Coppermine, you'll still need to read the docs for directions and to understand some of the major changes between CPG 1.4x and all previous versions. You'll need to know what can and cannot be ported from your previous installation to this new version.  It is important to note that <u>upgrade</u> installations are considerably different from <u>update</u> installations. For example, In version 1.35, an 'update' to 1.34, the Classic theme's theme.php script was a whopping 1487 lines long. In 1.4x, an upgrade, it's a mere 24. Nope, this is NOT a miss-type. So where did all that code go? <u>Read the docs</u>. Your custom themes from previous versions will undoubtedly need some changes made to it before you can use them in this new version. So, just how do you go about doing that?  <a href="docs/index.htm">RTFM!</a></p>
+
+<p>This download is a stand-alone version (<a href="http://coppermine-gallery.net/demo/" title="Coppermine demo URL">see screenshots</a>) of Coppermine Photo Gallery if you are looking for something that integrates with a CMS (content management system), you should visit <a href="http://www.cpgnuke.com">http://www.cpgnuke.com</a>.</p>
+
+<p>Ok, okay, so you don't want to read the documentation. At least, "not just yet," you say. You just want to get it up and running. Poke around and see what's what. Well, you've been warned! The rest of this guide will help walk you through the basics of installing Coppermine as a fresh, stand-alone (non-upgrade) install. (If you are trying to upgrade from a previous installation of coppermine, you already know what to do - <a href="index.htm">RTFM</a>.) Ready?</p>
+<br />
+
+<p> <b><font size="3">Let's Start!</font></b></p>
+
+<p><b>Question:</b>  Does my webserver support Coppermine?<br />
+<b>Answer:</b>  You need to have a webserver or webhost that provides the following:  PHP 4.2.0 or newer (PHP5 supported), and MySQL 3.23.23 or newer (MySQL 4.1 is recommended, MySQL 5 is supported).  You also need either GD 1.xx or 2.xx (2.xx recommended) or ImageMagick installed.  GD normally comes bundled with PHP;
+ImageMagick must be installed by your webhost.</p>
+
+<p><b>Question:</b>  Where can I find out that stuff?<br />
+<b>Answer:</b>  Ask your webhost, they should be able to tell you.  You can also create a file called phpinfo.php, upload it to your website and enter www.yoursite.com/phpinfo.php in your browser, run it and see what versions of the above requirements you have.  Only your host, however, can tell you the exact location of ImageMagick's convert utility, if it's available, at all.</p>
+
+<p>To create your phpinfo file, copy the following into a text file and save the file as phpinfo.php. </p>
+<blockquote><p class="code">&#60;?php<br />
+phpinfo();<br />
+?&#62;</p></blockquote>
+
+<p><b>Question:</b>  Where do I put all these files?<br />
+<b>Answer:</b>  You could put them in your root directory (not recommended) or upload the coppermine directory to your website. If you are uncertain about where exactly to upload it,ask your webhost into what folder you need to upload your html and other script files. We recommend uploading the directory cpg140 (and all the files contained within) directly to your webhost's recommended folder and renaming to your liking after the upload is complete. Compare your uploaded files with your coppermine package. Make sure all the files were successfully uploaded. </p>
+
+<p><b>Question:</b>  Ok, I uploaded everything to www.yoursite.com/cpg140.  Now what?<br />
+<b>Answer:</b>  You need to change permissions on a few directories before you can do
+anything else.  Using your FTP program or website Control Panel, change permissions on
+the: "include", "albums", "albums/userpics", and "albums/edit" directories to 777.  You should also create a new directory in albums that you will FTP your images/files into (name it "uploads" or any thing that catches your fancy -just no spaces or funny diacritical symbols, please.) and set it's permissions to '777' also.  Some server set-ups will not work with chmod '777'. In which case, you should use '755'. (Confused? Don't know what CHMODE is? You've been warned, need we say more?) </p>
+
+<p><b>Question:</b>  I changed the permissions.  What's next?<br />
+<b>Answer:</b>  You need to create a MySQL database.  Using your website Control Panel or a
+tool like phpMyAdmin, create a MySQL database.  Write down the database name, the
+username and password  you'll need it to successfully install Coppermine.  If you already have a database you're using for a BBS or something else, that'll work just as well.  You can use that database for Coppermine, too.  If you have a BBS and plan to connect it to Coppermine install, you'll need to share the database anyway.</p>
+
+<p><b>Question:</b>  My files are in place, permissions are set, and I have my MySQL database information.  What's the next step? <br />
+<b>Answer:</b>  Read the... (Oops, sorry.)&nbsp; Now you have to run the Coppermine install.  Launch your web browser and enter http://www.yousite.com/coppermine/install.php and fill in the information that is requested. If you have never used ImageMagick before, leave that line blank during the install process. You can always add that information after you have Coppermine up and running. </p>
+
+<p><b>Question:</b>  Screen went blank! Suddenly there are error messages popping up all over the place! My webhost, crashed!  What do I do?<br />
+<b>Answer:</b>  Read the documentation!  If you haven't done so already, you're not going anywhere, anyway, so here's the perfect opportunity. We can wait. Chances are, you'll find the answers you need, there. All we can say at this point is that if your server crashed, it probably wasn't your install and it wasn't our fault. It was just a coincidence. Wait till it's up and running again and try the installation again. If, however, you really can't find the answers you need in the documents, go to
+<a href="http://coppermine.sourceforge.net">http://coppermine.sourceforge.net</a> and review the support boards.  Spend a little time looking around and search for your problem. Thousands have gone before you, so a solution for your installation issues have probably been posted, already. (HINT: search using the exact error message you see on your screen.)</p>
+
+<p><b>Question:</b>  Ha! Ha! Got You!  It's installed and working!  Now what?<br />
+<b>Answer:</b>  1) Wipe that smile off your face. 2) Read the docs, anyway -- twice. 3) You'll need to look at the configuration of Coppermine to make sure it's set up the way you want it.  Log in as the admin, if you aren't already logged in.  Enter Admin Mode - (if the 'Admin Mode' menu link isn't visible, you are already logged in). Click on the Config button.  These are a few of the things you should pay close attention to:<br /><br />
+<ul><li><b>General Settings:</b> You should put in your site name and email address, and set your GMT time zone offset.</li>
+<li><b>Language, Themes & Charset settings:</b>  Choose your default language.</li>
+<li><b>Files and thumbnails settings:</b>  Set the max size for uploaded files to whatever size you prefer in kilobytes .  The default setting is 1024kb.  Make sure that this maximum file size is within the maximum allowed by your webhost. While you are at it, you should also set the "max width or height for uploaded pictures/videos (pixels)"  this will prevent your users from uploading images that are larger than what is desireable.  If you would like Coppermine to automatically resize images that are larger than what you've designated in the Config settings, set "auto resize images that are larger than max width or height" to either:  "Yes:Everyone" or "Yes:User only".  "Everyone" means everybody, including when the administrator(you) batch-adds pictures, and User means just your gallery members when they upload pictures.</li>
+<li><b>Files and thumbnails advanced settings:</b>  Make sure you have the correct image
+manipulation software selected.  If you are using GD, you should select GD2 if available on your webserver.  If you plan to use ImageMagick you should put in the path now to
+the binaries (make sure it ends with a trailing slash "/").  Do you want to allow your members to be able to create private albums?  If you do, be sure to set "Users can have private albums" to 'Yes'.</li>
+<li><b>User settings:</b>  If you plan to let people register and upload pictures, make certain that you set "Allow new user registrations" to 'Yes'.</li>
+<li>You also want to take a peek at the groups settings.  Coppermine comes with four
+groups by default: administrators, registered users, anonymous users, and banned users.
+This is where you control permissions to send e-cards, upload files, etc.  This is also
+where you can set the maximum allowed disk space for each group (disk quota).  It's set to
+1024kb by default.</li></ul></p>
+
+<p><b>Question:</b>  I think everything is set correctly.  Can I upload pictures yet?<br />
+<b>Answer:</b>  No.  First you need to create an album to put them in.  In the same row as the Config link or button, you'll see a link called Albums.  Click on it and you are taken to a screen that allows you to create an album.  Click "New Album", then rename it to whatever you'd like.  Click "Apply changes" and presto!  You now have an album.</p>
+
+<p><b>Question:</b>  I made an album, so now can I upload pictures?<br />
+<b>Answer:</b>  Yes.  As the admin, you should use an FTP program to upload your pictures
+to your website, then do a batch-add to put them into your Coppermine database.  Back at
+the beginning of this guide I told you to create a directory in albums for just this purpose. Let's say you made one called "uploads".  FTP your images to your albums/uploads folder.  When that's done, click on batch-add.  Select uploads as the directory.  You are now presented with a list of all the pictures you just uploaded.  By default Coppermine selects all of the images.  Select the album (uploads) to put them into, then click Go.  You now have an online gallery with pictures to look at! Aren't you amazing!</p>
+
+<p><b>Question:</b>  Now, can I add a title to a picture?<br />
+<b>Answer:</b>  Yes you can.  On the main Coppermine screen, when you are logged in as an
+admin, you'll see a number of options listed next to the album.  If you click on "edit files" you will be able to add all sorts of information to each picture.</p>
+
+<p><b>Question:</b>  I can delete the original pictures now, right?  After all, they are in the database, right?<br />
+<b>Answer:</b>  Wrong!  Coppermine doesn't actually put the pictures into the database.  It just uses the database to remember where the pictures are stored on the webserver, what
+album and category they belong to, and other information related to the pictures.  If you
+delete the original picture, it will cause a bunch of errors.  If you want to delete the
+original, read the documentation on what the Admin Tools are for and can do for you. You should never delete anything using your webhost tools or ftp program that can be handled internally with coppermine. Doing so can lead to a host of mysql database errors.</p>
+
+<p>You are now successfully running Coppermine on your website!  Now take a few minutes to read the documentation so you'll know how to administer your gallery. Coppermine is very powerful and can do a lot more than what you probably thought was possible.<br /><br />Experiment with it with just a few pictures, categories, and albums at first. Set it up exactly the way you want it before adding a bunch of pictures. Most of all have a good time! Oh yeah, and don't forget, <a href="index.htm">RTFM</a>! </p><br /><br />
+
+<p>The Coppermine Dev Team<br />
+<a href="http://coppermine.sourceforge.net">http://coppermine.sourceforge.net</a></p>
+</body>
+</html>
diff -x .svn -aruN 1.4.24.src/docs/showdoc.php 1.4.25.src/docs/showdoc.php
--- 1.4.24.src/docs/showdoc.php	2009-05-21 15:03:09.000000000 -0500
+++ 1.4.25.src/docs/showdoc.php	2009-05-26 11:25:48.000000000 -0500
@@ -1,119 +1,119 @@
-<?php
-/*************************
-  Coppermine Photo Gallery
-  ************************
-  Copyright (c) 2003-2009 Coppermine Dev Team
-  v1.1 originally written by Gregory DEMAR
-
-  This program is free software; you can redistribute it and/or modify
-  it under the terms of the GNU General Public License version 3
-  as published by the Free Software Foundation.
-
-  ********************************************
-  Coppermine version: 1.4.24
-  $HeadURL: https://coppermine.svn.sourceforge.net/svnroot/coppermine/trunk/cpg1.4.x/docs/showdoc.php $
-  $Revision: 5969 $
-  $Author: gaugau $
-  $Date: 2009-05-21 22:03:33 +0200 (Do, 21 Mai 2009) $
-**********************************************/
-
-// Get the vars from the url
-if (isset($_REQUEST['f'])) { $file = $_REQUEST['f']; } else { $file = ''; }
-if (isset($_REQUEST['as'])) { $anchor_start = $_REQUEST['as']; } else { $anchor_start = ''; }
-if (isset($_REQUEST['ae'])) { $anchor_end = $_REQUEST['ae']; } else { $anchor_end = ''; }
-if (isset($_REQUEST['remove_head'])) { $remove_head = $_REQUEST['remove_head']; } else { $remove_head = '0'; }
-if (isset($_REQUEST['remove_stylesheet'])) { $remove_stylesheet = $_REQUEST['remove_stylesheet']; } else { $remove_stylesheet = '0'; }
-if (isset($_REQUEST['top'])) { $remove_to_top = $_REQUEST['top']; } else { $remove_to_top = '0'; }
-if (isset($_REQUEST['css'])) { $add_stylesheet = $_REQUEST['css']; } else { $add_stylesheet = '0'; }
-if (isset($_REQUEST['h'])) { $header = $_REQUEST['h']; } else { $header = ''; }
-if (isset($_REQUEST['t'])) { $text = $_REQUEST['t']; } else { $text = ''; }
-if (isset($_REQUEST['style'])) { $style = $_REQUEST['style']; } else { $style = ''; }
-if (isset($_REQUEST['close'])) { $close = $_REQUEST['close']; } else { $close = '0'; }
-if (isset($_REQUEST['base'])) { $base = $_REQUEST['base']; } else { $base = ''; }
-
-if ($base != '') {
-// content of header and text have been base64-encoded - decode it now
-$header = @unserialize(@base64_decode($header));
-$text = @unserialize(@base64_decode($text));
-}
-
-// Do some cleanup. Taken from init
-$HTML_SUBST = array('&' => '&amp;', '"' => '&quot;', '<' => '&lt;', '>' => '&gt;', '%26' => '&amp;', '%22' => '&quot;', '%3C' => '&lt;', '%3E' => '&gt;','%27' => '&#39;', "'" => '&#39;');
-
-$text = strtr(stripslashes($text), $HTML_SUBST);
-$header = strtr(stripslashes($header), $HTML_SUBST);
-
-if ($close != 1) {
-$close_link = '<br />&nbsp;<br /><div align="center"><a href="#" class="admin_menu" onclick="window.close();">Close</a><br />&nbsp;</div>';
-}
-
-
-// harden against expolits: check the requested vars, replace illegal chars
-$file = stripslashes($file);
-$forbidden_chars = array("..", "/", "%", "<", ">", "$", "'", '"');
-$file = str_replace($forbidden_chars, '', $file);
-$add_stylesheet = str_replace($forbidden_chars, '', $add_stylesheet);
-
-ob_start();
-@include('index.htm');
-$string = ob_get_contents();
-ob_end_clean();
-
-// manipulate the string according to settings
-if ($remove_head == 1) {
-    $pattern = "'<head[^>]*?>.*?</head>'si";
-    $replacement = "";
-    $string = preg_replace($pattern, $replacement, $string);
-}
-
-if ($remove_stylesheet == 1) {
-    $pattern = "'<style[^>]*?>.*?</style>'si";
-    $replacement = "";
-    $string = preg_replace($pattern, $replacement, $string);
-}
-
-if ($anchor_start != '') {
-    $pattern = '<a name="' . $anchor_start . '"></a>';
-    $string = strstr($string, $pattern);
-    //remove the start anchor
-    $pattern = "'".$pattern."'si";
-    $string = preg_replace($pattern, "", $string);
-}
-
-if ($anchor_end != '') {
-    $pattern = '<a name="' . $anchor_end . '"></a>';
-    $string2 = strstr($string, $pattern);
-    //remove the start anchor
-    $pattern = "'".$pattern."'si";
-    $string2 = preg_replace($pattern, "", $string2);
-    $string = str_replace($string2, '', $string);
-    $string = preg_replace($pattern, "", $string);
-}
-
-if ($remove_to_top ==1) {
-    $pattern = '<a class="back" href="#top">Back to top</a>';
-    $pattern = "'".$pattern."'si";
-    $string = preg_replace($pattern, '', $string);
-}
-
-/* check for emtpy string
-// if the string is empty, invalid data have been submitted to the script, so the window should be closed
-if ($string == '' && $header == '') {
-    $string = '    <script language="JavaScript" type="text/javascript">
-    window.opener = self;
-    window.close();
-    </script>';
-}
-*/
-
-if ($add_stylesheet != '') {
-    $string = "<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Transitional//EN\"\n\t\"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd\">\n<html>\n<head>\n<title>Help</title>\n" . '<link href="../themes/'.$add_stylesheet.'/style.css" rel="stylesheet" type="text/css" />' . "\n</head>\n<body class=\"tableb\">\n<div style=\"padding: 5px;\">\n" . $string;
-    $string .= $close_link."\n</div>\n</body>\n</html>";
-}
-
-if ($header != '') {
-$string = "<html>\n<head>\n<title>".$header."</title>\n" . '<link rel="stylesheet" href="../themes/'.$add_stylesheet.'/style.css" />' . "\n</head>\n<body class=\"tableb\">\n<h1>" . $header . "</h1>\n<div style=\"padding: 5px;\">\n" . $text . "\n".$close_link."\n</div>\n</body>\n</html>";
-}
-
-print $string;
+<?php
+/*************************
+  Coppermine Photo Gallery
+  ************************
+  Copyright (c) 2003-2009 Coppermine Dev Team
+  v1.1 originally written by Gregory DEMAR
+
+  This program is free software; you can redistribute it and/or modify
+  it under the terms of the GNU General Public License version 3
+  as published by the Free Software Foundation.
+
+  ********************************************
+  Coppermine version: 1.4.25
+  $HeadURL: https://coppermine.svn.sourceforge.net/svnroot/coppermine/trunk/cpg1.4.x/docs/showdoc.php $
+  $Revision: 5997 $
+  $Author: gaugau $
+  $Date: 2009-05-26 08:43:24 +0200 (Di, 26 Mai 2009) $
+**********************************************/
+
+// Get the vars from the url
+if (isset($_REQUEST['f'])) { $file = $_REQUEST['f']; } else { $file = ''; }
+if (isset($_REQUEST['as'])) { $anchor_start = $_REQUEST['as']; } else { $anchor_start = ''; }
+if (isset($_REQUEST['ae'])) { $anchor_end = $_REQUEST['ae']; } else { $anchor_end = ''; }
+if (isset($_REQUEST['remove_head'])) { $remove_head = $_REQUEST['remove_head']; } else { $remove_head = '0'; }
+if (isset($_REQUEST['remove_stylesheet'])) { $remove_stylesheet = $_REQUEST['remove_stylesheet']; } else { $remove_stylesheet = '0'; }
+if (isset($_REQUEST['top'])) { $remove_to_top = $_REQUEST['top']; } else { $remove_to_top = '0'; }
+if (isset($_REQUEST['css'])) { $add_stylesheet = $_REQUEST['css']; } else { $add_stylesheet = '0'; }
+if (isset($_REQUEST['h'])) { $header = $_REQUEST['h']; } else { $header = ''; }
+if (isset($_REQUEST['t'])) { $text = $_REQUEST['t']; } else { $text = ''; }
+if (isset($_REQUEST['style'])) { $style = $_REQUEST['style']; } else { $style = ''; }
+if (isset($_REQUEST['close'])) { $close = $_REQUEST['close']; } else { $close = '0'; }
+if (isset($_REQUEST['base'])) { $base = $_REQUEST['base']; } else { $base = ''; }
+
+if ($base != '') {
+// content of header and text have been base64-encoded - decode it now
+$header = @unserialize(@base64_decode($header));
+$text = @unserialize(@base64_decode($text));
+}
+
+// Do some cleanup. Taken from init
+$HTML_SUBST = array('&' => '&amp;', '"' => '&quot;', '<' => '&lt;', '>' => '&gt;', '%26' => '&amp;', '%22' => '&quot;', '%3C' => '&lt;', '%3E' => '&gt;','%27' => '&#39;', "'" => '&#39;');
+
+$text = strtr(stripslashes($text), $HTML_SUBST);
+$header = strtr(stripslashes($header), $HTML_SUBST);
+
+if ($close != 1) {
+$close_link = '<br />&nbsp;<br /><div align="center"><a href="#" class="admin_menu" onclick="window.close();">Close</a><br />&nbsp;</div>';
+}
+
+
+// harden against expolits: check the requested vars, replace illegal chars
+$file = stripslashes($file);
+$forbidden_chars = array("..", "/", "%", "<", ">", "$", "'", '"');
+$file = str_replace($forbidden_chars, '', $file);
+$add_stylesheet = str_replace($forbidden_chars, '', $add_stylesheet);
+
+ob_start();
+@include('index.htm');
+$string = ob_get_contents();
+ob_end_clean();
+
+// manipulate the string according to settings
+if ($remove_head == 1) {
+    $pattern = "'<head[^>]*?>.*?</head>'si";
+    $replacement = "";
+    $string = preg_replace($pattern, $replacement, $string);
+}
+
+if ($remove_stylesheet == 1) {
+    $pattern = "'<style[^>]*?>.*?</style>'si";
+    $replacement = "";
+    $string = preg_replace($pattern, $replacement, $string);
+}
+
+if ($anchor_start != '') {
+    $pattern = '<a name="' . $anchor_start . '"></a>';
+    $string = strstr($string, $pattern);
+    //remove the start anchor
+    $pattern = "'".$pattern."'si";
+    $string = preg_replace($pattern, "", $string);
+}
+
+if ($anchor_end != '') {
+    $pattern = '<a name="' . $anchor_end . '"></a>';
+    $string2 = strstr($string, $pattern);
+    //remove the start anchor
+    $pattern = "'".$pattern."'si";
+    $string2 = preg_replace($pattern, "", $string2);
+    $string = str_replace($string2, '', $string);
+    $string = preg_replace($pattern, "", $string);
+}
+
+if ($remove_to_top ==1) {
+    $pattern = '<a class="back" href="#top">Back to top</a>';
+    $pattern = "'".$pattern."'si";
+    $string = preg_replace($pattern, '', $string);
+}
+
+/* check for emtpy string
+// if the string is empty, invalid data have been submitted to the script, so the window should be closed
+if ($string == '' && $header == '') {
+    $string = '    <script language="JavaScript" type="text/javascript">
+    window.opener = self;
+    window.close();
+    </script>';
+}
+*/
+
+if ($add_stylesheet != '') {
+    $string = "<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Transitional//EN\"\n\t\"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd\">\n<html>\n<head>\n<title>Help</title>\n" . '<link href="../themes/'.$add_stylesheet.'/style.css" rel="stylesheet" type="text/css" />' . "\n</head>\n<body class=\"tableb\">\n<div style=\"padding: 5px;\">\n" . $string;
+    $string .= $close_link."\n</div>\n</body>\n</html>";
+}
+
+if ($header != '') {
+$string = "<html>\n<head>\n<title>".$header."</title>\n" . '<link rel="stylesheet" href="../themes/'.$add_stylesheet.'/style.css" />' . "\n</head>\n<body class=\"tableb\">\n<h1>" . $header . "</h1>\n<div style=\"padding: 5px;\">\n" . $text . "\n".$close_link."\n</div>\n</body>\n</html>";
+}
+
+print $string;
 ?>
\ No newline at end of file
diff -x .svn -aruN 1.4.24.src/docs/style.css 1.4.25.src/docs/style.css
--- 1.4.24.src/docs/style.css	2009-05-21 15:03:09.000000000 -0500
+++ 1.4.25.src/docs/style.css	2009-05-26 11:25:48.000000000 -0500
@@ -1,436 +1,436 @@
-/*************************
-  Coppermine Photo Gallery
-  ************************
-  Copyright (c) 2003-2009 Coppermine Dev Team
-  v1.1 originally written by Gregory DEMAR
-
-  This program is free software; you can redistribute it and/or modify
-  it under the terms of the GNU General Public License version 3
-  as published by the Free Software Foundation.
-
-  ********************************************
-  Coppermine version: 1.4.24
-  $HeadURL: https://coppermine.svn.sourceforge.net/svnroot/coppermine/trunk/cpg1.4.x/docs/style.css $
-  $Revision: 5969 $
-  $Author: gaugau $
-  $Date: 2009-05-21 22:03:33 +0200 (Do, 21 Mai 2009) $
-**********************************************/
-
-body {
-        font-size: .9em;
-        background: #F7F7F7;
-        margin: 10px 20px;
-        color: black;
-        font-family: Verdana, Arial, Helvetica, sans-serif;
-}
-
-h1 {
-        font-weight: bolder;
-        font-size: 1.8em;
-        color: #0E72A4;
-        font-family: "Trebuchet MS", Verdana, Arial, Helvetica, sans-serif;
-        text-decoration: none;
-        margin:0px;
-}
-
-h2 {
-        font-size: 1.6em;
-        color: #0E72A4;
-        font-family: "Trebuchet MS", Verdana, Arial, Helvetica, sans-serif;
-        text-decoration: none;
-}
-
-h3 {
-        font-weight: bolder;
-        font-size: 1.4em;
-        font-family: Verdana, Arial, Helvetica, sans-serif;
-        text-decoration: none;
-        color: #0E72A4;
-}
-
-h4 {
-        font-weight: bold;
-        font-size: 1.2em;
-        font-family: Verdana, Arial, Helvetica, sans-serif;
-        text-decoration: none;
-        color: #0E72A4;
-}
-
-h1,h2,h3,h4 {
-        margin-top:20px;
-        margin-bottom:5px;
-        padding:0px;
-}
-
-p {
-        font-size: 1em;
-        margin: 10px 10px 0px 0px;
-        font-family: Verdana, Arial, Helvetica, sans-serif;
-}
-
-li {
-        margin: 10px 5px 5px 15px;
-        padding: 0;
-        list-style-position: outside;
-        list-style-type: disc;
-}
-
-li pre {
-        font-size: 12px;
-        margin:3px auto 15px 3px;
-        font-style: normal;
-        font-family: 'Courier New', Courier, monospace;
-        border: 2px solid #999999;
-        padding: 3px;
-        background-color: #E0E0E0;
-        width:90%;
-        overflow:auto;
-        padding: 0 3px 20px 3px;
-}
-
-li span {
-        font-size: 80%;
-        font-weight: lighter;
-}
-
-li h5 {
-        margin: 4px auto 0px;
-}
-
-li h6 {
-        margin: 3px auto 0px;
-}
-
-li.content {
-        padding: 0;
-        margin-top: 0px;
-        list-style-position: outside;
-        margin-bottom: 5px;
-        margin-left: 10px;
-        list-style-type: none;
-}
-
-.vanity {
-        width: 400px;
-        background-color: #E0E0E0;
-        border: 1px solid black;
-        text-align: center;
-}
-
-.vanity img {
-        margin: 3px 15px;
-}
-
-.new {
-        font-weight: bolder;
-        color: red;
-}
-
-.globalNav {
-        top: 135px;
-        text-align: right;
-        margin: 0 0 15px 0;
-        padding: 0;
-        z-index: 10;
-}
-
-.globalNav a {
-        text-align: left;
-        font-family: Arial, Helvetica, sans-serif;
-        font-size: 105%;
-        padding: 1px 7px;
-        color: black;
-        vertical-align: top;
-        line-height: 200%;
-        text-decoration: none;
-        display:inline;
-        border-left: solid gray 2px;
-        white-space: nowrap;
-}
-
-.globalNav a:visited  {/* visited link */
-        color: gray;
-        white-space: nowrap;
-}
-
-.globalNav a:hover  {/* mouse over link */
-        background-color: white;
-        text-decoration: none;
-        color: #CC0000;
-}
-
-.globalNavSelect {
-        font-family: Arial, Helvetica, sans-serif;
-        font-size: 105%;
-        font-weight: bold;
-        background-color: #0E72A4;
-        padding: 1px 3px;
-        color: white;
-        line-height: 190%;
-        font-variant: small-caps;
-        white-space: nowrap;
-        border: solid gray 1px;
-        margin-right: 0;
-        border-bottom: 0;
-}
-
-td {
-        font-size: 12px;
-}
-
-pre {
-        border-right: #999999 1px solid;
-        padding: 5px;
-        border-top: #999999 1px solid;
-        font-size: 12px;
-        margin: 10px 10px 0px 0px;
-        border-left: #999999 1px solid;
-        border-bottom: #999999 1px solid;
-        font-style: normal; font-family: "Courier New", Courier, monospace;
-        background-color: #E0E0E0;
-}
-
-ul.content {
-        padding-right: 0px;
-        padding-left: 0px;
-        padding-bottom: 0px;
-        margin: 5px 5px 0px 0px;
-        padding-top: 0px
-}
-
-ul {
-        padding-right: 0px;
-        padding-left: 0px;
-        padding-bottom: 0px;
-        margin: 10px 0px 10px 5px;
-        padding-top: 0px
-}
-
-#toc a {
-        font-size: .9em;
-}
-
-#toc ul.level1 {
-        padding-right: 0px;
-        padding-left: 0px;
-        padding-bottom: 0px;
-        margin: 10px 5px 0 0;
-        padding-top: 0
-}
-
-ul.level1 {
-        padding-right: 0px;
-        padding-left: 0px;
-        padding-bottom: 0px;
-        margin: 20px 5px 0 0;
-        padding-top: 0;
-}
-
-ul.level2 {
-        margin-top: 0;
-        margin-bottom:0;
-        list-style-type:none;
-        padding: 0;
-        margin-left: 20px;
-}
-
-ul.level3 {
-        margin-top: 0;
-        margin-bottom: 0;
-        list-style-type: none;
-        padding: 0;
-        margin-left: 35px;
-}
-
-ul.level4 {
-        margin-top: 0;
-        margin-bottom: 0;
-        list-style-type: none;
-        padding: 0;
-        margin-left: 50px;
-}
-
-.level1, .level2, .level3, .level4 li {
-        padding-right: 0px;
-        margin-top: 0px;
-        padding-left: 0px;
-        list-style-position: outside;
-        margin-bottom: 5px;
-        padding-bottom: 0px;
-        margin-left: 10px;
-        padding-top: 0px;
-        list-style-type: none;
-}
-
-#manual h1 {
-        border-top: 3px groove gray;
-        padding-top: 10px;
-}
-
-hr {
-        border-right: #000000 0px solid;
-        border-top: #000000 1px solid;
-        border-left: #000000 0px solid;
-        border-bottom: #000000 0px solid;
-        height: 0px;
-        width: 80%;
-        text-align: left;
-}
-
-.navbar {
-        font-weight: bold;
-        font-size: 10px;
-        background: url(/coppermine/themes/pixel-rave-blue100/images/nav-bar-button.gif) #72a5cc no-repeat;
-        vertical-align: middle;
-        color: #A5C6DF;
-        font-family: Arial, Helvetica, sans-serif
-}
-
-a.navbar {
-        display: block;
-        vertical-align: middle;
-        width: 100px;
-        color: #A5C6DF;
-        line-height: 25px;
-        position: relative;
-        height: 25px;
-        text-align: center;
-        text-decoration: none;
-}
-
-a.navbar:hover {
-        color: #ffffff;
-        text-decoration: none;
-}
-
-a.content {
-        text-decoration: none
-}
-a.content:hover {
-        text-decoration: underline
-}
-
-a.external {
-        background: transparent url('pics/link.gif') 100% 50% no-repeat;
-        padding-right: 10px;
-}
-
-.back {
-        margin-top: 10px;
-        font-size: 10px;
-        margin-bottom: 10px;
-}
-
-.important {
-        color: red
-}
-
-.menu1 {
-        font-weight:bolder;
-        font-stretch:expanded;
-        font-size: 1em;
-}
-
-.menu2 {
-        font-weight:bold;
-        font-stretch:normal;
-        font-size: .9em
-}
-
-.menu3 {
-        font-weight:normal;
-        font-stretch:condensed
-}
-
-.code {
-        font-size: 12px;
-        font-style: normal;
-        font-family: "Courier New", Courier, monospace;
-        background-color: #E0E0E0;
-}
-
-.border1 {
-        border-right: #999999 1px solid;
-        padding-right: 5px;
-        border-top: #999999 1px solid;
-        padding-left: 5px; font-size: 12px;
-        padding-bottom: 5px; margin: 10px 10px 0px 0px;
-        border-left: #999999 1px solid;
-        padding-top: 5px;
-        border-bottom: #999999 1px solid;
-}
-
-.quote {
-        color: #000000;
-        background-color: #C3B8D0;
-        border: 1px solid #000000;
-        margin: 1px;
-        padding: 1px;
-        font-size: x-small;
-}
-
-.small {
-        font-size: 9px;
-        margin-top:0px;
-        margin-bottom:0px;
-}
-
-.right_align {
-        text-align:right;
-}
-
-acronym {
-        border-bottom: 1px dashed blue;
-}
-
-#footer {
-        border-top: 1px solid gray;
-        margin-top: 30px;
-        padding-top: 10px;
-}
-
-#footer .prev_next {
-        margin-bottom: 15px;
-}
-
-dt {
-        font-weight: bold;
-        margin-top: 5px;
-        margin-left: 30px;
-}
-
-.maintable {
-        border: 1px solid #0E72A4;
-        background-color: #efefef;
-        margin-top: 1px;
-        margin-bottom: 1px;
-}
-
-.tableh1 {
-        background : #0E72A4 ;
-        color : #FFFFFF;
-        padding-top: 3px;
-        padding-right: 10px;
-        padding-bottom: 3px;
-        padding-left: 10px;
-}
-
-.tableb {
-        background: #EFEFEF ;
-        padding-top: 3px;
-        padding-right: 10px;
-        padding-bottom: 3px;
-        padding-left: 10px;
-}
-
-.tableb_alternate {
-        background: #E4E4E4;
-}
-
-.tablef {
-        background: #D1D7DC;
-        padding-top: 10px;
-        padding-right: 10px;
-        padding-bottom: 10px;
-        padding-left: 10px;
+/*************************
+  Coppermine Photo Gallery
+  ************************
+  Copyright (c) 2003-2009 Coppermine Dev Team
+  v1.1 originally written by Gregory DEMAR
+
+  This program is free software; you can redistribute it and/or modify
+  it under the terms of the GNU General Public License version 3
+  as published by the Free Software Foundation.
+
+  ********************************************
+  Coppermine version: 1.4.25
+  $HeadURL: https://coppermine.svn.sourceforge.net/svnroot/coppermine/trunk/cpg1.4.x/docs/style.css $
+  $Revision: 5997 $
+  $Author: gaugau $
+  $Date: 2009-05-26 08:43:24 +0200 (Di, 26 Mai 2009) $
+**********************************************/
+
+body {
+        font-size: .9em;
+        background: #F7F7F7;
+        margin: 10px 20px;
+        color: black;
+        font-family: Verdana, Arial, Helvetica, sans-serif;
+}
+
+h1 {
+        font-weight: bolder;
+        font-size: 1.8em;
+        color: #0E72A4;
+        font-family: "Trebuchet MS", Verdana, Arial, Helvetica, sans-serif;
+        text-decoration: none;
+        margin:0px;
+}
+
+h2 {
+        font-size: 1.6em;
+        color: #0E72A4;
+        font-family: "Trebuchet MS", Verdana, Arial, Helvetica, sans-serif;
+        text-decoration: none;
+}
+
+h3 {
+        font-weight: bolder;
+        font-size: 1.4em;
+        font-family: Verdana, Arial, Helvetica, sans-serif;
+        text-decoration: none;
+        color: #0E72A4;
+}
+
+h4 {
+        font-weight: bold;
+        font-size: 1.2em;
+        font-family: Verdana, Arial, Helvetica, sans-serif;
+        text-decoration: none;
+        color: #0E72A4;
+}
+
+h1,h2,h3,h4 {
+        margin-top:20px;
+        margin-bottom:5px;
+        padding:0px;
+}
+
+p {
+        font-size: 1em;
+        margin: 10px 10px 0px 0px;
+        font-family: Verdana, Arial, Helvetica, sans-serif;
+}
+
+li {
+        margin: 10px 5px 5px 15px;
+        padding: 0;
+        list-style-position: outside;
+        list-style-type: disc;
+}
+
+li pre {
+        font-size: 12px;
+        margin:3px auto 15px 3px;
+        font-style: normal;
+        font-family: 'Courier New', Courier, monospace;
+        border: 2px solid #999999;
+        padding: 3px;
+        background-color: #E0E0E0;
+        width:90%;
+        overflow:auto;
+        padding: 0 3px 20px 3px;
+}
+
+li span {
+        font-size: 80%;
+        font-weight: lighter;
+}
+
+li h5 {
+        margin: 4px auto 0px;
+}
+
+li h6 {
+        margin: 3px auto 0px;
+}
+
+li.content {
+        padding: 0;
+        margin-top: 0px;
+        list-style-position: outside;
+        margin-bottom: 5px;
+        margin-left: 10px;
+        list-style-type: none;
+}
+
+.vanity {
+        width: 400px;
+        background-color: #E0E0E0;
+        border: 1px solid black;
+        text-align: center;
+}
+
+.vanity img {
+        margin: 3px 15px;
+}
+
+.new {
+        font-weight: bolder;
+        color: red;
+}
+
+.globalNav {
+        top: 135px;
+        text-align: right;
+        margin: 0 0 15px 0;
+        padding: 0;
+        z-index: 10;
+}
+
+.globalNav a {
+        text-align: left;
+        font-family: Arial, Helvetica, sans-serif;
+        font-size: 105%;
+        padding: 1px 7px;
+        color: black;
+        vertical-align: top;
+        line-height: 200%;
+        text-decoration: none;
+        display:inline;
+        border-left: solid gray 2px;
+        white-space: nowrap;
+}
+
+.globalNav a:visited  {/* visited link */
+        color: gray;
+        white-space: nowrap;
+}
+
+.globalNav a:hover  {/* mouse over link */
+        background-color: white;
+        text-decoration: none;
+        color: #CC0000;
+}
+
+.globalNavSelect {
+        font-family: Arial, Helvetica, sans-serif;
+        font-size: 105%;
+        font-weight: bold;
+        background-color: #0E72A4;
+        padding: 1px 3px;
+        color: white;
+        line-height: 190%;
+        font-variant: small-caps;
+        white-space: nowrap;
+        border: solid gray 1px;
+        margin-right: 0;
+        border-bottom: 0;
+}
+
+td {
+        font-size: 12px;
+}
+
+pre {
+        border-right: #999999 1px solid;
+        padding: 5px;
+        border-top: #999999 1px solid;
+        font-size: 12px;
+        margin: 10px 10px 0px 0px;
+        border-left: #999999 1px solid;
+        border-bottom: #999999 1px solid;
+        font-style: normal; font-family: "Courier New", Courier, monospace;
+        background-color: #E0E0E0;
+}
+
+ul.content {
+        padding-right: 0px;
+        padding-left: 0px;
+        padding-bottom: 0px;
+        margin: 5px 5px 0px 0px;
+        padding-top: 0px
+}
+
+ul {
+        padding-right: 0px;
+        padding-left: 0px;
+        padding-bottom: 0px;
+        margin: 10px 0px 10px 5px;
+        padding-top: 0px
+}
+
+#toc a {
+        font-size: .9em;
+}
+
+#toc ul.level1 {
+        padding-right: 0px;
+        padding-left: 0px;
+        padding-bottom: 0px;
+        margin: 10px 5px 0 0;
+        padding-top: 0
+}
+
+ul.level1 {
+        padding-right: 0px;
+        padding-left: 0px;
+        padding-bottom: 0px;
+        margin: 20px 5px 0 0;
+        padding-top: 0;
+}
+
+ul.level2 {
+        margin-top: 0;
+        margin-bottom:0;
+        list-style-type:none;
+        padding: 0;
+        margin-left: 20px;
+}
+
+ul.level3 {
+        margin-top: 0;
+        margin-bottom: 0;
+        list-style-type: none;
+        padding: 0;
+        margin-left: 35px;
+}
+
+ul.level4 {
+        margin-top: 0;
+        margin-bottom: 0;
+        list-style-type: none;
+        padding: 0;
+        margin-left: 50px;
+}
+
+.level1, .level2, .level3, .level4 li {
+        padding-right: 0px;
+        margin-top: 0px;
+        padding-left: 0px;
+        list-style-position: outside;
+        margin-bottom: 5px;
+        padding-bottom: 0px;
+        margin-left: 10px;
+        padding-top: 0px;
+        list-style-type: none;
+}
+
+#manual h1 {
+        border-top: 3px groove gray;
+        padding-top: 10px;
+}
+
+hr {
+        border-right: #000000 0px solid;
+        border-top: #000000 1px solid;
+        border-left: #000000 0px solid;
+        border-bottom: #000000 0px solid;
+        height: 0px;
+        width: 80%;
+        text-align: left;
+}
+
+.navbar {
+        font-weight: bold;
+        font-size: 10px;
+        background: url(/coppermine/themes/pixel-rave-blue100/images/nav-bar-button.gif) #72a5cc no-repeat;
+        vertical-align: middle;
+        color: #A5C6DF;
+        font-family: Arial, Helvetica, sans-serif
+}
+
+a.navbar {
+        display: block;
+        vertical-align: middle;
+        width: 100px;
+        color: #A5C6DF;
+        line-height: 25px;
+        position: relative;
+        height: 25px;
+        text-align: center;
+        text-decoration: none;
+}
+
+a.navbar:hover {
+        color: #ffffff;
+        text-decoration: none;
+}
+
+a.content {
+        text-decoration: none
+}
+a.content:hover {
+        text-decoration: underline
+}
+
+a.external {
+        background: transparent url('pics/link.gif') 100% 50% no-repeat;
+        padding-right: 10px;
+}
+
+.back {
+        margin-top: 10px;
+        font-size: 10px;
+        margin-bottom: 10px;
+}
+
+.important {
+        color: red
+}
+
+.menu1 {
+        font-weight:bolder;
+        font-stretch:expanded;
+        font-size: 1em;
+}
+
+.menu2 {
+        font-weight:bold;
+        font-stretch:normal;
+        font-size: .9em
+}
+
+.menu3 {
+        font-weight:normal;
+        font-stretch:condensed
+}
+
+.code {
+        font-size: 12px;
+        font-style: normal;
+        font-family: "Courier New", Courier, monospace;
+        background-color: #E0E0E0;
+}
+
+.border1 {
+        border-right: #999999 1px solid;
+        padding-right: 5px;
+        border-top: #999999 1px solid;
+        padding-left: 5px; font-size: 12px;
+        padding-bottom: 5px; margin: 10px 10px 0px 0px;
+        border-left: #999999 1px solid;
+        padding-top: 5px;
+        border-bottom: #999999 1px solid;
+}
+
+.quote {
+        color: #000000;
+        background-color: #C3B8D0;
+        border: 1px solid #000000;
+        margin: 1px;
+        padding: 1px;
+        font-size: x-small;
+}
+
+.small {
+        font-size: 9px;
+        margin-top:0px;
+        margin-bottom:0px;
+}
+
+.right_align {
+        text-align:right;
+}
+
+acronym {
+        border-bottom: 1px dashed blue;
+}
+
+#footer {
+        border-top: 1px solid gray;
+        margin-top: 30px;
+        padding-top: 10px;
+}
+
+#footer .prev_next {
+        margin-bottom: 15px;
+}
+
+dt {
+        font-weight: bold;
+        margin-top: 5px;
+        margin-left: 30px;
+}
+
+.maintable {
+        border: 1px solid #0E72A4;
+        background-color: #efefef;
+        margin-top: 1px;
+        margin-bottom: 1px;
+}
+
+.tableh1 {
+        background : #0E72A4 ;
+        color : #FFFFFF;
+        padding-top: 3px;
+        padding-right: 10px;
+        padding-bottom: 3px;
+        padding-left: 10px;
+}
+
+.tableb {
+        background: #EFEFEF ;
+        padding-top: 3px;
+        padding-right: 10px;
+        padding-bottom: 3px;
+        padding-left: 10px;
+}
+
+.tableb_alternate {
+        background: #E4E4E4;
+}
+
+.tablef {
+        background: #D1D7DC;
+        padding-top: 10px;
+        padding-right: 10px;
+        padding-bottom: 10px;
+        padding-left: 10px;
 }
\ No newline at end of file
diff -x .svn -aruN 1.4.24.src/docs/tester-README.txt 1.4.25.src/docs/tester-README.txt
--- 1.4.24.src/docs/tester-README.txt	2007-11-29 06:55:38.000000000 -0600
+++ 1.4.25.src/docs/tester-README.txt	2007-07-20 10:29:33.000000000 -0500
@@ -1,44 +1,44 @@
-Dear Tester,
-
-Thank you for taking the time to test Coppermine Photo Gallery.
-Please be rough on the program so that we can track down and
-eliminate bugs from our public release of version 1.4.
-
-While testing CPG 1.4, please make certain to note any odd behavior you
-encounter.  This could include typographical errors, misleading instructions,
-or any other out-right error.  If you encounter a major error, please switch
-the debug mode to "on" in the configuration panel and copy the text in the
-debug window.  This will greatly aid the development team in hunting down the
-problem.
-
-Areas to be particularly mindful of:
-
-. Please test every facet of CPG, from the installation on to every feature
-  available (and in as many themes as possible).
-. If you have the ability to test GD, GD2 and ImageMagick, please test all of them.
-. Please attempt to use multiple types of graphics such as JPEG, PNG and GIF (for
-  IM users).
-
-Please report your test results to the testing board at http://coppermine.sourceforge.net/board/viewforum.php?f=19 .
-
-The report format should include:
-
-Server OS
-Web Server Software
-GD, GD2 or ImageMagick Test
-PHP Version
-BB Integration (if any)
-Themes fully tested (by fully tested, we mean as many different features as
-possible using that theme)
-Major Errors
-Client OS and Browser
-Fresh install or upgrade (if yes, from which version of cpg)
-
-Your test results will not merely be used to fix problems but will also be used
-to tout the compatibility of CPG with multiple browsers and OS's.  That is why
-this information is important EVEN IF YOU FIND NOTHING WRONG.
-
-Thanks for your participation and your time in making CPG the premiere
-open-source photo gallery!
-
-Coppermine Development Team
+Dear Tester,
+
+Thank you for taking the time to test Coppermine Photo Gallery.
+Please be rough on the program so that we can track down and
+eliminate bugs from our public release of version 1.4.
+
+While testing CPG 1.4, please make certain to note any odd behavior you
+encounter.  This could include typographical errors, misleading instructions,
+or any other out-right error.  If you encounter a major error, please switch
+the debug mode to "on" in the configuration panel and copy the text in the
+debug window.  This will greatly aid the development team in hunting down the
+problem.
+
+Areas to be particularly mindful of:
+
+. Please test every facet of CPG, from the installation on to every feature
+  available (and in as many themes as possible).
+. If you have the ability to test GD, GD2 and ImageMagick, please test all of them.
+. Please attempt to use multiple types of graphics such as JPEG, PNG and GIF (for
+  IM users).
+
+Please report your test results to the testing board at http://coppermine.sourceforge.net/board/viewforum.php?f=19 .
+
+The report format should include:
+
+Server OS
+Web Server Software
+GD, GD2 or ImageMagick Test
+PHP Version
+BB Integration (if any)
+Themes fully tested (by fully tested, we mean as many different features as
+possible using that theme)
+Major Errors
+Client OS and Browser
+Fresh install or upgrade (if yes, from which version of cpg)
+
+Your test results will not merely be used to fix problems but will also be used
+to tout the compatibility of CPG with multiple browsers and OS's.  That is why
+this information is important EVEN IF YOU FIND NOTHING WRONG.
+
+Thanks for your participation and your time in making CPG the premiere
+open-source photo gallery!
+
+Coppermine Development Team
diff -x .svn -aruN 1.4.24.src/docs/theme/edit_style.html 1.4.25.src/docs/theme/edit_style.html
--- 1.4.24.src/docs/theme/edit_style.html	2007-11-29 06:55:38.000000000 -0600
+++ 1.4.25.src/docs/theme/edit_style.html	2007-11-29 07:55:45.000000000 -0600
@@ -1,142 +1,142 @@
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
-<html>
-<head>
-
-<title>Edit style.css</title>
-<meta http-equiv="Content-Type" content="text/html; charset=us-ascii" />
-<meta name="language" content="en" />
-<meta name="author" content="Coppermine dev team" />
-<meta name="copyright" content="Coppermine dev team" />
-<meta name="description" content="Coppermine Photo Gallery project - Theme Upgrade Documentation" />
-<!-- CVS version info: $Id: edit_style.html 4090 2007-11-29 12:56:01Z gaugau $ -->
-	
-<link rel="stylesheet" type="text/css" href="style.css" />
-<link rel="start" href="index.html" title="Theme Upgrade Home" />
-<link rel="end" href="validation.html" title="Validation" />
-<link rel="prev" href="index.html" title="Theme Upgrade Home" />
-<link rel="next" href="edit_template.html" title="template.html" />
-</head>
-
-<body>
-
-<div class="globalNav">
-	<a 
-	href="index.html">Theme Upgrade Home</a><font
-	class="globalNavSelect">&raquo; style.css</font><a 
-	href="edit_template.html">template.html</a><a 
-	href="edit_theme.html">theme.php</a><a 
-	href="validation.html">Validation</a>
-</div>
-
-<a href="index.html">Previous</a>&nbsp;|&nbsp;<a href="edit_template.html">Next</a>
-<!-- end nav links -->
-
-<h2>Edit style.css</h2>
-
-  <ol>
-    <li>
-      Create a new ID for the "#admin_menu_anim object" 
-
-      <h6>Find:</h6>
-      <pre>.admin_menu a:hover {
-        color: #000000;
-        text-decoration: underline;
-}
-</pre>
-
-      <h6>Add after it:</h6>
-      <pre>td #admin_menu_anim {
-        background-image : url(images/button_bg_anim.gif);
-}
-</pre>
-    </li>
-
-    <li>Copy the file "button_bg_anim.gif" from "themes/classic/images" to the theme's "images" directory.</li>
-    <li>Create a new class for the "thumb_filename" class.
-    <h6>Find:</h6>
-    <pre>.thumb_title {
-        font-weight : bold;
-        font-size: 80%;
-        padding: 2px;
-        display : block;
-}
-    </pre>
-    <h6>Add before it:</h6>
-    <pre>.thumb_filename {
-        font-size: 80%;
-        display: block;
-}
-    </pre>
-    </li>
-
-    <li>
-      Remove the proprietary value "hand" for class ".clickable_option" 
-
-      <h6>Find:</h6>
-      <pre>.clickable_option {
-        border-bottom : 1px dotted blue;
-        cursor : hand;
-}
-</pre>
-
-      <h6>Replace with:</h6>
-      <pre>.clickable_option {
-        border-bottom : 1px dotted blue;
-        cursor : default;
-}
-</pre>
-    </li>
-
-    <li>
-      Add the style information for the vanity roll-over graphics 
-
-      <h6>Insert at the bottom of style.css</h6>
-      <pre>#vanity a {
-        display:block;
-        width:57px;
-        height:20px;
-        margin: 3px 20px;
-}
-#vanity img {border:0}
-#v_php {float:left;background-image:url(../../images/powered-php.gif);}
-#v_php:hover {background-image:url(../../images/h_powered-php.gif);}
-#v_mysql {float:left;background-image:url(../../images/powered-mysql.gif);}
-#v_mysql:hover  {background-image:url(../../images/h_powered-mysql.gif);}
-#v_xhtml {float:right;background-image:url(../../images/valid-xhtml10.gif);}
-#v_xhtml:hover {background-image:url(../../images/h_valid-xhtml10.gif);}
-#v_css {float:right;background-image:url(../../images/valid-css.gif);}
-#v_css:hover{background-image:url(../../images/h_valid-css.gif);}</pre>
-    </li>
-		
-		<li>Add the "catrow_noalb" class. It  is used for rows that do not contain albums and was based on &quot;tableh2&quot;. In order to maintain your themes look simply add it to &quot;tableh2&quot; selector.
-	      <h6>Find:</h6>
-          <pre>.tableh2 {<br />        background: #D1D7DC ;<br />        color : #000000;<br />        padding-top: 3px;<br />        padding-right: 10px;<br />        padding-bottom: 3px;<br />        padding-left: 10px;<br />}</pre>
-          <h6>Replace with:</h6>
-          <pre>.tableh2, .catrow_noalb {<br />        background: #D1D7DC ;<br />        color : #000000;<br />        padding-top: 3px;<br />        padding-right: 10px;<br />        padding-bottom: 3px;<br />        padding-left: 10px;<br />}</pre>
-		</li>
-		<li>Add the &quot;catrow&quot; and &quot;display_media&quot; classes which are both based on &quot;tableb&quot;. &quot;catrow&quot; styles the category rows on the index
-			page and &quot;display_media&quot; styles the background color of the intermediate image on the displayimage page.
-		  <h6>Find:</h6>
-          <pre>.tableb {<br />        background: #EFEFEF ;<br />        padding-top: 3px;<br />        padding-right: 10px;<br />        padding-bottom: 3px;<br />        padding-left: 10px;<br />}</pre>
-          <h6>Replace with:</h6>
-          <pre>.tableb , .display_media , .catrow {<br />        background: #EFEFEF ;<br />        padding-top: 3px;<br />        padding-right: 10px;<br />        padding-bottom: 3px;<br />        padding-left: 10px;<br />}</pre>
-        </li>
-		<li>Validate the style sheet: <a href="http://jigsaw.w3.org/css-validator/">http://jigsaw.w3.org/css-validator</a> 
-
-          <h6>Make changes as necessary.</h6>
-		</li>
-  </ol>
-<div id="footer" style="border-top: 1px solid gray; margin-top: 30px; padding-top: 10px;">
-	<a href="index.html">Previous</a>&nbsp;|&nbsp;<a href="edit_template.html">Next</a>
-	<div class="globalNav">
-		<a 
-		href="index.html">Theme Upgrade Home</a><font
-		class="globalNavSelect">&raquo; style.css</font><a 
-		href="edit_template.html">template.html</a><a 
-		href="edit_theme.html">theme.php</a><a 
-		href="validation.html">Validation</a>
-	</div>
-	<!-- end nav links -->
-</div>
-</body>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html>
+<head>
+
+<title>Edit style.css</title>
+<meta http-equiv="Content-Type" content="text/html; charset=us-ascii" />
+<meta name="language" content="en" />
+<meta name="author" content="Coppermine dev team" />
+<meta name="copyright" content="Coppermine dev team" />
+<meta name="description" content="Coppermine Photo Gallery project - Theme Upgrade Documentation" />
+<!-- CVS version info: $Id: edit_style.html 4090 2007-11-29 12:56:01Z gaugau $ -->
+	
+<link rel="stylesheet" type="text/css" href="style.css" />
+<link rel="start" href="index.html" title="Theme Upgrade Home" />
+<link rel="end" href="validation.html" title="Validation" />
+<link rel="prev" href="index.html" title="Theme Upgrade Home" />
+<link rel="next" href="edit_template.html" title="template.html" />
+</head>
+
+<body>
+
+<div class="globalNav">
+	<a 
+	href="index.html">Theme Upgrade Home</a><font
+	class="globalNavSelect">&raquo; style.css</font><a 
+	href="edit_template.html">template.html</a><a 
+	href="edit_theme.html">theme.php</a><a 
+	href="validation.html">Validation</a>
+</div>
+
+<a href="index.html">Previous</a>&nbsp;|&nbsp;<a href="edit_template.html">Next</a>
+<!-- end nav links -->
+
+<h2>Edit style.css</h2>
+
+  <ol>
+    <li>
+      Create a new ID for the "#admin_menu_anim object" 
+
+      <h6>Find:</h6>
+      <pre>.admin_menu a:hover {
+        color: #000000;
+        text-decoration: underline;
+}
+</pre>
+
+      <h6>Add after it:</h6>
+      <pre>td #admin_menu_anim {
+        background-image : url(images/button_bg_anim.gif);
+}
+</pre>
+    </li>
+
+    <li>Copy the file "button_bg_anim.gif" from "themes/classic/images" to the theme's "images" directory.</li>
+    <li>Create a new class for the "thumb_filename" class.
+    <h6>Find:</h6>
+    <pre>.thumb_title {
+        font-weight : bold;
+        font-size: 80%;
+        padding: 2px;
+        display : block;
+}
+    </pre>
+    <h6>Add before it:</h6>
+    <pre>.thumb_filename {
+        font-size: 80%;
+        display: block;
+}
+    </pre>
+    </li>
+
+    <li>
+      Remove the proprietary value "hand" for class ".clickable_option" 
+
+      <h6>Find:</h6>
+      <pre>.clickable_option {
+        border-bottom : 1px dotted blue;
+        cursor : hand;
+}
+</pre>
+
+      <h6>Replace with:</h6>
+      <pre>.clickable_option {
+        border-bottom : 1px dotted blue;
+        cursor : default;
+}
+</pre>
+    </li>
+
+    <li>
+      Add the style information for the vanity roll-over graphics 
+
+      <h6>Insert at the bottom of style.css</h6>
+      <pre>#vanity a {
+        display:block;
+        width:57px;
+        height:20px;
+        margin: 3px 20px;
+}
+#vanity img {border:0}
+#v_php {float:left;background-image:url(../../images/powered-php.gif);}
+#v_php:hover {background-image:url(../../images/h_powered-php.gif);}
+#v_mysql {float:left;background-image:url(../../images/powered-mysql.gif);}
+#v_mysql:hover  {background-image:url(../../images/h_powered-mysql.gif);}
+#v_xhtml {float:right;background-image:url(../../images/valid-xhtml10.gif);}
+#v_xhtml:hover {background-image:url(../../images/h_valid-xhtml10.gif);}
+#v_css {float:right;background-image:url(../../images/valid-css.gif);}
+#v_css:hover{background-image:url(../../images/h_valid-css.gif);}</pre>
+    </li>
+		
+		<li>Add the "catrow_noalb" class. It  is used for rows that do not contain albums and was based on &quot;tableh2&quot;. In order to maintain your themes look simply add it to &quot;tableh2&quot; selector.
+	      <h6>Find:</h6>
+          <pre>.tableh2 {<br />        background: #D1D7DC ;<br />        color : #000000;<br />        padding-top: 3px;<br />        padding-right: 10px;<br />        padding-bottom: 3px;<br />        padding-left: 10px;<br />}</pre>
+          <h6>Replace with:</h6>
+          <pre>.tableh2, .catrow_noalb {<br />        background: #D1D7DC ;<br />        color : #000000;<br />        padding-top: 3px;<br />        padding-right: 10px;<br />        padding-bottom: 3px;<br />        padding-left: 10px;<br />}</pre>
+		</li>
+		<li>Add the &quot;catrow&quot; and &quot;display_media&quot; classes which are both based on &quot;tableb&quot;. &quot;catrow&quot; styles the category rows on the index
+			page and &quot;display_media&quot; styles the background color of the intermediate image on the displayimage page.
+		  <h6>Find:</h6>
+          <pre>.tableb {<br />        background: #EFEFEF ;<br />        padding-top: 3px;<br />        padding-right: 10px;<br />        padding-bottom: 3px;<br />        padding-left: 10px;<br />}</pre>
+          <h6>Replace with:</h6>
+          <pre>.tableb , .display_media , .catrow {<br />        background: #EFEFEF ;<br />        padding-top: 3px;<br />        padding-right: 10px;<br />        padding-bottom: 3px;<br />        padding-left: 10px;<br />}</pre>
+        </li>
+		<li>Validate the style sheet: <a href="http://jigsaw.w3.org/css-validator/">http://jigsaw.w3.org/css-validator</a> 
+
+          <h6>Make changes as necessary.</h6>
+		</li>
+  </ol>
+<div id="footer" style="border-top: 1px solid gray; margin-top: 30px; padding-top: 10px;">
+	<a href="index.html">Previous</a>&nbsp;|&nbsp;<a href="edit_template.html">Next</a>
+	<div class="globalNav">
+		<a 
+		href="index.html">Theme Upgrade Home</a><font
+		class="globalNavSelect">&raquo; style.css</font><a 
+		href="edit_template.html">template.html</a><a 
+		href="edit_theme.html">theme.php</a><a 
+		href="validation.html">Validation</a>
+	</div>
+	<!-- end nav links -->
+</div>
+</body>
 </html>
\ No newline at end of file
diff -x .svn -aruN 1.4.24.src/docs/theme/edit_template.html 1.4.25.src/docs/theme/edit_template.html
--- 1.4.24.src/docs/theme/edit_template.html	2007-11-29 06:55:38.000000000 -0600
+++ 1.4.25.src/docs/theme/edit_template.html	2007-11-29 07:55:45.000000000 -0600
@@ -1,222 +1,222 @@
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
-<html>
-<head>
-
-<title>Edit template.html</title>
-<meta http-equiv="Content-Type" content="text/html; charset=us-ascii" />
-<meta name="language" content="en" />
-<meta name="author" content="Coppermine dev team" />
-<meta name="copyright" content="Coppermine dev team" />
-<meta name="description" content="Coppermine Photo Gallery project - Theme Upgrade Documentation" />
-<!-- CVS version info: $Id: edit_template.html 4090 2007-11-29 12:56:01Z gaugau $ -->
-
-<link rel="stylesheet" type="text/css" href="style.css" />
-<link rel="start" href="index.html" title="Theme Upgrade Home" />
-<link rel="end" href="validation.html" title="Validation" />
-<link rel="prev" href="edit_style.html" title="style.css" />
-<link rel="next" href="edit_theme.html" title="theme.php" />
-</head>
-
-<body>
-
-<div class="globalNav">
-        <a
-        href="index.html">Theme Upgrade Home</a><a
-        href="edit_style.html">style.css</a><font
-        class="globalNavSelect">&raquo; template.html</font><a
-        href="edit_theme.html">theme.php</a><a
-        href="validation.html">Validation</a>
-</div>
-
-<a href="edit_style.html">Previous</a>&nbsp;|&nbsp;<a href="edit_theme.html">Next</a>
-<!-- end nav links -->
-
-<h2>Edit template.html</h2>
-
-  <ol>
-    <li>
-      Change the <a href="http://www.w3.org/QA/Tips/Doctype">DOCTYPE</a>; Coppermine 1.4.x is XHTML 1.0 Transitional.
-
-      <h6>Find:</h6>
-      <pre>&lt;!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"&gt;
-</pre>
-
-      <h6>Replace with:</h6> <span>(or insert as the first line of template.html if it is missing)</span>
-      <pre>&lt;!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"&gt;
-</pre>
-    </li>
-
-    <li>
-      Coppermine 1.4.1 (or better) officially split the main menu into two menus: SYS_MENU and SUB_MENU.
-
-      <h6>If your theme uses a single menu, find:</h6>
-      <pre>{MAIN_MENU}
-</pre>
-
-      <h6>Replace with:</h6><span>Note: the "&lt;br /&gt;" is for classic your theme may require a different separator.</span>
-      <pre>{SYS_MENU}&lt;br /&gt;{SUB_MENU}
-</pre>
-
-      <h6>If your theme uses two menus, Find:</h6>
-      <pre>{MAIN_MENU1}
-</pre>
-
-      <h6>Replace with:</h6>
-      <pre>{SYS_MENU}
-</pre>
-
-      <h6>Then find:</h6>
-      <pre>{MAIN_MENU2}
-</pre>
-
-      <h6>Replace with:</h6>
-      <pre>{SUB_MENU}
-</pre>
-    </li>
-
-    <li> Choose a place where the vanity graphics
-should be located on your Coppermine pages. Vanity graphics display the
-"Powered by MySQL and PHP, as well as the XHTML and CSS Validation
-banners and link to their respective parties. <p>It is recommended to do this even if you're not planning to
-actually use them as they can be enabled or disabled according to
-whether the theme is defined as XHTML 1.0 Transitional Valid.</p>
-
-      <h6>Below are the vanity icons used in the classic theme:</h6>
-
-      <div class="vanity">
-        <img src="../pics/powered-php.gif" alt="Powered by PHP" height="20" width="57" />
-                                <img src="../pics/powered-mysql.gif" alt="Powered by MySQL" height="20" width="57" />
-                                <img src="../pics/valid-css.gif" alt="Valid CSS" height="20" width="57" />
-                                <img src="../pics/valid-xhtml10.gif" alt="Valid XHTML 1.0" height="20" width="57" />
-      </div>
-
-      <p>Find
-a place anywhere between &lt;body&gt; and &lt;/body&gt; where you want
-the vanity icons to appear. Usually this should go at the bottom of the
-page right before the &lt;/body&gt; tag.</p>
-
-      <h6>Insert the vanity graphics:</h6>
-      <pre>{VANITY}
-</pre>
-    </li>
-
-    <li> Choose a place where the custom header
-and custom footer should be located on your Coppermine pages. It is
-recommended to do this even if you're not planning to actually use them
-as they can be enabled or disabled at any time in the Coppermine
-configuration: <ul>
-        <li>{CUSTOM_HEADER}: Custom PHP header, like anycontent.php but shown on every page.</li>
-
-        <li>{CUSTOM_FOOTER}: Custom PHP footer, like anycontent.php but shown on every page.</li>
-      </ul>
-
-      <p>It's
-recommended to place the custom header immediately following the
-&lt;body&gt; tag and the custom footer immediately before the
-"{VANITY}" token or immediately before the &lt;/body&gt; tag.</p>
-
-      <h6>Insert the custom header:</h6>
-      <pre>{CUSTOM_HEADER}
-</pre>
-
-      <h6>Insert the custom footer:</h6>
-      <pre>{CUSTOM_FOOTER}
-</pre>
-    </li>
-
-    <li>
-      Prepare the template.html for validation by itself.
-
-      <h6>Find:</h6>
-      <pre>&lt;html dir="{LANG_DIR}"&gt;
-</pre>
-
-      <h6>Replace with:</h6>
-      <pre>&lt;!-- &lt;html dir="{LANG_DIR}"&gt; --&gt;
-&lt;html&gt;
-</pre>
-
-      <h6>Find:</h6>
-      <pre>&lt;meta http-equiv="Content-Type" content="text/html; charset={CHARSET}" /&gt;
-</pre>
-
-      <h6>Replace with:</h6>
-      <pre>&lt;!-- &lt;meta http-equiv="Content-Type" content="text/html; charset={CHARSET}" /&gt; --&gt;
-</pre>
-
-      <h6>Find:</h6>
-      <pre>{META}
-</pre>
-
-      <h6>Replace with:</h6>
-      <pre>&lt;!-- {META} --&gt;
-</pre>
-    </li>
-
-    <li>
-      Validate the template.html: <a href="http://validator.w3.org/">http://validator.w3.org</a>
-
-      <h6>Common Errors:</h6>
-
-      <ul>
-        <li>Missing &lt;head&gt; or &lt;/head&gt; elements; Insert them in the proper place.</li>
-
-        <li>Tables nested inside of &lt;span&gt;&lt;/span&gt; elements; switch to &lt;div&gt;&lt;/div&gt; instead.</li>
-
-        <li>Table
-cells using the depreciated background property "&lt;td background=";
-use inline styles: "&lt;td style="background-image:url(...);"&gt;"</li>
-
-        <li>Duplicate
-"id=" fields; The "id" field is supposed to be unique because it is
-used as a javascript selector as well as a CSS selector; Eliminate the
-duplicate values</li>
-      </ul>
-
-      <h6>Make other changes as necessary.</h6>
-    </li>
-
-    <li>
-      Prepare template.html to be used as a Coppermine template after validation.
-
-      <h6>Find:</h6>
-      <pre>&lt;!-- &lt;html dir="{LANG_DIR}"&gt; --&gt;
-&lt;html&gt;
-</pre>
-
-      <h6>Replace with:</h6>
-      <pre>&lt;html dir="{LANG_DIR}"&gt;
-</pre>
-
-      <h6>Find:</h6>
-      <pre>&lt;!-- &lt;meta http-equiv="Content-Type" content="text/html; charset={CHARSET}" /&gt; --&gt;
-</pre>
-
-      <h6>Replace with:</h6>
-      <pre> &lt;meta http-equiv="Content-Type" content="text/html; charset={CHARSET}" /&gt;
-</pre>
-
-      <h6>Find:</h6>
-      <pre>&lt;!-- {META} --&gt;
-</pre>
-
-      <h6>Replace with</h6>
-      <pre>{META}
-</pre>
-    </li>
-  </ol>
-
-<div id="footer">
-        <a href="edit_style.html">Previous</a>&nbsp;|&nbsp;<a href="edit_theme.html">Next</a>
-        <div class="globalNav">
-                <a
-                href="index.html">Theme Upgrade Home</a><a
-                href="edit_style.html">style.css</a><font
-                class="globalNavSelect">&raquo; template.html</font><a
-                href="edit_theme.html">theme.php</a><a
-                href="validation.html">Validation</a>
-        </div>
-        <!-- end nav links -->
-</div>
-</body>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html>
+<head>
+
+<title>Edit template.html</title>
+<meta http-equiv="Content-Type" content="text/html; charset=us-ascii" />
+<meta name="language" content="en" />
+<meta name="author" content="Coppermine dev team" />
+<meta name="copyright" content="Coppermine dev team" />
+<meta name="description" content="Coppermine Photo Gallery project - Theme Upgrade Documentation" />
+<!-- CVS version info: $Id: edit_template.html 4090 2007-11-29 12:56:01Z gaugau $ -->
+
+<link rel="stylesheet" type="text/css" href="style.css" />
+<link rel="start" href="index.html" title="Theme Upgrade Home" />
+<link rel="end" href="validation.html" title="Validation" />
+<link rel="prev" href="edit_style.html" title="style.css" />
+<link rel="next" href="edit_theme.html" title="theme.php" />
+</head>
+
+<body>
+
+<div class="globalNav">
+        <a
+        href="index.html">Theme Upgrade Home</a><a
+        href="edit_style.html">style.css</a><font
+        class="globalNavSelect">&raquo; template.html</font><a
+        href="edit_theme.html">theme.php</a><a
+        href="validation.html">Validation</a>
+</div>
+
+<a href="edit_style.html">Previous</a>&nbsp;|&nbsp;<a href="edit_theme.html">Next</a>
+<!-- end nav links -->
+
+<h2>Edit template.html</h2>
+
+  <ol>
+    <li>
+      Change the <a href="http://www.w3.org/QA/Tips/Doctype">DOCTYPE</a>; Coppermine 1.4.x is XHTML 1.0 Transitional.
+
+      <h6>Find:</h6>
+      <pre>&lt;!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"&gt;
+</pre>
+
+      <h6>Replace with:</h6> <span>(or insert as the first line of template.html if it is missing)</span>
+      <pre>&lt;!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"&gt;
+</pre>
+    </li>
+
+    <li>
+      Coppermine 1.4.1 (or better) officially split the main menu into two menus: SYS_MENU and SUB_MENU.
+
+      <h6>If your theme uses a single menu, find:</h6>
+      <pre>{MAIN_MENU}
+</pre>
+
+      <h6>Replace with:</h6><span>Note: the "&lt;br /&gt;" is for classic your theme may require a different separator.</span>
+      <pre>{SYS_MENU}&lt;br /&gt;{SUB_MENU}
+</pre>
+
+      <h6>If your theme uses two menus, Find:</h6>
+      <pre>{MAIN_MENU1}
+</pre>
+
+      <h6>Replace with:</h6>
+      <pre>{SYS_MENU}
+</pre>
+
+      <h6>Then find:</h6>
+      <pre>{MAIN_MENU2}
+</pre>
+
+      <h6>Replace with:</h6>
+      <pre>{SUB_MENU}
+</pre>
+    </li>
+
+    <li> Choose a place where the vanity graphics
+should be located on your Coppermine pages. Vanity graphics display the
+"Powered by MySQL and PHP, as well as the XHTML and CSS Validation
+banners and link to their respective parties. <p>It is recommended to do this even if you're not planning to
+actually use them as they can be enabled or disabled according to
+whether the theme is defined as XHTML 1.0 Transitional Valid.</p>
+
+      <h6>Below are the vanity icons used in the classic theme:</h6>
+
+      <div class="vanity">
+        <img src="../pics/powered-php.gif" alt="Powered by PHP" height="20" width="57" />
+                                <img src="../pics/powered-mysql.gif" alt="Powered by MySQL" height="20" width="57" />
+                                <img src="../pics/valid-css.gif" alt="Valid CSS" height="20" width="57" />
+                                <img src="../pics/valid-xhtml10.gif" alt="Valid XHTML 1.0" height="20" width="57" />
+      </div>
+
+      <p>Find
+a place anywhere between &lt;body&gt; and &lt;/body&gt; where you want
+the vanity icons to appear. Usually this should go at the bottom of the
+page right before the &lt;/body&gt; tag.</p>
+
+      <h6>Insert the vanity graphics:</h6>
+      <pre>{VANITY}
+</pre>
+    </li>
+
+    <li> Choose a place where the custom header
+and custom footer should be located on your Coppermine pages. It is
+recommended to do this even if you're not planning to actually use them
+as they can be enabled or disabled at any time in the Coppermine
+configuration: <ul>
+        <li>{CUSTOM_HEADER}: Custom PHP header, like anycontent.php but shown on every page.</li>
+
+        <li>{CUSTOM_FOOTER}: Custom PHP footer, like anycontent.php but shown on every page.</li>
+      </ul>
+
+      <p>It's
+recommended to place the custom header immediately following the
+&lt;body&gt; tag and the custom footer immediately before the
+"{VANITY}" token or immediately before the &lt;/body&gt; tag.</p>
+
+      <h6>Insert the custom header:</h6>
+      <pre>{CUSTOM_HEADER}
+</pre>
+
+      <h6>Insert the custom footer:</h6>
+      <pre>{CUSTOM_FOOTER}
+</pre>
+    </li>
+
+    <li>
+      Prepare the template.html for validation by itself.
+
+      <h6>Find:</h6>
+      <pre>&lt;html dir="{LANG_DIR}"&gt;
+</pre>
+
+      <h6>Replace with:</h6>
+      <pre>&lt;!-- &lt;html dir="{LANG_DIR}"&gt; --&gt;
+&lt;html&gt;
+</pre>
+
+      <h6>Find:</h6>
+      <pre>&lt;meta http-equiv="Content-Type" content="text/html; charset={CHARSET}" /&gt;
+</pre>
+
+      <h6>Replace with:</h6>
+      <pre>&lt;!-- &lt;meta http-equiv="Content-Type" content="text/html; charset={CHARSET}" /&gt; --&gt;
+</pre>
+
+      <h6>Find:</h6>
+      <pre>{META}
+</pre>
+
+      <h6>Replace with:</h6>
+      <pre>&lt;!-- {META} --&gt;
+</pre>
+    </li>
+
+    <li>
+      Validate the template.html: <a href="http://validator.w3.org/">http://validator.w3.org</a>
+
+      <h6>Common Errors:</h6>
+
+      <ul>
+        <li>Missing &lt;head&gt; or &lt;/head&gt; elements; Insert them in the proper place.</li>
+
+        <li>Tables nested inside of &lt;span&gt;&lt;/span&gt; elements; switch to &lt;div&gt;&lt;/div&gt; instead.</li>
+
+        <li>Table
+cells using the depreciated background property "&lt;td background=";
+use inline styles: "&lt;td style="background-image:url(...);"&gt;"</li>
+
+        <li>Duplicate
+"id=" fields; The "id" field is supposed to be unique because it is
+used as a javascript selector as well as a CSS selector; Eliminate the
+duplicate values</li>
+      </ul>
+
+      <h6>Make other changes as necessary.</h6>
+    </li>
+
+    <li>
+      Prepare template.html to be used as a Coppermine template after validation.
+
+      <h6>Find:</h6>
+      <pre>&lt;!-- &lt;html dir="{LANG_DIR}"&gt; --&gt;
+&lt;html&gt;
+</pre>
+
+      <h6>Replace with:</h6>
+      <pre>&lt;html dir="{LANG_DIR}"&gt;
+</pre>
+
+      <h6>Find:</h6>
+      <pre>&lt;!-- &lt;meta http-equiv="Content-Type" content="text/html; charset={CHARSET}" /&gt; --&gt;
+</pre>
+
+      <h6>Replace with:</h6>
+      <pre> &lt;meta http-equiv="Content-Type" content="text/html; charset={CHARSET}" /&gt;
+</pre>
+
+      <h6>Find:</h6>
+      <pre>&lt;!-- {META} --&gt;
+</pre>
+
+      <h6>Replace with</h6>
+      <pre>{META}
+</pre>
+    </li>
+  </ol>
+
+<div id="footer">
+        <a href="edit_style.html">Previous</a>&nbsp;|&nbsp;<a href="edit_theme.html">Next</a>
+        <div class="globalNav">
+                <a
+                href="index.html">Theme Upgrade Home</a><a
+                href="edit_style.html">style.css</a><font
+                class="globalNavSelect">&raquo; template.html</font><a
+                href="edit_theme.html">theme.php</a><a
+                href="validation.html">Validation</a>
+        </div>
+        <!-- end nav links -->
+</div>
+</body>
 </html>
\ No newline at end of file
diff -x .svn -aruN 1.4.24.src/docs/theme/edit_theme.html 1.4.25.src/docs/theme/edit_theme.html
--- 1.4.24.src/docs/theme/edit_theme.html	2009-05-21 15:03:09.000000000 -0500
+++ 1.4.25.src/docs/theme/edit_theme.html	2009-05-26 11:25:48.000000000 -0500
@@ -1,678 +1,678 @@
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
-<html>
-<head>
-
-<title>Edit theme.php</title>
-<meta http-equiv="Content-Type" content="text/html; charset=us-ascii" />
-<meta name="language" content="en" />
-<meta name="author" content="Coppermine dev team" />
-<meta name="copyright" content="Coppermine dev team" />
-<meta name="description" content="Coppermine Photo Gallery project - Theme Upgrade Documentation" />
-<!-- CVS version info: $Id: edit_theme.html 5969 2009-05-21 20:03:33Z gaugau $ -->
-
-<link rel="stylesheet" type="text/css" href="style.css" />
-<link rel="start" href="index.html" title="Theme Upgrade Home" />
-<link rel="end" href="validation.html" title="Validation" />
-<link rel="prev" href="edit_template.html" title="template.html" />
-<link rel="next" href="validation.html" title="Validation" />
-</head>
-
-<body>
-
-<div class="globalNav">
-        <a
-        href="index.html">Theme Upgrade Home</a><a
-        href="edit_style.html">style.css</a><a
-        href="edit_template.html">template.html</a><font
-        class="globalNavSelect">&raquo; theme.php</font><a
-        href="validation.html">Validation</a>
-</div>
-<a href="edit_template.html">Previous</a>&nbsp;|&nbsp;<a href="validation.html">Next</a>
-<!-- end nav links -->
-
-  <h2>Edit theme.php</h2>
-
-  <p>Many notable things have happened that will influence your modifications to your theme.php.</p>
-
-  <ul>
-    <li>{MAIN_MENU} was officially split into "{SYS_MENU}" and "{SUB_MENU}".</li>
-
-    <li>Both menus can have buttons generated by a button template instead of all buttons being coded into a single menu template.</li>
-
-    <li>Several
-DEFINES were added to redirect graphics so that you don't have to
-modify their respective templates if you are only replacing graphics
-sets</li>
-
-    <li>There are now theme $template_ and theme_ function
-fallbacks which allow you to eliminate many un-modified templates or
-functions from the theme.php. You only need to modify the templates or
-functions that you want to act differently from the default "Classic"
-theme.</li>
-  </ul>
-
-  <p>It is recommended to have access to a
-server that is still running the theme that you are attempting to
-upgrade so that you can see the differences in the 1.3.x theme and the
-new 1.4.x theme.</p>
-
-  <p>The following instructions will have you
-create a theme.php from scratch, only moving over and modifying the
-items that are different than Coppermine's internal theme "Classic".</p>
-
-  <ol>
-    <li>Rename your theme.php to theme.old.php</li>
-
-    <li>
-      Create a new theme.php file in it's place
-
-      <h6>Insert the following:</h6>
-      <pre>&lt;?php
-/*************************
-  Coppermine Photo Gallery
-  ************************
-  Copyright (c) 2003-2008 Dev Team
-  v1.1 originally written by Gregory DEMAR
-
-  This program is free software; you can redistribute it and/or modify
-  it under the terms of the GNU General Public License version 3
-  as published by the Free Software Foundation.
-  
-  ********************************************
-  Coppermine version: 1.4.24
-  $Source:
-  $Revision:
-  $Author:
-  $Date:
-**********************************************/
-
-
-?&gt;
-</pre>
-
-      <p>You now have a functional theme.</p>
-    </li>
-
-    <li>
-      Everything from this point forward should be added between these two lines:
-      <pre>**********************************************/
-
-
-?&gt;
-</pre>
-    </li>
-
-    <li>
-      Evaluate the available defines and add them to your theme.php
-
-      <ul>
-        <li>
-          define('THEME_HAS_RATING_GRAPHICS', 1);
-
-          <p>The location for the ratings graphics will be directed to the themes images folder.</p>
-
-          <ul>
-            <li>RUBBISH : images/rating0.gif</li>
-
-            <li>POOR : images/rating1.gif</li>
-
-            <li>FAIR : images/rating2.gif</li>
-
-            <li>GOOD : images/rating3.gif</li>
-
-            <li>EXCELLENT : images/rating4.gif</li>
-
-            <li>GREAT : images/rating5.gif</li>
-          </ul>
-
-          <h6>if your theme's images folder contain these filenames insert the define</h6>
-          <pre>define('THEME_HAS_RATING_GRAPHICS', 1);
-</pre>
-        </li>
-
-        <li>
-          define('THEME_HAS_NAVBAR_GRAPHICS', 1);
-
-          <p>The location for the navbar graphics will be directed to the themes images folder.</p>
-
-          <ul>
-            <li>Back to thumbnails : images/thumbnails.gif</li>
-
-            <li>Picture Information : images/info.gif</li>
-
-            <li>Slideshow : images/slideshow.gif</li>
-
-            <li>Report to admin : images/report.gif <span class="new">*NEW*</span></li>
-
-            <li>Ecard : images/ecard.gif</li>
-
-            <li>Previous : images/prev.gif</li>
-
-            <li>Next : images/next.gif</li>
-          </ul>
-
-          <p>If
-you have some of these graphics it could be that the original author
-did not keep the same names; you will need to rename the graphics to
-conform to the define, or you will need to modify the navbar template
-directly.</p>
-
-          <h6>if your theme's images folder contain these filenames insert the define</h6>
-          <pre>define('THEME_HAS_NAVBAR_GRAPHICS', 1);
-</pre>
-
-          <h6>Copy classic's report.gif or create a new report.gif for your theme if you set the define</h6>
-        </li>
-
-        <li>
-          define('THEME_HAS_FILM_STRIP_GRAPHIC', 1);
-
-            <p>The location for the film strip graphic will be directed to the themes images folder.</p>
-
-          <ul>
-            <li>tile : images/tile.gif</li>
-          </ul>
-
-          <p>This
-define specifies a single tile to be used for both locations.</p>
-
-          <h6>if your theme's images folder contains the above filename insert this define</h6>
-          <pre>define('THEME_HAS_FILM_STRIP_GRAPHIC', 1);
-</pre>
-        </li>
-<li>
-          define('THEME_HAS_FILM_STRIP_GRAPHICS', 1);
-
-          <p>The location for the film strip graphics will be directed to the themes images folder.</p>
-
-          <ul>
-            <li>tile on the top : images/tile1.gif <span class="new">*NEW*</span></li>
-
-            <li>tile on the bottom : images/tile2.gif <span class="new">*NEW*</span></li>
-          </ul>
-
-          <p>This
-define specifies TWO tiles. </p>
-
-          <h6>if your theme's images folder contains these filenames insert this define</h6>
-          <pre>define('THEME_HAS_FILM_STRIP_GRAPHICS', 1);
-</pre>
-        </li>
-
-        <li>
-          define('THEME_IS_XHTML10_TRANSITIONAL',1);
-
-          <p>If
-the theme is defined as XHTML10_TRANSITIONAL the VANITY footer will be
-enabled. You shouldn't enable this until you've been able to follow the
-validation methodology discussed later in this document.</p>
-
-          <h6>if your theme has passed the validation methodology insert this define:</h6>
-          <pre>define('THEME_IS_XHTML10_TRANSITIONAL',1);
-</pre>
-        </li>
-
-        <li>
-          define('THEME_HAS_NO_SYS_MENU_BUTTONS', 1);
-
-          <p>When
-present the system won't attempt to replace the token {BUTTONS} in the
-SYS_MENU template. The entire block needs to be present.</p>
-
-          <p>Only set this after you determine you can't use the buttons template!</p>
-
-          <h6>If you can't use the SYS_MENU buttons template insert this define:</h6>
-          <pre>define('THEME_HAS_NO_SYS_MENU_BUTTONS', 1);
-</pre>
-
-          <h6>if you have set the define your theme.php will
-need to set the "$template_sys_menu", this may be in your theme.old.php
-as part of "$template_main_menu" or all of "$template_main_menu1".</h6>
-        </li>
-
-        <li>
-          define('THEME_HAS_NO_SUB_MENU_BUTTONS', 1);
-
-          <p>When present the system won't attempt to replace {BUTTONS} in the SUB_MENU template The entire block needs to be present.</p>
-
-          <p>Only set this after you determine you can't use the buttons template!</p>
-
-          <h6>If you can't use the SUB_MENU buttons template insert this define:</h6>
-          <pre>define('THEME_HAS_NO_SUB_MENU_BUTTONS', 1);
-</pre>
-
-          <h6>if you have set the define your theme.php will
-need to set the "$template_sub_menu", this may be in your theme.old.php
-as part of "$template_main_menu" or all of "$template_main_menu2".</h6>
-        </li>
-      </ul>
-    </li>
-
-    <li>Take stock of what you have so far, test your theme.</li>
-
-    <li>
-      Changing the menu item separator
-
-      <p>Classic uses a "::" separator between each menu option that you can override by modifying the "$template_sys_menu_spacer"</p>
-      <pre>// HTML template for template sys_menu spacer
-$template_sys_menu_spacer ="::";
-</pre>
-
-      <h6>Insert into your theme.php and modify to suit</h6>
-
-      <p>The sub menu templates are automatically inherited from sys menu's and you override them in exactly the same way</p>
-
-      <h5>Examples:</h5>
-
-      <ul>
-        <li>Water_Drop</li>
-
-        <li>Fruity</li>
-
-        <li>Eyeball</li>
-      </ul>
-    </li>
-
-    <li>
-      If you need a separator before the first and after the last buttons you can use this example from "MAC_OX_X"
-
-      <p>"$template_sys_menu_spacer" and "$template_sub_menu_spacer" are only rendered BETWEEN active elements.</p>
-
-      <h6>Insert into your theme.php and modify to suit</h6>
-      <pre>// HTML template for sys_menu
-$template_sys_menu = &lt;&lt;&lt;EOT
-         |{BUTTONS}|
-EOT;
-
-// HTML template for template sys_menu spacer
-$template_sys_menu_spacer ="|";
-</pre>
-    </li>
-
-    <li> If your theme requires more than a spacer
-for each button, such as buttons rendered inside of a table you can use
-this example from "Rainy_Day". <p>Copy a button from your theme.old.php from
-$template_main_menu, $template_main_menu1, or $template_main_menu2 and
-put it in between the "&lt;!-- BEGIN {BLOCK_ID} --&gt;" and "&lt;!--
-END {BLOCK_ID} --&gt;" lines and change the "{TOKENS}" as necessary.</p>
-
-      <h6>Insert into your theme.php and modify to suit</h6>
-      <pre>// HTML template for sys_menu
-$template_sys_menu = &lt;&lt;&lt;EOT
-  &lt;div class="topmenu"&gt;
-          &lt;table border="0" cellpadding="0" cellspacing="0"&gt;
-                  &lt;tr&gt;
-  {BUTTONS}
-                  &lt;/tr&gt;
-          &lt;/table&gt;
-  &lt;/div&gt;
-EOT;
-
-// HTML template for template sys_menu buttons
-$template_sys_menu_button = &lt;&lt;&lt;EOT
-&lt;!-- BEGIN {BLOCK_ID} --&gt;
-  &lt;td&gt;&lt;img src="images/spacer.gif" width="5" height="25" border="0" alt="" /&gt;&lt;/td&gt;
-  &lt;td&gt;&lt;img src="themes/rainy_day/images/button1_r1_c1.gif" width="5" height="25" border="0" alt="" /&gt;&lt;/td&gt;
-  &lt;td style="background-image:url(themes/rainy_day/images/button1_r1_c2.gif)"&gt;
-          &lt;a href="{HREF_TGT}" title="{HREF_TITLE}"&gt;{HREF_LNK}&lt;/a&gt;
-  &lt;/td&gt;
-  &lt;td&gt;&lt;img src="themes/rainy_day/images/button1_r1_c3.gif" width="5" height="25" border="0" alt="" /&gt;&lt;/td&gt;
-&lt;!-- END {BLOCK_ID} --&gt;
-EOT;
-</pre>
-    </li>
-
-    <li> If each of your sys_menu buttons need to
-be rendered differently and you can't easily use the button template
-you can disable it and include the entire block. <p>Define 'THEME_HAS_NO_SYS_MENU_BUTTONS' and include a "$template_sys_menu" template.</p>
-
-      <h6>Insert this define</h6>
-      <pre>define('THEME_HAS_NO_SYS_MENU_BUTTONS', 1);
-</pre>
-
-      <p>Copy the correct portion of "$template_main_menu" or
-"$template_main_menu1" from your theme.old.php as in this example from
-"Hardwired"</p>
-
-      <h6>Verify that your template includes all of the following {TOKENS}, and rename the template to "$template_sys_menu"</h6>
-      <pre>// HTML template for sys menu
-$template_sys_menu = &lt;&lt;&lt;EOT
-
-                        &lt;table border="0" cellpadding="0" cellspacing="0"&gt;
-                                &lt;tr&gt;
-&lt;!-- BEGIN home --&gt;
-                                        &lt;td&gt;&lt;img name="spacer" src="images/spacer.gif" width="5" height="25" border="0" alt="" /&gt;&lt;/td&gt;
-                                        &lt;td&gt;&lt;img name="buttonleftmy" src="themes/hardwired/images/buttonleftmy.gif" width="17" height="25" border="0" alt="" /&gt;&lt;/td&gt;
-                                        &lt;td style="background: url(themes/hardwired/images/buttoncenter.gif);"&gt;
-                                                &lt;a href="{HOME_TGT}" title="{HOME_TITLE}"&gt;{HOME_LNK}&lt;/a&gt;
-                                        &lt;/td&gt;
-                                        &lt;td&gt;&lt;img name="buttonright" src="themes/hardwired/images/buttonright.gif" width="7" height="25" border="0"  alt="" /&gt;&lt;/td&gt;
-&lt;!-- END home --&gt;
-&lt;!-- BEGIN my_gallery --&gt;
-                                        &lt;td&gt;&lt;img name="spacer" src="images/spacer.gif" width="5" height="25" border="0" alt="" /&gt;&lt;/td&gt;
-                                        &lt;td&gt;&lt;img name="buttonleftmy" src="themes/hardwired/images/buttonleftmy.gif" width="17" height="25" border="0" alt="" /&gt;&lt;/td&gt;
-                                        &lt;td style="background: url(themes/hardwired/images/buttoncenter.gif);"&gt;
-                                                &lt;a href="{MY_GAL_TGT}" title="{MY_GAL_TITLE}"&gt;{MY_GAL_LNK}&lt;/a&gt;
-                                        &lt;/td&gt;
-                                        &lt;td&gt;&lt;img name="buttonright" src="themes/hardwired/images/buttonright.gif" width="7" height="25" border="0"  alt="" /&gt;&lt;/td&gt;
-&lt;!-- END my_gallery --&gt;
-&lt;!-- BEGIN allow_memberlist --&gt;
-                                        &lt;td&gt;&lt;img name="spacer" src="images/spacer.gif" width="5" height="25" border="0" alt="" /&gt;&lt;/td&gt;
-                                        &lt;td&gt;&lt;img name="buttonleft" src="themes/hardwired/images/buttonleftmemb.gif" width="17" height="25" border="0" alt="" /&gt;&lt;/td&gt;
-                                        &lt;td style="background: url(themes/hardwired/images/buttoncenter.gif);"&gt;
-                                                &lt;a href="{MEMBERLIST_TGT}" title="{MEMBERLIST_TITLE}"&gt;{MEMBERLIST_LNK}&lt;/a&gt;
-                                        &lt;/td&gt;
-                                        &lt;td&gt;&lt;img name="buttonright" src="themes/hardwired/images/buttonright.gif" width="7" height="25" border="0"  alt="" /&gt;&lt;/td&gt;
-&lt;!-- END allow_memberlist --&gt;
-&lt;!-- BEGIN my_profile --&gt;
-                                        &lt;td&gt;&lt;img name="spacer" src="images/spacer.gif" width="5" height="25" border="0" alt="" /&gt;&lt;/td&gt;
-                                        &lt;td&gt;&lt;img name="buttonleft" src="themes/hardwired/images/buttonleft.gif" width="17" height="25" border="0" alt="" /&gt;&lt;/td&gt;
-                                        &lt;td style="background: url(themes/hardwired/images/buttoncenter.gif);"&gt;
-                                                &lt;a href="{MY_PROF_TGT}" title="{MY_PROF_LNK}"&gt;{MY_PROF_LNK}&lt;/a&gt;
-                                        &lt;/td&gt;
-                                        &lt;td&gt;&lt;img name="buttonright" src="themes/hardwired/images/buttonright.gif" width="7" height="25" border="0"  alt="" /&gt;&lt;/td&gt;
-&lt;!-- END my_profile --&gt;
-&lt;!-- BEGIN faq --&gt;
-                                        &lt;td&gt;&lt;img name="spacer" src="images/spacer.gif" width="5" height="25" border="0" alt="" /&gt;&lt;/td&gt;
-                                        &lt;td&gt;&lt;img name="buttonleft" src="themes/hardwired/images/buttonleftfaq.gif" width="17" height="25" border="0" alt="" /&gt;&lt;/td&gt;
-                                        &lt;td style="background: url(themes/hardwired/images/buttoncenter.gif);"&gt;
-                                                &lt;a href="{FAQ_TGT}" title="{FAQ_TITLE}"&gt;{FAQ_LNK}&lt;/a&gt;
-                                        &lt;/td&gt;
-                                        &lt;td&gt;&lt;img name="buttonright" src="themes/hardwired/images/buttonright.gif" width="7" height="25" border="0"  alt="" /&gt;&lt;/td&gt;
-&lt;!-- END faq --&gt;
-&lt;!-- BEGIN enter_admin_mode --&gt;
-                                        &lt;td&gt;&lt;img name="spacer" src="images/spacer.gif" width="5" height="25" border="0" alt="" /&gt;&lt;/td&gt;
-                                        &lt;td&gt;&lt;img name="buttonleftad" src="themes/hardwired/images/buttonleftad.gif" width="17" height="25" border="0" alt="" /&gt;&lt;/td&gt;
-                                        &lt;td style="background: url(themes/hardwired/images/buttoncenter.gif);"&gt;
-                                                &lt;a href="{ADM_MODE_TGT}" title="{ADM_MODE_TITLE}"&gt;{ADM_MODE_LNK}&lt;/a&gt;
-                                        &lt;/td&gt;
-                                        &lt;td&gt;&lt;img name="buttonright" src="themes/hardwired/images/buttonright.gif" width="7" height="25" border="0"  alt="" /&gt;&lt;/td&gt;
-&lt;!-- END enter_admin_mode --&gt;
-&lt;!-- BEGIN leave_admin_mode --&gt;
-                                        &lt;td&gt;&lt;img name="spacer" src="images/spacer.gif" width="5" height="25" border="0" alt="" /&gt;&lt;/td&gt;
-                                        &lt;td&gt;&lt;img name="buttonleftad" src="themes/hardwired/images/buttonleftad.gif" width="17" height="25" border="0" alt="" /&gt;&lt;/td&gt;
-                                        &lt;td style="background: url(themes/hardwired/images/buttoncenter.gif);"&gt;
-                                                &lt;a href="{USR_MODE_TGT}" title="{USR_MODE_TITLE}"&gt;{USR_MODE_LNK}&lt;/a&gt;
-                                        &lt;/td&gt;
-                                        &lt;td&gt;&lt;img name="buttonright" src="themes/hardwired/images/buttonright.gif" width="7" height="25" border="0" alt="" /&gt;&lt;/td&gt;
-&lt;!-- END leave_admin_mode --&gt;
-&lt;!-- BEGIN upload_pic --&gt;
-                                        &lt;td&gt;&lt;img name="spacer" src="images/spacer.gif" width="5" height="25" border="0" alt="" /&gt;&lt;/td&gt;
-                                        &lt;td&gt;&lt;img name="buttonleftup" src="themes/hardwired/images/buttonleftup.gif" width="17" height="25" border="0" alt="" /&gt;&lt;/td&gt;
-                                       &lt;td style="background: url(themes/hardwired/images/buttoncenter.gif);"&gt;
-                                                &lt;a href="{UPL_PIC_TGT}" title="{UPL_PIC_TITLE}"&gt;{UPL_PIC_LNK}&lt;/a&gt;
-                                        &lt;/td&gt;
-                                        &lt;td&gt;&lt;img name="buttonright" src="themes/hardwired/images/buttonright.gif" width="7" height="25" border="0"  alt="" /&gt;&lt;/td&gt;
-&lt;!-- END upload_pic --&gt;
-&lt;!-- BEGIN register --&gt;
-                                        &lt;td&gt;&lt;img name="spacer" src="images/spacer.gif" width="5" height="25" border="0" alt="" /&gt;&lt;/td&gt;
-                                        &lt;td&gt;&lt;img name="buttonleft" src="themes/hardwired/images/buttonleft.gif" width="17" height="25" border="0" alt="" /&gt;&lt;/td&gt;
-                                        &lt;td style="background: url(themes/hardwired/images/buttoncenter.gif);"&gt;
-                                                &lt;a href="{REGISTER_TGT}" title="{REGISTER_TITLE}"&gt;{REGISTER_LNK}&lt;/a&gt;
-                                        &lt;/td&gt;
-                                        &lt;td&gt;&lt;img name="buttonright" src="themes/hardwired/images/buttonright.gif" width="7" height="25" border="0"  alt="" /&gt;&lt;/td&gt;
-&lt;!-- END register --&gt;
-&lt;!-- BEGIN login --&gt;
-                                        &lt;td&gt;&lt;img name="spacer" src="images/spacer.gif" width="5" height="25" border="0" alt="" /&gt;&lt;/td&gt;
-                                        &lt;td&gt;&lt;img name="buttonleft" src="themes/hardwired/images/buttonleft.gif" width="17" height="25" border="0" alt="" /&gt;&lt;/td&gt;
-                                       &lt;td style="background: url(themes/hardwired/images/buttoncenter.gif);"&gt;
-                                                &lt;a href="{LOGIN_TGT}" title="{LOGIN_LNK}"&gt;{LOGIN_LNK}&lt;/a&gt;
-                                        &lt;/td&gt;
-                                        &lt;td&gt;&lt;img name="buttonright" src="themes/hardwired/images/buttonright.gif" width="7" height="25" border="0"  alt="" /&gt;&lt;/td&gt;
-&lt;!-- END login --&gt;
-&lt;!-- BEGIN logout --&gt;
-                                        &lt;td&gt;&lt;img name="spacer" src="images/spacer.gif" width="5" height="25" border="0" alt="" /&gt;&lt;/td&gt;
-                                        &lt;td&gt;&lt;img name="buttonleftout" src="themes/hardwired/images/buttonleftout.gif" width="17" height="25" border="0" alt="" /&gt;&lt;/td&gt;
-                                        &lt;td style="background: url(themes/hardwired/images/buttoncenter.gif);"&gt;
-                                                &lt;a href="{LOGOUT_TGT}" title="{LOGOUT_LNK}"&gt;{LOGOUT_LNK}&lt;/a&gt;
-                                        &lt;/td&gt;
-                                        &lt;td&gt;&lt;img name="buttonright" src="themes/hardwired/images/buttonright.gif" width="7" height="25" border="0" alt="" /&gt;&lt;/td&gt;
-&lt;!-- END logout --&gt;
-                                &lt;/tr&gt;
-                        &lt;/table&gt;
-EOT;
-</pre>
-    </li>
-
-    <li> If each of your sub_menu buttons need to
-be rendered differently and you can't easily use the button template
-you can disable it and include the entire block. <p>Define 'THEME_HAS_NO_SUB_MENU_BUTTONS' and include a "$template_sys_menu" template.</p>
-
-      <h6>Insert this define</h6>
-      <pre>define('THEME_HAS_NO_SUB_MENU_BUTTONS', 1);
-</pre>
-
-      <p>Copy the correct portion of "$template_main_menu" or
-"$template_main_menu2" from your theme.old.php as in this example from
-"Hardwired"</p>
-
-      <h6>Verify that your template includes all of the following {TOKENS}, and rename the template to "$template_sub_menu"</h6>
-      <pre>// HTML template for sub menu
-$template_sub_menu = &lt;&lt;&lt;EOT
-
-                        &lt;table border="0" cellpadding="0" cellspacing="0"&gt;
-                                &lt;tr&gt;
-&lt;!-- BEGIN custom_link --&gt;
-                                        &lt;td&gt;&lt;img name=&quot;spacer&quot; src=&quot;images/spacer.gif&quot; width=&quot;5&quot; height=&quot;25&quot; border=&quot;0&quot; alt=&quot;&quot; /&gt;&lt;/td&gt;
-                                        &lt;td&gt;&lt;img name=&quot;buttonleft1&quot; src=&quot;themes/hardwired/images/buttonleft1.gif&quot; width=&quot;7&quot; height=&quot;25&quot; border=&quot;0&quot; alt=&quot;&quot; /&gt;&lt;/td&gt;
-                                        &lt;td style=&quot;background: url(themes/hardwired/images/buttoncenter.gif);&quot;&gt;
-                                                &lt;a href=&quot;{CUSTOM_LNK_TGT}&quot; title=&quot;{CUSTOM_LNK_TITLE}&quot;&gt;{CUSTOM_LNK_LNK}&lt;/a&gt;
-                                        &lt;/td&gt;
-                                        &lt;td&gt;&lt;img name=&quot;buttonright1&quot; src=&quot;themes/hardwired/images/buttonright1.gif&quot; width=&quot;7&quot; height=&quot;25&quot; border=&quot;0&quot; alt=&quot;&quot; /&gt;&lt;/td&gt;
-&lt;!-- END custom_link --&gt;
-&lt;!-- BEGIN album_list --&gt;
-                                        &lt;td&gt;&lt;img name="spacer" src="images/spacer.gif" width="5" height="25" border="0" alt="" /&gt;&lt;/td&gt;
-                                        &lt;td&gt;&lt;img name="buttonleft1" src="themes/hardwired/images/buttonleft1.gif" width="7" height="25" border="0" alt="" /&gt;&lt;/td&gt;
-                                        &lt;td style="background: url(themes/hardwired/images/buttoncenter.gif);"&gt;
-                                                &lt;a href="{ALB_LIST_TGT}" title="{ALB_LIST_TITLE}"&gt;{ALB_LIST_LNK}&lt;/a&gt;
-                                        &lt;/td&gt;
-                                        &lt;td&gt;&lt;img name="buttonright1" src="themes/hardwired/images/buttonright1.gif" width="7" height="25" border="0" alt="" /&gt;&lt;/td&gt;
-&lt;!-- END album_list --&gt;
-                                        &lt;td&gt;&lt;img name="spacer" src="images/spacer.gif" width="5" height="25" border="0" alt="" /&gt;&lt;/td&gt;
-                                        &lt;td&gt;&lt;img name="buttonleft1" src="themes/hardwired/images/buttonleft1.gif" width="7" height="25" border="0" alt="" /&gt;&lt;/td&gt;
-                                       &lt;td style="background: url(themes/hardwired/images/buttoncenter.gif);"&gt;
-                                                &lt;a href="{LASTUP_TGT}" title="{LASTUP_LNK}"&gt;{LASTUP_LNK}&lt;/a&gt;
-                                        &lt;/td&gt;
-                                        &lt;td&gt;&lt;img name="buttonright1" src="themes/hardwired/images/buttonright1.gif" width="7" height="25" border="0" alt="" /&gt;&lt;/td&gt;
-                                        &lt;td&gt;&lt;img name="spacer" src="images/spacer.gif" width="5" height="25" border="0" alt="" /&gt;&lt;/td&gt;
-                                        &lt;td&gt;&lt;img name="buttonleft1" src="themes/hardwired/images/buttonleft1.gif" width="7" height="25" border="0" alt="" /&gt;&lt;/td&gt;
-                                       &lt;td style="background: url(themes/hardwired/images/buttoncenter.gif);"&gt;
-                                                &lt;a href="{LASTCOM_TGT}" title="{LASTCOM_LNK}"&gt;{LASTCOM_LNK}&lt;/a&gt;
-                                        &lt;/td&gt;
-                                        &lt;td&gt;&lt;img name="buttonright1" src="themes/hardwired/images/buttonright1.gif" width="7" height="25" border="0" alt="" /&gt;&lt;/td&gt;
-                                        &lt;td&gt;&lt;img name="spacer" src="images/spacer.gif" width="5" height="25" border="0" alt="" /&gt;&lt;/td&gt;
-                                        &lt;td&gt;&lt;img name="buttonleft1" src="themes/hardwired/images/buttonleft1.gif" width="7" height="25" border="0" alt="" /&gt;&lt;/td&gt;
-                                        &lt;td style="background: url(themes/hardwired/images/buttoncenter.gif);"&gt;
-                                                &lt;a href="{TOPN_TGT}" title="{TOPN_LNK}"&gt;{TOPN_LNK}&lt;/a&gt;
-                                        &lt;/td&gt;
-                                        &lt;td&gt;&lt;img name="buttonright1" src="themes/hardwired/images/buttonright1.gif" width="7" height="25" border="0" alt="" /&gt;&lt;/td&gt;
-                                        &lt;td&gt;&lt;img name="spacer" src="images/spacer.gif" width="5" height="25" border="0" alt="" /&gt;&lt;/td&gt;
-                                        &lt;td&gt;&lt;img name="buttonleft1" src="themes/hardwired/images/buttonleft1.gif" width="7" height="25" border="0" alt="" /&gt;&lt;/td&gt;
-                                        &lt;td style="background: url(themes/hardwired/images/buttoncenter.gif);"&gt;
-                                                &lt;a href="{TOPRATED_TGT}" title="{TOPRATED_LNK}"&gt;{TOPRATED_LNK}&lt;/a&gt;
-                                        &lt;/td&gt;
-                                        &lt;td&gt;&lt;img name="buttonright1" src="themes/hardwired/images/buttonright1.gif" width="7" height="25" border="0" alt="" /&gt;&lt;/td&gt;
-                                        &lt;td&gt;&lt;img name="spacer" src="images/spacer.gif" width="5" height="25" border="0" alt="" /&gt;&lt;/td&gt;
-                                        &lt;td&gt;&lt;img name="buttonleft1" src="themes/hardwired/images/buttonleft1.gif" width="7" height="25" border="0" alt="" /&gt;&lt;/td&gt;
-                                        &lt;td style="background: url(themes/hardwired/images/buttoncenter.gif);"&gt;
-                                                &lt;a href="{FAV_TGT}" title="{FAV_LNK}"&gt;{FAV_LNK}&lt;/a&gt;
-                                        &lt;/td&gt;
-                                        &lt;td&gt;&lt;img name="buttonright1" src="themes/hardwired/images/buttonright1.gif" width="7" height="25" border="0" alt="" /&gt;&lt;/td&gt;
-                                        &lt;td&gt;&lt;img name="spacer" src="images/spacer.gif" width="5" height="25" border="0" alt="" /&gt;&lt;/td&gt;
-                                        &lt;td&gt;&lt;img name="buttonleft1" src="themes/hardwired/images/buttonleft1.gif" width="7" height="25" border="0" alt="" /&gt;&lt;/td&gt;
-                                        &lt;td style="background: url(themes/hardwired/images/buttoncenter.gif);"&gt;
-                                                &lt;a href="{SEARCH_TGT}" title="{SEARCH_LNK}"&gt;{SEARCH_LNK}&lt;/a&gt;
-                                        &lt;/td&gt;
-                                        &lt;td&gt;&lt;img name="buttonright1" src="themes/hardwired/images/buttonright1.gif" width="7" height="25" border="0" alt="" /&gt;&lt;/td&gt;
-                                &lt;/tr&gt;
-                        &lt;/table&gt;
-
-EOT;
-</pre>
-    </li>
-
-    <li>
-      You've reached another milestone in your theme upgrade.
-
-      <p>Take stock of what you have so far, test your theme.</p>
-    </li>
-
-    <li>
-If your theme uses custom starttable and endtable functions they can be
-moved over from theme.php.old as in this example from "MAC_OX_X" <h6>Insert into your theme.php and modify to suit</h6>
-      <pre>// Function to start a 'standard' table
-function starttable($width = '-1', $title = '', $title_colspan = '1')
-{
-    global $CONFIG;
-
-    if ($width == '-1') $width = $CONFIG['picture_table_width'];
-    if ($width == '100%') $width = $CONFIG['main_table_width'];
-    if ($title) {
-        echo &lt;&lt;&lt;EOT
-&lt;!-- Start standard table title --&gt;
-&lt;table align="center" width="$width" cellspacing="0" cellpadding="0" class="maintablea"&gt;
-        &lt;tr&gt;
-                &lt;td&gt;
-                        &lt;table width="100%" cellspacing="0" cellpadding="0" class="tableh1a"&gt;
-                                &lt;tr&gt;
-                                        &lt;td class="tableh1a"&gt;&lt;img src="themes/mac_ox_x/images/tableh1a_bg_left.gif" alt="" /&gt;&lt;/td&gt;
-                                        &lt;td class="tableh1a" style="background-image:url(themes/mac_ox_x/images/tableh1a_bg_middle.gif);" width="100%"&gt;$title&lt;/td&gt;
-                                        &lt;td class="tableh1a"&gt;&lt;img src="themes/mac_ox_x/images/tableh1a_bg_right.gif" alt="" /&gt;&lt;/td&gt;
-                                &lt;/tr&gt;
-                        &lt;/table&gt;
-                &lt;/td&gt;
-        &lt;/tr&gt;
-&lt;/table&gt;
-&lt;!-- Start standard table --&gt;
-&lt;table align="center" width="$width" cellspacing="0" cellpadding="0"&gt;
-  &lt;tr&gt;
-   &lt;td style="background-image:url(themes/mac_ox_x/images/main_table_r1_c1b.gif);" valign="top"&gt;&lt;img name="main_table_r1_c1" src="themes/mac_ox_x/images/main_table_r1_c1.gif" border="0"  alt="" /&gt;&lt;/td&gt;
-        &lt;td width="100%"&gt;&lt;table width="100%" cellspacing="1" cellpadding="0" class="maintableb"&gt;
-
-EOT;
-    } else {
-        echo &lt;&lt;&lt;EOT
-
-&lt;!-- Start standard table --&gt;
-&lt;table align="center" width="$width" cellspacing="0" cellpadding="0"&gt;
-  &lt;tr&gt;
-   &lt;td style="background-image:url(themes/mac_ox_x/images/main_table_r1_c1b.gif);" valign="top"&gt;&lt;img name="main_table_r1_c1" src="themes/mac_ox_x/images/main_table_r1_c1.gif" border="0"  alt="" /&gt;&lt;/td&gt;
-        &lt;td width="100%"&gt;&lt;table width="100%" cellspacing="1" cellpadding="0" class="maintable"&gt;
-
-EOT;
-    }
-}
-
-function endtable()
-{
-    echo &lt;&lt;&lt;EOT
-        &lt;/table&gt;
-   &lt;/td&gt;
-   &lt;td style="background-image:url(themes/mac_ox_x/images/main_table_r1_c3b.gif);" valign="top"&gt;&lt;img name="main_table_r1_c3" src="themes/mac_ox_x/images/main_table_r1_c3.gif" border="0"  alt="" /&gt;&lt;/td&gt;
-  &lt;/tr&gt;
-  &lt;tr&gt;
-   &lt;td&gt;&lt;img name="main_table_r2_c1" src="themes/mac_ox_x/images/main_table_r2_c1.gif" width="10" height="4" border="0"  alt="" /&gt;&lt;/td&gt;
-   &lt;td style="background-image:url(themes/mac_ox_x/images/main_table_r2_c2b.gif);"&gt;&lt;img name="main_table_r2_c2" src="themes/mac_ox_x/images/main_table_r2_c2.gif" border="0"  alt="" /&gt;&lt;/td&gt;
-   &lt;td&gt;&lt;img name="main_table_r2_c3" src="themes/mac_ox_x/images/main_table_r2_c3.gif" width="10" height="4" border="0"  alt="" /&gt;&lt;/td&gt;
-  &lt;/tr&gt;
-&lt;/table&gt;
-&lt;!-- End standard table --&gt;
-
-EOT;
-}
-</pre>
-    </li>
-
-    <li> If you have included custom starttable
-and endtable code the sort options in the thumbnail view may no longer
-fit properly. <p>You can use this example also from "MAC_OX_X" to correct it.</p>
-
-      <h6>Insert into your theme.php and modify to suit</h6>
-      <pre>// HTML template for title row of the thumbnail view (album title + sort options)
-$template_thumb_view_title_row = &lt;&lt;&lt;EOT
-
-                        &lt;table width="100%" cellpadding="0" cellspacing="0"&gt;
-                        &lt;tr&gt;
-                                &lt;td width="100%" class="statlink"&gt;{ALBUM_NAME}&lt;/td&gt;
-                                &lt;td class="sortorder_options" style="font-size: 100%;"&gt;{TITLE}&lt;/td&gt;
-                                &lt;td class="sortorder_options" style="font-size: 100%;"&gt;&lt;span class="statlink"&gt;&lt;a href="thumbnails.php?album={AID}&amp;amp;page={PAGE}&amp;amp;sort=ta" title="{SORT_TA}"&gt;&amp;nbsp;+&amp;nbsp;&lt;/a&gt;&lt;/span&gt;&lt;/td&gt;
-                                &lt;td class="sortorder_options" style="font-size: 100%;"&gt;&lt;span class="statlink"&gt;&lt;a href="thumbnails.php?album={AID}&amp;amp;page={PAGE}&amp;amp;sort=td" title="{SORT_TD}"&gt;&amp;nbsp;-&amp;nbsp;&lt;/a&gt;&lt;/span&gt;&lt;/td&gt;
-                                &lt;td&gt;&amp;nbsp;&amp;nbsp;&lt;/td&gt;
-                                &lt;td class="sortorder_options" style="font-size: 100%;"&gt;{NAME}&lt;/td&gt;
-                                &lt;td class="sortorder_options" style="font-size: 100%;"&gt;&lt;span class="statlink"&gt;&lt;a href="thumbnails.php?album={AID}&amp;amp;page={PAGE}&amp;amp;sort=na" title="{SORT_NA}"&gt;&amp;nbsp;+&amp;nbsp;&lt;/a&gt;&lt;/span&gt;&lt;/td&gt;
-                                &lt;td class="sortorder_options" style="font-size: 100%;"&gt;&lt;span class="statlink"&gt;&lt;a href="thumbnails.php?album={AID}&amp;amp;page={PAGE}&amp;amp;sort=nd" title="{SORT_ND}"&gt;&amp;nbsp;-&amp;nbsp;&lt;/a&gt;&lt;/span&gt;&lt;/td&gt;
-                                &lt;td&gt;&amp;nbsp;&amp;nbsp;&lt;/td&gt;
-                                &lt;td class="sortorder_options" style="font-size: 100%;"&gt;{DATE}&lt;/td&gt;
-                                &lt;td class="sortorder_options" style="font-size: 100%;"&gt;&lt;span class="statlink"&gt;&lt;a href="thumbnails.php?album={AID}&amp;amp;page={PAGE}&amp;amp;sort=da" title="{SORT_DA}"&gt;&amp;nbsp;+&amp;nbsp;&lt;/a&gt;&lt;/span&gt;&lt;/td&gt;
-                                &lt;td class="sortorder_options" style="font-size: 100%;"&gt;&lt;span class="statlink"&gt;&lt;a href="thumbnails.php?album={AID}&amp;amp;page={PAGE}&amp;amp;sort=dd" title="{SORT_DD}"&gt;&amp;nbsp;-&amp;nbsp;&lt;/a&gt;&lt;/span&gt;&lt;/td&gt;
-                                &lt;td&gt;&amp;nbsp;&amp;nbsp;&lt;/td&gt;
-                                &lt;td class="sortorder_options" style="font-size: 100%;"&gt;{POSITION}&lt;/td&gt;
-                                &lt;td class="sortorder_options" style="font-size: 100%;"&gt;&lt;span class="statlink"&gt;&lt;a href="thumbnails.php?album={AID}&amp;amp;page={PAGE}&amp;amp;sort=pa" title="{SORT_PA}"&gt;&amp;nbsp;+&amp;nbsp;&lt;/a&gt;&lt;/span&gt;&lt;/td&gt;
-                                &lt;td class="sortorder_options" style="font-size: 100%;"&gt;&lt;span class="statlink"&gt;&lt;a href="thumbnails.php?album={AID}&amp;amp;page={PAGE}&amp;amp;sort=pd" title="{SORT_PD}"&gt;&amp;nbsp;-&amp;nbsp;&lt;/a&gt;&lt;/span&gt;&lt;/td&gt;
-                        &lt;/tr&gt;
-                        &lt;/table&gt;
-
-EOT;
-</pre>
-    </li>
-
-
-    <li>If your theme modifies $template_display_picture
-                        replace it with $template_display_media
-                          <h6>Find all instances of:</h6>
-                        <pre>$template_display_picture</pre>
-                        <h6>Replace all with:</h6>
-                        <pre>$template_display_media</pre>
-                </li>
-    <li>
-                        If you used a previous $template_display_picture replace tableb with display_media in $template_display_media block
-                          <h6>Find:</h6>
-                        <pre>&lt;td align="center" class="tableb" nowrap="nowrap"&gt;</pre>
-
-                        <h6>Replace with:</h6>
-                        <pre>&lt;td align="center" class="display_media" nowrap="nowrap"&gt;</pre>
-                </li>
-    <li>
-                        If your theme modifies $template_cat_list replace tableh2 with catrow_noalb in the catrow_noalb block
-                          <h6>Find:</h6>
-                        <pre>&lt;!-- BEGIN catrow_noalb --&gt;<br />        &lt;tr&gt;<br />                &lt;td class="tableh2" colspan="3"&gt;&lt;table border="0"&gt;&lt;tr&gt;&lt;td align="left"&gt;{CAT_THUMB}&lt;/td&gt;&lt;td align="left"&gt;&lt;span class="catlink"&gt;&lt;b&gt;{CAT_TITLE}&lt;/b&gt;&lt;/span&gt;{CAT_DESC}&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;&lt;/td&gt;<br />        &lt;/tr&gt;<br />&lt;!-- END catrow_noalb --&gt;</pre>
-                        <h6>Replace with :</h6>
-                        <pre>&lt;!-- BEGIN catrow_noalb --&gt;<br />        &lt;tr&gt;<br />                &lt;td class="catrow_noalb" colspan="3"&gt;&lt;table border="0"&gt;&lt;tr&gt;&lt;td align="left"&gt;{CAT_THUMB}&lt;/td&gt;&lt;td align="left"&gt;&lt;span class="catlink"&gt;&lt;b&gt;{CAT_TITLE}&lt;/b&gt;&lt;/span&gt;{CAT_DESC}&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;&lt;/td&gt;<br />        &lt;/tr&gt;<br />&lt;!-- END catrow_noalb --&gt;</pre>
-                </li>
-    <li>
-                        If your theme modifies $template_cat_list replace tableb with catrow in the catrow block
-                          <h6>Find:</h6>
-                        <pre>&lt;!-- BEGIN catrow --&gt;<br />        &lt;tr&gt;<br />                &lt;td class="tableb" align="left"&gt;&lt;table border="0"&gt;&lt;tr&gt;&lt;td&gt;{CAT_THUMB}&lt;/td&gt;&lt;td&gt;&lt;span class="catlink"&gt;&lt;b&gt;{CAT_TITLE}&lt;/b&gt;&lt;/span&gt;{CAT_DESC}&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;&lt;/td&gt;<br />                &lt;td class="tableb" align="center"&gt;{ALB_COUNT}&lt;/td&gt;<br />                &lt;td class="tableb" align="center"&gt;{PIC_COUNT}&lt;/td&gt;<br />        &lt;/tr&gt;<br />        &lt;tr&gt;<br />            &lt;td class="tableb" colspan="3"&gt;{CAT_ALBUMS}&lt;/td&gt;<br />        &lt;/tr&gt;<br />&lt;!-- END catrow --&gt;</pre>
-                        <h6>Replace with :</h6>
-                        <pre>&lt;!-- BEGIN catrow --&gt;<br />        &lt;tr&gt;<br />                &lt;td class="catrow" align="left"&gt;&lt;table border="0"&gt;&lt;tr&gt;&lt;td&gt;{CAT_THUMB}&lt;/td&gt;&lt;td&gt;&lt;span class="catlink"&gt;&lt;b&gt;{CAT_TITLE}&lt;/b&gt;&lt;/span&gt;{CAT_DESC}&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;&lt;/td&gt;<br />                &lt;td class="catrow" align="center"&gt;{ALB_COUNT}&lt;/td&gt;<br />                &lt;td class="catrow" align="center"&gt;{PIC_COUNT}&lt;/td&gt;<br />        &lt;/tr&gt;<br />        &lt;tr&gt;<br />            &lt;td class="tableb" colspan="3"&gt;{CAT_ALBUMS}&lt;/td&gt;<br />        &lt;/tr&gt;<br />&lt;!-- END catrow --&gt;</pre>
-                </li>
-    <li>For the majority of themes you are now done adding content to your theme.php.
-
-      <p>Take stock of what you have so far, test your theme.</p>
-    </li>
-    <li>
-      For a list of everything that could be modified examine the "sample" theme.
-
-      <p>The "sample" theme found in themes/sample is designed to be a showcase for every themeable function and template used in Coppermine.</p>
-
-      <p>"Hardwired",
-"Eyeball", and "MAC_OX_X" are all good examples of more complicated
-theme designs that you can use as reference in continuing to modify
-your theme.</p>
-    </li>
-  </ol>
-
-<div id="footer" style="border-top: 1px solid gray; margin-top: 30px; padding-top: 10px;">
-        <a href="edit_template.html">Previous</a>&nbsp;|&nbsp;<a href="validation.html">Next</a>
-        <div class="globalNav">
-                <a
-                href="index.html">Theme Upgrade Home</a><a
-                href="edit_style.html">style.css</a><a
-                href="edit_template.html">template.html</a><font
-                class="globalNavSelect">&raquo; theme.php</font><a
-                href="validation.html">Validation</a>
-        </div>
-        <!-- end nav links -->
-</div>
-</body>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html>
+<head>
+
+<title>Edit theme.php</title>
+<meta http-equiv="Content-Type" content="text/html; charset=us-ascii" />
+<meta name="language" content="en" />
+<meta name="author" content="Coppermine dev team" />
+<meta name="copyright" content="Coppermine dev team" />
+<meta name="description" content="Coppermine Photo Gallery project - Theme Upgrade Documentation" />
+<!-- CVS version info: $Id: edit_theme.html 5997 2009-05-26 06:43:24Z gaugau $ -->
+
+<link rel="stylesheet" type="text/css" href="style.css" />
+<link rel="start" href="index.html" title="Theme Upgrade Home" />
+<link rel="end" href="validation.html" title="Validation" />
+<link rel="prev" href="edit_template.html" title="template.html" />
+<link rel="next" href="validation.html" title="Validation" />
+</head>
+
+<body>
+
+<div class="globalNav">
+        <a
+        href="index.html">Theme Upgrade Home</a><a
+        href="edit_style.html">style.css</a><a
+        href="edit_template.html">template.html</a><font
+        class="globalNavSelect">&raquo; theme.php</font><a
+        href="validation.html">Validation</a>
+</div>
+<a href="edit_template.html">Previous</a>&nbsp;|&nbsp;<a href="validation.html">Next</a>
+<!-- end nav links -->
+
+  <h2>Edit theme.php</h2>
+
+  <p>Many notable things have happened that will influence your modifications to your theme.php.</p>
+
+  <ul>
+    <li>{MAIN_MENU} was officially split into "{SYS_MENU}" and "{SUB_MENU}".</li>
+
+    <li>Both menus can have buttons generated by a button template instead of all buttons being coded into a single menu template.</li>
+
+    <li>Several
+DEFINES were added to redirect graphics so that you don't have to
+modify their respective templates if you are only replacing graphics
+sets</li>
+
+    <li>There are now theme $template_ and theme_ function
+fallbacks which allow you to eliminate many un-modified templates or
+functions from the theme.php. You only need to modify the templates or
+functions that you want to act differently from the default "Classic"
+theme.</li>
+  </ul>
+
+  <p>It is recommended to have access to a
+server that is still running the theme that you are attempting to
+upgrade so that you can see the differences in the 1.3.x theme and the
+new 1.4.x theme.</p>
+
+  <p>The following instructions will have you
+create a theme.php from scratch, only moving over and modifying the
+items that are different than Coppermine's internal theme "Classic".</p>
+
+  <ol>
+    <li>Rename your theme.php to theme.old.php</li>
+
+    <li>
+      Create a new theme.php file in it's place
+
+      <h6>Insert the following:</h6>
+      <pre>&lt;?php
+/*************************
+  Coppermine Photo Gallery
+  ************************
+  Copyright (c) 2003-2008 Dev Team
+  v1.1 originally written by Gregory DEMAR
+
+  This program is free software; you can redistribute it and/or modify
+  it under the terms of the GNU General Public License version 3
+  as published by the Free Software Foundation.
+  
+  ********************************************
+  Coppermine version: 1.4.25
+  $Source:
+  $Revision:
+  $Author:
+  $Date:
+**********************************************/
+
+
+?&gt;
+</pre>
+
+      <p>You now have a functional theme.</p>
+    </li>
+
+    <li>
+      Everything from this point forward should be added between these two lines:
+      <pre>**********************************************/
+
+
+?&gt;
+</pre>
+    </li>
+
+    <li>
+      Evaluate the available defines and add them to your theme.php
+
+      <ul>
+        <li>
+          define('THEME_HAS_RATING_GRAPHICS', 1);
+
+          <p>The location for the ratings graphics will be directed to the themes images folder.</p>
+
+          <ul>
+            <li>RUBBISH : images/rating0.gif</li>
+
+            <li>POOR : images/rating1.gif</li>
+
+            <li>FAIR : images/rating2.gif</li>
+
+            <li>GOOD : images/rating3.gif</li>
+
+            <li>EXCELLENT : images/rating4.gif</li>
+
+            <li>GREAT : images/rating5.gif</li>
+          </ul>
+
+          <h6>if your theme's images folder contain these filenames insert the define</h6>
+          <pre>define('THEME_HAS_RATING_GRAPHICS', 1);
+</pre>
+        </li>
+
+        <li>
+          define('THEME_HAS_NAVBAR_GRAPHICS', 1);
+
+          <p>The location for the navbar graphics will be directed to the themes images folder.</p>
+
+          <ul>
+            <li>Back to thumbnails : images/thumbnails.gif</li>
+
+            <li>Picture Information : images/info.gif</li>
+
+            <li>Slideshow : images/slideshow.gif</li>
+
+            <li>Report to admin : images/report.gif <span class="new">*NEW*</span></li>
+
+            <li>Ecard : images/ecard.gif</li>
+
+            <li>Previous : images/prev.gif</li>
+
+            <li>Next : images/next.gif</li>
+          </ul>
+
+          <p>If
+you have some of these graphics it could be that the original author
+did not keep the same names; you will need to rename the graphics to
+conform to the define, or you will need to modify the navbar template
+directly.</p>
+
+          <h6>if your theme's images folder contain these filenames insert the define</h6>
+          <pre>define('THEME_HAS_NAVBAR_GRAPHICS', 1);
+</pre>
+
+          <h6>Copy classic's report.gif or create a new report.gif for your theme if you set the define</h6>
+        </li>
+
+        <li>
+          define('THEME_HAS_FILM_STRIP_GRAPHIC', 1);
+
+            <p>The location for the film strip graphic will be directed to the themes images folder.</p>
+
+          <ul>
+            <li>tile : images/tile.gif</li>
+          </ul>
+
+          <p>This
+define specifies a single tile to be used for both locations.</p>
+
+          <h6>if your theme's images folder contains the above filename insert this define</h6>
+          <pre>define('THEME_HAS_FILM_STRIP_GRAPHIC', 1);
+</pre>
+        </li>
+<li>
+          define('THEME_HAS_FILM_STRIP_GRAPHICS', 1);
+
+          <p>The location for the film strip graphics will be directed to the themes images folder.</p>
+
+          <ul>
+            <li>tile on the top : images/tile1.gif <span class="new">*NEW*</span></li>
+
+            <li>tile on the bottom : images/tile2.gif <span class="new">*NEW*</span></li>
+          </ul>
+
+          <p>This
+define specifies TWO tiles. </p>
+
+          <h6>if your theme's images folder contains these filenames insert this define</h6>
+          <pre>define('THEME_HAS_FILM_STRIP_GRAPHICS', 1);
+</pre>
+        </li>
+
+        <li>
+          define('THEME_IS_XHTML10_TRANSITIONAL',1);
+
+          <p>If
+the theme is defined as XHTML10_TRANSITIONAL the VANITY footer will be
+enabled. You shouldn't enable this until you've been able to follow the
+validation methodology discussed later in this document.</p>
+
+          <h6>if your theme has passed the validation methodology insert this define:</h6>
+          <pre>define('THEME_IS_XHTML10_TRANSITIONAL',1);
+</pre>
+        </li>
+
+        <li>
+          define('THEME_HAS_NO_SYS_MENU_BUTTONS', 1);
+
+          <p>When
+present the system won't attempt to replace the token {BUTTONS} in the
+SYS_MENU template. The entire block needs to be present.</p>
+
+          <p>Only set this after you determine you can't use the buttons template!</p>
+
+          <h6>If you can't use the SYS_MENU buttons template insert this define:</h6>
+          <pre>define('THEME_HAS_NO_SYS_MENU_BUTTONS', 1);
+</pre>
+
+          <h6>if you have set the define your theme.php will
+need to set the "$template_sys_menu", this may be in your theme.old.php
+as part of "$template_main_menu" or all of "$template_main_menu1".</h6>
+        </li>
+
+        <li>
+          define('THEME_HAS_NO_SUB_MENU_BUTTONS', 1);
+
+          <p>When present the system won't attempt to replace {BUTTONS} in the SUB_MENU template The entire block needs to be present.</p>
+
+          <p>Only set this after you determine you can't use the buttons template!</p>
+
+          <h6>If you can't use the SUB_MENU buttons template insert this define:</h6>
+          <pre>define('THEME_HAS_NO_SUB_MENU_BUTTONS', 1);
+</pre>
+
+          <h6>if you have set the define your theme.php will
+need to set the "$template_sub_menu", this may be in your theme.old.php
+as part of "$template_main_menu" or all of "$template_main_menu2".</h6>
+        </li>
+      </ul>
+    </li>
+
+    <li>Take stock of what you have so far, test your theme.</li>
+
+    <li>
+      Changing the menu item separator
+
+      <p>Classic uses a "::" separator between each menu option that you can override by modifying the "$template_sys_menu_spacer"</p>
+      <pre>// HTML template for template sys_menu spacer
+$template_sys_menu_spacer ="::";
+</pre>
+
+      <h6>Insert into your theme.php and modify to suit</h6>
+
+      <p>The sub menu templates are automatically inherited from sys menu's and you override them in exactly the same way</p>
+
+      <h5>Examples:</h5>
+
+      <ul>
+        <li>Water_Drop</li>
+
+        <li>Fruity</li>
+
+        <li>Eyeball</li>
+      </ul>
+    </li>
+
+    <li>
+      If you need a separator before the first and after the last buttons you can use this example from "MAC_OX_X"
+
+      <p>"$template_sys_menu_spacer" and "$template_sub_menu_spacer" are only rendered BETWEEN active elements.</p>
+
+      <h6>Insert into your theme.php and modify to suit</h6>
+      <pre>// HTML template for sys_menu
+$template_sys_menu = &lt;&lt;&lt;EOT
+         |{BUTTONS}|
+EOT;
+
+// HTML template for template sys_menu spacer
+$template_sys_menu_spacer ="|";
+</pre>
+    </li>
+
+    <li> If your theme requires more than a spacer
+for each button, such as buttons rendered inside of a table you can use
+this example from "Rainy_Day". <p>Copy a button from your theme.old.php from
+$template_main_menu, $template_main_menu1, or $template_main_menu2 and
+put it in between the "&lt;!-- BEGIN {BLOCK_ID} --&gt;" and "&lt;!--
+END {BLOCK_ID} --&gt;" lines and change the "{TOKENS}" as necessary.</p>
+
+      <h6>Insert into your theme.php and modify to suit</h6>
+      <pre>// HTML template for sys_menu
+$template_sys_menu = &lt;&lt;&lt;EOT
+  &lt;div class="topmenu"&gt;
+          &lt;table border="0" cellpadding="0" cellspacing="0"&gt;
+                  &lt;tr&gt;
+  {BUTTONS}
+                  &lt;/tr&gt;
+          &lt;/table&gt;
+  &lt;/div&gt;
+EOT;
+
+// HTML template for template sys_menu buttons
+$template_sys_menu_button = &lt;&lt;&lt;EOT
+&lt;!-- BEGIN {BLOCK_ID} --&gt;
+  &lt;td&gt;&lt;img src="images/spacer.gif" width="5" height="25" border="0" alt="" /&gt;&lt;/td&gt;
+  &lt;td&gt;&lt;img src="themes/rainy_day/images/button1_r1_c1.gif" width="5" height="25" border="0" alt="" /&gt;&lt;/td&gt;
+  &lt;td style="background-image:url(themes/rainy_day/images/button1_r1_c2.gif)"&gt;
+          &lt;a href="{HREF_TGT}" title="{HREF_TITLE}"&gt;{HREF_LNK}&lt;/a&gt;
+  &lt;/td&gt;
+  &lt;td&gt;&lt;img src="themes/rainy_day/images/button1_r1_c3.gif" width="5" height="25" border="0" alt="" /&gt;&lt;/td&gt;
+&lt;!-- END {BLOCK_ID} --&gt;
+EOT;
+</pre>
+    </li>
+
+    <li> If each of your sys_menu buttons need to
+be rendered differently and you can't easily use the button template
+you can disable it and include the entire block. <p>Define 'THEME_HAS_NO_SYS_MENU_BUTTONS' and include a "$template_sys_menu" template.</p>
+
+      <h6>Insert this define</h6>
+      <pre>define('THEME_HAS_NO_SYS_MENU_BUTTONS', 1);
+</pre>
+
+      <p>Copy the correct portion of "$template_main_menu" or
+"$template_main_menu1" from your theme.old.php as in this example from
+"Hardwired"</p>
+
+      <h6>Verify that your template includes all of the following {TOKENS}, and rename the template to "$template_sys_menu"</h6>
+      <pre>// HTML template for sys menu
+$template_sys_menu = &lt;&lt;&lt;EOT
+
+                        &lt;table border="0" cellpadding="0" cellspacing="0"&gt;
+                                &lt;tr&gt;
+&lt;!-- BEGIN home --&gt;
+                                        &lt;td&gt;&lt;img name="spacer" src="images/spacer.gif" width="5" height="25" border="0" alt="" /&gt;&lt;/td&gt;
+                                        &lt;td&gt;&lt;img name="buttonleftmy" src="themes/hardwired/images/buttonleftmy.gif" width="17" height="25" border="0" alt="" /&gt;&lt;/td&gt;
+                                        &lt;td style="background: url(themes/hardwired/images/buttoncenter.gif);"&gt;
+                                                &lt;a href="{HOME_TGT}" title="{HOME_TITLE}"&gt;{HOME_LNK}&lt;/a&gt;
+                                        &lt;/td&gt;
+                                        &lt;td&gt;&lt;img name="buttonright" src="themes/hardwired/images/buttonright.gif" width="7" height="25" border="0"  alt="" /&gt;&lt;/td&gt;
+&lt;!-- END home --&gt;
+&lt;!-- BEGIN my_gallery --&gt;
+                                        &lt;td&gt;&lt;img name="spacer" src="images/spacer.gif" width="5" height="25" border="0" alt="" /&gt;&lt;/td&gt;
+                                        &lt;td&gt;&lt;img name="buttonleftmy" src="themes/hardwired/images/buttonleftmy.gif" width="17" height="25" border="0" alt="" /&gt;&lt;/td&gt;
+                                        &lt;td style="background: url(themes/hardwired/images/buttoncenter.gif);"&gt;
+                                                &lt;a href="{MY_GAL_TGT}" title="{MY_GAL_TITLE}"&gt;{MY_GAL_LNK}&lt;/a&gt;
+                                        &lt;/td&gt;
+                                        &lt;td&gt;&lt;img name="buttonright" src="themes/hardwired/images/buttonright.gif" width="7" height="25" border="0"  alt="" /&gt;&lt;/td&gt;
+&lt;!-- END my_gallery --&gt;
+&lt;!-- BEGIN allow_memberlist --&gt;
+                                        &lt;td&gt;&lt;img name="spacer" src="images/spacer.gif" width="5" height="25" border="0" alt="" /&gt;&lt;/td&gt;
+                                        &lt;td&gt;&lt;img name="buttonleft" src="themes/hardwired/images/buttonleftmemb.gif" width="17" height="25" border="0" alt="" /&gt;&lt;/td&gt;
+                                        &lt;td style="background: url(themes/hardwired/images/buttoncenter.gif);"&gt;
+                                                &lt;a href="{MEMBERLIST_TGT}" title="{MEMBERLIST_TITLE}"&gt;{MEMBERLIST_LNK}&lt;/a&gt;
+                                        &lt;/td&gt;
+                                        &lt;td&gt;&lt;img name="buttonright" src="themes/hardwired/images/buttonright.gif" width="7" height="25" border="0"  alt="" /&gt;&lt;/td&gt;
+&lt;!-- END allow_memberlist --&gt;
+&lt;!-- BEGIN my_profile --&gt;
+                                        &lt;td&gt;&lt;img name="spacer" src="images/spacer.gif" width="5" height="25" border="0" alt="" /&gt;&lt;/td&gt;
+                                        &lt;td&gt;&lt;img name="buttonleft" src="themes/hardwired/images/buttonleft.gif" width="17" height="25" border="0" alt="" /&gt;&lt;/td&gt;
+                                        &lt;td style="background: url(themes/hardwired/images/buttoncenter.gif);"&gt;
+                                                &lt;a href="{MY_PROF_TGT}" title="{MY_PROF_LNK}"&gt;{MY_PROF_LNK}&lt;/a&gt;
+                                        &lt;/td&gt;
+                                        &lt;td&gt;&lt;img name="buttonright" src="themes/hardwired/images/buttonright.gif" width="7" height="25" border="0"  alt="" /&gt;&lt;/td&gt;
+&lt;!-- END my_profile --&gt;
+&lt;!-- BEGIN faq --&gt;
+                                        &lt;td&gt;&lt;img name="spacer" src="images/spacer.gif" width="5" height="25" border="0" alt="" /&gt;&lt;/td&gt;
+                                        &lt;td&gt;&lt;img name="buttonleft" src="themes/hardwired/images/buttonleftfaq.gif" width="17" height="25" border="0" alt="" /&gt;&lt;/td&gt;
+                                        &lt;td style="background: url(themes/hardwired/images/buttoncenter.gif);"&gt;
+                                                &lt;a href="{FAQ_TGT}" title="{FAQ_TITLE}"&gt;{FAQ_LNK}&lt;/a&gt;
+                                        &lt;/td&gt;
+                                        &lt;td&gt;&lt;img name="buttonright" src="themes/hardwired/images/buttonright.gif" width="7" height="25" border="0"  alt="" /&gt;&lt;/td&gt;
+&lt;!-- END faq --&gt;
+&lt;!-- BEGIN enter_admin_mode --&gt;
+                                        &lt;td&gt;&lt;img name="spacer" src="images/spacer.gif" width="5" height="25" border="0" alt="" /&gt;&lt;/td&gt;
+                                        &lt;td&gt;&lt;img name="buttonleftad" src="themes/hardwired/images/buttonleftad.gif" width="17" height="25" border="0" alt="" /&gt;&lt;/td&gt;
+                                        &lt;td style="background: url(themes/hardwired/images/buttoncenter.gif);"&gt;
+                                                &lt;a href="{ADM_MODE_TGT}" title="{ADM_MODE_TITLE}"&gt;{ADM_MODE_LNK}&lt;/a&gt;
+                                        &lt;/td&gt;
+                                        &lt;td&gt;&lt;img name="buttonright" src="themes/hardwired/images/buttonright.gif" width="7" height="25" border="0"  alt="" /&gt;&lt;/td&gt;
+&lt;!-- END enter_admin_mode --&gt;
+&lt;!-- BEGIN leave_admin_mode --&gt;
+                                        &lt;td&gt;&lt;img name="spacer" src="images/spacer.gif" width="5" height="25" border="0" alt="" /&gt;&lt;/td&gt;
+                                        &lt;td&gt;&lt;img name="buttonleftad" src="themes/hardwired/images/buttonleftad.gif" width="17" height="25" border="0" alt="" /&gt;&lt;/td&gt;
+                                        &lt;td style="background: url(themes/hardwired/images/buttoncenter.gif);"&gt;
+                                                &lt;a href="{USR_MODE_TGT}" title="{USR_MODE_TITLE}"&gt;{USR_MODE_LNK}&lt;/a&gt;
+                                        &lt;/td&gt;
+                                        &lt;td&gt;&lt;img name="buttonright" src="themes/hardwired/images/buttonright.gif" width="7" height="25" border="0" alt="" /&gt;&lt;/td&gt;
+&lt;!-- END leave_admin_mode --&gt;
+&lt;!-- BEGIN upload_pic --&gt;
+                                        &lt;td&gt;&lt;img name="spacer" src="images/spacer.gif" width="5" height="25" border="0" alt="" /&gt;&lt;/td&gt;
+                                        &lt;td&gt;&lt;img name="buttonleftup" src="themes/hardwired/images/buttonleftup.gif" width="17" height="25" border="0" alt="" /&gt;&lt;/td&gt;
+                                       &lt;td style="background: url(themes/hardwired/images/buttoncenter.gif);"&gt;
+                                                &lt;a href="{UPL_PIC_TGT}" title="{UPL_PIC_TITLE}"&gt;{UPL_PIC_LNK}&lt;/a&gt;
+                                        &lt;/td&gt;
+                                        &lt;td&gt;&lt;img name="buttonright" src="themes/hardwired/images/buttonright.gif" width="7" height="25" border="0"  alt="" /&gt;&lt;/td&gt;
+&lt;!-- END upload_pic --&gt;
+&lt;!-- BEGIN register --&gt;
+                                        &lt;td&gt;&lt;img name="spacer" src="images/spacer.gif" width="5" height="25" border="0" alt="" /&gt;&lt;/td&gt;
+                                        &lt;td&gt;&lt;img name="buttonleft" src="themes/hardwired/images/buttonleft.gif" width="17" height="25" border="0" alt="" /&gt;&lt;/td&gt;
+                                        &lt;td style="background: url(themes/hardwired/images/buttoncenter.gif);"&gt;
+                                                &lt;a href="{REGISTER_TGT}" title="{REGISTER_TITLE}"&gt;{REGISTER_LNK}&lt;/a&gt;
+                                        &lt;/td&gt;
+                                        &lt;td&gt;&lt;img name="buttonright" src="themes/hardwired/images/buttonright.gif" width="7" height="25" border="0"  alt="" /&gt;&lt;/td&gt;
+&lt;!-- END register --&gt;
+&lt;!-- BEGIN login --&gt;
+                                        &lt;td&gt;&lt;img name="spacer" src="images/spacer.gif" width="5" height="25" border="0" alt="" /&gt;&lt;/td&gt;
+                                        &lt;td&gt;&lt;img name="buttonleft" src="themes/hardwired/images/buttonleft.gif" width="17" height="25" border="0" alt="" /&gt;&lt;/td&gt;
+                                       &lt;td style="background: url(themes/hardwired/images/buttoncenter.gif);"&gt;
+                                                &lt;a href="{LOGIN_TGT}" title="{LOGIN_LNK}"&gt;{LOGIN_LNK}&lt;/a&gt;
+                                        &lt;/td&gt;
+                                        &lt;td&gt;&lt;img name="buttonright" src="themes/hardwired/images/buttonright.gif" width="7" height="25" border="0"  alt="" /&gt;&lt;/td&gt;
+&lt;!-- END login --&gt;
+&lt;!-- BEGIN logout --&gt;
+                                        &lt;td&gt;&lt;img name="spacer" src="images/spacer.gif" width="5" height="25" border="0" alt="" /&gt;&lt;/td&gt;
+                                        &lt;td&gt;&lt;img name="buttonleftout" src="themes/hardwired/images/buttonleftout.gif" width="17" height="25" border="0" alt="" /&gt;&lt;/td&gt;
+                                        &lt;td style="background: url(themes/hardwired/images/buttoncenter.gif);"&gt;
+                                                &lt;a href="{LOGOUT_TGT}" title="{LOGOUT_LNK}"&gt;{LOGOUT_LNK}&lt;/a&gt;
+                                        &lt;/td&gt;
+                                        &lt;td&gt;&lt;img name="buttonright" src="themes/hardwired/images/buttonright.gif" width="7" height="25" border="0" alt="" /&gt;&lt;/td&gt;
+&lt;!-- END logout --&gt;
+                                &lt;/tr&gt;
+                        &lt;/table&gt;
+EOT;
+</pre>
+    </li>
+
+    <li> If each of your sub_menu buttons need to
+be rendered differently and you can't easily use the button template
+you can disable it and include the entire block. <p>Define 'THEME_HAS_NO_SUB_MENU_BUTTONS' and include a "$template_sys_menu" template.</p>
+
+      <h6>Insert this define</h6>
+      <pre>define('THEME_HAS_NO_SUB_MENU_BUTTONS', 1);
+</pre>
+
+      <p>Copy the correct portion of "$template_main_menu" or
+"$template_main_menu2" from your theme.old.php as in this example from
+"Hardwired"</p>
+
+      <h6>Verify that your template includes all of the following {TOKENS}, and rename the template to "$template_sub_menu"</h6>
+      <pre>// HTML template for sub menu
+$template_sub_menu = &lt;&lt;&lt;EOT
+
+                        &lt;table border="0" cellpadding="0" cellspacing="0"&gt;
+                                &lt;tr&gt;
+&lt;!-- BEGIN custom_link --&gt;
+                                        &lt;td&gt;&lt;img name=&quot;spacer&quot; src=&quot;images/spacer.gif&quot; width=&quot;5&quot; height=&quot;25&quot; border=&quot;0&quot; alt=&quot;&quot; /&gt;&lt;/td&gt;
+                                        &lt;td&gt;&lt;img name=&quot;buttonleft1&quot; src=&quot;themes/hardwired/images/buttonleft1.gif&quot; width=&quot;7&quot; height=&quot;25&quot; border=&quot;0&quot; alt=&quot;&quot; /&gt;&lt;/td&gt;
+                                        &lt;td style=&quot;background: url(themes/hardwired/images/buttoncenter.gif);&quot;&gt;
+                                                &lt;a href=&quot;{CUSTOM_LNK_TGT}&quot; title=&quot;{CUSTOM_LNK_TITLE}&quot;&gt;{CUSTOM_LNK_LNK}&lt;/a&gt;
+                                        &lt;/td&gt;
+                                        &lt;td&gt;&lt;img name=&quot;buttonright1&quot; src=&quot;themes/hardwired/images/buttonright1.gif&quot; width=&quot;7&quot; height=&quot;25&quot; border=&quot;0&quot; alt=&quot;&quot; /&gt;&lt;/td&gt;
+&lt;!-- END custom_link --&gt;
+&lt;!-- BEGIN album_list --&gt;
+                                        &lt;td&gt;&lt;img name="spacer" src="images/spacer.gif" width="5" height="25" border="0" alt="" /&gt;&lt;/td&gt;
+                                        &lt;td&gt;&lt;img name="buttonleft1" src="themes/hardwired/images/buttonleft1.gif" width="7" height="25" border="0" alt="" /&gt;&lt;/td&gt;
+                                        &lt;td style="background: url(themes/hardwired/images/buttoncenter.gif);"&gt;
+                                                &lt;a href="{ALB_LIST_TGT}" title="{ALB_LIST_TITLE}"&gt;{ALB_LIST_LNK}&lt;/a&gt;
+                                        &lt;/td&gt;
+                                        &lt;td&gt;&lt;img name="buttonright1" src="themes/hardwired/images/buttonright1.gif" width="7" height="25" border="0" alt="" /&gt;&lt;/td&gt;
+&lt;!-- END album_list --&gt;
+                                        &lt;td&gt;&lt;img name="spacer" src="images/spacer.gif" width="5" height="25" border="0" alt="" /&gt;&lt;/td&gt;
+                                        &lt;td&gt;&lt;img name="buttonleft1" src="themes/hardwired/images/buttonleft1.gif" width="7" height="25" border="0" alt="" /&gt;&lt;/td&gt;
+                                       &lt;td style="background: url(themes/hardwired/images/buttoncenter.gif);"&gt;
+                                                &lt;a href="{LASTUP_TGT}" title="{LASTUP_LNK}"&gt;{LASTUP_LNK}&lt;/a&gt;
+                                        &lt;/td&gt;
+                                        &lt;td&gt;&lt;img name="buttonright1" src="themes/hardwired/images/buttonright1.gif" width="7" height="25" border="0" alt="" /&gt;&lt;/td&gt;
+                                        &lt;td&gt;&lt;img name="spacer" src="images/spacer.gif" width="5" height="25" border="0" alt="" /&gt;&lt;/td&gt;
+                                        &lt;td&gt;&lt;img name="buttonleft1" src="themes/hardwired/images/buttonleft1.gif" width="7" height="25" border="0" alt="" /&gt;&lt;/td&gt;
+                                       &lt;td style="background: url(themes/hardwired/images/buttoncenter.gif);"&gt;
+                                                &lt;a href="{LASTCOM_TGT}" title="{LASTCOM_LNK}"&gt;{LASTCOM_LNK}&lt;/a&gt;
+                                        &lt;/td&gt;
+                                        &lt;td&gt;&lt;img name="buttonright1" src="themes/hardwired/images/buttonright1.gif" width="7" height="25" border="0" alt="" /&gt;&lt;/td&gt;
+                                        &lt;td&gt;&lt;img name="spacer" src="images/spacer.gif" width="5" height="25" border="0" alt="" /&gt;&lt;/td&gt;
+                                        &lt;td&gt;&lt;img name="buttonleft1" src="themes/hardwired/images/buttonleft1.gif" width="7" height="25" border="0" alt="" /&gt;&lt;/td&gt;
+                                        &lt;td style="background: url(themes/hardwired/images/buttoncenter.gif);"&gt;
+                                                &lt;a href="{TOPN_TGT}" title="{TOPN_LNK}"&gt;{TOPN_LNK}&lt;/a&gt;
+                                        &lt;/td&gt;
+                                        &lt;td&gt;&lt;img name="buttonright1" src="themes/hardwired/images/buttonright1.gif" width="7" height="25" border="0" alt="" /&gt;&lt;/td&gt;
+                                        &lt;td&gt;&lt;img name="spacer" src="images/spacer.gif" width="5" height="25" border="0" alt="" /&gt;&lt;/td&gt;
+                                        &lt;td&gt;&lt;img name="buttonleft1" src="themes/hardwired/images/buttonleft1.gif" width="7" height="25" border="0" alt="" /&gt;&lt;/td&gt;
+                                        &lt;td style="background: url(themes/hardwired/images/buttoncenter.gif);"&gt;
+                                                &lt;a href="{TOPRATED_TGT}" title="{TOPRATED_LNK}"&gt;{TOPRATED_LNK}&lt;/a&gt;
+                                        &lt;/td&gt;
+                                        &lt;td&gt;&lt;img name="buttonright1" src="themes/hardwired/images/buttonright1.gif" width="7" height="25" border="0" alt="" /&gt;&lt;/td&gt;
+                                        &lt;td&gt;&lt;img name="spacer" src="images/spacer.gif" width="5" height="25" border="0" alt="" /&gt;&lt;/td&gt;
+                                        &lt;td&gt;&lt;img name="buttonleft1" src="themes/hardwired/images/buttonleft1.gif" width="7" height="25" border="0" alt="" /&gt;&lt;/td&gt;
+                                        &lt;td style="background: url(themes/hardwired/images/buttoncenter.gif);"&gt;
+                                                &lt;a href="{FAV_TGT}" title="{FAV_LNK}"&gt;{FAV_LNK}&lt;/a&gt;
+                                        &lt;/td&gt;
+                                        &lt;td&gt;&lt;img name="buttonright1" src="themes/hardwired/images/buttonright1.gif" width="7" height="25" border="0" alt="" /&gt;&lt;/td&gt;
+                                        &lt;td&gt;&lt;img name="spacer" src="images/spacer.gif" width="5" height="25" border="0" alt="" /&gt;&lt;/td&gt;
+                                        &lt;td&gt;&lt;img name="buttonleft1" src="themes/hardwired/images/buttonleft1.gif" width="7" height="25" border="0" alt="" /&gt;&lt;/td&gt;
+                                        &lt;td style="background: url(themes/hardwired/images/buttoncenter.gif);"&gt;
+                                                &lt;a href="{SEARCH_TGT}" title="{SEARCH_LNK}"&gt;{SEARCH_LNK}&lt;/a&gt;
+                                        &lt;/td&gt;
+                                        &lt;td&gt;&lt;img name="buttonright1" src="themes/hardwired/images/buttonright1.gif" width="7" height="25" border="0" alt="" /&gt;&lt;/td&gt;
+                                &lt;/tr&gt;
+                        &lt;/table&gt;
+
+EOT;
+</pre>
+    </li>
+
+    <li>
+      You've reached another milestone in your theme upgrade.
+
+      <p>Take stock of what you have so far, test your theme.</p>
+    </li>
+
+    <li>
+If your theme uses custom starttable and endtable functions they can be
+moved over from theme.php.old as in this example from "MAC_OX_X" <h6>Insert into your theme.php and modify to suit</h6>
+      <pre>// Function to start a 'standard' table
+function starttable($width = '-1', $title = '', $title_colspan = '1')
+{
+    global $CONFIG;
+
+    if ($width == '-1') $width = $CONFIG['picture_table_width'];
+    if ($width == '100%') $width = $CONFIG['main_table_width'];
+    if ($title) {
+        echo &lt;&lt;&lt;EOT
+&lt;!-- Start standard table title --&gt;
+&lt;table align="center" width="$width" cellspacing="0" cellpadding="0" class="maintablea"&gt;
+        &lt;tr&gt;
+                &lt;td&gt;
+                        &lt;table width="100%" cellspacing="0" cellpadding="0" class="tableh1a"&gt;
+                                &lt;tr&gt;
+                                        &lt;td class="tableh1a"&gt;&lt;img src="themes/mac_ox_x/images/tableh1a_bg_left.gif" alt="" /&gt;&lt;/td&gt;
+                                        &lt;td class="tableh1a" style="background-image:url(themes/mac_ox_x/images/tableh1a_bg_middle.gif);" width="100%"&gt;$title&lt;/td&gt;
+                                        &lt;td class="tableh1a"&gt;&lt;img src="themes/mac_ox_x/images/tableh1a_bg_right.gif" alt="" /&gt;&lt;/td&gt;
+                                &lt;/tr&gt;
+                        &lt;/table&gt;
+                &lt;/td&gt;
+        &lt;/tr&gt;
+&lt;/table&gt;
+&lt;!-- Start standard table --&gt;
+&lt;table align="center" width="$width" cellspacing="0" cellpadding="0"&gt;
+  &lt;tr&gt;
+   &lt;td style="background-image:url(themes/mac_ox_x/images/main_table_r1_c1b.gif);" valign="top"&gt;&lt;img name="main_table_r1_c1" src="themes/mac_ox_x/images/main_table_r1_c1.gif" border="0"  alt="" /&gt;&lt;/td&gt;
+        &lt;td width="100%"&gt;&lt;table width="100%" cellspacing="1" cellpadding="0" class="maintableb"&gt;
+
+EOT;
+    } else {
+        echo &lt;&lt;&lt;EOT
+
+&lt;!-- Start standard table --&gt;
+&lt;table align="center" width="$width" cellspacing="0" cellpadding="0"&gt;
+  &lt;tr&gt;
+   &lt;td style="background-image:url(themes/mac_ox_x/images/main_table_r1_c1b.gif);" valign="top"&gt;&lt;img name="main_table_r1_c1" src="themes/mac_ox_x/images/main_table_r1_c1.gif" border="0"  alt="" /&gt;&lt;/td&gt;
+        &lt;td width="100%"&gt;&lt;table width="100%" cellspacing="1" cellpadding="0" class="maintable"&gt;
+
+EOT;
+    }
+}
+
+function endtable()
+{
+    echo &lt;&lt;&lt;EOT
+        &lt;/table&gt;
+   &lt;/td&gt;
+   &lt;td style="background-image:url(themes/mac_ox_x/images/main_table_r1_c3b.gif);" valign="top"&gt;&lt;img name="main_table_r1_c3" src="themes/mac_ox_x/images/main_table_r1_c3.gif" border="0"  alt="" /&gt;&lt;/td&gt;
+  &lt;/tr&gt;
+  &lt;tr&gt;
+   &lt;td&gt;&lt;img name="main_table_r2_c1" src="themes/mac_ox_x/images/main_table_r2_c1.gif" width="10" height="4" border="0"  alt="" /&gt;&lt;/td&gt;
+   &lt;td style="background-image:url(themes/mac_ox_x/images/main_table_r2_c2b.gif);"&gt;&lt;img name="main_table_r2_c2" src="themes/mac_ox_x/images/main_table_r2_c2.gif" border="0"  alt="" /&gt;&lt;/td&gt;
+   &lt;td&gt;&lt;img name="main_table_r2_c3" src="themes/mac_ox_x/images/main_table_r2_c3.gif" width="10" height="4" border="0"  alt="" /&gt;&lt;/td&gt;
+  &lt;/tr&gt;
+&lt;/table&gt;
+&lt;!-- End standard table --&gt;
+
+EOT;
+}
+</pre>
+    </li>
+
+    <li> If you have included custom starttable
+and endtable code the sort options in the thumbnail view may no longer
+fit properly. <p>You can use this example also from "MAC_OX_X" to correct it.</p>
+
+      <h6>Insert into your theme.php and modify to suit</h6>
+      <pre>// HTML template for title row of the thumbnail view (album title + sort options)
+$template_thumb_view_title_row = &lt;&lt;&lt;EOT
+
+                        &lt;table width="100%" cellpadding="0" cellspacing="0"&gt;
+                        &lt;tr&gt;
+                                &lt;td width="100%" class="statlink"&gt;{ALBUM_NAME}&lt;/td&gt;
+                                &lt;td class="sortorder_options" style="font-size: 100%;"&gt;{TITLE}&lt;/td&gt;
+                                &lt;td class="sortorder_options" style="font-size: 100%;"&gt;&lt;span class="statlink"&gt;&lt;a href="thumbnails.php?album={AID}&amp;amp;page={PAGE}&amp;amp;sort=ta" title="{SORT_TA}"&gt;&amp;nbsp;+&amp;nbsp;&lt;/a&gt;&lt;/span&gt;&lt;/td&gt;
+                                &lt;td class="sortorder_options" style="font-size: 100%;"&gt;&lt;span class="statlink"&gt;&lt;a href="thumbnails.php?album={AID}&amp;amp;page={PAGE}&amp;amp;sort=td" title="{SORT_TD}"&gt;&amp;nbsp;-&amp;nbsp;&lt;/a&gt;&lt;/span&gt;&lt;/td&gt;
+                                &lt;td&gt;&amp;nbsp;&amp;nbsp;&lt;/td&gt;
+                                &lt;td class="sortorder_options" style="font-size: 100%;"&gt;{NAME}&lt;/td&gt;
+                                &lt;td class="sortorder_options" style="font-size: 100%;"&gt;&lt;span class="statlink"&gt;&lt;a href="thumbnails.php?album={AID}&amp;amp;page={PAGE}&amp;amp;sort=na" title="{SORT_NA}"&gt;&amp;nbsp;+&amp;nbsp;&lt;/a&gt;&lt;/span&gt;&lt;/td&gt;
+                                &lt;td class="sortorder_options" style="font-size: 100%;"&gt;&lt;span class="statlink"&gt;&lt;a href="thumbnails.php?album={AID}&amp;amp;page={PAGE}&amp;amp;sort=nd" title="{SORT_ND}"&gt;&amp;nbsp;-&amp;nbsp;&lt;/a&gt;&lt;/span&gt;&lt;/td&gt;
+                                &lt;td&gt;&amp;nbsp;&amp;nbsp;&lt;/td&gt;
+                                &lt;td class="sortorder_options" style="font-size: 100%;"&gt;{DATE}&lt;/td&gt;
+                                &lt;td class="sortorder_options" style="font-size: 100%;"&gt;&lt;span class="statlink"&gt;&lt;a href="thumbnails.php?album={AID}&amp;amp;page={PAGE}&amp;amp;sort=da" title="{SORT_DA}"&gt;&amp;nbsp;+&amp;nbsp;&lt;/a&gt;&lt;/span&gt;&lt;/td&gt;
+                                &lt;td class="sortorder_options" style="font-size: 100%;"&gt;&lt;span class="statlink"&gt;&lt;a href="thumbnails.php?album={AID}&amp;amp;page={PAGE}&amp;amp;sort=dd" title="{SORT_DD}"&gt;&amp;nbsp;-&amp;nbsp;&lt;/a&gt;&lt;/span&gt;&lt;/td&gt;
+                                &lt;td&gt;&amp;nbsp;&amp;nbsp;&lt;/td&gt;
+                                &lt;td class="sortorder_options" style="font-size: 100%;"&gt;{POSITION}&lt;/td&gt;
+                                &lt;td class="sortorder_options" style="font-size: 100%;"&gt;&lt;span class="statlink"&gt;&lt;a href="thumbnails.php?album={AID}&amp;amp;page={PAGE}&amp;amp;sort=pa" title="{SORT_PA}"&gt;&amp;nbsp;+&amp;nbsp;&lt;/a&gt;&lt;/span&gt;&lt;/td&gt;
+                                &lt;td class="sortorder_options" style="font-size: 100%;"&gt;&lt;span class="statlink"&gt;&lt;a href="thumbnails.php?album={AID}&amp;amp;page={PAGE}&amp;amp;sort=pd" title="{SORT_PD}"&gt;&amp;nbsp;-&amp;nbsp;&lt;/a&gt;&lt;/span&gt;&lt;/td&gt;
+                        &lt;/tr&gt;
+                        &lt;/table&gt;
+
+EOT;
+</pre>
+    </li>
+
+
+    <li>If your theme modifies $template_display_picture
+                        replace it with $template_display_media
+                          <h6>Find all instances of:</h6>
+                        <pre>$template_display_picture</pre>
+                        <h6>Replace all with:</h6>
+                        <pre>$template_display_media</pre>
+                </li>
+    <li>
+                        If you used a previous $template_display_picture replace tableb with display_media in $template_display_media block
+                          <h6>Find:</h6>
+                        <pre>&lt;td align="center" class="tableb" nowrap="nowrap"&gt;</pre>
+
+                        <h6>Replace with:</h6>
+                        <pre>&lt;td align="center" class="display_media" nowrap="nowrap"&gt;</pre>
+                </li>
+    <li>
+                        If your theme modifies $template_cat_list replace tableh2 with catrow_noalb in the catrow_noalb block
+                          <h6>Find:</h6>
+                        <pre>&lt;!-- BEGIN catrow_noalb --&gt;<br />        &lt;tr&gt;<br />                &lt;td class="tableh2" colspan="3"&gt;&lt;table border="0"&gt;&lt;tr&gt;&lt;td align="left"&gt;{CAT_THUMB}&lt;/td&gt;&lt;td align="left"&gt;&lt;span class="catlink"&gt;&lt;b&gt;{CAT_TITLE}&lt;/b&gt;&lt;/span&gt;{CAT_DESC}&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;&lt;/td&gt;<br />        &lt;/tr&gt;<br />&lt;!-- END catrow_noalb --&gt;</pre>
+                        <h6>Replace with :</h6>
+                        <pre>&lt;!-- BEGIN catrow_noalb --&gt;<br />        &lt;tr&gt;<br />                &lt;td class="catrow_noalb" colspan="3"&gt;&lt;table border="0"&gt;&lt;tr&gt;&lt;td align="left"&gt;{CAT_THUMB}&lt;/td&gt;&lt;td align="left"&gt;&lt;span class="catlink"&gt;&lt;b&gt;{CAT_TITLE}&lt;/b&gt;&lt;/span&gt;{CAT_DESC}&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;&lt;/td&gt;<br />        &lt;/tr&gt;<br />&lt;!-- END catrow_noalb --&gt;</pre>
+                </li>
+    <li>
+                        If your theme modifies $template_cat_list replace tableb with catrow in the catrow block
+                          <h6>Find:</h6>
+                        <pre>&lt;!-- BEGIN catrow --&gt;<br />        &lt;tr&gt;<br />                &lt;td class="tableb" align="left"&gt;&lt;table border="0"&gt;&lt;tr&gt;&lt;td&gt;{CAT_THUMB}&lt;/td&gt;&lt;td&gt;&lt;span class="catlink"&gt;&lt;b&gt;{CAT_TITLE}&lt;/b&gt;&lt;/span&gt;{CAT_DESC}&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;&lt;/td&gt;<br />                &lt;td class="tableb" align="center"&gt;{ALB_COUNT}&lt;/td&gt;<br />                &lt;td class="tableb" align="center"&gt;{PIC_COUNT}&lt;/td&gt;<br />        &lt;/tr&gt;<br />        &lt;tr&gt;<br />            &lt;td class="tableb" colspan="3"&gt;{CAT_ALBUMS}&lt;/td&gt;<br />        &lt;/tr&gt;<br />&lt;!-- END catrow --&gt;</pre>
+                        <h6>Replace with :</h6>
+                        <pre>&lt;!-- BEGIN catrow --&gt;<br />        &lt;tr&gt;<br />                &lt;td class="catrow" align="left"&gt;&lt;table border="0"&gt;&lt;tr&gt;&lt;td&gt;{CAT_THUMB}&lt;/td&gt;&lt;td&gt;&lt;span class="catlink"&gt;&lt;b&gt;{CAT_TITLE}&lt;/b&gt;&lt;/span&gt;{CAT_DESC}&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;&lt;/td&gt;<br />                &lt;td class="catrow" align="center"&gt;{ALB_COUNT}&lt;/td&gt;<br />                &lt;td class="catrow" align="center"&gt;{PIC_COUNT}&lt;/td&gt;<br />        &lt;/tr&gt;<br />        &lt;tr&gt;<br />            &lt;td class="tableb" colspan="3"&gt;{CAT_ALBUMS}&lt;/td&gt;<br />        &lt;/tr&gt;<br />&lt;!-- END catrow --&gt;</pre>
+                </li>
+    <li>For the majority of themes you are now done adding content to your theme.php.
+
+      <p>Take stock of what you have so far, test your theme.</p>
+    </li>
+    <li>
+      For a list of everything that could be modified examine the "sample" theme.
+
+      <p>The "sample" theme found in themes/sample is designed to be a showcase for every themeable function and template used in Coppermine.</p>
+
+      <p>"Hardwired",
+"Eyeball", and "MAC_OX_X" are all good examples of more complicated
+theme designs that you can use as reference in continuing to modify
+your theme.</p>
+    </li>
+  </ol>
+
+<div id="footer" style="border-top: 1px solid gray; margin-top: 30px; padding-top: 10px;">
+        <a href="edit_template.html">Previous</a>&nbsp;|&nbsp;<a href="validation.html">Next</a>
+        <div class="globalNav">
+                <a
+                href="index.html">Theme Upgrade Home</a><a
+                href="edit_style.html">style.css</a><a
+                href="edit_template.html">template.html</a><font
+                class="globalNavSelect">&raquo; theme.php</font><a
+                href="validation.html">Validation</a>
+        </div>
+        <!-- end nav links -->
+</div>
+</body>
 </html>
\ No newline at end of file
diff -x .svn -aruN 1.4.24.src/docs/theme/index.html 1.4.25.src/docs/theme/index.html
--- 1.4.24.src/docs/theme/index.html	2007-11-29 06:55:38.000000000 -0600
+++ 1.4.25.src/docs/theme/index.html	2007-11-29 07:55:45.000000000 -0600
@@ -1,52 +1,52 @@
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
-<html>
-<head>
-
-<title>Converting cpg1.3.x themes to cpg1.4.x</title>
-<meta http-equiv="Content-Type" content="text/html; charset=us-ascii" />
-<meta name="language" content="en" />
-<meta name="author" content="Coppermine dev team" />
-<meta name="copyright" content="Coppermine dev team" />
-<meta name="description" content="Coppermine Photo Gallery project - Theme Upgrade Documentation" />
-<!-- CVS version info: $Id: index.html 4090 2007-11-29 12:56:01Z gaugau $ -->
-
-<link rel="stylesheet" type="text/css" href="style.css" />
-<link rel="start" href="index.html" title="Theme Upgrade Home" />
-<link rel="end" href="validation.html" title="Validation" />
-<link rel="next" href="edit_style.html" title="style.css" />
-</head>
-
-<body>
-
-<div class="globalNav">
-        <font class="globalNavSelect">&raquo; Theme Upgrade Home</font><a
-        href="edit_style.html">style.css</a><a
-        href="edit_template.html">template.html</a><a
-        href="edit_theme.html">theme.php</a><a
-        href="validation.html">Validation</a>
-</div>
-        Previous&nbsp;|&nbsp;<a href="edit_style.html">Next</a>
-<!-- end nav links -->
-
-<h1>Converting cpg1.3.x themes to cpg1.4.x</h1>
-
-  <p>
-                To make your custom made theme from cpg1.3.x work with cpg1.4.x, you will
-                need to make some changes. Remember to back up your original files, so
-                you can go back to a working version in case something goes wrong with
-                the modifications.
-        </p>
-        <p>
-                The files to be edited would be in the particular folder of the theme in the themes folder.
-                For example, the files for the "classic" theme could be found in themes/classic
-        </p>
-        <div id="toc" style="margin: 20px 10px 5px 20px;">
-                <ul>
-                        <li><a href="edit_style.html">Edit style.css</a></li>
-                        <li><a href="edit_template.html">Edit template.html</a></li>
-                        <li><a href="edit_theme.html">Edit theme.php</a></li>
-                        <li><a href="validation.html">Validation</a></li>
-                </ul>
-        </div>
-</body>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html>
+<head>
+
+<title>Converting cpg1.3.x themes to cpg1.4.x</title>
+<meta http-equiv="Content-Type" content="text/html; charset=us-ascii" />
+<meta name="language" content="en" />
+<meta name="author" content="Coppermine dev team" />
+<meta name="copyright" content="Coppermine dev team" />
+<meta name="description" content="Coppermine Photo Gallery project - Theme Upgrade Documentation" />
+<!-- CVS version info: $Id: index.html 4090 2007-11-29 12:56:01Z gaugau $ -->
+
+<link rel="stylesheet" type="text/css" href="style.css" />
+<link rel="start" href="index.html" title="Theme Upgrade Home" />
+<link rel="end" href="validation.html" title="Validation" />
+<link rel="next" href="edit_style.html" title="style.css" />
+</head>
+
+<body>
+
+<div class="globalNav">
+        <font class="globalNavSelect">&raquo; Theme Upgrade Home</font><a
+        href="edit_style.html">style.css</a><a
+        href="edit_template.html">template.html</a><a
+        href="edit_theme.html">theme.php</a><a
+        href="validation.html">Validation</a>
+</div>
+        Previous&nbsp;|&nbsp;<a href="edit_style.html">Next</a>
+<!-- end nav links -->
+
+<h1>Converting cpg1.3.x themes to cpg1.4.x</h1>
+
+  <p>
+                To make your custom made theme from cpg1.3.x work with cpg1.4.x, you will
+                need to make some changes. Remember to back up your original files, so
+                you can go back to a working version in case something goes wrong with
+                the modifications.
+        </p>
+        <p>
+                The files to be edited would be in the particular folder of the theme in the themes folder.
+                For example, the files for the "classic" theme could be found in themes/classic
+        </p>
+        <div id="toc" style="margin: 20px 10px 5px 20px;">
+                <ul>
+                        <li><a href="edit_style.html">Edit style.css</a></li>
+                        <li><a href="edit_template.html">Edit template.html</a></li>
+                        <li><a href="edit_theme.html">Edit theme.php</a></li>
+                        <li><a href="validation.html">Validation</a></li>
+                </ul>
+        </div>
+</body>
 </html>
\ No newline at end of file
diff -x .svn -aruN 1.4.24.src/docs/theme/style.css 1.4.25.src/docs/theme/style.css
--- 1.4.24.src/docs/theme/style.css	2009-05-21 15:03:09.000000000 -0500
+++ 1.4.25.src/docs/theme/style.css	2009-05-26 11:25:48.000000000 -0500
@@ -1,142 +1,142 @@
-/*************************
-  Coppermine Photo Gallery
-  ************************
-  Copyright (c) 2003-2009 Coppermine Dev Team
-  v1.1 originally written by Gregory DEMAR
-
-  This program is free software; you can redistribute it and/or modify
-  it under the terms of the GNU General Public License version 3
-  as published by the Free Software Foundation.
-  
-  ********************************************
-  Coppermine version: 1.4.24
-  $HeadURL: https://coppermine.svn.sourceforge.net/svnroot/coppermine/trunk/cpg1.4.x/docs/theme/style.css $
-  $Revision: 5969 $
-  $Author: gaugau $
-  $Date: 2009-05-21 22:03:33 +0200 (Do, 21 Mai 2009) $
-**********************************************/
-
-body {
-        font-family: Verdana, Arial, Helvetica, sans-serif;
-        margin: 10px 20px;
-        font-size: .9em;
-}
-
-p {
-        font-size: 1em;
-        margin: 10px 10px 0px 0px;
-}
-
-h1 {
-        font-weight: bolder;
-        font-size: 2em;
-        color: #0E72A4;
-        line-height: 120%;
-        font-family: "Trebuchet MS", Verdana, Arial, Helvetica, sans-serif;
-        text-decoration: none;
-}
-
-h2 {
-        font-weight: bolder;
-        font-size: 1.5em;
-        color: #0E72A4;
-        line-height: 120%;
-        font-family: "Trebuchet MS", Verdana, Arial, Helvetica, sans-serif;
-        text-decoration: none;
-}
-
-li {
-        margin:10px 5px 5px 5px;
-}
-
-li h6 {
-        margin:3px auto 0px;
-}
-
-li pre {
-        font-size: 12px;
-        margin:3px auto 15px 3px;
-        font-style: normal;
-        font-family: 'Courier New', Courier, monospace;
-        border: 2px solid #999999;
-        padding: 3px;
-        background-color: #E0E0E0;
-        width:90%;
-        overflow:auto;
-        padding: 0 3px 20px 3px;
-}
-
-li span {
-        font-size: 80%;
-        font-weight: lighter;
-}
-
-li h5 {
-        margin: 4px auto 0px;
-}
-
-.vanity {
-        width:400px;
-        background-color:#E0E0E0;
-        border:1px solid black;
-        text-align:center;
-}
-
-.vanity img {
-        margin:3px 15px;
-}
-
-.new {
-        font-weight:bolder;
-        color:red;
-}
-
-.globalNav {
-        top: 135px;
-        text-align: right;
-        margin: 0;
-        padding: 0;
-        z-index: 10;
-}
-
-.globalNav a {
-        text-align: left;
-        font-family: Arial, Helvetica, sans-serif;
-        font-size: 105%;
-        padding: 1px 7px;
-        color: black;
-        vertical-align: top;
-        line-height: 200%;
-        text-decoration: none;
-        display:inline;
-        border-left: solid gray 2px;
-}
-
-.globalNav a:visited  {/* visited link */
-        color: gray;
-}
-
-.globalNav a:hover  {/* mouse over link */
-        background-color: white;
-        text-decoration: none;
-        color: #CC0000;
-}
-
-.globalNavSelect {
-        font-family: Arial, Helvetica, sans-serif;
-        font-size: 105%;
-        font-weight: bold;
-        background-color: #0E72A4;
-        padding: 1px 2px;
-        color: white;
-        line-height: 190%;
-        font-variant: small-caps;
-        border-left: solid gray 2px;
-        border-right: solid gray 1px;
-}
-
-#footer {
-        border-top: 1px solid gray;
-        margin-top: 30px;
-        padding-top: 10px;
+/*************************
+  Coppermine Photo Gallery
+  ************************
+  Copyright (c) 2003-2009 Coppermine Dev Team
+  v1.1 originally written by Gregory DEMAR
+
+  This program is free software; you can redistribute it and/or modify
+  it under the terms of the GNU General Public License version 3
+  as published by the Free Software Foundation.
+  
+  ********************************************
+  Coppermine version: 1.4.25
+  $HeadURL: https://coppermine.svn.sourceforge.net/svnroot/coppermine/trunk/cpg1.4.x/docs/theme/style.css $
+  $Revision: 5997 $
+  $Author: gaugau $
+  $Date: 2009-05-26 08:43:24 +0200 (Di, 26 Mai 2009) $
+**********************************************/
+
+body {
+        font-family: Verdana, Arial, Helvetica, sans-serif;
+        margin: 10px 20px;
+        font-size: .9em;
+}
+
+p {
+        font-size: 1em;
+        margin: 10px 10px 0px 0px;
+}
+
+h1 {
+        font-weight: bolder;
+        font-size: 2em;
+        color: #0E72A4;
+        line-height: 120%;
+        font-family: "Trebuchet MS", Verdana, Arial, Helvetica, sans-serif;
+        text-decoration: none;
+}
+
+h2 {
+        font-weight: bolder;
+        font-size: 1.5em;
+        color: #0E72A4;
+        line-height: 120%;
+        font-family: "Trebuchet MS", Verdana, Arial, Helvetica, sans-serif;
+        text-decoration: none;
+}
+
+li {
+        margin:10px 5px 5px 5px;
+}
+
+li h6 {
+        margin:3px auto 0px;
+}
+
+li pre {
+        font-size: 12px;
+        margin:3px auto 15px 3px;
+        font-style: normal;
+        font-family: 'Courier New', Courier, monospace;
+        border: 2px solid #999999;
+        padding: 3px;
+        background-color: #E0E0E0;
+        width:90%;
+        overflow:auto;
+        padding: 0 3px 20px 3px;
+}
+
+li span {
+        font-size: 80%;
+        font-weight: lighter;
+}
+
+li h5 {
+        margin: 4px auto 0px;
+}
+
+.vanity {
+        width:400px;
+        background-color:#E0E0E0;
+        border:1px solid black;
+        text-align:center;
+}
+
+.vanity img {
+        margin:3px 15px;
+}
+
+.new {
+        font-weight:bolder;
+        color:red;
+}
+
+.globalNav {
+        top: 135px;
+        text-align: right;
+        margin: 0;
+        padding: 0;
+        z-index: 10;
+}
+
+.globalNav a {
+        text-align: left;
+        font-family: Arial, Helvetica, sans-serif;
+        font-size: 105%;
+        padding: 1px 7px;
+        color: black;
+        vertical-align: top;
+        line-height: 200%;
+        text-decoration: none;
+        display:inline;
+        border-left: solid gray 2px;
+}
+
+.globalNav a:visited  {/* visited link */
+        color: gray;
+}
+
+.globalNav a:hover  {/* mouse over link */
+        background-color: white;
+        text-decoration: none;
+        color: #CC0000;
+}
+
+.globalNavSelect {
+        font-family: Arial, Helvetica, sans-serif;
+        font-size: 105%;
+        font-weight: bold;
+        background-color: #0E72A4;
+        padding: 1px 2px;
+        color: white;
+        line-height: 190%;
+        font-variant: small-caps;
+        border-left: solid gray 2px;
+        border-right: solid gray 1px;
+}
+
+#footer {
+        border-top: 1px solid gray;
+        margin-top: 30px;
+        padding-top: 10px;
 }
\ No newline at end of file
diff -x .svn -aruN 1.4.24.src/docs/theme/validation.html 1.4.25.src/docs/theme/validation.html
--- 1.4.24.src/docs/theme/validation.html	2007-11-29 06:55:38.000000000 -0600
+++ 1.4.25.src/docs/theme/validation.html	2007-11-29 07:55:45.000000000 -0600
@@ -1,110 +1,110 @@
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
-<html>
-<head>
-
-<title>Validation</title>
-<meta http-equiv="Content-Type" content="text/html; charset=us-ascii" />
-<meta name="language" content="en" />
-<meta name="author" content="Coppermine dev team" />
-<meta name="copyright" content="Coppermine dev team" />
-<meta name="description" content="Coppermine Photo Gallery project - Theme Upgrade Documentation" />
-<!-- CVS version info: $Id: validation.html 4090 2007-11-29 12:56:01Z gaugau $ -->
-
-<link rel="stylesheet" type="text/css" href="style.css" />
-<link rel="start" href="index.html" title="Theme Upgrade Home" />
-<link rel="end" href="validation.html" title="Validation" />
-<link rel="prev" href="edit_theme.html" title="theme.php" />
-
-</head>
-
-<body>
-
-<div class="globalNav">
-        <a
-        href="index.html">Theme Upgrade Home</a><a
-        href="edit_style.html">style.css</a><a
-        href="edit_template.html">template.html</a><a
-        href="edit_theme.html">theme.php</a><font
-        class="globalNavSelect">&raquo; Validation</font>
-</div>
-<a href="edit_theme.html">Previous</a>&nbsp;|&nbsp;Next
-<!-- end nav links -->
-
-  <h2>Validation Methodology</h2>
-
-  <p>Now that you have a functioning "style.css", "template.html" and
-"theme.php" you should verify that it is generating valid output.
-        </p>
-
-  <ol>
-    <li>
-      Suggestions to help you bring the theme you are editing up to XHTML 1.0 Transitional HTML
-
-      <ul>
-        <li>All ampersands that form part of a <u><b>URL</b></u> are to be coded '&amp;amp;'. There are quite a few of these in the functions of theme.php.</li>
-
-        <li>All images to have the 'alt' attribute, and be closed ' /&gt;'.</li>
-
-        <li>All meta tags should be closed ' /&gt;'</li>
-
-        <li>All &lt;hr&gt; and &lt;br&gt; tags should be closed &lt;hr /&gt;&lt;br /&gt;</li>
-
-        <li>All background images/colors to be changed to CSS or style attributes. This depends on the layout.</li>
-
-        <li>Any existing tags or attributes in uppercase (such as onClick) to be changed to lowercase.</li>
-      </ul>
-    </li>
-
-    <li>Save all your open files and upload them to your webserver; test-drive both as admin and as "regular" user.</li>
-
-    <li>
-      Use the following methodology to confirm that your theme generates valid XHTML 1.0 Transitional HTML.
-
-      <p>Each of the following pages needs to be <a href="http://validator.w3.org/">validated</a> as an anonymous user, registered user, and in admin mode:</p>
-
-      <ul>
-        <li>index.php</li>
-
-        <li>thumbnails.php</li>
-
-        <li>displayimage.php</li>
-
-        <li>search.php</li>
-
-        <li>emailed HTML E-card.</li>
-      </ul>
-
-      <p>The following toolbars can assist you in validating the resulting output of your theme:</p>
-
-      <p>Internet Explorer:</p>
-
-      <ul>
-        <li><a href="http://www.nils.org.au/ais/web/resources/toolbar/index.html">Web Accessibility Toolbar</a> (Creative Commons License)</li>
-      </ul>
-
-      <p>Mozilla Firefox:</p>
-
-      <ul>
-        <li><a href="http://www.chrispederick.com/work/firefox/webdeveloper/">Web Developer Extension</a> (GPL)</li>
-      </ul>
-    </li>
-  </ol>
-
-  <h2>Congratulations</h2>
-
-  <p>Your theme should now be ready to use with Coppermine 1.4.x</p>
-
-<div id="footer">
-        <a href="edit_theme.html">Previous</a>&nbsp;|&nbsp;Next
-        <div class="globalNav">
-                <a
-                href="index.html">Theme Upgrade Home</a><a
-                href="edit_style.html">style.css</a><a
-                href="edit_template.html">template.html</a><a
-                href="edit_theme.html">theme.php</a><font
-                class="globalNavSelect">&raquo; Validation</font>
-        </div>
-        <!-- end nav links -->
-</div>
-</body>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html>
+<head>
+
+<title>Validation</title>
+<meta http-equiv="Content-Type" content="text/html; charset=us-ascii" />
+<meta name="language" content="en" />
+<meta name="author" content="Coppermine dev team" />
+<meta name="copyright" content="Coppermine dev team" />
+<meta name="description" content="Coppermine Photo Gallery project - Theme Upgrade Documentation" />
+<!-- CVS version info: $Id: validation.html 4090 2007-11-29 12:56:01Z gaugau $ -->
+
+<link rel="stylesheet" type="text/css" href="style.css" />
+<link rel="start" href="index.html" title="Theme Upgrade Home" />
+<link rel="end" href="validation.html" title="Validation" />
+<link rel="prev" href="edit_theme.html" title="theme.php" />
+
+</head>
+
+<body>
+
+<div class="globalNav">
+        <a
+        href="index.html">Theme Upgrade Home</a><a
+        href="edit_style.html">style.css</a><a
+        href="edit_template.html">template.html</a><a
+        href="edit_theme.html">theme.php</a><font
+        class="globalNavSelect">&raquo; Validation</font>
+</div>
+<a href="edit_theme.html">Previous</a>&nbsp;|&nbsp;Next
+<!-- end nav links -->
+
+  <h2>Validation Methodology</h2>
+
+  <p>Now that you have a functioning "style.css", "template.html" and
+"theme.php" you should verify that it is generating valid output.
+        </p>
+
+  <ol>
+    <li>
+      Suggestions to help you bring the theme you are editing up to XHTML 1.0 Transitional HTML
+
+      <ul>
+        <li>All ampersands that form part of a <u><b>URL</b></u> are to be coded '&amp;amp;'. There are quite a few of these in the functions of theme.php.</li>
+
+        <li>All images to have the 'alt' attribute, and be closed ' /&gt;'.</li>
+
+        <li>All meta tags should be closed ' /&gt;'</li>
+
+        <li>All &lt;hr&gt; and &lt;br&gt; tags should be closed &lt;hr /&gt;&lt;br /&gt;</li>
+
+        <li>All background images/colors to be changed to CSS or style attributes. This depends on the layout.</li>
+
+        <li>Any existing tags or attributes in uppercase (such as onClick) to be changed to lowercase.</li>
+      </ul>
+    </li>
+
+    <li>Save all your open files and upload them to your webserver; test-drive both as admin and as "regular" user.</li>
+
+    <li>
+      Use the following methodology to confirm that your theme generates valid XHTML 1.0 Transitional HTML.
+
+      <p>Each of the following pages needs to be <a href="http://validator.w3.org/">validated</a> as an anonymous user, registered user, and in admin mode:</p>
+
+      <ul>
+        <li>index.php</li>
+
+        <li>thumbnails.php</li>
+
+        <li>displayimage.php</li>
+
+        <li>search.php</li>
+
+        <li>emailed HTML E-card.</li>
+      </ul>
+
+      <p>The following toolbars can assist you in validating the resulting output of your theme:</p>
+
+      <p>Internet Explorer:</p>
+
+      <ul>
+        <li><a href="http://www.nils.org.au/ais/web/resources/toolbar/index.html">Web Accessibility Toolbar</a> (Creative Commons License)</li>
+      </ul>
+
+      <p>Mozilla Firefox:</p>
+
+      <ul>
+        <li><a href="http://www.chrispederick.com/work/firefox/webdeveloper/">Web Developer Extension</a> (GPL)</li>
+      </ul>
+    </li>
+  </ol>
+
+  <h2>Congratulations</h2>
+
+  <p>Your theme should now be ready to use with Coppermine 1.4.x</p>
+
+<div id="footer">
+        <a href="edit_theme.html">Previous</a>&nbsp;|&nbsp;Next
+        <div class="globalNav">
+                <a
+                href="index.html">Theme Upgrade Home</a><a
+                href="edit_style.html">style.css</a><a
+                href="edit_template.html">template.html</a><a
+                href="edit_theme.html">theme.php</a><font
+                class="globalNavSelect">&raquo; Validation</font>
+        </div>
+        <!-- end nav links -->
+</div>
+</body>
 </html>
\ No newline at end of file
diff -x .svn -aruN 1.4.24.src/docs/theme.htm 1.4.25.src/docs/theme.htm
--- 1.4.24.src/docs/theme.htm	2009-05-21 15:03:09.000000000 -0500
+++ 1.4.25.src/docs/theme.htm	2009-05-26 11:25:48.000000000 -0500
@@ -1,55 +1,55 @@
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml">
-<head>
-<title>Coppermine Photo Gallery - Theme upgrade</title>
-<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
-<meta http-equiv="refresh" content="10; url=theme/index.php">
-<style type="text/css">
-<!--
-body {
-        font-family : Verdana, Arial, Helvetica, sans-serif;
-        font-size: 12px;
-        background : #F7F7F7 ;
-        color : Black;
-        margin: 20px;
-}
-
-h1{
-        font-weight: bold;
-        font-size: 22px;
-        font-family: "Trebuchet MS", Verdana, Arial, Helvetica, sans-serif;
-        text-decoration: none;
-        line-height : 120%;
-        color : #000000;
-}
-
-p {
-        font-family : Verdana, Arial, Helvetica, sans-serif;
-        font-size: 12px;
-        margin: 10px 10px 0px 0px;
-}
-
--->
-</style>
-
-<!--
-  Subversion information (for information and developer purposes only - safe to ignore for everybody else):
-  Coppermine version: 1.4.24
-  $HeadURL: https://coppermine.svn.sourceforge.net/svnroot/coppermine/trunk/cpg1.4.x/docs/theme.htm $
-  $Revision: 5969 $
-  $Author: gaugau $
-  $Date: 2009-05-21 22:03:33 +0200 (Do, 21 Mai 2009) $
--->
-
-</head>
-
-<body>
-<h1><img src="../images/coppermine_logo.png" width="300" height="75" /></h1>
-<h1>Coppermine Photo Gallery</h1>
-<h2>Upgrading custom themes</h2>
-<p align="center">The content of this page has been moved.<br />
-You will be redirected to the proper page in 10 seconds.<br />
-If you don't want to wait (or your browser doesn't support redirect), click <a href="theme/index.html">here</a>.</p>
-
-</body>
-</html>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+<title>Coppermine Photo Gallery - Theme upgrade</title>
+<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
+<meta http-equiv="refresh" content="10; url=theme/index.php">
+<style type="text/css">
+<!--
+body {
+        font-family : Verdana, Arial, Helvetica, sans-serif;
+        font-size: 12px;
+        background : #F7F7F7 ;
+        color : Black;
+        margin: 20px;
+}
+
+h1{
+        font-weight: bold;
+        font-size: 22px;
+        font-family: "Trebuchet MS", Verdana, Arial, Helvetica, sans-serif;
+        text-decoration: none;
+        line-height : 120%;
+        color : #000000;
+}
+
+p {
+        font-family : Verdana, Arial, Helvetica, sans-serif;
+        font-size: 12px;
+        margin: 10px 10px 0px 0px;
+}
+
+-->
+</style>
+
+<!--
+  Subversion information (for information and developer purposes only - safe to ignore for everybody else):
+  Coppermine version: 1.4.25
+  $HeadURL: https://coppermine.svn.sourceforge.net/svnroot/coppermine/trunk/cpg1.4.x/docs/theme.htm $
+  $Revision: 5997 $
+  $Author: gaugau $
+  $Date: 2009-05-26 08:43:24 +0200 (Di, 26 Mai 2009) $
+-->
+
+</head>
+
+<body>
+<h1><img src="../images/coppermine_logo.png" width="300" height="75" /></h1>
+<h1>Coppermine Photo Gallery</h1>
+<h2>Upgrading custom themes</h2>
+<p align="center">The content of this page has been moved.<br />
+You will be redirected to the proper page in 10 seconds.<br />
+If you don't want to wait (or your browser doesn't support redirect), click <a href="theme/index.html">here</a>.</p>
+
+</body>
+</html>
diff -x .svn -aruN 1.4.24.src/docs/translation.htm 1.4.25.src/docs/translation.htm
--- 1.4.24.src/docs/translation.htm	2009-05-21 15:03:09.000000000 -0500
+++ 1.4.25.src/docs/translation.htm	2009-05-26 11:25:48.000000000 -0500
@@ -1,232 +1,232 @@
-<!doctype html public "-//W3C//DTD HTML 4.01 Transitional//EN">
-<html xmlns="http://www.w3.org/1999/xhtml">
-<head>
-<title>Coppermine Photo Gallery - Translator's Guide</title>
-<meta http-equiv="content-type" content="text/html; charset=iso-8859-1">
-<style type="text/css">
-
-body {
-        font-size: 12px; background: #F7F7F7; margin: 2%; color: black; font-family: verdana, arial, helvetica, sans-serif;
-        scrollbar-face-color: #DEE3E7;
-        scrollbar-highlight-color: #FFFFFF;
-        scrollbar-shadow-color: #DEE3E7;
-        scrollbar-3dlight-color: #D1D7DC;
-        scrollbar-arrow-color:  #006699;
-        scrollbar-track-color: #EFEFEF;
-        scrollbar-darkshadow-color: #98AAB1;
-}
-td {
-        font-size: 12px
-}
-h1 {
-        font-weight: bolder; font-size: 24px; color: #0E72A4; line-height: 120%; font-family: "Trebuchet MS", Verdana, Arial, Helvetica, sans-serif; text-decoration: none
-}
-h2 {
-        font-size: 20px; color: #0E72A4; font-family: Arial, Helvetica, sans-serif; text-decoration: none;
-}
-h3 {
-        font-weight: bolder; font-size: 16px; font-family: Verdana, Arial, Helvetica, sans-serif; text-decoration: none; color: #0E72A4;
-}
-h4 {
-        font-weight: bold; font-size: 14px; font-family: Verdana, Arial, Helvetica, sans-serif; text-decoration: none; color: #0E72A4;
-}
-p {
-        font-size: 12px; margin: 10px 10px 0px 0px; font-family: Verdana, Arial, Helvetica, sans-serif
-}
-pre {
-        border-right: #999999 1px solid; padding-right: 5px; border-top: #999999 1px solid; padding-left: 5px; font-size: 12px; padding-bottom: 5px; margin: 10px 10px 0px 0px; border-left: #999999 1px solid; padding-top: 5px; border-bottom: #999999 1px solid; font-style: normal; font-family: "Courier New", Courier, mono; background-color: #E0E0E0
-}
-
-tt {
-        font-size: 12px;
-        font-style: normal;
-        font-family: "Courier New", Courier, mono;
-        background-color: #E0E0E0;
-        margin-right: 15px;
-}
-
-ul {
-        padding-right: 0px; padding-left: 0px; padding-bottom: 0px; margin: 10px 0px 10px 5px; padding-top: 0px
-}
-ul.content {
-        padding-right: 0px; padding-left: 0px; padding-bottom: 0px; margin: 5px 5px 0px 0px; padding-top: 0px
-}
-li {
-        padding-right: 0px; margin-top: 4px; padding-left: 0px; list-style-position: outside; margin-bottom: 4px; padding-bottom: 0px; margin-left: 10px; padding-top: 0px;
-}
-li.content {
-        padding-right: 0px; margin-top: 0px; padding-left: 0px; list-style-position: outside; margin-bottom: 5px; padding-bottom: 0px; margin-left: 10px; padding-top: 0px; list-style-type: none;
-}
-hr {
-        border-right: #000000 0px solid; border-top: #000000 1px solid; border-left: #000000 0px solid; border-bottom: #000000 0px solid; height: 0px
-}
-.navbar {
-        font-weight: bold; font-size: 10px; background: url(/coppermine/themes/pixel-rave-blue100/images/nav-bar-button.gif) #72a5cc no-repeat; vertical-align: middle; color: #A5C6DF; font-family: Arial, Helvetica, sans-serif
-}
-a.navbar {
-        display: block; vertical-align: middle; width: 100px; color: #A5C6DF; line-height: 25px; position: relative; height: 25px; text-align: center; text-decoration: none
-}
-a.navbar:hover {
-        color: #ffffff; text-decoration: none
-}
-
-.back {
-        margin-top: 10px; font-size: 10px; margin-bottom: 10px
-}
-.important { color: red }
-
-.example { color:#0E72A4;font-weight:bold; }
-</style>
-<!--
-  Subversion information (for information and developer purposes only - safe to ignore for everybody else):
-  Coppermine version: 1.4.24
-  $HeadURL: https://coppermine.svn.sourceforge.net/svnroot/coppermine/trunk/cpg1.4.x/docs/translation.htm $
-  $Revision: 5969 $
-  $Author: gaugau $
-  $Date: 2009-05-21 22:03:33 +0200 (Do, 21 Mai 2009) $
--->
-</head>
-<body>
-<table cellspacing="0" cellpadding="0" width="100%" border="0">
-  <tbody>
-  <tr>
-    <td>
-
-<h1>Coppermine Photo Gallery - Translator's Guide</h1>
-
-
-
-
-<h2>Translators wanted!</h2>
-<p>One of the major features of a Coppermine photo gallery is the fact that all page content can be displayed in different languages, with translations being contained in one file (located inside of the coppermine <i>lang</i> directory ). If you use Coppermine and feel that you would like to give something back to the community, why not start a translation of coppermine for your language?</p>
-<p>These are the rules and guidelines for translation to help you get started.</p>
-
-<h2>Why translate?</h2>
-<ul>
-<li>To give something back to the community</li>
-<li>Because you needed the translation anyway...</li>
-<li>To see your name on the credits list</li>
-<li>To promote your services (being linked from a relevant page like the Coppermine team/credits page will increase your page rank as well)</li>
-<li>Because you're a nice person</li>
-</ul>
-
-<h2>Translations for which languages are needed?</h2>
-<p>There are already several languages supported by coppermine; as the number of language-files for coppermine grows, there may be translations available that were not included into the package you downloaded. Before you actually start to work on a translation, look here:
-<ul>
-<li>Is the language you're looking for already included in the lang-folder of the coppermine package you downloaded?</li>
-<li>Is the language file already available as separate download in the language section of the coppermine project page? Visit <a href="http://sourceforge.net/project/showfiles.php?group_id=89658&package_id=98540">http://sourceforge.net/project/showfiles.php?group_id=89658&package_id=98540</a></li>
-<li>Has someone volunteered to do the translation recently on the Coppermine board thread &quot;<a href="http://coppermine-gallery.net/forum/index.php?topic=20355.0">[Help wanted]: Translations for CPG1.4.x</a>&quot;? Please read the thread carefully to check if the translation has already been done or is in the works. We appreciate your intent, and we also value your time, so it'd be a pity if you and another translators went through all the work to submit two versions of the same language.<br />
-You may find also find additional information there that didn't make it into this document ...</li>
-</ul>
-</p>
-<h2>Who can translate?</h2>
-<p>Anyone with a good grasp of a language can, but when a new version of coppermine is being prepped for released, the dev team will contact the translators of previous versions and ask them to translate for the new version, as well. These &quot;original&quot; translators are requested to advise the development team if they are willing and able to do the translation (before actual work on the translation starts). Languages previously assigned to those who respond that they're unable to do the &quot;new&quot; translation or those assigned to translators that fail to reply, over a prescribed time, will be placed on a list on &quot;<a href="http://coppermine-gallery.net/forum/index.php?topic=20355.0">[Help wanted]: Translations for CPG1.4.x</a>&quot;.  Anyone who is interested and ready to help with the translation for these &quot;orphaned&quot; languages should reply to the thread and assign the translation to him/herself.</p>
-<p>If you are fluent in a language that hasn't been translated yet and hasn't been assigned to anyone, please assign it to yourself.</p>
-
-<h2>Character encoding</h2>
-<p>Many languages have special alphabets other than the latin set, or have additional characters (like &auml; &szlig; &agrave; &aacute; &acirc; &atilde; &aring; &aelig; &ccedil; &thorn; &eth; &oslash;). Many of these special chars have what are called <i>html equivalents</i> (e.g. <i>&amp;auml;</i> for <i>&auml;</i>), but you <b>must not use</b> these html equivalents of your special language characters when doing your translations, as unwanted side-effects may appear with the usage of JavaScript!</p>
-
-<p>Coppermine adds a charset meta tag to the header of each ouput file to instruct the browser how to render special chars. You should add the name of the charset you're using for your translation at the very start of the language file, e.g.<pre>$lang_charset = 'iso-8859-1';</pre>. You can find a list of charsets at <a href="http://www.w3.org/International/O-charset-lang.html">http://www.w3.org/International/O-charset-lang.html</a>. Whenever possible, you shouldn't choose platform-dependant charset (e.g. <i>windows-1252</i>), but cross-platform ones (e.g. <i>iso-8859-1</i>).</p>
-<p>In cpg1.4.x, the language files in the package come as utf-8 files only. If you can, submit your translation in this encoding. If you have no idea how to do this though, don't worry - submit the file in the encoding you chose, a dev team member will convert it accordingly for you.</p>
-
-<h2>Editors &amp; Tools</h2>
-<p>In fact you can use nearly any <b>text</b> editor you feel comfortable with that will allow you to save your text in the ANSI format - Windows Notepad (also known as &quot;Editor&quot; in Windows 2000/XP) will do just fine.</p>
-<p>To determine whether or not your favorite text editor can correctly handle the necessary encoding, start the translation by translating only a few lines (preferrably some that contain special chars from you language), save the translation file and close it. Then try to open it with a plain text editor on your system (e.g. Notepad) - if everything displays as expected, your editor should work fine.</p>
-<p>Recommended Tools: to see what has changed between the language files of cpg1.3.x and cpg1.4.x, we recommend using a diff viewer that can highlight the differences in both files. Windows users should opt for the great, changes in file viewer <a href="http://winmerge.sourceforge.net/">WinMerge</a> (available as freeware; 1.95 MB, localizations available as well): You can even edit the files with this tool (352 of 1152 lines have been added or changed). All new/changed lines have a comment at the end like this one: <tt>//cpg1.4.x</tt></p>
-
-<h2>Full translations only</h2>
-<p>Up until version 1.2 of coppermine we only sent out the lines that had changed in the language files from previous versions to the translators. Although this seemed to be a very easy solution and approach, we soon discovered that this method had severe drawbacks:
-<ul>
-<li>The translators couldn't test their code immediately - if a single quote is missing from the language file, the entire file won't work</li>
-<li>Too often, corrections had to be sent back and forth between the dev team and the translators</li>
-<li>The dev team had to merge the previous language files with the bits that were newly translated - this resulted in an additional heavy workload for the dev team, slowing down the new release and keeping them from what they do best</li>
-<li>The translators didn't know the exact context that some lines appeared in, making it impossible to provide the proper translations</li>
-</ul>
-</p>
-<p>For these reasons we now provide the translators with the most recent english language file along with all existing language files of previous versions as references. Additionally we provide this guide that you are currently reading, asking them (the translators: <i>you</i> in this particular case) to translate the file in its entirety. Of course, you can (and are even encouraged to) take a look at the language files from older versions and adopt (port) the contents that are already in the old version whenever they apply.</p>
-
-<h2>Step by step</h2>
-<p>Here are the detailed steps for translating coppermine language files:</p>
-<ol>
-<li>open english.php with your text editor</li>
-<li>Save the file immediately after opening under a different filename (to make sure you always have an unmodified english language file that can be used as a reference) - the filenames of the language files will decide how the language name will look in the dropdown list of the coppermine backend - use the english(roman characters)name of your language as the final filename, using lowercase in the name with no spaces or special chars (except &quot;-&quot; and &quot;_&quot; and the dot to mark the extension. If the language name itself isn't self-explanatory, add info with an underscore.<br />
-<b>Examples</b>: german.php, italian.php, greek.php, brazilian_portuguese.php</li>
-<li>Edit the header info (example content is <span class="example">highlighted</span>):<br />
-<tt>// info about translators and translated language</tt><br />
-<tt>$lang_translation_info = array(</tt><br />
-<tt>'lang_name_english' => '<span class="example">German</span>',</tt>The name of your language in English<br />
-<tt>'lang_name_native' => '<span class="example">Deutsch</span>',</tt>The name of your language in your mother tongue<br />
-<tt>'lang_country_code' => '<span class="example">de</span>',</tt>The country code representing your language. If your language is spoken in several countries, choose the one most people will relate to your language<br />
-<tt>'trans_name'=> '<span class="example">GauGau</span>',</tt>Your name (or rather the name you would like to appear on the credits page)<br />
-<tt>'trans_email' => '',</tt>If you prefer, your email address, which would normally appear on the credits page, can be left blank<br />
-<tt>'trans_website' => '<span class="example">http://gaugau.de/</span>',</tt>Your website (goes to credit page). If you specify none, your profile page will be displayed instead<br />
-<tt>'trans_date' => '<span class="example">2004-03-17</span>',</tt>The date you translated/last changed the language file<br />
-<tt>);</tt><br />
-Fill in the data you want to appear on the credits page as shown in the example above.</li>
-<li>The coppermine language file is used to dynamically replace php variables/arrays with the correct content. There are different ways those arrays are being filled - as shown in these examples (stuff that needs to be translated is <span class="example">highlighted</span>):<br />
-  <ul style="list-style-type:square" type="square">
-  <li>
-  <tt>$lang_day_of_week = array('<span class="example">Sun</span>', '<span class="example">Mon</span>', '<span class="example">Tue</span>', '<span class="example">Wed</span>', '<span class="example">Thu</span>', '<span class="example">Fri</span>', '<span class="example">Sat</span>');</tt>A plain list of values in an array. Translate each word inside the quotes.</li>
-  <li><tt>$lang_yes = '<span class="example">Yes</span>';</tt></li>A value is assigned to a variable. Translate everything inside the single quotes.
-  <li><tt>$lang_cat_list = array(<br />
-        'category' => '<span class="example">Category</span>',</tt>An array with key =&gt; value pairs. Only translate the value, the key <b>must</b> be left alone!<br /><tt>
-        'albums' => '<span class="example">Albums</span>',<br />
-        'pictures' => '<span class="example">Files</span>',<br />
-);</tt></li>
-  <li><tt>if (defined('ADMIN_PHP')) $lang_admin_data = array(</tt>Cascaded/multi-dimensional arrays. Translate the very first entry in each line.<br /><tt>
-        '<span class="example">General settings</span>',<br />
-        array('<span class="example">Gallery name</span>', 'gallery_name', 0),<br />
-        array('<span class="example">Gallery description</span>', 'gallery_description', 0),<br />
-        array('<span class="example">Gallery administrator email</span>', 'gallery_admin_email', 0),<br />
-        array('<span class="example">Target address for the \'See more pictures\' link in e-cards</span>', 'ecards_more_pic_target', 0),<br />
-        array('<span class="example">Gallery is offline</span>', 'offline', 1),<br />
-        //...</tt></li>
-        <li><tt>$lang_register_disclamer = &lt;&lt;&lt;EOT<br />
-<span class="example">While the administrators of</span> {SITE_NAME} <span class="example">will attempt to remove or [...]</span><br />
-&lt;br /&gt;<br />
-<span class="example">By clicking 'I agree' below you agree to be bound by these conditions.</span><br />
-EOT;</tt>Var definitions using the <a href="http://www.php.net/manual/en/language.types.string.php#language.types.string.syntax.heredoc">heredoc</a> syntax: make sure to only translate the plain text, leaving everything in curled braces and all html tags intact</li>
-  </ul>
-<p>Translate the entire language file as described - you'll find your way around in no time, even if you're not a seasoned PHP coder.</p>
-</li>
-<li>Test your translation: upload your language file to your server and browse your gallery, adding an additional parameter <tt>lang=your_language_name</tt> to the URL (e.g. <tt>http://yoursite.tld/coppermine/?lang=german)</tt>. Make sure to test as many aspects as possible from the file you creaeted, especially in the creation, renaming and deleting of users,categories, albums, pictures and comments.</li>
-<li>Proof-reading: if you can, let someone else (preferably non-tech user) test your translation as well. You might be surprised as to what they will discover...</li>
-<li>Send your translation as an attachment to <tt>gaugau AT users DOT sourceforge DOT net</tt> ( gaugau@users.sourceforge.net ). Please make sure to include a proper subject line saying &quot;Coppermine Translation: XXX language file&quot; (Devs often receive so much spam mail these days that if the subject line of an email doesn't look appropriate for him/her, the email may be deleted without having ever been read.<br />
-You can send the attachment as a php file or you can put it inside of a .zip archive, but please don't use other exotic archival formats such as .rar, .ace, etc. </li>
-</ol>
-
-<h2>Special issues</h2>
-<h3>Escaping single quotes</h3>
-<p>As you may have already notice, all translation strings are contained between a pair of  single quotes or apostrophes - this is the proper method used in PHP. Therefore, if you want your translation to actually contain a single quote (apostrophe), you must &quot;instruct&quot; PHP that the apostrophe (single quote) contained in a text string is part of the string and not the end of the string. For this purpose, a backslash (<span class="example">\</span>) is used to instruct PHP that the character immediately following it is a "string" character and not part of the PHP code, itself. This is called <i>escaping</i> a character, in programing languages. PHP uses the backslash (<span class="example">\</span>) to escape characters, that's why care must be taken to <b>not</b> do this:
-<pre>array('Target address for the 'See more pictures' link in e-cards', 'ecards_more_pic_target', 0),</pre> <p>but, to do this, instead: </p>
-<pre>array('Target address for the \'See more pictures\' link in e-cards', 'ecards_more_pic_target', 0),</pre></p>
-<h3>Single quotes in JavaScript (//js-alert)</h3>
-<p>Things are a bit more complicated if the output is to be used not only in plain HTML, but in JavaScript, as well.  Single quotes that appear in the HTML output of the language file must also be escaped for use in any JavaScript routine with a backslash as well.  That's why specific lines in the language file that will be used as JavaScript in Coppermine's output have been tagged with a comment at the end of the line, which reads: <tt>//js-alert</tt>. If you intend to have a single quote in the final output, you'll have to add 3 backslashes in front of the single quote, as in this example: <pre>'no_change' => 'Vous n\\\'avez effectu aucun changement !', //js-alert</pre></p>
-<h3>Placeholders with " % "</h3>
-<p>You'll also notice that in several places of the language file, there are text that contain a percent-sign (<span class="example">%</span>), followed immediately by a letter. Those combinations must not be translated or separated - they are there intentionally and are used later as specifier arguments, or calls, for variable replacement and/or formating that needs to take place.</p>
-
-<h2>Language versions</h2>
-<h3>Found a typo/spelling error?</h3>
-<p>Maybe a translation for your language has already been done, but you're not happy with it: if there are bugs (spelling errors etc.), first check the <a href="http://sourceforge.net/project/showfiles.php?group_id=89658&package_id=98540">download section</a> to see if a fixed (updated) version has already been submitted. If not, report your finding(s) on the board along with your suggestion for a fix, like this:<br />
-<i>in lang/yourlanguage.php search for</i>
-<pre>  'some_definition' => 'bar foo',</pre>
-<i>and replace with</i>
-<pre>  'some_definition' => 'foo bar',</pre>
-</p>
-<h3>Another translation?</h3>
-<p>Everybody who knows languages knows that there is no such thing as &quot;one correct translation&quot; - there are always differences in the way we to translate expressions, or whole sentences. Maybe you feel that an existing version of your language file doesn't suit your purpose; perhaps the translator had another audience /target group in mind, or you want a more formal translation (in many languages there are signifcant difference in grammar and expression between formal and casual speech or text).<br />
-Please do not flame (berate) the original translator on the board, but provide an alternative translation along with details on what you changed and for what target audience your version is intended.</p>
-
-<h2>Work in progress</h2>
-<p>Coppermine, like everything else online, is a work in progress. Your copy of the english.php (that should always be used as the base reference file for your translation) may already be outdated. That's why it is critical that you always refer to the <a href="http://sourceforge.net/project/showfiles.php?group_id=89658&package_id=98540"> download section</a> or <a href="http://svn.sourceforge.net/viewcvs.cgi/coppermine/trunk/stable/lang/"> Subversion-Repository Language Section</a> to make sure that you have the most recent english language file (translator version) on hand before starting your translation (and maybe even the most updated version of this document, as well, as there may be many questions along the way that need to be addressed in this document after the initial release of this document). Remember: if an option/replacement string is not translated, it will not be visible in your language at all.</p>
-
-<h2>Initial translation for release</h2>
-<p>When preparing for a release, the dev team sets up a feature freeze to allow the translators to submit their translations, halting the coppermine development during that period. If you're willing to translate, do so as soon as possible and send your translation back immediately to ensure that the new version of coppermine can be released <b>with</b> your language file.</p>
-<br />&nbsp;<br />&nbsp;<br />
-
-GauGau (aka Joachim M&uuml;ller)<br />
-- Coppermine dev team -
-
-
-</td></tr></tbody></table>
+<!doctype html public "-//W3C//DTD HTML 4.01 Transitional//EN">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+<title>Coppermine Photo Gallery - Translator's Guide</title>
+<meta http-equiv="content-type" content="text/html; charset=iso-8859-1">
+<style type="text/css">
+
+body {
+        font-size: 12px; background: #F7F7F7; margin: 2%; color: black; font-family: verdana, arial, helvetica, sans-serif;
+        scrollbar-face-color: #DEE3E7;
+        scrollbar-highlight-color: #FFFFFF;
+        scrollbar-shadow-color: #DEE3E7;
+        scrollbar-3dlight-color: #D1D7DC;
+        scrollbar-arrow-color:  #006699;
+        scrollbar-track-color: #EFEFEF;
+        scrollbar-darkshadow-color: #98AAB1;
+}
+td {
+        font-size: 12px
+}
+h1 {
+        font-weight: bolder; font-size: 24px; color: #0E72A4; line-height: 120%; font-family: "Trebuchet MS", Verdana, Arial, Helvetica, sans-serif; text-decoration: none
+}
+h2 {
+        font-size: 20px; color: #0E72A4; font-family: Arial, Helvetica, sans-serif; text-decoration: none;
+}
+h3 {
+        font-weight: bolder; font-size: 16px; font-family: Verdana, Arial, Helvetica, sans-serif; text-decoration: none; color: #0E72A4;
+}
+h4 {
+        font-weight: bold; font-size: 14px; font-family: Verdana, Arial, Helvetica, sans-serif; text-decoration: none; color: #0E72A4;
+}
+p {
+        font-size: 12px; margin: 10px 10px 0px 0px; font-family: Verdana, Arial, Helvetica, sans-serif
+}
+pre {
+        border-right: #999999 1px solid; padding-right: 5px; border-top: #999999 1px solid; padding-left: 5px; font-size: 12px; padding-bottom: 5px; margin: 10px 10px 0px 0px; border-left: #999999 1px solid; padding-top: 5px; border-bottom: #999999 1px solid; font-style: normal; font-family: "Courier New", Courier, mono; background-color: #E0E0E0
+}
+
+tt {
+        font-size: 12px;
+        font-style: normal;
+        font-family: "Courier New", Courier, mono;
+        background-color: #E0E0E0;
+        margin-right: 15px;
+}
+
+ul {
+        padding-right: 0px; padding-left: 0px; padding-bottom: 0px; margin: 10px 0px 10px 5px; padding-top: 0px
+}
+ul.content {
+        padding-right: 0px; padding-left: 0px; padding-bottom: 0px; margin: 5px 5px 0px 0px; padding-top: 0px
+}
+li {
+        padding-right: 0px; margin-top: 4px; padding-left: 0px; list-style-position: outside; margin-bottom: 4px; padding-bottom: 0px; margin-left: 10px; padding-top: 0px;
+}
+li.content {
+        padding-right: 0px; margin-top: 0px; padding-left: 0px; list-style-position: outside; margin-bottom: 5px; padding-bottom: 0px; margin-left: 10px; padding-top: 0px; list-style-type: none;
+}
+hr {
+        border-right: #000000 0px solid; border-top: #000000 1px solid; border-left: #000000 0px solid; border-bottom: #000000 0px solid; height: 0px
+}
+.navbar {
+        font-weight: bold; font-size: 10px; background: url(/coppermine/themes/pixel-rave-blue100/images/nav-bar-button.gif) #72a5cc no-repeat; vertical-align: middle; color: #A5C6DF; font-family: Arial, Helvetica, sans-serif
+}
+a.navbar {
+        display: block; vertical-align: middle; width: 100px; color: #A5C6DF; line-height: 25px; position: relative; height: 25px; text-align: center; text-decoration: none
+}
+a.navbar:hover {
+        color: #ffffff; text-decoration: none
+}
+
+.back {
+        margin-top: 10px; font-size: 10px; margin-bottom: 10px
+}
+.important { color: red }
+
+.example { color:#0E72A4;font-weight:bold; }
+</style>
+<!--
+  Subversion information (for information and developer purposes only - safe to ignore for everybody else):
+  Coppermine version: 1.4.25
+  $HeadURL: https://coppermine.svn.sourceforge.net/svnroot/coppermine/trunk/cpg1.4.x/docs/translation.htm $
+  $Revision: 5997 $
+  $Author: gaugau $
+  $Date: 2009-05-26 08:43:24 +0200 (Di, 26 Mai 2009) $
+-->
+</head>
+<body>
+<table cellspacing="0" cellpadding="0" width="100%" border="0">
+  <tbody>
+  <tr>
+    <td>
+
+<h1>Coppermine Photo Gallery - Translator's Guide</h1>
+
+
+
+
+<h2>Translators wanted!</h2>
+<p>One of the major features of a Coppermine photo gallery is the fact that all page content can be displayed in different languages, with translations being contained in one file (located inside of the coppermine <i>lang</i> directory ). If you use Coppermine and feel that you would like to give something back to the community, why not start a translation of coppermine for your language?</p>
+<p>These are the rules and guidelines for translation to help you get started.</p>
+
+<h2>Why translate?</h2>
+<ul>
+<li>To give something back to the community</li>
+<li>Because you needed the translation anyway...</li>
+<li>To see your name on the credits list</li>
+<li>To promote your services (being linked from a relevant page like the Coppermine team/credits page will increase your page rank as well)</li>
+<li>Because you're a nice person</li>
+</ul>
+
+<h2>Translations for which languages are needed?</h2>
+<p>There are already several languages supported by coppermine; as the number of language-files for coppermine grows, there may be translations available that were not included into the package you downloaded. Before you actually start to work on a translation, look here:
+<ul>
+<li>Is the language you're looking for already included in the lang-folder of the coppermine package you downloaded?</li>
+<li>Is the language file already available as separate download in the language section of the coppermine project page? Visit <a href="http://sourceforge.net/project/showfiles.php?group_id=89658&package_id=98540">http://sourceforge.net/project/showfiles.php?group_id=89658&package_id=98540</a></li>
+<li>Has someone volunteered to do the translation recently on the Coppermine board thread &quot;<a href="http://coppermine-gallery.net/forum/index.php?topic=20355.0">[Help wanted]: Translations for CPG1.4.x</a>&quot;? Please read the thread carefully to check if the translation has already been done or is in the works. We appreciate your intent, and we also value your time, so it'd be a pity if you and another translators went through all the work to submit two versions of the same language.<br />
+You may find also find additional information there that didn't make it into this document ...</li>
+</ul>
+</p>
+<h2>Who can translate?</h2>
+<p>Anyone with a good grasp of a language can, but when a new version of coppermine is being prepped for released, the dev team will contact the translators of previous versions and ask them to translate for the new version, as well. These &quot;original&quot; translators are requested to advise the development team if they are willing and able to do the translation (before actual work on the translation starts). Languages previously assigned to those who respond that they're unable to do the &quot;new&quot; translation or those assigned to translators that fail to reply, over a prescribed time, will be placed on a list on &quot;<a href="http://coppermine-gallery.net/forum/index.php?topic=20355.0">[Help wanted]: Translations for CPG1.4.x</a>&quot;.  Anyone who is interested and ready to help with the translation for these &quot;orphaned&quot; languages should reply to the thread and assign the translation to him/herself.</p>
+<p>If you are fluent in a language that hasn't been translated yet and hasn't been assigned to anyone, please assign it to yourself.</p>
+
+<h2>Character encoding</h2>
+<p>Many languages have special alphabets other than the latin set, or have additional characters (like &auml; &szlig; &agrave; &aacute; &acirc; &atilde; &aring; &aelig; &ccedil; &thorn; &eth; &oslash;). Many of these special chars have what are called <i>html equivalents</i> (e.g. <i>&amp;auml;</i> for <i>&auml;</i>), but you <b>must not use</b> these html equivalents of your special language characters when doing your translations, as unwanted side-effects may appear with the usage of JavaScript!</p>
+
+<p>Coppermine adds a charset meta tag to the header of each ouput file to instruct the browser how to render special chars. You should add the name of the charset you're using for your translation at the very start of the language file, e.g.<pre>$lang_charset = 'iso-8859-1';</pre>. You can find a list of charsets at <a href="http://www.w3.org/International/O-charset-lang.html">http://www.w3.org/International/O-charset-lang.html</a>. Whenever possible, you shouldn't choose platform-dependant charset (e.g. <i>windows-1252</i>), but cross-platform ones (e.g. <i>iso-8859-1</i>).</p>
+<p>In cpg1.4.x, the language files in the package come as utf-8 files only. If you can, submit your translation in this encoding. If you have no idea how to do this though, don't worry - submit the file in the encoding you chose, a dev team member will convert it accordingly for you.</p>
+
+<h2>Editors &amp; Tools</h2>
+<p>In fact you can use nearly any <b>text</b> editor you feel comfortable with that will allow you to save your text in the ANSI format - Windows Notepad (also known as &quot;Editor&quot; in Windows 2000/XP) will do just fine.</p>
+<p>To determine whether or not your favorite text editor can correctly handle the necessary encoding, start the translation by translating only a few lines (preferrably some that contain special chars from you language), save the translation file and close it. Then try to open it with a plain text editor on your system (e.g. Notepad) - if everything displays as expected, your editor should work fine.</p>
+<p>Recommended Tools: to see what has changed between the language files of cpg1.3.x and cpg1.4.x, we recommend using a diff viewer that can highlight the differences in both files. Windows users should opt for the great, changes in file viewer <a href="http://winmerge.sourceforge.net/">WinMerge</a> (available as freeware; 1.95 MB, localizations available as well): You can even edit the files with this tool (352 of 1152 lines have been added or changed). All new/changed lines have a comment at the end like this one: <tt>//cpg1.4.x</tt></p>
+
+<h2>Full translations only</h2>
+<p>Up until version 1.2 of coppermine we only sent out the lines that had changed in the language files from previous versions to the translators. Although this seemed to be a very easy solution and approach, we soon discovered that this method had severe drawbacks:
+<ul>
+<li>The translators couldn't test their code immediately - if a single quote is missing from the language file, the entire file won't work</li>
+<li>Too often, corrections had to be sent back and forth between the dev team and the translators</li>
+<li>The dev team had to merge the previous language files with the bits that were newly translated - this resulted in an additional heavy workload for the dev team, slowing down the new release and keeping them from what they do best</li>
+<li>The translators didn't know the exact context that some lines appeared in, making it impossible to provide the proper translations</li>
+</ul>
+</p>
+<p>For these reasons we now provide the translators with the most recent english language file along with all existing language files of previous versions as references. Additionally we provide this guide that you are currently reading, asking them (the translators: <i>you</i> in this particular case) to translate the file in its entirety. Of course, you can (and are even encouraged to) take a look at the language files from older versions and adopt (port) the contents that are already in the old version whenever they apply.</p>
+
+<h2>Step by step</h2>
+<p>Here are the detailed steps for translating coppermine language files:</p>
+<ol>
+<li>open english.php with your text editor</li>
+<li>Save the file immediately after opening under a different filename (to make sure you always have an unmodified english language file that can be used as a reference) - the filenames of the language files will decide how the language name will look in the dropdown list of the coppermine backend - use the english(roman characters)name of your language as the final filename, using lowercase in the name with no spaces or special chars (except &quot;-&quot; and &quot;_&quot; and the dot to mark the extension. If the language name itself isn't self-explanatory, add info with an underscore.<br />
+<b>Examples</b>: german.php, italian.php, greek.php, brazilian_portuguese.php</li>
+<li>Edit the header info (example content is <span class="example">highlighted</span>):<br />
+<tt>// info about translators and translated language</tt><br />
+<tt>$lang_translation_info = array(</tt><br />
+<tt>'lang_name_english' => '<span class="example">German</span>',</tt>The name of your language in English<br />
+<tt>'lang_name_native' => '<span class="example">Deutsch</span>',</tt>The name of your language in your mother tongue<br />
+<tt>'lang_country_code' => '<span class="example">de</span>',</tt>The country code representing your language. If your language is spoken in several countries, choose the one most people will relate to your language<br />
+<tt>'trans_name'=> '<span class="example">GauGau</span>',</tt>Your name (or rather the name you would like to appear on the credits page)<br />
+<tt>'trans_email' => '',</tt>If you prefer, your email address, which would normally appear on the credits page, can be left blank<br />
+<tt>'trans_website' => '<span class="example">http://gaugau.de/</span>',</tt>Your website (goes to credit page). If you specify none, your profile page will be displayed instead<br />
+<tt>'trans_date' => '<span class="example">2004-03-17</span>',</tt>The date you translated/last changed the language file<br />
+<tt>);</tt><br />
+Fill in the data you want to appear on the credits page as shown in the example above.</li>
+<li>The coppermine language file is used to dynamically replace php variables/arrays with the correct content. There are different ways those arrays are being filled - as shown in these examples (stuff that needs to be translated is <span class="example">highlighted</span>):<br />
+  <ul style="list-style-type:square" type="square">
+  <li>
+  <tt>$lang_day_of_week = array('<span class="example">Sun</span>', '<span class="example">Mon</span>', '<span class="example">Tue</span>', '<span class="example">Wed</span>', '<span class="example">Thu</span>', '<span class="example">Fri</span>', '<span class="example">Sat</span>');</tt>A plain list of values in an array. Translate each word inside the quotes.</li>
+  <li><tt>$lang_yes = '<span class="example">Yes</span>';</tt></li>A value is assigned to a variable. Translate everything inside the single quotes.
+  <li><tt>$lang_cat_list = array(<br />
+        'category' => '<span class="example">Category</span>',</tt>An array with key =&gt; value pairs. Only translate the value, the key <b>must</b> be left alone!<br /><tt>
+        'albums' => '<span class="example">Albums</span>',<br />
+        'pictures' => '<span class="example">Files</span>',<br />
+);</tt></li>
+  <li><tt>if (defined('ADMIN_PHP')) $lang_admin_data = array(</tt>Cascaded/multi-dimensional arrays. Translate the very first entry in each line.<br /><tt>
+        '<span class="example">General settings</span>',<br />
+        array('<span class="example">Gallery name</span>', 'gallery_name', 0),<br />
+        array('<span class="example">Gallery description</span>', 'gallery_description', 0),<br />
+        array('<span class="example">Gallery administrator email</span>', 'gallery_admin_email', 0),<br />
+        array('<span class="example">Target address for the \'See more pictures\' link in e-cards</span>', 'ecards_more_pic_target', 0),<br />
+        array('<span class="example">Gallery is offline</span>', 'offline', 1),<br />
+        //...</tt></li>
+        <li><tt>$lang_register_disclamer = &lt;&lt;&lt;EOT<br />
+<span class="example">While the administrators of</span> {SITE_NAME} <span class="example">will attempt to remove or [...]</span><br />
+&lt;br /&gt;<br />
+<span class="example">By clicking 'I agree' below you agree to be bound by these conditions.</span><br />
+EOT;</tt>Var definitions using the <a href="http://www.php.net/manual/en/language.types.string.php#language.types.string.syntax.heredoc">heredoc</a> syntax: make sure to only translate the plain text, leaving everything in curled braces and all html tags intact</li>
+  </ul>
+<p>Translate the entire language file as described - you'll find your way around in no time, even if you're not a seasoned PHP coder.</p>
+</li>
+<li>Test your translation: upload your language file to your server and browse your gallery, adding an additional parameter <tt>lang=your_language_name</tt> to the URL (e.g. <tt>http://yoursite.tld/coppermine/?lang=german)</tt>. Make sure to test as many aspects as possible from the file you creaeted, especially in the creation, renaming and deleting of users,categories, albums, pictures and comments.</li>
+<li>Proof-reading: if you can, let someone else (preferably non-tech user) test your translation as well. You might be surprised as to what they will discover...</li>
+<li>Send your translation as an attachment to <tt>gaugau AT users DOT sourceforge DOT net</tt> ( gaugau@users.sourceforge.net ). Please make sure to include a proper subject line saying &quot;Coppermine Translation: XXX language file&quot; (Devs often receive so much spam mail these days that if the subject line of an email doesn't look appropriate for him/her, the email may be deleted without having ever been read.<br />
+You can send the attachment as a php file or you can put it inside of a .zip archive, but please don't use other exotic archival formats such as .rar, .ace, etc. </li>
+</ol>
+
+<h2>Special issues</h2>
+<h3>Escaping single quotes</h3>
+<p>As you may have already notice, all translation strings are contained between a pair of  single quotes or apostrophes - this is the proper method used in PHP. Therefore, if you want your translation to actually contain a single quote (apostrophe), you must &quot;instruct&quot; PHP that the apostrophe (single quote) contained in a text string is part of the string and not the end of the string. For this purpose, a backslash (<span class="example">\</span>) is used to instruct PHP that the character immediately following it is a "string" character and not part of the PHP code, itself. This is called <i>escaping</i> a character, in programing languages. PHP uses the backslash (<span class="example">\</span>) to escape characters, that's why care must be taken to <b>not</b> do this:
+<pre>array('Target address for the 'See more pictures' link in e-cards', 'ecards_more_pic_target', 0),</pre> <p>but, to do this, instead: </p>
+<pre>array('Target address for the \'See more pictures\' link in e-cards', 'ecards_more_pic_target', 0),</pre></p>
+<h3>Single quotes in JavaScript (//js-alert)</h3>
+<p>Things are a bit more complicated if the output is to be used not only in plain HTML, but in JavaScript, as well.  Single quotes that appear in the HTML output of the language file must also be escaped for use in any JavaScript routine with a backslash as well.  That's why specific lines in the language file that will be used as JavaScript in Coppermine's output have been tagged with a comment at the end of the line, which reads: <tt>//js-alert</tt>. If you intend to have a single quote in the final output, you'll have to add 3 backslashes in front of the single quote, as in this example: <pre>'no_change' => 'Vous n\\\'avez effectu aucun changement !', //js-alert</pre></p>
+<h3>Placeholders with " % "</h3>
+<p>You'll also notice that in several places of the language file, there are text that contain a percent-sign (<span class="example">%</span>), followed immediately by a letter. Those combinations must not be translated or separated - they are there intentionally and are used later as specifier arguments, or calls, for variable replacement and/or formating that needs to take place.</p>
+
+<h2>Language versions</h2>
+<h3>Found a typo/spelling error?</h3>
+<p>Maybe a translation for your language has already been done, but you're not happy with it: if there are bugs (spelling errors etc.), first check the <a href="http://sourceforge.net/project/showfiles.php?group_id=89658&package_id=98540">download section</a> to see if a fixed (updated) version has already been submitted. If not, report your finding(s) on the board along with your suggestion for a fix, like this:<br />
+<i>in lang/yourlanguage.php search for</i>
+<pre>  'some_definition' => 'bar foo',</pre>
+<i>and replace with</i>
+<pre>  'some_definition' => 'foo bar',</pre>
+</p>
+<h3>Another translation?</h3>
+<p>Everybody who knows languages knows that there is no such thing as &quot;one correct translation&quot; - there are always differences in the way we to translate expressions, or whole sentences. Maybe you feel that an existing version of your language file doesn't suit your purpose; perhaps the translator had another audience /target group in mind, or you want a more formal translation (in many languages there are signifcant difference in grammar and expression between formal and casual speech or text).<br />
+Please do not flame (berate) the original translator on the board, but provide an alternative translation along with details on what you changed and for what target audience your version is intended.</p>
+
+<h2>Work in progress</h2>
+<p>Coppermine, like everything else online, is a work in progress. Your copy of the english.php (that should always be used as the base reference file for your translation) may already be outdated. That's why it is critical that you always refer to the <a href="http://sourceforge.net/project/showfiles.php?group_id=89658&package_id=98540"> download section</a> or <a href="http://svn.sourceforge.net/viewcvs.cgi/coppermine/trunk/stable/lang/"> Subversion-Repository Language Section</a> to make sure that you have the most recent english language file (translator version) on hand before starting your translation (and maybe even the most updated version of this document, as well, as there may be many questions along the way that need to be addressed in this document after the initial release of this document). Remember: if an option/replacement string is not translated, it will not be visible in your language at all.</p>
+
+<h2>Initial translation for release</h2>
+<p>When preparing for a release, the dev team sets up a feature freeze to allow the translators to submit their translations, halting the coppermine development during that period. If you're willing to translate, do so as soon as possible and send your translation back immediately to ensure that the new version of coppermine can be released <b>with</b> your language file.</p>
+<br />&nbsp;<br />&nbsp;<br />
+
+GauGau (aka Joachim M&uuml;ller)<br />
+- Coppermine dev team -
+
+
+</td></tr></tbody></table>
 </body></html>
\ No newline at end of file
diff -x .svn -aruN 1.4.24.src/ecard.php 1.4.25.src/ecard.php
--- 1.4.24.src/ecard.php	2009-05-21 15:03:09.000000000 -0500
+++ 1.4.25.src/ecard.php	2009-05-26 11:25:52.000000000 -0500
@@ -1,311 +1,311 @@
-<?php
-/*************************
-  Coppermine Photo Gallery
-  ************************
-  Copyright (c) 2003-2009 Coppermine Dev Team
-  v1.1 originally written by Gregory DEMAR
-
-  This program is free software; you can redistribute it and/or modify
-  it under the terms of the GNU General Public License version 3
-  as published by the Free Software Foundation.
-  
-  ********************************************
-  Coppermine version: 1.4.24
-  $HeadURL: https://coppermine.svn.sourceforge.net/svnroot/coppermine/trunk/cpg1.4.x/ecard.php $
-  $Revision: 5969 $
-  $Author: gaugau $
-  $Date: 2009-05-21 22:03:33 +0200 (Do, 21 Mai 2009) $
-**********************************************/
-
-define('IN_COPPERMINE', true);
-define('ECARDS_PHP', true);
-
-require('include/init.inc.php');
-require('include/smilies.inc.php');
-require('include/mailer.inc.php');
-
-if (!USER_CAN_SEND_ECARDS) cpg_die(ERROR, $lang_errors['access_denied'], __FILE__, __LINE__);
-
-//print_r(get_defined_constants());
-
-function get_post_var($name, $default = '')
-{
-
-    return isset($_POST[$name]) ? $_POST[$name] : $default;
-}
-
-$pid = (int)$_GET['pid'];
-$album = $_GET['album'];
-$pos = (int)$_GET['pos'];
-
-$sender_name = get_post_var('sender_name', USER_NAME ? USER_NAME : (isset($USER['name']) ? $USER['name'] : ''));
-if (defined('UDB_INTEGRATION')AND USER_ID) $USER_DATA = array_merge($USER_DATA,$cpg_udb->get_user_infos(USER_ID));
-if ($USER_DATA['user_email']){
-$sender_email = $USER_DATA['user_email'];
-$sender_box = $sender_email;
-} else {
-$sender_email = get_post_var('sender_email',$USER['email'] ? $USER['email'] : '');
-$sender_box = "<input type=\"text\" class=\"textinput\" value=\"$sender_email\" name=\"sender_email\" style=\"width: 100%;\" />";
-}
-$recipient_name = get_post_var('recipient_name');
-$recipient_email = get_post_var('recipient_email');
-$greetings = get_post_var('greetings');
-$message = get_post_var('message');
-$sender_email_warning = '';
-$recipient_email_warning = '';
-// Get picture thumbnail url
-$result = cpg_db_query("SELECT * from {$CONFIG['TABLE_PICTURES']} WHERE pid='$pid' $ALBUM_SET");
-if (!mysql_num_rows($result)) cpg_die(ERROR, $lang_errors['non_exist_ap'], __FILE__, __LINE__);
-$row = mysql_fetch_array($result);
-$thumb_pic_url = get_pic_url($row, 'thumb');
-
-$pic_title = $row['title'];
-$pic_caption = bb_decode($row['caption']);
-
-if (!is_image($row['filename'])) cpg_die(ERROR, $lang_ecard_php['error_not_image'], __FILE__, __LINE__);
-
-// Check supplied email address
-$valid_email_pattern = "^[_\.0-9a-z\-]+@([0-9a-z][0-9a-z-]*\.)+[a-z]{2,6}$";
-$valid_sender_email = eregi($valid_email_pattern, $sender_email);
-$valid_recipient_email = eregi($valid_email_pattern, $recipient_email);
-if (!$valid_sender_email && count($_POST) > 0) {
-	$sender_email_warning = '<font size="1">' . $lang_ecard_php['invalid_email'] . ' (' . $sender_email . ')</font>';
-}
-if (!$valid_recipient_email && count($_POST) > 0) {
-	$recipient_email_warning = '<font size="1">' . $lang_ecard_php['invalid_email'] . ' (' . $recipient_email . ')</font>';
-}
-
-$gallery_url_prefix = $CONFIG['ecards_more_pic_target']. (substr($CONFIG['ecards_more_pic_target'], -1) == '/' ? '' : '/');
-
-pageheader($lang_ecard_php['title']);
-
-if (isset($_POST['submit'])) {
-
-// Create and send the e-card
-if (count($_POST) > 0 && $valid_sender_email && $valid_recipient_email) {
-    $gallery_url_prefix = $CONFIG['ecards_more_pic_target']. (substr($CONFIG['ecards_more_pic_target'], -1) == '/' ? '' : '/');
-    if ($CONFIG['make_intermediate'] && max($row['pwidth'], $row['pheight']) > $CONFIG['picture_width']) {
-        $n_picname = get_pic_url($row, 'normal');
-    } else {
-        $n_picname = get_pic_url($row, 'fullsize');
-    }
-
-    if (!stristr($n_picname, 'http:')) $n_picname = $gallery_url_prefix . $n_picname;
-
-    $msg_content = process_smilies($message, $gallery_url_prefix);
-
-    $data = array('rn' => $_POST['recipient_name'],
-        'sn' => $_POST['sender_name'],
-        'se' => $sender_email,
-        'p' => $n_picname,
-        'g' => $greetings,
-        'm' => $message,
-        'pid' => $pid,
-        'pt' => $pic_title,
-        'pc' => $pic_caption,
-        );
-
-    $encoded_data = urlencode(base64_encode(serialize($data)));
-
-    $params = array('{LANG_DIR}' => $lang_text_dir,
-        '{TITLE}' => sprintf($lang_ecard_php['ecard_title'], $sender_name),
-        '{CHARSET}' => $CONFIG['charset'] == 'language file' ? $lang_charset : $CONFIG['charset'],
-        '{VIEW_ECARD_TGT}' => "{$gallery_url_prefix}displayecard.php?data=$encoded_data",
-        '{VIEW_ECARD_LNK}' => $lang_ecard_php['view_ecard'],
-        '{VIEW_ECARD_LNK_PLAINTEXT}' => $lang_ecard_php['view_ecard_plaintext'],
-        '{PIC_URL}' => $n_picname,
-        '{URL_PREFIX}' => $gallery_url_prefix,
-        '{GREETINGS}' => $greetings,
-        '{MESSAGE}' => bb_decode($msg_content),
-        '{PLAINTEXT_MESSAGE}' => $message,
-        '{SENDER_EMAIL}' => $sender_email,
-        '{SENDER_NAME}' => $sender_name,
-        '{VIEW_MORE_TGT}' => $CONFIG['ecards_more_pic_target'],
-        '{VIEW_MORE_LNK}' => $lang_ecard_php['view_more_pics'],
-        '{PID}' => $pid,
-        '{PIC_TITLE}' => $pic_title,
-        '{PIC_CAPTION}' => $pic_caption,
-        );
-
-                                $message = template_eval($template_ecard, $params);
-                                $plaintext_message = template_eval($template_ecard_plaintext, $params);
-
-        $tempTime = time();
-        $message .= sprintf($lang_ecard_php['ecards_footer'], $sender_name, $_SERVER['REMOTE_ADDR'], localised_date(-1,$comment_date_fmt));
-                                $subject = sprintf($lang_ecard_php['ecard_title'], $sender_name);
-
-                                $result = cpg_mail($recipient_email, $subject, $message, 'text/html', $sender_name, $sender_email, $plaintext_message);
-
-        //write ecard log
-        if ($CONFIG['log_ecards'] == 1) {
-          $result_log = cpg_db_query("INSERT INTO {$CONFIG['TABLE_ECARDS']} (sender_name, sender_email, recipient_name, recipient_email, link, date, sender_ip) VALUES ('$sender_name', '$sender_email', '$recipient_name', '$recipient_email',   '$encoded_data', '$tempTime', '{$_SERVER["REMOTE_ADDR"]}')");
-          }
-
-    if (!USER_ID) {
-        $USER['name'] = $sender_name;
-        $USER['email'] = $sender_email;
-    }
-
-    if ($result) {
-        //pageheader($lang_ecard_php['title']);
-        msg_box($lang_cpg_die[INFORMATION], $lang_ecard_php['send_success'], $lang_continue, "displayimage.php?album=$album&amp;pos=$pos");
-                                echo '<br />';
-                                starttable('100%', $lang_ecard_php['preview']);
-                                echo '<tr><td>';
-                                echo template_eval($template_ecard, $params);
-                                echo '</td></tr>';
-                                endtable();
-        pagefooter();
-        ob_end_flush();
-        exit;
-    } else {
-        cpg_die(ERROR, $lang_ecard_php['send_failed'], __FILE__, __LINE__);
-    }
-        }
-}//submit
-
-elseif (isset($_POST['preview'])) {
-
-    if ($CONFIG['make_intermediate'] && max($row['pwidth'], $row['pheight']) > $CONFIG['picture_width']) {
-        $n_picname = get_pic_url($row, 'normal');
-    } else {
-        $n_picname = get_pic_url($row, 'fullsize');
-    }
-    if (!stristr($n_picname, 'http:')) $n_picname = $gallery_url_prefix . $n_picname;
-    $msg_content = process_smilies($message, $gallery_url_prefix);
-    $data = array(
-        'sn' => $_POST['sender_name'],
-        'se' => $sender_email,
-        'p' => $n_picname,
-        'g' => $greetings,
-        'm' => $message,
-        'pid' => $pid,
-        'pt' => $pic_title,
-        'pc' => $pic_caption,
-        );
-
-    $encoded_data = urlencode(base64_encode(serialize($data)));
-    
-    $params = array('{LANG_DIR}' => $lang_text_dir,
-        '{TITLE}' => sprintf($lang_ecard_php['ecard_title'], $sender_name),
-        '{CHARSET}' => $CONFIG['charset'] == 'language file' ? $lang_charset : $CONFIG['charset'],
-        '{VIEW_ECARD_TGT}' => "{$gallery_url_prefix}displayecard.php?data=$encoded_data",
-        '{VIEW_ECARD_LNK}' => $lang_ecard_php['preview_view_ecard'],
-        '{PIC_URL}' => $n_picname,
-        '{URL_PREFIX}' => $gallery_url_prefix,
-        '{GREETINGS}' => $greetings,
-        '{MESSAGE}' => bb_decode($msg_content),
-        '{SENDER_EMAIL}' => $sender_email,
-        '{SENDER_NAME}' => $sender_name,
-        '{VIEW_MORE_TGT}' => $CONFIG['ecards_more_pic_target'],
-        '{VIEW_MORE_LNK}' => $lang_ecard_php['view_more_pics'],
-        '{PID}' => $pid,
-        '{PIC_TITLE}' => $pic_title,
-        '{PIC_CAPTION}' => $pic_caption,
-        );
-
-	    $eccontent = template_eval($template_ecard, $params);
-	    if (preg_match('#<body[^>]*>(.*)</body>#s', $eccontent, $matches)) {
-	        $eccontent = $matches[1];
-	    }
-	    starttable('100%', $lang_ecard_php['preview']);
-	    echo '<tr><td>';
-	    echo $eccontent;
-	    echo '</td></tr>';
-	    endtable();
-	    echo '<br />';
-}//preview
-
-//pageheader($lang_ecard_php['title']);
-
-//ecard form
-if ($CONFIG['show_bbcode_help']) {$captionLabel = '&nbsp;'. cpg_display_help('f=index.html&amp;base=64&amp;h='.urlencode(base64_encode(serialize($lang_bbcode_help_title))).'&amp;t='.urlencode(base64_encode(serialize($lang_bbcode_help))),470,245);}
-echo <<< EOT
-<form method="post" name="post" action="{$_SERVER['PHP_SELF']}?album=$album&amp;pid=$pid&amp;pos=$pos">
-EOT;
-starttable("100%", $lang_ecard_php['title'], 3);
-
-echo <<<EOT
-        <tr>
-                <td class="tableh2" colspan="2"><b>{$lang_ecard_php['from']}</b></td>
-                <td rowspan="6" align="center" valign="top" class="tableb">
-                        <a href="displayimage.php?pos=-{$pid}">
-                                                                                                <img src="$thumb_pic_url" alt="" vspace="8" border="0" class="image" /></a><br />
-                </td>
-        </tr>
-        <tr>
-                <td class="tableb" valign="top" width="40%">
-                        {$lang_ecard_php['your_name']}<br />
-                </td>
-                <td valign="top" class="tableb" width="60%">
-                        <input type="text" class="textinput" name="sender_name"  value="$sender_name" style="width: 100%;" /><br />
-                </td>
-        </tr>
-        <tr>
-                <td class="tableb" valign="top" width="40%">
-                        {$lang_ecard_php['your_email']}<br />
-                </td>
-                <td valign="top" class="tableb" width="60%">
-                        {$sender_box}
-                        {$sender_email_warning}
-                </td>
-        </tr>
-        <tr>
-                <td class="tableh2" colspan="2"><b>{$lang_ecard_php['to']}</b></td>
-        </tr>
-        <tr>
-                <td class="tableb" valign="top" width="40%">
-                        {$lang_ecard_php['rcpt_name']}<br />
-                </td>
-                <td valign="top" class="tableb" width="60%">
-                        <input type="text" class="textinput" name="recipient_name"  value="$recipient_name" style="width: 100%;" /><br />
-                </td>
-        </tr>
-        <tr>
-                <td class="tableb" valign="top" width="40%">
-                        {$lang_ecard_php['rcpt_email']}<br />
-                </td>
-                <td valign="top" class="tableb" width="60%">
-                        <input type="text" class="textinput" name="recipient_email"  value="$recipient_email" style="width: 100%;" /><br />
-                        $recipient_email_warning
-                </td>
-        </tr>
-        <tr>
-                <td class="tableh2" colspan="3"><b>{$lang_ecard_php['greetings']}</b></td>
-        </tr>
-        <tr>
-                <td class="tableb" colspan="3">
-                        <input type="text" class="textinput" name="greetings"  value="$greetings" style="width: 100%;" /><br />
-                </td>
-        </tr>
-        <tr>
-                <td class="tableh2" colspan="3"><b>{$lang_ecard_php['message']}$captionLabel</b></td>
-        </tr>
-        <tr>
-                <td class="tableb" colspan="3" valign="top"><br />
-                        <textarea name="message" class="textinput" rows="8" cols="40"  onselect="storeCaret_post(this);" onclick="storeCaret_post(this);" onkeyup="storeCaret_post(this);" style="width: 100%;">$message</textarea><br /><br />
-                </td>
-        </tr>
-        <tr>
-                <td class="tableb" colspan="3" valign="top">
-
-EOT;
-echo generate_smilies();
-echo <<<EOT
-                </td>
-        </tr>
-        <tr>
-                <td colspan="3" align="center" class="tablef">
-                        <input type="submit" class="button" name="preview" title="{$lang_ecard_php['preview_button']}" value="{$lang_ecard_php['preview_button']}" />
-                                                                                                &nbsp;&nbsp;
-                        <input type="submit" class="button" name="submit" title="{$lang_ecard_php['submit_button']}" value="{$lang_ecard_php['submit_button']}" />
-                </td>
-        </tr>
-EOT;
-
-endtable();
-echo '</form>';
-pagefooter();
-ob_end_flush();
-
-?>
+<?php
+/*************************
+  Coppermine Photo Gallery
+  ************************
+  Copyright (c) 2003-2009 Coppermine Dev Team
+  v1.1 originally written by Gregory DEMAR
+
+  This program is free software; you can redistribute it and/or modify
+  it under the terms of the GNU General Public License version 3
+  as published by the Free Software Foundation.
+  
+  ********************************************
+  Coppermine version: 1.4.25
+  $HeadURL: https://coppermine.svn.sourceforge.net/svnroot/coppermine/trunk/cpg1.4.x/ecard.php $
+  $Revision: 5997 $
+  $Author: gaugau $
+  $Date: 2009-05-26 08:43:24 +0200 (Di, 26 Mai 2009) $
+**********************************************/
+
+define('IN_COPPERMINE', true);
+define('ECARDS_PHP', true);
+
+require('include/init.inc.php');
+require('include/smilies.inc.php');
+require('include/mailer.inc.php');
+
+if (!USER_CAN_SEND_ECARDS) cpg_die(ERROR, $lang_errors['access_denied'], __FILE__, __LINE__);
+
+//print_r(get_defined_constants());
+
+function get_post_var($name, $default = '')
+{
+
+    return isset($_POST[$name]) ? $_POST[$name] : $default;
+}
+
+$pid = (int)$_GET['pid'];
+$album = $_GET['album'];
+$pos = (int)$_GET['pos'];
+
+$sender_name = get_post_var('sender_name', USER_NAME ? USER_NAME : (isset($USER['name']) ? $USER['name'] : ''));
+if (defined('UDB_INTEGRATION')AND USER_ID) $USER_DATA = array_merge($USER_DATA,$cpg_udb->get_user_infos(USER_ID));
+if ($USER_DATA['user_email']){
+$sender_email = $USER_DATA['user_email'];
+$sender_box = $sender_email;
+} else {
+$sender_email = get_post_var('sender_email',$USER['email'] ? $USER['email'] : '');
+$sender_box = "<input type=\"text\" class=\"textinput\" value=\"$sender_email\" name=\"sender_email\" style=\"width: 100%;\" />";
+}
+$recipient_name = get_post_var('recipient_name');
+$recipient_email = get_post_var('recipient_email');
+$greetings = get_post_var('greetings');
+$message = get_post_var('message');
+$sender_email_warning = '';
+$recipient_email_warning = '';
+// Get picture thumbnail url
+$result = cpg_db_query("SELECT * from {$CONFIG['TABLE_PICTURES']} WHERE pid='$pid' $ALBUM_SET");
+if (!mysql_num_rows($result)) cpg_die(ERROR, $lang_errors['non_exist_ap'], __FILE__, __LINE__);
+$row = mysql_fetch_array($result);
+$thumb_pic_url = get_pic_url($row, 'thumb');
+
+$pic_title = $row['title'];
+$pic_caption = bb_decode($row['caption']);
+
+if (!is_image($row['filename'])) cpg_die(ERROR, $lang_ecard_php['error_not_image'], __FILE__, __LINE__);
+
+// Check supplied email address
+$valid_email_pattern = "^[_\.0-9a-z\-]+@([0-9a-z][0-9a-z-]*\.)+[a-z]{2,6}$";
+$valid_sender_email = eregi($valid_email_pattern, $sender_email);
+$valid_recipient_email = eregi($valid_email_pattern, $recipient_email);
+if (!$valid_sender_email && count($_POST) > 0) {
+	$sender_email_warning = '<font size="1">' . $lang_ecard_php['invalid_email'] . ' (' . $sender_email . ')</font>';
+}
+if (!$valid_recipient_email && count($_POST) > 0) {
+	$recipient_email_warning = '<font size="1">' . $lang_ecard_php['invalid_email'] . ' (' . $recipient_email . ')</font>';
+}
+
+$gallery_url_prefix = $CONFIG['ecards_more_pic_target']. (substr($CONFIG['ecards_more_pic_target'], -1) == '/' ? '' : '/');
+
+pageheader($lang_ecard_php['title']);
+
+if (isset($_POST['submit'])) {
+
+// Create and send the e-card
+if (count($_POST) > 0 && $valid_sender_email && $valid_recipient_email) {
+    $gallery_url_prefix = $CONFIG['ecards_more_pic_target']. (substr($CONFIG['ecards_more_pic_target'], -1) == '/' ? '' : '/');
+    if ($CONFIG['make_intermediate'] && max($row['pwidth'], $row['pheight']) > $CONFIG['picture_width']) {
+        $n_picname = get_pic_url($row, 'normal');
+    } else {
+        $n_picname = get_pic_url($row, 'fullsize');
+    }
+
+    if (!stristr($n_picname, 'http:')) $n_picname = $gallery_url_prefix . $n_picname;
+
+    $msg_content = process_smilies($message, $gallery_url_prefix);
+
+    $data = array('rn' => $_POST['recipient_name'],
+        'sn' => $_POST['sender_name'],
+        'se' => $sender_email,
+        'p' => $n_picname,
+        'g' => $greetings,
+        'm' => $message,
+        'pid' => $pid,
+        'pt' => $pic_title,
+        'pc' => $pic_caption,
+        );
+
+    $encoded_data = urlencode(base64_encode(serialize($data)));
+
+    $params = array('{LANG_DIR}' => $lang_text_dir,
+        '{TITLE}' => sprintf($lang_ecard_php['ecard_title'], $sender_name),
+        '{CHARSET}' => $CONFIG['charset'] == 'language file' ? $lang_charset : $CONFIG['charset'],
+        '{VIEW_ECARD_TGT}' => "{$gallery_url_prefix}displayecard.php?data=$encoded_data",
+        '{VIEW_ECARD_LNK}' => $lang_ecard_php['view_ecard'],
+        '{VIEW_ECARD_LNK_PLAINTEXT}' => $lang_ecard_php['view_ecard_plaintext'],
+        '{PIC_URL}' => $n_picname,
+        '{URL_PREFIX}' => $gallery_url_prefix,
+        '{GREETINGS}' => $greetings,
+        '{MESSAGE}' => bb_decode($msg_content),
+        '{PLAINTEXT_MESSAGE}' => $message,
+        '{SENDER_EMAIL}' => $sender_email,
+        '{SENDER_NAME}' => $sender_name,
+        '{VIEW_MORE_TGT}' => $CONFIG['ecards_more_pic_target'],
+        '{VIEW_MORE_LNK}' => $lang_ecard_php['view_more_pics'],
+        '{PID}' => $pid,
+        '{PIC_TITLE}' => $pic_title,
+        '{PIC_CAPTION}' => $pic_caption,
+        );
+
+                                $message = template_eval($template_ecard, $params);
+                                $plaintext_message = template_eval($template_ecard_plaintext, $params);
+
+        $tempTime = time();
+        $message .= sprintf($lang_ecard_php['ecards_footer'], $sender_name, $_SERVER['REMOTE_ADDR'], localised_date(-1,$comment_date_fmt));
+                                $subject = sprintf($lang_ecard_php['ecard_title'], $sender_name);
+
+                                $result = cpg_mail($recipient_email, $subject, $message, 'text/html', $sender_name, $sender_email, $plaintext_message);
+
+        //write ecard log
+        if ($CONFIG['log_ecards'] == 1) {
+          $result_log = cpg_db_query("INSERT INTO {$CONFIG['TABLE_ECARDS']} (sender_name, sender_email, recipient_name, recipient_email, link, date, sender_ip) VALUES ('$sender_name', '$sender_email', '$recipient_name', '$recipient_email',   '$encoded_data', '$tempTime', '{$_SERVER["REMOTE_ADDR"]}')");
+          }
+
+    if (!USER_ID) {
+        $USER['name'] = $sender_name;
+        $USER['email'] = $sender_email;
+    }
+
+    if ($result) {
+        //pageheader($lang_ecard_php['title']);
+        msg_box($lang_cpg_die[INFORMATION], $lang_ecard_php['send_success'], $lang_continue, "displayimage.php?album=$album&amp;pos=$pos");
+                                echo '<br />';
+                                starttable('100%', $lang_ecard_php['preview']);
+                                echo '<tr><td>';
+                                echo template_eval($template_ecard, $params);
+                                echo '</td></tr>';
+                                endtable();
+        pagefooter();
+        ob_end_flush();
+        exit;
+    } else {
+        cpg_die(ERROR, $lang_ecard_php['send_failed'], __FILE__, __LINE__);
+    }
+        }
+}//submit
+
+elseif (isset($_POST['preview'])) {
+
+    if ($CONFIG['make_intermediate'] && max($row['pwidth'], $row['pheight']) > $CONFIG['picture_width']) {
+        $n_picname = get_pic_url($row, 'normal');
+    } else {
+        $n_picname = get_pic_url($row, 'fullsize');
+    }
+    if (!stristr($n_picname, 'http:')) $n_picname = $gallery_url_prefix . $n_picname;
+    $msg_content = process_smilies($message, $gallery_url_prefix);
+    $data = array(
+        'sn' => $_POST['sender_name'],
+        'se' => $sender_email,
+        'p' => $n_picname,
+        'g' => $greetings,
+        'm' => $message,
+        'pid' => $pid,
+        'pt' => $pic_title,
+        'pc' => $pic_caption,
+        );
+
+    $encoded_data = urlencode(base64_encode(serialize($data)));
+    
+    $params = array('{LANG_DIR}' => $lang_text_dir,
+        '{TITLE}' => sprintf($lang_ecard_php['ecard_title'], $sender_name),
+        '{CHARSET}' => $CONFIG['charset'] == 'language file' ? $lang_charset : $CONFIG['charset'],
+        '{VIEW_ECARD_TGT}' => "{$gallery_url_prefix}displayecard.php?data=$encoded_data",
+        '{VIEW_ECARD_LNK}' => $lang_ecard_php['preview_view_ecard'],
+        '{PIC_URL}' => $n_picname,
+        '{URL_PREFIX}' => $gallery_url_prefix,
+        '{GREETINGS}' => $greetings,
+        '{MESSAGE}' => bb_decode($msg_content),
+        '{SENDER_EMAIL}' => $sender_email,
+        '{SENDER_NAME}' => $sender_name,
+        '{VIEW_MORE_TGT}' => $CONFIG['ecards_more_pic_target'],
+        '{VIEW_MORE_LNK}' => $lang_ecard_php['view_more_pics'],
+        '{PID}' => $pid,
+        '{PIC_TITLE}' => $pic_title,
+        '{PIC_CAPTION}' => $pic_caption,
+        );
+
+	    $eccontent = template_eval($template_ecard, $params);
+	    if (preg_match('#<body[^>]*>(.*)</body>#s', $eccontent, $matches)) {
+	        $eccontent = $matches[1];
+	    }
+	    starttable('100%', $lang_ecard_php['preview']);
+	    echo '<tr><td>';
+	    echo $eccontent;
+	    echo '</td></tr>';
+	    endtable();
+	    echo '<br />';
+}//preview
+
+//pageheader($lang_ecard_php['title']);
+
+//ecard form
+if ($CONFIG['show_bbcode_help']) {$captionLabel = '&nbsp;'. cpg_display_help('f=index.html&amp;base=64&amp;h='.urlencode(base64_encode(serialize($lang_bbcode_help_title))).'&amp;t='.urlencode(base64_encode(serialize($lang_bbcode_help))),470,245);}
+echo <<< EOT
+<form method="post" name="post" action="{$_SERVER['PHP_SELF']}?album=$album&amp;pid=$pid&amp;pos=$pos">
+EOT;
+starttable("100%", $lang_ecard_php['title'], 3);
+
+echo <<<EOT
+        <tr>
+                <td class="tableh2" colspan="2"><b>{$lang_ecard_php['from']}</b></td>
+                <td rowspan="6" align="center" valign="top" class="tableb">
+                        <a href="displayimage.php?pos=-{$pid}">
+                                                                                                <img src="$thumb_pic_url" alt="" vspace="8" border="0" class="image" /></a><br />
+                </td>
+        </tr>
+        <tr>
+                <td class="tableb" valign="top" width="40%">
+                        {$lang_ecard_php['your_name']}<br />
+                </td>
+                <td valign="top" class="tableb" width="60%">
+                        <input type="text" class="textinput" name="sender_name"  value="$sender_name" style="width: 100%;" /><br />
+                </td>
+        </tr>
+        <tr>
+                <td class="tableb" valign="top" width="40%">
+                        {$lang_ecard_php['your_email']}<br />
+                </td>
+                <td valign="top" class="tableb" width="60%">
+                        {$sender_box}
+                        {$sender_email_warning}
+                </td>
+        </tr>
+        <tr>
+                <td class="tableh2" colspan="2"><b>{$lang_ecard_php['to']}</b></td>
+        </tr>
+        <tr>
+                <td class="tableb" valign="top" width="40%">
+                        {$lang_ecard_php['rcpt_name']}<br />
+                </td>
+                <td valign="top" class="tableb" width="60%">
+                        <input type="text" class="textinput" name="recipient_name"  value="$recipient_name" style="width: 100%;" /><br />
+                </td>
+        </tr>
+        <tr>
+                <td class="tableb" valign="top" width="40%">
+                        {$lang_ecard_php['rcpt_email']}<br />
+                </td>
+                <td valign="top" class="tableb" width="60%">
+                        <input type="text" class="textinput" name="recipient_email"  value="$recipient_email" style="width: 100%;" /><br />
+                        $recipient_email_warning
+                </td>
+        </tr>
+        <tr>
+                <td class="tableh2" colspan="3"><b>{$lang_ecard_php['greetings']}</b></td>
+        </tr>
+        <tr>
+                <td class="tableb" colspan="3">
+                        <input type="text" class="textinput" name="greetings"  value="$greetings" style="width: 100%;" /><br />
+                </td>
+        </tr>
+        <tr>
+                <td class="tableh2" colspan="3"><b>{$lang_ecard_php['message']}$captionLabel</b></td>
+        </tr>
+        <tr>
+                <td class="tableb" colspan="3" valign="top"><br />
+                        <textarea name="message" class="textinput" rows="8" cols="40"  onselect="storeCaret_post(this);" onclick="storeCaret_post(this);" onkeyup="storeCaret_post(this);" style="width: 100%;">$message</textarea><br /><br />
+                </td>
+        </tr>
+        <tr>
+                <td class="tableb" colspan="3" valign="top">
+
+EOT;
+echo generate_smilies();
+echo <<<EOT
+                </td>
+        </tr>
+        <tr>
+                <td colspan="3" align="center" class="tablef">
+                        <input type="submit" class="button" name="preview" title="{$lang_ecard_php['preview_button']}" value="{$lang_ecard_php['preview_button']}" />
+                                                                                                &nbsp;&nbsp;
+                        <input type="submit" class="button" name="submit" title="{$lang_ecard_php['submit_button']}" value="{$lang_ecard_php['submit_button']}" />
+                </td>
+        </tr>
+EOT;
+
+endtable();
+echo '</form>';
+pagefooter();
+ob_end_flush();
+
+?>
diff -x .svn -aruN 1.4.24.src/editOnePic.php 1.4.25.src/editOnePic.php
--- 1.4.24.src/editOnePic.php	2009-05-25 15:01:17.000000000 -0500
+++ 1.4.25.src/editOnePic.php	2009-05-26 11:25:52.000000000 -0500
@@ -1,410 +1,410 @@
-<?php
-/*************************
-  Coppermine Photo Gallery
-  ************************
-  Copyright (c) 2003-2009 Coppermine Dev Team
-  v1.1 originally written by Gregory DEMAR
-
-  This program is free software; you can redistribute it and/or modify
-  it under the terms of the GNU General Public License version 3
-  as published by the Free Software Foundation.
-  
-  ********************************************
-  Coppermine version: 1.4.24
-  $HeadURL: https://coppermine.svn.sourceforge.net/svnroot/coppermine/trunk/cpg1.4.x/editOnePic.php $
-  $Revision: 5988 $
-  $Author: gaugau $
-  $Date: 2009-05-25 22:01:41 +0200 (Mo, 25 Mai 2009) $
-**********************************************/
-
-define('IN_COPPERMINE', true);
-define('EDITPICS_PHP', true);
-require('include/init.inc.php');
-
-if (isset($_REQUEST['id'])) {
-        $pid = (int)$_REQUEST['id'];
-} else {
-        $pid = -1;
-}
-
-function process_post_data()
-{
-    global $CONFIG, $mb_utf8_regex;
-    global $lang_errors, $lang_editpics_php;
-
-    $pid          = (int)$_POST['id'];
-    $aid          = (int)$_POST['aid'];
-    $pwidth       = (int)$_POST['pwidth'];
-    $pheight      = (int)$_POST['pheight'];
-    $title        = $_POST['title'];
-    $caption      = $_POST['caption'];
-    $keywords     = $_POST['keywords'];
-    $user1        = $_POST['user1'];
-    $user2        = $_POST['user2'];
-    $user3        = $_POST['user3'];
-    $user4        = $_POST['user4'];
-
-    $galleryicon = (int) $_POST['galleryicon'];
-    $isgalleryicon = ($galleryicon===$pid);
-
-    // need to implement "Read EXIF info again" checkbox; comment out for now
-    // $read_exif    = isset($_POST['read_exif']);
-    $reset_vcount = isset($_POST['reset_vcount']);
-    $reset_votes  = isset($_POST['reset_votes']);
-    $del_comments = isset($_POST['del_comments']) || $delete;
-
-    $result = cpg_db_query("SELECT * FROM {$CONFIG['TABLE_PICTURES']} AS p, {$CONFIG['TABLE_ALBUMS']} AS a WHERE a.aid = p.aid AND pid = '$pid'");
-    if (!mysql_num_rows($result)) cpg_die(CRITICAL_ERROR, $lang_errors['non_exist_ap'], __FILE__, __LINE__);
-    $pic = mysql_fetch_array($result);
-    mysql_free_result($result);
-
-    if (!(GALLERY_ADMIN_MODE || $pic['category'] == FIRST_USER_CAT + USER_ID || ($CONFIG['users_can_edit_pics'] && $pic['owner_id'] == USER_ID)) || !USER_ID) cpg_die(ERROR, $lang_errors['access_denied'], __FILE__, __LINE__);
-
-    $update  = "aid = '".$aid."'";
-    if (is_movie($pic['filename'])) {
-        $update .= ", pwidth = ".$pwidth;
-        $update .= ", pheight = ".$pheight;
-    }
-    $update .= ", title = '".addslashes($title)."'";
-    $update .= ", caption = '".addslashes($caption)."'";
-    $update .= ", keywords = '".addslashes($keywords)."'";
-    $update .= ", user1 = '".addslashes($user1)."'";
-    $update .= ", user2 = '".addslashes($user2)."'";
-    $update .= ", user3 = '".addslashes($user3)."'";
-    $update .= ", user4 = '".addslashes($user4)."'";
-
-    if ($isgalleryicon && $pic['category']>FIRST_USER_CAT) {
-        $sql = 'update '.$CONFIG['TABLE_PICTURES'].' set galleryicon=0 where owner_id='.$pic['owner_id'].';';
-        cpg_db_query($sql);
-        $update .= ", galleryicon = ".addslashes($galleryicon);
-    }
-
-    if ($reset_vcount) {
-        $update .= ", hits = '0'";
-        resetDetailHits($pid);
-    }
-    if ($reset_votes) {
-        $update .= ", pic_rating = '0', votes = '0'";
-        resetDetailVotes($pid);
-    }
-
-    if ($del_comments) {
-        $query = "DELETE FROM {$CONFIG['TABLE_COMMENTS']} WHERE pid='$pid'";
-        $result =cpg_db_query($query);
-
-    } else {
-        $query = "UPDATE {$CONFIG['TABLE_PICTURES']} SET $update WHERE pid='$pid' LIMIT 1";
-        $result = cpg_db_query($query);
-    }
-
-    // rename a file
-    if ($_POST['filename'] != $pic['filename'])
-    {
-        if($CONFIG['thumb_use']=='ht' && $pic['pheight'] > $CONFIG['picture_width']) {
-            $condition = true;
-        } elseif ($CONFIG['thumb_use']=='wd' && $pic['pwidth'] > $CONFIG['picture_width']){
-            $condition = true;
-        } elseif ($CONFIG['thumb_use']=='any' && max($pic['pwidth'], $pic['pheight']) > $CONFIG['picture_width']){
-            $condition = true;
-        } else {
-            $condition = false;
-        }
-
-        if ($CONFIG['make_intermediate'] && $condition ) {
-            $prefices = array('fullsize', 'normal', 'thumb');
-        } else {
-            $prefices = array('fullsize', 'thumb');
-        }
-
-        if (!is_image($pic['filename'])){
-            $prefices = array('fullsize');
-        }
-
-        foreach ($prefices as $prefix)
-        {
-            $oldname = urldecode(get_pic_url($pic, $prefix));
-            $filename = replace_forbidden($_POST['filename']);
-            $newname = str_replace($pic['filename'], $filename, $oldname);
-
-            $old_mime = cpg_get_type($oldname);
-            $new_mime = cpg_get_type($newname);
-
-            if (($old_mime['mime'] != $new_mime['mime']) && isset($new_mime['mime']))
-                cpg_die(CRITICAL_ERROR, sprintf($lang_editpics_php['mime_conv'], $old_mime['mime'], $new_mime['mime']), __FILE__, __LINE__);
-
-            if (!is_known_filetype($newname))
-                cpg_die(CRITICAL_ERROR, $lang_editpics_php['forb_ext'], __FILE__, __LINE__);
-
-            if (file_exists($newname))
-                cpg_die(CRITICAL_ERROR, sprintf($lang_editpics_php['file_exists'], $newname), __FILE__, __LINE__);
-
-            if (!file_exists($oldname))
-                cpg_die(CRITICAL_ERROR, sprintf($lang_editpics_php['src_file_missing'], $oldname), __FILE__, __LINE__);
-
-            if (rename($oldname, $newname))
-            {
-                cpg_db_query("UPDATE {$CONFIG['TABLE_PICTURES']} SET filename = '$filename' WHERE pid = '$pid' LIMIT 1");
-            } else cpg_die(CRITICAL_ERROR, sprintf($lang_editpics_php['rename_failed'], $oldname, $newname), __FILE__, __LINE__);
-        }
-    }
-}
-
-function get_user_albums($user_id = '')
-{
-        global $CONFIG, $USER_ALBUMS_ARRAY, $user_albums_list;
-
-        if ($user_id != '') {
-                $or = " OR category='" . (FIRST_USER_CAT + $user_id) . "'";
-        }
-
-        if (!isset($USER_ALBUMS_ARRAY[USER_ID])) {
-                $user_albums = cpg_db_query("SELECT aid, title FROM {$CONFIG['TABLE_ALBUMS']} WHERE category='".(FIRST_USER_CAT + USER_ID)."' $or ORDER BY title");
-
-                if (mysql_num_rows($user_albums)) {
-                    $user_albums_list=cpg_db_fetch_rowset($user_albums);
-                } else {
-                        $user_albums_list = array();
-                }
-                mysql_free_result($user_albums);
-                $USER_ALBUMS_ARRAY[USER_ID] = $user_albums_list;
-        } else {
-                $user_albums_list = &$USER_ALBUMS_ARRAY[USER_ID];
-        }
-}
-
-function form_alb_list_box()
-{
-        global $CONFIG, $CURRENT_PIC;
-        global $user_albums_list, $public_albums_list, $lang_editpics_php;
-        $sel_album = $CURRENT_PIC['aid'];
-
-        echo <<<EOT
-                <tr>
-                        <td class="tableb" style="white-space: nowrap;">
-                                {$lang_editpics_php['album']}
-                </td>
-                <td class="tableb" valign="top">
-                                <select name="aid" class="listbox">
-EOT;
-                foreach($public_albums_list as $album) {
-        echo '              <option value="' . $album['aid'] . '"' . ($album['aid'] == $sel_album ? ' selected="selected"' : '') . '>' . $album['cat_title'] . "</option>\n";
-    }
-                foreach($user_albums_list as $album){
-                        echo '                        <option value="'.$album['aid'].'"'.($album['aid'] == $sel_album ? ' selected="selected"' : '').'>* '.$album['title'] . "</option>\n";
-                }
-        echo <<<EOT
-                                </select>
-                        </td>
-                </tr>
-
-EOT;
-}
-
-if (isset($_POST['submitDescription'])) process_post_data();
-
-$result = cpg_db_query("SELECT *, p.title AS title, p.votes AS votes FROM {$CONFIG['TABLE_PICTURES']} AS p, {$CONFIG['TABLE_ALBUMS']} AS a WHERE a.aid = p.aid AND pid = '$pid'");
-$CURRENT_PIC = mysql_fetch_array($result);
-mysql_free_result($result);
-
-if (!(GALLERY_ADMIN_MODE || $CURRENT_PIC['category'] == FIRST_USER_CAT + USER_ID || ($CONFIG['users_can_edit_pics'] && $CURRENT_PIC['owner_id'] == USER_ID)) || !USER_ID) cpg_die(ERROR, $lang_errors['access_denied'], __FILE__, __LINE__);
-
-pageheader($lang_editpics_php['edit_pics']);
-
-$thumb_url = get_pic_url($CURRENT_PIC, 'thumb');
-$thumb_link = 'displayimage.php?pos='.(-$CURRENT_PIC['pid']);
-$filename = htmlspecialchars($CURRENT_PIC['filename']);
-
-$THUMB_ROWSPAN=6;
-if ($CONFIG['user_field1_name'] != '') $THUMB_ROWSPAN++;
-if ($CONFIG['user_field2_name'] != '') $THUMB_ROWSPAN++;
-if ($CONFIG['user_field3_name'] != '') $THUMB_ROWSPAN++;
-if ($CONFIG['user_field4_name'] != '') $THUMB_ROWSPAN++;
-
-
-if (GALLERY_ADMIN_MODE) {
-//    $public_albums = cpg_db_query("SELECT DISTINCT aid, title, IF(category = 0, CONCAT('&gt; ', title), CONCAT(name,' &lt; ',title)) AS cat_title FROM {$CONFIG['TABLE_ALBUMS']}, {$CONFIG['TABLE_CATEGORIES']} WHERE category < '" . FIRST_USER_CAT . "' AND (category = 0 OR category = cid) ORDER BY cat_title");  // albums weren't coming up in the list when there were no cats
-    $public_albums = cpg_db_query("SELECT DISTINCT aid, title, IF(category = 0, CONCAT('&gt; ', title), CONCAT(name,' &lt; ',title)) AS cat_title FROM {$CONFIG['TABLE_ALBUMS']} LEFT JOIN {$CONFIG['TABLE_CATEGORIES']} ON category = cid WHERE category < '" . FIRST_USER_CAT . "' ORDER BY cat_title");
-} else {
-        $forbidden_set_alt = $FORBIDDEN_SET ? 'AND ' . str_replace('p.', '', $FORBIDDEN_SET) : '';
-//    $public_albums = cpg_db_query("SELECT DISTINCT aid, title, IF(category = 0, CONCAT('&gt; ', title), CONCAT(name,' &lt; ',title)) AS cat_title FROM {$CONFIG['TABLE_ALBUMS']} LEFT JOIN {$CONFIG['TABLE_CATEGORIES']} ON category = cid WHERE category < '" . FIRST_USER_CAT . "' AND uploads = 'YES' $forbidden_set_alt ORDER BY cat_title"); //when user edited own image and no album was uploadable album list was empty
-        $public_albums = cpg_db_query("SELECT DISTINCT aid, title, IF(category = 0, CONCAT('&gt; ', title), CONCAT(name,' &lt; ',title)) AS cat_title FROM {$CONFIG['TABLE_ALBUMS']} LEFT JOIN {$CONFIG['TABLE_CATEGORIES']} ON category = cid WHERE (category < '" . FIRST_USER_CAT . "' AND uploads = 'YES' $forbidden_set_alt) OR aid='{$CURRENT_PIC['aid']}' ORDER BY cat_title");
-}
-
-if (mysql_num_rows($public_albums)) {
-        $public_albums_list=cpg_db_fetch_rowset($public_albums);
-} else {
-        $public_albums_list = array();
-}
-
-if (GALLERY_ADMIN_MODE && $CURRENT_PIC['owner_id'] != USER_ID) {
-  get_user_albums($CURRENT_PIC['owner_id']);
-} else {
-  get_user_albums();
-}
-
-echo <<<EOT
-<script type="JavaScript">
-function textCounter(field, maxlimit) {
-        if (field.value.length > maxlimit) // if too long...trim it!
-        field.value = field.value.substring(0, maxlimit);
-}
-</script>
-<form name="editonepicform" method="post" action="editOnePic.php">
-<input type="hidden" name="id" value="{$CURRENT_PIC['pid']}" />
-EOT;
-
-starttable("100%", $lang_editpics_php['desc'], 3);
-
-//$pic_info = sprintf($lang_editpics_php['pic_info_str'], $CURRENT_PIC['pwidth'], $CURRENT_PIC['pheight'], ($CURRENT_PIC['filesize'] >> 10), $CURRENT_PIC['hits'], $CURRENT_PIC['votes']);
-
-if (!is_movie($CURRENT_PIC['filename'])) {
-        $pic_info = sprintf($lang_editpics_php['pic_info_str'], $CURRENT_PIC['pwidth'], $CURRENT_PIC['pheight'], ($CURRENT_PIC['filesize'] >> 10), $CURRENT_PIC['hits'], $CURRENT_PIC['votes']);
-} else {
-        $pic_info = sprintf($lang_editpics_php['pic_info_str'], '<input type="text" name="pwidth" value="'.$CURRENT_PIC['pwidth'].'" size="5" maxlength="5" class="textinput" />', '<input type="text" name="pheight" value="'.$CURRENT_PIC['pheight'].'" size="5" maxlength="5" class="textinput" />', ($CURRENT_PIC['filesize'] >> 10), $CURRENT_PIC['hits'], $CURRENT_PIC['votes']);
-}
-
-if (defined('UPLOAD_APPROVAL_MODE')) {
-        if ($CURRENT_PIC['owner_name']){
-                $pic_info .= ' - <a href ="profile.php?uid='.$CURRENT_PIC['owner_id'].'">'.$CURRENT_PIC['owner_name'].'</a>';
-        }
-}
-
-print <<<EOT
-        <tr>
-                        <td class="tableh2" colspan="3">
-                                <b>$filename</b>
-                                &nbsp;&nbsp;-&nbsp;&nbsp;<a href="modifyalb.php?album={$CURRENT_PIC['aid']}" class="admin_menu">{$lang_editpics_php['album_properties']}</a>&nbsp;&nbsp;-&nbsp;&nbsp;
-                        <a href="thumbnails.php?album={$CURRENT_PIC['aid']}" class="admin_menu">{$lang_editpics_php['thumbnail_view']}</a>
-                        </td>
-        </tr>
-        <tr>
-                        <td class="tableb" style="white-space: nowrap;">
-                                {$lang_editpics_php['pic_info']}
-                        </td>
-                        <td class="tableb">
-                                $pic_info
-                        </td>
-                                <td class="tableb" align="center" rowspan="$THUMB_ROWSPAN">
-                                <a href="$thumb_link"><img src="$thumb_url" class="image" border="0" alt="{$CURRENT_PIC['title']}"/></a><br />
-            </td>
-        </tr>
-EOT;
-
-form_alb_list_box();
-
-if ($CONFIG['show_bbcode_help']) {$captionLabel = '&nbsp;'. cpg_display_help('f=index.html&amp;base=64&amp;h='.urlencode(base64_encode(serialize($lang_bbcode_help_title))).'&amp;t='.urlencode(base64_encode(serialize($lang_bbcode_help))),470,245);}
-
-print <<<EOT
-        <tr>
-                        <td class="tableb" style="white-space: nowrap;">
-                        {$lang_editpics_php['title']}
-                </td>
-                <td width="100%" class="tableb" valign="top">
-                                <input type="text" style="width: 100%" name="title" maxlength="255" value="{$CURRENT_PIC['title']}" class="textinput" />
-                        </td>
-        </tr>
-
-        <tr>
-                        <td class="tableb" style="white-space: nowrap;">
-                        {$lang_editpics_php['filename']}
-                </td>
-                <td width="100%" class="tableb" valign="top">
-                                <input type="text" style="width: 100%" name="filename" maxlength="255" value="{$CURRENT_PIC['filename']}" class="textinput" />
-                        </td>
-        </tr>
-
-        <tr>
-                        <td class="tableb" valign="top" style="white-space: nowrap;">
-                                {$lang_editpics_php['desc']}$captionLabel
-                        </td>
-                        <td class="tableb" valign="top">
-                                <textarea name="caption" rows="5" cols="40" class="textinput" style="width: 100%;" onkeydown="textCounter(this, {$CONFIG['max_img_desc_length']});" onkeyup="textCounter(this, {$CONFIG['max_img_desc_length']});">{$CURRENT_PIC['caption']}</textarea>
-                        </td>
-        </tr>
-        <tr>
-                        <td class="tableb" style="white-space: nowrap;">
-                                {$lang_editpics_php['keywords']}
-                </td>
-                <td width="100%" class="tableb" valign="top">
-                                <input type="text" style="width: 100%" name="keywords" maxlength="255" value="{$CURRENT_PIC['keywords']}" class="textinput" />
-                        </td>
-        </tr>
-
-EOT;
-if ($CONFIG['user_field1_name'] != ''){
-echo <<<EOT
-        <tr>
-            <td class="tableb" style="white-space: nowrap;">
-                {$CONFIG['user_field1_name']}
-                </td>
-                <td width="100%" class="tableb" valign="top">
-                                <input type="text" style="width: 100%" name="user1" maxlength="255" value="{$CURRENT_PIC['user1']}" class="textinput" />
-                        </td>
-        </tr>
-EOT;
-}
-if ($CONFIG['user_field2_name'] != ''){
-echo <<<EOT
-        <tr>
-            <td class="tableb" style="white-space: nowrap;">
-                {$CONFIG['user_field2_name']}
-                </td>
-                <td width="100%" class="tableb" valign="top">
-                <input type="text" style="width: 100%" name="user2" maxlength="255" value="{$CURRENT_PIC['user2']}" class="textinput" />
-                        </td>
-        </tr>
-EOT;
-}if ($CONFIG['user_field3_name'] != ''){
-echo <<<EOT
-        <tr>
-            <td class="tableb" style="white-space: nowrap;">
-                {$CONFIG['user_field3_name']}
-                </td>
-                <td width="100%" class="tableb" valign="top">
-                <input type="text" style="width: 100%" name="user3" maxlength="255" value="{$CURRENT_PIC['user3']}" class="textinput" />
-                        </td>
-        </tr>
-EOT;
-}if ($CONFIG['user_field4_name'] != ''){
-echo <<<EOT
-        <tr>
-            <td class="tableb" style="white-space: nowrap;">
-                {$CONFIG['user_field4_name']}
-                </td>
-                <td width="100%" class="tableb" valign="top">
-                <input type="text" style="width: 100%" name="user4" maxlength="255" value="{$CURRENT_PIC['user4']}" class="textinput" />
-                        </td>
-        </tr>
-EOT;
-}
-
-// If this is the users gallery icon then check it
-$isgalleryicon_selected = ($CURRENT_PIC['galleryicon']) ? 'checked="checked" ': '';
-$isgalleryicon_disabled = ($CURRENT_PIC['category'] < FIRST_USER_CAT)? 'disabled="disabled" ':'';
-
-print <<<EOT
-        <tr>
-                        <td class="tableb" colspan="3" align="center">
-                                                        <table border="0" cellspacing="0" cellpadding="0" width="100%">
-                                                                <tr>
-                                                                        <td width="20%" align="center"><input type="checkbox" name="galleryicon" {$isgalleryicon_selected}{$isgalleryicon_disabled}value="{$CURRENT_PIC['pid']}" class="checkbox" />{$lang_editpics_php['gallery_icon']}</td>
-                                                                <!--    <td width="20%" align="center"><input type="checkbox" name="read_exif" value="1" class="checkbox" />{$lang_editpics_php['read_exif']}</td> -->
-                                                                        <td width="20%" align="center"><input type="checkbox" name="reset_vcount" value="1" class="checkbox" />{$lang_editpics_php['reset_view_count']}</td>
-                                                                        <td width="20%" align="center"><input type="checkbox" name="reset_votes" value="1" class="checkbox" />{$lang_editpics_php['reset_votes']}</td>
-                                                                        <td width="20%" align="center"><input type="checkbox" name="del_comments" value="1" class="checkbox" />{$lang_editpics_php['del_comm']}</td>
-                                                                </tr>
-                                                        </table>
-                        </td>
-        </tr>
-        <tr>
-                        <td colspan="3" align="center" class="tablef">
-                                <input type="submit" value="{$lang_editpics_php['apply']}" name="submitDescription" class="button" />
-                        </td>
-        </tr>
-EOT;
-
-endtable();
-echo '</form>';
-pagefooter();
-ob_end_flush();
+<?php
+/*************************
+  Coppermine Photo Gallery
+  ************************
+  Copyright (c) 2003-2009 Coppermine Dev Team
+  v1.1 originally written by Gregory DEMAR
+
+  This program is free software; you can redistribute it and/or modify
+  it under the terms of the GNU General Public License version 3
+  as published by the Free Software Foundation.
+  
+  ********************************************
+  Coppermine version: 1.4.25
+  $HeadURL: https://coppermine.svn.sourceforge.net/svnroot/coppermine/trunk/cpg1.4.x/editOnePic.php $
+  $Revision: 5997 $
+  $Author: gaugau $
+  $Date: 2009-05-26 08:43:24 +0200 (Di, 26 Mai 2009) $
+**********************************************/
+
+define('IN_COPPERMINE', true);
+define('EDITPICS_PHP', true);
+require('include/init.inc.php');
+
+if (isset($_REQUEST['id'])) {
+        $pid = (int)$_REQUEST['id'];
+} else {
+        $pid = -1;
+}
+
+function process_post_data()
+{
+    global $CONFIG, $mb_utf8_regex;
+    global $lang_errors, $lang_editpics_php;
+
+    $pid          = (int)$_POST['id'];
+    $aid          = (int)$_POST['aid'];
+    $pwidth       = (int)$_POST['pwidth'];
+    $pheight      = (int)$_POST['pheight'];
+    $title        = $_POST['title'];
+    $caption      = $_POST['caption'];
+    $keywords     = $_POST['keywords'];
+    $user1        = $_POST['user1'];
+    $user2        = $_POST['user2'];
+    $user3        = $_POST['user3'];
+    $user4        = $_POST['user4'];
+
+    $galleryicon = (int) $_POST['galleryicon'];
+    $isgalleryicon = ($galleryicon===$pid);
+
+    // need to implement "Read EXIF info again" checkbox; comment out for now
+    // $read_exif    = isset($_POST['read_exif']);
+    $reset_vcount = isset($_POST['reset_vcount']);
+    $reset_votes  = isset($_POST['reset_votes']);
+    $del_comments = isset($_POST['del_comments']) || $delete;
+
+    $result = cpg_db_query("SELECT * FROM {$CONFIG['TABLE_PICTURES']} AS p, {$CONFIG['TABLE_ALBUMS']} AS a WHERE a.aid = p.aid AND pid = '$pid'");
+    if (!mysql_num_rows($result)) cpg_die(CRITICAL_ERROR, $lang_errors['non_exist_ap'], __FILE__, __LINE__);
+    $pic = mysql_fetch_array($result);
+    mysql_free_result($result);
+
+    if (!(GALLERY_ADMIN_MODE || $pic['category'] == FIRST_USER_CAT + USER_ID || ($CONFIG['users_can_edit_pics'] && $pic['owner_id'] == USER_ID)) || !USER_ID) cpg_die(ERROR, $lang_errors['access_denied'], __FILE__, __LINE__);
+
+    $update  = "aid = '".$aid."'";
+    if (is_movie($pic['filename'])) {
+        $update .= ", pwidth = ".$pwidth;
+        $update .= ", pheight = ".$pheight;
+    }
+    $update .= ", title = '".addslashes($title)."'";
+    $update .= ", caption = '".addslashes($caption)."'";
+    $update .= ", keywords = '".addslashes($keywords)."'";
+    $update .= ", user1 = '".addslashes($user1)."'";
+    $update .= ", user2 = '".addslashes($user2)."'";
+    $update .= ", user3 = '".addslashes($user3)."'";
+    $update .= ", user4 = '".addslashes($user4)."'";
+
+    if ($isgalleryicon && $pic['category']>FIRST_USER_CAT) {
+        $sql = 'update '.$CONFIG['TABLE_PICTURES'].' set galleryicon=0 where owner_id='.$pic['owner_id'].';';
+        cpg_db_query($sql);
+        $update .= ", galleryicon = ".addslashes($galleryicon);
+    }
+
+    if ($reset_vcount) {
+        $update .= ", hits = '0'";
+        resetDetailHits($pid);
+    }
+    if ($reset_votes) {
+        $update .= ", pic_rating = '0', votes = '0'";
+        resetDetailVotes($pid);
+    }
+
+    if ($del_comments) {
+        $query = "DELETE FROM {$CONFIG['TABLE_COMMENTS']} WHERE pid='$pid'";
+        $result =cpg_db_query($query);
+
+    } else {
+        $query = "UPDATE {$CONFIG['TABLE_PICTURES']} SET $update WHERE pid='$pid' LIMIT 1";
+        $result = cpg_db_query($query);
+    }
+
+    // rename a file
+    if ($_POST['filename'] != $pic['filename'])
+    {
+        if($CONFIG['thumb_use']=='ht' && $pic['pheight'] > $CONFIG['picture_width']) {
+            $condition = true;
+        } elseif ($CONFIG['thumb_use']=='wd' && $pic['pwidth'] > $CONFIG['picture_width']){
+            $condition = true;
+        } elseif ($CONFIG['thumb_use']=='any' && max($pic['pwidth'], $pic['pheight']) > $CONFIG['picture_width']){
+            $condition = true;
+        } else {
+            $condition = false;
+        }
+
+        if ($CONFIG['make_intermediate'] && $condition ) {
+            $prefices = array('fullsize', 'normal', 'thumb');
+        } else {
+            $prefices = array('fullsize', 'thumb');
+        }
+
+        if (!is_image($pic['filename'])){
+            $prefices = array('fullsize');
+        }
+
+        foreach ($prefices as $prefix)
+        {
+            $oldname = urldecode(get_pic_url($pic, $prefix));
+            $filename = replace_forbidden($_POST['filename']);
+            $newname = str_replace($pic['filename'], $filename, $oldname);
+
+            $old_mime = cpg_get_type($oldname);
+            $new_mime = cpg_get_type($newname);
+
+            if (($old_mime['mime'] != $new_mime['mime']) && isset($new_mime['mime']))
+                cpg_die(CRITICAL_ERROR, sprintf($lang_editpics_php['mime_conv'], $old_mime['mime'], $new_mime['mime']), __FILE__, __LINE__);
+
+            if (!is_known_filetype($newname))
+                cpg_die(CRITICAL_ERROR, $lang_editpics_php['forb_ext'], __FILE__, __LINE__);
+
+            if (file_exists($newname))
+                cpg_die(CRITICAL_ERROR, sprintf($lang_editpics_php['file_exists'], $newname), __FILE__, __LINE__);
+
+            if (!file_exists($oldname))
+                cpg_die(CRITICAL_ERROR, sprintf($lang_editpics_php['src_file_missing'], $oldname), __FILE__, __LINE__);
+
+            if (rename($oldname, $newname))
+            {
+                cpg_db_query("UPDATE {$CONFIG['TABLE_PICTURES']} SET filename = '$filename' WHERE pid = '$pid' LIMIT 1");
+            } else cpg_die(CRITICAL_ERROR, sprintf($lang_editpics_php['rename_failed'], $oldname, $newname), __FILE__, __LINE__);
+        }
+    }
+}
+
+function get_user_albums($user_id = '')
+{
+        global $CONFIG, $USER_ALBUMS_ARRAY, $user_albums_list;
+
+        if ($user_id != '') {
+                $or = " OR category='" . (FIRST_USER_CAT + $user_id) . "'";
+        }
+
+        if (!isset($USER_ALBUMS_ARRAY[USER_ID])) {
+                $user_albums = cpg_db_query("SELECT aid, title FROM {$CONFIG['TABLE_ALBUMS']} WHERE category='".(FIRST_USER_CAT + USER_ID)."' $or ORDER BY title");
+
+                if (mysql_num_rows($user_albums)) {
+                    $user_albums_list=cpg_db_fetch_rowset($user_albums);
+                } else {
+                        $user_albums_list = array();
+                }
+                mysql_free_result($user_albums);
+                $USER_ALBUMS_ARRAY[USER_ID] = $user_albums_list;
+        } else {
+                $user_albums_list = &$USER_ALBUMS_ARRAY[USER_ID];
+        }
+}
+
+function form_alb_list_box()
+{
+        global $CONFIG, $CURRENT_PIC;
+        global $user_albums_list, $public_albums_list, $lang_editpics_php;
+        $sel_album = $CURRENT_PIC['aid'];
+
+        echo <<<EOT
+                <tr>
+                        <td class="tableb" style="white-space: nowrap;">
+                                {$lang_editpics_php['album']}
+                </td>
+                <td class="tableb" valign="top">
+                                <select name="aid" class="listbox">
+EOT;
+                foreach($public_albums_list as $album) {
+        echo '              <option value="' . $album['aid'] . '"' . ($album['aid'] == $sel_album ? ' selected="selected"' : '') . '>' . $album['cat_title'] . "</option>\n";
+    }
+                foreach($user_albums_list as $album){
+                        echo '                        <option value="'.$album['aid'].'"'.($album['aid'] == $sel_album ? ' selected="selected"' : '').'>* '.$album['title'] . "</option>\n";
+                }
+        echo <<<EOT
+                                </select>
+                        </td>
+                </tr>
+
+EOT;
+}
+
+if (isset($_POST['submitDescription'])) process_post_data();
+
+$result = cpg_db_query("SELECT *, p.title AS title, p.votes AS votes FROM {$CONFIG['TABLE_PICTURES']} AS p, {$CONFIG['TABLE_ALBUMS']} AS a WHERE a.aid = p.aid AND pid = '$pid'");
+$CURRENT_PIC = mysql_fetch_array($result);
+mysql_free_result($result);
+
+if (!(GALLERY_ADMIN_MODE || $CURRENT_PIC['category'] == FIRST_USER_CAT + USER_ID || ($CONFIG['users_can_edit_pics'] && $CURRENT_PIC['owner_id'] == USER_ID)) || !USER_ID) cpg_die(ERROR, $lang_errors['access_denied'], __FILE__, __LINE__);
+
+pageheader($lang_editpics_php['edit_pics']);
+
+$thumb_url = get_pic_url($CURRENT_PIC, 'thumb');
+$thumb_link = 'displayimage.php?pos='.(-$CURRENT_PIC['pid']);
+$filename = htmlspecialchars($CURRENT_PIC['filename']);
+
+$THUMB_ROWSPAN=6;
+if ($CONFIG['user_field1_name'] != '') $THUMB_ROWSPAN++;
+if ($CONFIG['user_field2_name'] != '') $THUMB_ROWSPAN++;
+if ($CONFIG['user_field3_name'] != '') $THUMB_ROWSPAN++;
+if ($CONFIG['user_field4_name'] != '') $THUMB_ROWSPAN++;
+
+
+if (GALLERY_ADMIN_MODE) {
+//    $public_albums = cpg_db_query("SELECT DISTINCT aid, title, IF(category = 0, CONCAT('&gt; ', title), CONCAT(name,' &lt; ',title)) AS cat_title FROM {$CONFIG['TABLE_ALBUMS']}, {$CONFIG['TABLE_CATEGORIES']} WHERE category < '" . FIRST_USER_CAT . "' AND (category = 0 OR category = cid) ORDER BY cat_title");  // albums weren't coming up in the list when there were no cats
+    $public_albums = cpg_db_query("SELECT DISTINCT aid, title, IF(category = 0, CONCAT('&gt; ', title), CONCAT(name,' &lt; ',title)) AS cat_title FROM {$CONFIG['TABLE_ALBUMS']} LEFT JOIN {$CONFIG['TABLE_CATEGORIES']} ON category = cid WHERE category < '" . FIRST_USER_CAT . "' ORDER BY cat_title");
+} else {
+        $forbidden_set_alt = $FORBIDDEN_SET ? 'AND ' . str_replace('p.', '', $FORBIDDEN_SET) : '';
+//    $public_albums = cpg_db_query("SELECT DISTINCT aid, title, IF(category = 0, CONCAT('&gt; ', title), CONCAT(name,' &lt; ',title)) AS cat_title FROM {$CONFIG['TABLE_ALBUMS']} LEFT JOIN {$CONFIG['TABLE_CATEGORIES']} ON category = cid WHERE category < '" . FIRST_USER_CAT . "' AND uploads = 'YES' $forbidden_set_alt ORDER BY cat_title"); //when user edited own image and no album was uploadable album list was empty
+        $public_albums = cpg_db_query("SELECT DISTINCT aid, title, IF(category = 0, CONCAT('&gt; ', title), CONCAT(name,' &lt; ',title)) AS cat_title FROM {$CONFIG['TABLE_ALBUMS']} LEFT JOIN {$CONFIG['TABLE_CATEGORIES']} ON category = cid WHERE (category < '" . FIRST_USER_CAT . "' AND uploads = 'YES' $forbidden_set_alt) OR aid='{$CURRENT_PIC['aid']}' ORDER BY cat_title");
+}
+
+if (mysql_num_rows($public_albums)) {
+        $public_albums_list=cpg_db_fetch_rowset($public_albums);
+} else {
+        $public_albums_list = array();
+}
+
+if (GALLERY_ADMIN_MODE && $CURRENT_PIC['owner_id'] != USER_ID) {
+  get_user_albums($CURRENT_PIC['owner_id']);
+} else {
+  get_user_albums();
+}
+
+echo <<<EOT
+<script type="JavaScript">
+function textCounter(field, maxlimit) {
+        if (field.value.length > maxlimit) // if too long...trim it!
+        field.value = field.value.substring(0, maxlimit);
+}
+</script>
+<form name="editonepicform" method="post" action="editOnePic.php">
+<input type="hidden" name="id" value="{$CURRENT_PIC['pid']}" />
+EOT;
+
+starttable("100%", $lang_editpics_php['desc'], 3);
+
+//$pic_info = sprintf($lang_editpics_php['pic_info_str'], $CURRENT_PIC['pwidth'], $CURRENT_PIC['pheight'], ($CURRENT_PIC['filesize'] >> 10), $CURRENT_PIC['hits'], $CURRENT_PIC['votes']);
+
+if (!is_movie($CURRENT_PIC['filename'])) {
+        $pic_info = sprintf($lang_editpics_php['pic_info_str'], $CURRENT_PIC['pwidth'], $CURRENT_PIC['pheight'], ($CURRENT_PIC['filesize'] >> 10), $CURRENT_PIC['hits'], $CURRENT_PIC['votes']);
+} else {
+        $pic_info = sprintf($lang_editpics_php['pic_info_str'], '<input type="text" name="pwidth" value="'.$CURRENT_PIC['pwidth'].'" size="5" maxlength="5" class="textinput" />', '<input type="text" name="pheight" value="'.$CURRENT_PIC['pheight'].'" size="5" maxlength="5" class="textinput" />', ($CURRENT_PIC['filesize'] >> 10), $CURRENT_PIC['hits'], $CURRENT_PIC['votes']);
+}
+
+if (defined('UPLOAD_APPROVAL_MODE')) {
+        if ($CURRENT_PIC['owner_name']){
+                $pic_info .= ' - <a href ="profile.php?uid='.$CURRENT_PIC['owner_id'].'">'.$CURRENT_PIC['owner_name'].'</a>';
+        }
+}
+
+print <<<EOT
+        <tr>
+                        <td class="tableh2" colspan="3">
+                                <b>$filename</b>
+                                &nbsp;&nbsp;-&nbsp;&nbsp;<a href="modifyalb.php?album={$CURRENT_PIC['aid']}" class="admin_menu">{$lang_editpics_php['album_properties']}</a>&nbsp;&nbsp;-&nbsp;&nbsp;
+                        <a href="thumbnails.php?album={$CURRENT_PIC['aid']}" class="admin_menu">{$lang_editpics_php['thumbnail_view']}</a>
+                        </td>
+        </tr>
+        <tr>
+                        <td class="tableb" style="white-space: nowrap;">
+                                {$lang_editpics_php['pic_info']}
+                        </td>
+                        <td class="tableb">
+                                $pic_info
+                        </td>
+                                <td class="tableb" align="center" rowspan="$THUMB_ROWSPAN">
+                                <a href="$thumb_link"><img src="$thumb_url" class="image" border="0" alt="{$CURRENT_PIC['title']}"/></a><br />
+            </td>
+        </tr>
+EOT;
+
+form_alb_list_box();
+
+if ($CONFIG['show_bbcode_help']) {$captionLabel = '&nbsp;'. cpg_display_help('f=index.html&amp;base=64&amp;h='.urlencode(base64_encode(serialize($lang_bbcode_help_title))).'&amp;t='.urlencode(base64_encode(serialize($lang_bbcode_help))),470,245);}
+
+print <<<EOT
+        <tr>
+                        <td class="tableb" style="white-space: nowrap;">
+                        {$lang_editpics_php['title']}
+                </td>
+                <td width="100%" class="tableb" valign="top">
+                                <input type="text" style="width: 100%" name="title" maxlength="255" value="{$CURRENT_PIC['title']}" class="textinput" />
+                        </td>
+        </tr>
+
+        <tr>
+                        <td class="tableb" style="white-space: nowrap;">
+                        {$lang_editpics_php['filename']}
+                </td>
+                <td width="100%" class="tableb" valign="top">
+                                <input type="text" style="width: 100%" name="filename" maxlength="255" value="{$CURRENT_PIC['filename']}" class="textinput" />
+                        </td>
+        </tr>
+
+        <tr>
+                        <td class="tableb" valign="top" style="white-space: nowrap;">
+                                {$lang_editpics_php['desc']}$captionLabel
+                        </td>
+                        <td class="tableb" valign="top">
+                                <textarea name="caption" rows="5" cols="40" class="textinput" style="width: 100%;" onkeydown="textCounter(this, {$CONFIG['max_img_desc_length']});" onkeyup="textCounter(this, {$CONFIG['max_img_desc_length']});">{$CURRENT_PIC['caption']}</textarea>
+                        </td>
+        </tr>
+        <tr>
+                        <td class="tableb" style="white-space: nowrap;">
+                                {$lang_editpics_php['keywords']}
+                </td>
+                <td width="100%" class="tableb" valign="top">
+                                <input type="text" style="width: 100%" name="keywords" maxlength="255" value="{$CURRENT_PIC['keywords']}" class="textinput" />
+                        </td>
+        </tr>
+
+EOT;
+if ($CONFIG['user_field1_name'] != ''){
+echo <<<EOT
+        <tr>
+            <td class="tableb" style="white-space: nowrap;">
+                {$CONFIG['user_field1_name']}
+                </td>
+                <td width="100%" class="tableb" valign="top">
+                                <input type="text" style="width: 100%" name="user1" maxlength="255" value="{$CURRENT_PIC['user1']}" class="textinput" />
+                        </td>
+        </tr>
+EOT;
+}
+if ($CONFIG['user_field2_name'] != ''){
+echo <<<EOT
+        <tr>
+            <td class="tableb" style="white-space: nowrap;">
+                {$CONFIG['user_field2_name']}
+                </td>
+                <td width="100%" class="tableb" valign="top">
+                <input type="text" style="width: 100%" name="user2" maxlength="255" value="{$CURRENT_PIC['user2']}" class="textinput" />
+                        </td>
+        </tr>
+EOT;
+}if ($CONFIG['user_field3_name'] != ''){
+echo <<<EOT
+        <tr>
+            <td class="tableb" style="white-space: nowrap;">
+                {$CONFIG['user_field3_name']}
+                </td>
+                <td width="100%" class="tableb" valign="top">
+                <input type="text" style="width: 100%" name="user3" maxlength="255" value="{$CURRENT_PIC['user3']}" class="textinput" />
+                        </td>
+        </tr>
+EOT;
+}if ($CONFIG['user_field4_name'] != ''){
+echo <<<EOT
+        <tr>
+            <td class="tableb" style="white-space: nowrap;">
+                {$CONFIG['user_field4_name']}
+                </td>
+                <td width="100%" class="tableb" valign="top">
+                <input type="text" style="width: 100%" name="user4" maxlength="255" value="{$CURRENT_PIC['user4']}" class="textinput" />
+                        </td>
+        </tr>
+EOT;
+}
+
+// If this is the users gallery icon then check it
+$isgalleryicon_selected = ($CURRENT_PIC['galleryicon']) ? 'checked="checked" ': '';
+$isgalleryicon_disabled = ($CURRENT_PIC['category'] < FIRST_USER_CAT)? 'disabled="disabled" ':'';
+
+print <<<EOT
+        <tr>
+                        <td class="tableb" colspan="3" align="center">
+                                                        <table border="0" cellspacing="0" cellpadding="0" width="100%">
+                                                                <tr>
+                                                                        <td width="20%" align="center"><input type="checkbox" name="galleryicon" {$isgalleryicon_selected}{$isgalleryicon_disabled}value="{$CURRENT_PIC['pid']}" class="checkbox" />{$lang_editpics_php['gallery_icon']}</td>
+                                                                <!--    <td width="20%" align="center"><input type="checkbox" name="read_exif" value="1" class="checkbox" />{$lang_editpics_php['read_exif']}</td> -->
+                                                                        <td width="20%" align="center"><input type="checkbox" name="reset_vcount" value="1" class="checkbox" />{$lang_editpics_php['reset_view_count']}</td>
+                                                                        <td width="20%" align="center"><input type="checkbox" name="reset_votes" value="1" class="checkbox" />{$lang_editpics_php['reset_votes']}</td>
+                                                                        <td width="20%" align="center"><input type="checkbox" name="del_comments" value="1" class="checkbox" />{$lang_editpics_php['del_comm']}</td>
+                                                                </tr>
+                                                        </table>
+                        </td>
+        </tr>
+        <tr>
+                        <td colspan="3" align="center" class="tablef">
+                                <input type="submit" value="{$lang_editpics_php['apply']}" name="submitDescription" class="button" />
+                        </td>
+        </tr>
+EOT;
+
+endtable();
+echo '</form>';
+pagefooter();
+ob_end_flush();
 ?>
\ No newline at end of file
diff -x .svn -aruN 1.4.24.src/editpics.php 1.4.25.src/editpics.php
--- 1.4.24.src/editpics.php	2009-05-25 15:01:17.000000000 -0500
+++ 1.4.25.src/editpics.php	2009-05-26 11:25:52.000000000 -0500
@@ -1,638 +1,638 @@
-<?php
-/*************************
-  Coppermine Photo Gallery
-  ************************
-  Copyright (c) 2003-2009 Coppermine Dev Team
-  v1.1 originally written by Gregory DEMAR
-
-  This program is free software; you can redistribute it and/or modify
-  it under the terms of the GNU General Public License version 3
-  as published by the Free Software Foundation.
-  
-  ********************************************
-  Coppermine version: 1.4.24
-  $HeadURL: https://coppermine.svn.sourceforge.net/svnroot/coppermine/trunk/cpg1.4.x/editpics.php $
-  $Revision: 5988 $
-  $Author: gaugau $
-  $Date: 2009-05-25 22:01:41 +0200 (Mo, 25 Mai 2009) $
-**********************************************/
-
-define('IN_COPPERMINE', true);
-define('EDITPICS_PHP', true);
-
-require('include/init.inc.php');
-
-if (!(GALLERY_ADMIN_MODE || USER_ADMIN_MODE)) cpg_die(ERROR, $lang_errors['access_denied'], __FILE__, __LINE__);
-
-define('UPLOAD_APPROVAL_MODE', isset($_GET['mode']));
-define('EDIT_PICTURES_MODE', !isset($_GET['mode']));
-
-if (isset($_GET['album'])) {
-        $album_id = (int)$_GET['album'];
-} elseif (isset($_GET['album'])) {
-        $album_id = (int)$_POST['album'];
-} else {
-        $album_id = -1;
-}
-
-if (UPLOAD_APPROVAL_MODE && !GALLERY_ADMIN_MODE) cpg_die(ERROR, $lang_errors['access_denied'], __FILE__, __LINE__);
-
-if (EDIT_PICTURES_MODE) {
-    $result = cpg_db_query("SELECT title, category FROM {$CONFIG['TABLE_ALBUMS']} WHERE aid = '$album_id'");
-        if (!mysql_num_rows($result)) cpg_die(CRITICAL_ERROR, $lang_errors['non_exist_ap'], __FILE__, __LINE__);
-        $ALBUM_DATA=mysql_fetch_array($result);
-        mysql_free_result($result);
-        $cat = $ALBUM_DATA['category'];
-        $actual_cat = $cat;
-        if ($cat != FIRST_USER_CAT + USER_ID && !GALLERY_ADMIN_MODE) cpg_die(ERROR, $lang_errors['perm_denied'], __FILE__, __LINE__);
-} else {
-        $ALBUM_DATA = array();
-}
-
-$THUMB_ROWSPAN=5;
-if ($CONFIG['user_field1_name'] != '') $THUMB_ROWSPAN++;
-if ($CONFIG['user_field2_name'] != '') $THUMB_ROWSPAN++;
-if ($CONFIG['user_field3_name'] != '') $THUMB_ROWSPAN++;
-if ($CONFIG['user_field4_name'] != '') $THUMB_ROWSPAN++;
-
-// $USER_ALBUMS_ARRAY=array(0 => array());
-
-// Type 0 => input
-//      1 => album list
-//      2 => text_area
-//      3 => picture information
-$captionLabel = $lang_editpics_php['desc'];
-if ($CONFIG['show_bbcode_help']) {
-	$captionLabel .= '&nbsp;'. cpg_display_help('f=index.html&amp;base=64&amp;h='.urlencode(base64_encode(serialize($lang_bbcode_help_title.'&nbsp;'))).'&amp;t='.urlencode(base64_encode(serialize($lang_bbcode_help))),470,245);
-}
-$data = array(
-        array($lang_editpics_php['pic_info'], '', 3),
-        array($lang_editpics_php['album'], 'aid', 1),
-        array($lang_editpics_php['title'], 'title', 0, 255),
-        array($captionLabel, 'caption', 2, $CONFIG['max_img_desc_length']),
-        array($lang_editpics_php['keywords'], 'keywords', 0, 255),
-        array($CONFIG['user_field1_name'], 'user1', 0, 255),
-        array($CONFIG['user_field2_name'], 'user2', 0, 255),
-        array($CONFIG['user_field3_name'], 'user3', 0, 255),
-        array($CONFIG['user_field4_name'], 'user4', 0, 255),
-        array('', '', 4)
-);
-
-function get_post_var($var, $pid)
-{
-        global $lang_errors;
-
-        $var_name = $var.$pid;
-        if(!isset($_POST[$var_name])) cpg_die(CRITICAL_ERROR, $lang_errors['param_missing']." ($var_name)", __FILE__, __LINE__);
-        return $_POST[$var_name];
-}
-
-function process_post_data()
-{
-        global $CONFIG;
-        global $user_albums_list, $lang_errors;
-
-        $user_album_set = array();
-        foreach($user_albums_list as $album) $user_album_set[$album['aid']] = 1;
-
-        if (!is_array($_POST['pid'])) cpg_die(CRITICAL_ERROR, $lang_errors['param_missing'], __FILE__, __LINE__);
-        $pid_array = &$_POST['pid'];
-
-                $galleryicon = (int) $_POST['galleryicon'];
-
-        foreach($pid_array as $pid){
-                $pid = (int)$pid;
-
-                $aid         = (int)get_post_var('aid', $pid);
-                $title       = get_post_var('title', $pid);
-                $caption     = get_post_var('caption', $pid);
-                $keywords    = get_post_var('keywords', $pid);
-                $user1       = get_post_var('user1', $pid);
-                $user2       = get_post_var('user2', $pid);
-                $user3       = get_post_var('user3', $pid);
-                $user4       = get_post_var('user4', $pid);
-
-                                $isgalleryicon = ($galleryicon===$pid);
-
-                $delete       = isset($_POST['delete'.$pid]);
-                $reset_vcount = isset($_POST['reset_vcount'.$pid]);
-                $reset_votes  = isset($_POST['reset_votes'.$pid]);
-                $del_comments = isset($_POST['del_comments'.$pid]) || $delete;
-
-                $query = "SELECT category, filepath, filename, owner_id FROM {$CONFIG['TABLE_PICTURES']}, {$CONFIG['TABLE_ALBUMS']} WHERE {$CONFIG['TABLE_PICTURES']}.aid = {$CONFIG['TABLE_ALBUMS']}.aid AND pid='$pid'";
-                $result = cpg_db_query($query);
-                if (!mysql_num_rows($result)) cpg_die(CRITICAL_ERROR, $lang_errors['non_exist_ap'], __FILE__, __LINE__);
-                $pic = mysql_fetch_array($result);
-                mysql_free_result($result);
-
-                if (!GALLERY_ADMIN_MODE) {
-                        if ($pic['category'] != FIRST_USER_CAT + USER_ID) cpg_die(ERROR, $lang_errors['perm_denied']."<br />(picture category = {$pic['category']}/ $pid)", __FILE__, __LINE__);
-                        if (!isset($user_album_set[$aid])) cpg_die(ERROR, $lang_errors['perm_denied']."<br />(target album = $aid)", __FILE__, __LINE__);
-                }
-
-                $update  = "aid = '".$aid."'";
-                $update .= ", title = '".addslashes($title)."'";
-                $update .= ", caption = '".addslashes($caption)."'";
-                $update .= ", keywords = '".addslashes($keywords)."'";
-                $update .= ", user1 = '".addslashes($user1)."'";
-                $update .= ", user2 = '".addslashes($user2)."'";
-                $update .= ", user3 = '".addslashes($user3)."'";
-                $update .= ", user4 = '".addslashes($user4)."'";
-
-                if ($isgalleryicon && $pic['category']>FIRST_USER_CAT) {
-                                        $sql = 'update '.$CONFIG['TABLE_PICTURES'].' set galleryicon=0 where owner_id='.$pic['owner_id'].';';
-                                        cpg_db_query($sql);
-                                        $update .= ", galleryicon = ".addslashes($galleryicon);
-                                }
-
-                                if (is_movie($pic['filename'])) {
-                                        $pwidth = get_post_var('pwidth', $pid);
-                                        $pheight = get_post_var('pheight', $pid);
-                                        $update .= ", pwidth = " .  (int) $pwidth;
-                                        $update .= ", pheight = " . (int) $pheight;
-                                }
-
-                if ($reset_vcount) {
-                    $update .= ", hits = '0'";
-                    resetDetailHits($pid);
-                }
-                if ($reset_votes) {
-                    $update .= ", pic_rating = '0', votes = '0'";
-                    resetDetailVotes($pid);
-                }
-
-                if (UPLOAD_APPROVAL_MODE) {
-                    $approved = get_post_var('approved', $pid);
-                        if ($approved == 'YES') {
-                                $update .= ", approved = 'YES'";
-                        } elseif ($approved == 'DELETE') {
-                                $del_comments = 1;
-                                $delete = 1;
-                        }
-                }
-
-                if ($del_comments) {
-                        $query = "DELETE FROM {$CONFIG['TABLE_COMMENTS']} WHERE pid='$pid'";
-                        $result =cpg_db_query($query);
-                }
-
-                if ($delete) {
-                        $dir=$CONFIG['fullpath'].$pic['filepath'];
-                        $file=$pic['filename'];
-
-                        if (!is_writable($dir)) cpg_die(CRITICAL_ERROR, sprintf($lang_errors['directory_ro'], $dir), __FILE__, __LINE__);
-
-                        $files=array($dir.$file, $dir.$CONFIG['normal_pfx'].$file, $dir.$CONFIG['thumb_pfx'].$file);
-                        foreach ($files as $currFile){
-                                if (is_file($currFile)) @unlink($currFile);
-                        }
-
-                        $query = "DELETE FROM {$CONFIG['TABLE_PICTURES']} WHERE pid='$pid' LIMIT 1";
-                        $result = cpg_db_query($query);
-                } else {
-                        $query = "UPDATE {$CONFIG['TABLE_PICTURES']} SET $update WHERE pid='$pid' LIMIT 1";
-                        $result = cpg_db_query($query);
-                }
-        }
-}
-
-function form_label($text)
-{
-        global $CURENT_PIC;
-
-        echo <<<EOT
-        <tr>
-                <td class="tableh2" colspan="3">
-                        <b>$text</b>
-                </td>
-        </tr>
-
-EOT;
-}
-
-function form_pic_info($text)
-{
-        global $CURRENT_PIC, $THUMB_ROWSPAN, $CONFIG, $lang_byte_units, $lang_editpics_php;
-
-        if (!is_movie($CURRENT_PIC['filename'])) {
-                $pic_info = sprintf($lang_editpics_php['pic_info_str'], $CURRENT_PIC['pwidth'], $CURRENT_PIC['pheight'], ($CURRENT_PIC['filesize'] >> 10), $CURRENT_PIC['hits'], $CURRENT_PIC['votes']);
-        } else {
-                $pic_info = sprintf($lang_editpics_php['pic_info_str'], '<input type="text" name="pwidth'.$CURRENT_PIC['pid'].'" value="'.$CURRENT_PIC['pwidth'].'" size="5" maxlength="5" class="textinput" />', '<input type="text" name="pheight'.$CURRENT_PIC['pid'].'" value="'.$CURRENT_PIC['pheight'].'" size="5" maxlength="5" class="textinput" />', ($CURRENT_PIC['filesize'] >> 10), $CURRENT_PIC['hits'], $CURRENT_PIC['votes']);
-        }
-
-        if (UPLOAD_APPROVAL_MODE) {
-               if($CURRENT_PIC['owner_name']){
-                        $pic_info .= ' - <a href ="profile.php?uid='.$CURRENT_PIC['owner_id'].'">'.$CURRENT_PIC['owner_name'].'</a>';
-                }
-        }
-
-        $thumb_url = get_pic_url($CURRENT_PIC, 'thumb');
-        $thumb_link = 'displayimage.php?&amp;pos='.(-$CURRENT_PIC['pid']);
-        $filename = htmlspecialchars($CURRENT_PIC['filename']);
-
-        echo <<<EOT
-        <tr>
-                <td class="tableh2" colspan="3">
-                        <input type="hidden" name="pid[]" value="{$CURRENT_PIC['pid']}" />
-                        <b>$filename</b>
-                </td>
-        </tr>
-        <tr>
-                <td class="tableb" style="white-space: nowrap;">
-                        $text
-                </td>
-                <td class="tableb">
-                        $pic_info
-                </td>
-                   <td class="tableb" align="center" rowspan="$THUMB_ROWSPAN">
-                        <a href="$thumb_link" target="_blank"><img src="$thumb_url" class="image" border="0" alt="" /><br /></a>
-            </td>
-        </tr>
-
-EOT;
-}
-
-function form_options()
-{
-        global $CURRENT_PIC, $lang_editpics_php;
-
-                $isgalleryicon_selected = ($CURRENT_PIC['galleryicon']) ? 'checked="checked" ':'';
-                $isgalleryicon_disabled = ($CURRENT_PIC['category'] < FIRST_USER_CAT) ? 'disabled="disabled" ':'';
-
-        if (UPLOAD_APPROVAL_MODE) {
-                echo <<<EOT
-        <tr>
-                <td class="tableb" colspan="3" align="center">
-                        <input type="radio" name="approved{$CURRENT_PIC['pid']}" id="approved{$CURRENT_PIC['pid']}yes" value="YES" class="radio" /><label for="approved{$CURRENT_PIC['pid']}yes" class="clickable_option">{$lang_editpics_php['approve']}</label>&nbsp;
-                        <input type="radio" name="approved{$CURRENT_PIC['pid']}" id="approved{$CURRENT_PIC['pid']}no" value="NO" class="radio" checked="checked" /><label for="approved{$CURRENT_PIC['pid']}no" class="clickable_option">{$lang_editpics_php['postpone_app']}</label>&nbsp;
-                        <input type="radio" name="approved{$CURRENT_PIC['pid']}" id="approved{$CURRENT_PIC['pid']}del" value="DELETE" class="radio" /><label for="approved{$CURRENT_PIC['pid']}del" class="clickable_option">{$lang_editpics_php['del_pic']}</label>&nbsp;
-                </td>
-        </tr>
-
-EOT;
-        } else {
-                echo <<<EOT
-        <tr>
-                <td class="tableb" colspan="3" align="center">
-                    <table border="0" cellspacing="0" cellpadding="0" width="100%">
-                        <tr>
-                            <td width="20%" align="center"><input type="radio" name="galleryicon" id="galleryicon{$CURRENT_PIC['pid']}" value="{$CURRENT_PIC['pid']}" {$isgalleryicon_selected}{$isgalleryicon_disabled}class="checkbox" />{$lang_editpics_php['gallery_icon']}</td>
-                            <td width="20%" align="center"><input type="checkbox" name="delete{$CURRENT_PIC['pid']}" id="delete{$CURRENT_PIC['pid']}" value="1" class="checkbox" /><label for="delete{$CURRENT_PIC['pid']}" class="clickable_option">{$lang_editpics_php['del_pic']}</label></td>
-                            <td width="20%" align="center"><input type="checkbox" name="reset_vcount{$CURRENT_PIC['pid']}" id="reset_vcount{$CURRENT_PIC['pid']}" value="1" class="checkbox" /><label for="reset_vcount{$CURRENT_PIC['pid']}" class="clickable_option">{$lang_editpics_php['reset_view_count']}</label></td>
-                            <td width="20%" align="center"><input type="checkbox" name="reset_votes{$CURRENT_PIC['pid']}" id="reset_votes{$CURRENT_PIC['pid']}" value="1" class="checkbox" /><label for="reset_votes{$CURRENT_PIC['pid']}" class="clickable_option">{$lang_editpics_php['reset_votes']}</label></td>
-                            <td width="20%" align="center"><input type="checkbox" name="del_comments{$CURRENT_PIC['pid']}" id="del_comments{$CURRENT_PIC['pid']}" value="1" class="checkbox" /><label for="del_comments{$CURRENT_PIC['pid']}" class="clickable_option">{$lang_editpics_php['del_comm']}</label></td>
-                        </tr>
-                    </table>
-                </td>
-        </tr>
-
-EOT;
-        }
-}
-
-function form_input($text, $name, $max_length,$field_width=100)
-{
-    global $CURRENT_PIC;
-
-    $value = $CURRENT_PIC[$name];
-    $name .= $CURRENT_PIC['pid'];
-    if ($text == '') {
-        echo "        <input type=\"hidden\" name=\"$name\" value=\"\" />\n";
-        return;
-    }
-
-    echo <<<EOT
-        <tr>
-            <td class="tableb" style="white-space: nowrap;">
-                        $text
-        </td>
-        <td width="100%" class="tableb" valign="top">
-                <input type="text" style="width: {$field_width}%" name="$name" maxlength="$max_length" value="$value" class="textinput" />
-                </td>
-        </tr>
-
-EOT;
-}
-
-
-function form_alb_list_box($text, $name)
-{
-        global $CONFIG, $CURRENT_PIC;
-        global $user_albums_list, $public_albums_list;
-
-        $sel_album = $CURRENT_PIC['aid'];
-
-        $name .= $CURRENT_PIC['pid'];
-        echo <<<EOT
-        <tr>
-            <td class="tableb" style="white-space: nowrap;">
-                        $text
-        </td>
-        <td class="tableb" valign="top">
-                <select name="$name" class="listbox">
-
-EOT;
-                foreach($public_albums_list as $album) {
-        echo '              <option value="' . $album['aid'] . '"' . ($album['aid'] == $sel_album ? ' selected' : '') . '>' . $album['cat_title'] . "</option>\n";
-    }
-                foreach($user_albums_list as $album){
-                        echo '                        <option value="'.$album['aid'].'"'.($album['aid'] == $sel_album ? ' selected' : '').'>* '.$album['title'] . "</option>\n";
-                }
-        echo <<<EOT
-                        </select>
-                </td>
-        </tr>
-
-EOT;
-}
-
-function form_textarea($text, $name, $max_length)
-{
-        global $ALBUM_DATA, $CURRENT_PIC;
-
-        $value = $CURRENT_PIC[$name];
-
-        $name .= $CURRENT_PIC['pid'];
-        echo <<<EOT
-        <tr>
-                <td class="tableb" valign="top" style="white-space: nowrap;">
-                        $text
-                </td>
-                <td class="tableb" valign="top">
-                        <textarea name="$name" rows="5" cols="40" class="textinput" style="width: 100%;" onkeydown="textCounter(this, $max_length);" onkeyup="textCounter(this, $max_length);">$value</textarea>
-                </td>
-        </tr>
-EOT;
-}
-
-function create_form(&$data)
-{
-        foreach($data as $element){
-                if ((is_array($element))) {
-                    switch($element[2]){
-                            case 0 :
-                                    form_input($element[0], $element[1], $element[3]);
-                                    break;
-                            case 1 :
-                                    form_alb_list_box($element[0], $element[1]);
-                                    break;
-                            case 2 :
-                                    form_textarea($element[0], $element[1], $element[3]);
-                                    break;
-                            case 3 :
-                                    form_pic_info($element[0]);
-                                    break;
-                            case 4 :
-                                    form_options();
-                                    break;
-                            default:
-                                        cpg_die(CRITICAL_ERROR, 'Invalid action for form creation', __FILE__, __LINE__);
-                    } // switch
-                } else {
-                        form_label($element);
-                }
-        }
-}
-
-function get_user_albums($user_id = '') {
-        global $CONFIG, $user_albums_list;
-
-        $USER_ALBUMS_ARRAY=array(0 => array());
-        $or = '';
-
-        if ($user_id != '') {
-                $or = " OR category='" . (FIRST_USER_CAT + $user_id) . "'";
-        }
-
-        if (!isset($USER_ALBUMS_ARRAY[USER_ID])) {
-                $user_albums = cpg_db_query("SELECT aid, title FROM {$CONFIG['TABLE_ALBUMS']} WHERE category='".(FIRST_USER_CAT + USER_ID)."' $or ORDER BY title");
-
-                if (mysql_num_rows($user_albums)) {
-                    $user_albums_list=cpg_db_fetch_rowset($user_albums);
-                } else {
-                        $user_albums_list = array();
-                }
-                mysql_free_result($user_albums);
-                $USER_ALBUMS_ARRAY[USER_ID] = $user_albums_list;
-        } else {
-                $user_albums_list = &$USER_ALBUMS_ARRAY[USER_ID];
-        }
-}
-
-
-if (GALLERY_ADMIN_MODE) {
-    $public_albums = cpg_db_query("SELECT DISTINCT aid, title, IF(category = 0, CONCAT('&gt; ', title), CONCAT(name,' &lt; ',title)) AS cat_title FROM {$CONFIG['TABLE_ALBUMS']}, {$CONFIG['TABLE_CATEGORIES']} WHERE category < '" . FIRST_USER_CAT . "' AND (category = 0 OR category = cid) ORDER BY cat_title");
-        if (mysql_num_rows($public_albums)) {
-            $public_albums_list=cpg_db_fetch_rowset($public_albums);
-        } else {
-                $public_albums_list = array();
-        }
-        mysql_free_result($public_albums);
-} else {
-        $public_albums_list = array();
-}
-
-get_user_albums(USER_ID);
-
-if (count($_POST)) process_post_data();
-
-$start = isset($_GET['start']) ? (int)$_GET['start'] : 0;
-$count = isset($_GET['count']) ? (int)$_GET['count'] : 25;
-$next_target = $_SERVER['PHP_SELF'].'?album='.$album_id.'&amp;start='.($start+$count).'&amp;count='.$count.((UPLOAD_APPROVAL_MODE==1)?"&amp;mode=upload_approval":"");
-$prev_target = $_SERVER['PHP_SELF'].'?album='.$album_id.'&amp;start='.max(0,$start-$count).'&amp;count='.$count.((UPLOAD_APPROVAL_MODE==1)?"&amp;mode=upload_approval":"");
-$s50 = $count == 50 ? 'selected' : '';
-$s75 = $count == 75 ? 'selected' : '';
-$s100 = $count == 100 ? 'selected' : '';
-
-if (UPLOAD_APPROVAL_MODE) {
-        $result=cpg_db_query("SELECT count(*) FROM {$CONFIG['TABLE_PICTURES']} WHERE approved = 'NO'");
-        $nbEnr = mysql_fetch_array($result);
-        $pic_count = $nbEnr[0];
-
-        // Update user names for pictures
-        $sql = "SELECT pid, owner_id FROM {$CONFIG['TABLE_PICTURES']} WHERE owner_id != 0 AND owner_name = ''";
-        $result = cpg_db_query($sql);
-        while($row = mysql_fetch_array($result)){
-                //if(defined('UDB_INTEGRATION')){
-                        $owner_name = $cpg_udb->get_user_name($row['owner_id']);
-                /*} else {
-                    $result2 = cpg_db_query("SELECT user_name FROM {$CONFIG['TABLE_USERS']} WHERE user_id = '".$row['owner_id']."'");
-                        if (mysql_num_rows($result2)){
-                                $row2 = mysql_fetch_array($result2);
-                                mysql_free_result($result2);
-                                $owner_name = $row2['user_name'];
-                        } else {
-                                $owner_name = '';
-                        }*/
-                //}
-
-                if($owner_name){
-                        cpg_db_query("UPDATE {$CONFIG['TABLE_PICTURES']} SET owner_name = '$owner_name' WHERE pid = {$row['pid']} LIMIT 1");
-                } else {
-                        cpg_db_query("UPDATE {$CONFIG['TABLE_PICTURES']} SET owner_id = 0 WHERE pid = {$row['pid']} LIMIT 1");
-                }
-        }
-        mysql_free_result($result);
-
-    $sql =  "SELECT * ".
-                        "FROM {$CONFIG['TABLE_PICTURES']} ".
-                        "WHERE approved = 'NO' ".
-                        "ORDER BY pid ".
-                        "LIMIT $start, $count";
-        $result = cpg_db_query($sql);
-        $form_target = $_SERVER['PHP_SELF'].'?mode=upload_approval&amp;start='.$start.'&amp;count='.$count;
-        $title = $lang_editpics_php['upl_approval'];
-        $help = '';
-} else {
-        $result=cpg_db_query("SELECT count(*) FROM {$CONFIG['TABLE_PICTURES']} WHERE aid = '$album_id'");
-        $nbEnr = mysql_fetch_array($result);
-        $pic_count = $nbEnr[0];
-        mysql_free_result($result);
-                $sql = "SELECT p.*,a.category FROM {$CONFIG['TABLE_PICTURES']} as p ".
-                           "INNER JOIN {$CONFIG['TABLE_ALBUMS']} as a ".
-                           "ON a.aid=p.aid ".
-                           "WHERE p.aid = '$album_id' ".
-                           "ORDER BY p.filename LIMIT $start, $count";
-                $result = cpg_db_query($sql);
-        $form_target = $_SERVER['PHP_SELF'].'?album='.$album_id.'&amp;start='.$start.'&amp;count='.$count;
-        $title = $lang_editpics_php['edit_pics'];
-        $help = '&nbsp;'.cpg_display_help('f=index.htm&amp;as=edit_pics&amp;ae=edit_pics_end&amp;top=1', '800', '500');
-}
-
-if (!mysql_num_rows($result)) cpg_die(INFORMATION, $lang_errors['no_img_to_display'], __FILE__, __LINE__);
-
-if ($start + $count < $pic_count) {
-    $next_link = "<a href=\"$next_target\"><b>{$lang_editpics_php['see_next']}</b></a>&nbsp;&nbsp;-&nbsp;&nbsp;";
-} else {
-        $next_link = '';
-}
-
-if ($start > 0) {
-    $prev_link = "<a href=\"$prev_target\"><b>{$lang_editpics_php['see_prev']}</b></a>&nbsp;&nbsp;-&nbsp;&nbsp;";
-} else {
-        $prev_link = '';
-}
-
-$pic_count_text = sprintf($lang_editpics_php['n_pic'], $pic_count);
-
-pageheader($title);
-echo <<<EOT
-<script type="text/javascript" language="javascript">
-<!--
-function textCounter(field, maxlimit) {
-        if (field.value.length > maxlimit) // if too long...trim it!
-        field.value = field.value.substring(0, maxlimit);
-}
-
-function selectAll(d,box) {
-  var f = document.editForm;
-  for (i = 0; i < f.length; i++) {
-    if (f[i].type == "checkbox" && f[i].name.indexOf(box) >= 0) {
-      if (d.checked) {
-        f[i].checked = true;
-      } else {
-        f[i].checked = false;
-      }
-    }
-  }
-}
--->
-</script>
-EOT;
-$mode= (UPLOAD_APPROVAL_MODE==1) ? "&amp;mode=upload_approval":"";
-$cat_l = (isset($actual_cat))? "?cat=$actual_cat" : (isset($cat) ? "?cat=$cat" : '');
-echo <<< EOT
-<form method="post" name="editForm" action="$form_target$mode">
-EOT;
-starttable("100%", $title.$help, 3);
-echo <<<EOT
-        <tr>
-                <td class="tableh2" colspan="3" align="center" valign="middle">
-                        <b>$pic_count_text</b>&nbsp;&nbsp;-&nbsp;&nbsp;
-                        $prev_link
-                        $next_link
-                        <b>{$lang_editpics_php['n_of_pic_to_disp']}</b>
-                        <select onChange="if(this.options[this.selectedIndex].value) window.location.href='{$_SERVER['PHP_SELF']}?album=$album_id$mode&amp;start=$start&amp;count='+this.options[this.selectedIndex].value;"  name="count" class="listbox">
-                                <option value="25">25</option>
-                                <option value="50" $s50>50</option>
-                                <option value="75" $s75>75</option>
-                                <option value="100" $s100>100</option>
-                        </select>
-EOT;
-if (UPLOAD_APPROVAL_MODE!=1) {
-echo <<<EOT
-                        &nbsp;&nbsp;-&nbsp;&nbsp;<a href="modifyalb.php?album=$album_id" class="admin_menu">{$lang_editpics_php['album_properties']}</a>&nbsp;&nbsp;-&nbsp;&nbsp;
-                        <a href="index.php$cat_l" class="admin_menu">{$lang_editpics_php['parent_category']}</a>&nbsp;&nbsp;-&nbsp;&nbsp;
-                        <a href="thumbnails.php?album=$album_id" class="admin_menu">{$lang_editpics_php['thumbnail_view']}</a>
-EOT;
-}
-echo <<<EOT
-                </td>
-        </tr>
-EOT;
-
-echo <<<EOT
-        <tr>
-            <td class="tableb" colspan="3" align="center">
-                <table border="0" cellspacing="0" cellpadding="0" width="100%" style="padding-top:5px;padding-bottom:5px">
-                    <tr>
-                        <td width="20%" align="right">
-                            <b>{$lang_editpics_php['select_unselect']}:</b>
-                        </td>
-                        <td width="20%" align="center">
-                            <span class="admin_menu">
-                                <input type="checkbox" name="deleteAll" onclick="selectAll(this,'delete');" class="checkbox" id="deleteAll" />
-                                <label for="deleteAll" class="clickable_option">{$lang_editpics_php['del_all']}</label>
-                            </span>
-                        </td>
-                        <td width="20%" align="center">
-                            <span class="admin_menu">
-                                <input type="checkbox" name="reset_vcountAll" onclick="selectAll(this,'reset_vcount');" class="checkbox" id="reset_vcountAll" />
-                                <label for="reset_vcountAll" class="clickable_option">{$lang_editpics_php['reset_all_view_count']}</label>
-                            </span>
-                        </td>
-                        <td width="20%" align="center">
-                            <span class="admin_menu">
-                                <input type="checkbox" name="reset_votesAll" onclick="selectAll(this,'reset_votes');" class="checkbox" id="reset_votesAll" />
-                                <label for="reset_votesAll" class="clickable_option">{$lang_editpics_php['reset_all_votes']}</label>
-                            </span>
-                        </td>
-                        <td width="20%" align="center">
-                            <span class="admin_menu">
-                                <input type="checkbox" name="del_commentsAll" onclick="selectAll(this,'del_comments');" class="checkbox" id="del_commentsAll" />
-                                <label for="del_commentsAll" class="clickable_option">{$lang_editpics_php['del_all_comm']}</label>
-                            </span>
-                        </td>
-                    </tr>
-                </table>
-            </td>
-        </tr>
-EOT;
-
-while($CURRENT_PIC = mysql_fetch_array($result)){
-
-        if (GALLERY_ADMIN_MODE && $CURRENT_PIC['owner_id'] != USER_ID) {
-              get_user_albums($CURRENT_PIC['owner_id']);
-        } else {
-              get_user_albums();
-        }
-        create_form($data);
-        flush();
-} // while
-mysql_free_result($result);
-
-echo <<<EOT
-        <tr>
-                <td colspan="3" align="center" class="tablef">
-                        <input type="submit" value="{$lang_editpics_php['apply']}" class="button" />
-                </td>
-        </tr>
-
-EOT;
-endtable();
-echo <<<EOT
-        </form>
-EOT;
-pagefooter();
-ob_end_flush();
-?>
+<?php
+/*************************
+  Coppermine Photo Gallery
+  ************************
+  Copyright (c) 2003-2009 Coppermine Dev Team
+  v1.1 originally written by Gregory DEMAR
+
+  This program is free software; you can redistribute it and/or modify
+  it under the terms of the GNU General Public License version 3
+  as published by the Free Software Foundation.
+  
+  ********************************************
+  Coppermine version: 1.4.25
+  $HeadURL: https://coppermine.svn.sourceforge.net/svnroot/coppermine/trunk/cpg1.4.x/editpics.php $
+  $Revision: 5997 $
+  $Author: gaugau $
+  $Date: 2009-05-26 08:43:24 +0200 (Di, 26 Mai 2009) $
+**********************************************/
+
+define('IN_COPPERMINE', true);
+define('EDITPICS_PHP', true);
+
+require('include/init.inc.php');
+
+if (!(GALLERY_ADMIN_MODE || USER_ADMIN_MODE)) cpg_die(ERROR, $lang_errors['access_denied'], __FILE__, __LINE__);
+
+define('UPLOAD_APPROVAL_MODE', isset($_GET['mode']));
+define('EDIT_PICTURES_MODE', !isset($_GET['mode']));
+
+if (isset($_GET['album'])) {
+        $album_id = (int)$_GET['album'];
+} elseif (isset($_GET['album'])) {
+        $album_id = (int)$_POST['album'];
+} else {
+        $album_id = -1;
+}
+
+if (UPLOAD_APPROVAL_MODE && !GALLERY_ADMIN_MODE) cpg_die(ERROR, $lang_errors['access_denied'], __FILE__, __LINE__);
+
+if (EDIT_PICTURES_MODE) {
+    $result = cpg_db_query("SELECT title, category FROM {$CONFIG['TABLE_ALBUMS']} WHERE aid = '$album_id'");
+        if (!mysql_num_rows($result)) cpg_die(CRITICAL_ERROR, $lang_errors['non_exist_ap'], __FILE__, __LINE__);
+        $ALBUM_DATA=mysql_fetch_array($result);
+        mysql_free_result($result);
+        $cat = $ALBUM_DATA['category'];
+        $actual_cat = $cat;
+        if ($cat != FIRST_USER_CAT + USER_ID && !GALLERY_ADMIN_MODE) cpg_die(ERROR, $lang_errors['perm_denied'], __FILE__, __LINE__);
+} else {
+        $ALBUM_DATA = array();
+}
+
+$THUMB_ROWSPAN=5;
+if ($CONFIG['user_field1_name'] != '') $THUMB_ROWSPAN++;
+if ($CONFIG['user_field2_name'] != '') $THUMB_ROWSPAN++;
+if ($CONFIG['user_field3_name'] != '') $THUMB_ROWSPAN++;
+if ($CONFIG['user_field4_name'] != '') $THUMB_ROWSPAN++;
+
+// $USER_ALBUMS_ARRAY=array(0 => array());
+
+// Type 0 => input
+//      1 => album list
+//      2 => text_area
+//      3 => picture information
+$captionLabel = $lang_editpics_php['desc'];
+if ($CONFIG['show_bbcode_help']) {
+	$captionLabel .= '&nbsp;'. cpg_display_help('f=index.html&amp;base=64&amp;h='.urlencode(base64_encode(serialize($lang_bbcode_help_title.'&nbsp;'))).'&amp;t='.urlencode(base64_encode(serialize($lang_bbcode_help))),470,245);
+}
+$data = array(
+        array($lang_editpics_php['pic_info'], '', 3),
+        array($lang_editpics_php['album'], 'aid', 1),
+        array($lang_editpics_php['title'], 'title', 0, 255),
+        array($captionLabel, 'caption', 2, $CONFIG['max_img_desc_length']),
+        array($lang_editpics_php['keywords'], 'keywords', 0, 255),
+        array($CONFIG['user_field1_name'], 'user1', 0, 255),
+        array($CONFIG['user_field2_name'], 'user2', 0, 255),
+        array($CONFIG['user_field3_name'], 'user3', 0, 255),
+        array($CONFIG['user_field4_name'], 'user4', 0, 255),
+        array('', '', 4)
+);
+
+function get_post_var($var, $pid)
+{
+        global $lang_errors;
+
+        $var_name = $var.$pid;
+        if(!isset($_POST[$var_name])) cpg_die(CRITICAL_ERROR, $lang_errors['param_missing']." ($var_name)", __FILE__, __LINE__);
+        return $_POST[$var_name];
+}
+
+function process_post_data()
+{
+        global $CONFIG;
+        global $user_albums_list, $lang_errors;
+
+        $user_album_set = array();
+        foreach($user_albums_list as $album) $user_album_set[$album['aid']] = 1;
+
+        if (!is_array($_POST['pid'])) cpg_die(CRITICAL_ERROR, $lang_errors['param_missing'], __FILE__, __LINE__);
+        $pid_array = &$_POST['pid'];
+
+                $galleryicon = (int) $_POST['galleryicon'];
+
+        foreach($pid_array as $pid){
+                $pid = (int)$pid;
+
+                $aid         = (int)get_post_var('aid', $pid);
+                $title       = get_post_var('title', $pid);
+                $caption     = get_post_var('caption', $pid);
+                $keywords    = get_post_var('keywords', $pid);
+                $user1       = get_post_var('user1', $pid);
+                $user2       = get_post_var('user2', $pid);
+                $user3       = get_post_var('user3', $pid);
+                $user4       = get_post_var('user4', $pid);
+
+                                $isgalleryicon = ($galleryicon===$pid);
+
+                $delete       = isset($_POST['delete'.$pid]);
+                $reset_vcount = isset($_POST['reset_vcount'.$pid]);
+                $reset_votes  = isset($_POST['reset_votes'.$pid]);
+                $del_comments = isset($_POST['del_comments'.$pid]) || $delete;
+
+                $query = "SELECT category, filepath, filename, owner_id FROM {$CONFIG['TABLE_PICTURES']}, {$CONFIG['TABLE_ALBUMS']} WHERE {$CONFIG['TABLE_PICTURES']}.aid = {$CONFIG['TABLE_ALBUMS']}.aid AND pid='$pid'";
+                $result = cpg_db_query($query);
+                if (!mysql_num_rows($result)) cpg_die(CRITICAL_ERROR, $lang_errors['non_exist_ap'], __FILE__, __LINE__);
+                $pic = mysql_fetch_array($result);
+                mysql_free_result($result);
+
+                if (!GALLERY_ADMIN_MODE) {
+                        if ($pic['category'] != FIRST_USER_CAT + USER_ID) cpg_die(ERROR, $lang_errors['perm_denied']."<br />(picture category = {$pic['category']}/ $pid)", __FILE__, __LINE__);
+                        if (!isset($user_album_set[$aid])) cpg_die(ERROR, $lang_errors['perm_denied']."<br />(target album = $aid)", __FILE__, __LINE__);
+                }
+
+                $update  = "aid = '".$aid."'";
+                $update .= ", title = '".addslashes($title)."'";
+                $update .= ", caption = '".addslashes($caption)."'";
+                $update .= ", keywords = '".addslashes($keywords)."'";
+                $update .= ", user1 = '".addslashes($user1)."'";
+                $update .= ", user2 = '".addslashes($user2)."'";
+                $update .= ", user3 = '".addslashes($user3)."'";
+                $update .= ", user4 = '".addslashes($user4)."'";
+
+                if ($isgalleryicon && $pic['category']>FIRST_USER_CAT) {
+                                        $sql = 'update '.$CONFIG['TABLE_PICTURES'].' set galleryicon=0 where owner_id='.$pic['owner_id'].';';
+                                        cpg_db_query($sql);
+                                        $update .= ", galleryicon = ".addslashes($galleryicon);
+                                }
+
+                                if (is_movie($pic['filename'])) {
+                                        $pwidth = get_post_var('pwidth', $pid);
+                                        $pheight = get_post_var('pheight', $pid);
+                                        $update .= ", pwidth = " .  (int) $pwidth;
+                                        $update .= ", pheight = " . (int) $pheight;
+                                }
+
+                if ($reset_vcount) {
+                    $update .= ", hits = '0'";
+                    resetDetailHits($pid);
+                }
+                if ($reset_votes) {
+                    $update .= ", pic_rating = '0', votes = '0'";
+                    resetDetailVotes($pid);
+                }
+
+                if (UPLOAD_APPROVAL_MODE) {
+                    $approved = get_post_var('approved', $pid);
+                        if ($approved == 'YES') {
+                                $update .= ", approved = 'YES'";
+                        } elseif ($approved == 'DELETE') {
+                                $del_comments = 1;
+                                $delete = 1;
+                        }
+                }
+
+                if ($del_comments) {
+                        $query = "DELETE FROM {$CONFIG['TABLE_COMMENTS']} WHERE pid='$pid'";
+                        $result =cpg_db_query($query);
+                }
+
+                if ($delete) {
+                        $dir=$CONFIG['fullpath'].$pic['filepath'];
+                        $file=$pic['filename'];
+
+                        if (!is_writable($dir)) cpg_die(CRITICAL_ERROR, sprintf($lang_errors['directory_ro'], $dir), __FILE__, __LINE__);
+
+                        $files=array($dir.$file, $dir.$CONFIG['normal_pfx'].$file, $dir.$CONFIG['thumb_pfx'].$file);
+                        foreach ($files as $currFile){
+                                if (is_file($currFile)) @unlink($currFile);
+                        }
+
+                        $query = "DELETE FROM {$CONFIG['TABLE_PICTURES']} WHERE pid='$pid' LIMIT 1";
+                        $result = cpg_db_query($query);
+                } else {
+                        $query = "UPDATE {$CONFIG['TABLE_PICTURES']} SET $update WHERE pid='$pid' LIMIT 1";
+                        $result = cpg_db_query($query);
+                }
+        }
+}
+
+function form_label($text)
+{
+        global $CURENT_PIC;
+
+        echo <<<EOT
+        <tr>
+                <td class="tableh2" colspan="3">
+                        <b>$text</b>
+                </td>
+        </tr>
+
+EOT;
+}
+
+function form_pic_info($text)
+{
+        global $CURRENT_PIC, $THUMB_ROWSPAN, $CONFIG, $lang_byte_units, $lang_editpics_php;
+
+        if (!is_movie($CURRENT_PIC['filename'])) {
+                $pic_info = sprintf($lang_editpics_php['pic_info_str'], $CURRENT_PIC['pwidth'], $CURRENT_PIC['pheight'], ($CURRENT_PIC['filesize'] >> 10), $CURRENT_PIC['hits'], $CURRENT_PIC['votes']);
+        } else {
+                $pic_info = sprintf($lang_editpics_php['pic_info_str'], '<input type="text" name="pwidth'.$CURRENT_PIC['pid'].'" value="'.$CURRENT_PIC['pwidth'].'" size="5" maxlength="5" class="textinput" />', '<input type="text" name="pheight'.$CURRENT_PIC['pid'].'" value="'.$CURRENT_PIC['pheight'].'" size="5" maxlength="5" class="textinput" />', ($CURRENT_PIC['filesize'] >> 10), $CURRENT_PIC['hits'], $CURRENT_PIC['votes']);
+        }
+
+        if (UPLOAD_APPROVAL_MODE) {
+               if($CURRENT_PIC['owner_name']){
+                        $pic_info .= ' - <a href ="profile.php?uid='.$CURRENT_PIC['owner_id'].'">'.$CURRENT_PIC['owner_name'].'</a>';
+                }
+        }
+
+        $thumb_url = get_pic_url($CURRENT_PIC, 'thumb');
+        $thumb_link = 'displayimage.php?&amp;pos='.(-$CURRENT_PIC['pid']);
+        $filename = htmlspecialchars($CURRENT_PIC['filename']);
+
+        echo <<<EOT
+        <tr>
+                <td class="tableh2" colspan="3">
+                        <input type="hidden" name="pid[]" value="{$CURRENT_PIC['pid']}" />
+                        <b>$filename</b>
+                </td>
+        </tr>
+        <tr>
+                <td class="tableb" style="white-space: nowrap;">
+                        $text
+                </td>
+                <td class="tableb">
+                        $pic_info
+                </td>
+                   <td class="tableb" align="center" rowspan="$THUMB_ROWSPAN">
+                        <a href="$thumb_link" target="_blank"><img src="$thumb_url" class="image" border="0" alt="" /><br /></a>
+            </td>
+        </tr>
+
+EOT;
+}
+
+function form_options()
+{
+        global $CURRENT_PIC, $lang_editpics_php;
+
+                $isgalleryicon_selected = ($CURRENT_PIC['galleryicon']) ? 'checked="checked" ':'';
+                $isgalleryicon_disabled = ($CURRENT_PIC['category'] < FIRST_USER_CAT) ? 'disabled="disabled" ':'';
+
+        if (UPLOAD_APPROVAL_MODE) {
+                echo <<<EOT
+        <tr>
+                <td class="tableb" colspan="3" align="center">
+                        <input type="radio" name="approved{$CURRENT_PIC['pid']}" id="approved{$CURRENT_PIC['pid']}yes" value="YES" class="radio" /><label for="approved{$CURRENT_PIC['pid']}yes" class="clickable_option">{$lang_editpics_php['approve']}</label>&nbsp;
+                        <input type="radio" name="approved{$CURRENT_PIC['pid']}" id="approved{$CURRENT_PIC['pid']}no" value="NO" class="radio" checked="checked" /><label for="approved{$CURRENT_PIC['pid']}no" class="clickable_option">{$lang_editpics_php['postpone_app']}</label>&nbsp;
+                        <input type="radio" name="approved{$CURRENT_PIC['pid']}" id="approved{$CURRENT_PIC['pid']}del" value="DELETE" class="radio" /><label for="approved{$CURRENT_PIC['pid']}del" class="clickable_option">{$lang_editpics_php['del_pic']}</label>&nbsp;
+                </td>
+        </tr>
+
+EOT;
+        } else {
+                echo <<<EOT
+        <tr>
+                <td class="tableb" colspan="3" align="center">
+                    <table border="0" cellspacing="0" cellpadding="0" width="100%">
+                        <tr>
+                            <td width="20%" align="center"><input type="radio" name="galleryicon" id="galleryicon{$CURRENT_PIC['pid']}" value="{$CURRENT_PIC['pid']}" {$isgalleryicon_selected}{$isgalleryicon_disabled}class="checkbox" />{$lang_editpics_php['gallery_icon']}</td>
+                            <td width="20%" align="center"><input type="checkbox" name="delete{$CURRENT_PIC['pid']}" id="delete{$CURRENT_PIC['pid']}" value="1" class="checkbox" /><label for="delete{$CURRENT_PIC['pid']}" class="clickable_option">{$lang_editpics_php['del_pic']}</label></td>
+                            <td width="20%" align="center"><input type="checkbox" name="reset_vcount{$CURRENT_PIC['pid']}" id="reset_vcount{$CURRENT_PIC['pid']}" value="1" class="checkbox" /><label for="reset_vcount{$CURRENT_PIC['pid']}" class="clickable_option">{$lang_editpics_php['reset_view_count']}</label></td>
+                            <td width="20%" align="center"><input type="checkbox" name="reset_votes{$CURRENT_PIC['pid']}" id="reset_votes{$CURRENT_PIC['pid']}" value="1" class="checkbox" /><label for="reset_votes{$CURRENT_PIC['pid']}" class="clickable_option">{$lang_editpics_php['reset_votes']}</label></td>
+                            <td width="20%" align="center"><input type="checkbox" name="del_comments{$CURRENT_PIC['pid']}" id="del_comments{$CURRENT_PIC['pid']}" value="1" class="checkbox" /><label for="del_comments{$CURRENT_PIC['pid']}" class="clickable_option">{$lang_editpics_php['del_comm']}</label></td>
+                        </tr>
+                    </table>
+                </td>
+        </tr>
+
+EOT;
+        }
+}
+
+function form_input($text, $name, $max_length,$field_width=100)
+{
+    global $CURRENT_PIC;
+
+    $value = $CURRENT_PIC[$name];
+    $name .= $CURRENT_PIC['pid'];
+    if ($text == '') {
+        echo "        <input type=\"hidden\" name=\"$name\" value=\"\" />\n";
+        return;
+    }
+
+    echo <<<EOT
+        <tr>
+            <td class="tableb" style="white-space: nowrap;">
+                        $text
+        </td>
+        <td width="100%" class="tableb" valign="top">
+                <input type="text" style="width: {$field_width}%" name="$name" maxlength="$max_length" value="$value" class="textinput" />
+                </td>
+        </tr>
+
+EOT;
+}
+
+
+function form_alb_list_box($text, $name)
+{
+        global $CONFIG, $CURRENT_PIC;
+        global $user_albums_list, $public_albums_list;
+
+        $sel_album = $CURRENT_PIC['aid'];
+
+        $name .= $CURRENT_PIC['pid'];
+        echo <<<EOT
+        <tr>
+            <td class="tableb" style="white-space: nowrap;">
+                        $text
+        </td>
+        <td class="tableb" valign="top">
+                <select name="$name" class="listbox">
+
+EOT;
+                foreach($public_albums_list as $album) {
+        echo '              <option value="' . $album['aid'] . '"' . ($album['aid'] == $sel_album ? ' selected' : '') . '>' . $album['cat_title'] . "</option>\n";
+    }
+                foreach($user_albums_list as $album){
+                        echo '                        <option value="'.$album['aid'].'"'.($album['aid'] == $sel_album ? ' selected' : '').'>* '.$album['title'] . "</option>\n";
+                }
+        echo <<<EOT
+                        </select>
+                </td>
+        </tr>
+
+EOT;
+}
+
+function form_textarea($text, $name, $max_length)
+{
+        global $ALBUM_DATA, $CURRENT_PIC;
+
+        $value = $CURRENT_PIC[$name];
+
+        $name .= $CURRENT_PIC['pid'];
+        echo <<<EOT
+        <tr>
+                <td class="tableb" valign="top" style="white-space: nowrap;">
+                        $text
+                </td>
+                <td class="tableb" valign="top">
+                        <textarea name="$name" rows="5" cols="40" class="textinput" style="width: 100%;" onkeydown="textCounter(this, $max_length);" onkeyup="textCounter(this, $max_length);">$value</textarea>
+                </td>
+        </tr>
+EOT;
+}
+
+function create_form(&$data)
+{
+        foreach($data as $element){
+                if ((is_array($element))) {
+                    switch($element[2]){
+                            case 0 :
+                                    form_input($element[0], $element[1], $element[3]);
+                                    break;
+                            case 1 :
+                                    form_alb_list_box($element[0], $element[1]);
+                                    break;
+                            case 2 :
+                                    form_textarea($element[0], $element[1], $element[3]);
+                                    break;
+                            case 3 :
+                                    form_pic_info($element[0]);
+                                    break;
+                            case 4 :
+                                    form_options();
+                                    break;
+                            default:
+                                        cpg_die(CRITICAL_ERROR, 'Invalid action for form creation', __FILE__, __LINE__);
+                    } // switch
+                } else {
+                        form_label($element);
+                }
+        }
+}
+
+function get_user_albums($user_id = '') {
+        global $CONFIG, $user_albums_list;
+
+        $USER_ALBUMS_ARRAY=array(0 => array());
+        $or = '';
+
+        if ($user_id != '') {
+                $or = " OR category='" . (FIRST_USER_CAT + $user_id) . "'";
+        }
+
+        if (!isset($USER_ALBUMS_ARRAY[USER_ID])) {
+                $user_albums = cpg_db_query("SELECT aid, title FROM {$CONFIG['TABLE_ALBUMS']} WHERE category='".(FIRST_USER_CAT + USER_ID)."' $or ORDER BY title");
+
+                if (mysql_num_rows($user_albums)) {
+                    $user_albums_list=cpg_db_fetch_rowset($user_albums);
+                } else {
+                        $user_albums_list = array();
+                }
+                mysql_free_result($user_albums);
+                $USER_ALBUMS_ARRAY[USER_ID] = $user_albums_list;
+        } else {
+                $user_albums_list = &$USER_ALBUMS_ARRAY[USER_ID];
+        }
+}
+
+
+if (GALLERY_ADMIN_MODE) {
+    $public_albums = cpg_db_query("SELECT DISTINCT aid, title, IF(category = 0, CONCAT('&gt; ', title), CONCAT(name,' &lt; ',title)) AS cat_title FROM {$CONFIG['TABLE_ALBUMS']}, {$CONFIG['TABLE_CATEGORIES']} WHERE category < '" . FIRST_USER_CAT . "' AND (category = 0 OR category = cid) ORDER BY cat_title");
+        if (mysql_num_rows($public_albums)) {
+            $public_albums_list=cpg_db_fetch_rowset($public_albums);
+        } else {
+                $public_albums_list = array();
+        }
+        mysql_free_result($public_albums);
+} else {
+        $public_albums_list = array();
+}
+
+get_user_albums(USER_ID);
+
+if (count($_POST)) process_post_data();
+
+$start = isset($_GET['start']) ? (int)$_GET['start'] : 0;
+$count = isset($_GET['count']) ? (int)$_GET['count'] : 25;
+$next_target = $_SERVER['PHP_SELF'].'?album='.$album_id.'&amp;start='.($start+$count).'&amp;count='.$count.((UPLOAD_APPROVAL_MODE==1)?"&amp;mode=upload_approval":"");
+$prev_target = $_SERVER['PHP_SELF'].'?album='.$album_id.'&amp;start='.max(0,$start-$count).'&amp;count='.$count.((UPLOAD_APPROVAL_MODE==1)?"&amp;mode=upload_approval":"");
+$s50 = $count == 50 ? 'selected' : '';
+$s75 = $count == 75 ? 'selected' : '';
+$s100 = $count == 100 ? 'selected' : '';
+
+if (UPLOAD_APPROVAL_MODE) {
+        $result=cpg_db_query("SELECT count(*) FROM {$CONFIG['TABLE_PICTURES']} WHERE approved = 'NO'");
+        $nbEnr = mysql_fetch_array($result);
+        $pic_count = $nbEnr[0];
+
+        // Update user names for pictures
+        $sql = "SELECT pid, owner_id FROM {$CONFIG['TABLE_PICTURES']} WHERE owner_id != 0 AND owner_name = ''";
+        $result = cpg_db_query($sql);
+        while($row = mysql_fetch_array($result)){
+                //if(defined('UDB_INTEGRATION')){
+                        $owner_name = $cpg_udb->get_user_name($row['owner_id']);
+                /*} else {
+                    $result2 = cpg_db_query("SELECT user_name FROM {$CONFIG['TABLE_USERS']} WHERE user_id = '".$row['owner_id']."'");
+                        if (mysql_num_rows($result2)){
+                                $row2 = mysql_fetch_array($result2);
+                                mysql_free_result($result2);
+                                $owner_name = $row2['user_name'];
+                        } else {
+                                $owner_name = '';
+                        }*/
+                //}
+
+                if($owner_name){
+                        cpg_db_query("UPDATE {$CONFIG['TABLE_PICTURES']} SET owner_name = '$owner_name' WHERE pid = {$row['pid']} LIMIT 1");
+                } else {
+                        cpg_db_query("UPDATE {$CONFIG['TABLE_PICTURES']} SET owner_id = 0 WHERE pid = {$row['pid']} LIMIT 1");
+                }
+        }
+        mysql_free_result($result);
+
+    $sql =  "SELECT * ".
+                        "FROM {$CONFIG['TABLE_PICTURES']} ".
+                        "WHERE approved = 'NO' ".
+                        "ORDER BY pid ".
+                        "LIMIT $start, $count";
+        $result = cpg_db_query($sql);
+        $form_target = $_SERVER['PHP_SELF'].'?mode=upload_approval&amp;start='.$start.'&amp;count='.$count;
+        $title = $lang_editpics_php['upl_approval'];
+        $help = '';
+} else {
+        $result=cpg_db_query("SELECT count(*) FROM {$CONFIG['TABLE_PICTURES']} WHERE aid = '$album_id'");
+        $nbEnr = mysql_fetch_array($result);
+        $pic_count = $nbEnr[0];
+        mysql_free_result($result);
+                $sql = "SELECT p.*,a.category FROM {$CONFIG['TABLE_PICTURES']} as p ".
+                           "INNER JOIN {$CONFIG['TABLE_ALBUMS']} as a ".
+                           "ON a.aid=p.aid ".
+                           "WHERE p.aid = '$album_id' ".
+                           "ORDER BY p.filename LIMIT $start, $count";
+                $result = cpg_db_query($sql);
+        $form_target = $_SERVER['PHP_SELF'].'?album='.$album_id.'&amp;start='.$start.'&amp;count='.$count;
+        $title = $lang_editpics_php['edit_pics'];
+        $help = '&nbsp;'.cpg_display_help('f=index.htm&amp;as=edit_pics&amp;ae=edit_pics_end&amp;top=1', '800', '500');
+}
+
+if (!mysql_num_rows($result)) cpg_die(INFORMATION, $lang_errors['no_img_to_display'], __FILE__, __LINE__);
+
+if ($start + $count < $pic_count) {
+    $next_link = "<a href=\"$next_target\"><b>{$lang_editpics_php['see_next']}</b></a>&nbsp;&nbsp;-&nbsp;&nbsp;";
+} else {
+        $next_link = '';
+}
+
+if ($start > 0) {
+    $prev_link = "<a href=\"$prev_target\"><b>{$lang_editpics_php['see_prev']}</b></a>&nbsp;&nbsp;-&nbsp;&nbsp;";
+} else {
+        $prev_link = '';
+}
+
+$pic_count_text = sprintf($lang_editpics_php['n_pic'], $pic_count);
+
+pageheader($title);
+echo <<<EOT
+<script type="text/javascript" language="javascript">
+<!--
+function textCounter(field, maxlimit) {
+        if (field.value.length > maxlimit) // if too long...trim it!
+        field.value = field.value.substring(0, maxlimit);
+}
+
+function selectAll(d,box) {
+  var f = document.editForm;
+  for (i = 0; i < f.length; i++) {
+    if (f[i].type == "checkbox" && f[i].name.indexOf(box) >= 0) {
+      if (d.checked) {
+        f[i].checked = true;
+      } else {
+        f[i].checked = false;
+      }
+    }
+  }
+}
+-->
+</script>
+EOT;
+$mode= (UPLOAD_APPROVAL_MODE==1) ? "&amp;mode=upload_approval":"";
+$cat_l = (isset($actual_cat))? "?cat=$actual_cat" : (isset($cat) ? "?cat=$cat" : '');
+echo <<< EOT
+<form method="post" name="editForm" action="$form_target$mode">
+EOT;
+starttable("100%", $title.$help, 3);
+echo <<<EOT
+        <tr>
+                <td class="tableh2" colspan="3" align="center" valign="middle">
+                        <b>$pic_count_text</b>&nbsp;&nbsp;-&nbsp;&nbsp;
+                        $prev_link
+                        $next_link
+                        <b>{$lang_editpics_php['n_of_pic_to_disp']}</b>
+                        <select onChange="if(this.options[this.selectedIndex].value) window.location.href='{$_SERVER['PHP_SELF']}?album=$album_id$mode&amp;start=$start&amp;count='+this.options[this.selectedIndex].value;"  name="count" class="listbox">
+                                <option value="25">25</option>
+                                <option value="50" $s50>50</option>
+                                <option value="75" $s75>75</option>
+                                <option value="100" $s100>100</option>
+                        </select>
+EOT;
+if (UPLOAD_APPROVAL_MODE!=1) {
+echo <<<EOT
+                        &nbsp;&nbsp;-&nbsp;&nbsp;<a href="modifyalb.php?album=$album_id" class="admin_menu">{$lang_editpics_php['album_properties']}</a>&nbsp;&nbsp;-&nbsp;&nbsp;
+                        <a href="index.php$cat_l" class="admin_menu">{$lang_editpics_php['parent_category']}</a>&nbsp;&nbsp;-&nbsp;&nbsp;
+                        <a href="thumbnails.php?album=$album_id" class="admin_menu">{$lang_editpics_php['thumbnail_view']}</a>
+EOT;
+}
+echo <<<EOT
+                </td>
+        </tr>
+EOT;
+
+echo <<<EOT
+        <tr>
+            <td class="tableb" colspan="3" align="center">
+                <table border="0" cellspacing="0" cellpadding="0" width="100%" style="padding-top:5px;padding-bottom:5px">
+                    <tr>
+                        <td width="20%" align="right">
+                            <b>{$lang_editpics_php['select_unselect']}:</b>
+                        </td>
+                        <td width="20%" align="center">
+                            <span class="admin_menu">
+                                <input type="checkbox" name="deleteAll" onclick="selectAll(this,'delete');" class="checkbox" id="deleteAll" />
+                                <label for="deleteAll" class="clickable_option">{$lang_editpics_php['del_all']}</label>
+                            </span>
+                        </td>
+                        <td width="20%" align="center">
+                            <span class="admin_menu">
+                                <input type="checkbox" name="reset_vcountAll" onclick="selectAll(this,'reset_vcount');" class="checkbox" id="reset_vcountAll" />
+                                <label for="reset_vcountAll" class="clickable_option">{$lang_editpics_php['reset_all_view_count']}</label>
+                            </span>
+                        </td>
+                        <td width="20%" align="center">
+                            <span class="admin_menu">
+                                <input type="checkbox" name="reset_votesAll" onclick="selectAll(this,'reset_votes');" class="checkbox" id="reset_votesAll" />
+                                <label for="reset_votesAll" class="clickable_option">{$lang_editpics_php['reset_all_votes']}</label>
+                            </span>
+                        </td>
+                        <td width="20%" align="center">
+                            <span class="admin_menu">
+                                <input type="checkbox" name="del_commentsAll" onclick="selectAll(this,'del_comments');" class="checkbox" id="del_commentsAll" />
+                                <label for="del_commentsAll" class="clickable_option">{$lang_editpics_php['del_all_comm']}</label>
+                            </span>
+                        </td>
+                    </tr>
+                </table>
+            </td>
+        </tr>
+EOT;
+
+while($CURRENT_PIC = mysql_fetch_array($result)){
+
+        if (GALLERY_ADMIN_MODE && $CURRENT_PIC['owner_id'] != USER_ID) {
+              get_user_albums($CURRENT_PIC['owner_id']);
+        } else {
+              get_user_albums();
+        }
+        create_form($data);
+        flush();
+} // while
+mysql_free_result($result);
+
+echo <<<EOT
+        <tr>
+                <td colspan="3" align="center" class="tablef">
+                        <input type="submit" value="{$lang_editpics_php['apply']}" class="button" />
+                </td>
+        </tr>
+
+EOT;
+endtable();
+echo <<<EOT
+        </form>
+EOT;
+pagefooter();
+ob_end_flush();
+?>
diff -x .svn -aruN 1.4.24.src/exifmgr.php 1.4.25.src/exifmgr.php
--- 1.4.24.src/exifmgr.php	2009-05-21 15:03:09.000000000 -0500
+++ 1.4.25.src/exifmgr.php	2009-05-26 11:25:52.000000000 -0500
@@ -1,100 +1,100 @@
-<?php
-/*************************
-  Coppermine Photo Gallery
-  ************************
-  Copyright (c) 2003-2009 Coppermine Dev Team
-  v1.1 originally written by Gregory DEMAR
-
-  This program is free software; you can redistribute it and/or modify
-  it under the terms of the GNU General Public License version 3
-  as published by the Free Software Foundation.
-  
-  ********************************************
-  Coppermine version: 1.4.24
-  $HeadURL: https://coppermine.svn.sourceforge.net/svnroot/coppermine/trunk/cpg1.4.x/exifmgr.php $
-  $Revision: 5969 $
-  $Author: gaugau $
-  $Date: 2009-05-21 22:03:33 +0200 (Do, 21 Mai 2009) $
-**********************************************/
-
-define('IN_COPPERMINE', true);
-define('DISPLAYIMAGE_PHP', true);
-require('include/init.inc.php');
-require('include/picmgmt.inc.php');
-
-if (!GALLERY_ADMIN_MODE) die('Access denied');
-pageheader($lang_picinfo['ManageExifDisplay']);
-
-//String containing all the available exif tags.
-$exif_info = "AFFocusPosition|Adapter|ColorMode|ColorSpace|ComponentsConfiguration|CompressedBitsPerPixel|Contrast|CustomerRender|DateTimeOriginal|DateTimedigitized|DigitalZoom|DigitalZoomRatio|ExifImageHeight|ExifImageWidth|ExifInteroperabilityOffset|ExifOffset|ExifVersion|ExposureBiasValue|ExposureMode|ExposureProgram|ExposureTime|FNumber|FileSource|Flash|FlashPixVersion|FlashSetting|FocalLength|FocusMode|GainControl|IFD1Offset|ISOSelection|ISOSetting|ISOSpeedRatings|ImageAdjustment|ImageDescription|ImageSharpening|LightSource|Make|ManualFocusDistance|MaxApertureValue|MeteringMode|Model|NoiseReduction|Orientation|Quality|ResolutionUnit|Saturation|SceneCaptureMode|SceneType|Sharpness|Software|WhiteBalance|YCbCrPositioning|xResolution|yResolution";
-
-$exifRawData = explode ("|",$exif_info);
-$exifCurrentData = explode ("|",$CONFIG['show_which_exif']);
-
-//If the form is submitted to save the data
-if (isset($_POST['save'])) {
-  $str = "";
-  foreach ($exifRawData as $val) {
-    if (in_array($val, $_POST['exif_tags'])) {
-      $str .= "1|";
-    } else {
-      $str .= "0|";
-    }
-  }
-
-  //Remove the last pipe from the string.
-  $selectedExifTags = substr ($str,0,strlen($str)-1);
-  $selectedExifTags = $str;
-  $sql = "UPDATE ".$CONFIG['TABLE_CONFIG']." SET value = '".$selectedExifTags."' WHERE name = 'show_which_exif'";
-  cpg_db_query($sql);
-  msg_box($lang_picinfo['ManageExifDisplay'], $lang_picinfo['success'], $lang_continue, "admin.php");
-} else {
-  echo <<< EOT
-    <form method="POST" action="" name="editForm">
-    <input type="hidden" name="save" value="save" />
-
-    <script type="text/javascript" language="javascript">
-    <!--
-    function selectAll(d,box) {
-      var f = document.editForm;
-      for (i = 0; i < f.length; i++) {
-        //alert (f[i].name.indexOf(box));
-        if (f[i].type == "checkbox" && f[i].name.indexOf(box) >= 0) {
-          if (d.checked) {
-            f[i].checked = true;
-          } else {
-            f[i].checked = false;
-          }
-        }
-      }
-      if (d.name == "checkAll") {
-          document.getElementsByName('checkAll2')[0].checked = document.getElementsByName('checkAll')[0].checked;
-      } else {
-          document.getElementsByName('checkAll')[0].checked = document.getElementsByName('checkAll2')[0].checked;
-      }
-    }
-
-    -->
-    </script>
-EOT;
-  starttable(-2,$lang_picinfo['ManageExifDisplay'], 2);
-  echo '<tr><td class="tableh2">&nbsp;</td><td class="tableh2" align="center">';
-  echo '<input type="checkbox" name="checkAll" onClick="selectAll(this,\'exif_tags\');" class="checkbox" title="'.$lang_check_uncheck_all.'" />';
-  echo '</td></tr>';
-  foreach ($exifRawData as $key => $val) {
-    $checked = $exifCurrentData[$key] == 1 ? 'checked' : '';
-    echo '<tr><td class="tableb">'.$lang_picinfo[$val].'</td><td class="tableb" align="center"><input type="checkbox" name="exif_tags[]" value="'.$val.'" ' . $checked . ' class="checkbox" /></td></tr>';
-  }
-  echo '<tr>
-  <td class="tablef" align="center"><input type="submit" class="button" name="submit" value="'.$lang_picinfo['submit'].'" />';
-  echo '<td class="tablef" align="center">';
-  echo '<input type="checkbox" name="checkAll2" onClick="selectAll(this,\'exif_tags\');" class="checkbox" title="'.$lang_check_uncheck_all.'" />';
-  echo '  </td></tr>';
-  endtable();
-  echo <<< EOT
-    </form>
-EOT;
-}
-ob_end_flush();
-pagefooter();
-?>
+<?php
+/*************************
+  Coppermine Photo Gallery
+  ************************
+  Copyright (c) 2003-2009 Coppermine Dev Team
+  v1.1 originally written by Gregory DEMAR
+
+  This program is free software; you can redistribute it and/or modify
+  it under the terms of the GNU General Public License version 3
+  as published by the Free Software Foundation.
+  
+  ********************************************
+  Coppermine version: 1.4.25
+  $HeadURL: https://coppermine.svn.sourceforge.net/svnroot/coppermine/trunk/cpg1.4.x/exifmgr.php $
+  $Revision: 5997 $
+  $Author: gaugau $
+  $Date: 2009-05-26 08:43:24 +0200 (Di, 26 Mai 2009) $
+**********************************************/
+
+define('IN_COPPERMINE', true);
+define('DISPLAYIMAGE_PHP', true);
+require('include/init.inc.php');
+require('include/picmgmt.inc.php');
+
+if (!GALLERY_ADMIN_MODE) die('Access denied');
+pageheader($lang_picinfo['ManageExifDisplay']);
+
+//String containing all the available exif tags.
+$exif_info = "AFFocusPosition|Adapter|ColorMode|ColorSpace|ComponentsConfiguration|CompressedBitsPerPixel|Contrast|CustomerRender|DateTimeOriginal|DateTimedigitized|DigitalZoom|DigitalZoomRatio|ExifImageHeight|ExifImageWidth|ExifInteroperabilityOffset|ExifOffset|ExifVersion|ExposureBiasValue|ExposureMode|ExposureProgram|ExposureTime|FNumber|FileSource|Flash|FlashPixVersion|FlashSetting|FocalLength|FocusMode|GainControl|IFD1Offset|ISOSelection|ISOSetting|ISOSpeedRatings|ImageAdjustment|ImageDescription|ImageSharpening|LightSource|Make|ManualFocusDistance|MaxApertureValue|MeteringMode|Model|NoiseReduction|Orientation|Quality|ResolutionUnit|Saturation|SceneCaptureMode|SceneType|Sharpness|Software|WhiteBalance|YCbCrPositioning|xResolution|yResolution";
+
+$exifRawData = explode ("|",$exif_info);
+$exifCurrentData = explode ("|",$CONFIG['show_which_exif']);
+
+//If the form is submitted to save the data
+if (isset($_POST['save'])) {
+  $str = "";
+  foreach ($exifRawData as $val) {
+    if (in_array($val, $_POST['exif_tags'])) {
+      $str .= "1|";
+    } else {
+      $str .= "0|";
+    }
+  }
+
+  //Remove the last pipe from the string.
+  $selectedExifTags = substr ($str,0,strlen($str)-1);
+  $selectedExifTags = $str;
+  $sql = "UPDATE ".$CONFIG['TABLE_CONFIG']." SET value = '".$selectedExifTags."' WHERE name = 'show_which_exif'";
+  cpg_db_query($sql);
+  msg_box($lang_picinfo['ManageExifDisplay'], $lang_picinfo['success'], $lang_continue, "admin.php");
+} else {
+  echo <<< EOT
+    <form method="POST" action="" name="editForm">
+    <input type="hidden" name="save" value="save" />
+
+    <script type="text/javascript" language="javascript">
+    <!--
+    function selectAll(d,box) {
+      var f = document.editForm;
+      for (i = 0; i < f.length; i++) {
+        //alert (f[i].name.indexOf(box));
+        if (f[i].type == "checkbox" && f[i].name.indexOf(box) >= 0) {
+          if (d.checked) {
+            f[i].checked = true;
+          } else {
+            f[i].checked = false;
+          }
+        }
+      }
+      if (d.name == "checkAll") {
+          document.getElementsByName('checkAll2')[0].checked = document.getElementsByName('checkAll')[0].checked;
+      } else {
+          document.getElementsByName('checkAll')[0].checked = document.getElementsByName('checkAll2')[0].checked;
+      }
+    }
+
+    -->
+    </script>
+EOT;
+  starttable(-2,$lang_picinfo['ManageExifDisplay'], 2);
+  echo '<tr><td class="tableh2">&nbsp;</td><td class="tableh2" align="center">';
+  echo '<input type="checkbox" name="checkAll" onClick="selectAll(this,\'exif_tags\');" class="checkbox" title="'.$lang_check_uncheck_all.'" />';
+  echo '</td></tr>';
+  foreach ($exifRawData as $key => $val) {
+    $checked = $exifCurrentData[$key] == 1 ? 'checked' : '';
+    echo '<tr><td class="tableb">'.$lang_picinfo[$val].'</td><td class="tableb" align="center"><input type="checkbox" name="exif_tags[]" value="'.$val.'" ' . $checked . ' class="checkbox" /></td></tr>';
+  }
+  echo '<tr>
+  <td class="tablef" align="center"><input type="submit" class="button" name="submit" value="'.$lang_picinfo['submit'].'" />';
+  echo '<td class="tablef" align="center">';
+  echo '<input type="checkbox" name="checkAll2" onClick="selectAll(this,\'exif_tags\');" class="checkbox" title="'.$lang_check_uncheck_all.'" />';
+  echo '  </td></tr>';
+  endtable();
+  echo <<< EOT
+    </form>
+EOT;
+}
+ob_end_flush();
+pagefooter();
+?>
diff -x .svn -aruN 1.4.24.src/faq.php 1.4.25.src/faq.php
--- 1.4.24.src/faq.php	2009-05-21 15:03:09.000000000 -0500
+++ 1.4.25.src/faq.php	2009-05-26 11:25:52.000000000 -0500
@@ -1,83 +1,83 @@
-<?php
-/*************************
-  Coppermine Photo Gallery
-  ************************
-  Copyright (c) 2003-2009 Coppermine Dev Team
-  v1.1 originally written by Gregory DEMAR
-
-  This program is free software; you can redistribute it and/or modify
-  it under the terms of the GNU General Public License version 3
-  as published by the Free Software Foundation.
-  
-  ********************************************
-  Coppermine version: 1.4.24
-  $HeadURL: https://coppermine.svn.sourceforge.net/svnroot/coppermine/trunk/cpg1.4.x/faq.php $
-  $Revision: 5969 $
-  $Author: gaugau $
-  $Date: 2009-05-21 22:03:33 +0200 (Do, 21 Mai 2009) $
-**********************************************/
-
-define('IN_COPPERMINE', true);
-define('FAQ_PHP', true);
-global $CONFIG;
-
-require('include/init.inc.php');
-
-// build the ouput
-$faqHeading = '';
-$faqContent = '';
-$anchorName = '';
-
-foreach($lang_faq_data as $element) {
-  if ((is_array($element))) {
-     if ($CONFIG[$element[2]] == $element[3]) {
-       $anchorName = createAnchorName($element[0]);
-       $faqHeading .= '<ul style="margin-top:0px;margin-bottom:0px"><li><a href="#'.$anchorName.'">'.$element[0].'</a></li></ul>';
-       $faqContent .= '<tr><td class="tablef"><i>'.$lang_faq_php['question'].'</i><a name="'.$anchorName.'"></a><b>'.$element[0].'</b></td></tr><tr><td class="tableb"><i>'.$lang_faq_php['answer'].'</i>'.$element[1].'<br />&nbsp;<br />&nbsp;<br /></td></tr>';
-     }
-  }
-  else {
-      $anchorName = createAnchorName($element);
-      $faqHeading .=  '<h2><a href="#'.$anchorName.'">'.$element.'</a></h2>';
-      $faqContent .=  '<tr><td class="tableh1"><a name="'.$anchorName.'"></a><h2>'.$element.'</h2></td></tr>';
-  }
-}
-$faqHeading .= '';
-
-//print $faqHeading;
-//print '<hr>';
-//print $faqContent;
-
-
-
-
-pageheader($lang_faq_php['faq']);
-print '<h1>'.$lang_faq_php['faq'].'</h1>';
-
-starttable('100%',$lang_faq_php['toc']);
-print '<tr>';
-print '<td class="tableb">';
-print $faqHeading;
-print '</td>';
-print '</tr>';
-endtable();
-
-print '<br />&nbsp;<br />';
-
-starttable('100%');
-print $faqContent;
-endtable();
-print '<br />&nbsp;<br />&nbsp;<br />&nbsp;<br />&nbsp;<br />&nbsp;<br />&nbsp;<br />&nbsp;<br />&nbsp;<br />';
-pagefooter();
-
-ob_end_flush();
-
-function createAnchorName($anchor)
-{
-$anchor = trim(str_replace(' ','_',str_replace('?','',$anchor)));
-return $anchor;
-}
-
-
-
-?>
+<?php
+/*************************
+  Coppermine Photo Gallery
+  ************************
+  Copyright (c) 2003-2009 Coppermine Dev Team
+  v1.1 originally written by Gregory DEMAR
+
+  This program is free software; you can redistribute it and/or modify
+  it under the terms of the GNU General Public License version 3
+  as published by the Free Software Foundation.
+  
+  ********************************************
+  Coppermine version: 1.4.25
+  $HeadURL: https://coppermine.svn.sourceforge.net/svnroot/coppermine/trunk/cpg1.4.x/faq.php $
+  $Revision: 5997 $
+  $Author: gaugau $
+  $Date: 2009-05-26 08:43:24 +0200 (Di, 26 Mai 2009) $
+**********************************************/
+
+define('IN_COPPERMINE', true);
+define('FAQ_PHP', true);
+global $CONFIG;
+
+require('include/init.inc.php');
+
+// build the ouput
+$faqHeading = '';
+$faqContent = '';
+$anchorName = '';
+
+foreach($lang_faq_data as $element) {
+  if ((is_array($element))) {
+     if ($CONFIG[$element[2]] == $element[3]) {
+       $anchorName = createAnchorName($element[0]);
+       $faqHeading .= '<ul style="margin-top:0px;margin-bottom:0px"><li><a href="#'.$anchorName.'">'.$element[0].'</a></li></ul>';
+       $faqContent .= '<tr><td class="tablef"><i>'.$lang_faq_php['question'].'</i><a name="'.$anchorName.'"></a><b>'.$element[0].'</b></td></tr><tr><td class="tableb"><i>'.$lang_faq_php['answer'].'</i>'.$element[1].'<br />&nbsp;<br />&nbsp;<br /></td></tr>';
+     }
+  }
+  else {
+      $anchorName = createAnchorName($element);
+      $faqHeading .=  '<h2><a href="#'.$anchorName.'">'.$element.'</a></h2>';
+      $faqContent .=  '<tr><td class="tableh1"><a name="'.$anchorName.'"></a><h2>'.$element.'</h2></td></tr>';
+  }
+}
+$faqHeading .= '';
+
+//print $faqHeading;
+//print '<hr>';
+//print $faqContent;
+
+
+
+
+pageheader($lang_faq_php['faq']);
+print '<h1>'.$lang_faq_php['faq'].'</h1>';
+
+starttable('100%',$lang_faq_php['toc']);
+print '<tr>';
+print '<td class="tableb">';
+print $faqHeading;
+print '</td>';
+print '</tr>';
+endtable();
+
+print '<br />&nbsp;<br />';
+
+starttable('100%');
+print $faqContent;
+endtable();
+print '<br />&nbsp;<br />&nbsp;<br />&nbsp;<br />&nbsp;<br />&nbsp;<br />&nbsp;<br />&nbsp;<br />&nbsp;<br />';
+pagefooter();
+
+ob_end_flush();
+
+function createAnchorName($anchor)
+{
+$anchor = trim(str_replace(' ','_',str_replace('?','',$anchor)));
+return $anchor;
+}
+
+
+
+?>
diff -x .svn -aruN 1.4.24.src/forgot_passwd.php 1.4.25.src/forgot_passwd.php
--- 1.4.24.src/forgot_passwd.php	2009-05-21 15:03:09.000000000 -0500
+++ 1.4.25.src/forgot_passwd.php	2009-05-26 11:25:52.000000000 -0500
@@ -1,175 +1,175 @@
-<?php
-/*************************
-  Coppermine Photo Gallery
-  ************************
-  Copyright (c) 2003-2009 Coppermine Dev Team
-  v1.1 originally written by Gregory DEMAR
-
-  This program is free software; you can redistribute it and/or modify
-  it under the terms of the GNU General Public License version 3
-  as published by the Free Software Foundation.
-
-  ********************************************
-  Coppermine version: 1.4.24
-  $HeadURL: https://coppermine.svn.sourceforge.net/svnroot/coppermine/trunk/cpg1.4.x/forgot_passwd.php $
-  $Revision: 5969 $
-  $Author: gaugau $
-  $Date: 2009-05-21 22:03:33 +0200 (Do, 21 Mai 2009) $
-**********************************************/
-
-define('IN_COPPERMINE', true);
-define('FORGOT_PASSWD_PHP', true);
-global $CONFIG;
-
-
-require('include/init.inc.php');
-include_once('include/mailer.inc.php');
-
-if (USER_ID) cpg_die(ERROR, $lang_forgot_passwd_php['err_already_logged_in'], __FILE__, __LINE__);
-
-$lookup_failed = '';
-
-if (!empty($_POST['email'])) {
-    $emailaddress = addslashes($_POST['email']);
-
-    $sql = "SELECT user_id, user_group,user_active,user_name, user_password, user_email  FROM {$CONFIG['TABLE_USERS']} WHERE user_email = '$emailaddress' AND user_active = 'YES'";
-
-    $results = cpg_db_query($sql);
-    if (mysql_num_rows($results))
-        { // something has been found start
-        $USER_DATA = mysql_fetch_array($results);
-        // check if we have an admin account (with empty email address)
-        if ($USER_DATA['user_email'] == '') {
-          // the password is empty. Is the current user the gallery admin?
-          if ($USER_DATA['user_group'] == 1) {
-            $USER_DATA['user_email'] = $CONFIG['gallery_admin_email'];
-          } else {
-            cpg_die(CRITICAL_ERROR, $lang_forgot_passwd_php['failed_sending_email'], __FILE__, __LINE__); //not the gallery admin account
-          }
-        }
-
-        $randkey = $cpg_udb->generateId();
-
-        // Session life = 1hour - session life (5 minutes)
-        $session_life = time()-(CPG_MINUTE*55);
-
-        $sql =  'insert into '.$cpg_udb->sessionstable.' (session_id, user_id, time, remember) values ';
-        $sql .= '("'.md5($randkey.$USER_DATA['user_id']).'", 0, "'.$session_life.'", 0);';
-
-        cpg_db_query($sql);
-
-
-        // send the email
-        if (!cpg_mail($USER_DATA['user_email'], sprintf($lang_forgot_passwd_php['account_verify_subject'], $CONFIG['gallery_name']), sprintf($lang_forgot_passwd_php['account_verify_body'],
-            $CONFIG['ecards_more_pic_target'].(substr($CONFIG["ecards_more_pic_target"], -1) == '/' ? '' : '/') .'forgot_passwd.php?key='.$randkey.'&id='.$USER_DATA['user_id']))){
-
-            cpg_die(CRITICAL_ERROR, $lang_forgot_passwd_php['failed_sending_email'], __FILE__, __LINE__);
-        }
-
-        // output the message
-        pageheader($lang_forgot_passwd_php['forgot_passwd'], "<META http-equiv=\"refresh\" content=\"3;url=index.php\">");
-        $referer = 'index.php';
-        msg_box($lang_forgot_passwd_php['forgot_passwd'], sprintf($lang_forgot_passwd_php['verify_email_sent'], $USER_DATA['user_email']), $lang_continue, $referer);
-        $USER_DATA['user_password'] = '***********';
-        pagefooter();
-        exit;
-        // something has been found end
-    } else {
-        $lookup_failed = <<<EOT
-                  <tr>
-                          <td colspan="2" align="center" class="tableh2">
-                        <span style="color:red;font-weight:bold;">{$lang_forgot_passwd_php['err_unk_user']}</span>
-                        </td>
-                  </tr>
-
-EOT;
-    }
-} elseif (isset($_GET['key']) && isset($_GET['id'])) {
-
-    $randkey = addslashes($_GET['key']);
-    $user_id = addslashes($_GET['id']);
-
-    $sql = "select null from {$cpg_udb->sessionstable} where session_id = md5('{$randkey}{$user_id}');";
-
-    $result = cpg_db_query($sql);
-
-    if (!mysql_num_rows($result)) {
-        cpg_die($lang_forgot_passwd_php['forgot_passwd'], $lang_forgot_passwd_php['illegal_session']);
-    }
-
-    mysql_free_result($result);
-
-    $sql = "select {$cpg_udb->field['username']}, {$cpg_udb->field['email']} from {$cpg_udb->usertable} where {$cpg_udb->field['user_id']}='$user_id';";
-
-    $result = cpg_db_query($sql);
-
-    if (!mysql_num_rows($result)) {
-        cpg_die($lang_forgot_passwd_php['forgot_passwd'], $lang_forgot_passwd_php['err_unk_user']);
-    }
-
-    $row = mysql_fetch_assoc($result);
-    mysql_free_result($sql);
-
-    // Reset Password
-    $new_password = $cpg_udb->make_password();
-
-    if ($CONFIG['enable_encrypted_passwords']) {
-        $password = md5($new_password);
-    } else {
-        $password = $new_password;
-    }
-
-    $sql =  "update {$cpg_udb->usertable} set ";
-    $sql .= "{$cpg_udb->field['password']}='$password' ";
-    $sql .= "where {$cpg_udb->field['email']}='{$row['user_email']}'";
-    cpg_db_query($sql);
-
-    // send the password
-    if (!cpg_mail($row['user_email'],
-        sprintf($lang_forgot_passwd_php['passwd_reset_subject'], $CONFIG['gallery_name']),
-        sprintf($lang_forgot_passwd_php['passwd_reset_body'], $row['user_name'], $new_password,
-        $CONFIG['ecards_more_pic_target'].(substr($CONFIG["ecards_more_pic_target"], -1) == '/' ? '' : '/') .'login.php'))){
-
-        cpg_die(CRITICAL_ERROR, $lang_forgot_passwd_php['failed_sending_email'], __FILE__, __LINE__);
-    }
-
-    $sql = "delete from {$cpg_udb->sessionstable} where session_id=md5('{$randkey}{$user_id}');";
-    cpg_db_query($sql);
-
-    // output the message
-    pageheader($lang_forgot_passwd_php['forgot_passwd'], "<META http-equiv=\"refresh\" content=\"3;url=login.php\">");
-    $referer = 'login.php';
-    msg_box($lang_forgot_passwd_php['forgot_passwd'], sprintf($lang_forgot_passwd_php['email_sent'], $row['user_email']), $lang_continue, $referer);
-    $USER_DATA['user_password'] = '***********';
-    pagefooter();
-    exit;
-}
-
-pageheader($lang_forgot_passwd_php['forgot_passwd']);
-
-echo '<form action="forgot_passwd.php" method="post" name="passwordreminder">';
-starttable('-1', $lang_forgot_passwd_php['forgot_passwd'], 2);
-echo <<< EOT
-            $lookup_failed
-                 <tr>
-                        <td class="tableb" width="40%">{$lang_forgot_passwd_php['enter_email']}</td>
-                        <td class="tableb" width="60%"><input type="text" class="textinput" name="email" style="width: 100%" /></td>
-
-                  </tr>
-                  <tr>
-                        <td colspan="2" align="center" class="tablef"><script language="javascript" type="text/javascript">
-                        <!--
-                        document.passwordreminder.email.focus();
-                        -->
-                        </script>
-                                                <input name="submitted" type="submit" class="button" value="{$lang_forgot_passwd_php['submit']}" /></td>
-                  </tr>
-
-EOT;
-endtable();
-echo '</form>';
-
-pagefooter();
-ob_end_flush();
-
+<?php
+/*************************
+  Coppermine Photo Gallery
+  ************************
+  Copyright (c) 2003-2009 Coppermine Dev Team
+  v1.1 originally written by Gregory DEMAR
+
+  This program is free software; you can redistribute it and/or modify
+  it under the terms of the GNU General Public License version 3
+  as published by the Free Software Foundation.
+
+  ********************************************
+  Coppermine version: 1.4.25
+  $HeadURL: https://coppermine.svn.sourceforge.net/svnroot/coppermine/trunk/cpg1.4.x/forgot_passwd.php $
+  $Revision: 5997 $
+  $Author: gaugau $
+  $Date: 2009-05-26 08:43:24 +0200 (Di, 26 Mai 2009) $
+**********************************************/
+
+define('IN_COPPERMINE', true);
+define('FORGOT_PASSWD_PHP', true);
+global $CONFIG;
+
+
+require('include/init.inc.php');
+include_once('include/mailer.inc.php');
+
+if (USER_ID) cpg_die(ERROR, $lang_forgot_passwd_php['err_already_logged_in'], __FILE__, __LINE__);
+
+$lookup_failed = '';
+
+if (!empty($_POST['email'])) {
+    $emailaddress = addslashes($_POST['email']);
+
+    $sql = "SELECT user_id, user_group,user_active,user_name, user_password, user_email  FROM {$CONFIG['TABLE_USERS']} WHERE user_email = '$emailaddress' AND user_active = 'YES'";
+
+    $results = cpg_db_query($sql);
+    if (mysql_num_rows($results))
+        { // something has been found start
+        $USER_DATA = mysql_fetch_array($results);
+        // check if we have an admin account (with empty email address)
+        if ($USER_DATA['user_email'] == '') {
+          // the password is empty. Is the current user the gallery admin?
+          if ($USER_DATA['user_group'] == 1) {
+            $USER_DATA['user_email'] = $CONFIG['gallery_admin_email'];
+          } else {
+            cpg_die(CRITICAL_ERROR, $lang_forgot_passwd_php['failed_sending_email'], __FILE__, __LINE__); //not the gallery admin account
+          }
+        }
+
+        $randkey = $cpg_udb->generateId();
+
+        // Session life = 1hour - session life (5 minutes)
+        $session_life = time()-(CPG_MINUTE*55);
+
+        $sql =  'insert into '.$cpg_udb->sessionstable.' (session_id, user_id, time, remember) values ';
+        $sql .= '("'.md5($randkey.$USER_DATA['user_id']).'", 0, "'.$session_life.'", 0);';
+
+        cpg_db_query($sql);
+
+
+        // send the email
+        if (!cpg_mail($USER_DATA['user_email'], sprintf($lang_forgot_passwd_php['account_verify_subject'], $CONFIG['gallery_name']), sprintf($lang_forgot_passwd_php['account_verify_body'],
+            $CONFIG['ecards_more_pic_target'].(substr($CONFIG["ecards_more_pic_target"], -1) == '/' ? '' : '/') .'forgot_passwd.php?key='.$randkey.'&id='.$USER_DATA['user_id']))){
+
+            cpg_die(CRITICAL_ERROR, $lang_forgot_passwd_php['failed_sending_email'], __FILE__, __LINE__);
+        }
+
+        // output the message
+        pageheader($lang_forgot_passwd_php['forgot_passwd'], "<META http-equiv=\"refresh\" content=\"3;url=index.php\">");
+        $referer = 'index.php';
+        msg_box($lang_forgot_passwd_php['forgot_passwd'], sprintf($lang_forgot_passwd_php['verify_email_sent'], $USER_DATA['user_email']), $lang_continue, $referer);
+        $USER_DATA['user_password'] = '***********';
+        pagefooter();
+        exit;
+        // something has been found end
+    } else {
+        $lookup_failed = <<<EOT
+                  <tr>
+                          <td colspan="2" align="center" class="tableh2">
+                        <span style="color:red;font-weight:bold;">{$lang_forgot_passwd_php['err_unk_user']}</span>
+                        </td>
+                  </tr>
+
+EOT;
+    }
+} elseif (isset($_GET['key']) && isset($_GET['id'])) {
+
+    $randkey = addslashes($_GET['key']);
+    $user_id = addslashes($_GET['id']);
+
+    $sql = "select null from {$cpg_udb->sessionstable} where session_id = md5('{$randkey}{$user_id}');";
+
+    $result = cpg_db_query($sql);
+
+    if (!mysql_num_rows($result)) {
+        cpg_die($lang_forgot_passwd_php['forgot_passwd'], $lang_forgot_passwd_php['illegal_session']);
+    }
+
+    mysql_free_result($result);
+
+    $sql = "select {$cpg_udb->field['username']}, {$cpg_udb->field['email']} from {$cpg_udb->usertable} where {$cpg_udb->field['user_id']}='$user_id';";
+
+    $result = cpg_db_query($sql);
+
+    if (!mysql_num_rows($result)) {
+        cpg_die($lang_forgot_passwd_php['forgot_passwd'], $lang_forgot_passwd_php['err_unk_user']);
+    }
+
+    $row = mysql_fetch_assoc($result);
+    mysql_free_result($sql);
+
+    // Reset Password
+    $new_password = $cpg_udb->make_password();
+
+    if ($CONFIG['enable_encrypted_passwords']) {
+        $password = md5($new_password);
+    } else {
+        $password = $new_password;
+    }
+
+    $sql =  "update {$cpg_udb->usertable} set ";
+    $sql .= "{$cpg_udb->field['password']}='$password' ";
+    $sql .= "where {$cpg_udb->field['email']}='{$row['user_email']}'";
+    cpg_db_query($sql);
+
+    // send the password
+    if (!cpg_mail($row['user_email'],
+        sprintf($lang_forgot_passwd_php['passwd_reset_subject'], $CONFIG['gallery_name']),
+        sprintf($lang_forgot_passwd_php['passwd_reset_body'], $row['user_name'], $new_password,
+        $CONFIG['ecards_more_pic_target'].(substr($CONFIG["ecards_more_pic_target"], -1) == '/' ? '' : '/') .'login.php'))){
+
+        cpg_die(CRITICAL_ERROR, $lang_forgot_passwd_php['failed_sending_email'], __FILE__, __LINE__);
+    }
+
+    $sql = "delete from {$cpg_udb->sessionstable} where session_id=md5('{$randkey}{$user_id}');";
+    cpg_db_query($sql);
+
+    // output the message
+    pageheader($lang_forgot_passwd_php['forgot_passwd'], "<META http-equiv=\"refresh\" content=\"3;url=login.php\">");
+    $referer = 'login.php';
+    msg_box($lang_forgot_passwd_php['forgot_passwd'], sprintf($lang_forgot_passwd_php['email_sent'], $row['user_email']), $lang_continue, $referer);
+    $USER_DATA['user_password'] = '***********';
+    pagefooter();
+    exit;
+}
+
+pageheader($lang_forgot_passwd_php['forgot_passwd']);
+
+echo '<form action="forgot_passwd.php" method="post" name="passwordreminder">';
+starttable('-1', $lang_forgot_passwd_php['forgot_passwd'], 2);
+echo <<< EOT
+            $lookup_failed
+                 <tr>
+                        <td class="tableb" width="40%">{$lang_forgot_passwd_php['enter_email']}</td>
+                        <td class="tableb" width="60%"><input type="text" class="textinput" name="email" style="width: 100%" /></td>
+
+                  </tr>
+                  <tr>
+                        <td colspan="2" align="center" class="tablef"><script language="javascript" type="text/javascript">
+                        <!--
+                        document.passwordreminder.email.focus();
+                        -->
+                        </script>
+                                                <input name="submitted" type="submit" class="button" value="{$lang_forgot_passwd_php['submit']}" /></td>
+                  </tr>
+
+EOT;
+endtable();
+echo '</form>';
+
+pagefooter();
+ob_end_flush();
+
 ?>
\ No newline at end of file
diff -x .svn -aruN 1.4.24.src/getlang.php 1.4.25.src/getlang.php
--- 1.4.24.src/getlang.php	2009-05-21 15:03:09.000000000 -0500
+++ 1.4.25.src/getlang.php	2009-05-26 11:25:52.000000000 -0500
@@ -1,62 +1,62 @@
-<?php
-/*************************
-  Coppermine Photo Gallery
-  ************************
-  Copyright (c) 2003-2009 Coppermine Dev Team
-  v1.1 originally written by Gregory DEMAR
-
-  This program is free software; you can redistribute it and/or modify
-  it under the terms of the GNU General Public License version 3
-  as published by the Free Software Foundation.
-  
-  ********************************************
-  Coppermine version: 1.4.24
-  $HeadURL: https://coppermine.svn.sourceforge.net/svnroot/coppermine/trunk/cpg1.4.x/getlang.php $
-  $Revision: 5969 $
-  $Author: gaugau $
-  $Date: 2009-05-21 22:03:33 +0200 (Do, 21 Mai 2009) $
-**********************************************/
-
-define('IN_COPPERMINE', true);
-define('ADMIN_PHP', true);
-
-define('LANG_DIR', 'lang');
-
-require('include/init.inc.php');
-
-$dir = opendir(LANG_DIR);
-$lang_files = array();
-while ($file = readdir($dir)) {
-    if (is_file(LANG_DIR . '/' . $file)) {
-        $lang_files[] = $file;
-    }
-}
-closedir($dir);
-asort($lang_files);
-
-if (isset($_GET['get'])) {
-    $file_index = (int)$_GET['get'];
-    if ((isset($lang_files[$file_index]))) {
-        header("Content-type: application/php");
-        header("Content-Disposition: attachment; filename={$lang_files[$file_index]}");
-        fpassthru(fopen(LANG_DIR . '/' . $lang_files[$file_index], 'r'));
-        exit;
-    }
-}
-
-pageheader('Language files');
-starttable('100%', 'Language files');
-foreach($lang_files as $index => $file) {
-    echo <<<EOT
-                <tr>
-                        <td class="tableb">
-                                <img src="images/folder.gif" alt="">&nbsp;<a href="{$_SERVER['PHP_SELF']}?get=$index">$file</a>
-                        </td>
-                </tr>
-EOT;
-}
-endtable();
-pagefooter();
-ob_end_flush();
-
-?>
+<?php
+/*************************
+  Coppermine Photo Gallery
+  ************************
+  Copyright (c) 2003-2009 Coppermine Dev Team
+  v1.1 originally written by Gregory DEMAR
+
+  This program is free software; you can redistribute it and/or modify
+  it under the terms of the GNU General Public License version 3
+  as published by the Free Software Foundation.
+  
+  ********************************************
+  Coppermine version: 1.4.25
+  $HeadURL: https://coppermine.svn.sourceforge.net/svnroot/coppermine/trunk/cpg1.4.x/getlang.php $
+  $Revision: 5997 $
+  $Author: gaugau $
+  $Date: 2009-05-26 08:43:24 +0200 (Di, 26 Mai 2009) $
+**********************************************/
+
+define('IN_COPPERMINE', true);
+define('ADMIN_PHP', true);
+
+define('LANG_DIR', 'lang');
+
+require('include/init.inc.php');
+
+$dir = opendir(LANG_DIR);
+$lang_files = array();
+while ($file = readdir($dir)) {
+    if (is_file(LANG_DIR . '/' . $file)) {
+        $lang_files[] = $file;
+    }
+}
+closedir($dir);
+asort($lang_files);
+
+if (isset($_GET['get'])) {
+    $file_index = (int)$_GET['get'];
+    if ((isset($lang_files[$file_index]))) {
+        header("Content-type: application/php");
+        header("Content-Disposition: attachment; filename={$lang_files[$file_index]}");
+        fpassthru(fopen(LANG_DIR . '/' . $lang_files[$file_index], 'r'));
+        exit;
+    }
+}
+
+pageheader('Language files');
+starttable('100%', 'Language files');
+foreach($lang_files as $index => $file) {
+    echo <<<EOT
+                <tr>
+                        <td class="tableb">
+                                <img src="images/folder.gif" alt="">&nbsp;<a href="{$_SERVER['PHP_SELF']}?get=$index">$file</a>
+                        </td>
+                </tr>
+EOT;
+}
+endtable();
+pagefooter();
+ob_end_flush();
+
+?>
diff -x .svn -aruN 1.4.24.src/groupmgr.php 1.4.25.src/groupmgr.php
--- 1.4.24.src/groupmgr.php	2009-05-21 15:03:09.000000000 -0500
+++ 1.4.25.src/groupmgr.php	2009-05-26 11:25:52.000000000 -0500
@@ -1,401 +1,401 @@
-<?php
-/*************************
-  Coppermine Photo Gallery
-  ************************
-  Copyright (c) 2003-2009 Coppermine Dev Team
-  v1.1 originally written by Gregory DEMAR
-
-  This program is free software; you can redistribute it and/or modify
-  it under the terms of the GNU General Public License version 3
-  as published by the Free Software Foundation.
-  
-  ********************************************
-  Coppermine version: 1.4.24
-  $HeadURL: https://coppermine.svn.sourceforge.net/svnroot/coppermine/trunk/cpg1.4.x/groupmgr.php $
-  $Revision: 5969 $
-  $Author: gaugau $
-  $Date: 2009-05-21 22:03:33 +0200 (Do, 21 Mai 2009) $
-**********************************************/
-
-define('IN_COPPERMINE', true);
-define('GROUPMGR_PHP', true);
-
-require('include/init.inc.php');
-
-if (!GALLERY_ADMIN_MODE) cpg_die(ERROR, $lang_errors['access_denied'], __FILE__, __LINE__);
-
-$cpg_udb->synchronize_groups();
-
-function display_group_list()
-{
-    global $CONFIG, $custom_group_counter;
-    global $lang_groupmgr_php, $lang_byte_units, $lang_yes, $lang_no;
-    $row_counter = 0;
-    $table_start = '<table border="0" cellspacing="0" cellpadding="0" style="white-space:nowrap;font-size:90%;">'."\n";
-    $table_end = '</table>'."\n";
-    $tr_start = '<tr>'."\n";
-    $tr_end = '</tr>'."\n";
-    $td_start = '<td>'."\n";
-    $td_end = '</td>'."\n";
-    //$approval_needed = ', admin approval needed';
-    //$approval_not_needed = ', visible instantly';
-    $default_group_names = array(
-        '1' => 'Administrators',
-        '2' => 'Registered',
-        '3' => 'Anonymous',
-        '4' => 'Banned',
-    );
-
-    $result = cpg_db_query("SELECT * FROM {$CONFIG['TABLE_USERGROUPS']} WHERE 1 ORDER BY group_id");
-    if (!mysql_num_rows($result)) {
-        cpg_db_query("INSERT INTO {$CONFIG['TABLE_USERGROUPS']}
-        VALUES (1, 'Administrators', 0, 1, 1, 1, 1, 1, 1, 0, 0, 3, 0, 5, 3)");
-        cpg_db_query("INSERT INTO {$CONFIG['TABLE_USERGROUPS']}
-        VALUES (2, 'Registered', 1024, 0, 1, 1, 1, 1, 1, 1, 0, 3, 0, 5, 3)");
-        cpg_db_query("INSERT INTO {$CONFIG['TABLE_USERGROUPS']}
-        VALUES (3, 'Anonymous', 0, 0, 1, 0, 0, 0, 0, 1, 1, 0, 0, 5, 3)");
-        cpg_db_query("INSERT INTO {$CONFIG['TABLE_USERGROUPS']}
-        VALUES (4, 'Banned', 0, 0, 0, 0, 0, 0, 0, 1, 1, 0, 0, 5, 3)");
-        cpg_die(CRITICAL_ERROR, $lang_groupmgr_php['error_group_empty'], __FILE__, __LINE__);
-    }
-
-    $field_list = array('can_rate_pictures', 'can_send_ecards', 'can_post_comments', 'can_upload_pictures', 'pub_upl_need_approval', 'can_create_albums', 'priv_upl_need_approval');
-    $custom_group_counter = 0;
-
-    while ($group = mysql_fetch_array($result)) {
-        $group['group_name'] = $group['group_name'];
-        $row_counter++;
-        if ($row_counter == 1 ) {$table_background = 'tableb';}else{$table_background = 'tableh2';$row_counter = 0;}
-
-
-        if ($group['group_id'] > 4 && UDB_INTEGRATION == 'coppermine') {
-            $custom_group_counter++;
-            echo <<< EOT
-        <tr>
-                <td class="$table_background" align="center" valign="top" style="padding-left: 1px; padding-right: 1px" >
-                        <input type="checkbox" name="delete_group[]" value="{$group['group_id']}" class="checkbox" />
-                </td>
-
-EOT;
-        } else {
-            echo <<< EOT
-        <tr>
-                <td class="$table_background" >
-                        &nbsp;
-                </td>
-
-EOT;
-        }
-        // disable row if applicable
-        if ($group['group_id'] == 3 && $CONFIG['allow_unlogged_access'] == 0) {
-            $disabled = 'disabled="disabled" style="background-color:InactiveCaptionText;color:GrayText"';
-            $explain_greyedout = '&nbsp;'.cpg_display_help('f=index.htm&amp;base=64&h='.urlencode(base64_encode(serialize($lang_groupmgr_php['explain_greyed_out_title']))).'&amp;t='.urlencode(base64_encode(serialize(sprintf($lang_groupmgr_php['explain_guests_greyed_out_text'],'<i>'.$group['group_name'].'</i>')))), '450', '300');
-        } elseif ($group['group_id'] == 4) {
-            $disabled = 'disabled="disabled" style="background-color:InactiveCaptionText;color:GrayText"';
-            $explain_greyedout = '&nbsp;'.cpg_display_help('f=index.htm&amp;base=64&amp;h='.urlencode(base64_encode(serialize($lang_groupmgr_php['explain_greyed_out_title']))).'&amp;t='.urlencode(base64_encode(serialize(sprintf($lang_groupmgr_php['explain_banned_greyed_out_text'],'<i>'.$group['group_name'].'</i>')))), '450', '300');
-        } else {
-            $disabled = '';
-            $explain_greyedout = '';
-        }
-        echo <<< EOT
-                <td class="$table_background" align="left" valign="top" style="white-space:nowrap">
-                        <input type="hidden" name="group_id[]" value="{$group['group_id']}" />
-                        <input type="text" name="group_name_{$group['group_id']}" value="{$group['group_name']}" class="textinput" size="18" style="font-size:80%;" />
-                        $explain_greyedout
-EOT;
-        // show reset option if applicable
-        if (UDB_INTEGRATION == 'coppermine' and isset($default_group_names[$group['group_id']])) {
-            if ($group['group_name'] != $default_group_names[$group['group_id']] && $default_group_names[$group['group_id']] != '') {
-                // we have a group here that doesn't have the default name
-                print '<img src="images/flags/reset.gif" width="16" height="11" border="0" alt="" title="'.sprintf($lang_groupmgr_php['reset_to_default'], $default_group_names[$group['group_id']]).'" style="cursor:pointer" onclick="document.groupmanager.group_name_'.$group['group_id'].'.value=\''.$default_group_names[$group['group_id']].'\'" />';
-            }
-        }
-        echo <<< EOT
-                        <br />
-                        {$lang_groupmgr_php['disk_quota']}: <input type="text" name="group_quota_{$group['group_id']}" value="{$group['group_quota']}" size="5" class="textinput" $disabled /> {$lang_byte_units[1]}
-                <br /><br /><a href="usermgr.php?op=group_alb_access&amp;gid={$group['group_id']}" class="admin_menu">{$lang_groupmgr_php['group_assigned_album']}</a>
-                                                                </td>
-                <td class="$table_background" align="left" valign="top">
-EOT;
-        foreach ($field_list as $field_name) {
-            $value = $group[$field_name];
-            $yes_selected = ($value == 1) ? 'checked="checked"' : '';
-            $no_selected = ($value == 0) ? 'checked="checked"' : '';
-            if ($field_name=='can_rate_pictures'){
-                echo $table_start.$tr_start.$td_start.$lang_groupmgr_php['rating'].$td_end;
-            }
-            elseif ($field_name=='can_send_ecards') {
-                echo $tr_start.$td_start.$lang_groupmgr_php['ecards'].$td_end;
-            }
-            elseif ($field_name=='can_post_comments') {
-                echo $tr_start.$td_start.$lang_groupmgr_php['comments'].$td_end;
-            }
-            elseif ($field_name=='can_upload_pictures') {
-                echo $table_start.$tr_start.$td_start.$lang_groupmgr_php['allowed'].$td_end;
-            }
-            elseif ($field_name=='pub_upl_need_approval') {
-                echo $tr_start.$td_start.$lang_groupmgr_php['approval'].$td_end;
-            }
-            elseif ($field_name=='can_create_albums') {
-                echo $table_start.$tr_start.$td_start.$lang_groupmgr_php['allowed'].$td_end;
-            }
-            elseif ($field_name=='priv_upl_need_approval') {
-                echo $tr_start.$td_start.$lang_groupmgr_php['approval'].$td_end;
-            }
-            if ($group['group_id'] == 3 && $CONFIG['allow_unlogged_access'] == 0) {
-                $disabled_yes = 'disabled="disabled"';
-                $disabled_no = 'disabled="disabled"';
-            } elseif ($group['group_id'] == 4) {
-                $disabled_yes = 'disabled="disabled"';
-                $disabled_no = 'disabled="disabled"';
-            } else {
-                $disabled_yes = '';
-                $disabled_no = '';
-            }
-            echo <<< EOT
-            $td_start
-            <input type="radio" id="{$field_name}_{$group['group_id']}1" name="{$field_name}_{$group['group_id']}" value="1" $yes_selected $disabled_yes /><label for="{$field_name}_{$group['group_id']}1" class="clickable_option">$lang_yes</label>
-            $td_end
-            $td_start
-                        <input type="radio" id="{$field_name}_{$group['group_id']}0" name="{$field_name}_{$group['group_id']}" value="0" $no_selected $disabled_no /><label for="{$field_name}_{$group['group_id']}0" class="clickable_option">$lang_no</label>
-                        $td_end
-                        $tr_end
-
-EOT;
-    if ($field_name== 'can_post_comments' || $field_name== 'pub_upl_need_approval'){ echo $table_end . "</td><td class=\"$table_background\" align=\"left\" valign=\"top\">";}else{echo "<!--<br />-->";}
-        }
-
-     echo $table_end . "</td><td class=\"$table_background\" align=\"left\" valign=\"top\">";
-
-     // Determine if yes or no should be the selected option in the form.
-     $custom_upload_yes = ($group['custom_user_upload'] == 1) ? 'checked="checked"' : '';
-     $custom_upload_no = ($group['custom_user_upload'] == 0) ? 'checked="checked"' : '';
-
-     // Create select list.
-    if ($group['group_id'] == 3 && $CONFIG['allow_unlogged_access'] == 0) {
-        $disabled = 'disabled="disabled" style="background-color:InactiveCaptionText;color:GrayText"';
-    } elseif ($group['group_id'] == 4) {
-        $disabled = 'disabled="disabled" style="background-color:InactiveCaptionText;color:GrayText"';
-    } else {
-        $disabled = '';
-    }
-     echo $table_start;
-     echo $tr_start.$td_start;
-     echo <<< EOT
-     {$lang_groupmgr_php['boxes_number']}
-     $td_end
-     $td_start
-     <input type="radio" id="custom_user_upload_{$group['group_id']}1" name="custom_user_upload_{$group['group_id']}" value="1" $custom_upload_yes $disabled /><label for="custom_user_upload_{$group['group_id']}1" class="clickable_option">{$lang_groupmgr_php['variable']}</label>
-     $td_end
-     $td_start
-     <input type="radio" id="custom_user_upload_{$group['group_id']}0" name="custom_user_upload_{$group['group_id']}" value="0" $custom_upload_no $disabled /><label for="custom_user_upload_{$group['group_id']}0" class="clickable_option">{$lang_groupmgr_php['fixed']}</label>
-     $td_end
-     $tr_end
-EOT;
-     //echo "<br />";
-
-     // Create permissible number of file upload boxes box.
-     echo $tr_start.'<td style="white-space:nowrap">';
-     echo $lang_groupmgr_php['num_file_upload'].":";
-     echo $td_end.$td_start;
-     echo "<select name=\"num_file_upload_{$group['group_id']}\" class=\"listbox_lang\" $disabled>";
-     for ($i = 0; $i <= 10; $i++) {
-     echo "<option value=\"$i\"";
-     if($group['num_file_upload']==$i){echo "selected=\"selected\"";}
-     echo " >$i</option>";
-     }
-     echo "</select>";
-     echo $td_end.$td_start.$td_end.$tr_end;
-     //echo "<br />";
-
-     // Create permissible number of URI upload boxes box.
-     echo $tr_start.'<td style="white-space:nowrap">';
-     echo $lang_groupmgr_php['num_URI_upload'].":";
-     echo $td_end.$td_start;
-     echo "<select name=\"num_URI_upload_{$group['group_id']}\" class=\"listbox_lang\" $disabled>";
-     for ($i = 0; $i <= 10; $i++) {
-     echo "<option value=\"$i\"";
-     if($group['num_URI_upload']==$i){echo "selected=\"selected\"";}
-     echo " >$i</option>";
-     }
-     echo "</select>";
-     echo $td_end.$td_start.$td_end.$tr_end;
-     echo $table_end;
-     echo "</td>";
-
-
-        echo <<< EOT
-        </tr>
-
-EOT;
-    } // while
-    mysql_free_result($result);
-}
-
-function get_post_var($var)
-{
-    global $lang_errors;
-
-    if (!isset($_POST[$var])) cpg_die(CRITICAL_ERROR, $lang_errors['param_missing'] . " ($var)", __FILE__, __LINE__);
-    return $_POST[$var];
-}
-
-function process_post_data()
-{
-    global $CONFIG;
-
-    $field_list = array('group_name', 'group_quota', 'can_rate_pictures', 'can_send_ecards', 'can_post_comments', 'can_upload_pictures', 'pub_upl_need_approval', 'can_create_albums', 'priv_upl_need_approval', 'upload_form_config', 'custom_user_upload', 'num_file_upload', 'num_URI_upload');
-
-    $group_id_array = get_post_var('group_id');
-    foreach ($group_id_array as $key => $group_id) {
-        $set_statment = '';
-        foreach ($field_list as $field) {
-            //if (!isset($_POST[$field . '_' . $group_id])) cpg_die(CRITICAL_ERROR, $lang_errors['param_missing'] . " ({$field}_{$group_id})", __FILE__, __LINE__);
-            //set the 'upload_form_config' entry
-            // case File upload boxes=1 and URI upload boxes=0 => single uploads (0)
-            if ($_POST['num_file_upload_' . $group_id] == 1 && $_POST['num_URI_upload_' . $group_id] == 0) {
-                $_POST['upload_form_config_' . $group_id] = 0;
-            }
-            // case File upload boxes>1 and URI upload boxes=0 => multi file uploads (1)
-            if ($_POST['num_file_upload_' . $group_id] > 1 && $_POST['num_URI_upload_' . $group_id] == 0) {
-                $_POST['upload_form_config_' . $group_id] = 1;
-            }
-            // case File upload boxes=0 and URI upload boxes>0 => multi uri uploads (2)
-            if ($_POST['num_file_upload_' . $group_id] == 0 && $_POST['num_URI_upload_' . $group_id] > 0) {
-                $_POST['upload_form_config_' . $group_id] = 2;
-            }
-            // case File upload boxes>0 and URI upload boxes>0 => File and URI uploads (3)
-            if ($_POST['num_file_upload_' . $group_id] > 0 && $_POST['num_URI_upload_' . $group_id] > 0) {
-                $_POST['upload_form_config_' . $group_id] = 3;
-            }
-            // case File upload boxes=0 and URI upload boxes=0 => input error, default to single uploads (0)
-            if ($_POST['num_file_upload_' . $group_id] == 0 && $_POST['num_URI_upload_' . $group_id] == 0) {
-                $_POST['upload_form_config_' . $group_id] = 0;
-            }
-            if ($field == 'group_name') {
-                $set_statment .= $field . "='" . addslashes($_POST[$field . '_' . $group_id]) . "',";
-            } else {
-                $set_statment .= $field . "='" . (int)$_POST[$field . '_' . $group_id] . "',";
-            }
-        }
-        $set_statment = substr($set_statment, 0, -1);
-        cpg_db_query("UPDATE {$CONFIG['TABLE_USERGROUPS']} SET $set_statment WHERE group_id = '$group_id' LIMIT 1");
-    }
-}
-
-if (isset($_POST) && count($_POST)) {
-    if (isset($_POST['del_sel']) && isset($_POST['delete_group']) && is_array($_POST['delete_group'])) {
-        foreach($_POST['delete_group'] as $group_id) {
-            cpg_db_query("DELETE FROM {$CONFIG['TABLE_USERGROUPS']} WHERE group_id = '" . (int)$group_id . "' LIMIT 1");
-            cpg_db_query("UPDATE {$CONFIG['TABLE_USERS']} SET user_group = '2' WHERE user_group = '" . (int)$group_id . "'");
-        }
-    } elseif (isset($_POST['new_group'])) {
-        cpg_db_query("INSERT INTO {$CONFIG['TABLE_USERGROUPS']} (group_name) VALUES ('')");
-    } elseif (isset($_POST['apply_modifs'])) {
-        process_post_data();
-    }
-}
-
-pageheader($lang_groupmgr_php['title']);
-echo <<<EOT
-
-<script language="javascript" type="text/javascript">
-<!--//<![CDATA[
-function confirmDel()
-{
-    return confirm("{$lang_groupmgr_php['confirm_del']}");
-}
-
-function selectAll(d,box) {
-  var f = document.groupmanager;
-  for (i = 0; i < f.length; i++) {
-    //alert (f[i].name.indexOf(box));
-    if (f[i].type == "checkbox" && f[i].name.indexOf(box) >= 0) {
-      if (d.checked) {
-        f[i].checked = true;
-      } else {
-        f[i].checked = false;
-      }
-    }
-  }
-  if (d.name == "checkAll") {
-      document.getElementsByName('checkAll2')[0].checked = document.getElementsByName('checkAll')[0].checked;
-  } else {
-      document.getElementsByName('checkAll')[0].checked = document.getElementsByName('checkAll2')[0].checked;
-  }
-}
-
-function selectall()
-{
-        for( var i = 0; i < document.groupmanager.elements.length; i++ )
-        {
-                var e = document.groupmanager.elements[i];
-                if( ( e.name != 'allbox' ) && ( e.type == 'checkbox' ) )
-                {
-                        e.checked = document.groupmanager.allbox.checked;
-                        if( document.groupmanager.allbox.checked )
-                                select( e );
-                        else
-                                unselect( e );
-                }
-        }
-}
-//]]>-->
-</script>
-
-<form method="post" action="{$_SERVER['PHP_SELF']}" name="groupmanager">
-EOT;
-
-starttable('100%');
-$help_group = '&nbsp;'.cpg_display_help('f=index.htm&amp;as=group_cp&amp;ae=group_cp_end&amp;top=1', '700', '500');
-$help_permissions = '&nbsp;'.cpg_display_help('f=index.htm&amp;as=group_cp_permissions&amp;ae=group_cp_permissions_end&amp;top=1', '500', '200');
-$help_personal = '&nbsp;'.cpg_display_help('f=index.htm&amp;as=group_cp_personal&amp;ae=group_cp_personal_end&amp;top=1', '500', '200');
-$help_upload_method = '&nbsp;'.cpg_display_help('f=index.htm&amp;as=group_cp_upload_method&amp;ae=group_cp_upload_method_end&amp;top=1', '700', '400');
-echo <<<EOT
-
-        <tr style="white-space:nowrap">
-                <td class="tableh1"><input type="checkbox" name="checkAll" onclick="selectAll(this,'delete_group');" class="checkbox" title="$lang_check_uncheck_all" /></td>
-                <td class="tableh1"><b><span class="statlink">{$lang_groupmgr_php['group_name']}</span></b>$help_group</td>
-                <td class="tableh1"><b><span class="statlink">{$lang_groupmgr_php['permissions']}</span></b>$help_permissions</td>
-                <td class="tableh1"><b><span class="statlink">{$lang_groupmgr_php['public_albums']}</span></b></td>
-                <td class="tableh1"><b><span class="statlink">{$lang_groupmgr_php['personal_gallery']}</span></b>$help_personal</td>
-                <td class="tableh1"><b><span class="statlink">{$lang_groupmgr_php['upload_method']}</span></b>$help_upload_method</td>
-        </tr>
-
-EOT;
-
-display_group_list();
-
-if (UDB_INTEGRATION != 'coppermine') {
-    echo <<<EOT
-        <tr>
-            <td colspan="14" align="center" class="tablef">
-                        <input type="submit" name="apply_modifs" value="{$lang_groupmgr_php['apply']}" class="button" />&nbsp;&nbsp;&nbsp;
-                </td>
-        </tr>
-
-EOT;
-} else {
-    echo <<<EOT
-        <tr>
-            <td class="tablef"><input type="checkbox" name="checkAll2" onClick="selectAll(this,'delete_group');" class="checkbox" title="$lang_check_uncheck_all" /></td>
-            <td colspan="13" align="center" class="tablef">
-                        <input type="submit" name="apply_modifs" value="{$lang_groupmgr_php['apply']}" class="button" />&nbsp;&nbsp;&nbsp;
-                        <input type="submit" name="new_group" value="{$lang_groupmgr_php['create_new_group']}" class="button" />&nbsp;&nbsp;&nbsp;
-EOT;
-    if($custom_group_counter > 0) {
-        print '                        <input type="submit" name="del_sel" value="'.$lang_groupmgr_php['del_groups'].'" onClick="return confirmDel()" class="button" />';
-    }
-    echo <<<EOT
-                </td>
-
-        </tr>
-
-EOT;
-}
-endtable();
-echo "</form>";
-pagefooter();
-ob_end_flush();
-
-?>
+<?php
+/*************************
+  Coppermine Photo Gallery
+  ************************
+  Copyright (c) 2003-2009 Coppermine Dev Team
+  v1.1 originally written by Gregory DEMAR
+
+  This program is free software; you can redistribute it and/or modify
+  it under the terms of the GNU General Public License version 3
+  as published by the Free Software Foundation.
+  
+  ********************************************
+  Coppermine version: 1.4.25
+  $HeadURL: https://coppermine.svn.sourceforge.net/svnroot/coppermine/trunk/cpg1.4.x/groupmgr.php $
+  $Revision: 5997 $
+  $Author: gaugau $
+  $Date: 2009-05-26 08:43:24 +0200 (Di, 26 Mai 2009) $
+**********************************************/
+
+define('IN_COPPERMINE', true);
+define('GROUPMGR_PHP', true);
+
+require('include/init.inc.php');
+
+if (!GALLERY_ADMIN_MODE) cpg_die(ERROR, $lang_errors['access_denied'], __FILE__, __LINE__);
+
+$cpg_udb->synchronize_groups();
+
+function display_group_list()
+{
+    global $CONFIG, $custom_group_counter;
+    global $lang_groupmgr_php, $lang_byte_units, $lang_yes, $lang_no;
+    $row_counter = 0;
+    $table_start = '<table border="0" cellspacing="0" cellpadding="0" style="white-space:nowrap;font-size:90%;">'."\n";
+    $table_end = '</table>'."\n";
+    $tr_start = '<tr>'."\n";
+    $tr_end = '</tr>'."\n";
+    $td_start = '<td>'."\n";
+    $td_end = '</td>'."\n";
+    //$approval_needed = ', admin approval needed';
+    //$approval_not_needed = ', visible instantly';
+    $default_group_names = array(
+        '1' => 'Administrators',
+        '2' => 'Registered',
+        '3' => 'Anonymous',
+        '4' => 'Banned',
+    );
+
+    $result = cpg_db_query("SELECT * FROM {$CONFIG['TABLE_USERGROUPS']} WHERE 1 ORDER BY group_id");
+    if (!mysql_num_rows($result)) {
+        cpg_db_query("INSERT INTO {$CONFIG['TABLE_USERGROUPS']}
+        VALUES (1, 'Administrators', 0, 1, 1, 1, 1, 1, 1, 0, 0, 3, 0, 5, 3)");
+        cpg_db_query("INSERT INTO {$CONFIG['TABLE_USERGROUPS']}
+        VALUES (2, 'Registered', 1024, 0, 1, 1, 1, 1, 1, 1, 0, 3, 0, 5, 3)");
+        cpg_db_query("INSERT INTO {$CONFIG['TABLE_USERGROUPS']}
+        VALUES (3, 'Anonymous', 0, 0, 1, 0, 0, 0, 0, 1, 1, 0, 0, 5, 3)");
+        cpg_db_query("INSERT INTO {$CONFIG['TABLE_USERGROUPS']}
+        VALUES (4, 'Banned', 0, 0, 0, 0, 0, 0, 0, 1, 1, 0, 0, 5, 3)");
+        cpg_die(CRITICAL_ERROR, $lang_groupmgr_php['error_group_empty'], __FILE__, __LINE__);
+    }
+
+    $field_list = array('can_rate_pictures', 'can_send_ecards', 'can_post_comments', 'can_upload_pictures', 'pub_upl_need_approval', 'can_create_albums', 'priv_upl_need_approval');
+    $custom_group_counter = 0;
+
+    while ($group = mysql_fetch_array($result)) {
+        $group['group_name'] = $group['group_name'];
+        $row_counter++;
+        if ($row_counter == 1 ) {$table_background = 'tableb';}else{$table_background = 'tableh2';$row_counter = 0;}
+
+
+        if ($group['group_id'] > 4 && UDB_INTEGRATION == 'coppermine') {
+            $custom_group_counter++;
+            echo <<< EOT
+        <tr>
+                <td class="$table_background" align="center" valign="top" style="padding-left: 1px; padding-right: 1px" >
+                        <input type="checkbox" name="delete_group[]" value="{$group['group_id']}" class="checkbox" />
+                </td>
+
+EOT;
+        } else {
+            echo <<< EOT
+        <tr>
+                <td class="$table_background" >
+                        &nbsp;
+                </td>
+
+EOT;
+        }
+        // disable row if applicable
+        if ($group['group_id'] == 3 && $CONFIG['allow_unlogged_access'] == 0) {
+            $disabled = 'disabled="disabled" style="background-color:InactiveCaptionText;color:GrayText"';
+            $explain_greyedout = '&nbsp;'.cpg_display_help('f=index.htm&amp;base=64&h='.urlencode(base64_encode(serialize($lang_groupmgr_php['explain_greyed_out_title']))).'&amp;t='.urlencode(base64_encode(serialize(sprintf($lang_groupmgr_php['explain_guests_greyed_out_text'],'<i>'.$group['group_name'].'</i>')))), '450', '300');
+        } elseif ($group['group_id'] == 4) {
+            $disabled = 'disabled="disabled" style="background-color:InactiveCaptionText;color:GrayText"';
+            $explain_greyedout = '&nbsp;'.cpg_display_help('f=index.htm&amp;base=64&amp;h='.urlencode(base64_encode(serialize($lang_groupmgr_php['explain_greyed_out_title']))).'&amp;t='.urlencode(base64_encode(serialize(sprintf($lang_groupmgr_php['explain_banned_greyed_out_text'],'<i>'.$group['group_name'].'</i>')))), '450', '300');
+        } else {
+            $disabled = '';
+            $explain_greyedout = '';
+        }
+        echo <<< EOT
+                <td class="$table_background" align="left" valign="top" style="white-space:nowrap">
+                        <input type="hidden" name="group_id[]" value="{$group['group_id']}" />
+                        <input type="text" name="group_name_{$group['group_id']}" value="{$group['group_name']}" class="textinput" size="18" style="font-size:80%;" />
+                        $explain_greyedout
+EOT;
+        // show reset option if applicable
+        if (UDB_INTEGRATION == 'coppermine' and isset($default_group_names[$group['group_id']])) {
+            if ($group['group_name'] != $default_group_names[$group['group_id']] && $default_group_names[$group['group_id']] != '') {
+                // we have a group here that doesn't have the default name
+                print '<img src="images/flags/reset.gif" width="16" height="11" border="0" alt="" title="'.sprintf($lang_groupmgr_php['reset_to_default'], $default_group_names[$group['group_id']]).'" style="cursor:pointer" onclick="document.groupmanager.group_name_'.$group['group_id'].'.value=\''.$default_group_names[$group['group_id']].'\'" />';
+            }
+        }
+        echo <<< EOT
+                        <br />
+                        {$lang_groupmgr_php['disk_quota']}: <input type="text" name="group_quota_{$group['group_id']}" value="{$group['group_quota']}" size="5" class="textinput" $disabled /> {$lang_byte_units[1]}
+                <br /><br /><a href="usermgr.php?op=group_alb_access&amp;gid={$group['group_id']}" class="admin_menu">{$lang_groupmgr_php['group_assigned_album']}</a>
+                                                                </td>
+                <td class="$table_background" align="left" valign="top">
+EOT;
+        foreach ($field_list as $field_name) {
+            $value = $group[$field_name];
+            $yes_selected = ($value == 1) ? 'checked="checked"' : '';
+            $no_selected = ($value == 0) ? 'checked="checked"' : '';
+            if ($field_name=='can_rate_pictures'){
+                echo $table_start.$tr_start.$td_start.$lang_groupmgr_php['rating'].$td_end;
+            }
+            elseif ($field_name=='can_send_ecards') {
+                echo $tr_start.$td_start.$lang_groupmgr_php['ecards'].$td_end;
+            }
+            elseif ($field_name=='can_post_comments') {
+                echo $tr_start.$td_start.$lang_groupmgr_php['comments'].$td_end;
+            }
+            elseif ($field_name=='can_upload_pictures') {
+                echo $table_start.$tr_start.$td_start.$lang_groupmgr_php['allowed'].$td_end;
+            }
+            elseif ($field_name=='pub_upl_need_approval') {
+                echo $tr_start.$td_start.$lang_groupmgr_php['approval'].$td_end;
+            }
+            elseif ($field_name=='can_create_albums') {
+                echo $table_start.$tr_start.$td_start.$lang_groupmgr_php['allowed'].$td_end;
+            }
+            elseif ($field_name=='priv_upl_need_approval') {
+                echo $tr_start.$td_start.$lang_groupmgr_php['approval'].$td_end;
+            }
+            if ($group['group_id'] == 3 && $CONFIG['allow_unlogged_access'] == 0) {
+                $disabled_yes = 'disabled="disabled"';
+                $disabled_no = 'disabled="disabled"';
+            } elseif ($group['group_id'] == 4) {
+                $disabled_yes = 'disabled="disabled"';
+                $disabled_no = 'disabled="disabled"';
+            } else {
+                $disabled_yes = '';
+                $disabled_no = '';
+            }
+            echo <<< EOT
+            $td_start
+            <input type="radio" id="{$field_name}_{$group['group_id']}1" name="{$field_name}_{$group['group_id']}" value="1" $yes_selected $disabled_yes /><label for="{$field_name}_{$group['group_id']}1" class="clickable_option">$lang_yes</label>
+            $td_end
+            $td_start
+                        <input type="radio" id="{$field_name}_{$group['group_id']}0" name="{$field_name}_{$group['group_id']}" value="0" $no_selected $disabled_no /><label for="{$field_name}_{$group['group_id']}0" class="clickable_option">$lang_no</label>
+                        $td_end
+                        $tr_end
+
+EOT;
+    if ($field_name== 'can_post_comments' || $field_name== 'pub_upl_need_approval'){ echo $table_end . "</td><td class=\"$table_background\" align=\"left\" valign=\"top\">";}else{echo "<!--<br />-->";}
+        }
+
+     echo $table_end . "</td><td class=\"$table_background\" align=\"left\" valign=\"top\">";
+
+     // Determine if yes or no should be the selected option in the form.
+     $custom_upload_yes = ($group['custom_user_upload'] == 1) ? 'checked="checked"' : '';
+     $custom_upload_no = ($group['custom_user_upload'] == 0) ? 'checked="checked"' : '';
+
+     // Create select list.
+    if ($group['group_id'] == 3 && $CONFIG['allow_unlogged_access'] == 0) {
+        $disabled = 'disabled="disabled" style="background-color:InactiveCaptionText;color:GrayText"';
+    } elseif ($group['group_id'] == 4) {
+        $disabled = 'disabled="disabled" style="background-color:InactiveCaptionText;color:GrayText"';
+    } else {
+        $disabled = '';
+    }
+     echo $table_start;
+     echo $tr_start.$td_start;
+     echo <<< EOT
+     {$lang_groupmgr_php['boxes_number']}
+     $td_end
+     $td_start
+     <input type="radio" id="custom_user_upload_{$group['group_id']}1" name="custom_user_upload_{$group['group_id']}" value="1" $custom_upload_yes $disabled /><label for="custom_user_upload_{$group['group_id']}1" class="clickable_option">{$lang_groupmgr_php['variable']}</label>
+     $td_end
+     $td_start
+     <input type="radio" id="custom_user_upload_{$group['group_id']}0" name="custom_user_upload_{$group['group_id']}" value="0" $custom_upload_no $disabled /><label for="custom_user_upload_{$group['group_id']}0" class="clickable_option">{$lang_groupmgr_php['fixed']}</label>
+     $td_end
+     $tr_end
+EOT;
+     //echo "<br />";
+
+     // Create permissible number of file upload boxes box.
+     echo $tr_start.'<td style="white-space:nowrap">';
+     echo $lang_groupmgr_php['num_file_upload'].":";
+     echo $td_end.$td_start;
+     echo "<select name=\"num_file_upload_{$group['group_id']}\" class=\"listbox_lang\" $disabled>";
+     for ($i = 0; $i <= 10; $i++) {
+     echo "<option value=\"$i\"";
+     if($group['num_file_upload']==$i){echo "selected=\"selected\"";}
+     echo " >$i</option>";
+     }
+     echo "</select>";
+     echo $td_end.$td_start.$td_end.$tr_end;
+     //echo "<br />";
+
+     // Create permissible number of URI upload boxes box.
+     echo $tr_start.'<td style="white-space:nowrap">';
+     echo $lang_groupmgr_php['num_URI_upload'].":";
+     echo $td_end.$td_start;
+     echo "<select name=\"num_URI_upload_{$group['group_id']}\" class=\"listbox_lang\" $disabled>";
+     for ($i = 0; $i <= 10; $i++) {
+     echo "<option value=\"$i\"";
+     if($group['num_URI_upload']==$i){echo "selected=\"selected\"";}
+     echo " >$i</option>";
+     }
+     echo "</select>";
+     echo $td_end.$td_start.$td_end.$tr_end;
+     echo $table_end;
+     echo "</td>";
+
+
+        echo <<< EOT
+        </tr>
+
+EOT;
+    } // while
+    mysql_free_result($result);
+}
+
+function get_post_var($var)
+{
+    global $lang_errors;
+
+    if (!isset($_POST[$var])) cpg_die(CRITICAL_ERROR, $lang_errors['param_missing'] . " ($var)", __FILE__, __LINE__);
+    return $_POST[$var];
+}
+
+function process_post_data()
+{
+    global $CONFIG;
+
+    $field_list = array('group_name', 'group_quota', 'can_rate_pictures', 'can_send_ecards', 'can_post_comments', 'can_upload_pictures', 'pub_upl_need_approval', 'can_create_albums', 'priv_upl_need_approval', 'upload_form_config', 'custom_user_upload', 'num_file_upload', 'num_URI_upload');
+
+    $group_id_array = get_post_var('group_id');
+    foreach ($group_id_array as $key => $group_id) {
+        $set_statment = '';
+        foreach ($field_list as $field) {
+            //if (!isset($_POST[$field . '_' . $group_id])) cpg_die(CRITICAL_ERROR, $lang_errors['param_missing'] . " ({$field}_{$group_id})", __FILE__, __LINE__);
+            //set the 'upload_form_config' entry
+            // case File upload boxes=1 and URI upload boxes=0 => single uploads (0)
+            if ($_POST['num_file_upload_' . $group_id] == 1 && $_POST['num_URI_upload_' . $group_id] == 0) {
+                $_POST['upload_form_config_' . $group_id] = 0;
+            }
+            // case File upload boxes>1 and URI upload boxes=0 => multi file uploads (1)
+            if ($_POST['num_file_upload_' . $group_id] > 1 && $_POST['num_URI_upload_' . $group_id] == 0) {
+                $_POST['upload_form_config_' . $group_id] = 1;
+            }
+            // case File upload boxes=0 and URI upload boxes>0 => multi uri uploads (2)
+            if ($_POST['num_file_upload_' . $group_id] == 0 && $_POST['num_URI_upload_' . $group_id] > 0) {
+                $_POST['upload_form_config_' . $group_id] = 2;
+            }
+            // case File upload boxes>0 and URI upload boxes>0 => File and URI uploads (3)
+            if ($_POST['num_file_upload_' . $group_id] > 0 && $_POST['num_URI_upload_' . $group_id] > 0) {
+                $_POST['upload_form_config_' . $group_id] = 3;
+            }
+            // case File upload boxes=0 and URI upload boxes=0 => input error, default to single uploads (0)
+            if ($_POST['num_file_upload_' . $group_id] == 0 && $_POST['num_URI_upload_' . $group_id] == 0) {
+                $_POST['upload_form_config_' . $group_id] = 0;
+            }
+            if ($field == 'group_name') {
+                $set_statment .= $field . "='" . addslashes($_POST[$field . '_' . $group_id]) . "',";
+            } else {
+                $set_statment .= $field . "='" . (int)$_POST[$field . '_' . $group_id] . "',";
+            }
+        }
+        $set_statment = substr($set_statment, 0, -1);
+        cpg_db_query("UPDATE {$CONFIG['TABLE_USERGROUPS']} SET $set_statment WHERE group_id = '$group_id' LIMIT 1");
+    }
+}
+
+if (isset($_POST) && count($_POST)) {
+    if (isset($_POST['del_sel']) && isset($_POST['delete_group']) && is_array($_POST['delete_group'])) {
+        foreach($_POST['delete_group'] as $group_id) {
+            cpg_db_query("DELETE FROM {$CONFIG['TABLE_USERGROUPS']} WHERE group_id = '" . (int)$group_id . "' LIMIT 1");
+            cpg_db_query("UPDATE {$CONFIG['TABLE_USERS']} SET user_group = '2' WHERE user_group = '" . (int)$group_id . "'");
+        }
+    } elseif (isset($_POST['new_group'])) {
+        cpg_db_query("INSERT INTO {$CONFIG['TABLE_USERGROUPS']} (group_name) VALUES ('')");
+    } elseif (isset($_POST['apply_modifs'])) {
+        process_post_data();
+    }
+}
+
+pageheader($lang_groupmgr_php['title']);
+echo <<<EOT
+
+<script language="javascript" type="text/javascript">
+<!--//<![CDATA[
+function confirmDel()
+{
+    return confirm("{$lang_groupmgr_php['confirm_del']}");
+}
+
+function selectAll(d,box) {
+  var f = document.groupmanager;
+  for (i = 0; i < f.length; i++) {
+    //alert (f[i].name.indexOf(box));
+    if (f[i].type == "checkbox" && f[i].name.indexOf(box) >= 0) {
+      if (d.checked) {
+        f[i].checked = true;
+      } else {
+        f[i].checked = false;
+      }
+    }
+  }
+  if (d.name == "checkAll") {
+      document.getElementsByName('checkAll2')[0].checked = document.getElementsByName('checkAll')[0].checked;
+  } else {
+      document.getElementsByName('checkAll')[0].checked = document.getElementsByName('checkAll2')[0].checked;
+  }
+}
+
+function selectall()
+{
+        for( var i = 0; i < document.groupmanager.elements.length; i++ )
+        {
+                var e = document.groupmanager.elements[i];
+                if( ( e.name != 'allbox' ) && ( e.type == 'checkbox' ) )
+                {
+                        e.checked = document.groupmanager.allbox.checked;
+                        if( document.groupmanager.allbox.checked )
+                                select( e );
+                        else
+                                unselect( e );
+                }
+        }
+}
+//]]>-->
+</script>
+
+<form method="post" action="{$_SERVER['PHP_SELF']}" name="groupmanager">
+EOT;
+
+starttable('100%');
+$help_group = '&nbsp;'.cpg_display_help('f=index.htm&amp;as=group_cp&amp;ae=group_cp_end&amp;top=1', '700', '500');
+$help_permissions = '&nbsp;'.cpg_display_help('f=index.htm&amp;as=group_cp_permissions&amp;ae=group_cp_permissions_end&amp;top=1', '500', '200');
+$help_personal = '&nbsp;'.cpg_display_help('f=index.htm&amp;as=group_cp_personal&amp;ae=group_cp_personal_end&amp;top=1', '500', '200');
+$help_upload_method = '&nbsp;'.cpg_display_help('f=index.htm&amp;as=group_cp_upload_method&amp;ae=group_cp_upload_method_end&amp;top=1', '700', '400');
+echo <<<EOT
+
+        <tr style="white-space:nowrap">
+                <td class="tableh1"><input type="checkbox" name="checkAll" onclick="selectAll(this,'delete_group');" class="checkbox" title="$lang_check_uncheck_all" /></td>
+                <td class="tableh1"><b><span class="statlink">{$lang_groupmgr_php['group_name']}</span></b>$help_group</td>
+                <td class="tableh1"><b><span class="statlink">{$lang_groupmgr_php['permissions']}</span></b>$help_permissions</td>
+                <td class="tableh1"><b><span class="statlink">{$lang_groupmgr_php['public_albums']}</span></b></td>
+                <td class="tableh1"><b><span class="statlink">{$lang_groupmgr_php['personal_gallery']}</span></b>$help_personal</td>
+                <td class="tableh1"><b><span class="statlink">{$lang_groupmgr_php['upload_method']}</span></b>$help_upload_method</td>
+        </tr>
+
+EOT;
+
+display_group_list();
+
+if (UDB_INTEGRATION != 'coppermine') {
+    echo <<<EOT
+        <tr>
+            <td colspan="14" align="center" class="tablef">
+                        <input type="submit" name="apply_modifs" value="{$lang_groupmgr_php['apply']}" class="button" />&nbsp;&nbsp;&nbsp;
+                </td>
+        </tr>
+
+EOT;
+} else {
+    echo <<<EOT
+        <tr>
+            <td class="tablef"><input type="checkbox" name="checkAll2" onClick="selectAll(this,'delete_group');" class="checkbox" title="$lang_check_uncheck_all" /></td>
+            <td colspan="13" align="center" class="tablef">
+                        <input type="submit" name="apply_modifs" value="{$lang_groupmgr_php['apply']}" class="button" />&nbsp;&nbsp;&nbsp;
+                        <input type="submit" name="new_group" value="{$lang_groupmgr_php['create_new_group']}" class="button" />&nbsp;&nbsp;&nbsp;
+EOT;
+    if($custom_group_counter > 0) {
+        print '                        <input type="submit" name="del_sel" value="'.$lang_groupmgr_php['del_groups'].'" onClick="return confirmDel()" class="button" />';
+    }
+    echo <<<EOT
+                </td>
+
+        </tr>
+
+EOT;
+}
+endtable();
+echo "</form>";
+pagefooter();
+ob_end_flush();
+
+?>
diff -x .svn -aruN 1.4.24.src/image_processor.php 1.4.25.src/image_processor.php
--- 1.4.24.src/image_processor.php	2009-05-21 15:03:09.000000000 -0500
+++ 1.4.25.src/image_processor.php	2009-05-26 11:25:52.000000000 -0500
@@ -1,1018 +1,1018 @@
-<?php
-/*************************
-  Coppermine Photo Gallery
-  ************************
-  Copyright (c) 2003-2009 Coppermine Dev Team
-  v1.1 originally written by Gregory DEMAR
-
-  This program is free software; you can redistribute it and/or modify
-  it under the terms of the GNU General Public License version 3
-  as published by the Free Software Foundation.
-
-  ********************************************
-  Coppermine version: 1.4.24
-  $HeadURL: https://coppermine.svn.sourceforge.net/svnroot/coppermine/trunk/cpg1.4.x/image_processor.php $
-  $Revision: 5969 $
-  $Author: gaugau $
-  $Date: 2009-05-21 22:03:33 +0200 (Do, 21 Mai 2009) $
-**********************************************/
-
-// To use this module, one must place a transitory directory in the primary
-// CPG folder. Then one must change the form action of upload.php to this
-// script instead of db_imput.
-
-// Let all the libraries know that this program is part of Coppermine.
-define('IN_COPPERMINE', true);
-
-// Let the libraries know this is the image_processor_php file.
-define('IMAGE_PROCESSOR_PHP', true);
-
-//         Require include/init.inc.php, so we may have
-// access to Coppermine's configuration information.
-
-require('include/init.inc.php');
-
-// Declare global variables.
-global $CONFIG, $lang_image_processor_php;
-
-
-//-----------------------------FUNCTION BLOCK---------------------------------
-
-function write_to_disk($image_type, $final, $path)
-{
-  global $lang_image_processor_php;
-  if ($image_type == "1") {
-        imagegif($final, $path) or die($lang_image_processor_php['no_write']);
-  } elseif ($image_type == "2") {
-        imagejpeg($final, $path, 100) or die($lang_image_processor_php['no_write']);
-  } elseif ($image_type == "3") {
-        imagepng($final, $path) or die($lang_image_processor_php['no_write']);
-  }
-  imagedestroy($final);
-}
-
-function rotate_image($path_to_primary_image, $degrees) {
-
-// This function takes $path_to_primary_image and $degrees
-//as arguments.  It returns nothing.
-
-//Globalize appropriate variables.
-global $CONFIG, $lang_image_processor_php;
-
-//        The $method varaible should contain gd1, gd2,
-// or im, which indicates GD Library v1, GD Library v2,
-// and ImageMagick respectively. We will use a switch
-// statement to control the program flow based on the
-// value of the $method variable.
-
-$method = $CONFIG['thumb_method'];
-
-// Detect if user has the function imageistruecolor(). This function is
-// available in GD2 in PHP 4.3.2 and up.  It allows GD to distinguish between
-// palette images and true color images, which allows GD to make the appropriate
-// canvas.
-
-if (($method == 'gd2') and (!function_exists('imageistruecolor'))) {
-
-        //Set ignore imageistruecolor to false.
-        $ignore = 0;
-} else {
-        //Set $ignore imageistruecolor to true.
-        $ignore = 1;
-}
-
-switch ($method) {
-
-        case "im" :
-
-                $real_path_to_primary_image = realpath($path_to_primary_image);
-
-                $output = array();
-
-                // Set IM path.
-                $im_path = $CONFIG['impath'];
-
-                //Check the IM path for the final slash.
-                if (eregi('/$',$im_path) or empty($im_path)) {
-                        $trailing_slash = "";
-                    } else {
-                        $trailing_slash = "/";
-                    }
-
-                //Select degree measure.
-
-                if (($degrees == 90) or ($degrees == 180) or ($degrees == 270)) {
-
-                        //Form the command to rotate the image.
-                        $cmd = "{$CONFIG['impath']}".$trailing_slash."mogrify -quality \"100\" -rotate \"$degrees\" \"$real_path_to_primary_image\"";
-
-                }
-
-                $cmd = escapeshellarg($cmd);
-                exec ($cmd, $output, $retval);
-
-                if ($retval) {
-                        $ERROR = $lang_image_processor_php['IM_Error'] . $retval;
-                        if ($CONFIG['debug_mode']) {
-                                // Re-execute the command with the backtick operator in order to get all outputs
-                                // will not work is safe mode is enabled
-                                $output = `$cmd 2>&1`;
-                                $ERROR .= "<br /><br /><div align=\"left\">{$lang_image_processor_php['cmd_line']}<br /><span style=\"font-size:120%\">".nl2br(htmlspecialchars($cmd))."</span></div>";
-                                $ERROR .= "<br /><br /><div align=\"left\">{$lang_image_processor_php['mog_said']}<br /><span style=\"font-size:120%\">";
-                                $ERROR .= nl2br(htmlspecialchars($output));
-                                $ERROR .= "</span></div>";
-                        }
-                        die($ERROR);
-
-                }
-
-                break;
-
-        case "gd2" :
-
-                if ($ignore) {
-
-                        $image_handle = get_handle($path_to_primary_image);
-                        if (imageistruecolor($image_handle)) {
-                                imagedestroy($image_handle);
-                                true_color_rotate($path_to_primary_image, $degrees);
-                        } else {
-                                imagedestroy($image_handle);
-                                palette_rotate($path_to_primary_image, $degrees);
-                        }
-                } else {
-                        true_color_rotate($path_to_primary_image, $degrees);
-                }
-
-                break;
-
-        case "gd1" :
-
-                palette_rotate($path_to_primary_image, $degrees);
-
-                break;
-
-}
-
-}
-
-//*********************************************************************************************
-
-function true_color_rotate($path_to_primary_image, $degrees) {
-
-global $lang_image_processor_php;
-
-// Get image info.
-$source_image_size_and_type = getimagesize($path_to_primary_image) or die($lang_image_processor_php['file_corrupt']);
-$source_image_width = $source_image_size_and_type[0];
-$source_image_height = $source_image_size_and_type[1];
-$source_image_type = $source_image_size_and_type[2];
-
-//Set new canvas size.
-if ( $source_image_width > $source_image_height ) {
-    $new_maximum_dimension = $source_image_width;
-} else {
-    $new_maximum_dimension = $source_image_height;
-}
-
-
-$image_handle = get_handle($path_to_primary_image);
-
-        if ($degrees == "90") {
-                $destination_image_handle = ImageCreateTrueColor($new_maximum_dimension,$new_maximum_dimension);
-                imagecopy($destination_image_handle,$image_handle,0,0,0,0,$source_image_width,$source_image_height);
-                imagedestroy($image_handle);
-                $rotated_image_handle = imagerotate($destination_image_handle,$degrees,0);
-                $final_image_handle = ImageCreateTrueColor($source_image_height,$source_image_width);
-
-                // Determine orientation.
-
-                if ($source_image_height > $source_image_width) {
-
-                        $difference = $source_image_height-$source_image_width;
-                        imagecopy($final_image_handle,$rotated_image_handle,0,0,0,$difference,$source_image_height,$source_image_width);
-
-                } else {
-
-                        imagecopy($final_image_handle,$rotated_image_handle,0,0,0,0,$source_image_height,$source_image_width);
-
-                }
-
-                imagedestroy($rotated_image_handle);
-
-        } elseif ($degrees == "270") {
-
-                $new_dimension = $source_image_width + $source_image_height;
-                $destination_image_handle = ImageCreateTrueColor($new_dimension,$new_dimension);
-                imagecopy($destination_image_handle,$image_handle,$source_image_height,$source_image_width,0,0,$source_image_width,$source_image_height);
-                imagedestroy($image_handle);
-                $final_image_handle = ImageCreateTrueColor($source_image_height,$source_image_width);
-                $rotated_image_handle = imagerotate($destination_image_handle,$degrees,0);
-                imagecopy($final_image_handle,$rotated_image_handle,0,0,0,$source_image_height,$source_image_height,$source_image_width);
-                imagedestroy($rotated_image_handle);
-
-        } elseif ($degrees == "180") {
-
-                $destination_image_handle = ImageCreateTrueColor(2*$source_image_width,$source_image_height);
-                imagecopy($destination_image_handle,$image_handle,$source_image_width,0,0,0,$source_image_width,$source_image_height);
-                imagedestroy($image_handle);
-                $final_image_handle = ImageCreateTrueColor($source_image_width,$source_image_height);
-                $rotated_image_handle = imagerotate($destination_image_handle,$degrees,0);
-                imagecopy($final_image_handle,$rotated_image_handle,0,0,0,0,$source_image_width,$source_image_height);
-                imagedestroy($rotated_image_handle);
-
-        }
-
-
-// Now let's write the image to disk.
-write_to_disk($source_image_type, $final_image_handle, $path_to_primary_image);
-
-/*if ($source_image_type == "2") {
-
-        imagejpeg($final_image_handle, $path_to_primary_image, 100) or die($lang_image_processor_php['no_write']);
-
-} elseif ($source_image_type == "3") {
-
-        imagepng($final_image_handle, $path_to_primary_image) or die($lang_image_processor_php['no_write']);
-
-}
-
-// Destroy the final image handle.
-
-imagedestroy($final_image_handle); */
-
-}
-
-//******************************************************************************************
-
-function palette_rotate($path_to_primary_image, $degrees) {
-
-global $lang_image_processor_php;
-
-// Get image info.
-$source_image_size_and_type = getimagesize($path_to_primary_image) or die($lang_image_processor_php['file_corrupt']);
-$source_image_width = $source_image_size_and_type[0];
-$source_image_height = $source_image_size_and_type[1];
-$source_image_type = $source_image_size_and_type[2];
-
-//Set new canvas size.
-if ( $source_image_width > $source_image_height ) {
-    $new_maximum_dimension = $source_image_width;
-} else {
-    $new_maximum_dimension = $source_image_height;
-}
-
-$image_handle = get_handle($path_to_primary_image);
-
-if ($degrees == "90") {
-
-        $destination_image_handle = ImageCreate($new_maximum_dimension,$new_maximum_dimension);
-        imagecopy($destination_image_handle,$image_handle,0,0,0,0,$source_image_width,$source_image_height);
-        imagedestroy($image_handle);
-        $rotated_image_handle = imagerotate($destination_image_handle,$degrees,0);
-        $final_image_handle = ImageCreate($source_image_height,$source_image_width);
-
-        // Determine orientation.
-
-        if ($source_image_height > $source_image_width) {
-
-                $difference = $source_image_height-$source_image_width;
-                imagecopy($final_image_handle,$rotated_image_handle,0,0,0,$difference,$source_image_height,$source_image_width);
-
-        } else {
-
-                imagecopy($final_image_handle,$rotated_image_handle,0,0,0,0,$source_image_height,$source_image_width);
-
-        }
-
-        imagedestroy($rotated_image_handle);
-
-} elseif ($degrees == "270") {
-
-        $new_dimension = $source_image_width + $source_image_height;
-        $destination_image_handle = ImageCreate($new_dimension,$new_dimension);
-        imagecopy($destination_image_handle,$image_handle,$source_image_height,$source_image_width,0,0,$source_image_width,$source_image_height);
-        imagedestroy($image_handle);
-        $final_image_handle = ImageCreate($source_image_height,$source_image_width);
-        $rotated_image_handle = imagerotate($destination_image_handle,$degrees,0);
-        imagecopy($final_image_handle,$rotated_image_handle,0,0,0,$source_image_height,$source_image_height,$source_image_width);
-        imagedestroy($rotated_image_handle);
-
-
-} elseif ($degrees == "180") {
-
-        $destination_image_handle = ImageCreate(2*$source_image_width,$source_image_height);
-        imagecopy($destination_image_handle,$image_handle,$source_image_width,0,0,0,$source_image_width,$source_image_height);
-        imagedestroy($image_handle);
-        $final_image_handle = ImageCreate($source_image_width,$source_image_height);
-        $rotated_image_handle = imagerotate($destination_image_handle,$degrees,0);
-        imagecopy($final_image_handle,$rotated_image_handle,0,0,0,0,$source_image_width,$source_image_height);
-        imagedestroy($rotated_image_handle);
-
-}
-
-// Now let's write the image to disk.
-write_to_disk($source_image_type, $final_image_handle, $path_to_primary_image);
-/*if ($source_image_type == "2") {
-
-        imagejpeg($final_image_handle, $path_to_primary_image, 100) or die($lang_image_processor_php['no_write']);
-
-} elseif ($source_image_type == "3") {
-
-        imagepng($final_image_handle, $path_to_primary_image) or die($lang_image_processor_php['no_write']);
-
-}
-
-// Destroy the final image handle.
-
-imagedestroy($final_image_handle);*/
-
-
-}
-
-//**********************************************
-
-function get_handle($path_to_primary_image) {
-
-global $lang_image_processor_php, $CONFIG;
-
-// Let's use this information to create the handle with which to hold our lovely
-// image. The variable $image_handle is the handle that points to the image's
-// location in memory. Other handle creating functions are available (wireless
-// bitmap, for example), but they are very rarely needed. You can learn about
-// them at php.net in the function library. Look under image functions. If you
-// desire, you could add these types to the following if-then-else statements.
-
-$source_image_size_and_type = getimagesize ($path_to_primary_image) or die($lang_image_processor_php['file_corrupt']);
-$source_image_width = $source_image_size_and_type[0];
-$source_image_height = $source_image_size_and_type[1];
-$source_image_type = $source_image_size_and_type[2];
-
-if ($source_image_type == "1") {
-        // The image is a GIF file.  We must verify PHP/GD supports GIF
-        // creation.  If not, return an error.
-
-        if ($CONFIG['GIF_support'] == 1) {
-            $image_handle = imagecreatefromgif($path_to_primary_image);
-        } else {
-            cpg_die(CRITICAL_ERROR, $lang_image_processor_php['GD_GIF_Warning'], __FILE__, __LINE__);
-        }
-
-} elseif ($source_image_type == "2") {
-
-        // The image is a JPG file, so we must use the function
-        // imagecreatefromjpeg.
-
-        $image_handle = imagecreatefromjpeg($path_to_primary_image);
-
-} elseif ($source_image_type == "3") {
-
-        // The image is a PNG file, so we must use the function
-        // imagecreatefrompng.
-
-        $image_handle = imagecreatefrompng($path_to_primary_image);
-
-} else {
-
-        // The user has given us an image we do not wish to work with. We return an
-        // error.
-
-        cpg_die(CRITICAL_ERROR, $lang_image_processor_php['not_supported'], __FILE__, __LINE__);
-
-}
-
-return $image_handle;
-
-}
-
-//******************************************************
-
-function image_preview($path_to_primary_image, $maximum_width) {
-
-//Globalize appropriate variables.
-global $CONFIG, $lang_image_processor_php, $preview_image_directory;
-
-//Determine thumbnail method.
-$method = $CONFIG['thumb_method'];
-
-if (($method == 'gd2') and (!function_exists('imageistruecolor'))) {
-
-        //Set ignore imageistruecolor to false.
-        $ignore = 0;
-} else {
-        //Set $ignore image is true color to true.
-        $ignore = 1;
-}
-
-// Get image info.
-$source_image_size_and_type = getimagesize($path_to_primary_image) or die($lang_image_processor_php['file_corrupt']);
-$source_image_width = $source_image_size_and_type[0];
-$source_image_height = $source_image_size_and_type[1];
-$source_image_type = $source_image_size_and_type[2];
-
-//We need specify the path for the transitory file.
-
-        // Create a prefix for easier human recognition.
-        $prefix = "pre_";
-
-        //Set the correct file extension.
-
-        if ($source_image_type == '1') {
-                $suffix = '.gif';
-        } elseif ($source_image_type == '2') {
-                $suffix = '.jpg';
-        } elseif ($source_image_type == '3') {
-                $suffix = '.png';
-        }
-
-        // Generate the unique name.
-
-        do {
-                $seed = substr(md5(uniqid('')), 0, 8);
-                $path_to_preview_image = $preview_image_directory . $prefix . $seed . $suffix;
-            } while (file_exists($path_to_preview_image));
-
-//Now we can upload the file.
-
-
-// Calculate dimensions.
-
-if ($source_image_width > $maximum_width) {
-
-        $new_width = (INTEGER) $maximum_width;
-        $new_height = (INTEGER) ($source_image_height * ($maximum_width / $source_image_width));
-
-} else {
-
-        $new_width  = $source_image_width;
-        $new_height = $source_image_height;
-
-}
-
-
-//Begin processing if GD is used.
-
-if ($method == "gd2" or $method =="gd1") {
-
-// Get image handle
-$image_handle = get_handle($path_to_primary_image);
-
-// Create the destination image handle.
-
-if ($method == "gd2") {
-
-        if ($ignore) {
-                if (ImageIsTrueColor($image_handle)) {
-
-                        $destination_image_handle = ImageCreateTrueColor($new_width, $new_height);
-
-                } else {
-
-                        $destination_image_handle = ImageCreate($new_width, $new_height);
-
-                }
-        } else {
-
-                $destination_image_handle = ImageCreate($new_width, $new_height);
-
-        }
-
-
-} elseif ($method == "gd1") {
-
-        $destination_image_handle = ImageCreate($new_width, $new_height);
-
-}
-
-// Resize the image
-
-if ($method == "gd2") {
-
-        //Use the higher quality function imagecopyresampled.
-        imagecopyresampled($destination_image_handle, $image_handle, 0, 0, 0, 0, $new_width, $new_height, $source_image_width, $source_image_height);
-
-} elseif ($method == "gd1") {
-
-        //Use the lower quality imagecopyresized.
-        imagecopyresized($destination_image_handle, $image_handle, 0, 0, 0, 0, $new_width, $new_height, $source_image_width, $source_image_height);
-
-}
-
-//Destroy $image_handle
-imagedestroy($image_handle);
-
-// Write the image to disk.
-write_to_disk($source_image_type, $destination_image_handle, $path_to_preview_image);
-
-/*        if ($source_image_type == "2") {
-
-                imagejpeg($destination_image_handle, $path_to_preview_image) or die($lang_image_processor_php['no_write']);
-
-        } elseif ($source_image_type == "3") {
-
-                imagepng($destination_image_handle, $path_to_preview_image) or die($lang_image_processor_php['no_write']);
-
-        } elseif ($source_image_type == "1" && $CONFIG['GIF_support'] == 1) {
-                imagegif($destination_image_handle, $path_to_preview_image) or die($lang_image_processor_php['no_write']);
-        }
-
-// Destroy $destination_image_handle.
-imagedestroy($destination_image_handle); */
-
-} elseif ($method == "im") {
-
-        // Set IM path.
-        $im_path = $CONFIG['impath'];
-
-        //Check the IM path for the final slash.
-        if (eregi('/$',$im_path) or empty($im_path)) {
-                $trailing_slash = "";
-            } else {
-                $trailing_slash = "/";
-            }
-
-        //Determine real paths to files.
-        $real_path_to_primary_image = realpath($path_to_primary_image);
-        $real_path_to_preview_image = realpath($path_to_preview_image);
-
-        // Prevent the user from creating a process zombie by aborting while IM does its work.
-        ignore_user_abort(true);
-
-        // Issue the command for resizing to IM.  Have ImageMagick write the image to disk.
-
-        $output = array();
-
-        $cmd = "{$CONFIG['impath']}".$trailing_slash."convert -geometry {$new_width}x{$new_height} \"$real_path_to_primary_image\" \"$real_path_to_preview_image\"";
-
-        $cmd = escapeshellarg($cmd);
-        exec ($cmd, $output, $retval);
-
-        // Restore the user abort setting.
-        ignore_user_abort(false);
-
-        if ($retval) {
-                $ERROR = $lang_image_processor_php['IM_Error'] . $retval;
-                if ($CONFIG['debug_mode']) {
-                        // Re-execute the command with the backtick operator in order to get all outputs
-                        // will not work is safe mode is enabled
-                        $output = `$cmd 2>&1`;
-                        $ERROR .= "<br /><br /><div align=\"left\">{$lang_image_processor_php['cmd_line']}<br /><span style=\"font-size:120%\">".nl2br(htmlspecialchars($cmd))."</span></div>";
-                        $ERROR .= "<br /><br /><div align=\"left\">{$lang_image_processor_php['mog_said']}<br /><span style=\"font-size:120%\">";
-                        $ERROR .= nl2br(htmlspecialchars($output));
-                        $ERROR .= "</span></div>";
-                }
-                die($ERROR);
-        }
-}
-
-return $path_to_preview_image;
-
-}
-
-//**************************************************************************
-
-/* commented out this function as newer versions are in upload.php and
-logger.inc.php
-function spring_cleaning($directory_path) {
-
-global $lang_image_processor_php;
-
-//First we get the transitory directory handle.
-$directory_handle = opendir($directory_path) or die($lang_image_processor_php['no_open_trans_dir']);
-
-// Now let's read through the directory contents.
-while (!(($file = readdir($directory_handle)) === false)) {
-
-        $dir_path = "".$directory_path."/".$file."";
-
-        if (is_dir($dir_path)) {
-
-                // This is a directory, so we move on.
-                continue;
-
-        }
-
-        // We find out when the file was last accessed.
-        $access_time = fileatime($dir_path);
-
-        // We find out the current time.
-        $current_time = time();
-
-        // We calculate the the delete time. We will delete anything one hour old or older.
-        $delete_time = $current_time - 3600;
-
-        // Now we compare the two.
-        if ($access_time <= $delete_time) {
-
-                // The file is old. We delete it.
-                unlink($dir_path);
-        }
-
-}
-
-// Don't forget to close the directory.
-closedir($directory_handle);
-
-}
-*/
-
-//**********************************************************************************
-
-function make_form($next_form_action, $path_to_preview_image, $path_to_primary_image, $file_name) {
-
-global $event;
-global $album;
-global $title;
-global $caption;
-global $keywords;
-global $user1;
-global $user2;
-global $user3;
-global $user4;
-global $lang_image_processor_php;
-
-header("Expires: Mon, 26 Jul 1997 05:00:00 GMT"); // Date in the past
-header("Last-Modified: " . gmdate("D, d M Y H:i:s") . " GMT"); // always modified
-header("Cache-Control: no-store, no-cache, must-revalidate"); // HTTP/1.1
-header("Cache-Control: post-check=0, pre-check=0", false);
-header("Pragma: no-cache"); // HTTP/1.0
-
-pageheader($lang_image_processor_php['page_title']);
-
-print "<br /><br /><br />";
-
-print "<center>";
-
-print "<img src=\"$path_to_preview_image\" alt=\"{$lang_image_processor_php['preview_image_alt_text']}\" />";
-
-print "</center>";
-
-print "<br />";
-print "<br />";
-print "<form action=\"$next_form_action\" method=\"post\">";
-print "<input type=\"hidden\" name=\"album\" value=\"$album\" />";
-print "<input type=\"hidden\" name=\"title\" value=\"$title\" />";
-print "<input type=\"hidden\" name=\"caption\" value=\"$caption\" />";
-print "<input type=\"hidden\" name=\"keywords\" value=\"$keywords\" />";
-print "<input type=\"hidden\" name=\"user1\" value=\"$user1\" />";
-print "<input type=\"hidden\" name=\"user2\" value=\"$user2\" />";
-print "<input type=\"hidden\" name=\"user3\" value=\"$user3\" />";
-print "<input type=\"hidden\" name=\"user4\" value=\"$user4\" />";
-print "<input type=\"hidden\" name=\"event\" value=\"$event\" />";
-print "<input type=\"hidden\" name=\"file_name\" value=\"$file_name\" />";
-print "<input type=\"hidden\" name=\"transitory_image_path\" value=\"$path_to_primary_image\" />";
-print "<input type=\"hidden\" name=\"preview_image_path\" value=\"$path_to_preview_image\" />";
-
-print "<p>{$lang_image_processor_php['manipulation_query']}</p>";
-
-print "<br />";
-print "<input type=\"radio\" name=\"degrees\" value=\"no\" checked=\"checked\" />{$lang_image_processor_php['no_manipulation']}&nbsp;&nbsp;&nbsp;&nbsp;";
-print "<input type=\"radio\" name=\"degrees\" value=\"90\" />90&#176;&nbsp;&nbsp;&nbsp;&nbsp;";
-print "<input type=\"radio\" name=\"degrees\" value=\"180\" />180&#176;&nbsp;&nbsp;&nbsp;&nbsp;";
-print "<input type=\"radio\" name=\"degrees\" value=\"270\" />270&#176;&nbsp;&nbsp;&nbsp;&nbsp;";
-print "<br /><br />";
-print "<input type=\"submit\" value=\"Continue\" />";
-print "</form>";
-
-pagefooter();
-
-}
-
-//------------------------------MAIN CODE BLOCK---------------------------
-
-// Check to see if the uploader has permission to upload. close the script if he doesn't.
-
-if (!USER_CAN_UPLOAD_PICTURES) cpg_die(ERROR, $lang_errors['perm_denied'], __FILE__, __LINE__);
-
-// Let us define the directories where images will be temporarily stored.
-
-$transitory_file_directory = "./{$CONFIG['fullpath']}manipulation/transitory/";
-$preview_image_directory = "./{$CONFIG['fullpath']}manipulation/transitory/previews/";
-
-// We can also create a rudimentary language array to make integration into CPG easier at a later date.
-$lang_image_processor_php = array('finished_manipulation'=>'You have finished manipulating the image. Please click the Proceed button to finish uploading the image.',
-                                  'finished_manipulation_button'=>'Proceed',
-                                  'page_title'=>'Image Manipulation',
-                                  'preview_image_alt_text'=>'Thumbnail preview of image.',
-                                  'manipulation_query'=>'This is how the image you selected for upload currently appears. Do you wish to rotate the image? All rotations are counterclockwise. Please note, your image has not been uploaded yet.',
-                                  'no_manipulation'=>'No',
-                                  'IM_Error'=>'Error executing ImageMagick - Return value: ',
-                                  'cmd_line'=>'Command Line :',
-                                  'mog_said'=>'The mogrify program said:',
-                                  'file_corrupt'=>'The file is corrupt or not accessible.',
-                                  'no_write'=>'Could not write image to disk.',
-                                  'GD_GIF_Warning'=>'The image you submitted is in GIF format. Unfortunately, GIF images use the Unisys patented LZW compression scheme, so this program cannot work with them. Please convert your image to PNG or JPG. Then try uploading it again.',
-                                  'not_supported'=>'The uploaded image type is not supported. Please upload JPG or PNG images.',
-                                  'no_open_trans_dir'=>'Could not open transitory directory.',
-                                  'no_move'=>'Couldn\'t copy',
-                                  'bad_angle'=>'The angle submitted is unacceptable. Please try again.',
-                                  'tampering' =>'The preview image is missing or its path has been altered.',
-                                  'primary_tampering' => 'The primary image path is not valid, or the file does not exist.',
-                                  'err_invalid_fext' => 'Your file extension is not valid.'
-
-);
-
-// Let's inspect the directories for old files, and delete them if they are too old.
-// Old files might appear if a user upload was interrupted.
-
-spring_cleaning($transitory_file_directory);
-
-spring_cleaning($preview_image_directory);
-
-// The directories have been tidied.
-
-
-// We also need to set the preview thumbnail width.
-$maximum_width = $CONFIG['thumb_width'];
-
-// First, we test for the variable $degrees to determine script action.
-
-if (!isset($_POST['degrees'])) {
-
-        // Display initial form.
-
-        // First, we must capture all the data sent to us by upload.php.
-
-        $event    = $_POST['event'];
-        $album    = (int)$_POST['album'];
-        $title    = $_POST['title'];
-        $caption  = $_POST['caption'];
-        $keywords = $_POST['keywords'];
-        $user1    = $_POST['user1'];
-        $user2    = $_POST['user2'];
-        $user3    = $_POST['user3'];
-        $user4    = $_POST['user4'];
-
-        // First things first. Let's analyze the image file.
-
-        // We already have the file size in bytes and  the temporary name in the file
-        // upload global array.
-
-        // The file size is $_FILES['userpicture']['size'].
-
-        $file_size = $_FILES['userpicture']['size'];
-
-        // The temporary name is $_FILES['userpicture']['tmp_name'].
-
-        $temporary_name = $_FILES['userpicture']['tmp_name'];
-
-        // The file name is $_FILES['userpicture']['name'].
-
-        $file_name = $_FILES['userpicture']['name'];
-
-//+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
-
-        // We must check the file name for security reasons.
-        if (get_magic_quotes_gpc()) $file_name = stripslashes($file_name);
-        // Replace forbidden chars with underscores
-                $picture_name = replace_forbidden($file_name);
-        // Check that the file uploaded has a valid extension
-        $matches = array();
-        if (!preg_match("/(.+)\.(.*?)\Z/", $picture_name, $matches)){
-                $matches[1] = 'invalid_fname';
-                $matches[2] = 'xxx';
-        }
-        if ($matches[2]=='' || !stristr($CONFIG['allowed_file_extensions'], $matches[2])) {
-            cpg_die(ERROR, $lang_image_processor_php['err_invalid_fext'], __FILE__, __LINE__);
-        }
-
-//+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
-
-        // Now for some validation.
-        // We check the file size of the user's file to end the program if it has no data.
-        // We also check the temporary name to make sure it uploaded properly.
-
-        if (($file_size <= 0) or ($temporary_name == '')) {
-
-                // The user has submitted a corrupted file, a file without data, or the
-                // upload failed. We return an error.
-
-                cpg_die(ERROR, $lang_errors['invalid_image'], __FILE__, __LINE__);
-        }
-
-        // Now we can extract other information into the array $source_image_size_and_type.
-        // getimagesize returns an array with 4 elements. Index 0 contains the width of
-        // the image in pixels. Index 1 contains the height. Index 2 is a flag indicating
-        // the type of the image: 1 = GIF, 2 = JPG, 3 = PNG, 4 = SWF, 5 = PSD, 6 = BMP,
-        // 7 = TIFF(intel byte order), 8 = TIFF(motorola byte order), 9 = JPC, 10 = JP2,
-        // 11 = JPX, 12 = JB2, 13 = SWC, 14 = IFF, 15 = WBMP, 16 = XBM. Index 3 is a
-        // string for use in HTML img tags. The funtion returns FALSE if it totally fails,
-        // so we may use a die statement to generate the error message.
-
-        $source_image_size_and_type = getimagesize($temporary_name) or die($lang_image_processor_php['file_corrupt']);
-        $source_image_width = $source_image_size_and_type[0];
-        $source_image_height = $source_image_size_and_type[1];
-        $source_image_type = $source_image_size_and_type[2];
-
-        // getimagesize returns a width or height of zero if there is no image in the file
-        // or if it cannot tell what it is looking at.  Let's check the width and height.
-
-        if (($source_image_width <= 0) or ($source_image_height <= 0)) {
-
-                // The image supplied is either not an image or is not usable. We return
-                // an error.
-
-                cpg_die(ERROR, $lang_errors['invalid_image'], __FILE__, __LINE__);
-        }
-
-        // Now that we are pretty sure this image is legitimate, we need to move it into
-        // the transitory directory, so that we may continue to work with it.
-
-        //We need specify the path for the transitory file.
-
-                // Create a prefix for easier human recognition.
-                $prefix = "trans_";
-
-                //Set the correct file extension.
-
-                if ($source_image_type == '1') {
-                        $suffix = '.gif';
-                } elseif ($source_image_type == '2') {
-                        $suffix = '.jpg';
-                } elseif ($source_image_type == '3') {
-                        $suffix = '.png';
-                }
-
-                // Generate the unique name.
-
-                do {
-                        $seed = substr(md5(uniqid('')), 0, 8);
-                        $path_to_primary_image = $transitory_file_directory . $prefix . $seed . $suffix;
-                    } while (file_exists($path_to_primary_image));
-
-        //Now we can upload the file.
-
-        if (is_uploaded_file($temporary_name)) {
-                        move_uploaded_file($temporary_name, $path_to_primary_image) or die ($lang_image_processor_php['no_move']);
-                }
-
-        // The file has been uploaded to the transitory directory. At this point, we
-        // are ready to create the form that will allow the user to rotate the image.
-        // It requires a preview thumbnail to be loaded. We will create the thumbnail
-        // with the image preview function, which will return the file path.
-
-        $path_to_preview_image = image_preview($path_to_primary_image, $maximum_width);
-
-        // Our preview thumbnail is now stored on the server. Let's create the
-        // rotation form.
-
-        make_form($_SERVER[PHP_SELF], $path_to_preview_image, $path_to_primary_image, $file_name);
-
-} else {
-
-        //Display secondary form.
-
-        // First, we must capture all the data sent to us by the initial form.
-
-        $degrees  = $_POST['degrees'];
-        $event    = $_POST['event'];
-        $path_to_primary_image = $_POST['transitory_image_path'];
-        $path_to_preview_image = $_POST['preview_image_path'];
-        $transitory_file_name = $_POST['file_name'];
-        $album    = (int)$_POST['album'];
-        $title    = $_POST['title'];
-        $caption  = $_POST['caption'];
-        $keywords = $_POST['keywords'];
-        $user1    = $_POST['user1'];
-        $user2    = $_POST['user2'];
-        $user3    = $_POST['user3'];
-        $user4    = $_POST['user4'];
-
-//+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
-
-        // We must check the file name for security reasons.
-        if (get_magic_quotes_gpc()) $transitory_file_name = stripslashes($transitory_file_name);
-        // Replace forbidden chars with underscores
-                $picture_name = replace_forbidden($transitory_file_name);
-        // Check that the file uploaded has a valid extension
-        $matches = array();
-        if (!preg_match("/(.+)\.(.*?)\Z/", $picture_name, $matches)){
-                $matches[1] = 'invalid_fname';
-                $matches[2] = 'xxx';
-        }
-        if ($matches[2]=='' || !stristr($CONFIG['allowed_file_extensions'], $matches[2])) {
-            cpg_die(ERROR, $lang_image_processor_php['err_invalid_fext'], __FILE__, __LINE__);
-        }
-
-//+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
-
-        // Now let us delete the old preview image. First, we must verify the image path and preview path
-        // have not been altered too severely.
-
-        //Create the search strings.
-
-        $preview_search_string = "^".$preview_image_directory."";
-        $primary_search_string = "^".$transitory_file_directory."";
-
-        //Check the preview image path and delete if it passes the test.
-
-        if ((ereg($preview_search_string, $path_to_preview_image)) and (file_exists($path_to_preview_image))) {
-
-                // It is safe to delete the preview image.
-                unlink($path_to_preview_image);
-
-        } else {
-
-                // The supplied preview path is invalid. The image is either missing, or someone has tampered with the HTML request.
-                cpg_die(ERROR, $lang_image_processor_php['tampering'], __FILE__, __LINE__);
-
-        }
-
-        //Check the primary image path.
-
-        if ((!(ereg($primary_search_string, $path_to_primary_image))) or (!(file_exists($path_to_primary_image)))) {
-
-                // The primary image path is not valid, or the file does not exist.
-                cpg_die(ERROR, $lang_image_processor_php['primary_tampering'], __FILE__, __LINE__);
-
-        }
-
-
-        // In this instance, $degrees will tell us everything we wish to know about what
-        // to do next. Let's validate it.
-
-        // We will only accept four values: 90, 180, 270, and no. Let's check
-        // the user input:
-
-        if (!(($degrees == "90") or ($degrees == "180") or ($degrees == "270") or ($degrees == "no"))) {
-
-                //The user is submitting incorrect values. We generate an error.
-
-                cpg_die(CRITICAL_ERROR, $lang_image_processor_php['bad_angle'], __FILE__, __LINE__);
-
-        }
-
-        // Now that we have validated, let's analyze what we have.
-
-        if ($degrees == "no") {
-
-                // The user has finished modifiying the image.
-
-                // We create a hidden form that thanks the user, and passes
-                // the information to db_input.
-
-                header("Expires: Mon, 26 Jul 1997 05:00:00 GMT"); // Date in the past
-                header("Last-Modified: " . gmdate("D, d M Y H:i:s") . " GMT"); // always modified
-                header("Cache-Control: no-store, no-cache, must-revalidate"); // HTTP/1.1
-                header("Cache-Control: post-check=0, pre-check=0", false);
-                header("Pragma: no-cache"); // HTTP/1.0
-
-                pageheader($lang_image_processor_php['page_title']);
-
-                print "<br /><br /><br />";
-
-                print "<form action=\"db_input.php\" method=\"post\">";
-                print "<input type=\"hidden\" name=\"album\" value=\"$album\" />";
-                print "<input type=\"hidden\" name=\"title\" value=\"$title\" />";
-                print "<input type=\"hidden\" name=\"caption\" value=\"$caption\" />";
-                print "<input type=\"hidden\" name=\"keywords\" value=\"$keywords\" />";
-                print "<input type=\"hidden\" name=\"user1\" value=\"$user1\" />";
-                print "<input type=\"hidden\" name=\"user2\" value=\"$user2\" />";
-                print "<input type=\"hidden\" name=\"user3\" value=\"$user3\" />";
-                print "<input type=\"hidden\" name=\"user4\" value=\"$user4\" />";
-                print "<input type=\"hidden\" name=\"event\" value=\"$event\" />";
-                print "<input type=\"hidden\" name=\"transitory_image_path\" value=\"$path_to_primary_image\" />";
-                print "<input type=\"hidden\" name=\"file_name\" value=\"$transitory_file_name\" />";
-
-                print "<p>{$lang_image_processor_php['finished_manipulation']}</p>";
-
-                print "<br />";
-
-                print "<input type=\"submit\" value=\"{$lang_image_processor_php['finished_manipulation_button']}\" />";
-                print "</form>";
-
-                pagefooter();
-
-        } else {
-
-                // The user desires to rotate the image.
-
-                // We use the rotate image function.
-                rotate_image($path_to_primary_image, $degrees);
-
-                // Get width and height here.
-
-                $source_image_size_and_type = getimagesize($path_to_primary_image) or die($lang_image_processor_php['file_corrupt']);
-                $source_image_width = $source_image_size_and_type[0];
-                $source_image_height = $source_image_size_and_type[1];
-                $source_image_type = $source_image_size_and_type[2];
-
-                // Now we have to create the preview thumbnail.
-
-                // The file has been rotated in the transitory directory. At this point, we
-                // are ready to create the form that will allow the user to rotate the image.
-                // It requires a preview thumbnail to be loaded. We will use the image_preview
-                // function.
-
-                $path_to_preview_image = image_preview($path_to_primary_image, $maximum_width);
-
-                // Our preview thumbnail is now on the server. Let's create the
-                // rotation form.
-
-                make_form($_SERVER[PHP_SELF], $path_to_preview_image, $path_to_primary_image, $transitory_file_name);
-
-        }
-
-}
-
+<?php
+/*************************
+  Coppermine Photo Gallery
+  ************************
+  Copyright (c) 2003-2009 Coppermine Dev Team
+  v1.1 originally written by Gregory DEMAR
+
+  This program is free software; you can redistribute it and/or modify
+  it under the terms of the GNU General Public License version 3
+  as published by the Free Software Foundation.
+
+  ********************************************
+  Coppermine version: 1.4.25
+  $HeadURL: https://coppermine.svn.sourceforge.net/svnroot/coppermine/trunk/cpg1.4.x/image_processor.php $
+  $Revision: 5997 $
+  $Author: gaugau $
+  $Date: 2009-05-26 08:43:24 +0200 (Di, 26 Mai 2009) $
+**********************************************/
+
+// To use this module, one must place a transitory directory in the primary
+// CPG folder. Then one must change the form action of upload.php to this
+// script instead of db_imput.
+
+// Let all the libraries know that this program is part of Coppermine.
+define('IN_COPPERMINE', true);
+
+// Let the libraries know this is the image_processor_php file.
+define('IMAGE_PROCESSOR_PHP', true);
+
+//         Require include/init.inc.php, so we may have
+// access to Coppermine's configuration information.
+
+require('include/init.inc.php');
+
+// Declare global variables.
+global $CONFIG, $lang_image_processor_php;
+
+
+//-----------------------------FUNCTION BLOCK---------------------------------
+
+function write_to_disk($image_type, $final, $path)
+{
+  global $lang_image_processor_php;
+  if ($image_type == "1") {
+        imagegif($final, $path) or die($lang_image_processor_php['no_write']);
+  } elseif ($image_type == "2") {
+        imagejpeg($final, $path, 100) or die($lang_image_processor_php['no_write']);
+  } elseif ($image_type == "3") {
+        imagepng($final, $path) or die($lang_image_processor_php['no_write']);
+  }
+  imagedestroy($final);
+}
+
+function rotate_image($path_to_primary_image, $degrees) {
+
+// This function takes $path_to_primary_image and $degrees
+//as arguments.  It returns nothing.
+
+//Globalize appropriate variables.
+global $CONFIG, $lang_image_processor_php;
+
+//        The $method varaible should contain gd1, gd2,
+// or im, which indicates GD Library v1, GD Library v2,
+// and ImageMagick respectively. We will use a switch
+// statement to control the program flow based on the
+// value of the $method variable.
+
+$method = $CONFIG['thumb_method'];
+
+// Detect if user has the function imageistruecolor(). This function is
+// available in GD2 in PHP 4.3.2 and up.  It allows GD to distinguish between
+// palette images and true color images, which allows GD to make the appropriate
+// canvas.
+
+if (($method == 'gd2') and (!function_exists('imageistruecolor'))) {
+
+        //Set ignore imageistruecolor to false.
+        $ignore = 0;
+} else {
+        //Set $ignore imageistruecolor to true.
+        $ignore = 1;
+}
+
+switch ($method) {
+
+        case "im" :
+
+                $real_path_to_primary_image = realpath($path_to_primary_image);
+
+                $output = array();
+
+                // Set IM path.
+                $im_path = $CONFIG['impath'];
+
+                //Check the IM path for the final slash.
+                if (eregi('/$',$im_path) or empty($im_path)) {
+                        $trailing_slash = "";
+                    } else {
+                        $trailing_slash = "/";
+                    }
+
+                //Select degree measure.
+
+                if (($degrees == 90) or ($degrees == 180) or ($degrees == 270)) {
+
+                        //Form the command to rotate the image.
+                        $cmd = "{$CONFIG['impath']}".$trailing_slash."mogrify -quality \"100\" -rotate \"$degrees\" \"$real_path_to_primary_image\"";
+
+                }
+
+                $cmd = escapeshellarg($cmd);
+                exec ($cmd, $output, $retval);
+
+                if ($retval) {
+                        $ERROR = $lang_image_processor_php['IM_Error'] . $retval;
+                        if ($CONFIG['debug_mode']) {
+                                // Re-execute the command with the backtick operator in order to get all outputs
+                                // will not work is safe mode is enabled
+                                $output = `$cmd 2>&1`;
+                                $ERROR .= "<br /><br /><div align=\"left\">{$lang_image_processor_php['cmd_line']}<br /><span style=\"font-size:120%\">".nl2br(htmlspecialchars($cmd))."</span></div>";
+                                $ERROR .= "<br /><br /><div align=\"left\">{$lang_image_processor_php['mog_said']}<br /><span style=\"font-size:120%\">";
+                                $ERROR .= nl2br(htmlspecialchars($output));
+                                $ERROR .= "</span></div>";
+                        }
+                        die($ERROR);
+
+                }
+
+                break;
+
+        case "gd2" :
+
+                if ($ignore) {
+
+                        $image_handle = get_handle($path_to_primary_image);
+                        if (imageistruecolor($image_handle)) {
+                                imagedestroy($image_handle);
+                                true_color_rotate($path_to_primary_image, $degrees);
+                        } else {
+                                imagedestroy($image_handle);
+                                palette_rotate($path_to_primary_image, $degrees);
+                        }
+                } else {
+                        true_color_rotate($path_to_primary_image, $degrees);
+                }
+
+                break;
+
+        case "gd1" :
+
+                palette_rotate($path_to_primary_image, $degrees);
+
+                break;
+
+}
+
+}
+
+//*********************************************************************************************
+
+function true_color_rotate($path_to_primary_image, $degrees) {
+
+global $lang_image_processor_php;
+
+// Get image info.
+$source_image_size_and_type = getimagesize($path_to_primary_image) or die($lang_image_processor_php['file_corrupt']);
+$source_image_width = $source_image_size_and_type[0];
+$source_image_height = $source_image_size_and_type[1];
+$source_image_type = $source_image_size_and_type[2];
+
+//Set new canvas size.
+if ( $source_image_width > $source_image_height ) {
+    $new_maximum_dimension = $source_image_width;
+} else {
+    $new_maximum_dimension = $source_image_height;
+}
+
+
+$image_handle = get_handle($path_to_primary_image);
+
+        if ($degrees == "90") {
+                $destination_image_handle = ImageCreateTrueColor($new_maximum_dimension,$new_maximum_dimension);
+                imagecopy($destination_image_handle,$image_handle,0,0,0,0,$source_image_width,$source_image_height);
+                imagedestroy($image_handle);
+                $rotated_image_handle = imagerotate($destination_image_handle,$degrees,0);
+                $final_image_handle = ImageCreateTrueColor($source_image_height,$source_image_width);
+
+                // Determine orientation.
+
+                if ($source_image_height > $source_image_width) {
+
+                        $difference = $source_image_height-$source_image_width;
+                        imagecopy($final_image_handle,$rotated_image_handle,0,0,0,$difference,$source_image_height,$source_image_width);
+
+                } else {
+
+                        imagecopy($final_image_handle,$rotated_image_handle,0,0,0,0,$source_image_height,$source_image_width);
+
+                }
+
+                imagedestroy($rotated_image_handle);
+
+        } elseif ($degrees == "270") {
+
+                $new_dimension = $source_image_width + $source_image_height;
+                $destination_image_handle = ImageCreateTrueColor($new_dimension,$new_dimension);
+                imagecopy($destination_image_handle,$image_handle,$source_image_height,$source_image_width,0,0,$source_image_width,$source_image_height);
+                imagedestroy($image_handle);
+                $final_image_handle = ImageCreateTrueColor($source_image_height,$source_image_width);
+                $rotated_image_handle = imagerotate($destination_image_handle,$degrees,0);
+                imagecopy($final_image_handle,$rotated_image_handle,0,0,0,$source_image_height,$source_image_height,$source_image_width);
+                imagedestroy($rotated_image_handle);
+
+        } elseif ($degrees == "180") {
+
+                $destination_image_handle = ImageCreateTrueColor(2*$source_image_width,$source_image_height);
+                imagecopy($destination_image_handle,$image_handle,$source_image_width,0,0,0,$source_image_width,$source_image_height);
+                imagedestroy($image_handle);
+                $final_image_handle = ImageCreateTrueColor($source_image_width,$source_image_height);
+                $rotated_image_handle = imagerotate($destination_image_handle,$degrees,0);
+                imagecopy($final_image_handle,$rotated_image_handle,0,0,0,0,$source_image_width,$source_image_height);
+                imagedestroy($rotated_image_handle);
+
+        }
+
+
+// Now let's write the image to disk.
+write_to_disk($source_image_type, $final_image_handle, $path_to_primary_image);
+
+/*if ($source_image_type == "2") {
+
+        imagejpeg($final_image_handle, $path_to_primary_image, 100) or die($lang_image_processor_php['no_write']);
+
+} elseif ($source_image_type == "3") {
+
+        imagepng($final_image_handle, $path_to_primary_image) or die($lang_image_processor_php['no_write']);
+
+}
+
+// Destroy the final image handle.
+
+imagedestroy($final_image_handle); */
+
+}
+
+//******************************************************************************************
+
+function palette_rotate($path_to_primary_image, $degrees) {
+
+global $lang_image_processor_php;
+
+// Get image info.
+$source_image_size_and_type = getimagesize($path_to_primary_image) or die($lang_image_processor_php['file_corrupt']);
+$source_image_width = $source_image_size_and_type[0];
+$source_image_height = $source_image_size_and_type[1];
+$source_image_type = $source_image_size_and_type[2];
+
+//Set new canvas size.
+if ( $source_image_width > $source_image_height ) {
+    $new_maximum_dimension = $source_image_width;
+} else {
+    $new_maximum_dimension = $source_image_height;
+}
+
+$image_handle = get_handle($path_to_primary_image);
+
+if ($degrees == "90") {
+
+        $destination_image_handle = ImageCreate($new_maximum_dimension,$new_maximum_dimension);
+        imagecopy($destination_image_handle,$image_handle,0,0,0,0,$source_image_width,$source_image_height);
+        imagedestroy($image_handle);
+        $rotated_image_handle = imagerotate($destination_image_handle,$degrees,0);
+        $final_image_handle = ImageCreate($source_image_height,$source_image_width);
+
+        // Determine orientation.
+
+        if ($source_image_height > $source_image_width) {
+
+                $difference = $source_image_height-$source_image_width;
+                imagecopy($final_image_handle,$rotated_image_handle,0,0,0,$difference,$source_image_height,$source_image_width);
+
+        } else {
+
+                imagecopy($final_image_handle,$rotated_image_handle,0,0,0,0,$source_image_height,$source_image_width);
+
+        }
+
+        imagedestroy($rotated_image_handle);
+
+} elseif ($degrees == "270") {
+
+        $new_dimension = $source_image_width + $source_image_height;
+        $destination_image_handle = ImageCreate($new_dimension,$new_dimension);
+        imagecopy($destination_image_handle,$image_handle,$source_image_height,$source_image_width,0,0,$source_image_width,$source_image_height);
+        imagedestroy($image_handle);
+        $final_image_handle = ImageCreate($source_image_height,$source_image_width);
+        $rotated_image_handle = imagerotate($destination_image_handle,$degrees,0);
+        imagecopy($final_image_handle,$rotated_image_handle,0,0,0,$source_image_height,$source_image_height,$source_image_width);
+        imagedestroy($rotated_image_handle);
+
+
+} elseif ($degrees == "180") {
+
+        $destination_image_handle = ImageCreate(2*$source_image_width,$source_image_height);
+        imagecopy($destination_image_handle,$image_handle,$source_image_width,0,0,0,$source_image_width,$source_image_height);
+        imagedestroy($image_handle);
+        $final_image_handle = ImageCreate($source_image_width,$source_image_height);
+        $rotated_image_handle = imagerotate($destination_image_handle,$degrees,0);
+        imagecopy($final_image_handle,$rotated_image_handle,0,0,0,0,$source_image_width,$source_image_height);
+        imagedestroy($rotated_image_handle);
+
+}
+
+// Now let's write the image to disk.
+write_to_disk($source_image_type, $final_image_handle, $path_to_primary_image);
+/*if ($source_image_type == "2") {
+
+        imagejpeg($final_image_handle, $path_to_primary_image, 100) or die($lang_image_processor_php['no_write']);
+
+} elseif ($source_image_type == "3") {
+
+        imagepng($final_image_handle, $path_to_primary_image) or die($lang_image_processor_php['no_write']);
+
+}
+
+// Destroy the final image handle.
+
+imagedestroy($final_image_handle);*/
+
+
+}
+
+//**********************************************
+
+function get_handle($path_to_primary_image) {
+
+global $lang_image_processor_php, $CONFIG;
+
+// Let's use this information to create the handle with which to hold our lovely
+// image. The variable $image_handle is the handle that points to the image's
+// location in memory. Other handle creating functions are available (wireless
+// bitmap, for example), but they are very rarely needed. You can learn about
+// them at php.net in the function library. Look under image functions. If you
+// desire, you could add these types to the following if-then-else statements.
+
+$source_image_size_and_type = getimagesize ($path_to_primary_image) or die($lang_image_processor_php['file_corrupt']);
+$source_image_width = $source_image_size_and_type[0];
+$source_image_height = $source_image_size_and_type[1];
+$source_image_type = $source_image_size_and_type[2];
+
+if ($source_image_type == "1") {
+        // The image is a GIF file.  We must verify PHP/GD supports GIF
+        // creation.  If not, return an error.
+
+        if ($CONFIG['GIF_support'] == 1) {
+            $image_handle = imagecreatefromgif($path_to_primary_image);
+        } else {
+            cpg_die(CRITICAL_ERROR, $lang_image_processor_php['GD_GIF_Warning'], __FILE__, __LINE__);
+        }
+
+} elseif ($source_image_type == "2") {
+
+        // The image is a JPG file, so we must use the function
+        // imagecreatefromjpeg.
+
+        $image_handle = imagecreatefromjpeg($path_to_primary_image);
+
+} elseif ($source_image_type == "3") {
+
+        // The image is a PNG file, so we must use the function
+        // imagecreatefrompng.
+
+        $image_handle = imagecreatefrompng($path_to_primary_image);
+
+} else {
+
+        // The user has given us an image we do not wish to work with. We return an
+        // error.
+
+        cpg_die(CRITICAL_ERROR, $lang_image_processor_php['not_supported'], __FILE__, __LINE__);
+
+}
+
+return $image_handle;
+
+}
+
+//******************************************************
+
+function image_preview($path_to_primary_image, $maximum_width) {
+
+//Globalize appropriate variables.
+global $CONFIG, $lang_image_processor_php, $preview_image_directory;
+
+//Determine thumbnail method.
+$method = $CONFIG['thumb_method'];
+
+if (($method == 'gd2') and (!function_exists('imageistruecolor'))) {
+
+        //Set ignore imageistruecolor to false.
+        $ignore = 0;
+} else {
+        //Set $ignore image is true color to true.
+        $ignore = 1;
+}
+
+// Get image info.
+$source_image_size_and_type = getimagesize($path_to_primary_image) or die($lang_image_processor_php['file_corrupt']);
+$source_image_width = $source_image_size_and_type[0];
+$source_image_height = $source_image_size_and_type[1];
+$source_image_type = $source_image_size_and_type[2];
+
+//We need specify the path for the transitory file.
+
+        // Create a prefix for easier human recognition.
+        $prefix = "pre_";
+
+        //Set the correct file extension.
+
+        if ($source_image_type == '1') {
+                $suffix = '.gif';
+        } elseif ($source_image_type == '2') {
+                $suffix = '.jpg';
+        } elseif ($source_image_type == '3') {
+                $suffix = '.png';
+        }
+
+        // Generate the unique name.
+
+        do {
+                $seed = substr(md5(uniqid('')), 0, 8);
+                $path_to_preview_image = $preview_image_directory . $prefix . $seed . $suffix;
+            } while (file_exists($path_to_preview_image));
+
+//Now we can upload the file.
+
+
+// Calculate dimensions.
+
+if ($source_image_width > $maximum_width) {
+
+        $new_width = (INTEGER) $maximum_width;
+        $new_height = (INTEGER) ($source_image_height * ($maximum_width / $source_image_width));
+
+} else {
+
+        $new_width  = $source_image_width;
+        $new_height = $source_image_height;
+
+}
+
+
+//Begin processing if GD is used.
+
+if ($method == "gd2" or $method =="gd1") {
+
+// Get image handle
+$image_handle = get_handle($path_to_primary_image);
+
+// Create the destination image handle.
+
+if ($method == "gd2") {
+
+        if ($ignore) {
+                if (ImageIsTrueColor($image_handle)) {
+
+                        $destination_image_handle = ImageCreateTrueColor($new_width, $new_height);
+
+                } else {
+
+                        $destination_image_handle = ImageCreate($new_width, $new_height);
+
+                }
+        } else {
+
+                $destination_image_handle = ImageCreate($new_width, $new_height);
+
+        }
+
+
+} elseif ($method == "gd1") {
+
+        $destination_image_handle = ImageCreate($new_width, $new_height);
+
+}
+
+// Resize the image
+
+if ($method == "gd2") {
+
+        //Use the higher quality function imagecopyresampled.
+        imagecopyresampled($destination_image_handle, $image_handle, 0, 0, 0, 0, $new_width, $new_height, $source_image_width, $source_image_height);
+
+} elseif ($method == "gd1") {
+
+        //Use the lower quality imagecopyresized.
+        imagecopyresized($destination_image_handle, $image_handle, 0, 0, 0, 0, $new_width, $new_height, $source_image_width, $source_image_height);
+
+}
+
+//Destroy $image_handle
+imagedestroy($image_handle);
+
+// Write the image to disk.
+write_to_disk($source_image_type, $destination_image_handle, $path_to_preview_image);
+
+/*        if ($source_image_type == "2") {
+
+                imagejpeg($destination_image_handle, $path_to_preview_image) or die($lang_image_processor_php['no_write']);
+
+        } elseif ($source_image_type == "3") {
+
+                imagepng($destination_image_handle, $path_to_preview_image) or die($lang_image_processor_php['no_write']);
+
+        } elseif ($source_image_type == "1" && $CONFIG['GIF_support'] == 1) {
+                imagegif($destination_image_handle, $path_to_preview_image) or die($lang_image_processor_php['no_write']);
+        }
+
+// Destroy $destination_image_handle.
+imagedestroy($destination_image_handle); */
+
+} elseif ($method == "im") {
+
+        // Set IM path.
+        $im_path = $CONFIG['impath'];
+
+        //Check the IM path for the final slash.
+        if (eregi('/$',$im_path) or empty($im_path)) {
+                $trailing_slash = "";
+            } else {
+                $trailing_slash = "/";
+            }
+
+        //Determine real paths to files.
+        $real_path_to_primary_image = realpath($path_to_primary_image);
+        $real_path_to_preview_image = realpath($path_to_preview_image);
+
+        // Prevent the user from creating a process zombie by aborting while IM does its work.
+        ignore_user_abort(true);
+
+        // Issue the command for resizing to IM.  Have ImageMagick write the image to disk.
+
+        $output = array();
+
+        $cmd = "{$CONFIG['impath']}".$trailing_slash."convert -geometry {$new_width}x{$new_height} \"$real_path_to_primary_image\" \"$real_path_to_preview_image\"";
+
+        $cmd = escapeshellarg($cmd);
+        exec ($cmd, $output, $retval);
+
+        // Restore the user abort setting.
+        ignore_user_abort(false);
+
+        if ($retval) {
+                $ERROR = $lang_image_processor_php['IM_Error'] . $retval;
+                if ($CONFIG['debug_mode']) {
+                        // Re-execute the command with the backtick operator in order to get all outputs
+                        // will not work is safe mode is enabled
+                        $output = `$cmd 2>&1`;
+                        $ERROR .= "<br /><br /><div align=\"left\">{$lang_image_processor_php['cmd_line']}<br /><span style=\"font-size:120%\">".nl2br(htmlspecialchars($cmd))."</span></div>";
+                        $ERROR .= "<br /><br /><div align=\"left\">{$lang_image_processor_php['mog_said']}<br /><span style=\"font-size:120%\">";
+                        $ERROR .= nl2br(htmlspecialchars($output));
+                        $ERROR .= "</span></div>";
+                }
+                die($ERROR);
+        }
+}
+
+return $path_to_preview_image;
+
+}
+
+//**************************************************************************
+
+/* commented out this function as newer versions are in upload.php and
+logger.inc.php
+function spring_cleaning($directory_path) {
+
+global $lang_image_processor_php;
+
+//First we get the transitory directory handle.
+$directory_handle = opendir($directory_path) or die($lang_image_processor_php['no_open_trans_dir']);
+
+// Now let's read through the directory contents.
+while (!(($file = readdir($directory_handle)) === false)) {
+
+        $dir_path = "".$directory_path."/".$file."";
+
+        if (is_dir($dir_path)) {
+
+                // This is a directory, so we move on.
+                continue;
+
+        }
+
+        // We find out when the file was last accessed.
+        $access_time = fileatime($dir_path);
+
+        // We find out the current time.
+        $current_time = time();
+
+        // We calculate the the delete time. We will delete anything one hour old or older.
+        $delete_time = $current_time - 3600;
+
+        // Now we compare the two.
+        if ($access_time <= $delete_time) {
+
+                // The file is old. We delete it.
+                unlink($dir_path);
+        }
+
+}
+
+// Don't forget to close the directory.
+closedir($directory_handle);
+
+}
+*/
+
+//**********************************************************************************
+
+function make_form($next_form_action, $path_to_preview_image, $path_to_primary_image, $file_name) {
+
+global $event;
+global $album;
+global $title;
+global $caption;
+global $keywords;
+global $user1;
+global $user2;
+global $user3;
+global $user4;
+global $lang_image_processor_php;
+
+header("Expires: Mon, 26 Jul 1997 05:00:00 GMT"); // Date in the past
+header("Last-Modified: " . gmdate("D, d M Y H:i:s") . " GMT"); // always modified
+header("Cache-Control: no-store, no-cache, must-revalidate"); // HTTP/1.1
+header("Cache-Control: post-check=0, pre-check=0", false);
+header("Pragma: no-cache"); // HTTP/1.0
+
+pageheader($lang_image_processor_php['page_title']);
+
+print "<br /><br /><br />";
+
+print "<center>";
+
+print "<img src=\"$path_to_preview_image\" alt=\"{$lang_image_processor_php['preview_image_alt_text']}\" />";
+
+print "</center>";
+
+print "<br />";
+print "<br />";
+print "<form action=\"$next_form_action\" method=\"post\">";
+print "<input type=\"hidden\" name=\"album\" value=\"$album\" />";
+print "<input type=\"hidden\" name=\"title\" value=\"$title\" />";
+print "<input type=\"hidden\" name=\"caption\" value=\"$caption\" />";
+print "<input type=\"hidden\" name=\"keywords\" value=\"$keywords\" />";
+print "<input type=\"hidden\" name=\"user1\" value=\"$user1\" />";
+print "<input type=\"hidden\" name=\"user2\" value=\"$user2\" />";
+print "<input type=\"hidden\" name=\"user3\" value=\"$user3\" />";
+print "<input type=\"hidden\" name=\"user4\" value=\"$user4\" />";
+print "<input type=\"hidden\" name=\"event\" value=\"$event\" />";
+print "<input type=\"hidden\" name=\"file_name\" value=\"$file_name\" />";
+print "<input type=\"hidden\" name=\"transitory_image_path\" value=\"$path_to_primary_image\" />";
+print "<input type=\"hidden\" name=\"preview_image_path\" value=\"$path_to_preview_image\" />";
+
+print "<p>{$lang_image_processor_php['manipulation_query']}</p>";
+
+print "<br />";
+print "<input type=\"radio\" name=\"degrees\" value=\"no\" checked=\"checked\" />{$lang_image_processor_php['no_manipulation']}&nbsp;&nbsp;&nbsp;&nbsp;";
+print "<input type=\"radio\" name=\"degrees\" value=\"90\" />90&#176;&nbsp;&nbsp;&nbsp;&nbsp;";
+print "<input type=\"radio\" name=\"degrees\" value=\"180\" />180&#176;&nbsp;&nbsp;&nbsp;&nbsp;";
+print "<input type=\"radio\" name=\"degrees\" value=\"270\" />270&#176;&nbsp;&nbsp;&nbsp;&nbsp;";
+print "<br /><br />";
+print "<input type=\"submit\" value=\"Continue\" />";
+print "</form>";
+
+pagefooter();
+
+}
+
+//------------------------------MAIN CODE BLOCK---------------------------
+
+// Check to see if the uploader has permission to upload. close the script if he doesn't.
+
+if (!USER_CAN_UPLOAD_PICTURES) cpg_die(ERROR, $lang_errors['perm_denied'], __FILE__, __LINE__);
+
+// Let us define the directories where images will be temporarily stored.
+
+$transitory_file_directory = "./{$CONFIG['fullpath']}manipulation/transitory/";
+$preview_image_directory = "./{$CONFIG['fullpath']}manipulation/transitory/previews/";
+
+// We can also create a rudimentary language array to make integration into CPG easier at a later date.
+$lang_image_processor_php = array('finished_manipulation'=>'You have finished manipulating the image. Please click the Proceed button to finish uploading the image.',
+                                  'finished_manipulation_button'=>'Proceed',
+                                  'page_title'=>'Image Manipulation',
+                                  'preview_image_alt_text'=>'Thumbnail preview of image.',
+                                  'manipulation_query'=>'This is how the image you selected for upload currently appears. Do you wish to rotate the image? All rotations are counterclockwise. Please note, your image has not been uploaded yet.',
+                                  'no_manipulation'=>'No',
+                                  'IM_Error'=>'Error executing ImageMagick - Return value: ',
+                                  'cmd_line'=>'Command Line :',
+                                  'mog_said'=>'The mogrify program said:',
+                                  'file_corrupt'=>'The file is corrupt or not accessible.',
+                                  'no_write'=>'Could not write image to disk.',
+                                  'GD_GIF_Warning'=>'The image you submitted is in GIF format. Unfortunately, GIF images use the Unisys patented LZW compression scheme, so this program cannot work with them. Please convert your image to PNG or JPG. Then try uploading it again.',
+                                  'not_supported'=>'The uploaded image type is not supported. Please upload JPG or PNG images.',
+                                  'no_open_trans_dir'=>'Could not open transitory directory.',
+                                  'no_move'=>'Couldn\'t copy',
+                                  'bad_angle'=>'The angle submitted is unacceptable. Please try again.',
+                                  'tampering' =>'The preview image is missing or its path has been altered.',
+                                  'primary_tampering' => 'The primary image path is not valid, or the file does not exist.',
+                                  'err_invalid_fext' => 'Your file extension is not valid.'
+
+);
+
+// Let's inspect the directories for old files, and delete them if they are too old.
+// Old files might appear if a user upload was interrupted.
+
+spring_cleaning($transitory_file_directory);
+
+spring_cleaning($preview_image_directory);
+
+// The directories have been tidied.
+
+
+// We also need to set the preview thumbnail width.
+$maximum_width = $CONFIG['thumb_width'];
+
+// First, we test for the variable $degrees to determine script action.
+
+if (!isset($_POST['degrees'])) {
+
+        // Display initial form.
+
+        // First, we must capture all the data sent to us by upload.php.
+
+        $event    = $_POST['event'];
+        $album    = (int)$_POST['album'];
+        $title    = $_POST['title'];
+        $caption  = $_POST['caption'];
+        $keywords = $_POST['keywords'];
+        $user1    = $_POST['user1'];
+        $user2    = $_POST['user2'];
+        $user3    = $_POST['user3'];
+        $user4    = $_POST['user4'];
+
+        // First things first. Let's analyze the image file.
+
+        // We already have the file size in bytes and  the temporary name in the file
+        // upload global array.
+
+        // The file size is $_FILES['userpicture']['size'].
+
+        $file_size = $_FILES['userpicture']['size'];
+
+        // The temporary name is $_FILES['userpicture']['tmp_name'].
+
+        $temporary_name = $_FILES['userpicture']['tmp_name'];
+
+        // The file name is $_FILES['userpicture']['name'].
+
+        $file_name = $_FILES['userpicture']['name'];
+
+//+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
+
+        // We must check the file name for security reasons.
+        if (get_magic_quotes_gpc()) $file_name = stripslashes($file_name);
+        // Replace forbidden chars with underscores
+                $picture_name = replace_forbidden($file_name);
+        // Check that the file uploaded has a valid extension
+        $matches = array();
+        if (!preg_match("/(.+)\.(.*?)\Z/", $picture_name, $matches)){
+                $matches[1] = 'invalid_fname';
+                $matches[2] = 'xxx';
+        }
+        if ($matches[2]=='' || !stristr($CONFIG['allowed_file_extensions'], $matches[2])) {
+            cpg_die(ERROR, $lang_image_processor_php['err_invalid_fext'], __FILE__, __LINE__);
+        }
+
+//+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
+
+        // Now for some validation.
+        // We check the file size of the user's file to end the program if it has no data.
+        // We also check the temporary name to make sure it uploaded properly.
+
+        if (($file_size <= 0) or ($temporary_name == '')) {
+
+                // The user has submitted a corrupted file, a file without data, or the
+                // upload failed. We return an error.
+
+                cpg_die(ERROR, $lang_errors['invalid_image'], __FILE__, __LINE__);
+        }
+
+        // Now we can extract other information into the array $source_image_size_and_type.
+        // getimagesize returns an array with 4 elements. Index 0 contains the width of
+        // the image in pixels. Index 1 contains the height. Index 2 is a flag indicating
+        // the type of the image: 1 = GIF, 2 = JPG, 3 = PNG, 4 = SWF, 5 = PSD, 6 = BMP,
+        // 7 = TIFF(intel byte order), 8 = TIFF(motorola byte order), 9 = JPC, 10 = JP2,
+        // 11 = JPX, 12 = JB2, 13 = SWC, 14 = IFF, 15 = WBMP, 16 = XBM. Index 3 is a
+        // string for use in HTML img tags. The funtion returns FALSE if it totally fails,
+        // so we may use a die statement to generate the error message.
+
+        $source_image_size_and_type = getimagesize($temporary_name) or die($lang_image_processor_php['file_corrupt']);
+        $source_image_width = $source_image_size_and_type[0];
+        $source_image_height = $source_image_size_and_type[1];
+        $source_image_type = $source_image_size_and_type[2];
+
+        // getimagesize returns a width or height of zero if there is no image in the file
+        // or if it cannot tell what it is looking at.  Let's check the width and height.
+
+        if (($source_image_width <= 0) or ($source_image_height <= 0)) {
+
+                // The image supplied is either not an image or is not usable. We return
+                // an error.
+
+                cpg_die(ERROR, $lang_errors['invalid_image'], __FILE__, __LINE__);
+        }
+
+        // Now that we are pretty sure this image is legitimate, we need to move it into
+        // the transitory directory, so that we may continue to work with it.
+
+        //We need specify the path for the transitory file.
+
+                // Create a prefix for easier human recognition.
+                $prefix = "trans_";
+
+                //Set the correct file extension.
+
+                if ($source_image_type == '1') {
+                        $suffix = '.gif';
+                } elseif ($source_image_type == '2') {
+                        $suffix = '.jpg';
+                } elseif ($source_image_type == '3') {
+                        $suffix = '.png';
+                }
+
+                // Generate the unique name.
+
+                do {
+                        $seed = substr(md5(uniqid('')), 0, 8);
+                        $path_to_primary_image = $transitory_file_directory . $prefix . $seed . $suffix;
+                    } while (file_exists($path_to_primary_image));
+
+        //Now we can upload the file.
+
+        if (is_uploaded_file($temporary_name)) {
+                        move_uploaded_file($temporary_name, $path_to_primary_image) or die ($lang_image_processor_php['no_move']);
+                }
+
+        // The file has been uploaded to the transitory directory. At this point, we
+        // are ready to create the form that will allow the user to rotate the image.
+        // It requires a preview thumbnail to be loaded. We will create the thumbnail
+        // with the image preview function, which will return the file path.
+
+        $path_to_preview_image = image_preview($path_to_primary_image, $maximum_width);
+
+        // Our preview thumbnail is now stored on the server. Let's create the
+        // rotation form.
+
+        make_form($_SERVER[PHP_SELF], $path_to_preview_image, $path_to_primary_image, $file_name);
+
+} else {
+
+        //Display secondary form.
+
+        // First, we must capture all the data sent to us by the initial form.
+
+        $degrees  = $_POST['degrees'];
+        $event    = $_POST['event'];
+        $path_to_primary_image = $_POST['transitory_image_path'];
+        $path_to_preview_image = $_POST['preview_image_path'];
+        $transitory_file_name = $_POST['file_name'];
+        $album    = (int)$_POST['album'];
+        $title    = $_POST['title'];
+        $caption  = $_POST['caption'];
+        $keywords = $_POST['keywords'];
+        $user1    = $_POST['user1'];
+        $user2    = $_POST['user2'];
+        $user3    = $_POST['user3'];
+        $user4    = $_POST['user4'];
+
+//+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
+
+        // We must check the file name for security reasons.
+        if (get_magic_quotes_gpc()) $transitory_file_name = stripslashes($transitory_file_name);
+        // Replace forbidden chars with underscores
+                $picture_name = replace_forbidden($transitory_file_name);
+        // Check that the file uploaded has a valid extension
+        $matches = array();
+        if (!preg_match("/(.+)\.(.*?)\Z/", $picture_name, $matches)){
+                $matches[1] = 'invalid_fname';
+                $matches[2] = 'xxx';
+        }
+        if ($matches[2]=='' || !stristr($CONFIG['allowed_file_extensions'], $matches[2])) {
+            cpg_die(ERROR, $lang_image_processor_php['err_invalid_fext'], __FILE__, __LINE__);
+        }
+
+//+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
+
+        // Now let us delete the old preview image. First, we must verify the image path and preview path
+        // have not been altered too severely.
+
+        //Create the search strings.
+
+        $preview_search_string = "^".$preview_image_directory."";
+        $primary_search_string = "^".$transitory_file_directory."";
+
+        //Check the preview image path and delete if it passes the test.
+
+        if ((ereg($preview_search_string, $path_to_preview_image)) and (file_exists($path_to_preview_image))) {
+
+                // It is safe to delete the preview image.
+                unlink($path_to_preview_image);
+
+        } else {
+
+                // The supplied preview path is invalid. The image is either missing, or someone has tampered with the HTML request.
+                cpg_die(ERROR, $lang_image_processor_php['tampering'], __FILE__, __LINE__);
+
+        }
+
+        //Check the primary image path.
+
+        if ((!(ereg($primary_search_string, $path_to_primary_image))) or (!(file_exists($path_to_primary_image)))) {
+
+                // The primary image path is not valid, or the file does not exist.
+                cpg_die(ERROR, $lang_image_processor_php['primary_tampering'], __FILE__, __LINE__);
+
+        }
+
+
+        // In this instance, $degrees will tell us everything we wish to know about what
+        // to do next. Let's validate it.
+
+        // We will only accept four values: 90, 180, 270, and no. Let's check
+        // the user input:
+
+        if (!(($degrees == "90") or ($degrees == "180") or ($degrees == "270") or ($degrees == "no"))) {
+
+                //The user is submitting incorrect values. We generate an error.
+
+                cpg_die(CRITICAL_ERROR, $lang_image_processor_php['bad_angle'], __FILE__, __LINE__);
+
+        }
+
+        // Now that we have validated, let's analyze what we have.
+
+        if ($degrees == "no") {
+
+                // The user has finished modifiying the image.
+
+                // We create a hidden form that thanks the user, and passes
+                // the information to db_input.
+
+                header("Expires: Mon, 26 Jul 1997 05:00:00 GMT"); // Date in the past
+                header("Last-Modified: " . gmdate("D, d M Y H:i:s") . " GMT"); // always modified
+                header("Cache-Control: no-store, no-cache, must-revalidate"); // HTTP/1.1
+                header("Cache-Control: post-check=0, pre-check=0", false);
+                header("Pragma: no-cache"); // HTTP/1.0
+
+                pageheader($lang_image_processor_php['page_title']);
+
+                print "<br /><br /><br />";
+
+                print "<form action=\"db_input.php\" method=\"post\">";
+                print "<input type=\"hidden\" name=\"album\" value=\"$album\" />";
+                print "<input type=\"hidden\" name=\"title\" value=\"$title\" />";
+                print "<input type=\"hidden\" name=\"caption\" value=\"$caption\" />";
+                print "<input type=\"hidden\" name=\"keywords\" value=\"$keywords\" />";
+                print "<input type=\"hidden\" name=\"user1\" value=\"$user1\" />";
+                print "<input type=\"hidden\" name=\"user2\" value=\"$user2\" />";
+                print "<input type=\"hidden\" name=\"user3\" value=\"$user3\" />";
+                print "<input type=\"hidden\" name=\"user4\" value=\"$user4\" />";
+                print "<input type=\"hidden\" name=\"event\" value=\"$event\" />";
+                print "<input type=\"hidden\" name=\"transitory_image_path\" value=\"$path_to_primary_image\" />";
+                print "<input type=\"hidden\" name=\"file_name\" value=\"$transitory_file_name\" />";
+
+                print "<p>{$lang_image_processor_php['finished_manipulation']}</p>";
+
+                print "<br />";
+
+                print "<input type=\"submit\" value=\"{$lang_image_processor_php['finished_manipulation_button']}\" />";
+                print "</form>";
+
+                pagefooter();
+
+        } else {
+
+                // The user desires to rotate the image.
+
+                // We use the rotate image function.
+                rotate_image($path_to_primary_image, $degrees);
+
+                // Get width and height here.
+
+                $source_image_size_and_type = getimagesize($path_to_primary_image) or die($lang_image_processor_php['file_corrupt']);
+                $source_image_width = $source_image_size_and_type[0];
+                $source_image_height = $source_image_size_and_type[1];
+                $source_image_type = $source_image_size_and_type[2];
+
+                // Now we have to create the preview thumbnail.
+
+                // The file has been rotated in the transitory directory. At this point, we
+                // are ready to create the form that will allow the user to rotate the image.
+                // It requires a preview thumbnail to be loaded. We will use the image_preview
+                // function.
+
+                $path_to_preview_image = image_preview($path_to_primary_image, $maximum_width);
+
+                // Our preview thumbnail is now on the server. Let's create the
+                // rotation form.
+
+                make_form($_SERVER[PHP_SELF], $path_to_preview_image, $path_to_primary_image, $transitory_file_name);
+
+        }
+
+}
+
 ?>
\ No newline at end of file
diff -x .svn -aruN 1.4.24.src/include/archive.php 1.4.25.src/include/archive.php
--- 1.4.24.src/include/archive.php	2009-05-21 15:03:09.000000000 -0500
+++ 1.4.25.src/include/archive.php	2009-05-26 11:25:44.000000000 -0500
@@ -1,687 +1,687 @@
-<?php
-/*************************
-  Coppermine Photo Gallery
-  ************************
-  Copyright (c) 2003-2009 Coppermine Dev Team
-  v1.1 originally written by Gregory DEMAR
-
-  This program is free software; you can redistribute it and/or modify
-  it under the terms of the GNU General Public License version 3
-  as published by the Free Software Foundation.
-  
-  ********************************************
-  Coppermine version: 1.4.24
-  $HeadURL: https://coppermine.svn.sourceforge.net/svnroot/coppermine/trunk/cpg1.4.x/include/archive.php $
-  $Revision: 5969 $
-  $Author: gaugau $
-  $Date: 2009-05-21 22:03:33 +0200 (Do, 21 Mai 2009) $
-**********************************************/
-
-/*--------------------------------------------------
- | TAR/GZIP/BZIP2/ZIP ARCHIVE CLASSES 2.1
- | By Devin Doucette
- | Copyright (c) 2005 Devin Doucette
- | Email: darksnoopy@shaw.ca
- +--------------------------------------------------
- | Email bugs/suggestions to darksnoopy@shaw.ca
- +--------------------------------------------------
- | This script has been created and released under
- | the GNU GPL and is free to use and redistribute
- | only if this copyright statement is not removed
- +--------------------------------------------------*/
-
-class archive
-{
-  function archive($name)
-  {
-    $this->options = array (
-      'basedir' => ".",
-      'name' => $name,
-      'prepend' => "",
-      'inmemory' => 0,
-      'overwrite' => 0,
-      'recurse' => 1,
-      'storepaths' => 1,
-      'followlinks' => 0,
-      'level' => 3,
-      'method' => 1,
-      'sfx' => "",
-      'type' => "",
-      'comment' => ""
-    );
-    $this->files = array ();
-    $this->exclude = array ();
-    $this->storeonly = array ();
-    $this->error = array ();
-  }
-
-  function set_options($options)
-  {
-    foreach ($options as $key => $value)
-      $this->options[$key] = $value;
-    if (!empty ($this->options['basedir']))
-    {
-      $this->options['basedir'] = str_replace("\\", "/", $this->options['basedir']);
-      $this->options['basedir'] = preg_replace("/\/+/", "/", $this->options['basedir']);
-      $this->options['basedir'] = preg_replace("/\/$/", "", $this->options['basedir']);
-    }
-    if (!empty ($this->options['name']))
-    {
-      $this->options['name'] = str_replace("\\", "/", $this->options['name']);
-      $this->options['name'] = preg_replace("/\/+/", "/", $this->options['name']);
-    }
-    if (!empty ($this->options['prepend']))
-    {
-      $this->options['prepend'] = str_replace("\\", "/", $this->options['prepend']);
-      $this->options['prepend'] = preg_replace("/^(\.*\/+)+/", "", $this->options['prepend']);
-      $this->options['prepend'] = preg_replace("/\/+/", "/", $this->options['prepend']);
-      $this->options['prepend'] = preg_replace("/\/$/", "", $this->options['prepend']) . "/";
-    }
-  }
-
-  function create_archive()
-  {
-    $this->make_list();
-
-    if ($this->options['inmemory'] == 0)
-    {
-      $pwd = getcwd();
-      chdir($this->options['basedir']);
-      if ($this->options['overwrite'] == 0 && file_exists($this->options['name'] . ($this->options['type'] == "gzip" || $this->options['type'] == "bzip" ? ".tmp" : "")))
-      {
-        $this->error[] = "File {$this->options['name']} already exists.";
-        chdir($pwd);
-        return 0;
-      }
-      else if ($this->archive = @fopen($this->options['name'] . ($this->options['type'] == "gzip" || $this->options['type'] == "bzip" ? ".tmp" : ""), "wb+"))
-        chdir($pwd);
-      else
-      {
-        $this->error[] = "Could not open {$this->options['name']} for writing.";
-        chdir($pwd);
-        return 0;
-      }
-    }
-    else
-      $this->archive = "";
-
-    switch ($this->options['type'])
-    {
-    case "zip":
-      if (!$this->create_zip())
-      {
-        $this->error[] = "Could not create zip file.";
-        return 0;
-      }
-      break;
-    case "bzip":
-      if (!$this->create_tar())
-      {
-        $this->error[] = "Could not create tar file.";
-        return 0;
-      }
-      if (!$this->create_bzip())
-      {
-        $this->error[] = "Could not create bzip2 file.";
-        return 0;
-      }
-      break;
-    case "gzip":
-      if (!$this->create_tar())
-      {
-        $this->error[] = "Could not create tar file.";
-        return 0;
-      }
-      if (!$this->create_gzip())
-      {
-        $this->error[] = "Could not create gzip file.";
-        return 0;
-      }
-      break;
-    case "tar":
-      if (!$this->create_tar())
-      {
-        $this->error[] = "Could not create tar file.";
-        return 0;
-      }
-    }
-
-    if ($this->options['inmemory'] == 0)
-    {
-      fclose($this->archive);
-      if ($this->options['type'] == "gzip" || $this->options['type'] == "bzip")
-        unlink($this->options['basedir'] . "/" . $this->options['name'] . ".tmp");
-    }
-  }
-
-  function add_data($data)
-  {
-    if ($this->options['inmemory'] == 0)
-      fwrite($this->archive, $data);
-    else
-      $this->archive .= $data;
-  }
-
-  function make_list()
-  {
-    if (!empty ($this->exclude))
-      foreach ($this->files as $key => $value)
-        foreach ($this->exclude as $current)
-          if ($value['name'] == $current['name'])
-            unset ($this->files[$key]);
-    if (!empty ($this->storeonly))
-      foreach ($this->files as $key => $value)
-        foreach ($this->storeonly as $current)
-          if ($value['name'] == $current['name'])
-            $this->files[$key]['method'] = 0;
-    unset ($this->exclude, $this->storeonly);
-  }
-
-  function add_files($list)
-  {
-    $temp = $this->list_files($list);
-    foreach ($temp as $current)
-      $this->files[] = $current;
-  }
-
-  function exclude_files($list)
-  {
-    $temp = $this->list_files($list);
-    foreach ($temp as $current)
-      $this->exclude[] = $current;
-  }
-
-  function store_files($list)
-  {
-    $temp = $this->list_files($list);
-    foreach ($temp as $current)
-      $this->storeonly[] = $current;
-  }
-
-  function list_files($list)
-  {
-    if (!is_array ($list))
-    {
-      $temp = $list;
-      $list = array ($temp);
-      unset ($temp);
-    }
-
-    $files = array ();
-
-    $pwd = getcwd();
-    chdir($this->options['basedir']);
-
-    foreach ($list as $current)
-    {
-      $current = str_replace("\\", "/", $current);
-      $current = preg_replace("/\/+/", "/", $current);
-      $current = preg_replace("/\/$/", "", $current);
-      if (strstr($current, "*"))
-      {
-        $regex = preg_replace("/([\\\^\$\.\[\]\|\(\)\?\+\{\}\/])/", "\\\\\\1", $current);
-        $regex = str_replace("*", ".*", $regex);
-        $dir = strstr($current, "/") ? substr($current, 0, strrpos($current, "/")) : ".";
-        $temp = $this->parse_dir($dir);
-        foreach ($temp as $current2)
-          if (preg_match("/^{$regex}$/i", $current2['name']))
-            $files[] = $current2;
-        unset ($regex, $dir, $temp, $current);
-      }
-      else if (@is_dir($current))
-      {
-        $temp = $this->parse_dir($current);
-        foreach ($temp as $file)
-          $files[] = $file;
-        unset ($temp, $file);
-      }
-      else if (@file_exists($current))
-        $files[] = array ('name' => $current, 'name2' => $this->options['prepend'] .
-          preg_replace("/(\.+\/+)+/", "", ($this->options['storepaths'] == 0 && strstr($current, "/")) ?
-          substr($current, strrpos($current, "/") + 1) : $current),
-          'type' => @is_link($current) && $this->options['followlinks'] == 0 ? 2 : 0,
-          'ext' => substr($current, strrpos($current, ".")), 'stat' => stat($current));
-    }
-
-    chdir($pwd);
-
-    unset ($current, $pwd);
-
-    usort($files, array ("archive", "sort_files"));
-
-    return $files;
-  }
-
-  function parse_dir($dirname)
-  {
-    if ($this->options['storepaths'] == 1 && !preg_match("/^(\.+\/*)+$/", $dirname))
-      $files = array (array ('name' => $dirname, 'name2' => $this->options['prepend'] .
-        preg_replace("/(\.+\/+)+/", "", ($this->options['storepaths'] == 0 && strstr($dirname, "/")) ?
-        substr($dirname, strrpos($dirname, "/") + 1) : $dirname), 'type' => 5, 'stat' => stat($dirname)));
-    else
-      $files = array ();
-    $dir = @opendir($dirname);
-
-    while ($file = @readdir($dir))
-    {
-      $fullname = $dirname . "/" . $file;
-      if ($file == "." || $file == "..")
-        continue;
-      else if (@is_dir($fullname))
-      {
-        if (empty ($this->options['recurse']))
-          continue;
-        $temp = $this->parse_dir($fullname);
-        foreach ($temp as $file2)
-          $files[] = $file2;
-      }
-      else if (@file_exists($fullname))
-        $files[] = array ('name' => $fullname, 'name2' => $this->options['prepend'] .
-          preg_replace("/(\.+\/+)+/", "", ($this->options['storepaths'] == 0 && strstr($fullname, "/")) ?
-          substr($fullname, strrpos($fullname, "/") + 1) : $fullname),
-          'type' => @is_link($fullname) && $this->options['followlinks'] == 0 ? 2 : 0,
-          'ext' => substr($file, strrpos($file, ".")), 'stat' => stat($fullname));
-    }
-
-    @closedir($dir);
-
-    return $files;
-  }
-
-  function sort_files($a, $b)
-  {
-    if ($a['type'] != $b['type'])
-      if ($a['type'] == 5 || $b['type'] == 2)
-        return -1;
-      else if ($a['type'] == 2 || $b['type'] == 5)
-        return 1;
-    else if ($a['type'] == 5)
-      return strcmp(strtolower($a['name']), strtolower($b['name']));
-    else if ($a['ext'] != $b['ext'])
-      return strcmp($a['ext'], $b['ext']);
-    else if ($a['stat'][7] != $b['stat'][7])
-      return $a['stat'][7] > $b['stat'][7] ? -1 : 1;
-    else
-      return strcmp(strtolower($a['name']), strtolower($b['name']));
-    return 0;
-  }
-
-  function download_file()
-  {
-    if ($this->options['inmemory'] == 0)
-    {
-      $this->error[] = "Can only use download_file() if archive is in memory. Redirect to file otherwise, it is faster.";
-      return;
-    }
-    switch ($this->options['type'])
-    {
-    case "zip":
-      header("Content-Type: application/zip");
-      break;
-    case "bzip":
-      header("Content-Type: application/x-bzip2");
-      break;
-    case "gzip":
-      header("Content-Type: application/x-gzip");
-      break;
-    case "tar":
-      header("Content-Type: application/x-tar");
-    }
-    $header = "Content-Disposition: attachment; filename=\"";
-    $header .= strstr($this->options['name'], "/") ? substr($this->options['name'], strrpos($this->options['name'], "/") + 1) : $this->options['name'];
-    $header .= "\"";
-    header($header);
-    header("Content-Length: " . strlen($this->archive));
-    header("Content-Transfer-Encoding: binary");
-    header("Cache-Control: no-cache, must-revalidate, max-age=60");
-    header("Expires: Sat, 01 Jan 2000 12:00:00 GMT");
-    print($this->archive);
-  }
-}
-
-class tar_file extends archive
-{
-  function tar_file($name)
-  {
-    $this->archive($name);
-    $this->options['type'] = "tar";
-  }
-
-  function create_tar()
-  {
-    $pwd = getcwd();
-    chdir($this->options['basedir']);
-
-    foreach ($this->files as $current)
-    {
-      if ($current['name'] == $this->options['name'])
-        continue;
-      if (strlen($current['name2']) > 99)
-      {
-        $path = substr($current['name2'], 0, strpos($current['name2'], "/", strlen($current['name2']) - 100) + 1);
-        $current['name2'] = substr($current['name2'], strlen($path));
-        if (strlen($path) > 154 || strlen($current['name2']) > 99)
-        {
-          $this->error[] = "Could not add {$path}{$current['name2']} to archive because the filename is too long.";
-          continue;
-        }
-      }
-      $block = pack("a100a8a8a8a12a12a8a1a100a6a2a32a32a8a8a155a12", $current['name2'], sprintf("%07o",
-        $current['stat'][2]), sprintf("%07o", $current['stat'][4]), sprintf("%07o", $current['stat'][5]),
-        sprintf("%011o", $current['type'] == 2 ? 0 : $current['stat'][7]), sprintf("%011o", $current['stat'][9]),
-        "        ", $current['type'], $current['type'] == 2 ? @readlink($current['name']) : "", "ustar ", " ",
-        "Unknown", "Unknown", "", "", !empty ($path) ? $path : "", "");
-
-      $checksum = 0;
-      for ($i = 0; $i < 512; $i++)
-        $checksum += ord(substr($block, $i, 1));
-      $checksum = pack("a8", sprintf("%07o", $checksum));
-      $block = substr_replace($block, $checksum, 148, 8);
-
-      if ($current['type'] == 2 || $current['stat'][7] == 0)
-        $this->add_data($block);
-      else if ($fp = @fopen($current['name'], "rb"))
-      {
-        $this->add_data($block);
-        while ($temp = fread($fp, 1048576))
-          $this->add_data($temp);
-        if ($current['stat'][7] % 512 > 0)
-        {
-          $temp = "";
-          for ($i = 0; $i < 512 - $current['stat'][7] % 512; $i++)
-            $temp .= "\0";
-          $this->add_data($temp);
-        }
-        fclose($fp);
-      }
-      else
-        $this->error[] = "Could not open file {$current['name']} for reading. It was not added.";
-    }
-
-    $this->add_data(pack("a1024", ""));
-
-    chdir($pwd);
-
-    return 1;
-  }
-
-  function extract_files()
-  {
-    $pwd = getcwd();
-    chdir($this->options['basedir']);
-
-    if ($fp = $this->open_archive())
-    {
-      if ($this->options['inmemory'] == 1)
-        $this->files = array ();
-
-      while ($block = fread($fp, 512))
-      {
-        $temp = unpack("a100name/a8mode/a8uid/a8gid/a12size/a12mtime/a8checksum/a1type/a100symlink/a6magic/a2temp/a32temp/a32temp/a8temp/a8temp/a155prefix/a12temp", $block);
-        $file = array (
-          'name' => $temp['prefix'] . $temp['name'],
-          'stat' => array (
-            2 => $temp['mode'],
-            4 => octdec($temp['uid']),
-            5 => octdec($temp['gid']),
-            7 => octdec($temp['size']),
-            9 => octdec($temp['mtime']),
-          ),
-          'checksum' => octdec($temp['checksum']),
-          'type' => $temp['type'],
-          'magic' => $temp['magic'],
-        );
-        if ($file['checksum'] == 0x00000000)
-          break;
-        else if (substr($file['magic'], 0, 5) != "ustar")
-        {
-          $this->error[] = "This script does not support extracting this type of tar file.";
-          break;
-        }
-        $block = substr_replace($block, "        ", 148, 8);
-        $checksum = 0;
-        for ($i = 0; $i < 512; $i++)
-          $checksum += ord(substr($block, $i, 1));
-        if ($file['checksum'] != $checksum)
-          $this->error[] = "Could not extract from {$this->options['name']}, it is corrupt.";
-
-        if ($this->options['inmemory'] == 1)
-        {
-          $file['data'] = fread($fp, $file['stat'][7]);
-          fread($fp, (512 - $file['stat'][7] % 512) == 512 ? 0 : (512 - $file['stat'][7] % 512));
-          unset ($file['checksum'], $file['magic']);
-          $this->files[] = $file;
-        }
-        else if ($file['type'] == 5)
-        {
-          if (!is_dir($file['name']))
-            mkdir($file['name'], $file['stat'][2]);
-        }
-        else if ($this->options['overwrite'] == 0 && file_exists($file['name']))
-        {
-          $this->error[] = "{$file['name']} already exists.";
-          continue;
-        }
-        else if ($file['type'] == 2)
-        {
-          symlink($temp['symlink'], $file['name']);
-          chmod($file['name'], $file['stat'][2]);
-        }
-        else if ($new = @fopen($file['name'], "wb"))
-        {
-          fwrite($new, fread($fp, $file['stat'][7]));
-          fread($fp, (512 - $file['stat'][7] % 512) == 512 ? 0 : (512 - $file['stat'][7] % 512));
-          fclose($new);
-          chmod($file['name'], $file['stat'][2]);
-        }
-        else
-        {
-          $this->error[] = "Could not open {$file['name']} for writing.";
-          continue;
-        }
-        chown($file['name'], $file['stat'][4]);
-        chgrp($file['name'], $file['stat'][5]);
-        touch($file['name'], $file['stat'][9]);
-        unset ($file);
-      }
-    }
-    else
-      $this->error[] = "Could not open file {$this->options['name']}";
-
-    chdir($pwd);
-  }
-
-  function open_archive()
-  {
-    return @fopen($this->options['name'], "rb");
-  }
-}
-
-class gzip_file extends tar_file
-{
-  function gzip_file($name)
-  {
-    $this->tar_file($name);
-    $this->options['type'] = "gzip";
-  }
-
-  function create_gzip()
-  {
-    if ($this->options['inmemory'] == 0)
-    {
-      $pwd = getcwd();
-      chdir($this->options['basedir']);
-      if ($fp = gzopen($this->options['name'], "wb{$this->options['level']}"))
-      {
-        fseek($this->archive, 0);
-        while ($temp = fread($this->archive, 1048576))
-          gzwrite($fp, $temp);
-        gzclose($fp);
-        chdir($pwd);
-      }
-      else
-      {
-        $this->error[] = "Could not open {$this->options['name']} for writing.";
-        chdir($pwd);
-        return 0;
-      }
-    }
-    else
-      $this->archive = gzencode($this->archive, $this->options['level']);
-
-    return 1;
-  }
-
-  function open_archive()
-  {
-    return @gzopen($this->options['name'], "rb");
-  }
-}
-
-class bzip_file extends tar_file
-{
-  function bzip_file($name)
-  {
-    $this->tar_file($name);
-    $this->options['type'] = "bzip";
-  }
-
-  function create_bzip()
-  {
-    if ($this->options['inmemory'] == 0)
-    {
-      $pwd = getcwd();
-      chdir($this->options['basedir']);
-      if ($fp = bzopen($this->options['name'], "wb"))
-      {
-        fseek($this->archive, 0);
-        while ($temp = fread($this->archive, 1048576))
-          bzwrite($fp, $temp);
-        bzclose($fp);
-        chdir($pwd);
-      }
-      else
-      {
-        $this->error[] = "Could not open {$this->options['name']} for writing.";
-        chdir($pwd);
-        return 0;
-      }
-    }
-    else
-      $this->archive = bzcompress($this->archive, $this->options['level']);
-
-    return 1;
-  }
-
-  function open_archive()
-  {
-    return @bzopen($this->options['name'], "rb");
-  }
-}
-
-class zip_file extends archive
-{
-  function zip_file($name)
-  {
-    $this->archive($name);
-    $this->options['type'] = "zip";
-  }
-
-  function create_zip()
-  {
-    $files = 0;
-    $offset = 0;
-    $central = "";
-
-    if (!empty ($this->options['sfx']))
-      if ($fp = @fopen($this->options['sfx'], "rb"))
-      {
-        $temp = fread($fp, filesize($this->options['sfx']));
-        fclose($fp);
-        $this->add_data($temp);
-        $offset += strlen($temp);
-        unset ($temp);
-      }
-      else
-        $this->error[] = "Could not open sfx module from {$this->options['sfx']}.";
-
-    $pwd = getcwd();
-    chdir($this->options['basedir']);
-
-    foreach ($this->files as $current)
-    {
-      if ($current['name'] == $this->options['name'])
-        continue;
-
-      $timedate = explode(" ", date("Y n j G i s", $current['stat'][9]));
-      $timedate = ($timedate[0] - 1980 << 25) | ($timedate[1] << 21) | ($timedate[2] << 16) |
-        ($timedate[3] << 11) | ($timedate[4] << 5) | ($timedate[5]);
-
-      $block = pack("VvvvV", 0x04034b50, 0x000A, 0x0000, (isset($current['method']) || $this->options['method'] == 0) ? 0x0000 : 0x0008, $timedate);
-
-      if ($current['stat'][7] == 0 && $current['type'] == 5)
-      {
-        $block .= pack("VVVvv", 0x00000000, 0x00000000, 0x00000000, strlen($current['name2']) + 1, 0x0000);
-        $block .= $current['name2'] . "/";
-        $this->add_data($block);
-        $central .= pack("VvvvvVVVVvvvvvVV", 0x02014b50, 0x0014, $this->options['method'] == 0 ? 0x0000 : 0x000A, 0x0000,
-          (isset($current['method']) || $this->options['method'] == 0) ? 0x0000 : 0x0008, $timedate,
-          0x00000000, 0x00000000, 0x00000000, strlen($current['name2']) + 1, 0x0000, 0x0000, 0x0000, 0x0000, $current['type'] == 5 ? 0x00000010 : 0x00000000, $offset);
-        $central .= $current['name2'] . "/";
-        $files++;
-        $offset += (31 + strlen($current['name2']));
-      }
-      else if ($current['stat'][7] == 0)
-      {
-        $block .= pack("VVVvv", 0x00000000, 0x00000000, 0x00000000, strlen($current['name2']), 0x0000);
-        $block .= $current['name2'];
-        $this->add_data($block);
-        $central .= pack("VvvvvVVVVvvvvvVV", 0x02014b50, 0x0014, $this->options['method'] == 0 ? 0x0000 : 0x000A, 0x0000,
-          (isset($current['method']) || $this->options['method'] == 0) ? 0x0000 : 0x0008, $timedate,
-          0x00000000, 0x00000000, 0x00000000, strlen($current['name2']), 0x0000, 0x0000, 0x0000, 0x0000, $current['type'] == 5 ? 0x00000010 : 0x00000000, $offset);
-        $central .= $current['name2'];
-        $files++;
-        $offset += (30 + strlen($current['name2']));
-      }
-      else if ($fp = @fopen($current['name'], "rb"))
-      {
-        $temp = fread($fp, $current['stat'][7]);
-        fclose($fp);
-        $crc32 = crc32($temp);
-        if (!isset($current['method']) && $this->options['method'] == 1)
-        {
-          $temp = gzcompress($temp, $this->options['level']);
-          $size = strlen($temp) - 6;
-          $temp = substr($temp, 2, $size);
-        }
-        else
-          $size = strlen($temp);
-        $block .= pack("VVVvv", $crc32, $size, $current['stat'][7], strlen($current['name2']), 0x0000);
-        $block .= $current['name2'];
-        $this->add_data($block);
-        $this->add_data($temp);
-        unset ($temp);
-        $central .= pack("VvvvvVVVVvvvvvVV", 0x02014b50, 0x0014, $this->options['method'] == 0 ? 0x0000 : 0x000A, 0x0000,
-          (isset($current['method']) || $this->options['method'] == 0) ? 0x0000 : 0x0008, $timedate,
-          $crc32, $size, $current['stat'][7], strlen($current['name2']), 0x0000, 0x0000, 0x0000, 0x0000, 0x00000000, $offset);
-        $central .= $current['name2'];
-        $files++;
-        $offset += (30 + strlen($current['name2']) + $size);
-      }
-      else
-        $this->error[] = "Could not open file {$current['name']} for reading. It was not added.";
-    }
-
-    $this->add_data($central);
-
-    $this->add_data(pack("VvvvvVVv", 0x06054b50, 0x0000, 0x0000, $files, $files, strlen($central), $offset,
-      !empty ($this->options['comment']) ? strlen($this->options['comment']) : 0x0000));
-
-    if (!empty ($this->options['comment']))
-      $this->add_data($this->options['comment']);
-
-    chdir($pwd);
-
-    return 1;
-  }
+<?php
+/*************************
+  Coppermine Photo Gallery
+  ************************
+  Copyright (c) 2003-2009 Coppermine Dev Team
+  v1.1 originally written by Gregory DEMAR
+
+  This program is free software; you can redistribute it and/or modify
+  it under the terms of the GNU General Public License version 3
+  as published by the Free Software Foundation.
+  
+  ********************************************
+  Coppermine version: 1.4.25
+  $HeadURL: https://coppermine.svn.sourceforge.net/svnroot/coppermine/trunk/cpg1.4.x/include/archive.php $
+  $Revision: 5997 $
+  $Author: gaugau $
+  $Date: 2009-05-26 08:43:24 +0200 (Di, 26 Mai 2009) $
+**********************************************/
+
+/*--------------------------------------------------
+ | TAR/GZIP/BZIP2/ZIP ARCHIVE CLASSES 2.1
+ | By Devin Doucette
+ | Copyright (c) 2005 Devin Doucette
+ | Email: darksnoopy@shaw.ca
+ +--------------------------------------------------
+ | Email bugs/suggestions to darksnoopy@shaw.ca
+ +--------------------------------------------------
+ | This script has been created and released under
+ | the GNU GPL and is free to use and redistribute
+ | only if this copyright statement is not removed
+ +--------------------------------------------------*/
+
+class archive
+{
+  function archive($name)
+  {
+    $this->options = array (
+      'basedir' => ".",
+      'name' => $name,
+      'prepend' => "",
+      'inmemory' => 0,
+      'overwrite' => 0,
+      'recurse' => 1,
+      'storepaths' => 1,
+      'followlinks' => 0,
+      'level' => 3,
+      'method' => 1,
+      'sfx' => "",
+      'type' => "",
+      'comment' => ""
+    );
+    $this->files = array ();
+    $this->exclude = array ();
+    $this->storeonly = array ();
+    $this->error = array ();
+  }
+
+  function set_options($options)
+  {
+    foreach ($options as $key => $value)
+      $this->options[$key] = $value;
+    if (!empty ($this->options['basedir']))
+    {
+      $this->options['basedir'] = str_replace("\\", "/", $this->options['basedir']);
+      $this->options['basedir'] = preg_replace("/\/+/", "/", $this->options['basedir']);
+      $this->options['basedir'] = preg_replace("/\/$/", "", $this->options['basedir']);
+    }
+    if (!empty ($this->options['name']))
+    {
+      $this->options['name'] = str_replace("\\", "/", $this->options['name']);
+      $this->options['name'] = preg_replace("/\/+/", "/", $this->options['name']);
+    }
+    if (!empty ($this->options['prepend']))
+    {
+      $this->options['prepend'] = str_replace("\\", "/", $this->options['prepend']);
+      $this->options['prepend'] = preg_replace("/^(\.*\/+)+/", "", $this->options['prepend']);
+      $this->options['prepend'] = preg_replace("/\/+/", "/", $this->options['prepend']);
+      $this->options['prepend'] = preg_replace("/\/$/", "", $this->options['prepend']) . "/";
+    }
+  }
+
+  function create_archive()
+  {
+    $this->make_list();
+
+    if ($this->options['inmemory'] == 0)
+    {
+      $pwd = getcwd();
+      chdir($this->options['basedir']);
+      if ($this->options['overwrite'] == 0 && file_exists($this->options['name'] . ($this->options['type'] == "gzip" || $this->options['type'] == "bzip" ? ".tmp" : "")))
+      {
+        $this->error[] = "File {$this->options['name']} already exists.";
+        chdir($pwd);
+        return 0;
+      }
+      else if ($this->archive = @fopen($this->options['name'] . ($this->options['type'] == "gzip" || $this->options['type'] == "bzip" ? ".tmp" : ""), "wb+"))
+        chdir($pwd);
+      else
+      {
+        $this->error[] = "Could not open {$this->options['name']} for writing.";
+        chdir($pwd);
+        return 0;
+      }
+    }
+    else
+      $this->archive = "";
+
+    switch ($this->options['type'])
+    {
+    case "zip":
+      if (!$this->create_zip())
+      {
+        $this->error[] = "Could not create zip file.";
+        return 0;
+      }
+      break;
+    case "bzip":
+      if (!$this->create_tar())
+      {
+        $this->error[] = "Could not create tar file.";
+        return 0;
+      }
+      if (!$this->create_bzip())
+      {
+        $this->error[] = "Could not create bzip2 file.";
+        return 0;
+      }
+      break;
+    case "gzip":
+      if (!$this->create_tar())
+      {
+        $this->error[] = "Could not create tar file.";
+        return 0;
+      }
+      if (!$this->create_gzip())
+      {
+        $this->error[] = "Could not create gzip file.";
+        return 0;
+      }
+      break;
+    case "tar":
+      if (!$this->create_tar())
+      {
+        $this->error[] = "Could not create tar file.";
+        return 0;
+      }
+    }
+
+    if ($this->options['inmemory'] == 0)
+    {
+      fclose($this->archive);
+      if ($this->options['type'] == "gzip" || $this->options['type'] == "bzip")
+        unlink($this->options['basedir'] . "/" . $this->options['name'] . ".tmp");
+    }
+  }
+
+  function add_data($data)
+  {
+    if ($this->options['inmemory'] == 0)
+      fwrite($this->archive, $data);
+    else
+      $this->archive .= $data;
+  }
+
+  function make_list()
+  {
+    if (!empty ($this->exclude))
+      foreach ($this->files as $key => $value)
+        foreach ($this->exclude as $current)
+          if ($value['name'] == $current['name'])
+            unset ($this->files[$key]);
+    if (!empty ($this->storeonly))
+      foreach ($this->files as $key => $value)
+        foreach ($this->storeonly as $current)
+          if ($value['name'] == $current['name'])
+            $this->files[$key]['method'] = 0;
+    unset ($this->exclude, $this->storeonly);
+  }
+
+  function add_files($list)
+  {
+    $temp = $this->list_files($list);
+    foreach ($temp as $current)
+      $this->files[] = $current;
+  }
+
+  function exclude_files($list)
+  {
+    $temp = $this->list_files($list);
+    foreach ($temp as $current)
+      $this->exclude[] = $current;
+  }
+
+  function store_files($list)
+  {
+    $temp = $this->list_files($list);
+    foreach ($temp as $current)
+      $this->storeonly[] = $current;
+  }
+
+  function list_files($list)
+  {
+    if (!is_array ($list))
+    {
+      $temp = $list;
+      $list = array ($temp);
+      unset ($temp);
+    }
+
+    $files = array ();
+
+    $pwd = getcwd();
+    chdir($this->options['basedir']);
+
+    foreach ($list as $current)
+    {
+      $current = str_replace("\\", "/", $current);
+      $current = preg_replace("/\/+/", "/", $current);
+      $current = preg_replace("/\/$/", "", $current);
+      if (strstr($current, "*"))
+      {
+        $regex = preg_replace("/([\\\^\$\.\[\]\|\(\)\?\+\{\}\/])/", "\\\\\\1", $current);
+        $regex = str_replace("*", ".*", $regex);
+        $dir = strstr($current, "/") ? substr($current, 0, strrpos($current, "/")) : ".";
+        $temp = $this->parse_dir($dir);
+        foreach ($temp as $current2)
+          if (preg_match("/^{$regex}$/i", $current2['name']))
+            $files[] = $current2;
+        unset ($regex, $dir, $temp, $current);
+      }
+      else if (@is_dir($current))
+      {
+        $temp = $this->parse_dir($current);
+        foreach ($temp as $file)
+          $files[] = $file;
+        unset ($temp, $file);
+      }
+      else if (@file_exists($current))
+        $files[] = array ('name' => $current, 'name2' => $this->options['prepend'] .
+          preg_replace("/(\.+\/+)+/", "", ($this->options['storepaths'] == 0 && strstr($current, "/")) ?
+          substr($current, strrpos($current, "/") + 1) : $current),
+          'type' => @is_link($current) && $this->options['followlinks'] == 0 ? 2 : 0,
+          'ext' => substr($current, strrpos($current, ".")), 'stat' => stat($current));
+    }
+
+    chdir($pwd);
+
+    unset ($current, $pwd);
+
+    usort($files, array ("archive", "sort_files"));
+
+    return $files;
+  }
+
+  function parse_dir($dirname)
+  {
+    if ($this->options['storepaths'] == 1 && !preg_match("/^(\.+\/*)+$/", $dirname))
+      $files = array (array ('name' => $dirname, 'name2' => $this->options['prepend'] .
+        preg_replace("/(\.+\/+)+/", "", ($this->options['storepaths'] == 0 && strstr($dirname, "/")) ?
+        substr($dirname, strrpos($dirname, "/") + 1) : $dirname), 'type' => 5, 'stat' => stat($dirname)));
+    else
+      $files = array ();
+    $dir = @opendir($dirname);
+
+    while ($file = @readdir($dir))
+    {
+      $fullname = $dirname . "/" . $file;
+      if ($file == "." || $file == "..")
+        continue;
+      else if (@is_dir($fullname))
+      {
+        if (empty ($this->options['recurse']))
+          continue;
+        $temp = $this->parse_dir($fullname);
+        foreach ($temp as $file2)
+          $files[] = $file2;
+      }
+      else if (@file_exists($fullname))
+        $files[] = array ('name' => $fullname, 'name2' => $this->options['prepend'] .
+          preg_replace("/(\.+\/+)+/", "", ($this->options['storepaths'] == 0 && strstr($fullname, "/")) ?
+          substr($fullname, strrpos($fullname, "/") + 1) : $fullname),
+          'type' => @is_link($fullname) && $this->options['followlinks'] == 0 ? 2 : 0,
+          'ext' => substr($file, strrpos($file, ".")), 'stat' => stat($fullname));
+    }
+
+    @closedir($dir);
+
+    return $files;
+  }
+
+  function sort_files($a, $b)
+  {
+    if ($a['type'] != $b['type'])
+      if ($a['type'] == 5 || $b['type'] == 2)
+        return -1;
+      else if ($a['type'] == 2 || $b['type'] == 5)
+        return 1;
+    else if ($a['type'] == 5)
+      return strcmp(strtolower($a['name']), strtolower($b['name']));
+    else if ($a['ext'] != $b['ext'])
+      return strcmp($a['ext'], $b['ext']);
+    else if ($a['stat'][7] != $b['stat'][7])
+      return $a['stat'][7] > $b['stat'][7] ? -1 : 1;
+    else
+      return strcmp(strtolower($a['name']), strtolower($b['name']));
+    return 0;
+  }
+
+  function download_file()
+  {
+    if ($this->options['inmemory'] == 0)
+    {
+      $this->error[] = "Can only use download_file() if archive is in memory. Redirect to file otherwise, it is faster.";
+      return;
+    }
+    switch ($this->options['type'])
+    {
+    case "zip":
+      header("Content-Type: application/zip");
+      break;
+    case "bzip":
+      header("Content-Type: application/x-bzip2");
+      break;
+    case "gzip":
+      header("Content-Type: application/x-gzip");
+      break;
+    case "tar":
+      header("Content-Type: application/x-tar");
+    }
+    $header = "Content-Disposition: attachment; filename=\"";
+    $header .= strstr($this->options['name'], "/") ? substr($this->options['name'], strrpos($this->options['name'], "/") + 1) : $this->options['name'];
+    $header .= "\"";
+    header($header);
+    header("Content-Length: " . strlen($this->archive));
+    header("Content-Transfer-Encoding: binary");
+    header("Cache-Control: no-cache, must-revalidate, max-age=60");
+    header("Expires: Sat, 01 Jan 2000 12:00:00 GMT");
+    print($this->archive);
+  }
+}
+
+class tar_file extends archive
+{
+  function tar_file($name)
+  {
+    $this->archive($name);
+    $this->options['type'] = "tar";
+  }
+
+  function create_tar()
+  {
+    $pwd = getcwd();
+    chdir($this->options['basedir']);
+
+    foreach ($this->files as $current)
+    {
+      if ($current['name'] == $this->options['name'])
+        continue;
+      if (strlen($current['name2']) > 99)
+      {
+        $path = substr($current['name2'], 0, strpos($current['name2'], "/", strlen($current['name2']) - 100) + 1);
+        $current['name2'] = substr($current['name2'], strlen($path));
+        if (strlen($path) > 154 || strlen($current['name2']) > 99)
+        {
+          $this->error[] = "Could not add {$path}{$current['name2']} to archive because the filename is too long.";
+          continue;
+        }
+      }
+      $block = pack("a100a8a8a8a12a12a8a1a100a6a2a32a32a8a8a155a12", $current['name2'], sprintf("%07o",
+        $current['stat'][2]), sprintf("%07o", $current['stat'][4]), sprintf("%07o", $current['stat'][5]),
+        sprintf("%011o", $current['type'] == 2 ? 0 : $current['stat'][7]), sprintf("%011o", $current['stat'][9]),
+        "        ", $current['type'], $current['type'] == 2 ? @readlink($current['name']) : "", "ustar ", " ",
+        "Unknown", "Unknown", "", "", !empty ($path) ? $path : "", "");
+
+      $checksum = 0;
+      for ($i = 0; $i < 512; $i++)
+        $checksum += ord(substr($block, $i, 1));
+      $checksum = pack("a8", sprintf("%07o", $checksum));
+      $block = substr_replace($block, $checksum, 148, 8);
+
+      if ($current['type'] == 2 || $current['stat'][7] == 0)
+        $this->add_data($block);
+      else if ($fp = @fopen($current['name'], "rb"))
+      {
+        $this->add_data($block);
+        while ($temp = fread($fp, 1048576))
+          $this->add_data($temp);
+        if ($current['stat'][7] % 512 > 0)
+        {
+          $temp = "";
+          for ($i = 0; $i < 512 - $current['stat'][7] % 512; $i++)
+            $temp .= "\0";
+          $this->add_data($temp);
+        }
+        fclose($fp);
+      }
+      else
+        $this->error[] = "Could not open file {$current['name']} for reading. It was not added.";
+    }
+
+    $this->add_data(pack("a1024", ""));
+
+    chdir($pwd);
+
+    return 1;
+  }
+
+  function extract_files()
+  {
+    $pwd = getcwd();
+    chdir($this->options['basedir']);
+
+    if ($fp = $this->open_archive())
+    {
+      if ($this->options['inmemory'] == 1)
+        $this->files = array ();
+
+      while ($block = fread($fp, 512))
+      {
+        $temp = unpack("a100name/a8mode/a8uid/a8gid/a12size/a12mtime/a8checksum/a1type/a100symlink/a6magic/a2temp/a32temp/a32temp/a8temp/a8temp/a155prefix/a12temp", $block);
+        $file = array (
+          'name' => $temp['prefix'] . $temp['name'],
+          'stat' => array (
+            2 => $temp['mode'],
+            4 => octdec($temp['uid']),
+            5 => octdec($temp['gid']),
+            7 => octdec($temp['size']),
+            9 => octdec($temp['mtime']),
+          ),
+          'checksum' => octdec($temp['checksum']),
+          'type' => $temp['type'],
+          'magic' => $temp['magic'],
+        );
+        if ($file['checksum'] == 0x00000000)
+          break;
+        else if (substr($file['magic'], 0, 5) != "ustar")
+        {
+          $this->error[] = "This script does not support extracting this type of tar file.";
+          break;
+        }
+        $block = substr_replace($block, "        ", 148, 8);
+        $checksum = 0;
+        for ($i = 0; $i < 512; $i++)
+          $checksum += ord(substr($block, $i, 1));
+        if ($file['checksum'] != $checksum)
+          $this->error[] = "Could not extract from {$this->options['name']}, it is corrupt.";
+
+        if ($this->options['inmemory'] == 1)
+        {
+          $file['data'] = fread($fp, $file['stat'][7]);
+          fread($fp, (512 - $file['stat'][7] % 512) == 512 ? 0 : (512 - $file['stat'][7] % 512));
+          unset ($file['checksum'], $file['magic']);
+          $this->files[] = $file;
+        }
+        else if ($file['type'] == 5)
+        {
+          if (!is_dir($file['name']))
+            mkdir($file['name'], $file['stat'][2]);
+        }
+        else if ($this->options['overwrite'] == 0 && file_exists($file['name']))
+        {
+          $this->error[] = "{$file['name']} already exists.";
+          continue;
+        }
+        else if ($file['type'] == 2)
+        {
+          symlink($temp['symlink'], $file['name']);
+          chmod($file['name'], $file['stat'][2]);
+        }
+        else if ($new = @fopen($file['name'], "wb"))
+        {
+          fwrite($new, fread($fp, $file['stat'][7]));
+          fread($fp, (512 - $file['stat'][7] % 512) == 512 ? 0 : (512 - $file['stat'][7] % 512));
+          fclose($new);
+          chmod($file['name'], $file['stat'][2]);
+        }
+        else
+        {
+          $this->error[] = "Could not open {$file['name']} for writing.";
+          continue;
+        }
+        chown($file['name'], $file['stat'][4]);
+        chgrp($file['name'], $file['stat'][5]);
+        touch($file['name'], $file['stat'][9]);
+        unset ($file);
+      }
+    }
+    else
+      $this->error[] = "Could not open file {$this->options['name']}";
+
+    chdir($pwd);
+  }
+
+  function open_archive()
+  {
+    return @fopen($this->options['name'], "rb");
+  }
+}
+
+class gzip_file extends tar_file
+{
+  function gzip_file($name)
+  {
+    $this->tar_file($name);
+    $this->options['type'] = "gzip";
+  }
+
+  function create_gzip()
+  {
+    if ($this->options['inmemory'] == 0)
+    {
+      $pwd = getcwd();
+      chdir($this->options['basedir']);
+      if ($fp = gzopen($this->options['name'], "wb{$this->options['level']}"))
+      {
+        fseek($this->archive, 0);
+        while ($temp = fread($this->archive, 1048576))
+          gzwrite($fp, $temp);
+        gzclose($fp);
+        chdir($pwd);
+      }
+      else
+      {
+        $this->error[] = "Could not open {$this->options['name']} for writing.";
+        chdir($pwd);
+        return 0;
+      }
+    }
+    else
+      $this->archive = gzencode($this->archive, $this->options['level']);
+
+    return 1;
+  }
+
+  function open_archive()
+  {
+    return @gzopen($this->options['name'], "rb");
+  }
+}
+
+class bzip_file extends tar_file
+{
+  function bzip_file($name)
+  {
+    $this->tar_file($name);
+    $this->options['type'] = "bzip";
+  }
+
+  function create_bzip()
+  {
+    if ($this->options['inmemory'] == 0)
+    {
+      $pwd = getcwd();
+      chdir($this->options['basedir']);
+      if ($fp = bzopen($this->options['name'], "wb"))
+      {
+        fseek($this->archive, 0);
+        while ($temp = fread($this->archive, 1048576))
+          bzwrite($fp, $temp);
+        bzclose($fp);
+        chdir($pwd);
+      }
+      else
+      {
+        $this->error[] = "Could not open {$this->options['name']} for writing.";
+        chdir($pwd);
+        return 0;
+      }
+    }
+    else
+      $this->archive = bzcompress($this->archive, $this->options['level']);
+
+    return 1;
+  }
+
+  function open_archive()
+  {
+    return @bzopen($this->options['name'], "rb");
+  }
+}
+
+class zip_file extends archive
+{
+  function zip_file($name)
+  {
+    $this->archive($name);
+    $this->options['type'] = "zip";
+  }
+
+  function create_zip()
+  {
+    $files = 0;
+    $offset = 0;
+    $central = "";
+
+    if (!empty ($this->options['sfx']))
+      if ($fp = @fopen($this->options['sfx'], "rb"))
+      {
+        $temp = fread($fp, filesize($this->options['sfx']));
+        fclose($fp);
+        $this->add_data($temp);
+        $offset += strlen($temp);
+        unset ($temp);
+      }
+      else
+        $this->error[] = "Could not open sfx module from {$this->options['sfx']}.";
+
+    $pwd = getcwd();
+    chdir($this->options['basedir']);
+
+    foreach ($this->files as $current)
+    {
+      if ($current['name'] == $this->options['name'])
+        continue;
+
+      $timedate = explode(" ", date("Y n j G i s", $current['stat'][9]));
+      $timedate = ($timedate[0] - 1980 << 25) | ($timedate[1] << 21) | ($timedate[2] << 16) |
+        ($timedate[3] << 11) | ($timedate[4] << 5) | ($timedate[5]);
+
+      $block = pack("VvvvV", 0x04034b50, 0x000A, 0x0000, (isset($current['method']) || $this->options['method'] == 0) ? 0x0000 : 0x0008, $timedate);
+
+      if ($current['stat'][7] == 0 && $current['type'] == 5)
+      {
+        $block .= pack("VVVvv", 0x00000000, 0x00000000, 0x00000000, strlen($current['name2']) + 1, 0x0000);
+        $block .= $current['name2'] . "/";
+        $this->add_data($block);
+        $central .= pack("VvvvvVVVVvvvvvVV", 0x02014b50, 0x0014, $this->options['method'] == 0 ? 0x0000 : 0x000A, 0x0000,
+          (isset($current['method']) || $this->options['method'] == 0) ? 0x0000 : 0x0008, $timedate,
+          0x00000000, 0x00000000, 0x00000000, strlen($current['name2']) + 1, 0x0000, 0x0000, 0x0000, 0x0000, $current['type'] == 5 ? 0x00000010 : 0x00000000, $offset);
+        $central .= $current['name2'] . "/";
+        $files++;
+        $offset += (31 + strlen($current['name2']));
+      }
+      else if ($current['stat'][7] == 0)
+      {
+        $block .= pack("VVVvv", 0x00000000, 0x00000000, 0x00000000, strlen($current['name2']), 0x0000);
+        $block .= $current['name2'];
+        $this->add_data($block);
+        $central .= pack("VvvvvVVVVvvvvvVV", 0x02014b50, 0x0014, $this->options['method'] == 0 ? 0x0000 : 0x000A, 0x0000,
+          (isset($current['method']) || $this->options['method'] == 0) ? 0x0000 : 0x0008, $timedate,
+          0x00000000, 0x00000000, 0x00000000, strlen($current['name2']), 0x0000, 0x0000, 0x0000, 0x0000, $current['type'] == 5 ? 0x00000010 : 0x00000000, $offset);
+        $central .= $current['name2'];
+        $files++;
+        $offset += (30 + strlen($current['name2']));
+      }
+      else if ($fp = @fopen($current['name'], "rb"))
+      {
+        $temp = fread($fp, $current['stat'][7]);
+        fclose($fp);
+        $crc32 = crc32($temp);
+        if (!isset($current['method']) && $this->options['method'] == 1)
+        {
+          $temp = gzcompress($temp, $this->options['level']);
+          $size = strlen($temp) - 6;
+          $temp = substr($temp, 2, $size);
+        }
+        else
+          $size = strlen($temp);
+        $block .= pack("VVVvv", $crc32, $size, $current['stat'][7], strlen($current['name2']), 0x0000);
+        $block .= $current['name2'];
+        $this->add_data($block);
+        $this->add_data($temp);
+        unset ($temp);
+        $central .= pack("VvvvvVVVVvvvvvVV", 0x02014b50, 0x0014, $this->options['method'] == 0 ? 0x0000 : 0x000A, 0x0000,
+          (isset($current['method']) || $this->options['method'] == 0) ? 0x0000 : 0x0008, $timedate,
+          $crc32, $size, $current['stat'][7], strlen($current['name2']), 0x0000, 0x0000, 0x0000, 0x0000, 0x00000000, $offset);
+        $central .= $current['name2'];
+        $files++;
+        $offset += (30 + strlen($current['name2']) + $size);
+      }
+      else
+        $this->error[] = "Could not open file {$current['name']} for reading. It was not added.";
+    }
+
+    $this->add_data($central);
+
+    $this->add_data(pack("VvvvvVVv", 0x06054b50, 0x0000, 0x0000, $files, $files, strlen($central), $offset,
+      !empty ($this->options['comment']) ? strlen($this->options['comment']) : 0x0000));
+
+    if (!empty ($this->options['comment']))
+      $this->add_data($this->options['comment']);
+
+    chdir($pwd);
+
+    return 1;
+  }
 } ?>
\ No newline at end of file
diff -x .svn -aruN 1.4.24.src/include/config.inc.php 1.4.25.src/include/config.inc.php
--- 1.4.24.src/include/config.inc.php	2009-06-04 14:33:57.000000000 -0500
+++ 1.4.25.src/include/config.inc.php	2010-01-12 15:50:12.000000000 -0600
@@ -1,13 +1,13 @@
-<?php
-// Coppermine configuration file
-
-// MySQL configuration
-$CONFIG['dbserver'] =                         '[% mysql.cpm.sqlhost %]';        // Your database server
-$CONFIG['dbuser'] =                         '[% mysql.cpm.sqluser %]';        // Your mysql username
-$CONFIG['dbpass'] =                         '[% mysql.cpm.sqlpass %]';                // Your mysql password
-$CONFIG['dbname'] =                         '[% mysql.cpm.sqldb %]';        // Your mysql database name
-
-
-// MySQL TABLE NAMES PREFIX
-$CONFIG['TABLE_PREFIX'] =                '[% table_prefix %]_';
-?>
+<?php
+// Coppermine configuration file
+
+// MySQL configuration
+$CONFIG['dbserver'] =                         '[% mysql.cpm.sqlhost %]';        // Your database server
+$CONFIG['dbuser'] =                         '[% mysql.cpm.sqluser %]';        // Your mysql username
+$CONFIG['dbpass'] =                         '[% mysql.cpm.sqlpass %]';                // Your mysql password
+$CONFIG['dbname'] =                         '[% mysql.cpm.sqldb %]';        // Your mysql database name
+
+
+// MySQL TABLE NAMES PREFIX
+$CONFIG['TABLE_PREFIX'] =                '[% table_prefix %]_';
+?>
diff -x .svn -aruN 1.4.24.src/include/config.inc.php.sample 1.4.25.src/include/config.inc.php.sample
--- 1.4.24.src/include/config.inc.php.sample	2009-04-30 01:26:08.000000000 -0500
+++ 1.4.25.src/include/config.inc.php.sample	2009-04-30 07:50:44.000000000 -0500
@@ -1,13 +1,13 @@
-<?php
-// Coppermine configuration file
-
-// MySQL configuration
-$CONFIG['dbserver'] =     'localhost';   // Your databaseserver
-$CONFIG['dbuser'] =       'root';        // Your mysql username
-$CONFIG['dbpass'] =       '';            // Your mysql password
-$CONFIG['dbname'] =       'coppermine';  // Your mysql database name
-
-
-// MySQL TABLE NAMES PREFIX
-$CONFIG['TABLE_PREFIX'] = 'cpg141x_';
+<?php
+// Coppermine configuration file
+
+// MySQL configuration
+$CONFIG['dbserver'] =     'localhost';   // Your databaseserver
+$CONFIG['dbuser'] =       'root';        // Your mysql username
+$CONFIG['dbpass'] =       '';            // Your mysql password
+$CONFIG['dbname'] =       'coppermine';  // Your mysql database name
+
+
+// MySQL TABLE NAMES PREFIX
+$CONFIG['TABLE_PREFIX'] = 'cpg141x_';
 ?>
\ No newline at end of file
diff -x .svn -aruN 1.4.24.src/include/crop.inc.php 1.4.25.src/include/crop.inc.php
--- 1.4.24.src/include/crop.inc.php	2009-05-21 15:03:09.000000000 -0500
+++ 1.4.25.src/include/crop.inc.php	2009-05-26 11:25:44.000000000 -0500
@@ -1,182 +1,182 @@
-<?php
-/*************************
-  Coppermine Photo Gallery
-  ************************
-  Copyright (c) 2003-2009 Coppermine Dev Team
-  v1.1 originally written by Gregory DEMAR
-
-  This program is free software; you can redistribute it and/or modify
-  it under the terms of the GNU General Public License version 3
-  as published by the Free Software Foundation.
-  
-  ********************************************
-  Coppermine version: 1.4.24
-  $HeadURL: https://coppermine.svn.sourceforge.net/svnroot/coppermine/trunk/cpg1.4.x/include/crop.inc.php $
-  $Revision: 5969 $
-  $Author: gaugau $
-  $Date: 2009-05-21 22:03:33 +0200 (Do, 21 Mai 2009) $
-**********************************************/
-
-if (!defined('IN_COPPERMINE')) die('Not in Coppermine...');
-//////////////////// Variables //////////////////////////////
-// used texts
-$txt['bigger'] = ">";
-$txt['smaller'] = "<";
-$txt['up'] = "^";
-$txt['down'] = "v";
-$txt['closewindow'] = "Close window";
-
-
-$result = cpg_db_query("SELECT * FROM {$CONFIG['TABLE_PICTURES']} WHERE pid = '$pid'");
-$CURRENT_PIC = mysql_fetch_array($result);
-mysql_free_result($result);
-$pic_url = get_pic_url($CURRENT_PIC,'fullsize');
-
-
-
-echo <<<cropUIjs
-<script language="javascript" type="text/javascript" src="dhtmlLib.js"></script>
-<script language="javascript" type="text/javascript">
-<!--
-
-function libinit(){
-        obj=new lib_obj('cropDiv')
-        obj.dragdrop()
-        objImg =new lib_obj('imgDiv')
-        //alert (objImg.x + "-" + objImg.y);
-        obj.moveIt(objImg.x,objImg.y)
-}
-
-function cropCheck(crA){
-  //alert (obj.x + "-" + obj.y);
-  if (((obj.x + obj.cr) <= ({$CURRENT_PIC['pwidth']}+objImg.x))&&((obj.y + obj.cb) <= ({$CURRENT_PIC['pheight']}+objImg.y))&&(obj.x > objImg.x)&&(obj.y > objImg.y)){
-    cropX = obj.x - objImg.x;
-    cropY = obj.y - objImg.y;
-    var url = 'cropAction.php?pop=1&x='+cropX+'&y='+cropY+'&h='+obj.cb+'&w='+obj.cr+'&id={$pid}' ;
-    if (crA == 'pre'){
-      window.open(url,'prevWin','width='+obj.cr+',height='+obj.cb);
-    }else if(crA == 'final') {
-      url = url+'&final=1';
-      window.open(url,'prevWin','width='+obj.cr+',height='+(obj.cb));
-    }else if(crA == 'asThumb') {
-
-        thumb_use = "{$CONFIG['thumb_use']}"
-        thumb_width = {$CONFIG['thumb_width']}
-
-        if ( thumb_use== "ht") {
-                ratio = obj.cb / thumb_width ;
-        } else if (thumb_use == "wd") {
-                ratio = obj.cr / thumb_width ;
-        } else {
-                ratio = Math.max(obj.cb, obj.cr) / thumb_width ;
-        }
-
-        ratio = Math.max(ratio, 1.0);
-        destWidth = (obj.cr / ratio);
-        destHeight = (obj.cb / ratio);
-
-      url = url+'&asThumb=1';
-      window.open(url,'prevWin','width='+destWidth+',height='+destHeight);
-      }
-    } else {
-     alert('{$lang_editpics_php['sel_on_img']}');
-    }
-  }
-
-
-function stopZoom() {
-  loop = false;
-  clearTimeout(zoomtimer);
-}
-
-function cropZoom(dir) {
-  loop = true;
-  zoomtimer = null;
-  direction = dir;
-  if (loop == true) {
-    if (direction == "in") {
-      if ((obj.cr > 60 )){
-        cW = obj.cr - 1;
-        cH = obj.cb ;
-        obj.clipTo(0,cW,cH,0,1);
-      }
-    } else if (direction == "out") {
-      if ((obj.cr < ({$CURRENT_PIC['pwidth']}-5))){
-        cW = obj.cr + 1;
-        cH = obj.cb ;
-        obj.clipTo(0,cW,cH,0,1);
-      }
-    } else if (direction == "down") {
-      if ((obj.cb < ({$CURRENT_PIC['pheight']}-5) )){
-        cW = obj.cr ;
-        cH = obj.cb + 1;
-        obj.clipTo(0,cW,cH,0,1);
-      }
-    } else if (direction == "up") {
-      if ((obj.cb > 60 )){
-        cW = obj.cr ;
-        cH = obj.cb - 1;
-        obj.clipTo(0,cW,cH,0,1);
-      }
-    }
-    zoomtimer = setTimeout("cropZoom(direction)", 10);
-  }
-}
-
-onload=libinit;
-// -->
-</script>
-<style>
-
-#cropDiv{
-        position:absolute;
-        left:10px;
-        top:10px;
-        width:60px;
-        height:60px;
-        z-index:2;
-        background-image: url(images/spacer.gif);
-}
-
-#imgDiv{
-        position:relative;
-}
-</style>
-cropUIjs;
-
-starttable("100%",$lang_editpics_php['crop_title'], 3);
-echo <<<EOT
-<tr><td>
-<table cellspacing="0" cellpadding="5" border="0" align="center">
-<tr><td>
-<table cellspacing="0" cellpadding="5" border="0" align="center">
-<tr><td align="center" valign="top"><div id="imgDiv"><img src="$pic_url" /></div></td></tr>
-</table>
-<table border="0">
-<tr>
-<td align="right">
-    <input type="button" name="Submit2" value="{$lang_editpics_php['save_thumb']}" onclick="cropCheck('asThumb');" class="button" />
-    <input type="button" name="Submit2" value="{$lang_editpics_php['save']}" onclick="cropCheck('final');" class="button" />
-    <input type="button" name="Submit2" value="{$lang_editpics_php['preview']}" onclick="cropCheck('pre');" class="button" />
-    <input type="button" name="Submit3" value="{$txt['smaller']}" onMouseDown="cropZoom('in');" onMouseUp="stopZoom();" class="button" />
-    <input type="button" name="Submit3" value="{$txt['up']}" onMouseDown="cropZoom('up');" onMouseUp="stopZoom();" class="button" />
-    <input type="button" name="Submit3" value="{$txt['down']}" onMouseDown="cropZoom('down');" onMouseUp="stopZoom();" class="button" />
-    <input type="button" name="Submit4" value="{$txt['bigger']}" onMouseDown="cropZoom('out');" onMouseUp="stopZoom();" class="button" />
-</td>
-</tr>
-  </form>
-</table>
-</td></tr>
-</table>
-</td></tr>
-</table>
-
-<div id="cropDiv">
-  <table width="100%" border="0" cellpadding="0" cellspacing="0" style="border:1px solid #000000">
-<tr>
-      <td><img src="images/spacer.gif" border="0" alt="" /></td>
-    </tr>
-  </table>
-</div>
-EOT;
+<?php
+/*************************
+  Coppermine Photo Gallery
+  ************************
+  Copyright (c) 2003-2009 Coppermine Dev Team
+  v1.1 originally written by Gregory DEMAR
+
+  This program is free software; you can redistribute it and/or modify
+  it under the terms of the GNU General Public License version 3
+  as published by the Free Software Foundation.
+  
+  ********************************************
+  Coppermine version: 1.4.25
+  $HeadURL: https://coppermine.svn.sourceforge.net/svnroot/coppermine/trunk/cpg1.4.x/include/crop.inc.php $
+  $Revision: 5997 $
+  $Author: gaugau $
+  $Date: 2009-05-26 08:43:24 +0200 (Di, 26 Mai 2009) $
+**********************************************/
+
+if (!defined('IN_COPPERMINE')) die('Not in Coppermine...');
+//////////////////// Variables //////////////////////////////
+// used texts
+$txt['bigger'] = ">";
+$txt['smaller'] = "<";
+$txt['up'] = "^";
+$txt['down'] = "v";
+$txt['closewindow'] = "Close window";
+
+
+$result = cpg_db_query("SELECT * FROM {$CONFIG['TABLE_PICTURES']} WHERE pid = '$pid'");
+$CURRENT_PIC = mysql_fetch_array($result);
+mysql_free_result($result);
+$pic_url = get_pic_url($CURRENT_PIC,'fullsize');
+
+
+
+echo <<<cropUIjs
+<script language="javascript" type="text/javascript" src="dhtmlLib.js"></script>
+<script language="javascript" type="text/javascript">
+<!--
+
+function libinit(){
+        obj=new lib_obj('cropDiv')
+        obj.dragdrop()
+        objImg =new lib_obj('imgDiv')
+        //alert (objImg.x + "-" + objImg.y);
+        obj.moveIt(objImg.x,objImg.y)
+}
+
+function cropCheck(crA){
+  //alert (obj.x + "-" + obj.y);
+  if (((obj.x + obj.cr) <= ({$CURRENT_PIC['pwidth']}+objImg.x))&&((obj.y + obj.cb) <= ({$CURRENT_PIC['pheight']}+objImg.y))&&(obj.x > objImg.x)&&(obj.y > objImg.y)){
+    cropX = obj.x - objImg.x;
+    cropY = obj.y - objImg.y;
+    var url = 'cropAction.php?pop=1&x='+cropX+'&y='+cropY+'&h='+obj.cb+'&w='+obj.cr+'&id={$pid}' ;
+    if (crA == 'pre'){
+      window.open(url,'prevWin','width='+obj.cr+',height='+obj.cb);
+    }else if(crA == 'final') {
+      url = url+'&final=1';
+      window.open(url,'prevWin','width='+obj.cr+',height='+(obj.cb));
+    }else if(crA == 'asThumb') {
+
+        thumb_use = "{$CONFIG['thumb_use']}"
+        thumb_width = {$CONFIG['thumb_width']}
+
+        if ( thumb_use== "ht") {
+                ratio = obj.cb / thumb_width ;
+        } else if (thumb_use == "wd") {
+                ratio = obj.cr / thumb_width ;
+        } else {
+                ratio = Math.max(obj.cb, obj.cr) / thumb_width ;
+        }
+
+        ratio = Math.max(ratio, 1.0);
+        destWidth = (obj.cr / ratio);
+        destHeight = (obj.cb / ratio);
+
+      url = url+'&asThumb=1';
+      window.open(url,'prevWin','width='+destWidth+',height='+destHeight);
+      }
+    } else {
+     alert('{$lang_editpics_php['sel_on_img']}');
+    }
+  }
+
+
+function stopZoom() {
+  loop = false;
+  clearTimeout(zoomtimer);
+}
+
+function cropZoom(dir) {
+  loop = true;
+  zoomtimer = null;
+  direction = dir;
+  if (loop == true) {
+    if (direction == "in") {
+      if ((obj.cr > 60 )){
+        cW = obj.cr - 1;
+        cH = obj.cb ;
+        obj.clipTo(0,cW,cH,0,1);
+      }
+    } else if (direction == "out") {
+      if ((obj.cr < ({$CURRENT_PIC['pwidth']}-5))){
+        cW = obj.cr + 1;
+        cH = obj.cb ;
+        obj.clipTo(0,cW,cH,0,1);
+      }
+    } else if (direction == "down") {
+      if ((obj.cb < ({$CURRENT_PIC['pheight']}-5) )){
+        cW = obj.cr ;
+        cH = obj.cb + 1;
+        obj.clipTo(0,cW,cH,0,1);
+      }
+    } else if (direction == "up") {
+      if ((obj.cb > 60 )){
+        cW = obj.cr ;
+        cH = obj.cb - 1;
+        obj.clipTo(0,cW,cH,0,1);
+      }
+    }
+    zoomtimer = setTimeout("cropZoom(direction)", 10);
+  }
+}
+
+onload=libinit;
+// -->
+</script>
+<style>
+
+#cropDiv{
+        position:absolute;
+        left:10px;
+        top:10px;
+        width:60px;
+        height:60px;
+        z-index:2;
+        background-image: url(images/spacer.gif);
+}
+
+#imgDiv{
+        position:relative;
+}
+</style>
+cropUIjs;
+
+starttable("100%",$lang_editpics_php['crop_title'], 3);
+echo <<<EOT
+<tr><td>
+<table cellspacing="0" cellpadding="5" border="0" align="center">
+<tr><td>
+<table cellspacing="0" cellpadding="5" border="0" align="center">
+<tr><td align="center" valign="top"><div id="imgDiv"><img src="$pic_url" /></div></td></tr>
+</table>
+<table border="0">
+<tr>
+<td align="right">
+    <input type="button" name="Submit2" value="{$lang_editpics_php['save_thumb']}" onclick="cropCheck('asThumb');" class="button" />
+    <input type="button" name="Submit2" value="{$lang_editpics_php['save']}" onclick="cropCheck('final');" class="button" />
+    <input type="button" name="Submit2" value="{$lang_editpics_php['preview']}" onclick="cropCheck('pre');" class="button" />
+    <input type="button" name="Submit3" value="{$txt['smaller']}" onMouseDown="cropZoom('in');" onMouseUp="stopZoom();" class="button" />
+    <input type="button" name="Submit3" value="{$txt['up']}" onMouseDown="cropZoom('up');" onMouseUp="stopZoom();" class="button" />
+    <input type="button" name="Submit3" value="{$txt['down']}" onMouseDown="cropZoom('down');" onMouseUp="stopZoom();" class="button" />
+    <input type="button" name="Submit4" value="{$txt['bigger']}" onMouseDown="cropZoom('out');" onMouseUp="stopZoom();" class="button" />
+</td>
+</tr>
+  </form>
+</table>
+</td></tr>
+</table>
+</td></tr>
+</table>
+
+<div id="cropDiv">
+  <table width="100%" border="0" cellpadding="0" cellspacing="0" style="border:1px solid #000000">
+<tr>
+      <td><img src="images/spacer.gif" border="0" alt="" /></td>
+    </tr>
+  </table>
+</div>
+EOT;
 ?>
\ No newline at end of file
diff -x .svn -aruN 1.4.24.src/include/debugger.inc.php 1.4.25.src/include/debugger.inc.php
--- 1.4.24.src/include/debugger.inc.php	2009-05-21 15:03:09.000000000 -0500
+++ 1.4.25.src/include/debugger.inc.php	2009-05-26 11:25:42.000000000 -0500
@@ -1,135 +1,135 @@
-<?php
-/*************************
-  Coppermine Photo Gallery
-  ************************
-  Copyright (c) 2003-2009 Coppermine Dev Team
-  v1.1 originally written by Gregory DEMAR
-
-  This program is free software; you can redistribute it and/or modify
-  it under the terms of the GNU General Public License version 3
-  as published by the Free Software Foundation.
-  
-  ********************************************
-  Coppermine version: 1.4.24
-  $HeadURL: https://coppermine.svn.sourceforge.net/svnroot/coppermine/trunk/cpg1.4.x/include/debugger.inc.php $
-  $Revision: 5969 $
-  $Author: gaugau $
-  $Date: 2009-05-21 22:03:33 +0200 (Do, 21 Mai 2009) $
-**********************************************/
-
-if (!defined('E_STRICT')) {
-    define('E_STRICT', 2048); // PHP 5
-}
-
-if (!defined('E_DEPRECATED')) {
-    define('E_DEPRECATED', 8129); // PHP 5.3
-}
-
-class cpg_debugger {
-    // Define variables that store the old error reporting and logging states
-    var $old_handler;
-    var $old_display_level;
-    var $old_error_logging;
-    var $old_error_log;
-
-    var $logfile;
-    var $report;
-    var $active = false;
-    var $error_level;
-    var $basepath_len;
-
-    function cpg_debugger($log = 'debug.log') {
-        $this->logfile = $log;
-        $this->basepath_len = strlen(dirname(dirname(__FILE__)));
-    }
-
-    function start() {
-        if (!$this->active) {
-            $this->report = false;
-            if (CAN_MOD_INI) {
-                $this->old_display_level = ini_set('display_errors', 1);
-                $this->old_error_logging = ini_set('log_errors', 0);
-            }
-            $phpver = explode('.', phpversion());
-            $phpver = "$phpver[0]$phpver[1]";
-            if ($phpver < 43) {
-                $this->old_handler = set_error_handler('cpg_error_handler');
-            } else {
-                $this->old_handler = set_error_handler(array(&$this, 'handler'));
-            }
-            if (is_bool($this->old_handler)) {
-                error_reporting(E_ALL ^ E_NOTICE);
-            }
-//            $this->old_error_log = ini_set('error_log', $this->logfile);
-            $this->error_level = E_ALL;
-            $this->active = true;
-        }
-    }
-
-    function stop() {
-        if ($this->active) {
-            // restore the previous state
-            if (!is_bool($this->old_handler) && $this->old_handler) {
-                set_error_handler($this->old_handler);
-            }
-            if (CAN_MOD_INI) {
-                ini_set('display_errors', $this->old_display_level);
-                ini_set('log_errors', $this->old_error_logging);
-//                ini_set('error_log', $this->old_error_log);
-            }
-            $this->active = false;
-            return $this->report;
-        }
-    }
-
-    // user defined error handling function
-    function handler($errno, $errmsg, $filename, $linenum, $vars='')
-    {
-        $filename = substr($filename, $this->basepath_len);
-        $errortype = array (
-//            E_ERROR           => 'Error',
-            E_WARNING         => 'Warning',
-//            E_PARSE           => 'Parsing Error',
-            E_NOTICE          => 'Notice',
-            E_CORE_ERROR      => 'Core Error',
-            E_CORE_WARNING    => 'Core Warning',
-            E_COMPILE_ERROR   => 'Compile Error',
-            E_COMPILE_WARNING => 'Compile Warning',
-            E_USER_ERROR      => 'CPG Error',
-            E_USER_WARNING    => 'CPG Warning',
-            E_USER_NOTICE     => 'CPG Notice',
-            E_STRICT          => 'Runtime Notice',
-            E_DEPRECATED      => 'Deprecated',
-        );
-        // NOTE: E_ERROR, E_PARSE, E_CORE_ERROR, E_CORE_WARNING, E_COMPILE_ERROR and E_COMPILE_WARNING
-        // error levels will be handled as per the error_reporting settings.
-        if ($errno == E_USER_ERROR) {
-            if (USER_IS_ADMIN) {
-                $errmsg = $errortype[$errno]." $filename line $linenum: ".$errmsg;
-            } else {
-                $errmsg = "A error occured while processing this page.<br />Please report the following error to the owner of this website.<br /><br /><b>$errmsg</b>";
-            }
-            cpg_die(CRITICAL_ERROR, $errmsg, $filename, $linenum);
-        }
-
-        // set of errors for which a var trace will be saved
-        if ($errno & $this->error_level) {
-            $this->report[$filename][] = $errortype[$errno]." line $linenum: ".$errmsg;
-        }
-
-        // save to the error log
-        // error_log($err, 0); //message is sent to PHP's system logger
-        // error_log($err, 1, 'operator@example.com'); //message is sent by email to the address in the destination
-        // error_log($err, 3, $this->logfile); //message is appended to the file destination.
-    }
-}
-
-function cpg_error_handler($errno, $errmsg, $filename, $linenum, $vars='') {
-    global $cpgdebugger;
-    $cpgdebugger->handler($errno, $errmsg, $filename, $linenum, $vars);
-}
-define('CAN_MOD_INI', !ereg('ini_set', ini_get('disable_functions')));
-
-error_reporting(E_ALL);
-$cpgdebugger =& new cpg_debugger();
-$cpgdebugger->start();
+<?php
+/*************************
+  Coppermine Photo Gallery
+  ************************
+  Copyright (c) 2003-2009 Coppermine Dev Team
+  v1.1 originally written by Gregory DEMAR
+
+  This program is free software; you can redistribute it and/or modify
+  it under the terms of the GNU General Public License version 3
+  as published by the Free Software Foundation.
+  
+  ********************************************
+  Coppermine version: 1.4.25
+  $HeadURL: https://coppermine.svn.sourceforge.net/svnroot/coppermine/trunk/cpg1.4.x/include/debugger.inc.php $
+  $Revision: 5997 $
+  $Author: gaugau $
+  $Date: 2009-05-26 08:43:24 +0200 (Di, 26 Mai 2009) $
+**********************************************/
+
+if (!defined('E_STRICT')) {
+    define('E_STRICT', 2048); // PHP 5
+}
+
+if (!defined('E_DEPRECATED')) {
+    define('E_DEPRECATED', 8129); // PHP 5.3
+}
+
+class cpg_debugger {
+    // Define variables that store the old error reporting and logging states
+    var $old_handler;
+    var $old_display_level;
+    var $old_error_logging;
+    var $old_error_log;
+
+    var $logfile;
+    var $report;
+    var $active = false;
+    var $error_level;
+    var $basepath_len;
+
+    function cpg_debugger($log = 'debug.log') {
+        $this->logfile = $log;
+        $this->basepath_len = strlen(dirname(dirname(__FILE__)));
+    }
+
+    function start() {
+        if (!$this->active) {
+            $this->report = false;
+            if (CAN_MOD_INI) {
+                $this->old_display_level = ini_set('display_errors', 1);
+                $this->old_error_logging = ini_set('log_errors', 0);
+            }
+            $phpver = explode('.', phpversion());
+            $phpver = "$phpver[0]$phpver[1]";
+            if ($phpver < 43) {
+                $this->old_handler = set_error_handler('cpg_error_handler');
+            } else {
+                $this->old_handler = set_error_handler(array(&$this, 'handler'));
+            }
+            if (is_bool($this->old_handler)) {
+                error_reporting(E_ALL ^ E_NOTICE);
+            }
+//            $this->old_error_log = ini_set('error_log', $this->logfile);
+            $this->error_level = E_ALL;
+            $this->active = true;
+        }
+    }
+
+    function stop() {
+        if ($this->active) {
+            // restore the previous state
+            if (!is_bool($this->old_handler) && $this->old_handler) {
+                set_error_handler($this->old_handler);
+            }
+            if (CAN_MOD_INI) {
+                ini_set('display_errors', $this->old_display_level);
+                ini_set('log_errors', $this->old_error_logging);
+//                ini_set('error_log', $this->old_error_log);
+            }
+            $this->active = false;
+            return $this->report;
+        }
+    }
+
+    // user defined error handling function
+    function handler($errno, $errmsg, $filename, $linenum, $vars='')
+    {
+        $filename = substr($filename, $this->basepath_len);
+        $errortype = array (
+//            E_ERROR           => 'Error',
+            E_WARNING         => 'Warning',
+//            E_PARSE           => 'Parsing Error',
+            E_NOTICE          => 'Notice',
+            E_CORE_ERROR      => 'Core Error',
+            E_CORE_WARNING    => 'Core Warning',
+            E_COMPILE_ERROR   => 'Compile Error',
+            E_COMPILE_WARNING => 'Compile Warning',
+            E_USER_ERROR      => 'CPG Error',
+            E_USER_WARNING    => 'CPG Warning',
+            E_USER_NOTICE     => 'CPG Notice',
+            E_STRICT          => 'Runtime Notice',
+            E_DEPRECATED      => 'Deprecated',
+        );
+        // NOTE: E_ERROR, E_PARSE, E_CORE_ERROR, E_CORE_WARNING, E_COMPILE_ERROR and E_COMPILE_WARNING
+        // error levels will be handled as per the error_reporting settings.
+        if ($errno == E_USER_ERROR) {
+            if (USER_IS_ADMIN) {
+                $errmsg = $errortype[$errno]." $filename line $linenum: ".$errmsg;
+            } else {
+                $errmsg = "A error occured while processing this page.<br />Please report the following error to the owner of this website.<br /><br /><b>$errmsg</b>";
+            }
+            cpg_die(CRITICAL_ERROR, $errmsg, $filename, $linenum);
+        }
+
+        // set of errors for which a var trace will be saved
+        if ($errno & $this->error_level) {
+            $this->report[$filename][] = $errortype[$errno]." line $linenum: ".$errmsg;
+        }
+
+        // save to the error log
+        // error_log($err, 0); //message is sent to PHP's system logger
+        // error_log($err, 1, 'operator@example.com'); //message is sent by email to the address in the destination
+        // error_log($err, 3, $this->logfile); //message is appended to the file destination.
+    }
+}
+
+function cpg_error_handler($errno, $errmsg, $filename, $linenum, $vars='') {
+    global $cpgdebugger;
+    $cpgdebugger->handler($errno, $errmsg, $filename, $linenum, $vars);
+}
+define('CAN_MOD_INI', !ereg('ini_set', ini_get('disable_functions')));
+
+error_reporting(E_ALL);
+$cpgdebugger =& new cpg_debugger();
+$cpgdebugger->start();
diff -x .svn -aruN 1.4.24.src/include/exif.php 1.4.25.src/include/exif.php
--- 1.4.24.src/include/exif.php	2009-05-21 15:03:09.000000000 -0500
+++ 1.4.25.src/include/exif.php	2009-05-26 11:25:42.000000000 -0500
@@ -1,966 +1,966 @@
-<?php
-/*************************
-  Coppermine Photo Gallery
-  ************************
-  Copyright (c) 2003-2009 Coppermine Dev Team
-  v1.1 originally written by Gregory DEMAR
-
-  This program is free software; you can redistribute it and/or modify
-  it under the terms of the GNU General Public License version 3
-  as published by the Free Software Foundation.
-  
-  ********************************************
-  Coppermine version: 1.4.24
-  $HeadURL: https://coppermine.svn.sourceforge.net/svnroot/coppermine/trunk/cpg1.4.x/include/exif.php $
-  $Revision: 5969 $
-  $Author: gaugau $
-  $Date: 2009-05-21 22:03:33 +0200 (Do, 21 Mai 2009) $
-**********************************************/
-
-/*
-//================================================================================================
-//================================================================================================
-//================================================================================================
-/*
-  Exifer 1.5
-  Extracts EXIF information from digital photos.
-
-  Copyright  2005 Jake Olefsky
-  http://www.offsky.com/software/exif/index.php
-  jake@olefsky.com
-
-  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 
-
-  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. http://www.gnu.org/copyleft/gpl.html
-
-  SUMMARY:
-        This script will correctly parse all of the EXIF data included in images taken
-        with digital cameras.  It will read the IDF0, IDF1, SubIDF and InteroperabilityIFD
-        fields as well as parsing some of the MakerNote fields that vary depending on
-        camera make and model.  This script parses more tags than the internal PHP exif
-        implementation and it will correctly identify and decode what all the values mean.
-
-        This version will correctly parse the MakerNote field for Nikon, Olympus, and Canon
-        digital cameras.  Others will follow.
-
-  TESTED WITH:
-        Nikon CoolPix 700
-        Nikon CoolPix 4500
-        Nikon CoolPix 950
-        Nikon Coolpix 5700
-        Canon PowerShot S200
-        Canon PowerShot S110
-        Olympus C2040Z
-        Olympus C960
-        Canon Ixus
-        Canon EOS 300D
-        Canon Digital Rebel
-        Canon EOS 10D
-        Canon PowerShot G2
-        FujiFilm DX 10
-        FujiFilm MX-1200
-        FujiFilm FinePix2400
-        FujiFilm FinePix2600
-        FujiFilm FinePix S602
-        FujiFilm FinePix40i
-        Sony D700
-        Sony Cybershot
-        Kodak DC210
-        Kodak DC240
-        Kodak DC4800
-        Kodak DX3215
-        Ricoh RDC-5300
-        Sanyo VPC-G250
-        Sanyo VPC-SX550
-        Epson 3100z
-
-  If you improve this script or test it with a camera not on my list, please email me a copy of
-  the improvement so everyone can benefit from it.  Thanks!
-
-
-  VERSION HISTORY:
-
-  1.0   Sept 23, 2002
-
-      First Public Release
-
-  1.1   Jan 25, 2003
-
-      +Gracefully handled the error case where you pass an empty string to this library
-      +Fixed an inconsistency in the Olympus Camera parsing module
-      +Added support for parsing the MakerNote of Canon images.
-      +Modified how the imagefile is opened so it works for windows machines.
-      +Correctly parses the FocalPlaneResolutionUnit and PhotometricInterpretation fields
-      +Negative rational numbers are properly displayed
-      +Strange old cameras that use Motorola endineness are now properly supported
-      +Tested with several more cameras
-
-      Potential Problem: Negative Shorts and Negative Longs may not be correctly displayed, but I
-        have not yet found an example of negative shorts or longs being used.
-
-  1.2   Mar 30, 2003
-
-      +Fixed an error that was displayed if you edited your image with WinXP's image viewer
-      +Fixed a bug that caused some images saved from 3rd party software to not parse correctly
-      +Changed the ExposureTime tag to display in fractional seconds rather than decimal
-      +Updated the ShutterSpeedValue tag to have the units of 'sec'
-      +Added support for parsing the MakeNote of FujiFilm images
-      +Added support for parsing the MakeNote of Sanyo images
-      +Fixed a bug with parsing some Olympus MakerNote tags
-      +Tested with several more cameras
-
-  1.3   Jun 15, 2003
-
-      +Fixed Canon MakerNote support for some models
-        (Canon has very difficult and inconsistent MakerNote syntax)
-      +Negative signed shorts and negative signed longs are properly displayed
-      +Several more tags are defined
-      +More information in my comments about what each tag is
-      +Parses and Displays GPS information if available
-      +Tested with several more cameras
-
-  1.4   Sept 14, 2003
-
-      +This software is now licensed under the GNU General Public License
-      +Exposure time is now correctly displayed when the numerator is 10
-      +Fixed the calculation and display of ShutterSpeedValue, ApertureValue and MaxApertureValue
-      +Fixed a bug with the GPS code
-      +Tested with several more cameras
-
-  1.5   Feb 18, 2005
-
-      +It now gracefully deals with a passed in file that cannot be found.
-      +Fixed a GPS bug for the parsing of Altitude and other signed rational numbers
-      +Defined more values for Canon cameras.
-      +Added "bulb" detection for ShutterSpeed
-      +Made script loading a little faster and less memory intensive.
-      +Bug fixes
-      +Better error reporting
-      +Graceful failure for files with corrupt exif info.
-      +QuickTime (including iPhoto) messes up the Makernote tag for certain photos (no workaround yet)
-      +Now reads exif information when the jpeg markers are out of order
-      +Gives raw data output for IPTC, COM and APP2 fields which are sometimes set by other applications
-      +Improvements to Nikon Makernote parsing
-*/
-//================================================================================================
-//================================================================================================
-//================================================================================================
-
-
-
-
-//================================================================================================
-//================================================================================================
-// Converts from Intel to Motorola endien.  Just reverses the bytes (assumes hex is passed in)
-//================================================================================================
-//================================================================================================
-function intel2Moto($intel) {
-  $len = strlen($intel);
-  $moto="";
-  for($i=0; $i<=$len; $i+=2) {
-    $moto.=substr($intel,$len-$i,2);
-  }
-  return $moto;
-}
-
-//================================================================================================
-//================================================================================================
-// Looks up the name of the tag
-//================================================================================================
-//================================================================================================
-function lookup_tag($tag) {
-  switch($tag) {
-
-      //used by IFD0 "Camera Tags"
-    case "000b": $tag = "ACDComment";break;           //text string up to 999 bytes long
-    case "00fe": $tag = "ImageType";break;            //integer -2147483648 to 2147483647
-    case "0106": $tag = "PhotometricInterpret";break;     //?? Please send sample image with this tag
-    case "010e": $tag = "ImageDescription";break;       //text string up to 999 bytes long
-    case "010f": $tag = "Make";break;             //text string up to 999 bytes long
-    case "0110": $tag = "Model";break;              //text string up to 999 bytes long
-    case "0112": $tag = "Orientation";break;          //integer values 1-9
-    case "0115": $tag = "SamplePerPixel";break;         //integer 0-65535
-    case "011a": $tag = "xResolution";break;          //positive rational number
-    case "011b": $tag = "yResolution";break;          //positive rational number
-    case "011c": $tag = "PlanarConfig";break;         //integer values 1-2
-    case "0128": $tag = "ResolutionUnit";break;         //integer values 1-3
-    case "0131": $tag = "Software";break;           //text string up to 999 bytes long
-    case "0132": $tag = "DateTime";break;           //YYYY:MM:DD HH:MM:SS
-    case "013b": $tag = "Artist";break;             //text string up to 999 bytes long
-    case "013c": $tag = "HostComputer";break;         //text string
-    case "013e": $tag = "WhitePoint";break;           //two positive rational numbers
-    case "013f": $tag = "PrimaryChromaticities";break;      //six positive rational numbers
-    case "0211": $tag = "YCbCrCoefficients";break;        //three positive rational numbers
-    case "0213": $tag = "YCbCrPositioning";break;       //integer values 1-2
-    case "0214": $tag = "ReferenceBlackWhite";break;      //six positive rational numbers
-    case "8298": $tag = "Copyright";break;            //text string up to 999 bytes long
-    case "8649": $tag = "PhotoshopSettings";break;        //??
-    case "8825": $tag = "GPSInfoOffset";break;
-    case "9286": $tag = "UserCommentOld";break;         //??
-    case "8769": $tag = "ExifOffset";break;           //positive integer
-
-      //used by Exif SubIFD "Image Tags"
-    case "829a": $tag = "ExposureTime";break;         //seconds or fraction of seconds 1/x
-    case "829d": $tag = "FNumber";break;            //positive rational number
-    case "8822": $tag = "ExposureProgram";break;        //integer value 1-9
-    case "8824": $tag = "SpectralSensitivity";break;      //??
-    case "8827": $tag = "ISOSpeedRatings";break;        //integer 0-65535
-    case "9000": $tag = "ExifVersion";break;          //??
-    case "9003": $tag = "DateTimeOriginal";break;       //YYYY:MM:DD HH:MM:SS
-    case "9004": $tag = "DateTimedigitized";break;        //YYYY:MM:DD HH:MM:SS
-    case "9101": $tag = "ComponentsConfiguration";break;    //??
-    case "9102": $tag = "CompressedBitsPerPixel";break;     //positive rational number
-    case "9201": $tag = "ShutterSpeedValue";break;        //seconds or fraction of seconds 1/x
-    case "9202": $tag = "ApertureValue";break;          //positive rational number
-    case "9203": $tag = "BrightnessValue";break;        //positive rational number
-    case "9204": $tag = "ExposureBiasValue";break;        //positive rational number (EV)
-    case "9205": $tag = "MaxApertureValue";break;       //positive rational number
-    case "9206": $tag = "SubjectDistance";break;        //positive rational number (meters)
-    case "9207": $tag = "MeteringMode";break;         //integer 1-6 and 255
-    case "9208": $tag = "LightSource";break;          //integer 1-255
-    case "9209": $tag = "Flash";break;              //integer 1-255
-    case "920a": $tag = "FocalLength";break;          //positive rational number (mm)
-    case "9213": $tag = "ImageHistory";break;         //text string up to 999 bytes long
-    case "927c": $tag = "MakerNote";break;            //a bunch of data
-    case "9286": $tag = "UserComment";break;          //text string
-    case "9290": $tag = "SubsecTime";break;           //text string up to 999 bytes long
-    case "9291": $tag = "SubsecTimeOriginal";break;       //text string up to 999 bytes long
-    case "9292": $tag = "SubsecTimeDigitized";break;      //text string up to 999 bytes long
-    case "a000": $tag = "FlashPixVersion";break;        //??
-    case "a001": $tag = "ColorSpace";break;           //values 1 or 65535
-    case "a002": $tag = "ExifImageWidth";break;         //ingeter 1-65535
-    case "a003": $tag = "ExifImageHeight";break;        //ingeter 1-65535
-    case "a004": $tag = "RelatedSoundFile";break;       //text string 12 bytes long
-    case "a005": $tag = "ExifInteroperabilityOffset";break;   //positive integer
-    case "a20c": $tag = "SpacialFreqResponse";break;      //??
-    case "a20b": $tag = "FlashEnergy";break;          //positive rational number
-    case "a20e": $tag = "FocalPlaneXResolution";break;      //positive rational number
-    case "a20f": $tag = "FocalPlaneYResolution";break;      //positive rational number
-    case "a210": $tag = "FocalPlaneResolutionUnit";break;   //values 1-3
-    case "a214": $tag = "SubjectLocation";break;        //two integers 0-65535
-    case "a215": $tag = "ExposureIndex";break;          //positive rational number
-    case "a217": $tag = "SensingMethod";break;          //values 1-8
-    case "a300": $tag = "FileSource";break;           //integer
-    case "a301": $tag = "SceneType";break;            //integer
-    case "a302": $tag = "CFAPattern";break;           //undefined data type
-
-    case "a401": $tag = "CustomerRender";break;         //values 0 or 1
-    case "a402": $tag = "ExposureMode";break;         //values 0-2
-    case "a403": $tag = "WhiteBalance";break;         //values 0 or 1
-    case "a404": $tag = "DigitalZoomRatio";break;       //positive rational number
-    case "a406": $tag = "SceneCaptureMode";break;       //values 0-3
-    case "a407": $tag = "GainControl";break;          //values 0-4
-    case "a408": $tag = "Contrast";break;           //values 0-2
-    case "a409": $tag = "Saturation";break;           //values 0-2
-    case "a40a": $tag = "Sharpness";break;            //values 0-2
-
-
-      //used by Interoperability IFD
-    case "0001": $tag = "InteroperabilityIndex";break;      //text string 3 bytes long
-    case "0002": $tag = "InteroperabilityVersion";break;    //datatype undefined
-    case "1000": $tag = "RelatedImageFileFormat";break;     //text string up to 999 bytes long
-    case "1001": $tag = "RelatedImageWidth";break;        //integer in range 0-65535
-    case "1002": $tag = "RelatedImageLength";break;       //integer in range 0-65535
-
-      //used by IFD1 "Thumbnail"
-    case "0100": $tag = "ImageWidth";break;           //integer in range 0-65535
-    case "0101": $tag = "ImageLength";break;          //integer in range 0-65535
-    case "0102": $tag = "BitsPerSample";break;          //integers in range 0-65535
-    case "0103": $tag = "Compression";break;          //values 1 or 6
-    case "0106": $tag = "PhotometricInterpretation";break;    //values 0-4
-    case "010e": $tag = "ThumbnailDescription";break;     //text string up to 999 bytes long
-    case "010f": $tag = "ThumbnailMake";break;          //text string up to 999 bytes long
-    case "0110": $tag = "ThumbnailModel";break;         //text string up to 999 bytes long
-    case "0111": $tag = "StripOffsets";break;         //??
-    case "0112": $tag = "ThumbnailOrientation";break;     //integer 1-9
-    case "0115": $tag = "SamplesPerPixel";break;        //??
-    case "0116": $tag = "RowsPerStrip";break;         //??
-    case "0117": $tag = "StripByteCounts";break;        //??
-    case "011a": $tag = "ThumbnailXResolution";break;     //positive rational number
-    case "011b": $tag = "ThumbnailYResolution";break;     //positive rational number
-    case "011c": $tag = "PlanarConfiguration";break;      //values 1 or 2
-    case "0128": $tag = "ThumbnailResolutionUnit";break;    //values 1-3
-    case "0201": $tag = "JpegIFOffset";break;
-    case "0202": $tag = "JpegIFByteCount";break;
-    case "0212": $tag = "YCbCrSubSampling";break;
-
-      //misc
-    case "00ff": $tag = "SubfileType";break;
-    case "012d": $tag = "TransferFunction";break;
-    case "013d": $tag = "Predictor";break;
-    case "0142": $tag = "TileWidth";break;
-    case "0143": $tag = "TileLength";break;
-    case "0144": $tag = "TileOffsets";break;
-    case "0145": $tag = "TileByteCounts";break;
-    case "014a": $tag = "SubIFDs";break;
-    case "015b": $tag = "JPEGTables";break;
-    case "828d": $tag = "CFARepeatPatternDim";break;
-    case "828e": $tag = "CFAPattern";break;
-    case "828f": $tag = "BatteryLevel";break;
-    case "83bb": $tag = "IPTC/NAA";break;
-    case "8773": $tag = "InterColorProfile";break;
-
-    case "8828": $tag = "OECF";break;
-    case "8829": $tag = "Interlace";break;
-    case "882a": $tag = "TimeZoneOffset";break;
-    case "882b": $tag = "SelfTimerMode";break;
-    case "920b": $tag = "FlashEnergy";break;
-    case "920c": $tag = "SpatialFrequencyResponse";break;
-    case "920d": $tag = "Noise";break;
-    case "9211": $tag = "ImageNumber";break;
-    case "9212": $tag = "SecurityClassification";break;
-    case "9214": $tag = "SubjectLocation";break;
-    case "9215": $tag = "ExposureIndex";break;
-    case "9216": $tag = "TIFF/EPStandardID";break;
-    case "a20b": $tag = "FlashEnergy";break;
-
-    default: $tag = "unknown:".$tag;break;
-  }
-  return $tag;
-
-}
-
-//================================================================================================
-//================================================================================================
-// Looks up the datatype
-//================================================================================================
-//================================================================================================
-function lookup_type(&$type,&$size) {
-  switch($type) {
-    case "0001": $type = "UBYTE";$size=1;break;
-    case "0002": $type = "ASCII";$size=1;break;
-    case "0003": $type = "USHORT";$size=2;break;
-    case "0004": $type = "ULONG";$size=4;break;
-    case "0005": $type = "URATIONAL";$size=8;break;
-    case "0006": $type = "SBYTE";$size=1;break;
-    case "0007": $type = "UNDEFINED";$size=1;break;
-    case "0008": $type = "SSHORT";$size=2;break;
-    case "0009": $type = "SLONG";$size=4;break;
-    case "000a": $type = "SRATIONAL";$size=8;break;
-    case "000b": $type = "FLOAT";$size=4;break;
-    case "000c": $type = "DOUBLE";$size=8;break;
-    default: $type = "error:".$type;$size=0;break;
-  }
-  return $type;
-}
-
-//================================================================================================
-//================================================================================================
-// Formats Data for the data type
-//================================================================================================
-//================================================================================================
-function formatData($type,$tag,$intel,$data) {
-
-  if($type=="ASCII") {
-    //do nothing
-  } else if($type=="URATIONAL" || $type=="SRATIONAL") {
-    $data = bin2hex($data);
-    if($intel==1) $data = intel2Moto($data);
-
-    if($intel==1) $top = hexdec(substr($data,8,8));   //intel stores them bottom-top
-    else  $top = hexdec(substr($data,0,8));       //motorola stores them top-bottom
-
-    if($intel==1) $bottom = hexdec(substr($data,0,8));  //intel stores them bottom-top
-    else  $bottom = hexdec(substr($data,8,8));      //motorola stores them top-bottom
-
-    if($type=="SRATIONAL" && $top>2147483647) $top = $top - 4294967296;   //this makes the number signed instead of unsigned
-    if($bottom!=0) $data=$top/$bottom;
-    else if($top==0) $data = 0;
-    else $data=$top."/".$bottom;
-
-    if(($tag=="011a" || $tag=="011b") && $bottom==1) { //XResolution YResolution
-      $data=$top." dots per ResolutionUnit";
-    } else if($tag=="829a") { //Exposure Time
-      if($top/10 == 1) $data="1/".round($bottom/10, 0)." sec";
-      else $data=$top."/".$bottom." sec";
-    } else if($tag=="829d") { //FNumber
-      $data="f ".$data;
-    } else if($tag=="9204") { //ExposureBiasValue
-      $data=$data." EV";
-    } else if($tag=="9205" || $tag=="9202") { //ApertureValue and MaxApertureValue
-      //ApertureValue is given in the APEX Mode. Many thanks to Matthieu Froment for this code
-      //The formula is : Aperture = 2*log2(FNumber) <=> FNumber = e((Aperture.ln(2))/2)
-      $data = exp(($data*log(2))/2);
-      $data = round($data, 1);//Focal is given with a precision of 1 digit.
-      $data="f ".$data;
-    } else if($tag=="920a") { //FocalLength
-      $data=$data." mm";
-    } else if($tag=="9201") { //ShutterSpeedValue
-      // The ShutterSpeedValue is given in the APEX mode. Many thanks to Matthieu Froment for this code
-      // The formula is : Shutter = - log2(exposureTime) (Appendix C of EXIF spec.)
-      // Where shutter is in APEX, log2(exposure) = ln(exposure)/ln(2)
-      // So final formula is : exposure = exp(-ln(2).shutter)
-      // The formula can be developed : exposure = 1/(exp(ln(2).shutter))
-      $data = exp($data * log(2));
-      if ($data > 1) $data = floor($data);  //Drop the decimal.
-      if ($data > 0) {
-        $data = 1/$data; //Final calculation. We now have a floating number. Transform it in a pretty number
-        $n=0;$d=0;
-        ConvertToFraction($data, $n, $d);
-        if ($n>=1 && $d==1) $data = $n." sec"; //To avoid exposure times style 3/1 sec.
-        else $data = $n."/".$d." sec";
-      } else {
-        $data = "Bulb";
-      }
-    }
-
-  } else if($type=="USHORT" || $type=="SSHORT" || $type=="ULONG" || $type=="SLONG" || $type=="FLOAT" || $type=="DOUBLE") {
-    $data = bin2hex($data);
-    if($intel==1) $data = intel2Moto($data);
-    if($intel==0 && ($type=="USHORT" || $type=="SSHORT")) $data = substr($data,0,4);
-    $data=hexdec($data);
-
-    if($type=="SSHORT" && $data>32767) $data = $data - 65536; //this makes the number signed instead of unsigned
-    if($type=="SLONG" && $data>2147483647) $data = $data - 4294967296;  //this makes the number signed instead of unsigned
-
-    if($tag=="0112") { //Orientation
-      if($data==1) $data = "Normal (O deg)";
-      if($data==2) $data = "Mirrored";
-      if($data==3) $data = "Upsidedown";
-      if($data==4) $data = "Upsidedown Mirrored";
-      if($data==5) $data = "90 deg CW Mirrored";
-      if($data==6) $data = "90 deg CCW";
-      if($data==7) $data = "90 deg CCW Mirrored";
-      if($data==8) $data = "90 deg CW";
-    } else if($tag=="0128" || $tag=="a210" || $tag=="0128") {  //ResolutionUnit and FocalPlaneResolutionUnit and ThumbnailResolutionUnit
-      if($data==1) $data = "No Unit";
-      if($data==2) $data = "Inch";
-      if($data==3) $data = "Centimeter";
-    } else if($tag=="0213") { //YCbCrPositioning
-      if($data==1) $data = "Center of Pixel Array";
-      if($data==2) $data = "Datum Point";
-    } else if($tag=="8822") { //ExposureProgram
-      if($data==1) $data = "Manual";
-      else if($data==2) $data = "Program";
-      else if($data==3) $data = "Aperature Priority";
-      else if($data==4) $data = "Shutter Priority";
-      else if($data==5) $data = "Program Creative";
-      else if($data==6) $data = "Program Action";
-      else if($data==7) $data = "Portrat";
-      else if($data==8) $data = "Landscape";
-      else $data = "Unknown: ".$data;
-    } else if($tag=="9207") { //MeteringMode
-      if($data==0) $data = "Unknown";
-      else if($data==1) $data = "Average";
-      else if($data==2) $data = "Center Weighted Average";
-      else if($data==3) $data = "Spot";
-      else if($data==4) $data = "Multi-Spot";
-      else if($data==5) $data = "Multi-Segment";
-      else if($data==6) $data = "Partial";
-      else if($data==255) $data = "Other";
-      else $data = "Unknown: ".$data;
-    } else if($tag=="9208") { //LightSource
-      if($data==0) $data = "Unknown or Auto";
-      else if($data==1) $data = "Daylight";
-      else if($data==2) $data = "Flourescent";
-      else if($data==3) $data = "Tungsten";
-      else if($data==10) $data = "Flash";
-      else if($data==17) $data = "Standard Light A";
-      else if($data==18) $data = "Standard Light B";
-      else if($data==19) $data = "Standard Light C";
-      else if($data==20) $data = "D55";
-      else if($data==21) $data = "D65";
-      else if($data==22) $data = "D75";
-      else if($data==255) $data = "Other";
-      else $data = "Unknown: ".$data;
-    } else if($tag=="9209") { //Flash
-      if($data==0) $data = "No Flash";
-      else if($data==1) $data = "Flash";
-      else if($data==5) $data = "Flash, strobe return light not detected";
-      else if($data==7) $data = "Flash, strob return light detected";
-      else if($data==9) $data = "Compulsory Flash";
-      else if($data==13) $data = "Compulsory Flash, Return light not detected";
-      else if($data==15) $data = "Compulsory Flash, Return light detected";
-      else if($data==16) $data = "No Flash";
-      else if($data==24) $data = "No Flash";
-      else if($data==25) $data = "Flash, Auto-Mode";
-      else if($data==29) $data = "Flash, Auto-Mode, Return light not detected";
-      else if($data==31) $data = "Flash, Auto-Mode, Return light detected";
-      else if($data==32) $data = "No Flash";
-      else if($data==65) $data = "Red Eye";
-      else if($data==69) $data = "Red Eye, Return light not detected";
-      else if($data==71) $data = "Red Eye, Return light detected";
-      else if($data==73) $data = "Red Eye, Compulsory Flash";
-      else if($data==77) $data = "Red Eye, Compulsory Flash, Return light not detected";
-      else if($data==79) $data = "Red Eye, Compulsory Flash, Return light detected";
-      else if($data==89) $data = "Red Eye, Auto-Mode";
-      else if($data==93) $data = "Red Eye, Auto-Mode, Return light not detected";
-      else if($data==95) $data = "Red Eye, Auto-Mode, Return light detected";
-      else $data = "Unknown: ".$data;
-    } else if($tag=="a001") { //ColorSpace
-      if($data==1) $data = "sRGB";
-      else $data = "Uncalibrated";
-    } else if($tag=="a002" || $tag=="a003") { //ExifImageWidth/Height
-      $data = $data. " pixels";
-    } else if($tag=="0103") { //Compression
-      if($data==1) $data = "No Compression";
-      else if($data==6) $data = "Jpeg Compression";
-      else $data = "Unknown: ".$data;
-    } else if($tag=="a217") { //SensingMethod
-      if($data==1) $data = "Not defined";
-      if($data==2) $data = "One Chip Color Area Sensor";
-      if($data==3) $data = "Two Chip Color Area Sensor";
-      if($data==4) $data = "Three Chip Color Area Sensor";
-      if($data==5) $data = "Color Sequential Area Sensor";
-      if($data==7) $data = "Trilinear Sensor";
-      if($data==8) $data = "Color Sequential Linear Sensor";
-      else $data = "Unknown: ".$data;
-    } else if($tag=="0106") { //PhotometricInterpretation
-      if($data==1) $data = "Monochrome";
-      else if($data==2) $data = "RGB";
-      else if($data==6) $data = "YCbCr";
-      else $data = "Unknown: ".$data;
-    }
-
-  } else if($type=="UNDEFINED") {
-
-    if($tag=="9000" || $tag=="a000" || $tag=="0002") { //ExifVersion,FlashPixVersion,InteroperabilityVersion
-      $data="version ".$data/100;
-    }
-    if($tag=="a300") { //FileSource
-      $data = bin2hex($data);
-      $data = str_replace("00","",$data);
-      $data = str_replace("03","Digital Still Camera",$data);
-    }
-    if($tag=="a301") { //SceneType
-      $data = bin2hex($data);
-      $data = str_replace("00","",$data);
-      $data = str_replace("01","Directly Photographed",$data);
-    }
-    if($tag=="9101") {  //ComponentsConfiguration
-      $data = bin2hex($data);
-      $data = str_replace("01","Y",$data);
-      $data = str_replace("02","Cb",$data);
-      $data = str_replace("03","Cr",$data);
-      $data = str_replace("04","R",$data);
-      $data = str_replace("05","G",$data);
-      $data = str_replace("06","B",$data);
-      $data = str_replace("00","",$data);
-    }
-  } else {
-    $data = bin2hex($data);
-    if($intel==1) $data = intel2Moto($data);
-  }
-
-  return $data;
-}
-
-//================================================================================================
-//================================================================================================
-// Reads one standard IFD entry
-//================================================================================================
-//================================================================================================
-function read_entry(&$result,$in,$seek,$intel,$ifd_name,$globalOffset) {
-
-  if(feof($in)) { //test to make sure we can still read.
-    $result['Errors'] = $result['Errors']+1;
-    return;
-  }
-
-  //2 byte tag
-  $tag = bin2hex(fread( $in, 2 ));
-  if($intel==1) $tag = intel2Moto($tag);
-  $tag_name = lookup_tag($tag);
-
-  //2 byte datatype
-  $type = bin2hex(fread( $in, 2 ));
-  if($intel==1) $type = intel2Moto($type);
-  lookup_type($type,$size);
-
-  //4 byte number of elements
-  $count = bin2hex(fread( $in, 4 ));
-  if($intel==1) $count = intel2Moto($count);
-  $bytesofdata = $size*hexdec($count);
-
-  //4 byte value or pointer to value if larger than 4 bytes
-  $value = fread( $in, 4 );
-
-  if($bytesofdata<=4) {   //if datatype is 4 bytes or less, its the value
-    $data = $value;
-  } else if($bytesofdata<100000) {        //otherwise its a pointer to the value, so lets go get it
-    $value = bin2hex($value);
-    if($intel==1) $value = intel2Moto($value);
-    $v = fseek($seek,$globalOffset+hexdec($value));  //offsets are from TIFF header which is 12 bytes from the start of the file
-    if($v==0) {
-      $data = fread($seek, $bytesofdata);
-    } else if($v==-1) {
-      $result['Errors'] = $result['Errors']+1;
-    }
-  } else { //bytesofdata was too big, so the exif had an error
-    $result['Errors'] = $result['Errors']+1;
-    return;
-  }
-  if($tag_name=="MakerNote") { //if its a maker tag, we need to parse this specially
-    $make = $result['IFD0']['Make'];
-
-    if($result['VerboseOutput']==1) {
-      $result[$ifd_name]['MakerNote']['RawData'] = $data;
-    }
-    if(eregi("NIKON",$make)) {
-      require_once('makers/nikon.php');
-      parseNikon($data,$result);
-      $result[$ifd_name]['KnownMaker'] = 1;
-    } else if(eregi("OLYMPUS",$make)) {
-      require_once('makers/olympus.php');
-      parseOlympus($data,$result,$seek,$globalOffset);
-      $result[$ifd_name]['KnownMaker'] = 1;
-    } else if(eregi("Canon",$make)) {
-      require_once('makers/canon.php');
-      parseCanon($data,$result,$seek,$globalOffset);
-      $result[$ifd_name]['KnownMaker'] = 1;
-    } else if(eregi("FUJIFILM",$make)) {
-      require_once('makers/fujifilm.php');
-      parseFujifilm($data,$result);
-      $result[$ifd_name]['KnownMaker'] = 1;
-    } else if(eregi("SANYO",$make)) {
-      require_once('makers/sanyo.php');
-      parseSanyo($data,$result,$seek,$globalOffset);
-      $result[$ifd_name]['KnownMaker'] = 1;
-    } else {
-      $result[$ifd_name]['KnownMaker'] = 0;
-    }
-  } else if($tag_name=="GPSInfoOffset") {
-    require_once('makers/gps.php');
-    $formated_data = formatData($type,$tag,$intel,$data);
-    $result[$ifd_name]['GPSInfo'] = $formated_data;
-    parseGPS($data,$result,$formated_data,$seek,$globalOffset);
-  } else {
-    //Format the data depending on the type and tag
-    $formated_data = formatData($type,$tag,$intel,$data);
-
-    $result[$ifd_name][$tag_name] = $formated_data;
-
-    if($result['VerboseOutput']==1) {
-      if($type=="URATIONAL" || $type=="SRATIONAL" || $type=="USHORT" || $type=="SSHORT" || $type=="ULONG" || $type=="SLONG" || $type=="FLOAT" || $type=="DOUBLE") {
-        $data = bin2hex($data);
-        if($intel==1) $data = intel2Moto($data);
-      }
-      $result[$ifd_name][$tag_name."_Verbose"]['RawData'] = $data;
-      $result[$ifd_name][$tag_name."_Verbose"]['Type'] = $type;
-      $result[$ifd_name][$tag_name."_Verbose"]['Bytes'] = $bytesofdata;
-    }
-  }
-}
-
-//================================================================================================
-//================================================================================================
-// Pass in a file and this reads the EXIF data
-//
-// Usefull resources
-// http://www.ba.wakwak.com/~tsuruzoh/Computer/Digicams/exif-e.html
-// http://www.w3.org/Graphics/JPEG/jfif.txt
-// http://exif.org/
-// http://www.ozhiker.com/electronics/pjmt/library/list_contents.php4
-// http://www.ozhiker.com/electronics/pjmt/jpeg_info/makernotes.html
-// http://pel.sourceforge.net/
-// http://us2.php.net/manual/en/function.exif-read-data.php
-//================================================================================================
-//================================================================================================
-function read_exif_data_raw($path,$verbose) {
-
-  if($path=='' || $path=='none') return;
-
-  $in = @fopen($path, "rb"); //the b is for windows machines to open in binary mode
-  $seek = @fopen($path, "rb"); //There may be an elegant way to do this with one file handle.
-
-  $globalOffset = 0;
-
-  if(!isset($verbose)) $verbose=0;
-
-  $result['VerboseOutput'] = $verbose;
-  $result['Errors'] = 0;
-
-  if(!$in || !$seek) {  //if the path was invalid, this error will catch it
-    $result['Errors'] = 1;
-    $result['Error'][$result['Errors']] = "The file could not be found.";
-    return $result;
-  }
-
-  //First 2 bytes of JPEG are 0xFFD8
-  $data = bin2hex(fread( $in, 2 ));
-  if($data=="ffd8") {
-    $result['ValidJpeg'] = 1;
-  } else {
-    $result['ValidJpeg'] = 0;
-    fclose($in);
-    fclose($seek);
-    return $result;
-  }
-
-  $result['ValidIPTCData'] = 0;
-  $result['ValidJFIFData'] = 0;
-  $result['ValidEXIFData'] = 0;
-  $result['ValidAPP2Data'] = 0;
-  $result['ValidCOMData'] = 0;
-
-  //Next 2 bytes are MARKER tag (0xFFE#)
-  $data = bin2hex(fread( $in, 2 ));
-  $size = bin2hex(fread( $in, 2 ));
-
-  //LOOP THROUGH MARKERS TILL YOU GET TO FFE1 (exif marker)
-  while(!feof($in) && $data!="ffe1" && $data!="ffc0" && $data!="ffd9") {
-    if($data=="ffe0") { //JFIF Marker
-      $result['ValidJFIFData'] = 1;
-      $result['JFIF']['Size'] = hexdec($size);
-
-      if(hexdec($size)-2 > 0) {
-        $data = fread( $in, hexdec($size)-2);
-        $result['JFIF']['Data'] = $data;
-      }
-
-      $result['JFIF']['Identifier'] = substr($data,0,5);
-      $result['JFIF']['ExtensionCode'] =  bin2hex(substr($data,6,1));
-
-      $globalOffset+=hexdec($size)+2;
-
-    } else if($data=="ffed") {  //IPTC Marker
-      $result['ValidIPTCData'] = 1;
-      $result['IPTC']['Size'] = hexdec($size);
-
-      if(hexdec($size)-2 > 0) {
-        $data = fread( $in, hexdec($size)-2);
-        $result['IPTC']['Data'] = $data ;
-      }
-      $globalOffset+=hexdec($size)+2;
-
-    } else if($data=="ffe2") {  //EXIF extension Marker
-      $result['ValidAPP2Data'] = 1;
-      $result['APP2']['Size'] = hexdec($size);
-
-      if(hexdec($size)-2 > 0) {
-        $data = fread( $in, hexdec($size)-2);
-        $result['APP2']['Data'] = $data ;
-      }
-      $globalOffset+=hexdec($size)+2;
-
-    } else if($data=="fffe") {  //COM extension Marker
-      $result['ValidCOMData'] = 1;
-      $result['COM']['Size'] = hexdec($size);
-
-      if(hexdec($size)-2 > 0) {
-        $data = fread( $in, hexdec($size)-2);
-        $result['COM']['Data'] = $data ;
-      }
-      $globalOffset+=hexdec($size)+2;
-
-    } else if($data=="ffe1") {
-      $result['ValidEXIFData'] = 1;
-    }
-
-    $data = bin2hex(fread( $in, 2 ));
-    $size = bin2hex(fread( $in, 2 ));
-  }
-  //END MARKER LOOP
-
-  if($data=="ffe1") {
-    $result['ValidEXIFData'] = 1;
-  } else {
-    fclose($in);
-    fclose($seek);
-    return $result;
-  }
-
-  //Size of APP1
-  $result['APP1Size'] = hexdec($size);
-
-  //Start of APP1 block starts with "Exif" header (6 bytes)
-  $header = fread( $in, 6 );
-
-  //Then theres a TIFF header with 2 bytes of endieness (II or MM)
-  $header = fread( $in, 2 );
-  if($header==="II") {
-    $intel=1;
-    $result['Endien'] = "Intel";
-  } else if($header==="MM") {
-    $intel=0;
-    $result['Endien'] = "Motorola";
-  } else {
-    $intel=1; //not sure what the default should be, but this seems reasonable
-    $result['Endien'] = "Unknown";
-  }
-
-  //2 bytes of 0x002a
-  $tag = bin2hex(fread( $in, 2 ));
-
-  //Then 4 bytes of offset to IFD0 (usually 8 which includes all 8 bytes of TIFF header)
-  $offset = bin2hex(fread( $in, 4 ));
-  if($intel==1) $offset = intel2Moto($offset);
-
-  // Check for extremely large values here
-  if(hexdec($offset) > 100000) {
-      $result['ValidEXIFData'] = 0;
-    fclose($in);
-    fclose($seek);
-    return $result;
-  }
-
-  if(hexdec($offset)>8) $unknown = fread( $in, hexdec($offset)-8); //fixed this bug in 1.3
-
-  //add 12 to the offset to account for TIFF header
-  $globalOffset+=12;
-
-
-  //===========================================================Start of IFD0
-  $num = bin2hex(fread( $in, 2 ));
-  if($intel==1) $num = intel2Moto($num);
-  $num = hexdec($num);
-  $result['IFD0NumTags'] = $num;
-
-  if($num<1000) { //1000 entries is too much and is probably an error.
-    for($i=0;$i<$num;$i++) {
-      read_entry($result,$in,$seek,$intel,"IFD0",$globalOffset);
-    }
-  } else {
-    $result['Errors'] = $result['Errors']+1;
-    $result['Error'][$result['Errors']] = "Illegal size for IFD0";
-  }
-
-  //store offset to IFD1
-  $offset = bin2hex(fread( $in, 4 ));
-  if($intel==1) $offset = intel2Moto($offset);
-  $result['IFD1Offset'] = hexdec($offset);
-
-  //Check for SubIFD
-  if(!isset($result['IFD0']['ExifOffset']) || $result['IFD0']['ExifOffset']==0) {
-    fclose($in);
-    fclose($seek);
-    return $result;
-  }
-
-  //seek to SubIFD (Value of ExifOffset tag) above.
-  $ExitOffset = $result['IFD0']['ExifOffset'];
-  $v = fseek($in,$globalOffset+$ExitOffset);
-  if($v==-1) {
-    $result['Errors'] = $result['Errors']+1;
-    $result['Error'][$result['Errors']] = "Couldnt Find SubIFD";
-  }
-
-  //===========================================================Start of SubIFD
-  $num = bin2hex(fread( $in, 2 ));
-  if($intel==1) $num = intel2Moto($num);
-  $num = hexdec($num);
-  $result['SubIFDNumTags'] = $num;
-
-  if($num<1000) { //1000 entries is too much and is probably an error.
-    for($i=0;$i<$num;$i++) {
-      read_entry($result,$in,$seek,$intel,"SubIFD",$globalOffset);
-    }
-  } else {
-    $result['Errors'] = $result['Errors']+1;
-    $result['Error'][$result['Errors']] = "Illegal size for SubIFD";
-  }
-
-  //Check for IFD1
-  if(!isset($result['IFD1Offset']) || $result['IFD1Offset']==0) {
-    fclose($in);
-    fclose($seek);
-    return $result;
-  }
-  //seek to IFD1
-  $v = fseek($in,$globalOffset+$result['IFD1Offset']);
-  if($v==-1) {
-    $result['Errors'] = $result['Errors']+1;
-    $result['Error'][$result['Errors']] = "Couldnt Find IFD1";
-  }
-
-  //===========================================================Start of IFD1
-  $num = bin2hex(fread( $in, 2 ));
-  if($intel==1) $num = intel2Moto($num);
-  $num = hexdec($num);
-  $result['IFD1NumTags'] = $num;
-
-  if($num<1000) { //1000 entries is too much and is probably an error.
-    for($i=0;$i<$num;$i++) {
-      read_entry($result,$in,$seek,$intel,"IFD1",$globalOffset);
-    }
-  } else {
-    $result['Errors'] = $result['Errors']+1;
-    $result['Error'][$result['Errors']] = "Illegal size for IFD1";
-  }
-  //if verbose output is on, stick in the thumbnail raw data
-  if($result['VerboseOutput']==1 && $result['IFD1']['JpegIFOffset']>0 && $result['IFD1']['JpegIFByteCount']>0) {
-      $v = fseek($seek,$globalOffset+$result['IFD1']['JpegIFOffset']);
-      if($v==0) {
-        $data = fread($seek, $result['IFD1']['JpegIFByteCount']);
-      } else if($v==-1) {
-        $result['Errors'] = $result['Errors']+1;
-      }
-      $result['IFD1']["ThumbnailData"] = $data;
-  }
-
-
-  //Check for Interoperability IFD
-  if(!isset($result['SubIFD']['ExifInteroperabilityOffset']) || $result['SubIFD']['ExifInteroperabilityOffset']==0) {
-    fclose($in);
-    fclose($seek);
-    return $result;
-  }
-  //seek to InteroperabilityIFD
-  $v = fseek($in,$globalOffset+$result['SubIFD']['ExifInteroperabilityOffset']);
-  if($v==-1) {
-    $result['Errors'] = $result['Errors']+1;
-    $result['Error'][$result['Errors']] = "Couldnt Find InteroperabilityIFD";
-  }
-
-  //===========================================================Start of InteroperabilityIFD
-  $num = bin2hex(fread( $in, 2 ));
-  if($intel==1) $num = intel2Moto($num);
-  $num = hexdec($num);
-  $result['InteroperabilityIFDNumTags'] = $num;
-
-  if($num<1000) { //1000 entries is too much and is probably an error.
-    for($i=0;$i<$num;$i++) {
-      read_entry($result,$in,$seek,$intel,"InteroperabilityIFD",$globalOffset);
-    }
-  } else {
-    $result['Errors'] = $result['Errors']+1;
-    $result['Error'][$result['Errors']] = "Illegal size for InteroperabilityIFD";
-  }
-  fclose($in);
-  fclose($seek);
-  return $result;
-}
-
-//================================================================================================
-//================================================================================================
-// Converts a floating point number into a fraction.  Many thanks to Matthieu Froment for this code
-//================================================================================================
-//================================================================================================
-function ConvertToFraction($v, &$n, &$d)
-{
-  $MaxTerms = 15;         //Limit to prevent infinite loop
-  $MinDivisor = 0.000001; //Limit to prevent divide by zero
-  $MaxError = 0.00000001; //How close is enough
-
-  $f = $v; //Initialize fraction being converted
-
-  $n_un = 1; //Initialize fractions with 1/0, 0/1
-  $d_un = 0;
-  $n_deux = 0;
-  $d_deux = 1;
-
-  for ($i = 0;$i<$MaxTerms;$i++)
-  {
-    $a = floor($f); //Get next term
-    $f = $f - $a; //Get new divisor
-    $n = $n_un * $a + $n_deux; //Calculate new fraction
-    $d = $d_un * $a + $d_deux;
-    $n_deux = $n_un; //Save last two fractions
-    $d_deux = $d_un;
-    $n_un = $n;
-    $d_un = $d;
-
-    if ($f < $MinDivisor) //Quit if dividing by zero
-      break;
-
-    if (abs($v - $n / $d) < $MaxError)
-      break;
-
-    $f = 1 / $f; //Take reciprocal
-  }
-}
-?>
+<?php
+/*************************
+  Coppermine Photo Gallery
+  ************************
+  Copyright (c) 2003-2009 Coppermine Dev Team
+  v1.1 originally written by Gregory DEMAR
+
+  This program is free software; you can redistribute it and/or modify
+  it under the terms of the GNU General Public License version 3
+  as published by the Free Software Foundation.
+  
+  ********************************************
+  Coppermine version: 1.4.25
+  $HeadURL: https://coppermine.svn.sourceforge.net/svnroot/coppermine/trunk/cpg1.4.x/include/exif.php $
+  $Revision: 5997 $
+  $Author: gaugau $
+  $Date: 2009-05-26 08:43:24 +0200 (Di, 26 Mai 2009) $
+**********************************************/
+
+/*
+//================================================================================================
+//================================================================================================
+//================================================================================================
+/*
+  Exifer 1.5
+  Extracts EXIF information from digital photos.
+
+  Copyright  2005 Jake Olefsky
+  http://www.offsky.com/software/exif/index.php
+  jake@olefsky.com
+
+  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 
+
+  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. http://www.gnu.org/copyleft/gpl.html
+
+  SUMMARY:
+        This script will correctly parse all of the EXIF data included in images taken
+        with digital cameras.  It will read the IDF0, IDF1, SubIDF and InteroperabilityIFD
+        fields as well as parsing some of the MakerNote fields that vary depending on
+        camera make and model.  This script parses more tags than the internal PHP exif
+        implementation and it will correctly identify and decode what all the values mean.
+
+        This version will correctly parse the MakerNote field for Nikon, Olympus, and Canon
+        digital cameras.  Others will follow.
+
+  TESTED WITH:
+        Nikon CoolPix 700
+        Nikon CoolPix 4500
+        Nikon CoolPix 950
+        Nikon Coolpix 5700
+        Canon PowerShot S200
+        Canon PowerShot S110
+        Olympus C2040Z
+        Olympus C960
+        Canon Ixus
+        Canon EOS 300D
+        Canon Digital Rebel
+        Canon EOS 10D
+        Canon PowerShot G2
+        FujiFilm DX 10
+        FujiFilm MX-1200
+        FujiFilm FinePix2400
+        FujiFilm FinePix2600
+        FujiFilm FinePix S602
+        FujiFilm FinePix40i
+        Sony D700
+        Sony Cybershot
+        Kodak DC210
+        Kodak DC240
+        Kodak DC4800
+        Kodak DX3215
+        Ricoh RDC-5300
+        Sanyo VPC-G250
+        Sanyo VPC-SX550
+        Epson 3100z
+
+  If you improve this script or test it with a camera not on my list, please email me a copy of
+  the improvement so everyone can benefit from it.  Thanks!
+
+
+  VERSION HISTORY:
+
+  1.0   Sept 23, 2002
+
+      First Public Release
+
+  1.1   Jan 25, 2003
+
+      +Gracefully handled the error case where you pass an empty string to this library
+      +Fixed an inconsistency in the Olympus Camera parsing module
+      +Added support for parsing the MakerNote of Canon images.
+      +Modified how the imagefile is opened so it works for windows machines.
+      +Correctly parses the FocalPlaneResolutionUnit and PhotometricInterpretation fields
+      +Negative rational numbers are properly displayed
+      +Strange old cameras that use Motorola endineness are now properly supported
+      +Tested with several more cameras
+
+      Potential Problem: Negative Shorts and Negative Longs may not be correctly displayed, but I
+        have not yet found an example of negative shorts or longs being used.
+
+  1.2   Mar 30, 2003
+
+      +Fixed an error that was displayed if you edited your image with WinXP's image viewer
+      +Fixed a bug that caused some images saved from 3rd party software to not parse correctly
+      +Changed the ExposureTime tag to display in fractional seconds rather than decimal
+      +Updated the ShutterSpeedValue tag to have the units of 'sec'
+      +Added support for parsing the MakeNote of FujiFilm images
+      +Added support for parsing the MakeNote of Sanyo images
+      +Fixed a bug with parsing some Olympus MakerNote tags
+      +Tested with several more cameras
+
+  1.3   Jun 15, 2003
+
+      +Fixed Canon MakerNote support for some models
+        (Canon has very difficult and inconsistent MakerNote syntax)
+      +Negative signed shorts and negative signed longs are properly displayed
+      +Several more tags are defined
+      +More information in my comments about what each tag is
+      +Parses and Displays GPS information if available
+      +Tested with several more cameras
+
+  1.4   Sept 14, 2003
+
+      +This software is now licensed under the GNU General Public License
+      +Exposure time is now correctly displayed when the numerator is 10
+      +Fixed the calculation and display of ShutterSpeedValue, ApertureValue and MaxApertureValue
+      +Fixed a bug with the GPS code
+      +Tested with several more cameras
+
+  1.5   Feb 18, 2005
+
+      +It now gracefully deals with a passed in file that cannot be found.
+      +Fixed a GPS bug for the parsing of Altitude and other signed rational numbers
+      +Defined more values for Canon cameras.
+      +Added "bulb" detection for ShutterSpeed
+      +Made script loading a little faster and less memory intensive.
+      +Bug fixes
+      +Better error reporting
+      +Graceful failure for files with corrupt exif info.
+      +QuickTime (including iPhoto) messes up the Makernote tag for certain photos (no workaround yet)
+      +Now reads exif information when the jpeg markers are out of order
+      +Gives raw data output for IPTC, COM and APP2 fields which are sometimes set by other applications
+      +Improvements to Nikon Makernote parsing
+*/
+//================================================================================================
+//================================================================================================
+//================================================================================================
+
+
+
+
+//================================================================================================
+//================================================================================================
+// Converts from Intel to Motorola endien.  Just reverses the bytes (assumes hex is passed in)
+//================================================================================================
+//================================================================================================
+function intel2Moto($intel) {
+  $len = strlen($intel);
+  $moto="";
+  for($i=0; $i<=$len; $i+=2) {
+    $moto.=substr($intel,$len-$i,2);
+  }
+  return $moto;
+}
+
+//================================================================================================
+//================================================================================================
+// Looks up the name of the tag
+//================================================================================================
+//================================================================================================
+function lookup_tag($tag) {
+  switch($tag) {
+
+      //used by IFD0 "Camera Tags"
+    case "000b": $tag = "ACDComment";break;           //text string up to 999 bytes long
+    case "00fe": $tag = "ImageType";break;            //integer -2147483648 to 2147483647
+    case "0106": $tag = "PhotometricInterpret";break;     //?? Please send sample image with this tag
+    case "010e": $tag = "ImageDescription";break;       //text string up to 999 bytes long
+    case "010f": $tag = "Make";break;             //text string up to 999 bytes long
+    case "0110": $tag = "Model";break;              //text string up to 999 bytes long
+    case "0112": $tag = "Orientation";break;          //integer values 1-9
+    case "0115": $tag = "SamplePerPixel";break;         //integer 0-65535
+    case "011a": $tag = "xResolution";break;          //positive rational number
+    case "011b": $tag = "yResolution";break;          //positive rational number
+    case "011c": $tag = "PlanarConfig";break;         //integer values 1-2
+    case "0128": $tag = "ResolutionUnit";break;         //integer values 1-3
+    case "0131": $tag = "Software";break;           //text string up to 999 bytes long
+    case "0132": $tag = "DateTime";break;           //YYYY:MM:DD HH:MM:SS
+    case "013b": $tag = "Artist";break;             //text string up to 999 bytes long
+    case "013c": $tag = "HostComputer";break;         //text string
+    case "013e": $tag = "WhitePoint";break;           //two positive rational numbers
+    case "013f": $tag = "PrimaryChromaticities";break;      //six positive rational numbers
+    case "0211": $tag = "YCbCrCoefficients";break;        //three positive rational numbers
+    case "0213": $tag = "YCbCrPositioning";break;       //integer values 1-2
+    case "0214": $tag = "ReferenceBlackWhite";break;      //six positive rational numbers
+    case "8298": $tag = "Copyright";break;            //text string up to 999 bytes long
+    case "8649": $tag = "PhotoshopSettings";break;        //??
+    case "8825": $tag = "GPSInfoOffset";break;
+    case "9286": $tag = "UserCommentOld";break;         //??
+    case "8769": $tag = "ExifOffset";break;           //positive integer
+
+      //used by Exif SubIFD "Image Tags"
+    case "829a": $tag = "ExposureTime";break;         //seconds or fraction of seconds 1/x
+    case "829d": $tag = "FNumber";break;            //positive rational number
+    case "8822": $tag = "ExposureProgram";break;        //integer value 1-9
+    case "8824": $tag = "SpectralSensitivity";break;      //??
+    case "8827": $tag = "ISOSpeedRatings";break;        //integer 0-65535
+    case "9000": $tag = "ExifVersion";break;          //??
+    case "9003": $tag = "DateTimeOriginal";break;       //YYYY:MM:DD HH:MM:SS
+    case "9004": $tag = "DateTimedigitized";break;        //YYYY:MM:DD HH:MM:SS
+    case "9101": $tag = "ComponentsConfiguration";break;    //??
+    case "9102": $tag = "CompressedBitsPerPixel";break;     //positive rational number
+    case "9201": $tag = "ShutterSpeedValue";break;        //seconds or fraction of seconds 1/x
+    case "9202": $tag = "ApertureValue";break;          //positive rational number
+    case "9203": $tag = "BrightnessValue";break;        //positive rational number
+    case "9204": $tag = "ExposureBiasValue";break;        //positive rational number (EV)
+    case "9205": $tag = "MaxApertureValue";break;       //positive rational number
+    case "9206": $tag = "SubjectDistance";break;        //positive rational number (meters)
+    case "9207": $tag = "MeteringMode";break;         //integer 1-6 and 255
+    case "9208": $tag = "LightSource";break;          //integer 1-255
+    case "9209": $tag = "Flash";break;              //integer 1-255
+    case "920a": $tag = "FocalLength";break;          //positive rational number (mm)
+    case "9213": $tag = "ImageHistory";break;         //text string up to 999 bytes long
+    case "927c": $tag = "MakerNote";break;            //a bunch of data
+    case "9286": $tag = "UserComment";break;          //text string
+    case "9290": $tag = "SubsecTime";break;           //text string up to 999 bytes long
+    case "9291": $tag = "SubsecTimeOriginal";break;       //text string up to 999 bytes long
+    case "9292": $tag = "SubsecTimeDigitized";break;      //text string up to 999 bytes long
+    case "a000": $tag = "FlashPixVersion";break;        //??
+    case "a001": $tag = "ColorSpace";break;           //values 1 or 65535
+    case "a002": $tag = "ExifImageWidth";break;         //ingeter 1-65535
+    case "a003": $tag = "ExifImageHeight";break;        //ingeter 1-65535
+    case "a004": $tag = "RelatedSoundFile";break;       //text string 12 bytes long
+    case "a005": $tag = "ExifInteroperabilityOffset";break;   //positive integer
+    case "a20c": $tag = "SpacialFreqResponse";break;      //??
+    case "a20b": $tag = "FlashEnergy";break;          //positive rational number
+    case "a20e": $tag = "FocalPlaneXResolution";break;      //positive rational number
+    case "a20f": $tag = "FocalPlaneYResolution";break;      //positive rational number
+    case "a210": $tag = "FocalPlaneResolutionUnit";break;   //values 1-3
+    case "a214": $tag = "SubjectLocation";break;        //two integers 0-65535
+    case "a215": $tag = "ExposureIndex";break;          //positive rational number
+    case "a217": $tag = "SensingMethod";break;          //values 1-8
+    case "a300": $tag = "FileSource";break;           //integer
+    case "a301": $tag = "SceneType";break;            //integer
+    case "a302": $tag = "CFAPattern";break;           //undefined data type
+
+    case "a401": $tag = "CustomerRender";break;         //values 0 or 1
+    case "a402": $tag = "ExposureMode";break;         //values 0-2
+    case "a403": $tag = "WhiteBalance";break;         //values 0 or 1
+    case "a404": $tag = "DigitalZoomRatio";break;       //positive rational number
+    case "a406": $tag = "SceneCaptureMode";break;       //values 0-3
+    case "a407": $tag = "GainControl";break;          //values 0-4
+    case "a408": $tag = "Contrast";break;           //values 0-2
+    case "a409": $tag = "Saturation";break;           //values 0-2
+    case "a40a": $tag = "Sharpness";break;            //values 0-2
+
+
+      //used by Interoperability IFD
+    case "0001": $tag = "InteroperabilityIndex";break;      //text string 3 bytes long
+    case "0002": $tag = "InteroperabilityVersion";break;    //datatype undefined
+    case "1000": $tag = "RelatedImageFileFormat";break;     //text string up to 999 bytes long
+    case "1001": $tag = "RelatedImageWidth";break;        //integer in range 0-65535
+    case "1002": $tag = "RelatedImageLength";break;       //integer in range 0-65535
+
+      //used by IFD1 "Thumbnail"
+    case "0100": $tag = "ImageWidth";break;           //integer in range 0-65535
+    case "0101": $tag = "ImageLength";break;          //integer in range 0-65535
+    case "0102": $tag = "BitsPerSample";break;          //integers in range 0-65535
+    case "0103": $tag = "Compression";break;          //values 1 or 6
+    case "0106": $tag = "PhotometricInterpretation";break;    //values 0-4
+    case "010e": $tag = "ThumbnailDescription";break;     //text string up to 999 bytes long
+    case "010f": $tag = "ThumbnailMake";break;          //text string up to 999 bytes long
+    case "0110": $tag = "ThumbnailModel";break;         //text string up to 999 bytes long
+    case "0111": $tag = "StripOffsets";break;         //??
+    case "0112": $tag = "ThumbnailOrientation";break;     //integer 1-9
+    case "0115": $tag = "SamplesPerPixel";break;        //??
+    case "0116": $tag = "RowsPerStrip";break;         //??
+    case "0117": $tag = "StripByteCounts";break;        //??
+    case "011a": $tag = "ThumbnailXResolution";break;     //positive rational number
+    case "011b": $tag = "ThumbnailYResolution";break;     //positive rational number
+    case "011c": $tag = "PlanarConfiguration";break;      //values 1 or 2
+    case "0128": $tag = "ThumbnailResolutionUnit";break;    //values 1-3
+    case "0201": $tag = "JpegIFOffset";break;
+    case "0202": $tag = "JpegIFByteCount";break;
+    case "0212": $tag = "YCbCrSubSampling";break;
+
+      //misc
+    case "00ff": $tag = "SubfileType";break;
+    case "012d": $tag = "TransferFunction";break;
+    case "013d": $tag = "Predictor";break;
+    case "0142": $tag = "TileWidth";break;
+    case "0143": $tag = "TileLength";break;
+    case "0144": $tag = "TileOffsets";break;
+    case "0145": $tag = "TileByteCounts";break;
+    case "014a": $tag = "SubIFDs";break;
+    case "015b": $tag = "JPEGTables";break;
+    case "828d": $tag = "CFARepeatPatternDim";break;
+    case "828e": $tag = "CFAPattern";break;
+    case "828f": $tag = "BatteryLevel";break;
+    case "83bb": $tag = "IPTC/NAA";break;
+    case "8773": $tag = "InterColorProfile";break;
+
+    case "8828": $tag = "OECF";break;
+    case "8829": $tag = "Interlace";break;
+    case "882a": $tag = "TimeZoneOffset";break;
+    case "882b": $tag = "SelfTimerMode";break;
+    case "920b": $tag = "FlashEnergy";break;
+    case "920c": $tag = "SpatialFrequencyResponse";break;
+    case "920d": $tag = "Noise";break;
+    case "9211": $tag = "ImageNumber";break;
+    case "9212": $tag = "SecurityClassification";break;
+    case "9214": $tag = "SubjectLocation";break;
+    case "9215": $tag = "ExposureIndex";break;
+    case "9216": $tag = "TIFF/EPStandardID";break;
+    case "a20b": $tag = "FlashEnergy";break;
+
+    default: $tag = "unknown:".$tag;break;
+  }
+  return $tag;
+
+}
+
+//================================================================================================
+//================================================================================================
+// Looks up the datatype
+//================================================================================================
+//================================================================================================
+function lookup_type(&$type,&$size) {
+  switch($type) {
+    case "0001": $type = "UBYTE";$size=1;break;
+    case "0002": $type = "ASCII";$size=1;break;
+    case "0003": $type = "USHORT";$size=2;break;
+    case "0004": $type = "ULONG";$size=4;break;
+    case "0005": $type = "URATIONAL";$size=8;break;
+    case "0006": $type = "SBYTE";$size=1;break;
+    case "0007": $type = "UNDEFINED";$size=1;break;
+    case "0008": $type = "SSHORT";$size=2;break;
+    case "0009": $type = "SLONG";$size=4;break;
+    case "000a": $type = "SRATIONAL";$size=8;break;
+    case "000b": $type = "FLOAT";$size=4;break;
+    case "000c": $type = "DOUBLE";$size=8;break;
+    default: $type = "error:".$type;$size=0;break;
+  }
+  return $type;
+}
+
+//================================================================================================
+//================================================================================================
+// Formats Data for the data type
+//================================================================================================
+//================================================================================================
+function formatData($type,$tag,$intel,$data) {
+
+  if($type=="ASCII") {
+    //do nothing
+  } else if($type=="URATIONAL" || $type=="SRATIONAL") {
+    $data = bin2hex($data);
+    if($intel==1) $data = intel2Moto($data);
+
+    if($intel==1) $top = hexdec(substr($data,8,8));   //intel stores them bottom-top
+    else  $top = hexdec(substr($data,0,8));       //motorola stores them top-bottom
+
+    if($intel==1) $bottom = hexdec(substr($data,0,8));  //intel stores them bottom-top
+    else  $bottom = hexdec(substr($data,8,8));      //motorola stores them top-bottom
+
+    if($type=="SRATIONAL" && $top>2147483647) $top = $top - 4294967296;   //this makes the number signed instead of unsigned
+    if($bottom!=0) $data=$top/$bottom;
+    else if($top==0) $data = 0;
+    else $data=$top."/".$bottom;
+
+    if(($tag=="011a" || $tag=="011b") && $bottom==1) { //XResolution YResolution
+      $data=$top." dots per ResolutionUnit";
+    } else if($tag=="829a") { //Exposure Time
+      if($top/10 == 1) $data="1/".round($bottom/10, 0)." sec";
+      else $data=$top."/".$bottom." sec";
+    } else if($tag=="829d") { //FNumber
+      $data="f ".$data;
+    } else if($tag=="9204") { //ExposureBiasValue
+      $data=$data." EV";
+    } else if($tag=="9205" || $tag=="9202") { //ApertureValue and MaxApertureValue
+      //ApertureValue is given in the APEX Mode. Many thanks to Matthieu Froment for this code
+      //The formula is : Aperture = 2*log2(FNumber) <=> FNumber = e((Aperture.ln(2))/2)
+      $data = exp(($data*log(2))/2);
+      $data = round($data, 1);//Focal is given with a precision of 1 digit.
+      $data="f ".$data;
+    } else if($tag=="920a") { //FocalLength
+      $data=$data." mm";
+    } else if($tag=="9201") { //ShutterSpeedValue
+      // The ShutterSpeedValue is given in the APEX mode. Many thanks to Matthieu Froment for this code
+      // The formula is : Shutter = - log2(exposureTime) (Appendix C of EXIF spec.)
+      // Where shutter is in APEX, log2(exposure) = ln(exposure)/ln(2)
+      // So final formula is : exposure = exp(-ln(2).shutter)
+      // The formula can be developed : exposure = 1/(exp(ln(2).shutter))
+      $data = exp($data * log(2));
+      if ($data > 1) $data = floor($data);  //Drop the decimal.
+      if ($data > 0) {
+        $data = 1/$data; //Final calculation. We now have a floating number. Transform it in a pretty number
+        $n=0;$d=0;
+        ConvertToFraction($data, $n, $d);
+        if ($n>=1 && $d==1) $data = $n." sec"; //To avoid exposure times style 3/1 sec.
+        else $data = $n."/".$d." sec";
+      } else {
+        $data = "Bulb";
+      }
+    }
+
+  } else if($type=="USHORT" || $type=="SSHORT" || $type=="ULONG" || $type=="SLONG" || $type=="FLOAT" || $type=="DOUBLE") {
+    $data = bin2hex($data);
+    if($intel==1) $data = intel2Moto($data);
+    if($intel==0 && ($type=="USHORT" || $type=="SSHORT")) $data = substr($data,0,4);
+    $data=hexdec($data);
+
+    if($type=="SSHORT" && $data>32767) $data = $data - 65536; //this makes the number signed instead of unsigned
+    if($type=="SLONG" && $data>2147483647) $data = $data - 4294967296;  //this makes the number signed instead of unsigned
+
+    if($tag=="0112") { //Orientation
+      if($data==1) $data = "Normal (O deg)";
+      if($data==2) $data = "Mirrored";
+      if($data==3) $data = "Upsidedown";
+      if($data==4) $data = "Upsidedown Mirrored";
+      if($data==5) $data = "90 deg CW Mirrored";
+      if($data==6) $data = "90 deg CCW";
+      if($data==7) $data = "90 deg CCW Mirrored";
+      if($data==8) $data = "90 deg CW";
+    } else if($tag=="0128" || $tag=="a210" || $tag=="0128") {  //ResolutionUnit and FocalPlaneResolutionUnit and ThumbnailResolutionUnit
+      if($data==1) $data = "No Unit";
+      if($data==2) $data = "Inch";
+      if($data==3) $data = "Centimeter";
+    } else if($tag=="0213") { //YCbCrPositioning
+      if($data==1) $data = "Center of Pixel Array";
+      if($data==2) $data = "Datum Point";
+    } else if($tag=="8822") { //ExposureProgram
+      if($data==1) $data = "Manual";
+      else if($data==2) $data = "Program";
+      else if($data==3) $data = "Aperature Priority";
+      else if($data==4) $data = "Shutter Priority";
+      else if($data==5) $data = "Program Creative";
+      else if($data==6) $data = "Program Action";
+      else if($data==7) $data = "Portrat";
+      else if($data==8) $data = "Landscape";
+      else $data = "Unknown: ".$data;
+    } else if($tag=="9207") { //MeteringMode
+      if($data==0) $data = "Unknown";
+      else if($data==1) $data = "Average";
+      else if($data==2) $data = "Center Weighted Average";
+      else if($data==3) $data = "Spot";
+      else if($data==4) $data = "Multi-Spot";
+      else if($data==5) $data = "Multi-Segment";
+      else if($data==6) $data = "Partial";
+      else if($data==255) $data = "Other";
+      else $data = "Unknown: ".$data;
+    } else if($tag=="9208") { //LightSource
+      if($data==0) $data = "Unknown or Auto";
+      else if($data==1) $data = "Daylight";
+      else if($data==2) $data = "Flourescent";
+      else if($data==3) $data = "Tungsten";
+      else if($data==10) $data = "Flash";
+      else if($data==17) $data = "Standard Light A";
+      else if($data==18) $data = "Standard Light B";
+      else if($data==19) $data = "Standard Light C";
+      else if($data==20) $data = "D55";
+      else if($data==21) $data = "D65";
+      else if($data==22) $data = "D75";
+      else if($data==255) $data = "Other";
+      else $data = "Unknown: ".$data;
+    } else if($tag=="9209") { //Flash
+      if($data==0) $data = "No Flash";
+      else if($data==1) $data = "Flash";
+      else if($data==5) $data = "Flash, strobe return light not detected";
+      else if($data==7) $data = "Flash, strob return light detected";
+      else if($data==9) $data = "Compulsory Flash";
+      else if($data==13) $data = "Compulsory Flash, Return light not detected";
+      else if($data==15) $data = "Compulsory Flash, Return light detected";
+      else if($data==16) $data = "No Flash";
+      else if($data==24) $data = "No Flash";
+      else if($data==25) $data = "Flash, Auto-Mode";
+      else if($data==29) $data = "Flash, Auto-Mode, Return light not detected";
+      else if($data==31) $data = "Flash, Auto-Mode, Return light detected";
+      else if($data==32) $data = "No Flash";
+      else if($data==65) $data = "Red Eye";
+      else if($data==69) $data = "Red Eye, Return light not detected";
+      else if($data==71) $data = "Red Eye, Return light detected";
+      else if($data==73) $data = "Red Eye, Compulsory Flash";
+      else if($data==77) $data = "Red Eye, Compulsory Flash, Return light not detected";
+      else if($data==79) $data = "Red Eye, Compulsory Flash, Return light detected";
+      else if($data==89) $data = "Red Eye, Auto-Mode";
+      else if($data==93) $data = "Red Eye, Auto-Mode, Return light not detected";
+      else if($data==95) $data = "Red Eye, Auto-Mode, Return light detected";
+      else $data = "Unknown: ".$data;
+    } else if($tag=="a001") { //ColorSpace
+      if($data==1) $data = "sRGB";
+      else $data = "Uncalibrated";
+    } else if($tag=="a002" || $tag=="a003") { //ExifImageWidth/Height
+      $data = $data. " pixels";
+    } else if($tag=="0103") { //Compression
+      if($data==1) $data = "No Compression";
+      else if($data==6) $data = "Jpeg Compression";
+      else $data = "Unknown: ".$data;
+    } else if($tag=="a217") { //SensingMethod
+      if($data==1) $data = "Not defined";
+      if($data==2) $data = "One Chip Color Area Sensor";
+      if($data==3) $data = "Two Chip Color Area Sensor";
+      if($data==4) $data = "Three Chip Color Area Sensor";
+      if($data==5) $data = "Color Sequential Area Sensor";
+      if($data==7) $data = "Trilinear Sensor";
+      if($data==8) $data = "Color Sequential Linear Sensor";
+      else $data = "Unknown: ".$data;
+    } else if($tag=="0106") { //PhotometricInterpretation
+      if($data==1) $data = "Monochrome";
+      else if($data==2) $data = "RGB";
+      else if($data==6) $data = "YCbCr";
+      else $data = "Unknown: ".$data;
+    }
+
+  } else if($type=="UNDEFINED") {
+
+    if($tag=="9000" || $tag=="a000" || $tag=="0002") { //ExifVersion,FlashPixVersion,InteroperabilityVersion
+      $data="version ".$data/100;
+    }
+    if($tag=="a300") { //FileSource
+      $data = bin2hex($data);
+      $data = str_replace("00","",$data);
+      $data = str_replace("03","Digital Still Camera",$data);
+    }
+    if($tag=="a301") { //SceneType
+      $data = bin2hex($data);
+      $data = str_replace("00","",$data);
+      $data = str_replace("01","Directly Photographed",$data);
+    }
+    if($tag=="9101") {  //ComponentsConfiguration
+      $data = bin2hex($data);
+      $data = str_replace("01","Y",$data);
+      $data = str_replace("02","Cb",$data);
+      $data = str_replace("03","Cr",$data);
+      $data = str_replace("04","R",$data);
+      $data = str_replace("05","G",$data);
+      $data = str_replace("06","B",$data);
+      $data = str_replace("00","",$data);
+    }
+  } else {
+    $data = bin2hex($data);
+    if($intel==1) $data = intel2Moto($data);
+  }
+
+  return $data;
+}
+
+//================================================================================================
+//================================================================================================
+// Reads one standard IFD entry
+//================================================================================================
+//================================================================================================
+function read_entry(&$result,$in,$seek,$intel,$ifd_name,$globalOffset) {
+
+  if(feof($in)) { //test to make sure we can still read.
+    $result['Errors'] = $result['Errors']+1;
+    return;
+  }
+
+  //2 byte tag
+  $tag = bin2hex(fread( $in, 2 ));
+  if($intel==1) $tag = intel2Moto($tag);
+  $tag_name = lookup_tag($tag);
+
+  //2 byte datatype
+  $type = bin2hex(fread( $in, 2 ));
+  if($intel==1) $type = intel2Moto($type);
+  lookup_type($type,$size);
+
+  //4 byte number of elements
+  $count = bin2hex(fread( $in, 4 ));
+  if($intel==1) $count = intel2Moto($count);
+  $bytesofdata = $size*hexdec($count);
+
+  //4 byte value or pointer to value if larger than 4 bytes
+  $value = fread( $in, 4 );
+
+  if($bytesofdata<=4) {   //if datatype is 4 bytes or less, its the value
+    $data = $value;
+  } else if($bytesofdata<100000) {        //otherwise its a pointer to the value, so lets go get it
+    $value = bin2hex($value);
+    if($intel==1) $value = intel2Moto($value);
+    $v = fseek($seek,$globalOffset+hexdec($value));  //offsets are from TIFF header which is 12 bytes from the start of the file
+    if($v==0) {
+      $data = fread($seek, $bytesofdata);
+    } else if($v==-1) {
+      $result['Errors'] = $result['Errors']+1;
+    }
+  } else { //bytesofdata was too big, so the exif had an error
+    $result['Errors'] = $result['Errors']+1;
+    return;
+  }
+  if($tag_name=="MakerNote") { //if its a maker tag, we need to parse this specially
+    $make = $result['IFD0']['Make'];
+
+    if($result['VerboseOutput']==1) {
+      $result[$ifd_name]['MakerNote']['RawData'] = $data;
+    }
+    if(eregi("NIKON",$make)) {
+      require_once('makers/nikon.php');
+      parseNikon($data,$result);
+      $result[$ifd_name]['KnownMaker'] = 1;
+    } else if(eregi("OLYMPUS",$make)) {
+      require_once('makers/olympus.php');
+      parseOlympus($data,$result,$seek,$globalOffset);
+      $result[$ifd_name]['KnownMaker'] = 1;
+    } else if(eregi("Canon",$make)) {
+      require_once('makers/canon.php');
+      parseCanon($data,$result,$seek,$globalOffset);
+      $result[$ifd_name]['KnownMaker'] = 1;
+    } else if(eregi("FUJIFILM",$make)) {
+      require_once('makers/fujifilm.php');
+      parseFujifilm($data,$result);
+      $result[$ifd_name]['KnownMaker'] = 1;
+    } else if(eregi("SANYO",$make)) {
+      require_once('makers/sanyo.php');
+      parseSanyo($data,$result,$seek,$globalOffset);
+      $result[$ifd_name]['KnownMaker'] = 1;
+    } else {
+      $result[$ifd_name]['KnownMaker'] = 0;
+    }
+  } else if($tag_name=="GPSInfoOffset") {
+    require_once('makers/gps.php');
+    $formated_data = formatData($type,$tag,$intel,$data);
+    $result[$ifd_name]['GPSInfo'] = $formated_data;
+    parseGPS($data,$result,$formated_data,$seek,$globalOffset);
+  } else {
+    //Format the data depending on the type and tag
+    $formated_data = formatData($type,$tag,$intel,$data);
+
+    $result[$ifd_name][$tag_name] = $formated_data;
+
+    if($result['VerboseOutput']==1) {
+      if($type=="URATIONAL" || $type=="SRATIONAL" || $type=="USHORT" || $type=="SSHORT" || $type=="ULONG" || $type=="SLONG" || $type=="FLOAT" || $type=="DOUBLE") {
+        $data = bin2hex($data);
+        if($intel==1) $data = intel2Moto($data);
+      }
+      $result[$ifd_name][$tag_name."_Verbose"]['RawData'] = $data;
+      $result[$ifd_name][$tag_name."_Verbose"]['Type'] = $type;
+      $result[$ifd_name][$tag_name."_Verbose"]['Bytes'] = $bytesofdata;
+    }
+  }
+}
+
+//================================================================================================
+//================================================================================================
+// Pass in a file and this reads the EXIF data
+//
+// Usefull resources
+// http://www.ba.wakwak.com/~tsuruzoh/Computer/Digicams/exif-e.html
+// http://www.w3.org/Graphics/JPEG/jfif.txt
+// http://exif.org/
+// http://www.ozhiker.com/electronics/pjmt/library/list_contents.php4
+// http://www.ozhiker.com/electronics/pjmt/jpeg_info/makernotes.html
+// http://pel.sourceforge.net/
+// http://us2.php.net/manual/en/function.exif-read-data.php
+//================================================================================================
+//================================================================================================
+function read_exif_data_raw($path,$verbose) {
+
+  if($path=='' || $path=='none') return;
+
+  $in = @fopen($path, "rb"); //the b is for windows machines to open in binary mode
+  $seek = @fopen($path, "rb"); //There may be an elegant way to do this with one file handle.
+
+  $globalOffset = 0;
+
+  if(!isset($verbose)) $verbose=0;
+
+  $result['VerboseOutput'] = $verbose;
+  $result['Errors'] = 0;
+
+  if(!$in || !$seek) {  //if the path was invalid, this error will catch it
+    $result['Errors'] = 1;
+    $result['Error'][$result['Errors']] = "The file could not be found.";
+    return $result;
+  }
+
+  //First 2 bytes of JPEG are 0xFFD8
+  $data = bin2hex(fread( $in, 2 ));
+  if($data=="ffd8") {
+    $result['ValidJpeg'] = 1;
+  } else {
+    $result['ValidJpeg'] = 0;
+    fclose($in);
+    fclose($seek);
+    return $result;
+  }
+
+  $result['ValidIPTCData'] = 0;
+  $result['ValidJFIFData'] = 0;
+  $result['ValidEXIFData'] = 0;
+  $result['ValidAPP2Data'] = 0;
+  $result['ValidCOMData'] = 0;
+
+  //Next 2 bytes are MARKER tag (0xFFE#)
+  $data = bin2hex(fread( $in, 2 ));
+  $size = bin2hex(fread( $in, 2 ));
+
+  //LOOP THROUGH MARKERS TILL YOU GET TO FFE1 (exif marker)
+  while(!feof($in) && $data!="ffe1" && $data!="ffc0" && $data!="ffd9") {
+    if($data=="ffe0") { //JFIF Marker
+      $result['ValidJFIFData'] = 1;
+      $result['JFIF']['Size'] = hexdec($size);
+
+      if(hexdec($size)-2 > 0) {
+        $data = fread( $in, hexdec($size)-2);
+        $result['JFIF']['Data'] = $data;
+      }
+
+      $result['JFIF']['Identifier'] = substr($data,0,5);
+      $result['JFIF']['ExtensionCode'] =  bin2hex(substr($data,6,1));
+
+      $globalOffset+=hexdec($size)+2;
+
+    } else if($data=="ffed") {  //IPTC Marker
+      $result['ValidIPTCData'] = 1;
+      $result['IPTC']['Size'] = hexdec($size);
+
+      if(hexdec($size)-2 > 0) {
+        $data = fread( $in, hexdec($size)-2);
+        $result['IPTC']['Data'] = $data ;
+      }
+      $globalOffset+=hexdec($size)+2;
+
+    } else if($data=="ffe2") {  //EXIF extension Marker
+      $result['ValidAPP2Data'] = 1;
+      $result['APP2']['Size'] = hexdec($size);
+
+      if(hexdec($size)-2 > 0) {
+        $data = fread( $in, hexdec($size)-2);
+        $result['APP2']['Data'] = $data ;
+      }
+      $globalOffset+=hexdec($size)+2;
+
+    } else if($data=="fffe") {  //COM extension Marker
+      $result['ValidCOMData'] = 1;
+      $result['COM']['Size'] = hexdec($size);
+
+      if(hexdec($size)-2 > 0) {
+        $data = fread( $in, hexdec($size)-2);
+        $result['COM']['Data'] = $data ;
+      }
+      $globalOffset+=hexdec($size)+2;
+
+    } else if($data=="ffe1") {
+      $result['ValidEXIFData'] = 1;
+    }
+
+    $data = bin2hex(fread( $in, 2 ));
+    $size = bin2hex(fread( $in, 2 ));
+  }
+  //END MARKER LOOP
+
+  if($data=="ffe1") {
+    $result['ValidEXIFData'] = 1;
+  } else {
+    fclose($in);
+    fclose($seek);
+    return $result;
+  }
+
+  //Size of APP1
+  $result['APP1Size'] = hexdec($size);
+
+  //Start of APP1 block starts with "Exif" header (6 bytes)
+  $header = fread( $in, 6 );
+
+  //Then theres a TIFF header with 2 bytes of endieness (II or MM)
+  $header = fread( $in, 2 );
+  if($header==="II") {
+    $intel=1;
+    $result['Endien'] = "Intel";
+  } else if($header==="MM") {
+    $intel=0;
+    $result['Endien'] = "Motorola";
+  } else {
+    $intel=1; //not sure what the default should be, but this seems reasonable
+    $result['Endien'] = "Unknown";
+  }
+
+  //2 bytes of 0x002a
+  $tag = bin2hex(fread( $in, 2 ));
+
+  //Then 4 bytes of offset to IFD0 (usually 8 which includes all 8 bytes of TIFF header)
+  $offset = bin2hex(fread( $in, 4 ));
+  if($intel==1) $offset = intel2Moto($offset);
+
+  // Check for extremely large values here
+  if(hexdec($offset) > 100000) {
+      $result['ValidEXIFData'] = 0;
+    fclose($in);
+    fclose($seek);
+    return $result;
+  }
+
+  if(hexdec($offset)>8) $unknown = fread( $in, hexdec($offset)-8); //fixed this bug in 1.3
+
+  //add 12 to the offset to account for TIFF header
+  $globalOffset+=12;
+
+
+  //===========================================================Start of IFD0
+  $num = bin2hex(fread( $in, 2 ));
+  if($intel==1) $num = intel2Moto($num);
+  $num = hexdec($num);
+  $result['IFD0NumTags'] = $num;
+
+  if($num<1000) { //1000 entries is too much and is probably an error.
+    for($i=0;$i<$num;$i++) {
+      read_entry($result,$in,$seek,$intel,"IFD0",$globalOffset);
+    }
+  } else {
+    $result['Errors'] = $result['Errors']+1;
+    $result['Error'][$result['Errors']] = "Illegal size for IFD0";
+  }
+
+  //store offset to IFD1
+  $offset = bin2hex(fread( $in, 4 ));
+  if($intel==1) $offset = intel2Moto($offset);
+  $result['IFD1Offset'] = hexdec($offset);
+
+  //Check for SubIFD
+  if(!isset($result['IFD0']['ExifOffset']) || $result['IFD0']['ExifOffset']==0) {
+    fclose($in);
+    fclose($seek);
+    return $result;
+  }
+
+  //seek to SubIFD (Value of ExifOffset tag) above.
+  $ExitOffset = $result['IFD0']['ExifOffset'];
+  $v = fseek($in,$globalOffset+$ExitOffset);
+  if($v==-1) {
+    $result['Errors'] = $result['Errors']+1;
+    $result['Error'][$result['Errors']] = "Couldnt Find SubIFD";
+  }
+
+  //===========================================================Start of SubIFD
+  $num = bin2hex(fread( $in, 2 ));
+  if($intel==1) $num = intel2Moto($num);
+  $num = hexdec($num);
+  $result['SubIFDNumTags'] = $num;
+
+  if($num<1000) { //1000 entries is too much and is probably an error.
+    for($i=0;$i<$num;$i++) {
+      read_entry($result,$in,$seek,$intel,"SubIFD",$globalOffset);
+    }
+  } else {
+    $result['Errors'] = $result['Errors']+1;
+    $result['Error'][$result['Errors']] = "Illegal size for SubIFD";
+  }
+
+  //Check for IFD1
+  if(!isset($result['IFD1Offset']) || $result['IFD1Offset']==0) {
+    fclose($in);
+    fclose($seek);
+    return $result;
+  }
+  //seek to IFD1
+  $v = fseek($in,$globalOffset+$result['IFD1Offset']);
+  if($v==-1) {
+    $result['Errors'] = $result['Errors']+1;
+    $result['Error'][$result['Errors']] = "Couldnt Find IFD1";
+  }
+
+  //===========================================================Start of IFD1
+  $num = bin2hex(fread( $in, 2 ));
+  if($intel==1) $num = intel2Moto($num);
+  $num = hexdec($num);
+  $result['IFD1NumTags'] = $num;
+
+  if($num<1000) { //1000 entries is too much and is probably an error.
+    for($i=0;$i<$num;$i++) {
+      read_entry($result,$in,$seek,$intel,"IFD1",$globalOffset);
+    }
+  } else {
+    $result['Errors'] = $result['Errors']+1;
+    $result['Error'][$result['Errors']] = "Illegal size for IFD1";
+  }
+  //if verbose output is on, stick in the thumbnail raw data
+  if($result['VerboseOutput']==1 && $result['IFD1']['JpegIFOffset']>0 && $result['IFD1']['JpegIFByteCount']>0) {
+      $v = fseek($seek,$globalOffset+$result['IFD1']['JpegIFOffset']);
+      if($v==0) {
+        $data = fread($seek, $result['IFD1']['JpegIFByteCount']);
+      } else if($v==-1) {
+        $result['Errors'] = $result['Errors']+1;
+      }
+      $result['IFD1']["ThumbnailData"] = $data;
+  }
+
+
+  //Check for Interoperability IFD
+  if(!isset($result['SubIFD']['ExifInteroperabilityOffset']) || $result['SubIFD']['ExifInteroperabilityOffset']==0) {
+    fclose($in);
+    fclose($seek);
+    return $result;
+  }
+  //seek to InteroperabilityIFD
+  $v = fseek($in,$globalOffset+$result['SubIFD']['ExifInteroperabilityOffset']);
+  if($v==-1) {
+    $result['Errors'] = $result['Errors']+1;
+    $result['Error'][$result['Errors']] = "Couldnt Find InteroperabilityIFD";
+  }
+
+  //===========================================================Start of InteroperabilityIFD
+  $num = bin2hex(fread( $in, 2 ));
+  if($intel==1) $num = intel2Moto($num);
+  $num = hexdec($num);
+  $result['InteroperabilityIFDNumTags'] = $num;
+
+  if($num<1000) { //1000 entries is too much and is probably an error.
+    for($i=0;$i<$num;$i++) {
+      read_entry($result,$in,$seek,$intel,"InteroperabilityIFD",$globalOffset);
+    }
+  } else {
+    $result['Errors'] = $result['Errors']+1;
+    $result['Error'][$result['Errors']] = "Illegal size for InteroperabilityIFD";
+  }
+  fclose($in);
+  fclose($seek);
+  return $result;
+}
+
+//================================================================================================
+//================================================================================================
+// Converts a floating point number into a fraction.  Many thanks to Matthieu Froment for this code
+//================================================================================================
+//================================================================================================
+function ConvertToFraction($v, &$n, &$d)
+{
+  $MaxTerms = 15;         //Limit to prevent infinite loop
+  $MinDivisor = 0.000001; //Limit to prevent divide by zero
+  $MaxError = 0.00000001; //How close is enough
+
+  $f = $v; //Initialize fraction being converted
+
+  $n_un = 1; //Initialize fractions with 1/0, 0/1
+  $d_un = 0;
+  $n_deux = 0;
+  $d_deux = 1;
+
+  for ($i = 0;$i<$MaxTerms;$i++)
+  {
+    $a = floor($f); //Get next term
+    $f = $f - $a; //Get new divisor
+    $n = $n_un * $a + $n_deux; //Calculate new fraction
+    $d = $d_un * $a + $d_deux;
+    $n_deux = $n_un; //Save last two fractions
+    $d_deux = $d_un;
+    $n_un = $n;
+    $d_un = $d;
+
+    if ($f < $MinDivisor) //Quit if dividing by zero
+      break;
+
+    if (abs($v - $n / $d) < $MaxError)
+      break;
+
+    $f = 1 / $f; //Take reciprocal
+  }
+}
+?>
diff -x .svn -aruN 1.4.24.src/include/exif_php.inc.php 1.4.25.src/include/exif_php.inc.php
--- 1.4.24.src/include/exif_php.inc.php	2009-05-21 15:03:09.000000000 -0500
+++ 1.4.25.src/include/exif_php.inc.php	2009-05-26 11:25:44.000000000 -0500
@@ -1,96 +1,96 @@
-<?php
-/*************************
-  Coppermine Photo Gallery
-  ************************
-  Copyright (c) 2003-2009 Coppermine Dev Team
-  v1.1 originally written by Gregory DEMAR
-
-  This program is free software; you can redistribute it and/or modify
-  it under the terms of the GNU General Public License version 3
-  as published by the Free Software Foundation.
-  
-  ********************************************
-  Coppermine version: 1.4.24
-  $HeadURL: https://coppermine.svn.sourceforge.net/svnroot/coppermine/trunk/cpg1.4.x/include/exif_php.inc.php $
-  $Revision: 5969 $
-  $Author: gaugau $
-  $Date: 2009-05-21 22:03:33 +0200 (Do, 21 Mai 2009) $
-**********************************************/
-
-
-
-if (!defined('IN_COPPERMINE')) die('Not in Coppermine...');
-
-define("EXIF_CACHE_FILE","exif.dat");
-require("include/exif.php");
-
-function exif_parse_file($filename)
-{
-        global $CONFIG, $lang_picinfo;
-
-        //String containing all the available exif tags.
-        $exif_info = "AFFocusPosition|Adapter|ColorMode|ColorSpace|ComponentsConfiguration|CompressedBitsPerPixel|Contrast|CustomerRender|DateTimeOriginal|DateTimedigitized|DigitalZoom|DigitalZoomRatio|ExifImageHeight|ExifImageWidth|ExifInteroperabilityOffset|ExifOffset|ExifVersion|ExposureBiasValue|ExposureMode|ExposureProgram|ExposureTime|FNumber|FileSource|Flash|FlashPixVersion|FlashSetting|FocalLength|FocusMode|GainControl|IFD1Offset|ISOSelection|ISOSetting|ISOSpeedRatings|ImageAdjustment|ImageDescription|ImageSharpening|LightSource|Make|ManualFocusDistance|MaxApertureValue|MeteringMode|Model|NoiseReduction|Orientation|Quality|ResolutionUnit|Saturation|SceneCaptureMode|SceneType|Sharpness|Software|WhiteBalance|YCbCrPositioning|xResolution|yResolution";
-
-        if (!is_readable($filename)) return false;
-
-        $size = @getimagesize($filename);
-        if ($size[2] != 2) return false; // Not a JPEG file
-
-        $exifRawData = explode ("|",$exif_info);
-        $exifCurrentData = explode("|",$CONFIG['show_which_exif']);
-
-        //Let's build the string of current exif values to be shown
-        $showExifStr = "";
-        foreach ($exifRawData as $key => $val) {
-          if ($exifCurrentData[$key] == 1) {
-            $showExifStr .= "|".$val;
-          }
-        }
-
-        //Check if we have the data of the said file in the table
-        $sql = "SELECT * FROM {$CONFIG['TABLE_EXIF']} ".
-                  "WHERE filename='".addslashes($filename)."'";
-
-        $result = cpg_db_query($sql);
-
-        if (mysql_num_rows($result) > 0){
-                $row = mysql_fetch_array($result);
-                mysql_free_result($result);
-                $exifRawData = unserialize($row["exifData"]);
-        } else {
-          // No data in the table - read it from the image file
-          $exifRawData = read_exif_data_raw($filename,0);
-          // Insert it into table for future reference
-          $sql = "INSERT INTO {$CONFIG['TABLE_EXIF']} ".
-                    "VALUES ('".addslashes($filename)."', '".addslashes(serialize($exifRawData))."')";
-          $result = cpg_db_query($sql);
-        }
-
-        $exif = array();
-
-        if (is_array($exifRawData['IFD0'])) {
-          $exif = array_merge ($exif,$exifRawData['IFD0']);
-        }
-        if (is_array($exifRawData['SubIFD'])) {
-          $exif = array_merge ($exif,$exifRawData['SubIFD']);
-        }
-        if (is_array($exifRawData['SubIFD']['MakerNote'])) {
-          $exif = array_merge ($exif,$exifRawData['SubIFD']['MakerNote']);
-        }
-
-        $exif['IFD1OffSet'] = $exifRawData['IFD1OffSet'];
-
-        $exifParsed = array();
-
-        foreach ($exif as $key => $val) {
-          if (strpos($showExifStr,"|".$key) && isset($val)){
-                $exifParsed[$lang_picinfo[$key]] = $val;
-                //$exifParsed[$key] = $val;
-          }
-        }
-
-        ksort($exifParsed);
-
-        return $exifParsed;
-}
-?>
+<?php
+/*************************
+  Coppermine Photo Gallery
+  ************************
+  Copyright (c) 2003-2009 Coppermine Dev Team
+  v1.1 originally written by Gregory DEMAR
+
+  This program is free software; you can redistribute it and/or modify
+  it under the terms of the GNU General Public License version 3
+  as published by the Free Software Foundation.
+  
+  ********************************************
+  Coppermine version: 1.4.25
+  $HeadURL: https://coppermine.svn.sourceforge.net/svnroot/coppermine/trunk/cpg1.4.x/include/exif_php.inc.php $
+  $Revision: 5997 $
+  $Author: gaugau $
+  $Date: 2009-05-26 08:43:24 +0200 (Di, 26 Mai 2009) $
+**********************************************/
+
+
+
+if (!defined('IN_COPPERMINE')) die('Not in Coppermine...');
+
+define("EXIF_CACHE_FILE","exif.dat");
+require("include/exif.php");
+
+function exif_parse_file($filename)
+{
+        global $CONFIG, $lang_picinfo;
+
+        //String containing all the available exif tags.
+        $exif_info = "AFFocusPosition|Adapter|ColorMode|ColorSpace|ComponentsConfiguration|CompressedBitsPerPixel|Contrast|CustomerRender|DateTimeOriginal|DateTimedigitized|DigitalZoom|DigitalZoomRatio|ExifImageHeight|ExifImageWidth|ExifInteroperabilityOffset|ExifOffset|ExifVersion|ExposureBiasValue|ExposureMode|ExposureProgram|ExposureTime|FNumber|FileSource|Flash|FlashPixVersion|FlashSetting|FocalLength|FocusMode|GainControl|IFD1Offset|ISOSelection|ISOSetting|ISOSpeedRatings|ImageAdjustment|ImageDescription|ImageSharpening|LightSource|Make|ManualFocusDistance|MaxApertureValue|MeteringMode|Model|NoiseReduction|Orientation|Quality|ResolutionUnit|Saturation|SceneCaptureMode|SceneType|Sharpness|Software|WhiteBalance|YCbCrPositioning|xResolution|yResolution";
+
+        if (!is_readable($filename)) return false;
+
+        $size = @getimagesize($filename);
+        if ($size[2] != 2) return false; // Not a JPEG file
+
+        $exifRawData = explode ("|",$exif_info);
+        $exifCurrentData = explode("|",$CONFIG['show_which_exif']);
+
+        //Let's build the string of current exif values to be shown
+        $showExifStr = "";
+        foreach ($exifRawData as $key => $val) {
+          if ($exifCurrentData[$key] == 1) {
+            $showExifStr .= "|".$val;
+          }
+        }
+
+        //Check if we have the data of the said file in the table
+        $sql = "SELECT * FROM {$CONFIG['TABLE_EXIF']} ".
+                  "WHERE filename='".addslashes($filename)."'";
+
+        $result = cpg_db_query($sql);
+
+        if (mysql_num_rows($result) > 0){
+                $row = mysql_fetch_array($result);
+                mysql_free_result($result);
+                $exifRawData = unserialize($row["exifData"]);
+        } else {
+          // No data in the table - read it from the image file
+          $exifRawData = read_exif_data_raw($filename,0);
+          // Insert it into table for future reference
+          $sql = "INSERT INTO {$CONFIG['TABLE_EXIF']} ".
+                    "VALUES ('".addslashes($filename)."', '".addslashes(serialize($exifRawData))."')";
+          $result = cpg_db_query($sql);
+        }
+
+        $exif = array();
+
+        if (is_array($exifRawData['IFD0'])) {
+          $exif = array_merge ($exif,$exifRawData['IFD0']);
+        }
+        if (is_array($exifRawData['SubIFD'])) {
+          $exif = array_merge ($exif,$exifRawData['SubIFD']);
+        }
+        if (is_array($exifRawData['SubIFD']['MakerNote'])) {
+          $exif = array_merge ($exif,$exifRawData['SubIFD']['MakerNote']);
+        }
+
+        $exif['IFD1OffSet'] = $exifRawData['IFD1OffSet'];
+
+        $exifParsed = array();
+
+        foreach ($exif as $key => $val) {
+          if (strpos($showExifStr,"|".$key) && isset($val)){
+                $exifParsed[$lang_picinfo[$key]] = $val;
+                //$exifParsed[$key] = $val;
+          }
+        }
+
+        ksort($exifParsed);
+
+        return $exifParsed;
+}
+?>
diff -x .svn -aruN 1.4.24.src/include/functions.inc.php 1.4.25.src/include/functions.inc.php
--- 1.4.24.src/include/functions.inc.php	2009-05-24 05:41:13.000000000 -0500
+++ 1.4.25.src/include/functions.inc.php	2009-05-26 11:25:44.000000000 -0500
@@ -1,3189 +1,3189 @@
-<?php
-/*************************
-  Coppermine Photo Gallery
-  ************************
-  Copyright (c) 2003-2009 Coppermine Dev Team
-  v1.1 originally written by Gregory DEMAR
-
-  This program is free software; you can redistribute it and/or modify
-  it under the terms of the GNU General Public License version 3
-  as published by the Free Software Foundation.
-
-  ********************************************
-  Coppermine version: 1.4.24
-  $HeadURL: https://coppermine.svn.sourceforge.net/svnroot/coppermine/trunk/cpg1.4.x/include/functions.inc.php $
-  $Revision: 5980 $
-  $Author: gaugau $
-  $Date: 2009-05-24 12:41:37 +0200 (So, 24 Mai 2009) $
-**********************************************/
-
-/**
-* Coppermine Photo Gallery - functions.inc.php
-*
-* This file has almost all the functions of Coppermine
-*
-* @copyright  2002-2007 Gregory DEMAR, Coppermine Dev Team
-* @license http://www.gnu.org/licenses/gpl.html GNU General Public License V3
-* @package Coppermine
-* @version  $Id: functions.inc.php 5980 2009-05-24 10:41:37Z gaugau $
-*/
-
-/**
-* get_meta_album_set_data()
-*
-* Get the entire album set based on the current category, this function is called recursively.
-*
-* ** Experimental, may cause sql problems on galleries with large numbers of albums.
-*
-* @param integer $cid Parent Category
-* @param array $meta_album_set_array
-* @return void
-**/
-function get_meta_album_set_data($cid,&$meta_album_set_array) //adapted from index.php get_subcat_data()
-{
-    global $CONFIG, $cat;
-
-    if ($cid == USER_GAL_CAT) {
-       $sql = "SELECT aid FROM {$CONFIG['TABLE_ALBUMS']} as a WHERE category>=" . FIRST_USER_CAT;
-       $result = cpg_db_query($sql);
-       $album_count = mysql_num_rows($result);
-       while ($row = mysql_fetch_array($result)) {
-           $meta_album_set_array[] = $row['aid'];
-       } // while
-       mysql_free_result($result);
-    } else {
-       $result = cpg_db_query("SELECT aid FROM {$CONFIG['TABLE_ALBUMS']} WHERE category = {$cid}");
-       $album_count = mysql_num_rows($result);
-       while ($row = mysql_fetch_array($result)) {
-           $meta_album_set_array[] = $row['aid'];
-       } // while
-
-       mysql_free_result($result);
-    }
-
-    $result = cpg_db_query("SELECT cid FROM {$CONFIG['TABLE_CATEGORIES']} WHERE parent = '$cid'");
-
-    if (mysql_num_rows($result) > 0) {
-        $rowset = cpg_db_fetch_rowset($result);
-        foreach ($rowset as $subcat) {
-            if ($subcat['cid']) {
-                get_meta_album_set_data($subcat['cid'], $meta_album_set_array);
-            }
-        }
-    }
-}
-
-/**
-* get_meta_album_set()
-*
-* Get the entire album set based on the current category.
-*
-* @param integer $cat Category
-* @param array $meta_album_set_array
-* @return void
-**/
-function get_meta_album_set($cat, &$meta_album_set)
-{
-    global $USER_DATA, $FORBIDDEN_SET_DATA, $CONFIG;
-
-    if ($USER_DATA['can_see_all_albums'] && $cat == 0) {
-        $meta_album_set ='';
-    } elseif ($cat < 0) {
-        $meta_album_set= 'AND aid IN (' . (- $cat) . ') ';
-    } elseif ($cat > 0) {
-       $meta_album_set_array=array();
-        get_meta_album_set_data($cat,$meta_album_set_array);
-        $meta_album_set_array = array_diff($meta_album_set_array,$FORBIDDEN_SET_DATA);
-
-        if (count($meta_album_set_array)) {
-            $meta_album_set = "AND aid IN (" . implode(',',$meta_album_set_array) . ") ";
-        } else {
-            $meta_album_set = "AND aid IN (-1) ";
-        }
-     } else {
-      $result = cpg_db_query("SELECT aid FROM {$CONFIG['TABLE_ALBUMS']}");
-        $album_count = mysql_num_rows($result);
-        while ($row = mysql_fetch_array($result)) {
-           $meta_album_set_array[] = $row['aid'];
-        }
-        mysql_free_result($result);
-        $meta_album_set_array = array_diff($meta_album_set_array,$FORBIDDEN_SET_DATA);
-
-        if (count($meta_album_set_array)) {
-            $meta_album_set = "AND aid IN (" . implode(',',$meta_album_set_array) . ") ";
-        } else {
-            $meta_album_set = "AND aid IN (-1) ";
-        }
-     }
-}
-
-
-/**
- * user_get_profile()
- *
- * Decode the user profile contained in a cookie
- *
- **/
-
-function user_get_profile()
-{
-        global $CONFIG, $USER;
-
-        if (isset($_COOKIE[$CONFIG['cookie_name'].'_data'])) {
-                $USER = @unserialize(@base64_decode($_COOKIE[$CONFIG['cookie_name'].'_data']));
-                $USER['lang'] = strtr($USER['lang'], '$/\\:*?"\'<>|`', '____________');
-        }
-
-        if (!isset($USER['ID']) || strlen($USER['ID']) != 32) {
-                list($usec, $sec) = explode(' ', microtime());
-                $seed = (float) $sec + ((float) $usec * 100000);
-                srand($seed);
-                $USER=array('ID' => md5(uniqid(rand(),1)));
-        } else {
-                $USER['ID'] = addslashes($USER['ID']);
-        }
-
-        if (!isset($USER['am'])) $USER['am'] = 1;
-}
-
-// Save the user profile in a cookie
-
-
-/**
- * user_save_profile()
- *
- * Save the user profile in a cookie
- *
- **/
-
-function user_save_profile()
-{
-        global $CONFIG, $USER;
-
-        $data = base64_encode(serialize($USER));
-        setcookie($CONFIG['cookie_name'].'_data', $data, time()+86400*30, $CONFIG['cookie_path']);
-}
-
-/**************************************************************************
-   Database functions
- **************************************************************************/
-
-// Connect to the database
-
-/**
- * cpg_db_connect()
- *
- * Connect to the database
- **/
-
-function cpg_db_connect()
-{
-        global $CONFIG;
-        $result = @mysql_connect($CONFIG['dbserver'], $CONFIG['dbuser'], $CONFIG['dbpass']);
-        if (!$result) {
-                return false;
-        }
-        if (!mysql_select_db($CONFIG['dbname']))
-                return false;
-        return $result;
-}
-
-// Perform a database query
-
-/**
- * cpg_db_query()
- *
- * Perform a database query
- *
- * @param $query
- * @param integer $link_id
- * @return
- **/
-
-function cpg_db_query($query, $link_id = 0)
-{
-        global $CONFIG, $query_stats, $queries;
-
-        $query_start = cpgGetMicroTime();
-
-        if ($link_id) {
-                                $result = mysql_query($query, $link_id);
-        } else {
-                                $result = mysql_query($query, $CONFIG['LINK_ID']);
-        }
-        $query_end = cpgGetMicroTime();
-        if (isset($CONFIG['debug_mode']) && (($CONFIG['debug_mode']==1) || ($CONFIG['debug_mode']==2) )) {
-                $duration = round($query_end - $query_start, 3);
-                $query_stats[] = $duration;
-                $queries[] = "$query ({$duration}s)";
-        }
-        if (!$result) cpg_db_error("While executing query \"$query\" on $link_id");
-
-        return $result;
-}
-
-// Error message if a query failed
-
-
-/**
- * cpg_db_error()
- *
- * Error message if a query failed
- *
- * @param $the_error
- * @return
- **/
-
-function cpg_db_error($the_error)
-{
-        global $CONFIG,$lang_errors;
-
-        if ($CONFIG['debug_mode'] === '0' || ($CONFIG['debug_mode'] === '2' && !GALLERY_ADMIN_MODE)) {
-            cpg_die(CRITICAL_ERROR, $lang_errors['database_query'], __FILE__, __LINE__);
-        } else {
-
-                $the_error .= "\n\nmySQL error: ".mysql_error()."\n";
-
-                $out = "<br />".$lang_errors['database_query'].".<br /><br/>
-                    <form name=\"mysql\"><textarea rows=\"8\" cols=\"60\">".htmlspecialchars($the_error)."</textarea></form>";
-
-            cpg_die(CRITICAL_ERROR, $out, __FILE__, __LINE__);
-        }
-}
-
-// Fetch all rows in an array
-
-/**
- * cpg_db_fetch_rowset()
- *
- * Fetch all rows in an array
- *
- * @param $result
- * @return
- **/
-
-function cpg_db_fetch_rowset($result)
-{
-        $rowset = array();
-
-        while ($row = mysql_fetch_array($result)) $rowset[] = $row;
-
-        return $rowset;
-}
-
-/**
- * cpg_db_fetch_row()
- *
- * Fetch row in an array
- *
- * @param $result
- * @return
- **/
-
-function cpg_db_fetch_row($result)
-{
-
-        $row = mysql_fetch_array($result);
-
-        return $row;
-}
-
-/**************************************************************************
-   Utilities functions
- **************************************************************************/
-
- /**
- * @ignore
- */
- define ('LOC','YToyOntzOjE6ImwiO3M6OToie0dBTExFUll9IjtzOjE6InMiO3M6MTk2OiI8ZGl2IGNsYXNzPSJmb290ZXIiIGFsaWduPSJjZW50ZXIiIHN0eWxlPSJwYWRkaW5nLXRvcDogMTBweDsiPlBvd2VyZWQgYnkgPGEgaHJlZj0iaHR0cDovL2NvcHBlcm1pbmUtZ2FsbGVyeS5uZXQvIiB0aXRsZT0iQ29wcGVybWluZSBQaG90byBHYWxsZXJ5IiByZWw9ImV4dGVybmFsIj5Db3BwZXJtaW5lIFBob3RvIEdhbGxlcnk8L2E+PC9kaXY+Ijt9');
-
-// Replacement for the die function
-
-/**
- * cpg_die()
- *
- * Replacement for the die function
- *
- * @param $msg_code
- * @param $msg_text
- * @param $error_file
- * @param $error_line
- * @param boolean $output_buffer
- * @return
- **/
-
-function cpg_die($msg_code, $msg_text,  $error_file, $error_line, $output_buffer = false)
-{
-        global $CONFIG, $lang_cpg_die, $template_cpg_die;
-
-        // Simple output if theme file is not loaded
-        if(!function_exists('pageheader')){
-                echo 'Fatal error :<br />'.$msg_text;
-                exit;
-        }
-
-        $ob = ob_get_contents();
-        if ($ob) ob_end_clean();
-
-        if (function_exists('theme_cpg_die'))
-        {
-            theme_cpg_die($msg_code, $msg_text,  $error_file, $error_line, $output_buffer);
-            return;
-        }
-
-        $params = array(
-                '{MESSAGE}' => $msg_text,
-                '{FILE_TXT}' => $lang_cpg_die['file'],
-                '{FILE}' => $error_file,
-                '{LINE_TXT}' => $lang_cpg_die['line'],
-                '{LINE}' => $error_line,
-                '{OUTPUT_BUFFER}' => $ob,
-        );
-
-        if (!($CONFIG['debug_mode'] == 1 || ($CONFIG['debug_mode'] == 2 && GALLERY_ADMIN_MODE))) template_extract_block($template_cpg_die, 'file_line');
-        //if(!$output_buffer && !$CONFIG['debug_mode'])
-        template_extract_block($template_cpg_die, 'output_buffer');
-
-        pageheader($lang_cpg_die[$msg_code]);
-        starttable(-1, $lang_cpg_die[$msg_code]);echo "<!-- cpg_die -->";
-        echo template_eval($template_cpg_die, $params);
-        endtable();
-        pagefooter();
-        exit;
-}
-
-// Display a localised date
-
-/**
- * localised_date()
- *
- * Display a localised date
- *
- * @param integer $timestamp
- * @param $datefmt
- * @return
- **/
-
-function localised_date($timestamp = -1, $datefmt)
-{
-    global $lang_month, $lang_day_of_week, $CONFIG;
-
-    $timestamp = localised_timestamp($timestamp);
-
-    $date = ereg_replace('%[aA]', $lang_day_of_week[(int)strftime('%w', $timestamp)], $datefmt);
-    $date = ereg_replace('%[bB]', $lang_month[(int)strftime('%m', $timestamp)-1], $date);
-
-    return strftime($date, $timestamp);
-}
-
-/**
- * localised_timestamp()
- *
- * Display a localised timestamp
- *
- * @return
- **/
-function localised_timestamp($timestamp = -1)
-{
-        global $CONFIG;
-
-        if ($timestamp == -1) {
-        $timestamp = time();
-    }
-
-    $diff_to_GMT = date("O") / 100;
-
-    $timestamp += ($CONFIG['time_offset'] - $diff_to_GMT) * 3600;
-
-        return $timestamp;
-}
-
-// Function to create correct URLs for image name with space or exotic characters
-
-/**
- * path2url()
- *
- * Function to create correct URLs for image name with space or exotic characters
- *
- * @param $path
- * @return
- **/
-
-function path2url($path)
-{
-        return str_replace("%2F","/",rawurlencode($path));
-}
-
-// Display a 'message box like' table
-
-/**
- * msg_box()
- *
- * Display a 'message box like' table
- *
- * @param $title
- * @param $msg_text
- * @param string $button_text
- * @param string $button_link
- * @param string $width
- * @return
- **/
-
-function msg_box($title, $msg_text, $button_text="", $button_link="", $width="-1")
-{
-    if (function_exists('theme_msg_box'))
-    {
-        theme_msg_box($title, $msg_text, $button_text, $button_link, $width);
-        return;
-    }
-        global $template_msg_box;
-
-        if (!$button_text) {
-            template_extract_block($template_msg_box, 'button');
-        }
-
-        $params = array(
-                '{MESSAGE}' => $msg_text,
-                '{LINK}' => $button_link,
-                '{TEXT}' => $button_text
-        );
-
-        starttable($width, $title);
-        echo template_eval($template_msg_box, $params);
-        endtable();
-}
-
-
-/**
- * create_tabs()
- *
- * @param $items
- * @param $curr_page
- * @param $total_pages
- * @param $template
- * @return
- **/
-
-function create_tabs($items, $curr_page, $total_pages, $template)
-{
-        global $CONFIG, $lang_create_tabs;
-
-        // TO-DO: Need to add theme_create_tabs() to sample/theme.php
-        // Maybe this function create_tabs() should be moved to themes.inc.php and renamed theme_create_tabs()?
-        if (function_exists('theme_create_tabs')) {
-            return theme_create_tabs($items, $curr_page, $total_pages, $template);
-        }
-
-        // Code for future: to implement 'previous' and 'next' tabs
-        // Everything is set - just need to put in correct place and use correct prev & next page numbers
-        // $tabs .= strtr( sprintf($template['inactive_prev_tab'],#PREV_PAGE_NUMBER#) , array('{PREV}' => $lang_create_tabs['previous']) );
-        // $tabs .= strtr( sprintf($template['inactive_next_tab'],#NEXT_PAGE_NUMBER#) , array('{NEXT}' => $lang_create_tabs['next']) );
-
-        $maxTab = $CONFIG['max_tabs'];
-
-        $tabs = sprintf($template['left_text'], $items, $total_pages);
-        if (($total_pages == 1)) return $tabs;
-
-        $tabs .= $template['tab_header'];
-        if ($curr_page == 1) {
-                $tabs .= sprintf($template['active_tab'], 1);
-        } else {
-                $tabs .= sprintf($template['inactive_tab'], 1, 1);
-        }
-        if ($total_pages > $maxTab){
-                $start = max(2, $curr_page - floor(($maxTab -2)/2));
-                $start = min($start, $total_pages - $maxTab +2);
-                $end = $start + $maxTab -3;
-        } else {
-                $start = 2;
-                $end = $total_pages-1;
-        }
-        for ($page = $start ; $page <= $end; $page++) {
-                if ($page == $curr_page) {
-                        $tabs .= sprintf($template['active_tab'], $page);
-                } else {
-                        $tabs .= sprintf($template['inactive_tab'], $page, $page);
-                }
-        }
-        if ($total_pages > 1){
-                if ($curr_page == $total_pages) {
-                        $tabs .= sprintf($template['active_tab'], $total_pages);
-                } else {
-                        $tabs .= sprintf($template['inactive_tab'], $total_pages, $total_pages);
-                }
-        }
-        return $tabs.$template['tab_trailer'];
-}
-
-
-/**
- * Rewritten by Nathan Codding - Feb 6, 2001. Taken from phpBB code
- * - Goes through the given string, and replaces xxxx://yyyy with an HTML <a> tag linking
- *         to that URL
- * - Goes through the given string, and replaces www.xxxx.yyyy[zzzz] with an HTML <a> tag linking
- *         to http://www.xxxx.yyyy[/zzzz]
- * - Goes through the given string, and replaces xxxx@yyyy with an HTML mailto: tag linking
- *                to that email address
- * - Only matches these 2 patterns either after a space, or at the beginning of a line
- *
- * Notes: the email one might get annoying - it's easy to make it more restrictive, though.. maybe
- * have it require something like xxxx@yyyy.zzzz or such. We'll see.
- */
-
-/**
- * make_clickable()
- *
- * @param $text
- * @return
- **/
-
-function make_clickable($text)
-{
-        $ret = ' '.$text;
-        $ret = preg_replace("#([\n ])([a-z]+?)://([a-z0-9\-\.,\?!%\*_\#:;~\\&$@\/=\+]+)#i", "\\1<a href=\"\\2://\\3\" rel=\"external\">\\2://\\3</a>", $ret);
-        $ret = preg_replace("#([\n ])www\.([a-z0-9\-]+)\.([a-z0-9\-.\~]+)((?:/[a-z0-9\-\.,\?!%\*_\#:;~\\&$@\/=\+]*)?)#i", "\\1<a href=\"http://www.\\2.\\3\\4\" rel=\"external\">www.\\2.\\3\\4</a>", $ret);
-        $ret = preg_replace("#([\n ])([a-z0-9\-_.]+?)@([\w\-]+\.([\w\-\.]+\.)?[\w]+)#i", "\\1<a href=\"mailto:\\2@\\3\">\\2@\\3</a>", $ret);
-        return substr($ret, 1);
-}
-
-// Allow the use of a limited set of phpBB bb codes in albums and image descriptions
-// Based on phpBB code
-
-/**
- * bb_decode()
- *
- * @param $text
- * @return
- **/
-
-function bb_decode($text)
-{
-    $text = nl2br($text);
-
-    static $bbcode_tpl = array();
-    static $patterns = array();
-    static $replacements = array();
-
-    // First: If there isn't a "[" and a "]" in the message, don't bother.
-    if ((strpos($text, "[") === false || strpos($text, "]") === false)) {
-        return $text;
-    }
-
-    // [b] and [/b] for bolding text.
-    $text = str_replace("[b]", '<b>', $text);
-    $text = str_replace("[/b]", '</b>', $text);
-
-    // [u] and [/u] for underlining text.
-    $text = str_replace("[u]", '<u>', $text);
-    $text = str_replace("[/u]", '</u>', $text);
-
-    // [i] and [/i] for italicizing text.
-    $text = str_replace("[i]", '<i>', $text);
-    $text = str_replace("[/i]", '</i>', $text);
-
-    // colors
-    $text = preg_replace("/\[color=(\#[0-9A-F]{6}|[a-z]+)\]/", '<span style="color:$1">', $text);
-    $text = str_replace("[/color]", '</span>', $text);
-
-    // [i] and [/i] for italicizing text.
-    //$text = str_replace("[i:$uid]", $bbcode_tpl['i_open'], $text);
-    //$text = str_replace("[/i:$uid]", $bbcode_tpl['i_close'], $text);
-
-    if (!count($bbcode_tpl)) {
-        // We do URLs in several different ways..
-        
-        // **** WARNING *******************************************************
-        // The [url] tag can be used for a serious attack against your website.
-        // So [url] tags are no longer processed to show links.
-        // This simple action here is not an ideal solution but is necessary.
-        // Now, [url] tags are processed as follows:
-        // [url=link]text[/url] shows 'text' with a dummy image for the link.
-        // [url]link[/url] shows 'link' as plain text with a dummy image.
-        // The following line is the original line that processed [url]:
-        // $bbcode_tpl['url']  = '<span class="bblink"><a href="{URL}" rel="external">{DESCRIPTION}</a></span>';
-        // ********************************************************************
-        // See this thread on the Coppermine forum for more information:
-        // http://forum.coppermine-gallery.net/index.php/topic,58309.0.html
-        // Please read this thread carefully before deciding to process [url].
-        // ********************************************************************
-        $url_removed = '{URL}';  // put the image URL in the tooltip/mouse-over
-        $bbcode_tpl['url']   = '{DESCRIPTION}<img src="images/descending.gif" alt="" title="' . $url_removed . '" />';
-        $bbcode_tpl['email'] = '<span class="bblink"><a href="mailto:{EMAIL}">{EMAIL}</a></span>';
-
-        $bbcode_tpl['url1'] = str_replace('{URL}', '\\1\\2', $bbcode_tpl['url']);
-        $bbcode_tpl['url1'] = str_replace('{DESCRIPTION}', '\\1\\2', $bbcode_tpl['url1']);
-
-        $bbcode_tpl['url2'] = str_replace('{URL}', 'http://\\1', $bbcode_tpl['url']);
-        $bbcode_tpl['url2'] = str_replace('{DESCRIPTION}', '\\1', $bbcode_tpl['url2']);
-
-        $bbcode_tpl['url3'] = str_replace('{URL}', '\\1\\2', $bbcode_tpl['url']);
-        $bbcode_tpl['url3'] = str_replace('{DESCRIPTION}', '\\3', $bbcode_tpl['url3']);
-
-        $bbcode_tpl['url4'] = str_replace('{URL}', 'http://\\1', $bbcode_tpl['url']);
-        $bbcode_tpl['url4'] = str_replace('{DESCRIPTION}', '\\2', $bbcode_tpl['url4']);
-
-        $bbcode_tpl['email'] = str_replace('{EMAIL}', '\\1', $bbcode_tpl['email']);
-
-        // [url]xxxx://www.phpbb.com[/url] code..
-        $patterns[1] = "#\[url\]([a-z]+?://){1}([a-z0-9\-\.,\?!%\*_\#:;~\\&$@\/=\+\(\)]+)\[/url\]#si";
-        $replacements[1] = $bbcode_tpl['url1'];
-
-        // [url]www.phpbb.com[/url] code.. (no xxxx:// prefix).
-        $patterns[2] = "#\[url\]([a-z0-9\-\.,\?!%\*_\#:;~\\&$@\/=\+\(\)]+)\[/url\]#si";
-        $replacements[2] = $bbcode_tpl['url2'];
-
-        // [url=xxxx://www.phpbb.com]phpBB[/url] code..
-        $patterns[3] = "#\[url=([a-z]+?://){1}([a-z0-9\-\.,\?!%\*_\#:;~\\&$@\/=\+\(\)]+)\](.*?)\[/url\]#si";
-        $replacements[3] = $bbcode_tpl['url3'];
-
-        // [url=www.phpbb.com]phpBB[/url] code.. (no xxxx:// prefix).
-        $patterns[4] = "#\[url=([a-z0-9\-\.,\?!%\*_\#:;~\\&$@\/=\+\(\)]+)\](.*?)\[/url\]#si";
-        $replacements[4] = $bbcode_tpl['url4'];
-
-        // [email]user@domain.tld[/email] code..
-        $patterns[5] = "#\[email\]([a-z0-9\-_.]+?@[\w\-]+\.([\w\-\.]+\.)?[\w]+)\[/email\]#si";
-        $replacements[5] = $bbcode_tpl['email'];
-
-        // [img]xxxx://www.phpbb.com[/img] code..
-        // **** WARNING *******************************************************
-        // The [img] tag can be used for a serious attack against your website.
-        // So [img] tags are no longer processed to show the specified images.
-        // This simple action here is not an ideal solution but is necessary.
-        // Now [img] tags will show a dummy image instead as a placeholder.
-        // ********************************************************************
-        // The following line is the original line that processed [img]:
-        // $bbcode_tpl['img'] = '<img src="{URL}" alt="" />';
-        // ********************************************************************
-        // See this thread on the Coppermine forum for more information:
-        // http://forum.coppermine-gallery.net/index.php/topic,58309.0.html
-        // Please read this thread carefully before deciding to process [img].
-        // ********************************************************************
-        $img_removed = '{URL}';  // put the image URL in the tooltip/mouse-over
-        $bbcode_tpl['img'] = '<img src="images/thumbnails.gif" alt="" title="' . $img_removed . '" />';
-        $bbcode_tpl['img'] = str_replace('{URL}', '\\1\\2', $bbcode_tpl['img']);
-        $patterns[6] = "#\[img\]([a-z]+?://){1}([a-z0-9\-\.,\?!%\*_\#:;~\\&$@\/=\+\(\)]+)\[/img\]#si";
-        $replacements[6] = $bbcode_tpl['img'];
-    }
-    $text = preg_replace($patterns, $replacements, $text);
-    return $text;
-}
-
-
-/**************************************************************************
-   Template functions
- **************************************************************************/
-
-// Load and parse the template.html file
-
-/**
- * load_template()
- *
- * Load and parse the template.html file
- *
- * @return
- **/
-
-function load_template()
-{
-        global $THEME_DIR, $CONFIG, $template_header, $template_footer;
-
-        $tmpl_loc = array();
-        $tmpl_loc = unserialize(base64_decode(LOC));
-
-        if (file_exists(TEMPLATE_FILE)) {
-            $template_file = TEMPLATE_FILE;
-        } elseif (file_exists($THEME_DIR . TEMPLATE_FILE)) {
-            $template_file = $THEME_DIR . TEMPLATE_FILE;
-        } else die("<b>Coppermine critical error</b>:<br />Unable to load template file ".TEMPLATE_FILE."!</b>");
-
-        $template = fread(fopen($template_file, 'r'), filesize($template_file));
-
-        $template = CPGPluginAPI::filter('template_html',$template);
-
-        $gallery_pos = strpos($template, '{LANGUAGE_SELECT_FLAGS}');
-        $template = str_replace('{LANGUAGE_SELECT_FLAGS}', languageSelect('flags') ,$template);
-        $gallery_pos = strpos($template, '{LANGUAGE_SELECT_LIST}');
-        $template = str_replace('{LANGUAGE_SELECT_LIST}', languageSelect('list') ,$template);
-        $gallery_pos = strpos($template, '{THEME_DIR}');
-        $template = str_replace('{THEME_DIR}', $THEME_DIR ,$template);
-        $gallery_pos = strpos($template, '{THEME_SELECT_LIST}');
-        $template = str_replace('{THEME_SELECT_LIST}', themeSelect('list') ,$template);
-        $gallery_pos = strpos($template, $tmpl_loc['l']);
-        $template = str_replace($tmpl_loc['l'], $tmpl_loc['s'] ,$template);
-
-        $template_header = substr($template, 0, $gallery_pos);
-        $template_header = str_replace('{META}','{META}'.CPGPluginAPI::filter('page_meta',''),$template_header);
-
-        // Filter gallery header and footer
-        $template_header .= CPGPluginAPI::filter('gallery_header','');
-        $template_footer = CPGPluginAPI::filter('gallery_footer','').substr($template, $gallery_pos);
-
-        $add_version_info = "<!--Coppermine Photo Gallery ".COPPERMINE_VERSION." (".COPPERMINE_VERSION_STATUS.")-->\n</body>";
-        $template_footer = ereg_replace("</body[^>]*>",$add_version_info,$template_footer);
-}
-
-// Eval a template (substitute vars with values)
-
-/**
- * template_eval()
- *
- * @param $template
- * @param $vars
- * @return
- **/
-
-function template_eval(&$template, &$vars)
-{
-        return strtr($template, $vars);
-}
-
-
-// Extract and return block '$block_name' from the template, the block is replaced by $subst
-
-/**
- * template_extract_block()
- *
- * @param $template
- * @param $block_name
- * @param string $subst
- * @return
- **/
-
-function template_extract_block(&$template, $block_name, $subst='')
-{
-        $pattern = "#(<!-- BEGIN $block_name -->)(.*?)(<!-- END $block_name -->)#s";
-        if ( !preg_match($pattern, $template, $matches)){
-                die('<b>Template error<b><br />Failed to find block \''.$block_name.'\'('.htmlspecialchars($pattern).') in :<br /><pre>'.htmlspecialchars($template).'</pre>');
-        }
-        $template = str_replace($matches[1].$matches[2].$matches[3], $subst, $template);
-        return $matches[2];
-}
-
-/**************************************************************************
-   Functions for album/picture management
- **************************************************************************/
-
-// Get the list of albums that the current user can't see
-
-/**
- * get_private_album_set()
- *
- * @param string $aid_str
- * @return
- **/
-
-function get_private_album_set($aid_str="")
-{
-        if (GALLERY_ADMIN_MODE) return;
-
-        global $CONFIG, $ALBUM_SET, $USER_DATA, $FORBIDDEN_SET, $FORBIDDEN_SET_DATA;
-
-        $FORBIDDEN_SET_DATA = array();
-
-        if ($USER_DATA['can_see_all_albums']) return;
-
-                //Stuff for Album level passwords
-        if (isset($_COOKIE[$CONFIG['cookie_name']."_albpw"]) && empty($aid_str)) {
-          $alb_pw = unserialize($_COOKIE[$CONFIG['cookie_name']."_albpw"]);
-
-          foreach($alb_pw as $aid => $value) {
-            $aid_str .= (int)$aid . ",";
-          }
-
-          $aid_str = substr($aid_str, 0, -1);
-
-          $sql = "SELECT aid, MD5(alb_password) as md5_password FROM ".$CONFIG['TABLE_ALBUMS']." WHERE aid IN ($aid_str)";
-
-          $result = cpg_db_query($sql);
-          $albpw_db = array();
-          if (mysql_num_rows($result)) {
-            while ($data = mysql_fetch_array($result)) {
-              $albpw_db[$data['aid']] = $data['md5_password'];
-            }
-          }
-          $valid = array_intersect($albpw_db, $alb_pw);
-          if (is_array($valid)) {
-            $aid_str = implode(",",array_keys($valid));
-          } else {
-            $aid_str = "";
-          }
-        }
-
-        $sql = "SELECT aid FROM {$CONFIG['TABLE_ALBUMS']} WHERE visibility != '0' AND visibility !='".(FIRST_USER_CAT + USER_ID)."' AND visibility NOT IN ".USER_GROUP_SET;
-        if (!empty($aid_str)) {
-          $sql .= " AND aid NOT IN ($aid_str)";
-                }
-
-                $result = cpg_db_query($sql);
-        if ((mysql_num_rows($result))) {
-                $set ='';
-            while($album=mysql_fetch_array($result)){
-                    $set .= $album['aid'].',';
-                    $FORBIDDEN_SET_DATA[] = $album['aid'];
-            } // while
-                $FORBIDDEN_SET = "p.aid NOT IN (".substr($set, 0, -1).') ';
-                $ALBUM_SET = 'AND aid NOT IN ('.substr($set, 0, -1).') ';
-        }else{
-                  $FORBIDDEN_SET_DATA = array();
-                  $FORBIDDEN_SET = "";
-                  $ALBUM_SET = "";
-        }
-        mysql_free_result($result);
-}
-
-// Generate the thumbnail caption based on admin preference and thumbnail page requirements
-
-/**
- * build_caption()
- *
- * @param array $rowset by reference
- * @param array $must_have
- **/
-function build_caption(&$rowset,$must_have=array())
-{
-    global $CONFIG, $THEME_DIR;
-    global $album_date_fmt, $lastcom_date_fmt, $lastup_date_fmt, $lasthit_date_fmt, $cat;
-    global $lang_get_pic_data, $lang_meta_album_names, $lang_errors;
-
-    foreach ($rowset as $key => $row) {
-        $caption='';
-        if ($CONFIG['display_filename']) {
-          $caption .='<span class="thumb_filename">' . $row['filename'] . '</span>';
-        }
-
-        $caption .= ($row['title']) ? '<span class="thumb_title">' . $row['title'] . '</span>' : '';
-
-        if ($CONFIG['views_in_thumbview'] || in_array('hits',$must_have)) {
-            $caption .= '<span class="thumb_title">' . sprintf($lang_get_pic_data['n_views'], $row['hits']).'</span>';
-        }
-        if ($CONFIG['caption_in_thumbview']){
-            $caption .= $row['caption'] ? "<span class=\"thumb_caption\">".strip_tags(bb_decode($row['caption']))."</span>" : '';
-        }
-        if ($CONFIG['display_comment_count']) {
-            $comments_nr = count_pic_comments($row['pid']);
-            if ($comments_nr > 0) {
-                $caption .= "<span class=\"thumb_num_comments\">".sprintf($lang_get_pic_data['n_comments'], $comments_nr )."</span>";
-            }
-        }
-        if ($CONFIG['display_uploader'] /*&& !in_array($row['owner_id'],$CONFIG['ADMIN_USERS']) *|| ($CONFIG['display_admin_uploader'] && in_array($row['owner_id'],$CONFIG['ADMIN_USERS']))*/) {
-            $caption .= ($row['owner_id'] && $row['owner_name']) ? '<span class="thumb_title"><a href ="profile.php?uid='.$row['owner_id'].'">'.$row['owner_name'].'</a></span>' : '';
-        }
-
-        if (in_array('msg_date',$must_have)) {
-            $caption .= '<span class="thumb_caption">'.localised_date($row['msg_date'], $lastcom_date_fmt).'</span>';
-        }
-        if (in_array('msg_body',$must_have)) {
-            $msg_body = strip_tags(bb_decode($row['msg_body'])); // I didn't want to fully bb_decode the message where report to admin isn't available. -donnoman
-            $msg_body = utf_strlen($msg_body) > 50 ? utf_substr($msg_body,0,50).'...': $msg_body;
-            if ($CONFIG['enable_smilies']) $msg_body = process_smilies($msg_body);
-            if ($row['author_id']) {
-                $caption .= '<span class="thumb_caption"><a href ="profile.php?uid='.$row['author_id'].'">'.$row['msg_author'].'</a>: '.$msg_body.'</span>';
-            } else {
-                    $caption .= '<span class="thumb_caption">'.$row['msg_author'].': '.$msg_body.'</span>';
-            }
-        }
-        if (in_array('ctime',$must_have)) {
-            $caption .= '<span class="thumb_caption">'.localised_date($row['ctime'], $lastup_date_fmt).'</span>';
-        }
-        if (in_array('pic_rating',$must_have)) {
-            if (defined('THEME_HAS_RATING_GRAPHICS')) {
-                $prefix= $THEME_DIR;
-            } else {
-                $prefix= '';
-            }
-            $caption .= "<span class=\"thumb_caption\">".'<img src="'.$prefix.'images/rating'.round($row['pic_rating']/2000).'.gif" alt=""/>'.'<br />'.sprintf($lang_get_pic_data['n_votes'], $row['votes']).'</span>';
-        }
-        if (in_array('mtime',$must_have)) {
-                $caption .= "<span class=\"thumb_caption\">".localised_date($row['mtime'], $lasthit_date_fmt);
-                if (GALLERY_ADMIN_MODE) {
-                  $caption .="<br/>".$row['lasthit_ip'];
-                }
-                $caption .='</span>';
-        }
-
-        $rowset[$key]['caption_text'] = $caption;
-    }
-    $rowset = CPGPluginAPI::filter('thumb_caption',$rowset);
-}
-
-// Retrieve the data for a picture or a set of picture
-
-/**
- * get_pic_data()
- *
- * @param $album
- * @param $count
- * @param $album_name
- * @param integer $limit1
- * @param integer $limit2
- * @param boolean $set_caption
- * @return
- **/
-
-function get_pic_data($album, &$count, &$album_name, $limit1=-1, $limit2=-1, $set_caption = true)
-{
-        global $USER, $CONFIG, $ALBUM_SET, $META_ALBUM_SET, $CURRENT_CAT_NAME, $CURRENT_ALBUM_KEYWORD, $HTML_SUBST, $THEME_DIR, $FAVPICS, $FORBIDDEN_SET_DATA;
-        global $album_date_fmt, $lastcom_date_fmt, $lastup_date_fmt, $lasthit_date_fmt, $cat;
-        global $lang_get_pic_data, $lang_meta_album_names, $lang_errors;
-
-        $sort_array = array(
-          'na' => 'filename ASC',
-          'nd' => 'filename DESC',
-          'ta'=>'title ASC',
-          'td'=>'title DESC',
-          'da' => 'pid ASC',
-          'dd' => 'pid DESC',
-          'pa' => 'position ASC',
-          'pd' => 'position DESC',
-        );
-        $sort_code = isset($USER['sort'])? $USER['sort'] : $CONFIG['default_sort_order'];
-        $sort_order = isset($sort_array[$sort_code]) ? $sort_array[$sort_code] : $sort_array[$CONFIG['default_sort_order']];
-        $limit = ($limit1 != -1) ? ' LIMIT '. $limit1 : '';
-        $limit .= ($limit2 != -1) ? ' ,'. $limit2 : '';
-
-        if ($limit2 == 1) {
-            $select_columns = '*';
-        } else {
-            $select_columns = 'pid, filepath, filename, url_prefix, filesize, pwidth, pheight, ctime, aid, keywords';
-        }
-
-        if(count($FORBIDDEN_SET_DATA) > 0 ){
-            $forbidden_set_string =" AND aid NOT IN (".implode(",", $FORBIDDEN_SET_DATA).")";
-        } else {
-            $forbidden_set_string = '';
-        }
-
-        // Keyword
-        if (!empty($CURRENT_ALBUM_KEYWORD)){
-                $keyword = "OR (keywords like '%$CURRENT_ALBUM_KEYWORD%' $forbidden_set_string )";
-        } else {
-        	$keyword = '';
-        }
-
-        // Regular albums
-        if ((is_numeric($album))) {
-                $album_name_keyword = get_album_name($album);
-                $album_name = $album_name_keyword['title'];
-                $album_keyword = addslashes($album_name_keyword['keyword']);
-
-                if (!empty($album_keyword)) {
-                        $keyword = "OR (keywords like '%$album_keyword%' $forbidden_set_string )";
-                } else {
-                  $keyword = '';
-                }
-
-                $approved = GALLERY_ADMIN_MODE ? '' : 'AND approved=\'YES\'';
-
-                $query = "SELECT COUNT(*) from {$CONFIG['TABLE_PICTURES']} WHERE ((aid='$album' $forbidden_set_string ) $keyword) $approved $ALBUM_SET";
-                $result = cpg_db_query($query);
-                $nbEnr = mysql_fetch_array($result);
-                $count = $nbEnr[0];
-                mysql_free_result($result);
-
-                if($select_columns != '*') $select_columns .= ', title, caption,hits,owner_id,owner_name';
-
-                $query = "SELECT $select_columns from {$CONFIG['TABLE_PICTURES']} WHERE ((aid='$album' $forbidden_set_string ) $keyword) $approved $ALBUM_SET ORDER BY $sort_order $limit";
-
-                $result = cpg_db_query($query);
-                $rowset = cpg_db_fetch_rowset($result);
-                mysql_free_result($result);
-                // Set picture caption
-                if ($set_caption) {
-                	build_caption($rowset);
-                }
-
-
-        $rowset = CPGPluginAPI::filter('thumb_caption_regular',$rowset);
-
-                return $rowset;
-        }
-
-
-        // Meta albums
-        switch($album){
-        case 'lastcom': // Last comments
-                if ($META_ALBUM_SET && $CURRENT_CAT_NAME) {
-                        $album_name = $album_name = $lang_meta_album_names['lastcom'].' - '. $CURRENT_CAT_NAME;
-                } else {
-                        $album_name = $lang_meta_album_names['lastcom'];
-                }
-
-                // Replacing the AND in ALBUM_SET with AND (
-                if($META_ALBUM_SET){
-                        $TMP_SET = "AND (" . substr($META_ALBUM_SET, 3);
-                }else{
-                        $TMP_SET = "AND (1";
-                }
-
-                $query = "SELECT COUNT(*) from {$CONFIG['TABLE_COMMENTS']}, {$CONFIG['TABLE_PICTURES']}  WHERE approved = 'YES' AND {$CONFIG['TABLE_COMMENTS']}.pid = {$CONFIG['TABLE_PICTURES']}.pid $TMP_SET $keyword)";
-                $result = cpg_db_query($query);
-
-                $nbEnr = mysql_fetch_array($result);
-                $count = $nbEnr[0];
-                mysql_free_result($result);
-                $select_columns = '*'; //allows building any data into any thumbnail caption
-                if($select_columns == '*'){
-                  $select_columns = 'p.*, msg_id, author_id, msg_author, UNIX_TIMESTAMP(msg_date) as msg_date, msg_body, aid';
-                } else {
-                  $select_columns = str_replace('pid', 'c.pid', $select_columns).', msg_id, author_id, msg_author, UNIX_TIMESTAMP(msg_date) as msg_date, msg_body, aid';
-                }
-
-                $TMP_SET = str_replace($CONFIG['TABLE_PICTURES'],'p',$TMP_SET);
-                $query = "SELECT $select_columns FROM {$CONFIG['TABLE_COMMENTS']} as c, {$CONFIG['TABLE_PICTURES']} as p WHERE approved = 'YES' AND c.pid = p.pid $TMP_SET $keyword) ORDER by msg_id DESC $limit";
-                $result = cpg_db_query($query);
-
-
-                $rowset = cpg_db_fetch_rowset($result);
-                mysql_free_result($result);
-
-                if ($set_caption) build_caption($rowset,array('msg_body','msg_date'));
-
-                $rowset = CPGPluginAPI::filter('thumb_caption_lastcom',$rowset);
-
-                return $rowset;
-                break;
-
-        case 'lastcomby': // Last comments by a specific user
-                if (isset($_GET['uid'])) {
-                        $uid = (int)$_GET['uid'];
-                } else {
-                        $uid = -1;
-                }
-
-                $user_name = get_username($uid);
-                if ($META_ALBUM_SET && $CURRENT_CAT_NAME) {
-                        $album_name = $album_name = $lang_meta_album_names['lastcom'].' - '. $CURRENT_CAT_NAME .' - '. $user_name;
-                } else {
-                        $album_name = $lang_meta_album_names['lastcom'].' - '. $user_name;
-                }
-
-                $query = "SELECT COUNT(*) from {$CONFIG['TABLE_COMMENTS']}, {$CONFIG['TABLE_PICTURES']}  WHERE approved = 'YES' AND author_id = '$uid' AND {$CONFIG['TABLE_COMMENTS']}.pid = {$CONFIG['TABLE_PICTURES']}.pid $META_ALBUM_SET";
-                $result = cpg_db_query($query);
-                $nbEnr = mysql_fetch_array($result);
-                $count = $nbEnr[0];
-                mysql_free_result($result);
-
-                                $select_columns = '*, UNIX_TIMESTAMP(msg_date) AS msg_date'; //allows building any data into any thumbnail caption
-
-                $query = "SELECT $select_columns FROM {$CONFIG['TABLE_COMMENTS']} as c, {$CONFIG['TABLE_PICTURES']} as p WHERE approved = 'YES' AND author_id = '$uid' AND c.pid = p.pid $META_ALBUM_SET ORDER by msg_id DESC $limit";
-                $result = cpg_db_query($query);
-                $rowset = cpg_db_fetch_rowset($result);
-                mysql_free_result($result);
-
-                if ($set_caption) build_caption($rowset,array('msg_body','msg_date'));
-
-                $rowset = CPGPluginAPI::filter('thumb_caption_lastcomby',$rowset);
-
-                return $rowset;
-                break;
-
-        case 'lastup': // Last uploads
-                if ($META_ALBUM_SET && $CURRENT_CAT_NAME) {
-                        $album_name = $lang_meta_album_names['lastup'].' - '. $CURRENT_CAT_NAME;
-                } else {
-                        $album_name = $lang_meta_album_names['lastup'];
-                }
-
-                $query = "SELECT COUNT(*) from {$CONFIG['TABLE_PICTURES']} WHERE approved = 'YES' $META_ALBUM_SET";
-                $result = cpg_db_query($query);
-                $nbEnr = mysql_fetch_array($result);
-                $count = $nbEnr[0];
-                mysql_free_result($result);
-
-
-                //if($select_columns != '*' ) $select_columns .= ',title, caption, owner_id, owner_name, aid';
-                $select_columns = '*'; //allows building any data into any thumbnail caption
-                $query = "SELECT $select_columns FROM {$CONFIG['TABLE_PICTURES']} WHERE approved = 'YES' $META_ALBUM_SET ORDER BY pid DESC $limit";
-                $result = cpg_db_query($query);
-
-                $rowset = cpg_db_fetch_rowset($result);
-                mysql_free_result($result);
-
-                if ($set_caption) build_caption($rowset,array('ctime'));
-
-                $rowset = CPGPluginAPI::filter('thumb_caption_lastup',$rowset);
-
-                return $rowset;
-                break;
-
-        case 'lastupby': // Last uploads by a specific user
-                if (isset($_GET['uid'])) {
-                        $uid = (int)$_GET['uid'];
-                } else {
-                        $uid = -1;
-                }
-
-                $user_name = get_username($uid);
-                if ($META_ALBUM_SET && $CURRENT_CAT_NAME) {
-                        $album_name = $lang_meta_album_names['lastup'].' - '. $CURRENT_CAT_NAME .' - '. $user_name;
-                } else {
-                        $album_name = $lang_meta_album_names['lastup'] .' - '. $user_name;
-                }
-
-                $query = "SELECT COUNT(*) from {$CONFIG['TABLE_PICTURES']} WHERE approved = 'YES' AND owner_id = '$uid' $META_ALBUM_SET";
-                $result = cpg_db_query($query);
-                $nbEnr = mysql_fetch_array($result);
-                $count = $nbEnr[0];
-                mysql_free_result($result);
-
-                //if($select_columns != '*' ) $select_columns .= ', owner_id, owner_name, aid';
-                $select_columns = '*'; //allows building any data into any thumbnail caption
-
-                $query = "SELECT $select_columns FROM {$CONFIG['TABLE_PICTURES']} WHERE approved = 'YES' AND owner_id = '$uid' $META_ALBUM_SET ORDER BY pid DESC $limit";
-                $result = cpg_db_query($query);
-
-                $rowset = cpg_db_fetch_rowset($result);
-                mysql_free_result($result);
-
-                if ($set_caption) build_caption($rowset,array('ctime'));
-
-                $rowset = CPGPluginAPI::filter('thumb_caption_lastupby',$rowset);
-
-                return $rowset;
-                break;
-
-        case 'topn': // Most viewed pictures
-                if ($META_ALBUM_SET && $CURRENT_CAT_NAME) {
-                        $album_name = $lang_meta_album_names['topn'].' - '. $CURRENT_CAT_NAME;
-                } else {
-                        $album_name = $lang_meta_album_names['topn'];
-                }
-
-                $query ="SELECT COUNT(*) from {$CONFIG['TABLE_PICTURES']} WHERE approved = 'YES' AND hits > 0  $META_ALBUM_SET $keyword";
-
-                $result = cpg_db_query($query);
-                $nbEnr = mysql_fetch_array($result);
-                $count = $nbEnr[0];
-                mysql_free_result($result);
-
-                //if($select_columns != '*') $select_columns .= ', hits, aid, filename, owner_id, owner_name';
-                $select_columns = '*'; //allows building any data into any thumbnail caption
-
-                $query = "SELECT $select_columns FROM {$CONFIG['TABLE_PICTURES']} WHERE approved = 'YES'AND hits > 0 $META_ALBUM_SET $keyword ORDER BY hits DESC, filename  $limit";
-                $result = cpg_db_query($query);
-
-                $rowset = cpg_db_fetch_rowset($result);
-                mysql_free_result($result);
-
-                if ($set_caption) build_caption($rowset,array('hits'));
-
-                $rowset = CPGPluginAPI::filter('thumb_caption_topn',$rowset);
-
-                return $rowset;
-                break;
-
-        case 'toprated': // Top rated pictures
-                if ($META_ALBUM_SET && $CURRENT_CAT_NAME) {
-                        $album_name = $lang_meta_album_names['toprated'].' - '. $CURRENT_CAT_NAME;
-                } else {
-                        $album_name = $lang_meta_album_names['toprated'];
-                }
-                $query = "SELECT COUNT(*) from {$CONFIG['TABLE_PICTURES']} WHERE approved = 'YES' AND votes >= '{$CONFIG['min_votes_for_rating']}' $META_ALBUM_SET";
-                $result = cpg_db_query($query);
-                $nbEnr = mysql_fetch_array($result);
-                $count = $nbEnr[0];
-                mysql_free_result($result);
-
-                //if($select_columns != '*') $select_columns .= ', pic_rating, votes, aid, owner_id, owner_name';
-                $select_columns = '*'; //allows building any data into any thumbnail caption
-
-                $query = "SELECT $select_columns FROM {$CONFIG['TABLE_PICTURES']} WHERE approved = 'YES' AND votes >= '{$CONFIG['min_votes_for_rating']}' $META_ALBUM_SET ORDER BY pic_rating DESC, votes DESC, pid DESC $limit";
-                $result = cpg_db_query($query);
-                $rowset = cpg_db_fetch_rowset($result);
-                mysql_free_result($result);
-
-                if ($set_caption) build_caption($rowset,array('pic_rating'));
-
-                $rowset = CPGPluginAPI::filter('thumb_caption_toprated',$rowset);
-
-                return $rowset;
-                break;
-
-        case 'lasthits': // Last viewed pictures
-                if ($META_ALBUM_SET && $CURRENT_CAT_NAME) {
-                        $album_name = $lang_meta_album_names['lasthits'].' - '. $CURRENT_CAT_NAME;
-                } else {
-                        $album_name = $lang_meta_album_names['lasthits'];
-                }
-                $query = "SELECT COUNT(*) from {$CONFIG['TABLE_PICTURES']} WHERE approved = 'YES' and hits > 0 $META_ALBUM_SET";
-                $result = cpg_db_query($query);
-                $nbEnr = mysql_fetch_array($result);
-                $count = $nbEnr[0];
-                mysql_free_result($result);
-
-                //if($select_columns != '*') $select_columns .= ', UNIX_TIMESTAMP(mtime) as mtime, aid, hits, lasthit_ip, owner_id, owner_name';
-                $select_columns = '*, UNIX_TIMESTAMP(mtime) as mtime'; //allows building any data into any thumbnail caption
-
-                $query = "SELECT $select_columns FROM {$CONFIG['TABLE_PICTURES']} WHERE approved = 'YES' and hits > 0 $META_ALBUM_SET ORDER BY mtime DESC $limit";
-                $result = cpg_db_query($query);
-                $rowset = cpg_db_fetch_rowset($result);
-                mysql_free_result($result);
-
-                if ($set_caption) build_caption($rowset,array('mtime','hits'));
-
-                $rowset = CPGPluginAPI::filter('thumb_caption_lasthits',$rowset);
-
-                return $rowset;
-                break;
-
-        case 'random': // Random pictures
-                if ($META_ALBUM_SET && $CURRENT_CAT_NAME) {
-                        $album_name = $lang_meta_album_names['random'].' - '. $CURRENT_CAT_NAME;
-                } else {
-                        $album_name = $lang_meta_album_names['random'];
-                }
-
-                /* Commented out due to image not found bug
-                $query = "SELECT COUNT(*) from {$CONFIG['TABLE_PICTURES']} WHERE approved = 'YES' $META_ALBUM_SET";
-                $result = cpg_db_query($query);
-                $nbEnr = mysql_fetch_array($result);
-                $pic_count = $nbEnr[0];
-                mysql_free_result($result);
-                */
-
-                //if($select_columns != '*') $select_columns .= ', aid, owner_id, owner_name';
-                $select_columns = '*'; //allows building any data into any thumbnail caption
-                // if we have more than 1000 pictures, we limit the number of picture returned
-                // by the SELECT statement as ORDER BY RAND() is time consuming
-
-                /* Commented out due to image not found bug
-                if ($pic_count > 1000) {
-                    $result = cpg_db_query("SELECT COUNT(*) from {$CONFIG['TABLE_PICTURES']} WHERE approved = 'YES'");
-                        $nbEnr = mysql_fetch_array($result);
-                        $total_count = $nbEnr[0];
-                        mysql_free_result($result);
-
-                        $granularity = floor($total_count / RANDPOS_MAX_PIC);
-                        $cor_gran = ceil($total_count / $pic_count);
-                        srand(time());
-                        for ($i=1; $i<= $cor_gran; $i++) $random_num_set =rand(0, $granularity).', ';
-                        $random_num_set = substr($random_num_set,0, -2);
-                        $result = cpg_db_query("SELECT $select_columns FROM {$CONFIG['TABLE_PICTURES']} WHERE  randpos IN ($random_num_set) AND approved = 'YES' $ALBUM_SET ORDER BY RAND() LIMIT $limit2");
-                } else {
-                */
-
-                $limit_random = $limit2 ? 'LIMIT '.$limit2 : '';
-                $query = "SELECT $select_columns FROM {$CONFIG['TABLE_PICTURES']} WHERE approved = 'YES' $META_ALBUM_SET ORDER BY RAND() $limit_random";
-                $result = cpg_db_query($query);
-
-                $rowset = array();
-                while($row = mysql_fetch_array($result)){
-                        $rowset[-$row['pid']] = $row;
-                }
-                mysql_free_result($result);
-
-                if ($set_caption) build_caption($rowset);
-
-                $rowset = CPGPluginAPI::filter('thumb_caption_random',$rowset);
-
-                return $rowset;
-                break;
-
-        case 'search': // Search results
-                                if (isset($USER['search']['search'])) {
-                                        $search_string = $USER['search']['search'];
-                } else {
-                                        $search_string = '';
-                }
-
-                if ($META_ALBUM_SET && $CURRENT_CAT_NAME) {
-                        $album_name = $lang_meta_album_names['search'].' - '. $CURRENT_CAT_NAME;
-                } else {
-                        $album_name = $lang_meta_album_names['search'].' - "'. strtr($search_string, $HTML_SUBST) . '"';
-                }
-
-                include 'include/search.inc.php';
-
-                $rowset = CPGPluginAPI::filter('thumb_caption_search',$rowset);
-
-                return $rowset;
-                break;
-
-        case 'lastalb': // Last albums to which uploads
-                if ($META_ALBUM_SET && $CURRENT_CAT_NAME) {
-                        $album_name = $lang_meta_album_names['lastalb'].' - '. $CURRENT_CAT_NAME;
-                } else {
-                        $album_name = $lang_meta_album_names['lastalb'];
-                }
-
-
-                $META_ALBUM_SET = str_replace( "aid", $CONFIG['TABLE_PICTURES'].".aid" , $META_ALBUM_SET );
-
-                $query = "SELECT count({$CONFIG['TABLE_ALBUMS']}.aid) FROM {$CONFIG['TABLE_PICTURES']},{$CONFIG['TABLE_ALBUMS']} WHERE {$CONFIG['TABLE_PICTURES']}.aid = {$CONFIG['TABLE_ALBUMS']}.aid AND approved = 'YES' $META_ALBUM_SET GROUP  BY {$CONFIG['TABLE_PICTURES']}.aid";
-
-                $result = cpg_db_query($query);
-                $count = mysql_num_rows($result);
-                mysql_free_result($result);
-
-                $query = "SELECT *,{$CONFIG['TABLE_ALBUMS']}.title AS title,{$CONFIG['TABLE_ALBUMS']}.aid AS aid FROM {$CONFIG['TABLE_PICTURES']},{$CONFIG['TABLE_ALBUMS']} WHERE {$CONFIG['TABLE_PICTURES']}.aid = {$CONFIG['TABLE_ALBUMS']}.aid AND approved = 'YES' $META_ALBUM_SET GROUP BY {$CONFIG['TABLE_PICTURES']}.aid ORDER BY {$CONFIG['TABLE_PICTURES']}.ctime DESC $limit";
-                $result = cpg_db_query($query);
-                $rowset = cpg_db_fetch_rowset($result);
-                mysql_free_result($result);
-
-                if ($set_caption) build_caption($rowset,array('ctime'));
-
-                $rowset = CPGPluginAPI::filter('thumb_caption_lastalb',$rowset);
-
-                return $rowset;
-                break;
-
-        case 'favpics': // Favourite Pictures
-
-                $album_name = $lang_meta_album_names['favpics'];
-                                $rowset = array();
-                if (count($FAVPICS)>0){
-                        $favs = implode(",",$FAVPICS);
-                        $query = "SELECT COUNT(*) from {$CONFIG['TABLE_PICTURES']} WHERE approved = 'YES' AND pid IN ($favs) $META_ALBUM_SET";
-                        $result = cpg_db_query($query);
-                        $nbEnr = mysql_fetch_array($result);
-                        $count = $nbEnr[0];
-                        mysql_free_result($result);
-
-                        $select_columns = '*';
-
-                        $query = "SELECT $select_columns FROM {$CONFIG['TABLE_PICTURES']} WHERE approved = 'YES'AND pid IN ($favs) $META_ALBUM_SET $limit";
-                        $result = cpg_db_query($query);
-                        $rowset = cpg_db_fetch_rowset($result);
-
-                        mysql_free_result($result);
-
-                        if ($set_caption) build_caption($rowset,array('ctime'));
-                }
-
-                $rowset = CPGPluginAPI::filter('thumb_caption_favpics',$rowset);
-
-                return $rowset;
-                break;
-
-        default : // Invalid meta album
-        cpg_die(ERROR, $lang_errors['non_exist_ap'], __FILE__, __LINE__);
-        }
-} // End of get_pic_data
-
-
-// Get the name of an album
-
-/**
- * get_album_name()
- *
- * @param $aid
- * @return
- **/
-
-function get_album_name($aid)
-{
-        global $CONFIG;
-        global $lang_errors;
-
-        $result = cpg_db_query("SELECT title,keyword from {$CONFIG['TABLE_ALBUMS']} WHERE aid='$aid'");
-        $count = mysql_num_rows($result);
-        if ($count > 0) {
-                $row = mysql_fetch_array($result);
-                return $row;
-        } else {
-                cpg_die(ERROR, $lang_errors['non_exist_ap'], __FILE__, __LINE__);
-        }
-}
-
-// Return the name of a user
-
-/**
- * get_username()
- *
- * @param $uid
- * @return
- **/
-function get_username($uid)
-{
-        global $CONFIG, $cpg_udb;
-
-        $uid = (int)$uid;
-
-        if (!$uid) {
-            return 'Anonymous';
-        } elseif (defined('UDB_INTEGRATION')) {
-           return $cpg_udb->get_user_name($uid);
-        /*} else {
-                $result = cpg_db_query("SELECT user_name FROM {$CONFIG['TABLE_USERS']} WHERE user_id = '".$uid."'");
-                if (mysql_num_rows($result) == 0) return '';
-                $row = mysql_fetch_array($result);
-                mysql_free_result($result);
-                return $row['user_name'];*/
-        }
-}
-
-// Return the ID of a user
-
-/**
- * get_userid()
- *
- * @param $username
- * @return
- **/
-function get_userid($username)
-{
-        global $CONFIG, $cpg_udb;
-
-        $username = addslashes($username);
-
-        if (!$username) {
-            return 0;
-        } elseif (defined('UDB_INTEGRATION')) { // (Altered to fix banning w/ bb integration - Nibbler)
-           return $cpg_udb->get_user_id($username);
-        /*} else {
-                $result = cpg_db_query("SELECT user_id FROM {$CONFIG['TABLE_USERS']} WHERE user_name = '".$username."'");
-                if (mysql_num_rows($result) == 0) return 0;
-                $row = mysql_fetch_array($result);
-                mysql_free_result($result);
-                return $row['user_id'];*/
-        }
-}
-
-// get number of pending approvals
-
-/**
- * cpg_get_pending_approvals()
- *
- * @return
- **/
-function cpg_get_pending_approvals()
-{
-    global $CONFIG;
-    $result = cpg_db_query("SELECT COUNT(*) FROM {$CONFIG['TABLE_PICTURES']} WHERE approved = 'NO'");
-    if (mysql_num_rows($result) == 0) return 0;
-    $row = mysql_fetch_array($result);
-    mysql_free_result($result);
-    return $row[0];
-}
-
-// Return the total number of comments for a certain picture
-
-/**
- * count_pic_comments()
- *
- * @param $pid
- * @param integer $skip
- * @return
- **/
-function count_pic_comments($pid, $skip=0)
-{
-        global $CONFIG;
-        $result = cpg_db_query("SELECT count(*) from {$CONFIG['TABLE_COMMENTS']} where pid=$pid and msg_id!=$skip");
-        $nbEnr = mysql_fetch_array($result);
-        $count = $nbEnr[0];
-        mysql_free_result($result);
-
-        return $count;
-}
-
-// Add 1 everytime a picture is viewed.
-
-/**
- * add_hit()
- *
- * @param $pid
- * @return
- **/
-function add_hit($pid)
-{
-    global $CONFIG, $raw_ip;
-    cpg_db_query("UPDATE {$CONFIG['TABLE_PICTURES']} SET hits=hits+1, lasthit_ip='$raw_ip', mtime=CURRENT_TIMESTAMP WHERE pid='$pid'");
-
-    /**
-     * Code to record the details of hits for the picture, if the option is set in CONFIG
-     */
-    
-    if ($CONFIG['hit_details']) {
-        $client_details = cpg_determine_client();
-        // Get the details of user browser, IP, OS, etc
-        $os = $client_details['os'];
-		$browser = $client_details['browser'];
-
-        //Code to get the search string if the referrer is any of the following
-        $search_engines = array('google', 'lycos', 'yahoo');
-
-        $query_array = array();
-        foreach ($search_engines as $engine) {
-          if (is_referer_search_engine($engine)) {
-            $query_array = get_search_query_terms($engine);
-            break;
-          }
-        }
-        $query_terms = is_array($query_array) ? implode(',', $query_array) : '';
-        $search_phrase = addslashes($query_terms);
-
-        $time = time();
-        $referer = addslashes(htmlentities($_SERVER['HTTP_REFERER']));
-
-        // Insert the record in database
-        $query = "INSERT INTO {$CONFIG['TABLE_HIT_STATS']} SET"
-            ." pid = $pid,"
-            ." search_phrase = '$search_phrase',"
-            ." Ip   = '$raw_ip',"
-            ." sdate = '$time',"
-            ." referer='$referer',"
-            ." browser = '$browser',"
-            ." os = '$os'";
-        cpg_db_query($query);
-     }
-}
-
-/**
- * breadcrumb()
- *
- * Build the breadcrumb navigation
- *
- * @param integer $cat
- * @param string $breadcrumb
- * @param string $BREADCRUMB_TEXT
- * @return
- **/
-
-function breadcrumb($cat, &$breadcrumb, &$BREADCRUMB_TEXT)
-{
-        global $album, $lang_errors, $lang_list_categories;
-        global $CONFIG,$CURRENT_ALBUM_DATA, $CURRENT_CAT_NAME;
-
-        $category_array = array();
-
-        // first we build the category path: names and id
-        if ($cat != 0)
-        { //Categories other than 0 need to be selected
-                if ($cat >= FIRST_USER_CAT)
-                {
-                    $user_name = get_username($cat - FIRST_USER_CAT);
-                    if (!$user_name) $user_name = 'Mr. X';
-
-                    $category_array[] = array($cat, $user_name);
-                    $CURRENT_CAT_NAME = sprintf($lang_list_categories['xx_s_gallery'], $user_name);
-                    $row['parent'] = 1;
-                }
-                else
-                {
-                    $result = cpg_db_query("SELECT name, parent FROM {$CONFIG['TABLE_CATEGORIES']} WHERE cid = '$cat'");
-                    if (mysql_num_rows($result) == 0)
-                        cpg_die(CRITICAL_ERROR, $lang_errors['non_exist_cat'], __FILE__, __LINE__);
-                    $row = mysql_fetch_array($result);
-
-                    $category_array[] = array($cat, $row['name']);
-                    $CURRENT_CAT_NAME = $row['name'];
-                    mysql_free_result($result);
-                }
-
-                while($row['parent'] != 0)
-                {
-                    $result = cpg_db_query("SELECT cid, name, parent FROM {$CONFIG['TABLE_CATEGORIES']} WHERE cid = '{$row['parent']}'");
-                    if (mysql_num_rows($result) == 0)
-                        cpg_die(CRITICAL_ERROR, $lang_errors['orphan_cat'], __FILE__, __LINE__);
-                    $row = mysql_fetch_array($result);
-
-                    $category_array[] = array($row['cid'], $row['name']);
-                    mysql_free_result($result);
-                } // while
-
-                $category_array = array_reverse($category_array);
-        }
-
-        $breadcrumb_links = array();
-        $BREADCRUMB_TEXTS = array();
-
-        // Add the Home link  to breadcrumb
-        $breadcrumb_links[0] = '<a href="index.php">'.$lang_list_categories['home'].'</a>';
-        $BREADCRUMB_TEXTS[0] = $lang_list_categories['home'];
-
-        $cat_order = 1;
-        foreach ($category_array as $category)
-        {
-            $breadcrumb_links[$cat_order] = "<a href=\"index.php?cat={$category[0]}\">{$category[1]}</a>";
-            $BREADCRUMB_TEXTS[$cat_order] = $category[1];
-            $cat_order += 1;
-        }
-
-        //Add Link for album if aid is set
-        if (isset($CURRENT_ALBUM_DATA['aid']))
-        {
-            $breadcrumb_links[$cat_order] = "<a href=\"thumbnails.php?album=".$CURRENT_ALBUM_DATA['aid']."\">".$CURRENT_ALBUM_DATA['title']."</a>";
-            $BREADCRUMB_TEXTS[$cat_order] = $CURRENT_ALBUM_DATA['title'];
-        }
-
-        // we check if the theme_breadcrumb exists...
-        if (function_exists('theme_breadcrumb'))
-        {
-            theme_breadcrumb($breadcrumb_links, $BREADCRUMB_TEXTS, $breadcrumb, $BREADCRUMB_TEXT);
-            return;
-        }
-        // otherwise we have a default breadcrumb builder:
-        $breadcrumb = '';
-        $BREADCRUMB_TEXT = '';
-        foreach ($breadcrumb_links as $breadcrumb_link)
-        {
-            $breadcrumb .= ' > ' . $breadcrumb_link;
-        }
-        foreach ($BREADCRUMB_TEXTS as $BREADCRUMB_TEXT_elt)
-        {
-            $BREADCRUMB_TEXT .= ' > ' . $BREADCRUMB_TEXT_elt;
-        }
-        // We remove the first ' > '
-        $breadcrumb = substr_replace($breadcrumb,'', 0, 3);
-        $BREADCRUMB_TEXT = substr_replace($BREADCRUMB_TEXT,'', 0, 3);
-        //echo $breadcrumb;
-}
-
-
-/**************************************************************************
-
- **************************************************************************/
-
-// Compute image geometry based on max width / height
-
-/**
- * compute_img_size()
- *
- * Compute image geometry based on max, width / height
- *
- * @param integer $width
- * @param integer $height
- * @param integer $max
- * @return array
- **/
-function compute_img_size($width, $height, $max)
-{
-         global $CONFIG;
-        $thumb_use=$CONFIG['thumb_use'];
-        if($thumb_use=='ht') {
-          $ratio = $height / $max;
-        } elseif($thumb_use=='wd') {
-          $ratio = $width / $max;
-        } else {
-          $ratio = max($width, $height) / $max;
-        }
-        if ($ratio > 1.0) {
-                $image_size['reduced'] = true;
-        }
-        $ratio = max($ratio, 1.0);
-        $image_size['width'] =  (int) ($width / $ratio);
-        $image_size['height'] = (int) ($height / $ratio);
-        $image_size['whole'] = 'width="'.$image_size['width'].'" height="'.$image_size['height'].'"';
-        if($thumb_use=='ht') {
-          $image_size['geom'] = ' height="'.$image_size['height'].'"';
-        } elseif($thumb_use=='wd') {
-          $image_size['geom'] = 'width="'.$image_size['width'].'"';
-        } else {
-          $image_size['geom'] = 'width="'.$image_size['width'].'" height="'.$image_size['height'].'"';
-        }
-
-
-
-        return $image_size;
-}
-
-// Prints thumbnails of pictures in an album
-
-/**
- * display_thumbnails()
- *
- * Generates data to display thumbnails of pictures in an album
- *
- * @param mixed $album Either the album ID or the meta album name
- * @param integer $cat Either the category ID or album ID if negative
- * @param integer $page Page number to display
- * @param integer $thumbcols
- * @param integer $thumbrows
- * @param boolean $display_tabs
- **/
-
-function display_thumbnails($album, $cat, $page, $thumbcols, $thumbrows, $display_tabs)
-{
-        global $CONFIG, $AUTHORIZED;
-        global $album_date_fmt, $lang_display_thumbnails, $lang_errors, $lang_byte_units;
-
-        $thumb_per_page = $thumbcols * $thumbrows;
-        $lower_limit = ($page-1) * $thumb_per_page;
-
-        $pic_data = get_pic_data($album, $thumb_count, $album_name, $lower_limit, $thumb_per_page);
-
-        $total_pages = ceil($thumb_count / $thumb_per_page);
-
-        $i = 0;
-        if (count($pic_data) > 0) {
-                foreach ($pic_data as $key => $row) {
-                        $i++;
-
-                        $pic_title =$lang_display_thumbnails['filename'].$row['filename']."\n".
-                                $lang_display_thumbnails['filesize'].($row['filesize'] >> 10).$lang_byte_units[1]."\n".
-                                $lang_display_thumbnails['dimensions'].$row['pwidth']."x".$row['pheight']."\n".
-                                $lang_display_thumbnails['date_added'].localised_date($row['ctime'], $album_date_fmt);
-
-                        $pic_url =  get_pic_url($row, 'thumb');
-                        if (!is_image($row['filename'])) {
-                                $image_info = getimagesize(urldecode($pic_url));
-                                $row['pwidth'] = $image_info[0];
-                                $row['pheight'] = $image_info[1];
-                        }
-
-                        $image_size = compute_img_size($row['pwidth'], $row['pheight'], $CONFIG['thumb_width']);
-
-                        $thumb_list[$i]['pos'] = $key < 0 ? $key : $i - 1 + $lower_limit;
-                        $thumb_list[$i]['pid'] = $row['pid'];
-                        $thumb_list[$i]['image'] = "<img src=\"" . $pic_url . "\" class=\"image\" {$image_size['geom']} border=\"0\" alt=\"{$row['filename']}\" title=\"$pic_title\"/>";
-                        $thumb_list[$i]['caption'] = bb_decode($row['caption_text']);
-                        $thumb_list[$i]['admin_menu'] = '';
-                        $thumb_list[$i]['aid'] = $row['aid'];
-                }
-                theme_display_thumbnails($thumb_list, $thumb_count, $album_name, $album, $cat, $page, $total_pages, is_numeric($album), $display_tabs);
-        } else {
-                theme_no_img_to_display($album_name);
-        }
-}
-
- /**
- * cpg_get_system_thumb_list()
- *
- * Return an array containing the system thumbs in a directory
-
- * @param string $search_folder
- * @return array
- **/
-function cpg_get_system_thumb_list($search_folder = 'images/')
-{
-        global $CONFIG;
-        static $thumbs = array();
-
-        $folder = 'images/';
-
-        $thumb_pfx =& $CONFIG['thumb_pfx'];
-        // If thumb array is empty get list from coppermine 'images' folder
-        if ((count($thumbs) == 0) && ($folder == $search_folder)) {
-                $dir = opendir($folder);
-                while (($file = readdir($dir))!==false) {
-                        if (is_file($folder . $file) && strpos($file,$thumb_pfx) === 0) {
-                                // Store filenames in an array
-                                $thumbs[] = array('filename' => $file);
-                        }
-                }
-                closedir($dir);
-                return $thumbs;
-        } elseif ($folder == $search_folder) {
-                // Search folder is the same as coppermine images folder; just return the array
-                return $thumbs;
-        } else {
-                // Search folder is the different; check for files in the given folder
-                $results = array();
-                foreach ($thumbs as $thumb) {
-                        if (is_file($search_folder.$thumb['filename'])) {
-                                $results[] = array('filename' => $thumb['filename']);
-                        }
-                }
-                return $results;
-        }
-}
-
-
-/**
- * cpg_get_system_thumb()
- *
- * Gets data for system thumbs
- *
- * @param string $filename
- * @param integer $user
- * @return array
- **/
-
-function& cpg_get_system_thumb($filename,$user=10001)
-{
-        global $CONFIG,$USER_DATA;
-
-        // Correct user_id
-        if ($user<10000)
-        {
-                $user += 10000;
-        }
-
-        if ($user==10000) {
-                $user = 10001;
-        }
-
-        // Get image data for thumb
-        $picdata = array('filename'=>$filename,
-                         'filepath'=>$CONFIG['userpics'].$user.'/',
-                         'url_prefix'=>0);
-        $pic_url = get_pic_url($picdata,'thumb',true);
-        $picdata['thumb'] = $pic_url;
-        $image_info = getimagesize(urldecode($pic_url));
-        $picdata['pwidth'] = $image_info[0];
-        $picdata['pheight'] = $image_info[1];
-        $image_size = compute_img_size($picdata['pwidth'], $picdata['pheight'], $CONFIG['alb_list_thumb_size']);
-        $picdata['whole'] = $image_size['whole'];
-        $picdata['reduced'] = (isset($image_size['reduced']) && $image_size['reduced']);
-        return $picdata;
-}
-
-
-/**
- * display_film_strip()
- *
- * gets data for thumbnails in an album for the film strip
- *
- * @param integer $album
- * @param integer $cat
- * @param integer $pos
- **/
-
-function display_film_strip($album, $cat, $pos)
-{
-        global $CONFIG, $AUTHORIZED;
-        global $album_date_fmt, $lang_display_thumbnails, $lang_errors, $lang_byte_units;
-        $max_item=$CONFIG['max_film_strip_items'];
-        //$thumb_per_page = $pos+$CONFIG['max_film_strip_items'];
-        $thumb_per_page = $max_item*2;
-        $l_limit = max(0,$pos-$CONFIG['max_film_strip_items']);
-        $new_pos=max(0,$pos-$l_limit);
-
-        $pic_data = get_pic_data($album, $thumb_count, $album_name, $l_limit, $thumb_per_page);
-
-        if (count($pic_data) < $max_item ){
-                $max_item = count($pic_data);
-        }
-        $lower_limit=3;
-
-        if(!isset($pic_data[$new_pos+1])) {
-           $lower_limit=$new_pos-$max_item+1;
-        } else if(!isset($pic_data[$new_pos+2])) {
-           $lower_limit=$new_pos-$max_item+2;
-        } else if(!isset($pic_data[$new_pos-1])) {
-           $lower_limit=$new_pos;
-        } else {
-          $hf=$max_item/2;
-          $ihf=(int)($max_item/2);
-          if($new_pos > $hf ) {
-             //if($max_item%2==0) {
-               //$lower_limit=
-             //} else {
-             {
-               $lower_limit=$new_pos-$ihf;
-             }
-          }
-          elseif($new_pos <= $hf ) { $lower_limit=0; }
-        }
-
-        $pic_data=array_slice($pic_data,$lower_limit,$max_item);
-        $i=$l_limit;
-        if (count($pic_data) > 0) {
-                foreach ($pic_data as $key => $row) {
-                        $hi =(($pos==($i + $lower_limit)) ? '1': '');
-                        $i++;
-
-                        $pic_title =$lang_display_thumbnails['filename'].$row['filename']."\n".
-                                $lang_display_thumbnails['filesize'].($row['filesize'] >> 10).$lang_byte_units[1]."\n".
-                                $lang_display_thumbnails['dimensions'].$row['pwidth']."x".$row['pheight']."\n".
-                                $lang_display_thumbnails['date_added'].localised_date($row['ctime'], $album_date_fmt);
-
-                        $pic_url =  get_pic_url($row, 'thumb');
-                        if (!is_image($row['filename'])) {
-                                $image_info = getimagesize(urldecode($pic_url));
-                                $row['pwidth'] = $image_info[0];
-                                $row['pheight'] = $image_info[1];
-                        }
-
-                        $image_size = compute_img_size($row['pwidth'], $row['pheight'], $CONFIG['thumb_width']);
-
-                        $p=$i - 1 + $lower_limit;
-                        $p=($p < 0 ? 0 : $p);
-                        $thumb_list[$i]['pos'] = $key < 0 ? $key : $p;
-                        $thumb_list[$i]['image'] = "<img src=\"" . $pic_url . "\" class=\"image\" {$image_size['geom']} border=\"0\" alt=\"{$row['filename']}\" title=\"$pic_title\" />";
-                        $thumb_list[$i]['caption'] = $CONFIG['display_film_strip_filename'] ? '<span class="thumb_filename">'.$row['filename'].'</span>' : '';
-                        $thumb_list[$i]['admin_menu'] = '';
-
-                }
-                return theme_display_film_strip($thumb_list, $thumb_count, $album_name, $album, $cat, $pos, is_numeric($album));
-        } else {
-                theme_no_img_to_display($album_name);
-        }
-}
-
-// Return the url for a picture, allows to have pictures spreaded over multiple servers
-
-/**
- * get_pic_url()
- *
- * Return the url for a picture
- *
- * @param array $pic_row
- * @param string $mode
- * @param boolean $system_pic
- * @return string
- **/
-
-function& get_pic_url(&$pic_row, $mode,$system_pic = false)
-{
-        global $CONFIG,$THEME_DIR;
-
-        static $pic_prefix = array();
-        static $url_prefix = array();
-
-        if (!count($pic_prefix)) {
-                $pic_prefix = array(
-                        'thumb' => $CONFIG['thumb_pfx'],
-                        'normal' => $CONFIG['normal_pfx'],
-                        'fullsize' => ''
-                );
-
-                $url_prefix = array(
-                        0 => $CONFIG['fullpath'],
-                );
-        }
-
-        $mime_content = cpg_get_type($pic_row['filename']);
-        // If $mime_content is empty there will be errors, so only perform the array_merge if $mime_content is actually an array
-        if (is_array($mime_content)) {
-            $pic_row = array_merge($pic_row,$mime_content);
-        }
-
-        $filepathname = null;
-
-        // Code to handle custom thumbnails
-        // If fullsize or normal mode use regular file
-        if ($mime_content['content'] != 'image' && $mode== 'normal') {
-                $mode = 'fullsize';
-        } elseif (($mime_content['content'] != 'image' && $mode == 'thumb') || $system_pic) {
-                $thumb_extensions = Array('.gif','.png','.jpg');
-                // Check for user-level custom thumbnails
-                // Create custom thumb path and erase extension using filename; Erase filename's extension
-                $custom_thumb_path = $url_prefix[$pic_row['url_prefix']].$pic_row['filepath'].$pic_prefix[$mode];
-                $file_base_name = str_replace('.'.$mime_content['extension'],'',basename($pic_row['filename']));
-                // Check for file-specific thumbs
-                foreach ($thumb_extensions as $extension) {
-                        if (file_exists($custom_thumb_path.$file_base_name.$extension)) {
-                                $filepathname = $custom_thumb_path.$file_base_name.$extension;
-                                break;
-                        }
-                }
-                if (!$system_pic) {
-                        // Check for extension-specific thumbs
-                        if (is_null($filepathname)) {
-                                foreach ($thumb_extensions as $extension) {
-                                        if (file_exists($custom_thumb_path.$mime_content['extension'].$extension)) {
-                                                $filepathname = $custom_thumb_path.$mime_content['extension'].$extension;
-                                                break;
-                                        }
-                                }
-                        }
-                        // Check for content-specific thumbs
-                        if (is_null($filepathname)) {
-                                foreach ($thumb_extensions as $extension) {
-                                        if (file_exists($custom_thumb_path.$mime_content['content'].$extension)) {
-                                                $filepathname = $custom_thumb_path.$mime_content['content'].$extension;
-                                                break;
-                                        }
-                                }
-                        }
-                }
-                // Use default thumbs
-                if (is_null($filepathname)) {
-                               // Check for default theme- and global-level thumbs
-                               $thumb_paths[] = $THEME_DIR.'images/';                 // Used for custom theme thumbs
-                               $thumb_paths[] = 'images/';                             // Default Coppermine thumbs
-                               foreach ($thumb_paths as $default_thumb_path) {
-                                       if (is_dir($default_thumb_path)) {
-                                               if (!$system_pic) {
-                                                       foreach ($thumb_extensions as $extension) {
-                                                               // Check for extension-specific thumbs
-                                                               if (file_exists($default_thumb_path.$CONFIG['thumb_pfx'].$mime_content['extension'].$extension)) {
-                                                                       $filepathname = $default_thumb_path.$CONFIG['thumb_pfx'].$mime_content['extension'].$extension;
-                                                                       break 2;
-                                                               }
-                                                       }
-                                                       foreach ($thumb_extensions as $extension) {
-                                                               // Check for media-specific thumbs (movie,document,audio)
-                                                               if (file_exists($default_thumb_path.$CONFIG['thumb_pfx'].$mime_content['content'].$extension)) {
-                                                                       $filepathname = $default_thumb_path.$CONFIG['thumb_pfx'].$mime_content['content'].$extension;
-                                                                       break 2;
-                                                               }
-                                                       }
-                                               } else {
-                                                       // Check for file-specific thumbs for system files
-                                                       foreach ($thumb_extensions as $extension) {
-                                                               if (file_exists($default_thumb_path.$CONFIG['thumb_pfx'].$file_base_name.$extension)) {
-                                                                       $filepathname = $default_thumb_path.$CONFIG['thumb_pfx'].$file_base_name.$extension;
-                                                                       break 2;
-                                                               }
-                                                       }
-                                               }
-                                       }
-                               }
-                }
-                $filepathname = path2url($filepathname);
-        }
-
-        if (is_null($filepathname)) {
-            $filepathname = $url_prefix[$pic_row['url_prefix']]. path2url($pic_row['filepath']. $pic_prefix[$mode]. $pic_row['filename']);
-        }
-
-        // Added hack:  "&& !isset($pic_row['mode'])" thumb_data filter isn't executed for the fullsize image
-        if ($mode == 'thumb' && !isset($pic_row['mode'])) {
-            $pic_row['url'] = $filepathname;
-            $pic_row['mode'] = $mode;
-            $pic_row = CPGPluginAPI::filter('thumb_data',$pic_row);
-        } elseif ($mode != 'thumb') {
-            $pic_row['url'] = $filepathname;
-            $pic_row['mode'] = $mode;
-        } else {
-            $pic_row['url'] = $filepathname;
-        }
-
-        return $pic_row['url'];
-}
-
-
-/**
- * cpg_get_default_lang_var()
- *
- * Return a variable from the default language file
- *
- * @param $language_var_name
- * @param unknown $overide_language
- * @return
- **/
-function& cpg_get_default_lang_var($language_var_name,$overide_language = null) {
-        global $CONFIG;
-        if (is_null($overide_language)) {
-                if (isset($CONFIG['default_lang'])) {
-                        $language = $CONFIG['default_lang'];
-                } else {
-                               global $$language_var_name;
-                               return $$language_var_name;
-                }
-        } else {
-                       $language = $overide_language;
-        }
-        include('lang/'.$language.'.php');
-        return $$language_var_name;
-}
-
-// Returns a variable from the current language file
-// If variable doesn't exists gets value from english_us lang file
-
-/**
- * cpg_lang_var()
- *
- * @param $varname
- * @param unknown $index
- * @return
- **/
-
-function& cpg_lang_var($varname,$index=null) {
-        global $$varname;
-
-        $lang_var =& $$varname;
-
-        if (isset($lang_var)) {
-                if (!is_null($index) && !isset($lang_var[$index])) {
-                        include('lang/english.php');
-                        return $lang_var[$index];
-                } elseif (is_null($index)) {
-                        return $lang_var;
-                } else {
-                               return $lang_var[$index];
-                }
-        } else {
-                       include('lang/english.php');
-                       return $lang_var;
-        }
-}
-
-
-/**
- * cpg_debug_output()
- *
- * defined new debug_output function here in functions.inc.php instead of theme.php with different function names to avoid incompatibilities with users not updating their themes as required. Advanced info is only output if (GALLERY_ADMIN_MODE == TRUE)
- *
- **/
-
-function cpg_debug_output()
-{
-    global $USER, $USER_DATA, $META_ALBUM_SET, $ALBUM_SET, $CONFIG, $cpg_time_start, $query_stats, $queries, $lang_cpg_debug_output;
-        $time_end = cpgGetMicroTime();
-        $time = round($time_end - $cpg_time_start, 3);
-
-        $query_count = count($query_stats);
-        $total_query_time = array_sum($query_stats);
-
-        $debug_underline = '&#0010;------------------&#0010;';
-        $debug_separate = '&#0010;==========================&#0010;';
-        echo '<form name="debug" action="'.$_SERVER['PHP_SELF'].'">';
-        starttable('100%', $lang_cpg_debug_output['debug_info'],2);
-        echo '<tr><td align="center" valign="middle" class="tableh2" width="100">';
-        echo '<script language="javascript" type="text/javascript">
-<!--
-
-function HighlightAll(theField) {
-var tempval=eval("document."+theField)
-tempval.focus()
-tempval.select()
-}
-//-->
-</script>';
-        echo '
-        <a href="javascript:HighlightAll(\'debug.debugtext\')" class="admin_menu">' . $lang_cpg_debug_output['select_all'] . '</a>';
-        echo '</td><td align="left" valign="middle" class="tableh2">';
-        if (GALLERY_ADMIN_MODE){echo '<span class="album_stat">('.$lang_cpg_debug_output['copy_and_paste_instructions'].')</span>';}
-        echo '</td></tr>';
-        echo '<tr><td class="tableb" colspan="2">';
-        echo '<textarea  rows="10" cols="60" class="debug_text" name="debugtext">';
-        echo "USER: ";
-        echo $debug_underline;
-        print_r($USER);
-        echo $debug_separate;
-        echo "USER DATA:";
-        echo $debug_underline;
-        print_r($USER_DATA);
-        echo $debug_separate;
-        echo "Queries:";
-        echo $debug_underline;
-        print_r($queries);
-        echo $debug_separate;
-        echo "GET :";
-        echo $debug_underline;
-        print_r($_GET);
-        echo $debug_separate;
-        echo "POST :";
-        echo $debug_underline;
-        print_r($_POST);
-        echo $debug_separate;
-        if (GALLERY_ADMIN_MODE){
-        echo "VERSION INFO :";
-        echo $debug_underline;
-        $version_comment = ' - OK';
-        if (strcmp('4.0.0', phpversion()) == 1) {$version_comment = ' - your PHP version isn\'t good enough! Minimum requirements: 4.x';}
-        echo 'PHP version: ' . phpversion().$version_comment;
-        echo $debug_underline;
-        $version_comment = '';
-        $mySqlVersion = cpg_phpinfo_mysql_version();
-        if (strcmp('3.23.23', $mySqlVersion) == 1) {$version_comment = ' - your mySQL version isn\'t good enough! Minimum requirements: 3.23.23';}
-        echo 'mySQL version: ' . $mySqlVersion . $version_comment;
-        echo $debug_underline;
-        echo 'Coppermine version: ';
-        echo COPPERMINE_VERSION . '(' . COPPERMINE_VERSION_STATUS . ')';
-        echo $debug_separate;
-//        error_reporting  (E_ERROR | E_WARNING | E_PARSE); // New maze's error report system
-        if (function_exists('gd_info') == true) {
-            echo 'Module: GD';
-            echo $debug_underline;
-            $gd_array = gd_info();
-            foreach ($gd_array as $key => $value) {
-                echo $key.': '.$value."\n";
-            }
-            echo $debug_separate;
-        } else {
-            echo cpg_phpinfo_mod_output('gd','text');
-        }
-        echo cpg_phpinfo_mod_output('mysql','text');
-        echo cpg_phpinfo_mod_output('zlib','text');
-        echo 'Server restrictions (safe mode)?';
-        echo $debug_underline;
-        echo 'Directive | Local Value | Master Value';
-        echo cpg_phpinfo_conf_output("safe_mode");
-        echo cpg_phpinfo_conf_output("safe_mode_exec_dir");
-        echo cpg_phpinfo_conf_output("safe_mode_gid");
-        echo cpg_phpinfo_conf_output("safe_mode_include_dir");
-        echo cpg_phpinfo_conf_output("safe_mode_exec_dir");
-        echo cpg_phpinfo_conf_output("sql.safe_mode");
-        echo cpg_phpinfo_conf_output("disable_functions");
-        echo cpg_phpinfo_conf_output("file_uploads");
-        echo cpg_phpinfo_conf_output("include_path");
-        echo cpg_phpinfo_conf_output("open_basedir");
-        echo $debug_separate;
-        echo 'email';
-        echo $debug_underline;
-        echo 'Directive | Local Value | Master Value';
-        echo cpg_phpinfo_conf_output("sendmail_from");
-        echo cpg_phpinfo_conf_output("sendmail_path");
-        echo cpg_phpinfo_conf_output("SMTP");
-        echo cpg_phpinfo_conf_output("smtp_port");
-        echo $debug_separate;
-        echo 'Size and Time';
-        echo $debug_underline;
-        echo 'Directive | Local Value | Master Value';
-        echo cpg_phpinfo_conf_output("max_execution_time");
-        echo cpg_phpinfo_conf_output("max_input_time");
-        echo cpg_phpinfo_conf_output("upload_max_filesize");
-        echo cpg_phpinfo_conf_output("post_max_size");
-        echo $debug_separate;
-        }
-
-        echo <<<EOT
-Page generated in $time seconds - $query_count queries in $total_query_time seconds - Album set : $ALBUM_SET; Meta set: $META_ALBUM_SET;
-EOT;
-        echo "</textarea>";
-        echo "</td>";
-        echo "</tr>";
-        if (GALLERY_ADMIN_MODE){
-          echo "<tr><td class=\"tablef\" colspan=\"2\">";
-          echo "<a href=\"phpinfo.php\" class=\"admin_menu\">".$lang_cpg_debug_output['phpinfo']."</a>";
-//          error_reporting  (E_ERROR | E_WARNING | E_PARSE); // New maze's error report system
-          echo "</td></tr>";
-        }
-
-        // Maze's new error report system
-        global $cpgdebugger;
-        $report = $cpgdebugger->stop();
-        if (is_array($report) && $CONFIG['debug_notice']!= 0) {
-            echo '<tr><td class="tableh1" colspan="2">';
-            echo '<b>';
-            echo $lang_cpg_debug_output['notices'];
-            echo '</b>';
-            echo '</td></tr>';
-            echo '<tr><td class="tableb" colspan="2">';
-            foreach($report AS $file => $errors) {
-                echo '<b>'.substr($file, $strstart).'</b><ul>';
-                foreach($errors AS $error) { echo "<li>$error</li>"; }
-                echo '</ul>';
-            }
-            echo '</td></tr>';
-        }
-        endtable();
-        echo "</form>";
-
-}
-
-/**
- * cpg_phpinfo_mod()
- *
- * phpinfo-related functions:
- *
- * @param $search
- * @return
- **/
-
-function cpg_phpinfo_mod($search)
-{
-    // this could be done much better with regexpr - anyone who wants to change it: go ahead
-    ob_start();
-    phpinfo(INFO_MODULES);
-    $string = ob_get_contents();
-    $module = $string;
-    $delimiter = '#cpgdelimiter#';
-    ob_end_clean();
-    // find out the first occurence of "<h2" and throw the superfluos stuff away
-    $string = stristr($string, 'module_' . $search);
-    $string = eregi_replace('</table>(.*)', '', $string);
-    $string = stristr($string, '<tr');
-    $string = str_replace('</td>', '|', $string);
-    $string = str_replace('</tr>', $delimiter, $string);
-    $string = chop(strip_tags($string));
-    $pieces = explode($delimiter, $string);
-    foreach($pieces as $key => $val) {
-        $bits[$key] = explode("|", $val);
-    }
-    return $bits;
-}
-
-/**
- * cpg_phpinfo_mod_output()
- *
- * @param $search
- * @param $output_type
- * @return
- **/
-
-function cpg_phpinfo_mod_output($search,$output_type)
-{
-// first parameter is the module name, second parameter is the way you want your output to look like: table or text
-    $pieces = cpg_phpinfo_mod($search);
-    $summ = '';
-    $return = '';
-    $debug_underline = '&#0010;------------------&#0010;';
-    $debug_separate = '&#0010;==========================&#0010;';
-
-    if ($output_type == 'table')
-    {
-    ob_start();
-    starttable('100%', 'Module: '.$search, 2);
-    $return.= ob_get_contents();
-    ob_end_clean();
-    }
-    else
-    {
-    $return.= 'Module: '.$search.$debug_underline;
-    }
-    foreach($pieces as $val) {
-        if ($output_type == 'table') {$return.= '<tr><td>';}
-        $return.= $val[0];
-        if ($output_type == 'table') {$return.= '</td><td>';}
-        if (isset($val[1])) {$return.= $val[1];}
-        if ($output_type == 'table') {$return.= '</td></tr>';}
-        $summ .= $val[0];
-    }
-    if (!$summ) {
-        if ($output_type == 'table') {$return.= '<tr><td colspan="2">';}
-        $return.= 'module doesn\'t exist';
-        if ($output_type == 'table') {$return.= '</td></tr>';}
-    }
-    if ($output_type == 'table')
-    {
-    ob_start();
-    endtable();
-    $return.= ob_get_contents();
-    ob_end_clean();
-    }
-    else
-    {
-    $return.= $debug_separate;
-    }
-    return $return;
-}
-
-/**
- * cpg_phpinfo_mysql_version()
- *
- * @return
- **/
-
-
-function cpg_phpinfo_mysql_version()
-{
-    $result = mysql_query("SELECT VERSION() as version");
-    $row = mysql_fetch_row($result);
-    return $row[0];
-}
-
-/**
- * cpg_phpinfo_conf()
- *
- * @param $search
- * @return
- **/
-
-function cpg_phpinfo_conf($search)
-{
-    // this could be done much better with regexpr - anyone who wants to change it: go ahead
-    $string ='';
-    $pieces = '';
-    $delimiter = '#cpgdelimiter#';
-    $bits = '';
-
-    ob_start();
-    phpinfo(INFO_CONFIGURATION);
-    $string = ob_get_contents();
-    ob_end_clean();
-    // find out the first occurence of "</tr" and throw the superfluos stuff in front of it away
-    $string = strchr($string, '</tr>');
-    $string = str_replace('</td>', '|', $string);
-    $string = str_replace('</tr>', $delimiter, $string);
-    $string = chop(strip_tags($string));
-    $pieces = explode($delimiter, $string);
-    foreach($pieces as $val) {
-        $bits = explode("|", $val);
-        if (strchr($bits[0], $search)) {
-            return $bits;
-        }
-    }
-}
-
-/**
- * cpg_phpinfo_conf_output()
- *
- * @param $search
- * @return
- **/
-
-function cpg_phpinfo_conf_output($search)
-{
-$pieces = cpg_phpinfo_conf($search);
-        $return= $pieces[0] . ' | ' . $pieces[1] . ' | ' . $pieces[2];
-        return $return;
-}
-
-// theme and language selection
-
-
-/**
- * languageSelect()
- *
- * @param $parameter
- * @return
- **/
-
-function languageSelect($parameter)
-{
-global $CONFIG,$lang_language_selection;
-$return= '';
-$lineBreak = "\n";
-
-//check if language display is enabled
-if ($CONFIG['language_list'] == 0 && $parameter == 'list'){
-    return;
-}
-if ($CONFIG['language_flags'] == 0 && $parameter == 'flags'){
-    return;
-}
-
-
-
-
-// get the current language
- //use the default language of the gallery
- $cpgCurrentLanguage = $CONFIG['lang'];
-
- // is a user logged in?
- //has the user already chosen another language for himself?
- //if($USER['lang']!=""){
- //   $cpgCurrentLanguage = $USER['lang'];
- //   }
- //has the language been set to something else on the previous page?
- if (isset($_GET['lang'])){
-    $cpgCurrentLanguage = $_GET['lang'];
-    }
- //get the url and all vars except $lang
- $cpgChangeUrl = $_SERVER["SCRIPT_NAME"]."?";
- foreach ($_GET as $key => $value) {
-    if ($key!="lang"){$cpgChangeUrl.= $key . "=" . $value . "&amp;";}
- }
- $cpgChangeUrl.= 'lang=';
-
-
-// get an array of english and native language names and flags
-// for now, use a static array definition here - this could later be made into a true database query
-$lang_language_data['albanian'] = array('Albanian','Albanian','al');
-$lang_language_data['arabic'] = array('Arabic','&#1575;&#1604;&#1593;&#1585;&#1576;&#1610;&#1577;','sa');
-$lang_language_data['basque'] = array('Basque','Euskera','baq');
-$lang_language_data['bosnian'] = array('Bosnian','Bosanski','ba');
-$lang_language_data['brazilian_portuguese'] = array('Portuguese [Brazilian]','Portugu&ecirc;s Brasileiro','br');
-$lang_language_data['bulgarian'] = array('Bulgarian','&#1041;&#1098;&#1083;&#1075;&#1072;&#1088;&#1089;&#1082;&#1080;','bg');
-$lang_language_data['catalan'] = array('Catalan','Catal&agrave;','ct');
-$lang_language_data['chinese_big5'] = array('Chinese traditional','&#20013;&#25991; - &#32321;&#39636;','tw');
-$lang_language_data['chinese_gb'] = array('Chinese simplified','&#20013;&#25991; - &#31616;&#20307;','cn');
-$lang_language_data['croatian'] = array('Croatian','Hrvatski','hr');
-$lang_language_data['czech'] = array('Czech','&#x010C;esky','cz');
-$lang_language_data['danish'] = array('Danish','Dansk','dk');
-$lang_language_data['dutch'] = array('Dutch','Nederlands','nl');
-$lang_language_data['english'] = array('English [US]','English [US]','us');
-$lang_language_data['english_gb'] = array('English [British]','English [British]','gb');
-$lang_language_data['estonian'] = array('Estonian','Eesti','ee');
-$lang_language_data['finnish'] = array('Finnish','Suomea','fi');
-$lang_language_data['french'] = array('French','Fran&ccedil;ais','fr');
-$lang_language_data['galician'] = array('Galician','Galego','es_gln');
-$lang_language_data['georgian'] = array('Georgian','&#4325;&#4304;&#4320;&#4311;&#4323;&#4314;&#4312;','ge');
-$lang_language_data['german'] = array('German','Deutsch','de');
-$lang_language_data['german_sie'] = array('German [formal]','Deutsch [Sie]','de');
-$lang_language_data['greek'] = array('Greek','&#917;&#955;&#955;&#951;&#957;&#953;&#954;&#940;','gr');
-$lang_language_data['hebrew'] = array('Hebrew','&#1506;&#1489;&#1512;&#1497;&#1514;','il');
-$lang_language_data['hindi'] = array('Hindi','&#2361;&#2367;&#2344;&#2381;&#2342;&#2368;','in');
-$lang_language_data['hungarian'] = array('Hungarian','Magyarul','hu');
-$lang_language_data['indonesian'] = array('Indonesian','Bahasa Indonesia','id');
-$lang_language_data['italian'] = array('Italian','Italiano','it');
-$lang_language_data['japanese'] = array('Japanese','&#26085;&#26412;&#35486;','jp');
-$lang_language_data['korean'] = array('Korean','&#54620;&#44397;&#50612;','kr');
-$lang_language_data['kurdish'] = array('Kurdish','&#1603;&#1608;&#1585;&#1583;&#1740;','ku');
-$lang_language_data['latvian'] = array('Latvian','Latvian','lv');
-$lang_language_data['lithuanian'] = array('Lithuanian','Lietuvi&#0353;kai','lt');
-$lang_language_data['macedonian'] = array('Macedonian','&#1052;&#1072;&#1082;&#1077;&#1076;&#1086;&#1085;&#1089;&#1082;&#1080;','mk');
-$lang_language_data['malay'] = array('Malay','Bahasa Melayu','my');
-$lang_language_data['norwegian'] = array('Norwegian','Norsk','no');
-$lang_language_data['persian'] = array('Persian','&#1601;&#1575;&#1585;&#1587;&#1740;','ir');//modified by B.Mossavari
-$lang_language_data['polish'] = array('Polish','Polski','pl');
-$lang_language_data['portuguese'] = array('Portuguese [Portugal]','Portugu&ecirc;s','pt');
-$lang_language_data['romanian'] = array('Romanian','Rom&acirc;n&atilde;','ro');
-$lang_language_data['russian'] = array('Russian','&#1056;&#1091;&#1089;&#1089;&#1082;&#1080;&#1081;','ru');
-$lang_language_data['serbian'] = array('Serbian [Latin]','Srpski','sr');
-$lang_language_data['serbian_cy'] = array('Serbian [Cyrillic]','&#1057;&#1088;&#1087;&#1089;&#1082;&#1080;','sr');
-$lang_language_data['slovak'] = array('Slovak','Slovensky','sk');
-$lang_language_data['slovenian'] = array('Slovenian','Slovensko','si');
-$lang_language_data['spanish'] = array('Spanish','Espa&ntilde;ol','es');
-$lang_language_data['swedish'] = array('Swedish','Svenska','se');
-$lang_language_data['thai'] = array('Thai','&#3652;&#3607;&#3618;','th');
-$lang_language_data['turkish'] = array('Turkish','T&uuml;rk&ccedil;e','tr');
-$lang_language_data['uighur'] = array('Uighur','Uighur','cn-xj');
-$lang_language_data['ukrainian'] = array('Ukrainian','&#1059;&#1082;&#1088;&#1072;&#1111;&#1085;&#1089;&#1100;&#1082;&#1072;','ua');
-$lang_language_data['vietnamese'] = array('Vietnamese','Tieng Viet','vn');
-$lang_language_data['welsh'] = array('Welsh','Cymraeg','gb-cm');
-
-// get list of available languages
-  $value = strtolower($CONFIG['lang']);
-
-  $lang_dir = 'lang/';
-  $dir = opendir($lang_dir);
-  while ($file = readdir($dir)) {
-     if ($file != '.' && $file != '..' && $file !='CVS') {
-         $lang_array[] = strtolower(substr($file, 0 , -4));
-     }
-  }
-  closedir($dir);
-  natcasesort($lang_array);
-
-//start the output
-switch ($parameter) {
-   case 'flags':
-       $return.= '<div id="cpgChooseFlags">';
-       if ($CONFIG['language_flags'] == 2){
-           $return.= $lang_language_selection['choose_language'].': ';
-       }
-       foreach ($lang_array as $language) {
-       $cpg_language_name = str_replace('-utf-8','', $language);
-              if (array_key_exists($cpg_language_name, $lang_language_data)){
-              $return.= $lineBreak .  '<a href="' .$cpgChangeUrl. $language . '" rel="nofollow"><img src="images/flags/' . $lang_language_data[$cpg_language_name][2] . '.gif" border="0" width="16" height="10" alt="" title="';
-              $return.= $lang_language_data[$language][0];
-              if ($lang_language_data[$language][1] != $lang_language_data[$language][0]){
-                  $return.= ' (' . $lang_language_data[$language][1] . ')';
-                  }
-              $return.= '" /></a>' . $lineBreak;
-              }
-              }
-          if ($CONFIG['language_reset'] == 1){
-              $return.=  '<a href="' .$cpgChangeUrl. 'xxx" rel="nofollow"><img src="images/flags/reset.gif" border="0" width="16" height="11" alt="" title="';
-              $return.=  $lang_language_selection['reset_language'] . '" /></a>' . $lineBreak;
-          }
-       $return.= '</div>';
-       break;
-   case 'table':
-       $return = 'not yet implemented';
-       break;
-   default:
-       $return.= $lineBreak . '<form name="cpgChooseLanguage" id="cpgChooseLanguage" action="' . $_SERVER['PHP_SELF'] . '" method="get" style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;display:inline">' . $lineBreak;
-       $return.= '<select name="cpgLanguageSelect" class="listbox_lang" onchange="if (this.options[this.selectedIndex].value) window.location.href=\'' . $cpgChangeUrl . '\' + this.options[this.selectedIndex].value;">' . $lineBreak;
-       $return.='<option selected="selected">' . $lang_language_selection['choose_language'] . '</option>' . $lineBreak;
-       foreach ($lang_array as $language) {
-          $return.=  '<option value="' . $language  . '" >';
-              if (array_key_exists($language, $lang_language_data)){
-              $return.= $lang_language_data[$language][0];
-              if ($lang_language_data[$language][1] != $lang_language_data[$language][0]){
-                  $return.= ' (' . $lang_language_data[$language][1] . ')';
-                  }
-              }
-              else{
-                  $return.= ucfirst($language);
-                  }
-              $return.= ($value == $language ? '*' : '');
-              $return.= '</option>' . $lineBreak;
-              }
-          if ($CONFIG['language_reset'] == 1){
-              $return.=  '<option value="xxx">' . $lang_language_selection['reset_language'] . '</option>' . $lineBreak;
-          }
-          $return.=  '</select>' . $lineBreak;
-          $return.=  '</form>' . $lineBreak;
-   }
-
-return $return;
-}
-
-
-/**
- * themeSelect()
- *
- * @param $parameter
- * @return
- **/
-
-function themeSelect($parameter)
-{
-global $CONFIG,$lang_theme_selection;
-$return= '';
-$lineBreak = "\n";
-
-if ($CONFIG['theme_list'] == 0){
-    return;
-}
-
-// get the current theme
-//get the url and all vars except $theme
-$cpgCurrentTheme = $_SERVER["SCRIPT_NAME"]."?";
-foreach ($_GET as $key => $value) {
-    if ($key!="theme"){$cpgCurrentTheme.= $key . "=" . $value . "&amp;";}
-}
-$cpgCurrentTheme.="theme=";
-
-// get list of available languages
-    $value = $CONFIG['theme'];
-    $theme_dir = 'themes/';
-
-    $dir = opendir($theme_dir);
-    while ($file = readdir($dir)) {
-        if (is_dir($theme_dir . $file) && $file != "." && $file != ".." && $file != 'CVS' && $file != 'sample' && $file != '.svn') {
-            $theme_array[] = $file;
-        }
-    }
-    closedir($dir);
-
-    natcasesort($theme_array);
-
-//start the output
-switch ($parameter) {
-   case 'table':
-       $return = 'not yet implemented';
-       break;
-   default:
-       $return.= $lineBreak . '<form name="cpgChooseTheme" id="cpgChooseTheme" action="' . $_SERVER['PHP_SELF'] . '" method="get" style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;display:inline">' . $lineBreak;
-       $return.= '<select name="cpgThemeSelect" class="listbox_lang" onchange="if (this.options[this.selectedIndex].value) window.location.href=\'' . $cpgCurrentTheme . '\' + this.options[this.selectedIndex].value;">' . $lineBreak;
-       $return.='<option selected="selected">' . $lang_theme_selection['choose_theme'] . '</option>';
-       foreach ($theme_array as $theme) {
-           $return.= '<option value="' . $theme . '"'.($value == $theme ? '  selected="selected"' : '').'>' . strtr(ucfirst($theme), '_', ' ') . ($value == $theme ? '  *' : ''). '</option>' . $lineBreak;
-       }
-          if ($CONFIG['theme_reset'] == 1){
-              $return.=  '<option value="xxx">' . $lang_theme_selection['reset_theme'] . '</option>' . $lineBreak;
-          }
-          $return.=  '</select>' . $lineBreak;
-          $return.=  '</form>' . $lineBreak;
-   }
-
-return $return;
-}
-
-
-/**
- * cpg_alert_dev_version()
- *
- * @return
- **/
-
-function cpg_alert_dev_version() 
-{
-        global $lang_version_alert, $CONFIG;
-        $return = '';
-        if (COPPERMINE_VERSION_STATUS != 'stable') {
-            ob_start();
-            starttable('100%', $lang_version_alert['version_alert']);
-            print '<tr><td class="tableb">';
-            print sprintf($lang_version_alert['no_stable_version'], COPPERMINE_VERSION, COPPERMINE_VERSION_STATUS);
-            print '</td></tr>';
-            endtable();
-            print '<br />';
-            $return = ob_get_contents();
-            ob_end_clean();
-        }
-        // check if gallery is offline
-        if ($CONFIG['offline'] == 1 && GALLERY_ADMIN_MODE) {
-            $return .= '<span style="color:red;font-weight:bold">'.$lang_version_alert['gallery_offline'].'</span><br />&nbsp;<br />';
-        }
-        return $return;
-}
-
-/**
- * cpg_display_help()
- *
- * @param string $reference
- * @param string $width
- * @param string $height
- * @return
- **/
-
-function cpg_display_help($reference = 'f=index.htm', $width = '600', $height = '350') 
-{
-    global $CONFIG, $USER;
-    if ($reference == '' || $CONFIG['enable_help'] == '0') {return; }
-    if ($CONFIG['enable_help'] == '2' && GALLERY_ADMIN_MODE == false) {return; }
-    $help_theme = $CONFIG['theme'];
-    if (isset($USER['theme'])) {
-        $help_theme = $USER['theme'];
-    }
-    // $help_html = "<a href=\"javascript:;\" onclick=\"MM_openBrWindow('docs/showdoc.php?css=" . $help_theme . "&amp;" . $reference . "','coppermine_help','scrollbars=yes,toolbar=no,status=no,resizable=yes,width=" . $width . ",height=" . $height . "')\" style=\"cursor:help\"><img src=\"images/help.gif\" width=\"13\" height=\"11\" border=\"0\" alt=\"\" title=\"\" /></a>";
-    $help_html = "<a href=\"javascript:;\" onclick=\"coppermine_help_window=window.open('docs/showdoc.php?css=" . $help_theme . "&amp;" . $reference . "','coppermine_help','scrollbars=yes,toolbar=no,status=no,resizable=yes,width=" . $width . ",height=" . $height . "'); coppermine_help_window.focus()\" style=\"cursor:help\"><img src=\"images/help.gif\" width=\"13\" height=\"11\" border=\"0\" alt=\"\" title=\"\" /></a>";
-    return $help_html;
-}
-
-/**
-* Multi-dim array sort, with ability to sort by two and more dimensions
-* Coded by Ichier2003, available at php.net
-* syntax:
-* $array = array_csort($array [, 'col1' [, SORT_FLAG [, SORT_FLAG]]]...);
-**/
-function array_csort() 
-{
-   $args = func_get_args();
-   $marray = array_shift($args);
-
-   $msortline = "return(array_multisort(";
-   foreach ($args as $arg) {
-       $i++;
-       if (is_string($arg)) {
-           foreach ($marray as $row) {
-               $sortarr[$i][] = $row[$arg];
-           }
-       } else {
-           $sortarr[$i] = $arg;
-       }
-       $msortline .= "\$sortarr[".$i."],";
-   }
-   $msortline .= "\$marray));";
-
-   eval($msortline);
-   return $marray;
-}
-
-function cpg_get_bridge_db_values() 
-{
-    global $CONFIG;
-    // Retrieve DB stored configuration
-    $results = cpg_db_query("SELECT * FROM {$CONFIG['TABLE_BRIDGE']}");
-    while ($row = mysql_fetch_array($results)) {
-        $BRIDGE[$row['name']] = $row['value'];
-    } // while
-    mysql_free_result($results);
-    return $BRIDGE;
-}
-
-function cpg_get_webroot_path() 
-{
-    //global $PHP_SELF;
-    // get the webroot folder out of a given PHP_SELF of any coppermine page
-
-    // what we have: we can say for sure where we are right now: $PHP_SELF (if the server doesn't even have it, there will be problems everywhere anyway)
-
-    // let's make those into an array:
-    $path_from_serverroot[] = $_SERVER["SCRIPT_FILENAME"];
-    if (isset($_SERVER["PATH_TRANSLATED"])) {
-       $path_from_serverroot[] = $_SERVER["PATH_TRANSLATED"];
-    }
-    //$path_from_serverroot[] = $HTTP_SERVER_VARS["SCRIPT_FILENAME"];
-    //$path_from_serverroot[] = $HTTP_SERVER_VARS["PATH_TRANSLATED"];
-
-    // we should be able to tell the current script's filename by removing everything before and including the last slash in $PHP_SELF
-    $filename = ltrim(strrchr($_SERVER['PHP_SELF'], '/'), '/');
-
-    // let's eliminate all those vars that don't contain the filename (and replace the funny notation from windows machines)
-    foreach($path_from_serverroot as $key) {
-        $key = str_replace('\\', '/', $key); // replace the windows notation
-        $key = str_replace('//', '/', $key); // replace duplicate forwardslashes
-        if(strstr($key, $filename) != FALSE) { // eliminate all that don't contain the filename
-            $path_from_serverroot2[] = $key;
-        }
-    }
-
-    // remove double entries in the array
-    $path_from_serverroot3 = array_unique($path_from_serverroot2);
-
-    // in the best of all worlds, the array is not empty
-    if (is_array($path_from_serverroot3)) {
-        $counter = 0;
-        foreach($path_from_serverroot3 as $key) {
-            // easiest possible solution: $PHP_SELF is contained in the array - if yes, we're lucky (in fact we could have done this before, but I was going to leave room for other checks to be inserted before this one)
-            if(strstr($key, $_SERVER['PHP_SELF']) != FALSE) { // eliminate all that don't contain $PHP_SELF
-                $path_from_serverroot4[] = $key;
-                $counter++;
-            }
-        }
-    } else {
-        // we're f***ed: the array is empty, there's no server var we could actually use
-        $return = '';
-    }
-
-    if ($counter == 1) { //we have only one entry left - we're happy
-        $return = $path_from_serverroot4[0];
-    } elseif ($counter == 0) { // we're f***ed: the array is empty, there's no server var we could actually use
-        $return = '';
-    } else { // there is more than one entry, and they differ. For now, let's use the first one. Maybe we could do some advanced checking later
-        $return = $path_from_serverroot4[0];
-    }
-
-    // strip the content from $PHP_SELF from the $return var and we should (hopefully) have the absolute path to the webroot
-    $return = str_replace($_SERVER['PHP_SELF'], '', $return);
-
-    // the return var should at least contain a slash - if it doesn't, add it (although this is more or less wishfull thinking)
-    if ($return == '') {
-        $return = '/';
-    }
-
-    return $return;
-}
-
-/**
- * Function to get the search string if the picture is viewed from google, lycos or yahoo search engine
- */
-
-function get_search_query_terms($engine = 'google')
-{
-  global $s, $s_array;
-  $referer = urldecode($_SERVER[HTTP_REFERER]);
-  $query_array = array();
-  switch ($engine) {
-    case 'google':
-      // Google query parsing code adapted from Dean Allen's
-      // Google Hilite 0.3. http://textism.com
-      $query_terms = preg_replace('/^.*q=([^&]+)&?.*$/i','$1', $referer);
-      $query_terms = preg_replace('/\'|"/', '', $query_terms);
-      $query_array = preg_split("/[\s,\+\.]+/", $query_terms);
-      break;
-
-    case 'lycos':
-      $query_terms = preg_replace('/^.*query=([^&]+)&?.*$/i','$1', $referer);
-      $query_terms = preg_replace('/\'|"/', '', $query_terms);
-      $query_array = preg_split("/[\s,\+\.]+/", $query_terms);
-      break;
-
-    case 'yahoo':
-      $query_terms = preg_replace('/^.*p=([^&]+)&?.*$/i','$1', $referer);
-      $query_terms = preg_replace('/\'|"/', '', $query_terms);
-      $query_array = preg_split("/[\s,\+\.]+/", $query_terms);
-      break;
-  }
-  return $query_array;
-}
-
-
-function is_referer_search_engine($engine = 'google') 
-{
-  //$siteurl = get_settings('home');
-  $referer = urldecode($_SERVER['HTTP_REFERER']);
-    //echo "referer is: $referer<br />";
-  if ( ! $engine ) {
-    return 0;
-  }
-
-  switch ($engine) {
-  case 'google':
-    if (preg_match('|^http://(www)?\.?google.*|i', $referer)) {
-      return 1;
-    }
-    break;
-
-    case 'lycos':
-    if (preg_match('|^http://search\.lycos.*|i', $referer)) {
-      return 1;
-    }
-    break;
-
-    case 'yahoo':
-    if (preg_match('|^http://search\.yahoo.*|i', $referer)) {
-      return 1;
-    }
-    break;
-  }
-  return 0;
-}
-
-/**
- * cpg_get_custom_include()
- *
- * @param string $path
- * @return
- **/
-function cpg_get_custom_include($path = '')
-{
-    global $CONFIG;
-    $return = '';
-    // check if path is set in config
-    if ($path == '')
-    {
-        return $return;
-    }
-    // check if the include file exists
-    if (!file_exists($path))
-    {
-        return $return;
-    }
-    ob_start();
-    include($path);
-    $return = ob_get_contents();
-    ob_end_clean();
-    // crude sub-routine to remove the most basic "no-no" stuff from possible includes
-    // could need improvement
-    $return = str_replace('<html>', '', $return);
-    $return = str_replace('<head>', '', $return);
-    $return = str_replace('<body>', '', $return);
-    $return = str_replace('</html>', '', $return);
-    $return = str_replace('</head>', '', $return);
-    $return = str_replace('</body>', '', $return);
-    return $return;
-}
-
-/**
- * filter_content()
- *
- * Replace strings that match badwords with tokens indicating it has been filtered.
- *
- * @param string or array $str
- * @return string or array
- **/
-function filter_content($str)
-{
-    global $lang_bad_words, $CONFIG, $ercp;
-    if ($CONFIG['filter_bad_words']) {
-        static $ercp=array();
-        if (!count($ercp)) foreach($lang_bad_words as $word) {
-            $ercp[] = '/' . ($word[0] == '*' ? '': '\b') . str_replace('*', '', $word) . ($word[(strlen($word)-1)] == '*' ? '': '\b') . '/i';
-        }
-        if (is_array($str)) {
-            $new_str=array();
-            foreach ($str as $key=>$element) {
-                $new_str[$key]=filter_content($element);
-            }
-            $str=$new_str;
-        } else {
-        $stripped_str = strip_tags($str);
-        $str = preg_replace($ercp, '(...)', $stripped_str);
-        }
-    }
-return $str;
-}
-
-/*function get_post_var($name, $default = '')
-{
-    return isset($_POST[$name]) ? $_POST[$name] : $default;
-}*/
-
-function utf_strtolower($str)
-{
-  if (!function_exists('mb_strtolower')) { require 'include/mb.inc.php'; }
-  return mb_strtolower($str);
-}
-function utf_substr($str, $start, $end=null)
-{
-  if (!function_exists('mb_substr')) { require 'include/mb.inc.php'; }
-  return mb_substr($str, $start, $end);
-}
-function utf_strlen($str)
-{
-  if (!function_exists('mb_strlen')) { require 'include/mb.inc.php'; }
-  return mb_strlen($str);
-}
-function utf_ucfirst($str)
-{
-  if (!function_exists('mb_strtoupper')) { require 'include/mb.inc.php'; }
-  return mb_strtoupper(mb_substr($str, 0, 1)).mb_substr($str, 1);
-}
-
-function replace_forbidden($str)
-{
-  static $forbidden_chars;
-  if (!is_array($forbidden_chars)) {
-    global $CONFIG, $mb_utf8_regex;
-    if (function_exists('html_entity_decode')) {
-      $chars = html_entity_decode($CONFIG['forbiden_fname_char'], ENT_QUOTES, 'UTF-8');
-    } else {
-      $chars = str_replace(array('&amp;', '&quot;', '&lt;', '&gt;', '&nbsp;', '&#39;'), array('&', '"', '<', '>', ' ', "'"), $CONFIG['forbiden_fname_char']);
-    }
-    preg_match_all("#$mb_utf8_regex".'|[\x00-\x7F]#', $chars, $forbidden_chars);
-  }
-  /**
-   * $str may also come from $_POST, in this case, all &, ", etc will get replaced with entities.
-   * Replace them back to normal chars so that the str_replace below can work.
-   */
-  $str = str_replace(array('&amp;', '&quot;', '&lt;', '&gt;'), array('&', '"', '<', '>'), $str);
-  $return = str_replace($forbidden_chars[0], '_', $str);
-
-  /**
-  * Fix the obscure, misdocumented "feature" in Apache that causes the server
-  * to process the last "valid" extension in the filename (rar exploit): replace all
-  * dots in the filename except the last one with an underscore.
-  */
-  // This could be concatenated into a more efficient string later, keeping it in three
-  // lines for better readability for now.
-  $extension = ltrim(substr($return,strrpos($return,'.')),'.');
-  $filenameWithoutExtension = str_replace('.' . $extension, '', $return);
-  $return = str_replace('.', '_', $filenameWithoutExtension) . '.' . $extension;
-
-  return $return;
-}
-
-/**
- * resetDetailHits()
- *
- * Reset the detailed hits stored in hit_stats table for the given pid
- *
- * @param int or array $pid
- **/
-function resetDetailHits($pid)
-{
-  global $CONFIG;
-
-  if (is_array($pid)) {
-    if (!count($pid)) {
-      return;
-    } else {
-      $clause = "pid IN (".implode(',', $pid).")";
-    }
-  } else {
-    $clause = "pid = '$pid'";
-  }
-
-  $query = "DELETE FROM {$CONFIG['TABLE_HIT_STATS']} WHERE $clause";
-  cpg_db_query($query);
-}
-
-/**
- * resetDetailVotes()
- *
- * Reset the detailed votes stored in vote_stats table for the given pid
- *
- * @param int or array $pid
- **/
-function resetDetailVotes($pid)
-{
-  global $CONFIG;
-
-  if (is_array($pid)) {
-    if (!count($pid)) {
-      return;
-    } else {
-      $clause = "pid IN (".implode(',', $pid).")";
-    }
-  } else {
-    $clause = "pid = '$pid'";
-  }
-
-  $query = "DELETE FROM {$CONFIG['TABLE_VOTE_STATS']} WHERE $clause";
-  cpg_db_query($query);
-}
-
-/******************
-/**
- * cpg_determine_client()
- * Backported from cpg1.5.x
- *
- * @param
- * @return $return_array
- **/
-function cpg_determine_client()
-{
-    /**
-     * Populate the client stats
-     */
-
-    // Get the details of user browser, IP, OS, etc
-    $server_agent = $_SERVER["HTTP_USER_AGENT"];
-
-    $os = 'Unknown';
-    if (preg_match('#Ubuntu#i', $server_agent)) {
-        $os = 'Linux Ubuntu';
-    } elseif (preg_match('#Debian#i', $server_agent)) {
-        $os = 'Linux Debian';
-    } elseif (preg_match('#CentOS#i', $server_agent)) {
-        $os = 'Linux CentOS';
-    } elseif (preg_match('#Fedora#i', $server_agent)) {
-        $os = 'Linux Fedora';
-    } elseif (preg_match('#Mandrake#i', $server_agent)) {
-        $os = 'Linux Mandrake';
-    } elseif (preg_match('#RedHat#i', $server_agent)) {
-        $os = 'Linux RedHat';
-    } elseif (preg_match('#Suse#i', $server_agent)) {
-        $os = 'Linux Suse';
-    } elseif (preg_match('#Linux#i', $server_agent)) {
-        $os = 'Linux';
-    } elseif (preg_match('#Windows NT 5.0#i', $server_agent)) {
-        $os = 'Windows 2000';
-    } elseif (preg_match('#win98|Windows 98#i', $server_agent)) {
-        $os = 'Windows 98';
-    } elseif (preg_match('#Windows NT 5\.1#i', $server_agent)) {
-        $os = 'Windows XP';
-    } elseif (preg_match('#Windows NT 5\.2#i', $server_agent)) {
-        $os = 'Windows 2003 Server';
-    } elseif (preg_match('#Windows NT 6\.0#i', $server_agent)) {
-        $os = 'Windows Vista';
-    } elseif (preg_match('#Windows CE#i', $server_agent)) {
-        $os = 'Windows CE';
-    } elseif (preg_match('#Windows#i', $server_agent)) {
-        $os = 'Windows';
-    } elseif (preg_match('#SunOS#i', $server_agent)) {
-        $os = 'Sun OS';
-    } elseif (preg_match('#Macintosh#i', $server_agent)) {
-        $os = 'Macintosh';
-    } elseif (preg_match('#Mac_PowerPC#i', $server_agent)) {
-        $os = 'Mac OS';
-    } elseif (preg_match('#Mac_PPC#i', $server_agent)) {
-        $os = 'Macintosh';
-    } elseif (preg_match('#OS/2#i', $server_agent)) {
-        $os = 'OS/2';
-    } elseif (preg_match('#aix#i', $server_agent)) {
-        $os = 'aix';
-    } elseif (preg_match('#FreeBSD#i', $server_agent)) {
-        $os = 'BSD FreeBSD';
-    } elseif (preg_match('#Unix#i', $server_agent)) {
-        $os = 'Unix';
-    } elseif (preg_match('#iphone#i', $server_agent)) {
-        $os = 'iPhone';
-    }
-
-    $browser = 'Unknown';
-    if (preg_match('#MSIE#i', $server_agent)) {
-        if (preg_match('#MSIE 8\.0#i', $server_agent)) {
-            $browser = 'IE8';
-        } elseif (preg_match('#MSIE 7\.0#i', $server_agent)) {
-            $browser = 'IE7';
-        } elseif (preg_match('#MSIE 6\.0#i', $server_agent)) {
-            $browser = 'IE6';
-        } elseif (preg_match('#MSIE 5\.5#i', $server_agent)) {
-            $browser = 'IE5.5';
-        } elseif (preg_match('#MSIE 5\.0#i', $server_agent)) {
-            $browser = 'IE5.0';
-        } elseif (preg_match('#MSIE 4\.0#i', $server_agent)) {
-            $browser = 'IE4';
-        } elseif (preg_match('#MSIE 3\.0#i', $server_agent)) {
-            $browser = 'IE3';
-        } else {
-            $browser = 'IE';
-        }
-    } elseif (preg_match('#Epiphany#i', $server_agent)) {
-        $browser = 'Epiphany';
-    } elseif (preg_match('#Phoenix#i', $server_agent)) {
-        $browser = 'Phoenix';
-    } elseif (preg_match('#Firebird#i', $server_agent)) {
-        $browser = 'Mozilla Firebird';
-    } elseif (preg_match('#NetSurf#i', $server_agent)) {
-        $browser = 'NetSurf';
-    } elseif (preg_match('#netscape#i', $server_agent)) {
-        $browser = 'Netscape';
-    } elseif (preg_match('#Chrome#i', $server_agent)) {
-        $browser = 'Chrome';
-    } elseif (preg_match('#Firefox#i', $server_agent)) {
-        $browser = 'Firefox';
-    } elseif (preg_match('#Galeon#i', $server_agent)) {
-        $browser = 'Galeon';
-    } elseif (preg_match('#Camino#i', $server_agent)) {
-        $browser = 'Camino';
-    } elseif (preg_match('#Konqueror#i', $server_agent)) {
-        $browser = 'Konqueror';
-    } elseif (preg_match('#Safari#i', $server_agent)) {
-        $browser = 'Safari';
-    } elseif (preg_match('#OmniWeb#i', $server_agent)) {
-        $browser = 'OmniWeb';
-    } elseif (preg_match('#Opera#i', $server_agent)) {
-        $browser = 'Opera';
-    } elseif (preg_match('#HTTrack#i', $server_agent)) {
-        $browser = 'HTTrack';
-    } elseif (preg_match('#OffByOne#i', $server_agent)) {
-        $browser = 'Off By One';
-    } elseif (preg_match('#amaya#i', $server_agent)) {
-        $browser = 'Amaya';
-    } elseif (preg_match('#iCab#i', $server_agent)) {
-        $browser = 'iCab';
-    } elseif (preg_match('#Lynx#i', $server_agent)) {
-        $browser = 'Lynx';
-    } elseif (preg_match('#Googlebot#i', $server_agent)) {
-        $browser = 'Googlebot';
-    } elseif (preg_match('#Lycos_Spider#i', $server_agent)) {
-        $browser = 'Lycos Spider';
-    } elseif (preg_match('#Firefly#i', $server_agent)) {
-        $browser = 'Fireball Spider';
-    } elseif (preg_match('#Advanced Browser#i', $server_agent)) {
-        $browser = 'Avant';
-    } elseif (preg_match('#Amiga-AWeb#i', $server_agent)) {
-        $browser = 'AWeb';
-    } elseif (preg_match('#Cyberdog#i', $server_agent)) {
-        $browser = 'Cyberdog';
-    } elseif (preg_match('#Dillo#i', $server_agent)) {
-        $browser = 'Dillo';
-    } elseif (preg_match('#DreamPassport#i', $server_agent)) {
-        $browser = 'DreamCast';
-    } elseif (preg_match('#eCatch#i', $server_agent)) {
-        $browser = 'eCatch';
-    } elseif (preg_match('#ANTFresco#i', $server_agent)) {
-        $browser = 'Fresco';
-    } elseif (preg_match('#RSS#i', $server_agent)) {
-        $browser = 'RSS';
-    } elseif (preg_match('#Avant#i', $server_agent)) {
-        $browser = 'Avant';
-    } elseif (preg_match('#HotJava#i', $server_agent)) {
-        $browser = 'HotJava';
-    } elseif (preg_match('#W3C-checklink|W3C_Validator|Jigsaw#i', $server_agent)) {
-        $browser = 'W3C';
-    } elseif (preg_match('#K-Meleon#i', $server_agent)) {
-        $browser = 'K-Meleon';
-    }
-
-    $return_array = array(
-        'os' => $os,
-        'browser' => $browser,
-    );
-
-    return $return_array;
-}
+<?php
+/*************************
+  Coppermine Photo Gallery
+  ************************
+  Copyright (c) 2003-2009 Coppermine Dev Team
+  v1.1 originally written by Gregory DEMAR
+
+  This program is free software; you can redistribute it and/or modify
+  it under the terms of the GNU General Public License version 3
+  as published by the Free Software Foundation.
+
+  ********************************************
+  Coppermine version: 1.4.25
+  $HeadURL: https://coppermine.svn.sourceforge.net/svnroot/coppermine/trunk/cpg1.4.x/include/functions.inc.php $
+  $Revision: 5997 $
+  $Author: gaugau $
+  $Date: 2009-05-26 08:43:24 +0200 (Di, 26 Mai 2009) $
+**********************************************/
+
+/**
+* Coppermine Photo Gallery - functions.inc.php
+*
+* This file has almost all the functions of Coppermine
+*
+* @copyright  2002-2007 Gregory DEMAR, Coppermine Dev Team
+* @license http://www.gnu.org/licenses/gpl.html GNU General Public License V3
+* @package Coppermine
+* @version  $Id: functions.inc.php 5997 2009-05-26 06:43:24Z gaugau $
+*/
+
+/**
+* get_meta_album_set_data()
+*
+* Get the entire album set based on the current category, this function is called recursively.
+*
+* ** Experimental, may cause sql problems on galleries with large numbers of albums.
+*
+* @param integer $cid Parent Category
+* @param array $meta_album_set_array
+* @return void
+**/
+function get_meta_album_set_data($cid,&$meta_album_set_array) //adapted from index.php get_subcat_data()
+{
+    global $CONFIG, $cat;
+
+    if ($cid == USER_GAL_CAT) {
+       $sql = "SELECT aid FROM {$CONFIG['TABLE_ALBUMS']} as a WHERE category>=" . FIRST_USER_CAT;
+       $result = cpg_db_query($sql);
+       $album_count = mysql_num_rows($result);
+       while ($row = mysql_fetch_array($result)) {
+           $meta_album_set_array[] = $row['aid'];
+       } // while
+       mysql_free_result($result);
+    } else {
+       $result = cpg_db_query("SELECT aid FROM {$CONFIG['TABLE_ALBUMS']} WHERE category = {$cid}");
+       $album_count = mysql_num_rows($result);
+       while ($row = mysql_fetch_array($result)) {
+           $meta_album_set_array[] = $row['aid'];
+       } // while
+
+       mysql_free_result($result);
+    }
+
+    $result = cpg_db_query("SELECT cid FROM {$CONFIG['TABLE_CATEGORIES']} WHERE parent = '$cid'");
+
+    if (mysql_num_rows($result) > 0) {
+        $rowset = cpg_db_fetch_rowset($result);
+        foreach ($rowset as $subcat) {
+            if ($subcat['cid']) {
+                get_meta_album_set_data($subcat['cid'], $meta_album_set_array);
+            }
+        }
+    }
+}
+
+/**
+* get_meta_album_set()
+*
+* Get the entire album set based on the current category.
+*
+* @param integer $cat Category
+* @param array $meta_album_set_array
+* @return void
+**/
+function get_meta_album_set($cat, &$meta_album_set)
+{
+    global $USER_DATA, $FORBIDDEN_SET_DATA, $CONFIG;
+
+    if ($USER_DATA['can_see_all_albums'] && $cat == 0) {
+        $meta_album_set ='';
+    } elseif ($cat < 0) {
+        $meta_album_set= 'AND aid IN (' . (- $cat) . ') ';
+    } elseif ($cat > 0) {
+       $meta_album_set_array=array();
+        get_meta_album_set_data($cat,$meta_album_set_array);
+        $meta_album_set_array = array_diff($meta_album_set_array,$FORBIDDEN_SET_DATA);
+
+        if (count($meta_album_set_array)) {
+            $meta_album_set = "AND aid IN (" . implode(',',$meta_album_set_array) . ") ";
+        } else {
+            $meta_album_set = "AND aid IN (-1) ";
+        }
+     } else {
+      $result = cpg_db_query("SELECT aid FROM {$CONFIG['TABLE_ALBUMS']}");
+        $album_count = mysql_num_rows($result);
+        while ($row = mysql_fetch_array($result)) {
+           $meta_album_set_array[] = $row['aid'];
+        }
+        mysql_free_result($result);
+        $meta_album_set_array = array_diff($meta_album_set_array,$FORBIDDEN_SET_DATA);
+
+        if (count($meta_album_set_array)) {
+            $meta_album_set = "AND aid IN (" . implode(',',$meta_album_set_array) . ") ";
+        } else {
+            $meta_album_set = "AND aid IN (-1) ";
+        }
+     }
+}
+
+
+/**
+ * user_get_profile()
+ *
+ * Decode the user profile contained in a cookie
+ *
+ **/
+
+function user_get_profile()
+{
+        global $CONFIG, $USER;
+
+        if (isset($_COOKIE[$CONFIG['cookie_name'].'_data'])) {
+                $USER = @unserialize(@base64_decode($_COOKIE[$CONFIG['cookie_name'].'_data']));
+                $USER['lang'] = strtr($USER['lang'], '$/\\:*?"\'<>|`', '____________');
+        }
+
+        if (!isset($USER['ID']) || strlen($USER['ID']) != 32) {
+                list($usec, $sec) = explode(' ', microtime());
+                $seed = (float) $sec + ((float) $usec * 100000);
+                srand($seed);
+                $USER=array('ID' => md5(uniqid(rand(),1)));
+        } else {
+                $USER['ID'] = addslashes($USER['ID']);
+        }
+
+        if (!isset($USER['am'])) $USER['am'] = 1;
+}
+
+// Save the user profile in a cookie
+
+
+/**
+ * user_save_profile()
+ *
+ * Save the user profile in a cookie
+ *
+ **/
+
+function user_save_profile()
+{
+        global $CONFIG, $USER;
+
+        $data = base64_encode(serialize($USER));
+        setcookie($CONFIG['cookie_name'].'_data', $data, time()+86400*30, $CONFIG['cookie_path']);
+}
+
+/**************************************************************************
+   Database functions
+ **************************************************************************/
+
+// Connect to the database
+
+/**
+ * cpg_db_connect()
+ *
+ * Connect to the database
+ **/
+
+function cpg_db_connect()
+{
+        global $CONFIG;
+        $result = @mysql_connect($CONFIG['dbserver'], $CONFIG['dbuser'], $CONFIG['dbpass']);
+        if (!$result) {
+                return false;
+        }
+        if (!mysql_select_db($CONFIG['dbname']))
+                return false;
+        return $result;
+}
+
+// Perform a database query
+
+/**
+ * cpg_db_query()
+ *
+ * Perform a database query
+ *
+ * @param $query
+ * @param integer $link_id
+ * @return
+ **/
+
+function cpg_db_query($query, $link_id = 0)
+{
+        global $CONFIG, $query_stats, $queries;
+
+        $query_start = cpgGetMicroTime();
+
+        if ($link_id) {
+                                $result = mysql_query($query, $link_id);
+        } else {
+                                $result = mysql_query($query, $CONFIG['LINK_ID']);
+        }
+        $query_end = cpgGetMicroTime();
+        if (isset($CONFIG['debug_mode']) && (($CONFIG['debug_mode']==1) || ($CONFIG['debug_mode']==2) )) {
+                $duration = round($query_end - $query_start, 3);
+                $query_stats[] = $duration;
+                $queries[] = "$query ({$duration}s)";
+        }
+        if (!$result) cpg_db_error("While executing query \"$query\" on $link_id");
+
+        return $result;
+}
+
+// Error message if a query failed
+
+
+/**
+ * cpg_db_error()
+ *
+ * Error message if a query failed
+ *
+ * @param $the_error
+ * @return
+ **/
+
+function cpg_db_error($the_error)
+{
+        global $CONFIG,$lang_errors;
+
+        if ($CONFIG['debug_mode'] === '0' || ($CONFIG['debug_mode'] === '2' && !GALLERY_ADMIN_MODE)) {
+            cpg_die(CRITICAL_ERROR, $lang_errors['database_query'], __FILE__, __LINE__);
+        } else {
+
+                $the_error .= "\n\nmySQL error: ".mysql_error()."\n";
+
+                $out = "<br />".$lang_errors['database_query'].".<br /><br/>
+                    <form name=\"mysql\"><textarea rows=\"8\" cols=\"60\">".htmlspecialchars($the_error)."</textarea></form>";
+
+            cpg_die(CRITICAL_ERROR, $out, __FILE__, __LINE__);
+        }
+}
+
+// Fetch all rows in an array
+
+/**
+ * cpg_db_fetch_rowset()
+ *
+ * Fetch all rows in an array
+ *
+ * @param $result
+ * @return
+ **/
+
+function cpg_db_fetch_rowset($result)
+{
+        $rowset = array();
+
+        while ($row = mysql_fetch_array($result)) $rowset[] = $row;
+
+        return $rowset;
+}
+
+/**
+ * cpg_db_fetch_row()
+ *
+ * Fetch row in an array
+ *
+ * @param $result
+ * @return
+ **/
+
+function cpg_db_fetch_row($result)
+{
+
+        $row = mysql_fetch_array($result);
+
+        return $row;
+}
+
+/**************************************************************************
+   Utilities functions
+ **************************************************************************/
+
+ /**
+ * @ignore
+ */
+ define ('LOC','YToyOntzOjE6ImwiO3M6OToie0dBTExFUll9IjtzOjE6InMiO3M6MTk2OiI8ZGl2IGNsYXNzPSJmb290ZXIiIGFsaWduPSJjZW50ZXIiIHN0eWxlPSJwYWRkaW5nLXRvcDogMTBweDsiPlBvd2VyZWQgYnkgPGEgaHJlZj0iaHR0cDovL2NvcHBlcm1pbmUtZ2FsbGVyeS5uZXQvIiB0aXRsZT0iQ29wcGVybWluZSBQaG90byBHYWxsZXJ5IiByZWw9ImV4dGVybmFsIj5Db3BwZXJtaW5lIFBob3RvIEdhbGxlcnk8L2E+PC9kaXY+Ijt9');
+
+// Replacement for the die function
+
+/**
+ * cpg_die()
+ *
+ * Replacement for the die function
+ *
+ * @param $msg_code
+ * @param $msg_text
+ * @param $error_file
+ * @param $error_line
+ * @param boolean $output_buffer
+ * @return
+ **/
+
+function cpg_die($msg_code, $msg_text,  $error_file, $error_line, $output_buffer = false)
+{
+        global $CONFIG, $lang_cpg_die, $template_cpg_die;
+
+        // Simple output if theme file is not loaded
+        if(!function_exists('pageheader')){
+                echo 'Fatal error :<br />'.$msg_text;
+                exit;
+        }
+
+        $ob = ob_get_contents();
+        if ($ob) ob_end_clean();
+
+        if (function_exists('theme_cpg_die'))
+        {
+            theme_cpg_die($msg_code, $msg_text,  $error_file, $error_line, $output_buffer);
+            return;
+        }
+
+        $params = array(
+                '{MESSAGE}' => $msg_text,
+                '{FILE_TXT}' => $lang_cpg_die['file'],
+                '{FILE}' => $error_file,
+                '{LINE_TXT}' => $lang_cpg_die['line'],
+                '{LINE}' => $error_line,
+                '{OUTPUT_BUFFER}' => $ob,
+        );
+
+        if (!($CONFIG['debug_mode'] == 1 || ($CONFIG['debug_mode'] == 2 && GALLERY_ADMIN_MODE))) template_extract_block($template_cpg_die, 'file_line');
+        //if(!$output_buffer && !$CONFIG['debug_mode'])
+        template_extract_block($template_cpg_die, 'output_buffer');
+
+        pageheader($lang_cpg_die[$msg_code]);
+        starttable(-1, $lang_cpg_die[$msg_code]);echo "<!-- cpg_die -->";
+        echo template_eval($template_cpg_die, $params);
+        endtable();
+        pagefooter();
+        exit;
+}
+
+// Display a localised date
+
+/**
+ * localised_date()
+ *
+ * Display a localised date
+ *
+ * @param integer $timestamp
+ * @param $datefmt
+ * @return
+ **/
+
+function localised_date($timestamp = -1, $datefmt)
+{
+    global $lang_month, $lang_day_of_week, $CONFIG;
+
+    $timestamp = localised_timestamp($timestamp);
+
+    $date = ereg_replace('%[aA]', $lang_day_of_week[(int)strftime('%w', $timestamp)], $datefmt);
+    $date = ereg_replace('%[bB]', $lang_month[(int)strftime('%m', $timestamp)-1], $date);
+
+    return strftime($date, $timestamp);
+}
+
+/**
+ * localised_timestamp()
+ *
+ * Display a localised timestamp
+ *
+ * @return
+ **/
+function localised_timestamp($timestamp = -1)
+{
+        global $CONFIG;
+
+        if ($timestamp == -1) {
+        $timestamp = time();
+    }
+
+    $diff_to_GMT = date("O") / 100;
+
+    $timestamp += ($CONFIG['time_offset'] - $diff_to_GMT) * 3600;
+
+        return $timestamp;
+}
+
+// Function to create correct URLs for image name with space or exotic characters
+
+/**
+ * path2url()
+ *
+ * Function to create correct URLs for image name with space or exotic characters
+ *
+ * @param $path
+ * @return
+ **/
+
+function path2url($path)
+{
+        return str_replace("%2F","/",rawurlencode($path));
+}
+
+// Display a 'message box like' table
+
+/**
+ * msg_box()
+ *
+ * Display a 'message box like' table
+ *
+ * @param $title
+ * @param $msg_text
+ * @param string $button_text
+ * @param string $button_link
+ * @param string $width
+ * @return
+ **/
+
+function msg_box($title, $msg_text, $button_text="", $button_link="", $width="-1")
+{
+    if (function_exists('theme_msg_box'))
+    {
+        theme_msg_box($title, $msg_text, $button_text, $button_link, $width);
+        return;
+    }
+        global $template_msg_box;
+
+        if (!$button_text) {
+            template_extract_block($template_msg_box, 'button');
+        }
+
+        $params = array(
+                '{MESSAGE}' => $msg_text,
+                '{LINK}' => $button_link,
+                '{TEXT}' => $button_text
+        );
+
+        starttable($width, $title);
+        echo template_eval($template_msg_box, $params);
+        endtable();
+}
+
+
+/**
+ * create_tabs()
+ *
+ * @param $items
+ * @param $curr_page
+ * @param $total_pages
+ * @param $template
+ * @return
+ **/
+
+function create_tabs($items, $curr_page, $total_pages, $template)
+{
+        global $CONFIG, $lang_create_tabs;
+
+        // TO-DO: Need to add theme_create_tabs() to sample/theme.php
+        // Maybe this function create_tabs() should be moved to themes.inc.php and renamed theme_create_tabs()?
+        if (function_exists('theme_create_tabs')) {
+            return theme_create_tabs($items, $curr_page, $total_pages, $template);
+        }
+
+        // Code for future: to implement 'previous' and 'next' tabs
+        // Everything is set - just need to put in correct place and use correct prev & next page numbers
+        // $tabs .= strtr( sprintf($template['inactive_prev_tab'],#PREV_PAGE_NUMBER#) , array('{PREV}' => $lang_create_tabs['previous']) );
+        // $tabs .= strtr( sprintf($template['inactive_next_tab'],#NEXT_PAGE_NUMBER#) , array('{NEXT}' => $lang_create_tabs['next']) );
+
+        $maxTab = $CONFIG['max_tabs'];
+
+        $tabs = sprintf($template['left_text'], $items, $total_pages);
+        if (($total_pages == 1)) return $tabs;
+
+        $tabs .= $template['tab_header'];
+        if ($curr_page == 1) {
+                $tabs .= sprintf($template['active_tab'], 1);
+        } else {
+                $tabs .= sprintf($template['inactive_tab'], 1, 1);
+        }
+        if ($total_pages > $maxTab){
+                $start = max(2, $curr_page - floor(($maxTab -2)/2));
+                $start = min($start, $total_pages - $maxTab +2);
+                $end = $start + $maxTab -3;
+        } else {
+                $start = 2;
+                $end = $total_pages-1;
+        }
+        for ($page = $start ; $page <= $end; $page++) {
+                if ($page == $curr_page) {
+                        $tabs .= sprintf($template['active_tab'], $page);
+                } else {
+                        $tabs .= sprintf($template['inactive_tab'], $page, $page);
+                }
+        }
+        if ($total_pages > 1){
+                if ($curr_page == $total_pages) {
+                        $tabs .= sprintf($template['active_tab'], $total_pages);
+                } else {
+                        $tabs .= sprintf($template['inactive_tab'], $total_pages, $total_pages);
+                }
+        }
+        return $tabs.$template['tab_trailer'];
+}
+
+
+/**
+ * Rewritten by Nathan Codding - Feb 6, 2001. Taken from phpBB code
+ * - Goes through the given string, and replaces xxxx://yyyy with an HTML <a> tag linking
+ *         to that URL
+ * - Goes through the given string, and replaces www.xxxx.yyyy[zzzz] with an HTML <a> tag linking
+ *         to http://www.xxxx.yyyy[/zzzz]
+ * - Goes through the given string, and replaces xxxx@yyyy with an HTML mailto: tag linking
+ *                to that email address
+ * - Only matches these 2 patterns either after a space, or at the beginning of a line
+ *
+ * Notes: the email one might get annoying - it's easy to make it more restrictive, though.. maybe
+ * have it require something like xxxx@yyyy.zzzz or such. We'll see.
+ */
+
+/**
+ * make_clickable()
+ *
+ * @param $text
+ * @return
+ **/
+
+function make_clickable($text)
+{
+        $ret = ' '.$text;
+        $ret = preg_replace("#([\n ])([a-z]+?)://([a-z0-9\-\.,\?!%\*_\#:;~\\&$@\/=\+]+)#i", "\\1<a href=\"\\2://\\3\" rel=\"external\">\\2://\\3</a>", $ret);
+        $ret = preg_replace("#([\n ])www\.([a-z0-9\-]+)\.([a-z0-9\-.\~]+)((?:/[a-z0-9\-\.,\?!%\*_\#:;~\\&$@\/=\+]*)?)#i", "\\1<a href=\"http://www.\\2.\\3\\4\" rel=\"external\">www.\\2.\\3\\4</a>", $ret);
+        $ret = preg_replace("#([\n ])([a-z0-9\-_.]+?)@([\w\-]+\.([\w\-\.]+\.)?[\w]+)#i", "\\1<a href=\"mailto:\\2@\\3\">\\2@\\3</a>", $ret);
+        return substr($ret, 1);
+}
+
+// Allow the use of a limited set of phpBB bb codes in albums and image descriptions
+// Based on phpBB code
+
+/**
+ * bb_decode()
+ *
+ * @param $text
+ * @return
+ **/
+
+function bb_decode($text)
+{
+    $text = nl2br($text);
+
+    static $bbcode_tpl = array();
+    static $patterns = array();
+    static $replacements = array();
+
+    // First: If there isn't a "[" and a "]" in the message, don't bother.
+    if ((strpos($text, "[") === false || strpos($text, "]") === false)) {
+        return $text;
+    }
+
+    // [b] and [/b] for bolding text.
+    $text = str_replace("[b]", '<b>', $text);
+    $text = str_replace("[/b]", '</b>', $text);
+
+    // [u] and [/u] for underlining text.
+    $text = str_replace("[u]", '<u>', $text);
+    $text = str_replace("[/u]", '</u>', $text);
+
+    // [i] and [/i] for italicizing text.
+    $text = str_replace("[i]", '<i>', $text);
+    $text = str_replace("[/i]", '</i>', $text);
+
+    // colors
+    $text = preg_replace("/\[color=(\#[0-9A-F]{6}|[a-z]+)\]/", '<span style="color:$1">', $text);
+    $text = str_replace("[/color]", '</span>', $text);
+
+    // [i] and [/i] for italicizing text.
+    //$text = str_replace("[i:$uid]", $bbcode_tpl['i_open'], $text);
+    //$text = str_replace("[/i:$uid]", $bbcode_tpl['i_close'], $text);
+
+    if (!count($bbcode_tpl)) {
+        // We do URLs in several different ways..
+        
+        // **** WARNING *******************************************************
+        // The [url] tag can be used for a serious attack against your website.
+        // So [url] tags are no longer processed to show links.
+        // This simple action here is not an ideal solution but is necessary.
+        // Now, [url] tags are processed as follows:
+        // [url=link]text[/url] shows 'text' with a dummy image for the link.
+        // [url]link[/url] shows 'link' as plain text with a dummy image.
+        // The following line is the original line that processed [url]:
+        // $bbcode_tpl['url']  = '<span class="bblink"><a href="{URL}" rel="external">{DESCRIPTION}</a></span>';
+        // ********************************************************************
+        // See this thread on the Coppermine forum for more information:
+        // http://forum.coppermine-gallery.net/index.php/topic,58309.0.html
+        // Please read this thread carefully before deciding to process [url].
+        // ********************************************************************
+        $url_removed = '{URL}';  // put the image URL in the tooltip/mouse-over
+        $bbcode_tpl['url']   = '{DESCRIPTION}<img src="images/descending.gif" alt="" title="' . $url_removed . '" />';
+        $bbcode_tpl['email'] = '<span class="bblink"><a href="mailto:{EMAIL}">{EMAIL}</a></span>';
+
+        $bbcode_tpl['url1'] = str_replace('{URL}', '\\1\\2', $bbcode_tpl['url']);
+        $bbcode_tpl['url1'] = str_replace('{DESCRIPTION}', '\\1\\2', $bbcode_tpl['url1']);
+
+        $bbcode_tpl['url2'] = str_replace('{URL}', 'http://\\1', $bbcode_tpl['url']);
+        $bbcode_tpl['url2'] = str_replace('{DESCRIPTION}', '\\1', $bbcode_tpl['url2']);
+
+        $bbcode_tpl['url3'] = str_replace('{URL}', '\\1\\2', $bbcode_tpl['url']);
+        $bbcode_tpl['url3'] = str_replace('{DESCRIPTION}', '\\3', $bbcode_tpl['url3']);
+
+        $bbcode_tpl['url4'] = str_replace('{URL}', 'http://\\1', $bbcode_tpl['url']);
+        $bbcode_tpl['url4'] = str_replace('{DESCRIPTION}', '\\2', $bbcode_tpl['url4']);
+
+        $bbcode_tpl['email'] = str_replace('{EMAIL}', '\\1', $bbcode_tpl['email']);
+
+        // [url]xxxx://www.phpbb.com[/url] code..
+        $patterns[1] = "#\[url\]([a-z]+?://){1}([a-z0-9\-\.,\?!%\*_\#:;~\\&$@\/=\+\(\)]+)\[/url\]#si";
+        $replacements[1] = $bbcode_tpl['url1'];
+
+        // [url]www.phpbb.com[/url] code.. (no xxxx:// prefix).
+        $patterns[2] = "#\[url\]([a-z0-9\-\.,\?!%\*_\#:;~\\&$@\/=\+\(\)]+)\[/url\]#si";
+        $replacements[2] = $bbcode_tpl['url2'];
+
+        // [url=xxxx://www.phpbb.com]phpBB[/url] code..
+        $patterns[3] = "#\[url=([a-z]+?://){1}([a-z0-9\-\.,\?!%\*_\#:;~\\&$@\/=\+\(\)]+)\](.*?)\[/url\]#si";
+        $replacements[3] = $bbcode_tpl['url3'];
+
+        // [url=www.phpbb.com]phpBB[/url] code.. (no xxxx:// prefix).
+        $patterns[4] = "#\[url=([a-z0-9\-\.,\?!%\*_\#:;~\\&$@\/=\+\(\)]+)\](.*?)\[/url\]#si";
+        $replacements[4] = $bbcode_tpl['url4'];
+
+        // [email]user@domain.tld[/email] code..
+        $patterns[5] = "#\[email\]([a-z0-9\-_.]+?@[\w\-]+\.([\w\-\.]+\.)?[\w]+)\[/email\]#si";
+        $replacements[5] = $bbcode_tpl['email'];
+
+        // [img]xxxx://www.phpbb.com[/img] code..
+        // **** WARNING *******************************************************
+        // The [img] tag can be used for a serious attack against your website.
+        // So [img] tags are no longer processed to show the specified images.
+        // This simple action here is not an ideal solution but is necessary.
+        // Now [img] tags will show a dummy image instead as a placeholder.
+        // ********************************************************************
+        // The following line is the original line that processed [img]:
+        // $bbcode_tpl['img'] = '<img src="{URL}" alt="" />';
+        // ********************************************************************
+        // See this thread on the Coppermine forum for more information:
+        // http://forum.coppermine-gallery.net/index.php/topic,58309.0.html
+        // Please read this thread carefully before deciding to process [img].
+        // ********************************************************************
+        $img_removed = '{URL}';  // put the image URL in the tooltip/mouse-over
+        $bbcode_tpl['img'] = '<img src="images/thumbnails.gif" alt="" title="' . $img_removed . '" />';
+        $bbcode_tpl['img'] = str_replace('{URL}', '\\1\\2', $bbcode_tpl['img']);
+        $patterns[6] = "#\[img\]([a-z]+?://){1}([a-z0-9\-\.,\?!%\*_\#:;~\\&$@\/=\+\(\)]+)\[/img\]#si";
+        $replacements[6] = $bbcode_tpl['img'];
+    }
+    $text = preg_replace($patterns, $replacements, $text);
+    return $text;
+}
+
+
+/**************************************************************************
+   Template functions
+ **************************************************************************/
+
+// Load and parse the template.html file
+
+/**
+ * load_template()
+ *
+ * Load and parse the template.html file
+ *
+ * @return
+ **/
+
+function load_template()
+{
+        global $THEME_DIR, $CONFIG, $template_header, $template_footer;
+
+        $tmpl_loc = array();
+        $tmpl_loc = unserialize(base64_decode(LOC));
+
+        if (file_exists(TEMPLATE_FILE)) {
+            $template_file = TEMPLATE_FILE;
+        } elseif (file_exists($THEME_DIR . TEMPLATE_FILE)) {
+            $template_file = $THEME_DIR . TEMPLATE_FILE;
+        } else die("<b>Coppermine critical error</b>:<br />Unable to load template file ".TEMPLATE_FILE."!</b>");
+
+        $template = fread(fopen($template_file, 'r'), filesize($template_file));
+
+        $template = CPGPluginAPI::filter('template_html',$template);
+
+        $gallery_pos = strpos($template, '{LANGUAGE_SELECT_FLAGS}');
+        $template = str_replace('{LANGUAGE_SELECT_FLAGS}', languageSelect('flags') ,$template);
+        $gallery_pos = strpos($template, '{LANGUAGE_SELECT_LIST}');
+        $template = str_replace('{LANGUAGE_SELECT_LIST}', languageSelect('list') ,$template);
+        $gallery_pos = strpos($template, '{THEME_DIR}');
+        $template = str_replace('{THEME_DIR}', $THEME_DIR ,$template);
+        $gallery_pos = strpos($template, '{THEME_SELECT_LIST}');
+        $template = str_replace('{THEME_SELECT_LIST}', themeSelect('list') ,$template);
+        $gallery_pos = strpos($template, $tmpl_loc['l']);
+        $template = str_replace($tmpl_loc['l'], $tmpl_loc['s'] ,$template);
+
+        $template_header = substr($template, 0, $gallery_pos);
+        $template_header = str_replace('{META}','{META}'.CPGPluginAPI::filter('page_meta',''),$template_header);
+
+        // Filter gallery header and footer
+        $template_header .= CPGPluginAPI::filter('gallery_header','');
+        $template_footer = CPGPluginAPI::filter('gallery_footer','').substr($template, $gallery_pos);
+
+        $add_version_info = "<!--Coppermine Photo Gallery ".COPPERMINE_VERSION." (".COPPERMINE_VERSION_STATUS.")-->\n</body>";
+        $template_footer = ereg_replace("</body[^>]*>",$add_version_info,$template_footer);
+}
+
+// Eval a template (substitute vars with values)
+
+/**
+ * template_eval()
+ *
+ * @param $template
+ * @param $vars
+ * @return
+ **/
+
+function template_eval(&$template, &$vars)
+{
+        return strtr($template, $vars);
+}
+
+
+// Extract and return block '$block_name' from the template, the block is replaced by $subst
+
+/**
+ * template_extract_block()
+ *
+ * @param $template
+ * @param $block_name
+ * @param string $subst
+ * @return
+ **/
+
+function template_extract_block(&$template, $block_name, $subst='')
+{
+        $pattern = "#(<!-- BEGIN $block_name -->)(.*?)(<!-- END $block_name -->)#s";
+        if ( !preg_match($pattern, $template, $matches)){
+                die('<b>Template error<b><br />Failed to find block \''.$block_name.'\'('.htmlspecialchars($pattern).') in :<br /><pre>'.htmlspecialchars($template).'</pre>');
+        }
+        $template = str_replace($matches[1].$matches[2].$matches[3], $subst, $template);
+        return $matches[2];
+}
+
+/**************************************************************************
+   Functions for album/picture management
+ **************************************************************************/
+
+// Get the list of albums that the current user can't see
+
+/**
+ * get_private_album_set()
+ *
+ * @param string $aid_str
+ * @return
+ **/
+
+function get_private_album_set($aid_str="")
+{
+        if (GALLERY_ADMIN_MODE) return;
+
+        global $CONFIG, $ALBUM_SET, $USER_DATA, $FORBIDDEN_SET, $FORBIDDEN_SET_DATA;
+
+        $FORBIDDEN_SET_DATA = array();
+
+        if ($USER_DATA['can_see_all_albums']) return;
+
+                //Stuff for Album level passwords
+        if (isset($_COOKIE[$CONFIG['cookie_name']."_albpw"]) && empty($aid_str)) {
+          $alb_pw = unserialize($_COOKIE[$CONFIG['cookie_name']."_albpw"]);
+
+          foreach($alb_pw as $aid => $value) {
+            $aid_str .= (int)$aid . ",";
+          }
+
+          $aid_str = substr($aid_str, 0, -1);
+
+          $sql = "SELECT aid, MD5(alb_password) as md5_password FROM ".$CONFIG['TABLE_ALBUMS']." WHERE aid IN ($aid_str)";
+
+          $result = cpg_db_query($sql);
+          $albpw_db = array();
+          if (mysql_num_rows($result)) {
+            while ($data = mysql_fetch_array($result)) {
+              $albpw_db[$data['aid']] = $data['md5_password'];
+            }
+          }
+          $valid = array_intersect($albpw_db, $alb_pw);
+          if (is_array($valid)) {
+            $aid_str = implode(",",array_keys($valid));
+          } else {
+            $aid_str = "";
+          }
+        }
+
+        $sql = "SELECT aid FROM {$CONFIG['TABLE_ALBUMS']} WHERE visibility != '0' AND visibility !='".(FIRST_USER_CAT + USER_ID)."' AND visibility NOT IN ".USER_GROUP_SET;
+        if (!empty($aid_str)) {
+          $sql .= " AND aid NOT IN ($aid_str)";
+                }
+
+                $result = cpg_db_query($sql);
+        if ((mysql_num_rows($result))) {
+                $set ='';
+            while($album=mysql_fetch_array($result)){
+                    $set .= $album['aid'].',';
+                    $FORBIDDEN_SET_DATA[] = $album['aid'];
+            } // while
+                $FORBIDDEN_SET = "p.aid NOT IN (".substr($set, 0, -1).') ';
+                $ALBUM_SET = 'AND aid NOT IN ('.substr($set, 0, -1).') ';
+        }else{
+                  $FORBIDDEN_SET_DATA = array();
+                  $FORBIDDEN_SET = "";
+                  $ALBUM_SET = "";
+        }
+        mysql_free_result($result);
+}
+
+// Generate the thumbnail caption based on admin preference and thumbnail page requirements
+
+/**
+ * build_caption()
+ *
+ * @param array $rowset by reference
+ * @param array $must_have
+ **/
+function build_caption(&$rowset,$must_have=array())
+{
+    global $CONFIG, $THEME_DIR;
+    global $album_date_fmt, $lastcom_date_fmt, $lastup_date_fmt, $lasthit_date_fmt, $cat;
+    global $lang_get_pic_data, $lang_meta_album_names, $lang_errors;
+
+    foreach ($rowset as $key => $row) {
+        $caption='';
+        if ($CONFIG['display_filename']) {
+          $caption .='<span class="thumb_filename">' . $row['filename'] . '</span>';
+        }
+
+        $caption .= ($row['title']) ? '<span class="thumb_title">' . $row['title'] . '</span>' : '';
+
+        if ($CONFIG['views_in_thumbview'] || in_array('hits',$must_have)) {
+            $caption .= '<span class="thumb_title">' . sprintf($lang_get_pic_data['n_views'], $row['hits']).'</span>';
+        }
+        if ($CONFIG['caption_in_thumbview']){
+            $caption .= $row['caption'] ? "<span class=\"thumb_caption\">".strip_tags(bb_decode($row['caption']))."</span>" : '';
+        }
+        if ($CONFIG['display_comment_count']) {
+            $comments_nr = count_pic_comments($row['pid']);
+            if ($comments_nr > 0) {
+                $caption .= "<span class=\"thumb_num_comments\">".sprintf($lang_get_pic_data['n_comments'], $comments_nr )."</span>";
+            }
+        }
+        if ($CONFIG['display_uploader'] /*&& !in_array($row['owner_id'],$CONFIG['ADMIN_USERS']) *|| ($CONFIG['display_admin_uploader'] && in_array($row['owner_id'],$CONFIG['ADMIN_USERS']))*/) {
+            $caption .= ($row['owner_id'] && $row['owner_name']) ? '<span class="thumb_title"><a href ="profile.php?uid='.$row['owner_id'].'">'.$row['owner_name'].'</a></span>' : '';
+        }
+
+        if (in_array('msg_date',$must_have)) {
+            $caption .= '<span class="thumb_caption">'.localised_date($row['msg_date'], $lastcom_date_fmt).'</span>';
+        }
+        if (in_array('msg_body',$must_have)) {
+            $msg_body = strip_tags(bb_decode($row['msg_body'])); // I didn't want to fully bb_decode the message where report to admin isn't available. -donnoman
+            $msg_body = utf_strlen($msg_body) > 50 ? utf_substr($msg_body,0,50).'...': $msg_body;
+            if ($CONFIG['enable_smilies']) $msg_body = process_smilies($msg_body);
+            if ($row['author_id']) {
+                $caption .= '<span class="thumb_caption"><a href ="profile.php?uid='.$row['author_id'].'">'.$row['msg_author'].'</a>: '.$msg_body.'</span>';
+            } else {
+                    $caption .= '<span class="thumb_caption">'.$row['msg_author'].': '.$msg_body.'</span>';
+            }
+        }
+        if (in_array('ctime',$must_have)) {
+            $caption .= '<span class="thumb_caption">'.localised_date($row['ctime'], $lastup_date_fmt).'</span>';
+        }
+        if (in_array('pic_rating',$must_have)) {
+            if (defined('THEME_HAS_RATING_GRAPHICS')) {
+                $prefix= $THEME_DIR;
+            } else {
+                $prefix= '';
+            }
+            $caption .= "<span class=\"thumb_caption\">".'<img src="'.$prefix.'images/rating'.round($row['pic_rating']/2000).'.gif" alt=""/>'.'<br />'.sprintf($lang_get_pic_data['n_votes'], $row['votes']).'</span>';
+        }
+        if (in_array('mtime',$must_have)) {
+                $caption .= "<span class=\"thumb_caption\">".localised_date($row['mtime'], $lasthit_date_fmt);
+                if (GALLERY_ADMIN_MODE) {
+                  $caption .="<br/>".$row['lasthit_ip'];
+                }
+                $caption .='</span>';
+        }
+
+        $rowset[$key]['caption_text'] = $caption;
+    }
+    $rowset = CPGPluginAPI::filter('thumb_caption',$rowset);
+}
+
+// Retrieve the data for a picture or a set of picture
+
+/**
+ * get_pic_data()
+ *
+ * @param $album
+ * @param $count
+ * @param $album_name
+ * @param integer $limit1
+ * @param integer $limit2
+ * @param boolean $set_caption
+ * @return
+ **/
+
+function get_pic_data($album, &$count, &$album_name, $limit1=-1, $limit2=-1, $set_caption = true)
+{
+        global $USER, $CONFIG, $ALBUM_SET, $META_ALBUM_SET, $CURRENT_CAT_NAME, $CURRENT_ALBUM_KEYWORD, $HTML_SUBST, $THEME_DIR, $FAVPICS, $FORBIDDEN_SET_DATA;
+        global $album_date_fmt, $lastcom_date_fmt, $lastup_date_fmt, $lasthit_date_fmt, $cat;
+        global $lang_get_pic_data, $lang_meta_album_names, $lang_errors;
+
+        $sort_array = array(
+          'na' => 'filename ASC',
+          'nd' => 'filename DESC',
+          'ta'=>'title ASC',
+          'td'=>'title DESC',
+          'da' => 'pid ASC',
+          'dd' => 'pid DESC',
+          'pa' => 'position ASC',
+          'pd' => 'position DESC',
+        );
+        $sort_code = isset($USER['sort'])? $USER['sort'] : $CONFIG['default_sort_order'];
+        $sort_order = isset($sort_array[$sort_code]) ? $sort_array[$sort_code] : $sort_array[$CONFIG['default_sort_order']];
+        $limit = ($limit1 != -1) ? ' LIMIT '. $limit1 : '';
+        $limit .= ($limit2 != -1) ? ' ,'. $limit2 : '';
+
+        if ($limit2 == 1) {
+            $select_columns = '*';
+        } else {
+            $select_columns = 'pid, filepath, filename, url_prefix, filesize, pwidth, pheight, ctime, aid, keywords';
+        }
+
+        if(count($FORBIDDEN_SET_DATA) > 0 ){
+            $forbidden_set_string =" AND aid NOT IN (".implode(",", $FORBIDDEN_SET_DATA).")";
+        } else {
+            $forbidden_set_string = '';
+        }
+
+        // Keyword
+        if (!empty($CURRENT_ALBUM_KEYWORD)){
+                $keyword = "OR (keywords like '%$CURRENT_ALBUM_KEYWORD%' $forbidden_set_string )";
+        } else {
+        	$keyword = '';
+        }
+
+        // Regular albums
+        if ((is_numeric($album))) {
+                $album_name_keyword = get_album_name($album);
+                $album_name = $album_name_keyword['title'];
+                $album_keyword = addslashes($album_name_keyword['keyword']);
+
+                if (!empty($album_keyword)) {
+                        $keyword = "OR (keywords like '%$album_keyword%' $forbidden_set_string )";
+                } else {
+                  $keyword = '';
+                }
+
+                $approved = GALLERY_ADMIN_MODE ? '' : 'AND approved=\'YES\'';
+
+                $query = "SELECT COUNT(*) from {$CONFIG['TABLE_PICTURES']} WHERE ((aid='$album' $forbidden_set_string ) $keyword) $approved $ALBUM_SET";
+                $result = cpg_db_query($query);
+                $nbEnr = mysql_fetch_array($result);
+                $count = $nbEnr[0];
+                mysql_free_result($result);
+
+                if($select_columns != '*') $select_columns .= ', title, caption,hits,owner_id,owner_name';
+
+                $query = "SELECT $select_columns from {$CONFIG['TABLE_PICTURES']} WHERE ((aid='$album' $forbidden_set_string ) $keyword) $approved $ALBUM_SET ORDER BY $sort_order $limit";
+
+                $result = cpg_db_query($query);
+                $rowset = cpg_db_fetch_rowset($result);
+                mysql_free_result($result);
+                // Set picture caption
+                if ($set_caption) {
+                	build_caption($rowset);
+                }
+
+
+        $rowset = CPGPluginAPI::filter('thumb_caption_regular',$rowset);
+
+                return $rowset;
+        }
+
+
+        // Meta albums
+        switch($album){
+        case 'lastcom': // Last comments
+                if ($META_ALBUM_SET && $CURRENT_CAT_NAME) {
+                        $album_name = $album_name = $lang_meta_album_names['lastcom'].' - '. $CURRENT_CAT_NAME;
+                } else {
+                        $album_name = $lang_meta_album_names['lastcom'];
+                }
+
+                // Replacing the AND in ALBUM_SET with AND (
+                if($META_ALBUM_SET){
+                        $TMP_SET = "AND (" . substr($META_ALBUM_SET, 3);
+                }else{
+                        $TMP_SET = "AND (1";
+                }
+
+                $query = "SELECT COUNT(*) from {$CONFIG['TABLE_COMMENTS']}, {$CONFIG['TABLE_PICTURES']}  WHERE approved = 'YES' AND {$CONFIG['TABLE_COMMENTS']}.pid = {$CONFIG['TABLE_PICTURES']}.pid $TMP_SET $keyword)";
+                $result = cpg_db_query($query);
+
+                $nbEnr = mysql_fetch_array($result);
+                $count = $nbEnr[0];
+                mysql_free_result($result);
+                $select_columns = '*'; //allows building any data into any thumbnail caption
+                if($select_columns == '*'){
+                  $select_columns = 'p.*, msg_id, author_id, msg_author, UNIX_TIMESTAMP(msg_date) as msg_date, msg_body, aid';
+                } else {
+                  $select_columns = str_replace('pid', 'c.pid', $select_columns).', msg_id, author_id, msg_author, UNIX_TIMESTAMP(msg_date) as msg_date, msg_body, aid';
+                }
+
+                $TMP_SET = str_replace($CONFIG['TABLE_PICTURES'],'p',$TMP_SET);
+                $query = "SELECT $select_columns FROM {$CONFIG['TABLE_COMMENTS']} as c, {$CONFIG['TABLE_PICTURES']} as p WHERE approved = 'YES' AND c.pid = p.pid $TMP_SET $keyword) ORDER by msg_id DESC $limit";
+                $result = cpg_db_query($query);
+
+
+                $rowset = cpg_db_fetch_rowset($result);
+                mysql_free_result($result);
+
+                if ($set_caption) build_caption($rowset,array('msg_body','msg_date'));
+
+                $rowset = CPGPluginAPI::filter('thumb_caption_lastcom',$rowset);
+
+                return $rowset;
+                break;
+
+        case 'lastcomby': // Last comments by a specific user
+                if (isset($_GET['uid'])) {
+                        $uid = (int)$_GET['uid'];
+                } else {
+                        $uid = -1;
+                }
+
+                $user_name = get_username($uid);
+                if ($META_ALBUM_SET && $CURRENT_CAT_NAME) {
+                        $album_name = $album_name = $lang_meta_album_names['lastcom'].' - '. $CURRENT_CAT_NAME .' - '. $user_name;
+                } else {
+                        $album_name = $lang_meta_album_names['lastcom'].' - '. $user_name;
+                }
+
+                $query = "SELECT COUNT(*) from {$CONFIG['TABLE_COMMENTS']}, {$CONFIG['TABLE_PICTURES']}  WHERE approved = 'YES' AND author_id = '$uid' AND {$CONFIG['TABLE_COMMENTS']}.pid = {$CONFIG['TABLE_PICTURES']}.pid $META_ALBUM_SET";
+                $result = cpg_db_query($query);
+                $nbEnr = mysql_fetch_array($result);
+                $count = $nbEnr[0];
+                mysql_free_result($result);
+
+                                $select_columns = '*, UNIX_TIMESTAMP(msg_date) AS msg_date'; //allows building any data into any thumbnail caption
+
+                $query = "SELECT $select_columns FROM {$CONFIG['TABLE_COMMENTS']} as c, {$CONFIG['TABLE_PICTURES']} as p WHERE approved = 'YES' AND author_id = '$uid' AND c.pid = p.pid $META_ALBUM_SET ORDER by msg_id DESC $limit";
+                $result = cpg_db_query($query);
+                $rowset = cpg_db_fetch_rowset($result);
+                mysql_free_result($result);
+
+                if ($set_caption) build_caption($rowset,array('msg_body','msg_date'));
+
+                $rowset = CPGPluginAPI::filter('thumb_caption_lastcomby',$rowset);
+
+                return $rowset;
+                break;
+
+        case 'lastup': // Last uploads
+                if ($META_ALBUM_SET && $CURRENT_CAT_NAME) {
+                        $album_name = $lang_meta_album_names['lastup'].' - '. $CURRENT_CAT_NAME;
+                } else {
+                        $album_name = $lang_meta_album_names['lastup'];
+                }
+
+                $query = "SELECT COUNT(*) from {$CONFIG['TABLE_PICTURES']} WHERE approved = 'YES' $META_ALBUM_SET";
+                $result = cpg_db_query($query);
+                $nbEnr = mysql_fetch_array($result);
+                $count = $nbEnr[0];
+                mysql_free_result($result);
+
+
+                //if($select_columns != '*' ) $select_columns .= ',title, caption, owner_id, owner_name, aid';
+                $select_columns = '*'; //allows building any data into any thumbnail caption
+                $query = "SELECT $select_columns FROM {$CONFIG['TABLE_PICTURES']} WHERE approved = 'YES' $META_ALBUM_SET ORDER BY pid DESC $limit";
+                $result = cpg_db_query($query);
+
+                $rowset = cpg_db_fetch_rowset($result);
+                mysql_free_result($result);
+
+                if ($set_caption) build_caption($rowset,array('ctime'));
+
+                $rowset = CPGPluginAPI::filter('thumb_caption_lastup',$rowset);
+
+                return $rowset;
+                break;
+
+        case 'lastupby': // Last uploads by a specific user
+                if (isset($_GET['uid'])) {
+                        $uid = (int)$_GET['uid'];
+                } else {
+                        $uid = -1;
+                }
+
+                $user_name = get_username($uid);
+                if ($META_ALBUM_SET && $CURRENT_CAT_NAME) {
+                        $album_name = $lang_meta_album_names['lastup'].' - '. $CURRENT_CAT_NAME .' - '. $user_name;
+                } else {
+                        $album_name = $lang_meta_album_names['lastup'] .' - '. $user_name;
+                }
+
+                $query = "SELECT COUNT(*) from {$CONFIG['TABLE_PICTURES']} WHERE approved = 'YES' AND owner_id = '$uid' $META_ALBUM_SET";
+                $result = cpg_db_query($query);
+                $nbEnr = mysql_fetch_array($result);
+                $count = $nbEnr[0];
+                mysql_free_result($result);
+
+                //if($select_columns != '*' ) $select_columns .= ', owner_id, owner_name, aid';
+                $select_columns = '*'; //allows building any data into any thumbnail caption
+
+                $query = "SELECT $select_columns FROM {$CONFIG['TABLE_PICTURES']} WHERE approved = 'YES' AND owner_id = '$uid' $META_ALBUM_SET ORDER BY pid DESC $limit";
+                $result = cpg_db_query($query);
+
+                $rowset = cpg_db_fetch_rowset($result);
+                mysql_free_result($result);
+
+                if ($set_caption) build_caption($rowset,array('ctime'));
+
+                $rowset = CPGPluginAPI::filter('thumb_caption_lastupby',$rowset);
+
+                return $rowset;
+                break;
+
+        case 'topn': // Most viewed pictures
+                if ($META_ALBUM_SET && $CURRENT_CAT_NAME) {
+                        $album_name = $lang_meta_album_names['topn'].' - '. $CURRENT_CAT_NAME;
+                } else {
+                        $album_name = $lang_meta_album_names['topn'];
+                }
+
+                $query ="SELECT COUNT(*) from {$CONFIG['TABLE_PICTURES']} WHERE approved = 'YES' AND hits > 0  $META_ALBUM_SET $keyword";
+
+                $result = cpg_db_query($query);
+                $nbEnr = mysql_fetch_array($result);
+                $count = $nbEnr[0];
+                mysql_free_result($result);
+
+                //if($select_columns != '*') $select_columns .= ', hits, aid, filename, owner_id, owner_name';
+                $select_columns = '*'; //allows building any data into any thumbnail caption
+
+                $query = "SELECT $select_columns FROM {$CONFIG['TABLE_PICTURES']} WHERE approved = 'YES'AND hits > 0 $META_ALBUM_SET $keyword ORDER BY hits DESC, filename  $limit";
+                $result = cpg_db_query($query);
+
+                $rowset = cpg_db_fetch_rowset($result);
+                mysql_free_result($result);
+
+                if ($set_caption) build_caption($rowset,array('hits'));
+
+                $rowset = CPGPluginAPI::filter('thumb_caption_topn',$rowset);
+
+                return $rowset;
+                break;
+
+        case 'toprated': // Top rated pictures
+                if ($META_ALBUM_SET && $CURRENT_CAT_NAME) {
+                        $album_name = $lang_meta_album_names['toprated'].' - '. $CURRENT_CAT_NAME;
+                } else {
+                        $album_name = $lang_meta_album_names['toprated'];
+                }
+                $query = "SELECT COUNT(*) from {$CONFIG['TABLE_PICTURES']} WHERE approved = 'YES' AND votes >= '{$CONFIG['min_votes_for_rating']}' $META_ALBUM_SET";
+                $result = cpg_db_query($query);
+                $nbEnr = mysql_fetch_array($result);
+                $count = $nbEnr[0];
+                mysql_free_result($result);
+
+                //if($select_columns != '*') $select_columns .= ', pic_rating, votes, aid, owner_id, owner_name';
+                $select_columns = '*'; //allows building any data into any thumbnail caption
+
+                $query = "SELECT $select_columns FROM {$CONFIG['TABLE_PICTURES']} WHERE approved = 'YES' AND votes >= '{$CONFIG['min_votes_for_rating']}' $META_ALBUM_SET ORDER BY pic_rating DESC, votes DESC, pid DESC $limit";
+                $result = cpg_db_query($query);
+                $rowset = cpg_db_fetch_rowset($result);
+                mysql_free_result($result);
+
+                if ($set_caption) build_caption($rowset,array('pic_rating'));
+
+                $rowset = CPGPluginAPI::filter('thumb_caption_toprated',$rowset);
+
+                return $rowset;
+                break;
+
+        case 'lasthits': // Last viewed pictures
+                if ($META_ALBUM_SET && $CURRENT_CAT_NAME) {
+                        $album_name = $lang_meta_album_names['lasthits'].' - '. $CURRENT_CAT_NAME;
+                } else {
+                        $album_name = $lang_meta_album_names['lasthits'];
+                }
+                $query = "SELECT COUNT(*) from {$CONFIG['TABLE_PICTURES']} WHERE approved = 'YES' and hits > 0 $META_ALBUM_SET";
+                $result = cpg_db_query($query);
+                $nbEnr = mysql_fetch_array($result);
+                $count = $nbEnr[0];
+                mysql_free_result($result);
+
+                //if($select_columns != '*') $select_columns .= ', UNIX_TIMESTAMP(mtime) as mtime, aid, hits, lasthit_ip, owner_id, owner_name';
+                $select_columns = '*, UNIX_TIMESTAMP(mtime) as mtime'; //allows building any data into any thumbnail caption
+
+                $query = "SELECT $select_columns FROM {$CONFIG['TABLE_PICTURES']} WHERE approved = 'YES' and hits > 0 $META_ALBUM_SET ORDER BY mtime DESC $limit";
+                $result = cpg_db_query($query);
+                $rowset = cpg_db_fetch_rowset($result);
+                mysql_free_result($result);
+
+                if ($set_caption) build_caption($rowset,array('mtime','hits'));
+
+                $rowset = CPGPluginAPI::filter('thumb_caption_lasthits',$rowset);
+
+                return $rowset;
+                break;
+
+        case 'random': // Random pictures
+                if ($META_ALBUM_SET && $CURRENT_CAT_NAME) {
+                        $album_name = $lang_meta_album_names['random'].' - '. $CURRENT_CAT_NAME;
+                } else {
+                        $album_name = $lang_meta_album_names['random'];
+                }
+
+                /* Commented out due to image not found bug
+                $query = "SELECT COUNT(*) from {$CONFIG['TABLE_PICTURES']} WHERE approved = 'YES' $META_ALBUM_SET";
+                $result = cpg_db_query($query);
+                $nbEnr = mysql_fetch_array($result);
+                $pic_count = $nbEnr[0];
+                mysql_free_result($result);
+                */
+
+                //if($select_columns != '*') $select_columns .= ', aid, owner_id, owner_name';
+                $select_columns = '*'; //allows building any data into any thumbnail caption
+                // if we have more than 1000 pictures, we limit the number of picture returned
+                // by the SELECT statement as ORDER BY RAND() is time consuming
+
+                /* Commented out due to image not found bug
+                if ($pic_count > 1000) {
+                    $result = cpg_db_query("SELECT COUNT(*) from {$CONFIG['TABLE_PICTURES']} WHERE approved = 'YES'");
+                        $nbEnr = mysql_fetch_array($result);
+                        $total_count = $nbEnr[0];
+                        mysql_free_result($result);
+
+                        $granularity = floor($total_count / RANDPOS_MAX_PIC);
+                        $cor_gran = ceil($total_count / $pic_count);
+                        srand(time());
+                        for ($i=1; $i<= $cor_gran; $i++) $random_num_set =rand(0, $granularity).', ';
+                        $random_num_set = substr($random_num_set,0, -2);
+                        $result = cpg_db_query("SELECT $select_columns FROM {$CONFIG['TABLE_PICTURES']} WHERE  randpos IN ($random_num_set) AND approved = 'YES' $ALBUM_SET ORDER BY RAND() LIMIT $limit2");
+                } else {
+                */
+
+                $limit_random = $limit2 ? 'LIMIT '.$limit2 : '';
+                $query = "SELECT $select_columns FROM {$CONFIG['TABLE_PICTURES']} WHERE approved = 'YES' $META_ALBUM_SET ORDER BY RAND() $limit_random";
+                $result = cpg_db_query($query);
+
+                $rowset = array();
+                while($row = mysql_fetch_array($result)){
+                        $rowset[-$row['pid']] = $row;
+                }
+                mysql_free_result($result);
+
+                if ($set_caption) build_caption($rowset);
+
+                $rowset = CPGPluginAPI::filter('thumb_caption_random',$rowset);
+
+                return $rowset;
+                break;
+
+        case 'search': // Search results
+                                if (isset($USER['search']['search'])) {
+                                        $search_string = $USER['search']['search'];
+                } else {
+                                        $search_string = '';
+                }
+
+                if ($META_ALBUM_SET && $CURRENT_CAT_NAME) {
+                        $album_name = $lang_meta_album_names['search'].' - '. $CURRENT_CAT_NAME;
+                } else {
+                        $album_name = $lang_meta_album_names['search'].' - "'. strtr($search_string, $HTML_SUBST) . '"';
+                }
+
+                include 'include/search.inc.php';
+
+                $rowset = CPGPluginAPI::filter('thumb_caption_search',$rowset);
+
+                return $rowset;
+                break;
+
+        case 'lastalb': // Last albums to which uploads
+                if ($META_ALBUM_SET && $CURRENT_CAT_NAME) {
+                        $album_name = $lang_meta_album_names['lastalb'].' - '. $CURRENT_CAT_NAME;
+                } else {
+                        $album_name = $lang_meta_album_names['lastalb'];
+                }
+
+
+                $META_ALBUM_SET = str_replace( "aid", $CONFIG['TABLE_PICTURES'].".aid" , $META_ALBUM_SET );
+
+                $query = "SELECT count({$CONFIG['TABLE_ALBUMS']}.aid) FROM {$CONFIG['TABLE_PICTURES']},{$CONFIG['TABLE_ALBUMS']} WHERE {$CONFIG['TABLE_PICTURES']}.aid = {$CONFIG['TABLE_ALBUMS']}.aid AND approved = 'YES' $META_ALBUM_SET GROUP  BY {$CONFIG['TABLE_PICTURES']}.aid";
+
+                $result = cpg_db_query($query);
+                $count = mysql_num_rows($result);
+                mysql_free_result($result);
+
+                $query = "SELECT *,{$CONFIG['TABLE_ALBUMS']}.title AS title,{$CONFIG['TABLE_ALBUMS']}.aid AS aid FROM {$CONFIG['TABLE_PICTURES']},{$CONFIG['TABLE_ALBUMS']} WHERE {$CONFIG['TABLE_PICTURES']}.aid = {$CONFIG['TABLE_ALBUMS']}.aid AND approved = 'YES' $META_ALBUM_SET GROUP BY {$CONFIG['TABLE_PICTURES']}.aid ORDER BY {$CONFIG['TABLE_PICTURES']}.ctime DESC $limit";
+                $result = cpg_db_query($query);
+                $rowset = cpg_db_fetch_rowset($result);
+                mysql_free_result($result);
+
+                if ($set_caption) build_caption($rowset,array('ctime'));
+
+                $rowset = CPGPluginAPI::filter('thumb_caption_lastalb',$rowset);
+
+                return $rowset;
+                break;
+
+        case 'favpics': // Favourite Pictures
+
+                $album_name = $lang_meta_album_names['favpics'];
+                                $rowset = array();
+                if (count($FAVPICS)>0){
+                        $favs = implode(",",$FAVPICS);
+                        $query = "SELECT COUNT(*) from {$CONFIG['TABLE_PICTURES']} WHERE approved = 'YES' AND pid IN ($favs) $META_ALBUM_SET";
+                        $result = cpg_db_query($query);
+                        $nbEnr = mysql_fetch_array($result);
+                        $count = $nbEnr[0];
+                        mysql_free_result($result);
+
+                        $select_columns = '*';
+
+                        $query = "SELECT $select_columns FROM {$CONFIG['TABLE_PICTURES']} WHERE approved = 'YES'AND pid IN ($favs) $META_ALBUM_SET $limit";
+                        $result = cpg_db_query($query);
+                        $rowset = cpg_db_fetch_rowset($result);
+
+                        mysql_free_result($result);
+
+                        if ($set_caption) build_caption($rowset,array('ctime'));
+                }
+
+                $rowset = CPGPluginAPI::filter('thumb_caption_favpics',$rowset);
+
+                return $rowset;
+                break;
+
+        default : // Invalid meta album
+        cpg_die(ERROR, $lang_errors['non_exist_ap'], __FILE__, __LINE__);
+        }
+} // End of get_pic_data
+
+
+// Get the name of an album
+
+/**
+ * get_album_name()
+ *
+ * @param $aid
+ * @return
+ **/
+
+function get_album_name($aid)
+{
+        global $CONFIG;
+        global $lang_errors;
+
+        $result = cpg_db_query("SELECT title,keyword from {$CONFIG['TABLE_ALBUMS']} WHERE aid='$aid'");
+        $count = mysql_num_rows($result);
+        if ($count > 0) {
+                $row = mysql_fetch_array($result);
+                return $row;
+        } else {
+                cpg_die(ERROR, $lang_errors['non_exist_ap'], __FILE__, __LINE__);
+        }
+}
+
+// Return the name of a user
+
+/**
+ * get_username()
+ *
+ * @param $uid
+ * @return
+ **/
+function get_username($uid)
+{
+        global $CONFIG, $cpg_udb;
+
+        $uid = (int)$uid;
+
+        if (!$uid) {
+            return 'Anonymous';
+        } elseif (defined('UDB_INTEGRATION')) {
+           return $cpg_udb->get_user_name($uid);
+        /*} else {
+                $result = cpg_db_query("SELECT user_name FROM {$CONFIG['TABLE_USERS']} WHERE user_id = '".$uid."'");
+                if (mysql_num_rows($result) == 0) return '';
+                $row = mysql_fetch_array($result);
+                mysql_free_result($result);
+                return $row['user_name'];*/
+        }
+}
+
+// Return the ID of a user
+
+/**
+ * get_userid()
+ *
+ * @param $username
+ * @return
+ **/
+function get_userid($username)
+{
+        global $CONFIG, $cpg_udb;
+
+        $username = addslashes($username);
+
+        if (!$username) {
+            return 0;
+        } elseif (defined('UDB_INTEGRATION')) { // (Altered to fix banning w/ bb integration - Nibbler)
+           return $cpg_udb->get_user_id($username);
+        /*} else {
+                $result = cpg_db_query("SELECT user_id FROM {$CONFIG['TABLE_USERS']} WHERE user_name = '".$username."'");
+                if (mysql_num_rows($result) == 0) return 0;
+                $row = mysql_fetch_array($result);
+                mysql_free_result($result);
+                return $row['user_id'];*/
+        }
+}
+
+// get number of pending approvals
+
+/**
+ * cpg_get_pending_approvals()
+ *
+ * @return
+ **/
+function cpg_get_pending_approvals()
+{
+    global $CONFIG;
+    $result = cpg_db_query("SELECT COUNT(*) FROM {$CONFIG['TABLE_PICTURES']} WHERE approved = 'NO'");
+    if (mysql_num_rows($result) == 0) return 0;
+    $row = mysql_fetch_array($result);
+    mysql_free_result($result);
+    return $row[0];
+}
+
+// Return the total number of comments for a certain picture
+
+/**
+ * count_pic_comments()
+ *
+ * @param $pid
+ * @param integer $skip
+ * @return
+ **/
+function count_pic_comments($pid, $skip=0)
+{
+        global $CONFIG;
+        $result = cpg_db_query("SELECT count(*) from {$CONFIG['TABLE_COMMENTS']} where pid=$pid and msg_id!=$skip");
+        $nbEnr = mysql_fetch_array($result);
+        $count = $nbEnr[0];
+        mysql_free_result($result);
+
+        return $count;
+}
+
+// Add 1 everytime a picture is viewed.
+
+/**
+ * add_hit()
+ *
+ * @param $pid
+ * @return
+ **/
+function add_hit($pid)
+{
+    global $CONFIG, $raw_ip;
+    cpg_db_query("UPDATE {$CONFIG['TABLE_PICTURES']} SET hits=hits+1, lasthit_ip='$raw_ip', mtime=CURRENT_TIMESTAMP WHERE pid='$pid'");
+
+    /**
+     * Code to record the details of hits for the picture, if the option is set in CONFIG
+     */
+    
+    if ($CONFIG['hit_details']) {
+        $client_details = cpg_determine_client();
+        // Get the details of user browser, IP, OS, etc
+        $os = $client_details['os'];
+		$browser = $client_details['browser'];
+
+        //Code to get the search string if the referrer is any of the following
+        $search_engines = array('google', 'lycos', 'yahoo');
+
+        $query_array = array();
+        foreach ($search_engines as $engine) {
+          if (is_referer_search_engine($engine)) {
+            $query_array = get_search_query_terms($engine);
+            break;
+          }
+        }
+        $query_terms = is_array($query_array) ? implode(',', $query_array) : '';
+        $search_phrase = addslashes($query_terms);
+
+        $time = time();
+        $referer = addslashes(htmlentities($_SERVER['HTTP_REFERER']));
+
+        // Insert the record in database
+        $query = "INSERT INTO {$CONFIG['TABLE_HIT_STATS']} SET"
+            ." pid = $pid,"
+            ." search_phrase = '$search_phrase',"
+            ." Ip   = '$raw_ip',"
+            ." sdate = '$time',"
+            ." referer='$referer',"
+            ." browser = '$browser',"
+            ." os = '$os'";
+        cpg_db_query($query);
+     }
+}
+
+/**
+ * breadcrumb()
+ *
+ * Build the breadcrumb navigation
+ *
+ * @param integer $cat
+ * @param string $breadcrumb
+ * @param string $BREADCRUMB_TEXT
+ * @return
+ **/
+
+function breadcrumb($cat, &$breadcrumb, &$BREADCRUMB_TEXT)
+{
+        global $album, $lang_errors, $lang_list_categories;
+        global $CONFIG,$CURRENT_ALBUM_DATA, $CURRENT_CAT_NAME;
+
+        $category_array = array();
+
+        // first we build the category path: names and id
+        if ($cat != 0)
+        { //Categories other than 0 need to be selected
+                if ($cat >= FIRST_USER_CAT)
+                {
+                    $user_name = get_username($cat - FIRST_USER_CAT);
+                    if (!$user_name) $user_name = 'Mr. X';
+
+                    $category_array[] = array($cat, $user_name);
+                    $CURRENT_CAT_NAME = sprintf($lang_list_categories['xx_s_gallery'], $user_name);
+                    $row['parent'] = 1;
+                }
+                else
+                {
+                    $result = cpg_db_query("SELECT name, parent FROM {$CONFIG['TABLE_CATEGORIES']} WHERE cid = '$cat'");
+                    if (mysql_num_rows($result) == 0)
+                        cpg_die(CRITICAL_ERROR, $lang_errors['non_exist_cat'], __FILE__, __LINE__);
+                    $row = mysql_fetch_array($result);
+
+                    $category_array[] = array($cat, $row['name']);
+                    $CURRENT_CAT_NAME = $row['name'];
+                    mysql_free_result($result);
+                }
+
+                while($row['parent'] != 0)
+                {
+                    $result = cpg_db_query("SELECT cid, name, parent FROM {$CONFIG['TABLE_CATEGORIES']} WHERE cid = '{$row['parent']}'");
+                    if (mysql_num_rows($result) == 0)
+                        cpg_die(CRITICAL_ERROR, $lang_errors['orphan_cat'], __FILE__, __LINE__);
+                    $row = mysql_fetch_array($result);
+
+                    $category_array[] = array($row['cid'], $row['name']);
+                    mysql_free_result($result);
+                } // while
+
+                $category_array = array_reverse($category_array);
+        }
+
+        $breadcrumb_links = array();
+        $BREADCRUMB_TEXTS = array();
+
+        // Add the Home link  to breadcrumb
+        $breadcrumb_links[0] = '<a href="index.php">'.$lang_list_categories['home'].'</a>';
+        $BREADCRUMB_TEXTS[0] = $lang_list_categories['home'];
+
+        $cat_order = 1;
+        foreach ($category_array as $category)
+        {
+            $breadcrumb_links[$cat_order] = "<a href=\"index.php?cat={$category[0]}\">{$category[1]}</a>";
+            $BREADCRUMB_TEXTS[$cat_order] = $category[1];
+            $cat_order += 1;
+        }
+
+        //Add Link for album if aid is set
+        if (isset($CURRENT_ALBUM_DATA['aid']))
+        {
+            $breadcrumb_links[$cat_order] = "<a href=\"thumbnails.php?album=".$CURRENT_ALBUM_DATA['aid']."\">".$CURRENT_ALBUM_DATA['title']."</a>";
+            $BREADCRUMB_TEXTS[$cat_order] = $CURRENT_ALBUM_DATA['title'];
+        }
+
+        // we check if the theme_breadcrumb exists...
+        if (function_exists('theme_breadcrumb'))
+        {
+            theme_breadcrumb($breadcrumb_links, $BREADCRUMB_TEXTS, $breadcrumb, $BREADCRUMB_TEXT);
+            return;
+        }
+        // otherwise we have a default breadcrumb builder:
+        $breadcrumb = '';
+        $BREADCRUMB_TEXT = '';
+        foreach ($breadcrumb_links as $breadcrumb_link)
+        {
+            $breadcrumb .= ' > ' . $breadcrumb_link;
+        }
+        foreach ($BREADCRUMB_TEXTS as $BREADCRUMB_TEXT_elt)
+        {
+            $BREADCRUMB_TEXT .= ' > ' . $BREADCRUMB_TEXT_elt;
+        }
+        // We remove the first ' > '
+        $breadcrumb = substr_replace($breadcrumb,'', 0, 3);
+        $BREADCRUMB_TEXT = substr_replace($BREADCRUMB_TEXT,'', 0, 3);
+        //echo $breadcrumb;
+}
+
+
+/**************************************************************************
+
+ **************************************************************************/
+
+// Compute image geometry based on max width / height
+
+/**
+ * compute_img_size()
+ *
+ * Compute image geometry based on max, width / height
+ *
+ * @param integer $width
+ * @param integer $height
+ * @param integer $max
+ * @return array
+ **/
+function compute_img_size($width, $height, $max)
+{
+         global $CONFIG;
+        $thumb_use=$CONFIG['thumb_use'];
+        if($thumb_use=='ht') {
+          $ratio = $height / $max;
+        } elseif($thumb_use=='wd') {
+          $ratio = $width / $max;
+        } else {
+          $ratio = max($width, $height) / $max;
+        }
+        if ($ratio > 1.0) {
+                $image_size['reduced'] = true;
+        }
+        $ratio = max($ratio, 1.0);
+        $image_size['width'] =  (int) ($width / $ratio);
+        $image_size['height'] = (int) ($height / $ratio);
+        $image_size['whole'] = 'width="'.$image_size['width'].'" height="'.$image_size['height'].'"';
+        if($thumb_use=='ht') {
+          $image_size['geom'] = ' height="'.$image_size['height'].'"';
+        } elseif($thumb_use=='wd') {
+          $image_size['geom'] = 'width="'.$image_size['width'].'"';
+        } else {
+          $image_size['geom'] = 'width="'.$image_size['width'].'" height="'.$image_size['height'].'"';
+        }
+
+
+
+        return $image_size;
+}
+
+// Prints thumbnails of pictures in an album
+
+/**
+ * display_thumbnails()
+ *
+ * Generates data to display thumbnails of pictures in an album
+ *
+ * @param mixed $album Either the album ID or the meta album name
+ * @param integer $cat Either the category ID or album ID if negative
+ * @param integer $page Page number to display
+ * @param integer $thumbcols
+ * @param integer $thumbrows
+ * @param boolean $display_tabs
+ **/
+
+function display_thumbnails($album, $cat, $page, $thumbcols, $thumbrows, $display_tabs)
+{
+        global $CONFIG, $AUTHORIZED;
+        global $album_date_fmt, $lang_display_thumbnails, $lang_errors, $lang_byte_units;
+
+        $thumb_per_page = $thumbcols * $thumbrows;
+        $lower_limit = ($page-1) * $thumb_per_page;
+
+        $pic_data = get_pic_data($album, $thumb_count, $album_name, $lower_limit, $thumb_per_page);
+
+        $total_pages = ceil($thumb_count / $thumb_per_page);
+
+        $i = 0;
+        if (count($pic_data) > 0) {
+                foreach ($pic_data as $key => $row) {
+                        $i++;
+
+                        $pic_title =$lang_display_thumbnails['filename'].$row['filename']."\n".
+                                $lang_display_thumbnails['filesize'].($row['filesize'] >> 10).$lang_byte_units[1]."\n".
+                                $lang_display_thumbnails['dimensions'].$row['pwidth']."x".$row['pheight']."\n".
+                                $lang_display_thumbnails['date_added'].localised_date($row['ctime'], $album_date_fmt);
+
+                        $pic_url =  get_pic_url($row, 'thumb');
+                        if (!is_image($row['filename'])) {
+                                $image_info = getimagesize(urldecode($pic_url));
+                                $row['pwidth'] = $image_info[0];
+                                $row['pheight'] = $image_info[1];
+                        }
+
+                        $image_size = compute_img_size($row['pwidth'], $row['pheight'], $CONFIG['thumb_width']);
+
+                        $thumb_list[$i]['pos'] = $key < 0 ? $key : $i - 1 + $lower_limit;
+                        $thumb_list[$i]['pid'] = $row['pid'];
+                        $thumb_list[$i]['image'] = "<img src=\"" . $pic_url . "\" class=\"image\" {$image_size['geom']} border=\"0\" alt=\"{$row['filename']}\" title=\"$pic_title\"/>";
+                        $thumb_list[$i]['caption'] = bb_decode($row['caption_text']);
+                        $thumb_list[$i]['admin_menu'] = '';
+                        $thumb_list[$i]['aid'] = $row['aid'];
+                }
+                theme_display_thumbnails($thumb_list, $thumb_count, $album_name, $album, $cat, $page, $total_pages, is_numeric($album), $display_tabs);
+        } else {
+                theme_no_img_to_display($album_name);
+        }
+}
+
+ /**
+ * cpg_get_system_thumb_list()
+ *
+ * Return an array containing the system thumbs in a directory
+
+ * @param string $search_folder
+ * @return array
+ **/
+function cpg_get_system_thumb_list($search_folder = 'images/')
+{
+        global $CONFIG;
+        static $thumbs = array();
+
+        $folder = 'images/';
+
+        $thumb_pfx =& $CONFIG['thumb_pfx'];
+        // If thumb array is empty get list from coppermine 'images' folder
+        if ((count($thumbs) == 0) && ($folder == $search_folder)) {
+                $dir = opendir($folder);
+                while (($file = readdir($dir))!==false) {
+                        if (is_file($folder . $file) && strpos($file,$thumb_pfx) === 0) {
+                                // Store filenames in an array
+                                $thumbs[] = array('filename' => $file);
+                        }
+                }
+                closedir($dir);
+                return $thumbs;
+        } elseif ($folder == $search_folder) {
+                // Search folder is the same as coppermine images folder; just return the array
+                return $thumbs;
+        } else {
+                // Search folder is the different; check for files in the given folder
+                $results = array();
+                foreach ($thumbs as $thumb) {
+                        if (is_file($search_folder.$thumb['filename'])) {
+                                $results[] = array('filename' => $thumb['filename']);
+                        }
+                }
+                return $results;
+        }
+}
+
+
+/**
+ * cpg_get_system_thumb()
+ *
+ * Gets data for system thumbs
+ *
+ * @param string $filename
+ * @param integer $user
+ * @return array
+ **/
+
+function& cpg_get_system_thumb($filename,$user=10001)
+{
+        global $CONFIG,$USER_DATA;
+
+        // Correct user_id
+        if ($user<10000)
+        {
+                $user += 10000;
+        }
+
+        if ($user==10000) {
+                $user = 10001;
+        }
+
+        // Get image data for thumb
+        $picdata = array('filename'=>$filename,
+                         'filepath'=>$CONFIG['userpics'].$user.'/',
+                         'url_prefix'=>0);
+        $pic_url = get_pic_url($picdata,'thumb',true);
+        $picdata['thumb'] = $pic_url;
+        $image_info = getimagesize(urldecode($pic_url));
+        $picdata['pwidth'] = $image_info[0];
+        $picdata['pheight'] = $image_info[1];
+        $image_size = compute_img_size($picdata['pwidth'], $picdata['pheight'], $CONFIG['alb_list_thumb_size']);
+        $picdata['whole'] = $image_size['whole'];
+        $picdata['reduced'] = (isset($image_size['reduced']) && $image_size['reduced']);
+        return $picdata;
+}
+
+
+/**
+ * display_film_strip()
+ *
+ * gets data for thumbnails in an album for the film strip
+ *
+ * @param integer $album
+ * @param integer $cat
+ * @param integer $pos
+ **/
+
+function display_film_strip($album, $cat, $pos)
+{
+        global $CONFIG, $AUTHORIZED;
+        global $album_date_fmt, $lang_display_thumbnails, $lang_errors, $lang_byte_units;
+        $max_item=$CONFIG['max_film_strip_items'];
+        //$thumb_per_page = $pos+$CONFIG['max_film_strip_items'];
+        $thumb_per_page = $max_item*2;
+        $l_limit = max(0,$pos-$CONFIG['max_film_strip_items']);
+        $new_pos=max(0,$pos-$l_limit);
+
+        $pic_data = get_pic_data($album, $thumb_count, $album_name, $l_limit, $thumb_per_page);
+
+        if (count($pic_data) < $max_item ){
+                $max_item = count($pic_data);
+        }
+        $lower_limit=3;
+
+        if(!isset($pic_data[$new_pos+1])) {
+           $lower_limit=$new_pos-$max_item+1;
+        } else if(!isset($pic_data[$new_pos+2])) {
+           $lower_limit=$new_pos-$max_item+2;
+        } else if(!isset($pic_data[$new_pos-1])) {
+           $lower_limit=$new_pos;
+        } else {
+          $hf=$max_item/2;
+          $ihf=(int)($max_item/2);
+          if($new_pos > $hf ) {
+             //if($max_item%2==0) {
+               //$lower_limit=
+             //} else {
+             {
+               $lower_limit=$new_pos-$ihf;
+             }
+          }
+          elseif($new_pos <= $hf ) { $lower_limit=0; }
+        }
+
+        $pic_data=array_slice($pic_data,$lower_limit,$max_item);
+        $i=$l_limit;
+        if (count($pic_data) > 0) {
+                foreach ($pic_data as $key => $row) {
+                        $hi =(($pos==($i + $lower_limit)) ? '1': '');
+                        $i++;
+
+                        $pic_title =$lang_display_thumbnails['filename'].$row['filename']."\n".
+                                $lang_display_thumbnails['filesize'].($row['filesize'] >> 10).$lang_byte_units[1]."\n".
+                                $lang_display_thumbnails['dimensions'].$row['pwidth']."x".$row['pheight']."\n".
+                                $lang_display_thumbnails['date_added'].localised_date($row['ctime'], $album_date_fmt);
+
+                        $pic_url =  get_pic_url($row, 'thumb');
+                        if (!is_image($row['filename'])) {
+                                $image_info = getimagesize(urldecode($pic_url));
+                                $row['pwidth'] = $image_info[0];
+                                $row['pheight'] = $image_info[1];
+                        }
+
+                        $image_size = compute_img_size($row['pwidth'], $row['pheight'], $CONFIG['thumb_width']);
+
+                        $p=$i - 1 + $lower_limit;
+                        $p=($p < 0 ? 0 : $p);
+                        $thumb_list[$i]['pos'] = $key < 0 ? $key : $p;
+                        $thumb_list[$i]['image'] = "<img src=\"" . $pic_url . "\" class=\"image\" {$image_size['geom']} border=\"0\" alt=\"{$row['filename']}\" title=\"$pic_title\" />";
+                        $thumb_list[$i]['caption'] = $CONFIG['display_film_strip_filename'] ? '<span class="thumb_filename">'.$row['filename'].'</span>' : '';
+                        $thumb_list[$i]['admin_menu'] = '';
+
+                }
+                return theme_display_film_strip($thumb_list, $thumb_count, $album_name, $album, $cat, $pos, is_numeric($album));
+        } else {
+                theme_no_img_to_display($album_name);
+        }
+}
+
+// Return the url for a picture, allows to have pictures spreaded over multiple servers
+
+/**
+ * get_pic_url()
+ *
+ * Return the url for a picture
+ *
+ * @param array $pic_row
+ * @param string $mode
+ * @param boolean $system_pic
+ * @return string
+ **/
+
+function& get_pic_url(&$pic_row, $mode,$system_pic = false)
+{
+        global $CONFIG,$THEME_DIR;
+
+        static $pic_prefix = array();
+        static $url_prefix = array();
+
+        if (!count($pic_prefix)) {
+                $pic_prefix = array(
+                        'thumb' => $CONFIG['thumb_pfx'],
+                        'normal' => $CONFIG['normal_pfx'],
+                        'fullsize' => ''
+                );
+
+                $url_prefix = array(
+                        0 => $CONFIG['fullpath'],
+                );
+        }
+
+        $mime_content = cpg_get_type($pic_row['filename']);
+        // If $mime_content is empty there will be errors, so only perform the array_merge if $mime_content is actually an array
+        if (is_array($mime_content)) {
+            $pic_row = array_merge($pic_row,$mime_content);
+        }
+
+        $filepathname = null;
+
+        // Code to handle custom thumbnails
+        // If fullsize or normal mode use regular file
+        if ($mime_content['content'] != 'image' && $mode== 'normal') {
+                $mode = 'fullsize';
+        } elseif (($mime_content['content'] != 'image' && $mode == 'thumb') || $system_pic) {
+                $thumb_extensions = Array('.gif','.png','.jpg');
+                // Check for user-level custom thumbnails
+                // Create custom thumb path and erase extension using filename; Erase filename's extension
+                $custom_thumb_path = $url_prefix[$pic_row['url_prefix']].$pic_row['filepath'].$pic_prefix[$mode];
+                $file_base_name = str_replace('.'.$mime_content['extension'],'',basename($pic_row['filename']));
+                // Check for file-specific thumbs
+                foreach ($thumb_extensions as $extension) {
+                        if (file_exists($custom_thumb_path.$file_base_name.$extension)) {
+                                $filepathname = $custom_thumb_path.$file_base_name.$extension;
+                                break;
+                        }
+                }
+                if (!$system_pic) {
+                        // Check for extension-specific thumbs
+                        if (is_null($filepathname)) {
+                                foreach ($thumb_extensions as $extension) {
+                                        if (file_exists($custom_thumb_path.$mime_content['extension'].$extension)) {
+                                                $filepathname = $custom_thumb_path.$mime_content['extension'].$extension;
+                                                break;
+                                        }
+                                }
+                        }
+                        // Check for content-specific thumbs
+                        if (is_null($filepathname)) {
+                                foreach ($thumb_extensions as $extension) {
+                                        if (file_exists($custom_thumb_path.$mime_content['content'].$extension)) {
+                                                $filepathname = $custom_thumb_path.$mime_content['content'].$extension;
+                                                break;
+                                        }
+                                }
+                        }
+                }
+                // Use default thumbs
+                if (is_null($filepathname)) {
+                               // Check for default theme- and global-level thumbs
+                               $thumb_paths[] = $THEME_DIR.'images/';                 // Used for custom theme thumbs
+                               $thumb_paths[] = 'images/';                             // Default Coppermine thumbs
+                               foreach ($thumb_paths as $default_thumb_path) {
+                                       if (is_dir($default_thumb_path)) {
+                                               if (!$system_pic) {
+                                                       foreach ($thumb_extensions as $extension) {
+                                                               // Check for extension-specific thumbs
+                                                               if (file_exists($default_thumb_path.$CONFIG['thumb_pfx'].$mime_content['extension'].$extension)) {
+                                                                       $filepathname = $default_thumb_path.$CONFIG['thumb_pfx'].$mime_content['extension'].$extension;
+                                                                       break 2;
+                                                               }
+                                                       }
+                                                       foreach ($thumb_extensions as $extension) {
+                                                               // Check for media-specific thumbs (movie,document,audio)
+                                                               if (file_exists($default_thumb_path.$CONFIG['thumb_pfx'].$mime_content['content'].$extension)) {
+                                                                       $filepathname = $default_thumb_path.$CONFIG['thumb_pfx'].$mime_content['content'].$extension;
+                                                                       break 2;
+                                                               }
+                                                       }
+                                               } else {
+                                                       // Check for file-specific thumbs for system files
+                                                       foreach ($thumb_extensions as $extension) {
+                                                               if (file_exists($default_thumb_path.$CONFIG['thumb_pfx'].$file_base_name.$extension)) {
+                                                                       $filepathname = $default_thumb_path.$CONFIG['thumb_pfx'].$file_base_name.$extension;
+                                                                       break 2;
+                                                               }
+                                                       }
+                                               }
+                                       }
+                               }
+                }
+                $filepathname = path2url($filepathname);
+        }
+
+        if (is_null($filepathname)) {
+            $filepathname = $url_prefix[$pic_row['url_prefix']]. path2url($pic_row['filepath']. $pic_prefix[$mode]. $pic_row['filename']);
+        }
+
+        // Added hack:  "&& !isset($pic_row['mode'])" thumb_data filter isn't executed for the fullsize image
+        if ($mode == 'thumb' && !isset($pic_row['mode'])) {
+            $pic_row['url'] = $filepathname;
+            $pic_row['mode'] = $mode;
+            $pic_row = CPGPluginAPI::filter('thumb_data',$pic_row);
+        } elseif ($mode != 'thumb') {
+            $pic_row['url'] = $filepathname;
+            $pic_row['mode'] = $mode;
+        } else {
+            $pic_row['url'] = $filepathname;
+        }
+
+        return $pic_row['url'];
+}
+
+
+/**
+ * cpg_get_default_lang_var()
+ *
+ * Return a variable from the default language file
+ *
+ * @param $language_var_name
+ * @param unknown $overide_language
+ * @return
+ **/
+function& cpg_get_default_lang_var($language_var_name,$overide_language = null) {
+        global $CONFIG;
+        if (is_null($overide_language)) {
+                if (isset($CONFIG['default_lang'])) {
+                        $language = $CONFIG['default_lang'];
+                } else {
+                               global $$language_var_name;
+                               return $$language_var_name;
+                }
+        } else {
+                       $language = $overide_language;
+        }
+        include('lang/'.$language.'.php');
+        return $$language_var_name;
+}
+
+// Returns a variable from the current language file
+// If variable doesn't exists gets value from english_us lang file
+
+/**
+ * cpg_lang_var()
+ *
+ * @param $varname
+ * @param unknown $index
+ * @return
+ **/
+
+function& cpg_lang_var($varname,$index=null) {
+        global $$varname;
+
+        $lang_var =& $$varname;
+
+        if (isset($lang_var)) {
+                if (!is_null($index) && !isset($lang_var[$index])) {
+                        include('lang/english.php');
+                        return $lang_var[$index];
+                } elseif (is_null($index)) {
+                        return $lang_var;
+                } else {
+                               return $lang_var[$index];
+                }
+        } else {
+                       include('lang/english.php');
+                       return $lang_var;
+        }
+}
+
+
+/**
+ * cpg_debug_output()
+ *
+ * defined new debug_output function here in functions.inc.php instead of theme.php with different function names to avoid incompatibilities with users not updating their themes as required. Advanced info is only output if (GALLERY_ADMIN_MODE == TRUE)
+ *
+ **/
+
+function cpg_debug_output()
+{
+    global $USER, $USER_DATA, $META_ALBUM_SET, $ALBUM_SET, $CONFIG, $cpg_time_start, $query_stats, $queries, $lang_cpg_debug_output;
+        $time_end = cpgGetMicroTime();
+        $time = round($time_end - $cpg_time_start, 3);
+
+        $query_count = count($query_stats);
+        $total_query_time = array_sum($query_stats);
+
+        $debug_underline = '&#0010;------------------&#0010;';
+        $debug_separate = '&#0010;==========================&#0010;';
+        echo '<form name="debug" action="'.$_SERVER['PHP_SELF'].'">';
+        starttable('100%', $lang_cpg_debug_output['debug_info'],2);
+        echo '<tr><td align="center" valign="middle" class="tableh2" width="100">';
+        echo '<script language="javascript" type="text/javascript">
+<!--
+
+function HighlightAll(theField) {
+var tempval=eval("document."+theField)
+tempval.focus()
+tempval.select()
+}
+//-->
+</script>';
+        echo '
+        <a href="javascript:HighlightAll(\'debug.debugtext\')" class="admin_menu">' . $lang_cpg_debug_output['select_all'] . '</a>';
+        echo '</td><td align="left" valign="middle" class="tableh2">';
+        if (GALLERY_ADMIN_MODE){echo '<span class="album_stat">('.$lang_cpg_debug_output['copy_and_paste_instructions'].')</span>';}
+        echo '</td></tr>';
+        echo '<tr><td class="tableb" colspan="2">';
+        echo '<textarea  rows="10" cols="60" class="debug_text" name="debugtext">';
+        echo "USER: ";
+        echo $debug_underline;
+        print_r($USER);
+        echo $debug_separate;
+        echo "USER DATA:";
+        echo $debug_underline;
+        print_r($USER_DATA);
+        echo $debug_separate;
+        echo "Queries:";
+        echo $debug_underline;
+        print_r($queries);
+        echo $debug_separate;
+        echo "GET :";
+        echo $debug_underline;
+        print_r($_GET);
+        echo $debug_separate;
+        echo "POST :";
+        echo $debug_underline;
+        print_r($_POST);
+        echo $debug_separate;
+        if (GALLERY_ADMIN_MODE){
+        echo "VERSION INFO :";
+        echo $debug_underline;
+        $version_comment = ' - OK';
+        if (strcmp('4.0.0', phpversion()) == 1) {$version_comment = ' - your PHP version isn\'t good enough! Minimum requirements: 4.x';}
+        echo 'PHP version: ' . phpversion().$version_comment;
+        echo $debug_underline;
+        $version_comment = '';
+        $mySqlVersion = cpg_phpinfo_mysql_version();
+        if (strcmp('3.23.23', $mySqlVersion) == 1) {$version_comment = ' - your mySQL version isn\'t good enough! Minimum requirements: 3.23.23';}
+        echo 'mySQL version: ' . $mySqlVersion . $version_comment;
+        echo $debug_underline;
+        echo 'Coppermine version: ';
+        echo COPPERMINE_VERSION . '(' . COPPERMINE_VERSION_STATUS . ')';
+        echo $debug_separate;
+//        error_reporting  (E_ERROR | E_WARNING | E_PARSE); // New maze's error report system
+        if (function_exists('gd_info') == true) {
+            echo 'Module: GD';
+            echo $debug_underline;
+            $gd_array = gd_info();
+            foreach ($gd_array as $key => $value) {
+                echo $key.': '.$value."\n";
+            }
+            echo $debug_separate;
+        } else {
+            echo cpg_phpinfo_mod_output('gd','text');
+        }
+        echo cpg_phpinfo_mod_output('mysql','text');
+        echo cpg_phpinfo_mod_output('zlib','text');
+        echo 'Server restrictions (safe mode)?';
+        echo $debug_underline;
+        echo 'Directive | Local Value | Master Value';
+        echo cpg_phpinfo_conf_output("safe_mode");
+        echo cpg_phpinfo_conf_output("safe_mode_exec_dir");
+        echo cpg_phpinfo_conf_output("safe_mode_gid");
+        echo cpg_phpinfo_conf_output("safe_mode_include_dir");
+        echo cpg_phpinfo_conf_output("safe_mode_exec_dir");
+        echo cpg_phpinfo_conf_output("sql.safe_mode");
+        echo cpg_phpinfo_conf_output("disable_functions");
+        echo cpg_phpinfo_conf_output("file_uploads");
+        echo cpg_phpinfo_conf_output("include_path");
+        echo cpg_phpinfo_conf_output("open_basedir");
+        echo $debug_separate;
+        echo 'email';
+        echo $debug_underline;
+        echo 'Directive | Local Value | Master Value';
+        echo cpg_phpinfo_conf_output("sendmail_from");
+        echo cpg_phpinfo_conf_output("sendmail_path");
+        echo cpg_phpinfo_conf_output("SMTP");
+        echo cpg_phpinfo_conf_output("smtp_port");
+        echo $debug_separate;
+        echo 'Size and Time';
+        echo $debug_underline;
+        echo 'Directive | Local Value | Master Value';
+        echo cpg_phpinfo_conf_output("max_execution_time");
+        echo cpg_phpinfo_conf_output("max_input_time");
+        echo cpg_phpinfo_conf_output("upload_max_filesize");
+        echo cpg_phpinfo_conf_output("post_max_size");
+        echo $debug_separate;
+        }
+
+        echo <<<EOT
+Page generated in $time seconds - $query_count queries in $total_query_time seconds - Album set : $ALBUM_SET; Meta set: $META_ALBUM_SET;
+EOT;
+        echo "</textarea>";
+        echo "</td>";
+        echo "</tr>";
+        if (GALLERY_ADMIN_MODE){
+          echo "<tr><td class=\"tablef\" colspan=\"2\">";
+          echo "<a href=\"phpinfo.php\" class=\"admin_menu\">".$lang_cpg_debug_output['phpinfo']."</a>";
+//          error_reporting  (E_ERROR | E_WARNING | E_PARSE); // New maze's error report system
+          echo "</td></tr>";
+        }
+
+        // Maze's new error report system
+        global $cpgdebugger;
+        $report = $cpgdebugger->stop();
+        if (is_array($report) && $CONFIG['debug_notice']!= 0) {
+            echo '<tr><td class="tableh1" colspan="2">';
+            echo '<b>';
+            echo $lang_cpg_debug_output['notices'];
+            echo '</b>';
+            echo '</td></tr>';
+            echo '<tr><td class="tableb" colspan="2">';
+            foreach($report AS $file => $errors) {
+                echo '<b>'.substr($file, $strstart).'</b><ul>';
+                foreach($errors AS $error) { echo "<li>$error</li>"; }
+                echo '</ul>';
+            }
+            echo '</td></tr>';
+        }
+        endtable();
+        echo "</form>";
+
+}
+
+/**
+ * cpg_phpinfo_mod()
+ *
+ * phpinfo-related functions:
+ *
+ * @param $search
+ * @return
+ **/
+
+function cpg_phpinfo_mod($search)
+{
+    // this could be done much better with regexpr - anyone who wants to change it: go ahead
+    ob_start();
+    phpinfo(INFO_MODULES);
+    $string = ob_get_contents();
+    $module = $string;
+    $delimiter = '#cpgdelimiter#';
+    ob_end_clean();
+    // find out the first occurence of "<h2" and throw the superfluos stuff away
+    $string = stristr($string, 'module_' . $search);
+    $string = eregi_replace('</table>(.*)', '', $string);
+    $string = stristr($string, '<tr');
+    $string = str_replace('</td>', '|', $string);
+    $string = str_replace('</tr>', $delimiter, $string);
+    $string = chop(strip_tags($string));
+    $pieces = explode($delimiter, $string);
+    foreach($pieces as $key => $val) {
+        $bits[$key] = explode("|", $val);
+    }
+    return $bits;
+}
+
+/**
+ * cpg_phpinfo_mod_output()
+ *
+ * @param $search
+ * @param $output_type
+ * @return
+ **/
+
+function cpg_phpinfo_mod_output($search,$output_type)
+{
+// first parameter is the module name, second parameter is the way you want your output to look like: table or text
+    $pieces = cpg_phpinfo_mod($search);
+    $summ = '';
+    $return = '';
+    $debug_underline = '&#0010;------------------&#0010;';
+    $debug_separate = '&#0010;==========================&#0010;';
+
+    if ($output_type == 'table')
+    {
+    ob_start();
+    starttable('100%', 'Module: '.$search, 2);
+    $return.= ob_get_contents();
+    ob_end_clean();
+    }
+    else
+    {
+    $return.= 'Module: '.$search.$debug_underline;
+    }
+    foreach($pieces as $val) {
+        if ($output_type == 'table') {$return.= '<tr><td>';}
+        $return.= $val[0];
+        if ($output_type == 'table') {$return.= '</td><td>';}
+        if (isset($val[1])) {$return.= $val[1];}
+        if ($output_type == 'table') {$return.= '</td></tr>';}
+        $summ .= $val[0];
+    }
+    if (!$summ) {
+        if ($output_type == 'table') {$return.= '<tr><td colspan="2">';}
+        $return.= 'module doesn\'t exist';
+        if ($output_type == 'table') {$return.= '</td></tr>';}
+    }
+    if ($output_type == 'table')
+    {
+    ob_start();
+    endtable();
+    $return.= ob_get_contents();
+    ob_end_clean();
+    }
+    else
+    {
+    $return.= $debug_separate;
+    }
+    return $return;
+}
+
+/**
+ * cpg_phpinfo_mysql_version()
+ *
+ * @return
+ **/
+
+
+function cpg_phpinfo_mysql_version()
+{
+    $result = mysql_query("SELECT VERSION() as version");
+    $row = mysql_fetch_row($result);
+    return $row[0];
+}
+
+/**
+ * cpg_phpinfo_conf()
+ *
+ * @param $search
+ * @return
+ **/
+
+function cpg_phpinfo_conf($search)
+{
+    // this could be done much better with regexpr - anyone who wants to change it: go ahead
+    $string ='';
+    $pieces = '';
+    $delimiter = '#cpgdelimiter#';
+    $bits = '';
+
+    ob_start();
+    phpinfo(INFO_CONFIGURATION);
+    $string = ob_get_contents();
+    ob_end_clean();
+    // find out the first occurence of "</tr" and throw the superfluos stuff in front of it away
+    $string = strchr($string, '</tr>');
+    $string = str_replace('</td>', '|', $string);
+    $string = str_replace('</tr>', $delimiter, $string);
+    $string = chop(strip_tags($string));
+    $pieces = explode($delimiter, $string);
+    foreach($pieces as $val) {
+        $bits = explode("|", $val);
+        if (strchr($bits[0], $search)) {
+            return $bits;
+        }
+    }
+}
+
+/**
+ * cpg_phpinfo_conf_output()
+ *
+ * @param $search
+ * @return
+ **/
+
+function cpg_phpinfo_conf_output($search)
+{
+$pieces = cpg_phpinfo_conf($search);
+        $return= $pieces[0] . ' | ' . $pieces[1] . ' | ' . $pieces[2];
+        return $return;
+}
+
+// theme and language selection
+
+
+/**
+ * languageSelect()
+ *
+ * @param $parameter
+ * @return
+ **/
+
+function languageSelect($parameter)
+{
+global $CONFIG,$lang_language_selection;
+$return= '';
+$lineBreak = "\n";
+
+//check if language display is enabled
+if ($CONFIG['language_list'] == 0 && $parameter == 'list'){
+    return;
+}
+if ($CONFIG['language_flags'] == 0 && $parameter == 'flags'){
+    return;
+}
+
+
+
+
+// get the current language
+ //use the default language of the gallery
+ $cpgCurrentLanguage = $CONFIG['lang'];
+
+ // is a user logged in?
+ //has the user already chosen another language for himself?
+ //if($USER['lang']!=""){
+ //   $cpgCurrentLanguage = $USER['lang'];
+ //   }
+ //has the language been set to something else on the previous page?
+ if (isset($_GET['lang'])){
+    $cpgCurrentLanguage = $_GET['lang'];
+    }
+ //get the url and all vars except $lang
+ $cpgChangeUrl = $_SERVER["SCRIPT_NAME"]."?";
+ foreach ($_GET as $key => $value) {
+    if ($key!="lang"){$cpgChangeUrl.= $key . "=" . $value . "&amp;";}
+ }
+ $cpgChangeUrl.= 'lang=';
+
+
+// get an array of english and native language names and flags
+// for now, use a static array definition here - this could later be made into a true database query
+$lang_language_data['albanian'] = array('Albanian','Albanian','al');
+$lang_language_data['arabic'] = array('Arabic','&#1575;&#1604;&#1593;&#1585;&#1576;&#1610;&#1577;','sa');
+$lang_language_data['basque'] = array('Basque','Euskera','baq');
+$lang_language_data['bosnian'] = array('Bosnian','Bosanski','ba');
+$lang_language_data['brazilian_portuguese'] = array('Portuguese [Brazilian]','Portugu&ecirc;s Brasileiro','br');
+$lang_language_data['bulgarian'] = array('Bulgarian','&#1041;&#1098;&#1083;&#1075;&#1072;&#1088;&#1089;&#1082;&#1080;','bg');
+$lang_language_data['catalan'] = array('Catalan','Catal&agrave;','ct');
+$lang_language_data['chinese_big5'] = array('Chinese traditional','&#20013;&#25991; - &#32321;&#39636;','tw');
+$lang_language_data['chinese_gb'] = array('Chinese simplified','&#20013;&#25991; - &#31616;&#20307;','cn');
+$lang_language_data['croatian'] = array('Croatian','Hrvatski','hr');
+$lang_language_data['czech'] = array('Czech','&#x010C;esky','cz');
+$lang_language_data['danish'] = array('Danish','Dansk','dk');
+$lang_language_data['dutch'] = array('Dutch','Nederlands','nl');
+$lang_language_data['english'] = array('English [US]','English [US]','us');
+$lang_language_data['english_gb'] = array('English [British]','English [British]','gb');
+$lang_language_data['estonian'] = array('Estonian','Eesti','ee');
+$lang_language_data['finnish'] = array('Finnish','Suomea','fi');
+$lang_language_data['french'] = array('French','Fran&ccedil;ais','fr');
+$lang_language_data['galician'] = array('Galician','Galego','es_gln');
+$lang_language_data['georgian'] = array('Georgian','&#4325;&#4304;&#4320;&#4311;&#4323;&#4314;&#4312;','ge');
+$lang_language_data['german'] = array('German','Deutsch','de');
+$lang_language_data['german_sie'] = array('German [formal]','Deutsch [Sie]','de');
+$lang_language_data['greek'] = array('Greek','&#917;&#955;&#955;&#951;&#957;&#953;&#954;&#940;','gr');
+$lang_language_data['hebrew'] = array('Hebrew','&#1506;&#1489;&#1512;&#1497;&#1514;','il');
+$lang_language_data['hindi'] = array('Hindi','&#2361;&#2367;&#2344;&#2381;&#2342;&#2368;','in');
+$lang_language_data['hungarian'] = array('Hungarian','Magyarul','hu');
+$lang_language_data['indonesian'] = array('Indonesian','Bahasa Indonesia','id');
+$lang_language_data['italian'] = array('Italian','Italiano','it');
+$lang_language_data['japanese'] = array('Japanese','&#26085;&#26412;&#35486;','jp');
+$lang_language_data['korean'] = array('Korean','&#54620;&#44397;&#50612;','kr');
+$lang_language_data['kurdish'] = array('Kurdish','&#1603;&#1608;&#1585;&#1583;&#1740;','ku');
+$lang_language_data['latvian'] = array('Latvian','Latvian','lv');
+$lang_language_data['lithuanian'] = array('Lithuanian','Lietuvi&#0353;kai','lt');
+$lang_language_data['macedonian'] = array('Macedonian','&#1052;&#1072;&#1082;&#1077;&#1076;&#1086;&#1085;&#1089;&#1082;&#1080;','mk');
+$lang_language_data['malay'] = array('Malay','Bahasa Melayu','my');
+$lang_language_data['norwegian'] = array('Norwegian','Norsk','no');
+$lang_language_data['persian'] = array('Persian','&#1601;&#1575;&#1585;&#1587;&#1740;','ir');//modified by B.Mossavari
+$lang_language_data['polish'] = array('Polish','Polski','pl');
+$lang_language_data['portuguese'] = array('Portuguese [Portugal]','Portugu&ecirc;s','pt');
+$lang_language_data['romanian'] = array('Romanian','Rom&acirc;n&atilde;','ro');
+$lang_language_data['russian'] = array('Russian','&#1056;&#1091;&#1089;&#1089;&#1082;&#1080;&#1081;','ru');
+$lang_language_data['serbian'] = array('Serbian [Latin]','Srpski','sr');
+$lang_language_data['serbian_cy'] = array('Serbian [Cyrillic]','&#1057;&#1088;&#1087;&#1089;&#1082;&#1080;','sr');
+$lang_language_data['slovak'] = array('Slovak','Slovensky','sk');
+$lang_language_data['slovenian'] = array('Slovenian','Slovensko','si');
+$lang_language_data['spanish'] = array('Spanish','Espa&ntilde;ol','es');
+$lang_language_data['swedish'] = array('Swedish','Svenska','se');
+$lang_language_data['thai'] = array('Thai','&#3652;&#3607;&#3618;','th');
+$lang_language_data['turkish'] = array('Turkish','T&uuml;rk&ccedil;e','tr');
+$lang_language_data['uighur'] = array('Uighur','Uighur','cn-xj');
+$lang_language_data['ukrainian'] = array('Ukrainian','&#1059;&#1082;&#1088;&#1072;&#1111;&#1085;&#1089;&#1100;&#1082;&#1072;','ua');
+$lang_language_data['vietnamese'] = array('Vietnamese','Tieng Viet','vn');
+$lang_language_data['welsh'] = array('Welsh','Cymraeg','gb-cm');
+
+// get list of available languages
+  $value = strtolower($CONFIG['lang']);
+
+  $lang_dir = 'lang/';
+  $dir = opendir($lang_dir);
+  while ($file = readdir($dir)) {
+     if ($file != '.' && $file != '..' && $file !='CVS') {
+         $lang_array[] = strtolower(substr($file, 0 , -4));
+     }
+  }
+  closedir($dir);
+  natcasesort($lang_array);
+
+//start the output
+switch ($parameter) {
+   case 'flags':
+       $return.= '<div id="cpgChooseFlags">';
+       if ($CONFIG['language_flags'] == 2){
+           $return.= $lang_language_selection['choose_language'].': ';
+       }
+       foreach ($lang_array as $language) {
+       $cpg_language_name = str_replace('-utf-8','', $language);
+              if (array_key_exists($cpg_language_name, $lang_language_data)){
+              $return.= $lineBreak .  '<a href="' .$cpgChangeUrl. $language . '" rel="nofollow"><img src="images/flags/' . $lang_language_data[$cpg_language_name][2] . '.gif" border="0" width="16" height="10" alt="" title="';
+              $return.= $lang_language_data[$language][0];
+              if ($lang_language_data[$language][1] != $lang_language_data[$language][0]){
+                  $return.= ' (' . $lang_language_data[$language][1] . ')';
+                  }
+              $return.= '" /></a>' . $lineBreak;
+              }
+              }
+          if ($CONFIG['language_reset'] == 1){
+              $return.=  '<a href="' .$cpgChangeUrl. 'xxx" rel="nofollow"><img src="images/flags/reset.gif" border="0" width="16" height="11" alt="" title="';
+              $return.=  $lang_language_selection['reset_language'] . '" /></a>' . $lineBreak;
+          }
+       $return.= '</div>';
+       break;
+   case 'table':
+       $return = 'not yet implemented';
+       break;
+   default:
+       $return.= $lineBreak . '<form name="cpgChooseLanguage" id="cpgChooseLanguage" action="' . $_SERVER['PHP_SELF'] . '" method="get" style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;display:inline">' . $lineBreak;
+       $return.= '<select name="cpgLanguageSelect" class="listbox_lang" onchange="if (this.options[this.selectedIndex].value) window.location.href=\'' . $cpgChangeUrl . '\' + this.options[this.selectedIndex].value;">' . $lineBreak;
+       $return.='<option selected="selected">' . $lang_language_selection['choose_language'] . '</option>' . $lineBreak;
+       foreach ($lang_array as $language) {
+          $return.=  '<option value="' . $language  . '" >';
+              if (array_key_exists($language, $lang_language_data)){
+              $return.= $lang_language_data[$language][0];
+              if ($lang_language_data[$language][1] != $lang_language_data[$language][0]){
+                  $return.= ' (' . $lang_language_data[$language][1] . ')';
+                  }
+              }
+              else{
+                  $return.= ucfirst($language);
+                  }
+              $return.= ($value == $language ? '*' : '');
+              $return.= '</option>' . $lineBreak;
+              }
+          if ($CONFIG['language_reset'] == 1){
+              $return.=  '<option value="xxx">' . $lang_language_selection['reset_language'] . '</option>' . $lineBreak;
+          }
+          $return.=  '</select>' . $lineBreak;
+          $return.=  '</form>' . $lineBreak;
+   }
+
+return $return;
+}
+
+
+/**
+ * themeSelect()
+ *
+ * @param $parameter
+ * @return
+ **/
+
+function themeSelect($parameter)
+{
+global $CONFIG,$lang_theme_selection;
+$return= '';
+$lineBreak = "\n";
+
+if ($CONFIG['theme_list'] == 0){
+    return;
+}
+
+// get the current theme
+//get the url and all vars except $theme
+$cpgCurrentTheme = $_SERVER["SCRIPT_NAME"]."?";
+foreach ($_GET as $key => $value) {
+    if ($key!="theme"){$cpgCurrentTheme.= $key . "=" . $value . "&amp;";}
+}
+$cpgCurrentTheme.="theme=";
+
+// get list of available languages
+    $value = $CONFIG['theme'];
+    $theme_dir = 'themes/';
+
+    $dir = opendir($theme_dir);
+    while ($file = readdir($dir)) {
+        if (is_dir($theme_dir . $file) && $file != "." && $file != ".." && $file != 'CVS' && $file != 'sample' && $file != '.svn') {
+            $theme_array[] = $file;
+        }
+    }
+    closedir($dir);
+
+    natcasesort($theme_array);
+
+//start the output
+switch ($parameter) {
+   case 'table':
+       $return = 'not yet implemented';
+       break;
+   default:
+       $return.= $lineBreak . '<form name="cpgChooseTheme" id="cpgChooseTheme" action="' . $_SERVER['PHP_SELF'] . '" method="get" style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;display:inline">' . $lineBreak;
+       $return.= '<select name="cpgThemeSelect" class="listbox_lang" onchange="if (this.options[this.selectedIndex].value) window.location.href=\'' . $cpgCurrentTheme . '\' + this.options[this.selectedIndex].value;">' . $lineBreak;
+       $return.='<option selected="selected">' . $lang_theme_selection['choose_theme'] . '</option>';
+       foreach ($theme_array as $theme) {
+           $return.= '<option value="' . $theme . '"'.($value == $theme ? '  selected="selected"' : '').'>' . strtr(ucfirst($theme), '_', ' ') . ($value == $theme ? '  *' : ''). '</option>' . $lineBreak;
+       }
+          if ($CONFIG['theme_reset'] == 1){
+              $return.=  '<option value="xxx">' . $lang_theme_selection['reset_theme'] . '</option>' . $lineBreak;
+          }
+          $return.=  '</select>' . $lineBreak;
+          $return.=  '</form>' . $lineBreak;
+   }
+
+return $return;
+}
+
+
+/**
+ * cpg_alert_dev_version()
+ *
+ * @return
+ **/
+
+function cpg_alert_dev_version() 
+{
+        global $lang_version_alert, $CONFIG;
+        $return = '';
+        if (COPPERMINE_VERSION_STATUS != 'stable') {
+            ob_start();
+            starttable('100%', $lang_version_alert['version_alert']);
+            print '<tr><td class="tableb">';
+            print sprintf($lang_version_alert['no_stable_version'], COPPERMINE_VERSION, COPPERMINE_VERSION_STATUS);
+            print '</td></tr>';
+            endtable();
+            print '<br />';
+            $return = ob_get_contents();
+            ob_end_clean();
+        }
+        // check if gallery is offline
+        if ($CONFIG['offline'] == 1 && GALLERY_ADMIN_MODE) {
+            $return .= '<span style="color:red;font-weight:bold">'.$lang_version_alert['gallery_offline'].'</span><br />&nbsp;<br />';
+        }
+        return $return;
+}
+
+/**
+ * cpg_display_help()
+ *
+ * @param string $reference
+ * @param string $width
+ * @param string $height
+ * @return
+ **/
+
+function cpg_display_help($reference = 'f=index.htm', $width = '600', $height = '350') 
+{
+    global $CONFIG, $USER;
+    if ($reference == '' || $CONFIG['enable_help'] == '0') {return; }
+    if ($CONFIG['enable_help'] == '2' && GALLERY_ADMIN_MODE == false) {return; }
+    $help_theme = $CONFIG['theme'];
+    if (isset($USER['theme'])) {
+        $help_theme = $USER['theme'];
+    }
+    // $help_html = "<a href=\"javascript:;\" onclick=\"MM_openBrWindow('docs/showdoc.php?css=" . $help_theme . "&amp;" . $reference . "','coppermine_help','scrollbars=yes,toolbar=no,status=no,resizable=yes,width=" . $width . ",height=" . $height . "')\" style=\"cursor:help\"><img src=\"images/help.gif\" width=\"13\" height=\"11\" border=\"0\" alt=\"\" title=\"\" /></a>";
+    $help_html = "<a href=\"javascript:;\" onclick=\"coppermine_help_window=window.open('docs/showdoc.php?css=" . $help_theme . "&amp;" . $reference . "','coppermine_help','scrollbars=yes,toolbar=no,status=no,resizable=yes,width=" . $width . ",height=" . $height . "'); coppermine_help_window.focus()\" style=\"cursor:help\"><img src=\"images/help.gif\" width=\"13\" height=\"11\" border=\"0\" alt=\"\" title=\"\" /></a>";
+    return $help_html;
+}
+
+/**
+* Multi-dim array sort, with ability to sort by two and more dimensions
+* Coded by Ichier2003, available at php.net
+* syntax:
+* $array = array_csort($array [, 'col1' [, SORT_FLAG [, SORT_FLAG]]]...);
+**/
+function array_csort() 
+{
+   $args = func_get_args();
+   $marray = array_shift($args);
+
+   $msortline = "return(array_multisort(";
+   foreach ($args as $arg) {
+       $i++;
+       if (is_string($arg)) {
+           foreach ($marray as $row) {
+               $sortarr[$i][] = $row[$arg];
+           }
+       } else {
+           $sortarr[$i] = $arg;
+       }
+       $msortline .= "\$sortarr[".$i."],";
+   }
+   $msortline .= "\$marray));";
+
+   eval($msortline);
+   return $marray;
+}
+
+function cpg_get_bridge_db_values() 
+{
+    global $CONFIG;
+    // Retrieve DB stored configuration
+    $results = cpg_db_query("SELECT * FROM {$CONFIG['TABLE_BRIDGE']}");
+    while ($row = mysql_fetch_array($results)) {
+        $BRIDGE[$row['name']] = $row['value'];
+    } // while
+    mysql_free_result($results);
+    return $BRIDGE;
+}
+
+function cpg_get_webroot_path() 
+{
+    //global $PHP_SELF;
+    // get the webroot folder out of a given PHP_SELF of any coppermine page
+
+    // what we have: we can say for sure where we are right now: $PHP_SELF (if the server doesn't even have it, there will be problems everywhere anyway)
+
+    // let's make those into an array:
+    $path_from_serverroot[] = $_SERVER["SCRIPT_FILENAME"];
+    if (isset($_SERVER["PATH_TRANSLATED"])) {
+       $path_from_serverroot[] = $_SERVER["PATH_TRANSLATED"];
+    }
+    //$path_from_serverroot[] = $HTTP_SERVER_VARS["SCRIPT_FILENAME"];
+    //$path_from_serverroot[] = $HTTP_SERVER_VARS["PATH_TRANSLATED"];
+
+    // we should be able to tell the current script's filename by removing everything before and including the last slash in $PHP_SELF
+    $filename = ltrim(strrchr($_SERVER['PHP_SELF'], '/'), '/');
+
+    // let's eliminate all those vars that don't contain the filename (and replace the funny notation from windows machines)
+    foreach($path_from_serverroot as $key) {
+        $key = str_replace('\\', '/', $key); // replace the windows notation
+        $key = str_replace('//', '/', $key); // replace duplicate forwardslashes
+        if(strstr($key, $filename) != FALSE) { // eliminate all that don't contain the filename
+            $path_from_serverroot2[] = $key;
+        }
+    }
+
+    // remove double entries in the array
+    $path_from_serverroot3 = array_unique($path_from_serverroot2);
+
+    // in the best of all worlds, the array is not empty
+    if (is_array($path_from_serverroot3)) {
+        $counter = 0;
+        foreach($path_from_serverroot3 as $key) {
+            // easiest possible solution: $PHP_SELF is contained in the array - if yes, we're lucky (in fact we could have done this before, but I was going to leave room for other checks to be inserted before this one)
+            if(strstr($key, $_SERVER['PHP_SELF']) != FALSE) { // eliminate all that don't contain $PHP_SELF
+                $path_from_serverroot4[] = $key;
+                $counter++;
+            }
+        }
+    } else {
+        // we're f***ed: the array is empty, there's no server var we could actually use
+        $return = '';
+    }
+
+    if ($counter == 1) { //we have only one entry left - we're happy
+        $return = $path_from_serverroot4[0];
+    } elseif ($counter == 0) { // we're f***ed: the array is empty, there's no server var we could actually use
+        $return = '';
+    } else { // there is more than one entry, and they differ. For now, let's use the first one. Maybe we could do some advanced checking later
+        $return = $path_from_serverroot4[0];
+    }
+
+    // strip the content from $PHP_SELF from the $return var and we should (hopefully) have the absolute path to the webroot
+    $return = str_replace($_SERVER['PHP_SELF'], '', $return);
+
+    // the return var should at least contain a slash - if it doesn't, add it (although this is more or less wishfull thinking)
+    if ($return == '') {
+        $return = '/';
+    }
+
+    return $return;
+}
+
+/**
+ * Function to get the search string if the picture is viewed from google, lycos or yahoo search engine
+ */
+
+function get_search_query_terms($engine = 'google')
+{
+  global $s, $s_array;
+  $referer = urldecode($_SERVER[HTTP_REFERER]);
+  $query_array = array();
+  switch ($engine) {
+    case 'google':
+      // Google query parsing code adapted from Dean Allen's
+      // Google Hilite 0.3. http://textism.com
+      $query_terms = preg_replace('/^.*q=([^&]+)&?.*$/i','$1', $referer);
+      $query_terms = preg_replace('/\'|"/', '', $query_terms);
+      $query_array = preg_split("/[\s,\+\.]+/", $query_terms);
+      break;
+
+    case 'lycos':
+      $query_terms = preg_replace('/^.*query=([^&]+)&?.*$/i','$1', $referer);
+      $query_terms = preg_replace('/\'|"/', '', $query_terms);
+      $query_array = preg_split("/[\s,\+\.]+/", $query_terms);
+      break;
+
+    case 'yahoo':
+      $query_terms = preg_replace('/^.*p=([^&]+)&?.*$/i','$1', $referer);
+      $query_terms = preg_replace('/\'|"/', '', $query_terms);
+      $query_array = preg_split("/[\s,\+\.]+/", $query_terms);
+      break;
+  }
+  return $query_array;
+}
+
+
+function is_referer_search_engine($engine = 'google') 
+{
+  //$siteurl = get_settings('home');
+  $referer = urldecode($_SERVER['HTTP_REFERER']);
+    //echo "referer is: $referer<br />";
+  if ( ! $engine ) {
+    return 0;
+  }
+
+  switch ($engine) {
+  case 'google':
+    if (preg_match('|^http://(www)?\.?google.*|i', $referer)) {
+      return 1;
+    }
+    break;
+
+    case 'lycos':
+    if (preg_match('|^http://search\.lycos.*|i', $referer)) {
+      return 1;
+    }
+    break;
+
+    case 'yahoo':
+    if (preg_match('|^http://search\.yahoo.*|i', $referer)) {
+      return 1;
+    }
+    break;
+  }
+  return 0;
+}
+
+/**
+ * cpg_get_custom_include()
+ *
+ * @param string $path
+ * @return
+ **/
+function cpg_get_custom_include($path = '')
+{
+    global $CONFIG;
+    $return = '';
+    // check if path is set in config
+    if ($path == '')
+    {
+        return $return;
+    }
+    // check if the include file exists
+    if (!file_exists($path))
+    {
+        return $return;
+    }
+    ob_start();
+    include($path);
+    $return = ob_get_contents();
+    ob_end_clean();
+    // crude sub-routine to remove the most basic "no-no" stuff from possible includes
+    // could need improvement
+    $return = str_replace('<html>', '', $return);
+    $return = str_replace('<head>', '', $return);
+    $return = str_replace('<body>', '', $return);
+    $return = str_replace('</html>', '', $return);
+    $return = str_replace('</head>', '', $return);
+    $return = str_replace('</body>', '', $return);
+    return $return;
+}
+
+/**
+ * filter_content()
+ *
+ * Replace strings that match badwords with tokens indicating it has been filtered.
+ *
+ * @param string or array $str
+ * @return string or array
+ **/
+function filter_content($str)
+{
+    global $lang_bad_words, $CONFIG, $ercp;
+    if ($CONFIG['filter_bad_words']) {
+        static $ercp=array();
+        if (!count($ercp)) foreach($lang_bad_words as $word) {
+            $ercp[] = '/' . ($word[0] == '*' ? '': '\b') . str_replace('*', '', $word) . ($word[(strlen($word)-1)] == '*' ? '': '\b') . '/i';
+        }
+        if (is_array($str)) {
+            $new_str=array();
+            foreach ($str as $key=>$element) {
+                $new_str[$key]=filter_content($element);
+            }
+            $str=$new_str;
+        } else {
+        $stripped_str = strip_tags($str);
+        $str = preg_replace($ercp, '(...)', $stripped_str);
+        }
+    }
+return $str;
+}
+
+/*function get_post_var($name, $default = '')
+{
+    return isset($_POST[$name]) ? $_POST[$name] : $default;
+}*/
+
+function utf_strtolower($str)
+{
+  if (!function_exists('mb_strtolower')) { require 'include/mb.inc.php'; }
+  return mb_strtolower($str);
+}
+function utf_substr($str, $start, $end=null)
+{
+  if (!function_exists('mb_substr')) { require 'include/mb.inc.php'; }
+  return mb_substr($str, $start, $end);
+}
+function utf_strlen($str)
+{
+  if (!function_exists('mb_strlen')) { require 'include/mb.inc.php'; }
+  return mb_strlen($str);
+}
+function utf_ucfirst($str)
+{
+  if (!function_exists('mb_strtoupper')) { require 'include/mb.inc.php'; }
+  return mb_strtoupper(mb_substr($str, 0, 1)).mb_substr($str, 1);
+}
+
+function replace_forbidden($str)
+{
+  static $forbidden_chars;
+  if (!is_array($forbidden_chars)) {
+    global $CONFIG, $mb_utf8_regex;
+    if (function_exists('html_entity_decode')) {
+      $chars = html_entity_decode($CONFIG['forbiden_fname_char'], ENT_QUOTES, 'UTF-8');
+    } else {
+      $chars = str_replace(array('&amp;', '&quot;', '&lt;', '&gt;', '&nbsp;', '&#39;'), array('&', '"', '<', '>', ' ', "'"), $CONFIG['forbiden_fname_char']);
+    }
+    preg_match_all("#$mb_utf8_regex".'|[\x00-\x7F]#', $chars, $forbidden_chars);
+  }
+  /**
+   * $str may also come from $_POST, in this case, all &, ", etc will get replaced with entities.
+   * Replace them back to normal chars so that the str_replace below can work.
+   */
+  $str = str_replace(array('&amp;', '&quot;', '&lt;', '&gt;'), array('&', '"', '<', '>'), $str);
+  $return = str_replace($forbidden_chars[0], '_', $str);
+
+  /**
+  * Fix the obscure, misdocumented "feature" in Apache that causes the server
+  * to process the last "valid" extension in the filename (rar exploit): replace all
+  * dots in the filename except the last one with an underscore.
+  */
+  // This could be concatenated into a more efficient string later, keeping it in three
+  // lines for better readability for now.
+  $extension = ltrim(substr($return,strrpos($return,'.')),'.');
+  $filenameWithoutExtension = str_replace('.' . $extension, '', $return);
+  $return = str_replace('.', '_', $filenameWithoutExtension) . '.' . $extension;
+
+  return $return;
+}
+
+/**
+ * resetDetailHits()
+ *
+ * Reset the detailed hits stored in hit_stats table for the given pid
+ *
+ * @param int or array $pid
+ **/
+function resetDetailHits($pid)
+{
+  global $CONFIG;
+
+  if (is_array($pid)) {
+    if (!count($pid)) {
+      return;
+    } else {
+      $clause = "pid IN (".implode(',', $pid).")";
+    }
+  } else {
+    $clause = "pid = '$pid'";
+  }
+
+  $query = "DELETE FROM {$CONFIG['TABLE_HIT_STATS']} WHERE $clause";
+  cpg_db_query($query);
+}
+
+/**
+ * resetDetailVotes()
+ *
+ * Reset the detailed votes stored in vote_stats table for the given pid
+ *
+ * @param int or array $pid
+ **/
+function resetDetailVotes($pid)
+{
+  global $CONFIG;
+
+  if (is_array($pid)) {
+    if (!count($pid)) {
+      return;
+    } else {
+      $clause = "pid IN (".implode(',', $pid).")";
+    }
+  } else {
+    $clause = "pid = '$pid'";
+  }
+
+  $query = "DELETE FROM {$CONFIG['TABLE_VOTE_STATS']} WHERE $clause";
+  cpg_db_query($query);
+}
+
+/******************
+/**
+ * cpg_determine_client()
+ * Backported from cpg1.5.x
+ *
+ * @param
+ * @return $return_array
+ **/
+function cpg_determine_client()
+{
+    /**
+     * Populate the client stats
+     */
+
+    // Get the details of user browser, IP, OS, etc
+    $server_agent = $_SERVER["HTTP_USER_AGENT"];
+
+    $os = 'Unknown';
+    if (preg_match('#Ubuntu#i', $server_agent)) {
+        $os = 'Linux Ubuntu';
+    } elseif (preg_match('#Debian#i', $server_agent)) {
+        $os = 'Linux Debian';
+    } elseif (preg_match('#CentOS#i', $server_agent)) {
+        $os = 'Linux CentOS';
+    } elseif (preg_match('#Fedora#i', $server_agent)) {
+        $os = 'Linux Fedora';
+    } elseif (preg_match('#Mandrake#i', $server_agent)) {
+        $os = 'Linux Mandrake';
+    } elseif (preg_match('#RedHat#i', $server_agent)) {
+        $os = 'Linux RedHat';
+    } elseif (preg_match('#Suse#i', $server_agent)) {
+        $os = 'Linux Suse';
+    } elseif (preg_match('#Linux#i', $server_agent)) {
+        $os = 'Linux';
+    } elseif (preg_match('#Windows NT 5.0#i', $server_agent)) {
+        $os = 'Windows 2000';
+    } elseif (preg_match('#win98|Windows 98#i', $server_agent)) {
+        $os = 'Windows 98';
+    } elseif (preg_match('#Windows NT 5\.1#i', $server_agent)) {
+        $os = 'Windows XP';
+    } elseif (preg_match('#Windows NT 5\.2#i', $server_agent)) {
+        $os = 'Windows 2003 Server';
+    } elseif (preg_match('#Windows NT 6\.0#i', $server_agent)) {
+        $os = 'Windows Vista';
+    } elseif (preg_match('#Windows CE#i', $server_agent)) {
+        $os = 'Windows CE';
+    } elseif (preg_match('#Windows#i', $server_agent)) {
+        $os = 'Windows';
+    } elseif (preg_match('#SunOS#i', $server_agent)) {
+        $os = 'Sun OS';
+    } elseif (preg_match('#Macintosh#i', $server_agent)) {
+        $os = 'Macintosh';
+    } elseif (preg_match('#Mac_PowerPC#i', $server_agent)) {
+        $os = 'Mac OS';
+    } elseif (preg_match('#Mac_PPC#i', $server_agent)) {
+        $os = 'Macintosh';
+    } elseif (preg_match('#OS/2#i', $server_agent)) {
+        $os = 'OS/2';
+    } elseif (preg_match('#aix#i', $server_agent)) {
+        $os = 'aix';
+    } elseif (preg_match('#FreeBSD#i', $server_agent)) {
+        $os = 'BSD FreeBSD';
+    } elseif (preg_match('#Unix#i', $server_agent)) {
+        $os = 'Unix';
+    } elseif (preg_match('#iphone#i', $server_agent)) {
+        $os = 'iPhone';
+    }
+
+    $browser = 'Unknown';
+    if (preg_match('#MSIE#i', $server_agent)) {
+        if (preg_match('#MSIE 8\.0#i', $server_agent)) {
+            $browser = 'IE8';
+        } elseif (preg_match('#MSIE 7\.0#i', $server_agent)) {
+            $browser = 'IE7';
+        } elseif (preg_match('#MSIE 6\.0#i', $server_agent)) {
+            $browser = 'IE6';
+        } elseif (preg_match('#MSIE 5\.5#i', $server_agent)) {
+            $browser = 'IE5.5';
+        } elseif (preg_match('#MSIE 5\.0#i', $server_agent)) {
+            $browser = 'IE5.0';
+        } elseif (preg_match('#MSIE 4\.0#i', $server_agent)) {
+            $browser = 'IE4';
+        } elseif (preg_match('#MSIE 3\.0#i', $server_agent)) {
+            $browser = 'IE3';
+        } else {
+            $browser = 'IE';
+        }
+    } elseif (preg_match('#Epiphany#i', $server_agent)) {
+        $browser = 'Epiphany';
+    } elseif (preg_match('#Phoenix#i', $server_agent)) {
+        $browser = 'Phoenix';
+    } elseif (preg_match('#Firebird#i', $server_agent)) {
+        $browser = 'Mozilla Firebird';
+    } elseif (preg_match('#NetSurf#i', $server_agent)) {
+        $browser = 'NetSurf';
+    } elseif (preg_match('#netscape#i', $server_agent)) {
+        $browser = 'Netscape';
+    } elseif (preg_match('#Chrome#i', $server_agent)) {
+        $browser = 'Chrome';
+    } elseif (preg_match('#Firefox#i', $server_agent)) {
+        $browser = 'Firefox';
+    } elseif (preg_match('#Galeon#i', $server_agent)) {
+        $browser = 'Galeon';
+    } elseif (preg_match('#Camino#i', $server_agent)) {
+        $browser = 'Camino';
+    } elseif (preg_match('#Konqueror#i', $server_agent)) {
+        $browser = 'Konqueror';
+    } elseif (preg_match('#Safari#i', $server_agent)) {
+        $browser = 'Safari';
+    } elseif (preg_match('#OmniWeb#i', $server_agent)) {
+        $browser = 'OmniWeb';
+    } elseif (preg_match('#Opera#i', $server_agent)) {
+        $browser = 'Opera';
+    } elseif (preg_match('#HTTrack#i', $server_agent)) {
+        $browser = 'HTTrack';
+    } elseif (preg_match('#OffByOne#i', $server_agent)) {
+        $browser = 'Off By One';
+    } elseif (preg_match('#amaya#i', $server_agent)) {
+        $browser = 'Amaya';
+    } elseif (preg_match('#iCab#i', $server_agent)) {
+        $browser = 'iCab';
+    } elseif (preg_match('#Lynx#i', $server_agent)) {
+        $browser = 'Lynx';
+    } elseif (preg_match('#Googlebot#i', $server_agent)) {
+        $browser = 'Googlebot';
+    } elseif (preg_match('#Lycos_Spider#i', $server_agent)) {
+        $browser = 'Lycos Spider';
+    } elseif (preg_match('#Firefly#i', $server_agent)) {
+        $browser = 'Fireball Spider';
+    } elseif (preg_match('#Advanced Browser#i', $server_agent)) {
+        $browser = 'Avant';
+    } elseif (preg_match('#Amiga-AWeb#i', $server_agent)) {
+        $browser = 'AWeb';
+    } elseif (preg_match('#Cyberdog#i', $server_agent)) {
+        $browser = 'Cyberdog';
+    } elseif (preg_match('#Dillo#i', $server_agent)) {
+        $browser = 'Dillo';
+    } elseif (preg_match('#DreamPassport#i', $server_agent)) {
+        $browser = 'DreamCast';
+    } elseif (preg_match('#eCatch#i', $server_agent)) {
+        $browser = 'eCatch';
+    } elseif (preg_match('#ANTFresco#i', $server_agent)) {
+        $browser = 'Fresco';
+    } elseif (preg_match('#RSS#i', $server_agent)) {
+        $browser = 'RSS';
+    } elseif (preg_match('#Avant#i', $server_agent)) {
+        $browser = 'Avant';
+    } elseif (preg_match('#HotJava#i', $server_agent)) {
+        $browser = 'HotJava';
+    } elseif (preg_match('#W3C-checklink|W3C_Validator|Jigsaw#i', $server_agent)) {
+        $browser = 'W3C';
+    } elseif (preg_match('#K-Meleon#i', $server_agent)) {
+        $browser = 'K-Meleon';
+    }
+
+    $return_array = array(
+        'os' => $os,
+        'browser' => $browser,
+    );
+
+    return $return_array;
+}
 ?>
\ No newline at end of file
diff -x .svn -aruN 1.4.24.src/include/imageObjectGD.class.php 1.4.25.src/include/imageObjectGD.class.php
--- 1.4.24.src/include/imageObjectGD.class.php	2009-05-21 15:03:09.000000000 -0500
+++ 1.4.25.src/include/imageObjectGD.class.php	2009-05-26 11:25:44.000000000 -0500
@@ -1,172 +1,172 @@
-<?php
-/*************************
-  Coppermine Photo Gallery
-  ************************
-  Copyright (c) 2003-2009 Coppermine Dev Team
-  v1.1 originally written by Gregory DEMAR
-
-  This program is free software; you can redistribute it and/or modify
-  it under the terms of the GNU General Public License version 3
-  as published by the Free Software Foundation.
-  
-  ********************************************
-  Coppermine version: 1.4.24
-  $HeadURL: https://coppermine.svn.sourceforge.net/svnroot/coppermine/trunk/cpg1.4.x/include/imageObjectGD.class.php $
-  $Revision: 5969 $
-  $Author: gaugau $
-  $Date: 2009-05-21 22:03:33 +0200 (Do, 21 Mai 2009) $
-**********************************************/
-
-class imageObject{
-
-         // image resource
-         var $imgRes;
-         // px
-         var $height=0;
-         var $width=0;
-         // for img height/width tags
-         var $string;
-         // output report or error message
-         var $message;
-         // file + dir
-         var $directory;
-         var $filename;
-         // output quality, 0 - 100
-         var $quality;
-         // truecolor available, boolean
-         var $truecolor;
-
-         //constructor
-         function imageObject($directory,$filename,$previous=null)
-        {
-        $this->directory = $directory;
-        $this->filename = $filename;
-        $this->previous = $previous;
-        $this->imgRes = $previous->imgRes;
-        if (file_exists($directory.$filename)){
-                        $this->filesize = round(filesize($directory.$filename)/1000);
-                        if($this->filesize>0){
-                                $size = @GetImageSize($directory.$filename);
-                                if ($size && !$this->imgRes) {
-                                        $this->imgRes = $this->getimgRes($directory.$filename,$size[2]);
-                                }
-                                if (function_exists("imagecreatetruecolor")){
-                                        $this->truecolor = true;
-                                }
-                                $this->width = $size[0];
-                                $this->height = $size[1];
-                                $this->string = $size[3];
-                                }
-                        }// if
-        }// constructor
-
-         // private methods
-         function getimgRes($name,&$type)
-         {
-           switch ($type){
-              case 1:
-              $im = imagecreatefromgif($name);
-              break;
-              case 2:
-              $im = imagecreatefromjpeg($name);
-              break;
-              case 3:
-              $im = imagecreatefrompng($name);
-              break;
-                      }
-           return $im;
-         }
-
-
-         function createUnique(&$imgnew)
-         {
-           srand((double)microtime()*100000);
-           $unique_str = "temp_".md5(rand(0,999999)).".jpg";
-           @imagejpeg($imgnew,$this->directory.$unique_str,$this->quality);
-           @imagedestroy($this->imgRes);
-           //Don't clutter with old images
-           @unlink($this->directory.$this->filename);
-           //Create a new ImageObject
-           return new imageObject($this->directory,$unique_str,$imgnew);
-         }
-
-         function createImage($new_w,$new_h)
-         {
-           if (function_exists("imagecreatetruecolor")){
-             $retval = @imagecreatetruecolor($new_w,$new_h);
-           }
-           if (!$retval) $retval = imagecreate($new_w,$new_h);
-           return $retval;
-         }
-
-         function cropImage(&$clipval)
-         {
-             $cliparray = split(",",$clipval);
-             $clip_top = $cliparray[0];
-             $clip_right = $cliparray[1];
-             $clip_bottom = $cliparray[2];
-             $clip_left = $cliparray[3];
-
-             $new_w = $clip_right - $clip_left;
-             $new_h = $clip_bottom - $clip_top;
-
-             $dst_img = $this->createImage($new_w,$new_h);
-
-             $result = @imagecopyresampled($dst_img, $this->imgRes, 0,0,$clip_left, $clip_top,$new_w, $new_h, $new_w, $new_h);
-             if (!$result) $result = @imagecopyresized($dst_img, $this->imgRes, 0,0,$clip_left, $clip_top,$new_w, $new_h, $new_w, $new_h);
-
-             return $this->createUnique($dst_img);
-
-         }
-
-         function rotateImage($angle){
-
-          if ($angle == 180){
-              $dst_img = @imagerotate($this->imgRes, $angle, 0);
-          }else{
-                  $width = imagesx($this->imgRes);
-                  $height = imagesy($this->imgRes);
-                  if ($width > $height){
-                      $size = $width;
-                      }else{
-                      $size = $height;
-                  }
-
-                  $dst_img = $this->createImage($size, $size);
-                  imagecopy($dst_img, $this->imgRes, 0, 0, 0, 0, $width, $height);
-                  $dst_img = @imagerotate($dst_img, $angle, 0);
-                  $this->imgRes = $dst_img;
-                  $dst_img = $this->createImage($height, $width);
-
-                  if ((($angle == 90) && ($width > $height)) || (($angle == 270) && ($width < $height))){
-                          imagecopy($dst_img, $this->imgRes, 0, 0, 0, 0, $size, $size);
-
-                  }
-
-                  if ((($angle == 270) && ($width > $height)) || (($angle == 90) && ($width < $height))){
-                          imagecopy($dst_img, $this->imgRes, 0, 0, $size - $height, $size - $width, $size, $size);
-                  }
-          }
-
-           return $this->createUnique($dst_img);
-         }
-
-
-
-         function resizeImage($new_w=0,$new_h=0){
-
-             $dst_img = $this->createImage($new_w,$new_h);
-
-             $result = @imagecopyresampled($dst_img, $this->imgRes, 0, 0, 0, 0, $new_w, $new_h, $this->width,$this->height);
-             if (!$result) $result = @imagecopyresized($dst_img, $this->imgRes, 0, 0, 0, 0, $new_w, $new_h, $this->width,$this->height);
-             return $this->createUnique($dst_img);
-
-         }
-
-
-         function saveImage(){
-
-         }
-
-   }
- ?>
+<?php
+/*************************
+  Coppermine Photo Gallery
+  ************************
+  Copyright (c) 2003-2009 Coppermine Dev Team
+  v1.1 originally written by Gregory DEMAR
+
+  This program is free software; you can redistribute it and/or modify
+  it under the terms of the GNU General Public License version 3
+  as published by the Free Software Foundation.
+  
+  ********************************************
+  Coppermine version: 1.4.25
+  $HeadURL: https://coppermine.svn.sourceforge.net/svnroot/coppermine/trunk/cpg1.4.x/include/imageObjectGD.class.php $
+  $Revision: 5997 $
+  $Author: gaugau $
+  $Date: 2009-05-26 08:43:24 +0200 (Di, 26 Mai 2009) $
+**********************************************/
+
+class imageObject{
+
+         // image resource
+         var $imgRes;
+         // px
+         var $height=0;
+         var $width=0;
+         // for img height/width tags
+         var $string;
+         // output report or error message
+         var $message;
+         // file + dir
+         var $directory;
+         var $filename;
+         // output quality, 0 - 100
+         var $quality;
+         // truecolor available, boolean
+         var $truecolor;
+
+         //constructor
+         function imageObject($directory,$filename,$previous=null)
+        {
+        $this->directory = $directory;
+        $this->filename = $filename;
+        $this->previous = $previous;
+        $this->imgRes = $previous->imgRes;
+        if (file_exists($directory.$filename)){
+                        $this->filesize = round(filesize($directory.$filename)/1000);
+                        if($this->filesize>0){
+                                $size = @GetImageSize($directory.$filename);
+                                if ($size && !$this->imgRes) {
+                                        $this->imgRes = $this->getimgRes($directory.$filename,$size[2]);
+                                }
+                                if (function_exists("imagecreatetruecolor")){
+                                        $this->truecolor = true;
+                                }
+                                $this->width = $size[0];
+                                $this->height = $size[1];
+                                $this->string = $size[3];
+                                }
+                        }// if
+        }// constructor
+
+         // private methods
+         function getimgRes($name,&$type)
+         {
+           switch ($type){
+              case 1:
+              $im = imagecreatefromgif($name);
+              break;
+              case 2:
+              $im = imagecreatefromjpeg($name);
+              break;
+              case 3:
+              $im = imagecreatefrompng($name);
+              break;
+                      }
+           return $im;
+         }
+
+
+         function createUnique(&$imgnew)
+         {
+           srand((double)microtime()*100000);
+           $unique_str = "temp_".md5(rand(0,999999)).".jpg";
+           @imagejpeg($imgnew,$this->directory.$unique_str,$this->quality);
+           @imagedestroy($this->imgRes);
+           //Don't clutter with old images
+           @unlink($this->directory.$this->filename);
+           //Create a new ImageObject
+           return new imageObject($this->directory,$unique_str,$imgnew);
+         }
+
+         function createImage($new_w,$new_h)
+         {
+           if (function_exists("imagecreatetruecolor")){
+             $retval = @imagecreatetruecolor($new_w,$new_h);
+           }
+           if (!$retval) $retval = imagecreate($new_w,$new_h);
+           return $retval;
+         }
+
+         function cropImage(&$clipval)
+         {
+             $cliparray = split(",",$clipval);
+             $clip_top = $cliparray[0];
+             $clip_right = $cliparray[1];
+             $clip_bottom = $cliparray[2];
+             $clip_left = $cliparray[3];
+
+             $new_w = $clip_right - $clip_left;
+             $new_h = $clip_bottom - $clip_top;
+
+             $dst_img = $this->createImage($new_w,$new_h);
+
+             $result = @imagecopyresampled($dst_img, $this->imgRes, 0,0,$clip_left, $clip_top,$new_w, $new_h, $new_w, $new_h);
+             if (!$result) $result = @imagecopyresized($dst_img, $this->imgRes, 0,0,$clip_left, $clip_top,$new_w, $new_h, $new_w, $new_h);
+
+             return $this->createUnique($dst_img);
+
+         }
+
+         function rotateImage($angle){
+
+          if ($angle == 180){
+              $dst_img = @imagerotate($this->imgRes, $angle, 0);
+          }else{
+                  $width = imagesx($this->imgRes);
+                  $height = imagesy($this->imgRes);
+                  if ($width > $height){
+                      $size = $width;
+                      }else{
+                      $size = $height;
+                  }
+
+                  $dst_img = $this->createImage($size, $size);
+                  imagecopy($dst_img, $this->imgRes, 0, 0, 0, 0, $width, $height);
+                  $dst_img = @imagerotate($dst_img, $angle, 0);
+                  $this->imgRes = $dst_img;
+                  $dst_img = $this->createImage($height, $width);
+
+                  if ((($angle == 90) && ($width > $height)) || (($angle == 270) && ($width < $height))){
+                          imagecopy($dst_img, $this->imgRes, 0, 0, 0, 0, $size, $size);
+
+                  }
+
+                  if ((($angle == 270) && ($width > $height)) || (($angle == 90) && ($width < $height))){
+                          imagecopy($dst_img, $this->imgRes, 0, 0, $size - $height, $size - $width, $size, $size);
+                  }
+          }
+
+           return $this->createUnique($dst_img);
+         }
+
+
+
+         function resizeImage($new_w=0,$new_h=0){
+
+             $dst_img = $this->createImage($new_w,$new_h);
+
+             $result = @imagecopyresampled($dst_img, $this->imgRes, 0, 0, 0, 0, $new_w, $new_h, $this->width,$this->height);
+             if (!$result) $result = @imagecopyresized($dst_img, $this->imgRes, 0, 0, 0, 0, $new_w, $new_h, $this->width,$this->height);
+             return $this->createUnique($dst_img);
+
+         }
+
+
+         function saveImage(){
+
+         }
+
+   }
+ ?>
diff -x .svn -aruN 1.4.24.src/include/imageObjectIM.class.php 1.4.25.src/include/imageObjectIM.class.php
--- 1.4.24.src/include/imageObjectIM.class.php	2009-05-21 15:03:09.000000000 -0500
+++ 1.4.25.src/include/imageObjectIM.class.php	2009-05-26 11:25:42.000000000 -0500
@@ -1,166 +1,166 @@
-<?php
-/*************************
-  Coppermine Photo Gallery
-  ************************
-  Copyright (c) 2003-2009 Coppermine Dev Team
-  v1.1 originally written by Gregory DEMAR
-
-  This program is free software; you can redistribute it and/or modify
-  it under the terms of the GNU General Public License version 3
-  as published by the Free Software Foundation.
-
-  ********************************************
-  Coppermine version: 1.4.24
-  $HeadURL: https://coppermine.svn.sourceforge.net/svnroot/coppermine/trunk/cpg1.4.x/include/imageObjectIM.class.php $
-  $Revision: 5969 $
-  $Author: gaugau $
-  $Date: 2009-05-21 22:03:33 +0200 (Do, 21 Mai 2009) $
-**********************************************/
-
-class imageObject{
-
-         // image resource
-         var $imgRes;
-         // px
-         var $height=0;
-         var $width=0;
-         // for img height/width tags
-         var $string;
-         // output report or error message
-         var $message;
-         // file + dir
-         var $directory;
-         var $filename;
-         // output quality, 0 - 100
-         var $quality;
-
-         //constructor
-         function imageObject($directory,$filename,$previous=null)
-        {
-        $this->directory = $directory;
-        $this->filename = $filename;
-        $this->previous = $previous;
-        $this->truecolor = true;
-
-        if (file_exists($directory.$filename)){
-                        $this->filesize = round(filesize($directory.$filename)/1000);
-                        if($this->filesize>0){
-                                $size = @GetImageSize($directory.$filename);
-                                // For IM we don't need an Image Resource (work directly on file :)
-                                if ($size && !$this->imgRes) {
-                                        $this->imgRes = true;
-                                }
-
-                                $this->width = $size[0];
-                                $this->height = $size[1];
-                                $this->string = $size[3];
-                                }
-                        }// if
-        }// constructor
-
-         function cropImage(&$clipval)
-         {
-             global $CONFIG;
-                                 $cliparray = split(",",$clipval);
-             $clip_top = $cliparray[0];
-             $clip_right = $cliparray[1];
-             $clip_bottom = $cliparray[2];
-             $clip_left = $cliparray[3];
-
-             $new_w = $clip_right - $clip_left;
-             $new_h = $clip_bottom - $clip_top;
-
-
-             $imgFile = escapeshellarg("$this->directory$this->filename");
-
-
-             $output = array();
-
-            /*
-            * Hack for working with ImageMagick on WIndows even if IM is installed in C:\Program Files.
-            * Also the options for -crop should not have space in between them.
-            * By Aditya Mooley <aditya@sanisoft.com>
-            */
-            if (eregi("win",getenv('OS'))) {
-                $imgFile = str_replace("'","\"" ,$imgFile );
-                $cmd = "\"".str_replace("\\","/", $CONFIG['impath'])."convert\" -quality {$this->quality} {$CONFIG['im_options']} -crop {$new_w}x{$new_h}+{$clip_left}+{$clip_top} ".str_replace("\\","/" ,$imgFile )." ".str_replace("\\","/" ,$imgFile );
-                exec ("\"$cmd\"", $output, $retval);
-            } else {
-                $cmd = "{$CONFIG['impath']}convert -quality {$this->quality} {$CONFIG['im_options']} -crop {$new_w}x{$new_h}+{$clip_left}+{$clip_top} $imgFile $imgFile";
-                exec ($cmd, $output, $retval);
-            }
-                //$cmd = "{$CONFIG['impath']}convert -quality {$this->quality} {$CONFIG['im_options']} -crop '{$new_w}x{$new_h} +{$clip_left} +{$clip_top}' $imgFile $imgFile";
-             //exec ($cmd, $output, $retval);
-
-             //To Do check for errors in execution etc
-
-             // Call the constructor again to repopulate the dimensions etc
-             $this->imageObject($this->directory,$this->filename);
-
-             return $this;
-
-         }
-
-         function rotateImage($angle){
-
-             global $CONFIG;
-
-             $imgFile = escapeshellarg("$this->directory$this->filename");
-
-             $output = array();
-
-           /*
-            * Hack for working with ImageMagick on WIndows even if IM is installed in C:\Program Files.
-            * By Aditya Mooley <aditya@sanisoft.com>
-            */
-
-            if (eregi("win",getenv('OS'))) {
-                $imgFile = str_replace("'","\"" ,$imgFile );
-                $cmd = "\"".str_replace("\\","/", $CONFIG['impath'])."convert\" -quality {$this->quality} {$CONFIG['im_options']} -rotate $angle ".str_replace("\\","/" ,$imgFile )." ".str_replace("\\","/" ,$imgFile );
-                exec ("\"$cmd\"", $output, $retval);
-            } else {
-                $cmd = "{$CONFIG['impath']}convert -quality {$this->quality} {$CONFIG['im_options']} -rotate $angle $imgFile $imgFile";
-                exec ($cmd, $output, $retval);
-            }
-             //$cmd = "{$CONFIG['impath']}convert -quality {$this->quality} {$CONFIG['im_options']} -rotate '$angle' $imgFile $imgFile";
-             //exec ($cmd, $output, $retval);
-
-             //To Do check for errors in execution etc
-
-             // Call the constructor again to repopulate the dimensions etc
-             $this->imageObject($this->directory,$this->filename);
-             return $this;
-         }
-
-         function resizeImage($new_w=0,$new_h=0){
-
-             global $CONFIG;
-
-             $imgFile = escapeshellarg("$this->directory$this->filename");
-
-             $output = array();
-
-           /*
-            * Hack for working with ImageMagick on WIndows even if IM is installed in C:\Program Files.
-            * By Aditya Mooley <aditya@sanisoft.com>
-            */
-            if (eregi("win",getenv('OS'))) {
-                $imgFile = str_replace("'","\"" ,$imgFile );
-                $cmd = "\"".str_replace("\\","/", $CONFIG['impath'])."convert\" -quality {$this->quality} {$CONFIG['im_options']} -geometry {$new_w}x{$new_h} ".str_replace("\\","/" ,$imgFile )." ".str_replace("\\","/" ,$imgFile );
-                exec ("\"$cmd\"", $output, $retval);
-            } else {
-                $cmd = "{$CONFIG['impath']}convert -quality {$this->quality} {$CONFIG['im_options']} -geometry {$new_w}x{$new_h} $imgFile $imgFile";
-                exec ($cmd, $output, $retval);
-            }
-
-            //$cmd = "{$CONFIG['impath']}convert -quality {$this->quality} {$CONFIG['im_options']} -geometry '{$new_w}x{$new_h}' $imgFile $imgFile";
-            //exec ($cmd, $output, $retval);
-
-             //To Do check for errors in execution etc
-
-             // Call the constructor again to repopulate the dimensions etc
-             $this->imageObject($this->directory,$this->filename);
-             return $this;
-         }
-   }
- ?>
+<?php
+/*************************
+  Coppermine Photo Gallery
+  ************************
+  Copyright (c) 2003-2009 Coppermine Dev Team
+  v1.1 originally written by Gregory DEMAR
+
+  This program is free software; you can redistribute it and/or modify
+  it under the terms of the GNU General Public License version 3
+  as published by the Free Software Foundation.
+
+  ********************************************
+  Coppermine version: 1.4.25
+  $HeadURL: https://coppermine.svn.sourceforge.net/svnroot/coppermine/trunk/cpg1.4.x/include/imageObjectIM.class.php $
+  $Revision: 5997 $
+  $Author: gaugau $
+  $Date: 2009-05-26 08:43:24 +0200 (Di, 26 Mai 2009) $
+**********************************************/
+
+class imageObject{
+
+         // image resource
+         var $imgRes;
+         // px
+         var $height=0;
+         var $width=0;
+         // for img height/width tags
+         var $string;
+         // output report or error message
+         var $message;
+         // file + dir
+         var $directory;
+         var $filename;
+         // output quality, 0 - 100
+         var $quality;
+
+         //constructor
+         function imageObject($directory,$filename,$previous=null)
+        {
+        $this->directory = $directory;
+        $this->filename = $filename;
+        $this->previous = $previous;
+        $this->truecolor = true;
+
+        if (file_exists($directory.$filename)){
+                        $this->filesize = round(filesize($directory.$filename)/1000);
+                        if($this->filesize>0){
+                                $size = @GetImageSize($directory.$filename);
+                                // For IM we don't need an Image Resource (work directly on file :)
+                                if ($size && !$this->imgRes) {
+                                        $this->imgRes = true;
+                                }
+
+                                $this->width = $size[0];
+                                $this->height = $size[1];
+                                $this->string = $size[3];
+                                }
+                        }// if
+        }// constructor
+
+         function cropImage(&$clipval)
+         {
+             global $CONFIG;
+                                 $cliparray = split(",",$clipval);
+             $clip_top = $cliparray[0];
+             $clip_right = $cliparray[1];
+             $clip_bottom = $cliparray[2];
+             $clip_left = $cliparray[3];
+
+             $new_w = $clip_right - $clip_left;
+             $new_h = $clip_bottom - $clip_top;
+
+
+             $imgFile = escapeshellarg("$this->directory$this->filename");
+
+
+             $output = array();
+
+            /*
+            * Hack for working with ImageMagick on WIndows even if IM is installed in C:\Program Files.
+            * Also the options for -crop should not have space in between them.
+            * By Aditya Mooley <aditya@sanisoft.com>
+            */
+            if (eregi("win",getenv('OS'))) {
+                $imgFile = str_replace("'","\"" ,$imgFile );
+                $cmd = "\"".str_replace("\\","/", $CONFIG['impath'])."convert\" -quality {$this->quality} {$CONFIG['im_options']} -crop {$new_w}x{$new_h}+{$clip_left}+{$clip_top} ".str_replace("\\","/" ,$imgFile )." ".str_replace("\\","/" ,$imgFile );
+                exec ("\"$cmd\"", $output, $retval);
+            } else {
+                $cmd = "{$CONFIG['impath']}convert -quality {$this->quality} {$CONFIG['im_options']} -crop {$new_w}x{$new_h}+{$clip_left}+{$clip_top} $imgFile $imgFile";
+                exec ($cmd, $output, $retval);
+            }
+                //$cmd = "{$CONFIG['impath']}convert -quality {$this->quality} {$CONFIG['im_options']} -crop '{$new_w}x{$new_h} +{$clip_left} +{$clip_top}' $imgFile $imgFile";
+             //exec ($cmd, $output, $retval);
+
+             //To Do check for errors in execution etc
+
+             // Call the constructor again to repopulate the dimensions etc
+             $this->imageObject($this->directory,$this->filename);
+
+             return $this;
+
+         }
+
+         function rotateImage($angle){
+
+             global $CONFIG;
+
+             $imgFile = escapeshellarg("$this->directory$this->filename");
+
+             $output = array();
+
+           /*
+            * Hack for working with ImageMagick on WIndows even if IM is installed in C:\Program Files.
+            * By Aditya Mooley <aditya@sanisoft.com>
+            */
+
+            if (eregi("win",getenv('OS'))) {
+                $imgFile = str_replace("'","\"" ,$imgFile );
+                $cmd = "\"".str_replace("\\","/", $CONFIG['impath'])."convert\" -quality {$this->quality} {$CONFIG['im_options']} -rotate $angle ".str_replace("\\","/" ,$imgFile )." ".str_replace("\\","/" ,$imgFile );
+                exec ("\"$cmd\"", $output, $retval);
+            } else {
+                $cmd = "{$CONFIG['impath']}convert -quality {$this->quality} {$CONFIG['im_options']} -rotate $angle $imgFile $imgFile";
+                exec ($cmd, $output, $retval);
+            }
+             //$cmd = "{$CONFIG['impath']}convert -quality {$this->quality} {$CONFIG['im_options']} -rotate '$angle' $imgFile $imgFile";
+             //exec ($cmd, $output, $retval);
+
+             //To Do check for errors in execution etc
+
+             // Call the constructor again to repopulate the dimensions etc
+             $this->imageObject($this->directory,$this->filename);
+             return $this;
+         }
+
+         function resizeImage($new_w=0,$new_h=0){
+
+             global $CONFIG;
+
+             $imgFile = escapeshellarg("$this->directory$this->filename");
+
+             $output = array();
+
+           /*
+            * Hack for working with ImageMagick on WIndows even if IM is installed in C:\Program Files.
+            * By Aditya Mooley <aditya@sanisoft.com>
+            */
+            if (eregi("win",getenv('OS'))) {
+                $imgFile = str_replace("'","\"" ,$imgFile );
+                $cmd = "\"".str_replace("\\","/", $CONFIG['impath'])."convert\" -quality {$this->quality} {$CONFIG['im_options']} -geometry {$new_w}x{$new_h} ".str_replace("\\","/" ,$imgFile )." ".str_replace("\\","/" ,$imgFile );
+                exec ("\"$cmd\"", $output, $retval);
+            } else {
+                $cmd = "{$CONFIG['impath']}convert -quality {$this->quality} {$CONFIG['im_options']} -geometry {$new_w}x{$new_h} $imgFile $imgFile";
+                exec ($cmd, $output, $retval);
+            }
+
+            //$cmd = "{$CONFIG['impath']}convert -quality {$this->quality} {$CONFIG['im_options']} -geometry '{$new_w}x{$new_h}' $imgFile $imgFile";
+            //exec ($cmd, $output, $retval);
+
+             //To Do check for errors in execution etc
+
+             // Call the constructor again to repopulate the dimensions etc
+             $this->imageObject($this->directory,$this->filename);
+             return $this;
+         }
+   }
+ ?>
diff -x .svn -aruN 1.4.24.src/include/index.html 1.4.25.src/include/index.html
--- 1.4.24.src/include/index.html	2009-05-21 15:03:09.000000000 -0500
+++ 1.4.25.src/include/index.html	2009-05-26 11:25:44.000000000 -0500
@@ -1,17 +1,17 @@
-/*************************
-  Coppermine Photo Gallery
-  ************************
-  Copyright (c) 2003-2008 Dev Team
-  v1.1 originally written by Gregory DEMAR
-
-  This program is free software; you can redistribute it and/or modify
-  it under the terms of the GNU General Public License version 3
-  as published by the Free Software Foundation.
-  
-  ********************************************
-  Coppermine version: 1.4.24
-  $HeadURL: https://coppermine.svn.sourceforge.net/svnroot/coppermine/trunk/cpg1.4.x/include/index.html $
-  $Revision: 5969 $
-  $Author: gaugau $
-  $Date: 2009-05-21 22:03:33 +0200 (Do, 21 Mai 2009) $
-**********************************************/
+/*************************
+  Coppermine Photo Gallery
+  ************************
+  Copyright (c) 2003-2008 Dev Team
+  v1.1 originally written by Gregory DEMAR
+
+  This program is free software; you can redistribute it and/or modify
+  it under the terms of the GNU General Public License version 3
+  as published by the Free Software Foundation.
+  
+  ********************************************
+  Coppermine version: 1.4.25
+  $HeadURL: https://coppermine.svn.sourceforge.net/svnroot/coppermine/trunk/cpg1.4.x/include/index.html $
+  $Revision: 5997 $
+  $Author: gaugau $
+  $Date: 2009-05-26 08:43:24 +0200 (Di, 26 Mai 2009) $
+**********************************************/
diff -x .svn -aruN 1.4.24.src/include/init.inc.php 1.4.25.src/include/init.inc.php
--- 1.4.24.src/include/init.inc.php	2009-05-25 15:38:45.000000000 -0500
+++ 1.4.25.src/include/init.inc.php	2009-06-22 06:57:46.000000000 -0500
@@ -1,438 +1,441 @@
-<?php
-/*************************
-  Coppermine Photo Gallery
-  ************************
-  Copyright (c) 2003-2009 Coppermine Dev Team
-  v1.1 originally written by Gregory DEMAR
-
-  This program is free software; you can redistribute it and/or modify
-  it under the terms of the GNU General Public License version 3
-  as published by the Free Software Foundation.
-
-  ********************************************
-  Coppermine version: 1.4.24
-  $HeadURL: https://coppermine.svn.sourceforge.net/svnroot/coppermine/trunk/cpg1.4.x/include/init.inc.php $
-  $Revision: 5991 $
-  $Author: gaugau $
-  $Date: 2009-05-25 22:39:09 +0200 (Mo, 25 Mai 2009) $
-**********************************************/
-
-define('COPPERMINE_VERSION', '1.4.24');
-define('COPPERMINE_VERSION_STATUS', 'stable');
-
-if (!defined('IN_COPPERMINE')) { die('Not in Coppermine...');}
-
-// Store all reported errors in the $cpgdebugger
-require_once('include/debugger.inc.php');
-
-set_magic_quotes_runtime(0);
-// used for timing purpose
-$query_stats = array();
-$queries = array();
-
-function cpgGetMicroTime()
-{
-        list($usec, $sec) = explode(" ", microtime());
-        return ((float)$usec + (float)$sec);
-}
-$cpg_time_start = cpgGetMicroTime();
-// Do some cleanup in GET, POST and cookie data and un-register global vars
-$HTML_SUBST = array('&' => '&amp;', '"' => '&quot;', '<' => '&lt;', '>' => '&gt;', '%26' => '&amp;', '%22' => '&quot;', '%3C' => '&lt;', '%3E' => '&gt;','%27' => '&#39;', "'" => '&#39;');
-
-$keysToSkip = array('_POST', '_GET', '_COOKIE', '_REQUEST', '_SERVER', 'HTML_SUBST', 'keysToSkip', 'register_globals_flag', 'cpgdebugger', 'key');
-
-if (ini_get('register_globals') == '1' || strtolower(ini_get('register_globals')) == 'on') {
-    $register_globals_flag = true;
-} else {
-    $register_globals_flag = false;
-}
-
-if (is_array($GLOBALS)) {
-        foreach ($GLOBALS as $key => $value) {
-                if (!in_array($key, $keysToSkip) && isset($$key) && $register_globals_flag) unset($$key);
-        }
-}
-
-if (get_magic_quotes_gpc()) {
-        if (is_array($_POST)) {
-                foreach ($_POST as $key => $value) {
-                        if (!is_array($value))
-                                $_POST[$key] = strtr(stripslashes($value), $HTML_SUBST);
-                        if (!in_array($key, $keysToSkip) && isset($$key) && $register_globals_flag) unset($$key);
-                }
-        }
-
-        if (is_array($_GET)) {
-                foreach ($_GET as $key => $value) {
-                        unset($_GET[$key]);
-                        $_GET[strtr(stripslashes($key), $HTML_SUBST)] = strtr(stripslashes($value), $HTML_SUBST);
-                        if (!in_array($key, $keysToSkip) && isset($$key) && $register_globals_flag) unset($$key);
-                }
-        }
-
-        if (is_array($_COOKIE)) {
-                foreach ($_COOKIE as $key => $value) {
-                        if (!is_array($value))
-                                $_COOKIE[$key] = stripslashes($value);
-                        if (!in_array($key, $keysToSkip) && isset($$key) && $register_globals_flag) unset($$key);
-                }
-        }
-        if (is_array($_REQUEST)) {
-                foreach ($_REQUEST as $key => $value) {
-                        if (!is_array($value))
-                                $_REQUEST[$key] = strtr(stripslashes($value), $HTML_SUBST);
-                        if (!in_array($key, $keysToSkip) && isset($$key) && $register_globals_flag) unset($$key);
-                }
-        }
-} else {
-        if (is_array($_POST)) {
-                foreach ($_POST as $key => $value) {
-                        if (!is_array($value))
-                                $_POST[$key] = strtr($value, $HTML_SUBST);
-                        if (!in_array($key, $keysToSkip) && isset($$key) && $register_globals_flag) unset($$key);
-                }
-        }
-
-        if (is_array($_GET)) {
-                foreach ($_GET as $key => $value) {
-                        unset($_GET[$key]);
-                        $_GET[strtr(stripslashes($key), $HTML_SUBST)] = strtr(stripslashes($value), $HTML_SUBST);
-
-                        if (!in_array($key, $keysToSkip) && isset($$key) && $register_globals_flag) {
-                            unset($$key);
-                        }
-                }
-        }
-
-        if (is_array($_COOKIE)) {
-                foreach ($_COOKIE as $key => $value) {
-                        if (!in_array($key, $keysToSkip) && isset($$key) && $register_globals_flag) unset($$key);
-                }
-        }
-        if (is_array($_REQUEST)) {
-                foreach ($_REQUEST as $key => $value) {
-                        if (!is_array($value))
-                                $_REQUEST[$key] = strtr($value, $HTML_SUBST);
-                        if (!in_array($key, $keysToSkip) && isset($$key) && $register_globals_flag) unset($$key);
-                }
-        }
-}
-// Initialise the $CONFIG array and some other variables
-$CONFIG = array();
-//$PHP_SELF = isset($_SERVER['REDIRECT_URL']) ? $_SERVER['REDIRECT_URL'] : $_SERVER['SCRIPT_NAME'];
-
-$PHP_SELF = '';
-$ORIGINAL_PHP_SELF = $_SERVER['PHP_SELF'];
-$possibilities = array('REDIRECT_URL', 'PHP_SELF', 'SCRIPT_URL', 'SCRIPT_NAME','SCRIPT_FILENAME');
-foreach ($possibilities as $test){
-  if (isset($_SERVER[$test]) && preg_match('/([^\/]+\.php)$/', $_SERVER[$test], $matches)){
-        $PHP_SELF = $_SERVER['PHP_SELF'] = $_SERVER['SCRIPT_NAME'] = $matches[1];
-        break;
-  }
-}
-
-$REFERER = urlencode($_SERVER['PHP_SELF'] . (isset($_SERVER['QUERY_STRING']) && $_SERVER['QUERY_STRING'] ? '?' . $_SERVER['QUERY_STRING'] : ''));
-$ALBUM_SET = '';
-$META_ALBUM_SET = '';
-$FORBIDDEN_SET = '';
-$FORBIDDEN_SET_DATA = array();
-$CURRENT_CAT_NAME = '';
-$CAT_LIST = '';
-// Record User's IP address
-$raw_ip = stripslashes($_SERVER['REMOTE_ADDR']);
-
-if (isset($_SERVER['HTTP_CLIENT_IP'])) {
-        $hdr_ip = stripslashes($_SERVER['HTTP_CLIENT_IP']);
-} else {
-        if (isset($_SERVER['HTTP_X_FORWARDED_FOR'])) {
-                $hdr_ip = stripslashes($_SERVER['HTTP_X_FORWARDED_FOR']);
-        } else {
-                $hdr_ip = $raw_ip;
-        }
-}
-
-if (!preg_match('/^[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}$/', $raw_ip)) $raw_ip = '0.0.0.0';
-if (!preg_match('/^[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}$/', $hdr_ip)) $hdr_ip = '0.0.0.0';
-
-// Define some constants
-define('USER_GAL_CAT', 1);
-define('FIRST_USER_CAT', 10000);
-define('RANDPOS_MAX_PIC', 200);
-define('TEMPLATE_FILE', 'template.html');
-// Constants used by the cpg_die function
-define('INFORMATION', 1);
-define('ERROR', 2);
-define('CRITICAL_ERROR', 3);
-
-// Include config and functions files
-if(file_exists('include/config.inc.php')){
-                ob_start();
-                require_once 'include/config.inc.php';
-                ob_clean();
-} else {
-  // error handling: if the config file doesn't exist go to install
-  die('<html>
-        <head>
-          <title>Coppermine not installed yet</title>
-          <meta http-equiv="refresh" content="10;url=install.php">
-          <style type="text/css">
-          <!--
-          body { font-size: 12px; background: #FFFFFF; margin: 20%; color: black; font-family: verdana, arial, helvetica, sans-serif;}
-          -->
-          </style>
-        </head>
-        <body>
-          <img src="images/coppermine_logo.png" alt="Coppermine Photo Gallery - Your Online Photo Gallery" /><br />
-          Coppermine Photo Gallery seems not to be installed correctly, or you are running coppermine for the first time. You\'ll be redirected to the installer. If your browser doesn\'t support redirect, click <a href="install.php">here</a>.
-        </body>
-</html>');
-}
-$mb_utf8_regex = '[\xE1-\xEF][\x80-\xBF][\x80-\xBF]|\xE0[\xA0-\xBF][\x80-\xBF]|[\xC2-\xDF][\x80-\xBF]';
-require 'include/functions.inc.php';
-# see http://php.net/mbstring for details
-if (function_exists('mb_internal_encoding')) { mb_internal_encoding('UTF-8'); }
-
-$CONFIG['TABLE_PICTURES']   = $CONFIG['TABLE_PREFIX'].'pictures';
-$CONFIG['TABLE_ALBUMS']     = $CONFIG['TABLE_PREFIX'].'albums';
-$CONFIG['TABLE_COMMENTS']   = $CONFIG['TABLE_PREFIX'].'comments';
-$CONFIG['TABLE_CATEGORIES'] = $CONFIG['TABLE_PREFIX'].'categories';
-$CONFIG['TABLE_CONFIG']     = $CONFIG['TABLE_PREFIX'].'config';
-$CONFIG['TABLE_USERGROUPS'] = $CONFIG['TABLE_PREFIX'].'usergroups';
-$CONFIG['TABLE_VOTES']      = $CONFIG['TABLE_PREFIX'].'votes';
-$CONFIG['TABLE_USERS']      = $CONFIG['TABLE_PREFIX'].'users';
-$CONFIG['TABLE_BANNED']     = $CONFIG['TABLE_PREFIX'].'banned';
-$CONFIG['TABLE_EXIF']       = $CONFIG['TABLE_PREFIX'].'exif';
-$CONFIG['TABLE_FILETYPES']  = $CONFIG['TABLE_PREFIX'].'filetypes';
-$CONFIG['TABLE_ECARDS']     = $CONFIG['TABLE_PREFIX'].'ecards';
-$CONFIG['TABLE_TEMPDATA']   = $CONFIG['TABLE_PREFIX'].'temp_data';
-$CONFIG['TABLE_FAVPICS']    = $CONFIG['TABLE_PREFIX'].'favpics';
-$CONFIG['TABLE_BRIDGE']     = $CONFIG['TABLE_PREFIX'].'bridge';
-$CONFIG['TABLE_VOTE_STATS'] = $CONFIG['TABLE_PREFIX'].'vote_stats';
-$CONFIG['TABLE_HIT_STATS']  = $CONFIG['TABLE_PREFIX'].'hit_stats';
-// Connect to database
-($CONFIG['LINK_ID'] = cpg_db_connect()) || die('<b>Coppermine critical error</b>:<br />Unable to connect to database !<br /><br />MySQL said: <b>' . mysql_error() . '</b>');
-// Retrieve DB stored configuration
-$results = cpg_db_query("SELECT * FROM {$CONFIG['TABLE_CONFIG']}");
-while ($row = mysql_fetch_array($results)) {
-        $CONFIG[$row['name']] = $row['value'];
-} // while
-mysql_free_result($results);
-
-// Reference 'site_url' to 'ecards_more_pic_target'
-$CONFIG['site_url'] =& $CONFIG['ecards_more_pic_target'];
-
-// Include logger functions
-include_once('include/logger.inc.php');
-
-// Include media functions
-require 'include/media.functions.inc.php';
-
-// Check for GD GIF Create support
-if ($CONFIG['thumb_method'] == 'im' || function_exists('imagecreatefromgif'))
-  $CONFIG['GIF_support'] = 1;
-else
-  $CONFIG['GIF_support'] = 0;
-
-// Include plugin API
-require('include/plugin_api.inc.php');
-if ($CONFIG['enable_plugins'] == 1) {
-        CPGPluginAPI::load();
-}
-
-// Set UDB_INTEGRATION if enabled in admin
-if ($CONFIG['bridge_enable'] == 1 && !defined('BRIDGEMGR_PHP')) {
-        $BRIDGE = cpg_get_bridge_db_values();
-} else {
-  $BRIDGE['short_name'] = 'coppermine';
-  $BRIDGE['use_standard_groups'] = 1;
-  $BRIDGE['recovery_logon_failures'] = 0;
-  $BRIDGE['use_post_based_groups'] = false;
-}
-
-define('UDB_INTEGRATION', $BRIDGE['short_name']);
-
-require_once 'bridge/' . UDB_INTEGRATION . '.inc.php';
-
-/*
-
-Removed temporarily due to non-compliance with bridging system - Nibbler
-
-// Retrieve Array of Admin Groups (used for hiding admin usernames on thumbnails)
-$results = cpg_db_query("SELECT group_id FROM {$CONFIG['TABLE_USERGROUPS']} WHERE has_admin_access ");
-$CONFIG['ADMIN_GROUPS']=array();
-while ($row = mysql_fetch_array($results)) {
-        $CONFIG['ADMIN_GROUPS'][]= $row['group_id'];
-} // while
-mysql_free_result($results);
-
-// Retrieve Array of Admin Users (used for hiding admin usernames on thumbnails)
-$results = cpg_db_query("SELECT {$cpg_udb->field['user_id']} as user_id FROM $cpg_udb->usertable WHERE {$cpg_udb->field['usertbl_group_id']} in (" . implode(',',$CONFIG['ADMIN_GROUPS']).')');
-$CONFIG['ADMIN_USERS']=array();
-while ($row = mysql_fetch_array($results)) {
-        $CONFIG['ADMIN_USERS'][] = $row['user_id'];
-} // while
-mysql_free_result($results);
-
-*/
-
-// Start output buffering
-ob_start('cpg_filter_page_html');
-
-// Parse cookie stored user profile
-user_get_profile();
-
-// Authenticate
-$cpg_udb->authenticate();
-
-// Test if admin mode
-$USER['am'] = isset($USER['am']) ? (int)$USER['am'] : 0;
-define('GALLERY_ADMIN_MODE', USER_IS_ADMIN && $USER['am']);
-define('USER_ADMIN_MODE', USER_ID && USER_CAN_CREATE_ALBUMS && $USER['am'] && !GALLERY_ADMIN_MODE);
-
-
-// Set error logging level
-// Maze's new error report system
-if (!USER_IS_ADMIN) {
-        if (!$CONFIG['debug_mode']) $cpgdebugger->stop(); // useless to run debugger cos there's no output
-        error_reporting(E_PARSE); // hide all errors for visitors
-}
-
-// Process theme selection if present in URI or in user profile
-if (!empty($_GET['theme'])) {
-        $USER['theme'] = $_GET['theme'];
-}
-// Load theme file
-if (isset($USER['theme']) && !strstr($USER['theme'], '/') && is_dir('themes/' . $USER['theme'])) {
-        $CONFIG['theme'] = strtr($USER['theme'], '$/\\:*?"\'<>|`', '____________');
-} else {
-        unset($USER['theme']);
-}
-
-if (!file_exists("themes/{$CONFIG['theme']}/theme.php")) $CONFIG['theme'] = 'classic';
-require "themes/{$CONFIG['theme']}/theme.php";
-require "include/themes.inc.php";  //All Fallback Theme Templates and Functions
-$THEME_DIR = "themes/{$CONFIG['theme']}/";
-
-
-// Process language selection if present in URI or in user profile or try
-// autodetection if default charset is utf-8
-if (!empty($_GET['lang']))
-{
-        $USER['lang'] = ereg("^[a-z0-9_-]*$", $_GET['lang']) ? $_GET['lang'] : $CONFIG['lang'];
-}
-
-if (isset($USER['lang']) && !strstr($USER['lang'], '/') && file_exists('lang/' . $USER['lang'] . '.php'))
-{
-        $CONFIG['default_lang'] = $CONFIG['lang'];          // Save default language
-        $CONFIG['lang'] = strtr($USER['lang'], '$/\\:*?"\'<>|`', '____________');
-}
-elseif ($CONFIG['charset'] == 'utf-8')
-{
-        include('include/select_lang.inc.php');
-        if (file_exists('lang/' . $USER['lang'] . '.php'))
-        {
-                $CONFIG['default_lang'] = $CONFIG['lang'];      // Save default language
-                $CONFIG['lang'] = $USER['lang'];
-        }
-}
-else
-{
-        unset($USER['lang']);
-}
-
-if (isset($CONFIG['default_lang']) && ($CONFIG['default_lang']==$CONFIG['lang']))
-{
-                unset($CONFIG['default_lang']);
-}
-
-if (!file_exists("lang/{$CONFIG['lang']}.php"))
-  $CONFIG['lang'] = 'english';
-
-// We load the chosen language file
-require "lang/{$CONFIG['lang']}.php";
-
-// Include and process fallback here if lang <> english
-if($CONFIG['lang'] != 'english' && $CONFIG['language_fallback']==1 ){
-                require "include/langfallback.inc.php";
-}
-
-
-// See if the fav cookie is set else set it
-if (isset($_COOKIE[$CONFIG['cookie_name'] . '_fav'])) {
-        $FAVPICS = @unserialize(@base64_decode($_COOKIE[$CONFIG['cookie_name'] . '_fav']));
-        foreach ($FAVPICS as $key => $id ){
-                $FAVPICS[$key] = (int)$id; //protect against sql injection attacks
-        }
-} else {
-        $FAVPICS = array();
-}
-
-// If the person is logged in get favs from DB those in the DB have precedence
-if (USER_ID > 0){
-                $sql = "SELECT user_favpics FROM {$CONFIG['TABLE_FAVPICS']} WHERE user_id = ".USER_ID;
-                $results = cpg_db_query($sql);
-                $row = mysql_fetch_array($results);
-                if (!empty($row['user_favpics'])){
-                                $FAVPICS = @unserialize(@base64_decode($row['user_favpics']));
-                }else{
-                                $FAVPICS = array();
-                }
-}
-
-// If referer is set in URL and it contains 'http' or 'script' texts then set it to 'index.php' script
-if (isset($_GET['referer'])) {
-        if (preg_match('/((\%3C)|<)[^\n]+((\%3E)|>)|(.*http.*)|(.*script.*)/i', $_GET['referer'])) {
-                $_GET['referer'] = 'index.php';
-        }
-}
-
-/**
- * CPGPluginAPI::action('page_start',null)
- *
- * Executes page_start action on all plugins
- *
- * @param null
- * @return N/A
- **/
-
-CPGPluginAPI::action('page_start',null);
-
-// load the main template
-load_template();
-$CONFIG['template_loaded'] = true;
-
-// Remove expired bans
-$now = date('Y-m-d H:i:s');
-cpg_db_query("DELETE FROM {$CONFIG['TABLE_BANNED']} WHERE expiry < '$now'");
-// Check if the user is banned
-$user_id = USER_ID;
-$result = cpg_db_query("SELECT * FROM {$CONFIG['TABLE_BANNED']} WHERE (ip_addr='$raw_ip' OR ip_addr='$hdr_ip' OR user_id=$user_id) AND brute_force=0");
-if (mysql_num_rows($result)) {
-        pageheader($lang_error);
-        msg_box($lang_info, $lang_errors['banned']);
-        pagefooter();
-        exit;
-}
-mysql_free_result($result);
-
-// Retrieve the "private" album set
-if (!GALLERY_ADMIN_MODE && $CONFIG['allow_private_albums']) get_private_album_set();
-
-if (!USER_IS_ADMIN && $CONFIG['offline'] && !strstr($_SERVER["SCRIPT_NAME"],'login')) {
-        pageheader($lang_errors['offline_title']);
-        msg_box($lang_errors['offline_title'], $lang_errors['offline_text']);
-        pagefooter();
-        exit;
-}
-
-// kick user into user_admin_mode (needed to fix "removed user mode for users" when upgrading)
-if (USER_ID && !USER_IS_ADMIN && !$USER['am']) { // user is logged in, but is not gallery admin and not in admin mode
-        $USER['am'] = 1;
-        pageheader($lang_info, "<META http-equiv=\"refresh\" content=\"1;url=$referer\">");
-        msg_box($lang_info, 'Sending you to admin mode', $lang_continue, $referer);
-        pagefooter();
-        ob_end_flush();
-        die();
-}
-
-?>
+<?php
+/*************************
+  Coppermine Photo Gallery
+  ************************
+  Copyright (c) 2003-2009 Coppermine Dev Team
+  v1.1 originally written by Gregory DEMAR
+
+  This program is free software; you can redistribute it and/or modify
+  it under the terms of the GNU General Public License version 3
+  as published by the Free Software Foundation.
+
+  ********************************************
+  Coppermine version: 1.4.25
+  $HeadURL: https://coppermine.svn.sourceforge.net/svnroot/coppermine/trunk/cpg1.4.x/include/init.inc.php $
+  $Revision: 6216 $
+  $Author: gaugau $
+  $Date: 2009-06-22 09:24:21 +0200 (Mo, 22 Jun 2009) $
+**********************************************/
+
+define('COPPERMINE_VERSION', '1.4.25');
+define('COPPERMINE_VERSION_STATUS', 'stable');
+
+if (!defined('IN_COPPERMINE')) { die('Not in Coppermine...');}
+
+// Store all reported errors in the $cpgdebugger
+require_once('include/debugger.inc.php');
+
+set_magic_quotes_runtime(0);
+
+// Do some cleanup in GET, POST and cookie data and un-register global vars
+$HTML_SUBST = array('&' => '&amp;', '"' => '&quot;', '<' => '&lt;', '>' => '&gt;', '%26' => '&amp;', '%22' => '&quot;', '%3C' => '&lt;', '%3E' => '&gt;','%27' => '&#39;', "'" => '&#39;');
+
+$keysToSkip = array('_POST', '_GET', '_COOKIE', '_REQUEST', '_SERVER', '_FILES', 'HTML_SUBST', 'keysToSkip', 'register_globals_flag', 'cpgdebugger', 'key');
+
+if (ini_get('register_globals') == '1' || strtolower(ini_get('register_globals')) == 'on') {
+    $register_globals_flag = true;
+} else {
+    $register_globals_flag = false;
+}
+
+if (is_array($GLOBALS)) {
+        foreach ($GLOBALS as $key => $value) {
+                if (!in_array($key, $keysToSkip) && isset($$key) && $register_globals_flag) unset($$key);
+        }
+}
+
+if (get_magic_quotes_gpc()) {
+        if (is_array($_POST)) {
+                foreach ($_POST as $key => $value) {
+                        if (!is_array($value))
+                                $_POST[$key] = strtr(stripslashes($value), $HTML_SUBST);
+                        if (!in_array($key, $keysToSkip) && isset($$key) && $register_globals_flag) unset($$key);
+                }
+        }
+
+        if (is_array($_GET)) {
+                foreach ($_GET as $key => $value) {
+                        unset($_GET[$key]);
+                        $_GET[strtr(stripslashes($key), $HTML_SUBST)] = strtr(stripslashes($value), $HTML_SUBST);
+                        if (!in_array($key, $keysToSkip) && isset($$key) && $register_globals_flag) unset($$key);
+                }
+        }
+
+        if (is_array($_COOKIE)) {
+                foreach ($_COOKIE as $key => $value) {
+                        if (!is_array($value))
+                                $_COOKIE[$key] = stripslashes($value);
+                        if (!in_array($key, $keysToSkip) && isset($$key) && $register_globals_flag) unset($$key);
+                }
+        }
+        if (is_array($_REQUEST)) {
+                foreach ($_REQUEST as $key => $value) {
+                        if (!is_array($value))
+                                $_REQUEST[$key] = strtr(stripslashes($value), $HTML_SUBST);
+                        if (!in_array($key, $keysToSkip) && isset($$key) && $register_globals_flag) unset($$key);
+                }
+        }
+} else {
+        if (is_array($_POST)) {
+                foreach ($_POST as $key => $value) {
+                        if (!is_array($value))
+                                $_POST[$key] = strtr($value, $HTML_SUBST);
+                        if (!in_array($key, $keysToSkip) && isset($$key) && $register_globals_flag) unset($$key);
+                }
+        }
+
+        if (is_array($_GET)) {
+                foreach ($_GET as $key => $value) {
+                        unset($_GET[$key]);
+                        $_GET[strtr(stripslashes($key), $HTML_SUBST)] = strtr(stripslashes($value), $HTML_SUBST);
+
+                        if (!in_array($key, $keysToSkip) && isset($$key) && $register_globals_flag) {
+                            unset($$key);
+                        }
+                }
+        }
+
+        if (is_array($_COOKIE)) {
+                foreach ($_COOKIE as $key => $value) {
+                        if (!in_array($key, $keysToSkip) && isset($$key) && $register_globals_flag) unset($$key);
+                }
+        }
+        if (is_array($_REQUEST)) {
+                foreach ($_REQUEST as $key => $value) {
+                        if (!is_array($value))
+                                $_REQUEST[$key] = strtr($value, $HTML_SUBST);
+                        if (!in_array($key, $keysToSkip) && isset($$key) && $register_globals_flag) unset($$key);
+                }
+        }
+}
+
+// used for timing purpose
+$query_stats = array();
+$queries = array();
+
+function cpgGetMicroTime()
+{
+        list($usec, $sec) = explode(" ", microtime());
+        return ((float)$usec + (float)$sec);
+}
+$cpg_time_start = cpgGetMicroTime();
+
+// Initialise the $CONFIG array and some other variables
+$CONFIG = array();
+//$PHP_SELF = isset($_SERVER['REDIRECT_URL']) ? $_SERVER['REDIRECT_URL'] : $_SERVER['SCRIPT_NAME'];
+
+$PHP_SELF = '';
+$ORIGINAL_PHP_SELF = $_SERVER['PHP_SELF'];
+$possibilities = array('REDIRECT_URL', 'PHP_SELF', 'SCRIPT_URL', 'SCRIPT_NAME','SCRIPT_FILENAME');
+foreach ($possibilities as $test){
+  if (isset($_SERVER[$test]) && preg_match('/([^\/]+\.php)$/', $_SERVER[$test], $matches)){
+        $PHP_SELF = $_SERVER['PHP_SELF'] = $_SERVER['SCRIPT_NAME'] = $matches[1];
+        break;
+  }
+}
+
+$REFERER = urlencode($_SERVER['PHP_SELF'] . (isset($_SERVER['QUERY_STRING']) && $_SERVER['QUERY_STRING'] ? '?' . $_SERVER['QUERY_STRING'] : ''));
+$ALBUM_SET = '';
+$META_ALBUM_SET = '';
+$FORBIDDEN_SET = '';
+$FORBIDDEN_SET_DATA = array();
+$CURRENT_CAT_NAME = '';
+$CAT_LIST = '';
+// Record User's IP address
+$raw_ip = stripslashes($_SERVER['REMOTE_ADDR']);
+
+if (isset($_SERVER['HTTP_CLIENT_IP'])) {
+        $hdr_ip = stripslashes($_SERVER['HTTP_CLIENT_IP']);
+} else {
+        if (isset($_SERVER['HTTP_X_FORWARDED_FOR'])) {
+                $hdr_ip = stripslashes($_SERVER['HTTP_X_FORWARDED_FOR']);
+        } else {
+                $hdr_ip = $raw_ip;
+        }
+}
+
+if (!preg_match('/^[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}$/', $raw_ip)) $raw_ip = '0.0.0.0';
+if (!preg_match('/^[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}$/', $hdr_ip)) $hdr_ip = '0.0.0.0';
+
+// Define some constants
+define('USER_GAL_CAT', 1);
+define('FIRST_USER_CAT', 10000);
+define('RANDPOS_MAX_PIC', 200);
+define('TEMPLATE_FILE', 'template.html');
+// Constants used by the cpg_die function
+define('INFORMATION', 1);
+define('ERROR', 2);
+define('CRITICAL_ERROR', 3);
+
+// Include config and functions files
+if(file_exists('include/config.inc.php')){
+                ob_start();
+                require_once 'include/config.inc.php';
+                ob_clean();
+} else {
+  // error handling: if the config file doesn't exist go to install
+  die('<html>
+        <head>
+          <title>Coppermine not installed yet</title>
+          <meta http-equiv="refresh" content="10;url=install.php">
+          <style type="text/css">
+          <!--
+          body { font-size: 12px; background: #FFFFFF; margin: 20%; color: black; font-family: verdana, arial, helvetica, sans-serif;}
+          -->
+          </style>
+        </head>
+        <body>
+          <img src="images/coppermine_logo.png" alt="Coppermine Photo Gallery - Your Online Photo Gallery" /><br />
+          Coppermine Photo Gallery seems not to be installed correctly, or you are running coppermine for the first time. You\'ll be redirected to the installer. If your browser doesn\'t support redirect, click <a href="install.php">here</a>.
+        </body>
+</html>');
+}
+$mb_utf8_regex = '[\xE1-\xEF][\x80-\xBF][\x80-\xBF]|\xE0[\xA0-\xBF][\x80-\xBF]|[\xC2-\xDF][\x80-\xBF]';
+require 'include/functions.inc.php';
+# see http://php.net/mbstring for details
+if (function_exists('mb_internal_encoding')) { mb_internal_encoding('UTF-8'); }
+
+$CONFIG['TABLE_PICTURES']   = $CONFIG['TABLE_PREFIX'].'pictures';
+$CONFIG['TABLE_ALBUMS']     = $CONFIG['TABLE_PREFIX'].'albums';
+$CONFIG['TABLE_COMMENTS']   = $CONFIG['TABLE_PREFIX'].'comments';
+$CONFIG['TABLE_CATEGORIES'] = $CONFIG['TABLE_PREFIX'].'categories';
+$CONFIG['TABLE_CONFIG']     = $CONFIG['TABLE_PREFIX'].'config';
+$CONFIG['TABLE_USERGROUPS'] = $CONFIG['TABLE_PREFIX'].'usergroups';
+$CONFIG['TABLE_VOTES']      = $CONFIG['TABLE_PREFIX'].'votes';
+$CONFIG['TABLE_USERS']      = $CONFIG['TABLE_PREFIX'].'users';
+$CONFIG['TABLE_BANNED']     = $CONFIG['TABLE_PREFIX'].'banned';
+$CONFIG['TABLE_EXIF']       = $CONFIG['TABLE_PREFIX'].'exif';
+$CONFIG['TABLE_FILETYPES']  = $CONFIG['TABLE_PREFIX'].'filetypes';
+$CONFIG['TABLE_ECARDS']     = $CONFIG['TABLE_PREFIX'].'ecards';
+$CONFIG['TABLE_TEMPDATA']   = $CONFIG['TABLE_PREFIX'].'temp_data';
+$CONFIG['TABLE_FAVPICS']    = $CONFIG['TABLE_PREFIX'].'favpics';
+$CONFIG['TABLE_BRIDGE']     = $CONFIG['TABLE_PREFIX'].'bridge';
+$CONFIG['TABLE_VOTE_STATS'] = $CONFIG['TABLE_PREFIX'].'vote_stats';
+$CONFIG['TABLE_HIT_STATS']  = $CONFIG['TABLE_PREFIX'].'hit_stats';
+// Connect to database
+($CONFIG['LINK_ID'] = cpg_db_connect()) || die('<b>Coppermine critical error</b>:<br />Unable to connect to database !<br /><br />MySQL said: <b>' . mysql_error() . '</b>');
+// Retrieve DB stored configuration
+$results = cpg_db_query("SELECT * FROM {$CONFIG['TABLE_CONFIG']}");
+while ($row = mysql_fetch_array($results)) {
+        $CONFIG[$row['name']] = $row['value'];
+} // while
+mysql_free_result($results);
+
+// Reference 'site_url' to 'ecards_more_pic_target'
+$CONFIG['site_url'] =& $CONFIG['ecards_more_pic_target'];
+
+// Include logger functions
+include_once('include/logger.inc.php');
+
+// Include media functions
+require 'include/media.functions.inc.php';
+
+// Check for GD GIF Create support
+if ($CONFIG['thumb_method'] == 'im' || function_exists('imagecreatefromgif'))
+  $CONFIG['GIF_support'] = 1;
+else
+  $CONFIG['GIF_support'] = 0;
+
+// Include plugin API
+require('include/plugin_api.inc.php');
+if ($CONFIG['enable_plugins'] == 1) {
+        CPGPluginAPI::load();
+}
+
+// Set UDB_INTEGRATION if enabled in admin
+if ($CONFIG['bridge_enable'] == 1 && !defined('BRIDGEMGR_PHP')) {
+        $BRIDGE = cpg_get_bridge_db_values();
+} else {
+  $BRIDGE['short_name'] = 'coppermine';
+  $BRIDGE['use_standard_groups'] = 1;
+  $BRIDGE['recovery_logon_failures'] = 0;
+  $BRIDGE['use_post_based_groups'] = false;
+}
+
+define('UDB_INTEGRATION', $BRIDGE['short_name']);
+
+require_once 'bridge/' . UDB_INTEGRATION . '.inc.php';
+
+/*
+
+Removed temporarily due to non-compliance with bridging system - Nibbler
+
+// Retrieve Array of Admin Groups (used for hiding admin usernames on thumbnails)
+$results = cpg_db_query("SELECT group_id FROM {$CONFIG['TABLE_USERGROUPS']} WHERE has_admin_access ");
+$CONFIG['ADMIN_GROUPS']=array();
+while ($row = mysql_fetch_array($results)) {
+        $CONFIG['ADMIN_GROUPS'][]= $row['group_id'];
+} // while
+mysql_free_result($results);
+
+// Retrieve Array of Admin Users (used for hiding admin usernames on thumbnails)
+$results = cpg_db_query("SELECT {$cpg_udb->field['user_id']} as user_id FROM $cpg_udb->usertable WHERE {$cpg_udb->field['usertbl_group_id']} in (" . implode(',',$CONFIG['ADMIN_GROUPS']).')');
+$CONFIG['ADMIN_USERS']=array();
+while ($row = mysql_fetch_array($results)) {
+        $CONFIG['ADMIN_USERS'][] = $row['user_id'];
+} // while
+mysql_free_result($results);
+
+*/
+
+// Start output buffering
+ob_start('cpg_filter_page_html');
+
+// Parse cookie stored user profile
+user_get_profile();
+
+// Authenticate
+$cpg_udb->authenticate();
+
+// Test if admin mode
+$USER['am'] = isset($USER['am']) ? (int)$USER['am'] : 0;
+define('GALLERY_ADMIN_MODE', USER_IS_ADMIN && $USER['am']);
+define('USER_ADMIN_MODE', USER_ID && USER_CAN_CREATE_ALBUMS && $USER['am'] && !GALLERY_ADMIN_MODE);
+
+
+// Set error logging level
+// Maze's new error report system
+if (!USER_IS_ADMIN) {
+        if (!$CONFIG['debug_mode']) $cpgdebugger->stop(); // useless to run debugger cos there's no output
+        error_reporting(E_PARSE); // hide all errors for visitors
+}
+
+// Process theme selection if present in URI or in user profile
+if (!empty($_GET['theme'])) {
+        $USER['theme'] = $_GET['theme'];
+}
+// Load theme file
+if (isset($USER['theme']) && !strstr($USER['theme'], '/') && is_dir('themes/' . $USER['theme'])) {
+        $CONFIG['theme'] = strtr($USER['theme'], '$/\\:*?"\'<>|`', '____________');
+} else {
+        unset($USER['theme']);
+}
+
+if (!file_exists("themes/{$CONFIG['theme']}/theme.php")) $CONFIG['theme'] = 'classic';
+require "themes/{$CONFIG['theme']}/theme.php";
+require "include/themes.inc.php";  //All Fallback Theme Templates and Functions
+$THEME_DIR = "themes/{$CONFIG['theme']}/";
+
+
+// Process language selection if present in URI or in user profile or try
+// autodetection if default charset is utf-8
+if (!empty($_GET['lang']))
+{
+        $USER['lang'] = ereg("^[a-z0-9_-]*$", $_GET['lang']) ? $_GET['lang'] : $CONFIG['lang'];
+}
+
+if (isset($USER['lang']) && !strstr($USER['lang'], '/') && file_exists('lang/' . $USER['lang'] . '.php'))
+{
+        $CONFIG['default_lang'] = $CONFIG['lang'];          // Save default language
+        $CONFIG['lang'] = strtr($USER['lang'], '$/\\:*?"\'<>|`', '____________');
+}
+elseif ($CONFIG['charset'] == 'utf-8')
+{
+        include('include/select_lang.inc.php');
+        if (file_exists('lang/' . $USER['lang'] . '.php'))
+        {
+                $CONFIG['default_lang'] = $CONFIG['lang'];      // Save default language
+                $CONFIG['lang'] = $USER['lang'];
+        }
+}
+else
+{
+        unset($USER['lang']);
+}
+
+if (isset($CONFIG['default_lang']) && ($CONFIG['default_lang']==$CONFIG['lang']))
+{
+                unset($CONFIG['default_lang']);
+}
+
+if (!file_exists("lang/{$CONFIG['lang']}.php"))
+  $CONFIG['lang'] = 'english';
+
+// We load the chosen language file
+require "lang/{$CONFIG['lang']}.php";
+
+// Include and process fallback here if lang <> english
+if($CONFIG['lang'] != 'english' && $CONFIG['language_fallback']==1 ){
+                require "include/langfallback.inc.php";
+}
+
+
+// See if the fav cookie is set else set it
+if (isset($_COOKIE[$CONFIG['cookie_name'] . '_fav'])) {
+        $FAVPICS = @unserialize(@base64_decode($_COOKIE[$CONFIG['cookie_name'] . '_fav']));
+        foreach ($FAVPICS as $key => $id ){
+                $FAVPICS[$key] = (int)$id; //protect against sql injection attacks
+        }
+} else {
+        $FAVPICS = array();
+}
+
+// If the person is logged in get favs from DB those in the DB have precedence
+if (USER_ID > 0){
+                $sql = "SELECT user_favpics FROM {$CONFIG['TABLE_FAVPICS']} WHERE user_id = ".USER_ID;
+                $results = cpg_db_query($sql);
+                $row = mysql_fetch_array($results);
+                if (!empty($row['user_favpics'])){
+                                $FAVPICS = @unserialize(@base64_decode($row['user_favpics']));
+                }else{
+                                $FAVPICS = array();
+                }
+}
+
+// If referer is set in URL and it contains 'http' or 'script' texts then set it to 'index.php' script
+if (isset($_GET['referer'])) {
+        if (preg_match('/((\%3C)|<)[^\n]+((\%3E)|>)|(.*http.*)|(.*script.*)/i', $_GET['referer'])) {
+                $_GET['referer'] = 'index.php';
+        }
+}
+
+/**
+ * CPGPluginAPI::action('page_start',null)
+ *
+ * Executes page_start action on all plugins
+ *
+ * @param null
+ * @return N/A
+ **/
+
+CPGPluginAPI::action('page_start',null);
+
+// load the main template
+load_template();
+$CONFIG['template_loaded'] = true;
+
+// Remove expired bans
+$now = date('Y-m-d H:i:s');
+cpg_db_query("DELETE FROM {$CONFIG['TABLE_BANNED']} WHERE expiry < '$now'");
+// Check if the user is banned
+$user_id = USER_ID;
+$result = cpg_db_query("SELECT * FROM {$CONFIG['TABLE_BANNED']} WHERE (ip_addr='$raw_ip' OR ip_addr='$hdr_ip' OR user_id=$user_id) AND brute_force=0");
+if (mysql_num_rows($result)) {
+        pageheader($lang_error);
+        msg_box($lang_info, $lang_errors['banned']);
+        pagefooter();
+        exit;
+}
+mysql_free_result($result);
+
+// Retrieve the "private" album set
+if (!GALLERY_ADMIN_MODE && $CONFIG['allow_private_albums']) get_private_album_set();
+
+if (!USER_IS_ADMIN && $CONFIG['offline'] && !strstr($_SERVER["SCRIPT_NAME"],'login')) {
+        pageheader($lang_errors['offline_title']);
+        msg_box($lang_errors['offline_title'], $lang_errors['offline_text']);
+        pagefooter();
+        exit;
+}
+
+// kick user into user_admin_mode (needed to fix "removed user mode for users" when upgrading)
+if (USER_ID && !USER_IS_ADMIN && !$USER['am']) { // user is logged in, but is not gallery admin and not in admin mode
+        $USER['am'] = 1;
+        pageheader($lang_info, "<META http-equiv=\"refresh\" content=\"1;url=$referer\">");
+        msg_box($lang_info, 'Sending you to admin mode', $lang_continue, $referer);
+        pagefooter();
+        ob_end_flush();
+        die();
+}
+
+?>
diff -x .svn -aruN 1.4.24.src/include/iptc.inc.php 1.4.25.src/include/iptc.inc.php
--- 1.4.24.src/include/iptc.inc.php	2009-05-21 15:03:09.000000000 -0500
+++ 1.4.25.src/include/iptc.inc.php	2009-05-26 11:25:44.000000000 -0500
@@ -1,65 +1,65 @@
-<?php
-/*************************
-  Coppermine Photo Gallery
-  ************************
-  Copyright (c) 2003-2009 Coppermine Dev Team
-  v1.1 originally written by Gregory DEMAR
-
-  This program is free software; you can redistribute it and/or modify
-  it under the terms of the GNU General Public License version 3
-  as published by the Free Software Foundation.
-  
-  ********************************************
-  Coppermine version: 1.4.24
-  $HeadURL: https://coppermine.svn.sourceforge.net/svnroot/coppermine/trunk/cpg1.4.x/include/iptc.inc.php $
-  $Revision: 5969 $
-  $Author: gaugau $
-  $Date: 2009-05-21 22:03:33 +0200 (Do, 21 Mai 2009) $
-**********************************************/
-
-function strip_IPTC($data) {
-    if (is_array($data)) {
-        foreach ($data as $key=>$item) {
-             $data[$key]=strip_IPTC($item);
-        }
-    } else {
-         $data=htmlentities(strip_tags(trim($data,"\x7f..\xff\x0..\x1f")),ENT_QUOTES); //sanitize data against sql/html injection; trim any nongraphical non-ASCII character:
-    }
-    return $data;
-}
-
-function get_IPTC($filename) {
-        $IPTC_data=array();
-        $size = GetImageSize ($filename, $info);
-        if (isset($info["APP13"])) {
-            $iptc = iptcparse($info["APP13"]);
-            if (is_array($iptc)) {
-                $IPTC_data=array(        "Title"                        =>         $iptc["2#005"][0],        # Max 65 octets, non-repeatable, alphanumeric
-                                        "Urgency"                =>         $iptc["2#010"][0],        # Max 1 octet, non-repeatable, numeric, 1 - High, 8 - Low
-                                        "Category"                =>         $iptc["2#015"][0],        # Max 3 octets, non-repeatable, alpha
-                                        "SubCategories"                =>         $iptc["2#020"],                # Max 32 octets, repeatable, alphanumeric
-                                        "Keywords"                =>         $iptc["2#025"],                # Max 64 octets, repeatable, alphanumeric
-                                        "Instructions"                =>         $iptc["2#040"][0],        # Max 256 octets, non-repeatable, alphanumeric
-                                        "CreationDate"                =>         $iptc["2#055"][0],        # Max 8 octets, non-repeatable, numeric, YYYYMMDD
-                                        "CreationTime"                =>         $iptc["2#060"][0],        # Max 11 octets, non-repeatable, numeric+-, HHMMSS(+|-)HHMM
-                                        "ProgramUsed"                =>         $iptc["2#065"][0],        # Max 32 octets, non-repeatable, alphanumeric
-                                        "Author"                =>         $iptc["2#080"][0],        #!Max 32 octets, repeatable, alphanumeric
-                                        "Position"                =>         $iptc["2#085"][0],        #!Max 32 octets, repeatable, alphanumeric
-                                        "City"                        =>         $iptc["2#090"][0],        # Max 32 octets, non-repeatable, alphanumeric
-                                        "State"                        =>         $iptc["2#095"][0],        # Max 32 octets, non-repeatable, alphanumeric
-                                        "Country"                =>         $iptc["2#101"][0],        # Max 64 octets, non-repeatable, alphanumeric
-                                        "TransmissionReference"        =>         $iptc["2#103"][0],        # Max 32 octets, non-repeatable, alphanumeric
-                                        "Headline"                =>         $iptc["2#105"][0],        # Max 256 octets, non-repeatable, alphanumeric
-                                        "Credit"                =>         $iptc["2#110"][0],        # Max 32 octets, non-repeatable, alphanumeric
-                                        "Source"                =>         $iptc["2#115"][0],        # Max 32 octets, non-repeatable, alphanumeric
-                                        "Copyright"                =>         $iptc["2#116"][0],        # Max 128 octets, non-repeatable, alphanumeric
-                                        "Caption"                =>         $iptc["2#120"][0],        # Max 2000 octets, non-repeatable, alphanumeric
-                                        "CaptionWriter"                =>         $iptc["2#122"][0],       # Max 32 octets, non-repeatable, alphanumeric
-                );
-                $IPTC_data=strip_IPTC($IPTC_data); //sanitize data against sql/html injection; trim any nongraphical non-ASCII character:
-                $IPTC_data=filter_content($IPTC_data);   //run the data against the bad word list
-            }
-        }
-return $IPTC_data;
-}
-?>
+<?php
+/*************************
+  Coppermine Photo Gallery
+  ************************
+  Copyright (c) 2003-2009 Coppermine Dev Team
+  v1.1 originally written by Gregory DEMAR
+
+  This program is free software; you can redistribute it and/or modify
+  it under the terms of the GNU General Public License version 3
+  as published by the Free Software Foundation.
+  
+  ********************************************
+  Coppermine version: 1.4.25
+  $HeadURL: https://coppermine.svn.sourceforge.net/svnroot/coppermine/trunk/cpg1.4.x/include/iptc.inc.php $
+  $Revision: 5997 $
+  $Author: gaugau $
+  $Date: 2009-05-26 08:43:24 +0200 (Di, 26 Mai 2009) $
+**********************************************/
+
+function strip_IPTC($data) {
+    if (is_array($data)) {
+        foreach ($data as $key=>$item) {
+             $data[$key]=strip_IPTC($item);
+        }
+    } else {
+         $data=htmlentities(strip_tags(trim($data,"\x7f..\xff\x0..\x1f")),ENT_QUOTES); //sanitize data against sql/html injection; trim any nongraphical non-ASCII character:
+    }
+    return $data;
+}
+
+function get_IPTC($filename) {
+        $IPTC_data=array();
+        $size = GetImageSize ($filename, $info);
+        if (isset($info["APP13"])) {
+            $iptc = iptcparse($info["APP13"]);
+            if (is_array($iptc)) {
+                $IPTC_data=array(        "Title"                        =>         $iptc["2#005"][0],        # Max 65 octets, non-repeatable, alphanumeric
+                                        "Urgency"                =>         $iptc["2#010"][0],        # Max 1 octet, non-repeatable, numeric, 1 - High, 8 - Low
+                                        "Category"                =>         $iptc["2#015"][0],        # Max 3 octets, non-repeatable, alpha
+                                        "SubCategories"                =>         $iptc["2#020"],                # Max 32 octets, repeatable, alphanumeric
+                                        "Keywords"                =>         $iptc["2#025"],                # Max 64 octets, repeatable, alphanumeric
+                                        "Instructions"                =>         $iptc["2#040"][0],        # Max 256 octets, non-repeatable, alphanumeric
+                                        "CreationDate"                =>         $iptc["2#055"][0],        # Max 8 octets, non-repeatable, numeric, YYYYMMDD
+                                        "CreationTime"                =>         $iptc["2#060"][0],        # Max 11 octets, non-repeatable, numeric+-, HHMMSS(+|-)HHMM
+                                        "ProgramUsed"                =>         $iptc["2#065"][0],        # Max 32 octets, non-repeatable, alphanumeric
+                                        "Author"                =>         $iptc["2#080"][0],        #!Max 32 octets, repeatable, alphanumeric
+                                        "Position"                =>         $iptc["2#085"][0],        #!Max 32 octets, repeatable, alphanumeric
+                                        "City"                        =>         $iptc["2#090"][0],        # Max 32 octets, non-repeatable, alphanumeric
+                                        "State"                        =>         $iptc["2#095"][0],        # Max 32 octets, non-repeatable, alphanumeric
+                                        "Country"                =>         $iptc["2#101"][0],        # Max 64 octets, non-repeatable, alphanumeric
+                                        "TransmissionReference"        =>         $iptc["2#103"][0],        # Max 32 octets, non-repeatable, alphanumeric
+                                        "Headline"                =>         $iptc["2#105"][0],        # Max 256 octets, non-repeatable, alphanumeric
+                                        "Credit"                =>         $iptc["2#110"][0],        # Max 32 octets, non-repeatable, alphanumeric
+                                        "Source"                =>         $iptc["2#115"][0],        # Max 32 octets, non-repeatable, alphanumeric
+                                        "Copyright"                =>         $iptc["2#116"][0],        # Max 128 octets, non-repeatable, alphanumeric
+                                        "Caption"                =>         $iptc["2#120"][0],        # Max 2000 octets, non-repeatable, alphanumeric
+                                        "CaptionWriter"                =>         $iptc["2#122"][0],       # Max 32 octets, non-repeatable, alphanumeric
+                );
+                $IPTC_data=strip_IPTC($IPTC_data); //sanitize data against sql/html injection; trim any nongraphical non-ASCII character:
+                $IPTC_data=filter_content($IPTC_data);   //run the data against the bad word list
+            }
+        }
+return $IPTC_data;
+}
+?>
diff -x .svn -aruN 1.4.24.src/include/keyword.inc.php 1.4.25.src/include/keyword.inc.php
--- 1.4.24.src/include/keyword.inc.php	2009-05-21 15:03:09.000000000 -0500
+++ 1.4.25.src/include/keyword.inc.php	2009-05-26 11:25:42.000000000 -0500
@@ -1,75 +1,75 @@
-<?php
-/*************************
-  Coppermine Photo Gallery
-  ************************
-  Copyright (c) 2003-2009 Coppermine Dev Team
-  v1.1 originally written by Gregory DEMAR
-
-  This program is free software; you can redistribute it and/or modify
-  it under the terms of the GNU General Public License version 3
-  as published by the Free Software Foundation.
-  
-  ********************************************
-  Coppermine version: 1.4.24
-  $HeadURL: https://coppermine.svn.sourceforge.net/svnroot/coppermine/trunk/cpg1.4.x/include/keyword.inc.php $
-  $Revision: 5969 $
-  $Author: gaugau $
-  $Date: 2009-05-21 22:03:33 +0200 (Do, 21 Mai 2009) $
-**********************************************/
-
-if (!defined('IN_COPPERMINE')) { die('Not in Coppermine...');}
-
-// ADDED QUICK KEYWORDS FUNCTIONALITY 8/6/2004
-
-$result = cpg_db_query("select keywords FROM {$CONFIG['TABLE_PICTURES']} WHERE keywords <> '' $ALBUM_SET");
-if (mysql_num_rows($result)) {
-
-  // Grab all keywords
-  print '<br />';
-  starttable("100%", $lang_search_php['keyword_list_title']);
-
-
-  // Find unique keywords
-  $keywords_array = array();
-
-  while (list($keywords) = mysql_fetch_row($result)) {
-      $array = explode(" ",$keywords);
-
-      foreach($array as $word)
-      {
-       if (!in_array($word = utf_strtolower($word),$keywords_array)) $keywords_array[] = $word;
-      }
-  }
-
-  // Sort selected keywords
-  sort($keywords_array);
-  $count = count($keywords_array);
-
-  // Result to table
-  echo '<tr><td class="tableb">' ;
-  for ($i = 0; $i < $count; $i++) {
-    if ($keywords_array[$i]) {     // Eliminates Null Keywords
-    echo "<a href=\"thumbnails.php?album=search&amp;search=".$keywords_array[$i]."\">$keywords_array[$i]</a>";
-    if ($i<$count-1) {                     // Eliminates Trailing Pipe after last keyword
-      echo " | ";
-    }
-    }
-  }
-  echo "</td></tr>" ;
-  if (GALLERY_ADMIN_MODE == true){
-    $url = basename($_SERVER['PHP_SELF']);
-    if ($url != "keywordmgr.php"){
-    echo '<tr><td class="tableb" align="center">';
-    echo '<a href="keywordmgr.php" class="admin_menu">' . $lang_search_php['edit_keywords'] . '</a>';
-    echo "</td></tr>" ;
-    }
-  } else {
-    echo '<tr><td class="tableb" align="center">';
-    echo $lang_search_php['keyword_msg'];
-    echo "</td></tr>" ;
-  }
-
-  endtable();
-}
-ob_end_flush();
+<?php
+/*************************
+  Coppermine Photo Gallery
+  ************************
+  Copyright (c) 2003-2009 Coppermine Dev Team
+  v1.1 originally written by Gregory DEMAR
+
+  This program is free software; you can redistribute it and/or modify
+  it under the terms of the GNU General Public License version 3
+  as published by the Free Software Foundation.
+  
+  ********************************************
+  Coppermine version: 1.4.25
+  $HeadURL: https://coppermine.svn.sourceforge.net/svnroot/coppermine/trunk/cpg1.4.x/include/keyword.inc.php $
+  $Revision: 5997 $
+  $Author: gaugau $
+  $Date: 2009-05-26 08:43:24 +0200 (Di, 26 Mai 2009) $
+**********************************************/
+
+if (!defined('IN_COPPERMINE')) { die('Not in Coppermine...');}
+
+// ADDED QUICK KEYWORDS FUNCTIONALITY 8/6/2004
+
+$result = cpg_db_query("select keywords FROM {$CONFIG['TABLE_PICTURES']} WHERE keywords <> '' $ALBUM_SET");
+if (mysql_num_rows($result)) {
+
+  // Grab all keywords
+  print '<br />';
+  starttable("100%", $lang_search_php['keyword_list_title']);
+
+
+  // Find unique keywords
+  $keywords_array = array();
+
+  while (list($keywords) = mysql_fetch_row($result)) {
+      $array = explode(" ",$keywords);
+
+      foreach($array as $word)
+      {
+       if (!in_array($word = utf_strtolower($word),$keywords_array)) $keywords_array[] = $word;
+      }
+  }
+
+  // Sort selected keywords
+  sort($keywords_array);
+  $count = count($keywords_array);
+
+  // Result to table
+  echo '<tr><td class="tableb">' ;
+  for ($i = 0; $i < $count; $i++) {
+    if ($keywords_array[$i]) {     // Eliminates Null Keywords
+    echo "<a href=\"thumbnails.php?album=search&amp;search=".$keywords_array[$i]."\">$keywords_array[$i]</a>";
+    if ($i<$count-1) {                     // Eliminates Trailing Pipe after last keyword
+      echo " | ";
+    }
+    }
+  }
+  echo "</td></tr>" ;
+  if (GALLERY_ADMIN_MODE == true){
+    $url = basename($_SERVER['PHP_SELF']);
+    if ($url != "keywordmgr.php"){
+    echo '<tr><td class="tableb" align="center">';
+    echo '<a href="keywordmgr.php" class="admin_menu">' . $lang_search_php['edit_keywords'] . '</a>';
+    echo "</td></tr>" ;
+    }
+  } else {
+    echo '<tr><td class="tableb" align="center">';
+    echo $lang_search_php['keyword_msg'];
+    echo "</td></tr>" ;
+  }
+
+  endtable();
+}
+ob_end_flush();
 ?>
\ No newline at end of file
diff -x .svn -aruN 1.4.24.src/include/langfallback.inc.php 1.4.25.src/include/langfallback.inc.php
--- 1.4.24.src/include/langfallback.inc.php	2009-05-21 15:03:09.000000000 -0500
+++ 1.4.25.src/include/langfallback.inc.php	2009-05-26 11:25:44.000000000 -0500
@@ -1,527 +1,527 @@
-<?php
-/*************************
-  Coppermine Photo Gallery
-  ************************
-  Copyright (c) 2003-2009 Coppermine Dev Team
-  v1.1 originally written by Gregory DEMAR
-
-  This program is free software; you can redistribute it and/or modify
-  it under the terms of the GNU General Public License version 3
-  as published by the Free Software Foundation.
-  
-  ********************************************
-  Coppermine version: 1.4.24
-  $HeadURL: https://coppermine.svn.sourceforge.net/svnroot/coppermine/trunk/cpg1.4.x/include/langfallback.inc.php $
-  $Revision: 5969 $
-  $Author: gaugau $
-  $Date: 2009-05-21 22:03:33 +0200 (Do, 21 Mai 2009) $
-**********************************************/
-
-if (!defined('IN_COPPERMINE')) { die('Not in Coppermine...');}
-
-$lang_charset = cpg_lang_var("lang_charset");
-
-$lang_text_dir = cpg_lang_var("lang_text_dir");
-
-// Some common strings
-$lang_yes = cpg_lang_var("lang_yes");
-$lang_no  = cpg_lang_var("lang_no");
-$lang_back = cpg_lang_var("lang_back");
-$lang_continue = cpg_lang_var("lang_continue");
-$lang_info = cpg_lang_var("lang_info");
-$lang_error = cpg_lang_var("lang_error");
-$lang_check_uncheck_all = cpg_lang_var("lang_check_uncheck_all");
-
-$lang_bbcode_help = cpg_lang_var("lang_bbcode_help");
-$lang_bbcode_help_title = cpg_lang_var("lang_bbcode_help_title");
-
-$lang_register_confirm_email = cpg_lang_var("lang_register_confirm_email");
-$lang_register_confirm_email = cpg_lang_var("lang_register_confirm_email");
-$lang_register_approve_email = cpg_lang_var("lang_register_approve_email");
-$lang_register_activated_email = cpg_lang_var("lang_register_activated_email");
-
-// info about translators and translated language
-$lang_translation_info_en = cpg_get_default_lang_var('lang_translation_info','english');
-$lang_translation_info = array_merge($lang_translation_info_en, $lang_translation_info);
-
-// shortcuts for Byte, Kilo, Mega
-$lang_byte_units_en = cpg_get_default_lang_var('lang_byte_units','english');
-$lang_byte_units = array_merge($lang_byte_units_en, $lang_byte_units);
-
-// Day of weeks and months
-if (!isset($lang_day_of_week)) $lang_day_of_week = cpg_get_default_lang_var('lang_day_of_week','english');
-if (!isset($lang_month)) $lang_month = cpg_get_default_lang_var('lang_month','english');
-
-
-$lang_meta_album_names_en = cpg_get_default_lang_var('lang_meta_album_names','english');
-$lang_meta_album_names = array_merge($lang_meta_album_names_en, $lang_meta_album_names);
-
-$lang_errors_en = cpg_get_default_lang_var('lang_errors','english');
-$lang_errors = array_merge($lang_errors_en, $lang_errors);
-
-// ------------------------------------------------------------------------- //
-// File theme.php
-// ------------------------------------------------------------------------- //
-$lang_main_menu_en = cpg_get_default_lang_var('lang_main_menu','english');
-$lang_main_menu = array_merge($lang_main_menu_en, $lang_main_menu);
-
-$lang_gallery_admin_menu_en = cpg_get_default_lang_var('lang_gallery_admin_menu','english');
-$lang_gallery_admin_menu = array_merge($lang_gallery_admin_menu_en, $lang_gallery_admin_menu);
-
-$lang_user_admin_menu_en = cpg_get_default_lang_var('lang_user_admin_menu','english');
-$lang_user_admin_menu = array_merge($lang_user_admin_menu_en, $lang_user_admin_menu);
-
-$lang_cat_list_en = cpg_get_default_lang_var('lang_cat_list','english');
-$lang_cat_list = array_merge($lang_cat_list_en, $lang_cat_list);
-
-$lang_album_list_en = cpg_get_default_lang_var('lang_album_list','english');
-$lang_album_list = array_merge($lang_album_list_en, $lang_album_list);
-
-$lang_thumb_view_en = cpg_get_default_lang_var('lang_thumb_view','english');
-$lang_thumb_view = array_merge($lang_thumb_view_en, $lang_thumb_view);
-
-$lang_img_nav_bar_en = cpg_get_default_lang_var('lang_img_nav_bar','english');
-$lang_img_nav_bar = array_merge($lang_img_nav_bar_en, $lang_img_nav_bar);
-
-$lang_rate_pic_en = cpg_get_default_lang_var('lang_rate_pic','english');
-$lang_rate_pic = array_merge($lang_rate_pic_en, $lang_rate_pic);
-
-// ------------------------------------------------------------------------- //
-// File include/functions.inc.php
-// ------------------------------------------------------------------------- //
-
-$lang_cpg_die_en = cpg_get_default_lang_var('lang_cpg_die','english');
-$lang_cpg_die = isset($lang_cpg_die) ? $lang_cpg_die : $lang_cpg_die_en;
-
-$lang_display_thumbnails_en = cpg_get_default_lang_var('lang_display_thumbnails','english');
-$lang_display_thumbnails = array_merge($lang_display_thumbnails_en, $lang_display_thumbnails);
-
-$lang_get_pic_data_en = cpg_get_default_lang_var('lang_get_pic_data','english');
-$lang_get_pic_data = array_merge($lang_get_pic_data_en, $lang_get_pic_data);
-
-$lang_cpg_debug_output_en = cpg_get_default_lang_var('lang_cpg_debug_output','english');
-$lang_cpg_debug_output = array_merge($lang_cpg_debug_output_en, $lang_cpg_debug_output);
-
-$lang_language_selection_en = cpg_get_default_lang_var('lang_language_selection','english');
-$lang_language_selection = array_merge($lang_language_selection_en, $lang_language_selection);
-
-$lang_theme_selection_en = cpg_get_default_lang_var('lang_theme_selection','english');
-$lang_theme_selection = array_merge($lang_theme_selection_en, $lang_theme_selection);
-
-$lang_version_alert_en = cpg_get_default_lang_var('lang_version_alert','english');
-$lang_version_alert = array_merge($lang_version_alert_en, $lang_version_alert);
-
-// ------------------------------------------------------------------------- //
-// File include/smilies.inc.php
-// ------------------------------------------------------------------------- //
-if (defined('SMILIES_PHP')) {
-  $lang_smilies_inc_php_en = cpg_get_default_lang_var('lang_smilies_inc_php','english');
-  $lang_smilies_inc_php = array_merge($lang_smilies_inc_php_en, $lang_smilies_inc_php);
-}
-
-// ------------------------------------------------------------------------- //
-// File albmgr.php
-// ------------------------------------------------------------------------- //
-
-if (defined('ALBMGR_PHP')) {
-  $lang_albmgr_php_en = cpg_get_default_lang_var('lang_albmgr_php','english');
-  $lang_albmgr_php = array_merge($lang_albmgr_php_en, $lang_albmgr_php);
-}
-
-// ------------------------------------------------------------------------- //
-// File banning.php
-// ------------------------------------------------------------------------- //
-
-if (defined('BANNING_PHP')) {
-  $lang_banning_php_en = cpg_get_default_lang_var('lang_banning_php','english');
-  $lang_banning_php = array_merge($lang_banning_php_en, $lang_banning_php);
-}
-
-
-// ------------------------------------------------------------------------- //
-// File bridgemgr.php
-// ------------------------------------------------------------------------- //
-
-if (defined('BRIDGEMGR_PHP')) {
-  $lang_bridgemgr_php_en = cpg_get_default_lang_var('lang_bridgemgr_php','english');
-  $lang_bridgemgr_php = array_merge($lang_bridgemgr_php_en, $lang_bridgemgr_php);
-}
-
-
-// ------------------------------------------------------------------------- //
-// File catmgr.php
-// ------------------------------------------------------------------------- //
-
-if (defined('CATMGR_PHP')) {
-  $lang_catmgr_php_en = cpg_get_default_lang_var('lang_catmgr_php','english');
-  $lang_catmgr_php = array_merge($lang_catmgr_php_en, $lang_catmgr_php);
-}
-
-// ------------------------------------------------------------------------- //
-// File admin.php
-// ------------------------------------------------------------------------- //
-
-if (defined('ADMIN_PHP')) {
-  $lang_admin_php_en = cpg_get_default_lang_var('lang_admin_php','english');
-  $lang_admin_php = array_merge($lang_admin_php_en, $lang_admin_php);
-}
-
-
-
-// ------------------------------------------------------------------------- //
-// File calendar.php
-// ------------------------------------------------------------------------- //
-
-if (defined('CALENDAR_PHP')) {
-  $lang_calendar_php_en = cpg_get_default_lang_var('lang_calendar_php','english');
-  $lang_calendar_php = array_merge($lang_calendar_php_en, $lang_calendar_php);
-}
-
-// ------------------------------------------------------------------------- //
-// File db_ecard.php
-// ------------------------------------------------------------------------- //
-
-if (defined('DB_ECARD_PHP')) {
-  $lang_db_ecard_php_en = cpg_get_default_lang_var('lang_db_ecard_php','english');
-  $lang_db_ecard_php = array_merge($lang_db_ecard_php_en, $lang_db_ecard_php);
-}
-
-// ------------------------------------------------------------------------- //
-// File db_input.php
-// ------------------------------------------------------------------------- //
-
-if (defined('DB_INPUT_PHP')) {
-  $lang_db_input_php_en = cpg_get_default_lang_var('lang_db_input_php','english');
-  $lang_db_input_php = array_merge($lang_db_input_php_en, $lang_db_input_php);
-}
-
-// ------------------------------------------------------------------------- //
-// File delete.php
-// ------------------------------------------------------------------------- //
-
-if (defined('DELETE_PHP')) {
-  $lang_delete_php_en = cpg_get_default_lang_var('lang_delete_php','english');
-  $lang_delete_php = array_merge($lang_delete_php_en, $lang_delete_php);
-}
-
-// ------------------------------------------------------------------------- //
-// File displayecard.php
-// ------------------------------------------------------------------------- //
-
-if (defined('DISPLAYECARD_PHP')) {
-  $lang_display_image_php_en = cpg_get_default_lang_var('lang_display_image_php','english');
-  $lang_display_image_php = array_merge($lang_display_image_php_en, $lang_display_image_php);
-}
-
-// ------------------------------------------------------------------------- //
-// File displayimage.php
-// ------------------------------------------------------------------------- //
-
-if (defined('DISPLAYIMAGE_PHP')) {
-  $lang_display_image_php_en = cpg_get_default_lang_var('lang_display_image_php','english');
-  $lang_display_image_php = array_merge($lang_display_image_php_en, $lang_display_image_php);
-
-  $lang_picinfo_en = cpg_get_default_lang_var('lang_picinfo','english');
-  $lang_picinfo = array_merge($lang_picinfo_en, $lang_picinfo);
-
-
-$lang_display_comments_en = cpg_get_default_lang_var('lang_display_comments','english');
-$lang_display_comments = array_merge($lang_display_comments_en, $lang_display_comments);
-
-$lang_fullsize_popup_en = cpg_get_default_lang_var('lang_fullsize_popup','english');
-$lang_fullsize_popup = array_merge($lang_fullsize_popup_en, $lang_fullsize_popup);
-
-}
-
-// ------------------------------------------------------------------------- //
-// File ecard.php
-// ------------------------------------------------------------------------- //
-
-if (defined('ECARDS_PHP') || defined('DISPLAYECARD_PHP')) {
-  $lang_ecard_php_en = cpg_get_default_lang_var('lang_ecard_php','english');
-  $lang_ecard_php = array_merge($lang_ecard_php_en, $lang_ecard_php);
-}
-
-// ------------------------------------------------------------------------- //
-// File editpics.php
-// ------------------------------------------------------------------------- //
-
-if (defined('EDITPICS_PHP')) {
-  $lang_editpics_php_en = cpg_get_default_lang_var('lang_editpics_php','english');
-  $lang_editpics_php = array_merge($lang_editpics_php_en, $lang_editpics_php);
-}
-
-// ------------------------------------------------------------------------- //
-// File faq.php
-// ------------------------------------------------------------------------- //
-
-if (defined('FAQ_PHP')) {
-  $lang_faq_php_en = cpg_get_default_lang_var('lang_faq_php','english');
-  $lang_faq_php = array_merge($lang_faq_php_en, $lang_faq_php);
-}
-
-if (defined('FAQ_PHP')) {
-	$lang_faq_data_en = cpg_get_default_lang_var('lang_faq_data','english');
-	 if (!isset($lang_faq_data)) $lang_faq_data = $lang_faq_data_en;
-}
-
-// ------------------------------------------------------------------------- //
-// File forgot_passwd.php
-// ------------------------------------------------------------------------- //
-
-if (defined('FORGOT_PASSWD_PHP')) {
-  $lang_forgot_passwd_php_en = cpg_get_default_lang_var('lang_forgot_passwd_php','english');
-  $lang_forgot_passwd_php = array_merge($lang_forgot_passwd_php_en, $lang_forgot_passwd_php);
-}
-
-// ------------------------------------------------------------------------- //
-// File groupmgr.php
-// ------------------------------------------------------------------------- //
-
-if (defined('GROUPMGR_PHP')) {
-  $lang_groupmgr_php_en = cpg_get_default_lang_var('lang_groupmgr_php','english');
-  $lang_groupmgr_php = array_merge($lang_groupmgr_php_en, $lang_groupmgr_php);
-}
-
-// ------------------------------------------------------------------------- //
-// File index.php
-// ------------------------------------------------------------------------- //
-
-if (defined('INDEX_PHP')) {
-  $lang_index_php_en = cpg_get_default_lang_var('lang_index_php','english');
-  $lang_index_php = array_merge($lang_index_php_en, $lang_index_php);
-
-
-$lang_album_admin_menu_en = cpg_get_default_lang_var('lang_album_admin_menu','english');
-$lang_album_admin_menu = array_merge($lang_album_admin_menu_en, $lang_album_admin_menu);
-
-$lang_list_categories_en = cpg_get_default_lang_var('lang_list_categories','english');
-$lang_list_categories = array_merge($lang_list_categories_en, $lang_list_categories);
-
-$lang_list_users_en = cpg_get_default_lang_var('lang_list_users','english');
-$lang_list_users = array_merge($lang_list_users_en, $lang_list_users);
-
-$lang_list_albums_en = cpg_get_default_lang_var('lang_list_albums','english');
-$lang_list_albums = array_merge($lang_list_albums_en, $lang_list_albums);
-}
-
-// ------------------------------------------------------------------------- //
-// File keywordmgr.php //cpg 1.4
-// ------------------------------------------------------------------------- //
-
-if (defined('KEYWORDMGR_PHP')) {
-  $lang_keywordmgr_php_en = cpg_get_default_lang_var('lang_keywordmgr_php','english');
-  $lang_keywordmgr_php = array_merge($lang_keywordmgr_php_en, $lang_keywordmgr_php);
-}
-
-// ------------------------------------------------------------------------- //
-// File login.php
-// ------------------------------------------------------------------------- //
-
-if (defined('LOGIN_PHP')) {
-  $lang_login_php_en = cpg_get_default_lang_var('lang_login_php','english');
-  $lang_login_php = array_merge($lang_login_php_en, $lang_login_php);
-}
-
-// ------------------------------------------------------------------------- //
-// File logout.php
-// ------------------------------------------------------------------------- //
-
-if (defined('LOGOUT_PHP')) {
-  $lang_logout_php_en = cpg_get_default_lang_var('lang_logout_php','english');
-  $lang_logout_php = array_merge($lang_logout_php_en, $lang_logout_php);
-}
-
-// ------------------------------------------------------------------------- //
-// File minibrowser.php
-// ------------------------------------------------------------------------- //
-
-if (defined('MINIBROWSER_PHP')) {
-  $lang_minibrowser_php_en = cpg_get_default_lang_var('lang_minibrowser_php','english');
-  $lang_minibrowser_php = array_merge($lang_minibrowser_php_en, $lang_minibrowser_php);
-}
-
-// ------------------------------------------------------------------------- //
-// File mode.php
-// ------------------------------------------------------------------------- //
-
-if (defined('MODE_PHP')) {
-  $lang_mode_php_en = cpg_get_default_lang_var('lang_mode_php','english');
-  $lang_mode_php = isset($lang_mode_php) ? $lang_mode_php : $lang_mode_php_en;
-}
-
-// ------------------------------------------------------------------------- //
-// File modifyalb.php
-// ------------------------------------------------------------------------- //
-
-if (defined('MODIFYALB_PHP')) {
-  $lang_modifyalb_php_en = cpg_get_default_lang_var('lang_modifyalb_php','english');
-  $lang_modifyalb_php = array_merge($lang_modifyalb_php_en, $lang_modifyalb_php);
-}
-
-// ------------------------------------------------------------------------- //
-// File picmgr.php
-// ------------------------------------------------------------------------- //
-
-if (defined('PICMGR_PHP')) {
-  $lang_picmgr_php_en = cpg_get_default_lang_var('lang_picmgr_php','english');
-  $lang_picmgr_php = array_merge($lang_picmgr_php_en, $lang_picmgr_php);
-}
-
-// ------------------------------------------------------------------------- //
-// File phpinfo.php
-// ------------------------------------------------------------------------- //
-
-if (defined('PHPINFO_PHP')) {
-  $lang_phpinfo_php_en = cpg_get_default_lang_var('lang_phpinfo_php','english');
-  $lang_phpinfo_php = array_merge($lang_phpinfo_php_en, $lang_phpinfo_php);
-}
-
-// ------------------------------------------------------------------------- //
-// File pluginmgr.php
-// ------------------------------------------------------------------------- //
-
-if (defined('PLUGINMGR_PHP')){
-  $lang_pluginmgr_php_en  = cpg_get_default_lang_var('lang_pluginmgr_php','english');
-  $lang_pluginmgr_php  = array_merge($lang_pluginmgr_php_en, $lang_pluginmgr_php);
-}
-
-$lang_plugin_api_en  = cpg_get_default_lang_var('lang_plugin_api','english');
-$lang_plugin_api  = array_merge($lang_plugin_api_en, $lang_plugin_api);
-
-// ------------------------------------------------------------------------- //
-// File ratepic.php
-// ------------------------------------------------------------------------- //
-
-if (defined('RATEPIC_PHP')) {
-  $lang_rate_pic_php_en = cpg_get_default_lang_var('lang_rate_pic_php','english');
-  $lang_rate_pic_php = array_merge($lang_rate_pic_php_en, $lang_rate_pic_php);
-}
-
-// ------------------------------------------------------------------------- //
-// File register.php
-// ------------------------------------------------------------------------- //
-
-if (defined('REGISTER_PHP') || defined('PROFILE_PHP')) {
-  $lang_register_php_en = cpg_get_default_lang_var('lang_register_php','english');
-  $lang_register_php = array_merge($lang_register_php_en, $lang_register_php);
-  if (!isset($lang_register_disclamer)) $lang_register_disclamer = cpg_lang_var("lang_register_disclamer");
-}
-
-// ------------------------------------------------------------------------- //
-// File report_file.php
-// ------------------------------------------------------------------------- //
-
-if (defined('REPORT_FILE_PHP') || defined('DISPLAYREPORT_PHP')) {
-  $lang_report_php_en = cpg_get_default_lang_var('lang_report_php','english');
-  $lang_report_php = array_merge($lang_report_php_en, $lang_report_php);
-}
-
-// ------------------------------------------------------------------------- //
-// File reviewcom.php
-// ------------------------------------------------------------------------- //
-
-if (defined('REVIEWCOM_PHP')) {
-  $lang_reviewcom_php_en = cpg_get_default_lang_var('lang_reviewcom_php','english');
-  $lang_reviewcom_php = array_merge($lang_reviewcom_php_en, $lang_reviewcom_php);
-}
-
-// ------------------------------------------------------------------------- //
-// File search.php - OK
-// ------------------------------------------------------------------------- //
-
-if (defined('SEARCH_PHP')) {
-  $lang_search_php_en = cpg_get_default_lang_var('lang_search_php','english');
-  $lang_search_php = array_merge($lang_search_php_en, $lang_search_php);
-  $lang_adv_opts_en = cpg_get_default_lang_var('lang_adv_opts','english');
-  $lang_adv_opts = array_merge($lang_adv_opts_en, $lang_adv_opts);
-}
-
-// ------------------------------------------------------------------------- //
-// File searchnew.php
-// ------------------------------------------------------------------------- //
-
-if (defined('SEARCHNEW_PHP')) {
-  $lang_search_new_php_en = cpg_get_default_lang_var('lang_search_new_php','english');
-  $lang_search_new_php = array_merge($lang_search_new_php_en, $lang_search_new_php);
-}
-
-// ------------------------------------------------------------------------- //
-// File stat_details.php
-// ------------------------------------------------------------------------- //
-
-if (defined('STAT_DETAILS_PHP')) {
-  $lang_stat_details_php_en = cpg_get_default_lang_var('lang_stat_details_php','english');
-  $lang_stat_details_php = array_merge($lang_stat_details_php_en, $lang_stat_details_php);
-}
-
-// ------------------------------------------------------------------------- //
-// File upload.php
-// ------------------------------------------------------------------------- //
-
-if (defined('UPLOAD_PHP')) {
-  $lang_upload_php_en = cpg_get_default_lang_var('lang_upload_php','english');
-  $lang_upload_php = array_merge($lang_upload_php_en, $lang_upload_php);
-}
-
-// ------------------------------------------------------------------------- //
-// File usermgr.php
-// ------------------------------------------------------------------------- //
-
-if (defined('USERMGR_PHP')) {
-  $lang_usermgr_php_en = cpg_get_default_lang_var('lang_usermgr_php','english');
-  $lang_usermgr_php = array_merge($lang_usermgr_php_en, $lang_usermgr_php);
-}
-
-// ------------------------------------------------------------------------- //
-// File util.php
-// ------------------------------------------------------------------------- //
-
-if (defined('UTIL_PHP')) {
-	$lang_util_php_en = cpg_get_default_lang_var('lang_util_php','english');
-	$lang_util_php = array_merge($lang_util_php_en, $lang_util_php);
-	$lang_util_desc_php_en = cpg_get_default_lang_var('lang_util_desc_php','english');
-	if (!isset($lang_util_desc_php)) $lang_util_desc_php = $lang_util_desc_php_en;
-}
-
-// ------------------------------------------------------------------------- //
-// File view_log.php - OK
-// ------------------------------------------------------------------------- //
-
-if (defined('VIEWLOG_PHP')) {
-  $lang_viewlog_php_en = cpg_get_default_lang_var('lang_viewlog_php','english');
-  $lang_viewlog_php = array_merge($lang_viewlog_php_en, $lang_viewlog_php);
-}
-
-if (defined('VOTEDETAILS_PHP')) {
-  $lang_votedetails_php_en = cpg_get_default_lang_var('lang_votedetails_php','english');
-  $lang_votedetails_php = array_merge($lang_votedetails_php_en, $lang_votedetails_php);
-}
-
-if (defined('HITDETAILS_PHP')) {
-  $lang_hitdetails_php_en = cpg_get_default_lang_var('lang_hitdetails_php','english');
-  $lang_hitdetails_php = array_merge($lang_hitdetails_php_en, $lang_hitdetails_php);
-}
-
-// ------------------------------------------------------------------------- //
-// File xp_publish.php
-// ------------------------------------------------------------------------- //
-
-if (defined('XP_PUBLISH_PHP')) {
-	$lang_xp_publish_php_en = cpg_get_default_lang_var('lang_xp_publish_php','english');
-	$lang_xp_publish_php = array_merge($lang_xp_publish_php_en, $lang_xp_publish_php);
-	$lang_xp_publish_required_en = cpg_get_default_lang_var('lang_xp_publish_required','english');
-	if (!isset($lang_xp_publish_required)) $lang_xp_publish_required = $lang_xp_publish_required_en;
-	$lang_xp_publish_client_en = cpg_get_default_lang_var('lang_xp_publish_client','english');
-	if (!isset($lang_xp_publish_client)) $lang_xp_publish_client =  $lang_xp_publish_client_en;
-	$lang_xp_publish_select_en = cpg_get_default_lang_var('lang_xp_publish_select','english');
-	if (!isset($lang_xp_publish_select)) $lang_xp_publish_select =  $lang_xp_publish_select_en;
-	$lang_xp_publish_testing_en = cpg_get_default_lang_var('lang_xp_publish_testing','english');
-	if (!isset($lang_xp_publish_testing)) $lang_xp_publish_testing =  $lang_xp_publish_testing_en;
-	$lang_xp_publish_notes_en = cpg_get_default_lang_var('lang_xp_publish_notes','english');
-	if (!isset($lang_xp_publish_notes)) $lang_xp_publish_notes =  $lang_xp_publish_notes_en;
-	$lang_xp_publish_flood_en = cpg_get_default_lang_var('lang_xp_publish_flood','english');
-	if (!isset($lang_xp_publish_flood)) $lang_xp_publish_flood =  $lang_xp_publish_flood_en;
-}
-
-?>
+<?php
+/*************************
+  Coppermine Photo Gallery
+  ************************
+  Copyright (c) 2003-2009 Coppermine Dev Team
+  v1.1 originally written by Gregory DEMAR
+
+  This program is free software; you can redistribute it and/or modify
+  it under the terms of the GNU General Public License version 3
+  as published by the Free Software Foundation.
+  
+  ********************************************
+  Coppermine version: 1.4.25
+  $HeadURL: https://coppermine.svn.sourceforge.net/svnroot/coppermine/trunk/cpg1.4.x/include/langfallback.inc.php $
+  $Revision: 5997 $
+  $Author: gaugau $
+  $Date: 2009-05-26 08:43:24 +0200 (Di, 26 Mai 2009) $
+**********************************************/
+
+if (!defined('IN_COPPERMINE')) { die('Not in Coppermine...');}
+
+$lang_charset = cpg_lang_var("lang_charset");
+
+$lang_text_dir = cpg_lang_var("lang_text_dir");
+
+// Some common strings
+$lang_yes = cpg_lang_var("lang_yes");
+$lang_no  = cpg_lang_var("lang_no");
+$lang_back = cpg_lang_var("lang_back");
+$lang_continue = cpg_lang_var("lang_continue");
+$lang_info = cpg_lang_var("lang_info");
+$lang_error = cpg_lang_var("lang_error");
+$lang_check_uncheck_all = cpg_lang_var("lang_check_uncheck_all");
+
+$lang_bbcode_help = cpg_lang_var("lang_bbcode_help");
+$lang_bbcode_help_title = cpg_lang_var("lang_bbcode_help_title");
+
+$lang_register_confirm_email = cpg_lang_var("lang_register_confirm_email");
+$lang_register_confirm_email = cpg_lang_var("lang_register_confirm_email");
+$lang_register_approve_email = cpg_lang_var("lang_register_approve_email");
+$lang_register_activated_email = cpg_lang_var("lang_register_activated_email");
+
+// info about translators and translated language
+$lang_translation_info_en = cpg_get_default_lang_var('lang_translation_info','english');
+$lang_translation_info = array_merge($lang_translation_info_en, $lang_translation_info);
+
+// shortcuts for Byte, Kilo, Mega
+$lang_byte_units_en = cpg_get_default_lang_var('lang_byte_units','english');
+$lang_byte_units = array_merge($lang_byte_units_en, $lang_byte_units);
+
+// Day of weeks and months
+if (!isset($lang_day_of_week)) $lang_day_of_week = cpg_get_default_lang_var('lang_day_of_week','english');
+if (!isset($lang_month)) $lang_month = cpg_get_default_lang_var('lang_month','english');
+
+
+$lang_meta_album_names_en = cpg_get_default_lang_var('lang_meta_album_names','english');
+$lang_meta_album_names = array_merge($lang_meta_album_names_en, $lang_meta_album_names);
+
+$lang_errors_en = cpg_get_default_lang_var('lang_errors','english');
+$lang_errors = array_merge($lang_errors_en, $lang_errors);
+
+// ------------------------------------------------------------------------- //
+// File theme.php
+// ------------------------------------------------------------------------- //
+$lang_main_menu_en = cpg_get_default_lang_var('lang_main_menu','english');
+$lang_main_menu = array_merge($lang_main_menu_en, $lang_main_menu);
+
+$lang_gallery_admin_menu_en = cpg_get_default_lang_var('lang_gallery_admin_menu','english');
+$lang_gallery_admin_menu = array_merge($lang_gallery_admin_menu_en, $lang_gallery_admin_menu);
+
+$lang_user_admin_menu_en = cpg_get_default_lang_var('lang_user_admin_menu','english');
+$lang_user_admin_menu = array_merge($lang_user_admin_menu_en, $lang_user_admin_menu);
+
+$lang_cat_list_en = cpg_get_default_lang_var('lang_cat_list','english');
+$lang_cat_list = array_merge($lang_cat_list_en, $lang_cat_list);
+
+$lang_album_list_en = cpg_get_default_lang_var('lang_album_list','english');
+$lang_album_list = array_merge($lang_album_list_en, $lang_album_list);
+
+$lang_thumb_view_en = cpg_get_default_lang_var('lang_thumb_view','english');
+$lang_thumb_view = array_merge($lang_thumb_view_en, $lang_thumb_view);
+
+$lang_img_nav_bar_en = cpg_get_default_lang_var('lang_img_nav_bar','english');
+$lang_img_nav_bar = array_merge($lang_img_nav_bar_en, $lang_img_nav_bar);
+
+$lang_rate_pic_en = cpg_get_default_lang_var('lang_rate_pic','english');
+$lang_rate_pic = array_merge($lang_rate_pic_en, $lang_rate_pic);
+
+// ------------------------------------------------------------------------- //
+// File include/functions.inc.php
+// ------------------------------------------------------------------------- //
+
+$lang_cpg_die_en = cpg_get_default_lang_var('lang_cpg_die','english');
+$lang_cpg_die = isset($lang_cpg_die) ? $lang_cpg_die : $lang_cpg_die_en;
+
+$lang_display_thumbnails_en = cpg_get_default_lang_var('lang_display_thumbnails','english');
+$lang_display_thumbnails = array_merge($lang_display_thumbnails_en, $lang_display_thumbnails);
+
+$lang_get_pic_data_en = cpg_get_default_lang_var('lang_get_pic_data','english');
+$lang_get_pic_data = array_merge($lang_get_pic_data_en, $lang_get_pic_data);
+
+$lang_cpg_debug_output_en = cpg_get_default_lang_var('lang_cpg_debug_output','english');
+$lang_cpg_debug_output = array_merge($lang_cpg_debug_output_en, $lang_cpg_debug_output);
+
+$lang_language_selection_en = cpg_get_default_lang_var('lang_language_selection','english');
+$lang_language_selection = array_merge($lang_language_selection_en, $lang_language_selection);
+
+$lang_theme_selection_en = cpg_get_default_lang_var('lang_theme_selection','english');
+$lang_theme_selection = array_merge($lang_theme_selection_en, $lang_theme_selection);
+
+$lang_version_alert_en = cpg_get_default_lang_var('lang_version_alert','english');
+$lang_version_alert = array_merge($lang_version_alert_en, $lang_version_alert);
+
+// ------------------------------------------------------------------------- //
+// File include/smilies.inc.php
+// ------------------------------------------------------------------------- //
+if (defined('SMILIES_PHP')) {
+  $lang_smilies_inc_php_en = cpg_get_default_lang_var('lang_smilies_inc_php','english');
+  $lang_smilies_inc_php = array_merge($lang_smilies_inc_php_en, $lang_smilies_inc_php);
+}
+
+// ------------------------------------------------------------------------- //
+// File albmgr.php
+// ------------------------------------------------------------------------- //
+
+if (defined('ALBMGR_PHP')) {
+  $lang_albmgr_php_en = cpg_get_default_lang_var('lang_albmgr_php','english');
+  $lang_albmgr_php = array_merge($lang_albmgr_php_en, $lang_albmgr_php);
+}
+
+// ------------------------------------------------------------------------- //
+// File banning.php
+// ------------------------------------------------------------------------- //
+
+if (defined('BANNING_PHP')) {
+  $lang_banning_php_en = cpg_get_default_lang_var('lang_banning_php','english');
+  $lang_banning_php = array_merge($lang_banning_php_en, $lang_banning_php);
+}
+
+
+// ------------------------------------------------------------------------- //
+// File bridgemgr.php
+// ------------------------------------------------------------------------- //
+
+if (defined('BRIDGEMGR_PHP')) {
+  $lang_bridgemgr_php_en = cpg_get_default_lang_var('lang_bridgemgr_php','english');
+  $lang_bridgemgr_php = array_merge($lang_bridgemgr_php_en, $lang_bridgemgr_php);
+}
+
+
+// ------------------------------------------------------------------------- //
+// File catmgr.php
+// ------------------------------------------------------------------------- //
+
+if (defined('CATMGR_PHP')) {
+  $lang_catmgr_php_en = cpg_get_default_lang_var('lang_catmgr_php','english');
+  $lang_catmgr_php = array_merge($lang_catmgr_php_en, $lang_catmgr_php);
+}
+
+// ------------------------------------------------------------------------- //
+// File admin.php
+// ------------------------------------------------------------------------- //
+
+if (defined('ADMIN_PHP')) {
+  $lang_admin_php_en = cpg_get_default_lang_var('lang_admin_php','english');
+  $lang_admin_php = array_merge($lang_admin_php_en, $lang_admin_php);
+}
+
+
+
+// ------------------------------------------------------------------------- //
+// File calendar.php
+// ------------------------------------------------------------------------- //
+
+if (defined('CALENDAR_PHP')) {
+  $lang_calendar_php_en = cpg_get_default_lang_var('lang_calendar_php','english');
+  $lang_calendar_php = array_merge($lang_calendar_php_en, $lang_calendar_php);
+}
+
+// ------------------------------------------------------------------------- //
+// File db_ecard.php
+// ------------------------------------------------------------------------- //
+
+if (defined('DB_ECARD_PHP')) {
+  $lang_db_ecard_php_en = cpg_get_default_lang_var('lang_db_ecard_php','english');
+  $lang_db_ecard_php = array_merge($lang_db_ecard_php_en, $lang_db_ecard_php);
+}
+
+// ------------------------------------------------------------------------- //
+// File db_input.php
+// ------------------------------------------------------------------------- //
+
+if (defined('DB_INPUT_PHP')) {
+  $lang_db_input_php_en = cpg_get_default_lang_var('lang_db_input_php','english');
+  $lang_db_input_php = array_merge($lang_db_input_php_en, $lang_db_input_php);
+}
+
+// ------------------------------------------------------------------------- //
+// File delete.php
+// ------------------------------------------------------------------------- //
+
+if (defined('DELETE_PHP')) {
+  $lang_delete_php_en = cpg_get_default_lang_var('lang_delete_php','english');
+  $lang_delete_php = array_merge($lang_delete_php_en, $lang_delete_php);
+}
+
+// ------------------------------------------------------------------------- //
+// File displayecard.php
+// ------------------------------------------------------------------------- //
+
+if (defined('DISPLAYECARD_PHP')) {
+  $lang_display_image_php_en = cpg_get_default_lang_var('lang_display_image_php','english');
+  $lang_display_image_php = array_merge($lang_display_image_php_en, $lang_display_image_php);
+}
+
+// ------------------------------------------------------------------------- //
+// File displayimage.php
+// ------------------------------------------------------------------------- //
+
+if (defined('DISPLAYIMAGE_PHP')) {
+  $lang_display_image_php_en = cpg_get_default_lang_var('lang_display_image_php','english');
+  $lang_display_image_php = array_merge($lang_display_image_php_en, $lang_display_image_php);
+
+  $lang_picinfo_en = cpg_get_default_lang_var('lang_picinfo','english');
+  $lang_picinfo = array_merge($lang_picinfo_en, $lang_picinfo);
+
+
+$lang_display_comments_en = cpg_get_default_lang_var('lang_display_comments','english');
+$lang_display_comments = array_merge($lang_display_comments_en, $lang_display_comments);
+
+$lang_fullsize_popup_en = cpg_get_default_lang_var('lang_fullsize_popup','english');
+$lang_fullsize_popup = array_merge($lang_fullsize_popup_en, $lang_fullsize_popup);
+
+}
+
+// ------------------------------------------------------------------------- //
+// File ecard.php
+// ------------------------------------------------------------------------- //
+
+if (defined('ECARDS_PHP') || defined('DISPLAYECARD_PHP')) {
+  $lang_ecard_php_en = cpg_get_default_lang_var('lang_ecard_php','english');
+  $lang_ecard_php = array_merge($lang_ecard_php_en, $lang_ecard_php);
+}
+
+// ------------------------------------------------------------------------- //
+// File editpics.php
+// ------------------------------------------------------------------------- //
+
+if (defined('EDITPICS_PHP')) {
+  $lang_editpics_php_en = cpg_get_default_lang_var('lang_editpics_php','english');
+  $lang_editpics_php = array_merge($lang_editpics_php_en, $lang_editpics_php);
+}
+
+// ------------------------------------------------------------------------- //
+// File faq.php
+// ------------------------------------------------------------------------- //
+
+if (defined('FAQ_PHP')) {
+  $lang_faq_php_en = cpg_get_default_lang_var('lang_faq_php','english');
+  $lang_faq_php = array_merge($lang_faq_php_en, $lang_faq_php);
+}
+
+if (defined('FAQ_PHP')) {
+	$lang_faq_data_en = cpg_get_default_lang_var('lang_faq_data','english');
+	 if (!isset($lang_faq_data)) $lang_faq_data = $lang_faq_data_en;
+}
+
+// ------------------------------------------------------------------------- //
+// File forgot_passwd.php
+// ------------------------------------------------------------------------- //
+
+if (defined('FORGOT_PASSWD_PHP')) {
+  $lang_forgot_passwd_php_en = cpg_get_default_lang_var('lang_forgot_passwd_php','english');
+  $lang_forgot_passwd_php = array_merge($lang_forgot_passwd_php_en, $lang_forgot_passwd_php);
+}
+
+// ------------------------------------------------------------------------- //
+// File groupmgr.php
+// ------------------------------------------------------------------------- //
+
+if (defined('GROUPMGR_PHP')) {
+  $lang_groupmgr_php_en = cpg_get_default_lang_var('lang_groupmgr_php','english');
+  $lang_groupmgr_php = array_merge($lang_groupmgr_php_en, $lang_groupmgr_php);
+}
+
+// ------------------------------------------------------------------------- //
+// File index.php
+// ------------------------------------------------------------------------- //
+
+if (defined('INDEX_PHP')) {
+  $lang_index_php_en = cpg_get_default_lang_var('lang_index_php','english');
+  $lang_index_php = array_merge($lang_index_php_en, $lang_index_php);
+
+
+$lang_album_admin_menu_en = cpg_get_default_lang_var('lang_album_admin_menu','english');
+$lang_album_admin_menu = array_merge($lang_album_admin_menu_en, $lang_album_admin_menu);
+
+$lang_list_categories_en = cpg_get_default_lang_var('lang_list_categories','english');
+$lang_list_categories = array_merge($lang_list_categories_en, $lang_list_categories);
+
+$lang_list_users_en = cpg_get_default_lang_var('lang_list_users','english');
+$lang_list_users = array_merge($lang_list_users_en, $lang_list_users);
+
+$lang_list_albums_en = cpg_get_default_lang_var('lang_list_albums','english');
+$lang_list_albums = array_merge($lang_list_albums_en, $lang_list_albums);
+}
+
+// ------------------------------------------------------------------------- //
+// File keywordmgr.php //cpg 1.4
+// ------------------------------------------------------------------------- //
+
+if (defined('KEYWORDMGR_PHP')) {
+  $lang_keywordmgr_php_en = cpg_get_default_lang_var('lang_keywordmgr_php','english');
+  $lang_keywordmgr_php = array_merge($lang_keywordmgr_php_en, $lang_keywordmgr_php);
+}
+
+// ------------------------------------------------------------------------- //
+// File login.php
+// ------------------------------------------------------------------------- //
+
+if (defined('LOGIN_PHP')) {
+  $lang_login_php_en = cpg_get_default_lang_var('lang_login_php','english');
+  $lang_login_php = array_merge($lang_login_php_en, $lang_login_php);
+}
+
+// ------------------------------------------------------------------------- //
+// File logout.php
+// ------------------------------------------------------------------------- //
+
+if (defined('LOGOUT_PHP')) {
+  $lang_logout_php_en = cpg_get_default_lang_var('lang_logout_php','english');
+  $lang_logout_php = array_merge($lang_logout_php_en, $lang_logout_php);
+}
+
+// ------------------------------------------------------------------------- //
+// File minibrowser.php
+// ------------------------------------------------------------------------- //
+
+if (defined('MINIBROWSER_PHP')) {
+  $lang_minibrowser_php_en = cpg_get_default_lang_var('lang_minibrowser_php','english');
+  $lang_minibrowser_php = array_merge($lang_minibrowser_php_en, $lang_minibrowser_php);
+}
+
+// ------------------------------------------------------------------------- //
+// File mode.php
+// ------------------------------------------------------------------------- //
+
+if (defined('MODE_PHP')) {
+  $lang_mode_php_en = cpg_get_default_lang_var('lang_mode_php','english');
+  $lang_mode_php = isset($lang_mode_php) ? $lang_mode_php : $lang_mode_php_en;
+}
+
+// ------------------------------------------------------------------------- //
+// File modifyalb.php
+// ------------------------------------------------------------------------- //
+
+if (defined('MODIFYALB_PHP')) {
+  $lang_modifyalb_php_en = cpg_get_default_lang_var('lang_modifyalb_php','english');
+  $lang_modifyalb_php = array_merge($lang_modifyalb_php_en, $lang_modifyalb_php);
+}
+
+// ------------------------------------------------------------------------- //
+// File picmgr.php
+// ------------------------------------------------------------------------- //
+
+if (defined('PICMGR_PHP')) {
+  $lang_picmgr_php_en = cpg_get_default_lang_var('lang_picmgr_php','english');
+  $lang_picmgr_php = array_merge($lang_picmgr_php_en, $lang_picmgr_php);
+}
+
+// ------------------------------------------------------------------------- //
+// File phpinfo.php
+// ------------------------------------------------------------------------- //
+
+if (defined('PHPINFO_PHP')) {
+  $lang_phpinfo_php_en = cpg_get_default_lang_var('lang_phpinfo_php','english');
+  $lang_phpinfo_php = array_merge($lang_phpinfo_php_en, $lang_phpinfo_php);
+}
+
+// ------------------------------------------------------------------------- //
+// File pluginmgr.php
+// ------------------------------------------------------------------------- //
+
+if (defined('PLUGINMGR_PHP')){
+  $lang_pluginmgr_php_en  = cpg_get_default_lang_var('lang_pluginmgr_php','english');
+  $lang_pluginmgr_php  = array_merge($lang_pluginmgr_php_en, $lang_pluginmgr_php);
+}
+
+$lang_plugin_api_en  = cpg_get_default_lang_var('lang_plugin_api','english');
+$lang_plugin_api  = array_merge($lang_plugin_api_en, $lang_plugin_api);
+
+// ------------------------------------------------------------------------- //
+// File ratepic.php
+// ------------------------------------------------------------------------- //
+
+if (defined('RATEPIC_PHP')) {
+  $lang_rate_pic_php_en = cpg_get_default_lang_var('lang_rate_pic_php','english');
+  $lang_rate_pic_php = array_merge($lang_rate_pic_php_en, $lang_rate_pic_php);
+}
+
+// ------------------------------------------------------------------------- //
+// File register.php
+// ------------------------------------------------------------------------- //
+
+if (defined('REGISTER_PHP') || defined('PROFILE_PHP')) {
+  $lang_register_php_en = cpg_get_default_lang_var('lang_register_php','english');
+  $lang_register_php = array_merge($lang_register_php_en, $lang_register_php);
+  if (!isset($lang_register_disclamer)) $lang_register_disclamer = cpg_lang_var("lang_register_disclamer");
+}
+
+// ------------------------------------------------------------------------- //
+// File report_file.php
+// ------------------------------------------------------------------------- //
+
+if (defined('REPORT_FILE_PHP') || defined('DISPLAYREPORT_PHP')) {
+  $lang_report_php_en = cpg_get_default_lang_var('lang_report_php','english');
+  $lang_report_php = array_merge($lang_report_php_en, $lang_report_php);
+}
+
+// ------------------------------------------------------------------------- //
+// File reviewcom.php
+// ------------------------------------------------------------------------- //
+
+if (defined('REVIEWCOM_PHP')) {
+  $lang_reviewcom_php_en = cpg_get_default_lang_var('lang_reviewcom_php','english');
+  $lang_reviewcom_php = array_merge($lang_reviewcom_php_en, $lang_reviewcom_php);
+}
+
+// ------------------------------------------------------------------------- //
+// File search.php - OK
+// ------------------------------------------------------------------------- //
+
+if (defined('SEARCH_PHP')) {
+  $lang_search_php_en = cpg_get_default_lang_var('lang_search_php','english');
+  $lang_search_php = array_merge($lang_search_php_en, $lang_search_php);
+  $lang_adv_opts_en = cpg_get_default_lang_var('lang_adv_opts','english');
+  $lang_adv_opts = array_merge($lang_adv_opts_en, $lang_adv_opts);
+}
+
+// ------------------------------------------------------------------------- //
+// File searchnew.php
+// ------------------------------------------------------------------------- //
+
+if (defined('SEARCHNEW_PHP')) {
+  $lang_search_new_php_en = cpg_get_default_lang_var('lang_search_new_php','english');
+  $lang_search_new_php = array_merge($lang_search_new_php_en, $lang_search_new_php);
+}
+
+// ------------------------------------------------------------------------- //
+// File stat_details.php
+// ------------------------------------------------------------------------- //
+
+if (defined('STAT_DETAILS_PHP')) {
+  $lang_stat_details_php_en = cpg_get_default_lang_var('lang_stat_details_php','english');
+  $lang_stat_details_php = array_merge($lang_stat_details_php_en, $lang_stat_details_php);
+}
+
+// ------------------------------------------------------------------------- //
+// File upload.php
+// ------------------------------------------------------------------------- //
+
+if (defined('UPLOAD_PHP')) {
+  $lang_upload_php_en = cpg_get_default_lang_var('lang_upload_php','english');
+  $lang_upload_php = array_merge($lang_upload_php_en, $lang_upload_php);
+}
+
+// ------------------------------------------------------------------------- //
+// File usermgr.php
+// ------------------------------------------------------------------------- //
+
+if (defined('USERMGR_PHP')) {
+  $lang_usermgr_php_en = cpg_get_default_lang_var('lang_usermgr_php','english');
+  $lang_usermgr_php = array_merge($lang_usermgr_php_en, $lang_usermgr_php);
+}
+
+// ------------------------------------------------------------------------- //
+// File util.php
+// ------------------------------------------------------------------------- //
+
+if (defined('UTIL_PHP')) {
+	$lang_util_php_en = cpg_get_default_lang_var('lang_util_php','english');
+	$lang_util_php = array_merge($lang_util_php_en, $lang_util_php);
+	$lang_util_desc_php_en = cpg_get_default_lang_var('lang_util_desc_php','english');
+	if (!isset($lang_util_desc_php)) $lang_util_desc_php = $lang_util_desc_php_en;
+}
+
+// ------------------------------------------------------------------------- //
+// File view_log.php - OK
+// ------------------------------------------------------------------------- //
+
+if (defined('VIEWLOG_PHP')) {
+  $lang_viewlog_php_en = cpg_get_default_lang_var('lang_viewlog_php','english');
+  $lang_viewlog_php = array_merge($lang_viewlog_php_en, $lang_viewlog_php);
+}
+
+if (defined('VOTEDETAILS_PHP')) {
+  $lang_votedetails_php_en = cpg_get_default_lang_var('lang_votedetails_php','english');
+  $lang_votedetails_php = array_merge($lang_votedetails_php_en, $lang_votedetails_php);
+}
+
+if (defined('HITDETAILS_PHP')) {
+  $lang_hitdetails_php_en = cpg_get_default_lang_var('lang_hitdetails_php','english');
+  $lang_hitdetails_php = array_merge($lang_hitdetails_php_en, $lang_hitdetails_php);
+}
+
+// ------------------------------------------------------------------------- //
+// File xp_publish.php
+// ------------------------------------------------------------------------- //
+
+if (defined('XP_PUBLISH_PHP')) {
+	$lang_xp_publish_php_en = cpg_get_default_lang_var('lang_xp_publish_php','english');
+	$lang_xp_publish_php = array_merge($lang_xp_publish_php_en, $lang_xp_publish_php);
+	$lang_xp_publish_required_en = cpg_get_default_lang_var('lang_xp_publish_required','english');
+	if (!isset($lang_xp_publish_required)) $lang_xp_publish_required = $lang_xp_publish_required_en;
+	$lang_xp_publish_client_en = cpg_get_default_lang_var('lang_xp_publish_client','english');
+	if (!isset($lang_xp_publish_client)) $lang_xp_publish_client =  $lang_xp_publish_client_en;
+	$lang_xp_publish_select_en = cpg_get_default_lang_var('lang_xp_publish_select','english');
+	if (!isset($lang_xp_publish_select)) $lang_xp_publish_select =  $lang_xp_publish_select_en;
+	$lang_xp_publish_testing_en = cpg_get_default_lang_var('lang_xp_publish_testing','english');
+	if (!isset($lang_xp_publish_testing)) $lang_xp_publish_testing =  $lang_xp_publish_testing_en;
+	$lang_xp_publish_notes_en = cpg_get_default_lang_var('lang_xp_publish_notes','english');
+	if (!isset($lang_xp_publish_notes)) $lang_xp_publish_notes =  $lang_xp_publish_notes_en;
+	$lang_xp_publish_flood_en = cpg_get_default_lang_var('lang_xp_publish_flood','english');
+	if (!isset($lang_xp_publish_flood)) $lang_xp_publish_flood =  $lang_xp_publish_flood_en;
+}
+
+?>
diff -x .svn -aruN 1.4.24.src/include/logger.inc.php 1.4.25.src/include/logger.inc.php
--- 1.4.24.src/include/logger.inc.php	2009-05-21 15:03:09.000000000 -0500
+++ 1.4.25.src/include/logger.inc.php	2009-05-26 11:25:44.000000000 -0500
@@ -1,175 +1,175 @@
-<?php
-/*************************
-  Coppermine Photo Gallery
-  ************************
-  Copyright (c) 2003-2009 Coppermine Dev Team
-  v1.1 originally written by Gregory DEMAR
-
-  This program is free software; you can redistribute it and/or modify
-  it under the terms of the GNU General Public License version 3
-  as published by the Free Software Foundation.
-  
-  ********************************************
-  Coppermine version: 1.4.24
-  $HeadURL: https://coppermine.svn.sourceforge.net/svnroot/coppermine/trunk/cpg1.4.x/include/logger.inc.php $
-  $Revision: 5969 $
-  $Author: gaugau $
-  $Date: 2009-05-21 22:03:33 +0200 (Do, 21 Mai 2009) $
-**********************************************/
-
-if (!defined('IN_COPPERMINE')) { die('Not in Coppermine...');}
-
-// Initiate defines
-define('CPG_SECURITY_LOG','security');
-define('CPG_GLOBAL_LOG','global');
-define('CPG_DATABASE_LOG','database');
-define('CPG_ACCESS_LOG','access');
-define('CPG_ERROR_LOG','error');
-
-define('CPG_LOG_ALL',2);
-define('CPG_LOG_NORMAL',1);
-define('CPG_NO_LOGGING',0);
-
-define('CPG_WEEK',604800);
-define('CPG_DAY',86400);
-define('CPG_HOUR',3600);
-
-// Writes log text to the log file
-function log_write( $text, $log = null ) {
-        if (is_null($log)) {
-                $log = CPG_GLOBAL_LOG;
-        }
-
-        $log = 'logs/'.$log.'.log.php';
-
-        if (!file_exists($log)) {
-                $log_header = implode('',file('logs/log_header.inc.php'));
-        } else {
-                       $log_header = '';
-        }
-
-        $fp = fopen($log,'a');
-        fwrite($fp,$log_header);
-        fwrite($fp,$text."\n");
-        fclose($fp);
-}
-
-
-// Reads log text from a log file
-function log_read( $log = null ) {
-        if (is_null($log)) {
-                $log = CPG_GLOBAL_LOG;
-        }
-
-        $log = 'logs/'.$log.'.log.php';
-
-        @include($log);
-}
-
-
-// Deletes a log file
-function log_delete( $log = null ) {
-        if (is_null($log)) {
-                $log_list = getloglist('logs/');
-                foreach ($log_list as $log) {
-                        unlink('logs/'.$log['filename']);
-                }
-        } else {
-                       unlink('logs/'.$log.'.log.php');
-        }
-        header('Location: viewlog.php');
-}
-
-
-// Returns all the log files in the log directory
-function& getloglist($folder)
-{
-    global $CONFIG;
-    $file_array = array();
-
-    $dir = opendir($folder);
-    while (($file = readdir($dir))!==false) {
-        if (is_file($folder . $file) && $file != 'log_header.inc.php') {
-                $file_array[] = array('filename'=>$file,'logname'=>str_replace('.log.php','',$file),'filesize'=>filesize($folder . $file) >> 10);
-        }
-    }
-    closedir($dir);
-
-    natcasesort($file_array);
-    return $file_array;
-}
-
-
-// The function spring_cleaning is a garbage collection routine used to purge a directory of old files.
-function& spring_cleaning($directory_path, $cache_time = CPG_HOUR, $exclusion_list = array('index.html')) {
-    global $CONFIG;
-
-    //Storage the deleted files
-    $deleted_list = array();
-
-    //First we get the transitory directory handle.
-    $directory_handle = opendir($directory_path);
-
-    // Exit if the directory cannot be opened.
-    if(!$directory_handle) {
-
-        // Return.
-        return;
-
-    }
-
-    // Now let's read through the directory contents.
-    while (!(($file = readdir($directory_handle)) === false)) {
-
-            // Avoid deleting the index page of the directory.
-            if (in_array($file,$exclusion_list)) {
-
-                // This is the index file, so we move on.
-                continue;
-
-            }
-
-            $dir_path = $directory_path."/".$file;
-
-            if (is_dir($dir_path)) {
-
-                // This is a directory, so we move on.
-                continue;
-
-            }
-
-            // We find out when the file was last accessed.
-            $access_time = filemtime($dir_path); // fileatime() returned incorrect value on Windows
-
-            // We find out the current time.
-            $current_time = time();
-
-            // We calculate the the delete time. We will delete anything older than $cache_time.
-            $delete_time = $current_time - $access_time;
-
-            // Now we compare the two.
-            if ($delete_time >= $cache_time) {
-
-                    // The file is old. We delete it.
-                    $deleted_list[] = $dir_path; // Store the name of the file getting deleted
-                    unlink($dir_path);
-            }
-
-    }
-
-    // Don't forget to close the directory.
-    closedir($directory_handle);
-
-    // For logging purposes
-    if ($CONFIG['log_mode']) {
-        for ( $i = 0; $i<count($deleted_list); $i++ ) {
-                log_write('Garbage collection deleted '.$deleted_list[$i].' at '.date("F j, Y, g:i a"),CPG_GLOBAL_LOG);
-        }
-    }
-    return $deleted_list;
-}
-
-if ($CONFIG['log_mode']) {
-        spring_cleaning('logs', CPG_DAY*2, array('log_header.inc.php'));
-}
-?>
+<?php
+/*************************
+  Coppermine Photo Gallery
+  ************************
+  Copyright (c) 2003-2009 Coppermine Dev Team
+  v1.1 originally written by Gregory DEMAR
+
+  This program is free software; you can redistribute it and/or modify
+  it under the terms of the GNU General Public License version 3
+  as published by the Free Software Foundation.
+  
+  ********************************************
+  Coppermine version: 1.4.25
+  $HeadURL: https://coppermine.svn.sourceforge.net/svnroot/coppermine/trunk/cpg1.4.x/include/logger.inc.php $
+  $Revision: 5997 $
+  $Author: gaugau $
+  $Date: 2009-05-26 08:43:24 +0200 (Di, 26 Mai 2009) $
+**********************************************/
+
+if (!defined('IN_COPPERMINE')) { die('Not in Coppermine...');}
+
+// Initiate defines
+define('CPG_SECURITY_LOG','security');
+define('CPG_GLOBAL_LOG','global');
+define('CPG_DATABASE_LOG','database');
+define('CPG_ACCESS_LOG','access');
+define('CPG_ERROR_LOG','error');
+
+define('CPG_LOG_ALL',2);
+define('CPG_LOG_NORMAL',1);
+define('CPG_NO_LOGGING',0);
+
+define('CPG_WEEK',604800);
+define('CPG_DAY',86400);
+define('CPG_HOUR',3600);
+
+// Writes log text to the log file
+function log_write( $text, $log = null ) {
+        if (is_null($log)) {
+                $log = CPG_GLOBAL_LOG;
+        }
+
+        $log = 'logs/'.$log.'.log.php';
+
+        if (!file_exists($log)) {
+                $log_header = implode('',file('logs/log_header.inc.php'));
+        } else {
+                       $log_header = '';
+        }
+
+        $fp = fopen($log,'a');
+        fwrite($fp,$log_header);
+        fwrite($fp,$text."\n");
+        fclose($fp);
+}
+
+
+// Reads log text from a log file
+function log_read( $log = null ) {
+        if (is_null($log)) {
+                $log = CPG_GLOBAL_LOG;
+        }
+
+        $log = 'logs/'.$log.'.log.php';
+
+        @include($log);
+}
+
+
+// Deletes a log file
+function log_delete( $log = null ) {
+        if (is_null($log)) {
+                $log_list = getloglist('logs/');
+                foreach ($log_list as $log) {
+                        unlink('logs/'.$log['filename']);
+                }
+        } else {
+                       unlink('logs/'.$log.'.log.php');
+        }
+        header('Location: viewlog.php');
+}
+
+
+// Returns all the log files in the log directory
+function& getloglist($folder)
+{
+    global $CONFIG;
+    $file_array = array();
+
+    $dir = opendir($folder);
+    while (($file = readdir($dir))!==false) {
+        if (is_file($folder . $file) && $file != 'log_header.inc.php') {
+                $file_array[] = array('filename'=>$file,'logname'=>str_replace('.log.php','',$file),'filesize'=>filesize($folder . $file) >> 10);
+        }
+    }
+    closedir($dir);
+
+    natcasesort($file_array);
+    return $file_array;
+}
+
+
+// The function spring_cleaning is a garbage collection routine used to purge a directory of old files.
+function& spring_cleaning($directory_path, $cache_time = CPG_HOUR, $exclusion_list = array('index.html')) {
+    global $CONFIG;
+
+    //Storage the deleted files
+    $deleted_list = array();
+
+    //First we get the transitory directory handle.
+    $directory_handle = opendir($directory_path);
+
+    // Exit if the directory cannot be opened.
+    if(!$directory_handle) {
+
+        // Return.
+        return;
+
+    }
+
+    // Now let's read through the directory contents.
+    while (!(($file = readdir($directory_handle)) === false)) {
+
+            // Avoid deleting the index page of the directory.
+            if (in_array($file,$exclusion_list)) {
+
+                // This is the index file, so we move on.
+                continue;
+
+            }
+
+            $dir_path = $directory_path."/".$file;
+
+            if (is_dir($dir_path)) {
+
+                // This is a directory, so we move on.
+                continue;
+
+            }
+
+            // We find out when the file was last accessed.
+            $access_time = filemtime($dir_path); // fileatime() returned incorrect value on Windows
+
+            // We find out the current time.
+            $current_time = time();
+
+            // We calculate the the delete time. We will delete anything older than $cache_time.
+            $delete_time = $current_time - $access_time;
+
+            // Now we compare the two.
+            if ($delete_time >= $cache_time) {
+
+                    // The file is old. We delete it.
+                    $deleted_list[] = $dir_path; // Store the name of the file getting deleted
+                    unlink($dir_path);
+            }
+
+    }
+
+    // Don't forget to close the directory.
+    closedir($directory_handle);
+
+    // For logging purposes
+    if ($CONFIG['log_mode']) {
+        for ( $i = 0; $i<count($deleted_list); $i++ ) {
+                log_write('Garbage collection deleted '.$deleted_list[$i].' at '.date("F j, Y, g:i a"),CPG_GLOBAL_LOG);
+        }
+    }
+    return $deleted_list;
+}
+
+if ($CONFIG['log_mode']) {
+        spring_cleaning('logs', CPG_DAY*2, array('log_header.inc.php'));
+}
+?>
diff -x .svn -aruN 1.4.24.src/include/mailer.inc.php 1.4.25.src/include/mailer.inc.php
--- 1.4.24.src/include/mailer.inc.php	2009-05-21 15:03:09.000000000 -0500
+++ 1.4.25.src/include/mailer.inc.php	2009-05-26 11:25:44.000000000 -0500
@@ -1,2632 +1,2632 @@
-<?php
-/*************************
-  Coppermine Photo Gallery
-  ************************
-  Copyright (c) 2003-2009 Coppermine Dev Team
-  v1.1 originally written by Gregory DEMAR
-
-  This program is free software; you can redistribute it and/or modify
-  it under the terms of the GNU General Public License version 3
-  as published by the Free Software Foundation.
-  
-  ********************************************
-  Coppermine version: 1.4.24
-  $HeadURL: https://coppermine.svn.sourceforge.net/svnroot/coppermine/trunk/cpg1.4.x/include/mailer.inc.php $
-  $Revision: 5969 $
-  $Author: gaugau $
-  $Date: 2009-05-21 22:03:33 +0200 (Do, 21 Mai 2009) $
-**********************************************/
-
-// Custom mail function
-function cpg_mail($to, $subject, $msg_body = '', $type = 'text/plain', $sender_name = '', $sender_email = '', $msg_body_plaintext = '')
-{
-    global $CONFIG, $lang_charset, $HTML_SUBST;
-
-        // makeshift plaintext if not set
-        if (!$msg_body_plaintext){
-                $msg_body_plaintext = strip_tags($msg_body);
-        }
-
-		// Convert html entities back into normal form for display in non HTML formats
-		$msg_body_plaintext = strtr($msg_body_plaintext, array_flip($HTML_SUBST));
-		$subject = strtr($subject, array_flip($HTML_SUBST));
-		
-        // send mails to ALL admins - not bridged only
-    if ($to == 'admin'){
-            if (UDB_INTEGRATION == 'coppermine') {
-                    $to = array($CONFIG['gallery_admin_email']);
-                    $result = cpg_db_query("SELECT user_email FROM {$CONFIG['TABLE_USERS']} WHERE user_group = 1");
-                    while($row = mysql_fetch_assoc($result)) {
-                            if (!empty($row['user_email'])) $to[] = $row['user_email'];
-                    }
-                    $to = array_unique($to);
-            } else {
-                    $to = array($CONFIG['gallery_admin_email']);
-            }
-        } else {
-                $to = array($to);
-        }
-
-	if ($sender_name == '') $sender_name = strtr($CONFIG['gallery_name'], array_flip($HTML_SUBST));
-    if ($sender_email == '') { $sender_email = $CONFIG['gallery_admin_email']; }
-
-    $charset = $CONFIG['charset'] == 'language file' ? $lang_charset : $CONFIG['charset'];
-
-  /**
-   * Code to send confirmation email starts
-   * Create the mail object
-   */
-   $mail = new PHPmailer();
-   
-   // Set the mail configuration
-   
-   
-   if ($CONFIG['smtp_host']) {
-    $mail->IsSMTP();
-    $mail->Host     = $CONFIG['smtp_host'];
-    if ($CONFIG['smtp_username']) {
-      $mail->SMTPAuth = true;
-      $mail->Username = $CONFIG['smtp_username'];
-      $mail->Password = $CONFIG['smtp_password'];
-    } else {
-      $mail->SMTPAuth = false;
-    }
-   } else {
-    $mail->IsMail();
-  }
-   $mail->IsHTML(true);
-   
-   foreach ($to as $email) {
-    $mail->AddAddress($email);
-   }
-   $mail->From = $sender_email;
-   $mail->FromName = $sender_name;
-   $mail->Subject = $subject;
-   $mail->Body = $msg_body;
-   $mail->AltBody = $msg_body_plaintext;
-   $mail->CharSet = $charset;   
-
-   if ($mail->Send()) {
-    return 'Mail sent!';
-   } else {
-    return $mail->ErrorInfo;
-   }
-}
-
-/**
- * PHPMailer - PHP email transport class
- * @author Brent R. Matzelle
- * @copyright 2001 - 2003 Brent R. Matzelle
- */
-////////////////////////////////////////////////////
-// PHPMailer - PHP email class
-//
-// Class for sending email using either
-// sendmail, PHP mail(), or SMTP.  Methods are
-// based upon the standard AspEmail(tm) classes.
-//
-// Copyright (C) 2001 - 2003  Brent R. Matzelle
-//
-// License: LGPL, see LICENSE
-////////////////////////////////////////////////////
-
-class PHPMailer
-{
-    /////////////////////////////////////////////////
-    // PUBLIC VARIABLES
-    /////////////////////////////////////////////////
-
-    /**
-     * Email priority (1 = High, 3 = Normal, 5 = low).
-     * @var int
-     */
-    var $Priority          = 3;
-
-    /**
-     * Sets the CharSet of the message.
-     * @var string
-     */
-    var $CharSet           = "iso-8859-1";
-
-    /**
-     * Sets the Content-type of the message.
-     * @var string
-     */
-    var $ContentType        = "text/plain";
-
-    /**
-     * Sets the Encoding of the message. Options for this are "8bit",
-     * "7bit", "binary", "base64", and "quoted-printable".
-     * @var string
-     */
-    var $Encoding          = "8bit";
-
-    /**
-     * Holds the most recent mailer error message.
-     * @var string
-     */
-    var $ErrorInfo         = "";
-
-    /**
-     * Sets the From email address for the message.
-     * @var string
-     */
-    var $From               = "root@localhost";
-
-    /**
-     * Sets the From name of the message.
-     * @var string
-     */
-    var $FromName           = "Root User";
-
-    /**
-     * Sets the Sender email (Return-Path) of the message.  If not empty,
-     * will be sent via -f to sendmail or as 'MAIL FROM' in smtp mode.
-     * @var string
-     */
-    var $Sender            = "";
-
-    /**
-     * Sets the Subject of the message.
-     * @var string
-     */
-    var $Subject           = "";
-
-    /**
-     * Sets the Body of the message.  This can be either an HTML or text body.
-     * If HTML then run IsHTML(true).
-     * @var string
-     */
-    var $Body               = "";
-
-    /**
-     * Sets the text-only body of the message.  This automatically sets the
-     * email to multipart/alternative.  This body can be read by mail
-     * clients that do not have HTML email capability such as mutt. Clients
-     * that can read HTML will view the normal Body.
-     * @var string
-     */
-    var $AltBody           = "";
-
-    /**
-     * Sets word wrapping on the body of the message to a given number of 
-     * characters.
-     * @var int
-     */
-    var $WordWrap          = 0;
-
-    /**
-     * Method to send mail: ("mail", "sendmail", or "smtp").
-     * @var string
-     */
-    var $Mailer            = "mail";
-
-    /**
-     * Sets the path of the sendmail program.
-     * @var string
-     */
-    var $Sendmail          = "/usr/sbin/sendmail";
-    
-    /**
-     * Path to PHPMailer plugins.  This is now only useful if the SMTP class 
-     * is in a different directory than the PHP include path.  
-     * @var string
-     */
-    var $PluginDir         = "";
-
-    /**
-     *  Holds PHPMailer version.
-     *  @var string
-     */
-    var $Version           = "1.72";
-
-    /**
-     * Sets the email address that a reading confirmation will be sent.
-     * @var string
-     */
-    var $ConfirmReadingTo  = "";
-
-    /**
-     *  Sets the hostname to use in Message-Id and Received headers
-     *  and as default HELO string. If empty, the value returned
-     *  by SERVER_NAME is used or 'localhost.localdomain'.
-     *  @var string
-     */
-    var $Hostname          = "";
-
-    /////////////////////////////////////////////////
-    // SMTP VARIABLES
-    /////////////////////////////////////////////////
-
-    /**
-     *  Sets the SMTP hosts.  All hosts must be separated by a
-     *  semicolon.  You can also specify a different port
-     *  for each host by using this format: [hostname:port]
-     *  (e.g. "smtp1.example.com:25;smtp2.example.com").
-     *  Hosts will be tried in order.
-     *  @var string
-     */
-    var $Host        = "localhost";
-
-    /**
-     *  Sets the default SMTP server port.
-     *  @var int
-     */
-    var $Port        = 25;
-
-    /**
-     *  Sets the SMTP HELO of the message (Default is $Hostname).
-     *  @var string
-     */
-    var $Helo        = "";
-
-    /**
-     *  Sets SMTP authentication. Utilizes the Username and Password variables.
-     *  @var bool
-     */
-    var $SMTPAuth     = false;
-
-    /**
-     *  Sets SMTP username.
-     *  @var string
-     */
-    var $Username     = "";
-
-    /**
-     *  Sets SMTP password.
-     *  @var string
-     */
-    var $Password     = "";
-
-    /**
-     *  Sets the SMTP server timeout in seconds. This function will not 
-     *  work with the win32 version.
-     *  @var int
-     */
-    var $Timeout      = 10;
-
-    /**
-     *  Sets SMTP class debugging on or off.
-     *  @var bool
-     */
-    var $SMTPDebug    = false;
-
-    /**
-     * Prevents the SMTP connection from being closed after each mail 
-     * sending.  If this is set to true then to close the connection 
-     * requires an explicit call to SmtpClose(). 
-     * @var bool
-     */
-    var $SMTPKeepAlive = false;
-
-    /**#@+
-     * @access private
-     */
-    var $smtp            = NULL;
-    var $to              = array();
-    var $cc              = array();
-    var $bcc             = array();
-    var $ReplyTo         = array();
-    var $attachment      = array();
-    var $CustomHeader    = array();
-    var $message_type    = "";
-    var $boundary        = array();
-    var $language        = array();
-    var $error_count     = 0;
-    var $LE              = "\n";
-    /**#@-*/
-    
-    /////////////////////////////////////////////////
-    // VARIABLE METHODS
-    /////////////////////////////////////////////////
-
-    /**
-     * Sets message type to HTML.  
-     * @param bool $bool
-     * @return void
-     */
-    function IsHTML($bool) {
-        if($bool == true)
-            $this->ContentType = "text/html";
-        else
-            $this->ContentType = "text/plain";
-    }
-
-    /**
-     * Sets Mailer to send message using SMTP.
-     * @return void
-     */
-    function IsSMTP() {
-        $this->Mailer = "smtp";
-    }
-
-    /**
-     * Sets Mailer to send message using PHP mail() function.
-     * @return void
-     */
-    function IsMail() {
-        $this->Mailer = "mail";
-    }
-
-    /**
-     * Sets Mailer to send message using the $Sendmail program.
-     * @return void
-     */
-    function IsSendmail() {
-        $this->Mailer = "sendmail";
-    }
-
-    /**
-     * Sets Mailer to send message using the qmail MTA. 
-     * @return void
-     */
-    function IsQmail() {
-        $this->Sendmail = "/var/qmail/bin/sendmail";
-        $this->Mailer = "sendmail";
-    }
-
-
-    /////////////////////////////////////////////////
-    // RECIPIENT METHODS
-    /////////////////////////////////////////////////
-
-    /**
-     * Adds a "To" address.  
-     * @param string $address
-     * @param string $name
-     * @return void
-     */
-    function AddAddress($address, $name = "") {
-        $cur = count($this->to);
-        $this->to[$cur][0] = trim($address);
-        $this->to[$cur][1] = $name;
-    }
-
-    /**
-     * Adds a "Cc" address. Note: this function works
-     * with the SMTP mailer on win32, not with the "mail"
-     * mailer.  
-     * @param string $address
-     * @param string $name
-     * @return void
-    */
-    function AddCC($address, $name = "") {
-        $cur = count($this->cc);
-        $this->cc[$cur][0] = trim($address);
-        $this->cc[$cur][1] = $name;
-    }
-
-    /**
-     * Adds a "Bcc" address. Note: this function works
-     * with the SMTP mailer on win32, not with the "mail"
-     * mailer.  
-     * @param string $address
-     * @param string $name
-     * @return void
-     */
-    function AddBCC($address, $name = "") {
-        $cur = count($this->bcc);
-        $this->bcc[$cur][0] = trim($address);
-        $this->bcc[$cur][1] = $name;
-    }
-
-    /**
-     * Adds a "Reply-to" address.  
-     * @param string $address
-     * @param string $name
-     * @return void
-     */
-    function AddReplyTo($address, $name = "") {
-        $cur = count($this->ReplyTo);
-        $this->ReplyTo[$cur][0] = trim($address);
-        $this->ReplyTo[$cur][1] = $name;
-    }
-
-
-    /////////////////////////////////////////////////
-    // MAIL SENDING METHODS
-    /////////////////////////////////////////////////
-
-    /**
-     * Creates message and assigns Mailer. If the message is
-     * not sent successfully then it returns false.  Use the ErrorInfo
-     * variable to view description of the error.  
-     * @return bool
-     */
-    function Send() {
-        $header = "";
-        $body = "";
-        $result = true;
-
-        if((count($this->to) + count($this->cc) + count($this->bcc)) < 1)
-        {
-            $this->SetError($this->Lang("provide_address"));
-            return false;
-        }
-
-        // Set whether the message is multipart/alternative
-        if(!empty($this->AltBody))
-            $this->ContentType = "multipart/alternative";
-
-        $this->error_count = 0; // reset errors
-        $this->SetMessageType();
-        $header .= $this->CreateHeader();
-        $body = $this->CreateBody();
-
-        if($body == "") { return false; }
-
-        // Choose the mailer
-        switch($this->Mailer)
-        {
-            case "sendmail":
-                $result = $this->SendmailSend($header, $body);
-                break;
-            case "mail":
-                $result = $this->MailSend($header, $body);
-                break;
-            case "smtp":
-                $result = $this->SmtpSend($header, $body);
-                break;
-            default:
-            $this->SetError($this->Mailer . $this->Lang("mailer_not_supported"));
-                $result = false;
-                break;
-        }
-
-        return $result;
-    }
-    
-    /**
-     * Sends mail using the $Sendmail program.  
-     * @access private
-     * @return bool
-     */
-    function SendmailSend($header, $body) {
-        if ($this->Sender != "")
-            $sendmail = sprintf("%s -oi -f %s -t", $this->Sendmail, $this->Sender);
-        else
-            $sendmail = sprintf("%s -oi -t", $this->Sendmail);
-
-        if(!@$mail = popen($sendmail, "w"))
-        {
-            $this->SetError($this->Lang("execute") . $this->Sendmail);
-            return false;
-        }
-
-        fputs($mail, $header);
-        fputs($mail, $body);
-        
-        $result = pclose($mail) >> 8 & 0xFF;
-        if($result != 0)
-        {
-            $this->SetError($this->Lang("execute") . $this->Sendmail);
-            return false;
-        }
-
-        return true;
-    }
-
-    /**
-     * Sends mail using the PHP mail() function.  
-     * @access private
-     * @return bool
-     */
-    function MailSend($header, $body) {
-        $to = "";
-        for($i = 0; $i < count($this->to); $i++)
-        {
-            if($i != 0) { $to .= ", "; }
-            $to .= $this->to[$i][0];
-        }
-
-        if ($this->Sender != "" && strlen(ini_get("safe_mode"))< 1)
-        {
-            $old_from = ini_get("sendmail_from");
-            ini_set("sendmail_from", $this->Sender);
-            $params = sprintf("-oi -f %s", $this->Sender);
-            $rt = @mail($to, $this->EncodeHeader($this->Subject), $body, 
-                        $header, $params);
-        }
-        else
-            $rt = @mail($to, $this->EncodeHeader($this->Subject), $body, $header);
-
-        if (isset($old_from))
-            ini_set("sendmail_from", $old_from);
-
-        if(!$rt)
-        {
-            $this->SetError($this->Lang("instantiate"));
-            return false;
-        }
-
-        return true;
-    }
-
-    /**
-     * Sends mail via SMTP using PhpSMTP (Author:
-     * Chris Ryan).  Returns bool.  Returns false if there is a
-     * bad MAIL FROM, RCPT, or DATA input.
-     * @access private
-     * @return bool
-     */
-    function SmtpSend($header, $body) {
-        //include_once($this->PluginDir . "class.smtp.php");
-        $error = "";
-        $bad_rcpt = array();
-
-        if(!$this->SmtpConnect()) {
-            return false;
-        }
-
-        $smtp_from = ($this->Sender == "") ? $this->From : $this->Sender;
-        if(!$this->smtp->Mail($smtp_from))
-        {
-            $error = $this->Lang("from_failed") . $smtp_from;
-            $this->SetError($error);
-            $this->smtp->Reset();
-            return false;
-        }
-
-        // Attempt to send attach all recipients
-        for($i = 0; $i < count($this->to); $i++)
-        {
-            if(!$this->smtp->Recipient($this->to[$i][0]))
-                $bad_rcpt[] = $this->to[$i][0];
-        }
-        for($i = 0; $i < count($this->cc); $i++)
-        {
-            if(!$this->smtp->Recipient($this->cc[$i][0]))
-                $bad_rcpt[] = $this->cc[$i][0];
-        }
-        for($i = 0; $i < count($this->bcc); $i++)
-        {
-            if(!$this->smtp->Recipient($this->bcc[$i][0]))
-                $bad_rcpt[] = $this->bcc[$i][0];
-        }
-
-        if(count($bad_rcpt) > 0) // Create error message
-        {
-            for($i = 0; $i < count($bad_rcpt); $i++)
-            {
-                if($i != 0) { $error .= ", "; }
-                $error .= $bad_rcpt[$i];
-            }
-            $error = $this->Lang("recipients_failed") . $error;
-            $this->SetError($error);
-            $this->smtp->Reset();
-            return false;
-        }
-
-        if(!$this->smtp->Data($header . $body))
-        {
-            $this->SetError($this->Lang("data_not_accepted"));
-            $this->smtp->Reset();
-            return false;
-        }
-        if($this->SMTPKeepAlive == true)
-            $this->smtp->Reset();
-        else
-            $this->SmtpClose();
-
-        return true;
-    }
-
-    /**
-     * Initiates a connection to an SMTP server.  Returns false if the 
-     * operation failed.
-     * @access private
-     * @return bool
-     */
-    function SmtpConnect() {
-        if($this->smtp == NULL) { $this->smtp = new SMTP(); }
-
-        $this->smtp->do_debug = $this->SMTPDebug;
-        $hosts = explode(";", $this->Host);
-        $index = 0;
-        $connection = ($this->smtp->Connected()); 
-
-        // Retry while there is no connection
-        while($index < count($hosts) && $connection == false)
-        {
-            if(strstr($hosts[$index], ":"))
-                list($host, $port) = explode(":", $hosts[$index]);
-            else
-            {
-                $host = $hosts[$index];
-                $port = $this->Port;
-            }
-
-            if($this->smtp->Connect($host, $port, $this->Timeout))
-            {
-                if ($this->Helo != '')
-                    $this->smtp->Hello($this->Helo);
-                else
-                    $this->smtp->Hello($this->ServerHostname());
-        
-                if($this->SMTPAuth)
-                {
-                    if(!$this->smtp->Authenticate($this->Username, 
-                                                  $this->Password))
-                    {
-                        $this->SetError($this->Lang("authenticate"));
-                        $this->smtp->Reset();
-                        $connection = false;
-                    }
-                }
-                $connection = true;
-            }
-            $index++;
-        }
-        if(!$connection)
-            $this->SetError($this->Lang("connect_host"));
-
-        return $connection;
-    }
-
-    /**
-     * Closes the active SMTP session if one exists.
-     * @return void
-     */
-    function SmtpClose() {
-        if($this->smtp != NULL)
-        {
-            if($this->smtp->Connected())
-            {
-                $this->smtp->Quit();
-                $this->smtp->Close();
-            }
-        }
-    }
-
-    /**
-     * Sets the language for all class error messages.  Returns false 
-     * if it cannot load the language file.  The default language type
-     * is English.
-     * @param string $lang_type Type of language (e.g. Portuguese: "br")
-     * @param string $lang_path Path to the language file directory
-     * @access public
-     * @return bool
-     */
-    function SetLanguage($lang_type, $lang_path = "lang/") {
-        if(file_exists($lang_path.'phpmailer.lang-'.$lang_type.'.php'))
-            include($lang_path.'phpmailer.lang-'.$lang_type.'.php');
-        else if(file_exists($lang_path.'phpmailer.lang-en.php'))
-            include($lang_path.'phpmailer.lang-en.php');
-        else
-        {
-            $this->SetError("Could not load language file");
-            return false;
-        }
-        $this->language = $PHPMAILER_LANG;
-    
-        return true;
-    }
-
-    /////////////////////////////////////////////////
-    // MESSAGE CREATION METHODS
-    /////////////////////////////////////////////////
-
-    /**
-     * Creates recipient headers.  
-     * @access private
-     * @return string
-     */
-    function AddrAppend($type, $addr) {
-        $addr_str = $type . ": ";
-        $addr_str .= $this->AddrFormat($addr[0]);
-        if(count($addr) > 1)
-        {
-            for($i = 1; $i < count($addr); $i++)
-                $addr_str .= ", " . $this->AddrFormat($addr[$i]);
-        }
-        $addr_str .= $this->LE;
-
-        return $addr_str;
-    }
-    
-    /**
-     * Formats an address correctly. 
-     * @access private
-     * @return string
-     */
-    function AddrFormat($addr) {
-        if(empty($addr[1]))
-            $formatted = $addr[0];
-        else
-        {
-            $formatted = $this->EncodeHeader($addr[1], 'phrase') . " <" . 
-                         $addr[0] . ">";
-        }
-
-        return $formatted;
-    }
-
-    /**
-     * Wraps message for use with mailers that do not
-     * automatically perform wrapping and for quoted-printable.
-     * Original written by philippe.  
-     * @access private
-     * @return string
-     */
-    function WrapText($message, $length, $qp_mode = false) {
-        $soft_break = ($qp_mode) ? sprintf(" =%s", $this->LE) : $this->LE;
-
-        $message = $this->FixEOL($message);
-        if (substr($message, -1) == $this->LE)
-            $message = substr($message, 0, -1);
-
-        $line = explode($this->LE, $message);
-        $message = "";
-        for ($i=0 ;$i < count($line); $i++)
-        {
-          $line_part = explode(" ", $line[$i]);
-          $buf = "";
-          for ($e = 0; $e<count($line_part); $e++)
-          {
-              $word = $line_part[$e];
-              if ($qp_mode and (strlen($word) > $length))
-              {
-                $space_left = $length - strlen($buf) - 1;
-                if ($e != 0)
-                {
-                    if ($space_left > 20)
-                    {
-                        $len = $space_left;
-                        if (substr($word, $len - 1, 1) == "=")
-                          $len--;
-                        elseif (substr($word, $len - 2, 1) == "=")
-                          $len -= 2;
-                        $part = substr($word, 0, $len);
-                        $word = substr($word, $len);
-                        $buf .= " " . $part;
-                        $message .= $buf . sprintf("=%s", $this->LE);
-                    }
-                    else
-                    {
-                        $message .= $buf . $soft_break;
-                    }
-                    $buf = "";
-                }
-                while (strlen($word) > 0)
-                {
-                    $len = $length;
-                    if (substr($word, $len - 1, 1) == "=")
-                        $len--;
-                    elseif (substr($word, $len - 2, 1) == "=")
-                        $len -= 2;
-                    $part = substr($word, 0, $len);
-                    $word = substr($word, $len);
-
-                    if (strlen($word) > 0)
-                        $message .= $part . sprintf("=%s", $this->LE);
-                    else
-                        $buf = $part;
-                }
-              }
-              else
-              {
-                $buf_o = $buf;
-                $buf .= ($e == 0) ? $word : (" " . $word); 
-
-                if (strlen($buf) > $length and $buf_o != "")
-                {
-                    $message .= $buf_o . $soft_break;
-                    $buf = $word;
-                }
-              }
-          }
-          $message .= $buf . $this->LE;
-        }
-
-        return $message;
-    }
-    
-    /**
-     * Set the body wrapping.
-     * @access private
-     * @return void
-     */
-    function SetWordWrap() {
-        if($this->WordWrap < 1)
-            return;
-            
-        switch($this->message_type)
-        {
-           case "alt":
-              // fall through
-           case "alt_attachment":
-              $this->AltBody = $this->WrapText($this->AltBody, $this->WordWrap);
-              break;
-           default:
-              $this->Body = $this->WrapText($this->Body, $this->WordWrap);
-              break;
-        }
-    }
-
-    /**
-     * Assembles message header.  
-     * @access private
-     * @return string
-     */
-    function CreateHeader() {
-        $result = "";
-        
-        // Set the boundaries
-        $uniq_id = md5(uniqid(time()));
-        $this->boundary[1] = "b1_" . $uniq_id;
-        $this->boundary[2] = "b2_" . $uniq_id;
-
-        $result .= $this->HeaderLine("Date", $this->RFCDate());
-        if($this->Sender == "")
-            $result .= $this->HeaderLine("Return-Path", trim($this->From));
-        else
-            $result .= $this->HeaderLine("Return-Path", trim($this->Sender));
-        
-        // To be created automatically by mail()
-        if($this->Mailer != "mail")
-        {
-            if(count($this->to) > 0)
-                $result .= $this->AddrAppend("To", $this->to);
-            else if (count($this->cc) == 0)
-                $result .= $this->HeaderLine("To", "undisclosed-recipients:;");
-            if(count($this->cc) > 0)
-                $result .= $this->AddrAppend("Cc", $this->cc);
-        }
-
-        $from = array();
-        $from[0][0] = trim($this->From);
-        $from[0][1] = $this->FromName;
-        $result .= $this->AddrAppend("From", $from); 
-
-        // sendmail and mail() extract Bcc from the header before sending
-        if((($this->Mailer == "sendmail") || ($this->Mailer == "mail")) && (count($this->bcc) > 0))
-            $result .= $this->AddrAppend("Bcc", $this->bcc);
-
-        if(count($this->ReplyTo) > 0)
-            $result .= $this->AddrAppend("Reply-to", $this->ReplyTo);
-
-        // mail() sets the subject itself
-        if($this->Mailer != "mail")
-            $result .= $this->HeaderLine("Subject", $this->EncodeHeader(trim($this->Subject)));
-
-        $result .= sprintf("Message-ID: <%s@%s>%s", $uniq_id, $this->ServerHostname(), $this->LE);
-        $result .= $this->HeaderLine("X-Priority", $this->Priority);
-        $result .= $this->HeaderLine("X-Mailer", "PHPMailer [version " . $this->Version . "]");
-        
-        if($this->ConfirmReadingTo != "")
-        {
-            $result .= $this->HeaderLine("Disposition-Notification-To", 
-                       "<" . trim($this->ConfirmReadingTo) . ">");
-        }
-
-        // Add custom headers
-        for($index = 0; $index < count($this->CustomHeader); $index++)
-        {
-            $result .= $this->HeaderLine(trim($this->CustomHeader[$index][0]), 
-                       $this->EncodeHeader(trim($this->CustomHeader[$index][1])));
-        }
-        $result .= $this->HeaderLine("MIME-Version", "1.0");
-
-        switch($this->message_type)
-        {
-            case "plain":
-                $result .= $this->HeaderLine("Content-Transfer-Encoding", $this->Encoding);
-                $result .= sprintf("Content-Type: %s; charset=\"%s\"",
-                                    $this->ContentType, $this->CharSet);
-                break;
-            case "attachments":
-                // fall through
-            case "alt_attachments":
-                if($this->InlineImageExists())
-                {
-                    $result .= sprintf("Content-Type: %s;%s\ttype=\"text/html\";%s\tboundary=\"%s\"%s", 
-                                    "multipart/related", $this->LE, $this->LE, 
-                                    $this->boundary[1], $this->LE);
-                }
-                else
-                {
-                    $result .= $this->HeaderLine("Content-Type", "multipart/mixed;");
-                    $result .= $this->TextLine("\tboundary=\"" . $this->boundary[1] . '"');
-                }
-                break;
-            case "alt":
-                $result .= $this->HeaderLine("Content-Type", "multipart/alternative;");
-                $result .= $this->TextLine("\tboundary=\"" . $this->boundary[1] . '"');
-                break;
-        }
-
-        if($this->Mailer != "mail")
-            $result .= $this->LE.$this->LE;
-
-        return $result;
-    }
-
-    /**
-     * Assembles the message body.  Returns an empty string on failure.
-     * @access private
-     * @return string
-     */
-    function CreateBody() {
-        $result = "";
-
-        $this->SetWordWrap();
-
-        switch($this->message_type)
-        {
-            case "alt":
-                $result .= $this->GetBoundary($this->boundary[1], "", 
-                                              "text/plain", "");
-                $result .= $this->EncodeString($this->AltBody, $this->Encoding);
-                $result .= $this->LE.$this->LE;
-                $result .= $this->GetBoundary($this->boundary[1], "", 
-                                              "text/html", "");
-                
-                $result .= $this->EncodeString($this->Body, $this->Encoding);
-                $result .= $this->LE.$this->LE;
-    
-                $result .= $this->EndBoundary($this->boundary[1]);
-                break;
-            case "plain":
-                $result .= $this->EncodeString($this->Body, $this->Encoding);
-                break;
-            case "attachments":
-                $result .= $this->GetBoundary($this->boundary[1], "", "", "");
-                $result .= $this->EncodeString($this->Body, $this->Encoding);
-                $result .= $this->LE;
-     
-                $result .= $this->AttachAll();
-                break;
-            case "alt_attachments":
-                $result .= sprintf("--%s%s", $this->boundary[1], $this->LE);
-                $result .= sprintf("Content-Type: %s;%s" .
-                                   "\tboundary=\"%s\"%s",
-                                   "multipart/alternative", $this->LE, 
-                                   $this->boundary[2], $this->LE.$this->LE);
-    
-                // Create text body
-                $result .= $this->GetBoundary($this->boundary[2], "", 
-                                              "text/plain", "") . $this->LE;
-
-                $result .= $this->EncodeString($this->AltBody, $this->Encoding);
-                $result .= $this->LE.$this->LE;
-    
-                // Create the HTML body
-                $result .= $this->GetBoundary($this->boundary[2], "", 
-                                              "text/html", "") . $this->LE;
-    
-                $result .= $this->EncodeString($this->Body, $this->Encoding);
-                $result .= $this->LE.$this->LE;
-
-                $result .= $this->EndBoundary($this->boundary[2]);
-                
-                $result .= $this->AttachAll();
-                break;
-        }
-        if($this->IsError())
-            $result = "";
-
-        return $result;
-    }
-
-    /**
-     * Returns the start of a message boundary.
-     * @access private
-     */
-    function GetBoundary($boundary, $charSet, $contentType, $encoding) {
-        $result = "";
-        if($charSet == "") { $charSet = $this->CharSet; }
-        if($contentType == "") { $contentType = $this->ContentType; }
-        if($encoding == "") { $encoding = $this->Encoding; }
-
-        $result .= $this->TextLine("--" . $boundary);
-        $result .= sprintf("Content-Type: %s; charset = \"%s\"", 
-                            $contentType, $charSet);
-        $result .= $this->LE;
-        $result .= $this->HeaderLine("Content-Transfer-Encoding", $encoding);
-        $result .= $this->LE;
-       
-        return $result;
-    }
-    
-    /**
-     * Returns the end of a message boundary.
-     * @access private
-     */
-    function EndBoundary($boundary) {
-        return $this->LE . "--" . $boundary . "--" . $this->LE; 
-    }
-    
-    /**
-     * Sets the message type.
-     * @access private
-     * @return void
-     */
-    function SetMessageType() {
-        if(count($this->attachment) < 1 && strlen($this->AltBody) < 1)
-            $this->message_type = "plain";
-        else
-        {
-            if(count($this->attachment) > 0)
-                $this->message_type = "attachments";
-            if(strlen($this->AltBody) > 0 && count($this->attachment) < 1)
-                $this->message_type = "alt";
-            if(strlen($this->AltBody) > 0 && count($this->attachment) > 0)
-                $this->message_type = "alt_attachments";
-        }
-    }
-
-    /**
-     * Returns a formatted header line.
-     * @access private
-     * @return string
-     */
-    function HeaderLine($name, $value) {
-        return $name . ": " . $value . $this->LE;
-    }
-
-    /**
-     * Returns a formatted mail line.
-     * @access private
-     * @return string
-     */
-    function TextLine($value) {
-        return $value . $this->LE;
-    }
-
-    /////////////////////////////////////////////////
-    // ATTACHMENT METHODS
-    /////////////////////////////////////////////////
-
-    /**
-     * Adds an attachment from a path on the filesystem.
-     * Returns false if the file could not be found
-     * or accessed.
-     * @param string $path Path to the attachment.
-     * @param string $name Overrides the attachment name.
-     * @param string $encoding File encoding (see $Encoding).
-     * @param string $type File extension (MIME) type.
-     * @return bool
-     */
-    function AddAttachment($path, $name = "", $encoding = "base64", 
-                           $type = "application/octet-stream") {
-        if(!@is_file($path))
-        {
-            $this->SetError($this->Lang("file_access") . $path);
-            return false;
-        }
-
-        $filename = basename($path);
-        if($name == "")
-            $name = $filename;
-
-        $cur = count($this->attachment);
-        $this->attachment[$cur][0] = $path;
-        $this->attachment[$cur][1] = $filename;
-        $this->attachment[$cur][2] = $name;
-        $this->attachment[$cur][3] = $encoding;
-        $this->attachment[$cur][4] = $type;
-        $this->attachment[$cur][5] = false; // isStringAttachment
-        $this->attachment[$cur][6] = "attachment";
-        $this->attachment[$cur][7] = 0;
-
-        return true;
-    }
-
-    /**
-     * Attaches all fs, string, and binary attachments to the message.
-     * Returns an empty string on failure.
-     * @access private
-     * @return string
-     */
-    function AttachAll() {
-        // Return text of body
-        $mime = array();
-
-        // Add all attachments
-        for($i = 0; $i < count($this->attachment); $i++)
-        {
-            // Check for string attachment
-            $bString = $this->attachment[$i][5];
-            if ($bString)
-                $string = $this->attachment[$i][0];
-            else
-                $path = $this->attachment[$i][0];
-
-            $filename    = $this->attachment[$i][1];
-            $name        = $this->attachment[$i][2];
-            $encoding    = $this->attachment[$i][3];
-            $type        = $this->attachment[$i][4];
-            $disposition = $this->attachment[$i][6];
-            $cid         = $this->attachment[$i][7];
-            
-            $mime[] = sprintf("--%s%s", $this->boundary[1], $this->LE);
-            $mime[] = sprintf("Content-Type: %s; name=\"%s\"%s", $type, $name, $this->LE);
-            $mime[] = sprintf("Content-Transfer-Encoding: %s%s", $encoding, $this->LE);
-
-            if($disposition == "inline")
-                $mime[] = sprintf("Content-ID: <%s>%s", $cid, $this->LE);
-
-            $mime[] = sprintf("Content-Disposition: %s; filename=\"%s\"%s", 
-                              $disposition, $name, $this->LE.$this->LE);
-
-            // Encode as string attachment
-            if($bString)
-            {
-                $mime[] = $this->EncodeString($string, $encoding);
-                if($this->IsError()) { return ""; }
-                $mime[] = $this->LE.$this->LE;
-            }
-            else
-            {
-                $mime[] = $this->EncodeFile($path, $encoding);                
-                if($this->IsError()) { return ""; }
-                $mime[] = $this->LE.$this->LE;
-            }
-        }
-
-        $mime[] = sprintf("--%s--%s", $this->boundary[1], $this->LE);
-
-        return join("", $mime);
-    }
-    
-    /**
-     * Encodes attachment in requested format.  Returns an
-     * empty string on failure.
-     * @access private
-     * @return string
-     */
-    function EncodeFile ($path, $encoding = "base64") {
-        if(!@$fd = fopen($path, "rb"))
-        {
-            $this->SetError($this->Lang("file_open") . $path);
-            return "";
-        }
-        $file_buffer = fread($fd, filesize($path));
-        $file_buffer = $this->EncodeString($file_buffer, $encoding);
-        fclose($fd);
-
-        return $file_buffer;
-    }
-
-    /**
-     * Encodes string to requested format. Returns an
-     * empty string on failure.
-     * @access private
-     * @return string
-     */
-    function EncodeString ($str, $encoding = "base64") {
-        $encoded = "";
-        switch(strtolower($encoding)) {
-          case "base64":
-              // chunk_split is found in PHP >= 3.0.6
-              $encoded = chunk_split(base64_encode($str), 76, $this->LE);
-              break;
-          case "7bit":
-          case "8bit":
-              $encoded = $this->FixEOL($str);
-              if (substr($encoded, -(strlen($this->LE))) != $this->LE)
-                $encoded .= $this->LE;
-              break;
-          case "binary":
-              $encoded = $str;
-              break;
-          case "quoted-printable":
-              $encoded = $this->EncodeQP($str);
-              break;
-          default:
-              $this->SetError($this->Lang("encoding") . $encoding);
-              break;
-        }
-        return $encoded;
-    }
-
-    /**
-     * Encode a header string to best of Q, B, quoted or none.  
-     * @access private
-     * @return string
-     */
-    function EncodeHeader ($str, $position = 'text') {
-      $x = 0;
-      
-      switch (strtolower($position)) {
-        case 'phrase':
-          if (!preg_match('/[\200-\377]/', $str)) {
-            // Can't use addslashes as we don't know what value has magic_quotes_sybase.
-            $encoded = addcslashes($str, "\0..\37\177\\\"");
-
-            if (($str == $encoded) && !preg_match('/[^A-Za-z0-9!#$%&\'*+\/=?^_`{|}~ -]/', $str))
-              return ($encoded);
-            else
-              return ("\"$encoded\"");
-          }
-          $x = preg_match_all('/[^\040\041\043-\133\135-\176]/', $str, $matches);
-          break;
-        case 'comment':
-          $x = preg_match_all('/[()"]/', $str, $matches);
-          // Fall-through
-        case 'text':
-        default:
-          $x += preg_match_all('/[\000-\010\013\014\016-\037\177-\377]/', $str, $matches);
-          break;
-      }
-
-      if ($x == 0)
-        return ($str);
-
-      $maxlen = 75 - 7 - strlen($this->CharSet);
-      // Try to select the encoding which should produce the shortest output
-      if (strlen($str)/3 < $x) {
-        $encoding = 'B';
-        $encoded = base64_encode($str);
-        $maxlen -= $maxlen % 4;
-        $encoded = trim(chunk_split($encoded, $maxlen, "\n"));
-      } else {
-        $encoding = 'Q';
-        $encoded = $this->EncodeQ($str, $position);
-        $encoded = $this->WrapText($encoded, $maxlen, true);
-        $encoded = str_replace("=".$this->LE, "\n", trim($encoded));
-      }
-
-      $encoded = preg_replace('/^(.*)$/m', " =?".$this->CharSet."?$encoding?\\1?=", $encoded);
-      $encoded = trim(str_replace("\n", $this->LE, $encoded));
-      
-      return $encoded;
-    }
-    
-    /**
-     * Encode string to quoted-printable.  
-     * @access private
-     * @return string
-     */
-    function EncodeQP ($str) {
-        $encoded = $this->FixEOL($str);
-        if (substr($encoded, -(strlen($this->LE))) != $this->LE)
-            $encoded .= $this->LE;
-
-        // Replace every high ascii, control and = characters
-        $encoded = preg_replace('/([\000-\010\013\014\016-\037\075\177-\377])/e',
-                  "'='.sprintf('%02X', ord('\\1'))", $encoded);
-        // Replace every spaces and tabs when it's the last character on a line
-        $encoded = preg_replace("/([\011\040])".$this->LE."/e",
-                  "'='.sprintf('%02X', ord('\\1')).'".$this->LE."'", $encoded);
-
-        // Maximum line length of 76 characters before CRLF (74 + space + '=')
-        $encoded = $this->WrapText($encoded, 74, true);
-
-        return $encoded;
-    }
-
-    /**
-     * Encode string to q encoding.  
-     * @access private
-     * @return string
-     */
-    function EncodeQ ($str, $position = "text") {
-        // There should not be any EOL in the string
-        $encoded = preg_replace("[\r\n]", "", $str);
-
-        switch (strtolower($position)) {
-          case "phrase":
-            $encoded = preg_replace("/([^A-Za-z0-9!*+\/ -])/e", "'='.sprintf('%02X', ord('\\1'))", $encoded);
-            break;
-          case "comment":
-            $encoded = preg_replace("/([\(\)\"])/e", "'='.sprintf('%02X', ord('\\1'))", $encoded);
-          case "text":
-          default:
-            // Replace every high ascii, control =, ? and _ characters
-            $encoded = preg_replace('/([\000-\011\013\014\016-\037\075\077\137\177-\377])/e',
-                  "'='.sprintf('%02X', ord('\\1'))", $encoded);
-            break;
-        }
-        
-        // Replace every spaces to _ (more readable than =20)
-        $encoded = str_replace(" ", "_", $encoded);
-
-        return $encoded;
-    }
-
-    /**
-     * Adds a string or binary attachment (non-filesystem) to the list.
-     * This method can be used to attach ascii or binary data,
-     * such as a BLOB record from a database.
-     * @param string $string String attachment data.
-     * @param string $filename Name of the attachment.
-     * @param string $encoding File encoding (see $Encoding).
-     * @param string $type File extension (MIME) type.
-     * @return void
-     */
-    function AddStringAttachment($string, $filename, $encoding = "base64", 
-                                 $type = "application/octet-stream") {
-        // Append to $attachment array
-        $cur = count($this->attachment);
-        $this->attachment[$cur][0] = $string;
-        $this->attachment[$cur][1] = $filename;
-        $this->attachment[$cur][2] = $filename;
-        $this->attachment[$cur][3] = $encoding;
-        $this->attachment[$cur][4] = $type;
-        $this->attachment[$cur][5] = true; // isString
-        $this->attachment[$cur][6] = "attachment";
-        $this->attachment[$cur][7] = 0;
-    }
-    
-    /**
-     * Adds an embedded attachment.  This can include images, sounds, and 
-     * just about any other document.  Make sure to set the $type to an 
-     * image type.  For JPEG images use "image/jpeg" and for GIF images 
-     * use "image/gif".
-     * @param string $path Path to the attachment.
-     * @param string $cid Content ID of the attachment.  Use this to identify 
-     *        the Id for accessing the image in an HTML form.
-     * @param string $name Overrides the attachment name.
-     * @param string $encoding File encoding (see $Encoding).
-     * @param string $type File extension (MIME) type.  
-     * @return bool
-     */
-    function AddEmbeddedImage($path, $cid, $name = "", $encoding = "base64", 
-                              $type = "application/octet-stream") {
-    
-        if(!@is_file($path))
-        {
-            $this->SetError($this->Lang("file_access") . $path);
-            return false;
-        }
-
-        $filename = basename($path);
-        if($name == "")
-            $name = $filename;
-
-        // Append to $attachment array
-        $cur = count($this->attachment);
-        $this->attachment[$cur][0] = $path;
-        $this->attachment[$cur][1] = $filename;
-        $this->attachment[$cur][2] = $name;
-        $this->attachment[$cur][3] = $encoding;
-        $this->attachment[$cur][4] = $type;
-        $this->attachment[$cur][5] = false; // isStringAttachment
-        $this->attachment[$cur][6] = "inline";
-        $this->attachment[$cur][7] = $cid;
-    
-        return true;
-    }
-    
-    /**
-     * Returns true if an inline attachment is present.
-     * @access private
-     * @return bool
-     */
-    function InlineImageExists() {
-        $result = false;
-        for($i = 0; $i < count($this->attachment); $i++)
-        {
-            if($this->attachment[$i][6] == "inline")
-            {
-                $result = true;
-                break;
-            }
-        }
-        
-        return $result;
-    }
-
-    /////////////////////////////////////////////////
-    // MESSAGE RESET METHODS
-    /////////////////////////////////////////////////
-
-    /**
-     * Clears all recipients assigned in the TO array.  Returns void.
-     * @return void
-     */
-    function ClearAddresses() {
-        $this->to = array();
-    }
-
-    /**
-     * Clears all recipients assigned in the CC array.  Returns void.
-     * @return void
-     */
-    function ClearCCs() {
-        $this->cc = array();
-    }
-
-    /**
-     * Clears all recipients assigned in the BCC array.  Returns void.
-     * @return void
-     */
-    function ClearBCCs() {
-        $this->bcc = array();
-    }
-
-    /**
-     * Clears all recipients assigned in the ReplyTo array.  Returns void.
-     * @return void
-     */
-    function ClearReplyTos() {
-        $this->ReplyTo = array();
-    }
-
-    /**
-     * Clears all recipients assigned in the TO, CC and BCC
-     * array.  Returns void.
-     * @return void
-     */
-    function ClearAllRecipients() {
-        $this->to = array();
-        $this->cc = array();
-        $this->bcc = array();
-    }
-
-    /**
-     * Clears all previously set filesystem, string, and binary
-     * attachments.  Returns void.
-     * @return void
-     */
-    function ClearAttachments() {
-        $this->attachment = array();
-    }
-
-    /**
-     * Clears all custom headers.  Returns void.
-     * @return void
-     */
-    function ClearCustomHeaders() {
-        $this->CustomHeader = array();
-    }
-
-
-    /////////////////////////////////////////////////
-    // MISCELLANEOUS METHODS
-    /////////////////////////////////////////////////
-
-    /**
-     * Adds the error message to the error container.
-     * Returns void.
-     * @access private
-     * @return void
-     */
-    function SetError($msg) {
-        $this->error_count++;
-        $this->ErrorInfo = $msg;
-    }
-
-    /**
-     * Returns the proper RFC 822 formatted date. 
-     * @access private
-     * @return string
-     */
-    function RFCDate() {
-        $tz = date("Z");
-        $tzs = ($tz < 0) ? "-" : "+";
-        $tz = abs($tz);
-        $tz = ($tz/3600)*100 + ($tz%3600)/60;
-        $result = sprintf("%s %s%04d", date("D, j M Y H:i:s"), $tzs, $tz);
-
-        return $result;
-    }
-    
-    /**
-     * Returns the appropriate server variable.  Should work with both 
-     * PHP 4.1.0+ as well as older versions.  Returns an empty string 
-     * if nothing is found.
-     * @access private
-     * @return mixed
-     */
-    function ServerVar($varName) {
-        global $HTTP_SERVER_VARS;
-        global $HTTP_ENV_VARS;
-
-        if(!isset($_SERVER))
-        {
-            $_SERVER = $HTTP_SERVER_VARS;
-            if(!isset($_SERVER["REMOTE_ADDR"]))
-                $_SERVER = $HTTP_ENV_VARS; // must be Apache
-        }
-        
-        if(isset($_SERVER[$varName]))
-            return $_SERVER[$varName];
-        else
-            return "";
-    }
-
-    /**
-     * Returns the server hostname or 'localhost.localdomain' if unknown.
-     * @access private
-     * @return string
-     */
-    function ServerHostname() {
-        if ($this->Hostname != "")
-            $result = $this->Hostname;
-        elseif ($this->ServerVar('SERVER_NAME') != "")
-            $result = $this->ServerVar('SERVER_NAME');
-        else
-            $result = "localhost.localdomain";
-
-        return $result;
-    }
-
-    /**
-     * Returns a message in the appropriate language.
-     * @access private
-     * @return string
-     */
-    function Lang($key) {
-        if(count($this->language) < 1)
-            $this->SetLanguage("en", './'); // set the default language
-    
-        if(isset($this->language[$key]))
-            return $this->language[$key];
-        else
-            return "Language string failed to load: " . $key;
-    }
-    
-    /**
-     * Returns true if an error occurred.
-     * @return bool
-     */
-    function IsError() {
-        return ($this->error_count > 0);
-    }
-
-    /**
-     * Changes every end of line from CR or LF to CRLF.  
-     * @access private
-     * @return string
-     */
-    function FixEOL($str) {
-        $str = str_replace("\r\n", "\n", $str);
-        $str = str_replace("\r", "\n", $str);
-        $str = str_replace("\n", $this->LE, $str);
-        return $str;
-    }
-
-    /**
-     * Adds a custom header. 
-     * @return void
-     */
-    function AddCustomHeader($custom_header) {
-        $this->CustomHeader[] = explode(":", $custom_header, 2);
-    }
-}
-
-////////////////////////////////////////////////////
-// SMTP - PHP SMTP class
-//
-// Version 1.02
-//
-// Define an SMTP class that can be used to connect
-// and communicate with any SMTP server. It implements
-// all the SMTP functions defined in RFC821 except TURN.
-//
-// Author: Chris Ryan
-//
-// License: LGPL, see LICENSE
-////////////////////////////////////////////////////
-
-/**
- * SMTP is rfc 821 compliant and implements all the rfc 821 SMTP
- * commands except TURN which will always return a not implemented
- * error. SMTP also provides some utility methods for sending mail
- * to an SMTP server.
- * @package HotelSearch
- * @author Chris Ryan
- */
-class SMTP
-{
-    /**
-     *  SMTP server port
-     *  @var int
-     */
-    var $SMTP_PORT = 25;
-    
-    /**
-     *  SMTP reply line ending
-     *  @var string
-     */
-    var $CRLF = "\r\n";
-    
-    /**
-     *  Sets whether debugging is turned on
-     *  @var bool
-     */
-    var $do_debug;       # the level of debug to perform
-
-    /**#@+
-     * @access private
-     */
-    var $smtp_conn;      # the socket to the server
-    var $error;          # error if any on the last call
-    var $helo_rply;      # the reply the server sent to us for HELO
-    /**#@-*/
-
-    /**
-     * Initialize the class so that the data is in a known state.
-     * @access public
-     * @return void
-     */
-    function SMTP() {
-        $this->smtp_conn = 0;
-        $this->error = null;
-        $this->helo_rply = null;
-
-        $this->do_debug = 0;
-    }
-
-    /*************************************************************
-     *                    CONNECTION FUNCTIONS                  *
-     ***********************************************************/
-
-    /**
-     * Connect to the server specified on the port specified.
-     * If the port is not specified use the default SMTP_PORT.
-     * If tval is specified then a connection will try and be
-     * established with the server for that number of seconds.
-     * If tval is not specified the default is 30 seconds to
-     * try on the connection.
-     *
-     * SMTP CODE SUCCESS: 220
-     * SMTP CODE FAILURE: 421
-     * @access public
-     * @return bool
-     */
-    function Connect($host,$port=0,$tval=30) {
-        # set the error val to null so there is no confusion
-        $this->error = null;
-
-        # make sure we are __not__ connected
-        if($this->connected()) {
-            # ok we are connected! what should we do?
-            # for now we will just give an error saying we
-            # are already connected
-            $this->error =
-                array("error" => "Already connected to a server");
-            return false;
-        }
-
-        if(empty($port)) {
-            $port = $this->SMTP_PORT;
-        }
-
-        #connect to the smtp server
-        $this->smtp_conn = fsockopen($host,    # the host of the server
-                                     $port,    # the port to use
-                                     $errno,   # error number if any
-                                     $errstr,  # error message if any
-                                     $tval);   # give up after ? secs
-        # verify we connected properly
-        if(empty($this->smtp_conn)) {
-            $this->error = array("error" => "Failed to connect to server",
-                                 "errno" => $errno,
-                                 "errstr" => $errstr);
-            if($this->do_debug >= 1) {
-                echo "SMTP -> ERROR: " . $this->error["error"] .
-                         ": $errstr ($errno)" . $this->CRLF;
-            }
-            return false;
-        }
-
-        # sometimes the SMTP server takes a little longer to respond
-        # so we will give it a longer timeout for the first read
-        // Windows still does not have support for this timeout function
-        if(substr(PHP_OS, 0, 3) != "WIN")
-           socket_set_timeout($this->smtp_conn, $tval, 0);
-
-        # get any announcement stuff
-        $announce = $this->get_lines();
-
-        # set the timeout  of any socket functions at 1/10 of a second
-        //if(function_exists("socket_set_timeout"))
-        //   socket_set_timeout($this->smtp_conn, 0, 100000);
-
-        if($this->do_debug >= 2) {
-            echo "SMTP -> FROM SERVER:" . $this->CRLF . $announce;
-        }
-
-        return true;
-    }
-
-    /**
-     * Performs SMTP authentication.  Must be run after running the
-     * Hello() method.  Returns true if successfully authenticated.
-     * @access public
-     * @return bool
-     */
-    function Authenticate($username, $password) {
-        // Start authentication
-        fputs($this->smtp_conn,"AUTH LOGIN" . $this->CRLF);
-
-        $rply = $this->get_lines();
-        $code = substr($rply,0,3);
-
-        if($code != 334) {
-            $this->error =
-                array("error" => "AUTH not accepted from server",
-                      "smtp_code" => $code,
-                      "smtp_msg" => substr($rply,4));
-            if($this->do_debug >= 1) {
-                echo "SMTP -> ERROR: " . $this->error["error"] .
-                         ": " . $rply . $this->CRLF;
-            }
-            return false;
-        }
-
-        // Send encoded username
-        fputs($this->smtp_conn, base64_encode($username) . $this->CRLF);
-
-        $rply = $this->get_lines();
-        $code = substr($rply,0,3);
-
-        if($code != 334) {
-            $this->error =
-                array("error" => "Username not accepted from server",
-                      "smtp_code" => $code,
-                      "smtp_msg" => substr($rply,4));
-            if($this->do_debug >= 1) {
-                echo "SMTP -> ERROR: " . $this->error["error"] .
-                         ": " . $rply . $this->CRLF;
-            }
-            return false;
-        }
-
-        // Send encoded password
-        fputs($this->smtp_conn, base64_encode($password) . $this->CRLF);
-
-        $rply = $this->get_lines();
-        $code = substr($rply,0,3);
-
-        if($code != 235) {
-            $this->error =
-                array("error" => "Password not accepted from server",
-                      "smtp_code" => $code,
-                      "smtp_msg" => substr($rply,4));
-            if($this->do_debug >= 1) {
-                echo "SMTP -> ERROR: " . $this->error["error"] .
-                         ": " . $rply . $this->CRLF;
-            }
-            return false;
-        }
-
-        return true;
-    }
-
-    /**
-     * Returns true if connected to a server otherwise false
-     * @access private
-     * @return bool
-     */
-    function Connected() {
-        if(!empty($this->smtp_conn)) {
-            $sock_status = socket_get_status($this->smtp_conn);
-            if($sock_status["eof"]) {
-                # hmm this is an odd situation... the socket is
-                # valid but we aren't connected anymore
-                if($this->do_debug >= 1) {
-                    echo "SMTP -> NOTICE:" . $this->CRLF .
-                         "EOF caught while checking if connected";
-                }
-                $this->Close();
-                return false;
-            }
-            return true; # everything looks good
-        }
-        return false;
-    }
-
-    /**
-     * Closes the socket and cleans up the state of the class.
-     * It is not considered good to use this function without
-     * first trying to use QUIT.
-     * @access public
-     * @return void
-     */
-    function Close() {
-        $this->error = null; # so there is no confusion
-        $this->helo_rply = null;
-        if(!empty($this->smtp_conn)) {
-            # close the connection and cleanup
-            fclose($this->smtp_conn);
-            $this->smtp_conn = 0;
-        }
-    }
-
-
-    /***************************************************************
-     *                        SMTP COMMANDS                       *
-     *************************************************************/
-
-    /**
-     * Issues a data command and sends the msg_data to the server
-     * finializing the mail transaction. $msg_data is the message
-     * that is to be send with the headers. Each header needs to be
-     * on a single line followed by a <CRLF> with the message headers
-     * and the message body being seperated by and additional <CRLF>.
-     *
-     * Implements rfc 821: DATA <CRLF>
-     *
-     * SMTP CODE INTERMEDIATE: 354
-     *     [data]
-     *     <CRLF>.<CRLF>
-     *     SMTP CODE SUCCESS: 250
-     *     SMTP CODE FAILURE: 552,554,451,452
-     * SMTP CODE FAILURE: 451,554
-     * SMTP CODE ERROR  : 500,501,503,421
-     * @access public
-     * @return bool
-     */
-    function Data($msg_data) {
-        $this->error = null; # so no confusion is caused
-
-        if(!$this->connected()) {
-            $this->error = array(
-                    "error" => "Called Data() without being connected");
-            return false;
-        }
-
-        fputs($this->smtp_conn,"DATA" . $this->CRLF);
-
-        $rply = $this->get_lines();
-        $code = substr($rply,0,3);
-
-        if($this->do_debug >= 2) {
-            echo "SMTP -> FROM SERVER:" . $this->CRLF . $rply;
-        }
-
-        if($code != 354) {
-            $this->error =
-                array("error" => "DATA command not accepted from server",
-                      "smtp_code" => $code,
-                      "smtp_msg" => substr($rply,4));
-            if($this->do_debug >= 1) {
-                echo "SMTP -> ERROR: " . $this->error["error"] .
-                         ": " . $rply . $this->CRLF;
-            }
-            return false;
-        }
-
-        # the server is ready to accept data!
-        # according to rfc 821 we should not send more than 1000
-        # including the CRLF
-        # characters on a single line so we will break the data up
-        # into lines by \r and/or \n then if needed we will break
-        # each of those into smaller lines to fit within the limit.
-        # in addition we will be looking for lines that start with
-        # a period '.' and append and additional period '.' to that
-        # line. NOTE: this does not count towards are limit.
-
-        # normalize the line breaks so we know the explode works
-        $msg_data = str_replace("\r\n","\n",$msg_data);
-        $msg_data = str_replace("\r","\n",$msg_data);
-        $lines = explode("\n",$msg_data);
-
-        # we need to find a good way to determine is headers are
-        # in the msg_data or if it is a straight msg body
-        # currently I'm assuming rfc 822 definitions of msg headers
-        # and if the first field of the first line (':' sperated)
-        # does not contain a space then it _should_ be a header
-        # and we can process all lines before a blank "" line as
-        # headers.
-        $field = substr($lines[0],0,strpos($lines[0],":"));
-        $in_headers = false;
-        if(!empty($field) && !strstr($field," ")) {
-            $in_headers = true;
-        }
-
-        $max_line_length = 998; # used below; set here for ease in change
-
-        while(list(,$line) = @each($lines)) {
-            $lines_out = null;
-            if($line == "" && $in_headers) {
-                $in_headers = false;
-            }
-            # ok we need to break this line up into several
-            # smaller lines
-            while(strlen($line) > $max_line_length) {
-                $pos = strrpos(substr($line,0,$max_line_length)," ");
-                
-                # ----- Vulnerability fix (phpsec) -------
-                if (!$pos) {
-                    $pos = $max_line_length - 1;
-                }
-                # --------- End of fix ----------------
-                                
-                $lines_out[] = substr($line,0,$pos);
-                $line = substr($line,$pos + 1);
-                # if we are processing headers we need to
-                # add a LWSP-char to the front of the new line
-                # rfc 822 on long msg headers
-                if($in_headers) {
-                    $line = "\t" . $line;
-                }
-            }
-            $lines_out[] = $line;
-
-            # now send the lines to the server
-            while(list(,$line_out) = @each($lines_out)) {
-                if(strlen($line_out) > 0)
-                {
-                    if(substr($line_out, 0, 1) == ".") {
-                        $line_out = "." . $line_out;
-                    }
-                }
-                fputs($this->smtp_conn,$line_out . $this->CRLF);
-            }
-        }
-
-        # ok all the message data has been sent so lets get this
-        # over with aleady
-        fputs($this->smtp_conn, $this->CRLF . "." . $this->CRLF);
-
-        $rply = $this->get_lines();
-        $code = substr($rply,0,3);
-
-        if($this->do_debug >= 2) {
-            echo "SMTP -> FROM SERVER:" . $this->CRLF . $rply;
-        }
-
-        if($code != 250) {
-            $this->error =
-                array("error" => "DATA not accepted from server",
-                      "smtp_code" => $code,
-                      "smtp_msg" => substr($rply,4));
-            if($this->do_debug >= 1) {
-                echo "SMTP -> ERROR: " . $this->error["error"] .
-                         ": " . $rply . $this->CRLF;
-            }
-            return false;
-        }
-        return true;
-    }
-
-    /**
-     * Expand takes the name and asks the server to list all the
-     * people who are members of the _list_. Expand will return
-     * back and array of the result or false if an error occurs.
-     * Each value in the array returned has the format of:
-     *     [ <full-name> <sp> ] <path>
-     * The definition of <path> is defined in rfc 821
-     *
-     * Implements rfc 821: EXPN <SP> <string> <CRLF>
-     *
-     * SMTP CODE SUCCESS: 250
-     * SMTP CODE FAILURE: 550
-     * SMTP CODE ERROR  : 500,501,502,504,421
-     * @access public
-     * @return string array
-     */
-    function Expand($name) {
-        $this->error = null; # so no confusion is caused
-
-        if(!$this->connected()) {
-            $this->error = array(
-                    "error" => "Called Expand() without being connected");
-            return false;
-        }
-
-        fputs($this->smtp_conn,"EXPN " . $name . $this->CRLF);
-
-        $rply = $this->get_lines();
-        $code = substr($rply,0,3);
-
-        if($this->do_debug >= 2) {
-            echo "SMTP -> FROM SERVER:" . $this->CRLF . $rply;
-        }
-
-        if($code != 250) {
-            $this->error =
-                array("error" => "EXPN not accepted from server",
-                      "smtp_code" => $code,
-                      "smtp_msg" => substr($rply,4));
-            if($this->do_debug >= 1) {
-                echo "SMTP -> ERROR: " . $this->error["error"] .
-                         ": " . $rply . $this->CRLF;
-            }
-            return false;
-        }
-
-        # parse the reply and place in our array to return to user
-        $entries = explode($this->CRLF,$rply);
-        while(list(,$l) = @each($entries)) {
-            $list[] = substr($l,4);
-        }
-
-        return $list;
-    }
-
-    /**
-     * Sends the HELO command to the smtp server.
-     * This makes sure that we and the server are in
-     * the same known state.
-     *
-     * Implements from rfc 821: HELO <SP> <domain> <CRLF>
-     *
-     * SMTP CODE SUCCESS: 250
-     * SMTP CODE ERROR  : 500, 501, 504, 421
-     * @access public
-     * @return bool
-     */
-    function Hello($host="") {
-        $this->error = null; # so no confusion is caused
-
-        if(!$this->connected()) {
-            $this->error = array(
-                    "error" => "Called Hello() without being connected");
-            return false;
-        }
-
-        # if a hostname for the HELO wasn't specified determine
-        # a suitable one to send
-        if(empty($host)) {
-            # we need to determine some sort of appopiate default
-            # to send to the server
-            $host = "localhost";
-        }
-
-        // Send extended hello first (RFC 2821)
-        if(!$this->SendHello("EHLO", $host))
-        {
-            if(!$this->SendHello("HELO", $host))
-                return false;
-        }
-
-        return true;
-    }
-
-    /**
-     * Sends a HELO/EHLO command.
-     * @access private
-     * @return bool
-     */
-    function SendHello($hello, $host) {
-        fputs($this->smtp_conn, $hello . " " . $host . $this->CRLF);
-
-        $rply = $this->get_lines();
-        $code = substr($rply,0,3);
-
-        if($this->do_debug >= 2) {
-            echo "SMTP -> FROM SERVER: " . $this->CRLF . $rply;
-        }
-
-        if($code != 250) {
-            $this->error =
-                array("error" => $hello . " not accepted from server",
-                      "smtp_code" => $code,
-                      "smtp_msg" => substr($rply,4));
-            if($this->do_debug >= 1) {
-                echo "SMTP -> ERROR: " . $this->error["error"] .
-                         ": " . $rply . $this->CRLF;
-            }
-            return false;
-        }
-
-        $this->helo_rply = $rply;
-        
-        return true;
-    }
-
-    /**
-     * Gets help information on the keyword specified. If the keyword
-     * is not specified then returns generic help, ussually contianing
-     * A list of keywords that help is available on. This function
-     * returns the results back to the user. It is up to the user to
-     * handle the returned data. If an error occurs then false is
-     * returned with $this->error set appropiately.
-     *
-     * Implements rfc 821: HELP [ <SP> <string> ] <CRLF>
-     *
-     * SMTP CODE SUCCESS: 211,214
-     * SMTP CODE ERROR  : 500,501,502,504,421
-     * @access public
-     * @return string
-     */
-    function Help($keyword="") {
-        $this->error = null; # to avoid confusion
-
-        if(!$this->connected()) {
-            $this->error = array(
-                    "error" => "Called Help() without being connected");
-            return false;
-        }
-
-        $extra = "";
-        if(!empty($keyword)) {
-            $extra = " " . $keyword;
-        }
-
-        fputs($this->smtp_conn,"HELP" . $extra . $this->CRLF);
-
-        $rply = $this->get_lines();
-        $code = substr($rply,0,3);
-
-        if($this->do_debug >= 2) {
-            echo "SMTP -> FROM SERVER:" . $this->CRLF . $rply;
-        }
-
-        if($code != 211 && $code != 214) {
-            $this->error =
-                array("error" => "HELP not accepted from server",
-                      "smtp_code" => $code,
-                      "smtp_msg" => substr($rply,4));
-            if($this->do_debug >= 1) {
-                echo "SMTP -> ERROR: " . $this->error["error"] .
-                         ": " . $rply . $this->CRLF;
-            }
-            return false;
-        }
-
-        return $rply;
-    }
-
-    /**
-     * Starts a mail transaction from the email address specified in
-     * $from. Returns true if successful or false otherwise. If True
-     * the mail transaction is started and then one or more Recipient
-     * commands may be called followed by a Data command.
-     *
-     * Implements rfc 821: MAIL <SP> FROM:<reverse-path> <CRLF>
-     *
-     * SMTP CODE SUCCESS: 250
-     * SMTP CODE SUCCESS: 552,451,452
-     * SMTP CODE SUCCESS: 500,501,421
-     * @access public
-     * @return bool
-     */
-    function Mail($from) {
-        $this->error = null; # so no confusion is caused
-
-        if(!$this->connected()) {
-            $this->error = array(
-                    "error" => "Called Mail() without being connected");
-            return false;
-        }
-
-        fputs($this->smtp_conn,"MAIL FROM:<" . $from . ">" . $this->CRLF);
-
-        $rply = $this->get_lines();
-        $code = substr($rply,0,3);
-
-        if($this->do_debug >= 2) {
-            echo "SMTP -> FROM SERVER:" . $this->CRLF . $rply;
-        }
-
-        if($code != 250) {
-            $this->error =
-                array("error" => "MAIL not accepted from server",
-                      "smtp_code" => $code,
-                      "smtp_msg" => substr($rply,4));
-            if($this->do_debug >= 1) {
-                echo "SMTP -> ERROR: " . $this->error["error"] .
-                         ": " . $rply . $this->CRLF;
-            }
-            return false;
-        }
-        return true;
-    }
-
-    /**
-     * Sends the command NOOP to the SMTP server.
-     *
-     * Implements from rfc 821: NOOP <CRLF>
-     *
-     * SMTP CODE SUCCESS: 250
-     * SMTP CODE ERROR  : 500, 421
-     * @access public
-     * @return bool
-     */
-    function Noop() {
-        $this->error = null; # so no confusion is caused
-
-        if(!$this->connected()) {
-            $this->error = array(
-                    "error" => "Called Noop() without being connected");
-            return false;
-        }
-
-        fputs($this->smtp_conn,"NOOP" . $this->CRLF);
-
-        $rply = $this->get_lines();
-        $code = substr($rply,0,3);
-
-        if($this->do_debug >= 2) {
-            echo "SMTP -> FROM SERVER:" . $this->CRLF . $rply;
-        }
-
-        if($code != 250) {
-            $this->error =
-                array("error" => "NOOP not accepted from server",
-                      "smtp_code" => $code,
-                      "smtp_msg" => substr($rply,4));
-            if($this->do_debug >= 1) {
-                echo "SMTP -> ERROR: " . $this->error["error"] .
-                         ": " . $rply . $this->CRLF;
-            }
-            return false;
-        }
-        return true;
-    }
-
-    /**
-     * Sends the quit command to the server and then closes the socket
-     * if there is no error or the $close_on_error argument is true.
-     *
-     * Implements from rfc 821: QUIT <CRLF>
-     *
-     * SMTP CODE SUCCESS: 221
-     * SMTP CODE ERROR  : 500
-     * @access public
-     * @return bool
-     */
-    function Quit($close_on_error=true) {
-        $this->error = null; # so there is no confusion
-
-        if(!$this->connected()) {
-            $this->error = array(
-                    "error" => "Called Quit() without being connected");
-            return false;
-        }
-
-        # send the quit command to the server
-        fputs($this->smtp_conn,"quit" . $this->CRLF);
-
-        # get any good-bye messages
-        $byemsg = $this->get_lines();
-
-        if($this->do_debug >= 2) {
-            echo "SMTP -> FROM SERVER:" . $this->CRLF . $byemsg;
-        }
-
-        $rval = true;
-        $e = null;
-
-        $code = substr($byemsg,0,3);
-        if($code != 221) {
-            # use e as a tmp var cause Close will overwrite $this->error
-            $e = array("error" => "SMTP server rejected quit command",
-                       "smtp_code" => $code,
-                       "smtp_rply" => substr($byemsg,4));
-            $rval = false;
-            if($this->do_debug >= 1) {
-                echo "SMTP -> ERROR: " . $e["error"] . ": " .
-                         $byemsg . $this->CRLF;
-            }
-        }
-
-        if(empty($e) || $close_on_error) {
-            $this->Close();
-        }
-
-        return $rval;
-    }
-
-    /**
-     * Sends the command RCPT to the SMTP server with the TO: argument of $to.
-     * Returns true if the recipient was accepted false if it was rejected.
-     *
-     * Implements from rfc 821: RCPT <SP> TO:<forward-path> <CRLF>
-     *
-     * SMTP CODE SUCCESS: 250,251
-     * SMTP CODE FAILURE: 550,551,552,553,450,451,452
-     * SMTP CODE ERROR  : 500,501,503,421
-     * @access public
-     * @return bool
-     */
-    function Recipient($to) {
-        $this->error = null; # so no confusion is caused
-
-        if(!$this->connected()) {
-            $this->error = array(
-                    "error" => "Called Recipient() without being connected");
-            return false;
-        }
-
-        fputs($this->smtp_conn,"RCPT TO:<" . $to . ">" . $this->CRLF);
-
-        $rply = $this->get_lines();
-        $code = substr($rply,0,3);
-
-        if($this->do_debug >= 2) {
-            echo "SMTP -> FROM SERVER:" . $this->CRLF . $rply;
-        }
-
-        if($code != 250 && $code != 251) {
-            $this->error =
-                array("error" => "RCPT not accepted from server",
-                      "smtp_code" => $code,
-                      "smtp_msg" => substr($rply,4));
-            if($this->do_debug >= 1) {
-                echo "SMTP -> ERROR: " . $this->error["error"] .
-                         ": " . $rply . $this->CRLF;
-            }
-            return false;
-        }
-        return true;
-    }
-
-    /**
-     * Sends the RSET command to abort and transaction that is
-     * currently in progress. Returns true if successful false
-     * otherwise.
-     *
-     * Implements rfc 821: RSET <CRLF>
-     *
-     * SMTP CODE SUCCESS: 250
-     * SMTP CODE ERROR  : 500,501,504,421
-     * @access public
-     * @return bool
-     */
-    function Reset() {
-        $this->error = null; # so no confusion is caused
-
-        if(!$this->connected()) {
-            $this->error = array(
-                    "error" => "Called Reset() without being connected");
-            return false;
-        }
-
-        fputs($this->smtp_conn,"RSET" . $this->CRLF);
-
-        $rply = $this->get_lines();
-        $code = substr($rply,0,3);
-
-        if($this->do_debug >= 2) {
-            echo "SMTP -> FROM SERVER:" . $this->CRLF . $rply;
-        }
-
-        if($code != 250) {
-            $this->error =
-                array("error" => "RSET failed",
-                      "smtp_code" => $code,
-                      "smtp_msg" => substr($rply,4));
-            if($this->do_debug >= 1) {
-                echo "SMTP -> ERROR: " . $this->error["error"] .
-                         ": " . $rply . $this->CRLF;
-            }
-            return false;
-        }
-
-        return true;
-    }
-
-    /**
-     * Starts a mail transaction from the email address specified in
-     * $from. Returns true if successful or false otherwise. If True
-     * the mail transaction is started and then one or more Recipient
-     * commands may be called followed by a Data command. This command
-     * will send the message to the users terminal if they are logged
-     * in.
-     *
-     * Implements rfc 821: SEND <SP> FROM:<reverse-path> <CRLF>
-     *
-     * SMTP CODE SUCCESS: 250
-     * SMTP CODE SUCCESS: 552,451,452
-     * SMTP CODE SUCCESS: 500,501,502,421
-     * @access public
-     * @return bool
-     */
-    function Send($from) {
-        $this->error = null; # so no confusion is caused
-
-        if(!$this->connected()) {
-            $this->error = array(
-                    "error" => "Called Send() without being connected");
-            return false;
-        }
-
-        fputs($this->smtp_conn,"SEND FROM:" . $from . $this->CRLF);
-
-        $rply = $this->get_lines();
-        $code = substr($rply,0,3);
-
-        if($this->do_debug >= 2) {
-            echo "SMTP -> FROM SERVER:" . $this->CRLF . $rply;
-        }
-
-        if($code != 250) {
-            $this->error =
-                array("error" => "SEND not accepted from server",
-                      "smtp_code" => $code,
-                      "smtp_msg" => substr($rply,4));
-            if($this->do_debug >= 1) {
-                echo "SMTP -> ERROR: " . $this->error["error"] .
-                         ": " . $rply . $this->CRLF;
-            }
-            return false;
-        }
-        return true;
-    }
-
-    /**
-     * Starts a mail transaction from the email address specified in
-     * $from. Returns true if successful or false otherwise. If True
-     * the mail transaction is started and then one or more Recipient
-     * commands may be called followed by a Data command. This command
-     * will send the message to the users terminal if they are logged
-     * in and send them an email.
-     *
-     * Implements rfc 821: SAML <SP> FROM:<reverse-path> <CRLF>
-     *
-     * SMTP CODE SUCCESS: 250
-     * SMTP CODE SUCCESS: 552,451,452
-     * SMTP CODE SUCCESS: 500,501,502,421
-     * @access public
-     * @return bool
-     */
-    function SendAndMail($from) {
-        $this->error = null; # so no confusion is caused
-
-        if(!$this->connected()) {
-            $this->error = array(
-                "error" => "Called SendAndMail() without being connected");
-            return false;
-        }
-
-        fputs($this->smtp_conn,"SAML FROM:" . $from . $this->CRLF);
-
-        $rply = $this->get_lines();
-        $code = substr($rply,0,3);
-
-        if($this->do_debug >= 2) {
-            echo "SMTP -> FROM SERVER:" . $this->CRLF . $rply;
-        }
-
-        if($code != 250) {
-            $this->error =
-                array("error" => "SAML not accepted from server",
-                      "smtp_code" => $code,
-                      "smtp_msg" => substr($rply,4));
-            if($this->do_debug >= 1) {
-                echo "SMTP -> ERROR: " . $this->error["error"] .
-                         ": " . $rply . $this->CRLF;
-            }
-            return false;
-        }
-        return true;
-    }
-
-    /**
-     * Starts a mail transaction from the email address specified in
-     * $from. Returns true if successful or false otherwise. If True
-     * the mail transaction is started and then one or more Recipient
-     * commands may be called followed by a Data command. This command
-     * will send the message to the users terminal if they are logged
-     * in or mail it to them if they are not.
-     *
-     * Implements rfc 821: SOML <SP> FROM:<reverse-path> <CRLF>
-     *
-     * SMTP CODE SUCCESS: 250
-     * SMTP CODE SUCCESS: 552,451,452
-     * SMTP CODE SUCCESS: 500,501,502,421
-     * @access public
-     * @return bool
-     */
-    function SendOrMail($from) {
-        $this->error = null; # so no confusion is caused
-
-        if(!$this->connected()) {
-            $this->error = array(
-                "error" => "Called SendOrMail() without being connected");
-            return false;
-        }
-
-        fputs($this->smtp_conn,"SOML FROM:" . $from . $this->CRLF);
-
-        $rply = $this->get_lines();
-        $code = substr($rply,0,3);
-
-        if($this->do_debug >= 2) {
-            echo "SMTP -> FROM SERVER:" . $this->CRLF . $rply;
-        }
-
-        if($code != 250) {
-            $this->error =
-                array("error" => "SOML not accepted from server",
-                      "smtp_code" => $code,
-                      "smtp_msg" => substr($rply,4));
-            if($this->do_debug >= 1) {
-                echo "SMTP -> ERROR: " . $this->error["error"] .
-                         ": " . $rply . $this->CRLF;
-            }
-            return false;
-        }
-        return true;
-    }
-
-    /**
-     * This is an optional command for SMTP that this class does not
-     * support. This method is here to make the RFC821 Definition
-     * complete for this class and __may__ be implimented in the future
-     *
-     * Implements from rfc 821: TURN <CRLF>
-     *
-     * SMTP CODE SUCCESS: 250
-     * SMTP CODE FAILURE: 502
-     * SMTP CODE ERROR  : 500, 503
-     * @access public
-     * @return bool
-     */
-    function Turn() {
-        $this->error = array("error" => "This method, TURN, of the SMTP ".
-                                        "is not implemented");
-        if($this->do_debug >= 1) {
-            echo "SMTP -> NOTICE: " . $this->error["error"] . $this->CRLF;
-        }
-        return false;
-    }
-
-    /**
-     * Verifies that the name is recognized by the server.
-     * Returns false if the name could not be verified otherwise
-     * the response from the server is returned.
-     *
-     * Implements rfc 821: VRFY <SP> <string> <CRLF>
-     *
-     * SMTP CODE SUCCESS: 250,251
-     * SMTP CODE FAILURE: 550,551,553
-     * SMTP CODE ERROR  : 500,501,502,421
-     * @access public
-     * @return int
-     */
-    function Verify($name) {
-        $this->error = null; # so no confusion is caused
-
-        if(!$this->connected()) {
-            $this->error = array(
-                    "error" => "Called Verify() without being connected");
-            return false;
-        }
-
-        fputs($this->smtp_conn,"VRFY " . $name . $this->CRLF);
-
-        $rply = $this->get_lines();
-        $code = substr($rply,0,3);
-
-        if($this->do_debug >= 2) {
-            echo "SMTP -> FROM SERVER:" . $this->CRLF . $rply;
-        }
-
-        if($code != 250 && $code != 251) {
-            $this->error =
-                array("error" => "VRFY failed on name '$name'",
-                      "smtp_code" => $code,
-                      "smtp_msg" => substr($rply,4));
-            if($this->do_debug >= 1) {
-                echo "SMTP -> ERROR: " . $this->error["error"] .
-                         ": " . $rply . $this->CRLF;
-            }
-            return false;
-        }
-        return $rply;
-    }
-
-    /*******************************************************************
-     *                       INTERNAL FUNCTIONS                       *
-     ******************************************************************/
-
-    /**
-     * Read in as many lines as possible
-     * either before eof or socket timeout occurs on the operation.
-     * With SMTP we can tell if we have more lines to read if the
-     * 4th character is '-' symbol. If it is a space then we don't
-     * need to read anything else.
-     * @access private
-     * @return string
-     */
-    function get_lines() {
-        $data = "";
-        while($str = fgets($this->smtp_conn,515)) {
-            if($this->do_debug >= 4) {
-                echo "SMTP -> get_lines(): \$data was \"$data\"" .
-                         $this->CRLF;
-                echo "SMTP -> get_lines(): \$str is \"$str\"" .
-                         $this->CRLF;
-            }
-            $data .= $str;
-            if($this->do_debug >= 4) {
-                echo "SMTP -> get_lines(): \$data is \"$data\"" . $this->CRLF;
-            }
-            # if the 4th character is a space then we are done reading
-            # so just break the loop
-            if(substr($str,3,1) == " ") { break; }
-        }
-        return $data;
-    }
-}
-
-?>
+<?php
+/*************************
+  Coppermine Photo Gallery
+  ************************
+  Copyright (c) 2003-2009 Coppermine Dev Team
+  v1.1 originally written by Gregory DEMAR
+
+  This program is free software; you can redistribute it and/or modify
+  it under the terms of the GNU General Public License version 3
+  as published by the Free Software Foundation.
+  
+  ********************************************
+  Coppermine version: 1.4.25
+  $HeadURL: https://coppermine.svn.sourceforge.net/svnroot/coppermine/trunk/cpg1.4.x/include/mailer.inc.php $
+  $Revision: 5997 $
+  $Author: gaugau $
+  $Date: 2009-05-26 08:43:24 +0200 (Di, 26 Mai 2009) $
+**********************************************/
+
+// Custom mail function
+function cpg_mail($to, $subject, $msg_body = '', $type = 'text/plain', $sender_name = '', $sender_email = '', $msg_body_plaintext = '')
+{
+    global $CONFIG, $lang_charset, $HTML_SUBST;
+
+        // makeshift plaintext if not set
+        if (!$msg_body_plaintext){
+                $msg_body_plaintext = strip_tags($msg_body);
+        }
+
+		// Convert html entities back into normal form for display in non HTML formats
+		$msg_body_plaintext = strtr($msg_body_plaintext, array_flip($HTML_SUBST));
+		$subject = strtr($subject, array_flip($HTML_SUBST));
+		
+        // send mails to ALL admins - not bridged only
+    if ($to == 'admin'){
+            if (UDB_INTEGRATION == 'coppermine') {
+                    $to = array($CONFIG['gallery_admin_email']);
+                    $result = cpg_db_query("SELECT user_email FROM {$CONFIG['TABLE_USERS']} WHERE user_group = 1");
+                    while($row = mysql_fetch_assoc($result)) {
+                            if (!empty($row['user_email'])) $to[] = $row['user_email'];
+                    }
+                    $to = array_unique($to);
+            } else {
+                    $to = array($CONFIG['gallery_admin_email']);
+            }
+        } else {
+                $to = array($to);
+        }
+
+	if ($sender_name == '') $sender_name = strtr($CONFIG['gallery_name'], array_flip($HTML_SUBST));
+    if ($sender_email == '') { $sender_email = $CONFIG['gallery_admin_email']; }
+
+    $charset = $CONFIG['charset'] == 'language file' ? $lang_charset : $CONFIG['charset'];
+
+  /**
+   * Code to send confirmation email starts
+   * Create the mail object
+   */
+   $mail = new PHPmailer();
+   
+   // Set the mail configuration
+   
+   
+   if ($CONFIG['smtp_host']) {
+    $mail->IsSMTP();
+    $mail->Host     = $CONFIG['smtp_host'];
+    if ($CONFIG['smtp_username']) {
+      $mail->SMTPAuth = true;
+      $mail->Username = $CONFIG['smtp_username'];
+      $mail->Password = $CONFIG['smtp_password'];
+    } else {
+      $mail->SMTPAuth = false;
+    }
+   } else {
+    $mail->IsMail();
+  }
+   $mail->IsHTML(true);
+   
+   foreach ($to as $email) {
+    $mail->AddAddress($email);
+   }
+   $mail->From = $sender_email;
+   $mail->FromName = $sender_name;
+   $mail->Subject = $subject;
+   $mail->Body = $msg_body;
+   $mail->AltBody = $msg_body_plaintext;
+   $mail->CharSet = $charset;   
+
+   if ($mail->Send()) {
+    return 'Mail sent!';
+   } else {
+    return $mail->ErrorInfo;
+   }
+}
+
+/**
+ * PHPMailer - PHP email transport class
+ * @author Brent R. Matzelle
+ * @copyright 2001 - 2003 Brent R. Matzelle
+ */
+////////////////////////////////////////////////////
+// PHPMailer - PHP email class
+//
+// Class for sending email using either
+// sendmail, PHP mail(), or SMTP.  Methods are
+// based upon the standard AspEmail(tm) classes.
+//
+// Copyright (C) 2001 - 2003  Brent R. Matzelle
+//
+// License: LGPL, see LICENSE
+////////////////////////////////////////////////////
+
+class PHPMailer
+{
+    /////////////////////////////////////////////////
+    // PUBLIC VARIABLES
+    /////////////////////////////////////////////////
+
+    /**
+     * Email priority (1 = High, 3 = Normal, 5 = low).
+     * @var int
+     */
+    var $Priority          = 3;
+
+    /**
+     * Sets the CharSet of the message.
+     * @var string
+     */
+    var $CharSet           = "iso-8859-1";
+
+    /**
+     * Sets the Content-type of the message.
+     * @var string
+     */
+    var $ContentType        = "text/plain";
+
+    /**
+     * Sets the Encoding of the message. Options for this are "8bit",
+     * "7bit", "binary", "base64", and "quoted-printable".
+     * @var string
+     */
+    var $Encoding          = "8bit";
+
+    /**
+     * Holds the most recent mailer error message.
+     * @var string
+     */
+    var $ErrorInfo         = "";
+
+    /**
+     * Sets the From email address for the message.
+     * @var string
+     */
+    var $From               = "root@localhost";
+
+    /**
+     * Sets the From name of the message.
+     * @var string
+     */
+    var $FromName           = "Root User";
+
+    /**
+     * Sets the Sender email (Return-Path) of the message.  If not empty,
+     * will be sent via -f to sendmail or as 'MAIL FROM' in smtp mode.
+     * @var string
+     */
+    var $Sender            = "";
+
+    /**
+     * Sets the Subject of the message.
+     * @var string
+     */
+    var $Subject           = "";
+
+    /**
+     * Sets the Body of the message.  This can be either an HTML or text body.
+     * If HTML then run IsHTML(true).
+     * @var string
+     */
+    var $Body               = "";
+
+    /**
+     * Sets the text-only body of the message.  This automatically sets the
+     * email to multipart/alternative.  This body can be read by mail
+     * clients that do not have HTML email capability such as mutt. Clients
+     * that can read HTML will view the normal Body.
+     * @var string
+     */
+    var $AltBody           = "";
+
+    /**
+     * Sets word wrapping on the body of the message to a given number of 
+     * characters.
+     * @var int
+     */
+    var $WordWrap          = 0;
+
+    /**
+     * Method to send mail: ("mail", "sendmail", or "smtp").
+     * @var string
+     */
+    var $Mailer            = "mail";
+
+    /**
+     * Sets the path of the sendmail program.
+     * @var string
+     */
+    var $Sendmail          = "/usr/sbin/sendmail";
+    
+    /**
+     * Path to PHPMailer plugins.  This is now only useful if the SMTP class 
+     * is in a different directory than the PHP include path.  
+     * @var string
+     */
+    var $PluginDir         = "";
+
+    /**
+     *  Holds PHPMailer version.
+     *  @var string
+     */
+    var $Version           = "1.72";
+
+    /**
+     * Sets the email address that a reading confirmation will be sent.
+     * @var string
+     */
+    var $ConfirmReadingTo  = "";
+
+    /**
+     *  Sets the hostname to use in Message-Id and Received headers
+     *  and as default HELO string. If empty, the value returned
+     *  by SERVER_NAME is used or 'localhost.localdomain'.
+     *  @var string
+     */
+    var $Hostname          = "";
+
+    /////////////////////////////////////////////////
+    // SMTP VARIABLES
+    /////////////////////////////////////////////////
+
+    /**
+     *  Sets the SMTP hosts.  All hosts must be separated by a
+     *  semicolon.  You can also specify a different port
+     *  for each host by using this format: [hostname:port]
+     *  (e.g. "smtp1.example.com:25;smtp2.example.com").
+     *  Hosts will be tried in order.
+     *  @var string
+     */
+    var $Host        = "localhost";
+
+    /**
+     *  Sets the default SMTP server port.
+     *  @var int
+     */
+    var $Port        = 25;
+
+    /**
+     *  Sets the SMTP HELO of the message (Default is $Hostname).
+     *  @var string
+     */
+    var $Helo        = "";
+
+    /**
+     *  Sets SMTP authentication. Utilizes the Username and Password variables.
+     *  @var bool
+     */
+    var $SMTPAuth     = false;
+
+    /**
+     *  Sets SMTP username.
+     *  @var string
+     */
+    var $Username     = "";
+
+    /**
+     *  Sets SMTP password.
+     *  @var string
+     */
+    var $Password     = "";
+
+    /**
+     *  Sets the SMTP server timeout in seconds. This function will not 
+     *  work with the win32 version.
+     *  @var int
+     */
+    var $Timeout      = 10;
+
+    /**
+     *  Sets SMTP class debugging on or off.
+     *  @var bool
+     */
+    var $SMTPDebug    = false;
+
+    /**
+     * Prevents the SMTP connection from being closed after each mail 
+     * sending.  If this is set to true then to close the connection 
+     * requires an explicit call to SmtpClose(). 
+     * @var bool
+     */
+    var $SMTPKeepAlive = false;
+
+    /**#@+
+     * @access private
+     */
+    var $smtp            = NULL;
+    var $to              = array();
+    var $cc              = array();
+    var $bcc             = array();
+    var $ReplyTo         = array();
+    var $attachment      = array();
+    var $CustomHeader    = array();
+    var $message_type    = "";
+    var $boundary        = array();
+    var $language        = array();
+    var $error_count     = 0;
+    var $LE              = "\n";
+    /**#@-*/
+    
+    /////////////////////////////////////////////////
+    // VARIABLE METHODS
+    /////////////////////////////////////////////////
+
+    /**
+     * Sets message type to HTML.  
+     * @param bool $bool
+     * @return void
+     */
+    function IsHTML($bool) {
+        if($bool == true)
+            $this->ContentType = "text/html";
+        else
+            $this->ContentType = "text/plain";
+    }
+
+    /**
+     * Sets Mailer to send message using SMTP.
+     * @return void
+     */
+    function IsSMTP() {
+        $this->Mailer = "smtp";
+    }
+
+    /**
+     * Sets Mailer to send message using PHP mail() function.
+     * @return void
+     */
+    function IsMail() {
+        $this->Mailer = "mail";
+    }
+
+    /**
+     * Sets Mailer to send message using the $Sendmail program.
+     * @return void
+     */
+    function IsSendmail() {
+        $this->Mailer = "sendmail";
+    }
+
+    /**
+     * Sets Mailer to send message using the qmail MTA. 
+     * @return void
+     */
+    function IsQmail() {
+        $this->Sendmail = "/var/qmail/bin/sendmail";
+        $this->Mailer = "sendmail";
+    }
+
+
+    /////////////////////////////////////////////////
+    // RECIPIENT METHODS
+    /////////////////////////////////////////////////
+
+    /**
+     * Adds a "To" address.  
+     * @param string $address
+     * @param string $name
+     * @return void
+     */
+    function AddAddress($address, $name = "") {
+        $cur = count($this->to);
+        $this->to[$cur][0] = trim($address);
+        $this->to[$cur][1] = $name;
+    }
+
+    /**
+     * Adds a "Cc" address. Note: this function works
+     * with the SMTP mailer on win32, not with the "mail"
+     * mailer.  
+     * @param string $address
+     * @param string $name
+     * @return void
+    */
+    function AddCC($address, $name = "") {
+        $cur = count($this->cc);
+        $this->cc[$cur][0] = trim($address);
+        $this->cc[$cur][1] = $name;
+    }
+
+    /**
+     * Adds a "Bcc" address. Note: this function works
+     * with the SMTP mailer on win32, not with the "mail"
+     * mailer.  
+     * @param string $address
+     * @param string $name
+     * @return void
+     */
+    function AddBCC($address, $name = "") {
+        $cur = count($this->bcc);
+        $this->bcc[$cur][0] = trim($address);
+        $this->bcc[$cur][1] = $name;
+    }
+
+    /**
+     * Adds a "Reply-to" address.  
+     * @param string $address
+     * @param string $name
+     * @return void
+     */
+    function AddReplyTo($address, $name = "") {
+        $cur = count($this->ReplyTo);
+        $this->ReplyTo[$cur][0] = trim($address);
+        $this->ReplyTo[$cur][1] = $name;
+    }
+
+
+    /////////////////////////////////////////////////
+    // MAIL SENDING METHODS
+    /////////////////////////////////////////////////
+
+    /**
+     * Creates message and assigns Mailer. If the message is
+     * not sent successfully then it returns false.  Use the ErrorInfo
+     * variable to view description of the error.  
+     * @return bool
+     */
+    function Send() {
+        $header = "";
+        $body = "";
+        $result = true;
+
+        if((count($this->to) + count($this->cc) + count($this->bcc)) < 1)
+        {
+            $this->SetError($this->Lang("provide_address"));
+            return false;
+        }
+
+        // Set whether the message is multipart/alternative
+        if(!empty($this->AltBody))
+            $this->ContentType = "multipart/alternative";
+
+        $this->error_count = 0; // reset errors
+        $this->SetMessageType();
+        $header .= $this->CreateHeader();
+        $body = $this->CreateBody();
+
+        if($body == "") { return false; }
+
+        // Choose the mailer
+        switch($this->Mailer)
+        {
+            case "sendmail":
+                $result = $this->SendmailSend($header, $body);
+                break;
+            case "mail":
+                $result = $this->MailSend($header, $body);
+                break;
+            case "smtp":
+                $result = $this->SmtpSend($header, $body);
+                break;
+            default:
+            $this->SetError($this->Mailer . $this->Lang("mailer_not_supported"));
+                $result = false;
+                break;
+        }
+
+        return $result;
+    }
+    
+    /**
+     * Sends mail using the $Sendmail program.  
+     * @access private
+     * @return bool
+     */
+    function SendmailSend($header, $body) {
+        if ($this->Sender != "")
+            $sendmail = sprintf("%s -oi -f %s -t", $this->Sendmail, $this->Sender);
+        else
+            $sendmail = sprintf("%s -oi -t", $this->Sendmail);
+
+        if(!@$mail = popen($sendmail, "w"))
+        {
+            $this->SetError($this->Lang("execute") . $this->Sendmail);
+            return false;
+        }
+
+        fputs($mail, $header);
+        fputs($mail, $body);
+        
+        $result = pclose($mail) >> 8 & 0xFF;
+        if($result != 0)
+        {
+            $this->SetError($this->Lang("execute") . $this->Sendmail);
+            return false;
+        }
+
+        return true;
+    }
+
+    /**
+     * Sends mail using the PHP mail() function.  
+     * @access private
+     * @return bool
+     */
+    function MailSend($header, $body) {
+        $to = "";
+        for($i = 0; $i < count($this->to); $i++)
+        {
+            if($i != 0) { $to .= ", "; }
+            $to .= $this->to[$i][0];
+        }
+
+        if ($this->Sender != "" && strlen(ini_get("safe_mode"))< 1)
+        {
+            $old_from = ini_get("sendmail_from");
+            ini_set("sendmail_from", $this->Sender);
+            $params = sprintf("-oi -f %s", $this->Sender);
+            $rt = @mail($to, $this->EncodeHeader($this->Subject), $body, 
+                        $header, $params);
+        }
+        else
+            $rt = @mail($to, $this->EncodeHeader($this->Subject), $body, $header);
+
+        if (isset($old_from))
+            ini_set("sendmail_from", $old_from);
+
+        if(!$rt)
+        {
+            $this->SetError($this->Lang("instantiate"));
+            return false;
+        }
+
+        return true;
+    }
+
+    /**
+     * Sends mail via SMTP using PhpSMTP (Author:
+     * Chris Ryan).  Returns bool.  Returns false if there is a
+     * bad MAIL FROM, RCPT, or DATA input.
+     * @access private
+     * @return bool
+     */
+    function SmtpSend($header, $body) {
+        //include_once($this->PluginDir . "class.smtp.php");
+        $error = "";
+        $bad_rcpt = array();
+
+        if(!$this->SmtpConnect()) {
+            return false;
+        }
+
+        $smtp_from = ($this->Sender == "") ? $this->From : $this->Sender;
+        if(!$this->smtp->Mail($smtp_from))
+        {
+            $error = $this->Lang("from_failed") . $smtp_from;
+            $this->SetError($error);
+            $this->smtp->Reset();
+            return false;
+        }
+
+        // Attempt to send attach all recipients
+        for($i = 0; $i < count($this->to); $i++)
+        {
+            if(!$this->smtp->Recipient($this->to[$i][0]))
+                $bad_rcpt[] = $this->to[$i][0];
+        }
+        for($i = 0; $i < count($this->cc); $i++)
+        {
+            if(!$this->smtp->Recipient($this->cc[$i][0]))
+                $bad_rcpt[] = $this->cc[$i][0];
+        }
+        for($i = 0; $i < count($this->bcc); $i++)
+        {
+            if(!$this->smtp->Recipient($this->bcc[$i][0]))
+                $bad_rcpt[] = $this->bcc[$i][0];
+        }
+
+        if(count($bad_rcpt) > 0) // Create error message
+        {
+            for($i = 0; $i < count($bad_rcpt); $i++)
+            {
+                if($i != 0) { $error .= ", "; }
+                $error .= $bad_rcpt[$i];
+            }
+            $error = $this->Lang("recipients_failed") . $error;
+            $this->SetError($error);
+            $this->smtp->Reset();
+            return false;
+        }
+
+        if(!$this->smtp->Data($header . $body))
+        {
+            $this->SetError($this->Lang("data_not_accepted"));
+            $this->smtp->Reset();
+            return false;
+        }
+        if($this->SMTPKeepAlive == true)
+            $this->smtp->Reset();
+        else
+            $this->SmtpClose();
+
+        return true;
+    }
+
+    /**
+     * Initiates a connection to an SMTP server.  Returns false if the 
+     * operation failed.
+     * @access private
+     * @return bool
+     */
+    function SmtpConnect() {
+        if($this->smtp == NULL) { $this->smtp = new SMTP(); }
+
+        $this->smtp->do_debug = $this->SMTPDebug;
+        $hosts = explode(";", $this->Host);
+        $index = 0;
+        $connection = ($this->smtp->Connected()); 
+
+        // Retry while there is no connection
+        while($index < count($hosts) && $connection == false)
+        {
+            if(strstr($hosts[$index], ":"))
+                list($host, $port) = explode(":", $hosts[$index]);
+            else
+            {
+                $host = $hosts[$index];
+                $port = $this->Port;
+            }
+
+            if($this->smtp->Connect($host, $port, $this->Timeout))
+            {
+                if ($this->Helo != '')
+                    $this->smtp->Hello($this->Helo);
+                else
+                    $this->smtp->Hello($this->ServerHostname());
+        
+                if($this->SMTPAuth)
+                {
+                    if(!$this->smtp->Authenticate($this->Username, 
+                                                  $this->Password))
+                    {
+                        $this->SetError($this->Lang("authenticate"));
+                        $this->smtp->Reset();
+                        $connection = false;
+                    }
+                }
+                $connection = true;
+            }
+            $index++;
+        }
+        if(!$connection)
+            $this->SetError($this->Lang("connect_host"));
+
+        return $connection;
+    }
+
+    /**
+     * Closes the active SMTP session if one exists.
+     * @return void
+     */
+    function SmtpClose() {
+        if($this->smtp != NULL)
+        {
+            if($this->smtp->Connected())
+            {
+                $this->smtp->Quit();
+                $this->smtp->Close();
+            }
+        }
+    }
+
+    /**
+     * Sets the language for all class error messages.  Returns false 
+     * if it cannot load the language file.  The default language type
+     * is English.
+     * @param string $lang_type Type of language (e.g. Portuguese: "br")
+     * @param string $lang_path Path to the language file directory
+     * @access public
+     * @return bool
+     */
+    function SetLanguage($lang_type, $lang_path = "lang/") {
+        if(file_exists($lang_path.'phpmailer.lang-'.$lang_type.'.php'))
+            include($lang_path.'phpmailer.lang-'.$lang_type.'.php');
+        else if(file_exists($lang_path.'phpmailer.lang-en.php'))
+            include($lang_path.'phpmailer.lang-en.php');
+        else
+        {
+            $this->SetError("Could not load language file");
+            return false;
+        }
+        $this->language = $PHPMAILER_LANG;
+    
+        return true;
+    }
+
+    /////////////////////////////////////////////////
+    // MESSAGE CREATION METHODS
+    /////////////////////////////////////////////////
+
+    /**
+     * Creates recipient headers.  
+     * @access private
+     * @return string
+     */
+    function AddrAppend($type, $addr) {
+        $addr_str = $type . ": ";
+        $addr_str .= $this->AddrFormat($addr[0]);
+        if(count($addr) > 1)
+        {
+            for($i = 1; $i < count($addr); $i++)
+                $addr_str .= ", " . $this->AddrFormat($addr[$i]);
+        }
+        $addr_str .= $this->LE;
+
+        return $addr_str;
+    }
+    
+    /**
+     * Formats an address correctly. 
+     * @access private
+     * @return string
+     */
+    function AddrFormat($addr) {
+        if(empty($addr[1]))
+            $formatted = $addr[0];
+        else
+        {
+            $formatted = $this->EncodeHeader($addr[1], 'phrase') . " <" . 
+                         $addr[0] . ">";
+        }
+
+        return $formatted;
+    }
+
+    /**
+     * Wraps message for use with mailers that do not
+     * automatically perform wrapping and for quoted-printable.
+     * Original written by philippe.  
+     * @access private
+     * @return string
+     */
+    function WrapText($message, $length, $qp_mode = false) {
+        $soft_break = ($qp_mode) ? sprintf(" =%s", $this->LE) : $this->LE;
+
+        $message = $this->FixEOL($message);
+        if (substr($message, -1) == $this->LE)
+            $message = substr($message, 0, -1);
+
+        $line = explode($this->LE, $message);
+        $message = "";
+        for ($i=0 ;$i < count($line); $i++)
+        {
+          $line_part = explode(" ", $line[$i]);
+          $buf = "";
+          for ($e = 0; $e<count($line_part); $e++)
+          {
+              $word = $line_part[$e];
+              if ($qp_mode and (strlen($word) > $length))
+              {
+                $space_left = $length - strlen($buf) - 1;
+                if ($e != 0)
+                {
+                    if ($space_left > 20)
+                    {
+                        $len = $space_left;
+                        if (substr($word, $len - 1, 1) == "=")
+                          $len--;
+                        elseif (substr($word, $len - 2, 1) == "=")
+                          $len -= 2;
+                        $part = substr($word, 0, $len);
+                        $word = substr($word, $len);
+                        $buf .= " " . $part;
+                        $message .= $buf . sprintf("=%s", $this->LE);
+                    }
+                    else
+                    {
+                        $message .= $buf . $soft_break;
+                    }
+                    $buf = "";
+                }
+                while (strlen($word) > 0)
+                {
+                    $len = $length;
+                    if (substr($word, $len - 1, 1) == "=")
+                        $len--;
+                    elseif (substr($word, $len - 2, 1) == "=")
+                        $len -= 2;
+                    $part = substr($word, 0, $len);
+                    $word = substr($word, $len);
+
+                    if (strlen($word) > 0)
+                        $message .= $part . sprintf("=%s", $this->LE);
+                    else
+                        $buf = $part;
+                }
+              }
+              else
+              {
+                $buf_o = $buf;
+                $buf .= ($e == 0) ? $word : (" " . $word); 
+
+                if (strlen($buf) > $length and $buf_o != "")
+                {
+                    $message .= $buf_o . $soft_break;
+                    $buf = $word;
+                }
+              }
+          }
+          $message .= $buf . $this->LE;
+        }
+
+        return $message;
+    }
+    
+    /**
+     * Set the body wrapping.
+     * @access private
+     * @return void
+     */
+    function SetWordWrap() {
+        if($this->WordWrap < 1)
+            return;
+            
+        switch($this->message_type)
+        {
+           case "alt":
+              // fall through
+           case "alt_attachment":
+              $this->AltBody = $this->WrapText($this->AltBody, $this->WordWrap);
+              break;
+           default:
+              $this->Body = $this->WrapText($this->Body, $this->WordWrap);
+              break;
+        }
+    }
+
+    /**
+     * Assembles message header.  
+     * @access private
+     * @return string
+     */
+    function CreateHeader() {
+        $result = "";
+        
+        // Set the boundaries
+        $uniq_id = md5(uniqid(time()));
+        $this->boundary[1] = "b1_" . $uniq_id;
+        $this->boundary[2] = "b2_" . $uniq_id;
+
+        $result .= $this->HeaderLine("Date", $this->RFCDate());
+        if($this->Sender == "")
+            $result .= $this->HeaderLine("Return-Path", trim($this->From));
+        else
+            $result .= $this->HeaderLine("Return-Path", trim($this->Sender));
+        
+        // To be created automatically by mail()
+        if($this->Mailer != "mail")
+        {
+            if(count($this->to) > 0)
+                $result .= $this->AddrAppend("To", $this->to);
+            else if (count($this->cc) == 0)
+                $result .= $this->HeaderLine("To", "undisclosed-recipients:;");
+            if(count($this->cc) > 0)
+                $result .= $this->AddrAppend("Cc", $this->cc);
+        }
+
+        $from = array();
+        $from[0][0] = trim($this->From);
+        $from[0][1] = $this->FromName;
+        $result .= $this->AddrAppend("From", $from); 
+
+        // sendmail and mail() extract Bcc from the header before sending
+        if((($this->Mailer == "sendmail") || ($this->Mailer == "mail")) && (count($this->bcc) > 0))
+            $result .= $this->AddrAppend("Bcc", $this->bcc);
+
+        if(count($this->ReplyTo) > 0)
+            $result .= $this->AddrAppend("Reply-to", $this->ReplyTo);
+
+        // mail() sets the subject itself
+        if($this->Mailer != "mail")
+            $result .= $this->HeaderLine("Subject", $this->EncodeHeader(trim($this->Subject)));
+
+        $result .= sprintf("Message-ID: <%s@%s>%s", $uniq_id, $this->ServerHostname(), $this->LE);
+        $result .= $this->HeaderLine("X-Priority", $this->Priority);
+        $result .= $this->HeaderLine("X-Mailer", "PHPMailer [version " . $this->Version . "]");
+        
+        if($this->ConfirmReadingTo != "")
+        {
+            $result .= $this->HeaderLine("Disposition-Notification-To", 
+                       "<" . trim($this->ConfirmReadingTo) . ">");
+        }
+
+        // Add custom headers
+        for($index = 0; $index < count($this->CustomHeader); $index++)
+        {
+            $result .= $this->HeaderLine(trim($this->CustomHeader[$index][0]), 
+                       $this->EncodeHeader(trim($this->CustomHeader[$index][1])));
+        }
+        $result .= $this->HeaderLine("MIME-Version", "1.0");
+
+        switch($this->message_type)
+        {
+            case "plain":
+                $result .= $this->HeaderLine("Content-Transfer-Encoding", $this->Encoding);
+                $result .= sprintf("Content-Type: %s; charset=\"%s\"",
+                                    $this->ContentType, $this->CharSet);
+                break;
+            case "attachments":
+                // fall through
+            case "alt_attachments":
+                if($this->InlineImageExists())
+                {
+                    $result .= sprintf("Content-Type: %s;%s\ttype=\"text/html\";%s\tboundary=\"%s\"%s", 
+                                    "multipart/related", $this->LE, $this->LE, 
+                                    $this->boundary[1], $this->LE);
+                }
+                else
+                {
+                    $result .= $this->HeaderLine("Content-Type", "multipart/mixed;");
+                    $result .= $this->TextLine("\tboundary=\"" . $this->boundary[1] . '"');
+                }
+                break;
+            case "alt":
+                $result .= $this->HeaderLine("Content-Type", "multipart/alternative;");
+                $result .= $this->TextLine("\tboundary=\"" . $this->boundary[1] . '"');
+                break;
+        }
+
+        if($this->Mailer != "mail")
+            $result .= $this->LE.$this->LE;
+
+        return $result;
+    }
+
+    /**
+     * Assembles the message body.  Returns an empty string on failure.
+     * @access private
+     * @return string
+     */
+    function CreateBody() {
+        $result = "";
+
+        $this->SetWordWrap();
+
+        switch($this->message_type)
+        {
+            case "alt":
+                $result .= $this->GetBoundary($this->boundary[1], "", 
+                                              "text/plain", "");
+                $result .= $this->EncodeString($this->AltBody, $this->Encoding);
+                $result .= $this->LE.$this->LE;
+                $result .= $this->GetBoundary($this->boundary[1], "", 
+                                              "text/html", "");
+                
+                $result .= $this->EncodeString($this->Body, $this->Encoding);
+                $result .= $this->LE.$this->LE;
+    
+                $result .= $this->EndBoundary($this->boundary[1]);
+                break;
+            case "plain":
+                $result .= $this->EncodeString($this->Body, $this->Encoding);
+                break;
+            case "attachments":
+                $result .= $this->GetBoundary($this->boundary[1], "", "", "");
+                $result .= $this->EncodeString($this->Body, $this->Encoding);
+                $result .= $this->LE;
+     
+                $result .= $this->AttachAll();
+                break;
+            case "alt_attachments":
+                $result .= sprintf("--%s%s", $this->boundary[1], $this->LE);
+                $result .= sprintf("Content-Type: %s;%s" .
+                                   "\tboundary=\"%s\"%s",
+                                   "multipart/alternative", $this->LE, 
+                                   $this->boundary[2], $this->LE.$this->LE);
+    
+                // Create text body
+                $result .= $this->GetBoundary($this->boundary[2], "", 
+                                              "text/plain", "") . $this->LE;
+
+                $result .= $this->EncodeString($this->AltBody, $this->Encoding);
+                $result .= $this->LE.$this->LE;
+    
+                // Create the HTML body
+                $result .= $this->GetBoundary($this->boundary[2], "", 
+                                              "text/html", "") . $this->LE;
+    
+                $result .= $this->EncodeString($this->Body, $this->Encoding);
+                $result .= $this->LE.$this->LE;
+
+                $result .= $this->EndBoundary($this->boundary[2]);
+                
+                $result .= $this->AttachAll();
+                break;
+        }
+        if($this->IsError())
+            $result = "";
+
+        return $result;
+    }
+
+    /**
+     * Returns the start of a message boundary.
+     * @access private
+     */
+    function GetBoundary($boundary, $charSet, $contentType, $encoding) {
+        $result = "";
+        if($charSet == "") { $charSet = $this->CharSet; }
+        if($contentType == "") { $contentType = $this->ContentType; }
+        if($encoding == "") { $encoding = $this->Encoding; }
+
+        $result .= $this->TextLine("--" . $boundary);
+        $result .= sprintf("Content-Type: %s; charset = \"%s\"", 
+                            $contentType, $charSet);
+        $result .= $this->LE;
+        $result .= $this->HeaderLine("Content-Transfer-Encoding", $encoding);
+        $result .= $this->LE;
+       
+        return $result;
+    }
+    
+    /**
+     * Returns the end of a message boundary.
+     * @access private
+     */
+    function EndBoundary($boundary) {
+        return $this->LE . "--" . $boundary . "--" . $this->LE; 
+    }
+    
+    /**
+     * Sets the message type.
+     * @access private
+     * @return void
+     */
+    function SetMessageType() {
+        if(count($this->attachment) < 1 && strlen($this->AltBody) < 1)
+            $this->message_type = "plain";
+        else
+        {
+            if(count($this->attachment) > 0)
+                $this->message_type = "attachments";
+            if(strlen($this->AltBody) > 0 && count($this->attachment) < 1)
+                $this->message_type = "alt";
+            if(strlen($this->AltBody) > 0 && count($this->attachment) > 0)
+                $this->message_type = "alt_attachments";
+        }
+    }
+
+    /**
+     * Returns a formatted header line.
+     * @access private
+     * @return string
+     */
+    function HeaderLine($name, $value) {
+        return $name . ": " . $value . $this->LE;
+    }
+
+    /**
+     * Returns a formatted mail line.
+     * @access private
+     * @return string
+     */
+    function TextLine($value) {
+        return $value . $this->LE;
+    }
+
+    /////////////////////////////////////////////////
+    // ATTACHMENT METHODS
+    /////////////////////////////////////////////////
+
+    /**
+     * Adds an attachment from a path on the filesystem.
+     * Returns false if the file could not be found
+     * or accessed.
+     * @param string $path Path to the attachment.
+     * @param string $name Overrides the attachment name.
+     * @param string $encoding File encoding (see $Encoding).
+     * @param string $type File extension (MIME) type.
+     * @return bool
+     */
+    function AddAttachment($path, $name = "", $encoding = "base64", 
+                           $type = "application/octet-stream") {
+        if(!@is_file($path))
+        {
+            $this->SetError($this->Lang("file_access") . $path);
+            return false;
+        }
+
+        $filename = basename($path);
+        if($name == "")
+            $name = $filename;
+
+        $cur = count($this->attachment);
+        $this->attachment[$cur][0] = $path;
+        $this->attachment[$cur][1] = $filename;
+        $this->attachment[$cur][2] = $name;
+        $this->attachment[$cur][3] = $encoding;
+        $this->attachment[$cur][4] = $type;
+        $this->attachment[$cur][5] = false; // isStringAttachment
+        $this->attachment[$cur][6] = "attachment";
+        $this->attachment[$cur][7] = 0;
+
+        return true;
+    }
+
+    /**
+     * Attaches all fs, string, and binary attachments to the message.
+     * Returns an empty string on failure.
+     * @access private
+     * @return string
+     */
+    function AttachAll() {
+        // Return text of body
+        $mime = array();
+
+        // Add all attachments
+        for($i = 0; $i < count($this->attachment); $i++)
+        {
+            // Check for string attachment
+            $bString = $this->attachment[$i][5];
+            if ($bString)
+                $string = $this->attachment[$i][0];
+            else
+                $path = $this->attachment[$i][0];
+
+            $filename    = $this->attachment[$i][1];
+            $name        = $this->attachment[$i][2];
+            $encoding    = $this->attachment[$i][3];
+            $type        = $this->attachment[$i][4];
+            $disposition = $this->attachment[$i][6];
+            $cid         = $this->attachment[$i][7];
+            
+            $mime[] = sprintf("--%s%s", $this->boundary[1], $this->LE);
+            $mime[] = sprintf("Content-Type: %s; name=\"%s\"%s", $type, $name, $this->LE);
+            $mime[] = sprintf("Content-Transfer-Encoding: %s%s", $encoding, $this->LE);
+
+            if($disposition == "inline")
+                $mime[] = sprintf("Content-ID: <%s>%s", $cid, $this->LE);
+
+            $mime[] = sprintf("Content-Disposition: %s; filename=\"%s\"%s", 
+                              $disposition, $name, $this->LE.$this->LE);
+
+            // Encode as string attachment
+            if($bString)
+            {
+                $mime[] = $this->EncodeString($string, $encoding);
+                if($this->IsError()) { return ""; }
+                $mime[] = $this->LE.$this->LE;
+            }
+            else
+            {
+                $mime[] = $this->EncodeFile($path, $encoding);                
+                if($this->IsError()) { return ""; }
+                $mime[] = $this->LE.$this->LE;
+            }
+        }
+
+        $mime[] = sprintf("--%s--%s", $this->boundary[1], $this->LE);
+
+        return join("", $mime);
+    }
+    
+    /**
+     * Encodes attachment in requested format.  Returns an
+     * empty string on failure.
+     * @access private
+     * @return string
+     */
+    function EncodeFile ($path, $encoding = "base64") {
+        if(!@$fd = fopen($path, "rb"))
+        {
+            $this->SetError($this->Lang("file_open") . $path);
+            return "";
+        }
+        $file_buffer = fread($fd, filesize($path));
+        $file_buffer = $this->EncodeString($file_buffer, $encoding);
+        fclose($fd);
+
+        return $file_buffer;
+    }
+
+    /**
+     * Encodes string to requested format. Returns an
+     * empty string on failure.
+     * @access private
+     * @return string
+     */
+    function EncodeString ($str, $encoding = "base64") {
+        $encoded = "";
+        switch(strtolower($encoding)) {
+          case "base64":
+              // chunk_split is found in PHP >= 3.0.6
+              $encoded = chunk_split(base64_encode($str), 76, $this->LE);
+              break;
+          case "7bit":
+          case "8bit":
+              $encoded = $this->FixEOL($str);
+              if (substr($encoded, -(strlen($this->LE))) != $this->LE)
+                $encoded .= $this->LE;
+              break;
+          case "binary":
+              $encoded = $str;
+              break;
+          case "quoted-printable":
+              $encoded = $this->EncodeQP($str);
+              break;
+          default:
+              $this->SetError($this->Lang("encoding") . $encoding);
+              break;
+        }
+        return $encoded;
+    }
+
+    /**
+     * Encode a header string to best of Q, B, quoted or none.  
+     * @access private
+     * @return string
+     */
+    function EncodeHeader ($str, $position = 'text') {
+      $x = 0;
+      
+      switch (strtolower($position)) {
+        case 'phrase':
+          if (!preg_match('/[\200-\377]/', $str)) {
+            // Can't use addslashes as we don't know what value has magic_quotes_sybase.
+            $encoded = addcslashes($str, "\0..\37\177\\\"");
+
+            if (($str == $encoded) && !preg_match('/[^A-Za-z0-9!#$%&\'*+\/=?^_`{|}~ -]/', $str))
+              return ($encoded);
+            else
+              return ("\"$encoded\"");
+          }
+          $x = preg_match_all('/[^\040\041\043-\133\135-\176]/', $str, $matches);
+          break;
+        case 'comment':
+          $x = preg_match_all('/[()"]/', $str, $matches);
+          // Fall-through
+        case 'text':
+        default:
+          $x += preg_match_all('/[\000-\010\013\014\016-\037\177-\377]/', $str, $matches);
+          break;
+      }
+
+      if ($x == 0)
+        return ($str);
+
+      $maxlen = 75 - 7 - strlen($this->CharSet);
+      // Try to select the encoding which should produce the shortest output
+      if (strlen($str)/3 < $x) {
+        $encoding = 'B';
+        $encoded = base64_encode($str);
+        $maxlen -= $maxlen % 4;
+        $encoded = trim(chunk_split($encoded, $maxlen, "\n"));
+      } else {
+        $encoding = 'Q';
+        $encoded = $this->EncodeQ($str, $position);
+        $encoded = $this->WrapText($encoded, $maxlen, true);
+        $encoded = str_replace("=".$this->LE, "\n", trim($encoded));
+      }
+
+      $encoded = preg_replace('/^(.*)$/m', " =?".$this->CharSet."?$encoding?\\1?=", $encoded);
+      $encoded = trim(str_replace("\n", $this->LE, $encoded));
+      
+      return $encoded;
+    }
+    
+    /**
+     * Encode string to quoted-printable.  
+     * @access private
+     * @return string
+     */
+    function EncodeQP ($str) {
+        $encoded = $this->FixEOL($str);
+        if (substr($encoded, -(strlen($this->LE))) != $this->LE)
+            $encoded .= $this->LE;
+
+        // Replace every high ascii, control and = characters
+        $encoded = preg_replace('/([\000-\010\013\014\016-\037\075\177-\377])/e',
+                  "'='.sprintf('%02X', ord('\\1'))", $encoded);
+        // Replace every spaces and tabs when it's the last character on a line
+        $encoded = preg_replace("/([\011\040])".$this->LE."/e",
+                  "'='.sprintf('%02X', ord('\\1')).'".$this->LE."'", $encoded);
+
+        // Maximum line length of 76 characters before CRLF (74 + space + '=')
+        $encoded = $this->WrapText($encoded, 74, true);
+
+        return $encoded;
+    }
+
+    /**
+     * Encode string to q encoding.  
+     * @access private
+     * @return string
+     */
+    function EncodeQ ($str, $position = "text") {
+        // There should not be any EOL in the string
+        $encoded = preg_replace("[\r\n]", "", $str);
+
+        switch (strtolower($position)) {
+          case "phrase":
+            $encoded = preg_replace("/([^A-Za-z0-9!*+\/ -])/e", "'='.sprintf('%02X', ord('\\1'))", $encoded);
+            break;
+          case "comment":
+            $encoded = preg_replace("/([\(\)\"])/e", "'='.sprintf('%02X', ord('\\1'))", $encoded);
+          case "text":
+          default:
+            // Replace every high ascii, control =, ? and _ characters
+            $encoded = preg_replace('/([\000-\011\013\014\016-\037\075\077\137\177-\377])/e',
+                  "'='.sprintf('%02X', ord('\\1'))", $encoded);
+            break;
+        }
+        
+        // Replace every spaces to _ (more readable than =20)
+        $encoded = str_replace(" ", "_", $encoded);
+
+        return $encoded;
+    }
+
+    /**
+     * Adds a string or binary attachment (non-filesystem) to the list.
+     * This method can be used to attach ascii or binary data,
+     * such as a BLOB record from a database.
+     * @param string $string String attachment data.
+     * @param string $filename Name of the attachment.
+     * @param string $encoding File encoding (see $Encoding).
+     * @param string $type File extension (MIME) type.
+     * @return void
+     */
+    function AddStringAttachment($string, $filename, $encoding = "base64", 
+                                 $type = "application/octet-stream") {
+        // Append to $attachment array
+        $cur = count($this->attachment);
+        $this->attachment[$cur][0] = $string;
+        $this->attachment[$cur][1] = $filename;
+        $this->attachment[$cur][2] = $filename;
+        $this->attachment[$cur][3] = $encoding;
+        $this->attachment[$cur][4] = $type;
+        $this->attachment[$cur][5] = true; // isString
+        $this->attachment[$cur][6] = "attachment";
+        $this->attachment[$cur][7] = 0;
+    }
+    
+    /**
+     * Adds an embedded attachment.  This can include images, sounds, and 
+     * just about any other document.  Make sure to set the $type to an 
+     * image type.  For JPEG images use "image/jpeg" and for GIF images 
+     * use "image/gif".
+     * @param string $path Path to the attachment.
+     * @param string $cid Content ID of the attachment.  Use this to identify 
+     *        the Id for accessing the image in an HTML form.
+     * @param string $name Overrides the attachment name.
+     * @param string $encoding File encoding (see $Encoding).
+     * @param string $type File extension (MIME) type.  
+     * @return bool
+     */
+    function AddEmbeddedImage($path, $cid, $name = "", $encoding = "base64", 
+                              $type = "application/octet-stream") {
+    
+        if(!@is_file($path))
+        {
+            $this->SetError($this->Lang("file_access") . $path);
+            return false;
+        }
+
+        $filename = basename($path);
+        if($name == "")
+            $name = $filename;
+
+        // Append to $attachment array
+        $cur = count($this->attachment);
+        $this->attachment[$cur][0] = $path;
+        $this->attachment[$cur][1] = $filename;
+        $this->attachment[$cur][2] = $name;
+        $this->attachment[$cur][3] = $encoding;
+        $this->attachment[$cur][4] = $type;
+        $this->attachment[$cur][5] = false; // isStringAttachment
+        $this->attachment[$cur][6] = "inline";
+        $this->attachment[$cur][7] = $cid;
+    
+        return true;
+    }
+    
+    /**
+     * Returns true if an inline attachment is present.
+     * @access private
+     * @return bool
+     */
+    function InlineImageExists() {
+        $result = false;
+        for($i = 0; $i < count($this->attachment); $i++)
+        {
+            if($this->attachment[$i][6] == "inline")
+            {
+                $result = true;
+                break;
+            }
+        }
+        
+        return $result;
+    }
+
+    /////////////////////////////////////////////////
+    // MESSAGE RESET METHODS
+    /////////////////////////////////////////////////
+
+    /**
+     * Clears all recipients assigned in the TO array.  Returns void.
+     * @return void
+     */
+    function ClearAddresses() {
+        $this->to = array();
+    }
+
+    /**
+     * Clears all recipients assigned in the CC array.  Returns void.
+     * @return void
+     */
+    function ClearCCs() {
+        $this->cc = array();
+    }
+
+    /**
+     * Clears all recipients assigned in the BCC array.  Returns void.
+     * @return void
+     */
+    function ClearBCCs() {
+        $this->bcc = array();
+    }
+
+    /**
+     * Clears all recipients assigned in the ReplyTo array.  Returns void.
+     * @return void
+     */
+    function ClearReplyTos() {
+        $this->ReplyTo = array();
+    }
+
+    /**
+     * Clears all recipients assigned in the TO, CC and BCC
+     * array.  Returns void.
+     * @return void
+     */
+    function ClearAllRecipients() {
+        $this->to = array();
+        $this->cc = array();
+        $this->bcc = array();
+    }
+
+    /**
+     * Clears all previously set filesystem, string, and binary
+     * attachments.  Returns void.
+     * @return void
+     */
+    function ClearAttachments() {
+        $this->attachment = array();
+    }
+
+    /**
+     * Clears all custom headers.  Returns void.
+     * @return void
+     */
+    function ClearCustomHeaders() {
+        $this->CustomHeader = array();
+    }
+
+
+    /////////////////////////////////////////////////
+    // MISCELLANEOUS METHODS
+    /////////////////////////////////////////////////
+
+    /**
+     * Adds the error message to the error container.
+     * Returns void.
+     * @access private
+     * @return void
+     */
+    function SetError($msg) {
+        $this->error_count++;
+        $this->ErrorInfo = $msg;
+    }
+
+    /**
+     * Returns the proper RFC 822 formatted date. 
+     * @access private
+     * @return string
+     */
+    function RFCDate() {
+        $tz = date("Z");
+        $tzs = ($tz < 0) ? "-" : "+";
+        $tz = abs($tz);
+        $tz = ($tz/3600)*100 + ($tz%3600)/60;
+        $result = sprintf("%s %s%04d", date("D, j M Y H:i:s"), $tzs, $tz);
+
+        return $result;
+    }
+    
+    /**
+     * Returns the appropriate server variable.  Should work with both 
+     * PHP 4.1.0+ as well as older versions.  Returns an empty string 
+     * if nothing is found.
+     * @access private
+     * @return mixed
+     */
+    function ServerVar($varName) {
+        global $HTTP_SERVER_VARS;
+        global $HTTP_ENV_VARS;
+
+        if(!isset($_SERVER))
+        {
+            $_SERVER = $HTTP_SERVER_VARS;
+            if(!isset($_SERVER["REMOTE_ADDR"]))
+                $_SERVER = $HTTP_ENV_VARS; // must be Apache
+        }
+        
+        if(isset($_SERVER[$varName]))
+            return $_SERVER[$varName];
+        else
+            return "";
+    }
+
+    /**
+     * Returns the server hostname or 'localhost.localdomain' if unknown.
+     * @access private
+     * @return string
+     */
+    function ServerHostname() {
+        if ($this->Hostname != "")
+            $result = $this->Hostname;
+        elseif ($this->ServerVar('SERVER_NAME') != "")
+            $result = $this->ServerVar('SERVER_NAME');
+        else
+            $result = "localhost.localdomain";
+
+        return $result;
+    }
+
+    /**
+     * Returns a message in the appropriate language.
+     * @access private
+     * @return string
+     */
+    function Lang($key) {
+        if(count($this->language) < 1)
+            $this->SetLanguage("en", './'); // set the default language
+    
+        if(isset($this->language[$key]))
+            return $this->language[$key];
+        else
+            return "Language string failed to load: " . $key;
+    }
+    
+    /**
+     * Returns true if an error occurred.
+     * @return bool
+     */
+    function IsError() {
+        return ($this->error_count > 0);
+    }
+
+    /**
+     * Changes every end of line from CR or LF to CRLF.  
+     * @access private
+     * @return string
+     */
+    function FixEOL($str) {
+        $str = str_replace("\r\n", "\n", $str);
+        $str = str_replace("\r", "\n", $str);
+        $str = str_replace("\n", $this->LE, $str);
+        return $str;
+    }
+
+    /**
+     * Adds a custom header. 
+     * @return void
+     */
+    function AddCustomHeader($custom_header) {
+        $this->CustomHeader[] = explode(":", $custom_header, 2);
+    }
+}
+
+////////////////////////////////////////////////////
+// SMTP - PHP SMTP class
+//
+// Version 1.02
+//
+// Define an SMTP class that can be used to connect
+// and communicate with any SMTP server. It implements
+// all the SMTP functions defined in RFC821 except TURN.
+//
+// Author: Chris Ryan
+//
+// License: LGPL, see LICENSE
+////////////////////////////////////////////////////
+
+/**
+ * SMTP is rfc 821 compliant and implements all the rfc 821 SMTP
+ * commands except TURN which will always return a not implemented
+ * error. SMTP also provides some utility methods for sending mail
+ * to an SMTP server.
+ * @package HotelSearch
+ * @author Chris Ryan
+ */
+class SMTP
+{
+    /**
+     *  SMTP server port
+     *  @var int
+     */
+    var $SMTP_PORT = 25;
+    
+    /**
+     *  SMTP reply line ending
+     *  @var string
+     */
+    var $CRLF = "\r\n";
+    
+    /**
+     *  Sets whether debugging is turned on
+     *  @var bool
+     */
+    var $do_debug;       # the level of debug to perform
+
+    /**#@+
+     * @access private
+     */
+    var $smtp_conn;      # the socket to the server
+    var $error;          # error if any on the last call
+    var $helo_rply;      # the reply the server sent to us for HELO
+    /**#@-*/
+
+    /**
+     * Initialize the class so that the data is in a known state.
+     * @access public
+     * @return void
+     */
+    function SMTP() {
+        $this->smtp_conn = 0;
+        $this->error = null;
+        $this->helo_rply = null;
+
+        $this->do_debug = 0;
+    }
+
+    /*************************************************************
+     *                    CONNECTION FUNCTIONS                  *
+     ***********************************************************/
+
+    /**
+     * Connect to the server specified on the port specified.
+     * If the port is not specified use the default SMTP_PORT.
+     * If tval is specified then a connection will try and be
+     * established with the server for that number of seconds.
+     * If tval is not specified the default is 30 seconds to
+     * try on the connection.
+     *
+     * SMTP CODE SUCCESS: 220
+     * SMTP CODE FAILURE: 421
+     * @access public
+     * @return bool
+     */
+    function Connect($host,$port=0,$tval=30) {
+        # set the error val to null so there is no confusion
+        $this->error = null;
+
+        # make sure we are __not__ connected
+        if($this->connected()) {
+            # ok we are connected! what should we do?
+            # for now we will just give an error saying we
+            # are already connected
+            $this->error =
+                array("error" => "Already connected to a server");
+            return false;
+        }
+
+        if(empty($port)) {
+            $port = $this->SMTP_PORT;
+        }
+
+        #connect to the smtp server
+        $this->smtp_conn = fsockopen($host,    # the host of the server
+                                     $port,    # the port to use
+                                     $errno,   # error number if any
+                                     $errstr,  # error message if any
+                                     $tval);   # give up after ? secs
+        # verify we connected properly
+        if(empty($this->smtp_conn)) {
+            $this->error = array("error" => "Failed to connect to server",
+                                 "errno" => $errno,
+                                 "errstr" => $errstr);
+            if($this->do_debug >= 1) {
+                echo "SMTP -> ERROR: " . $this->error["error"] .
+                         ": $errstr ($errno)" . $this->CRLF;
+            }
+            return false;
+        }
+
+        # sometimes the SMTP server takes a little longer to respond
+        # so we will give it a longer timeout for the first read
+        // Windows still does not have support for this timeout function
+        if(substr(PHP_OS, 0, 3) != "WIN")
+           socket_set_timeout($this->smtp_conn, $tval, 0);
+
+        # get any announcement stuff
+        $announce = $this->get_lines();
+
+        # set the timeout  of any socket functions at 1/10 of a second
+        //if(function_exists("socket_set_timeout"))
+        //   socket_set_timeout($this->smtp_conn, 0, 100000);
+
+        if($this->do_debug >= 2) {
+            echo "SMTP -> FROM SERVER:" . $this->CRLF . $announce;
+        }
+
+        return true;
+    }
+
+    /**
+     * Performs SMTP authentication.  Must be run after running the
+     * Hello() method.  Returns true if successfully authenticated.
+     * @access public
+     * @return bool
+     */
+    function Authenticate($username, $password) {
+        // Start authentication
+        fputs($this->smtp_conn,"AUTH LOGIN" . $this->CRLF);
+
+        $rply = $this->get_lines();
+        $code = substr($rply,0,3);
+
+        if($code != 334) {
+            $this->error =
+                array("error" => "AUTH not accepted from server",
+                      "smtp_code" => $code,
+                      "smtp_msg" => substr($rply,4));
+            if($this->do_debug >= 1) {
+                echo "SMTP -> ERROR: " . $this->error["error"] .
+                         ": " . $rply . $this->CRLF;
+            }
+            return false;
+        }
+
+        // Send encoded username
+        fputs($this->smtp_conn, base64_encode($username) . $this->CRLF);
+
+        $rply = $this->get_lines();
+        $code = substr($rply,0,3);
+
+        if($code != 334) {
+            $this->error =
+                array("error" => "Username not accepted from server",
+                      "smtp_code" => $code,
+                      "smtp_msg" => substr($rply,4));
+            if($this->do_debug >= 1) {
+                echo "SMTP -> ERROR: " . $this->error["error"] .
+                         ": " . $rply . $this->CRLF;
+            }
+            return false;
+        }
+
+        // Send encoded password
+        fputs($this->smtp_conn, base64_encode($password) . $this->CRLF);
+
+        $rply = $this->get_lines();
+        $code = substr($rply,0,3);
+
+        if($code != 235) {
+            $this->error =
+                array("error" => "Password not accepted from server",
+                      "smtp_code" => $code,
+                      "smtp_msg" => substr($rply,4));
+            if($this->do_debug >= 1) {
+                echo "SMTP -> ERROR: " . $this->error["error"] .
+                         ": " . $rply . $this->CRLF;
+            }
+            return false;
+        }
+
+        return true;
+    }
+
+    /**
+     * Returns true if connected to a server otherwise false
+     * @access private
+     * @return bool
+     */
+    function Connected() {
+        if(!empty($this->smtp_conn)) {
+            $sock_status = socket_get_status($this->smtp_conn);
+            if($sock_status["eof"]) {
+                # hmm this is an odd situation... the socket is
+                # valid but we aren't connected anymore
+                if($this->do_debug >= 1) {
+                    echo "SMTP -> NOTICE:" . $this->CRLF .
+                         "EOF caught while checking if connected";
+                }
+                $this->Close();
+                return false;
+            }
+            return true; # everything looks good
+        }
+        return false;
+    }
+
+    /**
+     * Closes the socket and cleans up the state of the class.
+     * It is not considered good to use this function without
+     * first trying to use QUIT.
+     * @access public
+     * @return void
+     */
+    function Close() {
+        $this->error = null; # so there is no confusion
+        $this->helo_rply = null;
+        if(!empty($this->smtp_conn)) {
+            # close the connection and cleanup
+            fclose($this->smtp_conn);
+            $this->smtp_conn = 0;
+        }
+    }
+
+
+    /***************************************************************
+     *                        SMTP COMMANDS                       *
+     *************************************************************/
+
+    /**
+     * Issues a data command and sends the msg_data to the server
+     * finializing the mail transaction. $msg_data is the message
+     * that is to be send with the headers. Each header needs to be
+     * on a single line followed by a <CRLF> with the message headers
+     * and the message body being seperated by and additional <CRLF>.
+     *
+     * Implements rfc 821: DATA <CRLF>
+     *
+     * SMTP CODE INTERMEDIATE: 354
+     *     [data]
+     *     <CRLF>.<CRLF>
+     *     SMTP CODE SUCCESS: 250
+     *     SMTP CODE FAILURE: 552,554,451,452
+     * SMTP CODE FAILURE: 451,554
+     * SMTP CODE ERROR  : 500,501,503,421
+     * @access public
+     * @return bool
+     */
+    function Data($msg_data) {
+        $this->error = null; # so no confusion is caused
+
+        if(!$this->connected()) {
+            $this->error = array(
+                    "error" => "Called Data() without being connected");
+            return false;
+        }
+
+        fputs($this->smtp_conn,"DATA" . $this->CRLF);
+
+        $rply = $this->get_lines();
+        $code = substr($rply,0,3);
+
+        if($this->do_debug >= 2) {
+            echo "SMTP -> FROM SERVER:" . $this->CRLF . $rply;
+        }
+
+        if($code != 354) {
+            $this->error =
+                array("error" => "DATA command not accepted from server",
+                      "smtp_code" => $code,
+                      "smtp_msg" => substr($rply,4));
+            if($this->do_debug >= 1) {
+                echo "SMTP -> ERROR: " . $this->error["error"] .
+                         ": " . $rply . $this->CRLF;
+            }
+            return false;
+        }
+
+        # the server is ready to accept data!
+        # according to rfc 821 we should not send more than 1000
+        # including the CRLF
+        # characters on a single line so we will break the data up
+        # into lines by \r and/or \n then if needed we will break
+        # each of those into smaller lines to fit within the limit.
+        # in addition we will be looking for lines that start with
+        # a period '.' and append and additional period '.' to that
+        # line. NOTE: this does not count towards are limit.
+
+        # normalize the line breaks so we know the explode works
+        $msg_data = str_replace("\r\n","\n",$msg_data);
+        $msg_data = str_replace("\r","\n",$msg_data);
+        $lines = explode("\n",$msg_data);
+
+        # we need to find a good way to determine is headers are
+        # in the msg_data or if it is a straight msg body
+        # currently I'm assuming rfc 822 definitions of msg headers
+        # and if the first field of the first line (':' sperated)
+        # does not contain a space then it _should_ be a header
+        # and we can process all lines before a blank "" line as
+        # headers.
+        $field = substr($lines[0],0,strpos($lines[0],":"));
+        $in_headers = false;
+        if(!empty($field) && !strstr($field," ")) {
+            $in_headers = true;
+        }
+
+        $max_line_length = 998; # used below; set here for ease in change
+
+        while(list(,$line) = @each($lines)) {
+            $lines_out = null;
+            if($line == "" && $in_headers) {
+                $in_headers = false;
+            }
+            # ok we need to break this line up into several
+            # smaller lines
+            while(strlen($line) > $max_line_length) {
+                $pos = strrpos(substr($line,0,$max_line_length)," ");
+                
+                # ----- Vulnerability fix (phpsec) -------
+                if (!$pos) {
+                    $pos = $max_line_length - 1;
+                }
+                # --------- End of fix ----------------
+                                
+                $lines_out[] = substr($line,0,$pos);
+                $line = substr($line,$pos + 1);
+                # if we are processing headers we need to
+                # add a LWSP-char to the front of the new line
+                # rfc 822 on long msg headers
+                if($in_headers) {
+                    $line = "\t" . $line;
+                }
+            }
+            $lines_out[] = $line;
+
+            # now send the lines to the server
+            while(list(,$line_out) = @each($lines_out)) {
+                if(strlen($line_out) > 0)
+                {
+                    if(substr($line_out, 0, 1) == ".") {
+                        $line_out = "." . $line_out;
+                    }
+                }
+                fputs($this->smtp_conn,$line_out . $this->CRLF);
+            }
+        }
+
+        # ok all the message data has been sent so lets get this
+        # over with aleady
+        fputs($this->smtp_conn, $this->CRLF . "." . $this->CRLF);
+
+        $rply = $this->get_lines();
+        $code = substr($rply,0,3);
+
+        if($this->do_debug >= 2) {
+            echo "SMTP -> FROM SERVER:" . $this->CRLF . $rply;
+        }
+
+        if($code != 250) {
+            $this->error =
+                array("error" => "DATA not accepted from server",
+                      "smtp_code" => $code,
+                      "smtp_msg" => substr($rply,4));
+            if($this->do_debug >= 1) {
+                echo "SMTP -> ERROR: " . $this->error["error"] .
+                         ": " . $rply . $this->CRLF;
+            }
+            return false;
+        }
+        return true;
+    }
+
+    /**
+     * Expand takes the name and asks the server to list all the
+     * people who are members of the _list_. Expand will return
+     * back and array of the result or false if an error occurs.
+     * Each value in the array returned has the format of:
+     *     [ <full-name> <sp> ] <path>
+     * The definition of <path> is defined in rfc 821
+     *
+     * Implements rfc 821: EXPN <SP> <string> <CRLF>
+     *
+     * SMTP CODE SUCCESS: 250
+     * SMTP CODE FAILURE: 550
+     * SMTP CODE ERROR  : 500,501,502,504,421
+     * @access public
+     * @return string array
+     */
+    function Expand($name) {
+        $this->error = null; # so no confusion is caused
+
+        if(!$this->connected()) {
+            $this->error = array(
+                    "error" => "Called Expand() without being connected");
+            return false;
+        }
+
+        fputs($this->smtp_conn,"EXPN " . $name . $this->CRLF);
+
+        $rply = $this->get_lines();
+        $code = substr($rply,0,3);
+
+        if($this->do_debug >= 2) {
+            echo "SMTP -> FROM SERVER:" . $this->CRLF . $rply;
+        }
+
+        if($code != 250) {
+            $this->error =
+                array("error" => "EXPN not accepted from server",
+                      "smtp_code" => $code,
+                      "smtp_msg" => substr($rply,4));
+            if($this->do_debug >= 1) {
+                echo "SMTP -> ERROR: " . $this->error["error"] .
+                         ": " . $rply . $this->CRLF;
+            }
+            return false;
+        }
+
+        # parse the reply and place in our array to return to user
+        $entries = explode($this->CRLF,$rply);
+        while(list(,$l) = @each($entries)) {
+            $list[] = substr($l,4);
+        }
+
+        return $list;
+    }
+
+    /**
+     * Sends the HELO command to the smtp server.
+     * This makes sure that we and the server are in
+     * the same known state.
+     *
+     * Implements from rfc 821: HELO <SP> <domain> <CRLF>
+     *
+     * SMTP CODE SUCCESS: 250
+     * SMTP CODE ERROR  : 500, 501, 504, 421
+     * @access public
+     * @return bool
+     */
+    function Hello($host="") {
+        $this->error = null; # so no confusion is caused
+
+        if(!$this->connected()) {
+            $this->error = array(
+                    "error" => "Called Hello() without being connected");
+            return false;
+        }
+
+        # if a hostname for the HELO wasn't specified determine
+        # a suitable one to send
+        if(empty($host)) {
+            # we need to determine some sort of appopiate default
+            # to send to the server
+            $host = "localhost";
+        }
+
+        // Send extended hello first (RFC 2821)
+        if(!$this->SendHello("EHLO", $host))
+        {
+            if(!$this->SendHello("HELO", $host))
+                return false;
+        }
+
+        return true;
+    }
+
+    /**
+     * Sends a HELO/EHLO command.
+     * @access private
+     * @return bool
+     */
+    function SendHello($hello, $host) {
+        fputs($this->smtp_conn, $hello . " " . $host . $this->CRLF);
+
+        $rply = $this->get_lines();
+        $code = substr($rply,0,3);
+
+        if($this->do_debug >= 2) {
+            echo "SMTP -> FROM SERVER: " . $this->CRLF . $rply;
+        }
+
+        if($code != 250) {
+            $this->error =
+                array("error" => $hello . " not accepted from server",
+                      "smtp_code" => $code,
+                      "smtp_msg" => substr($rply,4));
+            if($this->do_debug >= 1) {
+                echo "SMTP -> ERROR: " . $this->error["error"] .
+                         ": " . $rply . $this->CRLF;
+            }
+            return false;
+        }
+
+        $this->helo_rply = $rply;
+        
+        return true;
+    }
+
+    /**
+     * Gets help information on the keyword specified. If the keyword
+     * is not specified then returns generic help, ussually contianing
+     * A list of keywords that help is available on. This function
+     * returns the results back to the user. It is up to the user to
+     * handle the returned data. If an error occurs then false is
+     * returned with $this->error set appropiately.
+     *
+     * Implements rfc 821: HELP [ <SP> <string> ] <CRLF>
+     *
+     * SMTP CODE SUCCESS: 211,214
+     * SMTP CODE ERROR  : 500,501,502,504,421
+     * @access public
+     * @return string
+     */
+    function Help($keyword="") {
+        $this->error = null; # to avoid confusion
+
+        if(!$this->connected()) {
+            $this->error = array(
+                    "error" => "Called Help() without being connected");
+            return false;
+        }
+
+        $extra = "";
+        if(!empty($keyword)) {
+            $extra = " " . $keyword;
+        }
+
+        fputs($this->smtp_conn,"HELP" . $extra . $this->CRLF);
+
+        $rply = $this->get_lines();
+        $code = substr($rply,0,3);
+
+        if($this->do_debug >= 2) {
+            echo "SMTP -> FROM SERVER:" . $this->CRLF . $rply;
+        }
+
+        if($code != 211 && $code != 214) {
+            $this->error =
+                array("error" => "HELP not accepted from server",
+                      "smtp_code" => $code,
+                      "smtp_msg" => substr($rply,4));
+            if($this->do_debug >= 1) {
+                echo "SMTP -> ERROR: " . $this->error["error"] .
+                         ": " . $rply . $this->CRLF;
+            }
+            return false;
+        }
+
+        return $rply;
+    }
+
+    /**
+     * Starts a mail transaction from the email address specified in
+     * $from. Returns true if successful or false otherwise. If True
+     * the mail transaction is started and then one or more Recipient
+     * commands may be called followed by a Data command.
+     *
+     * Implements rfc 821: MAIL <SP> FROM:<reverse-path> <CRLF>
+     *
+     * SMTP CODE SUCCESS: 250
+     * SMTP CODE SUCCESS: 552,451,452
+     * SMTP CODE SUCCESS: 500,501,421
+     * @access public
+     * @return bool
+     */
+    function Mail($from) {
+        $this->error = null; # so no confusion is caused
+
+        if(!$this->connected()) {
+            $this->error = array(
+                    "error" => "Called Mail() without being connected");
+            return false;
+        }
+
+        fputs($this->smtp_conn,"MAIL FROM:<" . $from . ">" . $this->CRLF);
+
+        $rply = $this->get_lines();
+        $code = substr($rply,0,3);
+
+        if($this->do_debug >= 2) {
+            echo "SMTP -> FROM SERVER:" . $this->CRLF . $rply;
+        }
+
+        if($code != 250) {
+            $this->error =
+                array("error" => "MAIL not accepted from server",
+                      "smtp_code" => $code,
+                      "smtp_msg" => substr($rply,4));
+            if($this->do_debug >= 1) {
+                echo "SMTP -> ERROR: " . $this->error["error"] .
+                         ": " . $rply . $this->CRLF;
+            }
+            return false;
+        }
+        return true;
+    }
+
+    /**
+     * Sends the command NOOP to the SMTP server.
+     *
+     * Implements from rfc 821: NOOP <CRLF>
+     *
+     * SMTP CODE SUCCESS: 250
+     * SMTP CODE ERROR  : 500, 421
+     * @access public
+     * @return bool
+     */
+    function Noop() {
+        $this->error = null; # so no confusion is caused
+
+        if(!$this->connected()) {
+            $this->error = array(
+                    "error" => "Called Noop() without being connected");
+            return false;
+        }
+
+        fputs($this->smtp_conn,"NOOP" . $this->CRLF);
+
+        $rply = $this->get_lines();
+        $code = substr($rply,0,3);
+
+        if($this->do_debug >= 2) {
+            echo "SMTP -> FROM SERVER:" . $this->CRLF . $rply;
+        }
+
+        if($code != 250) {
+            $this->error =
+                array("error" => "NOOP not accepted from server",
+                      "smtp_code" => $code,
+                      "smtp_msg" => substr($rply,4));
+            if($this->do_debug >= 1) {
+                echo "SMTP -> ERROR: " . $this->error["error"] .
+                         ": " . $rply . $this->CRLF;
+            }
+            return false;
+        }
+        return true;
+    }
+
+    /**
+     * Sends the quit command to the server and then closes the socket
+     * if there is no error or the $close_on_error argument is true.
+     *
+     * Implements from rfc 821: QUIT <CRLF>
+     *
+     * SMTP CODE SUCCESS: 221
+     * SMTP CODE ERROR  : 500
+     * @access public
+     * @return bool
+     */
+    function Quit($close_on_error=true) {
+        $this->error = null; # so there is no confusion
+
+        if(!$this->connected()) {
+            $this->error = array(
+                    "error" => "Called Quit() without being connected");
+            return false;
+        }
+
+        # send the quit command to the server
+        fputs($this->smtp_conn,"quit" . $this->CRLF);
+
+        # get any good-bye messages
+        $byemsg = $this->get_lines();
+
+        if($this->do_debug >= 2) {
+            echo "SMTP -> FROM SERVER:" . $this->CRLF . $byemsg;
+        }
+
+        $rval = true;
+        $e = null;
+
+        $code = substr($byemsg,0,3);
+        if($code != 221) {
+            # use e as a tmp var cause Close will overwrite $this->error
+            $e = array("error" => "SMTP server rejected quit command",
+                       "smtp_code" => $code,
+                       "smtp_rply" => substr($byemsg,4));
+            $rval = false;
+            if($this->do_debug >= 1) {
+                echo "SMTP -> ERROR: " . $e["error"] . ": " .
+                         $byemsg . $this->CRLF;
+            }
+        }
+
+        if(empty($e) || $close_on_error) {
+            $this->Close();
+        }
+
+        return $rval;
+    }
+
+    /**
+     * Sends the command RCPT to the SMTP server with the TO: argument of $to.
+     * Returns true if the recipient was accepted false if it was rejected.
+     *
+     * Implements from rfc 821: RCPT <SP> TO:<forward-path> <CRLF>
+     *
+     * SMTP CODE SUCCESS: 250,251
+     * SMTP CODE FAILURE: 550,551,552,553,450,451,452
+     * SMTP CODE ERROR  : 500,501,503,421
+     * @access public
+     * @return bool
+     */
+    function Recipient($to) {
+        $this->error = null; # so no confusion is caused
+
+        if(!$this->connected()) {
+            $this->error = array(
+                    "error" => "Called Recipient() without being connected");
+            return false;
+        }
+
+        fputs($this->smtp_conn,"RCPT TO:<" . $to . ">" . $this->CRLF);
+
+        $rply = $this->get_lines();
+        $code = substr($rply,0,3);
+
+        if($this->do_debug >= 2) {
+            echo "SMTP -> FROM SERVER:" . $this->CRLF . $rply;
+        }
+
+        if($code != 250 && $code != 251) {
+            $this->error =
+                array("error" => "RCPT not accepted from server",
+                      "smtp_code" => $code,
+                      "smtp_msg" => substr($rply,4));
+            if($this->do_debug >= 1) {
+                echo "SMTP -> ERROR: " . $this->error["error"] .
+                         ": " . $rply . $this->CRLF;
+            }
+            return false;
+        }
+        return true;
+    }
+
+    /**
+     * Sends the RSET command to abort and transaction that is
+     * currently in progress. Returns true if successful false
+     * otherwise.
+     *
+     * Implements rfc 821: RSET <CRLF>
+     *
+     * SMTP CODE SUCCESS: 250
+     * SMTP CODE ERROR  : 500,501,504,421
+     * @access public
+     * @return bool
+     */
+    function Reset() {
+        $this->error = null; # so no confusion is caused
+
+        if(!$this->connected()) {
+            $this->error = array(
+                    "error" => "Called Reset() without being connected");
+            return false;
+        }
+
+        fputs($this->smtp_conn,"RSET" . $this->CRLF);
+
+        $rply = $this->get_lines();
+        $code = substr($rply,0,3);
+
+        if($this->do_debug >= 2) {
+            echo "SMTP -> FROM SERVER:" . $this->CRLF . $rply;
+        }
+
+        if($code != 250) {
+            $this->error =
+                array("error" => "RSET failed",
+                      "smtp_code" => $code,
+                      "smtp_msg" => substr($rply,4));
+            if($this->do_debug >= 1) {
+                echo "SMTP -> ERROR: " . $this->error["error"] .
+                         ": " . $rply . $this->CRLF;
+            }
+            return false;
+        }
+
+        return true;
+    }
+
+    /**
+     * Starts a mail transaction from the email address specified in
+     * $from. Returns true if successful or false otherwise. If True
+     * the mail transaction is started and then one or more Recipient
+     * commands may be called followed by a Data command. This command
+     * will send the message to the users terminal if they are logged
+     * in.
+     *
+     * Implements rfc 821: SEND <SP> FROM:<reverse-path> <CRLF>
+     *
+     * SMTP CODE SUCCESS: 250
+     * SMTP CODE SUCCESS: 552,451,452
+     * SMTP CODE SUCCESS: 500,501,502,421
+     * @access public
+     * @return bool
+     */
+    function Send($from) {
+        $this->error = null; # so no confusion is caused
+
+        if(!$this->connected()) {
+            $this->error = array(
+                    "error" => "Called Send() without being connected");
+            return false;
+        }
+
+        fputs($this->smtp_conn,"SEND FROM:" . $from . $this->CRLF);
+
+        $rply = $this->get_lines();
+        $code = substr($rply,0,3);
+
+        if($this->do_debug >= 2) {
+            echo "SMTP -> FROM SERVER:" . $this->CRLF . $rply;
+        }
+
+        if($code != 250) {
+            $this->error =
+                array("error" => "SEND not accepted from server",
+                      "smtp_code" => $code,
+                      "smtp_msg" => substr($rply,4));
+            if($this->do_debug >= 1) {
+                echo "SMTP -> ERROR: " . $this->error["error"] .
+                         ": " . $rply . $this->CRLF;
+            }
+            return false;
+        }
+        return true;
+    }
+
+    /**
+     * Starts a mail transaction from the email address specified in
+     * $from. Returns true if successful or false otherwise. If True
+     * the mail transaction is started and then one or more Recipient
+     * commands may be called followed by a Data command. This command
+     * will send the message to the users terminal if they are logged
+     * in and send them an email.
+     *
+     * Implements rfc 821: SAML <SP> FROM:<reverse-path> <CRLF>
+     *
+     * SMTP CODE SUCCESS: 250
+     * SMTP CODE SUCCESS: 552,451,452
+     * SMTP CODE SUCCESS: 500,501,502,421
+     * @access public
+     * @return bool
+     */
+    function SendAndMail($from) {
+        $this->error = null; # so no confusion is caused
+
+        if(!$this->connected()) {
+            $this->error = array(
+                "error" => "Called SendAndMail() without being connected");
+            return false;
+        }
+
+        fputs($this->smtp_conn,"SAML FROM:" . $from . $this->CRLF);
+
+        $rply = $this->get_lines();
+        $code = substr($rply,0,3);
+
+        if($this->do_debug >= 2) {
+            echo "SMTP -> FROM SERVER:" . $this->CRLF . $rply;
+        }
+
+        if($code != 250) {
+            $this->error =
+                array("error" => "SAML not accepted from server",
+                      "smtp_code" => $code,
+                      "smtp_msg" => substr($rply,4));
+            if($this->do_debug >= 1) {
+                echo "SMTP -> ERROR: " . $this->error["error"] .
+                         ": " . $rply . $this->CRLF;
+            }
+            return false;
+        }
+        return true;
+    }
+
+    /**
+     * Starts a mail transaction from the email address specified in
+     * $from. Returns true if successful or false otherwise. If True
+     * the mail transaction is started and then one or more Recipient
+     * commands may be called followed by a Data command. This command
+     * will send the message to the users terminal if they are logged
+     * in or mail it to them if they are not.
+     *
+     * Implements rfc 821: SOML <SP> FROM:<reverse-path> <CRLF>
+     *
+     * SMTP CODE SUCCESS: 250
+     * SMTP CODE SUCCESS: 552,451,452
+     * SMTP CODE SUCCESS: 500,501,502,421
+     * @access public
+     * @return bool
+     */
+    function SendOrMail($from) {
+        $this->error = null; # so no confusion is caused
+
+        if(!$this->connected()) {
+            $this->error = array(
+                "error" => "Called SendOrMail() without being connected");
+            return false;
+        }
+
+        fputs($this->smtp_conn,"SOML FROM:" . $from . $this->CRLF);
+
+        $rply = $this->get_lines();
+        $code = substr($rply,0,3);
+
+        if($this->do_debug >= 2) {
+            echo "SMTP -> FROM SERVER:" . $this->CRLF . $rply;
+        }
+
+        if($code != 250) {
+            $this->error =
+                array("error" => "SOML not accepted from server",
+                      "smtp_code" => $code,
+                      "smtp_msg" => substr($rply,4));
+            if($this->do_debug >= 1) {
+                echo "SMTP -> ERROR: " . $this->error["error"] .
+                         ": " . $rply . $this->CRLF;
+            }
+            return false;
+        }
+        return true;
+    }
+
+    /**
+     * This is an optional command for SMTP that this class does not
+     * support. This method is here to make the RFC821 Definition
+     * complete for this class and __may__ be implimented in the future
+     *
+     * Implements from rfc 821: TURN <CRLF>
+     *
+     * SMTP CODE SUCCESS: 250
+     * SMTP CODE FAILURE: 502
+     * SMTP CODE ERROR  : 500, 503
+     * @access public
+     * @return bool
+     */
+    function Turn() {
+        $this->error = array("error" => "This method, TURN, of the SMTP ".
+                                        "is not implemented");
+        if($this->do_debug >= 1) {
+            echo "SMTP -> NOTICE: " . $this->error["error"] . $this->CRLF;
+        }
+        return false;
+    }
+
+    /**
+     * Verifies that the name is recognized by the server.
+     * Returns false if the name could not be verified otherwise
+     * the response from the server is returned.
+     *
+     * Implements rfc 821: VRFY <SP> <string> <CRLF>
+     *
+     * SMTP CODE SUCCESS: 250,251
+     * SMTP CODE FAILURE: 550,551,553
+     * SMTP CODE ERROR  : 500,501,502,421
+     * @access public
+     * @return int
+     */
+    function Verify($name) {
+        $this->error = null; # so no confusion is caused
+
+        if(!$this->connected()) {
+            $this->error = array(
+                    "error" => "Called Verify() without being connected");
+            return false;
+        }
+
+        fputs($this->smtp_conn,"VRFY " . $name . $this->CRLF);
+
+        $rply = $this->get_lines();
+        $code = substr($rply,0,3);
+
+        if($this->do_debug >= 2) {
+            echo "SMTP -> FROM SERVER:" . $this->CRLF . $rply;
+        }
+
+        if($code != 250 && $code != 251) {
+            $this->error =
+                array("error" => "VRFY failed on name '$name'",
+                      "smtp_code" => $code,
+                      "smtp_msg" => substr($rply,4));
+            if($this->do_debug >= 1) {
+                echo "SMTP -> ERROR: " . $this->error["error"] .
+                         ": " . $rply . $this->CRLF;
+            }
+            return false;
+        }
+        return $rply;
+    }
+
+    /*******************************************************************
+     *                       INTERNAL FUNCTIONS                       *
+     ******************************************************************/
+
+    /**
+     * Read in as many lines as possible
+     * either before eof or socket timeout occurs on the operation.
+     * With SMTP we can tell if we have more lines to read if the
+     * 4th character is '-' symbol. If it is a space then we don't
+     * need to read anything else.
+     * @access private
+     * @return string
+     */
+    function get_lines() {
+        $data = "";
+        while($str = fgets($this->smtp_conn,515)) {
+            if($this->do_debug >= 4) {
+                echo "SMTP -> get_lines(): \$data was \"$data\"" .
+                         $this->CRLF;
+                echo "SMTP -> get_lines(): \$str is \"$str\"" .
+                         $this->CRLF;
+            }
+            $data .= $str;
+            if($this->do_debug >= 4) {
+                echo "SMTP -> get_lines(): \$data is \"$data\"" . $this->CRLF;
+            }
+            # if the 4th character is a space then we are done reading
+            # so just break the loop
+            if(substr($str,3,1) == " ") { break; }
+        }
+        return $data;
+    }
+}
+
+?>
diff -x .svn -aruN 1.4.24.src/include/makers/canon.php 1.4.25.src/include/makers/canon.php
--- 1.4.24.src/include/makers/canon.php	2009-05-21 15:03:09.000000000 -0500
+++ 1.4.25.src/include/makers/canon.php	2009-05-26 11:25:42.000000000 -0500
@@ -1,649 +1,649 @@
-<?php
-/*************************
-  Coppermine Photo Gallery
-  ************************
-  Copyright (c) 2003-2009 Coppermine Dev Team
-  v1.1 originally written by Gregory DEMAR
-
-  This program is free software; you can redistribute it and/or modify
-  it under the terms of the GNU General Public License version 3
-  as published by the Free Software Foundation.
-  
-  ********************************************
-  Coppermine version: 1.4.24
-  $HeadURL: https://coppermine.svn.sourceforge.net/svnroot/coppermine/trunk/cpg1.4.x/include/makers/canon.php $
-  $Revision: 5969 $
-  $Author: gaugau $
-  $Date: 2009-05-21 22:03:33 +0200 (Do, 21 Mai 2009) $
-**********************************************/
-
-/*
-
-        Exifer
-
-        Extracts EXIF information from digital photos.
-
-
-
-        Copyright  2003 Jake Olefsky
-
-        http://www.offsky.com/software/exif/index.php
-
-        jake@olefsky.com
-
-
-
-        Please see exif.php for the complete information about this software.
-
-
-
-        ------------
-
-
-
-        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 
-
-
-
-        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. http://www.gnu.org/copyleft/gpl.html
-
-*/
-
-
-//=================
-
-// Looks up the name of the tag for the MakerNote (Depends on Manufacturer)
-
-//====================================================================
-
-function lookup_Canon_tag($tag) {
-
-
-
-        switch($tag) {
-
-                case "0001": $tag = "Settings 1";break;
-
-                case "0004": $tag = "Settings 4";break;
-
-                case "0006": $tag = "ImageType";break;
-
-                case "0007": $tag = "FirmwareVersion";break;
-
-                case "0008": $tag = "ImageNumber";break;
-
-                case "0009": $tag = "OwnerName";break;
-
-                case "000c": $tag = "CameraSerialNumber";break;
-
-                case "000f": $tag = "CustomFunctions";break;
-
-
-
-                default: $tag = "unknown:".$tag;break;
-
-        }
-
-
-
-        return $tag;
-
-}
-
-
-
-//=================
-
-// Formats Data for the data type
-
-//====================================================================
-
-function formatCanonData($type,$tag,$intel,$data,&$result) {
-
-        $place = 0;
-
-
-
-
-
-        if($type=="ASCII") {
-
-                $result = $data;
-
-        } else if($type=="URATIONAL" || $type=="SRATIONAL") {
-
-                $data = bin2hex($data);
-
-                if($intel==1) $data = intel2Moto($data);
-
-                $top = hexdec(substr($data,8,8));
-
-                $bottom = hexdec(substr($data,0,8));
-
-                if($bottom!=0) $data=$top/$bottom;
-
-                else if($top==0) $data = 0;
-
-                else $data=$top."/".$bottom;
-
-
-
-                if($tag=="0204") { //DigitalZoom
-
-                        $data=$data."x";
-
-                }
-
-
-
-        } else if($type=="USHORT" || $type=="SSHORT" || $type=="ULONG" || $type=="SLONG" || $type=="FLOAT" || $type=="DOUBLE") {
-
-
-
-                $data = bin2hex($data);
-
-                $result['RAWDATA'] = $data;
-
-
-
-                if($tag=="0001") { //first chunk
-
-                        $result['Bytes']=hexdec(intel2Moto(substr($data,$place,4)));$place+=4;//0
-
-                        $result['Macro']=hexdec(intel2Moto(substr($data,$place,4)));$place+=4;//1
-
-                                if($result['Macro']==1) $result['Macro'] = "Macro";
-
-                                if($result['Macro']==2) $result['Macro'] = "Normal";
-
-                        $result['SelfTimer']=hexdec(intel2Moto(substr($data,$place,4)));$place+=4;//2
-
-                                if($result['SelfTimer']==0) $result['SelfTimer'] = "Off";
-
-                        $result['Quality']=hexdec(intel2Moto(substr($data,$place,4)));$place+=4;//3
-
-                                if($result['Quality']==2) $result['Quality'] = "Normal";
-
-                                if($result['Quality']==3) $result['Quality'] = "Fine";
-
-                                if($result['Quality']==5) $result['Quality'] = "Superfine";
-
-                        $result['Flash']=hexdec(intel2Moto(substr($data,$place,4)));$place+=4;//4
-
-                                if($result['Flash']==0) $result['Flash'] = "Off";
-
-                                if($result['Flash']==1) $result['Flash'] = "Auto";
-
-                                if($result['Flash']==2) $result['Flash'] = "On";
-
-                                if($result['Flash']==3) $result['Flash'] = "Red Eye Reduction";
-
-                                if($result['Flash']==4) $result['Flash'] = "Slow Synchro";
-
-                                if($result['Flash']==5) $result['Flash'] = "Auto + Red Eye Reduction";
-
-                                if($result['Flash']==6) $result['Flash'] = "On + Red Eye Reduction";
-
-                                if($result['Flash']==16) $result['Flash'] = "External Flash";
-
-                        $result['DriveMode']=hexdec(intel2Moto(substr($data,$place,4)));$place+=4;//5
-
-                                if($result['DriveMode']==0) $result['DriveMode'] = "Single/Timer";
-
-                                if($result['DriveMode']==1) $result['DriveMode'] = "Continuous";
-
-                        $result['Unknown']=hexdec(intel2Moto(substr($data,$place,4)));$place+=4;//6
-
-                        $result['FocusMode']=hexdec(intel2Moto(substr($data,$place,4)));$place+=4;//7
-
-                                if($result['FocusMode']==0) $result['FocusMode'] = "One-Shot";
-
-                                if($result['FocusMode']==1) $result['FocusMode'] = "AI Servo";
-
-                                if($result['FocusMode']==2) $result['FocusMode'] = "AI Focus";
-
-                                if($result['FocusMode']==3) $result['FocusMode'] = "Manual Focus";
-
-                                if($result['FocusMode']==4) $result['FocusMode'] = "Single";
-
-                                if($result['FocusMode']==5) $result['FocusMode'] = "Continuous";
-
-                                if($result['FocusMode']==6) $result['FocusMode'] = "Manual Focus";
-
-                        $result['Unknown']=hexdec(intel2Moto(substr($data,$place,4)));$place+=4;//8
-
-                        $result['Unknown']=hexdec(intel2Moto(substr($data,$place,4)));$place+=4;//9
-
-                        $result['ImageSize']=hexdec(intel2Moto(substr($data,$place,4)));$place+=4;//10
-
-                                if($result['ImageSize']==0) $result['ImageSize'] = "Large";
-
-                                if($result['ImageSize']==1) $result['ImageSize'] = "Medium";
-
-                                if($result['ImageSize']==2) $result['ImageSize'] = "Small";
-
-                        $result['EasyShooting']=hexdec(intel2Moto(substr($data,$place,4)));$place+=4;//11
-
-                                if($result['EasyShooting']==0) $result['EasyShooting'] = "Full Auto";
-
-                                if($result['EasyShooting']==1) $result['EasyShooting'] = "Manual";
-
-                                if($result['EasyShooting']==2) $result['EasyShooting'] = "Landscape";
-
-                                if($result['EasyShooting']==3) $result['EasyShooting'] = "Fast Shutter";
-
-                                if($result['EasyShooting']==4) $result['EasyShooting'] = "Slow Shutter";
-
-                                if($result['EasyShooting']==5) $result['EasyShooting'] = "Night";
-
-                                if($result['EasyShooting']==6) $result['EasyShooting'] = "Black & White";
-
-                                if($result['EasyShooting']==7) $result['EasyShooting'] = "Sepia";
-
-                                if($result['EasyShooting']==8) $result['EasyShooting'] = "Portrait";
-
-                                if($result['EasyShooting']==9) $result['EasyShooting'] = "Sport";
-
-                                if($result['EasyShooting']==10) $result['EasyShooting'] = "Macro/Close-Up";
-
-                                if($result['EasyShooting']==11) $result['EasyShooting'] = "Pan Focus";
-
-                        $result['DigitalZoom']=hexdec(intel2Moto(substr($data,$place,4)));$place+=4;//12
-
-                                if($result['DigitalZoom']==0) $result['DigitalZoom'] = "No Digital Zoom";
-
-                        if($result['DigitalZoom']==1) $result['DigitalZoom'] = "2x";
-
-                        if($result['DigitalZoom']==2) $result['DigitalZoom'] = "4x";
-
-                                if($result['DigitalZoom']==65535) $result['DigitalZoom'] = "No Digital Zoom";
-
-                        $result['Contrast']=hexdec(intel2Moto(substr($data,$place,4)));$place+=4;//13
-
-                                if($result['Contrast']==0) $result['Contrast'] = "Normal";
-
-                                if($result['Contrast']==1) $result['Contrast'] = "High";
-
-                                if($result['Contrast']==65535) $result['Contrast'] = "Low";
-
-                        $result['Saturation']=hexdec(intel2Moto(substr($data,$place,4)));$place+=4;//14
-
-                                if($result['Saturation']==0) $result['Saturation'] = "Normal";
-
-                                if($result['Saturation']==1) $result['Saturation'] = "High";
-
-                                if($result['Saturation']==65535) $result['Saturation'] = "Low";
-
-                        $result['Sharpness']=hexdec(intel2Moto(substr($data,$place,4)));$place+=4;//15
-
-                                if($result['Sharpness']==0) $result['Sharpness'] = "Normal";
-
-                                if($result['Sharpness']==1) $result['Sharpness'] = "High";
-
-                                if($result['Sharpness']==65535) $result['Sharpness'] = "Low";
-
-                        $result['ISO']=hexdec(intel2Moto(substr($data,$place,4)));$place+=4;//16
-
-                                if($result['ISO']==15) $result['ISO'] = "Auto";
-
-                                if($result['ISO']==16) $result['ISO'] = "50";
-
-                                if($result['ISO']==17) $result['ISO'] = "100";
-
-                                if($result['ISO']==18) $result['ISO'] = "200";
-
-                                if($result['ISO']==19) $result['ISO'] = "400";
-
-                        $result['MeteringMode']=hexdec(intel2Moto(substr($data,$place,4)));$place+=4;//17
-
-                                if($result['MeteringMode']==3) $result['MeteringMode'] = "Evaluative";
-
-                                if($result['MeteringMode']==4) $result['MeteringMode'] = "Partial";
-
-                                if($result['MeteringMode']==5) $result['MeteringMode'] = "Center-weighted";
-
-                        $result['FocusType']=hexdec(intel2Moto(substr($data,$place,4)));$place+=4;//18
-
-                                if($result['FocusType']==0) $result['FocusType'] = "Manual";
-
-                                if($result['FocusType']==1) $result['FocusType'] = "Auto";
-
-                                if($result['FocusType']==3) $result['FocusType'] = "Close-up (Macro)";
-
-                                if($result['FocusType']==8) $result['FocusType'] = "Locked (Pan Mode)";
-
-                        $result['AFPointSelected']=hexdec(intel2Moto(substr($data,$place,4)));$place+=4;//19
-
-                                if($result['AFPointSelected']==12288) $result['AFPointSelected'] = "Manual Focus";
-
-                                if($result['AFPointSelected']==12289) $result['AFPointSelected'] = "Auto Selected";
-
-                                if($result['AFPointSelected']==12290) $result['AFPointSelected'] = "Right";
-
-                                if($result['AFPointSelected']==12291) $result['AFPointSelected'] = "Center";
-
-                                if($result['AFPointSelected']==12292) $result['AFPointSelected'] = "Left";
-
-                        $result['ExposureMode']=hexdec(intel2Moto(substr($data,$place,4)));$place+=4;//20
-
-                                if($result['ExposureMode']==0) $result['ExposureMode'] = "EasyShoot";
-
-                                if($result['ExposureMode']==1) $result['ExposureMode'] = "Program";
-
-                                if($result['ExposureMode']==2) $result['ExposureMode'] = "Tv";
-
-                                if($result['ExposureMode']==3) $result['ExposureMode'] = "Av";
-
-                                if($result['ExposureMode']==4) $result['ExposureMode'] = "Manual";
-
-                                if($result['ExposureMode']==5) $result['ExposureMode'] = "Auto-DEP";
-
-                        $result['Unknown']=hexdec(intel2Moto(substr($data,$place,4)));$place+=4;//21
-
-                        $result['Unknown']=hexdec(intel2Moto(substr($data,$place,4)));$place+=4;//22
-
-                        $result['LongFocalLength']=hexdec(intel2Moto(substr($data,$place,4)));$place+=4;//23
-
-                        $result['ShortFocalLength']=hexdec(intel2Moto(substr($data,$place,4)));$place+=4;//24
-
-                        $result['FocalUnits']=hexdec(intel2Moto(substr($data,$place,4)));$place+=4;//25
-
-                        $result['Unknown']=hexdec(intel2Moto(substr($data,$place,4)));$place+=4;//26
-
-                        $result['Unknown']=hexdec(intel2Moto(substr($data,$place,4)));$place+=4;//27
-
-                        $result['FlashActivity']=hexdec(intel2Moto(substr($data,$place,4)));$place+=4;//28
-
-                                if($result['FlashActivity']==0) $result['FlashActivity'] = "Flash Did Not Fire";
-
-                                if($result['FlashActivity']==1) $result['FlashActivity'] = "Flash Fired";
-
-                        $result['FlashDetails']=str_pad(base_convert(intel2Moto(substr($data,$place,4)), 16, 2), 16, "0", STR_PAD_LEFT);$place+=4;//29
-
-                                $flashDetails = array();
-
-                                if (substr($result['FlashDetails'], 1, 1) == 1) { $flashDetails[] = 'External E-TTL'; }
-
-                                if (substr($result['FlashDetails'], 2, 1) == 1) { $flashDetails[] = 'Internal Flash'; }
-
-                                if (substr($result['FlashDetails'], 4, 1) == 1) { $flashDetails[] = 'FP sync used'; }
-
-                                if (substr($result['FlashDetails'], 8, 1) == 1) { $flashDetails[] = '2nd("rear")-curtin sync used'; }
-
-                                if (substr($result['FlashDetails'], 12, 1) == 1) { $flashDetails[] = '1st curtin sync'; }
-
-                                $result['FlashDetails']=implode(",", $flashDetails);
-
-                        $result['Unknown']=hexdec(intel2Moto(substr($data,$place,4)));$place+=4;//30
-
-                        $result['Unknown']=hexdec(intel2Moto(substr($data,$place,4)));$place+=4;//31
-
-                        $result['FocusMode']=hexdec(intel2Moto(substr($data,$place,4)));$place+=4;//32
-
-
-
-                } else if($tag=="0004") { //second chunk
-
-                        $result['Bytes']=hexdec(intel2Moto(substr($data,$place,4)));$place+=4;//0
-
-                        $result['Unknown']=hexdec(intel2Moto(substr($data,$place,4)));$place+=4;//1
-
-                        $result['Unknown']=hexdec(intel2Moto(substr($data,$place,4)));$place+=4;//2
-
-                        $result['Unknown']=hexdec(intel2Moto(substr($data,$place,4)));$place+=4;//3
-
-                        $result['Unknown']=hexdec(intel2Moto(substr($data,$place,4)));$place+=4;//4
-
-                        $result['Unknown']=hexdec(intel2Moto(substr($data,$place,4)));$place+=4;//5
-
-                        $result['Unknown']=hexdec(intel2Moto(substr($data,$place,4)));$place+=4;//6
-
-                        $result['WhiteBalance']=hexdec(intel2Moto(substr($data,$place,4)));$place+=4;//7
-
-                                if($result['WhiteBalance']==0) $result['WhiteBalance'] = "Auto";
-
-                                if($result['WhiteBalance']==1) $result['WhiteBalance'] = "Sunny";
-
-                                if($result['WhiteBalance']==2) $result['WhiteBalance'] = "Cloudy";
-
-                                if($result['WhiteBalance']==3) $result['WhiteBalance'] = "Tungsten";
-
-                                if($result['WhiteBalance']==4) $result['WhiteBalance'] = "Flourescent";
-
-                                if($result['WhiteBalance']==5) $result['WhiteBalance'] = "Flash";
-
-                                if($result['WhiteBalance']==6) $result['WhiteBalance'] = "Custom";
-
-                        $result['Unknown']=hexdec(intel2Moto(substr($data,$place,4)));$place+=4;//8
-
-                        $result['SequenceNumber']=hexdec(intel2Moto(substr($data,$place,4)));$place+=4;//9
-
-                        $result['Unknown']=hexdec(intel2Moto(substr($data,$place,4)));$place+=4;//10
-
-                        $result['Unknown']=hexdec(intel2Moto(substr($data,$place,4)));$place+=4;//11
-
-                        $result['Unknown']=hexdec(intel2Moto(substr($data,$place,4)));$place+=4;//12
-
-                        $result['Unknown']=hexdec(intel2Moto(substr($data,$place,4)));$place+=4;//13
-
-                        $result['AFPointUsed']=hexdec(intel2Moto(substr($data,$place,4)));$place+=4;//14
-
-                        $result['FlashBias']=hexdec(intel2Moto(substr($data,$place,4)));$place+=4;//15
-
-                                $result['FlashBias'].="EV";//15
-
-                        $result['Unknown']=hexdec(intel2Moto(substr($data,$place,4)));$place+=4;//16
-
-                        $result['Unknown']=hexdec(intel2Moto(substr($data,$place,4)));$place+=4;//17
-
-                        $result['Unknown']=hexdec(intel2Moto(substr($data,$place,4)));$place+=4;//18
-
-                        $result['SubjectDistance']=hexdec(intel2Moto(substr($data,$place,4)));$place+=4;//19
-
-
-
-                } else if($tag=="0008") { //image number
-
-                        if($intel==1) $data = intel2Moto($data);
-
-                        $data=hexdec($data);
-
-                        $result = round($data/1000)."-".$data%1000;
-
-                } else if($tag=="000c") { //camera serial number
-
-                        if($intel==1) $data = intel2Moto($data);
-
-                        $data=hexdec($data);
-
-                        $result = "#".bin2hex(substr($data,0,16)).substr($data,16,16);
-
-                }
-
-
-
-        } else if($type=="UNDEFINED") {
-
-
-
-
-
-
-
-        } else {
-
-                $data = bin2hex($data);
-
-                if($intel==1) $data = intel2Moto($data);
-
-        }
-
-
-
-        return $data;
-
-}
-
-
-
-
-
-
-
-//=================
-
-// Cannon Special data section
-
-// Useful:  http://www.burren.cx/david/canon.html
-
-// http://www.burren.cx/david/canon.html
-
-// http://www.ozhiker.com/electronics/pjmt/jpeg_info/canon_mn.html
-
-//====================================================================
-
-function parseCanon($block,&$result,$seek, $globalOffset) {
-
-        $place = 0; //current place
-
-
-
-        if($result['Endien']=="Intel") $intel=1;
-
-        else $intel=0;
-
-
-
-        $model = $result['IFD0']['Model'];
-
-
-
-                //Get number of tags (2 bytes)
-
-        $num = bin2hex(substr($block,$place,2));$place+=2;
-
-        if($intel==1) $num = intel2Moto($num);
-
-        $result['SubIFD']['MakerNote']['MakerNoteNumTags'] = hexdec($num);
-
-
-
-        //loop thru all tags  Each field is 12 bytes
-
-        for($i=0;$i<hexdec($num);$i++) {
-
-
-
-                        //2 byte tag
-
-                $tag = bin2hex(substr($block,$place,2));$place+=2;
-
-                if($intel==1) $tag = intel2Moto($tag);
-
-                $tag_name = lookup_Canon_tag($tag);
-
-
-
-                        //2 byte type
-
-                $type = bin2hex(substr($block,$place,2));$place+=2;
-
-                if($intel==1) $type = intel2Moto($type);
-
-                lookup_type($type,$size);
-
-
-
-                        //4 byte count of number of data units
-
-                $count = bin2hex(substr($block,$place,4));$place+=4;
-
-                if($intel==1) $count = intel2Moto($count);
-
-                $bytesofdata = $size*hexdec($count);
-
-
-
-                if($bytesofdata<=0) {
-
-                        return; //if this value is 0 or less then we have read all the tags we can
-
-                }
-
-
-
-                        //4 byte value of data or pointer to data
-
-                $value = substr($block,$place,4);$place+=4;
-
-
-
-                if($bytesofdata<=4) {
-
-                        $data = $value;
-
-                } else {
-
-                        $value = bin2hex($value);
-
-                        if($intel==1) $value = intel2Moto($value);
-
-                        $v = fseek($seek,$globalOffset+hexdec($value));  //offsets are from TIFF header which is 12 bytes from the start of the file
-
-                        if($v==0) {
-
-                                $data = fread($seek, $bytesofdata);
-
-                        } else if($v==-1) {
-
-                                $result['Errors'] = $result['Errors']++;
-
-                        }
-
-                }
-
-                $formated_data = formatCanonData($type,$tag,$intel,$data,$result['SubIFD']['MakerNote'][$tag_name]);
-
-
-
-                if($result['VerboseOutput']==1) {
-
-                        //$result['SubIFD']['MakerNote'][$tag_name] = $formated_data;
-
-                        if($type=="URATIONAL" || $type=="SRATIONAL" || $type=="USHORT" || $type=="SSHORT" || $type=="ULONG" || $type=="SLONG" || $type=="FLOAT" || $type=="DOUBLE") {
-
-                                $data = bin2hex($data);
-
-                                if($intel==1) $data = intel2Moto($data);
-
-                        }
-
-                        $result['SubIFD']['MakerNote'][$tag_name."_Verbose"]['RawData'] = $data;
-
-                        $result['SubIFD']['MakerNote'][$tag_name."_Verbose"]['Type'] = $type;
-
-                        $result['SubIFD']['MakerNote'][$tag_name."_Verbose"]['Bytes'] = $bytesofdata;
-
-                } else {
-
-                        //$result['SubIFD']['MakerNote'][$tag_name] = $formated_data;
-
-                }
-
-        }
-
-}
-
-
-
-
-
+<?php
+/*************************
+  Coppermine Photo Gallery
+  ************************
+  Copyright (c) 2003-2009 Coppermine Dev Team
+  v1.1 originally written by Gregory DEMAR
+
+  This program is free software; you can redistribute it and/or modify
+  it under the terms of the GNU General Public License version 3
+  as published by the Free Software Foundation.
+  
+  ********************************************
+  Coppermine version: 1.4.25
+  $HeadURL: https://coppermine.svn.sourceforge.net/svnroot/coppermine/trunk/cpg1.4.x/include/makers/canon.php $
+  $Revision: 5997 $
+  $Author: gaugau $
+  $Date: 2009-05-26 08:43:24 +0200 (Di, 26 Mai 2009) $
+**********************************************/
+
+/*
+
+        Exifer
+
+        Extracts EXIF information from digital photos.
+
+
+
+        Copyright  2003 Jake Olefsky
+
+        http://www.offsky.com/software/exif/index.php
+
+        jake@olefsky.com
+
+
+
+        Please see exif.php for the complete information about this software.
+
+
+
+        ------------
+
+
+
+        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 
+
+
+
+        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. http://www.gnu.org/copyleft/gpl.html
+
+*/
+
+
+//=================
+
+// Looks up the name of the tag for the MakerNote (Depends on Manufacturer)
+
+//====================================================================
+
+function lookup_Canon_tag($tag) {
+
+
+
+        switch($tag) {
+
+                case "0001": $tag = "Settings 1";break;
+
+                case "0004": $tag = "Settings 4";break;
+
+                case "0006": $tag = "ImageType";break;
+
+                case "0007": $tag = "FirmwareVersion";break;
+
+                case "0008": $tag = "ImageNumber";break;
+
+                case "0009": $tag = "OwnerName";break;
+
+                case "000c": $tag = "CameraSerialNumber";break;
+
+                case "000f": $tag = "CustomFunctions";break;
+
+
+
+                default: $tag = "unknown:".$tag;break;
+
+        }
+
+
+
+        return $tag;
+
+}
+
+
+
+//=================
+
+// Formats Data for the data type
+
+//====================================================================
+
+function formatCanonData($type,$tag,$intel,$data,&$result) {
+
+        $place = 0;
+
+
+
+
+
+        if($type=="ASCII") {
+
+                $result = $data;
+
+        } else if($type=="URATIONAL" || $type=="SRATIONAL") {
+
+                $data = bin2hex($data);
+
+                if($intel==1) $data = intel2Moto($data);
+
+                $top = hexdec(substr($data,8,8));
+
+                $bottom = hexdec(substr($data,0,8));
+
+                if($bottom!=0) $data=$top/$bottom;
+
+                else if($top==0) $data = 0;
+
+                else $data=$top."/".$bottom;
+
+
+
+                if($tag=="0204") { //DigitalZoom
+
+                        $data=$data."x";
+
+                }
+
+
+
+        } else if($type=="USHORT" || $type=="SSHORT" || $type=="ULONG" || $type=="SLONG" || $type=="FLOAT" || $type=="DOUBLE") {
+
+
+
+                $data = bin2hex($data);
+
+                $result['RAWDATA'] = $data;
+
+
+
+                if($tag=="0001") { //first chunk
+
+                        $result['Bytes']=hexdec(intel2Moto(substr($data,$place,4)));$place+=4;//0
+
+                        $result['Macro']=hexdec(intel2Moto(substr($data,$place,4)));$place+=4;//1
+
+                                if($result['Macro']==1) $result['Macro'] = "Macro";
+
+                                if($result['Macro']==2) $result['Macro'] = "Normal";
+
+                        $result['SelfTimer']=hexdec(intel2Moto(substr($data,$place,4)));$place+=4;//2
+
+                                if($result['SelfTimer']==0) $result['SelfTimer'] = "Off";
+
+                        $result['Quality']=hexdec(intel2Moto(substr($data,$place,4)));$place+=4;//3
+
+                                if($result['Quality']==2) $result['Quality'] = "Normal";
+
+                                if($result['Quality']==3) $result['Quality'] = "Fine";
+
+                                if($result['Quality']==5) $result['Quality'] = "Superfine";
+
+                        $result['Flash']=hexdec(intel2Moto(substr($data,$place,4)));$place+=4;//4
+
+                                if($result['Flash']==0) $result['Flash'] = "Off";
+
+                                if($result['Flash']==1) $result['Flash'] = "Auto";
+
+                                if($result['Flash']==2) $result['Flash'] = "On";
+
+                                if($result['Flash']==3) $result['Flash'] = "Red Eye Reduction";
+
+                                if($result['Flash']==4) $result['Flash'] = "Slow Synchro";
+
+                                if($result['Flash']==5) $result['Flash'] = "Auto + Red Eye Reduction";
+
+                                if($result['Flash']==6) $result['Flash'] = "On + Red Eye Reduction";
+
+                                if($result['Flash']==16) $result['Flash'] = "External Flash";
+
+                        $result['DriveMode']=hexdec(intel2Moto(substr($data,$place,4)));$place+=4;//5
+
+                                if($result['DriveMode']==0) $result['DriveMode'] = "Single/Timer";
+
+                                if($result['DriveMode']==1) $result['DriveMode'] = "Continuous";
+
+                        $result['Unknown']=hexdec(intel2Moto(substr($data,$place,4)));$place+=4;//6
+
+                        $result['FocusMode']=hexdec(intel2Moto(substr($data,$place,4)));$place+=4;//7
+
+                                if($result['FocusMode']==0) $result['FocusMode'] = "One-Shot";
+
+                                if($result['FocusMode']==1) $result['FocusMode'] = "AI Servo";
+
+                                if($result['FocusMode']==2) $result['FocusMode'] = "AI Focus";
+
+                                if($result['FocusMode']==3) $result['FocusMode'] = "Manual Focus";
+
+                                if($result['FocusMode']==4) $result['FocusMode'] = "Single";
+
+                                if($result['FocusMode']==5) $result['FocusMode'] = "Continuous";
+
+                                if($result['FocusMode']==6) $result['FocusMode'] = "Manual Focus";
+
+                        $result['Unknown']=hexdec(intel2Moto(substr($data,$place,4)));$place+=4;//8
+
+                        $result['Unknown']=hexdec(intel2Moto(substr($data,$place,4)));$place+=4;//9
+
+                        $result['ImageSize']=hexdec(intel2Moto(substr($data,$place,4)));$place+=4;//10
+
+                                if($result['ImageSize']==0) $result['ImageSize'] = "Large";
+
+                                if($result['ImageSize']==1) $result['ImageSize'] = "Medium";
+
+                                if($result['ImageSize']==2) $result['ImageSize'] = "Small";
+
+                        $result['EasyShooting']=hexdec(intel2Moto(substr($data,$place,4)));$place+=4;//11
+
+                                if($result['EasyShooting']==0) $result['EasyShooting'] = "Full Auto";
+
+                                if($result['EasyShooting']==1) $result['EasyShooting'] = "Manual";
+
+                                if($result['EasyShooting']==2) $result['EasyShooting'] = "Landscape";
+
+                                if($result['EasyShooting']==3) $result['EasyShooting'] = "Fast Shutter";
+
+                                if($result['EasyShooting']==4) $result['EasyShooting'] = "Slow Shutter";
+
+                                if($result['EasyShooting']==5) $result['EasyShooting'] = "Night";
+
+                                if($result['EasyShooting']==6) $result['EasyShooting'] = "Black & White";
+
+                                if($result['EasyShooting']==7) $result['EasyShooting'] = "Sepia";
+
+                                if($result['EasyShooting']==8) $result['EasyShooting'] = "Portrait";
+
+                                if($result['EasyShooting']==9) $result['EasyShooting'] = "Sport";
+
+                                if($result['EasyShooting']==10) $result['EasyShooting'] = "Macro/Close-Up";
+
+                                if($result['EasyShooting']==11) $result['EasyShooting'] = "Pan Focus";
+
+                        $result['DigitalZoom']=hexdec(intel2Moto(substr($data,$place,4)));$place+=4;//12
+
+                                if($result['DigitalZoom']==0) $result['DigitalZoom'] = "No Digital Zoom";
+
+                        if($result['DigitalZoom']==1) $result['DigitalZoom'] = "2x";
+
+                        if($result['DigitalZoom']==2) $result['DigitalZoom'] = "4x";
+
+                                if($result['DigitalZoom']==65535) $result['DigitalZoom'] = "No Digital Zoom";
+
+                        $result['Contrast']=hexdec(intel2Moto(substr($data,$place,4)));$place+=4;//13
+
+                                if($result['Contrast']==0) $result['Contrast'] = "Normal";
+
+                                if($result['Contrast']==1) $result['Contrast'] = "High";
+
+                                if($result['Contrast']==65535) $result['Contrast'] = "Low";
+
+                        $result['Saturation']=hexdec(intel2Moto(substr($data,$place,4)));$place+=4;//14
+
+                                if($result['Saturation']==0) $result['Saturation'] = "Normal";
+
+                                if($result['Saturation']==1) $result['Saturation'] = "High";
+
+                                if($result['Saturation']==65535) $result['Saturation'] = "Low";
+
+                        $result['Sharpness']=hexdec(intel2Moto(substr($data,$place,4)));$place+=4;//15
+
+                                if($result['Sharpness']==0) $result['Sharpness'] = "Normal";
+
+                                if($result['Sharpness']==1) $result['Sharpness'] = "High";
+
+                                if($result['Sharpness']==65535) $result['Sharpness'] = "Low";
+
+                        $result['ISO']=hexdec(intel2Moto(substr($data,$place,4)));$place+=4;//16
+
+                                if($result['ISO']==15) $result['ISO'] = "Auto";
+
+                                if($result['ISO']==16) $result['ISO'] = "50";
+
+                                if($result['ISO']==17) $result['ISO'] = "100";
+
+                                if($result['ISO']==18) $result['ISO'] = "200";
+
+                                if($result['ISO']==19) $result['ISO'] = "400";
+
+                        $result['MeteringMode']=hexdec(intel2Moto(substr($data,$place,4)));$place+=4;//17
+
+                                if($result['MeteringMode']==3) $result['MeteringMode'] = "Evaluative";
+
+                                if($result['MeteringMode']==4) $result['MeteringMode'] = "Partial";
+
+                                if($result['MeteringMode']==5) $result['MeteringMode'] = "Center-weighted";
+
+                        $result['FocusType']=hexdec(intel2Moto(substr($data,$place,4)));$place+=4;//18
+
+                                if($result['FocusType']==0) $result['FocusType'] = "Manual";
+
+                                if($result['FocusType']==1) $result['FocusType'] = "Auto";
+
+                                if($result['FocusType']==3) $result['FocusType'] = "Close-up (Macro)";
+
+                                if($result['FocusType']==8) $result['FocusType'] = "Locked (Pan Mode)";
+
+                        $result['AFPointSelected']=hexdec(intel2Moto(substr($data,$place,4)));$place+=4;//19
+
+                                if($result['AFPointSelected']==12288) $result['AFPointSelected'] = "Manual Focus";
+
+                                if($result['AFPointSelected']==12289) $result['AFPointSelected'] = "Auto Selected";
+
+                                if($result['AFPointSelected']==12290) $result['AFPointSelected'] = "Right";
+
+                                if($result['AFPointSelected']==12291) $result['AFPointSelected'] = "Center";
+
+                                if($result['AFPointSelected']==12292) $result['AFPointSelected'] = "Left";
+
+                        $result['ExposureMode']=hexdec(intel2Moto(substr($data,$place,4)));$place+=4;//20
+
+                                if($result['ExposureMode']==0) $result['ExposureMode'] = "EasyShoot";
+
+                                if($result['ExposureMode']==1) $result['ExposureMode'] = "Program";
+
+                                if($result['ExposureMode']==2) $result['ExposureMode'] = "Tv";
+
+                                if($result['ExposureMode']==3) $result['ExposureMode'] = "Av";
+
+                                if($result['ExposureMode']==4) $result['ExposureMode'] = "Manual";
+
+                                if($result['ExposureMode']==5) $result['ExposureMode'] = "Auto-DEP";
+
+                        $result['Unknown']=hexdec(intel2Moto(substr($data,$place,4)));$place+=4;//21
+
+                        $result['Unknown']=hexdec(intel2Moto(substr($data,$place,4)));$place+=4;//22
+
+                        $result['LongFocalLength']=hexdec(intel2Moto(substr($data,$place,4)));$place+=4;//23
+
+                        $result['ShortFocalLength']=hexdec(intel2Moto(substr($data,$place,4)));$place+=4;//24
+
+                        $result['FocalUnits']=hexdec(intel2Moto(substr($data,$place,4)));$place+=4;//25
+
+                        $result['Unknown']=hexdec(intel2Moto(substr($data,$place,4)));$place+=4;//26
+
+                        $result['Unknown']=hexdec(intel2Moto(substr($data,$place,4)));$place+=4;//27
+
+                        $result['FlashActivity']=hexdec(intel2Moto(substr($data,$place,4)));$place+=4;//28
+
+                                if($result['FlashActivity']==0) $result['FlashActivity'] = "Flash Did Not Fire";
+
+                                if($result['FlashActivity']==1) $result['FlashActivity'] = "Flash Fired";
+
+                        $result['FlashDetails']=str_pad(base_convert(intel2Moto(substr($data,$place,4)), 16, 2), 16, "0", STR_PAD_LEFT);$place+=4;//29
+
+                                $flashDetails = array();
+
+                                if (substr($result['FlashDetails'], 1, 1) == 1) { $flashDetails[] = 'External E-TTL'; }
+
+                                if (substr($result['FlashDetails'], 2, 1) == 1) { $flashDetails[] = 'Internal Flash'; }
+
+                                if (substr($result['FlashDetails'], 4, 1) == 1) { $flashDetails[] = 'FP sync used'; }
+
+                                if (substr($result['FlashDetails'], 8, 1) == 1) { $flashDetails[] = '2nd("rear")-curtin sync used'; }
+
+                                if (substr($result['FlashDetails'], 12, 1) == 1) { $flashDetails[] = '1st curtin sync'; }
+
+                                $result['FlashDetails']=implode(",", $flashDetails);
+
+                        $result['Unknown']=hexdec(intel2Moto(substr($data,$place,4)));$place+=4;//30
+
+                        $result['Unknown']=hexdec(intel2Moto(substr($data,$place,4)));$place+=4;//31
+
+                        $result['FocusMode']=hexdec(intel2Moto(substr($data,$place,4)));$place+=4;//32
+
+
+
+                } else if($tag=="0004") { //second chunk
+
+                        $result['Bytes']=hexdec(intel2Moto(substr($data,$place,4)));$place+=4;//0
+
+                        $result['Unknown']=hexdec(intel2Moto(substr($data,$place,4)));$place+=4;//1
+
+                        $result['Unknown']=hexdec(intel2Moto(substr($data,$place,4)));$place+=4;//2
+
+                        $result['Unknown']=hexdec(intel2Moto(substr($data,$place,4)));$place+=4;//3
+
+                        $result['Unknown']=hexdec(intel2Moto(substr($data,$place,4)));$place+=4;//4
+
+                        $result['Unknown']=hexdec(intel2Moto(substr($data,$place,4)));$place+=4;//5
+
+                        $result['Unknown']=hexdec(intel2Moto(substr($data,$place,4)));$place+=4;//6
+
+                        $result['WhiteBalance']=hexdec(intel2Moto(substr($data,$place,4)));$place+=4;//7
+
+                                if($result['WhiteBalance']==0) $result['WhiteBalance'] = "Auto";
+
+                                if($result['WhiteBalance']==1) $result['WhiteBalance'] = "Sunny";
+
+                                if($result['WhiteBalance']==2) $result['WhiteBalance'] = "Cloudy";
+
+                                if($result['WhiteBalance']==3) $result['WhiteBalance'] = "Tungsten";
+
+                                if($result['WhiteBalance']==4) $result['WhiteBalance'] = "Flourescent";
+
+                                if($result['WhiteBalance']==5) $result['WhiteBalance'] = "Flash";
+
+                                if($result['WhiteBalance']==6) $result['WhiteBalance'] = "Custom";
+
+                        $result['Unknown']=hexdec(intel2Moto(substr($data,$place,4)));$place+=4;//8
+
+                        $result['SequenceNumber']=hexdec(intel2Moto(substr($data,$place,4)));$place+=4;//9
+
+                        $result['Unknown']=hexdec(intel2Moto(substr($data,$place,4)));$place+=4;//10
+
+                        $result['Unknown']=hexdec(intel2Moto(substr($data,$place,4)));$place+=4;//11
+
+                        $result['Unknown']=hexdec(intel2Moto(substr($data,$place,4)));$place+=4;//12
+
+                        $result['Unknown']=hexdec(intel2Moto(substr($data,$place,4)));$place+=4;//13
+
+                        $result['AFPointUsed']=hexdec(intel2Moto(substr($data,$place,4)));$place+=4;//14
+
+                        $result['FlashBias']=hexdec(intel2Moto(substr($data,$place,4)));$place+=4;//15
+
+                                $result['FlashBias'].="EV";//15
+
+                        $result['Unknown']=hexdec(intel2Moto(substr($data,$place,4)));$place+=4;//16
+
+                        $result['Unknown']=hexdec(intel2Moto(substr($data,$place,4)));$place+=4;//17
+
+                        $result['Unknown']=hexdec(intel2Moto(substr($data,$place,4)));$place+=4;//18
+
+                        $result['SubjectDistance']=hexdec(intel2Moto(substr($data,$place,4)));$place+=4;//19
+
+
+
+                } else if($tag=="0008") { //image number
+
+                        if($intel==1) $data = intel2Moto($data);
+
+                        $data=hexdec($data);
+
+                        $result = round($data/1000)."-".$data%1000;
+
+                } else if($tag=="000c") { //camera serial number
+
+                        if($intel==1) $data = intel2Moto($data);
+
+                        $data=hexdec($data);
+
+                        $result = "#".bin2hex(substr($data,0,16)).substr($data,16,16);
+
+                }
+
+
+
+        } else if($type=="UNDEFINED") {
+
+
+
+
+
+
+
+        } else {
+
+                $data = bin2hex($data);
+
+                if($intel==1) $data = intel2Moto($data);
+
+        }
+
+
+
+        return $data;
+
+}
+
+
+
+
+
+
+
+//=================
+
+// Cannon Special data section
+
+// Useful:  http://www.burren.cx/david/canon.html
+
+// http://www.burren.cx/david/canon.html
+
+// http://www.ozhiker.com/electronics/pjmt/jpeg_info/canon_mn.html
+
+//====================================================================
+
+function parseCanon($block,&$result,$seek, $globalOffset) {
+
+        $place = 0; //current place
+
+
+
+        if($result['Endien']=="Intel") $intel=1;
+
+        else $intel=0;
+
+
+
+        $model = $result['IFD0']['Model'];
+
+
+
+                //Get number of tags (2 bytes)
+
+        $num = bin2hex(substr($block,$place,2));$place+=2;
+
+        if($intel==1) $num = intel2Moto($num);
+
+        $result['SubIFD']['MakerNote']['MakerNoteNumTags'] = hexdec($num);
+
+
+
+        //loop thru all tags  Each field is 12 bytes
+
+        for($i=0;$i<hexdec($num);$i++) {
+
+
+
+                        //2 byte tag
+
+                $tag = bin2hex(substr($block,$place,2));$place+=2;
+
+                if($intel==1) $tag = intel2Moto($tag);
+
+                $tag_name = lookup_Canon_tag($tag);
+
+
+
+                        //2 byte type
+
+                $type = bin2hex(substr($block,$place,2));$place+=2;
+
+                if($intel==1) $type = intel2Moto($type);
+
+                lookup_type($type,$size);
+
+
+
+                        //4 byte count of number of data units
+
+                $count = bin2hex(substr($block,$place,4));$place+=4;
+
+                if($intel==1) $count = intel2Moto($count);
+
+                $bytesofdata = $size*hexdec($count);
+
+
+
+                if($bytesofdata<=0) {
+
+                        return; //if this value is 0 or less then we have read all the tags we can
+
+                }
+
+
+
+                        //4 byte value of data or pointer to data
+
+                $value = substr($block,$place,4);$place+=4;
+
+
+
+                if($bytesofdata<=4) {
+
+                        $data = $value;
+
+                } else {
+
+                        $value = bin2hex($value);
+
+                        if($intel==1) $value = intel2Moto($value);
+
+                        $v = fseek($seek,$globalOffset+hexdec($value));  //offsets are from TIFF header which is 12 bytes from the start of the file
+
+                        if($v==0) {
+
+                                $data = fread($seek, $bytesofdata);
+
+                        } else if($v==-1) {
+
+                                $result['Errors'] = $result['Errors']++;
+
+                        }
+
+                }
+
+                $formated_data = formatCanonData($type,$tag,$intel,$data,$result['SubIFD']['MakerNote'][$tag_name]);
+
+
+
+                if($result['VerboseOutput']==1) {
+
+                        //$result['SubIFD']['MakerNote'][$tag_name] = $formated_data;
+
+                        if($type=="URATIONAL" || $type=="SRATIONAL" || $type=="USHORT" || $type=="SSHORT" || $type=="ULONG" || $type=="SLONG" || $type=="FLOAT" || $type=="DOUBLE") {
+
+                                $data = bin2hex($data);
+
+                                if($intel==1) $data = intel2Moto($data);
+
+                        }
+
+                        $result['SubIFD']['MakerNote'][$tag_name."_Verbose"]['RawData'] = $data;
+
+                        $result['SubIFD']['MakerNote'][$tag_name."_Verbose"]['Type'] = $type;
+
+                        $result['SubIFD']['MakerNote'][$tag_name."_Verbose"]['Bytes'] = $bytesofdata;
+
+                } else {
+
+                        //$result['SubIFD']['MakerNote'][$tag_name] = $formated_data;
+
+                }
+
+        }
+
+}
+
+
+
+
+
 ?>
\ No newline at end of file
diff -x .svn -aruN 1.4.24.src/include/makers/fujifilm.php 1.4.25.src/include/makers/fujifilm.php
--- 1.4.24.src/include/makers/fujifilm.php	2009-05-21 15:03:09.000000000 -0500
+++ 1.4.25.src/include/makers/fujifilm.php	2009-05-26 11:25:42.000000000 -0500
@@ -1,514 +1,514 @@
-<?php
-/*************************
-  Coppermine Photo Gallery
-  ************************
-  Copyright (c) 2003-2009 Coppermine Dev Team
-  v1.1 originally written by Gregory DEMAR
-
-  This program is free software; you can redistribute it and/or modify
-  it under the terms of the GNU General Public License version 3
-  as published by the Free Software Foundation.
-  
-  ********************************************
-  Coppermine version: 1.4.24
-  $HeadURL: https://coppermine.svn.sourceforge.net/svnroot/coppermine/trunk/cpg1.4.x/include/makers/fujifilm.php $
-  $Revision: 5969 $
-  $Author: gaugau $
-  $Date: 2009-05-21 22:03:33 +0200 (Do, 21 Mai 2009) $
-**********************************************/
-/*
-
-        Exifer
-
-        Extracts EXIF information from digital photos.
-
-
-
-        Copyright  2003 Jake Olefsky
-
-        http://www.offsky.com/software/exif/index.php
-
-        jake@olefsky.com
-
-
-
-        Please see exif.php for the complete information about this software.
-
-
-
-        ------------
-
-
-
-        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 
-
-
-
-        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. http://www.gnu.org/copyleft/gpl.html
-
-*/
-
-
-//=================
-
-// Looks up the name of the tag for the MakerNote (Depends on Manufacturer)
-
-//====================================================================
-
-function lookup_Fujifilm_tag($tag) {
-
-
-
-        switch($tag) {
-
-                case "0000": $tag = "Version";break;
-
-                case "1000": $tag = "Quality";break;
-
-                case "1001": $tag = "Sharpness";break;
-
-                case "1002": $tag = "WhiteBalance";break;
-
-                case "1003": $tag = "Color";break;
-
-                case "1004": $tag = "Tone";break;
-
-                case "1010": $tag = "FlashMode";break;
-
-                case "1011": $tag = "FlashStrength";break;
-
-                case "1020": $tag = "Macro";break;
-
-                case "1021": $tag = "FocusMode";break;
-
-                case "1030": $tag = "SlowSync";break;
-
-                case "1031": $tag = "PictureMode";break;
-
-                case "1032": $tag = "Unknown";break;
-
-                case "1100": $tag = "ContinuousTakingBracket";break;
-
-                case "1200": $tag = "Unknown";break;
-
-                case "1300": $tag = "BlurWarning";break;
-
-                case "1301": $tag = "FocusWarning";break;
-
-                case "1302": $tag = "AEWarning";break;
-
-
-
-                default: $tag = "unknown:".$tag;break;
-
-        }
-
-
-
-        return $tag;
-
-}
-
-
-
-//=================
-
-// Formats Data for the data type
-
-//====================================================================
-
-function formatFujifilmData($type,$tag,$intel,$data) {
-
-
-
-        if($type=="ASCII") {
-
-
-
-
-
-        } else if($type=="URATIONAL" || $type=="SRATIONAL") {
-
-                $data = bin2hex($data);
-
-                if($intel==1) $data = intel2Moto($data);
-
-                $top = hexdec(substr($data,8,8));
-
-                $bottom = hexdec(substr($data,0,8));
-
-                if($bottom!=0) $data=$top/$bottom;
-
-                else if($top==0) $data = 0;
-
-                else $data=$top."/".$bottom;
-
-
-
-                if($tag=="1011") { //FlashStrength
-
-                        $data=$data." EV";
-
-                }
-
-
-
-        } else if($type=="USHORT" || $type=="SSHORT" || $type=="ULONG" || $type=="SLONG" || $type=="FLOAT" || $type=="DOUBLE") {
-
-                $data = bin2hex($data);
-
-                if($intel==1) $data = intel2Moto($data);
-
-                $data=hexdec($data);
-
-
-
-                if($tag=="1001") { //Sharpness
-
-                        if($data == 1) $data = "Soft";
-
-                        else if($data == 2) $data = "Soft";
-
-                        else if($data == 3) $data = "Normal";
-
-                        else if($data == 4) $data = "Hard";
-
-                        else if($data == 5) $data = "Hard";
-
-                        else $data = "Unknown: ".$data;
-
-                }
-
-                if($tag=="1002") { //WhiteBalance
-
-                        if($data == 0) $data = "Auto";
-
-                        else if($data == 256) $data = "Daylight";
-
-                        else if($data == 512) $data = "Cloudy";
-
-                        else if($data == 768) $data = "DaylightColor-fluorescence";
-
-                        else if($data == 769) $data = "DaywhiteColor-fluorescence";
-
-                        else if($data == 770) $data = "White-fluorescence";
-
-                        else if($data == 1024) $data = "Incandenscense";
-
-                        else if($data == 3840) $data = "Custom";
-
-                        else $data = "Unknown: ".$data;
-
-                }
-
-                if($tag=="1003") { //Color
-
-                        if($data == 0) $data = "Chroma Saturation Normal(STD)";
-
-                        else if($data == 256) $data = "Chroma Saturation High";
-
-                        else if($data == 512) $data = "Chroma Saturation Low(ORG)";
-
-                        else $data = "Unknown: ".$data;
-
-                }
-
-                if($tag=="1004") { //Tone
-
-                        if($data == 0) $data = "Contrast Normal(STD)";
-
-                        else if($data == 256) $data = "Contrast High(HARD)";
-
-                        else if($data == 512) $data = "Contrast Low(ORG)";
-
-                        else $data = "Unknown: ".$data;
-
-                }
-
-                if($tag=="1010") { //FlashMode
-
-                        if($data == 0) $data = "Auto";
-
-                        else if($data == 1) $data = "On";
-
-                        else if($data == 2) $data = "Off";
-
-                        else if($data == 3) $data = "Red-Eye Reduction";
-
-                        else $data = "Unknown: ".$data;
-
-                }
-
-                if($tag=="1020") { //Macro
-
-                        if($data == 0) $data = "Off";
-
-                        else if($data == 1) $data = "On";
-
-                        else $data = "Unknown: ".$data;
-
-                }
-
-                if($tag=="1021") { //FocusMode
-
-                        if($data == 0) $data = "Auto";
-
-                        else if($data == 1) $data = "Manual";
-
-                        else $data = "Unknown: ".$data;
-
-                }
-
-                if($tag=="1030") { //SlowSync
-
-                        if($data == 0) $data = "Off";
-
-                        else if($data == 1) $data = "On";
-
-                        else $data = "Unknown: ".$data;
-
-                }
-
-                if($tag=="1031") { //PictureMode
-
-                        if($data == 0) $data = "Auto";
-
-                        else if($data == 1) $data = "Portrait";
-
-                        else if($data == 2) $data = "Landscape";
-
-                        else if($data == 4) $data = "Sports";
-
-                        else if($data == 5) $data = "Night";
-
-                        else if($data == 6) $data = "Program AE";
-
-                        else if($data == 256) $data = "Aperture Prority AE";
-
-                        else if($data == 512) $data = "Shutter Prority";
-
-                        else if($data == 768) $data = "Manual Exposure";
-
-                        else $data = "Unknown: ".$data;
-
-                }
-
-                if($tag=="1100") { //ContinuousTakingBracket
-
-                        if($data == 0) $data = "Off";
-
-                        else if($data == 1) $data = "On";
-
-                        else $data = "Unknown: ".$data;
-
-                }
-
-                if($tag=="1300") { //BlurWarning
-
-                        if($data == 0) $data = "No Warning";
-
-                        else if($data == 1) $data = "Warning";
-
-                        else $data = "Unknown: ".$data;
-
-                }
-
-                if($tag=="1301") { //FocusWarning
-
-                        if($data == 0) $data = "Auto Focus Good";
-
-                        else if($data == 1) $data = "Out of Focus";
-
-                        else $data = "Unknown: ".$data;
-
-                }
-
-                if($tag=="1302") { //AEWarning
-
-                        if($data == 0) $data = "AE Good";
-
-                        else if($data == 1) $data = "Over Exposure";
-
-                        else $data = "Unknown: ".$data;
-
-                }
-
-        } else if($type=="UNDEFINED") {
-
-
-
-
-
-
-
-        } else {
-
-                $data = bin2hex($data);
-
-                if($intel==1) $data = intel2Moto($data);
-
-        }
-
-
-
-        return $data;
-
-}
-
-
-
-
-
-
-
-//=================
-
-// Fujifilm Special data section
-
-//====================================================================
-
-function parseFujifilm($block,&$result) {
-
-
-
-        //if($result['Endien']=="Intel") $intel=1;
-
-        //else $intel=0;
-
-        $intel=1;
-
-
-
-        $model = $result['IFD0']['Model'];
-
-
-
-        $place=8; //current place
-
-        $offset=8;
-
-
-
-
-
-        $num = bin2hex(substr($block,$place,4));$place+=4;
-
-        if($intel==1) $num = intel2Moto($num);
-
-        $result['SubIFD']['MakerNote']['Offset'] = hexdec($num);
-
-
-
-                //Get number of tags (2 bytes)
-
-        $num = bin2hex(substr($block,$place,2));$place+=2;
-
-        if($intel==1) $num = intel2Moto($num);
-
-        $result['SubIFD']['MakerNote']['MakerNoteNumTags'] = hexdec($num);
-
-
-
-        //loop thru all tags  Each field is 12 bytes
-
-        for($i=0;$i<hexdec($num);$i++) {
-
-
-
-                        //2 byte tag
-
-                $tag = bin2hex(substr($block,$place,2));$place+=2;
-
-                if($intel==1) $tag = intel2Moto($tag);
-
-                $tag_name = lookup_Fujifilm_tag($tag);
-
-
-
-                        //2 byte type
-
-                $type = bin2hex(substr($block,$place,2));$place+=2;
-
-                if($intel==1) $type = intel2Moto($type);
-
-                lookup_type($type,$size);
-
-
-
-                        //4 byte count of number of data units
-
-                $count = bin2hex(substr($block,$place,4));$place+=4;
-
-                if($intel==1) $count = intel2Moto($count);
-
-                $bytesofdata = $size*hexdec($count);
-
-
-
-                        //4 byte value of data or pointer to data
-
-                $value = substr($block,$place,4);$place+=4;
-
-
-
-
-
-                if($bytesofdata<=4) {
-
-                        $data = $value;
-
-                } else {
-
-                        $value = bin2hex($value);
-
-                        if($intel==1) $value = intel2Moto($value);
-
-                        $data = substr($block,hexdec($value)-$offset,$bytesofdata*2);
-
-                }
-
-                $formated_data = formatFujifilmData($type,$tag,$intel,$data);
-
-
-
-                if($result['VerboseOutput']==1) {
-
-                        $result['SubIFD']['MakerNote'][$tag_name] = $formated_data;
-
-                        if($type=="URATIONAL" || $type=="SRATIONAL" || $type=="USHORT" || $type=="SSHORT" || $type=="ULONG" || $type=="SLONG" || $type=="FLOAT" || $type=="DOUBLE") {
-
-                                $data = bin2hex($data);
-
-                                if($intel==1) $data = intel2Moto($data);
-
-                        }
-
-                        $result['SubIFD']['MakerNote'][$tag_name."_Verbose"]['RawData'] = $data;
-
-                        $result['SubIFD']['MakerNote'][$tag_name."_Verbose"]['Type'] = $type;
-
-                        $result['SubIFD']['MakerNote'][$tag_name."_Verbose"]['Bytes'] = $bytesofdata;
-
-                } else {
-
-                        $result['SubIFD']['MakerNote'][$tag_name] = $formated_data;
-
-                }
-
-        }
-
-}
-
-
-
-
-
+<?php
+/*************************
+  Coppermine Photo Gallery
+  ************************
+  Copyright (c) 2003-2009 Coppermine Dev Team
+  v1.1 originally written by Gregory DEMAR
+
+  This program is free software; you can redistribute it and/or modify
+  it under the terms of the GNU General Public License version 3
+  as published by the Free Software Foundation.
+  
+  ********************************************
+  Coppermine version: 1.4.25
+  $HeadURL: https://coppermine.svn.sourceforge.net/svnroot/coppermine/trunk/cpg1.4.x/include/makers/fujifilm.php $
+  $Revision: 5997 $
+  $Author: gaugau $
+  $Date: 2009-05-26 08:43:24 +0200 (Di, 26 Mai 2009) $
+**********************************************/
+/*
+
+        Exifer
+
+        Extracts EXIF information from digital photos.
+
+
+
+        Copyright  2003 Jake Olefsky
+
+        http://www.offsky.com/software/exif/index.php
+
+        jake@olefsky.com
+
+
+
+        Please see exif.php for the complete information about this software.
+
+
+
+        ------------
+
+
+
+        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 
+
+
+
+        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. http://www.gnu.org/copyleft/gpl.html
+
+*/
+
+
+//=================
+
+// Looks up the name of the tag for the MakerNote (Depends on Manufacturer)
+
+//====================================================================
+
+function lookup_Fujifilm_tag($tag) {
+
+
+
+        switch($tag) {
+
+                case "0000": $tag = "Version";break;
+
+                case "1000": $tag = "Quality";break;
+
+                case "1001": $tag = "Sharpness";break;
+
+                case "1002": $tag = "WhiteBalance";break;
+
+                case "1003": $tag = "Color";break;
+
+                case "1004": $tag = "Tone";break;
+
+                case "1010": $tag = "FlashMode";break;
+
+                case "1011": $tag = "FlashStrength";break;
+
+                case "1020": $tag = "Macro";break;
+
+                case "1021": $tag = "FocusMode";break;
+
+                case "1030": $tag = "SlowSync";break;
+
+                case "1031": $tag = "PictureMode";break;
+
+                case "1032": $tag = "Unknown";break;
+
+                case "1100": $tag = "ContinuousTakingBracket";break;
+
+                case "1200": $tag = "Unknown";break;
+
+                case "1300": $tag = "BlurWarning";break;
+
+                case "1301": $tag = "FocusWarning";break;
+
+                case "1302": $tag = "AEWarning";break;
+
+
+
+                default: $tag = "unknown:".$tag;break;
+
+        }
+
+
+
+        return $tag;
+
+}
+
+
+
+//=================
+
+// Formats Data for the data type
+
+//====================================================================
+
+function formatFujifilmData($type,$tag,$intel,$data) {
+
+
+
+        if($type=="ASCII") {
+
+
+
+
+
+        } else if($type=="URATIONAL" || $type=="SRATIONAL") {
+
+                $data = bin2hex($data);
+
+                if($intel==1) $data = intel2Moto($data);
+
+                $top = hexdec(substr($data,8,8));
+
+                $bottom = hexdec(substr($data,0,8));
+
+                if($bottom!=0) $data=$top/$bottom;
+
+                else if($top==0) $data = 0;
+
+                else $data=$top."/".$bottom;
+
+
+
+                if($tag=="1011") { //FlashStrength
+
+                        $data=$data." EV";
+
+                }
+
+
+
+        } else if($type=="USHORT" || $type=="SSHORT" || $type=="ULONG" || $type=="SLONG" || $type=="FLOAT" || $type=="DOUBLE") {
+
+                $data = bin2hex($data);
+
+                if($intel==1) $data = intel2Moto($data);
+
+                $data=hexdec($data);
+
+
+
+                if($tag=="1001") { //Sharpness
+
+                        if($data == 1) $data = "Soft";
+
+                        else if($data == 2) $data = "Soft";
+
+                        else if($data == 3) $data = "Normal";
+
+                        else if($data == 4) $data = "Hard";
+
+                        else if($data == 5) $data = "Hard";
+
+                        else $data = "Unknown: ".$data;
+
+                }
+
+                if($tag=="1002") { //WhiteBalance
+
+                        if($data == 0) $data = "Auto";
+
+                        else if($data == 256) $data = "Daylight";
+
+                        else if($data == 512) $data = "Cloudy";
+
+                        else if($data == 768) $data = "DaylightColor-fluorescence";
+
+                        else if($data == 769) $data = "DaywhiteColor-fluorescence";
+
+                        else if($data == 770) $data = "White-fluorescence";
+
+                        else if($data == 1024) $data = "Incandenscense";
+
+                        else if($data == 3840) $data = "Custom";
+
+                        else $data = "Unknown: ".$data;
+
+                }
+
+                if($tag=="1003") { //Color
+
+                        if($data == 0) $data = "Chroma Saturation Normal(STD)";
+
+                        else if($data == 256) $data = "Chroma Saturation High";
+
+                        else if($data == 512) $data = "Chroma Saturation Low(ORG)";
+
+                        else $data = "Unknown: ".$data;
+
+                }
+
+                if($tag=="1004") { //Tone
+
+                        if($data == 0) $data = "Contrast Normal(STD)";
+
+                        else if($data == 256) $data = "Contrast High(HARD)";
+
+                        else if($data == 512) $data = "Contrast Low(ORG)";
+
+                        else $data = "Unknown: ".$data;
+
+                }
+
+                if($tag=="1010") { //FlashMode
+
+                        if($data == 0) $data = "Auto";
+
+                        else if($data == 1) $data = "On";
+
+                        else if($data == 2) $data = "Off";
+
+                        else if($data == 3) $data = "Red-Eye Reduction";
+
+                        else $data = "Unknown: ".$data;
+
+                }
+
+                if($tag=="1020") { //Macro
+
+                        if($data == 0) $data = "Off";
+
+                        else if($data == 1) $data = "On";
+
+                        else $data = "Unknown: ".$data;
+
+                }
+
+                if($tag=="1021") { //FocusMode
+
+                        if($data == 0) $data = "Auto";
+
+                        else if($data == 1) $data = "Manual";
+
+                        else $data = "Unknown: ".$data;
+
+                }
+
+                if($tag=="1030") { //SlowSync
+
+                        if($data == 0) $data = "Off";
+
+                        else if($data == 1) $data = "On";
+
+                        else $data = "Unknown: ".$data;
+
+                }
+
+                if($tag=="1031") { //PictureMode
+
+                        if($data == 0) $data = "Auto";
+
+                        else if($data == 1) $data = "Portrait";
+
+                        else if($data == 2) $data = "Landscape";
+
+                        else if($data == 4) $data = "Sports";
+
+                        else if($data == 5) $data = "Night";
+
+                        else if($data == 6) $data = "Program AE";
+
+                        else if($data == 256) $data = "Aperture Prority AE";
+
+                        else if($data == 512) $data = "Shutter Prority";
+
+                        else if($data == 768) $data = "Manual Exposure";
+
+                        else $data = "Unknown: ".$data;
+
+                }
+
+                if($tag=="1100") { //ContinuousTakingBracket
+
+                        if($data == 0) $data = "Off";
+
+                        else if($data == 1) $data = "On";
+
+                        else $data = "Unknown: ".$data;
+
+                }
+
+                if($tag=="1300") { //BlurWarning
+
+                        if($data == 0) $data = "No Warning";
+
+                        else if($data == 1) $data = "Warning";
+
+                        else $data = "Unknown: ".$data;
+
+                }
+
+                if($tag=="1301") { //FocusWarning
+
+                        if($data == 0) $data = "Auto Focus Good";
+
+                        else if($data == 1) $data = "Out of Focus";
+
+                        else $data = "Unknown: ".$data;
+
+                }
+
+                if($tag=="1302") { //AEWarning
+
+                        if($data == 0) $data = "AE Good";
+
+                        else if($data == 1) $data = "Over Exposure";
+
+                        else $data = "Unknown: ".$data;
+
+                }
+
+        } else if($type=="UNDEFINED") {
+
+
+
+
+
+
+
+        } else {
+
+                $data = bin2hex($data);
+
+                if($intel==1) $data = intel2Moto($data);
+
+        }
+
+
+
+        return $data;
+
+}
+
+
+
+
+
+
+
+//=================
+
+// Fujifilm Special data section
+
+//====================================================================
+
+function parseFujifilm($block,&$result) {
+
+
+
+        //if($result['Endien']=="Intel") $intel=1;
+
+        //else $intel=0;
+
+        $intel=1;
+
+
+
+        $model = $result['IFD0']['Model'];
+
+
+
+        $place=8; //current place
+
+        $offset=8;
+
+
+
+
+
+        $num = bin2hex(substr($block,$place,4));$place+=4;
+
+        if($intel==1) $num = intel2Moto($num);
+
+        $result['SubIFD']['MakerNote']['Offset'] = hexdec($num);
+
+
+
+                //Get number of tags (2 bytes)
+
+        $num = bin2hex(substr($block,$place,2));$place+=2;
+
+        if($intel==1) $num = intel2Moto($num);
+
+        $result['SubIFD']['MakerNote']['MakerNoteNumTags'] = hexdec($num);
+
+
+
+        //loop thru all tags  Each field is 12 bytes
+
+        for($i=0;$i<hexdec($num);$i++) {
+
+
+
+                        //2 byte tag
+
+                $tag = bin2hex(substr($block,$place,2));$place+=2;
+
+                if($intel==1) $tag = intel2Moto($tag);
+
+                $tag_name = lookup_Fujifilm_tag($tag);
+
+
+
+                        //2 byte type
+
+                $type = bin2hex(substr($block,$place,2));$place+=2;
+
+                if($intel==1) $type = intel2Moto($type);
+
+                lookup_type($type,$size);
+
+
+
+                        //4 byte count of number of data units
+
+                $count = bin2hex(substr($block,$place,4));$place+=4;
+
+                if($intel==1) $count = intel2Moto($count);
+
+                $bytesofdata = $size*hexdec($count);
+
+
+
+                        //4 byte value of data or pointer to data
+
+                $value = substr($block,$place,4);$place+=4;
+
+
+
+
+
+                if($bytesofdata<=4) {
+
+                        $data = $value;
+
+                } else {
+
+                        $value = bin2hex($value);
+
+                        if($intel==1) $value = intel2Moto($value);
+
+                        $data = substr($block,hexdec($value)-$offset,$bytesofdata*2);
+
+                }
+
+                $formated_data = formatFujifilmData($type,$tag,$intel,$data);
+
+
+
+                if($result['VerboseOutput']==1) {
+
+                        $result['SubIFD']['MakerNote'][$tag_name] = $formated_data;
+
+                        if($type=="URATIONAL" || $type=="SRATIONAL" || $type=="USHORT" || $type=="SSHORT" || $type=="ULONG" || $type=="SLONG" || $type=="FLOAT" || $type=="DOUBLE") {
+
+                                $data = bin2hex($data);
+
+                                if($intel==1) $data = intel2Moto($data);
+
+                        }
+
+                        $result['SubIFD']['MakerNote'][$tag_name."_Verbose"]['RawData'] = $data;
+
+                        $result['SubIFD']['MakerNote'][$tag_name."_Verbose"]['Type'] = $type;
+
+                        $result['SubIFD']['MakerNote'][$tag_name."_Verbose"]['Bytes'] = $bytesofdata;
+
+                } else {
+
+                        $result['SubIFD']['MakerNote'][$tag_name] = $formated_data;
+
+                }
+
+        }
+
+}
+
+
+
+
+
 ?>
\ No newline at end of file
diff -x .svn -aruN 1.4.24.src/include/makers/gps.php 1.4.25.src/include/makers/gps.php
--- 1.4.24.src/include/makers/gps.php	2009-05-21 15:03:09.000000000 -0500
+++ 1.4.25.src/include/makers/gps.php	2009-05-26 11:25:42.000000000 -0500
@@ -1,455 +1,455 @@
-<?php
-/*************************
-  Coppermine Photo Gallery
-  ************************
-  Copyright (c) 2003-2009 Coppermine Dev Team
-  v1.1 originally written by Gregory DEMAR
-
-  This program is free software; you can redistribute it and/or modify
-  it under the terms of the GNU General Public License version 3
-  as published by the Free Software Foundation.
-  
-  ********************************************
-  Coppermine version: 1.4.24
-  $HeadURL: https://coppermine.svn.sourceforge.net/svnroot/coppermine/trunk/cpg1.4.x/include/makers/gps.php $
-  $Revision: 5969 $
-  $Author: gaugau $
-  $Date: 2009-05-21 22:03:33 +0200 (Do, 21 Mai 2009) $
-**********************************************/
-
-/*
-
-        Exifer
-
-        Extracts EXIF information from digital photos.
-
-
-
-        Copyright  2003 Jake Olefsky
-
-        http://www.offsky.com/software/exif/index.php
-
-        jake@olefsky.com
-
-
-
-        Please see exif.php for the complete information about this software.
-
-
-
-        ------------
-
-
-
-        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 
-
-
-
-        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. http://www.gnu.org/copyleft/gpl.html
-
-*/
-
-
-//=================
-
-// Looks up the name of the tag
-
-//====================================================================
-
-function lookup_GPS_tag($tag) {
-
-
-
-        switch($tag) {
-
-                case "0000": $tag = "Version";break;
-
-                case "0001": $tag = "Latitude Reference";break;                        //north or south
-
-                case "0002": $tag = "Latitude";break;                                        //dd mm.mm or dd mm ss
-
-                case "0003": $tag = "Longitude Reference";break;                //east or west
-
-                case "0004": $tag = "Longitude";break;                                        //dd mm.mm or dd mm ss
-
-                case "0005": $tag = "Altitude Reference";break;                        //sea level or below sea level
-
-                case "0006": $tag = "Altitude";break;                                        //positive rational number
-
-                case "0007": $tag = "Time";break;                                                //three positive rational numbers
-
-                case "0008": $tag = "Satellite";break;                                        //text string up to 999 bytes long
-
-                case "0009": $tag = "ReceiveStatus";break;                                //in progress or interop
-
-                case "000a": $tag = "MeasurementMode";break;                        //2D or 3D
-
-                case "000b": $tag = "MeasurementPrecision";break;                //positive rational number
-
-                case "000c": $tag = "SpeedUnit";break;                                        //KPH, MPH, knots
-
-                case "000d": $tag = "ReceiverSpeed";break;                                //positive rational number
-
-                case "000e": $tag = "MovementDirectionRef";break;                //true or magnetic north
-
-                case "000f": $tag = "MovementDirection";break;                        //positive rational number
-
-                case "0010": $tag = "ImageDirectionRef";break;                        //true or magnetic north
-
-                case "0011": $tag = "ImageDirection";break;                                //positive rational number
-
-                case "0012": $tag = "GeodeticSurveyData";break;                        //text string up to 999 bytes long
-
-                case "0013": $tag = "DestLatitudeRef";break;                        //north or south
-
-                case "0014": $tag = "DestinationLatitude";break;                //three positive rational numbers
-
-                case "0015": $tag = "DestLongitudeRef";break;                        //east or west
-
-                case "0016": $tag = "DestinationLongitude";break;                //three positive rational numbers
-
-                case "0017": $tag = "DestBearingRef";break;                                //true or magnetic north
-
-                case "0018": $tag = "DestinationBearing";break;                        //positive rational number
-
-                case "0019": $tag = "DestDistanceRef";break;                        //km, miles, knots
-
-                case "001a": $tag = "DestinationDistance";break;                //positive rational number
-
-                case "001b": $tag = "ProcessingMethod";break;
-
-                case "001c": $tag = "AreaInformation";break;
-
-                case "001d": $tag = "Datestamp";break;                                        //text string 10 bytes long
-
-                case "001e": $tag = "DifferentialCorrection";break;                //integer in range 0-65535
-
-
-
-
-
-                default: $tag = "unknown:".$tag;break;
-
-        }
-
-
-
-        return $tag;
-
-}
-
-
-
-//=================
-
-// Formats a rational number
-
-//====================================================================
-
-function GPSRational($data, $intel) {
-
-
-
-        if($intel==1) $top = hexdec(substr($data,8,8));         //intel stores them bottom-top
-
-        else  $top = hexdec(substr($data,0,8));                                //motorola stores them top-bottom
-
-
-
-        if($intel==1) $bottom = hexdec(substr($data,0,8));        //intel stores them bottom-top
-
-        else  $bottom = hexdec(substr($data,8,8));                        //motorola stores them top-bottom
-
-
-
-        if($bottom!=0) $data=$top/$bottom;
-
-        else if($top==0) $data = 0;
-
-        else $data=$top."/".$bottom;
-
-
-
-        return $data;
-
-}
-
-//=================
-
-// Formats Data for the data type
-
-//====================================================================
-
-function formatGPSData($type,$tag,$intel,$data) {
-
-
-
-        if($type=="ASCII") {
-
-
-
-
-
-        } else if($type=="URATIONAL" || $type=="SRATIONAL") {
-
-                $data = bin2hex($data);
-
-                if($intel==1) $data = intel2Moto($data);
-
-
-
-                if($intel==1) $top = hexdec(substr($data,8,8));         //intel stores them bottom-top
-
-                else  $top = hexdec(substr($data,0,8));                                //motorola stores them top-bottom
-
-
-
-                if($intel==1) $bottom = hexdec(substr($data,0,8));        //intel stores them bottom-top
-
-                else  $bottom = hexdec(substr($data,8,8));                        //motorola stores them top-bottom
-
-
-
-                if($type=="SRATIONAL" && $top>2147483647) $top = $top - 4294967296;                //this makes the number signed instead of unsigned
-
-
-
-                if($tag=="0002" || $tag=="0004") { //Latitude
-
-
-
-                        $seconds = GPSRational(substr($data,0,16),$intel);
-
-                        $minutes = GPSRational(substr($data,16,16),$intel);
-
-                        $hour = GPSRational(substr($data,32,16),$intel);
-
-
-
-                        $data = $hour+$minutes/60+$seconds/3600;
-
-                } else if($tag=="0007") { //Time
-
-                        $seconds = GPSRational(substr($data,0,16),$intel);
-
-                        $minutes = GPSRational(substr($data,16,16),$intel);
-
-                        $hour = GPSRational(substr($data,32,16),$intel);
-
-
-
-                        $data = $hour.":".$minutes.":".$seconds;
-
-                } else {
-
-                        if($bottom!=0) $data=$top/$bottom;
-
-                        else if($top==0) $data = 0;
-
-                        else $data=$top."/".$bottom;
-
-                }
-
-        } else if($type=="USHORT" || $type=="SSHORT" || $type=="ULONG" || $type=="SLONG" || $type=="FLOAT" || $type=="DOUBLE") {
-
-                $data = bin2hex($data);
-
-                if($intel==1) $data = intel2Moto($data);
-
-                $data=hexdec($data);
-
-
-
-
-
-        } else if($type=="UNDEFINED") {
-
-
-
-
-
-
-
-        } else if($type=="UBYTE") {
-
-                $data = bin2hex($data);
-
-                if($intel==1) $num = intel2Moto($data);
-
-
-
-                if($tag=="0000") { //Latitude
-
-                        $data =  hexdec(substr($data,0,2)).".". hexdec(substr($data,2,2)).".". hexdec(substr($data,4,2)).".". hexdec(substr($data,6,2));
-
-                }
-
-
-
-        } else {
-
-                $data = bin2hex($data);
-
-                if($intel==1) $data = intel2Moto($data);
-
-        }
-
-
-
-        return $data;
-
-}
-
-
-
-
-
-//=================
-
-// GPS Special data section
-
-// Useful websites
-
-// http://drewnoakes.com/code/exif/sampleOutput.html
-
-// http://www.geosnapper.com
-
-//====================================================================
-
-function parseGPS($block,&$result,$offset,$seek, $globalOffset) {
-
-
-
-        if($result['Endien']=="Intel") $intel=1;
-
-        else $intel=0;
-
-
-
-        $v = fseek($seek,$globalOffset+$offset);  //offsets are from TIFF header which is 12 bytes from the start of the file
-
-        if($v==-1) {
-
-                $result['Errors'] = $result['Errors']++;
-
-        }
-
-
-
-        $num = bin2hex(fread( $seek, 2 ));
-
-        if($intel==1) $num = intel2Moto($num);
-
-        $num=hexdec($num);
-
-        $result['GPS']['NumTags'] = $num;
-
-
-
-        $block = fread( $seek, $num*12 );
-
-        $place = 0;
-
-
-
-        //loop thru all tags  Each field is 12 bytes
-
-        for($i=0;$i<$num;$i++) {
-
-                        //2 byte tag
-
-                $tag = bin2hex(substr($block,$place,2));$place+=2;
-
-                if($intel==1) $tag = intel2Moto($tag);
-
-                $tag_name = lookup_GPS_tag($tag);
-
-
-
-                //2 byte datatype
-
-                $type = bin2hex(substr($block,$place,2));$place+=2;
-
-                if($intel==1) $type = intel2Moto($type);
-
-                lookup_type($type,$size);
-
-
-
-                //4 byte number of elements
-
-                $count = bin2hex(substr($block,$place,4));$place+=4;
-
-                if($intel==1) $count = intel2Moto($count);
-
-                $bytesofdata = $size*hexdec($count);
-
-
-
-                //4 byte value or pointer to value if larger than 4 bytes
-
-                $value = substr($block,$place,4);$place+=4;
-
-
-
-                if($bytesofdata<=4) {
-
-                        $data = $value;
-
-                } else {
-
-                        $value = bin2hex($value);
-
-                        if($intel==1) $value = intel2Moto($value);
-
-
-
-                        $v = fseek($seek,$globalOffset+hexdec($value));  //offsets are from TIFF header which is 12 bytes from the start of the file
-
-                        if($v==0) {
-
-                                $data = fread($seek, $bytesofdata);
-
-                        } else if($v==-1) {
-
-                                $result['Errors'] = $result['Errors']++;
-
-                        }
-
-                }
-
-
-
-                if($result['VerboseOutput']==1) {
-
-                        $result['GPS'][$tag_name] = formatGPSData($type,$tag,$intel,$data);
-
-                        $result['GPS'][$tag_name."_Verbose"]['RawData'] = bin2hex($data);
-
-                        $result['GPS'][$tag_name."_Verbose"]['Type'] = $type;
-
-                        $result['GPS'][$tag_name."_Verbose"]['Bytes'] = $bytesofdata;
-
-                } else {
-
-                        $result['GPS'][$tag_name] = formatGPSData($type,$tag,$intel,$data);
-
-                }
-
-        }
-
-}
-
-
-
-
-
+<?php
+/*************************
+  Coppermine Photo Gallery
+  ************************
+  Copyright (c) 2003-2009 Coppermine Dev Team
+  v1.1 originally written by Gregory DEMAR
+
+  This program is free software; you can redistribute it and/or modify
+  it under the terms of the GNU General Public License version 3
+  as published by the Free Software Foundation.
+  
+  ********************************************
+  Coppermine version: 1.4.25
+  $HeadURL: https://coppermine.svn.sourceforge.net/svnroot/coppermine/trunk/cpg1.4.x/include/makers/gps.php $
+  $Revision: 5997 $
+  $Author: gaugau $
+  $Date: 2009-05-26 08:43:24 +0200 (Di, 26 Mai 2009) $
+**********************************************/
+
+/*
+
+        Exifer
+
+        Extracts EXIF information from digital photos.
+
+
+
+        Copyright  2003 Jake Olefsky
+
+        http://www.offsky.com/software/exif/index.php
+
+        jake@olefsky.com
+
+
+
+        Please see exif.php for the complete information about this software.
+
+
+
+        ------------
+
+
+
+        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 
+
+
+
+        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. http://www.gnu.org/copyleft/gpl.html
+
+*/
+
+
+//=================
+
+// Looks up the name of the tag
+
+//====================================================================
+
+function lookup_GPS_tag($tag) {
+
+
+
+        switch($tag) {
+
+                case "0000": $tag = "Version";break;
+
+                case "0001": $tag = "Latitude Reference";break;                        //north or south
+
+                case "0002": $tag = "Latitude";break;                                        //dd mm.mm or dd mm ss
+
+                case "0003": $tag = "Longitude Reference";break;                //east or west
+
+                case "0004": $tag = "Longitude";break;                                        //dd mm.mm or dd mm ss
+
+                case "0005": $tag = "Altitude Reference";break;                        //sea level or below sea level
+
+                case "0006": $tag = "Altitude";break;                                        //positive rational number
+
+                case "0007": $tag = "Time";break;                                                //three positive rational numbers
+
+                case "0008": $tag = "Satellite";break;                                        //text string up to 999 bytes long
+
+                case "0009": $tag = "ReceiveStatus";break;                                //in progress or interop
+
+                case "000a": $tag = "MeasurementMode";break;                        //2D or 3D
+
+                case "000b": $tag = "MeasurementPrecision";break;                //positive rational number
+
+                case "000c": $tag = "SpeedUnit";break;                                        //KPH, MPH, knots
+
+                case "000d": $tag = "ReceiverSpeed";break;                                //positive rational number
+
+                case "000e": $tag = "MovementDirectionRef";break;                //true or magnetic north
+
+                case "000f": $tag = "MovementDirection";break;                        //positive rational number
+
+                case "0010": $tag = "ImageDirectionRef";break;                        //true or magnetic north
+
+                case "0011": $tag = "ImageDirection";break;                                //positive rational number
+
+                case "0012": $tag = "GeodeticSurveyData";break;                        //text string up to 999 bytes long
+
+                case "0013": $tag = "DestLatitudeRef";break;                        //north or south
+
+                case "0014": $tag = "DestinationLatitude";break;                //three positive rational numbers
+
+                case "0015": $tag = "DestLongitudeRef";break;                        //east or west
+
+                case "0016": $tag = "DestinationLongitude";break;                //three positive rational numbers
+
+                case "0017": $tag = "DestBearingRef";break;                                //true or magnetic north
+
+                case "0018": $tag = "DestinationBearing";break;                        //positive rational number
+
+                case "0019": $tag = "DestDistanceRef";break;                        //km, miles, knots
+
+                case "001a": $tag = "DestinationDistance";break;                //positive rational number
+
+                case "001b": $tag = "ProcessingMethod";break;
+
+                case "001c": $tag = "AreaInformation";break;
+
+                case "001d": $tag = "Datestamp";break;                                        //text string 10 bytes long
+
+                case "001e": $tag = "DifferentialCorrection";break;                //integer in range 0-65535
+
+
+
+
+
+                default: $tag = "unknown:".$tag;break;
+
+        }
+
+
+
+        return $tag;
+
+}
+
+
+
+//=================
+
+// Formats a rational number
+
+//====================================================================
+
+function GPSRational($data, $intel) {
+
+
+
+        if($intel==1) $top = hexdec(substr($data,8,8));         //intel stores them bottom-top
+
+        else  $top = hexdec(substr($data,0,8));                                //motorola stores them top-bottom
+
+
+
+        if($intel==1) $bottom = hexdec(substr($data,0,8));        //intel stores them bottom-top
+
+        else  $bottom = hexdec(substr($data,8,8));                        //motorola stores them top-bottom
+
+
+
+        if($bottom!=0) $data=$top/$bottom;
+
+        else if($top==0) $data = 0;
+
+        else $data=$top."/".$bottom;
+
+
+
+        return $data;
+
+}
+
+//=================
+
+// Formats Data for the data type
+
+//====================================================================
+
+function formatGPSData($type,$tag,$intel,$data) {
+
+
+
+        if($type=="ASCII") {
+
+
+
+
+
+        } else if($type=="URATIONAL" || $type=="SRATIONAL") {
+
+                $data = bin2hex($data);
+
+                if($intel==1) $data = intel2Moto($data);
+
+
+
+                if($intel==1) $top = hexdec(substr($data,8,8));         //intel stores them bottom-top
+
+                else  $top = hexdec(substr($data,0,8));                                //motorola stores them top-bottom
+
+
+
+                if($intel==1) $bottom = hexdec(substr($data,0,8));        //intel stores them bottom-top
+
+                else  $bottom = hexdec(substr($data,8,8));                        //motorola stores them top-bottom
+
+
+
+                if($type=="SRATIONAL" && $top>2147483647) $top = $top - 4294967296;                //this makes the number signed instead of unsigned
+
+
+
+                if($tag=="0002" || $tag=="0004") { //Latitude
+
+
+
+                        $seconds = GPSRational(substr($data,0,16),$intel);
+
+                        $minutes = GPSRational(substr($data,16,16),$intel);
+
+                        $hour = GPSRational(substr($data,32,16),$intel);
+
+
+
+                        $data = $hour+$minutes/60+$seconds/3600;
+
+                } else if($tag=="0007") { //Time
+
+                        $seconds = GPSRational(substr($data,0,16),$intel);
+
+                        $minutes = GPSRational(substr($data,16,16),$intel);
+
+                        $hour = GPSRational(substr($data,32,16),$intel);
+
+
+
+                        $data = $hour.":".$minutes.":".$seconds;
+
+                } else {
+
+                        if($bottom!=0) $data=$top/$bottom;
+
+                        else if($top==0) $data = 0;
+
+                        else $data=$top."/".$bottom;
+
+                }
+
+        } else if($type=="USHORT" || $type=="SSHORT" || $type=="ULONG" || $type=="SLONG" || $type=="FLOAT" || $type=="DOUBLE") {
+
+                $data = bin2hex($data);
+
+                if($intel==1) $data = intel2Moto($data);
+
+                $data=hexdec($data);
+
+
+
+
+
+        } else if($type=="UNDEFINED") {
+
+
+
+
+
+
+
+        } else if($type=="UBYTE") {
+
+                $data = bin2hex($data);
+
+                if($intel==1) $num = intel2Moto($data);
+
+
+
+                if($tag=="0000") { //Latitude
+
+                        $data =  hexdec(substr($data,0,2)).".". hexdec(substr($data,2,2)).".". hexdec(substr($data,4,2)).".". hexdec(substr($data,6,2));
+
+                }
+
+
+
+        } else {
+
+                $data = bin2hex($data);
+
+                if($intel==1) $data = intel2Moto($data);
+
+        }
+
+
+
+        return $data;
+
+}
+
+
+
+
+
+//=================
+
+// GPS Special data section
+
+// Useful websites
+
+// http://drewnoakes.com/code/exif/sampleOutput.html
+
+// http://www.geosnapper.com
+
+//====================================================================
+
+function parseGPS($block,&$result,$offset,$seek, $globalOffset) {
+
+
+
+        if($result['Endien']=="Intel") $intel=1;
+
+        else $intel=0;
+
+
+
+        $v = fseek($seek,$globalOffset+$offset);  //offsets are from TIFF header which is 12 bytes from the start of the file
+
+        if($v==-1) {
+
+                $result['Errors'] = $result['Errors']++;
+
+        }
+
+
+
+        $num = bin2hex(fread( $seek, 2 ));
+
+        if($intel==1) $num = intel2Moto($num);
+
+        $num=hexdec($num);
+
+        $result['GPS']['NumTags'] = $num;
+
+
+
+        $block = fread( $seek, $num*12 );
+
+        $place = 0;
+
+
+
+        //loop thru all tags  Each field is 12 bytes
+
+        for($i=0;$i<$num;$i++) {
+
+                        //2 byte tag
+
+                $tag = bin2hex(substr($block,$place,2));$place+=2;
+
+                if($intel==1) $tag = intel2Moto($tag);
+
+                $tag_name = lookup_GPS_tag($tag);
+
+
+
+                //2 byte datatype
+
+                $type = bin2hex(substr($block,$place,2));$place+=2;
+
+                if($intel==1) $type = intel2Moto($type);
+
+                lookup_type($type,$size);
+
+
+
+                //4 byte number of elements
+
+                $count = bin2hex(substr($block,$place,4));$place+=4;
+
+                if($intel==1) $count = intel2Moto($count);
+
+                $bytesofdata = $size*hexdec($count);
+
+
+
+                //4 byte value or pointer to value if larger than 4 bytes
+
+                $value = substr($block,$place,4);$place+=4;
+
+
+
+                if($bytesofdata<=4) {
+
+                        $data = $value;
+
+                } else {
+
+                        $value = bin2hex($value);
+
+                        if($intel==1) $value = intel2Moto($value);
+
+
+
+                        $v = fseek($seek,$globalOffset+hexdec($value));  //offsets are from TIFF header which is 12 bytes from the start of the file
+
+                        if($v==0) {
+
+                                $data = fread($seek, $bytesofdata);
+
+                        } else if($v==-1) {
+
+                                $result['Errors'] = $result['Errors']++;
+
+                        }
+
+                }
+
+
+
+                if($result['VerboseOutput']==1) {
+
+                        $result['GPS'][$tag_name] = formatGPSData($type,$tag,$intel,$data);
+
+                        $result['GPS'][$tag_name."_Verbose"]['RawData'] = bin2hex($data);
+
+                        $result['GPS'][$tag_name."_Verbose"]['Type'] = $type;
+
+                        $result['GPS'][$tag_name."_Verbose"]['Bytes'] = $bytesofdata;
+
+                } else {
+
+                        $result['GPS'][$tag_name] = formatGPSData($type,$tag,$intel,$data);
+
+                }
+
+        }
+
+}
+
+
+
+
+
 ?>
\ No newline at end of file
diff -x .svn -aruN 1.4.24.src/include/makers/nikon.php 1.4.25.src/include/makers/nikon.php
--- 1.4.24.src/include/makers/nikon.php	2009-05-21 15:03:09.000000000 -0500
+++ 1.4.25.src/include/makers/nikon.php	2009-05-26 11:25:42.000000000 -0500
@@ -1,661 +1,661 @@
-<?php
-/*************************
-  Coppermine Photo Gallery
-  ************************
-  Copyright (c) 2003-2009 Coppermine Dev Team
-  v1.1 originally written by Gregory DEMAR
-
-  This program is free software; you can redistribute it and/or modify
-  it under the terms of the GNU General Public License version 3
-  as published by the Free Software Foundation.
-  
-  ********************************************
-  Coppermine version: 1.4.24
-  $HeadURL: https://coppermine.svn.sourceforge.net/svnroot/coppermine/trunk/cpg1.4.x/include/makers/nikon.php $
-  $Revision: 5969 $
-  $Author: gaugau $
-  $Date: 2009-05-21 22:03:33 +0200 (Do, 21 Mai 2009) $
-**********************************************/
-
-/*
-
-        Exifer
-
-        Extracts EXIF information from digital photos.
-
-
-
-        Copyright  2003 Jake Olefsky
-
-        http://www.offsky.com/software/exif/index.php
-
-        jake@olefsky.com
-
-
-
-        Please see exif.php for the complete information about this software.
-
-
-
-        ------------
-
-
-
-        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 
-
-
-
-        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. http://www.gnu.org/copyleft/gpl.html
-
-*/
-
-
-//=================
-
-// Looks up the name of the tag for the MakerNote (Depends on Manufacturer)
-
-//====================================================================
-
-function lookup_Nikon_tag($tag,$model) {
-
-
-
-        if($model==0) {
-
-                switch($tag) {
-
-                        case "0003": $tag = "Quality";break;
-
-                        case "0004": $tag = "ColorMode";break;
-
-                        case "0005": $tag = "ImageAdjustment";break;
-
-                        case "0006": $tag = "CCDSensitivity";break;
-
-                        case "0007": $tag = "WhiteBalance";break;
-
-                        case "0008": $tag = "Focus";break;
-
-                        case "0009": $tag = "Unknown2";break;
-
-                        case "000a": $tag = "DigitalZoom";break;
-
-                        case "000b": $tag = "Converter";break;
-
-
-
-                        default: $tag = "unknown:".$tag;break;
-
-                }
-
-        } else if($model==1) {
-
-                switch($tag) {
-
-                        case "0002": $tag = "ISOSetting";break;
-
-                        case "0003": $tag = "ColorMode";break;
-
-                        case "0004": $tag = "Quality";break;
-
-                        case "0005": $tag = "Whitebalance";break;
-
-                        case "0006": $tag = "ImageSharpening";break;
-
-                        case "0007": $tag = "FocusMode";break;
-
-                        case "0008": $tag = "FlashSetting";break;
-
-                        case "0009": $tag = "FlashMode";break;
-
-                        case "000b": $tag = "WhiteBalanceFine";break;
-
-                        case "000f": $tag = "ISOSelection";break;
-
-                        case "0013": $tag = "ISOSelection2";break;
-
-                        case "0080": $tag = "ImageAdjustment";break;
-
-                        case "0081": $tag = "ToneCompensation";break;
-
-                        case "0082": $tag = "Adapter";break;
-
-                        case "0083": $tag = "LensType";break;
-
-                        case "0084": $tag = "LensInfo";break;
-
-                        case "0085": $tag = "ManualFocusDistance";break;
-
-                        case "0086": $tag = "DigitalZoom";break;
-
-                        case "0087": $tag = "FlashUsed";break;
-
-                        case "0088": $tag = "AFFocusPosition";break;
-
-                        case "008d": $tag = "ColorMode";break;
-
-                        case "0090": $tag = "LightType";break;
-
-                        case "0094": $tag = "Saturation";break;
-
-                        case "0095": $tag = "NoiseReduction";break;
-
-                        case "0010": $tag = "DataDump";break;
-
-
-
-                        default: $tag = "unknown:".$tag;break;
-
-                }
-
-        }
-
-
-
-        return $tag;
-
-}
-
-
-
-//=================
-
-// Formats Data for the data type
-
-//====================================================================
-
-function formatNikonData($type,$tag,$intel,$model,$data) {
-
-
-
-        if($type=="ASCII") {
-
-
-
-
-
-        } else if($type=="URATIONAL" || $type=="SRATIONAL") {
-
-                $data = bin2hex($data);
-
-                if($intel==1) $data = intel2Moto($data);
-
-                $top = hexdec(substr($data,8,8));
-
-                $bottom = hexdec(substr($data,0,8));
-
-                if($bottom!=0) $data=$top/$bottom;
-
-                else if($top==0) $data = 0;
-
-                else $data=$top."/".$bottom;
-
-
-
-               if($tag=="0085" && $model==1) { //ManualFocusDistance
-
-                        $data=$data." m";
-
-                }
-
-                if($tag=="0086" && $model==1) { //DigitalZoom
-
-                        $data=$data."x";
-
-                }
-
-                if($tag=="000a" && $model==0) { //DigitalZoom
-
-                        $data=$data."x";
-
-                }
-
-        } else if($type=="USHORT" || $type=="SSHORT" || $type=="ULONG" || $type=="SLONG" || $type=="FLOAT" || $type=="DOUBLE") {
-
-                $data = bin2hex($data);
-
-                if($intel==1) $data = intel2Moto($data);
-
-                $data=hexdec($data);
-
-
-
-                if($tag=="0003" && $model==0) { //Quality
-
-                        if($data == 1) $data = "VGA Basic";
-
-                        else if($data == 2) $data = "VGA Normal";
-
-                        else if($data == 3) $data = "VGA Fine";
-
-                        else if($data == 4) $data = "SXGA Basic";
-
-                        else if($data == 5) $data = "SXGA Normal";
-
-                        else if($data == 6) $data = "SXGA Fine";
-
-                        else $data = "Unknown: ".$data;
-
-                }
-
-                if($tag=="0004" && $model==0) { //Color
-
-                        if($data == 1) $data = "Color";
-
-                        else if($data == 2) $data = "Monochrome";
-
-                        else $data = "Unknown: ".$data;
-
-                }
-
-                if($tag=="0005" && $model==0) { //Image Adjustment
-
-                        if($data == 0) $data = "Normal";
-
-                        else if($data == 1) $data = "Bright+";
-
-                        else if($data == 2) $data = "Bright-";
-
-                        else if($data == 3) $data = "Contrast+";
-
-                        else if($data == 4) $data = "Contrast-";
-
-                        else $data = "Unknown: ".$data;
-
-                }
-
-                if($tag=="0006" && $model==0) { //CCD Sensitivity
-
-                        if($data == 0) $data = "ISO-80";
-
-                        else if($data == 2) $data = "ISO-160";
-
-                        else if($data == 4) $data = "ISO-320";
-
-                        else if($data == 5) $data = "ISO-100";
-
-                        else $data = "Unknown: ".$data;
-
-                }
-
-                if($tag=="0007" && $model==0) { //White Balance
-
-                        if($data == 0) $data = "Auto";
-
-                        else if($data == 1) $data = "Preset";
-
-                        else if($data == 2) $data = "Daylight";
-
-                        else if($data == 3) $data = "Incandescense";
-
-                        else if($data == 4) $data = "Flourescence";
-
-                        else if($data == 5) $data = "Cloudy";
-
-                        else if($data == 6) $data = "SpeedLight";
-
-                        else $data = "Unknown: ".$data;
-
-                }
-
-                if($tag=="000b" && $model==0) { //Converter
-
-                        if($data == 0) $data = "None";
-
-                        else if($data == 1) $data = "Fisheye";
-
-                        else $data = "Unknown: ".$data;
-
-                }
-
-        } else if($type=="UNDEFINED") {
-
-
-
-                if($tag=="0001" && $model==1) { //Unknown (Version?)
-
-                        $data=$data/100;
-
-                }
-
-                if($tag=="0088" && $model==1) { //AF Focus Position
-
-                        $temp = "Center";
-
-                        $data = bin2hex($data);
-
-                        $data = str_replace("01","Top",$data);
-
-                        $data = str_replace("02","Bottom",$data);
-
-                        $data = str_replace("03","Left",$data);
-
-                        $data = str_replace("04","Right",$data);
-
-                        $data = str_replace("00","",$data);
-
-                        if(strlen($data)==0) $data = $temp;
-
-                }
-
-
-
-        } else {
-
-                $data = bin2hex($data);
-
-                if($intel==1) $data = intel2Moto($data);
-
-
-
-                if($tag=="0083" && $model==1) { //Lens Type
-
-                    $data = hexdec(substr($data,0,2));
-
-                        if($data == 0) $data = "AF non D";
-
-                        else if($data == 1) $data = "Manual";
-
-                        else if($data == 2) $data = "AF-D or AF-S";
-
-                        else if($data == 6) $data = "AF-D G";
-
-                        else if($data == 10) $data = "AF-D VR";
-
-                        else $data = "Unknown: ".$data;
-
-                }
-
-                if($tag=="0087" && $model==1) { //Flash type
-
-                    $data = hexdec(substr($data,0,2));
-
-                        if($data == 0) $data = "Did Not Fire";
-
-                        else if($data == 4) $data = "Unknown";
-
-                        else if($data == 7) $data = "External";
-
-                        else if($data == 9) $data = "On Camera";
-
-                        else $data = "Unknown: ".$data;
-
-                }
-
-        }
-
-
-
-        return $data;
-
-}
-
-
-
-
-
-//=================
-
-// Nikon Special data section
-
-//====================================================================
-
-function parseNikon($block,&$result) {
-
-
-
-        if($result['Endien']=="Intel") $intel=1;
-
-        else $intel=0;
-
-
-
-        $model = $result['IFD0']['Model'];
-
-
-
-        //these 6 models start with "Nikon".  Other models dont.
-
-        if($model=="E700\0" || $model=="E800\0" || $model=="E900\0" || $model=="E900S\0" || $model=="E910\0" || $model=="E950\0") {
-
-                $place=8; //current place
-
-                $model = 0;
-
-
-
-                //Get number of tags (2 bytes)
-
-                $num = bin2hex(substr($block,$place,2));$place+=2;
-
-                if($intel==1) $num = intel2Moto($num);
-
-                $result['SubIFD']['MakerNote']['MakerNoteNumTags'] = hexdec($num);
-
-
-
-                //loop thru all tags  Each field is 12 bytes
-
-                for($i=0;$i<hexdec($num);$i++) {
-
-                        //2 byte tag
-
-                        $tag = bin2hex(substr($block,$place,2));$place+=2;
-
-                        if($intel==1) $tag = intel2Moto($tag);
-
-                        $tag_name = lookup_Nikon_tag($tag, $model);
-
-
-
-                        //2 byte type
-
-                        $type = bin2hex(substr($block,$place,2));$place+=2;
-
-                        if($intel==1) $type = intel2Moto($type);
-
-                        lookup_type($type,$size);
-
-
-
-                        //4 byte count of number of data units
-
-                        $count = bin2hex(substr($block,$place,4));$place+=4;
-
-                        if($intel==1) $count = intel2Moto($count);
-
-                        $bytesofdata = $size*hexdec($count);
-
-
-
-                        //4 byte value of data or pointer to data
-
-                        $value = substr($block,$place,4);$place+=4;
-
-
-
-                        //if tag is 0002 then its the ASCII value which we know is at 140 so calc offset
-
-                        //THIS HACK ONLY WORKS WITH EARLY NIKON MODELS
-
-                        if($tag=="0002") $offset = hexdec($value)-140;
-
-                        if($bytesofdata<=4) {
-
-                                $data = $value;
-
-                        } else {
-
-                                $value = bin2hex($value);
-
-                                if($intel==1) $value = intel2Moto($value);
-
-                                $data = substr($block,hexdec($value)-$offset,$bytesofdata*2);
-
-                        }
-
-                        $formated_data = formatNikonData($type,$tag,$intel,$model,$data);
-
-
-
-                        if($result['VerboseOutput']==1) {
-
-                                $result['SubIFD']['MakerNote'][$tag_name] = $formated_data;
-
-                                $result['SubIFD']['MakerNote'][$tag_name."_Verbose"]['RawData'] = $data;
-
-                                $result['SubIFD']['MakerNote'][$tag_name."_Verbose"]['Type'] = $type;
-
-                                $result['SubIFD']['MakerNote'][$tag_name."_Verbose"]['Bytes'] = $bytesofdata;
-
-                        } else {
-
-                                $result['SubIFD']['MakerNote'][$tag_name] = $formated_data;
-
-                        }
-
-                }
-
-
-
-        } else {
-
-                $place=0;//current place
-
-                $model = 1;
-
-
-
-                $nikon = substr($block,$place,8);$place+=8;
-
-                $endien = substr($block,$place,4);$place+=4;
-
-
-
-                //2 bytes of 0x002a
-
-                $tag = bin2hex(substr($block,$place,2));$place+=2;
-
-
-
-                //Then 4 bytes of offset to IFD0 (usually 8 which includes all 8 bytes of TIFF header)
-
-                $offset = bin2hex(substr($block,$place,4));$place+=4;
-
-                if($intel==1) $offset = intel2Moto($offset);
-
-                if(hexdec($offset)>8) $place+=$offset-8;
-
-
-
-                //Get number of tags (2 bytes)
-
-                $num = bin2hex(substr($block,$place,2));$place+=2;
-
-                if($intel==1) $num = intel2Moto($num);
-
-
-
-                //loop thru all tags  Each field is 12 bytes
-
-                for($i=0;$i<hexdec($num);$i++) {
-
-                        //2 byte tag
-
-                        $tag = bin2hex(substr($block,$place,2));$place+=2;
-
-                        if($intel==1) $tag = intel2Moto($tag);
-
-                        $tag_name = lookup_Nikon_tag($tag, $model);
-
-
-
-                        //2 byte type
-
-                        $type = bin2hex(substr($block,$place,2));$place+=2;
-
-                        if($intel==1) $type = intel2Moto($type);
-
-                        lookup_type($type,$size);
-
-
-
-                        //4 byte count of number of data units
-
-                        $count = bin2hex(substr($block,$place,4));$place+=4;
-
-                        if($intel==1) $count = intel2Moto($count);
-
-                        $bytesofdata = $size*hexdec($count);
-
-
-
-                        //4 byte value of data or pointer to data
-
-                        $value = substr($block,$place,4);$place+=4;
-
-
-
-                        if($bytesofdata<=4) {
-
-                                $data = $value;
-
-                        } else {
-
-                                $value = bin2hex($value);
-
-                                if($intel==1) $value = intel2Moto($value);
-
-                                $data = substr($block,hexdec($value)+hexdec($offset)+2,$bytesofdata);
-
-                        }
-
-                        $formated_data = formatNikonData($type,$tag,$intel,$model,$data);
-
-
-
-                        if($result['VerboseOutput']==1) {
-
-                                $result['SubIFD']['MakerNote'][$tag_name] = $formated_data;
-
-                                if($type=="URATIONAL" || $type=="SRATIONAL" || $type=="USHORT" || $type=="SSHORT" || $type=="ULONG" || $type=="SLONG" || $type=="FLOAT" || $type=="DOUBLE") {
-
-                                        $data = bin2hex($data);
-
-                                        if($intel==1) $data = intel2Moto($data);
-
-                                }
-
-                                $result['SubIFD']['MakerNote'][$tag_name."_Verbose"]['RawData'] = $data;
-
-                                $result['SubIFD']['MakerNote'][$tag_name."_Verbose"]['Type'] = $type;
-
-                                $result['SubIFD']['MakerNote'][$tag_name."_Verbose"]['Bytes'] = $bytesofdata;
-
-                        } else {
-
-                                $result['SubIFD']['MakerNote'][$tag_name] = $formated_data;
-
-                        }
-
-                }
-
-
-
-        }
-
-}
-
-
-
-
-
+<?php
+/*************************
+  Coppermine Photo Gallery
+  ************************
+  Copyright (c) 2003-2009 Coppermine Dev Team
+  v1.1 originally written by Gregory DEMAR
+
+  This program is free software; you can redistribute it and/or modify
+  it under the terms of the GNU General Public License version 3
+  as published by the Free Software Foundation.
+  
+  ********************************************
+  Coppermine version: 1.4.25
+  $HeadURL: https://coppermine.svn.sourceforge.net/svnroot/coppermine/trunk/cpg1.4.x/include/makers/nikon.php $
+  $Revision: 5997 $
+  $Author: gaugau $
+  $Date: 2009-05-26 08:43:24 +0200 (Di, 26 Mai 2009) $
+**********************************************/
+
+/*
+
+        Exifer
+
+        Extracts EXIF information from digital photos.
+
+
+
+        Copyright  2003 Jake Olefsky
+
+        http://www.offsky.com/software/exif/index.php
+
+        jake@olefsky.com
+
+
+
+        Please see exif.php for the complete information about this software.
+
+
+
+        ------------
+
+
+
+        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 
+
+
+
+        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. http://www.gnu.org/copyleft/gpl.html
+
+*/
+
+
+//=================
+
+// Looks up the name of the tag for the MakerNote (Depends on Manufacturer)
+
+//====================================================================
+
+function lookup_Nikon_tag($tag,$model) {
+
+
+
+        if($model==0) {
+
+                switch($tag) {
+
+                        case "0003": $tag = "Quality";break;
+
+                        case "0004": $tag = "ColorMode";break;
+
+                        case "0005": $tag = "ImageAdjustment";break;
+
+                        case "0006": $tag = "CCDSensitivity";break;
+
+                        case "0007": $tag = "WhiteBalance";break;
+
+                        case "0008": $tag = "Focus";break;
+
+                        case "0009": $tag = "Unknown2";break;
+
+                        case "000a": $tag = "DigitalZoom";break;
+
+                        case "000b": $tag = "Converter";break;
+
+
+
+                        default: $tag = "unknown:".$tag;break;
+
+                }
+
+        } else if($model==1) {
+
+                switch($tag) {
+
+                        case "0002": $tag = "ISOSetting";break;
+
+                        case "0003": $tag = "ColorMode";break;
+
+                        case "0004": $tag = "Quality";break;
+
+                        case "0005": $tag = "Whitebalance";break;
+
+                        case "0006": $tag = "ImageSharpening";break;
+
+                        case "0007": $tag = "FocusMode";break;
+
+                        case "0008": $tag = "FlashSetting";break;
+
+                        case "0009": $tag = "FlashMode";break;
+
+                        case "000b": $tag = "WhiteBalanceFine";break;
+
+                        case "000f": $tag = "ISOSelection";break;
+
+                        case "0013": $tag = "ISOSelection2";break;
+
+                        case "0080": $tag = "ImageAdjustment";break;
+
+                        case "0081": $tag = "ToneCompensation";break;
+
+                        case "0082": $tag = "Adapter";break;
+
+                        case "0083": $tag = "LensType";break;
+
+                        case "0084": $tag = "LensInfo";break;
+
+                        case "0085": $tag = "ManualFocusDistance";break;
+
+                        case "0086": $tag = "DigitalZoom";break;
+
+                        case "0087": $tag = "FlashUsed";break;
+
+                        case "0088": $tag = "AFFocusPosition";break;
+
+                        case "008d": $tag = "ColorMode";break;
+
+                        case "0090": $tag = "LightType";break;
+
+                        case "0094": $tag = "Saturation";break;
+
+                        case "0095": $tag = "NoiseReduction";break;
+
+                        case "0010": $tag = "DataDump";break;
+
+
+
+                        default: $tag = "unknown:".$tag;break;
+
+                }
+
+        }
+
+
+
+        return $tag;
+
+}
+
+
+
+//=================
+
+// Formats Data for the data type
+
+//====================================================================
+
+function formatNikonData($type,$tag,$intel,$model,$data) {
+
+
+
+        if($type=="ASCII") {
+
+
+
+
+
+        } else if($type=="URATIONAL" || $type=="SRATIONAL") {
+
+                $data = bin2hex($data);
+
+                if($intel==1) $data = intel2Moto($data);
+
+                $top = hexdec(substr($data,8,8));
+
+                $bottom = hexdec(substr($data,0,8));
+
+                if($bottom!=0) $data=$top/$bottom;
+
+                else if($top==0) $data = 0;
+
+                else $data=$top."/".$bottom;
+
+
+
+               if($tag=="0085" && $model==1) { //ManualFocusDistance
+
+                        $data=$data." m";
+
+                }
+
+                if($tag=="0086" && $model==1) { //DigitalZoom
+
+                        $data=$data."x";
+
+                }
+
+                if($tag=="000a" && $model==0) { //DigitalZoom
+
+                        $data=$data."x";
+
+                }
+
+        } else if($type=="USHORT" || $type=="SSHORT" || $type=="ULONG" || $type=="SLONG" || $type=="FLOAT" || $type=="DOUBLE") {
+
+                $data = bin2hex($data);
+
+                if($intel==1) $data = intel2Moto($data);
+
+                $data=hexdec($data);
+
+
+
+                if($tag=="0003" && $model==0) { //Quality
+
+                        if($data == 1) $data = "VGA Basic";
+
+                        else if($data == 2) $data = "VGA Normal";
+
+                        else if($data == 3) $data = "VGA Fine";
+
+                        else if($data == 4) $data = "SXGA Basic";
+
+                        else if($data == 5) $data = "SXGA Normal";
+
+                        else if($data == 6) $data = "SXGA Fine";
+
+                        else $data = "Unknown: ".$data;
+
+                }
+
+                if($tag=="0004" && $model==0) { //Color
+
+                        if($data == 1) $data = "Color";
+
+                        else if($data == 2) $data = "Monochrome";
+
+                        else $data = "Unknown: ".$data;
+
+                }
+
+                if($tag=="0005" && $model==0) { //Image Adjustment
+
+                        if($data == 0) $data = "Normal";
+
+                        else if($data == 1) $data = "Bright+";
+
+                        else if($data == 2) $data = "Bright-";
+
+                        else if($data == 3) $data = "Contrast+";
+
+                        else if($data == 4) $data = "Contrast-";
+
+                        else $data = "Unknown: ".$data;
+
+                }
+
+                if($tag=="0006" && $model==0) { //CCD Sensitivity
+
+                        if($data == 0) $data = "ISO-80";
+
+                        else if($data == 2) $data = "ISO-160";
+
+                        else if($data == 4) $data = "ISO-320";
+
+                        else if($data == 5) $data = "ISO-100";
+
+                        else $data = "Unknown: ".$data;
+
+                }
+
+                if($tag=="0007" && $model==0) { //White Balance
+
+                        if($data == 0) $data = "Auto";
+
+                        else if($data == 1) $data = "Preset";
+
+                        else if($data == 2) $data = "Daylight";
+
+                        else if($data == 3) $data = "Incandescense";
+
+                        else if($data == 4) $data = "Flourescence";
+
+                        else if($data == 5) $data = "Cloudy";
+
+                        else if($data == 6) $data = "SpeedLight";
+
+                        else $data = "Unknown: ".$data;
+
+                }
+
+                if($tag=="000b" && $model==0) { //Converter
+
+                        if($data == 0) $data = "None";
+
+                        else if($data == 1) $data = "Fisheye";
+
+                        else $data = "Unknown: ".$data;
+
+                }
+
+        } else if($type=="UNDEFINED") {
+
+
+
+                if($tag=="0001" && $model==1) { //Unknown (Version?)
+
+                        $data=$data/100;
+
+                }
+
+                if($tag=="0088" && $model==1) { //AF Focus Position
+
+                        $temp = "Center";
+
+                        $data = bin2hex($data);
+
+                        $data = str_replace("01","Top",$data);
+
+                        $data = str_replace("02","Bottom",$data);
+
+                        $data = str_replace("03","Left",$data);
+
+                        $data = str_replace("04","Right",$data);
+
+                        $data = str_replace("00","",$data);
+
+                        if(strlen($data)==0) $data = $temp;
+
+                }
+
+
+
+        } else {
+
+                $data = bin2hex($data);
+
+                if($intel==1) $data = intel2Moto($data);
+
+
+
+                if($tag=="0083" && $model==1) { //Lens Type
+
+                    $data = hexdec(substr($data,0,2));
+
+                        if($data == 0) $data = "AF non D";
+
+                        else if($data == 1) $data = "Manual";
+
+                        else if($data == 2) $data = "AF-D or AF-S";
+
+                        else if($data == 6) $data = "AF-D G";
+
+                        else if($data == 10) $data = "AF-D VR";
+
+                        else $data = "Unknown: ".$data;
+
+                }
+
+                if($tag=="0087" && $model==1) { //Flash type
+
+                    $data = hexdec(substr($data,0,2));
+
+                        if($data == 0) $data = "Did Not Fire";
+
+                        else if($data == 4) $data = "Unknown";
+
+                        else if($data == 7) $data = "External";
+
+                        else if($data == 9) $data = "On Camera";
+
+                        else $data = "Unknown: ".$data;
+
+                }
+
+        }
+
+
+
+        return $data;
+
+}
+
+
+
+
+
+//=================
+
+// Nikon Special data section
+
+//====================================================================
+
+function parseNikon($block,&$result) {
+
+
+
+        if($result['Endien']=="Intel") $intel=1;
+
+        else $intel=0;
+
+
+
+        $model = $result['IFD0']['Model'];
+
+
+
+        //these 6 models start with "Nikon".  Other models dont.
+
+        if($model=="E700\0" || $model=="E800\0" || $model=="E900\0" || $model=="E900S\0" || $model=="E910\0" || $model=="E950\0") {
+
+                $place=8; //current place
+
+                $model = 0;
+
+
+
+                //Get number of tags (2 bytes)
+
+                $num = bin2hex(substr($block,$place,2));$place+=2;
+
+                if($intel==1) $num = intel2Moto($num);
+
+                $result['SubIFD']['MakerNote']['MakerNoteNumTags'] = hexdec($num);
+
+
+
+                //loop thru all tags  Each field is 12 bytes
+
+                for($i=0;$i<hexdec($num);$i++) {
+
+                        //2 byte tag
+
+                        $tag = bin2hex(substr($block,$place,2));$place+=2;
+
+                        if($intel==1) $tag = intel2Moto($tag);
+
+                        $tag_name = lookup_Nikon_tag($tag, $model);
+
+
+
+                        //2 byte type
+
+                        $type = bin2hex(substr($block,$place,2));$place+=2;
+
+                        if($intel==1) $type = intel2Moto($type);
+
+                        lookup_type($type,$size);
+
+
+
+                        //4 byte count of number of data units
+
+                        $count = bin2hex(substr($block,$place,4));$place+=4;
+
+                        if($intel==1) $count = intel2Moto($count);
+
+                        $bytesofdata = $size*hexdec($count);
+
+
+
+                        //4 byte value of data or pointer to data
+
+                        $value = substr($block,$place,4);$place+=4;
+
+
+
+                        //if tag is 0002 then its the ASCII value which we know is at 140 so calc offset
+
+                        //THIS HACK ONLY WORKS WITH EARLY NIKON MODELS
+
+                        if($tag=="0002") $offset = hexdec($value)-140;
+
+                        if($bytesofdata<=4) {
+
+                                $data = $value;
+
+                        } else {
+
+                                $value = bin2hex($value);
+
+                                if($intel==1) $value = intel2Moto($value);
+
+                                $data = substr($block,hexdec($value)-$offset,$bytesofdata*2);
+
+                        }
+
+                        $formated_data = formatNikonData($type,$tag,$intel,$model,$data);
+
+
+
+                        if($result['VerboseOutput']==1) {
+
+                                $result['SubIFD']['MakerNote'][$tag_name] = $formated_data;
+
+                                $result['SubIFD']['MakerNote'][$tag_name."_Verbose"]['RawData'] = $data;
+
+                                $result['SubIFD']['MakerNote'][$tag_name."_Verbose"]['Type'] = $type;
+
+                                $result['SubIFD']['MakerNote'][$tag_name."_Verbose"]['Bytes'] = $bytesofdata;
+
+                        } else {
+
+                                $result['SubIFD']['MakerNote'][$tag_name] = $formated_data;
+
+                        }
+
+                }
+
+
+
+        } else {
+
+                $place=0;//current place
+
+                $model = 1;
+
+
+
+                $nikon = substr($block,$place,8);$place+=8;
+
+                $endien = substr($block,$place,4);$place+=4;
+
+
+
+                //2 bytes of 0x002a
+
+                $tag = bin2hex(substr($block,$place,2));$place+=2;
+
+
+
+                //Then 4 bytes of offset to IFD0 (usually 8 which includes all 8 bytes of TIFF header)
+
+                $offset = bin2hex(substr($block,$place,4));$place+=4;
+
+                if($intel==1) $offset = intel2Moto($offset);
+
+                if(hexdec($offset)>8) $place+=$offset-8;
+
+
+
+                //Get number of tags (2 bytes)
+
+                $num = bin2hex(substr($block,$place,2));$place+=2;
+
+                if($intel==1) $num = intel2Moto($num);
+
+
+
+                //loop thru all tags  Each field is 12 bytes
+
+                for($i=0;$i<hexdec($num);$i++) {
+
+                        //2 byte tag
+
+                        $tag = bin2hex(substr($block,$place,2));$place+=2;
+
+                        if($intel==1) $tag = intel2Moto($tag);
+
+                        $tag_name = lookup_Nikon_tag($tag, $model);
+
+
+
+                        //2 byte type
+
+                        $type = bin2hex(substr($block,$place,2));$place+=2;
+
+                        if($intel==1) $type = intel2Moto($type);
+
+                        lookup_type($type,$size);
+
+
+
+                        //4 byte count of number of data units
+
+                        $count = bin2hex(substr($block,$place,4));$place+=4;
+
+                        if($intel==1) $count = intel2Moto($count);
+
+                        $bytesofdata = $size*hexdec($count);
+
+
+
+                        //4 byte value of data or pointer to data
+
+                        $value = substr($block,$place,4);$place+=4;
+
+
+
+                        if($bytesofdata<=4) {
+
+                                $data = $value;
+
+                        } else {
+
+                                $value = bin2hex($value);
+
+                                if($intel==1) $value = intel2Moto($value);
+
+                                $data = substr($block,hexdec($value)+hexdec($offset)+2,$bytesofdata);
+
+                        }
+
+                        $formated_data = formatNikonData($type,$tag,$intel,$model,$data);
+
+
+
+                        if($result['VerboseOutput']==1) {
+
+                                $result['SubIFD']['MakerNote'][$tag_name] = $formated_data;
+
+                                if($type=="URATIONAL" || $type=="SRATIONAL" || $type=="USHORT" || $type=="SSHORT" || $type=="ULONG" || $type=="SLONG" || $type=="FLOAT" || $type=="DOUBLE") {
+
+                                        $data = bin2hex($data);
+
+                                        if($intel==1) $data = intel2Moto($data);
+
+                                }
+
+                                $result['SubIFD']['MakerNote'][$tag_name."_Verbose"]['RawData'] = $data;
+
+                                $result['SubIFD']['MakerNote'][$tag_name."_Verbose"]['Type'] = $type;
+
+                                $result['SubIFD']['MakerNote'][$tag_name."_Verbose"]['Bytes'] = $bytesofdata;
+
+                        } else {
+
+                                $result['SubIFD']['MakerNote'][$tag_name] = $formated_data;
+
+                        }
+
+                }
+
+
+
+        }
+
+}
+
+
+
+
+
 ?>
\ No newline at end of file
diff -x .svn -aruN 1.4.24.src/include/makers/olympus.php 1.4.25.src/include/makers/olympus.php
--- 1.4.24.src/include/makers/olympus.php	2009-05-21 15:03:09.000000000 -0500
+++ 1.4.25.src/include/makers/olympus.php	2009-05-26 11:25:42.000000000 -0500
@@ -1,189 +1,189 @@
-<?php
-/*************************
-  Coppermine Photo Gallery
-  ************************
-  Copyright (c) 2003-2009 Coppermine Dev Team
-  v1.1 originally written by Gregory DEMAR
-
-  This program is free software; you can redistribute it and/or modify
-  it under the terms of the GNU General Public License version 3
-  as published by the Free Software Foundation.
-  
-  ********************************************
-  Coppermine version: 1.4.24
-  $HeadURL: https://coppermine.svn.sourceforge.net/svnroot/coppermine/trunk/cpg1.4.x/include/makers/olympus.php $
-  $Revision: 5969 $
-  $Author: gaugau $
-  $Date: 2009-05-21 22:03:33 +0200 (Do, 21 Mai 2009) $
-**********************************************/
-
-/*
-        Exifer
-        Extracts EXIF information from digital photos.
-        Copyright  2003 Jake Olefsky
-        http://www.offsky.com/software/exif/index.php
-        jake@olefsky.com
-        Please see exif.php for the complete information about this software.
-        ------------
-        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 
-
-        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. http://www.gnu.org/copyleft/gpl.html
-*/
-
-//=================
-// Looks up the name of the tag for the MakerNote (Depends on Manufacturer)
-//====================================================================
-function lookup_Olympus_tag($tag) {
-        switch($tag) {
-                case "0200": $tag = "SpecialMode";
-                	break;
-                case "0201": $tag = "JpegQual";
-                	break;
-                case "0202": $tag = "Macro";
-                	break;
-                case "0203": $tag = "Unknown1";
-                	break;
-                case "0204": $tag = "DigiZoom";
-                	break;
-                case "0205": $tag = "Unknown2";
-                	break;
-                case "0206": $tag = "Unknown3";
-                	break;
-                case "0207": $tag = "SoftwareRelease";
-                	break;
-                case "0208": $tag = "PictInfo";
-                	break;
-                case "0209": $tag = "CameraID";
-                	break;
-                case "0f00": $tag = "DataDump";
-                	break;
-                default: $tag = "unknown:".$tag;
-                	break;
-        }
-        return $tag;
-}
-
-//=================
-// Formats Data for the data type
-//====================================================================
-function formatOlympusData($type,$tag,$intel,$data) {
-        if($type=="ASCII") {
-        } else if($type=="URATIONAL" || $type=="SRATIONAL") {
-                $data = bin2hex($data);
-                if($intel==1) $data = intel2Moto($data);
-                $top = hexdec(substr($data,8,8));
-                $bottom = hexdec(substr($data,0,8));
-                if($bottom!=0) $data=$top/$bottom;
-                else if($top==0) $data = 0;
-                else $data=$top."/".$bottom;
-                if($tag=="0204") { //DigitalZoom
-                        $data=$data."x";
-                }
-                if($tag=="0205") { //Unknown2
-                        $data=$top."/".$bottom;
-                }
-        } else if($type=="USHORT" || $type=="SSHORT" || $type=="ULONG" || $type=="SLONG" || $type=="FLOAT" || $type=="DOUBLE") {
-                $data = bin2hex($data);
-                if($intel==1) $data = intel2Moto($data);
-                $data=hexdec($data);
-                if($tag=="0201") { //JPEGQuality
-                        if($data == 1) $data = "SQ";
-                        else if($data == 2) $data = "HQ";
-                        else if($data == 3) $data = "SHQ";
-                        else $data = "Unknown: ".$data;
-                }
-                if($tag=="0202") { //Macro
-                        if($data == 0) $data = "Normal";
-                        else if($data == 1) $data = "Macro";
-                        else $data = "Unknown: ".$data;
-                }
-        } else if($type=="UNDEFINED") {
-        } else {
-                $data = bin2hex($data);
-                if($intel==1) $data = intel2Moto($data);
-        }
-        return $data;
-}
-
-//=================
-// Olympus Special data section
-//====================================================================
-function parseOlympus($block,&$result,$seek, $globalOffset) {
-        if($result['Endien']=="Intel") $intel=1;
-        else $intel=0;
-        $model = $result['IFD0']['Model'];
-        $place=8; //current place
-        $offset=8;
-        if( substr($block,0,7)=="OLYMPUS")
-        {
-            if( substr($block,8,2)=="II")
-                $intel=1;
-            elseif( substr($block,8,2)=="MM")
-                $intel=0;
-            $place+=4;
-        }
-        //Get number of tags (2 bytes)
-        $num = bin2hex(substr($block,$place,2));$place+=2;
-        if($intel==1) {
-        	$num = intel2Moto($num);
-        }
-        $result['SubIFD']['MakerNote']['MakerNoteNumTags'] = hexdec($num);
-        //loop thru all tags  Each field is 12 bytes
-        for($i=0;$i<hexdec($num);$i++) {
-                //2 byte tag
-                $tag = bin2hex(substr($block,$place,2));
-                $place+=2;
-                if($intel==1) {
-                	$tag = intel2Moto($tag);
-                }
-                $tag_name = lookup_Olympus_tag($tag);
-                //2 byte type
-                $type = bin2hex(substr($block,$place,2));
-                $place+=2;
-                if($intel==1) {
-                	$type = intel2Moto($type);
-                }
-                lookup_type($type,$size);
-                //4 byte count of number of data units
-                $count = bin2hex(substr($block,$place,4));
-                $place+=4;
-                if($intel==1) {
-                	$count = intel2Moto($count);
-                }
-                $bytesofdata = $size*hexdec($count);
-                //4 byte value of data or pointer to data
-                $value = substr($block,$place,4);
-                $place+=4;
-                if($bytesofdata<=4) {
-                        $data = $value;
-                } else {
-                        $value = bin2hex($value);
-                        if($intel==1) $value = intel2Moto($value);
-                        $v = fseek($seek,$globalOffset+hexdec($value));  //offsets are from TIFF header which is 12 bytes from the start of the file
-                        if($v==0) {
-                                $data = fread($seek, $bytesofdata);
-                        } else if($v==-1) {
-                                $result['Errors'] = $result['Errors']++;
-                        }
-                }
-                $formated_data = formatOlympusData($type,$tag,$intel,$data);
-                if($result['VerboseOutput']==1) {
-                        $result['SubIFD']['MakerNote'][$tag_name] = $formated_data;
-                        if($type=="URATIONAL" || $type=="SRATIONAL" || $type=="USHORT" || $type=="SSHORT" || $type=="ULONG" || $type=="SLONG" || $type=="FLOAT" || $type=="DOUBLE") {
-                                $data = bin2hex($data);
-                                if($intel==1) $data = intel2Moto($data);
-                        }
-                        $result['SubIFD']['MakerNote'][$tag_name."_Verbose"]['RawData'] = $data;
-                        $result['SubIFD']['MakerNote'][$tag_name."_Verbose"]['Type'] = $type;
-                        $result['SubIFD']['MakerNote'][$tag_name."_Verbose"]['Bytes'] = $bytesofdata;
-                } else {
-                        $result['SubIFD']['MakerNote'][$tag_name] = $formated_data;
-                }
-        }
-}
-
+<?php
+/*************************
+  Coppermine Photo Gallery
+  ************************
+  Copyright (c) 2003-2009 Coppermine Dev Team
+  v1.1 originally written by Gregory DEMAR
+
+  This program is free software; you can redistribute it and/or modify
+  it under the terms of the GNU General Public License version 3
+  as published by the Free Software Foundation.
+  
+  ********************************************
+  Coppermine version: 1.4.25
+  $HeadURL: https://coppermine.svn.sourceforge.net/svnroot/coppermine/trunk/cpg1.4.x/include/makers/olympus.php $
+  $Revision: 5997 $
+  $Author: gaugau $
+  $Date: 2009-05-26 08:43:24 +0200 (Di, 26 Mai 2009) $
+**********************************************/
+
+/*
+        Exifer
+        Extracts EXIF information from digital photos.
+        Copyright  2003 Jake Olefsky
+        http://www.offsky.com/software/exif/index.php
+        jake@olefsky.com
+        Please see exif.php for the complete information about this software.
+        ------------
+        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 
+
+        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. http://www.gnu.org/copyleft/gpl.html
+*/
+
+//=================
+// Looks up the name of the tag for the MakerNote (Depends on Manufacturer)
+//====================================================================
+function lookup_Olympus_tag($tag) {
+        switch($tag) {
+                case "0200": $tag = "SpecialMode";
+                	break;
+                case "0201": $tag = "JpegQual";
+                	break;
+                case "0202": $tag = "Macro";
+                	break;
+                case "0203": $tag = "Unknown1";
+                	break;
+                case "0204": $tag = "DigiZoom";
+                	break;
+                case "0205": $tag = "Unknown2";
+                	break;
+                case "0206": $tag = "Unknown3";
+                	break;
+                case "0207": $tag = "SoftwareRelease";
+                	break;
+                case "0208": $tag = "PictInfo";
+                	break;
+                case "0209": $tag = "CameraID";
+                	break;
+                case "0f00": $tag = "DataDump";
+                	break;
+                default: $tag = "unknown:".$tag;
+                	break;
+        }
+        return $tag;
+}
+
+//=================
+// Formats Data for the data type
+//====================================================================
+function formatOlympusData($type,$tag,$intel,$data) {
+        if($type=="ASCII") {
+        } else if($type=="URATIONAL" || $type=="SRATIONAL") {
+                $data = bin2hex($data);
+                if($intel==1) $data = intel2Moto($data);
+                $top = hexdec(substr($data,8,8));
+                $bottom = hexdec(substr($data,0,8));
+                if($bottom!=0) $data=$top/$bottom;
+                else if($top==0) $data = 0;
+                else $data=$top."/".$bottom;
+                if($tag=="0204") { //DigitalZoom
+                        $data=$data."x";
+                }
+                if($tag=="0205") { //Unknown2
+                        $data=$top."/".$bottom;
+                }
+        } else if($type=="USHORT" || $type=="SSHORT" || $type=="ULONG" || $type=="SLONG" || $type=="FLOAT" || $type=="DOUBLE") {
+                $data = bin2hex($data);
+                if($intel==1) $data = intel2Moto($data);
+                $data=hexdec($data);
+                if($tag=="0201") { //JPEGQuality
+                        if($data == 1) $data = "SQ";
+                        else if($data == 2) $data = "HQ";
+                        else if($data == 3) $data = "SHQ";
+                        else $data = "Unknown: ".$data;
+                }
+                if($tag=="0202") { //Macro
+                        if($data == 0) $data = "Normal";
+                        else if($data == 1) $data = "Macro";
+                        else $data = "Unknown: ".$data;
+                }
+        } else if($type=="UNDEFINED") {
+        } else {
+                $data = bin2hex($data);
+                if($intel==1) $data = intel2Moto($data);
+        }
+        return $data;
+}
+
+//=================
+// Olympus Special data section
+//====================================================================
+function parseOlympus($block,&$result,$seek, $globalOffset) {
+        if($result['Endien']=="Intel") $intel=1;
+        else $intel=0;
+        $model = $result['IFD0']['Model'];
+        $place=8; //current place
+        $offset=8;
+        if( substr($block,0,7)=="OLYMPUS")
+        {
+            if( substr($block,8,2)=="II")
+                $intel=1;
+            elseif( substr($block,8,2)=="MM")
+                $intel=0;
+            $place+=4;
+        }
+        //Get number of tags (2 bytes)
+        $num = bin2hex(substr($block,$place,2));$place+=2;
+        if($intel==1) {
+        	$num = intel2Moto($num);
+        }
+        $result['SubIFD']['MakerNote']['MakerNoteNumTags'] = hexdec($num);
+        //loop thru all tags  Each field is 12 bytes
+        for($i=0;$i<hexdec($num);$i++) {
+                //2 byte tag
+                $tag = bin2hex(substr($block,$place,2));
+                $place+=2;
+                if($intel==1) {
+                	$tag = intel2Moto($tag);
+                }
+                $tag_name = lookup_Olympus_tag($tag);
+                //2 byte type
+                $type = bin2hex(substr($block,$place,2));
+                $place+=2;
+                if($intel==1) {
+                	$type = intel2Moto($type);
+                }
+                lookup_type($type,$size);
+                //4 byte count of number of data units
+                $count = bin2hex(substr($block,$place,4));
+                $place+=4;
+                if($intel==1) {
+                	$count = intel2Moto($count);
+                }
+                $bytesofdata = $size*hexdec($count);
+                //4 byte value of data or pointer to data
+                $value = substr($block,$place,4);
+                $place+=4;
+                if($bytesofdata<=4) {
+                        $data = $value;
+                } else {
+                        $value = bin2hex($value);
+                        if($intel==1) $value = intel2Moto($value);
+                        $v = fseek($seek,$globalOffset+hexdec($value));  //offsets are from TIFF header which is 12 bytes from the start of the file
+                        if($v==0) {
+                                $data = fread($seek, $bytesofdata);
+                        } else if($v==-1) {
+                                $result['Errors'] = $result['Errors']++;
+                        }
+                }
+                $formated_data = formatOlympusData($type,$tag,$intel,$data);
+                if($result['VerboseOutput']==1) {
+                        $result['SubIFD']['MakerNote'][$tag_name] = $formated_data;
+                        if($type=="URATIONAL" || $type=="SRATIONAL" || $type=="USHORT" || $type=="SSHORT" || $type=="ULONG" || $type=="SLONG" || $type=="FLOAT" || $type=="DOUBLE") {
+                                $data = bin2hex($data);
+                                if($intel==1) $data = intel2Moto($data);
+                        }
+                        $result['SubIFD']['MakerNote'][$tag_name."_Verbose"]['RawData'] = $data;
+                        $result['SubIFD']['MakerNote'][$tag_name."_Verbose"]['Type'] = $type;
+                        $result['SubIFD']['MakerNote'][$tag_name."_Verbose"]['Bytes'] = $bytesofdata;
+                } else {
+                        $result['SubIFD']['MakerNote'][$tag_name] = $formated_data;
+                }
+        }
+}
+
 ?>
\ No newline at end of file
diff -x .svn -aruN 1.4.24.src/include/makers/sanyo.php 1.4.25.src/include/makers/sanyo.php
--- 1.4.24.src/include/makers/sanyo.php	2009-05-21 15:03:09.000000000 -0500
+++ 1.4.25.src/include/makers/sanyo.php	2009-05-26 11:25:42.000000000 -0500
@@ -1,334 +1,334 @@
-<?php
-/*************************
-  Coppermine Photo Gallery
-  ************************
-  Copyright (c) 2003-2009 Coppermine Dev Team
-  v1.1 originally written by Gregory DEMAR
-
-  This program is free software; you can redistribute it and/or modify
-  it under the terms of the GNU General Public License version 3
-  as published by the Free Software Foundation.
-  
-  ********************************************
-  Coppermine version: 1.4.24
-  $HeadURL: https://coppermine.svn.sourceforge.net/svnroot/coppermine/trunk/cpg1.4.x/include/makers/sanyo.php $
-  $Revision: 5969 $
-  $Author: gaugau $
-  $Date: 2009-05-21 22:03:33 +0200 (Do, 21 Mai 2009) $
-**********************************************/
-
-/*
-
-        Exifer
-
-        Extracts EXIF information from digital photos.
-
-
-
-        Copyright  2003 Jake Olefsky
-
-        http://www.offsky.com/software/exif/index.php
-
-        jake@olefsky.com
-
-
-
-        Please see exif.php for the complete information about this software.
-
-
-
-        ------------
-
-
-
-        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 
-
-
-
-        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. http://www.gnu.org/copyleft/gpl.html
-
-*/
-
-//=================
-
-// Looks up the name of the tag for the MakerNote (Depends on Manufacturer)
-
-//====================================================================
-
-function lookup_Sanyo_tag($tag) {
-
-
-
-        switch($tag) {
-
-                case "0200": $tag = "SpecialMode";break;
-
-                case "0201": $tag = "Quality";break;
-
-                case "0202": $tag = "Macro";break;
-
-                case "0203": $tag = "Unknown";break;
-
-                case "0204": $tag = "DigiZoom";break;
-
-                case "0f00": $tag = "DataDump";break;
-
-                default: $tag = "unknown:".$tag;break;
-
-        }
-
-
-
-        return $tag;
-
-}
-
-
-
-//=================
-
-// Formats Data for the data type
-
-//====================================================================
-
-function formatSanyoData($type,$tag,$intel,$data) {
-
-
-
-        if($type=="ASCII") {
-
-
-
-
-
-        } else if($type=="URATIONAL" || $type=="SRATIONAL") {
-
-                $data = bin2hex($data);
-
-                if($intel==1) $data = intel2Moto($data);
-
-                $top = hexdec(substr($data,8,8));
-
-                $bottom = hexdec(substr($data,0,8));
-
-                if($bottom!=0) $data=$top/$bottom;
-
-                else if($top==0) $data = 0;
-
-                else $data=$top."/".$bottom;
-
-
-
-
-
-        } else if($type=="USHORT" || $type=="SSHORT" || $type=="ULONG" || $type=="SLONG" || $type=="FLOAT" || $type=="DOUBLE") {
-
-                $data = bin2hex($data);
-
-                if($intel==1) $data = intel2Moto($data);
-
-                $data=hexdec($data);
-
-
-
-                if($tag=="0200") { //SpecialMode
-
-                        if($data == 0) $data = "Normal";
-
-                        else $data = "Unknown: ".$data;
-
-                }
-
-                if($tag=="0201") { //Quality
-
-                        if($data == 2) $data = "High";
-
-                        else $data = "Unknown: ".$data;
-
-                }
-
-                if($tag=="0202") { //Macro
-
-                        if($data == 0) $data = "Normal";
-
-                        else $data = "Unknown: ".$data;
-
-                }
-
-        } else if($type=="UNDEFINED") {
-
-
-
-
-
-
-
-        } else {
-
-                $data = bin2hex($data);
-
-                if($intel==1) $data = intel2Moto($data);
-
-        }
-
-
-
-        return $data;
-
-}
-
-
-
-
-
-
-
-//=================
-
-// Sanyo Special data section
-
-//====================================================================
-
-function parseSanyo($block,&$result,$seek, $globalOffset) {
-
-
-
-        if($result['Endien']=="Intel") $intel=1;
-
-        else $intel=0;
-
-
-
-        $model = $result['IFD0']['Model'];
-
-
-
-        $place=8; //current place
-
-        $offset=8;
-
-
-
-                //Get number of tags (2 bytes)
-
-        $num = bin2hex(substr($block,$place,2));$place+=2;
-
-        if($intel==1) $num = intel2Moto($num);
-
-        $result['SubIFD']['MakerNote']['MakerNoteNumTags'] = hexdec($num);
-
-
-
-        //loop thru all tags  Each field is 12 bytes
-
-        for($i=0;$i<hexdec($num);$i++) {
-
-
-
-                        //2 byte tag
-
-                $tag = bin2hex(substr($block,$place,2));$place+=2;
-
-                if($intel==1) $tag = intel2Moto($tag);
-
-                $tag_name = lookup_Sanyo_tag($tag);
-
-
-
-                        //2 byte type
-
-                $type = bin2hex(substr($block,$place,2));$place+=2;
-
-                if($intel==1) $type = intel2Moto($type);
-
-                lookup_type($type,$size);
-
-
-
-                        //4 byte count of number of data units
-
-                $count = bin2hex(substr($block,$place,4));$place+=4;
-
-                if($intel==1) $count = intel2Moto($count);
-
-                $bytesofdata = $size*hexdec($count);
-
-
-
-                        //4 byte value of data or pointer to data
-
-                $value = substr($block,$place,4);$place+=4;
-
-
-
-
-
-                if($bytesofdata<=4) {
-
-                        $data = $value;
-
-                } else {
-
-                        $value = bin2hex($value);
-
-                        if($intel==1) $value = intel2Moto($value);
-
-                        $v = fseek($seek,$globalOffset+hexdec($value));  //offsets are from TIFF header which is 12 bytes from the start of the file
-
-                        if($v==0) {
-
-                                $data = fread($seek, $bytesofdata);
-
-                        } else if($v==-1) {
-
-                                $result['Errors'] = $result['Errors']++;
-
-                        }
-
-                }
-
-                $formated_data = formatSanyoData($type,$tag,$intel,$data);
-
-
-
-                if($result['VerboseOutput']==1) {
-
-                        $result['SubIFD']['MakerNote'][$tag_name] = $formated_data;
-
-                        if($type=="URATIONAL" || $type=="SRATIONAL" || $type=="USHORT" || $type=="SSHORT" || $type=="ULONG" || $type=="SLONG" || $type=="FLOAT" || $type=="DOUBLE") {
-
-                                $data = bin2hex($data);
-
-                                if($intel==1) $data = intel2Moto($data);
-
-                        }
-
-                        $result['SubIFD']['MakerNote'][$tag_name."_Verbose"]['RawData'] = $data;
-
-                        $result['SubIFD']['MakerNote'][$tag_name."_Verbose"]['Type'] = $type;
-
-                        $result['SubIFD']['MakerNote'][$tag_name."_Verbose"]['Bytes'] = $bytesofdata;
-
-                } else {
-
-                        $result['SubIFD']['MakerNote'][$tag_name] = $formated_data;
-
-                }
-
-        }
-
-}
-
-
-
-
-
+<?php
+/*************************
+  Coppermine Photo Gallery
+  ************************
+  Copyright (c) 2003-2009 Coppermine Dev Team
+  v1.1 originally written by Gregory DEMAR
+
+  This program is free software; you can redistribute it and/or modify
+  it under the terms of the GNU General Public License version 3
+  as published by the Free Software Foundation.
+  
+  ********************************************
+  Coppermine version: 1.4.25
+  $HeadURL: https://coppermine.svn.sourceforge.net/svnroot/coppermine/trunk/cpg1.4.x/include/makers/sanyo.php $
+  $Revision: 5997 $
+  $Author: gaugau $
+  $Date: 2009-05-26 08:43:24 +0200 (Di, 26 Mai 2009) $
+**********************************************/
+
+/*
+
+        Exifer
+
+        Extracts EXIF information from digital photos.
+
+
+
+        Copyright  2003 Jake Olefsky
+
+        http://www.offsky.com/software/exif/index.php
+
+        jake@olefsky.com
+
+
+
+        Please see exif.php for the complete information about this software.
+
+
+
+        ------------
+
+
+
+        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 
+
+
+
+        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. http://www.gnu.org/copyleft/gpl.html
+
+*/
+
+//=================
+
+// Looks up the name of the tag for the MakerNote (Depends on Manufacturer)
+
+//====================================================================
+
+function lookup_Sanyo_tag($tag) {
+
+
+
+        switch($tag) {
+
+                case "0200": $tag = "SpecialMode";break;
+
+                case "0201": $tag = "Quality";break;
+
+                case "0202": $tag = "Macro";break;
+
+                case "0203": $tag = "Unknown";break;
+
+                case "0204": $tag = "DigiZoom";break;
+
+                case "0f00": $tag = "DataDump";break;
+
+                default: $tag = "unknown:".$tag;break;
+
+        }
+
+
+
+        return $tag;
+
+}
+
+
+
+//=================
+
+// Formats Data for the data type
+
+//====================================================================
+
+function formatSanyoData($type,$tag,$intel,$data) {
+
+
+
+        if($type=="ASCII") {
+
+
+
+
+
+        } else if($type=="URATIONAL" || $type=="SRATIONAL") {
+
+                $data = bin2hex($data);
+
+                if($intel==1) $data = intel2Moto($data);
+
+                $top = hexdec(substr($data,8,8));
+
+                $bottom = hexdec(substr($data,0,8));
+
+                if($bottom!=0) $data=$top/$bottom;
+
+                else if($top==0) $data = 0;
+
+                else $data=$top."/".$bottom;
+
+
+
+
+
+        } else if($type=="USHORT" || $type=="SSHORT" || $type=="ULONG" || $type=="SLONG" || $type=="FLOAT" || $type=="DOUBLE") {
+
+                $data = bin2hex($data);
+
+                if($intel==1) $data = intel2Moto($data);
+
+                $data=hexdec($data);
+
+
+
+                if($tag=="0200") { //SpecialMode
+
+                        if($data == 0) $data = "Normal";
+
+                        else $data = "Unknown: ".$data;
+
+                }
+
+                if($tag=="0201") { //Quality
+
+                        if($data == 2) $data = "High";
+
+                        else $data = "Unknown: ".$data;
+
+                }
+
+                if($tag=="0202") { //Macro
+
+                        if($data == 0) $data = "Normal";
+
+                        else $data = "Unknown: ".$data;
+
+                }
+
+        } else if($type=="UNDEFINED") {
+
+
+
+
+
+
+
+        } else {
+
+                $data = bin2hex($data);
+
+                if($intel==1) $data = intel2Moto($data);
+
+        }
+
+
+
+        return $data;
+
+}
+
+
+
+
+
+
+
+//=================
+
+// Sanyo Special data section
+
+//====================================================================
+
+function parseSanyo($block,&$result,$seek, $globalOffset) {
+
+
+
+        if($result['Endien']=="Intel") $intel=1;
+
+        else $intel=0;
+
+
+
+        $model = $result['IFD0']['Model'];
+
+
+
+        $place=8; //current place
+
+        $offset=8;
+
+
+
+                //Get number of tags (2 bytes)
+
+        $num = bin2hex(substr($block,$place,2));$place+=2;
+
+        if($intel==1) $num = intel2Moto($num);
+
+        $result['SubIFD']['MakerNote']['MakerNoteNumTags'] = hexdec($num);
+
+
+
+        //loop thru all tags  Each field is 12 bytes
+
+        for($i=0;$i<hexdec($num);$i++) {
+
+
+
+                        //2 byte tag
+
+                $tag = bin2hex(substr($block,$place,2));$place+=2;
+
+                if($intel==1) $tag = intel2Moto($tag);
+
+                $tag_name = lookup_Sanyo_tag($tag);
+
+
+
+                        //2 byte type
+
+                $type = bin2hex(substr($block,$place,2));$place+=2;
+
+                if($intel==1) $type = intel2Moto($type);
+
+                lookup_type($type,$size);
+
+
+
+                        //4 byte count of number of data units
+
+                $count = bin2hex(substr($block,$place,4));$place+=4;
+
+                if($intel==1) $count = intel2Moto($count);
+
+                $bytesofdata = $size*hexdec($count);
+
+
+
+                        //4 byte value of data or pointer to data
+
+                $value = substr($block,$place,4);$place+=4;
+
+
+
+
+
+                if($bytesofdata<=4) {
+
+                        $data = $value;
+
+                } else {
+
+                        $value = bin2hex($value);
+
+                        if($intel==1) $value = intel2Moto($value);
+
+                        $v = fseek($seek,$globalOffset+hexdec($value));  //offsets are from TIFF header which is 12 bytes from the start of the file
+
+                        if($v==0) {
+
+                                $data = fread($seek, $bytesofdata);
+
+                        } else if($v==-1) {
+
+                                $result['Errors'] = $result['Errors']++;
+
+                        }
+
+                }
+
+                $formated_data = formatSanyoData($type,$tag,$intel,$data);
+
+
+
+                if($result['VerboseOutput']==1) {
+
+                        $result['SubIFD']['MakerNote'][$tag_name] = $formated_data;
+
+                        if($type=="URATIONAL" || $type=="SRATIONAL" || $type=="USHORT" || $type=="SSHORT" || $type=="ULONG" || $type=="SLONG" || $type=="FLOAT" || $type=="DOUBLE") {
+
+                                $data = bin2hex($data);
+
+                                if($intel==1) $data = intel2Moto($data);
+
+                        }
+
+                        $result['SubIFD']['MakerNote'][$tag_name."_Verbose"]['RawData'] = $data;
+
+                        $result['SubIFD']['MakerNote'][$tag_name."_Verbose"]['Type'] = $type;
+
+                        $result['SubIFD']['MakerNote'][$tag_name."_Verbose"]['Bytes'] = $bytesofdata;
+
+                } else {
+
+                        $result['SubIFD']['MakerNote'][$tag_name] = $formated_data;
+
+                }
+
+        }
+
+}
+
+
+
+
+
 ?>
\ No newline at end of file
diff -x .svn -aruN 1.4.24.src/include/mb.inc.php 1.4.25.src/include/mb.inc.php
--- 1.4.24.src/include/mb.inc.php	2009-05-21 15:03:09.000000000 -0500
+++ 1.4.25.src/include/mb.inc.php	2009-05-26 11:25:42.000000000 -0500
@@ -1,163 +1,163 @@
-<?php
-/*************************
-  Coppermine Photo Gallery
-  ************************
-  Copyright (c) 2003-2009 Coppermine Dev Team
-  v1.1 originally written by Gregory DEMAR
-
-  This program is free software; you can redistribute it and/or modify
-  it under the terms of the GNU General Public License version 3
-  as published by the Free Software Foundation.
-  
-  ********************************************
-  Coppermine version: 1.4.24
-  $HeadURL: https://coppermine.svn.sourceforge.net/svnroot/coppermine/trunk/cpg1.4.x/include/mb.inc.php $
-  $Revision: 5969 $
-  $Author: gaugau $
-  $Date: 2009-05-21 22:03:33 +0200 (Do, 21 Mai 2009) $
-**********************************************/
-/*
-	MBFS - MultiByte Functions Simulator
-	Functions that simulate the mb_*() extension functionality
-	NOTE: only Unicode possible with these
-
-	@author DJ Maze
-	@copyright 2005 http://moocms.com
-*/
-
-global $mb_uppercase, $mb_lowercase;
-
-# PHP 4 >= 4.0.6, PHP 5
-if (!function_exists('mb_strlen')) {
-
-	function mb_strlen($str) {
-		global $mb_utf8_regex;
-		return preg_match_all("#$mb_utf8_regex".'|[\x00-\x7F]#', $str, $dummy);
-	}
-
-	function mb_substr($str, $start, $end=null) {
-		global $mb_utf8_regex;
-		preg_match_all("#$mb_utf8_regex".'|[\x00-\x7F]#', $str, $str);
-		$str = empty($end) ? array_slice($str[0], $start) : array_slice($str[0], $start, $end);
-		return implode('', $str);
-	}
-
-}
-
-# PHP 4 >= 4.3.0, PHP 5
-function mb_strtolower($str) {
-	global $mb_uppercase, $mb_lowercase;
-	return str_replace($mb_uppercase, $mb_lowercase, $str);
-}
-
-function mb_strtoupper($str) {
-	global $mb_uppercase, $mb_lowercase;
-	return str_replace($mb_lowercase, $mb_uppercase, $str);
-}
-
-$mb_uppercase = array(
-	'A','B','C','D','E','F','G','H','I','J','K','L','M','N','O','P','Q','R','S','T','U','V','W','X','Y','Z',
-	'Μ',
-	'À','Á','Â','Ã','Ä','Å','Æ','Ç','È','É','Ê','Ë','Ì','Í','Î','Ï','Ð','Ñ','Ò','Ó','Ô','Õ','Ö','Ø','Ù','Ú','Û','Ü','Ý','Þ','Ÿ','Ā','Ă','Ą','Ć','Ĉ','Ċ','Č','Ď','Đ','Ē','Ĕ','Ė','Ę','Ě','Ĝ','Ğ','Ġ','Ģ','Ĥ','Ħ','Ĩ','Ī','Ĭ','Į','I','Ĳ','Ĵ','Ķ',
-	'Ĺ','Ļ','Ľ','Ŀ','Ł','Ń','Ņ','Ň',
-	'Ŋ','Ō','Ŏ','Ő','Œ','Ŕ','Ŗ','Ř','Ś','Ŝ','Ş','Š','Ţ','Ť','Ŧ','Ũ','Ū','Ŭ','Ů','Ű','Ų','Ŵ','Ŷ','Ź','Ż','Ž','S',
-	'Ƃ','Ƅ','Ƈ','Ƌ',
-	'Ƒ','Ƕ','Ƙ','Ƚ',
-	'Ƞ','Ơ','Ƣ','Ƥ','Ƨ',
-	'Ƭ','Ư','Ƴ','Ƶ','Ƹ',
-	'Ƽ',
-	'Ƿ','ǅ','ǈ','ǋ','Ǎ','Ǐ','Ǒ','Ǔ','Ǖ','Ǘ','Ǚ','Ǜ','Ǝ','Ǟ','Ǡ','Ǣ','Ǥ','Ǧ','Ǩ','Ǫ','Ǭ','Ǯ',
-	'ǲ','Ǵ','Ǹ','Ǻ','Ǽ','Ǿ','Ȁ','Ȃ','Ȅ','Ȇ','Ȉ','Ȋ','Ȍ','Ȏ','Ȑ','Ȓ','Ȕ','Ȗ','Ș','Ț','Ȝ','Ȟ',
-	'Ȣ','Ȥ','Ȧ','Ȩ','Ȫ','Ȭ','Ȯ','Ȱ','Ȳ',
-	'Ȼ',
-	'Ɓ','Ɔ',
-	'Ɖ','Ɗ',
-	'Ə',
-	'Ɛ',
-	'Ɠ',
-	'Ɣ',
-	'Ɨ','Ɩ',
-	'Ɯ',
-	'Ɲ',
-	'Ɵ',
-	'Ʀ',
-	'Ʃ',
-	'Ʈ',
-	'Ʊ','Ʋ',
-	'Ʒ',
-	'Ɂ',
-	'Ά','Έ','Ή','Ί',
-	'Α','Β','Γ','Δ','Ε','Ζ','Η','Θ','Ι','Κ','Λ','Μ','Ν','Ξ','Ο','Π','Ρ','Σ','Σ','Τ','Υ','Φ','Χ','Ψ','Ω','Ϊ','Ϋ','Ό','Ύ','Ώ','Β','Θ','Φ','Π',
-	'Ϙ','Ϛ','Ϝ','Ϟ','Ϡ','Ϣ','Ϥ','Ϧ','Ϩ','Ϫ','Ϭ','Ϯ','Κ','Ρ','Ϲ',
-	'Ε','Ϸ','Ϻ',
-	'А','Б','В','Г','Д','Е','Ж','З','И','Й','К','Л','М','Н','О','П','Р','С','Т','У','Ф','Х','Ц','Ч','Ш','Щ','Ъ','Ы','Ь','Э','Ю','Я','Ѐ','Ё','Ђ','Ѓ','Є','Ѕ','І','Ї','Ј','Љ','Њ','Ћ','Ќ','Ѝ','Ў','Џ','Ѡ','Ѣ','Ѥ','Ѧ','Ѩ','Ѫ','Ѭ','Ѯ','Ѱ','Ѳ','Ѵ','Ѷ','Ѹ','Ѻ','Ѽ','Ѿ','Ҁ','Ҋ','Ҍ','Ҏ','Ґ','Ғ','Ҕ','Җ','Ҙ','Қ','Ҝ','Ҟ','Ҡ','Ң','Ҥ','Ҧ','Ҩ','Ҫ','Ҭ','Ү','Ұ','Ҳ','Ҵ','Ҷ','Ҹ','Һ','Ҽ','Ҿ','Ӂ','Ӄ','Ӆ','Ӈ','Ӊ','Ӌ','Ӎ','Ӑ','Ӓ','Ӕ','Ӗ','Ә','Ӛ','Ӝ','Ӟ','Ӡ','Ӣ','Ӥ','Ӧ','Ө','Ӫ','Ӭ','Ӯ','Ӱ','Ӳ','Ӵ','Ӷ','Ӹ','Ԁ','Ԃ','Ԅ','Ԇ','Ԉ','Ԋ','Ԍ','Ԏ','Ա','Բ','Գ','Դ','Ե','Զ','Է','Ը','Թ','Ժ','Ի','Լ','Խ','Ծ','Կ','Հ','Ձ','Ղ','Ճ','Մ','Յ','Ն','Շ','Ո','Չ','Պ','Ջ','Ռ','Ս','Վ','Տ','Ր','Ց','Ւ','Փ','Ք','Օ','Ֆ',
-	'Ḁ','Ḃ','Ḅ','Ḇ','Ḉ','Ḋ','Ḍ','Ḏ','Ḑ','Ḓ','Ḕ','Ḗ','Ḙ','Ḛ','Ḝ','Ḟ','Ḡ','Ḣ','Ḥ','Ḧ','Ḩ','Ḫ','Ḭ','Ḯ','Ḱ','Ḳ','Ḵ','Ḷ','Ḹ','Ḻ','Ḽ','Ḿ','Ṁ','Ṃ','Ṅ','Ṇ','Ṉ','Ṋ','Ṍ','Ṏ','Ṑ','Ṓ','Ṕ','Ṗ','Ṙ','Ṛ','Ṝ','Ṟ','Ṡ','Ṣ','Ṥ','Ṧ','Ṩ','Ṫ','Ṭ','Ṯ','Ṱ','Ṳ','Ṵ','Ṷ','Ṹ','Ṻ','Ṽ','Ṿ','Ẁ','Ẃ','Ẅ','Ẇ','Ẉ','Ẋ','Ẍ','Ẏ','Ẑ','Ẓ','Ẕ',
-	'Ṡ','Ạ','Ả','Ấ','Ầ','Ẩ','Ẫ','Ậ','Ắ','Ằ','Ẳ','Ẵ','Ặ','Ẹ','Ẻ','Ẽ','Ế','Ề','Ể','Ễ','Ệ','Ỉ','Ị','Ọ','Ỏ','Ố','Ồ','Ổ','Ỗ','Ộ','Ớ','Ờ','Ở','Ỡ','Ợ','Ụ','Ủ','Ứ','Ừ','Ử','Ữ','Ự','Ỳ','Ỵ','Ỷ','Ỹ','Ἀ','Ἁ','Ἂ','Ἃ','Ἄ','Ἅ','Ἆ','Ἇ','Ἐ','Ἑ','Ἒ','Ἓ','Ἔ','Ἕ','Ἠ','Ἡ','Ἢ','Ἣ','Ἤ','Ἥ','Ἦ','Ἧ','Ἰ','Ἱ','Ἲ','Ἳ','Ἴ','Ἵ','Ἶ','Ἷ','Ὀ','Ὁ','Ὂ','Ὃ','Ὄ','Ὅ',
-	'Ὑ',
-	'Ὓ',
-	'Ὕ',
-	'Ὗ','Ὠ','Ὡ','Ὢ','Ὣ','Ὤ','Ὥ','Ὦ','Ὧ','Ὰ','Ά','Ὲ','Έ','Ὴ','Ή','Ὶ','Ί','Ὸ','Ό','Ὺ','Ύ','Ὼ','Ώ','ᾈ','ᾉ','ᾊ','ᾋ','ᾌ','ᾍ','ᾎ','ᾏ','ᾘ','ᾙ','ᾚ','ᾛ','ᾜ','ᾝ','ᾞ','ᾟ','ᾨ','ᾩ','ᾪ','ᾫ','ᾬ','ᾭ','ᾮ','ᾯ','Ᾰ','Ᾱ',
-	'ᾼ',
-	'Ι',
-	'ῌ',
-	'Ῐ','Ῑ',
-	'Ῠ','Ῡ',
-	'Ῥ',
-	'ῼ',
-	'Ⰰ','Ⰱ','Ⰲ','Ⰳ','Ⰴ','Ⰵ','Ⰶ','Ⰷ','Ⰸ','Ⰹ','Ⰺ','Ⰻ','Ⰼ','Ⰽ','Ⰾ','Ⰿ','Ⱀ','Ⱁ','Ⱂ','Ⱃ','Ⱄ','Ⱅ','Ⱆ','Ⱇ','Ⱈ','Ⱉ','Ⱊ','Ⱋ','Ⱌ','Ⱍ','Ⱎ','Ⱏ','Ⱐ','Ⱑ','Ⱒ','Ⱓ','Ⱔ','Ⱕ','Ⱖ','Ⱗ','Ⱘ','Ⱙ','Ⱚ','Ⱛ','Ⱜ','Ⱝ','Ⱞ','Ⲁ','Ⲃ','Ⲅ','Ⲇ','Ⲉ','Ⲋ','Ⲍ','Ⲏ','Ⲑ','Ⲓ','Ⲕ','Ⲗ','Ⲙ','Ⲛ','Ⲝ','Ⲟ','Ⲡ','Ⲣ','Ⲥ','Ⲧ','Ⲩ','Ⲫ','Ⲭ','Ⲯ','Ⲱ','Ⲳ','Ⲵ','Ⲷ','Ⲹ','Ⲻ','Ⲽ','Ⲿ','Ⳁ','Ⳃ','Ⳅ','Ⳇ','Ⳉ','Ⳋ','Ⳍ','Ⳏ','Ⳑ','Ⳓ','Ⳕ','Ⳗ','Ⳙ','Ⳛ','Ⳝ','Ⳟ','Ⳡ','Ⳣ',
-	'Ⴀ','Ⴁ','Ⴂ','Ⴃ','Ⴄ','Ⴅ','Ⴆ','Ⴇ','Ⴈ','Ⴉ','Ⴊ','Ⴋ','Ⴌ','Ⴍ','Ⴎ','Ⴏ','Ⴐ','Ⴑ','Ⴒ','Ⴓ','Ⴔ','Ⴕ','Ⴖ','Ⴗ','Ⴘ','Ⴙ','Ⴚ','Ⴛ','Ⴜ','Ⴝ','Ⴞ','Ⴟ','Ⴠ','Ⴡ','Ⴢ','Ⴣ','Ⴤ','Ⴥ',
-	'Ａ','Ｂ','Ｃ','Ｄ','Ｅ','Ｆ','Ｇ','Ｈ','Ｉ','Ｊ','Ｋ','Ｌ','Ｍ','Ｎ','Ｏ','Ｐ','Ｑ','Ｒ','Ｓ','Ｔ','Ｕ','Ｖ','Ｗ','Ｘ','Ｙ','Ｚ',
-);
-$mb_lowercase = array(
-	'a','b','c','d','e','f','g','h','i','j','k','l','m','n','o','p','q','r','s','t','u','v','w','x','y','z',
-	'µ',
-	'à','á','â','ã','ä','å','æ','ç','è','é','ê','ë','ì','í','î','ï','ð','ñ','ò','ó','ô','õ','ö','ø','ù','ú','û','ü','ý','þ','ÿ','ā','ă','ą','ć','ĉ','ċ','č','ď','đ','ē','ĕ','ė','ę','ě','ĝ','ğ','ġ','ģ','ĥ','ħ','ĩ','ī','ĭ','į','ı','ĳ','ĵ','ķ',
-	'ĺ','ļ','ľ','ŀ','ł','ń','ņ','ň',
-	'ŋ','ō','ŏ','ő','œ','ŕ','ŗ','ř','ś','ŝ','ş','š','ţ','ť','ŧ','ũ','ū','ŭ','ů','ű','ų','ŵ','ŷ','ź','ż','ž','ſ',
-	'ƃ','ƅ','ƈ','ƌ',
-	'ƒ','ƕ','ƙ','ƚ',
-	'ƞ','ơ','ƣ','ƥ','ƨ',
-	'ƭ','ư','ƴ','ƶ','ƹ',
-	'ƽ',
-	'ƿ','ǆ','ǉ','ǌ','ǎ','ǐ','ǒ','ǔ','ǖ','ǘ','ǚ','ǜ','ǝ','ǟ','ǡ','ǣ','ǥ','ǧ','ǩ','ǫ','ǭ','ǯ',
-	'ǳ','ǵ','ǹ','ǻ','ǽ','ǿ','ȁ','ȃ','ȅ','ȇ','ȉ','ȋ','ȍ','ȏ','ȑ','ȓ','ȕ','ȗ','ș','ț','ȝ','ȟ',
-	'ȣ','ȥ','ȧ','ȩ','ȫ','ȭ','ȯ','ȱ','ȳ',
-	'ȼ',
-	'ɓ','ɔ',
-	'ɖ','ɗ',
-	'ə',
-	'ɛ',
-	'ɠ',
-	'ɣ',
-	'ɨ','ɩ',
-	'ɯ',
-	'ɲ',
-	'ɵ',
-	'ʀ',
-	'ʃ',
-	'ʈ',
-	'ʊ','ʋ',
-	'ʒ',
-	'ʔ',
-	'ά','έ','ή','ί',
-	'α','β','γ','δ','ε','ζ','η','θ','ι','κ','λ','μ','ν','ξ','ο','π','ρ','ς','σ','τ','υ','φ','χ','ψ','ω','ϊ','ϋ','ό','ύ','ώ','ϐ','ϑ','ϕ','ϖ',
-	'ϙ','ϛ','ϝ','ϟ','ϡ','ϣ','ϥ','ϧ','ϩ','ϫ','ϭ','ϯ','ϰ','ϱ','ϲ',
-	'ϵ','ϸ','ϻ',
-	'а','б','в','г','д','е','ж','з','и','й','к','л','м','н','о','п','р','с','т','у','ф','х','ц','ч','ш','щ','ъ','ы','ь','э','ю','я','ѐ','ё','ђ','ѓ','є','ѕ','і','ї','ј','љ','њ','ћ','ќ','ѝ','ў','џ','ѡ','ѣ','ѥ','ѧ','ѩ','ѫ','ѭ','ѯ','ѱ','ѳ','ѵ','ѷ','ѹ','ѻ','ѽ','ѿ','ҁ','ҋ','ҍ','ҏ','ґ','ғ','ҕ','җ','ҙ','қ','ҝ','ҟ','ҡ','ң','ҥ','ҧ','ҩ','ҫ','ҭ','ү','ұ','ҳ','ҵ','ҷ','ҹ','һ','ҽ','ҿ','ӂ','ӄ','ӆ','ӈ','ӊ','ӌ','ӎ','ӑ','ӓ','ӕ','ӗ','ә','ӛ','ӝ','ӟ','ӡ','ӣ','ӥ','ӧ','ө','ӫ','ӭ','ӯ','ӱ','ӳ','ӵ','ӷ','ӹ','ԁ','ԃ','ԅ','ԇ','ԉ','ԋ','ԍ','ԏ','ա','բ','գ','դ','ե','զ','է','ը','թ','ժ','ի','լ','խ','ծ','կ','հ','ձ','ղ','ճ','մ','յ','ն','շ','ո','չ','պ','ջ','ռ','ս','վ','տ','ր','ց','ւ','փ','ք','օ','ֆ',
-	'ḁ','ḃ','ḅ','ḇ','ḉ','ḋ','ḍ','ḏ','ḑ','ḓ','ḕ','ḗ','ḙ','ḛ','ḝ','ḟ','ḡ','ḣ','ḥ','ḧ','ḩ','ḫ','ḭ','ḯ','ḱ','ḳ','ḵ','ḷ','ḹ','ḻ','ḽ','ḿ','ṁ','ṃ','ṅ','ṇ','ṉ','ṋ','ṍ','ṏ','ṑ','ṓ','ṕ','ṗ','ṙ','ṛ','ṝ','ṟ','ṡ','ṣ','ṥ','ṧ','ṩ','ṫ','ṭ','ṯ','ṱ','ṳ','ṵ','ṷ','ṹ','ṻ','ṽ','ṿ','ẁ','ẃ','ẅ','ẇ','ẉ','ẋ','ẍ','ẏ','ẑ','ẓ','ẕ',
-	'ẛ','ạ','ả','ấ','ầ','ẩ','ẫ','ậ','ắ','ằ','ẳ','ẵ','ặ','ẹ','ẻ','ẽ','ế','ề','ể','ễ','ệ','ỉ','ị','ọ','ỏ','ố','ồ','ổ','ỗ','ộ','ớ','ờ','ở','ỡ','ợ','ụ','ủ','ứ','ừ','ử','ữ','ự','ỳ','ỵ','ỷ','ỹ','ἀ','ἁ','ἂ','ἃ','ἄ','ἅ','ἆ','ἇ','ἐ','ἑ','ἒ','ἓ','ἔ','ἕ','ἠ','ἡ','ἢ','ἣ','ἤ','ἥ','ἦ','ἧ','ἰ','ἱ','ἲ','ἳ','ἴ','ἵ','ἶ','ἷ','ὀ','ὁ','ὂ','ὃ','ὄ','ὅ',
-	'ὑ',
-	'ὓ',
-	'ὕ',
-	'ὗ','ὠ','ὡ','ὢ','ὣ','ὤ','ὥ','ὦ','ὧ','ὰ','ά','ὲ','έ','ὴ','ή','ὶ','ί','ὸ','ό','ὺ','ύ','ὼ','ώ','ᾀ','ᾁ','ᾂ','ᾃ','ᾄ','ᾅ','ᾆ','ᾇ','ᾐ','ᾑ','ᾒ','ᾓ','ᾔ','ᾕ','ᾖ','ᾗ','ᾠ','ᾡ','ᾢ','ᾣ','ᾤ','ᾥ','ᾦ','ᾧ','ᾰ','ᾱ',
-	'ᾳ',
-	'ι',
-	'ῃ',
-	'ῐ','ῑ',
-	'ῠ','ῡ',
-	'ῥ',
-	'ῳ',
-	'ⰰ','ⰱ','ⰲ','ⰳ','ⰴ','ⰵ','ⰶ','ⰷ','ⰸ','ⰹ','ⰺ','ⰻ','ⰼ','ⰽ','ⰾ','ⰿ','ⱀ','ⱁ','ⱂ','ⱃ','ⱄ','ⱅ','ⱆ','ⱇ','ⱈ','ⱉ','ⱊ','ⱋ','ⱌ','ⱍ','ⱎ','ⱏ','ⱐ','ⱑ','ⱒ','ⱓ','ⱔ','ⱕ','ⱖ','ⱗ','ⱘ','ⱙ','ⱚ','ⱛ','ⱜ','ⱝ','ⱞ','ⲁ','ⲃ','ⲅ','ⲇ','ⲉ','ⲋ','ⲍ','ⲏ','ⲑ','ⲓ','ⲕ','ⲗ','ⲙ','ⲛ','ⲝ','ⲟ','ⲡ','ⲣ','ⲥ','ⲧ','ⲩ','ⲫ','ⲭ','ⲯ','ⲱ','ⲳ','ⲵ','ⲷ','ⲹ','ⲻ','ⲽ','ⲿ','ⳁ','ⳃ','ⳅ','ⳇ','ⳉ','ⳋ','ⳍ','ⳏ','ⳑ','ⳓ','ⳕ','ⳗ','ⳙ','ⳛ','ⳝ','ⳟ','ⳡ','ⳣ',
-	'ⴀ','ⴁ','ⴂ','ⴃ','ⴄ','ⴅ','ⴆ','ⴇ','ⴈ','ⴉ','ⴊ','ⴋ','ⴌ','ⴍ','ⴎ','ⴏ','ⴐ','ⴑ','ⴒ','ⴓ','ⴔ','ⴕ','ⴖ','ⴗ','ⴘ','ⴙ','ⴚ','ⴛ','ⴜ','ⴝ','ⴞ','ⴟ','ⴠ','ⴡ','ⴢ','ⴣ','ⴤ','ⴥ',
-	'ａ','ｂ','ｃ','ｄ','ｅ','ｆ','ｇ','ｈ','ｉ','ｊ','ｋ','ｌ','ｍ','ｎ','ｏ','ｐ','ｑ','ｒ','ｓ','ｔ','ｕ','ｖ','ｗ','ｘ','ｙ','ｚ',
-);
+<?php
+/*************************
+  Coppermine Photo Gallery
+  ************************
+  Copyright (c) 2003-2009 Coppermine Dev Team
+  v1.1 originally written by Gregory DEMAR
+
+  This program is free software; you can redistribute it and/or modify
+  it under the terms of the GNU General Public License version 3
+  as published by the Free Software Foundation.
+  
+  ********************************************
+  Coppermine version: 1.4.25
+  $HeadURL: https://coppermine.svn.sourceforge.net/svnroot/coppermine/trunk/cpg1.4.x/include/mb.inc.php $
+  $Revision: 5997 $
+  $Author: gaugau $
+  $Date: 2009-05-26 08:43:24 +0200 (Di, 26 Mai 2009) $
+**********************************************/
+/*
+	MBFS - MultiByte Functions Simulator
+	Functions that simulate the mb_*() extension functionality
+	NOTE: only Unicode possible with these
+
+	@author DJ Maze
+	@copyright 2005 http://moocms.com
+*/
+
+global $mb_uppercase, $mb_lowercase;
+
+# PHP 4 >= 4.0.6, PHP 5
+if (!function_exists('mb_strlen')) {
+
+	function mb_strlen($str) {
+		global $mb_utf8_regex;
+		return preg_match_all("#$mb_utf8_regex".'|[\x00-\x7F]#', $str, $dummy);
+	}
+
+	function mb_substr($str, $start, $end=null) {
+		global $mb_utf8_regex;
+		preg_match_all("#$mb_utf8_regex".'|[\x00-\x7F]#', $str, $str);
+		$str = empty($end) ? array_slice($str[0], $start) : array_slice($str[0], $start, $end);
+		return implode('', $str);
+	}
+
+}
+
+# PHP 4 >= 4.3.0, PHP 5
+function mb_strtolower($str) {
+	global $mb_uppercase, $mb_lowercase;
+	return str_replace($mb_uppercase, $mb_lowercase, $str);
+}
+
+function mb_strtoupper($str) {
+	global $mb_uppercase, $mb_lowercase;
+	return str_replace($mb_lowercase, $mb_uppercase, $str);
+}
+
+$mb_uppercase = array(
+	'A','B','C','D','E','F','G','H','I','J','K','L','M','N','O','P','Q','R','S','T','U','V','W','X','Y','Z',
+	'Μ',
+	'À','Á','Â','Ã','Ä','Å','Æ','Ç','È','É','Ê','Ë','Ì','Í','Î','Ï','Ð','Ñ','Ò','Ó','Ô','Õ','Ö','Ø','Ù','Ú','Û','Ü','Ý','Þ','Ÿ','Ā','Ă','Ą','Ć','Ĉ','Ċ','Č','Ď','Đ','Ē','Ĕ','Ė','Ę','Ě','Ĝ','Ğ','Ġ','Ģ','Ĥ','Ħ','Ĩ','Ī','Ĭ','Į','I','Ĳ','Ĵ','Ķ',
+	'Ĺ','Ļ','Ľ','Ŀ','Ł','Ń','Ņ','Ň',
+	'Ŋ','Ō','Ŏ','Ő','Œ','Ŕ','Ŗ','Ř','Ś','Ŝ','Ş','Š','Ţ','Ť','Ŧ','Ũ','Ū','Ŭ','Ů','Ű','Ų','Ŵ','Ŷ','Ź','Ż','Ž','S',
+	'Ƃ','Ƅ','Ƈ','Ƌ',
+	'Ƒ','Ƕ','Ƙ','Ƚ',
+	'Ƞ','Ơ','Ƣ','Ƥ','Ƨ',
+	'Ƭ','Ư','Ƴ','Ƶ','Ƹ',
+	'Ƽ',
+	'Ƿ','ǅ','ǈ','ǋ','Ǎ','Ǐ','Ǒ','Ǔ','Ǖ','Ǘ','Ǚ','Ǜ','Ǝ','Ǟ','Ǡ','Ǣ','Ǥ','Ǧ','Ǩ','Ǫ','Ǭ','Ǯ',
+	'ǲ','Ǵ','Ǹ','Ǻ','Ǽ','Ǿ','Ȁ','Ȃ','Ȅ','Ȇ','Ȉ','Ȋ','Ȍ','Ȏ','Ȑ','Ȓ','Ȕ','Ȗ','Ș','Ț','Ȝ','Ȟ',
+	'Ȣ','Ȥ','Ȧ','Ȩ','Ȫ','Ȭ','Ȯ','Ȱ','Ȳ',
+	'Ȼ',
+	'Ɓ','Ɔ',
+	'Ɖ','Ɗ',
+	'Ə',
+	'Ɛ',
+	'Ɠ',
+	'Ɣ',
+	'Ɨ','Ɩ',
+	'Ɯ',
+	'Ɲ',
+	'Ɵ',
+	'Ʀ',
+	'Ʃ',
+	'Ʈ',
+	'Ʊ','Ʋ',
+	'Ʒ',
+	'Ɂ',
+	'Ά','Έ','Ή','Ί',
+	'Α','Β','Γ','Δ','Ε','Ζ','Η','Θ','Ι','Κ','Λ','Μ','Ν','Ξ','Ο','Π','Ρ','Σ','Σ','Τ','Υ','Φ','Χ','Ψ','Ω','Ϊ','Ϋ','Ό','Ύ','Ώ','Β','Θ','Φ','Π',
+	'Ϙ','Ϛ','Ϝ','Ϟ','Ϡ','Ϣ','Ϥ','Ϧ','Ϩ','Ϫ','Ϭ','Ϯ','Κ','Ρ','Ϲ',
+	'Ε','Ϸ','Ϻ',
+	'А','Б','В','Г','Д','Е','Ж','З','И','Й','К','Л','М','Н','О','П','Р','С','Т','У','Ф','Х','Ц','Ч','Ш','Щ','Ъ','Ы','Ь','Э','Ю','Я','Ѐ','Ё','Ђ','Ѓ','Є','Ѕ','І','Ї','Ј','Љ','Њ','Ћ','Ќ','Ѝ','Ў','Џ','Ѡ','Ѣ','Ѥ','Ѧ','Ѩ','Ѫ','Ѭ','Ѯ','Ѱ','Ѳ','Ѵ','Ѷ','Ѹ','Ѻ','Ѽ','Ѿ','Ҁ','Ҋ','Ҍ','Ҏ','Ґ','Ғ','Ҕ','Җ','Ҙ','Қ','Ҝ','Ҟ','Ҡ','Ң','Ҥ','Ҧ','Ҩ','Ҫ','Ҭ','Ү','Ұ','Ҳ','Ҵ','Ҷ','Ҹ','Һ','Ҽ','Ҿ','Ӂ','Ӄ','Ӆ','Ӈ','Ӊ','Ӌ','Ӎ','Ӑ','Ӓ','Ӕ','Ӗ','Ә','Ӛ','Ӝ','Ӟ','Ӡ','Ӣ','Ӥ','Ӧ','Ө','Ӫ','Ӭ','Ӯ','Ӱ','Ӳ','Ӵ','Ӷ','Ӹ','Ԁ','Ԃ','Ԅ','Ԇ','Ԉ','Ԋ','Ԍ','Ԏ','Ա','Բ','Գ','Դ','Ե','Զ','Է','Ը','Թ','Ժ','Ի','Լ','Խ','Ծ','Կ','Հ','Ձ','Ղ','Ճ','Մ','Յ','Ն','Շ','Ո','Չ','Պ','Ջ','Ռ','Ս','Վ','Տ','Ր','Ց','Ւ','Փ','Ք','Օ','Ֆ',
+	'Ḁ','Ḃ','Ḅ','Ḇ','Ḉ','Ḋ','Ḍ','Ḏ','Ḑ','Ḓ','Ḕ','Ḗ','Ḙ','Ḛ','Ḝ','Ḟ','Ḡ','Ḣ','Ḥ','Ḧ','Ḩ','Ḫ','Ḭ','Ḯ','Ḱ','Ḳ','Ḵ','Ḷ','Ḹ','Ḻ','Ḽ','Ḿ','Ṁ','Ṃ','Ṅ','Ṇ','Ṉ','Ṋ','Ṍ','Ṏ','Ṑ','Ṓ','Ṕ','Ṗ','Ṙ','Ṛ','Ṝ','Ṟ','Ṡ','Ṣ','Ṥ','Ṧ','Ṩ','Ṫ','Ṭ','Ṯ','Ṱ','Ṳ','Ṵ','Ṷ','Ṹ','Ṻ','Ṽ','Ṿ','Ẁ','Ẃ','Ẅ','Ẇ','Ẉ','Ẋ','Ẍ','Ẏ','Ẑ','Ẓ','Ẕ',
+	'Ṡ','Ạ','Ả','Ấ','Ầ','Ẩ','Ẫ','Ậ','Ắ','Ằ','Ẳ','Ẵ','Ặ','Ẹ','Ẻ','Ẽ','Ế','Ề','Ể','Ễ','Ệ','Ỉ','Ị','Ọ','Ỏ','Ố','Ồ','Ổ','Ỗ','Ộ','Ớ','Ờ','Ở','Ỡ','Ợ','Ụ','Ủ','Ứ','Ừ','Ử','Ữ','Ự','Ỳ','Ỵ','Ỷ','Ỹ','Ἀ','Ἁ','Ἂ','Ἃ','Ἄ','Ἅ','Ἆ','Ἇ','Ἐ','Ἑ','Ἒ','Ἓ','Ἔ','Ἕ','Ἠ','Ἡ','Ἢ','Ἣ','Ἤ','Ἥ','Ἦ','Ἧ','Ἰ','Ἱ','Ἲ','Ἳ','Ἴ','Ἵ','Ἶ','Ἷ','Ὀ','Ὁ','Ὂ','Ὃ','Ὄ','Ὅ',
+	'Ὑ',
+	'Ὓ',
+	'Ὕ',
+	'Ὗ','Ὠ','Ὡ','Ὢ','Ὣ','Ὤ','Ὥ','Ὦ','Ὧ','Ὰ','Ά','Ὲ','Έ','Ὴ','Ή','Ὶ','Ί','Ὸ','Ό','Ὺ','Ύ','Ὼ','Ώ','ᾈ','ᾉ','ᾊ','ᾋ','ᾌ','ᾍ','ᾎ','ᾏ','ᾘ','ᾙ','ᾚ','ᾛ','ᾜ','ᾝ','ᾞ','ᾟ','ᾨ','ᾩ','ᾪ','ᾫ','ᾬ','ᾭ','ᾮ','ᾯ','Ᾰ','Ᾱ',
+	'ᾼ',
+	'Ι',
+	'ῌ',
+	'Ῐ','Ῑ',
+	'Ῠ','Ῡ',
+	'Ῥ',
+	'ῼ',
+	'Ⰰ','Ⰱ','Ⰲ','Ⰳ','Ⰴ','Ⰵ','Ⰶ','Ⰷ','Ⰸ','Ⰹ','Ⰺ','Ⰻ','Ⰼ','Ⰽ','Ⰾ','Ⰿ','Ⱀ','Ⱁ','Ⱂ','Ⱃ','Ⱄ','Ⱅ','Ⱆ','Ⱇ','Ⱈ','Ⱉ','Ⱊ','Ⱋ','Ⱌ','Ⱍ','Ⱎ','Ⱏ','Ⱐ','Ⱑ','Ⱒ','Ⱓ','Ⱔ','Ⱕ','Ⱖ','Ⱗ','Ⱘ','Ⱙ','Ⱚ','Ⱛ','Ⱜ','Ⱝ','Ⱞ','Ⲁ','Ⲃ','Ⲅ','Ⲇ','Ⲉ','Ⲋ','Ⲍ','Ⲏ','Ⲑ','Ⲓ','Ⲕ','Ⲗ','Ⲙ','Ⲛ','Ⲝ','Ⲟ','Ⲡ','Ⲣ','Ⲥ','Ⲧ','Ⲩ','Ⲫ','Ⲭ','Ⲯ','Ⲱ','Ⲳ','Ⲵ','Ⲷ','Ⲹ','Ⲻ','Ⲽ','Ⲿ','Ⳁ','Ⳃ','Ⳅ','Ⳇ','Ⳉ','Ⳋ','Ⳍ','Ⳏ','Ⳑ','Ⳓ','Ⳕ','Ⳗ','Ⳙ','Ⳛ','Ⳝ','Ⳟ','Ⳡ','Ⳣ',
+	'Ⴀ','Ⴁ','Ⴂ','Ⴃ','Ⴄ','Ⴅ','Ⴆ','Ⴇ','Ⴈ','Ⴉ','Ⴊ','Ⴋ','Ⴌ','Ⴍ','Ⴎ','Ⴏ','Ⴐ','Ⴑ','Ⴒ','Ⴓ','Ⴔ','Ⴕ','Ⴖ','Ⴗ','Ⴘ','Ⴙ','Ⴚ','Ⴛ','Ⴜ','Ⴝ','Ⴞ','Ⴟ','Ⴠ','Ⴡ','Ⴢ','Ⴣ','Ⴤ','Ⴥ',
+	'Ａ','Ｂ','Ｃ','Ｄ','Ｅ','Ｆ','Ｇ','Ｈ','Ｉ','Ｊ','Ｋ','Ｌ','Ｍ','Ｎ','Ｏ','Ｐ','Ｑ','Ｒ','Ｓ','Ｔ','Ｕ','Ｖ','Ｗ','Ｘ','Ｙ','Ｚ',
+);
+$mb_lowercase = array(
+	'a','b','c','d','e','f','g','h','i','j','k','l','m','n','o','p','q','r','s','t','u','v','w','x','y','z',
+	'µ',
+	'à','á','â','ã','ä','å','æ','ç','è','é','ê','ë','ì','í','î','ï','ð','ñ','ò','ó','ô','õ','ö','ø','ù','ú','û','ü','ý','þ','ÿ','ā','ă','ą','ć','ĉ','ċ','č','ď','đ','ē','ĕ','ė','ę','ě','ĝ','ğ','ġ','ģ','ĥ','ħ','ĩ','ī','ĭ','į','ı','ĳ','ĵ','ķ',
+	'ĺ','ļ','ľ','ŀ','ł','ń','ņ','ň',
+	'ŋ','ō','ŏ','ő','œ','ŕ','ŗ','ř','ś','ŝ','ş','š','ţ','ť','ŧ','ũ','ū','ŭ','ů','ű','ų','ŵ','ŷ','ź','ż','ž','ſ',
+	'ƃ','ƅ','ƈ','ƌ',
+	'ƒ','ƕ','ƙ','ƚ',
+	'ƞ','ơ','ƣ','ƥ','ƨ',
+	'ƭ','ư','ƴ','ƶ','ƹ',
+	'ƽ',
+	'ƿ','ǆ','ǉ','ǌ','ǎ','ǐ','ǒ','ǔ','ǖ','ǘ','ǚ','ǜ','ǝ','ǟ','ǡ','ǣ','ǥ','ǧ','ǩ','ǫ','ǭ','ǯ',
+	'ǳ','ǵ','ǹ','ǻ','ǽ','ǿ','ȁ','ȃ','ȅ','ȇ','ȉ','ȋ','ȍ','ȏ','ȑ','ȓ','ȕ','ȗ','ș','ț','ȝ','ȟ',
+	'ȣ','ȥ','ȧ','ȩ','ȫ','ȭ','ȯ','ȱ','ȳ',
+	'ȼ',
+	'ɓ','ɔ',
+	'ɖ','ɗ',
+	'ə',
+	'ɛ',
+	'ɠ',
+	'ɣ',
+	'ɨ','ɩ',
+	'ɯ',
+	'ɲ',
+	'ɵ',
+	'ʀ',
+	'ʃ',
+	'ʈ',
+	'ʊ','ʋ',
+	'ʒ',
+	'ʔ',
+	'ά','έ','ή','ί',
+	'α','β','γ','δ','ε','ζ','η','θ','ι','κ','λ','μ','ν','ξ','ο','π','ρ','ς','σ','τ','υ','φ','χ','ψ','ω','ϊ','ϋ','ό','ύ','ώ','ϐ','ϑ','ϕ','ϖ',
+	'ϙ','ϛ','ϝ','ϟ','ϡ','ϣ','ϥ','ϧ','ϩ','ϫ','ϭ','ϯ','ϰ','ϱ','ϲ',
+	'ϵ','ϸ','ϻ',
+	'а','б','в','г','д','е','ж','з','и','й','к','л','м','н','о','п','р','с','т','у','ф','х','ц','ч','ш','щ','ъ','ы','ь','э','ю','я','ѐ','ё','ђ','ѓ','є','ѕ','і','ї','ј','љ','њ','ћ','ќ','ѝ','ў','џ','ѡ','ѣ','ѥ','ѧ','ѩ','ѫ','ѭ','ѯ','ѱ','ѳ','ѵ','ѷ','ѹ','ѻ','ѽ','ѿ','ҁ','ҋ','ҍ','ҏ','ґ','ғ','ҕ','җ','ҙ','қ','ҝ','ҟ','ҡ','ң','ҥ','ҧ','ҩ','ҫ','ҭ','ү','ұ','ҳ','ҵ','ҷ','ҹ','һ','ҽ','ҿ','ӂ','ӄ','ӆ','ӈ','ӊ','ӌ','ӎ','ӑ','ӓ','ӕ','ӗ','ә','ӛ','ӝ','ӟ','ӡ','ӣ','ӥ','ӧ','ө','ӫ','ӭ','ӯ','ӱ','ӳ','ӵ','ӷ','ӹ','ԁ','ԃ','ԅ','ԇ','ԉ','ԋ','ԍ','ԏ','ա','բ','գ','դ','ե','զ','է','ը','թ','ժ','ի','լ','խ','ծ','կ','հ','ձ','ղ','ճ','մ','յ','ն','շ','ո','չ','պ','ջ','ռ','ս','վ','տ','ր','ց','ւ','փ','ք','օ','ֆ',
+	'ḁ','ḃ','ḅ','ḇ','ḉ','ḋ','ḍ','ḏ','ḑ','ḓ','ḕ','ḗ','ḙ','ḛ','ḝ','ḟ','ḡ','ḣ','ḥ','ḧ','ḩ','ḫ','ḭ','ḯ','ḱ','ḳ','ḵ','ḷ','ḹ','ḻ','ḽ','ḿ','ṁ','ṃ','ṅ','ṇ','ṉ','ṋ','ṍ','ṏ','ṑ','ṓ','ṕ','ṗ','ṙ','ṛ','ṝ','ṟ','ṡ','ṣ','ṥ','ṧ','ṩ','ṫ','ṭ','ṯ','ṱ','ṳ','ṵ','ṷ','ṹ','ṻ','ṽ','ṿ','ẁ','ẃ','ẅ','ẇ','ẉ','ẋ','ẍ','ẏ','ẑ','ẓ','ẕ',
+	'ẛ','ạ','ả','ấ','ầ','ẩ','ẫ','ậ','ắ','ằ','ẳ','ẵ','ặ','ẹ','ẻ','ẽ','ế','ề','ể','ễ','ệ','ỉ','ị','ọ','ỏ','ố','ồ','ổ','ỗ','ộ','ớ','ờ','ở','ỡ','ợ','ụ','ủ','ứ','ừ','ử','ữ','ự','ỳ','ỵ','ỷ','ỹ','ἀ','ἁ','ἂ','ἃ','ἄ','ἅ','ἆ','ἇ','ἐ','ἑ','ἒ','ἓ','ἔ','ἕ','ἠ','ἡ','ἢ','ἣ','ἤ','ἥ','ἦ','ἧ','ἰ','ἱ','ἲ','ἳ','ἴ','ἵ','ἶ','ἷ','ὀ','ὁ','ὂ','ὃ','ὄ','ὅ',
+	'ὑ',
+	'ὓ',
+	'ὕ',
+	'ὗ','ὠ','ὡ','ὢ','ὣ','ὤ','ὥ','ὦ','ὧ','ὰ','ά','ὲ','έ','ὴ','ή','ὶ','ί','ὸ','ό','ὺ','ύ','ὼ','ώ','ᾀ','ᾁ','ᾂ','ᾃ','ᾄ','ᾅ','ᾆ','ᾇ','ᾐ','ᾑ','ᾒ','ᾓ','ᾔ','ᾕ','ᾖ','ᾗ','ᾠ','ᾡ','ᾢ','ᾣ','ᾤ','ᾥ','ᾦ','ᾧ','ᾰ','ᾱ',
+	'ᾳ',
+	'ι',
+	'ῃ',
+	'ῐ','ῑ',
+	'ῠ','ῡ',
+	'ῥ',
+	'ῳ',
+	'ⰰ','ⰱ','ⰲ','ⰳ','ⰴ','ⰵ','ⰶ','ⰷ','ⰸ','ⰹ','ⰺ','ⰻ','ⰼ','ⰽ','ⰾ','ⰿ','ⱀ','ⱁ','ⱂ','ⱃ','ⱄ','ⱅ','ⱆ','ⱇ','ⱈ','ⱉ','ⱊ','ⱋ','ⱌ','ⱍ','ⱎ','ⱏ','ⱐ','ⱑ','ⱒ','ⱓ','ⱔ','ⱕ','ⱖ','ⱗ','ⱘ','ⱙ','ⱚ','ⱛ','ⱜ','ⱝ','ⱞ','ⲁ','ⲃ','ⲅ','ⲇ','ⲉ','ⲋ','ⲍ','ⲏ','ⲑ','ⲓ','ⲕ','ⲗ','ⲙ','ⲛ','ⲝ','ⲟ','ⲡ','ⲣ','ⲥ','ⲧ','ⲩ','ⲫ','ⲭ','ⲯ','ⲱ','ⲳ','ⲵ','ⲷ','ⲹ','ⲻ','ⲽ','ⲿ','ⳁ','ⳃ','ⳅ','ⳇ','ⳉ','ⳋ','ⳍ','ⳏ','ⳑ','ⳓ','ⳕ','ⳗ','ⳙ','ⳛ','ⳝ','ⳟ','ⳡ','ⳣ',
+	'ⴀ','ⴁ','ⴂ','ⴃ','ⴄ','ⴅ','ⴆ','ⴇ','ⴈ','ⴉ','ⴊ','ⴋ','ⴌ','ⴍ','ⴎ','ⴏ','ⴐ','ⴑ','ⴒ','ⴓ','ⴔ','ⴕ','ⴖ','ⴗ','ⴘ','ⴙ','ⴚ','ⴛ','ⴜ','ⴝ','ⴞ','ⴟ','ⴠ','ⴡ','ⴢ','ⴣ','ⴤ','ⴥ',
+	'ａ','ｂ','ｃ','ｄ','ｅ','ｆ','ｇ','ｈ','ｉ','ｊ','ｋ','ｌ','ｍ','ｎ','ｏ','ｐ','ｑ','ｒ','ｓ','ｔ','ｕ','ｖ','ｗ','ｘ','ｙ','ｚ',
+);
diff -x .svn -aruN 1.4.24.src/include/media.functions.inc.php 1.4.25.src/include/media.functions.inc.php
--- 1.4.24.src/include/media.functions.inc.php	2009-05-21 15:03:09.000000000 -0500
+++ 1.4.25.src/include/media.functions.inc.php	2009-05-26 11:25:42.000000000 -0500
@@ -1,128 +1,128 @@
-<?php
-/*************************
-  Coppermine Photo Gallery
-  ************************
-  Copyright (c) 2003-2009 Coppermine Dev Team
-  v1.1 originally written by Gregory DEMAR
-
-  This program is free software; you can redistribute it and/or modify
-  it under the terms of the GNU General Public License version 3
-  as published by the Free Software Foundation.
-  
-  ********************************************
-  Coppermine version: 1.4.24
-  $HeadURL: https://coppermine.svn.sourceforge.net/svnroot/coppermine/trunk/cpg1.4.x/include/media.functions.inc.php $
-  $Revision: 5969 $
-  $Author: gaugau $
-  $Date: 2009-05-21 22:03:33 +0200 (Do, 21 Mai 2009) $
-**********************************************/
-
-// REQUIRES GLOBAL VAR: ADMIN
-// REQUIRES GLOBAL FUNCTION: cpg_db_query
-
-if (!defined('IN_COPPERMINE')) { die('Not in Coppermine...');}
-
-global $FILE_TYPES;
-
-// Map content types to corresponding user parameters
-$content_types_to_vars = array('image'=>'allowed_img_types','audio'=>'allowed_snd_types','movie'=>'allowed_mov_types','document'=>'allowed_doc_types');
-$CONFIG['allowed_file_extensions'] = '';
-
-if (count($FILE_TYPES)==0) {
-         $result = cpg_db_query('SELECT extension, mime, content, player FROM '.$CONFIG['TABLE_FILETYPES'].';');
-         while ($row = mysql_fetch_array($result)) {
-             // Only add types that are in both the database and user defined parameter
-        if ($CONFIG[$content_types_to_vars[$row['content']]]=='ALL' || is_int(strpos('/'.$CONFIG[$content_types_to_vars[$row['content']]].'/','/'.$row['extension'].'/')))
-        {
-            $FILE_TYPES[$row['extension']] = $row;
-            $CONFIG['allowed_file_extensions'].= '/'.$row['extension'];
-    }   }
-    mysql_free_result($result);
-}
-
-$CONFIG['allowed_file_extensions'] = substr($CONFIG['allowed_file_extensions'],1);
-
-function cpg_get_type($filename,$filter=null)
-{
-    global $FILE_TYPES;
-    if (!is_array($filename))
-        $filename = explode('.',$filename);
-    $EOA = count($filename)-1;
-    $filename[$EOA] = strtolower($filename[$EOA]);
-
-    if (!is_null($filter) && $FILE_TYPES[$filename[$EOA]]['content']==$filter)
-        return $FILE_TYPES[$filename[$EOA]];
-    elseif (is_null($filter))
-        return $FILE_TYPES[$filename[$EOA]];
-    else
-        return null;
-}
-
-function is_image(&$file)
-{
-    return cpg_get_type($file,'image');
-}
-
-function is_movie(&$file)
-{
-    return cpg_get_type($file,'movie');
-}
-
-function is_audio(&$file)
-{
-    return cpg_get_type($file,'audio');
-}
-
-function is_document(&$file)
-{
-    return cpg_get_type($file,'document');
-}
-
-function is_known_filetype($file)
-{
-    return is_image($file) || is_movie($file) || is_audio($file) || is_document($file);
-}
-
-// Not implemented yet--will be implemented by Chris
-/*
-function cpg_file_html(&$file,$type='thumb',$file_title='')
-{
-    global $CONFIG, $pic_title;
-
-    $mime_content = cpg_get_type($file['filename']);
-    $extension = file_exists("images/thumb_{$mime_content['extension']}.jpg") ? $mime_content['extension']:$mime_content['content'];
-
-    if ($mime_content['content']=='image' && $type=='thumb') {
-        $file['pwidth'] = 100;
-        $file['pheight'] = 100;
-    }
-
-    if ($type=='thumb')
-        $file_url = get_pic_url($file, 'thumb',$file_title='');
-    elseif ($CONFIG['make_intermediate'] && max($file['pwidth'], $file['pheight']) > $CONFIG['picture_width'])
-        $file_url = get_pic_url($file, 'normal');
-    else
-        $file_url = get_pic_url($file, 'fullsize');
-
-    $image_size = compute_img_size($file['pwidth'], $file['pheight'], $CONFIG['alb_list_thumb_size']);
-    if (($file['pwidth']==0 || $file['pheight']==0) && $type!='thumb')
-        $image_size['geom']='';
-
-
-    if ($mime_content['content']=='image') {
-        if (isset($image_size['reduced'])) {
-            $file_html = "<a href=\"javascript:;\" onClick=\"MM_openBrWindow('displayimage.php?pid=$pid&fullsize=1','" . uniqid(rand()) . "','scrollbars=yes,toolbar=yes,status=yes,resizable=yes,width=" . $file['pwidth']+16 . ",height=" . $file['pheight']+16 . "')\">"
-            $file_title = ""
-        }
-        return "<img src=\"" . $file_url . "\" class=\"image\" {$image_size['geom']} border=\"0\" alt=\"{$file['filename']}\" title=\"$pic_title\" />";
-    }
-    elseif ($type=='thumb')
-        return "<img src=\"images/thumb_{$extension}.jpg\" class=\"image\" {$image_size['geom']} border=\"0\" alt=\"{$file['filename']}\" title=\"$pic_title\" />";
-    elseif ($mime_content['content']=='movie')
-        return "<object {$image_size['geom']}><param name=\"movie\" value=\"". $file_url . "\"><embed {$image_size['geom']} src=\"". $file_url . "\"></embed></object>\n";
-    elseif ($mime_content['content']=='audio')
-        return "<object {$image_size['geom']}><param name=\"movie\" value=\"". $file_url . "\"><embed {$image_size['geom']} src=\"". $file_url . "\"></embed></object>\n";
-    elseif ($mime_content['content']=='document')
-        return "<a href=\"{$file_url}\" target=\"_blank\" class=\"document_link\"><img src=\"images/thumb_$extension.jpg\" border=\"0\" class=\"image\" /></a>\n";
-}*/
-?>
+<?php
+/*************************
+  Coppermine Photo Gallery
+  ************************
+  Copyright (c) 2003-2009 Coppermine Dev Team
+  v1.1 originally written by Gregory DEMAR
+
+  This program is free software; you can redistribute it and/or modify
+  it under the terms of the GNU General Public License version 3
+  as published by the Free Software Foundation.
+  
+  ********************************************
+  Coppermine version: 1.4.25
+  $HeadURL: https://coppermine.svn.sourceforge.net/svnroot/coppermine/trunk/cpg1.4.x/include/media.functions.inc.php $
+  $Revision: 5997 $
+  $Author: gaugau $
+  $Date: 2009-05-26 08:43:24 +0200 (Di, 26 Mai 2009) $
+**********************************************/
+
+// REQUIRES GLOBAL VAR: ADMIN
+// REQUIRES GLOBAL FUNCTION: cpg_db_query
+
+if (!defined('IN_COPPERMINE')) { die('Not in Coppermine...');}
+
+global $FILE_TYPES;
+
+// Map content types to corresponding user parameters
+$content_types_to_vars = array('image'=>'allowed_img_types','audio'=>'allowed_snd_types','movie'=>'allowed_mov_types','document'=>'allowed_doc_types');
+$CONFIG['allowed_file_extensions'] = '';
+
+if (count($FILE_TYPES)==0) {
+         $result = cpg_db_query('SELECT extension, mime, content, player FROM '.$CONFIG['TABLE_FILETYPES'].';');
+         while ($row = mysql_fetch_array($result)) {
+             // Only add types that are in both the database and user defined parameter
+        if ($CONFIG[$content_types_to_vars[$row['content']]]=='ALL' || is_int(strpos('/'.$CONFIG[$content_types_to_vars[$row['content']]].'/','/'.$row['extension'].'/')))
+        {
+            $FILE_TYPES[$row['extension']] = $row;
+            $CONFIG['allowed_file_extensions'].= '/'.$row['extension'];
+    }   }
+    mysql_free_result($result);
+}
+
+$CONFIG['allowed_file_extensions'] = substr($CONFIG['allowed_file_extensions'],1);
+
+function cpg_get_type($filename,$filter=null)
+{
+    global $FILE_TYPES;
+    if (!is_array($filename))
+        $filename = explode('.',$filename);
+    $EOA = count($filename)-1;
+    $filename[$EOA] = strtolower($filename[$EOA]);
+
+    if (!is_null($filter) && $FILE_TYPES[$filename[$EOA]]['content']==$filter)
+        return $FILE_TYPES[$filename[$EOA]];
+    elseif (is_null($filter))
+        return $FILE_TYPES[$filename[$EOA]];
+    else
+        return null;
+}
+
+function is_image(&$file)
+{
+    return cpg_get_type($file,'image');
+}
+
+function is_movie(&$file)
+{
+    return cpg_get_type($file,'movie');
+}
+
+function is_audio(&$file)
+{
+    return cpg_get_type($file,'audio');
+}
+
+function is_document(&$file)
+{
+    return cpg_get_type($file,'document');
+}
+
+function is_known_filetype($file)
+{
+    return is_image($file) || is_movie($file) || is_audio($file) || is_document($file);
+}
+
+// Not implemented yet--will be implemented by Chris
+/*
+function cpg_file_html(&$file,$type='thumb',$file_title='')
+{
+    global $CONFIG, $pic_title;
+
+    $mime_content = cpg_get_type($file['filename']);
+    $extension = file_exists("images/thumb_{$mime_content['extension']}.jpg") ? $mime_content['extension']:$mime_content['content'];
+
+    if ($mime_content['content']=='image' && $type=='thumb') {
+        $file['pwidth'] = 100;
+        $file['pheight'] = 100;
+    }
+
+    if ($type=='thumb')
+        $file_url = get_pic_url($file, 'thumb',$file_title='');
+    elseif ($CONFIG['make_intermediate'] && max($file['pwidth'], $file['pheight']) > $CONFIG['picture_width'])
+        $file_url = get_pic_url($file, 'normal');
+    else
+        $file_url = get_pic_url($file, 'fullsize');
+
+    $image_size = compute_img_size($file['pwidth'], $file['pheight'], $CONFIG['alb_list_thumb_size']);
+    if (($file['pwidth']==0 || $file['pheight']==0) && $type!='thumb')
+        $image_size['geom']='';
+
+
+    if ($mime_content['content']=='image') {
+        if (isset($image_size['reduced'])) {
+            $file_html = "<a href=\"javascript:;\" onClick=\"MM_openBrWindow('displayimage.php?pid=$pid&fullsize=1','" . uniqid(rand()) . "','scrollbars=yes,toolbar=yes,status=yes,resizable=yes,width=" . $file['pwidth']+16 . ",height=" . $file['pheight']+16 . "')\">"
+            $file_title = ""
+        }
+        return "<img src=\"" . $file_url . "\" class=\"image\" {$image_size['geom']} border=\"0\" alt=\"{$file['filename']}\" title=\"$pic_title\" />";
+    }
+    elseif ($type=='thumb')
+        return "<img src=\"images/thumb_{$extension}.jpg\" class=\"image\" {$image_size['geom']} border=\"0\" alt=\"{$file['filename']}\" title=\"$pic_title\" />";
+    elseif ($mime_content['content']=='movie')
+        return "<object {$image_size['geom']}><param name=\"movie\" value=\"". $file_url . "\"><embed {$image_size['geom']} src=\"". $file_url . "\"></embed></object>\n";
+    elseif ($mime_content['content']=='audio')
+        return "<object {$image_size['geom']}><param name=\"movie\" value=\"". $file_url . "\"><embed {$image_size['geom']} src=\"". $file_url . "\"></embed></object>\n";
+    elseif ($mime_content['content']=='document')
+        return "<a href=\"{$file_url}\" target=\"_blank\" class=\"document_link\"><img src=\"images/thumb_$extension.jpg\" border=\"0\" class=\"image\" /></a>\n";
+}*/
+?>
diff -x .svn -aruN 1.4.24.src/include/phpmailer.lang-en.php 1.4.25.src/include/phpmailer.lang-en.php
--- 1.4.24.src/include/phpmailer.lang-en.php	2009-05-21 15:03:09.000000000 -0500
+++ 1.4.25.src/include/phpmailer.lang-en.php	2009-05-26 11:25:42.000000000 -0500
@@ -1,42 +1,42 @@
-<?php
-/*************************
-  Coppermine Photo Gallery
-  ************************
-  Copyright (c) 2003-2009 Coppermine Dev Team
-  v1.1 originally written by Gregory DEMAR
-
-  This program is free software; you can redistribute it and/or modify
-  it under the terms of the GNU General Public License version 3
-  as published by the Free Software Foundation.
-  
-  ********************************************
-  Coppermine version: 1.4.24
-  $HeadURL: https://coppermine.svn.sourceforge.net/svnroot/coppermine/trunk/cpg1.4.x/include/phpmailer.lang-en.php $
-  $Revision: 5969 $
-  $Author: gaugau $
-  $Date: 2009-05-21 22:03:33 +0200 (Do, 21 Mai 2009) $
-**********************************************/
-
-/**
- * PHPMailer language file.
- * English Version
- * @package HotelSearch
- */
-
-$PHPMAILER_LANG = array();
-
-$PHPMAILER_LANG["provide_address"] = 'You must provide at least one ' .
-                                     'recipient email address.';
-$PHPMAILER_LANG["mailer_not_supported"] = ' mailer is not supported.';
-$PHPMAILER_LANG["execute"] = 'Could not execute: ';
-$PHPMAILER_LANG["instantiate"] = 'Could not instantiate mail function.';
-$PHPMAILER_LANG["authenticate"] = 'SMTP Error: Could not authenticate.';
-$PHPMAILER_LANG["from_failed"] = 'The following From address failed: ';
-$PHPMAILER_LANG["recipients_failed"] = 'SMTP Error: The following ' .
-                                       'recipients failed: ';
-$PHPMAILER_LANG["data_not_accepted"] = 'SMTP Error: Data not accepted.';
-$PHPMAILER_LANG["connect_host"] = 'SMTP Error: Could not connect to SMTP host.';
-$PHPMAILER_LANG["file_access"] = 'Could not access file: ';
-$PHPMAILER_LANG["file_open"] = 'File Error: Could not open file: ';
-$PHPMAILER_LANG["encoding"] = 'Unknown encoding: ';
-?>
+<?php
+/*************************
+  Coppermine Photo Gallery
+  ************************
+  Copyright (c) 2003-2009 Coppermine Dev Team
+  v1.1 originally written by Gregory DEMAR
+
+  This program is free software; you can redistribute it and/or modify
+  it under the terms of the GNU General Public License version 3
+  as published by the Free Software Foundation.
+  
+  ********************************************
+  Coppermine version: 1.4.25
+  $HeadURL: https://coppermine.svn.sourceforge.net/svnroot/coppermine/trunk/cpg1.4.x/include/phpmailer.lang-en.php $
+  $Revision: 5997 $
+  $Author: gaugau $
+  $Date: 2009-05-26 08:43:24 +0200 (Di, 26 Mai 2009) $
+**********************************************/
+
+/**
+ * PHPMailer language file.
+ * English Version
+ * @package HotelSearch
+ */
+
+$PHPMAILER_LANG = array();
+
+$PHPMAILER_LANG["provide_address"] = 'You must provide at least one ' .
+                                     'recipient email address.';
+$PHPMAILER_LANG["mailer_not_supported"] = ' mailer is not supported.';
+$PHPMAILER_LANG["execute"] = 'Could not execute: ';
+$PHPMAILER_LANG["instantiate"] = 'Could not instantiate mail function.';
+$PHPMAILER_LANG["authenticate"] = 'SMTP Error: Could not authenticate.';
+$PHPMAILER_LANG["from_failed"] = 'The following From address failed: ';
+$PHPMAILER_LANG["recipients_failed"] = 'SMTP Error: The following ' .
+                                       'recipients failed: ';
+$PHPMAILER_LANG["data_not_accepted"] = 'SMTP Error: Data not accepted.';
+$PHPMAILER_LANG["connect_host"] = 'SMTP Error: Could not connect to SMTP host.';
+$PHPMAILER_LANG["file_access"] = 'Could not access file: ';
+$PHPMAILER_LANG["file_open"] = 'File Error: Could not open file: ';
+$PHPMAILER_LANG["encoding"] = 'Unknown encoding: ';
+?>
diff -x .svn -aruN 1.4.24.src/include/picmgmt.inc.php 1.4.25.src/include/picmgmt.inc.php
--- 1.4.24.src/include/picmgmt.inc.php	2009-05-21 15:03:09.000000000 -0500
+++ 1.4.25.src/include/picmgmt.inc.php	2009-05-26 11:25:44.000000000 -0500
@@ -1,294 +1,294 @@
-<?php
-/*************************
-  Coppermine Photo Gallery
-  ************************
-  Copyright (c) 2003-2009 Coppermine Dev Team
-  v1.1 originaly written by Gregory DEMAR
-
-  This program is free software; you can redistribute it and/or modify
-  it under the terms of the GNU General Public License version 3
-  as published by the Free Software Foundation.
-
-  ********************************************
-  Coppermine version: 1.4.24
-  $HeadURL: https://coppermine.svn.sourceforge.net/svnroot/coppermine/trunk/cpg1.4.x/include/picmgmt.inc.php $
-  $Revision: 5969 $
-  $Author: gaugau $
-  $Date: 2009-05-21 22:03:33 +0200 (Do, 21 Mai 2009) $
-**********************************************/
-
-if (!defined('IN_COPPERMINE')) { die('Not in Coppermine...');}
-
-if($CONFIG['read_iptc_data'] ){
-        include("include/iptc.inc.php");
-}
-
-// Add a picture to an album
-function add_picture($aid, $filepath, $filename, $position = 0, $title = '', $caption = '', $keywords = '', $user1 = '', $user2 = '', $user3 = '', $user4 = '', $category = 0, $raw_ip = '', $hdr_ip = '', $iwidth = 0, $iheight = 0)
-{
-    global $CONFIG, $ERROR, $USER_DATA, $PIC_NEED_APPROVAL;
-    global $lang_errors;
-
-    $image = $CONFIG['fullpath'] . $filepath . $filename;
-    $normal = $CONFIG['fullpath'] . $filepath . $CONFIG['normal_pfx'] . $filename;
-    $thumb = $CONFIG['fullpath'] . $filepath . $CONFIG['thumb_pfx'] . $filename;
-
-
-
-    if (!is_known_filetype($image)) {
-        return false;
-    } elseif (is_image($filename)) {
-        $imagesize = getimagesize($image);
-
-        if ($CONFIG['read_iptc_data']) {
-           $iptc = get_IPTC($image);
-           if (is_array($iptc) && !$title && !$caption && !$keywords) {  //if any of those 3 are filled out we don't want to override them, they may be blank on purpose.
-               $title = (isset($iptc['Title'])) ? $iptc['Title'] : $title;
-               $caption = (isset($iptc['Caption'])) ? $iptc['Caption'] : $caption;
-               $keywords = (isset($iptc['Keywords'])) ? implode(' ',$iptc['Keywords']) : $keywords;
-           }
-        }
-
-        if (((USER_IS_ADMIN && $CONFIG['auto_resize'] == 1) || (!USER_IS_ADMIN && $CONFIG['auto_resize'] > 0)) && max($imagesize[0], $imagesize[1]) > $CONFIG['max_upl_width_height']) //$CONFIG['auto_resize']==1
-        {
-          //resize_image($image, $image, $CONFIG['max_upl_width_height'], $CONFIG['thumb_method'], $imagesize[0] > $CONFIG['max_upl_width_height'] ? 'wd' : 'ht');
-          resize_image($image, $image, $CONFIG['max_upl_width_height'], $CONFIG['thumb_method'], $CONFIG['thumb_use']);
-          $imagesize = getimagesize($image);
-        }
-        if (!file_exists($thumb)) {
-            if (!resize_image($image, $thumb, $CONFIG['thumb_width'], $CONFIG['thumb_method'], $CONFIG['thumb_use']))
-                return false;
-        }
-        if (max($imagesize[0], $imagesize[1]) > $CONFIG['picture_width'] && $CONFIG['make_intermediate'] && !file_exists($normal)) {
-            if (!resize_image($image, $normal, $CONFIG['picture_width'], $CONFIG['thumb_method'], $CONFIG['thumb_use']))
-                return false;
-        }
-    } else {
-        $imagesize[0] = $iwidth;
-        $imagesize[1] = $iheight;
-    }
-
-    $image_filesize = filesize($image);
-    $total_filesize = is_image($filename) ? ($image_filesize + (file_exists($normal) ? filesize($normal) : 0) + filesize($thumb)) : ($image_filesize);
-
-
-    // Test if disk quota exceeded
-    if (!GALLERY_ADMIN_MODE && $USER_DATA['group_quota'] && $category == FIRST_USER_CAT + USER_ID) {
-        $result = cpg_db_query("SELECT sum(total_filesize) FROM {$CONFIG['TABLE_PICTURES']}, {$CONFIG['TABLE_ALBUMS']} WHERE  {$CONFIG['TABLE_PICTURES']}.aid = {$CONFIG['TABLE_ALBUMS']}.aid AND category = '" . (FIRST_USER_CAT + USER_ID) . "'");
-        $record = mysql_fetch_array($result);
-        $total_space_used = $record[0];
-        mysql_free_result($result);
-
-        if ((($total_space_used + $total_filesize)>>10) > $USER_DATA['group_quota'] ) {
-            @unlink($image);
-            if (is_image($image)) {
-                @unlink($normal);
-                @unlink($thumb);
-            }
-            $msg = strtr($lang_errors['quota_exceeded'], array('[quota]' => ($USER_DATA['group_quota']),
-                '[space]' => ($total_space_used >> 10)));
-            cpg_die(ERROR, $msg, __FILE__, __LINE__);
-        }
-    }
-    // Test if picture requires approval
-    if (GALLERY_ADMIN_MODE) {
-        $approved = 'YES';
-    } elseif (!$USER_DATA['priv_upl_need_approval'] && $category == FIRST_USER_CAT + USER_ID) {
-        $approved = 'YES';
-    } elseif (!$USER_DATA['pub_upl_need_approval'] && $category < FIRST_USER_CAT) {
-        $approved = 'YES';
-    } else {
-        $approved = 'NO';
-    }
-    $PIC_NEED_APPROVAL = ($approved == 'NO');
-    // User ID is now recorded when in admin mode (casper)
-    $user_id = USER_ID;
-    $username= USER_NAME;
-    // Populate Array to pass to plugins, then to SQL.
-    $CURRENT_PIC_DATA['aid'] = $aid;
-    $CURRENT_PIC_DATA['filepath'] = $filepath;
-    $CURRENT_PIC_DATA['filename'] = $filename;
-    $CURRENT_PIC_DATA['filesize'] = $image_filesize;
-    $CURRENT_PIC_DATA['total_filesize'] = $total_filesize;
-    $CURRENT_PIC_DATA['pwidth'] = $imagesize[0];
-    $CURRENT_PIC_DATA['pheight'] = $imagesize[1];
-    $CURRENT_PIC_DATA['owner_id'] = $user_id;
-    $CURRENT_PIC_DATA['owner_name'] = $username;
-    $CURRENT_PIC_DATA['title'] = $title;
-    $CURRENT_PIC_DATA['caption'] = $caption;
-    $CURRENT_PIC_DATA['keywords'] = $keywords;
-    $CURRENT_PIC_DATA['approved'] = $approved;
-    $CURRENT_PIC_DATA['user1'] = $user1;
-    $CURRENT_PIC_DATA['user2'] = $user2;
-    $CURRENT_PIC_DATA['user3'] = $user3;
-    $CURRENT_PIC_DATA['user4'] = $user4;
-    $CURRENT_PIC_DATA['pic_raw_ip'] = $raw_ip;
-    $CURRENT_PIC_DATA['pic_hdr_ip'] = $hdr_ip;
-    $CURRENT_PIC_DATA['position'] = $position;
-    $CURRENT_PIC_DATA = CPGPluginAPI::filter('add_file_data',$CURRENT_PIC_DATA);
-
-    $query = "INSERT INTO {$CONFIG['TABLE_PICTURES']} (aid, filepath, filename, filesize, total_filesize, pwidth, pheight, ctime, owner_id, owner_name, title, caption, keywords, approved, user1, user2, user3, user4, pic_raw_ip, pic_hdr_ip, position) VALUES ('{$CURRENT_PIC_DATA['aid']}', '" . addslashes($CURRENT_PIC_DATA['filepath']) . "', '" . addslashes($CURRENT_PIC_DATA['filename']) . "', '{$CURRENT_PIC_DATA['filesize']}', '{$CURRENT_PIC_DATA['total_filesize']}', '{$CURRENT_PIC_DATA['pwidth']}', '{$CURRENT_PIC_DATA['pheight']}', '" . time() . "', '{$CURRENT_PIC_DATA['owner_id']}', '{$CURRENT_PIC_DATA['owner_name']}','{$CURRENT_PIC_DATA['title']}', '{$CURRENT_PIC_DATA['caption']}', '{$CURRENT_PIC_DATA['keywords']}', '{$CURRENT_PIC_DATA['approved']}', '{$CURRENT_PIC_DATA['user1']}', '{$CURRENT_PIC_DATA['user2']}', '{$CURRENT_PIC_DATA['user3']}', '{$CURRENT_PIC_DATA['user4']}', '{$CURRENT_PIC_DATA['pic_raw_ip']}', '{$CURRENT_PIC_DATA['pic_hdr_ip']}', '{$CURRENT_PIC_DATA['position']}')";
-    $result = cpg_db_query($query);
-
-    return $result;
-}
-
-define("GIS_GIF", 1);
-define("GIS_JPG", 2);
-define("GIS_PNG", 3);
-
-// Add 'edit' directory if it doesn't exist
-// Set access to read+write only
-if (!is_dir($CONFIG['fullpath'].'edit')) {
-    $cpg_umask = umask(0);
-    @mkdir($CONFIG['fullpath'].'edit',0777);
-    umask($cpg_umask);
-    unset($cpg_umask);
-}
-
-/**
-* resize_image()
-*
-* Create a file containing a resized image
-*
-* @param  $src_file the source file
-* @param  $dest_file the destination file
-* @param  $new_size the size of the square within which the new image must fit
-* @param  $method the method used for image resizing
-* @return 'true' in case of success
-*/
-function resize_image($src_file, $dest_file, $new_size, $method, $thumb_use)
-{
-    global $CONFIG, $ERROR;
-    global $lang_errors;
-
-    $imginfo = getimagesize($src_file);
-    if ($imginfo == null)
-        return false;
-        // GD can only handle JPG & PNG images
-    //if ($imginfo[2] != GIS_JPG && $imginfo[2] != GIS_PNG && ($method == 'gd1' || $method == 'gd2')) {
-    if ($imginfo[2] != GIS_JPG && $imageinfo[2] != GIS_PNG && $CONFIG['GIF_support'] == 0) {
-        $ERROR = $lang_errors['gd_file_type_err'];
-        return false;
-    }
-    // height/width
-    $srcWidth = $imginfo[0];
-    $srcHeight = $imginfo[1];
-    if ($thumb_use == 'ht') {
-        $ratio = $srcHeight / $new_size;
-    } elseif ($thumb_use == 'wd') {
-        $ratio = $srcWidth / $new_size;
-    } else {
-        $ratio = max($srcWidth, $srcHeight) / $new_size;
-    }
-    $ratio = max($ratio, 1.0);
-    $destWidth = (int)($srcWidth / $ratio);
-    $destHeight = (int)($srcHeight / $ratio);
-    // Method for thumbnails creation
-    switch ($method) {
-        case "im" :
-            if (preg_match("#[A-Z]:|\\\\#Ai", __FILE__)) {
-                // get the basedir, remove '/include'
-                $cur_dir = substr(dirname(__FILE__), 0, -8);
-                $src_file = '"' . $cur_dir . '\\' . strtr($src_file, '/', '\\') . '"';
-                $im_dest_file = str_replace('%', '%%', ('"' . $cur_dir . '\\' . strtr($dest_file, '/', '\\') . '"'));
-            } else {
-                $src_file = escapeshellarg($src_file);
-                $im_dest_file = str_replace('%', '%%', escapeshellarg($dest_file));
-            }
-
-            $output = array();
-            /*
-             * Hack for working with ImageMagick on WIndows even if IM is installed in C:\Program Files.
-             * By Aditya Mooley <aditya@sanisoft.com>
-             */
-            if (eregi("win",$_ENV['OS'])) {
-                $cmd = "\"".str_replace("\\","/", $CONFIG['impath'])."convert\" -quality {$CONFIG['jpeg_qual']} {$CONFIG['im_options']} -geometry {$destWidth}x{$destHeight} ".str_replace("\\","/" ,$src_file )." ".str_replace("\\","/" ,$im_dest_file );
-                exec ("\"$cmd\"", $output, $retval);
-            } else {
-                $cmd = "{$CONFIG['impath']}convert -quality {$CONFIG['jpeg_qual']} {$CONFIG['im_options']} -geometry {$destWidth}x{$destHeight} $src_file $im_dest_file";
-                exec ($cmd, $output, $retval);
-            }
-
-
-            if ($retval) {
-                $ERROR = "Error executing ImageMagick - Return value: $retval";
-                if ($CONFIG['debug_mode']) {
-                    // Re-execute the command with the backtick operator in order to get all outputs
-                    // will not work is safe mode is enabled
-                    $output = `$cmd 2>&1`;
-                    $ERROR .= "<br /><br /><div align=\"left\">Cmd line : <br /><span style=\"font-size:120%\">" . nl2br(htmlspecialchars($cmd)) . "</span></div>";
-                    $ERROR .= "<br /><br /><div align=\"left\">The convert program said:<br /><span style=\"font-size:120%\">";
-                    $ERROR .= nl2br(htmlspecialchars($output));
-                    $ERROR .= "</span></div>";
-                }
-                @unlink($dest_file);
-                return false;
-            }
-            break;
-
-        case "gd1" :
-            if (!function_exists('imagecreatefromjpeg')) {
-                cpg_die(CRITICAL_ERROR, 'PHP running on your server does not support the GD image library, check with your webhost if ImageMagick is installed', __FILE__, __LINE__);
-            }
-            if ($imginfo[2] == GIS_JPG)
-                $src_img = imagecreatefromjpeg($src_file);
-            else
-                $src_img = imagecreatefrompng($src_file);
-            if (!$src_img) {
-                $ERROR = $lang_errors['invalid_image'];
-                return false;
-            }
-            $dst_img = imagecreate($destWidth, $destHeight);
-            imagecopyresized($dst_img, $src_img, 0, 0, 0, 0, $destWidth, (int)$destHeight, $srcWidth, $srcHeight);
-                        touch($dest_file);
-            $fh=fopen($dest_file,'w');
-            fclose($fh);
-            imagejpeg($dst_img, $dest_file, $CONFIG['jpeg_qual']);
-            imagedestroy($src_img);
-            imagedestroy($dst_img);
-            break;
-
-        case "gd2" :
-            if (!function_exists('imagecreatefromjpeg')) {
-                cpg_die(CRITICAL_ERROR, 'PHP running on your server does not support the GD image library, check with your webhost if ImageMagick is installed', __FILE__, __LINE__);
-            }
-            if (!function_exists('imagecreatetruecolor')) {
-                cpg_die(CRITICAL_ERROR, 'PHP running on your server does not support GD version 2.x, please switch to GD version 1.x on the admin page', __FILE__, __LINE__);
-            }
-            if ($imginfo[2] == GIS_GIF && $CONFIG['GIF_support'] == 1)
-                $src_img = imagecreatefromgif($src_file);
-            elseif ($imginfo[2] == GIS_JPG)
-                $src_img = imagecreatefromjpeg($src_file);
-            else
-                $src_img = imagecreatefrompng($src_file);
-            if (!$src_img) {
-                $ERROR = $lang_errors['invalid_image'];
-                return false;
-            }
-            if ($imginfo[2] == GIS_GIF)
-              $dst_img = imagecreate($destWidth, $destHeight);
-            else
-              $dst_img = imagecreatetruecolor($destWidth, $destHeight);
-            imagecopyresampled($dst_img, $src_img, 0, 0, 0, 0, $destWidth, (int)$destHeight, $srcWidth, $srcHeight);
-                        touch($dest_file);
-            $fh=fopen($dest_file,'w');
-            fclose($fh);
-            imagejpeg($dst_img, $dest_file, $CONFIG['jpeg_qual']);
-            imagedestroy($src_img);
-            imagedestroy($dst_img);
-            break;
-    }
-    // Set mode of uploaded picture
-    @chmod($dest_file, octdec($CONFIG['default_file_mode'])); //silence the output in case chmod is disabled
-    // We check that the image is valid
-    $imginfo = getimagesize($dest_file);
-    if ($imginfo == null) {
-        $ERROR = $lang_errors['resize_failed'];
-        @unlink($dest_file);
-        return false;
-    } else {
-        return true;
-    }
-}
+<?php
+/*************************
+  Coppermine Photo Gallery
+  ************************
+  Copyright (c) 2003-2009 Coppermine Dev Team
+  v1.1 originaly written by Gregory DEMAR
+
+  This program is free software; you can redistribute it and/or modify
+  it under the terms of the GNU General Public License version 3
+  as published by the Free Software Foundation.
+
+  ********************************************
+  Coppermine version: 1.4.25
+  $HeadURL: https://coppermine.svn.sourceforge.net/svnroot/coppermine/trunk/cpg1.4.x/include/picmgmt.inc.php $
+  $Revision: 5997 $
+  $Author: gaugau $
+  $Date: 2009-05-26 08:43:24 +0200 (Di, 26 Mai 2009) $
+**********************************************/
+
+if (!defined('IN_COPPERMINE')) { die('Not in Coppermine...');}
+
+if($CONFIG['read_iptc_data'] ){
+        include("include/iptc.inc.php");
+}
+
+// Add a picture to an album
+function add_picture($aid, $filepath, $filename, $position = 0, $title = '', $caption = '', $keywords = '', $user1 = '', $user2 = '', $user3 = '', $user4 = '', $category = 0, $raw_ip = '', $hdr_ip = '', $iwidth = 0, $iheight = 0)
+{
+    global $CONFIG, $ERROR, $USER_DATA, $PIC_NEED_APPROVAL;
+    global $lang_errors;
+
+    $image = $CONFIG['fullpath'] . $filepath . $filename;
+    $normal = $CONFIG['fullpath'] . $filepath . $CONFIG['normal_pfx'] . $filename;
+    $thumb = $CONFIG['fullpath'] . $filepath . $CONFIG['thumb_pfx'] . $filename;
+
+
+
+    if (!is_known_filetype($image)) {
+        return false;
+    } elseif (is_image($filename)) {
+        $imagesize = getimagesize($image);
+
+        if ($CONFIG['read_iptc_data']) {
+           $iptc = get_IPTC($image);
+           if (is_array($iptc) && !$title && !$caption && !$keywords) {  //if any of those 3 are filled out we don't want to override them, they may be blank on purpose.
+               $title = (isset($iptc['Title'])) ? $iptc['Title'] : $title;
+               $caption = (isset($iptc['Caption'])) ? $iptc['Caption'] : $caption;
+               $keywords = (isset($iptc['Keywords'])) ? implode(' ',$iptc['Keywords']) : $keywords;
+           }
+        }
+
+        if (((USER_IS_ADMIN && $CONFIG['auto_resize'] == 1) || (!USER_IS_ADMIN && $CONFIG['auto_resize'] > 0)) && max($imagesize[0], $imagesize[1]) > $CONFIG['max_upl_width_height']) //$CONFIG['auto_resize']==1
+        {
+          //resize_image($image, $image, $CONFIG['max_upl_width_height'], $CONFIG['thumb_method'], $imagesize[0] > $CONFIG['max_upl_width_height'] ? 'wd' : 'ht');
+          resize_image($image, $image, $CONFIG['max_upl_width_height'], $CONFIG['thumb_method'], $CONFIG['thumb_use']);
+          $imagesize = getimagesize($image);
+        }
+        if (!file_exists($thumb)) {
+            if (!resize_image($image, $thumb, $CONFIG['thumb_width'], $CONFIG['thumb_method'], $CONFIG['thumb_use']))
+                return false;
+        }
+        if (max($imagesize[0], $imagesize[1]) > $CONFIG['picture_width'] && $CONFIG['make_intermediate'] && !file_exists($normal)) {
+            if (!resize_image($image, $normal, $CONFIG['picture_width'], $CONFIG['thumb_method'], $CONFIG['thumb_use']))
+                return false;
+        }
+    } else {
+        $imagesize[0] = $iwidth;
+        $imagesize[1] = $iheight;
+    }
+
+    $image_filesize = filesize($image);
+    $total_filesize = is_image($filename) ? ($image_filesize + (file_exists($normal) ? filesize($normal) : 0) + filesize($thumb)) : ($image_filesize);
+
+
+    // Test if disk quota exceeded
+    if (!GALLERY_ADMIN_MODE && $USER_DATA['group_quota'] && $category == FIRST_USER_CAT + USER_ID) {
+        $result = cpg_db_query("SELECT sum(total_filesize) FROM {$CONFIG['TABLE_PICTURES']}, {$CONFIG['TABLE_ALBUMS']} WHERE  {$CONFIG['TABLE_PICTURES']}.aid = {$CONFIG['TABLE_ALBUMS']}.aid AND category = '" . (FIRST_USER_CAT + USER_ID) . "'");
+        $record = mysql_fetch_array($result);
+        $total_space_used = $record[0];
+        mysql_free_result($result);
+
+        if ((($total_space_used + $total_filesize)>>10) > $USER_DATA['group_quota'] ) {
+            @unlink($image);
+            if (is_image($image)) {
+                @unlink($normal);
+                @unlink($thumb);
+            }
+            $msg = strtr($lang_errors['quota_exceeded'], array('[quota]' => ($USER_DATA['group_quota']),
+                '[space]' => ($total_space_used >> 10)));
+            cpg_die(ERROR, $msg, __FILE__, __LINE__);
+        }
+    }
+    // Test if picture requires approval
+    if (GALLERY_ADMIN_MODE) {
+        $approved = 'YES';
+    } elseif (!$USER_DATA['priv_upl_need_approval'] && $category == FIRST_USER_CAT + USER_ID) {
+        $approved = 'YES';
+    } elseif (!$USER_DATA['pub_upl_need_approval'] && $category < FIRST_USER_CAT) {
+        $approved = 'YES';
+    } else {
+        $approved = 'NO';
+    }
+    $PIC_NEED_APPROVAL = ($approved == 'NO');
+    // User ID is now recorded when in admin mode (casper)
+    $user_id = USER_ID;
+    $username= USER_NAME;
+    // Populate Array to pass to plugins, then to SQL.
+    $CURRENT_PIC_DATA['aid'] = $aid;
+    $CURRENT_PIC_DATA['filepath'] = $filepath;
+    $CURRENT_PIC_DATA['filename'] = $filename;
+    $CURRENT_PIC_DATA['filesize'] = $image_filesize;
+    $CURRENT_PIC_DATA['total_filesize'] = $total_filesize;
+    $CURRENT_PIC_DATA['pwidth'] = $imagesize[0];
+    $CURRENT_PIC_DATA['pheight'] = $imagesize[1];
+    $CURRENT_PIC_DATA['owner_id'] = $user_id;
+    $CURRENT_PIC_DATA['owner_name'] = $username;
+    $CURRENT_PIC_DATA['title'] = $title;
+    $CURRENT_PIC_DATA['caption'] = $caption;
+    $CURRENT_PIC_DATA['keywords'] = $keywords;
+    $CURRENT_PIC_DATA['approved'] = $approved;
+    $CURRENT_PIC_DATA['user1'] = $user1;
+    $CURRENT_PIC_DATA['user2'] = $user2;
+    $CURRENT_PIC_DATA['user3'] = $user3;
+    $CURRENT_PIC_DATA['user4'] = $user4;
+    $CURRENT_PIC_DATA['pic_raw_ip'] = $raw_ip;
+    $CURRENT_PIC_DATA['pic_hdr_ip'] = $hdr_ip;
+    $CURRENT_PIC_DATA['position'] = $position;
+    $CURRENT_PIC_DATA = CPGPluginAPI::filter('add_file_data',$CURRENT_PIC_DATA);
+
+    $query = "INSERT INTO {$CONFIG['TABLE_PICTURES']} (aid, filepath, filename, filesize, total_filesize, pwidth, pheight, ctime, owner_id, owner_name, title, caption, keywords, approved, user1, user2, user3, user4, pic_raw_ip, pic_hdr_ip, position) VALUES ('{$CURRENT_PIC_DATA['aid']}', '" . addslashes($CURRENT_PIC_DATA['filepath']) . "', '" . addslashes($CURRENT_PIC_DATA['filename']) . "', '{$CURRENT_PIC_DATA['filesize']}', '{$CURRENT_PIC_DATA['total_filesize']}', '{$CURRENT_PIC_DATA['pwidth']}', '{$CURRENT_PIC_DATA['pheight']}', '" . time() . "', '{$CURRENT_PIC_DATA['owner_id']}', '{$CURRENT_PIC_DATA['owner_name']}','{$CURRENT_PIC_DATA['title']}', '{$CURRENT_PIC_DATA['caption']}', '{$CURRENT_PIC_DATA['keywords']}', '{$CURRENT_PIC_DATA['approved']}', '{$CURRENT_PIC_DATA['user1']}', '{$CURRENT_PIC_DATA['user2']}', '{$CURRENT_PIC_DATA['user3']}', '{$CURRENT_PIC_DATA['user4']}', '{$CURRENT_PIC_DATA['pic_raw_ip']}', '{$CURRENT_PIC_DATA['pic_hdr_ip']}', '{$CURRENT_PIC_DATA['position']}')";
+    $result = cpg_db_query($query);
+
+    return $result;
+}
+
+define("GIS_GIF", 1);
+define("GIS_JPG", 2);
+define("GIS_PNG", 3);
+
+// Add 'edit' directory if it doesn't exist
+// Set access to read+write only
+if (!is_dir($CONFIG['fullpath'].'edit')) {
+    $cpg_umask = umask(0);
+    @mkdir($CONFIG['fullpath'].'edit',0777);
+    umask($cpg_umask);
+    unset($cpg_umask);
+}
+
+/**
+* resize_image()
+*
+* Create a file containing a resized image
+*
+* @param  $src_file the source file
+* @param  $dest_file the destination file
+* @param  $new_size the size of the square within which the new image must fit
+* @param  $method the method used for image resizing
+* @return 'true' in case of success
+*/
+function resize_image($src_file, $dest_file, $new_size, $method, $thumb_use)
+{
+    global $CONFIG, $ERROR;
+    global $lang_errors;
+
+    $imginfo = getimagesize($src_file);
+    if ($imginfo == null)
+        return false;
+        // GD can only handle JPG & PNG images
+    //if ($imginfo[2] != GIS_JPG && $imginfo[2] != GIS_PNG && ($method == 'gd1' || $method == 'gd2')) {
+    if ($imginfo[2] != GIS_JPG && $imageinfo[2] != GIS_PNG && $CONFIG['GIF_support'] == 0) {
+        $ERROR = $lang_errors['gd_file_type_err'];
+        return false;
+    }
+    // height/width
+    $srcWidth = $imginfo[0];
+    $srcHeight = $imginfo[1];
+    if ($thumb_use == 'ht') {
+        $ratio = $srcHeight / $new_size;
+    } elseif ($thumb_use == 'wd') {
+        $ratio = $srcWidth / $new_size;
+    } else {
+        $ratio = max($srcWidth, $srcHeight) / $new_size;
+    }
+    $ratio = max($ratio, 1.0);
+    $destWidth = (int)($srcWidth / $ratio);
+    $destHeight = (int)($srcHeight / $ratio);
+    // Method for thumbnails creation
+    switch ($method) {
+        case "im" :
+            if (preg_match("#[A-Z]:|\\\\#Ai", __FILE__)) {
+                // get the basedir, remove '/include'
+                $cur_dir = substr(dirname(__FILE__), 0, -8);
+                $src_file = '"' . $cur_dir . '\\' . strtr($src_file, '/', '\\') . '"';
+                $im_dest_file = str_replace('%', '%%', ('"' . $cur_dir . '\\' . strtr($dest_file, '/', '\\') . '"'));
+            } else {
+                $src_file = escapeshellarg($src_file);
+                $im_dest_file = str_replace('%', '%%', escapeshellarg($dest_file));
+            }
+
+            $output = array();
+            /*
+             * Hack for working with ImageMagick on WIndows even if IM is installed in C:\Program Files.
+             * By Aditya Mooley <aditya@sanisoft.com>
+             */
+            if (eregi("win",$_ENV['OS'])) {
+                $cmd = "\"".str_replace("\\","/", $CONFIG['impath'])."convert\" -quality {$CONFIG['jpeg_qual']} {$CONFIG['im_options']} -geometry {$destWidth}x{$destHeight} ".str_replace("\\","/" ,$src_file )." ".str_replace("\\","/" ,$im_dest_file );
+                exec ("\"$cmd\"", $output, $retval);
+            } else {
+                $cmd = "{$CONFIG['impath']}convert -quality {$CONFIG['jpeg_qual']} {$CONFIG['im_options']} -geometry {$destWidth}x{$destHeight} $src_file $im_dest_file";
+                exec ($cmd, $output, $retval);
+            }
+
+
+            if ($retval) {
+                $ERROR = "Error executing ImageMagick - Return value: $retval";
+                if ($CONFIG['debug_mode']) {
+                    // Re-execute the command with the backtick operator in order to get all outputs
+                    // will not work is safe mode is enabled
+                    $output = `$cmd 2>&1`;
+                    $ERROR .= "<br /><br /><div align=\"left\">Cmd line : <br /><span style=\"font-size:120%\">" . nl2br(htmlspecialchars($cmd)) . "</span></div>";
+                    $ERROR .= "<br /><br /><div align=\"left\">The convert program said:<br /><span style=\"font-size:120%\">";
+                    $ERROR .= nl2br(htmlspecialchars($output));
+                    $ERROR .= "</span></div>";
+                }
+                @unlink($dest_file);
+                return false;
+            }
+            break;
+
+        case "gd1" :
+            if (!function_exists('imagecreatefromjpeg')) {
+                cpg_die(CRITICAL_ERROR, 'PHP running on your server does not support the GD image library, check with your webhost if ImageMagick is installed', __FILE__, __LINE__);
+            }
+            if ($imginfo[2] == GIS_JPG)
+                $src_img = imagecreatefromjpeg($src_file);
+            else
+                $src_img = imagecreatefrompng($src_file);
+            if (!$src_img) {
+                $ERROR = $lang_errors['invalid_image'];
+                return false;
+            }
+            $dst_img = imagecreate($destWidth, $destHeight);
+            imagecopyresized($dst_img, $src_img, 0, 0, 0, 0, $destWidth, (int)$destHeight, $srcWidth, $srcHeight);
+                        touch($dest_file);
+            $fh=fopen($dest_file,'w');
+            fclose($fh);
+            imagejpeg($dst_img, $dest_file, $CONFIG['jpeg_qual']);
+            imagedestroy($src_img);
+            imagedestroy($dst_img);
+            break;
+
+        case "gd2" :
+            if (!function_exists('imagecreatefromjpeg')) {
+                cpg_die(CRITICAL_ERROR, 'PHP running on your server does not support the GD image library, check with your webhost if ImageMagick is installed', __FILE__, __LINE__);
+            }
+            if (!function_exists('imagecreatetruecolor')) {
+                cpg_die(CRITICAL_ERROR, 'PHP running on your server does not support GD version 2.x, please switch to GD version 1.x on the admin page', __FILE__, __LINE__);
+            }
+            if ($imginfo[2] == GIS_GIF && $CONFIG['GIF_support'] == 1)
+                $src_img = imagecreatefromgif($src_file);
+            elseif ($imginfo[2] == GIS_JPG)
+                $src_img = imagecreatefromjpeg($src_file);
+            else
+                $src_img = imagecreatefrompng($src_file);
+            if (!$src_img) {
+                $ERROR = $lang_errors['invalid_image'];
+                return false;
+            }
+            if ($imginfo[2] == GIS_GIF)
+              $dst_img = imagecreate($destWidth, $destHeight);
+            else
+              $dst_img = imagecreatetruecolor($destWidth, $destHeight);
+            imagecopyresampled($dst_img, $src_img, 0, 0, 0, 0, $destWidth, (int)$destHeight, $srcWidth, $srcHeight);
+                        touch($dest_file);
+            $fh=fopen($dest_file,'w');
+            fclose($fh);
+            imagejpeg($dst_img, $dest_file, $CONFIG['jpeg_qual']);
+            imagedestroy($src_img);
+            imagedestroy($dst_img);
+            break;
+    }
+    // Set mode of uploaded picture
+    @chmod($dest_file, octdec($CONFIG['default_file_mode'])); //silence the output in case chmod is disabled
+    // We check that the image is valid
+    $imginfo = getimagesize($dest_file);
+    if ($imginfo == null) {
+        $ERROR = $lang_errors['resize_failed'];
+        @unlink($dest_file);
+        return false;
+    } else {
+        return true;
+    }
+}
 ?>
\ No newline at end of file
diff -x .svn -aruN 1.4.24.src/include/plugin_api.inc.php 1.4.25.src/include/plugin_api.inc.php
--- 1.4.24.src/include/plugin_api.inc.php	2009-05-21 15:03:09.000000000 -0500
+++ 1.4.25.src/include/plugin_api.inc.php	2009-06-22 06:57:46.000000000 -0500
@@ -1,693 +1,698 @@
-<?php
-/*************************
-  Coppermine Photo Gallery
-  ************************
-  Copyright (c) 2003-2009 Coppermine Dev Team
-  v1.1 originally written by Gregory DEMAR
-
-  This program is free software; you can redistribute it and/or modify
-  it under the terms of the GNU General Public License version 3
-  as published by the Free Software Foundation.
-  
-  ********************************************
-  Coppermine version: 1.4.24
-  $HeadURL: https://coppermine.svn.sourceforge.net/svnroot/coppermine/trunk/cpg1.4.x/include/plugin_api.inc.php $
-  $Revision: 5969 $
-  $Author: gaugau $
-  $Date: 2009-05-21 22:03:33 +0200 (Do, 21 Mai 2009) $
-**********************************************/
-
-global $thisplugin;                     // Stores the current plugin being processed
-global $CPG_PLUGINS;                    // Stores all the plugins
-
-$CPG_PLUGINS = array();                 // Initialize the plugin array
-
-define('CPG_EXEC_ALL','all');           // Define CPG_EXEC_ALL
-define('CPG_EXEC_FIRST', 'first');      // Define CPG_EXEC_FIRST
-define('CPG_EXEC_NEW', 'new');          // Define CPG_EXEC_NEW
-
-if (!defined('IN_COPPERMINE')) { die('Not in Coppermine...');}
-
-// Store the table name in CONFIG
-$CONFIG['TABLE_PLUGINS']                = $CONFIG['TABLE_PREFIX'].'plugins';
-
-/**
- * Local plugin class
- * Processes all the plugins (filters,actions,install,uninstall)
- */
-class CPGPluginAPI {
-
-    /**
-     * CPGPluginAPI::load()
-     *
-     * Load all the plugins into the global CPG_PLUGINS array
-     *
-     * @param N/A
-     * @return N/A
-     **/
-
-    function load() {
-        global $CONFIG,$thisplugin,$USER_DATA,$CPG_PLUGINS,$lang_plugin_api;
-
-        // Get the installed plugins from the database and sort them by execution priority
-        $sql = 'select * from '.$CONFIG['TABLE_PLUGINS'].' order by priority asc;';
-        $result = cpg_db_query($sql);
-
-        // Exit if no plugins are installed
-        if (mysql_num_rows($result) == 0) {
-            return;
-        }
-
-        // Register page_end action for shutdown
-        register_shutdown_function('cpg_action_page_end');
-
-        // Register plugin_sleep action for shutdown
-        register_shutdown_function(array('CPGPluginAPI','sleep'));
-
-        // Used as a failsafe to keep plugins in order
-        $index = 0;
-
-        // Get the plugin properties from the database
-        while ($plugin = mysql_fetch_assoc($result)) {
-
-            // If configuration and codebase files aren't present, skip this plugin.
-            if (!file_exists('./plugins/'.$plugin['path'].'/codebase.php') &&
-                !file_exists('./plugins/'.$plugin['path'].'/configuration.php')) {
-                continue;
-            }
-
-            $plugin['index'] = $index;
-
-            $CPG_PLUGINS[$plugin['plugin_id']] = new CPGPlugin($plugin);
-
-            $thisplugin =& $CPG_PLUGINS[$plugin['plugin_id']];
-
-            include ('./plugins/'.$thisplugin->path.'/codebase.php');
-
-            // Check if plugin has a wakeup action
-            if (!($thisplugin->awake = CPGPluginAPI::action('plugin_wakeup',true,$thisplugin->plugin_id))) {
-
-
-                if ($CONFIG['log_mode']) {
-                    log_write("Couldn't wake plugin '".$thisplugin->name."' at ".date("F j, Y, g:i a"),CPG_GLOBAL_LOG);
-                }
-
-                $thisplugin->filters = array();
-                $thisplugin->actions = array();
-                if (!isset($thisplugin->error['desc']) || is_null($thisplugin->error['desc'])) {
-                    $thisplugin->error['desc'] = "Couldn't wake plugin '{$thisplugin->name}'";
-                }
-            }
-
-            $index++;
-        }
-        mysql_free_result($result);
-    }
-
-
-    /**
-     * CPGPluginAPI::installed()
-     *
-     * Check if a given plugin installed
-     *
-     * @param string $path_to_plugin_folder
-     * @return boolean TRUE/FALSE
-     **/
-
-    function installed( $plugin_folder ) {
-        global $CONFIG;
-
-        // Stores if a given plugin is installed or not
-        static $installed_array = array();
-
-        // If the plugin doesn't exist in the array get its information from the database
-        if (!isset($installed_array[$plugin_folder])) {
-            $sql = 'select plugin_id from '.$CONFIG['TABLE_PLUGINS'].' where '.
-                   'path="'.$plugin_folder.'";';
-
-            $result = cpg_db_query($sql);
-
-            // If the plugin isn't in the database store a false value in the array
-            if (mysql_num_rows($result) == 0) {
-                $installed_array[$plugin_folder] = false;
-                return false;
-            }
-
-            // It's installed! Get the plugin_id
-            $plugin = mysql_fetch_assoc($result);
-            mysql_free_result($result);
-
-            // Store the plugin_id in the database
-            $installed_array[$plugin_folder] = $plugin['plugin_id'];
-        }
-
-        // Return the plugin_id or false, if the plugin isn't installed
-        return $installed_array[$plugin_folder];
-    }
-
-
-    /**
-     * CPGPluginAPI::filter()
-     *
-     * Checks all the plugin's for a given filter key sends the value
-     *
-     * @param string $filter_name
-     * @param variant $value
-     * @param boolean [$execute_scope = 'all']
-     * @return $value
-     **/
-
-    function& filter( $key, $value, $execute_scope = CPG_EXEC_ALL ) {
-        global $CPG_PLUGINS,$CONFIG,$USER_DATA,$thisplugin;
-
-        if(is_numeric($execute_scope)) {
-
-            $plugin_id = $execute_scope;
-
-            // Reference current plugin to local scope
-            $thisplugin =& $CPG_PLUGINS[$plugin_id];
-
-            // Skip this plugin; the key isn't set
-            if (!isset($thisplugin->filters[$key]) || (!$thisplugin->awake)) {
-                 return $value;
-            }
-
-            // Get the filter's value from the plugin
-            $plugin_function = $thisplugin->filters[$key];
-
-            if (function_exists($plugin_function)) {
-                // Pass the value to the filter's function and get a value back
-                $value = call_user_func($plugin_function,$value);
-
-                // Copy back to global scope
-                //$CPG_PLUGINS[$plugin_id] = $thisplugin;
-            }
-
-            // Copy back to global scope
-            //$CPG_PLUGINS[$plugin_id] = $thisplugin;
-
-        // Loop through all the plugins
-        } else {
-            // Get all the plugin ids
-            $ids = array_keys($CPG_PLUGINS);
-
-            foreach($ids as $plugin_id) {
-
-                // Reference current plugin to local scope
-                $thisplugin =& $CPG_PLUGINS[$plugin_id];
-
-                // Get the filter's value from the plugin
-                if (!isset($thisplugin->filters[$key]) || ($key != 'plugin_wakeup' && !$thisplugin->awake)) {
-                    continue;
-                } else {
-                    $plugin_function = $thisplugin->filters[$key];
-                }
-
-                // Skip this plugin; Only looking for new plugins
-                if (($execute_scope == CPG_EXEC_NEW) && ($thisplugin->plugin_id != CPG_EXEC_NEW)) {
-                    continue;
-                }
-
-                if (function_exists($plugin_function)) {
-                    // Pass the value to the filter's function and get a value back
-                    $value = call_user_func($plugin_function,$value);
-
-                    // Copy back to global scope
-                    //$CPG_PLUGINS[$plugin_id] = $thisplugin;
-                }
-
-                // Copy back to global scope
-                //$CPG_PLUGINS[$plugin_id] = $thisplugin;
-
-                if ($execute_scope != CPG_EXEC_ALL) {
-                    return $value;
-                    break;
-                }
-            }
-        }
-
-        // Return the value back to Coppermine
-        return $value;
-    }
-
-
-    /**
-     * CPGPluginAPI::action()
-     *
-     * Checks all the plugin's for a given action key sends the value
-     *
-     * @param string $action_name
-     * @param variant $value
-     * @param boolean [$execute_scope = 'all']
-     * @return $value
-     **/
-
-    function& action( $key, $value, $execute_scope = CPG_EXEC_ALL ) {
-        global $CPG_PLUGINS,$CONFIG,$USER_DATA,$thisplugin;
-
-        if(is_numeric($execute_scope)) {
-
-            $plugin_id = $execute_scope;
-
-            // Reference current plugin to local scope
-            $thisplugin =& $CPG_PLUGINS[$plugin_id];
-
-            // Skip this plugin; the key isn't set
-            if (!isset($thisplugin->actions[$key]) || (!$thisplugin->awake && $key!='plugin_wakeup')) {
-
-                 return $value;
-            }
-
-            // Get the filter's value from the plugin
-            $plugin_function = $thisplugin->actions[$key];
-
-            if (function_exists($plugin_function)) {
-                // Pass the value to the filter's function and get a value back
-                $value = call_user_func($plugin_function,$value);
-
-                // Copy back to global scope
-                //$CPG_PLUGINS[$plugin_id] = $thisplugin;
-            }
-
-            // Copy back to global scope
-            //$CPG_PLUGINS[$plugin_id] = $thisplugin;
-
-        // Loop through all the plugins
-        } else {
-            // Get all the plugin ids
-            $ids = array_keys($CPG_PLUGINS);
-
-            foreach($ids as $plugin_id) {
-
-                // Copy current plugin to local scope
-                $thisplugin =& $CPG_PLUGINS[$plugin_id]; //changed to reference for PHP4 see note below
-
-                // Get the action's value from the plugin
-                if (!isset($thisplugin->actions[$key]) || ($key != 'plugin_wakeup' && !$thisplugin->awake)) {
-                    continue;
-                } else {
-                    $plugin_function = $thisplugin->actions[$key];
-                }
-
-                // Skip this plugin; Only looking for new plugins
-                if (($execute_scope == CPG_EXEC_NEW) && ($thisplugin->plugin_id != CPG_EXEC_NEW)) {
-                    continue;
-                }
-
-                if (function_exists($plugin_function)) {
-                    // Pass the value to the action's function and get a value back
-                    $value = call_user_func($plugin_function,$value);
-
-                     /**
-                      * Disabled by donnoman
-                      * when plugins cause any other underlying api hooks to be executed while
-                      * they are running, $thisplugin becomes invalid because it is reset
-                      * by the underlying calls to the plugin system. Therefore the results of copying
-                      * $thisplugin to the global scope is undefined.  We don't know what plugin/revision is contained in
-                      * $thisplugin.
-                      *
-                      * This shouldn't be a problem with PHP5 since objects are passed by reference by default
-                      * there shouldn't be much cause to write over a refreenced object with a new reference to the same object.
-                      *
-                      * PHP4 on the other hand copies objects, we should probably always pass the object by reference
-                      * which shouldn't cause PHP5 any greif, and will allow PHP4 to have the latest information from the plugin before
-                      * it's reference was changed to a different plugin.
-                      */
-                    // Copy back to global scope
-                    //$CPG_PLUGINS[$plugin_id] = $thisplugin;
-                }
-
-                if ($execute_scope != CPG_EXEC_ALL) {
-                    return $value;
-                    break;
-                }
-            }
-        }
-
-        // Return the value back to Coppermine
-        return $value;
-    }
-
-
-    /**
-     * CPGPluginAPI::wakeup()
-     *
-     * Wakes a plugin
-     *
-     * @param array $properties
-     * @return CPGPlugin $object
-     **/
-
-    function wakeup($properties) {
-        global $CONFIG,$USER_DATA,$CPG_PLUGINS,$thisplugin,$lang_plugin_api;
-
-        // Get a new instance of the plugin object
-        $CPG_PLUGINS[$properties['plugin_id']] = new CPGPlugin($properties);
-
-        $thisplugin =& $CPG_PLUGINS[$properties['plugin_id']];
-
-
-        // Include the plugin's code into Coppermine
-        include ('./plugins/'.$thisplugin->path.'/codebase.php');
-
-        return;
-    }
-
-
-    /**
-     * CPGPluginAPI::sleep()
-     *
-     * Executes 'plugin_sleep' action
-     *
-     * @param N/A
-     * @return N/A
-     **/
-
-    function sleep() {
-        global $CPG_PLUGINS,$thisplugin,$lang_plugin_api;
-
-        // Loop through all the plugins
-        foreach($CPG_PLUGINS as $thisplugin) {
-
-            // If the plugin has a sleep action, execute it
-            if (!CPGPluginAPI::action('plugin_sleep',true,$thisplugin->plugin_id)) {
-
-                if ($CONFIG['log_mode']) {
-                    log_write("Couldn't put plugin '".$thisplugin->name."' to sleep at ".date("F j, Y, g:i a"),CPG_GLOBAL_LOG);
-                }
-
-                // Couldn't put plugin to sleep...Die!
-                sprintf($lang_plugin_api['error_sleep'],$thisplugin->name);
-            }
-        }
-    }
-
-
-    /**
-     * CPGPluginAPI::install()
-     *
-     * Installs a plugin and executes 'plugin_install' action
-     *
-     * @param string $path_to_plugin_folder
-     * @return N/A
-     **/
-
-    function install($path) {
-        global $CONFIG,$thisplugin,$CPG_PLUGINS,$lang_plugin_api;
-
-        // If this plugin is already installed return true
-        if (CPGPluginAPI::installed($path)) {
-            return true;
-        }
-
-        // If the codebase and configuration.php file is missing return false
-        if (!file_exists('./plugins/'.$path.'/codebase.php') &&
-            !file_exists('./plugins/'.$path.'/configuration.php')) {
-            return false;
-        }
-
-        // Get the lowest priority level (highest number) from the database
-        $sql = 'select priority from '.$CONFIG['TABLE_PLUGINS'].' order by priority desc limit 1;';
-        $result = cpg_db_query($sql);
-
-        $data = mysql_fetch_assoc($result);
-        mysql_free_result($result);
-
-        // Set the execution priority to last
-        $priority = (is_null($data['priority'])) ? (0) : ($data['priority']+1);
-
-        // Grab the plugin's credits
-        include_once ('./plugins/'.$path.'/configuration.php');
-
-        // Create a generic plugin object
-        $thisplugin = new CPGPlugin(
-                                    array(
-                                          'plugin_id' => 'new',
-                                          'name' => $name,
-                                          'priority' => $priority,
-                                          'path' => $path
-                                         )
-                                    );
-        $thisplugin->awake = true;
-
-        // Grab plugin's code
-        include_once ('./plugins/'.$path.'/codebase.php');
-
-        // Copy it to the global scope
-        $CPG_PLUGINS['new'] = $thisplugin;
-
-        // If the plugin has an install action, execute it
-        $installed = CPGPluginAPI::action('plugin_install',true,CPG_EXEC_NEW);
-
-        // If $installed is boolean then plugin was installed; Return true
-        if (is_bool($installed) && $installed) {
-            $sql = 'insert into '.$CONFIG['TABLE_PLUGINS'].' '.
-                   '(name, path,priority) '.
-                   ' values '.
-                   '("'.addslashes($name).'",'.
-                   '"'.addslashes($path).'",'.
-                   $priority.');';
-            $result = cpg_db_query($sql);
-
-            if ($CONFIG['log_mode']) {
-                log_write("Plugin '".$name."' installed at ".date("F j, Y, g:i a"),CPG_GLOBAL_LOG);
-            }
-
-            return $installed;
-
-        // If $installed is an integer then the plugin needs to be configured; Return the value
-        } elseif (is_int($installed)) {
-
-            return $installed;
-
-        // Plugin wasn't installed; Display an error
-        } else {
-
-            // The plugin's install function failed
-            cpg_die(CRITICAL_ERROR,sprintf($lang_plugin_api['error_install'],$thisplugin->name),__FILE__,__LINE__);
-        }
-    }
-
-    /**
-     * CPGPluginAPI::uninstall()
-     *
-     * Uninstalls a plugin and executes 'plugin_uninstall' action
-     *
-     * @param integer $plugin_id
-     * @return N/A
-     **/
-
-    function uninstall($plugin_id) {
-        global $CONFIG,$USER_DATA,$CPG_PLUGINS,$thisplugin,$lang_plugin_api;
-
-        if (!isset($CPG_PLUGINS[$plugin_id])) {
-            return true;
-        }
-
-        // Grab the plugin from the global scope
-        $thisplugin =& $CPG_PLUGINS[$plugin_id];
-
-        // Grab the priority level, so you can shift the ones in the database
-        $priority = $thisplugin->priority;
-
-        // If plugin has an uninstall action, execute it
-        $uninstalled = CPGPluginAPI::action('plugin_uninstall',true,$plugin_id);
-
-        if (is_bool($uninstalled) && $uninstalled) {
-
-            $sql = 'delete from '.$CONFIG['TABLE_PLUGINS'].' '.
-                   'where plugin_id='.$plugin_id.';';
-            $result = cpg_db_query($sql);
-
-            // Shift the plugins up
-            $sql = 'update '.$CONFIG['TABLE_PLUGINS'].' set priority=priority-1 where priority>'.$priority.';';
-            $result = cpg_db_query($sql);
-
-            unset($CPG_PLUGINS[$plugin_id]);
-
-            if ($CONFIG['log_mode']) {
-                log_write("Plugin '".$name."' uninstalled at ".date("F j, Y, g:i a"),CPG_GLOBAL_LOG);
-            }
-
-            return true;
-
-        // If $uninstalled is an integer then the plugin needs to be cleaned up; Return the value
-        } elseif (is_numeric($uninstalled)) {
-
-            return $uninstalled;
-        } else {
-
-            // The plugin's uninstall action failed
-            cpg_die(CRITICAL_ERROR,sprintf($lang_plugin_api['error_uninstall'],$thisplugin->name),__FILE__,__LINE__);
-        }
-    }
-}
-
-
-/**
- * class CPGPlugin
- *
- * The plugin object
- **/
-
-class CPGPlugin {
-    var $actions = array();
-    var $filters = array();
-    var $awake = false;
-    var $error = array();
-
-    /**
-     * CPGPlugin()
-     *
-     * Initialize the plugin
-     *
-     * @param array $properties
-     * @return N/A
-     **/
-
-    function CPGPlugin($properties) {
-
-        // Store the properties in the object
-        foreach($properties as $key => $value) {
-            $this->$key = stripslashes($value);
-        }
-
-        $this->fullpath = './plugins/'.$this->path;
-    }
-
-    /**
-     * cpg_add_filter()
-     *
-     * Add a plugin filter
-     *
-     * @param string $action
-     * @param variant $value
-     * @return N/A
-     **/
-
-    function add_filter($key,$value) {
-        if (!isset($this->filters[$key])) {
-            $this->filters[$key] = $value;
-        }
-    }
-
-    /**
-     * cpg_delete_filter()
-     *
-     * Delete a plugin filter
-     *
-     * @param integer $plugin_id
-     * @return N/A
-     **/
-
-    function delete_filter($key) {
-        if (isset($this->filters[$key])) {
-            unset($this->filters[$key]);
-        }
-    }
-
-    /**
-     * cpg_add_action()
-     *
-     * Add a plugin action
-     *
-     * @param string $action
-     * @param variant $value
-     * @return N/A
-     **/
-
-    function add_action($key,$value) {
-        if (!isset($this->actions[$key])) {
-            $this->actions[$key] = $value;
-        }
-    }
-
-    /**
-     * cpg_delete_action()
-     *
-     * Delete a plugin action
-     *
-     * @param integer $plugin_id
-     * @return N/A
-     **/
-
-    function delete_action($key) {
-        if (isset($this->actions[$key])) {
-            unset($this->actions[$key]);
-        }
-    }
-}
-
-/**
- * cpg_get_scope()
- *
- * Get the current plugin from the scope
- * Sets global variable $thisplugin to return value
- *
- * @param integer [$plugin_id = null]
- * @return CPGPlugin $object
- **/
-
-function& cpg_get_scope( $plugin_id = null ) {
-    global $CPG_PLUGINS,$thisplugin;
-
-    if (!is_null($plugin_id)) {
-        return $CPG_PLUGINS[$plugin_id];
-    } else {
-        $plugin_id = (int) $_GET['scope'];
-        $thisplugin =& $CPG_PLUGINS[$plugin_id];
-        return $CPG_PLUGINS[$plugin_id];
-    }
-}
-
-/**
- * cpg_action_page_end()
- *
- * Executes page_end action on all plugins
- *
- * @param null
- * @return N/A
- **/
-
-function cpg_action_page_end() {
-    CPGPluginAPI::action('page_end',null);
-}
-
-/**
- * cpg_filter_page_html()
- *
- * Executes page_html filter on all plugins
- *
- * @param string HTML
- * @return string HTML
- **/
-
-function& cpg_filter_page_html( &$html ) {
-    return CPGPluginAPI::filter('page_html',$html);
-}
-
-/**
- * cpg_get_dir_list()
- *
- * Returns all the subdirecties in a given folder
- *
- * @param string $path_to_folder
- * @return array $subdirectories
- **/
-
-function& cpg_get_dir_list($folder) {
-    global $CONFIG;
-    $dirs = array();
-
-    $dir = opendir($folder);
-    while (($file = readdir($dir)) !== false) {
-        if (is_dir($folder . $file) && $file != '.' && $file != '..') {
-                $dirs[] = $file;
-        }
-    }
-    closedir($dir);
-
-    natcasesort($dirs);
-    return $dirs;
-}
-?>
+<?php
+/*************************
+  Coppermine Photo Gallery
+  ************************
+  Copyright (c) 2003-2009 Coppermine Dev Team
+  v1.1 originally written by Gregory DEMAR
+
+  This program is free software; you can redistribute it and/or modify
+  it under the terms of the GNU General Public License version 3
+  as published by the Free Software Foundation.
+  
+  ********************************************
+  Coppermine version: 1.4.25
+  $HeadURL: https://coppermine.svn.sourceforge.net/svnroot/coppermine/trunk/cpg1.4.x/include/plugin_api.inc.php $
+  $Revision: 6173 $
+  $Author: nibbler999 $
+  $Date: 2009-06-15 20:54:01 +0200 (Mo, 15 Jun 2009) $
+**********************************************/
+
+global $thisplugin;                     // Stores the current plugin being processed
+global $CPG_PLUGINS;                    // Stores all the plugins
+
+$CPG_PLUGINS = array();                 // Initialize the plugin array
+
+define('CPG_EXEC_ALL','all');           // Define CPG_EXEC_ALL
+define('CPG_EXEC_FIRST', 'first');      // Define CPG_EXEC_FIRST
+define('CPG_EXEC_NEW', 'new');          // Define CPG_EXEC_NEW
+
+if (!defined('IN_COPPERMINE')) { die('Not in Coppermine...');}
+
+// Store the table name in CONFIG
+$CONFIG['TABLE_PLUGINS']                = $CONFIG['TABLE_PREFIX'].'plugins';
+
+/**
+ * Local plugin class
+ * Processes all the plugins (filters,actions,install,uninstall)
+ */
+class CPGPluginAPI {
+
+    /**
+     * CPGPluginAPI::load()
+     *
+     * Load all the plugins into the global CPG_PLUGINS array
+     *
+     * @param N/A
+     * @return N/A
+     **/
+
+    function load() {
+        global $CONFIG,$thisplugin,$USER_DATA,$CPG_PLUGINS,$lang_plugin_api;
+
+        // Get the installed plugins from the database and sort them by execution priority
+        $sql = 'select * from '.$CONFIG['TABLE_PLUGINS'].' order by priority asc;';
+        $result = cpg_db_query($sql);
+
+        // Exit if no plugins are installed
+        if (mysql_num_rows($result) == 0) {
+            return;
+        }
+
+        // Register page_end action for shutdown
+        register_shutdown_function('cpg_action_page_end');
+
+        // Register plugin_sleep action for shutdown
+        register_shutdown_function('pluginapi_sleep_wrapper');
+
+        // Used as a failsafe to keep plugins in order
+        $index = 0;
+
+        // Get the plugin properties from the database
+        while ($plugin = mysql_fetch_assoc($result)) {
+
+            // If configuration and codebase files aren't present, skip this plugin.
+            if (!file_exists('./plugins/'.$plugin['path'].'/codebase.php') &&
+                !file_exists('./plugins/'.$plugin['path'].'/configuration.php')) {
+                continue;
+            }
+
+            $plugin['index'] = $index;
+
+            $CPG_PLUGINS[$plugin['plugin_id']] = new CPGPlugin($plugin);
+
+            $thisplugin =& $CPG_PLUGINS[$plugin['plugin_id']];
+
+            include ('./plugins/'.$thisplugin->path.'/codebase.php');
+
+            // Check if plugin has a wakeup action
+            if (!($thisplugin->awake = CPGPluginAPI::action('plugin_wakeup',true,$thisplugin->plugin_id))) {
+
+
+                if ($CONFIG['log_mode']) {
+                    log_write("Couldn't wake plugin '".$thisplugin->name."' at ".date("F j, Y, g:i a"),CPG_GLOBAL_LOG);
+                }
+
+                $thisplugin->filters = array();
+                $thisplugin->actions = array();
+                if (!isset($thisplugin->error['desc']) || is_null($thisplugin->error['desc'])) {
+                    $thisplugin->error['desc'] = "Couldn't wake plugin '{$thisplugin->name}'";
+                }
+            }
+
+            $index++;
+        }
+        mysql_free_result($result);
+    }
+
+
+    /**
+     * CPGPluginAPI::installed()
+     *
+     * Check if a given plugin installed
+     *
+     * @param string $path_to_plugin_folder
+     * @return boolean TRUE/FALSE
+     **/
+
+    function installed( $plugin_folder ) {
+        global $CONFIG;
+
+        // Stores if a given plugin is installed or not
+        static $installed_array = array();
+
+        // If the plugin doesn't exist in the array get its information from the database
+        if (!isset($installed_array[$plugin_folder])) {
+            $sql = 'select plugin_id from '.$CONFIG['TABLE_PLUGINS'].' where '.
+                   'path="'.$plugin_folder.'";';
+
+            $result = cpg_db_query($sql);
+
+            // If the plugin isn't in the database store a false value in the array
+            if (mysql_num_rows($result) == 0) {
+                $installed_array[$plugin_folder] = false;
+                return false;
+            }
+
+            // It's installed! Get the plugin_id
+            $plugin = mysql_fetch_assoc($result);
+            mysql_free_result($result);
+
+            // Store the plugin_id in the database
+            $installed_array[$plugin_folder] = $plugin['plugin_id'];
+        }
+
+        // Return the plugin_id or false, if the plugin isn't installed
+        return $installed_array[$plugin_folder];
+    }
+
+
+    /**
+     * CPGPluginAPI::filter()
+     *
+     * Checks all the plugin's for a given filter key sends the value
+     *
+     * @param string $filter_name
+     * @param variant $value
+     * @param boolean [$execute_scope = 'all']
+     * @return $value
+     **/
+
+    function& filter( $key, $value, $execute_scope = CPG_EXEC_ALL ) {
+        global $CPG_PLUGINS,$CONFIG,$USER_DATA,$thisplugin;
+
+        if(is_numeric($execute_scope)) {
+
+            $plugin_id = $execute_scope;
+
+            // Reference current plugin to local scope
+            $thisplugin =& $CPG_PLUGINS[$plugin_id];
+
+            // Skip this plugin; the key isn't set
+            if (!isset($thisplugin->filters[$key]) || (!$thisplugin->awake)) {
+                 return $value;
+            }
+
+            // Get the filter's value from the plugin
+            $plugin_function = $thisplugin->filters[$key];
+
+            if (function_exists($plugin_function)) {
+                // Pass the value to the filter's function and get a value back
+                $value = call_user_func($plugin_function,$value);
+
+                // Copy back to global scope
+                //$CPG_PLUGINS[$plugin_id] = $thisplugin;
+            }
+
+            // Copy back to global scope
+            //$CPG_PLUGINS[$plugin_id] = $thisplugin;
+
+        // Loop through all the plugins
+        } else {
+            // Get all the plugin ids
+            $ids = array_keys($CPG_PLUGINS);
+
+            foreach($ids as $plugin_id) {
+
+                // Reference current plugin to local scope
+                $thisplugin =& $CPG_PLUGINS[$plugin_id];
+
+                // Get the filter's value from the plugin
+                if (!isset($thisplugin->filters[$key]) || ($key != 'plugin_wakeup' && !$thisplugin->awake)) {
+                    continue;
+                } else {
+                    $plugin_function = $thisplugin->filters[$key];
+                }
+
+                // Skip this plugin; Only looking for new plugins
+                if (($execute_scope == CPG_EXEC_NEW) && ($thisplugin->plugin_id != CPG_EXEC_NEW)) {
+                    continue;
+                }
+
+                if (function_exists($plugin_function)) {
+                    // Pass the value to the filter's function and get a value back
+                    $value = call_user_func($plugin_function,$value);
+
+                    // Copy back to global scope
+                    //$CPG_PLUGINS[$plugin_id] = $thisplugin;
+                }
+
+                // Copy back to global scope
+                //$CPG_PLUGINS[$plugin_id] = $thisplugin;
+
+                if ($execute_scope != CPG_EXEC_ALL) {
+                    return $value;
+                    break;
+                }
+            }
+        }
+
+        // Return the value back to Coppermine
+        return $value;
+    }
+
+
+    /**
+     * CPGPluginAPI::action()
+     *
+     * Checks all the plugin's for a given action key sends the value
+     *
+     * @param string $action_name
+     * @param variant $value
+     * @param boolean [$execute_scope = 'all']
+     * @return $value
+     **/
+
+    function& action( $key, $value, $execute_scope = CPG_EXEC_ALL ) {
+        global $CPG_PLUGINS,$CONFIG,$USER_DATA,$thisplugin;
+
+        if(is_numeric($execute_scope)) {
+
+            $plugin_id = $execute_scope;
+
+            // Reference current plugin to local scope
+            $thisplugin =& $CPG_PLUGINS[$plugin_id];
+
+            // Skip this plugin; the key isn't set
+            if (!isset($thisplugin->actions[$key]) || (!$thisplugin->awake && $key!='plugin_wakeup')) {
+
+                 return $value;
+            }
+
+            // Get the filter's value from the plugin
+            $plugin_function = $thisplugin->actions[$key];
+
+            if (function_exists($plugin_function)) {
+                // Pass the value to the filter's function and get a value back
+                $value = call_user_func($plugin_function,$value);
+
+                // Copy back to global scope
+                //$CPG_PLUGINS[$plugin_id] = $thisplugin;
+            }
+
+            // Copy back to global scope
+            //$CPG_PLUGINS[$plugin_id] = $thisplugin;
+
+        // Loop through all the plugins
+        } else {
+            // Get all the plugin ids
+            $ids = array_keys($CPG_PLUGINS);
+
+            foreach($ids as $plugin_id) {
+
+                // Copy current plugin to local scope
+                $thisplugin =& $CPG_PLUGINS[$plugin_id]; //changed to reference for PHP4 see note below
+
+                // Get the action's value from the plugin
+                if (!isset($thisplugin->actions[$key]) || ($key != 'plugin_wakeup' && !$thisplugin->awake)) {
+                    continue;
+                } else {
+                    $plugin_function = $thisplugin->actions[$key];
+                }
+
+                // Skip this plugin; Only looking for new plugins
+                if (($execute_scope == CPG_EXEC_NEW) && ($thisplugin->plugin_id != CPG_EXEC_NEW)) {
+                    continue;
+                }
+
+                if (function_exists($plugin_function)) {
+                    // Pass the value to the action's function and get a value back
+                    $value = call_user_func($plugin_function,$value);
+
+                     /**
+                      * Disabled by donnoman
+                      * when plugins cause any other underlying api hooks to be executed while
+                      * they are running, $thisplugin becomes invalid because it is reset
+                      * by the underlying calls to the plugin system. Therefore the results of copying
+                      * $thisplugin to the global scope is undefined.  We don't know what plugin/revision is contained in
+                      * $thisplugin.
+                      *
+                      * This shouldn't be a problem with PHP5 since objects are passed by reference by default
+                      * there shouldn't be much cause to write over a refreenced object with a new reference to the same object.
+                      *
+                      * PHP4 on the other hand copies objects, we should probably always pass the object by reference
+                      * which shouldn't cause PHP5 any greif, and will allow PHP4 to have the latest information from the plugin before
+                      * it's reference was changed to a different plugin.
+                      */
+                    // Copy back to global scope
+                    //$CPG_PLUGINS[$plugin_id] = $thisplugin;
+                }
+
+                if ($execute_scope != CPG_EXEC_ALL) {
+                    return $value;
+                    break;
+                }
+            }
+        }
+
+        // Return the value back to Coppermine
+        return $value;
+    }
+
+
+    /**
+     * CPGPluginAPI::wakeup()
+     *
+     * Wakes a plugin
+     *
+     * @param array $properties
+     * @return CPGPlugin $object
+     **/
+
+    function wakeup($properties) {
+        global $CONFIG,$USER_DATA,$CPG_PLUGINS,$thisplugin,$lang_plugin_api;
+
+        // Get a new instance of the plugin object
+        $CPG_PLUGINS[$properties['plugin_id']] = new CPGPlugin($properties);
+
+        $thisplugin =& $CPG_PLUGINS[$properties['plugin_id']];
+
+
+        // Include the plugin's code into Coppermine
+        include ('./plugins/'.$thisplugin->path.'/codebase.php');
+
+        return;
+    }
+
+
+    /**
+     * CPGPluginAPI::sleep()
+     *
+     * Executes 'plugin_sleep' action
+     *
+     * @param N/A
+     * @return N/A
+     **/
+
+    function sleep() {
+        global $CPG_PLUGINS,$thisplugin,$lang_plugin_api;
+
+        // Loop through all the plugins
+        foreach($CPG_PLUGINS as $thisplugin) {
+
+            // If the plugin has a sleep action, execute it
+            if (!CPGPluginAPI::action('plugin_sleep',true,$thisplugin->plugin_id)) {
+
+                if ($CONFIG['log_mode']) {
+                    log_write("Couldn't put plugin '".$thisplugin->name."' to sleep at ".date("F j, Y, g:i a"),CPG_GLOBAL_LOG);
+                }
+
+                // Couldn't put plugin to sleep...Die!
+                sprintf($lang_plugin_api['error_sleep'],$thisplugin->name);
+            }
+        }
+    }
+
+
+    /**
+     * CPGPluginAPI::install()
+     *
+     * Installs a plugin and executes 'plugin_install' action
+     *
+     * @param string $path_to_plugin_folder
+     * @return N/A
+     **/
+
+    function install($path) {
+        global $CONFIG,$thisplugin,$CPG_PLUGINS,$lang_plugin_api;
+
+        // If this plugin is already installed return true
+        if (CPGPluginAPI::installed($path)) {
+            return true;
+        }
+
+        // If the codebase and configuration.php file is missing return false
+        if (!file_exists('./plugins/'.$path.'/codebase.php') &&
+            !file_exists('./plugins/'.$path.'/configuration.php')) {
+            return false;
+        }
+
+        // Get the lowest priority level (highest number) from the database
+        $sql = 'select priority from '.$CONFIG['TABLE_PLUGINS'].' order by priority desc limit 1;';
+        $result = cpg_db_query($sql);
+
+        $data = mysql_fetch_assoc($result);
+        mysql_free_result($result);
+
+        // Set the execution priority to last
+        $priority = (is_null($data['priority'])) ? (0) : ($data['priority']+1);
+
+        // Grab the plugin's credits
+        include_once ('./plugins/'.$path.'/configuration.php');
+
+        // Create a generic plugin object
+        $thisplugin = new CPGPlugin(
+                                    array(
+                                          'plugin_id' => 'new',
+                                          'name' => $name,
+                                          'priority' => $priority,
+                                          'path' => $path
+                                         )
+                                    );
+        $thisplugin->awake = true;
+
+        // Grab plugin's code
+        include_once ('./plugins/'.$path.'/codebase.php');
+
+        // Copy it to the global scope
+        $CPG_PLUGINS['new'] = $thisplugin;
+
+        // If the plugin has an install action, execute it
+        $installed = CPGPluginAPI::action('plugin_install',true,CPG_EXEC_NEW);
+
+        // If $installed is boolean then plugin was installed; Return true
+        if (is_bool($installed) && $installed) {
+            $sql = 'insert into '.$CONFIG['TABLE_PLUGINS'].' '.
+                   '(name, path,priority) '.
+                   ' values '.
+                   '("'.addslashes($name).'",'.
+                   '"'.addslashes($path).'",'.
+                   $priority.');';
+            $result = cpg_db_query($sql);
+
+            if ($CONFIG['log_mode']) {
+                log_write("Plugin '".$name."' installed at ".date("F j, Y, g:i a"),CPG_GLOBAL_LOG);
+            }
+
+            return $installed;
+
+        // If $installed is an integer then the plugin needs to be configured; Return the value
+        } elseif (is_int($installed)) {
+
+            return $installed;
+
+        // Plugin wasn't installed; Display an error
+        } else {
+
+            // The plugin's install function failed
+            cpg_die(CRITICAL_ERROR,sprintf($lang_plugin_api['error_install'],$thisplugin->name),__FILE__,__LINE__);
+        }
+    }
+
+    /**
+     * CPGPluginAPI::uninstall()
+     *
+     * Uninstalls a plugin and executes 'plugin_uninstall' action
+     *
+     * @param integer $plugin_id
+     * @return N/A
+     **/
+
+    function uninstall($plugin_id) {
+        global $CONFIG,$USER_DATA,$CPG_PLUGINS,$thisplugin,$lang_plugin_api;
+
+        if (!isset($CPG_PLUGINS[$plugin_id])) {
+            return true;
+        }
+
+        // Grab the plugin from the global scope
+        $thisplugin =& $CPG_PLUGINS[$plugin_id];
+
+        // Grab the priority level, so you can shift the ones in the database
+        $priority = $thisplugin->priority;
+
+        // If plugin has an uninstall action, execute it
+        $uninstalled = CPGPluginAPI::action('plugin_uninstall',true,$plugin_id);
+
+        if (is_bool($uninstalled) && $uninstalled) {
+
+            $sql = 'delete from '.$CONFIG['TABLE_PLUGINS'].' '.
+                   'where plugin_id='.$plugin_id.';';
+            $result = cpg_db_query($sql);
+
+            // Shift the plugins up
+            $sql = 'update '.$CONFIG['TABLE_PLUGINS'].' set priority=priority-1 where priority>'.$priority.';';
+            $result = cpg_db_query($sql);
+
+            unset($CPG_PLUGINS[$plugin_id]);
+
+            if ($CONFIG['log_mode']) {
+                log_write("Plugin '".$name."' uninstalled at ".date("F j, Y, g:i a"),CPG_GLOBAL_LOG);
+            }
+
+            return true;
+
+        // If $uninstalled is an integer then the plugin needs to be cleaned up; Return the value
+        } elseif (is_numeric($uninstalled)) {
+
+            return $uninstalled;
+        } else {
+
+            // The plugin's uninstall action failed
+            cpg_die(CRITICAL_ERROR,sprintf($lang_plugin_api['error_uninstall'],$thisplugin->name),__FILE__,__LINE__);
+        }
+    }
+}
+
+
+/**
+ * class CPGPlugin
+ *
+ * The plugin object
+ **/
+
+class CPGPlugin {
+    var $actions = array();
+    var $filters = array();
+    var $awake = false;
+    var $error = array();
+
+    /**
+     * CPGPlugin()
+     *
+     * Initialize the plugin
+     *
+     * @param array $properties
+     * @return N/A
+     **/
+
+    function CPGPlugin($properties) {
+
+        // Store the properties in the object
+        foreach($properties as $key => $value) {
+            $this->$key = stripslashes($value);
+        }
+
+        $this->fullpath = './plugins/'.$this->path;
+    }
+
+    /**
+     * cpg_add_filter()
+     *
+     * Add a plugin filter
+     *
+     * @param string $action
+     * @param variant $value
+     * @return N/A
+     **/
+
+    function add_filter($key,$value) {
+        if (!isset($this->filters[$key])) {
+            $this->filters[$key] = $value;
+        }
+    }
+
+    /**
+     * cpg_delete_filter()
+     *
+     * Delete a plugin filter
+     *
+     * @param integer $plugin_id
+     * @return N/A
+     **/
+
+    function delete_filter($key) {
+        if (isset($this->filters[$key])) {
+            unset($this->filters[$key]);
+        }
+    }
+
+    /**
+     * cpg_add_action()
+     *
+     * Add a plugin action
+     *
+     * @param string $action
+     * @param variant $value
+     * @return N/A
+     **/
+
+    function add_action($key,$value) {
+        if (!isset($this->actions[$key])) {
+            $this->actions[$key] = $value;
+        }
+    }
+
+    /**
+     * cpg_delete_action()
+     *
+     * Delete a plugin action
+     *
+     * @param integer $plugin_id
+     * @return N/A
+     **/
+
+    function delete_action($key) {
+        if (isset($this->actions[$key])) {
+            unset($this->actions[$key]);
+        }
+    }
+}
+
+/**
+ * cpg_get_scope()
+ *
+ * Get the current plugin from the scope
+ * Sets global variable $thisplugin to return value
+ *
+ * @param integer [$plugin_id = null]
+ * @return CPGPlugin $object
+ **/
+
+function& cpg_get_scope( $plugin_id = null ) {
+    global $CPG_PLUGINS,$thisplugin;
+
+    if (!is_null($plugin_id)) {
+        return $CPG_PLUGINS[$plugin_id];
+    } else {
+        $plugin_id = (int) $_GET['scope'];
+        $thisplugin =& $CPG_PLUGINS[$plugin_id];
+        return $CPG_PLUGINS[$plugin_id];
+    }
+}
+
+/**
+ * cpg_action_page_end()
+ *
+ * Executes page_end action on all plugins
+ *
+ * @param null
+ * @return N/A
+ **/
+
+function cpg_action_page_end() {
+    CPGPluginAPI::action('page_end',null);
+}
+
+/**
+ * cpg_filter_page_html()
+ *
+ * Executes page_html filter on all plugins
+ *
+ * @param string HTML
+ * @return string HTML
+ **/
+
+function& cpg_filter_page_html( &$html ) {
+    return CPGPluginAPI::filter('page_html',$html);
+}
+
+/**
+ * cpg_get_dir_list()
+ *
+ * Returns all the subdirecties in a given folder
+ *
+ * @param string $path_to_folder
+ * @return array $subdirectories
+ **/
+
+function& cpg_get_dir_list($folder) {
+    global $CONFIG;
+    $dirs = array();
+
+    $dir = opendir($folder);
+    while (($file = readdir($dir)) !== false) {
+        if (is_dir($folder . $file) && $file != '.' && $file != '..') {
+                $dirs[] = $file;
+        }
+    }
+    closedir($dir);
+
+    natcasesort($dirs);
+    return $dirs;
+}
+
+function pluginapi_sleep_wrapper() {
+    CPGPluginAPI::sleep();
+} 
+
+?>
diff -x .svn -aruN 1.4.24.src/include/search.inc.php 1.4.25.src/include/search.inc.php
--- 1.4.24.src/include/search.inc.php	2009-05-21 15:03:09.000000000 -0500
+++ 1.4.25.src/include/search.inc.php	2009-05-26 11:25:44.000000000 -0500
@@ -1,89 +1,89 @@
-<?php
-/*************************
-  Coppermine Photo Gallery
-  ************************
-  Copyright (c) 2003-2009 Coppermine Dev Team
-  v1.1 originally written by Gregory DEMAR
-
-  This program is free software; you can redistribute it and/or modify
-  it under the terms of the GNU General Public License version 3
-  as published by the Free Software Foundation.
-  
-  ********************************************
-  Coppermine version: 1.4.24
-  $HeadURL: https://coppermine.svn.sourceforge.net/svnroot/coppermine/trunk/cpg1.4.x/include/search.inc.php $
-  $Revision: 5969 $
-  $Author: gaugau $
-  $Date: 2009-05-21 22:03:33 +0200 (Do, 21 Mai 2009) $
-**********************************************/
-
-if (!defined('IN_COPPERMINE')) { die('Not in Coppermine...');}
-
-// encoding match for workaround
-
-$multibyte_charset = 'utf-8, big5, shift_jis, euc-kr, gb2312';
-
-$charset = $CONFIG['charset'] == 'language file' ? $GLOBALS['lang_charset'] : $CONFIG['charset'];
-
-$sort_array = array('na' => 'filename ASC', 'nd' => 'filename DESC', 'ta'=>'title ASC', 'td'=>'title DESC', 'da' => 'pid ASC', 'dd' => 'pid DESC', 'pa' => 'position ASC', 'pd' => 'position DESC');
-$sort_code = isset($USER['sort'])? $USER['sort'] : $CONFIG['default_sort_order'];
-$sort_order = isset($sort_array[$sort_code]) ? $sort_array[$sort_code] : $sort_array[$CONFIG['default_sort_order']];
-
-$allowed = array('title', 'caption', 'keywords', 'owner_name', 'filename', 'pic_raw_ip', 'pic_hrd_ip', 'user1', 'user2', 'user3', 'user4');
-
-$mb_charset = stristr($multibyte_charset, $charset);
-
-$search_string = preg_replace('/&.*;/i', '', $search_string);
-
-if (!$mb_charset)
-        $search_string = preg_replace('/[^0-9a-z %]/i', '', $search_string);
-
-if (!isset($USER['search']['params'])){
-        $USER['search']['params']['title'] = $USER['search']['params']['caption'] = $USER['search']['params']['keywords'] = $USER['search']['params']['filename'] = 1;
-}
-
-if (isset($_GET['album']) && $_GET['album'] == 'search')
-        $_POST = $USER['search'];
-
-
-$type = $_POST['type'] == 'AND' ? " AND " : " OR ";
-
-if (isset($_POST['params']['pic_raw_ip'])) $_POST['params']['pic_hdr_ip']  = $_POST['params']['pic_raw_ip'];
-
-if ($search_string && isset($_POST['params'])) {
-        $sql = "SELECT * FROM {$CONFIG['TABLE_PICTURES']} WHERE ";
-        $search_string = strtr($search_string, array('_' => '\_', '%' => '\%', '*' => '%'));
-        $split_search = explode(' ', $search_string);
-        $sections = array();
-
-        foreach($split_search as $word) {
-          $word = addslashes($word);
-          $fields = array();
-
-          foreach ($_POST['params'] as $param => $value){
-            if (in_array($param, $allowed))$fields[] = "$param LIKE '%$word%'";
-          }
-          $sections[] = '(' . implode(' OR ', $fields) . ')';
-        }
-
-       $sql .= '(' . implode($type, $sections) . ')';
-
-        $sql .= $_POST['newer_than'] ? ' AND ctime > UNIX_TIMESTAMP() - '.( (int) $_POST['newer_than'] * 60*60*24) : '';
-        $sql .= $_POST['older_than'] ? ' AND ctime < UNIX_TIMESTAMP() - '.( (int) $_POST['older_than'] * 60*60*24) : '';
-        $sql .=  " $ALBUM_SET AND approved = 'YES'";
-
-        $temp = str_replace('SELECT *', 'SELECT COUNT(*)', $sql);
-        $result = cpg_db_query($temp);
-        $row = mysql_fetch_row($result);
-        $count = $row[0];
-
-        $sql .= " ORDER BY $sort_order $limit";
-        $result = cpg_db_query($sql);
-        $rowset = cpg_db_fetch_rowset($result);
-        mysql_free_result($result);
-
-        if ($set_caption) build_caption($rowset);
-
-
-}
-?>
+<?php
+/*************************
+  Coppermine Photo Gallery
+  ************************
+  Copyright (c) 2003-2009 Coppermine Dev Team
+  v1.1 originally written by Gregory DEMAR
+
+  This program is free software; you can redistribute it and/or modify
+  it under the terms of the GNU General Public License version 3
+  as published by the Free Software Foundation.
+  
+  ********************************************
+  Coppermine version: 1.4.25
+  $HeadURL: https://coppermine.svn.sourceforge.net/svnroot/coppermine/trunk/cpg1.4.x/include/search.inc.php $
+  $Revision: 5997 $
+  $Author: gaugau $
+  $Date: 2009-05-26 08:43:24 +0200 (Di, 26 Mai 2009) $
+**********************************************/
+
+if (!defined('IN_COPPERMINE')) { die('Not in Coppermine...');}
+
+// encoding match for workaround
+
+$multibyte_charset = 'utf-8, big5, shift_jis, euc-kr, gb2312';
+
+$charset = $CONFIG['charset'] == 'language file' ? $GLOBALS['lang_charset'] : $CONFIG['charset'];
+
+$sort_array = array('na' => 'filename ASC', 'nd' => 'filename DESC', 'ta'=>'title ASC', 'td'=>'title DESC', 'da' => 'pid ASC', 'dd' => 'pid DESC', 'pa' => 'position ASC', 'pd' => 'position DESC');
+$sort_code = isset($USER['sort'])? $USER['sort'] : $CONFIG['default_sort_order'];
+$sort_order = isset($sort_array[$sort_code]) ? $sort_array[$sort_code] : $sort_array[$CONFIG['default_sort_order']];
+
+$allowed = array('title', 'caption', 'keywords', 'owner_name', 'filename', 'pic_raw_ip', 'pic_hrd_ip', 'user1', 'user2', 'user3', 'user4');
+
+$mb_charset = stristr($multibyte_charset, $charset);
+
+$search_string = preg_replace('/&.*;/i', '', $search_string);
+
+if (!$mb_charset)
+        $search_string = preg_replace('/[^0-9a-z %]/i', '', $search_string);
+
+if (!isset($USER['search']['params'])){
+        $USER['search']['params']['title'] = $USER['search']['params']['caption'] = $USER['search']['params']['keywords'] = $USER['search']['params']['filename'] = 1;
+}
+
+if (isset($_GET['album']) && $_GET['album'] == 'search')
+        $_POST = $USER['search'];
+
+
+$type = $_POST['type'] == 'AND' ? " AND " : " OR ";
+
+if (isset($_POST['params']['pic_raw_ip'])) $_POST['params']['pic_hdr_ip']  = $_POST['params']['pic_raw_ip'];
+
+if ($search_string && isset($_POST['params'])) {
+        $sql = "SELECT * FROM {$CONFIG['TABLE_PICTURES']} WHERE ";
+        $search_string = strtr($search_string, array('_' => '\_', '%' => '\%', '*' => '%'));
+        $split_search = explode(' ', $search_string);
+        $sections = array();
+
+        foreach($split_search as $word) {
+          $word = addslashes($word);
+          $fields = array();
+
+          foreach ($_POST['params'] as $param => $value){
+            if (in_array($param, $allowed))$fields[] = "$param LIKE '%$word%'";
+          }
+          $sections[] = '(' . implode(' OR ', $fields) . ')';
+        }
+
+       $sql .= '(' . implode($type, $sections) . ')';
+
+        $sql .= $_POST['newer_than'] ? ' AND ctime > UNIX_TIMESTAMP() - '.( (int) $_POST['newer_than'] * 60*60*24) : '';
+        $sql .= $_POST['older_than'] ? ' AND ctime < UNIX_TIMESTAMP() - '.( (int) $_POST['older_than'] * 60*60*24) : '';
+        $sql .=  " $ALBUM_SET AND approved = 'YES'";
+
+        $temp = str_replace('SELECT *', 'SELECT COUNT(*)', $sql);
+        $result = cpg_db_query($temp);
+        $row = mysql_fetch_row($result);
+        $count = $row[0];
+
+        $sql .= " ORDER BY $sort_order $limit";
+        $result = cpg_db_query($sql);
+        $rowset = cpg_db_fetch_rowset($result);
+        mysql_free_result($result);
+
+        if ($set_caption) build_caption($rowset);
+
+
+}
+?>
diff -x .svn -aruN 1.4.24.src/include/select_lang.inc.php 1.4.25.src/include/select_lang.inc.php
--- 1.4.24.src/include/select_lang.inc.php	2009-05-21 15:03:09.000000000 -0500
+++ 1.4.25.src/include/select_lang.inc.php	2009-05-26 11:25:44.000000000 -0500
@@ -1,161 +1,161 @@
-<?php
-/*************************
-  Coppermine Photo Gallery
-  ************************
-  Copyright (c) 2003-2009 Coppermine Dev Team
-  v1.1 originally written by Gregory DEMAR
-
-  This program is free software; you can redistribute it and/or modify
-  it under the terms of the GNU General Public License version 3
-  as published by the Free Software Foundation.
-  
-  ********************************************
-  Coppermine version: 1.4.24
-  $HeadURL: https://coppermine.svn.sourceforge.net/svnroot/coppermine/trunk/cpg1.4.x/include/select_lang.inc.php $
-  $Revision: 5969 $
-  $Author: gaugau $
-  $Date: 2009-05-21 22:03:33 +0200 (Do, 21 Mai 2009) $
-**********************************************/
-
-/**
- * phpMyAdmin Language Loading File
- */
-
-/**
- * All the supported languages have to be listed in the array below.
- * 1. The key must be the "official" ISO 639 language code and, if required,
- *     the dialect code. It can also contains some informations about the
- *     charset (see the Russian case).
- * 2. The first of the values associated to the key is used in a regular
- *     expression to find some keywords corresponding to the language inside two
- *     environment variables.
- *     These values contains:
- *     - the "official" ISO language code and, if required, the dialect code
- *       also ('bu' for Bulgarian, 'fr([-_][[:alpha:]]{2})?' for all French
- *       dialects, 'zh[-_]tw' for Chinese traditional...);
- *     - the '|' character (it means 'OR');
- *     - the full language name.
- * 3. The second values associated to the key is the name of the file to load
- *     without the '.php' extension.
- * 4. The last values associated to the key is the language code as defined by
- *     the RFC1766.
- *
- * Beware that the sorting order (first values associated to keys by
- * alphabetical reverse order in the array) is important: 'zh-tw' (chinese
- * traditional) must be detected before 'zh' (chinese simplified) for
- * example.
- *
- * When there are more than one charset for a language, we put the -utf-8
- * first.
- */
-$available_languages = array('ar' => array('ar([-_][[:alpha:]]{2})?|arabic', 'arabic', 'ar'),
-    'bg' => array('bg|bulgarian', 'bulgarian', 'bg'),
-    'ca' => array('ca|catalan', 'catalan', 'ca'),
-    'cs' => array('cs|czech', 'czech', 'cs'),
-    'cy' => array('cy|welsh', 'welsh', 'cy'),
-    'da' => array('da|danish', 'danish', 'da'),
-    'de' => array('de([-_][[:alpha:]]{2})?|german', 'german', 'de'),
-    'el' => array('el|greek', 'greek', 'el'),
-    'gb' => array('en[-_]gb', 'english_gb', 'gb'),
-    'en' => array('en([-_][[:alpha:]]{2})?|english', 'english', 'en'),
-    'es' => array('es([-_][[:alpha:]]{2})?|spanish', 'spanish', 'es'),
-    'et' => array('et|estonian', 'estonian', 'et'),
-    'fi' => array('fi|finnish', 'finnish', 'fi'),
-    'fr' => array('fr([-_][[:alpha:]]{2})?|french', 'french', 'fr'),
-    'gl' => array('gl|galician', 'galician', 'gl'),
-    'he' => array('he|hebrew', 'hebrew', 'he'),
-    'hr' => array('hr|croatian', 'croatian', 'hr'),
-    'hu' => array('hu|hungarian', 'hungarian', 'hu'),
-    'id' => array('id|indonesian', 'indonesian', 'id'),
-    'it' => array('it|italian', 'italian', 'it'),
-    'ja' => array('ja|japanese', 'japanese', 'ja'),
-    'ko' => array('ko|korean', 'korean', 'ko'),
-    'ka' => array('ka|georgian', 'georgian', 'ka'),
-    'lt' => array('lt|lithuanian', 'lithuanian', 'lt'),
-    'lv' => array('lv|latvian', 'latvian', 'lv'),
-    'nl' => array('nl([-_][[:alpha:]]{2})?|dutch', 'dutch', 'nl'),
-    'no' => array('no|norwegian', 'norwegian', 'no'),
-    'pl' => array('pl|polish', 'polish', 'pl'),
-    'pt' => array('pt[-_]br|brazilian portuguese', 'brazilian_portuguese', 'pt-BR'),
-    'pt' => array('pt([-_][[:alpha:]]{2})?|portuguese', 'portuguese', 'pt'),
-    'ro' => array('ro|romanian', 'romanian', 'ro'),
-    'ru' => array('ru|russian', 'russian', 'ru'),
-    'sk' => array('sk|slovak', 'slovak', 'sk'),
-    'sl' => array('sl|slovenian', 'slovenian', 'sl'),
-    'sq' => array('sq|albanian', 'albanian', 'sq'),
-    'sr' => array('sr|serbian', 'serbian', 'sr'),
-    'sv' => array('sv|swedish', 'swedish', 'sv'),
-    'th' => array('th|thai', 'thai', 'th'),
-    'tr' => array('tr|turkish', 'turkish', 'tr'),
-    'uk' => array('uk|ukrainian', 'ukrainian', 'uk'),
-    'zh' => array('zh[-_]tw|chinese traditional', 'chinese_big5', 'zh-TW'),
-    'zh' => array('zh|chinese simplified', 'chinese_gb', 'zh'),
-    );
-
-/**
- * Analyzes some PHP environment variables to find the most probable language
- * that should be used
- *
- * @param string $ string to analyze
- * @param integer $ type of the PHP environment variable which value is $str
- * @global array    the list of available translations
- * @global string   the retained translation keyword
- * @access private
- */
-function lang_detect($str = '', $envType = '')
-{
-    global $available_languages;
-    global $lang;
-
-    reset($available_languages);
-    while (list($key, $value) = each($available_languages)) {
-        // $envType =  1 for the 'HTTP_ACCEPT_LANGUAGE' environment variable,
-        // 2 for the 'HTTP_USER_AGENT' one
-        if (($envType == 1 && eregi('^(' . $value[0] . ')(;q=[0-9]\\.[0-9])?$', $str)) || ($envType == 2 && eregi('(\(|\[|;[[:space:]])(' . $value[0] . ')(;|\]|\))', $str))) {
-            $lang = $key;
-            break;
-        }
-    }
-}
-
-/**
- * Get some global variables if 'register_globals' is set to 'off'
- * loic1 - 2001/25/11: use the new globals arrays defined with php 4.1+
- */
-if (!empty($_SERVER['HTTP_ACCEPT_LANGUAGE'])) {
-    $HTTP_ACCEPT_LANGUAGE = $_SERVER['HTTP_ACCEPT_LANGUAGE'];
-} else if (!empty($_SERVER['HTTP_ACCEPT_LANGUAGE'])) {
-    $HTTP_ACCEPT_LANGUAGE = $_SERVER['HTTP_ACCEPT_LANGUAGE'];
-}
-
-if (!empty($_SERVER['HTTP_USER_AGENT'])) {
-    $HTTP_USER_AGENT = $_SERVER['HTTP_USER_AGENT'];
-} else if (!empty($_SERVER['HTTP_USER_AGENT'])) {
-    $HTTP_USER_AGENT = $_SERVER['HTTP_USER_AGENT'];
-}
-
-/**
- * Do the work!
- */
-
-$lang = '';
-// 1. try to findout user's language by checking its HTTP_ACCEPT_LANGUAGE
-// variable
-if (empty($lang) && !empty($HTTP_ACCEPT_LANGUAGE)) {
-    $accepted = explode(',', $HTTP_ACCEPT_LANGUAGE);
-    $acceptedCnt = count($accepted);
-    reset($accepted);
-    for ($i = 0; $i < $acceptedCnt && empty($lang); $i++) {
-        lang_detect($accepted[$i], 1);
-    }
-}
-// 2. try to findout user's language by checking its HTTP_USER_AGENT variable
-if (empty($lang) && !empty($HTTP_USER_AGENT)) {
-    lang_detect($HTTP_USER_AGENT, 2);
-}
-// 3. If we catch a valid language, configure it
-if (!empty($lang)) {
-    $USER['lang'] = $available_languages[$lang][1];
-}
-// $__PMA_SELECT_LANG_LIB__
-?>
+<?php
+/*************************
+  Coppermine Photo Gallery
+  ************************
+  Copyright (c) 2003-2009 Coppermine Dev Team
+  v1.1 originally written by Gregory DEMAR
+
+  This program is free software; you can redistribute it and/or modify
+  it under the terms of the GNU General Public License version 3
+  as published by the Free Software Foundation.
+  
+  ********************************************
+  Coppermine version: 1.4.25
+  $HeadURL: https://coppermine.svn.sourceforge.net/svnroot/coppermine/trunk/cpg1.4.x/include/select_lang.inc.php $
+  $Revision: 5997 $
+  $Author: gaugau $
+  $Date: 2009-05-26 08:43:24 +0200 (Di, 26 Mai 2009) $
+**********************************************/
+
+/**
+ * phpMyAdmin Language Loading File
+ */
+
+/**
+ * All the supported languages have to be listed in the array below.
+ * 1. The key must be the "official" ISO 639 language code and, if required,
+ *     the dialect code. It can also contains some informations about the
+ *     charset (see the Russian case).
+ * 2. The first of the values associated to the key is used in a regular
+ *     expression to find some keywords corresponding to the language inside two
+ *     environment variables.
+ *     These values contains:
+ *     - the "official" ISO language code and, if required, the dialect code
+ *       also ('bu' for Bulgarian, 'fr([-_][[:alpha:]]{2})?' for all French
+ *       dialects, 'zh[-_]tw' for Chinese traditional...);
+ *     - the '|' character (it means 'OR');
+ *     - the full language name.
+ * 3. The second values associated to the key is the name of the file to load
+ *     without the '.php' extension.
+ * 4. The last values associated to the key is the language code as defined by
+ *     the RFC1766.
+ *
+ * Beware that the sorting order (first values associated to keys by
+ * alphabetical reverse order in the array) is important: 'zh-tw' (chinese
+ * traditional) must be detected before 'zh' (chinese simplified) for
+ * example.
+ *
+ * When there are more than one charset for a language, we put the -utf-8
+ * first.
+ */
+$available_languages = array('ar' => array('ar([-_][[:alpha:]]{2})?|arabic', 'arabic', 'ar'),
+    'bg' => array('bg|bulgarian', 'bulgarian', 'bg'),
+    'ca' => array('ca|catalan', 'catalan', 'ca'),
+    'cs' => array('cs|czech', 'czech', 'cs'),
+    'cy' => array('cy|welsh', 'welsh', 'cy'),
+    'da' => array('da|danish', 'danish', 'da'),
+    'de' => array('de([-_][[:alpha:]]{2})?|german', 'german', 'de'),
+    'el' => array('el|greek', 'greek', 'el'),
+    'gb' => array('en[-_]gb', 'english_gb', 'gb'),
+    'en' => array('en([-_][[:alpha:]]{2})?|english', 'english', 'en'),
+    'es' => array('es([-_][[:alpha:]]{2})?|spanish', 'spanish', 'es'),
+    'et' => array('et|estonian', 'estonian', 'et'),
+    'fi' => array('fi|finnish', 'finnish', 'fi'),
+    'fr' => array('fr([-_][[:alpha:]]{2})?|french', 'french', 'fr'),
+    'gl' => array('gl|galician', 'galician', 'gl'),
+    'he' => array('he|hebrew', 'hebrew', 'he'),
+    'hr' => array('hr|croatian', 'croatian', 'hr'),
+    'hu' => array('hu|hungarian', 'hungarian', 'hu'),
+    'id' => array('id|indonesian', 'indonesian', 'id'),
+    'it' => array('it|italian', 'italian', 'it'),
+    'ja' => array('ja|japanese', 'japanese', 'ja'),
+    'ko' => array('ko|korean', 'korean', 'ko'),
+    'ka' => array('ka|georgian', 'georgian', 'ka'),
+    'lt' => array('lt|lithuanian', 'lithuanian', 'lt'),
+    'lv' => array('lv|latvian', 'latvian', 'lv'),
+    'nl' => array('nl([-_][[:alpha:]]{2})?|dutch', 'dutch', 'nl'),
+    'no' => array('no|norwegian', 'norwegian', 'no'),
+    'pl' => array('pl|polish', 'polish', 'pl'),
+    'pt' => array('pt[-_]br|brazilian portuguese', 'brazilian_portuguese', 'pt-BR'),
+    'pt' => array('pt([-_][[:alpha:]]{2})?|portuguese', 'portuguese', 'pt'),
+    'ro' => array('ro|romanian', 'romanian', 'ro'),
+    'ru' => array('ru|russian', 'russian', 'ru'),
+    'sk' => array('sk|slovak', 'slovak', 'sk'),
+    'sl' => array('sl|slovenian', 'slovenian', 'sl'),
+    'sq' => array('sq|albanian', 'albanian', 'sq'),
+    'sr' => array('sr|serbian', 'serbian', 'sr'),
+    'sv' => array('sv|swedish', 'swedish', 'sv'),
+    'th' => array('th|thai', 'thai', 'th'),
+    'tr' => array('tr|turkish', 'turkish', 'tr'),
+    'uk' => array('uk|ukrainian', 'ukrainian', 'uk'),
+    'zh' => array('zh[-_]tw|chinese traditional', 'chinese_big5', 'zh-TW'),
+    'zh' => array('zh|chinese simplified', 'chinese_gb', 'zh'),
+    );
+
+/**
+ * Analyzes some PHP environment variables to find the most probable language
+ * that should be used
+ *
+ * @param string $ string to analyze
+ * @param integer $ type of the PHP environment variable which value is $str
+ * @global array    the list of available translations
+ * @global string   the retained translation keyword
+ * @access private
+ */
+function lang_detect($str = '', $envType = '')
+{
+    global $available_languages;
+    global $lang;
+
+    reset($available_languages);
+    while (list($key, $value) = each($available_languages)) {
+        // $envType =  1 for the 'HTTP_ACCEPT_LANGUAGE' environment variable,
+        // 2 for the 'HTTP_USER_AGENT' one
+        if (($envType == 1 && eregi('^(' . $value[0] . ')(;q=[0-9]\\.[0-9])?$', $str)) || ($envType == 2 && eregi('(\(|\[|;[[:space:]])(' . $value[0] . ')(;|\]|\))', $str))) {
+            $lang = $key;
+            break;
+        }
+    }
+}
+
+/**
+ * Get some global variables if 'register_globals' is set to 'off'
+ * loic1 - 2001/25/11: use the new globals arrays defined with php 4.1+
+ */
+if (!empty($_SERVER['HTTP_ACCEPT_LANGUAGE'])) {
+    $HTTP_ACCEPT_LANGUAGE = $_SERVER['HTTP_ACCEPT_LANGUAGE'];
+} else if (!empty($_SERVER['HTTP_ACCEPT_LANGUAGE'])) {
+    $HTTP_ACCEPT_LANGUAGE = $_SERVER['HTTP_ACCEPT_LANGUAGE'];
+}
+
+if (!empty($_SERVER['HTTP_USER_AGENT'])) {
+    $HTTP_USER_AGENT = $_SERVER['HTTP_USER_AGENT'];
+} else if (!empty($_SERVER['HTTP_USER_AGENT'])) {
+    $HTTP_USER_AGENT = $_SERVER['HTTP_USER_AGENT'];
+}
+
+/**
+ * Do the work!
+ */
+
+$lang = '';
+// 1. try to findout user's language by checking its HTTP_ACCEPT_LANGUAGE
+// variable
+if (empty($lang) && !empty($HTTP_ACCEPT_LANGUAGE)) {
+    $accepted = explode(',', $HTTP_ACCEPT_LANGUAGE);
+    $acceptedCnt = count($accepted);
+    reset($accepted);
+    for ($i = 0; $i < $acceptedCnt && empty($lang); $i++) {
+        lang_detect($accepted[$i], 1);
+    }
+}
+// 2. try to findout user's language by checking its HTTP_USER_AGENT variable
+if (empty($lang) && !empty($HTTP_USER_AGENT)) {
+    lang_detect($HTTP_USER_AGENT, 2);
+}
+// 3. If we catch a valid language, configure it
+if (!empty($lang)) {
+    $USER['lang'] = $available_languages[$lang][1];
+}
+// $__PMA_SELECT_LANG_LIB__
+?>
diff -x .svn -aruN 1.4.24.src/include/slideshow.inc.php 1.4.25.src/include/slideshow.inc.php
--- 1.4.24.src/include/slideshow.inc.php	2009-05-21 15:03:09.000000000 -0500
+++ 1.4.25.src/include/slideshow.inc.php	2009-05-26 11:25:44.000000000 -0500
@@ -1,147 +1,147 @@
-<?php
-/*************************
-  Coppermine Photo Gallery
-  ************************
-  Copyright (c) 2003-2009 Coppermine Dev Team
-  v1.1 originally written by Gregory DEMAR
-
-  This program is free software; you can redistribute it and/or modify
-  it under the terms of the GNU General Public License version 3
-  as published by the Free Software Foundation.
-
-  ********************************************
-  Coppermine version: 1.4.24
-  $HeadURL: https://coppermine.svn.sourceforge.net/svnroot/coppermine/trunk/cpg1.4.x/include/slideshow.inc.php $
-  $Revision: 5969 $
-  $Author: gaugau $
-  $Date: 2009-05-21 22:03:33 +0200 (Do, 21 Mai 2009) $
-**********************************************/
-
-if (!defined('IN_COPPERMINE')) { 
-	die('Not in Coppermine...');
-}
-// initialize vars
-$_GET['slideshow'] = isset($_GET['slideshow']) ? intval($_GET['slideshow']) : 0;
-$_GET['pid'] = isset($_GET['pid']) ? intval($_GET['pid']) : 0;
-$_GET['album'] = isset($_GET['album']) ? $_GET['album'] : 0;
-$pic_count = null;
-$album_name = null;
-?>
-
-<script language="JavaScript" type="text/JavaScript">
-// (C) 2000 www.CodeLifter.com
-// http://www.codelifter.com
-// Free for all users, but leave in this  header
-// NS4-6,IE4-6
-// Fade effect only in IE; degrades gracefully
-// ------------------------------------------------------------------------- //
-
-// Set slideShowSpeed (milliseconds)
-var slideShowSpeed = <?php echo (int)$_GET['slideshow'] ?>
-
-// Agent sniffer shamelessly 'stolen' from the excellent X library from cross-browser.com
-var xOp7=false,xOp5or6=false,xIE4Up=false,xNN4=false,xUA=navigator.userAgent.toLowerCase();
-if(window.opera){
-  xOp7=(xUA.indexOf('opera 7')!=-1 || xUA.indexOf('opera/7')!=-1);
-  if (!xOp7) xOp5or6=(xUA.indexOf('opera 5')!=-1 || xUA.indexOf('opera/5')!=-1 || xUA.indexOf('opera 6')!=-1 || xUA.indexOf('opera/6')!=-1);
-}
-else if(document.layers) xNN4=true;
-else {xIE4Up=document.all && xUA.indexOf('msie')!=-1 && parseInt(navigator.appVersion)>=4;}
-
-// Duration of crossfade (seconds)
-var crossFadeDuration = 3
-
-// Specify the image files
-var Pic = new Array() // don't touch this
-// to add more images, just continue
-// the pattern, adding to the array below
-<?php
-$i = 0;
-$j = 0;
-$pid = (int)$_GET['pid'];
-$start_img = '';
-if (is_numeric($_GET['album'])) {
-    $pic_data = get_pic_data($_GET['album'], $pic_count, $album_name, -1, -1, false);
-} else { // fix memory consumption for meta albums (see http://coppermine-gallery.net/forum/index.php?topic=31945.0 and http://www.pragmamx.org/Forum-topic-23429.html
-    $col = (intval($CONFIG['thumbcols']) > 1) ? $CONFIG['thumbcols'] : 4;
-    $row = (intval($CONFIG['thumbrows']) > 1) ? $CONFIG['thumbrows'] : 4;
-    $limit = $col * $row * 10;
-    $pic_data = get_pic_data($_GET['album'], $pic_count, $album_name, 0, $limit, false);
-}
-foreach ($pic_data as $picture) {
-
-    if($CONFIG['thumb_use']=='ht' && $picture['pheight'] > $CONFIG['picture_width'] ){ // The wierd comparision is because only picture_width is stored
-      $condition = true;
-    }elseif($CONFIG['thumb_use']=='wd' && $picture['pwidth'] > $CONFIG['picture_width']){
-      $condition = true;
-    }elseif($CONFIG['thumb_use']=='any' && max($picture['pwidth'], $picture['pheight']) > $CONFIG['picture_width']){
-      $condition = true;
-    }else{
-     $condition = false;
-    }
-
-    if (is_image($picture['filename'])) {
-        if ($CONFIG['make_intermediate'] && $condition ) {
-            $picture_url = get_pic_url($picture, 'normal');
-        } else {
-            $picture_url = get_pic_url($picture, 'fullsize');
-        }
-
-        echo "Pic[$i] = '" . $picture_url . "'\n";
-        if ($picture['pid'] == $pid) {
-            $j = $i;
-            $start_img = $picture_url;
-        }
-        $i++;
-    }
-}
-if (!$i) {
-    echo "Pic[0] = 'images/thumb_document.jpg'\n";
-}
-?>
-
-var t
-var j = <?php echo "$j\n" ?>
-var p = Pic.length
-var pos = j
-
-var preLoad = new Array()
-
-function preLoadPic(index)
-{
-        if (Pic[index] != ''){
-                window.status='Loading : '+Pic[index]
-                preLoad[index] = new Image()
-                preLoad[index].src = Pic[index]
-                Pic[index] = ''
-                window.status=''
-        }
-}
-
-function runSlideShow(){
-   if (xIE4Up){
-            document.images.SlideShow.style.filter="blendTrans(duration=2)"
-                document.images.SlideShow.style.filter= "blendTrans(duration=crossFadeDuration)"
-      document.images.SlideShow.filters.blendTrans.Apply()
-        }
-        document.images.SlideShow.src = preLoad[j].src
-        if (xIE4Up){
-           document.images.SlideShow.filters.blendTrans.Play()
-        }
-
-        pos = j
-
-        j = j + 1
-        if (j > (p-1)) j=0
-        t = setTimeout('runSlideShow()', slideShowSpeed)
-        preLoadPic(j)
-}
-
-function endSlideShow(){
-        self.document.location = 'displayimage.php?album=<?php echo isset($_GET['album']) ? $_GET['album'] : '';
-echo isset($_GET['cat']) ? '&cat=' . $_GET['cat'] : '' ?>&pos='+pos
-}
-
-preLoadPic(j)
-
-</script>
+<?php
+/*************************
+  Coppermine Photo Gallery
+  ************************
+  Copyright (c) 2003-2009 Coppermine Dev Team
+  v1.1 originally written by Gregory DEMAR
+
+  This program is free software; you can redistribute it and/or modify
+  it under the terms of the GNU General Public License version 3
+  as published by the Free Software Foundation.
+
+  ********************************************
+  Coppermine version: 1.4.25
+  $HeadURL: https://coppermine.svn.sourceforge.net/svnroot/coppermine/trunk/cpg1.4.x/include/slideshow.inc.php $
+  $Revision: 5997 $
+  $Author: gaugau $
+  $Date: 2009-05-26 08:43:24 +0200 (Di, 26 Mai 2009) $
+**********************************************/
+
+if (!defined('IN_COPPERMINE')) { 
+	die('Not in Coppermine...');
+}
+// initialize vars
+$_GET['slideshow'] = isset($_GET['slideshow']) ? intval($_GET['slideshow']) : 0;
+$_GET['pid'] = isset($_GET['pid']) ? intval($_GET['pid']) : 0;
+$_GET['album'] = isset($_GET['album']) ? $_GET['album'] : 0;
+$pic_count = null;
+$album_name = null;
+?>
+
+<script language="JavaScript" type="text/JavaScript">
+// (C) 2000 www.CodeLifter.com
+// http://www.codelifter.com
+// Free for all users, but leave in this  header
+// NS4-6,IE4-6
+// Fade effect only in IE; degrades gracefully
+// ------------------------------------------------------------------------- //
+
+// Set slideShowSpeed (milliseconds)
+var slideShowSpeed = <?php echo (int)$_GET['slideshow'] ?>
+
+// Agent sniffer shamelessly 'stolen' from the excellent X library from cross-browser.com
+var xOp7=false,xOp5or6=false,xIE4Up=false,xNN4=false,xUA=navigator.userAgent.toLowerCase();
+if(window.opera){
+  xOp7=(xUA.indexOf('opera 7')!=-1 || xUA.indexOf('opera/7')!=-1);
+  if (!xOp7) xOp5or6=(xUA.indexOf('opera 5')!=-1 || xUA.indexOf('opera/5')!=-1 || xUA.indexOf('opera 6')!=-1 || xUA.indexOf('opera/6')!=-1);
+}
+else if(document.layers) xNN4=true;
+else {xIE4Up=document.all && xUA.indexOf('msie')!=-1 && parseInt(navigator.appVersion)>=4;}
+
+// Duration of crossfade (seconds)
+var crossFadeDuration = 3
+
+// Specify the image files
+var Pic = new Array() // don't touch this
+// to add more images, just continue
+// the pattern, adding to the array below
+<?php
+$i = 0;
+$j = 0;
+$pid = (int)$_GET['pid'];
+$start_img = '';
+if (is_numeric($_GET['album'])) {
+    $pic_data = get_pic_data($_GET['album'], $pic_count, $album_name, -1, -1, false);
+} else { // fix memory consumption for meta albums (see http://coppermine-gallery.net/forum/index.php?topic=31945.0 and http://www.pragmamx.org/Forum-topic-23429.html
+    $col = (intval($CONFIG['thumbcols']) > 1) ? $CONFIG['thumbcols'] : 4;
+    $row = (intval($CONFIG['thumbrows']) > 1) ? $CONFIG['thumbrows'] : 4;
+    $limit = $col * $row * 10;
+    $pic_data = get_pic_data($_GET['album'], $pic_count, $album_name, 0, $limit, false);
+}
+foreach ($pic_data as $picture) {
+
+    if($CONFIG['thumb_use']=='ht' && $picture['pheight'] > $CONFIG['picture_width'] ){ // The wierd comparision is because only picture_width is stored
+      $condition = true;
+    }elseif($CONFIG['thumb_use']=='wd' && $picture['pwidth'] > $CONFIG['picture_width']){
+      $condition = true;
+    }elseif($CONFIG['thumb_use']=='any' && max($picture['pwidth'], $picture['pheight']) > $CONFIG['picture_width']){
+      $condition = true;
+    }else{
+     $condition = false;
+    }
+
+    if (is_image($picture['filename'])) {
+        if ($CONFIG['make_intermediate'] && $condition ) {
+            $picture_url = get_pic_url($picture, 'normal');
+        } else {
+            $picture_url = get_pic_url($picture, 'fullsize');
+        }
+
+        echo "Pic[$i] = '" . $picture_url . "'\n";
+        if ($picture['pid'] == $pid) {
+            $j = $i;
+            $start_img = $picture_url;
+        }
+        $i++;
+    }
+}
+if (!$i) {
+    echo "Pic[0] = 'images/thumb_document.jpg'\n";
+}
+?>
+
+var t
+var j = <?php echo "$j\n" ?>
+var p = Pic.length
+var pos = j
+
+var preLoad = new Array()
+
+function preLoadPic(index)
+{
+        if (Pic[index] != ''){
+                window.status='Loading : '+Pic[index]
+                preLoad[index] = new Image()
+                preLoad[index].src = Pic[index]
+                Pic[index] = ''
+                window.status=''
+        }
+}
+
+function runSlideShow(){
+   if (xIE4Up){
+            document.images.SlideShow.style.filter="blendTrans(duration=2)"
+                document.images.SlideShow.style.filter= "blendTrans(duration=crossFadeDuration)"
+      document.images.SlideShow.filters.blendTrans.Apply()
+        }
+        document.images.SlideShow.src = preLoad[j].src
+        if (xIE4Up){
+           document.images.SlideShow.filters.blendTrans.Play()
+        }
+
+        pos = j
+
+        j = j + 1
+        if (j > (p-1)) j=0
+        t = setTimeout('runSlideShow()', slideShowSpeed)
+        preLoadPic(j)
+}
+
+function endSlideShow(){
+        self.document.location = 'displayimage.php?album=<?php echo isset($_GET['album']) ? $_GET['album'] : '';
+echo isset($_GET['cat']) ? '&cat=' . $_GET['cat'] : '' ?>&pos='+pos
+}
+
+preLoadPic(j)
+
+</script>
diff -x .svn -aruN 1.4.24.src/include/smilies.inc.php 1.4.25.src/include/smilies.inc.php
--- 1.4.24.src/include/smilies.inc.php	2009-05-21 15:03:09.000000000 -0500
+++ 1.4.25.src/include/smilies.inc.php	2009-05-26 11:25:44.000000000 -0500
@@ -1,183 +1,183 @@
-<?php
-/*************************
-  Coppermine Photo Gallery
-  ************************
-  Copyright (c) 2003-2009 Coppermine Dev Team
-  v1.1 originally written by Gregory DEMAR
-
-  This program is free software; you can redistribute it and/or modify
-  it under the terms of the GNU General Public License version 3
-  as published by the Free Software Foundation.
-  
-  ********************************************
-  Coppermine version: 1.4.24
-  $HeadURL: https://coppermine.svn.sourceforge.net/svnroot/coppermine/trunk/cpg1.4.x/include/smilies.inc.php $
-  $Revision: 5969 $
-  $Author: gaugau $
-  $Date: 2009-05-21 22:03:33 +0200 (Do, 21 Mai 2009) $
-**********************************************/
-
-// ------------------------------------------------------------------------- //
-// CODE IN THIS MODULE IS TAKEN FROM phpBB                                   //
-// ------------------------------------------------------------------------- //
-
-
-define('SMILIES_PHP', true);
-function get_smilies_table1()
-{
-    global $lang_smilies_inc_php;
-
-    return array(
-        array(':!:', 'icon_exclaim.gif', $lang_smilies_inc_php['Exclamation']),
-        array(':?:', 'icon_question.gif', $lang_smilies_inc_php['Question']),
-        array(':D', 'icon_biggrin.gif', $lang_smilies_inc_php['Very Happy']),
-        array(':-D', 'icon_biggrin.gif', $lang_smilies_inc_php['Very Happy']),
-        array(':grin:', 'icon_biggrin.gif', $lang_smilies_inc_php['Very Happy']),
-        array(':)', 'icon_smile.gif', $lang_smilies_inc_php['Smile']),
-        array(':-)', 'icon_smile.gif', $lang_smilies_inc_php['Smile']),
-        array(':smile:', 'icon_smile.gif', $lang_smilies_inc_php['Smile']),
-        array(':(', 'icon_sad.gif', $lang_smilies_inc_php['Sad']),
-        array(':-(', 'icon_sad.gif', $lang_smilies_inc_php['Sad']),
-        array(':sad:', 'icon_sad.gif', $lang_smilies_inc_php['Sad']),
-        array(':o', 'icon_surprised.gif', $lang_smilies_inc_php['Surprised']),
-        array(':-o', 'icon_surprised.gif', $lang_smilies_inc_php['Surprised']),
-        array(':eek:', 'icon_surprised.gif', $lang_smilies_inc_php['Surprised']),
-        array(':shock:', 'icon_eek.gif', $lang_smilies_inc_php['Shocked']),
-        array(':?', 'icon_confused.gif', $lang_smilies_inc_php['Confused']),
-        array(':-?', 'icon_confused.gif', $lang_smilies_inc_php['Confused']),
-        array(':???:', 'icon_confused.gif', $lang_smilies_inc_php['Confused']),
-        array('8)', 'icon_cool.gif', $lang_smilies_inc_php['Cool']),
-        array('8-)', 'icon_cool.gif', $lang_smilies_inc_php['Cool']),
-        array(':cool:', 'icon_cool.gif', $lang_smilies_inc_php['Cool']),
-        array(':lol:', 'icon_lol.gif', $lang_smilies_inc_php['Laughing']),
-        array(':x', 'icon_mad.gif', $lang_smilies_inc_php['Mad']),
-        array(':-x', 'icon_mad.gif', $lang_smilies_inc_php['Mad']),
-        array(':mad:', 'icon_mad.gif', $lang_smilies_inc_php['Mad']),
-        array(':P', 'icon_razz.gif', $lang_smilies_inc_php['Razz']),
-        array(':-P', 'icon_razz.gif', $lang_smilies_inc_php['Razz']),
-        array(':razz:', 'icon_razz.gif', $lang_smilies_inc_php['Razz']),
-        array(':oops:', 'icon_redface.gif', $lang_smilies_inc_php['Embarassed']),
-        array(':cry:', 'icon_cry.gif', $lang_smilies_inc_php['Crying or Very sad']),
-        array(':evil:', 'icon_evil.gif', $lang_smilies_inc_php['Evil or Very Mad']),
-        array(':twisted:', 'icon_twisted.gif', $lang_smilies_inc_php['Twisted Evil']),
-        array(':roll:', 'icon_rolleyes.gif', $lang_smilies_inc_php['Rolling Eyes']),
-        array(':wink:', 'icon_wink.gif', $lang_smilies_inc_php['Wink']),
-        array(';)', 'icon_wink.gif', $lang_smilies_inc_php['Wink']),
-        array(';-)', 'icon_wink.gif', $lang_smilies_inc_php['Wink']),
-        array(':idea:', 'icon_idea.gif', $lang_smilies_inc_php['Idea']),
-        array(':arrow:', 'icon_arrow.gif', $lang_smilies_inc_php['Arrow']),
-        array(':|', 'icon_neutral.gif', $lang_smilies_inc_php['Neutral']),
-        array(':-|', 'icon_neutral.gif', $lang_smilies_inc_php['Neutral']),
-        array(':neutral:', 'icon_neutral.gif', $lang_smilies_inc_php['Neutral']),
-        array(':mrgreen:', 'icon_mrgreen.gif', $lang_smilies_inc_php['Mr. Green'])
-        );
-}
-
-function get_smilies_table2()
-{
-    global $lang_smilies_inc_php;
-
-    return array(
-        array(':lol:', 'icon_lol.gif', $lang_smilies_inc_php['Laughing']),
-        array(':-P', 'icon_razz.gif', $lang_smilies_inc_php['Razz']),
-        array(':-D', 'icon_biggrin.gif', $lang_smilies_inc_php['Very Happy']),
-        array(':-)', 'icon_smile.gif', $lang_smilies_inc_php['Smile']),
-        array(':-|', 'icon_neutral.gif', $lang_smilies_inc_php['Neutral']),
-        array(':-(', 'icon_sad.gif', $lang_smilies_inc_php['Sad']),
-        array(':cry:', 'icon_cry.gif', $lang_smilies_inc_php['Crying or Very sad']),
-        array('8-)', 'icon_cool.gif', $lang_smilies_inc_php['Cool']),
-        array(':-o', 'icon_surprised.gif', $lang_smilies_inc_php['Surprised']),
-        array(':-?', 'icon_confused.gif', $lang_smilies_inc_php['Confused']),
-        array(':oops:', 'icon_redface.gif', $lang_smilies_inc_php['Embarassed']),
-        array(':shock:', 'icon_eek.gif', $lang_smilies_inc_php['Shocked']),
-        array(':-x', 'icon_mad.gif', $lang_smilies_inc_php['Mad']),
-        array(':roll:', 'icon_rolleyes.gif', $lang_smilies_inc_php['Rolling Eyes']),
-        array(';-)', 'icon_wink.gif', $lang_smilies_inc_php['Wink']),
-        array(':idea:', 'icon_idea.gif', $lang_smilies_inc_php['Idea']),
-        array(':!:', 'icon_exclaim.gif', $lang_smilies_inc_php['Exclamation']),
-        array(':?:', 'icon_question.gif', $lang_smilies_inc_php['Question'])
-        );
-}
-// Smilies code ... would this be better tagged on to the end of bbcode.php?
-// Probably so and I'll move it before B2
-
-function process_smilies($message, $url_prefix = '')
-{
-    static $orig, $repl;
-
-    if (!isset($orig)) {
-        global $db, $board_config,$THEME_DIR;
-        $orig = $repl = array();
-
-        $smilies = get_smilies_table1();
-
-        $paths = array($THEME_DIR.'/smiles/','images/smiles/');
-
-        for($i = 0; $i < count($smilies); $i++) {
-            $orig[] = "/(?<=.\W|\W.|^\W)" . preg_quote($smilies[$i][0], "/") . "(?=.\W|\W.|\W$)/";
-            $smile_path = (file_exists($paths[0].$smilies[$i][1]))?($paths[0]):($paths[1]);
-            $repl[] = '<img src="' . $url_prefix . $smile_path . ($smilies[$i][1]) . '" alt="' . ($smilies[$i][2]) . '"  />';
-        }
-    }
-
-    if (count($orig)) {
-        $message = preg_replace($orig, $repl, ' ' . $message . ' ');
-        $message = substr($message, 1, -1);
-    }
-    return $message;
-}
-
-// Fill smiley templates (or just the variables) with smileys
-// Either in a window or inline
-
-function generate_smilies($form = 'post', $field = 'message')
-{
-    global $THEME_DIR;
-    $smilies = get_smilies_table2();
-    $paths = array($THEME_DIR.'/smiles/','images/smiles/');
-
-    if (function_exists('theme_generate_smilies'))
-    {
-        $html = theme_generate_smilies($smilies, $form);
-    }
-    else
-    {
-
-        $html = '<table width="100%" border="0" cellspacing="0" cellpadding="0">' . "\n" . '        <tr align="center" valign="middle">' . "\n";
-
-        foreach($smilies as $smiley) {
-            $smile_path = (file_exists($paths[0].$smiley[1]))?($paths[0]):($paths[1]);
-            $caption = $smiley[2] . " " . $smiley[0];
-            $html .= '                <td width="5%"><img src="images/smiles/' . $smiley[1] . '" alt="' . $caption . '" width="15" height="15" border="0" style="cursor:pointer;" title="' . $caption . '" onclick="javascript:emoticon_' . $form . '(\'' . $smiley[0] . '\')" /></td>' . "\n";
-        }
-
-        $html .= '        </tr>' . "\n" . '</table>' . "\n";
-    }
-
-    $html .= <<<EOT
-
-<script language="JavaScript" type="text/javascript">
-<!--
-function emoticon_$form(text) {
-        text = ' ' + text + ' ';
-        if (document.$form.$field.createTextRange && document.$form.$field.caretPos) {
-                var caretPos = document.$form.$field.caretPos;
-                caretPos.text = caretPos.text.charAt(caretPos.text.length - 1) == ' ' ? text + ' ' : text;
-                document.$form.$field.focus();
-        } else {
-                document.$form.$field.value  += text;
-                document.$form.$field.focus();
-        }
-}
-
-function storeCaret_$form(textEl) {
-        if (textEl.createTextRange) textEl.caretPos = document.selection.createRange().duplicate();
-}
-//-->
-
-EOT;
-    $html .= "</script>\n";
-    return $html;
-}
-
-?>
+<?php
+/*************************
+  Coppermine Photo Gallery
+  ************************
+  Copyright (c) 2003-2009 Coppermine Dev Team
+  v1.1 originally written by Gregory DEMAR
+
+  This program is free software; you can redistribute it and/or modify
+  it under the terms of the GNU General Public License version 3
+  as published by the Free Software Foundation.
+  
+  ********************************************
+  Coppermine version: 1.4.25
+  $HeadURL: https://coppermine.svn.sourceforge.net/svnroot/coppermine/trunk/cpg1.4.x/include/smilies.inc.php $
+  $Revision: 5997 $
+  $Author: gaugau $
+  $Date: 2009-05-26 08:43:24 +0200 (Di, 26 Mai 2009) $
+**********************************************/
+
+// ------------------------------------------------------------------------- //
+// CODE IN THIS MODULE IS TAKEN FROM phpBB                                   //
+// ------------------------------------------------------------------------- //
+
+
+define('SMILIES_PHP', true);
+function get_smilies_table1()
+{
+    global $lang_smilies_inc_php;
+
+    return array(
+        array(':!:', 'icon_exclaim.gif', $lang_smilies_inc_php['Exclamation']),
+        array(':?:', 'icon_question.gif', $lang_smilies_inc_php['Question']),
+        array(':D', 'icon_biggrin.gif', $lang_smilies_inc_php['Very Happy']),
+        array(':-D', 'icon_biggrin.gif', $lang_smilies_inc_php['Very Happy']),
+        array(':grin:', 'icon_biggrin.gif', $lang_smilies_inc_php['Very Happy']),
+        array(':)', 'icon_smile.gif', $lang_smilies_inc_php['Smile']),
+        array(':-)', 'icon_smile.gif', $lang_smilies_inc_php['Smile']),
+        array(':smile:', 'icon_smile.gif', $lang_smilies_inc_php['Smile']),
+        array(':(', 'icon_sad.gif', $lang_smilies_inc_php['Sad']),
+        array(':-(', 'icon_sad.gif', $lang_smilies_inc_php['Sad']),
+        array(':sad:', 'icon_sad.gif', $lang_smilies_inc_php['Sad']),
+        array(':o', 'icon_surprised.gif', $lang_smilies_inc_php['Surprised']),
+        array(':-o', 'icon_surprised.gif', $lang_smilies_inc_php['Surprised']),
+        array(':eek:', 'icon_surprised.gif', $lang_smilies_inc_php['Surprised']),
+        array(':shock:', 'icon_eek.gif', $lang_smilies_inc_php['Shocked']),
+        array(':?', 'icon_confused.gif', $lang_smilies_inc_php['Confused']),
+        array(':-?', 'icon_confused.gif', $lang_smilies_inc_php['Confused']),
+        array(':???:', 'icon_confused.gif', $lang_smilies_inc_php['Confused']),
+        array('8)', 'icon_cool.gif', $lang_smilies_inc_php['Cool']),
+        array('8-)', 'icon_cool.gif', $lang_smilies_inc_php['Cool']),
+        array(':cool:', 'icon_cool.gif', $lang_smilies_inc_php['Cool']),
+        array(':lol:', 'icon_lol.gif', $lang_smilies_inc_php['Laughing']),
+        array(':x', 'icon_mad.gif', $lang_smilies_inc_php['Mad']),
+        array(':-x', 'icon_mad.gif', $lang_smilies_inc_php['Mad']),
+        array(':mad:', 'icon_mad.gif', $lang_smilies_inc_php['Mad']),
+        array(':P', 'icon_razz.gif', $lang_smilies_inc_php['Razz']),
+        array(':-P', 'icon_razz.gif', $lang_smilies_inc_php['Razz']),
+        array(':razz:', 'icon_razz.gif', $lang_smilies_inc_php['Razz']),
+        array(':oops:', 'icon_redface.gif', $lang_smilies_inc_php['Embarassed']),
+        array(':cry:', 'icon_cry.gif', $lang_smilies_inc_php['Crying or Very sad']),
+        array(':evil:', 'icon_evil.gif', $lang_smilies_inc_php['Evil or Very Mad']),
+        array(':twisted:', 'icon_twisted.gif', $lang_smilies_inc_php['Twisted Evil']),
+        array(':roll:', 'icon_rolleyes.gif', $lang_smilies_inc_php['Rolling Eyes']),
+        array(':wink:', 'icon_wink.gif', $lang_smilies_inc_php['Wink']),
+        array(';)', 'icon_wink.gif', $lang_smilies_inc_php['Wink']),
+        array(';-)', 'icon_wink.gif', $lang_smilies_inc_php['Wink']),
+        array(':idea:', 'icon_idea.gif', $lang_smilies_inc_php['Idea']),
+        array(':arrow:', 'icon_arrow.gif', $lang_smilies_inc_php['Arrow']),
+        array(':|', 'icon_neutral.gif', $lang_smilies_inc_php['Neutral']),
+        array(':-|', 'icon_neutral.gif', $lang_smilies_inc_php['Neutral']),
+        array(':neutral:', 'icon_neutral.gif', $lang_smilies_inc_php['Neutral']),
+        array(':mrgreen:', 'icon_mrgreen.gif', $lang_smilies_inc_php['Mr. Green'])
+        );
+}
+
+function get_smilies_table2()
+{
+    global $lang_smilies_inc_php;
+
+    return array(
+        array(':lol:', 'icon_lol.gif', $lang_smilies_inc_php['Laughing']),
+        array(':-P', 'icon_razz.gif', $lang_smilies_inc_php['Razz']),
+        array(':-D', 'icon_biggrin.gif', $lang_smilies_inc_php['Very Happy']),
+        array(':-)', 'icon_smile.gif', $lang_smilies_inc_php['Smile']),
+        array(':-|', 'icon_neutral.gif', $lang_smilies_inc_php['Neutral']),
+        array(':-(', 'icon_sad.gif', $lang_smilies_inc_php['Sad']),
+        array(':cry:', 'icon_cry.gif', $lang_smilies_inc_php['Crying or Very sad']),
+        array('8-)', 'icon_cool.gif', $lang_smilies_inc_php['Cool']),
+        array(':-o', 'icon_surprised.gif', $lang_smilies_inc_php['Surprised']),
+        array(':-?', 'icon_confused.gif', $lang_smilies_inc_php['Confused']),
+        array(':oops:', 'icon_redface.gif', $lang_smilies_inc_php['Embarassed']),
+        array(':shock:', 'icon_eek.gif', $lang_smilies_inc_php['Shocked']),
+        array(':-x', 'icon_mad.gif', $lang_smilies_inc_php['Mad']),
+        array(':roll:', 'icon_rolleyes.gif', $lang_smilies_inc_php['Rolling Eyes']),
+        array(';-)', 'icon_wink.gif', $lang_smilies_inc_php['Wink']),
+        array(':idea:', 'icon_idea.gif', $lang_smilies_inc_php['Idea']),
+        array(':!:', 'icon_exclaim.gif', $lang_smilies_inc_php['Exclamation']),
+        array(':?:', 'icon_question.gif', $lang_smilies_inc_php['Question'])
+        );
+}
+// Smilies code ... would this be better tagged on to the end of bbcode.php?
+// Probably so and I'll move it before B2
+
+function process_smilies($message, $url_prefix = '')
+{
+    static $orig, $repl;
+
+    if (!isset($orig)) {
+        global $db, $board_config,$THEME_DIR;
+        $orig = $repl = array();
+
+        $smilies = get_smilies_table1();
+
+        $paths = array($THEME_DIR.'/smiles/','images/smiles/');
+
+        for($i = 0; $i < count($smilies); $i++) {
+            $orig[] = "/(?<=.\W|\W.|^\W)" . preg_quote($smilies[$i][0], "/") . "(?=.\W|\W.|\W$)/";
+            $smile_path = (file_exists($paths[0].$smilies[$i][1]))?($paths[0]):($paths[1]);
+            $repl[] = '<img src="' . $url_prefix . $smile_path . ($smilies[$i][1]) . '" alt="' . ($smilies[$i][2]) . '"  />';
+        }
+    }
+
+    if (count($orig)) {
+        $message = preg_replace($orig, $repl, ' ' . $message . ' ');
+        $message = substr($message, 1, -1);
+    }
+    return $message;
+}
+
+// Fill smiley templates (or just the variables) with smileys
+// Either in a window or inline
+
+function generate_smilies($form = 'post', $field = 'message')
+{
+    global $THEME_DIR;
+    $smilies = get_smilies_table2();
+    $paths = array($THEME_DIR.'/smiles/','images/smiles/');
+
+    if (function_exists('theme_generate_smilies'))
+    {
+        $html = theme_generate_smilies($smilies, $form);
+    }
+    else
+    {
+
+        $html = '<table width="100%" border="0" cellspacing="0" cellpadding="0">' . "\n" . '        <tr align="center" valign="middle">' . "\n";
+
+        foreach($smilies as $smiley) {
+            $smile_path = (file_exists($paths[0].$smiley[1]))?($paths[0]):($paths[1]);
+            $caption = $smiley[2] . " " . $smiley[0];
+            $html .= '                <td width="5%"><img src="images/smiles/' . $smiley[1] . '" alt="' . $caption . '" width="15" height="15" border="0" style="cursor:pointer;" title="' . $caption . '" onclick="javascript:emoticon_' . $form . '(\'' . $smiley[0] . '\')" /></td>' . "\n";
+        }
+
+        $html .= '        </tr>' . "\n" . '</table>' . "\n";
+    }
+
+    $html .= <<<EOT
+
+<script language="JavaScript" type="text/javascript">
+<!--
+function emoticon_$form(text) {
+        text = ' ' + text + ' ';
+        if (document.$form.$field.createTextRange && document.$form.$field.caretPos) {
+                var caretPos = document.$form.$field.caretPos;
+                caretPos.text = caretPos.text.charAt(caretPos.text.length - 1) == ' ' ? text + ' ' : text;
+                document.$form.$field.focus();
+        } else {
+                document.$form.$field.value  += text;
+                document.$form.$field.focus();
+        }
+}
+
+function storeCaret_$form(textEl) {
+        if (textEl.createTextRange) textEl.caretPos = document.selection.createRange().duplicate();
+}
+//-->
+
+EOT;
+    $html .= "</script>\n";
+    return $html;
+}
+
+?>
diff -x .svn -aruN 1.4.24.src/include/smtp.inc.php 1.4.25.src/include/smtp.inc.php
--- 1.4.24.src/include/smtp.inc.php	2009-05-21 15:03:09.000000000 -0500
+++ 1.4.25.src/include/smtp.inc.php	2009-05-26 11:25:42.000000000 -0500
@@ -1,1248 +1,1248 @@
-<?php
-/*************************
-  Coppermine Photo Gallery
-  ************************
-  Copyright (c) 2003-2009 Coppermine Dev Team
-  v1.1 originally written by Gregory DEMAR
-
-  This program is free software; you can redistribute it and/or modify
-  it under the terms of the GNU General Public License version 3
-  as published by the Free Software Foundation.
-  
-  ********************************************
-  Coppermine version: 1.4.24
-  $HeadURL: https://coppermine.svn.sourceforge.net/svnroot/coppermine/trunk/cpg1.4.x/include/smtp.inc.php $
-  $Revision: 5969 $
-  $Author: gaugau $
-  $Date: 2009-05-21 22:03:33 +0200 (Do, 21 Mai 2009) $
-**********************************************/
-
-/**
-* Filename.......: class.smtp.inc
-* Project........: SMTP Class
-* Version........: 1.0.5
-* Last Modified..: 21 December 2001
-*/
-
-        define('SMTP_STATUS_NOT_CONNECTED', 1, TRUE);
-        define('SMTP_STATUS_CONNECTED', 2, TRUE);
-
-        class smtp{
-
-                var $authenticated;
-                var $connection;
-                var $recipients;
-                var $headers;
-                var $timeout;
-                var $errors;
-                var $status;
-                var $body;
-                var $from;
-                var $host;
-                var $port;
-                var $helo;
-                var $auth;
-                var $user;
-                var $pass;
-
-                /**
-        * Constructor function. Arguments:
-                * $params - An assoc array of parameters:
-                *
-                *   host    - The hostname of the smtp server                Default: localhost
-                *   port    - The port the smtp server runs on                Default: 25
-                *   helo    - What to send as the HELO command                Default: localhost
-                *             (typically the hostname of the
-                *             machine this script runs on)
-                *   auth    - Whether to use basic authentication        Default: FALSE
-                *   user    - Username for authentication                        Default: <blank>
-                *   pass    - Password for authentication                        Default: <blank>
-                *   timeout - The timeout in seconds for the call        Default: 5
-                *             to fsockopen()
-        */
-
-                function smtp($params = array()){
-
-                        if(!defined('CRLF'))
-                                define('CRLF', "\r\n", TRUE);
-
-                        $this->authenticated        = FALSE;
-                        $this->timeout                        = 5;
-                        $this->status                        = SMTP_STATUS_NOT_CONNECTED;
-                        $this->host                                = 'localhost';
-                        $this->port                                = 25;
-                        $this->helo                                = 'localhost';
-                        $this->auth                                = FALSE;
-                        $this->user                                = '';
-                        $this->pass                                = '';
-                        $this->errors                   = array();
-
-                        foreach($params as $key => $value){
-                                $this->$key = $value;
-                        }
-                }
-
-                /**
-        * Connect function. This will, when called
-                * statically, create a new smtp object,
-                * call the connect function (ie this function)
-                * and return it. When not called statically,
-                * it will connect to the server and send
-                * the HELO command.
-        */
-
-                function &connect($params = array()){
-
-                        if(!isset($this->status)){
-                                $obj = new smtp($params);
-                                if($obj->connect()){
-                                        $obj->status = SMTP_STATUS_CONNECTED;
-                                }
-
-                                return $obj;
-
-                        }else{
-                                $this->connection = fsockopen($this->host, $this->port, $errno, $errstr, $this->timeout);
-                                if(function_exists('socket_set_timeout')){
-                                        @socket_set_timeout($this->connection, 5, 0);
-                                }
-
-                                $greeting = $this->get_data();
-                                if(is_resource($this->connection)){
-                                        return $this->auth ? $this->ehlo() : $this->helo();
-                                }else{
-                                        $this->errors[] = 'Failed to connect to server: '.$errstr;
-                                        return FALSE;
-                                }
-                        }
-                }
-
-                /**
-        * Function which handles sending the mail.
-                * Arguments:
-                * $params        - Optional assoc array of parameters.
-                *            Can contain:
-                *              recipients - Indexed array of recipients
-                *              from       - The from address. (used in MAIL FROM:),
-                *                           this will be the return path
-                *              headers    - Indexed array of headers, one header per array entry
-                *              body       - The body of the email
-                *            It can also contain any of the parameters from the connect()
-                *            function
-        */
-
-                function send($params = array()){
-
-                        foreach($params as $key => $value){
-                                $this->set($key, $value);
-                        }
-
-                        if($this->is_connected()){
-
-                                // Do we auth or not? Note the distinction between the auth variable and auth() function
-                                if($this->auth AND !$this->authenticated){
-                                        if(!$this->auth())
-                                                return FALSE;
-                                }
-
-                                $this->mail($this->from);
-                                if(is_array($this->recipients))
-                                        foreach($this->recipients as $value)
-                                                $this->rcpt($value);
-                                else
-                                        $this->rcpt($this->recipients);
-
-                                if(!$this->data())
-                                        return FALSE;
-
-                                // Transparency
-                                $headers = str_replace(CRLF.'.', CRLF.'..', trim(implode(CRLF, $this->headers)));
-                                $body    = str_replace(CRLF.'.', CRLF.'..', $this->body);
-                                $body    = $body[0] == '.' ? '.'.$body : $body;
-
-                                $this->send_data($headers);
-                                $this->send_data('');
-                                $this->send_data($body);
-                                $this->send_data('.');
-
-                                $result = (substr(trim($this->get_data()), 0, 3) === '250');
-                                //$this->rset();
-                                return $result;
-                        }else{
-                                $this->errors[] = 'Not connected!';
-                                return FALSE;
-                        }
-                }
-
-                /**
-        * Function to implement HELO cmd
-        */
-
-                function helo(){
-                        if(is_resource($this->connection)
-                                        AND $this->send_data('HELO '.$this->helo)
-                                        AND substr(trim($error = $this->get_data()), 0, 3) === '250' ){
-
-                                return TRUE;
-
-                        }else{
-                                $this->errors[] = 'HELO command failed, output: ' . trim(substr(trim($error),3));
-                                return FALSE;
-                        }
-                }
-
-                /**
-        * Function to implement EHLO cmd
-        */
-
-                function ehlo(){
-                        if(is_resource($this->connection)
-                                        AND $this->send_data('EHLO '.$this->helo)
-                                        AND substr(trim($error = $this->get_data()), 0, 3) === '250' ){
-
-                                return TRUE;
-
-                        }else{
-                                $this->errors[] = 'EHLO command failed, output: ' . trim(substr(trim($error),3));
-                                return FALSE;
-                        }
-                }
-
-                /**
-        * Function to implement RSET cmd
-        */
-
-                function rset(){
-                        if(is_resource($this->connection)
-                                        AND $this->send_data('RSET')
-                                        AND substr(trim($error = $this->get_data()), 0, 3) === '250' ){
-
-                                return TRUE;
-
-                        }else{
-                                $this->errors[] = 'RSET command failed, output: ' . trim(substr(trim($error),3));
-                                return FALSE;
-                        }
-                }
-
-                /**
-        * Function to implement QUIT cmd
-        */
-
-                function quit(){
-                        if(is_resource($this->connection)
-                                        AND $this->send_data('QUIT')
-                                        AND substr(trim($error = $this->get_data()), 0, 3) === '221' ){
-
-                                fclose($this->connection);
-                                $this->status = SMTP_STATUS_NOT_CONNECTED;
-                                return TRUE;
-
-                        }else{
-                                $this->errors[] = 'QUIT command failed, output: ' . trim(substr(trim($error),3));
-                                return FALSE;
-                        }
-                }
-
-                /**
-        * Function to implement AUTH cmd
-        */
-
-                function auth(){
-                        if(is_resource($this->connection)
-                                        AND $this->send_data('AUTH LOGIN')
-                                        AND substr(trim($error = $this->get_data()), 0, 3) === '334'
-                                        AND $this->send_data(base64_encode($this->user))                        // Send username
-                                        AND substr(trim($error = $this->get_data()),0,3) === '334'
-                                        AND $this->send_data(base64_encode($this->pass))                        // Send password
-                                        AND substr(trim($error = $this->get_data()),0,3) === '235' ){
-
-                                $this->authenticated = TRUE;
-                                return TRUE;
-
-                        }else{
-                                $this->errors[] = 'AUTH command failed: ' . trim(substr(trim($error),3));
-                                return FALSE;
-                        }
-                }
-
-                /**
-        * Function that handles the MAIL FROM: cmd
-        */
-
-                function mail($from){
-
-                        if($this->is_connected()
-                                AND $this->send_data('MAIL FROM:<'.$from.'>')
-                                AND substr(trim($this->get_data()), 0, 2) === '250' ){
-
-                                return TRUE;
-
-                        }else
-                                return FALSE;
-                }
-
-                /**
-        * Function that handles the RCPT TO: cmd
-        */
-
-                function rcpt($to){
-
-                        if($this->is_connected()
-                                AND $this->send_data('RCPT TO:<'.$to.'>')
-                                AND substr(trim($error = $this->get_data()), 0, 2) === '25' ){
-
-                                return TRUE;
-
-                        }else{
-                                $this->errors[] = trim(substr(trim($error), 3));
-                                return FALSE;
-                        }
-                }
-
-                /**
-        * Function that sends the DATA cmd
-        */
-
-                function data(){
-
-                        if($this->is_connected()
-                                AND $this->send_data('DATA')
-                                AND substr(trim($error = $this->get_data()), 0, 3) === '354' ){
-
-                                return TRUE;
-
-                        }else{
-                                $this->errors[] = trim(substr(trim($error), 3));
-                                return FALSE;
-                        }
-                }
-
-                /**
-        * Function to determine if this object
-                * is connected to the server or not.
-        */
-
-                function is_connected(){
-
-                        return (is_resource($this->connection) AND ($this->status === SMTP_STATUS_CONNECTED));
-                }
-
-                /**
-        * Function to send a bit of data
-        */
-
-                function send_data($data){
-
-                        if(is_resource($this->connection)){
-                                return fwrite($this->connection, $data.CRLF, strlen($data)+2);
-
-                        }else
-                                return FALSE;
-                }
-
-                /**
-        * Function to get data.
-        */
-
-                function &get_data(){
-
-                        $return = '';
-                        $line   = '';
-                        $loops  = 0;
-
-                        if(is_resource($this->connection)){
-                                while((strpos($return, CRLF) === FALSE OR substr($line,3,1) !== ' ') AND $loops < 100){
-                                        $line    = fgets($this->connection, 512);
-                                        $return .= $line;
-                                        $loops++;
-                                }
-                                return $return;
-
-                        }else
-                                return FALSE;
-                }
-
-                /**
-        * Sets a variable
-        */
-
-                function set($var, $value){
-
-                        $this->$var = $value;
-                        return TRUE;
-                }
-
-        } // End of class
-
-/**
-* RFC 822 Email address list validation Utility
-*
-* What is it?
-*
-* This class will take an address string, and parse it into it's consituent
-* parts, be that either addresses, groups, or combinations. Nested groups
-* are not supported. The structure it returns is pretty straight forward,
-* and is similar to that provided by the imap_rfc822_parse_adrlist(). Use
-* print_r() to view the structure.
-*
-* How do I use it?
-*
-* $address_string = 'My Group: "Richard Heyes" <richard@localhost> (A comment), ted@example.com (Ted Bloggs), Barney;';
-* $structure = Mail_RFC822::parseAddressList($address_string, 'example.com', TRUE)
-* print_r($structure);
-*
-* @author  Richard Heyes <richard@phpguru.org>
-* @author  Chuck Hagenbuch <chuck@horde.org>
-* @version $Revision: 5969 $
-* @package Mail
-*/
-
-class Mail_RFC822
-{
-    /**
-     * The address being parsed by the RFC822 object.
-     * @var string $address
-     */
-    var $address = '';
-
-    /**
-     * The default domain to use for unqualified addresses.
-     * @var string $default_domain
-     */
-    var $default_domain = 'localhost';
-
-    /**
-     * Should we return a nested array showing groups, or flatten everything?
-     * @var boolean $nestGroups
-     */
-    var $nestGroups = true;
-
-    /**
-     * Whether or not to validate atoms for non-ascii characters.
-     * @var boolean $validate
-     */
-    var $validate = true;
-
-    /**
-     * The array of raw addresses built up as we parse.
-     * @var array $addresses
-     */
-    var $addresses = array();
-
-    /**
-     * The final array of parsed address information that we build up.
-     * @var array $structure
-     */
-    var $structure = array();
-
-    /**
-     * The current error message, if any.
-     * @var string $error
-     */
-    var $error = null;
-
-    /**
-     * An internal counter/pointer.
-     * @var integer $index
-     */
-    var $index = null;
-
-    /**
-     * The number of groups that have been found in the address list.
-     * @var integer $num_groups
-     * @access public
-     */
-    var $num_groups = 0;
-
-    /**
-     * A variable so that we can tell whether or not we're inside a
-     * Mail_RFC822 object.
-     * @var boolean $mailRFC822
-     */
-    var $mailRFC822 = true;
-
-    /**
-    * A limit after which processing stops
-    * @var int $limit
-    */
-    var $limit = null;
-
-
-    /**
-     * Sets up the object. The address must either be set here or when
-     * calling parseAddressList(). One or the other.
-     *
-     * @access public
-     * @param string  $address         The address(es) to validate.
-     * @param string  $default_domain  Default domain/host etc. If not supplied, will be set to localhost.
-     * @param boolean $nest_groups     Whether to return the structure with groups nested for easier viewing.
-     * @param boolean $validate        Whether to validate atoms. Turn this off if you need to run addresses through before encoding the personal names, for instance.
-     *
-     * @return object Mail_RFC822 A new Mail_RFC822 object.
-     */
-    function Mail_RFC822($address = null, $default_domain = null, $nest_groups = null, $validate = null, $limit = null)
-    {
-        if (isset($address))        $this->address        = $address;
-        if (isset($default_domain)) $this->default_domain = $default_domain;
-        if (isset($nest_groups))    $this->nestGroups     = $nest_groups;
-        if (isset($validate))       $this->validate       = $validate;
-        if (isset($limit))          $this->limit          = $limit;
-    }
-
-
-    /**
-     * Starts the whole process. The address must either be set here
-     * or when creating the object. One or the other.
-     *
-     * @access public
-     * @param string  $address         The address(es) to validate.
-     * @param string  $default_domain  Default domain/host etc.
-     * @param boolean $nest_groups     Whether to return the structure with groups nested for easier viewing.
-     * @param boolean $validate        Whether to validate atoms. Turn this off if you need to run addresses through before encoding the personal names, for instance.
-     *
-     * @return array A structured array of addresses.
-     */
-    function parseAddressList($address = null, $default_domain = null, $nest_groups = null, $validate = null, $limit = null)
-    {
-
-        if (!isset($this->mailRFC822)) {
-            $obj = new Mail_RFC822($address, $default_domain, $nest_groups, $validate, $limit);
-            return $obj->parseAddressList();
-        }
-
-        if (isset($address))        $this->address        = $address;
-        if (isset($default_domain)) $this->default_domain = $default_domain;
-        if (isset($nest_groups))    $this->nestGroups     = $nest_groups;
-        if (isset($validate))       $this->validate       = $validate;
-        if (isset($limit))          $this->limit          = $limit;
-
-        $this->structure  = array();
-        $this->addresses  = array();
-        $this->error      = null;
-        $this->index      = null;
-
-        while ($this->address = $this->_splitAddresses($this->address)) {
-            continue;
-        }
-
-        if ($this->address === false || isset($this->error)) {
-            return false;
-        }
-
-        // Reset timer since large amounts of addresses can take a long time to
-        // get here
-        set_time_limit(30);
-
-        // Loop through all the addresses
-        for ($i = 0; $i < count($this->addresses); $i++){
-
-            if (($return = $this->_validateAddress($this->addresses[$i])) === false
-                || isset($this->error)) {
-                return false;
-            }
-
-            if (!$this->nestGroups) {
-                $this->structure = array_merge($this->structure, $return);
-            } else {
-                $this->structure[] = $return;
-            }
-        }
-
-        return $this->structure;
-    }
-
-    /**
-     * Splits an address into seperate addresses.
-     *
-     * @access private
-     * @param string $address The addresses to split.
-     * @return boolean Success or failure.
-     */
-    function _splitAddresses($address)
-    {
-
-        if (!empty($this->limit) AND count($this->addresses) == $this->limit) {
-            return '';
-        }
-
-        if ($this->_isGroup($address) && !isset($this->error)) {
-            $split_char = ';';
-            $is_group   = true;
-        } elseif (!isset($this->error)) {
-            $split_char = ',';
-            $is_group   = false;
-        } elseif (isset($this->error)) {
-            return false;
-        }
-
-        // Split the string based on the above ten or so lines.
-        $parts  = explode($split_char, $address);
-        $string = $this->_splitCheck($parts, $split_char);
-
-        // If a group...
-        if ($is_group) {
-            // If $string does not contain a colon outside of
-            // brackets/quotes etc then something's fubar.
-
-            // First check there's a colon at all:
-            if (strpos($string, ':') === false) {
-                $this->error = 'Invalid address: ' . $string;
-                return false;
-            }
-
-            // Now check it's outside of brackets/quotes:
-            if (!$this->_splitCheck(explode(':', $string), ':'))
-                return false;
-
-            // We must have a group at this point, so increase the counter:
-            $this->num_groups++;
-        }
-
-        // $string now contains the first full address/group.
-        // Add to the addresses array.
-        $this->addresses[] = array(
-                                   'address' => trim($string),
-                                   'group'   => $is_group
-                                   );
-
-        // Remove the now stored address from the initial line, the +1
-        // is to account for the explode character.
-        $address = trim(substr($address, strlen($string) + 1));
-
-        // If the next char is a comma and this was a group, then
-        // there are more addresses, otherwise, if there are any more
-        // chars, then there is another address.
-        if ($is_group && substr($address, 0, 1) == ','){
-            $address = trim(substr($address, 1));
-            return $address;
-
-        } elseif (strlen($address) > 0) {
-            return $address;
-
-        } else {
-            return '';
-        }
-
-        // If you got here then something's off
-        return false;
-    }
-
-    /**
-     * Checks for a group at the start of the string.
-     *
-     * @access private
-     * @param string $address The address to check.
-     * @return boolean Whether or not there is a group at the start of the string.
-     */
-    function _isGroup($address)
-    {
-        // First comma not in quotes, angles or escaped:
-        $parts  = explode(',', $address);
-        $string = $this->_splitCheck($parts, ',');
-
-        // Now we have the first address, we can reliably check for a
-        // group by searching for a colon that's not escaped or in
-        // quotes or angle brackets.
-        if (count($parts = explode(':', $string)) > 1) {
-            $string2 = $this->_splitCheck($parts, ':');
-            return ($string2 !== $string);
-        } else {
-            return false;
-        }
-    }
-
-    /**
-     * A common function that will check an exploded string.
-     *
-     * @access private
-     * @param array $parts The exloded string.
-     * @param string $char  The char that was exploded on.
-     * @return mixed False if the string contains unclosed quotes/brackets, or the string on success.
-     */
-    function _splitCheck($parts, $char)
-    {
-        $string = $parts[0];
-
-        for ($i = 0; $i < count($parts); $i++) {
-            if ($this->_hasUnclosedQuotes($string)
-                || $this->_hasUnclosedBrackets($string, '<>')
-                || $this->_hasUnclosedBrackets($string, '[]')
-                || $this->_hasUnclosedBrackets($string, '()')
-                || substr($string, -1) == '\\') {
-                if (isset($parts[$i + 1])) {
-                    $string = $string . $char . $parts[$i + 1];
-                } else {
-                    $this->error = 'Invalid address spec. Unclosed bracket or quotes';
-                    return false;
-                }
-            } else {
-                $this->index = $i;
-                break;
-            }
-        }
-
-        return $string;
-    }
-
-    /**
-     * Checks if a string has an unclosed quotes or not.
-     *
-     * @access private
-     * @param string $string The string to check.
-     * @return boolean True if there are unclosed quotes inside the string, false otherwise.
-     */
-    function _hasUnclosedQuotes($string)
-    {
-        $string     = explode('"', $string);
-        $string_cnt = count($string);
-
-        for ($i = 0; $i < (count($string) - 1); $i++)
-            if (substr($string[$i], -1) == '\\')
-                $string_cnt--;
-
-        return ($string_cnt % 2 === 0);
-    }
-
-    /**
-     * Checks if a string has an unclosed brackets or not. IMPORTANT:
-     * This function handles both angle brackets and square brackets;
-     *
-     * @access private
-     * @param string $string The string to check.
-     * @param string $chars  The characters to check for.
-     * @return boolean True if there are unclosed brackets inside the string, false otherwise.
-     */
-    function _hasUnclosedBrackets($string, $chars)
-    {
-        $num_angle_start = substr_count($string, $chars[0]);
-        $num_angle_end   = substr_count($string, $chars[1]);
-
-        $this->_hasUnclosedBracketsSub($string, $num_angle_start, $chars[0]);
-        $this->_hasUnclosedBracketsSub($string, $num_angle_end, $chars[1]);
-
-        if ($num_angle_start < $num_angle_end) {
-            $this->error = 'Invalid address spec. Unmatched quote or bracket (' . $chars . ')';
-            return false;
-        } else {
-            return ($num_angle_start > $num_angle_end);
-        }
-    }
-
-    /**
-     * Sub function that is used only by hasUnclosedBrackets().
-     *
-     * @access private
-     * @param string $string The string to check.
-     * @param integer &$num    The number of occurences.
-     * @param string $char   The character to count.
-     * @return integer The number of occurences of $char in $string, adjusted for backslashes.
-     */
-    function _hasUnclosedBracketsSub($string, &$num, $char)
-    {
-        $parts = explode($char, $string);
-        for ($i = 0; $i < count($parts); $i++){
-            if (substr($parts[$i], -1) == '\\' || $this->_hasUnclosedQuotes($parts[$i]))
-                $num--;
-            if (isset($parts[$i + 1]))
-                $parts[$i + 1] = $parts[$i] . $char . $parts[$i + 1];
-        }
-
-        return $num;
-    }
-
-    /**
-     * Function to begin checking the address.
-     *
-     * @access private
-     * @param string $address The address to validate.
-     * @return mixed False on failure, or a structured array of address information on success.
-     */
-    function _validateAddress($address)
-    {
-        $is_group = false;
-
-        if ($address['group']) {
-            $is_group = true;
-
-            // Get the group part of the name
-            $parts     = explode(':', $address['address']);
-            $groupname = $this->_splitCheck($parts, ':');
-            $structure = array();
-
-            // And validate the group part of the name.
-            if (!$this->_validatePhrase($groupname)){
-                $this->error = 'Group name did not validate.';
-                return false;
-            } else {
-                // Don't include groups if we are not nesting
-                // them. This avoids returning invalid addresses.
-                if ($this->nestGroups) {
-                    $structure = new stdClass;
-                    $structure->groupname = $groupname;
-                }
-            }
-
-            $address['address'] = ltrim(substr($address['address'], strlen($groupname . ':')));
-        }
-
-        // If a group then split on comma and put into an array.
-        // Otherwise, Just put the whole address in an array.
-        if ($is_group) {
-            while (strlen($address['address']) > 0) {
-                $parts       = explode(',', $address['address']);
-                $addresses[] = $this->_splitCheck($parts, ',');
-                $address['address'] = trim(substr($address['address'], strlen(end($addresses) . ',')));
-            }
-        } else {
-            $addresses[] = $address['address'];
-        }
-
-        // Check that $addresses is set, if address like this:
-        // Groupname:;
-        // Then errors were appearing.
-        if (!isset($addresses)){
-            $this->error = 'Empty group.';
-            return false;
-        }
-
-        for ($i = 0; $i < count($addresses); $i++) {
-            $addresses[$i] = trim($addresses[$i]);
-        }
-
-        // Validate each mailbox.
-        // Format could be one of: name <geezer@domain.com>
-        //                         geezer@domain.com
-        //                         geezer
-        // ... or any other format valid by RFC 822.
-        array_walk($addresses, array($this, 'validateMailbox'));
-
-        // Nested format
-        if ($this->nestGroups) {
-            if ($is_group) {
-                $structure->addresses = $addresses;
-            } else {
-                $structure = $addresses[0];
-            }
-
-        // Flat format
-        } else {
-            if ($is_group) {
-                $structure = array_merge($structure, $addresses);
-            } else {
-                $structure = $addresses;
-            }
-        }
-
-        return $structure;
-    }
-
-    /**
-     * Function to validate a phrase.
-     *
-     * @access private
-     * @param string $phrase The phrase to check.
-     * @return boolean Success or failure.
-     */
-    function _validatePhrase($phrase)
-    {
-        // Splits on one or more Tab or space.
-        $parts = preg_split('/[ \\x09]+/', $phrase, -1, PREG_SPLIT_NO_EMPTY);
-
-        $phrase_parts = array();
-        while (count($parts) > 0){
-            $phrase_parts[] = $this->_splitCheck($parts, ' ');
-            for ($i = 0; $i < $this->index + 1; $i++)
-                array_shift($parts);
-        }
-
-        for ($i = 0; $i < count($phrase_parts); $i++) {
-            // If quoted string:
-            if (substr($phrase_parts[$i], 0, 1) == '"') {
-                if (!$this->_validateQuotedString($phrase_parts[$i]))
-                    return false;
-                continue;
-            }
-
-            // Otherwise it's an atom:
-            if (!$this->_validateAtom($phrase_parts[$i])) return false;
-        }
-
-        return true;
-    }
-
-    /**
-     * Function to validate an atom which from rfc822 is:
-     * atom = 1*<any CHAR except specials, SPACE and CTLs>
-     *
-     * If validation ($this->validate) has been turned off, then
-     * validateAtom() doesn't actually check anything. This is so that you
-     * can split a list of addresses up before encoding personal names
-     * (umlauts, etc.), for example.
-     *
-     * @access private
-     * @param string $atom The string to check.
-     * @return boolean Success or failure.
-     */
-    function _validateAtom($atom)
-    {
-        if (!$this->validate) {
-            // Validation has been turned off; assume the atom is okay.
-            return true;
-        }
-
-        // Check for any char from ASCII 0 - ASCII 127
-        if (!preg_match('/^[\\x00-\\x7E]+$/i', $atom, $matches)) {
-            return false;
-        }
-
-        // Check for specials:
-        if (preg_match('/[][()<>@,;\\:". ]/', $atom)) {
-            return false;
-        }
-
-        // Check for control characters (ASCII 0-31):
-        if (preg_match('/[\\x00-\\x1F]+/', $atom)) {
-            return false;
-        }
-
-        return true;
-    }
-
-    /**
-     * Function to validate quoted string, which is:
-     * quoted-string = <"> *(qtext/quoted-pair) <">
-     *
-     * @access private
-     * @param string $qstring The string to check
-     * @return boolean Success or failure.
-     */
-    function _validateQuotedString($qstring)
-    {
-        // Leading and trailing "
-        $qstring = substr($qstring, 1, -1);
-
-        // Perform check.
-        return !(preg_match('/(.)[\x0D\\\\"]/', $qstring, $matches) && $matches[1] != '\\');
-    }
-
-    /**
-     * Function to validate a mailbox, which is:
-     * mailbox =   addr-spec         ; simple address
-     *           / phrase route-addr ; name and route-addr
-     *
-     * @access public
-     * @param string &$mailbox The string to check.
-     * @return boolean Success or failure.
-     */
-    function validateMailbox(&$mailbox)
-    {
-        // A couple of defaults.
-        $phrase  = '';
-        $comment = '';
-
-        // Catch any RFC822 comments and store them separately
-        $_mailbox = $mailbox;
-        while (strlen(trim($_mailbox)) > 0) {
-            $parts = explode('(', $_mailbox);
-            $before_comment = $this->_splitCheck($parts, '(');
-            if ($before_comment != $_mailbox) {
-                // First char should be a (
-                $comment    = substr(str_replace($before_comment, '', $_mailbox), 1);
-                $parts      = explode(')', $comment);
-                $comment    = $this->_splitCheck($parts, ')');
-                $comments[] = $comment;
-
-                // +1 is for the trailing )
-                $_mailbox   = substr($_mailbox, strpos($_mailbox, $comment)+strlen($comment)+1);
-            } else {
-                break;
-            }
-        }
-
-        for($i=0; $i<count(@$comments); $i++){
-            $mailbox = str_replace('('.$comments[$i].')', '', $mailbox);
-        }
-        $mailbox = trim($mailbox);
-
-        // Check for name + route-addr
-        if (substr($mailbox, -1) == '>' && substr($mailbox, 0, 1) != '<') {
-            $parts  = explode('<', $mailbox);
-            $name   = $this->_splitCheck($parts, '<');
-
-            $phrase     = trim($name);
-            $route_addr = trim(substr($mailbox, strlen($name.'<'), -1));
-
-            if ($this->_validatePhrase($phrase) === false || ($route_addr = $this->_validateRouteAddr($route_addr)) === false)
-                return false;
-
-        // Only got addr-spec
-        } else {
-            // First snip angle brackets if present.
-            if (substr($mailbox,0,1) == '<' && substr($mailbox,-1) == '>')
-                $addr_spec = substr($mailbox,1,-1);
-            else
-                $addr_spec = $mailbox;
-
-            if (($addr_spec = $this->_validateAddrSpec($addr_spec)) === false)
-                return false;
-        }
-
-        // Construct the object that will be returned.
-        $mbox = new stdClass();
-
-        // Add the phrase (even if empty) and comments
-        $mbox->personal = $phrase;
-        $mbox->comment  = isset($comments) ? $comments : array();
-
-        if (isset($route_addr)) {
-            $mbox->mailbox = $route_addr['local_part'];
-            $mbox->host    = $route_addr['domain'];
-            $route_addr['adl'] !== '' ? $mbox->adl = $route_addr['adl'] : '';
-        } else {
-            $mbox->mailbox = $addr_spec['local_part'];
-            $mbox->host    = $addr_spec['domain'];
-        }
-
-        $mailbox = $mbox;
-        return true;
-    }
-
-    /**
-     * This function validates a route-addr which is:
-     * route-addr = "<" [route] addr-spec ">"
-     *
-     * Angle brackets have already been removed at the point of
-     * getting to this function.
-     *
-     * @access private
-     * @param string $route_addr The string to check.
-     * @return mixed False on failure, or an array containing validated address/route information on success.
-     */
-    function _validateRouteAddr($route_addr)
-    {
-        // Check for colon.
-        if (strpos($route_addr, ':') !== false) {
-            $parts = explode(':', $route_addr);
-            $route = $this->_splitCheck($parts, ':');
-        } else {
-            $route = $route_addr;
-        }
-
-        // If $route is same as $route_addr then the colon was in
-        // quotes or brackets or, of course, non existent.
-        if ($route === $route_addr){
-            unset($route);
-            $addr_spec = $route_addr;
-            if (($addr_spec = $this->_validateAddrSpec($addr_spec)) === false) {
-                return false;
-            }
-        } else {
-            // Validate route part.
-            if (($route = $this->_validateRoute($route)) === false) {
-                return false;
-            }
-
-            $addr_spec = substr($route_addr, strlen($route . ':'));
-
-            // Validate addr-spec part.
-            if (($addr_spec = $this->_validateAddrSpec($addr_spec)) === false) {
-                return false;
-            }
-        }
-
-        if (isset($route)) {
-            $return['adl'] = $route;
-        } else {
-            $return['adl'] = '';
-        }
-
-        $return = array_merge($return, $addr_spec);
-        return $return;
-    }
-
-    /**
-     * Function to validate a route, which is:
-     * route = 1#("@" domain) ":"
-     *
-     * @access private
-     * @param string $route The string to check.
-     * @return mixed False on failure, or the validated $route on success.
-     */
-    function _validateRoute($route)
-    {
-        // Split on comma.
-        $domains = explode(',', trim($route));
-
-        for ($i = 0; $i < count($domains); $i++) {
-            $domains[$i] = str_replace('@', '', trim($domains[$i]));
-            if (!$this->_validateDomain($domains[$i])) return false;
-        }
-
-        return $route;
-    }
-
-    /**
-     * Function to validate a domain, though this is not quite what
-     * you expect of a strict internet domain.
-     *
-     * domain = sub-domain *("." sub-domain)
-     *
-     * @access private
-     * @param string $domain The string to check.
-     * @return mixed False on failure, or the validated domain on success.
-     */
-    function _validateDomain($domain)
-    {
-        // Note the different use of $subdomains and $sub_domains
-        $subdomains = explode('.', $domain);
-
-        while (count($subdomains) > 0) {
-            $sub_domains[] = $this->_splitCheck($subdomains, '.');
-            for ($i = 0; $i < $this->index + 1; $i++)
-                array_shift($subdomains);
-        }
-
-        for ($i = 0; $i < count($sub_domains); $i++) {
-            if (!$this->_validateSubdomain(trim($sub_domains[$i])))
-                return false;
-        }
-
-        // Managed to get here, so return input.
-        return $domain;
-    }
-
-    /**
-     * Function to validate a subdomain:
-     *   subdomain = domain-ref / domain-literal
-     *
-     * @access private
-     * @param string $subdomain The string to check.
-     * @return boolean Success or failure.
-     */
-    function _validateSubdomain($subdomain)
-    {
-        if (preg_match('|^\[(.*)]$|', $subdomain, $arr)){
-            if (!$this->_validateDliteral($arr[1])) return false;
-        } else {
-            if (!$this->_validateAtom($subdomain)) return false;
-        }
-
-        // Got here, so return successful.
-        return true;
-    }
-
-    /**
-     * Function to validate a domain literal:
-     *   domain-literal =  "[" *(dtext / quoted-pair) "]"
-     *
-     * @access private
-     * @param string $dliteral The string to check.
-     * @return boolean Success or failure.
-     */
-    function _validateDliteral($dliteral)
-    {
-        return !preg_match('/(.)[][\x0D\\\\]/', $dliteral, $matches) && $matches[1] != '\\';
-    }
-
-    /**
-     * Function to validate an addr-spec.
-     *
-     * addr-spec = local-part "@" domain
-     *
-     * @access private
-     * @param string $addr_spec The string to check.
-     * @return mixed False on failure, or the validated addr-spec on success.
-     */
-    function _validateAddrSpec($addr_spec)
-    {
-        $addr_spec = trim($addr_spec);
-
-        // Split on @ sign if there is one.
-        if (strpos($addr_spec, '@') !== false) {
-            $parts      = explode('@', $addr_spec);
-            $local_part = $this->_splitCheck($parts, '@');
-            $domain     = substr($addr_spec, strlen($local_part . '@'));
-
-        // No @ sign so assume the default domain.
-        } else {
-            $local_part = $addr_spec;
-            $domain     = $this->default_domain;
-        }
-
-        if (($local_part = $this->_validateLocalPart($local_part)) === false) return false;
-        if (($domain     = $this->_validateDomain($domain)) === false) return false;
-
-        // Got here so return successful.
-        return array('local_part' => $local_part, 'domain' => $domain);
-    }
-
-    /**
-     * Function to validate the local part of an address:
-     *   local-part = word *("." word)
-     *
-     * @access private
-     * @param string $local_part
-     * @return mixed False on failure, or the validated local part on success.
-     */
-    function _validateLocalPart($local_part)
-    {
-        $parts = explode('.', $local_part);
-
-        // Split the local_part into words.
-        while (count($parts) > 0){
-            $words[] = $this->_splitCheck($parts, '.');
-            for ($i = 0; $i < $this->index + 1; $i++) {
-                array_shift($parts);
-            }
-        }
-
-        // Validate each word.
-        for ($i = 0; $i < count($words); $i++) {
-            if ($this->_validatePhrase(trim($words[$i])) === false) return false;
-        }
-
-        // Managed to get here, so return the input.
-        return $local_part;
-    }
-
-    /**
-    * Returns an approximate count of how many addresses are
-    * in the given string. This is APPROXIMATE as it only splits
-    * based on a comma which has no preceding backslash. Could be
-    * useful as large amounts of addresses will end up producing
-    * *large* structures when used with parseAddressList().
-    *
-    * @param  string $data Addresses to count
-    * @return int          Approximate count
-    */
-    function approximateCount($data)
-    {
-        return count(preg_split('/(?<!\\\\),/', $data));
-    }
-
-    /**
-    * This is a email validating function seperate to the rest
-    * of the class. It simply validates whether an email is of
-    * the common internet form: <user>@<domain>. This can be
-    * sufficient for most people. Optional stricter mode can
-    * be utilised which restricts mailbox characters allowed
-    * to alphanumeric, full stop, hyphen and underscore.
-    *
-    * @param  string  $data   Address to check
-    * @param  boolean $strict Optional stricter mode
-    * @return mixed           False if it fails, an indexed array
-    *                         username/domain if it matches
-    */
-    function isValidInetAddress($data, $strict = false)
-    {
-        $regex = $strict ? '/^([.0-9a-z_-]+)@(([0-9a-z-]+\.)+[0-9a-z]{2,4})$/i' : '/^([*+!.&#$|\'\\%\/0-9a-z^_`{}=?~:-]+)@(([0-9a-z-]+\.)+[0-9a-z]{2,4})$/i';
-        if (preg_match($regex, trim($data), $matches)) {
-            return array($matches[1], $matches[2]);
-        } else {
-            return false;
-        }
-    }
-}
-
-?>
+<?php
+/*************************
+  Coppermine Photo Gallery
+  ************************
+  Copyright (c) 2003-2009 Coppermine Dev Team
+  v1.1 originally written by Gregory DEMAR
+
+  This program is free software; you can redistribute it and/or modify
+  it under the terms of the GNU General Public License version 3
+  as published by the Free Software Foundation.
+  
+  ********************************************
+  Coppermine version: 1.4.25
+  $HeadURL: https://coppermine.svn.sourceforge.net/svnroot/coppermine/trunk/cpg1.4.x/include/smtp.inc.php $
+  $Revision: 5997 $
+  $Author: gaugau $
+  $Date: 2009-05-26 08:43:24 +0200 (Di, 26 Mai 2009) $
+**********************************************/
+
+/**
+* Filename.......: class.smtp.inc
+* Project........: SMTP Class
+* Version........: 1.0.5
+* Last Modified..: 21 December 2001
+*/
+
+        define('SMTP_STATUS_NOT_CONNECTED', 1, TRUE);
+        define('SMTP_STATUS_CONNECTED', 2, TRUE);
+
+        class smtp{
+
+                var $authenticated;
+                var $connection;
+                var $recipients;
+                var $headers;
+                var $timeout;
+                var $errors;
+                var $status;
+                var $body;
+                var $from;
+                var $host;
+                var $port;
+                var $helo;
+                var $auth;
+                var $user;
+                var $pass;
+
+                /**
+        * Constructor function. Arguments:
+                * $params - An assoc array of parameters:
+                *
+                *   host    - The hostname of the smtp server                Default: localhost
+                *   port    - The port the smtp server runs on                Default: 25
+                *   helo    - What to send as the HELO command                Default: localhost
+                *             (typically the hostname of the
+                *             machine this script runs on)
+                *   auth    - Whether to use basic authentication        Default: FALSE
+                *   user    - Username for authentication                        Default: <blank>
+                *   pass    - Password for authentication                        Default: <blank>
+                *   timeout - The timeout in seconds for the call        Default: 5
+                *             to fsockopen()
+        */
+
+                function smtp($params = array()){
+
+                        if(!defined('CRLF'))
+                                define('CRLF', "\r\n", TRUE);
+
+                        $this->authenticated        = FALSE;
+                        $this->timeout                        = 5;
+                        $this->status                        = SMTP_STATUS_NOT_CONNECTED;
+                        $this->host                                = 'localhost';
+                        $this->port                                = 25;
+                        $this->helo                                = 'localhost';
+                        $this->auth                                = FALSE;
+                        $this->user                                = '';
+                        $this->pass                                = '';
+                        $this->errors                   = array();
+
+                        foreach($params as $key => $value){
+                                $this->$key = $value;
+                        }
+                }
+
+                /**
+        * Connect function. This will, when called
+                * statically, create a new smtp object,
+                * call the connect function (ie this function)
+                * and return it. When not called statically,
+                * it will connect to the server and send
+                * the HELO command.
+        */
+
+                function &connect($params = array()){
+
+                        if(!isset($this->status)){
+                                $obj = new smtp($params);
+                                if($obj->connect()){
+                                        $obj->status = SMTP_STATUS_CONNECTED;
+                                }
+
+                                return $obj;
+
+                        }else{
+                                $this->connection = fsockopen($this->host, $this->port, $errno, $errstr, $this->timeout);
+                                if(function_exists('socket_set_timeout')){
+                                        @socket_set_timeout($this->connection, 5, 0);
+                                }
+
+                                $greeting = $this->get_data();
+                                if(is_resource($this->connection)){
+                                        return $this->auth ? $this->ehlo() : $this->helo();
+                                }else{
+                                        $this->errors[] = 'Failed to connect to server: '.$errstr;
+                                        return FALSE;
+                                }
+                        }
+                }
+
+                /**
+        * Function which handles sending the mail.
+                * Arguments:
+                * $params        - Optional assoc array of parameters.
+                *            Can contain:
+                *              recipients - Indexed array of recipients
+                *              from       - The from address. (used in MAIL FROM:),
+                *                           this will be the return path
+                *              headers    - Indexed array of headers, one header per array entry
+                *              body       - The body of the email
+                *            It can also contain any of the parameters from the connect()
+                *            function
+        */
+
+                function send($params = array()){
+
+                        foreach($params as $key => $value){
+                                $this->set($key, $value);
+                        }
+
+                        if($this->is_connected()){
+
+                                // Do we auth or not? Note the distinction between the auth variable and auth() function
+                                if($this->auth AND !$this->authenticated){
+                                        if(!$this->auth())
+                                                return FALSE;
+                                }
+
+                                $this->mail($this->from);
+                                if(is_array($this->recipients))
+                                        foreach($this->recipients as $value)
+                                                $this->rcpt($value);
+                                else
+                                        $this->rcpt($this->recipients);
+
+                                if(!$this->data())
+                                        return FALSE;
+
+                                // Transparency
+                                $headers = str_replace(CRLF.'.', CRLF.'..', trim(implode(CRLF, $this->headers)));
+                                $body    = str_replace(CRLF.'.', CRLF.'..', $this->body);
+                                $body    = $body[0] == '.' ? '.'.$body : $body;
+
+                                $this->send_data($headers);
+                                $this->send_data('');
+                                $this->send_data($body);
+                                $this->send_data('.');
+
+                                $result = (substr(trim($this->get_data()), 0, 3) === '250');
+                                //$this->rset();
+                                return $result;
+                        }else{
+                                $this->errors[] = 'Not connected!';
+                                return FALSE;
+                        }
+                }
+
+                /**
+        * Function to implement HELO cmd
+        */
+
+                function helo(){
+                        if(is_resource($this->connection)
+                                        AND $this->send_data('HELO '.$this->helo)
+                                        AND substr(trim($error = $this->get_data()), 0, 3) === '250' ){
+
+                                return TRUE;
+
+                        }else{
+                                $this->errors[] = 'HELO command failed, output: ' . trim(substr(trim($error),3));
+                                return FALSE;
+                        }
+                }
+
+                /**
+        * Function to implement EHLO cmd
+        */
+
+                function ehlo(){
+                        if(is_resource($this->connection)
+                                        AND $this->send_data('EHLO '.$this->helo)
+                                        AND substr(trim($error = $this->get_data()), 0, 3) === '250' ){
+
+                                return TRUE;
+
+                        }else{
+                                $this->errors[] = 'EHLO command failed, output: ' . trim(substr(trim($error),3));
+                                return FALSE;
+                        }
+                }
+
+                /**
+        * Function to implement RSET cmd
+        */
+
+                function rset(){
+                        if(is_resource($this->connection)
+                                        AND $this->send_data('RSET')
+                                        AND substr(trim($error = $this->get_data()), 0, 3) === '250' ){
+
+                                return TRUE;
+
+                        }else{
+                                $this->errors[] = 'RSET command failed, output: ' . trim(substr(trim($error),3));
+                                return FALSE;
+                        }
+                }
+
+                /**
+        * Function to implement QUIT cmd
+        */
+
+                function quit(){
+                        if(is_resource($this->connection)
+                                        AND $this->send_data('QUIT')
+                                        AND substr(trim($error = $this->get_data()), 0, 3) === '221' ){
+
+                                fclose($this->connection);
+                                $this->status = SMTP_STATUS_NOT_CONNECTED;
+                                return TRUE;
+
+                        }else{
+                                $this->errors[] = 'QUIT command failed, output: ' . trim(substr(trim($error),3));
+                                return FALSE;
+                        }
+                }
+
+                /**
+        * Function to implement AUTH cmd
+        */
+
+                function auth(){
+                        if(is_resource($this->connection)
+                                        AND $this->send_data('AUTH LOGIN')
+                                        AND substr(trim($error = $this->get_data()), 0, 3) === '334'
+                                        AND $this->send_data(base64_encode($this->user))                        // Send username
+                                        AND substr(trim($error = $this->get_data()),0,3) === '334'
+                                        AND $this->send_data(base64_encode($this->pass))                        // Send password
+                                        AND substr(trim($error = $this->get_data()),0,3) === '235' ){
+
+                                $this->authenticated = TRUE;
+                                return TRUE;
+
+                        }else{
+                                $this->errors[] = 'AUTH command failed: ' . trim(substr(trim($error),3));
+                                return FALSE;
+                        }
+                }
+
+                /**
+        * Function that handles the MAIL FROM: cmd
+        */
+
+                function mail($from){
+
+                        if($this->is_connected()
+                                AND $this->send_data('MAIL FROM:<'.$from.'>')
+                                AND substr(trim($this->get_data()), 0, 2) === '250' ){
+
+                                return TRUE;
+
+                        }else
+                                return FALSE;
+                }
+
+                /**
+        * Function that handles the RCPT TO: cmd
+        */
+
+                function rcpt($to){
+
+                        if($this->is_connected()
+                                AND $this->send_data('RCPT TO:<'.$to.'>')
+                                AND substr(trim($error = $this->get_data()), 0, 2) === '25' ){
+
+                                return TRUE;
+
+                        }else{
+                                $this->errors[] = trim(substr(trim($error), 3));
+                                return FALSE;
+                        }
+                }
+
+                /**
+        * Function that sends the DATA cmd
+        */
+
+                function data(){
+
+                        if($this->is_connected()
+                                AND $this->send_data('DATA')
+                                AND substr(trim($error = $this->get_data()), 0, 3) === '354' ){
+
+                                return TRUE;
+
+                        }else{
+                                $this->errors[] = trim(substr(trim($error), 3));
+                                return FALSE;
+                        }
+                }
+
+                /**
+        * Function to determine if this object
+                * is connected to the server or not.
+        */
+
+                function is_connected(){
+
+                        return (is_resource($this->connection) AND ($this->status === SMTP_STATUS_CONNECTED));
+                }
+
+                /**
+        * Function to send a bit of data
+        */
+
+                function send_data($data){
+
+                        if(is_resource($this->connection)){
+                                return fwrite($this->connection, $data.CRLF, strlen($data)+2);
+
+                        }else
+                                return FALSE;
+                }
+
+                /**
+        * Function to get data.
+        */
+
+                function &get_data(){
+
+                        $return = '';
+                        $line   = '';
+                        $loops  = 0;
+
+                        if(is_resource($this->connection)){
+                                while((strpos($return, CRLF) === FALSE OR substr($line,3,1) !== ' ') AND $loops < 100){
+                                        $line    = fgets($this->connection, 512);
+                                        $return .= $line;
+                                        $loops++;
+                                }
+                                return $return;
+
+                        }else
+                                return FALSE;
+                }
+
+                /**
+        * Sets a variable
+        */
+
+                function set($var, $value){
+
+                        $this->$var = $value;
+                        return TRUE;
+                }
+
+        } // End of class
+
+/**
+* RFC 822 Email address list validation Utility
+*
+* What is it?
+*
+* This class will take an address string, and parse it into it's consituent
+* parts, be that either addresses, groups, or combinations. Nested groups
+* are not supported. The structure it returns is pretty straight forward,
+* and is similar to that provided by the imap_rfc822_parse_adrlist(). Use
+* print_r() to view the structure.
+*
+* How do I use it?
+*
+* $address_string = 'My Group: "Richard Heyes" <richard@localhost> (A comment), ted@example.com (Ted Bloggs), Barney;';
+* $structure = Mail_RFC822::parseAddressList($address_string, 'example.com', TRUE)
+* print_r($structure);
+*
+* @author  Richard Heyes <richard@phpguru.org>
+* @author  Chuck Hagenbuch <chuck@horde.org>
+* @version $Revision: 5997 $
+* @package Mail
+*/
+
+class Mail_RFC822
+{
+    /**
+     * The address being parsed by the RFC822 object.
+     * @var string $address
+     */
+    var $address = '';
+
+    /**
+     * The default domain to use for unqualified addresses.
+     * @var string $default_domain
+     */
+    var $default_domain = 'localhost';
+
+    /**
+     * Should we return a nested array showing groups, or flatten everything?
+     * @var boolean $nestGroups
+     */
+    var $nestGroups = true;
+
+    /**
+     * Whether or not to validate atoms for non-ascii characters.
+     * @var boolean $validate
+     */
+    var $validate = true;
+
+    /**
+     * The array of raw addresses built up as we parse.
+     * @var array $addresses
+     */
+    var $addresses = array();
+
+    /**
+     * The final array of parsed address information that we build up.
+     * @var array $structure
+     */
+    var $structure = array();
+
+    /**
+     * The current error message, if any.
+     * @var string $error
+     */
+    var $error = null;
+
+    /**
+     * An internal counter/pointer.
+     * @var integer $index
+     */
+    var $index = null;
+
+    /**
+     * The number of groups that have been found in the address list.
+     * @var integer $num_groups
+     * @access public
+     */
+    var $num_groups = 0;
+
+    /**
+     * A variable so that we can tell whether or not we're inside a
+     * Mail_RFC822 object.
+     * @var boolean $mailRFC822
+     */
+    var $mailRFC822 = true;
+
+    /**
+    * A limit after which processing stops
+    * @var int $limit
+    */
+    var $limit = null;
+
+
+    /**
+     * Sets up the object. The address must either be set here or when
+     * calling parseAddressList(). One or the other.
+     *
+     * @access public
+     * @param string  $address         The address(es) to validate.
+     * @param string  $default_domain  Default domain/host etc. If not supplied, will be set to localhost.
+     * @param boolean $nest_groups     Whether to return the structure with groups nested for easier viewing.
+     * @param boolean $validate        Whether to validate atoms. Turn this off if you need to run addresses through before encoding the personal names, for instance.
+     *
+     * @return object Mail_RFC822 A new Mail_RFC822 object.
+     */
+    function Mail_RFC822($address = null, $default_domain = null, $nest_groups = null, $validate = null, $limit = null)
+    {
+        if (isset($address))        $this->address        = $address;
+        if (isset($default_domain)) $this->default_domain = $default_domain;
+        if (isset($nest_groups))    $this->nestGroups     = $nest_groups;
+        if (isset($validate))       $this->validate       = $validate;
+        if (isset($limit))          $this->limit          = $limit;
+    }
+
+
+    /**
+     * Starts the whole process. The address must either be set here
+     * or when creating the object. One or the other.
+     *
+     * @access public
+     * @param string  $address         The address(es) to validate.
+     * @param string  $default_domain  Default domain/host etc.
+     * @param boolean $nest_groups     Whether to return the structure with groups nested for easier viewing.
+     * @param boolean $validate        Whether to validate atoms. Turn this off if you need to run addresses through before encoding the personal names, for instance.
+     *
+     * @return array A structured array of addresses.
+     */
+    function parseAddressList($address = null, $default_domain = null, $nest_groups = null, $validate = null, $limit = null)
+    {
+
+        if (!isset($this->mailRFC822)) {
+            $obj = new Mail_RFC822($address, $default_domain, $nest_groups, $validate, $limit);
+            return $obj->parseAddressList();
+        }
+
+        if (isset($address))        $this->address        = $address;
+        if (isset($default_domain)) $this->default_domain = $default_domain;
+        if (isset($nest_groups))    $this->nestGroups     = $nest_groups;
+        if (isset($validate))       $this->validate       = $validate;
+        if (isset($limit))          $this->limit          = $limit;
+
+        $this->structure  = array();
+        $this->addresses  = array();
+        $this->error      = null;
+        $this->index      = null;
+
+        while ($this->address = $this->_splitAddresses($this->address)) {
+            continue;
+        }
+
+        if ($this->address === false || isset($this->error)) {
+            return false;
+        }
+
+        // Reset timer since large amounts of addresses can take a long time to
+        // get here
+        set_time_limit(30);
+
+        // Loop through all the addresses
+        for ($i = 0; $i < count($this->addresses); $i++){
+
+            if (($return = $this->_validateAddress($this->addresses[$i])) === false
+                || isset($this->error)) {
+                return false;
+            }
+
+            if (!$this->nestGroups) {
+                $this->structure = array_merge($this->structure, $return);
+            } else {
+                $this->structure[] = $return;
+            }
+        }
+
+        return $this->structure;
+    }
+
+    /**
+     * Splits an address into seperate addresses.
+     *
+     * @access private
+     * @param string $address The addresses to split.
+     * @return boolean Success or failure.
+     */
+    function _splitAddresses($address)
+    {
+
+        if (!empty($this->limit) AND count($this->addresses) == $this->limit) {
+            return '';
+        }
+
+        if ($this->_isGroup($address) && !isset($this->error)) {
+            $split_char = ';';
+            $is_group   = true;
+        } elseif (!isset($this->error)) {
+            $split_char = ',';
+            $is_group   = false;
+        } elseif (isset($this->error)) {
+            return false;
+        }
+
+        // Split the string based on the above ten or so lines.
+        $parts  = explode($split_char, $address);
+        $string = $this->_splitCheck($parts, $split_char);
+
+        // If a group...
+        if ($is_group) {
+            // If $string does not contain a colon outside of
+            // brackets/quotes etc then something's fubar.
+
+            // First check there's a colon at all:
+            if (strpos($string, ':') === false) {
+                $this->error = 'Invalid address: ' . $string;
+                return false;
+            }
+
+            // Now check it's outside of brackets/quotes:
+            if (!$this->_splitCheck(explode(':', $string), ':'))
+                return false;
+
+            // We must have a group at this point, so increase the counter:
+            $this->num_groups++;
+        }
+
+        // $string now contains the first full address/group.
+        // Add to the addresses array.
+        $this->addresses[] = array(
+                                   'address' => trim($string),
+                                   'group'   => $is_group
+                                   );
+
+        // Remove the now stored address from the initial line, the +1
+        // is to account for the explode character.
+        $address = trim(substr($address, strlen($string) + 1));
+
+        // If the next char is a comma and this was a group, then
+        // there are more addresses, otherwise, if there are any more
+        // chars, then there is another address.
+        if ($is_group && substr($address, 0, 1) == ','){
+            $address = trim(substr($address, 1));
+            return $address;
+
+        } elseif (strlen($address) > 0) {
+            return $address;
+
+        } else {
+            return '';
+        }
+
+        // If you got here then something's off
+        return false;
+    }
+
+    /**
+     * Checks for a group at the start of the string.
+     *
+     * @access private
+     * @param string $address The address to check.
+     * @return boolean Whether or not there is a group at the start of the string.
+     */
+    function _isGroup($address)
+    {
+        // First comma not in quotes, angles or escaped:
+        $parts  = explode(',', $address);
+        $string = $this->_splitCheck($parts, ',');
+
+        // Now we have the first address, we can reliably check for a
+        // group by searching for a colon that's not escaped or in
+        // quotes or angle brackets.
+        if (count($parts = explode(':', $string)) > 1) {
+            $string2 = $this->_splitCheck($parts, ':');
+            return ($string2 !== $string);
+        } else {
+            return false;
+        }
+    }
+
+    /**
+     * A common function that will check an exploded string.
+     *
+     * @access private
+     * @param array $parts The exloded string.
+     * @param string $char  The char that was exploded on.
+     * @return mixed False if the string contains unclosed quotes/brackets, or the string on success.
+     */
+    function _splitCheck($parts, $char)
+    {
+        $string = $parts[0];
+
+        for ($i = 0; $i < count($parts); $i++) {
+            if ($this->_hasUnclosedQuotes($string)
+                || $this->_hasUnclosedBrackets($string, '<>')
+                || $this->_hasUnclosedBrackets($string, '[]')
+                || $this->_hasUnclosedBrackets($string, '()')
+                || substr($string, -1) == '\\') {
+                if (isset($parts[$i + 1])) {
+                    $string = $string . $char . $parts[$i + 1];
+                } else {
+                    $this->error = 'Invalid address spec. Unclosed bracket or quotes';
+                    return false;
+                }
+            } else {
+                $this->index = $i;
+                break;
+            }
+        }
+
+        return $string;
+    }
+
+    /**
+     * Checks if a string has an unclosed quotes or not.
+     *
+     * @access private
+     * @param string $string The string to check.
+     * @return boolean True if there are unclosed quotes inside the string, false otherwise.
+     */
+    function _hasUnclosedQuotes($string)
+    {
+        $string     = explode('"', $string);
+        $string_cnt = count($string);
+
+        for ($i = 0; $i < (count($string) - 1); $i++)
+            if (substr($string[$i], -1) == '\\')
+                $string_cnt--;
+
+        return ($string_cnt % 2 === 0);
+    }
+
+    /**
+     * Checks if a string has an unclosed brackets or not. IMPORTANT:
+     * This function handles both angle brackets and square brackets;
+     *
+     * @access private
+     * @param string $string The string to check.
+     * @param string $chars  The characters to check for.
+     * @return boolean True if there are unclosed brackets inside the string, false otherwise.
+     */
+    function _hasUnclosedBrackets($string, $chars)
+    {
+        $num_angle_start = substr_count($string, $chars[0]);
+        $num_angle_end   = substr_count($string, $chars[1]);
+
+        $this->_hasUnclosedBracketsSub($string, $num_angle_start, $chars[0]);
+        $this->_hasUnclosedBracketsSub($string, $num_angle_end, $chars[1]);
+
+        if ($num_angle_start < $num_angle_end) {
+            $this->error = 'Invalid address spec. Unmatched quote or bracket (' . $chars . ')';
+            return false;
+        } else {
+            return ($num_angle_start > $num_angle_end);
+        }
+    }
+
+    /**
+     * Sub function that is used only by hasUnclosedBrackets().
+     *
+     * @access private
+     * @param string $string The string to check.
+     * @param integer &$num    The number of occurences.
+     * @param string $char   The character to count.
+     * @return integer The number of occurences of $char in $string, adjusted for backslashes.
+     */
+    function _hasUnclosedBracketsSub($string, &$num, $char)
+    {
+        $parts = explode($char, $string);
+        for ($i = 0; $i < count($parts); $i++){
+            if (substr($parts[$i], -1) == '\\' || $this->_hasUnclosedQuotes($parts[$i]))
+                $num--;
+            if (isset($parts[$i + 1]))
+                $parts[$i + 1] = $parts[$i] . $char . $parts[$i + 1];
+        }
+
+        return $num;
+    }
+
+    /**
+     * Function to begin checking the address.
+     *
+     * @access private
+     * @param string $address The address to validate.
+     * @return mixed False on failure, or a structured array of address information on success.
+     */
+    function _validateAddress($address)
+    {
+        $is_group = false;
+
+        if ($address['group']) {
+            $is_group = true;
+
+            // Get the group part of the name
+            $parts     = explode(':', $address['address']);
+            $groupname = $this->_splitCheck($parts, ':');
+            $structure = array();
+
+            // And validate the group part of the name.
+            if (!$this->_validatePhrase($groupname)){
+                $this->error = 'Group name did not validate.';
+                return false;
+            } else {
+                // Don't include groups if we are not nesting
+                // them. This avoids returning invalid addresses.
+                if ($this->nestGroups) {
+                    $structure = new stdClass;
+                    $structure->groupname = $groupname;
+                }
+            }
+
+            $address['address'] = ltrim(substr($address['address'], strlen($groupname . ':')));
+        }
+
+        // If a group then split on comma and put into an array.
+        // Otherwise, Just put the whole address in an array.
+        if ($is_group) {
+            while (strlen($address['address']) > 0) {
+                $parts       = explode(',', $address['address']);
+                $addresses[] = $this->_splitCheck($parts, ',');
+                $address['address'] = trim(substr($address['address'], strlen(end($addresses) . ',')));
+            }
+        } else {
+            $addresses[] = $address['address'];
+        }
+
+        // Check that $addresses is set, if address like this:
+        // Groupname:;
+        // Then errors were appearing.
+        if (!isset($addresses)){
+            $this->error = 'Empty group.';
+            return false;
+        }
+
+        for ($i = 0; $i < count($addresses); $i++) {
+            $addresses[$i] = trim($addresses[$i]);
+        }
+
+        // Validate each mailbox.
+        // Format could be one of: name <geezer@domain.com>
+        //                         geezer@domain.com
+        //                         geezer
+        // ... or any other format valid by RFC 822.
+        array_walk($addresses, array($this, 'validateMailbox'));
+
+        // Nested format
+        if ($this->nestGroups) {
+            if ($is_group) {
+                $structure->addresses = $addresses;
+            } else {
+                $structure = $addresses[0];
+            }
+
+        // Flat format
+        } else {
+            if ($is_group) {
+                $structure = array_merge($structure, $addresses);
+            } else {
+                $structure = $addresses;
+            }
+        }
+
+        return $structure;
+    }
+
+    /**
+     * Function to validate a phrase.
+     *
+     * @access private
+     * @param string $phrase The phrase to check.
+     * @return boolean Success or failure.
+     */
+    function _validatePhrase($phrase)
+    {
+        // Splits on one or more Tab or space.
+        $parts = preg_split('/[ \\x09]+/', $phrase, -1, PREG_SPLIT_NO_EMPTY);
+
+        $phrase_parts = array();
+        while (count($parts) > 0){
+            $phrase_parts[] = $this->_splitCheck($parts, ' ');
+            for ($i = 0; $i < $this->index + 1; $i++)
+                array_shift($parts);
+        }
+
+        for ($i = 0; $i < count($phrase_parts); $i++) {
+            // If quoted string:
+            if (substr($phrase_parts[$i], 0, 1) == '"') {
+                if (!$this->_validateQuotedString($phrase_parts[$i]))
+                    return false;
+                continue;
+            }
+
+            // Otherwise it's an atom:
+            if (!$this->_validateAtom($phrase_parts[$i])) return false;
+        }
+
+        return true;
+    }
+
+    /**
+     * Function to validate an atom which from rfc822 is:
+     * atom = 1*<any CHAR except specials, SPACE and CTLs>
+     *
+     * If validation ($this->validate) has been turned off, then
+     * validateAtom() doesn't actually check anything. This is so that you
+     * can split a list of addresses up before encoding personal names
+     * (umlauts, etc.), for example.
+     *
+     * @access private
+     * @param string $atom The string to check.
+     * @return boolean Success or failure.
+     */
+    function _validateAtom($atom)
+    {
+        if (!$this->validate) {
+            // Validation has been turned off; assume the atom is okay.
+            return true;
+        }
+
+        // Check for any char from ASCII 0 - ASCII 127
+        if (!preg_match('/^[\\x00-\\x7E]+$/i', $atom, $matches)) {
+            return false;
+        }
+
+        // Check for specials:
+        if (preg_match('/[][()<>@,;\\:". ]/', $atom)) {
+            return false;
+        }
+
+        // Check for control characters (ASCII 0-31):
+        if (preg_match('/[\\x00-\\x1F]+/', $atom)) {
+            return false;
+        }
+
+        return true;
+    }
+
+    /**
+     * Function to validate quoted string, which is:
+     * quoted-string = <"> *(qtext/quoted-pair) <">
+     *
+     * @access private
+     * @param string $qstring The string to check
+     * @return boolean Success or failure.
+     */
+    function _validateQuotedString($qstring)
+    {
+        // Leading and trailing "
+        $qstring = substr($qstring, 1, -1);
+
+        // Perform check.
+        return !(preg_match('/(.)[\x0D\\\\"]/', $qstring, $matches) && $matches[1] != '\\');
+    }
+
+    /**
+     * Function to validate a mailbox, which is:
+     * mailbox =   addr-spec         ; simple address
+     *           / phrase route-addr ; name and route-addr
+     *
+     * @access public
+     * @param string &$mailbox The string to check.
+     * @return boolean Success or failure.
+     */
+    function validateMailbox(&$mailbox)
+    {
+        // A couple of defaults.
+        $phrase  = '';
+        $comment = '';
+
+        // Catch any RFC822 comments and store them separately
+        $_mailbox = $mailbox;
+        while (strlen(trim($_mailbox)) > 0) {
+            $parts = explode('(', $_mailbox);
+            $before_comment = $this->_splitCheck($parts, '(');
+            if ($before_comment != $_mailbox) {
+                // First char should be a (
+                $comment    = substr(str_replace($before_comment, '', $_mailbox), 1);
+                $parts      = explode(')', $comment);
+                $comment    = $this->_splitCheck($parts, ')');
+                $comments[] = $comment;
+
+                // +1 is for the trailing )
+                $_mailbox   = substr($_mailbox, strpos($_mailbox, $comment)+strlen($comment)+1);
+            } else {
+                break;
+            }
+        }
+
+        for($i=0; $i<count(@$comments); $i++){
+            $mailbox = str_replace('('.$comments[$i].')', '', $mailbox);
+        }
+        $mailbox = trim($mailbox);
+
+        // Check for name + route-addr
+        if (substr($mailbox, -1) == '>' && substr($mailbox, 0, 1) != '<') {
+            $parts  = explode('<', $mailbox);
+            $name   = $this->_splitCheck($parts, '<');
+
+            $phrase     = trim($name);
+            $route_addr = trim(substr($mailbox, strlen($name.'<'), -1));
+
+            if ($this->_validatePhrase($phrase) === false || ($route_addr = $this->_validateRouteAddr($route_addr)) === false)
+                return false;
+
+        // Only got addr-spec
+        } else {
+            // First snip angle brackets if present.
+            if (substr($mailbox,0,1) == '<' && substr($mailbox,-1) == '>')
+                $addr_spec = substr($mailbox,1,-1);
+            else
+                $addr_spec = $mailbox;
+
+            if (($addr_spec = $this->_validateAddrSpec($addr_spec)) === false)
+                return false;
+        }
+
+        // Construct the object that will be returned.
+        $mbox = new stdClass();
+
+        // Add the phrase (even if empty) and comments
+        $mbox->personal = $phrase;
+        $mbox->comment  = isset($comments) ? $comments : array();
+
+        if (isset($route_addr)) {
+            $mbox->mailbox = $route_addr['local_part'];
+            $mbox->host    = $route_addr['domain'];
+            $route_addr['adl'] !== '' ? $mbox->adl = $route_addr['adl'] : '';
+        } else {
+            $mbox->mailbox = $addr_spec['local_part'];
+            $mbox->host    = $addr_spec['domain'];
+        }
+
+        $mailbox = $mbox;
+        return true;
+    }
+
+    /**
+     * This function validates a route-addr which is:
+     * route-addr = "<" [route] addr-spec ">"
+     *
+     * Angle brackets have already been removed at the point of
+     * getting to this function.
+     *
+     * @access private
+     * @param string $route_addr The string to check.
+     * @return mixed False on failure, or an array containing validated address/route information on success.
+     */
+    function _validateRouteAddr($route_addr)
+    {
+        // Check for colon.
+        if (strpos($route_addr, ':') !== false) {
+            $parts = explode(':', $route_addr);
+            $route = $this->_splitCheck($parts, ':');
+        } else {
+            $route = $route_addr;
+        }
+
+        // If $route is same as $route_addr then the colon was in
+        // quotes or brackets or, of course, non existent.
+        if ($route === $route_addr){
+            unset($route);
+            $addr_spec = $route_addr;
+            if (($addr_spec = $this->_validateAddrSpec($addr_spec)) === false) {
+                return false;
+            }
+        } else {
+            // Validate route part.
+            if (($route = $this->_validateRoute($route)) === false) {
+                return false;
+            }
+
+            $addr_spec = substr($route_addr, strlen($route . ':'));
+
+            // Validate addr-spec part.
+            if (($addr_spec = $this->_validateAddrSpec($addr_spec)) === false) {
+                return false;
+            }
+        }
+
+        if (isset($route)) {
+            $return['adl'] = $route;
+        } else {
+            $return['adl'] = '';
+        }
+
+        $return = array_merge($return, $addr_spec);
+        return $return;
+    }
+
+    /**
+     * Function to validate a route, which is:
+     * route = 1#("@" domain) ":"
+     *
+     * @access private
+     * @param string $route The string to check.
+     * @return mixed False on failure, or the validated $route on success.
+     */
+    function _validateRoute($route)
+    {
+        // Split on comma.
+        $domains = explode(',', trim($route));
+
+        for ($i = 0; $i < count($domains); $i++) {
+            $domains[$i] = str_replace('@', '', trim($domains[$i]));
+            if (!$this->_validateDomain($domains[$i])) return false;
+        }
+
+        return $route;
+    }
+
+    /**
+     * Function to validate a domain, though this is not quite what
+     * you expect of a strict internet domain.
+     *
+     * domain = sub-domain *("." sub-domain)
+     *
+     * @access private
+     * @param string $domain The string to check.
+     * @return mixed False on failure, or the validated domain on success.
+     */
+    function _validateDomain($domain)
+    {
+        // Note the different use of $subdomains and $sub_domains
+        $subdomains = explode('.', $domain);
+
+        while (count($subdomains) > 0) {
+            $sub_domains[] = $this->_splitCheck($subdomains, '.');
+            for ($i = 0; $i < $this->index + 1; $i++)
+                array_shift($subdomains);
+        }
+
+        for ($i = 0; $i < count($sub_domains); $i++) {
+            if (!$this->_validateSubdomain(trim($sub_domains[$i])))
+                return false;
+        }
+
+        // Managed to get here, so return input.
+        return $domain;
+    }
+
+    /**
+     * Function to validate a subdomain:
+     *   subdomain = domain-ref / domain-literal
+     *
+     * @access private
+     * @param string $subdomain The string to check.
+     * @return boolean Success or failure.
+     */
+    function _validateSubdomain($subdomain)
+    {
+        if (preg_match('|^\[(.*)]$|', $subdomain, $arr)){
+            if (!$this->_validateDliteral($arr[1])) return false;
+        } else {
+            if (!$this->_validateAtom($subdomain)) return false;
+        }
+
+        // Got here, so return successful.
+        return true;
+    }
+
+    /**
+     * Function to validate a domain literal:
+     *   domain-literal =  "[" *(dtext / quoted-pair) "]"
+     *
+     * @access private
+     * @param string $dliteral The string to check.
+     * @return boolean Success or failure.
+     */
+    function _validateDliteral($dliteral)
+    {
+        return !preg_match('/(.)[][\x0D\\\\]/', $dliteral, $matches) && $matches[1] != '\\';
+    }
+
+    /**
+     * Function to validate an addr-spec.
+     *
+     * addr-spec = local-part "@" domain
+     *
+     * @access private
+     * @param string $addr_spec The string to check.
+     * @return mixed False on failure, or the validated addr-spec on success.
+     */
+    function _validateAddrSpec($addr_spec)
+    {
+        $addr_spec = trim($addr_spec);
+
+        // Split on @ sign if there is one.
+        if (strpos($addr_spec, '@') !== false) {
+            $parts      = explode('@', $addr_spec);
+            $local_part = $this->_splitCheck($parts, '@');
+            $domain     = substr($addr_spec, strlen($local_part . '@'));
+
+        // No @ sign so assume the default domain.
+        } else {
+            $local_part = $addr_spec;
+            $domain     = $this->default_domain;
+        }
+
+        if (($local_part = $this->_validateLocalPart($local_part)) === false) return false;
+        if (($domain     = $this->_validateDomain($domain)) === false) return false;
+
+        // Got here so return successful.
+        return array('local_part' => $local_part, 'domain' => $domain);
+    }
+
+    /**
+     * Function to validate the local part of an address:
+     *   local-part = word *("." word)
+     *
+     * @access private
+     * @param string $local_part
+     * @return mixed False on failure, or the validated local part on success.
+     */
+    function _validateLocalPart($local_part)
+    {
+        $parts = explode('.', $local_part);
+
+        // Split the local_part into words.
+        while (count($parts) > 0){
+            $words[] = $this->_splitCheck($parts, '.');
+            for ($i = 0; $i < $this->index + 1; $i++) {
+                array_shift($parts);
+            }
+        }
+
+        // Validate each word.
+        for ($i = 0; $i < count($words); $i++) {
+            if ($this->_validatePhrase(trim($words[$i])) === false) return false;
+        }
+
+        // Managed to get here, so return the input.
+        return $local_part;
+    }
+
+    /**
+    * Returns an approximate count of how many addresses are
+    * in the given string. This is APPROXIMATE as it only splits
+    * based on a comma which has no preceding backslash. Could be
+    * useful as large amounts of addresses will end up producing
+    * *large* structures when used with parseAddressList().
+    *
+    * @param  string $data Addresses to count
+    * @return int          Approximate count
+    */
+    function approximateCount($data)
+    {
+        return count(preg_split('/(?<!\\\\),/', $data));
+    }
+
+    /**
+    * This is a email validating function seperate to the rest
+    * of the class. It simply validates whether an email is of
+    * the common internet form: <user>@<domain>. This can be
+    * sufficient for most people. Optional stricter mode can
+    * be utilised which restricts mailbox characters allowed
+    * to alphanumeric, full stop, hyphen and underscore.
+    *
+    * @param  string  $data   Address to check
+    * @param  boolean $strict Optional stricter mode
+    * @return mixed           False if it fails, an indexed array
+    *                         username/domain if it matches
+    */
+    function isValidInetAddress($data, $strict = false)
+    {
+        $regex = $strict ? '/^([.0-9a-z_-]+)@(([0-9a-z-]+\.)+[0-9a-z]{2,4})$/i' : '/^([*+!.&#$|\'\\%\/0-9a-z^_`{}=?~:-]+)@(([0-9a-z-]+\.)+[0-9a-z]{2,4})$/i';
+        if (preg_match($regex, trim($data), $matches)) {
+            return array($matches[1], $matches[2]);
+        } else {
+            return false;
+        }
+    }
+}
+
+?>
diff -x .svn -aruN 1.4.24.src/include/sql_parse.php 1.4.25.src/include/sql_parse.php
--- 1.4.24.src/include/sql_parse.php	2009-05-21 15:03:09.000000000 -0500
+++ 1.4.25.src/include/sql_parse.php	2009-05-26 11:25:42.000000000 -0500
@@ -1,175 +1,175 @@
-<?php
-/*************************
-  Coppermine Photo Gallery
-  ************************
-  Copyright (c) 2003-2009 Coppermine Dev Team
-  v1.1 originally written by Gregory DEMAR
-
-  This program is free software; you can redistribute it and/or modify
-  it under the terms of the GNU General Public License version 3
-  as published by the Free Software Foundation.
-  
-  ********************************************
-  Coppermine version: 1.4.24
-  $HeadURL: https://coppermine.svn.sourceforge.net/svnroot/coppermine/trunk/cpg1.4.x/include/sql_parse.php $
-  $Revision: 5969 $
-  $Author: gaugau $
-  $Date: 2009-05-21 22:03:33 +0200 (Do, 21 Mai 2009) $
-**********************************************/
-
-/**
- * sql_parse.php
- *                               -------------------
- *      begin                : Thu May 31, 2001
- *      copyright            : (C) 2001 The phpBB Group
- *      email                : support@phpbb.com
- *
- *      $Id: sql_parse.php 5969 2009-05-21 20:03:33Z gaugau $
- */
-
-/**
- * This program is free software; you can redistribute it and/or modify
- *    it under the terms of the GNU General Public License version 3
- *    as published by the Free Software Foundation.
- *    
- */
-
-/**
- * These functions are mainly for use in the db_utilities under the admin
- *         however in order to make these functions available elsewhere, specifically
- *         in the installation phase of phpBB I have seperated out a couple of
- *         functions into this file.  JLH
- *
- * \**************************************************************************
- */
-
-// remove_comments will strip the sql comment lines out of an uploaded sql file
-// specifically for mssql and postgres type files in the install....
-
-function remove_comments(&$output)
-{
-    $lines = explode("\n", $output);
-    $output = "";
-    // try to keep mem. use down
-    $linecount = count($lines);
-
-    $in_comment = false;
-    for($i = 0; $i < $linecount; $i++) {
-        if (preg_match("/^\/\*/", preg_quote($lines[$i]))) {
-            $in_comment = true;
-        }
-
-        if (!$in_comment) {
-            $output .= $lines[$i] . "\n";
-        }
-
-        if (preg_match("/\*\/$/", preg_quote($lines[$i]))) {
-            $in_comment = false;
-        }
-    }
-
-    unset($lines);
-    return $output;
-}
-
-// remove_remarks will strip the sql comment lines out of an uploaded sql file
-
-function remove_remarks($sql)
-{
-    $lines = explode("\n", $sql);
-    // try to keep mem. use down
-    $sql = "";
-
-    $linecount = count($lines);
-    $output = "";
-
-    for ($i = 0; $i < $linecount; $i++) {
-        if (($i != ($linecount - 1)) || (strlen($lines[$i]) > 0)) {
-            if (isset($lines[$i][0]) && $lines[$i][0] != "#") {
-                $output .= $lines[$i] . "\n";
-            } else {
-                $output .= "\n";
-            }
-            // Trading a bit of speed for lower mem. use here.
-            $lines[$i] = "";
-        }
-    }
-
-    return $output;
-}
-
-// split_sql_file will split an uploaded sql file into single sql statements.
-// Note: expects trim() to have already been run on $sql.
-
-function split_sql_file($sql, $delimiter)
-{
-    // Split up our string into "possible" SQL statements.
-    $tokens = explode($delimiter, $sql);
-    // try to save mem.
-    $sql = "";
-    $output = array();
-    // we don't actually care about the matches preg gives us.
-    $matches = array();
-    // this is faster than calling count($oktens) every time thru the loop.
-    $token_count = count($tokens);
-    for ($i = 0; $i < $token_count; $i++) {
-        // Don't wanna add an empty string as the last thing in the array.
-        if (($i != ($token_count - 1)) || (strlen($tokens[$i] > 0))) {
-            // This is the total number of single quotes in the token.
-            $total_quotes = preg_match_all("/'/", $tokens[$i], $matches);
-            // Counts single quotes that are preceded by an odd number of backslashes,
-            // which means they're escaped quotes.
-            $escaped_quotes = preg_match_all("/(?<!\\\\)(\\\\\\\\)*\\\\'/", $tokens[$i], $matches);
-
-            $unescaped_quotes = $total_quotes - $escaped_quotes;
-            // If the number of unescaped quotes is even, then the delimiter did NOT occur inside a string literal.
-            if (($unescaped_quotes % 2) == 0) {
-                // It's a complete sql statement.
-                $output[] = $tokens[$i];
-                // save memory.
-                $tokens[$i] = "";
-            } else {
-                // incomplete sql statement. keep adding tokens until we have a complete one.
-                // $temp will hold what we have so far.
-                $temp = $tokens[$i] . $delimiter;
-                // save memory..
-                $tokens[$i] = "";
-                // Do we have a complete statement yet?
-                $complete_stmt = false;
-
-                for ($j = $i + 1; (!$complete_stmt && ($j < $token_count)); $j++) {
-                    // This is the total number of single quotes in the token.
-                    $total_quotes = preg_match_all("/'/", $tokens[$j], $matches);
-                    // Counts single quotes that are preceded by an odd number of backslashes,
-                    // which means they're escaped quotes.
-                    $escaped_quotes = preg_match_all("/(?<!\\\\)(\\\\\\\\)*\\\\'/", $tokens[$j], $matches);
-
-                    $unescaped_quotes = $total_quotes - $escaped_quotes;
-
-                    if (($unescaped_quotes % 2) == 1) {
-                        // odd number of unescaped quotes. In combination with the previous incomplete
-                        // statement(s), we now have a complete statement. (2 odds always make an even)
-                        $output[] = $temp . $tokens[$j];
-                        // save memory.
-                        $tokens[$j] = "";
-                        $temp = "";
-                        // exit the loop.
-                        $complete_stmt = true;
-                        // make sure the outer loop continues at the right point.
-                        $i = $j;
-                    } else {
-                        // even number of unescaped quotes. We still don't have a complete statement.
-                        // (1 odd and 1 even always make an odd)
-                        $temp .= $tokens[$j] . $delimiter;
-                        // save memory.
-                        $tokens[$j] = "";
-                    }
-                } // for..
-            } // else
-        }
-    }
-
-    return $output;
-}
-
-?>
+<?php
+/*************************
+  Coppermine Photo Gallery
+  ************************
+  Copyright (c) 2003-2009 Coppermine Dev Team
+  v1.1 originally written by Gregory DEMAR
+
+  This program is free software; you can redistribute it and/or modify
+  it under the terms of the GNU General Public License version 3
+  as published by the Free Software Foundation.
+  
+  ********************************************
+  Coppermine version: 1.4.25
+  $HeadURL: https://coppermine.svn.sourceforge.net/svnroot/coppermine/trunk/cpg1.4.x/include/sql_parse.php $
+  $Revision: 5997 $
+  $Author: gaugau $
+  $Date: 2009-05-26 08:43:24 +0200 (Di, 26 Mai 2009) $
+**********************************************/
+
+/**
+ * sql_parse.php
+ *                               -------------------
+ *      begin                : Thu May 31, 2001
+ *      copyright            : (C) 2001 The phpBB Group
+ *      email                : support@phpbb.com
+ *
+ *      $Id: sql_parse.php 5997 2009-05-26 06:43:24Z gaugau $
+ */
+
+/**
+ * This program is free software; you can redistribute it and/or modify
+ *    it under the terms of the GNU General Public License version 3
+ *    as published by the Free Software Foundation.
+ *    
+ */
+
+/**
+ * These functions are mainly for use in the db_utilities under the admin
+ *         however in order to make these functions available elsewhere, specifically
+ *         in the installation phase of phpBB I have seperated out a couple of
+ *         functions into this file.  JLH
+ *
+ * \**************************************************************************
+ */
+
+// remove_comments will strip the sql comment lines out of an uploaded sql file
+// specifically for mssql and postgres type files in the install....
+
+function remove_comments(&$output)
+{
+    $lines = explode("\n", $output);
+    $output = "";
+    // try to keep mem. use down
+    $linecount = count($lines);
+
+    $in_comment = false;
+    for($i = 0; $i < $linecount; $i++) {
+        if (preg_match("/^\/\*/", preg_quote($lines[$i]))) {
+            $in_comment = true;
+        }
+
+        if (!$in_comment) {
+            $output .= $lines[$i] . "\n";
+        }
+
+        if (preg_match("/\*\/$/", preg_quote($lines[$i]))) {
+            $in_comment = false;
+        }
+    }
+
+    unset($lines);
+    return $output;
+}
+
+// remove_remarks will strip the sql comment lines out of an uploaded sql file
+
+function remove_remarks($sql)
+{
+    $lines = explode("\n", $sql);
+    // try to keep mem. use down
+    $sql = "";
+
+    $linecount = count($lines);
+    $output = "";
+
+    for ($i = 0; $i < $linecount; $i++) {
+        if (($i != ($linecount - 1)) || (strlen($lines[$i]) > 0)) {
+            if (isset($lines[$i][0]) && $lines[$i][0] != "#") {
+                $output .= $lines[$i] . "\n";
+            } else {
+                $output .= "\n";
+            }
+            // Trading a bit of speed for lower mem. use here.
+            $lines[$i] = "";
+        }
+    }
+
+    return $output;
+}
+
+// split_sql_file will split an uploaded sql file into single sql statements.
+// Note: expects trim() to have already been run on $sql.
+
+function split_sql_file($sql, $delimiter)
+{
+    // Split up our string into "possible" SQL statements.
+    $tokens = explode($delimiter, $sql);
+    // try to save mem.
+    $sql = "";
+    $output = array();
+    // we don't actually care about the matches preg gives us.
+    $matches = array();
+    // this is faster than calling count($oktens) every time thru the loop.
+    $token_count = count($tokens);
+    for ($i = 0; $i < $token_count; $i++) {
+        // Don't wanna add an empty string as the last thing in the array.
+        if (($i != ($token_count - 1)) || (strlen($tokens[$i] > 0))) {
+            // This is the total number of single quotes in the token.
+            $total_quotes = preg_match_all("/'/", $tokens[$i], $matches);
+            // Counts single quotes that are preceded by an odd number of backslashes,
+            // which means they're escaped quotes.
+            $escaped_quotes = preg_match_all("/(?<!\\\\)(\\\\\\\\)*\\\\'/", $tokens[$i], $matches);
+
+            $unescaped_quotes = $total_quotes - $escaped_quotes;
+            // If the number of unescaped quotes is even, then the delimiter did NOT occur inside a string literal.
+            if (($unescaped_quotes % 2) == 0) {
+                // It's a complete sql statement.
+                $output[] = $tokens[$i];
+                // save memory.
+                $tokens[$i] = "";
+            } else {
+                // incomplete sql statement. keep adding tokens until we have a complete one.
+                // $temp will hold what we have so far.
+                $temp = $tokens[$i] . $delimiter;
+                // save memory..
+                $tokens[$i] = "";
+                // Do we have a complete statement yet?
+                $complete_stmt = false;
+
+                for ($j = $i + 1; (!$complete_stmt && ($j < $token_count)); $j++) {
+                    // This is the total number of single quotes in the token.
+                    $total_quotes = preg_match_all("/'/", $tokens[$j], $matches);
+                    // Counts single quotes that are preceded by an odd number of backslashes,
+                    // which means they're escaped quotes.
+                    $escaped_quotes = preg_match_all("/(?<!\\\\)(\\\\\\\\)*\\\\'/", $tokens[$j], $matches);
+
+                    $unescaped_quotes = $total_quotes - $escaped_quotes;
+
+                    if (($unescaped_quotes % 2) == 1) {
+                        // odd number of unescaped quotes. In combination with the previous incomplete
+                        // statement(s), we now have a complete statement. (2 odds always make an even)
+                        $output[] = $temp . $tokens[$j];
+                        // save memory.
+                        $tokens[$j] = "";
+                        $temp = "";
+                        // exit the loop.
+                        $complete_stmt = true;
+                        // make sure the outer loop continues at the right point.
+                        $i = $j;
+                    } else {
+                        // even number of unescaped quotes. We still don't have a complete statement.
+                        // (1 odd and 1 even always make an odd)
+                        $temp .= $tokens[$j] . $delimiter;
+                        // save memory.
+                        $tokens[$j] = "";
+                    }
+                } // for..
+            } // else
+        }
+    }
+
+    return $output;
+}
+
+?>
diff -x .svn -aruN 1.4.24.src/include/themes.inc.php 1.4.25.src/include/themes.inc.php
--- 1.4.24.src/include/themes.inc.php	2009-05-25 15:01:17.000000000 -0500
+++ 1.4.25.src/include/themes.inc.php	2009-05-26 11:25:42.000000000 -0500
@@ -1,2629 +1,2629 @@
-<?php
-/*************************
-  Coppermine Photo Gallery
-  ************************
-  Copyright (c) 2003-2009 Coppermine Dev Team
-  v1.1 originally written by Gregory DEMAR
-
-  This program is free software; you can redistribute it and/or modify
-  it under the terms of the GNU General Public License version 3
-  as published by the Free Software Foundation.
-  
-  ********************************************
-  Coppermine version: 1.4.24
-  $HeadURL: https://coppermine.svn.sourceforge.net/svnroot/coppermine/trunk/cpg1.4.x/include/themes.inc.php $
-  $Revision: 5988 $
-  $Author: gaugau $
-  $Date: 2009-05-25 22:01:41 +0200 (Mo, 25 Mai 2009) $
-**********************************************/
-
-/////////////////////////////////////////////////////////////////
-//                                                             //
-// Do not edit this file.                                      //
-// If you need to customize your theme,                        //
-// edit themes/yourtheme/theme.php instead !!!                 //
-// Take a look at the sample theme (themes/sample/theme.php)   //
-// to get an idea what to copy into your custom theme.         //
-// Really, don't edit this file! We mean it!                   //
-//                                                             //
-/////////////////////////////////////////////////////////////////
-
-// ----------------------------------------------------------------------------- //
-// All lines that should NOT be IN themes/sample/theme.php             //{THEMES}//
-// should end in "//{THEMES}" so that they can be easily stripped      //{THEMES}//
-if (!defined('IN_COPPERMINE')) { die('Not in Coppermine...');}         //{THEMES}//
-
-// The following terms can be defined in theme.php
-// ('THEME_HAS_RATING_GRAPHICS', 1) : The location for the ratings graphics will
-//    be directed to the themes images folder.
-//    RUBBISH   : images/rating0.gif
-//    POOR      : images/rating1.gif
-//    FAIR      : images/rating2.gif
-//    GOOD      : images/rating3.gif
-//    EXCELLENT : images/rating4.gif
-//    GREAT     : images/rating5.gif
-//('THEME_HAS_NAVBAR_GRAPHICS', 1); : The location for the navbar graphics will
-//    be directed to the themes images folder.
-//    Back to thumbnails   : images/thumbnails.gif
-//    Picture Information  : images/info.gif
-//    Slideshow            : images/slideshow.gif
-//    Report to admin      : images/report.gif
-//    Ecard                : images/ecard.gif
-//    Previous             : images/prev.gif
-//    Next                 : images/next.gif
-// ('THEME_HAS_FILM_STRIP_GRAPHIC', 1) : The location for the film strip graphics will
-//    be directed to the themes images folder.
-//    tile                 : images/tile.gif
-// ('THEME_HAS_FILM_STRIP_GRAPHICS', 1) : The location for the film strip graphics will
-//    be directed to the themes images folder.
-//    tile on the top      : images/tile1.gif
-//    tile on the bottom   : images/tile2.gif
-//  ('THEME_HAS_NO_SYS_MENU_BUTTONS', 1) : When present the system won't attempt to replace {BUTTONS} in the SYS_MENU template
-//    The entire block needs to be present like in Coppermine 1.3 themes
-//  ('THEME_HAS_NO_SUB_MENU_BUTTONS', 1) When present the system won't attempt to replace {BUTTONS} in the SUB_MENU template
-//    The entire block needs to be present like in Coppermine 1.3 themes
-//  ('THEME_IS_XHTML10_TRANSITIONAL',1) : If theme is defined as XHTML10_TRANSITIONAL the VANITY footer will be enabled
-//    if the theme has a {VANITY} token in its template.html. Don't enable this if you have modified the code! See the
-//    docs/theme.html documentation for validation methodology.
-
-// Creates buttons from a template using an array of tokens
-// this function is used in this file it needs to be declared before being called.
-if (!function_exists('assemble_template_buttons')) {  //{THEMES}
-function assemble_template_buttons($template_buttons,$buttons) {
-    $counter=0;
-    $output='';
-
-    foreach ($buttons as $button)  {
-      if (isset($button[4])) {
-         $spacer=$button[4];
-      } else {
-      $spacer='';
-      }
-
-        $params = array(
-            '{SPACER}'     => $spacer,
-            '{BLOCK_ID}'   => $button[3],
-            '{HREF_TGT}'   => $button[2],
-            '{HREF_TITLE}' => $button[1],
-            '{HREF_LNK}'   => $button[0]
-            );
-        $output.=template_eval($template_buttons, $params);
-    }
-    return $output;
-}
-}  //{THEMES}
-
-
-// Creates an array of tokens to be used with function assemble_template_buttons
-// this function is used in this file it needs to be declared before being called.
-if (!function_exists('addbutton')) {  //{THEMES}
-function addbutton(&$menu,$href_lnk,$href_title,$href_tgt,$block_id,$spacer) {
-  $menu[]=array($href_lnk,$href_title,$href_tgt,$block_id,$spacer);
-}
-}  //{THEMES}
-
-
-// HTML template for sys_menu
-if (!isset($template_sys_menu)) { //{THEMES}
-$template_sys_menu = <<<EOT
-          {BUTTONS}
-EOT;
-}  //{THEMES}
-
-// HTML template for sub_menu
-if (!isset($template_sub_menu)) { //{THEMES}
-$template_sub_menu = $template_sys_menu;
-} //{THEMES}
-
-if (!defined('THEME_HAS_NO_SYS_MENU_BUTTONS')) { // theme has no sys menu buttons - start
-
-  // HTML template for template sys_menu spacer
-  if (!isset($template_sys_menu_spacer)) { //{THEMES}
-  $template_sys_menu_spacer ="::";
-  } //{THEMES}
-
-  // HTML template for template sys_menu buttons
-  if (!isset($template_sys_menu_button)) { //{THEMES}
-  $template_sys_menu_button = <<<EOT
-  <!-- BEGIN {BLOCK_ID} -->
-        <a href="{HREF_TGT}" title="{HREF_TITLE}">{HREF_LNK}</a> {SPACER}
-  <!-- END {BLOCK_ID} -->
-EOT;
-  } //{THEMES}
-
-// HTML template for template sys_menu buttons
-if (!isset($sys_menu_buttons)) { //{THEMES}
-  // {HREF_LNK}{HREF_TITLE}{HREF_TGT}{BLOCK_ID}{SPACER}
-  addbutton($sys_menu_buttons,'{HOME_LNK}', '{HOME_TITLE}', '{HOME_TGT}', 'home', $template_sys_menu_spacer);
-  addbutton($sys_menu_buttons,'{MY_GAL_LNK}', '{MY_GAL_TITLE}', '{MY_GAL_TGT}', 'my_gallery', $template_sys_menu_spacer);
-  addbutton($sys_menu_buttons,'{MEMBERLIST_LNK}', '{MEMBERLIST_TITLE}', '{MEMBERLIST_TGT}', 'allow_memberlist', $template_sys_menu_spacer);
-  addbutton($sys_menu_buttons, '{MY_PROF_LNK}', '{MY_PROF_TITLE}', '{MY_PROF_TGT}', 'my_profile', $template_sys_menu_spacer);
-  addbutton($sys_menu_buttons, '{ADM_MODE_LNK}', '{ADM_MODE_TITLE}', '{ADM_MODE_TGT}', 'enter_admin_mode', $template_sys_menu_spacer);
-  addbutton($sys_menu_buttons, '{USR_MODE_LNK}', '{USR_MODE_TITLE}', '{USR_MODE_TGT}', 'leave_admin_mode' ,$template_sys_menu_spacer);
-  addbutton($sys_menu_buttons, '{UPL_PIC_LNK}', '{UPL_PIC_TITLE}', '{UPL_PIC_TGT}', 'upload_pic', $template_sys_menu_spacer);
-  addbutton($sys_menu_buttons, '{REGISTER_LNK}', '{REGISTER_TITLE}', '{REGISTER_TGT}', 'register', $template_sys_menu_spacer);
-  addbutton($sys_menu_buttons, '{FAQ_LNK}', '{FAQ_TITLE}', '{FAQ_TGT}', 'faq', $template_sys_menu_spacer);
-  addbutton($sys_menu_buttons, '{LOGIN_LNK}', '{LOGIN_TITLE}', '{LOGIN_TGT}', 'login','');
-  addbutton($sys_menu_buttons, '{LOGOUT_LNK}', '{LOGOUT_TITLE}', '{LOGOUT_TGT}', 'logout', '');
-  // Login and Logout don't have a spacer as only one is shown, and either would be the last option.
-} //{THEMES}
-
-  $params = array('{BUTTONS}' => assemble_template_buttons($template_sys_menu_button,$sys_menu_buttons));
-  $template_sys_menu = template_eval($template_sys_menu,$params);
-} // theme has no sys menu buttons - end
-
-if (!defined('THEME_HAS_NO_SUB_MENU_BUTTONS')) { // theme has no sub menu buttons - start
-
-  // HTML template for template sub_menu spacer
-  if (!isset($template_sub_menu_spacer)) { //{THEMES}
-  $template_sub_menu_spacer = $template_sys_menu_spacer;
-  } //{THEMES}
-
-  // HTML template for template sub_menu buttons
-  if (!isset($template_sub_menu_button)) { //{THEMES}
-  $template_sub_menu_button= $template_sys_menu_button;
-  } //{THEMES}
-
-  // HTML template for template sub_menu buttons
-  if (!isset($sub_menu_buttons)) { //{THEMES}
-    // {HREF_LNK}{HREF_TITLE}{HREF_TGT}{BLOCK_ID}{SPACER}
-    addbutton($sub_menu_buttons, '{CUSTOM_LNK_LNK}', '{CUSTOM_LNK_TITLE}', '{CUSTOM_LNK_TGT}', 'custom_link', $template_sub_menu_spacer);
-    addbutton($sub_menu_buttons, '{ALB_LIST_LNK}', '{ALB_LIST_TITLE}', '{ALB_LIST_TGT}', 'album_list', $template_sub_menu_spacer);
-    addbutton($sub_menu_buttons, '{LASTUP_LNK}', '{LASTUP_TITLE}', '{LASTUP_TGT}', 'lastup', $template_sub_menu_spacer);
-    addbutton($sub_menu_buttons, '{LASTCOM_LNK}', '{LASTCOM_TITLE}', '{LASTCOM_TGT}', 'lastcom', $template_sub_menu_spacer);
-    addbutton($sub_menu_buttons, '{TOPN_LNK}', '{TOPN_TITLE}', '{TOPN_TGT}', 'topn', $template_sub_menu_spacer);
-    addbutton($sub_menu_buttons, '{TOPRATED_LNK}', '{TOPRATED_TITLE}', '{TOPRATED_TGT}', 'toprated', $template_sub_menu_spacer);
-    addbutton($sub_menu_buttons, '{FAV_LNK}', '{FAV_TITLE}', '{FAV_TGT}', 'favpics', $template_sub_menu_spacer);
-    addbutton($sub_menu_buttons, '{SEARCH_LNK}', '{SEARCH_TITLE}', '{SEARCH_TGT}', 'search','');
-    } //{THEMES}
-
-  $params = array('{BUTTONS}' => assemble_template_buttons($template_sub_menu_button,$sub_menu_buttons));
-  $template_sub_menu = template_eval($template_sub_menu,$params);
-} // theme has no sub menu buttons - end
-
-// HTML template for gallery admin menu
-if (!isset($template_gallery_admin_menu)) { //{THEMES}
-$template_gallery_admin_menu = <<<EOT
-
-                <div align="center">
-                <table cellpadding="0" cellspacing="1">
-                        <tr>
-<!-- BEGIN admin_approval -->
-                                <td class="admin_menu" id="admin_menu_anim"><a href="editpics.php?mode=upload_approval" title="{UPL_APP_TITLE}">{UPL_APP_LNK}</a></td>
-<!-- END admin_approval -->
-                                <td class="admin_menu"><a href="admin.php" title="{ADMIN_TITLE}">{ADMIN_LNK}</a></td>
-                                <td class="admin_menu"><a href="catmgr.php" title="{CATEGORIES_TITLE}">{CATEGORIES_LNK}</a></td>
-                                <td class="admin_menu"><a href="albmgr.php{CATL}" title="{ALBUMS_TITLE}">{ALBUMS_LNK}</a></td>
-                                <td class="admin_menu"><a href="groupmgr.php" title="{GROUPS_TITLE}">{GROUPS_LNK}</a></td>
-                                <td class="admin_menu"><a href="usermgr.php" title="{USERS_TITLE}">{USERS_LNK}</a></td>
-                                <td class="admin_menu"><a href="banning.php" title="{BAN_TITLE}">{BAN_LNK}</a></td>
-                                <td class="admin_menu"><a href="reviewcom.php" title="{COMMENTS_TITLE}">{COMMENTS_LNK}</a></td>
-<!-- BEGIN log_ecards -->
-                                <td class="admin_menu"><a href="db_ecard.php" title="{DB_ECARD_TITLE}">{DB_ECARD_LNK}</a></td>
-<!-- END log_ecards -->
-                                <td class="admin_menu"><a href="picmgr.php" title="{PICTURES_TITLE}">{PICTURES_LNK}</a></td>
-                                <td class="admin_menu"><a href="searchnew.php" title="{SEARCHNEW_TITLE}">{SEARCHNEW_LNK}</a></td>
-                                <td class="admin_menu"><a href="util.php" title="{UTIL_TITLE}">{UTIL_LNK}</a></td>
-                                <td class="admin_menu"><a href="profile.php?op=edit_profile" title="{MY_PROF_TITLE}">{MY_PROF_LNK}</a></td>
-<!-- BEGIN documentation -->
-                                <td class="admin_menu"><a href="{DOCUMENTATION_HREF}" title="{DOCUMENTATION_TITLE}">{DOCUMENTATION_LNK}</a></td>
-<!-- END documentation -->
-                        </tr>
-                </table>
-                </div>
-
-EOT;
-}  //{THEMES}
-
-// HTML template for user admin menu
-if (!isset($template_user_admin_menu)) {  //{THEMES}
-$template_user_admin_menu = <<<EOT
-
-                <div align="center">
-                <table cellpadding="0" cellspacing="1">
-                        <tr>
-                                <td class="admin_menu"><a href="albmgr.php" title="{ALBMGR_TITLE}">{ALBMGR_LNK}</a></td>
-                                <td class="admin_menu"><a href="modifyalb.php" title="{MODIFYALB_TITLE}">{MODIFYALB_LNK}</a></td>
-                                <td class="admin_menu"><a href="profile.php?op=edit_profile" title="{MY_PROF_TITLE}">{MY_PROF_LNK}</a></td>
-                                <td class="admin_menu"><a href="picmgr.php" title="{PICTURES_TITLE}">{PICTURES_LNK}</a></td>
-                        </tr>
-                </table>
-                </div>
-
-EOT;
-}  //{THEMES}
-
-// HTML template for the category list
-if (!isset($template_cat_list)) { //{THEMES}
-$template_cat_list = <<<EOT
-<!-- BEGIN header -->
-        <tr>
-                <td class="tableh1" width="80%" align="left"><b>{CATEGORY}</b></td>
-                <td class="tableh1" width="10%" align="center"><b>{ALBUMS}</b></td>
-                <td class="tableh1" width="10%" align="center"><b>{PICTURES}</b></td>
-        </tr>
-<!-- END header -->
-<!-- BEGIN catrow_noalb -->
-        <tr>
-                <td class="catrow_noalb" colspan="3"><table border="0"><tr><td align="left">{CAT_THUMB}</td><td align="left"><span class="catlink"><b>{CAT_TITLE}</b></span>{CAT_DESC}</td></tr></table></td>
-        </tr>
-<!-- END catrow_noalb -->
-<!-- BEGIN catrow -->
-        <tr>
-                <td class="catrow" align="left"><table border="0"><tr><td>{CAT_THUMB}</td><td><span class="catlink"><b>{CAT_TITLE}</b></span>{CAT_DESC}</td></tr></table></td>
-                <td class="catrow" align="center">{ALB_COUNT}</td>
-                <td class="catrow" align="center">{PIC_COUNT}</td>
-        </tr>
-        <tr>
-            <td class="tableb" colspan="3">{CAT_ALBUMS}</td>
-        </tr>
-<!-- END catrow -->
-<!-- BEGIN footer -->
-        <tr>
-                <td colspan="3" class="tableh1" align="center"><span class="statlink">{STATISTICS}</span></td>
-        </tr>
-<!-- END footer -->
-<!-- BEGIN spacer -->
-        <img src="images/spacer.gif" width="1" height="7" border="" alt="" /><br />
-<!-- END spacer -->
-
-EOT;
-}  //{THEMES}
-
-// HTML template for the breadcrumb
-if (!isset($template_breadcrumb)) { //{THEMES}
-$template_breadcrumb = <<<EOT
-<!-- BEGIN breadcrumb -->
-        <tr>
-                <td colspan="3" align="left" class="tableh1"><span class="statlink"><b>{BREADCRUMB}</b></span></td>
-        </tr>
-<!-- END breadcrumb -->
-<!-- BEGIN breadcrumb_user_gal -->
-        <tr>
-                <td colspan="3" class="tableh1">
-                <table width="100%" cellpadding="0" cellspacing="0" border="0">
-                <tr>
-                        <td align="left"><span class="statlink"><b>{BREADCRUMB}</b></span></td>
-                        <td align="right"><span class="statlink">{STATISTICS}</span></td>
-                </tr>
-                </table>
-                </td>
-        </tr>
-<!-- END breadcrumb_user_gal -->
-
-EOT;
-}  //{THEMES}
-
-// HTML template for the album list
-if (!isset($template_album_list)) { //{THEMES}
-$template_album_list = <<<EOT
-
-<!-- BEGIN stat_row -->
-        <tr>
-                <td colspan="{COLUMNS}" class="tableh1" align="center"><span class="statlink">{STATISTICS}</span></td>
-        </tr>
-<!-- END stat_row -->
-<!-- BEGIN header -->
-        <tr class="tableb_compact">
-<!-- END header -->
-<!-- BEGIN album_cell -->
-        <td width="{COL_WIDTH}%" valign="top">
-        <table width="100%" cellspacing="0" cellpadding="0">
-        <tr>
-                <td colspan="3" height="1" align="left" valign="top" class="tableh2">
-                        <span class="alblink"><a href="{ALB_LINK_TGT}"><b>{ALBUM_TITLE}</b></a></span>
-                </td>
-        </tr>
-        <tr>
-                <td colspan="3">
-                        <img src="images/spacer.gif" width="1" height="1" border="0" alt="" /><br />
-                </td>
-        </tr>
-        <tr>
-                <td align="center" valign="middle" class="thumbnails">
-                        <img src="images/spacer.gif" width="{THUMB_CELL_WIDTH}" height="1" class="image" style="margin-top: 0px; margin-bottom: 0px; border: none;" alt="" /><br />
-                        <a href="{ALB_LINK_TGT}" class="albums">{ALB_LINK_PIC}<br /></a>
-                </td>
-                <td>
-                        <img src="images/spacer.gif" width="1" height="1" border="0" alt="" />
-                </td>
-                <td width="100%" valign="top" align="left" class="tableb_compact">
-                        {ADMIN_MENU}
-                        <p>{ALB_DESC}</p>
-                        <p class="album_stat">{ALB_INFOS}</p>
-                </td>
-        </tr>
-        </table>
-        </td>
-<!-- END album_cell -->
-<!-- BEGIN empty_cell -->
-        <td width="{COL_WIDTH}%" valign="top">
-        <table width="100%" cellspacing="0" cellpadding="0">
-        <tr>
-                <td height="1" valign="top" class="tableh2">
-                        <b>&nbsp;</b>
-                </td>
-        </tr>
-        <tr>
-                <td>
-                        <img src="images/spacer.gif" width="1" height="1" border="0" alt="" /><br />
-                </td>
-        </tr>
-        <tr>
-                <td width="100%" valign="top" class="tableb_compact">
-                    <div class="thumbnails" style="background-color:transparent"><img src="images/spacer.gif" width="1" height="1" border="0" class="image" style="border:0;margin-top:1px;margin-bottom:0" alt="" /></div>
-                </td>
-        </tr>
-        </table>
-        </td>
-<!-- END empty_cell -->
-<!-- BEGIN row_separator -->
-        </tr>
-        <tr class="tableb_compact">
-<!-- END row_separator -->
-<!-- BEGIN footer -->
-        </tr>
-<!-- END footer -->
-<!-- BEGIN tabs -->
-        <tr>
-                <td colspan="{COLUMNS}" style="padding: 0px;">
-                        <table width="100%" cellspacing="0" cellpadding="0">
-                                <tr>
-                                       {TABS}
-                                </tr>
-                        </table>
-                </td>
-        </tr>
-<!-- END tabs -->
-<!-- BEGIN spacer -->
-        <img src="images/spacer.gif" width="1" height="7" border="" alt="" /><br />
-<!-- END spacer -->
-
-EOT;
-}  //{THEMES}
-
-// HTML template for filmstrip display
-if (!isset($template_film_strip)) { //{THEMES}
-$template_film_strip = <<<EOT
-
-        <tr>
-         <td valign="top" style="background-image: url({TILE1});"><img src="{TILE1}" alt="" border="0" /></td>
-        </tr>
-        <tr>
-        <td valign="bottom" class="thumbnails" align="center">
-          <table width="100%" cellspacing="0" cellpadding="3" border="0">
-              <tr>
-                 <td width="50%"></td>
-                 {THUMB_STRIP}
-                 <td width="50%"></td>
-              </tr>
-          </table>
-        </td>
-        </tr>
-        <tr>
-         <td valign="top" style="background-image: url({TILE2});"><img src="{TILE2}" alt="" border="0" /></td>
-        </tr>
-<!-- BEGIN thumb_cell -->
-                <td valign="top" align="center">
-                                        <a href="{LINK_TGT}">{THUMB}</a>
-                                        {CAPTION}
-                                        {ADMIN_MENU}
-                </td>
-<!-- END thumb_cell -->
-<!-- BEGIN empty_cell -->
-                <td valign="top" align="center" >&nbsp;</td>
-<!-- END empty_cell -->
-
-EOT;
-}  //{THEMES}
-
-// HTML template for the album list
-if (!isset($template_album_list_cat)) { //{THEMES}
-$template_album_list_cat = <<<EOT
-
-<!-- BEGIN c_stat_row -->
-        <tr>
-                <td colspan="{COLUMNS}" class="tableh1" align="center"><span class="statlink">{STATISTICS}</span></td>
-        </tr>
-<!-- END c_stat_row -->
-<!-- BEGIN c_header -->
-        <tr class="tableb_compact">
-<!-- END c_header -->
-<!-- BEGIN c_album_cell -->
-        <td width="{COL_WIDTH}%" valign="top">
-        <table width="100%" cellspacing="0" cellpadding="0">
-        <tr>
-                <td colspan="3" height="1" valign="top" class="tableh2">
-                        <span class="alblink"><a href="{ALB_LINK_TGT}"><b>{ALBUM_TITLE}</b></a></span>
-                </td>
-        </tr>
-        <tr>
-                <td colspan="3">
-                        <img src="images/spacer.gif" width="1" height="1" border="0" alt="" /><br />
-                </td>
-        </tr>
-        <tr>
-                <td align="center" valign="middle" class="thumbnails">
-                        <img src="images/spacer.gif" width="{THUMB_CELL_WIDTH}" height="1" class="image" style="margin-top: 0px; margin-bottom: 0px; border: none;" alt="" /><br />
-                        <a href="{ALB_LINK_TGT}" class="albums">{ALB_LINK_PIC}<br /></a>
-                </td>
-                <td>
-                        <img src="images/spacer.gif" width="1" height="1" border="0" alt="" />
-                </td>
-                <td width="100%" valign="top" class="tableb_compact">
-                        {ADMIN_MENU}
-                        <p>{ALB_DESC}</p>
-                        <p class="album_stat">{ALB_INFOS}</p>
-                </td>
-        </tr>
-        </table>
-        </td>
-<!-- END c_album_cell -->
-<!-- BEGIN c_empty_cell -->
-        <td width="{COL_WIDTH}%" valign="top">
-        <table width="100%" cellspacing="0" cellpadding="0" >
-        <tr>
-                <td height="1" valign="top" class="tableh2">
-                        <b>&nbsp;</b>
-                </td>
-        </tr>
-        <tr>
-                <td>
-                        <img src="images/spacer.gif" width="1" height="1" border="0" alt="" /><br />
-                </td>
-        </tr>
-        <tr>
-                <td width="100%" valign="top" class="tableb_compact" >
-                      <div class="thumbnails" style="background-color:transparent"><img src="images/spacer.gif" width="1" height="1" border="0" class="image" style="border:0;margin-top:1px;margin-bottom:0" alt="" /></div>
-                </td>
-        </tr>
-        </table>
-        </td>
-<!-- END c_empty_cell -->
-<!-- BEGIN c_row_separator -->
-        </tr>
-        <tr class="tableb_compact">
-<!-- END c_row_separator -->
-<!-- BEGIN c_footer -->
-        </tr>
-<!-- END c_footer -->
-<!-- BEGIN c_tabs -->
-        <tr>
-                <td colspan="{COLUMNS}" style="padding: 0px;">
-                        <table width="100%" cellspacing="0" cellpadding="0">
-                                <tr>
-                                       {TABS}
-                                </tr>
-                        </table>
-                </td>
-        </tr>
-<!-- END c_tabs -->
-<!-- BEGIN c_spacer -->
-        <img src="images/spacer.gif" width="1" height="7" border="" alt="" /><br />
-<!-- END c_spacer -->
-
-EOT;
-}  //{THEMES}
-
-// HTML template for the ALBUM admin menu displayed in the album list
-if (!isset($template_album_admin_menu)) { //{THEMES}
-$template_album_admin_menu = <<<EOT
-        <table border="0" cellpadding="0" cellspacing="1">
-                <tr>
-                        <td align="center" valign="middle" class="admin_menu">
-                                <a href="delete.php?id={ALBUM_ID}&amp;what=album"  class="adm_menu" onclick="return confirm('{CONFIRM_DELETE}');">{DELETE}</a>
-                        </td>
-                        <td align="center" valign="middle" class="admin_menu">
-                                <a href="modifyalb.php?album={ALBUM_ID}"  class="adm_menu">{MODIFY}</a>
-                        </td>
-                        <td align="center" valign="middle" class="admin_menu">
-                                <a href="editpics.php?album={ALBUM_ID}"  class="adm_menu">{EDIT_PICS}</a>
-                        </td>
-                </tr>
-        </table>
-
-EOT;
-}  //{THEMES}
-
-// HTML template for title row of the thumbnail view (album title + sort options)
-if (!isset($template_thumb_view_title_row)) { //{THEMES}
-$template_thumb_view_title_row = <<<EOT
-
-                        <table width="100%" cellpadding="0" cellspacing="0">
-                        <tr>
-                                <td width="100%" class="statlink"><h2>{ALBUM_NAME}</h2></td>
-                                <td><img src="images/spacer.gif" width="1" alt="" /></td>
-                                <td class="sortorder_cell">
-                                        <table cellpadding="0" cellspacing="0">
-                                        <tr>
-                                                <td class="sortorder_options">{TITLE}</td>
-                                                <td class="sortorder_options"><span class="statlink"><a href="thumbnails.php?album={AID}&amp;page={PAGE}&amp;sort=ta" title="{SORT_TA}">&nbsp;+&nbsp;</a></span></td>
-                                                <td class="sortorder_options"><span class="statlink"><a href="thumbnails.php?album={AID}&amp;page={PAGE}&amp;sort=td" title="{SORT_TD}">&nbsp;-&nbsp;</a></span></td>
-                                        </tr>
-                                        <tr>
-                                                <td class="sortorder_options">{NAME}</td>
-                                                <td class="sortorder_options"><span class="statlink"><a href="thumbnails.php?album={AID}&amp;page={PAGE}&amp;sort=na" title="{SORT_NA}">&nbsp;+&nbsp;</a></span></td>
-                                                <td class="sortorder_options"><span class="statlink"><a href="thumbnails.php?album={AID}&amp;page={PAGE}&amp;sort=nd" title="{SORT_ND}">&nbsp;-&nbsp;</a></span></td>
-                                        </tr>
-                                        <tr>
-                                                <td class="sortorder_options">{DATE}</td>
-                                                <td class="sortorder_options"><span class="statlink"><a href="thumbnails.php?album={AID}&amp;page={PAGE}&amp;sort=da" title="{SORT_DA}">&nbsp;+&nbsp;</a></span></td>
-                                                <td class="sortorder_options"><span class="statlink"><a href="thumbnails.php?album={AID}&amp;page={PAGE}&amp;sort=dd" title="{SORT_DD}">&nbsp;-&nbsp;</a></span></td>
-                                        </tr>
-                                        <tr>
-                                                <td class="sortorder_options">{POSITION}</td>
-                                                <td class="sortorder_options"><span class="statlink"><a href="thumbnails.php?album={AID}&amp;page={PAGE}&amp;sort=pa" title="{SORT_PA}">&nbsp;+&nbsp;</a></span></td>
-                                                <td class="sortorder_options"><span class="statlink"><a href="thumbnails.php?album={AID}&amp;page={PAGE}&amp;sort=pd" title="{SORT_PD}">&nbsp;-&nbsp;</a></span></td>
-                                        </tr>
-                                        </table>
-                                </td>
-                        </tr>
-                        </table>
-
-EOT;
-}  //{THEMES}
-
-// HTML template for title row of the fav thumbnail view (album title + download)
-if (!isset($template_fav_thumb_view_title_row)) { //{THEMES}
-$template_fav_thumb_view_title_row = <<<EOT
-
-                        <table width="100%" cellpadding="0" cellspacing="0">
-                        <tr>
-                                <td width="100%" class="statlink"><h2>{ALBUM_NAME}</h2></td>
-                                <td><img src="images/spacer.gif" width="1" alt=""></td>
-                                <td class="sortorder_cell">
-                                        <table cellpadding="0" cellspacing="0">
-                                                <tr>
-                                                        <td class="sortorder_options"><span class="statlink"><a href="zipdownload.php">{DOWNLOAD_ZIP}</a></span></td>
-                                                </tr>
-                                                </table>
-                                </td>
-                        </tr>
-                        </table>
-
-EOT;
-}  //{THEMES}
-
-// HTML template for thumbnails display
-if (!isset($template_thumbnail_view)) { //{THEMES}
-$template_thumbnail_view = <<<EOT
-
-<!-- BEGIN header -->
-        <tr>
-<!-- END header -->
-<!-- BEGIN thumb_cell -->
-        <td valign="top" class="thumbnails" width ="{CELL_WIDTH}" align="center">
-                <table width="100%" cellpadding="0" cellspacing="0">
-                        <tr>
-                                <td align="center">
-                                        <a href="{LINK_TGT}">{THUMB}<br /></a>
-                                        {CAPTION}
-                                        {ADMIN_MENU}
-                                </td>
-                        </tr>
-                </table>
-        </td>
-<!-- END thumb_cell -->
-<!-- BEGIN empty_cell -->
-                <td valign="top" class="thumbnails" align="center">&nbsp;</td>
-<!-- END empty_cell -->
-<!-- BEGIN row_separator -->
-        </tr>
-        <tr>
-<!-- END row_separator -->
-<!-- BEGIN footer -->
-        </tr>
-<!-- END footer -->
-<!-- BEGIN tabs -->
-        <tr>
-                <td colspan="{THUMB_COLS}" style="padding: 0px;">
-                        <table width="100%" cellspacing="0" cellpadding="0">
-                                <tr>
-                                       {TABS}
-                                </tr>
-                        </table>
-                </td>
-        </tr>
-<!-- END tabs -->
-<!-- BEGIN spacer -->
-        <img src="images/spacer.gif" width="1" height="7" border="" alt="" /><br />
-<!-- END spacer -->
-
-EOT;
-}  //{THEMES}
-
-// HTML template for the thumbnail view when there is no picture to show
-if (!isset($template_no_img_to_display)) { //{THEMES}
-$template_no_img_to_display = <<<EOT
-        <tr>
-                <td class="tableb" height="200" align="center">
-                        <font size="3"><b>{TEXT}</b></font>
-                </td>
-        </tr>
-<!-- BEGIN spacer -->
-        <img src="images/spacer.gif" width="1" height="7" border="" alt="" /><br />
-<!-- END spacer -->
-
-EOT;
-}  //{THEMES}
-
-// HTML template for the USER info box in the user list view
-if (!isset($template_user_list_info_box)) { //{THEMES}
-$template_user_list_info_box = <<<EOT
-
-        <table cellspacing="1" cellpadding="0" border="0" width="100%" class="user_thumb_infobox">
-                <tr>
-                        <th><a href="profile.php?uid={USER_ID}">{USER_NAME}</a></th>
-                </tr>
-                <tr>
-                        <td>{ALBUMS}</td>
-                </tr>
-                <tr>
-                        <td>{PICTURES}</td>
-                </tr>
-        </table>
-
-EOT;
-}  //{THEMES}
-
-// HTML template for the image navigation bar
-if (!isset($template_img_navbar)) { //{THEMES}
-$template_img_navbar = <<<EOT
-
-        <tr>
-                <td align="center" valign="middle" class="navmenu" width="48">
-                        <a href="{THUMB_TGT}" class="navmenu_pic" title="{THUMB_TITLE}"><img src="{LOCATION}images/thumbnails.gif" align="middle" border="0" alt="{THUMB_TITLE}" /></a>
-                </td>
-                <td align="center" valign="middle" class="navmenu" width="48">
-                        <a href="javascript:;" class="navmenu_pic" onclick="blocking('picinfo','yes', 'block'); return false;" title="{PIC_INFO_TITLE}"><img src="{LOCATION}images/info.gif" border="0" align="middle" alt="{PIC_INFO_TITLE}" /></a>
-                </td>
-                <td align="center" valign="middle" class="navmenu" width="48">
-                        <a href="{SLIDESHOW_TGT}" class="navmenu_pic" title="{SLIDESHOW_TITLE}"><img src="{LOCATION}images/slideshow.gif" border="0" align="middle" alt="{SLIDESHOW_TITLE}" /></a>
-                </td>
-                <td align="center" valign="middle" class="navmenu" width="100%">
-                        {PIC_POS}
-                </td>
-<!-- BEGIN report_file_button -->
-                <td align="center" valign="middle" class="navmenu" width="48">
-                        <a href="{REPORT_TGT}" class="navmenu_pic" title="{REPORT_TITLE}"><img src="{LOCATION}images/report.gif" border="0" align="middle" alt="{REPORT_TITLE}" /></a>
-                </td>
-<!-- END report_file_button -->
-<!-- BEGIN ecard_button -->
-                <td align="center" valign="middle" class="navmenu" width="48">
-                        <a href="{ECARD_TGT}" class="navmenu_pic" title="{ECARD_TITLE}"><img src="{LOCATION}images/ecard.gif"  border="0" align="middle" alt="{ECARD_TITLE}" /></a>
-                </td>
-<!-- END ecard_button -->
-                <td align="center" valign="middle" class="navmenu" width="48">
-                        <a href="{PREV_TGT}" class="navmenu_pic" title="{PREV_TITLE}"><img src="{LOCATION}images/prev.gif"  border="0" align="middle" alt="{PREV_TITLE}" /></a>
-                </td>
-                <td align="center" valign="middle" class="navmenu" width="48">
-                        <a href="{NEXT_TGT}" class="navmenu_pic" title="{NEXT_TITLE}"><img src="{LOCATION}images/next.gif"  border="0" align="middle" alt="{NEXT_TITLE}" /></a>
-                </td>
-        </tr>
-
-EOT;
-}  //{THEMES}
-
-// HTML template for intermediate image display
-if (!isset($template_display_media)) { //{THEMES}
-$template_display_media = <<<EOT
-        <tr>
-                <td align="center" class="display_media" nowrap="nowrap">
-                        <table cellspacing="2" cellpadding="0" class="imageborder">
-                                <tr>
-                                        <td align="center">
-                                                {IMAGE}
-
-                                        </td>
-                                </tr>
-                        </table>
-                </td></tr>
-                <tr><td>
-                                                <table width="100%" cellspacing="2" cellpadding="0" class="tableb">
-                                <tr>
-                                        <td align="center">
-
-                                                {ADMIN_MENU}
-                                        </td>
-                                </tr>
-                        </table>
-
-
-
-
-
-<!-- BEGIN img_desc -->
-                        <table cellpadding="0" cellspacing="0" class="tableb" width="100%">
-<!-- BEGIN title -->
-                                <tr>
-                                        <td class="tableb"><center><b>
-                                                {TITLE}
-                                        </b></center></td>
-                                </tr>
-<!-- END title -->
-<!-- BEGIN caption -->
-                                <tr>
-                                        <td class="tableb"><center>
-                                                {CAPTION}
-                                        </center></td>
-                                </tr>
-<!-- END caption -->
-                        </table>
-<!-- END img_desc -->
-                </td>
-        </tr>
-
-EOT;
-}  //{THEMES}
-
-// HTML template for the image rating box
-if (!isset($template_image_rating)) { //{THEMES}
-$template_image_rating = <<<EOT
-<table align="center" width="{WIDTH}" cellspacing="1" cellpadding="0" class="maintable">
-        <tr>
-                <td colspan="6" class="tableh2_compact"><b>{TITLE}</b> {VOTES}</td>
-        </tr>
-        <tr>
-                <td class="tableb_compact" width="17%" align="center"><a href="{RATE0}" title="{RUBBISH}" rel="nofollow"><img src="{LOCATION}images/rating0.gif" border="0" alt="{RUBBISH}" /><br /></a></td>
-                <td class="tableb_compact" width="17%" align="center"><a href="{RATE1}" title="{POOR}" rel="nofollow"><img src="{LOCATION}images/rating1.gif" border="0" alt="{POOR}" /><br /></a></td>
-                <td class="tableb_compact" width="17%" align="center"><a href="{RATE2}" title="{FAIR}" rel="nofollow"><img src="{LOCATION}images/rating2.gif" border="0" alt="{FAIR}" /><br /></a></td>
-                <td class="tableb_compact" width="17%" align="center"><a href="{RATE3}" title="{GOOD}" rel="nofollow"><img src="{LOCATION}images/rating3.gif" border="0" alt="{GOOD}" /><br /></a></td>
-                <td class="tableb_compact" width="17%" align="center"><a href="{RATE4}" title="{EXCELLENT}" rel="nofollow"><img src="{LOCATION}images/rating4.gif" border="0" alt="{EXCELLENT}" /><br /></a></td>
-                <td class="tableb_compact" width="17%" align="center"><a href="{RATE5}" title="{GREAT}" rel="nofollow"><img src="{LOCATION}images/rating5.gif" border="0" alt="{GREAT}" /><br /></a></td>
-        </tr>
-</table>
-EOT;
-}  //{THEMES}
-
-// HTML template for the display of comments
-if (!isset($template_image_comments)) { //{THEMES}
-$template_image_comments = <<<EOT
-<table align="center" width="{WIDTH}" cellspacing="1" cellpadding="0" class="maintable">
-
-        <tr>
-                <td>
-                        <table width="100%" cellpadding="0" cellspacing="0">
-                           <tr>
-                                <td class="tableh2_compact" nowrap="nowrap">
-                                        <b>{MSG_AUTHOR}</b><a name="comment{MSG_ID}"></a>&nbsp;
-<!-- BEGIN ipinfo -->
-                                                                                 ({IP})
-<!-- END ipinfo -->
-</td>
-
-
-                                <td class="tableh2_compact" align="right" width="100%">
-<!-- BEGIN report_comment_button -->
-     <a href="report_file.php?pid={PID}&amp;msg_id={MSG_ID}&amp;what=comment" title="{REPORT_COMMENT_TITLE}"><img src="images/report.gif" width="16" height="16" border="0" align="middle" alt="{REPORT_COMMENT_TITLE}" /></a>
-<!-- END report_comment_button -->
-
-
-<!-- BEGIN buttons -->
-                                        <a href="javascript:;" onclick="blocking('cbody{MSG_ID}','', 'block'); blocking('cedit{MSG_ID}','', 'block'); return false;" title="{EDIT_TITLE}"><img src="images/edit.gif" border="0" align="middle" /></a>
-                                        <a href="delete.php?msg_id={MSG_ID}&what=comment"  onclick="return confirm('{CONFIRM_DELETE}');"><img src="images/delete.gif" border="0" align="middle" /></a>
-<!-- END buttons -->
-                                </td>
-                                <td class="tableh2_compact" align="right" nowrap="nowrap">
-                                        <span class="comment_date">[{MSG_DATE}]</span>
-                                </td></tr>
-                        </table>
-                </td>
-        </tr>
-        <tr>
-                <td class="tableb_compact">
-                        <div id="cbody{MSG_ID}" style="display:block">
-                                {MSG_BODY}
-                        </div>
-                        <div id="cedit{MSG_ID}" style="display:none">
-<!-- BEGIN edit_box_smilies -->
-                                <table width="100%" cellpadding="0" cellspacing="0">
-
-                                                <form name="f{MSG_ID}" method="POST" action="db_input.php">
-                                                <input type="hidden" name="event" value="comment_update" />
-                                                <input type="hidden" name="msg_id" value="{MSG_ID}" />
-                                                <tr>
-                                                <td>
-                                                   <input type="text" name="msg_author" value="{MSG_AUTHOR}" class="textinput" size="25" />
-                                                </td><td>
-                                                </tr>
-                                                <tr>
-                                                <td width="80%">
-                                                        <textarea cols="40" rows="2" class="textinput" name="msg_body" onselect="storeCaret_f{MSG_ID}(this);" onclick="storeCaret_f{MSG_ID}(this);" onkeyup="storeCaret_f{MSG_ID}(this);" style="width: 100%;">{MSG_BODY_RAW}</textarea>
-                                                </td>
-                                                <td class="tableb_compact">
-                                                </td>
-                                                <td>
-                                                        <input type="submit" class="comment_button" name="submit" value="{OK}" />
-                                                </td>
-                                                </form>
-                                        </tr>
-                                        <tr>
-                                                <td colspan="3"><img src="images/spacer.gif" width="1" height="2" /><br /></td>
-                                        </tr>
-                                </table>
-                                {SMILIES}
-<!-- END edit_box_smilies -->
-<!-- BEGIN edit_box_no_smilies -->
-                                <table width="100%" cellpadding="0" cellspacing="0">
-                                        <tr>
-                                                <form name="f{MSG_ID}" method="POST" action="db_input.php">
-                                                <input type="hidden" name="event" value="comment_update" />
-                                                <input type="hidden" name="msg_id" value="{MSG_ID}" />
-                                                <td>
-                                                <input type="text" name="msg_author" value="{MSG_AUTHOR}" class="textinput" size="25" />
-                                                </td>
-                                        </tr>
-                                        <tr>
-                                                <td width="100%">
-                                                        <textarea cols="40" rows="2" class="textinput" name="msg_body" style="width: 100%;">{MSG_BODY_RAW}</textarea>
-                                                </td>
-                                                <td class="tableb_compact">
-                                                </td>
-                                                <td>
-                                                        <input type="submit" class="comment_button" name="submit" value="{OK}" />
-                                                </td>
-                                                </form>
-                                        </tr>
-                                        <tr>
-                                                <td colspan="3"><img src="images/spacer.gif" width="1" height="2" /><br /></td>
-                                        </tr>
-                                </table>
-<!-- END edit_box_no_smilies -->
-                        </div>
-                </td>
-        </tr>
-</table>
-EOT;
-}  //{THEMES}
-
-// HTML template for the form to add comments
-if (!isset($template_add_your_comment)) { //{THEMES}
-$template_add_your_comment = <<<EOT
-        <form method="post" name="post" action="db_input.php">
-                <table align="center" width="{WIDTH}" cellspacing="1" cellpadding="0" class="maintable">
-                        <tr>
-                                        <td width="100%" class="tableh2_compact"><b>{ADD_YOUR_COMMENT}</b></td>
-                        </tr>
-                        <tr>
-                <td colspan="1">
-                        <table width="100%" cellpadding="0" cellspacing="0">
-
-<!-- BEGIN user_name_input -->
-                                                        <tr>
-                                                                <td class="tableb_compact">
-                                        {NAME}
-                                </td>
-                                <td class="tableb_compact">
-                                        <input type="text" class="textinput" name="msg_author" size="10" maxlength="20" value="{USER_NAME}" />
-                                </td>
-<!-- END user_name_input -->
-<!-- BEGIN input_box_smilies -->
-                                <td class="tableb_compact">
-                                {COMMENT}
-                                                                </td>
-                                <td width="100%" class="tableb_compact">
-                                <input type="text" class="textinput" id="message" name="msg_body" onselect="storeCaret_post(this);" onclick="storeCaret_post(this);" onkeyup="storeCaret_post(this);" maxlength="{MAX_COM_LENGTH}" style="width: 100%;" />
-                                                                </td>
-<!-- END input_box_smilies -->
-<!-- BEGIN input_box_no_smilies -->
-                                <td class="tableb_compact">
-                                {COMMENT}
-                                                                </td>
-                                <td width="100%" class="tableb_compact">
-                                <input type="text" class="textinput" id="message" name="msg_body"  maxlength="{MAX_COM_LENGTH}" style="width: 100%;" />
-                                </td>
-<!-- END input_box_no_smilies -->
-                                <td class="tableb_compact">
-                                <input type="hidden" name="event" value="comment" />
-                                <input type="hidden" name="pid" value="{PIC_ID}" />
-                                <input type="submit" class="comment_button" name="submit" value="{OK}" />
-                                </td>
-                                                        </tr>
-                        </table>
-                </td>
-        </tr>
-<!-- BEGIN smilies -->
-        <tr>
-                <td width="100%" class="tableb_compact">
-                        {SMILIES}
-                </td>
-        </tr>
-<!-- END smilies -->
-                </table>
-        </form>
-EOT;
-}  //{THEMES}
-
-// HTML template used by the cpg_die function
-if (!isset($template_cpg_die)) { //{THEMES}
-$template_cpg_die = <<<EOT
-
-        <tr>
-                <td class="tableb" align="center">
-                        <font size="3"><b>{MESSAGE}</b></font>
-<!-- BEGIN file_line -->
-                        <br />
-                        <br />
-                        {FILE_TXT}{FILE} - {LINE_TXT}{LINE}
-<!-- END file_line -->
-<!-- BEGIN output_buffer -->
-                        <br />
-                        <br />
-                        <div align="left">
-                                {OUTPUT_BUFFER}
-                        </div>
-<!-- END output_buffer -->
-                        <br /><br />
-                </td>
-        </tr>
-
-
-EOT;
-}  //{THEMES}
-
-// HTML template used by the msg_box function
-if (!isset($template_msg_box)) { //{THEMES}
-$template_msg_box = <<<EOT
-
-        <tr>
-                <td class="tableb" align="center">
-                        <font size="3"><b>{MESSAGE}</b></font>
-                </td>
-        </tr>
-<!-- BEGIN button -->
-                <tr>
-                        <td align="center" class="tablef">
-                                <table cellpadding="0" cellspacing="0">
-                                        <tr>
-                                                <td class="admin_menu">
-                                                        <a href="{LINK}">{TEXT}</a>
-                                                </td>
-                                        </tr>
-                                </table>
-                        </td>
-                </tr>
-<!-- END button -->
-
-EOT;
-}  //{THEMES}
-
-// HTML template for e-cards
-if (!isset($template_ecard)) { //{THEMES}
-$template_ecard = <<<EOT
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
-<html dir="{LANG_DIR}">
-<head>
-<meta http-equiv="content-type" content="text/html; charset={CHARSET}" />
-<title>{TITLE}</title>
-</head>
-<body bgcolor="#FFFFFF" text="#0F5475" link="#0F5475" vlink="#0F5475" alink="#0F5475">
-<br />
-<p align="center"><a href="{VIEW_ECARD_TGT}"><b>{VIEW_ECARD_LNK}</b></a></p>
-<table border="0" cellspacing="0" cellpadding="1" align="center">
-  <tr>
-    <td bgcolor="#000000">
-      <table border="0" cellspacing="0" cellpadding="10" bgcolor="#ffffff">
-        <tr>
-          <td valign="top">
-           <a href="{VIEW_MORE_TGT}displayimage.php?pos=-{PID}">
-                                         <img src="{PIC_URL}" border="1" alt="" /></a>
-                                         <br />
-                                         <div align="center">
-                                                 <h2>{PIC_TITLE}</h2>
-                                         </div>
-
-          </td>
-          <td valign="top" width="300">
-            <div align="right"><img src="{URL_PREFIX}images/stamp.gif" border="0" alt="" /></div>
-            <br />
-            <b><font face="arial" color="#000000" size="4">{GREETINGS}</font></b>
-            <br />
-            <br />
-            <font face="arial" color="#000000" size="2">{MESSAGE}</font>
-            <br />
-            <br />
-            <font face="arial" color="#000000" size="2">{SENDER_NAME}</font>
-            (<a href="mailto:{SENDER_EMAIL}"><font face="arial" color="#000000" size="2">{SENDER_EMAIL}</font></a>)
-          </td>
-        </tr>
-                <tr>
-                        <td colspan="2">
-                                {PIC_CAPTION}
-                        </td>
-                </tr>
-      </table>
-    </td>
-  </tr>
-</table>
-<p align="center"><a href="{VIEW_MORE_TGT}"><b>{VIEW_MORE_LNK}</b></a></p>
-</body>
-</html>
-EOT;
-}  //{THEMES}
-
-// plain-text template for e-cards (as fallback for clients that can't display html-formatted mails)
-if (!isset($template_ecard_plaintext)) { //{THEMES}
-$template_ecard_plaintext = <<<EOT
-{TITLE}
-=========================================
-
-{VIEW_ECARD_LNK_PLAINTEXT}:
-{VIEW_ECARD_TGT}
-
-{GREETINGS}
-
-
-{PLAINTEXT_MESSAGE}
-
-{SENDER_NAME} ({SENDER_EMAIL})
-
------------------------------------------
-{VIEW_MORE_LNK}:
-{VIEW_MORE_TGT}
-EOT;
-}  //{THEMES}
-
-// HTML template for report
-if (!isset($template_report)) { //{THEMES}
-$template_report = <<<EOT
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
-<html dir="{LANG_DIR}">
-<head>
-<meta http-equiv="content-type" content="text/html; charset={CHARSET}" />
-<title>{TITLE}</title>
-</head>
-<body bgcolor="#FFFFFF" text="#0F5475" link="#0F5475" vlink="#0F5475" alink="#0F5475">
-<br />
-<p align="center"><a href="{VIEW_REPORT_TGT}"><b>{VIEW_REPORT_LNK}</b></a></p>
-<table border="0" cellspacing="0" cellpadding="1" align="center">
-  <tr>
-    <td bgcolor="#000000">
-      <table border="0" cellspacing="0" cellpadding="10" bgcolor="#FFFFFF">
-        <tr>
-          <td valign="top">
-           <a href="{PIC_TGT}"><img src="{PIC_URL}" border="1" alt="" /></a><br />
-          </td>
-          <td valign="top" width="200">
-            <b><font face="arial" color="#000000" size="4">{SUBJECT}</font></b>
-            <br />
-                                                <br />
-                                                {REASON}
-            <p>
-            <font face="arial" color="#000000" size="2">{MESSAGE}</font>
-            </p>
-            <font face="arial" color="#000000" size="2">{SENDER_NAME}</font>
-            (<a href="mailto:{SENDER_EMAIL}"><font face="arial" color="#000000" size="2">{SENDER_EMAIL}</font></a>)
-          </td>
-        </tr>
-      </table>
-    </td>
-  </tr>
-</table>
-<p align="center"><a href="{VIEW_MORE_TGT}"><b>{VIEW_MORE_LNK}</b></a></p>
-</body>
-</html>
-EOT;
-}  //{THEMES}
-
-// plain-text template for reports (as fallback for clients that can't display html-formatted mails)
-if (!isset($template_report_plaintext)) { //{THEMES}
-$template_report_plaintext = <<<EOT
-{TITLE}
-=========================================
-
-{VIEW_REPORT_LNK_PLAINTEXT}:
-{VIEW_REPORT_TGT}
-
-
-{SUBJECT}
-
-{REASON}
-
-{PLAINTEXT_MESSAGE}
-
-{SENDER_NAME} ({SENDER_EMAIL})
-
------------------------------------------
-{VIEW_MORE_LNK}:
-{VIEW_MORE_TGT}
-EOT;
-}  //{THEMES}
-
-// HTML template for displaying a reported comment
-if (!isset($template_report_comment)) { //{THEMES}
-$template_report_comment = <<<EOT
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
-<html dir="{LANG_DIR}">
-<head>
-<meta http-equiv="content-type" content="text/html; charset={CHARSET}" />
-<title>{TITLE}</title>
-</head>
-<body bgcolor="#FFFFFF" text="#0F5475" link="#0F5475" vlink="#0F5475" alink="#0F5475">
-<br />
-<p align="center"><a href="{VIEW_REPORT_TGT}"><b>{VIEW_REPORT_LNK}</b></a></p>
-<table border="0" cellspacing="0" cellpadding="1" align="center">
-  <tr>
-    <td bgcolor="#000000">
-      <table border="0" cellspacing="0" cellpadding="10" bgcolor="#FFFFFF">
-        <tr>
-          <td valign="top">
-           {COMMENT}
-                                                <p align="center"><a href="{COMMENT_TGT}">{COMMENT_LNK}</a></p>
-          </td>
-                                        </tr>
-                                        <tr>
-          <td valign="top">
-            <b><font face="arial" color="#000000" size="4">{SUBJECT}</font></b>
-                                                <p>
-              {REASON}
-            <p>
-            <font face="arial" color="#000000" size="2">{MESSAGE}</font>
-            </p>
-            <font face="arial" color="#000000" size="2">{SENDER_NAME}</font>
-            (<a href="mailto:{SENDER_EMAIL}"><font face="arial" color="#000000" size="2">{SENDER_EMAIL}</font></a>)
-          </td>
-        </tr>
-      </table>
-    </td>
-  </tr>
-</table>
-<p align="center"><a href="{VIEW_MORE_TGT}"><b>{VIEW_MORE_LNK}</b></a></p>
-</body>
-</html>
-EOT;
-}  //{THEMES}
-
-// plain-text template for reports (as fallback for clients that can't display html-formatted mails)
-if (!isset($template_report_comment_email)) { //{THEMES}
-$template_report_comment_email = <<<EOT
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
-<html dir="{LANG_DIR}">
-<head>
-<meta http-equiv="content-type" content="text/html; charset={CHARSET}" />
-<title>{TITLE}</title>
-</head>
-<body bgcolor="#FFFFFF" text="#0F5475" link="#0F5475" vlink="#0F5475" alink="#0F5475">
-<p><a href="{VIEW_REPORT_TGT}">{VIEW_COMMENT_LNK}</a></p>
-                <b><font face="arial" color="#000000" size="4">{SUBJECT}</font></b>
-                <p>
-                        {REASON}
-                <p>
-                <font face="arial" color="#000000" size="2">{MESSAGE}</font>
-                </p>
-                <font face="arial" color="#000000" size="2">{SENDER_NAME}</font>
-                (<a href="mailto:{SENDER_EMAIL}"><font face="arial" color="#000000" size="2">{SENDER_EMAIL}</font></a>)
-<p><a href="{VIEW_MORE_TGT}"><b>{VIEW_MORE_LNK}</b></a></p>
-</body>
-</html>
-EOT;
-}  //{THEMES}
-
-// Template used for tabbed display
-if (!isset($template_tab_display)) { //{THEMES}
-$template_tab_display = array('left_text' => '<td width="100%%" align="left" valign="middle" class="tableh1_compact" style="white-space: nowrap"><b>{LEFT_TEXT}</b></td>' . "\n",
-    'tab_header' => '',
-    'tab_trailer' => '',
-    'active_tab' => '<td><img src="images/spacer.gif" width="1" height="1" alt="" /></td>' . "\n" . '<td align="center" valign="middle" class="tableb_compact"><b>%d</b></td>',
-    'inactive_tab' => '<td><img src="images/spacer.gif" width="1" height="1" alt="" /></td>' . "\n" . '<td align="center" valign="middle" class="navmenu"><a href="{LINK}"><b>%d</b></a></td>' . "\n",
-    'inactive_prev_tab' => '<td><img src="images/spacer.gif" width="1" height="1" alt="" /></td>' . "\n" . '<td align="center" valign="middle" class="navmenu"><a href="{LINK}"><b>{PREV}</b></a></td>' . "\n",
-    'inactive_next_tab' => '<td><img src="images/spacer.gif" width="1" height="1" alt="" /></td>' . "\n" . '<td align="center" valign="middle" class="navmenu"><a href="{LINK}"><b>{NEXT}</b></a></td>' . "\n",
-);
-}
-
-// Template used for Vanity Footer
-if (!isset($template_vanity)) { //{THEMES}
-$template_vanity = <<<EOT
-<div id="vanity">
-      <a id="v_php" href="http://www.php.net/"></a>
-      <a id="v_mysql" href="http://www.mysql.com/"></a>
-      <a id="v_xhtml" href="http://validator.w3.org/check/referer"></a>
-      <a id="v_css" href="http://jigsaw.w3.org/css-validator/check/referer"></a>
-</div>
-EOT;
-}  //{THEMES}
-
-// Function for writing a pageheader
-if (!function_exists('pageheader')) {  //{THEMES}
-function pageheader($section, $meta = '')
-{
-    global $CONFIG, $THEME_DIR;
-    global $template_header, $lang_charset, $lang_text_dir;
-
-    $custom_header = cpg_get_custom_include($CONFIG['custom_header_path']);
-
-        $charset = ($CONFIG['charset'] == 'language file') ? $lang_charset : $CONFIG['charset'];
-
-    header('P3P: CP="CAO DSP COR CURa ADMa DEVa OUR IND PHY ONL UNI COM NAV INT DEM PRE"');
-        header("Content-Type: text/html; charset=$charset");
-    user_save_profile();
-
-    $template_vars = array('{LANG_DIR}' => $lang_text_dir,
-        '{TITLE}' => $CONFIG['gallery_name'] . ' - ' . strip_tags(bb_decode($section)),
-        '{CHARSET}' => $charset,
-        '{META}' => $meta,
-        '{GAL_NAME}' => $CONFIG['gallery_name'],
-        '{GAL_DESCRIPTION}' => $CONFIG['gallery_description'],
-        '{SYS_MENU}' => theme_main_menu('sys_menu'),
-        '{SUB_MENU}' => theme_main_menu('sub_menu'),
-        '{ADMIN_MENU}' => theme_admin_mode_menu(),
-        '{CUSTOM_HEADER}' => $custom_header,
-        );
-
-    echo template_eval($template_header, $template_vars);
-}
-}  //{THEMES}
-
-// Function for writing a pagefooter
-if (!function_exists('pagefooter')) {  //{THEMES}
-function pagefooter()
-{
-    //global $HTTP_GET_VARS, $HTTP_POST_VARS, $HTTP_SERVER_VARS;
-    global $USER, $USER_DATA, $ALBUM_SET, $CONFIG, $time_start, $query_stats, $queries;
-    global $template_footer;
-
-    $custom_footer = cpg_get_custom_include($CONFIG['custom_footer_path']);
-
-    if ($CONFIG['debug_mode']==1 || ($CONFIG['debug_mode']==2 && GALLERY_ADMIN_MODE)) {
-    cpg_debug_output();
-    }
-
-    $template_vars = array(
-        '{CUSTOM_FOOTER}' => $custom_footer,
-        '{VANITY}' => (defined('THEME_IS_XHTML10_TRANSITIONAL') && $CONFIG['vanity_block']) ? theme_vanity() : '',
-    );
-
-    echo template_eval($template_footer, $template_vars);
-}
-}  //{THEMES}
-
-// Function to start a 'standard' table
-if (!function_exists('starttable')) {  //{THEMES}
-function starttable($width = '-1', $title = '', $title_colspan = '1')
-{
-    global $CONFIG;
-
-    if ($width == '-1') $width = $CONFIG['picture_table_width'];
-    if ($width == '100%') $width = $CONFIG['main_table_width'];
-    echo <<<EOT
-
-<!-- Start standard table -->
-<table align="center" width="$width" cellspacing="1" cellpadding="0" class="maintable">
-
-EOT;
-    if ($title) {
-        echo <<<EOT
-        <tr>
-                <td class="tableh1" colspan="$title_colspan">$title</td>
-        </tr>
-
-EOT;
-    }
-}
-}  //{THEMES}
-
-// Function to end a 'standard' table
-if (!function_exists('endtable')) {  //{THEMES}
-function endtable()
-{
-    echo <<<EOT
-</table>
-<!-- End standard table -->
-
-EOT;
-}
-}  //{THEMES}
-
-// Function for creating a main menu (SYS_MENU or SUB_MENU)
-if (!function_exists('theme_main_menu')) {  //{THEMES}
-function theme_main_menu($which)
-{
-    global $AUTHORIZED, $CONFIG, $album, $actual_cat, $cat, $REFERER;
-    global $lang_main_menu, $template_sys_menu, $template_sub_menu;
-
-
-    static $sys_menu = '', $sub_menu = '';
-    if ($$which != '') {
-        return $$which;
-    }
-
-    $album_l = isset($album) ? "?album=$album" : '';
-    $cat_l = (isset($actual_cat))? "?cat=$actual_cat" : (isset($cat) ? "?cat=$cat" : '');
-    $cat_l2 = isset($cat) ? "&amp;cat=$cat" : '';
-    $my_gallery_id = FIRST_USER_CAT + USER_ID;
-
-
-
-  if ($which == 'sys_menu' ) {
-    if (USER_ID) {
-        template_extract_block($template_sys_menu, 'login');
-    } else {
-        template_extract_block($template_sys_menu, 'logout');
-        template_extract_block($template_sys_menu, 'my_profile');
-    }
-
-    if (!USER_IS_ADMIN) {
-        template_extract_block($template_sys_menu, 'enter_admin_mode');
-        template_extract_block($template_sys_menu, 'leave_admin_mode');
-    } else {
-        if (GALLERY_ADMIN_MODE) {
-            template_extract_block($template_sys_menu, 'enter_admin_mode');
-        } else {
-            template_extract_block($template_sys_menu, 'leave_admin_mode');
-        }
-    }
-
-    if (!USER_CAN_CREATE_ALBUMS) {
-        template_extract_block($template_sys_menu, 'my_gallery');
-    }
-
-    if (USER_CAN_CREATE_ALBUMS) {
-        template_extract_block($template_sys_menu, 'my_profile');
-    }
-
-    if (!USER_CAN_UPLOAD_PICTURES && !USER_CAN_CREATE_ALBUMS) {
-        template_extract_block($template_sys_menu, 'upload_pic');
-    }
-
-    if (USER_ID || !$CONFIG['allow_user_registration']) {
-        template_extract_block($template_sys_menu, 'register');
-    }
-
-    if (!USER_ID || !$CONFIG['allow_memberlist']) {
-        template_extract_block($template_sys_menu, 'allow_memberlist');
-    }
-
-    if (!$CONFIG['display_faq']) {
-        template_extract_block($template_sys_menu, 'faq');
-    }
-
-    $param = array(
-        '{HOME_TGT}' => $CONFIG['home_target'],
-        '{HOME_TITLE}' => $lang_main_menu['home_title'],
-        '{HOME_LNK}' => $lang_main_menu['home_lnk'],
-        '{MY_GAL_TGT}' => "index.php?cat=$my_gallery_id",
-        '{MY_GAL_TITLE}' => $lang_main_menu['my_gal_title'],
-        '{MY_GAL_LNK}' => $lang_main_menu['my_gal_lnk'],
-        '{MEMBERLIST_TGT}' => "usermgr.php",
-        '{MEMBERLIST_TITLE}' => $lang_main_menu['memberlist_title'],
-        '{MEMBERLIST_LNK}' => $lang_main_menu['memberlist_lnk'],
-        '{MY_PROF_TGT}' => "profile.php?op=edit_profile",
-        '{MY_PROF_TITLE}' => $lang_main_menu['my_prof_title'],
-        '{MY_PROF_LNK}' => $lang_main_menu['my_prof_lnk'],
-        '{ADM_MODE_TGT}' => "mode.php?admin_mode=1&amp;referer=$REFERER",
-        '{ADM_MODE_TITLE}' => $lang_main_menu['adm_mode_title'],
-        '{ADM_MODE_LNK}' => $lang_main_menu['adm_mode_lnk'],
-        '{USR_MODE_TGT}' => "mode.php?admin_mode=0&amp;referer=$REFERER",
-        '{USR_MODE_TITLE}' => $lang_main_menu['usr_mode_title'],
-        '{USR_MODE_LNK}' => $lang_main_menu['usr_mode_lnk'],
-        '{UPL_PIC_TGT}' => "upload.php",
-        '{UPL_PIC_TITLE}' => $lang_main_menu['upload_pic_title'],
-        '{UPL_PIC_LNK}' => $lang_main_menu['upload_pic_lnk'],
-        '{REGISTER_TGT}' => "register.php",
-        '{REGISTER_TITLE}' => $lang_main_menu['register_title'],
-        '{REGISTER_LNK}' => $lang_main_menu['register_lnk'],
-        '{LOGIN_TGT}' => "login.php?referer=$REFERER",
-        '{LOGIN_TITLE}' => $lang_main_menu['login_title'],
-        '{LOGIN_LNK}' => $lang_main_menu['login_lnk'],
-        '{LOGOUT_TGT}' => "logout.php?referer=$REFERER",
-        '{LOGOUT_TITLE}' => $lang_main_menu['logout_title'],
-        '{LOGOUT_LNK}' => $lang_main_menu['logout_lnk'] . " [" . stripslashes(USER_NAME) . "]",
-        '{FAQ_TGT}' => "faq.php",
-        '{FAQ_TITLE}' => $lang_main_menu['faq_title'],
-        '{FAQ_LNK}' => $lang_main_menu['faq_lnk'],
-        );
-
-        $sys_menu = template_eval($template_sys_menu, $param);
-  } else {
-
-    if (!$CONFIG['custom_lnk_url']) {
-        template_extract_block($template_sub_menu, 'custom_link');
-    }
-
-    $param = array(
-        '{ALB_LIST_TGT}' => "index.php$cat_l",
-        '{ALB_LIST_TITLE}' => $lang_main_menu['alb_list_title'],
-        '{ALB_LIST_LNK}' => $lang_main_menu['alb_list_lnk'],
-        '{CUSTOM_LNK_TGT}' => $CONFIG['custom_lnk_url'],
-        '{CUSTOM_LNK_TITLE}' => $CONFIG['custom_lnk_name'],
-        '{CUSTOM_LNK_LNK}' => $CONFIG['custom_lnk_name'],
-        '{LASTUP_TGT}' => "thumbnails.php?album=lastup$cat_l2",
-        '{LASTUP_TITLE}' => $lang_main_menu['lastup_title'],
-        '{LASTUP_LNK}' => $lang_main_menu['lastup_lnk'],
-        '{LASTCOM_TGT}' => "thumbnails.php?album=lastcom$cat_l2",
-        '{LASTCOM_TITLE}' => $lang_main_menu['lastcom_title'],
-        '{LASTCOM_LNK}' => $lang_main_menu['lastcom_lnk'],
-        '{TOPN_TGT}' => "thumbnails.php?album=topn$cat_l2",
-        '{TOPN_TITLE}' => $lang_main_menu['topn_title'],
-        '{TOPN_LNK}' => $lang_main_menu['topn_lnk'],
-        '{TOPRATED_TGT}' => "thumbnails.php?album=toprated$cat_l2",
-        '{TOPRATED_TITLE}' => $lang_main_menu['toprated_title'],
-        '{TOPRATED_LNK}' => $lang_main_menu['toprated_lnk'],
-        '{FAV_TGT}' => "thumbnails.php?album=favpics",
-        '{FAV_TITLE}' => $lang_main_menu['fav_title'],
-        '{FAV_LNK}' => $lang_main_menu['fav_lnk'],
-        '{SEARCH_TGT}' => "search.php",
-        '{SEARCH_TITLE}' => $lang_main_menu['search_title'],
-        '{SEARCH_LNK}' => $lang_main_menu['search_lnk'],
-        );
-    $sub_menu = template_eval($template_sub_menu, $param);
-  }
-
-    return $$which;
-}
-}  //{THEMES}
-
-if (!function_exists('theme_admin_mode_menu')) {  //{THEMES}
-function theme_admin_mode_menu()
-{
-    global $cat;
-    global $lang_gallery_admin_menu, $lang_user_admin_menu;
-    global $template_gallery_admin_menu, $template_user_admin_menu;
-    global $CONFIG;
-
-    $cat_l = isset($cat) ? "?cat=$cat" : '';
-
-    static $admin_menu = '';
-
-    // Populate the admin menu only if empty to avoid template errors
-    if ($admin_menu == '') {
-
-        if (GALLERY_ADMIN_MODE) {
-
-        if ($CONFIG['log_ecards'] == 0) {
-            template_extract_block($template_gallery_admin_menu, 'log_ecards');
-        }
-
-        if (cpg_get_pending_approvals() == 0) {
-             template_extract_block($template_gallery_admin_menu, 'admin_approval');
-        }
-
-            // do the docs exist on the webserver?
-            if (file_exists('docs/index.htm') == true) {
-                $documentation_href = 'docs/index.htm';
-            } else {
-                $documentation_href = 'http://coppermine-gallery.net/demo/cpg14x/docs/';
-            }
-            $param = array('{CATL}' => $cat_l,
-                '{UPL_APP_TITLE}' => $lang_gallery_admin_menu['upl_app_title'],
-                '{UPL_APP_LNK}' => $lang_gallery_admin_menu['upl_app_lnk'],
-                '{ADMIN_TITLE}' => $lang_gallery_admin_menu['admin_title'],
-                '{ADMIN_LNK}' => $lang_gallery_admin_menu['admin_lnk'],
-                '{ALBUMS_TITLE}' => $lang_gallery_admin_menu['albums_title'],
-                '{ALBUMS_LNK}' => $lang_gallery_admin_menu['albums_lnk'],
-                '{CATEGORIES_TITLE}' => $lang_gallery_admin_menu['categories_title'],
-                '{CATEGORIES_LNK}' => $lang_gallery_admin_menu['categories_lnk'],
-                '{USERS_TITLE}' => $lang_gallery_admin_menu['users_title'],
-                '{USERS_LNK}' => $lang_gallery_admin_menu['users_lnk'],
-                '{GROUPS_TITLE}' => $lang_gallery_admin_menu['groups_title'],
-                '{GROUPS_LNK}' => $lang_gallery_admin_menu['groups_lnk'],
-                '{COMMENTS_TITLE}' => $lang_gallery_admin_menu['comments_title'],
-                '{COMMENTS_LNK}' => $lang_gallery_admin_menu['comments_lnk'],
-                '{SEARCHNEW_TITLE}' => $lang_gallery_admin_menu['searchnew_title'],
-                '{SEARCHNEW_LNK}' => $lang_gallery_admin_menu['searchnew_lnk'],
-                '{MY_PROF_TITLE}' => $lang_user_admin_menu['my_prof_title'],
-                '{MY_PROF_LNK}' => $lang_user_admin_menu['my_prof_lnk'],
-                '{UTIL_TITLE}' => $lang_gallery_admin_menu['util_title'],
-                '{UTIL_LNK}' => $lang_gallery_admin_menu['util_lnk'],
-                '{BAN_TITLE}' => $lang_gallery_admin_menu['ban_title'],
-                '{BAN_LNK}' => $lang_gallery_admin_menu['ban_lnk'],
-                '{DB_ECARD_TITLE}' => $lang_gallery_admin_menu['db_ecard_title'],
-                '{DB_ECARD_LNK}' => $lang_gallery_admin_menu['db_ecard_lnk'],
-                '{PICTURES_TITLE}' => $lang_gallery_admin_menu['pictures_title'],
-                '{PICTURES_LNK}' => $lang_gallery_admin_menu['pictures_lnk'],
-                '{DOCUMENTATION_HREF}' => $documentation_href,
-                '{DOCUMENTATION_TITLE}' => $lang_gallery_admin_menu['documentation_title'],
-                '{DOCUMENTATION_LNK}' => $lang_gallery_admin_menu['documentation_lnk'],
-                );
-
-            $html = template_eval($template_gallery_admin_menu, $param);
-            $html.= cpg_alert_dev_version();
-        } elseif (USER_ADMIN_MODE) {
-            $param = array('{ALBMGR_TITLE}' => $lang_user_admin_menu['albmgr_title'],
-                '{ALBMGR_LNK}' => $lang_user_admin_menu['albmgr_lnk'],
-                '{MODIFYALB_TITLE}' => $lang_user_admin_menu['modifyalb_title'],
-                '{MODIFYALB_LNK}' => $lang_user_admin_menu['modifyalb_lnk'],
-                '{MY_PROF_TITLE}' => $lang_user_admin_menu['my_prof_title'],
-                '{MY_PROF_LNK}' => $lang_user_admin_menu['my_prof_lnk'],
-                '{PICTURES_TITLE}' => $lang_gallery_admin_menu['pictures_title'],
-                '{PICTURES_LNK}' => $lang_gallery_admin_menu['pictures_lnk'],
-                );
-
-            $html = template_eval($template_user_admin_menu, $param);
-        } else {
-            $html = '';
-        }
-
-        $admin_menu = $html;
-    }
-
-    return $admin_menu;
-}
-}  //{THEMES}
-
-if (!function_exists('theme_display_cat_list')) {  //{THEMES}
-function theme_display_cat_list($breadcrumb, &$cat_data, $statistics)
-{
-    global $template_cat_list, $lang_cat_list;
-    if (count($cat_data) > 0) {
-        starttable('100%');
-        $template = template_extract_block($template_cat_list, 'header');
-        $params = array('{CATEGORY}' => $lang_cat_list['category'],
-            '{ALBUMS}' => $lang_cat_list['albums'],
-            '{PICTURES}' => $lang_cat_list['pictures'],
-            );
-        echo template_eval($template, $params);
-    }
-
-    $template_noabl = template_extract_block($template_cat_list, 'catrow_noalb');
-    $template = template_extract_block($template_cat_list, 'catrow');
-    foreach($cat_data as $category) {
-        if (!isset($category['cat_thumb'])) { $category['cat_thumb'] = ''; }
-        if (count($category) == 3) {
-            $params = array('{CAT_TITLE}' => $category[0],
-                    '{CAT_THUMB}' => $category['cat_thumb'],
-                '{CAT_DESC}' => $category[1]
-                );
-            echo template_eval($template_noabl, $params);
-        } elseif (isset($category['cat_albums']) && ($category['cat_albums'] != '')) {
-            $params = array('{CAT_TITLE}' => $category[0],
-                '{CAT_THUMB}' => $category['cat_thumb'],
-                '{CAT_DESC}' => $category[1],
-                '{CAT_ALBUMS}' => $category['cat_albums'],
-                '{ALB_COUNT}' => $category[2],
-                '{PIC_COUNT}' => $category[3],
-                );
-            echo template_eval($template, $params);
-        } else {
-            $params = array('{CAT_TITLE}' => $category[0],
-                '{CAT_THUMB}' => $category['cat_thumb'],
-                '{CAT_DESC}' => $category[1],
-                '{CAT_ALBUMS}' => '',
-                '{ALB_COUNT}' => $category[2],
-                '{PIC_COUNT}' => $category[3],
-                );
-            echo template_eval($template, $params);
-        }
-    }
-
-    if ($statistics && count($cat_data) > 0) {
-        $template = template_extract_block($template_cat_list, 'footer');
-        $params = array('{STATISTICS}' => $statistics);
-        echo template_eval($template, $params);
-    }
-
-
-    if (count($cat_data) > 0)
-          endtable();
-        echo template_extract_block($template_cat_list, 'spacer');
-}
-}  //{THEMES}
-
-if (!function_exists('theme_display_breadcrumb')) {  //{THEMES}
-function theme_display_breadcrumb($breadcrumb, &$cat_data)
-{
-    /**
-     * ** added breadcrumb as a seperate element
-     */
-    global $template_breadcrumb, $lang_breadcrumb;
-
-    starttable('100%');
-    if ($breadcrumb) {
-        $template = template_extract_block($template_breadcrumb, 'breadcrumb');
-        $params = array('{BREADCRUMB}' => $breadcrumb
-            );
-        echo template_eval($template, $params);
-    }
-        endtable();
-}
-}  //{THEMES}
-
-if (!function_exists('theme_display_album_list'))  {  //{THEMES}
-function theme_display_album_list(&$alb_list, $nbAlb, $cat, $page, $total_pages)
-{
-
-    global $CONFIG, $STATS_IN_ALB_LIST, $statistics, $template_tab_display, $template_album_list, $lang_album_list;
-
-    $theme_alb_list_tab_tmpl = $template_tab_display;
-
-    $theme_alb_list_tab_tmpl['left_text'] = strtr($theme_alb_list_tab_tmpl['left_text'], array('{LEFT_TEXT}' => $lang_album_list['album_on_page']));
-    $theme_alb_list_tab_tmpl['inactive_tab'] = strtr($theme_alb_list_tab_tmpl['inactive_tab'], array('{LINK}' => 'index.php?cat=' . $cat . '&amp;page=%d'));
-    $theme_alb_list_tab_tmpl['inactive_next_tab'] = strtr($theme_alb_list_tab_tmpl['inactive_next_tab'], array('{LINK}' => 'index.php?cat=' . $cat . '&amp;page=%d'));
-    $theme_alb_list_tab_tmpl['inactive_prev_tab'] = strtr($theme_alb_list_tab_tmpl['inactive_prev_tab'], array('{LINK}' => 'index.php?cat=' . $cat . '&amp;page=%d'));
-
-    $tabs = create_tabs($nbAlb, $page, $total_pages, $theme_alb_list_tab_tmpl);
-
-    $album_cell = template_extract_block($template_album_list, 'album_cell');
-    $empty_cell = template_extract_block($template_album_list, 'empty_cell');
-    $tabs_row = template_extract_block($template_album_list, 'tabs');
-    $stat_row = template_extract_block($template_album_list, 'stat_row');
-    $spacer = template_extract_block($template_album_list, 'spacer');
-    $header = template_extract_block($template_album_list, 'header');
-    $footer = template_extract_block($template_album_list, 'footer');
-    $rows_separator = template_extract_block($template_album_list, 'row_separator');
-
-    $count = 0;
-
-    $columns = $CONFIG['album_list_cols'];
-    $column_width = ceil(100 / $columns);
-    $thumb_cell_width = $CONFIG['alb_list_thumb_size'] + 2;
-
-    starttable('100%');
-
-    if ($STATS_IN_ALB_LIST) {
-        $params = array('{STATISTICS}' => $statistics,
-            '{COLUMNS}' => $columns,
-            );
-        echo template_eval($stat_row, $params);
-    }
-
-    echo $header;
-
-    if (is_array($alb_list)) {
-        foreach($alb_list as $album) {
-            $count ++;
-
-            $params = array('{COL_WIDTH}' => $column_width,
-                '{ALBUM_TITLE}' => $album['album_title'],
-                '{THUMB_CELL_WIDTH}' => $thumb_cell_width,
-                '{ALB_LINK_TGT}' => "thumbnails.php?album={$album['aid']}",
-                '{ALB_LINK_PIC}' => $album['thumb_pic'],
-                '{ADMIN_MENU}' => $album['album_adm_menu'],
-                '{ALB_DESC}' => $album['album_desc'],
-                '{ALB_INFOS}' => $album['album_info'],
-                );
-
-            echo template_eval($album_cell, $params);
-
-            if ($count % $columns == 0 && $count < count($alb_list)) {
-                echo $rows_separator;
-            }
-        }
-    }
-
-    $params = array('{COL_WIDTH}' => $column_width,
-          '{SPACER}' => $thumb_cell_width
-          );
-    $empty_cell = template_eval($empty_cell, $params);
-
-    while ($count++ % $columns != 0) {
-        echo $empty_cell;
-    }
-
-    echo $footer;
-    // Tab display
-    $params = array('{COLUMNS}' => $columns,
-        '{TABS}' => $tabs,
-        );
-    echo template_eval($tabs_row, $params);
-
-    endtable();
-
-    echo $spacer;
-}
-}  //{THEMES}
-
-// Function to display first level Albums of a category
-if (!function_exists('theme_display_album_list_cat')) {  //{THEMES}
-function theme_display_album_list_cat(&$alb_list, $nbAlb, $cat, $page, $total_pages)
-{
-    global $CONFIG, $STATS_IN_ALB_LIST, $statistics, $template_tab_display, $template_album_list_cat, $lang_album_list;
-    if (!$CONFIG['first_level']) {
-        return;
-    }
-
-    $theme_alb_list_tab_tmpl = $template_tab_display;
-
-    $theme_alb_list_tab_tmpl['left_text'] = strtr($theme_alb_list_tab_tmpl['left_text'], array('{LEFT_TEXT}' => $lang_album_list['album_on_page']));
-    $theme_alb_list_tab_tmpl['inactive_tab'] = strtr($theme_alb_list_tab_tmpl['inactive_tab'], array('{LINK}' => 'index.php?cat=' . $cat . '&amp;page=%d'));
-
-    $tabs = create_tabs($nbAlb, $page, $total_pages, $theme_alb_list_tab_tmpl);
-    // echo $template_album_list_cat;
-    $template_album_list_cat1 = $template_album_list_cat;
-    $album_cell = template_extract_block($template_album_list_cat1, 'c_album_cell');
-    $empty_cell = template_extract_block($template_album_list_cat1, 'c_empty_cell');
-    $tabs_row = template_extract_block($template_album_list_cat1, 'c_tabs');
-    $stat_row = template_extract_block($template_album_list_cat1, 'c_stat_row');
-    $spacer = template_extract_block($template_album_list_cat1, 'c_spacer');
-    $header = template_extract_block($template_album_list_cat1, 'c_header');
-    $footer = template_extract_block($template_album_list_cat1, 'c_footer');
-    $rows_separator = template_extract_block($template_album_list_cat1, 'c_row_separator');
-
-    $count = 0;
-
-    $columns = $CONFIG['album_list_cols'];
-    $column_width = ceil(100 / $columns);
-    $thumb_cell_width = $CONFIG['alb_list_thumb_size'] + 2;
-
-    starttable('100%');
-
-    if ($STATS_IN_ALB_LIST) {
-        $params = array('{STATISTICS}' => $statistics,
-            '{COLUMNS}' => $columns,
-            );
-        echo template_eval($stat_row, $params);
-    }
-
-    echo $header;
-
-    if (is_array($alb_list)) {
-        foreach($alb_list as $album) {
-            $count ++;
-
-            $params = array('{COL_WIDTH}' => $column_width,
-                '{ALBUM_TITLE}' => $album['album_title'],
-                '{THUMB_CELL_WIDTH}' => $thumb_cell_width,
-                '{ALB_LINK_TGT}' => "thumbnails.php?album={$album['aid']}",
-                '{ALB_LINK_PIC}' => $album['thumb_pic'],
-                '{ADMIN_MENU}' => $album['album_adm_menu'],
-                '{ALB_DESC}' => $album['album_desc'],
-                '{ALB_INFOS}' => $album['album_info'],
-                );
-
-            echo template_eval($album_cell, $params);
-
-            if ($count % $columns == 0 && $count < count($alb_list)) {
-                echo $rows_separator;
-            }
-        }
-    }
-
-    $params = array('{COL_WIDTH}' => $column_width,
-          '{SPACER}' => $thumb_cell_width
-          );
-    $empty_cell = template_eval($empty_cell, $params);
-
-    while ($count++ % $columns != 0) {
-        echo $empty_cell;
-    }
-
-    echo $footer;
-    // Tab display
-    $params = array('{COLUMNS}' => $columns,
-        '{TABS}' => $tabs,
-        );
-    echo template_eval($tabs_row, $params);
-
-    endtable();
-
-    echo $spacer;
-}
-}  //{THEMES}
-
-if (!function_exists('theme_display_thumbnails')) {  //{THEMES}
-function theme_display_thumbnails(&$thumb_list, $nbThumb, $album_name, $aid, $cat, $page, $total_pages, $sort_options, $display_tabs, $mode = 'thumb')
-{
-    global $CONFIG;
-    global $template_thumb_view_title_row,$template_fav_thumb_view_title_row, $lang_thumb_view, $template_tab_display, $template_thumbnail_view, $lang_album_list;
-
-    static $header = '';
-    static $thumb_cell = '';
-    static $empty_cell = '';
-    static $row_separator = '';
-    static $footer = '';
-    static $tabs = '';
-    static $spacer = '';
-
-    if ($header == '') {
-        $thumb_cell = template_extract_block($template_thumbnail_view, 'thumb_cell');
-        $tabs = template_extract_block($template_thumbnail_view, 'tabs');
-        $header = template_extract_block($template_thumbnail_view, 'header');
-        $empty_cell = template_extract_block($template_thumbnail_view, 'empty_cell');
-        $row_separator = template_extract_block($template_thumbnail_view, 'row_separator');
-        $footer = template_extract_block($template_thumbnail_view, 'footer');
-        $spacer = template_extract_block($template_thumbnail_view, 'spacer');
-    }
-
-    $cat_link = is_numeric($aid) ? '' : '&amp;cat=' . $cat;
-    $uid_link = (isset($_GET['uid']) && is_numeric($_GET['uid'])) ? '&amp;uid=' . $_GET['uid'] : '';
-
-    $theme_thumb_tab_tmpl = $template_tab_display;
-
-    if ($mode == 'thumb') {
-        $theme_thumb_tab_tmpl['left_text'] = strtr($theme_thumb_tab_tmpl['left_text'], array('{LEFT_TEXT}' => $aid == 'lastalb' ? $lang_album_list['album_on_page'] : $lang_thumb_view['pic_on_page']));
-        $theme_thumb_tab_tmpl['inactive_tab'] = strtr($theme_thumb_tab_tmpl['inactive_tab'], array('{LINK}' => 'thumbnails.php?album=' . $aid . $cat_link . $uid_link . '&amp;page=%d'));
-        $theme_thumb_tab_tmpl['inactive_next_tab'] = strtr($theme_thumb_tab_tmpl['inactive_next_tab'], array('{LINK}' => 'thumbnails.php?album=' . $aid . $cat_link . $uid_link . '&amp;page=%d'));
-        $theme_thumb_tab_tmpl['inactive_prev_tab'] = strtr($theme_thumb_tab_tmpl['inactive_prev_tab'], array('{LINK}' => 'thumbnails.php?album=' . $aid . $cat_link . $uid_link . '&amp;page=%d'));
-    } else {
-        $theme_thumb_tab_tmpl['left_text'] = strtr($theme_thumb_tab_tmpl['left_text'], array('{LEFT_TEXT}' => $lang_thumb_view['user_on_page']));
-        $theme_thumb_tab_tmpl['inactive_tab'] = strtr($theme_thumb_tab_tmpl['inactive_tab'], array('{LINK}' => 'index.php?cat=' . $cat . '&amp;page=%d'));
-        $theme_thumb_tab_tmpl['inactive_next_tab'] = strtr($theme_thumb_tab_tmpl['inactive_next_tab'], array('{LINK}' => 'index.php?cat=' . $cat . '&amp;page=%d'));
-        $theme_thumb_tab_tmpl['inactive_prev_tab'] = strtr($theme_thumb_tab_tmpl['inactive_prev_tab'], array('{LINK}' => 'index.php?cat=' . $cat . '&amp;page=%d'));
-    }
-
-    $thumbcols = $CONFIG['thumbcols'];
-    $cell_width = ceil(100 / $CONFIG['thumbcols']) . '%';
-
-    $tabs_html = $display_tabs ? create_tabs($nbThumb, $page, $total_pages, $theme_thumb_tab_tmpl) : '';
-    // The sort order options are not available for meta albums
-    if ($sort_options) {
-        $param = array('{ALBUM_NAME}' => $album_name,
-            '{AID}' => $aid,
-            '{PAGE}' => $page,
-            '{NAME}' => $lang_thumb_view['name'],
-            '{TITLE}' => $lang_thumb_view['title'],
-            '{DATE}' => $lang_thumb_view['date'],
-            '{SORT_TA}' => $lang_thumb_view['sort_ta'],
-            '{SORT_TD}' => $lang_thumb_view['sort_td'],
-            '{SORT_NA}' => $lang_thumb_view['sort_na'],
-            '{SORT_ND}' => $lang_thumb_view['sort_nd'],
-            '{SORT_DA}' => $lang_thumb_view['sort_da'],
-            '{SORT_DD}' => $lang_thumb_view['sort_dd'],
-            '{POSITION}' => $lang_thumb_view['position'],
-            '{SORT_PA}' => $lang_thumb_view['sort_pa'],
-            '{SORT_PD}' => $lang_thumb_view['sort_pd'],
-            );
-        $title = template_eval($template_thumb_view_title_row, $param);
-    } else if ($aid == 'favpics' && $CONFIG['enable_zipdownload'] == 1) { //Lots of stuff can be added here later
-       $param = array('{ALBUM_NAME}' => $album_name,
-                             '{DOWNLOAD_ZIP}'=>$lang_thumb_view['download_zip']
-                               );
-       $title = template_eval($template_fav_thumb_view_title_row, $param);
-    }else{
-        $title = $album_name;
-    }
-
-
-    if ($mode == 'thumb') {
-        starttable('100%', $title, $thumbcols);
-    } else {
-        starttable('100%');
-    }
-
-    echo $header;
-
-    $i = 0;
-    foreach($thumb_list as $thumb) {
-        $i++;
-        if ($mode == 'thumb') {
-            if ($aid == 'lastalb') {
-                $params = array('{CELL_WIDTH}' => $cell_width,
-                    '{LINK_TGT}' => "thumbnails.php?album={$thumb['aid']}",
-                    '{THUMB}' => $thumb['image'],
-                    '{CAPTION}' => $thumb['caption'],
-                    '{ADMIN_MENU}' => $thumb['admin_menu']
-                    );
-            } else {
-                $params = array('{CELL_WIDTH}' => $cell_width,
-                    '{LINK_TGT}' => "displayimage.php?album=$aid$cat_link&amp;pos={$thumb['pos']}$uid_link",
-                    '{THUMB}' => $thumb['image'],
-                    '{CAPTION}' => $thumb['caption'],
-                    '{ADMIN_MENU}' => $thumb['admin_menu']
-                    );
-            }
-        } else {
-            $params = array('{CELL_WIDTH}' => $cell_width,
-                '{LINK_TGT}' => "index.php?cat={$thumb['cat']}",
-                '{THUMB}' => $thumb['image'],
-                '{CAPTION}' => $thumb['caption'],
-                '{ADMIN_MENU}' => ''
-                );
-        }
-        echo template_eval($thumb_cell, $params);
-
-        if ((($i % $thumbcols) == 0) && ($i < count($thumb_list))) {
-            echo $row_separator;
-        }
-    }
-    for (;($i % $thumbcols); $i++) {
-        echo $empty_cell;
-    }
-    echo $footer;
-
-    if ($display_tabs) {
-        $params = array('{THUMB_COLS}' => $thumbcols,
-            '{TABS}' => $tabs_html
-            );
-        echo template_eval($tabs, $params);
-    }
-
-    endtable();
-    echo $spacer;
-}
-}  //{THEMES}
-
-// Function to display film strip
-if (!function_exists('theme_display_film_strip')) {  //{THEMES}
-function theme_display_film_strip(&$thumb_list, $nbThumb, $album_name, $aid, $cat, $pos, $sort_options, $mode = 'thumb')
-{
-    global $CONFIG, $THEME_DIR;
-    global $template_film_strip, $lang_film_strip;
-
-    static $template = '';
-    static $thumb_cell = '';
-    static $empty_cell = '';
-    static $spacer = '';
-
-    if ((!$template)) {
-        $template = $template_film_strip;
-        $thumb_cell = template_extract_block($template, 'thumb_cell');
-        $empty_cell = template_extract_block($template, 'empty_cell');
-    }
-
-    $cat_link = is_numeric($aid) ? '' : '&amp;cat=' . $cat;
-    $uid_link = (isset($_GET['uid']) && is_numeric($_GET['uid'])) ? '&amp;uid=' . $_GET['uid'] : '';
-
-    $thumbcols = $CONFIG['thumbcols'];
-    $cell_width = ceil(100 / $CONFIG['max_film_strip_items']) . '%';
-
-    $i = 0;
-    $thumb_strip = '';
-    foreach($thumb_list as $thumb) {
-        $i++;
-        if ($mode == 'thumb') {
-            $params = array('{CELL_WIDTH}' => $cell_width,
-                '{LINK_TGT}' => "displayimage.php?album=$aid$cat_link&amp;pos={$thumb['pos']}$uid_link",
-                '{THUMB}' => $thumb['image'],
-                '{CAPTION}' => $thumb['caption'],
-                '{ADMIN_MENU}' => ''
-                );
-        } else {
-            $params = array('{CELL_WIDTH}' => $cell_width,
-                '{LINK_TGT}' => "index.php?cat={$thumb['cat']}",
-                '{THUMB}' => $thumb['image'],
-                '{CAPTION}' => '',
-                '{ADMIN_MENU}' => ''
-                );
-        }
-        $thumb_strip .= template_eval($thumb_cell, $params);
-    }
-
-    if (defined('THEME_HAS_FILM_STRIP_GRAPHICS')) {
-        $tile1 = $THEME_DIR . 'images/tile1.gif';
-        $tile2 = $THEME_DIR . 'images/tile2.gif';
-    } elseif (defined('THEME_HAS_FILM_STRIP_GRAPHIC')) {
-        $tile1=$tile2=$THEME_DIR . 'images/tile.gif';
-    } else {
-        $tile1=$tile2= 'images/tile.gif';
-    }
-
-    $params = array('{THUMB_STRIP}' => $thumb_strip,
-        '{COLS}' => $i,
-        '{TILE1}' => $tile1,
-        '{TILE2}' => $tile2,
-        );
-
-    ob_start();
-    starttable($CONFIG['picture_table_width']);
-    echo template_eval($template, $params);
-    endtable();
-    $film_strip = ob_get_contents();
-    ob_end_clean();
-
-    return $film_strip;
-}
-}  //{THEMES}
-
-if (!function_exists('theme_no_img_to_display')) {  //{THEMES}
-function theme_no_img_to_display($album_name)
-{
-    global $lang_errors, $template_no_img_to_display;
-
-    static $template = '';
-    static $spacer;
-
-    if ((!$template)) {
-        $template = $template_no_img_to_display;
-        $spacer = template_extract_block($template, 'spacer');
-    }
-
-    $params = array('{TEXT}' => $lang_errors['no_img_to_display']);
-    starttable('100%', $album_name);
-    echo template_eval($template, $params);
-    endtable();
-}
-}  //{THEMES}
-
-if (!function_exists('theme_display_image')) {  //{THEMES}
-function theme_display_image($nav_menu, $picture, $votes, $pic_info, $comments, $film_strip)
-{
-    global $CONFIG;
-
-    $width = $CONFIG['picture_table_width'];
-
-    starttable();
-    echo $nav_menu;
-    endtable();
-
-    starttable();
-    echo $picture;
-    endtable();
-    if ($CONFIG['display_film_strip'] == 1) {
-        echo $film_strip;
-    }
-
-
-    echo $votes;
-
-
-
-    $picinfo = isset($_COOKIE['picinfo']) ? $_COOKIE['picinfo'] : ($CONFIG['display_pic_info'] ? 'block' : 'none');
-    echo "<div id=\"picinfo\" style=\"display: $picinfo;\">\n";
-    starttable();
-    echo $pic_info;
-    endtable();
-    echo "</div>\n";
-
-    echo "<div id=\"comments\">\n";
-        echo $comments;
-        echo "</div>\n";
-
-}
-}  //{THEMES}
-
-if (!function_exists('theme_html_picinfo')) {  //{THEMES}
-function theme_html_picinfo(&$info)
-{
-    global $lang_picinfo;
-
-    $html = '';
-
-    $html .= "        <tr><td colspan=\"2\" class=\"tableh2_compact\"><b>{$lang_picinfo['title']}</b></td></tr>\n";
-    $template = "        <tr><td class=\"tableb_compact\" valign=\"top\" >%s:</td><td class=\"tableb_compact\">%s</td></tr>\n";
-    foreach ($info as $key => $value) $html .= sprintf($template, $key, $value);
-
-    return $html;
-}
-}  //{THEMES}
-
-// Displays a picture
-if (!function_exists('theme_html_picture')) {  //{THEMES}
-function theme_html_picture()
-{
-    global $CONFIG, $CURRENT_PIC_DATA, $CURRENT_ALBUM_DATA, $USER;
-    global $album, $comment_date_fmt, $template_display_media;
-    global $lang_display_image_php, $lang_picinfo;
-
-    $pid = $CURRENT_PIC_DATA['pid'];
-    $pic_title = '';
-
-    if (!isset($USER['liv']) || !is_array($USER['liv'])) {
-        $USER['liv'] = array();
-    }
-    // Add 1 to hit counter
-    if (!USER_IS_ADMIN && !in_array($pid, $USER['liv']) && isset($_COOKIE[$CONFIG['cookie_name'] . '_data'])) {
-        add_hit($pid);
-        if (count($USER['liv']) > 4) array_shift($USER['liv']);
-        array_push($USER['liv'], $pid);
-    }
-
-    if($CONFIG['thumb_use']=='ht' && $CURRENT_PIC_DATA['pheight'] > $CONFIG['picture_width'] ){ // The wierd comparision is because only picture_width is stored
-      $condition = true;
-    }elseif($CONFIG['thumb_use']=='wd' && $CURRENT_PIC_DATA['pwidth'] > $CONFIG['picture_width']){
-      $condition = true;
-    }elseif($CONFIG['thumb_use']=='any' && max($CURRENT_PIC_DATA['pwidth'], $CURRENT_PIC_DATA['pheight']) > $CONFIG['picture_width']){
-      $condition = true;
-    }else{
-     $condition = false;
-    }
-
-    if ($CURRENT_PIC_DATA['title'] != '') {
-        $pic_title .= $CURRENT_PIC_DATA['title'] . "\n";
-    }
-    if ($CURRENT_PIC_DATA['caption'] != '') {
-        $pic_title .= $CURRENT_PIC_DATA['caption'] . "\n";
-    }
-    if ($CURRENT_PIC_DATA['keywords'] != '') {
-        $pic_title .= $lang_picinfo['Keywords'] . ": " . $CURRENT_PIC_DATA['keywords'];
-    }
-
-    if (!$CURRENT_PIC_DATA['title'] && !$CURRENT_PIC_DATA['caption']) {
-        template_extract_block($template_display_media, 'img_desc');
-    } else {
-        if (!$CURRENT_PIC_DATA['title']) {
-            template_extract_block($template_display_media, 'title');
-        }
-        if (!$CURRENT_PIC_DATA['caption']) {
-            template_extract_block($template_display_media, 'caption');
-        }
-    }
-
-    $CURRENT_PIC_DATA['menu'] = html_picture_menu(); //((USER_ADMIN_MODE && $CURRENT_ALBUM_DATA['category'] == FIRST_USER_CAT + USER_ID) || ($CONFIG['users_can_edit_pics'] && $CURRENT_PIC_DATA['owner_id'] == USER_ID && USER_ID != 0) || GALLERY_ADMIN_MODE) ? html_picture_menu($pid) : '';
-
-    if ($CONFIG['make_intermediate'] && $condition ) {
-        $picture_url = get_pic_url($CURRENT_PIC_DATA, 'normal');
-    } else {
-        $picture_url = get_pic_url($CURRENT_PIC_DATA, 'fullsize');
-    }
-
-    $image_size = compute_img_size($CURRENT_PIC_DATA['pwidth'], $CURRENT_PIC_DATA['pheight'], $CONFIG['picture_width']);
-
-    $pic_title = '';
-    $mime_content = cpg_get_type($CURRENT_PIC_DATA['filename']);
-
-
-    if ($mime_content['content']=='movie' || $mime_content['content']=='audio') {
-
-        if ($CURRENT_PIC_DATA['pwidth']==0 || $CURRENT_PIC_DATA['pheight']==0) {
-            $CURRENT_PIC_DATA['pwidth']  = 320; // Default width
-
-            // Set default height; if file is a movie
-            if ($mime_content['content']=='movie') {
-                $CURRENT_PIC_DATA['pheight'] = 240; // Default height
-            }
-        }
-
-        $ctrl_offset['mov']=15;
-        $ctrl_offset['wmv']=45;
-        $ctrl_offset['swf']=0;
-        $ctrl_offset['rm']=0;
-        $ctrl_offset_default=45;
-        $ctrl_height = (isset($ctrl_offset[$mime_content['extension']]))?($ctrl_offset[$mime_content['extension']]):$ctrl_offset_default;
-        $image_size['whole']='width="'.$CURRENT_PIC_DATA['pwidth'].'" height="'.($CURRENT_PIC_DATA['pheight']+$ctrl_height).'"';
-    }
-
-    if ($mime_content['content']=='image') {
-        if (isset($image_size['reduced'])) {
-            $winsizeX = $CURRENT_PIC_DATA['pwidth']+5;  //the +'s are the mysterious FF and IE paddings
-            $winsizeY = $CURRENT_PIC_DATA['pheight']+3; //the +'s are the mysterious FF and IE paddings
-            $pic_html = "<a href=\"javascript:;\" onclick=\"MM_openBrWindow('displayimage.php?pid=$pid&amp;fullsize=1','" . uniqid(rand()) . "','scrollbars=yes,toolbar=no,status=no,resizable=yes,width=$winsizeX,height=$winsizeY')\">";
-            $pic_title = $lang_display_image_php['view_fs'] . "\n==============\n" . $pic_title;
-            $pic_html .= "<img src=\"" . $picture_url . "\" class=\"image\" border=\"0\" alt=\"{$lang_display_image_php['view_fs']}\" /><br />";
-            $pic_html .= "</a>\n";
-        } else {
-            $pic_html = "<img src=\"" . $picture_url . "\" {$image_size['geom']} class=\"image\" border=\"0\" alt=\"\" /><br />\n";
-        }
-    } elseif ($mime_content['content']=='document') {
-        $pic_thumb_url = get_pic_url($CURRENT_PIC_DATA,'thumb');
-        $pic_html = "<a href=\"{$picture_url}\" target=\"_blank\" class=\"document_link\"><img src=\"".$pic_thumb_url."\" border=\"0\" class=\"image\" /></a>\n<br />";
-    } else {
-        $autostart = ($CONFIG['media_autostart']) ? ('true'):('false');
-
-        $players['WMP'] = array('id' => 'MediaPlayer',
-                                'clsid' => 'classid="clsid:22D6F312-B0F6-11D0-94AB-0080C74C7E95" ',
-                                'codebase' => 'codebase="http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=6,4,7,1112" ',
-                                'mime' => 'type="application/x-mplayer2" ',
-                               );
-        $players['RMP'] = array('id' => 'RealPlayer',
-                                'clsid' => 'classid="clsid:CFCDAA03-8BE4-11cf-B84B-0020AFBBCCFA" ',
-                                'codebase' => '',
-                                'mime' => 'type="audio/x-pn-realaudio-plugin" '
-                               );
-        $players['QT']  = array('id' => 'QuickTime',
-                                'clsid' => 'classid="clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B" ',
-                                'codebase' => 'codebase="http://www.apple.com/qtactivex/qtplugin.cab" ',
-                                'mime' => 'type="video/x-quicktime" '
-                               );
-        $players['SWF'] = array('id' => 'SWFlash',
-                                'clsid' => ' classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" ',
-                                'codebase' => 'codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" ',
-                                'mime' => 'type="application/x-shockwave-flash" '
-                               );
-        $players['UNK'] = array('id' => 'DefaultPlayer',
-                                'clsid' => '',
-                                'codebase' => '',
-                                'mime' => ''
-                               );
-
-        if (isset($_COOKIE[$CONFIG['cookie_name'].'_'.$mime_content['extension'].'player'])) {
-            $user_player = $_COOKIE[$CONFIG['cookie_name'].'_'.$mime_content['extension'].'player'];
-        } else {
-            $user_player = $mime_content['player'];
-        }
-
-                // There isn't a player selected or user wants client-side control
-        if (!$user_player) {
-            $user_player = 'UNK';
-        }
-
-        $player = $players[$user_player];
-
-        $pic_html  = '<object id="'.$player['id'].'" '.$player['clsid'].$player['codebase'].$player['mime'].$image_size['whole'].'>';
-        $pic_html .= "<param name=\"autostart\" value=\"$autostart\" /><param name=\"src\" value=\"". $picture_url . "\" />";
-        $pic_html .= '<embed '.$image_size['whole'].' src="'. $picture_url . '" autostart="'.$autostart.'" '.$player['mime'].'></embed>';
-        $pic_html .= "</object><br />\n";
-    }
-
-    $CURRENT_PIC_DATA['html'] = $pic_html;
-    $CURRENT_PIC_DATA['header'] = '';
-    $CURRENT_PIC_DATA['footer'] = '';
-
-    $CURRENT_PIC_DATA = CPGPluginAPI::filter('file_data',$CURRENT_PIC_DATA);
-
-    $params = array('{CELL_HEIGHT}' => '100',
-        '{IMAGE}' => $CURRENT_PIC_DATA['header'].$CURRENT_PIC_DATA['html'].$CURRENT_PIC_DATA['footer'],
-        '{ADMIN_MENU}' => $CURRENT_PIC_DATA['menu'],
-        '{TITLE}' => bb_decode($CURRENT_PIC_DATA['title']),
-        '{CAPTION}' => bb_decode($CURRENT_PIC_DATA['caption']),
-        );
-
-    return template_eval($template_display_media, $params);
-}
-}  //{THEMES}
-
-if (!function_exists('theme_html_img_nav_menu')) {  //{THEMES}
-function theme_html_img_nav_menu()
-{
-    global $CONFIG, $CURRENT_PIC_DATA, $meta_nav, $THEME_DIR ; //$PHP_SELF,
-    global $album, $cat, $pos, $pic_count, $lang_img_nav_bar, $lang_text_dir, $template_img_navbar;
-
-    $cat_link = is_numeric($album) ? '' : '&amp;cat=' . $cat;
-    $uid_link = (isset($_GET['uid']) && is_numeric($_GET['uid'])) ? '&amp;uid=' . $_GET['uid'] : '';
-
-    $human_pos = $pos + 1;
-    $page = ceil(($pos + 1) / ($CONFIG['thumbrows'] * $CONFIG['thumbcols']));
-    $pid = $CURRENT_PIC_DATA['pid'];
-    $linebreak = "\r\n";
-
-    $start = 0;
-        $start_tgt = "{$_SERVER['PHP_SELF']}?album=$album$cat_link&amp;pos=$start";
-        $start_title = $lang_img_nav_bar['go_album_start'];
-        $meta_nav .= $linebreak . "<link rel=\"start\" href=\"$start_tgt\" title=\"$start_title\" />";
-        $end = $pic_count - 1;
-        $end_tgt = "{$_SERVER['PHP_SELF']}?album=$album$cat_link&amp;pos=$end";
-        $end_title = $lang_img_nav_bar['go_album_end'];
-        $meta_nav .= $linebreak . "<link rel=\"last\" href=\"$end_tgt\" title=\"$end_title\" />";
-
-    if ($pos > 0) {
-        $prev = $pos - 1;
-        $prev_tgt = "{$_SERVER['PHP_SELF']}?album=$album$cat_link&amp;pos=$prev$uid_link";
-        $prev_title = $lang_img_nav_bar['prev_title'];
-        $meta_nav .= $linebreak . "<link rel=\"prev\" href=\"$prev_tgt\" title=\"$prev_title\" />";
-    } else {
-        $prev_tgt = "javascript:;";
-        $prev_title = "";
-    }
-
-    if ($pos < ($pic_count -1)) {
-        $next = $pos + 1;
-        $next_tgt = "{$_SERVER['PHP_SELF']}?album=$album$cat_link&amp;pos=$next$uid_link";
-        $next_title = $lang_img_nav_bar['next_title'];
-        $meta_nav .= $linebreak . "<link rel=\"next\" href=\"$next_tgt\" title=\"$next_title\"/>";
-    } else {
-        $next_tgt = "javascript:;";
-        $next_title = "";
-    }
-
-    if (USER_CAN_SEND_ECARDS) {
-        $ecard_tgt = "ecard.php?album=$album$cat_link&amp;pid=$pid&amp;pos=$pos";
-        $ecard_title = $lang_img_nav_bar['ecard_title'];
-    } else {
-        template_extract_block($template_img_navbar, 'ecard_button'); // added to remove button if cannot send ecard
-    }
-
-    //report to moderator buttons
-    $report_tgt = '';
-    if (($CONFIG['report_post']==1) && (USER_CAN_SEND_ECARDS)) {
-        $report_tgt = "report_file.php?album=$album$cat_link&amp;pid=$pid&amp;pos=$pos";
-    } else { // remove button if report toggle is off
-        template_extract_block($template_img_navbar, 'report_file_button');
-
-    }
-
-    $thumb_tgt = "thumbnails.php?album=$album$cat_link&amp;page=$page$uid_link";
-    $meta_nav .= $linebreak . "<link rel=\"up\" href=\"$thumb_tgt\" title=\"".$lang_img_nav_bar['thumb_title']."\"/>";
-
-    $slideshow_tgt = "{$_SERVER['PHP_SELF']}?album=$album$cat_link$uid_link&amp;pid=$pid&amp;slideshow=".$CONFIG['slideshow_interval'];
-
-    $pic_pos = sprintf($lang_img_nav_bar['pic_pos'], $human_pos, $pic_count);
-
-    if (defined('THEME_HAS_NAVBAR_GRAPHICS')) {
-            $location= $THEME_DIR;
-        } else {
-            $location= '';
-        }
-
-    $params = array('{THUMB_TGT}' => $thumb_tgt,
-        '{THUMB_TITLE}' => $lang_img_nav_bar['thumb_title'],
-        '{PIC_INFO_TITLE}' => $lang_img_nav_bar['pic_info_title'],
-        '{SLIDESHOW_TGT}' => $slideshow_tgt,
-        '{SLIDESHOW_TITLE}' => $lang_img_nav_bar['slideshow_title'],
-        '{PIC_POS}' => $pic_pos,
-        '{ECARD_TGT}' => $ecard_tgt,
-        '{ECARD_TITLE}' => $ecard_title,
-        '{PREV_TGT}' => $prev_tgt,
-        '{PREV_TITLE}' => $prev_title,
-        '{NEXT_TGT}' => $next_tgt,
-        '{NEXT_TITLE}' => $next_title,
-        '{PREV_IMAGE}' => ($lang_text_dir=='ltr') ? 'prev' : 'next',
-        '{NEXT_IMAGE}' => ($lang_text_dir=='ltr') ? 'next' : 'prev',
-        '{REPORT_TGT}' => $report_tgt,
-        '{REPORT_TITLE}' => $lang_img_nav_bar['report_title'],
-        '{LOCATION}' => $location,
-        );
-
-    return template_eval($template_img_navbar, $params);
-}
-}  //{THEMES}
-
-if (!function_exists('theme_html_rating_box')) {  //{THEMES}
-function theme_html_rating_box()
-{
-    global $CONFIG, $CURRENT_PIC_DATA, $CURRENT_ALBUM_DATA, $THEME_DIR;
-    global $template_image_rating, $lang_rate_pic;
-
-    if (!(USER_CAN_RATE_PICTURES && $CURRENT_ALBUM_DATA['votes'] == 'YES')) return '';
-
-    $votes = $CURRENT_PIC_DATA['votes'] ? sprintf($lang_rate_pic['rating'], round($CURRENT_PIC_DATA['pic_rating'] / 2000, 1), $CURRENT_PIC_DATA['votes']) : $lang_rate_pic['no_votes'];
-    $pid = $CURRENT_PIC_DATA['pid'];
-
-    if (defined('THEME_HAS_RATING_GRAPHICS')) {
-        $location= $THEME_DIR;
-    } else {
-        $location= '';
-    }
-
-    $params = array('{TITLE}' => $lang_rate_pic['rate_this_pic'],
-        '{VOTES}' => $votes,
-        '{RATE0}' => "ratepic.php?pic=$pid&amp;rate=0",
-        '{RATE1}' => "ratepic.php?pic=$pid&amp;rate=1",
-        '{RATE2}' => "ratepic.php?pic=$pid&amp;rate=2",
-        '{RATE3}' => "ratepic.php?pic=$pid&amp;rate=3",
-        '{RATE4}' => "ratepic.php?pic=$pid&amp;rate=4",
-        '{RATE5}' => "ratepic.php?pic=$pid&amp;rate=5",
-        '{RUBBISH}' => $lang_rate_pic['rubbish'],
-        '{POOR}' => $lang_rate_pic['poor'],
-        '{FAIR}' => $lang_rate_pic['fair'],
-        '{GOOD}' => $lang_rate_pic['good'],
-        '{EXCELLENT}' => $lang_rate_pic['excellent'],
-        '{GREAT}' => $lang_rate_pic['great'],
-        '{WIDTH}' => $CONFIG['picture_table_width'],
-        '{LOCATION}' => $location,        //theme dir or default images directory
-        );
-
-    return template_eval($template_image_rating, $params);
-}
-}  //{THEMES}
-
-// Displays comments for a specific picture
-if (!function_exists('theme_html_comments')) {  //{THEMES}
-function theme_html_comments($pid)
-{
-    global $CONFIG, $USER, $CURRENT_ALBUM_DATA, $comment_date_fmt, $HTML_SUBST;
-    global $template_image_comments, $template_add_your_comment, $lang_display_comments;
-
-    $html = '';
-
-    // report to moderator buttons
-    if (!(($CONFIG['report_post']==1) && (USER_CAN_SEND_ECARDS))) {
-        template_extract_block($template_image_comments, 'report_comment_button');
-    }
-
-    if (!$CONFIG['enable_smilies']) {
-        $tmpl_comment_edit_box = template_extract_block($template_image_comments, 'edit_box_no_smilies', '{EDIT}');
-        template_extract_block($template_image_comments, 'edit_box_smilies');
-        template_extract_block($template_add_your_comment, 'input_box_smilies');
-    } else {
-        $tmpl_comment_edit_box = template_extract_block($template_image_comments, 'edit_box_smilies', '{EDIT}');
-        template_extract_block($template_image_comments, 'edit_box_no_smilies');
-        template_extract_block($template_add_your_comment, 'input_box_no_smilies');
-    }
-
-    $tmpl_comments_buttons = template_extract_block($template_image_comments, 'buttons', '{BUTTONS}');
-    $tmpl_comments_ipinfo = template_extract_block($template_image_comments, 'ipinfo', '{IPINFO}');
-
-    if ($CONFIG['comments_sort_descending'] == 1) {
-        $comment_sort_order = 'DESC';
-    } else {
-        $comment_sort_order = 'ASC';
-    }
-    $result = cpg_db_query("SELECT msg_id, msg_author, msg_body, UNIX_TIMESTAMP(msg_date) AS msg_date, author_id, author_md5_id, msg_raw_ip, msg_hdr_ip, pid FROM {$CONFIG['TABLE_COMMENTS']} WHERE pid='$pid' ORDER BY msg_id $comment_sort_order");
-
-    while ($row = mysql_fetch_array($result)) {
-        $user_can_edit = (GALLERY_ADMIN_MODE) || (USER_ID && USER_ID == $row['author_id'] && USER_CAN_POST_COMMENTS) || (!USER_ID && USER_CAN_POST_COMMENTS && ($USER['ID'] == $row['author_md5_id']));
-        $comment_buttons = $user_can_edit ? $tmpl_comments_buttons : '';
-        $comment_edit_box = $user_can_edit ? $tmpl_comment_edit_box : '';
-        $comment_ipinfo = ($row['msg_raw_ip'] && GALLERY_ADMIN_MODE)?$tmpl_comments_ipinfo : '';
-
-        if ($CONFIG['enable_smilies']) {
-            $comment_body = process_smilies(make_clickable($row['msg_body']));
-            $smilies = generate_smilies("f{$row['msg_id']}", 'msg_body');
-        } else {
-            $comment_body = make_clickable($row['msg_body']);
-            $smilies = '';
-        }
-
-        $ip = $row['msg_hdr_ip'];
-        if ($row['msg_hdr_ip'] != $row['msg_raw_ip']) {
-            $ip .= ' [' . $row['msg_raw_ip'] . ']';
-        }
-
-        $params = array('{EDIT}' => &$comment_edit_box,
-            '{BUTTONS}' => &$comment_buttons,
-            '{IPINFO}' => &$comment_ipinfo
-            );
-
-        $template = template_eval($template_image_comments, $params);
-
-        $params = array('{MSG_AUTHOR}' => stripslashes($row['msg_author']),
-            '{MSG_ID}' => $row['msg_id'],
-            '{PID}' => $row['pid'],
-            '{EDIT_TITLE}' => &$lang_display_comments['edit_title'],
-            '{CONFIRM_DELETE}' => &$lang_display_comments['confirm_delete'],
-            '{MSG_DATE}' => localised_date($row['msg_date'], $comment_date_fmt),
-            '{MSG_BODY}' => bb_decode($comment_body),
-            '{MSG_BODY_RAW}' => $row['msg_body'],
-            '{OK}' => &$lang_display_comments['OK'],
-            '{SMILIES}' => $smilies,
-            '{IP}' => $ip,
-            '{REPORT_COMMENT_TITLE}' => &$lang_display_comments['report_comment_title'],
-            '{WIDTH}' => $CONFIG['picture_table_width']
-            );
-
-        $html .= template_eval($template, $params);
-    }
-
-    if (USER_CAN_POST_COMMENTS && $CURRENT_ALBUM_DATA['comments'] == 'YES') {
-        if (USER_ID) {
-            $user_name_input = '<tr><td><input type="hidden" name="msg_author" value="' . stripslashes(USER_NAME) . '" /></td>';
-            template_extract_block($template_add_your_comment, 'user_name_input', $user_name_input);
-            $user_name = '';
-        } else {
-            if (isset($USER['name'])) {
-              $user_name = strtr($USER['name'], $HTML_SUBST);
-            } else {
-              $user_name = $lang_display_comments['your_name'];
-            }
-        }
-
-        $params = array('{ADD_YOUR_COMMENT}' => $lang_display_comments['add_your_comment'],
-            // Modified Name and comment field
-            '{NAME}' => $lang_display_comments['name'],
-            '{COMMENT}' => $lang_display_comments['comment'],
-            '{PIC_ID}' => $pid,
-            '{USER_NAME}' => $user_name,
-            '{MAX_COM_LENGTH}' => $CONFIG['max_com_size'],
-            '{OK}' => $lang_display_comments['OK'],
-            '{SMILIES}' => '',
-            '{WIDTH}' => $CONFIG['picture_table_width'],
-            );
-
-        if ($CONFIG['enable_smilies']){
-                        $params['{SMILIES}'] = generate_smilies();
-                } else {
-                        template_extract_block($template_add_your_comment, 'smilies');
-                }
-
-        $html .= template_eval($template_add_your_comment, $params);
-    }
-
-    return $html;
-}
-}  //{THEMES}
-
-if (!function_exists('theme_slideshow')) {  //{THEMES}
-function theme_slideshow()
-{
-    global $CONFIG, $lang_display_image_php, $template_display_media;
-
-    pageheader($lang_display_image_php['slideshow']);
-
-    include "include/slideshow.inc.php";
-
-    $start_slideshow = '<script language="JavaScript" type="text/JavaScript">runSlideShow()</script>';
-    template_extract_block($template_display_media, 'img_desc', $start_slideshow);
-
-    $params = array('{CELL_HEIGHT}' => $CONFIG['picture_width'] + 100,
-        '{IMAGE}' => '<img src="' . $start_img . '" name="SlideShow" class="image" /><br />',
-        '{ADMIN_MENU}' => '',
-        );
-
-    starttable();
-    echo template_eval($template_display_media, $params);
-    endtable();
-    starttable();
-    echo <<<EOT
-        <tr>
-                <td align="center" class="navmenu" style="white-space: nowrap;">
-                        <a href="javascript:endSlideShow()" class="navmenu">{$lang_display_image_php['stop_slideshow']}</a>
-                </td>
-        </tr>
-
-EOT;
-    endtable();
-    pagefooter();
-}
-}  //{THEMES}
-
-// Display the full size image
-if (!function_exists('theme_display_fullsize_pic')) {  //{THEMES}
-function theme_display_fullsize_pic()
-{
-    global $CONFIG, $THEME_DIR, $ALBUM_SET;
-    global $lang_errors, $lang_fullsize_popup, $lang_charset;
-
-    if (isset($_GET['picfile']))
-    {
-        if (!GALLERY_ADMIN_MODE) cpg_die(ERROR, $lang_errors['access_denied'], __FILE__, __LINE__);
-
-    $picfile = $_GET['picfile'];
-    $picname = $CONFIG['fullpath'] . $picfile;
-    $imagesize = @getimagesize($picname);
-    $imagedata = array('name' => $picfile, 'path' => path2url($picname), 'geometry' => $imagesize[3]);
-    }
-    elseif (isset($_GET['pid']))
-    {
-    $pid = (int)$_GET['pid'];
-    $sql = "SELECT * " . "FROM {$CONFIG['TABLE_PICTURES']} " . "WHERE pid='$pid' $ALBUM_SET";
-    $result = cpg_db_query($sql);
-
-    if (!mysql_num_rows($result)) cpg_die(ERROR, $lang_errors['non_exist_ap'], __FILE__, __LINE__);
-
-    $row = mysql_fetch_array($result);
-    $pic_url = get_pic_url($row, 'fullsize');
-    $geom = 'width="' . $row['pwidth'] . '" height="' . $row['pheight'] . '"';
-    $imagedata = array('name' => $row['filename'], 'path' => $pic_url, 'geometry' => $geom);
-    }
-
-?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
-<html>
-  <head>
-  <meta http-equiv="content-type" content="text/html; charset=<?php echo $CONFIG['charset'] == 'language file' ? $lang_charset : $CONFIG['charset'] ?>" />
-  <title><?php echo $CONFIG['gallery_name'] ?>: <?php echo $lang_fullsize_popup['click_to_close'];
-      ?></title>
-  <script type="text/javascript" src="scripts.js"></script>
-  <style type="text/css">
-  body { margin: 0; padding: 0; background-color: gray; }
-  img { margin:0; padding:0; border:0; }
-  #content { margin:0 auto; padding:0; border:0; }
-  table { border:0; height:100%; width:100%; border-collapse:collapse}
-  td {         vertical-align: middle; text-align:center; }
-  </style>
-  </head>
-  <body>
-    <script language="JavaScript" type="text/JavaScript">
-      adjust_popup();
-    </script>
-    <table>
-      <tr>
-            <td>
-          <div id="content">
-              <?php     echo  '<a href="javascript: window.close()"><img src="'
-                . htmlspecialchars($imagedata['path']) . '" '
-                . $imagedata['geometry']
-                . 'alt="'
-                . htmlspecialchars($imagedata['name'])
-                . '" title="'
-                . htmlspecialchars($imagedata['name'])
-                . "\n" . $lang_fullsize_popup['click_to_close']
-                . '" /></a><br />' ."\n";
-               ?>
-          </div>
-        </td>
-      </tr>
-    </table>
-  </body>
-</html>
-<?php
-}
-}  //{THEMES}
-
-
-if (!function_exists('theme_vanity')) {  //{THEMES}
-function theme_vanity()
-{
-    global $CONFIG, $THEME_DIR, $template_vanity ;
-
-    if (defined('THEME_HAS_VANITY_GRAPHICS')) {
-            $location= $THEME_DIR;
-        } else {
-            $location= '';
-        }
-
-    $params = array('{LOCATION}' => $location);
-
-    return template_eval($template_vanity, $params);
-}
-} //{THEMES}
-
-// Function to display messages which are shown only to admin
-if (!function_exists('adminmessages')) { //{THEMES}
-function adminmessages()
-{
-    global $register_globals_flag, $lang_errors;
-    // If user is not admin (and in admin mode), then return
-    if (!GALLERY_ADMIN_MODE) {
-        return;
-    }
-    // If register_globals is On, then show the warning message.
-    if ($register_globals_flag == true) {
-        if ($lang_errors['register_globals_on'] != '') {
-            $message = $lang_errors['register_globals_on'];
-        } else {
-            $message = 'The PHP setting register_globals is enabled on your server, which is a bad idea in terms of security. It\'s strongly recommended to turn it off. [<a href="http://forum.coppermine-gallery.net/index.php/topic,59569.0.html" rel="external" class="external">more</a>]';
-        }
-        echo '<div style="padding:5px;color:#ff0000;font-weight:bold;font-size:120%;text-align:center;">' . $message . '</div>';
-    }
-}
-} //{THEMES}
+<?php
+/*************************
+  Coppermine Photo Gallery
+  ************************
+  Copyright (c) 2003-2009 Coppermine Dev Team
+  v1.1 originally written by Gregory DEMAR
+
+  This program is free software; you can redistribute it and/or modify
+  it under the terms of the GNU General Public License version 3
+  as published by the Free Software Foundation.
+  
+  ********************************************
+  Coppermine version: 1.4.25
+  $HeadURL: https://coppermine.svn.sourceforge.net/svnroot/coppermine/trunk/cpg1.4.x/include/themes.inc.php $
+  $Revision: 5997 $
+  $Author: gaugau $
+  $Date: 2009-05-26 08:43:24 +0200 (Di, 26 Mai 2009) $
+**********************************************/
+
+/////////////////////////////////////////////////////////////////
+//                                                             //
+// Do not edit this file.                                      //
+// If you need to customize your theme,                        //
+// edit themes/yourtheme/theme.php instead !!!                 //
+// Take a look at the sample theme (themes/sample/theme.php)   //
+// to get an idea what to copy into your custom theme.         //
+// Really, don't edit this file! We mean it!                   //
+//                                                             //
+/////////////////////////////////////////////////////////////////
+
+// ----------------------------------------------------------------------------- //
+// All lines that should NOT be IN themes/sample/theme.php             //{THEMES}//
+// should end in "//{THEMES}" so that they can be easily stripped      //{THEMES}//
+if (!defined('IN_COPPERMINE')) { die('Not in Coppermine...');}         //{THEMES}//
+
+// The following terms can be defined in theme.php
+// ('THEME_HAS_RATING_GRAPHICS', 1) : The location for the ratings graphics will
+//    be directed to the themes images folder.
+//    RUBBISH   : images/rating0.gif
+//    POOR      : images/rating1.gif
+//    FAIR      : images/rating2.gif
+//    GOOD      : images/rating3.gif
+//    EXCELLENT : images/rating4.gif
+//    GREAT     : images/rating5.gif
+//('THEME_HAS_NAVBAR_GRAPHICS', 1); : The location for the navbar graphics will
+//    be directed to the themes images folder.
+//    Back to thumbnails   : images/thumbnails.gif
+//    Picture Information  : images/info.gif
+//    Slideshow            : images/slideshow.gif
+//    Report to admin      : images/report.gif
+//    Ecard                : images/ecard.gif
+//    Previous             : images/prev.gif
+//    Next                 : images/next.gif
+// ('THEME_HAS_FILM_STRIP_GRAPHIC', 1) : The location for the film strip graphics will
+//    be directed to the themes images folder.
+//    tile                 : images/tile.gif
+// ('THEME_HAS_FILM_STRIP_GRAPHICS', 1) : The location for the film strip graphics will
+//    be directed to the themes images folder.
+//    tile on the top      : images/tile1.gif
+//    tile on the bottom   : images/tile2.gif
+//  ('THEME_HAS_NO_SYS_MENU_BUTTONS', 1) : When present the system won't attempt to replace {BUTTONS} in the SYS_MENU template
+//    The entire block needs to be present like in Coppermine 1.3 themes
+//  ('THEME_HAS_NO_SUB_MENU_BUTTONS', 1) When present the system won't attempt to replace {BUTTONS} in the SUB_MENU template
+//    The entire block needs to be present like in Coppermine 1.3 themes
+//  ('THEME_IS_XHTML10_TRANSITIONAL',1) : If theme is defined as XHTML10_TRANSITIONAL the VANITY footer will be enabled
+//    if the theme has a {VANITY} token in its template.html. Don't enable this if you have modified the code! See the
+//    docs/theme.html documentation for validation methodology.
+
+// Creates buttons from a template using an array of tokens
+// this function is used in this file it needs to be declared before being called.
+if (!function_exists('assemble_template_buttons')) {  //{THEMES}
+function assemble_template_buttons($template_buttons,$buttons) {
+    $counter=0;
+    $output='';
+
+    foreach ($buttons as $button)  {
+      if (isset($button[4])) {
+         $spacer=$button[4];
+      } else {
+      $spacer='';
+      }
+
+        $params = array(
+            '{SPACER}'     => $spacer,
+            '{BLOCK_ID}'   => $button[3],
+            '{HREF_TGT}'   => $button[2],
+            '{HREF_TITLE}' => $button[1],
+            '{HREF_LNK}'   => $button[0]
+            );
+        $output.=template_eval($template_buttons, $params);
+    }
+    return $output;
+}
+}  //{THEMES}
+
+
+// Creates an array of tokens to be used with function assemble_template_buttons
+// this function is used in this file it needs to be declared before being called.
+if (!function_exists('addbutton')) {  //{THEMES}
+function addbutton(&$menu,$href_lnk,$href_title,$href_tgt,$block_id,$spacer) {
+  $menu[]=array($href_lnk,$href_title,$href_tgt,$block_id,$spacer);
+}
+}  //{THEMES}
+
+
+// HTML template for sys_menu
+if (!isset($template_sys_menu)) { //{THEMES}
+$template_sys_menu = <<<EOT
+          {BUTTONS}
+EOT;
+}  //{THEMES}
+
+// HTML template for sub_menu
+if (!isset($template_sub_menu)) { //{THEMES}
+$template_sub_menu = $template_sys_menu;
+} //{THEMES}
+
+if (!defined('THEME_HAS_NO_SYS_MENU_BUTTONS')) { // theme has no sys menu buttons - start
+
+  // HTML template for template sys_menu spacer
+  if (!isset($template_sys_menu_spacer)) { //{THEMES}
+  $template_sys_menu_spacer ="::";
+  } //{THEMES}
+
+  // HTML template for template sys_menu buttons
+  if (!isset($template_sys_menu_button)) { //{THEMES}
+  $template_sys_menu_button = <<<EOT
+  <!-- BEGIN {BLOCK_ID} -->
+        <a href="{HREF_TGT}" title="{HREF_TITLE}">{HREF_LNK}</a> {SPACER}
+  <!-- END {BLOCK_ID} -->
+EOT;
+  } //{THEMES}
+
+// HTML template for template sys_menu buttons
+if (!isset($sys_menu_buttons)) { //{THEMES}
+  // {HREF_LNK}{HREF_TITLE}{HREF_TGT}{BLOCK_ID}{SPACER}
+  addbutton($sys_menu_buttons,'{HOME_LNK}', '{HOME_TITLE}', '{HOME_TGT}', 'home', $template_sys_menu_spacer);
+  addbutton($sys_menu_buttons,'{MY_GAL_LNK}', '{MY_GAL_TITLE}', '{MY_GAL_TGT}', 'my_gallery', $template_sys_menu_spacer);
+  addbutton($sys_menu_buttons,'{MEMBERLIST_LNK}', '{MEMBERLIST_TITLE}', '{MEMBERLIST_TGT}', 'allow_memberlist', $template_sys_menu_spacer);
+  addbutton($sys_menu_buttons, '{MY_PROF_LNK}', '{MY_PROF_TITLE}', '{MY_PROF_TGT}', 'my_profile', $template_sys_menu_spacer);
+  addbutton($sys_menu_buttons, '{ADM_MODE_LNK}', '{ADM_MODE_TITLE}', '{ADM_MODE_TGT}', 'enter_admin_mode', $template_sys_menu_spacer);
+  addbutton($sys_menu_buttons, '{USR_MODE_LNK}', '{USR_MODE_TITLE}', '{USR_MODE_TGT}', 'leave_admin_mode' ,$template_sys_menu_spacer);
+  addbutton($sys_menu_buttons, '{UPL_PIC_LNK}', '{UPL_PIC_TITLE}', '{UPL_PIC_TGT}', 'upload_pic', $template_sys_menu_spacer);
+  addbutton($sys_menu_buttons, '{REGISTER_LNK}', '{REGISTER_TITLE}', '{REGISTER_TGT}', 'register', $template_sys_menu_spacer);
+  addbutton($sys_menu_buttons, '{FAQ_LNK}', '{FAQ_TITLE}', '{FAQ_TGT}', 'faq', $template_sys_menu_spacer);
+  addbutton($sys_menu_buttons, '{LOGIN_LNK}', '{LOGIN_TITLE}', '{LOGIN_TGT}', 'login','');
+  addbutton($sys_menu_buttons, '{LOGOUT_LNK}', '{LOGOUT_TITLE}', '{LOGOUT_TGT}', 'logout', '');
+  // Login and Logout don't have a spacer as only one is shown, and either would be the last option.
+} //{THEMES}
+
+  $params = array('{BUTTONS}' => assemble_template_buttons($template_sys_menu_button,$sys_menu_buttons));
+  $template_sys_menu = template_eval($template_sys_menu,$params);
+} // theme has no sys menu buttons - end
+
+if (!defined('THEME_HAS_NO_SUB_MENU_BUTTONS')) { // theme has no sub menu buttons - start
+
+  // HTML template for template sub_menu spacer
+  if (!isset($template_sub_menu_spacer)) { //{THEMES}
+  $template_sub_menu_spacer = $template_sys_menu_spacer;
+  } //{THEMES}
+
+  // HTML template for template sub_menu buttons
+  if (!isset($template_sub_menu_button)) { //{THEMES}
+  $template_sub_menu_button= $template_sys_menu_button;
+  } //{THEMES}
+
+  // HTML template for template sub_menu buttons
+  if (!isset($sub_menu_buttons)) { //{THEMES}
+    // {HREF_LNK}{HREF_TITLE}{HREF_TGT}{BLOCK_ID}{SPACER}
+    addbutton($sub_menu_buttons, '{CUSTOM_LNK_LNK}', '{CUSTOM_LNK_TITLE}', '{CUSTOM_LNK_TGT}', 'custom_link', $template_sub_menu_spacer);
+    addbutton($sub_menu_buttons, '{ALB_LIST_LNK}', '{ALB_LIST_TITLE}', '{ALB_LIST_TGT}', 'album_list', $template_sub_menu_spacer);
+    addbutton($sub_menu_buttons, '{LASTUP_LNK}', '{LASTUP_TITLE}', '{LASTUP_TGT}', 'lastup', $template_sub_menu_spacer);
+    addbutton($sub_menu_buttons, '{LASTCOM_LNK}', '{LASTCOM_TITLE}', '{LASTCOM_TGT}', 'lastcom', $template_sub_menu_spacer);
+    addbutton($sub_menu_buttons, '{TOPN_LNK}', '{TOPN_TITLE}', '{TOPN_TGT}', 'topn', $template_sub_menu_spacer);
+    addbutton($sub_menu_buttons, '{TOPRATED_LNK}', '{TOPRATED_TITLE}', '{TOPRATED_TGT}', 'toprated', $template_sub_menu_spacer);
+    addbutton($sub_menu_buttons, '{FAV_LNK}', '{FAV_TITLE}', '{FAV_TGT}', 'favpics', $template_sub_menu_spacer);
+    addbutton($sub_menu_buttons, '{SEARCH_LNK}', '{SEARCH_TITLE}', '{SEARCH_TGT}', 'search','');
+    } //{THEMES}
+
+  $params = array('{BUTTONS}' => assemble_template_buttons($template_sub_menu_button,$sub_menu_buttons));
+  $template_sub_menu = template_eval($template_sub_menu,$params);
+} // theme has no sub menu buttons - end
+
+// HTML template for gallery admin menu
+if (!isset($template_gallery_admin_menu)) { //{THEMES}
+$template_gallery_admin_menu = <<<EOT
+
+                <div align="center">
+                <table cellpadding="0" cellspacing="1">
+                        <tr>
+<!-- BEGIN admin_approval -->
+                                <td class="admin_menu" id="admin_menu_anim"><a href="editpics.php?mode=upload_approval" title="{UPL_APP_TITLE}">{UPL_APP_LNK}</a></td>
+<!-- END admin_approval -->
+                                <td class="admin_menu"><a href="admin.php" title="{ADMIN_TITLE}">{ADMIN_LNK}</a></td>
+                                <td class="admin_menu"><a href="catmgr.php" title="{CATEGORIES_TITLE}">{CATEGORIES_LNK}</a></td>
+                                <td class="admin_menu"><a href="albmgr.php{CATL}" title="{ALBUMS_TITLE}">{ALBUMS_LNK}</a></td>
+                                <td class="admin_menu"><a href="groupmgr.php" title="{GROUPS_TITLE}">{GROUPS_LNK}</a></td>
+                                <td class="admin_menu"><a href="usermgr.php" title="{USERS_TITLE}">{USERS_LNK}</a></td>
+                                <td class="admin_menu"><a href="banning.php" title="{BAN_TITLE}">{BAN_LNK}</a></td>
+                                <td class="admin_menu"><a href="reviewcom.php" title="{COMMENTS_TITLE}">{COMMENTS_LNK}</a></td>
+<!-- BEGIN log_ecards -->
+                                <td class="admin_menu"><a href="db_ecard.php" title="{DB_ECARD_TITLE}">{DB_ECARD_LNK}</a></td>
+<!-- END log_ecards -->
+                                <td class="admin_menu"><a href="picmgr.php" title="{PICTURES_TITLE}">{PICTURES_LNK}</a></td>
+                                <td class="admin_menu"><a href="searchnew.php" title="{SEARCHNEW_TITLE}">{SEARCHNEW_LNK}</a></td>
+                                <td class="admin_menu"><a href="util.php" title="{UTIL_TITLE}">{UTIL_LNK}</a></td>
+                                <td class="admin_menu"><a href="profile.php?op=edit_profile" title="{MY_PROF_TITLE}">{MY_PROF_LNK}</a></td>
+<!-- BEGIN documentation -->
+                                <td class="admin_menu"><a href="{DOCUMENTATION_HREF}" title="{DOCUMENTATION_TITLE}">{DOCUMENTATION_LNK}</a></td>
+<!-- END documentation -->
+                        </tr>
+                </table>
+                </div>
+
+EOT;
+}  //{THEMES}
+
+// HTML template for user admin menu
+if (!isset($template_user_admin_menu)) {  //{THEMES}
+$template_user_admin_menu = <<<EOT
+
+                <div align="center">
+                <table cellpadding="0" cellspacing="1">
+                        <tr>
+                                <td class="admin_menu"><a href="albmgr.php" title="{ALBMGR_TITLE}">{ALBMGR_LNK}</a></td>
+                                <td class="admin_menu"><a href="modifyalb.php" title="{MODIFYALB_TITLE}">{MODIFYALB_LNK}</a></td>
+                                <td class="admin_menu"><a href="profile.php?op=edit_profile" title="{MY_PROF_TITLE}">{MY_PROF_LNK}</a></td>
+                                <td class="admin_menu"><a href="picmgr.php" title="{PICTURES_TITLE}">{PICTURES_LNK}</a></td>
+                        </tr>
+                </table>
+                </div>
+
+EOT;
+}  //{THEMES}
+
+// HTML template for the category list
+if (!isset($template_cat_list)) { //{THEMES}
+$template_cat_list = <<<EOT
+<!-- BEGIN header -->
+        <tr>
+                <td class="tableh1" width="80%" align="left"><b>{CATEGORY}</b></td>
+                <td class="tableh1" width="10%" align="center"><b>{ALBUMS}</b></td>
+                <td class="tableh1" width="10%" align="center"><b>{PICTURES}</b></td>
+        </tr>
+<!-- END header -->
+<!-- BEGIN catrow_noalb -->
+        <tr>
+                <td class="catrow_noalb" colspan="3"><table border="0"><tr><td align="left">{CAT_THUMB}</td><td align="left"><span class="catlink"><b>{CAT_TITLE}</b></span>{CAT_DESC}</td></tr></table></td>
+        </tr>
+<!-- END catrow_noalb -->
+<!-- BEGIN catrow -->
+        <tr>
+                <td class="catrow" align="left"><table border="0"><tr><td>{CAT_THUMB}</td><td><span class="catlink"><b>{CAT_TITLE}</b></span>{CAT_DESC}</td></tr></table></td>
+                <td class="catrow" align="center">{ALB_COUNT}</td>
+                <td class="catrow" align="center">{PIC_COUNT}</td>
+        </tr>
+        <tr>
+            <td class="tableb" colspan="3">{CAT_ALBUMS}</td>
+        </tr>
+<!-- END catrow -->
+<!-- BEGIN footer -->
+        <tr>
+                <td colspan="3" class="tableh1" align="center"><span class="statlink">{STATISTICS}</span></td>
+        </tr>
+<!-- END footer -->
+<!-- BEGIN spacer -->
+        <img src="images/spacer.gif" width="1" height="7" border="" alt="" /><br />
+<!-- END spacer -->
+
+EOT;
+}  //{THEMES}
+
+// HTML template for the breadcrumb
+if (!isset($template_breadcrumb)) { //{THEMES}
+$template_breadcrumb = <<<EOT
+<!-- BEGIN breadcrumb -->
+        <tr>
+                <td colspan="3" align="left" class="tableh1"><span class="statlink"><b>{BREADCRUMB}</b></span></td>
+        </tr>
+<!-- END breadcrumb -->
+<!-- BEGIN breadcrumb_user_gal -->
+        <tr>
+                <td colspan="3" class="tableh1">
+                <table width="100%" cellpadding="0" cellspacing="0" border="0">
+                <tr>
+                        <td align="left"><span class="statlink"><b>{BREADCRUMB}</b></span></td>
+                        <td align="right"><span class="statlink">{STATISTICS}</span></td>
+                </tr>
+                </table>
+                </td>
+        </tr>
+<!-- END breadcrumb_user_gal -->
+
+EOT;
+}  //{THEMES}
+
+// HTML template for the album list
+if (!isset($template_album_list)) { //{THEMES}
+$template_album_list = <<<EOT
+
+<!-- BEGIN stat_row -->
+        <tr>
+                <td colspan="{COLUMNS}" class="tableh1" align="center"><span class="statlink">{STATISTICS}</span></td>
+        </tr>
+<!-- END stat_row -->
+<!-- BEGIN header -->
+        <tr class="tableb_compact">
+<!-- END header -->
+<!-- BEGIN album_cell -->
+        <td width="{COL_WIDTH}%" valign="top">
+        <table width="100%" cellspacing="0" cellpadding="0">
+        <tr>
+                <td colspan="3" height="1" align="left" valign="top" class="tableh2">
+                        <span class="alblink"><a href="{ALB_LINK_TGT}"><b>{ALBUM_TITLE}</b></a></span>
+                </td>
+        </tr>
+        <tr>
+                <td colspan="3">
+                        <img src="images/spacer.gif" width="1" height="1" border="0" alt="" /><br />
+                </td>
+        </tr>
+        <tr>
+                <td align="center" valign="middle" class="thumbnails">
+                        <img src="images/spacer.gif" width="{THUMB_CELL_WIDTH}" height="1" class="image" style="margin-top: 0px; margin-bottom: 0px; border: none;" alt="" /><br />
+                        <a href="{ALB_LINK_TGT}" class="albums">{ALB_LINK_PIC}<br /></a>
+                </td>
+                <td>
+                        <img src="images/spacer.gif" width="1" height="1" border="0" alt="" />
+                </td>
+                <td width="100%" valign="top" align="left" class="tableb_compact">
+                        {ADMIN_MENU}
+                        <p>{ALB_DESC}</p>
+                        <p class="album_stat">{ALB_INFOS}</p>
+                </td>
+        </tr>
+        </table>
+        </td>
+<!-- END album_cell -->
+<!-- BEGIN empty_cell -->
+        <td width="{COL_WIDTH}%" valign="top">
+        <table width="100%" cellspacing="0" cellpadding="0">
+        <tr>
+                <td height="1" valign="top" class="tableh2">
+                        <b>&nbsp;</b>
+                </td>
+        </tr>
+        <tr>
+                <td>
+                        <img src="images/spacer.gif" width="1" height="1" border="0" alt="" /><br />
+                </td>
+        </tr>
+        <tr>
+                <td width="100%" valign="top" class="tableb_compact">
+                    <div class="thumbnails" style="background-color:transparent"><img src="images/spacer.gif" width="1" height="1" border="0" class="image" style="border:0;margin-top:1px;margin-bottom:0" alt="" /></div>
+                </td>
+        </tr>
+        </table>
+        </td>
+<!-- END empty_cell -->
+<!-- BEGIN row_separator -->
+        </tr>
+        <tr class="tableb_compact">
+<!-- END row_separator -->
+<!-- BEGIN footer -->
+        </tr>
+<!-- END footer -->
+<!-- BEGIN tabs -->
+        <tr>
+                <td colspan="{COLUMNS}" style="padding: 0px;">
+                        <table width="100%" cellspacing="0" cellpadding="0">
+                                <tr>
+                                       {TABS}
+                                </tr>
+                        </table>
+                </td>
+        </tr>
+<!-- END tabs -->
+<!-- BEGIN spacer -->
+        <img src="images/spacer.gif" width="1" height="7" border="" alt="" /><br />
+<!-- END spacer -->
+
+EOT;
+}  //{THEMES}
+
+// HTML template for filmstrip display
+if (!isset($template_film_strip)) { //{THEMES}
+$template_film_strip = <<<EOT
+
+        <tr>
+         <td valign="top" style="background-image: url({TILE1});"><img src="{TILE1}" alt="" border="0" /></td>
+        </tr>
+        <tr>
+        <td valign="bottom" class="thumbnails" align="center">
+          <table width="100%" cellspacing="0" cellpadding="3" border="0">
+              <tr>
+                 <td width="50%"></td>
+                 {THUMB_STRIP}
+                 <td width="50%"></td>
+              </tr>
+          </table>
+        </td>
+        </tr>
+        <tr>
+         <td valign="top" style="background-image: url({TILE2});"><img src="{TILE2}" alt="" border="0" /></td>
+        </tr>
+<!-- BEGIN thumb_cell -->
+                <td valign="top" align="center">
+                                        <a href="{LINK_TGT}">{THUMB}</a>
+                                        {CAPTION}
+                                        {ADMIN_MENU}
+                </td>
+<!-- END thumb_cell -->
+<!-- BEGIN empty_cell -->
+                <td valign="top" align="center" >&nbsp;</td>
+<!-- END empty_cell -->
+
+EOT;
+}  //{THEMES}
+
+// HTML template for the album list
+if (!isset($template_album_list_cat)) { //{THEMES}
+$template_album_list_cat = <<<EOT
+
+<!-- BEGIN c_stat_row -->
+        <tr>
+                <td colspan="{COLUMNS}" class="tableh1" align="center"><span class="statlink">{STATISTICS}</span></td>
+        </tr>
+<!-- END c_stat_row -->
+<!-- BEGIN c_header -->
+        <tr class="tableb_compact">
+<!-- END c_header -->
+<!-- BEGIN c_album_cell -->
+        <td width="{COL_WIDTH}%" valign="top">
+        <table width="100%" cellspacing="0" cellpadding="0">
+        <tr>
+                <td colspan="3" height="1" valign="top" class="tableh2">
+                        <span class="alblink"><a href="{ALB_LINK_TGT}"><b>{ALBUM_TITLE}</b></a></span>
+                </td>
+        </tr>
+        <tr>
+                <td colspan="3">
+                        <img src="images/spacer.gif" width="1" height="1" border="0" alt="" /><br />
+                </td>
+        </tr>
+        <tr>
+                <td align="center" valign="middle" class="thumbnails">
+                        <img src="images/spacer.gif" width="{THUMB_CELL_WIDTH}" height="1" class="image" style="margin-top: 0px; margin-bottom: 0px; border: none;" alt="" /><br />
+                        <a href="{ALB_LINK_TGT}" class="albums">{ALB_LINK_PIC}<br /></a>
+                </td>
+                <td>
+                        <img src="images/spacer.gif" width="1" height="1" border="0" alt="" />
+                </td>
+                <td width="100%" valign="top" class="tableb_compact">
+                        {ADMIN_MENU}
+                        <p>{ALB_DESC}</p>
+                        <p class="album_stat">{ALB_INFOS}</p>
+                </td>
+        </tr>
+        </table>
+        </td>
+<!-- END c_album_cell -->
+<!-- BEGIN c_empty_cell -->
+        <td width="{COL_WIDTH}%" valign="top">
+        <table width="100%" cellspacing="0" cellpadding="0" >
+        <tr>
+                <td height="1" valign="top" class="tableh2">
+                        <b>&nbsp;</b>
+                </td>
+        </tr>
+        <tr>
+                <td>
+                        <img src="images/spacer.gif" width="1" height="1" border="0" alt="" /><br />
+                </td>
+        </tr>
+        <tr>
+                <td width="100%" valign="top" class="tableb_compact" >
+                      <div class="thumbnails" style="background-color:transparent"><img src="images/spacer.gif" width="1" height="1" border="0" class="image" style="border:0;margin-top:1px;margin-bottom:0" alt="" /></div>
+                </td>
+        </tr>
+        </table>
+        </td>
+<!-- END c_empty_cell -->
+<!-- BEGIN c_row_separator -->
+        </tr>
+        <tr class="tableb_compact">
+<!-- END c_row_separator -->
+<!-- BEGIN c_footer -->
+        </tr>
+<!-- END c_footer -->
+<!-- BEGIN c_tabs -->
+        <tr>
+                <td colspan="{COLUMNS}" style="padding: 0px;">
+                        <table width="100%" cellspacing="0" cellpadding="0">
+                                <tr>
+                                       {TABS}
+                                </tr>
+                        </table>
+                </td>
+        </tr>
+<!-- END c_tabs -->
+<!-- BEGIN c_spacer -->
+        <img src="images/spacer.gif" width="1" height="7" border="" alt="" /><br />
+<!-- END c_spacer -->
+
+EOT;
+}  //{THEMES}
+
+// HTML template for the ALBUM admin menu displayed in the album list
+if (!isset($template_album_admin_menu)) { //{THEMES}
+$template_album_admin_menu = <<<EOT
+        <table border="0" cellpadding="0" cellspacing="1">
+                <tr>
+                        <td align="center" valign="middle" class="admin_menu">
+                                <a href="delete.php?id={ALBUM_ID}&amp;what=album"  class="adm_menu" onclick="return confirm('{CONFIRM_DELETE}');">{DELETE}</a>
+                        </td>
+                        <td align="center" valign="middle" class="admin_menu">
+                                <a href="modifyalb.php?album={ALBUM_ID}"  class="adm_menu">{MODIFY}</a>
+                        </td>
+                        <td align="center" valign="middle" class="admin_menu">
+                                <a href="editpics.php?album={ALBUM_ID}"  class="adm_menu">{EDIT_PICS}</a>
+                        </td>
+                </tr>
+        </table>
+
+EOT;
+}  //{THEMES}
+
+// HTML template for title row of the thumbnail view (album title + sort options)
+if (!isset($template_thumb_view_title_row)) { //{THEMES}
+$template_thumb_view_title_row = <<<EOT
+
+                        <table width="100%" cellpadding="0" cellspacing="0">
+                        <tr>
+                                <td width="100%" class="statlink"><h2>{ALBUM_NAME}</h2></td>
+                                <td><img src="images/spacer.gif" width="1" alt="" /></td>
+                                <td class="sortorder_cell">
+                                        <table cellpadding="0" cellspacing="0">
+                                        <tr>
+                                                <td class="sortorder_options">{TITLE}</td>
+                                                <td class="sortorder_options"><span class="statlink"><a href="thumbnails.php?album={AID}&amp;page={PAGE}&amp;sort=ta" title="{SORT_TA}">&nbsp;+&nbsp;</a></span></td>
+                                                <td class="sortorder_options"><span class="statlink"><a href="thumbnails.php?album={AID}&amp;page={PAGE}&amp;sort=td" title="{SORT_TD}">&nbsp;-&nbsp;</a></span></td>
+                                        </tr>
+                                        <tr>
+                                                <td class="sortorder_options">{NAME}</td>
+                                                <td class="sortorder_options"><span class="statlink"><a href="thumbnails.php?album={AID}&amp;page={PAGE}&amp;sort=na" title="{SORT_NA}">&nbsp;+&nbsp;</a></span></td>
+                                                <td class="sortorder_options"><span class="statlink"><a href="thumbnails.php?album={AID}&amp;page={PAGE}&amp;sort=nd" title="{SORT_ND}">&nbsp;-&nbsp;</a></span></td>
+                                        </tr>
+                                        <tr>
+                                                <td class="sortorder_options">{DATE}</td>
+                                                <td class="sortorder_options"><span class="statlink"><a href="thumbnails.php?album={AID}&amp;page={PAGE}&amp;sort=da" title="{SORT_DA}">&nbsp;+&nbsp;</a></span></td>
+                                                <td class="sortorder_options"><span class="statlink"><a href="thumbnails.php?album={AID}&amp;page={PAGE}&amp;sort=dd" title="{SORT_DD}">&nbsp;-&nbsp;</a></span></td>
+                                        </tr>
+                                        <tr>
+                                                <td class="sortorder_options">{POSITION}</td>
+                                                <td class="sortorder_options"><span class="statlink"><a href="thumbnails.php?album={AID}&amp;page={PAGE}&amp;sort=pa" title="{SORT_PA}">&nbsp;+&nbsp;</a></span></td>
+                                                <td class="sortorder_options"><span class="statlink"><a href="thumbnails.php?album={AID}&amp;page={PAGE}&amp;sort=pd" title="{SORT_PD}">&nbsp;-&nbsp;</a></span></td>
+                                        </tr>
+                                        </table>
+                                </td>
+                        </tr>
+                        </table>
+
+EOT;
+}  //{THEMES}
+
+// HTML template for title row of the fav thumbnail view (album title + download)
+if (!isset($template_fav_thumb_view_title_row)) { //{THEMES}
+$template_fav_thumb_view_title_row = <<<EOT
+
+                        <table width="100%" cellpadding="0" cellspacing="0">
+                        <tr>
+                                <td width="100%" class="statlink"><h2>{ALBUM_NAME}</h2></td>
+                                <td><img src="images/spacer.gif" width="1" alt=""></td>
+                                <td class="sortorder_cell">
+                                        <table cellpadding="0" cellspacing="0">
+                                                <tr>
+                                                        <td class="sortorder_options"><span class="statlink"><a href="zipdownload.php">{DOWNLOAD_ZIP}</a></span></td>
+                                                </tr>
+                                                </table>
+                                </td>
+                        </tr>
+                        </table>
+
+EOT;
+}  //{THEMES}
+
+// HTML template for thumbnails display
+if (!isset($template_thumbnail_view)) { //{THEMES}
+$template_thumbnail_view = <<<EOT
+
+<!-- BEGIN header -->
+        <tr>
+<!-- END header -->
+<!-- BEGIN thumb_cell -->
+        <td valign="top" class="thumbnails" width ="{CELL_WIDTH}" align="center">
+                <table width="100%" cellpadding="0" cellspacing="0">
+                        <tr>
+                                <td align="center">
+                                        <a href="{LINK_TGT}">{THUMB}<br /></a>
+                                        {CAPTION}
+                                        {ADMIN_MENU}
+                                </td>
+                        </tr>
+                </table>
+        </td>
+<!-- END thumb_cell -->
+<!-- BEGIN empty_cell -->
+                <td valign="top" class="thumbnails" align="center">&nbsp;</td>
+<!-- END empty_cell -->
+<!-- BEGIN row_separator -->
+        </tr>
+        <tr>
+<!-- END row_separator -->
+<!-- BEGIN footer -->
+        </tr>
+<!-- END footer -->
+<!-- BEGIN tabs -->
+        <tr>
+                <td colspan="{THUMB_COLS}" style="padding: 0px;">
+                        <table width="100%" cellspacing="0" cellpadding="0">
+                                <tr>
+                                       {TABS}
+                                </tr>
+                        </table>
+                </td>
+        </tr>
+<!-- END tabs -->
+<!-- BEGIN spacer -->
+        <img src="images/spacer.gif" width="1" height="7" border="" alt="" /><br />
+<!-- END spacer -->
+
+EOT;
+}  //{THEMES}
+
+// HTML template for the thumbnail view when there is no picture to show
+if (!isset($template_no_img_to_display)) { //{THEMES}
+$template_no_img_to_display = <<<EOT
+        <tr>
+                <td class="tableb" height="200" align="center">
+                        <font size="3"><b>{TEXT}</b></font>
+                </td>
+        </tr>
+<!-- BEGIN spacer -->
+        <img src="images/spacer.gif" width="1" height="7" border="" alt="" /><br />
+<!-- END spacer -->
+
+EOT;
+}  //{THEMES}
+
+// HTML template for the USER info box in the user list view
+if (!isset($template_user_list_info_box)) { //{THEMES}
+$template_user_list_info_box = <<<EOT
+
+        <table cellspacing="1" cellpadding="0" border="0" width="100%" class="user_thumb_infobox">
+                <tr>
+                        <th><a href="profile.php?uid={USER_ID}">{USER_NAME}</a></th>
+                </tr>
+                <tr>
+                        <td>{ALBUMS}</td>
+                </tr>
+                <tr>
+                        <td>{PICTURES}</td>
+                </tr>
+        </table>
+
+EOT;
+}  //{THEMES}
+
+// HTML template for the image navigation bar
+if (!isset($template_img_navbar)) { //{THEMES}
+$template_img_navbar = <<<EOT
+
+        <tr>
+                <td align="center" valign="middle" class="navmenu" width="48">
+                        <a href="{THUMB_TGT}" class="navmenu_pic" title="{THUMB_TITLE}"><img src="{LOCATION}images/thumbnails.gif" align="middle" border="0" alt="{THUMB_TITLE}" /></a>
+                </td>
+                <td align="center" valign="middle" class="navmenu" width="48">
+                        <a href="javascript:;" class="navmenu_pic" onclick="blocking('picinfo','yes', 'block'); return false;" title="{PIC_INFO_TITLE}"><img src="{LOCATION}images/info.gif" border="0" align="middle" alt="{PIC_INFO_TITLE}" /></a>
+                </td>
+                <td align="center" valign="middle" class="navmenu" width="48">
+                        <a href="{SLIDESHOW_TGT}" class="navmenu_pic" title="{SLIDESHOW_TITLE}"><img src="{LOCATION}images/slideshow.gif" border="0" align="middle" alt="{SLIDESHOW_TITLE}" /></a>
+                </td>
+                <td align="center" valign="middle" class="navmenu" width="100%">
+                        {PIC_POS}
+                </td>
+<!-- BEGIN report_file_button -->
+                <td align="center" valign="middle" class="navmenu" width="48">
+                        <a href="{REPORT_TGT}" class="navmenu_pic" title="{REPORT_TITLE}"><img src="{LOCATION}images/report.gif" border="0" align="middle" alt="{REPORT_TITLE}" /></a>
+                </td>
+<!-- END report_file_button -->
+<!-- BEGIN ecard_button -->
+                <td align="center" valign="middle" class="navmenu" width="48">
+                        <a href="{ECARD_TGT}" class="navmenu_pic" title="{ECARD_TITLE}"><img src="{LOCATION}images/ecard.gif"  border="0" align="middle" alt="{ECARD_TITLE}" /></a>
+                </td>
+<!-- END ecard_button -->
+                <td align="center" valign="middle" class="navmenu" width="48">
+                        <a href="{PREV_TGT}" class="navmenu_pic" title="{PREV_TITLE}"><img src="{LOCATION}images/prev.gif"  border="0" align="middle" alt="{PREV_TITLE}" /></a>
+                </td>
+                <td align="center" valign="middle" class="navmenu" width="48">
+                        <a href="{NEXT_TGT}" class="navmenu_pic" title="{NEXT_TITLE}"><img src="{LOCATION}images/next.gif"  border="0" align="middle" alt="{NEXT_TITLE}" /></a>
+                </td>
+        </tr>
+
+EOT;
+}  //{THEMES}
+
+// HTML template for intermediate image display
+if (!isset($template_display_media)) { //{THEMES}
+$template_display_media = <<<EOT
+        <tr>
+                <td align="center" class="display_media" nowrap="nowrap">
+                        <table cellspacing="2" cellpadding="0" class="imageborder">
+                                <tr>
+                                        <td align="center">
+                                                {IMAGE}
+
+                                        </td>
+                                </tr>
+                        </table>
+                </td></tr>
+                <tr><td>
+                                                <table width="100%" cellspacing="2" cellpadding="0" class="tableb">
+                                <tr>
+                                        <td align="center">
+
+                                                {ADMIN_MENU}
+                                        </td>
+                                </tr>
+                        </table>
+
+
+
+
+
+<!-- BEGIN img_desc -->
+                        <table cellpadding="0" cellspacing="0" class="tableb" width="100%">
+<!-- BEGIN title -->
+                                <tr>
+                                        <td class="tableb"><center><b>
+                                                {TITLE}
+                                        </b></center></td>
+                                </tr>
+<!-- END title -->
+<!-- BEGIN caption -->
+                                <tr>
+                                        <td class="tableb"><center>
+                                                {CAPTION}
+                                        </center></td>
+                                </tr>
+<!-- END caption -->
+                        </table>
+<!-- END img_desc -->
+                </td>
+        </tr>
+
+EOT;
+}  //{THEMES}
+
+// HTML template for the image rating box
+if (!isset($template_image_rating)) { //{THEMES}
+$template_image_rating = <<<EOT
+<table align="center" width="{WIDTH}" cellspacing="1" cellpadding="0" class="maintable">
+        <tr>
+                <td colspan="6" class="tableh2_compact"><b>{TITLE}</b> {VOTES}</td>
+        </tr>
+        <tr>
+                <td class="tableb_compact" width="17%" align="center"><a href="{RATE0}" title="{RUBBISH}" rel="nofollow"><img src="{LOCATION}images/rating0.gif" border="0" alt="{RUBBISH}" /><br /></a></td>
+                <td class="tableb_compact" width="17%" align="center"><a href="{RATE1}" title="{POOR}" rel="nofollow"><img src="{LOCATION}images/rating1.gif" border="0" alt="{POOR}" /><br /></a></td>
+                <td class="tableb_compact" width="17%" align="center"><a href="{RATE2}" title="{FAIR}" rel="nofollow"><img src="{LOCATION}images/rating2.gif" border="0" alt="{FAIR}" /><br /></a></td>
+                <td class="tableb_compact" width="17%" align="center"><a href="{RATE3}" title="{GOOD}" rel="nofollow"><img src="{LOCATION}images/rating3.gif" border="0" alt="{GOOD}" /><br /></a></td>
+                <td class="tableb_compact" width="17%" align="center"><a href="{RATE4}" title="{EXCELLENT}" rel="nofollow"><img src="{LOCATION}images/rating4.gif" border="0" alt="{EXCELLENT}" /><br /></a></td>
+                <td class="tableb_compact" width="17%" align="center"><a href="{RATE5}" title="{GREAT}" rel="nofollow"><img src="{LOCATION}images/rating5.gif" border="0" alt="{GREAT}" /><br /></a></td>
+        </tr>
+</table>
+EOT;
+}  //{THEMES}
+
+// HTML template for the display of comments
+if (!isset($template_image_comments)) { //{THEMES}
+$template_image_comments = <<<EOT
+<table align="center" width="{WIDTH}" cellspacing="1" cellpadding="0" class="maintable">
+
+        <tr>
+                <td>
+                        <table width="100%" cellpadding="0" cellspacing="0">
+                           <tr>
+                                <td class="tableh2_compact" nowrap="nowrap">
+                                        <b>{MSG_AUTHOR}</b><a name="comment{MSG_ID}"></a>&nbsp;
+<!-- BEGIN ipinfo -->
+                                                                                 ({IP})
+<!-- END ipinfo -->
+</td>
+
+
+                                <td class="tableh2_compact" align="right" width="100%">
+<!-- BEGIN report_comment_button -->
+     <a href="report_file.php?pid={PID}&amp;msg_id={MSG_ID}&amp;what=comment" title="{REPORT_COMMENT_TITLE}"><img src="images/report.gif" width="16" height="16" border="0" align="middle" alt="{REPORT_COMMENT_TITLE}" /></a>
+<!-- END report_comment_button -->
+
+
+<!-- BEGIN buttons -->
+                                        <a href="javascript:;" onclick="blocking('cbody{MSG_ID}','', 'block'); blocking('cedit{MSG_ID}','', 'block'); return false;" title="{EDIT_TITLE}"><img src="images/edit.gif" border="0" align="middle" /></a>
+                                        <a href="delete.php?msg_id={MSG_ID}&what=comment"  onclick="return confirm('{CONFIRM_DELETE}');"><img src="images/delete.gif" border="0" align="middle" /></a>
+<!-- END buttons -->
+                                </td>
+                                <td class="tableh2_compact" align="right" nowrap="nowrap">
+                                        <span class="comment_date">[{MSG_DATE}]</span>
+                                </td></tr>
+                        </table>
+                </td>
+        </tr>
+        <tr>
+                <td class="tableb_compact">
+                        <div id="cbody{MSG_ID}" style="display:block">
+                                {MSG_BODY}
+                        </div>
+                        <div id="cedit{MSG_ID}" style="display:none">
+<!-- BEGIN edit_box_smilies -->
+                                <table width="100%" cellpadding="0" cellspacing="0">
+
+                                                <form name="f{MSG_ID}" method="POST" action="db_input.php">
+                                                <input type="hidden" name="event" value="comment_update" />
+                                                <input type="hidden" name="msg_id" value="{MSG_ID}" />
+                                                <tr>
+                                                <td>
+                                                   <input type="text" name="msg_author" value="{MSG_AUTHOR}" class="textinput" size="25" />
+                                                </td><td>
+                                                </tr>
+                                                <tr>
+                                                <td width="80%">
+                                                        <textarea cols="40" rows="2" class="textinput" name="msg_body" onselect="storeCaret_f{MSG_ID}(this);" onclick="storeCaret_f{MSG_ID}(this);" onkeyup="storeCaret_f{MSG_ID}(this);" style="width: 100%;">{MSG_BODY_RAW}</textarea>
+                                                </td>
+                                                <td class="tableb_compact">
+                                                </td>
+                                                <td>
+                                                        <input type="submit" class="comment_button" name="submit" value="{OK}" />
+                                                </td>
+                                                </form>
+                                        </tr>
+                                        <tr>
+                                                <td colspan="3"><img src="images/spacer.gif" width="1" height="2" /><br /></td>
+                                        </tr>
+                                </table>
+                                {SMILIES}
+<!-- END edit_box_smilies -->
+<!-- BEGIN edit_box_no_smilies -->
+                                <table width="100%" cellpadding="0" cellspacing="0">
+                                        <tr>
+                                                <form name="f{MSG_ID}" method="POST" action="db_input.php">
+                                                <input type="hidden" name="event" value="comment_update" />
+                                                <input type="hidden" name="msg_id" value="{MSG_ID}" />
+                                                <td>
+                                                <input type="text" name="msg_author" value="{MSG_AUTHOR}" class="textinput" size="25" />
+                                                </td>
+                                        </tr>
+                                        <tr>
+                                                <td width="100%">
+                                                        <textarea cols="40" rows="2" class="textinput" name="msg_body" style="width: 100%;">{MSG_BODY_RAW}</textarea>
+                                                </td>
+                                                <td class="tableb_compact">
+                                                </td>
+                                                <td>
+                                                        <input type="submit" class="comment_button" name="submit" value="{OK}" />
+                                                </td>
+                                                </form>
+                                        </tr>
+                                        <tr>
+                                                <td colspan="3"><img src="images/spacer.gif" width="1" height="2" /><br /></td>
+                                        </tr>
+                                </table>
+<!-- END edit_box_no_smilies -->
+                        </div>
+                </td>
+        </tr>
+</table>
+EOT;
+}  //{THEMES}
+
+// HTML template for the form to add comments
+if (!isset($template_add_your_comment)) { //{THEMES}
+$template_add_your_comment = <<<EOT
+        <form method="post" name="post" action="db_input.php">
+                <table align="center" width="{WIDTH}" cellspacing="1" cellpadding="0" class="maintable">
+                        <tr>
+                                        <td width="100%" class="tableh2_compact"><b>{ADD_YOUR_COMMENT}</b></td>
+                        </tr>
+                        <tr>
+                <td colspan="1">
+                        <table width="100%" cellpadding="0" cellspacing="0">
+
+<!-- BEGIN user_name_input -->
+                                                        <tr>
+                                                                <td class="tableb_compact">
+                                        {NAME}
+                                </td>
+                                <td class="tableb_compact">
+                                        <input type="text" class="textinput" name="msg_author" size="10" maxlength="20" value="{USER_NAME}" />
+                                </td>
+<!-- END user_name_input -->
+<!-- BEGIN input_box_smilies -->
+                                <td class="tableb_compact">
+                                {COMMENT}
+                                                                </td>
+                                <td width="100%" class="tableb_compact">
+                                <input type="text" class="textinput" id="message" name="msg_body" onselect="storeCaret_post(this);" onclick="storeCaret_post(this);" onkeyup="storeCaret_post(this);" maxlength="{MAX_COM_LENGTH}" style="width: 100%;" />
+                                                                </td>
+<!-- END input_box_smilies -->
+<!-- BEGIN input_box_no_smilies -->
+                                <td class="tableb_compact">
+                                {COMMENT}
+                                                                </td>
+                                <td width="100%" class="tableb_compact">
+                                <input type="text" class="textinput" id="message" name="msg_body"  maxlength="{MAX_COM_LENGTH}" style="width: 100%;" />
+                                </td>
+<!-- END input_box_no_smilies -->
+                                <td class="tableb_compact">
+                                <input type="hidden" name="event" value="comment" />
+                                <input type="hidden" name="pid" value="{PIC_ID}" />
+                                <input type="submit" class="comment_button" name="submit" value="{OK}" />
+                                </td>
+                                                        </tr>
+                        </table>
+                </td>
+        </tr>
+<!-- BEGIN smilies -->
+        <tr>
+                <td width="100%" class="tableb_compact">
+                        {SMILIES}
+                </td>
+        </tr>
+<!-- END smilies -->
+                </table>
+        </form>
+EOT;
+}  //{THEMES}
+
+// HTML template used by the cpg_die function
+if (!isset($template_cpg_die)) { //{THEMES}
+$template_cpg_die = <<<EOT
+
+        <tr>
+                <td class="tableb" align="center">
+                        <font size="3"><b>{MESSAGE}</b></font>
+<!-- BEGIN file_line -->
+                        <br />
+                        <br />
+                        {FILE_TXT}{FILE} - {LINE_TXT}{LINE}
+<!-- END file_line -->
+<!-- BEGIN output_buffer -->
+                        <br />
+                        <br />
+                        <div align="left">
+                                {OUTPUT_BUFFER}
+                        </div>
+<!-- END output_buffer -->
+                        <br /><br />
+                </td>
+        </tr>
+
+
+EOT;
+}  //{THEMES}
+
+// HTML template used by the msg_box function
+if (!isset($template_msg_box)) { //{THEMES}
+$template_msg_box = <<<EOT
+
+        <tr>
+                <td class="tableb" align="center">
+                        <font size="3"><b>{MESSAGE}</b></font>
+                </td>
+        </tr>
+<!-- BEGIN button -->
+                <tr>
+                        <td align="center" class="tablef">
+                                <table cellpadding="0" cellspacing="0">
+                                        <tr>
+                                                <td class="admin_menu">
+                                                        <a href="{LINK}">{TEXT}</a>
+                                                </td>
+                                        </tr>
+                                </table>
+                        </td>
+                </tr>
+<!-- END button -->
+
+EOT;
+}  //{THEMES}
+
+// HTML template for e-cards
+if (!isset($template_ecard)) { //{THEMES}
+$template_ecard = <<<EOT
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html dir="{LANG_DIR}">
+<head>
+<meta http-equiv="content-type" content="text/html; charset={CHARSET}" />
+<title>{TITLE}</title>
+</head>
+<body bgcolor="#FFFFFF" text="#0F5475" link="#0F5475" vlink="#0F5475" alink="#0F5475">
+<br />
+<p align="center"><a href="{VIEW_ECARD_TGT}"><b>{VIEW_ECARD_LNK}</b></a></p>
+<table border="0" cellspacing="0" cellpadding="1" align="center">
+  <tr>
+    <td bgcolor="#000000">
+      <table border="0" cellspacing="0" cellpadding="10" bgcolor="#ffffff">
+        <tr>
+          <td valign="top">
+           <a href="{VIEW_MORE_TGT}displayimage.php?pos=-{PID}">
+                                         <img src="{PIC_URL}" border="1" alt="" /></a>
+                                         <br />
+                                         <div align="center">
+                                                 <h2>{PIC_TITLE}</h2>
+                                         </div>
+
+          </td>
+          <td valign="top" width="300">
+            <div align="right"><img src="{URL_PREFIX}images/stamp.gif" border="0" alt="" /></div>
+            <br />
+            <b><font face="arial" color="#000000" size="4">{GREETINGS}</font></b>
+            <br />
+            <br />
+            <font face="arial" color="#000000" size="2">{MESSAGE}</font>
+            <br />
+            <br />
+            <font face="arial" color="#000000" size="2">{SENDER_NAME}</font>
+            (<a href="mailto:{SENDER_EMAIL}"><font face="arial" color="#000000" size="2">{SENDER_EMAIL}</font></a>)
+          </td>
+        </tr>
+                <tr>
+                        <td colspan="2">
+                                {PIC_CAPTION}
+                        </td>
+                </tr>
+      </table>
+    </td>
+  </tr>
+</table>
+<p align="center"><a href="{VIEW_MORE_TGT}"><b>{VIEW_MORE_LNK}</b></a></p>
+</body>
+</html>
+EOT;
+}  //{THEMES}
+
+// plain-text template for e-cards (as fallback for clients that can't display html-formatted mails)
+if (!isset($template_ecard_plaintext)) { //{THEMES}
+$template_ecard_plaintext = <<<EOT
+{TITLE}
+=========================================
+
+{VIEW_ECARD_LNK_PLAINTEXT}:
+{VIEW_ECARD_TGT}
+
+{GREETINGS}
+
+
+{PLAINTEXT_MESSAGE}
+
+{SENDER_NAME} ({SENDER_EMAIL})
+
+-----------------------------------------
+{VIEW_MORE_LNK}:
+{VIEW_MORE_TGT}
+EOT;
+}  //{THEMES}
+
+// HTML template for report
+if (!isset($template_report)) { //{THEMES}
+$template_report = <<<EOT
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html dir="{LANG_DIR}">
+<head>
+<meta http-equiv="content-type" content="text/html; charset={CHARSET}" />
+<title>{TITLE}</title>
+</head>
+<body bgcolor="#FFFFFF" text="#0F5475" link="#0F5475" vlink="#0F5475" alink="#0F5475">
+<br />
+<p align="center"><a href="{VIEW_REPORT_TGT}"><b>{VIEW_REPORT_LNK}</b></a></p>
+<table border="0" cellspacing="0" cellpadding="1" align="center">
+  <tr>
+    <td bgcolor="#000000">
+      <table border="0" cellspacing="0" cellpadding="10" bgcolor="#FFFFFF">
+        <tr>
+          <td valign="top">
+           <a href="{PIC_TGT}"><img src="{PIC_URL}" border="1" alt="" /></a><br />
+          </td>
+          <td valign="top" width="200">
+            <b><font face="arial" color="#000000" size="4">{SUBJECT}</font></b>
+            <br />
+                                                <br />
+                                                {REASON}
+            <p>
+            <font face="arial" color="#000000" size="2">{MESSAGE}</font>
+            </p>
+            <font face="arial" color="#000000" size="2">{SENDER_NAME}</font>
+            (<a href="mailto:{SENDER_EMAIL}"><font face="arial" color="#000000" size="2">{SENDER_EMAIL}</font></a>)
+          </td>
+        </tr>
+      </table>
+    </td>
+  </tr>
+</table>
+<p align="center"><a href="{VIEW_MORE_TGT}"><b>{VIEW_MORE_LNK}</b></a></p>
+</body>
+</html>
+EOT;
+}  //{THEMES}
+
+// plain-text template for reports (as fallback for clients that can't display html-formatted mails)
+if (!isset($template_report_plaintext)) { //{THEMES}
+$template_report_plaintext = <<<EOT
+{TITLE}
+=========================================
+
+{VIEW_REPORT_LNK_PLAINTEXT}:
+{VIEW_REPORT_TGT}
+
+
+{SUBJECT}
+
+{REASON}
+
+{PLAINTEXT_MESSAGE}
+
+{SENDER_NAME} ({SENDER_EMAIL})
+
+-----------------------------------------
+{VIEW_MORE_LNK}:
+{VIEW_MORE_TGT}
+EOT;
+}  //{THEMES}
+
+// HTML template for displaying a reported comment
+if (!isset($template_report_comment)) { //{THEMES}
+$template_report_comment = <<<EOT
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html dir="{LANG_DIR}">
+<head>
+<meta http-equiv="content-type" content="text/html; charset={CHARSET}" />
+<title>{TITLE}</title>
+</head>
+<body bgcolor="#FFFFFF" text="#0F5475" link="#0F5475" vlink="#0F5475" alink="#0F5475">
+<br />
+<p align="center"><a href="{VIEW_REPORT_TGT}"><b>{VIEW_REPORT_LNK}</b></a></p>
+<table border="0" cellspacing="0" cellpadding="1" align="center">
+  <tr>
+    <td bgcolor="#000000">
+      <table border="0" cellspacing="0" cellpadding="10" bgcolor="#FFFFFF">
+        <tr>
+          <td valign="top">
+           {COMMENT}
+                                                <p align="center"><a href="{COMMENT_TGT}">{COMMENT_LNK}</a></p>
+          </td>
+                                        </tr>
+                                        <tr>
+          <td valign="top">
+            <b><font face="arial" color="#000000" size="4">{SUBJECT}</font></b>
+                                                <p>
+              {REASON}
+            <p>
+            <font face="arial" color="#000000" size="2">{MESSAGE}</font>
+            </p>
+            <font face="arial" color="#000000" size="2">{SENDER_NAME}</font>
+            (<a href="mailto:{SENDER_EMAIL}"><font face="arial" color="#000000" size="2">{SENDER_EMAIL}</font></a>)
+          </td>
+        </tr>
+      </table>
+    </td>
+  </tr>
+</table>
+<p align="center"><a href="{VIEW_MORE_TGT}"><b>{VIEW_MORE_LNK}</b></a></p>
+</body>
+</html>
+EOT;
+}  //{THEMES}
+
+// plain-text template for reports (as fallback for clients that can't display html-formatted mails)
+if (!isset($template_report_comment_email)) { //{THEMES}
+$template_report_comment_email = <<<EOT
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html dir="{LANG_DIR}">
+<head>
+<meta http-equiv="content-type" content="text/html; charset={CHARSET}" />
+<title>{TITLE}</title>
+</head>
+<body bgcolor="#FFFFFF" text="#0F5475" link="#0F5475" vlink="#0F5475" alink="#0F5475">
+<p><a href="{VIEW_REPORT_TGT}">{VIEW_COMMENT_LNK}</a></p>
+                <b><font face="arial" color="#000000" size="4">{SUBJECT}</font></b>
+                <p>
+                        {REASON}
+                <p>
+                <font face="arial" color="#000000" size="2">{MESSAGE}</font>
+                </p>
+                <font face="arial" color="#000000" size="2">{SENDER_NAME}</font>
+                (<a href="mailto:{SENDER_EMAIL}"><font face="arial" color="#000000" size="2">{SENDER_EMAIL}</font></a>)
+<p><a href="{VIEW_MORE_TGT}"><b>{VIEW_MORE_LNK}</b></a></p>
+</body>
+</html>
+EOT;
+}  //{THEMES}
+
+// Template used for tabbed display
+if (!isset($template_tab_display)) { //{THEMES}
+$template_tab_display = array('left_text' => '<td width="100%%" align="left" valign="middle" class="tableh1_compact" style="white-space: nowrap"><b>{LEFT_TEXT}</b></td>' . "\n",
+    'tab_header' => '',
+    'tab_trailer' => '',
+    'active_tab' => '<td><img src="images/spacer.gif" width="1" height="1" alt="" /></td>' . "\n" . '<td align="center" valign="middle" class="tableb_compact"><b>%d</b></td>',
+    'inactive_tab' => '<td><img src="images/spacer.gif" width="1" height="1" alt="" /></td>' . "\n" . '<td align="center" valign="middle" class="navmenu"><a href="{LINK}"><b>%d</b></a></td>' . "\n",
+    'inactive_prev_tab' => '<td><img src="images/spacer.gif" width="1" height="1" alt="" /></td>' . "\n" . '<td align="center" valign="middle" class="navmenu"><a href="{LINK}"><b>{PREV}</b></a></td>' . "\n",
+    'inactive_next_tab' => '<td><img src="images/spacer.gif" width="1" height="1" alt="" /></td>' . "\n" . '<td align="center" valign="middle" class="navmenu"><a href="{LINK}"><b>{NEXT}</b></a></td>' . "\n",
+);
+}
+
+// Template used for Vanity Footer
+if (!isset($template_vanity)) { //{THEMES}
+$template_vanity = <<<EOT
+<div id="vanity">
+      <a id="v_php" href="http://www.php.net/"></a>
+      <a id="v_mysql" href="http://www.mysql.com/"></a>
+      <a id="v_xhtml" href="http://validator.w3.org/check/referer"></a>
+      <a id="v_css" href="http://jigsaw.w3.org/css-validator/check/referer"></a>
+</div>
+EOT;
+}  //{THEMES}
+
+// Function for writing a pageheader
+if (!function_exists('pageheader')) {  //{THEMES}
+function pageheader($section, $meta = '')
+{
+    global $CONFIG, $THEME_DIR;
+    global $template_header, $lang_charset, $lang_text_dir;
+
+    $custom_header = cpg_get_custom_include($CONFIG['custom_header_path']);
+
+        $charset = ($CONFIG['charset'] == 'language file') ? $lang_charset : $CONFIG['charset'];
+
+    header('P3P: CP="CAO DSP COR CURa ADMa DEVa OUR IND PHY ONL UNI COM NAV INT DEM PRE"');
+        header("Content-Type: text/html; charset=$charset");
+    user_save_profile();
+
+    $template_vars = array('{LANG_DIR}' => $lang_text_dir,
+        '{TITLE}' => $CONFIG['gallery_name'] . ' - ' . strip_tags(bb_decode($section)),
+        '{CHARSET}' => $charset,
+        '{META}' => $meta,
+        '{GAL_NAME}' => $CONFIG['gallery_name'],
+        '{GAL_DESCRIPTION}' => $CONFIG['gallery_description'],
+        '{SYS_MENU}' => theme_main_menu('sys_menu'),
+        '{SUB_MENU}' => theme_main_menu('sub_menu'),
+        '{ADMIN_MENU}' => theme_admin_mode_menu(),
+        '{CUSTOM_HEADER}' => $custom_header,
+        );
+
+    echo template_eval($template_header, $template_vars);
+}
+}  //{THEMES}
+
+// Function for writing a pagefooter
+if (!function_exists('pagefooter')) {  //{THEMES}
+function pagefooter()
+{
+    //global $HTTP_GET_VARS, $HTTP_POST_VARS, $HTTP_SERVER_VARS;
+    global $USER, $USER_DATA, $ALBUM_SET, $CONFIG, $time_start, $query_stats, $queries;
+    global $template_footer;
+
+    $custom_footer = cpg_get_custom_include($CONFIG['custom_footer_path']);
+
+    if ($CONFIG['debug_mode']==1 || ($CONFIG['debug_mode']==2 && GALLERY_ADMIN_MODE)) {
+    cpg_debug_output();
+    }
+
+    $template_vars = array(
+        '{CUSTOM_FOOTER}' => $custom_footer,
+        '{VANITY}' => (defined('THEME_IS_XHTML10_TRANSITIONAL') && $CONFIG['vanity_block']) ? theme_vanity() : '',
+    );
+
+    echo template_eval($template_footer, $template_vars);
+}
+}  //{THEMES}
+
+// Function to start a 'standard' table
+if (!function_exists('starttable')) {  //{THEMES}
+function starttable($width = '-1', $title = '', $title_colspan = '1')
+{
+    global $CONFIG;
+
+    if ($width == '-1') $width = $CONFIG['picture_table_width'];
+    if ($width == '100%') $width = $CONFIG['main_table_width'];
+    echo <<<EOT
+
+<!-- Start standard table -->
+<table align="center" width="$width" cellspacing="1" cellpadding="0" class="maintable">
+
+EOT;
+    if ($title) {
+        echo <<<EOT
+        <tr>
+                <td class="tableh1" colspan="$title_colspan">$title</td>
+        </tr>
+
+EOT;
+    }
+}
+}  //{THEMES}
+
+// Function to end a 'standard' table
+if (!function_exists('endtable')) {  //{THEMES}
+function endtable()
+{
+    echo <<<EOT
+</table>
+<!-- End standard table -->
+
+EOT;
+}
+}  //{THEMES}
+
+// Function for creating a main menu (SYS_MENU or SUB_MENU)
+if (!function_exists('theme_main_menu')) {  //{THEMES}
+function theme_main_menu($which)
+{
+    global $AUTHORIZED, $CONFIG, $album, $actual_cat, $cat, $REFERER;
+    global $lang_main_menu, $template_sys_menu, $template_sub_menu;
+
+
+    static $sys_menu = '', $sub_menu = '';
+    if ($$which != '') {
+        return $$which;
+    }
+
+    $album_l = isset($album) ? "?album=$album" : '';
+    $cat_l = (isset($actual_cat))? "?cat=$actual_cat" : (isset($cat) ? "?cat=$cat" : '');
+    $cat_l2 = isset($cat) ? "&amp;cat=$cat" : '';
+    $my_gallery_id = FIRST_USER_CAT + USER_ID;
+
+
+
+  if ($which == 'sys_menu' ) {
+    if (USER_ID) {
+        template_extract_block($template_sys_menu, 'login');
+    } else {
+        template_extract_block($template_sys_menu, 'logout');
+        template_extract_block($template_sys_menu, 'my_profile');
+    }
+
+    if (!USER_IS_ADMIN) {
+        template_extract_block($template_sys_menu, 'enter_admin_mode');
+        template_extract_block($template_sys_menu, 'leave_admin_mode');
+    } else {
+        if (GALLERY_ADMIN_MODE) {
+            template_extract_block($template_sys_menu, 'enter_admin_mode');
+        } else {
+            template_extract_block($template_sys_menu, 'leave_admin_mode');
+        }
+    }
+
+    if (!USER_CAN_CREATE_ALBUMS) {
+        template_extract_block($template_sys_menu, 'my_gallery');
+    }
+
+    if (USER_CAN_CREATE_ALBUMS) {
+        template_extract_block($template_sys_menu, 'my_profile');
+    }
+
+    if (!USER_CAN_UPLOAD_PICTURES && !USER_CAN_CREATE_ALBUMS) {
+        template_extract_block($template_sys_menu, 'upload_pic');
+    }
+
+    if (USER_ID || !$CONFIG['allow_user_registration']) {
+        template_extract_block($template_sys_menu, 'register');
+    }
+
+    if (!USER_ID || !$CONFIG['allow_memberlist']) {
+        template_extract_block($template_sys_menu, 'allow_memberlist');
+    }
+
+    if (!$CONFIG['display_faq']) {
+        template_extract_block($template_sys_menu, 'faq');
+    }
+
+    $param = array(
+        '{HOME_TGT}' => $CONFIG['home_target'],
+        '{HOME_TITLE}' => $lang_main_menu['home_title'],
+        '{HOME_LNK}' => $lang_main_menu['home_lnk'],
+        '{MY_GAL_TGT}' => "index.php?cat=$my_gallery_id",
+        '{MY_GAL_TITLE}' => $lang_main_menu['my_gal_title'],
+        '{MY_GAL_LNK}' => $lang_main_menu['my_gal_lnk'],
+        '{MEMBERLIST_TGT}' => "usermgr.php",
+        '{MEMBERLIST_TITLE}' => $lang_main_menu['memberlist_title'],
+        '{MEMBERLIST_LNK}' => $lang_main_menu['memberlist_lnk'],
+        '{MY_PROF_TGT}' => "profile.php?op=edit_profile",
+        '{MY_PROF_TITLE}' => $lang_main_menu['my_prof_title'],
+        '{MY_PROF_LNK}' => $lang_main_menu['my_prof_lnk'],
+        '{ADM_MODE_TGT}' => "mode.php?admin_mode=1&amp;referer=$REFERER",
+        '{ADM_MODE_TITLE}' => $lang_main_menu['adm_mode_title'],
+        '{ADM_MODE_LNK}' => $lang_main_menu['adm_mode_lnk'],
+        '{USR_MODE_TGT}' => "mode.php?admin_mode=0&amp;referer=$REFERER",
+        '{USR_MODE_TITLE}' => $lang_main_menu['usr_mode_title'],
+        '{USR_MODE_LNK}' => $lang_main_menu['usr_mode_lnk'],
+        '{UPL_PIC_TGT}' => "upload.php",
+        '{UPL_PIC_TITLE}' => $lang_main_menu['upload_pic_title'],
+        '{UPL_PIC_LNK}' => $lang_main_menu['upload_pic_lnk'],
+        '{REGISTER_TGT}' => "register.php",
+        '{REGISTER_TITLE}' => $lang_main_menu['register_title'],
+        '{REGISTER_LNK}' => $lang_main_menu['register_lnk'],
+        '{LOGIN_TGT}' => "login.php?referer=$REFERER",
+        '{LOGIN_TITLE}' => $lang_main_menu['login_title'],
+        '{LOGIN_LNK}' => $lang_main_menu['login_lnk'],
+        '{LOGOUT_TGT}' => "logout.php?referer=$REFERER",
+        '{LOGOUT_TITLE}' => $lang_main_menu['logout_title'],
+        '{LOGOUT_LNK}' => $lang_main_menu['logout_lnk'] . " [" . stripslashes(USER_NAME) . "]",
+        '{FAQ_TGT}' => "faq.php",
+        '{FAQ_TITLE}' => $lang_main_menu['faq_title'],
+        '{FAQ_LNK}' => $lang_main_menu['faq_lnk'],
+        );
+
+        $sys_menu = template_eval($template_sys_menu, $param);
+  } else {
+
+    if (!$CONFIG['custom_lnk_url']) {
+        template_extract_block($template_sub_menu, 'custom_link');
+    }
+
+    $param = array(
+        '{ALB_LIST_TGT}' => "index.php$cat_l",
+        '{ALB_LIST_TITLE}' => $lang_main_menu['alb_list_title'],
+        '{ALB_LIST_LNK}' => $lang_main_menu['alb_list_lnk'],
+        '{CUSTOM_LNK_TGT}' => $CONFIG['custom_lnk_url'],
+        '{CUSTOM_LNK_TITLE}' => $CONFIG['custom_lnk_name'],
+        '{CUSTOM_LNK_LNK}' => $CONFIG['custom_lnk_name'],
+        '{LASTUP_TGT}' => "thumbnails.php?album=lastup$cat_l2",
+        '{LASTUP_TITLE}' => $lang_main_menu['lastup_title'],
+        '{LASTUP_LNK}' => $lang_main_menu['lastup_lnk'],
+        '{LASTCOM_TGT}' => "thumbnails.php?album=lastcom$cat_l2",
+        '{LASTCOM_TITLE}' => $lang_main_menu['lastcom_title'],
+        '{LASTCOM_LNK}' => $lang_main_menu['lastcom_lnk'],
+        '{TOPN_TGT}' => "thumbnails.php?album=topn$cat_l2",
+        '{TOPN_TITLE}' => $lang_main_menu['topn_title'],
+        '{TOPN_LNK}' => $lang_main_menu['topn_lnk'],
+        '{TOPRATED_TGT}' => "thumbnails.php?album=toprated$cat_l2",
+        '{TOPRATED_TITLE}' => $lang_main_menu['toprated_title'],
+        '{TOPRATED_LNK}' => $lang_main_menu['toprated_lnk'],
+        '{FAV_TGT}' => "thumbnails.php?album=favpics",
+        '{FAV_TITLE}' => $lang_main_menu['fav_title'],
+        '{FAV_LNK}' => $lang_main_menu['fav_lnk'],
+        '{SEARCH_TGT}' => "search.php",
+        '{SEARCH_TITLE}' => $lang_main_menu['search_title'],
+        '{SEARCH_LNK}' => $lang_main_menu['search_lnk'],
+        );
+    $sub_menu = template_eval($template_sub_menu, $param);
+  }
+
+    return $$which;
+}
+}  //{THEMES}
+
+if (!function_exists('theme_admin_mode_menu')) {  //{THEMES}
+function theme_admin_mode_menu()
+{
+    global $cat;
+    global $lang_gallery_admin_menu, $lang_user_admin_menu;
+    global $template_gallery_admin_menu, $template_user_admin_menu;
+    global $CONFIG;
+
+    $cat_l = isset($cat) ? "?cat=$cat" : '';
+
+    static $admin_menu = '';
+
+    // Populate the admin menu only if empty to avoid template errors
+    if ($admin_menu == '') {
+
+        if (GALLERY_ADMIN_MODE) {
+
+        if ($CONFIG['log_ecards'] == 0) {
+            template_extract_block($template_gallery_admin_menu, 'log_ecards');
+        }
+
+        if (cpg_get_pending_approvals() == 0) {
+             template_extract_block($template_gallery_admin_menu, 'admin_approval');
+        }
+
+            // do the docs exist on the webserver?
+            if (file_exists('docs/index.htm') == true) {
+                $documentation_href = 'docs/index.htm';
+            } else {
+                $documentation_href = 'http://coppermine-gallery.net/demo/cpg14x/docs/';
+            }
+            $param = array('{CATL}' => $cat_l,
+                '{UPL_APP_TITLE}' => $lang_gallery_admin_menu['upl_app_title'],
+                '{UPL_APP_LNK}' => $lang_gallery_admin_menu['upl_app_lnk'],
+                '{ADMIN_TITLE}' => $lang_gallery_admin_menu['admin_title'],
+                '{ADMIN_LNK}' => $lang_gallery_admin_menu['admin_lnk'],
+                '{ALBUMS_TITLE}' => $lang_gallery_admin_menu['albums_title'],
+                '{ALBUMS_LNK}' => $lang_gallery_admin_menu['albums_lnk'],
+                '{CATEGORIES_TITLE}' => $lang_gallery_admin_menu['categories_title'],
+                '{CATEGORIES_LNK}' => $lang_gallery_admin_menu['categories_lnk'],
+                '{USERS_TITLE}' => $lang_gallery_admin_menu['users_title'],
+                '{USERS_LNK}' => $lang_gallery_admin_menu['users_lnk'],
+                '{GROUPS_TITLE}' => $lang_gallery_admin_menu['groups_title'],
+                '{GROUPS_LNK}' => $lang_gallery_admin_menu['groups_lnk'],
+                '{COMMENTS_TITLE}' => $lang_gallery_admin_menu['comments_title'],
+                '{COMMENTS_LNK}' => $lang_gallery_admin_menu['comments_lnk'],
+                '{SEARCHNEW_TITLE}' => $lang_gallery_admin_menu['searchnew_title'],
+                '{SEARCHNEW_LNK}' => $lang_gallery_admin_menu['searchnew_lnk'],
+                '{MY_PROF_TITLE}' => $lang_user_admin_menu['my_prof_title'],
+                '{MY_PROF_LNK}' => $lang_user_admin_menu['my_prof_lnk'],
+                '{UTIL_TITLE}' => $lang_gallery_admin_menu['util_title'],
+                '{UTIL_LNK}' => $lang_gallery_admin_menu['util_lnk'],
+                '{BAN_TITLE}' => $lang_gallery_admin_menu['ban_title'],
+                '{BAN_LNK}' => $lang_gallery_admin_menu['ban_lnk'],
+                '{DB_ECARD_TITLE}' => $lang_gallery_admin_menu['db_ecard_title'],
+                '{DB_ECARD_LNK}' => $lang_gallery_admin_menu['db_ecard_lnk'],
+                '{PICTURES_TITLE}' => $lang_gallery_admin_menu['pictures_title'],
+                '{PICTURES_LNK}' => $lang_gallery_admin_menu['pictures_lnk'],
+                '{DOCUMENTATION_HREF}' => $documentation_href,
+                '{DOCUMENTATION_TITLE}' => $lang_gallery_admin_menu['documentation_title'],
+                '{DOCUMENTATION_LNK}' => $lang_gallery_admin_menu['documentation_lnk'],
+                );
+
+            $html = template_eval($template_gallery_admin_menu, $param);
+            $html.= cpg_alert_dev_version();
+        } elseif (USER_ADMIN_MODE) {
+            $param = array('{ALBMGR_TITLE}' => $lang_user_admin_menu['albmgr_title'],
+                '{ALBMGR_LNK}' => $lang_user_admin_menu['albmgr_lnk'],
+                '{MODIFYALB_TITLE}' => $lang_user_admin_menu['modifyalb_title'],
+                '{MODIFYALB_LNK}' => $lang_user_admin_menu['modifyalb_lnk'],
+                '{MY_PROF_TITLE}' => $lang_user_admin_menu['my_prof_title'],
+                '{MY_PROF_LNK}' => $lang_user_admin_menu['my_prof_lnk'],
+                '{PICTURES_TITLE}' => $lang_gallery_admin_menu['pictures_title'],
+                '{PICTURES_LNK}' => $lang_gallery_admin_menu['pictures_lnk'],
+                );
+
+            $html = template_eval($template_user_admin_menu, $param);
+        } else {
+            $html = '';
+        }
+
+        $admin_menu = $html;
+    }
+
+    return $admin_menu;
+}
+}  //{THEMES}
+
+if (!function_exists('theme_display_cat_list')) {  //{THEMES}
+function theme_display_cat_list($breadcrumb, &$cat_data, $statistics)
+{
+    global $template_cat_list, $lang_cat_list;
+    if (count($cat_data) > 0) {
+        starttable('100%');
+        $template = template_extract_block($template_cat_list, 'header');
+        $params = array('{CATEGORY}' => $lang_cat_list['category'],
+            '{ALBUMS}' => $lang_cat_list['albums'],
+            '{PICTURES}' => $lang_cat_list['pictures'],
+            );
+        echo template_eval($template, $params);
+    }
+
+    $template_noabl = template_extract_block($template_cat_list, 'catrow_noalb');
+    $template = template_extract_block($template_cat_list, 'catrow');
+    foreach($cat_data as $category) {
+        if (!isset($category['cat_thumb'])) { $category['cat_thumb'] = ''; }
+        if (count($category) == 3) {
+            $params = array('{CAT_TITLE}' => $category[0],
+                    '{CAT_THUMB}' => $category['cat_thumb'],
+                '{CAT_DESC}' => $category[1]
+                );
+            echo template_eval($template_noabl, $params);
+        } elseif (isset($category['cat_albums']) && ($category['cat_albums'] != '')) {
+            $params = array('{CAT_TITLE}' => $category[0],
+                '{CAT_THUMB}' => $category['cat_thumb'],
+                '{CAT_DESC}' => $category[1],
+                '{CAT_ALBUMS}' => $category['cat_albums'],
+                '{ALB_COUNT}' => $category[2],
+                '{PIC_COUNT}' => $category[3],
+                );
+            echo template_eval($template, $params);
+        } else {
+            $params = array('{CAT_TITLE}' => $category[0],
+                '{CAT_THUMB}' => $category['cat_thumb'],
+                '{CAT_DESC}' => $category[1],
+                '{CAT_ALBUMS}' => '',
+                '{ALB_COUNT}' => $category[2],
+                '{PIC_COUNT}' => $category[3],
+                );
+            echo template_eval($template, $params);
+        }
+    }
+
+    if ($statistics && count($cat_data) > 0) {
+        $template = template_extract_block($template_cat_list, 'footer');
+        $params = array('{STATISTICS}' => $statistics);
+        echo template_eval($template, $params);
+    }
+
+
+    if (count($cat_data) > 0)
+          endtable();
+        echo template_extract_block($template_cat_list, 'spacer');
+}
+}  //{THEMES}
+
+if (!function_exists('theme_display_breadcrumb')) {  //{THEMES}
+function theme_display_breadcrumb($breadcrumb, &$cat_data)
+{
+    /**
+     * ** added breadcrumb as a seperate element
+     */
+    global $template_breadcrumb, $lang_breadcrumb;
+
+    starttable('100%');
+    if ($breadcrumb) {
+        $template = template_extract_block($template_breadcrumb, 'breadcrumb');
+        $params = array('{BREADCRUMB}' => $breadcrumb
+            );
+        echo template_eval($template, $params);
+    }
+        endtable();
+}
+}  //{THEMES}
+
+if (!function_exists('theme_display_album_list'))  {  //{THEMES}
+function theme_display_album_list(&$alb_list, $nbAlb, $cat, $page, $total_pages)
+{
+
+    global $CONFIG, $STATS_IN_ALB_LIST, $statistics, $template_tab_display, $template_album_list, $lang_album_list;
+
+    $theme_alb_list_tab_tmpl = $template_tab_display;
+
+    $theme_alb_list_tab_tmpl['left_text'] = strtr($theme_alb_list_tab_tmpl['left_text'], array('{LEFT_TEXT}' => $lang_album_list['album_on_page']));
+    $theme_alb_list_tab_tmpl['inactive_tab'] = strtr($theme_alb_list_tab_tmpl['inactive_tab'], array('{LINK}' => 'index.php?cat=' . $cat . '&amp;page=%d'));
+    $theme_alb_list_tab_tmpl['inactive_next_tab'] = strtr($theme_alb_list_tab_tmpl['inactive_next_tab'], array('{LINK}' => 'index.php?cat=' . $cat . '&amp;page=%d'));
+    $theme_alb_list_tab_tmpl['inactive_prev_tab'] = strtr($theme_alb_list_tab_tmpl['inactive_prev_tab'], array('{LINK}' => 'index.php?cat=' . $cat . '&amp;page=%d'));
+
+    $tabs = create_tabs($nbAlb, $page, $total_pages, $theme_alb_list_tab_tmpl);
+
+    $album_cell = template_extract_block($template_album_list, 'album_cell');
+    $empty_cell = template_extract_block($template_album_list, 'empty_cell');
+    $tabs_row = template_extract_block($template_album_list, 'tabs');
+    $stat_row = template_extract_block($template_album_list, 'stat_row');
+    $spacer = template_extract_block($template_album_list, 'spacer');
+    $header = template_extract_block($template_album_list, 'header');
+    $footer = template_extract_block($template_album_list, 'footer');
+    $rows_separator = template_extract_block($template_album_list, 'row_separator');
+
+    $count = 0;
+
+    $columns = $CONFIG['album_list_cols'];
+    $column_width = ceil(100 / $columns);
+    $thumb_cell_width = $CONFIG['alb_list_thumb_size'] + 2;
+
+    starttable('100%');
+
+    if ($STATS_IN_ALB_LIST) {
+        $params = array('{STATISTICS}' => $statistics,
+            '{COLUMNS}' => $columns,
+            );
+        echo template_eval($stat_row, $params);
+    }
+
+    echo $header;
+
+    if (is_array($alb_list)) {
+        foreach($alb_list as $album) {
+            $count ++;
+
+            $params = array('{COL_WIDTH}' => $column_width,
+                '{ALBUM_TITLE}' => $album['album_title'],
+                '{THUMB_CELL_WIDTH}' => $thumb_cell_width,
+                '{ALB_LINK_TGT}' => "thumbnails.php?album={$album['aid']}",
+                '{ALB_LINK_PIC}' => $album['thumb_pic'],
+                '{ADMIN_MENU}' => $album['album_adm_menu'],
+                '{ALB_DESC}' => $album['album_desc'],
+                '{ALB_INFOS}' => $album['album_info'],
+                );
+
+            echo template_eval($album_cell, $params);
+
+            if ($count % $columns == 0 && $count < count($alb_list)) {
+                echo $rows_separator;
+            }
+        }
+    }
+
+    $params = array('{COL_WIDTH}' => $column_width,
+          '{SPACER}' => $thumb_cell_width
+          );
+    $empty_cell = template_eval($empty_cell, $params);
+
+    while ($count++ % $columns != 0) {
+        echo $empty_cell;
+    }
+
+    echo $footer;
+    // Tab display
+    $params = array('{COLUMNS}' => $columns,
+        '{TABS}' => $tabs,
+        );
+    echo template_eval($tabs_row, $params);
+
+    endtable();
+
+    echo $spacer;
+}
+}  //{THEMES}
+
+// Function to display first level Albums of a category
+if (!function_exists('theme_display_album_list_cat')) {  //{THEMES}
+function theme_display_album_list_cat(&$alb_list, $nbAlb, $cat, $page, $total_pages)
+{
+    global $CONFIG, $STATS_IN_ALB_LIST, $statistics, $template_tab_display, $template_album_list_cat, $lang_album_list;
+    if (!$CONFIG['first_level']) {
+        return;
+    }
+
+    $theme_alb_list_tab_tmpl = $template_tab_display;
+
+    $theme_alb_list_tab_tmpl['left_text'] = strtr($theme_alb_list_tab_tmpl['left_text'], array('{LEFT_TEXT}' => $lang_album_list['album_on_page']));
+    $theme_alb_list_tab_tmpl['inactive_tab'] = strtr($theme_alb_list_tab_tmpl['inactive_tab'], array('{LINK}' => 'index.php?cat=' . $cat . '&amp;page=%d'));
+
+    $tabs = create_tabs($nbAlb, $page, $total_pages, $theme_alb_list_tab_tmpl);
+    // echo $template_album_list_cat;
+    $template_album_list_cat1 = $template_album_list_cat;
+    $album_cell = template_extract_block($template_album_list_cat1, 'c_album_cell');
+    $empty_cell = template_extract_block($template_album_list_cat1, 'c_empty_cell');
+    $tabs_row = template_extract_block($template_album_list_cat1, 'c_tabs');
+    $stat_row = template_extract_block($template_album_list_cat1, 'c_stat_row');
+    $spacer = template_extract_block($template_album_list_cat1, 'c_spacer');
+    $header = template_extract_block($template_album_list_cat1, 'c_header');
+    $footer = template_extract_block($template_album_list_cat1, 'c_footer');
+    $rows_separator = template_extract_block($template_album_list_cat1, 'c_row_separator');
+
+    $count = 0;
+
+    $columns = $CONFIG['album_list_cols'];
+    $column_width = ceil(100 / $columns);
+    $thumb_cell_width = $CONFIG['alb_list_thumb_size'] + 2;
+
+    starttable('100%');
+
+    if ($STATS_IN_ALB_LIST) {
+        $params = array('{STATISTICS}' => $statistics,
+            '{COLUMNS}' => $columns,
+            );
+        echo template_eval($stat_row, $params);
+    }
+
+    echo $header;
+
+    if (is_array($alb_list)) {
+        foreach($alb_list as $album) {
+            $count ++;
+
+            $params = array('{COL_WIDTH}' => $column_width,
+                '{ALBUM_TITLE}' => $album['album_title'],
+                '{THUMB_CELL_WIDTH}' => $thumb_cell_width,
+                '{ALB_LINK_TGT}' => "thumbnails.php?album={$album['aid']}",
+                '{ALB_LINK_PIC}' => $album['thumb_pic'],
+                '{ADMIN_MENU}' => $album['album_adm_menu'],
+                '{ALB_DESC}' => $album['album_desc'],
+                '{ALB_INFOS}' => $album['album_info'],
+                );
+
+            echo template_eval($album_cell, $params);
+
+            if ($count % $columns == 0 && $count < count($alb_list)) {
+                echo $rows_separator;
+            }
+        }
+    }
+
+    $params = array('{COL_WIDTH}' => $column_width,
+          '{SPACER}' => $thumb_cell_width
+          );
+    $empty_cell = template_eval($empty_cell, $params);
+
+    while ($count++ % $columns != 0) {
+        echo $empty_cell;
+    }
+
+    echo $footer;
+    // Tab display
+    $params = array('{COLUMNS}' => $columns,
+        '{TABS}' => $tabs,
+        );
+    echo template_eval($tabs_row, $params);
+
+    endtable();
+
+    echo $spacer;
+}
+}  //{THEMES}
+
+if (!function_exists('theme_display_thumbnails')) {  //{THEMES}
+function theme_display_thumbnails(&$thumb_list, $nbThumb, $album_name, $aid, $cat, $page, $total_pages, $sort_options, $display_tabs, $mode = 'thumb')
+{
+    global $CONFIG;
+    global $template_thumb_view_title_row,$template_fav_thumb_view_title_row, $lang_thumb_view, $template_tab_display, $template_thumbnail_view, $lang_album_list;
+
+    static $header = '';
+    static $thumb_cell = '';
+    static $empty_cell = '';
+    static $row_separator = '';
+    static $footer = '';
+    static $tabs = '';
+    static $spacer = '';
+
+    if ($header == '') {
+        $thumb_cell = template_extract_block($template_thumbnail_view, 'thumb_cell');
+        $tabs = template_extract_block($template_thumbnail_view, 'tabs');
+        $header = template_extract_block($template_thumbnail_view, 'header');
+        $empty_cell = template_extract_block($template_thumbnail_view, 'empty_cell');
+        $row_separator = template_extract_block($template_thumbnail_view, 'row_separator');
+        $footer = template_extract_block($template_thumbnail_view, 'footer');
+        $spacer = template_extract_block($template_thumbnail_view, 'spacer');
+    }
+
+    $cat_link = is_numeric($aid) ? '' : '&amp;cat=' . $cat;
+    $uid_link = (isset($_GET['uid']) && is_numeric($_GET['uid'])) ? '&amp;uid=' . $_GET['uid'] : '';
+
+    $theme_thumb_tab_tmpl = $template_tab_display;
+
+    if ($mode == 'thumb') {
+        $theme_thumb_tab_tmpl['left_text'] = strtr($theme_thumb_tab_tmpl['left_text'], array('{LEFT_TEXT}' => $aid == 'lastalb' ? $lang_album_list['album_on_page'] : $lang_thumb_view['pic_on_page']));
+        $theme_thumb_tab_tmpl['inactive_tab'] = strtr($theme_thumb_tab_tmpl['inactive_tab'], array('{LINK}' => 'thumbnails.php?album=' . $aid . $cat_link . $uid_link . '&amp;page=%d'));
+        $theme_thumb_tab_tmpl['inactive_next_tab'] = strtr($theme_thumb_tab_tmpl['inactive_next_tab'], array('{LINK}' => 'thumbnails.php?album=' . $aid . $cat_link . $uid_link . '&amp;page=%d'));
+        $theme_thumb_tab_tmpl['inactive_prev_tab'] = strtr($theme_thumb_tab_tmpl['inactive_prev_tab'], array('{LINK}' => 'thumbnails.php?album=' . $aid . $cat_link . $uid_link . '&amp;page=%d'));
+    } else {
+        $theme_thumb_tab_tmpl['left_text'] = strtr($theme_thumb_tab_tmpl['left_text'], array('{LEFT_TEXT}' => $lang_thumb_view['user_on_page']));
+        $theme_thumb_tab_tmpl['inactive_tab'] = strtr($theme_thumb_tab_tmpl['inactive_tab'], array('{LINK}' => 'index.php?cat=' . $cat . '&amp;page=%d'));
+        $theme_thumb_tab_tmpl['inactive_next_tab'] = strtr($theme_thumb_tab_tmpl['inactive_next_tab'], array('{LINK}' => 'index.php?cat=' . $cat . '&amp;page=%d'));
+        $theme_thumb_tab_tmpl['inactive_prev_tab'] = strtr($theme_thumb_tab_tmpl['inactive_prev_tab'], array('{LINK}' => 'index.php?cat=' . $cat . '&amp;page=%d'));
+    }
+
+    $thumbcols = $CONFIG['thumbcols'];
+    $cell_width = ceil(100 / $CONFIG['thumbcols']) . '%';
+
+    $tabs_html = $display_tabs ? create_tabs($nbThumb, $page, $total_pages, $theme_thumb_tab_tmpl) : '';
+    // The sort order options are not available for meta albums
+    if ($sort_options) {
+        $param = array('{ALBUM_NAME}' => $album_name,
+            '{AID}' => $aid,
+            '{PAGE}' => $page,
+            '{NAME}' => $lang_thumb_view['name'],
+            '{TITLE}' => $lang_thumb_view['title'],
+            '{DATE}' => $lang_thumb_view['date'],
+            '{SORT_TA}' => $lang_thumb_view['sort_ta'],
+            '{SORT_TD}' => $lang_thumb_view['sort_td'],
+            '{SORT_NA}' => $lang_thumb_view['sort_na'],
+            '{SORT_ND}' => $lang_thumb_view['sort_nd'],
+            '{SORT_DA}' => $lang_thumb_view['sort_da'],
+            '{SORT_DD}' => $lang_thumb_view['sort_dd'],
+            '{POSITION}' => $lang_thumb_view['position'],
+            '{SORT_PA}' => $lang_thumb_view['sort_pa'],
+            '{SORT_PD}' => $lang_thumb_view['sort_pd'],
+            );
+        $title = template_eval($template_thumb_view_title_row, $param);
+    } else if ($aid == 'favpics' && $CONFIG['enable_zipdownload'] == 1) { //Lots of stuff can be added here later
+       $param = array('{ALBUM_NAME}' => $album_name,
+                             '{DOWNLOAD_ZIP}'=>$lang_thumb_view['download_zip']
+                               );
+       $title = template_eval($template_fav_thumb_view_title_row, $param);
+    }else{
+        $title = $album_name;
+    }
+
+
+    if ($mode == 'thumb') {
+        starttable('100%', $title, $thumbcols);
+    } else {
+        starttable('100%');
+    }
+
+    echo $header;
+
+    $i = 0;
+    foreach($thumb_list as $thumb) {
+        $i++;
+        if ($mode == 'thumb') {
+            if ($aid == 'lastalb') {
+                $params = array('{CELL_WIDTH}' => $cell_width,
+                    '{LINK_TGT}' => "thumbnails.php?album={$thumb['aid']}",
+                    '{THUMB}' => $thumb['image'],
+                    '{CAPTION}' => $thumb['caption'],
+                    '{ADMIN_MENU}' => $thumb['admin_menu']
+                    );
+            } else {
+                $params = array('{CELL_WIDTH}' => $cell_width,
+                    '{LINK_TGT}' => "displayimage.php?album=$aid$cat_link&amp;pos={$thumb['pos']}$uid_link",
+                    '{THUMB}' => $thumb['image'],
+                    '{CAPTION}' => $thumb['caption'],
+                    '{ADMIN_MENU}' => $thumb['admin_menu']
+                    );
+            }
+        } else {
+            $params = array('{CELL_WIDTH}' => $cell_width,
+                '{LINK_TGT}' => "index.php?cat={$thumb['cat']}",
+                '{THUMB}' => $thumb['image'],
+                '{CAPTION}' => $thumb['caption'],
+                '{ADMIN_MENU}' => ''
+                );
+        }
+        echo template_eval($thumb_cell, $params);
+
+        if ((($i % $thumbcols) == 0) && ($i < count($thumb_list))) {
+            echo $row_separator;
+        }
+    }
+    for (;($i % $thumbcols); $i++) {
+        echo $empty_cell;
+    }
+    echo $footer;
+
+    if ($display_tabs) {
+        $params = array('{THUMB_COLS}' => $thumbcols,
+            '{TABS}' => $tabs_html
+            );
+        echo template_eval($tabs, $params);
+    }
+
+    endtable();
+    echo $spacer;
+}
+}  //{THEMES}
+
+// Function to display film strip
+if (!function_exists('theme_display_film_strip')) {  //{THEMES}
+function theme_display_film_strip(&$thumb_list, $nbThumb, $album_name, $aid, $cat, $pos, $sort_options, $mode = 'thumb')
+{
+    global $CONFIG, $THEME_DIR;
+    global $template_film_strip, $lang_film_strip;
+
+    static $template = '';
+    static $thumb_cell = '';
+    static $empty_cell = '';
+    static $spacer = '';
+
+    if ((!$template)) {
+        $template = $template_film_strip;
+        $thumb_cell = template_extract_block($template, 'thumb_cell');
+        $empty_cell = template_extract_block($template, 'empty_cell');
+    }
+
+    $cat_link = is_numeric($aid) ? '' : '&amp;cat=' . $cat;
+    $uid_link = (isset($_GET['uid']) && is_numeric($_GET['uid'])) ? '&amp;uid=' . $_GET['uid'] : '';
+
+    $thumbcols = $CONFIG['thumbcols'];
+    $cell_width = ceil(100 / $CONFIG['max_film_strip_items']) . '%';
+
+    $i = 0;
+    $thumb_strip = '';
+    foreach($thumb_list as $thumb) {
+        $i++;
+        if ($mode == 'thumb') {
+            $params = array('{CELL_WIDTH}' => $cell_width,
+                '{LINK_TGT}' => "displayimage.php?album=$aid$cat_link&amp;pos={$thumb['pos']}$uid_link",
+                '{THUMB}' => $thumb['image'],
+                '{CAPTION}' => $thumb['caption'],
+                '{ADMIN_MENU}' => ''
+                );
+        } else {
+            $params = array('{CELL_WIDTH}' => $cell_width,
+                '{LINK_TGT}' => "index.php?cat={$thumb['cat']}",
+                '{THUMB}' => $thumb['image'],
+                '{CAPTION}' => '',
+                '{ADMIN_MENU}' => ''
+                );
+        }
+        $thumb_strip .= template_eval($thumb_cell, $params);
+    }
+
+    if (defined('THEME_HAS_FILM_STRIP_GRAPHICS')) {
+        $tile1 = $THEME_DIR . 'images/tile1.gif';
+        $tile2 = $THEME_DIR . 'images/tile2.gif';
+    } elseif (defined('THEME_HAS_FILM_STRIP_GRAPHIC')) {
+        $tile1=$tile2=$THEME_DIR . 'images/tile.gif';
+    } else {
+        $tile1=$tile2= 'images/tile.gif';
+    }
+
+    $params = array('{THUMB_STRIP}' => $thumb_strip,
+        '{COLS}' => $i,
+        '{TILE1}' => $tile1,
+        '{TILE2}' => $tile2,
+        );
+
+    ob_start();
+    starttable($CONFIG['picture_table_width']);
+    echo template_eval($template, $params);
+    endtable();
+    $film_strip = ob_get_contents();
+    ob_end_clean();
+
+    return $film_strip;
+}
+}  //{THEMES}
+
+if (!function_exists('theme_no_img_to_display')) {  //{THEMES}
+function theme_no_img_to_display($album_name)
+{
+    global $lang_errors, $template_no_img_to_display;
+
+    static $template = '';
+    static $spacer;
+
+    if ((!$template)) {
+        $template = $template_no_img_to_display;
+        $spacer = template_extract_block($template, 'spacer');
+    }
+
+    $params = array('{TEXT}' => $lang_errors['no_img_to_display']);
+    starttable('100%', $album_name);
+    echo template_eval($template, $params);
+    endtable();
+}
+}  //{THEMES}
+
+if (!function_exists('theme_display_image')) {  //{THEMES}
+function theme_display_image($nav_menu, $picture, $votes, $pic_info, $comments, $film_strip)
+{
+    global $CONFIG;
+
+    $width = $CONFIG['picture_table_width'];
+
+    starttable();
+    echo $nav_menu;
+    endtable();
+
+    starttable();
+    echo $picture;
+    endtable();
+    if ($CONFIG['display_film_strip'] == 1) {
+        echo $film_strip;
+    }
+
+
+    echo $votes;
+
+
+
+    $picinfo = isset($_COOKIE['picinfo']) ? $_COOKIE['picinfo'] : ($CONFIG['display_pic_info'] ? 'block' : 'none');
+    echo "<div id=\"picinfo\" style=\"display: $picinfo;\">\n";
+    starttable();
+    echo $pic_info;
+    endtable();
+    echo "</div>\n";
+
+    echo "<div id=\"comments\">\n";
+        echo $comments;
+        echo "</div>\n";
+
+}
+}  //{THEMES}
+
+if (!function_exists('theme_html_picinfo')) {  //{THEMES}
+function theme_html_picinfo(&$info)
+{
+    global $lang_picinfo;
+
+    $html = '';
+
+    $html .= "        <tr><td colspan=\"2\" class=\"tableh2_compact\"><b>{$lang_picinfo['title']}</b></td></tr>\n";
+    $template = "        <tr><td class=\"tableb_compact\" valign=\"top\" >%s:</td><td class=\"tableb_compact\">%s</td></tr>\n";
+    foreach ($info as $key => $value) $html .= sprintf($template, $key, $value);
+
+    return $html;
+}
+}  //{THEMES}
+
+// Displays a picture
+if (!function_exists('theme_html_picture')) {  //{THEMES}
+function theme_html_picture()
+{
+    global $CONFIG, $CURRENT_PIC_DATA, $CURRENT_ALBUM_DATA, $USER;
+    global $album, $comment_date_fmt, $template_display_media;
+    global $lang_display_image_php, $lang_picinfo;
+
+    $pid = $CURRENT_PIC_DATA['pid'];
+    $pic_title = '';
+
+    if (!isset($USER['liv']) || !is_array($USER['liv'])) {
+        $USER['liv'] = array();
+    }
+    // Add 1 to hit counter
+    if (!USER_IS_ADMIN && !in_array($pid, $USER['liv']) && isset($_COOKIE[$CONFIG['cookie_name'] . '_data'])) {
+        add_hit($pid);
+        if (count($USER['liv']) > 4) array_shift($USER['liv']);
+        array_push($USER['liv'], $pid);
+    }
+
+    if($CONFIG['thumb_use']=='ht' && $CURRENT_PIC_DATA['pheight'] > $CONFIG['picture_width'] ){ // The wierd comparision is because only picture_width is stored
+      $condition = true;
+    }elseif($CONFIG['thumb_use']=='wd' && $CURRENT_PIC_DATA['pwidth'] > $CONFIG['picture_width']){
+      $condition = true;
+    }elseif($CONFIG['thumb_use']=='any' && max($CURRENT_PIC_DATA['pwidth'], $CURRENT_PIC_DATA['pheight']) > $CONFIG['picture_width']){
+      $condition = true;
+    }else{
+     $condition = false;
+    }
+
+    if ($CURRENT_PIC_DATA['title'] != '') {
+        $pic_title .= $CURRENT_PIC_DATA['title'] . "\n";
+    }
+    if ($CURRENT_PIC_DATA['caption'] != '') {
+        $pic_title .= $CURRENT_PIC_DATA['caption'] . "\n";
+    }
+    if ($CURRENT_PIC_DATA['keywords'] != '') {
+        $pic_title .= $lang_picinfo['Keywords'] . ": " . $CURRENT_PIC_DATA['keywords'];
+    }
+
+    if (!$CURRENT_PIC_DATA['title'] && !$CURRENT_PIC_DATA['caption']) {
+        template_extract_block($template_display_media, 'img_desc');
+    } else {
+        if (!$CURRENT_PIC_DATA['title']) {
+            template_extract_block($template_display_media, 'title');
+        }
+        if (!$CURRENT_PIC_DATA['caption']) {
+            template_extract_block($template_display_media, 'caption');
+        }
+    }
+
+    $CURRENT_PIC_DATA['menu'] = html_picture_menu(); //((USER_ADMIN_MODE && $CURRENT_ALBUM_DATA['category'] == FIRST_USER_CAT + USER_ID) || ($CONFIG['users_can_edit_pics'] && $CURRENT_PIC_DATA['owner_id'] == USER_ID && USER_ID != 0) || GALLERY_ADMIN_MODE) ? html_picture_menu($pid) : '';
+
+    if ($CONFIG['make_intermediate'] && $condition ) {
+        $picture_url = get_pic_url($CURRENT_PIC_DATA, 'normal');
+    } else {
+        $picture_url = get_pic_url($CURRENT_PIC_DATA, 'fullsize');
+    }
+
+    $image_size = compute_img_size($CURRENT_PIC_DATA['pwidth'], $CURRENT_PIC_DATA['pheight'], $CONFIG['picture_width']);
+
+    $pic_title = '';
+    $mime_content = cpg_get_type($CURRENT_PIC_DATA['filename']);
+
+
+    if ($mime_content['content']=='movie' || $mime_content['content']=='audio') {
+
+        if ($CURRENT_PIC_DATA['pwidth']==0 || $CURRENT_PIC_DATA['pheight']==0) {
+            $CURRENT_PIC_DATA['pwidth']  = 320; // Default width
+
+            // Set default height; if file is a movie
+            if ($mime_content['content']=='movie') {
+                $CURRENT_PIC_DATA['pheight'] = 240; // Default height
+            }
+        }
+
+        $ctrl_offset['mov']=15;
+        $ctrl_offset['wmv']=45;
+        $ctrl_offset['swf']=0;
+        $ctrl_offset['rm']=0;
+        $ctrl_offset_default=45;
+        $ctrl_height = (isset($ctrl_offset[$mime_content['extension']]))?($ctrl_offset[$mime_content['extension']]):$ctrl_offset_default;
+        $image_size['whole']='width="'.$CURRENT_PIC_DATA['pwidth'].'" height="'.($CURRENT_PIC_DATA['pheight']+$ctrl_height).'"';
+    }
+
+    if ($mime_content['content']=='image') {
+        if (isset($image_size['reduced'])) {
+            $winsizeX = $CURRENT_PIC_DATA['pwidth']+5;  //the +'s are the mysterious FF and IE paddings
+            $winsizeY = $CURRENT_PIC_DATA['pheight']+3; //the +'s are the mysterious FF and IE paddings
+            $pic_html = "<a href=\"javascript:;\" onclick=\"MM_openBrWindow('displayimage.php?pid=$pid&amp;fullsize=1','" . uniqid(rand()) . "','scrollbars=yes,toolbar=no,status=no,resizable=yes,width=$winsizeX,height=$winsizeY')\">";
+            $pic_title = $lang_display_image_php['view_fs'] . "\n==============\n" . $pic_title;
+            $pic_html .= "<img src=\"" . $picture_url . "\" class=\"image\" border=\"0\" alt=\"{$lang_display_image_php['view_fs']}\" /><br />";
+            $pic_html .= "</a>\n";
+        } else {
+            $pic_html = "<img src=\"" . $picture_url . "\" {$image_size['geom']} class=\"image\" border=\"0\" alt=\"\" /><br />\n";
+        }
+    } elseif ($mime_content['content']=='document') {
+        $pic_thumb_url = get_pic_url($CURRENT_PIC_DATA,'thumb');
+        $pic_html = "<a href=\"{$picture_url}\" target=\"_blank\" class=\"document_link\"><img src=\"".$pic_thumb_url."\" border=\"0\" class=\"image\" /></a>\n<br />";
+    } else {
+        $autostart = ($CONFIG['media_autostart']) ? ('true'):('false');
+
+        $players['WMP'] = array('id' => 'MediaPlayer',
+                                'clsid' => 'classid="clsid:22D6F312-B0F6-11D0-94AB-0080C74C7E95" ',
+                                'codebase' => 'codebase="http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=6,4,7,1112" ',
+                                'mime' => 'type="application/x-mplayer2" ',
+                               );
+        $players['RMP'] = array('id' => 'RealPlayer',
+                                'clsid' => 'classid="clsid:CFCDAA03-8BE4-11cf-B84B-0020AFBBCCFA" ',
+                                'codebase' => '',
+                                'mime' => 'type="audio/x-pn-realaudio-plugin" '
+                               );
+        $players['QT']  = array('id' => 'QuickTime',
+                                'clsid' => 'classid="clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B" ',
+                                'codebase' => 'codebase="http://www.apple.com/qtactivex/qtplugin.cab" ',
+                                'mime' => 'type="video/x-quicktime" '
+                               );
+        $players['SWF'] = array('id' => 'SWFlash',
+                                'clsid' => ' classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" ',
+                                'codebase' => 'codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" ',
+                                'mime' => 'type="application/x-shockwave-flash" '
+                               );
+        $players['UNK'] = array('id' => 'DefaultPlayer',
+                                'clsid' => '',
+                                'codebase' => '',
+                                'mime' => ''
+                               );
+
+        if (isset($_COOKIE[$CONFIG['cookie_name'].'_'.$mime_content['extension'].'player'])) {
+            $user_player = $_COOKIE[$CONFIG['cookie_name'].'_'.$mime_content['extension'].'player'];
+        } else {
+            $user_player = $mime_content['player'];
+        }
+
+                // There isn't a player selected or user wants client-side control
+        if (!$user_player) {
+            $user_player = 'UNK';
+        }
+
+        $player = $players[$user_player];
+
+        $pic_html  = '<object id="'.$player['id'].'" '.$player['clsid'].$player['codebase'].$player['mime'].$image_size['whole'].'>';
+        $pic_html .= "<param name=\"autostart\" value=\"$autostart\" /><param name=\"src\" value=\"". $picture_url . "\" />";
+        $pic_html .= '<embed '.$image_size['whole'].' src="'. $picture_url . '" autostart="'.$autostart.'" '.$player['mime'].'></embed>';
+        $pic_html .= "</object><br />\n";
+    }
+
+    $CURRENT_PIC_DATA['html'] = $pic_html;
+    $CURRENT_PIC_DATA['header'] = '';
+    $CURRENT_PIC_DATA['footer'] = '';
+
+    $CURRENT_PIC_DATA = CPGPluginAPI::filter('file_data',$CURRENT_PIC_DATA);
+
+    $params = array('{CELL_HEIGHT}' => '100',
+        '{IMAGE}' => $CURRENT_PIC_DATA['header'].$CURRENT_PIC_DATA['html'].$CURRENT_PIC_DATA['footer'],
+        '{ADMIN_MENU}' => $CURRENT_PIC_DATA['menu'],
+        '{TITLE}' => bb_decode($CURRENT_PIC_DATA['title']),
+        '{CAPTION}' => bb_decode($CURRENT_PIC_DATA['caption']),
+        );
+
+    return template_eval($template_display_media, $params);
+}
+}  //{THEMES}
+
+if (!function_exists('theme_html_img_nav_menu')) {  //{THEMES}
+function theme_html_img_nav_menu()
+{
+    global $CONFIG, $CURRENT_PIC_DATA, $meta_nav, $THEME_DIR ; //$PHP_SELF,
+    global $album, $cat, $pos, $pic_count, $lang_img_nav_bar, $lang_text_dir, $template_img_navbar;
+
+    $cat_link = is_numeric($album) ? '' : '&amp;cat=' . $cat;
+    $uid_link = (isset($_GET['uid']) && is_numeric($_GET['uid'])) ? '&amp;uid=' . $_GET['uid'] : '';
+
+    $human_pos = $pos + 1;
+    $page = ceil(($pos + 1) / ($CONFIG['thumbrows'] * $CONFIG['thumbcols']));
+    $pid = $CURRENT_PIC_DATA['pid'];
+    $linebreak = "\r\n";
+
+    $start = 0;
+        $start_tgt = "{$_SERVER['PHP_SELF']}?album=$album$cat_link&amp;pos=$start";
+        $start_title = $lang_img_nav_bar['go_album_start'];
+        $meta_nav .= $linebreak . "<link rel=\"start\" href=\"$start_tgt\" title=\"$start_title\" />";
+        $end = $pic_count - 1;
+        $end_tgt = "{$_SERVER['PHP_SELF']}?album=$album$cat_link&amp;pos=$end";
+        $end_title = $lang_img_nav_bar['go_album_end'];
+        $meta_nav .= $linebreak . "<link rel=\"last\" href=\"$end_tgt\" title=\"$end_title\" />";
+
+    if ($pos > 0) {
+        $prev = $pos - 1;
+        $prev_tgt = "{$_SERVER['PHP_SELF']}?album=$album$cat_link&amp;pos=$prev$uid_link";
+        $prev_title = $lang_img_nav_bar['prev_title'];
+        $meta_nav .= $linebreak . "<link rel=\"prev\" href=\"$prev_tgt\" title=\"$prev_title\" />";
+    } else {
+        $prev_tgt = "javascript:;";
+        $prev_title = "";
+    }
+
+    if ($pos < ($pic_count -1)) {
+        $next = $pos + 1;
+        $next_tgt = "{$_SERVER['PHP_SELF']}?album=$album$cat_link&amp;pos=$next$uid_link";
+        $next_title = $lang_img_nav_bar['next_title'];
+        $meta_nav .= $linebreak . "<link rel=\"next\" href=\"$next_tgt\" title=\"$next_title\"/>";
+    } else {
+        $next_tgt = "javascript:;";
+        $next_title = "";
+    }
+
+    if (USER_CAN_SEND_ECARDS) {
+        $ecard_tgt = "ecard.php?album=$album$cat_link&amp;pid=$pid&amp;pos=$pos";
+        $ecard_title = $lang_img_nav_bar['ecard_title'];
+    } else {
+        template_extract_block($template_img_navbar, 'ecard_button'); // added to remove button if cannot send ecard
+    }
+
+    //report to moderator buttons
+    $report_tgt = '';
+    if (($CONFIG['report_post']==1) && (USER_CAN_SEND_ECARDS)) {
+        $report_tgt = "report_file.php?album=$album$cat_link&amp;pid=$pid&amp;pos=$pos";
+    } else { // remove button if report toggle is off
+        template_extract_block($template_img_navbar, 'report_file_button');
+
+    }
+
+    $thumb_tgt = "thumbnails.php?album=$album$cat_link&amp;page=$page$uid_link";
+    $meta_nav .= $linebreak . "<link rel=\"up\" href=\"$thumb_tgt\" title=\"".$lang_img_nav_bar['thumb_title']."\"/>";
+
+    $slideshow_tgt = "{$_SERVER['PHP_SELF']}?album=$album$cat_link$uid_link&amp;pid=$pid&amp;slideshow=".$CONFIG['slideshow_interval'];
+
+    $pic_pos = sprintf($lang_img_nav_bar['pic_pos'], $human_pos, $pic_count);
+
+    if (defined('THEME_HAS_NAVBAR_GRAPHICS')) {
+            $location= $THEME_DIR;
+        } else {
+            $location= '';
+        }
+
+    $params = array('{THUMB_TGT}' => $thumb_tgt,
+        '{THUMB_TITLE}' => $lang_img_nav_bar['thumb_title'],
+        '{PIC_INFO_TITLE}' => $lang_img_nav_bar['pic_info_title'],
+        '{SLIDESHOW_TGT}' => $slideshow_tgt,
+        '{SLIDESHOW_TITLE}' => $lang_img_nav_bar['slideshow_title'],
+        '{PIC_POS}' => $pic_pos,
+        '{ECARD_TGT}' => $ecard_tgt,
+        '{ECARD_TITLE}' => $ecard_title,
+        '{PREV_TGT}' => $prev_tgt,
+        '{PREV_TITLE}' => $prev_title,
+        '{NEXT_TGT}' => $next_tgt,
+        '{NEXT_TITLE}' => $next_title,
+        '{PREV_IMAGE}' => ($lang_text_dir=='ltr') ? 'prev' : 'next',
+        '{NEXT_IMAGE}' => ($lang_text_dir=='ltr') ? 'next' : 'prev',
+        '{REPORT_TGT}' => $report_tgt,
+        '{REPORT_TITLE}' => $lang_img_nav_bar['report_title'],
+        '{LOCATION}' => $location,
+        );
+
+    return template_eval($template_img_navbar, $params);
+}
+}  //{THEMES}
+
+if (!function_exists('theme_html_rating_box')) {  //{THEMES}
+function theme_html_rating_box()
+{
+    global $CONFIG, $CURRENT_PIC_DATA, $CURRENT_ALBUM_DATA, $THEME_DIR;
+    global $template_image_rating, $lang_rate_pic;
+
+    if (!(USER_CAN_RATE_PICTURES && $CURRENT_ALBUM_DATA['votes'] == 'YES')) return '';
+
+    $votes = $CURRENT_PIC_DATA['votes'] ? sprintf($lang_rate_pic['rating'], round($CURRENT_PIC_DATA['pic_rating'] / 2000, 1), $CURRENT_PIC_DATA['votes']) : $lang_rate_pic['no_votes'];
+    $pid = $CURRENT_PIC_DATA['pid'];
+
+    if (defined('THEME_HAS_RATING_GRAPHICS')) {
+        $location= $THEME_DIR;
+    } else {
+        $location= '';
+    }
+
+    $params = array('{TITLE}' => $lang_rate_pic['rate_this_pic'],
+        '{VOTES}' => $votes,
+        '{RATE0}' => "ratepic.php?pic=$pid&amp;rate=0",
+        '{RATE1}' => "ratepic.php?pic=$pid&amp;rate=1",
+        '{RATE2}' => "ratepic.php?pic=$pid&amp;rate=2",
+        '{RATE3}' => "ratepic.php?pic=$pid&amp;rate=3",
+        '{RATE4}' => "ratepic.php?pic=$pid&amp;rate=4",
+        '{RATE5}' => "ratepic.php?pic=$pid&amp;rate=5",
+        '{RUBBISH}' => $lang_rate_pic['rubbish'],
+        '{POOR}' => $lang_rate_pic['poor'],
+        '{FAIR}' => $lang_rate_pic['fair'],
+        '{GOOD}' => $lang_rate_pic['good'],
+        '{EXCELLENT}' => $lang_rate_pic['excellent'],
+        '{GREAT}' => $lang_rate_pic['great'],
+        '{WIDTH}' => $CONFIG['picture_table_width'],
+        '{LOCATION}' => $location,        //theme dir or default images directory
+        );
+
+    return template_eval($template_image_rating, $params);
+}
+}  //{THEMES}
+
+// Displays comments for a specific picture
+if (!function_exists('theme_html_comments')) {  //{THEMES}
+function theme_html_comments($pid)
+{
+    global $CONFIG, $USER, $CURRENT_ALBUM_DATA, $comment_date_fmt, $HTML_SUBST;
+    global $template_image_comments, $template_add_your_comment, $lang_display_comments;
+
+    $html = '';
+
+    // report to moderator buttons
+    if (!(($CONFIG['report_post']==1) && (USER_CAN_SEND_ECARDS))) {
+        template_extract_block($template_image_comments, 'report_comment_button');
+    }
+
+    if (!$CONFIG['enable_smilies']) {
+        $tmpl_comment_edit_box = template_extract_block($template_image_comments, 'edit_box_no_smilies', '{EDIT}');
+        template_extract_block($template_image_comments, 'edit_box_smilies');
+        template_extract_block($template_add_your_comment, 'input_box_smilies');
+    } else {
+        $tmpl_comment_edit_box = template_extract_block($template_image_comments, 'edit_box_smilies', '{EDIT}');
+        template_extract_block($template_image_comments, 'edit_box_no_smilies');
+        template_extract_block($template_add_your_comment, 'input_box_no_smilies');
+    }
+
+    $tmpl_comments_buttons = template_extract_block($template_image_comments, 'buttons', '{BUTTONS}');
+    $tmpl_comments_ipinfo = template_extract_block($template_image_comments, 'ipinfo', '{IPINFO}');
+
+    if ($CONFIG['comments_sort_descending'] == 1) {
+        $comment_sort_order = 'DESC';
+    } else {
+        $comment_sort_order = 'ASC';
+    }
+    $result = cpg_db_query("SELECT msg_id, msg_author, msg_body, UNIX_TIMESTAMP(msg_date) AS msg_date, author_id, author_md5_id, msg_raw_ip, msg_hdr_ip, pid FROM {$CONFIG['TABLE_COMMENTS']} WHERE pid='$pid' ORDER BY msg_id $comment_sort_order");
+
+    while ($row = mysql_fetch_array($result)) {
+        $user_can_edit = (GALLERY_ADMIN_MODE) || (USER_ID && USER_ID == $row['author_id'] && USER_CAN_POST_COMMENTS) || (!USER_ID && USER_CAN_POST_COMMENTS && ($USER['ID'] == $row['author_md5_id']));
+        $comment_buttons = $user_can_edit ? $tmpl_comments_buttons : '';
+        $comment_edit_box = $user_can_edit ? $tmpl_comment_edit_box : '';
+        $comment_ipinfo = ($row['msg_raw_ip'] && GALLERY_ADMIN_MODE)?$tmpl_comments_ipinfo : '';
+
+        if ($CONFIG['enable_smilies']) {
+            $comment_body = process_smilies(make_clickable($row['msg_body']));
+            $smilies = generate_smilies("f{$row['msg_id']}", 'msg_body');
+        } else {
+            $comment_body = make_clickable($row['msg_body']);
+            $smilies = '';
+        }
+
+        $ip = $row['msg_hdr_ip'];
+        if ($row['msg_hdr_ip'] != $row['msg_raw_ip']) {
+            $ip .= ' [' . $row['msg_raw_ip'] . ']';
+        }
+
+        $params = array('{EDIT}' => &$comment_edit_box,
+            '{BUTTONS}' => &$comment_buttons,
+            '{IPINFO}' => &$comment_ipinfo
+            );
+
+        $template = template_eval($template_image_comments, $params);
+
+        $params = array('{MSG_AUTHOR}' => stripslashes($row['msg_author']),
+            '{MSG_ID}' => $row['msg_id'],
+            '{PID}' => $row['pid'],
+            '{EDIT_TITLE}' => &$lang_display_comments['edit_title'],
+            '{CONFIRM_DELETE}' => &$lang_display_comments['confirm_delete'],
+            '{MSG_DATE}' => localised_date($row['msg_date'], $comment_date_fmt),
+            '{MSG_BODY}' => bb_decode($comment_body),
+            '{MSG_BODY_RAW}' => $row['msg_body'],
+            '{OK}' => &$lang_display_comments['OK'],
+            '{SMILIES}' => $smilies,
+            '{IP}' => $ip,
+            '{REPORT_COMMENT_TITLE}' => &$lang_display_comments['report_comment_title'],
+            '{WIDTH}' => $CONFIG['picture_table_width']
+            );
+
+        $html .= template_eval($template, $params);
+    }
+
+    if (USER_CAN_POST_COMMENTS && $CURRENT_ALBUM_DATA['comments'] == 'YES') {
+        if (USER_ID) {
+            $user_name_input = '<tr><td><input type="hidden" name="msg_author" value="' . stripslashes(USER_NAME) . '" /></td>';
+            template_extract_block($template_add_your_comment, 'user_name_input', $user_name_input);
+            $user_name = '';
+        } else {
+            if (isset($USER['name'])) {
+              $user_name = strtr($USER['name'], $HTML_SUBST);
+            } else {
+              $user_name = $lang_display_comments['your_name'];
+            }
+        }
+
+        $params = array('{ADD_YOUR_COMMENT}' => $lang_display_comments['add_your_comment'],
+            // Modified Name and comment field
+            '{NAME}' => $lang_display_comments['name'],
+            '{COMMENT}' => $lang_display_comments['comment'],
+            '{PIC_ID}' => $pid,
+            '{USER_NAME}' => $user_name,
+            '{MAX_COM_LENGTH}' => $CONFIG['max_com_size'],
+            '{OK}' => $lang_display_comments['OK'],
+            '{SMILIES}' => '',
+            '{WIDTH}' => $CONFIG['picture_table_width'],
+            );
+
+        if ($CONFIG['enable_smilies']){
+                        $params['{SMILIES}'] = generate_smilies();
+                } else {
+                        template_extract_block($template_add_your_comment, 'smilies');
+                }
+
+        $html .= template_eval($template_add_your_comment, $params);
+    }
+
+    return $html;
+}
+}  //{THEMES}
+
+if (!function_exists('theme_slideshow')) {  //{THEMES}
+function theme_slideshow()
+{
+    global $CONFIG, $lang_display_image_php, $template_display_media;
+
+    pageheader($lang_display_image_php['slideshow']);
+
+    include "include/slideshow.inc.php";
+
+    $start_slideshow = '<script language="JavaScript" type="text/JavaScript">runSlideShow()</script>';
+    template_extract_block($template_display_media, 'img_desc', $start_slideshow);
+
+    $params = array('{CELL_HEIGHT}' => $CONFIG['picture_width'] + 100,
+        '{IMAGE}' => '<img src="' . $start_img . '" name="SlideShow" class="image" /><br />',
+        '{ADMIN_MENU}' => '',
+        );
+
+    starttable();
+    echo template_eval($template_display_media, $params);
+    endtable();
+    starttable();
+    echo <<<EOT
+        <tr>
+                <td align="center" class="navmenu" style="white-space: nowrap;">
+                        <a href="javascript:endSlideShow()" class="navmenu">{$lang_display_image_php['stop_slideshow']}</a>
+                </td>
+        </tr>
+
+EOT;
+    endtable();
+    pagefooter();
+}
+}  //{THEMES}
+
+// Display the full size image
+if (!function_exists('theme_display_fullsize_pic')) {  //{THEMES}
+function theme_display_fullsize_pic()
+{
+    global $CONFIG, $THEME_DIR, $ALBUM_SET;
+    global $lang_errors, $lang_fullsize_popup, $lang_charset;
+
+    if (isset($_GET['picfile']))
+    {
+        if (!GALLERY_ADMIN_MODE) cpg_die(ERROR, $lang_errors['access_denied'], __FILE__, __LINE__);
+
+    $picfile = $_GET['picfile'];
+    $picname = $CONFIG['fullpath'] . $picfile;
+    $imagesize = @getimagesize($picname);
+    $imagedata = array('name' => $picfile, 'path' => path2url($picname), 'geometry' => $imagesize[3]);
+    }
+    elseif (isset($_GET['pid']))
+    {
+    $pid = (int)$_GET['pid'];
+    $sql = "SELECT * " . "FROM {$CONFIG['TABLE_PICTURES']} " . "WHERE pid='$pid' $ALBUM_SET";
+    $result = cpg_db_query($sql);
+
+    if (!mysql_num_rows($result)) cpg_die(ERROR, $lang_errors['non_exist_ap'], __FILE__, __LINE__);
+
+    $row = mysql_fetch_array($result);
+    $pic_url = get_pic_url($row, 'fullsize');
+    $geom = 'width="' . $row['pwidth'] . '" height="' . $row['pheight'] . '"';
+    $imagedata = array('name' => $row['filename'], 'path' => $pic_url, 'geometry' => $geom);
+    }
+
+?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html>
+  <head>
+  <meta http-equiv="content-type" content="text/html; charset=<?php echo $CONFIG['charset'] == 'language file' ? $lang_charset : $CONFIG['charset'] ?>" />
+  <title><?php echo $CONFIG['gallery_name'] ?>: <?php echo $lang_fullsize_popup['click_to_close'];
+      ?></title>
+  <script type="text/javascript" src="scripts.js"></script>
+  <style type="text/css">
+  body { margin: 0; padding: 0; background-color: gray; }
+  img { margin:0; padding:0; border:0; }
+  #content { margin:0 auto; padding:0; border:0; }
+  table { border:0; height:100%; width:100%; border-collapse:collapse}
+  td {         vertical-align: middle; text-align:center; }
+  </style>
+  </head>
+  <body>
+    <script language="JavaScript" type="text/JavaScript">
+      adjust_popup();
+    </script>
+    <table>
+      <tr>
+            <td>
+          <div id="content">
+              <?php     echo  '<a href="javascript: window.close()"><img src="'
+                . htmlspecialchars($imagedata['path']) . '" '
+                . $imagedata['geometry']
+                . 'alt="'
+                . htmlspecialchars($imagedata['name'])
+                . '" title="'
+                . htmlspecialchars($imagedata['name'])
+                . "\n" . $lang_fullsize_popup['click_to_close']
+                . '" /></a><br />' ."\n";
+               ?>
+          </div>
+        </td>
+      </tr>
+    </table>
+  </body>
+</html>
+<?php
+}
+}  //{THEMES}
+
+
+if (!function_exists('theme_vanity')) {  //{THEMES}
+function theme_vanity()
+{
+    global $CONFIG, $THEME_DIR, $template_vanity ;
+
+    if (defined('THEME_HAS_VANITY_GRAPHICS')) {
+            $location= $THEME_DIR;
+        } else {
+            $location= '';
+        }
+
+    $params = array('{LOCATION}' => $location);
+
+    return template_eval($template_vanity, $params);
+}
+} //{THEMES}
+
+// Function to display messages which are shown only to admin
+if (!function_exists('adminmessages')) { //{THEMES}
+function adminmessages()
+{
+    global $register_globals_flag, $lang_errors;
+    // If user is not admin (and in admin mode), then return
+    if (!GALLERY_ADMIN_MODE) {
+        return;
+    }
+    // If register_globals is On, then show the warning message.
+    if ($register_globals_flag == true) {
+        if ($lang_errors['register_globals_on'] != '') {
+            $message = $lang_errors['register_globals_on'];
+        } else {
+            $message = 'The PHP setting register_globals is enabled on your server, which is a bad idea in terms of security. It\'s strongly recommended to turn it off. [<a href="http://forum.coppermine-gallery.net/index.php/topic,59569.0.html" rel="external" class="external">more</a>]';
+        }
+        echo '<div style="padding:5px;color:#ff0000;font-weight:bold;font-size:120%;text-align:center;">' . $message . '</div>';
+    }
+}
+} //{THEMES}
 ?>
\ No newline at end of file
diff -x .svn -aruN 1.4.24.src/include/update.inc.php 1.4.25.src/include/update.inc.php
--- 1.4.24.src/include/update.inc.php	2009-05-21 15:03:09.000000000 -0500
+++ 1.4.25.src/include/update.inc.php	2009-05-26 11:25:42.000000000 -0500
@@ -1,125 +1,125 @@
-<?php
-/*************************
-  Coppermine Photo Gallery
-  ************************
-  Copyright (c) 2003-2009 Coppermine Dev Team
-  v1.1 originally written by Gregory DEMAR
-
-  This program is free software; you can redistribute it and/or modify
-  it under the terms of the GNU General Public License version 3
-  as published by the Free Software Foundation.
-  
-  ********************************************
-  Coppermine version: 1.4.24
-  $HeadURL: https://coppermine.svn.sourceforge.net/svnroot/coppermine/trunk/cpg1.4.x/include/update.inc.php $
-  $Revision: 5969 $
-  $Author: gaugau $
-  $Date: 2009-05-21 22:03:33 +0200 (Do, 21 Mai 2009) $
-**********************************************/
-
-
-// ------------------------- HTML OUTPUT FUNCTIONS ------------------------- //
-function html_prereq_errors($error_msg)
-{
-    ?>
-    <h2>Welcome to Coppermine installation</h2>
-
-    <form action="install.php">
-    <h2 class="error">&#149;&nbsp;&#149;&nbsp;&#149;&nbsp;ERROR&nbsp;&#149;&nbsp;&#149;&nbsp;&#149;</h2>
-
-        <p class="tableb"> Before you continue with the Coppermine upgrade, there are some problems that need to be fixed.<br /><br /><b><?php echo $error_msg ?></b>Once you are done, hit the "Try again" button.<br />
-        </p>
-
-        <div class="input">
-        <input type="submit" value="Try again !" /><br /><br />
-        </div>
-
-        </form>
-
-        <?php
-}
-
-function html_header($title, $charset = '')
-{
-
-    ?>
-<!doctype html public "-//W3C//DTD HTML 4.01 Transitional//EN">
-<html>
-<head>
-    <title><?php echo $title; ?></title>
-        <?php if ($charset !='') echo '<meta http-equiv="Content-Type" content="text/html; charset='.$charset.'" />'; ?>
-    <link type="text/css" rel="stylesheet" href="installer.css">
-</head>
-<body>
-
-<?php
-}
-
-function html_logo()
-{
-    echo '<img class="logo" src="images/logo.gif">';
-}
-
-
-function html_error($error_msg = '')
-{
-    global $im_installed;
-
-    ?>
-      <table width="100%" border="0" cellpadding="0" cellspacing="1" class="maintable">
-       <tr>
-            <form action="upgrade.php" method="post">
-        <td class="tableh1" colspan="2"><h2>Welcome to the Coppermine upgrade program</h2>
-        </td>
-       </tr>
-<?php
-    if ($error_msg) {
-
-        ?>
-       <tr>
-        <td class="tableh2" colspan="2" align="center"><span class="error">&#149;&nbsp;&#149;&nbsp;&#149;&nbsp;ERROR&nbsp;&#149;&nbsp;&#149;&nbsp;&#149;</span>
-        </td>
-       </tr>
-       <tr>
-        <td class="tableb" colspan="2"> The following errors were encountered and need to be corrected first:<br /><br /><b><?php echo $error_msg ?></b>
-        </td>
-       </tr>
-<?php
-    }
-
-    ?>
-
-       </tr>
-      </table>
-<?php
-}
-
-
-function html_install_success($notes)
-{
-    global $DFLT;
-//Coppermine is now upgraded and ready to roll.
-    $loginaddress = '<a href="login.php?referer=charsetmgr.php">';
-    ?>
-<h2>Upgrade completed</h2>
-
-  <!--  <p class="tableb">Please <?php echo $loginaddress ?>login</a> and proceed to the <a href="charsetmgr.php">charset manager</a> to convert the encoding of your database, if needed.</p> -->
-        <p style="align:center" class="tableh2">
-                It's recommended to <a href="versioncheck.php">check your file versions</a> if you just upgraded from an older version of coppermine.<br />
-                If you didn't (or you don't want to check), you can go to <a href="index.php">your gallery's start page</a><br />
-</p>
-                    <?php
-}
-
-function html_footer()
-{
-
-    ?>
-</body>
-</html>
-
-<?php
-}
-
-
-?>
+<?php
+/*************************
+  Coppermine Photo Gallery
+  ************************
+  Copyright (c) 2003-2009 Coppermine Dev Team
+  v1.1 originally written by Gregory DEMAR
+
+  This program is free software; you can redistribute it and/or modify
+  it under the terms of the GNU General Public License version 3
+  as published by the Free Software Foundation.
+  
+  ********************************************
+  Coppermine version: 1.4.25
+  $HeadURL: https://coppermine.svn.sourceforge.net/svnroot/coppermine/trunk/cpg1.4.x/include/update.inc.php $
+  $Revision: 5997 $
+  $Author: gaugau $
+  $Date: 2009-05-26 08:43:24 +0200 (Di, 26 Mai 2009) $
+**********************************************/
+
+
+// ------------------------- HTML OUTPUT FUNCTIONS ------------------------- //
+function html_prereq_errors($error_msg)
+{
+    ?>
+    <h2>Welcome to Coppermine installation</h2>
+
+    <form action="install.php">
+    <h2 class="error">&#149;&nbsp;&#149;&nbsp;&#149;&nbsp;ERROR&nbsp;&#149;&nbsp;&#149;&nbsp;&#149;</h2>
+
+        <p class="tableb"> Before you continue with the Coppermine upgrade, there are some problems that need to be fixed.<br /><br /><b><?php echo $error_msg ?></b>Once you are done, hit the "Try again" button.<br />
+        </p>
+
+        <div class="input">
+        <input type="submit" value="Try again !" /><br /><br />
+        </div>
+
+        </form>
+
+        <?php
+}
+
+function html_header($title, $charset = '')
+{
+
+    ?>
+<!doctype html public "-//W3C//DTD HTML 4.01 Transitional//EN">
+<html>
+<head>
+    <title><?php echo $title; ?></title>
+        <?php if ($charset !='') echo '<meta http-equiv="Content-Type" content="text/html; charset='.$charset.'" />'; ?>
+    <link type="text/css" rel="stylesheet" href="installer.css">
+</head>
+<body>
+
+<?php
+}
+
+function html_logo()
+{
+    echo '<img class="logo" src="images/logo.gif">';
+}
+
+
+function html_error($error_msg = '')
+{
+    global $im_installed;
+
+    ?>
+      <table width="100%" border="0" cellpadding="0" cellspacing="1" class="maintable">
+       <tr>
+            <form action="upgrade.php" method="post">
+        <td class="tableh1" colspan="2"><h2>Welcome to the Coppermine upgrade program</h2>
+        </td>
+       </tr>
+<?php
+    if ($error_msg) {
+
+        ?>
+       <tr>
+        <td class="tableh2" colspan="2" align="center"><span class="error">&#149;&nbsp;&#149;&nbsp;&#149;&nbsp;ERROR&nbsp;&#149;&nbsp;&#149;&nbsp;&#149;</span>
+        </td>
+       </tr>
+       <tr>
+        <td class="tableb" colspan="2"> The following errors were encountered and need to be corrected first:<br /><br /><b><?php echo $error_msg ?></b>
+        </td>
+       </tr>
+<?php
+    }
+
+    ?>
+
+       </tr>
+      </table>
+<?php
+}
+
+
+function html_install_success($notes)
+{
+    global $DFLT;
+//Coppermine is now upgraded and ready to roll.
+    $loginaddress = '<a href="login.php?referer=charsetmgr.php">';
+    ?>
+<h2>Upgrade completed</h2>
+
+  <!--  <p class="tableb">Please <?php echo $loginaddress ?>login</a> and proceed to the <a href="charsetmgr.php">charset manager</a> to convert the encoding of your database, if needed.</p> -->
+        <p style="align:center" class="tableh2">
+                It's recommended to <a href="versioncheck.php">check your file versions</a> if you just upgraded from an older version of coppermine.<br />
+                If you didn't (or you don't want to check), you can go to <a href="index.php">your gallery's start page</a><br />
+</p>
+                    <?php
+}
+
+function html_footer()
+{
+
+    ?>
+</body>
+</html>
+
+<?php
+}
+
+
+?>
diff -x .svn -aruN 1.4.24.src/include/zip.lib.php 1.4.25.src/include/zip.lib.php
--- 1.4.24.src/include/zip.lib.php	2009-05-21 15:03:09.000000000 -0500
+++ 1.4.25.src/include/zip.lib.php	2009-05-26 11:25:42.000000000 -0500
@@ -1,356 +1,356 @@
-<?php
-/*************************
-  Coppermine Photo Gallery
-  ************************
-  Copyright (c) 2003-2009 Coppermine Dev Team
-  v1.1 originally written by Gregory DEMAR
-
-  This program is free software; you can redistribute it and/or modify
-  it under the terms of the GNU General Public License version 3
-  as published by the Free Software Foundation.
-  
-  ********************************************
-  Coppermine version: 1.4.24
-  $HeadURL: https://coppermine.svn.sourceforge.net/svnroot/coppermine/trunk/cpg1.4.x/include/zip.lib.php $
-  $Revision: 5969 $
-  $Author: gaugau $
-  $Date: 2009-05-21 22:03:33 +0200 (Do, 21 Mai 2009) $
-**********************************************/
-
-// Created by bouchon
-// http://dev.maxg.info
-
-// Need help ? http://forum.maxg.info
-
-class zip
-{
-
- var $datasec, $ctrl_dir = array();
- var $eof_ctrl_dir = "\x50\x4b\x05\x06\x00\x00\x00\x00";
- var $old_offset = 0; var $dirs = Array(".");
-
- function get_List($zip_name)
- {
-   $zip = @fopen($zip_name, 'rb');
-   if(!$zip) return(0);
-   $centd = $this->ReadCentralDir($zip,$zip_name);
-
-    @rewind($zip);
-    @fseek($zip, $centd['offset']);
-
-   for ($i=0; $i<$centd['entries']; $i++)
-   {
-    $header = $this->ReadCentralFileHeaders($zip);
-    $header['index'] = $i;$info['filename'] = $header['filename'];
-    $info['stored_filename'] = $header['stored_filename'];
-    $info['size'] = $header['size'];$info['compressed_size']=$header['compressed_size'];
-    $info['crc'] = strtoupper(dechex( $header['crc'] ));
-    $info['mtime'] = $header['mtime']; $info['comment'] = $header['comment'];
-    $info['folder'] = ($header['external']==0x41FF0010||$header['external']==16)?1:0;
-    $info['index'] = $header['index'];$info['status'] = $header['status'];
-    $ret[]=$info; unset($header);
-   }
-  return $ret;
- }
-
- function Add($files,$compact)
- {
-  if(!is_array($files[0])) $files=Array($files);
-
-  for($i=0;$files[$i];$i++){
-    $fn = $files[$i];
-    if(!in_Array(dirname($fn[0]),$this->dirs))
-     $this->add_Dir(dirname($fn[0]));
-    if(basename($fn[0]))
-     $ret[basename($fn[0])]=$this->add_File($fn[1],$fn[0],$compact);
-  }
-  return $ret;
- }
-
- function get_file()
- {
-   $data = implode('', $this -> datasec);
-   $ctrldir = implode('', $this -> ctrl_dir);
-
-   return $data . $ctrldir . $this -> eof_ctrl_dir .
-    pack('v', sizeof($this -> ctrl_dir)).pack('v', sizeof($this -> ctrl_dir)).
-    pack('V', strlen($ctrldir)) . pack('V', strlen($data)) . "\x00\x00";
- }
-
- function add_dir($name)
- {
-   $name = str_replace("\\", "/", $name);
-   $fr = "\x50\x4b\x03\x04\x0a\x00\x00\x00\x00\x00\x00\x00\x00\x00";
-
-   $fr .= pack("V",0).pack("V",0).pack("V",0).pack("v", strlen($name) );
-   $fr .= pack("v", 0 ).$name.pack("V", 0).pack("V", 0).pack("V", 0);
-   $this -> datasec[] = $fr;
-
-   $new_offset = strlen(implode("", $this->datasec));
-
-   $cdrec = "\x50\x4b\x01\x02\x00\x00\x0a\x00\x00\x00\x00\x00\x00\x00\x00\x00";
-   $cdrec .= pack("V",0).pack("V",0).pack("V",0).pack("v", strlen($name) );
-   $cdrec .= pack("v", 0 ).pack("v", 0 ).pack("v", 0 ).pack("v", 0 );
-   $ext = "\xff\xff\xff\xff";
-   $cdrec .= pack("V", 16 ).pack("V", $this -> old_offset ).$name;
-
-   $this -> ctrl_dir[] = $cdrec;
-   $this -> old_offset = $new_offset;
-   $this -> dirs[] = $name;
- }
-
- function add_File($data, $name, $compact = 1)
- {
-   $name     = str_replace('\\', '/', $name);
-   $dtime    = dechex($this->DosTime());
-
-   $hexdtime = '\x' . $dtime[6] . $dtime[7].'\x'.$dtime[4] . $dtime[5]
-     . '\x' . $dtime[2] . $dtime[3].'\x'.$dtime[0].$dtime[1];
-   eval('$hexdtime = "' . $hexdtime . '";');
-
-   if($compact)
-   $fr = "\x50\x4b\x03\x04\x14\x00\x00\x00\x08\x00".$hexdtime;
-   else $fr = "\x50\x4b\x03\x04\x0a\x00\x00\x00\x00\x00".$hexdtime;
-   $unc_len = strlen($data); $crc = crc32($data);
-
-   if($compact){
-     $zdata = gzcompress($data); $c_len = strlen($zdata);
-     $zdata = substr(substr($zdata, 0, strlen($zdata) - 4), 2);
-   }else{
-     $zdata = $data;
-   }
-   $c_len=strlen($zdata);
-   $fr .= pack('V', $crc).pack('V', $c_len).pack('V', $unc_len);
-   $fr .= pack('v', strlen($name)).pack('v', 0).$name.$zdata;
-
-   $fr .= pack('V', $crc).pack('V', $c_len).pack('V', $unc_len);
-
-   $this -> datasec[] = $fr;
-   $new_offset        = strlen(implode('', $this->datasec));
-   if($compact)
-        $cdrec = "\x50\x4b\x01\x02\x00\x00\x14\x00\x00\x00\x08\x00";
-   else $cdrec = "\x50\x4b\x01\x02\x14\x00\x0a\x00\x00\x00\x00\x00";
-   $cdrec .= $hexdtime.pack('V', $crc).pack('V', $c_len).pack('V', $unc_len);
-   $cdrec .= pack('v', strlen($name) ).pack('v', 0 ).pack('v', 0 );
-   $cdrec .= pack('v', 0 ).pack('v', 0 ).pack('V', 32 );
-   $cdrec .= pack('V', $this -> old_offset );
-
-   $this -> old_offset = $new_offset;
-   $cdrec .= $name;
-   $this -> ctrl_dir[] = $cdrec;
-   return true;
- }
-
- function DosTime() {
-   $timearray = getdate();
-   if ($timearray['year'] < 1980) {
-     $timearray['year'] = 1980; $timearray['mon'] = 1;
-     $timearray['mday'] = 1; $timearray['hours'] = 0;
-     $timearray['minutes'] = 0; $timearray['seconds'] = 0;
-   }
-   return (($timearray['year'] - 1980) << 25) | ($timearray['mon'] << 21) |     ($timearray['mday'] << 16) | ($timearray['hours'] << 11) |
-    ($timearray['minutes'] << 5) | ($timearray['seconds'] >> 1);
- }
-
- function Extract ( $zn, $to, $index = Array(-1) )
- {
-   if(!@is_dir($to)) @mkdir($to,0777);
-   $ok = 0; $zip = @fopen($zn,'rb');
-   if(!$zip) return(-1);
-   $cdir = $this->ReadCentralDir($zip,$zn);
-   $pos_entry = $cdir['offset'];
-
-   if(!is_array($index)){ $index = array($index);  }
-   for($i=0; $index[$i];$i++){
-     if(intval($index[$i])!=$index[$i]||$index[$i]>$cdir['entries'])
-      return(-1);
-   }
-
-   for ($i=0; $i<$cdir['entries']; $i++)
-   {
-     @fseek($zip, $pos_entry);
-     $header = $this->ReadCentralFileHeaders($zip);
-     $header['index'] = $i; $pos_entry = ftell($zip);
-     @rewind($zip); fseek($zip, $header['offset']);
-     if(in_array("-1",$index)||in_array($i,$index))
-      $stat[$header['filename']]=$this->ExtractFile($header, $to, $zip);
-
-   }
-   fclose($zip);
-   return $stat;
- }
-
-  function ReadFileHeader($zip)
-  {
-    $binary_data = fread($zip, 30);
-    $data = unpack('vchk/vid/vversion/vflag/vcompression/vmtime/vmdate/Vcrc/Vcompressed_size/Vsize/vfilename_len/vextra_len', $binary_data);
-
-    $header['filename'] = fread($zip, $data['filename_len']);
-    if ($data['extra_len'] != 0) {
-      $header['extra'] = fread($zip, $data['extra_len']);
-    } else { $header['extra'] = ''; }
-
-    $header['compression'] = $data['compression'];$header['size'] = $data['size'];
-    $header['compressed_size'] = $data['compressed_size'];
-    $header['crc'] = $data['crc']; $header['flag'] = $data['flag'];
-    $header['mdate'] = $data['mdate'];$header['mtime'] = $data['mtime'];
-
-    if ($header['mdate'] && $header['mtime']){
-     $hour=($header['mtime']&0xF800)>>11;$minute=($header['mtime']&0x07E0)>>5;
-     $seconde=($header['mtime']&0x001F)*2;$year=(($header['mdate']&0xFE00)>>9)+1980;
-     $month=($header['mdate']&0x01E0)>>5;$day=$header['mdate']&0x001F;
-     $header['mtime'] = mktime($hour, $minute, $seconde, $month, $day, $year);
-    }else{$header['mtime'] = time();}
-
-    $header['stored_filename'] = $header['filename'];
-    $header['status'] = "ok";
-    return $header;
-  }
-
- function ReadCentralFileHeaders($zip){
-    $binary_data = fread($zip, 46);
-    $header = unpack('vchkid/vid/vversion/vversion_extracted/vflag/vcompression/vmtime/vmdate/Vcrc/Vcompressed_size/Vsize/vfilename_len/vextra_len/vcomment_len/vdisk/vinternal/Vexternal/Voffset', $binary_data);
-
-    if ($header['filename_len'] != 0)
-      $header['filename'] = fread($zip,$header['filename_len']);
-    else $header['filename'] = '';
-
-    if ($header['extra_len'] != 0)
-      $header['extra'] = fread($zip, $header['extra_len']);
-    else $header['extra'] = '';
-
-    if ($header['comment_len'] != 0)
-      $header['comment'] = fread($zip, $header['comment_len']);
-    else $header['comment'] = '';
-
-    if ($header['mdate'] && $header['mtime'])
-    {
-      $hour = ($header['mtime'] & 0xF800) >> 11;
-      $minute = ($header['mtime'] & 0x07E0) >> 5;
-      $seconde = ($header['mtime'] & 0x001F)*2;
-      $year = (($header['mdate'] & 0xFE00) >> 9) + 1980;
-      $month = ($header['mdate'] & 0x01E0) >> 5;
-      $day = $header['mdate'] & 0x001F;
-      $header['mtime'] = mktime($hour, $minute, $seconde, $month, $day, $year);
-    } else {
-      $header['mtime'] = time();
-    }
-    $header['stored_filename'] = $header['filename'];
-    $header['status'] = 'ok';
-    if (substr($header['filename'], -1) == '/')
-      $header['external'] = 0x41FF0010;
-    return $header;
- }
-
- function ReadCentralDir($zip,$zip_name)
- {
-  $size = filesize($zip_name);
-  if ($size < 277) $maximum_size = $size;
-  else $maximum_size=277;
-
-  @fseek($zip, $size-$maximum_size);
-  $pos = ftell($zip); $bytes = 0x00000000;
-
-  while ($pos < $size)
-  {
-    $byte = @fread($zip, 1); $bytes=($bytes << 8) | Ord($byte);
-    if ($bytes == 0x504b0506){ $pos++; break; } $pos++;
-  }
-
- $data=unpack('vdisk/vdisk_start/vdisk_entries/ventries/Vsize/Voffset/vcomment_size',
-        fread($zip, 18));
-
-  if ($data['comment_size'] != 0)
-    $centd['comment'] = fread($zip, $data['comment_size']);
-    else $centd['comment'] = ''; $centd['entries'] = $data['entries'];
-  $centd['disk_entries'] = $data['disk_entries'];
-  $centd['offset'] = $data['offset'];$centd['disk_start'] = $data['disk_start'];
-  $centd['size'] = $data['size'];  $centd['disk'] = $data['disk'];
-  return $centd;
- }
-
- function ExtractFile($header,$to,$zip)
- {
-   $header = $this->readfileheader($zip);
-
-   if(substr($to,-1)!="/") $to.="/";
-   if(substr($header['filename'],-1)=="/")
-   {
-    @mkdir($to.$header['filename']);
-    return +2;
-   }
-
-   $pth = explode("/",dirname($header['filename']));
-   for($i=0,$tmp="";isset($pth[$i]);$i++){
-     if(!$pth[$i]) continue;
-     if(!is_dir($to.$tmp.$pth[$i])) @mkdir($to.$pth[$i],0777);
-     $tmp.=$pth[$i]."/";
-   }
-  if (!($header['external']==0x41FF0010)&&!($header['external']==16))
-  {
-   if ($header['compression']==0)
-   {
-    $fp = @fopen($to.$header['filename'], 'wb');
-    if(!$fp) return(-1);
-    $size = $header['compressed_size'];
-
-    while ($size != 0)
-    {
-      $read_size = ($size < 2048 ? $size : 2048);
-      $buffer = fread($zip, $read_size);
-      $binary_data = pack('a'.$read_size, $buffer);
-      @fwrite($fp, $binary_data, $read_size);
-      $size -= $read_size;
-    }
-    fclose($fp);
-    touch($to.$header['filename'], $header['mtime']);
-
-  }else{
-   $fp = @fopen($to.$header['filename'].'.gz','wb');
-   if(!$fp) return(-1);
-   $binary_data = pack('va1a1Va1a1', 0x8b1f, Chr($header['compression']),
-     Chr(0x00), time(), Chr(0x00), Chr(3));
-
-   fwrite($fp, $binary_data, 10);
-   $size = $header['compressed_size'];
-
-   while ($size != 0)
-   {
-     $read_size = ($size < 1024 ? $size : 1024);
-     $buffer = fread($zip, $read_size);
-     $binary_data = pack('a'.$read_size, $buffer);
-     @fwrite($fp, $binary_data, $read_size);
-     $size -= $read_size;
-   }
-
-   $binary_data = pack('VV', $header['crc'], $header['size']);
-   fwrite($fp, $binary_data,8); fclose($fp);
-
-   $gzp = @gzopen($to.$header['filename'].'.gz','rb');
-    if(!$gzp){
-       @gzclose($gzp); @unlink($to.$header['filename']);
-       die("Archive is compressed whereas ZLIB is not enabled.");
-    }
-   $fp = @fopen($to.$header['filename'],'wb');
-   if(!$fp) return(-1);
-   $size = $header['size'];
-
-   while ($size != 0)
-   {
-     $read_size = ($size < 2048 ? $size : 2048);
-     $buffer = gzread($gzp, $read_size);
-     $binary_data = pack('a'.$read_size, $buffer);
-     @fwrite($fp, $binary_data, $read_size);
-     $size -= $read_size;
-   }
-   fclose($fp); gzclose($gzp);
-
-   touch($to.$header['filename'], $header['mtime']);
-   @unlink($to.$header['filename'].'.gz');
-
-  }}
-  return true;
- }
-}
-
-?>
+<?php
+/*************************
+  Coppermine Photo Gallery
+  ************************
+  Copyright (c) 2003-2009 Coppermine Dev Team
+  v1.1 originally written by Gregory DEMAR
+
+  This program is free software; you can redistribute it and/or modify
+  it under the terms of the GNU General Public License version 3
+  as published by the Free Software Foundation.
+  
+  ********************************************
+  Coppermine version: 1.4.25
+  $HeadURL: https://coppermine.svn.sourceforge.net/svnroot/coppermine/trunk/cpg1.4.x/include/zip.lib.php $
+  $Revision: 5997 $
+  $Author: gaugau $
+  $Date: 2009-05-26 08:43:24 +0200 (Di, 26 Mai 2009) $
+**********************************************/
+
+// Created by bouchon
+// http://dev.maxg.info
+
+// Need help ? http://forum.maxg.info
+
+class zip
+{
+
+ var $datasec, $ctrl_dir = array();
+ var $eof_ctrl_dir = "\x50\x4b\x05\x06\x00\x00\x00\x00";
+ var $old_offset = 0; var $dirs = Array(".");
+
+ function get_List($zip_name)
+ {
+   $zip = @fopen($zip_name, 'rb');
+   if(!$zip) return(0);
+   $centd = $this->ReadCentralDir($zip,$zip_name);
+
+    @rewind($zip);
+    @fseek($zip, $centd['offset']);
+
+   for ($i=0; $i<$centd['entries']; $i++)
+   {
+    $header = $this->ReadCentralFileHeaders($zip);
+    $header['index'] = $i;$info['filename'] = $header['filename'];
+    $info['stored_filename'] = $header['stored_filename'];
+    $info['size'] = $header['size'];$info['compressed_size']=$header['compressed_size'];
+    $info['crc'] = strtoupper(dechex( $header['crc'] ));
+    $info['mtime'] = $header['mtime']; $info['comment'] = $header['comment'];
+    $info['folder'] = ($header['external']==0x41FF0010||$header['external']==16)?1:0;
+    $info['index'] = $header['index'];$info['status'] = $header['status'];
+    $ret[]=$info; unset($header);
+   }
+  return $ret;
+ }
+
+ function Add($files,$compact)
+ {
+  if(!is_array($files[0])) $files=Array($files);
+
+  for($i=0;$files[$i];$i++){
+    $fn = $files[$i];
+    if(!in_Array(dirname($fn[0]),$this->dirs))
+     $this->add_Dir(dirname($fn[0]));
+    if(basename($fn[0]))
+     $ret[basename($fn[0])]=$this->add_File($fn[1],$fn[0],$compact);
+  }
+  return $ret;
+ }
+
+ function get_file()
+ {
+   $data = implode('', $this -> datasec);
+   $ctrldir = implode('', $this -> ctrl_dir);
+
+   return $data . $ctrldir . $this -> eof_ctrl_dir .
+    pack('v', sizeof($this -> ctrl_dir)).pack('v', sizeof($this -> ctrl_dir)).
+    pack('V', strlen($ctrldir)) . pack('V', strlen($data)) . "\x00\x00";
+ }
+
+ function add_dir($name)
+ {
+   $name = str_replace("\\", "/", $name);
+   $fr = "\x50\x4b\x03\x04\x0a\x00\x00\x00\x00\x00\x00\x00\x00\x00";
+
+   $fr .= pack("V",0).pack("V",0).pack("V",0).pack("v", strlen($name) );
+   $fr .= pack("v", 0 ).$name.pack("V", 0).pack("V", 0).pack("V", 0);
+   $this -> datasec[] = $fr;
+
+   $new_offset = strlen(implode("", $this->datasec));
+
+   $cdrec = "\x50\x4b\x01\x02\x00\x00\x0a\x00\x00\x00\x00\x00\x00\x00\x00\x00";
+   $cdrec .= pack("V",0).pack("V",0).pack("V",0).pack("v", strlen($name) );
+   $cdrec .= pack("v", 0 ).pack("v", 0 ).pack("v", 0 ).pack("v", 0 );
+   $ext = "\xff\xff\xff\xff";
+   $cdrec .= pack("V", 16 ).pack("V", $this -> old_offset ).$name;
+
+   $this -> ctrl_dir[] = $cdrec;
+   $this -> old_offset = $new_offset;
+   $this -> dirs[] = $name;
+ }
+
+ function add_File($data, $name, $compact = 1)
+ {
+   $name     = str_replace('\\', '/', $name);
+   $dtime    = dechex($this->DosTime());
+
+   $hexdtime = '\x' . $dtime[6] . $dtime[7].'\x'.$dtime[4] . $dtime[5]
+     . '\x' . $dtime[2] . $dtime[3].'\x'.$dtime[0].$dtime[1];
+   eval('$hexdtime = "' . $hexdtime . '";');
+
+   if($compact)
+   $fr = "\x50\x4b\x03\x04\x14\x00\x00\x00\x08\x00".$hexdtime;
+   else $fr = "\x50\x4b\x03\x04\x0a\x00\x00\x00\x00\x00".$hexdtime;
+   $unc_len = strlen($data); $crc = crc32($data);
+
+   if($compact){
+     $zdata = gzcompress($data); $c_len = strlen($zdata);
+     $zdata = substr(substr($zdata, 0, strlen($zdata) - 4), 2);
+   }else{
+     $zdata = $data;
+   }
+   $c_len=strlen($zdata);
+   $fr .= pack('V', $crc).pack('V', $c_len).pack('V', $unc_len);
+   $fr .= pack('v', strlen($name)).pack('v', 0).$name.$zdata;
+
+   $fr .= pack('V', $crc).pack('V', $c_len).pack('V', $unc_len);
+
+   $this -> datasec[] = $fr;
+   $new_offset        = strlen(implode('', $this->datasec));
+   if($compact)
+        $cdrec = "\x50\x4b\x01\x02\x00\x00\x14\x00\x00\x00\x08\x00";
+   else $cdrec = "\x50\x4b\x01\x02\x14\x00\x0a\x00\x00\x00\x00\x00";
+   $cdrec .= $hexdtime.pack('V', $crc).pack('V', $c_len).pack('V', $unc_len);
+   $cdrec .= pack('v', strlen($name) ).pack('v', 0 ).pack('v', 0 );
+   $cdrec .= pack('v', 0 ).pack('v', 0 ).pack('V', 32 );
+   $cdrec .= pack('V', $this -> old_offset );
+
+   $this -> old_offset = $new_offset;
+   $cdrec .= $name;
+   $this -> ctrl_dir[] = $cdrec;
+   return true;
+ }
+
+ function DosTime() {
+   $timearray = getdate();
+   if ($timearray['year'] < 1980) {
+     $timearray['year'] = 1980; $timearray['mon'] = 1;
+     $timearray['mday'] = 1; $timearray['hours'] = 0;
+     $timearray['minutes'] = 0; $timearray['seconds'] = 0;
+   }
+   return (($timearray['year'] - 1980) << 25) | ($timearray['mon'] << 21) |     ($timearray['mday'] << 16) | ($timearray['hours'] << 11) |
+    ($timearray['minutes'] << 5) | ($timearray['seconds'] >> 1);
+ }
+
+ function Extract ( $zn, $to, $index = Array(-1) )
+ {
+   if(!@is_dir($to)) @mkdir($to,0777);
+   $ok = 0; $zip = @fopen($zn,'rb');
+   if(!$zip) return(-1);
+   $cdir = $this->ReadCentralDir($zip,$zn);
+   $pos_entry = $cdir['offset'];
+
+   if(!is_array($index)){ $index = array($index);  }
+   for($i=0; $index[$i];$i++){
+     if(intval($index[$i])!=$index[$i]||$index[$i]>$cdir['entries'])
+      return(-1);
+   }
+
+   for ($i=0; $i<$cdir['entries']; $i++)
+   {
+     @fseek($zip, $pos_entry);
+     $header = $this->ReadCentralFileHeaders($zip);
+     $header['index'] = $i; $pos_entry = ftell($zip);
+     @rewind($zip); fseek($zip, $header['offset']);
+     if(in_array("-1",$index)||in_array($i,$index))
+      $stat[$header['filename']]=$this->ExtractFile($header, $to, $zip);
+
+   }
+   fclose($zip);
+   return $stat;
+ }
+
+  function ReadFileHeader($zip)
+  {
+    $binary_data = fread($zip, 30);
+    $data = unpack('vchk/vid/vversion/vflag/vcompression/vmtime/vmdate/Vcrc/Vcompressed_size/Vsize/vfilename_len/vextra_len', $binary_data);
+
+    $header['filename'] = fread($zip, $data['filename_len']);
+    if ($data['extra_len'] != 0) {
+      $header['extra'] = fread($zip, $data['extra_len']);
+    } else { $header['extra'] = ''; }
+
+    $header['compression'] = $data['compression'];$header['size'] = $data['size'];
+    $header['compressed_size'] = $data['compressed_size'];
+    $header['crc'] = $data['crc']; $header['flag'] = $data['flag'];
+    $header['mdate'] = $data['mdate'];$header['mtime'] = $data['mtime'];
+
+    if ($header['mdate'] && $header['mtime']){
+     $hour=($header['mtime']&0xF800)>>11;$minute=($header['mtime']&0x07E0)>>5;
+     $seconde=($header['mtime']&0x001F)*2;$year=(($header['mdate']&0xFE00)>>9)+1980;
+     $month=($header['mdate']&0x01E0)>>5;$day=$header['mdate']&0x001F;
+     $header['mtime'] = mktime($hour, $minute, $seconde, $month, $day, $year);
+    }else{$header['mtime'] = time();}
+
+    $header['stored_filename'] = $header['filename'];
+    $header['status'] = "ok";
+    return $header;
+  }
+
+ function ReadCentralFileHeaders($zip){
+    $binary_data = fread($zip, 46);
+    $header = unpack('vchkid/vid/vversion/vversion_extracted/vflag/vcompression/vmtime/vmdate/Vcrc/Vcompressed_size/Vsize/vfilename_len/vextra_len/vcomment_len/vdisk/vinternal/Vexternal/Voffset', $binary_data);
+
+    if ($header['filename_len'] != 0)
+      $header['filename'] = fread($zip,$header['filename_len']);
+    else $header['filename'] = '';
+
+    if ($header['extra_len'] != 0)
+      $header['extra'] = fread($zip, $header['extra_len']);
+    else $header['extra'] = '';
+
+    if ($header['comment_len'] != 0)
+      $header['comment'] = fread($zip, $header['comment_len']);
+    else $header['comment'] = '';
+
+    if ($header['mdate'] && $header['mtime'])
+    {
+      $hour = ($header['mtime'] & 0xF800) >> 11;
+      $minute = ($header['mtime'] & 0x07E0) >> 5;
+      $seconde = ($header['mtime'] & 0x001F)*2;
+      $year = (($header['mdate'] & 0xFE00) >> 9) + 1980;
+      $month = ($header['mdate'] & 0x01E0) >> 5;
+      $day = $header['mdate'] & 0x001F;
+      $header['mtime'] = mktime($hour, $minute, $seconde, $month, $day, $year);
+    } else {
+      $header['mtime'] = time();
+    }
+    $header['stored_filename'] = $header['filename'];
+    $header['status'] = 'ok';
+    if (substr($header['filename'], -1) == '/')
+      $header['external'] = 0x41FF0010;
+    return $header;
+ }
+
+ function ReadCentralDir($zip,$zip_name)
+ {
+  $size = filesize($zip_name);
+  if ($size < 277) $maximum_size = $size;
+  else $maximum_size=277;
+
+  @fseek($zip, $size-$maximum_size);
+  $pos = ftell($zip); $bytes = 0x00000000;
+
+  while ($pos < $size)
+  {
+    $byte = @fread($zip, 1); $bytes=($bytes << 8) | Ord($byte);
+    if ($bytes == 0x504b0506){ $pos++; break; } $pos++;
+  }
+
+ $data=unpack('vdisk/vdisk_start/vdisk_entries/ventries/Vsize/Voffset/vcomment_size',
+        fread($zip, 18));
+
+  if ($data['comment_size'] != 0)
+    $centd['comment'] = fread($zip, $data['comment_size']);
+    else $centd['comment'] = ''; $centd['entries'] = $data['entries'];
+  $centd['disk_entries'] = $data['disk_entries'];
+  $centd['offset'] = $data['offset'];$centd['disk_start'] = $data['disk_start'];
+  $centd['size'] = $data['size'];  $centd['disk'] = $data['disk'];
+  return $centd;
+ }
+
+ function ExtractFile($header,$to,$zip)
+ {
+   $header = $this->readfileheader($zip);
+
+   if(substr($to,-1)!="/") $to.="/";
+   if(substr($header['filename'],-1)=="/")
+   {
+    @mkdir($to.$header['filename']);
+    return +2;
+   }
+
+   $pth = explode("/",dirname($header['filename']));
+   for($i=0,$tmp="";isset($pth[$i]);$i++){
+     if(!$pth[$i]) continue;
+     if(!is_dir($to.$tmp.$pth[$i])) @mkdir($to.$pth[$i],0777);
+     $tmp.=$pth[$i]."/";
+   }
+  if (!($header['external']==0x41FF0010)&&!($header['external']==16))
+  {
+   if ($header['compression']==0)
+   {
+    $fp = @fopen($to.$header['filename'], 'wb');
+    if(!$fp) return(-1);
+    $size = $header['compressed_size'];
+
+    while ($size != 0)
+    {
+      $read_size = ($size < 2048 ? $size : 2048);
+      $buffer = fread($zip, $read_size);
+      $binary_data = pack('a'.$read_size, $buffer);
+      @fwrite($fp, $binary_data, $read_size);
+      $size -= $read_size;
+    }
+    fclose($fp);
+    touch($to.$header['filename'], $header['mtime']);
+
+  }else{
+   $fp = @fopen($to.$header['filename'].'.gz','wb');
+   if(!$fp) return(-1);
+   $binary_data = pack('va1a1Va1a1', 0x8b1f, Chr($header['compression']),
+     Chr(0x00), time(), Chr(0x00), Chr(3));
+
+   fwrite($fp, $binary_data, 10);
+   $size = $header['compressed_size'];
+
+   while ($size != 0)
+   {
+     $read_size = ($size < 1024 ? $size : 1024);
+     $buffer = fread($zip, $read_size);
+     $binary_data = pack('a'.$read_size, $buffer);
+     @fwrite($fp, $binary_data, $read_size);
+     $size -= $read_size;
+   }
+
+   $binary_data = pack('VV', $header['crc'], $header['size']);
+   fwrite($fp, $binary_data,8); fclose($fp);
+
+   $gzp = @gzopen($to.$header['filename'].'.gz','rb');
+    if(!$gzp){
+       @gzclose($gzp); @unlink($to.$header['filename']);
+       die("Archive is compressed whereas ZLIB is not enabled.");
+    }
+   $fp = @fopen($to.$header['filename'],'wb');
+   if(!$fp) return(-1);
+   $size = $header['size'];
+
+   while ($size != 0)
+   {
+     $read_size = ($size < 2048 ? $size : 2048);
+     $buffer = gzread($gzp, $read_size);
+     $binary_data = pack('a'.$read_size, $buffer);
+     @fwrite($fp, $binary_data, $read_size);
+     $size -= $read_size;
+   }
+   fclose($fp); gzclose($gzp);
+
+   touch($to.$header['filename'], $header['mtime']);
+   @unlink($to.$header['filename'].'.gz');
+
+  }}
+  return true;
+ }
+}
+
+?>
diff -x .svn -aruN 1.4.24.src/index.php 1.4.25.src/index.php
--- 1.4.24.src/index.php	2009-05-21 15:03:09.000000000 -0500
+++ 1.4.25.src/index.php	2009-05-26 11:25:52.000000000 -0500
@@ -1,868 +1,868 @@
-<?php
-/*************************
-  Coppermine Photo Gallery
-  ************************
-  Copyright (c) 2003-2009 Coppermine Dev Team
-  v1.1 originally written by Gregory DEMAR
-
-  This program is free software; you can redistribute it and/or modify
-  it under the terms of the GNU General Public License version 3
-  as published by the Free Software Foundation.
-  
-  ********************************************
-  Coppermine version: 1.4.24
-  $HeadURL: https://coppermine.svn.sourceforge.net/svnroot/coppermine/trunk/cpg1.4.x/index.php $
-  $Revision: 5969 $
-  $Author: gaugau $
-  $Date: 2009-05-21 22:03:33 +0200 (Do, 21 Mai 2009) $
-**********************************************/
-
-/**
-* Coppermine Photo Gallery 1.4.14 index.php
-*
-* This file is the main display for categories and album it also displays thumbnails,
-* also see documentation for this file's {@relativelink ../_index.php.php Free Standing Code}
-*
-* @copyright  2002-2005 Gregory DEMAR, Coppermine Dev Team
-* @license http://www.gnu.org/licenses/gpl.html GNU General Public License V3
-* @package Coppermine
-* @version $Id: index.php 5969 2009-05-21 20:03:33Z gaugau $
-*/
-
-/**
-* Unless this is true most things wont work - protection against direct execution of inc files
-*/
-define('IN_COPPERMINE', true);
-
-if (isset($_GET['file'])) {
-    // Scrub: Remove '..' and leftover '//' from filename
-    $file = str_replace('..','',str_replace('//','',$_GET['file']));
-    $fileValidationPattern = "/^([a-zA-Z0-9_\-]+)(\/{0,1}?)([a-zA-Z0-9_\-]+)$/";
-    // There can be only alphanumerals in a plugin's folder name. There mustn't be any dots or other special chars in it.
-    // The only exception is the hypen (-) and underscore (_)
-    // Examples for folder names: "myplugin" = OK, "my_plugin" = OK, "my plugin" = BAD, "m&uuml;_plugin" = BAD
-    // Files the plugin is meant to include can only contain one single dot that separates the actual filename from the php-extension
-    // Same restrictions apply as for the folder name (only alphanumerals, hyphen and underscore)
-    if (preg_match($fileValidationPattern, $file) == FALSE) {
-            $file = ''; // something's fishy with the filename, let's drop it
-    }
-    $path = './plugins/'.$file.'.php';
-
-    // Don't include the codebase and credits files
-    if ($file != 'codebase' && $file != 'configuration' && file_exists($path)) {
-
-        // Include the code from the plugin
-        include_once($path);
-        $file = true;
-    } else {
-        $file = false;
-    }
-} else $file = false;
-
-if (!$file) {
-    /**
-    * Sets the flag for lang file
-    */
-    define('INDEX_PHP', true);
-
-    require('include/init.inc.php');
-
-    if (!USER_ID && $CONFIG['allow_unlogged_access'] == 0) {
-        $redirect = $redirect . "login.php";
-        header("Location: $redirect");
-        exit();
-    }
-
-    if ($CONFIG['enable_smilies']) include("include/smilies.inc.php");
-}
-
-
-/**
-* Local functions definition
-*/
-
-/**
- * html_albummenu()
- *
- * This function draws the links for admin menu of Albums
- *
- * @param integer $id ID of the album for which the links are being drawn
- * @return string The evaluated template block with links
- **/
-function html_albummenu($id)
-{
-    global $template_album_admin_menu, $lang_album_admin_menu;
-
-    static $template = '';
-
-    if ($template == '') {
-        $params = array('{CONFIRM_DELETE}' => $lang_album_admin_menu['confirm_delete'],
-            '{DELETE}' => $lang_album_admin_menu['delete'],
-            '{MODIFY}' => $lang_album_admin_menu['modify'],
-            '{EDIT_PICS}' => $lang_album_admin_menu['edit_pics'],
-            );
-
-        $template = template_eval($template_album_admin_menu, $params);
-    }
-
-    $params = array('{ALBUM_ID}' => $id,
-        );
-
-    return template_eval($template, $params);
-}
-
-/**
- * get_subcat_data()
- *
- * Get the data about the sub categories which are going to be shown on the index page, this function is called recursively
- *
- * @param integer $parent Parent Category
- * @param array $cat_data
- * @param array $album_set_array
- * @param integer $level Level being displayed
- * @param string $ident String to use as indentation for Categories
- * @return void
- **/
-function get_subcat_data($parent, &$cat_data, &$album_set_array, $level, $ident = '')
-{
-    global $CONFIG, $HIDE_USER_CAT, $FORBIDDEN_SET, $cpg_show_private_album;
-
-    $album_filter = '';
-    $pic_filter = '';
-    if (!empty($FORBIDDEN_SET) && !$cpg_show_private_album) {
-        $album_filter = ' and ' . str_replace('p.', 'a.', $FORBIDDEN_SET);
-        $pic_filter = ' and ' . str_replace('p.', $CONFIG['TABLE_PICTURES'] . '.', $FORBIDDEN_SET);
-    }
-    if ($CONFIG['categories_alpha_sort'] == 1) {$cat_sort_order = 'name';}else{$cat_sort_order = 'pos';}
-    $result = cpg_db_query("SELECT cid, name, description, thumb FROM {$CONFIG['TABLE_CATEGORIES']} WHERE parent = '$parent'  ORDER BY $cat_sort_order");
-
-    if (mysql_num_rows($result) > 0) {
-        $rowset = cpg_db_fetch_rowset($result);
-        foreach ($rowset as $subcat) {
-            if ($subcat['cid'] == USER_GAL_CAT) {
-                $sql = "SELECT aid FROM {$CONFIG['TABLE_ALBUMS']} as a WHERE category>=" . FIRST_USER_CAT . $album_filter;
-                $result = cpg_db_query($sql);
-                $album_count = mysql_num_rows($result);
-                while ($row = mysql_fetch_array($result)) {
-                    $album_set_array[] = $row['aid'];
-                } // while
-                mysql_free_result($result);
-
-                $result = cpg_db_query("SELECT count(*) FROM {$CONFIG['TABLE_PICTURES']} as p, {$CONFIG['TABLE_ALBUMS']} as a WHERE p.aid = a.aid AND approved='YES' AND category >= " . FIRST_USER_CAT . $album_filter);
-                $nbEnr = mysql_fetch_array($result);
-                $pic_count = $nbEnr[0];
-
-                $subcat['description'] = preg_replace("/<br.*?>[\r\n]*/i", '<br />' . $ident , bb_decode($subcat['description']));
-
-                $link = $ident . "<a href=\"index.php?cat={$subcat['cid']}\">{$subcat['name']}</a>";
-                if ($album_count) {
-                    $cat_data[] = array($link, $ident . $subcat['description'], $album_count, $pic_count);
-                    $HIDE_USER_CAT = 0;
-                } else {
-                    $HIDE_USER_CAT = 1;
-                }
-            } else {
-                $unaliased_album_filter = str_replace('a.', '', $album_filter);
-                $result = cpg_db_query("SELECT aid FROM {$CONFIG['TABLE_ALBUMS']} WHERE category = {$subcat['cid']}" . $unaliased_album_filter);
-                $album_count = mysql_num_rows($result);
-                while ($row = mysql_fetch_array($result)) {
-                    $album_set_array[] = $row['aid'];
-                } // while
-                mysql_free_result($result);
-
-                $result = cpg_db_query("SELECT count(*) FROM {$CONFIG['TABLE_PICTURES']} as p, {$CONFIG['TABLE_ALBUMS']} as a WHERE p.aid = a.aid AND approved='YES' AND category = {$subcat['cid']}" . $album_filter);
-                $nbEnr = mysql_fetch_array($result);
-                mysql_free_result($result);
-                $pic_count = $nbEnr[0];
-                if ($subcat['thumb'] > 0) {
-                    $sql = "SELECT filepath, filename, url_prefix, pwidth, pheight " . "FROM {$CONFIG['TABLE_PICTURES']} " . "WHERE pid='{$subcat['thumb']}'" . $pic_filter;
-                    $result = cpg_db_query($sql);
-                    if (mysql_num_rows($result)) {
-                        $picture = mysql_fetch_array($result);
-                        mysql_free_result($result);
-                        $pic_url = get_pic_url($picture, 'thumb');
-                        if (!is_image($picture['filename'])) {
-                            $image_info = getimagesize(urldecode($pic_url));
-                            $picture['pwidth'] = $image_info[0];
-                            $picture['pheight'] = $image_info[1];
-                        }
-                        $image_size = compute_img_size($picture['pwidth'], $picture['pheight'], $CONFIG['alb_list_thumb_size']);
-                        $user_thumb = "<img src=\"" . $pic_url . "\" class=\"image\" {$image_size['geom']} border=\"0\" alt=\"\" />";
-                        $user_thumb = "<a href=\"index.php?cat={$subcat['cid']}\">" . $user_thumb . "</a>";
-                    } else {
-                        $user_thumb = "";
-                    }
-                } else {
-                    $user_thumb = "";
-                }
-                $subcat['name'] = $subcat['name'];
-                $subcat['description'] = preg_replace("/<br.*?>[\r\n]*/i", '<br />', bb_decode($subcat['description']));
-                $link = "<a href=\"index.php?cat={$subcat['cid']}\">{$subcat['name']}</a>";
-                $user_thumb = $ident . $user_thumb;
-                if ($pic_count == 0 && $album_count == 0) {
-                                        $user_thumb = $ident;
-                    $cat_data[] = array($link, $subcat['description'], 'cat_thumb' => $user_thumb);
-                } else {
-                    // Check if you need to show subcat_level
-                    if ($level == $CONFIG['subcat_level']) {
-                        $cat_albums = list_cat_albums($subcat['cid']);
-                    } else {
-                        $cat_albums = '';
-                    }
-                    $cat_data[] = array($link, $subcat['description'], $album_count, $pic_count, 'cat_albums' => $cat_albums, 'cat_thumb' => $user_thumb);
-                }
-            }
-
-            if ($level > 1) {
-                                get_subcat_data($subcat['cid'], $cat_data, $album_set_array, $level -1, $ident . "</td><td><img src=\"images/spacer.gif\" width=\"20\" height=\"1\" border=\"0\" alt=\"\" /></td><td>");
-                        }
-        }
-    }
-}
-
-/**
- * get_cat_list()
- *
- *  List all categories
- *
- * @param string $breadcrumb
- * @param array $cat_data
- * @param string $statistics
- * @return void
- **/
-function get_cat_list(&$breadcrumb, &$cat_data, &$statistics)
-{
-    global $CONFIG, $ALBUM_SET, $CURRENT_CAT_NAME, $BREADCRUMB_TEXT, $STATS_IN_ALB_LIST, $FORBIDDEN_SET;
-    global $HIDE_USER_CAT, $cpg_show_private_album;
-    global $cat;
-    global $lang_list_categories, $lang_errors;
-    // Build the breadcrumb
-    breadcrumb($cat, $breadcrumb, $BREADCRUMB_TEXT);
-    // Build the category list
-    $cat_data = array();
-    $album_set_array = array();
-    get_subcat_data($cat, $cat_data, $album_set_array, $CONFIG['subcat_level']);
-
-    $album_filter = '';
-    $pic_filter = '';
-    $cat = (int) $cat;
-    if (!empty($FORBIDDEN_SET) && !$cpg_show_private_album) {
-        $album_filter = ' and ' . str_replace('p.', 'a.', $FORBIDDEN_SET);
-        $pic_filter = ' and ' . $FORBIDDEN_SET;
-    }
-    // Add the albums in the current category to the album set
-    // if ($cat) {
-    if ($cat == USER_GAL_CAT) {
-        $sql = "SELECT aid FROM {$CONFIG['TABLE_ALBUMS']} as a WHERE category >= " . FIRST_USER_CAT . $album_filter;
-        $result = cpg_db_query($sql);
-    } else {
-        $sql = "SELECT aid FROM {$CONFIG['TABLE_ALBUMS']} as a WHERE category = '$cat'" . $album_filter;
-        $result = cpg_db_query($sql);
-    } while ($row = mysql_fetch_array($result)) {
-        $album_set_array[] = $row['aid'];
-    } // while
-    mysql_free_result($result);
-    // }
-    if (count($album_set_array) && $cat) {
-        $set = '';
-        foreach ($album_set_array as $album) $set .= $album . ',';
-        $set = substr($set, 0, -1);
-        $current_album_set = "AND aid IN ($set) ";
-        $ALBUM_SET .= $current_album_set;
-    } elseif ($cat) {
-        $current_album_set = "AND aid IN (-1) ";
-        $ALBUM_SET .= $current_album_set;
-    }
-    // Gather gallery statistics
-    if ($cat == 0) {
-        $result = cpg_db_query("SELECT count(*) FROM {$CONFIG['TABLE_ALBUMS']} as a WHERE 1" . $album_filter);
-        $nbEnr = mysql_fetch_array($result);
-        $album_count = $nbEnr[0];
-        mysql_free_result($result);
-
-        $sql = "SELECT count(*) FROM {$CONFIG['TABLE_PICTURES']} as p " . 'LEFT JOIN ' . $CONFIG['TABLE_ALBUMS'] . ' as a ' . 'ON a.aid=p.aid ' . 'WHERE 1' . $pic_filter . ' AND approved=\'YES\'';
-        $result = cpg_db_query($sql);
-        $nbEnr = mysql_fetch_array($result);
-        $picture_count = $nbEnr[0];
-        mysql_free_result($result);
-
-        $sql = "SELECT count(*) FROM {$CONFIG['TABLE_COMMENTS']} as c " . 'LEFT JOIN ' . $CONFIG['TABLE_PICTURES'] . ' as p ' . 'ON c.pid=p.pid ' . 'LEFT JOIN ' . $CONFIG['TABLE_ALBUMS'] . ' as a ' . 'ON a.aid=p.aid ' . 'WHERE 1' . $pic_filter;
-        $result = cpg_db_query($sql);
-        $nbEnr = mysql_fetch_array($result);
-        $comment_count = $nbEnr[0];
-        mysql_free_result($result);
-
-        $sql = "SELECT count(*) FROM {$CONFIG['TABLE_CATEGORIES']} WHERE 1";
-        $result = cpg_db_query($sql);
-        $nbEnr = mysql_fetch_array($result);
-        $cat_count = $nbEnr[0] - $HIDE_USER_CAT;
-        mysql_free_result($result);
-
-        $sql = "SELECT sum(hits) FROM {$CONFIG['TABLE_PICTURES']} as p " . 'LEFT JOIN ' . $CONFIG['TABLE_ALBUMS'] . ' as a ' . 'ON p.aid=a.aid ' . 'WHERE 1' . $pic_filter;
-        $result = cpg_db_query($sql);
-        $nbEnr = mysql_fetch_array($result);
-        $hit_count = (int)$nbEnr[0];
-        mysql_free_result($result);
-
-        if (count($cat_data)) {
-            $statistics = strtr($lang_list_categories['stat1'], array('[pictures]' => $picture_count,
-                    '[albums]' => $album_count,
-                    '[cat]' => $cat_count,
-                    '[comments]' => $comment_count,
-                    '[views]' => $hit_count));
-        } else {
-            $STATS_IN_ALB_LIST = true;
-            $statistics = strtr($lang_list_categories['stat3'], array('[pictures]' => $picture_count,
-                    '[albums]' => $album_count,
-                    '[comments]' => $comment_count,
-                    '[views]' => $hit_count));
-        }
-    } elseif ($cat >= FIRST_USER_CAT && $ALBUM_SET) {
-        $result = cpg_db_query("SELECT count(*) FROM {$CONFIG['TABLE_ALBUMS']} WHERE 1 $current_album_set");
-        $nbEnr = mysql_fetch_array($result);
-        $album_count = $nbEnr[0];
-        mysql_free_result($result);
-
-        $result = cpg_db_query("SELECT count(*) FROM {$CONFIG['TABLE_PICTURES']} WHERE 1 $current_album_set AND approved='YES'");
-        $nbEnr = mysql_fetch_array($result);
-        $picture_count = $nbEnr[0];
-        mysql_free_result($result);
-
-        $result = cpg_db_query("SELECT sum(hits) FROM {$CONFIG['TABLE_PICTURES']} WHERE 1 $current_album_set");
-        $nbEnr = mysql_fetch_array($result);
-        $hit_count = (int)$nbEnr[0];
-        mysql_free_result($result);
-
-        $statistics = strtr($lang_list_categories['stat2'], array('[pictures]' => $picture_count,
-                '[albums]' => $album_count,
-                '[views]' => $hit_count));
-    } else {
-        $statistics = '';
-    }
-}
-
-/**
-* list_users()
-*
-* Get a list of users galleries
-*/
-function list_users()
-{
-    global $CONFIG, $PAGE, $FORBIDDEN_SET;
-    global $lang_list_users, $lang_errors, $template_user_list_info_box, $cpg_show_private_album, $cpg_udb;
-
-    $rowset = $cpg_udb->list_users_query($user_count);
-
-    if (!$rowset) {
-        msg_box($lang_list_users['user_list'], $lang_list_users['no_user_gal'], '', '', '100%');
-        return;
-    }
-
-    $user_per_page = $CONFIG['thumbcols'] * $CONFIG['thumbrows'];
-    $totalPages = ceil($user_count / $user_per_page);
-
-    $user_list = array();
-    foreach ($rowset as $user) {
-        $cpg_nopic_data = cpg_get_system_thumb('nopic.jpg', $user['user_id']);
-        $user_thumb = '<img src="' . $cpg_nopic_data['thumb'] . '" ' . $cpg_nopic_data['whole'] . ' class="image" border="0" alt="" />';
-        $user_pic_count = $user['pic_count'];
-        $user_thumb_pid = ($user['gallery_pid']) ? $user['gallery_pid'] : $user['thumb_pid'];
-        $user_album_count = $user['alb_count'];
-
-        if ($user_pic_count) {
-            $sql = "SELECT filepath, filename, url_prefix, pwidth, pheight " . "FROM {$CONFIG['TABLE_PICTURES']} " . "WHERE pid='$user_thumb_pid' AND approved='YES'";
-            $result = cpg_db_query($sql);
-            if (mysql_num_rows($result)) {
-                $picture = mysql_fetch_array($result);
-                mysql_free_result($result);
-                $pic_url = get_pic_url($picture, 'thumb');
-                if (!is_image($picture['filename'])) {
-                    $image_info = getimagesize(urldecode($pic_url));
-                    $picture['pwidth'] = $image_info[0];
-                    $picture['pheight'] = $image_info[1];
-                }
-                $image_size = compute_img_size($picture['pwidth'], $picture['pheight'], $CONFIG['alb_list_thumb_size']);
-                $user_thumb = "<img src=\"" . $pic_url . "\" class=\"image\" {$image_size['geom']} border=\"0\" alt=\"\" />";
-            }
-        }
-
-        $albums_txt = sprintf($lang_list_users['n_albums'], $user_album_count);
-        $pictures_txt = sprintf($lang_list_users['n_pics'], $user_pic_count);
-
-        $params = CPGPluginAPI::filter('user_caption_params', array('{USER_NAME}' => $user['user_name'],
-            '{USER_ID}' => $user['user_id'],
-            '{ALBUMS}' => $albums_txt,
-            '{PICTURES}' => $pictures_txt,
-            )
-        );
-
-        $caption = template_eval($template_user_list_info_box, $params);
-
-        $user_list[] = array('cat' => FIRST_USER_CAT + $user['user_id'],
-            'image' => $user_thumb,
-            'caption' => $caption,
-            );
-    }
-    theme_display_thumbnails($user_list, $user_count, '', '', 1, $PAGE, $totalPages, false, true, 'user');
-}
-
-/**
-* list_albums()
-*
-* Get a list of albums
-*/
-function list_albums()
-{
-    global $CONFIG, $USER, $USER_DATA, $PAGE, $lastup_date_fmt, $FORBIDDEN_SET, $FORBIDDEN_SET_DATA;
-    global $cat;
-    global $lang_list_albums, $lang_errors, $cpg_show_private_album;
-
-    $alb_per_page = $CONFIG['albums_per_page'];
-    $maxTab = $CONFIG['max_tabs'];
-
-    $album_filter = '';
-    $pic_filter = '';
-    $pic_subquery = '';
-
-    if (!empty($FORBIDDEN_SET) && !$cpg_show_private_album) {
-        $album_filter = ' and ' . str_replace('p.', 'a.', $FORBIDDEN_SET);
-        $pic_filter = ' and ' . $FORBIDDEN_SET;
-    }
-
-    $result = cpg_db_query("SELECT count(*) FROM {$CONFIG['TABLE_ALBUMS']} as a WHERE category = '$cat'" . $album_filter);
-    $nbEnr = mysql_fetch_array($result);
-    $nbAlb = $nbEnr[0];
-    mysql_free_result($result);
-
-    if (!$nbAlb) return;
-
-    $totalPages = ceil($nbAlb / $alb_per_page);
-
-    if ($PAGE > $totalPages) $PAGE = 1;
-    $lower_limit = ($PAGE-1) * $alb_per_page;
-    $upper_limit = min($nbAlb, $PAGE * $alb_per_page);
-    $limit = "LIMIT " . $lower_limit . "," . ($upper_limit - $lower_limit);
-
-    $sql = 'SELECT a.aid, a.title, a.description, category, visibility, filepath, ' . 'filename, url_prefix, pwidth, pheight ' . 'FROM ' . $CONFIG['TABLE_ALBUMS'] . ' as a ' . 'LEFT JOIN ' . $CONFIG['TABLE_PICTURES'] . ' as p ' . 'ON a.thumb=p.pid ' . 'WHERE category=' . $cat . $album_filter . ' ORDER BY a.pos ' . $limit;
-
-    $alb_thumbs_q = cpg_db_query($sql);
-    $alb_thumbs = cpg_db_fetch_rowset($alb_thumbs_q);
-    mysql_free_result($alb_thumbs_q);
-
-    $disp_album_count = count($alb_thumbs);
-    $album_set = '';
-    foreach($alb_thumbs as $value) {
-        $album_set .= $value['aid'] . ', ';
-    }
-    $album_set = '(' . substr($album_set, 0, -2) . ')';
-
-    //This query will fetch album stats and keyword for the albums
-    $sql = "SELECT a.aid, count( p.pid )  AS pic_count, max( p.pid )  AS last_pid, max( p.ctime )  AS last_upload, a.keyword" .
-            " FROM {$CONFIG['TABLE_ALBUMS']} AS a " .
-            " LEFT JOIN {$CONFIG['TABLE_PICTURES']} AS p ON a.aid = p.aid AND p.approved =  'YES' ".
-            "WHERE a.aid IN $album_set" . "GROUP BY a.aid";
-
-    $alb_stats_q = cpg_db_query($sql);
-    $alb_stats = cpg_db_fetch_rowset($alb_stats_q);
-    mysql_free_result($alb_stats_q);
-
-
-    foreach($alb_stats as $key => $value) {
-        $cross_ref[$value['aid']] = &$alb_stats[$key];
-        if ($CONFIG['link_pic_count'] == 1) {
-          if (!empty($value['keyword'])) {
-            $value['keyword'] = addslashes($value['keyword']);
-            $query = "SELECT count(pid) AS link_pic_count
-                      FROM {$CONFIG['TABLE_PICTURES']}
-                        WHERE aid != {$value['aid']} AND
-                        keywords LIKE '%{$value['keyword']}%' AND
-                        approved = 'YES'";
-            $result = cpg_db_query($query);
-            $link_stat = mysql_fetch_array ($result);
-            mysql_free_result($result);
-            $alb_stats[$key]['link_pic_count'] = $link_stat['link_pic_count'];
-          }
-       }
-    }
-
-    for ($alb_idx = 0; $alb_idx < $disp_album_count; $alb_idx++) {
-        $alb_thumb = &$alb_thumbs[$alb_idx];
-        $aid = $alb_thumb['aid'];
-
-        if (isset($cross_ref[$aid])) {
-            $alb_stat = $cross_ref[$aid];
-            $count = $alb_stat['pic_count'];
-        } else {
-            $alb_stat = array();
-            $count = 0;
-        }
-        // Inserts a thumbnail if the album contains 1 or more images
-        $visibility = $alb_thumb['visibility'];
-
-                if (!in_array($aid,$FORBIDDEN_SET_DATA) || $CONFIG['allow_private_albums'] == 0) {
-            if ($count > 0) {
-                if ($alb_thumb['filename']) {
-                    $picture = &$alb_thumb;
-                } else {
-                    $sql = "SELECT filepath, filename, url_prefix, pwidth, pheight " . "FROM {$CONFIG['TABLE_PICTURES']} " . "WHERE pid='{$alb_stat['last_pid']}'";
-                    $result = cpg_db_query($sql);
-                    $picture = mysql_fetch_array($result);
-                    mysql_free_result($result);
-                }
-                $pic_url = get_pic_url($picture, 'thumb');
-                if (!is_image($picture['filename'])) {
-                    $image_info = getimagesize(urldecode($pic_url));
-                    $picture['pwidth'] = $image_info[0];
-                    $picture['pheight'] = $image_info[1];
-                }
-                $image_size = compute_img_size($picture['pwidth'], $picture['pheight'], $CONFIG['alb_list_thumb_size']);
-                $alb_list[$alb_idx]['thumb_pic'] = "<img src=\"" . $pic_url . "\" class=\"image\" {$image_size['geom']} border=\"0\" alt=\"{$picture['filename']}\" />";
-            } else { // Inserts an empty thumbnail if the album contains 0 images
-                // $image_size = compute_img_size(100, 75, $CONFIG['alb_list_thumb_size']);
-                $cpg_nopic_data = cpg_get_system_thumb('nopic.jpg', $alb_thumb['category']);
-                $alb_list[$alb_idx]['thumb_pic'] = '<img src="' . $cpg_nopic_data['thumb'] . '" ' . $cpg_nopic_data['whole'] . ' class="image" border="0" alt="" />';
-            }
-        } elseif ($CONFIG['show_private']) {
-            // $image_size = compute_img_size(100, 75, $CONFIG['alb_list_thumb_size']);
-            $cpg_privatepic_data = cpg_get_system_thumb('private.jpg', $alb_thumb['category']);
-            $alb_list[$alb_idx]['thumb_pic'] = '<img src="' . $cpg_privatepic_data['thumb'] . '" ' . $cpg_privatepic_data['whole'] . ' class="image" border="0" alt="" />';
-        }
-        // Prepare everything
-        if (!in_array($aid,$FORBIDDEN_SET_DATA) || $CONFIG['allow_private_albums'] == 0) {
-            $last_upload_date = $count ? localised_date($alb_stat['last_upload'], $lastup_date_fmt) : '';
-            $link_pic_count = !empty($alb_stat['link_pic_count']) ? $alb_stat['link_pic_count'] : 0;
-            $alb_list[$alb_idx]['aid'] = $alb_thumb['aid'];
-            $alb_list[$alb_idx]['album_title'] = $alb_thumb['title'];
-            $alb_list[$alb_idx]['album_desc'] = bb_decode($alb_thumb['description']);
-            $alb_list[$alb_idx]['pic_count'] = $count;
-            $alb_list[$alb_idx]['last_upl'] = $last_upload_date;
-            $alb_list[$alb_idx]['link_pic_count'] = $link_pic_count;
-            $alb_list[$alb_idx]['album_info'] = sprintf($lang_list_albums['n_pictures'], $count) . ($count ? sprintf($lang_list_albums['last_added'], $last_upload_date) : "") . (($CONFIG['link_pic_count'] && $link_pic_count > 0 ) ? sprintf(", {$lang_list_albums['n_link_pictures']},  {$lang_list_albums['total_pictures']}", $link_pic_count, $count + $link_pic_count) : "");
-            $alb_list[$alb_idx]['album_adm_menu'] = (GALLERY_ADMIN_MODE || (USER_ADMIN_MODE && $cat == USER_ID + FIRST_USER_CAT)) ? html_albummenu($alb_thumb['aid']) : ' ';
-        } elseif ($CONFIG['show_private']) { // uncomment this else block to show private album description
-            $last_upload_date = $count ? localised_date($alb_stat['last_upload'], $lastup_date_fmt) : '';
-            $link_pic_count = !empty($alb_stat['link_pic_count']) ? $alb_stat['link_pic_count'] : 0;
-            $alb_list[$alb_idx]['aid'] = $alb_thumb['aid'];
-            $alb_list[$alb_idx]['album_title'] = $alb_thumb['title'];
-            $alb_list[$alb_idx]['album_desc'] = bb_decode($alb_thumb['description']);
-            $alb_list[$alb_idx]['pic_count'] = $count;
-            $alb_list[$alb_idx]['last_upl'] = $last_upload_date;
-            $alb_list[$alb_idx]['link_pic_count'] = $link_pic_count;
-            $alb_list[$alb_idx]['album_info'] = sprintf($lang_list_albums['n_pictures'], $count) . ($count ? sprintf($lang_list_albums['last_added'], $last_upload_date) : "") . (($CONFIG['link_pic_count'] && $link_pic_count > 0 ) ? sprintf(", {$lang_list_albums['n_link_pictures']},   {$lang_list_albums['total_pictures']}", $link_pic_count, $count + $link_pic_count) : "");
-            $alb_list[$alb_idx]['album_adm_menu'] = (GALLERY_ADMIN_MODE || (USER_ADMIN_MODE && $cat == USER_ID + FIRST_USER_CAT)) ? html_albummenu($alb_thumb['aid']) : ' ';
-        }
-    }
-
-    theme_display_album_list($alb_list, $nbAlb, $cat, $PAGE, $totalPages);
-}
-
-/**
-* list_cat_albums()
-*
-* This has been added to list the albums in a category, used for showing first level albumslargely a repetition of code elsewhere
-* Redone for a cleaner approach
-* @param integer $cat Category id for which albums are needed
-*/
-function list_cat_albums($cat = 0)
-{
-    global $CONFIG, $USER, $lastup_date_fmt, $USER_DATA, $FORBIDDEN_SET, $FORBIDDEN_SET_DATA, $cpg_show_private_album;
-    global $lang_list_albums, $lang_errors;
-
-    $PAGE = 1;
-    if ($cat == 0) {
-        return '';
-    }
-
-    $cat_owner_id = ($cat > 10000)?(10000 - $cat):(10001);
-    $cpg_nopic_data = cpg_get_system_thumb('nopic.jpg', $cat_owner_id);
-    $cpg_privatepic_data = cpg_get_system_thumb('private.jpg', $cat_owner_id);
-
-    $alb_per_page = $CONFIG['albums_per_page'];
-    $maxTab = $CONFIG['max_tabs'];
-
-    $album_filter = '';
-    $pic_filter = '';
-    if (!empty($FORBIDDEN_SET) && !$cpg_show_private_album) {
-        $album_filter = ' and ' . str_replace('p.', 'a.', $FORBIDDEN_SET);
-        $pic_filter = ' and ' . $FORBIDDEN_SET;
-    }
-
-    $sql = "SELECT count(*) FROM {$CONFIG['TABLE_ALBUMS']} as a WHERE category = '$cat'" . $album_filter;
-    $result = cpg_db_query($sql);
-    $nbEnr = mysql_fetch_array($result);
-    $nbAlb = $nbEnr[0];
-    mysql_free_result($result);
-
-    if ($nbAlb == 0) {
-        return;
-    }
-
-    $totalPages = ceil($nbAlb / $alb_per_page);
-
-    if ($PAGE > $totalPages) $PAGE = 1;
-    $lower_limit = ($PAGE-1) * $alb_per_page;
-    $upper_limit = min($nbAlb, $PAGE * $alb_per_page);
-    $limit = "LIMIT " . $lower_limit . "," . ($upper_limit - $lower_limit);
-
-    $sql = 'SELECT a.aid, a.title, a.description, visibility, filepath, ' . 'filename, url_prefix, pwidth, pheight ' . 'FROM ' . $CONFIG['TABLE_ALBUMS'] . ' as a ' . 'LEFT JOIN ' . $CONFIG['TABLE_PICTURES'] . ' as p ' . 'ON a.thumb=p.pid ' . 'WHERE category=' . $cat . $album_filter . ' ORDER BY a.pos ' . $limit;
-
-    $alb_thumbs_q = cpg_db_query($sql);
-    $alb_thumbs = cpg_db_fetch_rowset($alb_thumbs_q);
-    mysql_free_result($alb_thumbs_q);
-
-    $disp_album_count = count($alb_thumbs);
-    $album_set = '';
-    foreach($alb_thumbs as $value) {
-        $album_set .= $value['aid'] . ', ';
-    }
-    $album_set = '(' . substr($album_set, 0, -2) . ')';
-
-    /*$sql = "SELECT aid, count(pid) as pic_count, max(pid) as last_pid, max(ctime) as last_upload " . "FROM {$CONFIG['TABLE_PICTURES']} " . "WHERE aid IN $album_set AND approved = 'YES' " . "GROUP BY aid";
-    $alb_stats_q = cpg_db_query($sql);
-    $alb_stats = cpg_db_fetch_rowset($alb_stats_q);
-    mysql_free_result($alb_stats_q);*/
-
-    //This query will fetch album stats and keyword for the albums
-    $sql = "SELECT a.aid, count( p.pid )  AS pic_count, max( p.pid )  AS last_pid, max( p.ctime )  AS last_upload, a.keyword" .
-            " FROM {$CONFIG['TABLE_ALBUMS']} AS a " .
-            " LEFT JOIN {$CONFIG['TABLE_PICTURES']} AS p ON a.aid = p.aid AND p.approved =  'YES' ".
-            "WHERE a.aid IN $album_set" . "GROUP BY a.aid";
-    $alb_stats_q = cpg_db_query($sql);
-    $alb_stats = cpg_db_fetch_rowset($alb_stats_q);
-    mysql_free_result($alb_stats_q);
-
-    foreach($alb_stats as $key => $value) {
-        $cross_ref[$value['aid']] = &$alb_stats[$key];
-        if ($CONFIG['link_pic_count'] == 1) {
-          if (!empty($value['keyword'])) {
-            $query = "SELECT count(pid) AS link_pic_count
-                      FROM {$CONFIG['TABLE_PICTURES']}
-                        WHERE aid != {$value['aid']} AND
-                        keywords LIKE '%{$value['keyword']}%' AND
-                        approved = 'YES'";
-            $result = cpg_db_query($query);
-            $link_stat = mysql_fetch_array ($result);
-            mysql_free_result($result);
-            $alb_stats[$key]['link_pic_count'] = $link_stat['link_pic_count'];
-          }
-       }
-    }
-
-    for ($alb_idx = 0; $alb_idx < $disp_album_count; $alb_idx++) {
-        $alb_thumb = &$alb_thumbs[$alb_idx];
-        $aid = $alb_thumb['aid'];
-
-        if (isset($cross_ref[$aid])) {
-            $alb_stat = $cross_ref[$aid];
-            $count = $alb_stat['pic_count'];
-        } else {
-            $alb_stat = array();
-            $count = 0;
-        }
-        // Inserts a thumbnail if the album contains 1 or more images
-        $visibility = $alb_thumb['visibility'];
-                if (!in_array($aid,$FORBIDDEN_SET_DATA) || $CONFIG['allow_private_albums'] == 0) { //test for visibility
-            if ($count > 0) { // Inserts a thumbnail if the album contains 1 or more images
-                if ($alb_thumb['filename']) {
-                    $picture = &$alb_thumb;
-                } else {
-                    $sql = "SELECT filepath, filename, url_prefix, pwidth, pheight " . "FROM {$CONFIG['TABLE_PICTURES']} " . "WHERE pid='{$alb_stat['last_pid']}'";
-                    $result = cpg_db_query($sql);
-                    $picture = mysql_fetch_array($result);
-                    mysql_free_result($result);
-                }
-                $pic_url = get_pic_url($picture, 'thumb');
-                if (!is_image($picture['filename'])) {
-                    $image_info = getimagesize(urldecode($pic_url));
-                    $picture['pwidth'] = $image_info[0];
-                    $picture['pheight'] = $image_info[1];
-                }
-                $image_size = compute_img_size($picture['pwidth'], $picture['pheight'], $CONFIG['alb_list_thumb_size']);
-                $alb_list[$alb_idx]['thumb_pic'] = "<img src=\"" . $pic_url . "\" class=\"image\" {$image_size['geom']} border=\"0\" alt=\"{$picture['filename']}\" />";
-            } else { // Inserts an empty thumbnail if the album contains 0 images
-                // $image_size = compute_img_size(100, 75, $CONFIG['alb_list_thumb_size']);
-                $alb_list[$alb_idx]['thumb_pic'] = '<img src="' . $cpg_nopic_data['thumb'] . '" ' . $cpg_nopic_data['whole'] . ' class="image" border="0" alt="" />';
-            }
-        } elseif ($CONFIG['show_private']) {
-            // $image_size = compute_img_size(100, 75, $CONFIG['alb_list_thumb_size']);
-            $alb_list[$alb_idx]['thumb_pic'] = '<img src="' . $cpg_privatepic_data['thumb'] . '" ' . $cpg_privatepic_data['whole'] . ' class="image" border="0" alt="" />';
-        }
-        // Prepare everything
-        if (!in_array($aid,$FORBIDDEN_SET_DATA) || $CONFIG['allow_private_albums'] == 0) {
-            $last_upload_date = $count ? localised_date($alb_stat['last_upload'], $lastup_date_fmt) : '';
-            $link_pic_count = !empty($alb_stat['link_pic_count']) ? $alb_stat['link_pic_count'] : 0;
-            $alb_list[$alb_idx]['aid'] = $alb_thumb['aid'];
-            $alb_list[$alb_idx]['album_title'] = $alb_thumb['title'];
-            $alb_list[$alb_idx]['album_desc'] = bb_decode($alb_thumb['description']);
-            $alb_list[$alb_idx]['pic_count'] = $count;
-            $alb_list[$alb_idx]['last_upl'] = $last_upload_date;
-            $alb_list[$alb_idx]['album_info'] = sprintf($lang_list_albums['n_pictures'], $count) . ($count ? sprintf($lang_list_albums['last_added'], $last_upload_date) : "") . (($CONFIG['link_pic_count'] && $link_pic_count > 0)  ? sprintf(", {$lang_list_albums['n_link_pictures']}, {$lang_list_albums['total_pictures']}", $link_pic_count, $count + $link_pic_count) : "");
-            $alb_list[$alb_idx]['album_adm_menu'] = (GALLERY_ADMIN_MODE || (USER_ADMIN_MODE && $cat == USER_ID + FIRST_USER_CAT)) ? html_albummenu($alb_thumb['aid']) : '';
-        } elseif ($CONFIG['show_private']) { // uncomment this else block to show private album description
-            $last_upload_date = $count ? localised_date($alb_stat['last_upload'], $lastup_date_fmt) : '';
-            $link_pic_count = !empty($alb_stat['link_pic_count']) ? $alb_stat['link_pic_count'] : 0;
-            $alb_list[$alb_idx]['aid'] = $alb_thumb['aid'];
-            $alb_list[$alb_idx]['album_title'] = $alb_thumb['title'];
-            $alb_list[$alb_idx]['album_desc'] = bb_decode($alb_thumb['description']);
-            $alb_list[$alb_idx]['pic_count'] = $count;
-            $alb_list[$alb_idx]['last_upl'] = $last_upload_date;
-            $alb_list[$alb_idx]['album_info'] = sprintf($lang_list_albums['n_pictures'], $count) . ($count ? sprintf($lang_list_albums['last_added'], $last_upload_date) : "") . (($CONFIG['link_pic_count'] && $link_pic_count > 0 )? sprintf(", {$lang_list_albums['n_link_pictures']}, {$lang_list_albums['total_pictures']}", $link_pic_count, $count + $link_pic_count) : "");
-            $alb_list[$alb_idx]['album_adm_menu'] = (GALLERY_ADMIN_MODE || (USER_ADMIN_MODE && $cat == USER_ID + FIRST_USER_CAT)) ? html_albummenu($alb_thumb['aid']) : '';
-        }
-    }
-    ob_start();
-    theme_display_album_list_cat($alb_list, $nbAlb, $cat, $PAGE, $totalPages);
-    $cat_albums = ob_get_contents();
-    ob_end_clean();
-    return $cat_albums;
-}
-
-//
-// Main code
-//
-if (!$file) {
-
-    /**
-    * See if $page has been passed in GET
-    */
-    if (isset($_GET['page'])) {
-        $PAGE = max((int)$_GET['page'], 1);
-        $USER['lap'] = $PAGE;
-    } elseif (isset($USER['lap'])) {
-        $PAGE = max((int)$USER['lap'], 1);
-    } else {
-        $PAGE = 1;
-    }
-
-    /**
-    * Loop through the $elements array to build the page using the parameters
-    * set in the config
-    */
-
-
-    /**
-    * See if $cat has been passed in GET
-    */
-
-    if (isset($_GET['cat'])) {
-        $cat = (int)$_GET['cat'];
-    }
-    // Gather data for categories
-    $breadcrumb = '';
-    $cat_data = array();
-    $statistics = '';
-    $STATS_IN_ALB_LIST = false;
-
-    $cpg_show_private_album = ($CONFIG['allow_private_albums'])?($CONFIG['show_private']):(true);
-
-    if (isset($cat)) {
-        get_meta_album_set($cat,$META_ALBUM_SET);
-    } else {
-        get_meta_album_set(0,$META_ALBUM_SET);
-    }
-
-    get_cat_list($breadcrumb, $cat_data, $statistics);
-
-    pageheader($BREADCRUMB_TEXT ? $BREADCRUMB_TEXT : $lang_index_php['welcome']);
-    adminmessages();
-
-    $elements = preg_split("|/|", $CONFIG['main_page_layout'], -1, PREG_SPLIT_NO_EMPTY);
-
-    foreach ($elements as $element) {
-        if (preg_match("/(\w+),*(\d+)*/", $element, $matches)){
-            if (!isset($matches[2])) { // added to fix notice about undefined index
-                $matches[2] = 0;
-            }
-
-            $matches = CPGPluginAPI::filter('plugin_block', $matches);
-
-            if (is_array($matches)) {
-                switch ($matches[1]) {
-                    case 'breadcrumb':
-                        // Added breadcrumb as a separate listable block from config
-                        if (($breadcrumb != '' || count($cat_data) > 0) && $cat != 0) theme_display_breadcrumb($breadcrumb, $cat_data);
-                        break;
-
-                    case 'catlist':
-                        if ($breadcrumb != '' || count($cat_data) > 0) theme_display_cat_list($breadcrumb, $cat_data, $statistics);
-                        if (isset($cat) && $cat == USER_GAL_CAT) {
-                            list_users();
-                        }
-                        flush();
-                        break;
-
-                    case 'alblist':
-                        list_albums();
-                        flush();
-                        break;
-
-                    case 'random':
-                        display_thumbnails('random', $cat, 1, $CONFIG['thumbcols'], max(1, $matches[2]), false);
-                        flush();
-                        break;
-
-                    case 'lastup':
-                        display_thumbnails('lastup', $cat, 1, $CONFIG['thumbcols'], max(1, $matches[2]), false);
-                        flush();
-                        break;
-
-                    case 'lastalb':
-                        display_thumbnails('lastalb', $cat, 1, $CONFIG['thumbcols'], max(1, $matches[2]), false);
-                        break;
-
-                    case 'topn':
-                        display_thumbnails('topn', $cat, 1, $CONFIG['thumbcols'], max(1, $matches[2]), false);
-                        flush();
-                        break;
-
-                    case 'toprated':
-                        display_thumbnails('toprated', $cat, 1, $CONFIG['thumbcols'], max(1, $matches[2]), false);
-                        flush();
-                        break;
-
-                    case 'lastcom':
-                        display_thumbnails('lastcom', $cat, 1, $CONFIG['thumbcols'], max(1, $matches[2]), false);
-                        flush();
-                        break;
-
-                    case 'lasthits':
-                        display_thumbnails('lasthits', $cat, 1, $CONFIG['thumbcols'], max(1, $matches[2]), false);
-                        flush();
-                        break;
-
-                    case 'anycontent':
-                        if ($cat == 0) {
-                            ob_start();
-                            /**
-                             * Any php code or HTML can be put in this file and will be displayed
-                             */
-                            include('anycontent.php');
-                            $anycontent = CPGPluginAPI::filter('anycontent',ob_get_contents());
-                            ob_end_clean();
-                            echo ($anycontent);
-                        }
-                        flush();
-                        break;
-                }
-            }
-        }
-    }
-
-    pagefooter();
-}
-
-ob_end_flush();
-
-/* Not used anymore, somone else removed the usage of this keying in functions.inc.php due to problems - donnoman
-// Speed-up the random image query by 'keying' the image table
-if (time() - $CONFIG['randpos_interval'] > 86400) {
-    $result = cpg_db_query("SELECT count(*) FROM {$CONFIG['TABLE_PICTURES']} WHERE 1");
-    $nbEnr = mysql_fetch_array($result);
-    mysql_free_result($result);
-    $pic_count = $nbEnr[0];
-    $granularity = floor($pic_count / RANDPOS_MAX_PIC);
-    $result = cpg_db_query("UPDATE {$CONFIG['TABLE_PICTURES']} SET randpos = ROUND(RAND()*$granularity) WHERE 1");
-    $result = cpg_db_query("UPDATE {$CONFIG['TABLE_CONFIG']} SET value = '" . time() . "' WHERE name = 'randpos_interval'");
-}
-*/
+<?php
+/*************************
+  Coppermine Photo Gallery
+  ************************
+  Copyright (c) 2003-2009 Coppermine Dev Team
+  v1.1 originally written by Gregory DEMAR
+
+  This program is free software; you can redistribute it and/or modify
+  it under the terms of the GNU General Public License version 3
+  as published by the Free Software Foundation.
+  
+  ********************************************
+  Coppermine version: 1.4.25
+  $HeadURL: https://coppermine.svn.sourceforge.net/svnroot/coppermine/trunk/cpg1.4.x/index.php $
+  $Revision: 5997 $
+  $Author: gaugau $
+  $Date: 2009-05-26 08:43:24 +0200 (Di, 26 Mai 2009) $
+**********************************************/
+
+/**
+* Coppermine Photo Gallery 1.4.14 index.php
+*
+* This file is the main display for categories and album it also displays thumbnails,
+* also see documentation for this file's {@relativelink ../_index.php.php Free Standing Code}
+*
+* @copyright  2002-2005 Gregory DEMAR, Coppermine Dev Team
+* @license http://www.gnu.org/licenses/gpl.html GNU General Public License V3
+* @package Coppermine
+* @version $Id: index.php 5997 2009-05-26 06:43:24Z gaugau $
+*/
+
+/**
+* Unless this is true most things wont work - protection against direct execution of inc files
+*/
+define('IN_COPPERMINE', true);
+
+if (isset($_GET['file'])) {
+    // Scrub: Remove '..' and leftover '//' from filename
+    $file = str_replace('..','',str_replace('//','',$_GET['file']));
+    $fileValidationPattern = "/^([a-zA-Z0-9_\-]+)(\/{0,1}?)([a-zA-Z0-9_\-]+)$/";
+    // There can be only alphanumerals in a plugin's folder name. There mustn't be any dots or other special chars in it.
+    // The only exception is the hypen (-) and underscore (_)
+    // Examples for folder names: "myplugin" = OK, "my_plugin" = OK, "my plugin" = BAD, "m&uuml;_plugin" = BAD
+    // Files the plugin is meant to include can only contain one single dot that separates the actual filename from the php-extension
+    // Same restrictions apply as for the folder name (only alphanumerals, hyphen and underscore)
+    if (preg_match($fileValidationPattern, $file) == FALSE) {
+            $file = ''; // something's fishy with the filename, let's drop it
+    }
+    $path = './plugins/'.$file.'.php';
+
+    // Don't include the codebase and credits files
+    if ($file != 'codebase' && $file != 'configuration' && file_exists($path)) {
+
+        // Include the code from the plugin
+        include_once($path);
+        $file = true;
+    } else {
+        $file = false;
+    }
+} else $file = false;
+
+if (!$file) {
+    /**
+    * Sets the flag for lang file
+    */
+    define('INDEX_PHP', true);
+
+    require('include/init.inc.php');
+
+    if (!USER_ID && $CONFIG['allow_unlogged_access'] == 0) {
+        $redirect = $redirect . "login.php";
+        header("Location: $redirect");
+        exit();
+    }
+
+    if ($CONFIG['enable_smilies']) include("include/smilies.inc.php");
+}
+
+
+/**
+* Local functions definition
+*/
+
+/**
+ * html_albummenu()
+ *
+ * This function draws the links for admin menu of Albums
+ *
+ * @param integer $id ID of the album for which the links are being drawn
+ * @return string The evaluated template block with links
+ **/
+function html_albummenu($id)
+{
+    global $template_album_admin_menu, $lang_album_admin_menu;
+
+    static $template = '';
+
+    if ($template == '') {
+        $params = array('{CONFIRM_DELETE}' => $lang_album_admin_menu['confirm_delete'],
+            '{DELETE}' => $lang_album_admin_menu['delete'],
+            '{MODIFY}' => $lang_album_admin_menu['modify'],
+            '{EDIT_PICS}' => $lang_album_admin_menu['edit_pics'],
+            );
+
+        $template = template_eval($template_album_admin_menu, $params);
+    }
+
+    $params = array('{ALBUM_ID}' => $id,
+        );
+
+    return template_eval($template, $params);
+}
+
+/**
+ * get_subcat_data()
+ *
+ * Get the data about the sub categories which are going to be shown on the index page, this function is called recursively
+ *
+ * @param integer $parent Parent Category
+ * @param array $cat_data
+ * @param array $album_set_array
+ * @param integer $level Level being displayed
+ * @param string $ident String to use as indentation for Categories
+ * @return void
+ **/
+function get_subcat_data($parent, &$cat_data, &$album_set_array, $level, $ident = '')
+{
+    global $CONFIG, $HIDE_USER_CAT, $FORBIDDEN_SET, $cpg_show_private_album;
+
+    $album_filter = '';
+    $pic_filter = '';
+    if (!empty($FORBIDDEN_SET) && !$cpg_show_private_album) {
+        $album_filter = ' and ' . str_replace('p.', 'a.', $FORBIDDEN_SET);
+        $pic_filter = ' and ' . str_replace('p.', $CONFIG['TABLE_PICTURES'] . '.', $FORBIDDEN_SET);
+    }
+    if ($CONFIG['categories_alpha_sort'] == 1) {$cat_sort_order = 'name';}else{$cat_sort_order = 'pos';}
+    $result = cpg_db_query("SELECT cid, name, description, thumb FROM {$CONFIG['TABLE_CATEGORIES']} WHERE parent = '$parent'  ORDER BY $cat_sort_order");
+
+    if (mysql_num_rows($result) > 0) {
+        $rowset = cpg_db_fetch_rowset($result);
+        foreach ($rowset as $subcat) {
+            if ($subcat['cid'] == USER_GAL_CAT) {
+                $sql = "SELECT aid FROM {$CONFIG['TABLE_ALBUMS']} as a WHERE category>=" . FIRST_USER_CAT . $album_filter;
+                $result = cpg_db_query($sql);
+                $album_count = mysql_num_rows($result);
+                while ($row = mysql_fetch_array($result)) {
+                    $album_set_array[] = $row['aid'];
+                } // while
+                mysql_free_result($result);
+
+                $result = cpg_db_query("SELECT count(*) FROM {$CONFIG['TABLE_PICTURES']} as p, {$CONFIG['TABLE_ALBUMS']} as a WHERE p.aid = a.aid AND approved='YES' AND category >= " . FIRST_USER_CAT . $album_filter);
+                $nbEnr = mysql_fetch_array($result);
+                $pic_count = $nbEnr[0];
+
+                $subcat['description'] = preg_replace("/<br.*?>[\r\n]*/i", '<br />' . $ident , bb_decode($subcat['description']));
+
+                $link = $ident . "<a href=\"index.php?cat={$subcat['cid']}\">{$subcat['name']}</a>";
+                if ($album_count) {
+                    $cat_data[] = array($link, $ident . $subcat['description'], $album_count, $pic_count);
+                    $HIDE_USER_CAT = 0;
+                } else {
+                    $HIDE_USER_CAT = 1;
+                }
+            } else {
+                $unaliased_album_filter = str_replace('a.', '', $album_filter);
+                $result = cpg_db_query("SELECT aid FROM {$CONFIG['TABLE_ALBUMS']} WHERE category = {$subcat['cid']}" . $unaliased_album_filter);
+                $album_count = mysql_num_rows($result);
+                while ($row = mysql_fetch_array($result)) {
+                    $album_set_array[] = $row['aid'];
+                } // while
+                mysql_free_result($result);
+
+                $result = cpg_db_query("SELECT count(*) FROM {$CONFIG['TABLE_PICTURES']} as p, {$CONFIG['TABLE_ALBUMS']} as a WHERE p.aid = a.aid AND approved='YES' AND category = {$subcat['cid']}" . $album_filter);
+                $nbEnr = mysql_fetch_array($result);
+                mysql_free_result($result);
+                $pic_count = $nbEnr[0];
+                if ($subcat['thumb'] > 0) {
+                    $sql = "SELECT filepath, filename, url_prefix, pwidth, pheight " . "FROM {$CONFIG['TABLE_PICTURES']} " . "WHERE pid='{$subcat['thumb']}'" . $pic_filter;
+                    $result = cpg_db_query($sql);
+                    if (mysql_num_rows($result)) {
+                        $picture = mysql_fetch_array($result);
+                        mysql_free_result($result);
+                        $pic_url = get_pic_url($picture, 'thumb');
+                        if (!is_image($picture['filename'])) {
+                            $image_info = getimagesize(urldecode($pic_url));
+                            $picture['pwidth'] = $image_info[0];
+                            $picture['pheight'] = $image_info[1];
+                        }
+                        $image_size = compute_img_size($picture['pwidth'], $picture['pheight'], $CONFIG['alb_list_thumb_size']);
+                        $user_thumb = "<img src=\"" . $pic_url . "\" class=\"image\" {$image_size['geom']} border=\"0\" alt=\"\" />";
+                        $user_thumb = "<a href=\"index.php?cat={$subcat['cid']}\">" . $user_thumb . "</a>";
+                    } else {
+                        $user_thumb = "";
+                    }
+                } else {
+                    $user_thumb = "";
+                }
+                $subcat['name'] = $subcat['name'];
+                $subcat['description'] = preg_replace("/<br.*?>[\r\n]*/i", '<br />', bb_decode($subcat['description']));
+                $link = "<a href=\"index.php?cat={$subcat['cid']}\">{$subcat['name']}</a>";
+                $user_thumb = $ident . $user_thumb;
+                if ($pic_count == 0 && $album_count == 0) {
+                                        $user_thumb = $ident;
+                    $cat_data[] = array($link, $subcat['description'], 'cat_thumb' => $user_thumb);
+                } else {
+                    // Check if you need to show subcat_level
+                    if ($level == $CONFIG['subcat_level']) {
+                        $cat_albums = list_cat_albums($subcat['cid']);
+                    } else {
+                        $cat_albums = '';
+                    }
+                    $cat_data[] = array($link, $subcat['description'], $album_count, $pic_count, 'cat_albums' => $cat_albums, 'cat_thumb' => $user_thumb);
+                }
+            }
+
+            if ($level > 1) {
+                                get_subcat_data($subcat['cid'], $cat_data, $album_set_array, $level -1, $ident . "</td><td><img src=\"images/spacer.gif\" width=\"20\" height=\"1\" border=\"0\" alt=\"\" /></td><td>");
+                        }
+        }
+    }
+}
+
+/**
+ * get_cat_list()
+ *
+ *  List all categories
+ *
+ * @param string $breadcrumb
+ * @param array $cat_data
+ * @param string $statistics
+ * @return void
+ **/
+function get_cat_list(&$breadcrumb, &$cat_data, &$statistics)
+{
+    global $CONFIG, $ALBUM_SET, $CURRENT_CAT_NAME, $BREADCRUMB_TEXT, $STATS_IN_ALB_LIST, $FORBIDDEN_SET;
+    global $HIDE_USER_CAT, $cpg_show_private_album;
+    global $cat;
+    global $lang_list_categories, $lang_errors;
+    // Build the breadcrumb
+    breadcrumb($cat, $breadcrumb, $BREADCRUMB_TEXT);
+    // Build the category list
+    $cat_data = array();
+    $album_set_array = array();
+    get_subcat_data($cat, $cat_data, $album_set_array, $CONFIG['subcat_level']);
+
+    $album_filter = '';
+    $pic_filter = '';
+    $cat = (int) $cat;
+    if (!empty($FORBIDDEN_SET) && !$cpg_show_private_album) {
+        $album_filter = ' and ' . str_replace('p.', 'a.', $FORBIDDEN_SET);
+        $pic_filter = ' and ' . $FORBIDDEN_SET;
+    }
+    // Add the albums in the current category to the album set
+    // if ($cat) {
+    if ($cat == USER_GAL_CAT) {
+        $sql = "SELECT aid FROM {$CONFIG['TABLE_ALBUMS']} as a WHERE category >= " . FIRST_USER_CAT . $album_filter;
+        $result = cpg_db_query($sql);
+    } else {
+        $sql = "SELECT aid FROM {$CONFIG['TABLE_ALBUMS']} as a WHERE category = '$cat'" . $album_filter;
+        $result = cpg_db_query($sql);
+    } while ($row = mysql_fetch_array($result)) {
+        $album_set_array[] = $row['aid'];
+    } // while
+    mysql_free_result($result);
+    // }
+    if (count($album_set_array) && $cat) {
+        $set = '';
+        foreach ($album_set_array as $album) $set .= $album . ',';
+        $set = substr($set, 0, -1);
+        $current_album_set = "AND aid IN ($set) ";
+        $ALBUM_SET .= $current_album_set;
+    } elseif ($cat) {
+        $current_album_set = "AND aid IN (-1) ";
+        $ALBUM_SET .= $current_album_set;
+    }
+    // Gather gallery statistics
+    if ($cat == 0) {
+        $result = cpg_db_query("SELECT count(*) FROM {$CONFIG['TABLE_ALBUMS']} as a WHERE 1" . $album_filter);
+        $nbEnr = mysql_fetch_array($result);
+        $album_count = $nbEnr[0];
+        mysql_free_result($result);
+
+        $sql = "SELECT count(*) FROM {$CONFIG['TABLE_PICTURES']} as p " . 'LEFT JOIN ' . $CONFIG['TABLE_ALBUMS'] . ' as a ' . 'ON a.aid=p.aid ' . 'WHERE 1' . $pic_filter . ' AND approved=\'YES\'';
+        $result = cpg_db_query($sql);
+        $nbEnr = mysql_fetch_array($result);
+        $picture_count = $nbEnr[0];
+        mysql_free_result($result);
+
+        $sql = "SELECT count(*) FROM {$CONFIG['TABLE_COMMENTS']} as c " . 'LEFT JOIN ' . $CONFIG['TABLE_PICTURES'] . ' as p ' . 'ON c.pid=p.pid ' . 'LEFT JOIN ' . $CONFIG['TABLE_ALBUMS'] . ' as a ' . 'ON a.aid=p.aid ' . 'WHERE 1' . $pic_filter;
+        $result = cpg_db_query($sql);
+        $nbEnr = mysql_fetch_array($result);
+        $comment_count = $nbEnr[0];
+        mysql_free_result($result);
+
+        $sql = "SELECT count(*) FROM {$CONFIG['TABLE_CATEGORIES']} WHERE 1";
+        $result = cpg_db_query($sql);
+        $nbEnr = mysql_fetch_array($result);
+        $cat_count = $nbEnr[0] - $HIDE_USER_CAT;
+        mysql_free_result($result);
+
+        $sql = "SELECT sum(hits) FROM {$CONFIG['TABLE_PICTURES']} as p " . 'LEFT JOIN ' . $CONFIG['TABLE_ALBUMS'] . ' as a ' . 'ON p.aid=a.aid ' . 'WHERE 1' . $pic_filter;
+        $result = cpg_db_query($sql);
+        $nbEnr = mysql_fetch_array($result);
+        $hit_count = (int)$nbEnr[0];
+        mysql_free_result($result);
+
+        if (count($cat_data)) {
+            $statistics = strtr($lang_list_categories['stat1'], array('[pictures]' => $picture_count,
+                    '[albums]' => $album_count,
+                    '[cat]' => $cat_count,
+                    '[comments]' => $comment_count,
+                    '[views]' => $hit_count));
+        } else {
+            $STATS_IN_ALB_LIST = true;
+            $statistics = strtr($lang_list_categories['stat3'], array('[pictures]' => $picture_count,
+                    '[albums]' => $album_count,
+                    '[comments]' => $comment_count,
+                    '[views]' => $hit_count));
+        }
+    } elseif ($cat >= FIRST_USER_CAT && $ALBUM_SET) {
+        $result = cpg_db_query("SELECT count(*) FROM {$CONFIG['TABLE_ALBUMS']} WHERE 1 $current_album_set");
+        $nbEnr = mysql_fetch_array($result);
+        $album_count = $nbEnr[0];
+        mysql_free_result($result);
+
+        $result = cpg_db_query("SELECT count(*) FROM {$CONFIG['TABLE_PICTURES']} WHERE 1 $current_album_set AND approved='YES'");
+        $nbEnr = mysql_fetch_array($result);
+        $picture_count = $nbEnr[0];
+        mysql_free_result($result);
+
+        $result = cpg_db_query("SELECT sum(hits) FROM {$CONFIG['TABLE_PICTURES']} WHERE 1 $current_album_set");
+        $nbEnr = mysql_fetch_array($result);
+        $hit_count = (int)$nbEnr[0];
+        mysql_free_result($result);
+
+        $statistics = strtr($lang_list_categories['stat2'], array('[pictures]' => $picture_count,
+                '[albums]' => $album_count,
+                '[views]' => $hit_count));
+    } else {
+        $statistics = '';
+    }
+}
+
+/**
+* list_users()
+*
+* Get a list of users galleries
+*/
+function list_users()
+{
+    global $CONFIG, $PAGE, $FORBIDDEN_SET;
+    global $lang_list_users, $lang_errors, $template_user_list_info_box, $cpg_show_private_album, $cpg_udb;
+
+    $rowset = $cpg_udb->list_users_query($user_count);
+
+    if (!$rowset) {
+        msg_box($lang_list_users['user_list'], $lang_list_users['no_user_gal'], '', '', '100%');
+        return;
+    }
+
+    $user_per_page = $CONFIG['thumbcols'] * $CONFIG['thumbrows'];
+    $totalPages = ceil($user_count / $user_per_page);
+
+    $user_list = array();
+    foreach ($rowset as $user) {
+        $cpg_nopic_data = cpg_get_system_thumb('nopic.jpg', $user['user_id']);
+        $user_thumb = '<img src="' . $cpg_nopic_data['thumb'] . '" ' . $cpg_nopic_data['whole'] . ' class="image" border="0" alt="" />';
+        $user_pic_count = $user['pic_count'];
+        $user_thumb_pid = ($user['gallery_pid']) ? $user['gallery_pid'] : $user['thumb_pid'];
+        $user_album_count = $user['alb_count'];
+
+        if ($user_pic_count) {
+            $sql = "SELECT filepath, filename, url_prefix, pwidth, pheight " . "FROM {$CONFIG['TABLE_PICTURES']} " . "WHERE pid='$user_thumb_pid' AND approved='YES'";
+            $result = cpg_db_query($sql);
+            if (mysql_num_rows($result)) {
+                $picture = mysql_fetch_array($result);
+                mysql_free_result($result);
+                $pic_url = get_pic_url($picture, 'thumb');
+                if (!is_image($picture['filename'])) {
+                    $image_info = getimagesize(urldecode($pic_url));
+                    $picture['pwidth'] = $image_info[0];
+                    $picture['pheight'] = $image_info[1];
+                }
+                $image_size = compute_img_size($picture['pwidth'], $picture['pheight'], $CONFIG['alb_list_thumb_size']);
+                $user_thumb = "<img src=\"" . $pic_url . "\" class=\"image\" {$image_size['geom']} border=\"0\" alt=\"\" />";
+            }
+        }
+
+        $albums_txt = sprintf($lang_list_users['n_albums'], $user_album_count);
+        $pictures_txt = sprintf($lang_list_users['n_pics'], $user_pic_count);
+
+        $params = CPGPluginAPI::filter('user_caption_params', array('{USER_NAME}' => $user['user_name'],
+            '{USER_ID}' => $user['user_id'],
+            '{ALBUMS}' => $albums_txt,
+            '{PICTURES}' => $pictures_txt,
+            )
+        );
+
+        $caption = template_eval($template_user_list_info_box, $params);
+
+        $user_list[] = array('cat' => FIRST_USER_CAT + $user['user_id'],
+            'image' => $user_thumb,
+            'caption' => $caption,
+            );
+    }
+    theme_display_thumbnails($user_list, $user_count, '', '', 1, $PAGE, $totalPages, false, true, 'user');
+}
+
+/**
+* list_albums()
+*
+* Get a list of albums
+*/
+function list_albums()
+{
+    global $CONFIG, $USER, $USER_DATA, $PAGE, $lastup_date_fmt, $FORBIDDEN_SET, $FORBIDDEN_SET_DATA;
+    global $cat;
+    global $lang_list_albums, $lang_errors, $cpg_show_private_album;
+
+    $alb_per_page = $CONFIG['albums_per_page'];
+    $maxTab = $CONFIG['max_tabs'];
+
+    $album_filter = '';
+    $pic_filter = '';
+    $pic_subquery = '';
+
+    if (!empty($FORBIDDEN_SET) && !$cpg_show_private_album) {
+        $album_filter = ' and ' . str_replace('p.', 'a.', $FORBIDDEN_SET);
+        $pic_filter = ' and ' . $FORBIDDEN_SET;
+    }
+
+    $result = cpg_db_query("SELECT count(*) FROM {$CONFIG['TABLE_ALBUMS']} as a WHERE category = '$cat'" . $album_filter);
+    $nbEnr = mysql_fetch_array($result);
+    $nbAlb = $nbEnr[0];
+    mysql_free_result($result);
+
+    if (!$nbAlb) return;
+
+    $totalPages = ceil($nbAlb / $alb_per_page);
+
+    if ($PAGE > $totalPages) $PAGE = 1;
+    $lower_limit = ($PAGE-1) * $alb_per_page;
+    $upper_limit = min($nbAlb, $PAGE * $alb_per_page);
+    $limit = "LIMIT " . $lower_limit . "," . ($upper_limit - $lower_limit);
+
+    $sql = 'SELECT a.aid, a.title, a.description, category, visibility, filepath, ' . 'filename, url_prefix, pwidth, pheight ' . 'FROM ' . $CONFIG['TABLE_ALBUMS'] . ' as a ' . 'LEFT JOIN ' . $CONFIG['TABLE_PICTURES'] . ' as p ' . 'ON a.thumb=p.pid ' . 'WHERE category=' . $cat . $album_filter . ' ORDER BY a.pos ' . $limit;
+
+    $alb_thumbs_q = cpg_db_query($sql);
+    $alb_thumbs = cpg_db_fetch_rowset($alb_thumbs_q);
+    mysql_free_result($alb_thumbs_q);
+
+    $disp_album_count = count($alb_thumbs);
+    $album_set = '';
+    foreach($alb_thumbs as $value) {
+        $album_set .= $value['aid'] . ', ';
+    }
+    $album_set = '(' . substr($album_set, 0, -2) . ')';
+
+    //This query will fetch album stats and keyword for the albums
+    $sql = "SELECT a.aid, count( p.pid )  AS pic_count, max( p.pid )  AS last_pid, max( p.ctime )  AS last_upload, a.keyword" .
+            " FROM {$CONFIG['TABLE_ALBUMS']} AS a " .
+            " LEFT JOIN {$CONFIG['TABLE_PICTURES']} AS p ON a.aid = p.aid AND p.approved =  'YES' ".
+            "WHERE a.aid IN $album_set" . "GROUP BY a.aid";
+
+    $alb_stats_q = cpg_db_query($sql);
+    $alb_stats = cpg_db_fetch_rowset($alb_stats_q);
+    mysql_free_result($alb_stats_q);
+
+
+    foreach($alb_stats as $key => $value) {
+        $cross_ref[$value['aid']] = &$alb_stats[$key];
+        if ($CONFIG['link_pic_count'] == 1) {
+          if (!empty($value['keyword'])) {
+            $value['keyword'] = addslashes($value['keyword']);
+            $query = "SELECT count(pid) AS link_pic_count
+                      FROM {$CONFIG['TABLE_PICTURES']}
+                        WHERE aid != {$value['aid']} AND
+                        keywords LIKE '%{$value['keyword']}%' AND
+                        approved = 'YES'";
+            $result = cpg_db_query($query);
+            $link_stat = mysql_fetch_array ($result);
+            mysql_free_result($result);
+            $alb_stats[$key]['link_pic_count'] = $link_stat['link_pic_count'];
+          }
+       }
+    }
+
+    for ($alb_idx = 0; $alb_idx < $disp_album_count; $alb_idx++) {
+        $alb_thumb = &$alb_thumbs[$alb_idx];
+        $aid = $alb_thumb['aid'];
+
+        if (isset($cross_ref[$aid])) {
+            $alb_stat = $cross_ref[$aid];
+            $count = $alb_stat['pic_count'];
+        } else {
+            $alb_stat = array();
+            $count = 0;
+        }
+        // Inserts a thumbnail if the album contains 1 or more images
+        $visibility = $alb_thumb['visibility'];
+
+                if (!in_array($aid,$FORBIDDEN_SET_DATA) || $CONFIG['allow_private_albums'] == 0) {
+            if ($count > 0) {
+                if ($alb_thumb['filename']) {
+                    $picture = &$alb_thumb;
+                } else {
+                    $sql = "SELECT filepath, filename, url_prefix, pwidth, pheight " . "FROM {$CONFIG['TABLE_PICTURES']} " . "WHERE pid='{$alb_stat['last_pid']}'";
+                    $result = cpg_db_query($sql);
+                    $picture = mysql_fetch_array($result);
+                    mysql_free_result($result);
+                }
+                $pic_url = get_pic_url($picture, 'thumb');
+                if (!is_image($picture['filename'])) {
+                    $image_info = getimagesize(urldecode($pic_url));
+                    $picture['pwidth'] = $image_info[0];
+                    $picture['pheight'] = $image_info[1];
+                }
+                $image_size = compute_img_size($picture['pwidth'], $picture['pheight'], $CONFIG['alb_list_thumb_size']);
+                $alb_list[$alb_idx]['thumb_pic'] = "<img src=\"" . $pic_url . "\" class=\"image\" {$image_size['geom']} border=\"0\" alt=\"{$picture['filename']}\" />";
+            } else { // Inserts an empty thumbnail if the album contains 0 images
+                // $image_size = compute_img_size(100, 75, $CONFIG['alb_list_thumb_size']);
+                $cpg_nopic_data = cpg_get_system_thumb('nopic.jpg', $alb_thumb['category']);
+                $alb_list[$alb_idx]['thumb_pic'] = '<img src="' . $cpg_nopic_data['thumb'] . '" ' . $cpg_nopic_data['whole'] . ' class="image" border="0" alt="" />';
+            }
+        } elseif ($CONFIG['show_private']) {
+            // $image_size = compute_img_size(100, 75, $CONFIG['alb_list_thumb_size']);
+            $cpg_privatepic_data = cpg_get_system_thumb('private.jpg', $alb_thumb['category']);
+            $alb_list[$alb_idx]['thumb_pic'] = '<img src="' . $cpg_privatepic_data['thumb'] . '" ' . $cpg_privatepic_data['whole'] . ' class="image" border="0" alt="" />';
+        }
+        // Prepare everything
+        if (!in_array($aid,$FORBIDDEN_SET_DATA) || $CONFIG['allow_private_albums'] == 0) {
+            $last_upload_date = $count ? localised_date($alb_stat['last_upload'], $lastup_date_fmt) : '';
+            $link_pic_count = !empty($alb_stat['link_pic_count']) ? $alb_stat['link_pic_count'] : 0;
+            $alb_list[$alb_idx]['aid'] = $alb_thumb['aid'];
+            $alb_list[$alb_idx]['album_title'] = $alb_thumb['title'];
+            $alb_list[$alb_idx]['album_desc'] = bb_decode($alb_thumb['description']);
+            $alb_list[$alb_idx]['pic_count'] = $count;
+            $alb_list[$alb_idx]['last_upl'] = $last_upload_date;
+            $alb_list[$alb_idx]['link_pic_count'] = $link_pic_count;
+            $alb_list[$alb_idx]['album_info'] = sprintf($lang_list_albums['n_pictures'], $count) . ($count ? sprintf($lang_list_albums['last_added'], $last_upload_date) : "") . (($CONFIG['link_pic_count'] && $link_pic_count > 0 ) ? sprintf(", {$lang_list_albums['n_link_pictures']},  {$lang_list_albums['total_pictures']}", $link_pic_count, $count + $link_pic_count) : "");
+            $alb_list[$alb_idx]['album_adm_menu'] = (GALLERY_ADMIN_MODE || (USER_ADMIN_MODE && $cat == USER_ID + FIRST_USER_CAT)) ? html_albummenu($alb_thumb['aid']) : ' ';
+        } elseif ($CONFIG['show_private']) { // uncomment this else block to show private album description
+            $last_upload_date = $count ? localised_date($alb_stat['last_upload'], $lastup_date_fmt) : '';
+            $link_pic_count = !empty($alb_stat['link_pic_count']) ? $alb_stat['link_pic_count'] : 0;
+            $alb_list[$alb_idx]['aid'] = $alb_thumb['aid'];
+            $alb_list[$alb_idx]['album_title'] = $alb_thumb['title'];
+            $alb_list[$alb_idx]['album_desc'] = bb_decode($alb_thumb['description']);
+            $alb_list[$alb_idx]['pic_count'] = $count;
+            $alb_list[$alb_idx]['last_upl'] = $last_upload_date;
+            $alb_list[$alb_idx]['link_pic_count'] = $link_pic_count;
+            $alb_list[$alb_idx]['album_info'] = sprintf($lang_list_albums['n_pictures'], $count) . ($count ? sprintf($lang_list_albums['last_added'], $last_upload_date) : "") . (($CONFIG['link_pic_count'] && $link_pic_count > 0 ) ? sprintf(", {$lang_list_albums['n_link_pictures']},   {$lang_list_albums['total_pictures']}", $link_pic_count, $count + $link_pic_count) : "");
+            $alb_list[$alb_idx]['album_adm_menu'] = (GALLERY_ADMIN_MODE || (USER_ADMIN_MODE && $cat == USER_ID + FIRST_USER_CAT)) ? html_albummenu($alb_thumb['aid']) : ' ';
+        }
+    }
+
+    theme_display_album_list($alb_list, $nbAlb, $cat, $PAGE, $totalPages);
+}
+
+/**
+* list_cat_albums()
+*
+* This has been added to list the albums in a category, used for showing first level albumslargely a repetition of code elsewhere
+* Redone for a cleaner approach
+* @param integer $cat Category id for which albums are needed
+*/
+function list_cat_albums($cat = 0)
+{
+    global $CONFIG, $USER, $lastup_date_fmt, $USER_DATA, $FORBIDDEN_SET, $FORBIDDEN_SET_DATA, $cpg_show_private_album;
+    global $lang_list_albums, $lang_errors;
+
+    $PAGE = 1;
+    if ($cat == 0) {
+        return '';
+    }
+
+    $cat_owner_id = ($cat > 10000)?(10000 - $cat):(10001);
+    $cpg_nopic_data = cpg_get_system_thumb('nopic.jpg', $cat_owner_id);
+    $cpg_privatepic_data = cpg_get_system_thumb('private.jpg', $cat_owner_id);
+
+    $alb_per_page = $CONFIG['albums_per_page'];
+    $maxTab = $CONFIG['max_tabs'];
+
+    $album_filter = '';
+    $pic_filter = '';
+    if (!empty($FORBIDDEN_SET) && !$cpg_show_private_album) {
+        $album_filter = ' and ' . str_replace('p.', 'a.', $FORBIDDEN_SET);
+        $pic_filter = ' and ' . $FORBIDDEN_SET;
+    }
+
+    $sql = "SELECT count(*) FROM {$CONFIG['TABLE_ALBUMS']} as a WHERE category = '$cat'" . $album_filter;
+    $result = cpg_db_query($sql);
+    $nbEnr = mysql_fetch_array($result);
+    $nbAlb = $nbEnr[0];
+    mysql_free_result($result);
+
+    if ($nbAlb == 0) {
+        return;
+    }
+
+    $totalPages = ceil($nbAlb / $alb_per_page);
+
+    if ($PAGE > $totalPages) $PAGE = 1;
+    $lower_limit = ($PAGE-1) * $alb_per_page;
+    $upper_limit = min($nbAlb, $PAGE * $alb_per_page);
+    $limit = "LIMIT " . $lower_limit . "," . ($upper_limit - $lower_limit);
+
+    $sql = 'SELECT a.aid, a.title, a.description, visibility, filepath, ' . 'filename, url_prefix, pwidth, pheight ' . 'FROM ' . $CONFIG['TABLE_ALBUMS'] . ' as a ' . 'LEFT JOIN ' . $CONFIG['TABLE_PICTURES'] . ' as p ' . 'ON a.thumb=p.pid ' . 'WHERE category=' . $cat . $album_filter . ' ORDER BY a.pos ' . $limit;
+
+    $alb_thumbs_q = cpg_db_query($sql);
+    $alb_thumbs = cpg_db_fetch_rowset($alb_thumbs_q);
+    mysql_free_result($alb_thumbs_q);
+
+    $disp_album_count = count($alb_thumbs);
+    $album_set = '';
+    foreach($alb_thumbs as $value) {
+        $album_set .= $value['aid'] . ', ';
+    }
+    $album_set = '(' . substr($album_set, 0, -2) . ')';
+
+    /*$sql = "SELECT aid, count(pid) as pic_count, max(pid) as last_pid, max(ctime) as last_upload " . "FROM {$CONFIG['TABLE_PICTURES']} " . "WHERE aid IN $album_set AND approved = 'YES' " . "GROUP BY aid";
+    $alb_stats_q = cpg_db_query($sql);
+    $alb_stats = cpg_db_fetch_rowset($alb_stats_q);
+    mysql_free_result($alb_stats_q);*/
+
+    //This query will fetch album stats and keyword for the albums
+    $sql = "SELECT a.aid, count( p.pid )  AS pic_count, max( p.pid )  AS last_pid, max( p.ctime )  AS last_upload, a.keyword" .
+            " FROM {$CONFIG['TABLE_ALBUMS']} AS a " .
+            " LEFT JOIN {$CONFIG['TABLE_PICTURES']} AS p ON a.aid = p.aid AND p.approved =  'YES' ".
+            "WHERE a.aid IN $album_set" . "GROUP BY a.aid";
+    $alb_stats_q = cpg_db_query($sql);
+    $alb_stats = cpg_db_fetch_rowset($alb_stats_q);
+    mysql_free_result($alb_stats_q);
+
+    foreach($alb_stats as $key => $value) {
+        $cross_ref[$value['aid']] = &$alb_stats[$key];
+        if ($CONFIG['link_pic_count'] == 1) {
+          if (!empty($value['keyword'])) {
+            $query = "SELECT count(pid) AS link_pic_count
+                      FROM {$CONFIG['TABLE_PICTURES']}
+                        WHERE aid != {$value['aid']} AND
+                        keywords LIKE '%{$value['keyword']}%' AND
+                        approved = 'YES'";
+            $result = cpg_db_query($query);
+            $link_stat = mysql_fetch_array ($result);
+            mysql_free_result($result);
+            $alb_stats[$key]['link_pic_count'] = $link_stat['link_pic_count'];
+          }
+       }
+    }
+
+    for ($alb_idx = 0; $alb_idx < $disp_album_count; $alb_idx++) {
+        $alb_thumb = &$alb_thumbs[$alb_idx];
+        $aid = $alb_thumb['aid'];
+
+        if (isset($cross_ref[$aid])) {
+            $alb_stat = $cross_ref[$aid];
+            $count = $alb_stat['pic_count'];
+        } else {
+            $alb_stat = array();
+            $count = 0;
+        }
+        // Inserts a thumbnail if the album contains 1 or more images
+        $visibility = $alb_thumb['visibility'];
+                if (!in_array($aid,$FORBIDDEN_SET_DATA) || $CONFIG['allow_private_albums'] == 0) { //test for visibility
+            if ($count > 0) { // Inserts a thumbnail if the album contains 1 or more images
+                if ($alb_thumb['filename']) {
+                    $picture = &$alb_thumb;
+                } else {
+                    $sql = "SELECT filepath, filename, url_prefix, pwidth, pheight " . "FROM {$CONFIG['TABLE_PICTURES']} " . "WHERE pid='{$alb_stat['last_pid']}'";
+                    $result = cpg_db_query($sql);
+                    $picture = mysql_fetch_array($result);
+                    mysql_free_result($result);
+                }
+                $pic_url = get_pic_url($picture, 'thumb');
+                if (!is_image($picture['filename'])) {
+                    $image_info = getimagesize(urldecode($pic_url));
+                    $picture['pwidth'] = $image_info[0];
+                    $picture['pheight'] = $image_info[1];
+                }
+                $image_size = compute_img_size($picture['pwidth'], $picture['pheight'], $CONFIG['alb_list_thumb_size']);
+                $alb_list[$alb_idx]['thumb_pic'] = "<img src=\"" . $pic_url . "\" class=\"image\" {$image_size['geom']} border=\"0\" alt=\"{$picture['filename']}\" />";
+            } else { // Inserts an empty thumbnail if the album contains 0 images
+                // $image_size = compute_img_size(100, 75, $CONFIG['alb_list_thumb_size']);
+                $alb_list[$alb_idx]['thumb_pic'] = '<img src="' . $cpg_nopic_data['thumb'] . '" ' . $cpg_nopic_data['whole'] . ' class="image" border="0" alt="" />';
+            }
+        } elseif ($CONFIG['show_private']) {
+            // $image_size = compute_img_size(100, 75, $CONFIG['alb_list_thumb_size']);
+            $alb_list[$alb_idx]['thumb_pic'] = '<img src="' . $cpg_privatepic_data['thumb'] . '" ' . $cpg_privatepic_data['whole'] . ' class="image" border="0" alt="" />';
+        }
+        // Prepare everything
+        if (!in_array($aid,$FORBIDDEN_SET_DATA) || $CONFIG['allow_private_albums'] == 0) {
+            $last_upload_date = $count ? localised_date($alb_stat['last_upload'], $lastup_date_fmt) : '';
+            $link_pic_count = !empty($alb_stat['link_pic_count']) ? $alb_stat['link_pic_count'] : 0;
+            $alb_list[$alb_idx]['aid'] = $alb_thumb['aid'];
+            $alb_list[$alb_idx]['album_title'] = $alb_thumb['title'];
+            $alb_list[$alb_idx]['album_desc'] = bb_decode($alb_thumb['description']);
+            $alb_list[$alb_idx]['pic_count'] = $count;
+            $alb_list[$alb_idx]['last_upl'] = $last_upload_date;
+            $alb_list[$alb_idx]['album_info'] = sprintf($lang_list_albums['n_pictures'], $count) . ($count ? sprintf($lang_list_albums['last_added'], $last_upload_date) : "") . (($CONFIG['link_pic_count'] && $link_pic_count > 0)  ? sprintf(", {$lang_list_albums['n_link_pictures']}, {$lang_list_albums['total_pictures']}", $link_pic_count, $count + $link_pic_count) : "");
+            $alb_list[$alb_idx]['album_adm_menu'] = (GALLERY_ADMIN_MODE || (USER_ADMIN_MODE && $cat == USER_ID + FIRST_USER_CAT)) ? html_albummenu($alb_thumb['aid']) : '';
+        } elseif ($CONFIG['show_private']) { // uncomment this else block to show private album description
+            $last_upload_date = $count ? localised_date($alb_stat['last_upload'], $lastup_date_fmt) : '';
+            $link_pic_count = !empty($alb_stat['link_pic_count']) ? $alb_stat['link_pic_count'] : 0;
+            $alb_list[$alb_idx]['aid'] = $alb_thumb['aid'];
+            $alb_list[$alb_idx]['album_title'] = $alb_thumb['title'];
+            $alb_list[$alb_idx]['album_desc'] = bb_decode($alb_thumb['description']);
+            $alb_list[$alb_idx]['pic_count'] = $count;
+            $alb_list[$alb_idx]['last_upl'] = $last_upload_date;
+            $alb_list[$alb_idx]['album_info'] = sprintf($lang_list_albums['n_pictures'], $count) . ($count ? sprintf($lang_list_albums['last_added'], $last_upload_date) : "") . (($CONFIG['link_pic_count'] && $link_pic_count > 0 )? sprintf(", {$lang_list_albums['n_link_pictures']}, {$lang_list_albums['total_pictures']}", $link_pic_count, $count + $link_pic_count) : "");
+            $alb_list[$alb_idx]['album_adm_menu'] = (GALLERY_ADMIN_MODE || (USER_ADMIN_MODE && $cat == USER_ID + FIRST_USER_CAT)) ? html_albummenu($alb_thumb['aid']) : '';
+        }
+    }
+    ob_start();
+    theme_display_album_list_cat($alb_list, $nbAlb, $cat, $PAGE, $totalPages);
+    $cat_albums = ob_get_contents();
+    ob_end_clean();
+    return $cat_albums;
+}
+
+//
+// Main code
+//
+if (!$file) {
+
+    /**
+    * See if $page has been passed in GET
+    */
+    if (isset($_GET['page'])) {
+        $PAGE = max((int)$_GET['page'], 1);
+        $USER['lap'] = $PAGE;
+    } elseif (isset($USER['lap'])) {
+        $PAGE = max((int)$USER['lap'], 1);
+    } else {
+        $PAGE = 1;
+    }
+
+    /**
+    * Loop through the $elements array to build the page using the parameters
+    * set in the config
+    */
+
+
+    /**
+    * See if $cat has been passed in GET
+    */
+
+    if (isset($_GET['cat'])) {
+        $cat = (int)$_GET['cat'];
+    }
+    // Gather data for categories
+    $breadcrumb = '';
+    $cat_data = array();
+    $statistics = '';
+    $STATS_IN_ALB_LIST = false;
+
+    $cpg_show_private_album = ($CONFIG['allow_private_albums'])?($CONFIG['show_private']):(true);
+
+    if (isset($cat)) {
+        get_meta_album_set($cat,$META_ALBUM_SET);
+    } else {
+        get_meta_album_set(0,$META_ALBUM_SET);
+    }
+
+    get_cat_list($breadcrumb, $cat_data, $statistics);
+
+    pageheader($BREADCRUMB_TEXT ? $BREADCRUMB_TEXT : $lang_index_php['welcome']);
+    adminmessages();
+
+    $elements = preg_split("|/|", $CONFIG['main_page_layout'], -1, PREG_SPLIT_NO_EMPTY);
+
+    foreach ($elements as $element) {
+        if (preg_match("/(\w+),*(\d+)*/", $element, $matches)){
+            if (!isset($matches[2])) { // added to fix notice about undefined index
+                $matches[2] = 0;
+            }
+
+            $matches = CPGPluginAPI::filter('plugin_block', $matches);
+
+            if (is_array($matches)) {
+                switch ($matches[1]) {
+                    case 'breadcrumb':
+                        // Added breadcrumb as a separate listable block from config
+                        if (($breadcrumb != '' || count($cat_data) > 0) && $cat != 0) theme_display_breadcrumb($breadcrumb, $cat_data);
+                        break;
+
+                    case 'catlist':
+                        if ($breadcrumb != '' || count($cat_data) > 0) theme_display_cat_list($breadcrumb, $cat_data, $statistics);
+                        if (isset($cat) && $cat == USER_GAL_CAT) {
+                            list_users();
+                        }
+                        flush();
+                        break;
+
+                    case 'alblist':
+                        list_albums();
+                        flush();
+                        break;
+
+                    case 'random':
+                        display_thumbnails('random', $cat, 1, $CONFIG['thumbcols'], max(1, $matches[2]), false);
+                        flush();
+                        break;
+
+                    case 'lastup':
+                        display_thumbnails('lastup', $cat, 1, $CONFIG['thumbcols'], max(1, $matches[2]), false);
+                        flush();
+                        break;
+
+                    case 'lastalb':
+                        display_thumbnails('lastalb', $cat, 1, $CONFIG['thumbcols'], max(1, $matches[2]), false);
+                        break;
+
+                    case 'topn':
+                        display_thumbnails('topn', $cat, 1, $CONFIG['thumbcols'], max(1, $matches[2]), false);
+                        flush();
+                        break;
+
+                    case 'toprated':
+                        display_thumbnails('toprated', $cat, 1, $CONFIG['thumbcols'], max(1, $matches[2]), false);
+                        flush();
+                        break;
+
+                    case 'lastcom':
+                        display_thumbnails('lastcom', $cat, 1, $CONFIG['thumbcols'], max(1, $matches[2]), false);
+                        flush();
+                        break;
+
+                    case 'lasthits':
+                        display_thumbnails('lasthits', $cat, 1, $CONFIG['thumbcols'], max(1, $matches[2]), false);
+                        flush();
+                        break;
+
+                    case 'anycontent':
+                        if ($cat == 0) {
+                            ob_start();
+                            /**
+                             * Any php code or HTML can be put in this file and will be displayed
+                             */
+                            include('anycontent.php');
+                            $anycontent = CPGPluginAPI::filter('anycontent',ob_get_contents());
+                            ob_end_clean();
+                            echo ($anycontent);
+                        }
+                        flush();
+                        break;
+                }
+            }
+        }
+    }
+
+    pagefooter();
+}
+
+ob_end_flush();
+
+/* Not used anymore, somone else removed the usage of this keying in functions.inc.php due to problems - donnoman
+// Speed-up the random image query by 'keying' the image table
+if (time() - $CONFIG['randpos_interval'] > 86400) {
+    $result = cpg_db_query("SELECT count(*) FROM {$CONFIG['TABLE_PICTURES']} WHERE 1");
+    $nbEnr = mysql_fetch_array($result);
+    mysql_free_result($result);
+    $pic_count = $nbEnr[0];
+    $granularity = floor($pic_count / RANDPOS_MAX_PIC);
+    $result = cpg_db_query("UPDATE {$CONFIG['TABLE_PICTURES']} SET randpos = ROUND(RAND()*$granularity) WHERE 1");
+    $result = cpg_db_query("UPDATE {$CONFIG['TABLE_CONFIG']} SET value = '" . time() . "' WHERE name = 'randpos_interval'");
+}
+*/
 ?>
\ No newline at end of file
diff -x .svn -aruN 1.4.24.src/keyword_create_dict.php 1.4.25.src/keyword_create_dict.php
--- 1.4.24.src/keyword_create_dict.php	2009-05-21 15:03:09.000000000 -0500
+++ 1.4.25.src/keyword_create_dict.php	2009-05-26 11:25:52.000000000 -0500
@@ -1,64 +1,64 @@
-<?php
-/*************************
-  Coppermine Photo Gallery
-  ************************
-  Copyright (c) 2003-2009 Coppermine Dev Team
-  v1.1 originally written by Gregory DEMAR
-
-  This program is free software; you can redistribute it and/or modify
-  it under the terms of the GNU General Public License version 3
-  as published by the Free Software Foundation.
-  
-  ********************************************
-  Coppermine version: 1.4.24
-  $HeadURL: https://coppermine.svn.sourceforge.net/svnroot/coppermine/trunk/cpg1.4.x/keyword_create_dict.php $
-  $Revision: 5969 $
-  $Author: gaugau $
-  $Date: 2009-05-21 22:03:33 +0200 (Do, 21 Mai 2009) $
-**********************************************/
-
-/* vim: set expandtab tabstop=4 shiftwidth=4: */
-// +----------------------------------------------------------------------+
-// | Filename: keyword_create_dict.php                                    |
-// +----------------------------------------------------------------------+
-// | Copyright (c) http://www.sanisoft.com                                |
-// +----------------------------------------------------------------------+
-// | Description:                                                         |
-// +----------------------------------------------------------------------+
-// | Authors: Original Author                                             |
-// |          SANIsoft Developement Team                                  |
-// +----------------------------------------------------------------------+
-
-
-define('IN_COPPERMINE', true);
-define('EDITPICS_PHP', true);
-require('include/init.inc.php');
-if (!(GALLERY_ADMIN_MODE)) cpg_die(ERROR, $lang_errors['access_denied'], __FILE__, __LINE__);
-$query  = "SELECT keywords from {$CONFIG['TABLE_PREFIX']}pictures";
-$result = cpg_db_query($query);
-$i=0;
-   while ($row = mysql_fetch_array($result, MYSQL_ASSOC)) {
-
-    $keywords = $row["keywords"];
-    $keyArr   = explode(" ",$keywords);
-        foreach ($keyArr as $keyword) {
-            $query = "SELECT keyword from {$CONFIG['TABLE_PREFIX']}dict WHERE keyword = '$keyword'";
-            $result2 = cpg_db_query($query);
-
-            if (mysql_num_rows($result2) == 0 && $keyword != "" && $keyword != " ") {
-                $query = "INSERT INTO {$CONFIG['TABLE_PREFIX']}dict SET keyword = '$keyword'";
-                cpg_db_query($query);
-                echo "* ";
-                                $i++ ;
-            } else {
-                echo "% ";
-            }
-        }
-        mysql_free_result($result2);
-        flush();
-    }
-echo "<p>{$lang_editpics_php['new_keywords']} = ".$i;
-echo "<br/>* = {$lang_editpics_php['new_keyword']}";
-echo "<br/>% = {$lang_editpics_php['existing_keyword']}</p>";
-mysql_free_result($result);
-?>
+<?php
+/*************************
+  Coppermine Photo Gallery
+  ************************
+  Copyright (c) 2003-2009 Coppermine Dev Team
+  v1.1 originally written by Gregory DEMAR
+
+  This program is free software; you can redistribute it and/or modify
+  it under the terms of the GNU General Public License version 3
+  as published by the Free Software Foundation.
+  
+  ********************************************
+  Coppermine version: 1.4.25
+  $HeadURL: https://coppermine.svn.sourceforge.net/svnroot/coppermine/trunk/cpg1.4.x/keyword_create_dict.php $
+  $Revision: 5997 $
+  $Author: gaugau $
+  $Date: 2009-05-26 08:43:24 +0200 (Di, 26 Mai 2009) $
+**********************************************/
+
+/* vim: set expandtab tabstop=4 shiftwidth=4: */
+// +----------------------------------------------------------------------+
+// | Filename: keyword_create_dict.php                                    |
+// +----------------------------------------------------------------------+
+// | Copyright (c) http://www.sanisoft.com                                |
+// +----------------------------------------------------------------------+
+// | Description:                                                         |
+// +----------------------------------------------------------------------+
+// | Authors: Original Author                                             |
+// |          SANIsoft Developement Team                                  |
+// +----------------------------------------------------------------------+
+
+
+define('IN_COPPERMINE', true);
+define('EDITPICS_PHP', true);
+require('include/init.inc.php');
+if (!(GALLERY_ADMIN_MODE)) cpg_die(ERROR, $lang_errors['access_denied'], __FILE__, __LINE__);
+$query  = "SELECT keywords from {$CONFIG['TABLE_PREFIX']}pictures";
+$result = cpg_db_query($query);
+$i=0;
+   while ($row = mysql_fetch_array($result, MYSQL_ASSOC)) {
+
+    $keywords = $row["keywords"];
+    $keyArr   = explode(" ",$keywords);
+        foreach ($keyArr as $keyword) {
+            $query = "SELECT keyword from {$CONFIG['TABLE_PREFIX']}dict WHERE keyword = '$keyword'";
+            $result2 = cpg_db_query($query);
+
+            if (mysql_num_rows($result2) == 0 && $keyword != "" && $keyword != " ") {
+                $query = "INSERT INTO {$CONFIG['TABLE_PREFIX']}dict SET keyword = '$keyword'";
+                cpg_db_query($query);
+                echo "* ";
+                                $i++ ;
+            } else {
+                echo "% ";
+            }
+        }
+        mysql_free_result($result2);
+        flush();
+    }
+echo "<p>{$lang_editpics_php['new_keywords']} = ".$i;
+echo "<br/>* = {$lang_editpics_php['new_keyword']}";
+echo "<br/>% = {$lang_editpics_php['existing_keyword']}</p>";
+mysql_free_result($result);
+?>
diff -x .svn -aruN 1.4.24.src/keywordmgr.php 1.4.25.src/keywordmgr.php
--- 1.4.24.src/keywordmgr.php	2009-05-21 15:03:09.000000000 -0500
+++ 1.4.25.src/keywordmgr.php	2009-05-26 11:25:52.000000000 -0500
@@ -1,176 +1,176 @@
-<?php
-/*************************
-  Coppermine Photo Gallery
-  ************************
-  Copyright (c) 2003-2009 Coppermine Dev Team
-  v1.1 originally written by Gregory DEMAR
-
-  This program is free software; you can redistribute it and/or modify
-  it under the terms of the GNU General Public License version 3
-  as published by the Free Software Foundation.
-  
-  ********************************************
-  Coppermine version: 1.4.24
-  $HeadURL: https://coppermine.svn.sourceforge.net/svnroot/coppermine/trunk/cpg1.4.x/keywordmgr.php $
-  $Revision: 5969 $
-  $Author: gaugau $
-  $Date: 2009-05-21 22:03:33 +0200 (Do, 21 Mai 2009) $
-**********************************************/
-
-define('IN_COPPERMINE', true);
-define('KEYWORDMGR_PHP', true);
-define('SEARCH_PHP', true);
-require('include/init.inc.php');
-//Die if not admin_mode
-if (!GALLERY_ADMIN_MODE) cpg_die(ERROR, $lang_errors['access_denied'], __FILE__, __LINE__);
-
-pageheader($lang_keywordmgr_php['title']);
-
-starttable("100%", $lang_keywordmgr_php['title'], 3);
-echo <<<EOT
-      <tr>
-          <td class="tablef"><b>{$lang_keywordmgr_php['edit']}</b></td>
-          <td class="tablef"><b>{$lang_keywordmgr_php['delete']}</b></td>
-          <td class="tablef"><b>{$lang_keywordmgr_php['search']}</b></td>
-      </tr>
-
-EOT;
-
-switch($_REQUEST['page']) {
-
-default :
-case 'display':
-
-$result = cpg_db_query("select keywords from {$CONFIG['TABLE_PICTURES']}");
-if (!mysql_num_rows($result)) cpg_die(ERROR, $lang_errors['non_exist_ap']);
-  // Find unique keywords
-   $total_array = array();
-
-   while (list($keywords) = mysql_fetch_row($result)) {
-       $array = explode(' ',$keywords);
-
-       foreach($array as $word)
-       {
-         if ($word == '.' || $word == '' || $word == ' ' ) continue;
-         $orig_word = $word;
-         $single_word = addslashes($word);
-         $lowercase_word = utf_strtolower($single_word);
-         $lowercase_word = addslashes($lowercase_word);
-         $word = <<<EOT
-         <td class="tableb">
-         <input type="radio" class="radio" name="keywordEdit" value="$lowercase_word" onClick="document.keywordForm.newword.value='$single_word'" id="$lowercase_word" />
-         <label for="$lowercase_word" class="clickable_option">
-         <img src="images/edit.gif" width="16" height="16" border="0" alt="" title="{$lang_keywordmgr_php['edit']} &quot;$orig_word&quot;" /> &quot;<i>$orig_word</i>&quot;
-         </label>
-         </td>
-EOT;
-         $word .= '<td class="tableb"><a href="keywordmgr.php?page=delete&amp;remov='.$single_word.'" onclick="return confirm(\''.sprintf($lang_keywordmgr_php['confirm_delete'], '&quot;'.$single_word.'&quot;').'\')">';
-         $word .= '<img src="images/delete.gif" width="16" height="16" border="0" alt="" title="'.sprintf($lang_keywordmgr_php['keyword_del'],'&quot;'.$orig_word.'&quot;').'" /> '.$orig_word;
-         $word .= <<<EOT
-         </a></td>
-         <td class="tableb"><a href="thumbnails.php?album=search&amp;search=$orig_word" target="_blank">
-EOT;
-
-         $word .= sprintf($lang_keywordmgr_php['keyword_test_search'], '&quot;<i>'.$orig_word.'</i>&quot;');
-         $word .= '</a></td>';
-
-           if (!in_array($word,$total_array)) $total_array[] = $word;
-       }
-   }
-
-   sort($total_array);
-
-   $output = implode("</tr>\n<tr>", $total_array);
-   unset($total_array);
-
-   echo <<<EOT
-<form name="keywordForm" action="keywordmgr.php?page=changeword" method="post">
-$output
-<tr><td colspan="5" class="tablef" align="center">
-   <input type="text" name="newword" />
-   <input type="submit" value="{$lang_keywordmgr_php['change_keyword']}" />
-</td></tr>
-</form>
-EOT;
-
-
-
-break;
-
-
-case 'changeword':
-
-   if ($_REQUEST['keywordEdit'] && $_REQUEST['newword'])
-   {
-       $keywordEdit = addslashes($_REQUEST['keywordEdit']);
-
-       $query = "SELECT `pid`,`keywords` FROM {$CONFIG['TABLE_PICTURES']} WHERE CONCAT(' ',`keywords`,' ') LIKE '% {$keywordEdit} %'";
-       $result = cpg_db_query($query) or die(mysql_error());
-
-       while (list($id,$keywords) = mysql_fetch_row($result))
-       {
-           $array_new = array();
-           $array_old = explode(" ", addslashes(trim($keywords)));
-
-           foreach($array_old as $word)
-           {
-               // convert old to new if its the same word
-               if (utf_strtolower($word) == $keywordEdit) $word = addslashes($_REQUEST['newword']);
-
-               // rebuild array to reprocess it
-               $array_new[] = $word;
-           }
-
-           $keywords = implode(" ", $array_new);
-           $newquerys[] = "UPDATE {$CONFIG['TABLE_PICTURES']} SET `keywords` = '$keywords' WHERE `pid` = '$id'";
-       }
-   }
-   $newquerys[] = "UPDATE {$CONFIG['TABLE_PICTURES']} SET `keywords` = TRIM(REPLACE(`keywords`,'  ',' '))";
-
-   foreach ($newquerys as $query) { $result = cpg_db_query($query) or die($query."<br />".mysql_error()); }
-
-   header("Location: keywordmgr.php?page=display");
-
-break;
-
-case 'delete':
-
-       $keywordEdit = addslashes($_REQUEST['remov']);
-
-       $query = "SELECT `pid`,`keywords` FROM {$CONFIG['TABLE_PICTURES']} WHERE CONCAT(' ',`keywords`,' ') LIKE '% {$keywordEdit} %'";
-       $result = cpg_db_query($query) or die(mysql_error());
-
-       while (list($id,$keywords) = mysql_fetch_row($result))
-       {
-           $array_new = array();
-           $array_old = explode(" ", addslashes(trim($keywords)));
-
-           foreach($array_old as $word)
-           {
-               // convert old to new if its the same word
-               if (utf_strtolower($word) == $keywordEdit) $word = '';
-
-               // rebuild array to reprocess it
-               $array_new[] = $word;
-           }
-
-           $keywords = implode(" ", $array_new);
-           $newquerys[] = "UPDATE {$CONFIG['TABLE_PICTURES']} SET `keywords` = '$keywords' WHERE `pid` = '$id'";
-       }
-
-   $newquerys[] = "UPDATE {$CONFIG['TABLE_PICTURES']} SET `keywords` = TRIM(REPLACE(`keywords`,'  ',' '))";
-
-   foreach ($newquerys as $query) { $result = cpg_db_query($query) or die($query."<br />".mysql_error()); }
-
-   header("Location: ?page=display");
-
-break;
-
-}
-endtable();
-if ($CONFIG['clickable_keyword_search'] != 0) {
-    include('include/keyword.inc.php');
-}
-pagefooter();
-ob_end_flush();
-?>
+<?php
+/*************************
+  Coppermine Photo Gallery
+  ************************
+  Copyright (c) 2003-2009 Coppermine Dev Team
+  v1.1 originally written by Gregory DEMAR
+
+  This program is free software; you can redistribute it and/or modify
+  it under the terms of the GNU General Public License version 3
+  as published by the Free Software Foundation.
+  
+  ********************************************
+  Coppermine version: 1.4.25
+  $HeadURL: https://coppermine.svn.sourceforge.net/svnroot/coppermine/trunk/cpg1.4.x/keywordmgr.php $
+  $Revision: 5997 $
+  $Author: gaugau $
+  $Date: 2009-05-26 08:43:24 +0200 (Di, 26 Mai 2009) $
+**********************************************/
+
+define('IN_COPPERMINE', true);
+define('KEYWORDMGR_PHP', true);
+define('SEARCH_PHP', true);
+require('include/init.inc.php');
+//Die if not admin_mode
+if (!GALLERY_ADMIN_MODE) cpg_die(ERROR, $lang_errors['access_denied'], __FILE__, __LINE__);
+
+pageheader($lang_keywordmgr_php['title']);
+
+starttable("100%", $lang_keywordmgr_php['title'], 3);
+echo <<<EOT
+      <tr>
+          <td class="tablef"><b>{$lang_keywordmgr_php['edit']}</b></td>
+          <td class="tablef"><b>{$lang_keywordmgr_php['delete']}</b></td>
+          <td class="tablef"><b>{$lang_keywordmgr_php['search']}</b></td>
+      </tr>
+
+EOT;
+
+switch($_REQUEST['page']) {
+
+default :
+case 'display':
+
+$result = cpg_db_query("select keywords from {$CONFIG['TABLE_PICTURES']}");
+if (!mysql_num_rows($result)) cpg_die(ERROR, $lang_errors['non_exist_ap']);
+  // Find unique keywords
+   $total_array = array();
+
+   while (list($keywords) = mysql_fetch_row($result)) {
+       $array = explode(' ',$keywords);
+
+       foreach($array as $word)
+       {
+         if ($word == '.' || $word == '' || $word == ' ' ) continue;
+         $orig_word = $word;
+         $single_word = addslashes($word);
+         $lowercase_word = utf_strtolower($single_word);
+         $lowercase_word = addslashes($lowercase_word);
+         $word = <<<EOT
+         <td class="tableb">
+         <input type="radio" class="radio" name="keywordEdit" value="$lowercase_word" onClick="document.keywordForm.newword.value='$single_word'" id="$lowercase_word" />
+         <label for="$lowercase_word" class="clickable_option">
+         <img src="images/edit.gif" width="16" height="16" border="0" alt="" title="{$lang_keywordmgr_php['edit']} &quot;$orig_word&quot;" /> &quot;<i>$orig_word</i>&quot;
+         </label>
+         </td>
+EOT;
+         $word .= '<td class="tableb"><a href="keywordmgr.php?page=delete&amp;remov='.$single_word.'" onclick="return confirm(\''.sprintf($lang_keywordmgr_php['confirm_delete'], '&quot;'.$single_word.'&quot;').'\')">';
+         $word .= '<img src="images/delete.gif" width="16" height="16" border="0" alt="" title="'.sprintf($lang_keywordmgr_php['keyword_del'],'&quot;'.$orig_word.'&quot;').'" /> '.$orig_word;
+         $word .= <<<EOT
+         </a></td>
+         <td class="tableb"><a href="thumbnails.php?album=search&amp;search=$orig_word" target="_blank">
+EOT;
+
+         $word .= sprintf($lang_keywordmgr_php['keyword_test_search'], '&quot;<i>'.$orig_word.'</i>&quot;');
+         $word .= '</a></td>';
+
+           if (!in_array($word,$total_array)) $total_array[] = $word;
+       }
+   }
+
+   sort($total_array);
+
+   $output = implode("</tr>\n<tr>", $total_array);
+   unset($total_array);
+
+   echo <<<EOT
+<form name="keywordForm" action="keywordmgr.php?page=changeword" method="post">
+$output
+<tr><td colspan="5" class="tablef" align="center">
+   <input type="text" name="newword" />
+   <input type="submit" value="{$lang_keywordmgr_php['change_keyword']}" />
+</td></tr>
+</form>
+EOT;
+
+
+
+break;
+
+
+case 'changeword':
+
+   if ($_REQUEST['keywordEdit'] && $_REQUEST['newword'])
+   {
+       $keywordEdit = addslashes($_REQUEST['keywordEdit']);
+
+       $query = "SELECT `pid`,`keywords` FROM {$CONFIG['TABLE_PICTURES']} WHERE CONCAT(' ',`keywords`,' ') LIKE '% {$keywordEdit} %'";
+       $result = cpg_db_query($query) or die(mysql_error());
+
+       while (list($id,$keywords) = mysql_fetch_row($result))
+       {
+           $array_new = array();
+           $array_old = explode(" ", addslashes(trim($keywords)));
+
+           foreach($array_old as $word)
+           {
+               // convert old to new if its the same word
+               if (utf_strtolower($word) == $keywordEdit) $word = addslashes($_REQUEST['newword']);
+
+               // rebuild array to reprocess it
+               $array_new[] = $word;
+           }
+
+           $keywords = implode(" ", $array_new);
+           $newquerys[] = "UPDATE {$CONFIG['TABLE_PICTURES']} SET `keywords` = '$keywords' WHERE `pid` = '$id'";
+       }
+   }
+   $newquerys[] = "UPDATE {$CONFIG['TABLE_PICTURES']} SET `keywords` = TRIM(REPLACE(`keywords`,'  ',' '))";
+
+   foreach ($newquerys as $query) { $result = cpg_db_query($query) or die($query."<br />".mysql_error()); }
+
+   header("Location: keywordmgr.php?page=display");
+
+break;
+
+case 'delete':
+
+       $keywordEdit = addslashes($_REQUEST['remov']);
+
+       $query = "SELECT `pid`,`keywords` FROM {$CONFIG['TABLE_PICTURES']} WHERE CONCAT(' ',`keywords`,' ') LIKE '% {$keywordEdit} %'";
+       $result = cpg_db_query($query) or die(mysql_error());
+
+       while (list($id,$keywords) = mysql_fetch_row($result))
+       {
+           $array_new = array();
+           $array_old = explode(" ", addslashes(trim($keywords)));
+
+           foreach($array_old as $word)
+           {
+               // convert old to new if its the same word
+               if (utf_strtolower($word) == $keywordEdit) $word = '';
+
+               // rebuild array to reprocess it
+               $array_new[] = $word;
+           }
+
+           $keywords = implode(" ", $array_new);
+           $newquerys[] = "UPDATE {$CONFIG['TABLE_PICTURES']} SET `keywords` = '$keywords' WHERE `pid` = '$id'";
+       }
+
+   $newquerys[] = "UPDATE {$CONFIG['TABLE_PICTURES']} SET `keywords` = TRIM(REPLACE(`keywords`,'  ',' '))";
+
+   foreach ($newquerys as $query) { $result = cpg_db_query($query) or die($query."<br />".mysql_error()); }
+
+   header("Location: ?page=display");
+
+break;
+
+}
+endtable();
+if ($CONFIG['clickable_keyword_search'] != 0) {
+    include('include/keyword.inc.php');
+}
+pagefooter();
+ob_end_flush();
+?>
diff -x .svn -aruN 1.4.24.src/keyword_select.php 1.4.25.src/keyword_select.php
--- 1.4.24.src/keyword_select.php	2009-05-21 15:03:09.000000000 -0500
+++ 1.4.25.src/keyword_select.php	2009-05-26 11:25:52.000000000 -0500
@@ -1,119 +1,119 @@
-<?php
-/*************************
-  Coppermine Photo Gallery
-  ************************
-  Copyright (c) 2003-2009 Coppermine Dev Team
-  v1.1 originally written by Gregory DEMAR
-
-  This program is free software; you can redistribute it and/or modify
-  it under the terms of the GNU General Public License version 3
-  as published by the Free Software Foundation.
-  
-  ********************************************
-  Coppermine version: 1.4.24
-  $HeadURL: https://coppermine.svn.sourceforge.net/svnroot/coppermine/trunk/cpg1.4.x/keyword_select.php $
-  $Revision: 5969 $
-  $Author: gaugau $
-  $Date: 2009-05-21 22:03:33 +0200 (Do, 21 Mai 2009) $
-**********************************************/
-
-// +----------------------------------------------------------------------+
-// | Filename: keyword_select.php                                         |
-// +----------------------------------------------------------------------+
-// | Copyright (c) http://www.sanisoft.com                                |
-// +----------------------------------------------------------------------+
-// | Description:                                                         |
-// +----------------------------------------------------------------------+
-// | Authors: Original Author                                             |
-// |          SANIsoft Developement Team                                  |
-// +----------------------------------------------------------------------+
-
-define('IN_COPPERMINE', true);
-define('UPLOAD_PHP', true);
-
-require('include/init.inc.php');
-
-if (!USER_CAN_UPLOAD_PICTURES) {
-    cpg_die(ERROR, $lang_errors['perm_denied'], __FILE__, __LINE__);
-}
-
-$query = "SELECT * FROM {$CONFIG['TABLE_PREFIX']}dict ORDER BY keyword";
-$result = cpg_db_query($query);
-while ($row = mysql_fetch_array($result, MYSQL_ASSOC)) {
-    $keywordIds[] = $row["keyId"];
-    $keywords[]   = $row["keyword"];
-}
-
-$total = mysql_num_rows($result);
-
-
-mysql_free_result($result);
-
-$charset = $CONFIG['charset'] == 'language file' ? $lang_charset : $CONFIG['charset'];
-
-$html_header = <<<EOT
-<html dir="ltr">
-<head>
-<title>{$CONFIG['gallery_name']}</title>
-<meta http-equiv="Content-Type" content="text/html; charset=$charset" />
-<meta http-equiv="Pragma" content="no-cache" />
-
-<link rel="stylesheet" href="themes/{$CONFIG['theme']}/style.css" />
-</head>
-<body>
-EOT;
-
-print $html_header;
-starttable("100%",$lang_upload_php['keywords_sel'], 3);
-if ($total > 0) {
-
-    $form = '
-    <script type="text/javascript">
-    <!--
-    var str;
-
-    function CM_select(f)
-    {
-        str = window.document.form.elements[0].value;
-        var substrings = window.opener.document.getElementById(\'keywords\').value.split(str);
-        if (substrings.length <= 1){
-                window.opener.document.getElementById(\'keywords\').value += \' \' + str;
-        }
-
-
-        return false;
-
-    }
-
-    //-->
-    </script>
-
-    <form name="form" name="keywordform">
-    <table align="center">
-    <tr>
-        <td align="center"><select name="keyword" size="15" onChange="CM_select(this)">';
-
-        foreach ($keywords as $keyword) {
-            $form.= '<option value="'.$keyword.'">'.$keyword.'</option>';
-        }
-    $form .= '
-            </select>
-        </td>
-    </tr>
-    <tr>
-        <td align="center"><a href="#" onClick="window.close()">'.$lang_upload_php['close'].'</a></td>
-    </tr>
-    </table>
-    </form>';
-} else {
-    echo '<b>'.$lang_upload_php['no_keywords'].'</b>';
-}
-print($form);
-endtable();
-
-if (GALLERY_ADMIN_MODE) {
-        echo '<center><a href="keyword_create_dict.php">'.$lang_upload_php['regenerate_dictionary'].'</a></center>';
-}
-?>
-</body>
-</html>
+<?php
+/*************************
+  Coppermine Photo Gallery
+  ************************
+  Copyright (c) 2003-2009 Coppermine Dev Team
+  v1.1 originally written by Gregory DEMAR
+
+  This program is free software; you can redistribute it and/or modify
+  it under the terms of the GNU General Public License version 3
+  as published by the Free Software Foundation.
+  
+  ********************************************
+  Coppermine version: 1.4.25
+  $HeadURL: https://coppermine.svn.sourceforge.net/svnroot/coppermine/trunk/cpg1.4.x/keyword_select.php $
+  $Revision: 5997 $
+  $Author: gaugau $
+  $Date: 2009-05-26 08:43:24 +0200 (Di, 26 Mai 2009) $
+**********************************************/
+
+// +----------------------------------------------------------------------+
+// | Filename: keyword_select.php                                         |
+// +----------------------------------------------------------------------+
+// | Copyright (c) http://www.sanisoft.com                                |
+// +----------------------------------------------------------------------+
+// | Description:                                                         |
+// +----------------------------------------------------------------------+
+// | Authors: Original Author                                             |
+// |          SANIsoft Developement Team                                  |
+// +----------------------------------------------------------------------+
+
+define('IN_COPPERMINE', true);
+define('UPLOAD_PHP', true);
+
+require('include/init.inc.php');
+
+if (!USER_CAN_UPLOAD_PICTURES) {
+    cpg_die(ERROR, $lang_errors['perm_denied'], __FILE__, __LINE__);
+}
+
+$query = "SELECT * FROM {$CONFIG['TABLE_PREFIX']}dict ORDER BY keyword";
+$result = cpg_db_query($query);
+while ($row = mysql_fetch_array($result, MYSQL_ASSOC)) {
+    $keywordIds[] = $row["keyId"];
+    $keywords[]   = $row["keyword"];
+}
+
+$total = mysql_num_rows($result);
+
+
+mysql_free_result($result);
+
+$charset = $CONFIG['charset'] == 'language file' ? $lang_charset : $CONFIG['charset'];
+
+$html_header = <<<EOT
+<html dir="ltr">
+<head>
+<title>{$CONFIG['gallery_name']}</title>
+<meta http-equiv="Content-Type" content="text/html; charset=$charset" />
+<meta http-equiv="Pragma" content="no-cache" />
+
+<link rel="stylesheet" href="themes/{$CONFIG['theme']}/style.css" />
+</head>
+<body>
+EOT;
+
+print $html_header;
+starttable("100%",$lang_upload_php['keywords_sel'], 3);
+if ($total > 0) {
+
+    $form = '
+    <script type="text/javascript">
+    <!--
+    var str;
+
+    function CM_select(f)
+    {
+        str = window.document.form.elements[0].value;
+        var substrings = window.opener.document.getElementById(\'keywords\').value.split(str);
+        if (substrings.length <= 1){
+                window.opener.document.getElementById(\'keywords\').value += \' \' + str;
+        }
+
+
+        return false;
+
+    }
+
+    //-->
+    </script>
+
+    <form name="form" name="keywordform">
+    <table align="center">
+    <tr>
+        <td align="center"><select name="keyword" size="15" onChange="CM_select(this)">';
+
+        foreach ($keywords as $keyword) {
+            $form.= '<option value="'.$keyword.'">'.$keyword.'</option>';
+        }
+    $form .= '
+            </select>
+        </td>
+    </tr>
+    <tr>
+        <td align="center"><a href="#" onClick="window.close()">'.$lang_upload_php['close'].'</a></td>
+    </tr>
+    </table>
+    </form>';
+} else {
+    echo '<b>'.$lang_upload_php['no_keywords'].'</b>';
+}
+print($form);
+endtable();
+
+if (GALLERY_ADMIN_MODE) {
+        echo '<center><a href="keyword_create_dict.php">'.$lang_upload_php['regenerate_dictionary'].'</a></center>';
+}
+?>
+</body>
+</html>
diff -x .svn -aruN 1.4.24.src/lang/albanian.php 1.4.25.src/lang/albanian.php
--- 1.4.24.src/lang/albanian.php	2009-05-25 15:01:17.000000000 -0500
+++ 1.4.25.src/lang/albanian.php	2009-05-26 11:25:40.000000000 -0500
@@ -10,11 +10,11 @@
   as published by the Free Software Foundation.
   
   ********************************************
-  Coppermine version: 1.4.24
+  Coppermine version: 1.4.25
   $HeadURL: https://coppermine.svn.sourceforge.net/svnroot/coppermine/trunk/cpg1.4.x/lang/albanian.php $
-  $Revision: 5988 $
+  $Revision: 5997 $
   $Author: gaugau $
-  $Date: 2009-05-25 22:01:41 +0200 (Mo, 25 Mai 2009) $
+  $Date: 2009-05-26 08:43:24 +0200 (Di, 26 Mai 2009) $
 **********************************************/
 
 if (!defined('IN_COPPERMINE')) { die('Not in Coppermine...');}
diff -x .svn -aruN 1.4.24.src/lang/arabic.php 1.4.25.src/lang/arabic.php
--- 1.4.24.src/lang/arabic.php	2009-05-25 15:01:17.000000000 -0500
+++ 1.4.25.src/lang/arabic.php	2009-05-26 11:25:40.000000000 -0500
@@ -10,11 +10,11 @@
   as published by the Free Software Foundation.
   
   ********************************************
-  Coppermine version: 1.4.24
+  Coppermine version: 1.4.25
   $HeadURL: https://coppermine.svn.sourceforge.net/svnroot/coppermine/trunk/cpg1.4.x/lang/arabic.php $
-  $Revision: 5988 $
+  $Revision: 5997 $
   $Author: gaugau $
-  $Date: 2009-05-25 22:01:41 +0200 (Mo, 25 Mai 2009) $
+  $Date: 2009-05-26 08:43:24 +0200 (Di, 26 Mai 2009) $
 **********************************************/
 
 if (!defined('IN_COPPERMINE')) { die('Not in Coppermine...');}
diff -x .svn -aruN 1.4.24.src/lang/basque.php 1.4.25.src/lang/basque.php
--- 1.4.24.src/lang/basque.php	2009-05-25 15:01:17.000000000 -0500
+++ 1.4.25.src/lang/basque.php	2009-05-26 11:25:40.000000000 -0500
@@ -1,2138 +1,2138 @@
-<?php
-/*************************
-  Coppermine Photo Gallery
-  ************************
-  Copyright (c) 2003-2009 Coppermine Dev Team
-  v1.1 originally written by Gregory DEMAR
-
-  This program is free software; you can redistribute it and/or modify
-  it under the terms of the GNU General Public License version 3
-  as published by the Free Software Foundation.
-  
-********************************************
-
-  Coppermine version: 1.4.24
-
-  $HeadURL: https://coppermine.svn.sourceforge.net/svnroot/coppermine/trunk/cpg1.4.x/lang/basque.php $
-  $Revision: 5988 $
-  $Author: gaugau $
-  $Date: 2009-05-25 22:01:41 +0200 (Mo, 25 Mai 2009) $
-**********************************************/
-
-if (!defined('IN_COPPERMINE')) { die('Not in Coppermine...');}
-
-
-// info about translators and translated language
-
-$lang_translation_info = array(
-
-'lang_name_english' => 'Basque',
-'lang_name_native' => 'Euskera',
-'lang_country_code' => 'basque',
-'trans_name'=> 'Kurtsik', //the name of the translator - can be a nickname
-'trans_email' => 'kurtsik@gmail.com', //translator's email address (optional)
-'trans_website' => 'http://www.tuxtek.com', //translator's website (optional)
-'trans_date' => '2005-08-18', //the date the translation was created / last modified
-
-);
-
-$lang_charset = 'utf-8';
-$lang_text_dir = 'ltr'; // ('ltr' for left to right, 'rtl' for right to left)
-
-
-// shortcuts for Byte, Kilo, Mega
-$lang_byte_units = array('Byteak', 'KB', 'MB');
-
-// Day of weeks and months
-$lang_day_of_week = array('Iga', 'Ale', 'Aar', 'Aaz', 'Ote', 'Oti', 'Lar');
-$lang_month = array('Urt', 'Ots', 'Mar', 'Api', 'Mai', 'Eka', 'Uzt', 'Abu', 'Ira', 'Urr', 'Aza', 'Abe');
-
-
-
-// Some common strings
-
-$lang_yes = 'Bai';
-$lang_no  = 'Ez';
-$lang_back = 'Atzera';
-$lang_continue = 'Jarraitu';
-$lang_info = 'Informazioa';
-$lang_error = 'Akatsa';
-$lang_check_uncheck_all = 'gaitu/ezgaitu guztiak'; //cpg1.4
-
-// The various date formats
-// See http://www.php.net/manual/en/function.strftime.php to define the variable below
-$album_date_fmt =    '%Y(e)ko %B(a)ren %d(e)an';
-$lastcom_date_fmt =  '%y/%m/%d %H:%M(e)an';
-$lastup_date_fmt = '%Y(e)ko %B(a)ren %d(e)an';
-$register_date_fmt = '%Y(e)ko %B(a)ren %d(e)an';
-$lasthit_date_fmt = '%Y(e)ko %B(a)ren %d(e)an %H:%M';
-$comment_date_fmt =  '%Y(e)ko %B(a)ren %d(e)an %H:%M(e)an';
-$log_date_fmt = '%Y %B %d - %I:%M %p'; //cpg1.4
-
-// For the word censor
-$lang_bad_words = array();
-
-$lang_meta_album_names = array(
-        'random' => 'Ausazko irudiak',
-        'lastup' => 'Azken irudiak',
-        'lastalb'=> 'Eraldatutako azken bildumak',
-        'lastcom' => 'Azken iruzkinak',
-        'topn' => 'Bisita gehien',
-        'toprated' => 'Estimatuenak',
-        'lasthits' => 'Azken bisitaldiak',
-        'search' => 'Bilaketaren emaitzak',
-        'favpics'=> 'Gogokoak',
-);
-
-$lang_errors = array(
-        'access_denied' => 'Ez duzu orri honetan sartzeko baimena.',
-        'perm_denied' => 'Ez duzu hau egiteko baimena.',
-        'param_missing' => 'Scriptari deia derrigorrezko parametrorik gabe.',
-        'non_exist_ap' => 'Aukeratutako bilduma ez dago!',
-        'quota_exceeded' => 'Disko kuota gainditu duzu<br /><br />Zure disko kuota [quota]KBekoa da, zure fitxategiek [space]KB okupatzen dute, hau gehituta kuota gaindituko duzu.',
-        'gd_file_type_err' => 'GD irudi liburutegia erabiltzen denean PNG eta JPEG formatuak baino ezin dira erabili.',
-        'invalid_image' => 'Gehitu duzun irudia akastuna da edo GD liburutegiak ezin du kudeatu.',
-        'resize_failed' => 'Ezin izan dut miniatura sortu.',
-        'no_img_to_display' => 'Ez dago erakusteko irudirik.',
-        'non_exist_cat' => 'Aukeratutako kategoria ez dago.',
-        'orphan_cat' => 'Kategoria umezurtza dago sisteman, kategoriak kudeatzeko tresna abiatu arazoa konpontzeko.',
-        'directory_ro' => '\'%s\' direktorian ez duzu idazteko baimena, ezin ditut fitxategiak ezabatu.',
-        'non_exist_comment' => 'Aukeratutako iruzkina ez dago.',
-        'pic_in_invalid_album' => 'Fitxategia ez dagoen bilduma batean dago (%s)!?',
-        'banned' => 'Oraingoz web honetan ezin zara sartu.',
-        'not_with_udb' => 'Funtzio hau ezgaituta dago foruen funtzionalitateekin lotuta dago eta. Egin nahi duzuna ez da posible sistemaren konfigurazio honekin edo foruen aplikazioen esku dago.',
-        'offline_title' => 'Ezgaitua',
-        'offline_text' => 'Une honetan galeria ezgaituta dago, berehala konponduko dugu.', //cpg1.3.0
-        'ecards_empty' => 'Une honetan ez dago postalarik erakusteko. Ziurtatu konfigurazioan aukera hau aktibatu duzula!',
-        'action_failed' => 'Ezin izan dut zure eskaera burutu.', //cpg1.3.0
-        'no_zip' => 'ZIP fitxategiak kudeatzeko liburutegiak ez daude erabilgarri. Hitzegizu bilduma honen administradorearekin.',
-        'zip_type' => 'ZIP fitxategiak gehitzeko ez duzu baimenik.', //cpg1.3.0
-        'database_query' => 'Akats bat gertatu da DDBBari galdetzean', //cpg1.4
-        'register_globals_on' => 'The PHP setting register_globals is enabled on your server, which is a bad idea in terms of security. It\'s strongly recommended to turn it off. [<a href="http://forum.coppermine-gallery.net/index.php/topic,59569.0.html" rel="external" class="external">more</a>]',
-);
-
-$lang_bbcode_help_title = 'bbcode laguntza'; //cpg1.4
-
-$lang_bbcode_help = 'bbcode etiketak erabiliz loturak eta nolabaiteko formatua lor dezakezu: <li>[b]Beltza[/b] =&gt; <b>Bold</b></li><li>[i]Italic[/i] =&gt; <i>Italic</i></li><li>[url=http://yoursite.com/]Url Text[/url] =&gt; <a href="http://yoursite.com">Url Testua</a></li><li>[email]user@domain.com[/email] =&gt; <a href="mailto:user@domain.com">user@domain.com</a></li><li>[color=red]testua[/color] =&gt; <span style="color:red">testua</span></li><li>[img]http://coppermine-gallery.net/demo/cpg14x/images/red.gif[/img] => <img src="../images/red.gif" border="0" alt="" /></li>'; //cpg1.4
-
-// ------------------------------------------------------------------------- //
-// File theme.php
-// ------------------------------------------------------------------------- //
-
-$lang_main_menu = array(
-        'alb_list_title' => 'Bilduma zerrendara joan',
-        'alb_list_lnk' => 'Bilduma zerrenda',
-        'my_gal_title' => 'Nire bilduma pertsonalera joan',
-        'my_gal_lnk' => 'Nire bilduma',
-        'my_prof_title' => 'Nire profilera joan', //cpg1.4
-        'my_prof_lnk' => 'Nire erabiltzaile profila',
-        'adm_mode_title' => 'Admin modura joan',
-        'adm_mode_lnk' => 'Admin modua',
-        'usr_mode_title' => 'Erabiltzaile modura joan',
-        'usr_mode_lnk' => 'Erabiltzaile modua',
-        'upload_pic_title' => 'Bilduma batean fitxategia gehitu',
-        'upload_pic_lnk' => 'Fitxategia gehitu',
-        'register_title' => 'Erabiltzailea sortu',
-        'register_lnk' => 'Izena eman',
-        'login_title' => 'Sar nazazu', //cpg1.4
-        'login_lnk' => 'Sartu',
-        'logout_title' => 'Atera nazazu', //cpg1.4
-        'logout_lnk' => 'Irten',
-        'lastup_title' => 'Erakutsi azken fitxategiak', //cpg1.4
-        'lastup_lnk' => 'Azken fitxategiak',
-        'lastcom_title' => 'Erakutsi azken iruzkinak',
-        'lastcom_lnk' => 'Azken iruzkinak',
-        'topn_title' => 'Erakutsi ikusienak', //cpg1.4
-        'topn_lnk' => 'Ikusienak',
-        'toprated_title' => 'Erakutsi estimatuenak', //cpg1.4
-        'toprated_lnk' => 'Estimatuenak',
-        'search_title' => 'Galeria bilatu', //cpg1.4
-        'search_lnk' => 'Bilatu',
-        'fav_title' => 'Nire gogokoetara joan', //cpg1.4
-        'fav_lnk' => 'Nire gogokoak',
-        'memberlist_title' => 'Bazkideen zerrenda erakutsi', //cpg1.3.0
-        'memberlist_lnk' => 'Bazkideen zerrenda', //cpg1.3.0
-        'faq_title' => '&quot;Coppermine&quot; argazki bildumari buruzko gardera arruntak', //cpg1.3.0
-        'faq_lnk' => 'FAQ', //cpg1.3.0
-);
-
-$lang_gallery_admin_menu = array(
-        'upl_app_title' => 'Igoera berriak baimendu', //cpg1.4
-        'upl_app_lnk' => 'Igoerak baimendu',
-        'admin_title' => 'Konfiguraziora joan', //cpg1.4
-        'admin_lnk' => 'Konfigurazioa', //cpg1.4
-        'albums_title' => 'Bildumen konfiguraziora joan', //cpg1.4
-        'albums_lnk' => 'Bildumak',
-        'categories_title' => 'Kategorien konfiguraziora joan', //cpg1.4
-        'categories_lnk' => 'Kategoriak',
-        'users_title' => 'Erabiltzaileen konfiguraziora joan', //cpg1.4
-        'users_lnk' => 'Erabiltzaileak',
-        'groups_title' => 'Taldeen konfiguraziora joan', //cpg1.4
-        'groups_lnk' => 'Taldeak',
-        'comments_title' => 'Iruzkin guztiak ikusi', //cpg1.4
-        'comments_lnk' => 'Iruzkinak',
-        'searchnew_title' => 'Fitxategiak gehitu atalera joan', //cpg1.4
-        'searchnew_lnk' => 'Fitxategiak gehitu (Batch)',
-        'util_title' => 'Administratzeko tresnetara joan', //cpg1.4
-        'util_lnk' => 'Administratzeko tresnak',
-        'key_title' => 'Hitz gako atalera joan', //cpg1.4
-        'key_lnk' => 'Hitz gakoak', //cpg1.4
-        'ban_title' => 'Erabiltzaileak kaleratu atalera joan', //cpg1.4
-        'ban_lnk' => 'Erabiltzaileak kaleratu',
-        'db_ecard_title' => 'Postalak ikusi', //cpg1.4
-        'db_ecard_lnk' => 'Postalak erakutsi', //cpg1.3.0
-        'pictures_title' => 'Erakutsi nire irudiak', //cpg1.4
-        'pictures_lnk' => 'Erakutsi nire irudiak', //cpg1.4
-        'documentation_lnk' => 'Dokumentazioa', //cpg1.4
-        'documentation_title' => 'Coppermineren eskuliburua', //cpg1.4
-);
-
-$lang_user_admin_menu = array(
-        'albmgr_title' => 'Nire bildumak sortu eta ordenatu', //cpg1.4
-        'albmgr_lnk' => 'Bildumak sortu / ordenatu',
-        'modifyalb_title' => 'Nire bildumak eraldatu atalera joan',  //cpg1.4
-        'modifyalb_lnk' => 'Nire bildumak eraldatu',
-        'my_prof_title' => 'Neure profilera joan', //cpg1.4
-        'my_prof_lnk' => 'Nire profila',
-);
-
-$lang_cat_list = array(
-        'category' => 'Kategoria',
-        'albums' => 'Bildumak',
-        'pictures' => 'Fitxategiak',
-);
-
-$lang_album_list = array(
-        'album_on_page' => '%d bilduma %d orrialdetan'
-);
-
-$lang_thumb_view = array(
-        'date' => 'DATA',
-        //Sort by filename and title
-        'name' => 'Izena',
-        'title' => 'Izenburua',
-        'sort_da' => 'Dataren arabera gorako ordenatua',
-        'sort_dd' => 'Dataren arabera beherako ordenatua',
-        'sort_na' => 'Izenaren arabera gorako ordenatua',
-        'sort_nd' => 'Izenaren arabera beherako ordenatua',
-        'sort_ta' => 'Tituluaren arabera gorako ordenatua',
-        'sort_td' => 'Tituluaren arabera beherako ordenatua',
-        'position' => 'KOKAPENA', //cpg1.4
-        'sort_pa' => 'Kokapenaren arabera gorako ordenatua', //cpg1.4
-        'sort_pd' => 'Kokapenaren arabera beherako ordenatua', //cpg1.4
-        'download_zip' => 'ZIP fitxategian deskagatu', //cpg1.3.0
-        'pic_on_page' => '%d fitxategi %d orrialdetan',
-        'user_on_page' => '%d erabiltzaile %d orrialdetan',
-        'enter_alb_pass' => 'Idatzi bildumaren pasahitza', //cpg1.4
-        'invalid_pass' => 'Pasahitz okerra', //cpg1.4
-        'pass' => 'Pasahitza', //cpg1.4
-        'submit' => 'Bidali', //cpg1.4
-);
-
-$lang_img_nav_bar = array(
-        'thumb_title' => 'Bildumaren aurkibidea',
-        'pic_info_title' => 'Fitxategiari buruzko infoa erakutsi',
-        'slideshow_title' => 'Slideshow',
-        'ecard_title' => 'Postala bidali',
-        'ecard_disabled' => 'Postalak bidaltzea ezgaitua',
-        'ecard_disabled_msg' => 'Ez duzu postalak bidaltzeko baimena',
-        'prev_title' => 'Aurreko fitxategia ikusi',
-        'next_title' => 'Hurrengo fitxategia ikusi',
-        'pic_pos' => 'FITXATEGIA %s/%s',
-        'report_title' => 'Fitxategi honetaz ohartu administratzailea', //cpg1.4
-        'go_album_end' => 'Amaierara joan', //cpg1.4
-        'go_album_start' => 'Hasierara joan', //cpg1.4
-        'go_back_x_items' => 'atzera %s elementu', //cpg1.4
-        'go_forward_x_items' => 'aurrera %s elementu', //cpg1.4
-);
-
-$lang_rate_pic = array(
-        'rate_this_pic' => 'Fitxategi hau baloratu ',
-        'no_votes' => '(Ez dago boturik)',
-        'rating' => '(Egungo balorazioa : %s / 5 %s boturekin)',
-        'rubbish' => 'Txarra',
-        'poor' => 'Halan holan',
-        'fair' => 'Normala',
-        'good' => 'Ona',
-        'excellent' => 'Oso ona',
-        'great' => 'Itzela',
-);
-
-// ------------------------------------------------------------------------- //
-// File include/exif.inc.php
-// ------------------------------------------------------------------------- //
-
-// void
-
-// ------------------------------------------------------------------------- //
-// File include/functions.inc.php
-// ------------------------------------------------------------------------- //
-
-$lang_cpg_die = array(
-        INFORMATION => $lang_info,
-        ERROR => $lang_error,
-        CRITICAL_ERROR => 'Akats larria',
-        'file' => 'Fitxategia: ',
-        'line' => 'Lerroa: ',
-);
-
-$lang_display_thumbnails = array(
-  'filename' => 'Fitxategia=', //cpg1.4
-  'filesize' => 'Tamaina=', //cpg1.4
-  'dimensions' => 'Neurriak=', //cpg1.4
-  'date_added' => 'Igotze data=', //cpg1.4
-);
-
-$lang_get_pic_data = array(
-        'n_comments' => '%s iruzkin',
-        'n_views' => '%s aldiz ikusia',
-        'n_votes' => '(%s botu)'
-);
-
-$lang_cpg_debug_output = array(
-        'debug_info' => 'Debug informazioa', //cpg1.3.0
-        'select_all' => 'Guztiak hautatu', //cpg1.3.0
-        'copy_and_paste_instructions' => 'Coppermineren foroan laguntza eskatu behar baduzu debug informazio hau kopiatu eta zure mezuan jarri. Adi ibili bidali baino lehen pasahitzei buruzko informazio guztia asteriskoekin (***) ordezkatzeko.<br />Oharra: hau informazioa baino ez da, ez du adierazi nahi inolako arazorik zure bildumarekin.',  //cpg1.4
-        'phpinfo' => 'phpinfo erakutsi', //cpg1.3.0
-        'notices' => 'Oharrak', //cpg1.4
-);
-
-$lang_language_selection = array(
-  'reset_language' => 'Hizkuntza defektuz', //cpg1.3.0
-  'choose_language' => 'Hizkuntza aukeratu', //cpg1.3.0
-);
-
-$lang_theme_selection = array(
-  'reset_theme' => 'Gaia defektuz', //cpg1.3.0
-  'choose_theme' => 'Gaia aukeratu (itxura)', //cpg1.3.0
-);
-
-$lang_version_alert = array(
-        'version_alert' => 'Soporterik gabeko bertsioa!', //cpg1.4
-        'no_stable_version' => 'Coppermine  %s (%s) ari zara erabiltzen, erabiltzaile aurreratuentzat gomendatua soilik - bertsio honek ez dauka soporterik ezta inolako bermearik. Argi ibili bertsio hau erabiltzean edo aukeratu bertsio egonkorra soportea behar baduzu', //cpg1.4
-        'gallery_offline' => 'Une honetan bilduma ezin da ikusi, soilik admin kontutik ikusi ahal da. Ez ahaztu argitaratzea mantenimendua amaitu eta gero', //cpg1.4
-);
-
-$lang_create_tabs = array(
-        'previous' => 'aurrekoa', //cpg1.4
-        'next' => 'hurrengoa', //cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File include/init.inc.php
-// ------------------------------------------------------------------------- //
-
-// void
-
-// ------------------------------------------------------------------------- //
-// File keyword.inc.php                                                      //
-// ------------------------------------------------------------------------- //
-
-// void
-
-// ------------------------------------------------------------------------- //
-// File include/picmgmt.inc.php
-// ------------------------------------------------------------------------- //
-
-// void
-
-// ------------------------------------------------------------------------- //
-// File include/plugin_api.inc.php
-// ------------------------------------------------------------------------- //
-$lang_plugin_api = array(
-  'error_wakeup' => "'%s'plugina abiaraztean akatsa", //cpg1.4
-  'error_install' => "'%s' plugina ezin izan dut instalatu", //cpg1.4
-  'error_uninstall' => "'%s' plugina desinstalatzean akatsa", //cpg1.4
-  'error_sleep' => "'%s' plugina ezin izan dut desinstalatu<br />", //cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File include/smilies.inc.php
-// ------------------------------------------------------------------------- //
-
-if (defined('SMILIES_PHP')) $lang_smilies_inc_php = array(
-        'Exclamation' => 'Exclamation',
-        'Question' => 'Question',
-        'Very Happy' => 'Very Happy',
-        'Smile' => 'Smile',
-        'Sad' => 'Sad',
-        'Surprised' => 'Surprised',
-        'Shocked' => 'Shocked',
-        'Confused' => 'Confused',
-        'Cool' => 'Cool',
-        'Laughing' => 'Laughing',
-        'Mad' => 'Mad',
-        'Razz' => 'Razz',
-        'Embarassed' => 'Embarassed',
-        'Crying or Very sad' => 'Crying or Very sad',
-        'Evil or Very Mad' => 'Evil or Very Mad',
-        'Twisted Evil' => 'Twisted Evil',
-        'Rolling Eyes' => 'Rolling Eyes',
-        'Wink' => 'Wink',
-        'Idea' => 'Idea',
-        'Arrow' => 'Arrow',
-        'Neutral' => 'Neutral',
-        'Mr. Green' => 'Mr. Green',
-);
-
-// ------------------------------------------------------------------------- //
-// File addpic.php
-// ------------------------------------------------------------------------- //
-// void
-
-// ------------------------------------------------------------------------- //
-// File albmgr.php
-// ------------------------------------------------------------------------- //
-
-if (defined('ALBMGR_PHP')) $lang_albmgr_php = array(
-        'alb_need_name' => 'Bildumek izena izan behar dute!', //js-alert
-        'confirm_modifs' => 'Seguru aldaketak aplikatu nahi dituzula?', //js-alert
-        'no_change' => 'Ez dut aldaketarik egin!', //js-alert
-        'new_album' => 'Bilduma berria',
-        'confirm_delete1' => 'Seguru bilduma hau ezabatu nahi duzula?', //js-alert
-        'confirm_delete2' => '\nDauzkan fitxategi eta iruzkinak galdu egingo dira!', //js-alert
-        'select_first' => 'Lehenago bilduma bat aukeratu',
-        'alb_mrg' => 'Bilduma administratzailea',
-        'my_gallery' => '* Nire bilduma *',
-        'no_category' => '* Kategoriarik gabe *',
-        'delete' => 'Ezabatu',
-        'new' => 'Berria',
-        'apply_modifs' => 'Aldaketak aplikatu',
-        'select_category' => 'Kategoria aukeratu',
-);
-
-// ------------------------------------------------------------------------- //
-// File banning.php
-// ------------------------------------------------------------------------- //
-
-if (defined('BANNING_PHP')) $lang_banning_php = array(
-        'title' => 'Erabiltzailea baneatu', //cpg1.4
-        'user_name' => 'Erabiltzaile izena', //cpg1.4
-        'ip_address' => 'IP helbidea', //cpg1.4
-        'expiry' => 'Noiz arte (zuri betiko bada)', //cpg1.4
-        'edit_ban' => 'Gorde', //cpg1.4
-        'delete_ban' => 'Ezabatu', //cpg1.4
-        'add_new' => 'Baneaketa berria', //cpg1.4
-        'add_ban' => 'Gehitu', //cpg1.4
-        'error_user' => 'Ezin topatu erabiltzailea', //cpg1.4
-        'error_specify' => 'Gutxienez IPa edo erabiltzaile izena idatzi behar duzu', //cpg1.4
-        'error_ban_id' => 'Ez da banatzeko ID egokia!', //cpg1.4
-        'error_admin_ban' => 'Ezin duzu zure burua baneatu!', //cpg1.4
-        'error_server_ban' => 'Zeure zerbitzaria baneatu behar duzu? ia ia, ezin duzu hori egin...', //cpg1.4
-        'error_ip_forbidden' => 'Ezin duzu IP hau baneatu - Ez da bideragarria (pribatua) !<br />IP pribatuak baneatzen gaitu nahi baduzu aldatu zure <a href="admin.php">konfigurazio</a> fitxategian (LAN batean bazaude soilik dauka sentzua).', //cpg1.4
-        'lookup_ip' => 'IP helbide baten lookupa', //cpg1.4
-        'submit' => 'joan!', //cpg1.4
-        'select_date' => 'aukeratu data', //cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File bridgemgr.php //cpg1.4
-// ------------------------------------------------------------------------- //
-
-if (defined('BRIDGEMGR_PHP')) $lang_bridgemgr_php = array(
-        'title' => 'Bridge Wizard',
-        'warning' => 'Warning: when using this wizard you have to understand that sensitive data is being sent using html forms. Only run it on your own PC (not on a public client like an internet cafe), and make sure to clear the browser cache and temporary files after you have finished, or others might be able to access your data!',
-        'back' => 'atzera',
-        'next' => 'hurrengoa',
-        'start_wizard' => 'Start bridging wizard',
-        'finish' => 'Amaitu',
-        'hide_unused_fields' => 'hide unused form fields (recommended)',
-        'clear_unused_db_fields' => 'clear invalid database entries (recommended)',
-        'custom_bridge_file' => 'your custom bridge file\'s name (if the bridge file\'s name is <i>myfile.inc.php</i>, enter <i>myfile</i> into this field)',
-        'no_action_needed' => 'No action needed in this step. Just click \'next\' to continue.',
-        'reset_to_default' => 'Reset to default value',
-        'choose_bbs_app' => 'choose application to bridge coppermine with',
-        'support_url' => 'Go here for support on this application',
-        'settings_path' => 'path(s) used by your BBS app',
-        'database_connection' => 'datubasearekin konexioa',
-        'database_tables' => 'datubasearen taulak',
-        'bbs_groups' => 'BBS taldeak',
-        'license_number' => 'Lizentzia zenbakia',
-        'license_number_explanation' => 'idatzi zure lizentzia zenbakia (kasua bada)',
-        'db_database_name' => 'Datubasearen izena',
-        'db_database_name_explanation' => 'Enter the name of the database your BBS app uses',
-        'db_hostname' => 'Database host',
-        'db_hostname_explanation' => 'Hostname where your mySQL database resides, usually &quot;localhost&quot;',
-        'db_username' => 'Database user account',
-        'db_username_explanation' => 'mySQL user account to use for connection with BBS',
-        'db_password' => 'Datubasearen pasahitza',
-        'db_password_explanation' => 'Passsword for this mySQL user account',
-        'full_forum_url' => 'Forum URL',
-        'full_forum_url_explanation' => 'Full URL of your BBS app (including the leading http:// bit, e.g. http://www.yourdomain.tld/forum)',
-        'relative_path_of_forum_from_webroot' => 'Relative forum path',
-        'relative_path_of_forum_from_webroot_explanation' => 'Relative path to your BBS app from the webroot (Example: if your BBS is at http://www.yourdomain.tld/forum/, enter &quot;/forum/&quot; into this field)',
-        'relative_path_to_config_file' => 'Relative path to your BBS\'s config file',
-        'relative_path_to_config_file_explanation' => 'Relative path to your BBS, seen from your Coppermine folder (e.g. &quot;../forum/&quot; if your BBS is at http://www.yourdomain.tld/forum/ and Coppermine at http://www.yourdomain.tld/gallery/)',
-        'cookie_prefix' => 'Cookie prefix',
-        'cookie_prefix_explanation' => 'this has to be your BBS\'s cookie name',
-        'table_prefix' => 'Table prefix',
-        'table_prefix_explanation' => 'Must match the prefix you chose for your BBS when setting it up.',
-        'user_table' => 'User table',
-        'user_table_explanation' => '(usually default value should be OK, unless your BBS install isn\'t standard)',
-        'session_table' => 'Session table',
-        'session_table_explanation' => '(usually default value should be OK, unless your BBS install isn\'t standard)',
-        'group_table' => 'Group table',
-        'group_table_explanation' => '(usually default value should be OK, unless your BBS install isn\'t standard)',
-        'group_relation_table' => 'Group relation table',
-        'group_relation_table_explanation' => '(usually default value should be OK, unless your BBS install isn\'t standard)',
-        'group_mapping_table' => 'Group mapping table',
-        'group_mapping_table_explanation' => '(usually default value should be OK, unless your BBS install isn\'t standard)',
-        'use_standard_groups' => 'Use standard BBS usergroups',
-        'use_standard_groups_explanation' => 'Use standard (built-in) usergroups (recommended). This will make all custom usergroups settings made on this page become void. Only disable this option if you REALLY know what you\'re doing!',
-        'validating_group' => 'Validating group',
-        'validating_group_explanation' => 'The group ID of your BBS where users accounts that need validation are in (usually default value should be OK, unless your BBS install isn\'t standard)',
-        'guest_group' => 'Guest group',
-        'guest_group_explanation' => 'Group ID of your BBS where guests (anonymous users) are in (default value should be OK, only edit if you know what you\'re doing)',
-        'member_group' => 'Member group',
-        'member_group_explanation' => 'Group ID of your BBS where &quot;regular&quot; users accounts are in (default value should be OK, only edit if you know what you\'re doing)',
-        'admin_group' => 'Admin group',
-        'admin_group_explanation' => 'Group ID of your BBS where admins are in (default value should be OK, only edit if you know what you\'re doing)',
-        'banned_group' => 'Banned group',
-        'banned_group_explanation' => 'Group ID of your BBS where banned users are in (default value should be OK, only edit if you know what you\'re doing)',
-        'global_moderators_group' => 'Global moderators group',
-        'global_moderators_group_explanation' => 'Group ID of your BBS where global moderators of your BBS are in (default value should be OK, only edit if you know what you\'re doing)',
-        'special_settings' => 'BBS-specific settings',
-        'logout_flag' => 'phpBB version (logout flag)',
-        'logout_flag_explanation' => 'What\'s your BBS version (this setting specifies how logouts are being handled)',
-        'use_post_based_groups' => 'Use post-based groups?',
-        'logout_flag_yes' => '2.0.5 or higher',
-        'logout_flag_no' => '2.0.4 or lower',
-        'use_post_based_groups_explanation' => 'Should the groups from the BBS that are defined by the number of posts be taken into account (allows a granular permissions management) or just the default groups (makes administration easier, recommended). You can change this setting later as well.',
-        'use_post_based_groups_yes' => 'bai',
-        'use_post_based_groups_no' => 'ez',
-        'error_title' => 'You need to correct these errors before you can continue. Go to the previous screen.',
-        'error_specify_bbs' => 'You have to specify what application you want to bridge your Coppermine install with.',
-        'error_no_blank_name' => 'You can\'t leave the name of your custom bridge file blank.',
-        'error_no_special_chars' => 'The bridge file name mustn\'t contain any special chars except underscore (_) and dash (-)!',
-        'error_bridge_file_not_exist' => 'The bridge file %s doesn\'t exist on the server. Check if you have actually uploaded it.',
-        'finalize' => 'enable/disable BBS integration',
-        'finalize_explanation' => 'So far, the settings you specified have been written into the database, but BBS integration hasn\'t been enabled. You can switch integration on/off later at any time. Make sure to remember the admin username and password from standalone Coppermine, you might need it later to be able to make any changes. If anything goes wrong, go to %s and disable BBS integration there, using your standalone (unbridged) admin account (usually the one you set up during Coppermine install).',
-        'your_bridge_settings' => 'Your bridge settings',
-        'title_enable' => 'Enable integration/bridging with %s',
-        'bridge_enable_yes' => 'gaitu',
-        'bridge_enable_no' => 'ezgaitu',
-        'error_must_not_be_empty' => 'ez da utsik egon behar',
-        'error_either_be' => 'must either be %s or %s',
-        'error_folder_not_exist' => '%s doesn\'t exist. Correct the value you entered for %s',
-        'error_cookie_not_readible' => 'Coppermine can\'t read a cookie named %s. Correct the value you entered for %s, or go to your BBS administration panel and make sure that the cookie path is readible for coppermine.',
-        'error_mandatory_field_empty' => 'You can not leave the field %s blank - fill in the proper value.',
-        'error_no_trailing_slash' => 'There mustn\'t be a trailing slash in the field %s.',
-        'error_trailing_slash' => 'There must be a trailing slash in the field %s.',
-        'error_db_connect' => 'Could not connect to the mySQL database with the data you specified. Here\'s what mySQL said:',
-        'error_db_name' => 'Although Coppermine could establish a connection, it wasn\'t able to find the database %s. Make sure you have specified %s properly. Here\'s what mySQL said:',
-        'error_prefix_and_table' => '%s and ',
-        'error_db_table' => 'Could not find the table %s. Make sure you have specified %s correctly.',
-        'recovery_title' => 'Bridge Manager: emergency recovery',
-        'recovery_explanation' => 'If you came here to administer the BBS integration of your Coppermine gallery, you have to log in first as admin. If you can not log in because bridging doesn\'t work as expected, you can disable BBS integration with this page. Entering your username and password will not log you in, it will only disable BBS integration. Refer to the documentation for details.',
-        'username' => 'Erabiltzailea',
-        'password' => 'Pasahitza',
-        'disable_submit' => 'bidali',
-        'recovery_success_title' => 'Authorization successfull',
-        'recovery_success_content' => 'You have successfully disabled BBS bridging. Your Coppermine install runs now in standalone mode.',
-        'recovery_success_advice_login' => 'Log in as admin to edit your bridge settings and/or enable BBS integration again.',
-        'goto_login' => 'Sarrera orrira joan',
-        'goto_bridgemgr' => 'Go to bridge manager',
-        'recovery_failure_title' => 'Authorization failed',
-        'recovery_failure_content' => 'You supplied the wrong credentials. You will have to supply the admin account data of the standalone version (usually the account you set up during Coppermine install).',
-        'try_again' => 'try again',
-        'recovery_wait_title' => 'Wait time has not elapsed',
-        'recovery_wait_content' => 'For security reasons this script does not allow failed logons in short succession, so you will have to wait a bit untill you\'re allowed to try to authenticate.',
-        'wait' => 'wait',
-        'create_redir_file' => 'Create redirection file (recommended)',
-        'create_redir_file_explanation' => 'To redirect users back to Coppermine once they logged into your BBS, you need a redirection file to be created within your BBS folder. When this option is checked, the bridge manager will attempt to create this file for you, or give you code ready to copy-and-paste to create the file manually.',
-        'browse' => 'arakatu',
-);
-
-// ------------------------------------------------------------------------- //
-// File calendar.php //cpg1.4
-// ------------------------------------------------------------------------- //
-
-if (defined('CALENDAR_PHP')) $lang_calendar_php = array(
-        'title' => 'Egutegia', //cpg1.4
-        'close' => 'Itxi', //cpg1.4
-        'clear_date' => 'gabitu data', //cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File catmgr.php
-// ------------------------------------------------------------------------- //
-
-if (defined('CATMGR_PHP')) $lang_catmgr_php = array(
-        'miss_param' => 'Behar ditudan parametroak: \'%s\' ez dizkidazu eman!',
-        'unknown_cat' => 'Aukeratu duzun kategoria ez dago datu basean',
-        'usergal_cat_ro' => 'Erabiltzaileen bildumen kategoriak ezin dituzu ezabatu!',
-        'manage_cat' => 'Kategorien antolatzailea',
-        'confirm_delete' => 'Seguru kategoria hau ezabatu nahi duzula?',
-        'category' => 'Kategoria',
-        'operations' => 'Ekintzak',
-        'move_into' => 'Hona mugitu',
-        'update_create' => 'Kategoria eraldatu / sortu',
-        'parent_cat' => 'Kategoria nagusia',
-        'cat_title' => 'Kategoriaren izenburua',
-        'cat_thumb' => 'Kategoriaren miniatura', //cpg1.3.0
-        'cat_desc' => 'Kategoriaren deskribapena',
-        'categories_alpha_sort' => 'Kategoriak alfabetikoki ordenatu', //cpg1.4
-        'save_cfg' => 'Konfigurazioa gorde', //cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File admin.php //cpg1.4
-// ------------------------------------------------------------------------- //
-
-if (defined('ADMIN_PHP')) $lang_admin_php = array(
-  'title' => 'Bildumen konfigurazioa', //cpg1.4
-  'manage_exif' => 'Exif datuak kudeatu', //cpg1.4
-  'manage_plugins' => 'Pluginak kudeatu', //cpg1.4
-  'manage_keyword' => 'Manage keywords', //cpg1.4
-  'restore_cfg' => 'Defektuzko ezarpenak berrezarri',
-  'save_cfg' => 'Konfigurazio berria gorde',
-  'notes' => 'Oharrak',
-  'info' => 'Informazioa',
-  'upd_success' => 'Coppermineren konfigurazioa eguneratu dut',
-  'restore_success' => 'Coppermineren jatorrizko konfigurazioa berrezarrita',
-  'name_a' => 'Izena gorako',
-  'name_d' => 'Izena beherako',
-  'title_a' => 'Izenburua gorako',
-  'title_d' => 'Izenburua beherako',
-  'date_a' => 'Data gorako',
-  'date_d' => 'Data beherako',
-  'pos_a' => 'Posizioa gorako', //cpg1.4
-  'pos_d' => 'Posizioa beherako', //cpg1.4
-  'th_any' => 'Max Aspect',
-  'th_ht' => 'Zabalera',
-  'th_wd' => 'Altuera',
-  'label' => 'etiketa',
-  'item' => 'elementua',
-  'debug_everyone' => 'denek',
-  'debug_admin' => 'Admin soilik',
-  'no_logs'=> 'Off', //cpg1.4
-  'log_normal'=> 'Normala', //cpg1.4
-  'log_all' => 'Dena', //cpg1.4
-  'view_logs' => 'Logak ikusi', //cpg1.4
-  'click_expand' => 'atal izenean egin klik zabaltzeko', //cpg1.4
-  'expand_all' => 'Zabaldu guztiak', //cpg1.4
-  'notice1' => '(*) Ezarpen hauek aldatu behar dira oraindik datubasean fitxategiak badituzu.', //cpg1.4 - (relocated)
-  'notice2' => '(**) Ezarpen hau aldatutakoan handik aurrera igotako fitxategietan izango du eragina, beraz ez aldatu ezarpenak bilduman fitxategiak badaude. Hala ere, lehenagoko fitxategiei ezarpen berriak aplikatu ahal dizkiozu &quot;<a href="util.php">admin tresnak</a> (irudiak moldatu)&quot; erabiliz.', //cpg1.4 - (relocated)
-  'notice3' => '(***) Log guztiak ingelesez daude :-(.', //cpg1.4 - (relocated)
-  'bbs_disabled' => 'Funtzio ezgaitua bb integrazioa erabiltzean', //cpg1.4
-  'auto_resize_everyone' => 'Guztiak', //cpg1.4
-  'auto_resize_user' => 'Erabiltzailea soilik', //cpg1.4
-  'ascending' => 'gorako', //cpg1.4
-  'descending' => 'beherako', //cpg1.4
-);
-
-if (defined('ADMIN_PHP')) $lang_admin_data = array(
-  'Ezarpen orokorrak',
-  array('Bildumaren izena', 'gallery_name', 0, 'f=index.htm&amp;as=admin_general_name&amp;ae=admin_general_name_end'), //cpg1.4
-  array('Bildumaren deskripzioa', 'gallery_description', 0, 'f=index.htm&amp;as=admin_general_description&amp;ae=admin_general_description_end'), //cpg1.4
-  array('Bildumaren administradorearen ePosta', 'gallery_admin_email', 0, 'f=index.htm&amp;as=admin_general_email&amp;ae=admin_general_email_end'), //cpg1.4
-  array('Bildumaren direktorioaren URLa (\'index.php\' edo halakorik ez jarri amaieran)', 'ecards_more_pic_target', 0, 'f=index.htm&amp;as=admin_general_coppermine-url&amp;ae=admin_general_coppermine-url_end'), //cpg1.4
-  array('Home pageren URLa', 'home_target', 0, 'f=index.htm&amp;as=admin_general_home-url&amp;ae=admin_general_home-url_end'), //cpg1.4
-  array('Onartu gogokoen ZIP-deskargak', 'enable_zipdownload', 1, 'f=index.htm&amp;as=admin_general_zip-download&amp;ae=admin_general_zip-download_end'), //cpg1.4
-  array('GMTrekin konparatuz desberdintasuna (Oraingo ordua: ' . localised_date(-1, $comment_date_fmt) . ')','time_offset',0, 'f=index.htm&amp;as=admin_general_time-offset&amp;ae=admin_general_time-offset_end&amp;top=1'), //cpg1.4
-  array('Pasahitz enkriptatuak gaitu (gero ezin izango da aldatu)','enable_encrypted_passwords',1, 'f=index.htm&amp;as=admin_general_encrypt_password_start&amp;ae=admin_general_encrypt_password_end&amp;top=1'), // cpg 1.4
-  array('Laguntza ikonoak gaitu (ingelesez soilik)','enable_help',9, 'f=index.htm&amp;as=admin_general_help&amp;ae=admin_general_help_end'), //cpg1.4
-  array('Bilaketetan hitz gako klikagarriak gaitu','clickable_keyword_search',14, 'f=index.htm&amp;as=admin_general_keywords_start&amp;ae=admin_general_keywords_end'), //cpg1.4
-  array('Pluginak gaitu', 'enable_plugins', 12, 'f=index.htm&amp;as=admin_general_enable-plugins&amp;ae=admin_general_enable-plugins_end'),  //cpg1.4
-  array('IP ez bideragarrien (pribatuak) baneoa gaitu', 'ban_private_ip', 1,  'f=index.htm&amp;as=admin_general_private-ip&amp;ae=admin_general_private-ip_end'), //cpg1.4
-  array('Batch-gehiketa interfaze nabegagarria', 'browse_batch_add', 1, 'f=index.htm&amp;as=admin_general_browsable_batch_add&amp;ae=admin_general_browsable_batch_add_end'), //cpg1.4
-
-  'Hizkuntza eta karaktere jokuaren ezarpenak',
-  array('Hizkuntza', 'lang', 5, 'f=index.htm&amp;as=admin_language_language&amp;ae=admin_language_language_end'), //cpg1.4
-  array('Ingelesez pantailaratu esaldia topatu ezean?', 'language_fallback', 1, 'f=index.htm&amp;as=admin_language_fallback&amp;ae=admin_language_fallback_end'), //cpg1.4
-  array('Karaktere kodeketa', 'charset', 4, 'f=index.htm&amp;as=admin_language_charset&amp;ae=admin_language_charset_end'), //cpg1.4
-  array('Hizkuntza zerrenda pantailaratu', 'language_list', 1, 'f=index.htm&amp;as=admin_language_list&amp;ae=admin_language_list_end'), //cpg1.4
-  array('Hizkuntzen ikurrak pantailaratu', 'language_flags', 8, 'f=index.htm&amp;as=admin_language_flags&amp;ae=admin_language_flags_end&amp;top=1'), //cpg1.4
-  array('Hizkuntzen atalean &quot;reset&quot; pantailaratu', 'language_reset', 1, 'f=index.htm&amp;as=admin_language_reset&amp;ae=admin_language_reset_end&amp;top=1'), //cpg1.4
-  //array('Display previous/next on tabbed pages', 'previous_next_tab', 1), //cpg1.4
-
-  'Gaien ezarpenak (itxura)',
-  array('Gaia', 'theme', 6, 'f=index.htm&amp;as=admin_theme_theme&amp;ae=admin_theme_theme_end'), //cpg1.4
-  array('Gaien zerrenda pantailaratu', 'theme_list', 1, 'f=index.htm&amp;as=admin_theme_theme_list&amp;ae=admin_theme_theme_list_end'), //cpg1.4
-  array('Gaien atalean &quot;reset&quot; pantailaratu', 'theme_reset', 1, 'f=index.htm&amp;as=admin_theme_theme_reset&amp;ae=admin_theme_theme_reset_end'), //cpg1.4
-  array('FAQak pantailaratu', 'display_faq', 1, 'f=index.htm&amp;as=admin_theme_faq&amp;ae=admin_theme_faq_end'), //cpg1.4
-  array('Menu pertsonalizatuaren loturaren izena', 'custom_lnk_name', 0,'f=index.htm&amp;as=admin_theme_custom_lnk_name&amp;ae=admin_theme_custom_lnk_name_end'), //cpg1.4
-  array('Menu pertsonalizatuaren loturaren URLa', 'custom_lnk_url', 0,'f=index.htm&amp;as=admin_language_custom_lnk_url&amp;ae=admin_language_custom_lnk_url_end'), //cpg1.4
-  array('bbcode laguntza pantailaratu', 'show_bbcode_help', 1, 'f=index.htm&amp;as=admin_theme_bbcode&amp;ae=admin_theme_bbcode_end&amp;top=1'), //cpg1.4
-  array('Vanity block erakutsi XHTML eta CSS estandarra daukaten gaietan','vanity_block',1, 'f=index.htm&amp;as=vanity_block&amp;ae=vanity_block_end'), //cpg1.4
-  array('Goiburu pertsonalizatuaren includeren PATHa', 'custom_header_path', 0, 'f=index.htm&amp;as=admin_theme_include_path_start&amp;ae=admin_theme_include_path_end'), //cpg1.4
-  array('Orrioin pertsonalizatuaren includeren PATHa', 'custom_footer_path', 0, 'f=index.htm&amp;as=admin_theme_include_path_start&amp;ae=admin_theme_include_path_end'), //cpg1.4
-
-  'Bildumen zerrendaren bista',
-  array('Taula nagusiaren zabalera (pixelak edo %)', 'main_table_width', 0, 'f=index.htm&amp;as=admin_album_table-width&amp;ae=admin_album_table-width_end'), //cpg1.4
-  array('Pantailaratu beharreko kategorien maila', 'subcat_level', 0, 'f=index.htm&amp;as=admin_album_category-levels&amp;ae=admin_album_category-levels_end'), //cpg1.4
-  array('Pantailaratu beharreko bildumakNumber of albums to display', 'albums_per_page', 0, 'f=index.htm&amp;as=admin_album_number&amp;ae=admin_album_number_end'), //cpg1.4
-  array('Zenbat zutabe bilduma zerrendan', 'album_list_cols', 0, 'f=index.htm&amp;as=admin_album_columns&amp;ae=admin_album_columns_end'), //cpg1.4
-  array('Miniaturen tamaina pixeletan', 'alb_list_thumb_size', 0, 'f=index.htm&amp;as=admin_album_thumbnail-size&amp;ae=admin_album_thumbnail-size_end'), //cpg1.4
-  array('Orri nagusiaren edukina', 'main_page_layout', 0, 'f=index.htm&amp;as=admin_album_list_content&amp;ae=admin_album_list_content_end'), //cpg1.4
-  array('Lehenengo mailaren miniaturak kategorietan pantailaratu','first_level',1, 'f=index.htm&amp;as=admin_album_first-level_thumbs&amp;ae=admin_album_first-level_thumbs_end'), //cpg1.4
-  array('Kategoriak alfabetikoki ordenatu ','categories_alpha_sort',1, 'f=index.htm&amp;as=admin_album_list_alphasort_start&amp;ae=admin_album_list_alphasort_end'), //cpg1.4
-  array('Erakutsi zenbat fitxategi dagoen linkatuta','link_pic_count',1, 'f=index.htm&amp;as=admin_album_linked_files_start&amp;ae=admin_album_linked_files_end'), //cpg1.4
-
-  'Miniaturen bista',
-  array('Zenbat zutabe miniaturen orrian', 'thumbcols', 0, 'f=index.htm&amp;as=admin_thumbnail_columns&amp;ae=admin_thumbnail_columns_end'), //cpg1.4
-  array('Zenbat lerro miniaturen orrian', 'thumbrows', 0, 'f=index.htm&amp;as=admin_thumbnail_rows&amp;ae=admin_thumbnail_rows_end'), //cpg1.4
-  array('Fitxa gehienezko kopurua pantailaratzeko', 'max_tabs', 10, 'f=index.htm&amp;as=admin_thumbnail_tabs&amp;ae=admin_thumbnail_tabs_end'), //cpg1.4
-  array('File caption pantailaratu (izenburuaz gain) miniaturaren azpian', 'caption_in_thumbview', 1, 'f=index.htm&amp;as=admin_thumbnail_display_caption&amp;ae=admin_thumbnail_display_caption_end'), //cpg1.4
-  array('Zenbat aldiz ikusia pantailaratu miniaturaren azpian', 'views_in_thumbview', 1, 'f=index.htm&amp;as=admin_thumbnail_display_views&amp;ae=admin_thumbnail_display_views_end'), //cpg1.4
-  array('Iruzkin kopurua pantailaratu miniaturaren azpian', 'display_comment_count', 1, 'f=index.htm&amp;as=admin_thumbnail_display_comments&amp;ae=admin_thumbnail_display_comments_end'), //cpg1.4
-  array('Igo duenaren izena pantailaratu miniaturaren azpian', 'display_uploader', 1, 'f=index.htm&amp;as=admin_thumbnail_display_uploader&amp;ae=admin_thumbnail_display_uploader_end'), //cpg1.4
-  //array('Display name of admin uploaders below the thumbnail', 'display_admin_uploader', 1, 'f=index.htm&amp;as=admin_thumbnail_display_admin_uploader&amp;ae=admin_thumbnail_display_admin_uploader_end'), //cpg1.4
-  array('Fitxategiaren izena panatailaratu miniaturaren azpian', 'display_filename', 1, 'f=index.htm&amp;as=admin_thumbnail_display_filename&amp;ae=admin_thumbnail_display_filename_end'), //cpg1.4
-  //array('Bildumaren deskripzioa pantailaratu', 'alb_desc_thumb', 1, 'f=index.htm&amp;as=admin_thumbnail_display_description&amp;ae=admin_thumbnail_display_description_end'), //cpg1.4
-  array('Horrela ordenatu miniaturak', 'default_sort_order', 3, 'f=index.htm&amp;as=admin_thumbnail_default_sortorder&amp;ae=admin_thumbnail_default_sortorder_end'), //cpg1.4
-  array('\'Gogokoak\' atalean agertzeko gutxienezko botu kopurua', 'min_votes_for_', 0, 'f=index.htm&amp;as=admin_thumbnail_minimum_votes&amp;ae=admin_thumbnail_minimum_votes_end'), //cpg1.4
-
-  'Irudien bista', //cpg1.4
-  array('Fitxategiak pantailaratzeko taularen zabalera (pixelak edo %)', 'picture_table_width', 0, 'f=index.htm&amp;as=admin_image_comment_table-width&amp;ae=admin_image_comment_table-width_end'), //cpg1.4
-  array('Fitxategiaren infoa ikusgai defektuz', 'display_pic_info', 1, 'f=index.htm&amp;as=admin_image_comment_info_visible&amp;ae=admin_image_comment_info_visible_end'), //cpg1.4
-  array('Irudien deskripzioaren luzeera gehienez', 'max_img_desc_length', 0, 'f=index.htm&amp;as=admin_image_comment_descr_length&amp;ae=admin_image_comment_descr_length_end'), //cpg1.4
-  array('Hitz batean karaktere kopurua gehienez', 'max_com_wlength', 0, 'f=index.htm&amp;as=admin_image_comment_chars_per_word&amp;ae=admin_image_comment_chars_per_word_end'), //cpg1.4
-  array('Pelikula tira erakutsi', 'display_film_strip', 1, 'f=index.htm&amp;as=admin_image_comment_filmstrip_toggle&amp;ae=admin_image_comment_filmstrip_toggle_end'), //cpg1.4
-  array('Fitxategiaren izena pelikula tirako miniaturen azpian pantailaratu', 'display_film_strip_filename', 1, 'f=index.htm&amp;as=admin_image_comment_display_film_strip_filename&amp;ae=admin_image_comment_display_film_strip_filename_end'), //cpg1.4
-  array('Zenbat elementu pelikula tiran', 'max_film_strip_items', 0, 'f=index.htm&amp;as=admin_image_comment_filmstrip_number&amp;ae=admin_image_comment_filmstrip_number_end'), //cpg1.4
-  array('Diapositiba pasearen interbaloa milisegundutan (segundu 1 = 1000 milisegundu)', 'slideshow_interval', 0, 'f=index.htm&amp;as=admin_image_comment_slideshow_interval&amp;ae=admin_image_comment_slideshow_interval_end'), //cpg1.4
-
-  'Iruzkinen ezarpenak', //cpg1.4
-  array('Filtratu hitz sakarrak iruzkinetan', 'filter_bad_words', 1, 'f=index.htm&amp;as=admin_image_comment_bad_words&amp;ae=admin_image_comment_bad_words_end'), //cpg1.4
-  array('Onartu smileak iruzkinetan', 'enable_smilies', 1, 'f=index.htm&amp;as=admin_image_comment_smilies&amp;ae=admin_image_comment_smilies_end'), //cpg1.4
-  array('Onartu iruzkin batzuk jarraian erabiltzaile berberarenak (flood babespena ezgaitu)', 'disable_comment_flood_protect', 1, 'f=index.htm&amp;as=admin_image_comment_flood&amp;ae=admin_image_comment_flood_end'), //cpg1.4
-  array('Zenbat lerro gehienez iruzkinetan', 'max_com_lines', 0, 'f=index.htm&amp;as=admin_image_comment_lines&amp;ae=admin_image_comment_lines_end'), //cpg1.4
-  array('Iruzkinen luzeera gehienez', 'max_com_size', 0, 'f=index.htm&amp;as=admin_image_comment_length&amp;ae=admin_image_comment_length_end'), //cpg1.4
-  array('Administradorea ePostaz ohatu iruzkinez', 'email_comment_notification', 1, 'f=index.htm&amp;as=admin_image_comment_admin_notify&amp;ae=admin_image_comment_admin_notify_end'), //cpg1.4
-  array('Horrela ordenatu iruzkinak', 'comments_sort_descending', 17, 'f=index.htm&amp;as=admin_comment_sort_start&amp;ae=admin_comment_sort_end'), //cpg1.4
-  array('Aurrizkia anonimoen iruzkinetarako', 'comments_anon_pfx', 0, 'f=index.htm&amp;as=comments_anon_pfx&amp;ae=comments_anon_pfx_end'), //cpg1.4
-
-  'Fitxategi eta miniaturen ezarpenak',
-  array('JPEG fitxategien kalitatea', 'jpeg_qual', 0, 'f=index.htm&amp;as=admin_picture_thumbnail_jpeg_quality&amp;ae=admin_picture_thumbnail_jpeg_quality_end'), //cpg1.4
-  array('Miniaturen gehinezko tamaina <a href="#notice2" class="clickable_option">**</a>', 'thumb_width', 0, 'f=index.htm&amp;as=admin_picture_thumbnail_max-dimension&amp;ae=admin_picture_thumbnail_max-dimension_end'), //cpg1.4
-  array('Erabili beharreko dimentsioa ( altuera, zabalera edo handiena ) <a href="#notice2" class="clickable_option">**</a>', 'thumb_use', 7, 'f=index.htm&amp;as=admin_picture_thumbnail_use-dimension&amp;ae=admin_picture_thumbnail_use-dimension_end'), //cpg1.4
-  array('Tarteko irudiak sortu','make_intermediate',1, 'f=index.htm&amp;as=admin_picture_thumbnail_intermediate_toggle&amp;ae=admin_picture_thumbnail_intermediate_toggle_end'), //cpg1.4
-  array('Tarteko irudi/bideoen zabalera/luzeera gehienez <a href="#notice2" class="clickable_option">**</a>', 'picture_width', 0, 'f=index.htm&amp;as=admin_picture_thumbnail_intermediate_dimension&amp;ae=admin_picture_thumbnail_intermediate_dimension_end'), //cpg1.4
-  array('Igotako fitxategien tamaina gehienez (KB)', 'max_upl_size', 0, 'f=index.htm&amp;as=admin_picture_thumbnail_max_upload_size&amp;ae=admin_picture_thumbnail_max_upload_size_end'), //cpg1.4
-  array('Igotako fitxtegien zabalera/luzeera gehienez (pixelak)', 'max_upl_width_height', 0, 'f=index.htm&amp;as=admin_picture_thumbnail_max_upload_dimension&amp;ae=admin_picture_thumbnail_max_upload_dimension_end'), //cpg1.4
-  array('Irudi handiegiak moldatu', 'auto_resize', 16, 'f=index.htm&amp;as=admin_picture_thumbnail_auto-resize&amp;ae=admin_picture_thumbnail_auto-resize_end'), //cpg1.4
-
-  'Fitxategi eta miniaturen ezarpen aurreratuak',
-  array('Bildumak pribatuak izan daitezke (Oharra: \'BAI\' izanda \'EZ\' jarriz gero egon daitezkeen bilduma pribatuak publiko bihurtuko dira)', 'allow_private_albums', 1, 'f=index.htm&amp;as=admin_picture_thumb_advanced_private_toggle&amp;ae=admin_picture_thumb_advanced_private_toggle_end'), //cpg1.4
-  array('Erakutsi bilduma pribatuaren ikonoa logeatutako erabiltzaileei','show_private',1, 'f=index.htm&amp;as=admin_picture_thumb_advanced_private_icon_show&amp;ae=admin_picture_thumb_advanced_private_icon_show_end'), //cpg1.4
-  array('Fitxategi izenaten debekatutako karaktereak', 'forbiden_fname_char',0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_filename_forbidden_chars&amp;ae=admin_picture_thumb_advanced_filename_forbidden_chars_end'), //cpg1.4
-  //array('Accepted file extensions for uploaded pictures', 'allowed_file_extensions',0, 'f=index.htm&amp;as=&amp;ae=_end'), //cpg1.4
-  array('Onartzen diren irudi motak', 'allowed_img_types',0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_pic_extensions&amp;ae=admin_picture_thumb_advanced_pic_extensions_end'), //cpg1.4
-  array('Onartzen diren bideo motak', 'allowed_mov_types',0, 'f=index.htm&amp;as=admin_thumbs_advanced_movie&amp;ae=admin_thumbs_advanced_movie_end'), //cpg1.4
-  array('Bideoen hasiera automatikoa', 'media_autostart',1, 'f=index.htm&amp;as=admin_movie_autoplay&amp;ae=admin_movie_autoplay_end'), //cpg1.4
-  array('Onartzen diren audio motak', 'allowed_snd_types',0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_audio_extensions&amp;ae=admin_picture_thumb_advanced_audio_extensions_end'), //cpg1.4
-  array('Onartzen diren dokumentu motak', 'allowed_doc_types',0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_doc_extensions&amp;ae=admin_picture_thumb_advanced_doc_extensions_end'), //cpg1.4
-  array('Irudiak moldatzeko era','thumb_method',2, 'f=index.htm&amp;as=admin_picture_thumb_advanced_resize_method&amp;ae=admin_picture_thumb_advanced_resize_method_end'), //cpg1.4
-  array('ImageMagick-en \'convert\' tresnarako PATHa (adib: /usr/bin/X11/)', 'impath', 0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_im_path&amp;ae=admin_picture_thumb_advanced_im_path_end'), //cpg1.4
-  //array('Allowed image types (only valid for ImageMagick)', 'allowed_img_types',0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_allowed_imagetypes&amp;ae=admin_picture_thumb_advanced_allowed_imagetypes_end'), //cpg1.4
-  array('ImageMagick-entzako komando lerroaren aukerak', 'im_options', 0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_im_commandline&amp;ae=admin_picture_thumb_advanced_im_commandline_end'), //cpg1.4
-  array('JPEG fitxategien EXIF datuak irakurri', 'read_exif_data', 13, 'f=index.htm&amp;as=admin_picture_thumb_advanced_exif&amp;ae=admin_picture_thumb_advanced_exif_end'), //cpg1.4
-  array('JPEG fitxategien IPTC datuak irakurri', 'read_iptc_data', 1, 'f=index.htm&amp;as=admin_picture_thumb_advanced_iptc&amp;ae=admin_picture_thumb_advanced_iptc_end'), //cpg1.4
-  array('Bildumaren direktorioa <a href="#notice1" class="clickable_option">*</a>', 'fullpath', 0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_albums_dir&amp;ae=admin_picture_thumb_advanced_albums_dir_end'), //cpg1.4
-  array('Erabiltzaileen fitxategien direktorioa <a href="#notice1" class="clickable_option">*</a>', 'userpics', 0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_userpics_dir&amp;ae=admin_picture_thumb_advanced_userpics_dir_end'), //cpg1.4
-  array('Tarteko irudien aurrizkia <a href="#notice1" class="clickable_option">*</a>', 'normal_pfx', 0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_intermediate_prefix&amp;ae=admin_picture_thumb_advanced_intermediate_prefix_end'), //cpg1.4
-  array('Miniaturen aurrizkia <a href="#notice1" class="clickable_option">*</a>', 'thumb_pfx', 0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_thumbs_prefix&amp;ae=admin_picture_thumb_advanced_thumbs_prefix_end'), //cpg1.4
-  array('Direktorioen defektuzko era', 'default_dir_mode', 0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_chmod_folder&amp;ae=admin_picture_thumb_advanced_chmod_folder_end'), //cpg1.4
-  array('Fitxategien defektuzko era', 'default_file_mode', 0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_chmod_files&amp;ae=admin_picture_thumb_advanced_chmod_files_end'), //cpg1.4
-
-  'Erabiltzaileen ezarpenak',
-  array('Erabiltzaile berriak alta ematea gaitu', 'allow_user_registration', 1, 'f=index.htm&amp;as=admin_allow_registration&amp;ae=admin_allow_registration_end'), //cpg1.4
-  array('Logeatu gabeko erabiltzaileak sartzea onartu (gonbidatua edo anonimoa)', 'allow_unlogged_access', 1, 'f=index.htm&amp;as=admin_allow_unlogged_access&amp;ae=admin_allow_unlogged_access_end'), //cpg1.4
-  array('Erabiltzaileek alta emateko ePosta baieztapena derrigorrezkoa da', 'reg_requires_valid_email', 1, 'f=index.htm&amp;as=admin_registration_verify&amp;ae=admin_registration_verify_end'), //cpg1.4
-  array('Alta berriez administradorea ePostaz ohartu', 'reg_notify_admin_email', 1, 'f=index.htm&amp;as=admin_registration_notify&amp;ae=admin_registration_notify_end'), //cpg1.4
-  array('Adminaren alten aktibazioa', 'admin_activation', 1, 'f=index.htm&amp;as=admin_activation&amp;ae=admin_activation_end'),  //cpg1.4
-  array('Onartu bi erabiltzailek ePosta berbera edukitzea', 'allow_duplicate_emails_addr', 1, 'f=index.htm&amp;as=admin_allow_duplicate_emails_addr&amp;ae=admin_allow_duplicate_emails_addr_end'), //cpg1.4
-  array('Onarpena behar dutenen igoeraz administradorea ePostaz ohartu', 'upl_notify_admin_email', 1, 'f=index.htm&amp;as=admin_approval_notify&amp;ae=admin_approval_notify_end'), //cpg1.4
-  array('Onartu logeatutako erabiltzaileek bazkideen zerrenda ikustea', 'allow_memberlist', 1, 'f=index.htm&amp;as=admin_user_memberlist&amp;ae=admin_user_memberlist_end'), //cpg1.4
-  array('Onartu erabiltzaileen berhaien ePosta aldatu ahal izatea', 'allow_email_change', 1, 'f=index.htm&amp;as=admin_user_allow_email_change&amp;ae=admin_user_allow_email_change_end'), //cpg1.4
-  array('Onartu erabiltzaileek mantentzea berhaien irudien kontrola bilduma publikoetan', 'users_can_edit_pics', 1, 'f=index.htm&amp;as=admin_user_editpics_public_start&amp;ae=admin_user_editpics_public_end'), //cpg1.4
-  array('Zenbat login saiakera oker behin behineko baneaketa baino lehen (indar hutsezko erasoak ekiditzeko)', 'login_threshold', 0, 'f=index.htm&amp;as=admin_user_login_start&amp;ae=admin_user_login_end'), //cpg1.4
-  array('Zenbat irauten du behin behineko baneoa', 'login_expiry', 0, 'f=index.htm&amp;as=admin_user_login_start&amp;ae=admin_user_login_end'), //cpg1.4
-  array('Administradorearea ohartzea gaitu', 'report_post', 1, 'f=index.htm&amp;as=admin_user_enable_report&amp;ae=admin_user_enable_report_end'),  //cpg1.4
-
-// custom profile fields,  //cpg1.4
-  'Eremu pertsonalizatuak erabiltzaileen profiletarako (hutsik erabili ezean).
-  Erabili profila 6 kontu luzeetarako, biografia adibidez', //cpg1.4
-  array('Profila 1 izena', 'user_profile1_name', 0, 'f=index.htm&amp;as=admin_custom&amp;ae=admin_custom_end'), //cpg1.4
-  array('Profila 2 izena', 'user_profile2_name', 0), //cpg1.4
-  array('Profila 3 izena', 'user_profile3_name', 0), //cpg1.4
-  array('Profila 4 izena', 'user_profile4_name', 0), //cpg1.4
-  array('Profila 5 izena', 'user_profile5_name', 0), //cpg1.4
-  array('Profila 6 izena', 'user_profile6_name', 0), //cpg1.4
-
-  'Eremu pertsonalizatuak irudiak deskribatzeko (hutsik erabili ezean)',
-  array('Eremu 1 izena', 'user_field1_name', 0, 'f=index.htm&amp;as=admin_custom_image&amp;ae=admin_custom_image_end'), //cpg1.4
-  array('Eremu 2 izena', 'user_field2_name', 0),
-  array('Eremu 3 izena', 'user_field3_name', 0),
-  array('Eremu 4 izena', 'user_field4_name', 0),
-
-  'Cookien ezarpenak',
-  array('Cookie izena', 'cookie_name', 0, 'f=index.htm&amp;as=admin_cookie_name&amp;ae=admin_cookie_name_end'), //cpg1.4
-  array('Cookie PATHa', 'cookie_path', 0, 'f=index.htm&amp;as=admin_cookie_path&amp;ae=admin_cookie_path_end'), //cpg1.4
-
-  'ePostaren ezarpenak  (normalean hemen ez da ezer aldatu behar; seguru ez bazaude utzi eremu guztiak zuri)', //cpg1.4
-  array('SMTP Host-a (zuri egonez gero Sendmail erabiliko da)', 'smtp_host', 0, 'f=index.htm&amp;as=admin_email&amp;ae=admin_email_end'), //cpg1.4
-  array('SMTP Erabiltzailea', 'smtp_username', 0), //cpg1.4
-  array('SMTP Pasahitza', 'smtp_password', 0), //cpg1.4
-
-  'Logak eta estatistikak', //cpg1.4
-  array('Logatzeko era <a href="#notice3" class="clickable_option">***</a>', 'log_mode', 11, 'f=index.htm&amp;as=admin_logging_log_mode&amp;ae=admin_logging_log_mode_end'), //cpg1.4
-  array('eCardak logatu', 'log_ecards', 1, 'f=index.htm&amp;as=admin_general_log_ecards&amp;ae=admin_general_log_ecards_end'), //cpg1.4
-  array('Gorde bozketen estatistika zehatzak','vote_details',1, 'f=index.htm&amp;as=admin_logging_votedetails&amp;ae=admin_logging_votedetails_end'), //cpg1.4
-  array('Gorde hiten estatistika zehatzak','hit_details',1, 'f=index.htm&amp;as=admin_logging_hitdetails&amp;ae=admin_logging_hitdetails_end'), //cpg1.4
-
-  'Mantenimendu ezarpenak', //cpg1.4
-  array('Debug era gaitu', 'debug_mode', 9, 'f=index.htm&amp;as=debug_mode&amp;ae=debug_mode_end'), //cpg1.4
-  array('Oharrak erakutsi debug eran', 'debug_notice', 1, 'f=index.htm&amp;as=admin_misc_debug_notices&amp;ae=admin_misc_debug_notices_end'), //cpg1.4
-  array('Bilduma offline dago', 'offline', 1, 'f=index.htm&amp;as=admin_general_offline&amp;ae=admin_general_offline_end'), //cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File db_ecard.php //cpg1.3.0
-// ------------------------------------------------------------------------- //
-
-if (defined('DB_ECARD_PHP')) $lang_db_ecard_php = array(
-        'title' => 'Bidalitako postalak', //cpg1.3.0
-        'ecard_sender' => 'Igorlea', //cpg1.3.0
-        'ecard_recipient' => 'Jasotzailea', //cpg1.3.0
-        'ecard_date' => 'Data', //cpg1.3.0
-        'ecard_display' => 'Postala erakutsi', //cpg1.3.0
-        'ecard_name' => 'Izena', //cpg1.3.0
-        'ecard_email' => 'ePosta', //cpg1.3.0
-        'ecard_ip' => 'IPa #', //cpg1.3.0
-        'ecard_ascending' => 'gorako', //cpg1.3.0
-        'ecard_descending' => 'beherako', //cpg1.3.0
-        'ecard_sorted' => 'Ordena', //cpg1.3.0
-        'ecard_by_date' => 'dataren arabera', //cpg1.3.0
-        'ecard_by_sender_name' => 'igorlearen arabera', //cpg1.3.0
-        'ecard_by_sender_email' => 'igorlearen ePostaren arabera', //cpg1.3.0
-        'ecard_by_sender_ip' => 'igorlearen IParen arabera', //cpg1.3.0
-        'ecard_by_recipient_name' => 'jasotzailearen izenaren arabera', //cpg1.3.0
-        'ecard_by_recipient_email' => 'jasotzailearen ePostaren arabera', //cpg1.3.0
-        'ecard_number' => '%s tik %s rako errejistroak erakusten (Totala %s)', //cpg1.3.0
-        'ecard_goto_page' => 'orrira joan', //cpg1.3.0
-        'ecard_records_per_page' => 'Errejistroak orriko', //cpg1.3.0
-        'check_all' => 'Guztiak markatu', //cpg1.3.0
-        'uncheck_all' => 'Guztiak desmarkatu', //cpg1.3.0
-        'ecards_delete_selected' => 'Aukeratutako postalak ezabatu', //cpg1.3.0
-        'ecards_delete_confirm' => 'Seguru errejistro hauek ezabatunahi dituzula? checkboxa markatu!', //cpg1.3.0
-        'ecards_delete_sure' => 'Seguru nago', //cpg1.3.0
-);
-
-// ------------------------------------------------------------------------- //
-// File db_input.php
-// ------------------------------------------------------------------------- //
-
-if (defined('DB_INPUT_PHP')) $lang_db_input_php = array(
-        'empty_name_or_com' => 'Zure izena eta iruzkin batean idatzi behar duzu',
-        'com_added' => 'Zure iruzkina gehitu dut',
-        'alb_need_title' => 'Bildumaren izena idatzi behar duzu!',
-        'no_udp_needed' => 'Ez da aldaketarik behar',
-        'alb_updated' => 'Bilduma eguneratu dut',
-        'unknown_album' => 'Aukeratutako bilduma ez dago edo ez daukazu irudiak gehitzeko baimena',
-        'no_pic_uploaded' => 'Ez dut fitxategirik gehitu!<br /><br />Irudiak bidaltzen saiatu bazara ziurtatu zerbitzariak igoerak onartzen dituela...',
-        'err_mkdir' => 'Akatsa direktoria sortzean %s!',
-        'dest_dir_ro' => ' %s direktorioan ez daukazu idazteko baimena!',
-        'err_move' => 'Ezin izan dut %s  %s ra mugitu!',
-        'err_fsize_too_large' => 'Igo nahi duzun fitxategia handiegia da (onartzen den handiena %s x %s)',
-        'err_imgsize_too_large' => 'Igo nahi duzun fitxategia handiegia da (onartzen den handiena %s KB)',
-        'err_invalid_img' => 'Igo nahi duzun fitxategia ez da irudi fitxategi egokia',
-        'allowed_img_types' => '%s irudi igo ahal duzu soilik.',
-        'err_insert_pic' => 'Ezin izan dut \'%s\' fitxategia bilduman alta eman ',
-        'upload_success' => 'Fitxategia ondo gorde dut<br /><br />administradoreek baimendu ostean ikusi ahal izango da.',
-        'notify_admin_email_subject' => '%s - Oharra, fitxategi gehitua', //cpg1.3.0
-        'notify_admin_email_body' => '%s k zure oniritsia behar duen irudi bat gehitu du. Visita %s', //cpg1.3.0
-        'info' => 'Informazioa',
-        'com_added' => 'Iruzkina gehitu dut',
-        'alb_updated' => 'Bilduma eguneratua',
-        'err_comment_empty' => 'Iruzkina hutsik dago!',
-        'err_invalid_fext' => 'Estensio hauek dauzkaten fitxategiak onartzen dira soilik : <br /><br />%s.',
-        'no_flood' => 'Barkatu baina fitxategi honetan sartutako azken iruzkinaren egilea zara.<br /><br />Eraldatu nahi baduzu edita dezakezu',
-        'redirect_msg' => 'Berbidaltzen....<br /><br /><br />Sakatu \'JARRAITU\' orria automatikoki freskatzen ez bada',
-        'upl_success' => 'Fitxategia ondo gehitu dut',
-        'email_comment_subject' => 'Coppermine bilduman iruzkina gehitu dut', //cpg1.3.0
-        'email_comment_body' => 'Norbaitek iruzkin bat gehitu dio zure bildumari. Hemen ikus dezakezu', //cpg1.3.0
-        'album_not_selected' => 'Bilduma aukeratu gabe', //cpg1.4
-        'com_author_error' => 'Erabiltzaile izen hori hartuta dago, beste bat aukeratu', //cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File delete.php
-// ------------------------------------------------------------------------- //
-
-if (defined('DELETE_PHP')) $lang_delete_php = array(
-        'caption' => 'Izenburua',
-        'fs_pic' => 'tamaina osoko irudia',
-        'del_success' => 'zuzen ezabatua',
-        'ns_pic' => 'tamaina normaleko irudia',
-        'err_del' => 'ezin da ezabatu',
-        'thumb_pic' => 'miniatura',
-        'comment' => 'iruzkina',
-        'im_in_alb' => 'irudiak bilduman',
-        'alb_del_success' => '\'%s\' bilduma ezabatua',
-        'alb_mgr' => 'Bilduma antolatzailea',
-        'err_invalid_data' => 'Datu ez balidoak jaso ditut \'%s\'n',
-        'create_alb' => '\'%s\' bilduma sortzen',
-        'update_alb' => '\'%s\' bilduma eguneratzen : izenburua \'%s\' eta indizea \'%s\'',
-        'del_pic' => 'Fitxategia ezabatu',
-        'del_alb' => 'Bilduma ezabatu',
-        'del_user' => 'Erabiltzailea ezabatu',
-        'err_unknown_user' => 'Aukeratu duzun erabiltzailea ez dago!',
-        'err_empty_groups' => 'Ez dago taldeen taularik edo hutsik dago', //cpg1.4
-        'comment_deleted' => 'Iruzkina ezabatu dut',
-        'npic' => 'Irudia', //cpg1.4
-        'pic_mgr' => 'Irudien kudeatzailea', //cpg1.4
-        'update_pic' => ' \'%s\' eguneratzen \'%s\' fitxategi izenarekin eta \'%s\' indizearekin', //cpg1.4
-        'username' => 'Erabiltzaile izena', //cpg1.4
-        'anonymized_comments' => '%s iruzkin anonimizatuak', //cpg1.4
-        'anonymized_uploads' => '%s igoera publiko anonimizatuak', //cpg1.4
-        'deleted_comments' => '%s iruzkin ezabatuak', //cpg1.4
-        'deleted_uploads' => '%s igoera publiko ezabatuak', //cpg1.4
-        'user_deleted' => '%s erabiltzailea ezabatuta', //cpg1.4
-        'activate_user' => 'Erabiltzaile aktiboa', //cpg1.4
-        'user_already_active' => 'Kontua dagoeneko dago gaituta', //cpg1.4
-        'activated' => 'Gaituta', //cpg1.4
-        'deactivate_user' => 'Erabiltzailea gaitu', //cpg1.4
-        'user_already_inactive' => 'Kontua dagoeneko dago ezgaituta', //cpg1.4
-        'deactivated' => 'Ezgaituta', //cpg1.4
-        'reset_password' => 'Pasahitza(k) berrezarri', //cpg1.4
-        'password_reset' => '%s-ren pasahitza aldatuta', //cpg1.4
-        'change_group' => 'Nire talde nagusia aldatu', //cpg1.4
-        'change_group_to_group' => '%s-tik %s-ra aldatuta', //cpg1.4
-        'add_group' => 'Talde gahiagotan sartu', //cpg1.4
-        'add_group_to_group' => '%s erabiltzailea %s taldean gehituta. Orain bere talde nagusia %s da eta %s sekundarioa', //cpg1.4
-        'status' => 'Egoera', //cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File displayecard.php
-// ------------------------------------------------------------------------- //
-
-if (defined('DISPLAYECARD_PHP')) {
-
-$lang_displayecard_php = array(
-        'invalid_data' => 'Ikusi nahi duzu eCardaren data zure posta bezeroak apuntu du, zihurtatu lotura osorik dagoela.', //cpg1.4
-);
-}
-
-// ------------------------------------------------------------------------- //
-// File displayimage.php
-// ------------------------------------------------------------------------- //
-
-if (defined('DISPLAYIMAGE_PHP')){
-
-$lang_display_image_php = array(
-        'confirm_del' => 'Seguru fitxategi hau ezabtu nahi duzula? \\nIruzkinak ere ezabatuko ditut.',
-        'del_pic' => 'FITXATEGI HAU EZABATU',
-        'size' => '%s x %s pixel',
-        'views' => '%s aldiz',
-        'slideshow' => 'Diapositiba pasea',
-        'stop_slideshow' => 'GELDITU',
-        'view_fs' => 'Hemen sakatu irudia tamaina osoan ikusteko',
-        'edit_pic' => 'Fixategiaren infoa editatu', //cpg1.4
-        'edit_pic' => 'Deskribapena editatu', //cpg1.3.0
-        'crop_pic' => 'Moztu eta biratu', //cpg1.3.0
-);
-
-$lang_picinfo = array(
-        'title' =>'Fitxategiari buruzko infoa',
-        'Filename' => 'Fitxategiaren izena',
-        'Album name' => 'Bildumaren izena',
-        'Rating' => 'Balorazioa (%s botu)',
-        'Keywords' => 'Hitz gakoak',
-        'File Size' => 'Fitxategiaren tamaina',
-        'Date Added' => 'Gehitze data', //cpg1.4
-        'Dimensions' => 'Neurriak',
-        'Displayed' => 'Ikusi dute',
-        'URL' => 'URLa', //cpg1.4
-        'Make' => 'Egilea', //cpg1.4
-        'Model' => 'Modeloa', //cpg1.4
-        'DateTime' => 'Data', //cpg1.4
-        'DateTimeOriginal' => 'Hartze data', //cpg1.4
-        'ISOSpeedRatings'=>'ISOa', //cpg1.4
-        'MaxApertureValue' => 'Max Zabalera', //cpg1.4
-        'FocalLength' => 'Distantzia fokala', //cpg1.4
-        'Camera' => 'Kamera',
-        'Date taken' => 'Kapturaren data',
-        'Aperture' => 'Zabalera',
-        'Exposure time' => 'Esposizio denbora',
-        'Focal length' => 'Fokoa',
-        'Comment' => 'Iruzkina',
-        'addFav'=>'Gogokoetan gehitu',
-        'addFavPhrase'=>'Gogokoak',
-        'remFav'=>'Gogokoetatik kendu',
-        'iptcTitle'=>'IPTC - Izenburua', //cpg1.3.0
-        'iptcCopyright'=>'IPTC - Copyrighta', //cpg1.3.0
-        'iptcKeywords'=>'IPTC - Hitz gakoa', //cpg1.3.0
-        'iptcCategory'=>'IPTC - Kategoria', //cpg1.3.0
-        'iptcSubCategories'=>'IPTC - Azpikategoriak', //cpg1.3.0
-        'ColorSpace' => 'Kolore aspazioa', //cpg1.4
-        'ExposureProgram' => 'Exposizio programa', //cpg1.4
-        'Flash' => 'Flashrik', //cpg1.4
-        'MeteringMode' => 'Medizio era', //cpg1.4
-        'ExposureTime' => 'Exposizio denbora', //cpg1.4
-        'ExposureBiasValue' => 'Exposure Bias', //cpg1.4
-        'ImageDescription' => ' Irudiaren deskripzioa', //cpg1.4
-        'Orientation' => 'Orientazioa', //cpg1.4
-        'xResolution' => 'X Erresoluzioa', //cpg1.4
-        'yResolution' => 'Y Erresoluzioa', //cpg1.4
-        'ResolutionUnit' => 'Erresoluzio unitatea', //cpg1.4
-        'Software' => 'Softwarea', //cpg1.4
-        'YCbCrPositioning' => 'YCbCrPositioning', //cpg1.4
-        'ExifOffset' => 'Exif Offset', //cpg1.4
-        'IFD1Offset' => 'IFD1 Offset', //cpg1.4
-        'FNumber' => 'FNumber', //cpg1.4
-        'ExifVersion' => 'Exif Version', //cpg1.4
-        'DateTimeOriginal' => 'DateTime Original', //cpg1.4
-        'DateTimedigitized' => 'DateTime digitized', //cpg1.4
-        'ComponentsConfiguration' => 'Components Configuration', //cpg1.4
-        'CompressedBitsPerPixel' => 'Compressed Bits Per Pixel', //cpg1.4
-        'LightSource' => 'Light Source', //cpg1.4
-        'ISOSetting' => 'ISO Setting', //cpg1.4
-        'ColorMode' => 'Kolore era', //cpg1.4
-        'Quality' => 'Kalitatea', //cpg1.4
-        'ImageSharpening' => 'Image Sharpening', //cpg1.4
-        'FocusMode' => 'Focus Mode', //cpg1.4
-        'FlashSetting' => 'Flash Setting', //cpg1.4
-        'ISOSelection' => 'ISO Selection', //cpg1.4
-        'ImageAdjustment' => 'Image Adjustment', //cpg1.4
-        'Adapter' => 'Adapter', //cpg1.4
-        'ManualFocusDistance' => 'Manual Focus Distance', //cpg1.4
-        'DigitalZoom' => 'Digital Zoom', //cpg1.4
-        'AFFocusPosition' => 'AF Focus Position', //cpg1.4
-        'Saturation' => 'Saturazioa', //cpg1.4
-        'NoiseReduction' => 'Noise Reduction', //cpg1.4
-        'FlashPixVersion' => 'Flash Pix Version', //cpg1.4
-        'ExifImageWidth' => 'Exif Image Width', //cpg1.4
-        'ExifImageHeight' => 'Exif Image Height', //cpg1.4
-        'ExifInteroperabilityOffset' => 'Exif Interoperability Offset', //cpg1.4
-        'FileSource' => 'File Source', //cpg1.4
-        'SceneType' => 'Scene Type', //cpg1.4
-        'CustomerRender' => 'Customer Render', //cpg1.4
-        'ExposureMode' => 'Exposure Mode', //cpg1.4
-        'WhiteBalance' => 'White Balance', //cpg1.4
-        'DigitalZoomRatio' => 'Digital Zoom Ratio', //cpg1.4
-        'SceneCaptureMode' => 'Scene Capture Mode', //cpg1.4
-        'GainControl' => 'Gain Control', //cpg1.4
-        'Contrast' => 'Kontrastea', //cpg1.4
-        'Saturation' => 'Saturazioa', //cpg1.4
-        'Sharpness' => 'Enfokea', //cpg1.4
-        'ManageExifDisplay' => 'Manage Exif Display', //cpg1.4
-        'submit' => 'Bidali', //cpg1.4
-        'success' => 'Informazioa ondo eguneratu dut.', //cpg1.4
-        'details' => 'Oharrak', //cpg1.4
-);
-
-$lang_display_comments = array(
-        'OK' => 'ADOS',
-        'edit_title' => 'Iruzkina editatu',
-        'confirm_delete' => 'Seguru iruzkin hau ezabatu nahi duzula?',
-        'add_your_comment' => 'Iruzkina gehitu',
-        'name'=>'Izena',
-        'comment'=>'Iruzkina',
-        'your_name' => 'Anonimoa',
-        'report_comment_title' => 'Iruzkin honetaz administradorea ohartu', //cpg1.4
-);
-
-$lang_fullsize_popup = array(
-        'click_to_close' => 'Leiho hau ixteko irudian egin klik',
-);
-
-}
-
-// ------------------------------------------------------------------------- //
-// File ecard.php
-// ------------------------------------------------------------------------- //
-
-if (defined('ECARDS_PHP') || defined('DISPLAYECARD_PHP')) $lang_ecard_php =array(
-        'title' => 'Postala bidali',
-        'invalid_email' => '<font color="red"><b>ADI</b></font>: ePosta helbidea ez da zuzena',
-        'ecard_title' => '%s k postal bat bidali dizu',
-        'error_not_image' => 'Soilik irudiekin sortu ahal dira postalak.', //cpg1.3.0
-        'view_ecard' => 'Ordezko lotura erabili eCarda ez bada ondo ikusten', //cpg1.4
-        'view_ecard_plaintext' => 'eCarda ikusteko copiatu helbide hau zure nabegadorearen helbide barran:', //cpg1.4
-        'view_more_pics' => 'Irudi gehiago ikusi !', //cpg1.4
-        'view_ecard' => 'Irudia ondo ikusten ez baduzu lotura honetan egin klik',
-        'view_more_pics' => 'Hemen sakatu irudi gehiago ikusteko!',
-        'send_success' => 'Postala bidali dut',
-        'send_failed' => 'Barkatu baina zerbitzariak ezin izan du postala bidali...',
-        'from' => 'Nork',
-        'your_name' => 'Zure izena',
-        'your_email' => 'Zure ePosta',
-        'to' => 'Nori',
-        'rcpt_name' => 'Jasotzailearen izena',
-        'rcpt_email' => 'Jasotzaileren ePosta',
-        'greetings' => 'Mezuaren izenburua',
-        'message' => 'Mezua',
-        'ecards_footer' => '%s-k bidali du %s IPtik %setan (sistemaren ordua)', //cpg1.4
-        'preview' => 'eCardaren aurrebista', //cpg1.4
-        'preview_button' => 'Aurrebista', //cpg1.4
-        'submit_button' => 'eCarda bidali', //cpg1.4
-        'preview_view_ecard' => 'Hau ordezko lotura da. Aurrebistan ez dabil.', //cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File report_file.php //cpg1.4
-// ------------------------------------------------------------------------- //
-if (defined('REPORT_FILE_PHP') || defined('DISPLAYREPORT_PHP')) $lang_report_php =array(
-  'title' => 'Administradorea ohartu', //cpg1.4
-  'invalid_email' => '<b>Adi</b> : ePosta ez dago ondo !', //cpg1.4
-  'report_subject' => '%s-k emandako abisua %s galerian', //cpg1.4
-  'view_report' => 'Ordezko lotura erabili oharpena ez bada ondo ikusten', //cpg1.4
-  'view_report_plaintext' => 'Oharpena ikusteko kopiatu URL hau nabegadorearen helbide barran:', //cpg1.4
-  'view_more_pics' => 'Bilduma', //cpg1.4
-  'send_success' => 'Oharpena bidali dut', //cpg1.4
-  'send_failed' => 'Sentitzen dut baina zerbitzariak ezin du mezua bidali...', //cpg1.4
-  'from' => 'Nork', //cpg1.4
-  'your_name' => 'Zure izena', //cpg1.4
-  'your_email' => 'Zure ePosta', //cpg1.4
-  'to' => 'Nori', //cpg1.4
-  'administrator' => 'Admin/Mod', //cpg1.4
-  'subject' => 'Gaia', //cpg1.4
-  'comment_field_name' => '"%s"-k bidalitako oharpena', //cpg1.4
-  'reason' => 'Arrazoia', //cpg1.4
-  'message' => 'Mezua', //cpg1.4
-  'report_footer' => '%s-k bidalita %s IPtik %s-etan (sistemaren ordua)', //cpg1.4
-  'obscene' => 'likitsa', //cpg1.4
-  'offensive' => 'gusto txarrekoa', //cpg1.4
-  'misplaced' => 'off-topic', //cpg1.4
-  'missing' => 'galduta', //cpg1.4
-  'issue' => 'ekatsa/ezin ikusi', //cpg1.4
-  'other' => 'beste bat', //cpg1.4
-  'refers_to' => 'Honi egiten dio erreferentzia', //cpg1.4
-  'reasons_list_heading' => 'arrazoiak:', //cpg1.4
-  'no_reason_given' => 'arrazoirik ez', //cpg1.4
-  'go_comment' => 'Iruzkinetara joan', //cpg1.4
-  'view_comment' => 'Oharpen osoa ikusi', //cpg1.4
-  'type_file' => 'fitxategia', //cpg1.4
-  'type_comment' => 'iruzkina', //cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File editpics.php
-// ------------------------------------------------------------------------- //
-if (defined('EDITPICS_PHP')) $lang_editpics_php = array(
-        'pic_info' => 'Informazioa',
-        'album' => 'Bilduma',
-        'title' => 'Izenburua',
-        'filename' => 'Fitxategi izena', //cpg1.4
-        'desc' => 'Deskribapena',
-        'keywords' => 'Hitz gakoak',
-        'new_keyword' => 'Hitz gako berri', //cpg1.4
-        'new_keywords' => 'Topatutako hitz gako berriak', //cpg1.4
-        'existing_keyword' => 'Hitz gakoak osotara', //cpg1.4
-        'pic_info_str' => '%sx%s - %sKB - %s aldiz ikusia - %s botu',
-        'approve' => 'Fitxategia onartu',
-        'postpone_app' => 'Beranduago onartu',
-        'del_pic' => 'Fitxategia ezabatu',
-        'del_all' => 'Ezabatu fitxategi GUZTIAK', //cpg1.4
-        'read_exif' => 'EXIF datuak berriro irakurri', //cpg1.3.0
-        'reset_view_count' => 'Ikustaldien kontadorea hutsean jarri',
-        'reset_all_view_count' => 'Kontadore GUZTIAK berrezarri', //cpg1.4
-        'reset_votes' => 'Botuak hutsean jarri',
-        'reset_all_votes' => 'Botu GUZTIAK berrezarri', //cpg1.4
-        'del_comm' => 'Iruzkinak ezabatu',
-        'del_all_comm' => 'Iruzkin GUZTIAK ezabatu', //cpg1.4
-        'upl_approval' => 'Igoerak onartu', //cpg1.4
-        'upl_approval' => 'Gehitutako fitxategiak onartu',
-        'edit_pics' => 'Irudiak editatu',
-        'see_next' => 'Hurrengo fitxategiak ikusi',
-        'see_prev' => 'Aurreko fitxategiak ikusi',
-        'n_pic' => '%s fitxategia(k)',
-        'n_of_pic_to_disp' => 'Zenbat fitxategi erakutsi',
-        'apply' => 'Aldaketak onartu',
-        'crop_title' => 'Coppermineren irudi editorea', //cpg1.3.0
-        'preview' => 'Aurrikusi', //cpg1.3.0
-        'save' => 'Irudia gorde', //cpg1.3.0
-        'save_thumb' =>'Minitura gorde', //cpg1.3.0        'gallery_icon' => 'Ezarri hau nire ikono', //cpg1.4
-        'sel_on_img' =>'Aukeraketa osoak irudi barruan egon behar du!', //js-alert //cpg1.3.0
-        'album_properties' =>'Bildumaren propietateak', //cpg1.4
-        'parent_category' =>'Kategoria nagusia', //cpg1.4
-        'thumbnail_view' =>'Miniaturak ikusi', //cpg1.4
-        'select_unselect' =>'dena aukeratu/ezaukeratuselect/unselect all', //cpg1.4
-        'file_exists' => "'%s' fitxategi dago.", //cpg1.4
-        'rename_failed' => "'%s' fitxategia '%s' berrizendatzean akatsa.", //cpg1.4
-        'src_file_missing' => "'%s' jatorrizko fitxategia ez dago.", // cpg 1.4
-        'mime_conv' => "'%s' fitxategia '%s' ezin dut bihurtu",//cpg1.4
-        'forb_ext' => 'Debekatutako fitxategi luzapena.',//cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File faq.php //cpg1.3.0
-// ------------------------------------------------------------------------- //
-if (defined('FAQ_PHP')) $lang_faq_php = array(
-  'faq' => 'Galdera arruntak', //cpg1.3.0
-  'toc' => 'Edukinen aurkibidea', //cpg1.3.0
-  'question' => 'Galdera: ', //cpg1.3.0
-  'answer' => 'Erantzuna: ', //cpg1.3.0
-);
-
-if (defined('FAQ_PHP')) $lang_faq_data = array(
-  'Galdera orokorrak', //cpg1.3.0
-
-  array('Zergatik behar dut errejistratu?', 'Administradoreak errejistroa derrigortu dezake. Errejistroaren bitartez estatistikak, gogokoen zerrenda, argazkiak bozkatu, iruzkinak gehitu, etab .. bezalako gaitasunak erabil daitezke', 'allow_user_registration', '0'), //cpg1.3.0
-
-  array('Nola errejistra naiteke?', '&quot;Alta eman&quot;n sakatu eta derrigorrezko eremuak bete (nahi izanez gero aukerakoak ere bai).<br />ePosta bitartez egiten bada balidazioa mezu bat jasoko duzu zer egin behar duzun azaltzen (lotura batean klikatzen soilik). Kontua aktibatu arte ezin izango duzu sistema sartu.', 'allow_user_registration', '1'), //cpg1.3.0
-
-  array('Nola egiten da logina (sistema sartu)?', '&quot;Login&quot;en sakatu, idatzi zure erabiltzaile izena eta pasahitza, nahi izanez gero &quot;Gogorarazi&quot; markatu hurrengoan ez galdetzeko.<br /><b>ADI: aukera hau funzionatzea nahi baduzu zure nabegadorean cookieak gaituta izan behar dituzu eta jasoko duzun cookiea ez duzu ezabatu behar).</b>', 'offline', 'Zergatik ezin dut login egin?', 'Errejistratu zara?, aktibatu duzu kontua (bidali dizugun ePostan loturan klikatu). Hori eginda zure kontua gaituta egon beharko litzateke, hala ez bada sistemaren administradorearekin jarri harremanetan.', 'offline', 0), //cpg1.3.0
-
-  array('Zer gertatuko litzateke nire pasahitza ahaztuz gero?', 'Webguneak &quot;Nire pasahitza ahaztu dut&quot; ezaugarria gaituta ba du pasahitza bertan egin klik eta prozesua segitu, bestela administradorearekin jarri harremanetan berri bat eginteko.', 'offline', 0), //cpg1.3.0
-  array('Zer gertatuko da pasahitza ahazten badut?', 'If this site has a &quot;Forgot password&quot; link then use it. Other than that contact the site administrator for a new password.', 'offline', 0),
-
-  array('Zer gertatzen da nire ePosta aldatuz gero?', 'Ezer ez, login egin eta zure helbide berria idatzi &quot;Nire profila&quot; atalean.', 'offline', 0),
-
-  array('Zelan gorde dezaket irudi bat &quot;Nire gogokoak&quot; atalean?', 'Irudian egin klik eta gero &quot;fitxategiari buruzko infoa erakutsi&quot; ikonoan (<img src="images/info.gif" width="16" height="16" border="0" alt="Fitxategiari buruzko infoa" />); joan informazio hori agertu den lekura eta &quot;Gogokoetan gehitu&quot;n sakatu.<br />Administradoreak &quot;Fitxategiari buruzko infoa erakutsi&quot; defektuz gaitu dezake.<br />ADI!: cookieak gaituta izan behar dituzu eta gune honetako cookiea ez da ezabatu behar.', 'offline', 0), //cpg1.3.0
-
-  array('Zelan balora dezaket argazki bat?', 'Irudiaren miniaturan egin klik, bere azpikaldean begiratu eta aukeratu puntuaketa.', 'offline', 0), //cpg1.3.0
-
-  array('Zelan gehitu diezaioket iruzkin bat argazki bati?', 'Irudiaren miniaturan egin klik, bere azpikaldean begiratu. Bertan idatz dezakezu zure iruzkina.', 'offline', 0), //cpg1.3.0
-
-  array('How do I upload a file?', 'Go to &quot;Upload&quot;and select the album that you want to upload to. Click &quot;Browse,&quot; find the file to upload, and click &quot;open.&quot; Add a title and description if you want. Click &quot;Submit&quot;.<br /><br />Alternatively, for those users using <b>Windows XP</b>, you can upload multiple files directly to your own private albums using the XP Publishing wizard.<br />For instructions on how, and to get the required registry file, click <a href="xp_publish.php">here.</a>', 'allow_private_albums', 1), //cpg1.4
-
-  array('Zelan igo dezaket irudi bat?', '&quot;Fitxategia gehitu&quot;n egin klik eta aukeratu zein bildumari gehituko diozun, &quot;Arakatu&quot;n sakatu eta aukeratu igo nahi duzun irudia, &quot;Ados&quot; sakatu (nahi izanez gero izenburua eta deskripzioa ere jarri ahal duzu), amaitzeko &quot;Fitxategi berria gehitu&quot;n egin klik', 'allow_private_albums', 0), //cpg1.3.0
-
-  array('Non jar dezaket irudia?', '&quot;Nire bilduma&quot;ko bilduma batean irudiak gehitu ditzakezu. Gerta daiteke kategoria nagusiko bilduma bat baino gehiagotak administradoreak ezaugarri hau ezgaitzea.', 'allow_private_albums', 0), //cpg1.3.0
-
-  array('Zein tamaina eta irudi mota gehitu igo dezaket?', 'Motak (jpg,gif,..etc.) eta tamainak administradoreak erabakitzen ditu.', 'offline', 0), //cpg1.3.0
-
-  array('Zer da &quot;Nire bilduma&quot;?', '&quot;Nire bilduma&quot; bilduma pertsonala da, erabiltzaileak konfiguratu eta fitxategiak gehitu ahal ditu.', 'allow_private_albums', 0), //cpg1.3.0
-
-  array('Zelan sortu, ezabatu edo berrizendatu dezaken bilduma bat &quot;Nire bilduma&quot;n?', 'Debes entrar en &quot;Modo administrador&quot;<br />&quot;Bildumak sortu/ordenatu&quot;n egin klik eta gero &quot;Birria&quot;n. &quot;Bilduma berria&quot; kendu eta nahi duzun izena jarri.<br />Zure edozein bildumari izena alda diezaiokezu.<br />&quot;Aldaketak aplikatu&quot;n sakatu amaitzeko.', 'allow_private_albums', 0), //cpg1.3.0
-
-  array('Nola kudea ditzaket nire bildumak?', '&quot;Admin modua&quot;sartu.<br />&quot;Nire bildumak eraldatun&quot;n egin klik.&quot;Bilduma eraldatu&quot; barran aukeratu aldatu nahi duzun bilduma.<br />Hemen kudea dezakezu: izana, deskribapena, miniatura, nork ikusi eta komenta dezakeen, ... .<br />Sakatu &quot;Bilduma eraldatu&quot; aldaketak gordetzeko.', 'allow_private_albums', 0), //cpg1.3.0
-
-  array('Zelan ikus ditzaket beste erabiltzaileen bildumak?', '&quot;Bildumen zerrenda&quot;ra joan eta &quot;Erabiltzaileen bildumak&quot; aukeratu.', 'allow_private_albums', 0), //cpg1.3.0
-
-  array('Zer dira cookieak?', 'Cookieak zerbitzariak nebegagoreei bidaltzen dizkien testu fitxategi txikiak dira.<br />Normalean horien bitartez zure ezarpenak gogoratu ahal ditu zerbitzariak (beste erabilpen batzuk ere izan ditzakete).', 'offline', 0), //cpg1.3.0
-
-  array('Non lor dezaket programa hau?', 'Coppermine galeria multimedia librea da, GNU GPL lizentziapean argitaratuta. Ezaugarriz beteta eta plataforma eta sistema anitza. Gehiago jakiteko eta programa eskuratzeko <a href="http://coppermine-gallery.net/">Coppermineren webgunea</a> bisita ezazu.', 'offline', 0), //cpg1.3.0
-
-
-
-  'Copperminen zehar nabigatzen', //cpg1.3.0
-
-  array('Zer da &quot;Bilduma zerrenda&quot;?', 'Hemen erabiltzaileek bilduma guztiak ikus ditzakete (baita kategorien zerrenda). Miniaturak kategoriekiko lotura zuzenak izan daitezke.', 'offline', 0), //cpg1.3.0
-
-  array('Zer da &quot;Nire bilduma&quot;?', 'Ezaugarri honen bitartez erabiltzaileak bere bilduma propioa sor dezake eta bertan fitxategiak gehitu, ezabatu edo eraldatu.', 'allow_private_albums', 0), //cpg1.3.0
-
-  array('Zertan desberdintzen dira &quot;Admin modua&quot; eta &quot;Erabiltzaile modua&quot;?', 'Admin moduan moduan erabiltzaileak bere bilduma eralda dezake (administradoreak baimenduz gero gauza gehiago).', 'allow_private_albums', 0), //cpg1.3.0
-
-  array('Zer da &quot;Fitxategia gehitu&quot;?', 'Ezaugarri honen bitartez erabiltzaileak irudiak gehitu ditzakete (administradoreak zehaztutako tamaina eta moten arabera) haiek edota administradoreak aukeratutako biduma batean.', 'allow_private_albums', 0), //cpg1.3.0
-
-  array('Zer da &quot;Azken fitxategiak&quot;?', 'Bildumetan gehitutako azken fitxategi / irudiak erakusten ditu.', 'offline', 0), //cpg1.3.0
-
-  array('Zer da &quot;Azken iruzkinak&quot;?', 'Erabiltzaileek gehitu dituzten azken iruzkinak erakusten du (komentatutako irudiak ere agertzen dira).', 'offline', 0), //cpg1.3.0
-
-  array('Zer da &quot;Ikusienak&quot;?', 'Erabiltzaileek gehien ikusi dituzten argazkiak erakusten ditu (errejistratuak eta bisitariak).', 'offline', 0), //cpg1.3.0
-
-  array('Zer da &quot;Estimatuenak&quot;?', 'Erabiltzaileek gehien bozkatu dituzten (eta botuen media) argazkiak erakusten ditu, adibidez: : bost erabiltzailek esan dute <img src="images/rating3.gif" width="65" height="14" border="0" alt="" />: irudiak honako bataz besteko puntuazioa izango du <img src="images/rating3.gif" width="65" height="14" border="0" alt="" /> ; 5 erabiltzailek 1etik 5era puntuatu badute (1,2,3,4,5) bataz bestekoa izango da: <img src="images/rating3.gif" width="65" height="14" border="0" alt="" /> .)<br />Puntuaketak <img src="images/rating5.gif" width="65" height="14" border="0" alt="onena" />etik (onena) <img src="images/rating0.gif" width="65" height="14" border="0" alt="txarrena" /> arte (txarrena).', 'offline', 0), //cpg1.3.0
-
-  array('Zer da &quot;Nire gogokoak&quot;?', 'Ezaugarri honek erabiltzaileari gogoko duen irudi bat cookiean gordetzea ahalbidetzen dio.', 'offline', 0), //cpg1.3.0
-
-);
-
-// ------------------------------------------------------------------------- //
-// File forgot_passwd.php //cpg1.3.0
-// ------------------------------------------------------------------------- //
-
-if (defined('FORGOT_PASSWD_PHP')) $lang_forgot_passwd_php = array(
-        'forgot_passwd' => 'Pasahitza berreskuratu', //cpg1.3.0
-        'err_already_logged_in' => 'Dagoeneko izena eman duzu!', //cpg1.3.0
-        'enter_email' => 'Idatzi zure ePosta', //cpg1.4
-        'submit' => 'pasahitza bilatu', //cpg1.3.0
-        'failed_sending_email' => 'Ezin izan dizut pasahitza daukan ePosta bidali!', //cpg1.3.0
-        'email_sent' => '%s ra bidali dut ePosta zure erabiltzaile izena eta pasahitzarekin', //cpg1.3.0
-        'err_unk_user' => 'Idatzi duzun erabiltzailea ez dago!', //cpg1.3.0
-        'passwd_reminder_subject' => '%s - Pasahitza berreskuratzea', //cpg1.3.0
-        'passwd_reminder_body' => 'Erabiltzaile honen pasahitza berreskuratzea eskatu duzu:
-        Erabiltzailea: %s
-        Pasahitza: %s
-        %s sakatu onartzeko.', //cpg1.3.0
-);
-
-// ------------------------------------------------------------------------- //
-// File groupmgr.php
-// ------------------------------------------------------------------------- //
-
-if (defined('GROUPMGR_PHP')) $lang_groupmgr_php = array(
-        'group_name' => 'Taldea',
-        'permissions' => 'Baimenak', //cpg1.4
-        'public_albums' => 'Bilduma publikoetara igoera', //cpg1.4
-        'personal_gallery' => 'Bilduma pertsonaletara', //cpg1.4
-        'upload_method' => 'Igotzeko era', //cpg1.4
-        'disk_quota' => 'Disko kuota', //cpg1.4
-        'rating' => 'Bozketa', //cpg1.4
-        'ecards' => 'eCardak', //cpg1.4
-        'comments' => 'Iruzkinak', //cpg1.4
-        'allowed' => 'Baimenduta', //cpg1.4
-        'approval' => 'Onarpena', //cpg1.4
-        'boxes_number' => 'Eremu kopurua', //cpg1.4
-        'variable' => 'Aldagarria', //cpg1.4
-        'fixed' => 'Finkoa', //cpg1.4
-        'apply' => 'Ados',
-        'create_new_group' => 'Talde berria sortu',
-        'del_groups' => 'Ezabatu aukeratutako taldea(k)',
-        'confirm_del' => 'Adi!!, talde bat ezabatzen duzunean bertako erabiltzaileak  \'Registered\' taldera pasatzen ditut!\n\nJarraitu nahi duzu?', //js-alert
-        'title' => 'Taldeak kudeatu',
-        'num_file_upload' => 'Fitxategiak igotzeko eremuak', //cpg1.4
-        'num_URI_upload' => 'URIak igotzeko eremuak', //cpg1.4
-        'reset_to_default' => '(%s) Jatorrizko izena jarri berriro- gomendatua!', //cpg1.4
-        'error_group_empty' => 'Taldeen taula hutsik !<br /><br />Defektuzko taldeak sortu ditut, freskatu orria mesedez', //cpg1.4
-        'explain_greyed_out_title' => 'Zergatik dago zutabe hau gristuta?', //cpg1.4
-        'explain_guests_greyed_out_text' => 'Ezin duzu talde honen propietateak aldatu &quot; onartu logeatu gabeko erabiltzaileak (bisiatriak edo anonimoak) sartzea&quot; aukera gaitu duzulako konfigurazio orrian. Bisitari gustiak (%s-ren taldekoak) logeatu baino ezin dute egin; horrela taldeentzako ezarpenak ez zaizkie aplikatzen.', //cpg1.4
-        'explain_banned_greyed_out_text' => 'Ezin duzu %s taldearen propietateak aldatu.', //cpg1.4
-        'group_assigned_album' => 'esleitutako bilduma(k)', //cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File index.php
-// ------------------------------------------------------------------------- //
-
-if (defined('INDEX_PHP')){
-$lang_index_php = array(
-        'welcome' => 'Ongi etorri!'
-);
-
-$lang_album_admin_menu = array(
-        'confirm_delete' => 'Seguru bilduma hau ezabatu nahi duzula? \\nIrudi eta iruzkin guztiak ezabatuko ditut.',
-        'delete' => 'Ezabatu',
-        'modify' => 'Eraldatu',
-        'edit_pics' => 'Irudiak editatu',
-);
-
-$lang_list_categories = array(
-        'home' => 'Hasiera',
-        'stat1' => '<b>[pictures]</b> fitxategi <b>[albums]</b> bildumetan eta <b>[cat]</b> kategoria <b>[comments]</b> iruzkinekin, <b>[views]</b> aldiz bisitatua(k)',
-        'stat2' => '<b>[pictures]</b> fitxategi <b>[albums]</b> bildumatan, <b>[views]</b> aldiz bisitatua(k)',
-        'xx_s_gallery' => '%s (r)en bilduma',
-        'stat3' => '<b>[pictures]</b> fitxategi <b>[albums]</b> bildumatan <b>[comments]</b> iruzkinekin, <b>[views]</b> aldiz bisitatua(k)'
-);
-
-$lang_list_users = array(
-        'user_list' => 'Erabiltzaileen zerrenda',
-        'no_user_gal' => 'Ez dago bildumak izateko eskubidea duen erabiltzailerik',
-        'n_albums' => '%s bilduma',
-        'n_pics' => '%s fitxategi'
-);
-
-$lang_list_albums = array(
-        'n_pictures' => '%s fitxategiak',
-        'last_added' => ', %s-n gehitutako azkenak',
-        'n_link_pictures' => '%s linkatutako fitxategiak', //cpg1.4
-        'total_pictures' => '%s fitxategi osotara', //cpg1.4
-);
-
-}
-
-// ------------------------------------------------------------------------- //
-// File keywordmgr.php //cpg1.4
-// ------------------------------------------------------------------------- //
-
-if (defined('KEYWORDMGR_PHP')) $lang_keywordmgr_php = array(
-        'title' => 'Hitz gakoak kudeatu', //cpg1.4
-        'edit' => 'editatu', //cpg1.4
-        'delete' => 'ezabatu', //cpg1.4
-        'search' => 'bilatu', //cpg1.4
-        'keyword_test_search' => '%s bilatu leiho berrian', //cpg1.4
-        'keyword_del' => '%s hitz gakoa ezabatu', //cpg1.4
-        'confirm_delete' => 'Seguru %s hitz gakoa ezabatu nahi duzula bilduma nagusitik?', //cpg1.4  // js-alert
-        'change_keyword' => 'hitz gakoa aldatu', //cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File login.php
-// ------------------------------------------------------------------------- //
-
-if (defined('LOGIN_PHP')) $lang_login_php = array(
-        'login' => 'Login',
-        'enter_login_pswd' => 'Erabiltzailea eta pasahitza idatzi',
-        'username' => 'Erabiltzaile izena',
-        'password' => 'Pasahitza',
-        'remember_me' => 'Gogora nazazu',
-        'welcome' => 'Ongi etorri %s ...',
-        'err_login' => '*** Login ez zuzena. Saiatu berriro ***',
-        'err_already_logged_in' => 'Dagoeneko izena eman duzu!',
-        'forgot_password_link' => 'Nire pasahitza ahaztu dut', //cpg1.3.0
-        'cookie_warning' => 'ADI, zure nabegadoreak ez ditu scrptaren cookieak onartzen!', //cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File logout.php
-// ------------------------------------------------------------------------- //
-
-if (defined('LOGOUT_PHP')) $lang_logout_php = array(
-        'logout' => 'Irten',
-        'bye' => 'Hurrenerarte, %s ...',
-        'err_not_loged_in' => 'Ez duzu izena eman!',
-);
-
-
-// ------------------------------------------------------------------------- //
-// File minibrowser.php  //cpg1.4
-// ------------------------------------------------------------------------- //
-
-if (defined('MINIBROWSER_PHP')) $lang_minibrowser_php = array(
-        'close' => 'itxi', //cpg1.4
-        'submit' => 'Ados', //cpg1.4
-        'up' => 'gora maila bat', //cpg1.4
-        'current_path' => 'oraingo PATHa', //cpg1.4
-        'select_directory' => 'direktorio bat aukeratu', //cpg1.4
-        'click_to_close' => 'irudiak klik egin leiho hau ixteko',
-);
-
-// ------------------------------------------------------------------------- //
-// File modifyalb.php
-// ------------------------------------------------------------------------- //
-
-if (defined('MODIFYALB_PHP')) $lang_modifyalb_php = array(
-        'upd_alb_n' => '%s bilduma eraldatu',
-        'general_settings' => 'Konfigurazio orokorra',
-        'alb_title' => 'Bildumaren izenburua',
-        'alb_cat' => 'Bildumaren kategoria',
-        'alb_desc' => 'Bildumaren deskripzioa',
-        'alb_keyword' => 'Bildumaren hitz gakoa', //cpg1.4
-        'alb_thumb' => 'Bildumaren miniatura',
-        'alb_perm' => 'Bilduma honek baimenak',
-        'can_view' => 'Hauek ikus dezakete bilduma hau',
-        'can_upload' => 'Bisitariek irudiak gehitu ditzakete',
-        'can_post_comments' => 'Bisitariek iruzkinak gehitu ditzakete',
-        'can_rate' => 'Bisitariek argazkiak baloratu ahal dituzte',
-        'user_gal' => 'Erabiltzailearen bilduma',
-        'no_cat' => '* Kategoriarik gabekoa *',
-        'alb_empty' => 'Bilduma hutsik dago',
-        'last_uploaded' => 'Gehitutako azken irudia',
-        'public_alb' => 'Denek (bilduma publikoa)',
-        'me_only' => 'Nik soilik',
-        'owner_only' => 'Bildumaren jabe soilik (%s)',
-        'groupp_only' => '\'%s\' taldearen partaideak',
-        'err_no_alb_to_modify' => 'Ez dago zuk eraldatu ahal duzun bildumarik.',
-        'update' => 'Bilduma eraldatu',
-        'reset_album' => 'Bilduma berrabiarazi', //cpg1.4
-        'reset_views' => 'Ezarri kontadorea &quot;0&quot;n %s-n', //cpg1.4
-        'reset_rating' => '%s-ko bozketa guztiak berrabiarazi', //cpg1.4
-        'delete_comments' => '%s-n egindako iruzkin guztiak ezabatu', //cpg1.4
-        'delete_files' => '%s-n BEHIN BETIKO ezabatu fitxategi guztiak', //cpg1.4
-        'views' => 'ikusteak', //cpg1.4
-        'votes' => 'botuak', //cpg1.4
-        'comments' => 'iruzkinak', //cpg1.4
-        'files' => 'fitxategiak', //cpg1.4
-        'submit_reset' => 'Onartu', //cpg1.4
-        'reset_views_confirm' => 'seguru nago', //cpg1.4
-        'notice1' => '(*) %staldeen%s konfigurazioaren arabera', //cpg1.3.0 (do not translate %s!)
-        'alb_password' => 'Bildumaren pasahitza', //cpg1.4
-        'alb_password_hint' => 'Album password hint', //cpg1.4
-        'edit_files' =>'Fitxategiak editatu', //cpg1.4
-        'parent_category' =>'Kategoria nagusia', //cpg1.4
-        'thumbnail_view' =>'Miniaturak ikusi', //cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File phpinfo.php //cpg1.3.0
-// ------------------------------------------------------------------------- //
-
-if (defined('PHPINFO_PHP')) $lang_phpinfo_php = array(
-        'php_info' => 'PHP info', //cpg1.3.0
-        'explanation' => 'Hau da <a href="http://www.php.net/phpinfo">phpinfo()</a> PHP-funtzioak ematen duen irteera, Coperminek erakutsita (trimming the output at the right corner).', //cpg1.3.0
-        'no_link' => 'Besteei hau ikusten uztea arriskutsua izan daiteke, horregatik administradore bezala logeatuta zaudenean soilik ikus dezakezu orri hau. Ezin diezu besteei lotura hau bidali, sarrera debekatuta baitaukate.', //cpg1.3.0
-);
-
-// ------------------------------------------------------------------------- //
-// File picmgr.php //cpg1.4
-// ------------------------------------------------------------------------- //
-if (defined('PICMGR_PHP')) $lang_picmgr_php = array(
-        'pic_mgr' => 'Irudiak kudeatu', //cpg1.4
-        'select_album' => 'Bilduma aukeratu', //cpg1.4
-        'delete' => 'Ezabatu', //cpg1.4
-        'confirm_delete1' => 'Seguru irudi hau ezabatu nahi duzula?', //cpg1.4
-        'confirm_delete2' => '\nIrudia behin betiko ezabatuko dut.', //cpg1.4
-        'apply_modifs' => 'Aldaketak aplikatu', //cpg1.4
-        'confirm_modifs' => 'Aldaketak baieztatu', //cpg1.4
-        'pic_need_name' => 'Irudiek izena eduki behar dute !', //cpg1.4
-        'no_change' => 'Ez duzu aldaketarik egin !', //cpg1.4
-        'no_album' => '* Bildumarik ez *', //cpg1.4
-        'explanation_header' => 'The custom sort order you can specify on this page will only be taken into account if', //cpg1.4
-        'explanation1' => 'the admin has set the "Default sort order for files" in the config to "Position descending" or "Position ascending" (global setting for all users who haven\'t chosen another sort option individually)', //cpg1.4
-        'explanation2' => 'the user has chosen "Position descending" or "Position ascending" on the thumbail page (per user setting)', //cpg1.4
-);
-
-
-// ------------------------------------------------------------------------- //
-// File pluginmgr.php //cpg1.4
-// ------------------------------------------------------------------------- //
-
-if (defined('PLUGINMGR_PHP')){
-
-$lang_pluginmgr_php = array(
-        'confirm_uninstall' => 'Seguru plugin hau desinstalatu nahi duzula?', //cpg1.4
-        'confirm_delete' => 'Seguru plugin hau EZABATU nahi duzula?', //cpg1.4
-        'pmgr' => 'Plugin kudeaketa', //cpg1.4
-        'name' => 'Izena', //cpg1.4
-        'author' => 'Egilea', //cpg1.4
-        'desc' => 'Deskripzioa', //cpg1.4
-        'vers' => 'ber.', //cpg1.4
-        'i_plugins' => 'Instalatutako Pluginak', //cpg1.4
-        'n_plugins' => 'Instalatu gabeko pluginak', //cpg1.4
-        'none_installed' => 'Ez instalatua', //cpg1.4
-        'operation' => 'Operazioa', //cpg1.4
-        'not_plugin_package' => 'Igo duzun fitxategia ez da plugin paketea.', //cpg1.4
-        'copy_error' => 'Akats bat gertatu da paketea plugin direktorioan kopiatzean.', //cpg1.4
-        'upload' => 'Igo', //cpg1.4
-        'configure_plugin' => 'Plugina konfiguratu', //cpg1.4
-        'cleanup_plugin' => 'Plugina garbitu', //cpg1.4
-);
-}
-
-// ------------------------------------------------------------------------- //
-// File ratepic.php
-// ------------------------------------------------------------------------- //
-
-if (defined('RATEPIC_PHP')) $lang_rate_pic_php = array(
-        'already_rated' => 'Barkatu baina dagoeneko bozkatu duzu',
-        'rate_ok' => 'Zure botua zenbatu dut',
-        'forbidden' => 'Ezin dituzu zure irudiak bozkatu.', //cpg1.3.0
-);
-
-// ------------------------------------------------------------------------- //
-// File register.php & profile.php
-// ------------------------------------------------------------------------- //
-if (defined('REGISTER_PHP') || defined('PROFILE_PHP')) {
-$lang_register_disclamer = <<<EOT
-{SITE_NAME}ko administratzaileak edukin ez egokiak edo iraingarriak azkar ezabatzen saiatuko dira, hala ere ezinenkoa da bidaltzen den informazio guzti guztia ikuskatzea. Herregatik ulertu behar duzu webgune honetan plazaratutako iritzi guztiak egileen iritzia eta ikus puntua dela, ez webmaste edo administradoreena (beraiek idatitakoak izan ezik).<br />
-<br />
-Zin egiten duzu ez duzula inolako material iraingarria, arrazista, gorrotagarria edo ilegala argitaratuko eta, halaber, onartzen duzu { SITE_NAME }ko webmasterrak horrelakoa den edozen materialak webgunetik ezaba dezakeela. Onartzen duzu zuk idatzitako informazio guztia datu base batean biltegiratuko dela, informazio hau ez da inoiz beste kontuetarako erabiliko. Webmasterra eta administradorea ez dira datu basearen integritatearen erantzuleak.<br />
-<br />
-Webgune honek cookieak erabiltzen ditu. Hauen bitartez nabegazioa hobetzen dugu. ePosta zure profila eta pasahitza ziurtatzeko baino ez dugu erabiltzen.<br />
-<br />
-Ados bazaude 'Ados nago'n egin klik
-EOT;
-
-$lang_register_php = array(
-        'page_title' => 'Erabiltzaile berria',
-        'term_cond' => 'Baldintzak',
-        'i_agree' => 'Ados nago',
-        'submit' => 'Alta eskaera bidali',
-        'err_user_exists' => 'Aukeratu duzun erabiltzaile izena dagoeneko hartuta dago, beste bat aukeratu mesedez',
-        'err_password_mismatch' => 'Bi pasahitzak ez dira berdinak, saiatu berriro',
-        'err_uname_short' => 'Erabiltzaile izenak 2 karaktere izan behar du gutxienez',
-        'err_password_short' => 'Pasahitzak 2 karaktere izan behar du gutxienez',
-        'err_uname_pass_diff' => 'Erabiltzaile izenak eta pasahitzak desberdinak izan behar dute',
-        'err_invalid_email' => 'ePosta ez da balidoa',
-        'err_duplicate_email' => 'Beste erabiltzaile bat errejistratu da lehenago zuk idatzitako ePostarekin',
-        'enter_info' => 'Errejistratzeko informazioa idatzi',
-        'required_info' => 'Derrigorrezko informazioa',
-        'optional_info' => 'Aukerako informazioa',
-        'username' => 'Erabiltzaile izena',
-        'password' => 'Pasahitza',
-        'password_again' => 'Pasahitza (berriro)',
-        'email' => 'ePosta',
-        'location' => 'Bizilekua',
-        'interests' => 'Gustuak',
-        'website' => 'Web orria',
-        'occupation' => 'Lanbidea',
-        'error' => 'AKATSA',
-        'confirm_email_subject' => '%s - Altaren ziurtapena',
-        'information' => 'Informazioa',
-        'failed_sending_email' => 'Alta ziurtatzeko ePosta ezin izan dut bidali!',
-        'thank_you' => 'Mila esker alta emateagatik.<br /><br />Zuk idatzitako ePostara mezu bat bidali dut kontua aktibatzeko behar duzun informazio guztiarekin.',
-        'acct_created' => 'Zure kontu sortuta dago, orain sistema erabili ahal duzu zure erabiltzailea eta zure pasahitza idatziz',
-        'acct_active' => 'Zure kontua aktibo dago, orain sistema erabili ahal duzu zure erabiltzailea eta zure pasahitza idatziz',
-        'acct_already_act' => 'Zure kontua aktibatuta zegoen ya!',
-        'acct_act_failed' => 'Kontu hau ezin da aktibatu!',
-        'err_unk_user' => 'Aukeratuta erabiltzailea ez dago!',
-        'x_s_profile' => '%s ren profila',
-        'group' => 'Taldea',
-        'reg_date' => 'Alta data',
-        'disk_usage' => 'Diskoaren erabilpena',
-        'change_pass' => 'Pasahitza aldatu',
-        'current_pass' => 'Egungo pasahitza',
-        'new_pass' => 'Pasahitz berria',
-        'new_pass_again' => 'Pasahitz berria (berriro)',
-        'err_curr_pass' => 'Egungo pasahitza ez da zuzena',
-        'apply_modif' => 'Aldaketak gorde',
-        'change_pass' => 'Nire pasahitza aldatu',
-        'update_success' => 'Profila eguneratu dut',
-        'pass_chg_success' => 'Pasahitza aldatu dut',
-        'pass_chg_error' => 'Ez dut pasahitza aldatu',
-        'notify_admin_email_subject' => '%s - Errejistro jakinarazpena', //cpg1.3.0
-        'last_uploads' => 'Igotako azken fitxategiak.<br />klik azken igoerak ikusteko', //cpg1.4
-        'last_comments' => 'Azken iruzkinak.<br />klik azken iruzkinak ikusteko', //cpg1.4
-        'notify_admin_email_body' => 'Erabiltzaile berria errejistratu da zure bilduman "%s" izenpean', //cpg1.3.0
-        'pic_count' => 'Igotako fitxategiak', //cpg1.4
-        'notify_admin_request_email_subject' => '%s - alta eskaera', //cpg1.4
-        'thank_you_admin_activation' => 'Eskerrik asko.<br /><br />Administradoreari bidali diot zure alta eskaera. Onartuz gero ePosta bat jasoko duzu.', //cpg1.4
-        'acct_active_admin_activation' => 'Kontua gaituta dago eta ePosta bidali diot erabiltzaileari.', //cpg1.4
-        'notify_user_email_subject' => '%s - Alta oharpena', //cpg1.4
-);
-
-
-
-$lang_register_confirm_email = <<<EOT
-Mila esker {SITE_NAME}n errejistratzeagatik
-
-
-Zure erabiltzaile izena: "{USER_NAME}"
-
-
-
-
-Aktibaketa amaitzeko bahean agertzen den loturaren gainean egin klik edo kopiatu zure nabegadoaren helbide barran.
-
-{ACT_LINK}
-
-Ondo ibili.
-
-
-
-{SITE_NAME}ko administradoreak
-EOT;
-
-$lang_register_approve_email = <<<EOT
-"{USER_NAME}" izenarekin norbaitek alta eman du zure bilduman.
-
-Kontua gaitu nahi baduzu beheko loturan egin klik edo kopiatu helbidea zure nabegadorearen helbide barran.
-
-<a href="{ACT_LINK}">{ACT_LINK}</a>
-EOT;
-
-$lang_register_activated_email = <<<EOT
-Zure kontua onartuta eta aktibatuta dago.
-
-Orain helbide honetan logeatu ahal duzu: <a href="{SITE_LINK}">{SITE_LINK}</a> "{USER_NAME}" erabiltzaile izenarekin
-
-
-Ondo ibili,
-
-{SITE_NAME} administratzailea.
-EOT;
-}
-
-// ------------------------------------------------------------------------- //
-// File reviewcom.php
-// ------------------------------------------------------------------------- //
-if (defined('REVIEWCOM_PHP')) $lang_reviewcom_php = array(
-        'title' => 'Iruzkinak ikuskatu',
-        'no_comment' => 'Ez dago erakusteko iruzkinik',
-        'n_comm_del' => '%s iruzkin ezabatuta',
-        'n_comm_disp' => 'Zenbat iruzkin erakutsi',
-        'see_prev' => 'Aurrekoa ikusi',
-        'see_next' => 'Hurrengoa ikusi',
-        'del_comm' => 'Aukeratutako iruzkinak ezabatu',
-        'user_name' => 'Izena', //cpg1.4
-        'date' => 'Data', //cpg1.4
-        'comment' => 'Iruzkina', //cpg1.4
-        'file' => 'Fitxategia', //cpg1.4
-        'name_a' => 'Izenaren arabera gorako ordenatu', //cpg1.4
-        'name_d' => 'Izenaren arabera beherako ordenatu', //cpg1.4
-        'date_a' => 'Data gorako', //cpg1.4
-        'date_d' => 'Data beherako', //cpg1.4
-        'comment_a' => 'Iruzkinen arabera gorako', //cpg1.4
-        'comment_d' => 'Iruzkinen arabera beherako', //cpg1.4
-        'file_a' => 'Fitxategiak gorako', //cpg1.4
-        'file_d' => 'Fitxategiak beherako', //cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File search.php - OK
-// ------------------------------------------------------------------------- //
-if (defined('SEARCH_PHP')){
-$lang_search_php = array(
-        'title' => 'Bilatu fitxaregia', //cpg1.4
-        'submit_search' => 'bilatu', //cpg1.4
-        'keyword_list_title' => 'Hitz gakoen zerrenda', //cpg1.4
-        'keyword_msg' => 'Beheko zerrendan ez daude elemnetu guztiak, bertan ez daude irudien izenburuak edo deskribapenak. Saiatu testu bilatzailearekin.',  //cpg1.4
-        'edit_keywords' => 'Hitz gakoak editatu.', //cpg1.4
-        'search in' => 'Hemen bilatu:', //cpg1.4
-        'ip_address' => 'IP helbideak', //cpg1.4
-        'fields' => 'Hemen bilatzen', //cpg1.4
-        'age' => 'Berritasuna', //cpg1.4
-        'newer_than' => 'Hau baino berriagoa', //cpg1.4
-        'older_than' => 'Hau baino zaharragoa', //cpg1.4
-        'days' => 'egunak', //cpg1.4
-        'all_words' => 'Hitz guztiak (AND)', //cpg1.4
-        'any_words' => 'Edozein hitz (OR)', //cpg1.4
-);
-
-$lang_adv_opts = array(
-        'title' => 'Izenburua', //cpg1.4
-        'caption' => 'Caption', //cpg1.4
-        'keywords' => 'Hitz gakoak', //cpg1.4
-        'owner_name' => 'Jabea', //cpg1.4
-        'filename' => 'Fitxategi izena', //cpg1.4
-);
-
-}
-
-// ------------------------------------------------------------------------- //
-// File searchnew.php
-// ------------------------------------------------------------------------- //
-if (defined('SEARCHNEW_PHP')) $lang_search_new_php = array(
-        'page_title' => 'Fitxategi berriak bilatu',
-        'select_dir' => 'Aukeratu direktoria',
-        'select_dir_msg' => 'Funtzio honekin batch eran gehitu ahal dituzu lehenago FTP bitartez edo igotako fitxategia.<br /><br />Aukeratu fitxategiak jarri dituzun direktorioa.', //cpg1.4
-        'select_dir_msg' => 'Funtzio honen bitartez FTP bidez igotako fitxategi guztiak automatikoki gehituko dira.<br /><br />Aukeratu fitxategiak utzi dituzun direktorioa',
-        'no_pic_to_add' => 'Ez dago fitxategirik gehitzeko',
-        'need_one_album' => 'Funtzio hau erabiltzeko bilduma bat behar duzu gutxienez',
-        'warning' => 'Adi',
-        'change_perm' => 'Scriptak ezin izan du direktorioan idatzi, bere baimenak aldatu behar dituzu (755 edo 777) berriro saiatu baino lehen!',
-        'target_album' => '<b>&quot;</b>%s<b>&quot; direktorioko fitxategiak </b>%s bilduman jarri',
-        'folder' => 'Karpeta',
-        'image' => 'Irudia',
-        'album' => 'Bilduma',
-        'result' => 'Emaitza',
-        'dir_ro' => 'Ezin da idatzi. ',
-        'dir_cant_read' => 'Ezin da irakurri. ',
-        'insert' => 'Bilduman fitxategiak gehitzen',
-        'list_new_pic' => 'Fitxategi berrien zerrenda',
-        'insert_selected' => 'Aukeratutako fitxategiak gehitu',
-        'no_pic_found' => 'Ez dut fitxategi berririk topatu',
-        'be_patient' => 'Lasai, scriptak denbora behar du fitxategi guztiak gehitzeko',
-        'no_album' => 'ez duzu bildumarik aukeratu',  //cpg1.3.0
-        'result_icon' => 'klikatu oharrak ikusteko edo freskatzeko',  //cpg1.4
-        'notes' =>  '<ul>'.
-                                '<li><b>OK</b> : fitxategia ondo gehitu duela esan nahi du'.
-                                '<li><b>DP</b> : fitxategia duplikatuta dagoela esan nahi du (dagoeneko datu basean dagoela)'.
-                                '<li><b>PB</b> : fitxategia ezin izan duela gehitu esan nahi du (ziurtatu, mesedez, konfigurazioa eta direktoriaren baimenak)'.
-                                '<li><b>NA</b> : fitxategiak gehitzeko bilduma ez duzula aukera esan nahi du, \'<a href="javascript:history.back(1)">Atzera</a>\' sakatu eta bilduma bat aukeratu. Bat izan ezean lehenago <a href="albmgr.php">bat sortu</a></li>'.
-                                '<li>OK, DP, PB ikonoak agertu ezean, sakatu kargatu gabeko irudiaren ikonoan PHPk bueltatu duen akatsa ikusteko'.
-                                '<li>Nabegadoreak timeout bueltatzen badu, eguneratzeko ikonoak sakatu'.
-                                '</ul>',
-        'select_album' => 'bilduma aukeratu', //cpg1.3.0
-        'check_all' => 'Guztiak markatu', //cpg1.3.0
-        'uncheck_all' => 'Guztiak desmarkatu', //cpg1.3.0
-        'no_folders' => 'Dagoeneko ez dago direktoriorik "albums" direktorioan. Surtu direktorio bat, gutxienez, eta zure irudiak bertara. Ez duzu irudirik "userpics" eta "edit" igo behar, beste lan batzuetarako baitaude erreserbatuak.', //cpg1.4
-        'albums_no_category' => 'Kategoriarik gabeko bildumak', //cpg1.4 // album pulldown mod, added by frogfoot
-        'personal_albums' => '* Erabiltzaileen bildumak', //cpg1.4 // album pulldown mod, added by frogfoot
-        'browse_batch_add' => 'Browsable interface (gomendatua)', //cpg1.4
-        'edit_pics' => 'Fitxategiak editatu', //cpg1.4
-        'edit_properties' => 'Bildumaren propietateak', //cpg1.4
-        'view_thumbs' => 'Miniaturak ikusi', //cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File stat_details.php //cpg1.4
-// ------------------------------------------------------------------------- //
-
-if (defined('STAT_DETAILS_PHP')) $lang_stat_details_php = array(
-        'show_hide' => 'izkutatu/erakutsi zutabe hau', //cpg1.4
-        'vote' => 'Botuak', //cpg1.4
-        'hits' => 'Hitak', //cpg1.4
-        'stats' => 'Botuen estatistikak', //cpg1.4
-        'sdate' => 'Data', //cpg1.4
-        'rating' => 'Bozketa', //cpg1.4
-        'search_phrase' => 'Testu bilaketa', //cpg1.4
-        'referer' => 'Referer', //cpg1.4
-        'browser' => 'Nabegadorea', //cpg1.4
-        'os' => 'Sistema eragilea', //cpg1.4
-        'ip' => 'IP', //cpg1.4
-        'sort_by_xxx' => 'Sort by %s', //cpg1.4
-        'ascending' => 'gorako', //cpg1.4
-        'descending' => 'beherako', //cpg1.4
-        'internal' => 'int', //cpg1.4
-        'close' => 'itxi', //cpg1.4
-        'hide_internal_referers' => 'izkutatu barruko erreferentziak', //cpg1.4
-        'date_display' => 'Data erakutsi', //cpg1.4
-        'submit' => 'bidali / freskatu', //cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File thumbnails.php
-// ------------------------------------------------------------------------- //
-// Void
-
-// ------------------------------------------------------------------------- //
-// File upload.php
-// ------------------------------------------------------------------------- //
-if (defined('UPLOAD_PHP')) $lang_upload_php = array(
-        'title' => 'Fitxategi berria',
-        'custom_title' => 'Formularioak personalizatzeko', //cpg1.3.0
-        'cust_instr_1' => 'Igotzeko gelaxken kopurua zehaztu ahal duzu. Hala ere, ezin duzu behean zehaztutako mugak gainditu.', //cpg1.3.0
-        'cust_instr_2' => 'Box Number Requests', //cpg1.3.0
-        'cust_instr_3' => 'Fitxategiak igoetzeko gelaxka: %s', //cpg1.3.0
-        'cust_instr_4' => 'URI/URLak igoetzeko gelaxka: %s', //cpg1.3.0
-        'cust_instr_5' => 'URI/URLak igoetzeko gelaxka:', //cpg1.3.0
-        'cust_instr_6' => 'Fitxategiak igotzeko gelaxkak:', //cpg1.3.0
-        'cust_instr_7' => 'Idatzi zenbat mota baikoitzeko gelaxka nahi duzun oraingo honetan.  Gero \'Jarraitu\' sakatu. ', //cpg1.3.0
-        'reg_instr_1' => 'Ekintza ezbalidoa formularioa sortzeko.', //cpg1.3.0
-        'reg_instr_2' => 'Orain fitxategiak igo ahal dituzu beheko igoera gelaxkak erabilita. Fitxategiak ezin dira  %s KB baino handiagoak. ZIP fitxategiak \'Fitxategi igotzea\' eta \'URI/URL igotzea\' ataletan konprimituta iraungo dute.', //cpg1.3.0
-        'reg_instr_3' => 'Konprimitutako fitxategiak deskonprimituak izatea nahi baduzu \'Deskonprimitu ZIP igoerak\' atalean dauden igoera gelaxkak erabili behar dituzu.', //cpg1.3.0
-        'reg_instr_4' => 'URI/URL igera atala erabiltzen duzunean era egokian idatzi fitxategiekiko bideak. Horrela: http://www.niregunea.org/irudiak/adibidea.jpg', //cpg1.3.0
-        'reg_instr_5' => 'Formularioa osotu ostean \'Jarraitu\'n sakatu.', //cpg1.3.0
-        'reg_instr_6' => 'Deskonprimitu ZIP igoerak:', //cpg1.3.0
-        'reg_instr_7' => 'Fitxategi igoerak:', //cpg1.3.0
-        'reg_instr_8' => 'URI/URL igoerak:', //cpg1.3.0
-        'error_report' => 'Akatsak', //cpg1.3.0
-        'error_instr' => 'Igoera hauekin akatsak gertatu dira:', //cpg1.3.0
-        'file_name_url' => 'Fitxategia/URLa', //cpg1.3.0
-        'error_message' => 'Akats mezua', //cpg1.3.0
-        'no_post' => 'Ezin POSTen bitartez igo.', //cpg1.3.0
-        'forb_ext' => 'Fitxategiaren luzapena debekatuta.', //cpg1.3.0
-        'exc_php_ini' => 'php.ini-n zehaztutako gehienezko tamaina gaindituta.', //cpg1.3.0
-        'exc_file_size' => 'CPG-ek onartutako gehienezko tamaina gainditua.', //cpg1.3.0
-        'partial_upload' => 'Only a partial upload.', //cpg1.3.0
-        'no_upload' => 'Igoera ez da burutu.', //cpg1.3.0
-        'unknown_code' => 'PHP igoera akats ezezaguna.', //cpg1.3.0
-        'no_temp_name' => 'Igoerarik ez - behin behineko izenik ez.', //cpg1.3.0
-        'no_file_size' => 'Daturik gabea/apurtuta', //cpg1.3.0
-        'impossible' => 'Ezin mugitu.', //cpg1.3.0
-        'not_image' => 'Ez da irudia/apurtuta', //cpg1.3.0
-        'not_GD' => 'Ez da GD luzapena.', //cpg1.3.0
-        'pixel_allowance' => 'Irudiaren tamainak onartutakoa gainditzen du.', //cpg1.4
-        'incorrect_prefix' => 'URI/URL aurrizkia ez zuzena', //cpg1.3.0
-        'could_not_open_URI' => 'Ezin izan dut URIa zabaldu.', //cpg1.3.0
-        'unsafe_URI' => 'Zuzentasuna ezin zehaztu.', //cpg1.3.0
-        'meta_data_failure' => 'Meta datuen akatsa', //cpg1.3.0
-        'http_401' => '401 Baimen gabekoa', //cpg1.3.0
-        'http_402' => '402 Ordainpekoa', //cpg1.3.0
-        'http_403' => '403 Debekatuta', //cpg1.3.0
-        'http_404' => '404 Ez topatua', //cpg1.3.0
-        'http_500' => '500 Zerbitzariaren barne akatsa', //cpg1.3.0
-        'http_503' => '503 Zerbitzu ez erabilgarria', //cpg1.3.0
-        'MIME_extraction_failure' => 'MIME mota ezin da zehaztu.', //cpg1.3.0
-        'MIME_type_unknown' => 'MIME mota ezezaguna', //cpg1.3.0
-        'cant_create_write' => 'Ezin idazteko fitxategia sortu.', //cpg1.3.0
-        'not_writable' => 'Ezin idazteko fitxategian idatzi.', //cpg1.3.0
-        'cant_read_URI' => 'Ezin dut URI/URLa irakurri', //cpg1.3.0
-        'cant_open_write_file' => 'Ezin zabaldu URIa idazteko.', //cpg1.3.0
-        'cant_write_write_file' => 'Ezin idatzi URIaren idazteko fitxategian.', //cpg1.3.0
-        'cant_unzip' => 'Ezin deskonprimitu.', //cpg1.3.0
-        'unknown' => 'Akats ezezaguna', //cpg1.3.0
-        'succ' => 'Ondo igota', //cpg1.3.0
-        'success' => '%s igoera zuzenak.', //cpg1.3.0
-        'add' => '\'Jarraitu\'n sakatu fitxategiak bildumari gehitzeko.', //cpg1.3.0ari
-        'failure' => 'Akatsa igotzean', //cpg1.3.0
-        'f_info' => 'Fitxategiaren infoa', //cpg1.3.0
-        'no_place' => 'Aurreko fitxategia ezin izan dut gehitu.', //cpg1.3.0
-        'yes_place' => 'Aurreko fitxategia ondo gehitu dut.', //cpg1.3.0
-        'max_fsize' => 'Onartzen diren fitxategi tamaina handiena %s KBekoa da',
-        'album' => 'Bilduma',
-        'picture' => 'Fitxategia',
-        'pic_title' => 'Fitxategiaren izenburua',
-        'description' => 'Fitxategiaren deskribapena',
-        'keywords' => 'Hitz gakoak (espazioak separatuta)<br /><a href="#" onClick="return MM_openBrWindow(\'keyword_select.php\',\'selectKey\',\'width=250, height=400, scrollbars=yes,toolbar=no,status=yes,resizable=yes\')">Zerrendan aukeratu</a>', //cpg1.4
-        'keywords_sel' =>'Hitz gakoa aukeratu', //cpg1.4
-        'err_no_alb_uploadables' => 'Ez dago fitxategiak gehitzea onartzen duen bildumarik',
-        'place_instr_1' => 'Fitxategiak bildumetan sartzen ari zara.  Orain fitxategi bakiotzari buruzko informazio garrantzitsua gehitu ahal duzu.', //cpg1.3.0
-        'place_instr_2' => 'Fitxategi gehiago gehitu nahi?. \'Gehiago\'n sakatu.', //cpg1.3.0
-        'process_complete' => 'Fitxategi guztiak ondo gehitu ditut.', //cpg1.3.0
-        'albums_no_category' => 'Kategoriarik gabeko bildumak', //cpg1.4. //album pulldown mod, added by frogfoot
-        'personal_albums' => '* Norbanakoaren bildumak', //cpg1.4 //album pulldown mod, added by frogfoot
-        'select_album' => 'Bilduma aukeratu', //cpg1.4 //album pulldown mod, added by frogfoot
-        'close' => 'Itxi', //cpg1.4
-        'no_keywords' => 'Ez dago hitz gakorik erabilgarri!', //cpg1.4
-        'regenerate_dictionary' => 'Hiztegia bersortu', //cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File usermgr.php
-// ------------------------------------------------------------------------- //
-if (defined('USERMGR_PHP')) $lang_usermgr_php = array(
-        'memberlist' => 'Bazkideeen zerrenda', //cpg1.4
-        'user_manager' => 'Erabiltzaileen kudeaketa', //cpg1.4
-        'title' => 'Erabiltzaileak kudeatu',
-        'name_a' => 'Izenaren arabera gorako',
-        'name_d' => 'Izenaren arabera beherako',
-        'group_a' => 'Taldearen arabera gorako',
-        'group_d' => 'Taldearen arabera beherako',
-        'reg_a' => 'Alta dataren arabera gorako',
-        'reg_d' => 'Alta dataren arabera beherako',
-        'pic_a' => 'Argazki kopuruaren arabera gorako',
-        'pic_d' => 'Argazki kopuruaren arabera beherako',
-        'disku_a' => 'Disko okupazioaren arabera gorako',
-        'disku_d' => 'Disko okupazioaren arabera beherako',
-        'lv_a' => 'Azken bisitaren arabera gorako', //cpg1.3.0
-        'lv_d' => 'Azken bisitaren arabera beherako', //cpg1.3.0
-        'sort_by' => 'Erabiltzaileak ordenatu',
-        'err_no_users' => 'Erabiltzaileen taula hutsik dago!',
-        'err_edit_self' => 'Ezin duzu zeure profila editatu, horretarako \'Nire erabiltzaile profila\' aukera erabili',
-        'edit' => 'EDITATU',
-        'with_selected' => 'aukeratutako:', //cpg1.4
-        'delete' => 'Ezabatu', //cpg1.4
-        'delete_files_no' => 'gorde fitxategi publikoak (anonimizatuta)', //cpg1.4
-        'delete_files_yes' => 'fitxategi publikoak ere ezabatu', //cpg1.4
-        'delete_comments_no' => 'gorde iruzkinak (anonimizatuta)', //cpg1.4
-        'delete_comments_yes' => 'iruzkinak ere ezabatu', //cpg1.4
-        'activate' => 'Gaitu', //cpg1.4
-        'deactivate' => 'Ezgaitu', //cpg1.4
-        'reset_password' => 'Pasahitza berrezarri', //cpg1.4
-        'change_primary_membergroup' => 'Talde nagusia aldatu', //cpg1.4
-        'add_secondary_membergroup' => 'Bigarren taldea gehitu', //cpg1.4
-        'name' => 'Erabiltzaile izena',
-        'group' => 'Taldea',
-        'inactive' => 'Inaktiboa',
-        'operations' => 'Ekintzak',
-        'pictures' => 'Fitxategiak',
-        'disk_space_used' => 'Erabilita', //cpg1.4
-          'disk_space' => 'Erabilitako espazioa / kuota',
-        'disk_space_quota' => 'Kuota', //cpg1.4
-        'registered_on' => 'Noiz errejistratua',
-        'last_visit' => 'Azken bisita', //cpg1.3.0
-        'u_user_on_p_pages' => '%d erabiltzaile %d orritan',
-        'confirm_del' => 'Seguru erabiltzaile hau ezabatu nahi duzula? \\nBere argazki eta bildumak guztiak ere ezabatuko ditut.',
-        'mail' => 'ePOSTA',
-        'err_unknown_user' => 'Aukeratutako erabiltzailea ez dago!',
-        'modify_user' => 'Erabiltzailea eraldatu',
-        'notes' => 'Oharrak',
-        'note_list' => '<li>Egungo pasahitza aldatu nahi ez baduzu "pasahitza" atala zuri utzi',
-        'password' => 'Pasahitza',
-        'user_active' => 'Erabiltzailea aktibo dago',
-        'user_group' => 'Erabiltzaileen taldea',
-        'user_email' => 'Erabiltzailearen ePosta',
-        'user_web_site' => 'Erabiltzailearen web orria',
-        'create_new_user' => 'Erabiltzaile berria',
-        'user_location' => 'Erabiltzailearen bizilekua',
-        'user_interests' => 'Erabiltzailerean gogoak',
-        'user_occupation' => 'Erabiltzailearen lanbidea',
-        'user_profile1' => '$user_profile1', //cpg1.4
-        'user_profile2' => '$user_profile2', //cpg1.4
-        'user_profile3' => '$user_profile3', //cpg1.4
-        'user_profile4' => '$user_profile4', //cpg1.4
-        'user_profile5' => '$user_profile5', //cpg1.4
-        'user_profile6' => '$user_profile6', //cpg1.4
-        'latest_upload' => 'Azken igoerak', //cpg1.3.0
-        'never' => 'inoiz ez', //cpg1.3.0
-        'search' => 'Erabiltzailea bilatu', //cpg1.4
-        'submit' => 'Bidali', //cpg1.4
-        'search_submit' => 'Joan!', //cpg1.4
-        'search_result' => 'Bilaketaren emaitza: ', //cpg1.4
-        'alert_no_selection' => 'Lehenago erabiltzaile izen bat aukeratu behar duzu!', //cpg1.4 //js-alert
-        'password' => 'pasahitza', //cpg1.4
-        'select_group' => 'Taldea aukeratu', //cpg1.4
-        'groups_alb_access' => 'Bildumaren baimenak taldeeen arabera', //cpg1.4
-        'album' => 'Bilduma', //cpg1.4
-        'category' => 'Kategoria', //cpg1.4
-        'modify' => 'Onartu?', //cpg1.4
-        'group_no_access' => 'Talde honek ez du pribilejio berezirik', //cpg1.4
-        'notice' => 'Oharra', //cpg1.4
-        'group_can_access' => '"%s"-k soilik ikusi ahal dituen bildumak', //cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File util.php
-// ------------------------------------------------------------------------- //
-
-if (defined('UTIL_PHP')) $lang_util_php = array(
-
-
-        'update_db_explanation' => 'Coppermineren fitxategiak ordezkatu badituzu, aldatu edo bertsioa eguneratu datu basearen eguneraketa egikaritu beharko duzu. Horrela beharrezkoak diren taulak eta baloreak sortuko ditu datu basean.', //cpg1.3.0
-
-);
-
-if (defined('UTIL_PHP')) {
-$lang_util_desc_php = array(
-'Updates titles from filename', //cpg1.4
-'Deletes titles', //cpg1.4
-'Rebuilds thumbnails and resized photos', //cpg1.4
-'Deletes original sized photos replacing them with the resized version', //cpg1.4
-'Deletes original or intermediate size photos to free webspace', //cpg1.4
-'Deletes orphaned comments', //cpg1.4
-'Re-reads file sizes and dimensions (if you manually edited pics)', //cpg1.4
-'Resets views counter', //cpg1.4
-'Displays phpinfo', //cpg1.4
-'Updates the database', //cpg1.4
-'Displays log files', //cpg1.4
-);
-$lang_util_php = array(
-  'title' => 'Tresnak (irudiak eraldatu)',
-  'what_it_does' => 'Zer egiten du',
-  'file' => 'Fitxategia',
-  'problem' => 'Arazoa', //cpg1.4
-  'status' => 'Egoera', //cpg1.4
-  'title_set_to' => 'tutulua:',
-  'submit_form' => 'bidali',
-  'updated_succesfully' => 'ondo eguneratuta',
-  'error_create' => 'Akatsa sortzean',
-  'continue' => 'Irudi gehiago prozesatu',
-  'main_success' => '%s fitxategia da orain fitxategi nagusia',
-  'error_rename' => '%s fitxategia %s berrizendatzekoan akatsa',
-  'error_not_found' => '%s fitxategia ez dut topatu',
-  'back' => 'nagusira bueltatu',
-'thumbs_wait' => 'Miniaturak sortzen eta irudiak prestatzen, itxaron mesedez...',
-  'thumbs_continue_wait' => 'Miniaturak sortzen eta irudiak prestatzen, itxaron mesedez......',
-  'titles_wait' => 'Izenburuak eguneratzen, itxaron mesedez...',
-  'delete_wait' => 'Izenburuak ezabatzen, itxaron mesedez...',
-  'replace_wait' => 'Jatorrizko irudiak ezabatzen, itxaron mesedez..',
-  'instruction' => 'Argibide azkarrak',
-  'instruction_action' => 'Ekintza aukeratu',
-  'instruction_parameter' => 'Parametroak ezarri',
-  'instruction_album' => 'Bilduma aukeratu',
-  'instruction_press' => '%s sakatu',
-  'update' => 'Miniaturak eguneratu eta/edo irudiak moldatu',
-  'update_what' => 'Zer eguneratu behar dut',
-  'update_thumb' => 'Miniaturak soilik',
-  'update_pic' => 'Moldatutako irudiak soilik',
-  'update_both' => 'Moldatutako irudiak eta miniaturak',
-  'update_number' => 'Zenbat irudi prozesatuko da gehienez klik bakoitzean',
-  'update_option' => '(Saiatu kopuru txikiagoa ezartzen timeout arazoak izanez gero)',
-  'filename_title' => 'Filename &rArr; File title',
-  'filename_how' => 'How should the filename be modified',
-  'filename_remove' => 'Ezabatu .jpg amaiera eta ordezkatu hutsuneak _ ikurrarekin',
-  'filename_euro' => 'Aldatu 2003_11_23_13_20_20.jpg honekin 23/11/2003 13:20',
-  'filename_us' => 'Aldatu 2003_11_23_13_20_20.jpg honekin 11/23/2003 13:20',
-  'filename_time' => 'Aldatu 2003_11_23_13_20_20.jpg honekin 13:20',
-  'delete' => 'Ezabatu fitxategien izenak eta jatorrizko argazkiak',
-  'delete_title' => 'Ezabatu fitxategien izenak',
-  'delete_title_explanation' => 'Honek zuk esandako bildumaren fitxategi guztien izenburuak ezabatuko ditu.', //cpg1.4
-  'delete_original' => 'Ezabatu jatorrizko argazkiak',
-  'delete_original_explanation' => 'Honek jatorrizko argazkiak ezabatuko ditu.', //cpg1.4
-  'delete_intermediate' => 'Ezabatu tarteko irudiak', //cpg1.4
-  'delete_intermediate_explanation' => 'Honek jatorrizko irudiak ezabatuko ditu.<br />Erabili aukera hau lekua irabazteko zerbitzarian.', //cpg1.4
-  'delete_replace' => 'Jatorrizko irudiak moldatutakoekin ordezkatu',
-  'titles_deleted' => 'Esandako bilduman izenburuak ezbatu ditut', //cpg1.4
-  'deleting_intermediates' => 'Tarteko irudiak ezabatzen, itxaron mesedez...', //cpg1.4
-  'searching_orphans' => 'Umezurtzak bilatzen, itxaron mesedez...', //cpg1.4
-  'select_album' => 'Bilduma aukeratu',
-  'delete_orphans' => 'Ezabatu iruzkinak galdutako fitxategietan', //cpg1.4
-  'delete_orphans_explanation' => 'Honek ahalbidetzen dizu identifikatzea eta ezabatzea fitxategiekin lotura ez daukaten iruzkinak.<br />Bilduma guztietan begiratzen du.', //cpg1.4
-  'refresh_db' => 'Berkargatu fitxategien tamainari buruzko infoa', //cpg1.4
-  'refresh_db_explanation' => 'Honek fitxategien tamaina berriro irakurtzen du. Erabili kuotak zuzenak ez badira edo eskuz aldatu badituzu fitxategiak.', //cpg1.4
-  'reset_views' => 'Ikustaldien kontadoreak berrabiarazi', //cpg1.4
-  'reset_views_explanation' => 'Esandako bildumaren ikustaldien kontadore guztiak zeron ezartzen ditu.', //cpg1.4
-  'orphan_comment' => 'Iruzkin umezurtz topatu ditut',
-  'delete' => 'Ezabatu',
-  'delete_all' => 'Guztiak ezabatu',
-  'delete_all_orphans' => 'Umezurtz guztiak ezabatu?', //cpg1.4
-  'comment' => 'Iruzkina: ',
-  'nonexist' => 'attached to non existant file # ',
-  'phpinfo' => 'phpinfo pantailaratu',
-  'phpinfo_explanation' => 'Zure zerbitzariari buruzko informazio teknikoa erakusten du.<br /> - Soportea eskatzean garrantzitsua da.', //cpg1.4
-  'update_db' => 'Datubasea eguneratu',
-  'update_db_explanation' => 'Coppermineren fitxategiak aldatu badituzu, ordezkatu edo aurreko bertsio batetik eguneratu, abiarazi hau behin gutxienez. Horrela beharrezkoak diren taulak edota konfigurazioak sotuko ditu Coppermineren datubasean.',
-  'view_log' => 'Log fitxategiak ikusi', //cpg1.4
-  'view_log_explanation' => 'Copperminek hainbat gertakizunen traza gorde dezake. <a href="admin.php">Coppermineren konfigurazio fitxategian</a> aukera hau gaitu baduzu ikusi ahal izango duzu.', //cpg1.4
-  'versioncheck' => 'Bertsioak ziurtatu', //cpg1.4
-  'versioncheck_explanation' => 'Fitxategi guztiak begiratzen ditu ziurtatzeko konfliktorik ez dagoela, oso baliagarria da eguneraketa baten ostean.', //cpg1.4
-  'bridgemanager' => 'Bridge-ren kudeaketa', //cpg1.4
-  'bridgemanager_explanation' => 'Gaitu/ezgaitu coppermineren integrazioa (bridging) beste aplikazio batzuekin (adib: zure BBSa).', //cpg1.4
-);
-}
-
-// ------------------------------------------------------------------------- //
-// File versioncheck.php //cpg1.4
-// ------------------------------------------------------------------------- //
-
-if (defined('VERSIONCHECK_PHP')) $lang_versioncheck_php = array(
-  'title' => 'Versioncheck', //cpg1.4
-  'what_it_does' => 'This page is meant for users who have updated their coppermine install. This script goes through the files on your webserver and tries to determine if your local file versions on the webserver are the same as the ones from the repository at http://coppermine.sourceforge.net, this way displaying the files you were meant to update as well.<br />It will show everything in red that needs to be fixed. Entries in yellow need looking into. Entries in green (or your default font color) are OK.<br />Click on the help icons to find out more.', //cpg1.4
-  'online_repository_unable' => 'Ezin izan dut online errepositorioarekin konektatu', //cpg1.4
-  'online_repository_noconnect' => 'Coppermine was unable to connect to the online repository. This can have two reasons:', //cpg1.4
-  'online_repository_reason1' => 'the coppermine online repository is currently down - check if you can browse this page: %s - if you can\'t access this page, try again later.', //cpg1.4
-  'online_repository_reason2' => 'PHP on your webserver is configured with %s turned off (by default, it\'s turned on). If the server is yours to administer, turn this option on in <i>php.ini</i> (at least allow it to be overridden with %s). If you\'re webhosted, you will probably have to live with the fact that you can\'t compare your files to the online repository. This page will then only display the file versions that came with your distribution - updates will not be displayed.', //cpg1.4
-  'online_repository_skipped' => 'Connection to online repository skipped', //cpg1.4
-  'online_repository_to_local' => 'The script is defaulting to the local copy of the version-files now. The data may be inacurate if you have upgraded Coppermine and you haven\'t uploaded all files. Changes to the files after the release won\'t be taken into account as well.', //cpg1.4
-  'local_repository_unable' => 'Unable to connect to the repository on your server', //cpg1.4
-  'local_repository_explanation' => 'Coppermine was unable to connect to the repository file %s on your webserver. This probably means that you haven\'t uploaded the repository file to your webserver. Do so now and then try to run this page once more (hit refresh).<br />If the script still fails, your webhost might have disabled parts of <a href="http://www.php.net/manual/en/ref.filesystem.php">PHP\'s filesystem functions</a> completely. In this case, you simply won\'t be able to use this tool at all, sorry.', //cpg1.4
-  'coppermine_version_header' => 'Instalatutako Coppermineren bertsioa', //cpg1.4
-  'coppermine_version_info' => 'You have currently installed: %s', //cpg1.4
-  'coppermine_version_explanation' => 'If you think this is entirely wrong and you\'re supposed to be running a higher version of Coppermine, you probably haven\'t uploaded the most recent version of the file <i>include/init.inc.php</i>', //cpg1.4
-  'version_comparison' => 'Bertsioen konparaketa', //cpg1.4
-  'folder_file' => 'direktorio/fitxategiak', //cpg1.4
-  'coppermine_version' => 'cpg bertsioa', //cpg1.4
-  'file_version' => 'fitxategi bertsioa', //cpg1.4
-  'webcvs' => 'web svna', //cpg1.4
-  'writable' => 'writable', //cpg1.4
-  'not_writable' => 'not writable', //cpg1.4
-  'help' => 'Laguntza', //cpg1.4
-  'help_file_not_exist_optional1' => 'fitxategi/direktorioa ez dago', //cpg1.4
-  'help_file_not_exist_optional2' => 'The file/folder %s has not been found on your server. Although it is optional you should upload it (using your FTP client) to your webserver if you are experiencing problems.', //cpg1.4
-  'help_file_not_exist_mandatory1' => 'file/folder does not exist', //cpg1.4
-  'help_file_not_exist_mandatory2' => 'The file/folder %s has not been found on your server, although it is mandatory. Upload the file to your webserver (using your FTP client).', //cpg1.4
-  'help_no_local_version1' => 'No local file version', //cpg1.4
-  'help_no_local_version2' => 'The script was unable to extract a local file version - your file is either outdated or you have modified it, removing the header information on the way. Updating the file is recommended.', //cpg1.4
-  'help_local_version_outdated1' => 'Local version outdated', //cpg1.4
-  'help_local_version_outdated2' => 'Your version of this file seems to be from an older version of Coppermine (you probably upgraded). Make sure to update this file as well.', //cpg1.4
-  'help_local_version_na1' => 'Unable to extract cvs version info', //cpg1.4
-  'help_local_version_na2' => 'The script could not determine what cvs version the file on your webserver is. You should upload the file from your package.', //cpg1.4
-  'help_local_version_dev1' => 'Development version', //cpg1.4
-  'help_local_version_dev2' => 'The file on your webserver seems to be newer than your Coppermine version. You are either using a development file (you should only do so if you know what you are doing), or you have upgraded your Coppermine install and not uploaded include/init.inc.php', //cpg1.4
-  'help_not_writable1' => 'Folder not writable', //cpg1.4
-  'help_not_writable2' => 'Change file permissions (CHMOD) to grant the script write access to the folder %s and everything within it.', //cpg1.4
-  'help_writable1' => 'Folder writable', //cpg1.4
-  'help_writable2' => 'The folder %s is writable. This is an unnecessary risk, coppermine only needs read/execute access.', //cpg1.4
-  'help_writable_undetermined' => 'Coppermine was not able to determine wether the folder is writable.', //cpg1.4
-  'your_file' => 'your file', //cpg1.4
-  'reference_file' => 'reference file', //cpg1.4
-  'summary' => 'Summary', //cpg1.4
-  'total' => 'Total files/folders checked', //cpg1.4
-  'mandatory_files_missing' => 'Mandatory files missing', //cpg1.4
-  'optional_files_missing' => 'Optional files missing', //cpg1.4
-  'files_from_older_version' => 'Files left over from outdated Coppermine version', //cpg1.4
-  'file_version_outdated' => 'Outdated file versions', //cpg1.4
-  'error_no_data' => 'The script made a boo, it was not able to retrieve any information. Sorry for the inconvenience.', //cpg1.4
-  'go_to_webcvs' => 'hona joan %s', //cpg1.4
-  'options' => 'Aukerak', //cpg1.4
-  'show_optional_files' => 'erakutsi aukerako direktorioak/fitxategiak', //cpg1.4
-  'show_mandatory_files' => 'erakutsi lotesle fitxategiak', //cpg1.4
-  'show_file_versions' => 'erakutsi fitxategien bertsioa', //cpg1.4
-  'show_errors_only' => 'erakutsi akastun fitxategiak/direktorioak soilik', //cpg1.4
-  'show_permissions' => 'erakutsi direktorioen baimenak', //cpg1.4
-  'show_condensed_output' => 'show condensed ouput (for easier screenshots)', //cpg1.4
-  'coppermine_in_webroot' => 'coppermine zerbitzariaren erroan dago instalatuta', //cpg1.4
-  'connect_online_repository' => 'saiatu online errepositorioarekin konektatzen', //cpg1.4
-  'show_additional_information' => 'erakutsi info gehigarria', //cpg1.4
-  'no_webcvs_link' => 'don\'t display web svn link', //cpg1.4
-  'stable_webcvs_link' => 'display web svn link to stable branch', //cpg1.4
-  'devel_webcvs_link' => 'display web svn link to devel branch', //cpg1.4
-  'submit' => 'aldaketak aplikatu / freskatu', //cpg1.4
-  'reset_to_defaults' => 'jatorrizko ezarpenak berrezarri', //cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File view_log.php  //cpg1.4
-// ------------------------------------------------------------------------- //
-
-if (defined('VIEWLOG_PHP')) $lang_viewlog_php = array(
-  'delete_all' => 'Log guztiak ezabatu', //cpg1.4
-  'delete_this' => 'Log hau ezabatu', //cpg1.4
-  'view_logs' => 'Logak ikusi', //cpg1.4
-  'no_logs' => 'Ez dago logik.', //cpg1.4
-);
-
-
-// ------------------------------------------------------------------------- //
-// File xp_publish.php //cpg1.4
-// ------------------------------------------------------------------------- //
-
-if (defined('XP_PUBLISH_PHP')) {
-
-$lang_xp_publish_client = <<<EOT
-<h1>XP Web Publishing Wizard Client</h1><p>Modulu honek <b>Windows XPren</b> web publishing wizard Copperminerekin erabiltzea ahalbidetzen dizu.</p><p>Kodigoaren ideia:
-EOT;
-
-$lang_xp_publish_required = <<<EOT
-<h2>What is required</h2><ul><li>Windows XP in order to have the wizard.</li><li>A working installation of Coppermine on which <b>the web upload function works properly.</b></li></ul><h2>How to install on client side</h2><ul><li>Right click on
-EOT;
-
-$lang_xp_publish_select = <<<EOT
-Select &quot;save target as..&quot;. Save the file on your hard drive. When saving the file, check that the proposed file name is <b>cpg_###.reg</b> (the ### represents a numerical timestamp). Change it to that name if necessary (leave the numbers). When downloaded, double click on the file in order to register your server with the web publishing wizard.</li></ul>
-EOT;
-
-$lang_xp_publish_testing = <<<EOT
-<h2>Testing</h2><ul><li>In Windows Explorer, select some files and click on <b>Publish xxx on the web</b> in the left pane.</li><li>Confirm your file selection. Click on <b>Next</b>.</li><li>In the list of services that appear, select the one for your photo gallery (it has the name of your gallery). If the service does not appear, check that you have installed <b>cpg_pub_wizard.reg</b> as described above.</li><li>Input your login information if required.</li><li>Select the target album for your pictures or create a new one.</li><li>Click on <b>next</b>. The upload of your pictures starts.</li><li>When it is completed, check your gallery to see if pictures have been properly added.</li></ul>
-EOT;
-
-$lang_xp_publish_notes = <<<EOT
-<h2>Notes :</h2><ul><li>Once the upload has started, the wizard can't display any error message returned by the script so you can't know if the upload failed or succeeded until you check your gallery.</li><li>If the upload fails, enable &quot;Debug mode&quot; on the Coppermine admin page, try with one single picture and check error messages in the
-EOT;
-
-$lang_xp_publish_flood = <<<EOT
-Zerbitzarian zure Coppermine direktorioan kokatuta dagoen fitxategia.</li><li>Bilduma wizard bitartez igotako irudiek <i>floodeatuta</i> izatea ekiditzeko, soilik <b>bildumen administratzaileek</b> eta <b>bilduma propioak izan ahal dituzten erabiltzaileek</b> arabili ahal dute tresna hau.</li>
-EOT;
-
-
-
-$lang_xp_publish_php = array(
-  'title' => 'Coppermine - XP Web Publishing Wizard', //cpg1.4
-  'welcome' => 'Mongi etorri <b>%s</b>,', //cpg1.4
-  'need_login' => 'Nabegadorea erabiliz logeatu behar duzu copperminen Wizard erabili baino lehen.<p/>.', //cpg1.4
-  'no_alb' => 'Ez daukazu eskubiderik sistema honetako bildumetan Wizardekin zure irudiak argitaratzeko.', //cpg1.4
-  'upload' => 'Igo zure irudiak dagoen bilduma batera', //cpg1.4
-  'create_new' => 'Bilduma berria sortu', //cpg1.4
-  'album' => 'Bilduma', //cpg1.4
-  'category' => 'Kategoria', //cpg1.4
-  'new_alb_created' => 'Zure album berria: &quot;<b>%s</b>&quot; sortuta.', //cpg1.4
-  'continue' => 'Sakatu &quot;Hurrengoa&quot; irudiak igotzen hasteko', //cpg1.4
-  'link' => 'lotura hau', //cpg1.4
-);
-}
-?>
+<?php
+/*************************
+  Coppermine Photo Gallery
+  ************************
+  Copyright (c) 2003-2009 Coppermine Dev Team
+  v1.1 originally written by Gregory DEMAR
+
+  This program is free software; you can redistribute it and/or modify
+  it under the terms of the GNU General Public License version 3
+  as published by the Free Software Foundation.
+  
+********************************************
+
+  Coppermine version: 1.4.25
+
+  $HeadURL: https://coppermine.svn.sourceforge.net/svnroot/coppermine/trunk/cpg1.4.x/lang/basque.php $
+  $Revision: 5997 $
+  $Author: gaugau $
+  $Date: 2009-05-26 08:43:24 +0200 (Di, 26 Mai 2009) $
+**********************************************/
+
+if (!defined('IN_COPPERMINE')) { die('Not in Coppermine...');}
+
+
+// info about translators and translated language
+
+$lang_translation_info = array(
+
+'lang_name_english' => 'Basque',
+'lang_name_native' => 'Euskera',
+'lang_country_code' => 'basque',
+'trans_name'=> 'Kurtsik', //the name of the translator - can be a nickname
+'trans_email' => 'kurtsik@gmail.com', //translator's email address (optional)
+'trans_website' => 'http://www.tuxtek.com', //translator's website (optional)
+'trans_date' => '2005-08-18', //the date the translation was created / last modified
+
+);
+
+$lang_charset = 'utf-8';
+$lang_text_dir = 'ltr'; // ('ltr' for left to right, 'rtl' for right to left)
+
+
+// shortcuts for Byte, Kilo, Mega
+$lang_byte_units = array('Byteak', 'KB', 'MB');
+
+// Day of weeks and months
+$lang_day_of_week = array('Iga', 'Ale', 'Aar', 'Aaz', 'Ote', 'Oti', 'Lar');
+$lang_month = array('Urt', 'Ots', 'Mar', 'Api', 'Mai', 'Eka', 'Uzt', 'Abu', 'Ira', 'Urr', 'Aza', 'Abe');
+
+
+
+// Some common strings
+
+$lang_yes = 'Bai';
+$lang_no  = 'Ez';
+$lang_back = 'Atzera';
+$lang_continue = 'Jarraitu';
+$lang_info = 'Informazioa';
+$lang_error = 'Akatsa';
+$lang_check_uncheck_all = 'gaitu/ezgaitu guztiak'; //cpg1.4
+
+// The various date formats
+// See http://www.php.net/manual/en/function.strftime.php to define the variable below
+$album_date_fmt =    '%Y(e)ko %B(a)ren %d(e)an';
+$lastcom_date_fmt =  '%y/%m/%d %H:%M(e)an';
+$lastup_date_fmt = '%Y(e)ko %B(a)ren %d(e)an';
+$register_date_fmt = '%Y(e)ko %B(a)ren %d(e)an';
+$lasthit_date_fmt = '%Y(e)ko %B(a)ren %d(e)an %H:%M';
+$comment_date_fmt =  '%Y(e)ko %B(a)ren %d(e)an %H:%M(e)an';
+$log_date_fmt = '%Y %B %d - %I:%M %p'; //cpg1.4
+
+// For the word censor
+$lang_bad_words = array();
+
+$lang_meta_album_names = array(
+        'random' => 'Ausazko irudiak',
+        'lastup' => 'Azken irudiak',
+        'lastalb'=> 'Eraldatutako azken bildumak',
+        'lastcom' => 'Azken iruzkinak',
+        'topn' => 'Bisita gehien',
+        'toprated' => 'Estimatuenak',
+        'lasthits' => 'Azken bisitaldiak',
+        'search' => 'Bilaketaren emaitzak',
+        'favpics'=> 'Gogokoak',
+);
+
+$lang_errors = array(
+        'access_denied' => 'Ez duzu orri honetan sartzeko baimena.',
+        'perm_denied' => 'Ez duzu hau egiteko baimena.',
+        'param_missing' => 'Scriptari deia derrigorrezko parametrorik gabe.',
+        'non_exist_ap' => 'Aukeratutako bilduma ez dago!',
+        'quota_exceeded' => 'Disko kuota gainditu duzu<br /><br />Zure disko kuota [quota]KBekoa da, zure fitxategiek [space]KB okupatzen dute, hau gehituta kuota gaindituko duzu.',
+        'gd_file_type_err' => 'GD irudi liburutegia erabiltzen denean PNG eta JPEG formatuak baino ezin dira erabili.',
+        'invalid_image' => 'Gehitu duzun irudia akastuna da edo GD liburutegiak ezin du kudeatu.',
+        'resize_failed' => 'Ezin izan dut miniatura sortu.',
+        'no_img_to_display' => 'Ez dago erakusteko irudirik.',
+        'non_exist_cat' => 'Aukeratutako kategoria ez dago.',
+        'orphan_cat' => 'Kategoria umezurtza dago sisteman, kategoriak kudeatzeko tresna abiatu arazoa konpontzeko.',
+        'directory_ro' => '\'%s\' direktorian ez duzu idazteko baimena, ezin ditut fitxategiak ezabatu.',
+        'non_exist_comment' => 'Aukeratutako iruzkina ez dago.',
+        'pic_in_invalid_album' => 'Fitxategia ez dagoen bilduma batean dago (%s)!?',
+        'banned' => 'Oraingoz web honetan ezin zara sartu.',
+        'not_with_udb' => 'Funtzio hau ezgaituta dago foruen funtzionalitateekin lotuta dago eta. Egin nahi duzuna ez da posible sistemaren konfigurazio honekin edo foruen aplikazioen esku dago.',
+        'offline_title' => 'Ezgaitua',
+        'offline_text' => 'Une honetan galeria ezgaituta dago, berehala konponduko dugu.', //cpg1.3.0
+        'ecards_empty' => 'Une honetan ez dago postalarik erakusteko. Ziurtatu konfigurazioan aukera hau aktibatu duzula!',
+        'action_failed' => 'Ezin izan dut zure eskaera burutu.', //cpg1.3.0
+        'no_zip' => 'ZIP fitxategiak kudeatzeko liburutegiak ez daude erabilgarri. Hitzegizu bilduma honen administradorearekin.',
+        'zip_type' => 'ZIP fitxategiak gehitzeko ez duzu baimenik.', //cpg1.3.0
+        'database_query' => 'Akats bat gertatu da DDBBari galdetzean', //cpg1.4
+        'register_globals_on' => 'The PHP setting register_globals is enabled on your server, which is a bad idea in terms of security. It\'s strongly recommended to turn it off. [<a href="http://forum.coppermine-gallery.net/index.php/topic,59569.0.html" rel="external" class="external">more</a>]',
+);
+
+$lang_bbcode_help_title = 'bbcode laguntza'; //cpg1.4
+
+$lang_bbcode_help = 'bbcode etiketak erabiliz loturak eta nolabaiteko formatua lor dezakezu: <li>[b]Beltza[/b] =&gt; <b>Bold</b></li><li>[i]Italic[/i] =&gt; <i>Italic</i></li><li>[url=http://yoursite.com/]Url Text[/url] =&gt; <a href="http://yoursite.com">Url Testua</a></li><li>[email]user@domain.com[/email] =&gt; <a href="mailto:user@domain.com">user@domain.com</a></li><li>[color=red]testua[/color] =&gt; <span style="color:red">testua</span></li><li>[img]http://coppermine-gallery.net/demo/cpg14x/images/red.gif[/img] => <img src="../images/red.gif" border="0" alt="" /></li>'; //cpg1.4
+
+// ------------------------------------------------------------------------- //
+// File theme.php
+// ------------------------------------------------------------------------- //
+
+$lang_main_menu = array(
+        'alb_list_title' => 'Bilduma zerrendara joan',
+        'alb_list_lnk' => 'Bilduma zerrenda',
+        'my_gal_title' => 'Nire bilduma pertsonalera joan',
+        'my_gal_lnk' => 'Nire bilduma',
+        'my_prof_title' => 'Nire profilera joan', //cpg1.4
+        'my_prof_lnk' => 'Nire erabiltzaile profila',
+        'adm_mode_title' => 'Admin modura joan',
+        'adm_mode_lnk' => 'Admin modua',
+        'usr_mode_title' => 'Erabiltzaile modura joan',
+        'usr_mode_lnk' => 'Erabiltzaile modua',
+        'upload_pic_title' => 'Bilduma batean fitxategia gehitu',
+        'upload_pic_lnk' => 'Fitxategia gehitu',
+        'register_title' => 'Erabiltzailea sortu',
+        'register_lnk' => 'Izena eman',
+        'login_title' => 'Sar nazazu', //cpg1.4
+        'login_lnk' => 'Sartu',
+        'logout_title' => 'Atera nazazu', //cpg1.4
+        'logout_lnk' => 'Irten',
+        'lastup_title' => 'Erakutsi azken fitxategiak', //cpg1.4
+        'lastup_lnk' => 'Azken fitxategiak',
+        'lastcom_title' => 'Erakutsi azken iruzkinak',
+        'lastcom_lnk' => 'Azken iruzkinak',
+        'topn_title' => 'Erakutsi ikusienak', //cpg1.4
+        'topn_lnk' => 'Ikusienak',
+        'toprated_title' => 'Erakutsi estimatuenak', //cpg1.4
+        'toprated_lnk' => 'Estimatuenak',
+        'search_title' => 'Galeria bilatu', //cpg1.4
+        'search_lnk' => 'Bilatu',
+        'fav_title' => 'Nire gogokoetara joan', //cpg1.4
+        'fav_lnk' => 'Nire gogokoak',
+        'memberlist_title' => 'Bazkideen zerrenda erakutsi', //cpg1.3.0
+        'memberlist_lnk' => 'Bazkideen zerrenda', //cpg1.3.0
+        'faq_title' => '&quot;Coppermine&quot; argazki bildumari buruzko gardera arruntak', //cpg1.3.0
+        'faq_lnk' => 'FAQ', //cpg1.3.0
+);
+
+$lang_gallery_admin_menu = array(
+        'upl_app_title' => 'Igoera berriak baimendu', //cpg1.4
+        'upl_app_lnk' => 'Igoerak baimendu',
+        'admin_title' => 'Konfiguraziora joan', //cpg1.4
+        'admin_lnk' => 'Konfigurazioa', //cpg1.4
+        'albums_title' => 'Bildumen konfiguraziora joan', //cpg1.4
+        'albums_lnk' => 'Bildumak',
+        'categories_title' => 'Kategorien konfiguraziora joan', //cpg1.4
+        'categories_lnk' => 'Kategoriak',
+        'users_title' => 'Erabiltzaileen konfiguraziora joan', //cpg1.4
+        'users_lnk' => 'Erabiltzaileak',
+        'groups_title' => 'Taldeen konfiguraziora joan', //cpg1.4
+        'groups_lnk' => 'Taldeak',
+        'comments_title' => 'Iruzkin guztiak ikusi', //cpg1.4
+        'comments_lnk' => 'Iruzkinak',
+        'searchnew_title' => 'Fitxategiak gehitu atalera joan', //cpg1.4
+        'searchnew_lnk' => 'Fitxategiak gehitu (Batch)',
+        'util_title' => 'Administratzeko tresnetara joan', //cpg1.4
+        'util_lnk' => 'Administratzeko tresnak',
+        'key_title' => 'Hitz gako atalera joan', //cpg1.4
+        'key_lnk' => 'Hitz gakoak', //cpg1.4
+        'ban_title' => 'Erabiltzaileak kaleratu atalera joan', //cpg1.4
+        'ban_lnk' => 'Erabiltzaileak kaleratu',
+        'db_ecard_title' => 'Postalak ikusi', //cpg1.4
+        'db_ecard_lnk' => 'Postalak erakutsi', //cpg1.3.0
+        'pictures_title' => 'Erakutsi nire irudiak', //cpg1.4
+        'pictures_lnk' => 'Erakutsi nire irudiak', //cpg1.4
+        'documentation_lnk' => 'Dokumentazioa', //cpg1.4
+        'documentation_title' => 'Coppermineren eskuliburua', //cpg1.4
+);
+
+$lang_user_admin_menu = array(
+        'albmgr_title' => 'Nire bildumak sortu eta ordenatu', //cpg1.4
+        'albmgr_lnk' => 'Bildumak sortu / ordenatu',
+        'modifyalb_title' => 'Nire bildumak eraldatu atalera joan',  //cpg1.4
+        'modifyalb_lnk' => 'Nire bildumak eraldatu',
+        'my_prof_title' => 'Neure profilera joan', //cpg1.4
+        'my_prof_lnk' => 'Nire profila',
+);
+
+$lang_cat_list = array(
+        'category' => 'Kategoria',
+        'albums' => 'Bildumak',
+        'pictures' => 'Fitxategiak',
+);
+
+$lang_album_list = array(
+        'album_on_page' => '%d bilduma %d orrialdetan'
+);
+
+$lang_thumb_view = array(
+        'date' => 'DATA',
+        //Sort by filename and title
+        'name' => 'Izena',
+        'title' => 'Izenburua',
+        'sort_da' => 'Dataren arabera gorako ordenatua',
+        'sort_dd' => 'Dataren arabera beherako ordenatua',
+        'sort_na' => 'Izenaren arabera gorako ordenatua',
+        'sort_nd' => 'Izenaren arabera beherako ordenatua',
+        'sort_ta' => 'Tituluaren arabera gorako ordenatua',
+        'sort_td' => 'Tituluaren arabera beherako ordenatua',
+        'position' => 'KOKAPENA', //cpg1.4
+        'sort_pa' => 'Kokapenaren arabera gorako ordenatua', //cpg1.4
+        'sort_pd' => 'Kokapenaren arabera beherako ordenatua', //cpg1.4
+        'download_zip' => 'ZIP fitxategian deskagatu', //cpg1.3.0
+        'pic_on_page' => '%d fitxategi %d orrialdetan',
+        'user_on_page' => '%d erabiltzaile %d orrialdetan',
+        'enter_alb_pass' => 'Idatzi bildumaren pasahitza', //cpg1.4
+        'invalid_pass' => 'Pasahitz okerra', //cpg1.4
+        'pass' => 'Pasahitza', //cpg1.4
+        'submit' => 'Bidali', //cpg1.4
+);
+
+$lang_img_nav_bar = array(
+        'thumb_title' => 'Bildumaren aurkibidea',
+        'pic_info_title' => 'Fitxategiari buruzko infoa erakutsi',
+        'slideshow_title' => 'Slideshow',
+        'ecard_title' => 'Postala bidali',
+        'ecard_disabled' => 'Postalak bidaltzea ezgaitua',
+        'ecard_disabled_msg' => 'Ez duzu postalak bidaltzeko baimena',
+        'prev_title' => 'Aurreko fitxategia ikusi',
+        'next_title' => 'Hurrengo fitxategia ikusi',
+        'pic_pos' => 'FITXATEGIA %s/%s',
+        'report_title' => 'Fitxategi honetaz ohartu administratzailea', //cpg1.4
+        'go_album_end' => 'Amaierara joan', //cpg1.4
+        'go_album_start' => 'Hasierara joan', //cpg1.4
+        'go_back_x_items' => 'atzera %s elementu', //cpg1.4
+        'go_forward_x_items' => 'aurrera %s elementu', //cpg1.4
+);
+
+$lang_rate_pic = array(
+        'rate_this_pic' => 'Fitxategi hau baloratu ',
+        'no_votes' => '(Ez dago boturik)',
+        'rating' => '(Egungo balorazioa : %s / 5 %s boturekin)',
+        'rubbish' => 'Txarra',
+        'poor' => 'Halan holan',
+        'fair' => 'Normala',
+        'good' => 'Ona',
+        'excellent' => 'Oso ona',
+        'great' => 'Itzela',
+);
+
+// ------------------------------------------------------------------------- //
+// File include/exif.inc.php
+// ------------------------------------------------------------------------- //
+
+// void
+
+// ------------------------------------------------------------------------- //
+// File include/functions.inc.php
+// ------------------------------------------------------------------------- //
+
+$lang_cpg_die = array(
+        INFORMATION => $lang_info,
+        ERROR => $lang_error,
+        CRITICAL_ERROR => 'Akats larria',
+        'file' => 'Fitxategia: ',
+        'line' => 'Lerroa: ',
+);
+
+$lang_display_thumbnails = array(
+  'filename' => 'Fitxategia=', //cpg1.4
+  'filesize' => 'Tamaina=', //cpg1.4
+  'dimensions' => 'Neurriak=', //cpg1.4
+  'date_added' => 'Igotze data=', //cpg1.4
+);
+
+$lang_get_pic_data = array(
+        'n_comments' => '%s iruzkin',
+        'n_views' => '%s aldiz ikusia',
+        'n_votes' => '(%s botu)'
+);
+
+$lang_cpg_debug_output = array(
+        'debug_info' => 'Debug informazioa', //cpg1.3.0
+        'select_all' => 'Guztiak hautatu', //cpg1.3.0
+        'copy_and_paste_instructions' => 'Coppermineren foroan laguntza eskatu behar baduzu debug informazio hau kopiatu eta zure mezuan jarri. Adi ibili bidali baino lehen pasahitzei buruzko informazio guztia asteriskoekin (***) ordezkatzeko.<br />Oharra: hau informazioa baino ez da, ez du adierazi nahi inolako arazorik zure bildumarekin.',  //cpg1.4
+        'phpinfo' => 'phpinfo erakutsi', //cpg1.3.0
+        'notices' => 'Oharrak', //cpg1.4
+);
+
+$lang_language_selection = array(
+  'reset_language' => 'Hizkuntza defektuz', //cpg1.3.0
+  'choose_language' => 'Hizkuntza aukeratu', //cpg1.3.0
+);
+
+$lang_theme_selection = array(
+  'reset_theme' => 'Gaia defektuz', //cpg1.3.0
+  'choose_theme' => 'Gaia aukeratu (itxura)', //cpg1.3.0
+);
+
+$lang_version_alert = array(
+        'version_alert' => 'Soporterik gabeko bertsioa!', //cpg1.4
+        'no_stable_version' => 'Coppermine  %s (%s) ari zara erabiltzen, erabiltzaile aurreratuentzat gomendatua soilik - bertsio honek ez dauka soporterik ezta inolako bermearik. Argi ibili bertsio hau erabiltzean edo aukeratu bertsio egonkorra soportea behar baduzu', //cpg1.4
+        'gallery_offline' => 'Une honetan bilduma ezin da ikusi, soilik admin kontutik ikusi ahal da. Ez ahaztu argitaratzea mantenimendua amaitu eta gero', //cpg1.4
+);
+
+$lang_create_tabs = array(
+        'previous' => 'aurrekoa', //cpg1.4
+        'next' => 'hurrengoa', //cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File include/init.inc.php
+// ------------------------------------------------------------------------- //
+
+// void
+
+// ------------------------------------------------------------------------- //
+// File keyword.inc.php                                                      //
+// ------------------------------------------------------------------------- //
+
+// void
+
+// ------------------------------------------------------------------------- //
+// File include/picmgmt.inc.php
+// ------------------------------------------------------------------------- //
+
+// void
+
+// ------------------------------------------------------------------------- //
+// File include/plugin_api.inc.php
+// ------------------------------------------------------------------------- //
+$lang_plugin_api = array(
+  'error_wakeup' => "'%s'plugina abiaraztean akatsa", //cpg1.4
+  'error_install' => "'%s' plugina ezin izan dut instalatu", //cpg1.4
+  'error_uninstall' => "'%s' plugina desinstalatzean akatsa", //cpg1.4
+  'error_sleep' => "'%s' plugina ezin izan dut desinstalatu<br />", //cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File include/smilies.inc.php
+// ------------------------------------------------------------------------- //
+
+if (defined('SMILIES_PHP')) $lang_smilies_inc_php = array(
+        'Exclamation' => 'Exclamation',
+        'Question' => 'Question',
+        'Very Happy' => 'Very Happy',
+        'Smile' => 'Smile',
+        'Sad' => 'Sad',
+        'Surprised' => 'Surprised',
+        'Shocked' => 'Shocked',
+        'Confused' => 'Confused',
+        'Cool' => 'Cool',
+        'Laughing' => 'Laughing',
+        'Mad' => 'Mad',
+        'Razz' => 'Razz',
+        'Embarassed' => 'Embarassed',
+        'Crying or Very sad' => 'Crying or Very sad',
+        'Evil or Very Mad' => 'Evil or Very Mad',
+        'Twisted Evil' => 'Twisted Evil',
+        'Rolling Eyes' => 'Rolling Eyes',
+        'Wink' => 'Wink',
+        'Idea' => 'Idea',
+        'Arrow' => 'Arrow',
+        'Neutral' => 'Neutral',
+        'Mr. Green' => 'Mr. Green',
+);
+
+// ------------------------------------------------------------------------- //
+// File addpic.php
+// ------------------------------------------------------------------------- //
+// void
+
+// ------------------------------------------------------------------------- //
+// File albmgr.php
+// ------------------------------------------------------------------------- //
+
+if (defined('ALBMGR_PHP')) $lang_albmgr_php = array(
+        'alb_need_name' => 'Bildumek izena izan behar dute!', //js-alert
+        'confirm_modifs' => 'Seguru aldaketak aplikatu nahi dituzula?', //js-alert
+        'no_change' => 'Ez dut aldaketarik egin!', //js-alert
+        'new_album' => 'Bilduma berria',
+        'confirm_delete1' => 'Seguru bilduma hau ezabatu nahi duzula?', //js-alert
+        'confirm_delete2' => '\nDauzkan fitxategi eta iruzkinak galdu egingo dira!', //js-alert
+        'select_first' => 'Lehenago bilduma bat aukeratu',
+        'alb_mrg' => 'Bilduma administratzailea',
+        'my_gallery' => '* Nire bilduma *',
+        'no_category' => '* Kategoriarik gabe *',
+        'delete' => 'Ezabatu',
+        'new' => 'Berria',
+        'apply_modifs' => 'Aldaketak aplikatu',
+        'select_category' => 'Kategoria aukeratu',
+);
+
+// ------------------------------------------------------------------------- //
+// File banning.php
+// ------------------------------------------------------------------------- //
+
+if (defined('BANNING_PHP')) $lang_banning_php = array(
+        'title' => 'Erabiltzailea baneatu', //cpg1.4
+        'user_name' => 'Erabiltzaile izena', //cpg1.4
+        'ip_address' => 'IP helbidea', //cpg1.4
+        'expiry' => 'Noiz arte (zuri betiko bada)', //cpg1.4
+        'edit_ban' => 'Gorde', //cpg1.4
+        'delete_ban' => 'Ezabatu', //cpg1.4
+        'add_new' => 'Baneaketa berria', //cpg1.4
+        'add_ban' => 'Gehitu', //cpg1.4
+        'error_user' => 'Ezin topatu erabiltzailea', //cpg1.4
+        'error_specify' => 'Gutxienez IPa edo erabiltzaile izena idatzi behar duzu', //cpg1.4
+        'error_ban_id' => 'Ez da banatzeko ID egokia!', //cpg1.4
+        'error_admin_ban' => 'Ezin duzu zure burua baneatu!', //cpg1.4
+        'error_server_ban' => 'Zeure zerbitzaria baneatu behar duzu? ia ia, ezin duzu hori egin...', //cpg1.4
+        'error_ip_forbidden' => 'Ezin duzu IP hau baneatu - Ez da bideragarria (pribatua) !<br />IP pribatuak baneatzen gaitu nahi baduzu aldatu zure <a href="admin.php">konfigurazio</a> fitxategian (LAN batean bazaude soilik dauka sentzua).', //cpg1.4
+        'lookup_ip' => 'IP helbide baten lookupa', //cpg1.4
+        'submit' => 'joan!', //cpg1.4
+        'select_date' => 'aukeratu data', //cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File bridgemgr.php //cpg1.4
+// ------------------------------------------------------------------------- //
+
+if (defined('BRIDGEMGR_PHP')) $lang_bridgemgr_php = array(
+        'title' => 'Bridge Wizard',
+        'warning' => 'Warning: when using this wizard you have to understand that sensitive data is being sent using html forms. Only run it on your own PC (not on a public client like an internet cafe), and make sure to clear the browser cache and temporary files after you have finished, or others might be able to access your data!',
+        'back' => 'atzera',
+        'next' => 'hurrengoa',
+        'start_wizard' => 'Start bridging wizard',
+        'finish' => 'Amaitu',
+        'hide_unused_fields' => 'hide unused form fields (recommended)',
+        'clear_unused_db_fields' => 'clear invalid database entries (recommended)',
+        'custom_bridge_file' => 'your custom bridge file\'s name (if the bridge file\'s name is <i>myfile.inc.php</i>, enter <i>myfile</i> into this field)',
+        'no_action_needed' => 'No action needed in this step. Just click \'next\' to continue.',
+        'reset_to_default' => 'Reset to default value',
+        'choose_bbs_app' => 'choose application to bridge coppermine with',
+        'support_url' => 'Go here for support on this application',
+        'settings_path' => 'path(s) used by your BBS app',
+        'database_connection' => 'datubasearekin konexioa',
+        'database_tables' => 'datubasearen taulak',
+        'bbs_groups' => 'BBS taldeak',
+        'license_number' => 'Lizentzia zenbakia',
+        'license_number_explanation' => 'idatzi zure lizentzia zenbakia (kasua bada)',
+        'db_database_name' => 'Datubasearen izena',
+        'db_database_name_explanation' => 'Enter the name of the database your BBS app uses',
+        'db_hostname' => 'Database host',
+        'db_hostname_explanation' => 'Hostname where your mySQL database resides, usually &quot;localhost&quot;',
+        'db_username' => 'Database user account',
+        'db_username_explanation' => 'mySQL user account to use for connection with BBS',
+        'db_password' => 'Datubasearen pasahitza',
+        'db_password_explanation' => 'Passsword for this mySQL user account',
+        'full_forum_url' => 'Forum URL',
+        'full_forum_url_explanation' => 'Full URL of your BBS app (including the leading http:// bit, e.g. http://www.yourdomain.tld/forum)',
+        'relative_path_of_forum_from_webroot' => 'Relative forum path',
+        'relative_path_of_forum_from_webroot_explanation' => 'Relative path to your BBS app from the webroot (Example: if your BBS is at http://www.yourdomain.tld/forum/, enter &quot;/forum/&quot; into this field)',
+        'relative_path_to_config_file' => 'Relative path to your BBS\'s config file',
+        'relative_path_to_config_file_explanation' => 'Relative path to your BBS, seen from your Coppermine folder (e.g. &quot;../forum/&quot; if your BBS is at http://www.yourdomain.tld/forum/ and Coppermine at http://www.yourdomain.tld/gallery/)',
+        'cookie_prefix' => 'Cookie prefix',
+        'cookie_prefix_explanation' => 'this has to be your BBS\'s cookie name',
+        'table_prefix' => 'Table prefix',
+        'table_prefix_explanation' => 'Must match the prefix you chose for your BBS when setting it up.',
+        'user_table' => 'User table',
+        'user_table_explanation' => '(usually default value should be OK, unless your BBS install isn\'t standard)',
+        'session_table' => 'Session table',
+        'session_table_explanation' => '(usually default value should be OK, unless your BBS install isn\'t standard)',
+        'group_table' => 'Group table',
+        'group_table_explanation' => '(usually default value should be OK, unless your BBS install isn\'t standard)',
+        'group_relation_table' => 'Group relation table',
+        'group_relation_table_explanation' => '(usually default value should be OK, unless your BBS install isn\'t standard)',
+        'group_mapping_table' => 'Group mapping table',
+        'group_mapping_table_explanation' => '(usually default value should be OK, unless your BBS install isn\'t standard)',
+        'use_standard_groups' => 'Use standard BBS usergroups',
+        'use_standard_groups_explanation' => 'Use standard (built-in) usergroups (recommended). This will make all custom usergroups settings made on this page become void. Only disable this option if you REALLY know what you\'re doing!',
+        'validating_group' => 'Validating group',
+        'validating_group_explanation' => 'The group ID of your BBS where users accounts that need validation are in (usually default value should be OK, unless your BBS install isn\'t standard)',
+        'guest_group' => 'Guest group',
+        'guest_group_explanation' => 'Group ID of your BBS where guests (anonymous users) are in (default value should be OK, only edit if you know what you\'re doing)',
+        'member_group' => 'Member group',
+        'member_group_explanation' => 'Group ID of your BBS where &quot;regular&quot; users accounts are in (default value should be OK, only edit if you know what you\'re doing)',
+        'admin_group' => 'Admin group',
+        'admin_group_explanation' => 'Group ID of your BBS where admins are in (default value should be OK, only edit if you know what you\'re doing)',
+        'banned_group' => 'Banned group',
+        'banned_group_explanation' => 'Group ID of your BBS where banned users are in (default value should be OK, only edit if you know what you\'re doing)',
+        'global_moderators_group' => 'Global moderators group',
+        'global_moderators_group_explanation' => 'Group ID of your BBS where global moderators of your BBS are in (default value should be OK, only edit if you know what you\'re doing)',
+        'special_settings' => 'BBS-specific settings',
+        'logout_flag' => 'phpBB version (logout flag)',
+        'logout_flag_explanation' => 'What\'s your BBS version (this setting specifies how logouts are being handled)',
+        'use_post_based_groups' => 'Use post-based groups?',
+        'logout_flag_yes' => '2.0.5 or higher',
+        'logout_flag_no' => '2.0.4 or lower',
+        'use_post_based_groups_explanation' => 'Should the groups from the BBS that are defined by the number of posts be taken into account (allows a granular permissions management) or just the default groups (makes administration easier, recommended). You can change this setting later as well.',
+        'use_post_based_groups_yes' => 'bai',
+        'use_post_based_groups_no' => 'ez',
+        'error_title' => 'You need to correct these errors before you can continue. Go to the previous screen.',
+        'error_specify_bbs' => 'You have to specify what application you want to bridge your Coppermine install with.',
+        'error_no_blank_name' => 'You can\'t leave the name of your custom bridge file blank.',
+        'error_no_special_chars' => 'The bridge file name mustn\'t contain any special chars except underscore (_) and dash (-)!',
+        'error_bridge_file_not_exist' => 'The bridge file %s doesn\'t exist on the server. Check if you have actually uploaded it.',
+        'finalize' => 'enable/disable BBS integration',
+        'finalize_explanation' => 'So far, the settings you specified have been written into the database, but BBS integration hasn\'t been enabled. You can switch integration on/off later at any time. Make sure to remember the admin username and password from standalone Coppermine, you might need it later to be able to make any changes. If anything goes wrong, go to %s and disable BBS integration there, using your standalone (unbridged) admin account (usually the one you set up during Coppermine install).',
+        'your_bridge_settings' => 'Your bridge settings',
+        'title_enable' => 'Enable integration/bridging with %s',
+        'bridge_enable_yes' => 'gaitu',
+        'bridge_enable_no' => 'ezgaitu',
+        'error_must_not_be_empty' => 'ez da utsik egon behar',
+        'error_either_be' => 'must either be %s or %s',
+        'error_folder_not_exist' => '%s doesn\'t exist. Correct the value you entered for %s',
+        'error_cookie_not_readible' => 'Coppermine can\'t read a cookie named %s. Correct the value you entered for %s, or go to your BBS administration panel and make sure that the cookie path is readible for coppermine.',
+        'error_mandatory_field_empty' => 'You can not leave the field %s blank - fill in the proper value.',
+        'error_no_trailing_slash' => 'There mustn\'t be a trailing slash in the field %s.',
+        'error_trailing_slash' => 'There must be a trailing slash in the field %s.',
+        'error_db_connect' => 'Could not connect to the mySQL database with the data you specified. Here\'s what mySQL said:',
+        'error_db_name' => 'Although Coppermine could establish a connection, it wasn\'t able to find the database %s. Make sure you have specified %s properly. Here\'s what mySQL said:',
+        'error_prefix_and_table' => '%s and ',
+        'error_db_table' => 'Could not find the table %s. Make sure you have specified %s correctly.',
+        'recovery_title' => 'Bridge Manager: emergency recovery',
+        'recovery_explanation' => 'If you came here to administer the BBS integration of your Coppermine gallery, you have to log in first as admin. If you can not log in because bridging doesn\'t work as expected, you can disable BBS integration with this page. Entering your username and password will not log you in, it will only disable BBS integration. Refer to the documentation for details.',
+        'username' => 'Erabiltzailea',
+        'password' => 'Pasahitza',
+        'disable_submit' => 'bidali',
+        'recovery_success_title' => 'Authorization successfull',
+        'recovery_success_content' => 'You have successfully disabled BBS bridging. Your Coppermine install runs now in standalone mode.',
+        'recovery_success_advice_login' => 'Log in as admin to edit your bridge settings and/or enable BBS integration again.',
+        'goto_login' => 'Sarrera orrira joan',
+        'goto_bridgemgr' => 'Go to bridge manager',
+        'recovery_failure_title' => 'Authorization failed',
+        'recovery_failure_content' => 'You supplied the wrong credentials. You will have to supply the admin account data of the standalone version (usually the account you set up during Coppermine install).',
+        'try_again' => 'try again',
+        'recovery_wait_title' => 'Wait time has not elapsed',
+        'recovery_wait_content' => 'For security reasons this script does not allow failed logons in short succession, so you will have to wait a bit untill you\'re allowed to try to authenticate.',
+        'wait' => 'wait',
+        'create_redir_file' => 'Create redirection file (recommended)',
+        'create_redir_file_explanation' => 'To redirect users back to Coppermine once they logged into your BBS, you need a redirection file to be created within your BBS folder. When this option is checked, the bridge manager will attempt to create this file for you, or give you code ready to copy-and-paste to create the file manually.',
+        'browse' => 'arakatu',
+);
+
+// ------------------------------------------------------------------------- //
+// File calendar.php //cpg1.4
+// ------------------------------------------------------------------------- //
+
+if (defined('CALENDAR_PHP')) $lang_calendar_php = array(
+        'title' => 'Egutegia', //cpg1.4
+        'close' => 'Itxi', //cpg1.4
+        'clear_date' => 'gabitu data', //cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File catmgr.php
+// ------------------------------------------------------------------------- //
+
+if (defined('CATMGR_PHP')) $lang_catmgr_php = array(
+        'miss_param' => 'Behar ditudan parametroak: \'%s\' ez dizkidazu eman!',
+        'unknown_cat' => 'Aukeratu duzun kategoria ez dago datu basean',
+        'usergal_cat_ro' => 'Erabiltzaileen bildumen kategoriak ezin dituzu ezabatu!',
+        'manage_cat' => 'Kategorien antolatzailea',
+        'confirm_delete' => 'Seguru kategoria hau ezabatu nahi duzula?',
+        'category' => 'Kategoria',
+        'operations' => 'Ekintzak',
+        'move_into' => 'Hona mugitu',
+        'update_create' => 'Kategoria eraldatu / sortu',
+        'parent_cat' => 'Kategoria nagusia',
+        'cat_title' => 'Kategoriaren izenburua',
+        'cat_thumb' => 'Kategoriaren miniatura', //cpg1.3.0
+        'cat_desc' => 'Kategoriaren deskribapena',
+        'categories_alpha_sort' => 'Kategoriak alfabetikoki ordenatu', //cpg1.4
+        'save_cfg' => 'Konfigurazioa gorde', //cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File admin.php //cpg1.4
+// ------------------------------------------------------------------------- //
+
+if (defined('ADMIN_PHP')) $lang_admin_php = array(
+  'title' => 'Bildumen konfigurazioa', //cpg1.4
+  'manage_exif' => 'Exif datuak kudeatu', //cpg1.4
+  'manage_plugins' => 'Pluginak kudeatu', //cpg1.4
+  'manage_keyword' => 'Manage keywords', //cpg1.4
+  'restore_cfg' => 'Defektuzko ezarpenak berrezarri',
+  'save_cfg' => 'Konfigurazio berria gorde',
+  'notes' => 'Oharrak',
+  'info' => 'Informazioa',
+  'upd_success' => 'Coppermineren konfigurazioa eguneratu dut',
+  'restore_success' => 'Coppermineren jatorrizko konfigurazioa berrezarrita',
+  'name_a' => 'Izena gorako',
+  'name_d' => 'Izena beherako',
+  'title_a' => 'Izenburua gorako',
+  'title_d' => 'Izenburua beherako',
+  'date_a' => 'Data gorako',
+  'date_d' => 'Data beherako',
+  'pos_a' => 'Posizioa gorako', //cpg1.4
+  'pos_d' => 'Posizioa beherako', //cpg1.4
+  'th_any' => 'Max Aspect',
+  'th_ht' => 'Zabalera',
+  'th_wd' => 'Altuera',
+  'label' => 'etiketa',
+  'item' => 'elementua',
+  'debug_everyone' => 'denek',
+  'debug_admin' => 'Admin soilik',
+  'no_logs'=> 'Off', //cpg1.4
+  'log_normal'=> 'Normala', //cpg1.4
+  'log_all' => 'Dena', //cpg1.4
+  'view_logs' => 'Logak ikusi', //cpg1.4
+  'click_expand' => 'atal izenean egin klik zabaltzeko', //cpg1.4
+  'expand_all' => 'Zabaldu guztiak', //cpg1.4
+  'notice1' => '(*) Ezarpen hauek aldatu behar dira oraindik datubasean fitxategiak badituzu.', //cpg1.4 - (relocated)
+  'notice2' => '(**) Ezarpen hau aldatutakoan handik aurrera igotako fitxategietan izango du eragina, beraz ez aldatu ezarpenak bilduman fitxategiak badaude. Hala ere, lehenagoko fitxategiei ezarpen berriak aplikatu ahal dizkiozu &quot;<a href="util.php">admin tresnak</a> (irudiak moldatu)&quot; erabiliz.', //cpg1.4 - (relocated)
+  'notice3' => '(***) Log guztiak ingelesez daude :-(.', //cpg1.4 - (relocated)
+  'bbs_disabled' => 'Funtzio ezgaitua bb integrazioa erabiltzean', //cpg1.4
+  'auto_resize_everyone' => 'Guztiak', //cpg1.4
+  'auto_resize_user' => 'Erabiltzailea soilik', //cpg1.4
+  'ascending' => 'gorako', //cpg1.4
+  'descending' => 'beherako', //cpg1.4
+);
+
+if (defined('ADMIN_PHP')) $lang_admin_data = array(
+  'Ezarpen orokorrak',
+  array('Bildumaren izena', 'gallery_name', 0, 'f=index.htm&amp;as=admin_general_name&amp;ae=admin_general_name_end'), //cpg1.4
+  array('Bildumaren deskripzioa', 'gallery_description', 0, 'f=index.htm&amp;as=admin_general_description&amp;ae=admin_general_description_end'), //cpg1.4
+  array('Bildumaren administradorearen ePosta', 'gallery_admin_email', 0, 'f=index.htm&amp;as=admin_general_email&amp;ae=admin_general_email_end'), //cpg1.4
+  array('Bildumaren direktorioaren URLa (\'index.php\' edo halakorik ez jarri amaieran)', 'ecards_more_pic_target', 0, 'f=index.htm&amp;as=admin_general_coppermine-url&amp;ae=admin_general_coppermine-url_end'), //cpg1.4
+  array('Home pageren URLa', 'home_target', 0, 'f=index.htm&amp;as=admin_general_home-url&amp;ae=admin_general_home-url_end'), //cpg1.4
+  array('Onartu gogokoen ZIP-deskargak', 'enable_zipdownload', 1, 'f=index.htm&amp;as=admin_general_zip-download&amp;ae=admin_general_zip-download_end'), //cpg1.4
+  array('GMTrekin konparatuz desberdintasuna (Oraingo ordua: ' . localised_date(-1, $comment_date_fmt) . ')','time_offset',0, 'f=index.htm&amp;as=admin_general_time-offset&amp;ae=admin_general_time-offset_end&amp;top=1'), //cpg1.4
+  array('Pasahitz enkriptatuak gaitu (gero ezin izango da aldatu)','enable_encrypted_passwords',1, 'f=index.htm&amp;as=admin_general_encrypt_password_start&amp;ae=admin_general_encrypt_password_end&amp;top=1'), // cpg 1.4
+  array('Laguntza ikonoak gaitu (ingelesez soilik)','enable_help',9, 'f=index.htm&amp;as=admin_general_help&amp;ae=admin_general_help_end'), //cpg1.4
+  array('Bilaketetan hitz gako klikagarriak gaitu','clickable_keyword_search',14, 'f=index.htm&amp;as=admin_general_keywords_start&amp;ae=admin_general_keywords_end'), //cpg1.4
+  array('Pluginak gaitu', 'enable_plugins', 12, 'f=index.htm&amp;as=admin_general_enable-plugins&amp;ae=admin_general_enable-plugins_end'),  //cpg1.4
+  array('IP ez bideragarrien (pribatuak) baneoa gaitu', 'ban_private_ip', 1,  'f=index.htm&amp;as=admin_general_private-ip&amp;ae=admin_general_private-ip_end'), //cpg1.4
+  array('Batch-gehiketa interfaze nabegagarria', 'browse_batch_add', 1, 'f=index.htm&amp;as=admin_general_browsable_batch_add&amp;ae=admin_general_browsable_batch_add_end'), //cpg1.4
+
+  'Hizkuntza eta karaktere jokuaren ezarpenak',
+  array('Hizkuntza', 'lang', 5, 'f=index.htm&amp;as=admin_language_language&amp;ae=admin_language_language_end'), //cpg1.4
+  array('Ingelesez pantailaratu esaldia topatu ezean?', 'language_fallback', 1, 'f=index.htm&amp;as=admin_language_fallback&amp;ae=admin_language_fallback_end'), //cpg1.4
+  array('Karaktere kodeketa', 'charset', 4, 'f=index.htm&amp;as=admin_language_charset&amp;ae=admin_language_charset_end'), //cpg1.4
+  array('Hizkuntza zerrenda pantailaratu', 'language_list', 1, 'f=index.htm&amp;as=admin_language_list&amp;ae=admin_language_list_end'), //cpg1.4
+  array('Hizkuntzen ikurrak pantailaratu', 'language_flags', 8, 'f=index.htm&amp;as=admin_language_flags&amp;ae=admin_language_flags_end&amp;top=1'), //cpg1.4
+  array('Hizkuntzen atalean &quot;reset&quot; pantailaratu', 'language_reset', 1, 'f=index.htm&amp;as=admin_language_reset&amp;ae=admin_language_reset_end&amp;top=1'), //cpg1.4
+  //array('Display previous/next on tabbed pages', 'previous_next_tab', 1), //cpg1.4
+
+  'Gaien ezarpenak (itxura)',
+  array('Gaia', 'theme', 6, 'f=index.htm&amp;as=admin_theme_theme&amp;ae=admin_theme_theme_end'), //cpg1.4
+  array('Gaien zerrenda pantailaratu', 'theme_list', 1, 'f=index.htm&amp;as=admin_theme_theme_list&amp;ae=admin_theme_theme_list_end'), //cpg1.4
+  array('Gaien atalean &quot;reset&quot; pantailaratu', 'theme_reset', 1, 'f=index.htm&amp;as=admin_theme_theme_reset&amp;ae=admin_theme_theme_reset_end'), //cpg1.4
+  array('FAQak pantailaratu', 'display_faq', 1, 'f=index.htm&amp;as=admin_theme_faq&amp;ae=admin_theme_faq_end'), //cpg1.4
+  array('Menu pertsonalizatuaren loturaren izena', 'custom_lnk_name', 0,'f=index.htm&amp;as=admin_theme_custom_lnk_name&amp;ae=admin_theme_custom_lnk_name_end'), //cpg1.4
+  array('Menu pertsonalizatuaren loturaren URLa', 'custom_lnk_url', 0,'f=index.htm&amp;as=admin_language_custom_lnk_url&amp;ae=admin_language_custom_lnk_url_end'), //cpg1.4
+  array('bbcode laguntza pantailaratu', 'show_bbcode_help', 1, 'f=index.htm&amp;as=admin_theme_bbcode&amp;ae=admin_theme_bbcode_end&amp;top=1'), //cpg1.4
+  array('Vanity block erakutsi XHTML eta CSS estandarra daukaten gaietan','vanity_block',1, 'f=index.htm&amp;as=vanity_block&amp;ae=vanity_block_end'), //cpg1.4
+  array('Goiburu pertsonalizatuaren includeren PATHa', 'custom_header_path', 0, 'f=index.htm&amp;as=admin_theme_include_path_start&amp;ae=admin_theme_include_path_end'), //cpg1.4
+  array('Orrioin pertsonalizatuaren includeren PATHa', 'custom_footer_path', 0, 'f=index.htm&amp;as=admin_theme_include_path_start&amp;ae=admin_theme_include_path_end'), //cpg1.4
+
+  'Bildumen zerrendaren bista',
+  array('Taula nagusiaren zabalera (pixelak edo %)', 'main_table_width', 0, 'f=index.htm&amp;as=admin_album_table-width&amp;ae=admin_album_table-width_end'), //cpg1.4
+  array('Pantailaratu beharreko kategorien maila', 'subcat_level', 0, 'f=index.htm&amp;as=admin_album_category-levels&amp;ae=admin_album_category-levels_end'), //cpg1.4
+  array('Pantailaratu beharreko bildumakNumber of albums to display', 'albums_per_page', 0, 'f=index.htm&amp;as=admin_album_number&amp;ae=admin_album_number_end'), //cpg1.4
+  array('Zenbat zutabe bilduma zerrendan', 'album_list_cols', 0, 'f=index.htm&amp;as=admin_album_columns&amp;ae=admin_album_columns_end'), //cpg1.4
+  array('Miniaturen tamaina pixeletan', 'alb_list_thumb_size', 0, 'f=index.htm&amp;as=admin_album_thumbnail-size&amp;ae=admin_album_thumbnail-size_end'), //cpg1.4
+  array('Orri nagusiaren edukina', 'main_page_layout', 0, 'f=index.htm&amp;as=admin_album_list_content&amp;ae=admin_album_list_content_end'), //cpg1.4
+  array('Lehenengo mailaren miniaturak kategorietan pantailaratu','first_level',1, 'f=index.htm&amp;as=admin_album_first-level_thumbs&amp;ae=admin_album_first-level_thumbs_end'), //cpg1.4
+  array('Kategoriak alfabetikoki ordenatu ','categories_alpha_sort',1, 'f=index.htm&amp;as=admin_album_list_alphasort_start&amp;ae=admin_album_list_alphasort_end'), //cpg1.4
+  array('Erakutsi zenbat fitxategi dagoen linkatuta','link_pic_count',1, 'f=index.htm&amp;as=admin_album_linked_files_start&amp;ae=admin_album_linked_files_end'), //cpg1.4
+
+  'Miniaturen bista',
+  array('Zenbat zutabe miniaturen orrian', 'thumbcols', 0, 'f=index.htm&amp;as=admin_thumbnail_columns&amp;ae=admin_thumbnail_columns_end'), //cpg1.4
+  array('Zenbat lerro miniaturen orrian', 'thumbrows', 0, 'f=index.htm&amp;as=admin_thumbnail_rows&amp;ae=admin_thumbnail_rows_end'), //cpg1.4
+  array('Fitxa gehienezko kopurua pantailaratzeko', 'max_tabs', 10, 'f=index.htm&amp;as=admin_thumbnail_tabs&amp;ae=admin_thumbnail_tabs_end'), //cpg1.4
+  array('File caption pantailaratu (izenburuaz gain) miniaturaren azpian', 'caption_in_thumbview', 1, 'f=index.htm&amp;as=admin_thumbnail_display_caption&amp;ae=admin_thumbnail_display_caption_end'), //cpg1.4
+  array('Zenbat aldiz ikusia pantailaratu miniaturaren azpian', 'views_in_thumbview', 1, 'f=index.htm&amp;as=admin_thumbnail_display_views&amp;ae=admin_thumbnail_display_views_end'), //cpg1.4
+  array('Iruzkin kopurua pantailaratu miniaturaren azpian', 'display_comment_count', 1, 'f=index.htm&amp;as=admin_thumbnail_display_comments&amp;ae=admin_thumbnail_display_comments_end'), //cpg1.4
+  array('Igo duenaren izena pantailaratu miniaturaren azpian', 'display_uploader', 1, 'f=index.htm&amp;as=admin_thumbnail_display_uploader&amp;ae=admin_thumbnail_display_uploader_end'), //cpg1.4
+  //array('Display name of admin uploaders below the thumbnail', 'display_admin_uploader', 1, 'f=index.htm&amp;as=admin_thumbnail_display_admin_uploader&amp;ae=admin_thumbnail_display_admin_uploader_end'), //cpg1.4
+  array('Fitxategiaren izena panatailaratu miniaturaren azpian', 'display_filename', 1, 'f=index.htm&amp;as=admin_thumbnail_display_filename&amp;ae=admin_thumbnail_display_filename_end'), //cpg1.4
+  //array('Bildumaren deskripzioa pantailaratu', 'alb_desc_thumb', 1, 'f=index.htm&amp;as=admin_thumbnail_display_description&amp;ae=admin_thumbnail_display_description_end'), //cpg1.4
+  array('Horrela ordenatu miniaturak', 'default_sort_order', 3, 'f=index.htm&amp;as=admin_thumbnail_default_sortorder&amp;ae=admin_thumbnail_default_sortorder_end'), //cpg1.4
+  array('\'Gogokoak\' atalean agertzeko gutxienezko botu kopurua', 'min_votes_for_', 0, 'f=index.htm&amp;as=admin_thumbnail_minimum_votes&amp;ae=admin_thumbnail_minimum_votes_end'), //cpg1.4
+
+  'Irudien bista', //cpg1.4
+  array('Fitxategiak pantailaratzeko taularen zabalera (pixelak edo %)', 'picture_table_width', 0, 'f=index.htm&amp;as=admin_image_comment_table-width&amp;ae=admin_image_comment_table-width_end'), //cpg1.4
+  array('Fitxategiaren infoa ikusgai defektuz', 'display_pic_info', 1, 'f=index.htm&amp;as=admin_image_comment_info_visible&amp;ae=admin_image_comment_info_visible_end'), //cpg1.4
+  array('Irudien deskripzioaren luzeera gehienez', 'max_img_desc_length', 0, 'f=index.htm&amp;as=admin_image_comment_descr_length&amp;ae=admin_image_comment_descr_length_end'), //cpg1.4
+  array('Hitz batean karaktere kopurua gehienez', 'max_com_wlength', 0, 'f=index.htm&amp;as=admin_image_comment_chars_per_word&amp;ae=admin_image_comment_chars_per_word_end'), //cpg1.4
+  array('Pelikula tira erakutsi', 'display_film_strip', 1, 'f=index.htm&amp;as=admin_image_comment_filmstrip_toggle&amp;ae=admin_image_comment_filmstrip_toggle_end'), //cpg1.4
+  array('Fitxategiaren izena pelikula tirako miniaturen azpian pantailaratu', 'display_film_strip_filename', 1, 'f=index.htm&amp;as=admin_image_comment_display_film_strip_filename&amp;ae=admin_image_comment_display_film_strip_filename_end'), //cpg1.4
+  array('Zenbat elementu pelikula tiran', 'max_film_strip_items', 0, 'f=index.htm&amp;as=admin_image_comment_filmstrip_number&amp;ae=admin_image_comment_filmstrip_number_end'), //cpg1.4
+  array('Diapositiba pasearen interbaloa milisegundutan (segundu 1 = 1000 milisegundu)', 'slideshow_interval', 0, 'f=index.htm&amp;as=admin_image_comment_slideshow_interval&amp;ae=admin_image_comment_slideshow_interval_end'), //cpg1.4
+
+  'Iruzkinen ezarpenak', //cpg1.4
+  array('Filtratu hitz sakarrak iruzkinetan', 'filter_bad_words', 1, 'f=index.htm&amp;as=admin_image_comment_bad_words&amp;ae=admin_image_comment_bad_words_end'), //cpg1.4
+  array('Onartu smileak iruzkinetan', 'enable_smilies', 1, 'f=index.htm&amp;as=admin_image_comment_smilies&amp;ae=admin_image_comment_smilies_end'), //cpg1.4
+  array('Onartu iruzkin batzuk jarraian erabiltzaile berberarenak (flood babespena ezgaitu)', 'disable_comment_flood_protect', 1, 'f=index.htm&amp;as=admin_image_comment_flood&amp;ae=admin_image_comment_flood_end'), //cpg1.4
+  array('Zenbat lerro gehienez iruzkinetan', 'max_com_lines', 0, 'f=index.htm&amp;as=admin_image_comment_lines&amp;ae=admin_image_comment_lines_end'), //cpg1.4
+  array('Iruzkinen luzeera gehienez', 'max_com_size', 0, 'f=index.htm&amp;as=admin_image_comment_length&amp;ae=admin_image_comment_length_end'), //cpg1.4
+  array('Administradorea ePostaz ohatu iruzkinez', 'email_comment_notification', 1, 'f=index.htm&amp;as=admin_image_comment_admin_notify&amp;ae=admin_image_comment_admin_notify_end'), //cpg1.4
+  array('Horrela ordenatu iruzkinak', 'comments_sort_descending', 17, 'f=index.htm&amp;as=admin_comment_sort_start&amp;ae=admin_comment_sort_end'), //cpg1.4
+  array('Aurrizkia anonimoen iruzkinetarako', 'comments_anon_pfx', 0, 'f=index.htm&amp;as=comments_anon_pfx&amp;ae=comments_anon_pfx_end'), //cpg1.4
+
+  'Fitxategi eta miniaturen ezarpenak',
+  array('JPEG fitxategien kalitatea', 'jpeg_qual', 0, 'f=index.htm&amp;as=admin_picture_thumbnail_jpeg_quality&amp;ae=admin_picture_thumbnail_jpeg_quality_end'), //cpg1.4
+  array('Miniaturen gehinezko tamaina <a href="#notice2" class="clickable_option">**</a>', 'thumb_width', 0, 'f=index.htm&amp;as=admin_picture_thumbnail_max-dimension&amp;ae=admin_picture_thumbnail_max-dimension_end'), //cpg1.4
+  array('Erabili beharreko dimentsioa ( altuera, zabalera edo handiena ) <a href="#notice2" class="clickable_option">**</a>', 'thumb_use', 7, 'f=index.htm&amp;as=admin_picture_thumbnail_use-dimension&amp;ae=admin_picture_thumbnail_use-dimension_end'), //cpg1.4
+  array('Tarteko irudiak sortu','make_intermediate',1, 'f=index.htm&amp;as=admin_picture_thumbnail_intermediate_toggle&amp;ae=admin_picture_thumbnail_intermediate_toggle_end'), //cpg1.4
+  array('Tarteko irudi/bideoen zabalera/luzeera gehienez <a href="#notice2" class="clickable_option">**</a>', 'picture_width', 0, 'f=index.htm&amp;as=admin_picture_thumbnail_intermediate_dimension&amp;ae=admin_picture_thumbnail_intermediate_dimension_end'), //cpg1.4
+  array('Igotako fitxategien tamaina gehienez (KB)', 'max_upl_size', 0, 'f=index.htm&amp;as=admin_picture_thumbnail_max_upload_size&amp;ae=admin_picture_thumbnail_max_upload_size_end'), //cpg1.4
+  array('Igotako fitxtegien zabalera/luzeera gehienez (pixelak)', 'max_upl_width_height', 0, 'f=index.htm&amp;as=admin_picture_thumbnail_max_upload_dimension&amp;ae=admin_picture_thumbnail_max_upload_dimension_end'), //cpg1.4
+  array('Irudi handiegiak moldatu', 'auto_resize', 16, 'f=index.htm&amp;as=admin_picture_thumbnail_auto-resize&amp;ae=admin_picture_thumbnail_auto-resize_end'), //cpg1.4
+
+  'Fitxategi eta miniaturen ezarpen aurreratuak',
+  array('Bildumak pribatuak izan daitezke (Oharra: \'BAI\' izanda \'EZ\' jarriz gero egon daitezkeen bilduma pribatuak publiko bihurtuko dira)', 'allow_private_albums', 1, 'f=index.htm&amp;as=admin_picture_thumb_advanced_private_toggle&amp;ae=admin_picture_thumb_advanced_private_toggle_end'), //cpg1.4
+  array('Erakutsi bilduma pribatuaren ikonoa logeatutako erabiltzaileei','show_private',1, 'f=index.htm&amp;as=admin_picture_thumb_advanced_private_icon_show&amp;ae=admin_picture_thumb_advanced_private_icon_show_end'), //cpg1.4
+  array('Fitxategi izenaten debekatutako karaktereak', 'forbiden_fname_char',0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_filename_forbidden_chars&amp;ae=admin_picture_thumb_advanced_filename_forbidden_chars_end'), //cpg1.4
+  //array('Accepted file extensions for uploaded pictures', 'allowed_file_extensions',0, 'f=index.htm&amp;as=&amp;ae=_end'), //cpg1.4
+  array('Onartzen diren irudi motak', 'allowed_img_types',0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_pic_extensions&amp;ae=admin_picture_thumb_advanced_pic_extensions_end'), //cpg1.4
+  array('Onartzen diren bideo motak', 'allowed_mov_types',0, 'f=index.htm&amp;as=admin_thumbs_advanced_movie&amp;ae=admin_thumbs_advanced_movie_end'), //cpg1.4
+  array('Bideoen hasiera automatikoa', 'media_autostart',1, 'f=index.htm&amp;as=admin_movie_autoplay&amp;ae=admin_movie_autoplay_end'), //cpg1.4
+  array('Onartzen diren audio motak', 'allowed_snd_types',0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_audio_extensions&amp;ae=admin_picture_thumb_advanced_audio_extensions_end'), //cpg1.4
+  array('Onartzen diren dokumentu motak', 'allowed_doc_types',0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_doc_extensions&amp;ae=admin_picture_thumb_advanced_doc_extensions_end'), //cpg1.4
+  array('Irudiak moldatzeko era','thumb_method',2, 'f=index.htm&amp;as=admin_picture_thumb_advanced_resize_method&amp;ae=admin_picture_thumb_advanced_resize_method_end'), //cpg1.4
+  array('ImageMagick-en \'convert\' tresnarako PATHa (adib: /usr/bin/X11/)', 'impath', 0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_im_path&amp;ae=admin_picture_thumb_advanced_im_path_end'), //cpg1.4
+  //array('Allowed image types (only valid for ImageMagick)', 'allowed_img_types',0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_allowed_imagetypes&amp;ae=admin_picture_thumb_advanced_allowed_imagetypes_end'), //cpg1.4
+  array('ImageMagick-entzako komando lerroaren aukerak', 'im_options', 0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_im_commandline&amp;ae=admin_picture_thumb_advanced_im_commandline_end'), //cpg1.4
+  array('JPEG fitxategien EXIF datuak irakurri', 'read_exif_data', 13, 'f=index.htm&amp;as=admin_picture_thumb_advanced_exif&amp;ae=admin_picture_thumb_advanced_exif_end'), //cpg1.4
+  array('JPEG fitxategien IPTC datuak irakurri', 'read_iptc_data', 1, 'f=index.htm&amp;as=admin_picture_thumb_advanced_iptc&amp;ae=admin_picture_thumb_advanced_iptc_end'), //cpg1.4
+  array('Bildumaren direktorioa <a href="#notice1" class="clickable_option">*</a>', 'fullpath', 0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_albums_dir&amp;ae=admin_picture_thumb_advanced_albums_dir_end'), //cpg1.4
+  array('Erabiltzaileen fitxategien direktorioa <a href="#notice1" class="clickable_option">*</a>', 'userpics', 0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_userpics_dir&amp;ae=admin_picture_thumb_advanced_userpics_dir_end'), //cpg1.4
+  array('Tarteko irudien aurrizkia <a href="#notice1" class="clickable_option">*</a>', 'normal_pfx', 0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_intermediate_prefix&amp;ae=admin_picture_thumb_advanced_intermediate_prefix_end'), //cpg1.4
+  array('Miniaturen aurrizkia <a href="#notice1" class="clickable_option">*</a>', 'thumb_pfx', 0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_thumbs_prefix&amp;ae=admin_picture_thumb_advanced_thumbs_prefix_end'), //cpg1.4
+  array('Direktorioen defektuzko era', 'default_dir_mode', 0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_chmod_folder&amp;ae=admin_picture_thumb_advanced_chmod_folder_end'), //cpg1.4
+  array('Fitxategien defektuzko era', 'default_file_mode', 0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_chmod_files&amp;ae=admin_picture_thumb_advanced_chmod_files_end'), //cpg1.4
+
+  'Erabiltzaileen ezarpenak',
+  array('Erabiltzaile berriak alta ematea gaitu', 'allow_user_registration', 1, 'f=index.htm&amp;as=admin_allow_registration&amp;ae=admin_allow_registration_end'), //cpg1.4
+  array('Logeatu gabeko erabiltzaileak sartzea onartu (gonbidatua edo anonimoa)', 'allow_unlogged_access', 1, 'f=index.htm&amp;as=admin_allow_unlogged_access&amp;ae=admin_allow_unlogged_access_end'), //cpg1.4
+  array('Erabiltzaileek alta emateko ePosta baieztapena derrigorrezkoa da', 'reg_requires_valid_email', 1, 'f=index.htm&amp;as=admin_registration_verify&amp;ae=admin_registration_verify_end'), //cpg1.4
+  array('Alta berriez administradorea ePostaz ohartu', 'reg_notify_admin_email', 1, 'f=index.htm&amp;as=admin_registration_notify&amp;ae=admin_registration_notify_end'), //cpg1.4
+  array('Adminaren alten aktibazioa', 'admin_activation', 1, 'f=index.htm&amp;as=admin_activation&amp;ae=admin_activation_end'),  //cpg1.4
+  array('Onartu bi erabiltzailek ePosta berbera edukitzea', 'allow_duplicate_emails_addr', 1, 'f=index.htm&amp;as=admin_allow_duplicate_emails_addr&amp;ae=admin_allow_duplicate_emails_addr_end'), //cpg1.4
+  array('Onarpena behar dutenen igoeraz administradorea ePostaz ohartu', 'upl_notify_admin_email', 1, 'f=index.htm&amp;as=admin_approval_notify&amp;ae=admin_approval_notify_end'), //cpg1.4
+  array('Onartu logeatutako erabiltzaileek bazkideen zerrenda ikustea', 'allow_memberlist', 1, 'f=index.htm&amp;as=admin_user_memberlist&amp;ae=admin_user_memberlist_end'), //cpg1.4
+  array('Onartu erabiltzaileen berhaien ePosta aldatu ahal izatea', 'allow_email_change', 1, 'f=index.htm&amp;as=admin_user_allow_email_change&amp;ae=admin_user_allow_email_change_end'), //cpg1.4
+  array('Onartu erabiltzaileek mantentzea berhaien irudien kontrola bilduma publikoetan', 'users_can_edit_pics', 1, 'f=index.htm&amp;as=admin_user_editpics_public_start&amp;ae=admin_user_editpics_public_end'), //cpg1.4
+  array('Zenbat login saiakera oker behin behineko baneaketa baino lehen (indar hutsezko erasoak ekiditzeko)', 'login_threshold', 0, 'f=index.htm&amp;as=admin_user_login_start&amp;ae=admin_user_login_end'), //cpg1.4
+  array('Zenbat irauten du behin behineko baneoa', 'login_expiry', 0, 'f=index.htm&amp;as=admin_user_login_start&amp;ae=admin_user_login_end'), //cpg1.4
+  array('Administradorearea ohartzea gaitu', 'report_post', 1, 'f=index.htm&amp;as=admin_user_enable_report&amp;ae=admin_user_enable_report_end'),  //cpg1.4
+
+// custom profile fields,  //cpg1.4
+  'Eremu pertsonalizatuak erabiltzaileen profiletarako (hutsik erabili ezean).
+  Erabili profila 6 kontu luzeetarako, biografia adibidez', //cpg1.4
+  array('Profila 1 izena', 'user_profile1_name', 0, 'f=index.htm&amp;as=admin_custom&amp;ae=admin_custom_end'), //cpg1.4
+  array('Profila 2 izena', 'user_profile2_name', 0), //cpg1.4
+  array('Profila 3 izena', 'user_profile3_name', 0), //cpg1.4
+  array('Profila 4 izena', 'user_profile4_name', 0), //cpg1.4
+  array('Profila 5 izena', 'user_profile5_name', 0), //cpg1.4
+  array('Profila 6 izena', 'user_profile6_name', 0), //cpg1.4
+
+  'Eremu pertsonalizatuak irudiak deskribatzeko (hutsik erabili ezean)',
+  array('Eremu 1 izena', 'user_field1_name', 0, 'f=index.htm&amp;as=admin_custom_image&amp;ae=admin_custom_image_end'), //cpg1.4
+  array('Eremu 2 izena', 'user_field2_name', 0),
+  array('Eremu 3 izena', 'user_field3_name', 0),
+  array('Eremu 4 izena', 'user_field4_name', 0),
+
+  'Cookien ezarpenak',
+  array('Cookie izena', 'cookie_name', 0, 'f=index.htm&amp;as=admin_cookie_name&amp;ae=admin_cookie_name_end'), //cpg1.4
+  array('Cookie PATHa', 'cookie_path', 0, 'f=index.htm&amp;as=admin_cookie_path&amp;ae=admin_cookie_path_end'), //cpg1.4
+
+  'ePostaren ezarpenak  (normalean hemen ez da ezer aldatu behar; seguru ez bazaude utzi eremu guztiak zuri)', //cpg1.4
+  array('SMTP Host-a (zuri egonez gero Sendmail erabiliko da)', 'smtp_host', 0, 'f=index.htm&amp;as=admin_email&amp;ae=admin_email_end'), //cpg1.4
+  array('SMTP Erabiltzailea', 'smtp_username', 0), //cpg1.4
+  array('SMTP Pasahitza', 'smtp_password', 0), //cpg1.4
+
+  'Logak eta estatistikak', //cpg1.4
+  array('Logatzeko era <a href="#notice3" class="clickable_option">***</a>', 'log_mode', 11, 'f=index.htm&amp;as=admin_logging_log_mode&amp;ae=admin_logging_log_mode_end'), //cpg1.4
+  array('eCardak logatu', 'log_ecards', 1, 'f=index.htm&amp;as=admin_general_log_ecards&amp;ae=admin_general_log_ecards_end'), //cpg1.4
+  array('Gorde bozketen estatistika zehatzak','vote_details',1, 'f=index.htm&amp;as=admin_logging_votedetails&amp;ae=admin_logging_votedetails_end'), //cpg1.4
+  array('Gorde hiten estatistika zehatzak','hit_details',1, 'f=index.htm&amp;as=admin_logging_hitdetails&amp;ae=admin_logging_hitdetails_end'), //cpg1.4
+
+  'Mantenimendu ezarpenak', //cpg1.4
+  array('Debug era gaitu', 'debug_mode', 9, 'f=index.htm&amp;as=debug_mode&amp;ae=debug_mode_end'), //cpg1.4
+  array('Oharrak erakutsi debug eran', 'debug_notice', 1, 'f=index.htm&amp;as=admin_misc_debug_notices&amp;ae=admin_misc_debug_notices_end'), //cpg1.4
+  array('Bilduma offline dago', 'offline', 1, 'f=index.htm&amp;as=admin_general_offline&amp;ae=admin_general_offline_end'), //cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File db_ecard.php //cpg1.3.0
+// ------------------------------------------------------------------------- //
+
+if (defined('DB_ECARD_PHP')) $lang_db_ecard_php = array(
+        'title' => 'Bidalitako postalak', //cpg1.3.0
+        'ecard_sender' => 'Igorlea', //cpg1.3.0
+        'ecard_recipient' => 'Jasotzailea', //cpg1.3.0
+        'ecard_date' => 'Data', //cpg1.3.0
+        'ecard_display' => 'Postala erakutsi', //cpg1.3.0
+        'ecard_name' => 'Izena', //cpg1.3.0
+        'ecard_email' => 'ePosta', //cpg1.3.0
+        'ecard_ip' => 'IPa #', //cpg1.3.0
+        'ecard_ascending' => 'gorako', //cpg1.3.0
+        'ecard_descending' => 'beherako', //cpg1.3.0
+        'ecard_sorted' => 'Ordena', //cpg1.3.0
+        'ecard_by_date' => 'dataren arabera', //cpg1.3.0
+        'ecard_by_sender_name' => 'igorlearen arabera', //cpg1.3.0
+        'ecard_by_sender_email' => 'igorlearen ePostaren arabera', //cpg1.3.0
+        'ecard_by_sender_ip' => 'igorlearen IParen arabera', //cpg1.3.0
+        'ecard_by_recipient_name' => 'jasotzailearen izenaren arabera', //cpg1.3.0
+        'ecard_by_recipient_email' => 'jasotzailearen ePostaren arabera', //cpg1.3.0
+        'ecard_number' => '%s tik %s rako errejistroak erakusten (Totala %s)', //cpg1.3.0
+        'ecard_goto_page' => 'orrira joan', //cpg1.3.0
+        'ecard_records_per_page' => 'Errejistroak orriko', //cpg1.3.0
+        'check_all' => 'Guztiak markatu', //cpg1.3.0
+        'uncheck_all' => 'Guztiak desmarkatu', //cpg1.3.0
+        'ecards_delete_selected' => 'Aukeratutako postalak ezabatu', //cpg1.3.0
+        'ecards_delete_confirm' => 'Seguru errejistro hauek ezabatunahi dituzula? checkboxa markatu!', //cpg1.3.0
+        'ecards_delete_sure' => 'Seguru nago', //cpg1.3.0
+);
+
+// ------------------------------------------------------------------------- //
+// File db_input.php
+// ------------------------------------------------------------------------- //
+
+if (defined('DB_INPUT_PHP')) $lang_db_input_php = array(
+        'empty_name_or_com' => 'Zure izena eta iruzkin batean idatzi behar duzu',
+        'com_added' => 'Zure iruzkina gehitu dut',
+        'alb_need_title' => 'Bildumaren izena idatzi behar duzu!',
+        'no_udp_needed' => 'Ez da aldaketarik behar',
+        'alb_updated' => 'Bilduma eguneratu dut',
+        'unknown_album' => 'Aukeratutako bilduma ez dago edo ez daukazu irudiak gehitzeko baimena',
+        'no_pic_uploaded' => 'Ez dut fitxategirik gehitu!<br /><br />Irudiak bidaltzen saiatu bazara ziurtatu zerbitzariak igoerak onartzen dituela...',
+        'err_mkdir' => 'Akatsa direktoria sortzean %s!',
+        'dest_dir_ro' => ' %s direktorioan ez daukazu idazteko baimena!',
+        'err_move' => 'Ezin izan dut %s  %s ra mugitu!',
+        'err_fsize_too_large' => 'Igo nahi duzun fitxategia handiegia da (onartzen den handiena %s x %s)',
+        'err_imgsize_too_large' => 'Igo nahi duzun fitxategia handiegia da (onartzen den handiena %s KB)',
+        'err_invalid_img' => 'Igo nahi duzun fitxategia ez da irudi fitxategi egokia',
+        'allowed_img_types' => '%s irudi igo ahal duzu soilik.',
+        'err_insert_pic' => 'Ezin izan dut \'%s\' fitxategia bilduman alta eman ',
+        'upload_success' => 'Fitxategia ondo gorde dut<br /><br />administradoreek baimendu ostean ikusi ahal izango da.',
+        'notify_admin_email_subject' => '%s - Oharra, fitxategi gehitua', //cpg1.3.0
+        'notify_admin_email_body' => '%s k zure oniritsia behar duen irudi bat gehitu du. Visita %s', //cpg1.3.0
+        'info' => 'Informazioa',
+        'com_added' => 'Iruzkina gehitu dut',
+        'alb_updated' => 'Bilduma eguneratua',
+        'err_comment_empty' => 'Iruzkina hutsik dago!',
+        'err_invalid_fext' => 'Estensio hauek dauzkaten fitxategiak onartzen dira soilik : <br /><br />%s.',
+        'no_flood' => 'Barkatu baina fitxategi honetan sartutako azken iruzkinaren egilea zara.<br /><br />Eraldatu nahi baduzu edita dezakezu',
+        'redirect_msg' => 'Berbidaltzen....<br /><br /><br />Sakatu \'JARRAITU\' orria automatikoki freskatzen ez bada',
+        'upl_success' => 'Fitxategia ondo gehitu dut',
+        'email_comment_subject' => 'Coppermine bilduman iruzkina gehitu dut', //cpg1.3.0
+        'email_comment_body' => 'Norbaitek iruzkin bat gehitu dio zure bildumari. Hemen ikus dezakezu', //cpg1.3.0
+        'album_not_selected' => 'Bilduma aukeratu gabe', //cpg1.4
+        'com_author_error' => 'Erabiltzaile izen hori hartuta dago, beste bat aukeratu', //cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File delete.php
+// ------------------------------------------------------------------------- //
+
+if (defined('DELETE_PHP')) $lang_delete_php = array(
+        'caption' => 'Izenburua',
+        'fs_pic' => 'tamaina osoko irudia',
+        'del_success' => 'zuzen ezabatua',
+        'ns_pic' => 'tamaina normaleko irudia',
+        'err_del' => 'ezin da ezabatu',
+        'thumb_pic' => 'miniatura',
+        'comment' => 'iruzkina',
+        'im_in_alb' => 'irudiak bilduman',
+        'alb_del_success' => '\'%s\' bilduma ezabatua',
+        'alb_mgr' => 'Bilduma antolatzailea',
+        'err_invalid_data' => 'Datu ez balidoak jaso ditut \'%s\'n',
+        'create_alb' => '\'%s\' bilduma sortzen',
+        'update_alb' => '\'%s\' bilduma eguneratzen : izenburua \'%s\' eta indizea \'%s\'',
+        'del_pic' => 'Fitxategia ezabatu',
+        'del_alb' => 'Bilduma ezabatu',
+        'del_user' => 'Erabiltzailea ezabatu',
+        'err_unknown_user' => 'Aukeratu duzun erabiltzailea ez dago!',
+        'err_empty_groups' => 'Ez dago taldeen taularik edo hutsik dago', //cpg1.4
+        'comment_deleted' => 'Iruzkina ezabatu dut',
+        'npic' => 'Irudia', //cpg1.4
+        'pic_mgr' => 'Irudien kudeatzailea', //cpg1.4
+        'update_pic' => ' \'%s\' eguneratzen \'%s\' fitxategi izenarekin eta \'%s\' indizearekin', //cpg1.4
+        'username' => 'Erabiltzaile izena', //cpg1.4
+        'anonymized_comments' => '%s iruzkin anonimizatuak', //cpg1.4
+        'anonymized_uploads' => '%s igoera publiko anonimizatuak', //cpg1.4
+        'deleted_comments' => '%s iruzkin ezabatuak', //cpg1.4
+        'deleted_uploads' => '%s igoera publiko ezabatuak', //cpg1.4
+        'user_deleted' => '%s erabiltzailea ezabatuta', //cpg1.4
+        'activate_user' => 'Erabiltzaile aktiboa', //cpg1.4
+        'user_already_active' => 'Kontua dagoeneko dago gaituta', //cpg1.4
+        'activated' => 'Gaituta', //cpg1.4
+        'deactivate_user' => 'Erabiltzailea gaitu', //cpg1.4
+        'user_already_inactive' => 'Kontua dagoeneko dago ezgaituta', //cpg1.4
+        'deactivated' => 'Ezgaituta', //cpg1.4
+        'reset_password' => 'Pasahitza(k) berrezarri', //cpg1.4
+        'password_reset' => '%s-ren pasahitza aldatuta', //cpg1.4
+        'change_group' => 'Nire talde nagusia aldatu', //cpg1.4
+        'change_group_to_group' => '%s-tik %s-ra aldatuta', //cpg1.4
+        'add_group' => 'Talde gahiagotan sartu', //cpg1.4
+        'add_group_to_group' => '%s erabiltzailea %s taldean gehituta. Orain bere talde nagusia %s da eta %s sekundarioa', //cpg1.4
+        'status' => 'Egoera', //cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File displayecard.php
+// ------------------------------------------------------------------------- //
+
+if (defined('DISPLAYECARD_PHP')) {
+
+$lang_displayecard_php = array(
+        'invalid_data' => 'Ikusi nahi duzu eCardaren data zure posta bezeroak apuntu du, zihurtatu lotura osorik dagoela.', //cpg1.4
+);
+}
+
+// ------------------------------------------------------------------------- //
+// File displayimage.php
+// ------------------------------------------------------------------------- //
+
+if (defined('DISPLAYIMAGE_PHP')){
+
+$lang_display_image_php = array(
+        'confirm_del' => 'Seguru fitxategi hau ezabtu nahi duzula? \\nIruzkinak ere ezabatuko ditut.',
+        'del_pic' => 'FITXATEGI HAU EZABATU',
+        'size' => '%s x %s pixel',
+        'views' => '%s aldiz',
+        'slideshow' => 'Diapositiba pasea',
+        'stop_slideshow' => 'GELDITU',
+        'view_fs' => 'Hemen sakatu irudia tamaina osoan ikusteko',
+        'edit_pic' => 'Fixategiaren infoa editatu', //cpg1.4
+        'edit_pic' => 'Deskribapena editatu', //cpg1.3.0
+        'crop_pic' => 'Moztu eta biratu', //cpg1.3.0
+);
+
+$lang_picinfo = array(
+        'title' =>'Fitxategiari buruzko infoa',
+        'Filename' => 'Fitxategiaren izena',
+        'Album name' => 'Bildumaren izena',
+        'Rating' => 'Balorazioa (%s botu)',
+        'Keywords' => 'Hitz gakoak',
+        'File Size' => 'Fitxategiaren tamaina',
+        'Date Added' => 'Gehitze data', //cpg1.4
+        'Dimensions' => 'Neurriak',
+        'Displayed' => 'Ikusi dute',
+        'URL' => 'URLa', //cpg1.4
+        'Make' => 'Egilea', //cpg1.4
+        'Model' => 'Modeloa', //cpg1.4
+        'DateTime' => 'Data', //cpg1.4
+        'DateTimeOriginal' => 'Hartze data', //cpg1.4
+        'ISOSpeedRatings'=>'ISOa', //cpg1.4
+        'MaxApertureValue' => 'Max Zabalera', //cpg1.4
+        'FocalLength' => 'Distantzia fokala', //cpg1.4
+        'Camera' => 'Kamera',
+        'Date taken' => 'Kapturaren data',
+        'Aperture' => 'Zabalera',
+        'Exposure time' => 'Esposizio denbora',
+        'Focal length' => 'Fokoa',
+        'Comment' => 'Iruzkina',
+        'addFav'=>'Gogokoetan gehitu',
+        'addFavPhrase'=>'Gogokoak',
+        'remFav'=>'Gogokoetatik kendu',
+        'iptcTitle'=>'IPTC - Izenburua', //cpg1.3.0
+        'iptcCopyright'=>'IPTC - Copyrighta', //cpg1.3.0
+        'iptcKeywords'=>'IPTC - Hitz gakoa', //cpg1.3.0
+        'iptcCategory'=>'IPTC - Kategoria', //cpg1.3.0
+        'iptcSubCategories'=>'IPTC - Azpikategoriak', //cpg1.3.0
+        'ColorSpace' => 'Kolore aspazioa', //cpg1.4
+        'ExposureProgram' => 'Exposizio programa', //cpg1.4
+        'Flash' => 'Flashrik', //cpg1.4
+        'MeteringMode' => 'Medizio era', //cpg1.4
+        'ExposureTime' => 'Exposizio denbora', //cpg1.4
+        'ExposureBiasValue' => 'Exposure Bias', //cpg1.4
+        'ImageDescription' => ' Irudiaren deskripzioa', //cpg1.4
+        'Orientation' => 'Orientazioa', //cpg1.4
+        'xResolution' => 'X Erresoluzioa', //cpg1.4
+        'yResolution' => 'Y Erresoluzioa', //cpg1.4
+        'ResolutionUnit' => 'Erresoluzio unitatea', //cpg1.4
+        'Software' => 'Softwarea', //cpg1.4
+        'YCbCrPositioning' => 'YCbCrPositioning', //cpg1.4
+        'ExifOffset' => 'Exif Offset', //cpg1.4
+        'IFD1Offset' => 'IFD1 Offset', //cpg1.4
+        'FNumber' => 'FNumber', //cpg1.4
+        'ExifVersion' => 'Exif Version', //cpg1.4
+        'DateTimeOriginal' => 'DateTime Original', //cpg1.4
+        'DateTimedigitized' => 'DateTime digitized', //cpg1.4
+        'ComponentsConfiguration' => 'Components Configuration', //cpg1.4
+        'CompressedBitsPerPixel' => 'Compressed Bits Per Pixel', //cpg1.4
+        'LightSource' => 'Light Source', //cpg1.4
+        'ISOSetting' => 'ISO Setting', //cpg1.4
+        'ColorMode' => 'Kolore era', //cpg1.4
+        'Quality' => 'Kalitatea', //cpg1.4
+        'ImageSharpening' => 'Image Sharpening', //cpg1.4
+        'FocusMode' => 'Focus Mode', //cpg1.4
+        'FlashSetting' => 'Flash Setting', //cpg1.4
+        'ISOSelection' => 'ISO Selection', //cpg1.4
+        'ImageAdjustment' => 'Image Adjustment', //cpg1.4
+        'Adapter' => 'Adapter', //cpg1.4
+        'ManualFocusDistance' => 'Manual Focus Distance', //cpg1.4
+        'DigitalZoom' => 'Digital Zoom', //cpg1.4
+        'AFFocusPosition' => 'AF Focus Position', //cpg1.4
+        'Saturation' => 'Saturazioa', //cpg1.4
+        'NoiseReduction' => 'Noise Reduction', //cpg1.4
+        'FlashPixVersion' => 'Flash Pix Version', //cpg1.4
+        'ExifImageWidth' => 'Exif Image Width', //cpg1.4
+        'ExifImageHeight' => 'Exif Image Height', //cpg1.4
+        'ExifInteroperabilityOffset' => 'Exif Interoperability Offset', //cpg1.4
+        'FileSource' => 'File Source', //cpg1.4
+        'SceneType' => 'Scene Type', //cpg1.4
+        'CustomerRender' => 'Customer Render', //cpg1.4
+        'ExposureMode' => 'Exposure Mode', //cpg1.4
+        'WhiteBalance' => 'White Balance', //cpg1.4
+        'DigitalZoomRatio' => 'Digital Zoom Ratio', //cpg1.4
+        'SceneCaptureMode' => 'Scene Capture Mode', //cpg1.4
+        'GainControl' => 'Gain Control', //cpg1.4
+        'Contrast' => 'Kontrastea', //cpg1.4
+        'Saturation' => 'Saturazioa', //cpg1.4
+        'Sharpness' => 'Enfokea', //cpg1.4
+        'ManageExifDisplay' => 'Manage Exif Display', //cpg1.4
+        'submit' => 'Bidali', //cpg1.4
+        'success' => 'Informazioa ondo eguneratu dut.', //cpg1.4
+        'details' => 'Oharrak', //cpg1.4
+);
+
+$lang_display_comments = array(
+        'OK' => 'ADOS',
+        'edit_title' => 'Iruzkina editatu',
+        'confirm_delete' => 'Seguru iruzkin hau ezabatu nahi duzula?',
+        'add_your_comment' => 'Iruzkina gehitu',
+        'name'=>'Izena',
+        'comment'=>'Iruzkina',
+        'your_name' => 'Anonimoa',
+        'report_comment_title' => 'Iruzkin honetaz administradorea ohartu', //cpg1.4
+);
+
+$lang_fullsize_popup = array(
+        'click_to_close' => 'Leiho hau ixteko irudian egin klik',
+);
+
+}
+
+// ------------------------------------------------------------------------- //
+// File ecard.php
+// ------------------------------------------------------------------------- //
+
+if (defined('ECARDS_PHP') || defined('DISPLAYECARD_PHP')) $lang_ecard_php =array(
+        'title' => 'Postala bidali',
+        'invalid_email' => '<font color="red"><b>ADI</b></font>: ePosta helbidea ez da zuzena',
+        'ecard_title' => '%s k postal bat bidali dizu',
+        'error_not_image' => 'Soilik irudiekin sortu ahal dira postalak.', //cpg1.3.0
+        'view_ecard' => 'Ordezko lotura erabili eCarda ez bada ondo ikusten', //cpg1.4
+        'view_ecard_plaintext' => 'eCarda ikusteko copiatu helbide hau zure nabegadorearen helbide barran:', //cpg1.4
+        'view_more_pics' => 'Irudi gehiago ikusi !', //cpg1.4
+        'view_ecard' => 'Irudia ondo ikusten ez baduzu lotura honetan egin klik',
+        'view_more_pics' => 'Hemen sakatu irudi gehiago ikusteko!',
+        'send_success' => 'Postala bidali dut',
+        'send_failed' => 'Barkatu baina zerbitzariak ezin izan du postala bidali...',
+        'from' => 'Nork',
+        'your_name' => 'Zure izena',
+        'your_email' => 'Zure ePosta',
+        'to' => 'Nori',
+        'rcpt_name' => 'Jasotzailearen izena',
+        'rcpt_email' => 'Jasotzaileren ePosta',
+        'greetings' => 'Mezuaren izenburua',
+        'message' => 'Mezua',
+        'ecards_footer' => '%s-k bidali du %s IPtik %setan (sistemaren ordua)', //cpg1.4
+        'preview' => 'eCardaren aurrebista', //cpg1.4
+        'preview_button' => 'Aurrebista', //cpg1.4
+        'submit_button' => 'eCarda bidali', //cpg1.4
+        'preview_view_ecard' => 'Hau ordezko lotura da. Aurrebistan ez dabil.', //cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File report_file.php //cpg1.4
+// ------------------------------------------------------------------------- //
+if (defined('REPORT_FILE_PHP') || defined('DISPLAYREPORT_PHP')) $lang_report_php =array(
+  'title' => 'Administradorea ohartu', //cpg1.4
+  'invalid_email' => '<b>Adi</b> : ePosta ez dago ondo !', //cpg1.4
+  'report_subject' => '%s-k emandako abisua %s galerian', //cpg1.4
+  'view_report' => 'Ordezko lotura erabili oharpena ez bada ondo ikusten', //cpg1.4
+  'view_report_plaintext' => 'Oharpena ikusteko kopiatu URL hau nabegadorearen helbide barran:', //cpg1.4
+  'view_more_pics' => 'Bilduma', //cpg1.4
+  'send_success' => 'Oharpena bidali dut', //cpg1.4
+  'send_failed' => 'Sentitzen dut baina zerbitzariak ezin du mezua bidali...', //cpg1.4
+  'from' => 'Nork', //cpg1.4
+  'your_name' => 'Zure izena', //cpg1.4
+  'your_email' => 'Zure ePosta', //cpg1.4
+  'to' => 'Nori', //cpg1.4
+  'administrator' => 'Admin/Mod', //cpg1.4
+  'subject' => 'Gaia', //cpg1.4
+  'comment_field_name' => '"%s"-k bidalitako oharpena', //cpg1.4
+  'reason' => 'Arrazoia', //cpg1.4
+  'message' => 'Mezua', //cpg1.4
+  'report_footer' => '%s-k bidalita %s IPtik %s-etan (sistemaren ordua)', //cpg1.4
+  'obscene' => 'likitsa', //cpg1.4
+  'offensive' => 'gusto txarrekoa', //cpg1.4
+  'misplaced' => 'off-topic', //cpg1.4
+  'missing' => 'galduta', //cpg1.4
+  'issue' => 'ekatsa/ezin ikusi', //cpg1.4
+  'other' => 'beste bat', //cpg1.4
+  'refers_to' => 'Honi egiten dio erreferentzia', //cpg1.4
+  'reasons_list_heading' => 'arrazoiak:', //cpg1.4
+  'no_reason_given' => 'arrazoirik ez', //cpg1.4
+  'go_comment' => 'Iruzkinetara joan', //cpg1.4
+  'view_comment' => 'Oharpen osoa ikusi', //cpg1.4
+  'type_file' => 'fitxategia', //cpg1.4
+  'type_comment' => 'iruzkina', //cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File editpics.php
+// ------------------------------------------------------------------------- //
+if (defined('EDITPICS_PHP')) $lang_editpics_php = array(
+        'pic_info' => 'Informazioa',
+        'album' => 'Bilduma',
+        'title' => 'Izenburua',
+        'filename' => 'Fitxategi izena', //cpg1.4
+        'desc' => 'Deskribapena',
+        'keywords' => 'Hitz gakoak',
+        'new_keyword' => 'Hitz gako berri', //cpg1.4
+        'new_keywords' => 'Topatutako hitz gako berriak', //cpg1.4
+        'existing_keyword' => 'Hitz gakoak osotara', //cpg1.4
+        'pic_info_str' => '%sx%s - %sKB - %s aldiz ikusia - %s botu',
+        'approve' => 'Fitxategia onartu',
+        'postpone_app' => 'Beranduago onartu',
+        'del_pic' => 'Fitxategia ezabatu',
+        'del_all' => 'Ezabatu fitxategi GUZTIAK', //cpg1.4
+        'read_exif' => 'EXIF datuak berriro irakurri', //cpg1.3.0
+        'reset_view_count' => 'Ikustaldien kontadorea hutsean jarri',
+        'reset_all_view_count' => 'Kontadore GUZTIAK berrezarri', //cpg1.4
+        'reset_votes' => 'Botuak hutsean jarri',
+        'reset_all_votes' => 'Botu GUZTIAK berrezarri', //cpg1.4
+        'del_comm' => 'Iruzkinak ezabatu',
+        'del_all_comm' => 'Iruzkin GUZTIAK ezabatu', //cpg1.4
+        'upl_approval' => 'Igoerak onartu', //cpg1.4
+        'upl_approval' => 'Gehitutako fitxategiak onartu',
+        'edit_pics' => 'Irudiak editatu',
+        'see_next' => 'Hurrengo fitxategiak ikusi',
+        'see_prev' => 'Aurreko fitxategiak ikusi',
+        'n_pic' => '%s fitxategia(k)',
+        'n_of_pic_to_disp' => 'Zenbat fitxategi erakutsi',
+        'apply' => 'Aldaketak onartu',
+        'crop_title' => 'Coppermineren irudi editorea', //cpg1.3.0
+        'preview' => 'Aurrikusi', //cpg1.3.0
+        'save' => 'Irudia gorde', //cpg1.3.0
+        'save_thumb' =>'Minitura gorde', //cpg1.3.0        'gallery_icon' => 'Ezarri hau nire ikono', //cpg1.4
+        'sel_on_img' =>'Aukeraketa osoak irudi barruan egon behar du!', //js-alert //cpg1.3.0
+        'album_properties' =>'Bildumaren propietateak', //cpg1.4
+        'parent_category' =>'Kategoria nagusia', //cpg1.4
+        'thumbnail_view' =>'Miniaturak ikusi', //cpg1.4
+        'select_unselect' =>'dena aukeratu/ezaukeratuselect/unselect all', //cpg1.4
+        'file_exists' => "'%s' fitxategi dago.", //cpg1.4
+        'rename_failed' => "'%s' fitxategia '%s' berrizendatzean akatsa.", //cpg1.4
+        'src_file_missing' => "'%s' jatorrizko fitxategia ez dago.", // cpg 1.4
+        'mime_conv' => "'%s' fitxategia '%s' ezin dut bihurtu",//cpg1.4
+        'forb_ext' => 'Debekatutako fitxategi luzapena.',//cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File faq.php //cpg1.3.0
+// ------------------------------------------------------------------------- //
+if (defined('FAQ_PHP')) $lang_faq_php = array(
+  'faq' => 'Galdera arruntak', //cpg1.3.0
+  'toc' => 'Edukinen aurkibidea', //cpg1.3.0
+  'question' => 'Galdera: ', //cpg1.3.0
+  'answer' => 'Erantzuna: ', //cpg1.3.0
+);
+
+if (defined('FAQ_PHP')) $lang_faq_data = array(
+  'Galdera orokorrak', //cpg1.3.0
+
+  array('Zergatik behar dut errejistratu?', 'Administradoreak errejistroa derrigortu dezake. Errejistroaren bitartez estatistikak, gogokoen zerrenda, argazkiak bozkatu, iruzkinak gehitu, etab .. bezalako gaitasunak erabil daitezke', 'allow_user_registration', '0'), //cpg1.3.0
+
+  array('Nola errejistra naiteke?', '&quot;Alta eman&quot;n sakatu eta derrigorrezko eremuak bete (nahi izanez gero aukerakoak ere bai).<br />ePosta bitartez egiten bada balidazioa mezu bat jasoko duzu zer egin behar duzun azaltzen (lotura batean klikatzen soilik). Kontua aktibatu arte ezin izango duzu sistema sartu.', 'allow_user_registration', '1'), //cpg1.3.0
+
+  array('Nola egiten da logina (sistema sartu)?', '&quot;Login&quot;en sakatu, idatzi zure erabiltzaile izena eta pasahitza, nahi izanez gero &quot;Gogorarazi&quot; markatu hurrengoan ez galdetzeko.<br /><b>ADI: aukera hau funzionatzea nahi baduzu zure nabegadorean cookieak gaituta izan behar dituzu eta jasoko duzun cookiea ez duzu ezabatu behar).</b>', 'offline', 'Zergatik ezin dut login egin?', 'Errejistratu zara?, aktibatu duzu kontua (bidali dizugun ePostan loturan klikatu). Hori eginda zure kontua gaituta egon beharko litzateke, hala ez bada sistemaren administradorearekin jarri harremanetan.', 'offline', 0), //cpg1.3.0
+
+  array('Zer gertatuko litzateke nire pasahitza ahaztuz gero?', 'Webguneak &quot;Nire pasahitza ahaztu dut&quot; ezaugarria gaituta ba du pasahitza bertan egin klik eta prozesua segitu, bestela administradorearekin jarri harremanetan berri bat eginteko.', 'offline', 0), //cpg1.3.0
+  array('Zer gertatuko da pasahitza ahazten badut?', 'If this site has a &quot;Forgot password&quot; link then use it. Other than that contact the site administrator for a new password.', 'offline', 0),
+
+  array('Zer gertatzen da nire ePosta aldatuz gero?', 'Ezer ez, login egin eta zure helbide berria idatzi &quot;Nire profila&quot; atalean.', 'offline', 0),
+
+  array('Zelan gorde dezaket irudi bat &quot;Nire gogokoak&quot; atalean?', 'Irudian egin klik eta gero &quot;fitxategiari buruzko infoa erakutsi&quot; ikonoan (<img src="images/info.gif" width="16" height="16" border="0" alt="Fitxategiari buruzko infoa" />); joan informazio hori agertu den lekura eta &quot;Gogokoetan gehitu&quot;n sakatu.<br />Administradoreak &quot;Fitxategiari buruzko infoa erakutsi&quot; defektuz gaitu dezake.<br />ADI!: cookieak gaituta izan behar dituzu eta gune honetako cookiea ez da ezabatu behar.', 'offline', 0), //cpg1.3.0
+
+  array('Zelan balora dezaket argazki bat?', 'Irudiaren miniaturan egin klik, bere azpikaldean begiratu eta aukeratu puntuaketa.', 'offline', 0), //cpg1.3.0
+
+  array('Zelan gehitu diezaioket iruzkin bat argazki bati?', 'Irudiaren miniaturan egin klik, bere azpikaldean begiratu. Bertan idatz dezakezu zure iruzkina.', 'offline', 0), //cpg1.3.0
+
+  array('How do I upload a file?', 'Go to &quot;Upload&quot;and select the album that you want to upload to. Click &quot;Browse,&quot; find the file to upload, and click &quot;open.&quot; Add a title and description if you want. Click &quot;Submit&quot;.<br /><br />Alternatively, for those users using <b>Windows XP</b>, you can upload multiple files directly to your own private albums using the XP Publishing wizard.<br />For instructions on how, and to get the required registry file, click <a href="xp_publish.php">here.</a>', 'allow_private_albums', 1), //cpg1.4
+
+  array('Zelan igo dezaket irudi bat?', '&quot;Fitxategia gehitu&quot;n egin klik eta aukeratu zein bildumari gehituko diozun, &quot;Arakatu&quot;n sakatu eta aukeratu igo nahi duzun irudia, &quot;Ados&quot; sakatu (nahi izanez gero izenburua eta deskripzioa ere jarri ahal duzu), amaitzeko &quot;Fitxategi berria gehitu&quot;n egin klik', 'allow_private_albums', 0), //cpg1.3.0
+
+  array('Non jar dezaket irudia?', '&quot;Nire bilduma&quot;ko bilduma batean irudiak gehitu ditzakezu. Gerta daiteke kategoria nagusiko bilduma bat baino gehiagotak administradoreak ezaugarri hau ezgaitzea.', 'allow_private_albums', 0), //cpg1.3.0
+
+  array('Zein tamaina eta irudi mota gehitu igo dezaket?', 'Motak (jpg,gif,..etc.) eta tamainak administradoreak erabakitzen ditu.', 'offline', 0), //cpg1.3.0
+
+  array('Zer da &quot;Nire bilduma&quot;?', '&quot;Nire bilduma&quot; bilduma pertsonala da, erabiltzaileak konfiguratu eta fitxategiak gehitu ahal ditu.', 'allow_private_albums', 0), //cpg1.3.0
+
+  array('Zelan sortu, ezabatu edo berrizendatu dezaken bilduma bat &quot;Nire bilduma&quot;n?', 'Debes entrar en &quot;Modo administrador&quot;<br />&quot;Bildumak sortu/ordenatu&quot;n egin klik eta gero &quot;Birria&quot;n. &quot;Bilduma berria&quot; kendu eta nahi duzun izena jarri.<br />Zure edozein bildumari izena alda diezaiokezu.<br />&quot;Aldaketak aplikatu&quot;n sakatu amaitzeko.', 'allow_private_albums', 0), //cpg1.3.0
+
+  array('Nola kudea ditzaket nire bildumak?', '&quot;Admin modua&quot;sartu.<br />&quot;Nire bildumak eraldatun&quot;n egin klik.&quot;Bilduma eraldatu&quot; barran aukeratu aldatu nahi duzun bilduma.<br />Hemen kudea dezakezu: izana, deskribapena, miniatura, nork ikusi eta komenta dezakeen, ... .<br />Sakatu &quot;Bilduma eraldatu&quot; aldaketak gordetzeko.', 'allow_private_albums', 0), //cpg1.3.0
+
+  array('Zelan ikus ditzaket beste erabiltzaileen bildumak?', '&quot;Bildumen zerrenda&quot;ra joan eta &quot;Erabiltzaileen bildumak&quot; aukeratu.', 'allow_private_albums', 0), //cpg1.3.0
+
+  array('Zer dira cookieak?', 'Cookieak zerbitzariak nebegagoreei bidaltzen dizkien testu fitxategi txikiak dira.<br />Normalean horien bitartez zure ezarpenak gogoratu ahal ditu zerbitzariak (beste erabilpen batzuk ere izan ditzakete).', 'offline', 0), //cpg1.3.0
+
+  array('Non lor dezaket programa hau?', 'Coppermine galeria multimedia librea da, GNU GPL lizentziapean argitaratuta. Ezaugarriz beteta eta plataforma eta sistema anitza. Gehiago jakiteko eta programa eskuratzeko <a href="http://coppermine-gallery.net/">Coppermineren webgunea</a> bisita ezazu.', 'offline', 0), //cpg1.3.0
+
+
+
+  'Copperminen zehar nabigatzen', //cpg1.3.0
+
+  array('Zer da &quot;Bilduma zerrenda&quot;?', 'Hemen erabiltzaileek bilduma guztiak ikus ditzakete (baita kategorien zerrenda). Miniaturak kategoriekiko lotura zuzenak izan daitezke.', 'offline', 0), //cpg1.3.0
+
+  array('Zer da &quot;Nire bilduma&quot;?', 'Ezaugarri honen bitartez erabiltzaileak bere bilduma propioa sor dezake eta bertan fitxategiak gehitu, ezabatu edo eraldatu.', 'allow_private_albums', 0), //cpg1.3.0
+
+  array('Zertan desberdintzen dira &quot;Admin modua&quot; eta &quot;Erabiltzaile modua&quot;?', 'Admin moduan moduan erabiltzaileak bere bilduma eralda dezake (administradoreak baimenduz gero gauza gehiago).', 'allow_private_albums', 0), //cpg1.3.0
+
+  array('Zer da &quot;Fitxategia gehitu&quot;?', 'Ezaugarri honen bitartez erabiltzaileak irudiak gehitu ditzakete (administradoreak zehaztutako tamaina eta moten arabera) haiek edota administradoreak aukeratutako biduma batean.', 'allow_private_albums', 0), //cpg1.3.0
+
+  array('Zer da &quot;Azken fitxategiak&quot;?', 'Bildumetan gehitutako azken fitxategi / irudiak erakusten ditu.', 'offline', 0), //cpg1.3.0
+
+  array('Zer da &quot;Azken iruzkinak&quot;?', 'Erabiltzaileek gehitu dituzten azken iruzkinak erakusten du (komentatutako irudiak ere agertzen dira).', 'offline', 0), //cpg1.3.0
+
+  array('Zer da &quot;Ikusienak&quot;?', 'Erabiltzaileek gehien ikusi dituzten argazkiak erakusten ditu (errejistratuak eta bisitariak).', 'offline', 0), //cpg1.3.0
+
+  array('Zer da &quot;Estimatuenak&quot;?', 'Erabiltzaileek gehien bozkatu dituzten (eta botuen media) argazkiak erakusten ditu, adibidez: : bost erabiltzailek esan dute <img src="images/rating3.gif" width="65" height="14" border="0" alt="" />: irudiak honako bataz besteko puntuazioa izango du <img src="images/rating3.gif" width="65" height="14" border="0" alt="" /> ; 5 erabiltzailek 1etik 5era puntuatu badute (1,2,3,4,5) bataz bestekoa izango da: <img src="images/rating3.gif" width="65" height="14" border="0" alt="" /> .)<br />Puntuaketak <img src="images/rating5.gif" width="65" height="14" border="0" alt="onena" />etik (onena) <img src="images/rating0.gif" width="65" height="14" border="0" alt="txarrena" /> arte (txarrena).', 'offline', 0), //cpg1.3.0
+
+  array('Zer da &quot;Nire gogokoak&quot;?', 'Ezaugarri honek erabiltzaileari gogoko duen irudi bat cookiean gordetzea ahalbidetzen dio.', 'offline', 0), //cpg1.3.0
+
+);
+
+// ------------------------------------------------------------------------- //
+// File forgot_passwd.php //cpg1.3.0
+// ------------------------------------------------------------------------- //
+
+if (defined('FORGOT_PASSWD_PHP')) $lang_forgot_passwd_php = array(
+        'forgot_passwd' => 'Pasahitza berreskuratu', //cpg1.3.0
+        'err_already_logged_in' => 'Dagoeneko izena eman duzu!', //cpg1.3.0
+        'enter_email' => 'Idatzi zure ePosta', //cpg1.4
+        'submit' => 'pasahitza bilatu', //cpg1.3.0
+        'failed_sending_email' => 'Ezin izan dizut pasahitza daukan ePosta bidali!', //cpg1.3.0
+        'email_sent' => '%s ra bidali dut ePosta zure erabiltzaile izena eta pasahitzarekin', //cpg1.3.0
+        'err_unk_user' => 'Idatzi duzun erabiltzailea ez dago!', //cpg1.3.0
+        'passwd_reminder_subject' => '%s - Pasahitza berreskuratzea', //cpg1.3.0
+        'passwd_reminder_body' => 'Erabiltzaile honen pasahitza berreskuratzea eskatu duzu:
+        Erabiltzailea: %s
+        Pasahitza: %s
+        %s sakatu onartzeko.', //cpg1.3.0
+);
+
+// ------------------------------------------------------------------------- //
+// File groupmgr.php
+// ------------------------------------------------------------------------- //
+
+if (defined('GROUPMGR_PHP')) $lang_groupmgr_php = array(
+        'group_name' => 'Taldea',
+        'permissions' => 'Baimenak', //cpg1.4
+        'public_albums' => 'Bilduma publikoetara igoera', //cpg1.4
+        'personal_gallery' => 'Bilduma pertsonaletara', //cpg1.4
+        'upload_method' => 'Igotzeko era', //cpg1.4
+        'disk_quota' => 'Disko kuota', //cpg1.4
+        'rating' => 'Bozketa', //cpg1.4
+        'ecards' => 'eCardak', //cpg1.4
+        'comments' => 'Iruzkinak', //cpg1.4
+        'allowed' => 'Baimenduta', //cpg1.4
+        'approval' => 'Onarpena', //cpg1.4
+        'boxes_number' => 'Eremu kopurua', //cpg1.4
+        'variable' => 'Aldagarria', //cpg1.4
+        'fixed' => 'Finkoa', //cpg1.4
+        'apply' => 'Ados',
+        'create_new_group' => 'Talde berria sortu',
+        'del_groups' => 'Ezabatu aukeratutako taldea(k)',
+        'confirm_del' => 'Adi!!, talde bat ezabatzen duzunean bertako erabiltzaileak  \'Registered\' taldera pasatzen ditut!\n\nJarraitu nahi duzu?', //js-alert
+        'title' => 'Taldeak kudeatu',
+        'num_file_upload' => 'Fitxategiak igotzeko eremuak', //cpg1.4
+        'num_URI_upload' => 'URIak igotzeko eremuak', //cpg1.4
+        'reset_to_default' => '(%s) Jatorrizko izena jarri berriro- gomendatua!', //cpg1.4
+        'error_group_empty' => 'Taldeen taula hutsik !<br /><br />Defektuzko taldeak sortu ditut, freskatu orria mesedez', //cpg1.4
+        'explain_greyed_out_title' => 'Zergatik dago zutabe hau gristuta?', //cpg1.4
+        'explain_guests_greyed_out_text' => 'Ezin duzu talde honen propietateak aldatu &quot; onartu logeatu gabeko erabiltzaileak (bisiatriak edo anonimoak) sartzea&quot; aukera gaitu duzulako konfigurazio orrian. Bisitari gustiak (%s-ren taldekoak) logeatu baino ezin dute egin; horrela taldeentzako ezarpenak ez zaizkie aplikatzen.', //cpg1.4
+        'explain_banned_greyed_out_text' => 'Ezin duzu %s taldearen propietateak aldatu.', //cpg1.4
+        'group_assigned_album' => 'esleitutako bilduma(k)', //cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File index.php
+// ------------------------------------------------------------------------- //
+
+if (defined('INDEX_PHP')){
+$lang_index_php = array(
+        'welcome' => 'Ongi etorri!'
+);
+
+$lang_album_admin_menu = array(
+        'confirm_delete' => 'Seguru bilduma hau ezabatu nahi duzula? \\nIrudi eta iruzkin guztiak ezabatuko ditut.',
+        'delete' => 'Ezabatu',
+        'modify' => 'Eraldatu',
+        'edit_pics' => 'Irudiak editatu',
+);
+
+$lang_list_categories = array(
+        'home' => 'Hasiera',
+        'stat1' => '<b>[pictures]</b> fitxategi <b>[albums]</b> bildumetan eta <b>[cat]</b> kategoria <b>[comments]</b> iruzkinekin, <b>[views]</b> aldiz bisitatua(k)',
+        'stat2' => '<b>[pictures]</b> fitxategi <b>[albums]</b> bildumatan, <b>[views]</b> aldiz bisitatua(k)',
+        'xx_s_gallery' => '%s (r)en bilduma',
+        'stat3' => '<b>[pictures]</b> fitxategi <b>[albums]</b> bildumatan <b>[comments]</b> iruzkinekin, <b>[views]</b> aldiz bisitatua(k)'
+);
+
+$lang_list_users = array(
+        'user_list' => 'Erabiltzaileen zerrenda',
+        'no_user_gal' => 'Ez dago bildumak izateko eskubidea duen erabiltzailerik',
+        'n_albums' => '%s bilduma',
+        'n_pics' => '%s fitxategi'
+);
+
+$lang_list_albums = array(
+        'n_pictures' => '%s fitxategiak',
+        'last_added' => ', %s-n gehitutako azkenak',
+        'n_link_pictures' => '%s linkatutako fitxategiak', //cpg1.4
+        'total_pictures' => '%s fitxategi osotara', //cpg1.4
+);
+
+}
+
+// ------------------------------------------------------------------------- //
+// File keywordmgr.php //cpg1.4
+// ------------------------------------------------------------------------- //
+
+if (defined('KEYWORDMGR_PHP')) $lang_keywordmgr_php = array(
+        'title' => 'Hitz gakoak kudeatu', //cpg1.4
+        'edit' => 'editatu', //cpg1.4
+        'delete' => 'ezabatu', //cpg1.4
+        'search' => 'bilatu', //cpg1.4
+        'keyword_test_search' => '%s bilatu leiho berrian', //cpg1.4
+        'keyword_del' => '%s hitz gakoa ezabatu', //cpg1.4
+        'confirm_delete' => 'Seguru %s hitz gakoa ezabatu nahi duzula bilduma nagusitik?', //cpg1.4  // js-alert
+        'change_keyword' => 'hitz gakoa aldatu', //cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File login.php
+// ------------------------------------------------------------------------- //
+
+if (defined('LOGIN_PHP')) $lang_login_php = array(
+        'login' => 'Login',
+        'enter_login_pswd' => 'Erabiltzailea eta pasahitza idatzi',
+        'username' => 'Erabiltzaile izena',
+        'password' => 'Pasahitza',
+        'remember_me' => 'Gogora nazazu',
+        'welcome' => 'Ongi etorri %s ...',
+        'err_login' => '*** Login ez zuzena. Saiatu berriro ***',
+        'err_already_logged_in' => 'Dagoeneko izena eman duzu!',
+        'forgot_password_link' => 'Nire pasahitza ahaztu dut', //cpg1.3.0
+        'cookie_warning' => 'ADI, zure nabegadoreak ez ditu scrptaren cookieak onartzen!', //cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File logout.php
+// ------------------------------------------------------------------------- //
+
+if (defined('LOGOUT_PHP')) $lang_logout_php = array(
+        'logout' => 'Irten',
+        'bye' => 'Hurrenerarte, %s ...',
+        'err_not_loged_in' => 'Ez duzu izena eman!',
+);
+
+
+// ------------------------------------------------------------------------- //
+// File minibrowser.php  //cpg1.4
+// ------------------------------------------------------------------------- //
+
+if (defined('MINIBROWSER_PHP')) $lang_minibrowser_php = array(
+        'close' => 'itxi', //cpg1.4
+        'submit' => 'Ados', //cpg1.4
+        'up' => 'gora maila bat', //cpg1.4
+        'current_path' => 'oraingo PATHa', //cpg1.4
+        'select_directory' => 'direktorio bat aukeratu', //cpg1.4
+        'click_to_close' => 'irudiak klik egin leiho hau ixteko',
+);
+
+// ------------------------------------------------------------------------- //
+// File modifyalb.php
+// ------------------------------------------------------------------------- //
+
+if (defined('MODIFYALB_PHP')) $lang_modifyalb_php = array(
+        'upd_alb_n' => '%s bilduma eraldatu',
+        'general_settings' => 'Konfigurazio orokorra',
+        'alb_title' => 'Bildumaren izenburua',
+        'alb_cat' => 'Bildumaren kategoria',
+        'alb_desc' => 'Bildumaren deskripzioa',
+        'alb_keyword' => 'Bildumaren hitz gakoa', //cpg1.4
+        'alb_thumb' => 'Bildumaren miniatura',
+        'alb_perm' => 'Bilduma honek baimenak',
+        'can_view' => 'Hauek ikus dezakete bilduma hau',
+        'can_upload' => 'Bisitariek irudiak gehitu ditzakete',
+        'can_post_comments' => 'Bisitariek iruzkinak gehitu ditzakete',
+        'can_rate' => 'Bisitariek argazkiak baloratu ahal dituzte',
+        'user_gal' => 'Erabiltzailearen bilduma',
+        'no_cat' => '* Kategoriarik gabekoa *',
+        'alb_empty' => 'Bilduma hutsik dago',
+        'last_uploaded' => 'Gehitutako azken irudia',
+        'public_alb' => 'Denek (bilduma publikoa)',
+        'me_only' => 'Nik soilik',
+        'owner_only' => 'Bildumaren jabe soilik (%s)',
+        'groupp_only' => '\'%s\' taldearen partaideak',
+        'err_no_alb_to_modify' => 'Ez dago zuk eraldatu ahal duzun bildumarik.',
+        'update' => 'Bilduma eraldatu',
+        'reset_album' => 'Bilduma berrabiarazi', //cpg1.4
+        'reset_views' => 'Ezarri kontadorea &quot;0&quot;n %s-n', //cpg1.4
+        'reset_rating' => '%s-ko bozketa guztiak berrabiarazi', //cpg1.4
+        'delete_comments' => '%s-n egindako iruzkin guztiak ezabatu', //cpg1.4
+        'delete_files' => '%s-n BEHIN BETIKO ezabatu fitxategi guztiak', //cpg1.4
+        'views' => 'ikusteak', //cpg1.4
+        'votes' => 'botuak', //cpg1.4
+        'comments' => 'iruzkinak', //cpg1.4
+        'files' => 'fitxategiak', //cpg1.4
+        'submit_reset' => 'Onartu', //cpg1.4
+        'reset_views_confirm' => 'seguru nago', //cpg1.4
+        'notice1' => '(*) %staldeen%s konfigurazioaren arabera', //cpg1.3.0 (do not translate %s!)
+        'alb_password' => 'Bildumaren pasahitza', //cpg1.4
+        'alb_password_hint' => 'Album password hint', //cpg1.4
+        'edit_files' =>'Fitxategiak editatu', //cpg1.4
+        'parent_category' =>'Kategoria nagusia', //cpg1.4
+        'thumbnail_view' =>'Miniaturak ikusi', //cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File phpinfo.php //cpg1.3.0
+// ------------------------------------------------------------------------- //
+
+if (defined('PHPINFO_PHP')) $lang_phpinfo_php = array(
+        'php_info' => 'PHP info', //cpg1.3.0
+        'explanation' => 'Hau da <a href="http://www.php.net/phpinfo">phpinfo()</a> PHP-funtzioak ematen duen irteera, Coperminek erakutsita (trimming the output at the right corner).', //cpg1.3.0
+        'no_link' => 'Besteei hau ikusten uztea arriskutsua izan daiteke, horregatik administradore bezala logeatuta zaudenean soilik ikus dezakezu orri hau. Ezin diezu besteei lotura hau bidali, sarrera debekatuta baitaukate.', //cpg1.3.0
+);
+
+// ------------------------------------------------------------------------- //
+// File picmgr.php //cpg1.4
+// ------------------------------------------------------------------------- //
+if (defined('PICMGR_PHP')) $lang_picmgr_php = array(
+        'pic_mgr' => 'Irudiak kudeatu', //cpg1.4
+        'select_album' => 'Bilduma aukeratu', //cpg1.4
+        'delete' => 'Ezabatu', //cpg1.4
+        'confirm_delete1' => 'Seguru irudi hau ezabatu nahi duzula?', //cpg1.4
+        'confirm_delete2' => '\nIrudia behin betiko ezabatuko dut.', //cpg1.4
+        'apply_modifs' => 'Aldaketak aplikatu', //cpg1.4
+        'confirm_modifs' => 'Aldaketak baieztatu', //cpg1.4
+        'pic_need_name' => 'Irudiek izena eduki behar dute !', //cpg1.4
+        'no_change' => 'Ez duzu aldaketarik egin !', //cpg1.4
+        'no_album' => '* Bildumarik ez *', //cpg1.4
+        'explanation_header' => 'The custom sort order you can specify on this page will only be taken into account if', //cpg1.4
+        'explanation1' => 'the admin has set the "Default sort order for files" in the config to "Position descending" or "Position ascending" (global setting for all users who haven\'t chosen another sort option individually)', //cpg1.4
+        'explanation2' => 'the user has chosen "Position descending" or "Position ascending" on the thumbail page (per user setting)', //cpg1.4
+);
+
+
+// ------------------------------------------------------------------------- //
+// File pluginmgr.php //cpg1.4
+// ------------------------------------------------------------------------- //
+
+if (defined('PLUGINMGR_PHP')){
+
+$lang_pluginmgr_php = array(
+        'confirm_uninstall' => 'Seguru plugin hau desinstalatu nahi duzula?', //cpg1.4
+        'confirm_delete' => 'Seguru plugin hau EZABATU nahi duzula?', //cpg1.4
+        'pmgr' => 'Plugin kudeaketa', //cpg1.4
+        'name' => 'Izena', //cpg1.4
+        'author' => 'Egilea', //cpg1.4
+        'desc' => 'Deskripzioa', //cpg1.4
+        'vers' => 'ber.', //cpg1.4
+        'i_plugins' => 'Instalatutako Pluginak', //cpg1.4
+        'n_plugins' => 'Instalatu gabeko pluginak', //cpg1.4
+        'none_installed' => 'Ez instalatua', //cpg1.4
+        'operation' => 'Operazioa', //cpg1.4
+        'not_plugin_package' => 'Igo duzun fitxategia ez da plugin paketea.', //cpg1.4
+        'copy_error' => 'Akats bat gertatu da paketea plugin direktorioan kopiatzean.', //cpg1.4
+        'upload' => 'Igo', //cpg1.4
+        'configure_plugin' => 'Plugina konfiguratu', //cpg1.4
+        'cleanup_plugin' => 'Plugina garbitu', //cpg1.4
+);
+}
+
+// ------------------------------------------------------------------------- //
+// File ratepic.php
+// ------------------------------------------------------------------------- //
+
+if (defined('RATEPIC_PHP')) $lang_rate_pic_php = array(
+        'already_rated' => 'Barkatu baina dagoeneko bozkatu duzu',
+        'rate_ok' => 'Zure botua zenbatu dut',
+        'forbidden' => 'Ezin dituzu zure irudiak bozkatu.', //cpg1.3.0
+);
+
+// ------------------------------------------------------------------------- //
+// File register.php & profile.php
+// ------------------------------------------------------------------------- //
+if (defined('REGISTER_PHP') || defined('PROFILE_PHP')) {
+$lang_register_disclamer = <<<EOT
+{SITE_NAME}ko administratzaileak edukin ez egokiak edo iraingarriak azkar ezabatzen saiatuko dira, hala ere ezinenkoa da bidaltzen den informazio guzti guztia ikuskatzea. Herregatik ulertu behar duzu webgune honetan plazaratutako iritzi guztiak egileen iritzia eta ikus puntua dela, ez webmaste edo administradoreena (beraiek idatitakoak izan ezik).<br />
+<br />
+Zin egiten duzu ez duzula inolako material iraingarria, arrazista, gorrotagarria edo ilegala argitaratuko eta, halaber, onartzen duzu { SITE_NAME }ko webmasterrak horrelakoa den edozen materialak webgunetik ezaba dezakeela. Onartzen duzu zuk idatzitako informazio guztia datu base batean biltegiratuko dela, informazio hau ez da inoiz beste kontuetarako erabiliko. Webmasterra eta administradorea ez dira datu basearen integritatearen erantzuleak.<br />
+<br />
+Webgune honek cookieak erabiltzen ditu. Hauen bitartez nabegazioa hobetzen dugu. ePosta zure profila eta pasahitza ziurtatzeko baino ez dugu erabiltzen.<br />
+<br />
+Ados bazaude 'Ados nago'n egin klik
+EOT;
+
+$lang_register_php = array(
+        'page_title' => 'Erabiltzaile berria',
+        'term_cond' => 'Baldintzak',
+        'i_agree' => 'Ados nago',
+        'submit' => 'Alta eskaera bidali',
+        'err_user_exists' => 'Aukeratu duzun erabiltzaile izena dagoeneko hartuta dago, beste bat aukeratu mesedez',
+        'err_password_mismatch' => 'Bi pasahitzak ez dira berdinak, saiatu berriro',
+        'err_uname_short' => 'Erabiltzaile izenak 2 karaktere izan behar du gutxienez',
+        'err_password_short' => 'Pasahitzak 2 karaktere izan behar du gutxienez',
+        'err_uname_pass_diff' => 'Erabiltzaile izenak eta pasahitzak desberdinak izan behar dute',
+        'err_invalid_email' => 'ePosta ez da balidoa',
+        'err_duplicate_email' => 'Beste erabiltzaile bat errejistratu da lehenago zuk idatzitako ePostarekin',
+        'enter_info' => 'Errejistratzeko informazioa idatzi',
+        'required_info' => 'Derrigorrezko informazioa',
+        'optional_info' => 'Aukerako informazioa',
+        'username' => 'Erabiltzaile izena',
+        'password' => 'Pasahitza',
+        'password_again' => 'Pasahitza (berriro)',
+        'email' => 'ePosta',
+        'location' => 'Bizilekua',
+        'interests' => 'Gustuak',
+        'website' => 'Web orria',
+        'occupation' => 'Lanbidea',
+        'error' => 'AKATSA',
+        'confirm_email_subject' => '%s - Altaren ziurtapena',
+        'information' => 'Informazioa',
+        'failed_sending_email' => 'Alta ziurtatzeko ePosta ezin izan dut bidali!',
+        'thank_you' => 'Mila esker alta emateagatik.<br /><br />Zuk idatzitako ePostara mezu bat bidali dut kontua aktibatzeko behar duzun informazio guztiarekin.',
+        'acct_created' => 'Zure kontu sortuta dago, orain sistema erabili ahal duzu zure erabiltzailea eta zure pasahitza idatziz',
+        'acct_active' => 'Zure kontua aktibo dago, orain sistema erabili ahal duzu zure erabiltzailea eta zure pasahitza idatziz',
+        'acct_already_act' => 'Zure kontua aktibatuta zegoen ya!',
+        'acct_act_failed' => 'Kontu hau ezin da aktibatu!',
+        'err_unk_user' => 'Aukeratuta erabiltzailea ez dago!',
+        'x_s_profile' => '%s ren profila',
+        'group' => 'Taldea',
+        'reg_date' => 'Alta data',
+        'disk_usage' => 'Diskoaren erabilpena',
+        'change_pass' => 'Pasahitza aldatu',
+        'current_pass' => 'Egungo pasahitza',
+        'new_pass' => 'Pasahitz berria',
+        'new_pass_again' => 'Pasahitz berria (berriro)',
+        'err_curr_pass' => 'Egungo pasahitza ez da zuzena',
+        'apply_modif' => 'Aldaketak gorde',
+        'change_pass' => 'Nire pasahitza aldatu',
+        'update_success' => 'Profila eguneratu dut',
+        'pass_chg_success' => 'Pasahitza aldatu dut',
+        'pass_chg_error' => 'Ez dut pasahitza aldatu',
+        'notify_admin_email_subject' => '%s - Errejistro jakinarazpena', //cpg1.3.0
+        'last_uploads' => 'Igotako azken fitxategiak.<br />klik azken igoerak ikusteko', //cpg1.4
+        'last_comments' => 'Azken iruzkinak.<br />klik azken iruzkinak ikusteko', //cpg1.4
+        'notify_admin_email_body' => 'Erabiltzaile berria errejistratu da zure bilduman "%s" izenpean', //cpg1.3.0
+        'pic_count' => 'Igotako fitxategiak', //cpg1.4
+        'notify_admin_request_email_subject' => '%s - alta eskaera', //cpg1.4
+        'thank_you_admin_activation' => 'Eskerrik asko.<br /><br />Administradoreari bidali diot zure alta eskaera. Onartuz gero ePosta bat jasoko duzu.', //cpg1.4
+        'acct_active_admin_activation' => 'Kontua gaituta dago eta ePosta bidali diot erabiltzaileari.', //cpg1.4
+        'notify_user_email_subject' => '%s - Alta oharpena', //cpg1.4
+);
+
+
+
+$lang_register_confirm_email = <<<EOT
+Mila esker {SITE_NAME}n errejistratzeagatik
+
+
+Zure erabiltzaile izena: "{USER_NAME}"
+
+
+
+
+Aktibaketa amaitzeko bahean agertzen den loturaren gainean egin klik edo kopiatu zure nabegadoaren helbide barran.
+
+{ACT_LINK}
+
+Ondo ibili.
+
+
+
+{SITE_NAME}ko administradoreak
+EOT;
+
+$lang_register_approve_email = <<<EOT
+"{USER_NAME}" izenarekin norbaitek alta eman du zure bilduman.
+
+Kontua gaitu nahi baduzu beheko loturan egin klik edo kopiatu helbidea zure nabegadorearen helbide barran.
+
+<a href="{ACT_LINK}">{ACT_LINK}</a>
+EOT;
+
+$lang_register_activated_email = <<<EOT
+Zure kontua onartuta eta aktibatuta dago.
+
+Orain helbide honetan logeatu ahal duzu: <a href="{SITE_LINK}">{SITE_LINK}</a> "{USER_NAME}" erabiltzaile izenarekin
+
+
+Ondo ibili,
+
+{SITE_NAME} administratzailea.
+EOT;
+}
+
+// ------------------------------------------------------------------------- //
+// File reviewcom.php
+// ------------------------------------------------------------------------- //
+if (defined('REVIEWCOM_PHP')) $lang_reviewcom_php = array(
+        'title' => 'Iruzkinak ikuskatu',
+        'no_comment' => 'Ez dago erakusteko iruzkinik',
+        'n_comm_del' => '%s iruzkin ezabatuta',
+        'n_comm_disp' => 'Zenbat iruzkin erakutsi',
+        'see_prev' => 'Aurrekoa ikusi',
+        'see_next' => 'Hurrengoa ikusi',
+        'del_comm' => 'Aukeratutako iruzkinak ezabatu',
+        'user_name' => 'Izena', //cpg1.4
+        'date' => 'Data', //cpg1.4
+        'comment' => 'Iruzkina', //cpg1.4
+        'file' => 'Fitxategia', //cpg1.4
+        'name_a' => 'Izenaren arabera gorako ordenatu', //cpg1.4
+        'name_d' => 'Izenaren arabera beherako ordenatu', //cpg1.4
+        'date_a' => 'Data gorako', //cpg1.4
+        'date_d' => 'Data beherako', //cpg1.4
+        'comment_a' => 'Iruzkinen arabera gorako', //cpg1.4
+        'comment_d' => 'Iruzkinen arabera beherako', //cpg1.4
+        'file_a' => 'Fitxategiak gorako', //cpg1.4
+        'file_d' => 'Fitxategiak beherako', //cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File search.php - OK
+// ------------------------------------------------------------------------- //
+if (defined('SEARCH_PHP')){
+$lang_search_php = array(
+        'title' => 'Bilatu fitxaregia', //cpg1.4
+        'submit_search' => 'bilatu', //cpg1.4
+        'keyword_list_title' => 'Hitz gakoen zerrenda', //cpg1.4
+        'keyword_msg' => 'Beheko zerrendan ez daude elemnetu guztiak, bertan ez daude irudien izenburuak edo deskribapenak. Saiatu testu bilatzailearekin.',  //cpg1.4
+        'edit_keywords' => 'Hitz gakoak editatu.', //cpg1.4
+        'search in' => 'Hemen bilatu:', //cpg1.4
+        'ip_address' => 'IP helbideak', //cpg1.4
+        'fields' => 'Hemen bilatzen', //cpg1.4
+        'age' => 'Berritasuna', //cpg1.4
+        'newer_than' => 'Hau baino berriagoa', //cpg1.4
+        'older_than' => 'Hau baino zaharragoa', //cpg1.4
+        'days' => 'egunak', //cpg1.4
+        'all_words' => 'Hitz guztiak (AND)', //cpg1.4
+        'any_words' => 'Edozein hitz (OR)', //cpg1.4
+);
+
+$lang_adv_opts = array(
+        'title' => 'Izenburua', //cpg1.4
+        'caption' => 'Caption', //cpg1.4
+        'keywords' => 'Hitz gakoak', //cpg1.4
+        'owner_name' => 'Jabea', //cpg1.4
+        'filename' => 'Fitxategi izena', //cpg1.4
+);
+
+}
+
+// ------------------------------------------------------------------------- //
+// File searchnew.php
+// ------------------------------------------------------------------------- //
+if (defined('SEARCHNEW_PHP')) $lang_search_new_php = array(
+        'page_title' => 'Fitxategi berriak bilatu',
+        'select_dir' => 'Aukeratu direktoria',
+        'select_dir_msg' => 'Funtzio honekin batch eran gehitu ahal dituzu lehenago FTP bitartez edo igotako fitxategia.<br /><br />Aukeratu fitxategiak jarri dituzun direktorioa.', //cpg1.4
+        'select_dir_msg' => 'Funtzio honen bitartez FTP bidez igotako fitxategi guztiak automatikoki gehituko dira.<br /><br />Aukeratu fitxategiak utzi dituzun direktorioa',
+        'no_pic_to_add' => 'Ez dago fitxategirik gehitzeko',
+        'need_one_album' => 'Funtzio hau erabiltzeko bilduma bat behar duzu gutxienez',
+        'warning' => 'Adi',
+        'change_perm' => 'Scriptak ezin izan du direktorioan idatzi, bere baimenak aldatu behar dituzu (755 edo 777) berriro saiatu baino lehen!',
+        'target_album' => '<b>&quot;</b>%s<b>&quot; direktorioko fitxategiak </b>%s bilduman jarri',
+        'folder' => 'Karpeta',
+        'image' => 'Irudia',
+        'album' => 'Bilduma',
+        'result' => 'Emaitza',
+        'dir_ro' => 'Ezin da idatzi. ',
+        'dir_cant_read' => 'Ezin da irakurri. ',
+        'insert' => 'Bilduman fitxategiak gehitzen',
+        'list_new_pic' => 'Fitxategi berrien zerrenda',
+        'insert_selected' => 'Aukeratutako fitxategiak gehitu',
+        'no_pic_found' => 'Ez dut fitxategi berririk topatu',
+        'be_patient' => 'Lasai, scriptak denbora behar du fitxategi guztiak gehitzeko',
+        'no_album' => 'ez duzu bildumarik aukeratu',  //cpg1.3.0
+        'result_icon' => 'klikatu oharrak ikusteko edo freskatzeko',  //cpg1.4
+        'notes' =>  '<ul>'.
+                                '<li><b>OK</b> : fitxategia ondo gehitu duela esan nahi du'.
+                                '<li><b>DP</b> : fitxategia duplikatuta dagoela esan nahi du (dagoeneko datu basean dagoela)'.
+                                '<li><b>PB</b> : fitxategia ezin izan duela gehitu esan nahi du (ziurtatu, mesedez, konfigurazioa eta direktoriaren baimenak)'.
+                                '<li><b>NA</b> : fitxategiak gehitzeko bilduma ez duzula aukera esan nahi du, \'<a href="javascript:history.back(1)">Atzera</a>\' sakatu eta bilduma bat aukeratu. Bat izan ezean lehenago <a href="albmgr.php">bat sortu</a></li>'.
+                                '<li>OK, DP, PB ikonoak agertu ezean, sakatu kargatu gabeko irudiaren ikonoan PHPk bueltatu duen akatsa ikusteko'.
+                                '<li>Nabegadoreak timeout bueltatzen badu, eguneratzeko ikonoak sakatu'.
+                                '</ul>',
+        'select_album' => 'bilduma aukeratu', //cpg1.3.0
+        'check_all' => 'Guztiak markatu', //cpg1.3.0
+        'uncheck_all' => 'Guztiak desmarkatu', //cpg1.3.0
+        'no_folders' => 'Dagoeneko ez dago direktoriorik "albums" direktorioan. Surtu direktorio bat, gutxienez, eta zure irudiak bertara. Ez duzu irudirik "userpics" eta "edit" igo behar, beste lan batzuetarako baitaude erreserbatuak.', //cpg1.4
+        'albums_no_category' => 'Kategoriarik gabeko bildumak', //cpg1.4 // album pulldown mod, added by frogfoot
+        'personal_albums' => '* Erabiltzaileen bildumak', //cpg1.4 // album pulldown mod, added by frogfoot
+        'browse_batch_add' => 'Browsable interface (gomendatua)', //cpg1.4
+        'edit_pics' => 'Fitxategiak editatu', //cpg1.4
+        'edit_properties' => 'Bildumaren propietateak', //cpg1.4
+        'view_thumbs' => 'Miniaturak ikusi', //cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File stat_details.php //cpg1.4
+// ------------------------------------------------------------------------- //
+
+if (defined('STAT_DETAILS_PHP')) $lang_stat_details_php = array(
+        'show_hide' => 'izkutatu/erakutsi zutabe hau', //cpg1.4
+        'vote' => 'Botuak', //cpg1.4
+        'hits' => 'Hitak', //cpg1.4
+        'stats' => 'Botuen estatistikak', //cpg1.4
+        'sdate' => 'Data', //cpg1.4
+        'rating' => 'Bozketa', //cpg1.4
+        'search_phrase' => 'Testu bilaketa', //cpg1.4
+        'referer' => 'Referer', //cpg1.4
+        'browser' => 'Nabegadorea', //cpg1.4
+        'os' => 'Sistema eragilea', //cpg1.4
+        'ip' => 'IP', //cpg1.4
+        'sort_by_xxx' => 'Sort by %s', //cpg1.4
+        'ascending' => 'gorako', //cpg1.4
+        'descending' => 'beherako', //cpg1.4
+        'internal' => 'int', //cpg1.4
+        'close' => 'itxi', //cpg1.4
+        'hide_internal_referers' => 'izkutatu barruko erreferentziak', //cpg1.4
+        'date_display' => 'Data erakutsi', //cpg1.4
+        'submit' => 'bidali / freskatu', //cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File thumbnails.php
+// ------------------------------------------------------------------------- //
+// Void
+
+// ------------------------------------------------------------------------- //
+// File upload.php
+// ------------------------------------------------------------------------- //
+if (defined('UPLOAD_PHP')) $lang_upload_php = array(
+        'title' => 'Fitxategi berria',
+        'custom_title' => 'Formularioak personalizatzeko', //cpg1.3.0
+        'cust_instr_1' => 'Igotzeko gelaxken kopurua zehaztu ahal duzu. Hala ere, ezin duzu behean zehaztutako mugak gainditu.', //cpg1.3.0
+        'cust_instr_2' => 'Box Number Requests', //cpg1.3.0
+        'cust_instr_3' => 'Fitxategiak igoetzeko gelaxka: %s', //cpg1.3.0
+        'cust_instr_4' => 'URI/URLak igoetzeko gelaxka: %s', //cpg1.3.0
+        'cust_instr_5' => 'URI/URLak igoetzeko gelaxka:', //cpg1.3.0
+        'cust_instr_6' => 'Fitxategiak igotzeko gelaxkak:', //cpg1.3.0
+        'cust_instr_7' => 'Idatzi zenbat mota baikoitzeko gelaxka nahi duzun oraingo honetan.  Gero \'Jarraitu\' sakatu. ', //cpg1.3.0
+        'reg_instr_1' => 'Ekintza ezbalidoa formularioa sortzeko.', //cpg1.3.0
+        'reg_instr_2' => 'Orain fitxategiak igo ahal dituzu beheko igoera gelaxkak erabilita. Fitxategiak ezin dira  %s KB baino handiagoak. ZIP fitxategiak \'Fitxategi igotzea\' eta \'URI/URL igotzea\' ataletan konprimituta iraungo dute.', //cpg1.3.0
+        'reg_instr_3' => 'Konprimitutako fitxategiak deskonprimituak izatea nahi baduzu \'Deskonprimitu ZIP igoerak\' atalean dauden igoera gelaxkak erabili behar dituzu.', //cpg1.3.0
+        'reg_instr_4' => 'URI/URL igera atala erabiltzen duzunean era egokian idatzi fitxategiekiko bideak. Horrela: http://www.niregunea.org/irudiak/adibidea.jpg', //cpg1.3.0
+        'reg_instr_5' => 'Formularioa osotu ostean \'Jarraitu\'n sakatu.', //cpg1.3.0
+        'reg_instr_6' => 'Deskonprimitu ZIP igoerak:', //cpg1.3.0
+        'reg_instr_7' => 'Fitxategi igoerak:', //cpg1.3.0
+        'reg_instr_8' => 'URI/URL igoerak:', //cpg1.3.0
+        'error_report' => 'Akatsak', //cpg1.3.0
+        'error_instr' => 'Igoera hauekin akatsak gertatu dira:', //cpg1.3.0
+        'file_name_url' => 'Fitxategia/URLa', //cpg1.3.0
+        'error_message' => 'Akats mezua', //cpg1.3.0
+        'no_post' => 'Ezin POSTen bitartez igo.', //cpg1.3.0
+        'forb_ext' => 'Fitxategiaren luzapena debekatuta.', //cpg1.3.0
+        'exc_php_ini' => 'php.ini-n zehaztutako gehienezko tamaina gaindituta.', //cpg1.3.0
+        'exc_file_size' => 'CPG-ek onartutako gehienezko tamaina gainditua.', //cpg1.3.0
+        'partial_upload' => 'Only a partial upload.', //cpg1.3.0
+        'no_upload' => 'Igoera ez da burutu.', //cpg1.3.0
+        'unknown_code' => 'PHP igoera akats ezezaguna.', //cpg1.3.0
+        'no_temp_name' => 'Igoerarik ez - behin behineko izenik ez.', //cpg1.3.0
+        'no_file_size' => 'Daturik gabea/apurtuta', //cpg1.3.0
+        'impossible' => 'Ezin mugitu.', //cpg1.3.0
+        'not_image' => 'Ez da irudia/apurtuta', //cpg1.3.0
+        'not_GD' => 'Ez da GD luzapena.', //cpg1.3.0
+        'pixel_allowance' => 'Irudiaren tamainak onartutakoa gainditzen du.', //cpg1.4
+        'incorrect_prefix' => 'URI/URL aurrizkia ez zuzena', //cpg1.3.0
+        'could_not_open_URI' => 'Ezin izan dut URIa zabaldu.', //cpg1.3.0
+        'unsafe_URI' => 'Zuzentasuna ezin zehaztu.', //cpg1.3.0
+        'meta_data_failure' => 'Meta datuen akatsa', //cpg1.3.0
+        'http_401' => '401 Baimen gabekoa', //cpg1.3.0
+        'http_402' => '402 Ordainpekoa', //cpg1.3.0
+        'http_403' => '403 Debekatuta', //cpg1.3.0
+        'http_404' => '404 Ez topatua', //cpg1.3.0
+        'http_500' => '500 Zerbitzariaren barne akatsa', //cpg1.3.0
+        'http_503' => '503 Zerbitzu ez erabilgarria', //cpg1.3.0
+        'MIME_extraction_failure' => 'MIME mota ezin da zehaztu.', //cpg1.3.0
+        'MIME_type_unknown' => 'MIME mota ezezaguna', //cpg1.3.0
+        'cant_create_write' => 'Ezin idazteko fitxategia sortu.', //cpg1.3.0
+        'not_writable' => 'Ezin idazteko fitxategian idatzi.', //cpg1.3.0
+        'cant_read_URI' => 'Ezin dut URI/URLa irakurri', //cpg1.3.0
+        'cant_open_write_file' => 'Ezin zabaldu URIa idazteko.', //cpg1.3.0
+        'cant_write_write_file' => 'Ezin idatzi URIaren idazteko fitxategian.', //cpg1.3.0
+        'cant_unzip' => 'Ezin deskonprimitu.', //cpg1.3.0
+        'unknown' => 'Akats ezezaguna', //cpg1.3.0
+        'succ' => 'Ondo igota', //cpg1.3.0
+        'success' => '%s igoera zuzenak.', //cpg1.3.0
+        'add' => '\'Jarraitu\'n sakatu fitxategiak bildumari gehitzeko.', //cpg1.3.0ari
+        'failure' => 'Akatsa igotzean', //cpg1.3.0
+        'f_info' => 'Fitxategiaren infoa', //cpg1.3.0
+        'no_place' => 'Aurreko fitxategia ezin izan dut gehitu.', //cpg1.3.0
+        'yes_place' => 'Aurreko fitxategia ondo gehitu dut.', //cpg1.3.0
+        'max_fsize' => 'Onartzen diren fitxategi tamaina handiena %s KBekoa da',
+        'album' => 'Bilduma',
+        'picture' => 'Fitxategia',
+        'pic_title' => 'Fitxategiaren izenburua',
+        'description' => 'Fitxategiaren deskribapena',
+        'keywords' => 'Hitz gakoak (espazioak separatuta)<br /><a href="#" onClick="return MM_openBrWindow(\'keyword_select.php\',\'selectKey\',\'width=250, height=400, scrollbars=yes,toolbar=no,status=yes,resizable=yes\')">Zerrendan aukeratu</a>', //cpg1.4
+        'keywords_sel' =>'Hitz gakoa aukeratu', //cpg1.4
+        'err_no_alb_uploadables' => 'Ez dago fitxategiak gehitzea onartzen duen bildumarik',
+        'place_instr_1' => 'Fitxategiak bildumetan sartzen ari zara.  Orain fitxategi bakiotzari buruzko informazio garrantzitsua gehitu ahal duzu.', //cpg1.3.0
+        'place_instr_2' => 'Fitxategi gehiago gehitu nahi?. \'Gehiago\'n sakatu.', //cpg1.3.0
+        'process_complete' => 'Fitxategi guztiak ondo gehitu ditut.', //cpg1.3.0
+        'albums_no_category' => 'Kategoriarik gabeko bildumak', //cpg1.4. //album pulldown mod, added by frogfoot
+        'personal_albums' => '* Norbanakoaren bildumak', //cpg1.4 //album pulldown mod, added by frogfoot
+        'select_album' => 'Bilduma aukeratu', //cpg1.4 //album pulldown mod, added by frogfoot
+        'close' => 'Itxi', //cpg1.4
+        'no_keywords' => 'Ez dago hitz gakorik erabilgarri!', //cpg1.4
+        'regenerate_dictionary' => 'Hiztegia bersortu', //cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File usermgr.php
+// ------------------------------------------------------------------------- //
+if (defined('USERMGR_PHP')) $lang_usermgr_php = array(
+        'memberlist' => 'Bazkideeen zerrenda', //cpg1.4
+        'user_manager' => 'Erabiltzaileen kudeaketa', //cpg1.4
+        'title' => 'Erabiltzaileak kudeatu',
+        'name_a' => 'Izenaren arabera gorako',
+        'name_d' => 'Izenaren arabera beherako',
+        'group_a' => 'Taldearen arabera gorako',
+        'group_d' => 'Taldearen arabera beherako',
+        'reg_a' => 'Alta dataren arabera gorako',
+        'reg_d' => 'Alta dataren arabera beherako',
+        'pic_a' => 'Argazki kopuruaren arabera gorako',
+        'pic_d' => 'Argazki kopuruaren arabera beherako',
+        'disku_a' => 'Disko okupazioaren arabera gorako',
+        'disku_d' => 'Disko okupazioaren arabera beherako',
+        'lv_a' => 'Azken bisitaren arabera gorako', //cpg1.3.0
+        'lv_d' => 'Azken bisitaren arabera beherako', //cpg1.3.0
+        'sort_by' => 'Erabiltzaileak ordenatu',
+        'err_no_users' => 'Erabiltzaileen taula hutsik dago!',
+        'err_edit_self' => 'Ezin duzu zeure profila editatu, horretarako \'Nire erabiltzaile profila\' aukera erabili',
+        'edit' => 'EDITATU',
+        'with_selected' => 'aukeratutako:', //cpg1.4
+        'delete' => 'Ezabatu', //cpg1.4
+        'delete_files_no' => 'gorde fitxategi publikoak (anonimizatuta)', //cpg1.4
+        'delete_files_yes' => 'fitxategi publikoak ere ezabatu', //cpg1.4
+        'delete_comments_no' => 'gorde iruzkinak (anonimizatuta)', //cpg1.4
+        'delete_comments_yes' => 'iruzkinak ere ezabatu', //cpg1.4
+        'activate' => 'Gaitu', //cpg1.4
+        'deactivate' => 'Ezgaitu', //cpg1.4
+        'reset_password' => 'Pasahitza berrezarri', //cpg1.4
+        'change_primary_membergroup' => 'Talde nagusia aldatu', //cpg1.4
+        'add_secondary_membergroup' => 'Bigarren taldea gehitu', //cpg1.4
+        'name' => 'Erabiltzaile izena',
+        'group' => 'Taldea',
+        'inactive' => 'Inaktiboa',
+        'operations' => 'Ekintzak',
+        'pictures' => 'Fitxategiak',
+        'disk_space_used' => 'Erabilita', //cpg1.4
+          'disk_space' => 'Erabilitako espazioa / kuota',
+        'disk_space_quota' => 'Kuota', //cpg1.4
+        'registered_on' => 'Noiz errejistratua',
+        'last_visit' => 'Azken bisita', //cpg1.3.0
+        'u_user_on_p_pages' => '%d erabiltzaile %d orritan',
+        'confirm_del' => 'Seguru erabiltzaile hau ezabatu nahi duzula? \\nBere argazki eta bildumak guztiak ere ezabatuko ditut.',
+        'mail' => 'ePOSTA',
+        'err_unknown_user' => 'Aukeratutako erabiltzailea ez dago!',
+        'modify_user' => 'Erabiltzailea eraldatu',
+        'notes' => 'Oharrak',
+        'note_list' => '<li>Egungo pasahitza aldatu nahi ez baduzu "pasahitza" atala zuri utzi',
+        'password' => 'Pasahitza',
+        'user_active' => 'Erabiltzailea aktibo dago',
+        'user_group' => 'Erabiltzaileen taldea',
+        'user_email' => 'Erabiltzailearen ePosta',
+        'user_web_site' => 'Erabiltzailearen web orria',
+        'create_new_user' => 'Erabiltzaile berria',
+        'user_location' => 'Erabiltzailearen bizilekua',
+        'user_interests' => 'Erabiltzailerean gogoak',
+        'user_occupation' => 'Erabiltzailearen lanbidea',
+        'user_profile1' => '$user_profile1', //cpg1.4
+        'user_profile2' => '$user_profile2', //cpg1.4
+        'user_profile3' => '$user_profile3', //cpg1.4
+        'user_profile4' => '$user_profile4', //cpg1.4
+        'user_profile5' => '$user_profile5', //cpg1.4
+        'user_profile6' => '$user_profile6', //cpg1.4
+        'latest_upload' => 'Azken igoerak', //cpg1.3.0
+        'never' => 'inoiz ez', //cpg1.3.0
+        'search' => 'Erabiltzailea bilatu', //cpg1.4
+        'submit' => 'Bidali', //cpg1.4
+        'search_submit' => 'Joan!', //cpg1.4
+        'search_result' => 'Bilaketaren emaitza: ', //cpg1.4
+        'alert_no_selection' => 'Lehenago erabiltzaile izen bat aukeratu behar duzu!', //cpg1.4 //js-alert
+        'password' => 'pasahitza', //cpg1.4
+        'select_group' => 'Taldea aukeratu', //cpg1.4
+        'groups_alb_access' => 'Bildumaren baimenak taldeeen arabera', //cpg1.4
+        'album' => 'Bilduma', //cpg1.4
+        'category' => 'Kategoria', //cpg1.4
+        'modify' => 'Onartu?', //cpg1.4
+        'group_no_access' => 'Talde honek ez du pribilejio berezirik', //cpg1.4
+        'notice' => 'Oharra', //cpg1.4
+        'group_can_access' => '"%s"-k soilik ikusi ahal dituen bildumak', //cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File util.php
+// ------------------------------------------------------------------------- //
+
+if (defined('UTIL_PHP')) $lang_util_php = array(
+
+
+        'update_db_explanation' => 'Coppermineren fitxategiak ordezkatu badituzu, aldatu edo bertsioa eguneratu datu basearen eguneraketa egikaritu beharko duzu. Horrela beharrezkoak diren taulak eta baloreak sortuko ditu datu basean.', //cpg1.3.0
+
+);
+
+if (defined('UTIL_PHP')) {
+$lang_util_desc_php = array(
+'Updates titles from filename', //cpg1.4
+'Deletes titles', //cpg1.4
+'Rebuilds thumbnails and resized photos', //cpg1.4
+'Deletes original sized photos replacing them with the resized version', //cpg1.4
+'Deletes original or intermediate size photos to free webspace', //cpg1.4
+'Deletes orphaned comments', //cpg1.4
+'Re-reads file sizes and dimensions (if you manually edited pics)', //cpg1.4
+'Resets views counter', //cpg1.4
+'Displays phpinfo', //cpg1.4
+'Updates the database', //cpg1.4
+'Displays log files', //cpg1.4
+);
+$lang_util_php = array(
+  'title' => 'Tresnak (irudiak eraldatu)',
+  'what_it_does' => 'Zer egiten du',
+  'file' => 'Fitxategia',
+  'problem' => 'Arazoa', //cpg1.4
+  'status' => 'Egoera', //cpg1.4
+  'title_set_to' => 'tutulua:',
+  'submit_form' => 'bidali',
+  'updated_succesfully' => 'ondo eguneratuta',
+  'error_create' => 'Akatsa sortzean',
+  'continue' => 'Irudi gehiago prozesatu',
+  'main_success' => '%s fitxategia da orain fitxategi nagusia',
+  'error_rename' => '%s fitxategia %s berrizendatzekoan akatsa',
+  'error_not_found' => '%s fitxategia ez dut topatu',
+  'back' => 'nagusira bueltatu',
+'thumbs_wait' => 'Miniaturak sortzen eta irudiak prestatzen, itxaron mesedez...',
+  'thumbs_continue_wait' => 'Miniaturak sortzen eta irudiak prestatzen, itxaron mesedez......',
+  'titles_wait' => 'Izenburuak eguneratzen, itxaron mesedez...',
+  'delete_wait' => 'Izenburuak ezabatzen, itxaron mesedez...',
+  'replace_wait' => 'Jatorrizko irudiak ezabatzen, itxaron mesedez..',
+  'instruction' => 'Argibide azkarrak',
+  'instruction_action' => 'Ekintza aukeratu',
+  'instruction_parameter' => 'Parametroak ezarri',
+  'instruction_album' => 'Bilduma aukeratu',
+  'instruction_press' => '%s sakatu',
+  'update' => 'Miniaturak eguneratu eta/edo irudiak moldatu',
+  'update_what' => 'Zer eguneratu behar dut',
+  'update_thumb' => 'Miniaturak soilik',
+  'update_pic' => 'Moldatutako irudiak soilik',
+  'update_both' => 'Moldatutako irudiak eta miniaturak',
+  'update_number' => 'Zenbat irudi prozesatuko da gehienez klik bakoitzean',
+  'update_option' => '(Saiatu kopuru txikiagoa ezartzen timeout arazoak izanez gero)',
+  'filename_title' => 'Filename &rArr; File title',
+  'filename_how' => 'How should the filename be modified',
+  'filename_remove' => 'Ezabatu .jpg amaiera eta ordezkatu hutsuneak _ ikurrarekin',
+  'filename_euro' => 'Aldatu 2003_11_23_13_20_20.jpg honekin 23/11/2003 13:20',
+  'filename_us' => 'Aldatu 2003_11_23_13_20_20.jpg honekin 11/23/2003 13:20',
+  'filename_time' => 'Aldatu 2003_11_23_13_20_20.jpg honekin 13:20',
+  'delete' => 'Ezabatu fitxategien izenak eta jatorrizko argazkiak',
+  'delete_title' => 'Ezabatu fitxategien izenak',
+  'delete_title_explanation' => 'Honek zuk esandako bildumaren fitxategi guztien izenburuak ezabatuko ditu.', //cpg1.4
+  'delete_original' => 'Ezabatu jatorrizko argazkiak',
+  'delete_original_explanation' => 'Honek jatorrizko argazkiak ezabatuko ditu.', //cpg1.4
+  'delete_intermediate' => 'Ezabatu tarteko irudiak', //cpg1.4
+  'delete_intermediate_explanation' => 'Honek jatorrizko irudiak ezabatuko ditu.<br />Erabili aukera hau lekua irabazteko zerbitzarian.', //cpg1.4
+  'delete_replace' => 'Jatorrizko irudiak moldatutakoekin ordezkatu',
+  'titles_deleted' => 'Esandako bilduman izenburuak ezbatu ditut', //cpg1.4
+  'deleting_intermediates' => 'Tarteko irudiak ezabatzen, itxaron mesedez...', //cpg1.4
+  'searching_orphans' => 'Umezurtzak bilatzen, itxaron mesedez...', //cpg1.4
+  'select_album' => 'Bilduma aukeratu',
+  'delete_orphans' => 'Ezabatu iruzkinak galdutako fitxategietan', //cpg1.4
+  'delete_orphans_explanation' => 'Honek ahalbidetzen dizu identifikatzea eta ezabatzea fitxategiekin lotura ez daukaten iruzkinak.<br />Bilduma guztietan begiratzen du.', //cpg1.4
+  'refresh_db' => 'Berkargatu fitxategien tamainari buruzko infoa', //cpg1.4
+  'refresh_db_explanation' => 'Honek fitxategien tamaina berriro irakurtzen du. Erabili kuotak zuzenak ez badira edo eskuz aldatu badituzu fitxategiak.', //cpg1.4
+  'reset_views' => 'Ikustaldien kontadoreak berrabiarazi', //cpg1.4
+  'reset_views_explanation' => 'Esandako bildumaren ikustaldien kontadore guztiak zeron ezartzen ditu.', //cpg1.4
+  'orphan_comment' => 'Iruzkin umezurtz topatu ditut',
+  'delete' => 'Ezabatu',
+  'delete_all' => 'Guztiak ezabatu',
+  'delete_all_orphans' => 'Umezurtz guztiak ezabatu?', //cpg1.4
+  'comment' => 'Iruzkina: ',
+  'nonexist' => 'attached to non existant file # ',
+  'phpinfo' => 'phpinfo pantailaratu',
+  'phpinfo_explanation' => 'Zure zerbitzariari buruzko informazio teknikoa erakusten du.<br /> - Soportea eskatzean garrantzitsua da.', //cpg1.4
+  'update_db' => 'Datubasea eguneratu',
+  'update_db_explanation' => 'Coppermineren fitxategiak aldatu badituzu, ordezkatu edo aurreko bertsio batetik eguneratu, abiarazi hau behin gutxienez. Horrela beharrezkoak diren taulak edota konfigurazioak sotuko ditu Coppermineren datubasean.',
+  'view_log' => 'Log fitxategiak ikusi', //cpg1.4
+  'view_log_explanation' => 'Copperminek hainbat gertakizunen traza gorde dezake. <a href="admin.php">Coppermineren konfigurazio fitxategian</a> aukera hau gaitu baduzu ikusi ahal izango duzu.', //cpg1.4
+  'versioncheck' => 'Bertsioak ziurtatu', //cpg1.4
+  'versioncheck_explanation' => 'Fitxategi guztiak begiratzen ditu ziurtatzeko konfliktorik ez dagoela, oso baliagarria da eguneraketa baten ostean.', //cpg1.4
+  'bridgemanager' => 'Bridge-ren kudeaketa', //cpg1.4
+  'bridgemanager_explanation' => 'Gaitu/ezgaitu coppermineren integrazioa (bridging) beste aplikazio batzuekin (adib: zure BBSa).', //cpg1.4
+);
+}
+
+// ------------------------------------------------------------------------- //
+// File versioncheck.php //cpg1.4
+// ------------------------------------------------------------------------- //
+
+if (defined('VERSIONCHECK_PHP')) $lang_versioncheck_php = array(
+  'title' => 'Versioncheck', //cpg1.4
+  'what_it_does' => 'This page is meant for users who have updated their coppermine install. This script goes through the files on your webserver and tries to determine if your local file versions on the webserver are the same as the ones from the repository at http://coppermine.sourceforge.net, this way displaying the files you were meant to update as well.<br />It will show everything in red that needs to be fixed. Entries in yellow need looking into. Entries in green (or your default font color) are OK.<br />Click on the help icons to find out more.', //cpg1.4
+  'online_repository_unable' => 'Ezin izan dut online errepositorioarekin konektatu', //cpg1.4
+  'online_repository_noconnect' => 'Coppermine was unable to connect to the online repository. This can have two reasons:', //cpg1.4
+  'online_repository_reason1' => 'the coppermine online repository is currently down - check if you can browse this page: %s - if you can\'t access this page, try again later.', //cpg1.4
+  'online_repository_reason2' => 'PHP on your webserver is configured with %s turned off (by default, it\'s turned on). If the server is yours to administer, turn this option on in <i>php.ini</i> (at least allow it to be overridden with %s). If you\'re webhosted, you will probably have to live with the fact that you can\'t compare your files to the online repository. This page will then only display the file versions that came with your distribution - updates will not be displayed.', //cpg1.4
+  'online_repository_skipped' => 'Connection to online repository skipped', //cpg1.4
+  'online_repository_to_local' => 'The script is defaulting to the local copy of the version-files now. The data may be inacurate if you have upgraded Coppermine and you haven\'t uploaded all files. Changes to the files after the release won\'t be taken into account as well.', //cpg1.4
+  'local_repository_unable' => 'Unable to connect to the repository on your server', //cpg1.4
+  'local_repository_explanation' => 'Coppermine was unable to connect to the repository file %s on your webserver. This probably means that you haven\'t uploaded the repository file to your webserver. Do so now and then try to run this page once more (hit refresh).<br />If the script still fails, your webhost might have disabled parts of <a href="http://www.php.net/manual/en/ref.filesystem.php">PHP\'s filesystem functions</a> completely. In this case, you simply won\'t be able to use this tool at all, sorry.', //cpg1.4
+  'coppermine_version_header' => 'Instalatutako Coppermineren bertsioa', //cpg1.4
+  'coppermine_version_info' => 'You have currently installed: %s', //cpg1.4
+  'coppermine_version_explanation' => 'If you think this is entirely wrong and you\'re supposed to be running a higher version of Coppermine, you probably haven\'t uploaded the most recent version of the file <i>include/init.inc.php</i>', //cpg1.4
+  'version_comparison' => 'Bertsioen konparaketa', //cpg1.4
+  'folder_file' => 'direktorio/fitxategiak', //cpg1.4
+  'coppermine_version' => 'cpg bertsioa', //cpg1.4
+  'file_version' => 'fitxategi bertsioa', //cpg1.4
+  'webcvs' => 'web svna', //cpg1.4
+  'writable' => 'writable', //cpg1.4
+  'not_writable' => 'not writable', //cpg1.4
+  'help' => 'Laguntza', //cpg1.4
+  'help_file_not_exist_optional1' => 'fitxategi/direktorioa ez dago', //cpg1.4
+  'help_file_not_exist_optional2' => 'The file/folder %s has not been found on your server. Although it is optional you should upload it (using your FTP client) to your webserver if you are experiencing problems.', //cpg1.4
+  'help_file_not_exist_mandatory1' => 'file/folder does not exist', //cpg1.4
+  'help_file_not_exist_mandatory2' => 'The file/folder %s has not been found on your server, although it is mandatory. Upload the file to your webserver (using your FTP client).', //cpg1.4
+  'help_no_local_version1' => 'No local file version', //cpg1.4
+  'help_no_local_version2' => 'The script was unable to extract a local file version - your file is either outdated or you have modified it, removing the header information on the way. Updating the file is recommended.', //cpg1.4
+  'help_local_version_outdated1' => 'Local version outdated', //cpg1.4
+  'help_local_version_outdated2' => 'Your version of this file seems to be from an older version of Coppermine (you probably upgraded). Make sure to update this file as well.', //cpg1.4
+  'help_local_version_na1' => 'Unable to extract cvs version info', //cpg1.4
+  'help_local_version_na2' => 'The script could not determine what cvs version the file on your webserver is. You should upload the file from your package.', //cpg1.4
+  'help_local_version_dev1' => 'Development version', //cpg1.4
+  'help_local_version_dev2' => 'The file on your webserver seems to be newer than your Coppermine version. You are either using a development file (you should only do so if you know what you are doing), or you have upgraded your Coppermine install and not uploaded include/init.inc.php', //cpg1.4
+  'help_not_writable1' => 'Folder not writable', //cpg1.4
+  'help_not_writable2' => 'Change file permissions (CHMOD) to grant the script write access to the folder %s and everything within it.', //cpg1.4
+  'help_writable1' => 'Folder writable', //cpg1.4
+  'help_writable2' => 'The folder %s is writable. This is an unnecessary risk, coppermine only needs read/execute access.', //cpg1.4
+  'help_writable_undetermined' => 'Coppermine was not able to determine wether the folder is writable.', //cpg1.4
+  'your_file' => 'your file', //cpg1.4
+  'reference_file' => 'reference file', //cpg1.4
+  'summary' => 'Summary', //cpg1.4
+  'total' => 'Total files/folders checked', //cpg1.4
+  'mandatory_files_missing' => 'Mandatory files missing', //cpg1.4
+  'optional_files_missing' => 'Optional files missing', //cpg1.4
+  'files_from_older_version' => 'Files left over from outdated Coppermine version', //cpg1.4
+  'file_version_outdated' => 'Outdated file versions', //cpg1.4
+  'error_no_data' => 'The script made a boo, it was not able to retrieve any information. Sorry for the inconvenience.', //cpg1.4
+  'go_to_webcvs' => 'hona joan %s', //cpg1.4
+  'options' => 'Aukerak', //cpg1.4
+  'show_optional_files' => 'erakutsi aukerako direktorioak/fitxategiak', //cpg1.4
+  'show_mandatory_files' => 'erakutsi lotesle fitxategiak', //cpg1.4
+  'show_file_versions' => 'erakutsi fitxategien bertsioa', //cpg1.4
+  'show_errors_only' => 'erakutsi akastun fitxategiak/direktorioak soilik', //cpg1.4
+  'show_permissions' => 'erakutsi direktorioen baimenak', //cpg1.4
+  'show_condensed_output' => 'show condensed ouput (for easier screenshots)', //cpg1.4
+  'coppermine_in_webroot' => 'coppermine zerbitzariaren erroan dago instalatuta', //cpg1.4
+  'connect_online_repository' => 'saiatu online errepositorioarekin konektatzen', //cpg1.4
+  'show_additional_information' => 'erakutsi info gehigarria', //cpg1.4
+  'no_webcvs_link' => 'don\'t display web svn link', //cpg1.4
+  'stable_webcvs_link' => 'display web svn link to stable branch', //cpg1.4
+  'devel_webcvs_link' => 'display web svn link to devel branch', //cpg1.4
+  'submit' => 'aldaketak aplikatu / freskatu', //cpg1.4
+  'reset_to_defaults' => 'jatorrizko ezarpenak berrezarri', //cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File view_log.php  //cpg1.4
+// ------------------------------------------------------------------------- //
+
+if (defined('VIEWLOG_PHP')) $lang_viewlog_php = array(
+  'delete_all' => 'Log guztiak ezabatu', //cpg1.4
+  'delete_this' => 'Log hau ezabatu', //cpg1.4
+  'view_logs' => 'Logak ikusi', //cpg1.4
+  'no_logs' => 'Ez dago logik.', //cpg1.4
+);
+
+
+// ------------------------------------------------------------------------- //
+// File xp_publish.php //cpg1.4
+// ------------------------------------------------------------------------- //
+
+if (defined('XP_PUBLISH_PHP')) {
+
+$lang_xp_publish_client = <<<EOT
+<h1>XP Web Publishing Wizard Client</h1><p>Modulu honek <b>Windows XPren</b> web publishing wizard Copperminerekin erabiltzea ahalbidetzen dizu.</p><p>Kodigoaren ideia:
+EOT;
+
+$lang_xp_publish_required = <<<EOT
+<h2>What is required</h2><ul><li>Windows XP in order to have the wizard.</li><li>A working installation of Coppermine on which <b>the web upload function works properly.</b></li></ul><h2>How to install on client side</h2><ul><li>Right click on
+EOT;
+
+$lang_xp_publish_select = <<<EOT
+Select &quot;save target as..&quot;. Save the file on your hard drive. When saving the file, check that the proposed file name is <b>cpg_###.reg</b> (the ### represents a numerical timestamp). Change it to that name if necessary (leave the numbers). When downloaded, double click on the file in order to register your server with the web publishing wizard.</li></ul>
+EOT;
+
+$lang_xp_publish_testing = <<<EOT
+<h2>Testing</h2><ul><li>In Windows Explorer, select some files and click on <b>Publish xxx on the web</b> in the left pane.</li><li>Confirm your file selection. Click on <b>Next</b>.</li><li>In the list of services that appear, select the one for your photo gallery (it has the name of your gallery). If the service does not appear, check that you have installed <b>cpg_pub_wizard.reg</b> as described above.</li><li>Input your login information if required.</li><li>Select the target album for your pictures or create a new one.</li><li>Click on <b>next</b>. The upload of your pictures starts.</li><li>When it is completed, check your gallery to see if pictures have been properly added.</li></ul>
+EOT;
+
+$lang_xp_publish_notes = <<<EOT
+<h2>Notes :</h2><ul><li>Once the upload has started, the wizard can't display any error message returned by the script so you can't know if the upload failed or succeeded until you check your gallery.</li><li>If the upload fails, enable &quot;Debug mode&quot; on the Coppermine admin page, try with one single picture and check error messages in the
+EOT;
+
+$lang_xp_publish_flood = <<<EOT
+Zerbitzarian zure Coppermine direktorioan kokatuta dagoen fitxategia.</li><li>Bilduma wizard bitartez igotako irudiek <i>floodeatuta</i> izatea ekiditzeko, soilik <b>bildumen administratzaileek</b> eta <b>bilduma propioak izan ahal dituzten erabiltzaileek</b> arabili ahal dute tresna hau.</li>
+EOT;
+
+
+
+$lang_xp_publish_php = array(
+  'title' => 'Coppermine - XP Web Publishing Wizard', //cpg1.4
+  'welcome' => 'Mongi etorri <b>%s</b>,', //cpg1.4
+  'need_login' => 'Nabegadorea erabiliz logeatu behar duzu copperminen Wizard erabili baino lehen.<p/>.', //cpg1.4
+  'no_alb' => 'Ez daukazu eskubiderik sistema honetako bildumetan Wizardekin zure irudiak argitaratzeko.', //cpg1.4
+  'upload' => 'Igo zure irudiak dagoen bilduma batera', //cpg1.4
+  'create_new' => 'Bilduma berria sortu', //cpg1.4
+  'album' => 'Bilduma', //cpg1.4
+  'category' => 'Kategoria', //cpg1.4
+  'new_alb_created' => 'Zure album berria: &quot;<b>%s</b>&quot; sortuta.', //cpg1.4
+  'continue' => 'Sakatu &quot;Hurrengoa&quot; irudiak igotzen hasteko', //cpg1.4
+  'link' => 'lotura hau', //cpg1.4
+);
+}
+?>
diff -x .svn -aruN 1.4.24.src/lang/brazilian_portuguese.php 1.4.25.src/lang/brazilian_portuguese.php
--- 1.4.24.src/lang/brazilian_portuguese.php	2009-05-25 15:01:17.000000000 -0500
+++ 1.4.25.src/lang/brazilian_portuguese.php	2009-05-26 11:25:40.000000000 -0500
@@ -10,11 +10,11 @@
   as published by the Free Software Foundation.
   
   ********************************************
-  Coppermine version: 1.4.24
+  Coppermine version: 1.4.25
   $HeadURL: https://coppermine.svn.sourceforge.net/svnroot/coppermine/trunk/cpg1.4.x/lang/brazilian_portuguese.php $
-  $Revision: 5988 $
+  $Revision: 5997 $
   $Author: gaugau $
-  $Date: 2009-05-25 22:01:41 +0200 (Mo, 25 Mai 2009) $
+  $Date: 2009-05-26 08:43:24 +0200 (Di, 26 Mai 2009) $
 **********************************************/
 
 if (!defined('IN_COPPERMINE')) { die('Not in Coppermine...');}
diff -x .svn -aruN 1.4.24.src/lang/bulgarian.php 1.4.25.src/lang/bulgarian.php
--- 1.4.24.src/lang/bulgarian.php	2009-05-25 15:01:17.000000000 -0500
+++ 1.4.25.src/lang/bulgarian.php	2009-05-26 11:25:40.000000000 -0500
@@ -10,11 +10,11 @@
   as published by the Free Software Foundation.
   
   ********************************************
-  Coppermine version: 1.4.24
+  Coppermine version: 1.4.25
   $HeadURL: https://coppermine.svn.sourceforge.net/svnroot/coppermine/trunk/cpg1.4.x/lang/bulgarian.php $
-  $Revision: 5988 $
+  $Revision: 5997 $
   $Author: gaugau $
-  $Date: 2009-05-25 22:01:41 +0200 (Mo, 25 Mai 2009) $
+  $Date: 2009-05-26 08:43:24 +0200 (Di, 26 Mai 2009) $
 **********************************************/
 
 if (!defined('IN_COPPERMINE')) { die('Не в Coppermine...');}
diff -x .svn -aruN 1.4.24.src/lang/catalan.php 1.4.25.src/lang/catalan.php
--- 1.4.24.src/lang/catalan.php	2009-05-25 15:01:17.000000000 -0500
+++ 1.4.25.src/lang/catalan.php	2009-05-26 11:25:40.000000000 -0500
@@ -10,14 +10,14 @@
   as published by the Free Software Foundation.
   
   ********************************************
-  Coppermine version: 1.4.24
+  Coppermine version: 1.4.25
   $HeadURL: https://coppermine.svn.sourceforge.net/svnroot/coppermine/trunk/cpg1.4.x/lang/catalan.php $
-  $Revision: 5988 $
+  $Revision: 5997 $
   $Author: gaugau $
-  $Date: 2009-05-25 22:01:41 +0200 (Mo, 25 Mai 2009) $
+  $Date: 2009-05-26 08:43:24 +0200 (Di, 26 Mai 2009) $
 **********************************************/
 // ------------------------------------------------------------------------- //
-// $Id: catalan.php 5988 2009-05-25 20:01:41Z gaugau $
+// $Id: catalan.php 5997 2009-05-26 06:43:24Z gaugau $
 // ------------------------------------------------------------------------- //
 
 if (!defined('IN_COPPERMINE')) { die('No s\'ha pogut trobar el Coppermine ...');}
diff -x .svn -aruN 1.4.24.src/lang/chinese_big5.php 1.4.25.src/lang/chinese_big5.php
--- 1.4.24.src/lang/chinese_big5.php	2009-05-25 15:01:17.000000000 -0500
+++ 1.4.25.src/lang/chinese_big5.php	2009-05-26 11:25:40.000000000 -0500
@@ -1,2107 +1,2107 @@
-<?php
-/*************************
-  Coppermine Photo Gallery
-  ************************
-  Copyright (c) 2003-2009 Coppermine Dev Team
-  v1.1 originally written by Gregory DEMAR
-
-  This program is free software; you can redistribute it and/or modify
-  it under the terms of the GNU General Public License version 3
-  as published by the Free Software Foundation.
-  
-  ********************************************
-  Coppermine version: 1.4.24
-  $HeadURL: https://coppermine.svn.sourceforge.net/svnroot/coppermine/trunk/cpg1.4.x/lang/chinese_big5.php $
-  $Revision: 5988 $
-  $Author: gaugau $
-  $Date: 2009-05-25 22:01:41 +0200 (Mo, 25 Mai 2009) $
-**********************************************/
-
-if (!defined('IN_COPPERMINE')) { die('Not in Coppermine...');}
-
-// info about translators and translated language
-$lang_translation_info = array(
-  'lang_name_english' => 'Chinese (Traditional)', //cpg1.4
-  'lang_name_native' => '繁體中文', //cpg1.4
-  'lang_country_code' => 'tw', //cpg1.4
-  'trans_name'=> 'CapriSkye and monkey',
-  'trans_email' => 'admin@capriskye.com',
-  'trans_website' => 'http://open.38.com/',
-  'trans_date' => '2005-07-05',
-);
-
-$lang_charset = 'utf-8';
-$lang_text_dir = 'ltr'; // ('ltr' for left to right, 'rtl' for right to left)
-
-// shortcuts for Byte, Kilo, Mega
-$lang_byte_units = array('Bytes', 'KB', 'MB');
-
-// Day of weeks and months
-$lang_day_of_week = array('星期日', '星期一', '星期二', '星期三', '星期四', '星期五', '星期六');
-$lang_month = array('一月', '二月', '三月', '四月', '五月', '六月', '七月', '八月', '九月', '十月', '十一月', '十二月');
-
-// Some common strings
-$lang_yes = '是';
-$lang_no  = '否';
-$lang_back = '返回';
-$lang_continue = '繼續';
-$lang_info = '訊息';
-$lang_error = '錯誤';
-$lang_check_uncheck_all = '勾選/勾選全部'; //cpg1.4
-
-// The various date formats
-// See http://www.php.net/manual/en/function.strftime.php to define the variable below
-$album_date_fmt =    '%B %d, %Y';
-$lastcom_date_fmt =  '%m/%d/%y at %H:%M';
-$lastup_date_fmt = '%B %d, %Y';
-$register_date_fmt = '%B %d, %Y';
-$lasthit_date_fmt = '%B %d, %Y at %I:%M %p';
-$comment_date_fmt =  '%B %d, %Y at %I:%M %p';
-$log_date_fmt = '%B %d, %Y at %I:%M %p'; //cpg1.4
-
-// For the word censor
-$lang_bad_words = array('*fuck*', 'asshole', 'assramer', 'bitch*', 'c0ck', 'clits', 'Cock', 'cum', 'cunt*', 'dago', 'daygo', 'dego', 'dick*', 'dildo', 'fanculo', 'feces', 'foreskin', 'Fu\(*', 'fuk*', 'honkey', 'hore', 'injun', 'kike', 'lesbo', 'masturbat*', 'motherfucker', 'nazis', 'nigger*', 'nutsack', 'penis', 'phuck', 'poop', 'pussy', 'scrotum', 'shit', 'slut', 'titties', 'titty', 'twaty', 'wank*', 'whore', 'wop*');
-
-$lang_meta_album_names = array(
-  'random' => '隨機圖片',
-  'lastup' => '最新上傳',
-  'lastalb'=> '最近更新',
-  'lastcom' => '最新留言',
-  'topn' => '熱門圖片',
-  'toprated' => '最高評分',
-  'lasthits' => '最近顯示',
-  'search' => '搜尋結果',
-  'favpics'=> '最愛圖片',
-);
-
-$lang_errors = array(
-  'access_denied' => '你沒有使用本頁的權限。',
-  'perm_denied' => '你沒有權限執行此動作。',
-  'param_missing' => '程式被呼叫而沒有需要的參數。',
-  'non_exist_ap' => '選擇的 相簿/圖片 不存在！',
-  'quota_exceeded' => '超過空間配額<br /><br />您的配額有 [quota]K，已使用的有 [space]K，加入此圖片會超過擁有的配額。',
-  'gd_file_type_err' => '當使用 GD 圖像程式庫只容許 JPEG / PNG 圖檔。',
-  'invalid_image' => '你上傳的檔案己經損壞, 或是 GD 圖像程式庫不能處理',
-  'resize_failed' => '無法建立縮圖或變更圖檔尺寸.',
-  'no_img_to_display' => '沒有圖片可以顯示。',
-  'non_exist_cat' => '所選擇的類別並不存在。',
-  'orphan_cat' => '這個子類別存於一個不存在的母類別，請先至類別管理修正這個問題。',
-  'directory_ro' => '目錄 \'%s\' 無法寫入，導致無法刪除圖片',
-  'non_exist_comment' => '所選擇的留言並不存在。',
-  'pic_in_invalid_album' => '此圖片存於不存在的相簿 (%s)!?',
-  'banned' => '您目前被禁止使用本站。',
-  'not_with_udb' => '由於本相簿已和論壇程式整合，此功能已停止使用。可能是目前設定不支援此功能，或已由論壇處理。', 
-  'offline_title' => '離線',
-  'offline_text' => '相簿目前是離線狀態 - 請稍後再試',
-  'ecards_empty' => '目前沒有電子卡片的紀錄可顯示。請檢查相簿設定中是否啟用紀錄電子卡片功能！',
-  'action_failed' => '動作失敗。Coppermine 無法執行您的要求。',
-  'no_zip' => '無法執行ZIP壓縮檔。請聯絡您的相簿管理員。',
-  'zip_type' => '您沒有上傳ZIP壓縮檔的權限。',
-  'database_query' => '進行資料庫查詢時發生了錯誤', //cpg1.4
-  'register_globals_on' => 'The PHP setting register_globals is enabled on your server, which is a bad idea in terms of security. It\'s strongly recommended to turn it off. [<a href="http://forum.coppermine-gallery.net/index.php/topic,59569.0.html" rel="external" class="external">more</a>]',
-);
-
-$lang_bbcode_help_title = 'bbcode 說明'; //cpg1.4
-$lang_bbcode_help = '您可以用 bbcode 加入可點的連結，和其它的文字格式： <li>[b]粗體[/b] =&gt; <b>粗體</b></li><li>[i]斜體[/i] =&gt; <i>斜體</i></li><li>[url=http://yoursite.com/]網址[/url] =&gt; <a href="http://yoursite.com">網址</a></li><li>[email]user@domain.com[/email] =&gt; <a href="mailto:user@domain.com">user@domain.com</a></li><li>[color=red]顏色[/color] =&gt; <span style="color:red">顏色</span></li><li>[img]http://coppermine-gallery.net/demo/cpg14x/images/red.gif[/img] => <img src="../images/red.gif" border="0" alt="" /></li>'; //cpg1.4
-
-// ------------------------------------------------------------------------- //
-// File theme.php
-// ------------------------------------------------------------------------- //
-
-$lang_main_menu = array(
-  'home_title' => '回到首頁',
-  'home_lnk' => '首頁',
-  'alb_list_title' => '返回相簿目錄',
-  'alb_list_lnk' => '相簿目錄',
-  'my_gal_title' => '返回我的相簿',
-  'my_gal_lnk' => '我的相簿',
-  'my_prof_title' => '到我的個人資料', //cpg1.4
-  'my_prof_lnk' => '我的個人資料',
-  'adm_mode_title' => '轉為管理模式',
-  'adm_mode_lnk' => '管理模式',
-  'usr_mode_title' => '轉為會員模式',
-  'usr_mode_lnk' => '會員模式',
-  'upload_pic_title' => '上傳圖片至相簿',
-  'upload_pic_lnk' => '上傳圖片',
-  'register_title' => '建立會員帳號',
-  'register_lnk' => '註冊',
-  'login_title' => '登入', //cpg1.4
-  'login_lnk' => '登入',
-  'logout_title' => '登出', //cpg1.4
-  'logout_lnk' => '登出',
-  'lastup_title' => '瀏覽最新上傳', //cpg1.4
-  'lastup_lnk' => '最新上傳',
-  'lastcom_title' => '瀏覽最新留言', //cpg1.4
-  'lastcom_lnk' => '最新留言',
-  'topn_title' => '瀏覽熱門的圖片', //cpg1.4
-  'topn_lnk' => '熱門圖片',
-  'toprated_title' => '瀏覽評分最高的圖片', //cpg1.4
-  'toprated_lnk' => '最高評分',
-  'search_title' => '搜尋相簿', //cpg1.4
-  'search_lnk' => '搜尋',
-  'fav_title' => '到我的最愛', //cpg1.4    
-  'fav_lnk' => '我的最愛',
-  'memberlist_title' => '顯示會員名單',
-  'memberlist_lnk' => '會員名單',
-  'faq_title' => '&quot;Coppermine&quot; 相簿的常見問題解答',
-  'faq_lnk' => '常見問題解答',
-);
-
-$lang_gallery_admin_menu = array(
-  'upl_app_title' => '核准新上傳', //cpg1.4	
-  'upl_app_lnk' => '核准上傳',
-  'admin_title' => '進入設定', //cpg1.4    
-  'admin_lnk' => '設定', //cpg1.4
-  'albums_title' => '進入相簿設定', //cpg1.4
-  'albums_lnk' => '相簿',
-  'categories_title' => '進入類別設定', //cpg1.4    
-  'categories_lnk' => '類別',
-  'users_title' => '進入會員設定', //cpg1.4
-  'users_lnk' => '會員',
-  'groups_title' => '進入群組設定', //cpg1.4
-  'groups_lnk' => '群組',
-  'comments_title' => '檢查全部留言', //cpg1.4
-  'comments_lnk' => '檢查留言',
-  'searchnew_title' => '進入批量上傳功能', //cpg1.4
-  'searchnew_lnk' => '批量上傳',
-  'util_title' => '進入管理功能', //cpg1.4
-  'util_lnk' => '管理功能',
-  'key_title' => '進入關鍵字詞庫', //cpg1.4
-  'key_lnk' => '關鍵字詞庫', //cpg1.4
-  'ban_title' => '進入阻擋會員', //cpg1.4
-  'ban_lnk' => '阻擋會員',
-  'db_ecard_title' => '檢查電子卡片', //cpg1.4
-  'db_ecard_lnk' => '顯示電子卡片',
-  'pictures_title' => '排序相片', //cpg1.4
-  'pictures_lnk' => '排序相片', //cpg1.4
-  'documentation_lnk' => '使用說明', //cpg1.4
-  'documentation_title' => 'CPG 使用手冊', //cpg1.4
-);
-
-$lang_user_admin_menu = array(
-  'albmgr_title' => '建立/排序 相簿', //cpg1.4
-  'albmgr_lnk' => '建立/排序 相簿',
-  'modifyalb_title' => '進入編輯相簿',  //cpg1.4
-  'modifyalb_lnk' => '編輯相簿',
-  'my_prof_title' => '進入個人資料', //cpg1.4
-  'my_prof_lnk' => '個人資料',
-);
-
-$lang_cat_list = array(
-  'category' => '類別',
-  'albums' => '相簿',
-  'pictures' => '圖片',
-);
-
-$lang_album_list = array(
-  'album_on_page' => '%d 個相簿，共 %d 頁',
-);
-
-$lang_thumb_view = array(
-  'date' => '日期',
-  //Sort by filename and title
-  'name' => '檔名',
-  'title' => '標題',
-  'sort_da' => '依日期排序 由遠至近',
-  'sort_dd' => '依日期排序 由近至遠',
-  'sort_na' => '依名稱排序 由小至大',
-  'sort_nd' => '依名稱排序 由大至小',
-  'sort_ta' => '依標題排序 由小至大',
-  'sort_td' => '依標題排序 由大至小',
-  'position' => '位置', //cpg1.4
-  'sort_pa' => '小到大排序', //cpg1.4
-  'sort_pd' => '大到小排序', //cpg1.4
-  'download_zip' => '下載成 Zip 檔',
-  'pic_on_page' => '%d 張圖片，共 %d 頁',
-  'user_on_page' => '%d 名會員，共 %d 頁',
-  'enter_alb_pass' => '輸入相簿密碼', //cpg1.4
-  'invalid_pass' => '密碼錯誤', //cpg1.4
-  'pass' => '密碼', //cpg1.4
-  'submit' => '傳送', //cpg1.4
-);
-
-$lang_img_nav_bar = array(
-  'thumb_title' => '返回縮圖頁',
-  'pic_info_title' => '顯示/隱藏 圖片資訊',
-  'slideshow_title' => '連續播放',
-  'ecard_title' => '把圖片以電子卡片寄出',
-  'ecard_disabled' => '電子卡片功能目前停用',
-  'ecard_disabled_msg' => '您沒有寄電子卡片的權限', //js-alert
-  'prev_title' => '顯示前一張圖片',
-  'next_title' => '顯示下一張圖片',
-  'pic_pos' => '圖片 %s/%s',
-  'report_title' => '檢舉這個檔案', //cpg1.4
-  'go_album_end' => '跳到最後', //cpg1.4
-  'go_album_start' => '回到最先', //cpg1.4
-  'go_back_x_items' => '退後 %s 個項目', //cpg1.4
-  'go_forward_x_items' => '前進 %s 個項目', //cpg1.4
-);
-
-$lang_rate_pic = array(
-  'rate_this_pic' => '對圖片評分',
-  'no_votes' => '(還沒有人評分)',
-  'rating' => '(目前得分 : %s / 5 於 %s 個評分)',
-  'rubbish' => '昏倒 不看也罷',
-  'poor' => '有點差勁',
-  'fair' => '普普通通',
-  'good' => '很好',
-  'excellent' => '非常出色',
-  'great' => '叫我第一名',
-);
-
-// ------------------------------------------------------------------------- //
-// File include/exif.inc.php
-// ------------------------------------------------------------------------- //
-
-// void
-
-// ------------------------------------------------------------------------- //
-// File include/functions.inc.php
-// ------------------------------------------------------------------------- //
-
-$lang_cpg_die = array(
-  INFORMATION => $lang_info,
-  ERROR => $lang_error,
-  CRITICAL_ERROR => '緊急錯誤',
-  'file' => '檔案: ',
-  'line' => '行數: ',
-);
-
-$lang_display_thumbnails = array(
-  'filename' => '檔案名稱=', //cpg1.4
-  'filesize' => '檔案大小=', //cpg1.4
-  'dimensions' => '圖片尺寸=', //cpg1.4
-  'date_added' => '加入日期=', //cpg1.4
-);
-
-$lang_get_pic_data = array(
-  'n_comments' => '%s 個留言',
-  'n_views' => '%s 次觀看',
-  'n_votes' => '(%s 個評分)',
-);
-
-$lang_cpg_debug_output = array(
-  'debug_info' => '除錯訊息',
-  'select_all' => '全選',
-  'copy_and_paste_instructions' => '如果你要在 CPG 的支援論壇上要求協助，複製並貼上這個除錯訊息到你的發表文章內，包括顯示的錯誤訊息。發佈文章前請注意用***來取代您的密碼。<br />注意：除錯訊息只是顯示相簿的訊息，並不代表您的相簿有問題。', //cpg1.4
-  'phpinfo' => '顯示PHP訊息 (phpinfo)',
-  'notices' => '通知', //cpg1.4
-);
-
-$lang_language_selection = array(
-  'reset_language' => '預設語系',
-  'choose_language' => '選擇你的語系',
-);
-
-$lang_theme_selection = array(
-  'reset_theme' => '預設佈景',
-  'choose_theme' => '選擇佈景',
-);
-
-$lang_version_alert = array(
-  'version_alert' => '不支援的版本！', //cpg1.4
-  'no_stable_version' => '您安裝的 CPG 相簿版本 %s (%s) 只是給有經驗的使用者 - 這個版本不會得到官方的支援。如果要得到支援請安裝官方提供的正式版本！', //cpg1.4
-  'gallery_offline' => '目前相簿是屬於維修狀態，只有管理員才能進入。維修完畢之後記得將相簿設回正常狀態。', //cpg1.4
-);
-
-$lang_create_tabs = array(
-  'previous' => '上一個', //cpg1.4
-  'next' => '下一個', //cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File include/init.inc.php
-// ------------------------------------------------------------------------- //
-
-// void
-
-// ------------------------------------------------------------------------- //
-// File keyword.inc.php                                                      //
-// ------------------------------------------------------------------------- //
-
-// void
-
-// ------------------------------------------------------------------------- //
-// File include/picmgmt.inc.php
-// ------------------------------------------------------------------------- //
-
-// void
-
-// ------------------------------------------------------------------------- //
-// File include/plugin_api.inc.php
-// ------------------------------------------------------------------------- //
-$lang_plugin_api = array(
-  'error_wakeup' => "不能啟用外掛 '%s'", //cpg1.4
-  'error_install' => "不能安裝外掛 '%s'", //cpg1.4
-  'error_uninstall' => "不能移除外掛 '%s'", //cpg1.4
-  'error_sleep' => "不能移除外掛 '%s'<br />", //cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File include/smilies.inc.php
-// ------------------------------------------------------------------------- //
-
-if (defined('SMILIES_PHP')) $lang_smilies_inc_php = array(
-  'Exclamation' => '感歎',
-  'Question' => '疑問',
-  'Very Happy' => '很高興',
-  'Smile' => '微笑',
-  'Sad' => '悲哀',
-  'Surprised' => '驚訝',
-  'Shocked' => '震驚',
-  'Confused' => '昏倒',
-  'Cool' => '很棒',
-  'Laughing' => '發笑',
-  'Mad' => '發狂',
-  'Razz' => '嘲笑',
-  'Embarassed' => '尷尬',
-  'Crying or Very sad' => '嚎哭',
-  'Evil or Very Mad' => '惡毒',
-  'Twisted Evil' => '古怪',
-  'Rolling Eyes' => '旋轉的眼睛',
-  'Wink' => '眨眼',
-  'Idea' => '主意',
-  'Arrow' => '箭頭',
-  'Neutral' => '中立',
-  'Mr. Green' => '格林先生',
-);
-
-// ------------------------------------------------------------------------- //
-// File addpic.php
-// ------------------------------------------------------------------------- //
-
-// void
-
-// ------------------------------------------------------------------------- //
-// File mode.php //cpg1.4
-// ------------------------------------------------------------------------- //
-
-if (defined('MODE_PHP')) $lang_mode_php = array(
-  0 => '離開管理模式...',
-  1 => '進入管理模式...',
-);
-
-// ------------------------------------------------------------------------- //
-// File albmgr.php
-// ------------------------------------------------------------------------- //
-
-if (defined('ALBMGR_PHP')) $lang_albmgr_php = array(
-  'alb_need_name' => '您需要給相簿一個名稱 !', //js-alert
-  'confirm_modifs' => '確定要做這些修改嗎 ?', //js-alert
-  'no_change' => '您沒有做任何改變 !', //js-alert
-  'new_album' => '新相簿',
-  'confirm_delete1' => '確定要刪除此相簿嗎 ?', //js-alert
-  'confirm_delete2' => '\n所有圖片及留言都會刪除 !', //js-alert
-  'select_first' => '請先選擇一個相簿', //js-alert
-  'alb_mrg' => '相簿管理員',
-  'my_gallery' => '* 我的相簿 *',
-  'no_category' => '* 沒有類別 *',
-  'delete' => '刪除',
-  'new' => '新增',
-  'apply_modifs' => '修改',
-  'select_category' => '選擇類別',
-);
-
-// ------------------------------------------------------------------------- //
-// File banning.php
-// ------------------------------------------------------------------------- //
-
-if (defined('BANNING_PHP')) $lang_banning_php = array(
-  'title' => '阻擋會員', //cpg1.4
-  'user_name' => '會員名稱', //cpg1.4
-  'ip_address' => 'IP 位置', //cpg1.4
-  'expiry' => '期限 (空白如果沒有期限)', //cpg1.4
-  'edit_ban' => '儲存', //cpg1.4
-  'delete_ban' => '刪除', //cpg1.4
-  'add_new' => '新增阻擋', //cpg1.4
-  'add_ban' => '新增', //cpg1.4
-  'error_user' => '找不到會員', //cpg1.4
-  'error_specify' => '您必須提供會員名稱或 IP 位置', //cpg1.4
-  'error_ban_id' => '錯誤的阻擋編號！', //cpg1.4
-  'error_admin_ban' => '您不能阻擋自己！', //cpg1.4
-  'error_server_ban' => '您要阻擋您自己的主機？不要鬧了...', //cpg1.4
-  'error_ip_forbidden' => '您不能阻擋這個 IP - 這是不可路徑選擇的 (私人) IP！<br />如果您要允許阻擋私人 IP，在 <a href="admin.php">設定</a> 裡面可以修改。', //cpg1.4
-  'lookup_ip' => '搜尋 IP 位置', //cpg1.4
-  'submit' => '繼續！', //cpg1.4
-  'select_date' => '選擇日期', //cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File bridgemgr.php //cpg1.4
-// ------------------------------------------------------------------------- //
-
-if (defined('BRIDGEMGR_PHP')) $lang_bridgemgr_php = array(
-  'title' => '整合精靈',
-  'warning' => '警告：用這個整合精靈，重要資料是以 HTML 傳送。建議您在自己的電腦上使用 (不是在網咖等其他公共場所)，然後確定把瀏覽器的記憶和暫時檔案刪除。',
-  'back' => '返回',
-  'next' => '下一步',
-  'start_wizard' => '開始整合精靈',
-  'finish' => '完成',
-  'hide_unused_fields' => '隱藏沒用的欄位 (建議)',
-  'clear_unused_db_fields' => '清除錯誤的資料庫項目 (建議)',
-  'custom_bridge_file' => '自訂的整合檔案名稱 (如果整合檔是叫 <i>myfile.inc.php</i>，在這個欄位輸入 <i>myfile</i>)',
-  'no_action_needed' => '不需要任何動作。請點 \'下一步\' 繼續。',
-  'reset_to_default' => '重設回預設值',
-  'choose_bbs_app' => '選擇整合 CPG 的軟體',
-  'support_url' => '如需這個軟體的支援請到',
-  'settings_path' => '論壇使用的路徑',
-  'database_connection' => '資料庫連結',
-  'database_tables' => '資料表',
-  'bbs_groups' => '論壇群組',
-  'license_number' => '執照號碼',
-  'license_number_explanation' => '輸入執照號碼 (如果有)',
-  'db_database_name' => '資料庫名稱',
-  'db_database_name_explanation' => '輸入論壇使用的資料庫名稱',
-  'db_hostname' => '資料庫主機',
-  'db_hostname_explanation' => '您的 MySQL 資料庫的主機，通常是 &quot;localhost&quot;',
-  'db_username' => '資料庫帳號',
-  'db_username_explanation' => '論壇使用的資料庫的用戶帳號',
-  'db_password' => '資料庫密碼',
-  'db_password_explanation' => '資料庫的用戶帳號密碼',
-  'full_forum_url' => '論壇網址',
-  'full_forum_url_explanation' => '您的論壇網址 (包括 http:// 例如：http://www.yourdomain.tld/forum)',
-  'relative_path_of_forum_from_webroot' => '論壇的相對路徑',
-  'relative_path_of_forum_from_webroot_explanation' => '論壇的主機相對路徑 (範例：如果您的論壇在 http://www.yourdomain.tld/forum/，輸入 &quot;/forum/&quot;)',
-  'relative_path_to_config_file' => '論壇設定檔的相對路徑',
-  'relative_path_to_config_file_explanation' => '論壇的相對路徑，從 CPG 目錄計算 (範例 &quot;../forum/&quot; 如果您的論壇是 http://www.yourdomain.tld/forum/ 然後 CPG 是 http://www.yourdomain.tld/gallery/)',
-  'cookie_prefix' => 'Cookie 前置字元',
-  'cookie_prefix_explanation' => '這是論壇的 cookie 名稱',
-  'table_prefix' => '資料表的前置字元',
-  'table_prefix_explanation' => '論壇使用的資料表的前置字元。',
-  'user_table' => '會員資料表',
-  'user_table_explanation' => '(通常預設值不會有問題，除非您有改過論壇的安裝)',
-  'session_table' => '工作階段的資料表',
-  'session_table_explanation' => '(通常預設值不會有問題，除非您有改過論壇的安裝)',
-  'group_table' => '群組資料表',
-  'group_table_explanation' => '(通常預設值不會有問題，除非您有改過論壇的安裝)',
-  'group_relation_table' => '群組關係的資料表',
-  'group_relation_table_explanation' => '(通常預設值不會有問題，除非您有改過論壇的安裝)',
-  'group_mapping_table' => '群組映像的資料表',
-  'group_mapping_table_explanation' => '(通常預設值不會有問題，除非您有改過論壇的安裝)',
-  'use_standard_groups' => '使用標準的論壇群組',
-  'use_standard_groups_explanation' => '使用標準 (內建) 的群組 (建議)。這會讓自訂的群組無效。除非您知道在幹麻，不要關閉這個設定！',
-  'validating_group' => '審核群組',
-  'validating_group_explanation' => '論壇裡需要審核的群組編號是 (通常預設值不會有問題，建議不要改除非您知道它的用途)',
-  'guest_group' => '訪客群組',
-  'guest_group_explanation' => '論壇的訪客群組編號是 (通常預設值不會有問題，建議不要改除非您知道它的用途)',
-  'member_group' => '會員群組',
-  'member_group_explanation' => '論壇的 &quot;普通&quot; 會員群組編號是 (通常預設值不會有問題，建議不要改除非您知道它的用途)',
-  'admin_group' => '管理員群組',
-  'admin_group_explanation' => '論壇的管理員群組編號是 (通常預設值不會有問題，建議不要改除非您知道它的用途)',
-  'banned_group' => '阻擋群組',
-  'banned_group_explanation' => '論壇的阻擋群組編號是 (通常預設值不會有問題，建議不要改除非您知道它的用途)',
-  'global_moderators_group' => '全區版主群組',
-  'global_moderators_group_explanation' => '論壇的全區版主群組編號 (通常預設值不會有問題，建議不要改除非您知道它的用途)',
-  'special_settings' => '論壇的特殊設定',
-  'logout_flag' => 'phpBB 版本 (登出指示)',
-  'logout_flag_explanation' => '您的論壇版本 (這項設定是用來指示系統如何登出)',
-  'use_post_based_groups' => '使用文章群組？',
-  'logout_flag_yes' => '2.0.5 或以上',
-  'logout_flag_no' => '2.0.4 或以下',
-  'use_post_based_groups_explanation' => '該使用論壇會員的文章數來做分類嗎？ (允許更堅固的權限管理) 或是使用預設群組 (可簡易管理，建議使用)。之後可以改變這個設定。',
-  'use_post_based_groups_yes' => '是',
-  'use_post_based_groups_no' => '否',
-  'error_title' => '您必須解決這些錯誤才能繼續。回到上一頁。',
-  'error_specify_bbs' => '您必須提供要整合的軟體。',
-  'error_no_blank_name' => '您不能將自訂整合的名稱欄位留白。',
-  'error_no_special_chars' => '整合檔案不能包括特殊字元，除了 (_) 和 (-)！',
-  'error_bridge_file_not_exist' => '整合檔案 %s 不存在主機內。請檢查是否上傳成功。',
-  'finalize' => '開啟/關閉 論壇整合',
-  'finalize_explanation' => '目前整合資料已存入資料庫，但是整合還未開啟。您可以在任何時間開啟或關閉整合。記住相簿的管理帳號和密碼，要做改變時可能需要。如果出現問題，到 %s 然後關閉論壇整合，用整合前的 CPG 管理帳號 (您安裝 CPG 時提供的帳號)。',
-  'your_bridge_settings' => '整合設定',
-  'title_enable' => '開啟整合 %s',
-  'bridge_enable_yes' => '開啟',
-  'bridge_enable_no' => '關閉',
-  'error_must_not_be_empty' => '不能空白',
-  'error_either_be' => '必須是 %s 或 %s',
-  'error_folder_not_exist' => '%s 不存在。. 改正 %s 的輸入值',
-  'error_cookie_not_readible' => 'CPG 無法讀取 cookie 名稱 %s。改正 %s 的輸入值，或到論壇的設定裡面確定 CPG 有讀取它的 cookie 路徑。',
-  'error_mandatory_field_empty' => '您不能空白欄位 %s - 請輸入正確值。',
-  'error_no_trailing_slash' => '%s 欄位不能包括最後的斜線。',
-  'error_trailing_slash' => '%s 欄位必須包括最後的斜線。',
-  'error_db_connect' => '不能連結到資料庫。MySQL 的錯誤訊息：',
-  'error_db_name' => '雖然 CPG 能夠連結到資料庫，它無法找到您輸入的資料表 %s。確定 %s 是正確的資料。MySQL 的錯誤訊息：',
-  'error_prefix_and_table' => '%s 和 ',
-  'error_db_table' => '找不到資料表 %s。確定 %s 是正確的資料。',
-  'recovery_title' => '整合管理： 緊急修復',
-  'recovery_explanation' => '如果您要管理論壇的整合設定，您必須先用管理帳號登入。如果不能登入，您可以先關閉論壇整合。輸入您的帳號和密碼不會將您登入，只會關閉整合。詳情請看說明檔。',
-  'username' => '帳號',
-  'password' => '密碼',
-  'disable_submit' => '送出',
-  'recovery_success_title' => '授權完成',
-  'recovery_success_content' => '您已經成功關閉論壇的整合。CPG 目前不受整合影響。',
-  'recovery_success_advice_login' => '登入管理帳號來編輯整合設定，或重新開啟整合。',
-  'goto_login' => '進入登入頁面',
-  'goto_bridgemgr' => '進入整合管理',
-  'recovery_failure_title' => '授權失敗',
-  'recovery_failure_content' => '您輸入錯誤的資料。您必須提供管理帳號 (您安裝 CPG 時提供的帳號)。',
-  'try_again' => '重試',
-  'recovery_wait_title' => '等待時間未運作',
-  'recovery_wait_content' => '因為安全問題，您不能連續登入失敗後成功登入，您必須稍待一會才能繼續登入。',
-  'wait' => '等待',
-  'create_redir_file' => '建立轉址檔案 (建議)',
-  'create_redir_file_explanation' => '如果要將會員在登入論壇時轉回 CPG，您必須建立一個轉址檔案到您的論壇目錄。勾選這個選項整合管理系統會自動幫您建立，或提供需要的程式碼讓您手動建立檔案。',
-  'browse' => '瀏覽',
-);
-
-// ------------------------------------------------------------------------- //
-// File calendar.php //cpg1.4
-// ------------------------------------------------------------------------- //
-
-if (defined('CALENDAR_PHP')) $lang_calendar_php = array(
-  'title' => '日曆', //cpg1.4
-  'close' => '關閉', //cpg1.4
-  'clear_date' => '清除日期', //cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File catmgr.php
-// ------------------------------------------------------------------------- //
-
-if (defined('CATMGR_PHP')) $lang_catmgr_php = array(
-  'miss_param' => '\'%s\'操作所需要的參數並未提供！',
-  'unknown_cat' => '資料庫裡沒有您所選的類別',
-  'usergal_cat_ro' => '會員相簿的類別不能刪除！',
-  'manage_cat' => '類別管理',
-  'confirm_delete' => '確定要刪除此類別嗎', //js-alert
-  'category' => '類別',
-  'operations' => '操作',
-  'move_into' => '移動到',
-  'update_create' => '更新/建立 類別',
-  'parent_cat' => '母類別',
-  'cat_title' => '類別標題',
-  'cat_thumb' => '類別縮圖',
-  'cat_desc' => '類別簡介',
-  'categories_alpha_sort' => '小到大排序類別 (不用自訂排序)', //cpg1.4
-  'save_cfg' => '儲存設定', //cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File admin.php //cpg1.4
-// ------------------------------------------------------------------------- //
-
-if (defined('ADMIN_PHP')) $lang_admin_php = array(
-  'title' => '相簿設定', //cpg1.4
-  'manage_exif' => '管理 exif 顯示', //cpg1.4
-  'manage_plugins' => '外掛管理', //cpg1.4
-  'manage_keyword' => '關鍵字管理', //cpg1.4
-  'restore_cfg' => '設回預設值',
-  'save_cfg' => '儲存設定',
-  'notes' => '註解',
-  'info' => '資訊',
-  'upd_success' => 'CPG 設定已更新',
-  'restore_success' => '原始設定已回復',
-  'name_a' => '排序依名稱 由小至大',
-  'name_d' => '排序依名稱 由大至小',
-  'title_a' => '排序依標題 由小至大',
-  'title_d' => '排序依標題 由大至小',
-  'date_a' => '排序依日期 由遠至近',
-  'date_d' => '排序依日期 由近至遠',
-  'pos_a' => '小到大', //cpg1.4
-  'pos_d' => '大到小', //cpg1.4
-  'th_any' => '最大外觀',
-  'th_ht' => '高度',
-  'th_wd' => '寬度',
-  'label' => '標籤',
-  'item' => '項目',
-  'debug_everyone' => '任何人',
-  'debug_admin' => '管理員專用',
-  'no_logs'=> '關閉', //cpg1.4
-  'log_normal'=> '正常', //cpg1.4
-  'log_all' => '全部', //cpg1.4
-  'view_logs' => '瀏覽記錄', //cpg1.4
-  'click_expand' => '點名稱展開', //cpg1.4
-  'expand_all' => '全部展開', //cpg1.4
-  'notice1' => '(*) 這些設定不能改變，如果你已經有檔案儲存於資料庫。', //cpg1.4 - (relocated)
-  'notice2' => '(**) 改變這些設定只會影響之後加入的檔案。建議您不要改變這些設定，如果已有檔案存在。但是您可以改變現有的檔案，使用 &quot;<a href="util.php">管理功能</a> (重設尺寸)&quot; 的功能。', //cpg1.4 - (relocated)
-  'notice3' => '(***) 全部的記錄檔是以英文顯示。', //cpg1.4 - (relocated)
-  'bbs_disabled' => '整合論壇後關閉的功能', //cpg1.4
-  'auto_resize_everyone' => '每個人', //cpg1.4
-  'auto_resize_user' => '會員', //cpg1.4
-  'ascending' => '小到大', //cpg1.4
-  'descending' => '大到小', //cpg1.4
-);
-
-if (defined('ADMIN_PHP')) $lang_admin_data = array(
-  '基本設定',
-  array('相簿名稱', 'gallery_name', 0, 'f=index.htm&amp;as=admin_general_name&amp;ae=admin_general_name_end'), //cpg1.4
-  array('相簿描述', 'gallery_description', 0, 'f=index.htm&amp;as=admin_general_description&amp;ae=admin_general_description_end'), //cpg1.4
-  array('相簿管理員的電子郵件', 'gallery_admin_email', 0, 'f=index.htm&amp;as=admin_general_email&amp;ae=admin_general_email_end'), //cpg1.4
-  array('CPG 的網址目錄 (不要加上 \'index.php\')', 'ecards_more_pic_target', 0, 'f=index.htm&amp;as=admin_general_coppermine-url&amp;ae=admin_general_coppermine-url_end'), //cpg1.4
-  array('首頁的網址', 'home_target', 0, 'f=index.htm&amp;as=admin_general_home-url&amp;ae=admin_general_home-url_end'), //cpg1.4
-  array('允許將最愛的圖片下載成ZIP檔', 'enable_zipdownload', 1, 'f=index.htm&amp;as=admin_general_zip-download&amp;ae=admin_general_zip-download_end'), //cpg1.4
-  array('時區跟 GMT 的差別 (目前時間： ' . localised_date(-1, $comment_date_fmt) . ')','time_offset',0, 'f=index.htm&amp;as=admin_general_time-offset&amp;ae=admin_general_time-offset_end&amp;top=1'), //cpg1.4
-  array('開啟加密密碼 (可以關閉)','enable_encrypted_passwords',1, 'f=index.htm&amp;as=admin_general_encrypt_password_start&amp;ae=admin_general_encrypt_password_end&amp;top=1'), // cpg 1.4
-  array('開啟說明圖示 (說明只以英文顯示)','enable_help',9, 'f=index.htm&amp;as=admin_general_help&amp;ae=admin_general_help_end'), //cpg1.4
-  array('允許可點的關鍵字','clickable_keyword_search',14, 'f=index.htm&amp;as=admin_general_keywords_start&amp;ae=admin_general_keywords_end'), //cpg1.4
-  array('允許外掛', 'enable_plugins', 12, 'f=index.htm&amp;as=admin_general_enable-plugins&amp;ae=admin_general_enable-plugins_end'),  //cpg1.4
-  array('允許阻擋私人的 IP 位置', 'ban_private_ip', 1,  'f=index.htm&amp;as=admin_general_private-ip&amp;ae=admin_general_private-ip_end'), //cpg1.4
-  array('可瀏覽的批量介面', 'browse_batch_add', 1, 'f=index.htm&amp;as=admin_general_browsable_batch_add&amp;ae=admin_general_browsable_batch_add_end'), //cpg1.4
-
-  '語系 &amp; 編碼設定',
-  array('語系', 'lang', 5, 'f=index.htm&amp;as=admin_language_language&amp;ae=admin_language_language_end'), //cpg1.4
-  array('用英文語系如果翻譯的字詞不存在？', 'language_fallback', 1, 'f=index.htm&amp;as=admin_language_fallback&amp;ae=admin_language_fallback_end'), //cpg1.4
-  array('文字編碼', 'charset', 4, 'f=index.htm&amp;as=admin_language_charset&amp;ae=admin_language_charset_end'), //cpg1.4
-  array('顯示語系列表', 'language_list', 1, 'f=index.htm&amp;as=admin_language_list&amp;ae=admin_language_list_end'), //cpg1.4
-  array('顯示語系國旗', 'language_flags', 8, 'f=index.htm&amp;as=admin_language_flags&amp;ae=admin_language_flags_end&amp;top=1'), //cpg1.4
-  array('語系選單內顯示 &quot;重設&quot;', 'language_reset', 1, 'f=index.htm&amp;as=admin_language_reset&amp;ae=admin_language_reset_end&amp;top=1'), //cpg1.4
-  //array('顯示 上一頁/下一頁 於頁面', 'previous_next_tab', 1), //cpg1.4
-
-  '佈景設定',
-  array('佈景', 'theme', 6, 'f=index.htm&amp;as=admin_theme_theme&amp;ae=admin_theme_theme_end'), //cpg1.4
-  array('顯示佈景列表', 'theme_list', 1, 'f=index.htm&amp;as=admin_theme_theme_list&amp;ae=admin_theme_theme_list_end'), //cpg1.4
-  array('佈景選單內顯示 &quot;重設&quot;', 'theme_reset', 1, 'f=index.htm&amp;as=admin_theme_theme_reset&amp;ae=admin_theme_theme_reset_end'), //cpg1.4
-  array('顯示 FAQ', 'display_faq', 1, 'f=index.htm&amp;as=admin_theme_faq&amp;ae=admin_theme_faq_end'), //cpg1.4
-  array('自訂的選單連結', 'custom_lnk_name', 0,'f=index.htm&amp;as=admin_theme_custom_lnk_name&amp;ae=admin_theme_custom_lnk_name_end'), //cpg1.4
-  array('自訂選單的網址', 'custom_lnk_url', 0,'f=index.htm&amp;as=admin_language_custom_lnk_url&amp;ae=admin_language_custom_lnk_url_end'), //cpg1.4
-  array('顯示 bbcode 說明', 'show_bbcode_help', 1, 'f=index.htm&amp;as=admin_theme_bbcode&amp;ae=admin_theme_bbcode_end&amp;top=1'), //cpg1.4
-  array('顯示虛幻的佈景區塊，如果佈景通過 XHTML 和 CSS 測試','vanity_block',1, 'f=index.htm&amp;as=vanity_block&amp;ae=vanity_block_end'), //cpg1.4
-  array('自訂標頭的路徑', 'custom_header_path', 0, 'f=index.htm&amp;as=admin_theme_include_path_start&amp;ae=admin_theme_include_path_end'), //cpg1.4
-  array('自訂頁尾的路徑', 'custom_footer_path', 0, 'f=index.htm&amp;as=admin_theme_include_path_start&amp;ae=admin_theme_include_path_end'), //cpg1.4
-
-  '相簿目錄顯示',
-  array('主要表格寬度 (像素或 %)', 'main_table_width', 0, 'f=index.htm&amp;as=admin_album_table-width&amp;ae=admin_album_table-width_end'), //cpg1.4
-  array('類別顯示的層次數量', 'subcat_level', 0, 'f=index.htm&amp;as=admin_album_category-levels&amp;ae=admin_album_category-levels_end'), //cpg1.4
-  array('相簿顯示數量', 'albums_per_page', 0, 'f=index.htm&amp;as=admin_album_number&amp;ae=admin_album_number_end'), //cpg1.4
-  array('相簿列表的欄數', 'album_list_cols', 0, 'f=index.htm&amp;as=admin_album_columns&amp;ae=admin_album_columns_end'), //cpg1.4
-  array('縮圖像素', 'alb_list_thumb_size', 0, 'f=index.htm&amp;as=admin_album_thumbnail-size&amp;ae=admin_album_thumbnail-size_end'), //cpg1.4
-  array('主頁的內容', 'main_page_layout', 0, 'f=index.htm&amp;as=admin_album_list_content&amp;ae=admin_album_list_content_end'), //cpg1.4
-  array('顯示分類中第一層的相簿縮圖','first_level',1, 'f=index.htm&amp;as=admin_album_first-level_thumbs&amp;ae=admin_album_first-level_thumbs_end'), //cpg1.4
-  array('以小到大排列類別 (不使用自訂排列)','categories_alpha_sort',1, 'f=index.htm&amp;as=admin_album_list_alphasort_start&amp;ae=admin_album_list_alphasort_end'), //cpg1.4
-  array('顯示連結的檔案數量','link_pic_count',1, 'f=index.htm&amp;as=admin_album_linked_files_start&amp;ae=admin_album_linked_files_end'), //cpg1.4
-
-  '縮圖顯示',
-  array('縮圖頁欄數', 'thumbcols', 0, 'f=index.htm&amp;as=admin_thumbnail_columns&amp;ae=admin_thumbnail_columns_end'), //cpg1.4
-  array('縮圖頁列數', 'thumbrows', 0, 'f=index.htm&amp;as=admin_thumbnail_rows&amp;ae=admin_thumbnail_rows_end'), //cpg1.4
-  array('顯示的標籤頁數量', 'max_tabs', 10, 'f=index.htm&amp;as=admin_thumbnail_tabs&amp;ae=admin_thumbnail_tabs_end'), //cpg1.4
-  array('縮圖下方顯示圖片說明 (連標題)', 'caption_in_thumbview', 1, 'f=index.htm&amp;as=admin_thumbnail_display_caption&amp;ae=admin_thumbnail_display_caption_end'), //cpg1.4
-  array('縮圖下方顯示瀏覽次數', 'views_in_thumbview', 1, 'f=index.htm&amp;as=admin_thumbnail_display_views&amp;ae=admin_thumbnail_display_views_end'), //cpg1.4
-  array('縮圖下方顯示留言', 'display_comment_count', 1, 'f=index.htm&amp;as=admin_thumbnail_display_comments&amp;ae=admin_thumbnail_display_comments_end'), //cpg1.4
-  array('縮圖下方顯示上傳者名稱', 'display_uploader', 1, 'f=index.htm&amp;as=admin_thumbnail_display_uploader&amp;ae=admin_thumbnail_display_uploader_end'), //cpg1.4
-  //array('縮圖下方顯示上傳的管理員', 'display_admin_uploader', 1, 'f=index.htm&amp;as=admin_thumbnail_display_admin_uploader&amp;ae=admin_thumbnail_display_admin_uploader_end'), //cpg1.4
-  array('縮圖下方顯示檔案名稱', 'display_filename', 1, 'f=index.htm&amp;as=admin_thumbnail_display_filename&amp;ae=admin_thumbnail_display_filename_end'), //cpg1.4
-  array('顯示相簿簡介', 'alb_desc_thumb', 1, 'f=index.htm&amp;as=admin_thumbnail_display_description&amp;ae=admin_thumbnail_display_description_end'), //cpg1.4
-  array('預設的檔案排序', 'default_sort_order', 3, 'f=index.htm&amp;as=admin_thumbnail_default_sortorder&amp;ae=admin_thumbnail_default_sortorder_end'), //cpg1.4
-  array('\'熱門投票\' 需要的投票數', 'min_votes_for_rating', 0, 'f=index.htm&amp;as=admin_thumbnail_minimum_votes&amp;ae=admin_thumbnail_minimum_votes_end'), //cpg1.4
-
-  '圖片顯示', //cpg1.4
-  array('顯示圖片的表格寬度 (像素或 %)', 'picture_table_width', 0, 'f=index.htm&amp;as=admin_image_comment_table-width&amp;ae=admin_image_comment_table-width_end'), //cpg1.4
-  array('圖片資訊的預設為顯示', 'display_pic_info', 1, 'f=index.htm&amp;as=admin_image_comment_info_visible&amp;ae=admin_image_comment_info_visible_end'), //cpg1.4
-  array('圖片簡介的允許字數', 'max_img_desc_length', 0, 'f=index.htm&amp;as=admin_image_comment_descr_length&amp;ae=admin_image_comment_descr_length_end'), //cpg1.4
-  array('允許的文字數量', 'max_com_wlength', 0, 'f=index.htm&amp;as=admin_image_comment_chars_per_word&amp;ae=admin_image_comment_chars_per_word_end'), //cpg1.4
-  array('顯示圖片預覽列', 'display_film_strip', 1, 'f=index.htm&amp;as=admin_image_comment_filmstrip_toggle&amp;ae=admin_image_comment_filmstrip_toggle_end'), //cpg1.4
-  array('圖片預覽列下方顯示檔案名稱', 'display_film_strip_filename', 1, 'f=index.htm&amp;as=admin_image_comment_display_film_strip_filename&amp;ae=admin_image_comment_display_film_strip_filename_end'), //cpg1.4
-  array('預覽列的數量', 'max_film_strip_items', 0, 'f=index.htm&amp;as=admin_image_comment_filmstrip_number&amp;ae=admin_image_comment_filmstrip_number_end'), //cpg1.4
-  array('連續撥放間隔時間 (毫秒)。1 秒 = 1000 毫秒', 'slideshow_interval', 0, 'f=index.htm&amp;as=admin_image_comment_slideshow_interval&amp;ae=admin_image_comment_slideshow_interval_end'), //cpg1.4
-
-  '留言設定', //cpg1.4
-  array('留言內過濾不良詞彙', 'filter_bad_words', 1, 'f=index.htm&amp;as=admin_image_comment_bad_words&amp;ae=admin_image_comment_bad_words_end'), //cpg1.4
-  array('留言內允許表情圖案', 'enable_smilies', 1, 'f=index.htm&amp;as=admin_image_comment_smilies&amp;ae=admin_image_comment_smilies_end'), //cpg1.4
-  array('允許會員在同一張圖片連續發表留言 (關閉灌水保護)', 'disable_comment_flood_protect', 1, 'f=index.htm&amp;as=admin_image_comment_flood&amp;ae=admin_image_comment_flood_end'), //cpg1.4
-  array('留言的最大行數', 'max_com_lines', 0, 'f=index.htm&amp;as=admin_image_comment_lines&amp;ae=admin_image_comment_lines_end'), //cpg1.4
-  array('留言的最大長度', 'max_com_size', 0, 'f=index.htm&amp;as=admin_image_comment_length&amp;ae=admin_image_comment_length_end'), //cpg1.4
-  array('有留言時通知管理員', 'email_comment_notification', 1, 'f=index.htm&amp;as=admin_image_comment_admin_notify&amp;ae=admin_image_comment_admin_notify_end'), //cpg1.4
-  array('留言的排序', 'comments_sort_descending', 17, 'f=index.htm&amp;as=admin_comment_sort_start&amp;ae=admin_comment_sort_end'), //cpg1.4
-  array('無名留言者的前置字元', 'comments_anon_pfx', 0, 'f=index.htm&amp;as=comments_anon_pfx&amp;ae=comments_anon_pfx_end'), //cpg1.4
-
-  '圖片及縮圖設定',
-  array('JPEG 格式品質', 'jpeg_qual', 0, 'f=index.htm&amp;as=admin_picture_thumbnail_jpeg_quality&amp;ae=admin_picture_thumbnail_jpeg_quality_end'), //cpg1.4
-  array('縮圖最大尺寸 <a href="#notice2" class="clickable_option">**</a>', 'thumb_width', 0, 'f=index.htm&amp;as=admin_picture_thumbnail_max-dimension&amp;ae=admin_picture_thumbnail_max-dimension_end'), //cpg1.4
-  array('使用尺寸 (寬，高或縮圖最大邊長) <a href="#notice2" class="clickable_option">**</a>', 'thumb_use', 7, 'f=index.htm&amp;as=admin_picture_thumbnail_use-dimension&amp;ae=admin_picture_thumbnail_use-dimension_end'), //cpg1.4
-  array('建立中級圖片','make_intermediate',1, 'f=index.htm&amp;as=admin_picture_thumbnail_intermediate_toggle&amp;ae=admin_picture_thumbnail_intermediate_toggle_end'), //cpg1.4
-  array('中級圖片/影片的最大尺寸 <a href="#notice2" class="clickable_option">**</a>', 'picture_width', 0, 'f=index.htm&amp;as=admin_picture_thumbnail_intermediate_dimension&amp;ae=admin_picture_thumbnail_intermediate_dimension_end'), //cpg1.4
-  array('傳圖檔的最大限制 (KB)', 'max_upl_size', 0, 'f=index.htm&amp;as=admin_picture_thumbnail_max_upload_size&amp;ae=admin_picture_thumbnail_max_upload_size_end'), //cpg1.4
-  array('上傳圖片/影片的最大寬度或最高尺寸 (像素)', 'max_upl_width_height', 0, 'f=index.htm&amp;as=admin_picture_thumbnail_max_upload_dimension&amp;ae=admin_picture_thumbnail_max_upload_dimension_end'), //cpg1.4
-  array('自動重設超過限制的圖片尺寸', 'auto_resize', 16, 'f=index.htm&amp;as=admin_picture_thumbnail_auto-resize&amp;ae=admin_picture_thumbnail_auto-resize_end'), //cpg1.4
-
-  '圖片和縮圖的進階設定',
-  array('可使用私人相簿 (注意：如果您從 \'是\' 換成 \'否\'，任何現有的私人相簿將會變成公共相簿)', 'allow_private_albums', 1, 'f=index.htm&amp;as=admin_picture_thumb_advanced_private_toggle&amp;ae=admin_picture_thumb_advanced_private_toggle_end'), //cpg1.4
-  array('顯示私人相簿圖片給未登入的會員','show_private',1, 'f=index.htm&amp;as=admin_picture_thumb_advanced_private_icon_show&amp;ae=admin_picture_thumb_advanced_private_icon_show_end'), //cpg1.4
-  array('檔案名不可使用的字詞', 'forbiden_fname_char',0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_filename_forbidden_chars&amp;ae=admin_picture_thumb_advanced_filename_forbidden_chars_end'), //cpg1.4
-  //array('上傳圖檔可接受的副檔名', 'allowed_file_extensions',0, 'f=index.htm&amp;as=&amp;ae=_end'), //cpg1.4
-  array('允許的圖片檔類型', 'allowed_img_types',0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_pic_extensions&amp;ae=admin_picture_thumb_advanced_pic_extensions_end'), //cpg1.4
-  array('允許的影片檔類型', 'allowed_mov_types',0, 'f=index.htm&amp;as=admin_thumbs_advanced_movie&amp;ae=admin_thumbs_advanced_movie_end'), //cpg1.4
-  array('自動播放影片', 'media_autostart',1, 'f=index.htm&amp;as=admin_movie_autoplay&amp;ae=admin_movie_autoplay_end'), //cpg1.4
-  array('允許的聲音檔類型', 'allowed_snd_types',0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_audio_extensions&amp;ae=admin_picture_thumb_advanced_audio_extensions_end'), //cpg1.4
-  array('允許的文件檔類型', 'allowed_doc_types',0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_doc_extensions&amp;ae=admin_picture_thumb_advanced_doc_extensions_end'), //cpg1.4
-  array('建立縮圖的方法','thumb_method',2, 'f=index.htm&amp;as=admin_picture_thumb_advanced_resize_method&amp;ae=admin_picture_thumb_advanced_resize_method_end'), //cpg1.4
-  array('ImageMagick 的 \'convert\' 程式路徑 (例如 /usr/bin/X11/)', 'impath', 0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_im_path&amp;ae=admin_picture_thumb_advanced_im_path_end'), //cpg1.4
-  //array('可接受的圖檔類型 (只對 ImageMagick 有效)', 'allowed_img_types',0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_allowed_imagetypes&amp;ae=admin_picture_thumb_advanced_allowed_imagetypes_end'), //cpg1.4
-  array('ImageMagick 的命令列選項', 'im_options', 0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_im_commandline&amp;ae=admin_picture_thumb_advanced_im_commandline_end'), //cpg1.4
-  array('讀取 JPEG 圖片的 EXIF 資料', 'read_exif_data', 13, 'f=index.htm&amp;as=admin_picture_thumb_advanced_exif&amp;ae=admin_picture_thumb_advanced_exif_end'), //cpg1.4
-  array('讀取 JPEG 圖片的 IPTC 資料', 'read_iptc_data', 1, 'f=index.htm&amp;as=admin_picture_thumb_advanced_iptc&amp;ae=admin_picture_thumb_advanced_iptc_end'), //cpg1.4
-  array('相簿路徑 <a href="#notice1" class="clickable_option">*</a>', 'fullpath', 0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_albums_dir&amp;ae=admin_picture_thumb_advanced_albums_dir_end'), //cpg1.4
-  array('會員圖檔路徑 <a href="#notice1" class="clickable_option">*</a>', 'userpics', 0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_userpics_dir&amp;ae=admin_picture_thumb_advanced_userpics_dir_end'), //cpg1.4
-  array('縮圖檔的前置字元 <a href="#notice1" class="clickable_option">*</a>', 'normal_pfx', 0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_intermediate_prefix&amp;ae=admin_picture_thumb_advanced_intermediate_prefix_end'), //cpg1.4
-  array('縮圖的前置字元 <a href="#notice1" class="clickable_option">*</a>', 'thumb_pfx', 0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_thumbs_prefix&amp;ae=admin_picture_thumb_advanced_thumbs_prefix_end'), //cpg1.4
-  array('目錄的預設模式', 'default_dir_mode', 0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_chmod_folder&amp;ae=admin_picture_thumb_advanced_chmod_folder_end'), //cpg1.4
-  array('檔案的預設模式', 'default_file_mode', 0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_chmod_files&amp;ae=admin_picture_thumb_advanced_chmod_files_end'), //cpg1.4
-
-  '會員設定',
-  array('允許會員註冊', 'allow_user_registration', 1, 'f=index.htm&amp;as=admin_allow_registration&amp;ae=admin_allow_registration_end'), //cpg1.4
-  array('允許訪客進入', 'allow_unlogged_access', 1, 'f=index.htm&amp;as=admin_allow_unlogged_access&amp;ae=admin_allow_unlogged_access_end'), //cpg1.4
-  array('註冊需要電子郵件驗證', 'reg_requires_valid_email', 1, 'f=index.htm&amp;as=admin_registration_verify&amp;ae=admin_registration_verify_end'), //cpg1.4
-  array('有新會員時通知管理員', 'reg_notify_admin_email', 1, 'f=index.htm&amp;as=admin_registration_notify&amp;ae=admin_registration_notify_end'), //cpg1.4
-  array('管理員需審核註冊', 'admin_activation', 1, 'f=index.htm&amp;as=admin_activation&amp;ae=admin_activation_end'),  //cpg1.4
-  array('允許兩個會員使用同一個電子郵件', 'allow_duplicate_emails_addr', 1, 'f=index.htm&amp;as=admin_allow_duplicate_emails_addr&amp;ae=admin_allow_duplicate_emails_addr_end'), //cpg1.4
-  array('通知管理員有等待審核的檔案', 'upl_notify_admin_email', 1, 'f=index.htm&amp;as=admin_approval_notify&amp;ae=admin_approval_notify_end'), //cpg1.4
-  array('允許登入的會員瀏覽會員名單', 'allow_memberlist', 1, 'f=index.htm&amp;as=admin_user_memberlist&amp;ae=admin_user_memberlist_end'), //cpg1.4
-  array('允許會員改變電子郵件', 'allow_email_change', 1, 'f=index.htm&amp;as=admin_user_allow_email_change&amp;ae=admin_user_allow_email_change_end'), //cpg1.4
-  array('允許會員保留自己在公共相簿裡的圖片', 'users_can_edit_pics', 1, 'f=index.htm&amp;as=admin_user_editpics_public_start&amp;ae=admin_user_editpics_public_end'), //cpg1.4
-  array('允許錯誤登入的次數 (避免相簿遭受攻擊)', 'login_threshold', 0, 'f=index.htm&amp;as=admin_user_login_start&amp;ae=admin_user_login_end'), //cpg1.4
-  array('錯誤登入後的阻擋時間', 'login_expiry', 0, 'f=index.htm&amp;as=admin_user_login_start&amp;ae=admin_user_login_end'), //cpg1.4
-  array('允許向管理員檢舉檔案', 'report_post', 1, 'f=index.htm&amp;as=admin_user_enable_report&amp;ae=admin_user_enable_report_end'),  //cpg1.4
-
-// custom profile fields,  //cpg1.4
-  '個人資料的自訂欄位 (空白如果不使用)。
-  用資料 6 給長的資訊，例如說個人簡介', //cpg1.4
-  array('資料 1 的名稱', 'user_profile1_name', 0, 'f=index.htm&amp;as=admin_custom&amp;ae=admin_custom_end'), //cpg1.4
-  array('資料 2 的名稱', 'user_profile2_name', 0), //cpg1.4
-  array('資料 3 的名稱', 'user_profile3_name', 0), //cpg1.4
-  array('資料 4 的名稱', 'user_profile4_name', 0), //cpg1.4
-  array('資料 5 的名稱', 'user_profile5_name', 0), //cpg1.4
-  array('資料 6 的名稱', 'user_profile6_name', 0), //cpg1.4
-
-  '圖片簡介的自訂欄位 (空白如果不使用)',
-  array('欄位 1 的名稱', 'user_field1_name', 0, 'f=index.htm&amp;as=admin_custom_image&amp;ae=admin_custom_image_end'), //cpg1.4
-  array('欄位 2 的名稱', 'user_field2_name', 0),
-  array('欄位 3 的名稱', 'user_field3_name', 0),
-  array('欄位 4 的名稱', 'user_field4_name', 0),
-
-  'Cookies 設定',
-  array('Cookie 名稱', 'cookie_name', 0, 'f=index.htm&amp;as=admin_cookie_name&amp;ae=admin_cookie_name_end'), //cpg1.4
-  array('Cookie 路徑', 'cookie_path', 0, 'f=index.htm&amp;as=admin_cookie_path&amp;ae=admin_cookie_path_end'), //cpg1.4
-
-  '電子郵件設定  (通常可以不用作任何改變；如果不懂請不要更改)', //cpg1.4
-  array('SMTP 主機 (如果空白會使用 sendmail)', 'smtp_host', 0, 'f=index.htm&amp;as=admin_email&amp;ae=admin_email_end'), //cpg1.4
-  array('SMTP 帳號', 'smtp_username', 0), //cpg1.4
-  array('SMTP 密碼', 'smtp_password', 0), //cpg1.4
-
-  '記錄和統計', //cpg1.4
-  array('記錄模式 <a href="#notice3" class="clickable_option">***</a>', 'log_mode', 11, 'f=index.htm&amp;as=admin_logging_log_mode&amp;ae=admin_logging_log_mode_end'), //cpg1.4
-  array('記錄電子卡片', 'log_ecards', 1, 'f=index.htm&amp;as=admin_general_log_ecards&amp;ae=admin_general_log_ecards_end'), //cpg1.4
-  array('記錄投票的統計','vote_details',1, 'f=index.htm&amp;as=admin_logging_votedetails&amp;ae=admin_logging_votedetails_end'), //cpg1.4
-  array('記錄瀏覽的統計','hit_details',1, 'f=index.htm&amp;as=admin_logging_hitdetails&amp;ae=admin_logging_hitdetails_end'), //cpg1.4
-
-  '維修設定', //cpg1.4
-  array('開啟除錯模式', 'debug_mode', 9, 'f=index.htm&amp;as=debug_mode&amp;ae=debug_mode_end'), //cpg1.4
-  array('顯示除錯模式裡的通知', 'debug_notice', 1, 'f=index.htm&amp;as=admin_misc_debug_notices&amp;ae=admin_misc_debug_notices_end'), //cpg1.4
-  array('相簿維修 (離線)', 'offline', 1, 'f=index.htm&amp;as=admin_general_offline&amp;ae=admin_general_offline_end'), //cpg1.4
-);
-
-
-// ------------------------------------------------------------------------- //
-// File db_ecard.php
-// ------------------------------------------------------------------------- //
-
-if (defined('DB_ECARD_PHP')) $lang_db_ecard_php = array(
-  'title' => '寄出電子卡片',
-  'ecard_sender' => '寄件者',
-  'ecard_recipient' => '收件者',
-  'ecard_date' => '日期',
-  'ecard_display' => '顯示電子卡片',
-  'ecard_name' => '名稱',
-  'ecard_email' => '電子郵件',
-  'ecard_ip' => 'IP #',
-  'ecard_ascending' => '升冪',
-  'ecard_descending' => '降冪',
-  'ecard_sorted' => '排序',
-  'ecard_by_date' => '依日期',
-  'ecard_by_sender_name' => '依寄件者名稱',
-  'ecard_by_sender_email' => '依寄件者郵件',
-  'ecard_by_sender_ip' => '依寄件者的 IP 位址',
-  'ecard_by_recipient_name' => '依收件者名稱',
-  'ecard_by_recipient_email' => '依收件者郵件',
-  'ecard_number' => '顯示紀錄 %s 到 %s 在 %s',
-  'ecard_goto_page' => '到頁面',
-  'ecard_records_per_page' => '頁面記錄',
-  'check_all' => '全選',
-  'uncheck_all' => '都不選',
-  'ecards_delete_selected' => '刪除選取的卡片',
-  'ecards_delete_confirm' => '你確定要刪除記錄嗎？請勾選。',
-  'ecards_delete_sure' => '我確定',
-);
-
-
-// ------------------------------------------------------------------------- //
-// File db_input.php
-// ------------------------------------------------------------------------- //
-
-if (defined('DB_INPUT_PHP')) $lang_db_input_php = array(
-  'empty_name_or_com' => '請輸入您的名字和留言',
-  'com_added' => '您的留言已經加入',
-  'alb_need_title' => '您必須為相簿提供一個標題 !',
-  'no_udp_needed' => '沒有更新的必要',
-  'alb_updated' => '相簿已經更新',
-  'unknown_album' => '所選擇的相簿不存在或您沒有權限上傳檔案到此相簿',
-  'no_pic_uploaded' => '沒有檔案被上傳 !<br /><br />如果您確定有選擇檔案上傳, 請檢查伺服器是否允許上傳檔案...',
-  'err_mkdir' => '無法建立目錄 %s！',
-  'dest_dir_ro' => '目錄 %s 無法讀寫！',
-  'err_move' => '無法移動 %s 到 %s！',
-  'err_fsize_too_large' => '您上傳的圖片太大 (不能超過 %s x %s)！', //obsolete since cpg1.3 - consider removal in cpg1.4 once upload.php has been overhauled
-  'err_imgsize_too_large' => '您上傳的圖檔太大 (不能超過 %s KB)！', //obsolete since cpg1.3 - consider removal in cpg1.4 once upload.php has been overhauled
-  'err_invalid_img' => '上傳的檔案並不是容許的圖片格式 !',
-  'allowed_img_types' => '您只可以上傳 %s 張圖片.',
-  'err_insert_pic' => '檔案 \'%s\' 無法加入此相簿 ',
-  'upload_success' => '檔案上傳完成!<br /><br />當管理者核准後就可以看到檔案了.',
-  'notify_admin_email_subject' => '%s - 上傳檔案通知',
-  'notify_admin_email_body' => '%s有上傳檔案 需要你的核准. 請查閱 %s',
-  'info' => '訊息',
-  'com_added' => '留言已加入',
-  'alb_updated' => '相簿已經更新',
-  'err_comment_empty' => '留言是空的 !',
-  'err_invalid_fext' => '只有下列的副檔名才允許上傳 : <br /><br />%s.',
-  'no_flood' => '抱歉, 此圖片最後一個留言是您提供<br /><br />您只可以修改您的留言',
-  'redirect_msg' => '頁面轉移中.<br /><br /><br />按 \'繼續\' 如果頁面沒有自動刷新',
-  'upl_success' => '已經加入您的圖片',
-  'email_comment_subject' => '相簿已有新留言',
-  'email_comment_body' => '已經有留言發佈在您的相簿。請瀏覽',
-  'album_not_selected' => '無選擇的相簿', //cpg1.4
-  'com_author_error' => '已有註冊會員使用了這個名稱，請登入或使用其它名稱', //cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File delete.php
-// ------------------------------------------------------------------------- //
-
-if (defined('DELETE_PHP')) $lang_delete_php = array(
-  'caption' => '說明',
-  'fs_pic' => '原圖',
-  'del_success' => '完成刪除',
-  'ns_pic' => '標準尺寸圖片',
-  'err_del' => '無法刪除',
-  'thumb_pic' => '縮圖',
-  'comment' => '留言',
-  'im_in_alb' => '相簿內圖片',
-  'alb_del_success' => '相簿 &laquo;%s&raquo; 已刪除', //cpg1.4
-  'alb_mgr' => '相簿管理',
-  'err_invalid_data' => '接收到不正確的資料於 \'%s\'',
-  'create_alb' => '建立相簿 \'%s\'',
-  'update_alb' => '更新相簿 \'%s\' 標題為 \'%s\' 索引為 \'%s\'',
-  'del_pic' => '刪除圖片',
-  'del_alb' => '刪除相簿',
-  'del_user' => '刪除會員',
-  'err_unknown_user' => '所選擇的會員不存在！',
-  'err_empty_groups' => '找不要群組的資料表，或沒有資料！', //cpg1.4
-  'comment_deleted' => '留言已刪除',
-  'npic' => '圖片', //cpg1.4
-  'pic_mgr' => '圖片管理', //cpg1.4
-  'update_pic' => '更新圖片 \'%s\' 的檔名為 \'%s\'，索引是 \'%s\'', //cpg1.4
-  'username' => '帳號', //cpg1.4
-  'anonymized_comments' => '%s 個無名的留言', //cpg1.4
-  'anonymized_uploads' => '%s 個無名的公共上傳', //cpg1.4
-  'deleted_comments' => '刪除了 %s 個留言', //cpg1.4
-  'deleted_uploads' => '刪除了 %s 個公共上傳', //cpg1.4
-  'user_deleted' => '會員 %s 已刪除', //cpg1.4
-  'activate_user' => '啟用帳號', //cpg1.4
-  'user_already_active' => '帳號已被啟用', //cpg1.4
-  'activated' => '啟用', //cpg1.4
-  'deactivate_user' => '關閉帳號', //cpg1.4
-  'user_already_inactive' => '帳號已被關閉', //cpg1.4
-  'deactivated' => '關閉', //cpg1.4
-  'reset_password' => '重設密碼', //cpg1.4
-  'password_reset' => '密碼重設成 %s', //cpg1.4
-  'change_group' => '改變主要群組', //cpg1.4
-  'change_group_to_group' => '從 %s 改成 %s', //cpg1.4
-  'add_group' => '新增額外群組', //cpg1.4
-  'add_group_to_group' => '加入會員 %s 到群組 %s。會員現在的主要群組是 %s，額外群組是 %s。', //cpg1.4
-  'status' => 'Status', //cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File displayecard.php
-// ------------------------------------------------------------------------- //
-
-if (defined('DISPLAYECARD_PHP')) {
-
-$lang_displayecard_php = array(
-  'invalid_data' => '您要使用的電子卡片資料有錯誤。請檢查連結。', //cpg1.4
-);
-}
-
-// ------------------------------------------------------------------------- //
-// File displayimage.php
-// ------------------------------------------------------------------------- //
-
-if (defined('DISPLAYIMAGE_PHP')){
-
-$lang_display_image_php = array(
-  'confirm_del' => '確定要刪除此圖片嗎 ? \\n留言也會被刪除.', //js-alert
-  'del_pic' => '刪除此圖片',
-  'size' => '%s x %s 像素',
-  'views' => '%s 次',
-  'slideshow' => '連續播放',
-  'stop_slideshow' => '停止播放',
-  'view_fs' => '點選圖片以觀看原圖',
-  'edit_pic' => '編輯檔案資訊', //cpg1.4
-  'crop_pic' => '裁剪與旋轉',
-  'set_player' => '改變播放軟體',
-);
-
-$lang_picinfo = array(
-  'title' =>'圖片資訊',
-  'Filename' => '檔案名稱',
-  'Album name' => '相簿名稱',
-  'Rating' => '評分 (%s 次投票)',
-  'Keywords' => '關鍵字',
-  'File Size' => '檔案大小',
-  'Date Added' => '增入日期', //cpg1.4
-  'Dimensions' => '尺寸',
-  'Displayed' => '顯示',
-  'URL' => 'URL', //cpg1.4
-  'Make' => '品牌', //cpg1.4
-  'Model' => '型號', //cpg1.4
-  'DateTime' => '日期時間', //cpg1.4
-  'DateTimeOriginal' => '拍照日期', //cpg1.4
-  'ISOSpeedRatings'=>'ISO', //cpg1.4
-  'MaxApertureValue' => '孔徑最大值', //cpg1.4
-  'FocalLength' => '焦點尺寸', //cpg1.4
-  'Comment' => '留言',
-  'addFav'=>'加到我的最愛',
-  'addFavPhrase'=>'我的最愛',
-  'remFav'=>'從我的最愛移除',
-  'iptcTitle'=>'IPTC 標題',
-  'iptcCopyright'=>'IPTC 版權',
-  'iptcKeywords'=>'IPTC 關鍵字',
-  'iptcCategory'=>'IPTC 類別',
-  'iptcSubCategories'=>'IPTC 子類別',
-  'ColorSpace' => '顏色空間', //cpg1.4
-  'ExposureProgram' => '曝光軟體', //cpg1.4
-  'Flash' => '閃光', //cpg1.4
-  'MeteringMode' => '計量模式', //cpg1.4
-  'ExposureTime' => '曝光時間', //cpg1.4
-  'ExposureBiasValue' => '曝光偏好', //cpg1.4
-  'ImageDescription' => ' 圖片簡介', //cpg1.4
-  'Orientation' => '定位', //cpg1.4
-  'xResolution' => 'X 解析度', //cpg1.4
-  'yResolution' => 'Y 解析度', //cpg1.4
-  'ResolutionUnit' => '解析度', //cpg1.4
-  'Software' => '軟體', //cpg1.4
-  'YCbCrPositioning' => 'YCbCrPositioning', //cpg1.4
-  'ExifOffset' => 'Exif 偏移量', //cpg1.4
-  'IFD1Offset' => 'IFD1 偏移量', //cpg1.4
-  'FNumber' => 'FNumber', //cpg1.4
-  'ExifVersion' => 'Exif 版本', //cpg1.4
-  'DateTimeOriginal' => '原本日期', //cpg1.4
-  'DateTimedigitized' => '電子日期', //cpg1.4
-  'ComponentsConfiguration' => '零件設定', //cpg1.4
-  'CompressedBitsPerPixel' => '壓縮量/像素', //cpg1.4
-  'LightSource' => '光源', //cpg1.4
-  'ISOSetting' => 'ISO 設定', //cpg1.4
-  'ColorMode' => '顏色模式', //cpg1.4
-  'Quality' => '品質', //cpg1.4
-  'ImageSharpening' => '尖銳圖片', //cpg1.4
-  'FocusMode' => '焦距模式', //cpg1.4
-  'FlashSetting' => '閃光設定', //cpg1.4
-  'ISOSelection' => 'ISO 選項', //cpg1.4
-  'ImageAdjustment' => '圖片調整', //cpg1.4
-  'Adapter' => '轉接器', //cpg1.4
-  'ManualFocusDistance' => '手動的焦距距離', //cpg1.4
-  'DigitalZoom' => '電子變焦', //cpg1.4
-  'AFFocusPosition' => 'AF 焦距位置', //cpg1.4
-  'Saturation' => '浸透度', //cpg1.4
-  'NoiseReduction' => '減少干擾', //cpg1.4
-  'FlashPixVersion' => '閃光版本', //cpg1.4
-  'ExifImageWidth' => 'Exif 圖片寬度', //cpg1.4
-  'ExifImageHeight' => 'Exif 圖片高度', //cpg1.4
-  'ExifInteroperabilityOffset' => 'Exif 通用偏移量', //cpg1.4
-  'FileSource' => '檔案來源', //cpg1.4
-  'SceneType' => '場景類型', //cpg1.4
-  'CustomerRender' => '顧客處理', //cpg1.4
-  'ExposureMode' => '曝光模式', //cpg1.4
-  'WhiteBalance' => '白色平衡', //cpg1.4
-  'DigitalZoomRatio' => '電子變焦比率', //cpg1.4
-  'SceneCaptureMode' => '場景拍攝模式', //cpg1.4
-  'GainControl' => '獲得控制', //cpg1.4
-  'Contrast' => '對比', //cpg1.4
-  'Saturation' => '浸透度', //cpg1.4
-  'Sharpness' => '尖銳度', //cpg1.4
-  'ManageExifDisplay' => '管理 Exif 顯示', //cpg1.4
-  'submit' => '送出', //cpg1.4
-  'success' => '資料已更新完畢。', //cpg1.4
-  'details' => '細節', //cpg1.4
-);
-
-$lang_display_comments = array(
-  'OK' => 'OK',
-  'edit_title' => '編輯此留言',
-  'confirm_delete' => '確定要刪除此留言？', //js-alert
-  'add_your_comment' => '發佈您的留言',
-  'name'=>'名稱',
-  'comment'=>'留言',
-  'your_name' => '無名',
-  'report_comment_title' => '檢舉這篇留言', //cpg1.4
-);
-
-$lang_fullsize_popup = array(
-  'click_to_close' => '點選圖片來關閉視窗',
-);
-
-}
-
-// ------------------------------------------------------------------------- //
-// File ecard.php
-// ------------------------------------------------------------------------- //
-
-if (defined('ECARDS_PHP') || defined('DISPLAYECARD_PHP')) $lang_ecard_php =array(
-  'title' => '寄出 電子卡片',
-  'invalid_email' => '<font color="red"><b>警告</b></font>：不正確的電子郵件：', //cpg1.4
-  'ecard_title' => '%s 寄給你一張電子卡片',
-  'error_not_image' => '電子卡片只能寄出圖片.',
-  'view_ecard' => '如果電子卡片無法正確顯示，請按此連結', //cpg1.4
-  'view_ecard_plaintext' => '請到這個網址瀏覽電子卡片：', //cpg1.4
-  'view_more_pics' => '更多圖片！', //cpg1.4
-  'send_success' => '你的 電子卡片 已寄出',
-  'send_failed' => '抱歉, 本伺服器無法為你寄出 電子卡片...',
-  'from' => '由',
-  'your_name' => '你的名稱',
-  'your_email' => '你的電子郵件',
-  'to' => '給',
-  'rcpt_name' => '收件者名稱',
-  'rcpt_email' => '收件者電子郵件',
-  'greetings' => '標題', //cpg1.4
-  'message' => '訊息內容', //cpg1.4
-  'ecards_footer' => '寄件人 %s 從 IP %s 在 %s (相簿主機時間)', //cpg1.4
-  'preview' => '電子卡片預覽', //cpg1.4
-  'preview_button' => '預覽', //cpg1.4
-  'submit_button' => '寄送卡片', //cpg1.4
-  'preview_view_ecard' => '這是電子卡片的替補連結，不能夠預覽。', //cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File report_file.php //cpg1.4
-// ------------------------------------------------------------------------- //
-
-if (defined('REPORT_FILE_PHP') || defined('DISPLAYREPORT_PHP')) $lang_report_php =array(
-  'title' => '檢舉報告', //cpg1.4
-  'invalid_email' => '<b>警告</b>：錯誤的電子郵件！', //cpg1.4
-  'report_subject' => '檢舉信件從 %s 在相簿 %s', //cpg1.4
-  'view_report' => '檢舉報告的替補連結，如果無法正常顯示。', //cpg1.4
-  'view_report_plaintext' => '請到下面的網址瀏覽檢舉報告：', //cpg1.4
-  'view_more_pics' => '相簿', //cpg1.4
-  'send_success' => '您的檢舉已傳送', //cpg1.4
-  'send_failed' => '抱歉，但是主機無法傳送您的檢舉報告...', //cpg1.4
-  'from' => '從', //cpg1.4
-  'your_name' => '您的名稱', //cpg1.4
-  'your_email' => '您的信箱', //cpg1.4
-  'to' => '到', //cpg1.4
-  'administrator' => '管理員', //cpg1.4
-  'subject' => '標題', //cpg1.4
-  'comment_field_name' => '檢舉 "%s" 的留言', //cpg1.4
-  'reason' => '原因', //cpg1.4
-  'message' => '訊息', //cpg1.4
-  'report_footer' => '寄件人 %s 從 IP %s 在 %s (相簿主機時間)', //cpg1.4
-  'obscene' => '猥褻', //cpg1.4
-  'offensive' => '攻擊性', //cpg1.4
-  'misplaced' => '文不對題', //cpg1.4
-  'missing' => '不存在', //cpg1.4
-  'issue' => '錯誤/無法瀏覽', //cpg1.4
-  'other' => '其它', //cpg1.4
-  'refers_to' => '檢舉的檔案是', //cpg1.4
-  'reasons_list_heading' => '檢舉理由：', //cpg1.4
-  'no_reason_given' => '沒有理由', //cpg1.4
-  'go_comment' => '瀏覽留言', //cpg1.4
-  'view_comment' => '瀏覽完整報告和留言', //cpg1.4
-  'type_file' => '檔案', //cpg1.4
-  'type_comment' => '留言', //cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File editpics.php
-// ------------------------------------------------------------------------- //
-
-if (defined('EDITPICS_PHP')) $lang_editpics_php = array(
-  'pic_info' => '檔案資料',
-  'album' => '相簿',
-  'title' => '標題',
-  'filename' => '檔案名', //cpg1.4
-  'desc' => '描述',
-  'keywords' => '關鍵字',
-  'new_keyword' => '新關鍵字', //cpg1.4
-  'new_keywords' => '找到新關鍵字', //cpg1.4
-  'existing_keyword' => '存在的關鍵字', //cpg1.4
-  'pic_info_str' => '%s &times; %s - %s KB - %s 次觀看 - %s 次評分',
-  'approve' => '核准圖片',
-  'postpone_app' => '延遲核准',
-  'del_pic' => '刪除檔案',
-  'del_all' => '刪除全部檔案', //cpg1.4
-  'read_exif' => '再次讀取 EXIF 資料',
-  'reset_view_count' => '清除瀏覽計數器',
-  'reset_all_view_count' => '清除全部的瀏覽計數器', //cpg1.4
-  'reset_votes' => '清除評分',
-  'reset_all_votes' => '清除評分', //cpg1.4
-  'del_comm' => '刪除留言',
-  'del_all_comm' => '刪除全部留言', //cpg1.4
-  'upl_approval' => '核准上傳', //cpg1.4
-  'edit_pics' => '編輯圖片',
-  'see_next' => '觀看下一張圖片',
-  'see_prev' => '觀看前一張圖片',
-  'n_pic' => '%s 張圖片',
-  'n_of_pic_to_disp' => '圖片顯示數量',
-  'apply' => '修改',
-  'crop_title' => 'CPG 圖片編輯器',
-  'preview' => '預覽',
-  'save' => '存檔',
-  'save_thumb' =>'存成縮圖',
-  'gallery_icon' => '使用這個圖示', //cpg1.4
-  'sel_on_img' =>'選擇的區域必須在圖片的範圍內！', //js-alert
-  'album_properties' =>'相簿屬性', //cpg1.4
-  'parent_category' =>'母類別', //cpg1.4
-  'thumbnail_view' =>'縮圖顯示', //cpg1.4
-  'select_unselect' =>'選擇/反選 全部', //cpg1.4
-  'file_exists' => "目標檔案 '%s' 已經存在。", //cpg1.4
-  'rename_failed' => "無法將 '%s' 改成 '%s'。", //cpg1.4
-  'src_file_missing' => "來源檔案 '%s' 不存在。", // cpg 1.4
-  'mime_conv' => "無法轉換檔案 '%s' 到 '%s'",//cpg1.4
-  'forb_ext' => '不允許的副檔名。',//cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File faq.php
-// ------------------------------------------------------------------------- //
-
-if (defined('FAQ_PHP')) $lang_faq_php = array(
-  'faq' => '常見問題解答',
-  'toc' => '目錄',
-  'question' => '問題: ',
-  'answer' => '解答: ',
-);
-
-if (defined('FAQ_PHP')) $lang_faq_data = array(
-  '問題與解答',
-  array('為什麼要註冊？', '管理員決定使用者是否需要註冊。註冊成為會員可獲得額外的功能，如 上傳檔案，有 我的最愛列表，對影像評分及發表留言 等等。', 'allow_user_registration', '1'), //cpg1.4
-  array('如何註冊？', '到 &quot;註冊&quot; 去填寫欄位內的資料 (部分欄位是選填的)。<br />如果管理員開啟 Email 啟用功能，在你確認送出註冊資料後你會收到一封認證信寄到你所填寫的信箱內，裡面會說明如何啟用你的會員資格。會員登入前必須先完成啟用動作。', 'allow_user_registration', '1'), //cpg1.4
-  array('如何登入?', '到 &quot;登入&quot;, 填入你的會員名稱及密碼 且勾選 &quot;記住我&quot; 下次你再來的時候就會自動登入了.<br /><b>注意:如果你點選 &quot;記住我 Me&quot; ,Cookies 功能必須開啟,且本站的cookie存在你的電腦中..</b>', 'offline', 0),
-  array('為何無法登入?', '你已經註冊並啟用帳號了嗎(回覆認證郵件的連結)?. 那個連結將會啟用你的帳號. 其他登入問題 請聯絡網站管理員.', 'offline', 0),
-  array('忘記密碼了怎麼辦 ?', '如果這個網站有 &quot;忘記密碼了&quot; 的連結,就按它. 不然就聯絡網站管理員 請他給你一個新的密碼.', 'offline', 0),
-  //array('我的email變更了怎麼辦 ?', '只要登入 並且到 &quot;我的個人資料&quot; 變更你的電子郵件地址就可以了', 'offline', 0),
-  array('如何把圖片存到  &quot;我的最愛 &quot;?', '點選圖片並且點按 &quot;影像資訊&quot; 連結 (<img src="images/info.gif" width="16" height="16" border="0" alt="Picture information" />); 在影像資訊設定裡面按 &quot;加入我的最愛&quot;.<br />管理員可能有預設&quot;影像資訊; .<br />注意:Cookies 功能必須開啟,且本站的cookie存在你的電腦中.', 'offline', 0),
-  array('如何對圖片評分 ?', '點按該影像縮圖,在影像底下可以點選你的評分.', 'offline', 0),
-  array('如何發表留言 ?', '點按該影像縮圖,在影像底下可以發表留言.', 'offline', 0),
-  array('如何上傳圖片 ?', '到 &quot;上傳圖片&quot;並選擇你要上傳到哪一個相簿,按 &quot;瀏覽&quot; 且點選要上傳的圖片 按 &quot;開啟&quot; (你可以加入影像標題及描述) 然後按 &quot;確認&quot;', 'allow_private_albums', 1), //cpg1.4
-  array('要將圖片上傳到哪裡？', '你可以上傳圖片在 &quot;我的相簿&quot;. 管理員可能允許你上傳圖片到主相簿內.', 'allow_private_albums', 0),
-  array('哪種格式或大小的影像可以上傳?', '格式跟大小 (jpg,gif,..etc.) 根據管理員的設定.', 'offline', 0),
-  array('如何新增,修改 或刪除相簿 從 &quot;我的相簿&quot;?', '你必須在 &quot;管理模式&quot;<br />到 &quot;新增/排序 我的相簿&quot;按 &quot;新增New&quot;. 變更 &quot;新相簿&quot; 到你要的名稱.<br />你可以對你的每一個相簿重新命名.<br />按 &quot;修改;.', 'allow_private_albums', 0),
-  array('我要如何禁止其他會員看我的相簿?', '你必須在 &quot;管理模式&quot;<br />到 &quot;變更我的相簿. 在 &quot;更新相簿&quot; 欄位, 選擇你要變更的相簿.<br />在這裡, 你可以變更相簿名稱 描述 縮圖 ,及限制觀看 留言 評分 的權限.<br />按 &quot;更新相簿&quot;.', 'allow_private_albums', 0),
-  array('如何觀看其他會員的相簿?', '到 &quot;相簿目錄&quot; 選擇 &quot;會員相簿&quot;.', 'allow_private_albums', 0),
-  array('什麼是 cookies?', 'Cookies 是網站放在你電腦中的文字資料.<br />Cookies 通常讓使用者再次回到網站時自動登入 並記錄其他設定資料.', 'offline', 0),
-  array('在哪裡可以取得這個相簿程式?', 'Coppermine 是基於GNU GPL的免費多媒體相簿. 它是全功能的 且支援不同的平台. 請到<a href="http://coppermine-gallery.net/">Coppermine 的網站</a> 取得更多的資訊 或是下載它.', 'offline', 0),
-
-  '網站導引',
-  array('什麼是 &quot;相簿目錄 &quot;?', '這將顯示整個相簿 包含每一個分類. 縮圖可以連結到類別中.', 'offline', 0),
-  array('什麼是 &quot;我的相簿 &quot;?', '這項功能讓會員建立自己的相簿,可增加,刪除,修改相簿. 並且可上傳檔案到相簿裡.', 'allow_private_albums', 1), //cpg1.4
-  array('有什麼差異在 &quot;管理模式&quot; 和 &quot;會員模式&quot;?', '這項功能, 在管理模式時, 允許會員修改他們自己的相簿 (如果管理員允許的話).', 'allow_private_albums', 0),
-  array('什麼是 &quot;上傳圖片 &quot;?', '這項功能允許會員上傳影像(檔案大小及格式依管理員設定) 到指定的相簿.', 'allow_private_albums', 0),
-  array('什麼是 &quot;最新上傳 &quot;?', '這項功能顯示最新上傳到相簿的檔案.', 'offline', 0),
-  array('什麼是 &quot;最新留言 &quot;?', '這項功能會員對影像發表的最新留言.', 'offline', 0),
-  array('什麼是 &quot;熱門圖片 &quot;?', '這項功能顯示被觀看最多次的影像,不論是會員或訪客.', 'offline', 0),
-  array('什麼是 &quot;最高評分 &quot;?', '這項功能顯示會員評分最高的影像, 顯示平均分數(例如: 五個會員各給一個評分 <img src="images/rating3.gif" width="65" height="14" border="0" alt="" />: 影像將有平均評分 <img src="images/rating3.gif" width="65" height="14" border="0" alt="" /> ;五個會員評分從 1 到 5 (1,2,3,4,5) 平均結果將是 <img src="images/rating3.gif" width="65" height="14" border="0" alt="" /> .)<br />評分從 <img src="images/rating5.gif" width="65" height="14" border="0" alt="best" /> (最佳) 到 <img src="images/rating0.gif" width="65" height="14" border="0" alt="worst" /> (最差).', 'offline', 0),
-  array('什麼是 &quot;我的最愛 &quot;?', '這項功能讓會員儲存喜愛的影像,需要有cookie資訊.', 'offline', 0),
-);
-
-
-// ------------------------------------------------------------------------- //
-// File forgot_passwd.php
-// ------------------------------------------------------------------------- //
-
-if (defined('FORGOT_PASSWD_PHP')) $lang_forgot_passwd_php = array(
-  'forgot_passwd' => '忘記密碼',
-  'err_already_logged_in' => '您已經登入了！',
-  'enter_email' => '輸入您的電子信箱', //cpg1.4
-  'submit' => '繼續',
-  'illegal_session' => '忘記密碼的工作階段錯誤或已過期。', //cpg1.4
-  'failed_sending_email' => '忘記密碼的郵件無法寄出！',
-  'email_sent' => '新帳號和密碼的郵件已經寄到 %s', //cpg1.4
-  'verify_email_sent' => '電子郵件已寄到 %s。請檢查您的信箱進行下一步動作。', //cpg1.4
-  'err_unk_user' => '選擇的會員不存在！',
-  'account_verify_subject' => '%s - 新密碼申請', //cpg1.4
-  'account_verify_body' => '您已經申請了新的密碼。如果要新的密碼寄到您的信箱，請點下面的連結：
-
-%s', //cpg1.4
-  'passwd_reset_subject' => '%s - 您的新密碼', //cpg1.4
-  'passwd_reset_body' => '這是您申請的新密碼：
-帳號： %s
-密碼： %s
-請點 %s 登入。', //cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File groupmgr.php
-// ------------------------------------------------------------------------- //
-
-if (defined('GROUPMGR_PHP')) $lang_groupmgr_php = array(
-  'group_name' => '群組', //cpg1.4
-  'permissions' => '權限', //cpg1.4
-  'public_albums' => '允許公用相簿上傳', //cpg1.4
-  'personal_gallery' => '私人相簿', //cpg1.4
-  'upload_method' => '上傳方法', //cpg1.4
-  'disk_quota' => '空間配額', //cpg1.4
-  'rating' => '評分', //cpg1.4
-  'ecards' => '電子卡片', //cpg1.4
-  'comments' => '留言', //cpg1.4
-  'allowed' => '允許 ', //cpg1.4
-  'approval' => '審核', //cpg1.4
-  'boxes_number' => '欄位數量', //cpg1.4
-  'variable' => '更改', //cpg1.4
-  'fixed' => '固定', //cpg1.4
-  'apply' => '修改',
-  'create_new_group' => '建立新群組',
-  'del_groups' => '刪除所選擇的群組',
-  'confirm_del' => '警告, 當刪除了一個群組, 屬於該群組的用戶將被轉移至 \'Registered\' 群組中 !\n\nn確定要刪除嗎 ?', //js-alert
-  'title' => '管理會員群組',
-  'num_file_upload' => '上傳欄位', //cpg1.4
-  'num_URI_upload' => 'URI 上傳欄位', //cpg1.4
-  'reset_to_default' => '重設為預設名稱 (%s) - 建議！', //cpg1.4
-  'error_group_empty' => '群組資料表沒資料！<br /><br />重新建立預設群組，請刷新此頁面', //cpg1.4
-  'explain_greyed_out_title' => '為什麼不能使用？', //cpg1.4
-  'explain_guests_greyed_out_text' => '您不能改變這個群組的屬性因為設定裡面的 &quot;允許訪客進入&quot; 是設定為 &quot;否&quot;。 全部訪客 (這個群組的成員 %s) 無法做任何動作除了登入，所以不能改變群組的設定。', //cpg1.4
-  'explain_banned_greyed_out_text' => '您不能改變這個群組 %s 的屬性因為它的成員無法做任何動作。', //cpg1.4
-  'group_assigned_album' => '分配的相簿', //cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File index.php
-// ------------------------------------------------------------------------- //
-
-if (defined('INDEX_PHP')){
-
-$lang_index_php = array(
-  'welcome' => '歡迎 !',
-);
-
-$lang_album_admin_menu = array(
-  'confirm_delete' => '確定要刪除這相簿 ? \\n所有圖片及留言都會被刪除.', //js-alert
-  'delete' => '刪除',
-  'modify' => '屬性',
-  'edit_pics' => '編輯',
-);
-
-$lang_list_categories = array(
-  'home' => '相簿首頁',
-  'stat1' => '<b>[pictures]</b> 張影像於 <b>[albums]</b> 個相簿及 <b>[cat]</b> 個類別, 有 <b>[comments]</b> 個留言, 被觀看 <b>[views]</b> 次',
-  'stat2' => '<b>[pictures]</b> 張影像於 <b>[albums]</b> 個相簿, 被觀看 <b>[views]</b> 次',
-  'xx_s_gallery' => '%s\'s 相簿',
-  'stat3' => '<b>[pictures]</b> 張影像於 <b>[albums]</b> 個相簿, 有 <b>[comments]</b> 個留言, 被觀看 <b>[views]</b> 次',
-);
-
-$lang_list_users = array(
-  'user_list' => '會員列表',
-  'no_user_gal' => '還沒有會員相簿',
-  'n_albums' => '%s 個相簿',
-  'n_pics' => '%s 張影像',
-);
-
-$lang_list_albums = array(
-  'n_pictures' => '%s 張影像',
-  'last_added' => ', 最新影像於 %s',
-  'n_link_pictures' => '%s 連結的檔案', //cpg1.4
-  'total_pictures' => '%s 總檔案', //cpg1.4
-);
-
-}
-
-// ------------------------------------------------------------------------- //
-// File keywordmgr.php //cpg1.4
-// ------------------------------------------------------------------------- //
-
-if (defined('KEYWORDMGR_PHP')) $lang_keywordmgr_php = array(
-  'title' => '關鍵字管理', //cpg1.4
-  'edit' => '編輯', //cpg1.4
-  'delete' => '刪除', //cpg1.4
-  'search' => '搜尋', //cpg1.4
-  'keyword_test_search' => '搜尋 %s 於新視窗', //cpg1.4
-  'keyword_del' => '刪除關鍵字 %s', //cpg1.4
-  'confirm_delete' => '確定要刪除相簿裡的關鍵字 %s 嗎？', //cpg1.4  // js-alert
-  'change_keyword' => '改變關鍵字', //cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File login.php
-// ------------------------------------------------------------------------- //
-
-if (defined('LOGIN_PHP')) $lang_login_php = array(
-  'login' => '登入',
-  'enter_login_pswd' => '輸入會員名稱和密碼',
-  'username' => '會員名稱',
-  'password' => '密碼',
-  'remember_me' => '記住我',
-  'welcome' => '歡迎 %s ...',
-  'err_login' => '*** 無法登入. 請重試 ***',
-  'err_already_logged_in' => '您已經登入！',
-  'forgot_password_link' => '忘記密碼',
-  'cookie_warning' => '警告：您的瀏覽器不支援 cookies', //cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File logout.php
-// ------------------------------------------------------------------------- //
-
-if (defined('LOGOUT_PHP')) $lang_logout_php = array(
-  'logout' => '登出',
-  'bye' => '再見 %s ...',
-  'err_not_loged_in' => '您還沒有登入！',
-);
-
-// ------------------------------------------------------------------------- //
-// File minibrowser.php  //cpg1.4
-// ------------------------------------------------------------------------- //
-
-if (defined('MINIBROWSER_PHP')) $lang_minibrowser_php = array(
-  'close' => '關閉', //cpg1.4
-  'submit' => 'OK', //cpg1.4
-  'up' => '上一個層次', //cpg1.4
-  'current_path' => '目前的路徑', //cpg1.4
-  'select_directory' => '請選擇目錄', //cpg1.4
-  'click_to_close' => '點圖片關閉視窗',
-);
-
-// ------------------------------------------------------------------------- //
-// File modifyalb.php
-// ------------------------------------------------------------------------- //
-
-if (defined('MODIFYALB_PHP')) $lang_modifyalb_php = array(
-  'upd_alb_n' => '更新相簿 %s',
-  'general_settings' => '一般設定',
-  'alb_title' => '相簿標題',
-  'alb_cat' => '相簿類別',
-  'alb_desc' => '相簿描述',
-  'alb_keyword' => '相簿關鍵字', //cpg1.4
-  'alb_thumb' => '相簿縮圖',
-  'alb_perm' => '相簿權限',
-  'can_view' => '允許觀看相簿的會員',
-  'can_upload' => '訪客可上傳圖片',
-  'can_post_comments' => '訪客可發表留言',
-  'can_rate' => '訪客可為圖片評分',
-  'user_gal' => '會員相簿',
-  'no_cat' => '* 沒有類別 *',
-  'alb_empty' => '相簿是空的',
-  'last_uploaded' => '最近上傳',
-  'public_alb' => '任何人 (公開相簿)',
-  'me_only' => '只有我',
-  'owner_only' => '只有相簿擁有人 (%s) ',
-  'groupp_only' => ' \'%s\' 群組的會員',
-  'err_no_alb_to_modify' => '資料庫內沒有您可修改的相簿.',
-  'update' => '更新相簿',
-  'reset_album' => '重設相簿', //cpg1.4
-  'reset_views' => '清除 %s 的瀏覽計數到 &quot;0&quot;', //cpg1.4
-  'reset_rating' => '清除 %s 的全部評分', //cpg1.4
-  'delete_comments' => '刪除 %s 裡的留言', //cpg1.4
-  'delete_files' => '%s無法改變%s 的刪除全部檔案，在 %s 裡面', //cpg1.4
-  'views' => '瀏覽', //cpg1.4
-  'votes' => '投票', //cpg1.4
-  'comments' => '留言', //cpg1.4
-  'files' => '檔案', //cpg1.4
-  'submit_reset' => '傳送改變', //cpg1.4
-  'reset_views_confirm' => '確定', //cpg1.4
-  'notice1' => '(*) 依照 %s群組%s 設定',  //cpg1.4 //(do not translate %s!)
-  'alb_password' => '相簿密碼', //cpg1.4
-  'alb_password_hint' => '相簿的密碼提示', //cpg1.4
-  'edit_files' =>'編輯檔案', //cpg1.4
-  'parent_category' =>'母類別', //cpg1.4
-  'thumbnail_view' =>'縮圖顯示', //cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File phpinfo.php
-// ------------------------------------------------------------------------- //
-
-if (defined('PHPINFO_PHP')) $lang_phpinfo_php = array(
-  'php_info' => 'PHP 資訊',
-  'explanation' => '這是用 PHP 的函式來建立的資訊 <a href="http://www.php.net/phpinfo">phpinfo()</a>，在 CPG 相簿內顯示 (移除右邊的輸出)。',
-  'no_link' => '讓其他人看到您的 phpinfo 會有安全問題，所以這個資訊只有在登入管理帳號後才能看到。您不能將這個頁面的連結給別人，他們會看不到任何資訊。',
-);
-
-// ------------------------------------------------------------------------- //
-// File picmgr.php //cpg1.4
-// ------------------------------------------------------------------------- //
-if (defined('PICMGR_PHP')) $lang_picmgr_php = array(
-  'pic_mgr' => '圖片管理', //cpg1.4
-  'select_album' => '選擇相簿', //cpg1.4
-  'delete' => '刪除', //cpg1.4
-  'confirm_delete1' => '確定要刪除這個圖片？', //cpg1.4
-  'confirm_delete2' => '\n圖片會永遠被刪除。', //cpg1.4
-  'apply_modifs' => '套用外掛', //cpg1.4
-  'confirm_modifs' => '確定外掛', //cpg1.4
-  'pic_need_name' => '圖片需要名稱！', //cpg1.4
-  'no_change' => '您沒有做任何改變！', //cpg1.4
-  'no_album' => '* 沒有相簿 *', //cpg1.4
-  'explanation_header' => '這裡設定的自訂排序只有在這些標準下使用', //cpg1.4
-  'explanation1' => '管理員在設定內將 "檔案的預設排序" 選成 "大到小" 或 "小到大" (會員在沒有設定排序下所使用的預設排序)', //cpg1.4
-  'explanation2' => '會員在縮圖顯示頁面裡選擇 "大到小" 或 "小到大"', //cpg1.4
-);
-
-
-// ------------------------------------------------------------------------- //
-// File pluginmgr.php //cpg1.4
-// ------------------------------------------------------------------------- //
-
-if (defined('PLUGINMGR_PHP')){
-
-$lang_pluginmgr_php = array(
-  'confirm_uninstall' => '確定要移除這個外掛嗎', //cpg1.4
-  'confirm_delete' => '確定要刪除這個外掛嗎', //cpg1.4
-  'pmgr' => '外掛管理', //cpg1.4
-  'name' => '名稱', //cpg1.4
-  'author' => '作者', //cpg1.4
-  'desc' => '簡介', //cpg1.4
-  'vers' => 'v', //cpg1.4
-  'i_plugins' => '安裝的外掛', //cpg1.4
-  'n_plugins' => '未安裝的外掛', //cpg1.4
-  'none_installed' => '沒有安裝', //cpg1.4
-  'operation' => '運作', //cpg1.4
-  'not_plugin_package' => '上傳的檔案不是外掛組件。', //cpg1.4
-  'copy_error' => '複製外掛到外掛目錄時發生錯誤。', //cpg1.4
-  'upload' => '上傳', //cpg1.4
-  'configure_plugin' => '設定外掛', //cpg1.4
-  'cleanup_plugin' => '清除外掛', //cpg1.4
-);
-}
-
-// ------------------------------------------------------------------------- //
-// File ratepic.php
-// ------------------------------------------------------------------------- //
-
-if (defined('RATEPIC_PHP')) $lang_rate_pic_php = array(
-  'already_rated' => '抱歉, 您已經為此圖片評分',
-  'rate_ok' => '您的評分已經被接受',
-  'forbidden' => '你不能對你自己的圖片評分.',
-);
-
-// ------------------------------------------------------------------------- //
-// File register.php & profile.php
-// ------------------------------------------------------------------------- //
-
-if (defined('REGISTER_PHP') || defined('PROFILE_PHP')) {
-
-$lang_register_disclamer = <<<EOT
- {SITE_NAME} 的管理員會儘快整理會引起反感的資料, 但我們不可能審查每一份文件. 因此您必需同意所有文件只是代表作者的立場及意見, 不代表管理人員的立場 (除了由他們貼出) 並不負任何法律責任.<br />
-<br />
-您必需同意不可張貼任何色情, 暴力, 不良, 不正當, 不健康, 妨害國家安全, 或任何可能違法的文件.  {SITE_NAME} 人員在任何時候都有權過濾並編輯您張貼的內容. 並且會員留在本站內的資料已存在資料庫中. 末經您的同意, 我們不會將您的資料轉給其他人使用, 不過我們不會為任何因駭客行為而外洩的資料負任何責任.<br />
-<br />
-本站使用 cookies 在您的電腦上來儲存資訊. 這樣是方便您更愉快瀏覽. 您的電子郵件地址只是讓我們認證您的資料而已.<br />
-<br />
-按下 '我同意' 代表您同意以上條款.
-EOT;
-
-$lang_register_php = array(
-  'page_title' => '會員註冊',
-  'term_cond' => '條款與規則',
-  'i_agree' => '我同意',
-  'submit' => '確認註冊',
-  'err_user_exists' => '您所填寫的會員名稱已被其他會員使用, 請重選一個',
-  'err_password_mismatch' => '兩個密碼不合, 請重填一次',
-  'err_uname_short' => '會員名稱至少需 2 個字元',
-  'err_password_short' => '密碼至少需 2 個字元',
-  'err_uname_pass_diff' => '會員名稱和密碼不可以相同',
-  'err_invalid_email' => '電子郵件不正確',
-  'err_duplicate_email' => '這個電子郵件已經被其他會員使用',
-  'enter_info' => '輸入註冊資料',
-  'required_info' => '必填的資料',
-  'optional_info' => '選填的資料',
-  'username' => '會員名稱',
-  'password' => '會員密碼',
-  'password_again' => '確認密碼',
-  'email' => '電子郵件',
-  'location' => '居住地區',
-  'interests' => '興趣',
-  'website' => '個人網站',
-  'occupation' => '職業',
-  'error' => '錯誤',
-  'confirm_email_subject' => '%s - 註冊認證',
-  'information' => '訊息',
-  'failed_sending_email' => '所註冊的電子郵件無法寄出 !',
-  'thank_you' => '感謝您的註冊.<br /><br />一封含有如何啟用帳號的電子郵件將會送到您所提供的信箱.',
-  'acct_created' => '您的帳號已經建立, 現在您可以登入',
-  'acct_active' => '您的帳號已經啟用, 現在您可以登入',
-  'acct_already_act' => '帳號已經啟用！',
-  'acct_act_failed' => '此帳號無法啟用！',
-  'err_unk_user' => '所選擇的會員並不存在！',
-  'x_s_profile' => '%s\'的個人資料',
-  'group' => '群組',
-  'reg_date' => '加入日期',
-  'disk_usage' => '磁碟使用量',
-  'change_pass' => '修改密碼',
-  'current_pass' => '目前的密碼',
-  'new_pass' => '新密碼',
-  'new_pass_again' => '確認新密碼',
-  'err_curr_pass' => '目前的密碼不正確',
-  'apply_modif' => '修改',
-  'change_pass' => '修改密碼',
-  'update_success' => '你的個人資料已經更新',
-  'pass_chg_success' => '你的密碼已經修改',
-  'pass_chg_error' => '你的密碼沒有修改',
-  'notify_admin_email_subject' => '%s - 註冊通知',
-  'last_uploads' => '最新的上傳。<br />瀏覽全部此會員的上傳', //cpg1.4
-  'last_comments' => '最新的留言。<br />流覽全部此會員的留言', //cpg1.4
-  'notify_admin_email_body' => '新會員 "%s" 已經在您的相簿註冊',
-  'pic_count' => '上傳的檔案', //cpg1.4
-  'notify_admin_request_email_subject' => '%s - 註冊要求', //cpg1.4
-  'thank_you_admin_activation' => '謝謝。<br /><br />您的註冊要求已經寄給管理員。准許完畢會通知您。', //cpg1.4
-  'acct_active_admin_activation' => '帳號已經啟用，通知信件已經寄給會員。', //cpg1.4
-  'notify_user_email_subject' => '%s - 啟用通知', //cpg1.4
-);
-
-$lang_register_confirm_email = <<<EOT
-感謝您在 {SITE_NAME} 的註冊
-
-請到下面的網址起用您的帳號名稱 "{USER_NAME}"。
-
-<a href="{ACT_LINK}">{ACT_LINK}</a>
-
-歡迎你(妳)，
-
-{SITE_NAME} 管理小組
-
-EOT;
-
-$lang_register_approve_email = <<<EOT
-A new user with the username "{USER_NAME}" has registered in your gallery.
-
-In order to activate the account, you need to click on the link below or copy and paste it in your web browser.
-
-<a href="{ACT_LINK}">{ACT_LINK}</a>
-
-EOT;
-
-$lang_register_activated_email = <<<EOT
-您的帳號已經審核完畢，也已經啟用。
-
-您現在可以到 <a href="{SITE_LINK}">{SITE_LINK}</a> 登入，用帳號名稱 "{USER_NAME}"
-
-
-歡迎你(妳)，
-
-{SITE_NAME} 管理小組
-
-EOT;
-}
-
-// ------------------------------------------------------------------------- //
-// File reviewcom.php
-// ------------------------------------------------------------------------- //
-
-if (defined('REVIEWCOM_PHP')) $lang_reviewcom_php = array(
-  'title' => '觀看留言',
-  'no_comment' => '還沒有留言可以觀看',
-  'n_comm_del' => '%s 個留言已刪除',
-  'n_comm_disp' => '顯示的留言數量',
-  'see_prev' => '看前一個',
-  'see_next' => '看下一個',
-  'del_comm' => '刪除所選的留言',
-  'user_name' => '名稱', //cpg1.4
-  'date' => '日期', //cpg1.4
-  'comment' => '留言', //cpg1.4
-  'file' => '檔案', //cpg1.4
-  'name_a' => '名稱小到大', //cpg1.4
-  'name_d' => '名稱大到小', //cpg1.4
-  'date_a' => '日期小到大', //cpg1.4
-  'date_d' => '日期大到小', //cpg1.4
-  'comment_a' => '留言小到大', //cpg1.4
-  'comment_d' => '留言大到小', //cpg1.4
-  'file_a' => '檔案小到大', //cpg1.4
-  'file_d' => '檔案大到小', //cpg1.4
-);
-
-
-// ------------------------------------------------------------------------- //
-// File search.php   
-// ------------------------------------------------------------------------- //
-
-
-if (defined('SEARCH_PHP')){
-
-$lang_search_php = array(
-  'title' => '搜尋檔案存庫', //cpg1.4
-  'submit_search' => '搜尋', //cpg1.4
-  'keyword_list_title' => '關鍵字列表', //cpg1.4
-  'keyword_msg' => '上面的列表不包括圖片標題或簡介。試著用 full-text 搜尋。',  //cpg1.4
-  'edit_keywords' => '編輯關鍵字', //cpg1.4
-  'search in' => '搜尋：', //cpg1.4
-  'ip_address' => 'IP 位置', //cpg1.4
-  'fields' => '搜尋', //cpg1.4
-  'age' => '年齡', //cpg1.4
-  'newer_than' => '日期之後', //cpg1.4
-  'older_than' => '日期之前', //cpg1.4
-  'days' => '天', //cpg1.4
-  'all_words' => '包含完整字詞 (AND)', //cpg1.4
-  'any_words' => '包含任何字詞 (OR)', //cpg1.4
-);
-
-$lang_adv_opts = array(
-  'title' => '名稱', //cpg1.4
-  'caption' => '標題', //cpg1.4
-  'keywords' => '關鍵字', //cpg1.4
-  'owner_name' => '作者', //cpg1.4
-  'filename' => '檔案名', //cpg1.4
-);
-
-}
-
-// ------------------------------------------------------------------------- //
-// File searchnew.php
-// ------------------------------------------------------------------------- //
-
-if (defined('SEARCHNEW_PHP')) $lang_search_new_php = array(
-  'page_title' => '搜尋新圖片',
-  'select_dir' => '選擇目錄',
-  'select_dir_msg' => '本功能可以讓你用 FTP 上傳整批的圖片。<br /><br />請選擇已上傳圖片的目錄。', //cpg1.4
-  'no_pic_to_add' => '沒有圖片可以加入',
-  'need_one_album' => '使用此功能必需至少要有一個相簿',
-  'warning' => '警告',
-  'change_perm' => '程式無法寫入這個目錄, 請修改權限至 755 或 777 後再試一次 !',
-  'target_album' => '<b>把圖片由 &quot;</b>%s<b>&quot; 放到 </b>%s',
-  'folder' => '資料夾',
-  'image' => '圖片',
-  'album' => '相簿',
-  'result' => '結果',
-  'dir_ro' => '無法寫入. ',
-  'dir_cant_read' => '無法讀取. ',
-  'insert' => '新增圖片至相簿',
-  'list_new_pic' => '新圖片列表',
-  'insert_selected' => '加入所選擇的圖片',
-  'no_pic_found' => '沒有找到新圖片',
-  'be_patient' => '請耐心等候, 程式需要一點時間來加入所選圖片',
-  'no_album' => '沒有選擇的相簿',
-  'result_icon' => '瀏覽細節或刷新',  //cpg1.4
-  'notes' =>  '<ul>'.
-                          '<li><b>OK</b> : 表示圖片已成功被加入'.
-                          '<li><b>DP</b> : 表示圖片重覆或已存在資料庫'.
-                          '<li><b>PB</b> : 表示圖片無法加入, 請檢查設定或圖片存放目錄的權限'.
-                          '<li><b>NA</b> : 表示你還沒有選擇圖片的相簿, 按 \'<a href="javascript:history.back(1)">返回</a>\' 並選擇相簿. 如果你沒有相簿 <a href="albmgr.php">請先建立一個</a></li>'.
-                          '<li>如果 OK, DP, PB \'符號\' 沒有顯示請按壞掉的圖片查看 PHP 顯示的錯誤訊息'.
-                          '<li>如果瀏覽器逾時, 請按重新整理'.
-                          '</ul>',
-  'select_album' => '選擇相簿',
-  'check_all' => '全選',
-  'uncheck_all' => '都不選',
-  'no_folders' => '"albums" 目錄內沒有其它目錄。請建立最少一個目錄到 "albums" 裡面，然後上傳您的圖片。您不能上傳圖片到 "userpics" 或 "edit" 目錄，它們的用途是給 CPG 軟體和 http 的上傳功能。', //cpg1.4
-   'albums_no_category' => '相簿沒有類別', //cpg1.4 // album pulldown mod, added by frogfoot
-  'personal_albums' => '* 私人相簿', //cpg1.4 // album pulldown mod, added by frogfoot
-  'browse_batch_add' => '可瀏覽介面 (建議)', //cpg1.4
-  'edit_pics' => '編輯檔案', //cpg1.4
-  'edit_properties' => '相簿屬性', //cpg1.4
-  'view_thumbs' => '縮圖顯示', //cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File stat_details.php //cpg1.4
-// ------------------------------------------------------------------------- //
-
-if (defined('STAT_DETAILS_PHP')) $lang_stat_details_php = array(
-  'show_hide' => '顯示/隱藏 此欄位', //cpg1.4
-  'vote' => '投票細節', //cpg1.4
-  'hits' => '瀏覽細節', //cpg1.4
-  'stats' => '投票統計', //cpg1.4
-  'sdate' => '日期', //cpg1.4
-  'rating' => '評分', //cpg1.4
-  'search_phrase' => '搜尋字', //cpg1.4
-  'referer' => '來源', //cpg1.4
-  'browser' => '瀏覽器', //cpg1.4
-  'os' => '操作系統', //cpg1.4
-  'ip' => 'IP', //cpg1.4
-  'sort_by_xxx' => '排序 %s', //cpg1.4
-  'ascending' => '小到大', //cpg1.4
-  'descending' => '大到小', //cpg1.4
-  'internal' => '內部', //cpg1.4
-  'close' => '關閉', //cpg1.4
-  'hide_internal_referers' => '隱藏內部的來源', //cpg1.4
-  'date_display' => '日期顯示', //cpg1.4
-  'submit' => '傳送 / 刷新', //cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File thumbnails.php
-// ------------------------------------------------------------------------- //
-
-// Void
-
-// ------------------------------------------------------------------------- //
-// File upload.php
-// ------------------------------------------------------------------------- //
-
-if (defined('UPLOAD_PHP')) $lang_upload_php = array(
-  'title' => '上傳檔案',
-  'custom_title' => '上傳選項表',
-  'cust_instr_1' => '你可以從下列 選擇一個上傳框 進行上傳.',
-  'cust_instr_2' => '選擇上傳框號',
-  'cust_instr_3' => '檔案上傳框: %s',
-  'cust_instr_4' => 'URI/URL 上傳框: %s',
-  'cust_instr_5' => 'URI/URL 上傳框:',
-  'cust_instr_6' => '檔案上傳框:',
-  'cust_instr_7' => '請輸入您目前需要的 每一種上傳框的數量. 然後按 \'繼續\'. ',
-  'reg_instr_1' => '無效的選項表動作.',
-  'reg_instr_2' => '現在 你可以用以下的上傳框 上傳你的檔案. 每一個上傳檔案的大小不可以超過 %s KB . ZIP 檔案上傳在 \'檔案上傳\' and \'URI/URL 上傳\' 區 .',
-  'reg_instr_3' => '如果你要上傳壓縮檔或要解壓縮, 必須使用檔案上傳框 \'解壓縮ZIP 上傳\' 區.',
-  'reg_instr_4' => '如果選擇以 URI/URL 上傳, 請輸入檔案連結路徑 如: http://www.mysite.com/images/example.jpg',
-  'reg_instr_5' => '完成選項表後,請按 \'繼續\'.',
-  'reg_instr_6' => '解壓縮ZIP 上傳:',
-  'reg_instr_7' => '檔案 上傳:',
-  'reg_instr_8' => 'URI/URL 上傳:',
-  'error_report' => '錯誤報告',
-  'error_instr' => '下列上傳遇到錯誤:',
-  'file_name_url' => '檔案 名稱/URL',
-  'error_message' => '錯誤訊息',
-  'no_post' => '檔案沒有被上傳。',
-  'forb_ext' => '不允許的副檔名。',
-  'exc_php_ini' => '檔案超過php.ini允許的大小。',
-  'exc_file_size' => '檔案超過CPG允許的大小。',
-  'partial_upload' => '只有部分上傳。',
-  'no_upload' => '沒有上傳。',
-  'unknown_code' => '未知的 PHP 上傳錯誤。',
-  'no_temp_name' => '沒有上傳 - 無暫存檔名。',
-  'no_file_size' => '沒有內容',
-  'impossible' => '無法移動。',
-  'not_image' => '這不是標準影像檔',
-  'not_GD' => '這不是 GD 副檔名。',
-  'pixel_allowance' => '影像尺寸太大了。',
-  'incorrect_prefix' => '不正確的 URI/URL 前置字元',
-  'could_not_open_URI' => '無法開啟URI。',
-  'unsafe_URI' => '安全性未被認證。',
-  'meta_data_failure' => '轉換資料失敗',
-  'http_401' => '401 未被授權瀏覽',
-  'http_402' => '402 此處需付費瀏覽',
-  'http_403' => '403 目前此處關閉禁止瀏覽',
-  'http_404' => '404 伺服器沒有回應',
-  'http_500' => '500 內部伺服器錯誤',
-  'http_503' => '503 伺服器等待過久 停止服務',
-  'MIME_extraction_failure' => '無法確認 MIME。',
-  'MIME_type_unknown' => '未知的 MIME type',
-  'cant_create_write' => '無法新增寫入檔案。',
-  'not_writable' => '無法讀寫。',
-  'cant_read_URI' => '無法讀取 URI/URL',
-  'cant_open_write_file' => '無法開啟檔案。',
-  'cant_write_write_file' => '無法讀寫檔案。',
-  'cant_unzip' => '無法解壓縮。',
-  'unknown' => '未知的錯誤',
-  'succ' => '成功上傳',
-  'success' => '%s 上傳已經完成。',
-  'add' => '請按 \'繼續\' 增加檔案到相簿。',
-  'failure' => '上傳失敗',
-  'f_info' => '檔案資訊',
-  'no_place' => '先前的檔案無法被配置。',
-  'yes_place' => '先前的檔案已經配置完成。',
-  'max_fsize' => '最大允許檔案大小是 %s KB',
-  'album' => '相簿',
-  'picture' => '圖片',
-  'pic_title' => '圖片標題',
-  'description' => '圖片描述',
-  'keywords' => '關鍵字 (以空格區隔)<br /><a href="#" onClick="return MM_openBrWindow(\'keyword_select.php\',\'selectKey\',\'width=250, height=400, scrollbars=yes,toolbar=no,status=yes,resizable=yes\')">從列表輸入</a>', //cpg1.4
-  'keywords_sel' =>'選擇關鍵字', //cpg1.4
-  'err_no_alb_uploadables' => '目前尚未有相簿可以上傳圖片',
-  'place_instr_1' => '請將圖片放到相簿，然後輸入這個檔案的相關資訊。',
-  'place_instr_2' => '更多的圖片需要配置。請按 \'繼續\'。',
-  'process_complete' => '恭喜，您已經成功的將全部檔案上傳了。',
-   'albums_no_category' => '相簿沒有類別', //cpg1.4. //album pulldown mod, added by frogfoot
-  'personal_albums' => '* 私人相簿', //cpg1.4 //album pulldown mod, added by frogfoot
-  'select_album' => '選擇相簿', //cpg1.4 //album pulldown mod, added by frogfoot
-  'close' => '關閉', //cpg1.4
-  'no_keywords' => '抱歉，沒可用的關鍵字！', //cpg1.4
-  'regenerate_dictionary' => '重新建立字庫', //cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File usermgr.php
-// ------------------------------------------------------------------------- //
-
-if (defined('USERMGR_PHP')) $lang_usermgr_php = array(
-  'memberlist' => '會員名單', //cpg1.4
-  'user_manager' => '會員管理', //cpg1.4
-  'title' => '管理會員',
-  'name_a' => '名稱 由小至大',
-  'name_d' => '名稱 由大至小',
-  'group_a' => '群組 由小至大',
-  'group_d' => '群組 由大至小',
-  'reg_a' => '註冊日期 由遠至近',
-  'reg_d' => '註冊日期 由近至遠',
-  'pic_a' => '圖片數 由小至大',
-  'pic_d' => '圖片數 由大至小',
-  'disku_a' => '磁碟用量 由小至大',
-  'disku_d' => '磁碟用量 由大至小',
-  'lv_a' => '最近來訪 由近至遠',
-  'lv_d' => '最近來訪 由遠至近',
-  'sort_by' => '會員排序依',
-  'err_no_users' => '會員資料表是空的 !',
-  'err_edit_self' => '您無法編輯您的個人資料, 請利用 \'我的個人資料\' 來編輯',
-  'edit' => '編輯', //cpg1.4
-  'with_selected' => '選項動作：', //cpg1.4
-  'delete' => '刪除', //cpg1.4
-  'delete_files_no' => '保留檔案 (不提供來源)', //cpg1.4
-  'delete_files_yes' => '刪除全部檔案', //cpg1.4
-  'delete_comments_no' => '保留留言 (不提供來源)', //cpg1.4
-  'delete_comments_yes' => '刪除全部留言', //cpg1.4
-  'activate' => '啟用', //cpg1.4
-  'deactivate' => '停用', //cpg1.4
-  'reset_password' => '重設密碼', //cpg1.4
-  'change_primary_membergroup' => '改變主要群組', //cpg1.4
-  'add_secondary_membergroup' => '改變額外群組', //cpg1.4
-  'name' => '會員名稱',
-  'group' => '群組',
-  'inactive' => '未啟動',
-  'operations' => '操作',
-  'pictures' => '圖片',
-  'disk_space_used' => '空間用量', //cpg1.4
-  'disk_space_quota' => '空間配額', //cpg1.4
-  'registered_on' => '註冊', //cpg1.4
-  'last_visit' => '最近來訪',
-  'u_user_on_p_pages' => '%d 個會員於 %d 頁',
-  'confirm_del' => '確定要刪除這個會員嗎? \\n所有他的相簿及圖片都會被刪除.', //js-alert
-  'mail' => '電子郵件',
-  'err_unknown_user' => '所選擇的會員並不存在 !',
-  'modify_user' => '編輯會員',
-  'notes' => '注意',
-  'note_list' => '<li>如果不想改變目前的密碼, 請將 "密碼" 位留下空白',
-  'password' => '密碼',
-  'user_active' => '會員已啟動',
-  'user_group' => '會員群組',
-  'user_email' => '會員電子郵件',
-  'user_web_site' => '會員網址',
-  'create_new_user' => '建立新會員',
-  'user_location' => '會員地區',
-  'user_interests' => '會員興趣',
-  'user_occupation' => '會員職業',
-  'user_profile1' => '$user_profile1', //cpg1.4
-  'user_profile2' => '$user_profile2', //cpg1.4
-  'user_profile3' => '$user_profile3', //cpg1.4
-  'user_profile4' => '$user_profile4', //cpg1.4
-  'user_profile5' => '$user_profile5', //cpg1.4
-  'user_profile6' => '$user_profile6', //cpg1.4
-  'latest_upload' => '最新上傳',
-  'never' => '從未有',
-  'search' => '會員搜尋', //cpg1.4
-  'submit' => '傳送', //cpg1.4
-  'search_submit' => '繼續！', //cpg1.4
-  'search_result' => '搜尋結果： ', //cpg1.4
-  'alert_no_selection' => '您必須選擇至少一個會員！', //cpg1.4 //js-alert
-  'password' => '密碼', //cpg1.4
-  'select_group' => '選擇群組', //cpg1.4
-  'groups_alb_access' => '群組的相簿權限', //cpg1.4
-  'album' => '相簿', //cpg1.4
-  'category' => '類別', //cpg1.4
-  'modify' => '修改？', //cpg1.4
-  'group_no_access' => '這個群組無特殊權限', //cpg1.4
-  'notice' => '通知', //cpg1.4
-  'group_can_access' => '只有 "%s" 可以進入這個相簿', //cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File util.php
-// ------------------------------------------------------------------------- //
-
-if (defined('UTIL_PHP')) {
-$lang_util_desc_php = array(
-'以檔案名更新標題', //cpg1.4
-'刪除標題', //cpg1.4
-'重新建立縮圖和調整尺寸', //cpg1.4
-'用調整過的尺寸覆蓋並刪除原來的圖片', //cpg1.4
-'刪除原來或中級圖片', //cpg1.4
-'刪除零散的留言', //cpg1.4
-'重新讀取檔案大小和尺寸 (如果您手動編輯圖片)', //cpg1.4
-'清除瀏覽計數器', //cpg1.4
-'顯示 phpinfo', //cpg1.4
-'更新資料庫', //cpg1.4
-'顯示記錄檔', //cpg1.4
-);
-$lang_util_php = array(
-  'title' => '管理工具 (重設尺寸)',
-  'what_it_does' => '功能',
-  'file' => '檔案',
-  'problem' => '問題', //cpg1.4
-  'status' => '狀態', //cpg1.4
-  'title_set_to' => '標題變更為',
-  'submit_form' => '確認',
-  'updated_succesfully' => '更新 已經完成',
-  'error_create' => '產生錯誤',
-  'continue' => '繼續執行其他的影像',
-  'main_success' => '檔案 %s 已設為主圖', 
-  'error_rename' => '錯誤 %s 改名為 %s', 
-  'error_not_found' => '找不到檔案 %s ',
-  'back' => '回主頁',
-  'thumbs_wait' => '更新縮圖 且/或 調整影像尺寸, 請稍待...',
-  'thumbs_continue_wait' => '繼續 更新縮圖 且/或 調整影像尺寸...',
-  'titles_wait' => '更新標題, 請稍待...',
-  'delete_wait' => '刪除標題, 請稍待...',
-  'replace_wait' => '重新調整後的圖片將 取代原有的圖片中, 請稍待...',
-  'instruction' => '簡易操作說明',
-  'instruction_action' => '請選擇操作',
-  'instruction_parameter' => '設定參數',
-  'instruction_album' => '選擇相簿',
-  'instruction_press' => '請按 %s',
-  'update' => '更新縮圖 且/或 調整圖片大小',
-  'update_what' => '要更新什麼',
-  'update_thumb' => '只有縮圖',
-  'update_pic' => '只調整圖片大小',
-  'update_both' => '更新縮圖且調整圖片尺寸',
-  'update_number' => '每點選一次要處理的圖片數目',
-  'update_option' => '(如果您遇到操作程序逾時的問題，請試著降低此設定)',
-  'filename_title' => '檔案名稱 &rArr; 圖片標題',
-  'filename_how' => '如何修改檔名', 
-  'filename_remove' => '刪除 .jpg 並將 _ (底線) 用空格取代', 
-  'filename_euro' => '將 2003_11_23_13_20_20.jpg 改為 23/11/2003 13:20', 
-  'filename_us' => '將 2003_11_23_13_20_20.jpg 改為 11/23/2003 13:20', 
-  'filename_time' => '將 2003_11_23_13_20_20.jpg 改為 13:20', 
-  'delete' => '刪除圖片標題或原始尺寸的圖片',
-  'delete_title' => '刪除圖片標題',
-  'delete_title_explanation' => '這會在您要的相簿內刪除檔案標題。', //cpg1.4
-  'delete_original' => '刪除原始尺寸的圖片',
-  'delete_original_explanation' => '這會移除原始尺寸的圖片。', //cpg1.4
-  'delete_intermediate' => '刪除中級圖片', //cpg1.4
-  'delete_intermediate_explanation' => '這會刪除中級 (normal) 圖片。<br />用這個功能來清除主機空間，如果您在設定內關閉了 \'建立中級圖片\'。', //cpg1.4
-  'delete_replace' => '刪除原始尺寸的圖片並以調整尺寸的圖片取代',
-  'titles_deleted' => '選擇相簿內的標題已刪除', //cpg1.4
-  'deleting_intermediates' => '刪除中級圖片，請稍待...', //cpg1.4
-  'searching_orphans' => '搜尋零散的資料，請稍待...', //cpg1.4
-  'select_album' => '選擇相簿',
-  'delete_orphans' => '刪除零散的留言', //cpg1.4
-  'delete_orphans_explanation' => '這會移除已經被刪除的圖片裡的留言。<br />檢查全部相簿。', //cpg1.4
-  'refresh_db' => '更新檔案尺寸和大小資訊', //cpg1.4
-  'refresh_db_explanation' => '這會重新讀取檔案的大小和尺寸。用這個功能如果空間的配額有錯誤，或您有手動修改圖片。', //cpg1.4
-  'reset_views' => '清除瀏覽計數器', //cpg1.4
-  'reset_views_explanation' => '這會在選擇的相簿內重設瀏覽次數到 0。', //cpg1.4
-  'orphan_comment' => '發現零散的留言',
-  'delete' => '刪除',
-  'delete_all' => '全部刪除',
-  'delete_all_orphans' => '全部刪除？', //cpg1.4
-  'comment' => '留言： ',
-  'nonexist' => '依附於不存在的檔案 # ',
-  'phpinfo' => '顯示 phpinfo',
-  'phpinfo_explanation' => '包含了主機的資訊。<br /> - 尋求支援時可能會被要求提供裡面的資料。', //cpg1.4
-  'update_db' => '更新資料庫',
-  'update_db_explanation' => '如果妳有更新 CPG 檔案，加入修改或由以前的版本升級，請確定執行一次資料庫更新。這會在 CPG 的資料庫新增必要的資料表及/或設定值。',
-  'view_log' => '瀏覽記錄檔', //cpg1.4
-  'view_log_explanation' => 'CPG 可以記錄一些會員的動作。您可以瀏覽這些記錄如果您有在 <a href="admin.php">設定</a> 裡開啟記錄的功能。', //cpg1.4
-  'versioncheck' => '檢查版本', //cpg1.4
-  'versioncheck_explanation' => '顯查檔案的版本，看是否有完全更新成功。您也可以檢查 CPG 主程式的最新版本。', //cpg1.4
-  'bridgemanager' => '整合管理', //cpg1.4
-  'bridgemanager_explanation' => '開啟/關閉 整合到其它軟體 (例如論壇)。', //cpg1.4
-);
-}
-
-// ------------------------------------------------------------------------- //
-// File versioncheck.php //cpg1.4
-// ------------------------------------------------------------------------- //
-
-if (defined('VERSIONCHECK_PHP')) $lang_versioncheck_php = array(
-  'title' => '檢查版本', //cpg1.4
-  'what_it_does' => '這個頁面是對剛更新相簿的管理員設定。這個程式會檢查您安裝的版本是否跟 CPG 的線上存庫 (http://coppermine.sourceforge.net) 裡的版本相同。<br />如果需要修改會顯示紅色。黃色表示需要檢查。綠色或者預設顏色表示沒問題。<br />詳情請點說明圖示。', //cpg1.4
-  'online_repository_unable' => '無法連結到線上存庫', //cpg1.4
-  'online_repository_noconnect' => 'CPG 無法連結到線上存庫。可能有兩種原因：', //cpg1.4
-  'online_repository_reason1' => '線上存庫有問題 - 請檢查您是否能到這個網頁： %s - 如果不能請稍待重試。', //cpg1.4
-  'online_repository_reason2' => '主機裡的 PHP 的設定有把 %s 關閉 (預設值是開啟)。如果是您自己的主機，請在 <i>php.ini</i> 裡將此設定開啟 (或者允許強制覆蓋 %s)。如果您的主機是買的，很抱歉，您可以無法使用這項功能。這個頁面就只會顯示下載的檔案版本 - 更新的版本不會顯示。', //cpg1.4
-  'online_repository_skipped' => '連結到線上存庫暫停', //cpg1.4
-  'online_repository_to_local' => '系統目前是使用主機內的檔案版本。這裡顯示的資料可能不正確如果你更新或未完全上傳 CPG 的檔案。', //cpg1.4
-  'local_repository_unable' => '無法連結到主機存庫', //cpg1.4
-  'local_repository_explanation' => 'CPG 無法連結到您主機內的存庫檔案 %s。這可能表示您還未上傳存庫檔案到您的主機。請現在上傳然後重新執行這個頁面 (刷新網頁)。<br />如果無法執行，您的主機可能關閉了一些 <a href="http://www.php.net/manual/en/ref.filesystem.php">PHP 的檔案系統</a>。如果是這個原因，很抱歉您不能使用這項功能。', //cpg1.4
-  'coppermine_version_header' => '安裝的 CPG 版本', //cpg1.4
-  'coppermine_version_info' => '您目前安裝的是： %s', //cpg1.4
-  'coppermine_version_explanation' => '如果您認為您安裝的不是這個版本，請確定您上傳的是最新的 <i>include/init.inc.php</i> 檔案', //cpg1.4
-  'version_comparison' => '比較檔案', //cpg1.4
-  'folder_file' => '目錄/檔案', //cpg1.4
-  'coppermine_version' => 'CPG 版本', //cpg1.4
-  'file_version' => '檔案版本', //cpg1.4
-  'webcvs' => '線上 CVS', //cpg1.4
-  'writable' => '可讀寫', //cpg1.4
-  'not_writable' => '不可讀寫', //cpg1.4
-  'help' => '說明', //cpg1.4
-  'help_file_not_exist_optional1' => '目錄/檔案不存在', //cpg1.4
-  'help_file_not_exist_optional2' => '目錄/檔案 %s 不存在於您的主機內。雖然可以不用，但是建議您如果有遇到問題請將它上傳 (用 FTP)。', //cpg1.4
-  'help_file_not_exist_mandatory1' => '目錄/檔案不存在', //cpg1.4
-  'help_file_not_exist_mandatory2' => '目錄/檔案 %s 不存在於您的主機內。您必須將它上傳。請用 FPT 軟體將檔案上傳到您的主機內。', //cpg1.4
-  'help_no_local_version1' => '沒有主機版本', //cpg1.4
-  'help_no_local_version2' => '系統無法取得主機內的檔案版本 - 您的檔案可能過時或已被修改過。建議您更新檔案。', //cpg1.4
-  'help_local_version_outdated1' => '主機版本過時', //cpg1.4
-  'help_local_version_outdated2' => '您的檔案可能是舊的 CPG 程式檔案 (可能更新時忘了步驟)。請確定更新這個檔案。', //cpg1.4
-  'help_local_version_na1' => '無法取得 CVS 檔案版本', //cpg1.4
-  'help_local_version_na2' => '系統無法取得主機內的 CVS 版本。請重新上傳檔案。', //cpg1.4
-  'help_local_version_dev1' => '開發版本', //cpg1.4
-  'help_local_version_dev2' => '檔案看起來比您使用的 CPG 版本還高。您可能用的是開發版本 (不建議使用)，或在更新時忘了上傳 include/init.inc.php', //cpg1.4
-  'help_not_writable1' => '目錄無法讀寫', //cpg1.4
-  'help_not_writable2' => '改變檔案的權限 (CHMOD) 到可讀寫目錄 %s，及裡面的全部檔案。', //cpg1.4
-  'help_writable1' => '目錄可讀寫', //cpg1.4
-  'help_writable2' => '目錄 %s 可以讀寫。可能有安全問題，CPG 只需要讀取跟執行這個目錄。', //cpg1.4
-  'help_writable_undetermined' => 'CPG 無法確定這個目錄是否可讀寫。', //cpg1.4
-  'your_file' => '您的檔案', //cpg1.4
-  'reference_file' => '參照檔案', //cpg1.4
-  'summary' => '概括', //cpg1.4
-  'total' => '總檔案/目錄檢查完畢', //cpg1.4
-  'mandatory_files_missing' => '必要檔案不存在', //cpg1.4
-  'optional_files_missing' => '非必需檔案不存在', //cpg1.4
-  'files_from_older_version' => '舊版本檔案', //cpg1.4
-  'file_version_outdated' => '舊檔案版本', //cpg1.4
-  'error_no_data' => '系統有錯誤，無法取得任何資訊。', //cpg1.4
-  'go_to_webcvs' => '到 %s', //cpg1.4
-  'options' => '選項', //cpg1.4
-  'show_optional_files' => '顯示非必須檔案/目錄', //cpg1.4
-  'show_mandatory_files' => '顯示必要檔案', //cpg1.4
-  'show_file_versions' => '顯示檔案版本', //cpg1.4
-  'show_errors_only' => '顯示有錯誤的檔案/目錄', //cpg1.4
-  'show_permissions' => '顯示目錄權限', //cpg1.4
-  'show_condensed_output' => '顯示壓縮的輸出資料', //cpg1.4
-  'coppermine_in_webroot' => 'CPG 安裝於 webroot', //cpg1.4
-  'connect_online_repository' => '試著連結到線上存庫', //cpg1.4
-  'show_additional_information' => '顯示額外資訊', //cpg1.4
-  'no_webcvs_link' => '不顯示線上 CVS 連結', //cpg1.4
-  'stable_webcvs_link' => '顯示線上 CVS 給正式版本', //cpg1.4
-  'devel_webcvs_link' => '顯示線上 CVS 給開發版本', //cpg1.4
-  'submit' => '套用改變/刷新', //cpg1.4
-  'reset_to_defaults' => '重設為預設值', //cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File view_log.php  //cpg1.4
-// ------------------------------------------------------------------------- //
-
-if (defined('VIEWLOG_PHP')) $lang_viewlog_php = array(
-  'delete_all' => '刪除全部記錄', //cpg1.4
-  'delete_this' => '刪除這個記錄', //cpg1.4
-  'view_logs' => '瀏覽記錄', //cpg1.4
-  'no_logs' => '沒有記錄。', //cpg1.4
-);
-
-
-// ------------------------------------------------------------------------- //
-// File xp_publish.php //cpg1.4
-// ------------------------------------------------------------------------- //
-
-if (defined('XP_PUBLISH_PHP')) {
-
-$lang_xp_publish_client = <<<EOT
-<h1>XP Web 發佈功能軟體</h1><p>這個模組可以讓您使用 <b>Windows XP</b> 的發佈功能。</p><p>程式碼是照此篇文章說明，作者是
-EOT;
-
-$lang_xp_publish_required = <<<EOT
-<h2>需要什麼？</h2><ul><li>必須要有 Windows XP。</li><li>安裝好的 CPG 相簿，<b>而且上傳功能可運作。</b></li></ul><h2>如何安裝</h2><ul><li>按右鍵於
-EOT;
-
-$lang_xp_publish_select = <<<EOT
-選擇 &quot;儲存檔案..&quot;。然後將檔案儲存在您的硬碟。儲存時記得檔案名必須是 <b>cpg_###.reg</b> (### 代表日期的數字)。您可以改變名稱 (不要改數字)。下載完後，執行那個檔案可以讓您的主機使用發佈功能。</li></ul>
-EOT;
-
-$lang_xp_publish_testing = <<<EOT
-<h2>測試</h2><ul><li>在 Windows Explorer，選一些檔案然後在左邊點 <b>Publish xxx on the web</b>。</li><li>檢查您所選的檔案，然後點 <b>Next</b>。</li><li>在出現的列表內選 CPG 相簿的服務 (會以您的相簿名稱顯示)。如果沒有顯示相簿的服務，檢查是否像上面描述的安裝成功 <b>cpg_pub_wizard.reg</b>。</li><li>必要時輸入您的帳號資料。</li><li>然後選擇要放圖片的相簿，或新建相簿。</li><li>之後點 <b>next</b>。接下來會開始上傳您的圖片。</li><li>完成後到您的相簿內檢查是否上傳完畢。</li></ul>
-EOT;
-
-$lang_xp_publish_notes = <<<EOT
-<h2>注意：</h2><ul><li>當正在上傳時，發佈功能不會顯示任何錯誤訊息，所以不能知道上傳有沒有成功，直到您檢查相簿。</li><li>如果上傳沒成功，在設定頁面內開啟 &quot;除錯模式&quot;，試著上傳一個圖片然後檢查錯誤訊息在
-EOT;
-
-$lang_xp_publish_flood = <<<EOT
-CPG 目錄內的檔案。</li><li>為了避免用發佈功能一次上傳太多圖片，只有 <b>相簿管理員</b> 和 <b>可以有自己相簿的會員</b> 可以用這個功能。</li>
-EOT;
-
-
-
-$lang_xp_publish_php = array(
-  'title' => 'CPG - XP Web 發佈功能', //cpg1.4
-  'welcome' => '歡迎到 <b>%s</b>,', //cpg1.4
-  'need_login' => '您必須先用瀏覽器登入到相簿內才能使用這個功能。<p/><p>登入後記得點選 <b>記得我</b> 選項。', //cpg1.4
-  'no_alb' => '抱歉，目前沒有可以用發佈功能上傳圖片的相簿。', //cpg1.4
-  'upload' => '上傳圖片到相簿', //cpg1.4
-  'create_new' => '新建相簿', //cpg1.4
-  'album' => '相簿', //cpg1.4
-  'category' => '類別', //cpg1.4
-  'new_alb_created' => '您的相簿 &quot;<b>%s</b>&quot; 已經新建', //cpg1.4
-  'continue' => '按 &quot;Next&quot; 開始上傳圖片', //cpg1.4
-  'link' => '這個連結', //cpg1.4
-);
-}
+<?php
+/*************************
+  Coppermine Photo Gallery
+  ************************
+  Copyright (c) 2003-2009 Coppermine Dev Team
+  v1.1 originally written by Gregory DEMAR
+
+  This program is free software; you can redistribute it and/or modify
+  it under the terms of the GNU General Public License version 3
+  as published by the Free Software Foundation.
+  
+  ********************************************
+  Coppermine version: 1.4.25
+  $HeadURL: https://coppermine.svn.sourceforge.net/svnroot/coppermine/trunk/cpg1.4.x/lang/chinese_big5.php $
+  $Revision: 5997 $
+  $Author: gaugau $
+  $Date: 2009-05-26 08:43:24 +0200 (Di, 26 Mai 2009) $
+**********************************************/
+
+if (!defined('IN_COPPERMINE')) { die('Not in Coppermine...');}
+
+// info about translators and translated language
+$lang_translation_info = array(
+  'lang_name_english' => 'Chinese (Traditional)', //cpg1.4
+  'lang_name_native' => '繁體中文', //cpg1.4
+  'lang_country_code' => 'tw', //cpg1.4
+  'trans_name'=> 'CapriSkye and monkey',
+  'trans_email' => 'admin@capriskye.com',
+  'trans_website' => 'http://open.38.com/',
+  'trans_date' => '2005-07-05',
+);
+
+$lang_charset = 'utf-8';
+$lang_text_dir = 'ltr'; // ('ltr' for left to right, 'rtl' for right to left)
+
+// shortcuts for Byte, Kilo, Mega
+$lang_byte_units = array('Bytes', 'KB', 'MB');
+
+// Day of weeks and months
+$lang_day_of_week = array('星期日', '星期一', '星期二', '星期三', '星期四', '星期五', '星期六');
+$lang_month = array('一月', '二月', '三月', '四月', '五月', '六月', '七月', '八月', '九月', '十月', '十一月', '十二月');
+
+// Some common strings
+$lang_yes = '是';
+$lang_no  = '否';
+$lang_back = '返回';
+$lang_continue = '繼續';
+$lang_info = '訊息';
+$lang_error = '錯誤';
+$lang_check_uncheck_all = '勾選/勾選全部'; //cpg1.4
+
+// The various date formats
+// See http://www.php.net/manual/en/function.strftime.php to define the variable below
+$album_date_fmt =    '%B %d, %Y';
+$lastcom_date_fmt =  '%m/%d/%y at %H:%M';
+$lastup_date_fmt = '%B %d, %Y';
+$register_date_fmt = '%B %d, %Y';
+$lasthit_date_fmt = '%B %d, %Y at %I:%M %p';
+$comment_date_fmt =  '%B %d, %Y at %I:%M %p';
+$log_date_fmt = '%B %d, %Y at %I:%M %p'; //cpg1.4
+
+// For the word censor
+$lang_bad_words = array('*fuck*', 'asshole', 'assramer', 'bitch*', 'c0ck', 'clits', 'Cock', 'cum', 'cunt*', 'dago', 'daygo', 'dego', 'dick*', 'dildo', 'fanculo', 'feces', 'foreskin', 'Fu\(*', 'fuk*', 'honkey', 'hore', 'injun', 'kike', 'lesbo', 'masturbat*', 'motherfucker', 'nazis', 'nigger*', 'nutsack', 'penis', 'phuck', 'poop', 'pussy', 'scrotum', 'shit', 'slut', 'titties', 'titty', 'twaty', 'wank*', 'whore', 'wop*');
+
+$lang_meta_album_names = array(
+  'random' => '隨機圖片',
+  'lastup' => '最新上傳',
+  'lastalb'=> '最近更新',
+  'lastcom' => '最新留言',
+  'topn' => '熱門圖片',
+  'toprated' => '最高評分',
+  'lasthits' => '最近顯示',
+  'search' => '搜尋結果',
+  'favpics'=> '最愛圖片',
+);
+
+$lang_errors = array(
+  'access_denied' => '你沒有使用本頁的權限。',
+  'perm_denied' => '你沒有權限執行此動作。',
+  'param_missing' => '程式被呼叫而沒有需要的參數。',
+  'non_exist_ap' => '選擇的 相簿/圖片 不存在！',
+  'quota_exceeded' => '超過空間配額<br /><br />您的配額有 [quota]K，已使用的有 [space]K，加入此圖片會超過擁有的配額。',
+  'gd_file_type_err' => '當使用 GD 圖像程式庫只容許 JPEG / PNG 圖檔。',
+  'invalid_image' => '你上傳的檔案己經損壞, 或是 GD 圖像程式庫不能處理',
+  'resize_failed' => '無法建立縮圖或變更圖檔尺寸.',
+  'no_img_to_display' => '沒有圖片可以顯示。',
+  'non_exist_cat' => '所選擇的類別並不存在。',
+  'orphan_cat' => '這個子類別存於一個不存在的母類別，請先至類別管理修正這個問題。',
+  'directory_ro' => '目錄 \'%s\' 無法寫入，導致無法刪除圖片',
+  'non_exist_comment' => '所選擇的留言並不存在。',
+  'pic_in_invalid_album' => '此圖片存於不存在的相簿 (%s)!?',
+  'banned' => '您目前被禁止使用本站。',
+  'not_with_udb' => '由於本相簿已和論壇程式整合，此功能已停止使用。可能是目前設定不支援此功能，或已由論壇處理。', 
+  'offline_title' => '離線',
+  'offline_text' => '相簿目前是離線狀態 - 請稍後再試',
+  'ecards_empty' => '目前沒有電子卡片的紀錄可顯示。請檢查相簿設定中是否啟用紀錄電子卡片功能！',
+  'action_failed' => '動作失敗。Coppermine 無法執行您的要求。',
+  'no_zip' => '無法執行ZIP壓縮檔。請聯絡您的相簿管理員。',
+  'zip_type' => '您沒有上傳ZIP壓縮檔的權限。',
+  'database_query' => '進行資料庫查詢時發生了錯誤', //cpg1.4
+  'register_globals_on' => 'The PHP setting register_globals is enabled on your server, which is a bad idea in terms of security. It\'s strongly recommended to turn it off. [<a href="http://forum.coppermine-gallery.net/index.php/topic,59569.0.html" rel="external" class="external">more</a>]',
+);
+
+$lang_bbcode_help_title = 'bbcode 說明'; //cpg1.4
+$lang_bbcode_help = '您可以用 bbcode 加入可點的連結，和其它的文字格式： <li>[b]粗體[/b] =&gt; <b>粗體</b></li><li>[i]斜體[/i] =&gt; <i>斜體</i></li><li>[url=http://yoursite.com/]網址[/url] =&gt; <a href="http://yoursite.com">網址</a></li><li>[email]user@domain.com[/email] =&gt; <a href="mailto:user@domain.com">user@domain.com</a></li><li>[color=red]顏色[/color] =&gt; <span style="color:red">顏色</span></li><li>[img]http://coppermine-gallery.net/demo/cpg14x/images/red.gif[/img] => <img src="../images/red.gif" border="0" alt="" /></li>'; //cpg1.4
+
+// ------------------------------------------------------------------------- //
+// File theme.php
+// ------------------------------------------------------------------------- //
+
+$lang_main_menu = array(
+  'home_title' => '回到首頁',
+  'home_lnk' => '首頁',
+  'alb_list_title' => '返回相簿目錄',
+  'alb_list_lnk' => '相簿目錄',
+  'my_gal_title' => '返回我的相簿',
+  'my_gal_lnk' => '我的相簿',
+  'my_prof_title' => '到我的個人資料', //cpg1.4
+  'my_prof_lnk' => '我的個人資料',
+  'adm_mode_title' => '轉為管理模式',
+  'adm_mode_lnk' => '管理模式',
+  'usr_mode_title' => '轉為會員模式',
+  'usr_mode_lnk' => '會員模式',
+  'upload_pic_title' => '上傳圖片至相簿',
+  'upload_pic_lnk' => '上傳圖片',
+  'register_title' => '建立會員帳號',
+  'register_lnk' => '註冊',
+  'login_title' => '登入', //cpg1.4
+  'login_lnk' => '登入',
+  'logout_title' => '登出', //cpg1.4
+  'logout_lnk' => '登出',
+  'lastup_title' => '瀏覽最新上傳', //cpg1.4
+  'lastup_lnk' => '最新上傳',
+  'lastcom_title' => '瀏覽最新留言', //cpg1.4
+  'lastcom_lnk' => '最新留言',
+  'topn_title' => '瀏覽熱門的圖片', //cpg1.4
+  'topn_lnk' => '熱門圖片',
+  'toprated_title' => '瀏覽評分最高的圖片', //cpg1.4
+  'toprated_lnk' => '最高評分',
+  'search_title' => '搜尋相簿', //cpg1.4
+  'search_lnk' => '搜尋',
+  'fav_title' => '到我的最愛', //cpg1.4    
+  'fav_lnk' => '我的最愛',
+  'memberlist_title' => '顯示會員名單',
+  'memberlist_lnk' => '會員名單',
+  'faq_title' => '&quot;Coppermine&quot; 相簿的常見問題解答',
+  'faq_lnk' => '常見問題解答',
+);
+
+$lang_gallery_admin_menu = array(
+  'upl_app_title' => '核准新上傳', //cpg1.4	
+  'upl_app_lnk' => '核准上傳',
+  'admin_title' => '進入設定', //cpg1.4    
+  'admin_lnk' => '設定', //cpg1.4
+  'albums_title' => '進入相簿設定', //cpg1.4
+  'albums_lnk' => '相簿',
+  'categories_title' => '進入類別設定', //cpg1.4    
+  'categories_lnk' => '類別',
+  'users_title' => '進入會員設定', //cpg1.4
+  'users_lnk' => '會員',
+  'groups_title' => '進入群組設定', //cpg1.4
+  'groups_lnk' => '群組',
+  'comments_title' => '檢查全部留言', //cpg1.4
+  'comments_lnk' => '檢查留言',
+  'searchnew_title' => '進入批量上傳功能', //cpg1.4
+  'searchnew_lnk' => '批量上傳',
+  'util_title' => '進入管理功能', //cpg1.4
+  'util_lnk' => '管理功能',
+  'key_title' => '進入關鍵字詞庫', //cpg1.4
+  'key_lnk' => '關鍵字詞庫', //cpg1.4
+  'ban_title' => '進入阻擋會員', //cpg1.4
+  'ban_lnk' => '阻擋會員',
+  'db_ecard_title' => '檢查電子卡片', //cpg1.4
+  'db_ecard_lnk' => '顯示電子卡片',
+  'pictures_title' => '排序相片', //cpg1.4
+  'pictures_lnk' => '排序相片', //cpg1.4
+  'documentation_lnk' => '使用說明', //cpg1.4
+  'documentation_title' => 'CPG 使用手冊', //cpg1.4
+);
+
+$lang_user_admin_menu = array(
+  'albmgr_title' => '建立/排序 相簿', //cpg1.4
+  'albmgr_lnk' => '建立/排序 相簿',
+  'modifyalb_title' => '進入編輯相簿',  //cpg1.4
+  'modifyalb_lnk' => '編輯相簿',
+  'my_prof_title' => '進入個人資料', //cpg1.4
+  'my_prof_lnk' => '個人資料',
+);
+
+$lang_cat_list = array(
+  'category' => '類別',
+  'albums' => '相簿',
+  'pictures' => '圖片',
+);
+
+$lang_album_list = array(
+  'album_on_page' => '%d 個相簿，共 %d 頁',
+);
+
+$lang_thumb_view = array(
+  'date' => '日期',
+  //Sort by filename and title
+  'name' => '檔名',
+  'title' => '標題',
+  'sort_da' => '依日期排序 由遠至近',
+  'sort_dd' => '依日期排序 由近至遠',
+  'sort_na' => '依名稱排序 由小至大',
+  'sort_nd' => '依名稱排序 由大至小',
+  'sort_ta' => '依標題排序 由小至大',
+  'sort_td' => '依標題排序 由大至小',
+  'position' => '位置', //cpg1.4
+  'sort_pa' => '小到大排序', //cpg1.4
+  'sort_pd' => '大到小排序', //cpg1.4
+  'download_zip' => '下載成 Zip 檔',
+  'pic_on_page' => '%d 張圖片，共 %d 頁',
+  'user_on_page' => '%d 名會員，共 %d 頁',
+  'enter_alb_pass' => '輸入相簿密碼', //cpg1.4
+  'invalid_pass' => '密碼錯誤', //cpg1.4
+  'pass' => '密碼', //cpg1.4
+  'submit' => '傳送', //cpg1.4
+);
+
+$lang_img_nav_bar = array(
+  'thumb_title' => '返回縮圖頁',
+  'pic_info_title' => '顯示/隱藏 圖片資訊',
+  'slideshow_title' => '連續播放',
+  'ecard_title' => '把圖片以電子卡片寄出',
+  'ecard_disabled' => '電子卡片功能目前停用',
+  'ecard_disabled_msg' => '您沒有寄電子卡片的權限', //js-alert
+  'prev_title' => '顯示前一張圖片',
+  'next_title' => '顯示下一張圖片',
+  'pic_pos' => '圖片 %s/%s',
+  'report_title' => '檢舉這個檔案', //cpg1.4
+  'go_album_end' => '跳到最後', //cpg1.4
+  'go_album_start' => '回到最先', //cpg1.4
+  'go_back_x_items' => '退後 %s 個項目', //cpg1.4
+  'go_forward_x_items' => '前進 %s 個項目', //cpg1.4
+);
+
+$lang_rate_pic = array(
+  'rate_this_pic' => '對圖片評分',
+  'no_votes' => '(還沒有人評分)',
+  'rating' => '(目前得分 : %s / 5 於 %s 個評分)',
+  'rubbish' => '昏倒 不看也罷',
+  'poor' => '有點差勁',
+  'fair' => '普普通通',
+  'good' => '很好',
+  'excellent' => '非常出色',
+  'great' => '叫我第一名',
+);
+
+// ------------------------------------------------------------------------- //
+// File include/exif.inc.php
+// ------------------------------------------------------------------------- //
+
+// void
+
+// ------------------------------------------------------------------------- //
+// File include/functions.inc.php
+// ------------------------------------------------------------------------- //
+
+$lang_cpg_die = array(
+  INFORMATION => $lang_info,
+  ERROR => $lang_error,
+  CRITICAL_ERROR => '緊急錯誤',
+  'file' => '檔案: ',
+  'line' => '行數: ',
+);
+
+$lang_display_thumbnails = array(
+  'filename' => '檔案名稱=', //cpg1.4
+  'filesize' => '檔案大小=', //cpg1.4
+  'dimensions' => '圖片尺寸=', //cpg1.4
+  'date_added' => '加入日期=', //cpg1.4
+);
+
+$lang_get_pic_data = array(
+  'n_comments' => '%s 個留言',
+  'n_views' => '%s 次觀看',
+  'n_votes' => '(%s 個評分)',
+);
+
+$lang_cpg_debug_output = array(
+  'debug_info' => '除錯訊息',
+  'select_all' => '全選',
+  'copy_and_paste_instructions' => '如果你要在 CPG 的支援論壇上要求協助，複製並貼上這個除錯訊息到你的發表文章內，包括顯示的錯誤訊息。發佈文章前請注意用***來取代您的密碼。<br />注意：除錯訊息只是顯示相簿的訊息，並不代表您的相簿有問題。', //cpg1.4
+  'phpinfo' => '顯示PHP訊息 (phpinfo)',
+  'notices' => '通知', //cpg1.4
+);
+
+$lang_language_selection = array(
+  'reset_language' => '預設語系',
+  'choose_language' => '選擇你的語系',
+);
+
+$lang_theme_selection = array(
+  'reset_theme' => '預設佈景',
+  'choose_theme' => '選擇佈景',
+);
+
+$lang_version_alert = array(
+  'version_alert' => '不支援的版本！', //cpg1.4
+  'no_stable_version' => '您安裝的 CPG 相簿版本 %s (%s) 只是給有經驗的使用者 - 這個版本不會得到官方的支援。如果要得到支援請安裝官方提供的正式版本！', //cpg1.4
+  'gallery_offline' => '目前相簿是屬於維修狀態，只有管理員才能進入。維修完畢之後記得將相簿設回正常狀態。', //cpg1.4
+);
+
+$lang_create_tabs = array(
+  'previous' => '上一個', //cpg1.4
+  'next' => '下一個', //cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File include/init.inc.php
+// ------------------------------------------------------------------------- //
+
+// void
+
+// ------------------------------------------------------------------------- //
+// File keyword.inc.php                                                      //
+// ------------------------------------------------------------------------- //
+
+// void
+
+// ------------------------------------------------------------------------- //
+// File include/picmgmt.inc.php
+// ------------------------------------------------------------------------- //
+
+// void
+
+// ------------------------------------------------------------------------- //
+// File include/plugin_api.inc.php
+// ------------------------------------------------------------------------- //
+$lang_plugin_api = array(
+  'error_wakeup' => "不能啟用外掛 '%s'", //cpg1.4
+  'error_install' => "不能安裝外掛 '%s'", //cpg1.4
+  'error_uninstall' => "不能移除外掛 '%s'", //cpg1.4
+  'error_sleep' => "不能移除外掛 '%s'<br />", //cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File include/smilies.inc.php
+// ------------------------------------------------------------------------- //
+
+if (defined('SMILIES_PHP')) $lang_smilies_inc_php = array(
+  'Exclamation' => '感歎',
+  'Question' => '疑問',
+  'Very Happy' => '很高興',
+  'Smile' => '微笑',
+  'Sad' => '悲哀',
+  'Surprised' => '驚訝',
+  'Shocked' => '震驚',
+  'Confused' => '昏倒',
+  'Cool' => '很棒',
+  'Laughing' => '發笑',
+  'Mad' => '發狂',
+  'Razz' => '嘲笑',
+  'Embarassed' => '尷尬',
+  'Crying or Very sad' => '嚎哭',
+  'Evil or Very Mad' => '惡毒',
+  'Twisted Evil' => '古怪',
+  'Rolling Eyes' => '旋轉的眼睛',
+  'Wink' => '眨眼',
+  'Idea' => '主意',
+  'Arrow' => '箭頭',
+  'Neutral' => '中立',
+  'Mr. Green' => '格林先生',
+);
+
+// ------------------------------------------------------------------------- //
+// File addpic.php
+// ------------------------------------------------------------------------- //
+
+// void
+
+// ------------------------------------------------------------------------- //
+// File mode.php //cpg1.4
+// ------------------------------------------------------------------------- //
+
+if (defined('MODE_PHP')) $lang_mode_php = array(
+  0 => '離開管理模式...',
+  1 => '進入管理模式...',
+);
+
+// ------------------------------------------------------------------------- //
+// File albmgr.php
+// ------------------------------------------------------------------------- //
+
+if (defined('ALBMGR_PHP')) $lang_albmgr_php = array(
+  'alb_need_name' => '您需要給相簿一個名稱 !', //js-alert
+  'confirm_modifs' => '確定要做這些修改嗎 ?', //js-alert
+  'no_change' => '您沒有做任何改變 !', //js-alert
+  'new_album' => '新相簿',
+  'confirm_delete1' => '確定要刪除此相簿嗎 ?', //js-alert
+  'confirm_delete2' => '\n所有圖片及留言都會刪除 !', //js-alert
+  'select_first' => '請先選擇一個相簿', //js-alert
+  'alb_mrg' => '相簿管理員',
+  'my_gallery' => '* 我的相簿 *',
+  'no_category' => '* 沒有類別 *',
+  'delete' => '刪除',
+  'new' => '新增',
+  'apply_modifs' => '修改',
+  'select_category' => '選擇類別',
+);
+
+// ------------------------------------------------------------------------- //
+// File banning.php
+// ------------------------------------------------------------------------- //
+
+if (defined('BANNING_PHP')) $lang_banning_php = array(
+  'title' => '阻擋會員', //cpg1.4
+  'user_name' => '會員名稱', //cpg1.4
+  'ip_address' => 'IP 位置', //cpg1.4
+  'expiry' => '期限 (空白如果沒有期限)', //cpg1.4
+  'edit_ban' => '儲存', //cpg1.4
+  'delete_ban' => '刪除', //cpg1.4
+  'add_new' => '新增阻擋', //cpg1.4
+  'add_ban' => '新增', //cpg1.4
+  'error_user' => '找不到會員', //cpg1.4
+  'error_specify' => '您必須提供會員名稱或 IP 位置', //cpg1.4
+  'error_ban_id' => '錯誤的阻擋編號！', //cpg1.4
+  'error_admin_ban' => '您不能阻擋自己！', //cpg1.4
+  'error_server_ban' => '您要阻擋您自己的主機？不要鬧了...', //cpg1.4
+  'error_ip_forbidden' => '您不能阻擋這個 IP - 這是不可路徑選擇的 (私人) IP！<br />如果您要允許阻擋私人 IP，在 <a href="admin.php">設定</a> 裡面可以修改。', //cpg1.4
+  'lookup_ip' => '搜尋 IP 位置', //cpg1.4
+  'submit' => '繼續！', //cpg1.4
+  'select_date' => '選擇日期', //cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File bridgemgr.php //cpg1.4
+// ------------------------------------------------------------------------- //
+
+if (defined('BRIDGEMGR_PHP')) $lang_bridgemgr_php = array(
+  'title' => '整合精靈',
+  'warning' => '警告：用這個整合精靈，重要資料是以 HTML 傳送。建議您在自己的電腦上使用 (不是在網咖等其他公共場所)，然後確定把瀏覽器的記憶和暫時檔案刪除。',
+  'back' => '返回',
+  'next' => '下一步',
+  'start_wizard' => '開始整合精靈',
+  'finish' => '完成',
+  'hide_unused_fields' => '隱藏沒用的欄位 (建議)',
+  'clear_unused_db_fields' => '清除錯誤的資料庫項目 (建議)',
+  'custom_bridge_file' => '自訂的整合檔案名稱 (如果整合檔是叫 <i>myfile.inc.php</i>，在這個欄位輸入 <i>myfile</i>)',
+  'no_action_needed' => '不需要任何動作。請點 \'下一步\' 繼續。',
+  'reset_to_default' => '重設回預設值',
+  'choose_bbs_app' => '選擇整合 CPG 的軟體',
+  'support_url' => '如需這個軟體的支援請到',
+  'settings_path' => '論壇使用的路徑',
+  'database_connection' => '資料庫連結',
+  'database_tables' => '資料表',
+  'bbs_groups' => '論壇群組',
+  'license_number' => '執照號碼',
+  'license_number_explanation' => '輸入執照號碼 (如果有)',
+  'db_database_name' => '資料庫名稱',
+  'db_database_name_explanation' => '輸入論壇使用的資料庫名稱',
+  'db_hostname' => '資料庫主機',
+  'db_hostname_explanation' => '您的 MySQL 資料庫的主機，通常是 &quot;localhost&quot;',
+  'db_username' => '資料庫帳號',
+  'db_username_explanation' => '論壇使用的資料庫的用戶帳號',
+  'db_password' => '資料庫密碼',
+  'db_password_explanation' => '資料庫的用戶帳號密碼',
+  'full_forum_url' => '論壇網址',
+  'full_forum_url_explanation' => '您的論壇網址 (包括 http:// 例如：http://www.yourdomain.tld/forum)',
+  'relative_path_of_forum_from_webroot' => '論壇的相對路徑',
+  'relative_path_of_forum_from_webroot_explanation' => '論壇的主機相對路徑 (範例：如果您的論壇在 http://www.yourdomain.tld/forum/，輸入 &quot;/forum/&quot;)',
+  'relative_path_to_config_file' => '論壇設定檔的相對路徑',
+  'relative_path_to_config_file_explanation' => '論壇的相對路徑，從 CPG 目錄計算 (範例 &quot;../forum/&quot; 如果您的論壇是 http://www.yourdomain.tld/forum/ 然後 CPG 是 http://www.yourdomain.tld/gallery/)',
+  'cookie_prefix' => 'Cookie 前置字元',
+  'cookie_prefix_explanation' => '這是論壇的 cookie 名稱',
+  'table_prefix' => '資料表的前置字元',
+  'table_prefix_explanation' => '論壇使用的資料表的前置字元。',
+  'user_table' => '會員資料表',
+  'user_table_explanation' => '(通常預設值不會有問題，除非您有改過論壇的安裝)',
+  'session_table' => '工作階段的資料表',
+  'session_table_explanation' => '(通常預設值不會有問題，除非您有改過論壇的安裝)',
+  'group_table' => '群組資料表',
+  'group_table_explanation' => '(通常預設值不會有問題，除非您有改過論壇的安裝)',
+  'group_relation_table' => '群組關係的資料表',
+  'group_relation_table_explanation' => '(通常預設值不會有問題，除非您有改過論壇的安裝)',
+  'group_mapping_table' => '群組映像的資料表',
+  'group_mapping_table_explanation' => '(通常預設值不會有問題，除非您有改過論壇的安裝)',
+  'use_standard_groups' => '使用標準的論壇群組',
+  'use_standard_groups_explanation' => '使用標準 (內建) 的群組 (建議)。這會讓自訂的群組無效。除非您知道在幹麻，不要關閉這個設定！',
+  'validating_group' => '審核群組',
+  'validating_group_explanation' => '論壇裡需要審核的群組編號是 (通常預設值不會有問題，建議不要改除非您知道它的用途)',
+  'guest_group' => '訪客群組',
+  'guest_group_explanation' => '論壇的訪客群組編號是 (通常預設值不會有問題，建議不要改除非您知道它的用途)',
+  'member_group' => '會員群組',
+  'member_group_explanation' => '論壇的 &quot;普通&quot; 會員群組編號是 (通常預設值不會有問題，建議不要改除非您知道它的用途)',
+  'admin_group' => '管理員群組',
+  'admin_group_explanation' => '論壇的管理員群組編號是 (通常預設值不會有問題，建議不要改除非您知道它的用途)',
+  'banned_group' => '阻擋群組',
+  'banned_group_explanation' => '論壇的阻擋群組編號是 (通常預設值不會有問題，建議不要改除非您知道它的用途)',
+  'global_moderators_group' => '全區版主群組',
+  'global_moderators_group_explanation' => '論壇的全區版主群組編號 (通常預設值不會有問題，建議不要改除非您知道它的用途)',
+  'special_settings' => '論壇的特殊設定',
+  'logout_flag' => 'phpBB 版本 (登出指示)',
+  'logout_flag_explanation' => '您的論壇版本 (這項設定是用來指示系統如何登出)',
+  'use_post_based_groups' => '使用文章群組？',
+  'logout_flag_yes' => '2.0.5 或以上',
+  'logout_flag_no' => '2.0.4 或以下',
+  'use_post_based_groups_explanation' => '該使用論壇會員的文章數來做分類嗎？ (允許更堅固的權限管理) 或是使用預設群組 (可簡易管理，建議使用)。之後可以改變這個設定。',
+  'use_post_based_groups_yes' => '是',
+  'use_post_based_groups_no' => '否',
+  'error_title' => '您必須解決這些錯誤才能繼續。回到上一頁。',
+  'error_specify_bbs' => '您必須提供要整合的軟體。',
+  'error_no_blank_name' => '您不能將自訂整合的名稱欄位留白。',
+  'error_no_special_chars' => '整合檔案不能包括特殊字元，除了 (_) 和 (-)！',
+  'error_bridge_file_not_exist' => '整合檔案 %s 不存在主機內。請檢查是否上傳成功。',
+  'finalize' => '開啟/關閉 論壇整合',
+  'finalize_explanation' => '目前整合資料已存入資料庫，但是整合還未開啟。您可以在任何時間開啟或關閉整合。記住相簿的管理帳號和密碼，要做改變時可能需要。如果出現問題，到 %s 然後關閉論壇整合，用整合前的 CPG 管理帳號 (您安裝 CPG 時提供的帳號)。',
+  'your_bridge_settings' => '整合設定',
+  'title_enable' => '開啟整合 %s',
+  'bridge_enable_yes' => '開啟',
+  'bridge_enable_no' => '關閉',
+  'error_must_not_be_empty' => '不能空白',
+  'error_either_be' => '必須是 %s 或 %s',
+  'error_folder_not_exist' => '%s 不存在。. 改正 %s 的輸入值',
+  'error_cookie_not_readible' => 'CPG 無法讀取 cookie 名稱 %s。改正 %s 的輸入值，或到論壇的設定裡面確定 CPG 有讀取它的 cookie 路徑。',
+  'error_mandatory_field_empty' => '您不能空白欄位 %s - 請輸入正確值。',
+  'error_no_trailing_slash' => '%s 欄位不能包括最後的斜線。',
+  'error_trailing_slash' => '%s 欄位必須包括最後的斜線。',
+  'error_db_connect' => '不能連結到資料庫。MySQL 的錯誤訊息：',
+  'error_db_name' => '雖然 CPG 能夠連結到資料庫，它無法找到您輸入的資料表 %s。確定 %s 是正確的資料。MySQL 的錯誤訊息：',
+  'error_prefix_and_table' => '%s 和 ',
+  'error_db_table' => '找不到資料表 %s。確定 %s 是正確的資料。',
+  'recovery_title' => '整合管理： 緊急修復',
+  'recovery_explanation' => '如果您要管理論壇的整合設定，您必須先用管理帳號登入。如果不能登入，您可以先關閉論壇整合。輸入您的帳號和密碼不會將您登入，只會關閉整合。詳情請看說明檔。',
+  'username' => '帳號',
+  'password' => '密碼',
+  'disable_submit' => '送出',
+  'recovery_success_title' => '授權完成',
+  'recovery_success_content' => '您已經成功關閉論壇的整合。CPG 目前不受整合影響。',
+  'recovery_success_advice_login' => '登入管理帳號來編輯整合設定，或重新開啟整合。',
+  'goto_login' => '進入登入頁面',
+  'goto_bridgemgr' => '進入整合管理',
+  'recovery_failure_title' => '授權失敗',
+  'recovery_failure_content' => '您輸入錯誤的資料。您必須提供管理帳號 (您安裝 CPG 時提供的帳號)。',
+  'try_again' => '重試',
+  'recovery_wait_title' => '等待時間未運作',
+  'recovery_wait_content' => '因為安全問題，您不能連續登入失敗後成功登入，您必須稍待一會才能繼續登入。',
+  'wait' => '等待',
+  'create_redir_file' => '建立轉址檔案 (建議)',
+  'create_redir_file_explanation' => '如果要將會員在登入論壇時轉回 CPG，您必須建立一個轉址檔案到您的論壇目錄。勾選這個選項整合管理系統會自動幫您建立，或提供需要的程式碼讓您手動建立檔案。',
+  'browse' => '瀏覽',
+);
+
+// ------------------------------------------------------------------------- //
+// File calendar.php //cpg1.4
+// ------------------------------------------------------------------------- //
+
+if (defined('CALENDAR_PHP')) $lang_calendar_php = array(
+  'title' => '日曆', //cpg1.4
+  'close' => '關閉', //cpg1.4
+  'clear_date' => '清除日期', //cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File catmgr.php
+// ------------------------------------------------------------------------- //
+
+if (defined('CATMGR_PHP')) $lang_catmgr_php = array(
+  'miss_param' => '\'%s\'操作所需要的參數並未提供！',
+  'unknown_cat' => '資料庫裡沒有您所選的類別',
+  'usergal_cat_ro' => '會員相簿的類別不能刪除！',
+  'manage_cat' => '類別管理',
+  'confirm_delete' => '確定要刪除此類別嗎', //js-alert
+  'category' => '類別',
+  'operations' => '操作',
+  'move_into' => '移動到',
+  'update_create' => '更新/建立 類別',
+  'parent_cat' => '母類別',
+  'cat_title' => '類別標題',
+  'cat_thumb' => '類別縮圖',
+  'cat_desc' => '類別簡介',
+  'categories_alpha_sort' => '小到大排序類別 (不用自訂排序)', //cpg1.4
+  'save_cfg' => '儲存設定', //cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File admin.php //cpg1.4
+// ------------------------------------------------------------------------- //
+
+if (defined('ADMIN_PHP')) $lang_admin_php = array(
+  'title' => '相簿設定', //cpg1.4
+  'manage_exif' => '管理 exif 顯示', //cpg1.4
+  'manage_plugins' => '外掛管理', //cpg1.4
+  'manage_keyword' => '關鍵字管理', //cpg1.4
+  'restore_cfg' => '設回預設值',
+  'save_cfg' => '儲存設定',
+  'notes' => '註解',
+  'info' => '資訊',
+  'upd_success' => 'CPG 設定已更新',
+  'restore_success' => '原始設定已回復',
+  'name_a' => '排序依名稱 由小至大',
+  'name_d' => '排序依名稱 由大至小',
+  'title_a' => '排序依標題 由小至大',
+  'title_d' => '排序依標題 由大至小',
+  'date_a' => '排序依日期 由遠至近',
+  'date_d' => '排序依日期 由近至遠',
+  'pos_a' => '小到大', //cpg1.4
+  'pos_d' => '大到小', //cpg1.4
+  'th_any' => '最大外觀',
+  'th_ht' => '高度',
+  'th_wd' => '寬度',
+  'label' => '標籤',
+  'item' => '項目',
+  'debug_everyone' => '任何人',
+  'debug_admin' => '管理員專用',
+  'no_logs'=> '關閉', //cpg1.4
+  'log_normal'=> '正常', //cpg1.4
+  'log_all' => '全部', //cpg1.4
+  'view_logs' => '瀏覽記錄', //cpg1.4
+  'click_expand' => '點名稱展開', //cpg1.4
+  'expand_all' => '全部展開', //cpg1.4
+  'notice1' => '(*) 這些設定不能改變，如果你已經有檔案儲存於資料庫。', //cpg1.4 - (relocated)
+  'notice2' => '(**) 改變這些設定只會影響之後加入的檔案。建議您不要改變這些設定，如果已有檔案存在。但是您可以改變現有的檔案，使用 &quot;<a href="util.php">管理功能</a> (重設尺寸)&quot; 的功能。', //cpg1.4 - (relocated)
+  'notice3' => '(***) 全部的記錄檔是以英文顯示。', //cpg1.4 - (relocated)
+  'bbs_disabled' => '整合論壇後關閉的功能', //cpg1.4
+  'auto_resize_everyone' => '每個人', //cpg1.4
+  'auto_resize_user' => '會員', //cpg1.4
+  'ascending' => '小到大', //cpg1.4
+  'descending' => '大到小', //cpg1.4
+);
+
+if (defined('ADMIN_PHP')) $lang_admin_data = array(
+  '基本設定',
+  array('相簿名稱', 'gallery_name', 0, 'f=index.htm&amp;as=admin_general_name&amp;ae=admin_general_name_end'), //cpg1.4
+  array('相簿描述', 'gallery_description', 0, 'f=index.htm&amp;as=admin_general_description&amp;ae=admin_general_description_end'), //cpg1.4
+  array('相簿管理員的電子郵件', 'gallery_admin_email', 0, 'f=index.htm&amp;as=admin_general_email&amp;ae=admin_general_email_end'), //cpg1.4
+  array('CPG 的網址目錄 (不要加上 \'index.php\')', 'ecards_more_pic_target', 0, 'f=index.htm&amp;as=admin_general_coppermine-url&amp;ae=admin_general_coppermine-url_end'), //cpg1.4
+  array('首頁的網址', 'home_target', 0, 'f=index.htm&amp;as=admin_general_home-url&amp;ae=admin_general_home-url_end'), //cpg1.4
+  array('允許將最愛的圖片下載成ZIP檔', 'enable_zipdownload', 1, 'f=index.htm&amp;as=admin_general_zip-download&amp;ae=admin_general_zip-download_end'), //cpg1.4
+  array('時區跟 GMT 的差別 (目前時間： ' . localised_date(-1, $comment_date_fmt) . ')','time_offset',0, 'f=index.htm&amp;as=admin_general_time-offset&amp;ae=admin_general_time-offset_end&amp;top=1'), //cpg1.4
+  array('開啟加密密碼 (可以關閉)','enable_encrypted_passwords',1, 'f=index.htm&amp;as=admin_general_encrypt_password_start&amp;ae=admin_general_encrypt_password_end&amp;top=1'), // cpg 1.4
+  array('開啟說明圖示 (說明只以英文顯示)','enable_help',9, 'f=index.htm&amp;as=admin_general_help&amp;ae=admin_general_help_end'), //cpg1.4
+  array('允許可點的關鍵字','clickable_keyword_search',14, 'f=index.htm&amp;as=admin_general_keywords_start&amp;ae=admin_general_keywords_end'), //cpg1.4
+  array('允許外掛', 'enable_plugins', 12, 'f=index.htm&amp;as=admin_general_enable-plugins&amp;ae=admin_general_enable-plugins_end'),  //cpg1.4
+  array('允許阻擋私人的 IP 位置', 'ban_private_ip', 1,  'f=index.htm&amp;as=admin_general_private-ip&amp;ae=admin_general_private-ip_end'), //cpg1.4
+  array('可瀏覽的批量介面', 'browse_batch_add', 1, 'f=index.htm&amp;as=admin_general_browsable_batch_add&amp;ae=admin_general_browsable_batch_add_end'), //cpg1.4
+
+  '語系 &amp; 編碼設定',
+  array('語系', 'lang', 5, 'f=index.htm&amp;as=admin_language_language&amp;ae=admin_language_language_end'), //cpg1.4
+  array('用英文語系如果翻譯的字詞不存在？', 'language_fallback', 1, 'f=index.htm&amp;as=admin_language_fallback&amp;ae=admin_language_fallback_end'), //cpg1.4
+  array('文字編碼', 'charset', 4, 'f=index.htm&amp;as=admin_language_charset&amp;ae=admin_language_charset_end'), //cpg1.4
+  array('顯示語系列表', 'language_list', 1, 'f=index.htm&amp;as=admin_language_list&amp;ae=admin_language_list_end'), //cpg1.4
+  array('顯示語系國旗', 'language_flags', 8, 'f=index.htm&amp;as=admin_language_flags&amp;ae=admin_language_flags_end&amp;top=1'), //cpg1.4
+  array('語系選單內顯示 &quot;重設&quot;', 'language_reset', 1, 'f=index.htm&amp;as=admin_language_reset&amp;ae=admin_language_reset_end&amp;top=1'), //cpg1.4
+  //array('顯示 上一頁/下一頁 於頁面', 'previous_next_tab', 1), //cpg1.4
+
+  '佈景設定',
+  array('佈景', 'theme', 6, 'f=index.htm&amp;as=admin_theme_theme&amp;ae=admin_theme_theme_end'), //cpg1.4
+  array('顯示佈景列表', 'theme_list', 1, 'f=index.htm&amp;as=admin_theme_theme_list&amp;ae=admin_theme_theme_list_end'), //cpg1.4
+  array('佈景選單內顯示 &quot;重設&quot;', 'theme_reset', 1, 'f=index.htm&amp;as=admin_theme_theme_reset&amp;ae=admin_theme_theme_reset_end'), //cpg1.4
+  array('顯示 FAQ', 'display_faq', 1, 'f=index.htm&amp;as=admin_theme_faq&amp;ae=admin_theme_faq_end'), //cpg1.4
+  array('自訂的選單連結', 'custom_lnk_name', 0,'f=index.htm&amp;as=admin_theme_custom_lnk_name&amp;ae=admin_theme_custom_lnk_name_end'), //cpg1.4
+  array('自訂選單的網址', 'custom_lnk_url', 0,'f=index.htm&amp;as=admin_language_custom_lnk_url&amp;ae=admin_language_custom_lnk_url_end'), //cpg1.4
+  array('顯示 bbcode 說明', 'show_bbcode_help', 1, 'f=index.htm&amp;as=admin_theme_bbcode&amp;ae=admin_theme_bbcode_end&amp;top=1'), //cpg1.4
+  array('顯示虛幻的佈景區塊，如果佈景通過 XHTML 和 CSS 測試','vanity_block',1, 'f=index.htm&amp;as=vanity_block&amp;ae=vanity_block_end'), //cpg1.4
+  array('自訂標頭的路徑', 'custom_header_path', 0, 'f=index.htm&amp;as=admin_theme_include_path_start&amp;ae=admin_theme_include_path_end'), //cpg1.4
+  array('自訂頁尾的路徑', 'custom_footer_path', 0, 'f=index.htm&amp;as=admin_theme_include_path_start&amp;ae=admin_theme_include_path_end'), //cpg1.4
+
+  '相簿目錄顯示',
+  array('主要表格寬度 (像素或 %)', 'main_table_width', 0, 'f=index.htm&amp;as=admin_album_table-width&amp;ae=admin_album_table-width_end'), //cpg1.4
+  array('類別顯示的層次數量', 'subcat_level', 0, 'f=index.htm&amp;as=admin_album_category-levels&amp;ae=admin_album_category-levels_end'), //cpg1.4
+  array('相簿顯示數量', 'albums_per_page', 0, 'f=index.htm&amp;as=admin_album_number&amp;ae=admin_album_number_end'), //cpg1.4
+  array('相簿列表的欄數', 'album_list_cols', 0, 'f=index.htm&amp;as=admin_album_columns&amp;ae=admin_album_columns_end'), //cpg1.4
+  array('縮圖像素', 'alb_list_thumb_size', 0, 'f=index.htm&amp;as=admin_album_thumbnail-size&amp;ae=admin_album_thumbnail-size_end'), //cpg1.4
+  array('主頁的內容', 'main_page_layout', 0, 'f=index.htm&amp;as=admin_album_list_content&amp;ae=admin_album_list_content_end'), //cpg1.4
+  array('顯示分類中第一層的相簿縮圖','first_level',1, 'f=index.htm&amp;as=admin_album_first-level_thumbs&amp;ae=admin_album_first-level_thumbs_end'), //cpg1.4
+  array('以小到大排列類別 (不使用自訂排列)','categories_alpha_sort',1, 'f=index.htm&amp;as=admin_album_list_alphasort_start&amp;ae=admin_album_list_alphasort_end'), //cpg1.4
+  array('顯示連結的檔案數量','link_pic_count',1, 'f=index.htm&amp;as=admin_album_linked_files_start&amp;ae=admin_album_linked_files_end'), //cpg1.4
+
+  '縮圖顯示',
+  array('縮圖頁欄數', 'thumbcols', 0, 'f=index.htm&amp;as=admin_thumbnail_columns&amp;ae=admin_thumbnail_columns_end'), //cpg1.4
+  array('縮圖頁列數', 'thumbrows', 0, 'f=index.htm&amp;as=admin_thumbnail_rows&amp;ae=admin_thumbnail_rows_end'), //cpg1.4
+  array('顯示的標籤頁數量', 'max_tabs', 10, 'f=index.htm&amp;as=admin_thumbnail_tabs&amp;ae=admin_thumbnail_tabs_end'), //cpg1.4
+  array('縮圖下方顯示圖片說明 (連標題)', 'caption_in_thumbview', 1, 'f=index.htm&amp;as=admin_thumbnail_display_caption&amp;ae=admin_thumbnail_display_caption_end'), //cpg1.4
+  array('縮圖下方顯示瀏覽次數', 'views_in_thumbview', 1, 'f=index.htm&amp;as=admin_thumbnail_display_views&amp;ae=admin_thumbnail_display_views_end'), //cpg1.4
+  array('縮圖下方顯示留言', 'display_comment_count', 1, 'f=index.htm&amp;as=admin_thumbnail_display_comments&amp;ae=admin_thumbnail_display_comments_end'), //cpg1.4
+  array('縮圖下方顯示上傳者名稱', 'display_uploader', 1, 'f=index.htm&amp;as=admin_thumbnail_display_uploader&amp;ae=admin_thumbnail_display_uploader_end'), //cpg1.4
+  //array('縮圖下方顯示上傳的管理員', 'display_admin_uploader', 1, 'f=index.htm&amp;as=admin_thumbnail_display_admin_uploader&amp;ae=admin_thumbnail_display_admin_uploader_end'), //cpg1.4
+  array('縮圖下方顯示檔案名稱', 'display_filename', 1, 'f=index.htm&amp;as=admin_thumbnail_display_filename&amp;ae=admin_thumbnail_display_filename_end'), //cpg1.4
+  array('顯示相簿簡介', 'alb_desc_thumb', 1, 'f=index.htm&amp;as=admin_thumbnail_display_description&amp;ae=admin_thumbnail_display_description_end'), //cpg1.4
+  array('預設的檔案排序', 'default_sort_order', 3, 'f=index.htm&amp;as=admin_thumbnail_default_sortorder&amp;ae=admin_thumbnail_default_sortorder_end'), //cpg1.4
+  array('\'熱門投票\' 需要的投票數', 'min_votes_for_rating', 0, 'f=index.htm&amp;as=admin_thumbnail_minimum_votes&amp;ae=admin_thumbnail_minimum_votes_end'), //cpg1.4
+
+  '圖片顯示', //cpg1.4
+  array('顯示圖片的表格寬度 (像素或 %)', 'picture_table_width', 0, 'f=index.htm&amp;as=admin_image_comment_table-width&amp;ae=admin_image_comment_table-width_end'), //cpg1.4
+  array('圖片資訊的預設為顯示', 'display_pic_info', 1, 'f=index.htm&amp;as=admin_image_comment_info_visible&amp;ae=admin_image_comment_info_visible_end'), //cpg1.4
+  array('圖片簡介的允許字數', 'max_img_desc_length', 0, 'f=index.htm&amp;as=admin_image_comment_descr_length&amp;ae=admin_image_comment_descr_length_end'), //cpg1.4
+  array('允許的文字數量', 'max_com_wlength', 0, 'f=index.htm&amp;as=admin_image_comment_chars_per_word&amp;ae=admin_image_comment_chars_per_word_end'), //cpg1.4
+  array('顯示圖片預覽列', 'display_film_strip', 1, 'f=index.htm&amp;as=admin_image_comment_filmstrip_toggle&amp;ae=admin_image_comment_filmstrip_toggle_end'), //cpg1.4
+  array('圖片預覽列下方顯示檔案名稱', 'display_film_strip_filename', 1, 'f=index.htm&amp;as=admin_image_comment_display_film_strip_filename&amp;ae=admin_image_comment_display_film_strip_filename_end'), //cpg1.4
+  array('預覽列的數量', 'max_film_strip_items', 0, 'f=index.htm&amp;as=admin_image_comment_filmstrip_number&amp;ae=admin_image_comment_filmstrip_number_end'), //cpg1.4
+  array('連續撥放間隔時間 (毫秒)。1 秒 = 1000 毫秒', 'slideshow_interval', 0, 'f=index.htm&amp;as=admin_image_comment_slideshow_interval&amp;ae=admin_image_comment_slideshow_interval_end'), //cpg1.4
+
+  '留言設定', //cpg1.4
+  array('留言內過濾不良詞彙', 'filter_bad_words', 1, 'f=index.htm&amp;as=admin_image_comment_bad_words&amp;ae=admin_image_comment_bad_words_end'), //cpg1.4
+  array('留言內允許表情圖案', 'enable_smilies', 1, 'f=index.htm&amp;as=admin_image_comment_smilies&amp;ae=admin_image_comment_smilies_end'), //cpg1.4
+  array('允許會員在同一張圖片連續發表留言 (關閉灌水保護)', 'disable_comment_flood_protect', 1, 'f=index.htm&amp;as=admin_image_comment_flood&amp;ae=admin_image_comment_flood_end'), //cpg1.4
+  array('留言的最大行數', 'max_com_lines', 0, 'f=index.htm&amp;as=admin_image_comment_lines&amp;ae=admin_image_comment_lines_end'), //cpg1.4
+  array('留言的最大長度', 'max_com_size', 0, 'f=index.htm&amp;as=admin_image_comment_length&amp;ae=admin_image_comment_length_end'), //cpg1.4
+  array('有留言時通知管理員', 'email_comment_notification', 1, 'f=index.htm&amp;as=admin_image_comment_admin_notify&amp;ae=admin_image_comment_admin_notify_end'), //cpg1.4
+  array('留言的排序', 'comments_sort_descending', 17, 'f=index.htm&amp;as=admin_comment_sort_start&amp;ae=admin_comment_sort_end'), //cpg1.4
+  array('無名留言者的前置字元', 'comments_anon_pfx', 0, 'f=index.htm&amp;as=comments_anon_pfx&amp;ae=comments_anon_pfx_end'), //cpg1.4
+
+  '圖片及縮圖設定',
+  array('JPEG 格式品質', 'jpeg_qual', 0, 'f=index.htm&amp;as=admin_picture_thumbnail_jpeg_quality&amp;ae=admin_picture_thumbnail_jpeg_quality_end'), //cpg1.4
+  array('縮圖最大尺寸 <a href="#notice2" class="clickable_option">**</a>', 'thumb_width', 0, 'f=index.htm&amp;as=admin_picture_thumbnail_max-dimension&amp;ae=admin_picture_thumbnail_max-dimension_end'), //cpg1.4
+  array('使用尺寸 (寬，高或縮圖最大邊長) <a href="#notice2" class="clickable_option">**</a>', 'thumb_use', 7, 'f=index.htm&amp;as=admin_picture_thumbnail_use-dimension&amp;ae=admin_picture_thumbnail_use-dimension_end'), //cpg1.4
+  array('建立中級圖片','make_intermediate',1, 'f=index.htm&amp;as=admin_picture_thumbnail_intermediate_toggle&amp;ae=admin_picture_thumbnail_intermediate_toggle_end'), //cpg1.4
+  array('中級圖片/影片的最大尺寸 <a href="#notice2" class="clickable_option">**</a>', 'picture_width', 0, 'f=index.htm&amp;as=admin_picture_thumbnail_intermediate_dimension&amp;ae=admin_picture_thumbnail_intermediate_dimension_end'), //cpg1.4
+  array('傳圖檔的最大限制 (KB)', 'max_upl_size', 0, 'f=index.htm&amp;as=admin_picture_thumbnail_max_upload_size&amp;ae=admin_picture_thumbnail_max_upload_size_end'), //cpg1.4
+  array('上傳圖片/影片的最大寬度或最高尺寸 (像素)', 'max_upl_width_height', 0, 'f=index.htm&amp;as=admin_picture_thumbnail_max_upload_dimension&amp;ae=admin_picture_thumbnail_max_upload_dimension_end'), //cpg1.4
+  array('自動重設超過限制的圖片尺寸', 'auto_resize', 16, 'f=index.htm&amp;as=admin_picture_thumbnail_auto-resize&amp;ae=admin_picture_thumbnail_auto-resize_end'), //cpg1.4
+
+  '圖片和縮圖的進階設定',
+  array('可使用私人相簿 (注意：如果您從 \'是\' 換成 \'否\'，任何現有的私人相簿將會變成公共相簿)', 'allow_private_albums', 1, 'f=index.htm&amp;as=admin_picture_thumb_advanced_private_toggle&amp;ae=admin_picture_thumb_advanced_private_toggle_end'), //cpg1.4
+  array('顯示私人相簿圖片給未登入的會員','show_private',1, 'f=index.htm&amp;as=admin_picture_thumb_advanced_private_icon_show&amp;ae=admin_picture_thumb_advanced_private_icon_show_end'), //cpg1.4
+  array('檔案名不可使用的字詞', 'forbiden_fname_char',0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_filename_forbidden_chars&amp;ae=admin_picture_thumb_advanced_filename_forbidden_chars_end'), //cpg1.4
+  //array('上傳圖檔可接受的副檔名', 'allowed_file_extensions',0, 'f=index.htm&amp;as=&amp;ae=_end'), //cpg1.4
+  array('允許的圖片檔類型', 'allowed_img_types',0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_pic_extensions&amp;ae=admin_picture_thumb_advanced_pic_extensions_end'), //cpg1.4
+  array('允許的影片檔類型', 'allowed_mov_types',0, 'f=index.htm&amp;as=admin_thumbs_advanced_movie&amp;ae=admin_thumbs_advanced_movie_end'), //cpg1.4
+  array('自動播放影片', 'media_autostart',1, 'f=index.htm&amp;as=admin_movie_autoplay&amp;ae=admin_movie_autoplay_end'), //cpg1.4
+  array('允許的聲音檔類型', 'allowed_snd_types',0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_audio_extensions&amp;ae=admin_picture_thumb_advanced_audio_extensions_end'), //cpg1.4
+  array('允許的文件檔類型', 'allowed_doc_types',0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_doc_extensions&amp;ae=admin_picture_thumb_advanced_doc_extensions_end'), //cpg1.4
+  array('建立縮圖的方法','thumb_method',2, 'f=index.htm&amp;as=admin_picture_thumb_advanced_resize_method&amp;ae=admin_picture_thumb_advanced_resize_method_end'), //cpg1.4
+  array('ImageMagick 的 \'convert\' 程式路徑 (例如 /usr/bin/X11/)', 'impath', 0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_im_path&amp;ae=admin_picture_thumb_advanced_im_path_end'), //cpg1.4
+  //array('可接受的圖檔類型 (只對 ImageMagick 有效)', 'allowed_img_types',0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_allowed_imagetypes&amp;ae=admin_picture_thumb_advanced_allowed_imagetypes_end'), //cpg1.4
+  array('ImageMagick 的命令列選項', 'im_options', 0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_im_commandline&amp;ae=admin_picture_thumb_advanced_im_commandline_end'), //cpg1.4
+  array('讀取 JPEG 圖片的 EXIF 資料', 'read_exif_data', 13, 'f=index.htm&amp;as=admin_picture_thumb_advanced_exif&amp;ae=admin_picture_thumb_advanced_exif_end'), //cpg1.4
+  array('讀取 JPEG 圖片的 IPTC 資料', 'read_iptc_data', 1, 'f=index.htm&amp;as=admin_picture_thumb_advanced_iptc&amp;ae=admin_picture_thumb_advanced_iptc_end'), //cpg1.4
+  array('相簿路徑 <a href="#notice1" class="clickable_option">*</a>', 'fullpath', 0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_albums_dir&amp;ae=admin_picture_thumb_advanced_albums_dir_end'), //cpg1.4
+  array('會員圖檔路徑 <a href="#notice1" class="clickable_option">*</a>', 'userpics', 0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_userpics_dir&amp;ae=admin_picture_thumb_advanced_userpics_dir_end'), //cpg1.4
+  array('縮圖檔的前置字元 <a href="#notice1" class="clickable_option">*</a>', 'normal_pfx', 0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_intermediate_prefix&amp;ae=admin_picture_thumb_advanced_intermediate_prefix_end'), //cpg1.4
+  array('縮圖的前置字元 <a href="#notice1" class="clickable_option">*</a>', 'thumb_pfx', 0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_thumbs_prefix&amp;ae=admin_picture_thumb_advanced_thumbs_prefix_end'), //cpg1.4
+  array('目錄的預設模式', 'default_dir_mode', 0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_chmod_folder&amp;ae=admin_picture_thumb_advanced_chmod_folder_end'), //cpg1.4
+  array('檔案的預設模式', 'default_file_mode', 0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_chmod_files&amp;ae=admin_picture_thumb_advanced_chmod_files_end'), //cpg1.4
+
+  '會員設定',
+  array('允許會員註冊', 'allow_user_registration', 1, 'f=index.htm&amp;as=admin_allow_registration&amp;ae=admin_allow_registration_end'), //cpg1.4
+  array('允許訪客進入', 'allow_unlogged_access', 1, 'f=index.htm&amp;as=admin_allow_unlogged_access&amp;ae=admin_allow_unlogged_access_end'), //cpg1.4
+  array('註冊需要電子郵件驗證', 'reg_requires_valid_email', 1, 'f=index.htm&amp;as=admin_registration_verify&amp;ae=admin_registration_verify_end'), //cpg1.4
+  array('有新會員時通知管理員', 'reg_notify_admin_email', 1, 'f=index.htm&amp;as=admin_registration_notify&amp;ae=admin_registration_notify_end'), //cpg1.4
+  array('管理員需審核註冊', 'admin_activation', 1, 'f=index.htm&amp;as=admin_activation&amp;ae=admin_activation_end'),  //cpg1.4
+  array('允許兩個會員使用同一個電子郵件', 'allow_duplicate_emails_addr', 1, 'f=index.htm&amp;as=admin_allow_duplicate_emails_addr&amp;ae=admin_allow_duplicate_emails_addr_end'), //cpg1.4
+  array('通知管理員有等待審核的檔案', 'upl_notify_admin_email', 1, 'f=index.htm&amp;as=admin_approval_notify&amp;ae=admin_approval_notify_end'), //cpg1.4
+  array('允許登入的會員瀏覽會員名單', 'allow_memberlist', 1, 'f=index.htm&amp;as=admin_user_memberlist&amp;ae=admin_user_memberlist_end'), //cpg1.4
+  array('允許會員改變電子郵件', 'allow_email_change', 1, 'f=index.htm&amp;as=admin_user_allow_email_change&amp;ae=admin_user_allow_email_change_end'), //cpg1.4
+  array('允許會員保留自己在公共相簿裡的圖片', 'users_can_edit_pics', 1, 'f=index.htm&amp;as=admin_user_editpics_public_start&amp;ae=admin_user_editpics_public_end'), //cpg1.4
+  array('允許錯誤登入的次數 (避免相簿遭受攻擊)', 'login_threshold', 0, 'f=index.htm&amp;as=admin_user_login_start&amp;ae=admin_user_login_end'), //cpg1.4
+  array('錯誤登入後的阻擋時間', 'login_expiry', 0, 'f=index.htm&amp;as=admin_user_login_start&amp;ae=admin_user_login_end'), //cpg1.4
+  array('允許向管理員檢舉檔案', 'report_post', 1, 'f=index.htm&amp;as=admin_user_enable_report&amp;ae=admin_user_enable_report_end'),  //cpg1.4
+
+// custom profile fields,  //cpg1.4
+  '個人資料的自訂欄位 (空白如果不使用)。
+  用資料 6 給長的資訊，例如說個人簡介', //cpg1.4
+  array('資料 1 的名稱', 'user_profile1_name', 0, 'f=index.htm&amp;as=admin_custom&amp;ae=admin_custom_end'), //cpg1.4
+  array('資料 2 的名稱', 'user_profile2_name', 0), //cpg1.4
+  array('資料 3 的名稱', 'user_profile3_name', 0), //cpg1.4
+  array('資料 4 的名稱', 'user_profile4_name', 0), //cpg1.4
+  array('資料 5 的名稱', 'user_profile5_name', 0), //cpg1.4
+  array('資料 6 的名稱', 'user_profile6_name', 0), //cpg1.4
+
+  '圖片簡介的自訂欄位 (空白如果不使用)',
+  array('欄位 1 的名稱', 'user_field1_name', 0, 'f=index.htm&amp;as=admin_custom_image&amp;ae=admin_custom_image_end'), //cpg1.4
+  array('欄位 2 的名稱', 'user_field2_name', 0),
+  array('欄位 3 的名稱', 'user_field3_name', 0),
+  array('欄位 4 的名稱', 'user_field4_name', 0),
+
+  'Cookies 設定',
+  array('Cookie 名稱', 'cookie_name', 0, 'f=index.htm&amp;as=admin_cookie_name&amp;ae=admin_cookie_name_end'), //cpg1.4
+  array('Cookie 路徑', 'cookie_path', 0, 'f=index.htm&amp;as=admin_cookie_path&amp;ae=admin_cookie_path_end'), //cpg1.4
+
+  '電子郵件設定  (通常可以不用作任何改變；如果不懂請不要更改)', //cpg1.4
+  array('SMTP 主機 (如果空白會使用 sendmail)', 'smtp_host', 0, 'f=index.htm&amp;as=admin_email&amp;ae=admin_email_end'), //cpg1.4
+  array('SMTP 帳號', 'smtp_username', 0), //cpg1.4
+  array('SMTP 密碼', 'smtp_password', 0), //cpg1.4
+
+  '記錄和統計', //cpg1.4
+  array('記錄模式 <a href="#notice3" class="clickable_option">***</a>', 'log_mode', 11, 'f=index.htm&amp;as=admin_logging_log_mode&amp;ae=admin_logging_log_mode_end'), //cpg1.4
+  array('記錄電子卡片', 'log_ecards', 1, 'f=index.htm&amp;as=admin_general_log_ecards&amp;ae=admin_general_log_ecards_end'), //cpg1.4
+  array('記錄投票的統計','vote_details',1, 'f=index.htm&amp;as=admin_logging_votedetails&amp;ae=admin_logging_votedetails_end'), //cpg1.4
+  array('記錄瀏覽的統計','hit_details',1, 'f=index.htm&amp;as=admin_logging_hitdetails&amp;ae=admin_logging_hitdetails_end'), //cpg1.4
+
+  '維修設定', //cpg1.4
+  array('開啟除錯模式', 'debug_mode', 9, 'f=index.htm&amp;as=debug_mode&amp;ae=debug_mode_end'), //cpg1.4
+  array('顯示除錯模式裡的通知', 'debug_notice', 1, 'f=index.htm&amp;as=admin_misc_debug_notices&amp;ae=admin_misc_debug_notices_end'), //cpg1.4
+  array('相簿維修 (離線)', 'offline', 1, 'f=index.htm&amp;as=admin_general_offline&amp;ae=admin_general_offline_end'), //cpg1.4
+);
+
+
+// ------------------------------------------------------------------------- //
+// File db_ecard.php
+// ------------------------------------------------------------------------- //
+
+if (defined('DB_ECARD_PHP')) $lang_db_ecard_php = array(
+  'title' => '寄出電子卡片',
+  'ecard_sender' => '寄件者',
+  'ecard_recipient' => '收件者',
+  'ecard_date' => '日期',
+  'ecard_display' => '顯示電子卡片',
+  'ecard_name' => '名稱',
+  'ecard_email' => '電子郵件',
+  'ecard_ip' => 'IP #',
+  'ecard_ascending' => '升冪',
+  'ecard_descending' => '降冪',
+  'ecard_sorted' => '排序',
+  'ecard_by_date' => '依日期',
+  'ecard_by_sender_name' => '依寄件者名稱',
+  'ecard_by_sender_email' => '依寄件者郵件',
+  'ecard_by_sender_ip' => '依寄件者的 IP 位址',
+  'ecard_by_recipient_name' => '依收件者名稱',
+  'ecard_by_recipient_email' => '依收件者郵件',
+  'ecard_number' => '顯示紀錄 %s 到 %s 在 %s',
+  'ecard_goto_page' => '到頁面',
+  'ecard_records_per_page' => '頁面記錄',
+  'check_all' => '全選',
+  'uncheck_all' => '都不選',
+  'ecards_delete_selected' => '刪除選取的卡片',
+  'ecards_delete_confirm' => '你確定要刪除記錄嗎？請勾選。',
+  'ecards_delete_sure' => '我確定',
+);
+
+
+// ------------------------------------------------------------------------- //
+// File db_input.php
+// ------------------------------------------------------------------------- //
+
+if (defined('DB_INPUT_PHP')) $lang_db_input_php = array(
+  'empty_name_or_com' => '請輸入您的名字和留言',
+  'com_added' => '您的留言已經加入',
+  'alb_need_title' => '您必須為相簿提供一個標題 !',
+  'no_udp_needed' => '沒有更新的必要',
+  'alb_updated' => '相簿已經更新',
+  'unknown_album' => '所選擇的相簿不存在或您沒有權限上傳檔案到此相簿',
+  'no_pic_uploaded' => '沒有檔案被上傳 !<br /><br />如果您確定有選擇檔案上傳, 請檢查伺服器是否允許上傳檔案...',
+  'err_mkdir' => '無法建立目錄 %s！',
+  'dest_dir_ro' => '目錄 %s 無法讀寫！',
+  'err_move' => '無法移動 %s 到 %s！',
+  'err_fsize_too_large' => '您上傳的圖片太大 (不能超過 %s x %s)！', //obsolete since cpg1.3 - consider removal in cpg1.4 once upload.php has been overhauled
+  'err_imgsize_too_large' => '您上傳的圖檔太大 (不能超過 %s KB)！', //obsolete since cpg1.3 - consider removal in cpg1.4 once upload.php has been overhauled
+  'err_invalid_img' => '上傳的檔案並不是容許的圖片格式 !',
+  'allowed_img_types' => '您只可以上傳 %s 張圖片.',
+  'err_insert_pic' => '檔案 \'%s\' 無法加入此相簿 ',
+  'upload_success' => '檔案上傳完成!<br /><br />當管理者核准後就可以看到檔案了.',
+  'notify_admin_email_subject' => '%s - 上傳檔案通知',
+  'notify_admin_email_body' => '%s有上傳檔案 需要你的核准. 請查閱 %s',
+  'info' => '訊息',
+  'com_added' => '留言已加入',
+  'alb_updated' => '相簿已經更新',
+  'err_comment_empty' => '留言是空的 !',
+  'err_invalid_fext' => '只有下列的副檔名才允許上傳 : <br /><br />%s.',
+  'no_flood' => '抱歉, 此圖片最後一個留言是您提供<br /><br />您只可以修改您的留言',
+  'redirect_msg' => '頁面轉移中.<br /><br /><br />按 \'繼續\' 如果頁面沒有自動刷新',
+  'upl_success' => '已經加入您的圖片',
+  'email_comment_subject' => '相簿已有新留言',
+  'email_comment_body' => '已經有留言發佈在您的相簿。請瀏覽',
+  'album_not_selected' => '無選擇的相簿', //cpg1.4
+  'com_author_error' => '已有註冊會員使用了這個名稱，請登入或使用其它名稱', //cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File delete.php
+// ------------------------------------------------------------------------- //
+
+if (defined('DELETE_PHP')) $lang_delete_php = array(
+  'caption' => '說明',
+  'fs_pic' => '原圖',
+  'del_success' => '完成刪除',
+  'ns_pic' => '標準尺寸圖片',
+  'err_del' => '無法刪除',
+  'thumb_pic' => '縮圖',
+  'comment' => '留言',
+  'im_in_alb' => '相簿內圖片',
+  'alb_del_success' => '相簿 &laquo;%s&raquo; 已刪除', //cpg1.4
+  'alb_mgr' => '相簿管理',
+  'err_invalid_data' => '接收到不正確的資料於 \'%s\'',
+  'create_alb' => '建立相簿 \'%s\'',
+  'update_alb' => '更新相簿 \'%s\' 標題為 \'%s\' 索引為 \'%s\'',
+  'del_pic' => '刪除圖片',
+  'del_alb' => '刪除相簿',
+  'del_user' => '刪除會員',
+  'err_unknown_user' => '所選擇的會員不存在！',
+  'err_empty_groups' => '找不要群組的資料表，或沒有資料！', //cpg1.4
+  'comment_deleted' => '留言已刪除',
+  'npic' => '圖片', //cpg1.4
+  'pic_mgr' => '圖片管理', //cpg1.4
+  'update_pic' => '更新圖片 \'%s\' 的檔名為 \'%s\'，索引是 \'%s\'', //cpg1.4
+  'username' => '帳號', //cpg1.4
+  'anonymized_comments' => '%s 個無名的留言', //cpg1.4
+  'anonymized_uploads' => '%s 個無名的公共上傳', //cpg1.4
+  'deleted_comments' => '刪除了 %s 個留言', //cpg1.4
+  'deleted_uploads' => '刪除了 %s 個公共上傳', //cpg1.4
+  'user_deleted' => '會員 %s 已刪除', //cpg1.4
+  'activate_user' => '啟用帳號', //cpg1.4
+  'user_already_active' => '帳號已被啟用', //cpg1.4
+  'activated' => '啟用', //cpg1.4
+  'deactivate_user' => '關閉帳號', //cpg1.4
+  'user_already_inactive' => '帳號已被關閉', //cpg1.4
+  'deactivated' => '關閉', //cpg1.4
+  'reset_password' => '重設密碼', //cpg1.4
+  'password_reset' => '密碼重設成 %s', //cpg1.4
+  'change_group' => '改變主要群組', //cpg1.4
+  'change_group_to_group' => '從 %s 改成 %s', //cpg1.4
+  'add_group' => '新增額外群組', //cpg1.4
+  'add_group_to_group' => '加入會員 %s 到群組 %s。會員現在的主要群組是 %s，額外群組是 %s。', //cpg1.4
+  'status' => 'Status', //cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File displayecard.php
+// ------------------------------------------------------------------------- //
+
+if (defined('DISPLAYECARD_PHP')) {
+
+$lang_displayecard_php = array(
+  'invalid_data' => '您要使用的電子卡片資料有錯誤。請檢查連結。', //cpg1.4
+);
+}
+
+// ------------------------------------------------------------------------- //
+// File displayimage.php
+// ------------------------------------------------------------------------- //
+
+if (defined('DISPLAYIMAGE_PHP')){
+
+$lang_display_image_php = array(
+  'confirm_del' => '確定要刪除此圖片嗎 ? \\n留言也會被刪除.', //js-alert
+  'del_pic' => '刪除此圖片',
+  'size' => '%s x %s 像素',
+  'views' => '%s 次',
+  'slideshow' => '連續播放',
+  'stop_slideshow' => '停止播放',
+  'view_fs' => '點選圖片以觀看原圖',
+  'edit_pic' => '編輯檔案資訊', //cpg1.4
+  'crop_pic' => '裁剪與旋轉',
+  'set_player' => '改變播放軟體',
+);
+
+$lang_picinfo = array(
+  'title' =>'圖片資訊',
+  'Filename' => '檔案名稱',
+  'Album name' => '相簿名稱',
+  'Rating' => '評分 (%s 次投票)',
+  'Keywords' => '關鍵字',
+  'File Size' => '檔案大小',
+  'Date Added' => '增入日期', //cpg1.4
+  'Dimensions' => '尺寸',
+  'Displayed' => '顯示',
+  'URL' => 'URL', //cpg1.4
+  'Make' => '品牌', //cpg1.4
+  'Model' => '型號', //cpg1.4
+  'DateTime' => '日期時間', //cpg1.4
+  'DateTimeOriginal' => '拍照日期', //cpg1.4
+  'ISOSpeedRatings'=>'ISO', //cpg1.4
+  'MaxApertureValue' => '孔徑最大值', //cpg1.4
+  'FocalLength' => '焦點尺寸', //cpg1.4
+  'Comment' => '留言',
+  'addFav'=>'加到我的最愛',
+  'addFavPhrase'=>'我的最愛',
+  'remFav'=>'從我的最愛移除',
+  'iptcTitle'=>'IPTC 標題',
+  'iptcCopyright'=>'IPTC 版權',
+  'iptcKeywords'=>'IPTC 關鍵字',
+  'iptcCategory'=>'IPTC 類別',
+  'iptcSubCategories'=>'IPTC 子類別',
+  'ColorSpace' => '顏色空間', //cpg1.4
+  'ExposureProgram' => '曝光軟體', //cpg1.4
+  'Flash' => '閃光', //cpg1.4
+  'MeteringMode' => '計量模式', //cpg1.4
+  'ExposureTime' => '曝光時間', //cpg1.4
+  'ExposureBiasValue' => '曝光偏好', //cpg1.4
+  'ImageDescription' => ' 圖片簡介', //cpg1.4
+  'Orientation' => '定位', //cpg1.4
+  'xResolution' => 'X 解析度', //cpg1.4
+  'yResolution' => 'Y 解析度', //cpg1.4
+  'ResolutionUnit' => '解析度', //cpg1.4
+  'Software' => '軟體', //cpg1.4
+  'YCbCrPositioning' => 'YCbCrPositioning', //cpg1.4
+  'ExifOffset' => 'Exif 偏移量', //cpg1.4
+  'IFD1Offset' => 'IFD1 偏移量', //cpg1.4
+  'FNumber' => 'FNumber', //cpg1.4
+  'ExifVersion' => 'Exif 版本', //cpg1.4
+  'DateTimeOriginal' => '原本日期', //cpg1.4
+  'DateTimedigitized' => '電子日期', //cpg1.4
+  'ComponentsConfiguration' => '零件設定', //cpg1.4
+  'CompressedBitsPerPixel' => '壓縮量/像素', //cpg1.4
+  'LightSource' => '光源', //cpg1.4
+  'ISOSetting' => 'ISO 設定', //cpg1.4
+  'ColorMode' => '顏色模式', //cpg1.4
+  'Quality' => '品質', //cpg1.4
+  'ImageSharpening' => '尖銳圖片', //cpg1.4
+  'FocusMode' => '焦距模式', //cpg1.4
+  'FlashSetting' => '閃光設定', //cpg1.4
+  'ISOSelection' => 'ISO 選項', //cpg1.4
+  'ImageAdjustment' => '圖片調整', //cpg1.4
+  'Adapter' => '轉接器', //cpg1.4
+  'ManualFocusDistance' => '手動的焦距距離', //cpg1.4
+  'DigitalZoom' => '電子變焦', //cpg1.4
+  'AFFocusPosition' => 'AF 焦距位置', //cpg1.4
+  'Saturation' => '浸透度', //cpg1.4
+  'NoiseReduction' => '減少干擾', //cpg1.4
+  'FlashPixVersion' => '閃光版本', //cpg1.4
+  'ExifImageWidth' => 'Exif 圖片寬度', //cpg1.4
+  'ExifImageHeight' => 'Exif 圖片高度', //cpg1.4
+  'ExifInteroperabilityOffset' => 'Exif 通用偏移量', //cpg1.4
+  'FileSource' => '檔案來源', //cpg1.4
+  'SceneType' => '場景類型', //cpg1.4
+  'CustomerRender' => '顧客處理', //cpg1.4
+  'ExposureMode' => '曝光模式', //cpg1.4
+  'WhiteBalance' => '白色平衡', //cpg1.4
+  'DigitalZoomRatio' => '電子變焦比率', //cpg1.4
+  'SceneCaptureMode' => '場景拍攝模式', //cpg1.4
+  'GainControl' => '獲得控制', //cpg1.4
+  'Contrast' => '對比', //cpg1.4
+  'Saturation' => '浸透度', //cpg1.4
+  'Sharpness' => '尖銳度', //cpg1.4
+  'ManageExifDisplay' => '管理 Exif 顯示', //cpg1.4
+  'submit' => '送出', //cpg1.4
+  'success' => '資料已更新完畢。', //cpg1.4
+  'details' => '細節', //cpg1.4
+);
+
+$lang_display_comments = array(
+  'OK' => 'OK',
+  'edit_title' => '編輯此留言',
+  'confirm_delete' => '確定要刪除此留言？', //js-alert
+  'add_your_comment' => '發佈您的留言',
+  'name'=>'名稱',
+  'comment'=>'留言',
+  'your_name' => '無名',
+  'report_comment_title' => '檢舉這篇留言', //cpg1.4
+);
+
+$lang_fullsize_popup = array(
+  'click_to_close' => '點選圖片來關閉視窗',
+);
+
+}
+
+// ------------------------------------------------------------------------- //
+// File ecard.php
+// ------------------------------------------------------------------------- //
+
+if (defined('ECARDS_PHP') || defined('DISPLAYECARD_PHP')) $lang_ecard_php =array(
+  'title' => '寄出 電子卡片',
+  'invalid_email' => '<font color="red"><b>警告</b></font>：不正確的電子郵件：', //cpg1.4
+  'ecard_title' => '%s 寄給你一張電子卡片',
+  'error_not_image' => '電子卡片只能寄出圖片.',
+  'view_ecard' => '如果電子卡片無法正確顯示，請按此連結', //cpg1.4
+  'view_ecard_plaintext' => '請到這個網址瀏覽電子卡片：', //cpg1.4
+  'view_more_pics' => '更多圖片！', //cpg1.4
+  'send_success' => '你的 電子卡片 已寄出',
+  'send_failed' => '抱歉, 本伺服器無法為你寄出 電子卡片...',
+  'from' => '由',
+  'your_name' => '你的名稱',
+  'your_email' => '你的電子郵件',
+  'to' => '給',
+  'rcpt_name' => '收件者名稱',
+  'rcpt_email' => '收件者電子郵件',
+  'greetings' => '標題', //cpg1.4
+  'message' => '訊息內容', //cpg1.4
+  'ecards_footer' => '寄件人 %s 從 IP %s 在 %s (相簿主機時間)', //cpg1.4
+  'preview' => '電子卡片預覽', //cpg1.4
+  'preview_button' => '預覽', //cpg1.4
+  'submit_button' => '寄送卡片', //cpg1.4
+  'preview_view_ecard' => '這是電子卡片的替補連結，不能夠預覽。', //cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File report_file.php //cpg1.4
+// ------------------------------------------------------------------------- //
+
+if (defined('REPORT_FILE_PHP') || defined('DISPLAYREPORT_PHP')) $lang_report_php =array(
+  'title' => '檢舉報告', //cpg1.4
+  'invalid_email' => '<b>警告</b>：錯誤的電子郵件！', //cpg1.4
+  'report_subject' => '檢舉信件從 %s 在相簿 %s', //cpg1.4
+  'view_report' => '檢舉報告的替補連結，如果無法正常顯示。', //cpg1.4
+  'view_report_plaintext' => '請到下面的網址瀏覽檢舉報告：', //cpg1.4
+  'view_more_pics' => '相簿', //cpg1.4
+  'send_success' => '您的檢舉已傳送', //cpg1.4
+  'send_failed' => '抱歉，但是主機無法傳送您的檢舉報告...', //cpg1.4
+  'from' => '從', //cpg1.4
+  'your_name' => '您的名稱', //cpg1.4
+  'your_email' => '您的信箱', //cpg1.4
+  'to' => '到', //cpg1.4
+  'administrator' => '管理員', //cpg1.4
+  'subject' => '標題', //cpg1.4
+  'comment_field_name' => '檢舉 "%s" 的留言', //cpg1.4
+  'reason' => '原因', //cpg1.4
+  'message' => '訊息', //cpg1.4
+  'report_footer' => '寄件人 %s 從 IP %s 在 %s (相簿主機時間)', //cpg1.4
+  'obscene' => '猥褻', //cpg1.4
+  'offensive' => '攻擊性', //cpg1.4
+  'misplaced' => '文不對題', //cpg1.4
+  'missing' => '不存在', //cpg1.4
+  'issue' => '錯誤/無法瀏覽', //cpg1.4
+  'other' => '其它', //cpg1.4
+  'refers_to' => '檢舉的檔案是', //cpg1.4
+  'reasons_list_heading' => '檢舉理由：', //cpg1.4
+  'no_reason_given' => '沒有理由', //cpg1.4
+  'go_comment' => '瀏覽留言', //cpg1.4
+  'view_comment' => '瀏覽完整報告和留言', //cpg1.4
+  'type_file' => '檔案', //cpg1.4
+  'type_comment' => '留言', //cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File editpics.php
+// ------------------------------------------------------------------------- //
+
+if (defined('EDITPICS_PHP')) $lang_editpics_php = array(
+  'pic_info' => '檔案資料',
+  'album' => '相簿',
+  'title' => '標題',
+  'filename' => '檔案名', //cpg1.4
+  'desc' => '描述',
+  'keywords' => '關鍵字',
+  'new_keyword' => '新關鍵字', //cpg1.4
+  'new_keywords' => '找到新關鍵字', //cpg1.4
+  'existing_keyword' => '存在的關鍵字', //cpg1.4
+  'pic_info_str' => '%s &times; %s - %s KB - %s 次觀看 - %s 次評分',
+  'approve' => '核准圖片',
+  'postpone_app' => '延遲核准',
+  'del_pic' => '刪除檔案',
+  'del_all' => '刪除全部檔案', //cpg1.4
+  'read_exif' => '再次讀取 EXIF 資料',
+  'reset_view_count' => '清除瀏覽計數器',
+  'reset_all_view_count' => '清除全部的瀏覽計數器', //cpg1.4
+  'reset_votes' => '清除評分',
+  'reset_all_votes' => '清除評分', //cpg1.4
+  'del_comm' => '刪除留言',
+  'del_all_comm' => '刪除全部留言', //cpg1.4
+  'upl_approval' => '核准上傳', //cpg1.4
+  'edit_pics' => '編輯圖片',
+  'see_next' => '觀看下一張圖片',
+  'see_prev' => '觀看前一張圖片',
+  'n_pic' => '%s 張圖片',
+  'n_of_pic_to_disp' => '圖片顯示數量',
+  'apply' => '修改',
+  'crop_title' => 'CPG 圖片編輯器',
+  'preview' => '預覽',
+  'save' => '存檔',
+  'save_thumb' =>'存成縮圖',
+  'gallery_icon' => '使用這個圖示', //cpg1.4
+  'sel_on_img' =>'選擇的區域必須在圖片的範圍內！', //js-alert
+  'album_properties' =>'相簿屬性', //cpg1.4
+  'parent_category' =>'母類別', //cpg1.4
+  'thumbnail_view' =>'縮圖顯示', //cpg1.4
+  'select_unselect' =>'選擇/反選 全部', //cpg1.4
+  'file_exists' => "目標檔案 '%s' 已經存在。", //cpg1.4
+  'rename_failed' => "無法將 '%s' 改成 '%s'。", //cpg1.4
+  'src_file_missing' => "來源檔案 '%s' 不存在。", // cpg 1.4
+  'mime_conv' => "無法轉換檔案 '%s' 到 '%s'",//cpg1.4
+  'forb_ext' => '不允許的副檔名。',//cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File faq.php
+// ------------------------------------------------------------------------- //
+
+if (defined('FAQ_PHP')) $lang_faq_php = array(
+  'faq' => '常見問題解答',
+  'toc' => '目錄',
+  'question' => '問題: ',
+  'answer' => '解答: ',
+);
+
+if (defined('FAQ_PHP')) $lang_faq_data = array(
+  '問題與解答',
+  array('為什麼要註冊？', '管理員決定使用者是否需要註冊。註冊成為會員可獲得額外的功能，如 上傳檔案，有 我的最愛列表，對影像評分及發表留言 等等。', 'allow_user_registration', '1'), //cpg1.4
+  array('如何註冊？', '到 &quot;註冊&quot; 去填寫欄位內的資料 (部分欄位是選填的)。<br />如果管理員開啟 Email 啟用功能，在你確認送出註冊資料後你會收到一封認證信寄到你所填寫的信箱內，裡面會說明如何啟用你的會員資格。會員登入前必須先完成啟用動作。', 'allow_user_registration', '1'), //cpg1.4
+  array('如何登入?', '到 &quot;登入&quot;, 填入你的會員名稱及密碼 且勾選 &quot;記住我&quot; 下次你再來的時候就會自動登入了.<br /><b>注意:如果你點選 &quot;記住我 Me&quot; ,Cookies 功能必須開啟,且本站的cookie存在你的電腦中..</b>', 'offline', 0),
+  array('為何無法登入?', '你已經註冊並啟用帳號了嗎(回覆認證郵件的連結)?. 那個連結將會啟用你的帳號. 其他登入問題 請聯絡網站管理員.', 'offline', 0),
+  array('忘記密碼了怎麼辦 ?', '如果這個網站有 &quot;忘記密碼了&quot; 的連結,就按它. 不然就聯絡網站管理員 請他給你一個新的密碼.', 'offline', 0),
+  //array('我的email變更了怎麼辦 ?', '只要登入 並且到 &quot;我的個人資料&quot; 變更你的電子郵件地址就可以了', 'offline', 0),
+  array('如何把圖片存到  &quot;我的最愛 &quot;?', '點選圖片並且點按 &quot;影像資訊&quot; 連結 (<img src="images/info.gif" width="16" height="16" border="0" alt="Picture information" />); 在影像資訊設定裡面按 &quot;加入我的最愛&quot;.<br />管理員可能有預設&quot;影像資訊; .<br />注意:Cookies 功能必須開啟,且本站的cookie存在你的電腦中.', 'offline', 0),
+  array('如何對圖片評分 ?', '點按該影像縮圖,在影像底下可以點選你的評分.', 'offline', 0),
+  array('如何發表留言 ?', '點按該影像縮圖,在影像底下可以發表留言.', 'offline', 0),
+  array('如何上傳圖片 ?', '到 &quot;上傳圖片&quot;並選擇你要上傳到哪一個相簿,按 &quot;瀏覽&quot; 且點選要上傳的圖片 按 &quot;開啟&quot; (你可以加入影像標題及描述) 然後按 &quot;確認&quot;', 'allow_private_albums', 1), //cpg1.4
+  array('要將圖片上傳到哪裡？', '你可以上傳圖片在 &quot;我的相簿&quot;. 管理員可能允許你上傳圖片到主相簿內.', 'allow_private_albums', 0),
+  array('哪種格式或大小的影像可以上傳?', '格式跟大小 (jpg,gif,..etc.) 根據管理員的設定.', 'offline', 0),
+  array('如何新增,修改 或刪除相簿 從 &quot;我的相簿&quot;?', '你必須在 &quot;管理模式&quot;<br />到 &quot;新增/排序 我的相簿&quot;按 &quot;新增New&quot;. 變更 &quot;新相簿&quot; 到你要的名稱.<br />你可以對你的每一個相簿重新命名.<br />按 &quot;修改;.', 'allow_private_albums', 0),
+  array('我要如何禁止其他會員看我的相簿?', '你必須在 &quot;管理模式&quot;<br />到 &quot;變更我的相簿. 在 &quot;更新相簿&quot; 欄位, 選擇你要變更的相簿.<br />在這裡, 你可以變更相簿名稱 描述 縮圖 ,及限制觀看 留言 評分 的權限.<br />按 &quot;更新相簿&quot;.', 'allow_private_albums', 0),
+  array('如何觀看其他會員的相簿?', '到 &quot;相簿目錄&quot; 選擇 &quot;會員相簿&quot;.', 'allow_private_albums', 0),
+  array('什麼是 cookies?', 'Cookies 是網站放在你電腦中的文字資料.<br />Cookies 通常讓使用者再次回到網站時自動登入 並記錄其他設定資料.', 'offline', 0),
+  array('在哪裡可以取得這個相簿程式?', 'Coppermine 是基於GNU GPL的免費多媒體相簿. 它是全功能的 且支援不同的平台. 請到<a href="http://coppermine-gallery.net/">Coppermine 的網站</a> 取得更多的資訊 或是下載它.', 'offline', 0),
+
+  '網站導引',
+  array('什麼是 &quot;相簿目錄 &quot;?', '這將顯示整個相簿 包含每一個分類. 縮圖可以連結到類別中.', 'offline', 0),
+  array('什麼是 &quot;我的相簿 &quot;?', '這項功能讓會員建立自己的相簿,可增加,刪除,修改相簿. 並且可上傳檔案到相簿裡.', 'allow_private_albums', 1), //cpg1.4
+  array('有什麼差異在 &quot;管理模式&quot; 和 &quot;會員模式&quot;?', '這項功能, 在管理模式時, 允許會員修改他們自己的相簿 (如果管理員允許的話).', 'allow_private_albums', 0),
+  array('什麼是 &quot;上傳圖片 &quot;?', '這項功能允許會員上傳影像(檔案大小及格式依管理員設定) 到指定的相簿.', 'allow_private_albums', 0),
+  array('什麼是 &quot;最新上傳 &quot;?', '這項功能顯示最新上傳到相簿的檔案.', 'offline', 0),
+  array('什麼是 &quot;最新留言 &quot;?', '這項功能會員對影像發表的最新留言.', 'offline', 0),
+  array('什麼是 &quot;熱門圖片 &quot;?', '這項功能顯示被觀看最多次的影像,不論是會員或訪客.', 'offline', 0),
+  array('什麼是 &quot;最高評分 &quot;?', '這項功能顯示會員評分最高的影像, 顯示平均分數(例如: 五個會員各給一個評分 <img src="images/rating3.gif" width="65" height="14" border="0" alt="" />: 影像將有平均評分 <img src="images/rating3.gif" width="65" height="14" border="0" alt="" /> ;五個會員評分從 1 到 5 (1,2,3,4,5) 平均結果將是 <img src="images/rating3.gif" width="65" height="14" border="0" alt="" /> .)<br />評分從 <img src="images/rating5.gif" width="65" height="14" border="0" alt="best" /> (最佳) 到 <img src="images/rating0.gif" width="65" height="14" border="0" alt="worst" /> (最差).', 'offline', 0),
+  array('什麼是 &quot;我的最愛 &quot;?', '這項功能讓會員儲存喜愛的影像,需要有cookie資訊.', 'offline', 0),
+);
+
+
+// ------------------------------------------------------------------------- //
+// File forgot_passwd.php
+// ------------------------------------------------------------------------- //
+
+if (defined('FORGOT_PASSWD_PHP')) $lang_forgot_passwd_php = array(
+  'forgot_passwd' => '忘記密碼',
+  'err_already_logged_in' => '您已經登入了！',
+  'enter_email' => '輸入您的電子信箱', //cpg1.4
+  'submit' => '繼續',
+  'illegal_session' => '忘記密碼的工作階段錯誤或已過期。', //cpg1.4
+  'failed_sending_email' => '忘記密碼的郵件無法寄出！',
+  'email_sent' => '新帳號和密碼的郵件已經寄到 %s', //cpg1.4
+  'verify_email_sent' => '電子郵件已寄到 %s。請檢查您的信箱進行下一步動作。', //cpg1.4
+  'err_unk_user' => '選擇的會員不存在！',
+  'account_verify_subject' => '%s - 新密碼申請', //cpg1.4
+  'account_verify_body' => '您已經申請了新的密碼。如果要新的密碼寄到您的信箱，請點下面的連結：
+
+%s', //cpg1.4
+  'passwd_reset_subject' => '%s - 您的新密碼', //cpg1.4
+  'passwd_reset_body' => '這是您申請的新密碼：
+帳號： %s
+密碼： %s
+請點 %s 登入。', //cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File groupmgr.php
+// ------------------------------------------------------------------------- //
+
+if (defined('GROUPMGR_PHP')) $lang_groupmgr_php = array(
+  'group_name' => '群組', //cpg1.4
+  'permissions' => '權限', //cpg1.4
+  'public_albums' => '允許公用相簿上傳', //cpg1.4
+  'personal_gallery' => '私人相簿', //cpg1.4
+  'upload_method' => '上傳方法', //cpg1.4
+  'disk_quota' => '空間配額', //cpg1.4
+  'rating' => '評分', //cpg1.4
+  'ecards' => '電子卡片', //cpg1.4
+  'comments' => '留言', //cpg1.4
+  'allowed' => '允許 ', //cpg1.4
+  'approval' => '審核', //cpg1.4
+  'boxes_number' => '欄位數量', //cpg1.4
+  'variable' => '更改', //cpg1.4
+  'fixed' => '固定', //cpg1.4
+  'apply' => '修改',
+  'create_new_group' => '建立新群組',
+  'del_groups' => '刪除所選擇的群組',
+  'confirm_del' => '警告, 當刪除了一個群組, 屬於該群組的用戶將被轉移至 \'Registered\' 群組中 !\n\nn確定要刪除嗎 ?', //js-alert
+  'title' => '管理會員群組',
+  'num_file_upload' => '上傳欄位', //cpg1.4
+  'num_URI_upload' => 'URI 上傳欄位', //cpg1.4
+  'reset_to_default' => '重設為預設名稱 (%s) - 建議！', //cpg1.4
+  'error_group_empty' => '群組資料表沒資料！<br /><br />重新建立預設群組，請刷新此頁面', //cpg1.4
+  'explain_greyed_out_title' => '為什麼不能使用？', //cpg1.4
+  'explain_guests_greyed_out_text' => '您不能改變這個群組的屬性因為設定裡面的 &quot;允許訪客進入&quot; 是設定為 &quot;否&quot;。 全部訪客 (這個群組的成員 %s) 無法做任何動作除了登入，所以不能改變群組的設定。', //cpg1.4
+  'explain_banned_greyed_out_text' => '您不能改變這個群組 %s 的屬性因為它的成員無法做任何動作。', //cpg1.4
+  'group_assigned_album' => '分配的相簿', //cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File index.php
+// ------------------------------------------------------------------------- //
+
+if (defined('INDEX_PHP')){
+
+$lang_index_php = array(
+  'welcome' => '歡迎 !',
+);
+
+$lang_album_admin_menu = array(
+  'confirm_delete' => '確定要刪除這相簿 ? \\n所有圖片及留言都會被刪除.', //js-alert
+  'delete' => '刪除',
+  'modify' => '屬性',
+  'edit_pics' => '編輯',
+);
+
+$lang_list_categories = array(
+  'home' => '相簿首頁',
+  'stat1' => '<b>[pictures]</b> 張影像於 <b>[albums]</b> 個相簿及 <b>[cat]</b> 個類別, 有 <b>[comments]</b> 個留言, 被觀看 <b>[views]</b> 次',
+  'stat2' => '<b>[pictures]</b> 張影像於 <b>[albums]</b> 個相簿, 被觀看 <b>[views]</b> 次',
+  'xx_s_gallery' => '%s\'s 相簿',
+  'stat3' => '<b>[pictures]</b> 張影像於 <b>[albums]</b> 個相簿, 有 <b>[comments]</b> 個留言, 被觀看 <b>[views]</b> 次',
+);
+
+$lang_list_users = array(
+  'user_list' => '會員列表',
+  'no_user_gal' => '還沒有會員相簿',
+  'n_albums' => '%s 個相簿',
+  'n_pics' => '%s 張影像',
+);
+
+$lang_list_albums = array(
+  'n_pictures' => '%s 張影像',
+  'last_added' => ', 最新影像於 %s',
+  'n_link_pictures' => '%s 連結的檔案', //cpg1.4
+  'total_pictures' => '%s 總檔案', //cpg1.4
+);
+
+}
+
+// ------------------------------------------------------------------------- //
+// File keywordmgr.php //cpg1.4
+// ------------------------------------------------------------------------- //
+
+if (defined('KEYWORDMGR_PHP')) $lang_keywordmgr_php = array(
+  'title' => '關鍵字管理', //cpg1.4
+  'edit' => '編輯', //cpg1.4
+  'delete' => '刪除', //cpg1.4
+  'search' => '搜尋', //cpg1.4
+  'keyword_test_search' => '搜尋 %s 於新視窗', //cpg1.4
+  'keyword_del' => '刪除關鍵字 %s', //cpg1.4
+  'confirm_delete' => '確定要刪除相簿裡的關鍵字 %s 嗎？', //cpg1.4  // js-alert
+  'change_keyword' => '改變關鍵字', //cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File login.php
+// ------------------------------------------------------------------------- //
+
+if (defined('LOGIN_PHP')) $lang_login_php = array(
+  'login' => '登入',
+  'enter_login_pswd' => '輸入會員名稱和密碼',
+  'username' => '會員名稱',
+  'password' => '密碼',
+  'remember_me' => '記住我',
+  'welcome' => '歡迎 %s ...',
+  'err_login' => '*** 無法登入. 請重試 ***',
+  'err_already_logged_in' => '您已經登入！',
+  'forgot_password_link' => '忘記密碼',
+  'cookie_warning' => '警告：您的瀏覽器不支援 cookies', //cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File logout.php
+// ------------------------------------------------------------------------- //
+
+if (defined('LOGOUT_PHP')) $lang_logout_php = array(
+  'logout' => '登出',
+  'bye' => '再見 %s ...',
+  'err_not_loged_in' => '您還沒有登入！',
+);
+
+// ------------------------------------------------------------------------- //
+// File minibrowser.php  //cpg1.4
+// ------------------------------------------------------------------------- //
+
+if (defined('MINIBROWSER_PHP')) $lang_minibrowser_php = array(
+  'close' => '關閉', //cpg1.4
+  'submit' => 'OK', //cpg1.4
+  'up' => '上一個層次', //cpg1.4
+  'current_path' => '目前的路徑', //cpg1.4
+  'select_directory' => '請選擇目錄', //cpg1.4
+  'click_to_close' => '點圖片關閉視窗',
+);
+
+// ------------------------------------------------------------------------- //
+// File modifyalb.php
+// ------------------------------------------------------------------------- //
+
+if (defined('MODIFYALB_PHP')) $lang_modifyalb_php = array(
+  'upd_alb_n' => '更新相簿 %s',
+  'general_settings' => '一般設定',
+  'alb_title' => '相簿標題',
+  'alb_cat' => '相簿類別',
+  'alb_desc' => '相簿描述',
+  'alb_keyword' => '相簿關鍵字', //cpg1.4
+  'alb_thumb' => '相簿縮圖',
+  'alb_perm' => '相簿權限',
+  'can_view' => '允許觀看相簿的會員',
+  'can_upload' => '訪客可上傳圖片',
+  'can_post_comments' => '訪客可發表留言',
+  'can_rate' => '訪客可為圖片評分',
+  'user_gal' => '會員相簿',
+  'no_cat' => '* 沒有類別 *',
+  'alb_empty' => '相簿是空的',
+  'last_uploaded' => '最近上傳',
+  'public_alb' => '任何人 (公開相簿)',
+  'me_only' => '只有我',
+  'owner_only' => '只有相簿擁有人 (%s) ',
+  'groupp_only' => ' \'%s\' 群組的會員',
+  'err_no_alb_to_modify' => '資料庫內沒有您可修改的相簿.',
+  'update' => '更新相簿',
+  'reset_album' => '重設相簿', //cpg1.4
+  'reset_views' => '清除 %s 的瀏覽計數到 &quot;0&quot;', //cpg1.4
+  'reset_rating' => '清除 %s 的全部評分', //cpg1.4
+  'delete_comments' => '刪除 %s 裡的留言', //cpg1.4
+  'delete_files' => '%s無法改變%s 的刪除全部檔案，在 %s 裡面', //cpg1.4
+  'views' => '瀏覽', //cpg1.4
+  'votes' => '投票', //cpg1.4
+  'comments' => '留言', //cpg1.4
+  'files' => '檔案', //cpg1.4
+  'submit_reset' => '傳送改變', //cpg1.4
+  'reset_views_confirm' => '確定', //cpg1.4
+  'notice1' => '(*) 依照 %s群組%s 設定',  //cpg1.4 //(do not translate %s!)
+  'alb_password' => '相簿密碼', //cpg1.4
+  'alb_password_hint' => '相簿的密碼提示', //cpg1.4
+  'edit_files' =>'編輯檔案', //cpg1.4
+  'parent_category' =>'母類別', //cpg1.4
+  'thumbnail_view' =>'縮圖顯示', //cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File phpinfo.php
+// ------------------------------------------------------------------------- //
+
+if (defined('PHPINFO_PHP')) $lang_phpinfo_php = array(
+  'php_info' => 'PHP 資訊',
+  'explanation' => '這是用 PHP 的函式來建立的資訊 <a href="http://www.php.net/phpinfo">phpinfo()</a>，在 CPG 相簿內顯示 (移除右邊的輸出)。',
+  'no_link' => '讓其他人看到您的 phpinfo 會有安全問題，所以這個資訊只有在登入管理帳號後才能看到。您不能將這個頁面的連結給別人，他們會看不到任何資訊。',
+);
+
+// ------------------------------------------------------------------------- //
+// File picmgr.php //cpg1.4
+// ------------------------------------------------------------------------- //
+if (defined('PICMGR_PHP')) $lang_picmgr_php = array(
+  'pic_mgr' => '圖片管理', //cpg1.4
+  'select_album' => '選擇相簿', //cpg1.4
+  'delete' => '刪除', //cpg1.4
+  'confirm_delete1' => '確定要刪除這個圖片？', //cpg1.4
+  'confirm_delete2' => '\n圖片會永遠被刪除。', //cpg1.4
+  'apply_modifs' => '套用外掛', //cpg1.4
+  'confirm_modifs' => '確定外掛', //cpg1.4
+  'pic_need_name' => '圖片需要名稱！', //cpg1.4
+  'no_change' => '您沒有做任何改變！', //cpg1.4
+  'no_album' => '* 沒有相簿 *', //cpg1.4
+  'explanation_header' => '這裡設定的自訂排序只有在這些標準下使用', //cpg1.4
+  'explanation1' => '管理員在設定內將 "檔案的預設排序" 選成 "大到小" 或 "小到大" (會員在沒有設定排序下所使用的預設排序)', //cpg1.4
+  'explanation2' => '會員在縮圖顯示頁面裡選擇 "大到小" 或 "小到大"', //cpg1.4
+);
+
+
+// ------------------------------------------------------------------------- //
+// File pluginmgr.php //cpg1.4
+// ------------------------------------------------------------------------- //
+
+if (defined('PLUGINMGR_PHP')){
+
+$lang_pluginmgr_php = array(
+  'confirm_uninstall' => '確定要移除這個外掛嗎', //cpg1.4
+  'confirm_delete' => '確定要刪除這個外掛嗎', //cpg1.4
+  'pmgr' => '外掛管理', //cpg1.4
+  'name' => '名稱', //cpg1.4
+  'author' => '作者', //cpg1.4
+  'desc' => '簡介', //cpg1.4
+  'vers' => 'v', //cpg1.4
+  'i_plugins' => '安裝的外掛', //cpg1.4
+  'n_plugins' => '未安裝的外掛', //cpg1.4
+  'none_installed' => '沒有安裝', //cpg1.4
+  'operation' => '運作', //cpg1.4
+  'not_plugin_package' => '上傳的檔案不是外掛組件。', //cpg1.4
+  'copy_error' => '複製外掛到外掛目錄時發生錯誤。', //cpg1.4
+  'upload' => '上傳', //cpg1.4
+  'configure_plugin' => '設定外掛', //cpg1.4
+  'cleanup_plugin' => '清除外掛', //cpg1.4
+);
+}
+
+// ------------------------------------------------------------------------- //
+// File ratepic.php
+// ------------------------------------------------------------------------- //
+
+if (defined('RATEPIC_PHP')) $lang_rate_pic_php = array(
+  'already_rated' => '抱歉, 您已經為此圖片評分',
+  'rate_ok' => '您的評分已經被接受',
+  'forbidden' => '你不能對你自己的圖片評分.',
+);
+
+// ------------------------------------------------------------------------- //
+// File register.php & profile.php
+// ------------------------------------------------------------------------- //
+
+if (defined('REGISTER_PHP') || defined('PROFILE_PHP')) {
+
+$lang_register_disclamer = <<<EOT
+ {SITE_NAME} 的管理員會儘快整理會引起反感的資料, 但我們不可能審查每一份文件. 因此您必需同意所有文件只是代表作者的立場及意見, 不代表管理人員的立場 (除了由他們貼出) 並不負任何法律責任.<br />
+<br />
+您必需同意不可張貼任何色情, 暴力, 不良, 不正當, 不健康, 妨害國家安全, 或任何可能違法的文件.  {SITE_NAME} 人員在任何時候都有權過濾並編輯您張貼的內容. 並且會員留在本站內的資料已存在資料庫中. 末經您的同意, 我們不會將您的資料轉給其他人使用, 不過我們不會為任何因駭客行為而外洩的資料負任何責任.<br />
+<br />
+本站使用 cookies 在您的電腦上來儲存資訊. 這樣是方便您更愉快瀏覽. 您的電子郵件地址只是讓我們認證您的資料而已.<br />
+<br />
+按下 '我同意' 代表您同意以上條款.
+EOT;
+
+$lang_register_php = array(
+  'page_title' => '會員註冊',
+  'term_cond' => '條款與規則',
+  'i_agree' => '我同意',
+  'submit' => '確認註冊',
+  'err_user_exists' => '您所填寫的會員名稱已被其他會員使用, 請重選一個',
+  'err_password_mismatch' => '兩個密碼不合, 請重填一次',
+  'err_uname_short' => '會員名稱至少需 2 個字元',
+  'err_password_short' => '密碼至少需 2 個字元',
+  'err_uname_pass_diff' => '會員名稱和密碼不可以相同',
+  'err_invalid_email' => '電子郵件不正確',
+  'err_duplicate_email' => '這個電子郵件已經被其他會員使用',
+  'enter_info' => '輸入註冊資料',
+  'required_info' => '必填的資料',
+  'optional_info' => '選填的資料',
+  'username' => '會員名稱',
+  'password' => '會員密碼',
+  'password_again' => '確認密碼',
+  'email' => '電子郵件',
+  'location' => '居住地區',
+  'interests' => '興趣',
+  'website' => '個人網站',
+  'occupation' => '職業',
+  'error' => '錯誤',
+  'confirm_email_subject' => '%s - 註冊認證',
+  'information' => '訊息',
+  'failed_sending_email' => '所註冊的電子郵件無法寄出 !',
+  'thank_you' => '感謝您的註冊.<br /><br />一封含有如何啟用帳號的電子郵件將會送到您所提供的信箱.',
+  'acct_created' => '您的帳號已經建立, 現在您可以登入',
+  'acct_active' => '您的帳號已經啟用, 現在您可以登入',
+  'acct_already_act' => '帳號已經啟用！',
+  'acct_act_failed' => '此帳號無法啟用！',
+  'err_unk_user' => '所選擇的會員並不存在！',
+  'x_s_profile' => '%s\'的個人資料',
+  'group' => '群組',
+  'reg_date' => '加入日期',
+  'disk_usage' => '磁碟使用量',
+  'change_pass' => '修改密碼',
+  'current_pass' => '目前的密碼',
+  'new_pass' => '新密碼',
+  'new_pass_again' => '確認新密碼',
+  'err_curr_pass' => '目前的密碼不正確',
+  'apply_modif' => '修改',
+  'change_pass' => '修改密碼',
+  'update_success' => '你的個人資料已經更新',
+  'pass_chg_success' => '你的密碼已經修改',
+  'pass_chg_error' => '你的密碼沒有修改',
+  'notify_admin_email_subject' => '%s - 註冊通知',
+  'last_uploads' => '最新的上傳。<br />瀏覽全部此會員的上傳', //cpg1.4
+  'last_comments' => '最新的留言。<br />流覽全部此會員的留言', //cpg1.4
+  'notify_admin_email_body' => '新會員 "%s" 已經在您的相簿註冊',
+  'pic_count' => '上傳的檔案', //cpg1.4
+  'notify_admin_request_email_subject' => '%s - 註冊要求', //cpg1.4
+  'thank_you_admin_activation' => '謝謝。<br /><br />您的註冊要求已經寄給管理員。准許完畢會通知您。', //cpg1.4
+  'acct_active_admin_activation' => '帳號已經啟用，通知信件已經寄給會員。', //cpg1.4
+  'notify_user_email_subject' => '%s - 啟用通知', //cpg1.4
+);
+
+$lang_register_confirm_email = <<<EOT
+感謝您在 {SITE_NAME} 的註冊
+
+請到下面的網址起用您的帳號名稱 "{USER_NAME}"。
+
+<a href="{ACT_LINK}">{ACT_LINK}</a>
+
+歡迎你(妳)，
+
+{SITE_NAME} 管理小組
+
+EOT;
+
+$lang_register_approve_email = <<<EOT
+A new user with the username "{USER_NAME}" has registered in your gallery.
+
+In order to activate the account, you need to click on the link below or copy and paste it in your web browser.
+
+<a href="{ACT_LINK}">{ACT_LINK}</a>
+
+EOT;
+
+$lang_register_activated_email = <<<EOT
+您的帳號已經審核完畢，也已經啟用。
+
+您現在可以到 <a href="{SITE_LINK}">{SITE_LINK}</a> 登入，用帳號名稱 "{USER_NAME}"
+
+
+歡迎你(妳)，
+
+{SITE_NAME} 管理小組
+
+EOT;
+}
+
+// ------------------------------------------------------------------------- //
+// File reviewcom.php
+// ------------------------------------------------------------------------- //
+
+if (defined('REVIEWCOM_PHP')) $lang_reviewcom_php = array(
+  'title' => '觀看留言',
+  'no_comment' => '還沒有留言可以觀看',
+  'n_comm_del' => '%s 個留言已刪除',
+  'n_comm_disp' => '顯示的留言數量',
+  'see_prev' => '看前一個',
+  'see_next' => '看下一個',
+  'del_comm' => '刪除所選的留言',
+  'user_name' => '名稱', //cpg1.4
+  'date' => '日期', //cpg1.4
+  'comment' => '留言', //cpg1.4
+  'file' => '檔案', //cpg1.4
+  'name_a' => '名稱小到大', //cpg1.4
+  'name_d' => '名稱大到小', //cpg1.4
+  'date_a' => '日期小到大', //cpg1.4
+  'date_d' => '日期大到小', //cpg1.4
+  'comment_a' => '留言小到大', //cpg1.4
+  'comment_d' => '留言大到小', //cpg1.4
+  'file_a' => '檔案小到大', //cpg1.4
+  'file_d' => '檔案大到小', //cpg1.4
+);
+
+
+// ------------------------------------------------------------------------- //
+// File search.php   
+// ------------------------------------------------------------------------- //
+
+
+if (defined('SEARCH_PHP')){
+
+$lang_search_php = array(
+  'title' => '搜尋檔案存庫', //cpg1.4
+  'submit_search' => '搜尋', //cpg1.4
+  'keyword_list_title' => '關鍵字列表', //cpg1.4
+  'keyword_msg' => '上面的列表不包括圖片標題或簡介。試著用 full-text 搜尋。',  //cpg1.4
+  'edit_keywords' => '編輯關鍵字', //cpg1.4
+  'search in' => '搜尋：', //cpg1.4
+  'ip_address' => 'IP 位置', //cpg1.4
+  'fields' => '搜尋', //cpg1.4
+  'age' => '年齡', //cpg1.4
+  'newer_than' => '日期之後', //cpg1.4
+  'older_than' => '日期之前', //cpg1.4
+  'days' => '天', //cpg1.4
+  'all_words' => '包含完整字詞 (AND)', //cpg1.4
+  'any_words' => '包含任何字詞 (OR)', //cpg1.4
+);
+
+$lang_adv_opts = array(
+  'title' => '名稱', //cpg1.4
+  'caption' => '標題', //cpg1.4
+  'keywords' => '關鍵字', //cpg1.4
+  'owner_name' => '作者', //cpg1.4
+  'filename' => '檔案名', //cpg1.4
+);
+
+}
+
+// ------------------------------------------------------------------------- //
+// File searchnew.php
+// ------------------------------------------------------------------------- //
+
+if (defined('SEARCHNEW_PHP')) $lang_search_new_php = array(
+  'page_title' => '搜尋新圖片',
+  'select_dir' => '選擇目錄',
+  'select_dir_msg' => '本功能可以讓你用 FTP 上傳整批的圖片。<br /><br />請選擇已上傳圖片的目錄。', //cpg1.4
+  'no_pic_to_add' => '沒有圖片可以加入',
+  'need_one_album' => '使用此功能必需至少要有一個相簿',
+  'warning' => '警告',
+  'change_perm' => '程式無法寫入這個目錄, 請修改權限至 755 或 777 後再試一次 !',
+  'target_album' => '<b>把圖片由 &quot;</b>%s<b>&quot; 放到 </b>%s',
+  'folder' => '資料夾',
+  'image' => '圖片',
+  'album' => '相簿',
+  'result' => '結果',
+  'dir_ro' => '無法寫入. ',
+  'dir_cant_read' => '無法讀取. ',
+  'insert' => '新增圖片至相簿',
+  'list_new_pic' => '新圖片列表',
+  'insert_selected' => '加入所選擇的圖片',
+  'no_pic_found' => '沒有找到新圖片',
+  'be_patient' => '請耐心等候, 程式需要一點時間來加入所選圖片',
+  'no_album' => '沒有選擇的相簿',
+  'result_icon' => '瀏覽細節或刷新',  //cpg1.4
+  'notes' =>  '<ul>'.
+                          '<li><b>OK</b> : 表示圖片已成功被加入'.
+                          '<li><b>DP</b> : 表示圖片重覆或已存在資料庫'.
+                          '<li><b>PB</b> : 表示圖片無法加入, 請檢查設定或圖片存放目錄的權限'.
+                          '<li><b>NA</b> : 表示你還沒有選擇圖片的相簿, 按 \'<a href="javascript:history.back(1)">返回</a>\' 並選擇相簿. 如果你沒有相簿 <a href="albmgr.php">請先建立一個</a></li>'.
+                          '<li>如果 OK, DP, PB \'符號\' 沒有顯示請按壞掉的圖片查看 PHP 顯示的錯誤訊息'.
+                          '<li>如果瀏覽器逾時, 請按重新整理'.
+                          '</ul>',
+  'select_album' => '選擇相簿',
+  'check_all' => '全選',
+  'uncheck_all' => '都不選',
+  'no_folders' => '"albums" 目錄內沒有其它目錄。請建立最少一個目錄到 "albums" 裡面，然後上傳您的圖片。您不能上傳圖片到 "userpics" 或 "edit" 目錄，它們的用途是給 CPG 軟體和 http 的上傳功能。', //cpg1.4
+   'albums_no_category' => '相簿沒有類別', //cpg1.4 // album pulldown mod, added by frogfoot
+  'personal_albums' => '* 私人相簿', //cpg1.4 // album pulldown mod, added by frogfoot
+  'browse_batch_add' => '可瀏覽介面 (建議)', //cpg1.4
+  'edit_pics' => '編輯檔案', //cpg1.4
+  'edit_properties' => '相簿屬性', //cpg1.4
+  'view_thumbs' => '縮圖顯示', //cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File stat_details.php //cpg1.4
+// ------------------------------------------------------------------------- //
+
+if (defined('STAT_DETAILS_PHP')) $lang_stat_details_php = array(
+  'show_hide' => '顯示/隱藏 此欄位', //cpg1.4
+  'vote' => '投票細節', //cpg1.4
+  'hits' => '瀏覽細節', //cpg1.4
+  'stats' => '投票統計', //cpg1.4
+  'sdate' => '日期', //cpg1.4
+  'rating' => '評分', //cpg1.4
+  'search_phrase' => '搜尋字', //cpg1.4
+  'referer' => '來源', //cpg1.4
+  'browser' => '瀏覽器', //cpg1.4
+  'os' => '操作系統', //cpg1.4
+  'ip' => 'IP', //cpg1.4
+  'sort_by_xxx' => '排序 %s', //cpg1.4
+  'ascending' => '小到大', //cpg1.4
+  'descending' => '大到小', //cpg1.4
+  'internal' => '內部', //cpg1.4
+  'close' => '關閉', //cpg1.4
+  'hide_internal_referers' => '隱藏內部的來源', //cpg1.4
+  'date_display' => '日期顯示', //cpg1.4
+  'submit' => '傳送 / 刷新', //cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File thumbnails.php
+// ------------------------------------------------------------------------- //
+
+// Void
+
+// ------------------------------------------------------------------------- //
+// File upload.php
+// ------------------------------------------------------------------------- //
+
+if (defined('UPLOAD_PHP')) $lang_upload_php = array(
+  'title' => '上傳檔案',
+  'custom_title' => '上傳選項表',
+  'cust_instr_1' => '你可以從下列 選擇一個上傳框 進行上傳.',
+  'cust_instr_2' => '選擇上傳框號',
+  'cust_instr_3' => '檔案上傳框: %s',
+  'cust_instr_4' => 'URI/URL 上傳框: %s',
+  'cust_instr_5' => 'URI/URL 上傳框:',
+  'cust_instr_6' => '檔案上傳框:',
+  'cust_instr_7' => '請輸入您目前需要的 每一種上傳框的數量. 然後按 \'繼續\'. ',
+  'reg_instr_1' => '無效的選項表動作.',
+  'reg_instr_2' => '現在 你可以用以下的上傳框 上傳你的檔案. 每一個上傳檔案的大小不可以超過 %s KB . ZIP 檔案上傳在 \'檔案上傳\' and \'URI/URL 上傳\' 區 .',
+  'reg_instr_3' => '如果你要上傳壓縮檔或要解壓縮, 必須使用檔案上傳框 \'解壓縮ZIP 上傳\' 區.',
+  'reg_instr_4' => '如果選擇以 URI/URL 上傳, 請輸入檔案連結路徑 如: http://www.mysite.com/images/example.jpg',
+  'reg_instr_5' => '完成選項表後,請按 \'繼續\'.',
+  'reg_instr_6' => '解壓縮ZIP 上傳:',
+  'reg_instr_7' => '檔案 上傳:',
+  'reg_instr_8' => 'URI/URL 上傳:',
+  'error_report' => '錯誤報告',
+  'error_instr' => '下列上傳遇到錯誤:',
+  'file_name_url' => '檔案 名稱/URL',
+  'error_message' => '錯誤訊息',
+  'no_post' => '檔案沒有被上傳。',
+  'forb_ext' => '不允許的副檔名。',
+  'exc_php_ini' => '檔案超過php.ini允許的大小。',
+  'exc_file_size' => '檔案超過CPG允許的大小。',
+  'partial_upload' => '只有部分上傳。',
+  'no_upload' => '沒有上傳。',
+  'unknown_code' => '未知的 PHP 上傳錯誤。',
+  'no_temp_name' => '沒有上傳 - 無暫存檔名。',
+  'no_file_size' => '沒有內容',
+  'impossible' => '無法移動。',
+  'not_image' => '這不是標準影像檔',
+  'not_GD' => '這不是 GD 副檔名。',
+  'pixel_allowance' => '影像尺寸太大了。',
+  'incorrect_prefix' => '不正確的 URI/URL 前置字元',
+  'could_not_open_URI' => '無法開啟URI。',
+  'unsafe_URI' => '安全性未被認證。',
+  'meta_data_failure' => '轉換資料失敗',
+  'http_401' => '401 未被授權瀏覽',
+  'http_402' => '402 此處需付費瀏覽',
+  'http_403' => '403 目前此處關閉禁止瀏覽',
+  'http_404' => '404 伺服器沒有回應',
+  'http_500' => '500 內部伺服器錯誤',
+  'http_503' => '503 伺服器等待過久 停止服務',
+  'MIME_extraction_failure' => '無法確認 MIME。',
+  'MIME_type_unknown' => '未知的 MIME type',
+  'cant_create_write' => '無法新增寫入檔案。',
+  'not_writable' => '無法讀寫。',
+  'cant_read_URI' => '無法讀取 URI/URL',
+  'cant_open_write_file' => '無法開啟檔案。',
+  'cant_write_write_file' => '無法讀寫檔案。',
+  'cant_unzip' => '無法解壓縮。',
+  'unknown' => '未知的錯誤',
+  'succ' => '成功上傳',
+  'success' => '%s 上傳已經完成。',
+  'add' => '請按 \'繼續\' 增加檔案到相簿。',
+  'failure' => '上傳失敗',
+  'f_info' => '檔案資訊',
+  'no_place' => '先前的檔案無法被配置。',
+  'yes_place' => '先前的檔案已經配置完成。',
+  'max_fsize' => '最大允許檔案大小是 %s KB',
+  'album' => '相簿',
+  'picture' => '圖片',
+  'pic_title' => '圖片標題',
+  'description' => '圖片描述',
+  'keywords' => '關鍵字 (以空格區隔)<br /><a href="#" onClick="return MM_openBrWindow(\'keyword_select.php\',\'selectKey\',\'width=250, height=400, scrollbars=yes,toolbar=no,status=yes,resizable=yes\')">從列表輸入</a>', //cpg1.4
+  'keywords_sel' =>'選擇關鍵字', //cpg1.4
+  'err_no_alb_uploadables' => '目前尚未有相簿可以上傳圖片',
+  'place_instr_1' => '請將圖片放到相簿，然後輸入這個檔案的相關資訊。',
+  'place_instr_2' => '更多的圖片需要配置。請按 \'繼續\'。',
+  'process_complete' => '恭喜，您已經成功的將全部檔案上傳了。',
+   'albums_no_category' => '相簿沒有類別', //cpg1.4. //album pulldown mod, added by frogfoot
+  'personal_albums' => '* 私人相簿', //cpg1.4 //album pulldown mod, added by frogfoot
+  'select_album' => '選擇相簿', //cpg1.4 //album pulldown mod, added by frogfoot
+  'close' => '關閉', //cpg1.4
+  'no_keywords' => '抱歉，沒可用的關鍵字！', //cpg1.4
+  'regenerate_dictionary' => '重新建立字庫', //cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File usermgr.php
+// ------------------------------------------------------------------------- //
+
+if (defined('USERMGR_PHP')) $lang_usermgr_php = array(
+  'memberlist' => '會員名單', //cpg1.4
+  'user_manager' => '會員管理', //cpg1.4
+  'title' => '管理會員',
+  'name_a' => '名稱 由小至大',
+  'name_d' => '名稱 由大至小',
+  'group_a' => '群組 由小至大',
+  'group_d' => '群組 由大至小',
+  'reg_a' => '註冊日期 由遠至近',
+  'reg_d' => '註冊日期 由近至遠',
+  'pic_a' => '圖片數 由小至大',
+  'pic_d' => '圖片數 由大至小',
+  'disku_a' => '磁碟用量 由小至大',
+  'disku_d' => '磁碟用量 由大至小',
+  'lv_a' => '最近來訪 由近至遠',
+  'lv_d' => '最近來訪 由遠至近',
+  'sort_by' => '會員排序依',
+  'err_no_users' => '會員資料表是空的 !',
+  'err_edit_self' => '您無法編輯您的個人資料, 請利用 \'我的個人資料\' 來編輯',
+  'edit' => '編輯', //cpg1.4
+  'with_selected' => '選項動作：', //cpg1.4
+  'delete' => '刪除', //cpg1.4
+  'delete_files_no' => '保留檔案 (不提供來源)', //cpg1.4
+  'delete_files_yes' => '刪除全部檔案', //cpg1.4
+  'delete_comments_no' => '保留留言 (不提供來源)', //cpg1.4
+  'delete_comments_yes' => '刪除全部留言', //cpg1.4
+  'activate' => '啟用', //cpg1.4
+  'deactivate' => '停用', //cpg1.4
+  'reset_password' => '重設密碼', //cpg1.4
+  'change_primary_membergroup' => '改變主要群組', //cpg1.4
+  'add_secondary_membergroup' => '改變額外群組', //cpg1.4
+  'name' => '會員名稱',
+  'group' => '群組',
+  'inactive' => '未啟動',
+  'operations' => '操作',
+  'pictures' => '圖片',
+  'disk_space_used' => '空間用量', //cpg1.4
+  'disk_space_quota' => '空間配額', //cpg1.4
+  'registered_on' => '註冊', //cpg1.4
+  'last_visit' => '最近來訪',
+  'u_user_on_p_pages' => '%d 個會員於 %d 頁',
+  'confirm_del' => '確定要刪除這個會員嗎? \\n所有他的相簿及圖片都會被刪除.', //js-alert
+  'mail' => '電子郵件',
+  'err_unknown_user' => '所選擇的會員並不存在 !',
+  'modify_user' => '編輯會員',
+  'notes' => '注意',
+  'note_list' => '<li>如果不想改變目前的密碼, 請將 "密碼" 位留下空白',
+  'password' => '密碼',
+  'user_active' => '會員已啟動',
+  'user_group' => '會員群組',
+  'user_email' => '會員電子郵件',
+  'user_web_site' => '會員網址',
+  'create_new_user' => '建立新會員',
+  'user_location' => '會員地區',
+  'user_interests' => '會員興趣',
+  'user_occupation' => '會員職業',
+  'user_profile1' => '$user_profile1', //cpg1.4
+  'user_profile2' => '$user_profile2', //cpg1.4
+  'user_profile3' => '$user_profile3', //cpg1.4
+  'user_profile4' => '$user_profile4', //cpg1.4
+  'user_profile5' => '$user_profile5', //cpg1.4
+  'user_profile6' => '$user_profile6', //cpg1.4
+  'latest_upload' => '最新上傳',
+  'never' => '從未有',
+  'search' => '會員搜尋', //cpg1.4
+  'submit' => '傳送', //cpg1.4
+  'search_submit' => '繼續！', //cpg1.4
+  'search_result' => '搜尋結果： ', //cpg1.4
+  'alert_no_selection' => '您必須選擇至少一個會員！', //cpg1.4 //js-alert
+  'password' => '密碼', //cpg1.4
+  'select_group' => '選擇群組', //cpg1.4
+  'groups_alb_access' => '群組的相簿權限', //cpg1.4
+  'album' => '相簿', //cpg1.4
+  'category' => '類別', //cpg1.4
+  'modify' => '修改？', //cpg1.4
+  'group_no_access' => '這個群組無特殊權限', //cpg1.4
+  'notice' => '通知', //cpg1.4
+  'group_can_access' => '只有 "%s" 可以進入這個相簿', //cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File util.php
+// ------------------------------------------------------------------------- //
+
+if (defined('UTIL_PHP')) {
+$lang_util_desc_php = array(
+'以檔案名更新標題', //cpg1.4
+'刪除標題', //cpg1.4
+'重新建立縮圖和調整尺寸', //cpg1.4
+'用調整過的尺寸覆蓋並刪除原來的圖片', //cpg1.4
+'刪除原來或中級圖片', //cpg1.4
+'刪除零散的留言', //cpg1.4
+'重新讀取檔案大小和尺寸 (如果您手動編輯圖片)', //cpg1.4
+'清除瀏覽計數器', //cpg1.4
+'顯示 phpinfo', //cpg1.4
+'更新資料庫', //cpg1.4
+'顯示記錄檔', //cpg1.4
+);
+$lang_util_php = array(
+  'title' => '管理工具 (重設尺寸)',
+  'what_it_does' => '功能',
+  'file' => '檔案',
+  'problem' => '問題', //cpg1.4
+  'status' => '狀態', //cpg1.4
+  'title_set_to' => '標題變更為',
+  'submit_form' => '確認',
+  'updated_succesfully' => '更新 已經完成',
+  'error_create' => '產生錯誤',
+  'continue' => '繼續執行其他的影像',
+  'main_success' => '檔案 %s 已設為主圖', 
+  'error_rename' => '錯誤 %s 改名為 %s', 
+  'error_not_found' => '找不到檔案 %s ',
+  'back' => '回主頁',
+  'thumbs_wait' => '更新縮圖 且/或 調整影像尺寸, 請稍待...',
+  'thumbs_continue_wait' => '繼續 更新縮圖 且/或 調整影像尺寸...',
+  'titles_wait' => '更新標題, 請稍待...',
+  'delete_wait' => '刪除標題, 請稍待...',
+  'replace_wait' => '重新調整後的圖片將 取代原有的圖片中, 請稍待...',
+  'instruction' => '簡易操作說明',
+  'instruction_action' => '請選擇操作',
+  'instruction_parameter' => '設定參數',
+  'instruction_album' => '選擇相簿',
+  'instruction_press' => '請按 %s',
+  'update' => '更新縮圖 且/或 調整圖片大小',
+  'update_what' => '要更新什麼',
+  'update_thumb' => '只有縮圖',
+  'update_pic' => '只調整圖片大小',
+  'update_both' => '更新縮圖且調整圖片尺寸',
+  'update_number' => '每點選一次要處理的圖片數目',
+  'update_option' => '(如果您遇到操作程序逾時的問題，請試著降低此設定)',
+  'filename_title' => '檔案名稱 &rArr; 圖片標題',
+  'filename_how' => '如何修改檔名', 
+  'filename_remove' => '刪除 .jpg 並將 _ (底線) 用空格取代', 
+  'filename_euro' => '將 2003_11_23_13_20_20.jpg 改為 23/11/2003 13:20', 
+  'filename_us' => '將 2003_11_23_13_20_20.jpg 改為 11/23/2003 13:20', 
+  'filename_time' => '將 2003_11_23_13_20_20.jpg 改為 13:20', 
+  'delete' => '刪除圖片標題或原始尺寸的圖片',
+  'delete_title' => '刪除圖片標題',
+  'delete_title_explanation' => '這會在您要的相簿內刪除檔案標題。', //cpg1.4
+  'delete_original' => '刪除原始尺寸的圖片',
+  'delete_original_explanation' => '這會移除原始尺寸的圖片。', //cpg1.4
+  'delete_intermediate' => '刪除中級圖片', //cpg1.4
+  'delete_intermediate_explanation' => '這會刪除中級 (normal) 圖片。<br />用這個功能來清除主機空間，如果您在設定內關閉了 \'建立中級圖片\'。', //cpg1.4
+  'delete_replace' => '刪除原始尺寸的圖片並以調整尺寸的圖片取代',
+  'titles_deleted' => '選擇相簿內的標題已刪除', //cpg1.4
+  'deleting_intermediates' => '刪除中級圖片，請稍待...', //cpg1.4
+  'searching_orphans' => '搜尋零散的資料，請稍待...', //cpg1.4
+  'select_album' => '選擇相簿',
+  'delete_orphans' => '刪除零散的留言', //cpg1.4
+  'delete_orphans_explanation' => '這會移除已經被刪除的圖片裡的留言。<br />檢查全部相簿。', //cpg1.4
+  'refresh_db' => '更新檔案尺寸和大小資訊', //cpg1.4
+  'refresh_db_explanation' => '這會重新讀取檔案的大小和尺寸。用這個功能如果空間的配額有錯誤，或您有手動修改圖片。', //cpg1.4
+  'reset_views' => '清除瀏覽計數器', //cpg1.4
+  'reset_views_explanation' => '這會在選擇的相簿內重設瀏覽次數到 0。', //cpg1.4
+  'orphan_comment' => '發現零散的留言',
+  'delete' => '刪除',
+  'delete_all' => '全部刪除',
+  'delete_all_orphans' => '全部刪除？', //cpg1.4
+  'comment' => '留言： ',
+  'nonexist' => '依附於不存在的檔案 # ',
+  'phpinfo' => '顯示 phpinfo',
+  'phpinfo_explanation' => '包含了主機的資訊。<br /> - 尋求支援時可能會被要求提供裡面的資料。', //cpg1.4
+  'update_db' => '更新資料庫',
+  'update_db_explanation' => '如果妳有更新 CPG 檔案，加入修改或由以前的版本升級，請確定執行一次資料庫更新。這會在 CPG 的資料庫新增必要的資料表及/或設定值。',
+  'view_log' => '瀏覽記錄檔', //cpg1.4
+  'view_log_explanation' => 'CPG 可以記錄一些會員的動作。您可以瀏覽這些記錄如果您有在 <a href="admin.php">設定</a> 裡開啟記錄的功能。', //cpg1.4
+  'versioncheck' => '檢查版本', //cpg1.4
+  'versioncheck_explanation' => '顯查檔案的版本，看是否有完全更新成功。您也可以檢查 CPG 主程式的最新版本。', //cpg1.4
+  'bridgemanager' => '整合管理', //cpg1.4
+  'bridgemanager_explanation' => '開啟/關閉 整合到其它軟體 (例如論壇)。', //cpg1.4
+);
+}
+
+// ------------------------------------------------------------------------- //
+// File versioncheck.php //cpg1.4
+// ------------------------------------------------------------------------- //
+
+if (defined('VERSIONCHECK_PHP')) $lang_versioncheck_php = array(
+  'title' => '檢查版本', //cpg1.4
+  'what_it_does' => '這個頁面是對剛更新相簿的管理員設定。這個程式會檢查您安裝的版本是否跟 CPG 的線上存庫 (http://coppermine.sourceforge.net) 裡的版本相同。<br />如果需要修改會顯示紅色。黃色表示需要檢查。綠色或者預設顏色表示沒問題。<br />詳情請點說明圖示。', //cpg1.4
+  'online_repository_unable' => '無法連結到線上存庫', //cpg1.4
+  'online_repository_noconnect' => 'CPG 無法連結到線上存庫。可能有兩種原因：', //cpg1.4
+  'online_repository_reason1' => '線上存庫有問題 - 請檢查您是否能到這個網頁： %s - 如果不能請稍待重試。', //cpg1.4
+  'online_repository_reason2' => '主機裡的 PHP 的設定有把 %s 關閉 (預設值是開啟)。如果是您自己的主機，請在 <i>php.ini</i> 裡將此設定開啟 (或者允許強制覆蓋 %s)。如果您的主機是買的，很抱歉，您可以無法使用這項功能。這個頁面就只會顯示下載的檔案版本 - 更新的版本不會顯示。', //cpg1.4
+  'online_repository_skipped' => '連結到線上存庫暫停', //cpg1.4
+  'online_repository_to_local' => '系統目前是使用主機內的檔案版本。這裡顯示的資料可能不正確如果你更新或未完全上傳 CPG 的檔案。', //cpg1.4
+  'local_repository_unable' => '無法連結到主機存庫', //cpg1.4
+  'local_repository_explanation' => 'CPG 無法連結到您主機內的存庫檔案 %s。這可能表示您還未上傳存庫檔案到您的主機。請現在上傳然後重新執行這個頁面 (刷新網頁)。<br />如果無法執行，您的主機可能關閉了一些 <a href="http://www.php.net/manual/en/ref.filesystem.php">PHP 的檔案系統</a>。如果是這個原因，很抱歉您不能使用這項功能。', //cpg1.4
+  'coppermine_version_header' => '安裝的 CPG 版本', //cpg1.4
+  'coppermine_version_info' => '您目前安裝的是： %s', //cpg1.4
+  'coppermine_version_explanation' => '如果您認為您安裝的不是這個版本，請確定您上傳的是最新的 <i>include/init.inc.php</i> 檔案', //cpg1.4
+  'version_comparison' => '比較檔案', //cpg1.4
+  'folder_file' => '目錄/檔案', //cpg1.4
+  'coppermine_version' => 'CPG 版本', //cpg1.4
+  'file_version' => '檔案版本', //cpg1.4
+  'webcvs' => '線上 CVS', //cpg1.4
+  'writable' => '可讀寫', //cpg1.4
+  'not_writable' => '不可讀寫', //cpg1.4
+  'help' => '說明', //cpg1.4
+  'help_file_not_exist_optional1' => '目錄/檔案不存在', //cpg1.4
+  'help_file_not_exist_optional2' => '目錄/檔案 %s 不存在於您的主機內。雖然可以不用，但是建議您如果有遇到問題請將它上傳 (用 FTP)。', //cpg1.4
+  'help_file_not_exist_mandatory1' => '目錄/檔案不存在', //cpg1.4
+  'help_file_not_exist_mandatory2' => '目錄/檔案 %s 不存在於您的主機內。您必須將它上傳。請用 FPT 軟體將檔案上傳到您的主機內。', //cpg1.4
+  'help_no_local_version1' => '沒有主機版本', //cpg1.4
+  'help_no_local_version2' => '系統無法取得主機內的檔案版本 - 您的檔案可能過時或已被修改過。建議您更新檔案。', //cpg1.4
+  'help_local_version_outdated1' => '主機版本過時', //cpg1.4
+  'help_local_version_outdated2' => '您的檔案可能是舊的 CPG 程式檔案 (可能更新時忘了步驟)。請確定更新這個檔案。', //cpg1.4
+  'help_local_version_na1' => '無法取得 CVS 檔案版本', //cpg1.4
+  'help_local_version_na2' => '系統無法取得主機內的 CVS 版本。請重新上傳檔案。', //cpg1.4
+  'help_local_version_dev1' => '開發版本', //cpg1.4
+  'help_local_version_dev2' => '檔案看起來比您使用的 CPG 版本還高。您可能用的是開發版本 (不建議使用)，或在更新時忘了上傳 include/init.inc.php', //cpg1.4
+  'help_not_writable1' => '目錄無法讀寫', //cpg1.4
+  'help_not_writable2' => '改變檔案的權限 (CHMOD) 到可讀寫目錄 %s，及裡面的全部檔案。', //cpg1.4
+  'help_writable1' => '目錄可讀寫', //cpg1.4
+  'help_writable2' => '目錄 %s 可以讀寫。可能有安全問題，CPG 只需要讀取跟執行這個目錄。', //cpg1.4
+  'help_writable_undetermined' => 'CPG 無法確定這個目錄是否可讀寫。', //cpg1.4
+  'your_file' => '您的檔案', //cpg1.4
+  'reference_file' => '參照檔案', //cpg1.4
+  'summary' => '概括', //cpg1.4
+  'total' => '總檔案/目錄檢查完畢', //cpg1.4
+  'mandatory_files_missing' => '必要檔案不存在', //cpg1.4
+  'optional_files_missing' => '非必需檔案不存在', //cpg1.4
+  'files_from_older_version' => '舊版本檔案', //cpg1.4
+  'file_version_outdated' => '舊檔案版本', //cpg1.4
+  'error_no_data' => '系統有錯誤，無法取得任何資訊。', //cpg1.4
+  'go_to_webcvs' => '到 %s', //cpg1.4
+  'options' => '選項', //cpg1.4
+  'show_optional_files' => '顯示非必須檔案/目錄', //cpg1.4
+  'show_mandatory_files' => '顯示必要檔案', //cpg1.4
+  'show_file_versions' => '顯示檔案版本', //cpg1.4
+  'show_errors_only' => '顯示有錯誤的檔案/目錄', //cpg1.4
+  'show_permissions' => '顯示目錄權限', //cpg1.4
+  'show_condensed_output' => '顯示壓縮的輸出資料', //cpg1.4
+  'coppermine_in_webroot' => 'CPG 安裝於 webroot', //cpg1.4
+  'connect_online_repository' => '試著連結到線上存庫', //cpg1.4
+  'show_additional_information' => '顯示額外資訊', //cpg1.4
+  'no_webcvs_link' => '不顯示線上 CVS 連結', //cpg1.4
+  'stable_webcvs_link' => '顯示線上 CVS 給正式版本', //cpg1.4
+  'devel_webcvs_link' => '顯示線上 CVS 給開發版本', //cpg1.4
+  'submit' => '套用改變/刷新', //cpg1.4
+  'reset_to_defaults' => '重設為預設值', //cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File view_log.php  //cpg1.4
+// ------------------------------------------------------------------------- //
+
+if (defined('VIEWLOG_PHP')) $lang_viewlog_php = array(
+  'delete_all' => '刪除全部記錄', //cpg1.4
+  'delete_this' => '刪除這個記錄', //cpg1.4
+  'view_logs' => '瀏覽記錄', //cpg1.4
+  'no_logs' => '沒有記錄。', //cpg1.4
+);
+
+
+// ------------------------------------------------------------------------- //
+// File xp_publish.php //cpg1.4
+// ------------------------------------------------------------------------- //
+
+if (defined('XP_PUBLISH_PHP')) {
+
+$lang_xp_publish_client = <<<EOT
+<h1>XP Web 發佈功能軟體</h1><p>這個模組可以讓您使用 <b>Windows XP</b> 的發佈功能。</p><p>程式碼是照此篇文章說明，作者是
+EOT;
+
+$lang_xp_publish_required = <<<EOT
+<h2>需要什麼？</h2><ul><li>必須要有 Windows XP。</li><li>安裝好的 CPG 相簿，<b>而且上傳功能可運作。</b></li></ul><h2>如何安裝</h2><ul><li>按右鍵於
+EOT;
+
+$lang_xp_publish_select = <<<EOT
+選擇 &quot;儲存檔案..&quot;。然後將檔案儲存在您的硬碟。儲存時記得檔案名必須是 <b>cpg_###.reg</b> (### 代表日期的數字)。您可以改變名稱 (不要改數字)。下載完後，執行那個檔案可以讓您的主機使用發佈功能。</li></ul>
+EOT;
+
+$lang_xp_publish_testing = <<<EOT
+<h2>測試</h2><ul><li>在 Windows Explorer，選一些檔案然後在左邊點 <b>Publish xxx on the web</b>。</li><li>檢查您所選的檔案，然後點 <b>Next</b>。</li><li>在出現的列表內選 CPG 相簿的服務 (會以您的相簿名稱顯示)。如果沒有顯示相簿的服務，檢查是否像上面描述的安裝成功 <b>cpg_pub_wizard.reg</b>。</li><li>必要時輸入您的帳號資料。</li><li>然後選擇要放圖片的相簿，或新建相簿。</li><li>之後點 <b>next</b>。接下來會開始上傳您的圖片。</li><li>完成後到您的相簿內檢查是否上傳完畢。</li></ul>
+EOT;
+
+$lang_xp_publish_notes = <<<EOT
+<h2>注意：</h2><ul><li>當正在上傳時，發佈功能不會顯示任何錯誤訊息，所以不能知道上傳有沒有成功，直到您檢查相簿。</li><li>如果上傳沒成功，在設定頁面內開啟 &quot;除錯模式&quot;，試著上傳一個圖片然後檢查錯誤訊息在
+EOT;
+
+$lang_xp_publish_flood = <<<EOT
+CPG 目錄內的檔案。</li><li>為了避免用發佈功能一次上傳太多圖片，只有 <b>相簿管理員</b> 和 <b>可以有自己相簿的會員</b> 可以用這個功能。</li>
+EOT;
+
+
+
+$lang_xp_publish_php = array(
+  'title' => 'CPG - XP Web 發佈功能', //cpg1.4
+  'welcome' => '歡迎到 <b>%s</b>,', //cpg1.4
+  'need_login' => '您必須先用瀏覽器登入到相簿內才能使用這個功能。<p/><p>登入後記得點選 <b>記得我</b> 選項。', //cpg1.4
+  'no_alb' => '抱歉，目前沒有可以用發佈功能上傳圖片的相簿。', //cpg1.4
+  'upload' => '上傳圖片到相簿', //cpg1.4
+  'create_new' => '新建相簿', //cpg1.4
+  'album' => '相簿', //cpg1.4
+  'category' => '類別', //cpg1.4
+  'new_alb_created' => '您的相簿 &quot;<b>%s</b>&quot; 已經新建', //cpg1.4
+  'continue' => '按 &quot;Next&quot; 開始上傳圖片', //cpg1.4
+  'link' => '這個連結', //cpg1.4
+);
+}
 ?>
\ No newline at end of file
diff -x .svn -aruN 1.4.24.src/lang/chinese_gb.php 1.4.25.src/lang/chinese_gb.php
--- 1.4.24.src/lang/chinese_gb.php	2009-05-25 15:01:17.000000000 -0500
+++ 1.4.25.src/lang/chinese_gb.php	2009-05-26 11:25:40.000000000 -0500
@@ -1,2107 +1,2107 @@
-<?php
-/*************************
-  Coppermine Photo Gallery
-  ************************
-  Copyright (c) 2003-2009 Coppermine Dev Team
-  v1.1 originally written by Gregory DEMAR
-
-  This program is free software; you can redistribute it and/or modify
-  it under the terms of the GNU General Public License version 3
-  as published by the Free Software Foundation.
-  
-  ********************************************
-  Coppermine version: 1.4.24
-  $HeadURL: https://coppermine.svn.sourceforge.net/svnroot/coppermine/trunk/cpg1.4.x/lang/chinese_gb.php $
-  $Revision: 5988 $
-  $Author: gaugau $
-  $Date: 2009-05-25 22:01:41 +0200 (Mo, 25 Mai 2009) $
-**********************************************/
-
-if (!defined('IN_COPPERMINE')) { die('Not in Coppermine...');}
-
-// info about translators and translated language
-$lang_translation_info = array(
-  'lang_name_english' => 'Chinese (Simplified)', //cpg1.4
-  'lang_name_native' => '简体中文', //cpg1.4
-  'lang_country_code' => 'cn', //cpg1.4
-  'trans_name'=> '流溪，CapriSkye and monkey',
-  'trans_email' => 'ben@smf.cn',
-  'trans_website' => 'http://www.smf.cn/',
-  'trans_date' => '2006-01-03',
-);
-
-$lang_charset = 'utf-8';
-$lang_text_dir = 'ltr'; // ('ltr' for left to right, 'rtl' for right to left)
-
-// shortcuts for Byte, Kilo, Mega
-$lang_byte_units = array('Bytes', 'KB', 'MB');
-
-// Day of weeks and months
-$lang_day_of_week = array('星期日', '星期一', '星期二', '星期三', '星期四', '星期五', '星期六');
-$lang_month = array('一月', '二月', '三月', '四月', '五月', '六月', '七月', '八月', '九月', '十月', '十一月', '十二月');
-
-// Some common strings
-$lang_yes = '是';
-$lang_no  = '否';
-$lang_back = '返回';
-$lang_continue = '继续';
-$lang_info = '信息';
-$lang_error = '错误';
-$lang_check_uncheck_all = '勾选/勾选全部'; //cpg1.4
-
-// The various date formats
-// See http://www.php.net/manual/en/function.strftime.php to define the variable below
-$album_date_fmt =    '%B %d, %Y';
-$lastcom_date_fmt =  '%m/%d/%y at %H:%M';
-$lastup_date_fmt = '%B %d, %Y';
-$register_date_fmt = '%B %d, %Y';
-$lasthit_date_fmt = '%B %d, %Y at %I:%M %p';
-$comment_date_fmt =  '%B %d, %Y at %I:%M %p';
-$log_date_fmt = '%B %d, %Y at %I:%M %p'; //cpg1.4
-
-// For the word censor
-$lang_bad_words = array('*fuck*', 'asshole', 'assramer', 'bitch*', 'c0ck', 'clits', 'Cock', 'cum', 'cunt*', 'dago', 'daygo', 'dego', 'dick*', 'dildo', 'fanculo', 'feces', 'foreskin', 'Fu\(*', 'fuk*', 'honkey', 'hore', 'injun', 'kike', 'lesbo', 'masturbat*', 'motherfucker', 'nazis', 'nigger*', 'nutsack', 'penis', 'phuck', 'poop', 'pussy', 'scrotum', 'shit', 'slut', 'titties', 'titty', 'twaty', 'wank*', 'whore', 'wop*','共产党','法轮功','他妈的','操你');
-
-$lang_meta_album_names = array(
-  'random' => '随机图片',
-  'lastup' => '最新上传',
-  'lastalb'=> '最近更新',
-  'lastcom' => '最新留言',
-  'topn' => '热门图片',
-  'toprated' => '最高评分',
-  'lasthits' => '最近显示',
-  'search' => '搜索结果',
-  'favpics'=> '最爱图片',
-);
-
-$lang_errors = array(
-  'access_denied' => '你没有使用本页的权限。',
-  'perm_denied' => '你没有权限执行此操作。',
-  'param_missing' => '程序被调用而没有需要的参数。',
-  'non_exist_ap' => '选择的 相册/图片 不存在！',
-  'quota_exceeded' => '超过空间配额<br /><br />您的配额有 [quota]K，已使用的有 [space]K，加入此图片会超过拥有的配额。',
-  'gd_file_type_err' => '当使用 GD 图像链接库只容许 JPEG / PNG 图片。',
-  'invalid_image' => '你上传的文件己经损坏, 或是 GD 图像链接库不能处理',
-  'resize_failed' => '无法建立缩略图或改变图片尺寸.',
-  'no_img_to_display' => '没有图片可以显示。',
-  'non_exist_cat' => '所选择的类别并不存在。',
-  'orphan_cat' => '这个子类别存于一个不存在的母类别，请先至类别管理修正这个问题。',
-  'directory_ro' => '目录 \'%s\' 无法写入，导致无法删除图片',
-  'non_exist_comment' => '所选择的留言并不存在。',
-  'pic_in_invalid_album' => '此图片存于不存在的相册 (%s)!?',
-  'banned' => '您目前被禁止使用本站。',
-  'not_with_udb' => '由于本相册已和论坛程序整合，此功能已停止使用。可能是目前设定不支持此功能，或已由论坛处理。', 
-  'offline_title' => '关闭',
-  'offline_text' => '相册目前是关闭状态 - 请稍后再访问',
-  'ecards_empty' => '目前没有电子贺卡的纪录可显示。请检查相册设定中是否启用纪录电子贺卡功能！',
-  'action_failed' => '操作失败。Coppermine 无法执行您的要求。',
-  'no_zip' => '无法执行ZIP压缩文件。请联络您的相册管理员。',
-  'zip_type' => '您没有上传ZIP压缩文件的权限。',
-  'database_query' => '进行数据库查询时发生了错误', //cpg1.4
-  'register_globals_on' => 'The PHP setting register_globals is enabled on your server, which is a bad idea in terms of security. It\'s strongly recommended to turn it off. [<a href="http://forum.coppermine-gallery.net/index.php/topic,59569.0.html" rel="external" class="external">more</a>]',
-);
-
-$lang_bbcode_help_title = 'bbcode 帮助'; //cpg1.4
-$lang_bbcode_help = '您可以用 bbcode 加入可点的连接，和其它的文字格式： <li>[b]粗体[/b] =&gt; <b>粗体</b></li><li>[i]斜体[/i] =&gt; <i>斜体</i></li><li>[url=http://yoursite.com/]网址[/url] =&gt; <a href="http://yoursite.com">网址</a></li><li>[email]user@domain.com[/email] =&gt; <a href="mailto:user@domain.com">user@domain.com</a></li><li>[color=red]颜色[/color] =&gt; <span style="color:red">颜色</span></li><li>[img]http://coppermine-gallery.net/demo/cpg14x/images/red.gif[/img] => <img src="../images/red.gif" border="0" alt="" /></li>'; //cpg1.4
-
-// ------------------------------------------------------------------------- //
-// File theme.php
-// ------------------------------------------------------------------------- //
-
-$lang_main_menu = array(
-  'home_title' => '回到首页',
-  'home_lnk' => '首页',
-  'alb_list_title' => '返回相册目录',
-  'alb_list_lnk' => '相册目录',
-  'my_gal_title' => '返回我的相册',
-  'my_gal_lnk' => '我的相册',
-  'my_prof_title' => '到我的个人资料', //cpg1.4
-  'my_prof_lnk' => '我的个人资料',
-  'adm_mode_title' => '转为管理模式',
-  'adm_mode_lnk' => '管理模式',
-  'usr_mode_title' => '转为会员模式',
-  'usr_mode_lnk' => '会员模式',
-  'upload_pic_title' => '上传图片至相册',
-  'upload_pic_lnk' => '上传图片',
-  'register_title' => '建立会员账号',
-  'register_lnk' => '注册',
-  'login_title' => '登录', //cpg1.4
-  'login_lnk' => '登录',
-  'logout_title' => '注销', //cpg1.4
-  'logout_lnk' => '注销',
-  'lastup_title' => '浏览最新上传', //cpg1.4
-  'lastup_lnk' => '最新上传',
-  'lastcom_title' => '浏览最新留言', //cpg1.4
-  'lastcom_lnk' => '最新留言',
-  'topn_title' => '浏览热门的图片', //cpg1.4
-  'topn_lnk' => '热门图片',
-  'toprated_title' => '浏览评分最高的图片', //cpg1.4
-  'toprated_lnk' => '最高评分',
-  'search_title' => '搜索相册', //cpg1.4
-  'search_lnk' => '搜索',
-  'fav_title' => '到我的最爱', //cpg1.4    
-  'fav_lnk' => '我的最爱',
-  'memberlist_title' => '显示会员名单',
-  'memberlist_lnk' => '会员名单',
-  'faq_title' => '&quot;Coppermine&quot; 相册的常见问题解答',
-  'faq_lnk' => '常见问题解答',
-);
-
-$lang_gallery_admin_menu = array(
-  'upl_app_title' => '核准新上传', //cpg1.4	
-  'upl_app_lnk' => '核准上传',
-  'admin_title' => '进入设定', //cpg1.4    
-  'admin_lnk' => '设定', //cpg1.4
-  'albums_title' => '进入相册设定', //cpg1.4
-  'albums_lnk' => '相册',
-  'categories_title' => '进入类别设定', //cpg1.4    
-  'categories_lnk' => '类别',
-  'users_title' => '进入会员设定', //cpg1.4
-  'users_lnk' => '会员',
-  'groups_title' => '进入群设定', //cpg1.4
-  'groups_lnk' => '群',
-  'comments_title' => '检查全部留言', //cpg1.4
-  'comments_lnk' => '检查留言',
-  'searchnew_title' => '进入批量上传功能', //cpg1.4
-  'searchnew_lnk' => '批量上传',
-  'util_title' => '进入管理功能', //cpg1.4
-  'util_lnk' => '管理功能',
-  'key_title' => '进入关键词词库', //cpg1.4
-  'key_lnk' => '关键词词库', //cpg1.4
-  'ban_title' => '进入限制会员', //cpg1.4
-  'ban_lnk' => '限制会员',
-  'db_ecard_title' => '检查电子贺卡', //cpg1.4
-  'db_ecard_lnk' => '显示电子贺卡',
-  'pictures_title' => '排序相片', //cpg1.4
-  'pictures_lnk' => '排序相片', //cpg1.4
-  'documentation_lnk' => '使用帮助', //cpg1.4
-  'documentation_title' => 'CPG 使用手册', //cpg1.4
-);
-
-$lang_user_admin_menu = array(
-  'albmgr_title' => '建立/排序 相册', //cpg1.4
-  'albmgr_lnk' => '建立/排序 相册',
-  'modifyalb_title' => '进入编辑相册',  //cpg1.4
-  'modifyalb_lnk' => '编辑相册',
-  'my_prof_title' => '进入个人数据', //cpg1.4
-  'my_prof_lnk' => '个人资料',
-);
-
-$lang_cat_list = array(
-  'category' => '类别',
-  'albums' => '相册',
-  'pictures' => '图片',
-);
-
-$lang_album_list = array(
-  'album_on_page' => '%d 个相册，共 %d 页',
-);
-
-$lang_thumb_view = array(
-  'date' => '日期',
-  //Sort by filename and title
-  'name' => '文件名',
-  'title' => '标题',
-  'sort_da' => '根据日期排序 由远至近',
-  'sort_dd' => '根据日期排序 由近至远',
-  'sort_na' => '根据名称排序 由小至大',
-  'sort_nd' => '根据名称排序 由大至小',
-  'sort_ta' => '根据标题排序 由小至大',
-  'sort_td' => '根据标题排序 由大至小',
-  'position' => '位置', //cpg1.4
-  'sort_pa' => '小到大排序', //cpg1.4
-  'sort_pd' => '大到小排序', //cpg1.4
-  'download_zip' => '下载成 Zip 文件',
-  'pic_on_page' => '%d 张图片，共 %d 页',
-  'user_on_page' => '%d 名会员，共 %d 页',
-  'enter_alb_pass' => '输入相册密码', //cpg1.4
-  'invalid_pass' => '密码错误', //cpg1.4
-  'pass' => '密码', //cpg1.4
-  'submit' => '传送', //cpg1.4
-);
-
-$lang_img_nav_bar = array(
-  'thumb_title' => '返回缩略图页',
-  'pic_info_title' => '显示/隐藏 图片信息',
-  'slideshow_title' => '连续播放',
-  'ecard_title' => '把图片以电子贺卡寄出',
-  'ecard_disabled' => '电子贺卡功能目前停用',
-  'ecard_disabled_msg' => '您没有寄电子贺卡的权限', //js-alert
-  'prev_title' => '显示前一张图片',
-  'next_title' => '显示下一张图片',
-  'pic_pos' => '图片 %s/%s',
-  'report_title' => '检举这个文件', //cpg1.4
-  'go_album_end' => '跳到最后', //cpg1.4
-  'go_album_start' => '回到最先', //cpg1.4
-  'go_back_x_items' => '退后 %s 个项目', //cpg1.4
-  'go_forward_x_items' => '前进 %s 个项目', //cpg1.4
-);
-
-$lang_rate_pic = array(
-  'rate_this_pic' => '对图片评分',
-  'no_votes' => '(还没有人评分)',
-  'rating' => '(目前得分 : %s / 5 于 %s 个评分)',
-  'rubbish' => '昏倒 不看也罢',
-  'poor' => '有点差劲',
-  'fair' => '普普通通',
-  'good' => '很好',
-  'excellent' => '非常出色',
-  'great' => '顶-没有比这更好的了',
-);
-
-// ------------------------------------------------------------------------- //
-// File include/exif.inc.php
-// ------------------------------------------------------------------------- //
-
-// void
-
-// ------------------------------------------------------------------------- //
-// File include/functions.inc.php
-// ------------------------------------------------------------------------- //
-
-$lang_cpg_die = array(
-  INFORMATION => $lang_info,
-  ERROR => $lang_error,
-  CRITICAL_ERROR => '致命错误',
-  'file' => '文件: ',
-  'line' => '行数: ',
-);
-
-$lang_display_thumbnails = array(
-  'filename' => '文件名称=', //cpg1.4
-  'filesize' => '文件大小=', //cpg1.4
-  'dimensions' => '图片尺寸=', //cpg1.4
-  'date_added' => '加入日期=', //cpg1.4
-);
-
-$lang_get_pic_data = array(
-  'n_comments' => '%s 个留言',
-  'n_views' => '%s 次查看',
-  'n_votes' => '(%s 个评分)',
-);
-
-$lang_cpg_debug_output = array(
-  'debug_info' => '除错信息',
-  'select_all' => '全选',
-  'copy_and_paste_instructions' => '如果你要在 CPG 的支持论坛上要求协助，复制并贴上这个除错信息到你的发表文章内，包括显示的错误信息。发表文章前请注意用***来替换您的密码。<br />注意：这只是给我们提供改进的信息，并不代表您的相册有问题。', //cpg1.4
-  'phpinfo' => '显示PHP信息 (phpinfo)',
-  'notices' => '信息', //cpg1.4
-);
-
-$lang_language_selection = array(
-  'reset_language' => '预设语言',
-  'choose_language' => '选择你的语言',
-);
-
-$lang_theme_selection = array(
-  'reset_theme' => '预设风格',
-  'choose_theme' => '选择风格',
-);
-
-$lang_version_alert = array(
-  'version_alert' => '不支持的版本！', //cpg1.4
-  'no_stable_version' => '您安装的 CPG 相册版本 %s (%s) 只是给有经验的用户 - 这个版本不会得到官方的支持。如果要得到支持请安装官方提供的正式版本！', //cpg1.4
-  'gallery_offline' => '目前相册是属于维护状态，只有管理员才能进入。维护完毕之后记得将相册设回正常状态。', //cpg1.4
-);
-
-$lang_create_tabs = array(
-  'previous' => '上一个', //cpg1.4
-  'next' => '下一个', //cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File include/init.inc.php
-// ------------------------------------------------------------------------- //
-
-// void
-
-// ------------------------------------------------------------------------- //
-// File keyword.inc.php                                                      //
-// ------------------------------------------------------------------------- //
-
-// void
-
-// ------------------------------------------------------------------------- //
-// File include/picmgmt.inc.php
-// ------------------------------------------------------------------------- //
-
-// void
-
-// ------------------------------------------------------------------------- //
-// File include/plugin_api.inc.php
-// ------------------------------------------------------------------------- //
-$lang_plugin_api = array(
-  'error_wakeup' => "不能启用插件 '%s'", //cpg1.4
-  'error_install' => "不能安装插件 '%s'", //cpg1.4
-  'error_uninstall' => "不能删除插件 '%s'", //cpg1.4
-  'error_sleep' => "不能删除插件 '%s'<br />", //cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File include/smilies.inc.php
-// ------------------------------------------------------------------------- //
-
-if (defined('SMILIES_PHP')) $lang_smilies_inc_php = array(
-  'Exclamation' => '感叹',
-  'Question' => '疑问',
-  'Very Happy' => '很高兴',
-  'Smile' => '微笑',
-  'Sad' => '悲哀',
-  'Surprised' => '惊讶',
-  'Shocked' => '震惊',
-  'Confused' => '昏倒',
-  'Cool' => '很棒',
-  'Laughing' => '发笑',
-  'Mad' => '发狂',
-  'Razz' => '嘲笑',
-  'Embarassed' => '尴尬',
-  'Crying or Very sad' => '嚎哭',
-  'Evil or Very Mad' => '恶毒',
-  'Twisted Evil' => '古怪',
-  'Rolling Eyes' => '转眼睛',
-  'Wink' => '眨眼',
-  'Idea' => '主意',
-  'Arrow' => '箭头',
-  'Neutral' => '中立',
-  'Mr. Green' => 'Mr. Green',
-);
-
-// ------------------------------------------------------------------------- //
-// File addpic.php
-// ------------------------------------------------------------------------- //
-
-// void
-
-// ------------------------------------------------------------------------- //
-// File mode.php //cpg1.4
-// ------------------------------------------------------------------------- //
-
-if (defined('MODE_PHP')) $lang_mode_php = array(
-  0 => '退出管理模式...',
-  1 => '进入管理模式...',
-);
-
-// ------------------------------------------------------------------------- //
-// File albmgr.php
-// ------------------------------------------------------------------------- //
-
-if (defined('ALBMGR_PHP')) $lang_albmgr_php = array(
-  'alb_need_name' => '您需要给相册一个名称 !', //js-alert
-  'confirm_modifs' => '确定要做这些修改吗 ?', //js-alert
-  'no_change' => '您没有做任何改变 !', //js-alert
-  'new_album' => '新相册',
-  'confirm_delete1' => '确定要删除此相册吗 ?', //js-alert
-  'confirm_delete2' => '\n所有图片及留言都会删除 !', //js-alert
-  'select_first' => '请先选择一个相册', //js-alert
-  'alb_mrg' => '相册管理员',
-  'my_gallery' => '* 我的相册 *',
-  'no_category' => '* 没有类别 *',
-  'delete' => '删除',
-  'new' => '新增',
-  'apply_modifs' => '修改',
-  'select_category' => '选择类别',
-);
-
-// ------------------------------------------------------------------------- //
-// File banning.php
-// ------------------------------------------------------------------------- //
-
-if (defined('BANNING_PHP')) $lang_banning_php = array(
-  'title' => '限制会员', //cpg1.4
-  'user_name' => '会员名称', //cpg1.4
-  'ip_address' => 'IP 位置', //cpg1.4
-  'expiry' => '期限 (空白如果没有期限)', //cpg1.4
-  'edit_ban' => '储存', //cpg1.4
-  'delete_ban' => '删除', //cpg1.4
-  'add_new' => '新增限制', //cpg1.4
-  'add_ban' => '新增', //cpg1.4
-  'error_user' => '找不到会员', //cpg1.4
-  'error_specify' => '您必须提供会员名称或 IP 位置', //cpg1.4
-  'error_ban_id' => '错误的限制编号！', //cpg1.4
-  'error_admin_ban' => '您不能限制自己！', //cpg1.4
-  'error_server_ban' => '您要限制您自己的主机？别搞笑啦...', //cpg1.4
-  'error_ip_forbidden' => '您不能限制这个 IP - 这是不可路径选择的 (私人) IP！<br />如果您要允许限制私人 IP，在 <a href="admin.php">设定</a> 里面可以修改。', //cpg1.4
-  'lookup_ip' => '搜索 IP 位置', //cpg1.4
-  'submit' => '继续！', //cpg1.4
-  'select_date' => '选择日期', //cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File bridgemgr.php //cpg1.4
-// ------------------------------------------------------------------------- //
-
-if (defined('BRIDGEMGR_PHP')) $lang_bridgemgr_php = array(
-  'title' => '整合精灵',
-  'warning' => '警告：用这个整合精灵，重要数据是以 HTML 传送。建议您在自己的计算机上使用 (不是在网咖等其它公共场所)，然后确定把浏览器的缓存和临时文件删除。',
-  'back' => '返回',
-  'next' => '下一步',
-  'start_wizard' => '开始整合精灵',
-  'finish' => '完成',
-  'hide_unused_fields' => '隐藏没用的字段 (建议)',
-  'clear_unused_db_fields' => '清除错误的数据库项目 (建议)',
-  'custom_bridge_file' => '自定义的整合文件名称 (如果整合文件是叫 <i>myfile.inc.php</i>，在这个字段输入 <i>myfile</i>)',
-  'no_action_needed' => '不需要任何操作。请点 \'下一步\' 继续。',
-  'reset_to_default' => '重设回默认值',
-  'choose_bbs_app' => '选择整合 CPG 的软件',
-  'support_url' => '如需这个软件的支持请到',
-  'settings_path' => '论坛使用的路径',
-  'database_connection' => '数据库连接',
-  'database_tables' => '数据表',
-  'bbs_groups' => '论坛群',
-  'license_number' => '执照号码',
-  'license_number_explanation' => '输入执照号码 (如果有)',
-  'db_database_name' => '数据库名称',
-  'db_database_name_explanation' => '输入论坛使用的数据库名称',
-  'db_hostname' => '数据库主机',
-  'db_hostname_explanation' => '您的 MySQL 数据库的主机，通常是 &quot;localhost&quot;',
-  'db_username' => '数据库账号',
-  'db_username_explanation' => '论坛使用的数据库的用户账号',
-  'db_password' => '数据库密码',
-  'db_password_explanation' => '数据库的用户账号密码',
-  'full_forum_url' => '论坛网址',
-  'full_forum_url_explanation' => '您的论坛网址 (包括 http:// 例如：http://www.yourdomain.tld/forum)',
-  'relative_path_of_forum_from_webroot' => '论坛的相对路径',
-  'relative_path_of_forum_from_webroot_explanation' => '论坛的主机相对路径 (范例：如果您的论坛在 http://www.yourdomain.tld/forum/，输入 &quot;/forum/&quot;)',
-  'relative_path_to_config_file' => '论坛设定文件的相对路径',
-  'relative_path_to_config_file_explanation' => '论坛的相对路径，从 CPG 目录计算 (范例 &quot;../forum/&quot; 如果您的论坛是 http://www.yourdomain.tld/forum/ 然后 CPG 是 http://www.yourdomain.tld/gallery/)',
-  'cookie_prefix' => 'Cookie 前导符',
-  'cookie_prefix_explanation' => '这是论坛的 cookie 名称',
-  'table_prefix' => '数据表的前导符',
-  'table_prefix_explanation' => '论坛使用的数据表的前导符。',
-  'user_table' => '会员数据表',
-  'user_table_explanation' => '(通常默认值不会有问题，除非您有改过论坛的安装)',
-  'session_table' => '会话(session)的数据表',
-  'session_table_explanation' => '(通常默认值不会有问题，除非您有改过论坛的安装)',
-  'group_table' => '群数据表',
-  'group_table_explanation' => '(通常默认值不会有问题，除非您有改过论坛的安装)',
-  'group_relation_table' => '群关系的数据表',
-  'group_relation_table_explanation' => '(通常默认值不会有问题，除非您有改过论坛的安装)',
-  'group_mapping_table' => '群映射的数据表',
-  'group_mapping_table_explanation' => '(通常默认值不会有问题，除非您有改过论坛的安装)',
-  'use_standard_groups' => '使用标准的论坛群',
-  'use_standard_groups_explanation' => '使用标准 (内建) 的群 (建议)。这会让自定义的群无效。除非您知道在干麻，不要关闭这个设定！',
-  'validating_group' => '审核群',
-  'validating_group_explanation' => '论坛里需要审核的群编号是 (通常默认值不会有问题，建议不要改除非您知道它的用途)',
-  'guest_group' => '访客群',
-  'guest_group_explanation' => '论坛的访客群编号是 (通常默认值不会有问题，建议不要改除非您知道它的用途)',
-  'member_group' => '会员群',
-  'member_group_explanation' => '论坛的 &quot;普通&quot; 会员群编号是 (通常默认值不会有问题，建议不要改除非您知道它的用途)',
-  'admin_group' => '管理员群',
-  'admin_group_explanation' => '论坛的管理员群编号是 (通常默认值不会有问题，建议不要改除非您知道它的用途)',
-  'banned_group' => '限制群',
-  'banned_group_explanation' => '论坛的限制群编号是 (通常默认值不会有问题，建议不要改除非您知道它的用途)',
-  'global_moderators_group' => '全区版主群',
-  'global_moderators_group_explanation' => '论坛的全区版主群编号 (通常默认值不会有问题，建议不要改除非您知道它的用途)',
-  'special_settings' => '论坛的特殊设定',
-  'logout_flag' => 'phpBB 版本 (注销标签)',
-  'logout_flag_explanation' => '您的论坛版本 (这项设定是用来指示系统如何注销)',
-  'use_post_based_groups' => '使用文章群？',
-  'logout_flag_yes' => '2.0.5 或以上',
-  'logout_flag_no' => '2.0.4 或以下',
-  'use_post_based_groups_explanation' => '该使用论坛会员的文章数来做分类吗？ (允许更完善的权限管理) 或是使用预设群 (可简易管理，建议使用)。之后可以改变这个设定。',
-  'use_post_based_groups_yes' => '是',
-  'use_post_based_groups_no' => '否',
-  'error_title' => '您必须解决这些错误才能继续。回到上一页。',
-  'error_specify_bbs' => '您必须提供要整合的软件。',
-  'error_no_blank_name' => '您不能将自定义整合的名称字段留白。',
-  'error_no_special_chars' => '整合文件不能包括特殊字符，除了 (_) 和 (-)！',
-  'error_bridge_file_not_exist' => '整合文件 %s 不存在主机内。请检查是否上传成功。',
-  'finalize' => '开启/关闭 论坛整合',
-  'finalize_explanation' => '目前整合数据已存入数据库，但是整合还未开启。您可以在任何时间开启或关闭整合。记住相册的管理账号和密码，要做改变时可能需要。如果出现问题，到 %s 然后关闭论坛整合，用整合前的 CPG 管理账号 (您安装 CPG 时建立的账号)。',
-  'your_bridge_settings' => '整合设定',
-  'title_enable' => '开启整合 %s',
-  'bridge_enable_yes' => '开启',
-  'bridge_enable_no' => '关闭',
-  'error_must_not_be_empty' => '不能空白',
-  'error_either_be' => '必须是 %s 或 %s',
-  'error_folder_not_exist' => '%s 不存在。. 改正 %s 的输入值',
-  'error_cookie_not_readible' => 'CPG 无法读取 cookie 名称 %s。改正 %s 的输入值，或到论坛的设定里面确定 CPG 有读取它的 cookie 路径。',
-  'error_mandatory_field_empty' => '您不能空白字段 %s - 请输入正确值。',
-  'error_no_trailing_slash' => '%s 字段不能包括最后的斜线。',
-  'error_trailing_slash' => '%s 字段必须包括最后的斜线。',
-  'error_db_connect' => '不能连接到数据库。MySQL 的错误信息：',
-  'error_db_name' => '虽然 CPG 能够连接到数据库，它无法找到您输入的数据表 %s。确定 %s 是正确的数据。MySQL 的错误信息：',
-  'error_prefix_and_table' => '%s 和 ',
-  'error_db_table' => '找不到数据表 %s。确定 %s 是正确的数据。',
-  'recovery_title' => '整合管理： 修复',
-  'recovery_explanation' => '如果您要管理论坛的整合设定，您必须先用管理账号登录。如果不能登录，您可以先关闭论坛整合。输入您的账号和密码不会将您登录，只会关闭整合。详情请看帮助文档。',
-  'username' => '账号',
-  'password' => '密码',
-  'disable_submit' => '提交',
-  'recovery_success_title' => '授权完成',
-  'recovery_success_content' => '您已经成功关闭论坛的整合。CPG 目前不受整合影响。',
-  'recovery_success_advice_login' => '登录管理账号来编辑整合设定，或重新开启整合。',
-  'goto_login' => '进入登录页面',
-  'goto_bridgemgr' => '进入整合管理',
-  'recovery_failure_title' => '授权失败',
-  'recovery_failure_content' => '您输入错误的数据。您必须提供管理账号 (您安装 CPG 时建立的账号)。',
-  'try_again' => '重试',
-  'recovery_wait_title' => '锁定时间还没过',
-  'recovery_wait_content' => '因为安全问题，您不能连续登录失败后成功登录，您必须稍待一会才能继续登录。',
-  'wait' => '等待',
-  'create_redir_file' => '建立重定向(redirect)文件 (建议)',
-  'create_redir_file_explanation' => '如果要将会员在登录论坛时转回 CPG，您必须建立一个转址文件到您的论坛目录。勾选这个选项整合管理系统会自动帮您建立，或提供需要的程序代码让您手动建立文件。',
-  'browse' => '浏览',
-);
-
-// ------------------------------------------------------------------------- //
-// File calendar.php //cpg1.4
-// ------------------------------------------------------------------------- //
-
-if (defined('CALENDAR_PHP')) $lang_calendar_php = array(
-  'title' => '日历', //cpg1.4
-  'close' => '关闭', //cpg1.4
-  'clear_date' => '清除日期', //cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File catmgr.php
-// ------------------------------------------------------------------------- //
-
-if (defined('CATMGR_PHP')) $lang_catmgr_php = array(
-  'miss_param' => '\'%s\'操作所需要的参数并未提供！',
-  'unknown_cat' => '数据库里没有您所选的类别',
-  'usergal_cat_ro' => '会员相册的类别不能删除！',
-  'manage_cat' => '类别管理',
-  'confirm_delete' => '确定要删除此类别吗', //js-alert
-  'category' => '类别',
-  'operations' => '操作',
-  'move_into' => '移动到',
-  'update_create' => '更新/建立 类别',
-  'parent_cat' => '母类别',
-  'cat_title' => '类别标题',
-  'cat_thumb' => '类别缩略图',
-  'cat_desc' => '类别简介',
-  'categories_alpha_sort' => '小到大排序类别 (不用自定义排序)', //cpg1.4
-  'save_cfg' => '储存设定', //cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File admin.php //cpg1.4
-// ------------------------------------------------------------------------- //
-
-if (defined('ADMIN_PHP')) $lang_admin_php = array(
-  'title' => '相册设定', //cpg1.4
-  'manage_exif' => '管理 exif 显示', //cpg1.4
-  'manage_plugins' => '插件管理', //cpg1.4
-  'manage_keyword' => '关键词管理', //cpg1.4
-  'restore_cfg' => '设回默认值',
-  'save_cfg' => '储存设定',
-  'notes' => '批注',
-  'info' => '信息',
-  'upd_success' => 'CPG 设定已更新',
-  'restore_success' => '原始设定已回复',
-  'name_a' => '排序根据名称 由小至大',
-  'name_d' => '排序根据名称 由大至小',
-  'title_a' => '排序根据标题 由小至大',
-  'title_d' => '排序根据标题 由大至小',
-  'date_a' => '排序根据日期 由远至近',
-  'date_d' => '排序根据日期 由近至远',
-  'pos_a' => '小到大', //cpg1.4
-  'pos_d' => '大到小', //cpg1.4
-  'th_any' => '最大外观',
-  'th_ht' => '高度',
-  'th_wd' => '宽度',
-  'label' => '标签',
-  'item' => '项目',
-  'debug_everyone' => '任何人',
-  'debug_admin' => '管理员专用',
-  'no_logs'=> '关闭', //cpg1.4
-  'log_normal'=> '正常', //cpg1.4
-  'log_all' => '全部', //cpg1.4
-  'view_logs' => '浏览记录', //cpg1.4
-  'click_expand' => '点名称展开', //cpg1.4
-  'expand_all' => '全部展开', //cpg1.4
-  'notice1' => '(*) 这些设定不能改变，如果你已经有文件储存于数据库。', //cpg1.4 - (relocated)
-  'notice2' => '(**) 改变这些设定只会影响之后加入的文件。建议您不要改变这些设定，如果已有文件存在。但是您可以改变现有的文件，使用 &quot;<a href="util.php">管理功能</a> (重设尺寸)&quot; 的功能。', //cpg1.4 - (relocated)
-  'notice3' => '(***) 全部的记录文件是以英文显示。', //cpg1.4 - (relocated)
-  'bbs_disabled' => '整合论坛后关闭的功能', //cpg1.4
-  'auto_resize_everyone' => '每个人', //cpg1.4
-  'auto_resize_user' => '会员', //cpg1.4
-  'ascending' => '小到大', //cpg1.4
-  'descending' => '大到小', //cpg1.4
-);
-
-if (defined('ADMIN_PHP')) $lang_admin_data = array(
-  '基本设定',
-  array('相册名称', 'gallery_name', 0, 'f=index.htm&amp;as=admin_general_name&amp;ae=admin_general_name_end'), //cpg1.4
-  array('相册描述', 'gallery_description', 0, 'f=index.htm&amp;as=admin_general_description&amp;ae=admin_general_description_end'), //cpg1.4
-  array('相册管理员的电子邮件', 'gallery_admin_email', 0, 'f=index.htm&amp;as=admin_general_email&amp;ae=admin_general_email_end'), //cpg1.4
-  array('CPG 的网址 (不要加上 \'index.php\')', 'ecards_more_pic_target', 0, 'f=index.htm&amp;as=admin_general_coppermine-url&amp;ae=admin_general_coppermine-url_end'), //cpg1.4
-  array('首页的网址', 'home_target', 0, 'f=index.htm&amp;as=admin_general_home-url&amp;ae=admin_general_home-url_end'), //cpg1.4
-  array('允许将最爱的图片下载成ZIP文件', 'enable_zipdownload', 1, 'f=index.htm&amp;as=admin_general_zip-download&amp;ae=admin_general_zip-download_end'), //cpg1.4
-  array('时区跟 GMT 的差别 (目前时间： ' . localised_date(-1, $comment_date_fmt) . ')','time_offset',0, 'f=index.htm&amp;as=admin_general_time-offset&amp;ae=admin_general_time-offset_end&amp;top=1'), //cpg1.4
-  array('开启加密密码 (可以关闭)','enable_encrypted_passwords',1, 'f=index.htm&amp;as=admin_general_encrypt_password_start&amp;ae=admin_general_encrypt_password_end&amp;top=1'), // cpg 1.4
-  array('开启帮助图示 (帮助只以英文显示)','enable_help',9, 'f=index.htm&amp;as=admin_general_help&amp;ae=admin_general_help_end'), //cpg1.4
-  array('允许可点的关键词','clickable_keyword_search',14, 'f=index.htm&amp;as=admin_general_keywords_start&amp;ae=admin_general_keywords_end'), //cpg1.4
-  array('允许插件', 'enable_plugins', 12, 'f=index.htm&amp;as=admin_general_enable-plugins&amp;ae=admin_general_enable-plugins_end'),  //cpg1.4
-  array('允许限制非路由地址（私有）', 'ban_private_ip', 1,  'f=index.htm&amp;as=admin_general_private-ip&amp;ae=admin_general_private-ip_end'), //cpg1.4
-  array('可浏览的批量接口', 'browse_batch_add', 1, 'f=index.htm&amp;as=admin_general_browsable_batch_add&amp;ae=admin_general_browsable_batch_add_end'), //cpg1.4
-
-  '语言 &amp; 编码设定',
-  array('语言', 'lang', 5, 'f=index.htm&amp;as=admin_language_language&amp;ae=admin_language_language_end'), //cpg1.4
-  array('如果翻译的字句不存在使用英文替回', 'language_fallback', 1, 'f=index.htm&amp;as=admin_language_fallback&amp;ae=admin_language_fallback_end'), //cpg1.4
-  array('文字编码', 'charset', 4, 'f=index.htm&amp;as=admin_language_charset&amp;ae=admin_language_charset_end'), //cpg1.4
-  array('显示语言列表', 'language_list', 1, 'f=index.htm&amp;as=admin_language_list&amp;ae=admin_language_list_end'), //cpg1.4
-  array('显示语言国旗', 'language_flags', 8, 'f=index.htm&amp;as=admin_language_flags&amp;ae=admin_language_flags_end&amp;top=1'), //cpg1.4
-  array('语言菜单内显示 &quot;重设&quot;', 'language_reset', 1, 'f=index.htm&amp;as=admin_language_reset&amp;ae=admin_language_reset_end&amp;top=1'), //cpg1.4
-  //array('显示 上一页/下一页 于页面', 'previous_next_tab', 1), //cpg1.4
-
-  '风格设定',
-  array('风格', 'theme', 6, 'f=index.htm&amp;as=admin_theme_theme&amp;ae=admin_theme_theme_end'), //cpg1.4
-  array('显示风格列表', 'theme_list', 1, 'f=index.htm&amp;as=admin_theme_theme_list&amp;ae=admin_theme_theme_list_end'), //cpg1.4
-  array('风格菜单内显示 &quot;重设&quot;', 'theme_reset', 1, 'f=index.htm&amp;as=admin_theme_theme_reset&amp;ae=admin_theme_theme_reset_end'), //cpg1.4
-  array('显示 FAQ', 'display_faq', 1, 'f=index.htm&amp;as=admin_theme_faq&amp;ae=admin_theme_faq_end'), //cpg1.4
-  array('自定义的菜单连接', 'custom_lnk_name', 0,'f=index.htm&amp;as=admin_theme_custom_lnk_name&amp;ae=admin_theme_custom_lnk_name_end'), //cpg1.4
-  array('自定义菜单的网址', 'custom_lnk_url', 0,'f=index.htm&amp;as=admin_language_custom_lnk_url&amp;ae=admin_language_custom_lnk_url_end'), //cpg1.4
-  array('显示 bbcode 帮助', 'show_bbcode_help', 1, 'f=index.htm&amp;as=admin_theme_bbcode&amp;ae=admin_theme_bbcode_end&amp;top=1'), //cpg1.4
-  array('显示 vanity 区域（下面的四个php,mysql,xhtml,css图片标签），来显示我们通过了 XHTML 和 CSS 测试','vanity_block',1, 'f=index.htm&amp;as=vanity_block&amp;ae=vanity_block_end'), //cpg1.4
-  array('自定义标头的路径', 'custom_header_path', 0, 'f=index.htm&amp;as=admin_theme_include_path_start&amp;ae=admin_theme_include_path_end'), //cpg1.4
-  array('自定义页尾的路径', 'custom_footer_path', 0, 'f=index.htm&amp;as=admin_theme_include_path_start&amp;ae=admin_theme_include_path_end'), //cpg1.4
-
-  '相册目录显示',
-  array('主要表格宽度 (像素或 %)', 'main_table_width', 0, 'f=index.htm&amp;as=admin_album_table-width&amp;ae=admin_album_table-width_end'), //cpg1.4
-  array('类别显示的层次数量', 'subcat_level', 0, 'f=index.htm&amp;as=admin_album_category-levels&amp;ae=admin_album_category-levels_end'), //cpg1.4
-  array('相册显示数量', 'albums_per_page', 0, 'f=index.htm&amp;as=admin_album_number&amp;ae=admin_album_number_end'), //cpg1.4
-  array('相册列表的栏数', 'album_list_cols', 0, 'f=index.htm&amp;as=admin_album_columns&amp;ae=admin_album_columns_end'), //cpg1.4
-  array('缩略图像素', 'alb_list_thumb_size', 0, 'f=index.htm&amp;as=admin_album_thumbnail-size&amp;ae=admin_album_thumbnail-size_end'), //cpg1.4
-  array('主页的内容', 'main_page_layout', 0, 'f=index.htm&amp;as=admin_album_list_content&amp;ae=admin_album_list_content_end'), //cpg1.4
-  array('显示分类中第一层的相册缩略图','first_level',1, 'f=index.htm&amp;as=admin_album_first-level_thumbs&amp;ae=admin_album_first-level_thumbs_end'), //cpg1.4
-  array('以小到大排列类别 (不使用自定义排列)','categories_alpha_sort',1, 'f=index.htm&amp;as=admin_album_list_alphasort_start&amp;ae=admin_album_list_alphasort_end'), //cpg1.4
-  array('显示连接的文件数量','link_pic_count',1, 'f=index.htm&amp;as=admin_album_linked_files_start&amp;ae=admin_album_linked_files_end'), //cpg1.4
-
-  '缩略图显示',
-  array('缩略图页栏数', 'thumbcols', 0, 'f=index.htm&amp;as=admin_thumbnail_columns&amp;ae=admin_thumbnail_columns_end'), //cpg1.4
-  array('缩略图页列数', 'thumbrows', 0, 'f=index.htm&amp;as=admin_thumbnail_rows&amp;ae=admin_thumbnail_rows_end'), //cpg1.4
-  array('显示的卷标页数量', 'max_tabs', 10, 'f=index.htm&amp;as=admin_thumbnail_tabs&amp;ae=admin_thumbnail_tabs_end'), //cpg1.4
-  array('缩略图下方显示图片帮助 (连标题)', 'caption_in_thumbview', 1, 'f=index.htm&amp;as=admin_thumbnail_display_caption&amp;ae=admin_thumbnail_display_caption_end'), //cpg1.4
-  array('缩略图下方显示浏览次数', 'views_in_thumbview', 1, 'f=index.htm&amp;as=admin_thumbnail_display_views&amp;ae=admin_thumbnail_display_views_end'), //cpg1.4
-  array('缩略图下方显示留言', 'display_comment_count', 1, 'f=index.htm&amp;as=admin_thumbnail_display_comments&amp;ae=admin_thumbnail_display_comments_end'), //cpg1.4
-  array('缩略图下方显示上传者名称', 'display_uploader', 1, 'f=index.htm&amp;as=admin_thumbnail_display_uploader&amp;ae=admin_thumbnail_display_uploader_end'), //cpg1.4
-  //array('缩略图下方显示上传的管理员', 'display_admin_uploader', 1, 'f=index.htm&amp;as=admin_thumbnail_display_admin_uploader&amp;ae=admin_thumbnail_display_admin_uploader_end'), //cpg1.4
-  array('缩略图下方显示文件名称', 'display_filename', 1, 'f=index.htm&amp;as=admin_thumbnail_display_filename&amp;ae=admin_thumbnail_display_filename_end'), //cpg1.4
-  array('显示相册简介', 'alb_desc_thumb', 1, 'f=index.htm&amp;as=admin_thumbnail_display_description&amp;ae=admin_thumbnail_display_description_end'), //cpg1.4
-  array('预设的文件排序', 'default_sort_order', 3, 'f=index.htm&amp;as=admin_thumbnail_default_sortorder&amp;ae=admin_thumbnail_default_sortorder_end'), //cpg1.4
-  array('\'热门投票\' 需要的投票数', 'min_votes_for_rating', 0, 'f=index.htm&amp;as=admin_thumbnail_minimum_votes&amp;ae=admin_thumbnail_minimum_votes_end'), //cpg1.4
-
-  '图片显示', //cpg1.4
-  array('显示图片的表格宽度 (像素或 %)', 'picture_table_width', 0, 'f=index.htm&amp;as=admin_image_comment_table-width&amp;ae=admin_image_comment_table-width_end'), //cpg1.4
-  array('图片信息的预设为显示', 'display_pic_info', 1, 'f=index.htm&amp;as=admin_image_comment_info_visible&amp;ae=admin_image_comment_info_visible_end'), //cpg1.4
-  array('图片简介的允许字数', 'max_img_desc_length', 0, 'f=index.htm&amp;as=admin_image_comment_descr_length&amp;ae=admin_image_comment_descr_length_end'), //cpg1.4
-  array('允许的文字数量', 'max_com_wlength', 0, 'f=index.htm&amp;as=admin_image_comment_chars_per_word&amp;ae=admin_image_comment_chars_per_word_end'), //cpg1.4
-  array('显示图片预览列', 'display_film_strip', 1, 'f=index.htm&amp;as=admin_image_comment_filmstrip_toggle&amp;ae=admin_image_comment_filmstrip_toggle_end'), //cpg1.4
-  array('图片预览列下方显示文件名称', 'display_film_strip_filename', 1, 'f=index.htm&amp;as=admin_image_comment_display_film_strip_filename&amp;ae=admin_image_comment_display_film_strip_filename_end'), //cpg1.4
-  array('预览列的数量', 'max_film_strip_items', 0, 'f=index.htm&amp;as=admin_image_comment_filmstrip_number&amp;ae=admin_image_comment_filmstrip_number_end'), //cpg1.4
-  array('连续拨放间隔时间 (毫秒)。1 秒 = 1000 毫秒', 'slideshow_interval', 0, 'f=index.htm&amp;as=admin_image_comment_slideshow_interval&amp;ae=admin_image_comment_slideshow_interval_end'), //cpg1.4
-
-  '留言设定', //cpg1.4
-  array('留言内过滤不良词汇', 'filter_bad_words', 1, 'f=index.htm&amp;as=admin_image_comment_bad_words&amp;ae=admin_image_comment_bad_words_end'), //cpg1.4
-  array('留言内允许表情图案', 'enable_smilies', 1, 'f=index.htm&amp;as=admin_image_comment_smilies&amp;ae=admin_image_comment_smilies_end'), //cpg1.4
-  array('允许会员在同一张图片连续发表留言 (关闭灌水保护)', 'disable_comment_flood_protect', 1, 'f=index.htm&amp;as=admin_image_comment_flood&amp;ae=admin_image_comment_flood_end'), //cpg1.4
-  array('留言的最大行数', 'max_com_lines', 0, 'f=index.htm&amp;as=admin_image_comment_lines&amp;ae=admin_image_comment_lines_end'), //cpg1.4
-  array('留言的最大长度', 'max_com_size', 0, 'f=index.htm&amp;as=admin_image_comment_length&amp;ae=admin_image_comment_length_end'), //cpg1.4
-  array('有留言时通知管理员', 'email_comment_notification', 1, 'f=index.htm&amp;as=admin_image_comment_admin_notify&amp;ae=admin_image_comment_admin_notify_end'), //cpg1.4
-  array('留言的排序', 'comments_sort_descending', 17, 'f=index.htm&amp;as=admin_comment_sort_start&amp;ae=admin_comment_sort_end'), //cpg1.4
-  array('无名留言者的前导符', 'comments_anon_pfx', 0, 'f=index.htm&amp;as=comments_anon_pfx&amp;ae=comments_anon_pfx_end'), //cpg1.4
-
-  '图片及缩略图设定',
-  array('JPEG 格式质量', 'jpeg_qual', 0, 'f=index.htm&amp;as=admin_picture_thumbnail_jpeg_quality&amp;ae=admin_picture_thumbnail_jpeg_quality_end'), //cpg1.4
-  array('缩略图最大尺寸 <a href="#notice2" class="clickable_option">**</a>', 'thumb_width', 0, 'f=index.htm&amp;as=admin_picture_thumbnail_max-dimension&amp;ae=admin_picture_thumbnail_max-dimension_end'), //cpg1.4
-  array('使用尺寸 (宽，高或缩略图最大边长) <a href="#notice2" class="clickable_option">**</a>', 'thumb_use', 7, 'f=index.htm&amp;as=admin_picture_thumbnail_use-dimension&amp;ae=admin_picture_thumbnail_use-dimension_end'), //cpg1.4
-  array('建立中级图片','make_intermediate',1, 'f=index.htm&amp;as=admin_picture_thumbnail_intermediate_toggle&amp;ae=admin_picture_thumbnail_intermediate_toggle_end'), //cpg1.4
-  array('中级图片/影片的最大尺寸 <a href="#notice2" class="clickable_option">**</a>', 'picture_width', 0, 'f=index.htm&amp;as=admin_picture_thumbnail_intermediate_dimension&amp;ae=admin_picture_thumbnail_intermediate_dimension_end'), //cpg1.4
-  array('传图片的最大限制 (KB)', 'max_upl_size', 0, 'f=index.htm&amp;as=admin_picture_thumbnail_max_upload_size&amp;ae=admin_picture_thumbnail_max_upload_size_end'), //cpg1.4
-  array('上传图片/影片的最大宽度或最高尺寸 (像素)', 'max_upl_width_height', 0, 'f=index.htm&amp;as=admin_picture_thumbnail_max_upload_dimension&amp;ae=admin_picture_thumbnail_max_upload_dimension_end'), //cpg1.4
-  array('自动重设超过限制的图片尺寸', 'auto_resize', 16, 'f=index.htm&amp;as=admin_picture_thumbnail_auto-resize&amp;ae=admin_picture_thumbnail_auto-resize_end'), //cpg1.4
-
-  '图片和缩略图的高级设定',
-  array('可使用私人相册 (注意：如果您从 \'是\' 换成 \'否\'，任何现有的私人相册将会变成公共相册)', 'allow_private_albums', 1, 'f=index.htm&amp;as=admin_picture_thumb_advanced_private_toggle&amp;ae=admin_picture_thumb_advanced_private_toggle_end'), //cpg1.4
-  array('显示私人相册图片给未登录的会员','show_private',1, 'f=index.htm&amp;as=admin_picture_thumb_advanced_private_icon_show&amp;ae=admin_picture_thumb_advanced_private_icon_show_end'), //cpg1.4
-  array('文件名不可使用的字词', 'forbiden_fname_char',0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_filename_forbidden_chars&amp;ae=admin_picture_thumb_advanced_filename_forbidden_chars_end'), //cpg1.4
-  //array('上传图片可接受的扩展名', 'allowed_file_extensions',0, 'f=index.htm&amp;as=&amp;ae=_end'), //cpg1.4
-  array('允许的图片文件类型', 'allowed_img_types',0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_pic_extensions&amp;ae=admin_picture_thumb_advanced_pic_extensions_end'), //cpg1.4
-  array('允许的影片文件类型', 'allowed_mov_types',0, 'f=index.htm&amp;as=admin_thumbs_advanced_movie&amp;ae=admin_thumbs_advanced_movie_end'), //cpg1.4
-  array('自动播放影片', 'media_autostart',1, 'f=index.htm&amp;as=admin_movie_autoplay&amp;ae=admin_movie_autoplay_end'), //cpg1.4
-  array('允许的声音文件类型', 'allowed_snd_types',0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_audio_extensions&amp;ae=admin_picture_thumb_advanced_audio_extensions_end'), //cpg1.4
-  array('允许的文件文件类型', 'allowed_doc_types',0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_doc_extensions&amp;ae=admin_picture_thumb_advanced_doc_extensions_end'), //cpg1.4
-  array('建立缩略图的方法','thumb_method',2, 'f=index.htm&amp;as=admin_picture_thumb_advanced_resize_method&amp;ae=admin_picture_thumb_advanced_resize_method_end'), //cpg1.4
-  array('ImageMagick 的 \'convert\' 程序路径 (例如 /usr/bin/X11/)', 'impath', 0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_im_path&amp;ae=admin_picture_thumb_advanced_im_path_end'), //cpg1.4
-  //array('可接受的图片类型 (只对 ImageMagick 有效)', 'allowed_img_types',0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_allowed_imagetypes&amp;ae=admin_picture_thumb_advanced_allowed_imagetypes_end'), //cpg1.4
-  array('ImageMagick 的命令列选项', 'im_options', 0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_im_commandline&amp;ae=admin_picture_thumb_advanced_im_commandline_end'), //cpg1.4
-  array('读取 JPEG 图片的 EXIF 数据', 'read_exif_data', 13, 'f=index.htm&amp;as=admin_picture_thumb_advanced_exif&amp;ae=admin_picture_thumb_advanced_exif_end'), //cpg1.4
-  array('读取 JPEG 图片的 IPTC 数据', 'read_iptc_data', 1, 'f=index.htm&amp;as=admin_picture_thumb_advanced_iptc&amp;ae=admin_picture_thumb_advanced_iptc_end'), //cpg1.4
-  array('相册路径 <a href="#notice1" class="clickable_option">*</a>', 'fullpath', 0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_albums_dir&amp;ae=admin_picture_thumb_advanced_albums_dir_end'), //cpg1.4
-  array('会员图文件路径 <a href="#notice1" class="clickable_option">*</a>', 'userpics', 0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_userpics_dir&amp;ae=admin_picture_thumb_advanced_userpics_dir_end'), //cpg1.4
-  array('缩略图片的前导符 <a href="#notice1" class="clickable_option">*</a>', 'normal_pfx', 0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_intermediate_prefix&amp;ae=admin_picture_thumb_advanced_intermediate_prefix_end'), //cpg1.4
-  array('缩略图的前导符 <a href="#notice1" class="clickable_option">*</a>', 'thumb_pfx', 0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_thumbs_prefix&amp;ae=admin_picture_thumb_advanced_thumbs_prefix_end'), //cpg1.4
-  array('目录的预设模式', 'default_dir_mode', 0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_chmod_folder&amp;ae=admin_picture_thumb_advanced_chmod_folder_end'), //cpg1.4
-  array('文件的预设模式', 'default_file_mode', 0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_chmod_files&amp;ae=admin_picture_thumb_advanced_chmod_files_end'), //cpg1.4
-
-  '会员设定',
-  array('允许会员注册', 'allow_user_registration', 1, 'f=index.htm&amp;as=admin_allow_registration&amp;ae=admin_allow_registration_end'), //cpg1.4
-  array('允许访客进入', 'allow_unlogged_access', 1, 'f=index.htm&amp;as=admin_allow_unlogged_access&amp;ae=admin_allow_unlogged_access_end'), //cpg1.4
-  array('注册需要电子邮件验证', 'reg_requires_valid_email', 1, 'f=index.htm&amp;as=admin_registration_verify&amp;ae=admin_registration_verify_end'), //cpg1.4
-  array('有新会员时通知管理员', 'reg_notify_admin_email', 1, 'f=index.htm&amp;as=admin_registration_notify&amp;ae=admin_registration_notify_end'), //cpg1.4
-  array('管理员需审核注册', 'admin_activation', 1, 'f=index.htm&amp;as=admin_activation&amp;ae=admin_activation_end'),  //cpg1.4
-  array('允许两个会员使用同一个电子邮件', 'allow_duplicate_emails_addr', 1, 'f=index.htm&amp;as=admin_allow_duplicate_emails_addr&amp;ae=admin_allow_duplicate_emails_addr_end'), //cpg1.4
-  array('通知管理员有等待审核的文件', 'upl_notify_admin_email', 1, 'f=index.htm&amp;as=admin_approval_notify&amp;ae=admin_approval_notify_end'), //cpg1.4
-  array('允许登录的会员浏览会员名单', 'allow_memberlist', 1, 'f=index.htm&amp;as=admin_user_memberlist&amp;ae=admin_user_memberlist_end'), //cpg1.4
-  array('允许会员改变电子邮件', 'allow_email_change', 1, 'f=index.htm&amp;as=admin_user_allow_email_change&amp;ae=admin_user_allow_email_change_end'), //cpg1.4
-  array('允许会员保留自己在公共相册里的图片', 'users_can_edit_pics', 1, 'f=index.htm&amp;as=admin_user_editpics_public_start&amp;ae=admin_user_editpics_public_end'), //cpg1.4
-  array('允许错误登录的次数 (避免相册遭受攻击)', 'login_threshold', 0, 'f=index.htm&amp;as=admin_user_login_start&amp;ae=admin_user_login_end'), //cpg1.4
-  array('错误登录后的限制时间', 'login_expiry', 0, 'f=index.htm&amp;as=admin_user_login_start&amp;ae=admin_user_login_end'), //cpg1.4
-  array('允许向管理员检举文件', 'report_post', 1, 'f=index.htm&amp;as=admin_user_enable_report&amp;ae=admin_user_enable_report_end'),  //cpg1.4
-
-// custom profile fields,  //cpg1.4
-  '个人数据的自定义字段 (空白如果不使用)。
-  用“数据 6” 给字数长的信息，例如说个人简介', //cpg1.4
-  array('数据 1 的名称', 'user_profile1_name', 0, 'f=index.htm&amp;as=admin_custom&amp;ae=admin_custom_end'), //cpg1.4
-  array('数据 2 的名称', 'user_profile2_name', 0), //cpg1.4
-  array('数据 3 的名称', 'user_profile3_name', 0), //cpg1.4
-  array('数据 4 的名称', 'user_profile4_name', 0), //cpg1.4
-  array('数据 5 的名称', 'user_profile5_name', 0), //cpg1.4
-  array('数据 6 的名称', 'user_profile6_name', 0), //cpg1.4
-
-  '图片简介的自定义字段 (空白如果不使用)',
-  array('字段 1 的名称', 'user_field1_name', 0, 'f=index.htm&amp;as=admin_custom_image&amp;ae=admin_custom_image_end'), //cpg1.4
-  array('字段 2 的名称', 'user_field2_name', 0),
-  array('字段 3 的名称', 'user_field3_name', 0),
-  array('字段 4 的名称', 'user_field4_name', 0),
-
-  'Cookies 设定',
-  array('Cookie 名称', 'cookie_name', 0, 'f=index.htm&amp;as=admin_cookie_name&amp;ae=admin_cookie_name_end'), //cpg1.4
-  array('Cookie 路径', 'cookie_path', 0, 'f=index.htm&amp;as=admin_cookie_path&amp;ae=admin_cookie_path_end'), //cpg1.4
-
-  '电子邮件设定  (通常可以不用作任何改变；如果不懂请不要更改)', //cpg1.4
-  array('SMTP 主机 (如果空白会使用 sendmail)', 'smtp_host', 0, 'f=index.htm&amp;as=admin_email&amp;ae=admin_email_end'), //cpg1.4
-  array('SMTP 账号', 'smtp_username', 0), //cpg1.4
-  array('SMTP 密码', 'smtp_password', 0), //cpg1.4
-
-  '记录和统计', //cpg1.4
-  array('记录模式 <a href="#notice3" class="clickable_option">***</a>', 'log_mode', 11, 'f=index.htm&amp;as=admin_logging_log_mode&amp;ae=admin_logging_log_mode_end'), //cpg1.4
-  array('记录电子贺卡', 'log_ecards', 1, 'f=index.htm&amp;as=admin_general_log_ecards&amp;ae=admin_general_log_ecards_end'), //cpg1.4
-  array('记录投票的统计','vote_details',1, 'f=index.htm&amp;as=admin_logging_votedetails&amp;ae=admin_logging_votedetails_end'), //cpg1.4
-  array('记录浏览的统计','hit_details',1, 'f=index.htm&amp;as=admin_logging_hitdetails&amp;ae=admin_logging_hitdetails_end'), //cpg1.4
-
-  '维护设定', //cpg1.4
-  array('开启除错模式', 'debug_mode', 9, 'f=index.htm&amp;as=debug_mode&amp;ae=debug_mode_end'), //cpg1.4
-  array('显示除错模式里的通知', 'debug_notice', 1, 'f=index.htm&amp;as=admin_misc_debug_notices&amp;ae=admin_misc_debug_notices_end'), //cpg1.4
-  array('相册维护 (关闭)', 'offline', 1, 'f=index.htm&amp;as=admin_general_offline&amp;ae=admin_general_offline_end'), //cpg1.4
-);
-
-
-// ------------------------------------------------------------------------- //
-// File db_ecard.php
-// ------------------------------------------------------------------------- //
-
-if (defined('DB_ECARD_PHP')) $lang_db_ecard_php = array(
-  'title' => '发送电子贺卡',
-  'ecard_sender' => '发件人',
-  'ecard_recipient' => '收件人',
-  'ecard_date' => '日期',
-  'ecard_display' => '显示电子贺卡',
-  'ecard_name' => '名称',
-  'ecard_email' => '电子邮件',
-  'ecard_ip' => 'IP #',
-  'ecard_ascending' => '升序',
-  'ecard_descending' => '降序',
-  'ecard_sorted' => '排序',
-  'ecard_by_date' => '根据日期',
-  'ecard_by_sender_name' => '根据发件人名称',
-  'ecard_by_sender_email' => '根据发件人邮件',
-  'ecard_by_sender_ip' => '根据发件人的 IP 地址',
-  'ecard_by_recipient_name' => '根据收件人名称',
-  'ecard_by_recipient_email' => '根据收件人邮件',
-  'ecard_number' => '显示纪录 %s 到 %s 在 %s',
-  'ecard_goto_page' => '到页面',
-  'ecard_records_per_page' => '页面记录',
-  'check_all' => '全选',
-  'uncheck_all' => '都不选',
-  'ecards_delete_selected' => '删除选取的贺卡',
-  'ecards_delete_confirm' => '你确定要删除记录吗？请勾选。',
-  'ecards_delete_sure' => '我确定',
-);
-
-
-// ------------------------------------------------------------------------- //
-// File db_input.php
-// ------------------------------------------------------------------------- //
-
-if (defined('DB_INPUT_PHP')) $lang_db_input_php = array(
-  'empty_name_or_com' => '请输入您的名字和留言',
-  'com_added' => '您的留言已经加入',
-  'alb_need_title' => '您必须为相册提供一个标题 !',
-  'no_udp_needed' => '没有更新的必要',
-  'alb_updated' => '相册已经更新',
-  'unknown_album' => '所选择的相册不存在或您没有权限上传文件到此相册',
-  'no_pic_uploaded' => '没有文件被上传 !<br /><br />如果您确定有选择文件上传, 请检查服务器是否允许上传文件...',
-  'err_mkdir' => '无法建立目录 %s！',
-  'dest_dir_ro' => '目录 %s 无法读写！',
-  'err_move' => '无法移动 %s 到 %s！',
-  'err_fsize_too_large' => '您上传的图片太大 (不能超过 %s x %s)！', //obsolete since cpg1.3 - consider removal in cpg1.4 once upload.php has been overhauled
-  'err_imgsize_too_large' => '您上传的图片太大 (不能超过 %s KB)！', //obsolete since cpg1.3 - consider removal in cpg1.4 once upload.php has been overhauled
-  'err_invalid_img' => '上传的文件并不是容许的图片格式 !',
-  'allowed_img_types' => '您只可以上传 %s 张图片.',
-  'err_insert_pic' => '文件 \'%s\' 无法加入此相册 ',
-  'upload_success' => '文件上传完成!<br /><br />当管理者核准后就可以看到文件了.',
-  'notify_admin_email_subject' => '%s - 上传文件通知',
-  'notify_admin_email_body' => '%s有上传文件 需要你的核准. 请查阅 %s',
-  'info' => '信息',
-  'com_added' => '留言已加入',
-  'alb_updated' => '相册已经更新',
-  'err_comment_empty' => '留言是空的 !',
-  'err_invalid_fext' => '只有下列的扩展名才允许上传 : <br /><br />%s.',
-  'no_flood' => '抱歉, 此图片最后一个留言是您提供<br /><br />您只可以修改您的留言',
-  'redirect_msg' => '页面转移中.<br /><br /><br />按 \'继续\' 如果页面没有自动刷新',
-  'upl_success' => '已经加入您的图片',
-  'email_comment_subject' => '相册已有新留言',
-  'email_comment_body' => '已经有留言发表在您的相册。请浏览',
-  'album_not_selected' => '无选择的相册', //cpg1.4
-  'com_author_error' => '已有注册会员使用了这个名称，请登录或使用其它名称', //cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File delete.php
-// ------------------------------------------------------------------------- //
-
-if (defined('DELETE_PHP')) $lang_delete_php = array(
-  'caption' => '帮助',
-  'fs_pic' => '原图',
-  'del_success' => '完成删除',
-  'ns_pic' => '标准尺寸图片',
-  'err_del' => '无法删除',
-  'thumb_pic' => '缩略图',
-  'comment' => '留言',
-  'im_in_alb' => '相册内图片',
-  'alb_del_success' => '相册 &laquo;%s&raquo; 已删除', //cpg1.4
-  'alb_mgr' => '相册管理',
-  'err_invalid_data' => '接收到不正确的数据于 \'%s\'',
-  'create_alb' => '建立相册 \'%s\'',
-  'update_alb' => '更新相册 \'%s\' 标题为 \'%s\' 索引为 \'%s\'',
-  'del_pic' => '删除图片',
-  'del_alb' => '删除相册',
-  'del_user' => '删除会员',
-  'err_unknown_user' => '所选择的会员不存在！',
-  'err_empty_groups' => '找不要群的数据表，或没有资料！', //cpg1.4
-  'comment_deleted' => '留言已删除',
-  'npic' => '图片', //cpg1.4
-  'pic_mgr' => '图片管理', //cpg1.4
-  'update_pic' => '更新图片 \'%s\' 的文件名为 \'%s\'，索引是 \'%s\'', //cpg1.4
-  'username' => '账号', //cpg1.4
-  'anonymized_comments' => '%s 个无名的留言', //cpg1.4
-  'anonymized_uploads' => '%s 个无名的公共上传', //cpg1.4
-  'deleted_comments' => '删除了 %s 个留言', //cpg1.4
-  'deleted_uploads' => '删除了 %s 个公共上传', //cpg1.4
-  'user_deleted' => '会员 %s 已删除', //cpg1.4
-  'activate_user' => '启用账号', //cpg1.4
-  'user_already_active' => '账号已被启用', //cpg1.4
-  'activated' => '启用', //cpg1.4
-  'deactivate_user' => '关闭账号', //cpg1.4
-  'user_already_inactive' => '账号已被关闭', //cpg1.4
-  'deactivated' => '关闭', //cpg1.4
-  'reset_password' => '重设密码', //cpg1.4
-  'password_reset' => '密码重设成 %s', //cpg1.4
-  'change_group' => '改变主要群', //cpg1.4
-  'change_group_to_group' => '从 %s 改成 %s', //cpg1.4
-  'add_group' => '新增额外群', //cpg1.4
-  'add_group_to_group' => '加入会员 %s 到群 %s。会员现在的主要群是 %s，额外群是 %s。', //cpg1.4
-  'status' => 'Status', //cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File displayecard.php
-// ------------------------------------------------------------------------- //
-
-if (defined('DISPLAYECARD_PHP')) {
-
-$lang_displayecard_php = array(
-  'invalid_data' => '您要使用的电子贺卡数据有错误。请检查连接。', //cpg1.4
-);
-}
-
-// ------------------------------------------------------------------------- //
-// File displayimage.php
-// ------------------------------------------------------------------------- //
-
-if (defined('DISPLAYIMAGE_PHP')){
-
-$lang_display_image_php = array(
-  'confirm_del' => '确定要删除此图片吗 ? \\n留言也会被删除.', //js-alert
-  'del_pic' => '删除此图片',
-  'size' => '%s x %s 像素',
-  'views' => '%s 次',
-  'slideshow' => '连续播放',
-  'stop_slideshow' => '停止播放',
-  'view_fs' => '点选图片以查看原图',
-  'edit_pic' => '编辑文件信息', //cpg1.4
-  'crop_pic' => '裁剪与旋转',
-  'set_player' => '改变播放软件',
-);
-
-$lang_picinfo = array(
-  'title' =>'图片信息',
-  'Filename' => '文件名称',
-  'Album name' => '相册名称',
-  'Rating' => '评分 (%s 次投票)',
-  'Keywords' => '关键词',
-  'File Size' => '文件大小',
-  'Date Added' => '加入日期', //cpg1.4
-  'Dimensions' => '尺寸',
-  'Displayed' => '显示',
-  'URL' => 'URL', //cpg1.4
-  'Make' => '品牌', //cpg1.4
-  'Model' => '型号', //cpg1.4
-  'DateTime' => '日期时间', //cpg1.4
-  'DateTimeOriginal' => '拍照日期', //cpg1.4
-  'ISOSpeedRatings'=>'ISO', //cpg1.4
-  'MaxApertureValue' => '光圈最大值', //cpg1.4
-  'FocalLength' => '焦点尺寸', //cpg1.4
-  'Comment' => '留言',
-  'addFav'=>'加到我的最爱',
-  'addFavPhrase'=>'我的最爱',
-  'remFav'=>'从我的最爱删除',
-  'iptcTitle'=>'IPTC 标题',
-  'iptcCopyright'=>'IPTC 版权',
-  'iptcKeywords'=>'IPTC 关键词',
-  'iptcCategory'=>'IPTC 类别',
-  'iptcSubCategories'=>'IPTC 子类别',
-  'ColorSpace' => '颜色空间', //cpg1.4
-  'ExposureProgram' => '曝光软件', //cpg1.4
-  'Flash' => '闪光', //cpg1.4
-  'MeteringMode' => '计量模式', //cpg1.4
-  'ExposureTime' => '曝光时间', //cpg1.4
-  'ExposureBiasValue' => '曝光补光', //cpg1.4
-  'ImageDescription' => ' 图片简介', //cpg1.4
-  'Orientation' => '定位', //cpg1.4
-  'xResolution' => 'X 分辨率', //cpg1.4
-  'yResolution' => 'Y 分辨率', //cpg1.4
-  'ResolutionUnit' => '分辨率', //cpg1.4
-  'Software' => '软件', //cpg1.4
-  'YCbCrPositioning' => 'YCbCrPositioning', //cpg1.4
-  'ExifOffset' => 'Exif 偏移量', //cpg1.4
-  'IFD1Offset' => 'IFD1 偏移量', //cpg1.4
-  'FNumber' => 'FNumber', //cpg1.4
-  'ExifVersion' => 'Exif 版本', //cpg1.4
-  'DateTimeOriginal' => '原本日期', //cpg1.4
-  'DateTimedigitized' => '电子日期', //cpg1.4
-  'ComponentsConfiguration' => '零件设定', //cpg1.4
-  'CompressedBitsPerPixel' => '压缩量/像素', //cpg1.4
-  'LightSource' => '光源', //cpg1.4
-  'ISOSetting' => 'ISO 设定', //cpg1.4
-  'ColorMode' => '颜色模式', //cpg1.4
-  'Quality' => '品质', //cpg1.4
-  'ImageSharpening' => '尖锐图片', //cpg1.4
-  'FocusMode' => '焦距模式', //cpg1.4
-  'FlashSetting' => '闪光设定', //cpg1.4
-  'ISOSelection' => 'ISO 选项', //cpg1.4
-  'ImageAdjustment' => '图片调整', //cpg1.4
-  'Adapter' => '转接器', //cpg1.4
-  'ManualFocusDistance' => '手动的焦距距离', //cpg1.4
-  'DigitalZoom' => '电子变焦', //cpg1.4
-  'AFFocusPosition' => 'AF 焦距位置', //cpg1.4
-  'Saturation' => '浸透度', //cpg1.4
-  'NoiseReduction' => '减少干扰', //cpg1.4
-  'FlashPixVersion' => '闪光版本', //cpg1.4
-  'ExifImageWidth' => 'Exif 图片宽度', //cpg1.4
-  'ExifImageHeight' => 'Exif 图片高度', //cpg1.4
-  'ExifInteroperabilityOffset' => 'Exif 通用偏移量', //cpg1.4
-  'FileSource' => '文件来源', //cpg1.4
-  'SceneType' => '场景类型', //cpg1.4
-  'CustomerRender' => '顾客处理', //cpg1.4
-  'ExposureMode' => '曝光模式', //cpg1.4
-  'WhiteBalance' => '白色平衡', //cpg1.4
-  'DigitalZoomRatio' => '电子变焦比率', //cpg1.4
-  'SceneCaptureMode' => '场景拍摄模式', //cpg1.4
-  'GainControl' => '获得控制', //cpg1.4
-  'Contrast' => '对比', //cpg1.4
-  'Saturation' => '浸透度', //cpg1.4
-  'Sharpness' => '尖锐度', //cpg1.4
-  'ManageExifDisplay' => '管理 Exif 显示', //cpg1.4
-  'submit' => '提交', //cpg1.4
-  'success' => '数据已更新完毕。', //cpg1.4
-  'details' => '细节', //cpg1.4
-);
-
-$lang_display_comments = array(
-  'OK' => 'OK',
-  'edit_title' => '编辑此留言',
-  'confirm_delete' => '确定要删除此留言？', //js-alert
-  'add_your_comment' => '发表您的留言',
-  'name'=>'名称',
-  'comment'=>'留言',
-  'your_name' => '无名',
-  'report_comment_title' => '检举这篇留言', //cpg1.4
-);
-
-$lang_fullsize_popup = array(
-  'click_to_close' => '点选图片来关闭窗口',
-);
-
-}
-
-// ------------------------------------------------------------------------- //
-// File ecard.php
-// ------------------------------------------------------------------------- //
-
-if (defined('ECARDS_PHP') || defined('DISPLAYECARD_PHP')) $lang_ecard_php =array(
-  'title' => '寄出 电子贺卡',
-  'invalid_email' => '<font color="red"><b>警告</b></font>：不正确的电子邮件：', //cpg1.4
-  'ecard_title' => '%s 寄给你一张电子贺卡',
-  'error_not_image' => '电子贺卡只能寄出图片.',
-  'view_ecard' => '如果电子贺卡无法正确显示，请按此连接', //cpg1.4
-  'view_ecard_plaintext' => '请到这个网址浏览电子贺卡：', //cpg1.4
-  'view_more_pics' => '更多图片！', //cpg1.4
-  'send_success' => '你的 电子贺卡 已寄出',
-  'send_failed' => '抱歉, 本服务器无法为你寄出 电子贺卡...',
-  'from' => '由',
-  'your_name' => '你的名称',
-  'your_email' => '你的电子邮件',
-  'to' => '给',
-  'rcpt_name' => '收件人名称',
-  'rcpt_email' => '收件人电子邮件',
-  'greetings' => '标题', //cpg1.4
-  'message' => '信息内容', //cpg1.4
-  'ecards_footer' => '寄件人 %s 从 IP %s 在 %s (相册主机时间)', //cpg1.4
-  'preview' => '电子贺卡预览', //cpg1.4
-  'preview_button' => '预览', //cpg1.4
-  'submit_button' => '寄送贺卡', //cpg1.4
-  'preview_view_ecard' => '这是电子贺卡生成后的替补连接，预览模式下无法查看。', //cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File report_file.php //cpg1.4
-// ------------------------------------------------------------------------- //
-
-if (defined('REPORT_FILE_PHP') || defined('DISPLAYREPORT_PHP')) $lang_report_php =array(
-  'title' => '检举报告', //cpg1.4
-  'invalid_email' => '<b>警告</b>：错误的电子邮件！', //cpg1.4
-  'report_subject' => '检举信件从 %s 在相册 %s', //cpg1.4
-  'view_report' => '检举报告的替补连接，如果无法正常显示。', //cpg1.4
-  'view_report_plaintext' => '请到下面的网址浏览检举报告：', //cpg1.4
-  'view_more_pics' => '相册', //cpg1.4
-  'send_success' => '您的检举已传送', //cpg1.4
-  'send_failed' => '抱歉，但是主机无法传送您的检举报告...', //cpg1.4
-  'from' => '从', //cpg1.4
-  'your_name' => '您的名称', //cpg1.4
-  'your_email' => '您的信箱', //cpg1.4
-  'to' => '到', //cpg1.4
-  'administrator' => '管理员', //cpg1.4
-  'subject' => '标题', //cpg1.4
-  'comment_field_name' => '检举 "%s" 的留言', //cpg1.4
-  'reason' => '原因', //cpg1.4
-  'message' => '信息', //cpg1.4
-  'report_footer' => '寄件人 %s 从 IP %s 在 %s (相册主机时间)', //cpg1.4
-  'obscene' => '猥亵的', //cpg1.4
-  'offensive' => '攻击性', //cpg1.4
-  'misplaced' => '文不对题', //cpg1.4
-  'missing' => '不存在', //cpg1.4
-  'issue' => '错误/无法浏览', //cpg1.4
-  'other' => '其它', //cpg1.4
-  'refers_to' => '检举的文件是', //cpg1.4
-  'reasons_list_heading' => '检举理由：', //cpg1.4
-  'no_reason_given' => '没有理由', //cpg1.4
-  'go_comment' => '浏览留言', //cpg1.4
-  'view_comment' => '浏览完整报告和留言', //cpg1.4
-  'type_file' => '文件', //cpg1.4
-  'type_comment' => '留言', //cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File editpics.php
-// ------------------------------------------------------------------------- //
-
-if (defined('EDITPICS_PHP')) $lang_editpics_php = array(
-  'pic_info' => '文件数据',
-  'album' => '相册',
-  'title' => '标题',
-  'filename' => '文件名', //cpg1.4
-  'desc' => '描述',
-  'keywords' => '关键词',
-  'new_keyword' => '新关键词', //cpg1.4
-  'new_keywords' => '找到新关键词', //cpg1.4
-  'existing_keyword' => '存在的关键词', //cpg1.4
-  'pic_info_str' => '%s &times; %s - %s KB - %s 次查看 - %s 次评分',
-  'approve' => '核准图片',
-  'postpone_app' => '延迟核准',
-  'del_pic' => '删除文件',
-  'del_all' => '删除全部文件', //cpg1.4
-  'read_exif' => '再次读取 EXIF 数据',
-  'reset_view_count' => '清除浏览计数器',
-  'reset_all_view_count' => '清除全部的浏览计数器', //cpg1.4
-  'reset_votes' => '清除评分',
-  'reset_all_votes' => '清除评分', //cpg1.4
-  'del_comm' => '删除留言',
-  'del_all_comm' => '删除全部留言', //cpg1.4
-  'upl_approval' => '核准上传', //cpg1.4
-  'edit_pics' => '编辑图片',
-  'see_next' => '查看下一张图片',
-  'see_prev' => '查看前一张图片',
-  'n_pic' => '%s 张图片',
-  'n_of_pic_to_disp' => '图片显示数量',
-  'apply' => '修改',
-  'crop_title' => 'CPG 图片编辑器',
-  'preview' => '预览',
-  'save' => '保存',
-  'save_thumb' =>'存成缩略图',
-  'gallery_icon' => '使用这个图示', //cpg1.4
-  'sel_on_img' =>'选择的区域必须在图片的范围内！', //js-alert
-  'album_properties' =>'相册属性', //cpg1.4
-  'parent_category' =>'母类别', //cpg1.4
-  'thumbnail_view' =>'缩略图显示', //cpg1.4
-  'select_unselect' =>'选择/反选 全部', //cpg1.4
-  'file_exists' => "目标文件 '%s' 已经存在。", //cpg1.4
-  'rename_failed' => "无法将 '%s' 改成 '%s'。", //cpg1.4
-  'src_file_missing' => "来源文件 '%s' 不存在。", // cpg 1.4
-  'mime_conv' => "无法转换文件 '%s' 到 '%s'",//cpg1.4
-  'forb_ext' => '不允许的扩展名。',//cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File faq.php
-// ------------------------------------------------------------------------- //
-
-if (defined('FAQ_PHP')) $lang_faq_php = array(
-  'faq' => '常见问题解答',
-  'toc' => '目录',
-  'question' => '问题: ',
-  'answer' => '解答: ',
-);
-
-if (defined('FAQ_PHP')) $lang_faq_data = array(
-  '问题与解答',
-  array('为什么要注册？', '管理员决定用户是否需要注册。注册成为会员可获得额外的功能，如 上传文件，有 我的最爱列表，对影像评分及发表留言 等等。', 'allow_user_registration', '1'), //cpg1.4
-  array('如何注册？', '到 &quot;注册&quot; 去填写字段内的数据 (部分字段是选填的)。<br />如果管理员开启 Email 启用功能，在你确认发送注册数据后你会收到一封认证信寄到你所填写的信箱内，里面会帮助如何启用你的会员资格。会员登录前必须先完成启用操作。', 'allow_user_registration', '1'), //cpg1.4
-  array('如何登录?', '到 &quot;登录&quot;, 填入你的会员名称及密码 且勾选 &quot;记住我&quot; 下次你再来的时候就会自动登录了.<br /><b>注意:如果你点选 &quot;记住我 Me&quot; ,Cookies 功能必须开启,且本站的cookie存在你的计算机中..</b>', 'offline', 0),
-  array('为何无法登录?', '你已经注册并启用账号了吗(回复认证邮件的连接)?. 那个连接将会启用你的账号. 其它登录问题 请联络网站管理员.', 'offline', 0),
-  array('忘记密码了怎么办 ?', '如果这个网站有 &quot;忘记密码了&quot; 的连接,就按它. 不然就联络网站管理员 请他给你一个新的密码.', 'offline', 0),
-  //array('我的email改变了怎么办 ?', '只要登录 并且到 &quot;我的个人资料&quot; 改变你的电子邮件地址就可以了', 'offline', 0),
-  array('如何把图片存到  &quot;我的最爱 &quot;?', '点选图片并且点按 &quot;影像信息&quot; 连接 (<img src="images/info.gif" width="16" height="16" border="0" alt="Picture information" />); 在影像信息设定里面按 &quot;加入我的最爱&quot;.<br />管理员可能有预设&quot;影像信息; .<br />注意:Cookies 功能必须开启,且本站的cookie存在你的计算机中.', 'offline', 0),
-  array('如何对图片评分 ?', '点按该影像缩略图,在影像底下可以点选你的评分.', 'offline', 0),
-  array('如何发表留言 ?', '点按该影像缩略图,在影像底下可以发表留言.', 'offline', 0),
-  array('如何上传图片 ?', '到 &quot;上传图片&quot;并选择你要上传到哪一个相册,按 &quot;浏览&quot; 且点选要上传的图片 按 &quot;开启&quot; (你可以加入影像标题及描述) 然后按 &quot;确认&quot;', 'allow_private_albums', 1), //cpg1.4
-  array('要将图片上传到哪里？', '你可以上传图片在 &quot;我的相册&quot;. 管理员可能允许你上传图片到主相册内.', 'allow_private_albums', 0),
-  array('哪种格式或大小的影像可以上传?', '格式跟大小 (jpg,gif,..etc.) 根据管理员的设定.', 'offline', 0),
-  array('如何新增,修改 或删除相册 从 &quot;我的相册&quot;?', '你必须在 &quot;管理模式&quot;<br />到 &quot;新增/排序 我的相册&quot;按 &quot;新增New&quot;. 改变 &quot;新相册&quot; 到你要的名称.<br />你可以对你的每一个相册重新命名.<br />按 &quot;修改;.', 'allow_private_albums', 0),
-  array('我要如何禁止其它会员看我的相册?', '你必须在 &quot;管理模式&quot;<br />到 &quot;改变我的相册. 在 &quot;更新相册&quot; 字段, 选择你要改变的相册.<br />在这里, 你可以改变相册名称 描述 缩略图 ,及限制查看 留言 评分 的权限.<br />按 &quot;更新相册&quot;.', 'allow_private_albums', 0),
-  array('如何查看其它会员的相册?', '到 &quot;相册目录&quot; 选择 &quot;会员相册&quot;.', 'allow_private_albums', 0),
-  array('什么是 cookies?', 'Cookies 是网站放在你计算机中的纪录信息的文本文件。<br />Cookies 通常让用户再次回到网站时自动登录 并记录其它设定数据.', 'offline', 0),
-  array('在哪里可以取得这个相册程序?', 'Coppermine 是基于GNU GPL的免费多媒体相册. 它是全功能的 且支持不同的平台. 请到<a href="http://coppermine-gallery.net/">Coppermine 的网站</a> 获得更多的信息 或是下载它.', 'offline', 0),
-
-  '网站导引',
-  array('什么是 &quot;相册目录 &quot;?', '这将显示整个相册 包含每一个分类. 缩略图可以连接到类别中.', 'offline', 0),
-  array('什么是 &quot;我的相册 &quot;?', '这项功能让会员建立自己的相册,可增加,删除,修改相册. 并且可上传文件到相册里.', 'allow_private_albums', 1), //cpg1.4
-  array('有什么差异在 &quot;管理模式&quot; 和 &quot;会员模式&quot;?', '这项功能, 在管理模式时, 允许会员修改他们自己的相册 (如果管理员允许的话).', 'allow_private_albums', 0),
-  array('什么是 &quot;上传图片 &quot;?', '这项功能允许会员上传影像(文件大小及格式根据管理员设定) 到指定的相册.', 'allow_private_albums', 0),
-  array('什么是 &quot;最新上传 &quot;?', '这项功能显示最新上传到相册的文件.', 'offline', 0),
-  array('什么是 &quot;最新留言 &quot;?', '这项功能会员对影像发表的最新留言.', 'offline', 0),
-  array('什么是 &quot;热门图片 &quot;?', '这项功能显示被查看最多次的影像,不论是会员或访客.', 'offline', 0),
-  array('什么是 &quot;最高评分 &quot;?', '这项功能显示会员评分最高的影像, 显示平均分数(例如: 五个会员各给一个评分 <img src="images/rating3.gif" width="65" height="14" border="0" alt="" />: 影像将有平均评分 <img src="images/rating3.gif" width="65" height="14" border="0" alt="" /> ;五个会员评分从 1 到 5 (1,2,3,4,5) 平均结果将是 <img src="images/rating3.gif" width="65" height="14" border="0" alt="" /> .)<br />评分从 <img src="images/rating5.gif" width="65" height="14" border="0" alt="best" /> (最佳) 到 <img src="images/rating0.gif" width="65" height="14" border="0" alt="worst" /> (最差).', 'offline', 0),
-  array('什么是 &quot;我的最爱 &quot;?', '这项功能让会员储存喜爱的影像,需要有cookie信息.', 'offline', 0),
-);
-
-
-// ------------------------------------------------------------------------- //
-// File forgot_passwd.php
-// ------------------------------------------------------------------------- //
-
-if (defined('FORGOT_PASSWD_PHP')) $lang_forgot_passwd_php = array(
-  'forgot_passwd' => '忘记密码',
-  'err_already_logged_in' => '您已经登录了！',
-  'enter_email' => '输入您的电子信箱', //cpg1.4
-  'submit' => '继续',
-  'illegal_session' => '忘记密码的会话(session)错误或已过期。', //cpg1.4
-  'failed_sending_email' => '忘记密码的邮件无法寄出！',
-  'email_sent' => '新账号和密码的邮件已经寄到 %s', //cpg1.4
-  'verify_email_sent' => '电子邮件已寄到 %s。请检查您的信箱进行下一步操作。', //cpg1.4
-  'err_unk_user' => '选择的会员不存在！',
-  'account_verify_subject' => '%s - 新密码申请', //cpg1.4
-  'account_verify_body' => '您已经申请了新的密码。如果要新的密码寄到您的信箱，请点下面的连接：
-
-%s', //cpg1.4
-  'passwd_reset_subject' => '%s - 您的新密码', //cpg1.4
-  'passwd_reset_body' => '这是您申请的新密码：
-账号： %s
-密码： %s
-请点 %s 登录。', //cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File groupmgr.php
-// ------------------------------------------------------------------------- //
-
-if (defined('GROUPMGR_PHP')) $lang_groupmgr_php = array(
-  'group_name' => '群', //cpg1.4
-  'permissions' => '权限', //cpg1.4
-  'public_albums' => '允许公用相册上传', //cpg1.4
-  'personal_gallery' => '私人相册', //cpg1.4
-  'upload_method' => '上传方法', //cpg1.4
-  'disk_quota' => '空间配额', //cpg1.4
-  'rating' => '评分', //cpg1.4
-  'ecards' => '电子贺卡', //cpg1.4
-  'comments' => '留言', //cpg1.4
-  'allowed' => '允许 ', //cpg1.4
-  'approval' => '审核', //cpg1.4
-  'boxes_number' => '字段数量', //cpg1.4
-  'variable' => '更改', //cpg1.4
-  'fixed' => '固定', //cpg1.4
-  'apply' => '修改',
-  'create_new_group' => '建立新群',
-  'del_groups' => '删除所选择的群',
-  'confirm_del' => '警告, 当删除了一个群, 属于该群的用户将被转移至 \'Registered\' 群中 !\n\nn确定要删除吗 ?', //js-alert
-  'title' => '管理会员群',
-  'num_file_upload' => '上传字段', //cpg1.4
-  'num_URI_upload' => 'URI 上传字段', //cpg1.4
-  'reset_to_default' => '重设为预设名称 (%s) - 建议！', //cpg1.4
-  'error_group_empty' => '群数据表没数据！<br /><br />重新建立预设群，请刷新此页面', //cpg1.4
-  'explain_greyed_out_title' => '为什么不能使用？', //cpg1.4
-  'explain_guests_greyed_out_text' => '您不能改变这个群的属性因为设定里面的 &quot;允许访客进入&quot; 是设定为 &quot;否&quot;。 全部访客 (这个群的成员 %s) 无法做除了登录以外的任何操作，所以不能改变群的设定。', //cpg1.4
-  'explain_banned_greyed_out_text' => '您不能改变这个群 %s 的属性因为它的成员无法做任何操作。', //cpg1.4
-  'group_assigned_album' => '分配的相册', //cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File index.php
-// ------------------------------------------------------------------------- //
-
-if (defined('INDEX_PHP')){
-
-$lang_index_php = array(
-  'welcome' => '欢迎 !',
-);
-
-$lang_album_admin_menu = array(
-  'confirm_delete' => '确定要删除这相册 ? \\n所有图片及留言都会被删除.', //js-alert
-  'delete' => '删除',
-  'modify' => '属性',
-  'edit_pics' => '编辑',
-);
-
-$lang_list_categories = array(
-  'home' => '相册首页',
-  'stat1' => '<b>[pictures]</b> 张影像于 <b>[albums]</b> 个相册及 <b>[cat]</b> 个类别, 有 <b>[comments]</b> 个留言, 被查看 <b>[views]</b> 次',
-  'stat2' => '<b>[pictures]</b> 张影像于 <b>[albums]</b> 个相册, 被查看 <b>[views]</b> 次',
-  'xx_s_gallery' => '%s\'s 相册',
-  'stat3' => '<b>[pictures]</b> 张影像于 <b>[albums]</b> 个相册, 有 <b>[comments]</b> 个留言, 被查看 <b>[views]</b> 次',
-);
-
-$lang_list_users = array(
-  'user_list' => '会员列表',
-  'no_user_gal' => '还没有会员相册',
-  'n_albums' => '%s 个相册',
-  'n_pics' => '%s 张影像',
-);
-
-$lang_list_albums = array(
-  'n_pictures' => '%s 张影像',
-  'last_added' => ', 最新影像于 %s',
-  'n_link_pictures' => '%s 连接的文件', //cpg1.4
-  'total_pictures' => '%s 总文件', //cpg1.4
-);
-
-}
-
-// ------------------------------------------------------------------------- //
-// File keywordmgr.php //cpg1.4
-// ------------------------------------------------------------------------- //
-
-if (defined('KEYWORDMGR_PHP')) $lang_keywordmgr_php = array(
-  'title' => '关键词管理', //cpg1.4
-  'edit' => '编辑', //cpg1.4
-  'delete' => '删除', //cpg1.4
-  'search' => '搜索', //cpg1.4
-  'keyword_test_search' => '搜索 %s 于新窗口', //cpg1.4
-  'keyword_del' => '删除关键词 %s', //cpg1.4
-  'confirm_delete' => '确定要删除相册里的关键词 %s 吗？', //cpg1.4  // js-alert
-  'change_keyword' => '改变关键词', //cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File login.php
-// ------------------------------------------------------------------------- //
-
-if (defined('LOGIN_PHP')) $lang_login_php = array(
-  'login' => '登录',
-  'enter_login_pswd' => '输入会员名称和密码',
-  'username' => '会员名称',
-  'password' => '密码',
-  'remember_me' => '记住我',
-  'welcome' => '欢迎 %s ...',
-  'err_login' => '*** 无法登录. 请重试 ***',
-  'err_already_logged_in' => '您已经登录！',
-  'forgot_password_link' => '忘记密码',
-  'cookie_warning' => '警告：您的浏览器不支持 cookies', //cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File logout.php
-// ------------------------------------------------------------------------- //
-
-if (defined('LOGOUT_PHP')) $lang_logout_php = array(
-  'logout' => '注销',
-  'bye' => '再见 %s ...',
-  'err_not_loged_in' => '您还没有登录！',
-);
-
-// ------------------------------------------------------------------------- //
-// File minibrowser.php  //cpg1.4
-// ------------------------------------------------------------------------- //
-
-if (defined('MINIBROWSER_PHP')) $lang_minibrowser_php = array(
-  'close' => '关闭', //cpg1.4
-  'submit' => 'OK', //cpg1.4
-  'up' => '上一个层次', //cpg1.4
-  'current_path' => '目前的路径', //cpg1.4
-  'select_directory' => '请选择目录', //cpg1.4
-  'click_to_close' => '点图片关闭窗口',
-);
-
-// ------------------------------------------------------------------------- //
-// File modifyalb.php
-// ------------------------------------------------------------------------- //
-
-if (defined('MODIFYALB_PHP')) $lang_modifyalb_php = array(
-  'upd_alb_n' => '更新相册 %s',
-  'general_settings' => '一般设定',
-  'alb_title' => '相册标题',
-  'alb_cat' => '相册类别',
-  'alb_desc' => '相册描述',
-  'alb_keyword' => '相册关键词', //cpg1.4
-  'alb_thumb' => '相册缩略图',
-  'alb_perm' => '相册权限',
-  'can_view' => '允许查看相册的会员',
-  'can_upload' => '访客可上传图片',
-  'can_post_comments' => '访客可发表留言',
-  'can_rate' => '访客可为图片评分',
-  'user_gal' => '会员相册',
-  'no_cat' => '* 没有类别 *',
-  'alb_empty' => '相册是空的',
-  'last_uploaded' => '最近上传',
-  'public_alb' => '任何人 (公开相册)',
-  'me_only' => '只有我',
-  'owner_only' => '只有相册拥有人 (%s) ',
-  'groupp_only' => ' \'%s\' 群的会员',
-  'err_no_alb_to_modify' => '数据库内没有您可修改的相册.',
-  'update' => '更新相册',
-  'reset_album' => '重设相册', //cpg1.4
-  'reset_views' => '清除 %s 的浏览计数到 &quot;0&quot;', //cpg1.4
-  'reset_rating' => '清除 %s 的全部评分', //cpg1.4
-  'delete_comments' => '删除 %s 里的留言', //cpg1.4
-  'delete_files' => '%s无法改变%s 的删除全部文件，在 %s 里面', //cpg1.4
-  'views' => '浏览', //cpg1.4
-  'votes' => '投票', //cpg1.4
-  'comments' => '留言', //cpg1.4
-  'files' => '文件', //cpg1.4
-  'submit_reset' => '传送改变', //cpg1.4
-  'reset_views_confirm' => '确定', //cpg1.4
-  'notice1' => '(*) 根据照 %s群%s 设定',  //cpg1.4 //(do not translate %s!)
-  'alb_password' => '相册密码', //cpg1.4
-  'alb_password_hint' => '相册的密码提示', //cpg1.4
-  'edit_files' =>'编辑文件', //cpg1.4
-  'parent_category' =>'母类别', //cpg1.4
-  'thumbnail_view' =>'缩略图显示', //cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File phpinfo.php
-// ------------------------------------------------------------------------- //
-
-if (defined('PHPINFO_PHP')) $lang_phpinfo_php = array(
-  'php_info' => 'PHP 信息',
-  'explanation' => '这是用 PHP 的函式来建立的信息 <a href="http://www.php.net/phpinfo">phpinfo()</a>，在 CPG 相册内显示 (删除右边的输出)。',
-  'no_link' => '让其它人看到您的 phpinfo 会有安全问题，所以这个信息只有在登录管理账号后才能看到。您不能将这个页面的连接给别人，他们会看不到任何信息。',
-);
-
-// ------------------------------------------------------------------------- //
-// File picmgr.php //cpg1.4
-// ------------------------------------------------------------------------- //
-if (defined('PICMGR_PHP')) $lang_picmgr_php = array(
-  'pic_mgr' => '图片管理', //cpg1.4
-  'select_album' => '选择相册', //cpg1.4
-  'delete' => '删除', //cpg1.4
-  'confirm_delete1' => '确定要删除这个图片？', //cpg1.4
-  'confirm_delete2' => '\n图片会永远被删除。', //cpg1.4
-  'apply_modifs' => '套用插件', //cpg1.4
-  'confirm_modifs' => '确定插件', //cpg1.4
-  'pic_need_name' => '图片需要名称！', //cpg1.4
-  'no_change' => '您没有做任何改变！', //cpg1.4
-  'no_album' => '* 没有相册 *', //cpg1.4
-  'explanation_header' => '这里设定的自定义排序只有在这些标准下使用', //cpg1.4
-  'explanation1' => '管理员在设定内将 "文件的预设排序" 选成 "大到小" 或 "小到大" (会员在没有设定排序下所使用的预设排序)', //cpg1.4
-  'explanation2' => '会员在缩略图显示页面里选择 "大到小" 或 "小到大"', //cpg1.4
-);
-
-
-// ------------------------------------------------------------------------- //
-// File pluginmgr.php //cpg1.4
-// ------------------------------------------------------------------------- //
-
-if (defined('PLUGINMGR_PHP')){
-
-$lang_pluginmgr_php = array(
-  'confirm_uninstall' => '确定要删除这个插件吗', //cpg1.4
-  'confirm_delete' => '确定要删除这个插件吗', //cpg1.4
-  'pmgr' => '插件管理', //cpg1.4
-  'name' => '名称', //cpg1.4
-  'author' => '作者', //cpg1.4
-  'desc' => '简介', //cpg1.4
-  'vers' => 'v', //cpg1.4
-  'i_plugins' => '安装的插件', //cpg1.4
-  'n_plugins' => '未安装的插件', //cpg1.4
-  'none_installed' => '没有安装', //cpg1.4
-  'operation' => '运作', //cpg1.4
-  'not_plugin_package' => '上传的文件不是插件组件。', //cpg1.4
-  'copy_error' => '复制插件到插件目录时发生错误。', //cpg1.4
-  'upload' => '上传', //cpg1.4
-  'configure_plugin' => '设定插件', //cpg1.4
-  'cleanup_plugin' => '清除插件', //cpg1.4
-);
-}
-
-// ------------------------------------------------------------------------- //
-// File ratepic.php
-// ------------------------------------------------------------------------- //
-
-if (defined('RATEPIC_PHP')) $lang_rate_pic_php = array(
-  'already_rated' => '抱歉, 您已经为此图片评分',
-  'rate_ok' => '您的评分已经被接受',
-  'forbidden' => '你不能对你自己的图片评分.',
-);
-
-// ------------------------------------------------------------------------- //
-// File register.php & profile.php
-// ------------------------------------------------------------------------- //
-
-if (defined('REGISTER_PHP') || defined('PROFILE_PHP')) {
-
-$lang_register_disclamer = <<<EOT
- {SITE_NAME} 的管理员会尽快整理会引起反感的数据, 但我们不可能审查每一份文件. 因此您必需同意所有文件只是代表作者的立场及意见, 不代表管理人员的立场 (除非是由他们本身贴出) 并不负任何法律责任.<br />
-<br />
-您必需同意不可张贴任何色情, 暴力, 不良, 不正当, 不健康, 妨害国家安全, 或任何可能违法的文件.  {SITE_NAME} 人员在任何时候都有权过滤并编辑您张贴的内容. 并且会员留在本站内的数据已存在数据库中. 末经您的同意, 我们不会将您的数据转给其它人使用, 不过我们不会为任何因黑客行为而外泄的数据负任何责任.<br />
-<br />
-本站使用 cookies 在您的计算机上来储存信息. 这样是方便您更愉快浏览. 您的电子邮件地址只是让我们认证您的数据而已.<br />
-<br />
-按下 '我同意' 代表您同意以上条款.
-EOT;
-
-$lang_register_php = array(
-  'page_title' => '会员注册',
-  'term_cond' => '条款与规则',
-  'i_agree' => '我同意',
-  'submit' => '确认注册',
-  'err_user_exists' => '您所填写的会员名称已被其它会员使用, 请重选一个',
-  'err_password_mismatch' => '两个密码不合, 请重填一次',
-  'err_uname_short' => '会员名称至少需 2 个字符',
-  'err_password_short' => '密码至少需 2 个字符',
-  'err_uname_pass_diff' => '会员名称和密码不可以相同',
-  'err_invalid_email' => '电子邮件不正确',
-  'err_duplicate_email' => '这个电子邮件已经被其它会员使用',
-  'enter_info' => '输入注册数据',
-  'required_info' => '必填的资料',
-  'optional_info' => '选填的资料',
-  'username' => '会员名称',
-  'password' => '会员密码',
-  'password_again' => '确认密码',
-  'email' => '电子邮件',
-  'location' => '居住地区',
-  'interests' => '兴趣',
-  'website' => '个人网站',
-  'occupation' => '职业',
-  'error' => '错误',
-  'confirm_email_subject' => '%s - 注册认证',
-  'information' => '信息',
-  'failed_sending_email' => '所注册的电子邮件无法寄出 !',
-  'thank_you' => '感谢您的注册.<br /><br />一封含有如何启用账号的电子邮件将会送到您所提供的信箱.',
-  'acct_created' => '您的账号已经建立, 现在您可以登录',
-  'acct_active' => '您的账号已经启用, 现在您可以登录',
-  'acct_already_act' => '账号已经启用！',
-  'acct_act_failed' => '此账号无法启用！',
-  'err_unk_user' => '所选择的会员并不存在！',
-  'x_s_profile' => '%s\'的个人资料',
-  'group' => '群',
-  'reg_date' => '加入日期',
-  'disk_usage' => '磁盘使用量',
-  'change_pass' => '修改密码',
-  'current_pass' => '目前的密码',
-  'new_pass' => '新密码',
-  'new_pass_again' => '确认新密码',
-  'err_curr_pass' => '目前的密码不正确',
-  'apply_modif' => '修改',
-  'change_pass' => '修改密码',
-  'update_success' => '你的个人资料已经更新',
-  'pass_chg_success' => '你的密码已经修改',
-  'pass_chg_error' => '你的密码没有修改',
-  'notify_admin_email_subject' => '%s - 注册通知',
-  'last_uploads' => '最新的上传。<br />浏览全部此会员的上传', //cpg1.4
-  'last_comments' => '最新的留言。<br />浏览全部此会员的留言', //cpg1.4
-  'notify_admin_email_body' => '新会员 "%s" 已经在您的相册注册',
-  'pic_count' => '上传的文件', //cpg1.4
-  'notify_admin_request_email_subject' => '%s - 注册要求', //cpg1.4
-  'thank_you_admin_activation' => '谢谢。<br /><br />您的注册要求已经寄给管理员。通过认证后会通知您。', //cpg1.4
-  'acct_active_admin_activation' => '账号已经启用，通知信件已经寄给会员。', //cpg1.4
-  'notify_user_email_subject' => '%s - 启用通知', //cpg1.4
-);
-
-$lang_register_confirm_email = <<<EOT
-感谢您在 {SITE_NAME} 的注册
-
-请到下面的网址起用您的账号名称 "{USER_NAME}"。
-
-<a href="{ACT_LINK}">{ACT_LINK}</a>
-
-敬启，
-
-{SITE_NAME} 管理小组
-
-EOT;
-
-$lang_register_approve_email = <<<EOT
-A new user with the username "{USER_NAME}" has registered in your gallery.
-
-In order to activate the account, you need to click on the link below or copy and paste it in your web browser.
-
-<a href="{ACT_LINK}">{ACT_LINK}</a>
-
-EOT;
-
-$lang_register_activated_email = <<<EOT
-您的账号已经审核完毕，也已经启用。
-
-您现在可以到 <a href="{SITE_LINK}">{SITE_LINK}</a> 登录，用账号名称 "{USER_NAME}"
-
-
-敬启，
-
-{SITE_NAME} 管理小组
-
-EOT;
-}
-
-// ------------------------------------------------------------------------- //
-// File reviewcom.php
-// ------------------------------------------------------------------------- //
-
-if (defined('REVIEWCOM_PHP')) $lang_reviewcom_php = array(
-  'title' => '查看留言',
-  'no_comment' => '还没有留言可以查看',
-  'n_comm_del' => '%s 个留言已删除',
-  'n_comm_disp' => '显示的留言数量',
-  'see_prev' => '看前一个',
-  'see_next' => '看下一个',
-  'del_comm' => '删除所选的留言',
-  'user_name' => '名称', //cpg1.4
-  'date' => '日期', //cpg1.4
-  'comment' => '留言', //cpg1.4
-  'file' => '文件', //cpg1.4
-  'name_a' => '名称小到大', //cpg1.4
-  'name_d' => '名称大到小', //cpg1.4
-  'date_a' => '日期小到大', //cpg1.4
-  'date_d' => '日期大到小', //cpg1.4
-  'comment_a' => '留言小到大', //cpg1.4
-  'comment_d' => '留言大到小', //cpg1.4
-  'file_a' => '文件小到大', //cpg1.4
-  'file_d' => '文件大到小', //cpg1.4
-);
-
-
-// ------------------------------------------------------------------------- //
-// File search.php   
-// ------------------------------------------------------------------------- //
-
-
-if (defined('SEARCH_PHP')){
-
-$lang_search_php = array(
-  'title' => '搜索文件仓库', //cpg1.4
-  'submit_search' => '搜索', //cpg1.4
-  'keyword_list_title' => '关键词列表', //cpg1.4
-  'keyword_msg' => '上面的列表不包括图片标题或简介。试着用全文搜索。',  //cpg1.4
-  'edit_keywords' => '编辑关键词', //cpg1.4
-  'search in' => '搜索：', //cpg1.4
-  'ip_address' => 'IP 位置', //cpg1.4
-  'fields' => '搜索', //cpg1.4
-  'age' => '年龄', //cpg1.4
-  'newer_than' => '日期之后', //cpg1.4
-  'older_than' => '日期之前', //cpg1.4
-  'days' => '天', //cpg1.4
-  'all_words' => '包含完整字词 (AND)', //cpg1.4
-  'any_words' => '包含任何字词 (OR)', //cpg1.4
-);
-
-$lang_adv_opts = array(
-  'title' => '名称', //cpg1.4
-  'caption' => '标题', //cpg1.4
-  'keywords' => '关键词', //cpg1.4
-  'owner_name' => '作者', //cpg1.4
-  'filename' => '文件名', //cpg1.4
-);
-
-}
-
-// ------------------------------------------------------------------------- //
-// File searchnew.php
-// ------------------------------------------------------------------------- //
-
-if (defined('SEARCHNEW_PHP')) $lang_search_new_php = array(
-  'page_title' => '搜索新图片',
-  'select_dir' => '选择目录',
-  'select_dir_msg' => '本功能可以让你用 FTP 上传整批的图片。<br /><br />请选择已上传图片的目录。', //cpg1.4
-  'no_pic_to_add' => '没有图片可以加入',
-  'need_one_album' => '使用此功能必需至少要有一个相册',
-  'warning' => '警告',
-  'change_perm' => '程序无法写入这个目录, 请修改权限至 755 或 777 后再试一次 !',
-  'target_album' => '<b>把图片由 &quot;</b>%s<b>&quot; 放到 </b>%s',
-  'folder' => '资料夹',
-  'image' => '图片',
-  'album' => '相册',
-  'result' => '结果',
-  'dir_ro' => '无法写入. ',
-  'dir_cant_read' => '无法读取. ',
-  'insert' => '新增图片至相册',
-  'list_new_pic' => '新图片列表',
-  'insert_selected' => '加入所选择的图片',
-  'no_pic_found' => '没有找到新图片',
-  'be_patient' => '请耐心等候, 程序需要一点时间来加入所选图片',
-  'no_album' => '没有选择的相册',
-  'result_icon' => '浏览细节或刷新',  //cpg1.4
-  'notes' =>  '<ul>'.
-                          '<li><b>OK</b> : 表示图片已成功被加入'.
-                          '<li><b>DP</b> : 表示图片重复或已存在数据库'.
-                          '<li><b>PB</b> : 表示图片无法加入, 请检查设定或图片存放目录的权限'.
-                          '<li><b>NA</b> : 表示你还没有选择图片的相册, 按 \'<a href="javascript:history.back(1)">返回</a>\' 并选择相册. 如果你没有相册 <a href="albmgr.php">请先建立一个</a></li>'.
-                          '<li>如果 OK, DP, PB \'符号\' 没有显示请点那个红色叉的图片查看 PHP 显示的错误信息'.
-                          '<li>如果浏览器超时, 请按刷新按钮'.
-                          '</ul>',
-  'select_album' => '选择相册',
-  'check_all' => '全选',
-  'uncheck_all' => '都不选',
-  'no_folders' => '"albums" 目录内没有其它目录。请建立最少一个目录到 "albums" 里面，然后上传您的图片。您不能上传图片到 "userpics" 或 "edit" 目录，它们的用途是给 CPG 软件和 http 的上传功能。', //cpg1.4
-   'albums_no_category' => '相册没有类别', //cpg1.4 // album pulldown mod, added by frogfoot
-  'personal_albums' => '* 私人相册', //cpg1.4 // album pulldown mod, added by frogfoot
-  'browse_batch_add' => '可浏览接口 (建议使用)（不支持时请选否）', //cpg1.4
-  'edit_pics' => '编辑文件', //cpg1.4
-  'edit_properties' => '相册属性', //cpg1.4
-  'view_thumbs' => '缩略图显示', //cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File stat_details.php //cpg1.4
-// ------------------------------------------------------------------------- //
-
-if (defined('STAT_DETAILS_PHP')) $lang_stat_details_php = array(
-  'show_hide' => '显示/隐藏 此字段', //cpg1.4
-  'vote' => '投票细节', //cpg1.4
-  'hits' => '浏览细节', //cpg1.4
-  'stats' => '投票统计', //cpg1.4
-  'sdate' => '日期', //cpg1.4
-  'rating' => '评分', //cpg1.4
-  'search_phrase' => '搜索字', //cpg1.4
-  'referer' => '来源', //cpg1.4
-  'browser' => '浏览器', //cpg1.4
-  'os' => '操作系统', //cpg1.4
-  'ip' => 'IP', //cpg1.4
-  'sort_by_xxx' => '排序 %s', //cpg1.4
-  'ascending' => '小到大', //cpg1.4
-  'descending' => '大到小', //cpg1.4
-  'internal' => '内部', //cpg1.4
-  'close' => '关闭', //cpg1.4
-  'hide_internal_referers' => '隐藏内部的来源', //cpg1.4
-  'date_display' => '日期显示', //cpg1.4
-  'submit' => '传送 / 刷新', //cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File thumbnails.php
-// ------------------------------------------------------------------------- //
-
-// Void
-
-// ------------------------------------------------------------------------- //
-// File upload.php
-// ------------------------------------------------------------------------- //
-
-if (defined('UPLOAD_PHP')) $lang_upload_php = array(
-  'title' => '上传文件',
-  'custom_title' => '上传选项表',
-  'cust_instr_1' => '你可以从下列 选择一个上传框 进行上传.',
-  'cust_instr_2' => '选择上传框号',
-  'cust_instr_3' => '文件上传框: %s',
-  'cust_instr_4' => 'URI/URL 上传框: %s',
-  'cust_instr_5' => 'URI/URL 上传框:',
-  'cust_instr_6' => '文件上传框:',
-  'cust_instr_7' => '请输入您目前需要的 每一种上传框的数量. 然后按 \'继续\'. ',
-  'reg_instr_1' => '无效的选项表操作.',
-  'reg_instr_2' => '现在你可以用以下的上传框上传你的文件，每一个文件的大小不可以超过 %s KB . ZIP 文件上传在 \'文件上传\' 和 \'URI/URL 上传\' 区 .',
-  'reg_instr_3' => '如果你要上传压缩文件或要解压缩, 必须使用文件上传框 \'解压缩ZIP 上传\' 区.',
-  'reg_instr_4' => '如果选择以 URI/URL 上传, 请输入文件连接路径 如: http://www.mysite.com/images/example.jpg',
-  'reg_instr_5' => '完成选项表后,请按 \'继续\'.',
-  'reg_instr_6' => '解压缩ZIP 上传:',
-  'reg_instr_7' => '文件 上传:',
-  'reg_instr_8' => 'URI/URL 上传:',
-  'error_report' => '错误报告',
-  'error_instr' => '下列上传遇到错误:',
-  'file_name_url' => '文件 名称/URL',
-  'error_message' => '错误信息',
-  'no_post' => '文件没有被上传。',
-  'forb_ext' => '不允许的扩展名。',
-  'exc_php_ini' => '文件超过php.ini允许的大小。',
-  'exc_file_size' => '文件超过CPG允许的大小。',
-  'partial_upload' => '只有部分上传。',
-  'no_upload' => '没有上传。',
-  'unknown_code' => '未知的 PHP 上传错误。',
-  'no_temp_name' => '没有上传 - 无暂存文件名。',
-  'no_file_size' => '没有内容',
-  'impossible' => '无法移动。',
-  'not_image' => '这不是标准影像文件',
-  'not_GD' => '这不是 GD 扩展名。',
-  'pixel_allowance' => '影像尺寸太大了。',
-  'incorrect_prefix' => '不正确的 URI/URL 前导符',
-  'could_not_open_URI' => '无法开启URI。',
-  'unsafe_URI' => '安全性未被认证。',
-  'meta_data_failure' => '转换数据失败',
-  'http_401' => '401 未被授权浏览',
-  'http_402' => '402 此处需付费浏览',
-  'http_403' => '403 目前此处关闭禁止浏览',
-  'http_404' => '404 服务器没有回应',
-  'http_500' => '500 内部服务器错误',
-  'http_503' => '503 服务器等待过久 停止服务',
-  'MIME_extraction_failure' => '无法确认 MIME。',
-  'MIME_type_unknown' => '未知的 MIME 类型',
-  'cant_create_write' => '无法写入新增文件。',
-  'not_writable' => '无法读写。',
-  'cant_read_URI' => '无法读取 URI/URL',
-  'cant_open_write_file' => '无法开启文件。',
-  'cant_write_write_file' => '无法读写文件。',
-  'cant_unzip' => '无法解压缩。',
-  'unknown' => '未知的错误',
-  'succ' => '成功上传',
-  'success' => '%s 上传已经完成。',
-  'add' => '请按 \'继续\' 增加文件到相册。',
-  'failure' => '上传失败',
-  'f_info' => '文件信息',
-  'no_place' => '先前的文件无法被配置。',
-  'yes_place' => '先前的文件已经配置完成。',
-  'max_fsize' => '最大允许文件大小是 %s KB',
-  'album' => '相册',
-  'picture' => '图片',
-  'pic_title' => '图片标题',
-  'description' => '图片描述',
-  'keywords' => '关键词 (以空格区隔)<br /><a href="#" onClick="return MM_openBrWindow(\'keyword_select.php\',\'selectKey\',\'width=250, height=400, scrollbars=yes,toolbar=no,status=yes,resizable=yes\')">从列表输入</a>', //cpg1.4
-  'keywords_sel' =>'选择关键词', //cpg1.4
-  'err_no_alb_uploadables' => '目前尚未有相册可以上传图片',
-  'place_instr_1' => '请将图片放到相册，然后输入这个文件的相关信息。',
-  'place_instr_2' => '更多的图片需要配置。请按 \'继续\'。',
-  'process_complete' => '恭喜，您已经成功的将全部文件上传了。',
-   'albums_no_category' => '相册没有类别', //cpg1.4. //album pulldown mod, added by frogfoot
-  'personal_albums' => '* 私人相册', //cpg1.4 //album pulldown mod, added by frogfoot
-  'select_album' => '选择相册', //cpg1.4 //album pulldown mod, added by frogfoot
-  'close' => '关闭', //cpg1.4
-  'no_keywords' => '抱歉，没可用的关键词！', //cpg1.4
-  'regenerate_dictionary' => '重新建立字库', //cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File usermgr.php
-// ------------------------------------------------------------------------- //
-
-if (defined('USERMGR_PHP')) $lang_usermgr_php = array(
-  'memberlist' => '会员名单', //cpg1.4
-  'user_manager' => '会员管理', //cpg1.4
-  'title' => '管理会员',
-  'name_a' => '名称 由小至大',
-  'name_d' => '名称 由大至小',
-  'group_a' => '群 由小至大',
-  'group_d' => '群 由大至小',
-  'reg_a' => '注册日期 由远至近',
-  'reg_d' => '注册日期 由近至远',
-  'pic_a' => '图片数 由小至大',
-  'pic_d' => '图片数 由大至小',
-  'disku_a' => '磁盘用量 由小至大',
-  'disku_d' => '磁盘用量 由大至小',
-  'lv_a' => '最近来访 由近至远',
-  'lv_d' => '最近来访 由远至近',
-  'sort_by' => '会员排序根据',
-  'err_no_users' => '会员数据表是空的 !',
-  'err_edit_self' => '您无法编辑您的个人数据, 请利用 \'我的个人数据\' 来编辑',
-  'edit' => '编辑', //cpg1.4
-  'with_selected' => '选项操作：', //cpg1.4
-  'delete' => '删除', //cpg1.4
-  'delete_files_no' => '保留文件 (不提供来源)', //cpg1.4
-  'delete_files_yes' => '删除全部文件', //cpg1.4
-  'delete_comments_no' => '保留留言 (不提供来源)', //cpg1.4
-  'delete_comments_yes' => '删除全部留言', //cpg1.4
-  'activate' => '启用', //cpg1.4
-  'deactivate' => '停用', //cpg1.4
-  'reset_password' => '重设密码', //cpg1.4
-  'change_primary_membergroup' => '改变主要群', //cpg1.4
-  'add_secondary_membergroup' => '改变额外群', //cpg1.4
-  'name' => '会员名称',
-  'group' => '群',
-  'inactive' => '未启动',
-  'operations' => '操作',
-  'pictures' => '图片',
-  'disk_space_used' => '空间用量', //cpg1.4
-  'disk_space_quota' => '空间配额', //cpg1.4
-  'registered_on' => '注册', //cpg1.4
-  'last_visit' => '最近来访',
-  'u_user_on_p_pages' => '%d 个会员于 %d 页',
-  'confirm_del' => '确定要删除这个会员吗? \\n所有他的相册及图片都会被删除.', //js-alert
-  'mail' => '电子邮件',
-  'err_unknown_user' => '所选择的会员并不存在 !',
-  'modify_user' => '编辑会员',
-  'notes' => '注意',
-  'note_list' => '<li>如果不想改变目前的密码, 请将 "密码" 位留下空白',
-  'password' => '密码',
-  'user_active' => '会员已启动',
-  'user_group' => '会员群',
-  'user_email' => '会员电子邮件',
-  'user_web_site' => '会员网站',
-  'create_new_user' => '建立新会员',
-  'user_location' => '会员地区',
-  'user_interests' => '会员兴趣',
-  'user_occupation' => '会员职业',
-  'user_profile1' => '$user_profile1', //cpg1.4
-  'user_profile2' => '$user_profile2', //cpg1.4
-  'user_profile3' => '$user_profile3', //cpg1.4
-  'user_profile4' => '$user_profile4', //cpg1.4
-  'user_profile5' => '$user_profile5', //cpg1.4
-  'user_profile6' => '$user_profile6', //cpg1.4
-  'latest_upload' => '最新上传',
-  'never' => '从未有',
-  'search' => '会员搜索', //cpg1.4
-  'submit' => '传送', //cpg1.4
-  'search_submit' => '继续！', //cpg1.4
-  'search_result' => '搜索结果： ', //cpg1.4
-  'alert_no_selection' => '您必须选择至少一个会员！', //cpg1.4 //js-alert
-  'password' => '密码', //cpg1.4
-  'select_group' => '选择群', //cpg1.4
-  'groups_alb_access' => '群的相册权限', //cpg1.4
-  'album' => '相册', //cpg1.4
-  'category' => '类别', //cpg1.4
-  'modify' => '修改？', //cpg1.4
-  'group_no_access' => '这个群无特殊权限', //cpg1.4
-  'notice' => '通知', //cpg1.4
-  'group_can_access' => '只有 "%s" 可以进入这个相册', //cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File util.php
-// ------------------------------------------------------------------------- //
-
-if (defined('UTIL_PHP')) {
-$lang_util_desc_php = array(
-'以文件名更新标题', //cpg1.4
-'删除标题', //cpg1.4
-'重新建立缩略图和调整尺寸', //cpg1.4
-'用调整过的尺寸覆盖并删除原始的图片', //cpg1.4
-'删除原始或中级图片', //cpg1.4
-'删除零散的留言', //cpg1.4
-'重新读取文件大小和尺寸 (如果您手动编辑图片)', //cpg1.4
-'清除浏览计数器', //cpg1.4
-'显示 phpinfo', //cpg1.4
-'更新数据库', //cpg1.4
-'显示记录文件', //cpg1.4
-);
-$lang_util_php = array(
-  'title' => '管理工具 (重设尺寸)',
-  'what_it_does' => '功能',
-  'file' => '文件',
-  'problem' => '问题', //cpg1.4
-  'status' => '状态', //cpg1.4
-  'title_set_to' => '标题改变为',
-  'submit_form' => '确认',
-  'updated_succesfully' => '更新 已经完成',
-  'error_create' => '产生错误',
-  'continue' => '继续执行其它的影像',
-  'main_success' => '文件 %s 已设为主图', 
-  'error_rename' => '错误 %s 改名为 %s', 
-  'error_not_found' => '找不到文件 %s ',
-  'back' => '回主页',
-  'thumbs_wait' => '更新缩略图 且/或 调整影像尺寸, 请稍待...',
-  'thumbs_continue_wait' => '继续 更新缩略图 且/或 调整影像尺寸...',
-  'titles_wait' => '更新标题, 请稍待...',
-  'delete_wait' => '删除标题, 请稍待...',
-  'replace_wait' => '重新调整后的图片将 取代原有的图片中, 请稍待...',
-  'instruction' => '简易操作帮助',
-  'instruction_action' => '请选择操作',
-  'instruction_parameter' => '设定参数',
-  'instruction_album' => '选择相册',
-  'instruction_press' => '请按 %s',
-  'update' => '更新缩略图 且/或 调整图片大小',
-  'update_what' => '要更新什么',
-  'update_thumb' => '只有缩略图',
-  'update_pic' => '只调整图片大小',
-  'update_both' => '更新缩略图且调整图片尺寸',
-  'update_number' => '每点选一次要处理的图片数目',
-  'update_option' => '(如果您遇到操作程序超时的问题，请试着降低此设定)',
-  'filename_title' => '文件名称 &rArr; 图片标题',
-  'filename_how' => '如何修改文件名', 
-  'filename_remove' => '删除 .jpg 并将 _ (底线) 用空格取代', 
-  'filename_euro' => '将 2003_11_23_13_20_20.jpg 改为 23/11/2003 13:20', 
-  'filename_us' => '将 2003_11_23_13_20_20.jpg 改为 11/23/2003 13:20', 
-  'filename_time' => '将 2003_11_23_13_20_20.jpg 改为 13:20', 
-  'delete' => '删除图片标题或原始尺寸的图片',
-  'delete_title' => '删除图片标题',
-  'delete_title_explanation' => '这会在您要的相册内删除文件标题。', //cpg1.4
-  'delete_original' => '删除原始尺寸的图片',
-  'delete_original_explanation' => '这会删除原始尺寸的图片。', //cpg1.4
-  'delete_intermediate' => '删除中级图片', //cpg1.4
-  'delete_intermediate_explanation' => '这会删除中级 (normal) 图片。<br />用这个功能来清除主机空间，如果您在设定内关闭了 \'建立中级图片\'。', //cpg1.4
-  'delete_replace' => '删除原始尺寸的图片并以调整尺寸的图片取代',
-  'titles_deleted' => '选择相册内的标题已删除', //cpg1.4
-  'deleting_intermediates' => '删除中级图片，请稍待...', //cpg1.4
-  'searching_orphans' => '搜索零散的数据，请稍待...', //cpg1.4
-  'select_album' => '选择相册',
-  'delete_orphans' => '删除零散的留言', //cpg1.4
-  'delete_orphans_explanation' => '这会删除已经被删除的图片里的留言。<br />检查全部相册。', //cpg1.4
-  'refresh_db' => '更新文件尺寸和大小信息', //cpg1.4
-  'refresh_db_explanation' => '这会重新读取文件的大小和尺寸。用这个功能如果空间的配额有错误，或您有手动修改图片。', //cpg1.4
-  'reset_views' => '清除浏览计数器', //cpg1.4
-  'reset_views_explanation' => '这会在选择的相册内重设浏览次数到 0。', //cpg1.4
-  'orphan_comment' => '发现零散的留言',
-  'delete' => '删除',
-  'delete_all' => '全部删除',
-  'delete_all_orphans' => '全部删除？', //cpg1.4
-  'comment' => '留言： ',
-  'nonexist' => '根据附于不存在的文件 # ',
-  'phpinfo' => '显示 phpinfo',
-  'phpinfo_explanation' => '包含了主机的信息。<br /> - 寻求支持时可能会被要求提供里面的数据。', //cpg1.4
-  'update_db' => '更新数据库',
-  'update_db_explanation' => '如果妳有更新 CPG 文件，加入修改或由以前的版本升级，请确定执行一次数据库更新。这会在 CPG 的数据库新增必要的数据表及/或设定值。',
-  'view_log' => '浏览记录文件', //cpg1.4
-  'view_log_explanation' => 'CPG 可以记录一些会员的操作。您可以浏览这些记录如果您有在 <a href="admin.php">设定</a> 里开启记录的功能。', //cpg1.4
-  'versioncheck' => '检查版本', //cpg1.4
-  'versioncheck_explanation' => '显查文件的版本，看是否有完全更新成功。您也可以检查 CPG 主程序的最新版本。', //cpg1.4
-  'bridgemanager' => '整合管理', //cpg1.4
-  'bridgemanager_explanation' => '开启/关闭 整合到其它软件 (例如论坛)。', //cpg1.4
-);
-}
-
-// ------------------------------------------------------------------------- //
-// File versioncheck.php //cpg1.4
-// ------------------------------------------------------------------------- //
-
-if (defined('VERSIONCHECK_PHP')) $lang_versioncheck_php = array(
-  'title' => '检查版本', //cpg1.4
-  'what_it_does' => '这个页面是对刚更新相册的管理员设定。这个程序会检查您安装的版本是否跟 CPG 的在线仓库 (http://coppermine.sourceforge.net) 里的版本相同。<br />如果需要修改会显示红色。黄色表示需要检查。绿色或者预设颜色表示没问题。<br />详情请点帮助图示。', //cpg1.4
-  'online_repository_unable' => '无法连接到在线仓库', //cpg1.4
-  'online_repository_noconnect' => 'CPG 无法连接到在线仓库。可能有两种原因：', //cpg1.4
-  'online_repository_reason1' => '在线仓库有问题 - 请检查您是否能到这个网页： %s - 如果不能请稍待重试。', //cpg1.4
-  'online_repository_reason2' => '主机里的 PHP 的设定有把 %s 关闭 (默认值是开启)。如果是您自己的主机，请在 <i>php.ini</i> 里将此设定开启 (或者允许强制覆盖 %s)。如果您的主机是买的，很抱歉，您可以无法使用这项功能。这个页面就只会显示下载的文件版本 - 更新的版本不会显示。', //cpg1.4
-  'online_repository_skipped' => '连接到在线仓库暂停', //cpg1.4
-  'online_repository_to_local' => '系统目前是使用主机内的文件版本。这里显示的数据可能不正确如果你更新或未完全上传 CPG 的文件。', //cpg1.4
-  'local_repository_unable' => '无法连接到主机仓库', //cpg1.4
-  'local_repository_explanation' => 'CPG 无法连接到您主机内的仓库文件 %s。这可能表示您还未上传仓库文件到您的主机。请现在上传然后重新执行这个页面 (刷新网页)。<br />如果无法执行，您的主机可能关闭了一些 <a href="http://www.php.net/manual/en/ref.filesystem.php">PHP 的文件系统</a>。如果是这个原因，很抱歉您不能使用这项功能。', //cpg1.4
-  'coppermine_version_header' => '安装的 CPG 版本', //cpg1.4
-  'coppermine_version_info' => '您目前安装的是： %s', //cpg1.4
-  'coppermine_version_explanation' => '如果您认为您安装的不是这个版本，请确定您上传的是最新的 <i>include/init.inc.php</i> 文件', //cpg1.4
-  'version_comparison' => '比较文件', //cpg1.4
-  'folder_file' => '目录/文件', //cpg1.4
-  'coppermine_version' => 'CPG 版本', //cpg1.4
-  'file_version' => '文件版本', //cpg1.4
-  'webcvs' => '在线 CVS', //cpg1.4
-  'writable' => '可擦写', //cpg1.4
-  'not_writable' => '不可擦写', //cpg1.4
-  'help' => '帮助', //cpg1.4
-  'help_file_not_exist_optional1' => '目录/文件不存在', //cpg1.4
-  'help_file_not_exist_optional2' => '目录/文件 %s 不存在于您的主机内。虽然可以不用，但是建议您如果有遇到问题请将它上传 (用 FTP)。', //cpg1.4
-  'help_file_not_exist_mandatory1' => '目录/文件不存在', //cpg1.4
-  'help_file_not_exist_mandatory2' => '目录/文件 %s 不存在于您的主机内。您必须将它上传。请用 FPT 软件将文件上传到您的主机内。', //cpg1.4
-  'help_no_local_version1' => '没有主机版本', //cpg1.4
-  'help_no_local_version2' => '系统无法取得主机内的文件版本 - 您的文件可能过时或已被修改过。建议您更新文件。', //cpg1.4
-  'help_local_version_outdated1' => '主机版本过时', //cpg1.4
-  'help_local_version_outdated2' => '您的文件可能是旧的 CPG 程序文件 (可能更新时忘了步骤)。请确定更新这个文件。', //cpg1.4
-  'help_local_version_na1' => '无法取得 CVS 文件版本', //cpg1.4
-  'help_local_version_na2' => '系统无法取得主机内的 CVS 版本。请重新上传文件。', //cpg1.4
-  'help_local_version_dev1' => '开发版本', //cpg1.4
-  'help_local_version_dev2' => '文件看起来比您使用的 CPG 版本还高。您可能用的是开发版本 (不建议使用)，或在更新时忘了上传 include/init.inc.php', //cpg1.4
-  'help_not_writable1' => '目录无法读写', //cpg1.4
-  'help_not_writable2' => '改变文件的权限 (CHMOD) 到可擦写目录 %s，及里面的全部文件。', //cpg1.4
-  'help_writable1' => '目录可擦写', //cpg1.4
-  'help_writable2' => '目录 %s 可以读写。可能有安全问题，CPG 只需要读取跟执行这个目录。', //cpg1.4
-  'help_writable_undetermined' => 'CPG 无法确定这个目录是否可擦写。', //cpg1.4
-  'your_file' => '您的文件', //cpg1.4
-  'reference_file' => '参照文件', //cpg1.4
-  'summary' => '概括', //cpg1.4
-  'total' => '总文件/目录检查完毕', //cpg1.4
-  'mandatory_files_missing' => '必需文件不存在', //cpg1.4
-  'optional_files_missing' => '非必需文件不存在', //cpg1.4
-  'files_from_older_version' => '旧版本文件', //cpg1.4
-  'file_version_outdated' => '旧文件版本', //cpg1.4
-  'error_no_data' => '系统有错误，无法取得任何信息。', //cpg1.4
-  'go_to_webcvs' => '到 %s', //cpg1.4
-  'options' => '选项', //cpg1.4
-  'show_optional_files' => '显示非必须文件/目录', //cpg1.4
-  'show_mandatory_files' => '显示必要文件', //cpg1.4
-  'show_file_versions' => '显示文件版本', //cpg1.4
-  'show_errors_only' => '显示有错误的文件/目录', //cpg1.4
-  'show_permissions' => '显示目录权限', //cpg1.4
-  'show_condensed_output' => '显示压缩的输出数据', //cpg1.4
-  'coppermine_in_webroot' => 'CPG 安装于 webroot', //cpg1.4
-  'connect_online_repository' => '试着连接到在线仓库', //cpg1.4
-  'show_additional_information' => '显示额外信息', //cpg1.4
-  'no_webcvs_link' => '不显示在线 CVS 连接', //cpg1.4
-  'stable_webcvs_link' => '显示在线 CVS 给正式版本', //cpg1.4
-  'devel_webcvs_link' => '显示在线 CVS 给开发版本', //cpg1.4
-  'submit' => '套用改变/刷新', //cpg1.4
-  'reset_to_defaults' => '重设为默认值', //cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File view_log.php  //cpg1.4
-// ------------------------------------------------------------------------- //
-
-if (defined('VIEWLOG_PHP')) $lang_viewlog_php = array(
-  'delete_all' => '删除全部记录', //cpg1.4
-  'delete_this' => '删除这个记录', //cpg1.4
-  'view_logs' => '浏览记录', //cpg1.4
-  'no_logs' => '没有记录。', //cpg1.4
-);
-
-
-// ------------------------------------------------------------------------- //
-// File xp_publish.php //cpg1.4
-// ------------------------------------------------------------------------- //
-
-if (defined('XP_PUBLISH_PHP')) {
-
-$lang_xp_publish_client = <<<EOT
-<h1>XP Web 发布软件</h1><p>这个模块可以让您使用 <b>Windows XP</b> 的发表功能。</p><p>程序代码是照此篇文章帮助，作者是
-EOT;
-
-$lang_xp_publish_required = <<<EOT
-<h2>需要什么？</h2><ul><li>必须要有 Windows XP。</li><li>安装好的 CPG 相册，<b>而且上传功能可运作。</b></li></ul><h2>如何安装</h2><ul><li>按右键于
-EOT;
-
-$lang_xp_publish_select = <<<EOT
-选择 &quot;储存文件..&quot;。然后将文件储存在您的硬盘。储存时记得文件名必须是 <b>cpg_###.reg</b> (### 代表日期的数字)。您可以改变名称 (不要改数字)。下载完后，执行那个文件可以让您的主机使用发表功能。</li></ul>
-EOT;
-
-$lang_xp_publish_testing = <<<EOT
-<h2>测试</h2><ul><li>在 Windows 资源管理器，选一些文件然后在左边点 <b>将这个文件发布到 Web</b>。</li><li>检查您所选的文件，然后点 <b>Next</b>。</li><li>在出现的列表内选 CPG 相册的服务 (会以您的相册名称显示)。如果没有显示相册的服务，检查是否像上面描述的安装成功 <b>cpg_pub_wizard.reg</b>。</li><li>必要时输入您的账号数据。</li><li>然后选择要放图片的相册，或新建相册。</li><li>之后点 <b>next</b>。接下来会开始上传您的图片。</li><li>完成后到您的相册内检查是否上传完毕。</li></ul>
-EOT;
-
-$lang_xp_publish_notes = <<<EOT
-<h2>注意：</h2><ul><li>当正在上传时，发表功能不会显示任何错误信息，所以不能知道上传有没有成功，直到您检查相册。</li><li>如果上传没成功，在设定页面内开启 &quot;除错模式&quot;，试着上传一个图片然后检查错误信息在
-EOT;
-
-$lang_xp_publish_flood = <<<EOT
-CPG 目录内的文件。</li><li>为了避免用发表功能一次上传太多图片，只有 <b>相册管理员</b> 和 <b>可以有自己相册的会员</b> 可以用这个功能。</li>
-EOT;
-
-
-
-$lang_xp_publish_php = array(
-  'title' => 'CPG - XP Web 发表功能', //cpg1.4
-  'welcome' => '欢迎到 <b>%s</b>,', //cpg1.4
-  'need_login' => '您必须先用浏览器登录到相册内才能使用这个功能。<p/><p>登录后记得点选 <b>记得我</b> 选项。', //cpg1.4
-  'no_alb' => '抱歉，目前没有可以用发表功能上传图片的相册。', //cpg1.4
-  'upload' => '上传图片到相册', //cpg1.4
-  'create_new' => '新建相册', //cpg1.4
-  'album' => '相册', //cpg1.4
-  'category' => '类别', //cpg1.4
-  'new_alb_created' => '您的相册 &quot;<b>%s</b>&quot; 已经新建', //cpg1.4
-  'continue' => '按 &quot;Next&quot; 开始上传图片', //cpg1.4
-  'link' => '这个连接', //cpg1.4
-);
-}
-?>
+<?php
+/*************************
+  Coppermine Photo Gallery
+  ************************
+  Copyright (c) 2003-2009 Coppermine Dev Team
+  v1.1 originally written by Gregory DEMAR
+
+  This program is free software; you can redistribute it and/or modify
+  it under the terms of the GNU General Public License version 3
+  as published by the Free Software Foundation.
+  
+  ********************************************
+  Coppermine version: 1.4.25
+  $HeadURL: https://coppermine.svn.sourceforge.net/svnroot/coppermine/trunk/cpg1.4.x/lang/chinese_gb.php $
+  $Revision: 5997 $
+  $Author: gaugau $
+  $Date: 2009-05-26 08:43:24 +0200 (Di, 26 Mai 2009) $
+**********************************************/
+
+if (!defined('IN_COPPERMINE')) { die('Not in Coppermine...');}
+
+// info about translators and translated language
+$lang_translation_info = array(
+  'lang_name_english' => 'Chinese (Simplified)', //cpg1.4
+  'lang_name_native' => '简体中文', //cpg1.4
+  'lang_country_code' => 'cn', //cpg1.4
+  'trans_name'=> '流溪，CapriSkye and monkey',
+  'trans_email' => 'ben@smf.cn',
+  'trans_website' => 'http://www.smf.cn/',
+  'trans_date' => '2006-01-03',
+);
+
+$lang_charset = 'utf-8';
+$lang_text_dir = 'ltr'; // ('ltr' for left to right, 'rtl' for right to left)
+
+// shortcuts for Byte, Kilo, Mega
+$lang_byte_units = array('Bytes', 'KB', 'MB');
+
+// Day of weeks and months
+$lang_day_of_week = array('星期日', '星期一', '星期二', '星期三', '星期四', '星期五', '星期六');
+$lang_month = array('一月', '二月', '三月', '四月', '五月', '六月', '七月', '八月', '九月', '十月', '十一月', '十二月');
+
+// Some common strings
+$lang_yes = '是';
+$lang_no  = '否';
+$lang_back = '返回';
+$lang_continue = '继续';
+$lang_info = '信息';
+$lang_error = '错误';
+$lang_check_uncheck_all = '勾选/勾选全部'; //cpg1.4
+
+// The various date formats
+// See http://www.php.net/manual/en/function.strftime.php to define the variable below
+$album_date_fmt =    '%B %d, %Y';
+$lastcom_date_fmt =  '%m/%d/%y at %H:%M';
+$lastup_date_fmt = '%B %d, %Y';
+$register_date_fmt = '%B %d, %Y';
+$lasthit_date_fmt = '%B %d, %Y at %I:%M %p';
+$comment_date_fmt =  '%B %d, %Y at %I:%M %p';
+$log_date_fmt = '%B %d, %Y at %I:%M %p'; //cpg1.4
+
+// For the word censor
+$lang_bad_words = array('*fuck*', 'asshole', 'assramer', 'bitch*', 'c0ck', 'clits', 'Cock', 'cum', 'cunt*', 'dago', 'daygo', 'dego', 'dick*', 'dildo', 'fanculo', 'feces', 'foreskin', 'Fu\(*', 'fuk*', 'honkey', 'hore', 'injun', 'kike', 'lesbo', 'masturbat*', 'motherfucker', 'nazis', 'nigger*', 'nutsack', 'penis', 'phuck', 'poop', 'pussy', 'scrotum', 'shit', 'slut', 'titties', 'titty', 'twaty', 'wank*', 'whore', 'wop*','共产党','法轮功','他妈的','操你');
+
+$lang_meta_album_names = array(
+  'random' => '随机图片',
+  'lastup' => '最新上传',
+  'lastalb'=> '最近更新',
+  'lastcom' => '最新留言',
+  'topn' => '热门图片',
+  'toprated' => '最高评分',
+  'lasthits' => '最近显示',
+  'search' => '搜索结果',
+  'favpics'=> '最爱图片',
+);
+
+$lang_errors = array(
+  'access_denied' => '你没有使用本页的权限。',
+  'perm_denied' => '你没有权限执行此操作。',
+  'param_missing' => '程序被调用而没有需要的参数。',
+  'non_exist_ap' => '选择的 相册/图片 不存在！',
+  'quota_exceeded' => '超过空间配额<br /><br />您的配额有 [quota]K，已使用的有 [space]K，加入此图片会超过拥有的配额。',
+  'gd_file_type_err' => '当使用 GD 图像链接库只容许 JPEG / PNG 图片。',
+  'invalid_image' => '你上传的文件己经损坏, 或是 GD 图像链接库不能处理',
+  'resize_failed' => '无法建立缩略图或改变图片尺寸.',
+  'no_img_to_display' => '没有图片可以显示。',
+  'non_exist_cat' => '所选择的类别并不存在。',
+  'orphan_cat' => '这个子类别存于一个不存在的母类别，请先至类别管理修正这个问题。',
+  'directory_ro' => '目录 \'%s\' 无法写入，导致无法删除图片',
+  'non_exist_comment' => '所选择的留言并不存在。',
+  'pic_in_invalid_album' => '此图片存于不存在的相册 (%s)!?',
+  'banned' => '您目前被禁止使用本站。',
+  'not_with_udb' => '由于本相册已和论坛程序整合，此功能已停止使用。可能是目前设定不支持此功能，或已由论坛处理。', 
+  'offline_title' => '关闭',
+  'offline_text' => '相册目前是关闭状态 - 请稍后再访问',
+  'ecards_empty' => '目前没有电子贺卡的纪录可显示。请检查相册设定中是否启用纪录电子贺卡功能！',
+  'action_failed' => '操作失败。Coppermine 无法执行您的要求。',
+  'no_zip' => '无法执行ZIP压缩文件。请联络您的相册管理员。',
+  'zip_type' => '您没有上传ZIP压缩文件的权限。',
+  'database_query' => '进行数据库查询时发生了错误', //cpg1.4
+  'register_globals_on' => 'The PHP setting register_globals is enabled on your server, which is a bad idea in terms of security. It\'s strongly recommended to turn it off. [<a href="http://forum.coppermine-gallery.net/index.php/topic,59569.0.html" rel="external" class="external">more</a>]',
+);
+
+$lang_bbcode_help_title = 'bbcode 帮助'; //cpg1.4
+$lang_bbcode_help = '您可以用 bbcode 加入可点的连接，和其它的文字格式： <li>[b]粗体[/b] =&gt; <b>粗体</b></li><li>[i]斜体[/i] =&gt; <i>斜体</i></li><li>[url=http://yoursite.com/]网址[/url] =&gt; <a href="http://yoursite.com">网址</a></li><li>[email]user@domain.com[/email] =&gt; <a href="mailto:user@domain.com">user@domain.com</a></li><li>[color=red]颜色[/color] =&gt; <span style="color:red">颜色</span></li><li>[img]http://coppermine-gallery.net/demo/cpg14x/images/red.gif[/img] => <img src="../images/red.gif" border="0" alt="" /></li>'; //cpg1.4
+
+// ------------------------------------------------------------------------- //
+// File theme.php
+// ------------------------------------------------------------------------- //
+
+$lang_main_menu = array(
+  'home_title' => '回到首页',
+  'home_lnk' => '首页',
+  'alb_list_title' => '返回相册目录',
+  'alb_list_lnk' => '相册目录',
+  'my_gal_title' => '返回我的相册',
+  'my_gal_lnk' => '我的相册',
+  'my_prof_title' => '到我的个人资料', //cpg1.4
+  'my_prof_lnk' => '我的个人资料',
+  'adm_mode_title' => '转为管理模式',
+  'adm_mode_lnk' => '管理模式',
+  'usr_mode_title' => '转为会员模式',
+  'usr_mode_lnk' => '会员模式',
+  'upload_pic_title' => '上传图片至相册',
+  'upload_pic_lnk' => '上传图片',
+  'register_title' => '建立会员账号',
+  'register_lnk' => '注册',
+  'login_title' => '登录', //cpg1.4
+  'login_lnk' => '登录',
+  'logout_title' => '注销', //cpg1.4
+  'logout_lnk' => '注销',
+  'lastup_title' => '浏览最新上传', //cpg1.4
+  'lastup_lnk' => '最新上传',
+  'lastcom_title' => '浏览最新留言', //cpg1.4
+  'lastcom_lnk' => '最新留言',
+  'topn_title' => '浏览热门的图片', //cpg1.4
+  'topn_lnk' => '热门图片',
+  'toprated_title' => '浏览评分最高的图片', //cpg1.4
+  'toprated_lnk' => '最高评分',
+  'search_title' => '搜索相册', //cpg1.4
+  'search_lnk' => '搜索',
+  'fav_title' => '到我的最爱', //cpg1.4    
+  'fav_lnk' => '我的最爱',
+  'memberlist_title' => '显示会员名单',
+  'memberlist_lnk' => '会员名单',
+  'faq_title' => '&quot;Coppermine&quot; 相册的常见问题解答',
+  'faq_lnk' => '常见问题解答',
+);
+
+$lang_gallery_admin_menu = array(
+  'upl_app_title' => '核准新上传', //cpg1.4	
+  'upl_app_lnk' => '核准上传',
+  'admin_title' => '进入设定', //cpg1.4    
+  'admin_lnk' => '设定', //cpg1.4
+  'albums_title' => '进入相册设定', //cpg1.4
+  'albums_lnk' => '相册',
+  'categories_title' => '进入类别设定', //cpg1.4    
+  'categories_lnk' => '类别',
+  'users_title' => '进入会员设定', //cpg1.4
+  'users_lnk' => '会员',
+  'groups_title' => '进入群设定', //cpg1.4
+  'groups_lnk' => '群',
+  'comments_title' => '检查全部留言', //cpg1.4
+  'comments_lnk' => '检查留言',
+  'searchnew_title' => '进入批量上传功能', //cpg1.4
+  'searchnew_lnk' => '批量上传',
+  'util_title' => '进入管理功能', //cpg1.4
+  'util_lnk' => '管理功能',
+  'key_title' => '进入关键词词库', //cpg1.4
+  'key_lnk' => '关键词词库', //cpg1.4
+  'ban_title' => '进入限制会员', //cpg1.4
+  'ban_lnk' => '限制会员',
+  'db_ecard_title' => '检查电子贺卡', //cpg1.4
+  'db_ecard_lnk' => '显示电子贺卡',
+  'pictures_title' => '排序相片', //cpg1.4
+  'pictures_lnk' => '排序相片', //cpg1.4
+  'documentation_lnk' => '使用帮助', //cpg1.4
+  'documentation_title' => 'CPG 使用手册', //cpg1.4
+);
+
+$lang_user_admin_menu = array(
+  'albmgr_title' => '建立/排序 相册', //cpg1.4
+  'albmgr_lnk' => '建立/排序 相册',
+  'modifyalb_title' => '进入编辑相册',  //cpg1.4
+  'modifyalb_lnk' => '编辑相册',
+  'my_prof_title' => '进入个人数据', //cpg1.4
+  'my_prof_lnk' => '个人资料',
+);
+
+$lang_cat_list = array(
+  'category' => '类别',
+  'albums' => '相册',
+  'pictures' => '图片',
+);
+
+$lang_album_list = array(
+  'album_on_page' => '%d 个相册，共 %d 页',
+);
+
+$lang_thumb_view = array(
+  'date' => '日期',
+  //Sort by filename and title
+  'name' => '文件名',
+  'title' => '标题',
+  'sort_da' => '根据日期排序 由远至近',
+  'sort_dd' => '根据日期排序 由近至远',
+  'sort_na' => '根据名称排序 由小至大',
+  'sort_nd' => '根据名称排序 由大至小',
+  'sort_ta' => '根据标题排序 由小至大',
+  'sort_td' => '根据标题排序 由大至小',
+  'position' => '位置', //cpg1.4
+  'sort_pa' => '小到大排序', //cpg1.4
+  'sort_pd' => '大到小排序', //cpg1.4
+  'download_zip' => '下载成 Zip 文件',
+  'pic_on_page' => '%d 张图片，共 %d 页',
+  'user_on_page' => '%d 名会员，共 %d 页',
+  'enter_alb_pass' => '输入相册密码', //cpg1.4
+  'invalid_pass' => '密码错误', //cpg1.4
+  'pass' => '密码', //cpg1.4
+  'submit' => '传送', //cpg1.4
+);
+
+$lang_img_nav_bar = array(
+  'thumb_title' => '返回缩略图页',
+  'pic_info_title' => '显示/隐藏 图片信息',
+  'slideshow_title' => '连续播放',
+  'ecard_title' => '把图片以电子贺卡寄出',
+  'ecard_disabled' => '电子贺卡功能目前停用',
+  'ecard_disabled_msg' => '您没有寄电子贺卡的权限', //js-alert
+  'prev_title' => '显示前一张图片',
+  'next_title' => '显示下一张图片',
+  'pic_pos' => '图片 %s/%s',
+  'report_title' => '检举这个文件', //cpg1.4
+  'go_album_end' => '跳到最后', //cpg1.4
+  'go_album_start' => '回到最先', //cpg1.4
+  'go_back_x_items' => '退后 %s 个项目', //cpg1.4
+  'go_forward_x_items' => '前进 %s 个项目', //cpg1.4
+);
+
+$lang_rate_pic = array(
+  'rate_this_pic' => '对图片评分',
+  'no_votes' => '(还没有人评分)',
+  'rating' => '(目前得分 : %s / 5 于 %s 个评分)',
+  'rubbish' => '昏倒 不看也罢',
+  'poor' => '有点差劲',
+  'fair' => '普普通通',
+  'good' => '很好',
+  'excellent' => '非常出色',
+  'great' => '顶-没有比这更好的了',
+);
+
+// ------------------------------------------------------------------------- //
+// File include/exif.inc.php
+// ------------------------------------------------------------------------- //
+
+// void
+
+// ------------------------------------------------------------------------- //
+// File include/functions.inc.php
+// ------------------------------------------------------------------------- //
+
+$lang_cpg_die = array(
+  INFORMATION => $lang_info,
+  ERROR => $lang_error,
+  CRITICAL_ERROR => '致命错误',
+  'file' => '文件: ',
+  'line' => '行数: ',
+);
+
+$lang_display_thumbnails = array(
+  'filename' => '文件名称=', //cpg1.4
+  'filesize' => '文件大小=', //cpg1.4
+  'dimensions' => '图片尺寸=', //cpg1.4
+  'date_added' => '加入日期=', //cpg1.4
+);
+
+$lang_get_pic_data = array(
+  'n_comments' => '%s 个留言',
+  'n_views' => '%s 次查看',
+  'n_votes' => '(%s 个评分)',
+);
+
+$lang_cpg_debug_output = array(
+  'debug_info' => '除错信息',
+  'select_all' => '全选',
+  'copy_and_paste_instructions' => '如果你要在 CPG 的支持论坛上要求协助，复制并贴上这个除错信息到你的发表文章内，包括显示的错误信息。发表文章前请注意用***来替换您的密码。<br />注意：这只是给我们提供改进的信息，并不代表您的相册有问题。', //cpg1.4
+  'phpinfo' => '显示PHP信息 (phpinfo)',
+  'notices' => '信息', //cpg1.4
+);
+
+$lang_language_selection = array(
+  'reset_language' => '预设语言',
+  'choose_language' => '选择你的语言',
+);
+
+$lang_theme_selection = array(
+  'reset_theme' => '预设风格',
+  'choose_theme' => '选择风格',
+);
+
+$lang_version_alert = array(
+  'version_alert' => '不支持的版本！', //cpg1.4
+  'no_stable_version' => '您安装的 CPG 相册版本 %s (%s) 只是给有经验的用户 - 这个版本不会得到官方的支持。如果要得到支持请安装官方提供的正式版本！', //cpg1.4
+  'gallery_offline' => '目前相册是属于维护状态，只有管理员才能进入。维护完毕之后记得将相册设回正常状态。', //cpg1.4
+);
+
+$lang_create_tabs = array(
+  'previous' => '上一个', //cpg1.4
+  'next' => '下一个', //cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File include/init.inc.php
+// ------------------------------------------------------------------------- //
+
+// void
+
+// ------------------------------------------------------------------------- //
+// File keyword.inc.php                                                      //
+// ------------------------------------------------------------------------- //
+
+// void
+
+// ------------------------------------------------------------------------- //
+// File include/picmgmt.inc.php
+// ------------------------------------------------------------------------- //
+
+// void
+
+// ------------------------------------------------------------------------- //
+// File include/plugin_api.inc.php
+// ------------------------------------------------------------------------- //
+$lang_plugin_api = array(
+  'error_wakeup' => "不能启用插件 '%s'", //cpg1.4
+  'error_install' => "不能安装插件 '%s'", //cpg1.4
+  'error_uninstall' => "不能删除插件 '%s'", //cpg1.4
+  'error_sleep' => "不能删除插件 '%s'<br />", //cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File include/smilies.inc.php
+// ------------------------------------------------------------------------- //
+
+if (defined('SMILIES_PHP')) $lang_smilies_inc_php = array(
+  'Exclamation' => '感叹',
+  'Question' => '疑问',
+  'Very Happy' => '很高兴',
+  'Smile' => '微笑',
+  'Sad' => '悲哀',
+  'Surprised' => '惊讶',
+  'Shocked' => '震惊',
+  'Confused' => '昏倒',
+  'Cool' => '很棒',
+  'Laughing' => '发笑',
+  'Mad' => '发狂',
+  'Razz' => '嘲笑',
+  'Embarassed' => '尴尬',
+  'Crying or Very sad' => '嚎哭',
+  'Evil or Very Mad' => '恶毒',
+  'Twisted Evil' => '古怪',
+  'Rolling Eyes' => '转眼睛',
+  'Wink' => '眨眼',
+  'Idea' => '主意',
+  'Arrow' => '箭头',
+  'Neutral' => '中立',
+  'Mr. Green' => 'Mr. Green',
+);
+
+// ------------------------------------------------------------------------- //
+// File addpic.php
+// ------------------------------------------------------------------------- //
+
+// void
+
+// ------------------------------------------------------------------------- //
+// File mode.php //cpg1.4
+// ------------------------------------------------------------------------- //
+
+if (defined('MODE_PHP')) $lang_mode_php = array(
+  0 => '退出管理模式...',
+  1 => '进入管理模式...',
+);
+
+// ------------------------------------------------------------------------- //
+// File albmgr.php
+// ------------------------------------------------------------------------- //
+
+if (defined('ALBMGR_PHP')) $lang_albmgr_php = array(
+  'alb_need_name' => '您需要给相册一个名称 !', //js-alert
+  'confirm_modifs' => '确定要做这些修改吗 ?', //js-alert
+  'no_change' => '您没有做任何改变 !', //js-alert
+  'new_album' => '新相册',
+  'confirm_delete1' => '确定要删除此相册吗 ?', //js-alert
+  'confirm_delete2' => '\n所有图片及留言都会删除 !', //js-alert
+  'select_first' => '请先选择一个相册', //js-alert
+  'alb_mrg' => '相册管理员',
+  'my_gallery' => '* 我的相册 *',
+  'no_category' => '* 没有类别 *',
+  'delete' => '删除',
+  'new' => '新增',
+  'apply_modifs' => '修改',
+  'select_category' => '选择类别',
+);
+
+// ------------------------------------------------------------------------- //
+// File banning.php
+// ------------------------------------------------------------------------- //
+
+if (defined('BANNING_PHP')) $lang_banning_php = array(
+  'title' => '限制会员', //cpg1.4
+  'user_name' => '会员名称', //cpg1.4
+  'ip_address' => 'IP 位置', //cpg1.4
+  'expiry' => '期限 (空白如果没有期限)', //cpg1.4
+  'edit_ban' => '储存', //cpg1.4
+  'delete_ban' => '删除', //cpg1.4
+  'add_new' => '新增限制', //cpg1.4
+  'add_ban' => '新增', //cpg1.4
+  'error_user' => '找不到会员', //cpg1.4
+  'error_specify' => '您必须提供会员名称或 IP 位置', //cpg1.4
+  'error_ban_id' => '错误的限制编号！', //cpg1.4
+  'error_admin_ban' => '您不能限制自己！', //cpg1.4
+  'error_server_ban' => '您要限制您自己的主机？别搞笑啦...', //cpg1.4
+  'error_ip_forbidden' => '您不能限制这个 IP - 这是不可路径选择的 (私人) IP！<br />如果您要允许限制私人 IP，在 <a href="admin.php">设定</a> 里面可以修改。', //cpg1.4
+  'lookup_ip' => '搜索 IP 位置', //cpg1.4
+  'submit' => '继续！', //cpg1.4
+  'select_date' => '选择日期', //cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File bridgemgr.php //cpg1.4
+// ------------------------------------------------------------------------- //
+
+if (defined('BRIDGEMGR_PHP')) $lang_bridgemgr_php = array(
+  'title' => '整合精灵',
+  'warning' => '警告：用这个整合精灵，重要数据是以 HTML 传送。建议您在自己的计算机上使用 (不是在网咖等其它公共场所)，然后确定把浏览器的缓存和临时文件删除。',
+  'back' => '返回',
+  'next' => '下一步',
+  'start_wizard' => '开始整合精灵',
+  'finish' => '完成',
+  'hide_unused_fields' => '隐藏没用的字段 (建议)',
+  'clear_unused_db_fields' => '清除错误的数据库项目 (建议)',
+  'custom_bridge_file' => '自定义的整合文件名称 (如果整合文件是叫 <i>myfile.inc.php</i>，在这个字段输入 <i>myfile</i>)',
+  'no_action_needed' => '不需要任何操作。请点 \'下一步\' 继续。',
+  'reset_to_default' => '重设回默认值',
+  'choose_bbs_app' => '选择整合 CPG 的软件',
+  'support_url' => '如需这个软件的支持请到',
+  'settings_path' => '论坛使用的路径',
+  'database_connection' => '数据库连接',
+  'database_tables' => '数据表',
+  'bbs_groups' => '论坛群',
+  'license_number' => '执照号码',
+  'license_number_explanation' => '输入执照号码 (如果有)',
+  'db_database_name' => '数据库名称',
+  'db_database_name_explanation' => '输入论坛使用的数据库名称',
+  'db_hostname' => '数据库主机',
+  'db_hostname_explanation' => '您的 MySQL 数据库的主机，通常是 &quot;localhost&quot;',
+  'db_username' => '数据库账号',
+  'db_username_explanation' => '论坛使用的数据库的用户账号',
+  'db_password' => '数据库密码',
+  'db_password_explanation' => '数据库的用户账号密码',
+  'full_forum_url' => '论坛网址',
+  'full_forum_url_explanation' => '您的论坛网址 (包括 http:// 例如：http://www.yourdomain.tld/forum)',
+  'relative_path_of_forum_from_webroot' => '论坛的相对路径',
+  'relative_path_of_forum_from_webroot_explanation' => '论坛的主机相对路径 (范例：如果您的论坛在 http://www.yourdomain.tld/forum/，输入 &quot;/forum/&quot;)',
+  'relative_path_to_config_file' => '论坛设定文件的相对路径',
+  'relative_path_to_config_file_explanation' => '论坛的相对路径，从 CPG 目录计算 (范例 &quot;../forum/&quot; 如果您的论坛是 http://www.yourdomain.tld/forum/ 然后 CPG 是 http://www.yourdomain.tld/gallery/)',
+  'cookie_prefix' => 'Cookie 前导符',
+  'cookie_prefix_explanation' => '这是论坛的 cookie 名称',
+  'table_prefix' => '数据表的前导符',
+  'table_prefix_explanation' => '论坛使用的数据表的前导符。',
+  'user_table' => '会员数据表',
+  'user_table_explanation' => '(通常默认值不会有问题，除非您有改过论坛的安装)',
+  'session_table' => '会话(session)的数据表',
+  'session_table_explanation' => '(通常默认值不会有问题，除非您有改过论坛的安装)',
+  'group_table' => '群数据表',
+  'group_table_explanation' => '(通常默认值不会有问题，除非您有改过论坛的安装)',
+  'group_relation_table' => '群关系的数据表',
+  'group_relation_table_explanation' => '(通常默认值不会有问题，除非您有改过论坛的安装)',
+  'group_mapping_table' => '群映射的数据表',
+  'group_mapping_table_explanation' => '(通常默认值不会有问题，除非您有改过论坛的安装)',
+  'use_standard_groups' => '使用标准的论坛群',
+  'use_standard_groups_explanation' => '使用标准 (内建) 的群 (建议)。这会让自定义的群无效。除非您知道在干麻，不要关闭这个设定！',
+  'validating_group' => '审核群',
+  'validating_group_explanation' => '论坛里需要审核的群编号是 (通常默认值不会有问题，建议不要改除非您知道它的用途)',
+  'guest_group' => '访客群',
+  'guest_group_explanation' => '论坛的访客群编号是 (通常默认值不会有问题，建议不要改除非您知道它的用途)',
+  'member_group' => '会员群',
+  'member_group_explanation' => '论坛的 &quot;普通&quot; 会员群编号是 (通常默认值不会有问题，建议不要改除非您知道它的用途)',
+  'admin_group' => '管理员群',
+  'admin_group_explanation' => '论坛的管理员群编号是 (通常默认值不会有问题，建议不要改除非您知道它的用途)',
+  'banned_group' => '限制群',
+  'banned_group_explanation' => '论坛的限制群编号是 (通常默认值不会有问题，建议不要改除非您知道它的用途)',
+  'global_moderators_group' => '全区版主群',
+  'global_moderators_group_explanation' => '论坛的全区版主群编号 (通常默认值不会有问题，建议不要改除非您知道它的用途)',
+  'special_settings' => '论坛的特殊设定',
+  'logout_flag' => 'phpBB 版本 (注销标签)',
+  'logout_flag_explanation' => '您的论坛版本 (这项设定是用来指示系统如何注销)',
+  'use_post_based_groups' => '使用文章群？',
+  'logout_flag_yes' => '2.0.5 或以上',
+  'logout_flag_no' => '2.0.4 或以下',
+  'use_post_based_groups_explanation' => '该使用论坛会员的文章数来做分类吗？ (允许更完善的权限管理) 或是使用预设群 (可简易管理，建议使用)。之后可以改变这个设定。',
+  'use_post_based_groups_yes' => '是',
+  'use_post_based_groups_no' => '否',
+  'error_title' => '您必须解决这些错误才能继续。回到上一页。',
+  'error_specify_bbs' => '您必须提供要整合的软件。',
+  'error_no_blank_name' => '您不能将自定义整合的名称字段留白。',
+  'error_no_special_chars' => '整合文件不能包括特殊字符，除了 (_) 和 (-)！',
+  'error_bridge_file_not_exist' => '整合文件 %s 不存在主机内。请检查是否上传成功。',
+  'finalize' => '开启/关闭 论坛整合',
+  'finalize_explanation' => '目前整合数据已存入数据库，但是整合还未开启。您可以在任何时间开启或关闭整合。记住相册的管理账号和密码，要做改变时可能需要。如果出现问题，到 %s 然后关闭论坛整合，用整合前的 CPG 管理账号 (您安装 CPG 时建立的账号)。',
+  'your_bridge_settings' => '整合设定',
+  'title_enable' => '开启整合 %s',
+  'bridge_enable_yes' => '开启',
+  'bridge_enable_no' => '关闭',
+  'error_must_not_be_empty' => '不能空白',
+  'error_either_be' => '必须是 %s 或 %s',
+  'error_folder_not_exist' => '%s 不存在。. 改正 %s 的输入值',
+  'error_cookie_not_readible' => 'CPG 无法读取 cookie 名称 %s。改正 %s 的输入值，或到论坛的设定里面确定 CPG 有读取它的 cookie 路径。',
+  'error_mandatory_field_empty' => '您不能空白字段 %s - 请输入正确值。',
+  'error_no_trailing_slash' => '%s 字段不能包括最后的斜线。',
+  'error_trailing_slash' => '%s 字段必须包括最后的斜线。',
+  'error_db_connect' => '不能连接到数据库。MySQL 的错误信息：',
+  'error_db_name' => '虽然 CPG 能够连接到数据库，它无法找到您输入的数据表 %s。确定 %s 是正确的数据。MySQL 的错误信息：',
+  'error_prefix_and_table' => '%s 和 ',
+  'error_db_table' => '找不到数据表 %s。确定 %s 是正确的数据。',
+  'recovery_title' => '整合管理： 修复',
+  'recovery_explanation' => '如果您要管理论坛的整合设定，您必须先用管理账号登录。如果不能登录，您可以先关闭论坛整合。输入您的账号和密码不会将您登录，只会关闭整合。详情请看帮助文档。',
+  'username' => '账号',
+  'password' => '密码',
+  'disable_submit' => '提交',
+  'recovery_success_title' => '授权完成',
+  'recovery_success_content' => '您已经成功关闭论坛的整合。CPG 目前不受整合影响。',
+  'recovery_success_advice_login' => '登录管理账号来编辑整合设定，或重新开启整合。',
+  'goto_login' => '进入登录页面',
+  'goto_bridgemgr' => '进入整合管理',
+  'recovery_failure_title' => '授权失败',
+  'recovery_failure_content' => '您输入错误的数据。您必须提供管理账号 (您安装 CPG 时建立的账号)。',
+  'try_again' => '重试',
+  'recovery_wait_title' => '锁定时间还没过',
+  'recovery_wait_content' => '因为安全问题，您不能连续登录失败后成功登录，您必须稍待一会才能继续登录。',
+  'wait' => '等待',
+  'create_redir_file' => '建立重定向(redirect)文件 (建议)',
+  'create_redir_file_explanation' => '如果要将会员在登录论坛时转回 CPG，您必须建立一个转址文件到您的论坛目录。勾选这个选项整合管理系统会自动帮您建立，或提供需要的程序代码让您手动建立文件。',
+  'browse' => '浏览',
+);
+
+// ------------------------------------------------------------------------- //
+// File calendar.php //cpg1.4
+// ------------------------------------------------------------------------- //
+
+if (defined('CALENDAR_PHP')) $lang_calendar_php = array(
+  'title' => '日历', //cpg1.4
+  'close' => '关闭', //cpg1.4
+  'clear_date' => '清除日期', //cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File catmgr.php
+// ------------------------------------------------------------------------- //
+
+if (defined('CATMGR_PHP')) $lang_catmgr_php = array(
+  'miss_param' => '\'%s\'操作所需要的参数并未提供！',
+  'unknown_cat' => '数据库里没有您所选的类别',
+  'usergal_cat_ro' => '会员相册的类别不能删除！',
+  'manage_cat' => '类别管理',
+  'confirm_delete' => '确定要删除此类别吗', //js-alert
+  'category' => '类别',
+  'operations' => '操作',
+  'move_into' => '移动到',
+  'update_create' => '更新/建立 类别',
+  'parent_cat' => '母类别',
+  'cat_title' => '类别标题',
+  'cat_thumb' => '类别缩略图',
+  'cat_desc' => '类别简介',
+  'categories_alpha_sort' => '小到大排序类别 (不用自定义排序)', //cpg1.4
+  'save_cfg' => '储存设定', //cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File admin.php //cpg1.4
+// ------------------------------------------------------------------------- //
+
+if (defined('ADMIN_PHP')) $lang_admin_php = array(
+  'title' => '相册设定', //cpg1.4
+  'manage_exif' => '管理 exif 显示', //cpg1.4
+  'manage_plugins' => '插件管理', //cpg1.4
+  'manage_keyword' => '关键词管理', //cpg1.4
+  'restore_cfg' => '设回默认值',
+  'save_cfg' => '储存设定',
+  'notes' => '批注',
+  'info' => '信息',
+  'upd_success' => 'CPG 设定已更新',
+  'restore_success' => '原始设定已回复',
+  'name_a' => '排序根据名称 由小至大',
+  'name_d' => '排序根据名称 由大至小',
+  'title_a' => '排序根据标题 由小至大',
+  'title_d' => '排序根据标题 由大至小',
+  'date_a' => '排序根据日期 由远至近',
+  'date_d' => '排序根据日期 由近至远',
+  'pos_a' => '小到大', //cpg1.4
+  'pos_d' => '大到小', //cpg1.4
+  'th_any' => '最大外观',
+  'th_ht' => '高度',
+  'th_wd' => '宽度',
+  'label' => '标签',
+  'item' => '项目',
+  'debug_everyone' => '任何人',
+  'debug_admin' => '管理员专用',
+  'no_logs'=> '关闭', //cpg1.4
+  'log_normal'=> '正常', //cpg1.4
+  'log_all' => '全部', //cpg1.4
+  'view_logs' => '浏览记录', //cpg1.4
+  'click_expand' => '点名称展开', //cpg1.4
+  'expand_all' => '全部展开', //cpg1.4
+  'notice1' => '(*) 这些设定不能改变，如果你已经有文件储存于数据库。', //cpg1.4 - (relocated)
+  'notice2' => '(**) 改变这些设定只会影响之后加入的文件。建议您不要改变这些设定，如果已有文件存在。但是您可以改变现有的文件，使用 &quot;<a href="util.php">管理功能</a> (重设尺寸)&quot; 的功能。', //cpg1.4 - (relocated)
+  'notice3' => '(***) 全部的记录文件是以英文显示。', //cpg1.4 - (relocated)
+  'bbs_disabled' => '整合论坛后关闭的功能', //cpg1.4
+  'auto_resize_everyone' => '每个人', //cpg1.4
+  'auto_resize_user' => '会员', //cpg1.4
+  'ascending' => '小到大', //cpg1.4
+  'descending' => '大到小', //cpg1.4
+);
+
+if (defined('ADMIN_PHP')) $lang_admin_data = array(
+  '基本设定',
+  array('相册名称', 'gallery_name', 0, 'f=index.htm&amp;as=admin_general_name&amp;ae=admin_general_name_end'), //cpg1.4
+  array('相册描述', 'gallery_description', 0, 'f=index.htm&amp;as=admin_general_description&amp;ae=admin_general_description_end'), //cpg1.4
+  array('相册管理员的电子邮件', 'gallery_admin_email', 0, 'f=index.htm&amp;as=admin_general_email&amp;ae=admin_general_email_end'), //cpg1.4
+  array('CPG 的网址 (不要加上 \'index.php\')', 'ecards_more_pic_target', 0, 'f=index.htm&amp;as=admin_general_coppermine-url&amp;ae=admin_general_coppermine-url_end'), //cpg1.4
+  array('首页的网址', 'home_target', 0, 'f=index.htm&amp;as=admin_general_home-url&amp;ae=admin_general_home-url_end'), //cpg1.4
+  array('允许将最爱的图片下载成ZIP文件', 'enable_zipdownload', 1, 'f=index.htm&amp;as=admin_general_zip-download&amp;ae=admin_general_zip-download_end'), //cpg1.4
+  array('时区跟 GMT 的差别 (目前时间： ' . localised_date(-1, $comment_date_fmt) . ')','time_offset',0, 'f=index.htm&amp;as=admin_general_time-offset&amp;ae=admin_general_time-offset_end&amp;top=1'), //cpg1.4
+  array('开启加密密码 (可以关闭)','enable_encrypted_passwords',1, 'f=index.htm&amp;as=admin_general_encrypt_password_start&amp;ae=admin_general_encrypt_password_end&amp;top=1'), // cpg 1.4
+  array('开启帮助图示 (帮助只以英文显示)','enable_help',9, 'f=index.htm&amp;as=admin_general_help&amp;ae=admin_general_help_end'), //cpg1.4
+  array('允许可点的关键词','clickable_keyword_search',14, 'f=index.htm&amp;as=admin_general_keywords_start&amp;ae=admin_general_keywords_end'), //cpg1.4
+  array('允许插件', 'enable_plugins', 12, 'f=index.htm&amp;as=admin_general_enable-plugins&amp;ae=admin_general_enable-plugins_end'),  //cpg1.4
+  array('允许限制非路由地址（私有）', 'ban_private_ip', 1,  'f=index.htm&amp;as=admin_general_private-ip&amp;ae=admin_general_private-ip_end'), //cpg1.4
+  array('可浏览的批量接口', 'browse_batch_add', 1, 'f=index.htm&amp;as=admin_general_browsable_batch_add&amp;ae=admin_general_browsable_batch_add_end'), //cpg1.4
+
+  '语言 &amp; 编码设定',
+  array('语言', 'lang', 5, 'f=index.htm&amp;as=admin_language_language&amp;ae=admin_language_language_end'), //cpg1.4
+  array('如果翻译的字句不存在使用英文替回', 'language_fallback', 1, 'f=index.htm&amp;as=admin_language_fallback&amp;ae=admin_language_fallback_end'), //cpg1.4
+  array('文字编码', 'charset', 4, 'f=index.htm&amp;as=admin_language_charset&amp;ae=admin_language_charset_end'), //cpg1.4
+  array('显示语言列表', 'language_list', 1, 'f=index.htm&amp;as=admin_language_list&amp;ae=admin_language_list_end'), //cpg1.4
+  array('显示语言国旗', 'language_flags', 8, 'f=index.htm&amp;as=admin_language_flags&amp;ae=admin_language_flags_end&amp;top=1'), //cpg1.4
+  array('语言菜单内显示 &quot;重设&quot;', 'language_reset', 1, 'f=index.htm&amp;as=admin_language_reset&amp;ae=admin_language_reset_end&amp;top=1'), //cpg1.4
+  //array('显示 上一页/下一页 于页面', 'previous_next_tab', 1), //cpg1.4
+
+  '风格设定',
+  array('风格', 'theme', 6, 'f=index.htm&amp;as=admin_theme_theme&amp;ae=admin_theme_theme_end'), //cpg1.4
+  array('显示风格列表', 'theme_list', 1, 'f=index.htm&amp;as=admin_theme_theme_list&amp;ae=admin_theme_theme_list_end'), //cpg1.4
+  array('风格菜单内显示 &quot;重设&quot;', 'theme_reset', 1, 'f=index.htm&amp;as=admin_theme_theme_reset&amp;ae=admin_theme_theme_reset_end'), //cpg1.4
+  array('显示 FAQ', 'display_faq', 1, 'f=index.htm&amp;as=admin_theme_faq&amp;ae=admin_theme_faq_end'), //cpg1.4
+  array('自定义的菜单连接', 'custom_lnk_name', 0,'f=index.htm&amp;as=admin_theme_custom_lnk_name&amp;ae=admin_theme_custom_lnk_name_end'), //cpg1.4
+  array('自定义菜单的网址', 'custom_lnk_url', 0,'f=index.htm&amp;as=admin_language_custom_lnk_url&amp;ae=admin_language_custom_lnk_url_end'), //cpg1.4
+  array('显示 bbcode 帮助', 'show_bbcode_help', 1, 'f=index.htm&amp;as=admin_theme_bbcode&amp;ae=admin_theme_bbcode_end&amp;top=1'), //cpg1.4
+  array('显示 vanity 区域（下面的四个php,mysql,xhtml,css图片标签），来显示我们通过了 XHTML 和 CSS 测试','vanity_block',1, 'f=index.htm&amp;as=vanity_block&amp;ae=vanity_block_end'), //cpg1.4
+  array('自定义标头的路径', 'custom_header_path', 0, 'f=index.htm&amp;as=admin_theme_include_path_start&amp;ae=admin_theme_include_path_end'), //cpg1.4
+  array('自定义页尾的路径', 'custom_footer_path', 0, 'f=index.htm&amp;as=admin_theme_include_path_start&amp;ae=admin_theme_include_path_end'), //cpg1.4
+
+  '相册目录显示',
+  array('主要表格宽度 (像素或 %)', 'main_table_width', 0, 'f=index.htm&amp;as=admin_album_table-width&amp;ae=admin_album_table-width_end'), //cpg1.4
+  array('类别显示的层次数量', 'subcat_level', 0, 'f=index.htm&amp;as=admin_album_category-levels&amp;ae=admin_album_category-levels_end'), //cpg1.4
+  array('相册显示数量', 'albums_per_page', 0, 'f=index.htm&amp;as=admin_album_number&amp;ae=admin_album_number_end'), //cpg1.4
+  array('相册列表的栏数', 'album_list_cols', 0, 'f=index.htm&amp;as=admin_album_columns&amp;ae=admin_album_columns_end'), //cpg1.4
+  array('缩略图像素', 'alb_list_thumb_size', 0, 'f=index.htm&amp;as=admin_album_thumbnail-size&amp;ae=admin_album_thumbnail-size_end'), //cpg1.4
+  array('主页的内容', 'main_page_layout', 0, 'f=index.htm&amp;as=admin_album_list_content&amp;ae=admin_album_list_content_end'), //cpg1.4
+  array('显示分类中第一层的相册缩略图','first_level',1, 'f=index.htm&amp;as=admin_album_first-level_thumbs&amp;ae=admin_album_first-level_thumbs_end'), //cpg1.4
+  array('以小到大排列类别 (不使用自定义排列)','categories_alpha_sort',1, 'f=index.htm&amp;as=admin_album_list_alphasort_start&amp;ae=admin_album_list_alphasort_end'), //cpg1.4
+  array('显示连接的文件数量','link_pic_count',1, 'f=index.htm&amp;as=admin_album_linked_files_start&amp;ae=admin_album_linked_files_end'), //cpg1.4
+
+  '缩略图显示',
+  array('缩略图页栏数', 'thumbcols', 0, 'f=index.htm&amp;as=admin_thumbnail_columns&amp;ae=admin_thumbnail_columns_end'), //cpg1.4
+  array('缩略图页列数', 'thumbrows', 0, 'f=index.htm&amp;as=admin_thumbnail_rows&amp;ae=admin_thumbnail_rows_end'), //cpg1.4
+  array('显示的卷标页数量', 'max_tabs', 10, 'f=index.htm&amp;as=admin_thumbnail_tabs&amp;ae=admin_thumbnail_tabs_end'), //cpg1.4
+  array('缩略图下方显示图片帮助 (连标题)', 'caption_in_thumbview', 1, 'f=index.htm&amp;as=admin_thumbnail_display_caption&amp;ae=admin_thumbnail_display_caption_end'), //cpg1.4
+  array('缩略图下方显示浏览次数', 'views_in_thumbview', 1, 'f=index.htm&amp;as=admin_thumbnail_display_views&amp;ae=admin_thumbnail_display_views_end'), //cpg1.4
+  array('缩略图下方显示留言', 'display_comment_count', 1, 'f=index.htm&amp;as=admin_thumbnail_display_comments&amp;ae=admin_thumbnail_display_comments_end'), //cpg1.4
+  array('缩略图下方显示上传者名称', 'display_uploader', 1, 'f=index.htm&amp;as=admin_thumbnail_display_uploader&amp;ae=admin_thumbnail_display_uploader_end'), //cpg1.4
+  //array('缩略图下方显示上传的管理员', 'display_admin_uploader', 1, 'f=index.htm&amp;as=admin_thumbnail_display_admin_uploader&amp;ae=admin_thumbnail_display_admin_uploader_end'), //cpg1.4
+  array('缩略图下方显示文件名称', 'display_filename', 1, 'f=index.htm&amp;as=admin_thumbnail_display_filename&amp;ae=admin_thumbnail_display_filename_end'), //cpg1.4
+  array('显示相册简介', 'alb_desc_thumb', 1, 'f=index.htm&amp;as=admin_thumbnail_display_description&amp;ae=admin_thumbnail_display_description_end'), //cpg1.4
+  array('预设的文件排序', 'default_sort_order', 3, 'f=index.htm&amp;as=admin_thumbnail_default_sortorder&amp;ae=admin_thumbnail_default_sortorder_end'), //cpg1.4
+  array('\'热门投票\' 需要的投票数', 'min_votes_for_rating', 0, 'f=index.htm&amp;as=admin_thumbnail_minimum_votes&amp;ae=admin_thumbnail_minimum_votes_end'), //cpg1.4
+
+  '图片显示', //cpg1.4
+  array('显示图片的表格宽度 (像素或 %)', 'picture_table_width', 0, 'f=index.htm&amp;as=admin_image_comment_table-width&amp;ae=admin_image_comment_table-width_end'), //cpg1.4
+  array('图片信息的预设为显示', 'display_pic_info', 1, 'f=index.htm&amp;as=admin_image_comment_info_visible&amp;ae=admin_image_comment_info_visible_end'), //cpg1.4
+  array('图片简介的允许字数', 'max_img_desc_length', 0, 'f=index.htm&amp;as=admin_image_comment_descr_length&amp;ae=admin_image_comment_descr_length_end'), //cpg1.4
+  array('允许的文字数量', 'max_com_wlength', 0, 'f=index.htm&amp;as=admin_image_comment_chars_per_word&amp;ae=admin_image_comment_chars_per_word_end'), //cpg1.4
+  array('显示图片预览列', 'display_film_strip', 1, 'f=index.htm&amp;as=admin_image_comment_filmstrip_toggle&amp;ae=admin_image_comment_filmstrip_toggle_end'), //cpg1.4
+  array('图片预览列下方显示文件名称', 'display_film_strip_filename', 1, 'f=index.htm&amp;as=admin_image_comment_display_film_strip_filename&amp;ae=admin_image_comment_display_film_strip_filename_end'), //cpg1.4
+  array('预览列的数量', 'max_film_strip_items', 0, 'f=index.htm&amp;as=admin_image_comment_filmstrip_number&amp;ae=admin_image_comment_filmstrip_number_end'), //cpg1.4
+  array('连续拨放间隔时间 (毫秒)。1 秒 = 1000 毫秒', 'slideshow_interval', 0, 'f=index.htm&amp;as=admin_image_comment_slideshow_interval&amp;ae=admin_image_comment_slideshow_interval_end'), //cpg1.4
+
+  '留言设定', //cpg1.4
+  array('留言内过滤不良词汇', 'filter_bad_words', 1, 'f=index.htm&amp;as=admin_image_comment_bad_words&amp;ae=admin_image_comment_bad_words_end'), //cpg1.4
+  array('留言内允许表情图案', 'enable_smilies', 1, 'f=index.htm&amp;as=admin_image_comment_smilies&amp;ae=admin_image_comment_smilies_end'), //cpg1.4
+  array('允许会员在同一张图片连续发表留言 (关闭灌水保护)', 'disable_comment_flood_protect', 1, 'f=index.htm&amp;as=admin_image_comment_flood&amp;ae=admin_image_comment_flood_end'), //cpg1.4
+  array('留言的最大行数', 'max_com_lines', 0, 'f=index.htm&amp;as=admin_image_comment_lines&amp;ae=admin_image_comment_lines_end'), //cpg1.4
+  array('留言的最大长度', 'max_com_size', 0, 'f=index.htm&amp;as=admin_image_comment_length&amp;ae=admin_image_comment_length_end'), //cpg1.4
+  array('有留言时通知管理员', 'email_comment_notification', 1, 'f=index.htm&amp;as=admin_image_comment_admin_notify&amp;ae=admin_image_comment_admin_notify_end'), //cpg1.4
+  array('留言的排序', 'comments_sort_descending', 17, 'f=index.htm&amp;as=admin_comment_sort_start&amp;ae=admin_comment_sort_end'), //cpg1.4
+  array('无名留言者的前导符', 'comments_anon_pfx', 0, 'f=index.htm&amp;as=comments_anon_pfx&amp;ae=comments_anon_pfx_end'), //cpg1.4
+
+  '图片及缩略图设定',
+  array('JPEG 格式质量', 'jpeg_qual', 0, 'f=index.htm&amp;as=admin_picture_thumbnail_jpeg_quality&amp;ae=admin_picture_thumbnail_jpeg_quality_end'), //cpg1.4
+  array('缩略图最大尺寸 <a href="#notice2" class="clickable_option">**</a>', 'thumb_width', 0, 'f=index.htm&amp;as=admin_picture_thumbnail_max-dimension&amp;ae=admin_picture_thumbnail_max-dimension_end'), //cpg1.4
+  array('使用尺寸 (宽，高或缩略图最大边长) <a href="#notice2" class="clickable_option">**</a>', 'thumb_use', 7, 'f=index.htm&amp;as=admin_picture_thumbnail_use-dimension&amp;ae=admin_picture_thumbnail_use-dimension_end'), //cpg1.4
+  array('建立中级图片','make_intermediate',1, 'f=index.htm&amp;as=admin_picture_thumbnail_intermediate_toggle&amp;ae=admin_picture_thumbnail_intermediate_toggle_end'), //cpg1.4
+  array('中级图片/影片的最大尺寸 <a href="#notice2" class="clickable_option">**</a>', 'picture_width', 0, 'f=index.htm&amp;as=admin_picture_thumbnail_intermediate_dimension&amp;ae=admin_picture_thumbnail_intermediate_dimension_end'), //cpg1.4
+  array('传图片的最大限制 (KB)', 'max_upl_size', 0, 'f=index.htm&amp;as=admin_picture_thumbnail_max_upload_size&amp;ae=admin_picture_thumbnail_max_upload_size_end'), //cpg1.4
+  array('上传图片/影片的最大宽度或最高尺寸 (像素)', 'max_upl_width_height', 0, 'f=index.htm&amp;as=admin_picture_thumbnail_max_upload_dimension&amp;ae=admin_picture_thumbnail_max_upload_dimension_end'), //cpg1.4
+  array('自动重设超过限制的图片尺寸', 'auto_resize', 16, 'f=index.htm&amp;as=admin_picture_thumbnail_auto-resize&amp;ae=admin_picture_thumbnail_auto-resize_end'), //cpg1.4
+
+  '图片和缩略图的高级设定',
+  array('可使用私人相册 (注意：如果您从 \'是\' 换成 \'否\'，任何现有的私人相册将会变成公共相册)', 'allow_private_albums', 1, 'f=index.htm&amp;as=admin_picture_thumb_advanced_private_toggle&amp;ae=admin_picture_thumb_advanced_private_toggle_end'), //cpg1.4
+  array('显示私人相册图片给未登录的会员','show_private',1, 'f=index.htm&amp;as=admin_picture_thumb_advanced_private_icon_show&amp;ae=admin_picture_thumb_advanced_private_icon_show_end'), //cpg1.4
+  array('文件名不可使用的字词', 'forbiden_fname_char',0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_filename_forbidden_chars&amp;ae=admin_picture_thumb_advanced_filename_forbidden_chars_end'), //cpg1.4
+  //array('上传图片可接受的扩展名', 'allowed_file_extensions',0, 'f=index.htm&amp;as=&amp;ae=_end'), //cpg1.4
+  array('允许的图片文件类型', 'allowed_img_types',0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_pic_extensions&amp;ae=admin_picture_thumb_advanced_pic_extensions_end'), //cpg1.4
+  array('允许的影片文件类型', 'allowed_mov_types',0, 'f=index.htm&amp;as=admin_thumbs_advanced_movie&amp;ae=admin_thumbs_advanced_movie_end'), //cpg1.4
+  array('自动播放影片', 'media_autostart',1, 'f=index.htm&amp;as=admin_movie_autoplay&amp;ae=admin_movie_autoplay_end'), //cpg1.4
+  array('允许的声音文件类型', 'allowed_snd_types',0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_audio_extensions&amp;ae=admin_picture_thumb_advanced_audio_extensions_end'), //cpg1.4
+  array('允许的文件文件类型', 'allowed_doc_types',0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_doc_extensions&amp;ae=admin_picture_thumb_advanced_doc_extensions_end'), //cpg1.4
+  array('建立缩略图的方法','thumb_method',2, 'f=index.htm&amp;as=admin_picture_thumb_advanced_resize_method&amp;ae=admin_picture_thumb_advanced_resize_method_end'), //cpg1.4
+  array('ImageMagick 的 \'convert\' 程序路径 (例如 /usr/bin/X11/)', 'impath', 0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_im_path&amp;ae=admin_picture_thumb_advanced_im_path_end'), //cpg1.4
+  //array('可接受的图片类型 (只对 ImageMagick 有效)', 'allowed_img_types',0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_allowed_imagetypes&amp;ae=admin_picture_thumb_advanced_allowed_imagetypes_end'), //cpg1.4
+  array('ImageMagick 的命令列选项', 'im_options', 0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_im_commandline&amp;ae=admin_picture_thumb_advanced_im_commandline_end'), //cpg1.4
+  array('读取 JPEG 图片的 EXIF 数据', 'read_exif_data', 13, 'f=index.htm&amp;as=admin_picture_thumb_advanced_exif&amp;ae=admin_picture_thumb_advanced_exif_end'), //cpg1.4
+  array('读取 JPEG 图片的 IPTC 数据', 'read_iptc_data', 1, 'f=index.htm&amp;as=admin_picture_thumb_advanced_iptc&amp;ae=admin_picture_thumb_advanced_iptc_end'), //cpg1.4
+  array('相册路径 <a href="#notice1" class="clickable_option">*</a>', 'fullpath', 0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_albums_dir&amp;ae=admin_picture_thumb_advanced_albums_dir_end'), //cpg1.4
+  array('会员图文件路径 <a href="#notice1" class="clickable_option">*</a>', 'userpics', 0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_userpics_dir&amp;ae=admin_picture_thumb_advanced_userpics_dir_end'), //cpg1.4
+  array('缩略图片的前导符 <a href="#notice1" class="clickable_option">*</a>', 'normal_pfx', 0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_intermediate_prefix&amp;ae=admin_picture_thumb_advanced_intermediate_prefix_end'), //cpg1.4
+  array('缩略图的前导符 <a href="#notice1" class="clickable_option">*</a>', 'thumb_pfx', 0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_thumbs_prefix&amp;ae=admin_picture_thumb_advanced_thumbs_prefix_end'), //cpg1.4
+  array('目录的预设模式', 'default_dir_mode', 0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_chmod_folder&amp;ae=admin_picture_thumb_advanced_chmod_folder_end'), //cpg1.4
+  array('文件的预设模式', 'default_file_mode', 0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_chmod_files&amp;ae=admin_picture_thumb_advanced_chmod_files_end'), //cpg1.4
+
+  '会员设定',
+  array('允许会员注册', 'allow_user_registration', 1, 'f=index.htm&amp;as=admin_allow_registration&amp;ae=admin_allow_registration_end'), //cpg1.4
+  array('允许访客进入', 'allow_unlogged_access', 1, 'f=index.htm&amp;as=admin_allow_unlogged_access&amp;ae=admin_allow_unlogged_access_end'), //cpg1.4
+  array('注册需要电子邮件验证', 'reg_requires_valid_email', 1, 'f=index.htm&amp;as=admin_registration_verify&amp;ae=admin_registration_verify_end'), //cpg1.4
+  array('有新会员时通知管理员', 'reg_notify_admin_email', 1, 'f=index.htm&amp;as=admin_registration_notify&amp;ae=admin_registration_notify_end'), //cpg1.4
+  array('管理员需审核注册', 'admin_activation', 1, 'f=index.htm&amp;as=admin_activation&amp;ae=admin_activation_end'),  //cpg1.4
+  array('允许两个会员使用同一个电子邮件', 'allow_duplicate_emails_addr', 1, 'f=index.htm&amp;as=admin_allow_duplicate_emails_addr&amp;ae=admin_allow_duplicate_emails_addr_end'), //cpg1.4
+  array('通知管理员有等待审核的文件', 'upl_notify_admin_email', 1, 'f=index.htm&amp;as=admin_approval_notify&amp;ae=admin_approval_notify_end'), //cpg1.4
+  array('允许登录的会员浏览会员名单', 'allow_memberlist', 1, 'f=index.htm&amp;as=admin_user_memberlist&amp;ae=admin_user_memberlist_end'), //cpg1.4
+  array('允许会员改变电子邮件', 'allow_email_change', 1, 'f=index.htm&amp;as=admin_user_allow_email_change&amp;ae=admin_user_allow_email_change_end'), //cpg1.4
+  array('允许会员保留自己在公共相册里的图片', 'users_can_edit_pics', 1, 'f=index.htm&amp;as=admin_user_editpics_public_start&amp;ae=admin_user_editpics_public_end'), //cpg1.4
+  array('允许错误登录的次数 (避免相册遭受攻击)', 'login_threshold', 0, 'f=index.htm&amp;as=admin_user_login_start&amp;ae=admin_user_login_end'), //cpg1.4
+  array('错误登录后的限制时间', 'login_expiry', 0, 'f=index.htm&amp;as=admin_user_login_start&amp;ae=admin_user_login_end'), //cpg1.4
+  array('允许向管理员检举文件', 'report_post', 1, 'f=index.htm&amp;as=admin_user_enable_report&amp;ae=admin_user_enable_report_end'),  //cpg1.4
+
+// custom profile fields,  //cpg1.4
+  '个人数据的自定义字段 (空白如果不使用)。
+  用“数据 6” 给字数长的信息，例如说个人简介', //cpg1.4
+  array('数据 1 的名称', 'user_profile1_name', 0, 'f=index.htm&amp;as=admin_custom&amp;ae=admin_custom_end'), //cpg1.4
+  array('数据 2 的名称', 'user_profile2_name', 0), //cpg1.4
+  array('数据 3 的名称', 'user_profile3_name', 0), //cpg1.4
+  array('数据 4 的名称', 'user_profile4_name', 0), //cpg1.4
+  array('数据 5 的名称', 'user_profile5_name', 0), //cpg1.4
+  array('数据 6 的名称', 'user_profile6_name', 0), //cpg1.4
+
+  '图片简介的自定义字段 (空白如果不使用)',
+  array('字段 1 的名称', 'user_field1_name', 0, 'f=index.htm&amp;as=admin_custom_image&amp;ae=admin_custom_image_end'), //cpg1.4
+  array('字段 2 的名称', 'user_field2_name', 0),
+  array('字段 3 的名称', 'user_field3_name', 0),
+  array('字段 4 的名称', 'user_field4_name', 0),
+
+  'Cookies 设定',
+  array('Cookie 名称', 'cookie_name', 0, 'f=index.htm&amp;as=admin_cookie_name&amp;ae=admin_cookie_name_end'), //cpg1.4
+  array('Cookie 路径', 'cookie_path', 0, 'f=index.htm&amp;as=admin_cookie_path&amp;ae=admin_cookie_path_end'), //cpg1.4
+
+  '电子邮件设定  (通常可以不用作任何改变；如果不懂请不要更改)', //cpg1.4
+  array('SMTP 主机 (如果空白会使用 sendmail)', 'smtp_host', 0, 'f=index.htm&amp;as=admin_email&amp;ae=admin_email_end'), //cpg1.4
+  array('SMTP 账号', 'smtp_username', 0), //cpg1.4
+  array('SMTP 密码', 'smtp_password', 0), //cpg1.4
+
+  '记录和统计', //cpg1.4
+  array('记录模式 <a href="#notice3" class="clickable_option">***</a>', 'log_mode', 11, 'f=index.htm&amp;as=admin_logging_log_mode&amp;ae=admin_logging_log_mode_end'), //cpg1.4
+  array('记录电子贺卡', 'log_ecards', 1, 'f=index.htm&amp;as=admin_general_log_ecards&amp;ae=admin_general_log_ecards_end'), //cpg1.4
+  array('记录投票的统计','vote_details',1, 'f=index.htm&amp;as=admin_logging_votedetails&amp;ae=admin_logging_votedetails_end'), //cpg1.4
+  array('记录浏览的统计','hit_details',1, 'f=index.htm&amp;as=admin_logging_hitdetails&amp;ae=admin_logging_hitdetails_end'), //cpg1.4
+
+  '维护设定', //cpg1.4
+  array('开启除错模式', 'debug_mode', 9, 'f=index.htm&amp;as=debug_mode&amp;ae=debug_mode_end'), //cpg1.4
+  array('显示除错模式里的通知', 'debug_notice', 1, 'f=index.htm&amp;as=admin_misc_debug_notices&amp;ae=admin_misc_debug_notices_end'), //cpg1.4
+  array('相册维护 (关闭)', 'offline', 1, 'f=index.htm&amp;as=admin_general_offline&amp;ae=admin_general_offline_end'), //cpg1.4
+);
+
+
+// ------------------------------------------------------------------------- //
+// File db_ecard.php
+// ------------------------------------------------------------------------- //
+
+if (defined('DB_ECARD_PHP')) $lang_db_ecard_php = array(
+  'title' => '发送电子贺卡',
+  'ecard_sender' => '发件人',
+  'ecard_recipient' => '收件人',
+  'ecard_date' => '日期',
+  'ecard_display' => '显示电子贺卡',
+  'ecard_name' => '名称',
+  'ecard_email' => '电子邮件',
+  'ecard_ip' => 'IP #',
+  'ecard_ascending' => '升序',
+  'ecard_descending' => '降序',
+  'ecard_sorted' => '排序',
+  'ecard_by_date' => '根据日期',
+  'ecard_by_sender_name' => '根据发件人名称',
+  'ecard_by_sender_email' => '根据发件人邮件',
+  'ecard_by_sender_ip' => '根据发件人的 IP 地址',
+  'ecard_by_recipient_name' => '根据收件人名称',
+  'ecard_by_recipient_email' => '根据收件人邮件',
+  'ecard_number' => '显示纪录 %s 到 %s 在 %s',
+  'ecard_goto_page' => '到页面',
+  'ecard_records_per_page' => '页面记录',
+  'check_all' => '全选',
+  'uncheck_all' => '都不选',
+  'ecards_delete_selected' => '删除选取的贺卡',
+  'ecards_delete_confirm' => '你确定要删除记录吗？请勾选。',
+  'ecards_delete_sure' => '我确定',
+);
+
+
+// ------------------------------------------------------------------------- //
+// File db_input.php
+// ------------------------------------------------------------------------- //
+
+if (defined('DB_INPUT_PHP')) $lang_db_input_php = array(
+  'empty_name_or_com' => '请输入您的名字和留言',
+  'com_added' => '您的留言已经加入',
+  'alb_need_title' => '您必须为相册提供一个标题 !',
+  'no_udp_needed' => '没有更新的必要',
+  'alb_updated' => '相册已经更新',
+  'unknown_album' => '所选择的相册不存在或您没有权限上传文件到此相册',
+  'no_pic_uploaded' => '没有文件被上传 !<br /><br />如果您确定有选择文件上传, 请检查服务器是否允许上传文件...',
+  'err_mkdir' => '无法建立目录 %s！',
+  'dest_dir_ro' => '目录 %s 无法读写！',
+  'err_move' => '无法移动 %s 到 %s！',
+  'err_fsize_too_large' => '您上传的图片太大 (不能超过 %s x %s)！', //obsolete since cpg1.3 - consider removal in cpg1.4 once upload.php has been overhauled
+  'err_imgsize_too_large' => '您上传的图片太大 (不能超过 %s KB)！', //obsolete since cpg1.3 - consider removal in cpg1.4 once upload.php has been overhauled
+  'err_invalid_img' => '上传的文件并不是容许的图片格式 !',
+  'allowed_img_types' => '您只可以上传 %s 张图片.',
+  'err_insert_pic' => '文件 \'%s\' 无法加入此相册 ',
+  'upload_success' => '文件上传完成!<br /><br />当管理者核准后就可以看到文件了.',
+  'notify_admin_email_subject' => '%s - 上传文件通知',
+  'notify_admin_email_body' => '%s有上传文件 需要你的核准. 请查阅 %s',
+  'info' => '信息',
+  'com_added' => '留言已加入',
+  'alb_updated' => '相册已经更新',
+  'err_comment_empty' => '留言是空的 !',
+  'err_invalid_fext' => '只有下列的扩展名才允许上传 : <br /><br />%s.',
+  'no_flood' => '抱歉, 此图片最后一个留言是您提供<br /><br />您只可以修改您的留言',
+  'redirect_msg' => '页面转移中.<br /><br /><br />按 \'继续\' 如果页面没有自动刷新',
+  'upl_success' => '已经加入您的图片',
+  'email_comment_subject' => '相册已有新留言',
+  'email_comment_body' => '已经有留言发表在您的相册。请浏览',
+  'album_not_selected' => '无选择的相册', //cpg1.4
+  'com_author_error' => '已有注册会员使用了这个名称，请登录或使用其它名称', //cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File delete.php
+// ------------------------------------------------------------------------- //
+
+if (defined('DELETE_PHP')) $lang_delete_php = array(
+  'caption' => '帮助',
+  'fs_pic' => '原图',
+  'del_success' => '完成删除',
+  'ns_pic' => '标准尺寸图片',
+  'err_del' => '无法删除',
+  'thumb_pic' => '缩略图',
+  'comment' => '留言',
+  'im_in_alb' => '相册内图片',
+  'alb_del_success' => '相册 &laquo;%s&raquo; 已删除', //cpg1.4
+  'alb_mgr' => '相册管理',
+  'err_invalid_data' => '接收到不正确的数据于 \'%s\'',
+  'create_alb' => '建立相册 \'%s\'',
+  'update_alb' => '更新相册 \'%s\' 标题为 \'%s\' 索引为 \'%s\'',
+  'del_pic' => '删除图片',
+  'del_alb' => '删除相册',
+  'del_user' => '删除会员',
+  'err_unknown_user' => '所选择的会员不存在！',
+  'err_empty_groups' => '找不要群的数据表，或没有资料！', //cpg1.4
+  'comment_deleted' => '留言已删除',
+  'npic' => '图片', //cpg1.4
+  'pic_mgr' => '图片管理', //cpg1.4
+  'update_pic' => '更新图片 \'%s\' 的文件名为 \'%s\'，索引是 \'%s\'', //cpg1.4
+  'username' => '账号', //cpg1.4
+  'anonymized_comments' => '%s 个无名的留言', //cpg1.4
+  'anonymized_uploads' => '%s 个无名的公共上传', //cpg1.4
+  'deleted_comments' => '删除了 %s 个留言', //cpg1.4
+  'deleted_uploads' => '删除了 %s 个公共上传', //cpg1.4
+  'user_deleted' => '会员 %s 已删除', //cpg1.4
+  'activate_user' => '启用账号', //cpg1.4
+  'user_already_active' => '账号已被启用', //cpg1.4
+  'activated' => '启用', //cpg1.4
+  'deactivate_user' => '关闭账号', //cpg1.4
+  'user_already_inactive' => '账号已被关闭', //cpg1.4
+  'deactivated' => '关闭', //cpg1.4
+  'reset_password' => '重设密码', //cpg1.4
+  'password_reset' => '密码重设成 %s', //cpg1.4
+  'change_group' => '改变主要群', //cpg1.4
+  'change_group_to_group' => '从 %s 改成 %s', //cpg1.4
+  'add_group' => '新增额外群', //cpg1.4
+  'add_group_to_group' => '加入会员 %s 到群 %s。会员现在的主要群是 %s，额外群是 %s。', //cpg1.4
+  'status' => 'Status', //cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File displayecard.php
+// ------------------------------------------------------------------------- //
+
+if (defined('DISPLAYECARD_PHP')) {
+
+$lang_displayecard_php = array(
+  'invalid_data' => '您要使用的电子贺卡数据有错误。请检查连接。', //cpg1.4
+);
+}
+
+// ------------------------------------------------------------------------- //
+// File displayimage.php
+// ------------------------------------------------------------------------- //
+
+if (defined('DISPLAYIMAGE_PHP')){
+
+$lang_display_image_php = array(
+  'confirm_del' => '确定要删除此图片吗 ? \\n留言也会被删除.', //js-alert
+  'del_pic' => '删除此图片',
+  'size' => '%s x %s 像素',
+  'views' => '%s 次',
+  'slideshow' => '连续播放',
+  'stop_slideshow' => '停止播放',
+  'view_fs' => '点选图片以查看原图',
+  'edit_pic' => '编辑文件信息', //cpg1.4
+  'crop_pic' => '裁剪与旋转',
+  'set_player' => '改变播放软件',
+);
+
+$lang_picinfo = array(
+  'title' =>'图片信息',
+  'Filename' => '文件名称',
+  'Album name' => '相册名称',
+  'Rating' => '评分 (%s 次投票)',
+  'Keywords' => '关键词',
+  'File Size' => '文件大小',
+  'Date Added' => '加入日期', //cpg1.4
+  'Dimensions' => '尺寸',
+  'Displayed' => '显示',
+  'URL' => 'URL', //cpg1.4
+  'Make' => '品牌', //cpg1.4
+  'Model' => '型号', //cpg1.4
+  'DateTime' => '日期时间', //cpg1.4
+  'DateTimeOriginal' => '拍照日期', //cpg1.4
+  'ISOSpeedRatings'=>'ISO', //cpg1.4
+  'MaxApertureValue' => '光圈最大值', //cpg1.4
+  'FocalLength' => '焦点尺寸', //cpg1.4
+  'Comment' => '留言',
+  'addFav'=>'加到我的最爱',
+  'addFavPhrase'=>'我的最爱',
+  'remFav'=>'从我的最爱删除',
+  'iptcTitle'=>'IPTC 标题',
+  'iptcCopyright'=>'IPTC 版权',
+  'iptcKeywords'=>'IPTC 关键词',
+  'iptcCategory'=>'IPTC 类别',
+  'iptcSubCategories'=>'IPTC 子类别',
+  'ColorSpace' => '颜色空间', //cpg1.4
+  'ExposureProgram' => '曝光软件', //cpg1.4
+  'Flash' => '闪光', //cpg1.4
+  'MeteringMode' => '计量模式', //cpg1.4
+  'ExposureTime' => '曝光时间', //cpg1.4
+  'ExposureBiasValue' => '曝光补光', //cpg1.4
+  'ImageDescription' => ' 图片简介', //cpg1.4
+  'Orientation' => '定位', //cpg1.4
+  'xResolution' => 'X 分辨率', //cpg1.4
+  'yResolution' => 'Y 分辨率', //cpg1.4
+  'ResolutionUnit' => '分辨率', //cpg1.4
+  'Software' => '软件', //cpg1.4
+  'YCbCrPositioning' => 'YCbCrPositioning', //cpg1.4
+  'ExifOffset' => 'Exif 偏移量', //cpg1.4
+  'IFD1Offset' => 'IFD1 偏移量', //cpg1.4
+  'FNumber' => 'FNumber', //cpg1.4
+  'ExifVersion' => 'Exif 版本', //cpg1.4
+  'DateTimeOriginal' => '原本日期', //cpg1.4
+  'DateTimedigitized' => '电子日期', //cpg1.4
+  'ComponentsConfiguration' => '零件设定', //cpg1.4
+  'CompressedBitsPerPixel' => '压缩量/像素', //cpg1.4
+  'LightSource' => '光源', //cpg1.4
+  'ISOSetting' => 'ISO 设定', //cpg1.4
+  'ColorMode' => '颜色模式', //cpg1.4
+  'Quality' => '品质', //cpg1.4
+  'ImageSharpening' => '尖锐图片', //cpg1.4
+  'FocusMode' => '焦距模式', //cpg1.4
+  'FlashSetting' => '闪光设定', //cpg1.4
+  'ISOSelection' => 'ISO 选项', //cpg1.4
+  'ImageAdjustment' => '图片调整', //cpg1.4
+  'Adapter' => '转接器', //cpg1.4
+  'ManualFocusDistance' => '手动的焦距距离', //cpg1.4
+  'DigitalZoom' => '电子变焦', //cpg1.4
+  'AFFocusPosition' => 'AF 焦距位置', //cpg1.4
+  'Saturation' => '浸透度', //cpg1.4
+  'NoiseReduction' => '减少干扰', //cpg1.4
+  'FlashPixVersion' => '闪光版本', //cpg1.4
+  'ExifImageWidth' => 'Exif 图片宽度', //cpg1.4
+  'ExifImageHeight' => 'Exif 图片高度', //cpg1.4
+  'ExifInteroperabilityOffset' => 'Exif 通用偏移量', //cpg1.4
+  'FileSource' => '文件来源', //cpg1.4
+  'SceneType' => '场景类型', //cpg1.4
+  'CustomerRender' => '顾客处理', //cpg1.4
+  'ExposureMode' => '曝光模式', //cpg1.4
+  'WhiteBalance' => '白色平衡', //cpg1.4
+  'DigitalZoomRatio' => '电子变焦比率', //cpg1.4
+  'SceneCaptureMode' => '场景拍摄模式', //cpg1.4
+  'GainControl' => '获得控制', //cpg1.4
+  'Contrast' => '对比', //cpg1.4
+  'Saturation' => '浸透度', //cpg1.4
+  'Sharpness' => '尖锐度', //cpg1.4
+  'ManageExifDisplay' => '管理 Exif 显示', //cpg1.4
+  'submit' => '提交', //cpg1.4
+  'success' => '数据已更新完毕。', //cpg1.4
+  'details' => '细节', //cpg1.4
+);
+
+$lang_display_comments = array(
+  'OK' => 'OK',
+  'edit_title' => '编辑此留言',
+  'confirm_delete' => '确定要删除此留言？', //js-alert
+  'add_your_comment' => '发表您的留言',
+  'name'=>'名称',
+  'comment'=>'留言',
+  'your_name' => '无名',
+  'report_comment_title' => '检举这篇留言', //cpg1.4
+);
+
+$lang_fullsize_popup = array(
+  'click_to_close' => '点选图片来关闭窗口',
+);
+
+}
+
+// ------------------------------------------------------------------------- //
+// File ecard.php
+// ------------------------------------------------------------------------- //
+
+if (defined('ECARDS_PHP') || defined('DISPLAYECARD_PHP')) $lang_ecard_php =array(
+  'title' => '寄出 电子贺卡',
+  'invalid_email' => '<font color="red"><b>警告</b></font>：不正确的电子邮件：', //cpg1.4
+  'ecard_title' => '%s 寄给你一张电子贺卡',
+  'error_not_image' => '电子贺卡只能寄出图片.',
+  'view_ecard' => '如果电子贺卡无法正确显示，请按此连接', //cpg1.4
+  'view_ecard_plaintext' => '请到这个网址浏览电子贺卡：', //cpg1.4
+  'view_more_pics' => '更多图片！', //cpg1.4
+  'send_success' => '你的 电子贺卡 已寄出',
+  'send_failed' => '抱歉, 本服务器无法为你寄出 电子贺卡...',
+  'from' => '由',
+  'your_name' => '你的名称',
+  'your_email' => '你的电子邮件',
+  'to' => '给',
+  'rcpt_name' => '收件人名称',
+  'rcpt_email' => '收件人电子邮件',
+  'greetings' => '标题', //cpg1.4
+  'message' => '信息内容', //cpg1.4
+  'ecards_footer' => '寄件人 %s 从 IP %s 在 %s (相册主机时间)', //cpg1.4
+  'preview' => '电子贺卡预览', //cpg1.4
+  'preview_button' => '预览', //cpg1.4
+  'submit_button' => '寄送贺卡', //cpg1.4
+  'preview_view_ecard' => '这是电子贺卡生成后的替补连接，预览模式下无法查看。', //cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File report_file.php //cpg1.4
+// ------------------------------------------------------------------------- //
+
+if (defined('REPORT_FILE_PHP') || defined('DISPLAYREPORT_PHP')) $lang_report_php =array(
+  'title' => '检举报告', //cpg1.4
+  'invalid_email' => '<b>警告</b>：错误的电子邮件！', //cpg1.4
+  'report_subject' => '检举信件从 %s 在相册 %s', //cpg1.4
+  'view_report' => '检举报告的替补连接，如果无法正常显示。', //cpg1.4
+  'view_report_plaintext' => '请到下面的网址浏览检举报告：', //cpg1.4
+  'view_more_pics' => '相册', //cpg1.4
+  'send_success' => '您的检举已传送', //cpg1.4
+  'send_failed' => '抱歉，但是主机无法传送您的检举报告...', //cpg1.4
+  'from' => '从', //cpg1.4
+  'your_name' => '您的名称', //cpg1.4
+  'your_email' => '您的信箱', //cpg1.4
+  'to' => '到', //cpg1.4
+  'administrator' => '管理员', //cpg1.4
+  'subject' => '标题', //cpg1.4
+  'comment_field_name' => '检举 "%s" 的留言', //cpg1.4
+  'reason' => '原因', //cpg1.4
+  'message' => '信息', //cpg1.4
+  'report_footer' => '寄件人 %s 从 IP %s 在 %s (相册主机时间)', //cpg1.4
+  'obscene' => '猥亵的', //cpg1.4
+  'offensive' => '攻击性', //cpg1.4
+  'misplaced' => '文不对题', //cpg1.4
+  'missing' => '不存在', //cpg1.4
+  'issue' => '错误/无法浏览', //cpg1.4
+  'other' => '其它', //cpg1.4
+  'refers_to' => '检举的文件是', //cpg1.4
+  'reasons_list_heading' => '检举理由：', //cpg1.4
+  'no_reason_given' => '没有理由', //cpg1.4
+  'go_comment' => '浏览留言', //cpg1.4
+  'view_comment' => '浏览完整报告和留言', //cpg1.4
+  'type_file' => '文件', //cpg1.4
+  'type_comment' => '留言', //cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File editpics.php
+// ------------------------------------------------------------------------- //
+
+if (defined('EDITPICS_PHP')) $lang_editpics_php = array(
+  'pic_info' => '文件数据',
+  'album' => '相册',
+  'title' => '标题',
+  'filename' => '文件名', //cpg1.4
+  'desc' => '描述',
+  'keywords' => '关键词',
+  'new_keyword' => '新关键词', //cpg1.4
+  'new_keywords' => '找到新关键词', //cpg1.4
+  'existing_keyword' => '存在的关键词', //cpg1.4
+  'pic_info_str' => '%s &times; %s - %s KB - %s 次查看 - %s 次评分',
+  'approve' => '核准图片',
+  'postpone_app' => '延迟核准',
+  'del_pic' => '删除文件',
+  'del_all' => '删除全部文件', //cpg1.4
+  'read_exif' => '再次读取 EXIF 数据',
+  'reset_view_count' => '清除浏览计数器',
+  'reset_all_view_count' => '清除全部的浏览计数器', //cpg1.4
+  'reset_votes' => '清除评分',
+  'reset_all_votes' => '清除评分', //cpg1.4
+  'del_comm' => '删除留言',
+  'del_all_comm' => '删除全部留言', //cpg1.4
+  'upl_approval' => '核准上传', //cpg1.4
+  'edit_pics' => '编辑图片',
+  'see_next' => '查看下一张图片',
+  'see_prev' => '查看前一张图片',
+  'n_pic' => '%s 张图片',
+  'n_of_pic_to_disp' => '图片显示数量',
+  'apply' => '修改',
+  'crop_title' => 'CPG 图片编辑器',
+  'preview' => '预览',
+  'save' => '保存',
+  'save_thumb' =>'存成缩略图',
+  'gallery_icon' => '使用这个图示', //cpg1.4
+  'sel_on_img' =>'选择的区域必须在图片的范围内！', //js-alert
+  'album_properties' =>'相册属性', //cpg1.4
+  'parent_category' =>'母类别', //cpg1.4
+  'thumbnail_view' =>'缩略图显示', //cpg1.4
+  'select_unselect' =>'选择/反选 全部', //cpg1.4
+  'file_exists' => "目标文件 '%s' 已经存在。", //cpg1.4
+  'rename_failed' => "无法将 '%s' 改成 '%s'。", //cpg1.4
+  'src_file_missing' => "来源文件 '%s' 不存在。", // cpg 1.4
+  'mime_conv' => "无法转换文件 '%s' 到 '%s'",//cpg1.4
+  'forb_ext' => '不允许的扩展名。',//cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File faq.php
+// ------------------------------------------------------------------------- //
+
+if (defined('FAQ_PHP')) $lang_faq_php = array(
+  'faq' => '常见问题解答',
+  'toc' => '目录',
+  'question' => '问题: ',
+  'answer' => '解答: ',
+);
+
+if (defined('FAQ_PHP')) $lang_faq_data = array(
+  '问题与解答',
+  array('为什么要注册？', '管理员决定用户是否需要注册。注册成为会员可获得额外的功能，如 上传文件，有 我的最爱列表，对影像评分及发表留言 等等。', 'allow_user_registration', '1'), //cpg1.4
+  array('如何注册？', '到 &quot;注册&quot; 去填写字段内的数据 (部分字段是选填的)。<br />如果管理员开启 Email 启用功能，在你确认发送注册数据后你会收到一封认证信寄到你所填写的信箱内，里面会帮助如何启用你的会员资格。会员登录前必须先完成启用操作。', 'allow_user_registration', '1'), //cpg1.4
+  array('如何登录?', '到 &quot;登录&quot;, 填入你的会员名称及密码 且勾选 &quot;记住我&quot; 下次你再来的时候就会自动登录了.<br /><b>注意:如果你点选 &quot;记住我 Me&quot; ,Cookies 功能必须开启,且本站的cookie存在你的计算机中..</b>', 'offline', 0),
+  array('为何无法登录?', '你已经注册并启用账号了吗(回复认证邮件的连接)?. 那个连接将会启用你的账号. 其它登录问题 请联络网站管理员.', 'offline', 0),
+  array('忘记密码了怎么办 ?', '如果这个网站有 &quot;忘记密码了&quot; 的连接,就按它. 不然就联络网站管理员 请他给你一个新的密码.', 'offline', 0),
+  //array('我的email改变了怎么办 ?', '只要登录 并且到 &quot;我的个人资料&quot; 改变你的电子邮件地址就可以了', 'offline', 0),
+  array('如何把图片存到  &quot;我的最爱 &quot;?', '点选图片并且点按 &quot;影像信息&quot; 连接 (<img src="images/info.gif" width="16" height="16" border="0" alt="Picture information" />); 在影像信息设定里面按 &quot;加入我的最爱&quot;.<br />管理员可能有预设&quot;影像信息; .<br />注意:Cookies 功能必须开启,且本站的cookie存在你的计算机中.', 'offline', 0),
+  array('如何对图片评分 ?', '点按该影像缩略图,在影像底下可以点选你的评分.', 'offline', 0),
+  array('如何发表留言 ?', '点按该影像缩略图,在影像底下可以发表留言.', 'offline', 0),
+  array('如何上传图片 ?', '到 &quot;上传图片&quot;并选择你要上传到哪一个相册,按 &quot;浏览&quot; 且点选要上传的图片 按 &quot;开启&quot; (你可以加入影像标题及描述) 然后按 &quot;确认&quot;', 'allow_private_albums', 1), //cpg1.4
+  array('要将图片上传到哪里？', '你可以上传图片在 &quot;我的相册&quot;. 管理员可能允许你上传图片到主相册内.', 'allow_private_albums', 0),
+  array('哪种格式或大小的影像可以上传?', '格式跟大小 (jpg,gif,..etc.) 根据管理员的设定.', 'offline', 0),
+  array('如何新增,修改 或删除相册 从 &quot;我的相册&quot;?', '你必须在 &quot;管理模式&quot;<br />到 &quot;新增/排序 我的相册&quot;按 &quot;新增New&quot;. 改变 &quot;新相册&quot; 到你要的名称.<br />你可以对你的每一个相册重新命名.<br />按 &quot;修改;.', 'allow_private_albums', 0),
+  array('我要如何禁止其它会员看我的相册?', '你必须在 &quot;管理模式&quot;<br />到 &quot;改变我的相册. 在 &quot;更新相册&quot; 字段, 选择你要改变的相册.<br />在这里, 你可以改变相册名称 描述 缩略图 ,及限制查看 留言 评分 的权限.<br />按 &quot;更新相册&quot;.', 'allow_private_albums', 0),
+  array('如何查看其它会员的相册?', '到 &quot;相册目录&quot; 选择 &quot;会员相册&quot;.', 'allow_private_albums', 0),
+  array('什么是 cookies?', 'Cookies 是网站放在你计算机中的纪录信息的文本文件。<br />Cookies 通常让用户再次回到网站时自动登录 并记录其它设定数据.', 'offline', 0),
+  array('在哪里可以取得这个相册程序?', 'Coppermine 是基于GNU GPL的免费多媒体相册. 它是全功能的 且支持不同的平台. 请到<a href="http://coppermine-gallery.net/">Coppermine 的网站</a> 获得更多的信息 或是下载它.', 'offline', 0),
+
+  '网站导引',
+  array('什么是 &quot;相册目录 &quot;?', '这将显示整个相册 包含每一个分类. 缩略图可以连接到类别中.', 'offline', 0),
+  array('什么是 &quot;我的相册 &quot;?', '这项功能让会员建立自己的相册,可增加,删除,修改相册. 并且可上传文件到相册里.', 'allow_private_albums', 1), //cpg1.4
+  array('有什么差异在 &quot;管理模式&quot; 和 &quot;会员模式&quot;?', '这项功能, 在管理模式时, 允许会员修改他们自己的相册 (如果管理员允许的话).', 'allow_private_albums', 0),
+  array('什么是 &quot;上传图片 &quot;?', '这项功能允许会员上传影像(文件大小及格式根据管理员设定) 到指定的相册.', 'allow_private_albums', 0),
+  array('什么是 &quot;最新上传 &quot;?', '这项功能显示最新上传到相册的文件.', 'offline', 0),
+  array('什么是 &quot;最新留言 &quot;?', '这项功能会员对影像发表的最新留言.', 'offline', 0),
+  array('什么是 &quot;热门图片 &quot;?', '这项功能显示被查看最多次的影像,不论是会员或访客.', 'offline', 0),
+  array('什么是 &quot;最高评分 &quot;?', '这项功能显示会员评分最高的影像, 显示平均分数(例如: 五个会员各给一个评分 <img src="images/rating3.gif" width="65" height="14" border="0" alt="" />: 影像将有平均评分 <img src="images/rating3.gif" width="65" height="14" border="0" alt="" /> ;五个会员评分从 1 到 5 (1,2,3,4,5) 平均结果将是 <img src="images/rating3.gif" width="65" height="14" border="0" alt="" /> .)<br />评分从 <img src="images/rating5.gif" width="65" height="14" border="0" alt="best" /> (最佳) 到 <img src="images/rating0.gif" width="65" height="14" border="0" alt="worst" /> (最差).', 'offline', 0),
+  array('什么是 &quot;我的最爱 &quot;?', '这项功能让会员储存喜爱的影像,需要有cookie信息.', 'offline', 0),
+);
+
+
+// ------------------------------------------------------------------------- //
+// File forgot_passwd.php
+// ------------------------------------------------------------------------- //
+
+if (defined('FORGOT_PASSWD_PHP')) $lang_forgot_passwd_php = array(
+  'forgot_passwd' => '忘记密码',
+  'err_already_logged_in' => '您已经登录了！',
+  'enter_email' => '输入您的电子信箱', //cpg1.4
+  'submit' => '继续',
+  'illegal_session' => '忘记密码的会话(session)错误或已过期。', //cpg1.4
+  'failed_sending_email' => '忘记密码的邮件无法寄出！',
+  'email_sent' => '新账号和密码的邮件已经寄到 %s', //cpg1.4
+  'verify_email_sent' => '电子邮件已寄到 %s。请检查您的信箱进行下一步操作。', //cpg1.4
+  'err_unk_user' => '选择的会员不存在！',
+  'account_verify_subject' => '%s - 新密码申请', //cpg1.4
+  'account_verify_body' => '您已经申请了新的密码。如果要新的密码寄到您的信箱，请点下面的连接：
+
+%s', //cpg1.4
+  'passwd_reset_subject' => '%s - 您的新密码', //cpg1.4
+  'passwd_reset_body' => '这是您申请的新密码：
+账号： %s
+密码： %s
+请点 %s 登录。', //cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File groupmgr.php
+// ------------------------------------------------------------------------- //
+
+if (defined('GROUPMGR_PHP')) $lang_groupmgr_php = array(
+  'group_name' => '群', //cpg1.4
+  'permissions' => '权限', //cpg1.4
+  'public_albums' => '允许公用相册上传', //cpg1.4
+  'personal_gallery' => '私人相册', //cpg1.4
+  'upload_method' => '上传方法', //cpg1.4
+  'disk_quota' => '空间配额', //cpg1.4
+  'rating' => '评分', //cpg1.4
+  'ecards' => '电子贺卡', //cpg1.4
+  'comments' => '留言', //cpg1.4
+  'allowed' => '允许 ', //cpg1.4
+  'approval' => '审核', //cpg1.4
+  'boxes_number' => '字段数量', //cpg1.4
+  'variable' => '更改', //cpg1.4
+  'fixed' => '固定', //cpg1.4
+  'apply' => '修改',
+  'create_new_group' => '建立新群',
+  'del_groups' => '删除所选择的群',
+  'confirm_del' => '警告, 当删除了一个群, 属于该群的用户将被转移至 \'Registered\' 群中 !\n\nn确定要删除吗 ?', //js-alert
+  'title' => '管理会员群',
+  'num_file_upload' => '上传字段', //cpg1.4
+  'num_URI_upload' => 'URI 上传字段', //cpg1.4
+  'reset_to_default' => '重设为预设名称 (%s) - 建议！', //cpg1.4
+  'error_group_empty' => '群数据表没数据！<br /><br />重新建立预设群，请刷新此页面', //cpg1.4
+  'explain_greyed_out_title' => '为什么不能使用？', //cpg1.4
+  'explain_guests_greyed_out_text' => '您不能改变这个群的属性因为设定里面的 &quot;允许访客进入&quot; 是设定为 &quot;否&quot;。 全部访客 (这个群的成员 %s) 无法做除了登录以外的任何操作，所以不能改变群的设定。', //cpg1.4
+  'explain_banned_greyed_out_text' => '您不能改变这个群 %s 的属性因为它的成员无法做任何操作。', //cpg1.4
+  'group_assigned_album' => '分配的相册', //cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File index.php
+// ------------------------------------------------------------------------- //
+
+if (defined('INDEX_PHP')){
+
+$lang_index_php = array(
+  'welcome' => '欢迎 !',
+);
+
+$lang_album_admin_menu = array(
+  'confirm_delete' => '确定要删除这相册 ? \\n所有图片及留言都会被删除.', //js-alert
+  'delete' => '删除',
+  'modify' => '属性',
+  'edit_pics' => '编辑',
+);
+
+$lang_list_categories = array(
+  'home' => '相册首页',
+  'stat1' => '<b>[pictures]</b> 张影像于 <b>[albums]</b> 个相册及 <b>[cat]</b> 个类别, 有 <b>[comments]</b> 个留言, 被查看 <b>[views]</b> 次',
+  'stat2' => '<b>[pictures]</b> 张影像于 <b>[albums]</b> 个相册, 被查看 <b>[views]</b> 次',
+  'xx_s_gallery' => '%s\'s 相册',
+  'stat3' => '<b>[pictures]</b> 张影像于 <b>[albums]</b> 个相册, 有 <b>[comments]</b> 个留言, 被查看 <b>[views]</b> 次',
+);
+
+$lang_list_users = array(
+  'user_list' => '会员列表',
+  'no_user_gal' => '还没有会员相册',
+  'n_albums' => '%s 个相册',
+  'n_pics' => '%s 张影像',
+);
+
+$lang_list_albums = array(
+  'n_pictures' => '%s 张影像',
+  'last_added' => ', 最新影像于 %s',
+  'n_link_pictures' => '%s 连接的文件', //cpg1.4
+  'total_pictures' => '%s 总文件', //cpg1.4
+);
+
+}
+
+// ------------------------------------------------------------------------- //
+// File keywordmgr.php //cpg1.4
+// ------------------------------------------------------------------------- //
+
+if (defined('KEYWORDMGR_PHP')) $lang_keywordmgr_php = array(
+  'title' => '关键词管理', //cpg1.4
+  'edit' => '编辑', //cpg1.4
+  'delete' => '删除', //cpg1.4
+  'search' => '搜索', //cpg1.4
+  'keyword_test_search' => '搜索 %s 于新窗口', //cpg1.4
+  'keyword_del' => '删除关键词 %s', //cpg1.4
+  'confirm_delete' => '确定要删除相册里的关键词 %s 吗？', //cpg1.4  // js-alert
+  'change_keyword' => '改变关键词', //cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File login.php
+// ------------------------------------------------------------------------- //
+
+if (defined('LOGIN_PHP')) $lang_login_php = array(
+  'login' => '登录',
+  'enter_login_pswd' => '输入会员名称和密码',
+  'username' => '会员名称',
+  'password' => '密码',
+  'remember_me' => '记住我',
+  'welcome' => '欢迎 %s ...',
+  'err_login' => '*** 无法登录. 请重试 ***',
+  'err_already_logged_in' => '您已经登录！',
+  'forgot_password_link' => '忘记密码',
+  'cookie_warning' => '警告：您的浏览器不支持 cookies', //cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File logout.php
+// ------------------------------------------------------------------------- //
+
+if (defined('LOGOUT_PHP')) $lang_logout_php = array(
+  'logout' => '注销',
+  'bye' => '再见 %s ...',
+  'err_not_loged_in' => '您还没有登录！',
+);
+
+// ------------------------------------------------------------------------- //
+// File minibrowser.php  //cpg1.4
+// ------------------------------------------------------------------------- //
+
+if (defined('MINIBROWSER_PHP')) $lang_minibrowser_php = array(
+  'close' => '关闭', //cpg1.4
+  'submit' => 'OK', //cpg1.4
+  'up' => '上一个层次', //cpg1.4
+  'current_path' => '目前的路径', //cpg1.4
+  'select_directory' => '请选择目录', //cpg1.4
+  'click_to_close' => '点图片关闭窗口',
+);
+
+// ------------------------------------------------------------------------- //
+// File modifyalb.php
+// ------------------------------------------------------------------------- //
+
+if (defined('MODIFYALB_PHP')) $lang_modifyalb_php = array(
+  'upd_alb_n' => '更新相册 %s',
+  'general_settings' => '一般设定',
+  'alb_title' => '相册标题',
+  'alb_cat' => '相册类别',
+  'alb_desc' => '相册描述',
+  'alb_keyword' => '相册关键词', //cpg1.4
+  'alb_thumb' => '相册缩略图',
+  'alb_perm' => '相册权限',
+  'can_view' => '允许查看相册的会员',
+  'can_upload' => '访客可上传图片',
+  'can_post_comments' => '访客可发表留言',
+  'can_rate' => '访客可为图片评分',
+  'user_gal' => '会员相册',
+  'no_cat' => '* 没有类别 *',
+  'alb_empty' => '相册是空的',
+  'last_uploaded' => '最近上传',
+  'public_alb' => '任何人 (公开相册)',
+  'me_only' => '只有我',
+  'owner_only' => '只有相册拥有人 (%s) ',
+  'groupp_only' => ' \'%s\' 群的会员',
+  'err_no_alb_to_modify' => '数据库内没有您可修改的相册.',
+  'update' => '更新相册',
+  'reset_album' => '重设相册', //cpg1.4
+  'reset_views' => '清除 %s 的浏览计数到 &quot;0&quot;', //cpg1.4
+  'reset_rating' => '清除 %s 的全部评分', //cpg1.4
+  'delete_comments' => '删除 %s 里的留言', //cpg1.4
+  'delete_files' => '%s无法改变%s 的删除全部文件，在 %s 里面', //cpg1.4
+  'views' => '浏览', //cpg1.4
+  'votes' => '投票', //cpg1.4
+  'comments' => '留言', //cpg1.4
+  'files' => '文件', //cpg1.4
+  'submit_reset' => '传送改变', //cpg1.4
+  'reset_views_confirm' => '确定', //cpg1.4
+  'notice1' => '(*) 根据照 %s群%s 设定',  //cpg1.4 //(do not translate %s!)
+  'alb_password' => '相册密码', //cpg1.4
+  'alb_password_hint' => '相册的密码提示', //cpg1.4
+  'edit_files' =>'编辑文件', //cpg1.4
+  'parent_category' =>'母类别', //cpg1.4
+  'thumbnail_view' =>'缩略图显示', //cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File phpinfo.php
+// ------------------------------------------------------------------------- //
+
+if (defined('PHPINFO_PHP')) $lang_phpinfo_php = array(
+  'php_info' => 'PHP 信息',
+  'explanation' => '这是用 PHP 的函式来建立的信息 <a href="http://www.php.net/phpinfo">phpinfo()</a>，在 CPG 相册内显示 (删除右边的输出)。',
+  'no_link' => '让其它人看到您的 phpinfo 会有安全问题，所以这个信息只有在登录管理账号后才能看到。您不能将这个页面的连接给别人，他们会看不到任何信息。',
+);
+
+// ------------------------------------------------------------------------- //
+// File picmgr.php //cpg1.4
+// ------------------------------------------------------------------------- //
+if (defined('PICMGR_PHP')) $lang_picmgr_php = array(
+  'pic_mgr' => '图片管理', //cpg1.4
+  'select_album' => '选择相册', //cpg1.4
+  'delete' => '删除', //cpg1.4
+  'confirm_delete1' => '确定要删除这个图片？', //cpg1.4
+  'confirm_delete2' => '\n图片会永远被删除。', //cpg1.4
+  'apply_modifs' => '套用插件', //cpg1.4
+  'confirm_modifs' => '确定插件', //cpg1.4
+  'pic_need_name' => '图片需要名称！', //cpg1.4
+  'no_change' => '您没有做任何改变！', //cpg1.4
+  'no_album' => '* 没有相册 *', //cpg1.4
+  'explanation_header' => '这里设定的自定义排序只有在这些标准下使用', //cpg1.4
+  'explanation1' => '管理员在设定内将 "文件的预设排序" 选成 "大到小" 或 "小到大" (会员在没有设定排序下所使用的预设排序)', //cpg1.4
+  'explanation2' => '会员在缩略图显示页面里选择 "大到小" 或 "小到大"', //cpg1.4
+);
+
+
+// ------------------------------------------------------------------------- //
+// File pluginmgr.php //cpg1.4
+// ------------------------------------------------------------------------- //
+
+if (defined('PLUGINMGR_PHP')){
+
+$lang_pluginmgr_php = array(
+  'confirm_uninstall' => '确定要删除这个插件吗', //cpg1.4
+  'confirm_delete' => '确定要删除这个插件吗', //cpg1.4
+  'pmgr' => '插件管理', //cpg1.4
+  'name' => '名称', //cpg1.4
+  'author' => '作者', //cpg1.4
+  'desc' => '简介', //cpg1.4
+  'vers' => 'v', //cpg1.4
+  'i_plugins' => '安装的插件', //cpg1.4
+  'n_plugins' => '未安装的插件', //cpg1.4
+  'none_installed' => '没有安装', //cpg1.4
+  'operation' => '运作', //cpg1.4
+  'not_plugin_package' => '上传的文件不是插件组件。', //cpg1.4
+  'copy_error' => '复制插件到插件目录时发生错误。', //cpg1.4
+  'upload' => '上传', //cpg1.4
+  'configure_plugin' => '设定插件', //cpg1.4
+  'cleanup_plugin' => '清除插件', //cpg1.4
+);
+}
+
+// ------------------------------------------------------------------------- //
+// File ratepic.php
+// ------------------------------------------------------------------------- //
+
+if (defined('RATEPIC_PHP')) $lang_rate_pic_php = array(
+  'already_rated' => '抱歉, 您已经为此图片评分',
+  'rate_ok' => '您的评分已经被接受',
+  'forbidden' => '你不能对你自己的图片评分.',
+);
+
+// ------------------------------------------------------------------------- //
+// File register.php & profile.php
+// ------------------------------------------------------------------------- //
+
+if (defined('REGISTER_PHP') || defined('PROFILE_PHP')) {
+
+$lang_register_disclamer = <<<EOT
+ {SITE_NAME} 的管理员会尽快整理会引起反感的数据, 但我们不可能审查每一份文件. 因此您必需同意所有文件只是代表作者的立场及意见, 不代表管理人员的立场 (除非是由他们本身贴出) 并不负任何法律责任.<br />
+<br />
+您必需同意不可张贴任何色情, 暴力, 不良, 不正当, 不健康, 妨害国家安全, 或任何可能违法的文件.  {SITE_NAME} 人员在任何时候都有权过滤并编辑您张贴的内容. 并且会员留在本站内的数据已存在数据库中. 末经您的同意, 我们不会将您的数据转给其它人使用, 不过我们不会为任何因黑客行为而外泄的数据负任何责任.<br />
+<br />
+本站使用 cookies 在您的计算机上来储存信息. 这样是方便您更愉快浏览. 您的电子邮件地址只是让我们认证您的数据而已.<br />
+<br />
+按下 '我同意' 代表您同意以上条款.
+EOT;
+
+$lang_register_php = array(
+  'page_title' => '会员注册',
+  'term_cond' => '条款与规则',
+  'i_agree' => '我同意',
+  'submit' => '确认注册',
+  'err_user_exists' => '您所填写的会员名称已被其它会员使用, 请重选一个',
+  'err_password_mismatch' => '两个密码不合, 请重填一次',
+  'err_uname_short' => '会员名称至少需 2 个字符',
+  'err_password_short' => '密码至少需 2 个字符',
+  'err_uname_pass_diff' => '会员名称和密码不可以相同',
+  'err_invalid_email' => '电子邮件不正确',
+  'err_duplicate_email' => '这个电子邮件已经被其它会员使用',
+  'enter_info' => '输入注册数据',
+  'required_info' => '必填的资料',
+  'optional_info' => '选填的资料',
+  'username' => '会员名称',
+  'password' => '会员密码',
+  'password_again' => '确认密码',
+  'email' => '电子邮件',
+  'location' => '居住地区',
+  'interests' => '兴趣',
+  'website' => '个人网站',
+  'occupation' => '职业',
+  'error' => '错误',
+  'confirm_email_subject' => '%s - 注册认证',
+  'information' => '信息',
+  'failed_sending_email' => '所注册的电子邮件无法寄出 !',
+  'thank_you' => '感谢您的注册.<br /><br />一封含有如何启用账号的电子邮件将会送到您所提供的信箱.',
+  'acct_created' => '您的账号已经建立, 现在您可以登录',
+  'acct_active' => '您的账号已经启用, 现在您可以登录',
+  'acct_already_act' => '账号已经启用！',
+  'acct_act_failed' => '此账号无法启用！',
+  'err_unk_user' => '所选择的会员并不存在！',
+  'x_s_profile' => '%s\'的个人资料',
+  'group' => '群',
+  'reg_date' => '加入日期',
+  'disk_usage' => '磁盘使用量',
+  'change_pass' => '修改密码',
+  'current_pass' => '目前的密码',
+  'new_pass' => '新密码',
+  'new_pass_again' => '确认新密码',
+  'err_curr_pass' => '目前的密码不正确',
+  'apply_modif' => '修改',
+  'change_pass' => '修改密码',
+  'update_success' => '你的个人资料已经更新',
+  'pass_chg_success' => '你的密码已经修改',
+  'pass_chg_error' => '你的密码没有修改',
+  'notify_admin_email_subject' => '%s - 注册通知',
+  'last_uploads' => '最新的上传。<br />浏览全部此会员的上传', //cpg1.4
+  'last_comments' => '最新的留言。<br />浏览全部此会员的留言', //cpg1.4
+  'notify_admin_email_body' => '新会员 "%s" 已经在您的相册注册',
+  'pic_count' => '上传的文件', //cpg1.4
+  'notify_admin_request_email_subject' => '%s - 注册要求', //cpg1.4
+  'thank_you_admin_activation' => '谢谢。<br /><br />您的注册要求已经寄给管理员。通过认证后会通知您。', //cpg1.4
+  'acct_active_admin_activation' => '账号已经启用，通知信件已经寄给会员。', //cpg1.4
+  'notify_user_email_subject' => '%s - 启用通知', //cpg1.4
+);
+
+$lang_register_confirm_email = <<<EOT
+感谢您在 {SITE_NAME} 的注册
+
+请到下面的网址起用您的账号名称 "{USER_NAME}"。
+
+<a href="{ACT_LINK}">{ACT_LINK}</a>
+
+敬启，
+
+{SITE_NAME} 管理小组
+
+EOT;
+
+$lang_register_approve_email = <<<EOT
+A new user with the username "{USER_NAME}" has registered in your gallery.
+
+In order to activate the account, you need to click on the link below or copy and paste it in your web browser.
+
+<a href="{ACT_LINK}">{ACT_LINK}</a>
+
+EOT;
+
+$lang_register_activated_email = <<<EOT
+您的账号已经审核完毕，也已经启用。
+
+您现在可以到 <a href="{SITE_LINK}">{SITE_LINK}</a> 登录，用账号名称 "{USER_NAME}"
+
+
+敬启，
+
+{SITE_NAME} 管理小组
+
+EOT;
+}
+
+// ------------------------------------------------------------------------- //
+// File reviewcom.php
+// ------------------------------------------------------------------------- //
+
+if (defined('REVIEWCOM_PHP')) $lang_reviewcom_php = array(
+  'title' => '查看留言',
+  'no_comment' => '还没有留言可以查看',
+  'n_comm_del' => '%s 个留言已删除',
+  'n_comm_disp' => '显示的留言数量',
+  'see_prev' => '看前一个',
+  'see_next' => '看下一个',
+  'del_comm' => '删除所选的留言',
+  'user_name' => '名称', //cpg1.4
+  'date' => '日期', //cpg1.4
+  'comment' => '留言', //cpg1.4
+  'file' => '文件', //cpg1.4
+  'name_a' => '名称小到大', //cpg1.4
+  'name_d' => '名称大到小', //cpg1.4
+  'date_a' => '日期小到大', //cpg1.4
+  'date_d' => '日期大到小', //cpg1.4
+  'comment_a' => '留言小到大', //cpg1.4
+  'comment_d' => '留言大到小', //cpg1.4
+  'file_a' => '文件小到大', //cpg1.4
+  'file_d' => '文件大到小', //cpg1.4
+);
+
+
+// ------------------------------------------------------------------------- //
+// File search.php   
+// ------------------------------------------------------------------------- //
+
+
+if (defined('SEARCH_PHP')){
+
+$lang_search_php = array(
+  'title' => '搜索文件仓库', //cpg1.4
+  'submit_search' => '搜索', //cpg1.4
+  'keyword_list_title' => '关键词列表', //cpg1.4
+  'keyword_msg' => '上面的列表不包括图片标题或简介。试着用全文搜索。',  //cpg1.4
+  'edit_keywords' => '编辑关键词', //cpg1.4
+  'search in' => '搜索：', //cpg1.4
+  'ip_address' => 'IP 位置', //cpg1.4
+  'fields' => '搜索', //cpg1.4
+  'age' => '年龄', //cpg1.4
+  'newer_than' => '日期之后', //cpg1.4
+  'older_than' => '日期之前', //cpg1.4
+  'days' => '天', //cpg1.4
+  'all_words' => '包含完整字词 (AND)', //cpg1.4
+  'any_words' => '包含任何字词 (OR)', //cpg1.4
+);
+
+$lang_adv_opts = array(
+  'title' => '名称', //cpg1.4
+  'caption' => '标题', //cpg1.4
+  'keywords' => '关键词', //cpg1.4
+  'owner_name' => '作者', //cpg1.4
+  'filename' => '文件名', //cpg1.4
+);
+
+}
+
+// ------------------------------------------------------------------------- //
+// File searchnew.php
+// ------------------------------------------------------------------------- //
+
+if (defined('SEARCHNEW_PHP')) $lang_search_new_php = array(
+  'page_title' => '搜索新图片',
+  'select_dir' => '选择目录',
+  'select_dir_msg' => '本功能可以让你用 FTP 上传整批的图片。<br /><br />请选择已上传图片的目录。', //cpg1.4
+  'no_pic_to_add' => '没有图片可以加入',
+  'need_one_album' => '使用此功能必需至少要有一个相册',
+  'warning' => '警告',
+  'change_perm' => '程序无法写入这个目录, 请修改权限至 755 或 777 后再试一次 !',
+  'target_album' => '<b>把图片由 &quot;</b>%s<b>&quot; 放到 </b>%s',
+  'folder' => '资料夹',
+  'image' => '图片',
+  'album' => '相册',
+  'result' => '结果',
+  'dir_ro' => '无法写入. ',
+  'dir_cant_read' => '无法读取. ',
+  'insert' => '新增图片至相册',
+  'list_new_pic' => '新图片列表',
+  'insert_selected' => '加入所选择的图片',
+  'no_pic_found' => '没有找到新图片',
+  'be_patient' => '请耐心等候, 程序需要一点时间来加入所选图片',
+  'no_album' => '没有选择的相册',
+  'result_icon' => '浏览细节或刷新',  //cpg1.4
+  'notes' =>  '<ul>'.
+                          '<li><b>OK</b> : 表示图片已成功被加入'.
+                          '<li><b>DP</b> : 表示图片重复或已存在数据库'.
+                          '<li><b>PB</b> : 表示图片无法加入, 请检查设定或图片存放目录的权限'.
+                          '<li><b>NA</b> : 表示你还没有选择图片的相册, 按 \'<a href="javascript:history.back(1)">返回</a>\' 并选择相册. 如果你没有相册 <a href="albmgr.php">请先建立一个</a></li>'.
+                          '<li>如果 OK, DP, PB \'符号\' 没有显示请点那个红色叉的图片查看 PHP 显示的错误信息'.
+                          '<li>如果浏览器超时, 请按刷新按钮'.
+                          '</ul>',
+  'select_album' => '选择相册',
+  'check_all' => '全选',
+  'uncheck_all' => '都不选',
+  'no_folders' => '"albums" 目录内没有其它目录。请建立最少一个目录到 "albums" 里面，然后上传您的图片。您不能上传图片到 "userpics" 或 "edit" 目录，它们的用途是给 CPG 软件和 http 的上传功能。', //cpg1.4
+   'albums_no_category' => '相册没有类别', //cpg1.4 // album pulldown mod, added by frogfoot
+  'personal_albums' => '* 私人相册', //cpg1.4 // album pulldown mod, added by frogfoot
+  'browse_batch_add' => '可浏览接口 (建议使用)（不支持时请选否）', //cpg1.4
+  'edit_pics' => '编辑文件', //cpg1.4
+  'edit_properties' => '相册属性', //cpg1.4
+  'view_thumbs' => '缩略图显示', //cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File stat_details.php //cpg1.4
+// ------------------------------------------------------------------------- //
+
+if (defined('STAT_DETAILS_PHP')) $lang_stat_details_php = array(
+  'show_hide' => '显示/隐藏 此字段', //cpg1.4
+  'vote' => '投票细节', //cpg1.4
+  'hits' => '浏览细节', //cpg1.4
+  'stats' => '投票统计', //cpg1.4
+  'sdate' => '日期', //cpg1.4
+  'rating' => '评分', //cpg1.4
+  'search_phrase' => '搜索字', //cpg1.4
+  'referer' => '来源', //cpg1.4
+  'browser' => '浏览器', //cpg1.4
+  'os' => '操作系统', //cpg1.4
+  'ip' => 'IP', //cpg1.4
+  'sort_by_xxx' => '排序 %s', //cpg1.4
+  'ascending' => '小到大', //cpg1.4
+  'descending' => '大到小', //cpg1.4
+  'internal' => '内部', //cpg1.4
+  'close' => '关闭', //cpg1.4
+  'hide_internal_referers' => '隐藏内部的来源', //cpg1.4
+  'date_display' => '日期显示', //cpg1.4
+  'submit' => '传送 / 刷新', //cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File thumbnails.php
+// ------------------------------------------------------------------------- //
+
+// Void
+
+// ------------------------------------------------------------------------- //
+// File upload.php
+// ------------------------------------------------------------------------- //
+
+if (defined('UPLOAD_PHP')) $lang_upload_php = array(
+  'title' => '上传文件',
+  'custom_title' => '上传选项表',
+  'cust_instr_1' => '你可以从下列 选择一个上传框 进行上传.',
+  'cust_instr_2' => '选择上传框号',
+  'cust_instr_3' => '文件上传框: %s',
+  'cust_instr_4' => 'URI/URL 上传框: %s',
+  'cust_instr_5' => 'URI/URL 上传框:',
+  'cust_instr_6' => '文件上传框:',
+  'cust_instr_7' => '请输入您目前需要的 每一种上传框的数量. 然后按 \'继续\'. ',
+  'reg_instr_1' => '无效的选项表操作.',
+  'reg_instr_2' => '现在你可以用以下的上传框上传你的文件，每一个文件的大小不可以超过 %s KB . ZIP 文件上传在 \'文件上传\' 和 \'URI/URL 上传\' 区 .',
+  'reg_instr_3' => '如果你要上传压缩文件或要解压缩, 必须使用文件上传框 \'解压缩ZIP 上传\' 区.',
+  'reg_instr_4' => '如果选择以 URI/URL 上传, 请输入文件连接路径 如: http://www.mysite.com/images/example.jpg',
+  'reg_instr_5' => '完成选项表后,请按 \'继续\'.',
+  'reg_instr_6' => '解压缩ZIP 上传:',
+  'reg_instr_7' => '文件 上传:',
+  'reg_instr_8' => 'URI/URL 上传:',
+  'error_report' => '错误报告',
+  'error_instr' => '下列上传遇到错误:',
+  'file_name_url' => '文件 名称/URL',
+  'error_message' => '错误信息',
+  'no_post' => '文件没有被上传。',
+  'forb_ext' => '不允许的扩展名。',
+  'exc_php_ini' => '文件超过php.ini允许的大小。',
+  'exc_file_size' => '文件超过CPG允许的大小。',
+  'partial_upload' => '只有部分上传。',
+  'no_upload' => '没有上传。',
+  'unknown_code' => '未知的 PHP 上传错误。',
+  'no_temp_name' => '没有上传 - 无暂存文件名。',
+  'no_file_size' => '没有内容',
+  'impossible' => '无法移动。',
+  'not_image' => '这不是标准影像文件',
+  'not_GD' => '这不是 GD 扩展名。',
+  'pixel_allowance' => '影像尺寸太大了。',
+  'incorrect_prefix' => '不正确的 URI/URL 前导符',
+  'could_not_open_URI' => '无法开启URI。',
+  'unsafe_URI' => '安全性未被认证。',
+  'meta_data_failure' => '转换数据失败',
+  'http_401' => '401 未被授权浏览',
+  'http_402' => '402 此处需付费浏览',
+  'http_403' => '403 目前此处关闭禁止浏览',
+  'http_404' => '404 服务器没有回应',
+  'http_500' => '500 内部服务器错误',
+  'http_503' => '503 服务器等待过久 停止服务',
+  'MIME_extraction_failure' => '无法确认 MIME。',
+  'MIME_type_unknown' => '未知的 MIME 类型',
+  'cant_create_write' => '无法写入新增文件。',
+  'not_writable' => '无法读写。',
+  'cant_read_URI' => '无法读取 URI/URL',
+  'cant_open_write_file' => '无法开启文件。',
+  'cant_write_write_file' => '无法读写文件。',
+  'cant_unzip' => '无法解压缩。',
+  'unknown' => '未知的错误',
+  'succ' => '成功上传',
+  'success' => '%s 上传已经完成。',
+  'add' => '请按 \'继续\' 增加文件到相册。',
+  'failure' => '上传失败',
+  'f_info' => '文件信息',
+  'no_place' => '先前的文件无法被配置。',
+  'yes_place' => '先前的文件已经配置完成。',
+  'max_fsize' => '最大允许文件大小是 %s KB',
+  'album' => '相册',
+  'picture' => '图片',
+  'pic_title' => '图片标题',
+  'description' => '图片描述',
+  'keywords' => '关键词 (以空格区隔)<br /><a href="#" onClick="return MM_openBrWindow(\'keyword_select.php\',\'selectKey\',\'width=250, height=400, scrollbars=yes,toolbar=no,status=yes,resizable=yes\')">从列表输入</a>', //cpg1.4
+  'keywords_sel' =>'选择关键词', //cpg1.4
+  'err_no_alb_uploadables' => '目前尚未有相册可以上传图片',
+  'place_instr_1' => '请将图片放到相册，然后输入这个文件的相关信息。',
+  'place_instr_2' => '更多的图片需要配置。请按 \'继续\'。',
+  'process_complete' => '恭喜，您已经成功的将全部文件上传了。',
+   'albums_no_category' => '相册没有类别', //cpg1.4. //album pulldown mod, added by frogfoot
+  'personal_albums' => '* 私人相册', //cpg1.4 //album pulldown mod, added by frogfoot
+  'select_album' => '选择相册', //cpg1.4 //album pulldown mod, added by frogfoot
+  'close' => '关闭', //cpg1.4
+  'no_keywords' => '抱歉，没可用的关键词！', //cpg1.4
+  'regenerate_dictionary' => '重新建立字库', //cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File usermgr.php
+// ------------------------------------------------------------------------- //
+
+if (defined('USERMGR_PHP')) $lang_usermgr_php = array(
+  'memberlist' => '会员名单', //cpg1.4
+  'user_manager' => '会员管理', //cpg1.4
+  'title' => '管理会员',
+  'name_a' => '名称 由小至大',
+  'name_d' => '名称 由大至小',
+  'group_a' => '群 由小至大',
+  'group_d' => '群 由大至小',
+  'reg_a' => '注册日期 由远至近',
+  'reg_d' => '注册日期 由近至远',
+  'pic_a' => '图片数 由小至大',
+  'pic_d' => '图片数 由大至小',
+  'disku_a' => '磁盘用量 由小至大',
+  'disku_d' => '磁盘用量 由大至小',
+  'lv_a' => '最近来访 由近至远',
+  'lv_d' => '最近来访 由远至近',
+  'sort_by' => '会员排序根据',
+  'err_no_users' => '会员数据表是空的 !',
+  'err_edit_self' => '您无法编辑您的个人数据, 请利用 \'我的个人数据\' 来编辑',
+  'edit' => '编辑', //cpg1.4
+  'with_selected' => '选项操作：', //cpg1.4
+  'delete' => '删除', //cpg1.4
+  'delete_files_no' => '保留文件 (不提供来源)', //cpg1.4
+  'delete_files_yes' => '删除全部文件', //cpg1.4
+  'delete_comments_no' => '保留留言 (不提供来源)', //cpg1.4
+  'delete_comments_yes' => '删除全部留言', //cpg1.4
+  'activate' => '启用', //cpg1.4
+  'deactivate' => '停用', //cpg1.4
+  'reset_password' => '重设密码', //cpg1.4
+  'change_primary_membergroup' => '改变主要群', //cpg1.4
+  'add_secondary_membergroup' => '改变额外群', //cpg1.4
+  'name' => '会员名称',
+  'group' => '群',
+  'inactive' => '未启动',
+  'operations' => '操作',
+  'pictures' => '图片',
+  'disk_space_used' => '空间用量', //cpg1.4
+  'disk_space_quota' => '空间配额', //cpg1.4
+  'registered_on' => '注册', //cpg1.4
+  'last_visit' => '最近来访',
+  'u_user_on_p_pages' => '%d 个会员于 %d 页',
+  'confirm_del' => '确定要删除这个会员吗? \\n所有他的相册及图片都会被删除.', //js-alert
+  'mail' => '电子邮件',
+  'err_unknown_user' => '所选择的会员并不存在 !',
+  'modify_user' => '编辑会员',
+  'notes' => '注意',
+  'note_list' => '<li>如果不想改变目前的密码, 请将 "密码" 位留下空白',
+  'password' => '密码',
+  'user_active' => '会员已启动',
+  'user_group' => '会员群',
+  'user_email' => '会员电子邮件',
+  'user_web_site' => '会员网站',
+  'create_new_user' => '建立新会员',
+  'user_location' => '会员地区',
+  'user_interests' => '会员兴趣',
+  'user_occupation' => '会员职业',
+  'user_profile1' => '$user_profile1', //cpg1.4
+  'user_profile2' => '$user_profile2', //cpg1.4
+  'user_profile3' => '$user_profile3', //cpg1.4
+  'user_profile4' => '$user_profile4', //cpg1.4
+  'user_profile5' => '$user_profile5', //cpg1.4
+  'user_profile6' => '$user_profile6', //cpg1.4
+  'latest_upload' => '最新上传',
+  'never' => '从未有',
+  'search' => '会员搜索', //cpg1.4
+  'submit' => '传送', //cpg1.4
+  'search_submit' => '继续！', //cpg1.4
+  'search_result' => '搜索结果： ', //cpg1.4
+  'alert_no_selection' => '您必须选择至少一个会员！', //cpg1.4 //js-alert
+  'password' => '密码', //cpg1.4
+  'select_group' => '选择群', //cpg1.4
+  'groups_alb_access' => '群的相册权限', //cpg1.4
+  'album' => '相册', //cpg1.4
+  'category' => '类别', //cpg1.4
+  'modify' => '修改？', //cpg1.4
+  'group_no_access' => '这个群无特殊权限', //cpg1.4
+  'notice' => '通知', //cpg1.4
+  'group_can_access' => '只有 "%s" 可以进入这个相册', //cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File util.php
+// ------------------------------------------------------------------------- //
+
+if (defined('UTIL_PHP')) {
+$lang_util_desc_php = array(
+'以文件名更新标题', //cpg1.4
+'删除标题', //cpg1.4
+'重新建立缩略图和调整尺寸', //cpg1.4
+'用调整过的尺寸覆盖并删除原始的图片', //cpg1.4
+'删除原始或中级图片', //cpg1.4
+'删除零散的留言', //cpg1.4
+'重新读取文件大小和尺寸 (如果您手动编辑图片)', //cpg1.4
+'清除浏览计数器', //cpg1.4
+'显示 phpinfo', //cpg1.4
+'更新数据库', //cpg1.4
+'显示记录文件', //cpg1.4
+);
+$lang_util_php = array(
+  'title' => '管理工具 (重设尺寸)',
+  'what_it_does' => '功能',
+  'file' => '文件',
+  'problem' => '问题', //cpg1.4
+  'status' => '状态', //cpg1.4
+  'title_set_to' => '标题改变为',
+  'submit_form' => '确认',
+  'updated_succesfully' => '更新 已经完成',
+  'error_create' => '产生错误',
+  'continue' => '继续执行其它的影像',
+  'main_success' => '文件 %s 已设为主图', 
+  'error_rename' => '错误 %s 改名为 %s', 
+  'error_not_found' => '找不到文件 %s ',
+  'back' => '回主页',
+  'thumbs_wait' => '更新缩略图 且/或 调整影像尺寸, 请稍待...',
+  'thumbs_continue_wait' => '继续 更新缩略图 且/或 调整影像尺寸...',
+  'titles_wait' => '更新标题, 请稍待...',
+  'delete_wait' => '删除标题, 请稍待...',
+  'replace_wait' => '重新调整后的图片将 取代原有的图片中, 请稍待...',
+  'instruction' => '简易操作帮助',
+  'instruction_action' => '请选择操作',
+  'instruction_parameter' => '设定参数',
+  'instruction_album' => '选择相册',
+  'instruction_press' => '请按 %s',
+  'update' => '更新缩略图 且/或 调整图片大小',
+  'update_what' => '要更新什么',
+  'update_thumb' => '只有缩略图',
+  'update_pic' => '只调整图片大小',
+  'update_both' => '更新缩略图且调整图片尺寸',
+  'update_number' => '每点选一次要处理的图片数目',
+  'update_option' => '(如果您遇到操作程序超时的问题，请试着降低此设定)',
+  'filename_title' => '文件名称 &rArr; 图片标题',
+  'filename_how' => '如何修改文件名', 
+  'filename_remove' => '删除 .jpg 并将 _ (底线) 用空格取代', 
+  'filename_euro' => '将 2003_11_23_13_20_20.jpg 改为 23/11/2003 13:20', 
+  'filename_us' => '将 2003_11_23_13_20_20.jpg 改为 11/23/2003 13:20', 
+  'filename_time' => '将 2003_11_23_13_20_20.jpg 改为 13:20', 
+  'delete' => '删除图片标题或原始尺寸的图片',
+  'delete_title' => '删除图片标题',
+  'delete_title_explanation' => '这会在您要的相册内删除文件标题。', //cpg1.4
+  'delete_original' => '删除原始尺寸的图片',
+  'delete_original_explanation' => '这会删除原始尺寸的图片。', //cpg1.4
+  'delete_intermediate' => '删除中级图片', //cpg1.4
+  'delete_intermediate_explanation' => '这会删除中级 (normal) 图片。<br />用这个功能来清除主机空间，如果您在设定内关闭了 \'建立中级图片\'。', //cpg1.4
+  'delete_replace' => '删除原始尺寸的图片并以调整尺寸的图片取代',
+  'titles_deleted' => '选择相册内的标题已删除', //cpg1.4
+  'deleting_intermediates' => '删除中级图片，请稍待...', //cpg1.4
+  'searching_orphans' => '搜索零散的数据，请稍待...', //cpg1.4
+  'select_album' => '选择相册',
+  'delete_orphans' => '删除零散的留言', //cpg1.4
+  'delete_orphans_explanation' => '这会删除已经被删除的图片里的留言。<br />检查全部相册。', //cpg1.4
+  'refresh_db' => '更新文件尺寸和大小信息', //cpg1.4
+  'refresh_db_explanation' => '这会重新读取文件的大小和尺寸。用这个功能如果空间的配额有错误，或您有手动修改图片。', //cpg1.4
+  'reset_views' => '清除浏览计数器', //cpg1.4
+  'reset_views_explanation' => '这会在选择的相册内重设浏览次数到 0。', //cpg1.4
+  'orphan_comment' => '发现零散的留言',
+  'delete' => '删除',
+  'delete_all' => '全部删除',
+  'delete_all_orphans' => '全部删除？', //cpg1.4
+  'comment' => '留言： ',
+  'nonexist' => '根据附于不存在的文件 # ',
+  'phpinfo' => '显示 phpinfo',
+  'phpinfo_explanation' => '包含了主机的信息。<br /> - 寻求支持时可能会被要求提供里面的数据。', //cpg1.4
+  'update_db' => '更新数据库',
+  'update_db_explanation' => '如果妳有更新 CPG 文件，加入修改或由以前的版本升级，请确定执行一次数据库更新。这会在 CPG 的数据库新增必要的数据表及/或设定值。',
+  'view_log' => '浏览记录文件', //cpg1.4
+  'view_log_explanation' => 'CPG 可以记录一些会员的操作。您可以浏览这些记录如果您有在 <a href="admin.php">设定</a> 里开启记录的功能。', //cpg1.4
+  'versioncheck' => '检查版本', //cpg1.4
+  'versioncheck_explanation' => '显查文件的版本，看是否有完全更新成功。您也可以检查 CPG 主程序的最新版本。', //cpg1.4
+  'bridgemanager' => '整合管理', //cpg1.4
+  'bridgemanager_explanation' => '开启/关闭 整合到其它软件 (例如论坛)。', //cpg1.4
+);
+}
+
+// ------------------------------------------------------------------------- //
+// File versioncheck.php //cpg1.4
+// ------------------------------------------------------------------------- //
+
+if (defined('VERSIONCHECK_PHP')) $lang_versioncheck_php = array(
+  'title' => '检查版本', //cpg1.4
+  'what_it_does' => '这个页面是对刚更新相册的管理员设定。这个程序会检查您安装的版本是否跟 CPG 的在线仓库 (http://coppermine.sourceforge.net) 里的版本相同。<br />如果需要修改会显示红色。黄色表示需要检查。绿色或者预设颜色表示没问题。<br />详情请点帮助图示。', //cpg1.4
+  'online_repository_unable' => '无法连接到在线仓库', //cpg1.4
+  'online_repository_noconnect' => 'CPG 无法连接到在线仓库。可能有两种原因：', //cpg1.4
+  'online_repository_reason1' => '在线仓库有问题 - 请检查您是否能到这个网页： %s - 如果不能请稍待重试。', //cpg1.4
+  'online_repository_reason2' => '主机里的 PHP 的设定有把 %s 关闭 (默认值是开启)。如果是您自己的主机，请在 <i>php.ini</i> 里将此设定开启 (或者允许强制覆盖 %s)。如果您的主机是买的，很抱歉，您可以无法使用这项功能。这个页面就只会显示下载的文件版本 - 更新的版本不会显示。', //cpg1.4
+  'online_repository_skipped' => '连接到在线仓库暂停', //cpg1.4
+  'online_repository_to_local' => '系统目前是使用主机内的文件版本。这里显示的数据可能不正确如果你更新或未完全上传 CPG 的文件。', //cpg1.4
+  'local_repository_unable' => '无法连接到主机仓库', //cpg1.4
+  'local_repository_explanation' => 'CPG 无法连接到您主机内的仓库文件 %s。这可能表示您还未上传仓库文件到您的主机。请现在上传然后重新执行这个页面 (刷新网页)。<br />如果无法执行，您的主机可能关闭了一些 <a href="http://www.php.net/manual/en/ref.filesystem.php">PHP 的文件系统</a>。如果是这个原因，很抱歉您不能使用这项功能。', //cpg1.4
+  'coppermine_version_header' => '安装的 CPG 版本', //cpg1.4
+  'coppermine_version_info' => '您目前安装的是： %s', //cpg1.4
+  'coppermine_version_explanation' => '如果您认为您安装的不是这个版本，请确定您上传的是最新的 <i>include/init.inc.php</i> 文件', //cpg1.4
+  'version_comparison' => '比较文件', //cpg1.4
+  'folder_file' => '目录/文件', //cpg1.4
+  'coppermine_version' => 'CPG 版本', //cpg1.4
+  'file_version' => '文件版本', //cpg1.4
+  'webcvs' => '在线 CVS', //cpg1.4
+  'writable' => '可擦写', //cpg1.4
+  'not_writable' => '不可擦写', //cpg1.4
+  'help' => '帮助', //cpg1.4
+  'help_file_not_exist_optional1' => '目录/文件不存在', //cpg1.4
+  'help_file_not_exist_optional2' => '目录/文件 %s 不存在于您的主机内。虽然可以不用，但是建议您如果有遇到问题请将它上传 (用 FTP)。', //cpg1.4
+  'help_file_not_exist_mandatory1' => '目录/文件不存在', //cpg1.4
+  'help_file_not_exist_mandatory2' => '目录/文件 %s 不存在于您的主机内。您必须将它上传。请用 FPT 软件将文件上传到您的主机内。', //cpg1.4
+  'help_no_local_version1' => '没有主机版本', //cpg1.4
+  'help_no_local_version2' => '系统无法取得主机内的文件版本 - 您的文件可能过时或已被修改过。建议您更新文件。', //cpg1.4
+  'help_local_version_outdated1' => '主机版本过时', //cpg1.4
+  'help_local_version_outdated2' => '您的文件可能是旧的 CPG 程序文件 (可能更新时忘了步骤)。请确定更新这个文件。', //cpg1.4
+  'help_local_version_na1' => '无法取得 CVS 文件版本', //cpg1.4
+  'help_local_version_na2' => '系统无法取得主机内的 CVS 版本。请重新上传文件。', //cpg1.4
+  'help_local_version_dev1' => '开发版本', //cpg1.4
+  'help_local_version_dev2' => '文件看起来比您使用的 CPG 版本还高。您可能用的是开发版本 (不建议使用)，或在更新时忘了上传 include/init.inc.php', //cpg1.4
+  'help_not_writable1' => '目录无法读写', //cpg1.4
+  'help_not_writable2' => '改变文件的权限 (CHMOD) 到可擦写目录 %s，及里面的全部文件。', //cpg1.4
+  'help_writable1' => '目录可擦写', //cpg1.4
+  'help_writable2' => '目录 %s 可以读写。可能有安全问题，CPG 只需要读取跟执行这个目录。', //cpg1.4
+  'help_writable_undetermined' => 'CPG 无法确定这个目录是否可擦写。', //cpg1.4
+  'your_file' => '您的文件', //cpg1.4
+  'reference_file' => '参照文件', //cpg1.4
+  'summary' => '概括', //cpg1.4
+  'total' => '总文件/目录检查完毕', //cpg1.4
+  'mandatory_files_missing' => '必需文件不存在', //cpg1.4
+  'optional_files_missing' => '非必需文件不存在', //cpg1.4
+  'files_from_older_version' => '旧版本文件', //cpg1.4
+  'file_version_outdated' => '旧文件版本', //cpg1.4
+  'error_no_data' => '系统有错误，无法取得任何信息。', //cpg1.4
+  'go_to_webcvs' => '到 %s', //cpg1.4
+  'options' => '选项', //cpg1.4
+  'show_optional_files' => '显示非必须文件/目录', //cpg1.4
+  'show_mandatory_files' => '显示必要文件', //cpg1.4
+  'show_file_versions' => '显示文件版本', //cpg1.4
+  'show_errors_only' => '显示有错误的文件/目录', //cpg1.4
+  'show_permissions' => '显示目录权限', //cpg1.4
+  'show_condensed_output' => '显示压缩的输出数据', //cpg1.4
+  'coppermine_in_webroot' => 'CPG 安装于 webroot', //cpg1.4
+  'connect_online_repository' => '试着连接到在线仓库', //cpg1.4
+  'show_additional_information' => '显示额外信息', //cpg1.4
+  'no_webcvs_link' => '不显示在线 CVS 连接', //cpg1.4
+  'stable_webcvs_link' => '显示在线 CVS 给正式版本', //cpg1.4
+  'devel_webcvs_link' => '显示在线 CVS 给开发版本', //cpg1.4
+  'submit' => '套用改变/刷新', //cpg1.4
+  'reset_to_defaults' => '重设为默认值', //cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File view_log.php  //cpg1.4
+// ------------------------------------------------------------------------- //
+
+if (defined('VIEWLOG_PHP')) $lang_viewlog_php = array(
+  'delete_all' => '删除全部记录', //cpg1.4
+  'delete_this' => '删除这个记录', //cpg1.4
+  'view_logs' => '浏览记录', //cpg1.4
+  'no_logs' => '没有记录。', //cpg1.4
+);
+
+
+// ------------------------------------------------------------------------- //
+// File xp_publish.php //cpg1.4
+// ------------------------------------------------------------------------- //
+
+if (defined('XP_PUBLISH_PHP')) {
+
+$lang_xp_publish_client = <<<EOT
+<h1>XP Web 发布软件</h1><p>这个模块可以让您使用 <b>Windows XP</b> 的发表功能。</p><p>程序代码是照此篇文章帮助，作者是
+EOT;
+
+$lang_xp_publish_required = <<<EOT
+<h2>需要什么？</h2><ul><li>必须要有 Windows XP。</li><li>安装好的 CPG 相册，<b>而且上传功能可运作。</b></li></ul><h2>如何安装</h2><ul><li>按右键于
+EOT;
+
+$lang_xp_publish_select = <<<EOT
+选择 &quot;储存文件..&quot;。然后将文件储存在您的硬盘。储存时记得文件名必须是 <b>cpg_###.reg</b> (### 代表日期的数字)。您可以改变名称 (不要改数字)。下载完后，执行那个文件可以让您的主机使用发表功能。</li></ul>
+EOT;
+
+$lang_xp_publish_testing = <<<EOT
+<h2>测试</h2><ul><li>在 Windows 资源管理器，选一些文件然后在左边点 <b>将这个文件发布到 Web</b>。</li><li>检查您所选的文件，然后点 <b>Next</b>。</li><li>在出现的列表内选 CPG 相册的服务 (会以您的相册名称显示)。如果没有显示相册的服务，检查是否像上面描述的安装成功 <b>cpg_pub_wizard.reg</b>。</li><li>必要时输入您的账号数据。</li><li>然后选择要放图片的相册，或新建相册。</li><li>之后点 <b>next</b>。接下来会开始上传您的图片。</li><li>完成后到您的相册内检查是否上传完毕。</li></ul>
+EOT;
+
+$lang_xp_publish_notes = <<<EOT
+<h2>注意：</h2><ul><li>当正在上传时，发表功能不会显示任何错误信息，所以不能知道上传有没有成功，直到您检查相册。</li><li>如果上传没成功，在设定页面内开启 &quot;除错模式&quot;，试着上传一个图片然后检查错误信息在
+EOT;
+
+$lang_xp_publish_flood = <<<EOT
+CPG 目录内的文件。</li><li>为了避免用发表功能一次上传太多图片，只有 <b>相册管理员</b> 和 <b>可以有自己相册的会员</b> 可以用这个功能。</li>
+EOT;
+
+
+
+$lang_xp_publish_php = array(
+  'title' => 'CPG - XP Web 发表功能', //cpg1.4
+  'welcome' => '欢迎到 <b>%s</b>,', //cpg1.4
+  'need_login' => '您必须先用浏览器登录到相册内才能使用这个功能。<p/><p>登录后记得点选 <b>记得我</b> 选项。', //cpg1.4
+  'no_alb' => '抱歉，目前没有可以用发表功能上传图片的相册。', //cpg1.4
+  'upload' => '上传图片到相册', //cpg1.4
+  'create_new' => '新建相册', //cpg1.4
+  'album' => '相册', //cpg1.4
+  'category' => '类别', //cpg1.4
+  'new_alb_created' => '您的相册 &quot;<b>%s</b>&quot; 已经新建', //cpg1.4
+  'continue' => '按 &quot;Next&quot; 开始上传图片', //cpg1.4
+  'link' => '这个连接', //cpg1.4
+);
+}
+?>
diff -x .svn -aruN 1.4.24.src/lang/croatian.php 1.4.25.src/lang/croatian.php
--- 1.4.24.src/lang/croatian.php	2009-05-25 15:01:17.000000000 -0500
+++ 1.4.25.src/lang/croatian.php	2009-05-26 11:25:40.000000000 -0500
@@ -10,7 +10,7 @@
   as published by the Free Software Foundation.
 
   ********************************************
-  Coppermine version: 1.4.24
+  Coppermine version: 1.4.25
   $Source$
   $Revision: 4392 $
   $Author: gaugau $
diff -x .svn -aruN 1.4.24.src/lang/czech.php 1.4.25.src/lang/czech.php
--- 1.4.24.src/lang/czech.php	2009-05-25 15:01:17.000000000 -0500
+++ 1.4.25.src/lang/czech.php	2009-05-26 11:25:40.000000000 -0500
@@ -1,2113 +1,2113 @@
-<?php
-/*************************
-  Coppermine Photo Gallery
-  ************************
-  Copyright (c) 2003-2009 Coppermine Dev Team
-  v1.1 originally written by Gregory DEMAR
-
-  This program is free software; you can redistribute it and/or modify
-  it under the terms of the GNU General Public License version 3
-  as published by the Free Software Foundation.
-  
-  ********************************************
-  Coppermine version: 1.4.24
-  $HeadURL: https://coppermine.svn.sourceforge.net/svnroot/coppermine/trunk/cpg1.4.x/lang/czech.php $
-  $Revision: 5988 $
-  $Author: gaugau $
-  $Date: 2009-05-25 22:01:41 +0200 (Mo, 25 Mai 2009) $
-  Omlouvám se, pokud překlad není zcela přesný. Snaha byla.
-**********************************************/
-
-if (!defined('IN_COPPERMINE')) { die('Not in Coppermine...');}
-
-// info about translators and translated language
-$lang_translation_info = array(
-  'lang_name_english' => 'Czech', //cpg1.4
-  'lang_name_native' => 'Česky', //cpg1.4
-  'lang_country_code' => 'cz', //cpg1.4
-  'trans_name'=> 'Pavel Kolar - PKDATA',
-  'trans_email' => 'p.kolar@pkdata.cz',
-  'trans_website' => 'http://www.pkdata.cz/',
-  'trans_date' => '2006-03-03',
-);
-
-$lang_charset = 'utf-8';
-$lang_text_dir = 'ltr'; // ('ltr' for left to right, 'rtl' for right to left)
-
-// shortcuts for Byte, Kilo, Mega
-$lang_byte_units = array('Bytů', 'KB', 'MB');
-
-// Day of weeks and months
-$lang_day_of_week = array('Ne', 'Po', 'Út', 'St', 'Čt', 'Pá', 'So');
-$lang_month = array('Leden', 'Únor', 'Březen', 'Duben', 'Květen', 'Červen', 'Červenec', 'Srpen', 'Září', 'Říjen', 'Listopad', 'Prosinec');
-
-// Some common strings
-$lang_yes = 'Ano';
-$lang_no  = 'Ne';
-$lang_back = 'ZPĚT';
-$lang_continue = 'POKRAČOVAT';
-$lang_info = 'Informace';
-$lang_error = 'Chyba';
-$lang_check_uncheck_all = 'označ/odoznač vše'; //cpg1.4
-
-// The various date formats
-// See http://www.php.net/manual/en/function.strftime.php to define the variable below
-$album_date_fmt =    '%B %d, %Y';
-$lastcom_date_fmt =  '%m/%d/%y at %H:%M';
-$lastup_date_fmt = '%B %d, %Y';
-$register_date_fmt = '%B %d, %Y';
-$lasthit_date_fmt = '%B %d, %Y at %I:%M %p';
-$comment_date_fmt =  '%B %d, %Y at %I:%M %p';
-$log_date_fmt = '%B %d, %Y at %I:%M %p'; //cpg1.4
-
-// For the word censor
-$lang_bad_words = array('píča', 'hovno', '*fuck*', 'prdel', 'čůrák', 'bitch*', 'c0ck', 'clits', 'Cock', 'cum', 'cunt*', 'dago', 'daygo', 'dego', 'dick*', 'dildo', 'fanculo', 'feces', 'foreskin', 'Fu\(*', 'fuk*', 'honkey', 'hore', 'injun', 'kike', 'lesbo', 'masturbat*', 'motherfucker', 'nazis', 'nigger*', 'nutsack', 'penis', 'phuck', 'poop', 'pussy', 'scrotum', 'shit', 'slut', 'titties', 'titty', 'twaty', 'wank*', 'whore', 'wop*');
-
-$lang_meta_album_names = array(
-        'random' => 'Náhodné obrázky',
-        'lastup' => 'Nejnovější obrázky',
-        'lastalb'=> 'Naposledy aktualizovaná alba',
-        'lastcom' => 'Nejnovější komentáře',
-        'topn' => 'Nejprohlíženější',
-        'toprated' => 'Nejlépe hodnocené',
-        'lasthits' => 'Naposledy zobrazené',
-        'search' => 'Výsledky hledání',
-        'favpics'=> 'Oblíbené obrázky',
-);
-
-
-$lang_errors = array(
-    'access_denied' => 'Nemáte oprávnění na tuto stránku.',
-    'perm_denied' => 'Nemáte dostatečná práva pro potvrzení této operace.',
-    'param_missing' => 'Skriptu nebyly předány potřebné parametry',
-    'non_exist_ap' => 'Vybraná alba/obrázek neexistuje',
-    'quota_exceeded' => 'Vyčerpal(a) jste místo na disku.<br /><br />Vaše kvóta je[quota]K, Vaše obrázky zbírají [space]K, přidáním tohoto obrázku byste svoji kvótu překročil',
-    'gd_file_type_err' => 'Pokud používáte GD knihovnu jsou podporovány jen obrázky JPG a PNG',
-    'invalid_image' => 'Tento obrázek je poškozen/porušen GD knihovna s ním nemůže pracovat.',
-    'resize_failed' => 'Nelze vytvořit náhled či zmenšený obrázek',
-    'no_img_to_display' => 'Zde není žádný obrázek, který byste si mohl(a) prohlédnout',
-    'non_exist_cat' => 'Vybraná kategorie neexistuje',
-    'orphan_cat' => 'Podkategorie nemá nadřízenou kategorii. Problém opravte přes nastavení kategorií.',
-    'directory_ro' => 'Do adresáře \'%s\' nelze zapisovat (nedostatečná práva), obrázky nemohly být smazány.',
-    'non_exist_comment' => 'Vybraný komentář neexistuje',
-    'pic_in_invalid_album' => 'Obrázek(y) je/jsou v neexistující galerii (%s)!?',
-    'banned' => 'Byl jste vykopnut z těchto stránek, není Vám umožněno je používat.',
-    'not_with_udb' => 'Tato funkce je vypnutá jelikož je integrována ve fóru. Buď není požadovaná fukce dostupná na tomto systému, nebo tuto/tyto funci/e plní fórum.',
-    'offline_title' => 'Odpojeno', //cpg1.3.0
-    'offline_text' => 'Galerie je momentálně odpojena - prosím zkuste to znovu později', //cpg1.3.0
-    'ecards_empty' => 'Momentálně nejsou k zobraní dostupné žádné záznamy o ecards. Ověřte prosím, že je zapnutá volba "ecard logging" v konfiguraci coppermine!', //cpg1.3.0
-    'action_failed' => 'Akce selhala.  Coppermine není schopno váš požadavek zpracovat.', //cpg1.3.0
-    'no_zip' => 'Knihovny potřebné pro zpracování ZIP souborů nejsou dostupné.  Prosím kontaktujte Vašeho administrátora aplikace Coppermine.', //cpg1.3.0
-    'zip_type' => 'Nemáte povolení nahrávat na server soubory ZIP.', //cpg1.3.0
-    'database_query' => 'Vyskytla se chyba pi databázovém dotazu.', //cpg1.4
-    'register_globals_on' => 'The PHP setting register_globals is enabled on your server, which is a bad idea in terms of security. It\'s strongly recommended to turn it off. [<a href="http://forum.coppermine-gallery.net/index.php/topic,59569.0.html" rel="external" class="external">more</a>]',
-);
-
-$lang_bbcode_help_title = 'bbcode pomoc'; //cpg1.4
-$lang_bbcode_help = 'Následující značky mohou být užitečné: <li>[b]Bold[/b] =&gt; <b>Bold</b></li><li>[i]Italic[/i] =&gt; <i>Italic</i></li><li>[url=http://yoursite.com/]Url Text[/url] =&gt; <a href="http://yoursite.com">Url Text</a></li><li>[email]user@domain.com[/email] =&gt; <a href="mailto:user@domain.com">user@domain.com</a></li><li>[color=red]some text[/color] =&gt; <span style="color:red">nejaký text</span></li><li>[img]http://coppermine-gallery.net/demo/cpg14x/images/red.gif[/img] => <img src="../images/red.gif" border="0" alt="" /></li>'; //cpg1.4
-
-// ------------------------------------------------------------------------- //
-// File theme.php
-// ------------------------------------------------------------------------- //
-
-$lang_main_menu = array(
-  'home_title' => 'Jít na domovskou stránku',
-  'home_lnk' => 'Domů',
-    'alb_list_title' => 'Přejít na seznam alb',
-    'alb_list_lnk' => 'Seznam alb',
-    'my_gal_title' => 'Přejít do mé osobní galerie',
-    'my_gal_lnk' => 'Moje galerie',
-  'my_prof_title' => 'Přejít do mého osobního profilu', //cpg1.4
-    'my_prof_lnk' => 'Můj Profil',
-    'adm_mode_title' => 'Do Admin módu',
-    'adm_mode_lnk' => 'Admin mód',
-    'usr_mode_title' => 'Do uživatelského módu',
-    'usr_mode_lnk' => 'Uživatelský mód',
-    'upload_pic_title' => 'Nahrát obrázek do alba',
-    'upload_pic_lnk' => 'Upload obrázku',
-    'register_title' => 'Vytvořit účet',
-    'register_lnk' => 'Registrovat se',
-  'login_title' => 'Přihlášení', //cpg1.4
-    'login_lnk' => 'Přihlásit',
-  'logout_title' => 'Odhlášení', //cpg1.4
-    'logout_lnk' => 'Odhlásit',
-  'lastup_title' => 'Ukaž nejnovější obrázky', //cpg1.4
-'lastup_lnk' => 'Nejnovější obrázky',
-  'lastcom_title' => 'Ukaž poslední komentáře', //cpg1.4
-    'lastcom_lnk' => 'Poslední komentáře',
-  'topn_title' => 'Ukaž nejprohlíženější', //cpg1.4
-    'topn_lnk' => 'Nejprohlíženější',
-  'toprated_title' => 'Ukaž nejlépe hodnocené', //cpg1.4
-    'toprated_lnk' => 'Nejlépe hodnocené',
-  'search_title' => 'Hledej', //cpg1.4
-    'search_lnk' => 'Vyhledávání',
-  'fav_title' => 'Jdi na oblíbené', //cpg1.4
-    'fav_lnk' => 'Oblíbené',
-    'memberlist_title' => 'Ukaž seznam členů', //cpg1.3.0
-    'memberlist_lnk' => 'Seznam členů', //cpg1.3.0
-  'faq_title' => 'FAQ = nejčastěji kladené otázky na galerii &quot;Coppermine&quot;',
-  'faq_lnk' => 'FAQ',
-);
-
-$lang_gallery_admin_menu = array(
-  'upl_app_title' => 'Potvrzení nového uploadu', //cpg1.4
-    'upl_app_lnk' => 'Potvrzení uploadu',
-  'admin_title' => 'Konfigurovat', //cpg1.4
-  'admin_lnk' => 'Konfigurace', //cpg1.4
-  'albums_title' => 'Konfigurace alb', //cpg1.4
-    'albums_lnk' => 'Konfigurace alb',
-  'categories_title' => 'Konfigurovat kategorie', //cpg1.4
-    'categories_lnk' => 'Konfigurace kategorií',
-  'users_title' => 'Nastavit uživatele', //cpg1.4
-    'users_lnk' => 'Uživatelé',
-  'groups_title' => 'Konfigurovat uživatelské skupiny', //cpg1.4
-    'groups_lnk' => 'Už. skupiny',
-  'comments_title' => 'Přehled komentářů', //cpg1.4
-    'comments_lnk' => 'Komentáře',
-  'searchnew_title' => 'Přidání více obrázků najednou', //cpg1.4
-    'searchnew_lnk' => 'Dávkové přidání obrázků',
-  'util_title' => 'Změnit velikost atd...', //cpg1.4
-    'util_lnk' => 'Administrátorské nástroje',
-  'key_title' => 'Slovník klíčových slov', //cpg1.4
-  'key_lnk' => 'Slovník klíčových slov', //cpg1.4
-  'ban_title' => 'Odstranit uživatele', //cpg1.4
-    'ban_lnk' => 'Odstranit uživatele',
-  'db_ecard_title' => 'Zobrazit Ecards', //cpg1.4
-  'db_ecard_lnk' => 'Zobrazit Ecards',
-  'pictures_title' => 'Setřídit obrázky', //cpg1.4
-  'pictures_lnk' => 'Setřídit obrázky', //cpg1.4
-  'documentation_lnk' => 'Dokumentatace', //cpg1.4
-  'documentation_title' => 'Coppermine manual', //cpg1.4
-);
-
-$lang_user_admin_menu = array(
-  'albmgr_title' => 'Vytvořit / organizovat moje alba', //cpg1.4
-    'albmgr_lnk' => 'Vytvořit / organizovat moje alba',
-  'modifyalb_title' => 'Změnit moje alba',  //cpg1.4
-    'modifyalb_lnk' => 'Změnit moje alba',
-  'my_prof_title' => 'Můj profil', //cpg1.4
-    'my_prof_lnk' => 'Můj profil',
-);
-
-$lang_cat_list = array(
-  'category' => 'Kategorie',
-  'albums' => 'Alba',
-  'pictures' => 'Obrázky',
-);
-
-$lang_album_list = array(
-  'album_on_page' => '%d album na %d stránce(kách)',
-);
-
-$lang_thumb_view = array(
-  'date' => 'DATUM',
-  //Sort by filename and title
-  'name' => 'JMÉNO SOUBORU',
-  'title' => 'NADPIS',
-    'sort_da' => 'Řadit vzestupně podle data',
-    'sort_dd' => 'Řadit sestupně podle data',
-    'sort_na' => 'Řadit vzestupně podle jména',
-    'sort_nd' => 'Řadit sestupně podle jména',
-    'sort_ta' => 'Řadit vzestupně podle nadpisu',
-    'sort_td' => 'Řadit sestupně podle nadpisu',
-  'position' => 'POZICE', //cpg1.4
-  'sort_pa' => 'Řadit vzestupně podle pozice', //cpg1.4
-  'sort_pd' => 'Řadit sestupně podle pozice', //cpg1.4
-    'download_zip' => 'Download jako Zip soubor', //cpg1.3.0
-    'pic_on_page' => '%d obrázků na %d stránkách',
-    'user_on_page' => '%d uživatelů na %d stránkách',
-  'enter_alb_pass' => 'Vlož heslo pro album', //cpg1.4
-  'invalid_pass' => 'Vadné heslo', //cpg1.4
-  'pass' => 'Heslo', //cpg1.4
-  'submit' => 'Odeslat', //cpg1.4
-);
-
-$lang_img_nav_bar = array(
-    'thumb_title' => 'Zpět na stránku s náhledy',
-    'pic_info_title' => 'Zobraz/skryj informace o obrázku',
-    'slideshow_title' => 'Slideshow',
-    'ecard_title' => 'Poslat tento obrázek jako pohlednici',
-    'ecard_disabled' => 'Pohlednice jsou vypnuté',
-    'ecard_disabled_msg' => 'Nemáte dostatečná práva pro zaslání pohlednice',
-    'prev_title' => 'Předchozí obrázek',
-    'next_title' => 'Další obrázek',
-    'pic_pos' => 'OBRÁZEK %s/%s',
-  'report_title' => 'Odešsli tento soubor administrátorovi', //cpg1.4
-  'go_album_end' => 'Skok na konec', //cpg1.4
-  'go_album_start' => 'Skok na začátek', //cpg1.4
-  'go_back_x_items' => 'zpět o %s položzky', //cpg1.4
-  'go_forward_x_items' => 'dopřredu o %s položzky', //cpg1.4
-);
-
-$lang_rate_pic = array(
-    'rate_this_pic' => 'Hodnotit tento obrázek ',
-    'no_votes' => '(žádné hodnocení)',
-    'rating' => '(Aktuální hodnocení : %s / z 5, hlasováno %s krát)',
-    'rubbish' => 'Hnusný',
-    'poor' => 'Mizerný',
-    'fair' => 'Ujde to',
-    'good' => 'Dobrý',
-    'excellent' => 'Výborný',
-    'great' => 'Dokonalý',
-);
-
-// ------------------------------------------------------------------------- //
-// File include/exif.inc.php
-// ------------------------------------------------------------------------- //
-
-// void
-
-// ------------------------------------------------------------------------- //
-// File include/functions.inc.php
-// ------------------------------------------------------------------------- //
-
-$lang_cpg_die = array(
-  INFORMATION => $lang_info,
-  ERROR => $lang_error,
-    CRITICAL_ERROR => 'Kritická chyba',
-    'file' => 'Soubor: ',
-    'line' => 'Řádka: ',
-);
-
-$lang_display_thumbnails = array(
-    'filename' => 'Jméno souboru : ',
-    'filesize' => 'Velikost souboru : ',
-    'dimensions' => 'Rozměry : ',
-    'date_added' => 'Datum přidání : '
-);
-
-$lang_get_pic_data = array(
-    'n_comments' => '%s Komentář(ů)',
-    'n_views' => '%s zobrazení',
-    'n_votes' => '(%s hlas(ů))'
-);
-
-$lang_cpg_debug_output = array(
-  'debug_info' => 'Debug Info', //cpg1.3.0
-  'select_all' => 'Vybrat vše', //cpg1.3.0
-  'copy_and_paste_instructions' => 'Pokud se chystáte požadovat pomoc na podpoře coppermine, vložte tento ladící výstup do vašecho příspěvku. Před takovým vložením se ujistěte, že jste všechna vaše hesla z tohoto textu nahradili pomocí "***".', //cpg1.3.0
-  'phpinfo' => 'Zobrazit phpinfo', //cpg1.3.0
-  'notices' => 'Poznámky', //cpg1.4
-);
-
-$lang_language_selection = array(
-  'reset_language' => 'Přednastavený jazyk', //cpg1.3.0
-  'choose_language' => 'Vyberte Váš jazyk', //cpg1.3.0
-);
-
-$lang_theme_selection = array(
-  'reset_theme' => 'Přednastavené téma', //cpg1.3.0
-  'choose_theme' => 'Vyberte téma', //cpg1.3.0
-);
-
-$lang_version_alert = array(
-  'version_alert' => 'Nepodporovaná verze!', //cpg1.4
-  'security_alert' => 'Bezpečnostní poplach!', //cpg1.4.3
-  'relocate_exists' => 'Odstraň <a href="http://coppermine-gallery.net/forum/index.php?topic=24217.0">relocate_server.php</a> soubor z website!',
-  'no_stable_version' => 'Používáte Coppermine %s (%s) která je míněna pro zkušené uživatele - tato verze je distribuována bez podpory a záruky funkčnosti. Riziko užití je na uživateli!', //cpg1.4
-  'gallery_offline' => 'Galerie je momentálně offline a bude viditelná jen pro administrátora. Nezapomeňte ji prepnout do online režimu po dokončení údržby.', //cpg1.4
-);
-
-$lang_create_tabs = array(
-  'previous' => 'předešlý', //cpg1.4
-  'next' => 'další', //cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File include/init.inc.php
-// ------------------------------------------------------------------------- //
-
-// void
-
-// ------------------------------------------------------------------------- //
-// File keyword.inc.php                                                      //
-// ------------------------------------------------------------------------- //
-
-// void
-
-// ------------------------------------------------------------------------- //
-// File include/picmgmt.inc.php
-// ------------------------------------------------------------------------- //
-
-// void
-
-// ------------------------------------------------------------------------- //
-// File include/plugin_api.inc.php
-// ------------------------------------------------------------------------- //
-$lang_plugin_api = array(
-  'error_wakeup' => "Nelze oživit plugin '%s'", //cpg1.4
-  'error_install' => "Nemohu nainstalovat plugin '%s'", //cpg1.4
-  'error_uninstall' => "Nemohu odinstalovat plugin '%s'", //cpg1.4
-  'error_sleep' => "Nomohu odinstalovat plugin '%s'<br />", //cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File include/smilies.inc.php
-// ------------------------------------------------------------------------- //
-
-if (defined('SMILIES_PHP')) $lang_smilies_inc_php = array(
-  'Exclamation' => 'Exclamation',
-  'Question' => 'Question',
-  'Very Happy' => 'Very Happy',
-  'Smile' => 'Smile',
-  'Sad' => 'Sad',
-  'Surprised' => 'Surprised',
-  'Shocked' => 'Shocked',
-  'Confused' => 'Confused',
-  'Cool' => 'Cool',
-  'Laughing' => 'Laughing',
-  'Mad' => 'Mad',
-  'Razz' => 'Razz',
-  'Embarassed' => 'Embarassed',
-  'Crying or Very sad' => 'Crying or Very sad',
-  'Evil or Very Mad' => 'Evil or Very Mad',
-  'Twisted Evil' => 'Twisted Evil',
-  'Rolling Eyes' => 'Rolling Eyes',
-  'Wink' => 'Wink',
-  'Idea' => 'Idea',
-  'Arrow' => 'Arrow',
-  'Neutral' => 'Neutral',
-  'Mr. Green' => 'Mr. Green',
-);
-
-// ------------------------------------------------------------------------- //
-// File addpic.php
-// ------------------------------------------------------------------------- //
-
-// void
-
-// ------------------------------------------------------------------------- //
-// File mode.php //cpg1.4
-// ------------------------------------------------------------------------- //
-
-if (defined('MODE_PHP')) $lang_mode_php = array(
-    0 => 'Opouštím Admin Mód....:-(',
-    1 => 'Vstupuji do Admin Módu....:-)',
-);
-
-// ------------------------------------------------------------------------- //
-// File albmgr.php
-// ------------------------------------------------------------------------- //
-
-if (defined('ALBMGR_PHP')) $lang_albmgr_php = array(
-    'alb_need_name' => 'Album musí mít jméno',
-    'confirm_modifs' => 'Jste si jist(a) těmito změnami ?',
-    'no_change' => 'Neudělal(a) jste žádné změny !',
-    'new_album' => 'Nové album',
-    'confirm_delete1' => 'Jste si jist(a), že chcete smazat toto album?',
-    'confirm_delete2' => '\nVšechny obrázky a komentáře budou smazány !',
-    'select_first' => 'Nejprve vyberte album',
-    'alb_mrg' => 'Správce alb',
-    'my_gallery' => '* Moje galerie *',
-    'no_category' => '* Není kategorie *',
-    'delete' => 'Smazat',
-    'new' => 'Nový/á',
-    'apply_modifs' => 'Potvrdit změny',
-    'select_category' => 'Vybrat kategorii',
-);
-
-// ------------------------------------------------------------------------- //
-// File banning.php
-// ------------------------------------------------------------------------- //
-
-if (defined('BANNING_PHP')) $lang_banning_php = array(
-  'title' => 'Nežádoucí uživatelé', //cpg1.4
-  'user_name' => 'Uživetelské jméno', //cpg1.4
-  'ip_address' => 'IP Addresa', //cpg1.4
-  'expiry' => 'Expirace (prázdná jestli je permanentní)', //cpg1.4
-  'edit_ban' => 'Ulož změny', //cpg1.4
-  'delete_ban' => 'Vymaž', //cpg1.4
-  'add_new' => 'Přidej nového nežádoucího', //cpg1.4
-  'add_ban' => 'Přidat', //cpg1.4
-  'error_user' => 'Nemohu nalézt uživatele', //cpg1.4
-  'error_specify' => 'Musíte blíže specifikovat uživatele jménem nebo IP adresou.', //cpg1.4
-  'error_ban_id' => 'Vadné nežádoucí ID!', //cpg1.4
-  'error_admin_ban' => 'Nemůžete zakázat sami sebe!', //cpg1.4
-  'error_server_ban' => 'Tam kde děláš, to je nežádoucí server? Tsk tsk, to neudělám...', //cpg1.4
-  'error_ip_forbidden' => 'Nelze zakázat tuhle adresu IP - je privátní... non-routable (private)!<br />Jestliže chcete zakázat přístup z privátních adres, změňte to v nastavení <a href="admin.php">Nastavení</a> (only makes sense when Coppermine runs on a LAN).', //cpg1.4
-  'lookup_ip' => 'Podívej se na IP adresu', //cpg1.4
-  'submit' => 'Odešli!', //cpg1.4
-  'select_date' => 'Vyber datum', //cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File bridgemgr.php //cpg1.4
-// ------------------------------------------------------------------------- //
-
-if (defined('BRIDGEMGR_PHP')) $lang_bridgemgr_php = array(
-  'title' => 'Průvodce propojením',
-  'warning' => 'Varování: když používáte průvodce, musíte pochopit, že citlivá data budou zasílána přes html formuláře. Pouze spuštění na vašem PC(ne jako veřejný klient třeba v internetové kavárně) a musíte vymazat cache browswru a dočasné soubory, aby nedošlo k jejich prozrazení!',
-  'back' => 'zpět',
-  'next' => 'další',
-  'start_wizard' => 'Start propojovacího průvodce',
-  'finish' => 'Konec',
-  'hide_unused_fields' => 'zkryj nepoužívané položky (doporučeno)',
-  'clear_unused_db_fields' => 'vymaž vadný databázový vstup (doporučeno)',
-  'custom_bridge_file' => 'jméno tvého uživatelského překlenovacího souboru (jestlize propojovací soubor je <i>myfile.inc.php</i>, enter <i>můjsoubor</i> do tohoto pole)',
-  'no_action_needed' => 'V tomto kroku není potřeba nic dělat. klikni na  \'next\' pro pokračování.',
-  'reset_to_default' => 'Nastav defaultní hodnoty',
-  'choose_bbs_app' => 'vyberte plikaci propojení s coppermine',
-  'support_url' => 'Jdi sem pro podporu této aplikace',
-  'settings_path' => 'cesta (y) použité v BBS aplikaci',
-  'database_connection' => 'databázové spojení',
-  'database_tables' => 'databázové tabulky',
-  'bbs_groups' => 'BBS skupina',
-  'license_number' => 'Licenční číslo',
-  'license_number_explanation' => 'vlož své lizenční číslo (jestli je aplikováno)',
-  'db_database_name' => 'Jméno databáze',
-  'db_database_name_explanation' => 'Vložte jméno vaší databáze BBS',
-  'db_hostname' => 'Host databáze',
-  'db_hostname_explanation' => 'Jméno místa kde sídlí vaše mySQL databaáze, obvykle &quot;localhost&quot;',
-  'db_username' => 'Database user account',
-  'db_username_explanation' => 'mySQL uživatelské heslo pro uživatelské heslo pro připojení s BBS',
-  'db_password' => 'Heslo databáze',
-  'db_password_explanation' => 'Heslo pro mySQL uživatelského přístupu',
-  'full_forum_url' => 'Forum URL',
-  'full_forum_url_explanation' => 'Plné URL vší BBS plikace (obsahující http:// např. http://www.yourdomain.tld/forum)',
-  'relative_path_of_forum_from_webroot' => 'Relativní cesta fóra',
-  'relative_path_of_forum_from_webroot_explanation' => 'Relativní cesta k vaší BBS aplikaci (například: jestli je BBS na http://www.yourdomain.tld/forum/, vložte &quot;/forum/&quot; do tohoto pole)',
-  'relative_path_to_config_file' => 'Relativní cesta na vaši BBS konfigurační soubor',
-  'relative_path_to_config_file_explanation' => 'Relativní cestapro vaši BBS, pro Coppermine složku (např. &quot;../forum/&quot; jestliže vaše BBS je http://www.yourdomain.tld/forum/ a Coppermine na http://www.yourdomain.tld/gallery/)',
-  'cookie_prefix' => 'Cookie prefix',
-  'cookie_prefix_explanation' => 'toto je vaše BBS cookie jméno',
-  'table_prefix' => 'Prefix tabulky',
-  'table_prefix_explanation' => 'Musí být rovný prefixu ktrý byl vybrán v BBS když byla nastavována.',
-  'user_table' => 'Uživatelská tabulka',
-  'user_table_explanation' => '(obvykle defaultní nastavení je OK, avšak BBS instalace nemusí být standardní)',
-  'session_table' => 'Tabulka připojení',
-  'session_table_explanation' => '(obvykle defaultní nastavení je OK, avšak BBS instalace nemusí být standardní)',
-  'group_table' => 'Tabulka uživatelů',
-  'group_table_explanation' => '(obvykle defaultní nastavení je OK, avšak BBS instalace nemusí být standardní)',
-  'group_relation_table' => 'Tabulka relací skupiny',
-  'group_relation_table_explanation' => '(obvykle defaultní nastavení je OK, avšak BBS instalace nemusí být standardní)',
-  'group_mapping_table' => 'Tabulka mapování skupiny',
-  'group_mapping_table_explanation' => '(obvykle defaultní nastavení je OK, avšak BBS instalace nemusí být standardní)',
-  'use_standard_groups' => 'Použití standardních BBS uživatelskou skupiny',
-  'use_standard_groups_explanation' => 'Použití standardních (vestavěných) uživatelských uživatelských skupin (doporučeno). This will make all custom usergroups settings made on this page become void. Only disable this option if you REALLY know what you\'re doing!',
-  'validating_group' => 'Ověřená skupina',
-  'validating_group_explanation' => 'Skupina ID vaší BBS kde jsou uživatelská konta které potřebujete validovat(obvykle přednastavené hodnoty mohou být OK, avšak BBS nemusí být nastavena standardně)',
-  'guest_group' => 'Skupina hostů',
-  'guest_group_explanation' => 'Skupina ID vaší BBS kde jsou hosti (anonymní uživatelé) jsou v (obvykle přednastavené hodnoty mohou být OK, pouze změněny, jestliže víte jak se to dělá)',
-  'member_group' => 'Skupina uživatelů',
-  'member_group_explanation' => 'Skupina ID vaší BBS kde jsou &quot;regular&quot; uživatelské účty (obvykle přednastavené hodnoty mohou být OK, pouze změněny, jestliže víte jak se to dělá)',
-  'admin_group' => 'Administrátorská skupina',
-  'admin_group_explanation' => 'Skupina ID vaší BBS kde jsou administrátoři (obvykle přednastavené hodnoty mohou být OK, pouze změněny, jestliže víte jak se to dělá)',
-  'banned_group' => 'Nežádoucí skupina',
-  'banned_group_explanation' => 'Skupina ID vaší BBS kde jsou nežádoucí uživatelé (obvykle přednastavené hodnoty mohou být OK, pouze změněny, jestliže víte jak se to dělá)',
-  'global_moderators_group' => 'Globalní moderátorská skupina',
-  'global_moderators_group_explanation' => 'Skupina ID vaší BBS kde jsou globalní moderátoři vaší BBS (obvykle přednastavené hodnoty mohou být OK, pouze změněny, jestliže víte jak se to dělá)',
-  'special_settings' => 'BBS-specifické nastavení',
-  'logout_flag' => 'phpBB verze (logout flag)',
-  'logout_flag_explanation' => 'Jaká je verze vaší BBS version)',
-  'use_post_based_groups' => 'Použít post-based skupinu?',
-  'logout_flag_yes' => '2.0.5 a vyšší',
-  'logout_flag_no' => '2.0.4 nebo nižší',
-  'use_post_based_groups_explanation' => 'Mohou být skypiny z BBS které jsou definovány jako mnoho posts be taken into account (allows a granular permissions management) or just the default groups (makes administration easier, recommended). You can change this setting later as well.',
-  'use_post_based_groups_yes' => 'Ano',
-  'use_post_based_groups_no' => 'Ne',
-  'error_title' => 'Musíte opravit tyto chyby, než budete pokračovat. Vrate se na předešlou obrazovku.',
-  'error_specify_bbs' => 'Můžete specifikovat jakou aplikaci chcete propojit s Coppermine instalací.',
-  'error_no_blank_name' => 'Nemůžete nechat jméno propojovacího souboru prázné.',
-  'error_no_special_chars' => 'Propojovací soubor nesmí obsahovat speciální znaky jako (_) a (-)!',
-  'error_bridge_file_not_exist' => 'Propojovací soubor %s neexistuje na serveru. Zkontrolujte, jestli byl uploadován.',
-  'finalize' => 'zapnout/vypnout BBS integraci',
-  'finalize_explanation' => 'Příliš vzdálené, nastavení vámi specifikované v databázi, ale  BBS nemůže být zapnuto. Můžete nastavit integraci vypnuto/zapnuto později. Nezapomeňte změnit uživatelské jméno a heslo a pro samotnou Coppermine, můžete pozdějio potřebovat udělat nějaké změny. Jestliže něco bude v nepořádku, běžte na %s a vypněte BBS integraci, použijde samostatný (nepropojený) admin účet (obvykle je nastavený během instalece Coppermine).',
-  'your_bridge_settings' => 'Vaše propojovací nastavení',
-  'title_enable' => 'Zapnout integraci/propojení s %s',
-  'bridge_enable_yes' => 'zapnuto',
-  'bridge_enable_no' => 'vypnuto',
-  'error_must_not_be_empty' => 'nesmí být prázdné',
-  'error_either_be' => 'musí být %s nebo %s',
-  'error_folder_not_exist' => '%s neexistuje. Opravte hodnotu %s',
-  'error_cookie_not_readible' => 'Coppermine nemůže číst jméno cookie %s. Opravte hodnotu %s, nebo přejděte do BBS administrátorského panelu a zkontrolujte, že cookie cesta čitelná pro coppermine.',
-  'error_mandatory_field_empty' => 'Nemůžete pole nechat prázdné %s vyplňte příslušnou hodnotu.',
-  'error_no_trailing_slash' => 'Nesmí tam být koncové lomítko  v poli %s.',
-  'error_trailing_slash' => 'Musí tam být koncové lomítko v poli %s.',
-  'error_db_connect' => 'Nemohu se připojit na mySQL databázi s udanými údaji. Toto vrací mySQL:',
-  'error_db_name' => 'Také Coppermine nemůže navázat spojení, nebylo nalezeno v databázi %s. Zkontrolujte, zda je nastaveno správně %s .  mySQL hlásí:',
-  'error_prefix_and_table' => '%s a ',
-  'error_db_table' => 'Nemohu nalézt tabulku %s. Zkontrolujte , jestli je %s správně.',
-  'recovery_title' => 'Manažer propojení: záchranná oprava',
-  'recovery_explanation' => 'If you came here to administer the BBS integration of your Coppermine gallery, you have to log in first as admin. If you can not log in because bridging doesn\'t work as expected, you can disable BBS integration with this page. Entering your username and password will not log you in, it will only disable BBS integration. Refer to the documentation for details.',
-  'username' => 'Jméno',
-  'password' => 'Heslo',
-  'disable_submit' => 'odešli',
-  'recovery_success_title' => 'Authorizace úspěšná',
-  'recovery_success_content' => 'Odpojili jste úspěšně BBS propojení. Vaše Coppermine instalace praceje v samostatném módu.',
-  'recovery_success_advice_login' => 'Připojte se jako admin a zeditujtenastavení propojení a/nebo zapněte integraci BBS znovu.',
-  'goto_login' => 'Přechod na přihlašovací stránku',
-  'goto_bridgemgr' => 'Přechod na Manažera propojení',
-  'recovery_failure_title' => 'Authorizace se nezdařila',
-  'recovery_failure_content' => 'You supplied the wrong credentials. You will have to supply the admin account data of the standalone version (usually the account you set up during Coppermine install).',
-  'try_again' => 'zkuste to znovu',
-  'recovery_wait_title' => 'Počkejte, než uplyne daný čas',
-  'recovery_wait_content' => 'Z bezpečnostních důvodů tento skript nedovoluje špatné přihlášení, musíte chvíli počkat aby jste to mohli zkusit znovu.',
-  'wait' => 'počkej',
-  'create_redir_file' => 'Vytvořit přesměrovávací soubor (doporučeno)',
-  'create_redir_file_explanation' => 'Na přesměrování zpět do Coppermine, se bude připojovat do BBS, potřebujete přesměrovat soubor vytvořený ve vaší BBS složce. Když je tato volba vybrána, propojovací manažer vytoří tento soubor pro vás, nebo vám předá kód připravený na kopírování manuálně.',
-  'browse' => 'browse',
-);
-
-// ------------------------------------------------------------------------- //
-// File calendar.php //cpg1.4
-// ------------------------------------------------------------------------- //
-
-if (defined('CALENDAR_PHP')) $lang_calendar_php = array(
-  'title' => 'Kalendář', //cpg1.4
-  'close' => 'zavři', //cpg1.4
-  'clear_date' => 'vymaž datum', //cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File catmgr.php
-// ------------------------------------------------------------------------- //
-
-if (defined('CATMGR_PHP')) $lang_catmgr_php = array(
-    'miss_param' => 'Parametry potřebné pro \'%s\'operaci not supplied !',
-    'unknown_cat' => 'Vybraná kategorie v databázi neexistuje',
-    'usergal_cat_ro' => 'Nelze smazat uživatelská alba  !',
-    'manage_cat' => 'Spravovat kategorie',
-    'confirm_delete' => 'Opravdu chcete SMAZAT tuto kategorii',
-    'category' => 'Kategorie',
-    'operations' => 'Operace',
-    'move_into' => 'Přesunout do',
-    'update_create' => 'Aktualizovat/Vytvořit kategorii',
-    'parent_cat' => 'Nadřazená kategorie',
-    'cat_title' => 'Nadpis kategorie',
-    'cat_thumb' => 'Miniatura kategorie', //cpg1.3.0
-    'cat_desc' => 'Popis kategorie',
-  'categories_alpha_sort' => 'Setřiď kategorie abecedně (místo uživatelkým třídícím pravidlem)', //cpg1.4
-  'save_cfg' => 'Ulož nastavení', //cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File admin.php //cpg1.4
-// ------------------------------------------------------------------------- //
-
-if (defined('ADMIN_PHP')) $lang_admin_php = array(
-    'title' => 'Nastavení',
-  'manage_exif' => 'Nastav exif zobrazení', //cpg1.4
-  'manage_plugins' => 'Nastav pluginy', //cpg1.4
-  'manage_keyword' => 'Nastav Klíčová slova', //cpg1.4
-    'restore_cfg' => 'Nastavit výchozí',
-    'save_cfg' => 'Uložit konfiguraci',
-    'notes' => 'Poznámky',
-  'info' => 'Informace',
-    'upd_success' => 'Konfigurace byla změněna',
-    'restore_success' => 'Konfigurace byla nastavena na výchozí nastavení',
-    'name_a' => 'Jméno vzestupně',
-    'name_d' => 'Jméno sestupně',
-    'title_a' => 'Nadpis vzestupně',
-    'title_d' => 'Nadpis sestupně',
-    'date_a' => 'Datum vzestupně',
-    'date_d' => 'Datum sestupně',
-  'pos_a' => 'Pozice vzestupně', //cpg1.4
-  'pos_d' => 'Pozice sestupně', //cpg1.4
-    'th_any' => 'Max rozlišení',
-    'th_ht' => 'Výška',
-    'th_wd' => 'Šířka',
-    'label' => 'popiska', //cpg1.3.0
-    'item' => 'položka', //cpg1.3.0
-    'debug_everyone' => 'Každý', //cpg1.3.0
-    'debug_admin' => 'Pouze Admin', //cpg1.3.0
-  'no_logs'=> 'Vypnuto', //cpg1.4
-  'log_normal'=> 'Normal', //cpg1.4
-  'log_all' => 'Všechno', //cpg1.4
-  'view_logs' => 'Zobraz logy', //cpg1.4
-  'click_expand' => 'klikni na jméno sekce pro rozbalení', //cpg1.4
-  'expand_all' => 'Rozbal vše', //cpg1.4
-  'notice1' => '(*) Toto nastavení nesmí být změněno jestliže máte uloženy soubory v databázi.', //cpg1.4 - (relocated)
-  'notice2' => '(**) Když se změní toto nastavení, pouze soubory, které budou přidány později budou mít viditelné změny. Avšak aplikovat tuto změnu lze přes &quot;<a href="util.php">administrátorské nástroje&quot</a>.', //cpg1.4 - (relocated)
-  'notice3' => '(***) Všechny log soubory jsou v angličtině.', //cpg1.4 - (relocated)
-  'bbs_disabled' => 'Funkce je vypnuta když se použije bb integrace', //cpg1.4
-  'auto_resize_everyone' => 'Kdokoliv', //cpg1.4
-  'auto_resize_user' => 'Pouze uživatel', //cpg1.4
-  'ascending' => 'vzestupně', //cpg1.4
-  'descending' => 'sestupně', //cpg1.4
-);
-
-if (defined('ADMIN_PHP')) $lang_admin_data = array(
-  'Hlavní nastavení',
-  array('Jméno galerie', 'gallery_name', 0, 'f=index.htm&amp;as=admin_general_name&amp;ae=admin_general_name_end'), //cpg1.4
-  array('Popiska galerie', 'gallery_description', 0, 'f=index.htm&amp;as=admin_general_description&amp;ae=admin_general_description_end'), //cpg1.4
-  array('Email na administrátora', 'gallery_admin_email', 0, 'f=index.htm&amp;as=admin_general_email&amp;ae=admin_general_email_end'), //cpg1.4
-  array('URL vaší složky coppermine galerie (ne \'index.php\' nebo podobné)', 'ecards_more_pic_target', 0, 'f=index.htm&amp;as=admin_general_coppermine-url&amp;ae=admin_general_coppermine-url_end'), //cpg1.4
-  array('URL vaší startovací stránky', 'home_target', 0, 'f=index.htm&amp;as=admin_general_home-url&amp;ae=admin_general_home-url_end'), //cpg1.4
-  array('Povolit ZIP-download oblíbených', 'enable_zipdownload', 1, 'f=index.htm&amp;as=admin_general_zip-download&amp;ae=admin_general_zip-download_end'), //cpg1.4
-  array('Timezona se liší od GMT (aktuální místní čas: ' . localised_date(-1, $comment_date_fmt) . ')','time_offset',0, 'f=index.htm&amp;as=admin_general_time-offset&amp;ae=admin_general_time-offset_end&amp;top=1'), //cpg1.4
-  array('Zapnout šifrování hesel (nemusí být uvolněno)','enable_encrypted_passwords',1, 'f=index.htm&amp;as=admin_general_encrypt_password_start&amp;ae=admin_general_encrypt_password_end&amp;top=1'), // cpg 1.4
-  array('Zapnout help-iconu (nápověda napsána pouze v angličtině)','enable_help',9, 'f=index.htm&amp;as=admin_general_help&amp;ae=admin_general_help_end'), //cpg1.4
-  array('Zapnout klíčová slova ve vyhledávání','clickable_keyword_search',14, 'f=index.htm&amp;as=admin_general_keywords_start&amp;ae=admin_general_keywords_end'), //cpg1.4
-  array('Zapnout pluginy', 'enable_plugins', 12, 'f=index.htm&amp;as=admin_general_enable-plugins&amp;ae=admin_general_enable-plugins_end'),  //cpg1.4
-  array('Povol odmítat neprivátní IP adresy', 'ban_private_ip', 1,  'f=index.htm&amp;as=admin_general_private-ip&amp;ae=admin_general_private-ip_end'), //cpg1.4
-  array('Dávkové rozhraní v browseru', 'browse_batch_add', 1, 'f=index.htm&amp;as=admin_general_browsable_batch_add&amp;ae=admin_general_browsable_batch_add_end'), //cpg1.4
-
-  'Nastavení jazyka &amp; znakové sady',
-  array('Jazyk', 'lang', 5, 'f=index.htm&amp;as=admin_language_language&amp;ae=admin_language_language_end'), //cpg1.4
-  array('Návrat do Angličtiny, jestli nastavený jazyk není nalezen', 'language_fallback', 1, 'f=index.htm&amp;as=admin_language_fallback&amp;ae=admin_language_fallback_end'), //cpg1.4
-  array('Znaková sada', 'charset', 4, 'f=index.htm&amp;as=admin_language_charset&amp;ae=admin_language_charset_end'), //cpg1.4
-  array('Zobraz seznam jazyků', 'language_list', 1, 'f=index.htm&amp;as=admin_language_list&amp;ae=admin_language_list_end'), //cpg1.4
-  array('Zobraz vlajky na výběr jazyka', 'language_flags', 8, 'f=index.htm&amp;as=admin_language_flags&amp;ae=admin_language_flags_end&amp;top=1'), //cpg1.4
-  array('Zobraz &quot;reset&quot; ve výběru jazyka', 'language_reset', 1, 'f=index.htm&amp;as=admin_language_reset&amp;ae=admin_language_reset_end&amp;top=1'), //cpg1.4
-  //array('Zobraz předchozí/následující tabulkové stránky', 'previous_next_tab', 1), //cpg1.4
-
-  'Nastavení témat',
-  array('Téma', 'theme', 6, 'f=index.htm&amp;as=admin_theme_theme&amp;ae=admin_theme_theme_end'), //cpg1.4
-  array('Zobraz seznam témat', 'theme_list', 1, 'f=index.htm&amp;as=admin_theme_theme_list&amp;ae=admin_theme_theme_list_end'), //cpg1.4
-  array('Zobraz &quot;reset&quot; ve výběru témata', 'theme_reset', 1, 'f=index.htm&amp;as=admin_theme_theme_reset&amp;ae=admin_theme_theme_reset_end'), //cpg1.4
-  array('Zobraz FAQ', 'display_faq', 1, 'f=index.htm&amp;as=admin_theme_faq&amp;ae=admin_theme_faq_end'), //cpg1.4
-  array('Jméno volitelné položky v menu', 'custom_lnk_name', 0,'f=index.htm&amp;as=admin_theme_custom_lnk_name&amp;ae=admin_theme_custom_lnk_name_end'), //cpg1.4
-  array('URL volitelné položky v menu', 'custom_lnk_url', 0,'f=index.htm&amp;as=admin_language_custom_lnk_url&amp;ae=admin_language_custom_lnk_url_end'), //cpg1.4
-  array('Zobraz bbcode nápovědu', 'show_bbcode_help', 1, 'f=index.htm&amp;as=admin_theme_bbcode&amp;ae=admin_theme_bbcode_end&amp;top=1'), //cpg1.4
-  array('Zobrazuj validační značky témat definované jako XHTML a CSS compliant','vanity_block',1, 'f=index.htm&amp;as=vanity_block&amp;ae=vanity_block_end'), //cpg1.4
-  array('Cesta pro volitelné vložené záhlaví', 'custom_header_path', 0, 'f=index.htm&amp;as=admin_theme_include_path_start&amp;ae=admin_theme_include_path_end'), //cpg1.4
-  array('Cesta pro volitelné vložené zápatí', 'custom_footer_path', 0, 'f=index.htm&amp;as=admin_theme_include_path_start&amp;ae=admin_theme_include_path_end'), //cpg1.4
-
-  'Nastavení zobrazení výpisu alb',
-  array('Velikost šířky hlavní tabukly (pixlů nebo %)', 'main_table_width', 0, 'f=index.htm&amp;as=admin_album_table-width&amp;ae=admin_album_table-width_end'), //cpg1.4
-  array('Počet zobrazovaných zanoření kategorií', 'subcat_level', 0, 'f=index.htm&amp;as=admin_album_category-levels&amp;ae=admin_album_category-levels_end'), //cpg1.4
-  array('Počet alb pro zobrazení', 'albums_per_page', 0, 'f=index.htm&amp;as=admin_album_number&amp;ae=admin_album_number_end'), //cpg1.4
-  array('Počet sloupců v listu alba', 'album_list_cols', 0, 'f=index.htm&amp;as=admin_album_columns&amp;ae=admin_album_columns_end'), //cpg1.4
-  array('Velikost náhledu v pixlech', 'alb_list_thumb_size', 0, 'f=index.htm&amp;as=admin_album_thumbnail-size&amp;ae=admin_album_thumbnail-size_end'), //cpg1.4
-  array('Styl hlavní stránky', 'main_page_layout', 0, 'f=index.htm&amp;as=admin_album_list_content&amp;ae=admin_album_list_content_end'), //cpg1.4
-  array('Ukaž první album v kategoriích','first_level',1, 'f=index.htm&amp;as=admin_album_first-level_thumbs&amp;ae=admin_album_first-level_thumbs_end'), //cpg1.4
-  array('Setřiď kategorie alfanumericky (namísto uživatelského nastavení třídění)','categories_alpha_sort',1, 'f=index.htm&amp;as=admin_album_list_alphasort_start&amp;ae=admin_album_list_alphasort_end'), //cpg1.4
-  array('Ukaž celkový počet souborů','link_pic_count',1, 'f=index.htm&amp;as=admin_album_linked_files_start&amp;ae=admin_album_linked_files_end'), //cpg1.4
-
-  'Nastavení náhledů',
-  array('Počet sloupců na stránce s náhledy', 'thumbcols', 0, 'f=index.htm&amp;as=admin_thumbnail_columns&amp;ae=admin_thumbnail_columns_end'), //cpg1.4
-  array('Počet řádků na stránce s náhledy', 'thumbrows', 0, 'f=index.htm&amp;as=admin_thumbnail_rows&amp;ae=admin_thumbnail_rows_end'), //cpg1.4
-  array('Maximální počet štítků pro zobrazení stránek na liště', 'max_tabs', 10, 'f=index.htm&amp;as=admin_thumbnail_tabs&amp;ae=admin_thumbnail_tabs_end'), //cpg1.4
-  array('Zobraz popis souboru (přidaný k názvu) pod náhledem', 'caption_in_thumbview', 1, 'f=index.htm&amp;as=admin_thumbnail_display_caption&amp;ae=admin_thumbnail_display_caption_end'), //cpg1.4
-  array('Zobraz počet zobrazení pod náhledem', 'views_in_thumbview', 1, 'f=index.htm&amp;as=admin_thumbnail_display_views&amp;ae=admin_thumbnail_display_views_end'), //cpg1.4
-  array('Zobraz počet komentářů pod náhledem', 'display_comment_count', 1, 'f=index.htm&amp;as=admin_thumbnail_display_comments&amp;ae=admin_thumbnail_display_comments_end'), //cpg1.4
-  array('Zobraz jméno uploadu pod náhledem', 'display_uploader', 1, 'f=index.htm&amp;as=admin_thumbnail_display_uploader&amp;ae=admin_thumbnail_display_uploader_end'), //cpg1.4
-  //array('Display name of admin uploaders below the thumbnail', 'display_admin_uploader', 1, 'f=index.htm&amp;as=admin_thumbnail_display_admin_uploader&amp;ae=admin_thumbnail_display_admin_uploader_end'), //cpg1.4
-  array('Zobraz jméno souboru pod náhledem', 'display_filename', 1, 'f=index.htm&amp;as=admin_thumbnail_display_filename&amp;ae=admin_thumbnail_display_filename_end'), //cpg1.4
-  //array('Zobraz popis alba', 'alb_desc_thumb', 1, 'f=index.htm&amp;as=admin_thumbnail_display_description&amp;ae=admin_thumbnail_display_description_end'), //cpg1.4
-  array('Přednastavené třídění souborů', 'default_sort_order', 3, 'f=index.htm&amp;as=admin_thumbnail_default_sortorder&amp;ae=admin_thumbnail_default_sortorder_end'), //cpg1.4
-  array('Minimální počet hlasujících, aby byl soubor umístěn mezi \'top-rated\' list', 'min_votes_for_rating', 0, 'f=index.htm&amp;as=admin_thumbnail_minimum_votes&amp;ae=admin_thumbnail_minimum_votes_end'), //cpg1.4
-
-  'Nastavení obrázků', //cpg1.4
-  array('Velikost šířky hlavní tabukly (pixlů nebo %)', 'picture_table_width', 0, 'f=index.htm&amp;as=admin_image_comment_table-width&amp;ae=admin_image_comment_table-width_end'), //cpg1.4
-  array('Zobrazení informací o souboru přednastavené', 'display_pic_info', 1, 'f=index.htm&amp;as=admin_image_comment_info_visible&amp;ae=admin_image_comment_info_visible_end'), //cpg1.4
-  array('Max délka poznámky k obrázku', 'max_img_desc_length', 0, 'f=index.htm&amp;as=admin_image_comment_descr_length&amp;ae=admin_image_comment_descr_length_end'), //cpg1.4
-  array('Max počet písmen ve slově', 'max_com_wlength', 0, 'f=index.htm&amp;as=admin_image_comment_chars_per_word&amp;ae=admin_image_comment_chars_per_word_end'), //cpg1.4
-  array('Ukaž filmový pás náhledů', 'display_film_strip', 1, 'f=index.htm&amp;as=admin_image_comment_filmstrip_toggle&amp;ae=admin_image_comment_filmstrip_toggle_end'), //cpg1.4
-  array('Zobraz jméno souboru ve filmovém pásu náhledů', 'display_film_strip_filename', 1, 'f=index.htm&amp;as=admin_image_comment_display_film_strip_filename&amp;ae=admin_image_comment_display_film_strip_filename_end'), //cpg1.4
-  array('Počet položek ve filmovém pásu náhledů', 'max_film_strip_items', 0, 'f=index.htm&amp;as=admin_image_comment_filmstrip_number&amp;ae=admin_image_comment_filmstrip_number_end'), //cpg1.4
-  array('Slideshow interval v milisekundách (1 sekunda = 1000 milisekund)', 'slideshow_interval', 0, 'f=index.htm&amp;as=admin_image_comment_slideshow_interval&amp;ae=admin_image_comment_slideshow_interval_end'), //cpg1.4
-
-  'Nastavení komentářů', //cpg1.4
-  array('Filtrování zakázaných slov v komentářích', 'filter_bad_words', 1, 'f=index.htm&amp;as=admin_image_comment_bad_words&amp;ae=admin_image_comment_bad_words_end'), //cpg1.4
-  array('Povolit smajlíky v komentářích', 'enable_smilies', 1, 'f=index.htm&amp;as=admin_image_comment_smilies&amp;ae=admin_image_comment_smilies_end'), //cpg1.4
-  array('Povolit několik za sebou jdoucích stejných komentářů od jednoho uživatele (vypnout záplavovou ochranu)', 'disable_comment_flood_protect', 1, 'f=index.htm&amp;as=admin_image_comment_flood&amp;ae=admin_image_comment_flood_end'), //cpg1.4
-  array('Max počet řádků na komentář', 'max_com_lines', 0, 'f=index.htm&amp;as=admin_image_comment_lines&amp;ae=admin_image_comment_lines_end'), //cpg1.4
-  array('Maximální délka komentáře', 'max_com_size', 0, 'f=index.htm&amp;as=admin_image_comment_length&amp;ae=admin_image_comment_length_end'), //cpg1.4
-  array('Oznam adminovi komentáře emailem', 'email_comment_notification', 1, 'f=index.htm&amp;as=admin_image_comment_admin_notify&amp;ae=admin_image_comment_admin_notify_end'), //cpg1.4
-  array('Setřiď pořadí komentářů', 'comments_sort_descending', 17, 'f=index.htm&amp;as=admin_comment_sort_start&amp;ae=admin_comment_sort_end'), //cpg1.4
-  array('Prefix pro anonymní autory komentářů', 'comments_anon_pfx', 0, 'f=index.htm&amp;as=comments_anon_pfx&amp;ae=comments_anon_pfx_end'), //cpg1.4
-
-  'Nastavení souborů a tvorby náhledů',
-  array('Kvalita JPEG souborů', 'jpeg_qual', 0, 'f=index.htm&amp;as=admin_picture_thumbnail_jpeg_quality&amp;ae=admin_picture_thumbnail_jpeg_quality_end'), //cpg1.4
-  array('Max velikost náhledu <a href="#notice2" class="clickable_option">**</a>', 'thumb_width', 0, 'f=index.htm&amp;as=admin_picture_thumbnail_max-dimension&amp;ae=admin_picture_thumbnail_max-dimension_end'), //cpg1.4
-  array('Použij velikost ( šířka nebo výška nebo Max rozlišení pro náhled ) <a href="#notice2" class="clickable_option">**</a>', 'thumb_use', 7, 'f=index.htm&amp;as=admin_picture_thumbnail_use-dimension&amp;ae=admin_picture_thumbnail_use-dimension_end'), //cpg1.4
-  array('Vytvoř střední náhledy','make_intermediate',1, 'f=index.htm&amp;as=admin_picture_thumbnail_intermediate_toggle&amp;ae=admin_picture_thumbnail_intermediate_toggle_end'), //cpg1.4
-  array('Max šířka nebo výška středních náhledů obrázků/videa <a href="#notice2" class="clickable_option">**</a>', 'picture_width', 0, 'f=index.htm&amp;as=admin_picture_thumbnail_intermediate_dimension&amp;ae=admin_picture_thumbnail_intermediate_dimension_end'), //cpg1.4
-  array('Max velikost uploadovaných souborů (KB)', 'max_upl_size', 0, 'f=index.htm&amp;as=admin_picture_thumbnail_max_upload_size&amp;ae=admin_picture_thumbnail_max_upload_size_end'), //cpg1.4
-  array('Max šířka nebo výška uploudovaných obrázků/videí (pixely)', 'max_upl_width_height', 0, 'f=index.htm&amp;as=admin_picture_thumbnail_max_upload_dimension&amp;ae=admin_picture_thumbnail_max_upload_dimension_end'), //cpg1.4
-  array('Automaticky změň velikost obrázku, je-li větší než Max šířka nebo výška', 'auto_resize', 16, 'f=index.htm&amp;as=admin_picture_thumbnail_auto-resize&amp;ae=admin_picture_thumbnail_auto-resize_end'), //cpg1.4
-
-  'Rozšířené nastavení souborů a tvorby náhledů',
-  array('Galerie může být soukromá (Poznámka: jestliže změníte \'Ano\' na \'Ne\' jakákoliv současná soukromá galerie se stane veřejnou.)', 'allow_private_albums', 1, 'f=index.htm&amp;as=admin_picture_thumb_advanced_private_toggle&amp;ae=admin_picture_thumb_advanced_private_toggle_end'), //cpg1.4
-  array('Ukaž ikomu soukromé galerie nepřihlášenému uživateli','show_private',1, 'f=index.htm&amp;as=admin_picture_thumb_advanced_private_icon_show&amp;ae=admin_picture_thumb_advanced_private_icon_show_end'), //cpg1.4
-  array('Zakázaná slova v názvech', 'forbiden_fname_char',0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_filename_forbidden_chars&amp;ae=admin_picture_thumb_advanced_filename_forbidden_chars_end'), //cpg1.4
-  //array('Accepted file extensions for uploaded pictures', 'allowed_file_extensions',0, 'f=index.htm&amp;as=&amp;ae=_end'), //cpg1.4
-  array('Povolené typy obrázků', 'allowed_img_types',0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_pic_extensions&amp;ae=admin_picture_thumb_advanced_pic_extensions_end'), //cpg1.4
-  array('Povolené typy videí', 'allowed_mov_types',0, 'f=index.htm&amp;as=admin_thumbs_advanced_movie&amp;ae=admin_thumbs_advanced_movie_end'), //cpg1.4
-  array('Movie Playback Autostart', 'media_autostart',1, 'f=index.htm&amp;as=admin_movie_autoplay&amp;ae=admin_movie_autoplay_end'), //cpg1.4
-  array('Povolené audio typy', 'allowed_snd_types',0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_audio_extensions&amp;ae=admin_picture_thumb_advanced_audio_extensions_end'), //cpg1.4
-  array('Povolené typy dokumentů', 'allowed_doc_types',0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_doc_extensions&amp;ae=admin_picture_thumb_advanced_doc_extensions_end'), //cpg1.4
-  array('Metoda změny obrázků','thumb_method',2, 'f=index.htm&amp;as=admin_picture_thumb_advanced_resize_method&amp;ae=admin_picture_thumb_advanced_resize_method_end'), //cpg1.4
-  array('Cesta k ImageMagick \'convert\' utility (například /usr/bin/X11/)', 'impath', 0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_im_path&amp;ae=admin_picture_thumb_advanced_im_path_end'), //cpg1.4
-  //array('Allowed image types (only valid for ImageMagick)', 'allowed_img_types',0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_allowed_imagetypes&amp;ae=admin_picture_thumb_advanced_allowed_imagetypes_end'), //cpg1.4
-  array('Parametry příkazové řádky pro ImageMagick', 'im_options', 0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_im_commandline&amp;ae=admin_picture_thumb_advanced_im_commandline_end'), //cpg1.4
-  array('Číst EXIF data v JPEG souborech', 'read_exif_data', 13, 'f=index.htm&amp;as=admin_picture_thumb_advanced_exif&amp;ae=admin_picture_thumb_advanced_exif_end'), //cpg1.4
-  array('Číst IPTC data v JPEG souborech', 'read_iptc_data', 1, 'f=index.htm&amp;as=admin_picture_thumb_advanced_iptc&amp;ae=admin_picture_thumb_advanced_iptc_end'), //cpg1.4
-  array('Adresář pro galerie <a href="#notice1" class="clickable_option">*</a>', 'fullpath', 0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_albums_dir&amp;ae=admin_picture_thumb_advanced_albums_dir_end'), //cpg1.4
-  array('Adresář pro uživatelské soubory <a href="#notice1" class="clickable_option">*</a>', 'userpics', 0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_userpics_dir&amp;ae=admin_picture_thumb_advanced_userpics_dir_end'), //cpg1.4
-  array('Předpona pro střední náhledy <a href="#notice1" class="clickable_option">*</a>', 'normal_pfx', 0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_intermediate_prefix&amp;ae=admin_picture_thumb_advanced_intermediate_prefix_end'), //cpg1.4
-  array('Předpona pro náhledy<a href="#notice1" class="clickable_option">*</a>', 'thumb_pfx', 0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_thumbs_prefix&amp;ae=admin_picture_thumb_advanced_thumbs_prefix_end'), //cpg1.4
-  array('Defaultní mód pro adresáře', 'default_dir_mode', 0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_chmod_folder&amp;ae=admin_picture_thumb_advanced_chmod_folder_end'), //cpg1.4
-  array('Defaultní mód pro soubory', 'default_file_mode', 0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_chmod_files&amp;ae=admin_picture_thumb_advanced_chmod_files_end'), //cpg1.4
-
-  'Nastavení uživatelů',
-  array('Povolit registraci nového uživatele', 'allow_user_registration', 1, 'f=index.htm&amp;as=admin_allow_registration&amp;ae=admin_allow_registration_end'), //cpg1.4
-  array('Povolit přístup nepřihlášeným (host nebo anonym) uživatelům', 'allow_unlogged_access', 1, 'f=index.htm&amp;as=admin_allow_unlogged_access&amp;ae=admin_allow_unlogged_access_end'), //cpg1.4
-  array('Uživatelská registrace vyžaduje emailovou verifikaci', 'reg_requires_valid_email', 1, 'f=index.htm&amp;as=admin_registration_verify&amp;ae=admin_registration_verify_end'), //cpg1.4
-  array('Oznam adminovi uživatelskou registraci emailem', 'reg_notify_admin_email', 1, 'f=index.htm&amp;as=admin_registration_notify&amp;ae=admin_registration_notify_end'), //cpg1.4
-  array('Admin aktivuje registraci', 'admin_activation', 1, 'f=index.htm&amp;as=admin_activation&amp;ae=admin_activation_end'),  //cpg1.4
-  array('Povol dvěma uživatelům stejnou emailovou adresu', 'allow_duplicate_emails_addr', 1, 'f=index.htm&amp;as=admin_allow_duplicate_emails_addr&amp;ae=admin_allow_duplicate_emails_addr_end'), //cpg1.4
-  array('Oznam adminovi uživatelský upload pro očekávané schválení', 'upl_notify_admin_email', 1, 'f=index.htm&amp;as=admin_approval_notify&amp;ae=admin_approval_notify_end'), //cpg1.4
-  array('Povol registrovaným uživatelům prohlížet seznam uživatelů', 'allow_memberlist', 1, 'f=index.htm&amp;as=admin_user_memberlist&amp;ae=admin_user_memberlist_end'), //cpg1.4
-  array('Povol uživateli měnit svou emailovou adresu ve svém profilu', 'allow_email_change', 1, 'f=index.htm&amp;as=admin_user_allow_email_change&amp;ae=admin_user_allow_email_change_end'), //cpg1.4
-  array('Povol uživateli kontrolu nad jeho uploadovanými obrázky v albech', 'users_can_edit_pics', 1, 'f=index.htm&amp;as=admin_user_editpics_public_start&amp;ae=admin_user_editpics_public_end'), //cpg1.4
-  array('Počet neúspěšných přihlášení pro dočasné zablokování uživatele (ochrana proti  útoku silou)', 'login_threshold', 0, 'f=index.htm&amp;as=admin_user_login_start&amp;ae=admin_user_login_end'), //cpg1.4
-  array('Doba dočasného zablokování po neúspěšných pokusech o přihlášení', 'login_expiry', 0, 'f=index.htm&amp;as=admin_user_login_start&amp;ae=admin_user_login_end'), //cpg1.4
-  array('Povol zprávu pro admina', 'report_post', 1, 'f=index.htm&amp;as=admin_user_enable_report&amp;ae=admin_user_enable_report_end'),  //cpg1.4
-
-// custom profile fields,  //cpg1.4
-  'Měnitelná pole v uživatelově profilu (ponechte prázdné, jestli nepoužijete). Použijte až 6 profilů pro vstupy, jako je biografie atd.', //cpg1.4
-  array('Profil 1 jméno', 'user_profile1_name', 0, 'f=index.htm&amp;as=admin_custom&amp;ae=admin_custom_end'), //cpg1.4
-  array('Profil 2 jméno', 'user_profile2_name', 0), //cpg1.4
-  array('Profil 3 jméno', 'user_profile3_name', 0), //cpg1.4
-  array('Profil 4 jméno', 'user_profile4_name', 0), //cpg1.4
-  array('Profil 5 jméno', 'user_profile5_name', 0), //cpg1.4
-  array('Profil 6 jméno', 'user_profile6_name', 0), //cpg1.4
-
-  'Měnitelná pole pro popisky obrázků (ponechte prázdné, jestli nepoužijete)',
-  array('Pole 1 jméno', 'user_field1_name', 0, 'f=index.htm&amp;as=admin_custom_image&amp;ae=admin_custom_image_end'), //cpg1.4
-  array('Pole 2 jméno', 'user_field2_name', 0),
-  array('Pole 3 jméno', 'user_field3_name', 0),
-  array('Pole 4 jméno', 'user_field4_name', 0),
-
-  'Nastavení cookies',
-  array('Jméno cookie', 'cookie_name', 0, 'f=index.htm&amp;as=admin_cookie_name&amp;ae=admin_cookie_name_end'), //cpg1.4
-  array('Cesta k cookie', 'cookie_path', 0, 'f=index.htm&amp;as=admin_cookie_path&amp;ae=admin_cookie_path_end'), //cpg1.4
-
-  'Nastavení emailů (obvykle zde není nic potřeba měnit; ponechte prázdné, jestli nepoužijete)', //cpg1.4
-  array('SMTP Host (when left blank, sendmail will be used)', 'smtp_host', 0, 'f=index.htm&amp;as=admin_email&amp;ae=admin_email_end'), //cpg1.4
-  array('SMTP Jméno', 'smtp_username', 0), //cpg1.4
-  array('SMTP Heslo', 'smtp_password', 0), //cpg1.4
-
-  'Statistika a záznamy přístupů', //cpg1.4
-  array('Mód logování <a href="#notice3" class="clickable_option">***</a>', 'log_mode', 11, 'f=index.htm&amp;as=admin_logging_log_mode&amp;ae=admin_logging_log_mode_end'), //cpg1.4
-  array('Logovat ecardy', 'log_ecards', 1, 'f=index.htm&amp;as=admin_general_log_ecards&amp;ae=admin_general_log_ecards_end'), //cpg1.4
-  array('Udržování detailů ve statistice voleb','vote_details',1, 'f=index.htm&amp;as=admin_logging_votedetails&amp;ae=admin_logging_votedetails_end'), //cpg1.4
-  array('Udržování detailů ve statistice přístupů','hit_details',1, 'f=index.htm&amp;as=admin_logging_hitdetails&amp;ae=admin_logging_hitdetails_end'), //cpg1.4
-
-  'Nastavení údržby', //cpg1.4
-  array('Zapni testovací mód', 'debug_mode', 9, 'f=index.htm&amp;as=debug_mode&amp;ae=debug_mode_end'), //cpg1.4
-  array('Zobraz poznámky v testovacím módu', 'debug_notice', 1, 'f=index.htm&amp;as=admin_misc_debug_notices&amp;ae=admin_misc_debug_notices_end'), //cpg1.4
-  array('Galerie je offline', 'offline', 1, 'f=index.htm&amp;as=admin_general_offline&amp;ae=admin_general_offline_end'), //cpg1.4
-);
-
-
-// ------------------------------------------------------------------------- //
-// File db_ecard.php
-// ------------------------------------------------------------------------- //
-
-if (defined('DB_ECARD_PHP')) $lang_db_ecard_php = array(
-  'title' => 'Zasílání ecards', //cpg1.3.0
-  'ecard_sender' => 'Odesílatel', //cpg1.3.0
-  'ecard_recipient' => 'Příjemce', //cpg1.3.0
-  'ecard_date' => 'Datum', //cpg1.3.0
-  'ecard_display' => 'Zobrazit ecard', //cpg1.3.0
-  'ecard_name' => 'Jméno', //cpg1.3.0
-  'ecard_email' => 'Email', //cpg1.3.0
-  'ecard_ip' => 'IP #', //cpg1.3.0
-  'ecard_ascending' => 'vzestupně', //cpg1.3.0
-  'ecard_descending' =>'sestupně', //cpg1.3.0
-  'ecard_sorted' => 'Setříděné', //cpg1.3.0
-  'ecard_by_date' => 'podle data', //cpg1.3.0
-  'ecard_by_sender_name' => 'podle jména odesílatele', //cpg1.3.0
-  'ecard_by_sender_email' => 'podle emailu odesílatele', //cpg1.3.0
-  'ecard_by_sender_ip' => 'podle IP addressy odesílatele', //cpg1.3.0
-  'ecard_by_recipient_name' => 'podle jména příjemce', //cpg1.3.0
-  'ecard_by_recipient_email' => 'podle emailu příjemce', //cpg1.3.0
-  'ecard_number' => 'zobrazení záznamu %s až %s z %s', //cpg1.3.0
-  'ecard_goto_page' => 'přechod na stranu', //cpg1.3.0
-  'ecard_records_per_page' => 'Záznamu na jedné stránce', //cpg1.3.0
-  'check_all' => 'Zatrhnout vše', //cpg1.3.0
-  'uncheck_all' => 'Odznačit vše', //cpg1.3.0
-  'ecards_delete_selected' => 'Smazat vybrané ecards', //cpg1.3.0
-  'ecards_delete_confirm' => 'Jste si jist, že chcete smazat záznamy? Nastavte checkbox!', //cpg1.3.0
-  'ecards_delete_sure' => 'Jsem si jist.', //cpg1.3.0
-);
-
-
-// ------------------------------------------------------------------------- //
-// File db_input.php
-// ------------------------------------------------------------------------- //
-if (defined('DB_INPUT_PHP')) $lang_db_input_php = array(
-    'empty_name_or_com' => 'Vložte jméno a Váš komentář',
-    'com_added' => 'Váš komentář byl přidán',
-    'alb_need_title' => 'Prosím, dejte albu nadpis !',
-    'no_udp_needed' => 'Aktualizace není třeba.',
-    'alb_updated' => 'Album bylo přidáno',
-    'unknown_album' => 'Vybrané album neexistuje nebo nemáte práva pro upload do tohoto alba',
-    'no_pic_uploaded' => 'Obrázek nebyl uploadován!<br /><br />zkontrolujte zda server podporuje upload souborů, či zda jste opravdu zadal(a) obrázek k uploadu...',
-    'err_mkdir' => '  ERROR: Chyba při vytváření adresáře (nebyl vytvořen) %s !',
-    'dest_dir_ro' => 'Do cílového adresáře %s nemůže skript zapisovat (zkontrolujte práva) !',
-    'err_move' => 'Nelze přesunout %s do %s !',
-    'err_fsize_too_large' => 'Rozměry obrázku, který se snažíte uploadovat, jsou příliš velké (max. velikost je %s x %s) !',
-    'err_imgsize_too_large' => 'Velikost souboru, který se snažíte uploadovat, je příliš velká (max. velikost je %s KB) !',
-    'err_invalid_img' => 'Soubor který jste nahrál(a) na server není validním obrázkem !',
-    'allowed_img_types' => 'Můžete uploadovat pouze obrázky %s .',
-    'err_insert_pic' => 'Obrázek \'%s\' nelze vložit do alba ',
-    'upload_success' => 'Váš obrázek byl nahrán na server bez problémů<br /><br />Bude viditelný po schválení adminem.',
-    'notify_admin_email_subject' => '%s - upozornění na Upload', //cpg1.3.0
-    'notify_admin_email_body' => '%s nahrál do alba obrázek, který vyžaduje vaše potvrzení. Navštivte prosím %s', //cpg1.3.0
-    'info' => 'Informace',
-    'com_added' => 'Komentářu přidáno',
-    'alb_updated' => 'Album aktualizováno',
-    'err_comment_empty' => 'Váš komentář je prázdný !',
-    'err_invalid_fext' => 'Pouze soubory s následujícími koncovkami jsou podporované : <br /><br />%s.',
-    'no_flood' => 'Jste autor posledního komentáře k tomuto obrázku<br /><br />Pokud ho chcete změnit použijte volbu upravit ',
-    'redirect_msg' => 'Právě jste přesměrováván(a).<br /><br /><br />Klikněte na \'POKRAČOVAT\' pokud se stránka nepřesměruje sama',
-    'upl_success' => 'Váš obrázek byl v pořádku přidán',
-    'email_comment_subject' => 'Komentář byl přidán do Coppermine Photo Gallery', //cpg1.3.0
-    'email_comment_body' => 'Někdo přidal komentář do vaší galerie. Prohlédněte si ho na', //cpg1.3.0
-  'album_not_selected' => 'Album není vybráno', //cpg1.4
-  'com_author_error' => 'Registrovaný uživatel již toto jméno používá. Zkuste vybrat jiné.', //cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File delete.php
-// ------------------------------------------------------------------------- //
-
-if (defined('DELETE_PHP')) $lang_delete_php = array(
-    'caption' => 'Legenda(popisek)',
-    'fs_pic' => 'původní velikost obrázku',
-    'del_success' => 'bezchybně smazáno',
-    'ns_pic' => 'normální velikost obrázku',
-    'err_del' => 'nelze smazat',
-    'thumb_pic' => 'náhled',
-    'comment' => 'komentář',
-    'im_in_alb' => 'patří do alba',
-    'alb_del_success' => 'Album \'%s\' smazáno',
-    'alb_mgr' => 'Správce alb',
-    'err_invalid_data' => 'Obdržena chybná data \'%s\'',
-    'create_alb' => 'Vytvářím album \'%s\'',
-    'update_alb' => 'Aktualizuji album \'%s\' s nadpisem \'%s\' a seznamem \'%s\'',
-    'del_pic' => 'Smazat obrázek',
-    'del_alb' => 'Smazat album',
-    'del_user' => 'Smazat uživatele',
-    'err_unknown_user' => 'Vybraný uživatel neexistuje !',
-    'comment_deleted' => 'Komentář bezchybně smazán ! ',
-  'npic' => 'Obrázek', //cpg1.4
-  'pic_mgr' => 'Manažer obrázků', //cpg1.4
-  'update_pic' => 'Obnova obrázku \'%s\' se jménem \'%s\' a indexem \'%s\'', //cpg1.4
-  'username' => 'Uživatelské jméno', //cpg1.4
-  'anonymized_comments' => '%s komentář(ů) anonimizováno', //cpg1.4
-  'anonymized_uploads' => '%s veřejných upload(ů) anonymizováno', //cpg1.4
-  'deleted_comments' => '%s komentář(ů) smazáno', //cpg1.4
-  'deleted_uploads' => '%s veřejných upload(ů) smazáno', //cpg1.4
-  'user_deleted' => 'uživatel %s smazán', //cpg1.4
-  'activate_user' => 'Aktivní uživatel', //cpg1.4
-  'user_already_active' => 'Konto je momentálně aktivní', //cpg1.4
-  'activated' => 'Aktivován', //cpg1.4
-  'deactivate_user' => 'Deaktivovat uživatele', //cpg1.4
-  'user_already_inactive' => 'Konto je momentálně neaktivní', //cpg1.4
-  'deactivated' => 'Deaktivovaný', //cpg1.4
-  'reset_password' => 'Reset hesla', //cpg1.4
-  'password_reset' => 'Heslo bylo resetováno %s', //cpg1.4
-  'change_group' => 'Změň primární skupinu', //cpg1.4
-  'change_group_to_group' => 'Změnit z %s na %s', //cpg1.4
-  'add_group' => 'Přidej sekundární skupinu', //cpg1.4
-  'add_group_to_group' => 'Přidat uživatele %s do skupiny %s. Nyní je členem %s jako primární a %s jako sekundární skupiny.', //cpg1.4
-  'status' => 'Status', //cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File displayecard.php
-// ------------------------------------------------------------------------- //
-
-if (defined('DISPLAYECARD_PHP')) {
-
-$lang_displayecard_php = array(
-  'invalid_data' => 'Data pro ecard, na kterou se snažíte přistoupit jsou poškozené vaším mailovým klientem. Ujistěte se, že link je komplení a nepoškozený.', //cpg1.4
-);
-}
-
-// ------------------------------------------------------------------------- //
-// File displayimage.php
-// ------------------------------------------------------------------------- //
-
-if (defined('DISPLAYIMAGE_PHP')){
-
-$lang_display_image_php = array(
-    'confirm_del' => 'Jste si jist, že chcete smazat tento obrázek ? \\nPřiložené komentáře budou straceny.',
-      'del_pic' => 'SMAZAT TENTO OBRÁZEK',
-    'size' => '%s x %s pixelelů',
-    'views' => '%s krát',
-    'slideshow' => 'Slideshow',
-    'stop_slideshow' => 'ZASTAVIT SLIDESHOW',
-    'view_fs' => 'Klikněte pro zobrazení původního obrázku',
-  'edit_pic' => 'Editece souborových informací', //cpg1.4
-  'crop_pic' => 'Zastřihnout a Rotovat',
-  'set_player' => 'Změna přehrávače',
-);
-
-$lang_picinfo = array(
-    'title' =>'Informace o obrázku',
-    'Filename' => 'Jméno souboru',
-    'Album name' => 'Jméno alba',
-    'Rating' => 'Hodnocení (%s hlas(ů))',
-    'Keywords' => 'Klíčová slova',
-    'File Size' => 'Velikost souboru',
-  'Date Added' => 'Přidáno kdy', //cpg1.4
-    'Dimensions' => 'Rozměry',
-   'Displayed' => 'Zobrazeno',
-  'URL' => 'URL', //cpg1.4
-  'Make' => 'Vytvořeno', //cpg1.4
-  'Model' => 'Model', //cpg1.4
-  'DateTime' => 'Datum a čas', //cpg1.4
-  'ISOSpeedRatings'=>'ISO', //cpg1.4
-  'MaxApertureValue' => 'Max Aperture', //cpg1.4
-  'FocalLength' => 'Focal length', //cpg1.4
-  'Comment' => 'Komentář',
-  'addFav'=>'Přidat do oblíbených',
-  'addFavPhrase'=>'Oblíbené',
-  'remFav'=>'Vyjmout z oblíbených',
-  'iptcTitle'=>'IPTC Title',
-  'iptcCopyright'=>'IPTC Copyright',
-  'iptcKeywords'=>'IPTC Klíčové slova',
-  'iptcCategory'=>'IPTC Kategorie',
-  'iptcSubCategories'=>'IPTC Podkategorie',
-  'ColorSpace' => 'Barevná hloubka', //cpg1.4
-  'ExposureProgram' => 'Expoziční program', //cpg1.4
-  'Flash' => 'Flash', //cpg1.4
-  'MeteringMode' => 'Metering Mode', //cpg1.4
-  'ExposureTime' => 'Expoziční čas Time', //cpg1.4
-  'ExposureBiasValue' => 'Exposure Bias', //cpg1.4
-  'ImageDescription' => 'Popiska obrázku', //cpg1.4
-  'Orientation' => 'Orientace', //cpg1.4
-  'xResolution' => 'X Rozlišení', //cpg1.4
-  'yResolution' => 'Y Rozlišení', //cpg1.4
-  'ResolutionUnit' => 'Jednotka rozlišení', //cpg1.4
-  'Software' => 'Software', //cpg1.4
-  'YCbCrPositioning' => 'YCbCrPositioning', //cpg1.4
-  'ExifOffset' => 'Exif Offset', //cpg1.4
-  'IFD1Offset' => 'IFD1 Offset', //cpg1.4
-  'FNumber' => 'FNumber', //cpg1.4
-  'ExifVersion' => 'Exif Version', //cpg1.4
-  'DateTimeOriginal' => 'Datum a čas Originalu', //cpg1.4
-  'DateTimedigitized' => 'Datum a čas digitalizace', //cpg1.4
-  'ComponentsConfiguration' => 'Konfigurace komponent', //cpg1.4
-  'CompressedBitsPerPixel' => 'Komprese Bity na Pixel', //cpg1.4
-  'LightSource' => 'Osvětlení', //cpg1.4
-  'ISOSetting' => 'ISO Nastavení', //cpg1.4
-  'ColorMode' => 'Berevný mód', //cpg1.4
-  'Quality' => 'Kvalita', //cpg1.4
-  'ImageSharpening' => 'Ostření', //cpg1.4
-  'FocusMode' => 'Zaostřovací mód', //cpg1.4
-  'FlashSetting' => 'Nastavení blesku', //cpg1.4
-  'ISOSelection' => 'ISO Výběr', //cpg1.4
-  'ImageAdjustment' => 'úprava obrázku', //cpg1.4
-  'Adapter' => 'Adapter', //cpg1.4
-  'ManualFocusDistance' => 'Vzdálenost manuálního zaostření', //cpg1.4
-  'DigitalZoom' => 'Digitalní Zoom', //cpg1.4
-  'AFFocusPosition' => 'AF Focus Position', //cpg1.4
-  'Saturation' => 'Saturace', //cpg1.4
-  'NoiseReduction' => 'Noise Reduction', //cpg1.4
-  'FlashPixVersion' => 'Flash Pix Version', //cpg1.4
-  'ExifImageWidth' => 'Exif Image Width', //cpg1.4
-  'ExifImageHeight' => 'Exif Image Height', //cpg1.4
-  'ExifInteroperabilityOffset' => 'Exif Interoperability Offset', //cpg1.4
-  'FileSource' => 'Zdroj', //cpg1.4
-  'SceneType' => 'Typ scény', //cpg1.4
-  'CustomerRender' => 'Customer Render', //cpg1.4
-  'ExposureMode' => 'Expoziční mód', //cpg1.4
-  'WhiteBalance' => 'Nastavení bílé', //cpg1.4
-  'DigitalZoomRatio' => 'Digital Zoom Ratio', //cpg1.4
-  'SceneCaptureMode' => 'Scene Capture Mode', //cpg1.4
-  'GainControl' => 'Gain Control', //cpg1.4
-  'Contrast' => 'Kontrast', //cpg1.4
-  'Sharpness' => 'Ostření', //cpg1.4
-  'ManageExifDisplay' => 'Upravit Exif zobrazení', //cpg1.4
-  'submit' => 'Odeslat', //cpg1.4
-  'success' => 'Informace byly úspěšně aktualizovány.', //cpg1.4
-  'details' => 'Detaily', //cpg1.4
-);
-
-$lang_display_comments = array(
-    'OK' => 'OK',
-    'edit_title' => 'Upravit tento komentář',
-    'confirm_delete' => 'Jste si jist(a), že chcete smazat tento komentář ?',
-    'add_your_comment' => 'Přidat komentář',
-    'name'=>'Jméno',
-    'comment'=>'Komentář',
-    'your_name' => 'Anonym',
-  'report_comment_title' => 'Pošli tento komentář administrátorovi.', //cpg1.4
-);
-
-$lang_fullsize_popup = array(
-  'click_to_close' => 'Klikni na obrázek pro zavření okna',
-);
-
-}
-
-// ------------------------------------------------------------------------- //
-// File ecard.php
-// ------------------------------------------------------------------------- //
-
-if (defined('ECARDS_PHP') || defined('DISPLAYECARD_PHP')) $lang_ecard_php =array(
-    'title' => 'Poslat pohlednici',
-    'invalid_email' => '<b>Varování</b> : neplatná emailová adresa !',
-    'ecard_title' => 'Pohlednice ze serveru %s pro vás/tebe',
-    'error_not_image' => 'Pouze obrázky mohou být poslány jako ecard.', //cpg1.3.0
-    'view_ecard' => 'Pokud se pohlednice nezobrazila klikni na link',
-  'view_ecard_plaintext' => 'To view the ecard, copy and paste this url into your browser\'s address bar:', //cpg1.4
-    'view_more_pics' => 'Klikni pro další obrázky !',
-    'send_success' => 'Vaše pohlednice byla odeslána',
-    'send_failed' => 'Omlouváme se, ale server nebyl schopen odeslat Vaší pohlednici zkuste
-     to znovu za chvíli...',
-    'from' => 'Od',
-    'your_name' => 'Vaše jméno',
-    'your_email' => 'Váš email',
-    'to' => 'Komu',
-    'rcpt_name' => 'Jméno příjemce',
-    'rcpt_email' => 'Doručit na email',
-    'greetings' => 'Pozdrav/oslovení',
-    'message' => 'Zpráva',
-  'ecards_footer' => 'Odesláno od %s z IP %s v %s (čas alba)', //cpg1.4
-  'preview' => 'Náhled ecard', //cpg1.4
-  'preview_button' => 'Náhled', //cpg1.4
-  'submit_button' => 'Poslat ecard', //cpg1.4
-  'preview_view_ecard' => 'Toto je alternativní link pro ecard. Nefunguje jako náhled.', //cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File report_file.php //cpg1.4
-// ------------------------------------------------------------------------- //
-
-if (defined('REPORT_FILE_PHP') || defined('DISPLAYREPORT_PHP')) $lang_report_php =array(
-  'title' => 'Report administrátorovi', //cpg1.4
-  'invalid_email' => '<b>Pozor</b> : vadný email !', //cpg1.4
-  'report_subject' => 'Výstraha z %s v albu %s', //cpg1.4
-  'view_report' => 'Alternativní link jestliže není report korektně zobrazen', //cpg1.4
-  'view_report_plaintext' => 'Pro zobrazení reportu zkopírujte link do prohlížeče.', //cpg1.4
-  'view_more_pics' => 'Album', //cpg1.4
-  'send_success' => 'Váš report byl zaslán.', //cpg1.4
-  'send_failed' => 'Promiňte, ale server nemůže odeslat váš report...', //cpg1.4
-  'from' => 'Od', //cpg1.4
-  'your_name' => 'Vaše jméno', //cpg1.4
-  'your_email' => 'Vaše emailová adresa', //cpg1.4
-  'to' => 'Komu', //cpg1.4
-  'administrator' => 'Administrator/Mód', //cpg1.4
-  'subject' => 'Subject', //cpg1.4
-  'comment_field_name' => 'Report odeslán "%s"', //cpg1.4
-  'reason' => 'Důvod', //cpg1.4
-  'message' => 'Zpráva', //cpg1.4
-  'report_footer' => 'Odeslán %s z IP %s v %s (čas album)', //cpg1.4
-  'obscene' => 'obscéní', //cpg1.4
-  'offensive' => 'brutální', //cpg1.4
-  'misplaced' => 'staré/nepatří sem', //cpg1.4
-  'missing' => 'chybí', //cpg1.4
-  'issue' => 'error/nelze prohlížet', //cpg1.4
-  'other' => 'ostatní', //cpg1.4
-  'refers_to' => 'Soubor report pro', //cpg1.4
-  'reasons_list_heading' => 'důvod(y) pro report:', //cpg1.4
-  'no_reason_given' => 'nebyl uveden důvod', //cpg1.4
-  'go_comment' => 'Jdi na komentář', //cpg1.4
-  'view_comment' => 'Zobraz plný report s komentářem', //cpg1.4
-  'type_file' => 'soubor', //cpg1.4
-  'type_comment' => 'komentář', //cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File editpics.php
-// ------------------------------------------------------------------------- //
-
-if (defined('EDITPICS_PHP')) $lang_editpics_php = array(
-    'pic_info' => 'Info&nbsp;o obrázku',
-    'album' => 'Album',
-    'title' => 'Nadpis',
-  'filename' => 'Jméno souboru', //cpg1.4
-    'desc' => 'Popis',
-    'keywords' => 'Klíčová slova',
-  'new_keyword' => 'Nová klíčová slova', //cpg1.4
-  'new_keywords' => 'Nové klíčové slovo nalezeno', //cpg1.4
-  'existing_keyword' => 'Existující klíčové slovo', //cpg1.4
-    'pic_info_str' => '%sx%s - %sKB - %s zobrazení - %s hlas(ů)',
-    'approve' => 'Schválit obrázek',
-    'postpone_app' => 'Odložit schválení',
-    'del_pic' => 'Smazat obrázek',
-  'del_all' => 'Odstranit všechny soubory', //cpg1.4
-    'read_exif' => 'Načíst znovu EXIF info', //cpg1.3.0
-    'reset_view_count' => 'Vynulovat počítadlo zobrazení',
-  'reset_all_view_count' => 'Resetovat všechny počítadla zobrazení', //cpg1.4
-    'reset_votes' => 'Vynulovat hlasy',
-  'reset_all_votes' => 'Resetovat všechny volby', //cpg1.4
-    'del_comm' => 'Smazat komentáře',
-  'del_all_comm' => 'Vypazat všechny komentáře', //cpg1.4
-    'upl_approval' => 'Potvrzení uploadu',
-    'edit_pics' => 'Upravit obrázky',
-    'see_next' => 'Zobrazit další obrázky',
-    'see_prev' => 'Zobrazit předchozí obrázky',
-    'n_pic' => '%s obrázků',
-    'n_of_pic_to_disp' => 'Počet obrázků k zobrazení',
-    'apply' => 'Uložit změny',
-    'crop_title' => 'Coppermine Editor Obrázků', //cpg1.3.0
-         'preview' => 'Náhled', //cpg1.3.0
-    'save' => 'Ulož obrázek', //cpg1.3.0
-    'save_thumb' =>'Ulož jako náhled', //cpg1.3.0
-    'sel_on_img' =>'Výběr není celý v obrázeku!', //js-alert //cpg1.3.0
-  'album_properties' =>'Vlastnosti alba', //cpg1.4
-  'parent_category' =>'Nadřízená kategorie', //cpg1.4
-  'thumbnail_view' =>'Náhled', //cpg1.4
-  'select_unselect' =>'označ/odoznač vše', //cpg1.4
-  'file_exists' => "Cílový soubor '%s' již existuje.", //cpg1.4
-  'rename_failed' => "Chyba při přejmenovávání '%s' to '%s'.", //cpg1.4
-  'src_file_missing' => "Zdrojový soubor '%s' chybí.", // cpg 1.4
-  'mime_conv' => "Nemohu konvertovat soubor '%s' do '%s'",//cpg1.4
-  'forb_ext' => 'Zakázaná souborová přípona.',//cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File faq.php
-// ------------------------------------------------------------------------- //
-
-if (defined('FAQ_PHP')) $lang_faq_php = array(
-  'faq' => 'Frequently Asked Questions',
-  'toc' => 'Tabulka s nápovědou',
-  'question' => 'Otázka: ',
-  'answer' => 'Odpověď: ',
-);
-
-if (defined('FAQ_PHP')) $lang_faq_data = array(
-  'General FAQ - only english',
-  array('Why do I need to register?', 'Registration may or may not be required by the administrator. Registration gives a member additional features such as uploading, having a favorite list, rating pictures and posting comments etc.', 'allow_user_registration', '1'),
-  array('How do I register?', 'Go to &quot;Register&quot; and fill out the required fields (and the optional ones if you want to).<br />If the Administrator has Email Activation enabled, then after submitting your information you should recieve an email message at the address that you have submitted while registering, giving you instructions on how to activate your membership. Your membership must be activated in order for you to login.', 'allow_user_registration', '1'), //cpg1.4
-  array('How Do I login?', 'Go to &quot;Login&quot;, submit your username and password and check &quot;Remember Me&quot; so you will be logged in on the site if you should leave it.<br /><b>IMPORTANT:Cookies must be enabled and the cookie from this site must not be deleted in order to use &quot;Remember Me&quot;.</b>', 'offline', 0),
-  array('Why can I not login?', 'Did you register and click the link that was sent to you via email?. The link will activate your account. For other login problems contact the site administrator.', 'offline', 0),
-  array('What if I forgot my password?', 'If this site has a &quot;Forgot password&quot; link then use it. Other than that contact the site administrator for a new password.', 'offline', 0),
-  //array('What if I changed my email address?', 'Just simply login and change your email address through &quot;Profile&quot;', 'offline', 0),
-  array('How do I save a picture to &quot;My Favorites&quot;?', 'Click on a picture and click on the &quot;picture info&quot; link (<img src="images/info.gif" width="16" height="16" border="0" alt="Picture information" />); scroll down to the picture information set and click &quot;Add to fav&quot;.<br />The administrator may have the &quot;picture information&quot; on by default.<br />IMPORTANT:Cookies must be enabled and the cookie from this site must not be deleted.', 'offline', 0),
-  array('How do I rate a file?', 'Click on a thumbnail and go to the bottom and choose a rating.', 'offline', 0),
-  array('How do I post a comment for a picture?', 'Click on a thumbnail and go to the bottom and post a comment.', 'offline', 0),
-  array('How do I upload a file?', 'Go to &quot;Upload&quot;and select the album that you want to upload to. Click &quot;Browse,&quot; find the file to upload, and click &quot;open.&quot; Add a title and description if you want. Click &quot;Submit&quot;.<br /><br />Alternatively, for those users using <b>Windows XP</b>, you can upload multiple files directly to your own private albums using the XP Publishing wizard.<br />For instructions on how, and to get the required registry file, click <a href="xp_publish.php">here.</a>', 'allow_private_albums', 1), //cpg1.4
-  array('Where do I upload a picture to?', 'You will be able to upload a file to one of your albums in &quot;My Gallery&quot;. The Administrator may also allow you to upload a file to one or more of the albums in the Main Gallery.', 'allow_private_albums', 0),
-  array('What type and size of a file can I upload?', 'The size and type (jpg, png, etc.) is up to the administrator.', 'offline', 0),
-  array('How do I create, rename or delete an album in &quot;My Gallery&quot;?', 'You should already be in &quot;Admin-Mode&quot;<br />Go to &quot;Create/Order My Albums&quot;and click &quot;New&quot;. Change &quot;New Album&quot; to your desired name.<br />You can also rename any of the albums in your gallery.<br />Click &quot;Apply Modifications&quot;.', 'allow_private_albums', 0),
-  array('How can I modify and restrict users from viewing my albums?', 'You should already be in &quot;Admin Mode&quot;<br />Go to &quot;Modify My Albums. On the &quot;Update Album&quot; bar, select the album that you want to modify.<br />Here, you can change the name, description, thumbnail picture, restrict viewing and comment/rating permissions.<br />Click &quot;Update Album&quot;.', 'allow_private_albums', 0),
-  array('How can I view other users\' galleries?', 'Go to &quot;Album List&quot; and select &quot;User Galleries&quot;.', 'allow_private_albums', 0),
-  array('What are cookies?', 'Cookies are a plain text piece of data that is sent from a website and is put on to your computer.<br />Cookies usually allow a user to leave and return to the site without having to login again and other various chores.', 'offline', 0),
-  array('Where can I get this program for my site?', 'Coppermine is a free Multimedia Gallery, released under GNU GPL. It is full of features and has been ported to various platforms. Visit the <a href="http://coppermine-gallery.net/">Coppermine Home Page</a> to find out more or download it.', 'offline', 0),
-
-  'Navigating the Site - Only english',
-  array('What\'s &quot;Album List&quot;?', 'This will show you the entire category you are currently in, with a link to each album. If you are not in a category, it will show you the entire gallery with a link to each category. Thumbnails may be a link to the category.', 'offline', 0),
-  array('What\'s &quot;My Gallery&quot;?', 'This feature lets users create their own galleries and add, delete or modify albums as well as upload to them.', 'allow_private_albums', 1), //cpg1.4
-  array('What\'s the difference between &quot;Admin Mode&quot; and &quot;User Mode&quot;?', 'This feature, when in admin-mode, allows a user to modify their gallery (as well as others if allowed by the administrator).', 'allow_private_albums', 0),
-  array('What\'s &quot;Upload Picture&quot;?', 'This feature allows a user to upload a file (size and type is set by the site administrator) to a gallery selected by either you or the administrator.', 'allow_private_albums', 0),
-  array('What\'s &quot;Last Uploads&quot;?', 'This feature shows the last uploads to the site.', 'offline', 0),
-  array('What\'s &quot;Last Comments&quot;?', 'This feature shows the last comments along with the files posted by users.', 'offline', 0),
-  array('What\'s &quot;Most Viewed&quot;?', 'This feature shows the most viewed files by all users (whether logged in or not).', 'offline', 0),
-  array('What\'s &quot;Top Rated&quot;?', 'This feature shows the top rated files rated by the users, showing the average rating (e.g: five users each gave a <img src="images/rating3.gif" width="65" height="14" border="0" alt="" />: the file would have an average rating of <img src="images/rating3.gif" width="65" height="14" border="0" alt="" /> ;Five users rated the file from 1 to 5 (1,2,3,4,5) would result in an average <img src="images/rating3.gif" width="65" height="14" border="0" alt="" /> .)<br />The ratings go from <img src="images/rating5.gif" width="65" height="14" border="0" alt="best" /> (best) to <img src="images/rating0.gif" width="65" height="14" border="0" alt="worst" /> (worst).', 'offline', 0),
-  array('What\'s &quot;My Favorites&quot;?', 'This feature will let a user store a favorite file in the cookie that was sent to your computer.', 'offline', 0),
-);
-
-
-// ------------------------------------------------------------------------- //
-// File forgot_passwd.php
-// ------------------------------------------------------------------------- //
-
-if (defined('FORGOT_PASSWD_PHP')) $lang_forgot_passwd_php = array(
-  'forgot_passwd' => 'Připomenutí hesla', //cpg1.3.0
-  'err_already_logged_in' => 'Už jste přihlášen(a)!', //cpg1.3.0
-  'enter_username_email' => 'Zadejte vaše přihlašovací jméno a email adresu', //cpg1.3.0
-  'submit' => 'Proveď', //cpg1.3.0
-  'illegal_session' => 'Připomenutí hesla se nezdařilo nebo expirovalo.', //cpg1.4
-  'failed_sending_email' => 'Email s připomenutím hesla nemohl být odeslán!', //cpg1.3.0
-  'email_sent' => 'Na adresu %s byl odeslán dopis z vaším uživatelským jménem a heslem', //cpg1.3.0
-  'verify_email_sent' => 'An email has been sent to %s. Please check your email to complete the process.', //cpg1.4
-  'err_unk_user' => 'Zadaný uživatel neexistuje!', //cpg1.3.0
-  'passwd_reminder_subject' => '%s - Připomenuti hesla', //cpg1.3.0
-  'passwd_reminder_body' => 'Požádali jste o připomenutí vašich přihlašovacích údajů:
-Klikněte na následující link:
-
-%s', //cpg1.4
-  'passwd_reset_subject' => '%s - Vaše nové heslo', //cpg1.4
-  'passwd_reset_body' => 'Zde je nové heslo, které požadujete:
-Uživatelské jméno: %s
-Heslo:             %s
-Klikněte na %s pro přihlášení.', //cpg1.3.0
-);
-
-// ------------------------------------------------------------------------- //
-// File groupmgr.php
-// ------------------------------------------------------------------------- //
-
-if (defined('GROUPMGR_PHP')) $lang_groupmgr_php = array(
-    'group_name' => 'Jméno skupiny',
-  'permissions' => 'Oprávnění', //cpg1.4
-  'public_albums' => 'Upload veřejného alba', //cpg1.4
-  'personal_gallery' => 'Osobní galerie', //cpg1.4
-  'upload_method' => 'Upload methoda', //cpg1.4
-    'disk_quota' => 'Disková kvóta',
-  'rating' => 'Rating', //cpg1.4
-  'ecards' => 'Ecards', //cpg1.4
-  'comments' => 'Komentáře', //cpg1.4
-  'allowed' => 'Povolení', //cpg1.4
-  'approval' => 'Schválení', //cpg1.4
-  'boxes_number' => 'Počet. boxů', //cpg1.4
-  'variable' => 'proměnná', //cpg1.4
-  'fixed' => 'fixní', //cpg1.4
-    'apply' => 'Uložit změny',
-    'create_new_group' => 'Vytvořit novou skupinu',
-    'del_groups' => 'Smazat vybrané skupiny',
-    'confirm_del' => 'Pokud smažete tuto skupinu všichni uživatelé, patřící do této skupiny budou přesunuti do skupiny \'Registered\' !\n\nPřejete si pokračovat ?',
-    'title' => 'Spravovat uživatelské skupiny',
-  'num_file_upload' => 'Boxy pro upload soubory', //cpg1.4
-  'num_URI_upload' => 'Boxy pro upload URI', //cpg1.4
-  'reset_to_default' => 'Resetovat na přednastavené jméno (%s) - doporučeno!', //cpg1.4
-  'error_group_empty' => 'Tabulka skupinu byla prázdná !<br /><br />Přednastavené skupiny byly vytvořeny, Prosím reloadujte tuto stránku', //cpg1.4
-  'explain_greyed_out_title' => 'Proč je tato řada šedivá mimo?', //cpg1.4
-  'explain_guests_greyed_out_text' => 'Nemůžete změnit vlastnosti této skupiny, protože máte nastaven  &quot; Povolení neregistrovaných uživatelů. Všichni hosté %s nemusí nic dělat, ale p5enastaven9 se ned8 aplikovat.', //cpg1.4
-  'explain_banned_greyed_out_text' => 'Nemůžete měnit vlastnosti skupiny %s protožee její členové nikdy nic nemohli dělat.', //cpg1.4
-  'group_assigned_album' => 'Připojená alba', //cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File index.php
-// ------------------------------------------------------------------------- //
-
-if (defined('INDEX_PHP')){
-
-$lang_index_php = array(
-    'welcome' => 'Vítejte !'
-);
-
-$lang_album_admin_menu = array(
-    'confirm_delete' => 'Jste si jist(a), že chcete smazat tuto galerii? \\nVšechny obrázky a komentáře půjdou do pekla taky. Přejete si pokračovat.',
-    'delete' => 'SMAZAT',
-    'modify' => 'VLASTNOSTI',
-    'edit_pics' => 'UPRAVIT OBR.',
-);
-
-$lang_list_categories = array(
-    'home' => 'Domů',
-    'stat1' => '<b>[pictures]</b> obrázků v <b>[albums]</b> albech v <b>[cat]</b> kategoriích s <b>[comments]</b> komentáři zobrazeno <b>[views]</b> krát',
-    'stat2' => '<b>[pictures]</b> obrázků v <b>[albums]</b> albech zobrazeno <b>[views]</b> krát',
-    'xx_s_gallery' => 'z %s galerie',
-    'stat3' => '<b>[pictures]</b> obrázků v <b>[albums]</b> albech s <b>[comments]</b> komentáři zobrazeno <b>[views]</b> krát'
-);
-
-$lang_list_users = array(
-    'user_list' => 'Seznam uživatelů',
-    'no_user_gal' => 'Nejsou žádné uživatelské galerie',
-    'n_albums' => '%s alb',
-    'n_pics' => '%s obrázků'
-);
-
-$lang_list_albums = array(
-    'n_pictures' => '%s obrázků',
-    'last_added' => ', poslední přidán %s',
-  'n_link_pictures' => '%s připojených souborů', //cpg1.4
-  'total_pictures' => '%s souborů celkem', //cpg1.4
-);
-
-}
-
-// ------------------------------------------------------------------------- //
-// File keywordmgr.php //cpg1.4
-// ------------------------------------------------------------------------- //
-
-if (defined('KEYWORDMGR_PHP')) $lang_keywordmgr_php = array(
-  'title' => 'Nastavení klíčových slov', //cpg1.4
-  'edit' => 'editace', //cpg1.4
-  'delete' => 'mazání', //cpg1.4
-  'search' => 'hledání', //cpg1.4
-  'keyword_test_search' => 'hledání pro %s v novém okně', //cpg1.4
-  'keyword_del' => 'vymazat klíčové slovo %s', //cpg1.4
-  'confirm_delete' => 'Je to nezbytně nutné vymazat klíčové slovo %s ze všech galerií?', //cpg1.4  // js-alert
-  'change_keyword' => 'změň klíčové slovo', //cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File login.php
-// ------------------------------------------------------------------------- //
-
-if (defined('LOGIN_PHP')) $lang_login_php = array(
-    'login' => 'Přihlášení',
-    'enter_login_pswd' => 'Zadejte Vaše jméno a heslo pro přihlášení',
-    'username' => 'Jméno',
-    'password' => 'Heslo',
-    'remember_me' => 'Pamatuj si mě',
-    'welcome' => 'Vítej u nás %s ...',
-    'err_login' => '*** Chyba při přihlášení skuste to znova ***',
-    'err_already_logged_in' => 'Již jste přihlášen !',
-    'forgot_password_link' => 'Zapomněl jsem své heslo.', //cpg1.3.0
-  'cookie_warning' => 'Varování, váš browser neakceptuje skripty s cookies', //cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File logout.php
-// ------------------------------------------------------------------------- //
-
-if (defined('LOGOUT_PHP')) $lang_logout_php = array(
-    'logout' => 'Odhlásit',
-    'bye' => 'Tak si to užij zase jinde %s , tak šup šup...',
-    'err_not_loged_in' => 'Nejste přihlášen !',
-);
-
-// ------------------------------------------------------------------------- //
-// File minibrowser.php  //cpg1.4
-// ------------------------------------------------------------------------- //
-
-if (defined('MINIBROWSER_PHP')) $lang_minibrowser_php = array(
-  'close' => 'zavřít', //cpg1.4
-  'submit' => 'OK', //cpg1.4
-  'up' => 'nahoru o jednu úroveň', //cpg1.4
-  'current_path' => 'současná cesta', //cpg1.4
-  'select_directory' => 'prosím vyberte adresář', //cpg1.4
-  'click_to_close' => 'Klikněte na obrázek pro uzavření okna',
-);
-
-// ------------------------------------------------------------------------- //
-// File modifyalb.php
-// ------------------------------------------------------------------------- //
-
-if (defined('MODIFYALB_PHP')) $lang_modifyalb_php = array(
-    'upd_alb_n' => 'Aktualizovat alba %s',
-    'general_settings' => 'Základní nastavení',
-    'alb_title' => 'Nadpis alba',
-    'alb_cat' => 'Kategorie alba',
-    'alb_desc' => 'Popis alba',
-  'alb_keyword' => 'Klíčová slova alba', //cpg1.4
-    'alb_thumb' => 'Náhled reprezentující album',
-    'alb_perm' => 'Přístupová práva pro toto album',
-    'can_view' => 'Album můžou prohlížet',
-    'can_upload' => 'Návštěvníci smějí přidávat obrázky',
-    'can_post_comments' => 'Povolit komentáře',
-    'can_rate' => 'Návštěvníci mohou hlasovat',
-    'user_gal' => 'Galerie uživatele',
-    'no_cat' => '* Není kategorie *',
-    'alb_empty' => 'Album je prázdné',
-    'last_uploaded' => 'Nejnovější obrázek',
-    'public_alb' => 'kdokoliv (veřejné album)',
-    'me_only' => 'Pouze já',
-    'owner_only' => 'Pouze vlastník (%s)',
-    'groupp_only' => 'Členové skupiny \'%s\'',
-    'err_no_alb_to_modify' => 'Galerii nelze modifikovat v databázi.',
-    'update' => 'Aktualizovat galerii',
-  'reset_album' => 'Reset alba', //cpg1.4
-  'reset_views' => 'Reset počítadel zobrazení na &quot;0&quot; v %s', //cpg1.4
-  'reset_rating' => 'Reset hodnocení pro všechny soubory v %s', //cpg1.4
-  'delete_comments' => 'Vymaž všechny komentáře vytvořené %s', //cpg1.4
-  'delete_files' => '%szneviditelni%s vymazané všechny soubory v %s', //cpg1.4
-  'views' => 'zobrazení', //cpg1.4
-  'votes' => 'volba', //cpg1.4
-  'comments' => 'komentáře', //cpg1.4
-  'files' => 'soubory', //cpg1.4
-  'submit_reset' => 'odešli změny', //cpg1.4
-  'reset_views_confirm' => 'Jsem si jist', //cpg1.4
-  'notice1' => '(*) závisející na %sskupinách%s nastavení',  //cpg1.4 //(do not translate %s!)
-  'alb_password' => 'Heslo alba', //cpg1.4
-  'alb_password_hint' => 'Nápověda pro heslo alba', //cpg1.4
-  'edit_files' =>'Editace souborů', //cpg1.4
-  'parent_category' =>'Nadřízená kategorie', //cpg1.4
-  'thumbnail_view' =>'Náhled', //cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File phpinfo.php
-// ------------------------------------------------------------------------- //
-
-if (defined('PHPINFO_PHP')) $lang_phpinfo_php = array(
-  'php_info' => 'PHP info',
-  'explanation' => 'Tento výstup je generován jako PHP-funkce <a href="http://www.php.net/phpinfo">phpinfo()</a>, zobrazena pomocí Coppermine. ',
-  'no_link' => 'Umožnit ostatním prohlížet phpinfo může být bezpečnostní problém. Nezveřejňujte link na tuto stránku.',
-);
-
-// ------------------------------------------------------------------------- //
-// File picmgr.php //cpg1.4
-// ------------------------------------------------------------------------- //
-if (defined('PICMGR_PHP')) $lang_picmgr_php = array(
-  'pic_mgr' => 'Manažer obrázků', //cpg1.4
-  'select_album' => 'Vyber album', //cpg1.4
-  'delete' => 'Vymaž', //cpg1.4
-  'confirm_delete1' => 'Je nezbytné vymazat tento obrázek?', //cpg1.4
-  'confirm_delete2' => '\nObrázek bude nenávratně smazán.', //cpg1.4
-  'apply_modifs' => 'Aplikuj změny', //cpg1.4
-  'confirm_modifs' => 'Potvrď změny', //cpg1.4
-  'pic_need_name' => 'Obrázek musí mít jméno!', //cpg1.4
-  'no_change' => 'Neudělal jsi žádné změny !', //cpg1.4
-  'no_album' => '* žádné album *', //cpg1.4
-  'explanation_header' => 'Uživatelská pravidla třídění mohou být nastavena pouze pokud jsou specifikována v účtu', //cpg1.4
-  'explanation1' => 'Admin nastavil "přednastavená třídící pravidla pro soubory" v konfiguraci "Pozice sestupně" nebo "Pozice vzestupně" (globální nastavení pro všechny uživatele kteří nechtějí třídit individuálně)', //cpg1.4
-  'explanation2' => 'Uživatel vybral "Pozice sestupně" nebo "Pozice vzestupně" na náhledové stránce (uživatelské nastavení)', //cpg1.4
-);
-
-
-// ------------------------------------------------------------------------- //
-// File pluginmgr.php //cpg1.4
-// ------------------------------------------------------------------------- //
-
-if (defined('PLUGINMGR_PHP')){
-
-$lang_pluginmgr_php = array(
-  'confirm_uninstall' => 'Chcete určitě ODINSTALOVAT tento plugin', //cpg1.4
-  'confirm_delete' => 'Chcete určitě SMAZAT tento plugin', //cpg1.4
-  'pmgr' => 'Manažer pluginů', //cpg1.4
-  'name' => 'Jméno', //cpg1.4
-  'author' => 'Author', //cpg1.4
-  'desc' => 'Poznámka', //cpg1.4
-  'vers' => 'v', //cpg1.4
-  'i_plugins' => 'Instalované pluginy', //cpg1.4
-  'n_plugins' => 'Plugin není instalován', //cpg1.4
-  'none_installed' => 'Nic nebylo instalováno', //cpg1.4
-  'operation' => 'Operace', //cpg1.4
-  'not_plugin_package' => 'Soubor uploadovaný není plugin balík.', //cpg1.4
-  'copy_error' => 'Vyskytla se chyba při kopírování balíku do složky pluginů.', //cpg1.4
-  'upload' => 'Upload', //cpg1.4
-  'configure_plugin' => 'Konfigurovat plugin', //cpg1.4
-  'cleanup_plugin' => 'Vyčistit plugin', //cpg1.4
-);
-}
-
-// ------------------------------------------------------------------------- //
-// File ratepic.php
-// ------------------------------------------------------------------------- //
-
-if (defined('RATEPIC_PHP')) $lang_rate_pic_php = array(
-    'already_rated' => 'Tento obázek jste již hodnotil(a)',
-    'rate_ok' => 'Vás hlas byl přijat. Děkujeme.',
-    'forbidden' => 'Nemůžete hodnotit naše obrázky.', //cpg1.3.0
-);
-
-// ------------------------------------------------------------------------- //
-// File register.php & profile.php
-// ------------------------------------------------------------------------- //
-
-if (defined('REGISTER_PHP') || defined('PROFILE_PHP')) {
-
-$lang_register_disclamer = <<<EOT
-Administrátoři serveru {SITE_NAME}, potažmo této galerie si vyhrazují právo zásahu do obsahu galerie např. komentáře, mazání obrázků případně úprava (pokud porušují pravidla galerie nebo dobré mravy).
-Pokud budou obrázky nahrané uživetelem porušovat zákon(y) budou ihned po zjištění jejich umístění na serveru smazány. Administrátoři/provozovatelé této galerie si distancují od
-případného závadného obsahu nahraného na server uživateli. Vlastníkem dat v galerii jsou jejich autoři. Administrátoři předpokládají, že na server jsou umísťovaná uživateli pouze obrázky k nímž vlastní uživatel autorská práva.
-<br />
-Pokud souhlasíte, že nebudete posílat jakýkoliv závadný materiál jako vulgární a obscéní obrázky/komentáře, jakýkoliv materiál vzbuzující nenávist, rasismus, nebo jiný materiál porušující zákony. Souhlasíte, že administrátoři, provozovatelé a moderátoři  {SITE_NAME}   mají právo smazat případně upravit jakýkoliv materiál kdykoliv to uznají za vhodné. Vložené informace budou uložené na serveru a v databázi a nebudou poskytnuty žádné třetí straně bez vašeho souhlasu. Administátoři/povozovatelé serveru  však nejsou ani nebudou ručit za data na serveru uložená pokud dojde k jakémukoliv útoku na sever.
-<br />
-<br />
-Tyto stránky využívají k uložení uživatelských dat cookies. Cookies slouží pouze pro zvýšení konfortu při používání této aplikace. Emailová adresa slouží jen pro potvrzení vašich údajů a poslání hesla.<br />
-<br />
-Kliknutím na 'Souhlasím' souhlasíte z výše uvedenými pravidly..
-EOT;
-
-$lang_register_php = array(
-    'page_title' => 'Registrace nového uživatele',
-    'term_cond' => 'Podmínky a pravidla',
-    'i_agree' => 'Souhlasím',
-    'submit' => 'Poslat registraci',
-    'err_user_exists' => 'Zadané uživatelské jméno již existuje vyberte si prosím jiné',
-    'err_password_mismatch' => 'Hesla se musí schodovat pokuste je obě zadat znovu',
-    'err_uname_short' => 'Minimální délka uživatelského jména je 2 znaky',
-    'err_password_short' => 'Heslo musí být alespoň 2 znaky dlouhé',
-    'err_uname_pass_diff' => 'Jméno a heslo se nesmí shodovat',
-    'err_invalid_email' => 'Byla zadána neplatná emailová adresa',
-    'err_duplicate_email' => 'Jiný uživatel se zaregistroval se zadaným emailem. Email musí být jedinečný',
-    'enter_info' => 'Zadané registrační informace',
-    'required_info' => 'Vyžadované informace',
-    'optional_info' => 'Volitelné informace',
-    'username' => 'Jméno',
-    'password' => 'Heslo',
-    'password_again' => 'Heslo (potvrzení)',
-    'email' => 'Email',
-    'location' => 'Místo (např. Brno apod.)',
-    'interests' => 'Zájmy',
-    'website' => 'Domácí stránka',
-    'occupation' => 'Povolání',
-    'error' => 'CHYBA',
-    'confirm_email_subject' => '%s - Potvrzení registracce',
-    'information' => 'Informace',
-    'failed_sending_email' => 'Nelze odeslat potvrzení registace !',
-    'thank_you' => 'Děkujeme za registraci.<br /><br />Na adresu zadanou při registraci Vám budou doručeny informace o aktivaci vašeho účtu',
-    'acct_created' => 'Váš uživatelský účet byl bezchybně vytvořen. Nyní se přihlašte pomocí vašeho jména a hesla',
-    'acct_active' => 'Váš účet je nyní aktivní přihlašte se pomocí vašeho jména a hesla.',
-    'acct_already_act' => 'Váš účet je již aktivní !',
-    'acct_act_failed' => 'Tento účet nmůže být aktivován !',
-    'err_unk_user' => 'Vybraný uživatel neexistuje !',
-    'x_s_profile' => '%s\' profil',
-    'group' => 'Skupina',
-    'reg_date' => 'Připojen',
-    'disk_usage' => 'Využití disku',
-    'change_pass' => 'Změnit heslo',
-    'current_pass' => 'Současné heslo',
-    'new_pass' => 'Nové heslo',
-    'new_pass_again' => 'Nové heslo (kontola)',
-    'err_curr_pass' => 'Současné heslo zadáno nesprávně',
-    'apply_modif' => 'potvrdit změny',
-    'change_pass' => 'Změnit heslo',
-    'update_success' => 'Váš profil byl aktualizován',
-    'pass_chg_success' => 'Vyše heslo bylo změněno',
-    'pass_chg_error' => 'Vaše heslo nebylo změněno',
-    'notify_admin_email_subject' => '%s - upozorneni na registraci', //cpg1.3.0
-  'last_uploads' => 'Poslední uploadovaný soubor.<br />Klikni pro náhled všech uploadů', //cpg1.4
-  'last_comments' => 'Poslední komentář.<br />Klikni pro náhled všech vytvořených komentářů', //cpg1.4
-    'notify_admin_email_body' => 'Nový uživatel se jménem "%s" se registroval ve vaší galerii', //cpg1.3.0
-  'pic_count' => 'Soubory uploadovány', //cpg1.4
-  'notify_admin_request_email_subject' => '%s - Potřebná registrace', //cpg1.4
-  'thank_you_admin_activation' => 'Děkujeme.<br /><br />Vaše žádost o aktivaci konta byla zaslána administrátorovin. Bude vám zaslán mail po jejím potvrzení.', //cpg1.4
-  'acct_active_admin_activation' => 'Konto je nyní aktivní a mail byl odeslán uživateli.', //cpg1.4
-  'notify_user_email_subject' => '%s - Aktivační poznámka', //cpg1.4
-);
-
-$lang_register_confirm_email = <<<EOT
-Děkujeme za registraci na {SITE_NAME}
-
-Vaše jméno je : "{USER_NAME}"
-Vaše heslo je: "{PASSWORD}"
-
-Pro aktivaci vašeho účtu je přeba kliknout na odkaz níže nebo ho zkopírovat
-do adresního řádku vašeho browseru a přejít na tuto stránku
-
-
-{ACT_LINK}
-
-S Pozdravem,
-
-Správa serveru {SITE_NAME}
-
-EOT;
-
-$lang_register_approve_email = <<<EOT
-A new user with the username "{USER_NAME}" has registered in your gallery.
-
-In order to activate the account, you need to click on the link below or copy and paste it in your web browser.
-
-<a href="{ACT_LINK}">{ACT_LINK}</a>
-
-EOT;
-
-$lang_register_activated_email = <<<EOT
-Your account has been approved and activated.
-
-You can now log in at <a href="{SITE_LINK}">{SITE_LINK}</a> using the username "{USER_NAME}"
-
-
-Regards,
-
-The management of {SITE_NAME}
-
-EOT;
-}
-
-// ------------------------------------------------------------------------- //
-// File reviewcom.php
-// ------------------------------------------------------------------------- //
-
-if (defined('REVIEWCOM_PHP')) $lang_reviewcom_php = array(
-    'title' => 'Kontrola komentářů',
-    'no_comment' => 'Nejsou žádné komentáře ke kontrole',
-    'n_comm_del' => '%s komentář(ů) smazán(o)',
-    'n_comm_disp' => 'Počet komentářů k zobrazení',
-    'see_prev' => 'Předchozí',
-    'see_next' => 'Další',
-    'del_comm' => 'Smazat vybrané komentáře',
-  'user_name' => 'Jméno', //cpg1.4
-  'date' => 'Datum', //cpg1.4
-  'comment' => 'Komentář', //cpg1.4
-  'file' => 'Soubor', //cpg1.4
-  'name_a' => 'Uživatelské jméno vzestupně', //cpg1.4
-  'name_d' => 'Uživatelské jméno sestupně', //cpg1.4
-  'date_a' => 'Datum vzestupně', //cpg1.4
-  'date_d' => 'Datum sestupně', //cpg1.4
-  'comment_a' => 'Komentáře vzestupně', //cpg1.4
-  'comment_d' => 'Komentáře sestupně', //cpg1.4
-  'file_a' => 'Soubor vzestupně', //cpg1.4
-  'file_d' => 'Soubor sestupně', //cpg1.4
-);
-
-
-// ------------------------------------------------------------------------- //
-// File search.php                                                           //
-// ------------------------------------------------------------------------- //
-
-
-if (defined('SEARCH_PHP')){
-
-$lang_search_php = array(
-  'title' => 'Hledání souboru v galerii', //cpg1.4
-  'submit_search' => 'hledej', //cpg1.4
-  'keyword_list_title' => 'Klíčová slovat', //cpg1.4
-  'keyword_msg' => 'List neobsahuje všechny slova. Neobsahuje slova z titulků, názvů a poznámek. Zkuste full-textové vyhledávání.',  //cpg1.4
-  'edit_keywords' => 'Uprav klíčová slova', //cpg1.4
-  'search in' => 'Hledej v:', //cpg1.4
-  'ip_address' => 'IP adresa', //cpg1.4
-  'fields' => 'Hledej v', //cpg1.4
-  'age' => 'Stáří', //cpg1.4
-  'newer_than' => 'Dříve než', //cpg1.4
-  'older_than' => 'Starší než', //cpg1.4
-  'days' => 'dny', //cpg1.4
-  'all_words' => 'Nalezni všechna slova (AND)', //cpg1.4
-  'any_words' => 'Nalezni některá slova (OR)', //cpg1.4
-);
-
-$lang_adv_opts = array(
-  'title' => 'Název', //cpg1.4
-  'caption' => 'Poznámka', //cpg1.4
-  'keywords' => 'Klíčová slova', //cpg1.4
-  'owner_name' => 'Jméno vlastníka', //cpg1.4
-  'filename' => 'Jméno souboru', //cpg1.4
-);
-
-}
-
-// ------------------------------------------------------------------------- //
-// File searchnew.php
-// ------------------------------------------------------------------------- //
-
-if (defined('SEARCHNEW_PHP')) $lang_search_new_php = array(
-    'page_title' => 'Najít nové obrázky',
-    'select_dir' => 'Vybrat adresář',
-    'select_dir_msg' => 'Tato funkce vám umožní dávkově zpracovat obrázky nahrané přes FTP.<br /><br />Vyberte adresář kde se nacházejí obrázky k spracování',
-    'no_pic_to_add' => 'Nejsou zde žádné obrázky k přidání',
-    'need_one_album' => 'Pořebujete mít vytvořenu alespoň jedno album',
-    'warning' => 'Varování',
-    'change_perm' => 'Skript nemůže zapisovat do tohoto adresáře, musíte ho nastavit na CHMOD 755 nebo 777 před přidáním obrázků !',
-    'target_album' => '<b>Vložit obrázky z &quot;</b>%s<b>&quot; do </b>%s',
-    'folder' => 'Složka',
-    'image' => 'Obrázek',
-    'album' => 'Album',
-    'result' => 'Výsledek',
-    'dir_ro' => 'Nezapisovatelná. ',
-    'dir_cant_read' => 'Nečitelná. ',
-    'insert' => 'Přidávám nové obrázky do alba',
-    'list_new_pic' => 'Seznam obrázků',
-    'insert_selected' => 'Vložit vybrané obrázky',
-    'no_pic_found' => 'Nové obrázky nenalezeny',
-    'be_patient' => 'Prosím buďte trpělivý(á), program potřebuje na zpracování obrázku nějaý ten čas.',
-  'no_album' => 'žádné album nebylo vybráno',
-  'result_icon' => 'klikni na detail nebo reloaduj',  //cpg1.4
-    'notes' =>  '<ul>'.
-                '<li><b>OK</b> : Tyto obrázky byly přidány'.
-                '<li><b>DP</b> : Zdvojení!, Tento obrázek ji existuje'.
-                '<li><b>PB</b> : tento obrázek nelze přidat, skontrolujte konfiguraci případně přístupová práva'.
-                '<li>Když se neukáže \'označení\' OK, DP, PB klepněte na obrázek a uvidíte chybovou hlášku generovanou PHP, která Vám pomůže zjistit příčinu problému'.
-                '<li>Pokud dojde k timeoutu F5 nebo reload stránky by měl pomoci'.
-                '</ul>',
-     'select_album' => 'Vyberte album', //cpg1.3.0
-     'check_all' => 'Vybrat vše', //cpg1.3.0
-     'uncheck_all' => 'Odznačit vše', //cpg1.3.0
-  'no_folders' => 'Zde není žádná složka uvnitř "albums" složky.  Je nejprve potřeba ji vytvořit pro ftp downloadování a to učinit.', //cpg1.4
-   'albums_no_category' => 'Album nemá kategorii', //cpg1.4 // album pulldown mod, added by frogfoot
-  'personal_albums' => '* Osobní album', //cpg1.4 // album pulldown mod, added by frogfoot
-  'browse_batch_add' => 'Browsable interface (doporučeno)', //cpg1.4
-  'edit_pics' => 'Editovat soubory', //cpg1.4
-  'edit_properties' => 'Vlastnosti alba', //cpg1.4
-  'view_thumbs' => 'Náhled', //cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File stat_details.php //cpg1.4
-// ------------------------------------------------------------------------- //
-
-if (defined('STAT_DETAILS_PHP')) $lang_stat_details_php = array(
-  'show_hide' => 'ukaž/schov tento řádek', //cpg1.4
-  'vote' => 'Zvol detaily', //cpg1.4
-  'hits' => 'Urči detaily', //cpg1.4
-  'stats' => 'Zvol statistiku', //cpg1.4
-  'sdate' => 'Datum', //cpg1.4
-  'rating' => 'Rating', //cpg1.4
-  'search_phrase' => 'Vyhledávání', //cpg1.4
-  'referer' => 'Odkaz', //cpg1.4
-  'browser' => 'Prohlížeč', //cpg1.4
-  'os' => 'Operační systém', //cpg1.4
-  'ip' => 'IP', //cpg1.4
-  'sort_by_xxx' => 'Třiď podle %s', //cpg1.4
-  'ascending' => 'vzestupně', //cpg1.4
-  'descending' => 'sestupně', //cpg1.4
-  'internal' => 'int', //cpg1.4
-  'close' => 'zavřeno', //cpg1.4
-  'hide_internal_referers' => 'zkryj interní odkazy', //cpg1.4
-  'date_display' => 'Zobraz datum', //cpg1.4
-  'submit' => 'odešli / obnov', //cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File thumbnails.php
-// ------------------------------------------------------------------------- //
-
-// Void
-
-// ------------------------------------------------------------------------- //
-// File upload.php
-// ------------------------------------------------------------------------- //
-
-if (defined('UPLOAD_PHP')) $lang_upload_php = array(
-    'title' => 'Upload obrázku',
-    'custom_title' => 'Upravený Formulář', //cpg1.3.0
-    'cust_instr_1' => 'Můžete zvolit požadovaný počet vstupních políček. Není ale možné překročit omezení počtu políček uvedená níže.', //cpg1.3.0
-    'cust_instr_2' => 'Box Number Requests', //cpg1.3.0
-    'cust_instr_3' => 'Políčka pro upload souborů: %s', //cpg1.3.0
-    'cust_instr_4' => 'Políčka pro URI/URL upload: %s', //cpg1.3.0
-    'cust_instr_5' => 'Políčka pro URI/URL upload:', //cpg1.3.0
-    'cust_instr_6' => 'Políčka pro upload souborů:', //cpg1.3.0
-    'cust_instr_7' => 'Prosím zadejte požadovaný počet ke každému typu vstupních políček pro upload. Potom stiskněte \'Pokračovat\'. ', //cpg1.3.0
-    'reg_instr_1' => 'Neplatná akce pro vytvoření formuláře.', //cpg1.3.0
-    'reg_instr_2' => 'Pomocí políček dole můžete nechat na server nahrát soubory. Velikost jednotlivých nahrávaných souborů při uploadu na server by neměla přesáhnout %s KB. Soubory ZIP nahrané pomocí sekcí \'Upload Souborů\' nebo \'URI/URL Upload\' zůstanou zkomprimované jako jeden soubor i po nahrání na server.', //cpg1.3.0
-    'reg_instr_3' => 'Pokud chcete, aby soubory zabalené v archivu ZIP byly rozbaleny, musíte použít pro zadání souboru políčko v sekci \'Decompressive ZIP Upload\'.', //cpg1.3.0
-    'reg_instr_4' => 'Pokud používáte sekci URI/URL upload, prosím zadávejte cestu k souboru takto: http://www.mojedomena.cz/obrazky/priklad1.jpg', //cpg1.3.0
-    'reg_instr_5' => 'Po vyplnění formuláře stiskněte tlačítko \'Pokračovat\'.', //cpg1.3.0
-    'reg_instr_6' => 'Upload ZIP Archivu:', //cpg1.3.0
-    'reg_instr_7' => 'Upload Souborů:', //cpg1.3.0
-    'reg_instr_8' => 'URI/URL Uploads:', //cpg1.3.0
-    'error_report' => 'Error Report', //cpg1.3.0
-    'error_instr' => 'The following uploads encountered errors:', //cpg1.3.0
-    'file_name_url' => 'File Name/URL', //cpg1.3.0
-    'error_message' => 'Error Message', //cpg1.3.0
-    'no_post' => 'File not uploaded by POST.', //cpg1.3.0
-    'forb_ext' => 'Forbidden file extension.', //cpg1.3.0
-    'exc_php_ini' => 'Překročena velikost souboru povolená v php.ini.', //cpg1.3.0
-    'exc_file_size' => 'Překročena velikost souboru povolená albu.', //cpg1.3.0
-    'partial_upload' => 'Pouze částečný upload.', //cpg1.3.0
-    'no_upload' => 'Neproběhl žádný upload souborů.', //cpg1.3.0
-    'unknown_code' => 'Neznámá chyba PHP při uploadu.', //cpg1.3.0
-    'no_temp_name' => 'Žádný upload - žadné dočasné jméno.', //cpg1.3.0
-    'no_file_size' => 'Neobsahuje žádná data/rozbité', //cpg1.3.0
-    'impossible' => 'Nebylo možné přesunout.', //cpg1.3.0
-    'not_image' => 'Není obrázkem/rozité', //cpg1.3.0
-    'not_GD' => 'Chybí rozšíření GD.', //cpg1.3.0
-    'pixel_allowance' => 'Pixel allowance exceeded.', //cpg1.3.0 //TODO
-    'incorrect_prefix' => 'Neplatný URI/URL prefix', //cpg1.3.0
-    'could_not_open_URI' => 'Nebylo možné otevřít URI.', //cpg1.3.0
-    'unsafe_URI' => 'Safety not verifiable.', //cpg1.3.0  //TODO
-    'meta_data_failure' => 'Chyba v meta datech', //cpg1.3.0
-    'http_401' => '401 Neautorizovaný přístup', //cpg1.3.0
-    'http_402' => '402 Požadována platba', //cpg1.3.0
-    'http_403' => '403 Zakázaný přístup', //cpg1.3.0
-    'http_404' => '404 Nebylo nalezeno', //cpg1.3.0
-    'http_500' => '500 Interní chyba serveru', //cpg1.3.0
-    'http_503' => '503 Služba není dostupná', //cpg1.3.0
-    'MIME_extraction_failure' => 'MIME nebylo rozpoznáno.', //cpg1.3.0
-    'MIME_type_unknown' => 'Neznámý MIME typ', //cpg1.3.0
-    'cant_create_write' => 'Nebylo možné vytvořit soubor pro zápis.', //cpg1.3.0
-    'not_writable' => 'Nebylo možné zapisovat do souboru pro zápis.', //cpg1.3.0
-    'cant_read_URI' => 'Nebylo možné přečíst URI/URL', //cpg1.3.0
-    'cant_open_write_file' => 'Nebylo možné otevřít soubor pro URI.', //cpg1.3.0
-    'cant_write_write_file' => 'Nebylo možné zapisovat do souboru pro URI.', //cpg1.3.0
-    'cant_unzip' => 'Nebylo možné rozbalit ZIP archiv.', //cpg1.3.0
-    'unknown' => 'Neznámá chyba', //cpg1.3.0
-    'succ' => 'Uspěšný Upload', //cpg1.3.0
-    'success' => '%s souborů bylo úspěšně nahráno.', //cpg1.3.0
-    'add' => 'Prosím stiskněte \'Pokračovat\' pro přidání souborů do alba.', //cpg1.3.0
-    'failure' => 'Chyba při Uploadu', //cpg1.3.0
-    'f_info' => 'Informace o souboru', //cpg1.3.0
-    'no_place' => 'Předchozí soubor není možné umístit.', //cpg1.3.0
-    'yes_place' => 'Předchozí soubor byl úspěšně umístěn.', //cpg1.3.0
-    'max_fsize' => 'Max. velikost souboru je %s KB',
-    'album' => 'Album',
-    'picture' => 'Obrázek',
-    'pic_title' => 'Nadpis obrázku',
-    'description' => 'Popis obrázku',
-    'keywords' => 'Klíčová slova (oddělená mezerou)',
-    'err_no_alb_uploadables' => 'Zde se nenalézá album, do které je povolen upload.',
-    'place_instr_1' => 'Prosím umístěte teď soubory do alb. Můžete také zadat informace týkající se jednotlivých souborů.', //cpg1.3.0
-    'place_instr_2' => 'Další soubory je potřeba umístit. Prosím stiskěte \'Pokračovat\'.', //cpg1.3.0
-    'process_complete' => 'Uspěšně jste umístil všechny soubory.', //cpg1.3.0
-   'albums_no_category' => 'Album bez kategorie', //cpg1.4. //album pulldown mod, added by frogfoot
-  'personal_albums' => '* Osobní album', //cpg1.4 //album pulldown mod, added by frogfoot
-  'select_album' => 'Vyber album', //cpg1.4 //album pulldown mod, added by frogfoot
-  'close' => 'Zavřít', //cpg1.4
-  'no_keywords' => 'Promiňte, žádná slova nebyla k dispozici!', //cpg1.4
-  'regenerate_dictionary' => 'Regenerování slovníku', //cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File usermgr.php
-// ------------------------------------------------------------------------- //
-
-if (defined('USERMGR_PHP')) $lang_usermgr_php = array(
-  'memberlist' => 'Seznam uživatelů', //cpg1.4
-  'user_manager' => 'Manažer uživatelů', //cpg1.4
-    'title' => 'Spravovat uživatele',
-    'name_a' => 'Jméno vzestup.',
-    'name_d' => 'Jméno sestup.',
-    'group_a' => 'Skupina vzestup.',
-    'group_d' => 'Skupina sestup.',
-    'reg_a' => 'Datum registrace vzestup.',
-    'reg_d' => 'Datum registrace sestup.',
-    'pic_a' => 'Počet obrázků vzestup.',
-    'pic_d' => 'Počet obrázků sestup.',
-    'disku_a' => 'Využití disku vzestup.',
-    'disku_d' => 'Využití disku sestup.',
-    'lv_a' => 'Last visit ascending', //cpg1.3.0
-    'lv_d' => 'Last visit descending', //cpg1.3.0
-    'sort_by' => 'Řadit užřivatele podle',
-    'err_no_users' => 'Tabulka uživatelů je prázdná!',
-    'err_edit_self' => 'Zde nelze editovat vlastní profil použijte příslušnou volbu pracující s vaším profilem',
-    'edit' => 'UPRAVIT',
-  'with_selected' => 'Vybraná šíře:', //cpg1.4
-    'delete' => 'SMAZAT',
-  'delete_files_no' => 'udržuj veřejné soubory (ale anonymě)', //cpg1.4
-  'delete_files_yes' => 'vymaž veřejné soubory, jak to půjde', //cpg1.4
-  'delete_comments_no' => 'udržuj veřejné komentáře (ale anonymě)', //cpg1.4
-  'delete_comments_yes' => 'vymaž komentáře, jak to půjde', //cpg1.4
-  'activate' => 'Aktivuj', //cpg1.4
-  'deactivate' => 'Deaktivuj', //cpg1.4
-  'reset_password' => 'Reset hesla', //cpg1.4
-  'change_primary_membergroup' => 'Změň primární skupinu', //cpg1.4
-  'add_secondary_membergroup' => 'Přidej sekundární skupinu', //cpg1.4
-    'name' => 'Uživ. jméno',
-    'group' => 'Skupina Uživ.',
-    'inactive' => 'Neaktivní',
-    'operations' => 'Operace',
-    'pictures' => 'Obrázky',
-  'disk_space_used' => 'Místo využité', //cpg1.4
-  'disk_space_quota' => 'Volná kvóta', //cpg1.4
-  'registered_on' => 'Registrace', //cpg1.4
-  'last_visit' => 'Poslední návštěva',
-  'u_user_on_p_pages' => '%d uživatelé v %d stránce(kách)',
-  'confirm_del' => 'Chcete určitě vymazat tohoto uživatele? \\nAll his files and albums will also be deleted.', //js-alert
-  'mail' => 'MAIL',
-  'err_unknown_user' => 'Vybraný uživatel neexistuje !',
-  'modify_user' => 'Uprav uživatele',
-  'notes' => 'Poznámka',
-  'note_list' => '<li>Jestli nechcete měnit heslo, ponechte pole hesla prázdné.',
-  'password' => 'Heslo',
-  'user_active' => 'Hživatel je aktivní',
-  'user_group' => 'Uživatelovy skupiny',
-  'user_email' => 'Email uživatele',
-  'user_web_site' => 'Uživatelova domovská stránka',
-  'create_new_user' => 'Vytvořit nového uživatele',
-  'user_location' => 'Uživatelova lokace',
-  'user_interests' => 'Uživatelovo rozhraní',
-  'user_occupation' => 'Uživatelovo bydliště',
-  'user_profile1' => '$user_profile1', //cpg1.4
-  'user_profile2' => '$user_profile2', //cpg1.4
-  'user_profile3' => '$user_profile3', //cpg1.4
-  'user_profile4' => '$user_profile4', //cpg1.4
-  'user_profile5' => '$user_profile5', //cpg1.4
-  'user_profile6' => '$user_profile6', //cpg1.4
-  'latest_upload' => 'Poslední uploady',
-  'never' => 'nikdy',
-  'search' => 'Vyhedání uživatele', //cpg1.4
-  'submit' => 'Odeslat', //cpg1.4
-  'search_submit' => 'Go!', //cpg1.4
-  'search_result' => 'Hledej výsledek pro: ', //cpg1.4
-  'alert_no_selection' => 'Musíš vybrat nejprve alespoń jednoho uživatele!', //cpg1.4 //js-alert
-  'password' => 'heslo', //cpg1.4
-  'select_group' => 'Vyber skupinu', //cpg1.4
-  'groups_alb_access' => 'Povolená alba ve skupině', //cpg1.4
-  'album' => 'Album', //cpg1.4
-  'category' => 'Kategorie', //cpg1.4
-  'modify' => 'Změnit?', //cpg1.4
-  'group_no_access' => 'Tato skupina nemá speciální přístup', //cpg1.4
-  'notice' => 'Poznámka', //cpg1.4
-  'group_can_access' => 'Album má pouze "%s" povolený přístup', //cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File util.php
-// ------------------------------------------------------------------------- //
-
-if (defined('UTIL_PHP')) {
-$lang_util_desc_php = array(
-'Opravit názvy ze jména', //cpg1.4
-'Vymazat názvy ', //cpg1.4
-'Znovy vytvořit náhledy a změnit velikost fotografií', //cpg1.4
-'Vymazat originálná fotografiea zaměnit je změněnou verzí', //cpg1.4
-'Vymazat originální nebo střední náhled pro uvolnění místa.', //cpg1.4
-'Vymazat osiřelé komentáře', //cpg1.4
-'Znovu načíst velikosti souborů a rozlišení (jestliže byli obrázky manuálně změněny)', //cpg1.4
-'Resetovat počítadla zobrazení', //cpg1.4
-'Zobrazit phpinfo', //cpg1.4
-'Updatovat databázi', //cpg1.4
-'Zobrazit log soubory', //cpg1.4
-);
-$lang_util_php = array(
-  'title' => 'Administrátorské nástroje (změna velikosti obrázků)',
-  'what_it_does' => 'Co umí?',
-  'file' => 'Soubor',
-  'problem' => 'Problém', //cpg1.4
-  'status' => 'Status', //cpg1.4
-  'title_set_to' => 'název nastavit na',
-  'submit_form' => 'odeslat',
-  'updated_succesfully' => 'úspěšně změněno',
-  'error_create' => 'ERROR při vytváření',
-  'continue' => 'Proces pro více obrázků',
-  'main_success' => 'Soubor %s byl úspěšně použit jako hlavní soubor',
-  'error_rename' => 'Chyba přejmenování z %s na %s',
-  'error_not_found' => 'Soubor %s nebyl nalezen',
-  'back' => 'návrat na hlavní',
-  'thumbs_wait' => 'Update náhledu a/nebo změna velikosti obrázku, prosím počkejte...',
-  'thumbs_continue_wait' => ' Pokračování update náhledu a/nebo změna velikosti obrázku, prosím počkejte...',
-  'titles_wait' => 'Updatuji názvy, prosím čekejte...',
-  'delete_wait' => 'Mažu názvy, prosím čekejte...',
-  'replace_wait' => 'Vymazání originálních a záměna s obrázky se změněnou velikostí, prosím počkejte...',
-  'instruction' => 'Rychlé instrukce',
-  'instruction_action' => 'Vyber akci',
-  'instruction_parameter' => 'Nastav parametry',
-  'instruction_album' => 'Vyber album',
-  'instruction_press' => 'Zmáčkni %s',
-  'update' => 'Update náhledu a/nebo změna velikosti fotek',
-  'update_what' => 'Co chcete updatovat',
-  'update_thumb' => 'Pouze náhledy',
-  'update_pic' => 'Pouze obrázky se změněnou velikostí',
-  'update_both' => 'Obojí náhledy a obrázky se změněnou velikostí.',
-  'update_number' => 'Počet změn provedených na jeden klik',
-  'update_option' => '(Zkusta nastavit nižší hodnotu, jestliže se potýkáte s time-out problémy)',
-  'filename_title' => 'Jméno souboru &rArr; Název',
-  'filename_how' => 'Jak má být jméno souboru modifikováno',
-  'filename_remove' => 'Odstraň .jpg ukončení a zaměň za _ (podtržítko) s mezerou',
-  'filename_euro' => 'Změň 2003_11_23_13_20_20.jpg na 23/11/2003 13:20',
-  'filename_us' => 'Změň 2003_11_23_13_20_20.jpg tna 11/23/2003 13:20',
-  'filename_time' => 'Změň 2003_11_23_13_20_20.jpg na 13:20',
-  'delete' => 'Vymaž název nebo obrázky originální velikosti',
-  'delete_title' => 'Vymaž názvy souborů',
-  'delete_title_explanation' => 'Tato volba odstraní všechny názvy souborů v galerii kterou specifikujete.', //cpg1.4
-  'delete_original' => 'Odstraň obrázky s originální velikostí',
-  'delete_original_explanation' => 'Tato volba odstraní všechny obrázky plné velikosti.', //cpg1.4
-  'delete_intermediate' => 'Vymaž střední náhledy', //cpg1.4
-  'delete_intermediate_explanation' => 'Tato volba vymaže všechny střední náhledy.<br />Použijte ji pro uvolnění místa na disku.', //cpg1.4
-  'delete_replace' => 'Vymaž originální obrázky a nahraď upravenými velikostí',
-  'titles_deleted' => 'Vymaž všechny názvy ze specifikovaného alba', //cpg1.4
-  'deleting_intermediates' => 'Maže střední náhledy, prosí počkejte...', //cpg1.4
-  'searching_orphans' => 'Hledám osiřelé komentáře, prosím počkejte...', //cpg1.4
-  'select_album' => 'Vyberte album',
-  'delete_orphans' => 'Vymaž komentáře ke chybějícím souborům', //cpg1.4
-  'delete_orphans_explanation' => 'Tato volba identifikuje a vymaže komentáře asociované k vymazaným souborům.<br />Označ všechny alba.', //cpg1.4
-  'refresh_db' => 'Obnov informace o rozlišení a velikosti souborů', //cpg1.4
-  'refresh_db_explanation' => 'Tato volba znovu načte a obnoví informace o velikostech a rozlišení souborů.', //cpg1.4
-  'reset_views' => 'Resetuj počítadla zobrazení', //cpg1.4
-  'reset_views_explanation' => 'Nastaví ve specifikovaném albu počitadla zobrazení na nulu.', //cpg1.4
-  'orphan_comment' => 'osiřelé komentáře byly nalezeny',
-  'delete' => 'Vymazat',
-  'delete_all' => 'Vymazat všechny',
-  'delete_all_orphans' => 'Vymazat všechny osiřelé komentáře?', //cpg1.4
-  'comment' => 'Komentáře: ',
-  'nonexist' => 'připojeno k neexistujícímu souboru # ',
-  'phpinfo' => 'Zobraz phpinfo',
-  'phpinfo_explanation' => 'Zobrazí technické informace o serveru.<br /> - Můžete se zeptat providera na údaje zde zobrazené a jejich podporu.', //cpg1.4
-  'update_db' => 'Updatovat databázi',
-  'update_db_explanation' => 'Jestliže zaměníte coppermine soubory, přidáte a modifikujete nebo upgradujete z předešlé verze coppermine, je nezbytné provést update databáze alespoń jednou. Tato volba vytvoří nezbytné tabulky a/nebo hodnoty pro vaši coppermine databázi.',
-  'view_log' => 'Zobraz log soubory', //cpg1.4
-  'view_log_explanation' => 'Coppermine může sledovat různou aktivitu uživatelů. Můžete prohlížet logy jestliže to máte povoleno v <a href="admin.php">coppermine nastavení</a>.', //cpg1.4
-  'versioncheck' => 'Verze', //cpg1.4
-  'versioncheck_explanation' => 'Zjisti verzi souborů, jestli došlo k upgradu z nižší verze.', //cpg1.4
-  'bridgemanager' => 'Propojovací Manažer', //cpg1.4
-  'bridgemanager_explanation' => 'Zapni nebo vypni integraci (propojení) Coppermine s jinou aplikací (např. tvoje BBS).', //cpg1.4
-);
-}
-
-// ------------------------------------------------------------------------- //
-// File versioncheck.php //cpg1.4
-// ------------------------------------------------------------------------- //
-
-if (defined('VERSIONCHECK_PHP')) $lang_versioncheck_php = array(
-  'title' => 'Versioncheck in english', //cpg1.4
-  'what_it_does' => 'This page is meant for users who have updated their coppermine install. This script goes through the files on your webserver and tries to determine if your local file versions on the webserver are the same as the ones from the repository at http://coppermine.sourceforge.net, this way displaying the files you were meant to update as well.<br />It will show everything in red that needs to be fixed. Entries in yellow need looking into. Entries in green (or your default font color) are OK.<br />Click on the help icons to find out more.', //cpg1.4
-  'online_repository_unable' => 'Unable to connect to online repository', //cpg1.4
-  'online_repository_noconnect' => 'Coppermine was unable to connect to the online repository. This can have two reasons:', //cpg1.4
-  'online_repository_reason1' => 'the coppermine online repository is currently down - check if you can browse this page: %s - if you can\'t access this page, try again later.', //cpg1.4
-  'online_repository_reason2' => 'PHP on your webserver is configured with %s turned off (by default, it\'s turned on). If the server is yours to administer, turn this option on in <i>php.ini</i> (at least allow it to be overridden with %s). If you\'re webhosted, you will probably have to live with the fact that you can\'t compare your files to the online repository. This page will then only display the file versions that came with your distribution - updates will not be displayed.', //cpg1.4
-  'online_repository_skipped' => 'Connection to online repository skipped', //cpg1.4
-  'online_repository_to_local' => 'The script is defaulting to the local copy of the version-files now. The data may be inacurate if you have upgraded Coppermine and you haven\'t uploaded all files. Changes to the files after the release won\'t be taken into account as well.', //cpg1.4
-  'local_repository_unable' => 'Unable to connect to the repository on your server', //cpg1.4
-  'local_repository_explanation' => 'Coppermine was unable to connect to the repository file %s on your webserver. This probably means that you haven\'t uploaded the repository file to your webserver. Do so now and then try to run this page once more (hit refresh).<br />If the script still fails, your webhost might have disabled parts of <a href="http://www.php.net/manual/en/ref.filesystem.php">PHP\'s filesystem functions</a> completely. In this case, you simply won\'t be able to use this tool at all, sorry.', //cpg1.4
-  'coppermine_version_header' => 'Installed Coppermine version', //cpg1.4
-  'coppermine_version_info' => 'You have currently installed: %s', //cpg1.4
-  'coppermine_version_explanation' => 'If you think this is entirely wrong and you\'re supposed to be running a higher version of Coppermine, you probably haven\'t uploaded the most recent version of the file <i>include/init.inc.php</i>', //cpg1.4
-  'version_comparison' => 'Version comparison', //cpg1.4
-  'folder_file' => 'folder/file', //cpg1.4
-  'coppermine_version' => 'cpg version', //cpg1.4
-  'file_version' => 'file version', //cpg1.4
-  'webcvs' => 'web svn', //cpg1.4
-  'writable' => 'writable', //cpg1.4
-  'not_writable' => 'not writable', //cpg1.4
-  'help' => 'Help', //cpg1.4
-  'help_file_not_exist_optional1' => 'file/folder does not exist', //cpg1.4
-  'help_file_not_exist_optional2' => 'The file/folder %s has not been found on your server. Although it is optional you should upload it (using your FTP client) to your webserver if you are experiencing problems.', //cpg1.4
-  'help_file_not_exist_mandatory1' => 'file/folder does not exist', //cpg1.4
-  'help_file_not_exist_mandatory2' => 'The file/folder %s has not been found on your server, although it is mandatory. Upload the file to your webserver (using your FTP client).', //cpg1.4
-  'help_no_local_version1' => 'No local file version', //cpg1.4
-  'help_no_local_version2' => 'The script was unable to extract a local file version - your file is either outdated or you have modified it, removing the header information on the way. Updating the file is recommended.', //cpg1.4
-  'help_local_version_outdated1' => 'Local version outdated', //cpg1.4
-  'help_local_version_outdated2' => 'Your version of this file seems to be from an older version of Coppermine (you probably upgraded). Make sure to update this file as well.', //cpg1.4
-  'help_local_version_na1' => 'Unable to extract cvs version info', //cpg1.4
-  'help_local_version_na2' => 'The script could not determine what cvs version the file on your webserver is. You should upload the file from your package.', //cpg1.4
-  'help_local_version_dev1' => 'Development version', //cpg1.4
-  'help_local_version_dev2' => 'The file on your webserver seems to be newer than your Coppermine version. You are either using a development file (you should only do so if you know what you are doing), or you have upgraded your Coppermine install and not uploaded include/init.inc.php', //cpg1.4
-  'help_not_writable1' => 'Folder not writable', //cpg1.4
-  'help_not_writable2' => 'Change file permissions (CHMOD) to grant the script write access to the folder %s and everything within it.', //cpg1.4
-  'help_writable1' => 'Folder writable', //cpg1.4
-  'help_writable2' => 'The folder %s is writable. This is an unnecessary risk, coppermine only needs read/execute access.', //cpg1.4
-  'help_writable_undetermined' => 'Coppermine was not able to determine wether the folder is writable.', //cpg1.4
-  'your_file' => 'your file', //cpg1.4
-  'reference_file' => 'reference file', //cpg1.4
-  'summary' => 'Summary', //cpg1.4
-  'total' => 'Total files/folders checked', //cpg1.4
-  'mandatory_files_missing' => 'Mandatory files missing', //cpg1.4
-  'optional_files_missing' => 'Optional files missing', //cpg1.4
-  'files_from_older_version' => 'Files left over from outdated Coppermine version', //cpg1.4
-  'file_version_outdated' => 'Outdated file versions', //cpg1.4
-  'error_no_data' => 'The script made a boo, it was not able to retrieve any information. Sorry for the inconvenience.', //cpg1.4
-  'go_to_webcvs' => 'go to %s', //cpg1.4
-  'options' => 'Options', //cpg1.4
-  'show_optional_files' => 'show optional folders/files', //cpg1.4
-  'show_mandatory_files' => 'show mandatory files', //cpg1.4
-  'show_file_versions' => 'show file versions', //cpg1.4
-  'show_errors_only' => 'show folders/files with errors only', //cpg1.4
-  'show_permissions' => 'show folder permissions', //cpg1.4
-  'show_condensed_output' => 'show condensed ouput (for easier screenshots)', //cpg1.4
-  'coppermine_in_webroot' => 'coppermine is installed in the webroot', //cpg1.4
-  'connect_online_repository' => 'try connecting to the online repository', //cpg1.4
-  'show_additional_information' => 'show additional information', //cpg1.4
-  'no_webcvs_link' => 'don\'t display web svn link', //cpg1.4
-  'stable_webcvs_link' => 'display web svn link to stable branch', //cpg1.4
-  'devel_webcvs_link' => 'display web svn link to devel branch', //cpg1.4
-  'submit' => 'apply changes / refresh', //cpg1.4
-  'reset_to_defaults' => 'reset to default values', //cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File view_log.php  //cpg1.4
-// ------------------------------------------------------------------------- //
-
-if (defined('VIEWLOG_PHP')) $lang_viewlog_php = array(
-  'delete_all' => 'Vymaž všechny logy', //cpg1.4
-  'delete_this' => 'Vymaž tento log', //cpg1.4
-  'view_logs' => 'Zobraz logy', //cpg1.4
-  'no_logs' => 'Logy nebyly vytvořeny.', //cpg1.4
-);
-
-
-// ------------------------------------------------------------------------- //
-// File xp_publish.php //cpg1.4
-// ------------------------------------------------------------------------- //
-
-if (defined('XP_PUBLISH_PHP')) {
-
-$lang_xp_publish_client = <<<EOT
-<h1>XP Web Publishing Wizard Client</h1><p>This module allows to use <b>Windows XP</b> web publishing wizard with Coppermine.</p><p>Code is based on article posted by
-EOT;
-
-$lang_xp_publish_required = <<<EOT
-<h2>What is required</h2><ul><li>Windows XP in order to have the wizard.</li><li>A working installation of Coppermine on which <b>the web upload function works properly.</b></li></ul><h2>How to install on client side</h2><ul><li>Right click on
-EOT;
-
-$lang_xp_publish_select = <<<EOT
-Select &quot;save target as..&quot;. Save the file on your hard drive. When saving the file, check that the proposed file name is <b>cpg_###.reg</b> (the ### represents a numerical timestamp). Change it to that name if necessary (leave the numbers). When downloaded, double click on the file in order to register your server with the web publishing wizard.</li></ul>
-EOT;
-
-$lang_xp_publish_testing = <<<EOT
-<h2>Testing</h2><ul><li>In Windows Explorer, select some files and click on <b>Publish xxx on the web</b> in the left pane.</li><li>Confirm your file selection. Click on <b>Next</b>.</li><li>In the list of services that appear, select the one for your photo gallery (it has the name of your gallery). If the service does not appear, check that you have installed <b>cpg_pub_wizard.reg</b> as described above.</li><li>Input your login information if required.</li><li>Select the target album for your pictures or create a new one.</li><li>Click on <b>next</b>. The upload of your pictures starts.</li><li>When it is completed, check your gallery to see if pictures have been properly added.</li></ul>
-EOT;
-
-$lang_xp_publish_notes = <<<EOT
-<h2>Notes :</h2><ul><li>Once the upload has started, the wizard can't display any error message returned by the script so you can't know if the upload failed or succeeded until you check your gallery.</li><li>If the upload fails, enable &quot;Debug mode&quot; on the Coppermine admin page, try with one single picture and check error messages in the
-EOT;
-
-$lang_xp_publish_flood = <<<EOT
-file that is located in Coppermine directory on your server.</li><li>In order to avoid that the gallery be <i>flooded</i> by pictures uploaded through the wizard, only the <b>gallery admins</b> and <b>users that can have their own albums</b> can use this feature.</li>
-EOT;
-
-
-
-$lang_xp_publish_php = array(
-  'title' => 'Coppermine - XP Web Publishing Wizard', //cpg1.4
-  'welcome' => 'Vítáme Vás <b>%s</b>,', //cpg1.4
-  'need_login' => 'Musíte se přihlásit k albu použitím web browserunež použijete tohoto průvodce.<p/><p>Až se přihlásíte nezapomeňte vybrat <b>pamatuj si mě</b>.', //cpg1.4
-  'no_alb' => 'Promiňte, ale není žádná takové album, kam by bylo povoleno uploadovat obrázky tímto průvodcem.', //cpg1.4
-  'upload' => 'Uploadování vašich obrázků do existujícího alba', //cpg1.4
-  'create_new' => 'Vytvořte nové album pro vaše obrázky', //cpg1.4
-  'album' => 'Album', //cpg1.4
-  'category' => 'Kategorie', //cpg1.4
-  'new_alb_created' => 'Vaše nové album &quot;<b>%s</b>&quot; bylo vytvořeno.', //cpg1.4
-  'continue' => 'Zmáčněte &quot;Další&quot; pro začátek uploadu vašich obrázků', //cpg1.4
-  'link' => 'tento link', //cpg1.4
-);
-}
+<?php
+/*************************
+  Coppermine Photo Gallery
+  ************************
+  Copyright (c) 2003-2009 Coppermine Dev Team
+  v1.1 originally written by Gregory DEMAR
+
+  This program is free software; you can redistribute it and/or modify
+  it under the terms of the GNU General Public License version 3
+  as published by the Free Software Foundation.
+  
+  ********************************************
+  Coppermine version: 1.4.25
+  $HeadURL: https://coppermine.svn.sourceforge.net/svnroot/coppermine/trunk/cpg1.4.x/lang/czech.php $
+  $Revision: 5997 $
+  $Author: gaugau $
+  $Date: 2009-05-26 08:43:24 +0200 (Di, 26 Mai 2009) $
+  Omlouvám se, pokud překlad není zcela přesný. Snaha byla.
+**********************************************/
+
+if (!defined('IN_COPPERMINE')) { die('Not in Coppermine...');}
+
+// info about translators and translated language
+$lang_translation_info = array(
+  'lang_name_english' => 'Czech', //cpg1.4
+  'lang_name_native' => 'Česky', //cpg1.4
+  'lang_country_code' => 'cz', //cpg1.4
+  'trans_name'=> 'Pavel Kolar - PKDATA',
+  'trans_email' => 'p.kolar@pkdata.cz',
+  'trans_website' => 'http://www.pkdata.cz/',
+  'trans_date' => '2006-03-03',
+);
+
+$lang_charset = 'utf-8';
+$lang_text_dir = 'ltr'; // ('ltr' for left to right, 'rtl' for right to left)
+
+// shortcuts for Byte, Kilo, Mega
+$lang_byte_units = array('Bytů', 'KB', 'MB');
+
+// Day of weeks and months
+$lang_day_of_week = array('Ne', 'Po', 'Út', 'St', 'Čt', 'Pá', 'So');
+$lang_month = array('Leden', 'Únor', 'Březen', 'Duben', 'Květen', 'Červen', 'Červenec', 'Srpen', 'Září', 'Říjen', 'Listopad', 'Prosinec');
+
+// Some common strings
+$lang_yes = 'Ano';
+$lang_no  = 'Ne';
+$lang_back = 'ZPĚT';
+$lang_continue = 'POKRAČOVAT';
+$lang_info = 'Informace';
+$lang_error = 'Chyba';
+$lang_check_uncheck_all = 'označ/odoznač vše'; //cpg1.4
+
+// The various date formats
+// See http://www.php.net/manual/en/function.strftime.php to define the variable below
+$album_date_fmt =    '%B %d, %Y';
+$lastcom_date_fmt =  '%m/%d/%y at %H:%M';
+$lastup_date_fmt = '%B %d, %Y';
+$register_date_fmt = '%B %d, %Y';
+$lasthit_date_fmt = '%B %d, %Y at %I:%M %p';
+$comment_date_fmt =  '%B %d, %Y at %I:%M %p';
+$log_date_fmt = '%B %d, %Y at %I:%M %p'; //cpg1.4
+
+// For the word censor
+$lang_bad_words = array('píča', 'hovno', '*fuck*', 'prdel', 'čůrák', 'bitch*', 'c0ck', 'clits', 'Cock', 'cum', 'cunt*', 'dago', 'daygo', 'dego', 'dick*', 'dildo', 'fanculo', 'feces', 'foreskin', 'Fu\(*', 'fuk*', 'honkey', 'hore', 'injun', 'kike', 'lesbo', 'masturbat*', 'motherfucker', 'nazis', 'nigger*', 'nutsack', 'penis', 'phuck', 'poop', 'pussy', 'scrotum', 'shit', 'slut', 'titties', 'titty', 'twaty', 'wank*', 'whore', 'wop*');
+
+$lang_meta_album_names = array(
+        'random' => 'Náhodné obrázky',
+        'lastup' => 'Nejnovější obrázky',
+        'lastalb'=> 'Naposledy aktualizovaná alba',
+        'lastcom' => 'Nejnovější komentáře',
+        'topn' => 'Nejprohlíženější',
+        'toprated' => 'Nejlépe hodnocené',
+        'lasthits' => 'Naposledy zobrazené',
+        'search' => 'Výsledky hledání',
+        'favpics'=> 'Oblíbené obrázky',
+);
+
+
+$lang_errors = array(
+    'access_denied' => 'Nemáte oprávnění na tuto stránku.',
+    'perm_denied' => 'Nemáte dostatečná práva pro potvrzení této operace.',
+    'param_missing' => 'Skriptu nebyly předány potřebné parametry',
+    'non_exist_ap' => 'Vybraná alba/obrázek neexistuje',
+    'quota_exceeded' => 'Vyčerpal(a) jste místo na disku.<br /><br />Vaše kvóta je[quota]K, Vaše obrázky zbírají [space]K, přidáním tohoto obrázku byste svoji kvótu překročil',
+    'gd_file_type_err' => 'Pokud používáte GD knihovnu jsou podporovány jen obrázky JPG a PNG',
+    'invalid_image' => 'Tento obrázek je poškozen/porušen GD knihovna s ním nemůže pracovat.',
+    'resize_failed' => 'Nelze vytvořit náhled či zmenšený obrázek',
+    'no_img_to_display' => 'Zde není žádný obrázek, který byste si mohl(a) prohlédnout',
+    'non_exist_cat' => 'Vybraná kategorie neexistuje',
+    'orphan_cat' => 'Podkategorie nemá nadřízenou kategorii. Problém opravte přes nastavení kategorií.',
+    'directory_ro' => 'Do adresáře \'%s\' nelze zapisovat (nedostatečná práva), obrázky nemohly být smazány.',
+    'non_exist_comment' => 'Vybraný komentář neexistuje',
+    'pic_in_invalid_album' => 'Obrázek(y) je/jsou v neexistující galerii (%s)!?',
+    'banned' => 'Byl jste vykopnut z těchto stránek, není Vám umožněno je používat.',
+    'not_with_udb' => 'Tato funkce je vypnutá jelikož je integrována ve fóru. Buď není požadovaná fukce dostupná na tomto systému, nebo tuto/tyto funci/e plní fórum.',
+    'offline_title' => 'Odpojeno', //cpg1.3.0
+    'offline_text' => 'Galerie je momentálně odpojena - prosím zkuste to znovu později', //cpg1.3.0
+    'ecards_empty' => 'Momentálně nejsou k zobraní dostupné žádné záznamy o ecards. Ověřte prosím, že je zapnutá volba "ecard logging" v konfiguraci coppermine!', //cpg1.3.0
+    'action_failed' => 'Akce selhala.  Coppermine není schopno váš požadavek zpracovat.', //cpg1.3.0
+    'no_zip' => 'Knihovny potřebné pro zpracování ZIP souborů nejsou dostupné.  Prosím kontaktujte Vašeho administrátora aplikace Coppermine.', //cpg1.3.0
+    'zip_type' => 'Nemáte povolení nahrávat na server soubory ZIP.', //cpg1.3.0
+    'database_query' => 'Vyskytla se chyba pi databázovém dotazu.', //cpg1.4
+    'register_globals_on' => 'The PHP setting register_globals is enabled on your server, which is a bad idea in terms of security. It\'s strongly recommended to turn it off. [<a href="http://forum.coppermine-gallery.net/index.php/topic,59569.0.html" rel="external" class="external">more</a>]',
+);
+
+$lang_bbcode_help_title = 'bbcode pomoc'; //cpg1.4
+$lang_bbcode_help = 'Následující značky mohou být užitečné: <li>[b]Bold[/b] =&gt; <b>Bold</b></li><li>[i]Italic[/i] =&gt; <i>Italic</i></li><li>[url=http://yoursite.com/]Url Text[/url] =&gt; <a href="http://yoursite.com">Url Text</a></li><li>[email]user@domain.com[/email] =&gt; <a href="mailto:user@domain.com">user@domain.com</a></li><li>[color=red]some text[/color] =&gt; <span style="color:red">nejaký text</span></li><li>[img]http://coppermine-gallery.net/demo/cpg14x/images/red.gif[/img] => <img src="../images/red.gif" border="0" alt="" /></li>'; //cpg1.4
+
+// ------------------------------------------------------------------------- //
+// File theme.php
+// ------------------------------------------------------------------------- //
+
+$lang_main_menu = array(
+  'home_title' => 'Jít na domovskou stránku',
+  'home_lnk' => 'Domů',
+    'alb_list_title' => 'Přejít na seznam alb',
+    'alb_list_lnk' => 'Seznam alb',
+    'my_gal_title' => 'Přejít do mé osobní galerie',
+    'my_gal_lnk' => 'Moje galerie',
+  'my_prof_title' => 'Přejít do mého osobního profilu', //cpg1.4
+    'my_prof_lnk' => 'Můj Profil',
+    'adm_mode_title' => 'Do Admin módu',
+    'adm_mode_lnk' => 'Admin mód',
+    'usr_mode_title' => 'Do uživatelského módu',
+    'usr_mode_lnk' => 'Uživatelský mód',
+    'upload_pic_title' => 'Nahrát obrázek do alba',
+    'upload_pic_lnk' => 'Upload obrázku',
+    'register_title' => 'Vytvořit účet',
+    'register_lnk' => 'Registrovat se',
+  'login_title' => 'Přihlášení', //cpg1.4
+    'login_lnk' => 'Přihlásit',
+  'logout_title' => 'Odhlášení', //cpg1.4
+    'logout_lnk' => 'Odhlásit',
+  'lastup_title' => 'Ukaž nejnovější obrázky', //cpg1.4
+'lastup_lnk' => 'Nejnovější obrázky',
+  'lastcom_title' => 'Ukaž poslední komentáře', //cpg1.4
+    'lastcom_lnk' => 'Poslední komentáře',
+  'topn_title' => 'Ukaž nejprohlíženější', //cpg1.4
+    'topn_lnk' => 'Nejprohlíženější',
+  'toprated_title' => 'Ukaž nejlépe hodnocené', //cpg1.4
+    'toprated_lnk' => 'Nejlépe hodnocené',
+  'search_title' => 'Hledej', //cpg1.4
+    'search_lnk' => 'Vyhledávání',
+  'fav_title' => 'Jdi na oblíbené', //cpg1.4
+    'fav_lnk' => 'Oblíbené',
+    'memberlist_title' => 'Ukaž seznam členů', //cpg1.3.0
+    'memberlist_lnk' => 'Seznam členů', //cpg1.3.0
+  'faq_title' => 'FAQ = nejčastěji kladené otázky na galerii &quot;Coppermine&quot;',
+  'faq_lnk' => 'FAQ',
+);
+
+$lang_gallery_admin_menu = array(
+  'upl_app_title' => 'Potvrzení nového uploadu', //cpg1.4
+    'upl_app_lnk' => 'Potvrzení uploadu',
+  'admin_title' => 'Konfigurovat', //cpg1.4
+  'admin_lnk' => 'Konfigurace', //cpg1.4
+  'albums_title' => 'Konfigurace alb', //cpg1.4
+    'albums_lnk' => 'Konfigurace alb',
+  'categories_title' => 'Konfigurovat kategorie', //cpg1.4
+    'categories_lnk' => 'Konfigurace kategorií',
+  'users_title' => 'Nastavit uživatele', //cpg1.4
+    'users_lnk' => 'Uživatelé',
+  'groups_title' => 'Konfigurovat uživatelské skupiny', //cpg1.4
+    'groups_lnk' => 'Už. skupiny',
+  'comments_title' => 'Přehled komentářů', //cpg1.4
+    'comments_lnk' => 'Komentáře',
+  'searchnew_title' => 'Přidání více obrázků najednou', //cpg1.4
+    'searchnew_lnk' => 'Dávkové přidání obrázků',
+  'util_title' => 'Změnit velikost atd...', //cpg1.4
+    'util_lnk' => 'Administrátorské nástroje',
+  'key_title' => 'Slovník klíčových slov', //cpg1.4
+  'key_lnk' => 'Slovník klíčových slov', //cpg1.4
+  'ban_title' => 'Odstranit uživatele', //cpg1.4
+    'ban_lnk' => 'Odstranit uživatele',
+  'db_ecard_title' => 'Zobrazit Ecards', //cpg1.4
+  'db_ecard_lnk' => 'Zobrazit Ecards',
+  'pictures_title' => 'Setřídit obrázky', //cpg1.4
+  'pictures_lnk' => 'Setřídit obrázky', //cpg1.4
+  'documentation_lnk' => 'Dokumentatace', //cpg1.4
+  'documentation_title' => 'Coppermine manual', //cpg1.4
+);
+
+$lang_user_admin_menu = array(
+  'albmgr_title' => 'Vytvořit / organizovat moje alba', //cpg1.4
+    'albmgr_lnk' => 'Vytvořit / organizovat moje alba',
+  'modifyalb_title' => 'Změnit moje alba',  //cpg1.4
+    'modifyalb_lnk' => 'Změnit moje alba',
+  'my_prof_title' => 'Můj profil', //cpg1.4
+    'my_prof_lnk' => 'Můj profil',
+);
+
+$lang_cat_list = array(
+  'category' => 'Kategorie',
+  'albums' => 'Alba',
+  'pictures' => 'Obrázky',
+);
+
+$lang_album_list = array(
+  'album_on_page' => '%d album na %d stránce(kách)',
+);
+
+$lang_thumb_view = array(
+  'date' => 'DATUM',
+  //Sort by filename and title
+  'name' => 'JMÉNO SOUBORU',
+  'title' => 'NADPIS',
+    'sort_da' => 'Řadit vzestupně podle data',
+    'sort_dd' => 'Řadit sestupně podle data',
+    'sort_na' => 'Řadit vzestupně podle jména',
+    'sort_nd' => 'Řadit sestupně podle jména',
+    'sort_ta' => 'Řadit vzestupně podle nadpisu',
+    'sort_td' => 'Řadit sestupně podle nadpisu',
+  'position' => 'POZICE', //cpg1.4
+  'sort_pa' => 'Řadit vzestupně podle pozice', //cpg1.4
+  'sort_pd' => 'Řadit sestupně podle pozice', //cpg1.4
+    'download_zip' => 'Download jako Zip soubor', //cpg1.3.0
+    'pic_on_page' => '%d obrázků na %d stránkách',
+    'user_on_page' => '%d uživatelů na %d stránkách',
+  'enter_alb_pass' => 'Vlož heslo pro album', //cpg1.4
+  'invalid_pass' => 'Vadné heslo', //cpg1.4
+  'pass' => 'Heslo', //cpg1.4
+  'submit' => 'Odeslat', //cpg1.4
+);
+
+$lang_img_nav_bar = array(
+    'thumb_title' => 'Zpět na stránku s náhledy',
+    'pic_info_title' => 'Zobraz/skryj informace o obrázku',
+    'slideshow_title' => 'Slideshow',
+    'ecard_title' => 'Poslat tento obrázek jako pohlednici',
+    'ecard_disabled' => 'Pohlednice jsou vypnuté',
+    'ecard_disabled_msg' => 'Nemáte dostatečná práva pro zaslání pohlednice',
+    'prev_title' => 'Předchozí obrázek',
+    'next_title' => 'Další obrázek',
+    'pic_pos' => 'OBRÁZEK %s/%s',
+  'report_title' => 'Odešsli tento soubor administrátorovi', //cpg1.4
+  'go_album_end' => 'Skok na konec', //cpg1.4
+  'go_album_start' => 'Skok na začátek', //cpg1.4
+  'go_back_x_items' => 'zpět o %s položzky', //cpg1.4
+  'go_forward_x_items' => 'dopřredu o %s položzky', //cpg1.4
+);
+
+$lang_rate_pic = array(
+    'rate_this_pic' => 'Hodnotit tento obrázek ',
+    'no_votes' => '(žádné hodnocení)',
+    'rating' => '(Aktuální hodnocení : %s / z 5, hlasováno %s krát)',
+    'rubbish' => 'Hnusný',
+    'poor' => 'Mizerný',
+    'fair' => 'Ujde to',
+    'good' => 'Dobrý',
+    'excellent' => 'Výborný',
+    'great' => 'Dokonalý',
+);
+
+// ------------------------------------------------------------------------- //
+// File include/exif.inc.php
+// ------------------------------------------------------------------------- //
+
+// void
+
+// ------------------------------------------------------------------------- //
+// File include/functions.inc.php
+// ------------------------------------------------------------------------- //
+
+$lang_cpg_die = array(
+  INFORMATION => $lang_info,
+  ERROR => $lang_error,
+    CRITICAL_ERROR => 'Kritická chyba',
+    'file' => 'Soubor: ',
+    'line' => 'Řádka: ',
+);
+
+$lang_display_thumbnails = array(
+    'filename' => 'Jméno souboru : ',
+    'filesize' => 'Velikost souboru : ',
+    'dimensions' => 'Rozměry : ',
+    'date_added' => 'Datum přidání : '
+);
+
+$lang_get_pic_data = array(
+    'n_comments' => '%s Komentář(ů)',
+    'n_views' => '%s zobrazení',
+    'n_votes' => '(%s hlas(ů))'
+);
+
+$lang_cpg_debug_output = array(
+  'debug_info' => 'Debug Info', //cpg1.3.0
+  'select_all' => 'Vybrat vše', //cpg1.3.0
+  'copy_and_paste_instructions' => 'Pokud se chystáte požadovat pomoc na podpoře coppermine, vložte tento ladící výstup do vašecho příspěvku. Před takovým vložením se ujistěte, že jste všechna vaše hesla z tohoto textu nahradili pomocí "***".', //cpg1.3.0
+  'phpinfo' => 'Zobrazit phpinfo', //cpg1.3.0
+  'notices' => 'Poznámky', //cpg1.4
+);
+
+$lang_language_selection = array(
+  'reset_language' => 'Přednastavený jazyk', //cpg1.3.0
+  'choose_language' => 'Vyberte Váš jazyk', //cpg1.3.0
+);
+
+$lang_theme_selection = array(
+  'reset_theme' => 'Přednastavené téma', //cpg1.3.0
+  'choose_theme' => 'Vyberte téma', //cpg1.3.0
+);
+
+$lang_version_alert = array(
+  'version_alert' => 'Nepodporovaná verze!', //cpg1.4
+  'security_alert' => 'Bezpečnostní poplach!', //cpg1.4.3
+  'relocate_exists' => 'Odstraň <a href="http://coppermine-gallery.net/forum/index.php?topic=24217.0">relocate_server.php</a> soubor z website!',
+  'no_stable_version' => 'Používáte Coppermine %s (%s) která je míněna pro zkušené uživatele - tato verze je distribuována bez podpory a záruky funkčnosti. Riziko užití je na uživateli!', //cpg1.4
+  'gallery_offline' => 'Galerie je momentálně offline a bude viditelná jen pro administrátora. Nezapomeňte ji prepnout do online režimu po dokončení údržby.', //cpg1.4
+);
+
+$lang_create_tabs = array(
+  'previous' => 'předešlý', //cpg1.4
+  'next' => 'další', //cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File include/init.inc.php
+// ------------------------------------------------------------------------- //
+
+// void
+
+// ------------------------------------------------------------------------- //
+// File keyword.inc.php                                                      //
+// ------------------------------------------------------------------------- //
+
+// void
+
+// ------------------------------------------------------------------------- //
+// File include/picmgmt.inc.php
+// ------------------------------------------------------------------------- //
+
+// void
+
+// ------------------------------------------------------------------------- //
+// File include/plugin_api.inc.php
+// ------------------------------------------------------------------------- //
+$lang_plugin_api = array(
+  'error_wakeup' => "Nelze oživit plugin '%s'", //cpg1.4
+  'error_install' => "Nemohu nainstalovat plugin '%s'", //cpg1.4
+  'error_uninstall' => "Nemohu odinstalovat plugin '%s'", //cpg1.4
+  'error_sleep' => "Nomohu odinstalovat plugin '%s'<br />", //cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File include/smilies.inc.php
+// ------------------------------------------------------------------------- //
+
+if (defined('SMILIES_PHP')) $lang_smilies_inc_php = array(
+  'Exclamation' => 'Exclamation',
+  'Question' => 'Question',
+  'Very Happy' => 'Very Happy',
+  'Smile' => 'Smile',
+  'Sad' => 'Sad',
+  'Surprised' => 'Surprised',
+  'Shocked' => 'Shocked',
+  'Confused' => 'Confused',
+  'Cool' => 'Cool',
+  'Laughing' => 'Laughing',
+  'Mad' => 'Mad',
+  'Razz' => 'Razz',
+  'Embarassed' => 'Embarassed',
+  'Crying or Very sad' => 'Crying or Very sad',
+  'Evil or Very Mad' => 'Evil or Very Mad',
+  'Twisted Evil' => 'Twisted Evil',
+  'Rolling Eyes' => 'Rolling Eyes',
+  'Wink' => 'Wink',
+  'Idea' => 'Idea',
+  'Arrow' => 'Arrow',
+  'Neutral' => 'Neutral',
+  'Mr. Green' => 'Mr. Green',
+);
+
+// ------------------------------------------------------------------------- //
+// File addpic.php
+// ------------------------------------------------------------------------- //
+
+// void
+
+// ------------------------------------------------------------------------- //
+// File mode.php //cpg1.4
+// ------------------------------------------------------------------------- //
+
+if (defined('MODE_PHP')) $lang_mode_php = array(
+    0 => 'Opouštím Admin Mód....:-(',
+    1 => 'Vstupuji do Admin Módu....:-)',
+);
+
+// ------------------------------------------------------------------------- //
+// File albmgr.php
+// ------------------------------------------------------------------------- //
+
+if (defined('ALBMGR_PHP')) $lang_albmgr_php = array(
+    'alb_need_name' => 'Album musí mít jméno',
+    'confirm_modifs' => 'Jste si jist(a) těmito změnami ?',
+    'no_change' => 'Neudělal(a) jste žádné změny !',
+    'new_album' => 'Nové album',
+    'confirm_delete1' => 'Jste si jist(a), že chcete smazat toto album?',
+    'confirm_delete2' => '\nVšechny obrázky a komentáře budou smazány !',
+    'select_first' => 'Nejprve vyberte album',
+    'alb_mrg' => 'Správce alb',
+    'my_gallery' => '* Moje galerie *',
+    'no_category' => '* Není kategorie *',
+    'delete' => 'Smazat',
+    'new' => 'Nový/á',
+    'apply_modifs' => 'Potvrdit změny',
+    'select_category' => 'Vybrat kategorii',
+);
+
+// ------------------------------------------------------------------------- //
+// File banning.php
+// ------------------------------------------------------------------------- //
+
+if (defined('BANNING_PHP')) $lang_banning_php = array(
+  'title' => 'Nežádoucí uživatelé', //cpg1.4
+  'user_name' => 'Uživetelské jméno', //cpg1.4
+  'ip_address' => 'IP Addresa', //cpg1.4
+  'expiry' => 'Expirace (prázdná jestli je permanentní)', //cpg1.4
+  'edit_ban' => 'Ulož změny', //cpg1.4
+  'delete_ban' => 'Vymaž', //cpg1.4
+  'add_new' => 'Přidej nového nežádoucího', //cpg1.4
+  'add_ban' => 'Přidat', //cpg1.4
+  'error_user' => 'Nemohu nalézt uživatele', //cpg1.4
+  'error_specify' => 'Musíte blíže specifikovat uživatele jménem nebo IP adresou.', //cpg1.4
+  'error_ban_id' => 'Vadné nežádoucí ID!', //cpg1.4
+  'error_admin_ban' => 'Nemůžete zakázat sami sebe!', //cpg1.4
+  'error_server_ban' => 'Tam kde děláš, to je nežádoucí server? Tsk tsk, to neudělám...', //cpg1.4
+  'error_ip_forbidden' => 'Nelze zakázat tuhle adresu IP - je privátní... non-routable (private)!<br />Jestliže chcete zakázat přístup z privátních adres, změňte to v nastavení <a href="admin.php">Nastavení</a> (only makes sense when Coppermine runs on a LAN).', //cpg1.4
+  'lookup_ip' => 'Podívej se na IP adresu', //cpg1.4
+  'submit' => 'Odešli!', //cpg1.4
+  'select_date' => 'Vyber datum', //cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File bridgemgr.php //cpg1.4
+// ------------------------------------------------------------------------- //
+
+if (defined('BRIDGEMGR_PHP')) $lang_bridgemgr_php = array(
+  'title' => 'Průvodce propojením',
+  'warning' => 'Varování: když používáte průvodce, musíte pochopit, že citlivá data budou zasílána přes html formuláře. Pouze spuštění na vašem PC(ne jako veřejný klient třeba v internetové kavárně) a musíte vymazat cache browswru a dočasné soubory, aby nedošlo k jejich prozrazení!',
+  'back' => 'zpět',
+  'next' => 'další',
+  'start_wizard' => 'Start propojovacího průvodce',
+  'finish' => 'Konec',
+  'hide_unused_fields' => 'zkryj nepoužívané položky (doporučeno)',
+  'clear_unused_db_fields' => 'vymaž vadný databázový vstup (doporučeno)',
+  'custom_bridge_file' => 'jméno tvého uživatelského překlenovacího souboru (jestlize propojovací soubor je <i>myfile.inc.php</i>, enter <i>můjsoubor</i> do tohoto pole)',
+  'no_action_needed' => 'V tomto kroku není potřeba nic dělat. klikni na  \'next\' pro pokračování.',
+  'reset_to_default' => 'Nastav defaultní hodnoty',
+  'choose_bbs_app' => 'vyberte plikaci propojení s coppermine',
+  'support_url' => 'Jdi sem pro podporu této aplikace',
+  'settings_path' => 'cesta (y) použité v BBS aplikaci',
+  'database_connection' => 'databázové spojení',
+  'database_tables' => 'databázové tabulky',
+  'bbs_groups' => 'BBS skupina',
+  'license_number' => 'Licenční číslo',
+  'license_number_explanation' => 'vlož své lizenční číslo (jestli je aplikováno)',
+  'db_database_name' => 'Jméno databáze',
+  'db_database_name_explanation' => 'Vložte jméno vaší databáze BBS',
+  'db_hostname' => 'Host databáze',
+  'db_hostname_explanation' => 'Jméno místa kde sídlí vaše mySQL databaáze, obvykle &quot;localhost&quot;',
+  'db_username' => 'Database user account',
+  'db_username_explanation' => 'mySQL uživatelské heslo pro uživatelské heslo pro připojení s BBS',
+  'db_password' => 'Heslo databáze',
+  'db_password_explanation' => 'Heslo pro mySQL uživatelského přístupu',
+  'full_forum_url' => 'Forum URL',
+  'full_forum_url_explanation' => 'Plné URL vší BBS plikace (obsahující http:// např. http://www.yourdomain.tld/forum)',
+  'relative_path_of_forum_from_webroot' => 'Relativní cesta fóra',
+  'relative_path_of_forum_from_webroot_explanation' => 'Relativní cesta k vaší BBS aplikaci (například: jestli je BBS na http://www.yourdomain.tld/forum/, vložte &quot;/forum/&quot; do tohoto pole)',
+  'relative_path_to_config_file' => 'Relativní cesta na vaši BBS konfigurační soubor',
+  'relative_path_to_config_file_explanation' => 'Relativní cestapro vaši BBS, pro Coppermine složku (např. &quot;../forum/&quot; jestliže vaše BBS je http://www.yourdomain.tld/forum/ a Coppermine na http://www.yourdomain.tld/gallery/)',
+  'cookie_prefix' => 'Cookie prefix',
+  'cookie_prefix_explanation' => 'toto je vaše BBS cookie jméno',
+  'table_prefix' => 'Prefix tabulky',
+  'table_prefix_explanation' => 'Musí být rovný prefixu ktrý byl vybrán v BBS když byla nastavována.',
+  'user_table' => 'Uživatelská tabulka',
+  'user_table_explanation' => '(obvykle defaultní nastavení je OK, avšak BBS instalace nemusí být standardní)',
+  'session_table' => 'Tabulka připojení',
+  'session_table_explanation' => '(obvykle defaultní nastavení je OK, avšak BBS instalace nemusí být standardní)',
+  'group_table' => 'Tabulka uživatelů',
+  'group_table_explanation' => '(obvykle defaultní nastavení je OK, avšak BBS instalace nemusí být standardní)',
+  'group_relation_table' => 'Tabulka relací skupiny',
+  'group_relation_table_explanation' => '(obvykle defaultní nastavení je OK, avšak BBS instalace nemusí být standardní)',
+  'group_mapping_table' => 'Tabulka mapování skupiny',
+  'group_mapping_table_explanation' => '(obvykle defaultní nastavení je OK, avšak BBS instalace nemusí být standardní)',
+  'use_standard_groups' => 'Použití standardních BBS uživatelskou skupiny',
+  'use_standard_groups_explanation' => 'Použití standardních (vestavěných) uživatelských uživatelských skupin (doporučeno). This will make all custom usergroups settings made on this page become void. Only disable this option if you REALLY know what you\'re doing!',
+  'validating_group' => 'Ověřená skupina',
+  'validating_group_explanation' => 'Skupina ID vaší BBS kde jsou uživatelská konta které potřebujete validovat(obvykle přednastavené hodnoty mohou být OK, avšak BBS nemusí být nastavena standardně)',
+  'guest_group' => 'Skupina hostů',
+  'guest_group_explanation' => 'Skupina ID vaší BBS kde jsou hosti (anonymní uživatelé) jsou v (obvykle přednastavené hodnoty mohou být OK, pouze změněny, jestliže víte jak se to dělá)',
+  'member_group' => 'Skupina uživatelů',
+  'member_group_explanation' => 'Skupina ID vaší BBS kde jsou &quot;regular&quot; uživatelské účty (obvykle přednastavené hodnoty mohou být OK, pouze změněny, jestliže víte jak se to dělá)',
+  'admin_group' => 'Administrátorská skupina',
+  'admin_group_explanation' => 'Skupina ID vaší BBS kde jsou administrátoři (obvykle přednastavené hodnoty mohou být OK, pouze změněny, jestliže víte jak se to dělá)',
+  'banned_group' => 'Nežádoucí skupina',
+  'banned_group_explanation' => 'Skupina ID vaší BBS kde jsou nežádoucí uživatelé (obvykle přednastavené hodnoty mohou být OK, pouze změněny, jestliže víte jak se to dělá)',
+  'global_moderators_group' => 'Globalní moderátorská skupina',
+  'global_moderators_group_explanation' => 'Skupina ID vaší BBS kde jsou globalní moderátoři vaší BBS (obvykle přednastavené hodnoty mohou být OK, pouze změněny, jestliže víte jak se to dělá)',
+  'special_settings' => 'BBS-specifické nastavení',
+  'logout_flag' => 'phpBB verze (logout flag)',
+  'logout_flag_explanation' => 'Jaká je verze vaší BBS version)',
+  'use_post_based_groups' => 'Použít post-based skupinu?',
+  'logout_flag_yes' => '2.0.5 a vyšší',
+  'logout_flag_no' => '2.0.4 nebo nižší',
+  'use_post_based_groups_explanation' => 'Mohou být skypiny z BBS které jsou definovány jako mnoho posts be taken into account (allows a granular permissions management) or just the default groups (makes administration easier, recommended). You can change this setting later as well.',
+  'use_post_based_groups_yes' => 'Ano',
+  'use_post_based_groups_no' => 'Ne',
+  'error_title' => 'Musíte opravit tyto chyby, než budete pokračovat. Vrate se na předešlou obrazovku.',
+  'error_specify_bbs' => 'Můžete specifikovat jakou aplikaci chcete propojit s Coppermine instalací.',
+  'error_no_blank_name' => 'Nemůžete nechat jméno propojovacího souboru prázné.',
+  'error_no_special_chars' => 'Propojovací soubor nesmí obsahovat speciální znaky jako (_) a (-)!',
+  'error_bridge_file_not_exist' => 'Propojovací soubor %s neexistuje na serveru. Zkontrolujte, jestli byl uploadován.',
+  'finalize' => 'zapnout/vypnout BBS integraci',
+  'finalize_explanation' => 'Příliš vzdálené, nastavení vámi specifikované v databázi, ale  BBS nemůže být zapnuto. Můžete nastavit integraci vypnuto/zapnuto později. Nezapomeňte změnit uživatelské jméno a heslo a pro samotnou Coppermine, můžete pozdějio potřebovat udělat nějaké změny. Jestliže něco bude v nepořádku, běžte na %s a vypněte BBS integraci, použijde samostatný (nepropojený) admin účet (obvykle je nastavený během instalece Coppermine).',
+  'your_bridge_settings' => 'Vaše propojovací nastavení',
+  'title_enable' => 'Zapnout integraci/propojení s %s',
+  'bridge_enable_yes' => 'zapnuto',
+  'bridge_enable_no' => 'vypnuto',
+  'error_must_not_be_empty' => 'nesmí být prázdné',
+  'error_either_be' => 'musí být %s nebo %s',
+  'error_folder_not_exist' => '%s neexistuje. Opravte hodnotu %s',
+  'error_cookie_not_readible' => 'Coppermine nemůže číst jméno cookie %s. Opravte hodnotu %s, nebo přejděte do BBS administrátorského panelu a zkontrolujte, že cookie cesta čitelná pro coppermine.',
+  'error_mandatory_field_empty' => 'Nemůžete pole nechat prázdné %s vyplňte příslušnou hodnotu.',
+  'error_no_trailing_slash' => 'Nesmí tam být koncové lomítko  v poli %s.',
+  'error_trailing_slash' => 'Musí tam být koncové lomítko v poli %s.',
+  'error_db_connect' => 'Nemohu se připojit na mySQL databázi s udanými údaji. Toto vrací mySQL:',
+  'error_db_name' => 'Také Coppermine nemůže navázat spojení, nebylo nalezeno v databázi %s. Zkontrolujte, zda je nastaveno správně %s .  mySQL hlásí:',
+  'error_prefix_and_table' => '%s a ',
+  'error_db_table' => 'Nemohu nalézt tabulku %s. Zkontrolujte , jestli je %s správně.',
+  'recovery_title' => 'Manažer propojení: záchranná oprava',
+  'recovery_explanation' => 'If you came here to administer the BBS integration of your Coppermine gallery, you have to log in first as admin. If you can not log in because bridging doesn\'t work as expected, you can disable BBS integration with this page. Entering your username and password will not log you in, it will only disable BBS integration. Refer to the documentation for details.',
+  'username' => 'Jméno',
+  'password' => 'Heslo',
+  'disable_submit' => 'odešli',
+  'recovery_success_title' => 'Authorizace úspěšná',
+  'recovery_success_content' => 'Odpojili jste úspěšně BBS propojení. Vaše Coppermine instalace praceje v samostatném módu.',
+  'recovery_success_advice_login' => 'Připojte se jako admin a zeditujtenastavení propojení a/nebo zapněte integraci BBS znovu.',
+  'goto_login' => 'Přechod na přihlašovací stránku',
+  'goto_bridgemgr' => 'Přechod na Manažera propojení',
+  'recovery_failure_title' => 'Authorizace se nezdařila',
+  'recovery_failure_content' => 'You supplied the wrong credentials. You will have to supply the admin account data of the standalone version (usually the account you set up during Coppermine install).',
+  'try_again' => 'zkuste to znovu',
+  'recovery_wait_title' => 'Počkejte, než uplyne daný čas',
+  'recovery_wait_content' => 'Z bezpečnostních důvodů tento skript nedovoluje špatné přihlášení, musíte chvíli počkat aby jste to mohli zkusit znovu.',
+  'wait' => 'počkej',
+  'create_redir_file' => 'Vytvořit přesměrovávací soubor (doporučeno)',
+  'create_redir_file_explanation' => 'Na přesměrování zpět do Coppermine, se bude připojovat do BBS, potřebujete přesměrovat soubor vytvořený ve vaší BBS složce. Když je tato volba vybrána, propojovací manažer vytoří tento soubor pro vás, nebo vám předá kód připravený na kopírování manuálně.',
+  'browse' => 'browse',
+);
+
+// ------------------------------------------------------------------------- //
+// File calendar.php //cpg1.4
+// ------------------------------------------------------------------------- //
+
+if (defined('CALENDAR_PHP')) $lang_calendar_php = array(
+  'title' => 'Kalendář', //cpg1.4
+  'close' => 'zavři', //cpg1.4
+  'clear_date' => 'vymaž datum', //cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File catmgr.php
+// ------------------------------------------------------------------------- //
+
+if (defined('CATMGR_PHP')) $lang_catmgr_php = array(
+    'miss_param' => 'Parametry potřebné pro \'%s\'operaci not supplied !',
+    'unknown_cat' => 'Vybraná kategorie v databázi neexistuje',
+    'usergal_cat_ro' => 'Nelze smazat uživatelská alba  !',
+    'manage_cat' => 'Spravovat kategorie',
+    'confirm_delete' => 'Opravdu chcete SMAZAT tuto kategorii',
+    'category' => 'Kategorie',
+    'operations' => 'Operace',
+    'move_into' => 'Přesunout do',
+    'update_create' => 'Aktualizovat/Vytvořit kategorii',
+    'parent_cat' => 'Nadřazená kategorie',
+    'cat_title' => 'Nadpis kategorie',
+    'cat_thumb' => 'Miniatura kategorie', //cpg1.3.0
+    'cat_desc' => 'Popis kategorie',
+  'categories_alpha_sort' => 'Setřiď kategorie abecedně (místo uživatelkým třídícím pravidlem)', //cpg1.4
+  'save_cfg' => 'Ulož nastavení', //cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File admin.php //cpg1.4
+// ------------------------------------------------------------------------- //
+
+if (defined('ADMIN_PHP')) $lang_admin_php = array(
+    'title' => 'Nastavení',
+  'manage_exif' => 'Nastav exif zobrazení', //cpg1.4
+  'manage_plugins' => 'Nastav pluginy', //cpg1.4
+  'manage_keyword' => 'Nastav Klíčová slova', //cpg1.4
+    'restore_cfg' => 'Nastavit výchozí',
+    'save_cfg' => 'Uložit konfiguraci',
+    'notes' => 'Poznámky',
+  'info' => 'Informace',
+    'upd_success' => 'Konfigurace byla změněna',
+    'restore_success' => 'Konfigurace byla nastavena na výchozí nastavení',
+    'name_a' => 'Jméno vzestupně',
+    'name_d' => 'Jméno sestupně',
+    'title_a' => 'Nadpis vzestupně',
+    'title_d' => 'Nadpis sestupně',
+    'date_a' => 'Datum vzestupně',
+    'date_d' => 'Datum sestupně',
+  'pos_a' => 'Pozice vzestupně', //cpg1.4
+  'pos_d' => 'Pozice sestupně', //cpg1.4
+    'th_any' => 'Max rozlišení',
+    'th_ht' => 'Výška',
+    'th_wd' => 'Šířka',
+    'label' => 'popiska', //cpg1.3.0
+    'item' => 'položka', //cpg1.3.0
+    'debug_everyone' => 'Každý', //cpg1.3.0
+    'debug_admin' => 'Pouze Admin', //cpg1.3.0
+  'no_logs'=> 'Vypnuto', //cpg1.4
+  'log_normal'=> 'Normal', //cpg1.4
+  'log_all' => 'Všechno', //cpg1.4
+  'view_logs' => 'Zobraz logy', //cpg1.4
+  'click_expand' => 'klikni na jméno sekce pro rozbalení', //cpg1.4
+  'expand_all' => 'Rozbal vše', //cpg1.4
+  'notice1' => '(*) Toto nastavení nesmí být změněno jestliže máte uloženy soubory v databázi.', //cpg1.4 - (relocated)
+  'notice2' => '(**) Když se změní toto nastavení, pouze soubory, které budou přidány později budou mít viditelné změny. Avšak aplikovat tuto změnu lze přes &quot;<a href="util.php">administrátorské nástroje&quot</a>.', //cpg1.4 - (relocated)
+  'notice3' => '(***) Všechny log soubory jsou v angličtině.', //cpg1.4 - (relocated)
+  'bbs_disabled' => 'Funkce je vypnuta když se použije bb integrace', //cpg1.4
+  'auto_resize_everyone' => 'Kdokoliv', //cpg1.4
+  'auto_resize_user' => 'Pouze uživatel', //cpg1.4
+  'ascending' => 'vzestupně', //cpg1.4
+  'descending' => 'sestupně', //cpg1.4
+);
+
+if (defined('ADMIN_PHP')) $lang_admin_data = array(
+  'Hlavní nastavení',
+  array('Jméno galerie', 'gallery_name', 0, 'f=index.htm&amp;as=admin_general_name&amp;ae=admin_general_name_end'), //cpg1.4
+  array('Popiska galerie', 'gallery_description', 0, 'f=index.htm&amp;as=admin_general_description&amp;ae=admin_general_description_end'), //cpg1.4
+  array('Email na administrátora', 'gallery_admin_email', 0, 'f=index.htm&amp;as=admin_general_email&amp;ae=admin_general_email_end'), //cpg1.4
+  array('URL vaší složky coppermine galerie (ne \'index.php\' nebo podobné)', 'ecards_more_pic_target', 0, 'f=index.htm&amp;as=admin_general_coppermine-url&amp;ae=admin_general_coppermine-url_end'), //cpg1.4
+  array('URL vaší startovací stránky', 'home_target', 0, 'f=index.htm&amp;as=admin_general_home-url&amp;ae=admin_general_home-url_end'), //cpg1.4
+  array('Povolit ZIP-download oblíbených', 'enable_zipdownload', 1, 'f=index.htm&amp;as=admin_general_zip-download&amp;ae=admin_general_zip-download_end'), //cpg1.4
+  array('Timezona se liší od GMT (aktuální místní čas: ' . localised_date(-1, $comment_date_fmt) . ')','time_offset',0, 'f=index.htm&amp;as=admin_general_time-offset&amp;ae=admin_general_time-offset_end&amp;top=1'), //cpg1.4
+  array('Zapnout šifrování hesel (nemusí být uvolněno)','enable_encrypted_passwords',1, 'f=index.htm&amp;as=admin_general_encrypt_password_start&amp;ae=admin_general_encrypt_password_end&amp;top=1'), // cpg 1.4
+  array('Zapnout help-iconu (nápověda napsána pouze v angličtině)','enable_help',9, 'f=index.htm&amp;as=admin_general_help&amp;ae=admin_general_help_end'), //cpg1.4
+  array('Zapnout klíčová slova ve vyhledávání','clickable_keyword_search',14, 'f=index.htm&amp;as=admin_general_keywords_start&amp;ae=admin_general_keywords_end'), //cpg1.4
+  array('Zapnout pluginy', 'enable_plugins', 12, 'f=index.htm&amp;as=admin_general_enable-plugins&amp;ae=admin_general_enable-plugins_end'),  //cpg1.4
+  array('Povol odmítat neprivátní IP adresy', 'ban_private_ip', 1,  'f=index.htm&amp;as=admin_general_private-ip&amp;ae=admin_general_private-ip_end'), //cpg1.4
+  array('Dávkové rozhraní v browseru', 'browse_batch_add', 1, 'f=index.htm&amp;as=admin_general_browsable_batch_add&amp;ae=admin_general_browsable_batch_add_end'), //cpg1.4
+
+  'Nastavení jazyka &amp; znakové sady',
+  array('Jazyk', 'lang', 5, 'f=index.htm&amp;as=admin_language_language&amp;ae=admin_language_language_end'), //cpg1.4
+  array('Návrat do Angličtiny, jestli nastavený jazyk není nalezen', 'language_fallback', 1, 'f=index.htm&amp;as=admin_language_fallback&amp;ae=admin_language_fallback_end'), //cpg1.4
+  array('Znaková sada', 'charset', 4, 'f=index.htm&amp;as=admin_language_charset&amp;ae=admin_language_charset_end'), //cpg1.4
+  array('Zobraz seznam jazyků', 'language_list', 1, 'f=index.htm&amp;as=admin_language_list&amp;ae=admin_language_list_end'), //cpg1.4
+  array('Zobraz vlajky na výběr jazyka', 'language_flags', 8, 'f=index.htm&amp;as=admin_language_flags&amp;ae=admin_language_flags_end&amp;top=1'), //cpg1.4
+  array('Zobraz &quot;reset&quot; ve výběru jazyka', 'language_reset', 1, 'f=index.htm&amp;as=admin_language_reset&amp;ae=admin_language_reset_end&amp;top=1'), //cpg1.4
+  //array('Zobraz předchozí/následující tabulkové stránky', 'previous_next_tab', 1), //cpg1.4
+
+  'Nastavení témat',
+  array('Téma', 'theme', 6, 'f=index.htm&amp;as=admin_theme_theme&amp;ae=admin_theme_theme_end'), //cpg1.4
+  array('Zobraz seznam témat', 'theme_list', 1, 'f=index.htm&amp;as=admin_theme_theme_list&amp;ae=admin_theme_theme_list_end'), //cpg1.4
+  array('Zobraz &quot;reset&quot; ve výběru témata', 'theme_reset', 1, 'f=index.htm&amp;as=admin_theme_theme_reset&amp;ae=admin_theme_theme_reset_end'), //cpg1.4
+  array('Zobraz FAQ', 'display_faq', 1, 'f=index.htm&amp;as=admin_theme_faq&amp;ae=admin_theme_faq_end'), //cpg1.4
+  array('Jméno volitelné položky v menu', 'custom_lnk_name', 0,'f=index.htm&amp;as=admin_theme_custom_lnk_name&amp;ae=admin_theme_custom_lnk_name_end'), //cpg1.4
+  array('URL volitelné položky v menu', 'custom_lnk_url', 0,'f=index.htm&amp;as=admin_language_custom_lnk_url&amp;ae=admin_language_custom_lnk_url_end'), //cpg1.4
+  array('Zobraz bbcode nápovědu', 'show_bbcode_help', 1, 'f=index.htm&amp;as=admin_theme_bbcode&amp;ae=admin_theme_bbcode_end&amp;top=1'), //cpg1.4
+  array('Zobrazuj validační značky témat definované jako XHTML a CSS compliant','vanity_block',1, 'f=index.htm&amp;as=vanity_block&amp;ae=vanity_block_end'), //cpg1.4
+  array('Cesta pro volitelné vložené záhlaví', 'custom_header_path', 0, 'f=index.htm&amp;as=admin_theme_include_path_start&amp;ae=admin_theme_include_path_end'), //cpg1.4
+  array('Cesta pro volitelné vložené zápatí', 'custom_footer_path', 0, 'f=index.htm&amp;as=admin_theme_include_path_start&amp;ae=admin_theme_include_path_end'), //cpg1.4
+
+  'Nastavení zobrazení výpisu alb',
+  array('Velikost šířky hlavní tabukly (pixlů nebo %)', 'main_table_width', 0, 'f=index.htm&amp;as=admin_album_table-width&amp;ae=admin_album_table-width_end'), //cpg1.4
+  array('Počet zobrazovaných zanoření kategorií', 'subcat_level', 0, 'f=index.htm&amp;as=admin_album_category-levels&amp;ae=admin_album_category-levels_end'), //cpg1.4
+  array('Počet alb pro zobrazení', 'albums_per_page', 0, 'f=index.htm&amp;as=admin_album_number&amp;ae=admin_album_number_end'), //cpg1.4
+  array('Počet sloupců v listu alba', 'album_list_cols', 0, 'f=index.htm&amp;as=admin_album_columns&amp;ae=admin_album_columns_end'), //cpg1.4
+  array('Velikost náhledu v pixlech', 'alb_list_thumb_size', 0, 'f=index.htm&amp;as=admin_album_thumbnail-size&amp;ae=admin_album_thumbnail-size_end'), //cpg1.4
+  array('Styl hlavní stránky', 'main_page_layout', 0, 'f=index.htm&amp;as=admin_album_list_content&amp;ae=admin_album_list_content_end'), //cpg1.4
+  array('Ukaž první album v kategoriích','first_level',1, 'f=index.htm&amp;as=admin_album_first-level_thumbs&amp;ae=admin_album_first-level_thumbs_end'), //cpg1.4
+  array('Setřiď kategorie alfanumericky (namísto uživatelského nastavení třídění)','categories_alpha_sort',1, 'f=index.htm&amp;as=admin_album_list_alphasort_start&amp;ae=admin_album_list_alphasort_end'), //cpg1.4
+  array('Ukaž celkový počet souborů','link_pic_count',1, 'f=index.htm&amp;as=admin_album_linked_files_start&amp;ae=admin_album_linked_files_end'), //cpg1.4
+
+  'Nastavení náhledů',
+  array('Počet sloupců na stránce s náhledy', 'thumbcols', 0, 'f=index.htm&amp;as=admin_thumbnail_columns&amp;ae=admin_thumbnail_columns_end'), //cpg1.4
+  array('Počet řádků na stránce s náhledy', 'thumbrows', 0, 'f=index.htm&amp;as=admin_thumbnail_rows&amp;ae=admin_thumbnail_rows_end'), //cpg1.4
+  array('Maximální počet štítků pro zobrazení stránek na liště', 'max_tabs', 10, 'f=index.htm&amp;as=admin_thumbnail_tabs&amp;ae=admin_thumbnail_tabs_end'), //cpg1.4
+  array('Zobraz popis souboru (přidaný k názvu) pod náhledem', 'caption_in_thumbview', 1, 'f=index.htm&amp;as=admin_thumbnail_display_caption&amp;ae=admin_thumbnail_display_caption_end'), //cpg1.4
+  array('Zobraz počet zobrazení pod náhledem', 'views_in_thumbview', 1, 'f=index.htm&amp;as=admin_thumbnail_display_views&amp;ae=admin_thumbnail_display_views_end'), //cpg1.4
+  array('Zobraz počet komentářů pod náhledem', 'display_comment_count', 1, 'f=index.htm&amp;as=admin_thumbnail_display_comments&amp;ae=admin_thumbnail_display_comments_end'), //cpg1.4
+  array('Zobraz jméno uploadu pod náhledem', 'display_uploader', 1, 'f=index.htm&amp;as=admin_thumbnail_display_uploader&amp;ae=admin_thumbnail_display_uploader_end'), //cpg1.4
+  //array('Display name of admin uploaders below the thumbnail', 'display_admin_uploader', 1, 'f=index.htm&amp;as=admin_thumbnail_display_admin_uploader&amp;ae=admin_thumbnail_display_admin_uploader_end'), //cpg1.4
+  array('Zobraz jméno souboru pod náhledem', 'display_filename', 1, 'f=index.htm&amp;as=admin_thumbnail_display_filename&amp;ae=admin_thumbnail_display_filename_end'), //cpg1.4
+  //array('Zobraz popis alba', 'alb_desc_thumb', 1, 'f=index.htm&amp;as=admin_thumbnail_display_description&amp;ae=admin_thumbnail_display_description_end'), //cpg1.4
+  array('Přednastavené třídění souborů', 'default_sort_order', 3, 'f=index.htm&amp;as=admin_thumbnail_default_sortorder&amp;ae=admin_thumbnail_default_sortorder_end'), //cpg1.4
+  array('Minimální počet hlasujících, aby byl soubor umístěn mezi \'top-rated\' list', 'min_votes_for_rating', 0, 'f=index.htm&amp;as=admin_thumbnail_minimum_votes&amp;ae=admin_thumbnail_minimum_votes_end'), //cpg1.4
+
+  'Nastavení obrázků', //cpg1.4
+  array('Velikost šířky hlavní tabukly (pixlů nebo %)', 'picture_table_width', 0, 'f=index.htm&amp;as=admin_image_comment_table-width&amp;ae=admin_image_comment_table-width_end'), //cpg1.4
+  array('Zobrazení informací o souboru přednastavené', 'display_pic_info', 1, 'f=index.htm&amp;as=admin_image_comment_info_visible&amp;ae=admin_image_comment_info_visible_end'), //cpg1.4
+  array('Max délka poznámky k obrázku', 'max_img_desc_length', 0, 'f=index.htm&amp;as=admin_image_comment_descr_length&amp;ae=admin_image_comment_descr_length_end'), //cpg1.4
+  array('Max počet písmen ve slově', 'max_com_wlength', 0, 'f=index.htm&amp;as=admin_image_comment_chars_per_word&amp;ae=admin_image_comment_chars_per_word_end'), //cpg1.4
+  array('Ukaž filmový pás náhledů', 'display_film_strip', 1, 'f=index.htm&amp;as=admin_image_comment_filmstrip_toggle&amp;ae=admin_image_comment_filmstrip_toggle_end'), //cpg1.4
+  array('Zobraz jméno souboru ve filmovém pásu náhledů', 'display_film_strip_filename', 1, 'f=index.htm&amp;as=admin_image_comment_display_film_strip_filename&amp;ae=admin_image_comment_display_film_strip_filename_end'), //cpg1.4
+  array('Počet položek ve filmovém pásu náhledů', 'max_film_strip_items', 0, 'f=index.htm&amp;as=admin_image_comment_filmstrip_number&amp;ae=admin_image_comment_filmstrip_number_end'), //cpg1.4
+  array('Slideshow interval v milisekundách (1 sekunda = 1000 milisekund)', 'slideshow_interval', 0, 'f=index.htm&amp;as=admin_image_comment_slideshow_interval&amp;ae=admin_image_comment_slideshow_interval_end'), //cpg1.4
+
+  'Nastavení komentářů', //cpg1.4
+  array('Filtrování zakázaných slov v komentářích', 'filter_bad_words', 1, 'f=index.htm&amp;as=admin_image_comment_bad_words&amp;ae=admin_image_comment_bad_words_end'), //cpg1.4
+  array('Povolit smajlíky v komentářích', 'enable_smilies', 1, 'f=index.htm&amp;as=admin_image_comment_smilies&amp;ae=admin_image_comment_smilies_end'), //cpg1.4
+  array('Povolit několik za sebou jdoucích stejných komentářů od jednoho uživatele (vypnout záplavovou ochranu)', 'disable_comment_flood_protect', 1, 'f=index.htm&amp;as=admin_image_comment_flood&amp;ae=admin_image_comment_flood_end'), //cpg1.4
+  array('Max počet řádků na komentář', 'max_com_lines', 0, 'f=index.htm&amp;as=admin_image_comment_lines&amp;ae=admin_image_comment_lines_end'), //cpg1.4
+  array('Maximální délka komentáře', 'max_com_size', 0, 'f=index.htm&amp;as=admin_image_comment_length&amp;ae=admin_image_comment_length_end'), //cpg1.4
+  array('Oznam adminovi komentáře emailem', 'email_comment_notification', 1, 'f=index.htm&amp;as=admin_image_comment_admin_notify&amp;ae=admin_image_comment_admin_notify_end'), //cpg1.4
+  array('Setřiď pořadí komentářů', 'comments_sort_descending', 17, 'f=index.htm&amp;as=admin_comment_sort_start&amp;ae=admin_comment_sort_end'), //cpg1.4
+  array('Prefix pro anonymní autory komentářů', 'comments_anon_pfx', 0, 'f=index.htm&amp;as=comments_anon_pfx&amp;ae=comments_anon_pfx_end'), //cpg1.4
+
+  'Nastavení souborů a tvorby náhledů',
+  array('Kvalita JPEG souborů', 'jpeg_qual', 0, 'f=index.htm&amp;as=admin_picture_thumbnail_jpeg_quality&amp;ae=admin_picture_thumbnail_jpeg_quality_end'), //cpg1.4
+  array('Max velikost náhledu <a href="#notice2" class="clickable_option">**</a>', 'thumb_width', 0, 'f=index.htm&amp;as=admin_picture_thumbnail_max-dimension&amp;ae=admin_picture_thumbnail_max-dimension_end'), //cpg1.4
+  array('Použij velikost ( šířka nebo výška nebo Max rozlišení pro náhled ) <a href="#notice2" class="clickable_option">**</a>', 'thumb_use', 7, 'f=index.htm&amp;as=admin_picture_thumbnail_use-dimension&amp;ae=admin_picture_thumbnail_use-dimension_end'), //cpg1.4
+  array('Vytvoř střední náhledy','make_intermediate',1, 'f=index.htm&amp;as=admin_picture_thumbnail_intermediate_toggle&amp;ae=admin_picture_thumbnail_intermediate_toggle_end'), //cpg1.4
+  array('Max šířka nebo výška středních náhledů obrázků/videa <a href="#notice2" class="clickable_option">**</a>', 'picture_width', 0, 'f=index.htm&amp;as=admin_picture_thumbnail_intermediate_dimension&amp;ae=admin_picture_thumbnail_intermediate_dimension_end'), //cpg1.4
+  array('Max velikost uploadovaných souborů (KB)', 'max_upl_size', 0, 'f=index.htm&amp;as=admin_picture_thumbnail_max_upload_size&amp;ae=admin_picture_thumbnail_max_upload_size_end'), //cpg1.4
+  array('Max šířka nebo výška uploudovaných obrázků/videí (pixely)', 'max_upl_width_height', 0, 'f=index.htm&amp;as=admin_picture_thumbnail_max_upload_dimension&amp;ae=admin_picture_thumbnail_max_upload_dimension_end'), //cpg1.4
+  array('Automaticky změň velikost obrázku, je-li větší než Max šířka nebo výška', 'auto_resize', 16, 'f=index.htm&amp;as=admin_picture_thumbnail_auto-resize&amp;ae=admin_picture_thumbnail_auto-resize_end'), //cpg1.4
+
+  'Rozšířené nastavení souborů a tvorby náhledů',
+  array('Galerie může být soukromá (Poznámka: jestliže změníte \'Ano\' na \'Ne\' jakákoliv současná soukromá galerie se stane veřejnou.)', 'allow_private_albums', 1, 'f=index.htm&amp;as=admin_picture_thumb_advanced_private_toggle&amp;ae=admin_picture_thumb_advanced_private_toggle_end'), //cpg1.4
+  array('Ukaž ikomu soukromé galerie nepřihlášenému uživateli','show_private',1, 'f=index.htm&amp;as=admin_picture_thumb_advanced_private_icon_show&amp;ae=admin_picture_thumb_advanced_private_icon_show_end'), //cpg1.4
+  array('Zakázaná slova v názvech', 'forbiden_fname_char',0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_filename_forbidden_chars&amp;ae=admin_picture_thumb_advanced_filename_forbidden_chars_end'), //cpg1.4
+  //array('Accepted file extensions for uploaded pictures', 'allowed_file_extensions',0, 'f=index.htm&amp;as=&amp;ae=_end'), //cpg1.4
+  array('Povolené typy obrázků', 'allowed_img_types',0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_pic_extensions&amp;ae=admin_picture_thumb_advanced_pic_extensions_end'), //cpg1.4
+  array('Povolené typy videí', 'allowed_mov_types',0, 'f=index.htm&amp;as=admin_thumbs_advanced_movie&amp;ae=admin_thumbs_advanced_movie_end'), //cpg1.4
+  array('Movie Playback Autostart', 'media_autostart',1, 'f=index.htm&amp;as=admin_movie_autoplay&amp;ae=admin_movie_autoplay_end'), //cpg1.4
+  array('Povolené audio typy', 'allowed_snd_types',0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_audio_extensions&amp;ae=admin_picture_thumb_advanced_audio_extensions_end'), //cpg1.4
+  array('Povolené typy dokumentů', 'allowed_doc_types',0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_doc_extensions&amp;ae=admin_picture_thumb_advanced_doc_extensions_end'), //cpg1.4
+  array('Metoda změny obrázků','thumb_method',2, 'f=index.htm&amp;as=admin_picture_thumb_advanced_resize_method&amp;ae=admin_picture_thumb_advanced_resize_method_end'), //cpg1.4
+  array('Cesta k ImageMagick \'convert\' utility (například /usr/bin/X11/)', 'impath', 0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_im_path&amp;ae=admin_picture_thumb_advanced_im_path_end'), //cpg1.4
+  //array('Allowed image types (only valid for ImageMagick)', 'allowed_img_types',0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_allowed_imagetypes&amp;ae=admin_picture_thumb_advanced_allowed_imagetypes_end'), //cpg1.4
+  array('Parametry příkazové řádky pro ImageMagick', 'im_options', 0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_im_commandline&amp;ae=admin_picture_thumb_advanced_im_commandline_end'), //cpg1.4
+  array('Číst EXIF data v JPEG souborech', 'read_exif_data', 13, 'f=index.htm&amp;as=admin_picture_thumb_advanced_exif&amp;ae=admin_picture_thumb_advanced_exif_end'), //cpg1.4
+  array('Číst IPTC data v JPEG souborech', 'read_iptc_data', 1, 'f=index.htm&amp;as=admin_picture_thumb_advanced_iptc&amp;ae=admin_picture_thumb_advanced_iptc_end'), //cpg1.4
+  array('Adresář pro galerie <a href="#notice1" class="clickable_option">*</a>', 'fullpath', 0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_albums_dir&amp;ae=admin_picture_thumb_advanced_albums_dir_end'), //cpg1.4
+  array('Adresář pro uživatelské soubory <a href="#notice1" class="clickable_option">*</a>', 'userpics', 0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_userpics_dir&amp;ae=admin_picture_thumb_advanced_userpics_dir_end'), //cpg1.4
+  array('Předpona pro střední náhledy <a href="#notice1" class="clickable_option">*</a>', 'normal_pfx', 0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_intermediate_prefix&amp;ae=admin_picture_thumb_advanced_intermediate_prefix_end'), //cpg1.4
+  array('Předpona pro náhledy<a href="#notice1" class="clickable_option">*</a>', 'thumb_pfx', 0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_thumbs_prefix&amp;ae=admin_picture_thumb_advanced_thumbs_prefix_end'), //cpg1.4
+  array('Defaultní mód pro adresáře', 'default_dir_mode', 0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_chmod_folder&amp;ae=admin_picture_thumb_advanced_chmod_folder_end'), //cpg1.4
+  array('Defaultní mód pro soubory', 'default_file_mode', 0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_chmod_files&amp;ae=admin_picture_thumb_advanced_chmod_files_end'), //cpg1.4
+
+  'Nastavení uživatelů',
+  array('Povolit registraci nového uživatele', 'allow_user_registration', 1, 'f=index.htm&amp;as=admin_allow_registration&amp;ae=admin_allow_registration_end'), //cpg1.4
+  array('Povolit přístup nepřihlášeným (host nebo anonym) uživatelům', 'allow_unlogged_access', 1, 'f=index.htm&amp;as=admin_allow_unlogged_access&amp;ae=admin_allow_unlogged_access_end'), //cpg1.4
+  array('Uživatelská registrace vyžaduje emailovou verifikaci', 'reg_requires_valid_email', 1, 'f=index.htm&amp;as=admin_registration_verify&amp;ae=admin_registration_verify_end'), //cpg1.4
+  array('Oznam adminovi uživatelskou registraci emailem', 'reg_notify_admin_email', 1, 'f=index.htm&amp;as=admin_registration_notify&amp;ae=admin_registration_notify_end'), //cpg1.4
+  array('Admin aktivuje registraci', 'admin_activation', 1, 'f=index.htm&amp;as=admin_activation&amp;ae=admin_activation_end'),  //cpg1.4
+  array('Povol dvěma uživatelům stejnou emailovou adresu', 'allow_duplicate_emails_addr', 1, 'f=index.htm&amp;as=admin_allow_duplicate_emails_addr&amp;ae=admin_allow_duplicate_emails_addr_end'), //cpg1.4
+  array('Oznam adminovi uživatelský upload pro očekávané schválení', 'upl_notify_admin_email', 1, 'f=index.htm&amp;as=admin_approval_notify&amp;ae=admin_approval_notify_end'), //cpg1.4
+  array('Povol registrovaným uživatelům prohlížet seznam uživatelů', 'allow_memberlist', 1, 'f=index.htm&amp;as=admin_user_memberlist&amp;ae=admin_user_memberlist_end'), //cpg1.4
+  array('Povol uživateli měnit svou emailovou adresu ve svém profilu', 'allow_email_change', 1, 'f=index.htm&amp;as=admin_user_allow_email_change&amp;ae=admin_user_allow_email_change_end'), //cpg1.4
+  array('Povol uživateli kontrolu nad jeho uploadovanými obrázky v albech', 'users_can_edit_pics', 1, 'f=index.htm&amp;as=admin_user_editpics_public_start&amp;ae=admin_user_editpics_public_end'), //cpg1.4
+  array('Počet neúspěšných přihlášení pro dočasné zablokování uživatele (ochrana proti  útoku silou)', 'login_threshold', 0, 'f=index.htm&amp;as=admin_user_login_start&amp;ae=admin_user_login_end'), //cpg1.4
+  array('Doba dočasného zablokování po neúspěšných pokusech o přihlášení', 'login_expiry', 0, 'f=index.htm&amp;as=admin_user_login_start&amp;ae=admin_user_login_end'), //cpg1.4
+  array('Povol zprávu pro admina', 'report_post', 1, 'f=index.htm&amp;as=admin_user_enable_report&amp;ae=admin_user_enable_report_end'),  //cpg1.4
+
+// custom profile fields,  //cpg1.4
+  'Měnitelná pole v uživatelově profilu (ponechte prázdné, jestli nepoužijete). Použijte až 6 profilů pro vstupy, jako je biografie atd.', //cpg1.4
+  array('Profil 1 jméno', 'user_profile1_name', 0, 'f=index.htm&amp;as=admin_custom&amp;ae=admin_custom_end'), //cpg1.4
+  array('Profil 2 jméno', 'user_profile2_name', 0), //cpg1.4
+  array('Profil 3 jméno', 'user_profile3_name', 0), //cpg1.4
+  array('Profil 4 jméno', 'user_profile4_name', 0), //cpg1.4
+  array('Profil 5 jméno', 'user_profile5_name', 0), //cpg1.4
+  array('Profil 6 jméno', 'user_profile6_name', 0), //cpg1.4
+
+  'Měnitelná pole pro popisky obrázků (ponechte prázdné, jestli nepoužijete)',
+  array('Pole 1 jméno', 'user_field1_name', 0, 'f=index.htm&amp;as=admin_custom_image&amp;ae=admin_custom_image_end'), //cpg1.4
+  array('Pole 2 jméno', 'user_field2_name', 0),
+  array('Pole 3 jméno', 'user_field3_name', 0),
+  array('Pole 4 jméno', 'user_field4_name', 0),
+
+  'Nastavení cookies',
+  array('Jméno cookie', 'cookie_name', 0, 'f=index.htm&amp;as=admin_cookie_name&amp;ae=admin_cookie_name_end'), //cpg1.4
+  array('Cesta k cookie', 'cookie_path', 0, 'f=index.htm&amp;as=admin_cookie_path&amp;ae=admin_cookie_path_end'), //cpg1.4
+
+  'Nastavení emailů (obvykle zde není nic potřeba měnit; ponechte prázdné, jestli nepoužijete)', //cpg1.4
+  array('SMTP Host (when left blank, sendmail will be used)', 'smtp_host', 0, 'f=index.htm&amp;as=admin_email&amp;ae=admin_email_end'), //cpg1.4
+  array('SMTP Jméno', 'smtp_username', 0), //cpg1.4
+  array('SMTP Heslo', 'smtp_password', 0), //cpg1.4
+
+  'Statistika a záznamy přístupů', //cpg1.4
+  array('Mód logování <a href="#notice3" class="clickable_option">***</a>', 'log_mode', 11, 'f=index.htm&amp;as=admin_logging_log_mode&amp;ae=admin_logging_log_mode_end'), //cpg1.4
+  array('Logovat ecardy', 'log_ecards', 1, 'f=index.htm&amp;as=admin_general_log_ecards&amp;ae=admin_general_log_ecards_end'), //cpg1.4
+  array('Udržování detailů ve statistice voleb','vote_details',1, 'f=index.htm&amp;as=admin_logging_votedetails&amp;ae=admin_logging_votedetails_end'), //cpg1.4
+  array('Udržování detailů ve statistice přístupů','hit_details',1, 'f=index.htm&amp;as=admin_logging_hitdetails&amp;ae=admin_logging_hitdetails_end'), //cpg1.4
+
+  'Nastavení údržby', //cpg1.4
+  array('Zapni testovací mód', 'debug_mode', 9, 'f=index.htm&amp;as=debug_mode&amp;ae=debug_mode_end'), //cpg1.4
+  array('Zobraz poznámky v testovacím módu', 'debug_notice', 1, 'f=index.htm&amp;as=admin_misc_debug_notices&amp;ae=admin_misc_debug_notices_end'), //cpg1.4
+  array('Galerie je offline', 'offline', 1, 'f=index.htm&amp;as=admin_general_offline&amp;ae=admin_general_offline_end'), //cpg1.4
+);
+
+
+// ------------------------------------------------------------------------- //
+// File db_ecard.php
+// ------------------------------------------------------------------------- //
+
+if (defined('DB_ECARD_PHP')) $lang_db_ecard_php = array(
+  'title' => 'Zasílání ecards', //cpg1.3.0
+  'ecard_sender' => 'Odesílatel', //cpg1.3.0
+  'ecard_recipient' => 'Příjemce', //cpg1.3.0
+  'ecard_date' => 'Datum', //cpg1.3.0
+  'ecard_display' => 'Zobrazit ecard', //cpg1.3.0
+  'ecard_name' => 'Jméno', //cpg1.3.0
+  'ecard_email' => 'Email', //cpg1.3.0
+  'ecard_ip' => 'IP #', //cpg1.3.0
+  'ecard_ascending' => 'vzestupně', //cpg1.3.0
+  'ecard_descending' =>'sestupně', //cpg1.3.0
+  'ecard_sorted' => 'Setříděné', //cpg1.3.0
+  'ecard_by_date' => 'podle data', //cpg1.3.0
+  'ecard_by_sender_name' => 'podle jména odesílatele', //cpg1.3.0
+  'ecard_by_sender_email' => 'podle emailu odesílatele', //cpg1.3.0
+  'ecard_by_sender_ip' => 'podle IP addressy odesílatele', //cpg1.3.0
+  'ecard_by_recipient_name' => 'podle jména příjemce', //cpg1.3.0
+  'ecard_by_recipient_email' => 'podle emailu příjemce', //cpg1.3.0
+  'ecard_number' => 'zobrazení záznamu %s až %s z %s', //cpg1.3.0
+  'ecard_goto_page' => 'přechod na stranu', //cpg1.3.0
+  'ecard_records_per_page' => 'Záznamu na jedné stránce', //cpg1.3.0
+  'check_all' => 'Zatrhnout vše', //cpg1.3.0
+  'uncheck_all' => 'Odznačit vše', //cpg1.3.0
+  'ecards_delete_selected' => 'Smazat vybrané ecards', //cpg1.3.0
+  'ecards_delete_confirm' => 'Jste si jist, že chcete smazat záznamy? Nastavte checkbox!', //cpg1.3.0
+  'ecards_delete_sure' => 'Jsem si jist.', //cpg1.3.0
+);
+
+
+// ------------------------------------------------------------------------- //
+// File db_input.php
+// ------------------------------------------------------------------------- //
+if (defined('DB_INPUT_PHP')) $lang_db_input_php = array(
+    'empty_name_or_com' => 'Vložte jméno a Váš komentář',
+    'com_added' => 'Váš komentář byl přidán',
+    'alb_need_title' => 'Prosím, dejte albu nadpis !',
+    'no_udp_needed' => 'Aktualizace není třeba.',
+    'alb_updated' => 'Album bylo přidáno',
+    'unknown_album' => 'Vybrané album neexistuje nebo nemáte práva pro upload do tohoto alba',
+    'no_pic_uploaded' => 'Obrázek nebyl uploadován!<br /><br />zkontrolujte zda server podporuje upload souborů, či zda jste opravdu zadal(a) obrázek k uploadu...',
+    'err_mkdir' => '  ERROR: Chyba při vytváření adresáře (nebyl vytvořen) %s !',
+    'dest_dir_ro' => 'Do cílového adresáře %s nemůže skript zapisovat (zkontrolujte práva) !',
+    'err_move' => 'Nelze přesunout %s do %s !',
+    'err_fsize_too_large' => 'Rozměry obrázku, který se snažíte uploadovat, jsou příliš velké (max. velikost je %s x %s) !',
+    'err_imgsize_too_large' => 'Velikost souboru, který se snažíte uploadovat, je příliš velká (max. velikost je %s KB) !',
+    'err_invalid_img' => 'Soubor který jste nahrál(a) na server není validním obrázkem !',
+    'allowed_img_types' => 'Můžete uploadovat pouze obrázky %s .',
+    'err_insert_pic' => 'Obrázek \'%s\' nelze vložit do alba ',
+    'upload_success' => 'Váš obrázek byl nahrán na server bez problémů<br /><br />Bude viditelný po schválení adminem.',
+    'notify_admin_email_subject' => '%s - upozornění na Upload', //cpg1.3.0
+    'notify_admin_email_body' => '%s nahrál do alba obrázek, který vyžaduje vaše potvrzení. Navštivte prosím %s', //cpg1.3.0
+    'info' => 'Informace',
+    'com_added' => 'Komentářu přidáno',
+    'alb_updated' => 'Album aktualizováno',
+    'err_comment_empty' => 'Váš komentář je prázdný !',
+    'err_invalid_fext' => 'Pouze soubory s následujícími koncovkami jsou podporované : <br /><br />%s.',
+    'no_flood' => 'Jste autor posledního komentáře k tomuto obrázku<br /><br />Pokud ho chcete změnit použijte volbu upravit ',
+    'redirect_msg' => 'Právě jste přesměrováván(a).<br /><br /><br />Klikněte na \'POKRAČOVAT\' pokud se stránka nepřesměruje sama',
+    'upl_success' => 'Váš obrázek byl v pořádku přidán',
+    'email_comment_subject' => 'Komentář byl přidán do Coppermine Photo Gallery', //cpg1.3.0
+    'email_comment_body' => 'Někdo přidal komentář do vaší galerie. Prohlédněte si ho na', //cpg1.3.0
+  'album_not_selected' => 'Album není vybráno', //cpg1.4
+  'com_author_error' => 'Registrovaný uživatel již toto jméno používá. Zkuste vybrat jiné.', //cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File delete.php
+// ------------------------------------------------------------------------- //
+
+if (defined('DELETE_PHP')) $lang_delete_php = array(
+    'caption' => 'Legenda(popisek)',
+    'fs_pic' => 'původní velikost obrázku',
+    'del_success' => 'bezchybně smazáno',
+    'ns_pic' => 'normální velikost obrázku',
+    'err_del' => 'nelze smazat',
+    'thumb_pic' => 'náhled',
+    'comment' => 'komentář',
+    'im_in_alb' => 'patří do alba',
+    'alb_del_success' => 'Album \'%s\' smazáno',
+    'alb_mgr' => 'Správce alb',
+    'err_invalid_data' => 'Obdržena chybná data \'%s\'',
+    'create_alb' => 'Vytvářím album \'%s\'',
+    'update_alb' => 'Aktualizuji album \'%s\' s nadpisem \'%s\' a seznamem \'%s\'',
+    'del_pic' => 'Smazat obrázek',
+    'del_alb' => 'Smazat album',
+    'del_user' => 'Smazat uživatele',
+    'err_unknown_user' => 'Vybraný uživatel neexistuje !',
+    'comment_deleted' => 'Komentář bezchybně smazán ! ',
+  'npic' => 'Obrázek', //cpg1.4
+  'pic_mgr' => 'Manažer obrázků', //cpg1.4
+  'update_pic' => 'Obnova obrázku \'%s\' se jménem \'%s\' a indexem \'%s\'', //cpg1.4
+  'username' => 'Uživatelské jméno', //cpg1.4
+  'anonymized_comments' => '%s komentář(ů) anonimizováno', //cpg1.4
+  'anonymized_uploads' => '%s veřejných upload(ů) anonymizováno', //cpg1.4
+  'deleted_comments' => '%s komentář(ů) smazáno', //cpg1.4
+  'deleted_uploads' => '%s veřejných upload(ů) smazáno', //cpg1.4
+  'user_deleted' => 'uživatel %s smazán', //cpg1.4
+  'activate_user' => 'Aktivní uživatel', //cpg1.4
+  'user_already_active' => 'Konto je momentálně aktivní', //cpg1.4
+  'activated' => 'Aktivován', //cpg1.4
+  'deactivate_user' => 'Deaktivovat uživatele', //cpg1.4
+  'user_already_inactive' => 'Konto je momentálně neaktivní', //cpg1.4
+  'deactivated' => 'Deaktivovaný', //cpg1.4
+  'reset_password' => 'Reset hesla', //cpg1.4
+  'password_reset' => 'Heslo bylo resetováno %s', //cpg1.4
+  'change_group' => 'Změň primární skupinu', //cpg1.4
+  'change_group_to_group' => 'Změnit z %s na %s', //cpg1.4
+  'add_group' => 'Přidej sekundární skupinu', //cpg1.4
+  'add_group_to_group' => 'Přidat uživatele %s do skupiny %s. Nyní je členem %s jako primární a %s jako sekundární skupiny.', //cpg1.4
+  'status' => 'Status', //cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File displayecard.php
+// ------------------------------------------------------------------------- //
+
+if (defined('DISPLAYECARD_PHP')) {
+
+$lang_displayecard_php = array(
+  'invalid_data' => 'Data pro ecard, na kterou se snažíte přistoupit jsou poškozené vaším mailovým klientem. Ujistěte se, že link je komplení a nepoškozený.', //cpg1.4
+);
+}
+
+// ------------------------------------------------------------------------- //
+// File displayimage.php
+// ------------------------------------------------------------------------- //
+
+if (defined('DISPLAYIMAGE_PHP')){
+
+$lang_display_image_php = array(
+    'confirm_del' => 'Jste si jist, že chcete smazat tento obrázek ? \\nPřiložené komentáře budou straceny.',
+      'del_pic' => 'SMAZAT TENTO OBRÁZEK',
+    'size' => '%s x %s pixelelů',
+    'views' => '%s krát',
+    'slideshow' => 'Slideshow',
+    'stop_slideshow' => 'ZASTAVIT SLIDESHOW',
+    'view_fs' => 'Klikněte pro zobrazení původního obrázku',
+  'edit_pic' => 'Editece souborových informací', //cpg1.4
+  'crop_pic' => 'Zastřihnout a Rotovat',
+  'set_player' => 'Změna přehrávače',
+);
+
+$lang_picinfo = array(
+    'title' =>'Informace o obrázku',
+    'Filename' => 'Jméno souboru',
+    'Album name' => 'Jméno alba',
+    'Rating' => 'Hodnocení (%s hlas(ů))',
+    'Keywords' => 'Klíčová slova',
+    'File Size' => 'Velikost souboru',
+  'Date Added' => 'Přidáno kdy', //cpg1.4
+    'Dimensions' => 'Rozměry',
+   'Displayed' => 'Zobrazeno',
+  'URL' => 'URL', //cpg1.4
+  'Make' => 'Vytvořeno', //cpg1.4
+  'Model' => 'Model', //cpg1.4
+  'DateTime' => 'Datum a čas', //cpg1.4
+  'ISOSpeedRatings'=>'ISO', //cpg1.4
+  'MaxApertureValue' => 'Max Aperture', //cpg1.4
+  'FocalLength' => 'Focal length', //cpg1.4
+  'Comment' => 'Komentář',
+  'addFav'=>'Přidat do oblíbených',
+  'addFavPhrase'=>'Oblíbené',
+  'remFav'=>'Vyjmout z oblíbených',
+  'iptcTitle'=>'IPTC Title',
+  'iptcCopyright'=>'IPTC Copyright',
+  'iptcKeywords'=>'IPTC Klíčové slova',
+  'iptcCategory'=>'IPTC Kategorie',
+  'iptcSubCategories'=>'IPTC Podkategorie',
+  'ColorSpace' => 'Barevná hloubka', //cpg1.4
+  'ExposureProgram' => 'Expoziční program', //cpg1.4
+  'Flash' => 'Flash', //cpg1.4
+  'MeteringMode' => 'Metering Mode', //cpg1.4
+  'ExposureTime' => 'Expoziční čas Time', //cpg1.4
+  'ExposureBiasValue' => 'Exposure Bias', //cpg1.4
+  'ImageDescription' => 'Popiska obrázku', //cpg1.4
+  'Orientation' => 'Orientace', //cpg1.4
+  'xResolution' => 'X Rozlišení', //cpg1.4
+  'yResolution' => 'Y Rozlišení', //cpg1.4
+  'ResolutionUnit' => 'Jednotka rozlišení', //cpg1.4
+  'Software' => 'Software', //cpg1.4
+  'YCbCrPositioning' => 'YCbCrPositioning', //cpg1.4
+  'ExifOffset' => 'Exif Offset', //cpg1.4
+  'IFD1Offset' => 'IFD1 Offset', //cpg1.4
+  'FNumber' => 'FNumber', //cpg1.4
+  'ExifVersion' => 'Exif Version', //cpg1.4
+  'DateTimeOriginal' => 'Datum a čas Originalu', //cpg1.4
+  'DateTimedigitized' => 'Datum a čas digitalizace', //cpg1.4
+  'ComponentsConfiguration' => 'Konfigurace komponent', //cpg1.4
+  'CompressedBitsPerPixel' => 'Komprese Bity na Pixel', //cpg1.4
+  'LightSource' => 'Osvětlení', //cpg1.4
+  'ISOSetting' => 'ISO Nastavení', //cpg1.4
+  'ColorMode' => 'Berevný mód', //cpg1.4
+  'Quality' => 'Kvalita', //cpg1.4
+  'ImageSharpening' => 'Ostření', //cpg1.4
+  'FocusMode' => 'Zaostřovací mód', //cpg1.4
+  'FlashSetting' => 'Nastavení blesku', //cpg1.4
+  'ISOSelection' => 'ISO Výběr', //cpg1.4
+  'ImageAdjustment' => 'úprava obrázku', //cpg1.4
+  'Adapter' => 'Adapter', //cpg1.4
+  'ManualFocusDistance' => 'Vzdálenost manuálního zaostření', //cpg1.4
+  'DigitalZoom' => 'Digitalní Zoom', //cpg1.4
+  'AFFocusPosition' => 'AF Focus Position', //cpg1.4
+  'Saturation' => 'Saturace', //cpg1.4
+  'NoiseReduction' => 'Noise Reduction', //cpg1.4
+  'FlashPixVersion' => 'Flash Pix Version', //cpg1.4
+  'ExifImageWidth' => 'Exif Image Width', //cpg1.4
+  'ExifImageHeight' => 'Exif Image Height', //cpg1.4
+  'ExifInteroperabilityOffset' => 'Exif Interoperability Offset', //cpg1.4
+  'FileSource' => 'Zdroj', //cpg1.4
+  'SceneType' => 'Typ scény', //cpg1.4
+  'CustomerRender' => 'Customer Render', //cpg1.4
+  'ExposureMode' => 'Expoziční mód', //cpg1.4
+  'WhiteBalance' => 'Nastavení bílé', //cpg1.4
+  'DigitalZoomRatio' => 'Digital Zoom Ratio', //cpg1.4
+  'SceneCaptureMode' => 'Scene Capture Mode', //cpg1.4
+  'GainControl' => 'Gain Control', //cpg1.4
+  'Contrast' => 'Kontrast', //cpg1.4
+  'Sharpness' => 'Ostření', //cpg1.4
+  'ManageExifDisplay' => 'Upravit Exif zobrazení', //cpg1.4
+  'submit' => 'Odeslat', //cpg1.4
+  'success' => 'Informace byly úspěšně aktualizovány.', //cpg1.4
+  'details' => 'Detaily', //cpg1.4
+);
+
+$lang_display_comments = array(
+    'OK' => 'OK',
+    'edit_title' => 'Upravit tento komentář',
+    'confirm_delete' => 'Jste si jist(a), že chcete smazat tento komentář ?',
+    'add_your_comment' => 'Přidat komentář',
+    'name'=>'Jméno',
+    'comment'=>'Komentář',
+    'your_name' => 'Anonym',
+  'report_comment_title' => 'Pošli tento komentář administrátorovi.', //cpg1.4
+);
+
+$lang_fullsize_popup = array(
+  'click_to_close' => 'Klikni na obrázek pro zavření okna',
+);
+
+}
+
+// ------------------------------------------------------------------------- //
+// File ecard.php
+// ------------------------------------------------------------------------- //
+
+if (defined('ECARDS_PHP') || defined('DISPLAYECARD_PHP')) $lang_ecard_php =array(
+    'title' => 'Poslat pohlednici',
+    'invalid_email' => '<b>Varování</b> : neplatná emailová adresa !',
+    'ecard_title' => 'Pohlednice ze serveru %s pro vás/tebe',
+    'error_not_image' => 'Pouze obrázky mohou být poslány jako ecard.', //cpg1.3.0
+    'view_ecard' => 'Pokud se pohlednice nezobrazila klikni na link',
+  'view_ecard_plaintext' => 'To view the ecard, copy and paste this url into your browser\'s address bar:', //cpg1.4
+    'view_more_pics' => 'Klikni pro další obrázky !',
+    'send_success' => 'Vaše pohlednice byla odeslána',
+    'send_failed' => 'Omlouváme se, ale server nebyl schopen odeslat Vaší pohlednici zkuste
+     to znovu za chvíli...',
+    'from' => 'Od',
+    'your_name' => 'Vaše jméno',
+    'your_email' => 'Váš email',
+    'to' => 'Komu',
+    'rcpt_name' => 'Jméno příjemce',
+    'rcpt_email' => 'Doručit na email',
+    'greetings' => 'Pozdrav/oslovení',
+    'message' => 'Zpráva',
+  'ecards_footer' => 'Odesláno od %s z IP %s v %s (čas alba)', //cpg1.4
+  'preview' => 'Náhled ecard', //cpg1.4
+  'preview_button' => 'Náhled', //cpg1.4
+  'submit_button' => 'Poslat ecard', //cpg1.4
+  'preview_view_ecard' => 'Toto je alternativní link pro ecard. Nefunguje jako náhled.', //cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File report_file.php //cpg1.4
+// ------------------------------------------------------------------------- //
+
+if (defined('REPORT_FILE_PHP') || defined('DISPLAYREPORT_PHP')) $lang_report_php =array(
+  'title' => 'Report administrátorovi', //cpg1.4
+  'invalid_email' => '<b>Pozor</b> : vadný email !', //cpg1.4
+  'report_subject' => 'Výstraha z %s v albu %s', //cpg1.4
+  'view_report' => 'Alternativní link jestliže není report korektně zobrazen', //cpg1.4
+  'view_report_plaintext' => 'Pro zobrazení reportu zkopírujte link do prohlížeče.', //cpg1.4
+  'view_more_pics' => 'Album', //cpg1.4
+  'send_success' => 'Váš report byl zaslán.', //cpg1.4
+  'send_failed' => 'Promiňte, ale server nemůže odeslat váš report...', //cpg1.4
+  'from' => 'Od', //cpg1.4
+  'your_name' => 'Vaše jméno', //cpg1.4
+  'your_email' => 'Vaše emailová adresa', //cpg1.4
+  'to' => 'Komu', //cpg1.4
+  'administrator' => 'Administrator/Mód', //cpg1.4
+  'subject' => 'Subject', //cpg1.4
+  'comment_field_name' => 'Report odeslán "%s"', //cpg1.4
+  'reason' => 'Důvod', //cpg1.4
+  'message' => 'Zpráva', //cpg1.4
+  'report_footer' => 'Odeslán %s z IP %s v %s (čas album)', //cpg1.4
+  'obscene' => 'obscéní', //cpg1.4
+  'offensive' => 'brutální', //cpg1.4
+  'misplaced' => 'staré/nepatří sem', //cpg1.4
+  'missing' => 'chybí', //cpg1.4
+  'issue' => 'error/nelze prohlížet', //cpg1.4
+  'other' => 'ostatní', //cpg1.4
+  'refers_to' => 'Soubor report pro', //cpg1.4
+  'reasons_list_heading' => 'důvod(y) pro report:', //cpg1.4
+  'no_reason_given' => 'nebyl uveden důvod', //cpg1.4
+  'go_comment' => 'Jdi na komentář', //cpg1.4
+  'view_comment' => 'Zobraz plný report s komentářem', //cpg1.4
+  'type_file' => 'soubor', //cpg1.4
+  'type_comment' => 'komentář', //cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File editpics.php
+// ------------------------------------------------------------------------- //
+
+if (defined('EDITPICS_PHP')) $lang_editpics_php = array(
+    'pic_info' => 'Info&nbsp;o obrázku',
+    'album' => 'Album',
+    'title' => 'Nadpis',
+  'filename' => 'Jméno souboru', //cpg1.4
+    'desc' => 'Popis',
+    'keywords' => 'Klíčová slova',
+  'new_keyword' => 'Nová klíčová slova', //cpg1.4
+  'new_keywords' => 'Nové klíčové slovo nalezeno', //cpg1.4
+  'existing_keyword' => 'Existující klíčové slovo', //cpg1.4
+    'pic_info_str' => '%sx%s - %sKB - %s zobrazení - %s hlas(ů)',
+    'approve' => 'Schválit obrázek',
+    'postpone_app' => 'Odložit schválení',
+    'del_pic' => 'Smazat obrázek',
+  'del_all' => 'Odstranit všechny soubory', //cpg1.4
+    'read_exif' => 'Načíst znovu EXIF info', //cpg1.3.0
+    'reset_view_count' => 'Vynulovat počítadlo zobrazení',
+  'reset_all_view_count' => 'Resetovat všechny počítadla zobrazení', //cpg1.4
+    'reset_votes' => 'Vynulovat hlasy',
+  'reset_all_votes' => 'Resetovat všechny volby', //cpg1.4
+    'del_comm' => 'Smazat komentáře',
+  'del_all_comm' => 'Vypazat všechny komentáře', //cpg1.4
+    'upl_approval' => 'Potvrzení uploadu',
+    'edit_pics' => 'Upravit obrázky',
+    'see_next' => 'Zobrazit další obrázky',
+    'see_prev' => 'Zobrazit předchozí obrázky',
+    'n_pic' => '%s obrázků',
+    'n_of_pic_to_disp' => 'Počet obrázků k zobrazení',
+    'apply' => 'Uložit změny',
+    'crop_title' => 'Coppermine Editor Obrázků', //cpg1.3.0
+         'preview' => 'Náhled', //cpg1.3.0
+    'save' => 'Ulož obrázek', //cpg1.3.0
+    'save_thumb' =>'Ulož jako náhled', //cpg1.3.0
+    'sel_on_img' =>'Výběr není celý v obrázeku!', //js-alert //cpg1.3.0
+  'album_properties' =>'Vlastnosti alba', //cpg1.4
+  'parent_category' =>'Nadřízená kategorie', //cpg1.4
+  'thumbnail_view' =>'Náhled', //cpg1.4
+  'select_unselect' =>'označ/odoznač vše', //cpg1.4
+  'file_exists' => "Cílový soubor '%s' již existuje.", //cpg1.4
+  'rename_failed' => "Chyba při přejmenovávání '%s' to '%s'.", //cpg1.4
+  'src_file_missing' => "Zdrojový soubor '%s' chybí.", // cpg 1.4
+  'mime_conv' => "Nemohu konvertovat soubor '%s' do '%s'",//cpg1.4
+  'forb_ext' => 'Zakázaná souborová přípona.',//cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File faq.php
+// ------------------------------------------------------------------------- //
+
+if (defined('FAQ_PHP')) $lang_faq_php = array(
+  'faq' => 'Frequently Asked Questions',
+  'toc' => 'Tabulka s nápovědou',
+  'question' => 'Otázka: ',
+  'answer' => 'Odpověď: ',
+);
+
+if (defined('FAQ_PHP')) $lang_faq_data = array(
+  'General FAQ - only english',
+  array('Why do I need to register?', 'Registration may or may not be required by the administrator. Registration gives a member additional features such as uploading, having a favorite list, rating pictures and posting comments etc.', 'allow_user_registration', '1'),
+  array('How do I register?', 'Go to &quot;Register&quot; and fill out the required fields (and the optional ones if you want to).<br />If the Administrator has Email Activation enabled, then after submitting your information you should recieve an email message at the address that you have submitted while registering, giving you instructions on how to activate your membership. Your membership must be activated in order for you to login.', 'allow_user_registration', '1'), //cpg1.4
+  array('How Do I login?', 'Go to &quot;Login&quot;, submit your username and password and check &quot;Remember Me&quot; so you will be logged in on the site if you should leave it.<br /><b>IMPORTANT:Cookies must be enabled and the cookie from this site must not be deleted in order to use &quot;Remember Me&quot;.</b>', 'offline', 0),
+  array('Why can I not login?', 'Did you register and click the link that was sent to you via email?. The link will activate your account. For other login problems contact the site administrator.', 'offline', 0),
+  array('What if I forgot my password?', 'If this site has a &quot;Forgot password&quot; link then use it. Other than that contact the site administrator for a new password.', 'offline', 0),
+  //array('What if I changed my email address?', 'Just simply login and change your email address through &quot;Profile&quot;', 'offline', 0),
+  array('How do I save a picture to &quot;My Favorites&quot;?', 'Click on a picture and click on the &quot;picture info&quot; link (<img src="images/info.gif" width="16" height="16" border="0" alt="Picture information" />); scroll down to the picture information set and click &quot;Add to fav&quot;.<br />The administrator may have the &quot;picture information&quot; on by default.<br />IMPORTANT:Cookies must be enabled and the cookie from this site must not be deleted.', 'offline', 0),
+  array('How do I rate a file?', 'Click on a thumbnail and go to the bottom and choose a rating.', 'offline', 0),
+  array('How do I post a comment for a picture?', 'Click on a thumbnail and go to the bottom and post a comment.', 'offline', 0),
+  array('How do I upload a file?', 'Go to &quot;Upload&quot;and select the album that you want to upload to. Click &quot;Browse,&quot; find the file to upload, and click &quot;open.&quot; Add a title and description if you want. Click &quot;Submit&quot;.<br /><br />Alternatively, for those users using <b>Windows XP</b>, you can upload multiple files directly to your own private albums using the XP Publishing wizard.<br />For instructions on how, and to get the required registry file, click <a href="xp_publish.php">here.</a>', 'allow_private_albums', 1), //cpg1.4
+  array('Where do I upload a picture to?', 'You will be able to upload a file to one of your albums in &quot;My Gallery&quot;. The Administrator may also allow you to upload a file to one or more of the albums in the Main Gallery.', 'allow_private_albums', 0),
+  array('What type and size of a file can I upload?', 'The size and type (jpg, png, etc.) is up to the administrator.', 'offline', 0),
+  array('How do I create, rename or delete an album in &quot;My Gallery&quot;?', 'You should already be in &quot;Admin-Mode&quot;<br />Go to &quot;Create/Order My Albums&quot;and click &quot;New&quot;. Change &quot;New Album&quot; to your desired name.<br />You can also rename any of the albums in your gallery.<br />Click &quot;Apply Modifications&quot;.', 'allow_private_albums', 0),
+  array('How can I modify and restrict users from viewing my albums?', 'You should already be in &quot;Admin Mode&quot;<br />Go to &quot;Modify My Albums. On the &quot;Update Album&quot; bar, select the album that you want to modify.<br />Here, you can change the name, description, thumbnail picture, restrict viewing and comment/rating permissions.<br />Click &quot;Update Album&quot;.', 'allow_private_albums', 0),
+  array('How can I view other users\' galleries?', 'Go to &quot;Album List&quot; and select &quot;User Galleries&quot;.', 'allow_private_albums', 0),
+  array('What are cookies?', 'Cookies are a plain text piece of data that is sent from a website and is put on to your computer.<br />Cookies usually allow a user to leave and return to the site without having to login again and other various chores.', 'offline', 0),
+  array('Where can I get this program for my site?', 'Coppermine is a free Multimedia Gallery, released under GNU GPL. It is full of features and has been ported to various platforms. Visit the <a href="http://coppermine-gallery.net/">Coppermine Home Page</a> to find out more or download it.', 'offline', 0),
+
+  'Navigating the Site - Only english',
+  array('What\'s &quot;Album List&quot;?', 'This will show you the entire category you are currently in, with a link to each album. If you are not in a category, it will show you the entire gallery with a link to each category. Thumbnails may be a link to the category.', 'offline', 0),
+  array('What\'s &quot;My Gallery&quot;?', 'This feature lets users create their own galleries and add, delete or modify albums as well as upload to them.', 'allow_private_albums', 1), //cpg1.4
+  array('What\'s the difference between &quot;Admin Mode&quot; and &quot;User Mode&quot;?', 'This feature, when in admin-mode, allows a user to modify their gallery (as well as others if allowed by the administrator).', 'allow_private_albums', 0),
+  array('What\'s &quot;Upload Picture&quot;?', 'This feature allows a user to upload a file (size and type is set by the site administrator) to a gallery selected by either you or the administrator.', 'allow_private_albums', 0),
+  array('What\'s &quot;Last Uploads&quot;?', 'This feature shows the last uploads to the site.', 'offline', 0),
+  array('What\'s &quot;Last Comments&quot;?', 'This feature shows the last comments along with the files posted by users.', 'offline', 0),
+  array('What\'s &quot;Most Viewed&quot;?', 'This feature shows the most viewed files by all users (whether logged in or not).', 'offline', 0),
+  array('What\'s &quot;Top Rated&quot;?', 'This feature shows the top rated files rated by the users, showing the average rating (e.g: five users each gave a <img src="images/rating3.gif" width="65" height="14" border="0" alt="" />: the file would have an average rating of <img src="images/rating3.gif" width="65" height="14" border="0" alt="" /> ;Five users rated the file from 1 to 5 (1,2,3,4,5) would result in an average <img src="images/rating3.gif" width="65" height="14" border="0" alt="" /> .)<br />The ratings go from <img src="images/rating5.gif" width="65" height="14" border="0" alt="best" /> (best) to <img src="images/rating0.gif" width="65" height="14" border="0" alt="worst" /> (worst).', 'offline', 0),
+  array('What\'s &quot;My Favorites&quot;?', 'This feature will let a user store a favorite file in the cookie that was sent to your computer.', 'offline', 0),
+);
+
+
+// ------------------------------------------------------------------------- //
+// File forgot_passwd.php
+// ------------------------------------------------------------------------- //
+
+if (defined('FORGOT_PASSWD_PHP')) $lang_forgot_passwd_php = array(
+  'forgot_passwd' => 'Připomenutí hesla', //cpg1.3.0
+  'err_already_logged_in' => 'Už jste přihlášen(a)!', //cpg1.3.0
+  'enter_username_email' => 'Zadejte vaše přihlašovací jméno a email adresu', //cpg1.3.0
+  'submit' => 'Proveď', //cpg1.3.0
+  'illegal_session' => 'Připomenutí hesla se nezdařilo nebo expirovalo.', //cpg1.4
+  'failed_sending_email' => 'Email s připomenutím hesla nemohl být odeslán!', //cpg1.3.0
+  'email_sent' => 'Na adresu %s byl odeslán dopis z vaším uživatelským jménem a heslem', //cpg1.3.0
+  'verify_email_sent' => 'An email has been sent to %s. Please check your email to complete the process.', //cpg1.4
+  'err_unk_user' => 'Zadaný uživatel neexistuje!', //cpg1.3.0
+  'passwd_reminder_subject' => '%s - Připomenuti hesla', //cpg1.3.0
+  'passwd_reminder_body' => 'Požádali jste o připomenutí vašich přihlašovacích údajů:
+Klikněte na následující link:
+
+%s', //cpg1.4
+  'passwd_reset_subject' => '%s - Vaše nové heslo', //cpg1.4
+  'passwd_reset_body' => 'Zde je nové heslo, které požadujete:
+Uživatelské jméno: %s
+Heslo:             %s
+Klikněte na %s pro přihlášení.', //cpg1.3.0
+);
+
+// ------------------------------------------------------------------------- //
+// File groupmgr.php
+// ------------------------------------------------------------------------- //
+
+if (defined('GROUPMGR_PHP')) $lang_groupmgr_php = array(
+    'group_name' => 'Jméno skupiny',
+  'permissions' => 'Oprávnění', //cpg1.4
+  'public_albums' => 'Upload veřejného alba', //cpg1.4
+  'personal_gallery' => 'Osobní galerie', //cpg1.4
+  'upload_method' => 'Upload methoda', //cpg1.4
+    'disk_quota' => 'Disková kvóta',
+  'rating' => 'Rating', //cpg1.4
+  'ecards' => 'Ecards', //cpg1.4
+  'comments' => 'Komentáře', //cpg1.4
+  'allowed' => 'Povolení', //cpg1.4
+  'approval' => 'Schválení', //cpg1.4
+  'boxes_number' => 'Počet. boxů', //cpg1.4
+  'variable' => 'proměnná', //cpg1.4
+  'fixed' => 'fixní', //cpg1.4
+    'apply' => 'Uložit změny',
+    'create_new_group' => 'Vytvořit novou skupinu',
+    'del_groups' => 'Smazat vybrané skupiny',
+    'confirm_del' => 'Pokud smažete tuto skupinu všichni uživatelé, patřící do této skupiny budou přesunuti do skupiny \'Registered\' !\n\nPřejete si pokračovat ?',
+    'title' => 'Spravovat uživatelské skupiny',
+  'num_file_upload' => 'Boxy pro upload soubory', //cpg1.4
+  'num_URI_upload' => 'Boxy pro upload URI', //cpg1.4
+  'reset_to_default' => 'Resetovat na přednastavené jméno (%s) - doporučeno!', //cpg1.4
+  'error_group_empty' => 'Tabulka skupinu byla prázdná !<br /><br />Přednastavené skupiny byly vytvořeny, Prosím reloadujte tuto stránku', //cpg1.4
+  'explain_greyed_out_title' => 'Proč je tato řada šedivá mimo?', //cpg1.4
+  'explain_guests_greyed_out_text' => 'Nemůžete změnit vlastnosti této skupiny, protože máte nastaven  &quot; Povolení neregistrovaných uživatelů. Všichni hosté %s nemusí nic dělat, ale p5enastaven9 se ned8 aplikovat.', //cpg1.4
+  'explain_banned_greyed_out_text' => 'Nemůžete měnit vlastnosti skupiny %s protožee její členové nikdy nic nemohli dělat.', //cpg1.4
+  'group_assigned_album' => 'Připojená alba', //cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File index.php
+// ------------------------------------------------------------------------- //
+
+if (defined('INDEX_PHP')){
+
+$lang_index_php = array(
+    'welcome' => 'Vítejte !'
+);
+
+$lang_album_admin_menu = array(
+    'confirm_delete' => 'Jste si jist(a), že chcete smazat tuto galerii? \\nVšechny obrázky a komentáře půjdou do pekla taky. Přejete si pokračovat.',
+    'delete' => 'SMAZAT',
+    'modify' => 'VLASTNOSTI',
+    'edit_pics' => 'UPRAVIT OBR.',
+);
+
+$lang_list_categories = array(
+    'home' => 'Domů',
+    'stat1' => '<b>[pictures]</b> obrázků v <b>[albums]</b> albech v <b>[cat]</b> kategoriích s <b>[comments]</b> komentáři zobrazeno <b>[views]</b> krát',
+    'stat2' => '<b>[pictures]</b> obrázků v <b>[albums]</b> albech zobrazeno <b>[views]</b> krát',
+    'xx_s_gallery' => 'z %s galerie',
+    'stat3' => '<b>[pictures]</b> obrázků v <b>[albums]</b> albech s <b>[comments]</b> komentáři zobrazeno <b>[views]</b> krát'
+);
+
+$lang_list_users = array(
+    'user_list' => 'Seznam uživatelů',
+    'no_user_gal' => 'Nejsou žádné uživatelské galerie',
+    'n_albums' => '%s alb',
+    'n_pics' => '%s obrázků'
+);
+
+$lang_list_albums = array(
+    'n_pictures' => '%s obrázků',
+    'last_added' => ', poslední přidán %s',
+  'n_link_pictures' => '%s připojených souborů', //cpg1.4
+  'total_pictures' => '%s souborů celkem', //cpg1.4
+);
+
+}
+
+// ------------------------------------------------------------------------- //
+// File keywordmgr.php //cpg1.4
+// ------------------------------------------------------------------------- //
+
+if (defined('KEYWORDMGR_PHP')) $lang_keywordmgr_php = array(
+  'title' => 'Nastavení klíčových slov', //cpg1.4
+  'edit' => 'editace', //cpg1.4
+  'delete' => 'mazání', //cpg1.4
+  'search' => 'hledání', //cpg1.4
+  'keyword_test_search' => 'hledání pro %s v novém okně', //cpg1.4
+  'keyword_del' => 'vymazat klíčové slovo %s', //cpg1.4
+  'confirm_delete' => 'Je to nezbytně nutné vymazat klíčové slovo %s ze všech galerií?', //cpg1.4  // js-alert
+  'change_keyword' => 'změň klíčové slovo', //cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File login.php
+// ------------------------------------------------------------------------- //
+
+if (defined('LOGIN_PHP')) $lang_login_php = array(
+    'login' => 'Přihlášení',
+    'enter_login_pswd' => 'Zadejte Vaše jméno a heslo pro přihlášení',
+    'username' => 'Jméno',
+    'password' => 'Heslo',
+    'remember_me' => 'Pamatuj si mě',
+    'welcome' => 'Vítej u nás %s ...',
+    'err_login' => '*** Chyba při přihlášení skuste to znova ***',
+    'err_already_logged_in' => 'Již jste přihlášen !',
+    'forgot_password_link' => 'Zapomněl jsem své heslo.', //cpg1.3.0
+  'cookie_warning' => 'Varování, váš browser neakceptuje skripty s cookies', //cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File logout.php
+// ------------------------------------------------------------------------- //
+
+if (defined('LOGOUT_PHP')) $lang_logout_php = array(
+    'logout' => 'Odhlásit',
+    'bye' => 'Tak si to užij zase jinde %s , tak šup šup...',
+    'err_not_loged_in' => 'Nejste přihlášen !',
+);
+
+// ------------------------------------------------------------------------- //
+// File minibrowser.php  //cpg1.4
+// ------------------------------------------------------------------------- //
+
+if (defined('MINIBROWSER_PHP')) $lang_minibrowser_php = array(
+  'close' => 'zavřít', //cpg1.4
+  'submit' => 'OK', //cpg1.4
+  'up' => 'nahoru o jednu úroveň', //cpg1.4
+  'current_path' => 'současná cesta', //cpg1.4
+  'select_directory' => 'prosím vyberte adresář', //cpg1.4
+  'click_to_close' => 'Klikněte na obrázek pro uzavření okna',
+);
+
+// ------------------------------------------------------------------------- //
+// File modifyalb.php
+// ------------------------------------------------------------------------- //
+
+if (defined('MODIFYALB_PHP')) $lang_modifyalb_php = array(
+    'upd_alb_n' => 'Aktualizovat alba %s',
+    'general_settings' => 'Základní nastavení',
+    'alb_title' => 'Nadpis alba',
+    'alb_cat' => 'Kategorie alba',
+    'alb_desc' => 'Popis alba',
+  'alb_keyword' => 'Klíčová slova alba', //cpg1.4
+    'alb_thumb' => 'Náhled reprezentující album',
+    'alb_perm' => 'Přístupová práva pro toto album',
+    'can_view' => 'Album můžou prohlížet',
+    'can_upload' => 'Návštěvníci smějí přidávat obrázky',
+    'can_post_comments' => 'Povolit komentáře',
+    'can_rate' => 'Návštěvníci mohou hlasovat',
+    'user_gal' => 'Galerie uživatele',
+    'no_cat' => '* Není kategorie *',
+    'alb_empty' => 'Album je prázdné',
+    'last_uploaded' => 'Nejnovější obrázek',
+    'public_alb' => 'kdokoliv (veřejné album)',
+    'me_only' => 'Pouze já',
+    'owner_only' => 'Pouze vlastník (%s)',
+    'groupp_only' => 'Členové skupiny \'%s\'',
+    'err_no_alb_to_modify' => 'Galerii nelze modifikovat v databázi.',
+    'update' => 'Aktualizovat galerii',
+  'reset_album' => 'Reset alba', //cpg1.4
+  'reset_views' => 'Reset počítadel zobrazení na &quot;0&quot; v %s', //cpg1.4
+  'reset_rating' => 'Reset hodnocení pro všechny soubory v %s', //cpg1.4
+  'delete_comments' => 'Vymaž všechny komentáře vytvořené %s', //cpg1.4
+  'delete_files' => '%szneviditelni%s vymazané všechny soubory v %s', //cpg1.4
+  'views' => 'zobrazení', //cpg1.4
+  'votes' => 'volba', //cpg1.4
+  'comments' => 'komentáře', //cpg1.4
+  'files' => 'soubory', //cpg1.4
+  'submit_reset' => 'odešli změny', //cpg1.4
+  'reset_views_confirm' => 'Jsem si jist', //cpg1.4
+  'notice1' => '(*) závisející na %sskupinách%s nastavení',  //cpg1.4 //(do not translate %s!)
+  'alb_password' => 'Heslo alba', //cpg1.4
+  'alb_password_hint' => 'Nápověda pro heslo alba', //cpg1.4
+  'edit_files' =>'Editace souborů', //cpg1.4
+  'parent_category' =>'Nadřízená kategorie', //cpg1.4
+  'thumbnail_view' =>'Náhled', //cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File phpinfo.php
+// ------------------------------------------------------------------------- //
+
+if (defined('PHPINFO_PHP')) $lang_phpinfo_php = array(
+  'php_info' => 'PHP info',
+  'explanation' => 'Tento výstup je generován jako PHP-funkce <a href="http://www.php.net/phpinfo">phpinfo()</a>, zobrazena pomocí Coppermine. ',
+  'no_link' => 'Umožnit ostatním prohlížet phpinfo může být bezpečnostní problém. Nezveřejňujte link na tuto stránku.',
+);
+
+// ------------------------------------------------------------------------- //
+// File picmgr.php //cpg1.4
+// ------------------------------------------------------------------------- //
+if (defined('PICMGR_PHP')) $lang_picmgr_php = array(
+  'pic_mgr' => 'Manažer obrázků', //cpg1.4
+  'select_album' => 'Vyber album', //cpg1.4
+  'delete' => 'Vymaž', //cpg1.4
+  'confirm_delete1' => 'Je nezbytné vymazat tento obrázek?', //cpg1.4
+  'confirm_delete2' => '\nObrázek bude nenávratně smazán.', //cpg1.4
+  'apply_modifs' => 'Aplikuj změny', //cpg1.4
+  'confirm_modifs' => 'Potvrď změny', //cpg1.4
+  'pic_need_name' => 'Obrázek musí mít jméno!', //cpg1.4
+  'no_change' => 'Neudělal jsi žádné změny !', //cpg1.4
+  'no_album' => '* žádné album *', //cpg1.4
+  'explanation_header' => 'Uživatelská pravidla třídění mohou být nastavena pouze pokud jsou specifikována v účtu', //cpg1.4
+  'explanation1' => 'Admin nastavil "přednastavená třídící pravidla pro soubory" v konfiguraci "Pozice sestupně" nebo "Pozice vzestupně" (globální nastavení pro všechny uživatele kteří nechtějí třídit individuálně)', //cpg1.4
+  'explanation2' => 'Uživatel vybral "Pozice sestupně" nebo "Pozice vzestupně" na náhledové stránce (uživatelské nastavení)', //cpg1.4
+);
+
+
+// ------------------------------------------------------------------------- //
+// File pluginmgr.php //cpg1.4
+// ------------------------------------------------------------------------- //
+
+if (defined('PLUGINMGR_PHP')){
+
+$lang_pluginmgr_php = array(
+  'confirm_uninstall' => 'Chcete určitě ODINSTALOVAT tento plugin', //cpg1.4
+  'confirm_delete' => 'Chcete určitě SMAZAT tento plugin', //cpg1.4
+  'pmgr' => 'Manažer pluginů', //cpg1.4
+  'name' => 'Jméno', //cpg1.4
+  'author' => 'Author', //cpg1.4
+  'desc' => 'Poznámka', //cpg1.4
+  'vers' => 'v', //cpg1.4
+  'i_plugins' => 'Instalované pluginy', //cpg1.4
+  'n_plugins' => 'Plugin není instalován', //cpg1.4
+  'none_installed' => 'Nic nebylo instalováno', //cpg1.4
+  'operation' => 'Operace', //cpg1.4
+  'not_plugin_package' => 'Soubor uploadovaný není plugin balík.', //cpg1.4
+  'copy_error' => 'Vyskytla se chyba při kopírování balíku do složky pluginů.', //cpg1.4
+  'upload' => 'Upload', //cpg1.4
+  'configure_plugin' => 'Konfigurovat plugin', //cpg1.4
+  'cleanup_plugin' => 'Vyčistit plugin', //cpg1.4
+);
+}
+
+// ------------------------------------------------------------------------- //
+// File ratepic.php
+// ------------------------------------------------------------------------- //
+
+if (defined('RATEPIC_PHP')) $lang_rate_pic_php = array(
+    'already_rated' => 'Tento obázek jste již hodnotil(a)',
+    'rate_ok' => 'Vás hlas byl přijat. Děkujeme.',
+    'forbidden' => 'Nemůžete hodnotit naše obrázky.', //cpg1.3.0
+);
+
+// ------------------------------------------------------------------------- //
+// File register.php & profile.php
+// ------------------------------------------------------------------------- //
+
+if (defined('REGISTER_PHP') || defined('PROFILE_PHP')) {
+
+$lang_register_disclamer = <<<EOT
+Administrátoři serveru {SITE_NAME}, potažmo této galerie si vyhrazují právo zásahu do obsahu galerie např. komentáře, mazání obrázků případně úprava (pokud porušují pravidla galerie nebo dobré mravy).
+Pokud budou obrázky nahrané uživetelem porušovat zákon(y) budou ihned po zjištění jejich umístění na serveru smazány. Administrátoři/provozovatelé této galerie si distancují od
+případného závadného obsahu nahraného na server uživateli. Vlastníkem dat v galerii jsou jejich autoři. Administrátoři předpokládají, že na server jsou umísťovaná uživateli pouze obrázky k nímž vlastní uživatel autorská práva.
+<br />
+Pokud souhlasíte, že nebudete posílat jakýkoliv závadný materiál jako vulgární a obscéní obrázky/komentáře, jakýkoliv materiál vzbuzující nenávist, rasismus, nebo jiný materiál porušující zákony. Souhlasíte, že administrátoři, provozovatelé a moderátoři  {SITE_NAME}   mají právo smazat případně upravit jakýkoliv materiál kdykoliv to uznají za vhodné. Vložené informace budou uložené na serveru a v databázi a nebudou poskytnuty žádné třetí straně bez vašeho souhlasu. Administátoři/povozovatelé serveru  však nejsou ani nebudou ručit za data na serveru uložená pokud dojde k jakémukoliv útoku na sever.
+<br />
+<br />
+Tyto stránky využívají k uložení uživatelských dat cookies. Cookies slouží pouze pro zvýšení konfortu při používání této aplikace. Emailová adresa slouží jen pro potvrzení vašich údajů a poslání hesla.<br />
+<br />
+Kliknutím na 'Souhlasím' souhlasíte z výše uvedenými pravidly..
+EOT;
+
+$lang_register_php = array(
+    'page_title' => 'Registrace nového uživatele',
+    'term_cond' => 'Podmínky a pravidla',
+    'i_agree' => 'Souhlasím',
+    'submit' => 'Poslat registraci',
+    'err_user_exists' => 'Zadané uživatelské jméno již existuje vyberte si prosím jiné',
+    'err_password_mismatch' => 'Hesla se musí schodovat pokuste je obě zadat znovu',
+    'err_uname_short' => 'Minimální délka uživatelského jména je 2 znaky',
+    'err_password_short' => 'Heslo musí být alespoň 2 znaky dlouhé',
+    'err_uname_pass_diff' => 'Jméno a heslo se nesmí shodovat',
+    'err_invalid_email' => 'Byla zadána neplatná emailová adresa',
+    'err_duplicate_email' => 'Jiný uživatel se zaregistroval se zadaným emailem. Email musí být jedinečný',
+    'enter_info' => 'Zadané registrační informace',
+    'required_info' => 'Vyžadované informace',
+    'optional_info' => 'Volitelné informace',
+    'username' => 'Jméno',
+    'password' => 'Heslo',
+    'password_again' => 'Heslo (potvrzení)',
+    'email' => 'Email',
+    'location' => 'Místo (např. Brno apod.)',
+    'interests' => 'Zájmy',
+    'website' => 'Domácí stránka',
+    'occupation' => 'Povolání',
+    'error' => 'CHYBA',
+    'confirm_email_subject' => '%s - Potvrzení registracce',
+    'information' => 'Informace',
+    'failed_sending_email' => 'Nelze odeslat potvrzení registace !',
+    'thank_you' => 'Děkujeme za registraci.<br /><br />Na adresu zadanou při registraci Vám budou doručeny informace o aktivaci vašeho účtu',
+    'acct_created' => 'Váš uživatelský účet byl bezchybně vytvořen. Nyní se přihlašte pomocí vašeho jména a hesla',
+    'acct_active' => 'Váš účet je nyní aktivní přihlašte se pomocí vašeho jména a hesla.',
+    'acct_already_act' => 'Váš účet je již aktivní !',
+    'acct_act_failed' => 'Tento účet nmůže být aktivován !',
+    'err_unk_user' => 'Vybraný uživatel neexistuje !',
+    'x_s_profile' => '%s\' profil',
+    'group' => 'Skupina',
+    'reg_date' => 'Připojen',
+    'disk_usage' => 'Využití disku',
+    'change_pass' => 'Změnit heslo',
+    'current_pass' => 'Současné heslo',
+    'new_pass' => 'Nové heslo',
+    'new_pass_again' => 'Nové heslo (kontola)',
+    'err_curr_pass' => 'Současné heslo zadáno nesprávně',
+    'apply_modif' => 'potvrdit změny',
+    'change_pass' => 'Změnit heslo',
+    'update_success' => 'Váš profil byl aktualizován',
+    'pass_chg_success' => 'Vyše heslo bylo změněno',
+    'pass_chg_error' => 'Vaše heslo nebylo změněno',
+    'notify_admin_email_subject' => '%s - upozorneni na registraci', //cpg1.3.0
+  'last_uploads' => 'Poslední uploadovaný soubor.<br />Klikni pro náhled všech uploadů', //cpg1.4
+  'last_comments' => 'Poslední komentář.<br />Klikni pro náhled všech vytvořených komentářů', //cpg1.4
+    'notify_admin_email_body' => 'Nový uživatel se jménem "%s" se registroval ve vaší galerii', //cpg1.3.0
+  'pic_count' => 'Soubory uploadovány', //cpg1.4
+  'notify_admin_request_email_subject' => '%s - Potřebná registrace', //cpg1.4
+  'thank_you_admin_activation' => 'Děkujeme.<br /><br />Vaše žádost o aktivaci konta byla zaslána administrátorovin. Bude vám zaslán mail po jejím potvrzení.', //cpg1.4
+  'acct_active_admin_activation' => 'Konto je nyní aktivní a mail byl odeslán uživateli.', //cpg1.4
+  'notify_user_email_subject' => '%s - Aktivační poznámka', //cpg1.4
+);
+
+$lang_register_confirm_email = <<<EOT
+Děkujeme za registraci na {SITE_NAME}
+
+Vaše jméno je : "{USER_NAME}"
+Vaše heslo je: "{PASSWORD}"
+
+Pro aktivaci vašeho účtu je přeba kliknout na odkaz níže nebo ho zkopírovat
+do adresního řádku vašeho browseru a přejít na tuto stránku
+
+
+{ACT_LINK}
+
+S Pozdravem,
+
+Správa serveru {SITE_NAME}
+
+EOT;
+
+$lang_register_approve_email = <<<EOT
+A new user with the username "{USER_NAME}" has registered in your gallery.
+
+In order to activate the account, you need to click on the link below or copy and paste it in your web browser.
+
+<a href="{ACT_LINK}">{ACT_LINK}</a>
+
+EOT;
+
+$lang_register_activated_email = <<<EOT
+Your account has been approved and activated.
+
+You can now log in at <a href="{SITE_LINK}">{SITE_LINK}</a> using the username "{USER_NAME}"
+
+
+Regards,
+
+The management of {SITE_NAME}
+
+EOT;
+}
+
+// ------------------------------------------------------------------------- //
+// File reviewcom.php
+// ------------------------------------------------------------------------- //
+
+if (defined('REVIEWCOM_PHP')) $lang_reviewcom_php = array(
+    'title' => 'Kontrola komentářů',
+    'no_comment' => 'Nejsou žádné komentáře ke kontrole',
+    'n_comm_del' => '%s komentář(ů) smazán(o)',
+    'n_comm_disp' => 'Počet komentářů k zobrazení',
+    'see_prev' => 'Předchozí',
+    'see_next' => 'Další',
+    'del_comm' => 'Smazat vybrané komentáře',
+  'user_name' => 'Jméno', //cpg1.4
+  'date' => 'Datum', //cpg1.4
+  'comment' => 'Komentář', //cpg1.4
+  'file' => 'Soubor', //cpg1.4
+  'name_a' => 'Uživatelské jméno vzestupně', //cpg1.4
+  'name_d' => 'Uživatelské jméno sestupně', //cpg1.4
+  'date_a' => 'Datum vzestupně', //cpg1.4
+  'date_d' => 'Datum sestupně', //cpg1.4
+  'comment_a' => 'Komentáře vzestupně', //cpg1.4
+  'comment_d' => 'Komentáře sestupně', //cpg1.4
+  'file_a' => 'Soubor vzestupně', //cpg1.4
+  'file_d' => 'Soubor sestupně', //cpg1.4
+);
+
+
+// ------------------------------------------------------------------------- //
+// File search.php                                                           //
+// ------------------------------------------------------------------------- //
+
+
+if (defined('SEARCH_PHP')){
+
+$lang_search_php = array(
+  'title' => 'Hledání souboru v galerii', //cpg1.4
+  'submit_search' => 'hledej', //cpg1.4
+  'keyword_list_title' => 'Klíčová slovat', //cpg1.4
+  'keyword_msg' => 'List neobsahuje všechny slova. Neobsahuje slova z titulků, názvů a poznámek. Zkuste full-textové vyhledávání.',  //cpg1.4
+  'edit_keywords' => 'Uprav klíčová slova', //cpg1.4
+  'search in' => 'Hledej v:', //cpg1.4
+  'ip_address' => 'IP adresa', //cpg1.4
+  'fields' => 'Hledej v', //cpg1.4
+  'age' => 'Stáří', //cpg1.4
+  'newer_than' => 'Dříve než', //cpg1.4
+  'older_than' => 'Starší než', //cpg1.4
+  'days' => 'dny', //cpg1.4
+  'all_words' => 'Nalezni všechna slova (AND)', //cpg1.4
+  'any_words' => 'Nalezni některá slova (OR)', //cpg1.4
+);
+
+$lang_adv_opts = array(
+  'title' => 'Název', //cpg1.4
+  'caption' => 'Poznámka', //cpg1.4
+  'keywords' => 'Klíčová slova', //cpg1.4
+  'owner_name' => 'Jméno vlastníka', //cpg1.4
+  'filename' => 'Jméno souboru', //cpg1.4
+);
+
+}
+
+// ------------------------------------------------------------------------- //
+// File searchnew.php
+// ------------------------------------------------------------------------- //
+
+if (defined('SEARCHNEW_PHP')) $lang_search_new_php = array(
+    'page_title' => 'Najít nové obrázky',
+    'select_dir' => 'Vybrat adresář',
+    'select_dir_msg' => 'Tato funkce vám umožní dávkově zpracovat obrázky nahrané přes FTP.<br /><br />Vyberte adresář kde se nacházejí obrázky k spracování',
+    'no_pic_to_add' => 'Nejsou zde žádné obrázky k přidání',
+    'need_one_album' => 'Pořebujete mít vytvořenu alespoň jedno album',
+    'warning' => 'Varování',
+    'change_perm' => 'Skript nemůže zapisovat do tohoto adresáře, musíte ho nastavit na CHMOD 755 nebo 777 před přidáním obrázků !',
+    'target_album' => '<b>Vložit obrázky z &quot;</b>%s<b>&quot; do </b>%s',
+    'folder' => 'Složka',
+    'image' => 'Obrázek',
+    'album' => 'Album',
+    'result' => 'Výsledek',
+    'dir_ro' => 'Nezapisovatelná. ',
+    'dir_cant_read' => 'Nečitelná. ',
+    'insert' => 'Přidávám nové obrázky do alba',
+    'list_new_pic' => 'Seznam obrázků',
+    'insert_selected' => 'Vložit vybrané obrázky',
+    'no_pic_found' => 'Nové obrázky nenalezeny',
+    'be_patient' => 'Prosím buďte trpělivý(á), program potřebuje na zpracování obrázku nějaý ten čas.',
+  'no_album' => 'žádné album nebylo vybráno',
+  'result_icon' => 'klikni na detail nebo reloaduj',  //cpg1.4
+    'notes' =>  '<ul>'.
+                '<li><b>OK</b> : Tyto obrázky byly přidány'.
+                '<li><b>DP</b> : Zdvojení!, Tento obrázek ji existuje'.
+                '<li><b>PB</b> : tento obrázek nelze přidat, skontrolujte konfiguraci případně přístupová práva'.
+                '<li>Když se neukáže \'označení\' OK, DP, PB klepněte na obrázek a uvidíte chybovou hlášku generovanou PHP, která Vám pomůže zjistit příčinu problému'.
+                '<li>Pokud dojde k timeoutu F5 nebo reload stránky by měl pomoci'.
+                '</ul>',
+     'select_album' => 'Vyberte album', //cpg1.3.0
+     'check_all' => 'Vybrat vše', //cpg1.3.0
+     'uncheck_all' => 'Odznačit vše', //cpg1.3.0
+  'no_folders' => 'Zde není žádná složka uvnitř "albums" složky.  Je nejprve potřeba ji vytvořit pro ftp downloadování a to učinit.', //cpg1.4
+   'albums_no_category' => 'Album nemá kategorii', //cpg1.4 // album pulldown mod, added by frogfoot
+  'personal_albums' => '* Osobní album', //cpg1.4 // album pulldown mod, added by frogfoot
+  'browse_batch_add' => 'Browsable interface (doporučeno)', //cpg1.4
+  'edit_pics' => 'Editovat soubory', //cpg1.4
+  'edit_properties' => 'Vlastnosti alba', //cpg1.4
+  'view_thumbs' => 'Náhled', //cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File stat_details.php //cpg1.4
+// ------------------------------------------------------------------------- //
+
+if (defined('STAT_DETAILS_PHP')) $lang_stat_details_php = array(
+  'show_hide' => 'ukaž/schov tento řádek', //cpg1.4
+  'vote' => 'Zvol detaily', //cpg1.4
+  'hits' => 'Urči detaily', //cpg1.4
+  'stats' => 'Zvol statistiku', //cpg1.4
+  'sdate' => 'Datum', //cpg1.4
+  'rating' => 'Rating', //cpg1.4
+  'search_phrase' => 'Vyhledávání', //cpg1.4
+  'referer' => 'Odkaz', //cpg1.4
+  'browser' => 'Prohlížeč', //cpg1.4
+  'os' => 'Operační systém', //cpg1.4
+  'ip' => 'IP', //cpg1.4
+  'sort_by_xxx' => 'Třiď podle %s', //cpg1.4
+  'ascending' => 'vzestupně', //cpg1.4
+  'descending' => 'sestupně', //cpg1.4
+  'internal' => 'int', //cpg1.4
+  'close' => 'zavřeno', //cpg1.4
+  'hide_internal_referers' => 'zkryj interní odkazy', //cpg1.4
+  'date_display' => 'Zobraz datum', //cpg1.4
+  'submit' => 'odešli / obnov', //cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File thumbnails.php
+// ------------------------------------------------------------------------- //
+
+// Void
+
+// ------------------------------------------------------------------------- //
+// File upload.php
+// ------------------------------------------------------------------------- //
+
+if (defined('UPLOAD_PHP')) $lang_upload_php = array(
+    'title' => 'Upload obrázku',
+    'custom_title' => 'Upravený Formulář', //cpg1.3.0
+    'cust_instr_1' => 'Můžete zvolit požadovaný počet vstupních políček. Není ale možné překročit omezení počtu políček uvedená níže.', //cpg1.3.0
+    'cust_instr_2' => 'Box Number Requests', //cpg1.3.0
+    'cust_instr_3' => 'Políčka pro upload souborů: %s', //cpg1.3.0
+    'cust_instr_4' => 'Políčka pro URI/URL upload: %s', //cpg1.3.0
+    'cust_instr_5' => 'Políčka pro URI/URL upload:', //cpg1.3.0
+    'cust_instr_6' => 'Políčka pro upload souborů:', //cpg1.3.0
+    'cust_instr_7' => 'Prosím zadejte požadovaný počet ke každému typu vstupních políček pro upload. Potom stiskněte \'Pokračovat\'. ', //cpg1.3.0
+    'reg_instr_1' => 'Neplatná akce pro vytvoření formuláře.', //cpg1.3.0
+    'reg_instr_2' => 'Pomocí políček dole můžete nechat na server nahrát soubory. Velikost jednotlivých nahrávaných souborů při uploadu na server by neměla přesáhnout %s KB. Soubory ZIP nahrané pomocí sekcí \'Upload Souborů\' nebo \'URI/URL Upload\' zůstanou zkomprimované jako jeden soubor i po nahrání na server.', //cpg1.3.0
+    'reg_instr_3' => 'Pokud chcete, aby soubory zabalené v archivu ZIP byly rozbaleny, musíte použít pro zadání souboru políčko v sekci \'Decompressive ZIP Upload\'.', //cpg1.3.0
+    'reg_instr_4' => 'Pokud používáte sekci URI/URL upload, prosím zadávejte cestu k souboru takto: http://www.mojedomena.cz/obrazky/priklad1.jpg', //cpg1.3.0
+    'reg_instr_5' => 'Po vyplnění formuláře stiskněte tlačítko \'Pokračovat\'.', //cpg1.3.0
+    'reg_instr_6' => 'Upload ZIP Archivu:', //cpg1.3.0
+    'reg_instr_7' => 'Upload Souborů:', //cpg1.3.0
+    'reg_instr_8' => 'URI/URL Uploads:', //cpg1.3.0
+    'error_report' => 'Error Report', //cpg1.3.0
+    'error_instr' => 'The following uploads encountered errors:', //cpg1.3.0
+    'file_name_url' => 'File Name/URL', //cpg1.3.0
+    'error_message' => 'Error Message', //cpg1.3.0
+    'no_post' => 'File not uploaded by POST.', //cpg1.3.0
+    'forb_ext' => 'Forbidden file extension.', //cpg1.3.0
+    'exc_php_ini' => 'Překročena velikost souboru povolená v php.ini.', //cpg1.3.0
+    'exc_file_size' => 'Překročena velikost souboru povolená albu.', //cpg1.3.0
+    'partial_upload' => 'Pouze částečný upload.', //cpg1.3.0
+    'no_upload' => 'Neproběhl žádný upload souborů.', //cpg1.3.0
+    'unknown_code' => 'Neznámá chyba PHP při uploadu.', //cpg1.3.0
+    'no_temp_name' => 'Žádný upload - žadné dočasné jméno.', //cpg1.3.0
+    'no_file_size' => 'Neobsahuje žádná data/rozbité', //cpg1.3.0
+    'impossible' => 'Nebylo možné přesunout.', //cpg1.3.0
+    'not_image' => 'Není obrázkem/rozité', //cpg1.3.0
+    'not_GD' => 'Chybí rozšíření GD.', //cpg1.3.0
+    'pixel_allowance' => 'Pixel allowance exceeded.', //cpg1.3.0 //TODO
+    'incorrect_prefix' => 'Neplatný URI/URL prefix', //cpg1.3.0
+    'could_not_open_URI' => 'Nebylo možné otevřít URI.', //cpg1.3.0
+    'unsafe_URI' => 'Safety not verifiable.', //cpg1.3.0  //TODO
+    'meta_data_failure' => 'Chyba v meta datech', //cpg1.3.0
+    'http_401' => '401 Neautorizovaný přístup', //cpg1.3.0
+    'http_402' => '402 Požadována platba', //cpg1.3.0
+    'http_403' => '403 Zakázaný přístup', //cpg1.3.0
+    'http_404' => '404 Nebylo nalezeno', //cpg1.3.0
+    'http_500' => '500 Interní chyba serveru', //cpg1.3.0
+    'http_503' => '503 Služba není dostupná', //cpg1.3.0
+    'MIME_extraction_failure' => 'MIME nebylo rozpoznáno.', //cpg1.3.0
+    'MIME_type_unknown' => 'Neznámý MIME typ', //cpg1.3.0
+    'cant_create_write' => 'Nebylo možné vytvořit soubor pro zápis.', //cpg1.3.0
+    'not_writable' => 'Nebylo možné zapisovat do souboru pro zápis.', //cpg1.3.0
+    'cant_read_URI' => 'Nebylo možné přečíst URI/URL', //cpg1.3.0
+    'cant_open_write_file' => 'Nebylo možné otevřít soubor pro URI.', //cpg1.3.0
+    'cant_write_write_file' => 'Nebylo možné zapisovat do souboru pro URI.', //cpg1.3.0
+    'cant_unzip' => 'Nebylo možné rozbalit ZIP archiv.', //cpg1.3.0
+    'unknown' => 'Neznámá chyba', //cpg1.3.0
+    'succ' => 'Uspěšný Upload', //cpg1.3.0
+    'success' => '%s souborů bylo úspěšně nahráno.', //cpg1.3.0
+    'add' => 'Prosím stiskněte \'Pokračovat\' pro přidání souborů do alba.', //cpg1.3.0
+    'failure' => 'Chyba při Uploadu', //cpg1.3.0
+    'f_info' => 'Informace o souboru', //cpg1.3.0
+    'no_place' => 'Předchozí soubor není možné umístit.', //cpg1.3.0
+    'yes_place' => 'Předchozí soubor byl úspěšně umístěn.', //cpg1.3.0
+    'max_fsize' => 'Max. velikost souboru je %s KB',
+    'album' => 'Album',
+    'picture' => 'Obrázek',
+    'pic_title' => 'Nadpis obrázku',
+    'description' => 'Popis obrázku',
+    'keywords' => 'Klíčová slova (oddělená mezerou)',
+    'err_no_alb_uploadables' => 'Zde se nenalézá album, do které je povolen upload.',
+    'place_instr_1' => 'Prosím umístěte teď soubory do alb. Můžete také zadat informace týkající se jednotlivých souborů.', //cpg1.3.0
+    'place_instr_2' => 'Další soubory je potřeba umístit. Prosím stiskěte \'Pokračovat\'.', //cpg1.3.0
+    'process_complete' => 'Uspěšně jste umístil všechny soubory.', //cpg1.3.0
+   'albums_no_category' => 'Album bez kategorie', //cpg1.4. //album pulldown mod, added by frogfoot
+  'personal_albums' => '* Osobní album', //cpg1.4 //album pulldown mod, added by frogfoot
+  'select_album' => 'Vyber album', //cpg1.4 //album pulldown mod, added by frogfoot
+  'close' => 'Zavřít', //cpg1.4
+  'no_keywords' => 'Promiňte, žádná slova nebyla k dispozici!', //cpg1.4
+  'regenerate_dictionary' => 'Regenerování slovníku', //cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File usermgr.php
+// ------------------------------------------------------------------------- //
+
+if (defined('USERMGR_PHP')) $lang_usermgr_php = array(
+  'memberlist' => 'Seznam uživatelů', //cpg1.4
+  'user_manager' => 'Manažer uživatelů', //cpg1.4
+    'title' => 'Spravovat uživatele',
+    'name_a' => 'Jméno vzestup.',
+    'name_d' => 'Jméno sestup.',
+    'group_a' => 'Skupina vzestup.',
+    'group_d' => 'Skupina sestup.',
+    'reg_a' => 'Datum registrace vzestup.',
+    'reg_d' => 'Datum registrace sestup.',
+    'pic_a' => 'Počet obrázků vzestup.',
+    'pic_d' => 'Počet obrázků sestup.',
+    'disku_a' => 'Využití disku vzestup.',
+    'disku_d' => 'Využití disku sestup.',
+    'lv_a' => 'Last visit ascending', //cpg1.3.0
+    'lv_d' => 'Last visit descending', //cpg1.3.0
+    'sort_by' => 'Řadit užřivatele podle',
+    'err_no_users' => 'Tabulka uživatelů je prázdná!',
+    'err_edit_self' => 'Zde nelze editovat vlastní profil použijte příslušnou volbu pracující s vaším profilem',
+    'edit' => 'UPRAVIT',
+  'with_selected' => 'Vybraná šíře:', //cpg1.4
+    'delete' => 'SMAZAT',
+  'delete_files_no' => 'udržuj veřejné soubory (ale anonymě)', //cpg1.4
+  'delete_files_yes' => 'vymaž veřejné soubory, jak to půjde', //cpg1.4
+  'delete_comments_no' => 'udržuj veřejné komentáře (ale anonymě)', //cpg1.4
+  'delete_comments_yes' => 'vymaž komentáře, jak to půjde', //cpg1.4
+  'activate' => 'Aktivuj', //cpg1.4
+  'deactivate' => 'Deaktivuj', //cpg1.4
+  'reset_password' => 'Reset hesla', //cpg1.4
+  'change_primary_membergroup' => 'Změň primární skupinu', //cpg1.4
+  'add_secondary_membergroup' => 'Přidej sekundární skupinu', //cpg1.4
+    'name' => 'Uživ. jméno',
+    'group' => 'Skupina Uživ.',
+    'inactive' => 'Neaktivní',
+    'operations' => 'Operace',
+    'pictures' => 'Obrázky',
+  'disk_space_used' => 'Místo využité', //cpg1.4
+  'disk_space_quota' => 'Volná kvóta', //cpg1.4
+  'registered_on' => 'Registrace', //cpg1.4
+  'last_visit' => 'Poslední návštěva',
+  'u_user_on_p_pages' => '%d uživatelé v %d stránce(kách)',
+  'confirm_del' => 'Chcete určitě vymazat tohoto uživatele? \\nAll his files and albums will also be deleted.', //js-alert
+  'mail' => 'MAIL',
+  'err_unknown_user' => 'Vybraný uživatel neexistuje !',
+  'modify_user' => 'Uprav uživatele',
+  'notes' => 'Poznámka',
+  'note_list' => '<li>Jestli nechcete měnit heslo, ponechte pole hesla prázdné.',
+  'password' => 'Heslo',
+  'user_active' => 'Hživatel je aktivní',
+  'user_group' => 'Uživatelovy skupiny',
+  'user_email' => 'Email uživatele',
+  'user_web_site' => 'Uživatelova domovská stránka',
+  'create_new_user' => 'Vytvořit nového uživatele',
+  'user_location' => 'Uživatelova lokace',
+  'user_interests' => 'Uživatelovo rozhraní',
+  'user_occupation' => 'Uživatelovo bydliště',
+  'user_profile1' => '$user_profile1', //cpg1.4
+  'user_profile2' => '$user_profile2', //cpg1.4
+  'user_profile3' => '$user_profile3', //cpg1.4
+  'user_profile4' => '$user_profile4', //cpg1.4
+  'user_profile5' => '$user_profile5', //cpg1.4
+  'user_profile6' => '$user_profile6', //cpg1.4
+  'latest_upload' => 'Poslední uploady',
+  'never' => 'nikdy',
+  'search' => 'Vyhedání uživatele', //cpg1.4
+  'submit' => 'Odeslat', //cpg1.4
+  'search_submit' => 'Go!', //cpg1.4
+  'search_result' => 'Hledej výsledek pro: ', //cpg1.4
+  'alert_no_selection' => 'Musíš vybrat nejprve alespoń jednoho uživatele!', //cpg1.4 //js-alert
+  'password' => 'heslo', //cpg1.4
+  'select_group' => 'Vyber skupinu', //cpg1.4
+  'groups_alb_access' => 'Povolená alba ve skupině', //cpg1.4
+  'album' => 'Album', //cpg1.4
+  'category' => 'Kategorie', //cpg1.4
+  'modify' => 'Změnit?', //cpg1.4
+  'group_no_access' => 'Tato skupina nemá speciální přístup', //cpg1.4
+  'notice' => 'Poznámka', //cpg1.4
+  'group_can_access' => 'Album má pouze "%s" povolený přístup', //cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File util.php
+// ------------------------------------------------------------------------- //
+
+if (defined('UTIL_PHP')) {
+$lang_util_desc_php = array(
+'Opravit názvy ze jména', //cpg1.4
+'Vymazat názvy ', //cpg1.4
+'Znovy vytvořit náhledy a změnit velikost fotografií', //cpg1.4
+'Vymazat originálná fotografiea zaměnit je změněnou verzí', //cpg1.4
+'Vymazat originální nebo střední náhled pro uvolnění místa.', //cpg1.4
+'Vymazat osiřelé komentáře', //cpg1.4
+'Znovu načíst velikosti souborů a rozlišení (jestliže byli obrázky manuálně změněny)', //cpg1.4
+'Resetovat počítadla zobrazení', //cpg1.4
+'Zobrazit phpinfo', //cpg1.4
+'Updatovat databázi', //cpg1.4
+'Zobrazit log soubory', //cpg1.4
+);
+$lang_util_php = array(
+  'title' => 'Administrátorské nástroje (změna velikosti obrázků)',
+  'what_it_does' => 'Co umí?',
+  'file' => 'Soubor',
+  'problem' => 'Problém', //cpg1.4
+  'status' => 'Status', //cpg1.4
+  'title_set_to' => 'název nastavit na',
+  'submit_form' => 'odeslat',
+  'updated_succesfully' => 'úspěšně změněno',
+  'error_create' => 'ERROR při vytváření',
+  'continue' => 'Proces pro více obrázků',
+  'main_success' => 'Soubor %s byl úspěšně použit jako hlavní soubor',
+  'error_rename' => 'Chyba přejmenování z %s na %s',
+  'error_not_found' => 'Soubor %s nebyl nalezen',
+  'back' => 'návrat na hlavní',
+  'thumbs_wait' => 'Update náhledu a/nebo změna velikosti obrázku, prosím počkejte...',
+  'thumbs_continue_wait' => ' Pokračování update náhledu a/nebo změna velikosti obrázku, prosím počkejte...',
+  'titles_wait' => 'Updatuji názvy, prosím čekejte...',
+  'delete_wait' => 'Mažu názvy, prosím čekejte...',
+  'replace_wait' => 'Vymazání originálních a záměna s obrázky se změněnou velikostí, prosím počkejte...',
+  'instruction' => 'Rychlé instrukce',
+  'instruction_action' => 'Vyber akci',
+  'instruction_parameter' => 'Nastav parametry',
+  'instruction_album' => 'Vyber album',
+  'instruction_press' => 'Zmáčkni %s',
+  'update' => 'Update náhledu a/nebo změna velikosti fotek',
+  'update_what' => 'Co chcete updatovat',
+  'update_thumb' => 'Pouze náhledy',
+  'update_pic' => 'Pouze obrázky se změněnou velikostí',
+  'update_both' => 'Obojí náhledy a obrázky se změněnou velikostí.',
+  'update_number' => 'Počet změn provedených na jeden klik',
+  'update_option' => '(Zkusta nastavit nižší hodnotu, jestliže se potýkáte s time-out problémy)',
+  'filename_title' => 'Jméno souboru &rArr; Název',
+  'filename_how' => 'Jak má být jméno souboru modifikováno',
+  'filename_remove' => 'Odstraň .jpg ukončení a zaměň za _ (podtržítko) s mezerou',
+  'filename_euro' => 'Změň 2003_11_23_13_20_20.jpg na 23/11/2003 13:20',
+  'filename_us' => 'Změň 2003_11_23_13_20_20.jpg tna 11/23/2003 13:20',
+  'filename_time' => 'Změň 2003_11_23_13_20_20.jpg na 13:20',
+  'delete' => 'Vymaž název nebo obrázky originální velikosti',
+  'delete_title' => 'Vymaž názvy souborů',
+  'delete_title_explanation' => 'Tato volba odstraní všechny názvy souborů v galerii kterou specifikujete.', //cpg1.4
+  'delete_original' => 'Odstraň obrázky s originální velikostí',
+  'delete_original_explanation' => 'Tato volba odstraní všechny obrázky plné velikosti.', //cpg1.4
+  'delete_intermediate' => 'Vymaž střední náhledy', //cpg1.4
+  'delete_intermediate_explanation' => 'Tato volba vymaže všechny střední náhledy.<br />Použijte ji pro uvolnění místa na disku.', //cpg1.4
+  'delete_replace' => 'Vymaž originální obrázky a nahraď upravenými velikostí',
+  'titles_deleted' => 'Vymaž všechny názvy ze specifikovaného alba', //cpg1.4
+  'deleting_intermediates' => 'Maže střední náhledy, prosí počkejte...', //cpg1.4
+  'searching_orphans' => 'Hledám osiřelé komentáře, prosím počkejte...', //cpg1.4
+  'select_album' => 'Vyberte album',
+  'delete_orphans' => 'Vymaž komentáře ke chybějícím souborům', //cpg1.4
+  'delete_orphans_explanation' => 'Tato volba identifikuje a vymaže komentáře asociované k vymazaným souborům.<br />Označ všechny alba.', //cpg1.4
+  'refresh_db' => 'Obnov informace o rozlišení a velikosti souborů', //cpg1.4
+  'refresh_db_explanation' => 'Tato volba znovu načte a obnoví informace o velikostech a rozlišení souborů.', //cpg1.4
+  'reset_views' => 'Resetuj počítadla zobrazení', //cpg1.4
+  'reset_views_explanation' => 'Nastaví ve specifikovaném albu počitadla zobrazení na nulu.', //cpg1.4
+  'orphan_comment' => 'osiřelé komentáře byly nalezeny',
+  'delete' => 'Vymazat',
+  'delete_all' => 'Vymazat všechny',
+  'delete_all_orphans' => 'Vymazat všechny osiřelé komentáře?', //cpg1.4
+  'comment' => 'Komentáře: ',
+  'nonexist' => 'připojeno k neexistujícímu souboru # ',
+  'phpinfo' => 'Zobraz phpinfo',
+  'phpinfo_explanation' => 'Zobrazí technické informace o serveru.<br /> - Můžete se zeptat providera na údaje zde zobrazené a jejich podporu.', //cpg1.4
+  'update_db' => 'Updatovat databázi',
+  'update_db_explanation' => 'Jestliže zaměníte coppermine soubory, přidáte a modifikujete nebo upgradujete z předešlé verze coppermine, je nezbytné provést update databáze alespoń jednou. Tato volba vytvoří nezbytné tabulky a/nebo hodnoty pro vaši coppermine databázi.',
+  'view_log' => 'Zobraz log soubory', //cpg1.4
+  'view_log_explanation' => 'Coppermine může sledovat různou aktivitu uživatelů. Můžete prohlížet logy jestliže to máte povoleno v <a href="admin.php">coppermine nastavení</a>.', //cpg1.4
+  'versioncheck' => 'Verze', //cpg1.4
+  'versioncheck_explanation' => 'Zjisti verzi souborů, jestli došlo k upgradu z nižší verze.', //cpg1.4
+  'bridgemanager' => 'Propojovací Manažer', //cpg1.4
+  'bridgemanager_explanation' => 'Zapni nebo vypni integraci (propojení) Coppermine s jinou aplikací (např. tvoje BBS).', //cpg1.4
+);
+}
+
+// ------------------------------------------------------------------------- //
+// File versioncheck.php //cpg1.4
+// ------------------------------------------------------------------------- //
+
+if (defined('VERSIONCHECK_PHP')) $lang_versioncheck_php = array(
+  'title' => 'Versioncheck in english', //cpg1.4
+  'what_it_does' => 'This page is meant for users who have updated their coppermine install. This script goes through the files on your webserver and tries to determine if your local file versions on the webserver are the same as the ones from the repository at http://coppermine.sourceforge.net, this way displaying the files you were meant to update as well.<br />It will show everything in red that needs to be fixed. Entries in yellow need looking into. Entries in green (or your default font color) are OK.<br />Click on the help icons to find out more.', //cpg1.4
+  'online_repository_unable' => 'Unable to connect to online repository', //cpg1.4
+  'online_repository_noconnect' => 'Coppermine was unable to connect to the online repository. This can have two reasons:', //cpg1.4
+  'online_repository_reason1' => 'the coppermine online repository is currently down - check if you can browse this page: %s - if you can\'t access this page, try again later.', //cpg1.4
+  'online_repository_reason2' => 'PHP on your webserver is configured with %s turned off (by default, it\'s turned on). If the server is yours to administer, turn this option on in <i>php.ini</i> (at least allow it to be overridden with %s). If you\'re webhosted, you will probably have to live with the fact that you can\'t compare your files to the online repository. This page will then only display the file versions that came with your distribution - updates will not be displayed.', //cpg1.4
+  'online_repository_skipped' => 'Connection to online repository skipped', //cpg1.4
+  'online_repository_to_local' => 'The script is defaulting to the local copy of the version-files now. The data may be inacurate if you have upgraded Coppermine and you haven\'t uploaded all files. Changes to the files after the release won\'t be taken into account as well.', //cpg1.4
+  'local_repository_unable' => 'Unable to connect to the repository on your server', //cpg1.4
+  'local_repository_explanation' => 'Coppermine was unable to connect to the repository file %s on your webserver. This probably means that you haven\'t uploaded the repository file to your webserver. Do so now and then try to run this page once more (hit refresh).<br />If the script still fails, your webhost might have disabled parts of <a href="http://www.php.net/manual/en/ref.filesystem.php">PHP\'s filesystem functions</a> completely. In this case, you simply won\'t be able to use this tool at all, sorry.', //cpg1.4
+  'coppermine_version_header' => 'Installed Coppermine version', //cpg1.4
+  'coppermine_version_info' => 'You have currently installed: %s', //cpg1.4
+  'coppermine_version_explanation' => 'If you think this is entirely wrong and you\'re supposed to be running a higher version of Coppermine, you probably haven\'t uploaded the most recent version of the file <i>include/init.inc.php</i>', //cpg1.4
+  'version_comparison' => 'Version comparison', //cpg1.4
+  'folder_file' => 'folder/file', //cpg1.4
+  'coppermine_version' => 'cpg version', //cpg1.4
+  'file_version' => 'file version', //cpg1.4
+  'webcvs' => 'web svn', //cpg1.4
+  'writable' => 'writable', //cpg1.4
+  'not_writable' => 'not writable', //cpg1.4
+  'help' => 'Help', //cpg1.4
+  'help_file_not_exist_optional1' => 'file/folder does not exist', //cpg1.4
+  'help_file_not_exist_optional2' => 'The file/folder %s has not been found on your server. Although it is optional you should upload it (using your FTP client) to your webserver if you are experiencing problems.', //cpg1.4
+  'help_file_not_exist_mandatory1' => 'file/folder does not exist', //cpg1.4
+  'help_file_not_exist_mandatory2' => 'The file/folder %s has not been found on your server, although it is mandatory. Upload the file to your webserver (using your FTP client).', //cpg1.4
+  'help_no_local_version1' => 'No local file version', //cpg1.4
+  'help_no_local_version2' => 'The script was unable to extract a local file version - your file is either outdated or you have modified it, removing the header information on the way. Updating the file is recommended.', //cpg1.4
+  'help_local_version_outdated1' => 'Local version outdated', //cpg1.4
+  'help_local_version_outdated2' => 'Your version of this file seems to be from an older version of Coppermine (you probably upgraded). Make sure to update this file as well.', //cpg1.4
+  'help_local_version_na1' => 'Unable to extract cvs version info', //cpg1.4
+  'help_local_version_na2' => 'The script could not determine what cvs version the file on your webserver is. You should upload the file from your package.', //cpg1.4
+  'help_local_version_dev1' => 'Development version', //cpg1.4
+  'help_local_version_dev2' => 'The file on your webserver seems to be newer than your Coppermine version. You are either using a development file (you should only do so if you know what you are doing), or you have upgraded your Coppermine install and not uploaded include/init.inc.php', //cpg1.4
+  'help_not_writable1' => 'Folder not writable', //cpg1.4
+  'help_not_writable2' => 'Change file permissions (CHMOD) to grant the script write access to the folder %s and everything within it.', //cpg1.4
+  'help_writable1' => 'Folder writable', //cpg1.4
+  'help_writable2' => 'The folder %s is writable. This is an unnecessary risk, coppermine only needs read/execute access.', //cpg1.4
+  'help_writable_undetermined' => 'Coppermine was not able to determine wether the folder is writable.', //cpg1.4
+  'your_file' => 'your file', //cpg1.4
+  'reference_file' => 'reference file', //cpg1.4
+  'summary' => 'Summary', //cpg1.4
+  'total' => 'Total files/folders checked', //cpg1.4
+  'mandatory_files_missing' => 'Mandatory files missing', //cpg1.4
+  'optional_files_missing' => 'Optional files missing', //cpg1.4
+  'files_from_older_version' => 'Files left over from outdated Coppermine version', //cpg1.4
+  'file_version_outdated' => 'Outdated file versions', //cpg1.4
+  'error_no_data' => 'The script made a boo, it was not able to retrieve any information. Sorry for the inconvenience.', //cpg1.4
+  'go_to_webcvs' => 'go to %s', //cpg1.4
+  'options' => 'Options', //cpg1.4
+  'show_optional_files' => 'show optional folders/files', //cpg1.4
+  'show_mandatory_files' => 'show mandatory files', //cpg1.4
+  'show_file_versions' => 'show file versions', //cpg1.4
+  'show_errors_only' => 'show folders/files with errors only', //cpg1.4
+  'show_permissions' => 'show folder permissions', //cpg1.4
+  'show_condensed_output' => 'show condensed ouput (for easier screenshots)', //cpg1.4
+  'coppermine_in_webroot' => 'coppermine is installed in the webroot', //cpg1.4
+  'connect_online_repository' => 'try connecting to the online repository', //cpg1.4
+  'show_additional_information' => 'show additional information', //cpg1.4
+  'no_webcvs_link' => 'don\'t display web svn link', //cpg1.4
+  'stable_webcvs_link' => 'display web svn link to stable branch', //cpg1.4
+  'devel_webcvs_link' => 'display web svn link to devel branch', //cpg1.4
+  'submit' => 'apply changes / refresh', //cpg1.4
+  'reset_to_defaults' => 'reset to default values', //cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File view_log.php  //cpg1.4
+// ------------------------------------------------------------------------- //
+
+if (defined('VIEWLOG_PHP')) $lang_viewlog_php = array(
+  'delete_all' => 'Vymaž všechny logy', //cpg1.4
+  'delete_this' => 'Vymaž tento log', //cpg1.4
+  'view_logs' => 'Zobraz logy', //cpg1.4
+  'no_logs' => 'Logy nebyly vytvořeny.', //cpg1.4
+);
+
+
+// ------------------------------------------------------------------------- //
+// File xp_publish.php //cpg1.4
+// ------------------------------------------------------------------------- //
+
+if (defined('XP_PUBLISH_PHP')) {
+
+$lang_xp_publish_client = <<<EOT
+<h1>XP Web Publishing Wizard Client</h1><p>This module allows to use <b>Windows XP</b> web publishing wizard with Coppermine.</p><p>Code is based on article posted by
+EOT;
+
+$lang_xp_publish_required = <<<EOT
+<h2>What is required</h2><ul><li>Windows XP in order to have the wizard.</li><li>A working installation of Coppermine on which <b>the web upload function works properly.</b></li></ul><h2>How to install on client side</h2><ul><li>Right click on
+EOT;
+
+$lang_xp_publish_select = <<<EOT
+Select &quot;save target as..&quot;. Save the file on your hard drive. When saving the file, check that the proposed file name is <b>cpg_###.reg</b> (the ### represents a numerical timestamp). Change it to that name if necessary (leave the numbers). When downloaded, double click on the file in order to register your server with the web publishing wizard.</li></ul>
+EOT;
+
+$lang_xp_publish_testing = <<<EOT
+<h2>Testing</h2><ul><li>In Windows Explorer, select some files and click on <b>Publish xxx on the web</b> in the left pane.</li><li>Confirm your file selection. Click on <b>Next</b>.</li><li>In the list of services that appear, select the one for your photo gallery (it has the name of your gallery). If the service does not appear, check that you have installed <b>cpg_pub_wizard.reg</b> as described above.</li><li>Input your login information if required.</li><li>Select the target album for your pictures or create a new one.</li><li>Click on <b>next</b>. The upload of your pictures starts.</li><li>When it is completed, check your gallery to see if pictures have been properly added.</li></ul>
+EOT;
+
+$lang_xp_publish_notes = <<<EOT
+<h2>Notes :</h2><ul><li>Once the upload has started, the wizard can't display any error message returned by the script so you can't know if the upload failed or succeeded until you check your gallery.</li><li>If the upload fails, enable &quot;Debug mode&quot; on the Coppermine admin page, try with one single picture and check error messages in the
+EOT;
+
+$lang_xp_publish_flood = <<<EOT
+file that is located in Coppermine directory on your server.</li><li>In order to avoid that the gallery be <i>flooded</i> by pictures uploaded through the wizard, only the <b>gallery admins</b> and <b>users that can have their own albums</b> can use this feature.</li>
+EOT;
+
+
+
+$lang_xp_publish_php = array(
+  'title' => 'Coppermine - XP Web Publishing Wizard', //cpg1.4
+  'welcome' => 'Vítáme Vás <b>%s</b>,', //cpg1.4
+  'need_login' => 'Musíte se přihlásit k albu použitím web browserunež použijete tohoto průvodce.<p/><p>Až se přihlásíte nezapomeňte vybrat <b>pamatuj si mě</b>.', //cpg1.4
+  'no_alb' => 'Promiňte, ale není žádná takové album, kam by bylo povoleno uploadovat obrázky tímto průvodcem.', //cpg1.4
+  'upload' => 'Uploadování vašich obrázků do existujícího alba', //cpg1.4
+  'create_new' => 'Vytvořte nové album pro vaše obrázky', //cpg1.4
+  'album' => 'Album', //cpg1.4
+  'category' => 'Kategorie', //cpg1.4
+  'new_alb_created' => 'Vaše nové album &quot;<b>%s</b>&quot; bylo vytvořeno.', //cpg1.4
+  'continue' => 'Zmáčněte &quot;Další&quot; pro začátek uploadu vašich obrázků', //cpg1.4
+  'link' => 'tento link', //cpg1.4
+);
+}
 ?>
\ No newline at end of file
diff -x .svn -aruN 1.4.24.src/lang/danish.php 1.4.25.src/lang/danish.php
--- 1.4.24.src/lang/danish.php	2009-05-25 15:01:17.000000000 -0500
+++ 1.4.25.src/lang/danish.php	2009-06-03 04:10:14.000000000 -0500
@@ -10,11 +10,11 @@
   as published by the Free Software Foundation.
 
   ********************************************
-  Coppermine version: 1.4.24
+  Coppermine version: 1.4.25
   $Source: /cvsroot/coppermine/stable/lang/danish.php,v $
-  $Revision: 5988 $
+  $Revision: 6011 $
   $Author: gaugau $
-  $Date: 2009-05-25 22:01:41 +0200 (Mo, 25 Mai 2009) $
+  $Date: 2009-05-30 10:51:17 +0200 (Sa, 30 Mai 2009) $
 **********************************************/
 
 if (!defined('IN_COPPERMINE')) { die('Not in Coppermine...');}
@@ -27,7 +27,7 @@
   'trans_name'=> 'Biskop + Mimer',
   'trans_email' => '',
   'trans_website' => '',
-  'trans_date' => '2008-09-12',
+  'trans_date' => '2009-05-30',
 );
 
 $lang_charset = 'utf-8';
@@ -66,7 +66,7 @@
   'random' => 'Tilfældige filer',
   'lastup' => 'Seneste filer',
   'lastalb'=> 'Sidst opdaterede albums',
-  'lastcom' => 'Seneste kommentare',
+  'lastcom' => 'Seneste kommentarer',
   'topn' => 'Mest viste',
   'toprated' => 'Mest populære',
   'lasthits' => 'Sidst viste',
@@ -98,7 +98,7 @@
   'no_zip' => 'Understøttelse af ZIP filer er ikke tilgængelig. Kontakt venligst administratoren af galleriet.',
   'zip_type' => 'Du har ikke tilladelse til at uploade zip filer.',
   'database_query' => 'Det opstod en fejl under søgning i databasen', //cpg1.4
-  'register_globals_on' => 'The PHP setting register_globals is enabled on your server, which is a bad idea in terms of security. It\'s strongly recommended to turn it off. [<a href="http://forum.coppermine-gallery.net/index.php/topic,59569.0.html" rel="external" class="external">more</a>]',
+  'register_globals_on' => 'PHP funktionen register_globals er slået til på din server, hvilket er en dårlig ide på grund af sikkerheden. Det anbefales på det kraftigste, at slå den fra. [<a href="http://forum.coppermine-gallery.net/index.php/topic,59569.0.html" rel="external" class="external">more</a>]',
 );
 
 $lang_bbcode_help_title = 'Hjælp til bbkode '; //cpg1.4
@@ -160,8 +160,8 @@
   'users_lnk' => 'Brugere',
   'groups_title' => 'Gå til gruppe administration', //cpg1.4
   'groups_lnk' => 'Grupper',
-  'comments_title' => 'Godkend kommentare', //cpg1.4
-  'comments_lnk' => 'Kommentare',
+  'comments_title' => 'Godkend kommentarer', //cpg1.4
+  'comments_lnk' => 'Kommentarer',
   'searchnew_title' => 'Gå til massetilføjelse af filer', //cpg1.4
   'searchnew_lnk' => 'Massetilføjelse',
   'util_title' => 'Gå til admin værktøjer', //cpg1.4
@@ -275,7 +275,7 @@
 );
 
 $lang_get_pic_data = array(
-  'n_comments' => '%s kommentare',
+  'n_comments' => '%s kommentarer',
   'n_views' => '%s visninger',
   'n_votes' => '(%s stemmer)',
 );
@@ -301,7 +301,7 @@
 $lang_version_alert = array(
   'version_alert' => 'Ikke understøttet version!', //cpg1.4
   'security_alert' => 'Sikkerheds Advarsel!', //cpg1.4.3
-  'relocate_exists' => 'Fjern <a href="http://coppermine-gallery.net/forum/index.php?topic=24217.0">relocate_server.php</a> filen fra din hjemmeside!',
+  'relocate_exists' => 'Fjern <a href="http://coppermine-gallery.net/forum/index.php?topic=24217.0" target=_blank>relocate_server.php</a> filen fra din hjemmeside!',
   'no_stable_version' => 'Du kører Coppermine %s (%s) som kun er til brug af erfarne brugere  - denne version kommer uden nogen form for hjælp eller garanti. Brug den på egen risiko eller nedgrader til den sidst stabile version hvis du behøver hjælp!', //cpg1.4
   'gallery_offline' => 'Galleriet er midlertidig ude af drift, og vil kun være tilgængelig for administratorer. Glem ikke at sætte det i drift igen efter at du er færdig med vedligeholdelse.', //cpg1.4
 );
@@ -393,7 +393,7 @@
   'no_change' => 'Du lavede ingen ændringer!', //js-alert
   'new_album' => 'Nyt album',
   'confirm_delete1' => 'Er du sikker på du vil slette dette album?', //js-alert
-  'confirm_delete2' => '\nAlle filer og kommentare forsvinder!', //js-alert
+  'confirm_delete2' => '\nAlle filer og kommentarer forsvinder!', //js-alert
   'select_first' => 'Vælg først et album', //js-alert
   'alb_mrg' => 'Album administration',
   'my_gallery' => '* Mit galleri *',
@@ -678,7 +678,7 @@
   array('Antal sidehenvisninger', 'max_tabs', 10, 'f=index.htm&amp;as=admin_thumbnail_tabs&amp;ae=admin_thumbnail_tabs_end'), //cpg1.4
   array('Vis billedeoverskriften (i tilføjelse til titel) under minibillede', 'caption_in_thumbview', 1, 'f=index.htm&amp;as=admin_thumbnail_display_caption&amp;ae=admin_thumbnail_display_caption_end'), //cpg1.4
   array('Vis antal visninger under minibillede', 'views_in_thumbview', 1, 'f=index.htm&amp;as=admin_thumbnail_display_views&amp;ae=admin_thumbnail_display_views_end'), //cpg1.4
-  array('Vis antal af kommentare under minibilledet', 'display_comment_count', 1, 'f=index.htm&amp;as=admin_thumbnail_display_comments&amp;ae=admin_thumbnail_display_comments_end'), //cpg1.4
+  array('Vis antal af kommentarer under minibilledet', 'display_comment_count', 1, 'f=index.htm&amp;as=admin_thumbnail_display_comments&amp;ae=admin_thumbnail_display_comments_end'), //cpg1.4
   array('Vis navn på person der har uploadet filen under minibillede', 'display_uploader', 1, 'f=index.htm&amp;as=admin_thumbnail_display_uploader&amp;ae=admin_thumbnail_display_uploader_end'), //cpg1.4
   //array('Vis navn på admin uploader under minibilledet', 'display_admin_uploader', 1, 'f=index.htm&amp;as=admin_thumbnail_display_admin_uploader&amp;ae=admin_thumbnail_display_admin_uploader_end'), //cpg1.4
   array('Vis fil navn under minibillede', 'display_filename', 1, 'f=index.htm&amp;as=admin_thumbnail_display_filename&amp;ae=admin_thumbnail_display_filename_end'), //cpg1.4
@@ -697,14 +697,14 @@
   array('Diasshow interval i millisekunder (1 sekund = 1000 millisekunder)', 'slideshow_interval', 0, 'f=index.htm&amp;as=admin_image_comment_slideshow_interval&amp;ae=admin_image_comment_slideshow_interval_end'), //cpg1.4
 
   'Kommentar indstillinger', //cpg1.4
-  array('Filtrer bandeord i kommentare', 'filter_bad_words', 1, 'f=index.htm&amp;as=admin_image_comment_bad_words&amp;ae=admin_image_comment_bad_words_end'), //cpg1.4
-  array('Tillad smilies i kommentare', 'enable_smilies', 1, 'f=index.htm&amp;as=admin_image_comment_smilies&amp;ae=admin_image_comment_smilies_end'), //cpg1.4
-  array('Tillad flere kommentare om samme fil fra samme bruger (slår flood beskyttelse fra)', 'disable_comment_flood_protect', 1, 'f=index.htm&amp;as=admin_image_comment_flood&amp;ae=admin_image_comment_flood_end'), //cpg1.4
+  array('Filtrer bandeord i kommentarer', 'filter_bad_words', 1, 'f=index.htm&amp;as=admin_image_comment_bad_words&amp;ae=admin_image_comment_bad_words_end'), //cpg1.4
+  array('Tillad smilies i kommentarer', 'enable_smilies', 1, 'f=index.htm&amp;as=admin_image_comment_smilies&amp;ae=admin_image_comment_smilies_end'), //cpg1.4
+  array('Tillad flere kommentarer om samme fil fra samme bruger (slår flood beskyttelse fra)', 'disable_comment_flood_protect', 1, 'f=index.htm&amp;as=admin_image_comment_flood&amp;ae=admin_image_comment_flood_end'), //cpg1.4
   array('Max antal linjer i en kommentar', 'max_com_lines', 0, 'f=index.htm&amp;as=admin_image_comment_lines&amp;ae=admin_image_comment_lines_end'), //cpg1.4
   array('Maksimum længde på en kommentar', 'max_com_size', 0, 'f=index.htm&amp;as=admin_image_comment_length&amp;ae=admin_image_comment_length_end'), //cpg1.4
-  array('Informer administrator om nye kommentare via e-mail', 'email_comment_notification', 1, 'f=index.htm&amp;as=admin_image_comment_admin_notify&amp;ae=admin_image_comment_admin_notify_end'), //cpg1.4
-  array('Sortering rækkefølge af kommentare', 'comments_sort_descending', 17, 'f=index.htm&amp;as=admin_comment_sort_start&amp;ae=admin_comment_sort_end'), //cpg1.4
-  array('Foranstillet navn på anonyme forfatteres kommentare', 'comments_anon_pfx', 0, 'f=index.htm&amp;as=comments_anon_pfx&amp;ae=comments_anon_pfx_end'), //cpg1.4
+  array('Informer administrator om nye kommentarer via e-mail', 'email_comment_notification', 1, 'f=index.htm&amp;as=admin_image_comment_admin_notify&amp;ae=admin_image_comment_admin_notify_end'), //cpg1.4
+  array('Sortering rækkefølge af kommentarer', 'comments_sort_descending', 17, 'f=index.htm&amp;as=admin_comment_sort_start&amp;ae=admin_comment_sort_end'), //cpg1.4
+  array('Foranstillet navn på anonyme forfatteres kommentarer', 'comments_anon_pfx', 0, 'f=index.htm&amp;as=comments_anon_pfx&amp;ae=comments_anon_pfx_end'), //cpg1.4
 
   'Fil og minibillede indstillinger ',
   array('Kvalitet for JPEG billeder', 'jpeg_qual', 0, 'f=index.htm&amp;as=admin_picture_thumbnail_jpeg_quality&amp;ae=admin_picture_thumbnail_jpeg_quality_end'), //cpg1.4
@@ -890,7 +890,7 @@
   'pic_mgr' => 'Billed Manager', //cpg1.4
   'update_pic' => 'Opdatere billede \'%s\' med filnavnet \'%s\' og index \'%s\'', //cpg1.4
   'username' => 'Brugernavn', //cpg1.4
-  'anonymized_comments' => '%s kommentare anonymiseret ', //cpg1.4
+  'anonymized_comments' => '%s kommentarer anonymiseret ', //cpg1.4
   'anonymized_uploads' => '%s offentlig upload(s) anonymiseret', //cpg1.4
   'deleted_comments' => '%s kommentar slettet', //cpg1.4
   'deleted_uploads' => '%s offentlig upload(s) slettet', //cpg1.4
@@ -1132,8 +1132,8 @@
   'reset_all_view_count' => 'Nulstil ALLE visnings tællere', //cpg1.4
   'reset_votes' => 'Nulstil afstemning',
   'reset_all_votes' => 'Nulstil ALLE stemmer', //cpg1.4
-  'del_comm' => 'Slet kommentare',
-  'del_all_comm' => 'Slet ALLE kommentare', //cpg1.4
+  'del_comm' => 'Slet kommentarer',
+  'del_all_comm' => 'Slet ALLE kommentarer', //cpg1.4
   'upl_approval' => 'Upload godkendelse', //cpg1.4
   'edit_pics' => 'Rediger filer',
   'see_next' => 'Se næste filer',
@@ -1171,7 +1171,7 @@
 
 if (defined('FAQ_PHP')) $lang_faq_data = array(
   'Generelle Spørgsmål og Svar',
-  array('Hvorfor skal jeg registreres?', 'Registrering kan eller kan ikke være krævet af administratoren. Registrering giver ekstra muligheder som at uploade filer, have en liste over foretrukne, give billeder kommentare osv.', 'allow_user_registration', '1'),
+  array('Hvorfor skal jeg registreres?', 'Registrering kan eller kan ikke være krævet af administratoren. Registrering giver ekstra muligheder som at uploade filer, have en liste over foretrukne, give billeder kommentarer osv.', 'allow_user_registration', '1'),
   array('Hvordan bliver jeg registreret?', 'Gå til "Registrer" og udfyld de krævede felter (og de frivillige hvis du har lyst).<br />Hvis administratoren har slået E-mail aktivering til, vil du efter registrering modtage en e-mail på den adresse du har skrevet, som vil give dig information om hvordan du aktiverer din konto. Din konto skal aktiveres før du kan logge ind.', 'allow_user_registration', '1'), //cpg1.4
   array('Hvordan logger jeg ind?', 'Gå til "Registre", skriv dit brugernavn og og adgangskode og marker "Husk mig" så vil du være logget ind næste gang du besøger siden.<br /><b>VIGTIGT: Cookies skal være aktiveret og cookie fra denne side må ikke slettes hvis du vil bruge "Husk mig" funktionen.</b>', 'offline', 0),
   array('Hvorfor kan jeg ikke logge ind?', 'Registrerede du dig og trykkede på linket i den mail du fik tilsendt?. Linket vil aktivere din konto. For andre login problemer, kontakt administratoren.', 'offline', 0),
@@ -1186,8 +1186,8 @@
   array('Hvordan opretter, omdøber eller sletter jeg et album i "Mit Galleri"?', 'Du burde allerede være i "Administrator-Tilstand"<br />Gå til "Opret/rediger Mine Albums" og tryk på "Ny". Ret "Nyt Album" til det ønskede navn.<br />Du kan også omdøbe et eksisterende album.<br />Tryk på "Godkend rettelser".', 'allow_private_albums', 0),
   array('Hvordan kan jeg vælge hvem der kan se mine albums?', 'Du burde allerede være i "Admin. tilstand"<br />Gå til "Rediger Mine Albums" på "Opdater album" baren, og vælg det album du vil redigere.<br />Her kan du ændre navn, beskrivelse, minibillede, og begrænse visning og kommentar tilladelser.<br />Tryk på "Opdater album".', 'allow_private_albums', 0),
   array('Hvordan kan jeg se andre brugeres gallerier?', 'Gå til "Album Liste" og vælg "Bruger gallerier".', 'allow_private_albums', 0),
-  array('Hvad er cookies?', 'Cookies er en tekst fil som sendes fra en hjemmesside og gemmes på din computer.<br />Cookies tillader brugeren at forlade en side og komme tilbage uden at logge ind igen og at tilpasse siden på forskellige måder.', 'offline', 0),
-  array('Hvor kan jeg hente dette program til min side?', 'Coppermine er et gratis Multimedia Galleri, udgiver under GNU licens. Det er fuld af funktioner og findes til forskellige platforme. Besøg <a href="http://coppermine-gallery.net/">Coppermine hjemmesiden</a> for at læse mere eller at hente det.', 'offline', 0),
+  array('Hvad er cookies?', 'Cookies er en tekst fil som sendes fra en hjemmeside og gemmes på din computer.<br />Cookies tillader brugeren at forlade en side og komme tilbage uden at logge ind igen og at tilpasse siden på forskellige måder.', 'offline', 0),
+  array('Hvor kan jeg hente dette program til min side?', 'Coppermine er et gratis Multimedia Galleri, udgiver under GNU licens. Det er fuld af funktioner og findes til forskellige platforme. Besøg <a href="http://coppermine.sf.net/">Coppermine hjemmesiden</a> for at læse mere eller at hente det.', 'offline', 0),
 
   'Navigering på siden',
   array('Hvad er "Albumliste"?', 'Dette vil vise dig hele galleriet med et link til hver kategori. Minibilleder kan være et link til en kategori.', 'offline', 0),
@@ -1195,7 +1195,7 @@
   array('Hvad er forskellen mellem &quot;Admin Tilstand&quot; og &quot;Bruger Tilstand&quot;?', 'I Admin Tilstand kan brugere ændre deres galleri (såvel som andres hvis tilladelse er givet af administrator).', 'allow_private_albums', 0),
   array('Hvad er "Upload Billeder"?', 'Denne funktion giver brugeren mulighed for at uploade et billede (størrelse og type er valgt af administratoren) til et galleri som du eller administratoren har valgt.', 'allow_private_albums', 0),
   array('Hvad er "Nyeste uploads"?', 'Denne funktion viser de nyeste filer som er uploadet til siden.', 'offline', 0),
-  array('Hvad er "Nyeste kommentar"?', 'Denne funktion viser de nyeste kommentare med de tilhørende billeder.', 'offline', 0),
+  array('Hvad er "Nyeste kommentar"?', 'Denne funktion viser de nyeste kommentarer med de tilhørende billeder.', 'offline', 0),
   array('Hvad er "Mest viste"?', 'Denne funktion viser de billeder som er vist flest gange af alle brugere (uanset om de er logget ind eller ej).', 'offline', 0),
   array('Hvad er "Topkarakter"?', 'Denne funktion viser hvilket billede der har opnået højest karakter fra brugererne, og viser den gennemsnitlige karakter.<br />Hvis f.eks. fem brugere gav <img src="images/rating3.gif" width="65" height="14" border="0" alt="" /> ville billedet have et gennemsnit på <img src="images/rating3.gif" width="65" height="14" border="0" alt="" /> .<br />Hvis fem brugere gav billedet fra 1-5 (1,2,3,4,5) ville resuletere give et snit på <img src="images/rating3.gif" width="65" height="14" border="0" alt="" /> .<br />Karakteren går fra <img src="images/rating5.gif" width="65" height="14" border="0" alt="best" /> (bedst) til <img src="images/rating0.gif" width="65" height="14" border="0" alt="worst" /> (værst).', 'offline', 0),
   array('Hvad er "Mine Foretrukne"?', 'Denne funktion lader brugeren gemme sine foretrukne billeder i en cookie som gemmes på vedkommendes computer.', 'offline', 0),
@@ -1272,7 +1272,7 @@
 );
 
 $lang_album_admin_menu = array(
-  'confirm_delete' => 'Er du sikker på du vil SLETTE dette album? \\nAlle filer og kommentare vil også blive slettet.', //js-alert
+  'confirm_delete' => 'Er du sikker på du vil SLETTE dette album? \\nAlle filer og kommentarer vil også blive slettet.', //js-alert
   'delete' => 'SLET',
   'modify' => 'EGENSKABER',
   'edit_pics' => 'REDIGER FILER',
@@ -1280,10 +1280,10 @@
 
 $lang_list_categories = array(
   'home' => 'Hjem',
-  'stat1' => '<b>[pictures]</b> filer i <b>[albums]</b> albums og <b>[cat]</b> kategorier med <b>[comments]</b> kommentare vist <b>[views]</b> gange',
+  'stat1' => '<b>[pictures]</b> filer i <b>[albums]</b> albums og <b>[cat]</b> kategorier med <b>[comments]</b> kommentarer vist <b>[views]</b> gange',
   'stat2' => '<b>[pictures]</b> filer i <b>[albums]</b> albums vist <b>[views]</b> gange',
   'xx_s_gallery' => '%s\'s Galleri',
-  'stat3' => '<b>[pictures]</b> filer i <b>[albums]</b> albums med <b>[comments]</b> kommentare vist <b>[views]</b> gange',
+  'stat3' => '<b>[pictures]</b> filer i <b>[albums]</b> albums med <b>[comments]</b> kommentarer vist <b>[views]</b> gange',
 );
 
 $lang_list_users = array(
@@ -1372,7 +1372,7 @@
   'alb_perm' => 'Tilladelser for dette album',
   'can_view' => 'Album kan vises af',
   'can_upload' => 'Gæster kan oploade billeder',
-  'can_post_comments' => 'Gæster kan skrive kommentare',
+  'can_post_comments' => 'Gæster kan skrive kommentarer',
   'can_rate' => 'Gæster kan stemme på billeder',
   'user_gal' => 'Bruger Galleri',
   'no_cat' => '* Ingen kategori *',
@@ -1391,7 +1391,7 @@
   'delete_files' => '%sIrreversibly%s slet alle filer i %s', //cpg1.4
   'views' => 'visninger', //cpg1.4
   'votes' => 'stemmer', //cpg1.4
-  'comments' => 'kommentare', //cpg1.4
+  'comments' => 'kommentarer', //cpg1.4
   'files' => 'filer', //cpg1.4
   'submit_reset' => 'gem ændringer', //cpg1.4
   'reset_views_confirm' => 'Jeg er sikker', //cpg1.4
@@ -1534,7 +1534,7 @@
   'pass_chg_error' => 'Din adgangskode blev ikke ændret',
   'notify_admin_email_subject' => '%s - Information om registrering',
   'last_uploads' => 'Sidst uploadet fil.<br />Klik for at se alle fil der er uploaded af', //cpg1.4
-  'last_comments' => 'Seneste kommentar.<br />Klik for at se alle kommentare lavet af', //cpg1.4
+  'last_comments' => 'Seneste kommentar.<br />Klik for at se alle kommentarer lavet af', //cpg1.4
   'notify_admin_email_body' => 'En ny bruger med brugernavnet "%s" har registreret sig i dit galleri',
   'pic_count' => 'Uploadede filer', //cpg1.4
   'notify_admin_request_email_subject' => '%s - Registrerings anmodning', //cpg1.4
@@ -1586,10 +1586,10 @@
   'title' => 'Kommentar overblik',
   'no_comment' => 'Der er ingen kommentar at vise',
   'n_comm_del' => '%s kommentar(er) slettet',
-  'n_comm_disp' => 'Antal af kommentare at vise',
+  'n_comm_disp' => 'Antal af kommentarer at vise',
   'see_prev' => 'Se foregående',
   'see_next' => 'Se næste',
-  'del_comm' => 'Slet valgte kommentare',
+  'del_comm' => 'Slet valgte kommentarer',
   'user_name' => 'Navn', //cpg1.4
   'date' => 'Dato', //cpg1.4
   'comment' => 'Kommentar', //cpg1.4
@@ -1829,8 +1829,8 @@
   'delete' => 'Slet', //cpg1.4
   'delete_files_no' => 'behold offentlige filer (men anonymiser)', //cpg1.4
   'delete_files_yes' => 'slet også offentlige filer', //cpg1.4
-  'delete_comments_no' => 'behold kommentare (men anonymisere)', //cpg1.4
-  'delete_comments_yes' => 'slet også kommentare', //cpg1.4
+  'delete_comments_no' => 'behold kommentarer (men anonymiserer)', //cpg1.4
+  'delete_comments_yes' => 'slet også kommentarer', //cpg1.4
   'activate' => 'Aktiver', //cpg1.4
   'deactivate' => 'Deaktiver', //cpg1.4
   'reset_password' => 'Nulstil Adgangskode', //cpg1.4
@@ -1896,7 +1896,7 @@
 'Genskab minibilleder og mellemstore billeder', //cpg1.4
 'Sletter originale billeder og erstatter dem med mellemstor version', //cpg1.4
 'Sletter original eller mellemstore billeder for at frigøre diskplads', //cpg1.4
-'Sletter kommentare ikke tilknyttet billede', //cpg1.4
+'Sletter kommentarer ikke tilknyttet billede', //cpg1.4
 'Genindlæs fil størrelse og dimensioner (hvis du manuelt ændre billederne)', //cpg1.4
 'Nulstil tæller', //cpg1.4
 'Vis phpinfo', //cpg1.4
@@ -1953,13 +1953,13 @@
   'deleting_intermediates' => 'Sletter mellemstore billeder, vent venligst...', //cpg1.4
   'searching_orphans' => 'Søger efter forældreløse billeder, vent venligst...', //cpg1.4
   'select_album' => 'Vælg album',
-  'delete_orphans' => 'Slet kommentare som ikke har et album (virker på alle albums)', //cpg1.4
-  'delete_orphans_explanation' => 'Dette vil finde og lade dig slette alle kommentare som knytter sig til filer som ikke længere findes i galleriet.<br />Tjekker alle albums.', //cpg1.4
+  'delete_orphans' => 'Slet kommentarer som ikke har et album (virker på alle albums)', //cpg1.4
+  'delete_orphans_explanation' => 'Dette vil finde og lade dig slette alle kommentarer som knytter sig til filer som ikke længere findes i galleriet.<br />Tjekker alle albums.', //cpg1.4
   'refresh_db' => 'Genindlæser informationer om fil dimensioner og størrelse', //cpg1.4
   'refresh_db_explanation' => 'Dette vil genindlæse fil dimensioner og størrelse. Brug denne hvis Diskkvoter viser forkert eller hvis du har ændret filerne manuelt.', //cpg1.4
   'reset_views' => 'Nulstil tæller til visning', //cpg1.4
   'reset_views_explanation' => 'Stiller tæller til nul på filer i valgte album.', //cpg1.4
-  'orphan_comment' => 'kommentare uden album fundet',
+  'orphan_comment' => 'kommentarer uden album fundet',
   'delete' => 'Slet',
   'delete_all' => 'Slet alle',
   'delete_all_orphans' => 'Slet alle forældreløse?', //cpg1.4
diff -x .svn -aruN 1.4.24.src/lang/dutch.php 1.4.25.src/lang/dutch.php
--- 1.4.24.src/lang/dutch.php	2009-05-25 15:01:17.000000000 -0500
+++ 1.4.25.src/lang/dutch.php	2009-05-26 11:25:40.000000000 -0500
@@ -1,2096 +1,2096 @@
-<?php
-	/*************************
-	  Coppermine Photo Gallery
-	  ************************
-	  Copyright (c) 2003-2009 Coppermine Dev Team
-	  v1.1 originally written by Gregory DEMAR
-	
-	  This program is free software; you can redistribute it and/or modify
-	  it under the terms of the GNU General Public License version 3
-	  as published by the Free Software Foundation.
-	  
-	  ********************************************
-	  Coppermine version: 1.4.24
-	  $HeadURL: https://coppermine.svn.sourceforge.net/svnroot/coppermine/trunk/cpg1.4.x/lang/dutch.php $
-	  $Revision: 5988 $
-	  $Author: gaugau $
-	  $Date: 2009-05-25 22:01:41 +0200 (Mo, 25 Mai 2009) $
-	**********************************************/
-	
-	IF (!defined('IN_COPPERMINE')) { die('Niet in Coppermine...');}
-	
-	// info about translators and translated language
-	$lang_translation_info = array( 
-		'lang_name_english' => 'Dutch',  
-		'lang_name_native' => 'Nederlands', 
-		'lang_country_code' => 'nl', 
-		'trans_name'=> 'Jan Paul', //the name of the translator - can be a nickname 
-		'trans_email' => '', //translator's email address (optional) 
-		'trans_website' => '', //translator's website (optional) 
-		'trans_date' => '2005-08-17', //the date the translation was created / last modified 
-	); 
-	
-	$lang_charset = 'utf-8';
-	$lang_text_dir = 'ltr';
-	
-	// shortcuts for Byte, Kilo, Mega
-	$lang_byte_units = array('Bytes', 'KB', 'MB');
-	
-	// Day of weeks and months
-	$lang_day_of_week = array('zon', 'maa', 'din', 'woe', 'don', 'vri', 'zat');
-	$lang_month = array('jan', 'feb', 'mrt', 'apr', 'mei', 'jun', 'jul', 'aug', 'sep', 'okt', 'nov', 'dec');
-	
-	// Some common strings
-	$lang_yes = 'Ja';
-	$lang_no  = 'Nee';
-	$lang_back = 'TERUG';
-	$lang_continue = 'DOORGAAN';
-	$lang_info = 'Informatie';
-	$lang_error = 'Fout'; 
-	$lang_check_uncheck_all = 'selecteer/deselecteer alles';
-	
-	// The various date formats
-	// See http://www.php.net/manual/en/function.strftime.php to define the variable below
-	$album_date_fmt =    '%d %B %Y';
-	$lastcom_date_fmt =  '%d-%m-%y om %H:%M';
-	$lastup_date_fmt = '%d %B %Y';
-	$register_date_fmt = '%d %B %Y';
-	$lasthit_date_fmt = '%d %B %Y om %H:%M ';
-	$comment_date_fmt =  '%d %B %Y om %H:%M '; 
-	$log_date_fmt = '%d-%m-%y om %H:%M';
-	
-	// For the word censor
-	$lang_bad_words = array('*fuck*', 'asshole', 'assramer', 'bitch*', 'c0ck', 'clits', 'Cock', 'cum', 'cunt*', 'dago', 'daygo', 'dego', 'dick*', 'dildo', 'fanculo', 'feces', 'foreskin', 'Fu\(*', 'fuk*', 'honkey', 'hore', 'injun', 'kike', 'lesbo', 'masturbat*', 'motherfucker', 'nazis', 'nigger*', 'nutsack', 'penis', 'phuck', 'poop', 'pussy', 'scrotum', 'shit', 'slut', 'titties', 'titty', 'twaty', 'wank*', 'whore', 'wop*','kut','lul','neuken','klootzak','hoer','zak','hufter','pijpen','kloot','sex');
-	
-	$lang_meta_album_names = array( 
-		'random' => 'Willekeurige bestanden', 
-		'lastup' => 'Laatste toevoegingen', 
-		'lastalb'=> 'Laatste gewijzigde albums', 
-		'lastcom' => 'Laatste commentaren', 
-		'topn' => 'Meest bekeken', 
-		'toprated' => 'Best beoordeeld', 
-		'lasthits' => 'Laatst bekeken', 
-		'search' => 'Zoek resultaten', 
-		'favpics'=> 'Favoriete bestanden',  //cpg1.4
-	);
-	
-	$lang_errors = array(
-		'access_denied' => 'Je hebt geen toestemming om deze pagina te bezoeken.',
-		'perm_denied' => 'Je hebt geen toestemming om deze handeling uit te voeren.',
-		'param_missing' => 'Script aangeroepen zonder de vereiste parameters.',
-		'non_exist_ap' => 'Geselecteerde album/bestand bestaat niet!',
-		'quota_exceeded' => 'Toegewezen bestandsgrootte overschreden<br/><br/>Je hebt een bestandsgrootte-limiet van [quota]K, je bestanden gebruiken nu [space]K, het toevoegen van dit bestand zorgt er voor dat je je toegewezen bestandsgrootte overschrijdt.',
-		'gd_file_type_err' => 'Indien je de GD afbeeldingenbibliotheek gebruikt zijn alleen JPEG- en PNG-bestanden toegestaan.',
-		'invalid_image' => 'De afbeelding die je hebt geupload is corrupt of kan niet behandeld worden door de GD library.',
-		'resize_failed' => 'Niet in staat de verkleinde afbeelding of de afmetingen van de afbeelding aan te passen.',
-		'no_img_to_display' => 'Geen afbeelding om te laten zien.',
-		'non_exist_cat' => 'De geselecteerde categorie bestaat niet.',
-		'orphan_cat' => 'Een categorie heeft een niet bestaande hoofdcategorie, start de categorie-manager om het probleem te herstellen.',
-		'directory_ro' => 'Map \'%s\' is niet beschrijfbaar, bestand kan niet verwijderd worden.',
-		'non_exist_comment' => 'Het geselecteerde commentaar is niet aanwezig.',
-		'pic_in_invalid_album' => 'Bestand is in een niet bestaand album (%s)!?', 
-		'banned' => 'Je bent op dit moment uitgesloten van het gebruik van deze site.', 
-		'not_with_udb' => 'Deze functie is uitgeschakeld in Coppermine omdat het geïntegreerd is met forumsoftware. Wat je probeeert te doen is, of wordt niet ondersteund in deze configuratie, of de functie zal afgehandeld moeten worden door de forumsoftware.', 
-		'offline_title' => 'Offline',
-		'offline_text' => 'Galerij is op dit moment offline - controleer later nog eens',
-		'ecards_empty' => 'Er zijn op dit moment geen e-cardrecords aanwezig om te laten zien. Controleer of je e-card logging hebt aangezet in de Coppermine-configuratie!',
-		'action_failed' => 'Actie mislukt.  Coppermine kan je verzoek niet afhandelen.',
-		'no_zip' => 'De benodigde bibliotheken om zip-bestanden te verwerken zijn niet beschikbaar.  Neem contact op met je Coppermine-beheerder.',
-		'zip_type' => 'Je hebt geen toestemming om zip-bestanden te uploaden.',
-		'database_query' => 'Er was een fout bij het ophalen van de gegevens uit de database', //cpg1.4
-		'register_globals_on' => 'The PHP setting register_globals is enabled on your server, which is a bad idea in terms of security. It\'s strongly recommended to turn it off. [<a href="http://forum.coppermine-gallery.net/index.php/topic,59569.0.html" rel="external" class="external">more</a>]',
-	);
-	
-	$lang_bbcode_help_title = 'bbcode help';
-	$lang_bbcode_help = 'De volgende codes kunnen van pas komen: <li>[b]<b>Bold</b>[/b]</li> <li>[i]<i>Italic</i>[/i]</li> <li>[url=http://Jouwsite.nl/]Url Text[/url]</li> <li>[email]user@domain.nl[/email]</li>';
-	
-	// ------------------------------------------------------------------------- //
-	// File theme.php
-	// ------------------------------------------------------------------------- //
-	
-	$lang_main_menu = array( 
-	'home_title' => 'Ga naar de beginpagina',
-		'home_lnk' => 'Beginpagina',
-		'alb_list_title' => 'Ga naar de albumlijst',
-		'alb_list_lnk' => 'Albumlijst',
-		'my_gal_title' => 'Ga naar mijn persoonlijke galerij',
-		'my_gal_lnk' => 'Mijn galerij', 
-		'my_prof_title' => 'Ga naar mijn persoonlijke profiel', //cpg1.4
-		'my_prof_lnk' => 'Mijn profiel',
-		'adm_mode_title' => 'Ga naar de beheerder-modus',
-		'adm_mode_lnk' => 'Beheerder-modus',
-		'usr_mode_title' => 'Ga naar de gebruiker-modus',
-		'usr_mode_lnk' => 'Gebruiker-modus',
-		'upload_pic_title' => 'Upload een bestand in een album',
-		'upload_pic_lnk' => 'Upload bestand',
-		'register_title' => 'Creëer een account',
-		'register_lnk' => 'Registreer', 
-		'login_title' => 'Log mij in', //cpg1.4
-		'login_lnk' => 'Inloggen', 
-		'logout_title' => 'Log mij uit', //cpg1.4
-		'logout_lnk' => 'Uitloggen', 
-		'lastup_title' => 'Laat me de laatste uploads zien', //cpg1.4
-		'lastup_lnk' => 'Laatste upload', 
-		'lastcom_title' => 'Laat me het laatste commentaar zien', //cpg1.4
-		'lastcom_lnk' => 'Laatste commentaar', 
-		'topn_title' => 'Laat me de meest bekeken bestanden zien', //cpg1.4
-		'topn_lnk' => 'Meest bekeken', 
-		'toprated_title' => 'Laat me de beste beoordeelde bestanden zien', //cpg1.4
-		'toprated_lnk' => 'Best beoordeeld', 
-		'search_title' => 'Zoek naar bestanden', //cpg1.4
-		'search_lnk' => 'Zoek', 
-		'fav_title' => 'Ga naar mijn favorieten', //cpg1.4
-		'fav_lnk' => 'Mijn favorieten', 
-		'memberlist_title' => 'Laat gebruikerslijst zien',
-		'memberlist_lnk' => 'Gebruikerslijst',
-		'faq_title' => 'Veel gestelde vragen en antwoorden over de fotogalerij &quot;Coppermine&quot;',
-		'faq_lnk' => 'FAQ', 
-	);
-	
-	$lang_gallery_admin_menu = array(
-		'upl_app_title' => 'Upload-toestemming', //cpg1.4
-		'upl_app_lnk' => 'Upload-toestemming',
-		'admin_title' => 'Ga naar instellingen', //cpg1.4
-		'admin_lnk' => 'Instellingen', //cpg1.4
-		'albums_title' => 'Ga naar albums', //cpg1.4
-		'albums_lnk' => 'Albums',
-		'categories_title' => 'Ga naar catagorie beheer', //cpg1.4
-		'categories_lnk' => 'Categorieën',
-		'users_title' => 'Ga naar gebruikers beheer', //cpg1.4
-		'users_lnk' => 'Gebruikers',
-		'groups_title' => 'Ga naar beheer groepen', //cpg1.4
-		'groups_lnk' => 'Groepen',
-		'comments_title' => 'Ga naar alle commentaren bekijken', //cpg1.4
-		'comments_lnk' => 'Bekijk commentaren',
-		'searchnew_title' => 'Ga naar toevoegen bestanden', //cpg1.4
-		'searchnew_lnk' => 'Bestanden toevoegen',
-		'util_title' => 'Ga naar de beheerders gereedschappen', //cpg1.4
-		'util_lnk' => 'Beheerdersgereedschap',
-		'key_title' => 'Ga naar de zoekbegrippen bibliotheek', //cpg1.4
-		'key_lnk' => 'Zoekbegrippen Bibliotheek', //cpg1.4
-		'ban_title' => 'Ga naar verbannen gebruikers', //cpg1.4
-		'ban_lnk' => 'Verban gebruiker',
-		'db_ecard_title' => 'Ga naar e-cards', //cpg1.4
-		'db_ecard_lnk' => 'Laat e-cards zien',
-		'pictures_title' => 'Ga naar sorteren afbeeldingen', //cpg1.4
-		'pictures_lnk' => 'Sorteer afbeeldingen', //cpg1.4
-		'documentation_lnk' => 'Ga naar documentatie', //cpg1.4
-		'documentation_title' => 'Coppermine documentatie', //cpg1.4
-	);
-	
-	$lang_user_admin_menu = array( 
-		'albmgr_title' => 'Ga naar Creëer/sorteer albums', //cpg1.4
-		'albmgr_lnk' => 'Creëer/sorteer albums', 
-		'modifyalb_title' => 'Ga naar wijzig mijn albums',  //cpg1.4
-		'modifyalb_lnk' => 'Wijzig mijn albums', 
-		'my_prof_title' => 'Ga naar mijn profiel', //cpg1.4
-		'my_prof_lnk' => 'Mijn profiel',
-	);
-	
-	$lang_cat_list = array(
-		'category' => 'Categorie',
-		'albums' => 'Albums',
-		'pictures' => 'Bestanden',
-	);
-	
-	$lang_album_list = array(
-		'album_on_page' => '%d album(s) op %d pagina(\'s)'
-	);
-	
-	$lang_thumb_view = array(
-		'date' => 'DATUM', 
-		//Sort by filename and title
-		'name' => 'BESTANDSNAAM', 
-		'title' => 'TITEL', 
-		'sort_da' => 'Sorteer op datum oplopend',
-		'sort_dd' => 'Sorteer op datum aflopend',
-		'sort_na' => 'Sorteer op naam oplopend',
-		'sort_nd' => 'Sorteer op naam aflopend',
-		'sort_ta' => 'Sorteer op titel oplopend', 
-		'sort_td' => 'Sorteer op titel aflopend', 
-		'position' => 'POSITIE', //cpg1.4
-		'sort_pa' => 'Sorteer op positie oplopend', //cpg1.4
-		'sort_pd' => 'Sorteer op positie aflopend', //cpg1.4
-		'download_zip' => 'Download als zip-bestand',
-		'pic_on_page' => '%d bestanden op %d pagina(s)',
-		'user_on_page' => '%d gebruiker(s) op %d pagina(s)',
-		'enter_alb_pass' => 'Geef album wachtwoord in', //cpg1.4
-		'invalid_pass' => 'Ongeldig wachtwoord', //cpg1.4
-		'pass' => 'Wachtwoord', //cpg1.4
-		'submit' => 'Verzenden', //cpg1.4
-	);
-	
-	$lang_img_nav_bar = array(
-		'thumb_title' => 'Terug naar de verkleinde afbeeldingspagina',
-		'pic_info_title' => 'Laat zien/verberg bestandsinformatie',
-		'slideshow_title' => 'Diashow',
-		'ecard_title' => 'Stuur dit bestand als een e-card',
-		'ecard_disabled' => 'e-cards zijn uitgeschakeld',
-		'ecard_disabled_msg' => 'Je hebt geen toestemming een e-cards te verzenden', //js-alert
-		'prev_title' => 'Bekijk voorgaand bestand',
-		'next_title' => 'Bekijk volgend bestand',
-		'pic_pos' => 'Bestand %s / %s', 
-		'report_title' => 'Dien een klacht over dit bestand in bij de beheerder', //cpg1.4
-		'go_album_end' => 'Direct naar einde', //cpg1.4
-		'go_album_start' => 'Direct naar begin', //cpg1.4
-		'go_back_x_items' => 'ga %s stappen terug', //cpg1.4
-		'go_forward_x_items' => 'ga %s stappen vooruit', //cpg1.4
-	);
-	
-	$lang_rate_pic = array(
-		'rate_this_pic' => 'Beoordeel dit bestand ',
-		'no_votes' => '(Nog geen stemmen)',
-		'rating' => '(huidige beoordeling : %s / 5 met %s stemmen)',
-		'rubbish' => 'Rotzooi',
-		'poor' => 'Zwak',
-		'fair' => 'Gemiddeld',
-		'good' => 'Goed',
-		'excellent' => 'Uitstekend',
-		'great' => 'Geweldig',
-	); 
-	
-	// ------------------------------------------------------------------------- //
-	// File include/exif.inc.php
-	// ------------------------------------------------------------------------- //
-	
-	// void
-	
-	// ------------------------------------------------------------------------- //
-	// File include/functions.inc.php
-	// ------------------------------------------------------------------------- //
-	
-	$lang_cpg_die = array(
-		INFORMATION => $lang_info,
-		ERROR => $lang_error,
-		CRITICAL_ERROR => 'Kritieke fout',
-		'file' => 'Bestand: ',
-		'line' => 'Regel: ',
-	);
-	
-	$lang_display_thumbnails = array(
-		'filename' => 'Bestandsnaam : ', //cpg1.4
-		'filesize' => 'Bestandsgrootte : ', //cpg1.4
-		'dimensions' => 'Afmetingen : ', //cpg1.4
-		'date_added' => 'Datum toegevoegd : ', //cpg1.4
-	);
-	
-	$lang_get_pic_data = array(
-		'n_comments' => '%s commentaren',
-		'n_views' => '%s x bekeken',
-		'n_votes' => '(%s stemmen)',
-	);
-	
-	$lang_cpg_debug_output = array(
-		'debug_info' => 'Foutenverwijderings-informatie',
-		'select_all' => 'Selecteer alles',
-		'copy_and_paste_instructions' => 'Als je om hulp gaat vragen op het Coppermine-forum, knip-en-plak dan deze foutenverwijderings-gegevens in je forumbericht.',
-		'phpinfo' => 'toon phpinfo',
-		'notices' => 'Mededelingen', //cpg1.4
-	);
-	
-	$lang_language_selection = array(
-		'reset_language' => 'Standaardtaal',
-		'choose_language' => 'Kies een taal',
-	);
-	
-	$lang_theme_selection = array(
-		'reset_theme' => 'Standaardthema',
-		'choose_theme' => 'Kies een thema',
-	); 
-	
-	$lang_version_alert = array(
-		'version_alert' => 'Niet ondersteunde versie!', //cpg1.4
-		'no_stable_version' => 'Je draait Coppermine  %s (%s). Deze is niet bedoeld voor beginnende gebruikers - deze versie wordt niet ondersteund en is zonder enige garantie op een goede werking. Gebruik deze versie is voor eigen risico of download de laatste stabiele versie als je toch ondersteuning wilt hebben!',
-		'gallery_offline' => 'Deze gallerij is momenteel niet beschikbaar anders dan door de beheerder. Vergeet niet weer terug te schakelen naar de online versie als het onderhoud is gedaan.',
-	);
-	
-	$lang_create_tabs = array(
-		'previous' => 'vorige', //cpg1.4
-		'next' => 'volgende', //cpg1.4
-	); 
-	
-	// ------------------------------------------------------------------------- //
-	// File include/init.inc.php
-	// ------------------------------------------------------------------------- //
-	
-	// void
-	
-	// ------------------------------------------------------------------------- //
-	// File keyword.inc.php                                                      //
-	// ------------------------------------------------------------------------- //
-	
-	// void
-	
-	// ------------------------------------------------------------------------- //
-	// File include/picmgmt.inc.php
-	// ------------------------------------------------------------------------- //
-	
-	// void
-	
-	// ------------------------------------------------------------------------- //
-	// File include/plugin_api.inc.php
-	// ------------------------------------------------------------------------- //
-	$lang_plugin_api = array(
-		'error_wakeup' => "Kan plugin '%s' niet uit standby halen", //cpg1.4
-		'error_install' => "Kan plugin '%s' niet installeren", //cpg1.4
-		'error_uninstall' => "Kan plugin '%s' niet deïnstalleren", //cpg1.4
-		'error_sleep' => "Kan plugin '%s' niet standby schakelen<br/>", //cpg1.4
-	);
-
-	// ------------------------------------------------------------------------- //
-	// File include/smilies.inc.php
-	// ------------------------------------------------------------------------- //
-	
-	if (defined('SMILIES_PHP')) $lang_smilies_inc_php = array(
-		'Exclamation' => 'Uitroepteken',
-		'Question' => 'Vraag',
-		'Very Happy' => 'Zeer gelukkig',
-		'Smile' => 'Glimlach',
-		'Sad' => 'Bedroefd',
-		'Surprised' => 'Verbaasd',
-		'Shocked' => 'Geshockeerd',
-		'Confused' => 'Verward',
-		'Cool' => 'Cool',
-		'Laughing' => 'Lachen',
-		'Mad' => 'Gek',
-		'Razz' => 'Uitlachen',
-		'Embarassed' => 'Verlegen',
-		'Crying or Very sad' => 'Huilen of erg bedroefd',
-		'Evil or Very Mad' => 'Slecht of zeer gek',
-		'Twisted Evil' => 'Volledig geschift',
-		'Rolling Eyes' => 'Rollende ogen',
-		'Wink' => 'Knipoog',
-		'Idea' => 'Idee',
-		'Arrow' => 'Pijl',
-		'Neutral' => 'Neutraal',
-		'Mr. Green' => 'Meneer Groen',
-	);
-
-	// ------------------------------------------------------------------------- //
-	// File addpic.php
-	// ------------------------------------------------------------------------- //
-	
-	// void
-	
-	// ------------------------------------------------------------------------- //
-	// File mode.php
-	// ------------------------------------------------------------------------- //
-	
-	if (defined('MODE_PHP')) $lang_mode_php = array(
-		0 => 'Verlaten beheerder modus...',
-		1 => 'Starten beheerder modus...',
-	);
-
-	// ------------------------------------------------------------------------- //
-	// File albmgr.php
-	// ------------------------------------------------------------------------- //
-	
-	if (defined('ALBMGR_PHP')) $lang_albmgr_php = array(
-		'alb_need_name' => 'Albums moeten een naam hebben!', //js-alert
-		'confirm_modifs' => 'Weet je zeker dat je deze wijzigingen wilt maken?', //js-alert
-		'no_change' => 'Je hebt geen enkele wijziging gedaan!', //js-alert
-		'new_album' => 'Nieuw album',
-		'confirm_delete1' => 'Weet je het zeker dat je dit album wilt verwijderen?', //js-alert
-		'confirm_delete2' => '\nAlle bestanden en commentaren zullen verloren gaan!', //js-alert
-		'select_first' => 'Selecteer eerst een album.', //js-alert
-		'alb_mrg' => 'Album beheer',
-		'my_gallery' => '* Mijn galerij *',
-		'no_category' => '* Geen categorie *',
-		'delete' => 'Verwijder',
-		'new' => 'Nieuw',
-		'apply_modifs' => 'Pas wijzigingen toe',
-		'select_category' => 'Selecteer categorie',
-	); 
-
-	// ------------------------------------------------------------------------- //
-	// File banning.php //cpg1.4
-	// ------------------------------------------------------------------------- //
-	
-	if (defined('BANNING_PHP')) $lang_banning_php = array(
-		'title' => 'Verban gebruikers', //cpg1.4
-		'user_name' => 'Gebruikers naam', //cpg1.4
-		'ip_address' => 'IP Adres', //cpg1.4
-		'expiry' => 'Verloopt (leeg is voor altijd)', //cpg1.4
-		'edit_ban' => 'Sla wijzigingen op', //cpg1.4
-		'delete_ban' => 'Verwijder', //cpg1.4
-		'add_new' => 'Voeg nieuwe verbanning toe', //cpg1.4
-		'add_ban' => 'Toevoegen', //cpg1.4
-		'error_user' => 'Kan de gebruiker niet vinden', //cpg1.4
-		'error_specify' => 'Je moet een waarde opgeven met ofwel een gebruikersnaam ofwel een IP adres', //cpg1.4
-		'error_ban_id' => 'Ongeldig verban ID!', //cpg1.4
-		'error_admin_ban' => 'Je kan jezelf niet verbannen!', //cpg1.4
-		'error_server_ban' => 'Weet je zeker dat je je eigen server wilt verbannan. Nou nou, dat kan dus effe niet...', //cpg1.4
-		'error_ip_forbidden' => 'Je kan dit IP adres niet verbannen - het is een LAN (niet-publiek) adres!<br/>Als je toch een niet-publiek IP adres wilt verbannen, wijzig dit dan in de <a href="admin.php">Instellingen</a> (dit heeft alleen zit als je Coppermine binnen een LAN draait).', //cpg1.4
-		'lookup_ip' => 'Een IP adres opzoeken', //cpg1.4
-		'submit' => 'Start!', //cpg1.4
-		'select_date' => 'selecteer datum', //cpg1.4
-	); 
-
-	// ------------------------------------------------------------------------- //
-	// File bridgemgr.php //cpg1.4
-	// ------------------------------------------------------------------------- //
-	
-	if (defined('BRIDGEMGR_PHP')) $lang_bridgemgr_php = array(
-		'title' => 'Integratie Wizard', //cpg1.4
-		'warning' => 'Waarschuwing: bij het gebruik van deze wizard moet je goed begrijpen dat persoonijke informatie wordt verzonden in de formulieren. Voer dit programma alleen op je eigen PC uit (niet op een openbare computer of in bv een internet cafe) en maak na afloop de browser cache en tijdelijke bestanden leeg. Anders kunnen anderen deze informatie lezen!', //cpg1.4
-		'back' => 'terug', //cpg1.4
-		'next' => 'volgende', //cpg1.4
-		'start_wizard' => 'Start integratie wizard', //cpg1.4
-		'finish' => 'Klaar', //cpg1.4
-		'hide_unused_fields' => 'verberg ongebruikte formulier velden (aanbevolen)', //cpg1.4
-		'clear_unused_db_fields' => 'maak ongeldige database waarden leeg (aanbevolen)', //cpg1.4
-		'custom_bridge_file' => 'je eigen integratie bestandsnaam (als de integratie bestandnaam <i>myfile.inc.php</i> is, voer dan <i>myfile</i> in dit veld in)', //cpg1.4
-		'no_action_needed' => 'Geen actie is nodig in deze stap. Druk op \'volgende\' om door te gaan.', //cpg1.4
-		'reset_to_default' => 'Terugzetten naar de standaard waarde', //cpg1.4
-		'choose_bbs_app' => 'kies een programma uit om Coppermine mee te laten integreren', //cpg1.4
-		'support_url' => 'Klik hier voor ondersteuning bij dit programma', //cpg1.4
-		'settings_path' => 'pad(en) gebruik bij jou BBS programma', //cpg1.4
-		'database_connection' => 'database verbinding', //cpg1.4
-		'database_tables' => 'database tabellen', //cpg1.4
-		'bbs_groups' => 'BBS groepen', //cpg1.4
-		'license_number' => 'Licentie nummer', //cpg1.4
-		'license_number_explanation' => 'voer je licentienummer in (indien nodig)', //cpg1.4
-		'db_database_name' => 'Database naam', //cpg1.4
-		'db_database_name_explanation' => 'Geed de naam van de database van de BBS programma in', //cpg1.4
-		'db_hostname' => 'Database host', //cpg1.4
-		'db_hostname_explanation' => 'Hostname waar je mySQL database staat, normaal gesproken &quot;localhost&quot;', //cpg1.4
-		'db_username' => 'Database gebruikersnaam', //cpg1.4
-		'db_username_explanation' => 'mySQL gebruikersnaam voor verbinding met je BBS programmatuur', //cpg1.4
-		'db_password' => 'Database wachtwoord', //cpg1.4
-		'db_password_explanation' => 'Wachtwoord voor deze mySQL gebruikersnaam', //cpg1.4
-		'full_forum_url' => 'Forum URL', //cpg1.4
-		'full_forum_url_explanation' => 'Volledige URL naar je BBS programma (inclusief http://, bijvoorbeeld http://www.yourdomain.tld/forum)', //cpg1.4
-		'relative_path_of_forum_from_webroot' => 'Relatief pad naar je BBS programma', //cpg1.4
-		'relative_path_of_forum_from_webroot_explanation' => 'Relatief pad naar de BBS programma vanaf de webroot (bv: als je BBS progamma staat in http://www.yourdomain.tld/forum/, voer dan &quot;/forum/&quot; in dit veld in)', //cpg1.4
-		'relative_path_to_config_file' => 'Relatief pad naar het BBS programma configuratie bestand', //cpg1.4
-		'relative_path_to_config_file_explanation' => 'Relatief pad naar het BBS programma configuratie bestand, gezien vanuit de Coppermine directory (bv &quot;../forum/&quot; als je BBS programma staat in http://www.yourdomain.tld/forum/ en Coppermine in http://www.yourdomain.tld/gallery/)', //cpg1.4
-		'cookie_prefix' => 'Cookie prefix', //cpg1.4
-		'cookie_prefix_explanation' => 'dit is de naam van de cookie van je BBS programma', //cpg1.4
-		'table_prefix' => 'Tabel prefix', //cpg1.4
-		'table_prefix_explanation' => 'Moet gelijk zijn aan de prefix die je gebruikte toen je het BBS programma installeerde.', //cpg1.4
-		'user_table' => 'Gebruikers tabel', //cpg1.4
-		'user_table_explanation' => '(normaal gesproken moet de standaard waarde goed zijn, tenzij je installatie van je BBS programma niet standaard was)', //cpg1.4 //cpg1.4
-		'session_table' => 'Sessie tabel', //cpg1.4
-		'session_table_explanation' => '(normaal gesproken moet de standaard waarde goed zijn, tenzij je installatie van je BBS programma niet standaard was)', //cpg1.4
-		'group_table' => 'Groepen tabel', //cpg1.4
-		'group_table_explanation' => '(normaal gesproken moet de standaard waarde goed zijn, tenzij je installatie van je BBS programma niet standaard was)', //cpg1.4
-		'group_relation_table' => 'Groep relatie tabel', //cpg1.4
-		'group_relation_table_explanation' => '(normaalgesproken moet de standaard waarde goed zijn, tenzij je installatie van je BBS programma niet standaard was)', //cpg1.4
-		'group_mapping_table' => 'Groep koppellingen tabel', //cpg1.4
-		'group_mapping_table_explanation' => '(normaalgesproken moet de standaard waarde goed zijn, tenzij je installatie van je BBS programma niet standaard was)', //cpg1.4
-		'use_standard_groups' => 'Gebruik standaard BBS gebruikersgroepen', //cpg1.4
-		'use_standard_groups_explanation' => 'Gebruik de standaard (ingebouwde) gebruikersgroepen (aanbevolen). Deze optie laat alle eigengemaakte aanpassingen in gebruikersgroepen vervallen. Gebruik deze optie alleen als je ZEKER bent dat je weet wat je doet!', //cpg1.4
-		'validating_group' => 'Gevalideerden groep', //cpg1.4
-		'validating_group_explanation' => 'De groeps ID van het BBS programma waar de gebruikersnamen staan die gevalideerd moeten worden. (Normaal gesproken moet de standaard waarde goed zijn, tenzij je installatie van je BBS programma niet standaard was)', //cpg1.4
-		'guest_group' => 'Gasten groep', //cpg1.4
-		'guest_group_explanation' => 'De groeps ID van het BBS programma waar de gasten in staan. (De standaard waarde moet goed zijn, tenzij je installatie van je BBS programma niet standaard was)', //cpg1.4
-		'member_group' => 'Leden groep', //cpg1.4
-		'member_group_explanation' => 'De groeps ID van het BBS programma waar de leden in staan. (De standaard waarde moet goed zijn, tenzij je installatie van je BBS programma niet standaard was)', //cpg1.4
-		'admin_group' => 'Beheerders groep', //cpg1.4
-		'admin_group_explanation' => 'De groeps ID van het BBS programma waar de beheerders in staan. (De standaard waarde moet goed zijn, tenzij je installatie van je BBS programma niet standaard was)', //cpg1.4
-		'banned_group' => 'Verbannen groep', //cpg1.4
-		'banned_group_explanation' => 'De groeps ID van het BBS programma waar de verbannen leden in staan. (De standaard waarde moet goed zijn, tenzij je installatie van je BBS programma niet standaard was)', //cpg1.4
-		'global_moderators_group' => 'Moderators groep', //cpg1.4
-		'global_moderators_group_explanation' => 'De groeps ID van het BBS programma waar de moderators in staan. (De standaard waarde moet goed zijn, tenzij je installatie van je BBS programma niet standaard was)', //cpg1.4
-		'special_settings' => 'BBS-specifieke instellingen', //cpg1.4
-		'logout_flag' => 'phpBB versie (logout waarde)', //cpg1.4
-		'logout_flag_explanation' => 'Wat is de versie van het BBS programma (deze instelling bepaalt hoe logouts worden afgehandeld)', //cpg1.4
-		'use_post_based_groups' => 'Gebruik bericht gebaseerde groepen?', //cpg1.4
-		'logout_flag_yes' => '2.0.5 of hoger', //cpg1.4
-		'logout_flag_no' => '2.0.4 of lager', //cpg1.4
-		'use_post_based_groups_explanation' => 'Moeten de groepen van het BBS programma die zijn bepaald aan de hand van het aantal post worden meegenomen (andersoortige toegangs rechten) of alleen de standaard groepen (eenvoidig beheer - aanbevolen). Deze instelling kan ook later worden aangepast.', //cpg1.4
-		'use_post_based_groups_yes' => 'ja', //cpg1.4
-		'use_post_based_groups_no' => 'nee', //cpg1.4
-		'error_title' => 'Je moet de fouten herstellen om door te gaan. Ga naar het vorige scherm.', //cpg1.4
-		'error_specify_bbs' => 'Je moet het programma opgeven welke je met Coppermine wilt integreren.', //cpg1.4
-		'error_no_blank_name' => 'Je moet een bestandsnaam invoeren van je integratie bestand.', //cpg1.4
-		'error_no_special_chars' => 'De integratie bestandsnaam mag geen speciale tekens bevatten behalve de underscore (_) en het streepje (-)!', //cpg1.4
-		'error_bridge_file_not_exist' => 'Het integratie bestand %s bestaat niet op de server. Controleer of deze goed is geupload.', //cpg1.4
-		'finalize' => 'Zet BBS integratie aan/uit', //cpg1.4
-		'finalize_explanation' => 'Ton nu toe zijn de instellingen opgeslagen in de database, maar de BBS integratioe in nog niet aangezet. Je kan de integratie op ieder moment aan of uitzetten. Onthoud de beheerders naam van de standalone Coppermine installatie goed, deze heb je later weer nodig om wijzigingen aan te brengen. Als er iets verkeerd gaat, ga naar %s en zet de BBS integratie weer uit met behulp van je standalone Coppermine gebruikersnaam en wachtwoord (die je hebt ingegeven tijdens de installatie van Coppermine).', //cpg1.4
-		'your_bridge_settings' => 'De integratie instellingen', //cpg1.4
-		'title_enable' => 'Zet integratie aan met %s', //cpg1.4
-		'bridge_enable_yes' => 'zet aan', //cpg1.4
-		'bridge_enable_no' => 'zet uit', //cpg1.4
-		'error_must_not_be_empty' => 'mag niet leeg zijn', //cpg1.4
-		'error_either_be' => 'moet of %s of %s zijn', //cpg1.4
-		'error_folder_not_exist' => '%s bestaat niet. Corrigeer de ingegeven waarde %s', //cpg1.4
-		'error_cookie_not_readible' => 'Coppermine kan de cookie met de naam %s niet lezen. Herstel de waarde die je hebt ingevoerd voor %s, of ga naar het BBS installatie scherm en zorg ervoor dat de cookie directory is leesbaar voor Coppermine.',  //cpg1.4
-		'error_mandatory_field_empty' => 'Je kunt het veld %s niet leeglaten. Vul een goede waarde in.', //cpg1.4
-		'error_no_trailing_slash' => 'Er mag geen slash (\\) aan het eind van het veld %s staan.', //cpg1.4
-		'error_trailing_slash' => 'Er moet een slash (\\) aan het einde van veld %s staan.', //cpg1.4
-		'error_db_connect' => 'Kan geen contact krijgen met de mySQL database met de opgegeven informatie. mySQL gaf de volgende melding:', //cpg1.4
-		'error_db_name' => 'Ondanks dat Coppermine een verbinding tot stand kon brengen, kan de database %s niet gebonden worden. Zorg ervoor dat je %s goed hebt gedifinieerd. mySQL gad de volgende melding:', //cpg1.4
-		'error_prefix_and_table' => '%s en ', //cpg1.4
-		'error_db_table' => 'Kan de tabel %s niet vinden. Zorg ervoor dat je de waarde %s goed hebt ingegeven.', //cpg1.4
-		'recovery_title' => 'Integratie Beheer: noodreparatie', //cpg1.4
-		'recovery_explanation' => 'Als je hier kwam als beheerder van de BBS integratie van Coppermine, moet je eerst als beheerder inloggen. Als je niet kan inloggen omdat er een fout zit in de integratei, kan je deze uitzetten op deze pagina. Na opgave van je gebruikersnaam en wachtwoord laat je niet inloggen, maar zal de BBS integratie uitzetten. Kijk in de documentatie voor meer informatie.', //cpg1.4
-		'username' => 'Gebruikersnaam', //cpg1.4
-		'password' => 'Wachtwoord', //cpg1.4
-		'disable_submit' => 'Verzenden', //cpg1.4
-		'recovery_success_title' => 'Inloggen gelukt', //cpg1.4
-		'recovery_success_content' => 'Het is gelukt om de BBS integratie uit te zetten. Coppermine draait nu weer standalone.', //cpg1.4
-		'recovery_success_advice_login' => 'Log in als beheerder om de instellingen van de BBS integratie te wijzigen of om de integratie aan of uit te zetten.', //cpg1.4
-		'goto_login' => 'Ga naar de login pagina', //cpg1.4
-		'goto_bridgemgr' => 'Ga naar integratie beheer', //cpg1.4
-		'recovery_failure_title' => 'Inloggen mislukt', //cpg1.4
-		'recovery_failure_content' => 'Je hebt de verkeerde inloggegevens opgegeven. Je moet een beheerdersnaam en wachtwoord opgeven van de standalone Coppermine (die is ingesteld tijdens de installatie).', //cpg1.4
-		'try_again' => 'probeer opnieuw', //cpg1.4
-		'recovery_wait_title' => 'De wachtijd is over', //cpg1.4
-		'recovery_wait_content' => 'Om veiligheidsredenen is het script niet bevoegd om zovaak achter elkaar in te loggen, je moet nu eerst wachten om het later nog eens te kunnen proberen.', //cpg1.4
-		'wait' => 'wacht', //cpg1.4
-		'create_redir_file' => 'Maak verwijsbestand aan (aanbevolen)', //cpg1.4
-		'create_redir_file_explanation' => 'Om gebruikers terug te laten keren naar Coppermine als ze zijn ingelogd op het BBS, moet er een overzet bestand worden aangemaakt in de directory van het BBS programma. Als deze optie aan stgaan, integratie beheer zal proberen dit bestand aan te maken, of je krijgt de mogelijkheid de code te kopieren, een bestand zelf aan te maken en dat de code te plakken.', //cpg1.4
-		'browse' => 'blader', //cpg1.4
-	);
-
-	// ------------------------------------------------------------------------- //
-	// File calendar.php //cpg1.4
-	// ------------------------------------------------------------------------- //
-	
-	if (defined('CALENDAR_PHP')) $lang_calendar_php = array(
-		'title' => 'Kalender', //cpg1.4
-		'close' => 'sluiten', //cpg1.4
-		'clear_date' => 'maak datumveld leeg', //cpg1.4
-	);
-
-	// ------------------------------------------------------------------------- //
-	// File catmgr.php
-	// ------------------------------------------------------------------------- //
-	
-	if (defined('CATMGR_PHP')) $lang_catmgr_php = array(
-		'miss_param' => 'Vereiste parameters voor \'%s\'bewerking niet gegeven !',
-		'unknown_cat' => 'Geselecteerde categorie bestaat niet in database',
-		'usergal_cat_ro' => 'Gebruikersgalerijen-categorie kan niet verwijderd worden !',
-		'manage_cat' => 'Beheer categorieën',
-		'confirm_delete' => 'Weet je zeker dat je deze categorie wilt VERWIJDEREN', //js-alert
-		'category' => 'Categorie',
-		'operations' => 'Bewerkingen',
-		'move_into' => 'Verplaats naar',
-		'update_create' => 'Aanpassen/Creëer categorie',
-		'parent_cat' => 'Ouder categorie',
-		'cat_title' => 'Categorie titel',
-		'cat_thumb' => 'Categorie verkleinde afbeelding',
-		'cat_desc' => 'Categorie-omschrijving', 
-		'categories_alpha_sort' => 'Sorteer categorieën alfabetisch (in plaats van willekeurig)',
-		'save_cfg' => 'Bewaar instellingen', //cpg1.4
-	);
-
-	// ------------------------------------------------------------------------- //
-	// File admin.php //cpg1.4
-	// ------------------------------------------------------------------------- //
-	
-	if (defined('ADMIN_PHP')) $lang_admin_php = array(
-		'title' => 'Gallerij Instellingen', //cpg1.4
-		'manage_exif' => 'Beheer exif weergave', //cpg1.4
-		'manage_plugins' => 'Beheer plugins', //cpg1.4
-		'manage_keyword' => 'Beheer zoekbegrippen', //cpg1.4
-		'restore_cfg' => 'Standaard instellingen terugzetten', //cpg1.4
-		'save_cfg' => 'Bewaar nieuwe instellingen', //cpg1.4
-		'notes' => 'Notities', //cpg1.4
-		'info' => 'Informatie', //cpg1.4
-		'upd_success' => 'Coppermine instellingen zijn opgeslagen', //cpg1.4
-		'restore_success' => 'Coppermine standaard instellingen zijn teruggezet', //cpg1.4
-		'name_a' => 'Naam oplopend', //cpg1.4
-		'name_d' => 'Naam aflopend', //cpg1.4
-		'title_a' => 'Titel oplopend', //cpg1.4
-		'title_d' => 'Titel aflopend', //cpg1.4
-		'date_a' => 'Datum oplopend', //cpg1.4
-		'date_d' => 'Datum aflopend', //cpg1.4
-		'pos_a' => 'Positie aflopend', //cpg1.4
-		'pos_d' => 'Positie aflopend', //cpg1.4
-		'th_any' => 'Maximaal', //cpg1.4
-		'th_ht' => 'Hoogte', //cpg1.4
-		'th_wd' => 'Breedte', //cpg1.4
-		'label' => 'tekst', //cpg1.4
-		'item' => 'item', //cpg1.4
-		'debug_everyone' => 'Iedereen', //cpg1.4
-		'debug_admin' => ' Alleen beheerders', //cpg1.4
-		'no_logs'=> 'Uit', //cpg1.4
-		'log_normal'=> 'Normaal', //cpg1.4
-		'log_all' => 'Alles', //cpg1.4
-		'view_logs' => 'Bekijk logging', //cpg1.4
-		'click_expand' => 'klik op de sectie naam deze uit te klappen', //cpg1.4
-		'expand_all' => 'Uit/inklappen', //cpg1.4
-		'notice1' => '(*) Deze instellingen mogen niet worden aangepast als je al waardes in de gegevens hebt zitten.', //cpg1.4
-		'notice2' => '(**) Als deze waarde wordt aangepast zullen alleen bestanden vanaf dit moment beïnvloed worden. Het is aanbevolen deze waarden niet aan te passen als er al bestanden in de database zitten. Je kunt waardes aanpassen via het &quot;<a href="util.php">beheerders gereedschappen</a> menu (afbeeldinggrootte aanpassen)&quot;.',  //cpg1.4
-		'notice3' => '(***) Alle loggings zijn in het Engels.', //cpg1.4
-		'bbs_disabled' => 'Deze functie is uitgeschakeld als het bbs is geintegreerd', //cpg1.4
-		'auto_resize_everyone' => ' Iedereen', //cpg1.4
-		'auto_resize_user' => ' Alleen leden', //cpg1.4
-		'ascending' => 'aflopend', //cpg1.4
-		'descending' => 'oplopend', //cpg1.4
-	);
-	
-	if (defined('ADMIN_PHP')) $lang_admin_data = array(
-		'Algemene instellingen',
-		array('Gallerij naam', 'gallery_name', 0, 'f=index.htm&amp;as=admin_general_name&amp;ae=admin_general_name_end'), //cpg1.4
-		array('Gallerij omschrijving', 'gallery_description', 0, 'f=index.htm&amp;as=admin_general_description&amp;ae=admin_general_description_end'), //cpg1.4
-		array('Gallerij email van de beheerder', 'gallery_admin_email', 0, 'f=index.htm&amp;as=admin_general_email&amp;ae=admin_general_email_end'), //cpg1.4
-		array('URL van de Coppermine directory (geen \'index.php\' of zoiets aan het einde)', 'ecards_more_pic_target', 0, 'f=index.htm&amp;as=admin_general_coppermine-url&amp;ae=admin_general_coppermine-url_end'), //cpg1.4
-		array('URL van je begin pagina', 'home_target', 0, 'f=index.htm&amp;as=admin_general_home-url&amp;ae=admin_general_home-url_end'), //cpg1.4
-		array('Sta ZIP-downloads van favorieten toe', 'enable_zipdownload', 1, 'f=index.htm&amp;as=admin_general_zip-download&amp;ae=admin_general_zip-download_end'), //cpg1.4
-		array('Tijdszone ten opzichte van GMT (huidige tijd: ' . localised_date(-1, $comment_date_fmt) . ')','time_offset',0, 'f=index.htm&amp;as=admin_general_time-offset&amp;ae=admin_general_time-offset_end&amp;top=1'), //cpg1.4
-		array('Activeer versleutelde wachtwoorden (kan niet ongedaan worden gemaakt)','enable_encrypted_passwords',1, 'f=index.htm&amp;as=admin_general_encrypt_password_start&amp;ae=admin_general_encrypt_password_end&amp;top=1'), // cpg 1.4
-		array('Activeer helpfunctie (help is alleen beschikbaar in het Engels)','enable_help',9, 'f=index.htm&amp;as=admin_general_help&amp;ae=admin_general_help_end'), //cpg1.4
-		array('Zoekbegrippen zijn interactief','clickable_keyword_search',14, 'f=index.htm&amp;as=admin_general_keywords_start&amp;ae=admin_general_keywords_end'), //cpg1.4
-		array('Activeer plugins', 'enable_plugins', 12, 'f=index.htm&amp;as=admin_general_enable-plugins&amp;ae=admin_general_enable-plugins_end'),  //cpg1.4
-		array('Sta verbannen van niet-routeerbare (NAT/locale) IP adressen toe', 'ban_private_ip', 1,  'f=index.htm&amp;as=admin_general_private-ip&amp;ae=admin_general_private-ip_end'), //cpg1.4
-		array('Gebruikersvriendelijke interface voor toevoegen via de batch', 'browse_batch_add', 1, 'f=index.htm&amp;as=admin_general_browsable_batch_add&amp;ae=admin_general_browsable_batch_add_end'), //cpg1.4
-	
-		'Taal &amp; Karakterset instellingen',
-		array('Taal', 'lang', 5, 'f=index.htm&amp;as=admin_language_language&amp;ae=admin_language_language_end'), //cpg1.4
-		array('Val terug op Engels bij een niet aanwezige vertaling?', 'language_fallback', 1, 'f=index.htm&amp;as=admin_language_fallback&amp;ae=admin_language_fallback_end'), //cpg1.4
-		array('Karakterset', 'charset', 4, 'f=index.htm&amp;as=admin_language_charset&amp;ae=admin_language_charset_end'), //cpg1.4
-		array('Laat taal lijst zien', 'language_list', 1, 'f=index.htm&amp;as=admin_language_list&amp;ae=admin_language_list_end'), //cpg1.4
-		array('Laat taal vlaggen zien', 'language_flags', 8, 'f=index.htm&amp;as=admin_language_flags&amp;ae=admin_language_flags_end&amp;top=1'), //cpg1.4
-		array('Geef &quot;reset&quot; weer in taal lijst', 'language_reset', 1, 'f=index.htm&amp;as=admin_language_reset&amp;ae=admin_language_reset_end&amp;top=1'), //cpg1.4
-		//array('Display previous/next on tabbed pages', 'previous_next_tab', 1), //cpg1.4
-	
-		'Thema instellingen',
-		array('Thema', 'theme', 6, 'f=index.htm&amp;as=admin_theme_theme&amp;ae=admin_theme_theme_end'), //cpg1.4
-		array('Laat thema lijst zien', 'theme_list', 1, 'f=index.htm&amp;as=admin_theme_theme_list&amp;ae=admin_theme_theme_list_end'), //cpg1.4
-		array('Geef &quot;reset&quot; weer in thema lijst', 'theme_reset', 1, 'f=index.htm&amp;as=admin_theme_theme_reset&amp;ae=admin_theme_theme_reset_end'), //cpg1.4
-		array('Laat FAQ zien', 'display_faq', 1, 'f=index.htm&amp;as=admin_theme_faq&amp;ae=admin_theme_faq_end'), //cpg1.4
-		array('Eigen menu optie titel', 'custom_lnk_name', 0,'f=index.htm&amp;as=admin_theme_custom_lnk_name&amp;ae=admin_theme_custom_lnk_name_end'), //cpg1.4
-		array('URL voor eigen menu', 'custom_lnk_url', 0,'f=index.htm&amp;as=admin_language_custom_lnk_url&amp;ae=admin_language_custom_lnk_url_end'), //cpg1.4
-		array('Laat bbcode help zien', 'show_bbcode_help', 1, 'f=index.htm&amp;as=admin_theme_bbcode&amp;ae=admin_theme_bbcode_end&amp;top=1'), //cpg1.4
-		array('Geef blok met informatie weer bij thema\'s die XHTML en CSS compliant zijn','vanity_block',1, 'f=index.htm&amp;as=vanity_block&amp;ae=vanity_block_end'), //cpg1.4
-		array('Relatief pad naar include file voor eigen header', 'custom_header_path', 0, 'f=index.htm&amp;as=admin_theme_include_path_start&amp;ae=admin_theme_include_path_end'), //cpg1.4
-		array('Relatief pad naar include file voor eigen footer', 'custom_footer_path', 0, 'f=index.htm&amp;as=admin_theme_include_path_start&amp;ae=admin_theme_include_path_end'), //cpg1.4
-	
-		'Albums lijst',
-		array('Breedte van de hoofdtabel (pixels of %)', 'main_table_width', 0, 'f=index.htm&amp;as=admin_album_table-width&amp;ae=admin_album_table-width_end'), //cpg1.4
-		array('Aantal niveau\'s catagorieën', 'subcat_level', 0, 'f=index.htm&amp;as=admin_album_category-levels&amp;ae=admin_album_category-levels_end'), //cpg1.4
-		array('Aantal albums per pagina', 'albums_per_page', 0, 'f=index.htm&amp;as=admin_album_number&amp;ae=admin_album_number_end'), //cpg1.4
-		array('Aantal kolommen in de album lijst', 'album_list_cols', 0, 'f=index.htm&amp;as=admin_album_columns&amp;ae=admin_album_columns_end'), //cpg1.4
-		array('Grootte van de thumbnails in pixels', 'alb_list_thumb_size', 0, 'f=index.htm&amp;as=admin_album_thumbnail-size&amp;ae=admin_album_thumbnail-size_end'), //cpg1.4
-		array('De layout van de hoofdpagina', 'main_page_layout', 0, 'f=index.htm&amp;as=admin_album_list_content&amp;ae=admin_album_list_content_end'), //cpg1.4
-		array('Geef afbeelding weer bij de hoofdniveau\'s van in de catagorieën','first_level',1, 'f=index.htm&amp;as=admin_album_first-level_thumbs&amp;ae=admin_album_first-level_thumbs_end'), //cpg1.4
-		array('Sorteer catagorieën alfabetisch (in plaats van eigen sorteervolgorde)','categories_alpha_sort',1, 'f=index.htm&amp;as=admin_album_list_alphasort_start&amp;ae=admin_album_list_alphasort_end'), //cpg1.4
-		array('Geef aantal afbeeldingen in het album weer','link_pic_count',1, 'f=index.htm&amp;as=admin_album_linked_files_start&amp;ae=admin_album_linked_files_end'), //cpg1.4
-	
-		'Thumbnails',
-		array('Aantal kolommen op de thumbnail pagina', 'thumbcols', 0, 'f=index.htm&amp;as=admin_thumbnail_columns&amp;ae=admin_thumbnail_columns_end'), //cpg1.4
-		array('Aantal rijen op de thumbnail pagina', 'thumbrows', 0, 'f=index.htm&amp;as=admin_thumbnail_rows&amp;ae=admin_thumbnail_rows_end'), //cpg1.4
-		array('Maximaal aantal tabbladen om weer te geven', 'max_tabs', 10, 'f=index.htm&amp;as=admin_thumbnail_tabs&amp;ae=admin_thumbnail_tabs_end'), //cpg1.4
-		array('Laat de bestandsnaam zien (samen met de titel)', 'caption_in_thumbview', 1, 'f=index.htm&amp;as=admin_thumbnail_display_caption&amp;ae=admin_thumbnail_display_caption_end'), //cpg1.4
-		array('Geef het aantal keer dat de afbeelding bekeken is weer', 'views_in_thumbview', 1, 'f=index.htm&amp;as=admin_thumbnail_display_views&amp;ae=admin_thumbnail_display_views_end'), //cpg1.4
-		array('Geef aantal keer dat commentaar gegeven is weer', 'display_comment_count', 1, 'f=index.htm&amp;as=admin_thumbnail_display_comments&amp;ae=admin_thumbnail_display_comments_end'), //cpg1.4
-		array('Geef naam van de eigenaar van de afbeelding weer', 'display_uploader', 1, 'f=index.htm&amp;as=admin_thumbnail_display_uploader&amp;ae=admin_thumbnail_display_uploader_end'), //cpg1.4
-		//array('Display name of admin uploaders below the thumbnail', 'display_admin_uploader', 1, 'f=index.htm&amp;as=admin_thumbnail_display_admin_uploader&amp;ae=admin_thumbnail_display_admin_uploader_end'), //cpg1.4
-		array('Geef bestandnaam weer', 'display_filename', 1, 'f=index.htm&amp;as=admin_thumbnail_display_filename&amp;ae=admin_thumbnail_display_filename_end'), //cpg1.4
-		//array('Geef album omschrijving weer', 'alb_desc_thumb', 1, 'f=index.htm&amp;as=admin_thumbnail_display_description&amp;ae=admin_thumbnail_display_description_end'), //cpg1.4
-		array('Standaard sorteervolgorde', 'default_sort_order', 3, 'f=index.htm&amp;as=admin_thumbnail_default_sortorder&amp;ae=admin_thumbnail_default_sortorder_end'), //cpg1.4
-		array('Minimum aantal stemmen dat er gedaan moet zijn voor de afbeelding wordt weergegeven in de \'beste gewaardeerd\' lijst', 'min_votes_for_rating', 0, 'f=index.htm&amp;as=admin_thumbnail_minimum_votes&amp;ae=admin_thumbnail_minimum_votes_end'), //cpg1.4
-	
-		'Afbeelding',
-		array('Breedte van de afbeelding (pixels of %)', 'picture_table_width', 0, 'f=index.htm&amp;as=admin_image_comment_table-width&amp;ae=admin_image_comment_table-width_end'), //cpg1.4
-		array('Uitgebreide informatie standaard zichtbaar', 'display_pic_info', 1, 'f=index.htm&amp;as=admin_image_comment_info_visible&amp;ae=admin_image_comment_info_visible_end'), //cpg1.4
-		array('Maximale lengte van de omschrijving', 'max_img_desc_length', 0, 'f=index.htm&amp;as=admin_image_comment_descr_length&amp;ae=admin_image_comment_descr_length_end'), //cpg1.4
-		array('Maximaal aantal karakers in een woord', 'max_com_wlength', 0, 'f=index.htm&amp;as=admin_image_comment_chars_per_word&amp;ae=admin_image_comment_chars_per_word_end'), //cpg1.4
-		array('Laat filmstrip zien', 'display_film_strip', 1, 'f=index.htm&amp;as=admin_image_comment_filmstrip_toggle&amp;ae=admin_image_comment_filmstrip_toggle_end'), //cpg1.4
-		array('Geef bestandsnaam weer onder de filmstrip', 'display_film_strip_filename', 1, 'f=index.htm&amp;as=admin_image_comment_display_film_strip_filename&amp;ae=admin_image_comment_display_film_strip_filename_end'), //cpg1.4
-		array('Aantal afbeeldingen in de filmstrip', 'max_film_strip_items', 0, 'f=index.htm&amp;as=admin_image_comment_filmstrip_number&amp;ae=admin_image_comment_filmstrip_number_end'), //cpg1.4
-		array('Interval tijd diashow in milliseconden (1 seconde = 1000 milliseconden)', 'slideshow_interval', 0, 'f=index.htm&amp;as=admin_image_comment_slideshow_interval&amp;ae=admin_image_comment_slideshow_interval_end'), //cpg1.4
-	
-		'Commentaar',
-		array('Filter niet nette woorden uit het commentaar', 'filter_bad_words', 1, 'f=index.htm&amp;as=admin_image_comment_bad_words&amp;ae=admin_image_comment_bad_words_end'), //cpg1.4
-		array('Sta smilies toe in commentaar', 'enable_smilies', 1, 'f=index.htm&amp;as=admin_image_comment_smilies&amp;ae=admin_image_comment_smilies_end'), //cpg1.4
-		array('Sta commentaar van een en dezelfde gebruiker achter elkaar toe (flood protection)', 'disable_comment_flood_protect', 1, 'f=index.htm&amp;as=admin_image_comment_flood&amp;ae=admin_image_comment_flood_end'), //cpg1.4
-		array('Maximaal aantal regels in het commentaar', 'max_com_lines', 0, 'f=index.htm&amp;as=admin_image_comment_lines&amp;ae=admin_image_comment_lines_end'), //cpg1.4
-		array('Maximale lengthe van het commentaar', 'max_com_size', 0, 'f=index.htm&amp;as=admin_image_comment_length&amp;ae=admin_image_comment_length_end'), //cpg1.4
-		array('Bericht beheerder van geplaatst commentaar via e-mail', 'email_comment_notification', 1, 'f=index.htm&amp;as=admin_image_comment_admin_notify&amp;ae=admin_image_comment_admin_notify_end'), //cpg1.4
-		array('Sorteervolgorder van commentaar', 'comments_sort_descending', 17, 'f=index.htm&amp;as=admin_comment_sort_start&amp;ae=admin_comment_sort_end'), //cpg1.4
-		array('Prefix voor niet aangemelde leden bij commentaar', 'comments_anon_pfx', 0, 'f=index.htm&amp;as=comments_anon_pfx&amp;ae=comments_anon_pfx_end'), //cpg1.4
-	
-		'Bestanden en thumbnails instellingen',
-		array('Kwaliteit van de JPEG bestanden', 'jpeg_qual', 0, 'f=index.htm&amp;as=admin_picture_thumbnail_jpeg_quality&amp;ae=admin_picture_thumbnail_jpeg_quality_end'), //cpg1.4
-		array('Maximale groottes van een thumbnail <a href="#notice2" class="clickable_option">**</a>', 'thumb_width', 0, 'f=index.htm&amp;as=admin_picture_thumbnail_max-dimension&amp;ae=admin_picture_thumbnail_max-dimension_end'), //cpg1.4
-		array('Gebruik groottes ( breedte of hoogte of maximaal voor de thumbnail ) <a href="#notice2" class="clickable_option">**</a>', 'thumb_use', 7, 'f=index.htm&amp;as=admin_picture_thumbnail_use-dimension&amp;ae=admin_picture_thumbnail_use-dimension_end'), //cpg1.4
-		array('Maak middelgrote afbeeldingen aan?','make_intermediate',1, 'f=index.htm&amp;as=admin_picture_thumbnail_intermediate_toggle&amp;ae=admin_picture_thumbnail_intermediate_toggle_end'), //cpg1.4
-		array('Maximale breedte of hoogte van de middelgrote afbeeldingen <a href="#notice2" class="clickable_option">**</a>', 'picture_width', 0, 'f=index.htm&amp;as=admin_picture_thumbnail_intermediate_dimension&amp;ae=admin_picture_thumbnail_intermediate_dimension_end'), //cpg1.4
-		array('Maximale grootte van de geuploade bestanden (KB)', 'max_upl_size', 0, 'f=index.htm&amp;as=admin_picture_thumbnail_max_upload_size&amp;ae=admin_picture_thumbnail_max_upload_size_end'), //cpg1.4
-		array('Maximale breedte of hoogte van geuploade bestanden (pixels)', 'max_upl_width_height', 0, 'f=index.htm&amp;as=admin_picture_thumbnail_max_upload_dimension&amp;ae=admin_picture_thumbnail_max_upload_dimension_end'), //cpg1.4
-		array('Pas grootte van de afbeeldingen automatisch aan indien groter dan de maximale waarden?', 'auto_resize', 16, 'f=index.htm&amp;as=admin_picture_thumbnail_auto-resize&amp;ae=admin_picture_thumbnail_auto-resize_end'), //cpg1.4
-	
-		'Bestanden en thumbnails geavanceerde instellingen',
-		array('Albums kunnen persoonlijk zijn (Let op: als je deze waarde van \'ja\' naar \'nee\' omzet, zullen alle persoonlijke albums publiek worden)', 'allow_private_albums', 1, 'f=index.htm&amp;as=admin_picture_thumb_advanced_private_toggle&amp;ae=admin_picture_thumb_advanced_private_toggle_end'), //cpg1.4
-		array('Geef persoonlijke albums icoon weer aan een niet ingelogde gebruiker','show_private',1, 'f=index.htm&amp;as=admin_picture_thumb_advanced_private_icon_show&amp;ae=admin_picture_thumb_advanced_private_icon_show_end'), //cpg1.4
-		array('Verboden karakerts in de bestandsnaam', 'forbiden_fname_char',0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_filename_forbidden_chars&amp;ae=admin_picture_thumb_advanced_filename_forbidden_chars_end'), //cpg1.4
-		//array('Accepted file extensions for uploaded pictures', 'allowed_file_extensions',0, 'f=index.htm&amp;as=&amp;ae=_end'), //cpg1.4
-		array('Toegestane afbeeldings formaten', 'allowed_img_types',0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_pic_extensions&amp;ae=admin_picture_thumb_advanced_pic_extensions_end'), //cpg1.4
-		array('Toegestane filmb formaten', 'allowed_mov_types',0, 'f=index.htm&amp;as=admin_thumbs_advanced_movie&amp;ae=admin_thumbs_advanced_movie_end'), //cpg1.4
-		array('Film weergave autostart', 'media_autostart',1, 'f=index.htm&amp;as=admin_movie_autoplay&amp;ae=admin_movie_autoplay_end'), //cpg1.4
-		array('Toegestane geluidsformaten', 'allowed_snd_types',0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_audio_extensions&amp;ae=admin_picture_thumb_advanced_audio_extensions_end'), //cpg1.4
-		array('Toegestanden documentformaten', 'allowed_doc_types',0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_doc_extensions&amp;ae=admin_picture_thumb_advanced_doc_extensions_end'), //cpg1.4
-		array('Wijze van aanpassen van de afbeeldingen','thumb_method',2, 'f=index.htm&amp;as=admin_picture_thumb_advanced_resize_method&amp;ae=admin_picture_thumb_advanced_resize_method_end'), //cpg1.4
-		array('Pad naar ImageMagick (bijvoorbeeld /usr/bin/X11/)', 'impath', 0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_im_path&amp;ae=admin_picture_thumb_advanced_im_path_end'), //cpg1.4
-		//array('Allowed image types (only valid for ImageMagick)', 'allowed_img_types',0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_allowed_imagetypes&amp;ae=admin_picture_thumb_advanced_allowed_imagetypes_end'), //cpg1.4
-		array('Command line opties voor ImageMagick', 'im_options', 0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_im_commandline&amp;ae=admin_picture_thumb_advanced_im_commandline_end'), //cpg1.4
-		array('Lees EXIF data uit JPEG bestanden', 'read_exif_data', 13, 'f=index.htm&amp;as=admin_picture_thumb_advanced_exif&amp;ae=admin_picture_thumb_advanced_exif_end'), //cpg1.4
-		array('Lees IPTC data uit JPEG bestanden', 'read_iptc_data', 1, 'f=index.htm&amp;as=admin_picture_thumb_advanced_iptc&amp;ae=admin_picture_thumb_advanced_iptc_end'), //cpg1.4
-		array('De album directory <a href="#notice1" class="clickable_option">*</a>', 'fullpath', 0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_albums_dir&amp;ae=admin_picture_thumb_advanced_albums_dir_end'), //cpg1.4
-		array('De gebruikers bestanden directory <a href="#notice1" class="clickable_option">*</a>', 'userpics', 0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_userpics_dir&amp;ae=admin_picture_thumb_advanced_userpics_dir_end'), //cpg1.4
-		array('De prefix voor middelgrote bestanden <a href="#notice1" class="clickable_option">*</a>', 'normal_pfx', 0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_intermediate_prefix&amp;ae=admin_picture_thumb_advanced_intermediate_prefix_end'), //cpg1.4
-		array('De prefix voor middelgrote thumbnails <a href="#notice1" class="clickable_option">*</a>', 'thumb_pfx', 0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_thumbs_prefix&amp;ae=admin_picture_thumb_advanced_thumbs_prefix_end'), //cpg1.4
-		array('Standaard toegangsrecht voor directories', 'default_dir_mode', 0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_chmod_folder&amp;ae=admin_picture_thumb_advanced_chmod_folder_end'), //cpg1.4
-		array('Standaard toegangsrecht voor bestanden', 'default_file_mode', 0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_chmod_files&amp;ae=admin_picture_thumb_advanced_chmod_files_end'), //cpg1.4
-	
-		'Gebruikers instellingen',
-		array('Sta nieuwe registraties toe', 'allow_user_registration', 1, 'f=index.htm&amp;as=admin_allow_registration&amp;ae=admin_allow_registration_end'), //cpg1.4
-		array('Sta gastgebruikers toe (gasten of anoniem)', 'allow_unlogged_access', 1, 'f=index.htm&amp;as=admin_allow_unlogged_access&amp;ae=admin_allow_unlogged_access_end'), //cpg1.4
-		array('Gebruikers registratie moet via email verificatie', 'reg_requires_valid_email', 1, 'f=index.htm&amp;as=admin_registration_verify&amp;ae=admin_registration_verify_end'), //cpg1.4
-		array('Geef melding via e-mail aan beheerder bij nieuwe gebruikersaanmelding', 'reg_notify_admin_email', 1, 'f=index.htm&amp;as=admin_registration_notify&amp;ae=admin_registration_notify_end'), //cpg1.4
-		array('Beheerder moet nieuwe gebruiker activeren', 'admin_activation', 1, 'f=index.htm&amp;as=admin_activation&amp;ae=admin_activation_end'),  //cpg1.4
-		array('Sta meerdere gebruikers met eenzelfde e-mail adres toe', 'allow_duplicate_emails_addr', 1, 'f=index.htm&amp;as=admin_allow_duplicate_emails_addr&amp;ae=admin_allow_duplicate_emails_addr_end'), //cpg1.4
-		array('Geef melding via e-mail aan beheerder bij klaarstaan bestanden voor upload', 'upl_notify_admin_email', 1, 'f=index.htm&amp;as=admin_approval_notify&amp;ae=admin_approval_notify_end'), //cpg1.4
-		array('Sta toe dat ingelogde gebruikers ledenlijst zien', 'allow_memberlist', 1, 'f=index.htm&amp;as=admin_user_memberlist&amp;ae=admin_user_memberlist_end'), //cpg1.4
-		array('Sta toe dat gebruikers hun e-mail adres in hun profiel kunnen wijzigen', 'allow_email_change', 1, 'f=index.htm&amp;as=admin_user_allow_email_change&amp;ae=admin_user_allow_email_change_end'), //cpg1.4
-		array('Sta toe dat gebruikers volledig beheer over hun eigen afbeeldingen hebben in openbare gallerijen', 'users_can_edit_pics', 1, 'f=index.htm&amp;as=admin_user_editpics_public_start&amp;ae=admin_user_editpics_public_end'), //cpg1.4
-		array('Aantal mislukte inlogpogingen voor de gebruiker op de tijdelijke verbannen lijst komt te staan (bescherming tegen hacking)', 'login_threshold', 0, 'f=index.htm&amp;as=admin_user_login_start&amp;ae=admin_user_login_end'), //cpg1.4
-		array('Duur dat een gebruiker op de tijdelijke verbannen lijst komt te staan (minuten)', 'login_expiry', 0, 'f=index.htm&amp;as=admin_user_login_start&amp;ae=admin_user_login_end'), //cpg1.4
-		array('Sta klachten naar beheerder toe', 'report_post', 1, 'f=index.htm&amp;as=admin_user_enable_report&amp;ae=admin_user_enable_report_end'),  //cpg1.4
-	
-		// custom profile fields, //cpg1.4
-		'Eigen velden in de gebruikers profielen (laat leeg inden niet gebruikt). Gebruik profiel 6 voor lange ingaven zoals biografieen', //cpg1.4
-		array('Profiel 1 naam', 'user_profile1_name', 0, 'f=index.htm&amp;as=admin_custom&amp;ae=admin_custom_end'), //cpg1.4
-		array('Profiel 2 naam', 'user_profile2_name', 0), //cpg1.4
-		array('Profiel 3 naam', 'user_profile3_name', 0), //cpg1.4
-		array('Profiel 4 naam', 'user_profile4_name', 0), //cpg1.4
-		array('Profiel 5 naam', 'user_profile5_name', 0), //cpg1.4
-		array('Profiel 6 naam', 'user_profile6_name', 0), //cpg1.4
-	
-		'Eigen velden in de afbeeldings omschrijvingen (laat leeg inden niet gebruikt)', //cpg1.4
-		array('Veld 1 naam', 'user_field1_name', 0, 'f=index.htm&amp;as=admin_custom_image&amp;ae=admin_custom_image_end'), //cpg1.4
-		array('Veld 2 naam', 'user_field2_name', 0), 
-		array('Veld 3 naam', 'user_field3_name', 0), 
-		array('Veld 4 naam', 'user_field4_name', 0), 
-	
-		'Cookies instellingen',
-		array('Cookie naam', 'cookie_name', 0, 'f=index.htm&amp;as=admin_cookie_name&amp;ae=admin_cookie_name_end'), //cpg1.4
-		array('Cookie pad', 'cookie_path', 0, 'f=index.htm&amp;as=admin_cookie_path&amp;ae=admin_cookie_path_end'), //cpg1.4
-	
-		'E-mail instellingen  (normaal gesproken hoeft deze niet te worden aangepast, laat alle velden leeg indien je niet zeker bent wat er moet worden ingevuld)', //cpg1.4
-		array('SMTP Host (leeg laten om gebruik te maken van sendmail)', 'smtp_host', 0, 'f=index.htm&amp;as=admin_email&amp;ae=admin_email_end'), //cpg1.4
-		array('SMTP gebruikersnaam', 'smtp_username', 0), //cpg1.4
-		array('SMTP wachtwoord', 'smtp_password', 0), //cpg1.4
-	
-		'Logging en statistieken',
-		array('Logging mode <a href="#notice3" class="clickable_option">***</a>', 'log_mode', 11, 'f=index.htm&amp;as=admin_logging_log_mode&amp;ae=admin_logging_log_mode_end'), //cpg1.4
-		array('Log e-cards', 'log_ecards', 1, 'f=index.htm&amp;as=admin_general_log_ecards&amp;ae=admin_general_log_ecards_end'), //cpg1.4
-		array('Hou gedetailleerde stemmen statistieken bij','vote_details',1, 'f=index.htm&amp;as=admin_logging_votedetails&amp;ae=admin_logging_votedetails_end'), //cpg1.4
-		array('Hou gedetailleerde hit statistieken bij','hit_details',1, 'f=index.htm&amp;as=admin_logging_hitdetails&amp;ae=admin_logging_hitdetails_end'), //cpg1.4
-	
-		'Onderhouds instellingen',
-		array('Zet debug mode aan', 'debug_mode', 9, 'f=index.htm&amp;as=debug_mode&amp;ae=debug_mode_end'), //cpg1.4
-		array('Laat berichten zien in debug mode', 'debug_notice', 1, 'f=index.htm&amp;as=admin_misc_debug_notices&amp;ae=admin_misc_debug_notices_end'), //cpg1.4
-		array('Gallerij is offline', 'offline', 1, 'f=index.htm&amp;as=admin_general_offline&amp;ae=admin_general_offline_end'), //cpg1.4
-	);
-
-	// ------------------------------------------------------------------------- //
-	// File db_ecard.php
-	// ------------------------------------------------------------------------- //
-	
-	if (defined('DB_ECARD_PHP')) $lang_db_ecard_php = array(
-		'title' => 'Stuur e-cards',
-		'ecard_sender' => 'Afzender',
-		'ecard_recipient' => 'Ontvanger',
-		'ecard_date' => 'Datum',
-		'ecard_display' => 'Laat e-card zien',
-		'ecard_name' => 'Naam',
-		'ecard_email' => 'E-mail',
-		'ecard_ip' => 'IP #',
-		'ecard_ascending' => 'oplopend',
-		'ecard_descending' => 'aflopend',
-		'ecard_sorted' => 'Gesorteerd',
-		'ecard_by_date' => 'op datum',
-		'ecard_by_sender_name' => 'op afzender\'s naam',
-		'ecard_by_sender_email' => 'op afzender\'s e-mail',
-		'ecard_by_sender_ip' => 'op afzender\'s IP-adres',
-		'ecard_by_recipient_name' => 'op ontvanger\'s naam',
-		'ecard_by_recipient_email' => 'op ontvanger\'s e-mail',
-		'ecard_number' => 'tonen record %s aan %s van %s',
-		'ecard_goto_page' => 'ga naar pagina',
-		'ecard_records_per_page' => 'Records per pagina',
-		'check_all' => 'Selecteer alles',
-		'uncheck_all' => 'De-selecteer alles',
-		'ecards_delete_selected' => 'Verwijder geselecteerde e-cards',
-		'ecards_delete_confirm' => 'Weet je zeker dat je de records wilt verwijderen? Selecteer de checkbox!',
-		'ecards_delete_sure' => 'Ik weet het zeker',
-	);
-
-	// ------------------------------------------------------------------------- //
-	// File db_input.php
-	// ------------------------------------------------------------------------- //
-	
-	if (defined('DB_INPUT_PHP')) $lang_db_input_php = array(
-		'empty_name_or_com' => 'Je moet je naam en commentaar opgeven.',
-		'com_added' => 'Je commentaar is toegevoegd.',
-		'alb_need_title' => 'Je moet een naam geven aan het album !',
-		'no_udp_needed' => 'Geen aanpassing nodig.',
-		'alb_updated' => 'Het album is aangepast.',
-		'unknown_album' => 'Geselecteerde album bestaat niet of je hebt geen toestemming naar dit album te uploaden.',
-		'no_pic_uploaded' => 'Er is geen bestand geupload !<br/><br/>Indien je echt een bestand geselecteerd hebt om te uploaden, controleer of de server bestands-upload toestaat...',
-		'err_mkdir' => 'Creëren van map %s niet gelukt !',
-		'dest_dir_ro' => 'Bestemmingsmap %s is niet beschrijfbaar door het script !',
-		'err_move' => 'Onmogelijk %s te verplaatsen naar %s !',
-		'err_fsize_too_large' => 'Het door jou geuploade bestand is te groot (maximum toegelaten is %s x %s) !', //obsolete since cpg1.3 - consider removal in cpg1.4 once upload.php has been overhauled
-		'err_imgsize_too_large' => 'Het door jou geuploade bestand is te groot (maximum toegestaan is %s KB) !', //obsolete since cpg1.3 - consider removal in cpg1.4 once upload.php has been overhauled
-		'err_invalid_img' => 'Het bestand dat je geupload hebt, is geen geldig afbeeldingenbestand !',
-		'allowed_img_types' => 'Je kunt aleen %s afbeeldingen uploaden.',
-		'err_insert_pic' => 'Het bestand \'%s\' kan niet ingevoegd worden in het album.',
-		'upload_success' => 'Je bestand is met succes geupload<br/><br/>Het wordt zichtbaar als de beheerder het goedgekeurd heeft.',
-		'notify_admin_email_subject' => '%s - Upload-melding',
-		'notify_admin_email_body' => 'Een foto is geupload door %s waarvoor toestemming is vereist. Bezoek %s',
-		'info' => 'Informatie',
-		'com_added' => 'Commentaar toegevoegd.',
-		'alb_updated' => 'Album aangepast.',
-		'err_comment_empty' => 'Je commentaar is leeg !',
-		'err_invalid_fext' => 'Alleen bestanden met de volgende extensie worden geaccepteerd : <br/><br/>%s.',
-		'no_flood' => 'Sorry, maar je bent de auteur van het laatste geposte commentaar voor dit bestand<br/><br/>Wijzig het commentaar dat je toegevoegd hebt',
-		'redirect_msg' => 'je wordt doorgestuurd.<br/><br/><br/>Klik \'Doorgaan\' indien de pagina niet automatisch ververst wordt',
-		'upl_success' => 'Je bestand is met succes toegevoegd.',
-		'email_comment_subject' => 'Commentaar toegevoegd op Coppermine Photo Gallery',
-		'email_comment_body' => 'Er heeft iemand commentaar toegevoegd in je galerij. Bekijk het op', 
-		'album_not_selected' => 'Album is niet geselecteerd', //cpg1.4
-		'com_author_error' => 'Een gegeristeerde gebruiker gebruikt deze inlognaam al, kies een andere naam', //cpg1.4
-	);
-
-	// ------------------------------------------------------------------------- //
-	// File delete.php
-	// ------------------------------------------------------------------------- //
-	
-	if (defined('DELETE_PHP')) $lang_delete_php = array(
-		'caption' => 'Koptekst',
-		'fs_pic' => 'Originele grootte foto',
-		'del_success' => 'met succes verwijderd',
-		'ns_pic'  => 'normale fotogrootte',
-		'err_del' => 'kan niet verwijderd worden',
-		'thumb_pic' => 'verkleinde afbeelding',
-		'comment' => 'commentaar',
-		'im_in_alb' => 'foto in album',
-		'alb_del_success' => 'Album \'%s\' verwijderd',
-		'alb_mgr' => 'Album Manager',
-		'err_invalid_data' => 'Ongeldige data ontvangen in \'%s\'',
-		'create_alb' => 'creëeren album \'%s\'',
-		'update_alb' => 'Aanpassen album \'%s\' met titel \'%s\' en index \'%s\'',
-		'del_pic' => 'Verwijder bestand',
-		'del_alb' => 'Verwijder album',
-		'del_user' => 'Verwijder gebruiker',
-		'err_unknown_user' => 'De geselecteerde gebruiker bestaat niet !',
-		'comment_deleted' => 'Commentaar met succes verwijderd', 
-		'err_empty_groups' => 'Er is geen groepen tabel, of de tabel is nog leeg!', //cpg1.4
-		'npic' => 'Afbeelding', //cpg1.4
-		'pic_mgr' => 'Afbeeldingsbeheer', //cpg1.4
-		'update_pic' => 'Aanpassen afbeelding \'%s\' met bestandsnaam \'%s\' en index \'%s\'', //cpg1.4
-		'username' => 'Gebruikersnaam', //cpg1.4
-		'anonymized_comments' => '%s commentaarregel(s) anoniem gemaakt', //cpg1.4
-		'anonymized_uploads' => '%s openbare upload(s) anoniem gemaakt', //cpg1.4
-		'deleted_comments' => '%s commentaarregel(s) verwijderd', //cpg1.4
-		'deleted_uploads' => '%s openbare upload(s) verwijderd', //cpg1.4
-		'user_deleted' => 'gebruiker %s verwijderd', //cpg1.4
-		'activate_user' => 'Activeer gebruiker', //cpg1.4
-		'user_already_active' => 'Gebruiker is al geactiveerd', //cpg1.4
-		'activated' => 'Geactiveerd', //cpg1.4
-		'deactivate_user' => 'Deactiveer gebruiker', //cpg1.4
-		'user_already_inactive' => 'Gebruiker is al gedeactiveerd', //cpg1.4
-		'deactivated' => 'Gedeactiveerd', //cpg1.4
-		'reset_password' => 'Reset wachtwoord(en)', //cpg1.4
-		'password_reset' => 'Wachtwoord gereset naar %s', //cpg1.4
-		'change_group' => 'Verander hoofdgroep', //cpg1.4
-		'change_group_to_group' => 'Veranderd van %s naar %s', //cpg1.4
-		'add_group' => 'Voeg secundaire groep toe', //cpg1.4
-		'add_group_to_group' => 'Gebruiker %s toegevoegd aan groep %s. Hij/Zij is nu lid van de primaire groepf %s en van de secundaire groep(en) %s.', //cpg1.4
-		'status' => 'Status', //cpg1.4
-	);
-
-	// ------------------------------------------------------------------------- //
-	// File displayecard.php
-	// ------------------------------------------------------------------------- //
-	
-	if (defined('DISPLAYECARD_PHP')) {
-	
-		$lang_displayecard_php = array(
-		  'invalid_data' => 'De gegevens voor de e-card waar je mee bezig bent is nie geschikt voor de e-mail programma. Controleer of de link goed is ingetikt.',
-		); 
-	
-	}
-
-	// ------------------------------------------------------------------------- //
-	// File displayimage.php
-	// ------------------------------------------------------------------------- //
-	
-	if (defined('DISPLAYIMAGE_PHP')){
-	
-		$lang_display_image_php = array(
-			'confirm_del' => 'Weet je zeker dat je dit bestand wilt VERWIJDEREN ? \\nCommentaar wordt ook verwijderd.',
-			'del_pic' => 'VERWIJDER DIT BESTAND',
-			'size' => '%s x %s pixels',
-			'views' => '%s keer',
-			'slideshow' => 'Diashow',
-			'stop_slideshow' => 'STOP DIASHOW',
-			'view_fs' => 'Klik op de foto om originele grootte te bekijken',
-			'edit_pic' => 'Wijzig omschrijving',  //cpg1.4
-			'crop_pic' => 'Snijden en draaien', 
-			'set_player' => 'Verander `standaard afspeel programma',
-		);
-	
-		$lang_picinfo = array(
-			'title' =>'Bestandsinformatie',
-			'Filename' => 'Bestandsnaam',
-			'Album name' => 'Album naam',
-			'Rating' => 'Populariteit (%s stemmen)',
-			'Keywords' => 'Zoekbegrippen',
-			'File Size' => 'Bestandsgrootte',
-			'Date Added' => 'Datum toegevoegd', //cpg1.4
-			'Dimensions' => 'Afmetingen',
-			'Displayed' => 'Weergegeven',
-			'URL' => 'URL', //cpg1.4
-			'Make' => 'Fabrikant', //cpg1.4
-			'Model' => 'Model', //cpg1.4
-			'DateTime' => 'Datum/Tijd', //cpg1.4
-			'DateTimeOriginal' => 'Datum genomen', //cpg1.4
-			'ISOSpeedRatings'=>'ISO', //cpg1.4
-			'MaxApertureValue' => 'Diafragma', //cpg1.4
-			'FocalLength' => 'Zoom', //cpg1.4
-			'Comment' => 'Commentaar',
-			'addFav'=>'Toevoegen aan favorieten',
-			'addFavPhrase'=>'Favorieten',
-			'remFav'=>'Verwijderen uit favorieten',
-			'iptcTitle'=>'IPTC Titel',
-			'iptcCopyright'=>'IPTC Copyright',
-			'iptcKeywords'=>'IPTC Zoekbegrippen',
-			'iptcCategory'=>'IPTC Catagorie',
-			'iptcSubCategories'=>'IPTC Sub Catagorie',
-			'ColorSpace' => 'Kleur', //cpg1.4
-			'ExposureProgram' => 'Camera Programma', //cpg1.4
-			'Flash' => 'Flits', //cpg1.4
-			'MeteringMode' => 'Focus methode', //cpg1.4
-			'ExposureTime' => 'Belichtindtijd', //cpg1.4
-			'ExposureBiasValue' => 'Belichtingswaarde', //cpg1.4
-			'ImageDescription' => 'Omschrijving', //cpg1.4
-			'Orientation' => 'Oriëntatie', //cpg1.4
-			'xResolution' => 'X Resolutie', //cpg1.4
-			'yResolution' => 'Y Resolutie', //cpg1.4
-			'ResolutionUnit' => 'Resolutie eenheid', //cpg1.4
-			'Software' => 'Software', //cpg1.4
-			'YCbCrPositioning' => 'YCbCr Positie', //cpg1.4
-			'ExifOffset' => 'Exif Offset', //cpg1.4
-			'IFD1Offset' => 'IFD1 Offset', //cpg1.4
-			'FNumber' => 'FNummer', //cpg1.4
-			'ExifVersion' => 'Exif versie', //cpg1.4
-			'DateTimeOriginal' => 'Datum/Tijd orgineel', //cpg1.4
-			'DateTimedigitized' => 'Datum/Tijd opname', //cpg1.4
-			'ComponentsConfiguration' => 'Componenten', //cpg1.4
-			'CompressedBitsPerPixel' => 'Bits per pixel', //cpg1.4
-			'LightSource' => 'Lichtbron', //cpg1.4
-			'ISOSetting' => 'ISO instellingen', //cpg1.4
-			'ColorMode' => 'Kleur methode', //cpg1.4
-			'Quality' => 'Kwaliteit', //cpg1.4
-			'ImageSharpening' => 'Scherpte', //cpg1.4
-			'FocusMode' => 'Focus', //cpg1.4
-			'FlashSetting' => 'Flits instellingen', //cpg1.4
-			'ISOSelection' => 'ISO waarde', //cpg1.4
-			'ImageAdjustment' => 'Aanpassingen', //cpg1.4
-			'Adapter' => 'Adapter', //cpg1.4
-			'ManualFocusDistance' => 'Afstand Handmatige Focus', //cpg1.4
-			'DigitalZoom' => 'Digitale Zoom', //cpg1.4
-			'AFFocusPosition' => 'AF Focus Positie', //cpg1.4
-			'Saturation' => 'Verzadiging', //cpg1.4
-			'NoiseReduction' => 'Noise Reductie', //cpg1.4
-			'FlashPixVersion' => 'Flash Pix Versie', //cpg1.4
-			'ExifImageWidth' => 'Exif Afbeeldings Breedte', //cpg1.4
-			'ExifImageHeight' => 'Exif Afbeeldings Hoogte', //cpg1.4
-			'ExifInteroperabilityOffset' => 'Exif Interoperability Offset', //cpg1.4
-			'FileSource' => 'Bron', //cpg1.4
-			'SceneType' => 'Scene Type', //cpg1.4
-			'CustomerRender' => 'Eigen Rendering', //cpg1.4
-			'ExposureMode' => 'Belichtings Methode', //cpg1.4
-			'WhiteBalance' => 'Witbalans', //cpg1.4
-			'DigitalZoomRatio' => 'Digitale Zoom Ratio', //cpg1.4
-			'SceneCaptureMode' => 'Scene', //cpg1.4
-			'GainControl' => 'Gain Control', //cpg1.4
-			'Contrast' => 'Contrast', //cpg1.4
-			'Saturation' => 'Verzadiging', //cpg1.4
-			'Sharpness' => 'Scherpte', //cpg1.4
-			'ManageExifDisplay' => 'Beheer Exif Display', //cpg1.4
-			'submit' => 'Verzenden', //cpg1.4
-			'success' => 'Informatie opgeslagen.', //cpg1.4
-			'details' => 'Details', //cpg1.4
-		);
-	
-		$lang_display_comments = array(
-			'OK' => 'OK',
-			'edit_title' => 'Wijzig dit commentaar.',
-			'confirm_delete' => 'Weet je zeker dat je dit commentaar wilt verwijderen ?', //js-alert
-			'add_your_comment' => 'Voeg je commentaar toe.',
-			'name'=>'Naam', 
-			'comment'=>'Commentaar', 
-			'your_name' => 'Je naam', 
-			'report_comment_title' => 'Dien een klacht over dit commentaar in bij de beheerder', //cpg1.4
-		);
-	
-		$lang_fullsize_popup = array( 
-			'click_to_close' => 'Klik op de foto om dit venster te sluiten', 
-		);
-	
-	}
-
-	// ------------------------------------------------------------------------- //
-	// File ecard.php
-	// ------------------------------------------------------------------------- //
-	
-	if (defined('ECARDS_PHP') || defined('DISPLAYECARD_PHP')) $lang_ecard_php =array(
-		'title' => 'Stuur een e-card', 
-		'invalid_email' => '<font color="red"><b>Waarschuwing</b></font>: ongeldig e-mailadres:', //cpg1.4
-		'ecard_title' => 'Een e-card van %s voor jou',
-		'error_not_image' => 'Alleen foto\'s kunnen als een e-card verzonden worden.',
-		'view_ecard' => 'Indien de e-card niet juist wordt weergegeven, klik dan op deze link', //cpg1.4
-		'view_ecard_plaintext' => 'To view the ecard, copy and paste this url into your browser\'s address bar:', //cpg1.4
-		'view_more_pics' => 'Klik op deze link om meer foto\'s te bekijken !', //cpg1.4
-		'send_success' => 'Je e-card is verzonden',
-		'send_failed' => 'Sorry, maar de server kan je e-card niet verzenden...',
-		'from' => 'Van',
-		'your_name' => 'Jouw naam',
-		'your_email' => 'Jouw e-mailadres',
-		'to' => 'Aan',
-		'rcpt_name' => 'Naam geadresseerde',
-		'rcpt_email' => 'E-mailadres geadresseerde',
-		'greetings' => 'Onderwerp', //cpg1.4
-		'message' => 'Bericht', //cpg1.4
-		'ecards_footer' => 'Gestuurd door %s vanaf IP adres %s om %s (Gallerij tijd)', //cpg1.4
-		'preview' => 'Voorbeeldweergave van de e-card', //cpg1.4
-		'preview_button' => 'Voorbeeldweergave', //cpg1.4
-		'submit_button' => 'E-card versturen', //cpg1.4
-		'preview_view_ecard' => 'Dit zal een alternatieve link zijn naar de aangemaakte e-card. Deze zal niet werken in de voorbeeldweergave.', //cpg1.4
-	); 
-
-	// ------------------------------------------------------------------------- //
-	// File report_file.php //cpg1.4
-	// ------------------------------------------------------------------------- //
-	
-	if (defined('REPORT_FILE_PHP') || defined('DISPLAYREPORT_PHP')) $lang_report_php =array(
-		'title' => 'Klachten naar beheerder', //cpg1.4
-		'invalid_email' => '<b>Waarschuwing</b> : Ongeldig e-mail adres!', //cpg1.4
-		'report_subject' => 'Een klacht van %s over gallerij %s', //cpg1.4
-		'view_report' => 'Alternatieve link als deze klacht niet goed zichtbaar is', //cpg1.4
-		'view_report_plaintext' => 'Om de klacht te bekijken, knip en plak deze URL in de webbrowser:', //cpg1.4
-		'view_more_pics' => 'Gallerij', //cpg1.4
-		'send_success' => 'Je klacht is verzonden', //cpg1.4
-		'send_failed' => 'Sorry, de server kan je klacht niet verzenden...', //cpg1.4
-		'from' => 'Van', //cpg1.4
-		'your_name' => 'Je naam', //cpg1.4
-		'your_email' => 'Je e-mail adres', //cpg1.4
-		'to' => 'Aan', //cpg1.4
-		'administrator' => 'Beheerder', //cpg1.4
-		'subject' => 'Onderwerp', //cpg1.4
-		'comment_field_name' => 'Klacht over commentaar van "%s"', //cpg1.4
-		'reason' => 'Reden', //cpg1.4
-		'message' => 'Bericht', //cpg1.4
-		'report_footer' => 'Verstuurt door %s van IP adres %s om %s (Gallerij tijd)', //cpg1.4
-		'obscene' => 'obseen', //cpg1.4
-		'offensive' => 'aanstootgevend', //cpg1.4
-		'misplaced' => 'niet relevant/misplaatst', //cpg1.4
-		'missing' => 'niet aanwezig', //cpg1.4
-		'issue' => 'fout/kan afbeelding niet zien', //cpg1.4
-		'other' => 'anders', //cpg1.4
-		'refers_to' => 'Klacht is van toepassing op', //cpg1.4
-		'reasons_list_heading' => 'reden(en) voor de klacht:', //cpg1.4
-		'no_reason_given' => 'geen reden is opgegeven', //cpg1.4
-		'go_comment' => 'Ga naar commentaar', //cpg1.4
-		'view_comment' => 'Laat de volledige  klacht met het commentaar zien', //cpg1.4
-		'type_file' => 'bestand', //cpg1.4
-		'type_comment' => 'commentaar', //cpg1.4
-	);
-
-	// ------------------------------------------------------------------------- //
-	// File editpics.php
-	// ------------------------------------------------------------------------- //
-	
-	if (defined('EDITPICS_PHP')) $lang_editpics_php = array(
-		'pic_info' => 'Bestands&nbsp;info',
-		'album' => 'Album',
-		'title' => 'Titel', 
-		'filename' => 'Filename', //cpg1.4
-		'desc' => 'Omschrijving',
-		'keywords' => 'Zoekbegrip', 
-		'new_keyword' => 'Nieuw zoekbegrip', //cpg1.4
-		'new_keywords' => 'Geen zoekbegrippen gevonden', //cpg1.4
-		'existing_keyword' => 'Bestaand zoekbegrip', //cpg1.4
-		'pic_info_str' => '%s×%s - %sKB - %s bekeken - %s stemmen',
-		'approve' => 'Laat bestand toe',
-		'postpone_app' => 'Stel toelating uit',
-		'del_pic' => 'Verwijder bestand', 
-		'del_all' => 'Verwijder ALLE bestanden', //cpg1.4
-		'read_exif' => 'Lees EXIF-info opnieuw',
-		'reset_view_count' => 'Reset bekeken teller', 
-		'reset_all_view_count' => 'Reset ALLE tellers', //cpg1.4
-		'reset_votes' => 'Reset stemmen', 
-		'reset_all_votes' => 'Reset ALLE stemmen', //cpg1.4
-		'del_comm' => 'verwijder commentaar', 
-		'del_all_comm' => 'Verwijder ALLE commentaarregels', //cpg1.4
-		'upl_approval' => 'Upload-toestemming', //cpg1.4
-		'edit_pics' => 'Wijzig bestanden',
-		'see_next' => 'Bekijk volgend bestand',
-		'see_prev' => 'Bekijk vorig bestand',
-		'n_pic' => '%s bestanden',
-		'n_of_pic_to_disp' => 'Aantal te tonen bestanden',
-		'apply' => 'Pas wijzigingen toe',
-		'crop_title' => 'Coppermine Foto Editor',
-		'preview' => 'Voorbeeld',
-		'save' => 'Bewaar foto',
-		'save_thumb' =>'Bewaar als verkleinde afbeelding',
-		'gallery_icon' => 'Maak deze mijn icoon', //cpg1.4
-		'sel_on_img' =>'De selectie moet geheel op de afbeelding liggen!', //js-alert
-		'album_properties' =>'Album instellingen', //cpg1.4
-		'parent_category' =>'Hoofd catagorie', //cpg1.4
-		'thumbnail_view' =>'Thumbnail weergave', //cpg1.4
-		'select_unselect' =>'selecteer/deselecteer alles', //cpg1.4
-		'file_exists' => 'Doelbestand \'%s\' bestaat al.', //cpg1.4
-		'rename_failed' => 'Het is niet gelukt om \'%s\' te hernoemen naar \'%s\'.', //cpg1.4
-		'src_file_missing' => 'Bron bestand \'%s\' bestaat niet.', //cpg1.4
-		'mime_conv' => 'Kan bestand \'%s\' niet converteren naar \'%s\'', //cpg1.4
-		'forb_ext' => 'Verboden bestandstype.', //cpg1.4
-	);
-
-	// ------------------------------------------------------------------------- //
-	// File faq.php
-	// ------------------------------------------------------------------------- //
-	
-	if (defined('FAQ_PHP')) $lang_faq_php = array(
-		'faq' => 'Veel gestelde vragen',
-		'toc' => 'Inhoudsopgave',
-		'question' => 'Vraag: ',
-		'answer' => 'Antwoord: ',
-	);
-	
-	if (defined('FAQ_PHP')) $lang_faq_data = array(
-		'Veel gestelde vragen - algemeen',
-		array('Waarom moet ik registreren?', 'Registratie kan wel of niet worden vereist door de beheerder van de site. Registratie geeft een gebruiker toegevoegde mogelijkheden zoals uploaden, het hebben van een favorietenlijst, waardering van foto\'s en het plaatsen van commentaar etc.', 'allow_user_registration', '0'),
-		array('Hoe kan ik registreren?', 'Ga naar &quot;Registreer&quot; en vul de vereiste velden in (en als je wilt de optionele).<br/>Als de beheerder e-mailaanmelding heeft geactiveerd, zul je nadat je de informatie hebt verzonden, een e-mailbevestiging ontvangen op het adres dat je hebt opgegeven tijdens het registreren, met daarin instructies hoe je je lidmaatschap moet activeren. Je lidmaatschap moet geactiveerd zijn om in te kunnen loggen.', 'allow_user_registration', '1'),
-		array('Hoe log ik in?', 'Ga naar &quot;Login&quot;, geef je gebruikersnaam en wachtwoord en selecteer &quot;Onthoud mij&quot; zodat je de volgende keer weer ingelogd wordt op de site als je terugkeert nadat je het verlaten hebt.<br/><b>BELANGRIJK: Cookies moeten worden toegelaten en de cookie van deze site mag niet worden verwijderd om de optie &quot;Onthoud mij&quot; te kunnen gebruiken.</b>', 'offline', 0),
-		array('Waarom kan ik niet inloggen?', 'Heb je je geregistreerd en heb de link aangeklikt die je is toegezonden via e-mail?. Deze aangeklikte link zal je account activeren. Voor andere inlogproblemen, neem contact op met de beheerder van deze site.', 'offline', 0),
-		array('Wat gebeurt er als ik mijn wachtwoord vergeten ben?', 'Indien deze site de &quot;Wachtwoord vergeten&quot; link heeft, gebruik het dan. In alle andere gevallen, neem contact op met de beheerder van deze site voor een nieuw wachtwoord.', 'offline', 0),
-		//array('Wat gebeurt er als ik mijn e-mailadres verander?', 'Eenvoudig inloggen en verander je e-mailadres via &quot;Profiel&quot;', 'offline', 0),
-		array('Hoe bewaar ik een foto in &quot;Mijn favorieten&quot;?', 'Klik op een foto en klik dan op de &quot;foto-info&quot; link (<img src="images/info.gif" width="16" height="16" border="0" alt="Foto-informatie" />); scroll naar de onderzijde van de pagina naar &quot;Bestandsinformatie&quot; en klik op &quot;Voeg toe aan favorieten&quot;.<br/>De beheerder kan deze &quot;Bestandsinformatie&quot; standaard aan hebben staan.<br/>BELANGRIJK: Cookies moeten toegelaten worden en de cookie van deze site mag niet worden verwijderd.', 'offline', 0),
-		array('Hoe beoordeel ik een bestand?', 'Klik op een verkleinde afbeelding en ga naar de onderzijde van de pagina en kies een beoordeling.', 'offline', 0),
-		array('Hoe plaats ik een commentaar voor een foto?', 'Klik op een verkleinde afbeelding en ga naar de onderzijde van de pagina en plaats een commentaar.', 'offline', 0),
-		array('Hoe upload ik een bestand?', 'Ga naar &quot;Upload bestand&quot; en selecteer het album waar je je bestand naar wilt uploaden, klik op &quot;Browse&quot; en ga naar het bestand dat je wilt uploaden en klik op &quot;open&quot; (voeg als je wilt een titel en beschrijving toe) en klik op &quot;Verzend&quot;', 'allow_private_albums', 0),
-		array('Waar upload ik een foto naar toe?', 'Je zult in staat zijn een foto te uploaden naar één van je albums in &quot;Mijn Galerij&quot;. De beheerder kan je ook toestaan om te uploaden naar één of meer albums in de hoofdgalerij.', 'allow_private_albums', 0),
-		array('Welk bestandstype en grootte kan ik uploaden?', 'De grootte en het bestandstype (jpg,gif,..etc.) worden bepaald door de beheerder.', 'offline', 0),
-		array('Hoe creëer, hernoem en verwijder ik een album in &quot;Mijn Galerij&quot;?', 'Je moet eerst in &quot;Beheerder-modus&quot; zijn<br/>Ga vervolgens naar &quot;Creëer/Sorteer mijn albums&quot; en klik &quot;Nieuw&quot;. Verander &quot;Nieuw Album&quot; naar de door jou gewenste naam.<br/>Je kunt ook elk ander album in je galerij hernoemen.<br/>Klik &quot;Pas aanpassingen toe&quot;.', 'allow_private_albums', 0),
-		array('Hoe pas ik aan en beperk ik gebruikers in het bekijken van mijn albums?', 'Je moet eerst in &quot;Beheerder-modus&quot; zijn<br/>Ga vervolgens naar &quot;Pas mijn albums aan&quot;. Op de &quot;Aanpassen Album&quot; bar, kies het album dat je wilt aanpassen.<br/>Hier kun je de naam, de omschrijving, de verkleinde afbeelding, de beperking in het bekijken en commentaar/beoordelingspermissie aanpassen.<br/>Klik op &quot;Aanpassen album&quot;.', 'allow_private_albums', 0),
-		array('Hoe kan ik gebruikersgalerijen bekijken van andere gebruikers?', 'Ga naar &quot;Albumlijst&quot; en kies &quot;Gebruikersgalerijen&quot;.', 'allow_private_albums', 0),
-		array('Wat zijn cookies?', 'Cookies zijn tekstbestanden met data die door een website worden verzonden en op je computer worden geplaatst.<br/>Cookies laten een gebruiker gewoonlijk toe een site te verlaten en weer terug te keren zonder weer opnieuw te hoeven in te loggen en andere verschillende zaken.', 'offline', 0),
-		array('Waar kan ik dit programma krijgen voor mijn site?', 'Coppermine is een vrije Multimedia Galerij, uitgegeven onder GNU GPL. Het zit vol met mogelijkheden en is geschikt gemaakt voor verschillende platformen. Bezoek de <a href="http://coppermine-gallery.net/">Coppermine Home Page</a> om meer te weten te komen of het te downloaden.', 'offline', 0),
-	
-		'Navigeren binnen de site',
-		array('Wat is &quot;Albumlijst&quot;?', 'Deze optie toont je de complete galerij met een link naar iedere categorie. Verkleinde afbeeldingen kunnen ook een link zijn naar een categorie.', 'offline', 0),
-		array('Wat is &quot;Mijn Galerij&quot;?', 'Deze optie laat een gebruiker de mogelijkheid zijn of haar eigen galerij te creëren en hier albums aan toe te voegen, te verwijderen of aan te passen en eveneens bestanden naar te uploaden.', 'allow_private_albums', 0),
-		array('Wat is het verschil tussen &quot;Beheerder-modus&quot; en &quot;Gebruiker-modus&quot;?', 'Deze optie, wanneer deze is ingesteld op Beheerder-modus, stelt de gebruiker in staat zijn eigen galerij aan te passen (en eveneens die van anderen indien de beheerder dit toegelaten heeft).', 'allow_private_albums', 0),
-		array('Wat is &quot;Upload bestand&quot;?', 'Deze optie stelt de gebruiker in staat een bestand te uploaden (grootte en type wordt bepaald door de beheerder van de site) naar een door jou of de door de beheerder geselecteerde galerij.', 'allow_private_albums', 0),
-		array('Wat is &quot;Laatste uploads&quot;?', 'Deze optie toont de laatste uploads die naar de site zijn gezonden.', 'offline', 0),
-		array('Wat is &quot;Laatste commentaar&quot;?', 'Deze optie toont de laatste commentaren samen met de foto die door gebruikers zijn geplaatst.', 'offline', 0),
-		array('Wat is &quot;Meest bekeken&quot;?', 'Deze optie toont de meest bekeken foto\'s door alle bezoekers (ingelogd of niet).', 'offline', 0),
-		array('Wat is &quot;Best beoordeeld&quot;?', 'Deze optie laat de door bezoekers best beoordeelde foto\'s zien in een gemiddelde beoordeling (bv: vijf gaven ieder een <img src="images/rating3.gif" width="65" height="14" border="0" alt="" />: de foto zal dan een gemiddelde beoordeling krijgen van <img src="images/rating3.gif" width="65" height="14" border="0" alt="" /> ;Vijf gebruikers beoordeelden de foto van 1 tot 5 (1,2,3,4,5) zal resulteren in een gemiddelde van <img src="images/rating3.gif" width="65" height="14" border="0" alt="" /> .)<br/>De beoordelingen gaan van <img src="images/rating5.gif" width="65" height="14" border="0" alt="beste" /> (beste) tot <img src="images/rating0.gif" width="65" height="14" border="0" alt="slechtste" /> (slechtste).', 'offline', 0),
-		array('Wat is &quot;Mijn favorieten&quot;?', 'Deze optie geeft de gebruiker de mogelijkheid om hun favoriete foto in een cookie op te slaan, die vervolgens naar je computer wordt gezonden.', 'offline', 0),
-	);
-
-	// ------------------------------------------------------------------------- //
-	// File forgot_passwd.php
-	// ------------------------------------------------------------------------- //
-	
-	if (defined('FORGOT_PASSWD_PHP')) $lang_forgot_passwd_php = array(
-		'forgot_passwd' => 'Wachtwoordherinnering',
-		'err_already_logged_in' => 'Je bent al ingelogd !', 
-		'enter_email' => 'Geef je e-mail adres',
-		'submit' => 'gaan',
-		'failed_sending_email' => 'De wachtwoordherinnerings-e-mail kan niet verzonden worden !',
-		'email_sent' => 'Een e-mail met je gebruikersnaam en wachtwoord is verzonden aan %s',
-		'err_unk_user' => 'Geselecteerde gebruiker bestaat niet!',
-		'passwd_reminder_subject' => '%s - Wachtwoordherinnering',
-		'passwd_reminder_body' => 'Je hebt verzocht, herinnerd te willen worden over je login-gegevens:
-Gebruikernaam: %s
-Wachtwoord   : %s
-Klik %s om in te loggen.',
-	);
-
-	// ------------------------------------------------------------------------- //
-	// File groupmgr.php
-	// ------------------------------------------------------------------------- //
-	
-	if (defined('GROUPMGR_PHP')) $lang_groupmgr_php = array( 
-		'group_name' => 'Groepen', //cpg1.4
-		'permissions' => 'Rechten', //cpg1.4
-		'public_albums' => 'Openbaar album uploaden', //cpg1.4
-		'personal_gallery' => 'Persoonlijke gallerij', //cpg1.4
-		'upload_method' => 'Upload methode', //cpg1.4
-		'disk_quota' => 'Quota', //cpg1.4
-		'rating' => 'Stemmen', //cpg1.4
-		'ecards' => 'E-cards', //cpg1.4
-		'comments' => 'Commentaar', //cpg1.4
-		'allowed' => 'Toegestaan', //cpg1.4
-		'approval' => 'Akkoord', //cpg1.4
-		'boxes_number' => 'Aantal boxen', //cpg1.4
-		'variable' => 'Meerdere', //cpg1.4
-		'fixed' => 'Aangepast', //cpg1.4
-		'apply' => 'Bewaar wijzigingen', //cpg1.4
-		'create_new_group' => 'Maak nieuwe groep aan',
-		'del_groups' => 'Verwijder de geselecteerde groep(en)',
-		'confirm_del' => 'waarschuwing: als je een groep verwijderd, zullen de gebruikers die horen bij die groep worden overgezet naar de \'Registered\' groep !\n\nWil je doorgaan ?', //js-alert
-		'title' => 'Beheer gebruikersgroepen',
-		'num_file_upload' => 'Bestand upload boxen', //cpg1.4
-		'num_URI_upload' => 'URI upload boxes', //cpg1.4
-		'reset_to_default' => 'Ze terug naar de standaard naam (%s) - aanbevolen!', //cpg1.4
-		'error_group_empty' => 'Groep tabel was leeg !<br/><br/>Standard groepen aangemaakt, vernieuw deze pagina om deze zichtbaar te maken', //cpg1.4
-		'explain_greyed_out_title' => 'Waarom is deze rij grijs?', //cpg1.4
-		'explain_guests_greyed_out_text' => 'Ja kan de eigenschappen van deze groep niet aanpassen omdat je de instelling &quot; Sta niet ingelogde gebruikers toe (gasten of anoniem) op &quot;Nee&quot; hebt staan. Alle gasten (leden van de groep %s) kunnen alles doen behalve inloogen; daarom zijn deze instellingen bij hen niet van toepassing.', //cpg1.4
-		'explain_banned_greyed_out_text' => 'Je kan de eigenschappen van de groep %s niet aanpassen, omdat de leden er toch niets kunnen doen.', //cpg1.4
-		'group_assigned_album' => 'toegewezen album(s)', //cpg1.4
-	);
-
-	// ------------------------------------------------------------------------- //
-	// File index.php
-	// ------------------------------------------------------------------------- //
-	
-	if (defined('INDEX_PHP')){
-	
-		$lang_index_php = array(
-			'welcome' => 'Welkom !',
-		);
-	
-		$lang_album_admin_menu = array(
-			'confirm_delete' => 'Weet je zeker dat je dit album wilt VERWIJDEREN ? \\nAlle foto\\\'s en commentaren worden ook verwijderd.', //js-alert
-			'delete' => 'WISSEN',
-			'modify' => 'EIGENSCHAPPEN',
-			'edit_pics' => 'WIJZIGEN',
-		);
-	
-		$lang_list_categories = array(
-			'home' => 'Beginpagina',
-			'stat1' => '<b>[pictures]</b> bestanden in <b>[albums]</b> albums en <b>[cat]</b> categorieën met <b>[comments]</b> commentaren en <b>[views]</b> keer bekeken',
-			'stat2' => '<b>[pictures]</b> bestanden in <b>[albums]</b> albums en <b>[views]</b> keer bekeken',
-			'xx_s_gallery' => '%s\'s Galerij',
-			'stat3' => '<b>[pictures]</b> bestanden in <b>[albums]</b> albums met <b>[comments]</b> commentaren en <b>[views]</b> keer bekeken',
-		);
-	
-		$lang_list_users = array(
-			'user_list' => 'Gebruikerslijst',
-			'no_user_gal' => 'Er zijn geen gebruikersgalerijen.',
-			'n_albums' => '%s album(s)',
-			'n_pics' => '%s bestand(en)',
-		);
-	
-		$lang_list_albums = array(
-			'n_pictures' => '%s bestanden',
-			'last_added' => ', laatste toegevoegd op %s', 
-			'n_link_pictures' => '%s gelinkte bestanden', //cpg1.4
-			'total_pictures' => '%s totaal aantal bestanden', //cpg1.4
-		);
-	
-	} 
-
-	// ------------------------------------------------------------------------- //
-	// File keywordmgr.php //cpg1.4
-	// ------------------------------------------------------------------------- //
-	
-	if (defined('KEYWORDMGR_PHP')) $lang_keywordmgr_php = array(
-		'title' => 'Beheer zoekbegrippen', //cpg1.4
-		'edit' => 'wijzig', //cpg1.4
-		'delete' => 'verwijder', //cpg1.4
-		'search' => 'zoek', //cpg1.4
-		'keyword_test_search' => 'zoeken naar %s in een nieuw venster', //cpg1.4
-		'keyword_del' => 'verwijder zoekbegrip %s', //cpg1.4
-		'confirm_delete' => 'Weet je zeker dat je het zoekbegrip %s wilt verwijderen van de hele gallerij?',  // js-alert
-		'change_keyword' => 'wijzig zoekbegrip', //cpg1.4
-	);
-
-	// ------------------------------------------------------------------------- //
-	// File login.php
-	// ------------------------------------------------------------------------- //
-	
-	if (defined('LOGIN_PHP')) $lang_login_php = array(
-		'login' => 'Login',
-		'enter_login_pswd' => 'Voer je gebruikersnaam en wachtwoord in om in te loggen',
-		'username' => 'Gebruikersnaam',
-		'password' => 'Wachtwoord',
-		'remember_me' => 'Onthoud mij',
-		'welcome' => 'Welkom %s ...',
-		'err_login' => '*** Kan niet inloggen. Probeer het nogmaals ***',
-		'err_already_logged_in' => 'Je bent al ingelogd !',
-		'forgot_password_link' => 'Wachtwoord vergeten', 
-		'cookie_warning' => 'Waarschuwing: je browser ondersteund geen cookies', //cpg1.4
-	);
-
-	// ------------------------------------------------------------------------- //
-	// File logout.php
-	// ------------------------------------------------------------------------- //
-	
-	if (defined('LOGOUT_PHP')) $lang_logout_php = array(
-		'logout' => 'Uitloggen',
-		'bye' => 'Tot ziens %s ...',
-		'err_not_loged_in' => 'Je bent niet ingelogd !',
-	);
-
-	// ------------------------------------------------------------------------- //
-	// File minibrowser.php  //cpg1.4
-	// ------------------------------------------------------------------------- //
-	
-	if (defined('MINIBROWSER_PHP')) $lang_minibrowser_php = array(
-		'close' => 'sluiten', //cpg1.4
-		'submit' => 'OK', //cpg1.4
-		'up' => 'een niveau omhoog', //cpg1.4
-		'current_path' => 'huidig pad', //cpg1.4
-		'select_directory' => 'selecteer een nieuwe directory', //cpg1.4
-		'click_to_close' => 'Klik op de afbeelding om het venster te sluiten', //cpg1.4
-	);
-
-	// ------------------------------------------------------------------------- //
-	// File modifyalb.php
-	// ------------------------------------------------------------------------- //
-	
-	if (defined('MODIFYALB_PHP')) $lang_modifyalb_php = array(
-		'upd_alb_n' => 'Pas album %s aan',
-		'general_settings' => 'Algemene instellingen',
-		'alb_title' => 'Albumtitel',
-		'alb_cat' => 'Albumcategorie',
-		'alb_desc' => 'Albumomschrijving', 
-		'alb_keyword' => 'Album zoekbegrip', //cpg1.4
-		'alb_thumb' => 'Album verkleinde afbeelding',
-		'alb_perm' => 'Permissies voor dit album',
-		'can_view' => 'Album kan bekeken worden door',
-		'can_upload' => 'Bezoekers kunnen bestanden uploaden',
-		'can_post_comments' => 'Bezoekers kunnen commentaar posten',
-		'can_rate' => 'Gebruiker kan bestanden beoordelen',
-		'user_gal' => 'Gebruikersgalerij',
-		'no_cat' => '* geen categorie *',
-		'alb_empty' => 'Album is leeg',
-		'last_uploaded' => 'Laatste upload',
-		'public_alb' => 'Iedereen (publiek album)',
-		'me_only' => 'Alleen ik',
-		'owner_only' => 'Alleen albumeigenaar (%s)',
-		'groupp_only' => 'Leden van de \'%s\' groep',
-		'err_no_alb_to_modify' => 'Geen album die je kunt aanpassen in de database.',
-		'update' => 'Pas album aan',
-		'reset_album' => 'Reset album', //cpg1.4
-		'reset_views' => 'Reset bekenen teller naar &quot;0&quot; voor %s', //cpg1.4
-		'reset_rating' => 'Reset stemmen van alle bestanden voor %s', //cpg1.4
-		'delete_comments' => 'Verwijder alle commentaarregels gemaakt in %s', //cpg1.4
-		'delete_files' => '%sIrreversibly%s verwijder alle bestanden in %s', //cpg1.4
-		'views' => 'bekeken', //cpg1.4
-		'votes' => 'stemmen', //cpg1.4
-		'comments' => 'commentaar', //cpg1.4
-		'files' => 'bestanden', //cpg1.4
-		'submit_reset' => 'verstuur wijzigingen', //cpg1.4
-		'reset_views_confirm' => 'Ik weet het zeker', //cpg1.4
-		'notice1' => '(*) afhankelijk van de %sgroups%s instellingen',  //cpg1.4
-		'alb_password' => 'Album wachtwoord', //cpg1.4
-		'alb_password_hint' => 'Album wachtwoord suggestie', //cpg1.4
-		'edit_files' =>'Wijzig bestanden', //cpg1.4
-		'parent_category' =>'Hoofd categorie', //cpg1.4
-		'thumbnail_view' =>'Thumbnails', //cpg1.4
-	); 
-
-	// ------------------------------------------------------------------------- //
-	// File phpinfo.php
-	// ------------------------------------------------------------------------- //
-	
-	if (defined('PHPINFO_PHP')) $lang_phpinfo_php = array(
-		'php_info' => 'PHP info',
-		'explanation' => 'Dit is de uitvoer gegenereerd door de PHP-functie <a href="http://www.php.net/phpinfo">phpinfo()</a>, getoond binnen Coppermine (de uitvoer is weergegeven aan de rechter kant).',
-		'no_link' => 'Het laten zien van je phpinfo kan een veiligheidsrisico betekenen, daarom is deze pagina alleen maar zichtbaar wanneer je ingelogd bent als beheerder. Je kunt geen link publiceren naar deze pagina aan anderen, hen wordt de toegang geweigerd.',
-	); 
-
-	// ------------------------------------------------------------------------- //
-	// File picmgr.php //cpg1.4
-	// ------------------------------------------------------------------------- //
-	if (defined('PICMGR_PHP')) $lang_picmgr_php = array(
-		'pic_mgr' => 'Afbeeldingsbeheer', //cpg1.4
-		'select_album' => 'Kies een Album', //cpg1.4
-		'delete' => 'Verwijder', //cpg1.4
-		'confirm_delete1' => 'Weer je zeker dat je deze afbeelding wilt vewijderen?', //cpg1.4
-		'confirm_delete2' => '\nDe afbeelding zal definitief worden verwijderd.', //cpg1.4
-		'apply_modifs' => 'Doorvoeren wijzigingen', //cpg1.4
-		'confirm_modifs' => 'Bevestig wijzigingen', //cpg1.4
-		'pic_need_name' => 'De afbeelding moet een naam hebben!', //cpg1.4
-		'no_change' => 'Je hebt geen enkele wijziging doorgevoerd!', //cpg1.4
-		'no_album' => '* Geen album *', //cpg1.4
-		'explanation_header' => 'De eigen sorteervolgorde op deze pagina zal alleen worden gebruikt indien', //cpg1.4
-		'explanation1' => 'de beheerder heeft ingesteld dat de "Standaard sorteervolgorder voor bestanden" in de instellingen is gezet op "Positie oplopend" of "Positie aflopend" (algemene instelling voor alle gebruikers die geen andere sortering hebben ingesteld)', //cpg1.4
-		'explanation2' => 'de gebruiker heeft gekozen voor "Positie oplopend" of "Positie aflopend" op the thumbnails pagina (gebruikersinstelling)', //cpg1.4
-	);
-
-	// ------------------------------------------------------------------------- //
-	// File pluginmgr.php //cpg1.4
-	// ------------------------------------------------------------------------- //
-	
-	if (defined('PLUGINMGR_PHP')){
-	
-		$lang_pluginmgr_php = array(
-			'confirm_uninstall' => 'Weet je zeker dat je deze plugin wilt DEINSTALLEREN', //cpg1.4
-			'confirm_delete' => 'Weet je zeker dat je deze plugin wilt VERWIJDEREN', //cpg1.4
-			'pmgr' => 'Plugin beheer', //cpg1.4
-			'name' => 'Naam', //cpg1.4
-			'author' => 'Programmeur', //cpg1.4
-			'desc' => 'Omschrijving', //cpg1.4
-			'vers' => 'v', //cpg1.4
-			'i_plugins' => 'Geïnstalleerde Plugins', //cpg1.4
-			'n_plugins' => 'Niet geïnstalleerde Plugins', //cpg1.4
-			'none_installed' => 'Geen enkele plugin geïnstalleerd', //cpg1.4
-			'operation' => 'operation', //cpg1.4
-			'not_plugin_package' => 'Het geuploade bestand is geen plugin voor Coppermine.', //cpg1.4
-			'copy_error' => 'Er is een fout opgetreden met het kopiëren van het bestand naar de plugins directory.', //cpg1.4
-			'upload' => 'Upload', //cpg1.4
-			'configure_plugin' => 'Stel plugin in', //cpg1.4
-			'cleanup_plugin' => 'Opschonen plugin', //cpg1.4
-		);
-	}
-
-	// ------------------------------------------------------------------------- //
-	// File ratepic.php
-	// ------------------------------------------------------------------------- //
-	
-	if (defined('RATEPIC_PHP')) $lang_rate_pic_php = array(
-		'already_rated' => 'Sorry, maar je hebt dit bestand al beoordeeld',
-		'rate_ok' => 'Je stem is geaccepteerd',
-		'forbidden' => 'Je kunt je eigen bestanden niet beoordelen.',
-	);
-
-	// ------------------------------------------------------------------------- //
-	// File register.php & profile.php
-	// ------------------------------------------------------------------------- //
-	
-	if (defined('REGISTER_PHP') || defined('PROFILE_PHP')) { 
-
-$lang_register_disclamer = <<<EOT
-Hoewel de beheerder van {SITE_NAME} zal proberen al het aanstootgevende materiaal op de site zo snel mogelijk te verwijderen, is het echter onmogelijk elk bestand te bekijken. Daarom ga je er mee akkoord, dat alle op deze site geuploade bestanden en weergegeven commentaren de gezichtspunten en opinies zijn van de respectievelijke auteurs en niet van de beheerder of webmaster (behalve hun eigen postings) en deze zullen daarvoor niet aansprakelijk gesteld kunnen worden.<br/>
-<br/>
-Je gaat er mee akkoord geen aanstootgevend, obsceen, vulgair, hatelijk, bedreigend, seksueel-getint materiaal of welk ander materiaal dan ook op deze site te plaatsen, dat enige van toepassing zijnde wet overtreedt. Je gaat er mee akkoord dat de webmaster, beheerder en  moderators van {SITE_NAME} het recht hebben elke inhoud te verwijderen en of te wijzigen wanneer zij dat nodig achten. Als gebruiker ga je er mee akkoord, dat alle data die je hebt verstrekt in een database worden bewaard. Hoewel deze informatie niet openbaar gemaakt wordt aan derden zonder jouw toestemming, ga je akkoord met het feit dat de webmaster en de beheerder niet verantwoordelijk gehouden kunnen worden voor welke hack-poging dan ook, dat kan lijden tot het openbaar worden van de database.<br/>
-<br/>
-Deze site gebruikt cookies om informatie te bewaren op je lokale computer. Deze cookies dienen er voor jouw kijkgemak en plezier aan de site te verhogen. Het e-mailadres wordt alleen gebruikt om jouw registratiedetails en wachtwoord te bevestigen.<br/>
-<br/>
-Door op 'Ik ga akkoord' hieronder te klikken , verklaar je je akkoord en ben je gebonden aan de hiervoor weergegeven condities.
-EOT;
-	
-		$lang_register_php = array(
-			'page_title' => 'Gebruikers registratie',
-			'term_cond' => 'Gebruikersvoorwaarden',
-			'i_agree' => 'Ik ga akkoord',
-			'submit' => 'Verstuur registratie',
-			'err_user_exists' => 'De ingevoerde gebruikersnaam bestaat al, kies een andere naam',
-			'err_password_mismatch' => 'De twee ingevoerde wachtwoorden zijn niet gelijk aan elkaar, geef ze nogmaals in',
-			'err_uname_short' => 'Een gebruikersnaam moet uit minimaal 2 tekens bestaan',
-			'err_password_short' => 'Een wachtwoord moet uit minimaal 2 tekens bestaan',
-			'err_uname_pass_diff' => 'De gebruikersnaam en het wachtwoord mogen niet hetzelfde zijn',
-			'err_invalid_email' => 'Het gebruikte E-mail is ongeldig',
-			'err_duplicate_email' => 'Een andere gebruiker heeft dit e-mail adres al een keer gebruikt',
-			'enter_info' => 'Voer registratiegegevens in',
-			'required_info' => 'Verplichte velden',
-			'optional_info' => 'Optionele velden',
-			'username' => 'Gebruikersnaam',
-			'password' => 'Wachtwoord',
-			'password_again' => 'Nogmaals het wachtwoord',
-			'email' => 'E-mail',
-			'location' => 'Plaats',
-			'interests' => 'Hobby\'s',
-			'website' => 'Home page',
-			'occupation' => 'Beroep',
-			'error' => 'FOUT',
-			'confirm_email_subject' => '%s - Registratie bevestiging',
-			'information' => 'Informatie',
-			'failed_sending_email' => 'De registratie bevestiging kan niet worden ge-e-maild!',
-			'thank_you' => 'Bedankt voor de registratie.<br/><br/>Je zult een e-mail zal ontvangen met daarin de instructies hoe je je gebruikersnaam kunt activeren.',
-			'acct_created' => 'Je gebruikersnaam is geregistreerd en je kunt met de opgegeven naam en wachtwoord inloggen',
-			'acct_active' => 'Je gebruikersnaam is nu geactiveerd en je kunt met de opgegeven naam en wachtwoord inloggen',
-			'acct_already_act' => 'De gebruikersnaam is al geactiveerd!', //cpg1.4
-			'acct_act_failed' => 'Deze gebruikersnaam kan niet worden geactiveerd!',
-			'err_unk_user' => 'De geselcteerde gebruiker bestaat niet!',
-			'x_s_profile' => '%s\'s profiel',
-			'group' => 'Groep',
-			'reg_date' => 'Aangemeld',
-			'disk_usage' => 'Disk gebruik',
-			'change_pass' => 'Verander wachtwoord',
-			'current_pass' => 'Huidig wachtwoord',
-			'new_pass' => 'Nieuw wacthwoord',
-			'new_pass_again' => 'Nogmaal nieuw wachtwoord',
-			'err_curr_pass' => 'Huidige wachtwoord is niet juist',
-			'apply_modif' => 'Toepassen wijzigingen',
-			'change_pass' => 'Verander mijn wachtwoord',
-			'update_success' => 'Je profiel is aangepast',
-			'pass_chg_success' => 'Je wachtwoord is gewijzigd',
-			'pass_chg_error' => 'Je wachtwoord is niet gewijzigd',
-			'notify_admin_email_subject' => '%s - Registratie bevestiging',
-			'last_uploads' => 'Laast geupload bestand.<br/>Klik om alle bestanden te zien die zijn geupload door', //cpg1.4
-			'last_comments' => 'Laatste commentaar.<br/>Klik om alle commentaarregels te zien die zijn gedaan door', //cpg1.4
-			'notify_admin_email_body' => 'Een nieuwe gebruiker met gebruikersnaam \'%s\' heeft zichzelf voor je gallerij geregistreerd', //cpg1.4
-			'pic_count' => 'Bestanden geupload', //cpg1.4
-			'notify_admin_request_email_subject' => '%s - Registratie verzoek', //cpg1.4
-			'thank_you_admin_activation' => 'Bedankt.<br/><br/>Je verzoek tot toegang is verzonden aan de beheerder. Zo snel als je gebruikersnaam is geaccepteerd ontvang je een e-mail.', //cpg1.4
-			'acct_active_admin_activation' => 'De gebruikersnaam is nu geactiveerd en de gebruiker krijgt daarvan een bevestiging over de e-mail.', //cpg1.4
-			'notify_user_email_subject' => '%s - Activatie bevestiging', //cpg1.4
-		); 
-
-$lang_register_confirm_email = <<<EOT
-Dank je voor het registreren bij {SITE_NAME}
-
-Om je account "{USER_NAME}" te kunnen activeren moet je op de link hieronder klikken of kopieer en plak het in je webbrowser.
-
-<a href="{ACT_LINK}">{ACT_LINK}</a>
-
-Hartelijke groet, 
-
-De beheerder van {SITE_NAME}
-
-EOT;
-
-$lang_register_approve_email = <<<EOT
-Een nieuwe gebruiker met de gebruikersnaam "{USER_NAME}" heeft zich geregistreerd in jouw gallerij.
-
-Om je account te kunnen activeren moet je op de link hieronder klikken of kopieer en plak het in je webbrowser.
-
-<a href="{ACT_LINK}">{ACT_LINK}</a>
-
-EOT;
-
-$lang_register_activated_email = <<<EOT
-Je account is geaccepteerd en geactiveerd.
-
-Je kan nu inloggen op <a href="{SITE_LINK}">{SITE_LINK}</a> met de gebruikersnaam "{USER_NAME}"
-
-
-Hartelijke groet, 
-
-De beheerder van {SITE_NAME}
-
-EOT;
-	
-	} 
-
-	// ------------------------------------------------------------------------- //
-	// File reviewcom.php
-	// ------------------------------------------------------------------------- //
-	
-	if (defined('REVIEWCOM_PHP')) $lang_reviewcom_php = array(
-		'title' => 'Bekijk commentaar',
-		'no_comment' => 'Er is geen commentaar te bekijken',
-		'n_comm_del' => '%s commentaren verwijderd',
-		'n_comm_disp' => 'Aantal commentaren',
-		'see_prev' => 'Bekijk voorgaande',
-		'see_next' => 'Bekijk volgende',
-		'del_comm' => 'Verwijder geselecteerd commentaar', 
-		'user_name' => 'Naam', //cpg1.4
-		'date' => 'Datum', //cpg1.4
-		'comment' => 'Commentaar', //cpg1.4
-		'file' => 'Bestand', //cpg1.4
-		'name_a' => 'Gebruikersnaam oplopend', //cpg1.4
-		'name_d' => 'Gebruikersnaam aflopend', //cpg1.4
-		'date_a' => 'Datum oplopend', //cpg1.4
-		'date_d' => 'Datum aflopend', //cpg1.4
-		'comment_a' => 'Commentaar oplopend', //cpg1.4
-		'comment_d' => 'Commentaar aflopend', //cpg1.4
-		'file_a' => 'Bestand oplopend', //cpg1.4
-		'file_d' => 'Bestand aflopend', //cpg1.4
-	);
-	
-	// ------------------------------------------------------------------------- //
-	// File search.php  //cpg1.4
-	// ------------------------------------------------------------------------- //
-	
-	if (defined('SEARCH_PHP')){
-	
-		$lang_search_php = array(
-			'title' => 'Bestanden zoeken', //cpg1.4
-			'submit_search' => 'zoeken', //cpg1.4
-			'keyword_list_title' => 'Zoekbegrippen', //cpg1.4
-			'keyword_msg' => 'De lijst hierboven bevat niet alles. Bijvoorbeeld de titels en omschrijvingen zijn niet opgenomen. Probeer een uitgebreide zoeksleutel te kiezen.',  //cpg1.4
-			'edit_keywords' => 'Wijzig zoekbegrippen', //cpg1.4
-			'search in' => 'Zoeken in:', //cpg1.4
-			'ip_address' => 'IP adres', //cpg1.4
-			'fields' => 'Zoeken in', //cpg1.4
-			'age' => 'Tijdschaal', //cpg1.4
-			'newer_than' => 'Nieuwe dan', //cpg1.4
-			'older_than' => 'Ouder dan', //cpg1.4
-			'days' => 'dagen', //cpg1.4
-			'all_words' => 'Hele woorden (AND)', //cpg1.4
-			'any_words' => 'Alle woorden (OR)', //cpg1.4
-		);
-	
-		$lang_adv_opts = array(
-			'title' => 'Titel', //cpg1.4
-			'caption' => 'Omschrijving', //cpg1.4
-			'keywords' => 'Zoekbegrippen', //cpg1.4
-			'owner_name' => 'Eigenaar', //cpg1.4
-			'filename' => 'Bestandsnaam', //cpg1.4
-		);
-	
-	}
-	
-	// ------------------------------------------------------------------------- //
-	// File searchnew.php
-	// ------------------------------------------------------------------------- //
-	
-	if (defined('SEARCHNEW_PHP')) $lang_search_new_php = array(
-		'page_title' => 'Zoek nieuwe bestanden',
-		'select_dir' => 'Selecteer map',
-		'select_dir_msg' => 'Deze functie stelt je in staat een aantal bestanden gelijktijdig naar je server te uploaden d.m.v. FTP.<br/><br/>Selecteer de map waar je de bestanden naar hebt geupload',
-		'no_pic_to_add' => 'Er is geen bestand om toe te voegen',
-		'need_one_album' => 'Je hebt minimaal een album nodig om deze functie te gebruiken',
-		'warning' => 'Waarschuwing',
-		'change_perm' => 'Het script kan niet schrijven in deze map, je moet de modus ervan veranderen naar 755 of 777 voordat je probeert het bestand toe te voegen !',
-		'target_album' => '<b>Plaats bestanden van &quot;</b>%s<b>&quot; in </b>%s',
-		'folder' => 'Map',
-		'image' => 'Bestand',
-		'album' => 'Album',
-		'result' => 'Resultaat',
-		'dir_ro' => 'Niet beschrijfbaar.',
-		'dir_cant_read' => 'Niet leesbaar.',
-		'insert' => 'Toevoegen van nieuwe bestanden aan galerij',
-		'list_new_pic' => 'Lijst van nieuwe bestanden',
-		'insert_selected' => 'Invoegen van geselecteerde bestanden',
-		'no_pic_found' => 'Er is GEEN bestand gevonden',
-		'be_patient' => 'Heb geduld, het script heeft enige tijd nodig om de bestanden aan het album toe te voegen',
-		'no_album' => 'geen album geselecteerd', 
-		'result_icon' => 'klik voor meer gegevens of om opniuew te laden', 
-		'notes' =>  '<ul>'.
-		'<li><b>OK</b> : betekent dat het bestand met succes is toegevoegd'.
-		'<li><b>DP</b> : betekent dat het bestand dubbel is en zich al in de database bevindt'.
-		'<li><b>PB</b> : betekent dat het bestand niet toegevoegd kon worden. Controleer je configuratie en de permissies van mappen waar de bestanden zich bevinden'.
-		'<li><b>NA</b> : betekent dat je geen album geselecteerd hebt waar de bestanden in moeten, klik \'<a href="javascript:history.back(1)">Terug</a>\' en selecteer een album. Als je geen album hebt, <a href="albmgr.php">creëer er dan éérst een</a></li>'.
-		'<li>Als de OK, DP, PB \'tekens\' niet verschijnen klik dan op het verbroken bestand om te kijken of er een PHP-foutbericht gegeven wordt'.
-		'<li>Indien je browser een time-out bericht geeft, klik dan op de herlaad-knop'.
-		'</ul>',
-		'select_album' => 'selecteer album',
-		'check_all' => 'Selecteer alles',
-		'uncheck_all' => 'de-selecteer alles', 
-		'no_folders' => 'Er bevinden zich geen subdirectories in de "albums". Zorg ervoor dat minstens een subdirecotry is opgenomen in deze "albums" directory en ftp-upload je bestanden daarheen. Je mag geen bestanden uploaden naar de "userpics" of de "edit" directory, deze zijn gereserveerd voor Coppermine.',
-		'albums_no_category' => 'Albums met geen catagorie', //cpg1.4 // album pulldown mod, added by frogfoot
-		'personal_albums' => '* Persoonlijke albums', //cpg1.4 // album pulldown mod, added by frogfoot
-		'browse_batch_add' => 'Explorer interface (aanbevolen)', //cpg1.4
-		'edit_pics' => 'Wijzig bestanden', //cpg1.4
-		'edit_properties' => 'Album eigenschappen', //cpg1.4
-		'view_thumbs' => 'Thumbnails', //cpg1.4
-	);
-
-	// ------------------------------------------------------------------------- //
-	// File stat_details.php //cpg1.4
-	// ------------------------------------------------------------------------- //
-	
-	if (defined('STAT_DETAILS_PHP')) $lang_stat_details_php = array(
-		'show_hide' => 'laat zien/verberg deze kolom', //cpg1.4
-		'vote' => 'Stemmen Details', //cpg1.4
-		'hits' => 'Hit Details', //cpg1.4
-		'stats' => 'Stemmen Statistieken', //cpg1.4
-		'sdate' => 'Datum', //cpg1.4
-		'rating' => 'Voorkeur', //cpg1.4
-		'search_phrase' => 'Zoek tekst', //cpg1.4
-		'referer' => 'Referer', //cpg1.4
-		'browser' => 'Browser', //cpg1.4
-		'os' => 'Operating System', //cpg1.4
-		'ip' => 'IP', //cpg1.4
-		'sort_by_xxx' => 'Sorteer op %s', //cpg1.4
-		'ascending' => 'oplopend', //cpg1.4
-		'descending' => 'aflopend', //cpg1.4
-		'internal' => 'int', //cpg1.4
-		'close' => 'sluiten', //cpg1.4
-		'hide_internal_referers' => 'verberg interne referers', //cpg1.4
-		'date_display' => 'Datum weergave', //cpg1.4
-		'submit' => 'verzenden / verversen', //cpg1.4
-	);
-
-	// ------------------------------------------------------------------------- //
-	// File thumbnails.php
-	// ------------------------------------------------------------------------- //
-	
-	// Void
-	
-	// ------------------------------------------------------------------------- //
-	// File upload.php
-	// ------------------------------------------------------------------------- //
-	
-	if (defined('UPLOAD_PHP')) $lang_upload_php = array(
-		'title' => 'Upload foto',
-		'custom_title' => 'Aangepast aanvraagformulier',
-		'cust_instr_1' => 'Je mag een aangepast aantal bestands- en URI-uploadboxen hebben. Echter, je mag niet meer selecteren dan de hieronder afggebeelde limieten.',
-		'cust_instr_2' => 'Boxnummer-aanvraag',
-		'cust_instr_3' => 'Bestand-uploadboxen: %s',
-		'cust_instr_4' => 'URI/URL-uploadboxen: %s',
-		'cust_instr_5' => 'URI/URL-uploadboxen:',
-		'cust_instr_6' => 'Bestand-uploadboxen:',
-		'cust_instr_7' => 'Geef het aantal voor ieder type uploadboxen dat je op dit moment wenst.  Klik daarna op\'Doorgaan\'. ',
-		'reg_instr_1' => 'Ongeldige actie voor aanmaken formulier:',
-		'reg_instr_2' => 'Nu kun je je bestanden uploaden, gebruikmakend van onderstaande boxen. De grootte van de bestanden van je client naar de server mogen elk niet de %s KB overschrijden. Zip-bestanden in het \'Bestand Upload\' en \'URI/URL Upload\' gebied blijven gecomprimeerd.' ,
-		'reg_instr_3' => 'Indien je de gezipte bestanden of archieven gecomprimeerd wilt hebben, moet je de uploadbox gebruiken in het \'Decompress zip-upload\' gebied',
-		'reg_instr_4' => 'Als je de URI/URL-uploadsectie gebruikt, geef het pad op naar het bestand zoals bijv. dit : http://www.mysite.com/images/example.jpg',
-		'reg_instr_5' => 'Als je het formulier voltooid hebt, klik op \'Doorgaan\'.',
-		'reg_instr_6' => 'Decomprimeerbare Zip-uploads',
-		'reg_instr_7' => 'Bestands-upload:',
-		'reg_instr_8' => 'URI/URL-upload:',
-		'error_report' => 'Foutrapport',
-		'error_instr' => 'De volgende uploads hebben een fout ervaren:',
-		'file_name_url' => 'Bestandsnaam/URL',
-		'error_message' => 'Foutboodschap',
-		'no_post' => 'Bestand niet opgeladen door POST.',
-		'forb_ext' => 'Verboden bestandsextensie.',
-		'exc_php_ini' => 'Overschreden bestandsgrootte in php.ini toegestaan.',
-		'exc_file_size' => 'Overschreden bestandsgrootte in CPG toegestaan.',
-		'partial_upload' => 'Alleen een deel-upload.',
-		'no_upload' => 'Geen upload plaatsgevonden.',
-		'unknown_code' => 'Onbekende PHP-upload foutcode.',
-		'no_temp_name' => 'Geen upload - Geen voorlopige naam.',
-		'no_file_size' => 'Bevat geen data/corrupt',
-		'impossible' => 'Onmogelijk te verplaatsen.',
-		'not_image' => 'Geen foto/corrupt',
-		'not_GD' => 'Geen GD-extensie.',
-		'pixel_allowance' => 'Pixeltoestemming overschreden.',
-		'incorrect_prefix' => 'Ongeldig URI/URL-voorvoegsel',
-		'could_not_open_URI' => 'Kon URI niet openen.',
-		'unsafe_URI' => 'Veiligheid niet verifieerbaar.',
-		'meta_data_failure' => 'Meta data-fout',
-		'http_401' => '401 Niet geauthoriseerd',
-		'http_402' => '402 Betaling vereist',
-		'http_403' => '403 Verboden',
-		'http_404' => '404 Niet gevonden',
-		'http_500' => '500 Interne server-fout',
-		'http_503' => '503 Service niet beschikbaar',
-		'MIME_extraction_failure' => 'MIME kon niet bepaald worden.',
-		'MIME_type_unknown' => 'Onbekend MIME-type',
-		'cant_create_write' => 'Kan schrijfbestand niet creëeren.',
-		'not_writable' => 'Kan niet naar schrijfbestand schrijven.',
-		'cant_read_URI' => 'Kan URI/URL niet lezen',
-		'cant_open_write_file' => 'Kan URI-schrijfbestand niet openen.',
-		'cant_write_write_file' => 'Kan niet schrijven naar URI-schrijfbestand.',
-		'cant_unzip' => 'Kan niet zipbestanden niet uitpakken.',
-		'unknown' => 'Onbekende fout',
-		'succ' => 'Met succes geuploade bestanden',
-		'success' => '%s bestanden waren met succesgeupload.',
-		'add' => 'klik \'Doorgaan\' om de bestanden toe te voegen aan albums.',
-		'failure' => 'Upload-fout',
-		'f_info' => 'Bestandsinformatie',
-		'no_place' => 'Het voorgaande bestand kon niet geplaatst worden.',
-		'yes_place' => 'Het voorgaande bestand is met succes geplaatst.',
-		'max_fsize' => 'Maximaal toegestane bestandsgrootte is %s KB',
-		'album' => 'Album',
-		'picture' => 'Bestand',
-		'pic_title' => 'Bestandstitel',
-		'description' => 'Bestandsomschrijving',
-		'keywords' => 'Zoekbegrippen (scheiden met spaties)', 
-		'keywords_sel' =>'Selecteer een zoekbegrip', //cpg1.4
-		'err_no_alb_uploadables' => 'Sorry, er is geen album waar het je toegestaan is bestanden naar te uploaden',
-		'place_instr_1' => 'Plaats de bestanden nu in albums.  Je kunt nu ook relevante informatie over ieder bestand toevoegen.',
-		'place_instr_2' => 'Er zijn meer bestanden die geplaatst moeten worden. Klik op \'Doorgaan\'.',
-		'process_complete' => 'Je hebt met succes alle bestanden geplaatst.', 
-		'albums_no_category' => 'Albums zonder catagorie', //cpg1.4. //album pulldown mod, added by frogfoot
-		'personal_albums' => '* Persoonlijke albums', //cpg1.4. //album pulldown mod, added by frogfoot
-		'select_album' => 'Selecteer album', //cpg1.4. //album pulldown mod, added by frogfoot
-		'close' => 'Sluiten', //cpg1.4
-		'no_keywords' => 'Sorry, er zijn geen zoekbegrippen!', //cpg1.4
-		'regenerate_dictionary' => 'Herindexeren Bibliotheek', //cpg1.4
-	);
-
-	// ------------------------------------------------------------------------- //
-	// File usermgr.php
-	// ------------------------------------------------------------------------- //
-	
-	if (defined('USERMGR_PHP')) $lang_usermgr_php = array( 
-		'memberlist' => 'Gebruikers', //cpg1.4
-		'user_manager' => 'Gebruikersbeheer', //cpg1.4
-		'title' => 'Gebruikersbeheer',
-		'name_a' => 'Naam oplopend',
-		'name_d' => 'Naam aflopend',
-		'group_a' => 'Groep oplopend',
-		'group_d' => 'Groep aflopend',
-		'reg_a' => 'Registratiedatum oplopend',
-		'reg_d' => 'Registratiedatum aflopend',
-		'pic_a' => 'Aantal bestanden oplopend',
-		'pic_d' => 'Aantal bestanden aflopend',
-		'disku_a' => 'Gebruikte bestandsgrootte oplopend',
-		'disku_d' => 'Gebruikte bestandsgrootte aflopend',
-		'lv_a' => 'Laatste bezoek oplopend',
-		'lv_d' => 'Laatste bezoek aflopend',
-		'sort_by' => 'Sorteer gebruikers op',
-		'err_no_users' => 'Gebruikerstabel is leeg !',
-		'err_edit_self' => 'Je kunt je eigen profiel niet wijzigen, gebruik daarvoor de \'Mijn profiel\' link',
-		'edit' => 'Wijzig', //cpg1.4
-		'with_selected' => 'met geselecteerde:', //cpg1.4
-		'delete' => 'Verwijder', //cpg1.4
-		'delete_files_no' => 'behoud openbare bestanden (maar maak deze anoniem)', //cpg1.4
-		'delete_files_yes' => 'verwijder ook de openbare bestanden', //cpg1.4
-		'delete_comments_no' => 'behoud commentaar (maar maak deze anoniem)', //cpg1.4
-		'delete_comments_yes' => 'verwijder ook de commentaren', //cpg1.4
-		'activate' => 'Activeer', //cpg1.4
-		'deactivate' => 'Deactiveer', //cpg1.4
-		'reset_password' => 'Reset wachtwoord', //cpg1.4
-		'change_primary_membergroup' => 'Verander primaire gebruikersgroep', //cpg1.4
-		'add_secondary_membergroup' => 'Verander secundaire gebruikersgroep', //cpg1.4
-		'name' => 'Gebruikersnaam',
-		'group' => 'Groep',
-		'inactive' => 'Inactief',
-		'operations' => 'Bewerkingen',
-		'pictures' => 'Bestanden', 
-		'disk_space_used' => 'Disk gebruik', //cpg1.4
-		'disk_space_quota' => 'Disk Quota', //cpg1.4
-		'registered_on' => 'Registratie', //cpg1.4
-		'last_visit' => 'Laatste bezoek',
-		'u_user_on_p_pages' => '%d gebruikers op %d pagina(s)',
-		'confirm_del' => 'Weet je zeker dat je deze gebruiker wilt VERWIJDEREN ? \\nAl zijn bestanden en albums worden ook verwijderd.',
-		'mail' => 'MAIL',
-		'err_unknown_user' => 'Geselecteerde gebruiker bestaat niet !',
-		'modify_user' => 'Wijzig gebruiker',
-		'notes' => 'Notities',
-		'note_list' => '<li>Als je niet je huidige wachtwoord wilt wijzigen, laat dan het "wachtwoord" veld leeg',
-		'password' => 'Wachtwoord',
-		'user_active' => 'Gebruiker is actief',
-		'user_group' => 'Gebruikersgroep',
-		'user_email' => 'E-mail van gebruiker',
-		'user_web_site' => 'Website van gebruiker',
-		'create_new_user'=> 'Creëer nieuwe gebruiker',
-		'user_location' => 'Locatie van gebruiker',
-		'user_interests' => 'Interesse van gebruiker',
-		'user_occupation'  => 'Beroep van gebruiker', 
-		'user_profile1' => '$user_profile1', //cpg1.4
-		'user_profile2' => '$user_profile2', //cpg1.4
-		'user_profile3' => '$user_profile3', //cpg1.4
-		'user_profile4' => '$user_profile4', //cpg1.4
-		'user_profile5' => '$user_profile5', //cpg1.4
-		'user_profile6' => '$user_profile6', //cpg1.4
-		'latest_upload' => 'Recente uploads',
-		'never' => 'nooit', 
-		'search' => 'Zoek gebruiker', //cpg1.4
-		'submit' => 'Verzenden', //cpg1.4
-		'search_submit' => 'Start!', //cpg1.4
-		'search_result' => 'Zoekresultaten voor: ', //cpg1.4
-		'alert_no_selection' => 'Je moet eerst een gebruiker selecteren!',  //cpg1.4 //js-alert
-		'password' => 'wachtwoord', //cpg1.4
-		'select_group' => 'Selecteer groep', //cpg1.4
-		'groups_alb_access' => 'Album rechten per groep', //cpg1.4
-		'album' => 'Album', //cpg1.4
-		'category' => 'Catagorie', //cpg1.4
-		'modify' => 'Wijzig?', //cpg1.4
-		'group_no_access' => 'Deze groep heeft geen speciale toegangsrechten', //cpg1.4
-		'notice' => 'Let Op', //cpg1.4
-		'group_can_access' => 'Album(s) die alleen door "%s" bekeken mogen worden', //cpg1.4
-	);
-
-	// ------------------------------------------------------------------------- //
-	// File util.php
-	// ------------------------------------------------------------------------- //
-	
-	if (defined('UTIL_PHP')) {
-	
-		$lang_util_desc_php = array(
-			'Pas titels aan uit bestandsnamen', //cpg1.4
-			'Verwijder titels', //cpg1.4
-			'Bouw thumbnails en middelgrote afbeeldingen opnieuw op', //cpg1.4
-			'Verwijder orginele afbeeldingen en vervang deze door de aangepaste versie', //cpg1.4
-			'Verwijder orgrinele en middelgrote afbeeldingen om ruimte vrij te maken', //cpg1.4
-			'Verwijder verweesde commentaarregels', //cpg1.4
-			'Pas bestandsgrootte en afmetingen aan (na handmatige aanpassing afbeeldingen)', //cpg1.4
-			'Reset bekeken teller', //cpg1.4
-			'Geef PHPINFO weer', //cpg1.4
-			'Update de database', //cpg1.4
-			'Laat logging zien', //cpg1.4
-		);
-	
-		$lang_util_php = array(
-			'title' => 'Beheerders gereedschappen (Pas formaat afbeeldingen aan)',
-			'what_it_does' => 'Wat doen deze opties',
-			'file' => 'Bestand',
-			'problem' => 'Probleem', //cpg1.4
-			'status' => 'Status', //cpg1.4
-			'title_set_to' => 'titel instellen op',
-			'submit_form' => 'verzenden',
-			'updated_succesfully' => 'met succes toegepast',
-			'error_create' => 'FOUT bij het aanmaken van',
-			'continue' => 'Verwerk meer afbeeldingen',
-			'main_success' => 'Het bestand %s was met succes gebruikt als hoofdbestand',
-			'error_rename' => 'Fout bij het hernoemen van %s naar %s',
-			'error_not_found' => 'Het bestand %s was niet gevonden',
-			'back' => 'terug naar het begin',
-			'thumbs_wait' => 'Bezig met verwerken van aanpassingen aan de thumbnails en/of afbeeldingen, momentje...',
-			'thumbs_continue_wait' => 'Nog steeds bezit met verwerken van aanpassingen aan de thumbnails en/of afbeeldingen...',
-			'titles_wait' => 'Aanpassen titels, momentje...',
-			'delete_wait' => 'Verwijderen titels, momentje...',
-			'replace_wait' => 'Verwijderen orginele bestanden en vervang deze door de aangepaste bestanden, momentje..',
-			'instruction' => 'Snelstart instucties',
-			'instruction_action' => 'Selecteer optie',
-			'instruction_parameter' => 'Stel parameters in',
-			'instruction_album' => 'Selecteer album',
-			'instruction_press' => 'Druk op %s',
-			'update' => 'Verwerken thumbnails en/of afbeeldingen',
-			'update_what' => 'Wat er moet worden verwerkt',
-			'update_thumb' => 'Alleen thumbnails',
-			'update_pic' => 'Alleen aangepaste afbeeldingen',
-			'update_both' => 'Zowel thumbnails als aangepaste afbeeldingen',
-			'update_number' => 'Aantal te verwerken afbeeldingen per opdracht',
-			'update_option' => '(Indien er een time-out melding komt, moet deze waarde lager worden gezet)',
-			'filename_title' => 'Bestandsnaam &rArr; File title',
-			'filename_how' => 'Hoe moet de bestandsnaam woden aangepast',
-			'filename_remove' => 'Verwijder de .jpg aan het eindvan de bestandsnaam en vervang _ (underscore) met spaties',
-			'filename_euro' => 'Wijzig 2003_11_23_13_20_20.jpg in 23/11/2003 13:20',
-			'filename_us' => 'Wijzig 2003_11_23_13_20_20.jpg in 11/23/2003 13:20',
-			'filename_time' => 'Wijzig 2003_11_23_13_20_20.jpg in 13:20',
-			'delete' => 'Verwijder bestandsnamen of orginele afmeting afbeeldingen',
-			'delete_title' => 'Verwijder bestandsnamen',
-			'delete_title_explanation' => 'Deze optie zal alle titels uit het opgegevens album verwijderen.',
-			'delete_original' => 'Verwijder de orginele afbeeldingen', //cpg1.4
-			'delete_original_explanation' => 'Deze optie zal alle orginelen verwijderen van de webserver.', //cpg1.4
-			'delete_intermediate' => 'Verwijder tussenafbeeldingen', //cpg1.4
-			'delete_intermediate_explanation' => 'Deze optie zal alle tussenafbeeldingen (normal_) verwijderen.<br/>Gebruik deze optie om disk ruimte te besparen als de optie \'Maak tussenafbeeldingen aan\' in de instellingen aan staat.', //cpg1.4
-			'delete_replace' => 'Verwijder de orginele afbeeldingen en vervang deze door de aangepast afbeeldingen', //cpg1.4
-			'titles_deleted' => 'Alle titels uit het geselecteerde album worden verwijderd', //cpg1.4
-			'deleting_intermediates' => 'Bezig met het verwijderen van de tussenafbeeldingen, momentje...', //cpg1.4
-			'searching_orphans' => 'Zoeken naar wezen, momentje...', //cpg1.4
-			'select_album' => 'Kies een album', //cpg1.4
-			'delete_orphans' => 'Verwijder commentaar van niet aanwezige bestanden.', //cpg1.4
-			'delete_orphans_explanation' => 'Deze optie zorgt ervoor dat alle commentaarregels van bestanden die niet meer bestaan worden verwijderd.<br/>Kies \'Alle albums\'.', //cpg1.4
-			'refresh_db' => 'Herzien afmetingen en informatie van bestanden.', //cpg1.4
-			'refresh_db_explanation' => 'Deze optie zal de inforatie over de bestanden updaten in de database. Gebruik deze optie als je de bestanden handmatig hebt aangepast.',
-			'reset_views' => 'Reset bekeken teller', //cpg1.4
-			'reset_views_explanation' => 'Deze optie reset alle bekeken tellers in het geselecteerde album.',
-			'orphan_comment' => 'wezen commmentaar gevonden',
-			'delete' => 'Verwijder',
-			'delete_all' => 'Verwijder alles',
-			'delete_all_orphans' => 'Verwijder alle wezen?', //cpg1.4
-			'comment' => 'Commentaar: ',
-			'nonexist' => 'gekoppeld aan niet bestaand bestand # ',
-			'phpinfo' => 'Laat phpinfo zien',
-			'phpinfo_explanation' => 'Deze optie bevat technische informatie over de webserver. Dit heb je bijvoorbeeld nodig als je een supportvraag mocht hebben.',
-			'update_db' => 'Update database',
-			'update_db_explanation' => 'Deze optie gebruik je als je Coppermine hebt ge-update, aangepast of een nieuwe versie hebt geïnstalleerd. Deze optie zal ook missende zaken in de database aanpassen.',
-			'view_log' => 'Bekijk logging', //cpg1.4
-			'view_log_explanation' => 'Deze optie geeft je de mogelijkheid uitgebreide log informatie op te slaan om zo te kijken wat er op de server gebeurd. De logging moet aanstaan in de <a href="admin.php">Coppermine instellingen</a>.', //cpg1.4
-			'versioncheck' => 'Controleer versies', //cpg1.4
-			'versioncheck_explanation' => 'Deze optie gebruik je om te zien of alle versies van de programmatuur nog in order is.', //cpg1.4
-			'bridgemanager' => 'Integratie Beheer', //cpg1.4
-			'bridgemanager_explanation' => 'Deze optie gebruik je om Coppermine te integreren in een ander pakket, bv een BBS/Forum.', //cpg1.4
-		);
-	}
-
-	// ------------------------------------------------------------------------- //
-	// File versioncheck.php //cpg1.4
-	// ------------------------------------------------------------------------- //
-	
-	if (defined('VERSIONCHECK_PHP')) $lang_versioncheck_php = array(
-		'title' => 'Contoleer veries', //cpg1.4
-		'what_it_does' => 'Deze pagina is bedoeld voor beheerders die hun Coppermine versie geupdate hebben. Dit script loopt alle bestanden door en controleert of de versies gelijk zijn aan de bestanden op http://coppermine.sourceforge.net.<br/>In rood wordt weergegeven wat er moet worden aangepast. In geel worden bestanden weergegeven die je nog eens moet controleren. De groene bestanden (of die weergegeven worden in de standaard lettertype kleur) zijn prima. Klik op de icons om meer te weten te komen over de gegevens.', //cpg1.4
-		'online_repository_unable' => 'Kan de online databank niet benaderen', //cpg1.4
-		'online_repository_noconnect' => 'Coppermine kon de online databank niet benaderen. Dit kan door twee redenen hebben:', //cpg1.4
-		'online_repository_reason1' => 'De Coppermine online databank is niet beschikbaar. Controleer dit op deze pagina: %s - Als deze pagina ook niet beschikbaar is, probeer het later nog eens.', //cpg1.4
-		'online_repository_reason2' => 'PHP op de webserver heeft de instelling %s uit staan (standaard staat deze aan). Indien mogelijk, laat deze aanzetten door de beheerder van de server in <i>php.ini</i> (of laat het mogelijk worden om het te overrulen met %s). Als deze niet kan worden aangepast, dan is het niet mogelijk de bestanden met de online databank te vergelijken. Deze pagina zal dan alleen de bestandsversies tonen.', //cpg1.4
-		'online_repository_skipped' => 'Verbinding met de online databank geannuleerd', //cpg1.4
-		'online_repository_to_local' => 'Het script valt nu terug op de lokale versie van de bestanden. De informatie is misschien niet betrouwbaar als je de versie van Coppermine hebt geupdate en niet alle bestanden hebt overgehaald. Veranderingen aan de bestanden na deze versie zullen niet worden meegenomen.', //cpg1.4
-		'local_repository_unable' => 'De locale databank kan niet worden benaderd', //cpg1.4
-		'local_repository_explanation' => 'Coppermine kon de locale databank %s op je server niet benadern. Dit betekend waarschijnlijk dat je deze niet hebt geupload naar de server. Upload dit bestand en probeer het dan nog eens (Vernieuwen)<br/>Als het dan nog steeds niet lukt, de beheerder van de server heeft gedeelten van <a href="http://www.php.net/manual/en/ref.filesystem.php">PHP\'s filesystem functions</a> niet overgezet. Als dat het geval is, kan je deze tool helaas helemaal niet gebruiken, sorry.', //cpg1.4
-		'coppermine_version_header' => 'Geïnstalleerde Coppermine versie', //cpg1.4
-		'coppermine_version_info' => 'Je hebt nu geïnstalleerd: %s', //cpg1.4
-		'coppermine_version_explanation' => 'Als je denkt dat dit helemaal fout is en je denkt een latere Coppermine versie geïnstalleerd te hebben, heb je waarschijnlijk de laatste versie van het bestand <i>include/init.inc.php</i> niet.', //cpg1.4
-		'version_comparison' => 'Versie vergelijking', //cpg1.4
-		'folder_file' => 'directory/bestand', //cpg1.4
-		'coppermine_version' => 'Coppermine versie', //cpg1.4
-		'file_version' => 'bestandsversie', //cpg1.4
-		'webcvs' => 'web svn', //cpg1.4
-		'writable' => 'schrijfbaar', //cpg1.4
-		'not_writable' => 'niet schrijfbaar', //cpg1.4
-		'help' => 'Help', //cpg1.4
-		'help_file_not_exist_optional1' => 'bestand/directory bestaat niet', //cpg1.4
-		'help_file_not_exist_optional2' => 'Het bestand of de directorie kan niet worden gebonden op de webserver. Ondanks dat het geen verplicht bestand/directory is wordt aanbevolen het te uploaden indien je problemen mocht ondervinden.', //cpg1.4
-		'help_file_not_exist_mandatory1' => 'bestand/directory bestaat niet', //cpg1.4
-		'help_file_not_exist_mandatory2' => 'Het bestand of de directorie kan niet worden gebonden op de webserver ondanks dat het een verplicht bestand/directory is. Upload het bestand naar de webserver.', //cpg1.4
-		'help_no_local_version1' => 'Geen locale versie van het bestand', //cpg1.4
-		'help_no_local_version2' => 'Het script kon de lokale versie van het bestand niet lezen. Het bestand is of te oud, of je hebt het aangepast en hebt de header informatie niet goed overgenomen/verwijderd. Een nieuwe versie uploaden wordt aanbevolen.', //cpg1.4
-		'help_local_version_outdated1' => 'Lokale versie niet up-to-date', //cpg1.4
-		'help_local_version_outdated2' => 'De versie op de webserver lijkt ouder te zijn dan de versie van Coppermine (waarschijnlijk een oude versie die is blijven staan bij het upgraden. Zorg ervoor dat de juiste versie wordt geupload.', //cpg1.4
-		'help_local_version_na1' => 'Kan csv informatie niet lezen', //cpg1.4
-		'help_local_version_na2' => 'Het script kan niet bepalen wat de csv versie van ht bestand op de webserver is. Je moet het bestand uploaden naar de webserver.', //cpg1.4
-		'help_local_version_dev1' => 'Ontwikkel versie', //cpg1.4
-		'help_local_version_dev2' => 'Het bestand op de webserver lijkt nieuwer dan die in de online Coppermine databank. Je gebruik ofwel de ontwikkel versie (je moet wel zeker weten wat je doet) of je hebt het bestand include/init.inc.php niet goed geupload.', //cpg1.4
-		'help_not_writable1' => 'Directory niet schrijfbaar', //cpg1.4
-		'help_not_writable2' => 'Verander de bestandsrechten (CHMOD) om het script schijfrechten te geven in de directory %s en alle onderliggende directories.', //cpg1.4
-		'help_writable1' => 'Directory schijfbaar', //cpg1.4
-		'help_writable2' => 'De directory %s is schrijfbaar. Dit is een onnodig risico, Coppermine heeft alleen leesrechten nodig.', //cpg1.4
-		'help_writable_undetermined' => 'Coppermine was niet in staat vast te stllen of de directory schijfbaar was.', //cpg1.4
-		'your_file' => 'lokaal bestand', //cpg1.4
-		'reference_file' => 'internet bestand', //cpg1.4
-		'summary' => 'Samenvatting', //cpg1.4
-		'total' => 'Totaal aantal bestanden/directories gecontroleerd', //cpg1.4
-		'mandatory_files_missing' => 'Vereiste bestanden niet gevonden', //cpg1.4
-		'optional_files_missing' => 'Optionele bestanden niet gevonden', //cpg1.4
-		'files_from_older_version' => 'Bestanden overgebleven uit een eerder versie van Coppermine', //cpg1.4
-		'file_version_outdated' => 'Niet-recente bestanden', //cpg1.4
-		'error_no_data' => 'Het script heeft een fout veroorzaakt en was niet in staat de juiste informatie op te halen. Sorry!.', //cpg1.4
-		'go_to_webcvs' => 'ga naar %s', //cpg1.4
-		'options' => 'Opties', //cpg1.4
-		'show_optional_files' => 'Laat optionele bestanden/directories zien', //cpg1.4
-		'show_mandatory_files' => 'Laat verplichte bestanden zien', //cpg1.4
-		'show_file_versions' => 'Laat bestandsversies zien', //cpg1.4
-		'show_errors_only' => 'Laat alleen bestanden/directories met fouten zien', //cpg1.4
-		'show_permissions' => 'Laat directory rechten zien', //cpg1.4
-		'show_condensed_output' => 'Laat simpele uitvoer zien (voor bv schermprints)', //cpg1.4
-		'coppermine_in_webroot' => 'Coppermine in geïnstalleerd in de root van de server', //cpg1.4
-		'connect_online_repository' => 'Zoek gegevens in de online Coppermine databank', //cpg1.4
-		'show_additional_information' => 'Laat aanvullende informatie zien', //cpg1.4
-		'no_webcvs_link' => 'Laat geen link naar de online cvs zien', //cpg1.4
-		'stable_webcvs_link' => 'Geef csv link weer naar stabiele versie', //cpg1.4
-		'devel_webcvs_link' => 'Geef csv link weer naar ontwikkel versie', //cpg1.4
-		'submit' => 'voer wijzigingen uit / vernieuwen', //cpg1.4
-		'reset_to_defaults' => 'reset naar de standaard waardes', //cpg1.4
-	);
-
-	// ------------------------------------------------------------------------- //
-	// File view_log.php  //cpg1.4
-	// ------------------------------------------------------------------------- //
-	
-	if (defined('VIEWLOG_PHP')) $lang_viewlog_php = array(
-		'delete_all' => 'Verwijder alle logbestanden', //cpg1.4
-		'delete_this' => 'Verwijder dit logbestand', //cpg1.4
-		'view_logs' => 'Bekijk logbestand', //cpg1.4
-		'no_logs' => 'Geen logbestanden aangemaakt.', //cpg1.4
-	);
-
-	// ------------------------------------------------------------------------- //
-	// File xp_publish.php //cpg1.4
-	// ------------------------------------------------------------------------- //
-	
-	if (defined('XP_PUBLISH_PHP')) {
-	
-$lang_xp_publish_client = <<<EOT
-<h1>XP Web Publishing Wizard Client</h1><p>Deze module kan gebruikt worden om de <b>Windows XP</b> web publishing wizard met Coppermine te gebruiken.</p>
-EOT;
-
-$lang_xp_publish_required = <<<EOT
-<h2>Systeemvereisten:</h2><ul><li>Windows XP (de wizard is onderdeel van Windows XP).</li><li>Een goed geïnstalleerde versie van Coppermine waar de <b>web upload fucntie goed werkt.</b></li></ul><h2>Hoe de client software te installeren</h2><ul><li>Right click on
-EOT;
-
-$lang_xp_publish_select = <<<EOT
-Select &quot;save target as..&quot;. Bweaar het bestand op de harddisk. Als je heb vestand bewaard, controleer dan of de bestandnaam <b>cpg_###.reg</b> is (De ### staan voor de nummerieke datum/tijd). Wijzig deze naam indien nodig (laat de nummers intact).Indien gedownloade controleer dan nogmaal het bestand om de server met de web publishing wizard. te laten werken.</li></ul>
-EOT;
-
-$lang_xp_publish_testing = <<<EOT
-<h2>Testing</h2><ul><li>In de Windows Explorer, delecteer een aantal bestanden en klik op <b>Publiceerh xxx naar het internet</b> aan de linkerkant.</li><li>Controleer de bestandsselectie. Klik op <b>Volgende</b>.</li><li>In de lijst van items DIE dan verschijnt, selecteer een van de gallerijen (het heeft de naam van jou eigen gallerij)  Als de galleij niet tevoorschijn komt, controleer <b>cpg_pub_wizard.reg</b> zoals hierboven beschreven.</li><li>Geef je login informatie indien nodig in.</li><li>Selecteer het doel album voor de afbeeldingen of maak een nieuwe aan.</li><li>Klik op <b>Volgende</b>. De upload van de afbeeldingen begint.</li><li>Als alles is geupload, controlleer de gallerij of alle afbeeldingen correct zijn toegevoegd.</li></ul>
-EOT;
-
-$lang_xp_publish_notes = <<<EOT
-<h2>Notes :</h2><ul><li>Als de upload is gestart, kan de wizard geen foutmeldingen weergeven omdat de wizard niet kan controleren of het uploadproces goed is gegaan. Dit moet je handmatig controleren in de gallerij.</li><li>Als de upload mislukt, zet dan de &quot;Debug modus&quot; aan op de Coppermine instellingen pagina. Probeer het dan met een enkele afbeelding nog een keer en controleer daarna de foutmeldingen in het
-EOT;
-
-$lang_xp_publish_flood = <<<EOT
-bestand dat in de Coppermine directory van je server staat.</li><li>Om te voorkomen dat je gallerij volloopt met allerlei afbeeldingen dor worden geupload via de wizard, alleen <b>gallerij beheerders</b> en <b>gebruikers met een eigen album</b> zullen deze functie kunnen gebruiken.</li>
-EOT;
-	
-		$lang_xp_publish_php = array(
-			'title' => 'Coppermine - XP Web Publishing Wizard', //cpg1.4
-			'welcome' => 'Welkom <b>%s</b>,', //cpg1.4
-			'need_login' => 'Je moet zijn ongelogd op de gallerij met je webbrowser voordat je deze wizard kunt gebruiken.<p/><p>Als je inlogd, vergeet niet de <b>onthoudt mij</b> optie te gebruiken.', //cpg1.4
-			'no_alb' => 'Sorry, maar er is geen album waar het is toegestaan met behulp van deze wizard afbeeldingen te uploaden.', //cpg1.4
-			'upload' => 'Upload de afbeeldingen naar een bestaand album.', //cpg1.4
-			'create_new' => 'Maak een nieuw album aan voor de afbeeldingen', //cpg1.4
-			'album' => 'Album', //cpg1.4
-			'category' => 'Catagorie',
-			'new_alb_created' => 'Je nieuwe album &quot;<b>%s</b>&quot; is aangemaakt.', //cpg1.4
-			'continue' => 'Klik &quot;Volgende&quot; om het uploaden te starten', //cpg1.4
-			'link' => 'deze link', //cpg1.4
-		);
-	}
-
+<?php
+	/*************************
+	  Coppermine Photo Gallery
+	  ************************
+	  Copyright (c) 2003-2009 Coppermine Dev Team
+	  v1.1 originally written by Gregory DEMAR
+	
+	  This program is free software; you can redistribute it and/or modify
+	  it under the terms of the GNU General Public License version 3
+	  as published by the Free Software Foundation.
+	  
+	  ********************************************
+	  Coppermine version: 1.4.25
+	  $HeadURL: https://coppermine.svn.sourceforge.net/svnroot/coppermine/trunk/cpg1.4.x/lang/dutch.php $
+	  $Revision: 5997 $
+	  $Author: gaugau $
+	  $Date: 2009-05-26 08:43:24 +0200 (Di, 26 Mai 2009) $
+	**********************************************/
+	
+	IF (!defined('IN_COPPERMINE')) { die('Niet in Coppermine...');}
+	
+	// info about translators and translated language
+	$lang_translation_info = array( 
+		'lang_name_english' => 'Dutch',  
+		'lang_name_native' => 'Nederlands', 
+		'lang_country_code' => 'nl', 
+		'trans_name'=> 'Jan Paul', //the name of the translator - can be a nickname 
+		'trans_email' => '', //translator's email address (optional) 
+		'trans_website' => '', //translator's website (optional) 
+		'trans_date' => '2005-08-17', //the date the translation was created / last modified 
+	); 
+	
+	$lang_charset = 'utf-8';
+	$lang_text_dir = 'ltr';
+	
+	// shortcuts for Byte, Kilo, Mega
+	$lang_byte_units = array('Bytes', 'KB', 'MB');
+	
+	// Day of weeks and months
+	$lang_day_of_week = array('zon', 'maa', 'din', 'woe', 'don', 'vri', 'zat');
+	$lang_month = array('jan', 'feb', 'mrt', 'apr', 'mei', 'jun', 'jul', 'aug', 'sep', 'okt', 'nov', 'dec');
+	
+	// Some common strings
+	$lang_yes = 'Ja';
+	$lang_no  = 'Nee';
+	$lang_back = 'TERUG';
+	$lang_continue = 'DOORGAAN';
+	$lang_info = 'Informatie';
+	$lang_error = 'Fout'; 
+	$lang_check_uncheck_all = 'selecteer/deselecteer alles';
+	
+	// The various date formats
+	// See http://www.php.net/manual/en/function.strftime.php to define the variable below
+	$album_date_fmt =    '%d %B %Y';
+	$lastcom_date_fmt =  '%d-%m-%y om %H:%M';
+	$lastup_date_fmt = '%d %B %Y';
+	$register_date_fmt = '%d %B %Y';
+	$lasthit_date_fmt = '%d %B %Y om %H:%M ';
+	$comment_date_fmt =  '%d %B %Y om %H:%M '; 
+	$log_date_fmt = '%d-%m-%y om %H:%M';
+	
+	// For the word censor
+	$lang_bad_words = array('*fuck*', 'asshole', 'assramer', 'bitch*', 'c0ck', 'clits', 'Cock', 'cum', 'cunt*', 'dago', 'daygo', 'dego', 'dick*', 'dildo', 'fanculo', 'feces', 'foreskin', 'Fu\(*', 'fuk*', 'honkey', 'hore', 'injun', 'kike', 'lesbo', 'masturbat*', 'motherfucker', 'nazis', 'nigger*', 'nutsack', 'penis', 'phuck', 'poop', 'pussy', 'scrotum', 'shit', 'slut', 'titties', 'titty', 'twaty', 'wank*', 'whore', 'wop*','kut','lul','neuken','klootzak','hoer','zak','hufter','pijpen','kloot','sex');
+	
+	$lang_meta_album_names = array( 
+		'random' => 'Willekeurige bestanden', 
+		'lastup' => 'Laatste toevoegingen', 
+		'lastalb'=> 'Laatste gewijzigde albums', 
+		'lastcom' => 'Laatste commentaren', 
+		'topn' => 'Meest bekeken', 
+		'toprated' => 'Best beoordeeld', 
+		'lasthits' => 'Laatst bekeken', 
+		'search' => 'Zoek resultaten', 
+		'favpics'=> 'Favoriete bestanden',  //cpg1.4
+	);
+	
+	$lang_errors = array(
+		'access_denied' => 'Je hebt geen toestemming om deze pagina te bezoeken.',
+		'perm_denied' => 'Je hebt geen toestemming om deze handeling uit te voeren.',
+		'param_missing' => 'Script aangeroepen zonder de vereiste parameters.',
+		'non_exist_ap' => 'Geselecteerde album/bestand bestaat niet!',
+		'quota_exceeded' => 'Toegewezen bestandsgrootte overschreden<br/><br/>Je hebt een bestandsgrootte-limiet van [quota]K, je bestanden gebruiken nu [space]K, het toevoegen van dit bestand zorgt er voor dat je je toegewezen bestandsgrootte overschrijdt.',
+		'gd_file_type_err' => 'Indien je de GD afbeeldingenbibliotheek gebruikt zijn alleen JPEG- en PNG-bestanden toegestaan.',
+		'invalid_image' => 'De afbeelding die je hebt geupload is corrupt of kan niet behandeld worden door de GD library.',
+		'resize_failed' => 'Niet in staat de verkleinde afbeelding of de afmetingen van de afbeelding aan te passen.',
+		'no_img_to_display' => 'Geen afbeelding om te laten zien.',
+		'non_exist_cat' => 'De geselecteerde categorie bestaat niet.',
+		'orphan_cat' => 'Een categorie heeft een niet bestaande hoofdcategorie, start de categorie-manager om het probleem te herstellen.',
+		'directory_ro' => 'Map \'%s\' is niet beschrijfbaar, bestand kan niet verwijderd worden.',
+		'non_exist_comment' => 'Het geselecteerde commentaar is niet aanwezig.',
+		'pic_in_invalid_album' => 'Bestand is in een niet bestaand album (%s)!?', 
+		'banned' => 'Je bent op dit moment uitgesloten van het gebruik van deze site.', 
+		'not_with_udb' => 'Deze functie is uitgeschakeld in Coppermine omdat het geïntegreerd is met forumsoftware. Wat je probeeert te doen is, of wordt niet ondersteund in deze configuratie, of de functie zal afgehandeld moeten worden door de forumsoftware.', 
+		'offline_title' => 'Offline',
+		'offline_text' => 'Galerij is op dit moment offline - controleer later nog eens',
+		'ecards_empty' => 'Er zijn op dit moment geen e-cardrecords aanwezig om te laten zien. Controleer of je e-card logging hebt aangezet in de Coppermine-configuratie!',
+		'action_failed' => 'Actie mislukt.  Coppermine kan je verzoek niet afhandelen.',
+		'no_zip' => 'De benodigde bibliotheken om zip-bestanden te verwerken zijn niet beschikbaar.  Neem contact op met je Coppermine-beheerder.',
+		'zip_type' => 'Je hebt geen toestemming om zip-bestanden te uploaden.',
+		'database_query' => 'Er was een fout bij het ophalen van de gegevens uit de database', //cpg1.4
+		'register_globals_on' => 'The PHP setting register_globals is enabled on your server, which is a bad idea in terms of security. It\'s strongly recommended to turn it off. [<a href="http://forum.coppermine-gallery.net/index.php/topic,59569.0.html" rel="external" class="external">more</a>]',
+	);
+	
+	$lang_bbcode_help_title = 'bbcode help';
+	$lang_bbcode_help = 'De volgende codes kunnen van pas komen: <li>[b]<b>Bold</b>[/b]</li> <li>[i]<i>Italic</i>[/i]</li> <li>[url=http://Jouwsite.nl/]Url Text[/url]</li> <li>[email]user@domain.nl[/email]</li>';
+	
+	// ------------------------------------------------------------------------- //
+	// File theme.php
+	// ------------------------------------------------------------------------- //
+	
+	$lang_main_menu = array( 
+	'home_title' => 'Ga naar de beginpagina',
+		'home_lnk' => 'Beginpagina',
+		'alb_list_title' => 'Ga naar de albumlijst',
+		'alb_list_lnk' => 'Albumlijst',
+		'my_gal_title' => 'Ga naar mijn persoonlijke galerij',
+		'my_gal_lnk' => 'Mijn galerij', 
+		'my_prof_title' => 'Ga naar mijn persoonlijke profiel', //cpg1.4
+		'my_prof_lnk' => 'Mijn profiel',
+		'adm_mode_title' => 'Ga naar de beheerder-modus',
+		'adm_mode_lnk' => 'Beheerder-modus',
+		'usr_mode_title' => 'Ga naar de gebruiker-modus',
+		'usr_mode_lnk' => 'Gebruiker-modus',
+		'upload_pic_title' => 'Upload een bestand in een album',
+		'upload_pic_lnk' => 'Upload bestand',
+		'register_title' => 'Creëer een account',
+		'register_lnk' => 'Registreer', 
+		'login_title' => 'Log mij in', //cpg1.4
+		'login_lnk' => 'Inloggen', 
+		'logout_title' => 'Log mij uit', //cpg1.4
+		'logout_lnk' => 'Uitloggen', 
+		'lastup_title' => 'Laat me de laatste uploads zien', //cpg1.4
+		'lastup_lnk' => 'Laatste upload', 
+		'lastcom_title' => 'Laat me het laatste commentaar zien', //cpg1.4
+		'lastcom_lnk' => 'Laatste commentaar', 
+		'topn_title' => 'Laat me de meest bekeken bestanden zien', //cpg1.4
+		'topn_lnk' => 'Meest bekeken', 
+		'toprated_title' => 'Laat me de beste beoordeelde bestanden zien', //cpg1.4
+		'toprated_lnk' => 'Best beoordeeld', 
+		'search_title' => 'Zoek naar bestanden', //cpg1.4
+		'search_lnk' => 'Zoek', 
+		'fav_title' => 'Ga naar mijn favorieten', //cpg1.4
+		'fav_lnk' => 'Mijn favorieten', 
+		'memberlist_title' => 'Laat gebruikerslijst zien',
+		'memberlist_lnk' => 'Gebruikerslijst',
+		'faq_title' => 'Veel gestelde vragen en antwoorden over de fotogalerij &quot;Coppermine&quot;',
+		'faq_lnk' => 'FAQ', 
+	);
+	
+	$lang_gallery_admin_menu = array(
+		'upl_app_title' => 'Upload-toestemming', //cpg1.4
+		'upl_app_lnk' => 'Upload-toestemming',
+		'admin_title' => 'Ga naar instellingen', //cpg1.4
+		'admin_lnk' => 'Instellingen', //cpg1.4
+		'albums_title' => 'Ga naar albums', //cpg1.4
+		'albums_lnk' => 'Albums',
+		'categories_title' => 'Ga naar catagorie beheer', //cpg1.4
+		'categories_lnk' => 'Categorieën',
+		'users_title' => 'Ga naar gebruikers beheer', //cpg1.4
+		'users_lnk' => 'Gebruikers',
+		'groups_title' => 'Ga naar beheer groepen', //cpg1.4
+		'groups_lnk' => 'Groepen',
+		'comments_title' => 'Ga naar alle commentaren bekijken', //cpg1.4
+		'comments_lnk' => 'Bekijk commentaren',
+		'searchnew_title' => 'Ga naar toevoegen bestanden', //cpg1.4
+		'searchnew_lnk' => 'Bestanden toevoegen',
+		'util_title' => 'Ga naar de beheerders gereedschappen', //cpg1.4
+		'util_lnk' => 'Beheerdersgereedschap',
+		'key_title' => 'Ga naar de zoekbegrippen bibliotheek', //cpg1.4
+		'key_lnk' => 'Zoekbegrippen Bibliotheek', //cpg1.4
+		'ban_title' => 'Ga naar verbannen gebruikers', //cpg1.4
+		'ban_lnk' => 'Verban gebruiker',
+		'db_ecard_title' => 'Ga naar e-cards', //cpg1.4
+		'db_ecard_lnk' => 'Laat e-cards zien',
+		'pictures_title' => 'Ga naar sorteren afbeeldingen', //cpg1.4
+		'pictures_lnk' => 'Sorteer afbeeldingen', //cpg1.4
+		'documentation_lnk' => 'Ga naar documentatie', //cpg1.4
+		'documentation_title' => 'Coppermine documentatie', //cpg1.4
+	);
+	
+	$lang_user_admin_menu = array( 
+		'albmgr_title' => 'Ga naar Creëer/sorteer albums', //cpg1.4
+		'albmgr_lnk' => 'Creëer/sorteer albums', 
+		'modifyalb_title' => 'Ga naar wijzig mijn albums',  //cpg1.4
+		'modifyalb_lnk' => 'Wijzig mijn albums', 
+		'my_prof_title' => 'Ga naar mijn profiel', //cpg1.4
+		'my_prof_lnk' => 'Mijn profiel',
+	);
+	
+	$lang_cat_list = array(
+		'category' => 'Categorie',
+		'albums' => 'Albums',
+		'pictures' => 'Bestanden',
+	);
+	
+	$lang_album_list = array(
+		'album_on_page' => '%d album(s) op %d pagina(\'s)'
+	);
+	
+	$lang_thumb_view = array(
+		'date' => 'DATUM', 
+		//Sort by filename and title
+		'name' => 'BESTANDSNAAM', 
+		'title' => 'TITEL', 
+		'sort_da' => 'Sorteer op datum oplopend',
+		'sort_dd' => 'Sorteer op datum aflopend',
+		'sort_na' => 'Sorteer op naam oplopend',
+		'sort_nd' => 'Sorteer op naam aflopend',
+		'sort_ta' => 'Sorteer op titel oplopend', 
+		'sort_td' => 'Sorteer op titel aflopend', 
+		'position' => 'POSITIE', //cpg1.4
+		'sort_pa' => 'Sorteer op positie oplopend', //cpg1.4
+		'sort_pd' => 'Sorteer op positie aflopend', //cpg1.4
+		'download_zip' => 'Download als zip-bestand',
+		'pic_on_page' => '%d bestanden op %d pagina(s)',
+		'user_on_page' => '%d gebruiker(s) op %d pagina(s)',
+		'enter_alb_pass' => 'Geef album wachtwoord in', //cpg1.4
+		'invalid_pass' => 'Ongeldig wachtwoord', //cpg1.4
+		'pass' => 'Wachtwoord', //cpg1.4
+		'submit' => 'Verzenden', //cpg1.4
+	);
+	
+	$lang_img_nav_bar = array(
+		'thumb_title' => 'Terug naar de verkleinde afbeeldingspagina',
+		'pic_info_title' => 'Laat zien/verberg bestandsinformatie',
+		'slideshow_title' => 'Diashow',
+		'ecard_title' => 'Stuur dit bestand als een e-card',
+		'ecard_disabled' => 'e-cards zijn uitgeschakeld',
+		'ecard_disabled_msg' => 'Je hebt geen toestemming een e-cards te verzenden', //js-alert
+		'prev_title' => 'Bekijk voorgaand bestand',
+		'next_title' => 'Bekijk volgend bestand',
+		'pic_pos' => 'Bestand %s / %s', 
+		'report_title' => 'Dien een klacht over dit bestand in bij de beheerder', //cpg1.4
+		'go_album_end' => 'Direct naar einde', //cpg1.4
+		'go_album_start' => 'Direct naar begin', //cpg1.4
+		'go_back_x_items' => 'ga %s stappen terug', //cpg1.4
+		'go_forward_x_items' => 'ga %s stappen vooruit', //cpg1.4
+	);
+	
+	$lang_rate_pic = array(
+		'rate_this_pic' => 'Beoordeel dit bestand ',
+		'no_votes' => '(Nog geen stemmen)',
+		'rating' => '(huidige beoordeling : %s / 5 met %s stemmen)',
+		'rubbish' => 'Rotzooi',
+		'poor' => 'Zwak',
+		'fair' => 'Gemiddeld',
+		'good' => 'Goed',
+		'excellent' => 'Uitstekend',
+		'great' => 'Geweldig',
+	); 
+	
+	// ------------------------------------------------------------------------- //
+	// File include/exif.inc.php
+	// ------------------------------------------------------------------------- //
+	
+	// void
+	
+	// ------------------------------------------------------------------------- //
+	// File include/functions.inc.php
+	// ------------------------------------------------------------------------- //
+	
+	$lang_cpg_die = array(
+		INFORMATION => $lang_info,
+		ERROR => $lang_error,
+		CRITICAL_ERROR => 'Kritieke fout',
+		'file' => 'Bestand: ',
+		'line' => 'Regel: ',
+	);
+	
+	$lang_display_thumbnails = array(
+		'filename' => 'Bestandsnaam : ', //cpg1.4
+		'filesize' => 'Bestandsgrootte : ', //cpg1.4
+		'dimensions' => 'Afmetingen : ', //cpg1.4
+		'date_added' => 'Datum toegevoegd : ', //cpg1.4
+	);
+	
+	$lang_get_pic_data = array(
+		'n_comments' => '%s commentaren',
+		'n_views' => '%s x bekeken',
+		'n_votes' => '(%s stemmen)',
+	);
+	
+	$lang_cpg_debug_output = array(
+		'debug_info' => 'Foutenverwijderings-informatie',
+		'select_all' => 'Selecteer alles',
+		'copy_and_paste_instructions' => 'Als je om hulp gaat vragen op het Coppermine-forum, knip-en-plak dan deze foutenverwijderings-gegevens in je forumbericht.',
+		'phpinfo' => 'toon phpinfo',
+		'notices' => 'Mededelingen', //cpg1.4
+	);
+	
+	$lang_language_selection = array(
+		'reset_language' => 'Standaardtaal',
+		'choose_language' => 'Kies een taal',
+	);
+	
+	$lang_theme_selection = array(
+		'reset_theme' => 'Standaardthema',
+		'choose_theme' => 'Kies een thema',
+	); 
+	
+	$lang_version_alert = array(
+		'version_alert' => 'Niet ondersteunde versie!', //cpg1.4
+		'no_stable_version' => 'Je draait Coppermine  %s (%s). Deze is niet bedoeld voor beginnende gebruikers - deze versie wordt niet ondersteund en is zonder enige garantie op een goede werking. Gebruik deze versie is voor eigen risico of download de laatste stabiele versie als je toch ondersteuning wilt hebben!',
+		'gallery_offline' => 'Deze gallerij is momenteel niet beschikbaar anders dan door de beheerder. Vergeet niet weer terug te schakelen naar de online versie als het onderhoud is gedaan.',
+	);
+	
+	$lang_create_tabs = array(
+		'previous' => 'vorige', //cpg1.4
+		'next' => 'volgende', //cpg1.4
+	); 
+	
+	// ------------------------------------------------------------------------- //
+	// File include/init.inc.php
+	// ------------------------------------------------------------------------- //
+	
+	// void
+	
+	// ------------------------------------------------------------------------- //
+	// File keyword.inc.php                                                      //
+	// ------------------------------------------------------------------------- //
+	
+	// void
+	
+	// ------------------------------------------------------------------------- //
+	// File include/picmgmt.inc.php
+	// ------------------------------------------------------------------------- //
+	
+	// void
+	
+	// ------------------------------------------------------------------------- //
+	// File include/plugin_api.inc.php
+	// ------------------------------------------------------------------------- //
+	$lang_plugin_api = array(
+		'error_wakeup' => "Kan plugin '%s' niet uit standby halen", //cpg1.4
+		'error_install' => "Kan plugin '%s' niet installeren", //cpg1.4
+		'error_uninstall' => "Kan plugin '%s' niet deïnstalleren", //cpg1.4
+		'error_sleep' => "Kan plugin '%s' niet standby schakelen<br/>", //cpg1.4
+	);
+
+	// ------------------------------------------------------------------------- //
+	// File include/smilies.inc.php
+	// ------------------------------------------------------------------------- //
+	
+	if (defined('SMILIES_PHP')) $lang_smilies_inc_php = array(
+		'Exclamation' => 'Uitroepteken',
+		'Question' => 'Vraag',
+		'Very Happy' => 'Zeer gelukkig',
+		'Smile' => 'Glimlach',
+		'Sad' => 'Bedroefd',
+		'Surprised' => 'Verbaasd',
+		'Shocked' => 'Geshockeerd',
+		'Confused' => 'Verward',
+		'Cool' => 'Cool',
+		'Laughing' => 'Lachen',
+		'Mad' => 'Gek',
+		'Razz' => 'Uitlachen',
+		'Embarassed' => 'Verlegen',
+		'Crying or Very sad' => 'Huilen of erg bedroefd',
+		'Evil or Very Mad' => 'Slecht of zeer gek',
+		'Twisted Evil' => 'Volledig geschift',
+		'Rolling Eyes' => 'Rollende ogen',
+		'Wink' => 'Knipoog',
+		'Idea' => 'Idee',
+		'Arrow' => 'Pijl',
+		'Neutral' => 'Neutraal',
+		'Mr. Green' => 'Meneer Groen',
+	);
+
+	// ------------------------------------------------------------------------- //
+	// File addpic.php
+	// ------------------------------------------------------------------------- //
+	
+	// void
+	
+	// ------------------------------------------------------------------------- //
+	// File mode.php
+	// ------------------------------------------------------------------------- //
+	
+	if (defined('MODE_PHP')) $lang_mode_php = array(
+		0 => 'Verlaten beheerder modus...',
+		1 => 'Starten beheerder modus...',
+	);
+
+	// ------------------------------------------------------------------------- //
+	// File albmgr.php
+	// ------------------------------------------------------------------------- //
+	
+	if (defined('ALBMGR_PHP')) $lang_albmgr_php = array(
+		'alb_need_name' => 'Albums moeten een naam hebben!', //js-alert
+		'confirm_modifs' => 'Weet je zeker dat je deze wijzigingen wilt maken?', //js-alert
+		'no_change' => 'Je hebt geen enkele wijziging gedaan!', //js-alert
+		'new_album' => 'Nieuw album',
+		'confirm_delete1' => 'Weet je het zeker dat je dit album wilt verwijderen?', //js-alert
+		'confirm_delete2' => '\nAlle bestanden en commentaren zullen verloren gaan!', //js-alert
+		'select_first' => 'Selecteer eerst een album.', //js-alert
+		'alb_mrg' => 'Album beheer',
+		'my_gallery' => '* Mijn galerij *',
+		'no_category' => '* Geen categorie *',
+		'delete' => 'Verwijder',
+		'new' => 'Nieuw',
+		'apply_modifs' => 'Pas wijzigingen toe',
+		'select_category' => 'Selecteer categorie',
+	); 
+
+	// ------------------------------------------------------------------------- //
+	// File banning.php //cpg1.4
+	// ------------------------------------------------------------------------- //
+	
+	if (defined('BANNING_PHP')) $lang_banning_php = array(
+		'title' => 'Verban gebruikers', //cpg1.4
+		'user_name' => 'Gebruikers naam', //cpg1.4
+		'ip_address' => 'IP Adres', //cpg1.4
+		'expiry' => 'Verloopt (leeg is voor altijd)', //cpg1.4
+		'edit_ban' => 'Sla wijzigingen op', //cpg1.4
+		'delete_ban' => 'Verwijder', //cpg1.4
+		'add_new' => 'Voeg nieuwe verbanning toe', //cpg1.4
+		'add_ban' => 'Toevoegen', //cpg1.4
+		'error_user' => 'Kan de gebruiker niet vinden', //cpg1.4
+		'error_specify' => 'Je moet een waarde opgeven met ofwel een gebruikersnaam ofwel een IP adres', //cpg1.4
+		'error_ban_id' => 'Ongeldig verban ID!', //cpg1.4
+		'error_admin_ban' => 'Je kan jezelf niet verbannen!', //cpg1.4
+		'error_server_ban' => 'Weet je zeker dat je je eigen server wilt verbannan. Nou nou, dat kan dus effe niet...', //cpg1.4
+		'error_ip_forbidden' => 'Je kan dit IP adres niet verbannen - het is een LAN (niet-publiek) adres!<br/>Als je toch een niet-publiek IP adres wilt verbannen, wijzig dit dan in de <a href="admin.php">Instellingen</a> (dit heeft alleen zit als je Coppermine binnen een LAN draait).', //cpg1.4
+		'lookup_ip' => 'Een IP adres opzoeken', //cpg1.4
+		'submit' => 'Start!', //cpg1.4
+		'select_date' => 'selecteer datum', //cpg1.4
+	); 
+
+	// ------------------------------------------------------------------------- //
+	// File bridgemgr.php //cpg1.4
+	// ------------------------------------------------------------------------- //
+	
+	if (defined('BRIDGEMGR_PHP')) $lang_bridgemgr_php = array(
+		'title' => 'Integratie Wizard', //cpg1.4
+		'warning' => 'Waarschuwing: bij het gebruik van deze wizard moet je goed begrijpen dat persoonijke informatie wordt verzonden in de formulieren. Voer dit programma alleen op je eigen PC uit (niet op een openbare computer of in bv een internet cafe) en maak na afloop de browser cache en tijdelijke bestanden leeg. Anders kunnen anderen deze informatie lezen!', //cpg1.4
+		'back' => 'terug', //cpg1.4
+		'next' => 'volgende', //cpg1.4
+		'start_wizard' => 'Start integratie wizard', //cpg1.4
+		'finish' => 'Klaar', //cpg1.4
+		'hide_unused_fields' => 'verberg ongebruikte formulier velden (aanbevolen)', //cpg1.4
+		'clear_unused_db_fields' => 'maak ongeldige database waarden leeg (aanbevolen)', //cpg1.4
+		'custom_bridge_file' => 'je eigen integratie bestandsnaam (als de integratie bestandnaam <i>myfile.inc.php</i> is, voer dan <i>myfile</i> in dit veld in)', //cpg1.4
+		'no_action_needed' => 'Geen actie is nodig in deze stap. Druk op \'volgende\' om door te gaan.', //cpg1.4
+		'reset_to_default' => 'Terugzetten naar de standaard waarde', //cpg1.4
+		'choose_bbs_app' => 'kies een programma uit om Coppermine mee te laten integreren', //cpg1.4
+		'support_url' => 'Klik hier voor ondersteuning bij dit programma', //cpg1.4
+		'settings_path' => 'pad(en) gebruik bij jou BBS programma', //cpg1.4
+		'database_connection' => 'database verbinding', //cpg1.4
+		'database_tables' => 'database tabellen', //cpg1.4
+		'bbs_groups' => 'BBS groepen', //cpg1.4
+		'license_number' => 'Licentie nummer', //cpg1.4
+		'license_number_explanation' => 'voer je licentienummer in (indien nodig)', //cpg1.4
+		'db_database_name' => 'Database naam', //cpg1.4
+		'db_database_name_explanation' => 'Geed de naam van de database van de BBS programma in', //cpg1.4
+		'db_hostname' => 'Database host', //cpg1.4
+		'db_hostname_explanation' => 'Hostname waar je mySQL database staat, normaal gesproken &quot;localhost&quot;', //cpg1.4
+		'db_username' => 'Database gebruikersnaam', //cpg1.4
+		'db_username_explanation' => 'mySQL gebruikersnaam voor verbinding met je BBS programmatuur', //cpg1.4
+		'db_password' => 'Database wachtwoord', //cpg1.4
+		'db_password_explanation' => 'Wachtwoord voor deze mySQL gebruikersnaam', //cpg1.4
+		'full_forum_url' => 'Forum URL', //cpg1.4
+		'full_forum_url_explanation' => 'Volledige URL naar je BBS programma (inclusief http://, bijvoorbeeld http://www.yourdomain.tld/forum)', //cpg1.4
+		'relative_path_of_forum_from_webroot' => 'Relatief pad naar je BBS programma', //cpg1.4
+		'relative_path_of_forum_from_webroot_explanation' => 'Relatief pad naar de BBS programma vanaf de webroot (bv: als je BBS progamma staat in http://www.yourdomain.tld/forum/, voer dan &quot;/forum/&quot; in dit veld in)', //cpg1.4
+		'relative_path_to_config_file' => 'Relatief pad naar het BBS programma configuratie bestand', //cpg1.4
+		'relative_path_to_config_file_explanation' => 'Relatief pad naar het BBS programma configuratie bestand, gezien vanuit de Coppermine directory (bv &quot;../forum/&quot; als je BBS programma staat in http://www.yourdomain.tld/forum/ en Coppermine in http://www.yourdomain.tld/gallery/)', //cpg1.4
+		'cookie_prefix' => 'Cookie prefix', //cpg1.4
+		'cookie_prefix_explanation' => 'dit is de naam van de cookie van je BBS programma', //cpg1.4
+		'table_prefix' => 'Tabel prefix', //cpg1.4
+		'table_prefix_explanation' => 'Moet gelijk zijn aan de prefix die je gebruikte toen je het BBS programma installeerde.', //cpg1.4
+		'user_table' => 'Gebruikers tabel', //cpg1.4
+		'user_table_explanation' => '(normaal gesproken moet de standaard waarde goed zijn, tenzij je installatie van je BBS programma niet standaard was)', //cpg1.4 //cpg1.4
+		'session_table' => 'Sessie tabel', //cpg1.4
+		'session_table_explanation' => '(normaal gesproken moet de standaard waarde goed zijn, tenzij je installatie van je BBS programma niet standaard was)', //cpg1.4
+		'group_table' => 'Groepen tabel', //cpg1.4
+		'group_table_explanation' => '(normaal gesproken moet de standaard waarde goed zijn, tenzij je installatie van je BBS programma niet standaard was)', //cpg1.4
+		'group_relation_table' => 'Groep relatie tabel', //cpg1.4
+		'group_relation_table_explanation' => '(normaalgesproken moet de standaard waarde goed zijn, tenzij je installatie van je BBS programma niet standaard was)', //cpg1.4
+		'group_mapping_table' => 'Groep koppellingen tabel', //cpg1.4
+		'group_mapping_table_explanation' => '(normaalgesproken moet de standaard waarde goed zijn, tenzij je installatie van je BBS programma niet standaard was)', //cpg1.4
+		'use_standard_groups' => 'Gebruik standaard BBS gebruikersgroepen', //cpg1.4
+		'use_standard_groups_explanation' => 'Gebruik de standaard (ingebouwde) gebruikersgroepen (aanbevolen). Deze optie laat alle eigengemaakte aanpassingen in gebruikersgroepen vervallen. Gebruik deze optie alleen als je ZEKER bent dat je weet wat je doet!', //cpg1.4
+		'validating_group' => 'Gevalideerden groep', //cpg1.4
+		'validating_group_explanation' => 'De groeps ID van het BBS programma waar de gebruikersnamen staan die gevalideerd moeten worden. (Normaal gesproken moet de standaard waarde goed zijn, tenzij je installatie van je BBS programma niet standaard was)', //cpg1.4
+		'guest_group' => 'Gasten groep', //cpg1.4
+		'guest_group_explanation' => 'De groeps ID van het BBS programma waar de gasten in staan. (De standaard waarde moet goed zijn, tenzij je installatie van je BBS programma niet standaard was)', //cpg1.4
+		'member_group' => 'Leden groep', //cpg1.4
+		'member_group_explanation' => 'De groeps ID van het BBS programma waar de leden in staan. (De standaard waarde moet goed zijn, tenzij je installatie van je BBS programma niet standaard was)', //cpg1.4
+		'admin_group' => 'Beheerders groep', //cpg1.4
+		'admin_group_explanation' => 'De groeps ID van het BBS programma waar de beheerders in staan. (De standaard waarde moet goed zijn, tenzij je installatie van je BBS programma niet standaard was)', //cpg1.4
+		'banned_group' => 'Verbannen groep', //cpg1.4
+		'banned_group_explanation' => 'De groeps ID van het BBS programma waar de verbannen leden in staan. (De standaard waarde moet goed zijn, tenzij je installatie van je BBS programma niet standaard was)', //cpg1.4
+		'global_moderators_group' => 'Moderators groep', //cpg1.4
+		'global_moderators_group_explanation' => 'De groeps ID van het BBS programma waar de moderators in staan. (De standaard waarde moet goed zijn, tenzij je installatie van je BBS programma niet standaard was)', //cpg1.4
+		'special_settings' => 'BBS-specifieke instellingen', //cpg1.4
+		'logout_flag' => 'phpBB versie (logout waarde)', //cpg1.4
+		'logout_flag_explanation' => 'Wat is de versie van het BBS programma (deze instelling bepaalt hoe logouts worden afgehandeld)', //cpg1.4
+		'use_post_based_groups' => 'Gebruik bericht gebaseerde groepen?', //cpg1.4
+		'logout_flag_yes' => '2.0.5 of hoger', //cpg1.4
+		'logout_flag_no' => '2.0.4 of lager', //cpg1.4
+		'use_post_based_groups_explanation' => 'Moeten de groepen van het BBS programma die zijn bepaald aan de hand van het aantal post worden meegenomen (andersoortige toegangs rechten) of alleen de standaard groepen (eenvoidig beheer - aanbevolen). Deze instelling kan ook later worden aangepast.', //cpg1.4
+		'use_post_based_groups_yes' => 'ja', //cpg1.4
+		'use_post_based_groups_no' => 'nee', //cpg1.4
+		'error_title' => 'Je moet de fouten herstellen om door te gaan. Ga naar het vorige scherm.', //cpg1.4
+		'error_specify_bbs' => 'Je moet het programma opgeven welke je met Coppermine wilt integreren.', //cpg1.4
+		'error_no_blank_name' => 'Je moet een bestandsnaam invoeren van je integratie bestand.', //cpg1.4
+		'error_no_special_chars' => 'De integratie bestandsnaam mag geen speciale tekens bevatten behalve de underscore (_) en het streepje (-)!', //cpg1.4
+		'error_bridge_file_not_exist' => 'Het integratie bestand %s bestaat niet op de server. Controleer of deze goed is geupload.', //cpg1.4
+		'finalize' => 'Zet BBS integratie aan/uit', //cpg1.4
+		'finalize_explanation' => 'Ton nu toe zijn de instellingen opgeslagen in de database, maar de BBS integratioe in nog niet aangezet. Je kan de integratie op ieder moment aan of uitzetten. Onthoud de beheerders naam van de standalone Coppermine installatie goed, deze heb je later weer nodig om wijzigingen aan te brengen. Als er iets verkeerd gaat, ga naar %s en zet de BBS integratie weer uit met behulp van je standalone Coppermine gebruikersnaam en wachtwoord (die je hebt ingegeven tijdens de installatie van Coppermine).', //cpg1.4
+		'your_bridge_settings' => 'De integratie instellingen', //cpg1.4
+		'title_enable' => 'Zet integratie aan met %s', //cpg1.4
+		'bridge_enable_yes' => 'zet aan', //cpg1.4
+		'bridge_enable_no' => 'zet uit', //cpg1.4
+		'error_must_not_be_empty' => 'mag niet leeg zijn', //cpg1.4
+		'error_either_be' => 'moet of %s of %s zijn', //cpg1.4
+		'error_folder_not_exist' => '%s bestaat niet. Corrigeer de ingegeven waarde %s', //cpg1.4
+		'error_cookie_not_readible' => 'Coppermine kan de cookie met de naam %s niet lezen. Herstel de waarde die je hebt ingevoerd voor %s, of ga naar het BBS installatie scherm en zorg ervoor dat de cookie directory is leesbaar voor Coppermine.',  //cpg1.4
+		'error_mandatory_field_empty' => 'Je kunt het veld %s niet leeglaten. Vul een goede waarde in.', //cpg1.4
+		'error_no_trailing_slash' => 'Er mag geen slash (\\) aan het eind van het veld %s staan.', //cpg1.4
+		'error_trailing_slash' => 'Er moet een slash (\\) aan het einde van veld %s staan.', //cpg1.4
+		'error_db_connect' => 'Kan geen contact krijgen met de mySQL database met de opgegeven informatie. mySQL gaf de volgende melding:', //cpg1.4
+		'error_db_name' => 'Ondanks dat Coppermine een verbinding tot stand kon brengen, kan de database %s niet gebonden worden. Zorg ervoor dat je %s goed hebt gedifinieerd. mySQL gad de volgende melding:', //cpg1.4
+		'error_prefix_and_table' => '%s en ', //cpg1.4
+		'error_db_table' => 'Kan de tabel %s niet vinden. Zorg ervoor dat je de waarde %s goed hebt ingegeven.', //cpg1.4
+		'recovery_title' => 'Integratie Beheer: noodreparatie', //cpg1.4
+		'recovery_explanation' => 'Als je hier kwam als beheerder van de BBS integratie van Coppermine, moet je eerst als beheerder inloggen. Als je niet kan inloggen omdat er een fout zit in de integratei, kan je deze uitzetten op deze pagina. Na opgave van je gebruikersnaam en wachtwoord laat je niet inloggen, maar zal de BBS integratie uitzetten. Kijk in de documentatie voor meer informatie.', //cpg1.4
+		'username' => 'Gebruikersnaam', //cpg1.4
+		'password' => 'Wachtwoord', //cpg1.4
+		'disable_submit' => 'Verzenden', //cpg1.4
+		'recovery_success_title' => 'Inloggen gelukt', //cpg1.4
+		'recovery_success_content' => 'Het is gelukt om de BBS integratie uit te zetten. Coppermine draait nu weer standalone.', //cpg1.4
+		'recovery_success_advice_login' => 'Log in als beheerder om de instellingen van de BBS integratie te wijzigen of om de integratie aan of uit te zetten.', //cpg1.4
+		'goto_login' => 'Ga naar de login pagina', //cpg1.4
+		'goto_bridgemgr' => 'Ga naar integratie beheer', //cpg1.4
+		'recovery_failure_title' => 'Inloggen mislukt', //cpg1.4
+		'recovery_failure_content' => 'Je hebt de verkeerde inloggegevens opgegeven. Je moet een beheerdersnaam en wachtwoord opgeven van de standalone Coppermine (die is ingesteld tijdens de installatie).', //cpg1.4
+		'try_again' => 'probeer opnieuw', //cpg1.4
+		'recovery_wait_title' => 'De wachtijd is over', //cpg1.4
+		'recovery_wait_content' => 'Om veiligheidsredenen is het script niet bevoegd om zovaak achter elkaar in te loggen, je moet nu eerst wachten om het later nog eens te kunnen proberen.', //cpg1.4
+		'wait' => 'wacht', //cpg1.4
+		'create_redir_file' => 'Maak verwijsbestand aan (aanbevolen)', //cpg1.4
+		'create_redir_file_explanation' => 'Om gebruikers terug te laten keren naar Coppermine als ze zijn ingelogd op het BBS, moet er een overzet bestand worden aangemaakt in de directory van het BBS programma. Als deze optie aan stgaan, integratie beheer zal proberen dit bestand aan te maken, of je krijgt de mogelijkheid de code te kopieren, een bestand zelf aan te maken en dat de code te plakken.', //cpg1.4
+		'browse' => 'blader', //cpg1.4
+	);
+
+	// ------------------------------------------------------------------------- //
+	// File calendar.php //cpg1.4
+	// ------------------------------------------------------------------------- //
+	
+	if (defined('CALENDAR_PHP')) $lang_calendar_php = array(
+		'title' => 'Kalender', //cpg1.4
+		'close' => 'sluiten', //cpg1.4
+		'clear_date' => 'maak datumveld leeg', //cpg1.4
+	);
+
+	// ------------------------------------------------------------------------- //
+	// File catmgr.php
+	// ------------------------------------------------------------------------- //
+	
+	if (defined('CATMGR_PHP')) $lang_catmgr_php = array(
+		'miss_param' => 'Vereiste parameters voor \'%s\'bewerking niet gegeven !',
+		'unknown_cat' => 'Geselecteerde categorie bestaat niet in database',
+		'usergal_cat_ro' => 'Gebruikersgalerijen-categorie kan niet verwijderd worden !',
+		'manage_cat' => 'Beheer categorieën',
+		'confirm_delete' => 'Weet je zeker dat je deze categorie wilt VERWIJDEREN', //js-alert
+		'category' => 'Categorie',
+		'operations' => 'Bewerkingen',
+		'move_into' => 'Verplaats naar',
+		'update_create' => 'Aanpassen/Creëer categorie',
+		'parent_cat' => 'Ouder categorie',
+		'cat_title' => 'Categorie titel',
+		'cat_thumb' => 'Categorie verkleinde afbeelding',
+		'cat_desc' => 'Categorie-omschrijving', 
+		'categories_alpha_sort' => 'Sorteer categorieën alfabetisch (in plaats van willekeurig)',
+		'save_cfg' => 'Bewaar instellingen', //cpg1.4
+	);
+
+	// ------------------------------------------------------------------------- //
+	// File admin.php //cpg1.4
+	// ------------------------------------------------------------------------- //
+	
+	if (defined('ADMIN_PHP')) $lang_admin_php = array(
+		'title' => 'Gallerij Instellingen', //cpg1.4
+		'manage_exif' => 'Beheer exif weergave', //cpg1.4
+		'manage_plugins' => 'Beheer plugins', //cpg1.4
+		'manage_keyword' => 'Beheer zoekbegrippen', //cpg1.4
+		'restore_cfg' => 'Standaard instellingen terugzetten', //cpg1.4
+		'save_cfg' => 'Bewaar nieuwe instellingen', //cpg1.4
+		'notes' => 'Notities', //cpg1.4
+		'info' => 'Informatie', //cpg1.4
+		'upd_success' => 'Coppermine instellingen zijn opgeslagen', //cpg1.4
+		'restore_success' => 'Coppermine standaard instellingen zijn teruggezet', //cpg1.4
+		'name_a' => 'Naam oplopend', //cpg1.4
+		'name_d' => 'Naam aflopend', //cpg1.4
+		'title_a' => 'Titel oplopend', //cpg1.4
+		'title_d' => 'Titel aflopend', //cpg1.4
+		'date_a' => 'Datum oplopend', //cpg1.4
+		'date_d' => 'Datum aflopend', //cpg1.4
+		'pos_a' => 'Positie aflopend', //cpg1.4
+		'pos_d' => 'Positie aflopend', //cpg1.4
+		'th_any' => 'Maximaal', //cpg1.4
+		'th_ht' => 'Hoogte', //cpg1.4
+		'th_wd' => 'Breedte', //cpg1.4
+		'label' => 'tekst', //cpg1.4
+		'item' => 'item', //cpg1.4
+		'debug_everyone' => 'Iedereen', //cpg1.4
+		'debug_admin' => ' Alleen beheerders', //cpg1.4
+		'no_logs'=> 'Uit', //cpg1.4
+		'log_normal'=> 'Normaal', //cpg1.4
+		'log_all' => 'Alles', //cpg1.4
+		'view_logs' => 'Bekijk logging', //cpg1.4
+		'click_expand' => 'klik op de sectie naam deze uit te klappen', //cpg1.4
+		'expand_all' => 'Uit/inklappen', //cpg1.4
+		'notice1' => '(*) Deze instellingen mogen niet worden aangepast als je al waardes in de gegevens hebt zitten.', //cpg1.4
+		'notice2' => '(**) Als deze waarde wordt aangepast zullen alleen bestanden vanaf dit moment beïnvloed worden. Het is aanbevolen deze waarden niet aan te passen als er al bestanden in de database zitten. Je kunt waardes aanpassen via het &quot;<a href="util.php">beheerders gereedschappen</a> menu (afbeeldinggrootte aanpassen)&quot;.',  //cpg1.4
+		'notice3' => '(***) Alle loggings zijn in het Engels.', //cpg1.4
+		'bbs_disabled' => 'Deze functie is uitgeschakeld als het bbs is geintegreerd', //cpg1.4
+		'auto_resize_everyone' => ' Iedereen', //cpg1.4
+		'auto_resize_user' => ' Alleen leden', //cpg1.4
+		'ascending' => 'aflopend', //cpg1.4
+		'descending' => 'oplopend', //cpg1.4
+	);
+	
+	if (defined('ADMIN_PHP')) $lang_admin_data = array(
+		'Algemene instellingen',
+		array('Gallerij naam', 'gallery_name', 0, 'f=index.htm&amp;as=admin_general_name&amp;ae=admin_general_name_end'), //cpg1.4
+		array('Gallerij omschrijving', 'gallery_description', 0, 'f=index.htm&amp;as=admin_general_description&amp;ae=admin_general_description_end'), //cpg1.4
+		array('Gallerij email van de beheerder', 'gallery_admin_email', 0, 'f=index.htm&amp;as=admin_general_email&amp;ae=admin_general_email_end'), //cpg1.4
+		array('URL van de Coppermine directory (geen \'index.php\' of zoiets aan het einde)', 'ecards_more_pic_target', 0, 'f=index.htm&amp;as=admin_general_coppermine-url&amp;ae=admin_general_coppermine-url_end'), //cpg1.4
+		array('URL van je begin pagina', 'home_target', 0, 'f=index.htm&amp;as=admin_general_home-url&amp;ae=admin_general_home-url_end'), //cpg1.4
+		array('Sta ZIP-downloads van favorieten toe', 'enable_zipdownload', 1, 'f=index.htm&amp;as=admin_general_zip-download&amp;ae=admin_general_zip-download_end'), //cpg1.4
+		array('Tijdszone ten opzichte van GMT (huidige tijd: ' . localised_date(-1, $comment_date_fmt) . ')','time_offset',0, 'f=index.htm&amp;as=admin_general_time-offset&amp;ae=admin_general_time-offset_end&amp;top=1'), //cpg1.4
+		array('Activeer versleutelde wachtwoorden (kan niet ongedaan worden gemaakt)','enable_encrypted_passwords',1, 'f=index.htm&amp;as=admin_general_encrypt_password_start&amp;ae=admin_general_encrypt_password_end&amp;top=1'), // cpg 1.4
+		array('Activeer helpfunctie (help is alleen beschikbaar in het Engels)','enable_help',9, 'f=index.htm&amp;as=admin_general_help&amp;ae=admin_general_help_end'), //cpg1.4
+		array('Zoekbegrippen zijn interactief','clickable_keyword_search',14, 'f=index.htm&amp;as=admin_general_keywords_start&amp;ae=admin_general_keywords_end'), //cpg1.4
+		array('Activeer plugins', 'enable_plugins', 12, 'f=index.htm&amp;as=admin_general_enable-plugins&amp;ae=admin_general_enable-plugins_end'),  //cpg1.4
+		array('Sta verbannen van niet-routeerbare (NAT/locale) IP adressen toe', 'ban_private_ip', 1,  'f=index.htm&amp;as=admin_general_private-ip&amp;ae=admin_general_private-ip_end'), //cpg1.4
+		array('Gebruikersvriendelijke interface voor toevoegen via de batch', 'browse_batch_add', 1, 'f=index.htm&amp;as=admin_general_browsable_batch_add&amp;ae=admin_general_browsable_batch_add_end'), //cpg1.4
+	
+		'Taal &amp; Karakterset instellingen',
+		array('Taal', 'lang', 5, 'f=index.htm&amp;as=admin_language_language&amp;ae=admin_language_language_end'), //cpg1.4
+		array('Val terug op Engels bij een niet aanwezige vertaling?', 'language_fallback', 1, 'f=index.htm&amp;as=admin_language_fallback&amp;ae=admin_language_fallback_end'), //cpg1.4
+		array('Karakterset', 'charset', 4, 'f=index.htm&amp;as=admin_language_charset&amp;ae=admin_language_charset_end'), //cpg1.4
+		array('Laat taal lijst zien', 'language_list', 1, 'f=index.htm&amp;as=admin_language_list&amp;ae=admin_language_list_end'), //cpg1.4
+		array('Laat taal vlaggen zien', 'language_flags', 8, 'f=index.htm&amp;as=admin_language_flags&amp;ae=admin_language_flags_end&amp;top=1'), //cpg1.4
+		array('Geef &quot;reset&quot; weer in taal lijst', 'language_reset', 1, 'f=index.htm&amp;as=admin_language_reset&amp;ae=admin_language_reset_end&amp;top=1'), //cpg1.4
+		//array('Display previous/next on tabbed pages', 'previous_next_tab', 1), //cpg1.4
+	
+		'Thema instellingen',
+		array('Thema', 'theme', 6, 'f=index.htm&amp;as=admin_theme_theme&amp;ae=admin_theme_theme_end'), //cpg1.4
+		array('Laat thema lijst zien', 'theme_list', 1, 'f=index.htm&amp;as=admin_theme_theme_list&amp;ae=admin_theme_theme_list_end'), //cpg1.4
+		array('Geef &quot;reset&quot; weer in thema lijst', 'theme_reset', 1, 'f=index.htm&amp;as=admin_theme_theme_reset&amp;ae=admin_theme_theme_reset_end'), //cpg1.4
+		array('Laat FAQ zien', 'display_faq', 1, 'f=index.htm&amp;as=admin_theme_faq&amp;ae=admin_theme_faq_end'), //cpg1.4
+		array('Eigen menu optie titel', 'custom_lnk_name', 0,'f=index.htm&amp;as=admin_theme_custom_lnk_name&amp;ae=admin_theme_custom_lnk_name_end'), //cpg1.4
+		array('URL voor eigen menu', 'custom_lnk_url', 0,'f=index.htm&amp;as=admin_language_custom_lnk_url&amp;ae=admin_language_custom_lnk_url_end'), //cpg1.4
+		array('Laat bbcode help zien', 'show_bbcode_help', 1, 'f=index.htm&amp;as=admin_theme_bbcode&amp;ae=admin_theme_bbcode_end&amp;top=1'), //cpg1.4
+		array('Geef blok met informatie weer bij thema\'s die XHTML en CSS compliant zijn','vanity_block',1, 'f=index.htm&amp;as=vanity_block&amp;ae=vanity_block_end'), //cpg1.4
+		array('Relatief pad naar include file voor eigen header', 'custom_header_path', 0, 'f=index.htm&amp;as=admin_theme_include_path_start&amp;ae=admin_theme_include_path_end'), //cpg1.4
+		array('Relatief pad naar include file voor eigen footer', 'custom_footer_path', 0, 'f=index.htm&amp;as=admin_theme_include_path_start&amp;ae=admin_theme_include_path_end'), //cpg1.4
+	
+		'Albums lijst',
+		array('Breedte van de hoofdtabel (pixels of %)', 'main_table_width', 0, 'f=index.htm&amp;as=admin_album_table-width&amp;ae=admin_album_table-width_end'), //cpg1.4
+		array('Aantal niveau\'s catagorieën', 'subcat_level', 0, 'f=index.htm&amp;as=admin_album_category-levels&amp;ae=admin_album_category-levels_end'), //cpg1.4
+		array('Aantal albums per pagina', 'albums_per_page', 0, 'f=index.htm&amp;as=admin_album_number&amp;ae=admin_album_number_end'), //cpg1.4
+		array('Aantal kolommen in de album lijst', 'album_list_cols', 0, 'f=index.htm&amp;as=admin_album_columns&amp;ae=admin_album_columns_end'), //cpg1.4
+		array('Grootte van de thumbnails in pixels', 'alb_list_thumb_size', 0, 'f=index.htm&amp;as=admin_album_thumbnail-size&amp;ae=admin_album_thumbnail-size_end'), //cpg1.4
+		array('De layout van de hoofdpagina', 'main_page_layout', 0, 'f=index.htm&amp;as=admin_album_list_content&amp;ae=admin_album_list_content_end'), //cpg1.4
+		array('Geef afbeelding weer bij de hoofdniveau\'s van in de catagorieën','first_level',1, 'f=index.htm&amp;as=admin_album_first-level_thumbs&amp;ae=admin_album_first-level_thumbs_end'), //cpg1.4
+		array('Sorteer catagorieën alfabetisch (in plaats van eigen sorteervolgorde)','categories_alpha_sort',1, 'f=index.htm&amp;as=admin_album_list_alphasort_start&amp;ae=admin_album_list_alphasort_end'), //cpg1.4
+		array('Geef aantal afbeeldingen in het album weer','link_pic_count',1, 'f=index.htm&amp;as=admin_album_linked_files_start&amp;ae=admin_album_linked_files_end'), //cpg1.4
+	
+		'Thumbnails',
+		array('Aantal kolommen op de thumbnail pagina', 'thumbcols', 0, 'f=index.htm&amp;as=admin_thumbnail_columns&amp;ae=admin_thumbnail_columns_end'), //cpg1.4
+		array('Aantal rijen op de thumbnail pagina', 'thumbrows', 0, 'f=index.htm&amp;as=admin_thumbnail_rows&amp;ae=admin_thumbnail_rows_end'), //cpg1.4
+		array('Maximaal aantal tabbladen om weer te geven', 'max_tabs', 10, 'f=index.htm&amp;as=admin_thumbnail_tabs&amp;ae=admin_thumbnail_tabs_end'), //cpg1.4
+		array('Laat de bestandsnaam zien (samen met de titel)', 'caption_in_thumbview', 1, 'f=index.htm&amp;as=admin_thumbnail_display_caption&amp;ae=admin_thumbnail_display_caption_end'), //cpg1.4
+		array('Geef het aantal keer dat de afbeelding bekeken is weer', 'views_in_thumbview', 1, 'f=index.htm&amp;as=admin_thumbnail_display_views&amp;ae=admin_thumbnail_display_views_end'), //cpg1.4
+		array('Geef aantal keer dat commentaar gegeven is weer', 'display_comment_count', 1, 'f=index.htm&amp;as=admin_thumbnail_display_comments&amp;ae=admin_thumbnail_display_comments_end'), //cpg1.4
+		array('Geef naam van de eigenaar van de afbeelding weer', 'display_uploader', 1, 'f=index.htm&amp;as=admin_thumbnail_display_uploader&amp;ae=admin_thumbnail_display_uploader_end'), //cpg1.4
+		//array('Display name of admin uploaders below the thumbnail', 'display_admin_uploader', 1, 'f=index.htm&amp;as=admin_thumbnail_display_admin_uploader&amp;ae=admin_thumbnail_display_admin_uploader_end'), //cpg1.4
+		array('Geef bestandnaam weer', 'display_filename', 1, 'f=index.htm&amp;as=admin_thumbnail_display_filename&amp;ae=admin_thumbnail_display_filename_end'), //cpg1.4
+		//array('Geef album omschrijving weer', 'alb_desc_thumb', 1, 'f=index.htm&amp;as=admin_thumbnail_display_description&amp;ae=admin_thumbnail_display_description_end'), //cpg1.4
+		array('Standaard sorteervolgorde', 'default_sort_order', 3, 'f=index.htm&amp;as=admin_thumbnail_default_sortorder&amp;ae=admin_thumbnail_default_sortorder_end'), //cpg1.4
+		array('Minimum aantal stemmen dat er gedaan moet zijn voor de afbeelding wordt weergegeven in de \'beste gewaardeerd\' lijst', 'min_votes_for_rating', 0, 'f=index.htm&amp;as=admin_thumbnail_minimum_votes&amp;ae=admin_thumbnail_minimum_votes_end'), //cpg1.4
+	
+		'Afbeelding',
+		array('Breedte van de afbeelding (pixels of %)', 'picture_table_width', 0, 'f=index.htm&amp;as=admin_image_comment_table-width&amp;ae=admin_image_comment_table-width_end'), //cpg1.4
+		array('Uitgebreide informatie standaard zichtbaar', 'display_pic_info', 1, 'f=index.htm&amp;as=admin_image_comment_info_visible&amp;ae=admin_image_comment_info_visible_end'), //cpg1.4
+		array('Maximale lengte van de omschrijving', 'max_img_desc_length', 0, 'f=index.htm&amp;as=admin_image_comment_descr_length&amp;ae=admin_image_comment_descr_length_end'), //cpg1.4
+		array('Maximaal aantal karakers in een woord', 'max_com_wlength', 0, 'f=index.htm&amp;as=admin_image_comment_chars_per_word&amp;ae=admin_image_comment_chars_per_word_end'), //cpg1.4
+		array('Laat filmstrip zien', 'display_film_strip', 1, 'f=index.htm&amp;as=admin_image_comment_filmstrip_toggle&amp;ae=admin_image_comment_filmstrip_toggle_end'), //cpg1.4
+		array('Geef bestandsnaam weer onder de filmstrip', 'display_film_strip_filename', 1, 'f=index.htm&amp;as=admin_image_comment_display_film_strip_filename&amp;ae=admin_image_comment_display_film_strip_filename_end'), //cpg1.4
+		array('Aantal afbeeldingen in de filmstrip', 'max_film_strip_items', 0, 'f=index.htm&amp;as=admin_image_comment_filmstrip_number&amp;ae=admin_image_comment_filmstrip_number_end'), //cpg1.4
+		array('Interval tijd diashow in milliseconden (1 seconde = 1000 milliseconden)', 'slideshow_interval', 0, 'f=index.htm&amp;as=admin_image_comment_slideshow_interval&amp;ae=admin_image_comment_slideshow_interval_end'), //cpg1.4
+	
+		'Commentaar',
+		array('Filter niet nette woorden uit het commentaar', 'filter_bad_words', 1, 'f=index.htm&amp;as=admin_image_comment_bad_words&amp;ae=admin_image_comment_bad_words_end'), //cpg1.4
+		array('Sta smilies toe in commentaar', 'enable_smilies', 1, 'f=index.htm&amp;as=admin_image_comment_smilies&amp;ae=admin_image_comment_smilies_end'), //cpg1.4
+		array('Sta commentaar van een en dezelfde gebruiker achter elkaar toe (flood protection)', 'disable_comment_flood_protect', 1, 'f=index.htm&amp;as=admin_image_comment_flood&amp;ae=admin_image_comment_flood_end'), //cpg1.4
+		array('Maximaal aantal regels in het commentaar', 'max_com_lines', 0, 'f=index.htm&amp;as=admin_image_comment_lines&amp;ae=admin_image_comment_lines_end'), //cpg1.4
+		array('Maximale lengthe van het commentaar', 'max_com_size', 0, 'f=index.htm&amp;as=admin_image_comment_length&amp;ae=admin_image_comment_length_end'), //cpg1.4
+		array('Bericht beheerder van geplaatst commentaar via e-mail', 'email_comment_notification', 1, 'f=index.htm&amp;as=admin_image_comment_admin_notify&amp;ae=admin_image_comment_admin_notify_end'), //cpg1.4
+		array('Sorteervolgorder van commentaar', 'comments_sort_descending', 17, 'f=index.htm&amp;as=admin_comment_sort_start&amp;ae=admin_comment_sort_end'), //cpg1.4
+		array('Prefix voor niet aangemelde leden bij commentaar', 'comments_anon_pfx', 0, 'f=index.htm&amp;as=comments_anon_pfx&amp;ae=comments_anon_pfx_end'), //cpg1.4
+	
+		'Bestanden en thumbnails instellingen',
+		array('Kwaliteit van de JPEG bestanden', 'jpeg_qual', 0, 'f=index.htm&amp;as=admin_picture_thumbnail_jpeg_quality&amp;ae=admin_picture_thumbnail_jpeg_quality_end'), //cpg1.4
+		array('Maximale groottes van een thumbnail <a href="#notice2" class="clickable_option">**</a>', 'thumb_width', 0, 'f=index.htm&amp;as=admin_picture_thumbnail_max-dimension&amp;ae=admin_picture_thumbnail_max-dimension_end'), //cpg1.4
+		array('Gebruik groottes ( breedte of hoogte of maximaal voor de thumbnail ) <a href="#notice2" class="clickable_option">**</a>', 'thumb_use', 7, 'f=index.htm&amp;as=admin_picture_thumbnail_use-dimension&amp;ae=admin_picture_thumbnail_use-dimension_end'), //cpg1.4
+		array('Maak middelgrote afbeeldingen aan?','make_intermediate',1, 'f=index.htm&amp;as=admin_picture_thumbnail_intermediate_toggle&amp;ae=admin_picture_thumbnail_intermediate_toggle_end'), //cpg1.4
+		array('Maximale breedte of hoogte van de middelgrote afbeeldingen <a href="#notice2" class="clickable_option">**</a>', 'picture_width', 0, 'f=index.htm&amp;as=admin_picture_thumbnail_intermediate_dimension&amp;ae=admin_picture_thumbnail_intermediate_dimension_end'), //cpg1.4
+		array('Maximale grootte van de geuploade bestanden (KB)', 'max_upl_size', 0, 'f=index.htm&amp;as=admin_picture_thumbnail_max_upload_size&amp;ae=admin_picture_thumbnail_max_upload_size_end'), //cpg1.4
+		array('Maximale breedte of hoogte van geuploade bestanden (pixels)', 'max_upl_width_height', 0, 'f=index.htm&amp;as=admin_picture_thumbnail_max_upload_dimension&amp;ae=admin_picture_thumbnail_max_upload_dimension_end'), //cpg1.4
+		array('Pas grootte van de afbeeldingen automatisch aan indien groter dan de maximale waarden?', 'auto_resize', 16, 'f=index.htm&amp;as=admin_picture_thumbnail_auto-resize&amp;ae=admin_picture_thumbnail_auto-resize_end'), //cpg1.4
+	
+		'Bestanden en thumbnails geavanceerde instellingen',
+		array('Albums kunnen persoonlijk zijn (Let op: als je deze waarde van \'ja\' naar \'nee\' omzet, zullen alle persoonlijke albums publiek worden)', 'allow_private_albums', 1, 'f=index.htm&amp;as=admin_picture_thumb_advanced_private_toggle&amp;ae=admin_picture_thumb_advanced_private_toggle_end'), //cpg1.4
+		array('Geef persoonlijke albums icoon weer aan een niet ingelogde gebruiker','show_private',1, 'f=index.htm&amp;as=admin_picture_thumb_advanced_private_icon_show&amp;ae=admin_picture_thumb_advanced_private_icon_show_end'), //cpg1.4
+		array('Verboden karakerts in de bestandsnaam', 'forbiden_fname_char',0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_filename_forbidden_chars&amp;ae=admin_picture_thumb_advanced_filename_forbidden_chars_end'), //cpg1.4
+		//array('Accepted file extensions for uploaded pictures', 'allowed_file_extensions',0, 'f=index.htm&amp;as=&amp;ae=_end'), //cpg1.4
+		array('Toegestane afbeeldings formaten', 'allowed_img_types',0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_pic_extensions&amp;ae=admin_picture_thumb_advanced_pic_extensions_end'), //cpg1.4
+		array('Toegestane filmb formaten', 'allowed_mov_types',0, 'f=index.htm&amp;as=admin_thumbs_advanced_movie&amp;ae=admin_thumbs_advanced_movie_end'), //cpg1.4
+		array('Film weergave autostart', 'media_autostart',1, 'f=index.htm&amp;as=admin_movie_autoplay&amp;ae=admin_movie_autoplay_end'), //cpg1.4
+		array('Toegestane geluidsformaten', 'allowed_snd_types',0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_audio_extensions&amp;ae=admin_picture_thumb_advanced_audio_extensions_end'), //cpg1.4
+		array('Toegestanden documentformaten', 'allowed_doc_types',0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_doc_extensions&amp;ae=admin_picture_thumb_advanced_doc_extensions_end'), //cpg1.4
+		array('Wijze van aanpassen van de afbeeldingen','thumb_method',2, 'f=index.htm&amp;as=admin_picture_thumb_advanced_resize_method&amp;ae=admin_picture_thumb_advanced_resize_method_end'), //cpg1.4
+		array('Pad naar ImageMagick (bijvoorbeeld /usr/bin/X11/)', 'impath', 0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_im_path&amp;ae=admin_picture_thumb_advanced_im_path_end'), //cpg1.4
+		//array('Allowed image types (only valid for ImageMagick)', 'allowed_img_types',0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_allowed_imagetypes&amp;ae=admin_picture_thumb_advanced_allowed_imagetypes_end'), //cpg1.4
+		array('Command line opties voor ImageMagick', 'im_options', 0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_im_commandline&amp;ae=admin_picture_thumb_advanced_im_commandline_end'), //cpg1.4
+		array('Lees EXIF data uit JPEG bestanden', 'read_exif_data', 13, 'f=index.htm&amp;as=admin_picture_thumb_advanced_exif&amp;ae=admin_picture_thumb_advanced_exif_end'), //cpg1.4
+		array('Lees IPTC data uit JPEG bestanden', 'read_iptc_data', 1, 'f=index.htm&amp;as=admin_picture_thumb_advanced_iptc&amp;ae=admin_picture_thumb_advanced_iptc_end'), //cpg1.4
+		array('De album directory <a href="#notice1" class="clickable_option">*</a>', 'fullpath', 0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_albums_dir&amp;ae=admin_picture_thumb_advanced_albums_dir_end'), //cpg1.4
+		array('De gebruikers bestanden directory <a href="#notice1" class="clickable_option">*</a>', 'userpics', 0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_userpics_dir&amp;ae=admin_picture_thumb_advanced_userpics_dir_end'), //cpg1.4
+		array('De prefix voor middelgrote bestanden <a href="#notice1" class="clickable_option">*</a>', 'normal_pfx', 0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_intermediate_prefix&amp;ae=admin_picture_thumb_advanced_intermediate_prefix_end'), //cpg1.4
+		array('De prefix voor middelgrote thumbnails <a href="#notice1" class="clickable_option">*</a>', 'thumb_pfx', 0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_thumbs_prefix&amp;ae=admin_picture_thumb_advanced_thumbs_prefix_end'), //cpg1.4
+		array('Standaard toegangsrecht voor directories', 'default_dir_mode', 0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_chmod_folder&amp;ae=admin_picture_thumb_advanced_chmod_folder_end'), //cpg1.4
+		array('Standaard toegangsrecht voor bestanden', 'default_file_mode', 0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_chmod_files&amp;ae=admin_picture_thumb_advanced_chmod_files_end'), //cpg1.4
+	
+		'Gebruikers instellingen',
+		array('Sta nieuwe registraties toe', 'allow_user_registration', 1, 'f=index.htm&amp;as=admin_allow_registration&amp;ae=admin_allow_registration_end'), //cpg1.4
+		array('Sta gastgebruikers toe (gasten of anoniem)', 'allow_unlogged_access', 1, 'f=index.htm&amp;as=admin_allow_unlogged_access&amp;ae=admin_allow_unlogged_access_end'), //cpg1.4
+		array('Gebruikers registratie moet via email verificatie', 'reg_requires_valid_email', 1, 'f=index.htm&amp;as=admin_registration_verify&amp;ae=admin_registration_verify_end'), //cpg1.4
+		array('Geef melding via e-mail aan beheerder bij nieuwe gebruikersaanmelding', 'reg_notify_admin_email', 1, 'f=index.htm&amp;as=admin_registration_notify&amp;ae=admin_registration_notify_end'), //cpg1.4
+		array('Beheerder moet nieuwe gebruiker activeren', 'admin_activation', 1, 'f=index.htm&amp;as=admin_activation&amp;ae=admin_activation_end'),  //cpg1.4
+		array('Sta meerdere gebruikers met eenzelfde e-mail adres toe', 'allow_duplicate_emails_addr', 1, 'f=index.htm&amp;as=admin_allow_duplicate_emails_addr&amp;ae=admin_allow_duplicate_emails_addr_end'), //cpg1.4
+		array('Geef melding via e-mail aan beheerder bij klaarstaan bestanden voor upload', 'upl_notify_admin_email', 1, 'f=index.htm&amp;as=admin_approval_notify&amp;ae=admin_approval_notify_end'), //cpg1.4
+		array('Sta toe dat ingelogde gebruikers ledenlijst zien', 'allow_memberlist', 1, 'f=index.htm&amp;as=admin_user_memberlist&amp;ae=admin_user_memberlist_end'), //cpg1.4
+		array('Sta toe dat gebruikers hun e-mail adres in hun profiel kunnen wijzigen', 'allow_email_change', 1, 'f=index.htm&amp;as=admin_user_allow_email_change&amp;ae=admin_user_allow_email_change_end'), //cpg1.4
+		array('Sta toe dat gebruikers volledig beheer over hun eigen afbeeldingen hebben in openbare gallerijen', 'users_can_edit_pics', 1, 'f=index.htm&amp;as=admin_user_editpics_public_start&amp;ae=admin_user_editpics_public_end'), //cpg1.4
+		array('Aantal mislukte inlogpogingen voor de gebruiker op de tijdelijke verbannen lijst komt te staan (bescherming tegen hacking)', 'login_threshold', 0, 'f=index.htm&amp;as=admin_user_login_start&amp;ae=admin_user_login_end'), //cpg1.4
+		array('Duur dat een gebruiker op de tijdelijke verbannen lijst komt te staan (minuten)', 'login_expiry', 0, 'f=index.htm&amp;as=admin_user_login_start&amp;ae=admin_user_login_end'), //cpg1.4
+		array('Sta klachten naar beheerder toe', 'report_post', 1, 'f=index.htm&amp;as=admin_user_enable_report&amp;ae=admin_user_enable_report_end'),  //cpg1.4
+	
+		// custom profile fields, //cpg1.4
+		'Eigen velden in de gebruikers profielen (laat leeg inden niet gebruikt). Gebruik profiel 6 voor lange ingaven zoals biografieen', //cpg1.4
+		array('Profiel 1 naam', 'user_profile1_name', 0, 'f=index.htm&amp;as=admin_custom&amp;ae=admin_custom_end'), //cpg1.4
+		array('Profiel 2 naam', 'user_profile2_name', 0), //cpg1.4
+		array('Profiel 3 naam', 'user_profile3_name', 0), //cpg1.4
+		array('Profiel 4 naam', 'user_profile4_name', 0), //cpg1.4
+		array('Profiel 5 naam', 'user_profile5_name', 0), //cpg1.4
+		array('Profiel 6 naam', 'user_profile6_name', 0), //cpg1.4
+	
+		'Eigen velden in de afbeeldings omschrijvingen (laat leeg inden niet gebruikt)', //cpg1.4
+		array('Veld 1 naam', 'user_field1_name', 0, 'f=index.htm&amp;as=admin_custom_image&amp;ae=admin_custom_image_end'), //cpg1.4
+		array('Veld 2 naam', 'user_field2_name', 0), 
+		array('Veld 3 naam', 'user_field3_name', 0), 
+		array('Veld 4 naam', 'user_field4_name', 0), 
+	
+		'Cookies instellingen',
+		array('Cookie naam', 'cookie_name', 0, 'f=index.htm&amp;as=admin_cookie_name&amp;ae=admin_cookie_name_end'), //cpg1.4
+		array('Cookie pad', 'cookie_path', 0, 'f=index.htm&amp;as=admin_cookie_path&amp;ae=admin_cookie_path_end'), //cpg1.4
+	
+		'E-mail instellingen  (normaal gesproken hoeft deze niet te worden aangepast, laat alle velden leeg indien je niet zeker bent wat er moet worden ingevuld)', //cpg1.4
+		array('SMTP Host (leeg laten om gebruik te maken van sendmail)', 'smtp_host', 0, 'f=index.htm&amp;as=admin_email&amp;ae=admin_email_end'), //cpg1.4
+		array('SMTP gebruikersnaam', 'smtp_username', 0), //cpg1.4
+		array('SMTP wachtwoord', 'smtp_password', 0), //cpg1.4
+	
+		'Logging en statistieken',
+		array('Logging mode <a href="#notice3" class="clickable_option">***</a>', 'log_mode', 11, 'f=index.htm&amp;as=admin_logging_log_mode&amp;ae=admin_logging_log_mode_end'), //cpg1.4
+		array('Log e-cards', 'log_ecards', 1, 'f=index.htm&amp;as=admin_general_log_ecards&amp;ae=admin_general_log_ecards_end'), //cpg1.4
+		array('Hou gedetailleerde stemmen statistieken bij','vote_details',1, 'f=index.htm&amp;as=admin_logging_votedetails&amp;ae=admin_logging_votedetails_end'), //cpg1.4
+		array('Hou gedetailleerde hit statistieken bij','hit_details',1, 'f=index.htm&amp;as=admin_logging_hitdetails&amp;ae=admin_logging_hitdetails_end'), //cpg1.4
+	
+		'Onderhouds instellingen',
+		array('Zet debug mode aan', 'debug_mode', 9, 'f=index.htm&amp;as=debug_mode&amp;ae=debug_mode_end'), //cpg1.4
+		array('Laat berichten zien in debug mode', 'debug_notice', 1, 'f=index.htm&amp;as=admin_misc_debug_notices&amp;ae=admin_misc_debug_notices_end'), //cpg1.4
+		array('Gallerij is offline', 'offline', 1, 'f=index.htm&amp;as=admin_general_offline&amp;ae=admin_general_offline_end'), //cpg1.4
+	);
+
+	// ------------------------------------------------------------------------- //
+	// File db_ecard.php
+	// ------------------------------------------------------------------------- //
+	
+	if (defined('DB_ECARD_PHP')) $lang_db_ecard_php = array(
+		'title' => 'Stuur e-cards',
+		'ecard_sender' => 'Afzender',
+		'ecard_recipient' => 'Ontvanger',
+		'ecard_date' => 'Datum',
+		'ecard_display' => 'Laat e-card zien',
+		'ecard_name' => 'Naam',
+		'ecard_email' => 'E-mail',
+		'ecard_ip' => 'IP #',
+		'ecard_ascending' => 'oplopend',
+		'ecard_descending' => 'aflopend',
+		'ecard_sorted' => 'Gesorteerd',
+		'ecard_by_date' => 'op datum',
+		'ecard_by_sender_name' => 'op afzender\'s naam',
+		'ecard_by_sender_email' => 'op afzender\'s e-mail',
+		'ecard_by_sender_ip' => 'op afzender\'s IP-adres',
+		'ecard_by_recipient_name' => 'op ontvanger\'s naam',
+		'ecard_by_recipient_email' => 'op ontvanger\'s e-mail',
+		'ecard_number' => 'tonen record %s aan %s van %s',
+		'ecard_goto_page' => 'ga naar pagina',
+		'ecard_records_per_page' => 'Records per pagina',
+		'check_all' => 'Selecteer alles',
+		'uncheck_all' => 'De-selecteer alles',
+		'ecards_delete_selected' => 'Verwijder geselecteerde e-cards',
+		'ecards_delete_confirm' => 'Weet je zeker dat je de records wilt verwijderen? Selecteer de checkbox!',
+		'ecards_delete_sure' => 'Ik weet het zeker',
+	);
+
+	// ------------------------------------------------------------------------- //
+	// File db_input.php
+	// ------------------------------------------------------------------------- //
+	
+	if (defined('DB_INPUT_PHP')) $lang_db_input_php = array(
+		'empty_name_or_com' => 'Je moet je naam en commentaar opgeven.',
+		'com_added' => 'Je commentaar is toegevoegd.',
+		'alb_need_title' => 'Je moet een naam geven aan het album !',
+		'no_udp_needed' => 'Geen aanpassing nodig.',
+		'alb_updated' => 'Het album is aangepast.',
+		'unknown_album' => 'Geselecteerde album bestaat niet of je hebt geen toestemming naar dit album te uploaden.',
+		'no_pic_uploaded' => 'Er is geen bestand geupload !<br/><br/>Indien je echt een bestand geselecteerd hebt om te uploaden, controleer of de server bestands-upload toestaat...',
+		'err_mkdir' => 'Creëren van map %s niet gelukt !',
+		'dest_dir_ro' => 'Bestemmingsmap %s is niet beschrijfbaar door het script !',
+		'err_move' => 'Onmogelijk %s te verplaatsen naar %s !',
+		'err_fsize_too_large' => 'Het door jou geuploade bestand is te groot (maximum toegelaten is %s x %s) !', //obsolete since cpg1.3 - consider removal in cpg1.4 once upload.php has been overhauled
+		'err_imgsize_too_large' => 'Het door jou geuploade bestand is te groot (maximum toegestaan is %s KB) !', //obsolete since cpg1.3 - consider removal in cpg1.4 once upload.php has been overhauled
+		'err_invalid_img' => 'Het bestand dat je geupload hebt, is geen geldig afbeeldingenbestand !',
+		'allowed_img_types' => 'Je kunt aleen %s afbeeldingen uploaden.',
+		'err_insert_pic' => 'Het bestand \'%s\' kan niet ingevoegd worden in het album.',
+		'upload_success' => 'Je bestand is met succes geupload<br/><br/>Het wordt zichtbaar als de beheerder het goedgekeurd heeft.',
+		'notify_admin_email_subject' => '%s - Upload-melding',
+		'notify_admin_email_body' => 'Een foto is geupload door %s waarvoor toestemming is vereist. Bezoek %s',
+		'info' => 'Informatie',
+		'com_added' => 'Commentaar toegevoegd.',
+		'alb_updated' => 'Album aangepast.',
+		'err_comment_empty' => 'Je commentaar is leeg !',
+		'err_invalid_fext' => 'Alleen bestanden met de volgende extensie worden geaccepteerd : <br/><br/>%s.',
+		'no_flood' => 'Sorry, maar je bent de auteur van het laatste geposte commentaar voor dit bestand<br/><br/>Wijzig het commentaar dat je toegevoegd hebt',
+		'redirect_msg' => 'je wordt doorgestuurd.<br/><br/><br/>Klik \'Doorgaan\' indien de pagina niet automatisch ververst wordt',
+		'upl_success' => 'Je bestand is met succes toegevoegd.',
+		'email_comment_subject' => 'Commentaar toegevoegd op Coppermine Photo Gallery',
+		'email_comment_body' => 'Er heeft iemand commentaar toegevoegd in je galerij. Bekijk het op', 
+		'album_not_selected' => 'Album is niet geselecteerd', //cpg1.4
+		'com_author_error' => 'Een gegeristeerde gebruiker gebruikt deze inlognaam al, kies een andere naam', //cpg1.4
+	);
+
+	// ------------------------------------------------------------------------- //
+	// File delete.php
+	// ------------------------------------------------------------------------- //
+	
+	if (defined('DELETE_PHP')) $lang_delete_php = array(
+		'caption' => 'Koptekst',
+		'fs_pic' => 'Originele grootte foto',
+		'del_success' => 'met succes verwijderd',
+		'ns_pic'  => 'normale fotogrootte',
+		'err_del' => 'kan niet verwijderd worden',
+		'thumb_pic' => 'verkleinde afbeelding',
+		'comment' => 'commentaar',
+		'im_in_alb' => 'foto in album',
+		'alb_del_success' => 'Album \'%s\' verwijderd',
+		'alb_mgr' => 'Album Manager',
+		'err_invalid_data' => 'Ongeldige data ontvangen in \'%s\'',
+		'create_alb' => 'creëeren album \'%s\'',
+		'update_alb' => 'Aanpassen album \'%s\' met titel \'%s\' en index \'%s\'',
+		'del_pic' => 'Verwijder bestand',
+		'del_alb' => 'Verwijder album',
+		'del_user' => 'Verwijder gebruiker',
+		'err_unknown_user' => 'De geselecteerde gebruiker bestaat niet !',
+		'comment_deleted' => 'Commentaar met succes verwijderd', 
+		'err_empty_groups' => 'Er is geen groepen tabel, of de tabel is nog leeg!', //cpg1.4
+		'npic' => 'Afbeelding', //cpg1.4
+		'pic_mgr' => 'Afbeeldingsbeheer', //cpg1.4
+		'update_pic' => 'Aanpassen afbeelding \'%s\' met bestandsnaam \'%s\' en index \'%s\'', //cpg1.4
+		'username' => 'Gebruikersnaam', //cpg1.4
+		'anonymized_comments' => '%s commentaarregel(s) anoniem gemaakt', //cpg1.4
+		'anonymized_uploads' => '%s openbare upload(s) anoniem gemaakt', //cpg1.4
+		'deleted_comments' => '%s commentaarregel(s) verwijderd', //cpg1.4
+		'deleted_uploads' => '%s openbare upload(s) verwijderd', //cpg1.4
+		'user_deleted' => 'gebruiker %s verwijderd', //cpg1.4
+		'activate_user' => 'Activeer gebruiker', //cpg1.4
+		'user_already_active' => 'Gebruiker is al geactiveerd', //cpg1.4
+		'activated' => 'Geactiveerd', //cpg1.4
+		'deactivate_user' => 'Deactiveer gebruiker', //cpg1.4
+		'user_already_inactive' => 'Gebruiker is al gedeactiveerd', //cpg1.4
+		'deactivated' => 'Gedeactiveerd', //cpg1.4
+		'reset_password' => 'Reset wachtwoord(en)', //cpg1.4
+		'password_reset' => 'Wachtwoord gereset naar %s', //cpg1.4
+		'change_group' => 'Verander hoofdgroep', //cpg1.4
+		'change_group_to_group' => 'Veranderd van %s naar %s', //cpg1.4
+		'add_group' => 'Voeg secundaire groep toe', //cpg1.4
+		'add_group_to_group' => 'Gebruiker %s toegevoegd aan groep %s. Hij/Zij is nu lid van de primaire groepf %s en van de secundaire groep(en) %s.', //cpg1.4
+		'status' => 'Status', //cpg1.4
+	);
+
+	// ------------------------------------------------------------------------- //
+	// File displayecard.php
+	// ------------------------------------------------------------------------- //
+	
+	if (defined('DISPLAYECARD_PHP')) {
+	
+		$lang_displayecard_php = array(
+		  'invalid_data' => 'De gegevens voor de e-card waar je mee bezig bent is nie geschikt voor de e-mail programma. Controleer of de link goed is ingetikt.',
+		); 
+	
+	}
+
+	// ------------------------------------------------------------------------- //
+	// File displayimage.php
+	// ------------------------------------------------------------------------- //
+	
+	if (defined('DISPLAYIMAGE_PHP')){
+	
+		$lang_display_image_php = array(
+			'confirm_del' => 'Weet je zeker dat je dit bestand wilt VERWIJDEREN ? \\nCommentaar wordt ook verwijderd.',
+			'del_pic' => 'VERWIJDER DIT BESTAND',
+			'size' => '%s x %s pixels',
+			'views' => '%s keer',
+			'slideshow' => 'Diashow',
+			'stop_slideshow' => 'STOP DIASHOW',
+			'view_fs' => 'Klik op de foto om originele grootte te bekijken',
+			'edit_pic' => 'Wijzig omschrijving',  //cpg1.4
+			'crop_pic' => 'Snijden en draaien', 
+			'set_player' => 'Verander `standaard afspeel programma',
+		);
+	
+		$lang_picinfo = array(
+			'title' =>'Bestandsinformatie',
+			'Filename' => 'Bestandsnaam',
+			'Album name' => 'Album naam',
+			'Rating' => 'Populariteit (%s stemmen)',
+			'Keywords' => 'Zoekbegrippen',
+			'File Size' => 'Bestandsgrootte',
+			'Date Added' => 'Datum toegevoegd', //cpg1.4
+			'Dimensions' => 'Afmetingen',
+			'Displayed' => 'Weergegeven',
+			'URL' => 'URL', //cpg1.4
+			'Make' => 'Fabrikant', //cpg1.4
+			'Model' => 'Model', //cpg1.4
+			'DateTime' => 'Datum/Tijd', //cpg1.4
+			'DateTimeOriginal' => 'Datum genomen', //cpg1.4
+			'ISOSpeedRatings'=>'ISO', //cpg1.4
+			'MaxApertureValue' => 'Diafragma', //cpg1.4
+			'FocalLength' => 'Zoom', //cpg1.4
+			'Comment' => 'Commentaar',
+			'addFav'=>'Toevoegen aan favorieten',
+			'addFavPhrase'=>'Favorieten',
+			'remFav'=>'Verwijderen uit favorieten',
+			'iptcTitle'=>'IPTC Titel',
+			'iptcCopyright'=>'IPTC Copyright',
+			'iptcKeywords'=>'IPTC Zoekbegrippen',
+			'iptcCategory'=>'IPTC Catagorie',
+			'iptcSubCategories'=>'IPTC Sub Catagorie',
+			'ColorSpace' => 'Kleur', //cpg1.4
+			'ExposureProgram' => 'Camera Programma', //cpg1.4
+			'Flash' => 'Flits', //cpg1.4
+			'MeteringMode' => 'Focus methode', //cpg1.4
+			'ExposureTime' => 'Belichtindtijd', //cpg1.4
+			'ExposureBiasValue' => 'Belichtingswaarde', //cpg1.4
+			'ImageDescription' => 'Omschrijving', //cpg1.4
+			'Orientation' => 'Oriëntatie', //cpg1.4
+			'xResolution' => 'X Resolutie', //cpg1.4
+			'yResolution' => 'Y Resolutie', //cpg1.4
+			'ResolutionUnit' => 'Resolutie eenheid', //cpg1.4
+			'Software' => 'Software', //cpg1.4
+			'YCbCrPositioning' => 'YCbCr Positie', //cpg1.4
+			'ExifOffset' => 'Exif Offset', //cpg1.4
+			'IFD1Offset' => 'IFD1 Offset', //cpg1.4
+			'FNumber' => 'FNummer', //cpg1.4
+			'ExifVersion' => 'Exif versie', //cpg1.4
+			'DateTimeOriginal' => 'Datum/Tijd orgineel', //cpg1.4
+			'DateTimedigitized' => 'Datum/Tijd opname', //cpg1.4
+			'ComponentsConfiguration' => 'Componenten', //cpg1.4
+			'CompressedBitsPerPixel' => 'Bits per pixel', //cpg1.4
+			'LightSource' => 'Lichtbron', //cpg1.4
+			'ISOSetting' => 'ISO instellingen', //cpg1.4
+			'ColorMode' => 'Kleur methode', //cpg1.4
+			'Quality' => 'Kwaliteit', //cpg1.4
+			'ImageSharpening' => 'Scherpte', //cpg1.4
+			'FocusMode' => 'Focus', //cpg1.4
+			'FlashSetting' => 'Flits instellingen', //cpg1.4
+			'ISOSelection' => 'ISO waarde', //cpg1.4
+			'ImageAdjustment' => 'Aanpassingen', //cpg1.4
+			'Adapter' => 'Adapter', //cpg1.4
+			'ManualFocusDistance' => 'Afstand Handmatige Focus', //cpg1.4
+			'DigitalZoom' => 'Digitale Zoom', //cpg1.4
+			'AFFocusPosition' => 'AF Focus Positie', //cpg1.4
+			'Saturation' => 'Verzadiging', //cpg1.4
+			'NoiseReduction' => 'Noise Reductie', //cpg1.4
+			'FlashPixVersion' => 'Flash Pix Versie', //cpg1.4
+			'ExifImageWidth' => 'Exif Afbeeldings Breedte', //cpg1.4
+			'ExifImageHeight' => 'Exif Afbeeldings Hoogte', //cpg1.4
+			'ExifInteroperabilityOffset' => 'Exif Interoperability Offset', //cpg1.4
+			'FileSource' => 'Bron', //cpg1.4
+			'SceneType' => 'Scene Type', //cpg1.4
+			'CustomerRender' => 'Eigen Rendering', //cpg1.4
+			'ExposureMode' => 'Belichtings Methode', //cpg1.4
+			'WhiteBalance' => 'Witbalans', //cpg1.4
+			'DigitalZoomRatio' => 'Digitale Zoom Ratio', //cpg1.4
+			'SceneCaptureMode' => 'Scene', //cpg1.4
+			'GainControl' => 'Gain Control', //cpg1.4
+			'Contrast' => 'Contrast', //cpg1.4
+			'Saturation' => 'Verzadiging', //cpg1.4
+			'Sharpness' => 'Scherpte', //cpg1.4
+			'ManageExifDisplay' => 'Beheer Exif Display', //cpg1.4
+			'submit' => 'Verzenden', //cpg1.4
+			'success' => 'Informatie opgeslagen.', //cpg1.4
+			'details' => 'Details', //cpg1.4
+		);
+	
+		$lang_display_comments = array(
+			'OK' => 'OK',
+			'edit_title' => 'Wijzig dit commentaar.',
+			'confirm_delete' => 'Weet je zeker dat je dit commentaar wilt verwijderen ?', //js-alert
+			'add_your_comment' => 'Voeg je commentaar toe.',
+			'name'=>'Naam', 
+			'comment'=>'Commentaar', 
+			'your_name' => 'Je naam', 
+			'report_comment_title' => 'Dien een klacht over dit commentaar in bij de beheerder', //cpg1.4
+		);
+	
+		$lang_fullsize_popup = array( 
+			'click_to_close' => 'Klik op de foto om dit venster te sluiten', 
+		);
+	
+	}
+
+	// ------------------------------------------------------------------------- //
+	// File ecard.php
+	// ------------------------------------------------------------------------- //
+	
+	if (defined('ECARDS_PHP') || defined('DISPLAYECARD_PHP')) $lang_ecard_php =array(
+		'title' => 'Stuur een e-card', 
+		'invalid_email' => '<font color="red"><b>Waarschuwing</b></font>: ongeldig e-mailadres:', //cpg1.4
+		'ecard_title' => 'Een e-card van %s voor jou',
+		'error_not_image' => 'Alleen foto\'s kunnen als een e-card verzonden worden.',
+		'view_ecard' => 'Indien de e-card niet juist wordt weergegeven, klik dan op deze link', //cpg1.4
+		'view_ecard_plaintext' => 'To view the ecard, copy and paste this url into your browser\'s address bar:', //cpg1.4
+		'view_more_pics' => 'Klik op deze link om meer foto\'s te bekijken !', //cpg1.4
+		'send_success' => 'Je e-card is verzonden',
+		'send_failed' => 'Sorry, maar de server kan je e-card niet verzenden...',
+		'from' => 'Van',
+		'your_name' => 'Jouw naam',
+		'your_email' => 'Jouw e-mailadres',
+		'to' => 'Aan',
+		'rcpt_name' => 'Naam geadresseerde',
+		'rcpt_email' => 'E-mailadres geadresseerde',
+		'greetings' => 'Onderwerp', //cpg1.4
+		'message' => 'Bericht', //cpg1.4
+		'ecards_footer' => 'Gestuurd door %s vanaf IP adres %s om %s (Gallerij tijd)', //cpg1.4
+		'preview' => 'Voorbeeldweergave van de e-card', //cpg1.4
+		'preview_button' => 'Voorbeeldweergave', //cpg1.4
+		'submit_button' => 'E-card versturen', //cpg1.4
+		'preview_view_ecard' => 'Dit zal een alternatieve link zijn naar de aangemaakte e-card. Deze zal niet werken in de voorbeeldweergave.', //cpg1.4
+	); 
+
+	// ------------------------------------------------------------------------- //
+	// File report_file.php //cpg1.4
+	// ------------------------------------------------------------------------- //
+	
+	if (defined('REPORT_FILE_PHP') || defined('DISPLAYREPORT_PHP')) $lang_report_php =array(
+		'title' => 'Klachten naar beheerder', //cpg1.4
+		'invalid_email' => '<b>Waarschuwing</b> : Ongeldig e-mail adres!', //cpg1.4
+		'report_subject' => 'Een klacht van %s over gallerij %s', //cpg1.4
+		'view_report' => 'Alternatieve link als deze klacht niet goed zichtbaar is', //cpg1.4
+		'view_report_plaintext' => 'Om de klacht te bekijken, knip en plak deze URL in de webbrowser:', //cpg1.4
+		'view_more_pics' => 'Gallerij', //cpg1.4
+		'send_success' => 'Je klacht is verzonden', //cpg1.4
+		'send_failed' => 'Sorry, de server kan je klacht niet verzenden...', //cpg1.4
+		'from' => 'Van', //cpg1.4
+		'your_name' => 'Je naam', //cpg1.4
+		'your_email' => 'Je e-mail adres', //cpg1.4
+		'to' => 'Aan', //cpg1.4
+		'administrator' => 'Beheerder', //cpg1.4
+		'subject' => 'Onderwerp', //cpg1.4
+		'comment_field_name' => 'Klacht over commentaar van "%s"', //cpg1.4
+		'reason' => 'Reden', //cpg1.4
+		'message' => 'Bericht', //cpg1.4
+		'report_footer' => 'Verstuurt door %s van IP adres %s om %s (Gallerij tijd)', //cpg1.4
+		'obscene' => 'obseen', //cpg1.4
+		'offensive' => 'aanstootgevend', //cpg1.4
+		'misplaced' => 'niet relevant/misplaatst', //cpg1.4
+		'missing' => 'niet aanwezig', //cpg1.4
+		'issue' => 'fout/kan afbeelding niet zien', //cpg1.4
+		'other' => 'anders', //cpg1.4
+		'refers_to' => 'Klacht is van toepassing op', //cpg1.4
+		'reasons_list_heading' => 'reden(en) voor de klacht:', //cpg1.4
+		'no_reason_given' => 'geen reden is opgegeven', //cpg1.4
+		'go_comment' => 'Ga naar commentaar', //cpg1.4
+		'view_comment' => 'Laat de volledige  klacht met het commentaar zien', //cpg1.4
+		'type_file' => 'bestand', //cpg1.4
+		'type_comment' => 'commentaar', //cpg1.4
+	);
+
+	// ------------------------------------------------------------------------- //
+	// File editpics.php
+	// ------------------------------------------------------------------------- //
+	
+	if (defined('EDITPICS_PHP')) $lang_editpics_php = array(
+		'pic_info' => 'Bestands&nbsp;info',
+		'album' => 'Album',
+		'title' => 'Titel', 
+		'filename' => 'Filename', //cpg1.4
+		'desc' => 'Omschrijving',
+		'keywords' => 'Zoekbegrip', 
+		'new_keyword' => 'Nieuw zoekbegrip', //cpg1.4
+		'new_keywords' => 'Geen zoekbegrippen gevonden', //cpg1.4
+		'existing_keyword' => 'Bestaand zoekbegrip', //cpg1.4
+		'pic_info_str' => '%s×%s - %sKB - %s bekeken - %s stemmen',
+		'approve' => 'Laat bestand toe',
+		'postpone_app' => 'Stel toelating uit',
+		'del_pic' => 'Verwijder bestand', 
+		'del_all' => 'Verwijder ALLE bestanden', //cpg1.4
+		'read_exif' => 'Lees EXIF-info opnieuw',
+		'reset_view_count' => 'Reset bekeken teller', 
+		'reset_all_view_count' => 'Reset ALLE tellers', //cpg1.4
+		'reset_votes' => 'Reset stemmen', 
+		'reset_all_votes' => 'Reset ALLE stemmen', //cpg1.4
+		'del_comm' => 'verwijder commentaar', 
+		'del_all_comm' => 'Verwijder ALLE commentaarregels', //cpg1.4
+		'upl_approval' => 'Upload-toestemming', //cpg1.4
+		'edit_pics' => 'Wijzig bestanden',
+		'see_next' => 'Bekijk volgend bestand',
+		'see_prev' => 'Bekijk vorig bestand',
+		'n_pic' => '%s bestanden',
+		'n_of_pic_to_disp' => 'Aantal te tonen bestanden',
+		'apply' => 'Pas wijzigingen toe',
+		'crop_title' => 'Coppermine Foto Editor',
+		'preview' => 'Voorbeeld',
+		'save' => 'Bewaar foto',
+		'save_thumb' =>'Bewaar als verkleinde afbeelding',
+		'gallery_icon' => 'Maak deze mijn icoon', //cpg1.4
+		'sel_on_img' =>'De selectie moet geheel op de afbeelding liggen!', //js-alert
+		'album_properties' =>'Album instellingen', //cpg1.4
+		'parent_category' =>'Hoofd catagorie', //cpg1.4
+		'thumbnail_view' =>'Thumbnail weergave', //cpg1.4
+		'select_unselect' =>'selecteer/deselecteer alles', //cpg1.4
+		'file_exists' => 'Doelbestand \'%s\' bestaat al.', //cpg1.4
+		'rename_failed' => 'Het is niet gelukt om \'%s\' te hernoemen naar \'%s\'.', //cpg1.4
+		'src_file_missing' => 'Bron bestand \'%s\' bestaat niet.', //cpg1.4
+		'mime_conv' => 'Kan bestand \'%s\' niet converteren naar \'%s\'', //cpg1.4
+		'forb_ext' => 'Verboden bestandstype.', //cpg1.4
+	);
+
+	// ------------------------------------------------------------------------- //
+	// File faq.php
+	// ------------------------------------------------------------------------- //
+	
+	if (defined('FAQ_PHP')) $lang_faq_php = array(
+		'faq' => 'Veel gestelde vragen',
+		'toc' => 'Inhoudsopgave',
+		'question' => 'Vraag: ',
+		'answer' => 'Antwoord: ',
+	);
+	
+	if (defined('FAQ_PHP')) $lang_faq_data = array(
+		'Veel gestelde vragen - algemeen',
+		array('Waarom moet ik registreren?', 'Registratie kan wel of niet worden vereist door de beheerder van de site. Registratie geeft een gebruiker toegevoegde mogelijkheden zoals uploaden, het hebben van een favorietenlijst, waardering van foto\'s en het plaatsen van commentaar etc.', 'allow_user_registration', '0'),
+		array('Hoe kan ik registreren?', 'Ga naar &quot;Registreer&quot; en vul de vereiste velden in (en als je wilt de optionele).<br/>Als de beheerder e-mailaanmelding heeft geactiveerd, zul je nadat je de informatie hebt verzonden, een e-mailbevestiging ontvangen op het adres dat je hebt opgegeven tijdens het registreren, met daarin instructies hoe je je lidmaatschap moet activeren. Je lidmaatschap moet geactiveerd zijn om in te kunnen loggen.', 'allow_user_registration', '1'),
+		array('Hoe log ik in?', 'Ga naar &quot;Login&quot;, geef je gebruikersnaam en wachtwoord en selecteer &quot;Onthoud mij&quot; zodat je de volgende keer weer ingelogd wordt op de site als je terugkeert nadat je het verlaten hebt.<br/><b>BELANGRIJK: Cookies moeten worden toegelaten en de cookie van deze site mag niet worden verwijderd om de optie &quot;Onthoud mij&quot; te kunnen gebruiken.</b>', 'offline', 0),
+		array('Waarom kan ik niet inloggen?', 'Heb je je geregistreerd en heb de link aangeklikt die je is toegezonden via e-mail?. Deze aangeklikte link zal je account activeren. Voor andere inlogproblemen, neem contact op met de beheerder van deze site.', 'offline', 0),
+		array('Wat gebeurt er als ik mijn wachtwoord vergeten ben?', 'Indien deze site de &quot;Wachtwoord vergeten&quot; link heeft, gebruik het dan. In alle andere gevallen, neem contact op met de beheerder van deze site voor een nieuw wachtwoord.', 'offline', 0),
+		//array('Wat gebeurt er als ik mijn e-mailadres verander?', 'Eenvoudig inloggen en verander je e-mailadres via &quot;Profiel&quot;', 'offline', 0),
+		array('Hoe bewaar ik een foto in &quot;Mijn favorieten&quot;?', 'Klik op een foto en klik dan op de &quot;foto-info&quot; link (<img src="images/info.gif" width="16" height="16" border="0" alt="Foto-informatie" />); scroll naar de onderzijde van de pagina naar &quot;Bestandsinformatie&quot; en klik op &quot;Voeg toe aan favorieten&quot;.<br/>De beheerder kan deze &quot;Bestandsinformatie&quot; standaard aan hebben staan.<br/>BELANGRIJK: Cookies moeten toegelaten worden en de cookie van deze site mag niet worden verwijderd.', 'offline', 0),
+		array('Hoe beoordeel ik een bestand?', 'Klik op een verkleinde afbeelding en ga naar de onderzijde van de pagina en kies een beoordeling.', 'offline', 0),
+		array('Hoe plaats ik een commentaar voor een foto?', 'Klik op een verkleinde afbeelding en ga naar de onderzijde van de pagina en plaats een commentaar.', 'offline', 0),
+		array('Hoe upload ik een bestand?', 'Ga naar &quot;Upload bestand&quot; en selecteer het album waar je je bestand naar wilt uploaden, klik op &quot;Browse&quot; en ga naar het bestand dat je wilt uploaden en klik op &quot;open&quot; (voeg als je wilt een titel en beschrijving toe) en klik op &quot;Verzend&quot;', 'allow_private_albums', 0),
+		array('Waar upload ik een foto naar toe?', 'Je zult in staat zijn een foto te uploaden naar één van je albums in &quot;Mijn Galerij&quot;. De beheerder kan je ook toestaan om te uploaden naar één of meer albums in de hoofdgalerij.', 'allow_private_albums', 0),
+		array('Welk bestandstype en grootte kan ik uploaden?', 'De grootte en het bestandstype (jpg,gif,..etc.) worden bepaald door de beheerder.', 'offline', 0),
+		array('Hoe creëer, hernoem en verwijder ik een album in &quot;Mijn Galerij&quot;?', 'Je moet eerst in &quot;Beheerder-modus&quot; zijn<br/>Ga vervolgens naar &quot;Creëer/Sorteer mijn albums&quot; en klik &quot;Nieuw&quot;. Verander &quot;Nieuw Album&quot; naar de door jou gewenste naam.<br/>Je kunt ook elk ander album in je galerij hernoemen.<br/>Klik &quot;Pas aanpassingen toe&quot;.', 'allow_private_albums', 0),
+		array('Hoe pas ik aan en beperk ik gebruikers in het bekijken van mijn albums?', 'Je moet eerst in &quot;Beheerder-modus&quot; zijn<br/>Ga vervolgens naar &quot;Pas mijn albums aan&quot;. Op de &quot;Aanpassen Album&quot; bar, kies het album dat je wilt aanpassen.<br/>Hier kun je de naam, de omschrijving, de verkleinde afbeelding, de beperking in het bekijken en commentaar/beoordelingspermissie aanpassen.<br/>Klik op &quot;Aanpassen album&quot;.', 'allow_private_albums', 0),
+		array('Hoe kan ik gebruikersgalerijen bekijken van andere gebruikers?', 'Ga naar &quot;Albumlijst&quot; en kies &quot;Gebruikersgalerijen&quot;.', 'allow_private_albums', 0),
+		array('Wat zijn cookies?', 'Cookies zijn tekstbestanden met data die door een website worden verzonden en op je computer worden geplaatst.<br/>Cookies laten een gebruiker gewoonlijk toe een site te verlaten en weer terug te keren zonder weer opnieuw te hoeven in te loggen en andere verschillende zaken.', 'offline', 0),
+		array('Waar kan ik dit programma krijgen voor mijn site?', 'Coppermine is een vrije Multimedia Galerij, uitgegeven onder GNU GPL. Het zit vol met mogelijkheden en is geschikt gemaakt voor verschillende platformen. Bezoek de <a href="http://coppermine-gallery.net/">Coppermine Home Page</a> om meer te weten te komen of het te downloaden.', 'offline', 0),
+	
+		'Navigeren binnen de site',
+		array('Wat is &quot;Albumlijst&quot;?', 'Deze optie toont je de complete galerij met een link naar iedere categorie. Verkleinde afbeeldingen kunnen ook een link zijn naar een categorie.', 'offline', 0),
+		array('Wat is &quot;Mijn Galerij&quot;?', 'Deze optie laat een gebruiker de mogelijkheid zijn of haar eigen galerij te creëren en hier albums aan toe te voegen, te verwijderen of aan te passen en eveneens bestanden naar te uploaden.', 'allow_private_albums', 0),
+		array('Wat is het verschil tussen &quot;Beheerder-modus&quot; en &quot;Gebruiker-modus&quot;?', 'Deze optie, wanneer deze is ingesteld op Beheerder-modus, stelt de gebruiker in staat zijn eigen galerij aan te passen (en eveneens die van anderen indien de beheerder dit toegelaten heeft).', 'allow_private_albums', 0),
+		array('Wat is &quot;Upload bestand&quot;?', 'Deze optie stelt de gebruiker in staat een bestand te uploaden (grootte en type wordt bepaald door de beheerder van de site) naar een door jou of de door de beheerder geselecteerde galerij.', 'allow_private_albums', 0),
+		array('Wat is &quot;Laatste uploads&quot;?', 'Deze optie toont de laatste uploads die naar de site zijn gezonden.', 'offline', 0),
+		array('Wat is &quot;Laatste commentaar&quot;?', 'Deze optie toont de laatste commentaren samen met de foto die door gebruikers zijn geplaatst.', 'offline', 0),
+		array('Wat is &quot;Meest bekeken&quot;?', 'Deze optie toont de meest bekeken foto\'s door alle bezoekers (ingelogd of niet).', 'offline', 0),
+		array('Wat is &quot;Best beoordeeld&quot;?', 'Deze optie laat de door bezoekers best beoordeelde foto\'s zien in een gemiddelde beoordeling (bv: vijf gaven ieder een <img src="images/rating3.gif" width="65" height="14" border="0" alt="" />: de foto zal dan een gemiddelde beoordeling krijgen van <img src="images/rating3.gif" width="65" height="14" border="0" alt="" /> ;Vijf gebruikers beoordeelden de foto van 1 tot 5 (1,2,3,4,5) zal resulteren in een gemiddelde van <img src="images/rating3.gif" width="65" height="14" border="0" alt="" /> .)<br/>De beoordelingen gaan van <img src="images/rating5.gif" width="65" height="14" border="0" alt="beste" /> (beste) tot <img src="images/rating0.gif" width="65" height="14" border="0" alt="slechtste" /> (slechtste).', 'offline', 0),
+		array('Wat is &quot;Mijn favorieten&quot;?', 'Deze optie geeft de gebruiker de mogelijkheid om hun favoriete foto in een cookie op te slaan, die vervolgens naar je computer wordt gezonden.', 'offline', 0),
+	);
+
+	// ------------------------------------------------------------------------- //
+	// File forgot_passwd.php
+	// ------------------------------------------------------------------------- //
+	
+	if (defined('FORGOT_PASSWD_PHP')) $lang_forgot_passwd_php = array(
+		'forgot_passwd' => 'Wachtwoordherinnering',
+		'err_already_logged_in' => 'Je bent al ingelogd !', 
+		'enter_email' => 'Geef je e-mail adres',
+		'submit' => 'gaan',
+		'failed_sending_email' => 'De wachtwoordherinnerings-e-mail kan niet verzonden worden !',
+		'email_sent' => 'Een e-mail met je gebruikersnaam en wachtwoord is verzonden aan %s',
+		'err_unk_user' => 'Geselecteerde gebruiker bestaat niet!',
+		'passwd_reminder_subject' => '%s - Wachtwoordherinnering',
+		'passwd_reminder_body' => 'Je hebt verzocht, herinnerd te willen worden over je login-gegevens:
+Gebruikernaam: %s
+Wachtwoord   : %s
+Klik %s om in te loggen.',
+	);
+
+	// ------------------------------------------------------------------------- //
+	// File groupmgr.php
+	// ------------------------------------------------------------------------- //
+	
+	if (defined('GROUPMGR_PHP')) $lang_groupmgr_php = array( 
+		'group_name' => 'Groepen', //cpg1.4
+		'permissions' => 'Rechten', //cpg1.4
+		'public_albums' => 'Openbaar album uploaden', //cpg1.4
+		'personal_gallery' => 'Persoonlijke gallerij', //cpg1.4
+		'upload_method' => 'Upload methode', //cpg1.4
+		'disk_quota' => 'Quota', //cpg1.4
+		'rating' => 'Stemmen', //cpg1.4
+		'ecards' => 'E-cards', //cpg1.4
+		'comments' => 'Commentaar', //cpg1.4
+		'allowed' => 'Toegestaan', //cpg1.4
+		'approval' => 'Akkoord', //cpg1.4
+		'boxes_number' => 'Aantal boxen', //cpg1.4
+		'variable' => 'Meerdere', //cpg1.4
+		'fixed' => 'Aangepast', //cpg1.4
+		'apply' => 'Bewaar wijzigingen', //cpg1.4
+		'create_new_group' => 'Maak nieuwe groep aan',
+		'del_groups' => 'Verwijder de geselecteerde groep(en)',
+		'confirm_del' => 'waarschuwing: als je een groep verwijderd, zullen de gebruikers die horen bij die groep worden overgezet naar de \'Registered\' groep !\n\nWil je doorgaan ?', //js-alert
+		'title' => 'Beheer gebruikersgroepen',
+		'num_file_upload' => 'Bestand upload boxen', //cpg1.4
+		'num_URI_upload' => 'URI upload boxes', //cpg1.4
+		'reset_to_default' => 'Ze terug naar de standaard naam (%s) - aanbevolen!', //cpg1.4
+		'error_group_empty' => 'Groep tabel was leeg !<br/><br/>Standard groepen aangemaakt, vernieuw deze pagina om deze zichtbaar te maken', //cpg1.4
+		'explain_greyed_out_title' => 'Waarom is deze rij grijs?', //cpg1.4
+		'explain_guests_greyed_out_text' => 'Ja kan de eigenschappen van deze groep niet aanpassen omdat je de instelling &quot; Sta niet ingelogde gebruikers toe (gasten of anoniem) op &quot;Nee&quot; hebt staan. Alle gasten (leden van de groep %s) kunnen alles doen behalve inloogen; daarom zijn deze instellingen bij hen niet van toepassing.', //cpg1.4
+		'explain_banned_greyed_out_text' => 'Je kan de eigenschappen van de groep %s niet aanpassen, omdat de leden er toch niets kunnen doen.', //cpg1.4
+		'group_assigned_album' => 'toegewezen album(s)', //cpg1.4
+	);
+
+	// ------------------------------------------------------------------------- //
+	// File index.php
+	// ------------------------------------------------------------------------- //
+	
+	if (defined('INDEX_PHP')){
+	
+		$lang_index_php = array(
+			'welcome' => 'Welkom !',
+		);
+	
+		$lang_album_admin_menu = array(
+			'confirm_delete' => 'Weet je zeker dat je dit album wilt VERWIJDEREN ? \\nAlle foto\\\'s en commentaren worden ook verwijderd.', //js-alert
+			'delete' => 'WISSEN',
+			'modify' => 'EIGENSCHAPPEN',
+			'edit_pics' => 'WIJZIGEN',
+		);
+	
+		$lang_list_categories = array(
+			'home' => 'Beginpagina',
+			'stat1' => '<b>[pictures]</b> bestanden in <b>[albums]</b> albums en <b>[cat]</b> categorieën met <b>[comments]</b> commentaren en <b>[views]</b> keer bekeken',
+			'stat2' => '<b>[pictures]</b> bestanden in <b>[albums]</b> albums en <b>[views]</b> keer bekeken',
+			'xx_s_gallery' => '%s\'s Galerij',
+			'stat3' => '<b>[pictures]</b> bestanden in <b>[albums]</b> albums met <b>[comments]</b> commentaren en <b>[views]</b> keer bekeken',
+		);
+	
+		$lang_list_users = array(
+			'user_list' => 'Gebruikerslijst',
+			'no_user_gal' => 'Er zijn geen gebruikersgalerijen.',
+			'n_albums' => '%s album(s)',
+			'n_pics' => '%s bestand(en)',
+		);
+	
+		$lang_list_albums = array(
+			'n_pictures' => '%s bestanden',
+			'last_added' => ', laatste toegevoegd op %s', 
+			'n_link_pictures' => '%s gelinkte bestanden', //cpg1.4
+			'total_pictures' => '%s totaal aantal bestanden', //cpg1.4
+		);
+	
+	} 
+
+	// ------------------------------------------------------------------------- //
+	// File keywordmgr.php //cpg1.4
+	// ------------------------------------------------------------------------- //
+	
+	if (defined('KEYWORDMGR_PHP')) $lang_keywordmgr_php = array(
+		'title' => 'Beheer zoekbegrippen', //cpg1.4
+		'edit' => 'wijzig', //cpg1.4
+		'delete' => 'verwijder', //cpg1.4
+		'search' => 'zoek', //cpg1.4
+		'keyword_test_search' => 'zoeken naar %s in een nieuw venster', //cpg1.4
+		'keyword_del' => 'verwijder zoekbegrip %s', //cpg1.4
+		'confirm_delete' => 'Weet je zeker dat je het zoekbegrip %s wilt verwijderen van de hele gallerij?',  // js-alert
+		'change_keyword' => 'wijzig zoekbegrip', //cpg1.4
+	);
+
+	// ------------------------------------------------------------------------- //
+	// File login.php
+	// ------------------------------------------------------------------------- //
+	
+	if (defined('LOGIN_PHP')) $lang_login_php = array(
+		'login' => 'Login',
+		'enter_login_pswd' => 'Voer je gebruikersnaam en wachtwoord in om in te loggen',
+		'username' => 'Gebruikersnaam',
+		'password' => 'Wachtwoord',
+		'remember_me' => 'Onthoud mij',
+		'welcome' => 'Welkom %s ...',
+		'err_login' => '*** Kan niet inloggen. Probeer het nogmaals ***',
+		'err_already_logged_in' => 'Je bent al ingelogd !',
+		'forgot_password_link' => 'Wachtwoord vergeten', 
+		'cookie_warning' => 'Waarschuwing: je browser ondersteund geen cookies', //cpg1.4
+	);
+
+	// ------------------------------------------------------------------------- //
+	// File logout.php
+	// ------------------------------------------------------------------------- //
+	
+	if (defined('LOGOUT_PHP')) $lang_logout_php = array(
+		'logout' => 'Uitloggen',
+		'bye' => 'Tot ziens %s ...',
+		'err_not_loged_in' => 'Je bent niet ingelogd !',
+	);
+
+	// ------------------------------------------------------------------------- //
+	// File minibrowser.php  //cpg1.4
+	// ------------------------------------------------------------------------- //
+	
+	if (defined('MINIBROWSER_PHP')) $lang_minibrowser_php = array(
+		'close' => 'sluiten', //cpg1.4
+		'submit' => 'OK', //cpg1.4
+		'up' => 'een niveau omhoog', //cpg1.4
+		'current_path' => 'huidig pad', //cpg1.4
+		'select_directory' => 'selecteer een nieuwe directory', //cpg1.4
+		'click_to_close' => 'Klik op de afbeelding om het venster te sluiten', //cpg1.4
+	);
+
+	// ------------------------------------------------------------------------- //
+	// File modifyalb.php
+	// ------------------------------------------------------------------------- //
+	
+	if (defined('MODIFYALB_PHP')) $lang_modifyalb_php = array(
+		'upd_alb_n' => 'Pas album %s aan',
+		'general_settings' => 'Algemene instellingen',
+		'alb_title' => 'Albumtitel',
+		'alb_cat' => 'Albumcategorie',
+		'alb_desc' => 'Albumomschrijving', 
+		'alb_keyword' => 'Album zoekbegrip', //cpg1.4
+		'alb_thumb' => 'Album verkleinde afbeelding',
+		'alb_perm' => 'Permissies voor dit album',
+		'can_view' => 'Album kan bekeken worden door',
+		'can_upload' => 'Bezoekers kunnen bestanden uploaden',
+		'can_post_comments' => 'Bezoekers kunnen commentaar posten',
+		'can_rate' => 'Gebruiker kan bestanden beoordelen',
+		'user_gal' => 'Gebruikersgalerij',
+		'no_cat' => '* geen categorie *',
+		'alb_empty' => 'Album is leeg',
+		'last_uploaded' => 'Laatste upload',
+		'public_alb' => 'Iedereen (publiek album)',
+		'me_only' => 'Alleen ik',
+		'owner_only' => 'Alleen albumeigenaar (%s)',
+		'groupp_only' => 'Leden van de \'%s\' groep',
+		'err_no_alb_to_modify' => 'Geen album die je kunt aanpassen in de database.',
+		'update' => 'Pas album aan',
+		'reset_album' => 'Reset album', //cpg1.4
+		'reset_views' => 'Reset bekenen teller naar &quot;0&quot; voor %s', //cpg1.4
+		'reset_rating' => 'Reset stemmen van alle bestanden voor %s', //cpg1.4
+		'delete_comments' => 'Verwijder alle commentaarregels gemaakt in %s', //cpg1.4
+		'delete_files' => '%sIrreversibly%s verwijder alle bestanden in %s', //cpg1.4
+		'views' => 'bekeken', //cpg1.4
+		'votes' => 'stemmen', //cpg1.4
+		'comments' => 'commentaar', //cpg1.4
+		'files' => 'bestanden', //cpg1.4
+		'submit_reset' => 'verstuur wijzigingen', //cpg1.4
+		'reset_views_confirm' => 'Ik weet het zeker', //cpg1.4
+		'notice1' => '(*) afhankelijk van de %sgroups%s instellingen',  //cpg1.4
+		'alb_password' => 'Album wachtwoord', //cpg1.4
+		'alb_password_hint' => 'Album wachtwoord suggestie', //cpg1.4
+		'edit_files' =>'Wijzig bestanden', //cpg1.4
+		'parent_category' =>'Hoofd categorie', //cpg1.4
+		'thumbnail_view' =>'Thumbnails', //cpg1.4
+	); 
+
+	// ------------------------------------------------------------------------- //
+	// File phpinfo.php
+	// ------------------------------------------------------------------------- //
+	
+	if (defined('PHPINFO_PHP')) $lang_phpinfo_php = array(
+		'php_info' => 'PHP info',
+		'explanation' => 'Dit is de uitvoer gegenereerd door de PHP-functie <a href="http://www.php.net/phpinfo">phpinfo()</a>, getoond binnen Coppermine (de uitvoer is weergegeven aan de rechter kant).',
+		'no_link' => 'Het laten zien van je phpinfo kan een veiligheidsrisico betekenen, daarom is deze pagina alleen maar zichtbaar wanneer je ingelogd bent als beheerder. Je kunt geen link publiceren naar deze pagina aan anderen, hen wordt de toegang geweigerd.',
+	); 
+
+	// ------------------------------------------------------------------------- //
+	// File picmgr.php //cpg1.4
+	// ------------------------------------------------------------------------- //
+	if (defined('PICMGR_PHP')) $lang_picmgr_php = array(
+		'pic_mgr' => 'Afbeeldingsbeheer', //cpg1.4
+		'select_album' => 'Kies een Album', //cpg1.4
+		'delete' => 'Verwijder', //cpg1.4
+		'confirm_delete1' => 'Weer je zeker dat je deze afbeelding wilt vewijderen?', //cpg1.4
+		'confirm_delete2' => '\nDe afbeelding zal definitief worden verwijderd.', //cpg1.4
+		'apply_modifs' => 'Doorvoeren wijzigingen', //cpg1.4
+		'confirm_modifs' => 'Bevestig wijzigingen', //cpg1.4
+		'pic_need_name' => 'De afbeelding moet een naam hebben!', //cpg1.4
+		'no_change' => 'Je hebt geen enkele wijziging doorgevoerd!', //cpg1.4
+		'no_album' => '* Geen album *', //cpg1.4
+		'explanation_header' => 'De eigen sorteervolgorde op deze pagina zal alleen worden gebruikt indien', //cpg1.4
+		'explanation1' => 'de beheerder heeft ingesteld dat de "Standaard sorteervolgorder voor bestanden" in de instellingen is gezet op "Positie oplopend" of "Positie aflopend" (algemene instelling voor alle gebruikers die geen andere sortering hebben ingesteld)', //cpg1.4
+		'explanation2' => 'de gebruiker heeft gekozen voor "Positie oplopend" of "Positie aflopend" op the thumbnails pagina (gebruikersinstelling)', //cpg1.4
+	);
+
+	// ------------------------------------------------------------------------- //
+	// File pluginmgr.php //cpg1.4
+	// ------------------------------------------------------------------------- //
+	
+	if (defined('PLUGINMGR_PHP')){
+	
+		$lang_pluginmgr_php = array(
+			'confirm_uninstall' => 'Weet je zeker dat je deze plugin wilt DEINSTALLEREN', //cpg1.4
+			'confirm_delete' => 'Weet je zeker dat je deze plugin wilt VERWIJDEREN', //cpg1.4
+			'pmgr' => 'Plugin beheer', //cpg1.4
+			'name' => 'Naam', //cpg1.4
+			'author' => 'Programmeur', //cpg1.4
+			'desc' => 'Omschrijving', //cpg1.4
+			'vers' => 'v', //cpg1.4
+			'i_plugins' => 'Geïnstalleerde Plugins', //cpg1.4
+			'n_plugins' => 'Niet geïnstalleerde Plugins', //cpg1.4
+			'none_installed' => 'Geen enkele plugin geïnstalleerd', //cpg1.4
+			'operation' => 'operation', //cpg1.4
+			'not_plugin_package' => 'Het geuploade bestand is geen plugin voor Coppermine.', //cpg1.4
+			'copy_error' => 'Er is een fout opgetreden met het kopiëren van het bestand naar de plugins directory.', //cpg1.4
+			'upload' => 'Upload', //cpg1.4
+			'configure_plugin' => 'Stel plugin in', //cpg1.4
+			'cleanup_plugin' => 'Opschonen plugin', //cpg1.4
+		);
+	}
+
+	// ------------------------------------------------------------------------- //
+	// File ratepic.php
+	// ------------------------------------------------------------------------- //
+	
+	if (defined('RATEPIC_PHP')) $lang_rate_pic_php = array(
+		'already_rated' => 'Sorry, maar je hebt dit bestand al beoordeeld',
+		'rate_ok' => 'Je stem is geaccepteerd',
+		'forbidden' => 'Je kunt je eigen bestanden niet beoordelen.',
+	);
+
+	// ------------------------------------------------------------------------- //
+	// File register.php & profile.php
+	// ------------------------------------------------------------------------- //
+	
+	if (defined('REGISTER_PHP') || defined('PROFILE_PHP')) { 
+
+$lang_register_disclamer = <<<EOT
+Hoewel de beheerder van {SITE_NAME} zal proberen al het aanstootgevende materiaal op de site zo snel mogelijk te verwijderen, is het echter onmogelijk elk bestand te bekijken. Daarom ga je er mee akkoord, dat alle op deze site geuploade bestanden en weergegeven commentaren de gezichtspunten en opinies zijn van de respectievelijke auteurs en niet van de beheerder of webmaster (behalve hun eigen postings) en deze zullen daarvoor niet aansprakelijk gesteld kunnen worden.<br/>
+<br/>
+Je gaat er mee akkoord geen aanstootgevend, obsceen, vulgair, hatelijk, bedreigend, seksueel-getint materiaal of welk ander materiaal dan ook op deze site te plaatsen, dat enige van toepassing zijnde wet overtreedt. Je gaat er mee akkoord dat de webmaster, beheerder en  moderators van {SITE_NAME} het recht hebben elke inhoud te verwijderen en of te wijzigen wanneer zij dat nodig achten. Als gebruiker ga je er mee akkoord, dat alle data die je hebt verstrekt in een database worden bewaard. Hoewel deze informatie niet openbaar gemaakt wordt aan derden zonder jouw toestemming, ga je akkoord met het feit dat de webmaster en de beheerder niet verantwoordelijk gehouden kunnen worden voor welke hack-poging dan ook, dat kan lijden tot het openbaar worden van de database.<br/>
+<br/>
+Deze site gebruikt cookies om informatie te bewaren op je lokale computer. Deze cookies dienen er voor jouw kijkgemak en plezier aan de site te verhogen. Het e-mailadres wordt alleen gebruikt om jouw registratiedetails en wachtwoord te bevestigen.<br/>
+<br/>
+Door op 'Ik ga akkoord' hieronder te klikken , verklaar je je akkoord en ben je gebonden aan de hiervoor weergegeven condities.
+EOT;
+	
+		$lang_register_php = array(
+			'page_title' => 'Gebruikers registratie',
+			'term_cond' => 'Gebruikersvoorwaarden',
+			'i_agree' => 'Ik ga akkoord',
+			'submit' => 'Verstuur registratie',
+			'err_user_exists' => 'De ingevoerde gebruikersnaam bestaat al, kies een andere naam',
+			'err_password_mismatch' => 'De twee ingevoerde wachtwoorden zijn niet gelijk aan elkaar, geef ze nogmaals in',
+			'err_uname_short' => 'Een gebruikersnaam moet uit minimaal 2 tekens bestaan',
+			'err_password_short' => 'Een wachtwoord moet uit minimaal 2 tekens bestaan',
+			'err_uname_pass_diff' => 'De gebruikersnaam en het wachtwoord mogen niet hetzelfde zijn',
+			'err_invalid_email' => 'Het gebruikte E-mail is ongeldig',
+			'err_duplicate_email' => 'Een andere gebruiker heeft dit e-mail adres al een keer gebruikt',
+			'enter_info' => 'Voer registratiegegevens in',
+			'required_info' => 'Verplichte velden',
+			'optional_info' => 'Optionele velden',
+			'username' => 'Gebruikersnaam',
+			'password' => 'Wachtwoord',
+			'password_again' => 'Nogmaals het wachtwoord',
+			'email' => 'E-mail',
+			'location' => 'Plaats',
+			'interests' => 'Hobby\'s',
+			'website' => 'Home page',
+			'occupation' => 'Beroep',
+			'error' => 'FOUT',
+			'confirm_email_subject' => '%s - Registratie bevestiging',
+			'information' => 'Informatie',
+			'failed_sending_email' => 'De registratie bevestiging kan niet worden ge-e-maild!',
+			'thank_you' => 'Bedankt voor de registratie.<br/><br/>Je zult een e-mail zal ontvangen met daarin de instructies hoe je je gebruikersnaam kunt activeren.',
+			'acct_created' => 'Je gebruikersnaam is geregistreerd en je kunt met de opgegeven naam en wachtwoord inloggen',
+			'acct_active' => 'Je gebruikersnaam is nu geactiveerd en je kunt met de opgegeven naam en wachtwoord inloggen',
+			'acct_already_act' => 'De gebruikersnaam is al geactiveerd!', //cpg1.4
+			'acct_act_failed' => 'Deze gebruikersnaam kan niet worden geactiveerd!',
+			'err_unk_user' => 'De geselcteerde gebruiker bestaat niet!',
+			'x_s_profile' => '%s\'s profiel',
+			'group' => 'Groep',
+			'reg_date' => 'Aangemeld',
+			'disk_usage' => 'Disk gebruik',
+			'change_pass' => 'Verander wachtwoord',
+			'current_pass' => 'Huidig wachtwoord',
+			'new_pass' => 'Nieuw wacthwoord',
+			'new_pass_again' => 'Nogmaal nieuw wachtwoord',
+			'err_curr_pass' => 'Huidige wachtwoord is niet juist',
+			'apply_modif' => 'Toepassen wijzigingen',
+			'change_pass' => 'Verander mijn wachtwoord',
+			'update_success' => 'Je profiel is aangepast',
+			'pass_chg_success' => 'Je wachtwoord is gewijzigd',
+			'pass_chg_error' => 'Je wachtwoord is niet gewijzigd',
+			'notify_admin_email_subject' => '%s - Registratie bevestiging',
+			'last_uploads' => 'Laast geupload bestand.<br/>Klik om alle bestanden te zien die zijn geupload door', //cpg1.4
+			'last_comments' => 'Laatste commentaar.<br/>Klik om alle commentaarregels te zien die zijn gedaan door', //cpg1.4
+			'notify_admin_email_body' => 'Een nieuwe gebruiker met gebruikersnaam \'%s\' heeft zichzelf voor je gallerij geregistreerd', //cpg1.4
+			'pic_count' => 'Bestanden geupload', //cpg1.4
+			'notify_admin_request_email_subject' => '%s - Registratie verzoek', //cpg1.4
+			'thank_you_admin_activation' => 'Bedankt.<br/><br/>Je verzoek tot toegang is verzonden aan de beheerder. Zo snel als je gebruikersnaam is geaccepteerd ontvang je een e-mail.', //cpg1.4
+			'acct_active_admin_activation' => 'De gebruikersnaam is nu geactiveerd en de gebruiker krijgt daarvan een bevestiging over de e-mail.', //cpg1.4
+			'notify_user_email_subject' => '%s - Activatie bevestiging', //cpg1.4
+		); 
+
+$lang_register_confirm_email = <<<EOT
+Dank je voor het registreren bij {SITE_NAME}
+
+Om je account "{USER_NAME}" te kunnen activeren moet je op de link hieronder klikken of kopieer en plak het in je webbrowser.
+
+<a href="{ACT_LINK}">{ACT_LINK}</a>
+
+Hartelijke groet, 
+
+De beheerder van {SITE_NAME}
+
+EOT;
+
+$lang_register_approve_email = <<<EOT
+Een nieuwe gebruiker met de gebruikersnaam "{USER_NAME}" heeft zich geregistreerd in jouw gallerij.
+
+Om je account te kunnen activeren moet je op de link hieronder klikken of kopieer en plak het in je webbrowser.
+
+<a href="{ACT_LINK}">{ACT_LINK}</a>
+
+EOT;
+
+$lang_register_activated_email = <<<EOT
+Je account is geaccepteerd en geactiveerd.
+
+Je kan nu inloggen op <a href="{SITE_LINK}">{SITE_LINK}</a> met de gebruikersnaam "{USER_NAME}"
+
+
+Hartelijke groet, 
+
+De beheerder van {SITE_NAME}
+
+EOT;
+	
+	} 
+
+	// ------------------------------------------------------------------------- //
+	// File reviewcom.php
+	// ------------------------------------------------------------------------- //
+	
+	if (defined('REVIEWCOM_PHP')) $lang_reviewcom_php = array(
+		'title' => 'Bekijk commentaar',
+		'no_comment' => 'Er is geen commentaar te bekijken',
+		'n_comm_del' => '%s commentaren verwijderd',
+		'n_comm_disp' => 'Aantal commentaren',
+		'see_prev' => 'Bekijk voorgaande',
+		'see_next' => 'Bekijk volgende',
+		'del_comm' => 'Verwijder geselecteerd commentaar', 
+		'user_name' => 'Naam', //cpg1.4
+		'date' => 'Datum', //cpg1.4
+		'comment' => 'Commentaar', //cpg1.4
+		'file' => 'Bestand', //cpg1.4
+		'name_a' => 'Gebruikersnaam oplopend', //cpg1.4
+		'name_d' => 'Gebruikersnaam aflopend', //cpg1.4
+		'date_a' => 'Datum oplopend', //cpg1.4
+		'date_d' => 'Datum aflopend', //cpg1.4
+		'comment_a' => 'Commentaar oplopend', //cpg1.4
+		'comment_d' => 'Commentaar aflopend', //cpg1.4
+		'file_a' => 'Bestand oplopend', //cpg1.4
+		'file_d' => 'Bestand aflopend', //cpg1.4
+	);
+	
+	// ------------------------------------------------------------------------- //
+	// File search.php  //cpg1.4
+	// ------------------------------------------------------------------------- //
+	
+	if (defined('SEARCH_PHP')){
+	
+		$lang_search_php = array(
+			'title' => 'Bestanden zoeken', //cpg1.4
+			'submit_search' => 'zoeken', //cpg1.4
+			'keyword_list_title' => 'Zoekbegrippen', //cpg1.4
+			'keyword_msg' => 'De lijst hierboven bevat niet alles. Bijvoorbeeld de titels en omschrijvingen zijn niet opgenomen. Probeer een uitgebreide zoeksleutel te kiezen.',  //cpg1.4
+			'edit_keywords' => 'Wijzig zoekbegrippen', //cpg1.4
+			'search in' => 'Zoeken in:', //cpg1.4
+			'ip_address' => 'IP adres', //cpg1.4
+			'fields' => 'Zoeken in', //cpg1.4
+			'age' => 'Tijdschaal', //cpg1.4
+			'newer_than' => 'Nieuwe dan', //cpg1.4
+			'older_than' => 'Ouder dan', //cpg1.4
+			'days' => 'dagen', //cpg1.4
+			'all_words' => 'Hele woorden (AND)', //cpg1.4
+			'any_words' => 'Alle woorden (OR)', //cpg1.4
+		);
+	
+		$lang_adv_opts = array(
+			'title' => 'Titel', //cpg1.4
+			'caption' => 'Omschrijving', //cpg1.4
+			'keywords' => 'Zoekbegrippen', //cpg1.4
+			'owner_name' => 'Eigenaar', //cpg1.4
+			'filename' => 'Bestandsnaam', //cpg1.4
+		);
+	
+	}
+	
+	// ------------------------------------------------------------------------- //
+	// File searchnew.php
+	// ------------------------------------------------------------------------- //
+	
+	if (defined('SEARCHNEW_PHP')) $lang_search_new_php = array(
+		'page_title' => 'Zoek nieuwe bestanden',
+		'select_dir' => 'Selecteer map',
+		'select_dir_msg' => 'Deze functie stelt je in staat een aantal bestanden gelijktijdig naar je server te uploaden d.m.v. FTP.<br/><br/>Selecteer de map waar je de bestanden naar hebt geupload',
+		'no_pic_to_add' => 'Er is geen bestand om toe te voegen',
+		'need_one_album' => 'Je hebt minimaal een album nodig om deze functie te gebruiken',
+		'warning' => 'Waarschuwing',
+		'change_perm' => 'Het script kan niet schrijven in deze map, je moet de modus ervan veranderen naar 755 of 777 voordat je probeert het bestand toe te voegen !',
+		'target_album' => '<b>Plaats bestanden van &quot;</b>%s<b>&quot; in </b>%s',
+		'folder' => 'Map',
+		'image' => 'Bestand',
+		'album' => 'Album',
+		'result' => 'Resultaat',
+		'dir_ro' => 'Niet beschrijfbaar.',
+		'dir_cant_read' => 'Niet leesbaar.',
+		'insert' => 'Toevoegen van nieuwe bestanden aan galerij',
+		'list_new_pic' => 'Lijst van nieuwe bestanden',
+		'insert_selected' => 'Invoegen van geselecteerde bestanden',
+		'no_pic_found' => 'Er is GEEN bestand gevonden',
+		'be_patient' => 'Heb geduld, het script heeft enige tijd nodig om de bestanden aan het album toe te voegen',
+		'no_album' => 'geen album geselecteerd', 
+		'result_icon' => 'klik voor meer gegevens of om opniuew te laden', 
+		'notes' =>  '<ul>'.
+		'<li><b>OK</b> : betekent dat het bestand met succes is toegevoegd'.
+		'<li><b>DP</b> : betekent dat het bestand dubbel is en zich al in de database bevindt'.
+		'<li><b>PB</b> : betekent dat het bestand niet toegevoegd kon worden. Controleer je configuratie en de permissies van mappen waar de bestanden zich bevinden'.
+		'<li><b>NA</b> : betekent dat je geen album geselecteerd hebt waar de bestanden in moeten, klik \'<a href="javascript:history.back(1)">Terug</a>\' en selecteer een album. Als je geen album hebt, <a href="albmgr.php">creëer er dan éérst een</a></li>'.
+		'<li>Als de OK, DP, PB \'tekens\' niet verschijnen klik dan op het verbroken bestand om te kijken of er een PHP-foutbericht gegeven wordt'.
+		'<li>Indien je browser een time-out bericht geeft, klik dan op de herlaad-knop'.
+		'</ul>',
+		'select_album' => 'selecteer album',
+		'check_all' => 'Selecteer alles',
+		'uncheck_all' => 'de-selecteer alles', 
+		'no_folders' => 'Er bevinden zich geen subdirectories in de "albums". Zorg ervoor dat minstens een subdirecotry is opgenomen in deze "albums" directory en ftp-upload je bestanden daarheen. Je mag geen bestanden uploaden naar de "userpics" of de "edit" directory, deze zijn gereserveerd voor Coppermine.',
+		'albums_no_category' => 'Albums met geen catagorie', //cpg1.4 // album pulldown mod, added by frogfoot
+		'personal_albums' => '* Persoonlijke albums', //cpg1.4 // album pulldown mod, added by frogfoot
+		'browse_batch_add' => 'Explorer interface (aanbevolen)', //cpg1.4
+		'edit_pics' => 'Wijzig bestanden', //cpg1.4
+		'edit_properties' => 'Album eigenschappen', //cpg1.4
+		'view_thumbs' => 'Thumbnails', //cpg1.4
+	);
+
+	// ------------------------------------------------------------------------- //
+	// File stat_details.php //cpg1.4
+	// ------------------------------------------------------------------------- //
+	
+	if (defined('STAT_DETAILS_PHP')) $lang_stat_details_php = array(
+		'show_hide' => 'laat zien/verberg deze kolom', //cpg1.4
+		'vote' => 'Stemmen Details', //cpg1.4
+		'hits' => 'Hit Details', //cpg1.4
+		'stats' => 'Stemmen Statistieken', //cpg1.4
+		'sdate' => 'Datum', //cpg1.4
+		'rating' => 'Voorkeur', //cpg1.4
+		'search_phrase' => 'Zoek tekst', //cpg1.4
+		'referer' => 'Referer', //cpg1.4
+		'browser' => 'Browser', //cpg1.4
+		'os' => 'Operating System', //cpg1.4
+		'ip' => 'IP', //cpg1.4
+		'sort_by_xxx' => 'Sorteer op %s', //cpg1.4
+		'ascending' => 'oplopend', //cpg1.4
+		'descending' => 'aflopend', //cpg1.4
+		'internal' => 'int', //cpg1.4
+		'close' => 'sluiten', //cpg1.4
+		'hide_internal_referers' => 'verberg interne referers', //cpg1.4
+		'date_display' => 'Datum weergave', //cpg1.4
+		'submit' => 'verzenden / verversen', //cpg1.4
+	);
+
+	// ------------------------------------------------------------------------- //
+	// File thumbnails.php
+	// ------------------------------------------------------------------------- //
+	
+	// Void
+	
+	// ------------------------------------------------------------------------- //
+	// File upload.php
+	// ------------------------------------------------------------------------- //
+	
+	if (defined('UPLOAD_PHP')) $lang_upload_php = array(
+		'title' => 'Upload foto',
+		'custom_title' => 'Aangepast aanvraagformulier',
+		'cust_instr_1' => 'Je mag een aangepast aantal bestands- en URI-uploadboxen hebben. Echter, je mag niet meer selecteren dan de hieronder afggebeelde limieten.',
+		'cust_instr_2' => 'Boxnummer-aanvraag',
+		'cust_instr_3' => 'Bestand-uploadboxen: %s',
+		'cust_instr_4' => 'URI/URL-uploadboxen: %s',
+		'cust_instr_5' => 'URI/URL-uploadboxen:',
+		'cust_instr_6' => 'Bestand-uploadboxen:',
+		'cust_instr_7' => 'Geef het aantal voor ieder type uploadboxen dat je op dit moment wenst.  Klik daarna op\'Doorgaan\'. ',
+		'reg_instr_1' => 'Ongeldige actie voor aanmaken formulier:',
+		'reg_instr_2' => 'Nu kun je je bestanden uploaden, gebruikmakend van onderstaande boxen. De grootte van de bestanden van je client naar de server mogen elk niet de %s KB overschrijden. Zip-bestanden in het \'Bestand Upload\' en \'URI/URL Upload\' gebied blijven gecomprimeerd.' ,
+		'reg_instr_3' => 'Indien je de gezipte bestanden of archieven gecomprimeerd wilt hebben, moet je de uploadbox gebruiken in het \'Decompress zip-upload\' gebied',
+		'reg_instr_4' => 'Als je de URI/URL-uploadsectie gebruikt, geef het pad op naar het bestand zoals bijv. dit : http://www.mysite.com/images/example.jpg',
+		'reg_instr_5' => 'Als je het formulier voltooid hebt, klik op \'Doorgaan\'.',
+		'reg_instr_6' => 'Decomprimeerbare Zip-uploads',
+		'reg_instr_7' => 'Bestands-upload:',
+		'reg_instr_8' => 'URI/URL-upload:',
+		'error_report' => 'Foutrapport',
+		'error_instr' => 'De volgende uploads hebben een fout ervaren:',
+		'file_name_url' => 'Bestandsnaam/URL',
+		'error_message' => 'Foutboodschap',
+		'no_post' => 'Bestand niet opgeladen door POST.',
+		'forb_ext' => 'Verboden bestandsextensie.',
+		'exc_php_ini' => 'Overschreden bestandsgrootte in php.ini toegestaan.',
+		'exc_file_size' => 'Overschreden bestandsgrootte in CPG toegestaan.',
+		'partial_upload' => 'Alleen een deel-upload.',
+		'no_upload' => 'Geen upload plaatsgevonden.',
+		'unknown_code' => 'Onbekende PHP-upload foutcode.',
+		'no_temp_name' => 'Geen upload - Geen voorlopige naam.',
+		'no_file_size' => 'Bevat geen data/corrupt',
+		'impossible' => 'Onmogelijk te verplaatsen.',
+		'not_image' => 'Geen foto/corrupt',
+		'not_GD' => 'Geen GD-extensie.',
+		'pixel_allowance' => 'Pixeltoestemming overschreden.',
+		'incorrect_prefix' => 'Ongeldig URI/URL-voorvoegsel',
+		'could_not_open_URI' => 'Kon URI niet openen.',
+		'unsafe_URI' => 'Veiligheid niet verifieerbaar.',
+		'meta_data_failure' => 'Meta data-fout',
+		'http_401' => '401 Niet geauthoriseerd',
+		'http_402' => '402 Betaling vereist',
+		'http_403' => '403 Verboden',
+		'http_404' => '404 Niet gevonden',
+		'http_500' => '500 Interne server-fout',
+		'http_503' => '503 Service niet beschikbaar',
+		'MIME_extraction_failure' => 'MIME kon niet bepaald worden.',
+		'MIME_type_unknown' => 'Onbekend MIME-type',
+		'cant_create_write' => 'Kan schrijfbestand niet creëeren.',
+		'not_writable' => 'Kan niet naar schrijfbestand schrijven.',
+		'cant_read_URI' => 'Kan URI/URL niet lezen',
+		'cant_open_write_file' => 'Kan URI-schrijfbestand niet openen.',
+		'cant_write_write_file' => 'Kan niet schrijven naar URI-schrijfbestand.',
+		'cant_unzip' => 'Kan niet zipbestanden niet uitpakken.',
+		'unknown' => 'Onbekende fout',
+		'succ' => 'Met succes geuploade bestanden',
+		'success' => '%s bestanden waren met succesgeupload.',
+		'add' => 'klik \'Doorgaan\' om de bestanden toe te voegen aan albums.',
+		'failure' => 'Upload-fout',
+		'f_info' => 'Bestandsinformatie',
+		'no_place' => 'Het voorgaande bestand kon niet geplaatst worden.',
+		'yes_place' => 'Het voorgaande bestand is met succes geplaatst.',
+		'max_fsize' => 'Maximaal toegestane bestandsgrootte is %s KB',
+		'album' => 'Album',
+		'picture' => 'Bestand',
+		'pic_title' => 'Bestandstitel',
+		'description' => 'Bestandsomschrijving',
+		'keywords' => 'Zoekbegrippen (scheiden met spaties)', 
+		'keywords_sel' =>'Selecteer een zoekbegrip', //cpg1.4
+		'err_no_alb_uploadables' => 'Sorry, er is geen album waar het je toegestaan is bestanden naar te uploaden',
+		'place_instr_1' => 'Plaats de bestanden nu in albums.  Je kunt nu ook relevante informatie over ieder bestand toevoegen.',
+		'place_instr_2' => 'Er zijn meer bestanden die geplaatst moeten worden. Klik op \'Doorgaan\'.',
+		'process_complete' => 'Je hebt met succes alle bestanden geplaatst.', 
+		'albums_no_category' => 'Albums zonder catagorie', //cpg1.4. //album pulldown mod, added by frogfoot
+		'personal_albums' => '* Persoonlijke albums', //cpg1.4. //album pulldown mod, added by frogfoot
+		'select_album' => 'Selecteer album', //cpg1.4. //album pulldown mod, added by frogfoot
+		'close' => 'Sluiten', //cpg1.4
+		'no_keywords' => 'Sorry, er zijn geen zoekbegrippen!', //cpg1.4
+		'regenerate_dictionary' => 'Herindexeren Bibliotheek', //cpg1.4
+	);
+
+	// ------------------------------------------------------------------------- //
+	// File usermgr.php
+	// ------------------------------------------------------------------------- //
+	
+	if (defined('USERMGR_PHP')) $lang_usermgr_php = array( 
+		'memberlist' => 'Gebruikers', //cpg1.4
+		'user_manager' => 'Gebruikersbeheer', //cpg1.4
+		'title' => 'Gebruikersbeheer',
+		'name_a' => 'Naam oplopend',
+		'name_d' => 'Naam aflopend',
+		'group_a' => 'Groep oplopend',
+		'group_d' => 'Groep aflopend',
+		'reg_a' => 'Registratiedatum oplopend',
+		'reg_d' => 'Registratiedatum aflopend',
+		'pic_a' => 'Aantal bestanden oplopend',
+		'pic_d' => 'Aantal bestanden aflopend',
+		'disku_a' => 'Gebruikte bestandsgrootte oplopend',
+		'disku_d' => 'Gebruikte bestandsgrootte aflopend',
+		'lv_a' => 'Laatste bezoek oplopend',
+		'lv_d' => 'Laatste bezoek aflopend',
+		'sort_by' => 'Sorteer gebruikers op',
+		'err_no_users' => 'Gebruikerstabel is leeg !',
+		'err_edit_self' => 'Je kunt je eigen profiel niet wijzigen, gebruik daarvoor de \'Mijn profiel\' link',
+		'edit' => 'Wijzig', //cpg1.4
+		'with_selected' => 'met geselecteerde:', //cpg1.4
+		'delete' => 'Verwijder', //cpg1.4
+		'delete_files_no' => 'behoud openbare bestanden (maar maak deze anoniem)', //cpg1.4
+		'delete_files_yes' => 'verwijder ook de openbare bestanden', //cpg1.4
+		'delete_comments_no' => 'behoud commentaar (maar maak deze anoniem)', //cpg1.4
+		'delete_comments_yes' => 'verwijder ook de commentaren', //cpg1.4
+		'activate' => 'Activeer', //cpg1.4
+		'deactivate' => 'Deactiveer', //cpg1.4
+		'reset_password' => 'Reset wachtwoord', //cpg1.4
+		'change_primary_membergroup' => 'Verander primaire gebruikersgroep', //cpg1.4
+		'add_secondary_membergroup' => 'Verander secundaire gebruikersgroep', //cpg1.4
+		'name' => 'Gebruikersnaam',
+		'group' => 'Groep',
+		'inactive' => 'Inactief',
+		'operations' => 'Bewerkingen',
+		'pictures' => 'Bestanden', 
+		'disk_space_used' => 'Disk gebruik', //cpg1.4
+		'disk_space_quota' => 'Disk Quota', //cpg1.4
+		'registered_on' => 'Registratie', //cpg1.4
+		'last_visit' => 'Laatste bezoek',
+		'u_user_on_p_pages' => '%d gebruikers op %d pagina(s)',
+		'confirm_del' => 'Weet je zeker dat je deze gebruiker wilt VERWIJDEREN ? \\nAl zijn bestanden en albums worden ook verwijderd.',
+		'mail' => 'MAIL',
+		'err_unknown_user' => 'Geselecteerde gebruiker bestaat niet !',
+		'modify_user' => 'Wijzig gebruiker',
+		'notes' => 'Notities',
+		'note_list' => '<li>Als je niet je huidige wachtwoord wilt wijzigen, laat dan het "wachtwoord" veld leeg',
+		'password' => 'Wachtwoord',
+		'user_active' => 'Gebruiker is actief',
+		'user_group' => 'Gebruikersgroep',
+		'user_email' => 'E-mail van gebruiker',
+		'user_web_site' => 'Website van gebruiker',
+		'create_new_user'=> 'Creëer nieuwe gebruiker',
+		'user_location' => 'Locatie van gebruiker',
+		'user_interests' => 'Interesse van gebruiker',
+		'user_occupation'  => 'Beroep van gebruiker', 
+		'user_profile1' => '$user_profile1', //cpg1.4
+		'user_profile2' => '$user_profile2', //cpg1.4
+		'user_profile3' => '$user_profile3', //cpg1.4
+		'user_profile4' => '$user_profile4', //cpg1.4
+		'user_profile5' => '$user_profile5', //cpg1.4
+		'user_profile6' => '$user_profile6', //cpg1.4
+		'latest_upload' => 'Recente uploads',
+		'never' => 'nooit', 
+		'search' => 'Zoek gebruiker', //cpg1.4
+		'submit' => 'Verzenden', //cpg1.4
+		'search_submit' => 'Start!', //cpg1.4
+		'search_result' => 'Zoekresultaten voor: ', //cpg1.4
+		'alert_no_selection' => 'Je moet eerst een gebruiker selecteren!',  //cpg1.4 //js-alert
+		'password' => 'wachtwoord', //cpg1.4
+		'select_group' => 'Selecteer groep', //cpg1.4
+		'groups_alb_access' => 'Album rechten per groep', //cpg1.4
+		'album' => 'Album', //cpg1.4
+		'category' => 'Catagorie', //cpg1.4
+		'modify' => 'Wijzig?', //cpg1.4
+		'group_no_access' => 'Deze groep heeft geen speciale toegangsrechten', //cpg1.4
+		'notice' => 'Let Op', //cpg1.4
+		'group_can_access' => 'Album(s) die alleen door "%s" bekeken mogen worden', //cpg1.4
+	);
+
+	// ------------------------------------------------------------------------- //
+	// File util.php
+	// ------------------------------------------------------------------------- //
+	
+	if (defined('UTIL_PHP')) {
+	
+		$lang_util_desc_php = array(
+			'Pas titels aan uit bestandsnamen', //cpg1.4
+			'Verwijder titels', //cpg1.4
+			'Bouw thumbnails en middelgrote afbeeldingen opnieuw op', //cpg1.4
+			'Verwijder orginele afbeeldingen en vervang deze door de aangepaste versie', //cpg1.4
+			'Verwijder orgrinele en middelgrote afbeeldingen om ruimte vrij te maken', //cpg1.4
+			'Verwijder verweesde commentaarregels', //cpg1.4
+			'Pas bestandsgrootte en afmetingen aan (na handmatige aanpassing afbeeldingen)', //cpg1.4
+			'Reset bekeken teller', //cpg1.4
+			'Geef PHPINFO weer', //cpg1.4
+			'Update de database', //cpg1.4
+			'Laat logging zien', //cpg1.4
+		);
+	
+		$lang_util_php = array(
+			'title' => 'Beheerders gereedschappen (Pas formaat afbeeldingen aan)',
+			'what_it_does' => 'Wat doen deze opties',
+			'file' => 'Bestand',
+			'problem' => 'Probleem', //cpg1.4
+			'status' => 'Status', //cpg1.4
+			'title_set_to' => 'titel instellen op',
+			'submit_form' => 'verzenden',
+			'updated_succesfully' => 'met succes toegepast',
+			'error_create' => 'FOUT bij het aanmaken van',
+			'continue' => 'Verwerk meer afbeeldingen',
+			'main_success' => 'Het bestand %s was met succes gebruikt als hoofdbestand',
+			'error_rename' => 'Fout bij het hernoemen van %s naar %s',
+			'error_not_found' => 'Het bestand %s was niet gevonden',
+			'back' => 'terug naar het begin',
+			'thumbs_wait' => 'Bezig met verwerken van aanpassingen aan de thumbnails en/of afbeeldingen, momentje...',
+			'thumbs_continue_wait' => 'Nog steeds bezit met verwerken van aanpassingen aan de thumbnails en/of afbeeldingen...',
+			'titles_wait' => 'Aanpassen titels, momentje...',
+			'delete_wait' => 'Verwijderen titels, momentje...',
+			'replace_wait' => 'Verwijderen orginele bestanden en vervang deze door de aangepaste bestanden, momentje..',
+			'instruction' => 'Snelstart instucties',
+			'instruction_action' => 'Selecteer optie',
+			'instruction_parameter' => 'Stel parameters in',
+			'instruction_album' => 'Selecteer album',
+			'instruction_press' => 'Druk op %s',
+			'update' => 'Verwerken thumbnails en/of afbeeldingen',
+			'update_what' => 'Wat er moet worden verwerkt',
+			'update_thumb' => 'Alleen thumbnails',
+			'update_pic' => 'Alleen aangepaste afbeeldingen',
+			'update_both' => 'Zowel thumbnails als aangepaste afbeeldingen',
+			'update_number' => 'Aantal te verwerken afbeeldingen per opdracht',
+			'update_option' => '(Indien er een time-out melding komt, moet deze waarde lager worden gezet)',
+			'filename_title' => 'Bestandsnaam &rArr; File title',
+			'filename_how' => 'Hoe moet de bestandsnaam woden aangepast',
+			'filename_remove' => 'Verwijder de .jpg aan het eindvan de bestandsnaam en vervang _ (underscore) met spaties',
+			'filename_euro' => 'Wijzig 2003_11_23_13_20_20.jpg in 23/11/2003 13:20',
+			'filename_us' => 'Wijzig 2003_11_23_13_20_20.jpg in 11/23/2003 13:20',
+			'filename_time' => 'Wijzig 2003_11_23_13_20_20.jpg in 13:20',
+			'delete' => 'Verwijder bestandsnamen of orginele afmeting afbeeldingen',
+			'delete_title' => 'Verwijder bestandsnamen',
+			'delete_title_explanation' => 'Deze optie zal alle titels uit het opgegevens album verwijderen.',
+			'delete_original' => 'Verwijder de orginele afbeeldingen', //cpg1.4
+			'delete_original_explanation' => 'Deze optie zal alle orginelen verwijderen van de webserver.', //cpg1.4
+			'delete_intermediate' => 'Verwijder tussenafbeeldingen', //cpg1.4
+			'delete_intermediate_explanation' => 'Deze optie zal alle tussenafbeeldingen (normal_) verwijderen.<br/>Gebruik deze optie om disk ruimte te besparen als de optie \'Maak tussenafbeeldingen aan\' in de instellingen aan staat.', //cpg1.4
+			'delete_replace' => 'Verwijder de orginele afbeeldingen en vervang deze door de aangepast afbeeldingen', //cpg1.4
+			'titles_deleted' => 'Alle titels uit het geselecteerde album worden verwijderd', //cpg1.4
+			'deleting_intermediates' => 'Bezig met het verwijderen van de tussenafbeeldingen, momentje...', //cpg1.4
+			'searching_orphans' => 'Zoeken naar wezen, momentje...', //cpg1.4
+			'select_album' => 'Kies een album', //cpg1.4
+			'delete_orphans' => 'Verwijder commentaar van niet aanwezige bestanden.', //cpg1.4
+			'delete_orphans_explanation' => 'Deze optie zorgt ervoor dat alle commentaarregels van bestanden die niet meer bestaan worden verwijderd.<br/>Kies \'Alle albums\'.', //cpg1.4
+			'refresh_db' => 'Herzien afmetingen en informatie van bestanden.', //cpg1.4
+			'refresh_db_explanation' => 'Deze optie zal de inforatie over de bestanden updaten in de database. Gebruik deze optie als je de bestanden handmatig hebt aangepast.',
+			'reset_views' => 'Reset bekeken teller', //cpg1.4
+			'reset_views_explanation' => 'Deze optie reset alle bekeken tellers in het geselecteerde album.',
+			'orphan_comment' => 'wezen commmentaar gevonden',
+			'delete' => 'Verwijder',
+			'delete_all' => 'Verwijder alles',
+			'delete_all_orphans' => 'Verwijder alle wezen?', //cpg1.4
+			'comment' => 'Commentaar: ',
+			'nonexist' => 'gekoppeld aan niet bestaand bestand # ',
+			'phpinfo' => 'Laat phpinfo zien',
+			'phpinfo_explanation' => 'Deze optie bevat technische informatie over de webserver. Dit heb je bijvoorbeeld nodig als je een supportvraag mocht hebben.',
+			'update_db' => 'Update database',
+			'update_db_explanation' => 'Deze optie gebruik je als je Coppermine hebt ge-update, aangepast of een nieuwe versie hebt geïnstalleerd. Deze optie zal ook missende zaken in de database aanpassen.',
+			'view_log' => 'Bekijk logging', //cpg1.4
+			'view_log_explanation' => 'Deze optie geeft je de mogelijkheid uitgebreide log informatie op te slaan om zo te kijken wat er op de server gebeurd. De logging moet aanstaan in de <a href="admin.php">Coppermine instellingen</a>.', //cpg1.4
+			'versioncheck' => 'Controleer versies', //cpg1.4
+			'versioncheck_explanation' => 'Deze optie gebruik je om te zien of alle versies van de programmatuur nog in order is.', //cpg1.4
+			'bridgemanager' => 'Integratie Beheer', //cpg1.4
+			'bridgemanager_explanation' => 'Deze optie gebruik je om Coppermine te integreren in een ander pakket, bv een BBS/Forum.', //cpg1.4
+		);
+	}
+
+	// ------------------------------------------------------------------------- //
+	// File versioncheck.php //cpg1.4
+	// ------------------------------------------------------------------------- //
+	
+	if (defined('VERSIONCHECK_PHP')) $lang_versioncheck_php = array(
+		'title' => 'Contoleer veries', //cpg1.4
+		'what_it_does' => 'Deze pagina is bedoeld voor beheerders die hun Coppermine versie geupdate hebben. Dit script loopt alle bestanden door en controleert of de versies gelijk zijn aan de bestanden op http://coppermine.sourceforge.net.<br/>In rood wordt weergegeven wat er moet worden aangepast. In geel worden bestanden weergegeven die je nog eens moet controleren. De groene bestanden (of die weergegeven worden in de standaard lettertype kleur) zijn prima. Klik op de icons om meer te weten te komen over de gegevens.', //cpg1.4
+		'online_repository_unable' => 'Kan de online databank niet benaderen', //cpg1.4
+		'online_repository_noconnect' => 'Coppermine kon de online databank niet benaderen. Dit kan door twee redenen hebben:', //cpg1.4
+		'online_repository_reason1' => 'De Coppermine online databank is niet beschikbaar. Controleer dit op deze pagina: %s - Als deze pagina ook niet beschikbaar is, probeer het later nog eens.', //cpg1.4
+		'online_repository_reason2' => 'PHP op de webserver heeft de instelling %s uit staan (standaard staat deze aan). Indien mogelijk, laat deze aanzetten door de beheerder van de server in <i>php.ini</i> (of laat het mogelijk worden om het te overrulen met %s). Als deze niet kan worden aangepast, dan is het niet mogelijk de bestanden met de online databank te vergelijken. Deze pagina zal dan alleen de bestandsversies tonen.', //cpg1.4
+		'online_repository_skipped' => 'Verbinding met de online databank geannuleerd', //cpg1.4
+		'online_repository_to_local' => 'Het script valt nu terug op de lokale versie van de bestanden. De informatie is misschien niet betrouwbaar als je de versie van Coppermine hebt geupdate en niet alle bestanden hebt overgehaald. Veranderingen aan de bestanden na deze versie zullen niet worden meegenomen.', //cpg1.4
+		'local_repository_unable' => 'De locale databank kan niet worden benaderd', //cpg1.4
+		'local_repository_explanation' => 'Coppermine kon de locale databank %s op je server niet benadern. Dit betekend waarschijnlijk dat je deze niet hebt geupload naar de server. Upload dit bestand en probeer het dan nog eens (Vernieuwen)<br/>Als het dan nog steeds niet lukt, de beheerder van de server heeft gedeelten van <a href="http://www.php.net/manual/en/ref.filesystem.php">PHP\'s filesystem functions</a> niet overgezet. Als dat het geval is, kan je deze tool helaas helemaal niet gebruiken, sorry.', //cpg1.4
+		'coppermine_version_header' => 'Geïnstalleerde Coppermine versie', //cpg1.4
+		'coppermine_version_info' => 'Je hebt nu geïnstalleerd: %s', //cpg1.4
+		'coppermine_version_explanation' => 'Als je denkt dat dit helemaal fout is en je denkt een latere Coppermine versie geïnstalleerd te hebben, heb je waarschijnlijk de laatste versie van het bestand <i>include/init.inc.php</i> niet.', //cpg1.4
+		'version_comparison' => 'Versie vergelijking', //cpg1.4
+		'folder_file' => 'directory/bestand', //cpg1.4
+		'coppermine_version' => 'Coppermine versie', //cpg1.4
+		'file_version' => 'bestandsversie', //cpg1.4
+		'webcvs' => 'web svn', //cpg1.4
+		'writable' => 'schrijfbaar', //cpg1.4
+		'not_writable' => 'niet schrijfbaar', //cpg1.4
+		'help' => 'Help', //cpg1.4
+		'help_file_not_exist_optional1' => 'bestand/directory bestaat niet', //cpg1.4
+		'help_file_not_exist_optional2' => 'Het bestand of de directorie kan niet worden gebonden op de webserver. Ondanks dat het geen verplicht bestand/directory is wordt aanbevolen het te uploaden indien je problemen mocht ondervinden.', //cpg1.4
+		'help_file_not_exist_mandatory1' => 'bestand/directory bestaat niet', //cpg1.4
+		'help_file_not_exist_mandatory2' => 'Het bestand of de directorie kan niet worden gebonden op de webserver ondanks dat het een verplicht bestand/directory is. Upload het bestand naar de webserver.', //cpg1.4
+		'help_no_local_version1' => 'Geen locale versie van het bestand', //cpg1.4
+		'help_no_local_version2' => 'Het script kon de lokale versie van het bestand niet lezen. Het bestand is of te oud, of je hebt het aangepast en hebt de header informatie niet goed overgenomen/verwijderd. Een nieuwe versie uploaden wordt aanbevolen.', //cpg1.4
+		'help_local_version_outdated1' => 'Lokale versie niet up-to-date', //cpg1.4
+		'help_local_version_outdated2' => 'De versie op de webserver lijkt ouder te zijn dan de versie van Coppermine (waarschijnlijk een oude versie die is blijven staan bij het upgraden. Zorg ervoor dat de juiste versie wordt geupload.', //cpg1.4
+		'help_local_version_na1' => 'Kan csv informatie niet lezen', //cpg1.4
+		'help_local_version_na2' => 'Het script kan niet bepalen wat de csv versie van ht bestand op de webserver is. Je moet het bestand uploaden naar de webserver.', //cpg1.4
+		'help_local_version_dev1' => 'Ontwikkel versie', //cpg1.4
+		'help_local_version_dev2' => 'Het bestand op de webserver lijkt nieuwer dan die in de online Coppermine databank. Je gebruik ofwel de ontwikkel versie (je moet wel zeker weten wat je doet) of je hebt het bestand include/init.inc.php niet goed geupload.', //cpg1.4
+		'help_not_writable1' => 'Directory niet schrijfbaar', //cpg1.4
+		'help_not_writable2' => 'Verander de bestandsrechten (CHMOD) om het script schijfrechten te geven in de directory %s en alle onderliggende directories.', //cpg1.4
+		'help_writable1' => 'Directory schijfbaar', //cpg1.4
+		'help_writable2' => 'De directory %s is schrijfbaar. Dit is een onnodig risico, Coppermine heeft alleen leesrechten nodig.', //cpg1.4
+		'help_writable_undetermined' => 'Coppermine was niet in staat vast te stllen of de directory schijfbaar was.', //cpg1.4
+		'your_file' => 'lokaal bestand', //cpg1.4
+		'reference_file' => 'internet bestand', //cpg1.4
+		'summary' => 'Samenvatting', //cpg1.4
+		'total' => 'Totaal aantal bestanden/directories gecontroleerd', //cpg1.4
+		'mandatory_files_missing' => 'Vereiste bestanden niet gevonden', //cpg1.4
+		'optional_files_missing' => 'Optionele bestanden niet gevonden', //cpg1.4
+		'files_from_older_version' => 'Bestanden overgebleven uit een eerder versie van Coppermine', //cpg1.4
+		'file_version_outdated' => 'Niet-recente bestanden', //cpg1.4
+		'error_no_data' => 'Het script heeft een fout veroorzaakt en was niet in staat de juiste informatie op te halen. Sorry!.', //cpg1.4
+		'go_to_webcvs' => 'ga naar %s', //cpg1.4
+		'options' => 'Opties', //cpg1.4
+		'show_optional_files' => 'Laat optionele bestanden/directories zien', //cpg1.4
+		'show_mandatory_files' => 'Laat verplichte bestanden zien', //cpg1.4
+		'show_file_versions' => 'Laat bestandsversies zien', //cpg1.4
+		'show_errors_only' => 'Laat alleen bestanden/directories met fouten zien', //cpg1.4
+		'show_permissions' => 'Laat directory rechten zien', //cpg1.4
+		'show_condensed_output' => 'Laat simpele uitvoer zien (voor bv schermprints)', //cpg1.4
+		'coppermine_in_webroot' => 'Coppermine in geïnstalleerd in de root van de server', //cpg1.4
+		'connect_online_repository' => 'Zoek gegevens in de online Coppermine databank', //cpg1.4
+		'show_additional_information' => 'Laat aanvullende informatie zien', //cpg1.4
+		'no_webcvs_link' => 'Laat geen link naar de online cvs zien', //cpg1.4
+		'stable_webcvs_link' => 'Geef csv link weer naar stabiele versie', //cpg1.4
+		'devel_webcvs_link' => 'Geef csv link weer naar ontwikkel versie', //cpg1.4
+		'submit' => 'voer wijzigingen uit / vernieuwen', //cpg1.4
+		'reset_to_defaults' => 'reset naar de standaard waardes', //cpg1.4
+	);
+
+	// ------------------------------------------------------------------------- //
+	// File view_log.php  //cpg1.4
+	// ------------------------------------------------------------------------- //
+	
+	if (defined('VIEWLOG_PHP')) $lang_viewlog_php = array(
+		'delete_all' => 'Verwijder alle logbestanden', //cpg1.4
+		'delete_this' => 'Verwijder dit logbestand', //cpg1.4
+		'view_logs' => 'Bekijk logbestand', //cpg1.4
+		'no_logs' => 'Geen logbestanden aangemaakt.', //cpg1.4
+	);
+
+	// ------------------------------------------------------------------------- //
+	// File xp_publish.php //cpg1.4
+	// ------------------------------------------------------------------------- //
+	
+	if (defined('XP_PUBLISH_PHP')) {
+	
+$lang_xp_publish_client = <<<EOT
+<h1>XP Web Publishing Wizard Client</h1><p>Deze module kan gebruikt worden om de <b>Windows XP</b> web publishing wizard met Coppermine te gebruiken.</p>
+EOT;
+
+$lang_xp_publish_required = <<<EOT
+<h2>Systeemvereisten:</h2><ul><li>Windows XP (de wizard is onderdeel van Windows XP).</li><li>Een goed geïnstalleerde versie van Coppermine waar de <b>web upload fucntie goed werkt.</b></li></ul><h2>Hoe de client software te installeren</h2><ul><li>Right click on
+EOT;
+
+$lang_xp_publish_select = <<<EOT
+Select &quot;save target as..&quot;. Bweaar het bestand op de harddisk. Als je heb vestand bewaard, controleer dan of de bestandnaam <b>cpg_###.reg</b> is (De ### staan voor de nummerieke datum/tijd). Wijzig deze naam indien nodig (laat de nummers intact).Indien gedownloade controleer dan nogmaal het bestand om de server met de web publishing wizard. te laten werken.</li></ul>
+EOT;
+
+$lang_xp_publish_testing = <<<EOT
+<h2>Testing</h2><ul><li>In de Windows Explorer, delecteer een aantal bestanden en klik op <b>Publiceerh xxx naar het internet</b> aan de linkerkant.</li><li>Controleer de bestandsselectie. Klik op <b>Volgende</b>.</li><li>In de lijst van items DIE dan verschijnt, selecteer een van de gallerijen (het heeft de naam van jou eigen gallerij)  Als de galleij niet tevoorschijn komt, controleer <b>cpg_pub_wizard.reg</b> zoals hierboven beschreven.</li><li>Geef je login informatie indien nodig in.</li><li>Selecteer het doel album voor de afbeeldingen of maak een nieuwe aan.</li><li>Klik op <b>Volgende</b>. De upload van de afbeeldingen begint.</li><li>Als alles is geupload, controlleer de gallerij of alle afbeeldingen correct zijn toegevoegd.</li></ul>
+EOT;
+
+$lang_xp_publish_notes = <<<EOT
+<h2>Notes :</h2><ul><li>Als de upload is gestart, kan de wizard geen foutmeldingen weergeven omdat de wizard niet kan controleren of het uploadproces goed is gegaan. Dit moet je handmatig controleren in de gallerij.</li><li>Als de upload mislukt, zet dan de &quot;Debug modus&quot; aan op de Coppermine instellingen pagina. Probeer het dan met een enkele afbeelding nog een keer en controleer daarna de foutmeldingen in het
+EOT;
+
+$lang_xp_publish_flood = <<<EOT
+bestand dat in de Coppermine directory van je server staat.</li><li>Om te voorkomen dat je gallerij volloopt met allerlei afbeeldingen dor worden geupload via de wizard, alleen <b>gallerij beheerders</b> en <b>gebruikers met een eigen album</b> zullen deze functie kunnen gebruiken.</li>
+EOT;
+	
+		$lang_xp_publish_php = array(
+			'title' => 'Coppermine - XP Web Publishing Wizard', //cpg1.4
+			'welcome' => 'Welkom <b>%s</b>,', //cpg1.4
+			'need_login' => 'Je moet zijn ongelogd op de gallerij met je webbrowser voordat je deze wizard kunt gebruiken.<p/><p>Als je inlogd, vergeet niet de <b>onthoudt mij</b> optie te gebruiken.', //cpg1.4
+			'no_alb' => 'Sorry, maar er is geen album waar het is toegestaan met behulp van deze wizard afbeeldingen te uploaden.', //cpg1.4
+			'upload' => 'Upload de afbeeldingen naar een bestaand album.', //cpg1.4
+			'create_new' => 'Maak een nieuw album aan voor de afbeeldingen', //cpg1.4
+			'album' => 'Album', //cpg1.4
+			'category' => 'Catagorie',
+			'new_alb_created' => 'Je nieuwe album &quot;<b>%s</b>&quot; is aangemaakt.', //cpg1.4
+			'continue' => 'Klik &quot;Volgende&quot; om het uploaden te starten', //cpg1.4
+			'link' => 'deze link', //cpg1.4
+		);
+	}
+
 ?>
\ No newline at end of file
diff -x .svn -aruN 1.4.24.src/lang/english_gb.php 1.4.25.src/lang/english_gb.php
--- 1.4.24.src/lang/english_gb.php	2009-05-25 15:01:17.000000000 -0500
+++ 1.4.25.src/lang/english_gb.php	2009-05-26 11:25:40.000000000 -0500
@@ -1,2109 +1,2109 @@
-<?php
-/*************************
-  Coppermine Photo Gallery
-  ************************
-  Copyright (c) 2003-2009 Coppermine Dev Team
-  v1.1 originally written by Gregory DEMAR
-
-  This program is free software; you can redistribute it and/or modify
-  it under the terms of the GNU General Public License version 3
-  as published by the Free Software Foundation.
-  
-  ********************************************
-  Coppermine version: 1.4.24
-  $HeadURL: https://coppermine.svn.sourceforge.net/svnroot/coppermine/trunk/cpg1.4.x/lang/english_gb.php $
-  $Revision: 5988 $
-  $Author: gaugau $
-  $Date: 2009-05-25 22:01:41 +0200 (Mo, 25 Mai 2009) $
-**********************************************/
-
-if (!defined('IN_COPPERMINE')) { die('Not in Coppermine...');}
-
-// info about translators and translated language
-$lang_translation_info = array(
-  'lang_name_english' => 'English (GB)',
-  'lang_name_native' => 'English (GB)',
-  'lang_country_code' => 'gb',
-  'trans_name'=> 'Coppermine dev team',
-  'trans_email' => '',
-  'trans_website' => 'http://coppermine-gallery.net/',
-  'trans_date' => '31-08-2005',
-);
-
-$lang_charset = 'iso-8859-1';
-$lang_text_dir = 'ltr'; // ('ltr' for left to right, 'rtl' for right to left)
-
-// shortcuts for Byte, Kilo, Mega
-$lang_byte_units = array('Bytes', 'KB', 'MB');
-
-// Day of weeks and months
-$lang_day_of_week = array('Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat');
-$lang_month = array('Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec');
-
-// Some common strings
-$lang_yes = 'Yes';
-$lang_no  = 'No';
-$lang_back = 'BACK';
-$lang_continue = 'CONTINUE';
-$lang_info = 'Information';
-$lang_error = 'Error';
-$lang_check_uncheck_all = 'check/uncheck all'; //cpg1.4
-
-// The various date formats
-// See http://www.php.net/manual/en/function.strftime.php to define the variable below
-$album_date_fmt =    '%d.%B %Y';
-$lastcom_date_fmt =  '%d.%m.%y at %H:%M';
-$lastup_date_fmt = '%d %B %Y';
-$register_date_fmt = '%d %B %Y';
-$lasthit_date_fmt = '%d %B %Y at %H:%M';
-$comment_date_fmt =  '%d %B %Y at %H:%M';
-$log_date_fmt = '%d %B, %Y at %I:%M %p'; //cpg1.4
-
-// For the word censor
-$lang_bad_words = array('*fuck*', 'asshole', 'assramer', 'bitch*', 'c0ck', 'clits', 'Cock', 'cum', 'cunt*', 'dago', 'daygo', 'dego', 'dick*', 'dildo', 'fanculo', 'feces', 'foreskin', 'Fu\(*', 'fuk*', 'honkey', 'hore', 'injun', 'kike', 'lesbo', 'masturbat*', 'motherfucker', 'nazis', 'nigger*', 'nutsack', 'penis', 'phuck', 'poop', 'pussy', 'scrotum', 'shit', 'slut', 'titties', 'titty', 'twaty', 'wank*', 'whore', 'wop*');
-
-$lang_meta_album_names = array(
-  'random' => 'Random files',
-  'lastup' => 'Last additions',
-  'lastalb'=> 'Last updated albums',
-  'lastcom' => 'Last comments',
-  'topn' => 'Most viewed',
-  'toprated' => 'Top rated',
-  'lasthits' => 'Last viewed',
-  'search' => 'Search results',
-  'favpics'=> 'Favourite Files',
-);
-
-$lang_errors = array(
-  'access_denied' => 'You don\'t have permission to access this page.',
-  'perm_denied' => 'You don\'t have permission to perform this operation.',
-  'param_missing' => 'Script called without the required parameter(s).',
-  'non_exist_ap' => 'The selected album/file does not exist !',
-  'quota_exceeded' => 'Disk quota exceeded<br /><br />You have a space quota of [quota]K, your files currently use [space]K, adding this file would make you exceed your quota.',
-  'gd_file_type_err' => 'When using the GD image library allowed image types are only JPEG and PNG.',
-  'invalid_image' => 'The image you have uploaded is corrupted or can\'t be handled by the GD library',
-  'resize_failed' => 'Unable to create thumbnail or reduced size image.',
-  'no_img_to_display' => 'No image to display',
-  'non_exist_cat' => 'The selected category does not exist',
-  'orphan_cat' => 'A category has a non-existing parent, run the category manager to correct the problem!',
-  'directory_ro' => 'Directory \'%s\' is not writable, files can\'t be deleted',
-  'non_exist_comment' => 'The selected comment does not exist.',
-  'pic_in_invalid_album' => 'File is in a non existant album (%s)!?',
-  'banned' => 'You are currently banned from using this site.',
-  'not_with_udb' => 'This function is disabled in Coppermine because it is integrated with forum software. Either what you are trying to do is not supported in this configuration, or the function should be handled by the forum software.',
-  'offline_title' => 'Offline',
-  'offline_text' => 'Gallery is currently offline - check back soon',
-  'ecards_empty' => 'There are currently no ecard records to display.',
-  'action_failed' => 'Action failed.  Coppermine is unable to process your request.',
-  'no_zip' => 'The necessary libraries to process ZIP files are not available.  Please contact your Coppermine administrator.',
-  'zip_type' => 'You do not have permission to upload ZIP files.',
-  'database_query' => 'There was an error while processing a database query', //cpg1.4
-  'register_globals_on' => 'The PHP setting register_globals is enabled on your server, which is a bad idea in terms of security. It\'s strongly recommended to turn it off. [<a href="http://forum.coppermine-gallery.net/index.php/topic,59569.0.html" rel="external" class="external">more</a>]',
-);
-
-$lang_bbcode_help_title = 'bbcode help'; //cpg1.4
-$lang_bbcode_help = 'You can add clickable links and some formating to this field by using bbcode tags: <li>[b]Bold[/b] =&gt; <b>Bold</b></li><li>[i]Italic[/i] =&gt; <i>Italic</i></li><li>[url=http://yoursite.com/]Url Text[/url] =&gt; <a href="http://yoursite.com">Url Text</a></li><li>[email]user@domain.com[/email] =&gt; <a href="mailto:user@domain.com">user@domain.com</a></li><li>[color=red]some text[/color] =&gt; <span style="color:red">some text</span></li><li>[img]http://coppermine-gallery.net/demo/cpg14x/images/red.gif[/img] => <img src="../images/red.gif" border="0" alt="" /></li>'; //cpg1.4
-
-// ------------------------------------------------------------------------- //
-// File theme.php
-// ------------------------------------------------------------------------- //
-
-$lang_main_menu = array(
-  'home_title' => 'Go to the home page',
-  'home_lnk' => 'Home',
-  'alb_list_title' => 'Go to the album list',
-  'alb_list_lnk' => 'Album list',
-  'my_gal_title' => 'Go to my personal gallery',
-  'my_gal_lnk' => 'My gallery',
-  'my_prof_title' => 'Go to my personal profile', //cpg1.4
-  'my_prof_lnk' => 'My profile',
-  'adm_mode_title' => 'Switch to admin mode',
-  'adm_mode_lnk' => 'Admin mode',
-  'usr_mode_title' => 'Switch to user mode',
-  'usr_mode_lnk' => 'User mode',
-  'upload_pic_title' => 'Upload a file into an album',
-  'upload_pic_lnk' => 'Upload file',
-  'register_title' => 'Create an account',
-  'register_lnk' => 'Register',
-  'login_title' => 'Log me in', //cpg1.4
-  'login_lnk' => 'Login',
-  'logout_title' => 'Log me out', //cpg1.4
-  'logout_lnk' => 'Logout',
-  'lastup_title' => 'Show most recent uploads', //cpg1.4
-  'lastup_lnk' => 'Last uploads',
-  'lastcom_title' => 'Show most recent comments', //cpg1.4
-  'lastcom_lnk' => 'Last comments',
-  'topn_title' => 'Show most viewed items', //cpg1.4
-  'topn_lnk' => 'Most viewed',
-  'toprated_title' => 'Show top rated items', //cpg1.4
-  'toprated_lnk' => 'Top rated',
-  'search_title' => 'Search the gallery', //cpg1.4
-  'search_lnk' => 'Search',
-  'fav_title' => 'Go to my favourites', //cpg1.4.0
-  'fav_lnk' => 'My Favourites',
-  'memberlist_title' => 'Show Memberlist',
-  'memberlist_lnk' => 'Memberlist',
-  'faq_title' => 'Frequently Asked Questions on the picture gallery &quot;Coppermine&quot;',
-  'faq_lnk' => 'FAQ',
-);
-
-$lang_gallery_admin_menu = array(
-  'upl_app_title' => 'Approve new uploads', //cpg1.4
-  'upl_app_lnk' => 'Upload approval',
-  'admin_title' => 'Go to config', //cpg1.4
-  'admin_lnk' => 'Config', //cpg1.4
-  'albums_title' => 'Go to album configuration', //cpg1.4
-  'albums_lnk' => 'Albums',
-  'categories_title' => 'Go to category configuration', //cpg1.4
-  'categories_lnk' => 'Categories',
-  'users_title' => 'Go to user configuration', //cpg1.4
-  'users_lnk' => 'Users',
-  'groups_title' => 'Go to group configuration', //cpg1.4
-  'groups_lnk' => 'Groups',
-  'comments_title' => 'Review all comments', //cpg1.4
-  'comments_lnk' => 'Review Comments',
-  'searchnew_title' => 'Go to the batch add process', //cpg1.4
-  'searchnew_lnk' => 'Batch add files',
-  'util_title' => 'Go to the admin tools', //cpg1.4
-  'util_lnk' => 'Admin Tools',
-  'key_title' => 'Go to the keyword dictionary', //cpg1.4
-  'key_lnk' => 'Keyword Dictionary', //cpg1.4
-  'ban_title' => 'Go to the banned users', //cpg1.4
-  'ban_lnk' => 'Ban Users',
-  'db_ecard_title' => 'Review Ecards', //cpg1.4
-  'db_ecard_lnk' => 'Display Ecards',
-  'pictures_title' => 'Sort my pictures', //cpg1.4
-  'pictures_lnk' => 'Sort my pictures', //cpg1.4
-  'documentation_lnk' => 'Documentation', //cpg1.4
-  'documentation_title' => 'Coppermine manual', //cpg1.4
-);
-
-$lang_user_admin_menu = array(
-  'albmgr_title' => 'Create and order my albums', //cpg1.4
-  'albmgr_lnk' => 'Create / order my albums',
-  'modifyalb_title' => 'Go to modify my albums',  //cpg1.4
-  'modifyalb_lnk' => 'Modify my albums',
-  'my_prof_title' => 'Go to my personal profile', //cpg1.4
-  'my_prof_lnk' => 'My profile',
-);
-
-$lang_cat_list = array(
-  'category' => 'Category',
-  'albums' => 'Albums',
-  'pictures' => 'Files',
-);
-
-$lang_album_list = array(
-  'album_on_page' => '%d albums on %d page(s)',
-);
-
-$lang_thumb_view = array(
-  'date' => 'DATE',
-  //Sort by filename and title
-  'name' => 'FILE NAME',
-  'title' => 'TITLE',
-  'sort_da' => 'Sort by date ascending',
-  'sort_dd' => 'Sort by date descending',
-  'sort_na' => 'Sort by name ascending',
-  'sort_nd' => 'Sort by name descending',
-  'sort_ta' => 'Sort by title ascending',
-  'sort_td' => 'Sort by title descending',
-  'position' => 'POSITION', //cpg1.4
-  'sort_pa' => 'Sort by position ascending', //cpg1.4
-  'sort_pd' => 'Sort by position descending', //cpg1.4
-  'download_zip' => 'Download as Zip file',
-  'pic_on_page' => '%d files on %d page(s)',
-  'user_on_page' => '%d users on %d page(s)',
-  'enter_alb_pass' => 'Enter Album Password', //cpg1.4
-  'invalid_pass' => 'Invalid Password', //cpg1.4
-  'pass' => 'Password', //cpg1.4
-  'submit' => 'Submit', //cpg1.4
-);
-
-$lang_img_nav_bar = array(
-  'thumb_title' => 'Return to the thumbnail page',
-  'pic_info_title' => 'Display/hide file information',
-  'slideshow_title' => 'Slideshow',
-  'ecard_title' => 'Send this file as an e-card',
-  'ecard_disabled' => 'e-cards are disabled',
-  'ecard_disabled_msg' => 'You don\'t have permission to send ecards', //js-alert
-  'prev_title' => 'See previous file',
-  'next_title' => 'See next file',
-  'pic_pos' => 'FILE %s/%s',
-  'report_title' => 'Report this file to the administrator', //cpg1.4
-  'go_album_end' => 'Skip to end', //cpg1.4
-  'go_album_start' => 'Return to start', //cpg1.4
-  'go_back_x_items' => 'go back %s items', //cpg1.4
-  'go_forward_x_items' => 'go forward %s items', //cpg1.4
-);
-
-$lang_rate_pic = array(
-  'rate_this_pic' => 'Rate this file ',
-  'no_votes' => '(No vote yet)',
-  'rating' => '(current rating : %s / 5 with %s votes)',
-  'rubbish' => 'Rubbish',
-  'poor' => 'Poor',
-  'fair' => 'Fair',
-  'good' => 'Good',
-  'excellent' => 'Excellent',
-  'great' => 'Great',
-);
-
-// ------------------------------------------------------------------------- //
-// File include/exif.inc.php
-// ------------------------------------------------------------------------- //
-
-// void
-
-// ------------------------------------------------------------------------- //
-// File include/functions.inc.php
-// ------------------------------------------------------------------------- //
-
-$lang_cpg_die = array(
-  INFORMATION => $lang_info,
-  ERROR => $lang_error,
-  CRITICAL_ERROR => 'Critical error',
-  'file' => 'File: ',
-  'line' => 'Line: ',
-);
-
-$lang_display_thumbnails = array(
-  'filename' => 'Filename=', //cpg1.4
-  'filesize' => 'Filesize=', //cpg1.4
-  'dimensions' => 'Dimensions=', //cpg1.4
-  'date_added' => 'Date added=', //cpg1.4
-);
-
-$lang_get_pic_data = array(
-  'n_comments' => '%s comments',
-  'n_views' => '%s views',
-  'n_votes' => '(%s votes)',
-);
-
-$lang_cpg_debug_output = array(
-  'debug_info' => 'Debug Info',
-  'select_all' => 'Select All',
-  'copy_and_paste_instructions' => 'If you\'re going to request help on the coppermine support board, copy-and-paste this debug output into your posting when requested, along with the error message you get (if any). Make sure to replace any passwords from the query with *** before posting. <br />Note: This is for information only and does not mean there is an error with your gallery.', //cpg1.4
-  'phpinfo' => 'display phpinfo',
-  'notices' => 'Notices', //cpg1.4
-);
-
-$lang_language_selection = array(
-  'reset_language' => 'Default language',
-  'choose_language' => 'Choose your language',
-);
-
-$lang_theme_selection = array(
-  'reset_theme' => 'Default theme',
-  'choose_theme' => 'Choose a theme',
-);
-
-$lang_version_alert = array(
-  'version_alert' => 'Unsupported version!', //cpg1.4
-  'security_alert' => 'Security Alert!', //cpg1.4.3
-  'relocate_exists' => 'Remove the <a href="http://coppermine-gallery.net/forum/index.php?topic=24217.0">relocate_server.php</a> file from your website!',
-  'no_stable_version' => 'You are running Coppermine %s (%s) which is only meant for very experienced users - this version comes without support nor any warranties. Use it at your own risk or downgrade to the latest stable version if you need support!', //cpg1.4
-  'gallery_offline' => 'The gallery is currently offline and will be only visible for you as admin. Don\'t forget to switch it back online after finishing maintenance.', //cpg1.4
-);
-
-$lang_create_tabs = array(
-  'previous' => 'previous', //cpg1.4
-  'next' => 'next', //cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File include/init.inc.php
-// ------------------------------------------------------------------------- //
-
-// void
-
-// ------------------------------------------------------------------------- //
-// File keyword.inc.php                                                      //
-// ------------------------------------------------------------------------- //
-
-// void
-
-// ------------------------------------------------------------------------- //
-// File include/picmgmt.inc.php
-// ------------------------------------------------------------------------- //
-
-// void
-
-// ------------------------------------------------------------------------- //
-// File include/plugin_api.inc.php
-// ------------------------------------------------------------------------- //
-$lang_plugin_api = array(
-  'error_wakeup' => "Couldn't awaken plugin '%s'", //cpg1.4
-  'error_install' => "Couldn't install plugin '%s'", //cpg1.4
-  'error_uninstall' => "Couldn't uninstall plugin '%s'", //cpg1.4
-  'error_sleep' => "Couldn't uninstall plugin '%s'<br />", //cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File include/smilies.inc.php
-// ------------------------------------------------------------------------- //
-
-if (defined('SMILIES_PHP')) $lang_smilies_inc_php = array(
-  'Exclamation' => 'Exclamation',
-  'Question' => 'Question',
-  'Very Happy' => 'Very Happy',
-  'Smile' => 'Smile',
-  'Sad' => 'Sad',
-  'Surprised' => 'Surprised',
-  'Shocked' => 'Shocked',
-  'Confused' => 'Confused',
-  'Cool' => 'Cool',
-  'Laughing' => 'Laughing',
-  'Mad' => 'Mad',
-  'Razz' => 'Razz',
-  'Embarassed' => 'Embarassed',
-  'Crying or Very sad' => 'Crying or Very sad',
-  'Evil or Very Mad' => 'Evil or Very Mad',
-  'Twisted Evil' => 'Twisted Evil',
-  'Rolling Eyes' => 'Rolling Eyes',
-  'Wink' => 'Wink',
-  'Idea' => 'Idea',
-  'Arrow' => 'Arrow',
-  'Neutral' => 'Neutral',
-  'Mr. Green' => 'Mr. Green',
-);
-
-// ------------------------------------------------------------------------- //
-// File addpic.php
-// ------------------------------------------------------------------------- //
-
-// void
-
-// ------------------------------------------------------------------------- //
-// File mode.php //cpg1.4
-// ------------------------------------------------------------------------- //
-
-if (defined('MODE_PHP')) $lang_mode_php = array(
-  0 => 'Leaving admin mode...',
-  1 => 'Entering admin mode...',
-);
-
-// ------------------------------------------------------------------------- //
-// File albmgr.php
-// ------------------------------------------------------------------------- //
-
-if (defined('ALBMGR_PHP')) $lang_albmgr_php = array(
-  'alb_need_name' => 'Albums need to have a name !', //js-alert
-  'confirm_modifs' => 'Are you sure you want to make these modifications ?', //js-alert
-  'no_change' => 'You did not make any change !', //js-alert
-  'new_album' => 'New album',
-  'confirm_delete1' => 'Are you sure you want to delete this album ?', //js-alert
-  'confirm_delete2' => '\nAll files and comments it contains will be lost !', //js-alert
-  'select_first' => 'Select an album first', //js-alert
-  'alb_mrg' => 'Album Manager',
-  'my_gallery' => '* My gallery *',
-  'no_category' => '* No category *',
-  'delete' => 'Delete',
-  'new' => 'New',
-  'apply_modifs' => 'Apply modifications',
-  'select_category' => 'Select category',
-);
-
-// ------------------------------------------------------------------------- //
-// File banning.php
-// ------------------------------------------------------------------------- //
-
-if (defined('BANNING_PHP')) $lang_banning_php = array(
-  'title' => 'Ban Users', //cpg1.4
-  'user_name' => 'User Name', //cpg1.4
-  'ip_address' => 'IP Address', //cpg1.4
-  'expiry' => 'Expires (blank is permanent)', //cpg1.4
-  'edit_ban' => 'Save Changes', //cpg1.4
-  'delete_ban' => 'Delete', //cpg1.4
-  'add_new' => 'Add New Ban', //cpg1.4
-  'add_ban' => 'Add', //cpg1.4
-  'error_user' => 'Cannot find user', //cpg1.4
-  'error_specify' => 'You need to specifiy either a user name or an IP address', //cpg1.4
-  'error_ban_id' => 'Invalid ban ID!', //cpg1.4
-  'error_admin_ban' => 'You cannnot ban yourself!', //cpg1.4
-  'error_server_ban' => 'You were going to ban your own server? Tsk tsk, cannot do that...', //cpg1.4
-  'error_ip_forbidden' => 'You cannnot ban this IP - it is non-routable (private) anyway!<br />If you want to allow banning for private IPs, change this in your <a href="admin.php">Config</a> (only makes sense when Coppermine runs on a LAN).', //cpg1.4
-  'lookup_ip' => 'Lookup an IP address', //cpg1.4
-  'submit' => 'go!', //cpg1.4
-  'select_date' => 'select date', //cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File bridgemgr.php //cpg1.4
-// ------------------------------------------------------------------------- //
-
-if (defined('BRIDGEMGR_PHP')) $lang_bridgemgr_php = array(
-  'title' => 'Bridge Wizard',
-  'warning' => 'Warning: when using this wizard you have to understand that sensitive data is being sent using html forms. Only run it on your own PC (not on a public client like an internet cafe), and make sure to clear the browser cache and temporary files after you have finished, or others might be able to access your data!',
-  'back' => 'back',
-  'next' => 'next',
-  'start_wizard' => 'Start bridging wizard',
-  'finish' => 'Finish',
-  'hide_unused_fields' => 'hide unused form fields (recommended)',
-  'clear_unused_db_fields' => 'clear invalid database entries (recommended)',
-  'custom_bridge_file' => 'your custom bridge file\'s name (if the bridge file\'s name is <i>myfile.inc.php</i>, enter <i>myfile</i> into this field)',
-  'no_action_needed' => 'No action needed in this step. Just click \'next\' to continue.',
-  'reset_to_default' => 'Reset to default value',
-  'choose_bbs_app' => 'choose application to bridge coppermine with',
-  'support_url' => 'Go here for support on this application',
-  'settings_path' => 'path(s) used by your BBS app',
-  'database_connection' => 'database connection',
-  'database_tables' => 'database tables',
-  'bbs_groups' => 'BBS groups',
-  'license_number' => 'License number',
-  'license_number_explanation' => 'enter your license number (if applicable)',
-  'db_database_name' => 'Database name',
-  'db_database_name_explanation' => 'Enter the name of the database your BBS app uses',
-  'db_hostname' => 'Database host',
-  'db_hostname_explanation' => 'Hostname where your mySQL database resides, usually &quot;localhost&quot;',
-  'db_username' => 'Database user account',
-  'db_username_explanation' => 'mySQL user account to use for connection with BBS',
-  'db_password' => 'Database passsword',
-  'db_password_explanation' => 'Passsword for this mySQL user account',
-  'full_forum_url' => 'Forum URL',
-  'full_forum_url_explanation' => 'Full URL of your BBS app (including the leading http:// bit, e.g. http://www.yourdomain.tld/forum)',
-  'relative_path_of_forum_from_webroot' => 'Relative forum path',
-  'relative_path_of_forum_from_webroot_explanation' => 'Relative path to your BBS app from the webroot (Example: if your BBS is at http://www.yourdomain.tld/forum/, enter &quot;/forum/&quot; into this field)',
-  'relative_path_to_config_file' => 'Relative path to your BBS\'s config file',
-  'relative_path_to_config_file_explanation' => 'Relative path to your BBS, seen from your Coppermine folder (e.g. &quot;../forum/&quot; if your BBS is at http://www.yourdomain.tld/forum/ and Coppermine at http://www.yourdomain.tld/gallery/)',
-  'cookie_prefix' => 'Cookie prefix',
-  'cookie_prefix_explanation' => 'this has to be your BBS\'s cookie name',
-  'table_prefix' => 'Table prefix',
-  'table_prefix_explanation' => 'Must match the prefix you chose for your BBS when setting it up.',
-  'user_table' => 'User table',
-  'user_table_explanation' => '(usually default value should be OK, unless your BBS install isn\'t standard)',
-  'session_table' => 'Session table',
-  'session_table_explanation' => '(usually default value should be OK, unless your BBS install isn\'t standard)',
-  'group_table' => 'Group table',
-  'group_table_explanation' => '(usually default value should be OK, unless your BBS install isn\'t standard)',
-  'group_relation_table' => 'Group relation table',
-  'group_relation_table_explanation' => '(usually default value should be OK, unless your BBS install isn\'t standard)',
-  'group_mapping_table' => 'Group mapping table',
-  'group_mapping_table_explanation' => '(usually default value should be OK, unless your BBS install isn\'t standard)',
-  'use_standard_groups' => 'Use standard BBS usergroups',
-  'use_standard_groups_explanation' => 'Use standard (built-in) usergroups (recommended). This will make all custom usergroups settings made on this page become void. Only disable this option if you REALLY know what you\'re doing!',
-  'validating_group' => 'Validating group',
-  'validating_group_explanation' => 'The group ID of your BBS where users accounts that need validation are in (usually default value should be OK, unless your BBS install isn\'t standard)',
-  'guest_group' => 'Guest group',
-  'guest_group_explanation' => 'Group ID of your BBS where guests (anonymous users) are in (default value should be OK, only edit if you know what you\'re doing)',
-  'member_group' => 'Member group',
-  'member_group_explanation' => 'Group ID of your BBS where &quot;regular&quot; users accounts are in (default value should be OK, only edit if you know what you\'re doing)',
-  'admin_group' => 'Admin group',
-  'admin_group_explanation' => 'Group ID of your BBS where admins are in (default value should be OK, only edit if you know what you\'re doing)',
-  'banned_group' => 'Banned group',
-  'banned_group_explanation' => 'Group ID of your BBS where banned users are in (default value should be OK, only edit if you know what you\'re doing)',
-  'global_moderators_group' => 'Global moderators group',
-  'global_moderators_group_explanation' => 'Group ID of your BBS where global moderators of your BBS are in (default value should be OK, only edit if you know what you\'re doing)',
-  'special_settings' => 'BBS-specific settings',
-  'logout_flag' => 'phpBB version (logout flag)',
-  'logout_flag_explanation' => 'What\'s your BBS version (this setting specifies how logouts are being handled)',
-  'use_post_based_groups' => 'Use post-based groups?',
-  'logout_flag_yes' => '2.0.5 or higher',
-  'logout_flag_no' => '2.0.4 or lower',
-  'use_post_based_groups_explanation' => 'Should the groups from the BBS that are defined by the number of posts be taken into account (allows a granular permissions management) or just the default groups (makes administration easier, recommended). You can change this setting later as well.',
-  'use_post_based_groups_yes' => 'yes',
-  'use_post_based_groups_no' => 'no',
-  'error_title' => 'You need to correct these errors before you can continue. Go to the previous screen.',
-  'error_specify_bbs' => 'You have to specify what application you want to bridge your Coppermine install with.',
-  'error_no_blank_name' => 'You can\'t leave the name of your custom bridge file blank.',
-  'error_no_special_chars' => 'The bridge file name mustn\'t contain any special chars except underscore (_) and dash (-)!',
-  'error_bridge_file_not_exist' => 'The bridge file %s doesn\'t exist on the server. Check if you have actually uploaded it.',
-  'finalize' => 'enable/disable BBS integration',
-  'finalize_explanation' => 'So far, the settings you specified have been written into the database, but BBS integration hasn\'t been enabled. You can switch integration on/off later at any time. Make sure to remember the admin username and password from standalone Coppermine, you might need it later to be able to make any changes. If anything goes wrong, go to %s and disable BBS integration there, using your standalone (unbridged) admin account (usually the one you set up during Coppermine install).',
-  'your_bridge_settings' => 'Your bridge settings',
-  'title_enable' => 'Enable integration/bridging with %s',
-  'bridge_enable_yes' => 'enable',
-  'bridge_enable_no' => 'disable',
-  'error_must_not_be_empty' => 'must not be empty',
-  'error_either_be' => 'must either be %s or %s',
-  'error_folder_not_exist' => '%s doesn\'t exist. Correct the value you entered for %s',
-  'error_cookie_not_readible' => 'Coppermine can\'t read a cookie named %s. Correct the value you entered for %s, or go to your BBS administration panel and make sure that the cookie path is readible for coppermine.',
-  'error_mandatory_field_empty' => 'You can not leave the field %s blank - fill in the proper value.',
-  'error_no_trailing_slash' => 'There mustn\'t be a trailing slash in the field %s.',
-  'error_trailing_slash' => 'There must be a trailing slash in the field %s.',
-  'error_db_connect' => 'Could not connect to the mySQL database with the data you specified. Here\'s what mySQL said:',
-  'error_db_name' => 'Although Coppermine could establish a connection, it wasn\'t able to find the database %s. Make sure you have specified %s properly. Here\'s what mySQL said:',
-  'error_prefix_and_table' => '%s and ',
-  'error_db_table' => 'Could not find the table %s. Make sure you have specified %s correctly.',
-  'recovery_title' => 'Bridge Manager: emergency recovery',
-  'recovery_explanation' => 'If you came here to administer the BBS integration of your Coppermine gallery, you have to log in first as admin. If you can not log in because bridging doesn\'t work as expected, you can disable BBS integration with this page. Entering your username and password will not log you in, it will only disable BBS integration. Refer to the documentation for details.',
-  'username' => 'Username',
-  'password' => 'Password',
-  'disable_submit' => 'submit',
-  'recovery_success_title' => 'Authorization successful',
-  'recovery_success_content' => 'You have successfully disabled BBS bridging. Your Coppermine install runs now in standalone mode.',
-  'recovery_success_advice_login' => 'Log in as admin to edit your bridge settings and/or enable BBS integration again.',
-  'goto_login' => 'Go to login page',
-  'goto_bridgemgr' => 'Go to bridge manager',
-  'recovery_failure_title' => 'Authorization failed',
-  'recovery_failure_content' => 'You supplied the wrong credentials. You will have to supply the admin account data of the standalone version (usually the account you set up during Coppermine install).',
-  'try_again' => 'try again',
-  'recovery_wait_title' => 'Wait time has not elapsed',
-  'recovery_wait_content' => 'For security reasons this script does not allow failed logons in short succession, so you will have to wait a bit untill you\'re allowed to try to authenticate.',
-  'wait' => 'wait',
-  'create_redir_file' => 'Create redirection file (recommended)',
-  'create_redir_file_explanation' => 'To redirect users back to Coppermine once they logged into your BBS, you need a redirection file to be created within your BBS folder. When this option is checked, the bridge manager will attempt to create this file for you, or give you code ready to copy-and-paste to create the file manually.',
-  'browse' => 'browse',
-);
-
-// ------------------------------------------------------------------------- //
-// File calendar.php //cpg1.4
-// ------------------------------------------------------------------------- //
-
-if (defined('CALENDAR_PHP')) $lang_calendar_php = array(
-  'title' => 'Calendar', //cpg1.4
-  'close' => 'close', //cpg1.4
-  'clear_date' => 'clear date', //cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File catmgr.php
-// ------------------------------------------------------------------------- //
-
-if (defined('CATMGR_PHP')) $lang_catmgr_php = array(
-  'miss_param' => 'Parameters required for \'%s\'operation not supplied !',
-  'unknown_cat' => 'Selected category does not exist in database',
-  'usergal_cat_ro' => 'User galleries category can\'t be deleted !',
-  'manage_cat' => 'Manage categories',
-  'confirm_delete' => 'Are you sure you want to DELETE this category', //js-alert
-  'category' => 'Category',
-  'operations' => 'Operations',
-  'move_into' => 'Move into',
-  'update_create' => 'Update/Create category',
-  'parent_cat' => 'Parent category',
-  'cat_title' => 'Category title',
-  'cat_thumb' => 'Category thumbnail',
-  'cat_desc' => 'Category description',
-  'categories_alpha_sort' => 'Sort categories alphabetically (instead of custom sort order)', //cpg1.4
-  'save_cfg' => 'Save configuration', //cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File admin.php
-// ------------------------------------------------------------------------- //
-
-if (defined('ADMIN_PHP')) $lang_admin_php = array(
-  'title' => 'Gallery Configuration', //cpg1.4
-  'manage_exif' => 'Manage exif display', //cpg1.4
-  'manage_plugins' => 'Manage plugins', //cpg1.4
-  'manage_keyword' => 'Manage keywords', //cpg1.4
-  'restore_cfg' => 'Restore factory defaults',
-  'save_cfg' => 'Save new configuration',
-  'notes' => 'Notes',
-  'info' => 'Information',
-  'upd_success' => 'Coppermine configuration was updated',
-  'restore_success' => 'Coppermine default configuration restored',
-  'name_a' => 'Name ascending',
-  'name_d' => 'Name descending',
-  'title_a' => 'Title ascending',
-  'title_d' => 'Title descending',
-  'date_a' => 'Date ascending',
-  'date_d' => 'Date descending',
-  'pos_a' => 'Position ascending', //cpg1.4
-  'pos_d' => 'Position descending', //cpg1.4
-  'th_any' => 'Max Aspect',
-  'th_ht' => 'Height',
-  'th_wd' => 'Width',
-  'label' => 'label',
-  'item' => 'item',
-  'debug_everyone' => 'Everyone',
-  'debug_admin' => 'Admin only',
-  'no_logs'=> 'Off', //cpg1.4
-  'log_normal'=> 'Normal', //cpg1.4
-  'log_all' => 'All', //cpg1.4
-  'view_logs' => 'View logs', //cpg1.4
-  'click_expand' => 'click section name to expand', //cpg1.4
-  'expand_all' => 'Expand All', //cpg1.4
-  'notice1' => '(*) These settings mustn\'t be changed if you already have files in your database.', //cpg1.4 - (relocated)
-  'notice2' => '(**) When changing this setting, only the files that are added from that point on are affected, so it is advisable that this setting must not be changed if there are already files in the gallery. You can, however, apply the changes to the existing files with the &quot;<a href="util.php">admin tools</a> (resize pictures)&quot; utility from the admin menu.', //cpg1.4 - (relocated)
-  'notice3' => '(***) All log files are written in english.', //cpg1.4 - (relocated)
-  'bbs_disabled' => 'Function disabled when using bb integration', //cpg1.4
-  'auto_resize_everyone' => 'Everyone', //cpg1.4
-  'auto_resize_user' => 'User only', //cpg1.4
-  'ascending' => 'ascending', //cpg1.4
-  'descending' => 'descending', //cpg1.4
-);
-
-if (defined('ADMIN_PHP')) $lang_admin_data = array(
-  'General settings',
-  array('Gallery name', 'gallery_name', 0, 'f=index.htm&amp;as=admin_general_name&amp;ae=admin_general_name_end'), //cpg1.4
-  array('Gallery description', 'gallery_description', 0, 'f=index.htm&amp;as=admin_general_description&amp;ae=admin_general_description_end'), //cpg1.4
-  array('Gallery administrator email', 'gallery_admin_email', 0, 'f=index.htm&amp;as=admin_general_email&amp;ae=admin_general_email_end'), //cpg1.4
-  array('URL of your coppermine gallery folder (no \'index.php\' or similar at the end)', 'ecards_more_pic_target', 0, 'f=index.htm&amp;as=admin_general_coppermine-url&amp;ae=admin_general_coppermine-url_end'), //cpg1.4
-  array('URL of your home page', 'home_target', 0, 'f=index.htm&amp;as=admin_general_home-url&amp;ae=admin_general_home-url_end'), //cpg1.4
-  array('Allow ZIP-download of favourites', 'enable_zipdownload', 1, 'f=index.htm&amp;as=admin_general_zip-download&amp;ae=admin_general_zip-download_end'), //cpg1.4
-  array('Timezone difference relative to GMT (current time: ' . localised_date(-1, $comment_date_fmt) . ')','time_offset',0, 'f=index.htm&amp;as=admin_general_time-offset&amp;ae=admin_general_time-offset_end&amp;top=1'), //cpg1.4
-  array('Enable encrypted passwords (can not be undone)','enable_encrypted_passwords',1, 'f=index.htm&amp;as=admin_general_encrypt_password_start&amp;ae=admin_general_encrypt_password_end&amp;top=1'), // cpg 1.4
-  array('Enable help-icons (help available in English only)','enable_help',9, 'f=index.htm&amp;as=admin_general_help&amp;ae=admin_general_help_end'), //cpg1.4
-  array('Enable clickable keywords in search','clickable_keyword_search',14, 'f=index.htm&amp;as=admin_general_keywords_start&amp;ae=admin_general_keywords_end'), //cpg1.4
-  array('Enable plugins', 'enable_plugins', 12, 'f=index.htm&amp;as=admin_general_enable-plugins&amp;ae=admin_general_enable-plugins_end'),  //cpg1.4
-  array('Allow banning of non-routable (private) IP addresses', 'ban_private_ip', 1,  'f=index.htm&amp;as=admin_general_private-ip&amp;ae=admin_general_private-ip_end'), //cpg1.4
-  array('Browsable batch-add interface', 'browse_batch_add', 1, 'f=index.htm&amp;as=admin_general_browsable_batch_add&amp;ae=admin_general_browsable_batch_add_end'), //cpg1.4
-
-  'Language &amp; Charset settings',
-  array('Language', 'lang', 5, 'f=index.htm&amp;as=admin_language_language&amp;ae=admin_language_language_end'), //cpg1.4
-  array('Fallback to English if translated phrase not found?', 'language_fallback', 1, 'f=index.htm&amp;as=admin_language_fallback&amp;ae=admin_language_fallback_end'), //cpg1.4
-  array('Character encoding', 'charset', 4, 'f=index.htm&amp;as=admin_language_charset&amp;ae=admin_language_charset_end'), //cpg1.4
-  array('Display language list', 'language_list', 1, 'f=index.htm&amp;as=admin_language_list&amp;ae=admin_language_list_end'), //cpg1.4
-  array('Display language flags', 'language_flags', 8, 'f=index.htm&amp;as=admin_language_flags&amp;ae=admin_language_flags_end&amp;top=1'), //cpg1.4
-  array('Display &quot;reset&quot; in language selection', 'language_reset', 1, 'f=index.htm&amp;as=admin_language_reset&amp;ae=admin_language_reset_end&amp;top=1'), //cpg1.4
-  //array('Display previous/next on tabbed pages', 'previous_next_tab', 1), //cpg1.4
-
-  'Themes settings',
-  array('Theme', 'theme', 6, 'f=index.htm&amp;as=admin_theme_theme&amp;ae=admin_theme_theme_end'), //cpg1.4
-  array('Display theme list', 'theme_list', 1, 'f=index.htm&amp;as=admin_theme_theme_list&amp;ae=admin_theme_theme_list_end'), //cpg1.4
-  array('Display &quot;reset&quot; in theme selection', 'theme_reset', 1, 'f=index.htm&amp;as=admin_theme_theme_reset&amp;ae=admin_theme_theme_reset_end'), //cpg1.4
-  array('Display FAQ', 'display_faq', 1, 'f=index.htm&amp;as=admin_theme_faq&amp;ae=admin_theme_faq_end'), //cpg1.4
-  array('Custom menu link name', 'custom_lnk_name', 0,'f=index.htm&amp;as=admin_theme_custom_lnk_name&amp;ae=admin_theme_custom_lnk_name_end'), //cpg1.4
-  array('Custom menu link URL', 'custom_lnk_url', 0,'f=index.htm&amp;as=admin_language_custom_lnk_url&amp;ae=admin_language_custom_lnk_url_end'), //cpg1.4
-  array('Display bbcode help', 'show_bbcode_help', 1, 'f=index.htm&amp;as=admin_theme_bbcode&amp;ae=admin_theme_bbcode_end&amp;top=1'), //cpg1.4
-  array('Show the vanity block on themes that are defined as XHTML and CSS compliant','vanity_block',1, 'f=index.htm&amp;as=vanity_block&amp;ae=vanity_block_end'), //cpg1.4
-  array('Path to custom header include', 'custom_header_path', 0, 'f=index.htm&amp;as=admin_theme_include_path_start&amp;ae=admin_theme_include_path_end'), //cpg1.4
-  array('Path to custom footer include', 'custom_footer_path', 0, 'f=index.htm&amp;as=admin_theme_include_path_start&amp;ae=admin_theme_include_path_end'), //cpg1.4
-
-  'Album list view',
-  array('Width of the main table (pixels or %)', 'main_table_width', 0, 'f=index.htm&amp;as=admin_album_table-width&amp;ae=admin_album_table-width_end'), //cpg1.4
-  array('Number of levels of categories to display', 'subcat_level', 0, 'f=index.htm&amp;as=admin_album_category-levels&amp;ae=admin_album_category-levels_end'), //cpg1.4
-  array('Number of albums to display', 'albums_per_page', 0, 'f=index.htm&amp;as=admin_album_number&amp;ae=admin_album_number_end'), //cpg1.4
-  array('Number of columns for the album list', 'album_list_cols', 0, 'f=index.htm&amp;as=admin_album_columns&amp;ae=admin_album_columns_end'), //cpg1.4
-  array('Size of thumbnails in pixels', 'alb_list_thumb_size', 0, 'f=index.htm&amp;as=admin_album_thumbnail-size&amp;ae=admin_album_thumbnail-size_end'), //cpg1.4
-  array('The content of the main page', 'main_page_layout', 0, 'f=index.htm&amp;as=admin_album_list_content&amp;ae=admin_album_list_content_end'), //cpg1.4
-  array('Show first level album thumbnails in categories','first_level',1, 'f=index.htm&amp;as=admin_album_first-level_thumbs&amp;ae=admin_album_first-level_thumbs_end'), //cpg1.4
-  array('Sort categories alphabetically (instead of custom sort order)','categories_alpha_sort',1, 'f=index.htm&amp;as=admin_album_list_alphasort_start&amp;ae=admin_album_list_alphasort_end'), //cpg1.4
-  array('Show number of linked files','link_pic_count',1, 'f=index.htm&amp;as=admin_album_linked_files_start&amp;ae=admin_album_linked_files_end'), //cpg1.4
-
-  'Thumbnail view',
-  array('Number of columns on thumbnail page', 'thumbcols', 0, 'f=index.htm&amp;as=admin_thumbnail_columns&amp;ae=admin_thumbnail_columns_end'), //cpg1.4
-  array('Number of rows on thumbnail page', 'thumbrows', 0, 'f=index.htm&amp;as=admin_thumbnail_rows&amp;ae=admin_thumbnail_rows_end'), //cpg1.4
-  array('Maximum number of tabs to display', 'max_tabs', 10, 'f=index.htm&amp;as=admin_thumbnail_tabs&amp;ae=admin_thumbnail_tabs_end'), //cpg1.4
-  array('Display file caption (in addition to title) below the thumbnail', 'caption_in_thumbview', 1, 'f=index.htm&amp;as=admin_thumbnail_display_caption&amp;ae=admin_thumbnail_display_caption_end'), //cpg1.4
-  array('Display number of views below the thumbnail', 'views_in_thumbview', 1, 'f=index.htm&amp;as=admin_thumbnail_display_views&amp;ae=admin_thumbnail_display_views_end'), //cpg1.4
-  array('Display number of comments below the thumbnail', 'display_comment_count', 1, 'f=index.htm&amp;as=admin_thumbnail_display_comments&amp;ae=admin_thumbnail_display_comments_end'), //cpg1.4
-  array('Display uploader name below the thumbnail', 'display_uploader', 1, 'f=index.htm&amp;as=admin_thumbnail_display_uploader&amp;ae=admin_thumbnail_display_uploader_end'), //cpg1.4
-  //array('Display name of admin uploaders below the thumbnail', 'display_admin_uploader', 1, 'f=index.htm&amp;as=admin_thumbnail_display_admin_uploader&amp;ae=admin_thumbnail_display_admin_uploader_end'), //cpg1.4
-  array('Display file name below the thumbnail', 'display_filename', 1, 'f=index.htm&amp;as=admin_thumbnail_display_filename&amp;ae=admin_thumbnail_display_filename_end'), //cpg1.4
-  //array('Display album description', 'alb_desc_thumb', 1, 'f=index.htm&amp;as=admin_thumbnail_display_description&amp;ae=admin_thumbnail_display_description_end'), //cpg1.4
-  array('Default sort order for files', 'default_sort_order', 3, 'f=index.htm&amp;as=admin_thumbnail_default_sortorder&amp;ae=admin_thumbnail_default_sortorder_end'), //cpg1.4
-  array('Minimum number of votes for a file to appear in the \'top-rated\' list', 'min_votes_for_rating', 0, 'f=index.htm&amp;as=admin_thumbnail_minimum_votes&amp;ae=admin_thumbnail_minimum_votes_end'), //cpg1.4
-
-  'Image view', //cpg1.4
-  array('Width of the table for file display (pixels or %)', 'picture_table_width', 0, 'f=index.htm&amp;as=admin_image_comment_table-width&amp;ae=admin_image_comment_table-width_end'), //cpg1.4
-  array('File information is visible by default', 'display_pic_info', 1, 'f=index.htm&amp;as=admin_image_comment_info_visible&amp;ae=admin_image_comment_info_visible_end'), //cpg1.4
-  array('Max length for an image description', 'max_img_desc_length', 0, 'f=index.htm&amp;as=admin_image_comment_descr_length&amp;ae=admin_image_comment_descr_length_end'), //cpg1.4
-  array('Max number of characters in a word', 'max_com_wlength', 0, 'f=index.htm&amp;as=admin_image_comment_chars_per_word&amp;ae=admin_image_comment_chars_per_word_end'), //cpg1.4
-  array('Show film strip', 'display_film_strip', 1, 'f=index.htm&amp;as=admin_image_comment_filmstrip_toggle&amp;ae=admin_image_comment_filmstrip_toggle_end'), //cpg1.4
-  array('Display file name under film strip thumbnail', 'display_film_strip_filename', 1, 'f=index.htm&amp;as=admin_image_comment_display_film_strip_filename&amp;ae=admin_image_comment_display_film_strip_filename_end'), //cpg1.4
-  array('Number of items in film strip', 'max_film_strip_items', 0, 'f=index.htm&amp;as=admin_image_comment_filmstrip_number&amp;ae=admin_image_comment_filmstrip_number_end'), //cpg1.4
-  array('Slideshow interval in milliseconds (1 second = 1000 milliseconds)', 'slideshow_interval', 0, 'f=index.htm&amp;as=admin_image_comment_slideshow_interval&amp;ae=admin_image_comment_slideshow_interval_end'), //cpg1.4
-
-  'Comment settings', //cpg1.4
-  array('Filter bad words in comments', 'filter_bad_words', 1, 'f=index.htm&amp;as=admin_image_comment_bad_words&amp;ae=admin_image_comment_bad_words_end'), //cpg1.4
-  array('Allow smiles in comments', 'enable_smilies', 1, 'f=index.htm&amp;as=admin_image_comment_smilies&amp;ae=admin_image_comment_smilies_end'), //cpg1.4
-  array('Allow several consecutive comments on one file from the same user (disable flood protection)', 'disable_comment_flood_protect', 1, 'f=index.htm&amp;as=admin_image_comment_flood&amp;ae=admin_image_comment_flood_end'), //cpg1.4
-  array('Max number of lines in a comment', 'max_com_lines', 0, 'f=index.htm&amp;as=admin_image_comment_lines&amp;ae=admin_image_comment_lines_end'), //cpg1.4
-  array('Maximum length of a comment', 'max_com_size', 0, 'f=index.htm&amp;as=admin_image_comment_length&amp;ae=admin_image_comment_length_end'), //cpg1.4
-  array('Notify admin of comments by email', 'email_comment_notification', 1, 'f=index.htm&amp;as=admin_image_comment_admin_notify&amp;ae=admin_image_comment_admin_notify_end'), //cpg1.4
-  array('Sort order of comments', 'comments_sort_descending', 17, 'f=index.htm&amp;as=admin_comment_sort_start&amp;ae=admin_comment_sort_end'), //cpg1.4
-  array('Prefix for anonymous comments authors', 'comments_anon_pfx', 0, 'f=index.htm&amp;as=comments_anon_pfx&amp;ae=comments_anon_pfx_end'), //cpg1.4
-
-  'Files and thumbnails settings',
-  array('Quality for JPEG files', 'jpeg_qual', 0, 'f=index.htm&amp;as=admin_picture_thumbnail_jpeg_quality&amp;ae=admin_picture_thumbnail_jpeg_quality_end'), //cpg1.4
-  array('Max dimension of a thumbnail <a href="#notice2" class="clickable_option">**</a>', 'thumb_width', 0, 'f=index.htm&amp;as=admin_picture_thumbnail_max-dimension&amp;ae=admin_picture_thumbnail_max-dimension_end'), //cpg1.4
-  array('Use dimension ( width or height or Max aspect for thumbnail ) <a href="#notice2" class="clickable_option">**</a>', 'thumb_use', 7, 'f=index.htm&amp;as=admin_picture_thumbnail_use-dimension&amp;ae=admin_picture_thumbnail_use-dimension_end'), //cpg1.4
-  array('Create intermediate pictures','make_intermediate',1, 'f=index.htm&amp;as=admin_picture_thumbnail_intermediate_toggle&amp;ae=admin_picture_thumbnail_intermediate_toggle_end'), //cpg1.4
-  array('Max width or height of an intermediate picture/video <a href="#notice2" class="clickable_option">**</a>', 'picture_width', 0, 'f=index.htm&amp;as=admin_picture_thumbnail_intermediate_dimension&amp;ae=admin_picture_thumbnail_intermediate_dimension_end'), //cpg1.4
-  array('Max size for uploaded files (KB)', 'max_upl_size', 0, 'f=index.htm&amp;as=admin_picture_thumbnail_max_upload_size&amp;ae=admin_picture_thumbnail_max_upload_size_end'), //cpg1.4
-  array('Max width or height for uploaded pictures/videos (pixels)', 'max_upl_width_height', 0, 'f=index.htm&amp;as=admin_picture_thumbnail_max_upload_dimension&amp;ae=admin_picture_thumbnail_max_upload_dimension_end'), //cpg1.4
-  array('Auto resize images that are larger than max width or height', 'auto_resize', 16, 'f=index.htm&amp;as=admin_picture_thumbnail_auto-resize&amp;ae=admin_picture_thumbnail_auto-resize_end'), //cpg1.4
-
-  'Files and thumbnails advanced settings',
-  array('Albums can be private (Note: if you switch from \'yes\' to \'no\' any current private albums will become public)', 'allow_private_albums', 1, 'f=index.htm&amp;as=admin_picture_thumb_advanced_private_toggle&amp;ae=admin_picture_thumb_advanced_private_toggle_end'), //cpg1.4
-  array('Show private album Icon to unlogged user','show_private',1, 'f=index.htm&amp;as=admin_picture_thumb_advanced_private_icon_show&amp;ae=admin_picture_thumb_advanced_private_icon_show_end'), //cpg1.4
-  array('Characters forbidden in filenames', 'forbiden_fname_char',0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_filename_forbidden_chars&amp;ae=admin_picture_thumb_advanced_filename_forbidden_chars_end'), //cpg1.4
-  //array('Accepted file extensions for uploaded pictures', 'allowed_file_extensions',0, 'f=index.htm&amp;as=&amp;ae=_end'), //cpg1.4
-  array('Allowed image types', 'allowed_img_types',0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_pic_extensions&amp;ae=admin_picture_thumb_advanced_pic_extensions_end'), //cpg1.4
-  array('Allowed movie types', 'allowed_mov_types',0, 'f=index.htm&amp;as=admin_thumbs_advanced_movie&amp;ae=admin_thumbs_advanced_movie_end'), //cpg1.4
-  array('Movie Playback Autostart', 'media_autostart',1, 'f=index.htm&amp;as=admin_movie_autoplay&amp;ae=admin_movie_autoplay_end'), //cpg1.4
-  array('Allowed audio types', 'allowed_snd_types',0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_audio_extensions&amp;ae=admin_picture_thumb_advanced_audio_extensions_end'), //cpg1.4
-  array('Allowed document types', 'allowed_doc_types',0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_doc_extensions&amp;ae=admin_picture_thumb_advanced_doc_extensions_end'), //cpg1.4
-  array('Method for resizing images','thumb_method',2, 'f=index.htm&amp;as=admin_picture_thumb_advanced_resize_method&amp;ae=admin_picture_thumb_advanced_resize_method_end'), //cpg1.4
-  array('Path to ImageMagick \'convert\' utility (example /usr/bin/X11/)', 'impath', 0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_im_path&amp;ae=admin_picture_thumb_advanced_im_path_end'), //cpg1.4
-  //array('Allowed image types (only valid for ImageMagick)', 'allowed_img_types',0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_allowed_imagetypes&amp;ae=admin_picture_thumb_advanced_allowed_imagetypes_end'), //cpg1.4
-  array('Command line options for ImageMagick', 'im_options', 0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_im_commandline&amp;ae=admin_picture_thumb_advanced_im_commandline_end'), //cpg1.4
-  array('Read EXIF data in JPEG files', 'read_exif_data', 13, 'f=index.htm&amp;as=admin_picture_thumb_advanced_exif&amp;ae=admin_picture_thumb_advanced_exif_end'), //cpg1.4
-  array('Read IPTC data in JPEG files', 'read_iptc_data', 1, 'f=index.htm&amp;as=admin_picture_thumb_advanced_iptc&amp;ae=admin_picture_thumb_advanced_iptc_end'), //cpg1.4
-  array('The album directory <a href="#notice1" class="clickable_option">*</a>', 'fullpath', 0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_albums_dir&amp;ae=admin_picture_thumb_advanced_albums_dir_end'), //cpg1.4
-  array('The directory for user files <a href="#notice1" class="clickable_option">*</a>', 'userpics', 0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_userpics_dir&amp;ae=admin_picture_thumb_advanced_userpics_dir_end'), //cpg1.4
-  array('The prefix for intermediate pictures <a href="#notice1" class="clickable_option">*</a>', 'normal_pfx', 0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_intermediate_prefix&amp;ae=admin_picture_thumb_advanced_intermediate_prefix_end'), //cpg1.4
-  array('The prefix for thumbnails <a href="#notice1" class="clickable_option">*</a>', 'thumb_pfx', 0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_thumbs_prefix&amp;ae=admin_picture_thumb_advanced_thumbs_prefix_end'), //cpg1.4
-  array('Default mode for directories', 'default_dir_mode', 0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_chmod_folder&amp;ae=admin_picture_thumb_advanced_chmod_folder_end'), //cpg1.4
-  array('Default mode for files', 'default_file_mode', 0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_chmod_files&amp;ae=admin_picture_thumb_advanced_chmod_files_end'), //cpg1.4
-
-  'User settings',
-  array('Allow new user registrations', 'allow_user_registration', 1, 'f=index.htm&amp;as=admin_allow_registration&amp;ae=admin_allow_registration_end'), //cpg1.4
-  array('Allow unlogged users (guest or anonymous) access', 'allow_unlogged_access', 1, 'f=index.htm&amp;as=admin_allow_unlogged_access&amp;ae=admin_allow_unlogged_access_end'), //cpg1.4
-  array('User registration requires email verification', 'reg_requires_valid_email', 1, 'f=index.htm&amp;as=admin_registration_verify&amp;ae=admin_registration_verify_end'), //cpg1.4
-  array('Notify admin of user registration by email', 'reg_notify_admin_email', 1, 'f=index.htm&amp;as=admin_registration_notify&amp;ae=admin_registration_notify_end'), //cpg1.4
-  array('Admin activation of registrations', 'admin_activation', 1, 'f=index.htm&amp;as=admin_activation&amp;ae=admin_activation_end'),  //cpg1.4
-  array('Allow two users to have the same email address', 'allow_duplicate_emails_addr', 1, 'f=index.htm&amp;as=admin_allow_duplicate_emails_addr&amp;ae=admin_allow_duplicate_emails_addr_end'), //cpg1.4
-  array('Notify admin of user upload awaiting approval', 'upl_notify_admin_email', 1, 'f=index.htm&amp;as=admin_approval_notify&amp;ae=admin_approval_notify_end'), //cpg1.4
-  array('Allow logged in users to view memberlist', 'allow_memberlist', 1, 'f=index.htm&amp;as=admin_user_memberlist&amp;ae=admin_user_memberlist_end'), //cpg1.4
-  array('Allow users to change their email address in profile', 'allow_email_change', 1, 'f=index.htm&amp;as=admin_user_allow_email_change&amp;ae=admin_user_allow_email_change_end'), //cpg1.4
-  array('Allow users to retain control over their pics in public galleries', 'users_can_edit_pics', 1, 'f=index.htm&amp;as=admin_user_editpics_public_start&amp;ae=admin_user_editpics_public_end'), //cpg1.4
-  array('Number of failed login attempts until temporary ban (to avoid brute force attacks)', 'login_threshold', 0, 'f=index.htm&amp;as=admin_user_login_start&amp;ae=admin_user_login_end'), //cpg1.4
-  array('Duration of a temporary ban after failed logins', 'login_expiry', 0, 'f=index.htm&amp;as=admin_user_login_start&amp;ae=admin_user_login_end'), //cpg1.4
-  array('Enable Report to Admin', 'report_post', 1, 'f=index.htm&amp;as=admin_user_enable_report&amp;ae=admin_user_enable_report_end'),  //cpg1.4
-
-// custom profile fields,  //cpg1.4
-  'Custom fields for user profile (leave blank if unused).
-  Use Profile 6 for long entries, such as biographies', //cpg1.4
-  array('Profile 1 name', 'user_profile1_name', 0, 'f=index.htm&amp;as=admin_custom&amp;ae=admin_custom_end'), //cpg1.4
-  array('Profile 2 name', 'user_profile2_name', 0), //cpg1.4
-  array('Profile 3 name', 'user_profile3_name', 0), //cpg1.4
-  array('Profile 4 name', 'user_profile4_name', 0), //cpg1.4
-  array('Profile 5 name', 'user_profile5_name', 0), //cpg1.4
-  array('Profile 6 name', 'user_profile6_name', 0), //cpg1.4
-
-  'Custom fields for image description (leave blank if unused)',
-  array('Field 1 name', 'user_field1_name', 0, 'f=index.htm&amp;as=admin_custom_image&amp;ae=admin_custom_image_end'), //cpg1.4
-  array('Field 2 name', 'user_field2_name', 0),
-  array('Field 3 name', 'user_field3_name', 0),
-  array('Field 4 name', 'user_field4_name', 0),
-
-  'Cookies settings',
-  array('Cookie name', 'cookie_name', 0, 'f=index.htm&amp;as=admin_cookie_name&amp;ae=admin_cookie_name_end'), //cpg1.4
-  array('Cookie path', 'cookie_path', 0, 'f=index.htm&amp;as=admin_cookie_path&amp;ae=admin_cookie_path_end'), //cpg1.4
-
-  'Email settings  (usually nothing has to be changed here; leave all fields blank when not sure)', //cpg1.4
-  array('SMTP Host (when left blank, sendmail will be used)', 'smtp_host', 0, 'f=index.htm&amp;as=admin_email&amp;ae=admin_email_end'), //cpg1.4
-  array('SMTP Username', 'smtp_username', 0), //cpg1.4
-  array('SMTP Password', 'smtp_password', 0), //cpg1.4
-
-  'Logging and statistics', //cpg1.4
-  array('Logging mode <a href="#notice3" class="clickable_option">***</a>', 'log_mode', 11, 'f=index.htm&amp;as=admin_logging_log_mode&amp;ae=admin_logging_log_mode_end'), //cpg1.4
-  array('Log ecards', 'log_ecards', 1, 'f=index.htm&amp;as=admin_general_log_ecards&amp;ae=admin_general_log_ecards_end'), //cpg1.4
-  array('Keep detailed vote statistics','vote_details',1, 'f=index.htm&amp;as=admin_logging_votedetails&amp;ae=admin_logging_votedetails_end'), //cpg1.4
-  array('Keep detailed hit statistics','hit_details',1, 'f=index.htm&amp;as=admin_logging_hitdetails&amp;ae=admin_logging_hitdetails_end'), //cpg1.4
-
-  'Maintenance settings', //cpg1.4
-  array('Enable debug mode', 'debug_mode', 9, 'f=index.htm&amp;as=debug_mode&amp;ae=debug_mode_end'), //cpg1.4
-  array('Display notices in debug mode', 'debug_notice', 1, 'f=index.htm&amp;as=admin_misc_debug_notices&amp;ae=admin_misc_debug_notices_end'), //cpg1.4
-  array('Gallery is offline', 'offline', 1, 'f=index.htm&amp;as=admin_general_offline&amp;ae=admin_general_offline_end'), //cpg1.4
-);
-
-
-// ------------------------------------------------------------------------- //
-// File db_ecard.php
-// ------------------------------------------------------------------------- //
-
-if (defined('DB_ECARD_PHP')) $lang_db_ecard_php = array(
-  'title' => 'Sent ecards',
-  'ecard_sender' => 'Sender',
-  'ecard_recipient' => 'Recipient',
-  'ecard_date' => 'Date',
-  'ecard_display' => 'Display ecard',
-  'ecard_name' => 'Name',
-  'ecard_email' => 'Email',
-  'ecard_ip' => 'IP #',
-  'ecard_ascending' => 'ascending',
-  'ecard_descending' => 'descending',
-  'ecard_sorted' => 'Sorted',
-  'ecard_by_date' => 'by date',
-  'ecard_by_sender_name' => 'by sender\'s name',
-  'ecard_by_sender_email' => 'by sender\'s email',
-  'ecard_by_sender_ip' => 'by sender\'s IP address',
-  'ecard_by_recipient_name' => 'by recipient\'s name',
-  'ecard_by_recipient_email' => 'by recipient\'s email',
-  'ecard_number' => 'displaying record %s to %s of %s',
-  'ecard_goto_page' => 'go to page',
-  'ecard_records_per_page' => 'Records per page',
-  'check_all' => 'Check All',
-  'uncheck_all' => 'Uncheck All',
-  'ecards_delete_selected' => 'Delete selected ecards',
-  'ecards_delete_confirm' => 'Are you sure you want to delete the records? Tick the checkbox!',
-  'ecards_delete_sure' => 'I\'m sure',
-);
-
-
-// ------------------------------------------------------------------------- //
-// File db_input.php
-// ------------------------------------------------------------------------- //
-
-if (defined('DB_INPUT_PHP')) $lang_db_input_php = array(
-  'empty_name_or_com' => 'You need to type your name and a comment',
-  'com_added' => 'Your comment was added',
-  'alb_need_title' => 'You have to provide a title for the album !',
-  'no_udp_needed' => 'No update needed.',
-  'alb_updated' => 'The album was updated',
-  'unknown_album' => 'Selected album does not exist or you don\'t have permission to upload in this album',
-  'no_pic_uploaded' => 'No file was uploaded !<br /><br />If you have really selected a file to upload, check that the server allows file uploads...',
-  'err_mkdir' => 'Failed to create directory %s !',
-  'dest_dir_ro' => 'Destination directory %s is not writable by the script !',
-  'err_move' => 'Impossible to move %s to %s !',
-  'err_fsize_too_large' => 'The size of file you have uploaded is too large (maximum allowed is %s x %s) !', //obsolete since cpg1.3 - consider removal in cpg1.4 once upload.php has been overhauled
-  'err_imgsize_too_large' => 'The size of the file you have uploaded is too large (maximum allowed is %s KB) !', //obsolete since cpg1.3 - consider removal in cpg1.4 once upload.php has been overhauled
-  'err_invalid_img' => 'The file you have uploaded is not a valid image !',
-  'allowed_img_types' => 'You can only upload %s images.',
-  'err_insert_pic' => 'The file \'%s\' can\'t be inserted in the album ',
-  'upload_success' => 'Your file was uploaded successfully.<br /><br />It will be visible after admin approval.',
-  'notify_admin_email_subject' => '%s - Upload notification',
-  'notify_admin_email_body' => 'A picture has been uploaded by %s that needs your approval. Visit %s',
-  'info' => 'Information',
-  'com_added' => 'Comment added',
-  'alb_updated' => 'Album updated',
-  'err_comment_empty' => 'Your comment is empty !',
-  'err_invalid_fext' => 'Only files with the following extensions are accepted : <br /><br />%s.',
-  'no_flood' => 'Sorry but you are already the author of the last comment posted for this file<br /><br />Edit the comment you have posted if you want to modify it',
-  'redirect_msg' => 'You are being redirected.<br /><br /><br />Click \'CONTINUE\' if the page does not refresh automatically',
-  'upl_success' => 'Your file was successfully added',
-  'email_comment_subject' => 'Comment posted on Coppermine Photo Gallery',
-  'email_comment_body' => 'Someone has posted a comment on your gallery. See it at',
-  'album_not_selected' => 'Album not selected', //cpg1.4
-  'com_author_error' => 'A registered user is using this nickname, login or use another one', //cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File delete.php
-// ------------------------------------------------------------------------- //
-
-if (defined('DELETE_PHP')) $lang_delete_php = array(
-  'caption' => 'Caption',
-  'fs_pic' => 'full size image',
-  'del_success' => 'successfully deleted',
-  'ns_pic' => 'normal size image',
-  'err_del' => 'can\'t be deleted',
-  'thumb_pic' => 'thumbnail',
-  'comment' => 'comment',
-  'im_in_alb' => 'image in album',
-  'alb_del_success' => 'Album &laquo;%s&raquo; deleted', //cpg1.4
-  'alb_mgr' => 'Album Manager',
-  'err_invalid_data' => 'Invalid data received in \'%s\'',
-  'create_alb' => 'Creating album \'%s\'',
-  'update_alb' => 'Updating album \'%s\' with title \'%s\' and index \'%s\'',
-  'del_pic' => 'Delete file',
-  'del_alb' => 'Delete album',
-  'del_user' => 'Delete user',
-  'err_unknown_user' => 'The selected user does not exist !',
-  'err_empty_groups' => 'There\'s no group table, or the group table is empty!', //cpg1.4
-  'comment_deleted' => 'Comment was succesfully deleted',
-  'npic' => 'Picture', //cpg1.4
-  'pic_mgr' => 'Picture Manager', //cpg1.4
-  'update_pic' => 'Updating picture \'%s\' with filename \'%s\' and index \'%s\'', //cpg1.4
-  'username' => 'Username', //cpg1.4
-  'anonymized_comments' => '%s comment(s) anonymized', //cpg1.4
-  'anonymized_uploads' => '%s public upload(s) anonymized', //cpg1.4
-  'deleted_comments' => '%s comment(s) deleted', //cpg1.4
-  'deleted_uploads' => '%s public upload(s) deleted', //cpg1.4
-  'user_deleted' => 'user %s deleted', //cpg1.4
-  'activate_user' => 'Activate user', //cpg1.4
-  'user_already_active' => 'Account has already been active', //cpg1.4
-  'activated' => 'Activated', //cpg1.4
-  'deactivate_user' => 'Deactivate user', //cpg1.4
-  'user_already_inactive' => 'Account has already been inactive', //cpg1.4
-  'deactivated' => 'Deactivated', //cpg1.4
-  'reset_password' => 'Reset password(s)', //cpg1.4
-  'password_reset' => 'Password reset to %s', //cpg1.4
-  'change_group' => 'Change primary group', //cpg1.4
-  'change_group_to_group' => 'Changing from %s to %s', //cpg1.4
-  'add_group' => 'Add secondary group', //cpg1.4
-  'add_group_to_group' => 'Adding user %s to group %s. He\'s now member of %s as primary and of %s as secondary membergroup(s).', //cpg1.4
-  'status' => 'Status', //cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File displayecard.php
-// ------------------------------------------------------------------------- //
-
-if (defined('DISPLAYECARD_PHP')) {
-
-$lang_displayecard_php = array(
-  'invalid_data' => 'The data for the ecard you are trying to access has been corrupted by your mail client. Check the link is complete.', //cpg1.4
-);
-}
-
-// ------------------------------------------------------------------------- //
-// File displayimage.php
-// ------------------------------------------------------------------------- //
-
-if (defined('DISPLAYIMAGE_PHP')){
-
-$lang_display_image_php = array(
-  'confirm_del' => 'Are you sure you want to DELETE this file ? \\nComments will also be deleted.', //js-alert
-  'del_pic' => 'DELETE THIS FILE',
-  'size' => '%s x %s pixels',
-  'views' => '%s times',
-  'slideshow' => 'Slideshow',
-  'stop_slideshow' => 'STOP SLIDESHOW',
-  'view_fs' => 'Click to view full size image',
-  'edit_pic' => 'Edit file information', //cpg1.4
-  'crop_pic' => 'Crop and Rotate',
-  'set_player' => 'Change player',
-);
-
-$lang_picinfo = array(
-  'title' =>'File information',
-  'Filename' => 'Filename',
-  'Album name' => 'Album name',
-  'Rating' => 'Rating (%s votes)',
-  'Keywords' => 'Keywords',
-  'File Size' => 'File Size',
-  'Date Added' => 'Date added', //cpg1.4
-  'Dimensions' => 'Dimensions',
-  'Displayed' => 'Displayed',
-  'URL' => 'URL', //cpg1.4
-  'Make' => 'Make', //cpg1.4
-  'Model' => 'Model', //cpg1.4
-  'DateTime' => 'Date Time', //cpg1.4
-  'ISOSpeedRatings'=>'ISO', //cpg1.4
-  'MaxApertureValue' => 'Max Aperture', //cpg1.4
-  'FocalLength' => 'Focal length', //cpg1.4
-  'Comment' => 'Comment',
-  'addFav'=>'Add to Favourites',
-  'addFavPhrase'=>'Favourites',
-  'remFav'=>'Remove from Favourites',
-  'iptcTitle'=>'IPTC Title',
-  'iptcCopyright'=>'IPTC Copyright',
-  'iptcKeywords'=>'IPTC Keywords',
-  'iptcCategory'=>'IPTC Category',
-  'iptcSubCategories'=>'IPTC Sub Categories',
-  'ColorSpace' => 'Colour Space',
-  'ExposureProgram' => 'Exposure Program', //cpg1.4
-  'Flash' => 'Flash', //cpg1.4
-  'MeteringMode' => 'Metering Mode', //cpg1.4
-  'ExposureTime' => 'Exposure Time', //cpg1.4
-  'ExposureBiasValue' => 'Exposure Bias', //cpg1.4
-  'ImageDescription' => ' Image Description', //cpg1.4
-  'Orientation' => 'Orientation', //cpg1.4
-  'xResolution' => 'X Resolution', //cpg1.4
-  'yResolution' => 'Y Resolution', //cpg1.4
-  'ResolutionUnit' => 'Resolution Unit', //cpg1.4
-  'Software' => 'Software', //cpg1.4
-  'YCbCrPositioning' => 'YCbCrPositioning', //cpg1.4
-  'ExifOffset' => 'Exif Offset', //cpg1.4
-  'IFD1Offset' => 'IFD1 Offset', //cpg1.4
-  'FNumber' => 'FNumber', //cpg1.4
-  'ExifVersion' => 'Exif Version', //cpg1.4
-  'DateTimeOriginal' => 'DateTime Original', //cpg1.4
-  'DateTimedigitized' => 'DateTime digitized', //cpg1.4
-  'ComponentsConfiguration' => 'Components Configuration', //cpg1.4
-  'CompressedBitsPerPixel' => 'Compressed Bits Per Pixel', //cpg1.4
-  'LightSource' => 'Light Source', //cpg1.4
-  'ISOSetting' => 'ISO Setting', //cpg1.4
-  'ColorMode' => 'Colour Mode',
-  'Quality' => 'Quality', //cpg1.4
-  'ImageSharpening' => 'Image Sharpening', //cpg1.4
-  'FocusMode' => 'Focus Mode', //cpg1.4
-  'FlashSetting' => 'Flash Setting', //cpg1.4
-  'ISOSelection' => 'ISO Selection', //cpg1.4
-  'ImageAdjustment' => 'Image Adjustment', //cpg1.4
-  'Adapter' => 'Adapter', //cpg1.4
-  'ManualFocusDistance' => 'Manual Focus Distance', //cpg1.4
-  'DigitalZoom' => 'Digital Zoom', //cpg1.4
-  'AFFocusPosition' => 'AF Focus Position', //cpg1.4
-  'Saturation' => 'Saturation', //cpg1.4
-  'NoiseReduction' => 'Noise Reduction', //cpg1.4
-  'FlashPixVersion' => 'Flash Pix Version', //cpg1.4
-  'ExifImageWidth' => 'Exif Image Width', //cpg1.4
-  'ExifImageHeight' => 'Exif Image Height', //cpg1.4
-  'ExifInteroperabilityOffset' => 'Exif Interoperability Offset', //cpg1.4
-  'FileSource' => 'File Source', //cpg1.4
-  'SceneType' => 'Scene Type', //cpg1.4
-  'CustomerRender' => 'Customer Render', //cpg1.4
-  'ExposureMode' => 'Exposure Mode', //cpg1.4
-  'WhiteBalance' => 'White Balance', //cpg1.4
-  'DigitalZoomRatio' => 'Digital Zoom Ratio', //cpg1.4
-  'SceneCaptureMode' => 'Scene Capture Mode', //cpg1.4
-  'GainControl' => 'Gain Control', //cpg1.4
-  'Contrast' => 'Contrast', //cpg1.4
-  'Sharpness' => 'Sharpness', //cpg1.4
-  'ManageExifDisplay' => 'Manage Exif Display', //cpg1.4
-  'submit' => 'Submit', //cpg1.4
-  'success' => 'Information updated successfully.', //cpg1.4
-  'details' => 'Details', //cpg1.4
-);
-
-$lang_display_comments = array(
-  'OK' => 'OK',
-  'edit_title' => 'Edit this comment',
-  'confirm_delete' => 'Are you sure you want to delete this comment ?', //js-alert
-  'add_your_comment' => 'Add your comment',
-  'name'=>'Name',
-  'comment'=>'Comment',
-  'your_name' => 'Anon',
-  'report_comment_title' => 'Report this comment to the administrator', //cpg1.4
-);
-
-$lang_fullsize_popup = array(
-  'click_to_close' => 'Click image to close this window',
-);
-
-}
-
-// ------------------------------------------------------------------------- //
-// File ecard.php
-// ------------------------------------------------------------------------- //
-
-if (defined('ECARDS_PHP') || defined('DISPLAYECARD_PHP')) $lang_ecard_php =array(
-  'title' => 'Send an e-card',
-  'invalid_email' => '<font color="red"><b>Warning</b></font>: invalid email address:', //cpg1.4
-  'ecard_title' => 'An e-card from %s for you',
-  'error_not_image' => 'Only images can be sent as an ecard.',
-  'view_ecard' => 'Alternate link if the e-card does not display correctly', //cpg1.4
-  'view_ecard_plaintext' => 'To view the ecard, copy and paste this url into your browser\'s address bar:', //cpg1.4
-  'view_more_pics' => 'View more pictures !', //cpg1.4
-  'send_success' => 'Your ecard was sent',
-  'send_failed' => 'Sorry but the server can\'t send your e-card...',
-  'from' => 'From',
-  'your_name' => 'Your name',
-  'your_email' => 'Your email address',
-  'to' => 'To',
-  'rcpt_name' => 'Recipient name',
-  'rcpt_email' => 'Recipient email address',
-  'greetings' => 'Heading', //cpg1.4
-  'message' => 'Message', //cpg1.4
-  'ecards_footer' => 'Sent by %s from IP %s at %s (Gallery time)', //cpg1.4
-  'preview' => 'Preview of the ecard', //cpg1.4
-  'preview_button' => 'Preview', //cpg1.4
-  'submit_button' => 'Send ecard', //cpg1.4
-  'preview_view_ecard' => 'This will be the alternate link to the ecard once it gets generated. It won\'t work for previews.', //cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File report_file.php //cpg1.4
-// ------------------------------------------------------------------------- //
-
-if (defined('REPORT_FILE_PHP') || defined('DISPLAYREPORT_PHP')) $lang_report_php =array(
-  'title' => 'Report to administrator', //cpg1.4
-  'invalid_email' => '<b>Warning</b> : invalid email address !', //cpg1.4
-  'report_subject' => 'A report from %s on a gallery %s', //cpg1.4
-  'view_report' => 'Alternate link if the report does not display correctly', //cpg1.4
-  'view_report_plaintext' => 'To view the report, copy and paste this url into your browser\'s address bar:', //cpg1.4
-  'view_more_pics' => 'Gallery', //cpg1.4
-  'send_success' => 'Your report was sent', //cpg1.4
-  'send_failed' => 'Sorry but the server can\'t send your report...', //cpg1.4
-  'from' => 'From', //cpg1.4
-  'your_name' => 'Your name', //cpg1.4
-  'your_email' => 'Your email address', //cpg1.4
-  'to' => 'To', //cpg1.4
-  'administrator' => 'Administrator/Mod', //cpg1.4
-  'subject' => 'Subject', //cpg1.4
-  'comment_field_name' => 'Reporting on Comment by "%s"', //cpg1.4
-  'reason' => 'Reason', //cpg1.4
-  'message' => 'Message', //cpg1.4
-  'report_footer' => 'Sent by %s from IP %s at %s (Gallery time)', //cpg1.4
-  'obscene' => 'obscene', //cpg1.4
-  'offensive' => 'offensive', //cpg1.4
-  'misplaced' => 'off-topic/misplaced', //cpg1.4
-  'missing' => 'missing', //cpg1.4
-  'issue' => 'error/cannot view', //cpg1.4
-  'other' => 'other', //cpg1.4
-  'refers_to' => 'File report refers to', //cpg1.4
-  'reasons_list_heading' => 'reason(s) for report:', //cpg1.4
-  'no_reason_given' => 'no reason was given', //cpg1.4
-  'go_comment' => 'Go to comment', //cpg1.4
-  'view_comment' => 'View full report with comment', //cpg1.4
-  'type_file' => 'file', //cpg1.4
-  'type_comment' => 'comment', //cpg1.4
-  'invalid_data' => 'The data for the report you are trying to access has been corrupted by your mail client. Check the link is complete.', //cpg1.4
-
-);
-
-// ------------------------------------------------------------------------- //
-// File editpics.php
-// ------------------------------------------------------------------------- //
-
-if (defined('EDITPICS_PHP')) $lang_editpics_php = array(
-  'pic_info' => 'File info',
-  'album' => 'Album',
-  'title' => 'Title',
-  'filename' => 'Filename', //cpg1.4
-  'desc' => 'Description',
-  'keywords' => 'Keywords',
-  'new_keyword' => 'New keyword', //cpg1.4
-  'new_keywords' => 'New keywords found', //cpg1.4
-  'existing_keyword' => 'Existing keyword', //cpg1.4
-  'pic_info_str' => '%s &times; %s - %s KB - %s views - %s votes',
-  'approve' => 'Approve file',
-  'postpone_app' => 'Postpone approval',
-  'del_pic' => 'Delete file',
-  'del_all' => 'Delete ALL files', //cpg1.4
-  'read_exif' => 'Read EXIF info again',
-  'reset_view_count' => 'Reset view counter',
-  'reset_all_view_count' => 'Reset ALL view counters', //cpg1.4
-  'reset_votes' => 'Reset votes',
-  'reset_all_votes' => 'Reset ALL votes', //cpg1.4
-  'del_comm' => 'Delete comments',
-  'del_all_comm' => 'Delete ALL comments', //cpg1.4
-  'upl_approval' => 'Upload approval', //cpg1.4
-  'edit_pics' => 'Edit files',
-  'see_next' => 'See next files',
-  'see_prev' => 'See previous files',
-  'n_pic' => '%s files',
-  'n_of_pic_to_disp' => 'Number of files to display',
-  'apply' => 'Apply modifications',
-  'crop_title' => 'Coppermine Picture Editor',
-  'preview' => 'Preview',
-  'save' => 'Save picture',
-  'save_thumb' =>'Save as thumbnail',
-  'gallery_icon' => 'Make this my icon', //cpg1.4
-  'sel_on_img' =>'The selection has to be entirely on the image!', //js-alert
-  'album_properties' =>'Album properties', //cpg1.4
-  'parent_category' =>'Parent category', //cpg1.4
-  'thumbnail_view' =>'Thumbnail view', //cpg1.4
-  'select_unselect' =>'select/unselect all', //cpg1.4
-  'file_exists' => "Destination file '%s' already exists.", //cpg1.4
-  'rename_failed' => "Failed to rename '%s' to '%s'.", //cpg1.4
-  'src_file_missing' => "Source file '%s' is missing.", // cpg 1.4
-  'mime_conv' => "Cannot convert file from '%s' to '%s'",//cpg1.4
-  'forb_ext' => 'Forbidden file extension.',//cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File faq.php
-// ------------------------------------------------------------------------- //
-
-if (defined('FAQ_PHP')) $lang_faq_php = array(
-  'faq' => 'Frequently Asked Questions',
-  'toc' => 'Table of contents',
-  'question' => 'Question: ',
-  'answer' => 'Answer: ',
-);
-
-if (defined('FAQ_PHP')) $lang_faq_data = array(
-  'General FAQ',
-  array('Why do I need to register?', 'Registration may or may not be required by the administrator. Registration gives a member additional features such as uploading, having a favourite list, rating pictures and posting comments etc.', 'allow_user_registration', '1'),
-  array('How do I register?', 'Go to &quot;Register&quot; and fill out the required fields (and the optional ones if you want to).<br />If the Administrator has Email Activation enabled, then after submitting your information you should recieve an email message at the address that you have submitted while registering, giving you instructions on how to activate your membership. Your membership must be activated in order for you to login.', 'allow_user_registration', '1'), //cpg1.4
-  array('How Do I login?', 'Go to &quot;Login&quot;, submit your username and password and check &quot;Remember Me&quot; so you will be logged in on the site if you should leave it.<br /><b>IMPORTANT:Cookies must be enabled and the cookie from this site must not be deleted in order to use &quot;Remember Me&quot;.</b>', 'offline', 0),
-  array('Why can I not login?', 'Did you register and click the link that was sent to you via email?. The link will activate your account. For other login problems contact the site administrator.', 'offline', 0),
-  array('What if I forgot my password?', 'If this site has a &quot;Forgot password&quot; link then use it. Other than that contact the site administrator for a new password.', 'offline', 0),
-  //array('What if I changed my email address?', 'Just simply login and change your email address through &quot;Profile&quot;', 'offline', 0),
-  array('How do I save a picture to &quot;My Favourites&quot;?', 'Click on a picture and click on the &quot;picture info&quot; link (<img src="images/info.gif" width="16" height="16" border="0" alt="Picture information" />); scroll down to the picture information set and click &quot;Add to fav&quot;.<br />The administrator may have the &quot;picture information&quot; on by default.<br />IMPORTANT:Cookies must be enabled and the cookie from this site must not be deleted.', 'offline', 0),
-  array('How do I rate a file?', 'Click on a thumbnail and go to the bottom and choose a rating.', 'offline', 0),
-  array('How do I post a comment for a picture?', 'Click on a thumbnail and go to the bottom and post a comment.', 'offline', 0),
-  array('How do I upload a file?', 'Go to &quot;Upload&quot;and select the album that you want to upload to. Click &quot;Browse,&quot; find the file to upload, and click &quot;open.&quot; Add a title and description if you want. Click &quot;Submit&quot;.<br /><br />Alternatively, for those users using <b>Windows XP</b>, you can upload multiple files directly to your own private albums using the XP Publishing wizard.<br />For instructions on how, and to get the required registry file, click <a href="xp_publish.php">here.</a>', 'allow_private_albums', 1), //cpg1.4
-  array('Where do I upload a picture to?', 'You will be able to upload a file to one of your albums in &quot;My Gallery&quot;. The Administrator may also allow you to upload a file to one or more of the albums in the Main Gallery.', 'allow_private_albums', 0),
-  array('What type and size of a file can I upload?', 'The size and type (jpg, png, etc.) is up to the administrator.', 'offline', 0),
-  array('How do I create, rename or delete an album in &quot;My Gallery&quot;?', 'You should already be in &quot;Admin-Mode&quot;<br />Go to &quot;Create/Order My Albums&quot;and click &quot;New&quot;. Change &quot;New Album&quot; to your desired name.<br />You can also rename any of the albums in your gallery.<br />Click &quot;Apply Modifications&quot;.', 'allow_private_albums', 0),
-  array('How can I modify and restrict users from viewing my albums?', 'You should already be in &quot;Admin Mode&quot;<br />Go to &quot;Modify My Albums. On the &quot;Update Album&quot; bar, select the album that you want to modify.<br />Here, you can change the name, description, thumbnail picture, restrict viewing and comment/rating permissions.<br />Click &quot;Update Album&quot;.', 'allow_private_albums', 0),
-  array('How can I view other users\' galleries?', 'Go to &quot;Album List&quot; and select &quot;User Galleries&quot;.', 'allow_private_albums', 0),
-  array('What are cookies?', 'Cookies are a plain text piece of data that is sent from a website and is put on to your computer.<br />Cookies usually allow a user to leave and return to the site without having to login again and other various chores.', 'offline', 0),
-  array('Where can I get this program for my site?', 'Coppermine is a free Multimedia Gallery, released under GNU GPL. It is full of features and has been ported to various platforms. Visit the <a href="http://coppermine-gallery.net/">Coppermine Home Page</a> to find out more or download it.', 'offline', 0),
-
-  'Navigating the Site',
-  array('What\'s &quot;Album List&quot;?', 'This will show you the entire category you are currently in, with a link to each album. If you are not in a category, it will show you the entire gallery with a link to each category. Thumbnails may be a link to the category.', 'offline', 0),
-  array('What\'s &quot;My Gallery&quot;?', 'This feature lets users create their own galleries and add, delete or modify albums as well as upload to them.', 'allow_private_albums', 1), //cpg1.4
-  array('What\'s the difference between &quot;Admin Mode&quot; and &quot;User Mode&quot;?', 'This feature, when in admin-mode, allows a user to modify their gallery (as well as others if allowed by the administrator).', 'allow_private_albums', 0),
-  array('What\'s &quot;Upload Picture&quot;?', 'This feature allows a user to upload a file (size and type is set by the site administrator) to a gallery selected by either you or the administrator.', 'allow_private_albums', 0),
-  array('What\'s &quot;Last Uploads&quot;?', 'This feature shows the last uploads to the site.', 'offline', 0),
-  array('What\'s &quot;Last Comments&quot;?', 'This feature shows the last comments along with the files posted by users.', 'offline', 0),
-  array('What\'s &quot;Most Viewed&quot;?', 'This feature shows the most viewed files by all users (whether logged in or not).', 'offline', 0),
-  array('What\'s &quot;Top Rated&quot;?', 'This feature shows the top rated files rated by the users, showing the average rating (e.g: five users each gave a <img src="images/rating3.gif" width="65" height="14" border="0" alt="" />: the file would have an average rating of <img src="images/rating3.gif" width="65" height="14" border="0" alt="" /> ;Five users rated the file from 1 to 5 (1,2,3,4,5) would result in an average <img src="images/rating3.gif" width="65" height="14" border="0" alt="" /> .)<br />The ratings go from <img src="images/rating5.gif" width="65" height="14" border="0" alt="best" /> (best) to <img src="images/rating0.gif" width="65" height="14" border="0" alt="worst" /> (worst).', 'offline', 0),
-  array('What\'s &quot;My Favourites&quot;?', 'This feature will let a user store a favourite file in the cookie that was sent to your computer.', 'offline', 0),
-);
-
-
-// ------------------------------------------------------------------------- //
-// File forgot_passwd.php
-// ------------------------------------------------------------------------- //
-
-if (defined('FORGOT_PASSWD_PHP')) $lang_forgot_passwd_php = array(
-  'forgot_passwd' => 'Password reminder',
-  'err_already_logged_in' => 'You are already logged in !',
-  'enter_email' => 'Enter your email address', //cpg1.4
-  'submit' => 'go',
-  'illegal_session' => 'Forgot password session invalid or has expired.', //cpg1.4
-  'failed_sending_email' => 'The password reminder email can\'t be sent !',
-  'email_sent' => 'An email with your username and new password was sent to %s', //cpg1.4
-  'verify_email_sent' => 'An email has been sent to %s. Please check your email to complete the process.', //cpg1.4
-  'err_unk_user' => 'Selected user does not exist!',
-  'account_verify_subject' => '%s - New password request', //cpg1.4
-  'account_verify_body' => 'You have requested to a new password. If you would like to proceed with having a new password sent to you, click on the following link:
-
-%s', //cpg1.4
-  'passwd_reset_subject' => '%s - Your New Password', //cpg1.4
-  'passwd_reset_body' => 'Here is the new password you requested:
-Username: %s
-Password: %s
-Click %s to log in.', //cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File groupmgr.php
-// ------------------------------------------------------------------------- //
-
-if (defined('GROUPMGR_PHP')) $lang_groupmgr_php = array(
-  'group_name' => 'Group', //cpg1.4
-  'permissions' => 'Permissions', //cpg1.4
-  'public_albums' => 'Public albums upload', //cpg1.4
-  'personal_gallery' => 'Personal gallery', //cpg1.4
-  'upload_method' => 'Upload method', //cpg1.4
-  'disk_quota' => 'Quota', //cpg1.4
-  'rating' => 'Rating', //cpg1.4
-  'ecards' => 'Ecards', //cpg1.4
-  'comments' => 'Comments', //cpg1.4
-  'allowed' => 'Allowed', //cpg1.4
-  'approval' => 'Approval', //cpg1.4
-  'boxes_number' => 'No. of boxes', //cpg1.4
-  'variable' => 'variable', //cpg1.4
-  'fixed' => 'fixed', //cpg1.4
-  'apply' => 'Apply modifications',
-  'create_new_group' => 'Create new group',
-  'del_groups' => 'Delete selected group(s)',
-  'confirm_del' => 'Warning, when you delete a group, users that belong to this group will be transferred to the \'Registered\' group !\n\nDo you want to proceed ?', //js-alert
-  'title' => 'Manage user groups',
-  'num_file_upload' => 'File upload boxes', //cpg1.4
-  'num_URI_upload' => 'URI upload boxes', //cpg1.4
-  'reset_to_default' => 'Reset to default name (%s) - recommended!', //cpg1.4
-  'error_group_empty' => 'Group table was empty !<br /><br />Default groups created, please reload this page', //cpg1.4
-  'explain_greyed_out_title' => 'Why is this row greyed out?', //cpg1.4
-  'explain_guests_greyed_out_text' => 'You can not change the properties of this group because you set the option &quot; Allow unlogged users (guest or anonymous) access&quot; to &quot;No&quot; on the config page. All guest (members of the group %s) can\'t do anything but login; therefor group settings don\'t apply for them.', //cpg1.4
-  'explain_banned_greyed_out_text' => 'You can not change the properties of the group %s because it\'s members can\'t do anything anyway.', //cpg1.4
-  'group_assigned_album' => 'assigned album(s)', //cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File index.php
-// ------------------------------------------------------------------------- //
-
-if (defined('INDEX_PHP')){
-
-$lang_index_php = array(
-  'welcome' => 'Welcome !',
-);
-
-$lang_album_admin_menu = array(
-  'confirm_delete' => 'Are you sure you want to DELETE this album ? \\nAll files and comments will also be deleted.', //js-alert
-  'delete' => 'DELETE',
-  'modify' => 'PROPERTIES',
-  'edit_pics' => 'EDIT FILES',
-);
-
-$lang_list_categories = array(
-  'home' => 'Home',
-  'stat1' => '<b>[pictures]</b> files in <b>[albums]</b> albums and <b>[cat]</b> categories with <b>[comments]</b> comments viewed <b>[views]</b> times',
-  'stat2' => '<b>[pictures]</b> files in <b>[albums]</b> albums viewed <b>[views]</b> times',
-  'xx_s_gallery' => '%s\'s Gallery',
-  'stat3' => '<b>[pictures]</b> files in <b>[albums]</b> albums with <b>[comments]</b> comments viewed <b>[views]</b> times',
-);
-
-$lang_list_users = array(
-  'user_list' => 'User list',
-  'no_user_gal' => 'There are no user galleries',
-  'n_albums' => '%s album(s)',
-  'n_pics' => '%s file(s)',
-);
-
-$lang_list_albums = array(
-  'n_pictures' => '%s files',
-  'last_added' => ', last one added on %s',
-  'n_link_pictures' => '%s linked files', //cpg1.4
-  'total_pictures' => '%s files total', //cpg1.4
-);
-
-}
-
-// ------------------------------------------------------------------------- //
-// File keywordmgr.php //cpg1.4
-// ------------------------------------------------------------------------- //
-
-if (defined('KEYWORDMGR_PHP')) $lang_keywordmgr_php = array(
-  'title' => 'Manage keywords', //cpg1.4
-  'edit' => 'edit', //cpg1.4
-  'delete' => 'delete', //cpg1.4
-  'search' => 'search', //cpg1.4
-  'keyword_test_search' => 'search for %s in new window', //cpg1.4
-  'keyword_del' => 'delete the keyword %s', //cpg1.4
-  'confirm_delete' => 'Are you sure you want to delete the keyword %s from the whole gallery?', //cpg1.4  // js-alert
-  'change_keyword' => 'change keyword', //cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File login.php
-// ------------------------------------------------------------------------- //
-
-if (defined('LOGIN_PHP')) $lang_login_php = array(
-  'login' => 'Login',
-  'enter_login_pswd' => 'Enter your username and password to login',
-  'username' => 'Username',
-  'password' => 'Password',
-  'remember_me' => 'Remember me',
-  'welcome' => 'Welcome %s ...',
-  'err_login' => '*** Couldn\'t log in. Try again ***',
-  'err_already_logged_in' => 'You are already logged in !',
-  'forgot_password_link' => 'I forgot my password',
-  'cookie_warning' => 'Warning your browser does not accept script\'s cookies', //cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File logout.php
-// ------------------------------------------------------------------------- //
-
-if (defined('LOGOUT_PHP')) $lang_logout_php = array(
-  'logout' => 'Logout',
-  'bye' => 'Bye bye %s ...',
-  'err_not_loged_in' => 'You are not logged in !',
-);
-
-// ------------------------------------------------------------------------- //
-// File minibrowser.php  //cpg1.4
-// ------------------------------------------------------------------------- //
-
-if (defined('MINIBROWSER_PHP')) $lang_minibrowser_php = array(
-  'close' => 'close', //cpg1.4
-  'submit' => 'OK', //cpg1.4
-  'up' => 'up one level', //cpg1.4
-  'current_path' => 'current path', //cpg1.4
-  'select_directory' => 'please select a directory', //cpg1.4
-  'click_to_close' => 'Click image to close this window',
-);
-
-// ------------------------------------------------------------------------- //
-// File modifyalb.php
-// ------------------------------------------------------------------------- //
-
-if (defined('MODIFYALB_PHP')) $lang_modifyalb_php = array(
-  'upd_alb_n' => 'Update album %s',
-  'general_settings' => 'General settings',
-  'alb_title' => 'Album title',
-  'alb_cat' => 'Album category',
-  'alb_desc' => 'Album description',
-  'alb_keyword' => 'Album Keyword', //cpg1.4
-  'alb_thumb' => 'Album thumbnail',
-  'alb_perm' => 'Permissions for this album',
-  'can_view' => 'Album can be viewed by',
-  'can_upload' => 'Visitors can upload files',
-  'can_post_comments' => 'Visitors can post comments',
-  'can_rate' => 'Visitors can rate files',
-  'user_gal' => 'User Gallery',
-  'no_cat' => '* No category *',
-  'alb_empty' => 'Album is empty',
-  'last_uploaded' => 'Last uploaded',
-  'public_alb' => 'Everybody (public album)',
-  'me_only' => 'Me only',
-  'owner_only' => 'Album owner (%s) only',
-  'groupp_only' => 'Members of the \'%s\' group',
-  'err_no_alb_to_modify' => 'No album you can modify in the database.',
-  'update' => 'Update album',
-  'reset_album' => 'Reset album', //cpg1.4
-  'reset_views' => 'Reset views counter to &quot;0&quot; in %s', //cpg1.4
-  'reset_rating' => 'Reset ratings on all files in %s', //cpg1.4
-  'delete_comments' => 'Delete all comments made in %s', //cpg1.4
-  'delete_files' => '%sIrreversibly%s delete all files in %s', //cpg1.4
-  'views' => 'views', //cpg1.4
-  'votes' => 'votes', //cpg1.4
-  'comments' => 'comments', //cpg1.4
-  'files' => 'files', //cpg1.4
-  'submit_reset' => 'submit changes', //cpg1.4
-  'reset_views_confirm' => 'I\'m sure', //cpg1.4
-  'notice1' => '(*) depending on %sgroups%s settings',  //cpg1.4 //(do not translate %s!)
-  'alb_password' => 'Album password', //cpg1.4
-  'alb_password_hint' => 'Album password hint', //cpg1.4
-  'edit_files' =>'Edit files', //cpg1.4
-  'parent_category' =>'Parent category', //cpg1.4
-  'thumbnail_view' =>'Thumbnail view', //cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File phpinfo.php
-// ------------------------------------------------------------------------- //
-
-if (defined('PHPINFO_PHP')) $lang_phpinfo_php = array(
-  'php_info' => 'PHP info',
-  'explanation' => 'This is the output generated by the PHP-function <a href="http://www.php.net/phpinfo">phpinfo()</a>, displayed within Coppermine (trimming the output at the right side).',
-  'no_link' => 'Having others see your phpinfo can be a security risk, that\'s why this page is only visible when you\'re logged in as admin. You can not post a link to this page for others, they will be denied access.',
-);
-
-// ------------------------------------------------------------------------- //
-// File picmgr.php //cpg1.4
-// ------------------------------------------------------------------------- //
-if (defined('PICMGR_PHP')) $lang_picmgr_php = array(
-  'pic_mgr' => 'Picture Manager', //cpg1.4
-  'select_album' => 'Select Album', //cpg1.4
-  'delete' => 'Delete', //cpg1.4
-  'confirm_delete1' => 'Are you sure you want to delete this picture ?', //cpg1.4
-  'confirm_delete2' => '\nPicture will be permanently deleted.', //cpg1.4
-  'apply_modifs' => 'Apply modifications', //cpg1.4
-  'confirm_modifs' => 'Confirm modifications', //cpg1.4
-  'pic_need_name' => 'Picture needs to have a name !', //cpg1.4
-  'no_change' => 'You did not make any change !', //cpg1.4
-  'no_album' => '* No album *', //cpg1.4
-  'explanation_header' => 'The custom sort order you can specify on this page will only be taken into account if', //cpg1.4
-  'explanation1' => 'the admin has set the "Default sort order for files" in the config to "Position descending" or "Position ascending" (global setting for all users who haven\'t chosen another sort option individually)', //cpg1.4
-  'explanation2' => 'the user has chosen "Position descending" or "Position ascending" on the thumbail page (per user setting)', //cpg1.4
-);
-
-
-// ------------------------------------------------------------------------- //
-// File pluginmgr.php //cpg1.4
-// ------------------------------------------------------------------------- //
-
-if (defined('PLUGINMGR_PHP')){
-
-$lang_pluginmgr_php = array(
-  'confirm_uninstall' => 'Are you sure you want to UNINSTALL this plugin', //cpg1.4
-  'confirm_delete' => 'Are you sure you want to DELETE this plugin', //cpg1.4
-  'pmgr' => 'Plugin Manager', //cpg1.4
-  'name' => 'Name', //cpg1.4
-  'author' => 'Author', //cpg1.4
-  'desc' => 'Description', //cpg1.4
-  'vers' => 'v', //cpg1.4
-  'i_plugins' => 'Installed Plugins', //cpg1.4
-  'n_plugins' => 'Plugins Not installed', //cpg1.4
-  'none_installed' => 'None Installed', //cpg1.4
-  'operation' => 'Operation', //cpg1.4
-  'not_plugin_package' => 'The file uploaded is not a plugin package.', //cpg1.4
-  'copy_error' => 'There was an error copying the package to the plugins folder.', //cpg1.4
-  'upload' => 'Upload', //cpg1.4
-  'configure_plugin' => 'Configure plugin', //cpg1.4
-  'cleanup_plugin' => 'Cleanup plugin', //cpg1.4
-);
-}
-
-// ------------------------------------------------------------------------- //
-// File ratepic.php
-// ------------------------------------------------------------------------- //
-
-if (defined('RATEPIC_PHP')) $lang_rate_pic_php = array(
-  'already_rated' => 'Sorry but you have already rated this file',
-  'rate_ok' => 'Your vote was accepted',
-  'forbidden' => 'You can not rate your own files.',
-);
-
-// ------------------------------------------------------------------------- //
-// File register.php & profile.php
-// ------------------------------------------------------------------------- //
-
-if (defined('REGISTER_PHP') || defined('PROFILE_PHP')) {
-
-$lang_register_disclamer = <<<EOT
-While the administrators of {SITE_NAME} will attempt to remove or edit any generally objectionable material as quickly as possible, it is impossible to review every post. Therefore you acknowledge that all posts made to this site express the views and opinions of the author and not the administrators or webmaster (except for posts by these people) and hence will not be held liable.<br />
-<br />
-You agree not to post any abusive, obscene, vulgar, slanderous, hateful, threatening, sexually-orientated or any other material that may violate any applicable laws. You agree that the webmaster, administrator and moderators of {SITE_NAME} have the right to remove or edit any content at any time should they see fit. As a user you agree to any information you have entered above being stored in a database. While this information will not be disclosed to any third party without your consent the webmaster and administrator cannot be held responsible for any hacking attempt that may lead to the data being compromised.<br />
-<br />
-This site uses cookies to store information on your local computer. These cookies serve only to improve your viewing pleasure. The email address is used only for confirming your registration details and password.<br />
-<br />
-By clicking 'I agree' below you agree to be bound by these conditions.
-EOT;
-
-$lang_register_php = array(
-  'page_title' => 'User registration',
-  'term_cond' => 'Terms and conditions',
-  'i_agree' => 'I agree',
-  'submit' => 'Submit registration',
-  'err_user_exists' => 'The username you have entered already exist, please choose a different one',
-  'err_password_mismatch' => 'The two passwords does not match, please input them again',
-  'err_uname_short' => 'Username must be 2 characters long minimum',
-  'err_password_short' => 'Password must be 2 characters long minimum',
-  'err_uname_pass_diff' => 'Username and password must be different',
-  'err_invalid_email' => 'Email address is invalid',
-  'err_duplicate_email' => 'Another user has already registered with the email address you entered',
-  'enter_info' => 'Input registration information',
-  'required_info' => 'Required information',
-  'optional_info' => 'Optional information',
-  'username' => 'Username',
-  'password' => 'Password',
-  'password_again' => 'Re-enter password',
-  'email' => 'Email',
-  'location' => 'Location',
-  'interests' => 'Interests',
-  'website' => 'Home page',
-  'occupation' => 'Occupation',
-  'error' => 'ERROR',
-  'confirm_email_subject' => '%s - Registration confirmation',
-  'information' => 'Information',
-  'failed_sending_email' => 'The registration confirmation email can\'t be send !',
-  'thank_you' => 'Thank you for registering.<br /><br />An email with information on how to activate your account was sent to the email address you provided.',
-  'acct_created' => 'Your account has been created and you can now login with your username and password',
-  'acct_active' => 'Your account is now active and you can login with your username and password',
-  'acct_already_act' => 'Account is already active!', //cpg1.4
-  'acct_act_failed' => 'This account can\'t be activated !',
-  'err_unk_user' => 'Selected user does not exist !',
-  'x_s_profile' => '%s\'s profile',
-  'group' => 'Group',
-  'reg_date' => 'Joined',
-  'disk_usage' => 'Disk usage',
-  'change_pass' => 'Change password',
-  'current_pass' => 'Current password',
-  'new_pass' => 'New password',
-  'new_pass_again' => 'New password again',
-  'err_curr_pass' => 'Current password is incorrect',
-  'apply_modif' => 'Apply modifications',
-  'change_pass' => 'Change my password',
-  'update_success' => 'Your profile was updated',
-  'pass_chg_success' => 'Your password was changed',
-  'pass_chg_error' => 'Your password was not changed',
-  'notify_admin_email_subject' => '%s - Registration notification',
-  'last_uploads' => 'Last uploaded file.<br />Click to see all uploads by', //cpg1.4
-  'last_comments' => 'Last comment.<br />Click to see all comments made by', //cpg1.4
-  'notify_admin_email_body' => 'A new user with the username "%s" has registered in your gallery',
-  'pic_count' => 'Files uploaded', //cpg1.4
-  'notify_admin_request_email_subject' => '%s - Registration request', //cpg1.4
-  'thank_you_admin_activation' => 'Thank you.<br /><br />Your request for account activation was sent to the admin. You will receive an email if approved.', //cpg1.4
-  'acct_active_admin_activation' => 'The account is now active and an email has been sent to the user.', //cpg1.4
-  'notify_user_email_subject' => '%s - Activation notification', //cpg1.4
-);
-
-$lang_register_confirm_email = <<<EOT
-Thank you for registering at {SITE_NAME}
-
-In order to activate your account with username "{USER_NAME}", you need to click on the link below or copy and paste it in your web browser.
-
-<a href="{ACT_LINK}">{ACT_LINK}</a>
-
-Regards,
-
-The management of {SITE_NAME}
-
-EOT;
-
-$lang_register_approve_email = <<<EOT
-A new user with the username "{USER_NAME}" has registered in your gallery.
-
-In order to activate the account, you need to click on the link below or copy and paste it in your web browser.
-
-<a href="{ACT_LINK}">{ACT_LINK}</a>
-
-EOT;
-
-$lang_register_activated_email = <<<EOT
-Your account has been approved and activated.
-
-You can now log in at <a href="{SITE_LINK}">{SITE_LINK}</a> using the username "{USER_NAME}"
-
-
-Regards,
-
-The management of {SITE_NAME}
-
-EOT;
-}
-
-// ------------------------------------------------------------------------- //
-// File reviewcom.php
-// ------------------------------------------------------------------------- //
-
-if (defined('REVIEWCOM_PHP')) $lang_reviewcom_php = array(
-  'title' => 'Review comments',
-  'no_comment' => 'There is no comment to review',
-  'n_comm_del' => '%s comment(s) deleted',
-  'n_comm_disp' => 'Number of comments to display',
-  'see_prev' => 'See previous',
-  'see_next' => 'See next',
-  'del_comm' => 'Delete selected comments',
-  'user_name' => 'Name', //cpg1.4
-  'date' => 'Date', //cpg1.4
-  'comment' => 'Comment', //cpg1.4
-  'file' => 'File', //cpg1.4
-  'name_a' => 'User name ascending', //cpg1.4
-  'name_d' => 'User name descending', //cpg1.4
-  'date_a' => 'Date ascending', //cpg1.4
-  'date_d' => 'Date descending', //cpg1.4
-  'comment_a' => 'Comment message ascending', //cpg1.4
-  'comment_d' => 'Comment message descending', //cpg1.4
-  'file_a' => 'File ascending', //cpg1.4
-  'file_d' => 'File descending', //cpg1.4
-);
-
-
-// ------------------------------------------------------------------------- //
-// File search.php                                                           //
-// ------------------------------------------------------------------------- //
-
-
-if (defined('SEARCH_PHP')){
-
-$lang_search_php = array(
-  'title' => 'Search the file collection', //cpg1.4
-  'submit_search' => 'search', //cpg1.4
-  'keyword_list_title' => 'Keyword list', //cpg1.4
-  'keyword_msg' => 'The above list is not all inclusive. It does not include words from photo titles or descriptions. Try a full-text search.',  //cpg1.4
-  'edit_keywords' => 'Edit keywords', //cpg1.4
-  'search in' => 'Search in:', //cpg1.4
-  'ip_address' => 'IP address', //cpg1.4
-  'fields' => 'Search in', //cpg1.4
-  'age' => 'Age', //cpg1.4
-  'newer_than' => 'Newer than', //cpg1.4
-  'older_than' => 'Older than', //cpg1.4
-  'days' => 'days', //cpg1.4
-  'all_words' => 'Match all words (AND)', //cpg1.4
-  'any_words' => 'Match any words (OR)', //cpg1.4
-);
-
-$lang_adv_opts = array(
-  'title' => 'Title', //cpg1.4
-  'caption' => 'Caption', //cpg1.4
-  'keywords' => 'Keywords', //cpg1.4
-  'owner_name' => 'Owner name', //cpg1.4
-  'filename' => 'Filename', //cpg1.4
-);
-
-}
-
-// ------------------------------------------------------------------------- //
-// File searchnew.php
-// ------------------------------------------------------------------------- //
-
-if (defined('SEARCHNEW_PHP')) $lang_search_new_php = array(
-  'page_title' => 'Search new files',
-  'select_dir' => 'Select directory',
-  'select_dir_msg' => 'This function allows you to add a batch of files that your have uploaded to your server by FTP.<br /><br />Select the directory where you have uploaded your files.', //cpg1.4
-  'no_pic_to_add' => 'There is no file to add',
-  'need_one_album' => 'You need at least one album to use this function',
-  'warning' => 'Warning',
-  'change_perm' => 'the script can\'t write in this directory, you need to change its mode to 755 or 777 before trying to add the files !',
-  'target_album' => '<b>Put files of &quot;</b>%s<b>&quot; into </b>%s',
-  'folder' => 'Folder',
-  'image' => 'file',
-  'album' => 'Album',
-  'result' => 'Result',
-  'dir_ro' => 'Not writable. ',
-  'dir_cant_read' => 'Not readable. ',
-  'insert' => 'Adding new files to the gallery',
-  'list_new_pic' => 'List of new files',
-  'insert_selected' => 'Insert selected files',
-  'no_pic_found' => 'No new file was found',
-  'be_patient' => 'Please be patient, the script needs time to add the files',
-  'no_album' => 'no album selected',
-  'result_icon' => 'click for details or to reload',  //cpg1.4
-  'notes' =>  '<ul>'.
-                          '<li><b>OK</b> : means that the file was succesfully added'.
-                          '<li><b>DP</b> : means that the file is a duplicate and is already in the database'.
-                          '<li><b>PB</b> : means that the file could not be added, check your configuration and the permission of directories where the files are located'.
-                          '<li><b>NA</b> : means that you haven\'t selected an album the files should go to, hit \'<a href="javascript:history.back(1)">back</a>\' and select an album. If you don\'t have an album <a href="albmgr.php">create one first</a></li>'.
-                          '<li>If the OK, DP, PB \'signs\' does not appear click on the broken file to see any error message produced by PHP'.
-                          '<li>If your browser timeouts, hit the reload button'.
-                          '</ul>',
-  'select_album' => 'select album',
-  'check_all' => 'Check All',
-  'uncheck_all' => 'Uncheck All',
-  'no_folders' => 'There are no folders inside the "albums" folder yet. Make sure to create at least one custom folder within "albums" folder and ftp-upload your files there. You mustn\'t upload to the "userpics" nor "edit" folders, they are reserved for http uploads and internal purposes.', //cpg1.4
-   'albums_no_category' => 'Albums with no category', //cpg1.4 // album pulldown mod, added by frogfoot
-  'personal_albums' => '* Personal albums', //cpg1.4 // album pulldown mod, added by frogfoot
-  'browse_batch_add' => 'Browsable interface (recommended)', //cpg1.4
-  'edit_pics' => 'Edit files', //cpg1.4
-  'edit_properties' => 'Album properties', //cpg1.4
-  'view_thumbs' => 'Thumbnail view', //cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File stat_details.php //cpg1.4
-// ------------------------------------------------------------------------- //
-
-if (defined('STAT_DETAILS_PHP')) $lang_stat_details_php = array(
-  'show_hide' => 'show/hide this column', //cpg1.4
-  'vote' => 'Vote Details', //cpg1.4
-  'hits' => 'Hit Details', //cpg1.4
-  'stats' => 'Vote Statistics', //cpg1.4
-  'sdate' => 'Date', //cpg1.4
-  'rating' => 'Rating', //cpg1.4
-  'search_phrase' => 'Search phrase', //cpg1.4
-  'referer' => 'Referer', //cpg1.4
-  'browser' => 'Browser', //cpg1.4
-  'os' => 'Operating System', //cpg1.4
-  'ip' => 'IP', //cpg1.4
-  'sort_by_xxx' => 'Sort by %s', //cpg1.4
-  'ascending' => 'ascending', //cpg1.4
-  'descending' => 'descending', //cpg1.4
-  'internal' => 'int', //cpg1.4
-  'close' => 'close', //cpg1.4
-  'hide_internal_referers' => 'hide internal referers', //cpg1.4
-  'date_display' => 'Date display', //cpg1.4
-  'submit' => 'submit / refresh', //cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File thumbnails.php
-// ------------------------------------------------------------------------- //
-
-// Void
-
-// ------------------------------------------------------------------------- //
-// File upload.php
-// ------------------------------------------------------------------------- //
-
-if (defined('UPLOAD_PHP')) $lang_upload_php = array(
-  'title' => 'Upload file',
-  'custom_title' => 'Customized Request Form',
-  'cust_instr_1' => 'You may select a customized number of upload boxes. However, you may not select more than the limits listed below.',
-  'cust_instr_2' => 'Box Number Requests',
-  'cust_instr_3' => 'File upload boxes: %s',
-  'cust_instr_4' => 'URI/URL upload boxes: %s',
-  'cust_instr_5' => 'URI/URL upload boxes:',
-  'cust_instr_6' => 'File upload boxes:',
-  'cust_instr_7' => 'Please enter the number of each type of upload box you desire at this time.  Then click \'Continue\'. ',
-  'reg_instr_1' => 'Invalid action for form creation.',
-  'reg_instr_2' => 'Now you may upload your files using the upload boxes below. The size of files uploaded from your client to the server should not exceed %s KB each. ZIP files uploaded in the \'File Upload\' and \'URI/URL Upload\' sections will remain compressed.',
-  'reg_instr_3' => 'If you want the zipped file or archive to be decompressed, you must use the file upload box provided in the \'Decompressive ZIP Upload\' area.',
-  'reg_instr_4' => 'When using the URI/URL upload section, please enter the path to the file like so: http://www.mysite.com/images/example.jpg',
-  'reg_instr_5' => 'When you have completed the form, please click \'Continue\'.',
-  'reg_instr_6' => 'Decompressive ZIP Uploads:',
-  'reg_instr_7' => 'File Uploads:',
-  'reg_instr_8' => 'URI/URL Uploads:',
-  'error_report' => 'Error Report',
-  'error_instr' => 'The following uploads encountered errors:',
-  'file_name_url' => 'File Name/URL',
-  'error_message' => 'Error Message',
-  'no_post' => 'File not uploaded by POST.',
-  'forb_ext' => 'Forbidden file extension.',
-  'exc_php_ini' => 'Exceeded filesize allowed in php.ini.',
-  'exc_file_size' => 'Exceeded filesize permitted by CPG.',
-  'partial_upload' => 'Only a partial upload.',
-  'no_upload' => 'No upload occurred.',
-  'unknown_code' => 'Unknown PHP upload error code.',
-  'no_temp_name' => 'No upload - No temp name.',
-  'no_file_size' => 'Contains no data/Corrupted',
-  'impossible' => 'Impossible to move.',
-  'not_image' => 'Not an image/corrupt',
-  'not_GD' => 'Not a GD extension.',
-  'pixel_allowance' => 'The height and or width of the uploaded picture is more than that allowed by the gallery config.', //cpg1.4
-  'incorrect_prefix' => 'Incorrect URI/URL prefix',
-  'could_not_open_URI' => 'Could not open URI.',
-  'unsafe_URI' => 'Safety not verifiable.',
-  'meta_data_failure' => 'Meta data failure',
-  'http_401' => '401 Unauthorized',
-  'http_402' => '402 Payment Required',
-  'http_403' => '403 Forbidden',
-  'http_404' => '404 Not Found',
-  'http_500' => '500 Internal Server Error',
-  'http_503' => '503 Service Unavailable',
-  'MIME_extraction_failure' => 'MIME could not be determined.',
-  'MIME_type_unknown' => 'Unknown MIME type',
-  'cant_create_write' => 'Cannot create write file.',
-  'not_writable' => 'Cannot write to write file.',
-  'cant_read_URI' => 'Cannot read URI/URL',
-  'cant_open_write_file' => 'Cannot open URI write file.',
-  'cant_write_write_file' => 'Cannot write to URI write file.',
-  'cant_unzip' => 'Cannot unzip.',
-  'unknown' => 'Unknown error',
-  'succ' => 'Successful Uploads',
-  'success' => '%s uploads were successful.',
-  'add' => 'Please click \'Continue\' to add the files to albums.',
-  'failure' => 'Upload Failure',
-  'f_info' => 'File Information',
-  'no_place' => 'The previous file could not be placed.',
-  'yes_place' => 'The previous file was placed successfully.',
-  'max_fsize' => 'Maximum allowed file size is %s KB',
-  'album' => 'Album',
-  'picture' => 'File',
-  'pic_title' => 'File title',
-  'description' => 'File description',
-  'keywords' => 'Keywords (separate with spaces)<br /><a href="#" onClick="return MM_openBrWindow(\'keyword_select.php\',\'selectKey\',\'width=250, height=400, scrollbars=yes,toolbar=no,status=yes,resizable=yes\')">Insert from list</a>', //cpg1.4
-  'keywords_sel' =>'Select a Keyword', //cpg1.4
-  'err_no_alb_uploadables' => 'Sorry there is no album where you are allowed to upload files',
-  'place_instr_1' => 'Please place the files in albums at this time.  You may also enter relevant information about each file now.',
-  'place_instr_2' => 'More files need placement. Please click \'Continue\'.',
-  'process_complete' => 'You have successfully placed all the files.',
-   'albums_no_category' => 'Albums with no category', //cpg1.4. //album pulldown mod, added by frogfoot
-  'personal_albums' => '* Personal albums', //cpg1.4 //album pulldown mod, added by frogfoot
-  'select_album' => 'Select album', //cpg1.4 //album pulldown mod, added by frogfoot
-  'close' => 'Close', //cpg1.4
-  'no_keywords' => 'Sorry, no keywords available!', //cpg1.4
-  'regenerate_dictionary' => 'Regenerate Dictionary', //cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File usermgr.php
-// ------------------------------------------------------------------------- //
-
-if (defined('USERMGR_PHP')) $lang_usermgr_php = array(
-  'memberlist' => 'Memberlist', //cpg1.4
-  'user_manager' => 'User manager', //cpg1.4
-  'title' => 'Manage users',
-  'name_a' => 'Name ascending',
-  'name_d' => 'Name descending',
-  'group_a' => 'Group ascending',
-  'group_d' => 'Group descending',
-  'reg_a' => 'Reg date ascending',
-  'reg_d' => 'Reg date descending',
-  'pic_a' => 'File count ascending',
-  'pic_d' => 'File count descending',
-  'disku_a' => 'Disk usage ascending',
-  'disku_d' => 'Disk usage descending',
-  'lv_a' => 'Last visit ascending',
-  'lv_d' => 'Last visit descending',
-  'sort_by' => 'Sort users by',
-  'err_no_users' => 'User table is empty !',
-  'err_edit_self' => 'You can\'t edit your own profile, use the \'My profile\' link for that',
-  'edit' => 'Edit', //cpg1.4
-  'with_selected' => 'With selected:', //cpg1.4
-  'delete' => 'Delete', //cpg1.4
-  'delete_files_no' => 'keep public files (but anonymize)', //cpg1.4
-  'delete_files_yes' => 'delete public files as well', //cpg1.4
-  'delete_comments_no' => 'keep comments (but anonymize)', //cpg1.4
-  'delete_comments_yes' => 'delete comments as well', //cpg1.4
-  'activate' => 'Activate', //cpg1.4
-  'deactivate' => 'Deactivate', //cpg1.4
-  'reset_password' => 'Reset Password', //cpg1.4
-  'change_primary_membergroup' => 'Change primary membergroup', //cpg1.4
-  'add_secondary_membergroup' => 'Add secondary membergroup', //cpg1.4
-  'name' => 'User name',
-  'group' => 'Group',
-  'inactive' => 'Inactive',
-  'operations' => 'Operations',
-  'pictures' => 'Files',
-  'disk_space_used' => 'Space used', //cpg1.4
-  'disk_space_quota' => 'Space Quota', //cpg1.4
-  'registered_on' => 'Registration', //cpg1.4
-  'last_visit' => 'Last Visit',
-  'u_user_on_p_pages' => '%d users on %d page(s)',
-  'confirm_del' => 'Are you sure you want to DELETE this user ? \\nAll his files and albums will also be deleted.', //js-alert
-  'mail' => 'MAIL',
-  'err_unknown_user' => 'Selected user does not exist !',
-  'modify_user' => 'Modify user',
-  'notes' => 'Notes',
-  'note_list' => '<li>If you don\'t want to change the current password, leave the "password" field blank',
-  'password' => 'Password',
-  'user_active' => 'User is active',
-  'user_group' => 'User group',
-  'user_email' => 'User email',
-  'user_web_site' => 'User web site',
-  'create_new_user' => 'Create new user',
-  'user_location' => 'User location',
-  'user_interests' => 'User interests',
-  'user_occupation' => 'User occupation',
-  'user_profile1' => '$user_profile1', //cpg1.4
-  'user_profile2' => '$user_profile2', //cpg1.4
-  'user_profile3' => '$user_profile3', //cpg1.4
-  'user_profile4' => '$user_profile4', //cpg1.4
-  'user_profile5' => '$user_profile5', //cpg1.4
-  'user_profile6' => '$user_profile6', //cpg1.4
-  'latest_upload' => 'Recent uploads',
-  'never' => 'never',
-  'search' => 'User search', //cpg1.4
-  'submit' => 'Submit', //cpg1.4
-  'search_submit' => 'Go!', //cpg1.4
-  'search_result' => 'Search results for: ', //cpg1.4
-  'alert_no_selection' => 'You have to select at least one user first!', //cpg1.4 //js-alert
-  'password' => 'password', //cpg1.4
-  'select_group' => 'Select group', //cpg1.4
-  'groups_alb_access' => 'Album permissions by group', //cpg1.4
-  'album' => 'Album', //cpg1.4
-  'category' => 'Category', //cpg1.4
-  'modify' => 'Modify?', //cpg1.4
-  'group_no_access' => 'This group has no special access', //cpg1.4
-  'notice' => 'Notice', //cpg1.4
-  'group_can_access' => 'Album(s) that only "%s" can access', //cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File util.php
-// ------------------------------------------------------------------------- //
-
-if (defined('UTIL_PHP')) {
-$lang_util_desc_php = array(
-'Updates titles from filename', //cpg1.4
-'Deletes titles', //cpg1.4
-'Rebuilds thumbnails and resized photos', //cpg1.4
-'Deletes original sized photos replacing them with the resized version', //cpg1.4
-'Deletes original or intermediate size photos to free webspace', //cpg1.4
-'Deletes orphaned comments', //cpg1.4
-'Re-reads file sizes and dimensions (if you manually edited pics)', //cpg1.4
-'Resets views counter', //cpg1.4
-'Displays phpinfo', //cpg1.4
-'Updates the database', //cpg1.4
-'Displays log files', //cpg1.4
-);
-$lang_util_php = array(
-  'title' => 'Admin utilities (Resize pictures)',
-  'what_it_does' => 'What it does',
-  'file' => 'File',
-  'problem' => 'Problem', //cpg1.4
-  'status' => 'Status', //cpg1.4
-  'title_set_to' => 'title set to',
-  'submit_form' => 'submit',
-  'updated_succesfully' => 'updated succesfully',
-  'error_create' => 'ERROR creating',
-  'continue' => 'Process more images',
-  'main_success' => 'The file %s was successfully used as main file',
-  'error_rename' => 'Error renaming %s to %s',
-  'error_not_found' => 'The file %s was not found',
-  'back' => 'back to main',
-  'thumbs_wait' => 'Updating thumbnails and/or resized images, please wait...',
-  'thumbs_continue_wait' => 'Continuing to update thumbnails and/or resized images...',
-  'titles_wait' => 'Updating titles, please wait...',
-  'delete_wait' => 'Deleting titles, please wait...',
-  'replace_wait' => 'Deleting originals and replacing them with resized images, please wait..',
-  'instruction' => 'Quick instructions',
-  'instruction_action' => 'Select action',
-  'instruction_parameter' => 'Set parameters',
-  'instruction_album' => 'Select album',
-  'instruction_press' => 'Press %s',
-  'update' => 'Update thumbs and/or resized photos',
-  'update_what' => 'What should be updated',
-  'update_thumb' => 'Only thumbnails',
-  'update_pic' => 'Only resized pictures',
-  'update_both' => 'Both thumbnails and resized pictures',
-  'update_number' => 'Number of processed images per click',
-  'update_option' => '(Try setting this option lower if you experience timeout problems)',
-  'filename_title' => 'Filename &rArr; File title',
-  'filename_how' => 'How should the filename be modified',
-  'filename_remove' => 'Remove the .jpg ending and replace _ (underscore) with spaces',
-  'filename_euro' => 'Change 2003_11_23_13_20_20.jpg to 23/11/2003 13:20',
-  'filename_us' => 'Change 2003_11_23_13_20_20.jpg to 11/23/2003 13:20',
-  'filename_time' => 'Change 2003_11_23_13_20_20.jpg to 13:20',
-  'delete' => 'Delete file titles or original size photos',
-  'delete_title' => 'Delete file titles',
-  'delete_title_explanation' => 'This will remove all titles on files in the album you specify.', //cpg1.4
-  'delete_original' => 'Delete original size photos',
-  'delete_original_explanation' => 'This will remove the full sized pictures.', //cpg1.4
-  'delete_intermediate' => 'Delete intermediate pictures', //cpg1.4
-  'delete_intermediate_explanation' => 'This will delete intermediate (normal) pictures.<br />Use this to free up disk space if you have disabled \'Create intermediate pictures\' in config after adding pictures.', //cpg1.4
-  'delete_replace' => 'Deletes the original images replacing them with the sized versions',
-  'titles_deleted' => 'All titles in specified album removed', //cpg1.4
-  'deleting_intermediates' => 'Deleting intermediate images, please wait...', //cpg1.4
-  'searching_orphans' => 'Searching for orphans, please wait...', //cpg1.4
-  'select_album' => 'Select album',
-  'delete_orphans' => 'Delete comments on missing files', //cpg1.4
-  'delete_orphans_explanation' => 'This will identify and allow you to delete any comments associated with files no longer in the gallery.<br />Checks all albums.', //cpg1.4
-  'refresh_db' => 'Reload file dimensions and size information', //cpg1.4
-  'refresh_db_explanation' => 'This will re-read file sizes and dimensions. Use this if quota\'s are incorrect or you have changed the files manually.', //cpg1.4
-  'reset_views' => 'Reset view counters', //cpg1.4
-  'reset_views_explanation' => 'Sets all file view counts to zero in the album specified.', //cpg1.4
-  'orphan_comment' => 'orphan comments found',
-  'delete' => 'Delete',
-  'delete_all' => 'Delete all',
-  'delete_all_orphans' => 'Delete all orphans?', //cpg1.4
-  'comment' => 'Comment: ',
-  'nonexist' => 'attached to non existant file # ',
-  'phpinfo' => 'Display phpinfo',
-  'phpinfo_explanation' => 'Contains technical information about your server.<br /> - You may be asked to provide information from this when requesting support.', //cpg1.4
-  'update_db' => 'Update database',
-  'update_db_explanation' => 'If you have replaced coppermine files, added a modification or upgraded from a previous version of coppermine, make sure to run the database update once. This will create the necessary tables and/or config values in your coppermine database.',
-  'view_log' => 'View log files', //cpg1.4
-  'view_log_explanation' => 'Coppermine can keep track of various actions users perform. You can browse those logs if you have enabled logging in <a href="admin.php">coppermine config</a>.', //cpg1.4
-  'versioncheck' => 'Check versions', //cpg1.4
-  'versioncheck_explanation' => 'Check your file versions to find out if you have replaced all files after an upgrade, or if coppermine source files have been updated after the release of a package.', //cpg1.4
-  'bridgemanager' => 'Bridge Manager', //cpg1.4
-  'bridgemanager_explanation' => 'Enable/disable integration (bridging) of Coppermine with another application (e.g. your BBS).', //cpg1.4
-);
-}
-
-// ------------------------------------------------------------------------- //
-// File versioncheck.php                                                     // cpg 1.4.0
-// ------------------------------------------------------------------------- //
-
-if (defined('VERSIONCHECK_PHP')) $lang_versioncheck_php = array(
-  'title' => 'Versioncheck',
-  'what_it_does' => 'This page is meant for users who have updated their coppermine install. This script goes through the files on your webserver and tries to determine if your local file versions on the webserver are the same as the ones from the repository at http://coppermine.sourceforge.net, this way displaying the files you were meant to update as well.<br />It will show everything in red that needs to be fixed. Entries in yellow need looking into. Entries in green (or your default font colour) are OK.<br />Click on the help icons to find out more.',
-  'online_repository_unable' => 'Unable to connect to online repository', //cpg1.4
-  'online_repository_noconnect' => 'Coppermine was unable to connect to the online repository. This can have two reasons:', //cpg1.4
-  'online_repository_reason1' => 'the coppermine online repository is currently down - check if you can browse this page: %s - if you can\'t access this page, try again later.', //cpg1.4
-  'online_repository_reason2' => 'PHP on your webserver is configured with %s turned off (by default, it\'s turned on). If the server is yours to administer, turn this option on in <i>php.ini</i> (at least allow it to be overridden with %s). If you\'re webhosted, you will probably have to live with the fact that you can\'t compare your files to the online repository. This page will then only display the file versions that came with your distribution - updates will not be displayed.', //cpg1.4
-  'online_repository_skipped' => 'Connection to online repository skipped', //cpg1.4
-  'online_repository_to_local' => 'The script is defaulting to the local copy of the version-files now. The data may be inacurate if you have upgraded Coppermine and you haven\'t uploaded all files. Changes to the files after the release won\'t be taken into account as well.', //cpg1.4
-  'local_repository_unable' => 'Unable to connect to the repository on your server', //cpg1.4
-  'local_repository_explanation' => 'Coppermine was unable to connect to the repository file %s on your webserver. This probably means that you haven\'t uploaded the repository file to your webserver. Do so now and then try to run this page once more (hit refresh).<br />If the script still fails, your webhost might have disabled parts of <a href="http://www.php.net/manual/en/ref.filesystem.php">PHP\'s filesystem functions</a> completely. In this case, you simply won\'t be able to use this tool at all, sorry.', //cpg1.4
-  'coppermine_version_header' => 'Installed Coppermine version', //cpg1.4
-  'coppermine_version_info' => 'You have currently installed: %s', //cpg1.4
-  'coppermine_version_explanation' => 'If you think this is entirely wrong and you\'re supposed to be running a higher version of Coppermine, you probably haven\'t uploaded the most recent version of the file <i>include/init.inc.php</i>', //cpg1.4
-  'version_comparison' => 'Version comparison', //cpg1.4
-  'folder_file' => 'folder/file', //cpg1.4
-  'coppermine_version' => 'cpg version', //cpg1.4
-  'file_version' => 'file version', //cpg1.4
-  'webcvs' => 'web svn', //cpg1.4
-  'writable' => 'writable', //cpg1.4
-  'not_writable' => 'not writable', //cpg1.4
-  'help' => 'Help', //cpg1.4
-  'help_file_not_exist_optional1' => 'file/folder does not exist', //cpg1.4
-  'help_file_not_exist_optional2' => 'The file/folder %s has not been found on your server. Although it is optional you should upload it (using your FTP client) to your webserver if you are experiencing problems.', //cpg1.4
-  'help_file_not_exist_mandatory1' => 'file/folder does not exist', //cpg1.4
-  'help_file_not_exist_mandatory2' => 'The file/folder %s has not been found on your server, although it is mandatory. Upload the file to your webserver (using your FTP client).', //cpg1.4
-  'help_no_local_version1' => 'No local file version', //cpg1.4
-  'help_no_local_version2' => 'The script was unable to extract a local file version - your file is either outdated or you have modified it, removing the header information on the way. Updating the file is recommended.', //cpg1.4
-  'help_local_version_outdated1' => 'Local version outdated', //cpg1.4
-  'help_local_version_outdated2' => 'Your version of this file seems to be from an older version of Coppermine (you probably upgraded). Make sure to update this file as well.', //cpg1.4
-  'help_local_version_na1' => 'Unable to extract subversion version info', //cpg1.4
-  'help_local_version_na2' => 'The script could not determine what subversion (SVN) version the file on your webserver is. You should upload the file from your package.', //cpg1.4
-  'help_local_version_dev1' => 'Development version', //cpg1.4
-  'help_local_version_dev2' => 'The file on your webserver seems to be newer than your Coppermine version. You are either using a development file (you should only do so if you know what you are doing), or you have upgraded your Coppermine install and not uploaded include/init.inc.php', //cpg1.4
-  'help_not_writable1' => 'Folder not writable', //cpg1.4
-  'help_not_writable2' => 'Change file permissions (CHMOD) to grant the script write access to the folder %s and everything within it.', //cpg1.4
-  'help_writable1' => 'Folder writable', //cpg1.4
-  'help_writable2' => 'The folder %s is writable. This is an unnecessary risk, coppermine only needs read/execute access.', //cpg1.4
-  'help_writable_undetermined' => 'Coppermine was not able to determine wether the folder is writable.', //cpg1.4
-  'your_file' => 'your file', //cpg1.4
-  'reference_file' => 'reference file', //cpg1.4
-  'summary' => 'Summary', //cpg1.4
-  'total' => 'Total files/folders checked', //cpg1.4
-  'mandatory_files_missing' => 'Mandatory files missing', //cpg1.4
-  'optional_files_missing' => 'Optional files missing', //cpg1.4
-  'files_from_older_version' => 'Files left over from outdated Coppermine version', //cpg1.4
-  'file_version_outdated' => 'Outdated file versions', //cpg1.4
-  'error_no_data' => 'The script made a boo, it was not able to retrieve any information. Sorry for the inconvenience.', //cpg1.4
-  'go_to_webcvs' => 'go to %s', //cpg1.4
-  'options' => 'Options', //cpg1.4
-  'show_optional_files' => 'show optional folders/files', //cpg1.4
-  'show_mandatory_files' => 'show mandatory files', //cpg1.4
-  'show_file_versions' => 'show file versions', //cpg1.4
-  'show_errors_only' => 'show folders/files with errors only', //cpg1.4
-  'show_permissions' => 'show folder permissions', //cpg1.4
-  'show_condensed_output' => 'show condensed ouput (for easier screenshots)', //cpg1.4
-  'coppermine_in_webroot' => 'coppermine is installed in the webroot', //cpg1.4
-  'connect_online_repository' => 'try connecting to the online repository', //cpg1.4
-  'show_additional_information' => 'show additional information', //cpg1.4
-  'no_webcvs_link' => 'don\'t display web svn link', //cpg1.4
-  'stable_webcvs_link' => 'display web svn link to stable branch', //cpg1.4
-  'devel_webcvs_link' => 'display web svn link to devel branch', //cpg1.4
-  'submit' => 'apply changes / refresh', //cpg1.4
-  'reset_to_defaults' => 'reset to default values', //cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File view_log.php  //cpg1.4
-// ------------------------------------------------------------------------- //
-
-if (defined('VIEWLOG_PHP')) $lang_viewlog_php = array(
-  'delete_all' => 'Delete All Logs', //cpg1.4
-  'delete_this' => 'Delete This Log', //cpg1.4
-  'view_logs' => 'View Logs', //cpg1.4
-  'no_logs' => 'No logs created.', //cpg1.4
-);
-
-
-// ------------------------------------------------------------------------- //
-// File xp_publish.php //cpg1.4
-// ------------------------------------------------------------------------- //
-
-if (defined('XP_PUBLISH_PHP')) {
-
-$lang_xp_publish_client = <<<EOT
-<h1>XP Web Publishing Wizard Client</h1><p>This module allows to use <b>Windows XP</b> web publishing wizard with Coppermine.</p><p>Code is based on article posted by
-EOT;
-
-$lang_xp_publish_required = <<<EOT
-<h2>What is required</h2><ul><li>Windows XP in order to have the wizard.</li><li>A working installation of Coppermine on which <b>the web upload function works properly.</b></li></ul><h2>How to install on client side</h2><ul><li>Right click on
-EOT;
-
-$lang_xp_publish_select = <<<EOT
-Select &quot;save target as..&quot;. Save the file on your hard drive. When saving the file, check that the proposed file name is <b>cpg_###.reg</b> (the ### represents a numerical timestamp). Change it to that name if necessary (leave the numbers). When downloaded, double click on the file in order to register your server with the web publishing wizard.</li></ul>
-EOT;
-
-$lang_xp_publish_testing = <<<EOT
-<h2>Testing</h2><ul><li>In Windows Explorer, select some files and click on <b>Publish xxx on the web</b> in the left pane.</li><li>Confirm your file selection. Click on <b>Next</b>.</li><li>In the list of services that appear, select the one for your photo gallery (it has the name of your gallery). If the service does not appear, check that you have installed <b>cpg_pub_wizard.reg</b> as described above.</li><li>Input your login information if required.</li><li>Select the target album for your pictures or create a new one.</li><li>Click on <b>next</b>. The upload of your pictures starts.</li><li>When it is completed, check your gallery to see if pictures have been properly added.</li></ul>
-EOT;
-
-$lang_xp_publish_notes = <<<EOT
-<h2>Notes :</h2><ul><li>Once the upload has started, the wizard can't display any error message returned by the script so you can't know if the upload failed or succeeded until you check your gallery.</li><li>If the upload fails, enable &quot;Debug mode&quot; on the Coppermine admin page, try with one single picture and check error messages in the
-EOT;
-
-$lang_xp_publish_flood = <<<EOT
-file that is located in Coppermine directory on your server.</li><li>In order to avoid that the gallery be <i>flooded</i> by pictures uploaded through the wizard, only the <b>gallery admins</b> and <b>users that can have their own albums</b> can use this feature.</li>
-EOT;
-
-
-
-$lang_xp_publish_php = array(
-  'title' => 'Coppermine - XP Web Publishing Wizard', //cpg1.4
-  'welcome' => 'Welcome <b>%s</b>,', //cpg1.4
-  'need_login' => 'You need to login to the gallery using your web browser before you can use this wizard.<p/><p>When you login don\'t forget to select the <b>remember me</b> option if it is present.', //cpg1.4
-  'no_alb' => 'Sorry but there is no album where you are allowed to upload pictures with this wizard.', //cpg1.4
-  'upload' => 'Upload your pictures into an existing album', //cpg1.4
-  'create_new' => 'Create a new album for your pictures', //cpg1.4
-  'album' => 'Album', //cpg1.4
-  'category' => 'Category', //cpg1.4
-  'new_alb_created' => 'Your new album &quot;<b>%s</b>&quot; was created.', //cpg1.4
-  'continue' => 'Press &quot;Next&quot; to start to upload your pictures', //cpg1.4
-  'link' => 'this link', //cpg1.4
-);
-}
+<?php
+/*************************
+  Coppermine Photo Gallery
+  ************************
+  Copyright (c) 2003-2009 Coppermine Dev Team
+  v1.1 originally written by Gregory DEMAR
+
+  This program is free software; you can redistribute it and/or modify
+  it under the terms of the GNU General Public License version 3
+  as published by the Free Software Foundation.
+  
+  ********************************************
+  Coppermine version: 1.4.25
+  $HeadURL: https://coppermine.svn.sourceforge.net/svnroot/coppermine/trunk/cpg1.4.x/lang/english_gb.php $
+  $Revision: 5997 $
+  $Author: gaugau $
+  $Date: 2009-05-26 08:43:24 +0200 (Di, 26 Mai 2009) $
+**********************************************/
+
+if (!defined('IN_COPPERMINE')) { die('Not in Coppermine...');}
+
+// info about translators and translated language
+$lang_translation_info = array(
+  'lang_name_english' => 'English (GB)',
+  'lang_name_native' => 'English (GB)',
+  'lang_country_code' => 'gb',
+  'trans_name'=> 'Coppermine dev team',
+  'trans_email' => '',
+  'trans_website' => 'http://coppermine-gallery.net/',
+  'trans_date' => '31-08-2005',
+);
+
+$lang_charset = 'iso-8859-1';
+$lang_text_dir = 'ltr'; // ('ltr' for left to right, 'rtl' for right to left)
+
+// shortcuts for Byte, Kilo, Mega
+$lang_byte_units = array('Bytes', 'KB', 'MB');
+
+// Day of weeks and months
+$lang_day_of_week = array('Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat');
+$lang_month = array('Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec');
+
+// Some common strings
+$lang_yes = 'Yes';
+$lang_no  = 'No';
+$lang_back = 'BACK';
+$lang_continue = 'CONTINUE';
+$lang_info = 'Information';
+$lang_error = 'Error';
+$lang_check_uncheck_all = 'check/uncheck all'; //cpg1.4
+
+// The various date formats
+// See http://www.php.net/manual/en/function.strftime.php to define the variable below
+$album_date_fmt =    '%d.%B %Y';
+$lastcom_date_fmt =  '%d.%m.%y at %H:%M';
+$lastup_date_fmt = '%d %B %Y';
+$register_date_fmt = '%d %B %Y';
+$lasthit_date_fmt = '%d %B %Y at %H:%M';
+$comment_date_fmt =  '%d %B %Y at %H:%M';
+$log_date_fmt = '%d %B, %Y at %I:%M %p'; //cpg1.4
+
+// For the word censor
+$lang_bad_words = array('*fuck*', 'asshole', 'assramer', 'bitch*', 'c0ck', 'clits', 'Cock', 'cum', 'cunt*', 'dago', 'daygo', 'dego', 'dick*', 'dildo', 'fanculo', 'feces', 'foreskin', 'Fu\(*', 'fuk*', 'honkey', 'hore', 'injun', 'kike', 'lesbo', 'masturbat*', 'motherfucker', 'nazis', 'nigger*', 'nutsack', 'penis', 'phuck', 'poop', 'pussy', 'scrotum', 'shit', 'slut', 'titties', 'titty', 'twaty', 'wank*', 'whore', 'wop*');
+
+$lang_meta_album_names = array(
+  'random' => 'Random files',
+  'lastup' => 'Last additions',
+  'lastalb'=> 'Last updated albums',
+  'lastcom' => 'Last comments',
+  'topn' => 'Most viewed',
+  'toprated' => 'Top rated',
+  'lasthits' => 'Last viewed',
+  'search' => 'Search results',
+  'favpics'=> 'Favourite Files',
+);
+
+$lang_errors = array(
+  'access_denied' => 'You don\'t have permission to access this page.',
+  'perm_denied' => 'You don\'t have permission to perform this operation.',
+  'param_missing' => 'Script called without the required parameter(s).',
+  'non_exist_ap' => 'The selected album/file does not exist !',
+  'quota_exceeded' => 'Disk quota exceeded<br /><br />You have a space quota of [quota]K, your files currently use [space]K, adding this file would make you exceed your quota.',
+  'gd_file_type_err' => 'When using the GD image library allowed image types are only JPEG and PNG.',
+  'invalid_image' => 'The image you have uploaded is corrupted or can\'t be handled by the GD library',
+  'resize_failed' => 'Unable to create thumbnail or reduced size image.',
+  'no_img_to_display' => 'No image to display',
+  'non_exist_cat' => 'The selected category does not exist',
+  'orphan_cat' => 'A category has a non-existing parent, run the category manager to correct the problem!',
+  'directory_ro' => 'Directory \'%s\' is not writable, files can\'t be deleted',
+  'non_exist_comment' => 'The selected comment does not exist.',
+  'pic_in_invalid_album' => 'File is in a non existant album (%s)!?',
+  'banned' => 'You are currently banned from using this site.',
+  'not_with_udb' => 'This function is disabled in Coppermine because it is integrated with forum software. Either what you are trying to do is not supported in this configuration, or the function should be handled by the forum software.',
+  'offline_title' => 'Offline',
+  'offline_text' => 'Gallery is currently offline - check back soon',
+  'ecards_empty' => 'There are currently no ecard records to display.',
+  'action_failed' => 'Action failed.  Coppermine is unable to process your request.',
+  'no_zip' => 'The necessary libraries to process ZIP files are not available.  Please contact your Coppermine administrator.',
+  'zip_type' => 'You do not have permission to upload ZIP files.',
+  'database_query' => 'There was an error while processing a database query', //cpg1.4
+  'register_globals_on' => 'The PHP setting register_globals is enabled on your server, which is a bad idea in terms of security. It\'s strongly recommended to turn it off. [<a href="http://forum.coppermine-gallery.net/index.php/topic,59569.0.html" rel="external" class="external">more</a>]',
+);
+
+$lang_bbcode_help_title = 'bbcode help'; //cpg1.4
+$lang_bbcode_help = 'You can add clickable links and some formating to this field by using bbcode tags: <li>[b]Bold[/b] =&gt; <b>Bold</b></li><li>[i]Italic[/i] =&gt; <i>Italic</i></li><li>[url=http://yoursite.com/]Url Text[/url] =&gt; <a href="http://yoursite.com">Url Text</a></li><li>[email]user@domain.com[/email] =&gt; <a href="mailto:user@domain.com">user@domain.com</a></li><li>[color=red]some text[/color] =&gt; <span style="color:red">some text</span></li><li>[img]http://coppermine-gallery.net/demo/cpg14x/images/red.gif[/img] => <img src="../images/red.gif" border="0" alt="" /></li>'; //cpg1.4
+
+// ------------------------------------------------------------------------- //
+// File theme.php
+// ------------------------------------------------------------------------- //
+
+$lang_main_menu = array(
+  'home_title' => 'Go to the home page',
+  'home_lnk' => 'Home',
+  'alb_list_title' => 'Go to the album list',
+  'alb_list_lnk' => 'Album list',
+  'my_gal_title' => 'Go to my personal gallery',
+  'my_gal_lnk' => 'My gallery',
+  'my_prof_title' => 'Go to my personal profile', //cpg1.4
+  'my_prof_lnk' => 'My profile',
+  'adm_mode_title' => 'Switch to admin mode',
+  'adm_mode_lnk' => 'Admin mode',
+  'usr_mode_title' => 'Switch to user mode',
+  'usr_mode_lnk' => 'User mode',
+  'upload_pic_title' => 'Upload a file into an album',
+  'upload_pic_lnk' => 'Upload file',
+  'register_title' => 'Create an account',
+  'register_lnk' => 'Register',
+  'login_title' => 'Log me in', //cpg1.4
+  'login_lnk' => 'Login',
+  'logout_title' => 'Log me out', //cpg1.4
+  'logout_lnk' => 'Logout',
+  'lastup_title' => 'Show most recent uploads', //cpg1.4
+  'lastup_lnk' => 'Last uploads',
+  'lastcom_title' => 'Show most recent comments', //cpg1.4
+  'lastcom_lnk' => 'Last comments',
+  'topn_title' => 'Show most viewed items', //cpg1.4
+  'topn_lnk' => 'Most viewed',
+  'toprated_title' => 'Show top rated items', //cpg1.4
+  'toprated_lnk' => 'Top rated',
+  'search_title' => 'Search the gallery', //cpg1.4
+  'search_lnk' => 'Search',
+  'fav_title' => 'Go to my favourites', //cpg1.4.0
+  'fav_lnk' => 'My Favourites',
+  'memberlist_title' => 'Show Memberlist',
+  'memberlist_lnk' => 'Memberlist',
+  'faq_title' => 'Frequently Asked Questions on the picture gallery &quot;Coppermine&quot;',
+  'faq_lnk' => 'FAQ',
+);
+
+$lang_gallery_admin_menu = array(
+  'upl_app_title' => 'Approve new uploads', //cpg1.4
+  'upl_app_lnk' => 'Upload approval',
+  'admin_title' => 'Go to config', //cpg1.4
+  'admin_lnk' => 'Config', //cpg1.4
+  'albums_title' => 'Go to album configuration', //cpg1.4
+  'albums_lnk' => 'Albums',
+  'categories_title' => 'Go to category configuration', //cpg1.4
+  'categories_lnk' => 'Categories',
+  'users_title' => 'Go to user configuration', //cpg1.4
+  'users_lnk' => 'Users',
+  'groups_title' => 'Go to group configuration', //cpg1.4
+  'groups_lnk' => 'Groups',
+  'comments_title' => 'Review all comments', //cpg1.4
+  'comments_lnk' => 'Review Comments',
+  'searchnew_title' => 'Go to the batch add process', //cpg1.4
+  'searchnew_lnk' => 'Batch add files',
+  'util_title' => 'Go to the admin tools', //cpg1.4
+  'util_lnk' => 'Admin Tools',
+  'key_title' => 'Go to the keyword dictionary', //cpg1.4
+  'key_lnk' => 'Keyword Dictionary', //cpg1.4
+  'ban_title' => 'Go to the banned users', //cpg1.4
+  'ban_lnk' => 'Ban Users',
+  'db_ecard_title' => 'Review Ecards', //cpg1.4
+  'db_ecard_lnk' => 'Display Ecards',
+  'pictures_title' => 'Sort my pictures', //cpg1.4
+  'pictures_lnk' => 'Sort my pictures', //cpg1.4
+  'documentation_lnk' => 'Documentation', //cpg1.4
+  'documentation_title' => 'Coppermine manual', //cpg1.4
+);
+
+$lang_user_admin_menu = array(
+  'albmgr_title' => 'Create and order my albums', //cpg1.4
+  'albmgr_lnk' => 'Create / order my albums',
+  'modifyalb_title' => 'Go to modify my albums',  //cpg1.4
+  'modifyalb_lnk' => 'Modify my albums',
+  'my_prof_title' => 'Go to my personal profile', //cpg1.4
+  'my_prof_lnk' => 'My profile',
+);
+
+$lang_cat_list = array(
+  'category' => 'Category',
+  'albums' => 'Albums',
+  'pictures' => 'Files',
+);
+
+$lang_album_list = array(
+  'album_on_page' => '%d albums on %d page(s)',
+);
+
+$lang_thumb_view = array(
+  'date' => 'DATE',
+  //Sort by filename and title
+  'name' => 'FILE NAME',
+  'title' => 'TITLE',
+  'sort_da' => 'Sort by date ascending',
+  'sort_dd' => 'Sort by date descending',
+  'sort_na' => 'Sort by name ascending',
+  'sort_nd' => 'Sort by name descending',
+  'sort_ta' => 'Sort by title ascending',
+  'sort_td' => 'Sort by title descending',
+  'position' => 'POSITION', //cpg1.4
+  'sort_pa' => 'Sort by position ascending', //cpg1.4
+  'sort_pd' => 'Sort by position descending', //cpg1.4
+  'download_zip' => 'Download as Zip file',
+  'pic_on_page' => '%d files on %d page(s)',
+  'user_on_page' => '%d users on %d page(s)',
+  'enter_alb_pass' => 'Enter Album Password', //cpg1.4
+  'invalid_pass' => 'Invalid Password', //cpg1.4
+  'pass' => 'Password', //cpg1.4
+  'submit' => 'Submit', //cpg1.4
+);
+
+$lang_img_nav_bar = array(
+  'thumb_title' => 'Return to the thumbnail page',
+  'pic_info_title' => 'Display/hide file information',
+  'slideshow_title' => 'Slideshow',
+  'ecard_title' => 'Send this file as an e-card',
+  'ecard_disabled' => 'e-cards are disabled',
+  'ecard_disabled_msg' => 'You don\'t have permission to send ecards', //js-alert
+  'prev_title' => 'See previous file',
+  'next_title' => 'See next file',
+  'pic_pos' => 'FILE %s/%s',
+  'report_title' => 'Report this file to the administrator', //cpg1.4
+  'go_album_end' => 'Skip to end', //cpg1.4
+  'go_album_start' => 'Return to start', //cpg1.4
+  'go_back_x_items' => 'go back %s items', //cpg1.4
+  'go_forward_x_items' => 'go forward %s items', //cpg1.4
+);
+
+$lang_rate_pic = array(
+  'rate_this_pic' => 'Rate this file ',
+  'no_votes' => '(No vote yet)',
+  'rating' => '(current rating : %s / 5 with %s votes)',
+  'rubbish' => 'Rubbish',
+  'poor' => 'Poor',
+  'fair' => 'Fair',
+  'good' => 'Good',
+  'excellent' => 'Excellent',
+  'great' => 'Great',
+);
+
+// ------------------------------------------------------------------------- //
+// File include/exif.inc.php
+// ------------------------------------------------------------------------- //
+
+// void
+
+// ------------------------------------------------------------------------- //
+// File include/functions.inc.php
+// ------------------------------------------------------------------------- //
+
+$lang_cpg_die = array(
+  INFORMATION => $lang_info,
+  ERROR => $lang_error,
+  CRITICAL_ERROR => 'Critical error',
+  'file' => 'File: ',
+  'line' => 'Line: ',
+);
+
+$lang_display_thumbnails = array(
+  'filename' => 'Filename=', //cpg1.4
+  'filesize' => 'Filesize=', //cpg1.4
+  'dimensions' => 'Dimensions=', //cpg1.4
+  'date_added' => 'Date added=', //cpg1.4
+);
+
+$lang_get_pic_data = array(
+  'n_comments' => '%s comments',
+  'n_views' => '%s views',
+  'n_votes' => '(%s votes)',
+);
+
+$lang_cpg_debug_output = array(
+  'debug_info' => 'Debug Info',
+  'select_all' => 'Select All',
+  'copy_and_paste_instructions' => 'If you\'re going to request help on the coppermine support board, copy-and-paste this debug output into your posting when requested, along with the error message you get (if any). Make sure to replace any passwords from the query with *** before posting. <br />Note: This is for information only and does not mean there is an error with your gallery.', //cpg1.4
+  'phpinfo' => 'display phpinfo',
+  'notices' => 'Notices', //cpg1.4
+);
+
+$lang_language_selection = array(
+  'reset_language' => 'Default language',
+  'choose_language' => 'Choose your language',
+);
+
+$lang_theme_selection = array(
+  'reset_theme' => 'Default theme',
+  'choose_theme' => 'Choose a theme',
+);
+
+$lang_version_alert = array(
+  'version_alert' => 'Unsupported version!', //cpg1.4
+  'security_alert' => 'Security Alert!', //cpg1.4.3
+  'relocate_exists' => 'Remove the <a href="http://coppermine-gallery.net/forum/index.php?topic=24217.0">relocate_server.php</a> file from your website!',
+  'no_stable_version' => 'You are running Coppermine %s (%s) which is only meant for very experienced users - this version comes without support nor any warranties. Use it at your own risk or downgrade to the latest stable version if you need support!', //cpg1.4
+  'gallery_offline' => 'The gallery is currently offline and will be only visible for you as admin. Don\'t forget to switch it back online after finishing maintenance.', //cpg1.4
+);
+
+$lang_create_tabs = array(
+  'previous' => 'previous', //cpg1.4
+  'next' => 'next', //cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File include/init.inc.php
+// ------------------------------------------------------------------------- //
+
+// void
+
+// ------------------------------------------------------------------------- //
+// File keyword.inc.php                                                      //
+// ------------------------------------------------------------------------- //
+
+// void
+
+// ------------------------------------------------------------------------- //
+// File include/picmgmt.inc.php
+// ------------------------------------------------------------------------- //
+
+// void
+
+// ------------------------------------------------------------------------- //
+// File include/plugin_api.inc.php
+// ------------------------------------------------------------------------- //
+$lang_plugin_api = array(
+  'error_wakeup' => "Couldn't awaken plugin '%s'", //cpg1.4
+  'error_install' => "Couldn't install plugin '%s'", //cpg1.4
+  'error_uninstall' => "Couldn't uninstall plugin '%s'", //cpg1.4
+  'error_sleep' => "Couldn't uninstall plugin '%s'<br />", //cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File include/smilies.inc.php
+// ------------------------------------------------------------------------- //
+
+if (defined('SMILIES_PHP')) $lang_smilies_inc_php = array(
+  'Exclamation' => 'Exclamation',
+  'Question' => 'Question',
+  'Very Happy' => 'Very Happy',
+  'Smile' => 'Smile',
+  'Sad' => 'Sad',
+  'Surprised' => 'Surprised',
+  'Shocked' => 'Shocked',
+  'Confused' => 'Confused',
+  'Cool' => 'Cool',
+  'Laughing' => 'Laughing',
+  'Mad' => 'Mad',
+  'Razz' => 'Razz',
+  'Embarassed' => 'Embarassed',
+  'Crying or Very sad' => 'Crying or Very sad',
+  'Evil or Very Mad' => 'Evil or Very Mad',
+  'Twisted Evil' => 'Twisted Evil',
+  'Rolling Eyes' => 'Rolling Eyes',
+  'Wink' => 'Wink',
+  'Idea' => 'Idea',
+  'Arrow' => 'Arrow',
+  'Neutral' => 'Neutral',
+  'Mr. Green' => 'Mr. Green',
+);
+
+// ------------------------------------------------------------------------- //
+// File addpic.php
+// ------------------------------------------------------------------------- //
+
+// void
+
+// ------------------------------------------------------------------------- //
+// File mode.php //cpg1.4
+// ------------------------------------------------------------------------- //
+
+if (defined('MODE_PHP')) $lang_mode_php = array(
+  0 => 'Leaving admin mode...',
+  1 => 'Entering admin mode...',
+);
+
+// ------------------------------------------------------------------------- //
+// File albmgr.php
+// ------------------------------------------------------------------------- //
+
+if (defined('ALBMGR_PHP')) $lang_albmgr_php = array(
+  'alb_need_name' => 'Albums need to have a name !', //js-alert
+  'confirm_modifs' => 'Are you sure you want to make these modifications ?', //js-alert
+  'no_change' => 'You did not make any change !', //js-alert
+  'new_album' => 'New album',
+  'confirm_delete1' => 'Are you sure you want to delete this album ?', //js-alert
+  'confirm_delete2' => '\nAll files and comments it contains will be lost !', //js-alert
+  'select_first' => 'Select an album first', //js-alert
+  'alb_mrg' => 'Album Manager',
+  'my_gallery' => '* My gallery *',
+  'no_category' => '* No category *',
+  'delete' => 'Delete',
+  'new' => 'New',
+  'apply_modifs' => 'Apply modifications',
+  'select_category' => 'Select category',
+);
+
+// ------------------------------------------------------------------------- //
+// File banning.php
+// ------------------------------------------------------------------------- //
+
+if (defined('BANNING_PHP')) $lang_banning_php = array(
+  'title' => 'Ban Users', //cpg1.4
+  'user_name' => 'User Name', //cpg1.4
+  'ip_address' => 'IP Address', //cpg1.4
+  'expiry' => 'Expires (blank is permanent)', //cpg1.4
+  'edit_ban' => 'Save Changes', //cpg1.4
+  'delete_ban' => 'Delete', //cpg1.4
+  'add_new' => 'Add New Ban', //cpg1.4
+  'add_ban' => 'Add', //cpg1.4
+  'error_user' => 'Cannot find user', //cpg1.4
+  'error_specify' => 'You need to specifiy either a user name or an IP address', //cpg1.4
+  'error_ban_id' => 'Invalid ban ID!', //cpg1.4
+  'error_admin_ban' => 'You cannnot ban yourself!', //cpg1.4
+  'error_server_ban' => 'You were going to ban your own server? Tsk tsk, cannot do that...', //cpg1.4
+  'error_ip_forbidden' => 'You cannnot ban this IP - it is non-routable (private) anyway!<br />If you want to allow banning for private IPs, change this in your <a href="admin.php">Config</a> (only makes sense when Coppermine runs on a LAN).', //cpg1.4
+  'lookup_ip' => 'Lookup an IP address', //cpg1.4
+  'submit' => 'go!', //cpg1.4
+  'select_date' => 'select date', //cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File bridgemgr.php //cpg1.4
+// ------------------------------------------------------------------------- //
+
+if (defined('BRIDGEMGR_PHP')) $lang_bridgemgr_php = array(
+  'title' => 'Bridge Wizard',
+  'warning' => 'Warning: when using this wizard you have to understand that sensitive data is being sent using html forms. Only run it on your own PC (not on a public client like an internet cafe), and make sure to clear the browser cache and temporary files after you have finished, or others might be able to access your data!',
+  'back' => 'back',
+  'next' => 'next',
+  'start_wizard' => 'Start bridging wizard',
+  'finish' => 'Finish',
+  'hide_unused_fields' => 'hide unused form fields (recommended)',
+  'clear_unused_db_fields' => 'clear invalid database entries (recommended)',
+  'custom_bridge_file' => 'your custom bridge file\'s name (if the bridge file\'s name is <i>myfile.inc.php</i>, enter <i>myfile</i> into this field)',
+  'no_action_needed' => 'No action needed in this step. Just click \'next\' to continue.',
+  'reset_to_default' => 'Reset to default value',
+  'choose_bbs_app' => 'choose application to bridge coppermine with',
+  'support_url' => 'Go here for support on this application',
+  'settings_path' => 'path(s) used by your BBS app',
+  'database_connection' => 'database connection',
+  'database_tables' => 'database tables',
+  'bbs_groups' => 'BBS groups',
+  'license_number' => 'License number',
+  'license_number_explanation' => 'enter your license number (if applicable)',
+  'db_database_name' => 'Database name',
+  'db_database_name_explanation' => 'Enter the name of the database your BBS app uses',
+  'db_hostname' => 'Database host',
+  'db_hostname_explanation' => 'Hostname where your mySQL database resides, usually &quot;localhost&quot;',
+  'db_username' => 'Database user account',
+  'db_username_explanation' => 'mySQL user account to use for connection with BBS',
+  'db_password' => 'Database passsword',
+  'db_password_explanation' => 'Passsword for this mySQL user account',
+  'full_forum_url' => 'Forum URL',
+  'full_forum_url_explanation' => 'Full URL of your BBS app (including the leading http:// bit, e.g. http://www.yourdomain.tld/forum)',
+  'relative_path_of_forum_from_webroot' => 'Relative forum path',
+  'relative_path_of_forum_from_webroot_explanation' => 'Relative path to your BBS app from the webroot (Example: if your BBS is at http://www.yourdomain.tld/forum/, enter &quot;/forum/&quot; into this field)',
+  'relative_path_to_config_file' => 'Relative path to your BBS\'s config file',
+  'relative_path_to_config_file_explanation' => 'Relative path to your BBS, seen from your Coppermine folder (e.g. &quot;../forum/&quot; if your BBS is at http://www.yourdomain.tld/forum/ and Coppermine at http://www.yourdomain.tld/gallery/)',
+  'cookie_prefix' => 'Cookie prefix',
+  'cookie_prefix_explanation' => 'this has to be your BBS\'s cookie name',
+  'table_prefix' => 'Table prefix',
+  'table_prefix_explanation' => 'Must match the prefix you chose for your BBS when setting it up.',
+  'user_table' => 'User table',
+  'user_table_explanation' => '(usually default value should be OK, unless your BBS install isn\'t standard)',
+  'session_table' => 'Session table',
+  'session_table_explanation' => '(usually default value should be OK, unless your BBS install isn\'t standard)',
+  'group_table' => 'Group table',
+  'group_table_explanation' => '(usually default value should be OK, unless your BBS install isn\'t standard)',
+  'group_relation_table' => 'Group relation table',
+  'group_relation_table_explanation' => '(usually default value should be OK, unless your BBS install isn\'t standard)',
+  'group_mapping_table' => 'Group mapping table',
+  'group_mapping_table_explanation' => '(usually default value should be OK, unless your BBS install isn\'t standard)',
+  'use_standard_groups' => 'Use standard BBS usergroups',
+  'use_standard_groups_explanation' => 'Use standard (built-in) usergroups (recommended). This will make all custom usergroups settings made on this page become void. Only disable this option if you REALLY know what you\'re doing!',
+  'validating_group' => 'Validating group',
+  'validating_group_explanation' => 'The group ID of your BBS where users accounts that need validation are in (usually default value should be OK, unless your BBS install isn\'t standard)',
+  'guest_group' => 'Guest group',
+  'guest_group_explanation' => 'Group ID of your BBS where guests (anonymous users) are in (default value should be OK, only edit if you know what you\'re doing)',
+  'member_group' => 'Member group',
+  'member_group_explanation' => 'Group ID of your BBS where &quot;regular&quot; users accounts are in (default value should be OK, only edit if you know what you\'re doing)',
+  'admin_group' => 'Admin group',
+  'admin_group_explanation' => 'Group ID of your BBS where admins are in (default value should be OK, only edit if you know what you\'re doing)',
+  'banned_group' => 'Banned group',
+  'banned_group_explanation' => 'Group ID of your BBS where banned users are in (default value should be OK, only edit if you know what you\'re doing)',
+  'global_moderators_group' => 'Global moderators group',
+  'global_moderators_group_explanation' => 'Group ID of your BBS where global moderators of your BBS are in (default value should be OK, only edit if you know what you\'re doing)',
+  'special_settings' => 'BBS-specific settings',
+  'logout_flag' => 'phpBB version (logout flag)',
+  'logout_flag_explanation' => 'What\'s your BBS version (this setting specifies how logouts are being handled)',
+  'use_post_based_groups' => 'Use post-based groups?',
+  'logout_flag_yes' => '2.0.5 or higher',
+  'logout_flag_no' => '2.0.4 or lower',
+  'use_post_based_groups_explanation' => 'Should the groups from the BBS that are defined by the number of posts be taken into account (allows a granular permissions management) or just the default groups (makes administration easier, recommended). You can change this setting later as well.',
+  'use_post_based_groups_yes' => 'yes',
+  'use_post_based_groups_no' => 'no',
+  'error_title' => 'You need to correct these errors before you can continue. Go to the previous screen.',
+  'error_specify_bbs' => 'You have to specify what application you want to bridge your Coppermine install with.',
+  'error_no_blank_name' => 'You can\'t leave the name of your custom bridge file blank.',
+  'error_no_special_chars' => 'The bridge file name mustn\'t contain any special chars except underscore (_) and dash (-)!',
+  'error_bridge_file_not_exist' => 'The bridge file %s doesn\'t exist on the server. Check if you have actually uploaded it.',
+  'finalize' => 'enable/disable BBS integration',
+  'finalize_explanation' => 'So far, the settings you specified have been written into the database, but BBS integration hasn\'t been enabled. You can switch integration on/off later at any time. Make sure to remember the admin username and password from standalone Coppermine, you might need it later to be able to make any changes. If anything goes wrong, go to %s and disable BBS integration there, using your standalone (unbridged) admin account (usually the one you set up during Coppermine install).',
+  'your_bridge_settings' => 'Your bridge settings',
+  'title_enable' => 'Enable integration/bridging with %s',
+  'bridge_enable_yes' => 'enable',
+  'bridge_enable_no' => 'disable',
+  'error_must_not_be_empty' => 'must not be empty',
+  'error_either_be' => 'must either be %s or %s',
+  'error_folder_not_exist' => '%s doesn\'t exist. Correct the value you entered for %s',
+  'error_cookie_not_readible' => 'Coppermine can\'t read a cookie named %s. Correct the value you entered for %s, or go to your BBS administration panel and make sure that the cookie path is readible for coppermine.',
+  'error_mandatory_field_empty' => 'You can not leave the field %s blank - fill in the proper value.',
+  'error_no_trailing_slash' => 'There mustn\'t be a trailing slash in the field %s.',
+  'error_trailing_slash' => 'There must be a trailing slash in the field %s.',
+  'error_db_connect' => 'Could not connect to the mySQL database with the data you specified. Here\'s what mySQL said:',
+  'error_db_name' => 'Although Coppermine could establish a connection, it wasn\'t able to find the database %s. Make sure you have specified %s properly. Here\'s what mySQL said:',
+  'error_prefix_and_table' => '%s and ',
+  'error_db_table' => 'Could not find the table %s. Make sure you have specified %s correctly.',
+  'recovery_title' => 'Bridge Manager: emergency recovery',
+  'recovery_explanation' => 'If you came here to administer the BBS integration of your Coppermine gallery, you have to log in first as admin. If you can not log in because bridging doesn\'t work as expected, you can disable BBS integration with this page. Entering your username and password will not log you in, it will only disable BBS integration. Refer to the documentation for details.',
+  'username' => 'Username',
+  'password' => 'Password',
+  'disable_submit' => 'submit',
+  'recovery_success_title' => 'Authorization successful',
+  'recovery_success_content' => 'You have successfully disabled BBS bridging. Your Coppermine install runs now in standalone mode.',
+  'recovery_success_advice_login' => 'Log in as admin to edit your bridge settings and/or enable BBS integration again.',
+  'goto_login' => 'Go to login page',
+  'goto_bridgemgr' => 'Go to bridge manager',
+  'recovery_failure_title' => 'Authorization failed',
+  'recovery_failure_content' => 'You supplied the wrong credentials. You will have to supply the admin account data of the standalone version (usually the account you set up during Coppermine install).',
+  'try_again' => 'try again',
+  'recovery_wait_title' => 'Wait time has not elapsed',
+  'recovery_wait_content' => 'For security reasons this script does not allow failed logons in short succession, so you will have to wait a bit untill you\'re allowed to try to authenticate.',
+  'wait' => 'wait',
+  'create_redir_file' => 'Create redirection file (recommended)',
+  'create_redir_file_explanation' => 'To redirect users back to Coppermine once they logged into your BBS, you need a redirection file to be created within your BBS folder. When this option is checked, the bridge manager will attempt to create this file for you, or give you code ready to copy-and-paste to create the file manually.',
+  'browse' => 'browse',
+);
+
+// ------------------------------------------------------------------------- //
+// File calendar.php //cpg1.4
+// ------------------------------------------------------------------------- //
+
+if (defined('CALENDAR_PHP')) $lang_calendar_php = array(
+  'title' => 'Calendar', //cpg1.4
+  'close' => 'close', //cpg1.4
+  'clear_date' => 'clear date', //cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File catmgr.php
+// ------------------------------------------------------------------------- //
+
+if (defined('CATMGR_PHP')) $lang_catmgr_php = array(
+  'miss_param' => 'Parameters required for \'%s\'operation not supplied !',
+  'unknown_cat' => 'Selected category does not exist in database',
+  'usergal_cat_ro' => 'User galleries category can\'t be deleted !',
+  'manage_cat' => 'Manage categories',
+  'confirm_delete' => 'Are you sure you want to DELETE this category', //js-alert
+  'category' => 'Category',
+  'operations' => 'Operations',
+  'move_into' => 'Move into',
+  'update_create' => 'Update/Create category',
+  'parent_cat' => 'Parent category',
+  'cat_title' => 'Category title',
+  'cat_thumb' => 'Category thumbnail',
+  'cat_desc' => 'Category description',
+  'categories_alpha_sort' => 'Sort categories alphabetically (instead of custom sort order)', //cpg1.4
+  'save_cfg' => 'Save configuration', //cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File admin.php
+// ------------------------------------------------------------------------- //
+
+if (defined('ADMIN_PHP')) $lang_admin_php = array(
+  'title' => 'Gallery Configuration', //cpg1.4
+  'manage_exif' => 'Manage exif display', //cpg1.4
+  'manage_plugins' => 'Manage plugins', //cpg1.4
+  'manage_keyword' => 'Manage keywords', //cpg1.4
+  'restore_cfg' => 'Restore factory defaults',
+  'save_cfg' => 'Save new configuration',
+  'notes' => 'Notes',
+  'info' => 'Information',
+  'upd_success' => 'Coppermine configuration was updated',
+  'restore_success' => 'Coppermine default configuration restored',
+  'name_a' => 'Name ascending',
+  'name_d' => 'Name descending',
+  'title_a' => 'Title ascending',
+  'title_d' => 'Title descending',
+  'date_a' => 'Date ascending',
+  'date_d' => 'Date descending',
+  'pos_a' => 'Position ascending', //cpg1.4
+  'pos_d' => 'Position descending', //cpg1.4
+  'th_any' => 'Max Aspect',
+  'th_ht' => 'Height',
+  'th_wd' => 'Width',
+  'label' => 'label',
+  'item' => 'item',
+  'debug_everyone' => 'Everyone',
+  'debug_admin' => 'Admin only',
+  'no_logs'=> 'Off', //cpg1.4
+  'log_normal'=> 'Normal', //cpg1.4
+  'log_all' => 'All', //cpg1.4
+  'view_logs' => 'View logs', //cpg1.4
+  'click_expand' => 'click section name to expand', //cpg1.4
+  'expand_all' => 'Expand All', //cpg1.4
+  'notice1' => '(*) These settings mustn\'t be changed if you already have files in your database.', //cpg1.4 - (relocated)
+  'notice2' => '(**) When changing this setting, only the files that are added from that point on are affected, so it is advisable that this setting must not be changed if there are already files in the gallery. You can, however, apply the changes to the existing files with the &quot;<a href="util.php">admin tools</a> (resize pictures)&quot; utility from the admin menu.', //cpg1.4 - (relocated)
+  'notice3' => '(***) All log files are written in english.', //cpg1.4 - (relocated)
+  'bbs_disabled' => 'Function disabled when using bb integration', //cpg1.4
+  'auto_resize_everyone' => 'Everyone', //cpg1.4
+  'auto_resize_user' => 'User only', //cpg1.4
+  'ascending' => 'ascending', //cpg1.4
+  'descending' => 'descending', //cpg1.4
+);
+
+if (defined('ADMIN_PHP')) $lang_admin_data = array(
+  'General settings',
+  array('Gallery name', 'gallery_name', 0, 'f=index.htm&amp;as=admin_general_name&amp;ae=admin_general_name_end'), //cpg1.4
+  array('Gallery description', 'gallery_description', 0, 'f=index.htm&amp;as=admin_general_description&amp;ae=admin_general_description_end'), //cpg1.4
+  array('Gallery administrator email', 'gallery_admin_email', 0, 'f=index.htm&amp;as=admin_general_email&amp;ae=admin_general_email_end'), //cpg1.4
+  array('URL of your coppermine gallery folder (no \'index.php\' or similar at the end)', 'ecards_more_pic_target', 0, 'f=index.htm&amp;as=admin_general_coppermine-url&amp;ae=admin_general_coppermine-url_end'), //cpg1.4
+  array('URL of your home page', 'home_target', 0, 'f=index.htm&amp;as=admin_general_home-url&amp;ae=admin_general_home-url_end'), //cpg1.4
+  array('Allow ZIP-download of favourites', 'enable_zipdownload', 1, 'f=index.htm&amp;as=admin_general_zip-download&amp;ae=admin_general_zip-download_end'), //cpg1.4
+  array('Timezone difference relative to GMT (current time: ' . localised_date(-1, $comment_date_fmt) . ')','time_offset',0, 'f=index.htm&amp;as=admin_general_time-offset&amp;ae=admin_general_time-offset_end&amp;top=1'), //cpg1.4
+  array('Enable encrypted passwords (can not be undone)','enable_encrypted_passwords',1, 'f=index.htm&amp;as=admin_general_encrypt_password_start&amp;ae=admin_general_encrypt_password_end&amp;top=1'), // cpg 1.4
+  array('Enable help-icons (help available in English only)','enable_help',9, 'f=index.htm&amp;as=admin_general_help&amp;ae=admin_general_help_end'), //cpg1.4
+  array('Enable clickable keywords in search','clickable_keyword_search',14, 'f=index.htm&amp;as=admin_general_keywords_start&amp;ae=admin_general_keywords_end'), //cpg1.4
+  array('Enable plugins', 'enable_plugins', 12, 'f=index.htm&amp;as=admin_general_enable-plugins&amp;ae=admin_general_enable-plugins_end'),  //cpg1.4
+  array('Allow banning of non-routable (private) IP addresses', 'ban_private_ip', 1,  'f=index.htm&amp;as=admin_general_private-ip&amp;ae=admin_general_private-ip_end'), //cpg1.4
+  array('Browsable batch-add interface', 'browse_batch_add', 1, 'f=index.htm&amp;as=admin_general_browsable_batch_add&amp;ae=admin_general_browsable_batch_add_end'), //cpg1.4
+
+  'Language &amp; Charset settings',
+  array('Language', 'lang', 5, 'f=index.htm&amp;as=admin_language_language&amp;ae=admin_language_language_end'), //cpg1.4
+  array('Fallback to English if translated phrase not found?', 'language_fallback', 1, 'f=index.htm&amp;as=admin_language_fallback&amp;ae=admin_language_fallback_end'), //cpg1.4
+  array('Character encoding', 'charset', 4, 'f=index.htm&amp;as=admin_language_charset&amp;ae=admin_language_charset_end'), //cpg1.4
+  array('Display language list', 'language_list', 1, 'f=index.htm&amp;as=admin_language_list&amp;ae=admin_language_list_end'), //cpg1.4
+  array('Display language flags', 'language_flags', 8, 'f=index.htm&amp;as=admin_language_flags&amp;ae=admin_language_flags_end&amp;top=1'), //cpg1.4
+  array('Display &quot;reset&quot; in language selection', 'language_reset', 1, 'f=index.htm&amp;as=admin_language_reset&amp;ae=admin_language_reset_end&amp;top=1'), //cpg1.4
+  //array('Display previous/next on tabbed pages', 'previous_next_tab', 1), //cpg1.4
+
+  'Themes settings',
+  array('Theme', 'theme', 6, 'f=index.htm&amp;as=admin_theme_theme&amp;ae=admin_theme_theme_end'), //cpg1.4
+  array('Display theme list', 'theme_list', 1, 'f=index.htm&amp;as=admin_theme_theme_list&amp;ae=admin_theme_theme_list_end'), //cpg1.4
+  array('Display &quot;reset&quot; in theme selection', 'theme_reset', 1, 'f=index.htm&amp;as=admin_theme_theme_reset&amp;ae=admin_theme_theme_reset_end'), //cpg1.4
+  array('Display FAQ', 'display_faq', 1, 'f=index.htm&amp;as=admin_theme_faq&amp;ae=admin_theme_faq_end'), //cpg1.4
+  array('Custom menu link name', 'custom_lnk_name', 0,'f=index.htm&amp;as=admin_theme_custom_lnk_name&amp;ae=admin_theme_custom_lnk_name_end'), //cpg1.4
+  array('Custom menu link URL', 'custom_lnk_url', 0,'f=index.htm&amp;as=admin_language_custom_lnk_url&amp;ae=admin_language_custom_lnk_url_end'), //cpg1.4
+  array('Display bbcode help', 'show_bbcode_help', 1, 'f=index.htm&amp;as=admin_theme_bbcode&amp;ae=admin_theme_bbcode_end&amp;top=1'), //cpg1.4
+  array('Show the vanity block on themes that are defined as XHTML and CSS compliant','vanity_block',1, 'f=index.htm&amp;as=vanity_block&amp;ae=vanity_block_end'), //cpg1.4
+  array('Path to custom header include', 'custom_header_path', 0, 'f=index.htm&amp;as=admin_theme_include_path_start&amp;ae=admin_theme_include_path_end'), //cpg1.4
+  array('Path to custom footer include', 'custom_footer_path', 0, 'f=index.htm&amp;as=admin_theme_include_path_start&amp;ae=admin_theme_include_path_end'), //cpg1.4
+
+  'Album list view',
+  array('Width of the main table (pixels or %)', 'main_table_width', 0, 'f=index.htm&amp;as=admin_album_table-width&amp;ae=admin_album_table-width_end'), //cpg1.4
+  array('Number of levels of categories to display', 'subcat_level', 0, 'f=index.htm&amp;as=admin_album_category-levels&amp;ae=admin_album_category-levels_end'), //cpg1.4
+  array('Number of albums to display', 'albums_per_page', 0, 'f=index.htm&amp;as=admin_album_number&amp;ae=admin_album_number_end'), //cpg1.4
+  array('Number of columns for the album list', 'album_list_cols', 0, 'f=index.htm&amp;as=admin_album_columns&amp;ae=admin_album_columns_end'), //cpg1.4
+  array('Size of thumbnails in pixels', 'alb_list_thumb_size', 0, 'f=index.htm&amp;as=admin_album_thumbnail-size&amp;ae=admin_album_thumbnail-size_end'), //cpg1.4
+  array('The content of the main page', 'main_page_layout', 0, 'f=index.htm&amp;as=admin_album_list_content&amp;ae=admin_album_list_content_end'), //cpg1.4
+  array('Show first level album thumbnails in categories','first_level',1, 'f=index.htm&amp;as=admin_album_first-level_thumbs&amp;ae=admin_album_first-level_thumbs_end'), //cpg1.4
+  array('Sort categories alphabetically (instead of custom sort order)','categories_alpha_sort',1, 'f=index.htm&amp;as=admin_album_list_alphasort_start&amp;ae=admin_album_list_alphasort_end'), //cpg1.4
+  array('Show number of linked files','link_pic_count',1, 'f=index.htm&amp;as=admin_album_linked_files_start&amp;ae=admin_album_linked_files_end'), //cpg1.4
+
+  'Thumbnail view',
+  array('Number of columns on thumbnail page', 'thumbcols', 0, 'f=index.htm&amp;as=admin_thumbnail_columns&amp;ae=admin_thumbnail_columns_end'), //cpg1.4
+  array('Number of rows on thumbnail page', 'thumbrows', 0, 'f=index.htm&amp;as=admin_thumbnail_rows&amp;ae=admin_thumbnail_rows_end'), //cpg1.4
+  array('Maximum number of tabs to display', 'max_tabs', 10, 'f=index.htm&amp;as=admin_thumbnail_tabs&amp;ae=admin_thumbnail_tabs_end'), //cpg1.4
+  array('Display file caption (in addition to title) below the thumbnail', 'caption_in_thumbview', 1, 'f=index.htm&amp;as=admin_thumbnail_display_caption&amp;ae=admin_thumbnail_display_caption_end'), //cpg1.4
+  array('Display number of views below the thumbnail', 'views_in_thumbview', 1, 'f=index.htm&amp;as=admin_thumbnail_display_views&amp;ae=admin_thumbnail_display_views_end'), //cpg1.4
+  array('Display number of comments below the thumbnail', 'display_comment_count', 1, 'f=index.htm&amp;as=admin_thumbnail_display_comments&amp;ae=admin_thumbnail_display_comments_end'), //cpg1.4
+  array('Display uploader name below the thumbnail', 'display_uploader', 1, 'f=index.htm&amp;as=admin_thumbnail_display_uploader&amp;ae=admin_thumbnail_display_uploader_end'), //cpg1.4
+  //array('Display name of admin uploaders below the thumbnail', 'display_admin_uploader', 1, 'f=index.htm&amp;as=admin_thumbnail_display_admin_uploader&amp;ae=admin_thumbnail_display_admin_uploader_end'), //cpg1.4
+  array('Display file name below the thumbnail', 'display_filename', 1, 'f=index.htm&amp;as=admin_thumbnail_display_filename&amp;ae=admin_thumbnail_display_filename_end'), //cpg1.4
+  //array('Display album description', 'alb_desc_thumb', 1, 'f=index.htm&amp;as=admin_thumbnail_display_description&amp;ae=admin_thumbnail_display_description_end'), //cpg1.4
+  array('Default sort order for files', 'default_sort_order', 3, 'f=index.htm&amp;as=admin_thumbnail_default_sortorder&amp;ae=admin_thumbnail_default_sortorder_end'), //cpg1.4
+  array('Minimum number of votes for a file to appear in the \'top-rated\' list', 'min_votes_for_rating', 0, 'f=index.htm&amp;as=admin_thumbnail_minimum_votes&amp;ae=admin_thumbnail_minimum_votes_end'), //cpg1.4
+
+  'Image view', //cpg1.4
+  array('Width of the table for file display (pixels or %)', 'picture_table_width', 0, 'f=index.htm&amp;as=admin_image_comment_table-width&amp;ae=admin_image_comment_table-width_end'), //cpg1.4
+  array('File information is visible by default', 'display_pic_info', 1, 'f=index.htm&amp;as=admin_image_comment_info_visible&amp;ae=admin_image_comment_info_visible_end'), //cpg1.4
+  array('Max length for an image description', 'max_img_desc_length', 0, 'f=index.htm&amp;as=admin_image_comment_descr_length&amp;ae=admin_image_comment_descr_length_end'), //cpg1.4
+  array('Max number of characters in a word', 'max_com_wlength', 0, 'f=index.htm&amp;as=admin_image_comment_chars_per_word&amp;ae=admin_image_comment_chars_per_word_end'), //cpg1.4
+  array('Show film strip', 'display_film_strip', 1, 'f=index.htm&amp;as=admin_image_comment_filmstrip_toggle&amp;ae=admin_image_comment_filmstrip_toggle_end'), //cpg1.4
+  array('Display file name under film strip thumbnail', 'display_film_strip_filename', 1, 'f=index.htm&amp;as=admin_image_comment_display_film_strip_filename&amp;ae=admin_image_comment_display_film_strip_filename_end'), //cpg1.4
+  array('Number of items in film strip', 'max_film_strip_items', 0, 'f=index.htm&amp;as=admin_image_comment_filmstrip_number&amp;ae=admin_image_comment_filmstrip_number_end'), //cpg1.4
+  array('Slideshow interval in milliseconds (1 second = 1000 milliseconds)', 'slideshow_interval', 0, 'f=index.htm&amp;as=admin_image_comment_slideshow_interval&amp;ae=admin_image_comment_slideshow_interval_end'), //cpg1.4
+
+  'Comment settings', //cpg1.4
+  array('Filter bad words in comments', 'filter_bad_words', 1, 'f=index.htm&amp;as=admin_image_comment_bad_words&amp;ae=admin_image_comment_bad_words_end'), //cpg1.4
+  array('Allow smiles in comments', 'enable_smilies', 1, 'f=index.htm&amp;as=admin_image_comment_smilies&amp;ae=admin_image_comment_smilies_end'), //cpg1.4
+  array('Allow several consecutive comments on one file from the same user (disable flood protection)', 'disable_comment_flood_protect', 1, 'f=index.htm&amp;as=admin_image_comment_flood&amp;ae=admin_image_comment_flood_end'), //cpg1.4
+  array('Max number of lines in a comment', 'max_com_lines', 0, 'f=index.htm&amp;as=admin_image_comment_lines&amp;ae=admin_image_comment_lines_end'), //cpg1.4
+  array('Maximum length of a comment', 'max_com_size', 0, 'f=index.htm&amp;as=admin_image_comment_length&amp;ae=admin_image_comment_length_end'), //cpg1.4
+  array('Notify admin of comments by email', 'email_comment_notification', 1, 'f=index.htm&amp;as=admin_image_comment_admin_notify&amp;ae=admin_image_comment_admin_notify_end'), //cpg1.4
+  array('Sort order of comments', 'comments_sort_descending', 17, 'f=index.htm&amp;as=admin_comment_sort_start&amp;ae=admin_comment_sort_end'), //cpg1.4
+  array('Prefix for anonymous comments authors', 'comments_anon_pfx', 0, 'f=index.htm&amp;as=comments_anon_pfx&amp;ae=comments_anon_pfx_end'), //cpg1.4
+
+  'Files and thumbnails settings',
+  array('Quality for JPEG files', 'jpeg_qual', 0, 'f=index.htm&amp;as=admin_picture_thumbnail_jpeg_quality&amp;ae=admin_picture_thumbnail_jpeg_quality_end'), //cpg1.4
+  array('Max dimension of a thumbnail <a href="#notice2" class="clickable_option">**</a>', 'thumb_width', 0, 'f=index.htm&amp;as=admin_picture_thumbnail_max-dimension&amp;ae=admin_picture_thumbnail_max-dimension_end'), //cpg1.4
+  array('Use dimension ( width or height or Max aspect for thumbnail ) <a href="#notice2" class="clickable_option">**</a>', 'thumb_use', 7, 'f=index.htm&amp;as=admin_picture_thumbnail_use-dimension&amp;ae=admin_picture_thumbnail_use-dimension_end'), //cpg1.4
+  array('Create intermediate pictures','make_intermediate',1, 'f=index.htm&amp;as=admin_picture_thumbnail_intermediate_toggle&amp;ae=admin_picture_thumbnail_intermediate_toggle_end'), //cpg1.4
+  array('Max width or height of an intermediate picture/video <a href="#notice2" class="clickable_option">**</a>', 'picture_width', 0, 'f=index.htm&amp;as=admin_picture_thumbnail_intermediate_dimension&amp;ae=admin_picture_thumbnail_intermediate_dimension_end'), //cpg1.4
+  array('Max size for uploaded files (KB)', 'max_upl_size', 0, 'f=index.htm&amp;as=admin_picture_thumbnail_max_upload_size&amp;ae=admin_picture_thumbnail_max_upload_size_end'), //cpg1.4
+  array('Max width or height for uploaded pictures/videos (pixels)', 'max_upl_width_height', 0, 'f=index.htm&amp;as=admin_picture_thumbnail_max_upload_dimension&amp;ae=admin_picture_thumbnail_max_upload_dimension_end'), //cpg1.4
+  array('Auto resize images that are larger than max width or height', 'auto_resize', 16, 'f=index.htm&amp;as=admin_picture_thumbnail_auto-resize&amp;ae=admin_picture_thumbnail_auto-resize_end'), //cpg1.4
+
+  'Files and thumbnails advanced settings',
+  array('Albums can be private (Note: if you switch from \'yes\' to \'no\' any current private albums will become public)', 'allow_private_albums', 1, 'f=index.htm&amp;as=admin_picture_thumb_advanced_private_toggle&amp;ae=admin_picture_thumb_advanced_private_toggle_end'), //cpg1.4
+  array('Show private album Icon to unlogged user','show_private',1, 'f=index.htm&amp;as=admin_picture_thumb_advanced_private_icon_show&amp;ae=admin_picture_thumb_advanced_private_icon_show_end'), //cpg1.4
+  array('Characters forbidden in filenames', 'forbiden_fname_char',0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_filename_forbidden_chars&amp;ae=admin_picture_thumb_advanced_filename_forbidden_chars_end'), //cpg1.4
+  //array('Accepted file extensions for uploaded pictures', 'allowed_file_extensions',0, 'f=index.htm&amp;as=&amp;ae=_end'), //cpg1.4
+  array('Allowed image types', 'allowed_img_types',0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_pic_extensions&amp;ae=admin_picture_thumb_advanced_pic_extensions_end'), //cpg1.4
+  array('Allowed movie types', 'allowed_mov_types',0, 'f=index.htm&amp;as=admin_thumbs_advanced_movie&amp;ae=admin_thumbs_advanced_movie_end'), //cpg1.4
+  array('Movie Playback Autostart', 'media_autostart',1, 'f=index.htm&amp;as=admin_movie_autoplay&amp;ae=admin_movie_autoplay_end'), //cpg1.4
+  array('Allowed audio types', 'allowed_snd_types',0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_audio_extensions&amp;ae=admin_picture_thumb_advanced_audio_extensions_end'), //cpg1.4
+  array('Allowed document types', 'allowed_doc_types',0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_doc_extensions&amp;ae=admin_picture_thumb_advanced_doc_extensions_end'), //cpg1.4
+  array('Method for resizing images','thumb_method',2, 'f=index.htm&amp;as=admin_picture_thumb_advanced_resize_method&amp;ae=admin_picture_thumb_advanced_resize_method_end'), //cpg1.4
+  array('Path to ImageMagick \'convert\' utility (example /usr/bin/X11/)', 'impath', 0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_im_path&amp;ae=admin_picture_thumb_advanced_im_path_end'), //cpg1.4
+  //array('Allowed image types (only valid for ImageMagick)', 'allowed_img_types',0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_allowed_imagetypes&amp;ae=admin_picture_thumb_advanced_allowed_imagetypes_end'), //cpg1.4
+  array('Command line options for ImageMagick', 'im_options', 0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_im_commandline&amp;ae=admin_picture_thumb_advanced_im_commandline_end'), //cpg1.4
+  array('Read EXIF data in JPEG files', 'read_exif_data', 13, 'f=index.htm&amp;as=admin_picture_thumb_advanced_exif&amp;ae=admin_picture_thumb_advanced_exif_end'), //cpg1.4
+  array('Read IPTC data in JPEG files', 'read_iptc_data', 1, 'f=index.htm&amp;as=admin_picture_thumb_advanced_iptc&amp;ae=admin_picture_thumb_advanced_iptc_end'), //cpg1.4
+  array('The album directory <a href="#notice1" class="clickable_option">*</a>', 'fullpath', 0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_albums_dir&amp;ae=admin_picture_thumb_advanced_albums_dir_end'), //cpg1.4
+  array('The directory for user files <a href="#notice1" class="clickable_option">*</a>', 'userpics', 0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_userpics_dir&amp;ae=admin_picture_thumb_advanced_userpics_dir_end'), //cpg1.4
+  array('The prefix for intermediate pictures <a href="#notice1" class="clickable_option">*</a>', 'normal_pfx', 0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_intermediate_prefix&amp;ae=admin_picture_thumb_advanced_intermediate_prefix_end'), //cpg1.4
+  array('The prefix for thumbnails <a href="#notice1" class="clickable_option">*</a>', 'thumb_pfx', 0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_thumbs_prefix&amp;ae=admin_picture_thumb_advanced_thumbs_prefix_end'), //cpg1.4
+  array('Default mode for directories', 'default_dir_mode', 0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_chmod_folder&amp;ae=admin_picture_thumb_advanced_chmod_folder_end'), //cpg1.4
+  array('Default mode for files', 'default_file_mode', 0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_chmod_files&amp;ae=admin_picture_thumb_advanced_chmod_files_end'), //cpg1.4
+
+  'User settings',
+  array('Allow new user registrations', 'allow_user_registration', 1, 'f=index.htm&amp;as=admin_allow_registration&amp;ae=admin_allow_registration_end'), //cpg1.4
+  array('Allow unlogged users (guest or anonymous) access', 'allow_unlogged_access', 1, 'f=index.htm&amp;as=admin_allow_unlogged_access&amp;ae=admin_allow_unlogged_access_end'), //cpg1.4
+  array('User registration requires email verification', 'reg_requires_valid_email', 1, 'f=index.htm&amp;as=admin_registration_verify&amp;ae=admin_registration_verify_end'), //cpg1.4
+  array('Notify admin of user registration by email', 'reg_notify_admin_email', 1, 'f=index.htm&amp;as=admin_registration_notify&amp;ae=admin_registration_notify_end'), //cpg1.4
+  array('Admin activation of registrations', 'admin_activation', 1, 'f=index.htm&amp;as=admin_activation&amp;ae=admin_activation_end'),  //cpg1.4
+  array('Allow two users to have the same email address', 'allow_duplicate_emails_addr', 1, 'f=index.htm&amp;as=admin_allow_duplicate_emails_addr&amp;ae=admin_allow_duplicate_emails_addr_end'), //cpg1.4
+  array('Notify admin of user upload awaiting approval', 'upl_notify_admin_email', 1, 'f=index.htm&amp;as=admin_approval_notify&amp;ae=admin_approval_notify_end'), //cpg1.4
+  array('Allow logged in users to view memberlist', 'allow_memberlist', 1, 'f=index.htm&amp;as=admin_user_memberlist&amp;ae=admin_user_memberlist_end'), //cpg1.4
+  array('Allow users to change their email address in profile', 'allow_email_change', 1, 'f=index.htm&amp;as=admin_user_allow_email_change&amp;ae=admin_user_allow_email_change_end'), //cpg1.4
+  array('Allow users to retain control over their pics in public galleries', 'users_can_edit_pics', 1, 'f=index.htm&amp;as=admin_user_editpics_public_start&amp;ae=admin_user_editpics_public_end'), //cpg1.4
+  array('Number of failed login attempts until temporary ban (to avoid brute force attacks)', 'login_threshold', 0, 'f=index.htm&amp;as=admin_user_login_start&amp;ae=admin_user_login_end'), //cpg1.4
+  array('Duration of a temporary ban after failed logins', 'login_expiry', 0, 'f=index.htm&amp;as=admin_user_login_start&amp;ae=admin_user_login_end'), //cpg1.4
+  array('Enable Report to Admin', 'report_post', 1, 'f=index.htm&amp;as=admin_user_enable_report&amp;ae=admin_user_enable_report_end'),  //cpg1.4
+
+// custom profile fields,  //cpg1.4
+  'Custom fields for user profile (leave blank if unused).
+  Use Profile 6 for long entries, such as biographies', //cpg1.4
+  array('Profile 1 name', 'user_profile1_name', 0, 'f=index.htm&amp;as=admin_custom&amp;ae=admin_custom_end'), //cpg1.4
+  array('Profile 2 name', 'user_profile2_name', 0), //cpg1.4
+  array('Profile 3 name', 'user_profile3_name', 0), //cpg1.4
+  array('Profile 4 name', 'user_profile4_name', 0), //cpg1.4
+  array('Profile 5 name', 'user_profile5_name', 0), //cpg1.4
+  array('Profile 6 name', 'user_profile6_name', 0), //cpg1.4
+
+  'Custom fields for image description (leave blank if unused)',
+  array('Field 1 name', 'user_field1_name', 0, 'f=index.htm&amp;as=admin_custom_image&amp;ae=admin_custom_image_end'), //cpg1.4
+  array('Field 2 name', 'user_field2_name', 0),
+  array('Field 3 name', 'user_field3_name', 0),
+  array('Field 4 name', 'user_field4_name', 0),
+
+  'Cookies settings',
+  array('Cookie name', 'cookie_name', 0, 'f=index.htm&amp;as=admin_cookie_name&amp;ae=admin_cookie_name_end'), //cpg1.4
+  array('Cookie path', 'cookie_path', 0, 'f=index.htm&amp;as=admin_cookie_path&amp;ae=admin_cookie_path_end'), //cpg1.4
+
+  'Email settings  (usually nothing has to be changed here; leave all fields blank when not sure)', //cpg1.4
+  array('SMTP Host (when left blank, sendmail will be used)', 'smtp_host', 0, 'f=index.htm&amp;as=admin_email&amp;ae=admin_email_end'), //cpg1.4
+  array('SMTP Username', 'smtp_username', 0), //cpg1.4
+  array('SMTP Password', 'smtp_password', 0), //cpg1.4
+
+  'Logging and statistics', //cpg1.4
+  array('Logging mode <a href="#notice3" class="clickable_option">***</a>', 'log_mode', 11, 'f=index.htm&amp;as=admin_logging_log_mode&amp;ae=admin_logging_log_mode_end'), //cpg1.4
+  array('Log ecards', 'log_ecards', 1, 'f=index.htm&amp;as=admin_general_log_ecards&amp;ae=admin_general_log_ecards_end'), //cpg1.4
+  array('Keep detailed vote statistics','vote_details',1, 'f=index.htm&amp;as=admin_logging_votedetails&amp;ae=admin_logging_votedetails_end'), //cpg1.4
+  array('Keep detailed hit statistics','hit_details',1, 'f=index.htm&amp;as=admin_logging_hitdetails&amp;ae=admin_logging_hitdetails_end'), //cpg1.4
+
+  'Maintenance settings', //cpg1.4
+  array('Enable debug mode', 'debug_mode', 9, 'f=index.htm&amp;as=debug_mode&amp;ae=debug_mode_end'), //cpg1.4
+  array('Display notices in debug mode', 'debug_notice', 1, 'f=index.htm&amp;as=admin_misc_debug_notices&amp;ae=admin_misc_debug_notices_end'), //cpg1.4
+  array('Gallery is offline', 'offline', 1, 'f=index.htm&amp;as=admin_general_offline&amp;ae=admin_general_offline_end'), //cpg1.4
+);
+
+
+// ------------------------------------------------------------------------- //
+// File db_ecard.php
+// ------------------------------------------------------------------------- //
+
+if (defined('DB_ECARD_PHP')) $lang_db_ecard_php = array(
+  'title' => 'Sent ecards',
+  'ecard_sender' => 'Sender',
+  'ecard_recipient' => 'Recipient',
+  'ecard_date' => 'Date',
+  'ecard_display' => 'Display ecard',
+  'ecard_name' => 'Name',
+  'ecard_email' => 'Email',
+  'ecard_ip' => 'IP #',
+  'ecard_ascending' => 'ascending',
+  'ecard_descending' => 'descending',
+  'ecard_sorted' => 'Sorted',
+  'ecard_by_date' => 'by date',
+  'ecard_by_sender_name' => 'by sender\'s name',
+  'ecard_by_sender_email' => 'by sender\'s email',
+  'ecard_by_sender_ip' => 'by sender\'s IP address',
+  'ecard_by_recipient_name' => 'by recipient\'s name',
+  'ecard_by_recipient_email' => 'by recipient\'s email',
+  'ecard_number' => 'displaying record %s to %s of %s',
+  'ecard_goto_page' => 'go to page',
+  'ecard_records_per_page' => 'Records per page',
+  'check_all' => 'Check All',
+  'uncheck_all' => 'Uncheck All',
+  'ecards_delete_selected' => 'Delete selected ecards',
+  'ecards_delete_confirm' => 'Are you sure you want to delete the records? Tick the checkbox!',
+  'ecards_delete_sure' => 'I\'m sure',
+);
+
+
+// ------------------------------------------------------------------------- //
+// File db_input.php
+// ------------------------------------------------------------------------- //
+
+if (defined('DB_INPUT_PHP')) $lang_db_input_php = array(
+  'empty_name_or_com' => 'You need to type your name and a comment',
+  'com_added' => 'Your comment was added',
+  'alb_need_title' => 'You have to provide a title for the album !',
+  'no_udp_needed' => 'No update needed.',
+  'alb_updated' => 'The album was updated',
+  'unknown_album' => 'Selected album does not exist or you don\'t have permission to upload in this album',
+  'no_pic_uploaded' => 'No file was uploaded !<br /><br />If you have really selected a file to upload, check that the server allows file uploads...',
+  'err_mkdir' => 'Failed to create directory %s !',
+  'dest_dir_ro' => 'Destination directory %s is not writable by the script !',
+  'err_move' => 'Impossible to move %s to %s !',
+  'err_fsize_too_large' => 'The size of file you have uploaded is too large (maximum allowed is %s x %s) !', //obsolete since cpg1.3 - consider removal in cpg1.4 once upload.php has been overhauled
+  'err_imgsize_too_large' => 'The size of the file you have uploaded is too large (maximum allowed is %s KB) !', //obsolete since cpg1.3 - consider removal in cpg1.4 once upload.php has been overhauled
+  'err_invalid_img' => 'The file you have uploaded is not a valid image !',
+  'allowed_img_types' => 'You can only upload %s images.',
+  'err_insert_pic' => 'The file \'%s\' can\'t be inserted in the album ',
+  'upload_success' => 'Your file was uploaded successfully.<br /><br />It will be visible after admin approval.',
+  'notify_admin_email_subject' => '%s - Upload notification',
+  'notify_admin_email_body' => 'A picture has been uploaded by %s that needs your approval. Visit %s',
+  'info' => 'Information',
+  'com_added' => 'Comment added',
+  'alb_updated' => 'Album updated',
+  'err_comment_empty' => 'Your comment is empty !',
+  'err_invalid_fext' => 'Only files with the following extensions are accepted : <br /><br />%s.',
+  'no_flood' => 'Sorry but you are already the author of the last comment posted for this file<br /><br />Edit the comment you have posted if you want to modify it',
+  'redirect_msg' => 'You are being redirected.<br /><br /><br />Click \'CONTINUE\' if the page does not refresh automatically',
+  'upl_success' => 'Your file was successfully added',
+  'email_comment_subject' => 'Comment posted on Coppermine Photo Gallery',
+  'email_comment_body' => 'Someone has posted a comment on your gallery. See it at',
+  'album_not_selected' => 'Album not selected', //cpg1.4
+  'com_author_error' => 'A registered user is using this nickname, login or use another one', //cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File delete.php
+// ------------------------------------------------------------------------- //
+
+if (defined('DELETE_PHP')) $lang_delete_php = array(
+  'caption' => 'Caption',
+  'fs_pic' => 'full size image',
+  'del_success' => 'successfully deleted',
+  'ns_pic' => 'normal size image',
+  'err_del' => 'can\'t be deleted',
+  'thumb_pic' => 'thumbnail',
+  'comment' => 'comment',
+  'im_in_alb' => 'image in album',
+  'alb_del_success' => 'Album &laquo;%s&raquo; deleted', //cpg1.4
+  'alb_mgr' => 'Album Manager',
+  'err_invalid_data' => 'Invalid data received in \'%s\'',
+  'create_alb' => 'Creating album \'%s\'',
+  'update_alb' => 'Updating album \'%s\' with title \'%s\' and index \'%s\'',
+  'del_pic' => 'Delete file',
+  'del_alb' => 'Delete album',
+  'del_user' => 'Delete user',
+  'err_unknown_user' => 'The selected user does not exist !',
+  'err_empty_groups' => 'There\'s no group table, or the group table is empty!', //cpg1.4
+  'comment_deleted' => 'Comment was succesfully deleted',
+  'npic' => 'Picture', //cpg1.4
+  'pic_mgr' => 'Picture Manager', //cpg1.4
+  'update_pic' => 'Updating picture \'%s\' with filename \'%s\' and index \'%s\'', //cpg1.4
+  'username' => 'Username', //cpg1.4
+  'anonymized_comments' => '%s comment(s) anonymized', //cpg1.4
+  'anonymized_uploads' => '%s public upload(s) anonymized', //cpg1.4
+  'deleted_comments' => '%s comment(s) deleted', //cpg1.4
+  'deleted_uploads' => '%s public upload(s) deleted', //cpg1.4
+  'user_deleted' => 'user %s deleted', //cpg1.4
+  'activate_user' => 'Activate user', //cpg1.4
+  'user_already_active' => 'Account has already been active', //cpg1.4
+  'activated' => 'Activated', //cpg1.4
+  'deactivate_user' => 'Deactivate user', //cpg1.4
+  'user_already_inactive' => 'Account has already been inactive', //cpg1.4
+  'deactivated' => 'Deactivated', //cpg1.4
+  'reset_password' => 'Reset password(s)', //cpg1.4
+  'password_reset' => 'Password reset to %s', //cpg1.4
+  'change_group' => 'Change primary group', //cpg1.4
+  'change_group_to_group' => 'Changing from %s to %s', //cpg1.4
+  'add_group' => 'Add secondary group', //cpg1.4
+  'add_group_to_group' => 'Adding user %s to group %s. He\'s now member of %s as primary and of %s as secondary membergroup(s).', //cpg1.4
+  'status' => 'Status', //cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File displayecard.php
+// ------------------------------------------------------------------------- //
+
+if (defined('DISPLAYECARD_PHP')) {
+
+$lang_displayecard_php = array(
+  'invalid_data' => 'The data for the ecard you are trying to access has been corrupted by your mail client. Check the link is complete.', //cpg1.4
+);
+}
+
+// ------------------------------------------------------------------------- //
+// File displayimage.php
+// ------------------------------------------------------------------------- //
+
+if (defined('DISPLAYIMAGE_PHP')){
+
+$lang_display_image_php = array(
+  'confirm_del' => 'Are you sure you want to DELETE this file ? \\nComments will also be deleted.', //js-alert
+  'del_pic' => 'DELETE THIS FILE',
+  'size' => '%s x %s pixels',
+  'views' => '%s times',
+  'slideshow' => 'Slideshow',
+  'stop_slideshow' => 'STOP SLIDESHOW',
+  'view_fs' => 'Click to view full size image',
+  'edit_pic' => 'Edit file information', //cpg1.4
+  'crop_pic' => 'Crop and Rotate',
+  'set_player' => 'Change player',
+);
+
+$lang_picinfo = array(
+  'title' =>'File information',
+  'Filename' => 'Filename',
+  'Album name' => 'Album name',
+  'Rating' => 'Rating (%s votes)',
+  'Keywords' => 'Keywords',
+  'File Size' => 'File Size',
+  'Date Added' => 'Date added', //cpg1.4
+  'Dimensions' => 'Dimensions',
+  'Displayed' => 'Displayed',
+  'URL' => 'URL', //cpg1.4
+  'Make' => 'Make', //cpg1.4
+  'Model' => 'Model', //cpg1.4
+  'DateTime' => 'Date Time', //cpg1.4
+  'ISOSpeedRatings'=>'ISO', //cpg1.4
+  'MaxApertureValue' => 'Max Aperture', //cpg1.4
+  'FocalLength' => 'Focal length', //cpg1.4
+  'Comment' => 'Comment',
+  'addFav'=>'Add to Favourites',
+  'addFavPhrase'=>'Favourites',
+  'remFav'=>'Remove from Favourites',
+  'iptcTitle'=>'IPTC Title',
+  'iptcCopyright'=>'IPTC Copyright',
+  'iptcKeywords'=>'IPTC Keywords',
+  'iptcCategory'=>'IPTC Category',
+  'iptcSubCategories'=>'IPTC Sub Categories',
+  'ColorSpace' => 'Colour Space',
+  'ExposureProgram' => 'Exposure Program', //cpg1.4
+  'Flash' => 'Flash', //cpg1.4
+  'MeteringMode' => 'Metering Mode', //cpg1.4
+  'ExposureTime' => 'Exposure Time', //cpg1.4
+  'ExposureBiasValue' => 'Exposure Bias', //cpg1.4
+  'ImageDescription' => ' Image Description', //cpg1.4
+  'Orientation' => 'Orientation', //cpg1.4
+  'xResolution' => 'X Resolution', //cpg1.4
+  'yResolution' => 'Y Resolution', //cpg1.4
+  'ResolutionUnit' => 'Resolution Unit', //cpg1.4
+  'Software' => 'Software', //cpg1.4
+  'YCbCrPositioning' => 'YCbCrPositioning', //cpg1.4
+  'ExifOffset' => 'Exif Offset', //cpg1.4
+  'IFD1Offset' => 'IFD1 Offset', //cpg1.4
+  'FNumber' => 'FNumber', //cpg1.4
+  'ExifVersion' => 'Exif Version', //cpg1.4
+  'DateTimeOriginal' => 'DateTime Original', //cpg1.4
+  'DateTimedigitized' => 'DateTime digitized', //cpg1.4
+  'ComponentsConfiguration' => 'Components Configuration', //cpg1.4
+  'CompressedBitsPerPixel' => 'Compressed Bits Per Pixel', //cpg1.4
+  'LightSource' => 'Light Source', //cpg1.4
+  'ISOSetting' => 'ISO Setting', //cpg1.4
+  'ColorMode' => 'Colour Mode',
+  'Quality' => 'Quality', //cpg1.4
+  'ImageSharpening' => 'Image Sharpening', //cpg1.4
+  'FocusMode' => 'Focus Mode', //cpg1.4
+  'FlashSetting' => 'Flash Setting', //cpg1.4
+  'ISOSelection' => 'ISO Selection', //cpg1.4
+  'ImageAdjustment' => 'Image Adjustment', //cpg1.4
+  'Adapter' => 'Adapter', //cpg1.4
+  'ManualFocusDistance' => 'Manual Focus Distance', //cpg1.4
+  'DigitalZoom' => 'Digital Zoom', //cpg1.4
+  'AFFocusPosition' => 'AF Focus Position', //cpg1.4
+  'Saturation' => 'Saturation', //cpg1.4
+  'NoiseReduction' => 'Noise Reduction', //cpg1.4
+  'FlashPixVersion' => 'Flash Pix Version', //cpg1.4
+  'ExifImageWidth' => 'Exif Image Width', //cpg1.4
+  'ExifImageHeight' => 'Exif Image Height', //cpg1.4
+  'ExifInteroperabilityOffset' => 'Exif Interoperability Offset', //cpg1.4
+  'FileSource' => 'File Source', //cpg1.4
+  'SceneType' => 'Scene Type', //cpg1.4
+  'CustomerRender' => 'Customer Render', //cpg1.4
+  'ExposureMode' => 'Exposure Mode', //cpg1.4
+  'WhiteBalance' => 'White Balance', //cpg1.4
+  'DigitalZoomRatio' => 'Digital Zoom Ratio', //cpg1.4
+  'SceneCaptureMode' => 'Scene Capture Mode', //cpg1.4
+  'GainControl' => 'Gain Control', //cpg1.4
+  'Contrast' => 'Contrast', //cpg1.4
+  'Sharpness' => 'Sharpness', //cpg1.4
+  'ManageExifDisplay' => 'Manage Exif Display', //cpg1.4
+  'submit' => 'Submit', //cpg1.4
+  'success' => 'Information updated successfully.', //cpg1.4
+  'details' => 'Details', //cpg1.4
+);
+
+$lang_display_comments = array(
+  'OK' => 'OK',
+  'edit_title' => 'Edit this comment',
+  'confirm_delete' => 'Are you sure you want to delete this comment ?', //js-alert
+  'add_your_comment' => 'Add your comment',
+  'name'=>'Name',
+  'comment'=>'Comment',
+  'your_name' => 'Anon',
+  'report_comment_title' => 'Report this comment to the administrator', //cpg1.4
+);
+
+$lang_fullsize_popup = array(
+  'click_to_close' => 'Click image to close this window',
+);
+
+}
+
+// ------------------------------------------------------------------------- //
+// File ecard.php
+// ------------------------------------------------------------------------- //
+
+if (defined('ECARDS_PHP') || defined('DISPLAYECARD_PHP')) $lang_ecard_php =array(
+  'title' => 'Send an e-card',
+  'invalid_email' => '<font color="red"><b>Warning</b></font>: invalid email address:', //cpg1.4
+  'ecard_title' => 'An e-card from %s for you',
+  'error_not_image' => 'Only images can be sent as an ecard.',
+  'view_ecard' => 'Alternate link if the e-card does not display correctly', //cpg1.4
+  'view_ecard_plaintext' => 'To view the ecard, copy and paste this url into your browser\'s address bar:', //cpg1.4
+  'view_more_pics' => 'View more pictures !', //cpg1.4
+  'send_success' => 'Your ecard was sent',
+  'send_failed' => 'Sorry but the server can\'t send your e-card...',
+  'from' => 'From',
+  'your_name' => 'Your name',
+  'your_email' => 'Your email address',
+  'to' => 'To',
+  'rcpt_name' => 'Recipient name',
+  'rcpt_email' => 'Recipient email address',
+  'greetings' => 'Heading', //cpg1.4
+  'message' => 'Message', //cpg1.4
+  'ecards_footer' => 'Sent by %s from IP %s at %s (Gallery time)', //cpg1.4
+  'preview' => 'Preview of the ecard', //cpg1.4
+  'preview_button' => 'Preview', //cpg1.4
+  'submit_button' => 'Send ecard', //cpg1.4
+  'preview_view_ecard' => 'This will be the alternate link to the ecard once it gets generated. It won\'t work for previews.', //cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File report_file.php //cpg1.4
+// ------------------------------------------------------------------------- //
+
+if (defined('REPORT_FILE_PHP') || defined('DISPLAYREPORT_PHP')) $lang_report_php =array(
+  'title' => 'Report to administrator', //cpg1.4
+  'invalid_email' => '<b>Warning</b> : invalid email address !', //cpg1.4
+  'report_subject' => 'A report from %s on a gallery %s', //cpg1.4
+  'view_report' => 'Alternate link if the report does not display correctly', //cpg1.4
+  'view_report_plaintext' => 'To view the report, copy and paste this url into your browser\'s address bar:', //cpg1.4
+  'view_more_pics' => 'Gallery', //cpg1.4
+  'send_success' => 'Your report was sent', //cpg1.4
+  'send_failed' => 'Sorry but the server can\'t send your report...', //cpg1.4
+  'from' => 'From', //cpg1.4
+  'your_name' => 'Your name', //cpg1.4
+  'your_email' => 'Your email address', //cpg1.4
+  'to' => 'To', //cpg1.4
+  'administrator' => 'Administrator/Mod', //cpg1.4
+  'subject' => 'Subject', //cpg1.4
+  'comment_field_name' => 'Reporting on Comment by "%s"', //cpg1.4
+  'reason' => 'Reason', //cpg1.4
+  'message' => 'Message', //cpg1.4
+  'report_footer' => 'Sent by %s from IP %s at %s (Gallery time)', //cpg1.4
+  'obscene' => 'obscene', //cpg1.4
+  'offensive' => 'offensive', //cpg1.4
+  'misplaced' => 'off-topic/misplaced', //cpg1.4
+  'missing' => 'missing', //cpg1.4
+  'issue' => 'error/cannot view', //cpg1.4
+  'other' => 'other', //cpg1.4
+  'refers_to' => 'File report refers to', //cpg1.4
+  'reasons_list_heading' => 'reason(s) for report:', //cpg1.4
+  'no_reason_given' => 'no reason was given', //cpg1.4
+  'go_comment' => 'Go to comment', //cpg1.4
+  'view_comment' => 'View full report with comment', //cpg1.4
+  'type_file' => 'file', //cpg1.4
+  'type_comment' => 'comment', //cpg1.4
+  'invalid_data' => 'The data for the report you are trying to access has been corrupted by your mail client. Check the link is complete.', //cpg1.4
+
+);
+
+// ------------------------------------------------------------------------- //
+// File editpics.php
+// ------------------------------------------------------------------------- //
+
+if (defined('EDITPICS_PHP')) $lang_editpics_php = array(
+  'pic_info' => 'File info',
+  'album' => 'Album',
+  'title' => 'Title',
+  'filename' => 'Filename', //cpg1.4
+  'desc' => 'Description',
+  'keywords' => 'Keywords',
+  'new_keyword' => 'New keyword', //cpg1.4
+  'new_keywords' => 'New keywords found', //cpg1.4
+  'existing_keyword' => 'Existing keyword', //cpg1.4
+  'pic_info_str' => '%s &times; %s - %s KB - %s views - %s votes',
+  'approve' => 'Approve file',
+  'postpone_app' => 'Postpone approval',
+  'del_pic' => 'Delete file',
+  'del_all' => 'Delete ALL files', //cpg1.4
+  'read_exif' => 'Read EXIF info again',
+  'reset_view_count' => 'Reset view counter',
+  'reset_all_view_count' => 'Reset ALL view counters', //cpg1.4
+  'reset_votes' => 'Reset votes',
+  'reset_all_votes' => 'Reset ALL votes', //cpg1.4
+  'del_comm' => 'Delete comments',
+  'del_all_comm' => 'Delete ALL comments', //cpg1.4
+  'upl_approval' => 'Upload approval', //cpg1.4
+  'edit_pics' => 'Edit files',
+  'see_next' => 'See next files',
+  'see_prev' => 'See previous files',
+  'n_pic' => '%s files',
+  'n_of_pic_to_disp' => 'Number of files to display',
+  'apply' => 'Apply modifications',
+  'crop_title' => 'Coppermine Picture Editor',
+  'preview' => 'Preview',
+  'save' => 'Save picture',
+  'save_thumb' =>'Save as thumbnail',
+  'gallery_icon' => 'Make this my icon', //cpg1.4
+  'sel_on_img' =>'The selection has to be entirely on the image!', //js-alert
+  'album_properties' =>'Album properties', //cpg1.4
+  'parent_category' =>'Parent category', //cpg1.4
+  'thumbnail_view' =>'Thumbnail view', //cpg1.4
+  'select_unselect' =>'select/unselect all', //cpg1.4
+  'file_exists' => "Destination file '%s' already exists.", //cpg1.4
+  'rename_failed' => "Failed to rename '%s' to '%s'.", //cpg1.4
+  'src_file_missing' => "Source file '%s' is missing.", // cpg 1.4
+  'mime_conv' => "Cannot convert file from '%s' to '%s'",//cpg1.4
+  'forb_ext' => 'Forbidden file extension.',//cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File faq.php
+// ------------------------------------------------------------------------- //
+
+if (defined('FAQ_PHP')) $lang_faq_php = array(
+  'faq' => 'Frequently Asked Questions',
+  'toc' => 'Table of contents',
+  'question' => 'Question: ',
+  'answer' => 'Answer: ',
+);
+
+if (defined('FAQ_PHP')) $lang_faq_data = array(
+  'General FAQ',
+  array('Why do I need to register?', 'Registration may or may not be required by the administrator. Registration gives a member additional features such as uploading, having a favourite list, rating pictures and posting comments etc.', 'allow_user_registration', '1'),
+  array('How do I register?', 'Go to &quot;Register&quot; and fill out the required fields (and the optional ones if you want to).<br />If the Administrator has Email Activation enabled, then after submitting your information you should recieve an email message at the address that you have submitted while registering, giving you instructions on how to activate your membership. Your membership must be activated in order for you to login.', 'allow_user_registration', '1'), //cpg1.4
+  array('How Do I login?', 'Go to &quot;Login&quot;, submit your username and password and check &quot;Remember Me&quot; so you will be logged in on the site if you should leave it.<br /><b>IMPORTANT:Cookies must be enabled and the cookie from this site must not be deleted in order to use &quot;Remember Me&quot;.</b>', 'offline', 0),
+  array('Why can I not login?', 'Did you register and click the link that was sent to you via email?. The link will activate your account. For other login problems contact the site administrator.', 'offline', 0),
+  array('What if I forgot my password?', 'If this site has a &quot;Forgot password&quot; link then use it. Other than that contact the site administrator for a new password.', 'offline', 0),
+  //array('What if I changed my email address?', 'Just simply login and change your email address through &quot;Profile&quot;', 'offline', 0),
+  array('How do I save a picture to &quot;My Favourites&quot;?', 'Click on a picture and click on the &quot;picture info&quot; link (<img src="images/info.gif" width="16" height="16" border="0" alt="Picture information" />); scroll down to the picture information set and click &quot;Add to fav&quot;.<br />The administrator may have the &quot;picture information&quot; on by default.<br />IMPORTANT:Cookies must be enabled and the cookie from this site must not be deleted.', 'offline', 0),
+  array('How do I rate a file?', 'Click on a thumbnail and go to the bottom and choose a rating.', 'offline', 0),
+  array('How do I post a comment for a picture?', 'Click on a thumbnail and go to the bottom and post a comment.', 'offline', 0),
+  array('How do I upload a file?', 'Go to &quot;Upload&quot;and select the album that you want to upload to. Click &quot;Browse,&quot; find the file to upload, and click &quot;open.&quot; Add a title and description if you want. Click &quot;Submit&quot;.<br /><br />Alternatively, for those users using <b>Windows XP</b>, you can upload multiple files directly to your own private albums using the XP Publishing wizard.<br />For instructions on how, and to get the required registry file, click <a href="xp_publish.php">here.</a>', 'allow_private_albums', 1), //cpg1.4
+  array('Where do I upload a picture to?', 'You will be able to upload a file to one of your albums in &quot;My Gallery&quot;. The Administrator may also allow you to upload a file to one or more of the albums in the Main Gallery.', 'allow_private_albums', 0),
+  array('What type and size of a file can I upload?', 'The size and type (jpg, png, etc.) is up to the administrator.', 'offline', 0),
+  array('How do I create, rename or delete an album in &quot;My Gallery&quot;?', 'You should already be in &quot;Admin-Mode&quot;<br />Go to &quot;Create/Order My Albums&quot;and click &quot;New&quot;. Change &quot;New Album&quot; to your desired name.<br />You can also rename any of the albums in your gallery.<br />Click &quot;Apply Modifications&quot;.', 'allow_private_albums', 0),
+  array('How can I modify and restrict users from viewing my albums?', 'You should already be in &quot;Admin Mode&quot;<br />Go to &quot;Modify My Albums. On the &quot;Update Album&quot; bar, select the album that you want to modify.<br />Here, you can change the name, description, thumbnail picture, restrict viewing and comment/rating permissions.<br />Click &quot;Update Album&quot;.', 'allow_private_albums', 0),
+  array('How can I view other users\' galleries?', 'Go to &quot;Album List&quot; and select &quot;User Galleries&quot;.', 'allow_private_albums', 0),
+  array('What are cookies?', 'Cookies are a plain text piece of data that is sent from a website and is put on to your computer.<br />Cookies usually allow a user to leave and return to the site without having to login again and other various chores.', 'offline', 0),
+  array('Where can I get this program for my site?', 'Coppermine is a free Multimedia Gallery, released under GNU GPL. It is full of features and has been ported to various platforms. Visit the <a href="http://coppermine-gallery.net/">Coppermine Home Page</a> to find out more or download it.', 'offline', 0),
+
+  'Navigating the Site',
+  array('What\'s &quot;Album List&quot;?', 'This will show you the entire category you are currently in, with a link to each album. If you are not in a category, it will show you the entire gallery with a link to each category. Thumbnails may be a link to the category.', 'offline', 0),
+  array('What\'s &quot;My Gallery&quot;?', 'This feature lets users create their own galleries and add, delete or modify albums as well as upload to them.', 'allow_private_albums', 1), //cpg1.4
+  array('What\'s the difference between &quot;Admin Mode&quot; and &quot;User Mode&quot;?', 'This feature, when in admin-mode, allows a user to modify their gallery (as well as others if allowed by the administrator).', 'allow_private_albums', 0),
+  array('What\'s &quot;Upload Picture&quot;?', 'This feature allows a user to upload a file (size and type is set by the site administrator) to a gallery selected by either you or the administrator.', 'allow_private_albums', 0),
+  array('What\'s &quot;Last Uploads&quot;?', 'This feature shows the last uploads to the site.', 'offline', 0),
+  array('What\'s &quot;Last Comments&quot;?', 'This feature shows the last comments along with the files posted by users.', 'offline', 0),
+  array('What\'s &quot;Most Viewed&quot;?', 'This feature shows the most viewed files by all users (whether logged in or not).', 'offline', 0),
+  array('What\'s &quot;Top Rated&quot;?', 'This feature shows the top rated files rated by the users, showing the average rating (e.g: five users each gave a <img src="images/rating3.gif" width="65" height="14" border="0" alt="" />: the file would have an average rating of <img src="images/rating3.gif" width="65" height="14" border="0" alt="" /> ;Five users rated the file from 1 to 5 (1,2,3,4,5) would result in an average <img src="images/rating3.gif" width="65" height="14" border="0" alt="" /> .)<br />The ratings go from <img src="images/rating5.gif" width="65" height="14" border="0" alt="best" /> (best) to <img src="images/rating0.gif" width="65" height="14" border="0" alt="worst" /> (worst).', 'offline', 0),
+  array('What\'s &quot;My Favourites&quot;?', 'This feature will let a user store a favourite file in the cookie that was sent to your computer.', 'offline', 0),
+);
+
+
+// ------------------------------------------------------------------------- //
+// File forgot_passwd.php
+// ------------------------------------------------------------------------- //
+
+if (defined('FORGOT_PASSWD_PHP')) $lang_forgot_passwd_php = array(
+  'forgot_passwd' => 'Password reminder',
+  'err_already_logged_in' => 'You are already logged in !',
+  'enter_email' => 'Enter your email address', //cpg1.4
+  'submit' => 'go',
+  'illegal_session' => 'Forgot password session invalid or has expired.', //cpg1.4
+  'failed_sending_email' => 'The password reminder email can\'t be sent !',
+  'email_sent' => 'An email with your username and new password was sent to %s', //cpg1.4
+  'verify_email_sent' => 'An email has been sent to %s. Please check your email to complete the process.', //cpg1.4
+  'err_unk_user' => 'Selected user does not exist!',
+  'account_verify_subject' => '%s - New password request', //cpg1.4
+  'account_verify_body' => 'You have requested to a new password. If you would like to proceed with having a new password sent to you, click on the following link:
+
+%s', //cpg1.4
+  'passwd_reset_subject' => '%s - Your New Password', //cpg1.4
+  'passwd_reset_body' => 'Here is the new password you requested:
+Username: %s
+Password: %s
+Click %s to log in.', //cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File groupmgr.php
+// ------------------------------------------------------------------------- //
+
+if (defined('GROUPMGR_PHP')) $lang_groupmgr_php = array(
+  'group_name' => 'Group', //cpg1.4
+  'permissions' => 'Permissions', //cpg1.4
+  'public_albums' => 'Public albums upload', //cpg1.4
+  'personal_gallery' => 'Personal gallery', //cpg1.4
+  'upload_method' => 'Upload method', //cpg1.4
+  'disk_quota' => 'Quota', //cpg1.4
+  'rating' => 'Rating', //cpg1.4
+  'ecards' => 'Ecards', //cpg1.4
+  'comments' => 'Comments', //cpg1.4
+  'allowed' => 'Allowed', //cpg1.4
+  'approval' => 'Approval', //cpg1.4
+  'boxes_number' => 'No. of boxes', //cpg1.4
+  'variable' => 'variable', //cpg1.4
+  'fixed' => 'fixed', //cpg1.4
+  'apply' => 'Apply modifications',
+  'create_new_group' => 'Create new group',
+  'del_groups' => 'Delete selected group(s)',
+  'confirm_del' => 'Warning, when you delete a group, users that belong to this group will be transferred to the \'Registered\' group !\n\nDo you want to proceed ?', //js-alert
+  'title' => 'Manage user groups',
+  'num_file_upload' => 'File upload boxes', //cpg1.4
+  'num_URI_upload' => 'URI upload boxes', //cpg1.4
+  'reset_to_default' => 'Reset to default name (%s) - recommended!', //cpg1.4
+  'error_group_empty' => 'Group table was empty !<br /><br />Default groups created, please reload this page', //cpg1.4
+  'explain_greyed_out_title' => 'Why is this row greyed out?', //cpg1.4
+  'explain_guests_greyed_out_text' => 'You can not change the properties of this group because you set the option &quot; Allow unlogged users (guest or anonymous) access&quot; to &quot;No&quot; on the config page. All guest (members of the group %s) can\'t do anything but login; therefor group settings don\'t apply for them.', //cpg1.4
+  'explain_banned_greyed_out_text' => 'You can not change the properties of the group %s because it\'s members can\'t do anything anyway.', //cpg1.4
+  'group_assigned_album' => 'assigned album(s)', //cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File index.php
+// ------------------------------------------------------------------------- //
+
+if (defined('INDEX_PHP')){
+
+$lang_index_php = array(
+  'welcome' => 'Welcome !',
+);
+
+$lang_album_admin_menu = array(
+  'confirm_delete' => 'Are you sure you want to DELETE this album ? \\nAll files and comments will also be deleted.', //js-alert
+  'delete' => 'DELETE',
+  'modify' => 'PROPERTIES',
+  'edit_pics' => 'EDIT FILES',
+);
+
+$lang_list_categories = array(
+  'home' => 'Home',
+  'stat1' => '<b>[pictures]</b> files in <b>[albums]</b> albums and <b>[cat]</b> categories with <b>[comments]</b> comments viewed <b>[views]</b> times',
+  'stat2' => '<b>[pictures]</b> files in <b>[albums]</b> albums viewed <b>[views]</b> times',
+  'xx_s_gallery' => '%s\'s Gallery',
+  'stat3' => '<b>[pictures]</b> files in <b>[albums]</b> albums with <b>[comments]</b> comments viewed <b>[views]</b> times',
+);
+
+$lang_list_users = array(
+  'user_list' => 'User list',
+  'no_user_gal' => 'There are no user galleries',
+  'n_albums' => '%s album(s)',
+  'n_pics' => '%s file(s)',
+);
+
+$lang_list_albums = array(
+  'n_pictures' => '%s files',
+  'last_added' => ', last one added on %s',
+  'n_link_pictures' => '%s linked files', //cpg1.4
+  'total_pictures' => '%s files total', //cpg1.4
+);
+
+}
+
+// ------------------------------------------------------------------------- //
+// File keywordmgr.php //cpg1.4
+// ------------------------------------------------------------------------- //
+
+if (defined('KEYWORDMGR_PHP')) $lang_keywordmgr_php = array(
+  'title' => 'Manage keywords', //cpg1.4
+  'edit' => 'edit', //cpg1.4
+  'delete' => 'delete', //cpg1.4
+  'search' => 'search', //cpg1.4
+  'keyword_test_search' => 'search for %s in new window', //cpg1.4
+  'keyword_del' => 'delete the keyword %s', //cpg1.4
+  'confirm_delete' => 'Are you sure you want to delete the keyword %s from the whole gallery?', //cpg1.4  // js-alert
+  'change_keyword' => 'change keyword', //cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File login.php
+// ------------------------------------------------------------------------- //
+
+if (defined('LOGIN_PHP')) $lang_login_php = array(
+  'login' => 'Login',
+  'enter_login_pswd' => 'Enter your username and password to login',
+  'username' => 'Username',
+  'password' => 'Password',
+  'remember_me' => 'Remember me',
+  'welcome' => 'Welcome %s ...',
+  'err_login' => '*** Couldn\'t log in. Try again ***',
+  'err_already_logged_in' => 'You are already logged in !',
+  'forgot_password_link' => 'I forgot my password',
+  'cookie_warning' => 'Warning your browser does not accept script\'s cookies', //cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File logout.php
+// ------------------------------------------------------------------------- //
+
+if (defined('LOGOUT_PHP')) $lang_logout_php = array(
+  'logout' => 'Logout',
+  'bye' => 'Bye bye %s ...',
+  'err_not_loged_in' => 'You are not logged in !',
+);
+
+// ------------------------------------------------------------------------- //
+// File minibrowser.php  //cpg1.4
+// ------------------------------------------------------------------------- //
+
+if (defined('MINIBROWSER_PHP')) $lang_minibrowser_php = array(
+  'close' => 'close', //cpg1.4
+  'submit' => 'OK', //cpg1.4
+  'up' => 'up one level', //cpg1.4
+  'current_path' => 'current path', //cpg1.4
+  'select_directory' => 'please select a directory', //cpg1.4
+  'click_to_close' => 'Click image to close this window',
+);
+
+// ------------------------------------------------------------------------- //
+// File modifyalb.php
+// ------------------------------------------------------------------------- //
+
+if (defined('MODIFYALB_PHP')) $lang_modifyalb_php = array(
+  'upd_alb_n' => 'Update album %s',
+  'general_settings' => 'General settings',
+  'alb_title' => 'Album title',
+  'alb_cat' => 'Album category',
+  'alb_desc' => 'Album description',
+  'alb_keyword' => 'Album Keyword', //cpg1.4
+  'alb_thumb' => 'Album thumbnail',
+  'alb_perm' => 'Permissions for this album',
+  'can_view' => 'Album can be viewed by',
+  'can_upload' => 'Visitors can upload files',
+  'can_post_comments' => 'Visitors can post comments',
+  'can_rate' => 'Visitors can rate files',
+  'user_gal' => 'User Gallery',
+  'no_cat' => '* No category *',
+  'alb_empty' => 'Album is empty',
+  'last_uploaded' => 'Last uploaded',
+  'public_alb' => 'Everybody (public album)',
+  'me_only' => 'Me only',
+  'owner_only' => 'Album owner (%s) only',
+  'groupp_only' => 'Members of the \'%s\' group',
+  'err_no_alb_to_modify' => 'No album you can modify in the database.',
+  'update' => 'Update album',
+  'reset_album' => 'Reset album', //cpg1.4
+  'reset_views' => 'Reset views counter to &quot;0&quot; in %s', //cpg1.4
+  'reset_rating' => 'Reset ratings on all files in %s', //cpg1.4
+  'delete_comments' => 'Delete all comments made in %s', //cpg1.4
+  'delete_files' => '%sIrreversibly%s delete all files in %s', //cpg1.4
+  'views' => 'views', //cpg1.4
+  'votes' => 'votes', //cpg1.4
+  'comments' => 'comments', //cpg1.4
+  'files' => 'files', //cpg1.4
+  'submit_reset' => 'submit changes', //cpg1.4
+  'reset_views_confirm' => 'I\'m sure', //cpg1.4
+  'notice1' => '(*) depending on %sgroups%s settings',  //cpg1.4 //(do not translate %s!)
+  'alb_password' => 'Album password', //cpg1.4
+  'alb_password_hint' => 'Album password hint', //cpg1.4
+  'edit_files' =>'Edit files', //cpg1.4
+  'parent_category' =>'Parent category', //cpg1.4
+  'thumbnail_view' =>'Thumbnail view', //cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File phpinfo.php
+// ------------------------------------------------------------------------- //
+
+if (defined('PHPINFO_PHP')) $lang_phpinfo_php = array(
+  'php_info' => 'PHP info',
+  'explanation' => 'This is the output generated by the PHP-function <a href="http://www.php.net/phpinfo">phpinfo()</a>, displayed within Coppermine (trimming the output at the right side).',
+  'no_link' => 'Having others see your phpinfo can be a security risk, that\'s why this page is only visible when you\'re logged in as admin. You can not post a link to this page for others, they will be denied access.',
+);
+
+// ------------------------------------------------------------------------- //
+// File picmgr.php //cpg1.4
+// ------------------------------------------------------------------------- //
+if (defined('PICMGR_PHP')) $lang_picmgr_php = array(
+  'pic_mgr' => 'Picture Manager', //cpg1.4
+  'select_album' => 'Select Album', //cpg1.4
+  'delete' => 'Delete', //cpg1.4
+  'confirm_delete1' => 'Are you sure you want to delete this picture ?', //cpg1.4
+  'confirm_delete2' => '\nPicture will be permanently deleted.', //cpg1.4
+  'apply_modifs' => 'Apply modifications', //cpg1.4
+  'confirm_modifs' => 'Confirm modifications', //cpg1.4
+  'pic_need_name' => 'Picture needs to have a name !', //cpg1.4
+  'no_change' => 'You did not make any change !', //cpg1.4
+  'no_album' => '* No album *', //cpg1.4
+  'explanation_header' => 'The custom sort order you can specify on this page will only be taken into account if', //cpg1.4
+  'explanation1' => 'the admin has set the "Default sort order for files" in the config to "Position descending" or "Position ascending" (global setting for all users who haven\'t chosen another sort option individually)', //cpg1.4
+  'explanation2' => 'the user has chosen "Position descending" or "Position ascending" on the thumbail page (per user setting)', //cpg1.4
+);
+
+
+// ------------------------------------------------------------------------- //
+// File pluginmgr.php //cpg1.4
+// ------------------------------------------------------------------------- //
+
+if (defined('PLUGINMGR_PHP')){
+
+$lang_pluginmgr_php = array(
+  'confirm_uninstall' => 'Are you sure you want to UNINSTALL this plugin', //cpg1.4
+  'confirm_delete' => 'Are you sure you want to DELETE this plugin', //cpg1.4
+  'pmgr' => 'Plugin Manager', //cpg1.4
+  'name' => 'Name', //cpg1.4
+  'author' => 'Author', //cpg1.4
+  'desc' => 'Description', //cpg1.4
+  'vers' => 'v', //cpg1.4
+  'i_plugins' => 'Installed Plugins', //cpg1.4
+  'n_plugins' => 'Plugins Not installed', //cpg1.4
+  'none_installed' => 'None Installed', //cpg1.4
+  'operation' => 'Operation', //cpg1.4
+  'not_plugin_package' => 'The file uploaded is not a plugin package.', //cpg1.4
+  'copy_error' => 'There was an error copying the package to the plugins folder.', //cpg1.4
+  'upload' => 'Upload', //cpg1.4
+  'configure_plugin' => 'Configure plugin', //cpg1.4
+  'cleanup_plugin' => 'Cleanup plugin', //cpg1.4
+);
+}
+
+// ------------------------------------------------------------------------- //
+// File ratepic.php
+// ------------------------------------------------------------------------- //
+
+if (defined('RATEPIC_PHP')) $lang_rate_pic_php = array(
+  'already_rated' => 'Sorry but you have already rated this file',
+  'rate_ok' => 'Your vote was accepted',
+  'forbidden' => 'You can not rate your own files.',
+);
+
+// ------------------------------------------------------------------------- //
+// File register.php & profile.php
+// ------------------------------------------------------------------------- //
+
+if (defined('REGISTER_PHP') || defined('PROFILE_PHP')) {
+
+$lang_register_disclamer = <<<EOT
+While the administrators of {SITE_NAME} will attempt to remove or edit any generally objectionable material as quickly as possible, it is impossible to review every post. Therefore you acknowledge that all posts made to this site express the views and opinions of the author and not the administrators or webmaster (except for posts by these people) and hence will not be held liable.<br />
+<br />
+You agree not to post any abusive, obscene, vulgar, slanderous, hateful, threatening, sexually-orientated or any other material that may violate any applicable laws. You agree that the webmaster, administrator and moderators of {SITE_NAME} have the right to remove or edit any content at any time should they see fit. As a user you agree to any information you have entered above being stored in a database. While this information will not be disclosed to any third party without your consent the webmaster and administrator cannot be held responsible for any hacking attempt that may lead to the data being compromised.<br />
+<br />
+This site uses cookies to store information on your local computer. These cookies serve only to improve your viewing pleasure. The email address is used only for confirming your registration details and password.<br />
+<br />
+By clicking 'I agree' below you agree to be bound by these conditions.
+EOT;
+
+$lang_register_php = array(
+  'page_title' => 'User registration',
+  'term_cond' => 'Terms and conditions',
+  'i_agree' => 'I agree',
+  'submit' => 'Submit registration',
+  'err_user_exists' => 'The username you have entered already exist, please choose a different one',
+  'err_password_mismatch' => 'The two passwords does not match, please input them again',
+  'err_uname_short' => 'Username must be 2 characters long minimum',
+  'err_password_short' => 'Password must be 2 characters long minimum',
+  'err_uname_pass_diff' => 'Username and password must be different',
+  'err_invalid_email' => 'Email address is invalid',
+  'err_duplicate_email' => 'Another user has already registered with the email address you entered',
+  'enter_info' => 'Input registration information',
+  'required_info' => 'Required information',
+  'optional_info' => 'Optional information',
+  'username' => 'Username',
+  'password' => 'Password',
+  'password_again' => 'Re-enter password',
+  'email' => 'Email',
+  'location' => 'Location',
+  'interests' => 'Interests',
+  'website' => 'Home page',
+  'occupation' => 'Occupation',
+  'error' => 'ERROR',
+  'confirm_email_subject' => '%s - Registration confirmation',
+  'information' => 'Information',
+  'failed_sending_email' => 'The registration confirmation email can\'t be send !',
+  'thank_you' => 'Thank you for registering.<br /><br />An email with information on how to activate your account was sent to the email address you provided.',
+  'acct_created' => 'Your account has been created and you can now login with your username and password',
+  'acct_active' => 'Your account is now active and you can login with your username and password',
+  'acct_already_act' => 'Account is already active!', //cpg1.4
+  'acct_act_failed' => 'This account can\'t be activated !',
+  'err_unk_user' => 'Selected user does not exist !',
+  'x_s_profile' => '%s\'s profile',
+  'group' => 'Group',
+  'reg_date' => 'Joined',
+  'disk_usage' => 'Disk usage',
+  'change_pass' => 'Change password',
+  'current_pass' => 'Current password',
+  'new_pass' => 'New password',
+  'new_pass_again' => 'New password again',
+  'err_curr_pass' => 'Current password is incorrect',
+  'apply_modif' => 'Apply modifications',
+  'change_pass' => 'Change my password',
+  'update_success' => 'Your profile was updated',
+  'pass_chg_success' => 'Your password was changed',
+  'pass_chg_error' => 'Your password was not changed',
+  'notify_admin_email_subject' => '%s - Registration notification',
+  'last_uploads' => 'Last uploaded file.<br />Click to see all uploads by', //cpg1.4
+  'last_comments' => 'Last comment.<br />Click to see all comments made by', //cpg1.4
+  'notify_admin_email_body' => 'A new user with the username "%s" has registered in your gallery',
+  'pic_count' => 'Files uploaded', //cpg1.4
+  'notify_admin_request_email_subject' => '%s - Registration request', //cpg1.4
+  'thank_you_admin_activation' => 'Thank you.<br /><br />Your request for account activation was sent to the admin. You will receive an email if approved.', //cpg1.4
+  'acct_active_admin_activation' => 'The account is now active and an email has been sent to the user.', //cpg1.4
+  'notify_user_email_subject' => '%s - Activation notification', //cpg1.4
+);
+
+$lang_register_confirm_email = <<<EOT
+Thank you for registering at {SITE_NAME}
+
+In order to activate your account with username "{USER_NAME}", you need to click on the link below or copy and paste it in your web browser.
+
+<a href="{ACT_LINK}">{ACT_LINK}</a>
+
+Regards,
+
+The management of {SITE_NAME}
+
+EOT;
+
+$lang_register_approve_email = <<<EOT
+A new user with the username "{USER_NAME}" has registered in your gallery.
+
+In order to activate the account, you need to click on the link below or copy and paste it in your web browser.
+
+<a href="{ACT_LINK}">{ACT_LINK}</a>
+
+EOT;
+
+$lang_register_activated_email = <<<EOT
+Your account has been approved and activated.
+
+You can now log in at <a href="{SITE_LINK}">{SITE_LINK}</a> using the username "{USER_NAME}"
+
+
+Regards,
+
+The management of {SITE_NAME}
+
+EOT;
+}
+
+// ------------------------------------------------------------------------- //
+// File reviewcom.php
+// ------------------------------------------------------------------------- //
+
+if (defined('REVIEWCOM_PHP')) $lang_reviewcom_php = array(
+  'title' => 'Review comments',
+  'no_comment' => 'There is no comment to review',
+  'n_comm_del' => '%s comment(s) deleted',
+  'n_comm_disp' => 'Number of comments to display',
+  'see_prev' => 'See previous',
+  'see_next' => 'See next',
+  'del_comm' => 'Delete selected comments',
+  'user_name' => 'Name', //cpg1.4
+  'date' => 'Date', //cpg1.4
+  'comment' => 'Comment', //cpg1.4
+  'file' => 'File', //cpg1.4
+  'name_a' => 'User name ascending', //cpg1.4
+  'name_d' => 'User name descending', //cpg1.4
+  'date_a' => 'Date ascending', //cpg1.4
+  'date_d' => 'Date descending', //cpg1.4
+  'comment_a' => 'Comment message ascending', //cpg1.4
+  'comment_d' => 'Comment message descending', //cpg1.4
+  'file_a' => 'File ascending', //cpg1.4
+  'file_d' => 'File descending', //cpg1.4
+);
+
+
+// ------------------------------------------------------------------------- //
+// File search.php                                                           //
+// ------------------------------------------------------------------------- //
+
+
+if (defined('SEARCH_PHP')){
+
+$lang_search_php = array(
+  'title' => 'Search the file collection', //cpg1.4
+  'submit_search' => 'search', //cpg1.4
+  'keyword_list_title' => 'Keyword list', //cpg1.4
+  'keyword_msg' => 'The above list is not all inclusive. It does not include words from photo titles or descriptions. Try a full-text search.',  //cpg1.4
+  'edit_keywords' => 'Edit keywords', //cpg1.4
+  'search in' => 'Search in:', //cpg1.4
+  'ip_address' => 'IP address', //cpg1.4
+  'fields' => 'Search in', //cpg1.4
+  'age' => 'Age', //cpg1.4
+  'newer_than' => 'Newer than', //cpg1.4
+  'older_than' => 'Older than', //cpg1.4
+  'days' => 'days', //cpg1.4
+  'all_words' => 'Match all words (AND)', //cpg1.4
+  'any_words' => 'Match any words (OR)', //cpg1.4
+);
+
+$lang_adv_opts = array(
+  'title' => 'Title', //cpg1.4
+  'caption' => 'Caption', //cpg1.4
+  'keywords' => 'Keywords', //cpg1.4
+  'owner_name' => 'Owner name', //cpg1.4
+  'filename' => 'Filename', //cpg1.4
+);
+
+}
+
+// ------------------------------------------------------------------------- //
+// File searchnew.php
+// ------------------------------------------------------------------------- //
+
+if (defined('SEARCHNEW_PHP')) $lang_search_new_php = array(
+  'page_title' => 'Search new files',
+  'select_dir' => 'Select directory',
+  'select_dir_msg' => 'This function allows you to add a batch of files that your have uploaded to your server by FTP.<br /><br />Select the directory where you have uploaded your files.', //cpg1.4
+  'no_pic_to_add' => 'There is no file to add',
+  'need_one_album' => 'You need at least one album to use this function',
+  'warning' => 'Warning',
+  'change_perm' => 'the script can\'t write in this directory, you need to change its mode to 755 or 777 before trying to add the files !',
+  'target_album' => '<b>Put files of &quot;</b>%s<b>&quot; into </b>%s',
+  'folder' => 'Folder',
+  'image' => 'file',
+  'album' => 'Album',
+  'result' => 'Result',
+  'dir_ro' => 'Not writable. ',
+  'dir_cant_read' => 'Not readable. ',
+  'insert' => 'Adding new files to the gallery',
+  'list_new_pic' => 'List of new files',
+  'insert_selected' => 'Insert selected files',
+  'no_pic_found' => 'No new file was found',
+  'be_patient' => 'Please be patient, the script needs time to add the files',
+  'no_album' => 'no album selected',
+  'result_icon' => 'click for details or to reload',  //cpg1.4
+  'notes' =>  '<ul>'.
+                          '<li><b>OK</b> : means that the file was succesfully added'.
+                          '<li><b>DP</b> : means that the file is a duplicate and is already in the database'.
+                          '<li><b>PB</b> : means that the file could not be added, check your configuration and the permission of directories where the files are located'.
+                          '<li><b>NA</b> : means that you haven\'t selected an album the files should go to, hit \'<a href="javascript:history.back(1)">back</a>\' and select an album. If you don\'t have an album <a href="albmgr.php">create one first</a></li>'.
+                          '<li>If the OK, DP, PB \'signs\' does not appear click on the broken file to see any error message produced by PHP'.
+                          '<li>If your browser timeouts, hit the reload button'.
+                          '</ul>',
+  'select_album' => 'select album',
+  'check_all' => 'Check All',
+  'uncheck_all' => 'Uncheck All',
+  'no_folders' => 'There are no folders inside the "albums" folder yet. Make sure to create at least one custom folder within "albums" folder and ftp-upload your files there. You mustn\'t upload to the "userpics" nor "edit" folders, they are reserved for http uploads and internal purposes.', //cpg1.4
+   'albums_no_category' => 'Albums with no category', //cpg1.4 // album pulldown mod, added by frogfoot
+  'personal_albums' => '* Personal albums', //cpg1.4 // album pulldown mod, added by frogfoot
+  'browse_batch_add' => 'Browsable interface (recommended)', //cpg1.4
+  'edit_pics' => 'Edit files', //cpg1.4
+  'edit_properties' => 'Album properties', //cpg1.4
+  'view_thumbs' => 'Thumbnail view', //cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File stat_details.php //cpg1.4
+// ------------------------------------------------------------------------- //
+
+if (defined('STAT_DETAILS_PHP')) $lang_stat_details_php = array(
+  'show_hide' => 'show/hide this column', //cpg1.4
+  'vote' => 'Vote Details', //cpg1.4
+  'hits' => 'Hit Details', //cpg1.4
+  'stats' => 'Vote Statistics', //cpg1.4
+  'sdate' => 'Date', //cpg1.4
+  'rating' => 'Rating', //cpg1.4
+  'search_phrase' => 'Search phrase', //cpg1.4
+  'referer' => 'Referer', //cpg1.4
+  'browser' => 'Browser', //cpg1.4
+  'os' => 'Operating System', //cpg1.4
+  'ip' => 'IP', //cpg1.4
+  'sort_by_xxx' => 'Sort by %s', //cpg1.4
+  'ascending' => 'ascending', //cpg1.4
+  'descending' => 'descending', //cpg1.4
+  'internal' => 'int', //cpg1.4
+  'close' => 'close', //cpg1.4
+  'hide_internal_referers' => 'hide internal referers', //cpg1.4
+  'date_display' => 'Date display', //cpg1.4
+  'submit' => 'submit / refresh', //cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File thumbnails.php
+// ------------------------------------------------------------------------- //
+
+// Void
+
+// ------------------------------------------------------------------------- //
+// File upload.php
+// ------------------------------------------------------------------------- //
+
+if (defined('UPLOAD_PHP')) $lang_upload_php = array(
+  'title' => 'Upload file',
+  'custom_title' => 'Customized Request Form',
+  'cust_instr_1' => 'You may select a customized number of upload boxes. However, you may not select more than the limits listed below.',
+  'cust_instr_2' => 'Box Number Requests',
+  'cust_instr_3' => 'File upload boxes: %s',
+  'cust_instr_4' => 'URI/URL upload boxes: %s',
+  'cust_instr_5' => 'URI/URL upload boxes:',
+  'cust_instr_6' => 'File upload boxes:',
+  'cust_instr_7' => 'Please enter the number of each type of upload box you desire at this time.  Then click \'Continue\'. ',
+  'reg_instr_1' => 'Invalid action for form creation.',
+  'reg_instr_2' => 'Now you may upload your files using the upload boxes below. The size of files uploaded from your client to the server should not exceed %s KB each. ZIP files uploaded in the \'File Upload\' and \'URI/URL Upload\' sections will remain compressed.',
+  'reg_instr_3' => 'If you want the zipped file or archive to be decompressed, you must use the file upload box provided in the \'Decompressive ZIP Upload\' area.',
+  'reg_instr_4' => 'When using the URI/URL upload section, please enter the path to the file like so: http://www.mysite.com/images/example.jpg',
+  'reg_instr_5' => 'When you have completed the form, please click \'Continue\'.',
+  'reg_instr_6' => 'Decompressive ZIP Uploads:',
+  'reg_instr_7' => 'File Uploads:',
+  'reg_instr_8' => 'URI/URL Uploads:',
+  'error_report' => 'Error Report',
+  'error_instr' => 'The following uploads encountered errors:',
+  'file_name_url' => 'File Name/URL',
+  'error_message' => 'Error Message',
+  'no_post' => 'File not uploaded by POST.',
+  'forb_ext' => 'Forbidden file extension.',
+  'exc_php_ini' => 'Exceeded filesize allowed in php.ini.',
+  'exc_file_size' => 'Exceeded filesize permitted by CPG.',
+  'partial_upload' => 'Only a partial upload.',
+  'no_upload' => 'No upload occurred.',
+  'unknown_code' => 'Unknown PHP upload error code.',
+  'no_temp_name' => 'No upload - No temp name.',
+  'no_file_size' => 'Contains no data/Corrupted',
+  'impossible' => 'Impossible to move.',
+  'not_image' => 'Not an image/corrupt',
+  'not_GD' => 'Not a GD extension.',
+  'pixel_allowance' => 'The height and or width of the uploaded picture is more than that allowed by the gallery config.', //cpg1.4
+  'incorrect_prefix' => 'Incorrect URI/URL prefix',
+  'could_not_open_URI' => 'Could not open URI.',
+  'unsafe_URI' => 'Safety not verifiable.',
+  'meta_data_failure' => 'Meta data failure',
+  'http_401' => '401 Unauthorized',
+  'http_402' => '402 Payment Required',
+  'http_403' => '403 Forbidden',
+  'http_404' => '404 Not Found',
+  'http_500' => '500 Internal Server Error',
+  'http_503' => '503 Service Unavailable',
+  'MIME_extraction_failure' => 'MIME could not be determined.',
+  'MIME_type_unknown' => 'Unknown MIME type',
+  'cant_create_write' => 'Cannot create write file.',
+  'not_writable' => 'Cannot write to write file.',
+  'cant_read_URI' => 'Cannot read URI/URL',
+  'cant_open_write_file' => 'Cannot open URI write file.',
+  'cant_write_write_file' => 'Cannot write to URI write file.',
+  'cant_unzip' => 'Cannot unzip.',
+  'unknown' => 'Unknown error',
+  'succ' => 'Successful Uploads',
+  'success' => '%s uploads were successful.',
+  'add' => 'Please click \'Continue\' to add the files to albums.',
+  'failure' => 'Upload Failure',
+  'f_info' => 'File Information',
+  'no_place' => 'The previous file could not be placed.',
+  'yes_place' => 'The previous file was placed successfully.',
+  'max_fsize' => 'Maximum allowed file size is %s KB',
+  'album' => 'Album',
+  'picture' => 'File',
+  'pic_title' => 'File title',
+  'description' => 'File description',
+  'keywords' => 'Keywords (separate with spaces)<br /><a href="#" onClick="return MM_openBrWindow(\'keyword_select.php\',\'selectKey\',\'width=250, height=400, scrollbars=yes,toolbar=no,status=yes,resizable=yes\')">Insert from list</a>', //cpg1.4
+  'keywords_sel' =>'Select a Keyword', //cpg1.4
+  'err_no_alb_uploadables' => 'Sorry there is no album where you are allowed to upload files',
+  'place_instr_1' => 'Please place the files in albums at this time.  You may also enter relevant information about each file now.',
+  'place_instr_2' => 'More files need placement. Please click \'Continue\'.',
+  'process_complete' => 'You have successfully placed all the files.',
+   'albums_no_category' => 'Albums with no category', //cpg1.4. //album pulldown mod, added by frogfoot
+  'personal_albums' => '* Personal albums', //cpg1.4 //album pulldown mod, added by frogfoot
+  'select_album' => 'Select album', //cpg1.4 //album pulldown mod, added by frogfoot
+  'close' => 'Close', //cpg1.4
+  'no_keywords' => 'Sorry, no keywords available!', //cpg1.4
+  'regenerate_dictionary' => 'Regenerate Dictionary', //cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File usermgr.php
+// ------------------------------------------------------------------------- //
+
+if (defined('USERMGR_PHP')) $lang_usermgr_php = array(
+  'memberlist' => 'Memberlist', //cpg1.4
+  'user_manager' => 'User manager', //cpg1.4
+  'title' => 'Manage users',
+  'name_a' => 'Name ascending',
+  'name_d' => 'Name descending',
+  'group_a' => 'Group ascending',
+  'group_d' => 'Group descending',
+  'reg_a' => 'Reg date ascending',
+  'reg_d' => 'Reg date descending',
+  'pic_a' => 'File count ascending',
+  'pic_d' => 'File count descending',
+  'disku_a' => 'Disk usage ascending',
+  'disku_d' => 'Disk usage descending',
+  'lv_a' => 'Last visit ascending',
+  'lv_d' => 'Last visit descending',
+  'sort_by' => 'Sort users by',
+  'err_no_users' => 'User table is empty !',
+  'err_edit_self' => 'You can\'t edit your own profile, use the \'My profile\' link for that',
+  'edit' => 'Edit', //cpg1.4
+  'with_selected' => 'With selected:', //cpg1.4
+  'delete' => 'Delete', //cpg1.4
+  'delete_files_no' => 'keep public files (but anonymize)', //cpg1.4
+  'delete_files_yes' => 'delete public files as well', //cpg1.4
+  'delete_comments_no' => 'keep comments (but anonymize)', //cpg1.4
+  'delete_comments_yes' => 'delete comments as well', //cpg1.4
+  'activate' => 'Activate', //cpg1.4
+  'deactivate' => 'Deactivate', //cpg1.4
+  'reset_password' => 'Reset Password', //cpg1.4
+  'change_primary_membergroup' => 'Change primary membergroup', //cpg1.4
+  'add_secondary_membergroup' => 'Add secondary membergroup', //cpg1.4
+  'name' => 'User name',
+  'group' => 'Group',
+  'inactive' => 'Inactive',
+  'operations' => 'Operations',
+  'pictures' => 'Files',
+  'disk_space_used' => 'Space used', //cpg1.4
+  'disk_space_quota' => 'Space Quota', //cpg1.4
+  'registered_on' => 'Registration', //cpg1.4
+  'last_visit' => 'Last Visit',
+  'u_user_on_p_pages' => '%d users on %d page(s)',
+  'confirm_del' => 'Are you sure you want to DELETE this user ? \\nAll his files and albums will also be deleted.', //js-alert
+  'mail' => 'MAIL',
+  'err_unknown_user' => 'Selected user does not exist !',
+  'modify_user' => 'Modify user',
+  'notes' => 'Notes',
+  'note_list' => '<li>If you don\'t want to change the current password, leave the "password" field blank',
+  'password' => 'Password',
+  'user_active' => 'User is active',
+  'user_group' => 'User group',
+  'user_email' => 'User email',
+  'user_web_site' => 'User web site',
+  'create_new_user' => 'Create new user',
+  'user_location' => 'User location',
+  'user_interests' => 'User interests',
+  'user_occupation' => 'User occupation',
+  'user_profile1' => '$user_profile1', //cpg1.4
+  'user_profile2' => '$user_profile2', //cpg1.4
+  'user_profile3' => '$user_profile3', //cpg1.4
+  'user_profile4' => '$user_profile4', //cpg1.4
+  'user_profile5' => '$user_profile5', //cpg1.4
+  'user_profile6' => '$user_profile6', //cpg1.4
+  'latest_upload' => 'Recent uploads',
+  'never' => 'never',
+  'search' => 'User search', //cpg1.4
+  'submit' => 'Submit', //cpg1.4
+  'search_submit' => 'Go!', //cpg1.4
+  'search_result' => 'Search results for: ', //cpg1.4
+  'alert_no_selection' => 'You have to select at least one user first!', //cpg1.4 //js-alert
+  'password' => 'password', //cpg1.4
+  'select_group' => 'Select group', //cpg1.4
+  'groups_alb_access' => 'Album permissions by group', //cpg1.4
+  'album' => 'Album', //cpg1.4
+  'category' => 'Category', //cpg1.4
+  'modify' => 'Modify?', //cpg1.4
+  'group_no_access' => 'This group has no special access', //cpg1.4
+  'notice' => 'Notice', //cpg1.4
+  'group_can_access' => 'Album(s) that only "%s" can access', //cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File util.php
+// ------------------------------------------------------------------------- //
+
+if (defined('UTIL_PHP')) {
+$lang_util_desc_php = array(
+'Updates titles from filename', //cpg1.4
+'Deletes titles', //cpg1.4
+'Rebuilds thumbnails and resized photos', //cpg1.4
+'Deletes original sized photos replacing them with the resized version', //cpg1.4
+'Deletes original or intermediate size photos to free webspace', //cpg1.4
+'Deletes orphaned comments', //cpg1.4
+'Re-reads file sizes and dimensions (if you manually edited pics)', //cpg1.4
+'Resets views counter', //cpg1.4
+'Displays phpinfo', //cpg1.4
+'Updates the database', //cpg1.4
+'Displays log files', //cpg1.4
+);
+$lang_util_php = array(
+  'title' => 'Admin utilities (Resize pictures)',
+  'what_it_does' => 'What it does',
+  'file' => 'File',
+  'problem' => 'Problem', //cpg1.4
+  'status' => 'Status', //cpg1.4
+  'title_set_to' => 'title set to',
+  'submit_form' => 'submit',
+  'updated_succesfully' => 'updated succesfully',
+  'error_create' => 'ERROR creating',
+  'continue' => 'Process more images',
+  'main_success' => 'The file %s was successfully used as main file',
+  'error_rename' => 'Error renaming %s to %s',
+  'error_not_found' => 'The file %s was not found',
+  'back' => 'back to main',
+  'thumbs_wait' => 'Updating thumbnails and/or resized images, please wait...',
+  'thumbs_continue_wait' => 'Continuing to update thumbnails and/or resized images...',
+  'titles_wait' => 'Updating titles, please wait...',
+  'delete_wait' => 'Deleting titles, please wait...',
+  'replace_wait' => 'Deleting originals and replacing them with resized images, please wait..',
+  'instruction' => 'Quick instructions',
+  'instruction_action' => 'Select action',
+  'instruction_parameter' => 'Set parameters',
+  'instruction_album' => 'Select album',
+  'instruction_press' => 'Press %s',
+  'update' => 'Update thumbs and/or resized photos',
+  'update_what' => 'What should be updated',
+  'update_thumb' => 'Only thumbnails',
+  'update_pic' => 'Only resized pictures',
+  'update_both' => 'Both thumbnails and resized pictures',
+  'update_number' => 'Number of processed images per click',
+  'update_option' => '(Try setting this option lower if you experience timeout problems)',
+  'filename_title' => 'Filename &rArr; File title',
+  'filename_how' => 'How should the filename be modified',
+  'filename_remove' => 'Remove the .jpg ending and replace _ (underscore) with spaces',
+  'filename_euro' => 'Change 2003_11_23_13_20_20.jpg to 23/11/2003 13:20',
+  'filename_us' => 'Change 2003_11_23_13_20_20.jpg to 11/23/2003 13:20',
+  'filename_time' => 'Change 2003_11_23_13_20_20.jpg to 13:20',
+  'delete' => 'Delete file titles or original size photos',
+  'delete_title' => 'Delete file titles',
+  'delete_title_explanation' => 'This will remove all titles on files in the album you specify.', //cpg1.4
+  'delete_original' => 'Delete original size photos',
+  'delete_original_explanation' => 'This will remove the full sized pictures.', //cpg1.4
+  'delete_intermediate' => 'Delete intermediate pictures', //cpg1.4
+  'delete_intermediate_explanation' => 'This will delete intermediate (normal) pictures.<br />Use this to free up disk space if you have disabled \'Create intermediate pictures\' in config after adding pictures.', //cpg1.4
+  'delete_replace' => 'Deletes the original images replacing them with the sized versions',
+  'titles_deleted' => 'All titles in specified album removed', //cpg1.4
+  'deleting_intermediates' => 'Deleting intermediate images, please wait...', //cpg1.4
+  'searching_orphans' => 'Searching for orphans, please wait...', //cpg1.4
+  'select_album' => 'Select album',
+  'delete_orphans' => 'Delete comments on missing files', //cpg1.4
+  'delete_orphans_explanation' => 'This will identify and allow you to delete any comments associated with files no longer in the gallery.<br />Checks all albums.', //cpg1.4
+  'refresh_db' => 'Reload file dimensions and size information', //cpg1.4
+  'refresh_db_explanation' => 'This will re-read file sizes and dimensions. Use this if quota\'s are incorrect or you have changed the files manually.', //cpg1.4
+  'reset_views' => 'Reset view counters', //cpg1.4
+  'reset_views_explanation' => 'Sets all file view counts to zero in the album specified.', //cpg1.4
+  'orphan_comment' => 'orphan comments found',
+  'delete' => 'Delete',
+  'delete_all' => 'Delete all',
+  'delete_all_orphans' => 'Delete all orphans?', //cpg1.4
+  'comment' => 'Comment: ',
+  'nonexist' => 'attached to non existant file # ',
+  'phpinfo' => 'Display phpinfo',
+  'phpinfo_explanation' => 'Contains technical information about your server.<br /> - You may be asked to provide information from this when requesting support.', //cpg1.4
+  'update_db' => 'Update database',
+  'update_db_explanation' => 'If you have replaced coppermine files, added a modification or upgraded from a previous version of coppermine, make sure to run the database update once. This will create the necessary tables and/or config values in your coppermine database.',
+  'view_log' => 'View log files', //cpg1.4
+  'view_log_explanation' => 'Coppermine can keep track of various actions users perform. You can browse those logs if you have enabled logging in <a href="admin.php">coppermine config</a>.', //cpg1.4
+  'versioncheck' => 'Check versions', //cpg1.4
+  'versioncheck_explanation' => 'Check your file versions to find out if you have replaced all files after an upgrade, or if coppermine source files have been updated after the release of a package.', //cpg1.4
+  'bridgemanager' => 'Bridge Manager', //cpg1.4
+  'bridgemanager_explanation' => 'Enable/disable integration (bridging) of Coppermine with another application (e.g. your BBS).', //cpg1.4
+);
+}
+
+// ------------------------------------------------------------------------- //
+// File versioncheck.php                                                     // cpg 1.4.0
+// ------------------------------------------------------------------------- //
+
+if (defined('VERSIONCHECK_PHP')) $lang_versioncheck_php = array(
+  'title' => 'Versioncheck',
+  'what_it_does' => 'This page is meant for users who have updated their coppermine install. This script goes through the files on your webserver and tries to determine if your local file versions on the webserver are the same as the ones from the repository at http://coppermine.sourceforge.net, this way displaying the files you were meant to update as well.<br />It will show everything in red that needs to be fixed. Entries in yellow need looking into. Entries in green (or your default font colour) are OK.<br />Click on the help icons to find out more.',
+  'online_repository_unable' => 'Unable to connect to online repository', //cpg1.4
+  'online_repository_noconnect' => 'Coppermine was unable to connect to the online repository. This can have two reasons:', //cpg1.4
+  'online_repository_reason1' => 'the coppermine online repository is currently down - check if you can browse this page: %s - if you can\'t access this page, try again later.', //cpg1.4
+  'online_repository_reason2' => 'PHP on your webserver is configured with %s turned off (by default, it\'s turned on). If the server is yours to administer, turn this option on in <i>php.ini</i> (at least allow it to be overridden with %s). If you\'re webhosted, you will probably have to live with the fact that you can\'t compare your files to the online repository. This page will then only display the file versions that came with your distribution - updates will not be displayed.', //cpg1.4
+  'online_repository_skipped' => 'Connection to online repository skipped', //cpg1.4
+  'online_repository_to_local' => 'The script is defaulting to the local copy of the version-files now. The data may be inacurate if you have upgraded Coppermine and you haven\'t uploaded all files. Changes to the files after the release won\'t be taken into account as well.', //cpg1.4
+  'local_repository_unable' => 'Unable to connect to the repository on your server', //cpg1.4
+  'local_repository_explanation' => 'Coppermine was unable to connect to the repository file %s on your webserver. This probably means that you haven\'t uploaded the repository file to your webserver. Do so now and then try to run this page once more (hit refresh).<br />If the script still fails, your webhost might have disabled parts of <a href="http://www.php.net/manual/en/ref.filesystem.php">PHP\'s filesystem functions</a> completely. In this case, you simply won\'t be able to use this tool at all, sorry.', //cpg1.4
+  'coppermine_version_header' => 'Installed Coppermine version', //cpg1.4
+  'coppermine_version_info' => 'You have currently installed: %s', //cpg1.4
+  'coppermine_version_explanation' => 'If you think this is entirely wrong and you\'re supposed to be running a higher version of Coppermine, you probably haven\'t uploaded the most recent version of the file <i>include/init.inc.php</i>', //cpg1.4
+  'version_comparison' => 'Version comparison', //cpg1.4
+  'folder_file' => 'folder/file', //cpg1.4
+  'coppermine_version' => 'cpg version', //cpg1.4
+  'file_version' => 'file version', //cpg1.4
+  'webcvs' => 'web svn', //cpg1.4
+  'writable' => 'writable', //cpg1.4
+  'not_writable' => 'not writable', //cpg1.4
+  'help' => 'Help', //cpg1.4
+  'help_file_not_exist_optional1' => 'file/folder does not exist', //cpg1.4
+  'help_file_not_exist_optional2' => 'The file/folder %s has not been found on your server. Although it is optional you should upload it (using your FTP client) to your webserver if you are experiencing problems.', //cpg1.4
+  'help_file_not_exist_mandatory1' => 'file/folder does not exist', //cpg1.4
+  'help_file_not_exist_mandatory2' => 'The file/folder %s has not been found on your server, although it is mandatory. Upload the file to your webserver (using your FTP client).', //cpg1.4
+  'help_no_local_version1' => 'No local file version', //cpg1.4
+  'help_no_local_version2' => 'The script was unable to extract a local file version - your file is either outdated or you have modified it, removing the header information on the way. Updating the file is recommended.', //cpg1.4
+  'help_local_version_outdated1' => 'Local version outdated', //cpg1.4
+  'help_local_version_outdated2' => 'Your version of this file seems to be from an older version of Coppermine (you probably upgraded). Make sure to update this file as well.', //cpg1.4
+  'help_local_version_na1' => 'Unable to extract subversion version info', //cpg1.4
+  'help_local_version_na2' => 'The script could not determine what subversion (SVN) version the file on your webserver is. You should upload the file from your package.', //cpg1.4
+  'help_local_version_dev1' => 'Development version', //cpg1.4
+  'help_local_version_dev2' => 'The file on your webserver seems to be newer than your Coppermine version. You are either using a development file (you should only do so if you know what you are doing), or you have upgraded your Coppermine install and not uploaded include/init.inc.php', //cpg1.4
+  'help_not_writable1' => 'Folder not writable', //cpg1.4
+  'help_not_writable2' => 'Change file permissions (CHMOD) to grant the script write access to the folder %s and everything within it.', //cpg1.4
+  'help_writable1' => 'Folder writable', //cpg1.4
+  'help_writable2' => 'The folder %s is writable. This is an unnecessary risk, coppermine only needs read/execute access.', //cpg1.4
+  'help_writable_undetermined' => 'Coppermine was not able to determine wether the folder is writable.', //cpg1.4
+  'your_file' => 'your file', //cpg1.4
+  'reference_file' => 'reference file', //cpg1.4
+  'summary' => 'Summary', //cpg1.4
+  'total' => 'Total files/folders checked', //cpg1.4
+  'mandatory_files_missing' => 'Mandatory files missing', //cpg1.4
+  'optional_files_missing' => 'Optional files missing', //cpg1.4
+  'files_from_older_version' => 'Files left over from outdated Coppermine version', //cpg1.4
+  'file_version_outdated' => 'Outdated file versions', //cpg1.4
+  'error_no_data' => 'The script made a boo, it was not able to retrieve any information. Sorry for the inconvenience.', //cpg1.4
+  'go_to_webcvs' => 'go to %s', //cpg1.4
+  'options' => 'Options', //cpg1.4
+  'show_optional_files' => 'show optional folders/files', //cpg1.4
+  'show_mandatory_files' => 'show mandatory files', //cpg1.4
+  'show_file_versions' => 'show file versions', //cpg1.4
+  'show_errors_only' => 'show folders/files with errors only', //cpg1.4
+  'show_permissions' => 'show folder permissions', //cpg1.4
+  'show_condensed_output' => 'show condensed ouput (for easier screenshots)', //cpg1.4
+  'coppermine_in_webroot' => 'coppermine is installed in the webroot', //cpg1.4
+  'connect_online_repository' => 'try connecting to the online repository', //cpg1.4
+  'show_additional_information' => 'show additional information', //cpg1.4
+  'no_webcvs_link' => 'don\'t display web svn link', //cpg1.4
+  'stable_webcvs_link' => 'display web svn link to stable branch', //cpg1.4
+  'devel_webcvs_link' => 'display web svn link to devel branch', //cpg1.4
+  'submit' => 'apply changes / refresh', //cpg1.4
+  'reset_to_defaults' => 'reset to default values', //cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File view_log.php  //cpg1.4
+// ------------------------------------------------------------------------- //
+
+if (defined('VIEWLOG_PHP')) $lang_viewlog_php = array(
+  'delete_all' => 'Delete All Logs', //cpg1.4
+  'delete_this' => 'Delete This Log', //cpg1.4
+  'view_logs' => 'View Logs', //cpg1.4
+  'no_logs' => 'No logs created.', //cpg1.4
+);
+
+
+// ------------------------------------------------------------------------- //
+// File xp_publish.php //cpg1.4
+// ------------------------------------------------------------------------- //
+
+if (defined('XP_PUBLISH_PHP')) {
+
+$lang_xp_publish_client = <<<EOT
+<h1>XP Web Publishing Wizard Client</h1><p>This module allows to use <b>Windows XP</b> web publishing wizard with Coppermine.</p><p>Code is based on article posted by
+EOT;
+
+$lang_xp_publish_required = <<<EOT
+<h2>What is required</h2><ul><li>Windows XP in order to have the wizard.</li><li>A working installation of Coppermine on which <b>the web upload function works properly.</b></li></ul><h2>How to install on client side</h2><ul><li>Right click on
+EOT;
+
+$lang_xp_publish_select = <<<EOT
+Select &quot;save target as..&quot;. Save the file on your hard drive. When saving the file, check that the proposed file name is <b>cpg_###.reg</b> (the ### represents a numerical timestamp). Change it to that name if necessary (leave the numbers). When downloaded, double click on the file in order to register your server with the web publishing wizard.</li></ul>
+EOT;
+
+$lang_xp_publish_testing = <<<EOT
+<h2>Testing</h2><ul><li>In Windows Explorer, select some files and click on <b>Publish xxx on the web</b> in the left pane.</li><li>Confirm your file selection. Click on <b>Next</b>.</li><li>In the list of services that appear, select the one for your photo gallery (it has the name of your gallery). If the service does not appear, check that you have installed <b>cpg_pub_wizard.reg</b> as described above.</li><li>Input your login information if required.</li><li>Select the target album for your pictures or create a new one.</li><li>Click on <b>next</b>. The upload of your pictures starts.</li><li>When it is completed, check your gallery to see if pictures have been properly added.</li></ul>
+EOT;
+
+$lang_xp_publish_notes = <<<EOT
+<h2>Notes :</h2><ul><li>Once the upload has started, the wizard can't display any error message returned by the script so you can't know if the upload failed or succeeded until you check your gallery.</li><li>If the upload fails, enable &quot;Debug mode&quot; on the Coppermine admin page, try with one single picture and check error messages in the
+EOT;
+
+$lang_xp_publish_flood = <<<EOT
+file that is located in Coppermine directory on your server.</li><li>In order to avoid that the gallery be <i>flooded</i> by pictures uploaded through the wizard, only the <b>gallery admins</b> and <b>users that can have their own albums</b> can use this feature.</li>
+EOT;
+
+
+
+$lang_xp_publish_php = array(
+  'title' => 'Coppermine - XP Web Publishing Wizard', //cpg1.4
+  'welcome' => 'Welcome <b>%s</b>,', //cpg1.4
+  'need_login' => 'You need to login to the gallery using your web browser before you can use this wizard.<p/><p>When you login don\'t forget to select the <b>remember me</b> option if it is present.', //cpg1.4
+  'no_alb' => 'Sorry but there is no album where you are allowed to upload pictures with this wizard.', //cpg1.4
+  'upload' => 'Upload your pictures into an existing album', //cpg1.4
+  'create_new' => 'Create a new album for your pictures', //cpg1.4
+  'album' => 'Album', //cpg1.4
+  'category' => 'Category', //cpg1.4
+  'new_alb_created' => 'Your new album &quot;<b>%s</b>&quot; was created.', //cpg1.4
+  'continue' => 'Press &quot;Next&quot; to start to upload your pictures', //cpg1.4
+  'link' => 'this link', //cpg1.4
+);
+}
 ?>
\ No newline at end of file
diff -x .svn -aruN 1.4.24.src/lang/english.php 1.4.25.src/lang/english.php
--- 1.4.24.src/lang/english.php	2009-05-25 15:01:17.000000000 -0500
+++ 1.4.25.src/lang/english.php	2009-05-26 11:25:40.000000000 -0500
@@ -1,2109 +1,2109 @@
-<?php
-/*************************
-  Coppermine Photo Gallery
-  ************************
-  Copyright (c) 2003-2009 Coppermine Dev Team
-  v1.1 originally written by Gregory DEMAR
-
-  This program is free software; you can redistribute it and/or modify
-  it under the terms of the GNU General Public License version 3
-  as published by the Free Software Foundation.
-
-  ********************************************
-  Coppermine version: 1.4.24
-  $HeadURL: https://coppermine.svn.sourceforge.net/svnroot/coppermine/trunk/cpg1.4.x/lang/english.php $
-  $Revision: 5988 $
-  $Author: gaugau $
-  $Date: 2009-05-25 22:01:41 +0200 (Mo, 25 Mai 2009) $
-**********************************************/
-
-if (!defined('IN_COPPERMINE')) { die('Not in Coppermine...');}
-
-// info about translators and translated language
-$lang_translation_info = array(
-  'lang_name_english' => 'English_US', //cpg1.4
-  'lang_name_native' => 'English_US', //cpg1.4
-  'lang_country_code' => 'us', //cpg1.4
-  'trans_name'=> 'Coppermine dev team',
-  'trans_email' => '',
-  'trans_website' => 'http://coppermine.sourceforge.net/',
-  'trans_date' => '2004-03-18',
-);
-
-$lang_charset = 'iso-8859-1';
-$lang_text_dir = 'ltr'; // ('ltr' for left to right, 'rtl' for right to left)
-
-// shortcuts for Byte, Kilo, Mega
-$lang_byte_units = array('Bytes', 'KB', 'MB');
-
-// Day of weeks and months
-$lang_day_of_week = array('Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat');
-$lang_month = array('Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec');
-
-// Some common strings
-$lang_yes = 'Yes';
-$lang_no  = 'No';
-$lang_back = 'BACK';
-$lang_continue = 'CONTINUE';
-$lang_info = 'Information';
-$lang_error = 'Error';
-$lang_check_uncheck_all = 'check/uncheck all'; //cpg1.4
-
-// The various date formats
-// See http://www.php.net/manual/en/function.strftime.php to define the variable below
-$album_date_fmt =    '%B %d, %Y';
-$lastcom_date_fmt =  '%m/%d/%y at %H:%M';
-$lastup_date_fmt = '%B %d, %Y';
-$register_date_fmt = '%B %d, %Y';
-$lasthit_date_fmt = '%B %d, %Y at %I:%M %p';
-$comment_date_fmt =  '%B %d, %Y at %I:%M %p';
-$log_date_fmt = '%B %d, %Y at %I:%M %p'; //cpg1.4
-
-// For the word censor
-$lang_bad_words = array('*fuck*', 'asshole', 'assramer', 'bitch*', 'c0ck', 'clits', 'Cock', 'cum', 'cunt*', 'dago', 'daygo', 'dego', 'dick*', 'dildo', 'fanculo', 'feces', 'foreskin', 'Fu\(*', 'fuk*', 'honkey', 'hore', 'injun', 'kike', 'lesbo', 'masturbat*', 'motherfucker', 'nazis', 'nigger*', 'nutsack', 'penis', 'phuck', 'poop', 'pussy', 'scrotum', 'shit', 'slut', 'titties', 'titty', 'twaty', 'wank*', 'whore', 'wop*');
-
-$lang_meta_album_names = array(
-  'random' => 'Random files',
-  'lastup' => 'Last additions',
-  'lastalb'=> 'Last updated albums',
-  'lastcom' => 'Last comments',
-  'topn' => 'Most viewed',
-  'toprated' => 'Top rated',
-  'lasthits' => 'Last viewed',
-  'search' => 'Search results',
-  'favpics'=> 'Favorite Files',  //cpg1.4
-);
-
-$lang_errors = array(
-  'access_denied' => 'You don\'t have permission to access this page.',
-  'perm_denied' => 'You don\'t have permission to perform this operation.',
-  'param_missing' => 'Script called without the required parameter(s).',
-  'non_exist_ap' => 'The selected album/file does not exist !',
-  'quota_exceeded' => 'Disk quota exceeded<br /><br />You have a space quota of [quota]K, your files currently use [space]K, adding this file would make you exceed your quota.',
-  'gd_file_type_err' => 'When using the GD image library allowed image types are only JPEG and PNG.',
-  'invalid_image' => 'The image you have uploaded is corrupted or can\'t be handled by the GD library',
-  'resize_failed' => 'Unable to create thumbnail or reduced size image.',
-  'no_img_to_display' => 'No image to display',
-  'non_exist_cat' => 'The selected category does not exist',
-  'orphan_cat' => 'A category has a non-existing parent, run the category manager to correct the problem!',
-  'directory_ro' => 'Directory \'%s\' is not writable, files can\'t be deleted',
-  'non_exist_comment' => 'The selected comment does not exist.',
-  'pic_in_invalid_album' => 'File is in a non existent album (%s)!?',
-  'banned' => 'You are currently banned from using this site.',
-  'not_with_udb' => 'This function is disabled in Coppermine because it is integrated with forum software. Either what you are trying to do is not supported in this configuration, or the function should be handled by the forum software.',
-  'offline_title' => 'Offline',
-  'offline_text' => 'Gallery is currently offline - check back soon',
-  'ecards_empty' => 'There are currently no ecard records to display.',
-  'action_failed' => 'Action failed.  Coppermine is unable to process your request.',
-  'no_zip' => 'The necessary libraries to process ZIP files are not available.  Please contact your Coppermine administrator.',
-  'zip_type' => 'You do not have permission to upload ZIP files.',
-  'database_query' => 'There was an error while processing a database query', //cpg1.4
-  'register_globals_on' => 'The PHP setting register_globals is enabled on your server, which is a bad idea in terms of security. It\'s strongly recommended to turn it off. [<a href="http://forum.coppermine-gallery.net/index.php/topic,59569.0.html" rel="external" class="external">more</a>]',
-);
-
-$lang_bbcode_help_title = 'bbcode help'; //cpg1.4
-$lang_bbcode_help = 'You can add clickable links and some formating to this field by using bbcode tags: <li>[b]Bold[/b] =&gt; <b>Bold</b></li><li>[i]Italic[/i] =&gt; <i>Italic</i></li><li>[url=http://yoursite.com/]Url Text[/url] =&gt; <a href="http://yoursite.com">Url Text</a></li><li>[email]user@domain.com[/email] =&gt; <a href="mailto:user@domain.com">user@domain.com</a></li><li>[color=red]some text[/color] =&gt; <span style="color:red">some text</span></li><li>[img]http://coppermine-gallery.net/demo/cpg14x/images/red.gif[/img] => <img src="../images/red.gif" border="0" alt="" /></li>'; //cpg1.4
-
-// ------------------------------------------------------------------------- //
-// File theme.php
-// ------------------------------------------------------------------------- //
-
-$lang_main_menu = array(
-  'home_title' => 'Go to the home page',
-  'home_lnk' => 'Home',
-  'alb_list_title' => 'Go to the album list',
-  'alb_list_lnk' => 'Album list',
-  'my_gal_title' => 'Go to my personal gallery',
-  'my_gal_lnk' => 'My gallery',
-  'my_prof_title' => 'Go to my personal profile', //cpg1.4
-  'my_prof_lnk' => 'My profile',
-  'adm_mode_title' => 'Switch to admin mode',
-  'adm_mode_lnk' => 'Admin mode',
-  'usr_mode_title' => 'Switch to user mode',
-  'usr_mode_lnk' => 'User mode',
-  'upload_pic_title' => 'Upload a file into an album',
-  'upload_pic_lnk' => 'Upload file',
-  'register_title' => 'Create an account',
-  'register_lnk' => 'Register',
-  'login_title' => 'Log me in', //cpg1.4
-  'login_lnk' => 'Login',
-  'logout_title' => 'Log me out', //cpg1.4
-  'logout_lnk' => 'Logout',
-  'lastup_title' => 'Show most recent uploads', //cpg1.4
-  'lastup_lnk' => 'Last uploads',
-  'lastcom_title' => 'Show most recent comments', //cpg1.4
-  'lastcom_lnk' => 'Last comments',
-  'topn_title' => 'Show most viewed items', //cpg1.4
-  'topn_lnk' => 'Most viewed',
-  'toprated_title' => 'Show top rated items', //cpg1.4
-  'toprated_lnk' => 'Top rated',
-  'search_title' => 'Search the gallery', //cpg1.4
-  'search_lnk' => 'Search',
-  'fav_title' => 'Go to my favorites', //cpg1.4
-  'fav_lnk' => 'My Favorites',
-  'memberlist_title' => 'Show Memberlist',
-  'memberlist_lnk' => 'Memberlist',
-  'faq_title' => 'Frequently Asked Questions on the picture gallery &quot;Coppermine&quot;',
-  'faq_lnk' => 'FAQ',
-);
-
-$lang_gallery_admin_menu = array(
-  'upl_app_title' => 'Approve new uploads', //cpg1.4
-  'upl_app_lnk' => 'Upload approval',
-  'admin_title' => 'Go to config', //cpg1.4
-  'admin_lnk' => 'Config', //cpg1.4
-  'albums_title' => 'Go to album configuration', //cpg1.4
-  'albums_lnk' => 'Albums',
-  'categories_title' => 'Go to category configuration', //cpg1.4
-  'categories_lnk' => 'Categories',
-  'users_title' => 'Go to user configuration', //cpg1.4
-  'users_lnk' => 'Users',
-  'groups_title' => 'Go to group configuration', //cpg1.4
-  'groups_lnk' => 'Groups',
-  'comments_title' => 'Review all comments', //cpg1.4
-  'comments_lnk' => 'Review Comments',
-  'searchnew_title' => 'Go to the batch add process', //cpg1.4
-  'searchnew_lnk' => 'Batch add files',
-  'util_title' => 'Go to the admin tools', //cpg1.4
-  'util_lnk' => 'Admin Tools',
-  'key_title' => 'Go to the keyword dictionary', //cpg1.4
-  'key_lnk' => 'Keyword Dictionary', //cpg1.4
-  'ban_title' => 'Go to the banned users', //cpg1.4
-  'ban_lnk' => 'Ban Users',
-  'db_ecard_title' => 'Review Ecards', //cpg1.4
-  'db_ecard_lnk' => 'Display Ecards',
-  'pictures_title' => 'Sort my pictures', //cpg1.4
-  'pictures_lnk' => 'Sort my pictures', //cpg1.4
-  'documentation_lnk' => 'Documentation', //cpg1.4
-  'documentation_title' => 'Coppermine manual', //cpg1.4
-);
-
-$lang_user_admin_menu = array(
-  'albmgr_title' => 'Create and order my albums', //cpg1.4
-  'albmgr_lnk' => 'Create / order my albums',
-  'modifyalb_title' => 'Go to modify my albums',  //cpg1.4
-  'modifyalb_lnk' => 'Modify my albums',
-  'my_prof_title' => 'Go to my personal profile', //cpg1.4
-  'my_prof_lnk' => 'My profile',
-);
-
-$lang_cat_list = array(
-  'category' => 'Category',
-  'albums' => 'Albums',
-  'pictures' => 'Files',
-);
-
-$lang_album_list = array(
-  'album_on_page' => '%d albums on %d page(s)',
-);
-
-$lang_thumb_view = array(
-  'date' => 'DATE',
-  //Sort by filename and title
-  'name' => 'FILE NAME',
-  'title' => 'TITLE',
-  'sort_da' => 'Sort by date ascending',
-  'sort_dd' => 'Sort by date descending',
-  'sort_na' => 'Sort by name ascending',
-  'sort_nd' => 'Sort by name descending',
-  'sort_ta' => 'Sort by title ascending',
-  'sort_td' => 'Sort by title descending',
-  'position' => 'POSITION', //cpg1.4
-  'sort_pa' => 'Sort by position ascending', //cpg1.4
-  'sort_pd' => 'Sort by position descending', //cpg1.4
-  'download_zip' => 'Download as Zip file',
-  'pic_on_page' => '%d files on %d page(s)',
-  'user_on_page' => '%d users on %d page(s)',
-  'enter_alb_pass' => 'Enter Album Password', //cpg1.4
-  'invalid_pass' => 'Invalid Password', //cpg1.4
-  'pass' => 'Password', //cpg1.4
-  'submit' => 'Submit', //cpg1.4
-);
-
-$lang_img_nav_bar = array(
-  'thumb_title' => 'Return to the thumbnail page',
-  'pic_info_title' => 'Display/hide file information',
-  'slideshow_title' => 'Slideshow',
-  'ecard_title' => 'Send this file as an e-card',
-  'ecard_disabled' => 'e-cards are disabled',
-  'ecard_disabled_msg' => 'You don\'t have permission to send ecards', //js-alert
-  'prev_title' => 'See previous file',
-  'next_title' => 'See next file',
-  'pic_pos' => 'FILE %s/%s',
-  'report_title' => 'Report this file to the administrator', //cpg1.4
-  'go_album_end' => 'Skip to end', //cpg1.4
-  'go_album_start' => 'Return to start', //cpg1.4
-  'go_back_x_items' => 'go back %s items', //cpg1.4
-  'go_forward_x_items' => 'go forward %s items', //cpg1.4
-);
-
-$lang_rate_pic = array(
-  'rate_this_pic' => 'Rate this file ',
-  'no_votes' => '(No vote yet)',
-  'rating' => '(current rating : %s / 5 with %s votes)',
-  'rubbish' => 'Rubbish',
-  'poor' => 'Poor',
-  'fair' => 'Fair',
-  'good' => 'Good',
-  'excellent' => 'Excellent',
-  'great' => 'Great',
-);
-
-// ------------------------------------------------------------------------- //
-// File include/exif.inc.php
-// ------------------------------------------------------------------------- //
-
-// void
-
-// ------------------------------------------------------------------------- //
-// File include/functions.inc.php
-// ------------------------------------------------------------------------- //
-
-$lang_cpg_die = array(
-  INFORMATION => $lang_info,
-  ERROR => $lang_error,
-  CRITICAL_ERROR => 'Critical error',
-  'file' => 'File: ',
-  'line' => 'Line: ',
-);
-
-$lang_display_thumbnails = array(
-  'filename' => 'Filename=', //cpg1.4
-  'filesize' => 'Filesize=', //cpg1.4
-  'dimensions' => 'Dimensions=', //cpg1.4
-  'date_added' => 'Date added=', //cpg1.4
-);
-
-$lang_get_pic_data = array(
-  'n_comments' => '%s comments',
-  'n_views' => '%s views',
-  'n_votes' => '(%s votes)',
-);
-
-$lang_cpg_debug_output = array(
-  'debug_info' => 'Debug Info',
-  'select_all' => 'Select All',
-  'copy_and_paste_instructions' => 'If you\'re going to request help on the coppermine support board, copy-and-paste this debug output into your posting when requested, along with the error message you get (if any). Make sure to replace any passwords from the query with *** before posting. <br />Note: This is for information only and does not mean there is an error with your gallery.', //cpg1.4
-  'phpinfo' => 'display phpinfo',
-  'notices' => 'Notices', //cpg1.4
-);
-
-$lang_language_selection = array(
-  'reset_language' => 'Default language',
-  'choose_language' => 'Choose your language',
-);
-
-$lang_theme_selection = array(
-  'reset_theme' => 'Default theme',
-  'choose_theme' => 'Choose a theme',
-);
-
-$lang_version_alert = array(
-  'version_alert' => 'Unsupported version!', //cpg1.4
-  'security_alert' => 'Security Alert!', //cpg1.4.3
-  'relocate_exists' => 'Remove the <a href="http://coppermine-gallery.net/forum/index.php?topic=24217.0">relocate_server.php</a> file from your website!',
-  'no_stable_version' => 'You are running Coppermine %s (%s) which is only meant for very experienced users - this version comes without support nor any warranties. Use it at your own risk or downgrade to the latest stable version if you need support!', //cpg1.4
-  'gallery_offline' => 'The gallery is currently offline and will be only visible for you as admin. Don\'t forget to switch it back online after finishing maintenance.', //cpg1.4
-);
-
-$lang_create_tabs = array(
-  'previous' => 'previous', //cpg1.4
-  'next' => 'next', //cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File include/init.inc.php
-// ------------------------------------------------------------------------- //
-
-// void
-
-// ------------------------------------------------------------------------- //
-// File keyword.inc.php                                                      //
-// ------------------------------------------------------------------------- //
-
-// void
-
-// ------------------------------------------------------------------------- //
-// File include/picmgmt.inc.php
-// ------------------------------------------------------------------------- //
-
-// void
-
-// ------------------------------------------------------------------------- //
-// File include/plugin_api.inc.php
-// ------------------------------------------------------------------------- //
-$lang_plugin_api = array(
-  'error_wakeup' => "Couldn't awaken plugin '%s'", //cpg1.4
-  'error_install' => "Couldn't install plugin '%s'", //cpg1.4
-  'error_uninstall' => "Couldn't uninstall plugin '%s'", //cpg1.4
-  'error_sleep' => "Couldn't uninstall plugin '%s'<br />", //cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File include/smilies.inc.php
-// ------------------------------------------------------------------------- //
-
-if (defined('SMILIES_PHP')) $lang_smilies_inc_php = array(
-  'Exclamation' => 'Exclamation',
-  'Question' => 'Question',
-  'Very Happy' => 'Very Happy',
-  'Smile' => 'Smile',
-  'Sad' => 'Sad',
-  'Surprised' => 'Surprised',
-  'Shocked' => 'Shocked',
-  'Confused' => 'Confused',
-  'Cool' => 'Cool',
-  'Laughing' => 'Laughing',
-  'Mad' => 'Mad',
-  'Razz' => 'Razz',
-  'Embarassed' => 'Embarrassed',
-  'Crying or Very sad' => 'Crying or Very sad',
-  'Evil or Very Mad' => 'Evil or Very Mad',
-  'Twisted Evil' => 'Twisted Evil',
-  'Rolling Eyes' => 'Rolling Eyes',
-  'Wink' => 'Wink',
-  'Idea' => 'Idea',
-  'Arrow' => 'Arrow',
-  'Neutral' => 'Neutral',
-  'Mr. Green' => 'Mr. Green',
-);
-
-// ------------------------------------------------------------------------- //
-// File addpic.php
-// ------------------------------------------------------------------------- //
-
-// void
-
-// ------------------------------------------------------------------------- //
-// File mode.php //cpg1.4
-// ------------------------------------------------------------------------- //
-
-if (defined('MODE_PHP')) $lang_mode_php = array(
-  0 => 'Leaving admin mode...',
-  1 => 'Entering admin mode...',
-);
-
-// ------------------------------------------------------------------------- //
-// File albmgr.php
-// ------------------------------------------------------------------------- //
-
-if (defined('ALBMGR_PHP')) $lang_albmgr_php = array(
-  'alb_need_name' => 'Albums need to have a name !', //js-alert
-  'confirm_modifs' => 'Are you sure you want to make these modifications ?', //js-alert
-  'no_change' => 'You did not make any change !', //js-alert
-  'new_album' => 'New album',
-  'confirm_delete1' => 'Are you sure you want to delete this album ?', //js-alert
-  'confirm_delete2' => '\nAll files and comments it contains will be lost !', //js-alert
-  'select_first' => 'Select an album first', //js-alert
-  'alb_mrg' => 'Album Manager',
-  'my_gallery' => '* My gallery *',
-  'no_category' => '* No category *',
-  'delete' => 'Delete',
-  'new' => 'New',
-  'apply_modifs' => 'Apply modifications',
-  'select_category' => 'Select category',
-);
-
-// ------------------------------------------------------------------------- //
-// File banning.php
-// ------------------------------------------------------------------------- //
-
-if (defined('BANNING_PHP')) $lang_banning_php = array(
-  'title' => 'Ban Users', //cpg1.4
-  'user_name' => 'User Name', //cpg1.4
-  'ip_address' => 'IP Address', //cpg1.4
-  'expiry' => 'Expires (blank is permanent)', //cpg1.4
-  'edit_ban' => 'Save Changes', //cpg1.4
-  'delete_ban' => 'Delete', //cpg1.4
-  'add_new' => 'Add New Ban', //cpg1.4
-  'add_ban' => 'Add', //cpg1.4
-  'error_user' => 'Cannot find user', //cpg1.4
-  'error_specify' => 'You need to specify either a user name or an IP address', //cpg1.4
-  'error_ban_id' => 'Invalid ban ID!', //cpg1.4
-  'error_admin_ban' => 'You cannot ban yourself!', //cpg1.4
-  'error_server_ban' => 'You were going to ban your own server? Tsk tsk, cannot do that...', //cpg1.4
-  'error_ip_forbidden' => 'You cannot ban this IP - it is non-routable (private) anyway!<br />If you want to allow banning for private IPs, change this in your <a href="admin.php">Config</a> (only makes sense when Coppermine runs on a LAN).', //cpg1.4
-  'lookup_ip' => 'Lookup an IP address', //cpg1.4
-  'submit' => 'go!', //cpg1.4
-  'select_date' => 'select date', //cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File bridgemgr.php //cpg1.4
-// ------------------------------------------------------------------------- //
-
-if (defined('BRIDGEMGR_PHP')) $lang_bridgemgr_php = array(
-  'title' => 'Bridge Wizard',
-  'warning' => 'Warning: when using this wizard you have to understand that sensitive data is being sent using html forms. Only run it on your own PC (not on a public client like an internet cafe), and make sure to clear the browser cache and temporary files after you have finished, or others might be able to access your data!',
-  'back' => 'back',
-  'next' => 'next',
-  'start_wizard' => 'Start bridging wizard',
-  'finish' => 'Finish',
-  'hide_unused_fields' => 'hide unused form fields (recommended)',
-  'clear_unused_db_fields' => 'clear invalid database entries (recommended)',
-  'custom_bridge_file' => 'your custom bridge file\'s name (if the bridge file\'s name is <i>myfile.inc.php</i>, enter <i>myfile</i> into this field)',
-  'no_action_needed' => 'No action needed in this step. Just click \'next\' to continue.',
-  'reset_to_default' => 'Reset to default value',
-  'choose_bbs_app' => 'choose application to bridge coppermine with',
-  'support_url' => 'Go here for support on this application',
-  'settings_path' => 'path(s) used by your BBS app',
-  'database_connection' => 'database connection',
-  'database_tables' => 'database tables',
-  'bbs_groups' => 'BBS groups',
-  'license_number' => 'License number',
-  'license_number_explanation' => 'enter your license number (if applicable)',
-  'db_database_name' => 'Database name',
-  'db_database_name_explanation' => 'Enter the name of the database your BBS app uses',
-  'db_hostname' => 'Database host',
-  'db_hostname_explanation' => 'Hostname where your mySQL database resides, usually &quot;localhost&quot;',
-  'db_username' => 'Database user account',
-  'db_username_explanation' => 'mySQL user account to use for connection with BBS',
-  'db_password' => 'Database password',
-  'db_password_explanation' => 'Password for this mySQL user account',
-  'full_forum_url' => 'Forum URL',
-  'full_forum_url_explanation' => 'Full URL of your BBS app (including the leading http:// bit, e.g. http://www.yourdomain.tld/forum)',
-  'relative_path_of_forum_from_webroot' => 'Relative forum path',
-  'relative_path_of_forum_from_webroot_explanation' => 'Relative path to your BBS app from the webroot (Example: if your BBS is at http://www.yourdomain.tld/forum/, enter &quot;/forum/&quot; into this field)',
-  'relative_path_to_config_file' => 'Relative path to your BBS\'s config file',
-  'relative_path_to_config_file_explanation' => 'Relative path to your BBS, seen from your Coppermine folder (e.g. &quot;../forum/&quot; if your BBS is at http://www.yourdomain.tld/forum/ and Coppermine at http://www.yourdomain.tld/gallery/)',
-  'cookie_prefix' => 'Cookie prefix',
-  'cookie_prefix_explanation' => 'this has to be your BBS\'s cookie name',
-  'table_prefix' => 'Table prefix',
-  'table_prefix_explanation' => 'Must match the prefix you chose for your BBS when setting it up.',
-  'user_table' => 'User table',
-  'user_table_explanation' => '(usually default value should be OK, unless your BBS install isn\'t standard)',
-  'session_table' => 'Session table',
-  'session_table_explanation' => '(usually default value should be OK, unless your BBS install isn\'t standard)',
-  'group_table' => 'Group table',
-  'group_table_explanation' => '(usually default value should be OK, unless your BBS install isn\'t standard)',
-  'group_relation_table' => 'Group relation table',
-  'group_relation_table_explanation' => '(usually default value should be OK, unless your BBS install isn\'t standard)',
-  'group_mapping_table' => 'Group mapping table',
-  'group_mapping_table_explanation' => '(usually default value should be OK, unless your BBS install isn\'t standard)',
-  'use_standard_groups' => 'Use standard BBS usergroups',
-  'use_standard_groups_explanation' => 'Use standard (built-in) usergroups (recommended). This will make all custom usergroups settings made on this page become void. Only disable this option if you REALLY know what you\'re doing!',
-  'validating_group' => 'Validating group',
-  'validating_group_explanation' => 'The group ID of your BBS where users accounts that need validation are in (usually default value should be OK, unless your BBS install isn\'t standard)',
-  'guest_group' => 'Guest group',
-  'guest_group_explanation' => 'Group ID of your BBS where guests (anonymous users) are in (default value should be OK, only edit if you know what you\'re doing)',
-  'member_group' => 'Member group',
-  'member_group_explanation' => 'Group ID of your BBS where &quot;regular&quot; users accounts are in (default value should be OK, only edit if you know what you\'re doing)',
-  'admin_group' => 'Admin group',
-  'admin_group_explanation' => 'Group ID of your BBS where admins are in (default value should be OK, only edit if you know what you\'re doing)',
-  'banned_group' => 'Banned group',
-  'banned_group_explanation' => 'Group ID of your BBS where banned users are in (default value should be OK, only edit if you know what you\'re doing)',
-  'global_moderators_group' => 'Global moderators group',
-  'global_moderators_group_explanation' => 'Group ID of your BBS where global moderators of your BBS are in (default value should be OK, only edit if you know what you\'re doing)',
-  'special_settings' => 'BBS-specific settings',
-  'logout_flag' => 'phpBB version (logout flag)',
-  'logout_flag_explanation' => 'What\'s your BBS version (this setting specifies how logouts are being handled)',
-  'use_post_based_groups' => 'Use post-based groups?',
-  'logout_flag_yes' => '2.0.5 or higher',
-  'logout_flag_no' => '2.0.4 or lower',
-  'use_post_based_groups_explanation' => 'Should the groups from the BBS that are defined by the number of posts be taken into account (allows a granular permissions management) or just the default groups (makes administration easier, recommended). You can change this setting later as well.',
-  'use_post_based_groups_yes' => 'yes',
-  'use_post_based_groups_no' => 'no',
-  'error_title' => 'You need to correct these errors before you can continue. Go to the previous screen.',
-  'error_specify_bbs' => 'You have to specify what application you want to bridge your Coppermine install with.',
-  'error_no_blank_name' => 'You can\'t leave the name of your custom bridge file blank.',
-  'error_no_special_chars' => 'The bridge file name mustn\'t contain any special chars except underscore (_) and dash (-)!',
-  'error_bridge_file_not_exist' => 'The bridge file %s doesn\'t exist on the server. Check if you have actually uploaded it.',
-  'finalize' => 'enable/disable BBS integration',
-  'finalize_explanation' => 'So far, the settings you specified have been written into the database, but BBS integration hasn\'t been enabled. You can switch integration on/off later at any time. Make sure to remember the admin username and password from standalone Coppermine, you might need it later to be able to make any changes. If anything goes wrong, go to %s and disable BBS integration there, using your standalone (unbridged) admin account (usually the one you set up during Coppermine install).',
-  'your_bridge_settings' => 'Your bridge settings',
-  'title_enable' => 'Enable integration/bridging with %s',
-  'bridge_enable_yes' => 'enable',
-  'bridge_enable_no' => 'disable',
-  'error_must_not_be_empty' => 'must not be empty',
-  'error_either_be' => 'must either be %s or %s',
-  'error_folder_not_exist' => '%s doesn\'t exist. Correct the value you entered for %s',
-  'error_cookie_not_readible' => 'Coppermine can\'t read a cookie named %s. Correct the value you entered for %s, or go to your BBS administration panel and make sure that the cookie path is readable for coppermine.',
-  'error_mandatory_field_empty' => 'You can not leave the field %s blank - fill in the proper value.',
-  'error_no_trailing_slash' => 'There mustn\'t be a trailing slash in the field %s.',
-  'error_trailing_slash' => 'There must be a trailing slash in the field %s.',
-  'error_db_connect' => 'Could not connect to the mySQL database with the data you specified. Here\'s what mySQL said:',
-  'error_db_name' => 'Although Coppermine could establish a connection, it wasn\'t able to find the database %s. Make sure you have specified %s properly. Here\'s what mySQL said:',
-  'error_prefix_and_table' => '%s and ',
-  'error_db_table' => 'Could not find the table %s. Make sure you have specified %s correctly.',
-  'recovery_title' => 'Bridge Manager: emergency recovery',
-  'recovery_explanation' => 'If you came here to administer the BBS integration of your Coppermine gallery, you have to log in first as admin. If you can not log in because bridging doesn\'t work as expected, you can disable BBS integration with this page. Entering your username and password will not log you in, it will only disable BBS integration. Refer to the documentation for details.',
-  'username' => 'Username',
-  'password' => 'Password',
-  'disable_submit' => 'submit',
-  'recovery_success_title' => 'Authorization successful',
-  'recovery_success_content' => 'You have successfully disabled BBS bridging. Your Coppermine install runs now in standalone mode.',
-  'recovery_success_advice_login' => 'Log in as admin to edit your bridge settings and/or enable BBS integration again.',
-  'goto_login' => 'Go to login page',
-  'goto_bridgemgr' => 'Go to bridge manager',
-  'recovery_failure_title' => 'Authorization failed',
-  'recovery_failure_content' => 'You supplied the wrong credentials. You will have to supply the admin account data of the standalone version (usually the account you set up during Coppermine install).',
-  'try_again' => 'try again',
-  'recovery_wait_title' => 'Wait time has not elapsed',
-  'recovery_wait_content' => 'For security reasons this script does not allow failed logons in short succession, so you will have to wait a bit untill you\'re allowed to try to authenticate.',
-  'wait' => 'wait',
-  'create_redir_file' => 'Create redirection file (recommended)',
-  'create_redir_file_explanation' => 'To redirect users back to Coppermine once they logged into your BBS, you need a redirection file to be created within your BBS folder. When this option is checked, the bridge manager will attempt to create this file for you, or give you code ready to copy-and-paste to create the file manually.',
-  'browse' => 'browse',
-);
-
-// ------------------------------------------------------------------------- //
-// File calendar.php //cpg1.4
-// ------------------------------------------------------------------------- //
-
-if (defined('CALENDAR_PHP')) $lang_calendar_php = array(
-  'title' => 'Calendar', //cpg1.4
-  'close' => 'close', //cpg1.4
-  'clear_date' => 'clear date', //cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File catmgr.php
-// ------------------------------------------------------------------------- //
-
-if (defined('CATMGR_PHP')) $lang_catmgr_php = array(
-  'miss_param' => 'Parameters required for \'%s\'operation not supplied !',
-  'unknown_cat' => 'Selected category does not exist in database',
-  'usergal_cat_ro' => 'User galleries category can\'t be deleted !',
-  'manage_cat' => 'Manage categories',
-  'confirm_delete' => 'Are you sure you want to DELETE this category', //js-alert
-  'category' => 'Category',
-  'operations' => 'Operations',
-  'move_into' => 'Move into',
-  'update_create' => 'Update/Create category',
-  'parent_cat' => 'Parent category',
-  'cat_title' => 'Category title',
-  'cat_thumb' => 'Category thumbnail',
-  'cat_desc' => 'Category description',
-  'categories_alpha_sort' => 'Sort categories alphabetically (instead of custom sort order)', //cpg1.4
-  'save_cfg' => 'Save configuration', //cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File admin.php //cpg1.4
-// ------------------------------------------------------------------------- //
-
-if (defined('ADMIN_PHP')) $lang_admin_php = array(
-  'title' => 'Gallery Configuration', //cpg1.4
-  'manage_exif' => 'Manage exif display', //cpg1.4
-  'manage_plugins' => 'Manage plugins', //cpg1.4
-  'manage_keyword' => 'Manage keywords', //cpg1.4
-  'restore_cfg' => 'Restore factory defaults',
-  'save_cfg' => 'Save new configuration',
-  'notes' => 'Notes',
-  'info' => 'Information',
-  'upd_success' => 'Coppermine configuration was updated',
-  'restore_success' => 'Coppermine default configuration restored',
-  'name_a' => 'Name ascending',
-  'name_d' => 'Name descending',
-  'title_a' => 'Title ascending',
-  'title_d' => 'Title descending',
-  'date_a' => 'Date ascending',
-  'date_d' => 'Date descending',
-  'pos_a' => 'Position ascending', //cpg1.4
-  'pos_d' => 'Position descending', //cpg1.4
-  'th_any' => 'Max Aspect',
-  'th_ht' => 'Height',
-  'th_wd' => 'Width',
-  'label' => 'label',
-  'item' => 'item',
-  'debug_everyone' => 'Everyone',
-  'debug_admin' => 'Admin only',
-  'no_logs'=> 'Off', //cpg1.4
-  'log_normal'=> 'Normal', //cpg1.4
-  'log_all' => 'All', //cpg1.4
-  'view_logs' => 'View logs', //cpg1.4
-  'click_expand' => 'click section name to expand', //cpg1.4
-  'expand_all' => 'Expand All', //cpg1.4
-  'notice1' => '(*) These settings mustn\'t be changed if you already have files in your database.', //cpg1.4 - (relocated)
-  'notice2' => '(**) When changing this setting, only the files that are added from that point on are affected, so it is advisable that this setting must not be changed if there are already files in the gallery. You can, however, apply the changes to the existing files with the &quot;<a href="util.php">admin tools</a> (resize pictures)&quot; utility from the admin menu.', //cpg1.4 - (relocated)
-  'notice3' => '(***) All log files are written in english.', //cpg1.4 - (relocated)
-  'bbs_disabled' => 'Function disabled when using bb integration', //cpg1.4
-  'auto_resize_everyone' => 'Everyone', //cpg1.4
-  'auto_resize_user' => 'User only', //cpg1.4
-  'ascending' => 'ascending', //cpg1.4
-  'descending' => 'descending', //cpg1.4
-);
-
-if (defined('ADMIN_PHP')) $lang_admin_data = array(
-  'General settings',
-  array('Gallery name', 'gallery_name', 0, 'f=index.htm&amp;as=admin_general_name&amp;ae=admin_general_name_end'), //cpg1.4
-  array('Gallery description', 'gallery_description', 0, 'f=index.htm&amp;as=admin_general_description&amp;ae=admin_general_description_end'), //cpg1.4
-  array('Gallery administrator email', 'gallery_admin_email', 0, 'f=index.htm&amp;as=admin_general_email&amp;ae=admin_general_email_end'), //cpg1.4
-  array('URL of your coppermine gallery folder (no \'index.php\' or similar at the end)', 'ecards_more_pic_target', 0, 'f=index.htm&amp;as=admin_general_coppermine-url&amp;ae=admin_general_coppermine-url_end'), //cpg1.4
-  array('URL of your home page', 'home_target', 0, 'f=index.htm&amp;as=admin_general_home-url&amp;ae=admin_general_home-url_end'), //cpg1.4
-  array('Allow ZIP-download of favorites', 'enable_zipdownload', 1, 'f=index.htm&amp;as=admin_general_zip-download&amp;ae=admin_general_zip-download_end'), //cpg1.4
-  array('Timezone difference relative to GMT (current time: ' . localised_date(-1, $comment_date_fmt) . ')','time_offset',0, 'f=index.htm&amp;as=admin_general_time-offset&amp;ae=admin_general_time-offset_end&amp;top=1'), //cpg1.4
-  array('Enable encrypted passwords (can not be undone)','enable_encrypted_passwords',1, 'f=index.htm&amp;as=admin_general_encrypt_password_start&amp;ae=admin_general_encrypt_password_end&amp;top=1'), // cpg 1.4
-  array('Enable help-icons (help available in English only)','enable_help',9, 'f=index.htm&amp;as=admin_general_help&amp;ae=admin_general_help_end'), //cpg1.4
-  array('Enable clickable keywords in search','clickable_keyword_search',14, 'f=index.htm&amp;as=admin_general_keywords_start&amp;ae=admin_general_keywords_end'), //cpg1.4
-  array('Enable plugins', 'enable_plugins', 12, 'f=index.htm&amp;as=admin_general_enable-plugins&amp;ae=admin_general_enable-plugins_end'),  //cpg1.4
-  array('Allow banning of non-routable (private) IP addresses', 'ban_private_ip', 1,  'f=index.htm&amp;as=admin_general_private-ip&amp;ae=admin_general_private-ip_end'), //cpg1.4
-  array('Browsable batch-add interface', 'browse_batch_add', 1, 'f=index.htm&amp;as=admin_general_browsable_batch_add&amp;ae=admin_general_browsable_batch_add_end'), //cpg1.4
-
-  'Language &amp; Charset settings',
-  array('Language', 'lang', 5, 'f=index.htm&amp;as=admin_language_language&amp;ae=admin_language_language_end'), //cpg1.4
-  array('Fallback to English if translated phrase not found?', 'language_fallback', 1, 'f=index.htm&amp;as=admin_language_fallback&amp;ae=admin_language_fallback_end'), //cpg1.4
-  array('Character encoding', 'charset', 4, 'f=index.htm&amp;as=admin_language_charset&amp;ae=admin_language_charset_end'), //cpg1.4
-  array('Display language list', 'language_list', 1, 'f=index.htm&amp;as=admin_language_list&amp;ae=admin_language_list_end'), //cpg1.4
-  array('Display language flags', 'language_flags', 8, 'f=index.htm&amp;as=admin_language_flags&amp;ae=admin_language_flags_end&amp;top=1'), //cpg1.4
-  array('Display &quot;reset&quot; in language selection', 'language_reset', 1, 'f=index.htm&amp;as=admin_language_reset&amp;ae=admin_language_reset_end&amp;top=1'), //cpg1.4
-  //array('Display previous/next on tabbed pages', 'previous_next_tab', 1), //cpg1.4
-
-  'Themes settings',
-  array('Theme', 'theme', 6, 'f=index.htm&amp;as=admin_theme_theme&amp;ae=admin_theme_theme_end'), //cpg1.4
-  array('Display theme list', 'theme_list', 1, 'f=index.htm&amp;as=admin_theme_theme_list&amp;ae=admin_theme_theme_list_end'), //cpg1.4
-  array('Display &quot;reset&quot; in theme selection', 'theme_reset', 1, 'f=index.htm&amp;as=admin_theme_theme_reset&amp;ae=admin_theme_theme_reset_end'), //cpg1.4
-  array('Display FAQ', 'display_faq', 1, 'f=index.htm&amp;as=admin_theme_faq&amp;ae=admin_theme_faq_end'), //cpg1.4
-  array('Custom menu link name', 'custom_lnk_name', 0,'f=index.htm&amp;as=admin_theme_custom_lnk_name&amp;ae=admin_theme_custom_lnk_name_end'), //cpg1.4
-  array('Custom menu link URL', 'custom_lnk_url', 0,'f=index.htm&amp;as=admin_language_custom_lnk_url&amp;ae=admin_language_custom_lnk_url_end'), //cpg1.4
-  array('Display bbcode help', 'show_bbcode_help', 1, 'f=index.htm&amp;as=admin_theme_bbcode&amp;ae=admin_theme_bbcode_end&amp;top=1'), //cpg1.4
-  array('Show the vanity block on themes that are defined as XHTML and CSS compliant','vanity_block',1, 'f=index.htm&amp;as=vanity_block&amp;ae=vanity_block_end'), //cpg1.4
-  array('Path to custom header include', 'custom_header_path', 0, 'f=index.htm&amp;as=admin_theme_include_path_start&amp;ae=admin_theme_include_path_end'), //cpg1.4
-  array('Path to custom footer include', 'custom_footer_path', 0, 'f=index.htm&amp;as=admin_theme_include_path_start&amp;ae=admin_theme_include_path_end'), //cpg1.4
-
-  'Album list view',
-  array('Width of the main table (pixels or %)', 'main_table_width', 0, 'f=index.htm&amp;as=admin_album_table-width&amp;ae=admin_album_table-width_end'), //cpg1.4
-  array('Number of levels of categories to display', 'subcat_level', 0, 'f=index.htm&amp;as=admin_album_category-levels&amp;ae=admin_album_category-levels_end'), //cpg1.4
-  array('Number of albums to display', 'albums_per_page', 0, 'f=index.htm&amp;as=admin_album_number&amp;ae=admin_album_number_end'), //cpg1.4
-  array('Number of columns for the album list', 'album_list_cols', 0, 'f=index.htm&amp;as=admin_album_columns&amp;ae=admin_album_columns_end'), //cpg1.4
-  array('Size of thumbnails in pixels', 'alb_list_thumb_size', 0, 'f=index.htm&amp;as=admin_album_thumbnail-size&amp;ae=admin_album_thumbnail-size_end'), //cpg1.4
-  array('The content of the main page', 'main_page_layout', 0, 'f=index.htm&amp;as=admin_album_list_content&amp;ae=admin_album_list_content_end'), //cpg1.4
-  array('Show first level album thumbnails in categories','first_level',1, 'f=index.htm&amp;as=admin_album_first-level_thumbs&amp;ae=admin_album_first-level_thumbs_end'), //cpg1.4
-  array('Sort categories alphabetically (instead of custom sort order)','categories_alpha_sort',1, 'f=index.htm&amp;as=admin_album_list_alphasort_start&amp;ae=admin_album_list_alphasort_end'), //cpg1.4
-  array('Show number of linked files','link_pic_count',1, 'f=index.htm&amp;as=admin_album_linked_files_start&amp;ae=admin_album_linked_files_end'), //cpg1.4
-
-  'Thumbnail view',
-  array('Number of columns on thumbnail page', 'thumbcols', 0, 'f=index.htm&amp;as=admin_thumbnail_columns&amp;ae=admin_thumbnail_columns_end'), //cpg1.4
-  array('Number of rows on thumbnail page', 'thumbrows', 0, 'f=index.htm&amp;as=admin_thumbnail_rows&amp;ae=admin_thumbnail_rows_end'), //cpg1.4
-  array('Maximum number of tabs to display', 'max_tabs', 10, 'f=index.htm&amp;as=admin_thumbnail_tabs&amp;ae=admin_thumbnail_tabs_end'), //cpg1.4
-  array('Display file caption (in addition to title) below the thumbnail', 'caption_in_thumbview', 1, 'f=index.htm&amp;as=admin_thumbnail_display_caption&amp;ae=admin_thumbnail_display_caption_end'), //cpg1.4
-  array('Display number of views below the thumbnail', 'views_in_thumbview', 1, 'f=index.htm&amp;as=admin_thumbnail_display_views&amp;ae=admin_thumbnail_display_views_end'), //cpg1.4
-  array('Display number of comments below the thumbnail', 'display_comment_count', 1, 'f=index.htm&amp;as=admin_thumbnail_display_comments&amp;ae=admin_thumbnail_display_comments_end'), //cpg1.4
-  array('Display uploader name below the thumbnail', 'display_uploader', 1, 'f=index.htm&amp;as=admin_thumbnail_display_uploader&amp;ae=admin_thumbnail_display_uploader_end'), //cpg1.4
-  //array('Display name of admin uploaders below the thumbnail', 'display_admin_uploader', 1, 'f=index.htm&amp;as=admin_thumbnail_display_admin_uploader&amp;ae=admin_thumbnail_display_admin_uploader_end'), //cpg1.4
-  array('Display file name below the thumbnail', 'display_filename', 1, 'f=index.htm&amp;as=admin_thumbnail_display_filename&amp;ae=admin_thumbnail_display_filename_end'), //cpg1.4
-  //array('Display album description', 'alb_desc_thumb', 1, 'f=index.htm&amp;as=admin_thumbnail_display_description&amp;ae=admin_thumbnail_display_description_end'), //cpg1.4
-  array('Default sort order for files', 'default_sort_order', 3, 'f=index.htm&amp;as=admin_thumbnail_default_sortorder&amp;ae=admin_thumbnail_default_sortorder_end'), //cpg1.4
-  array('Minimum number of votes for a file to appear in the \'top-rated\' list', 'min_votes_for_rating', 0, 'f=index.htm&amp;as=admin_thumbnail_minimum_votes&amp;ae=admin_thumbnail_minimum_votes_end'), //cpg1.4
-
-  'Image view', //cpg1.4
-  array('Width of the table for file display (pixels or %)', 'picture_table_width', 0, 'f=index.htm&amp;as=admin_image_comment_table-width&amp;ae=admin_image_comment_table-width_end'), //cpg1.4
-  array('File information is visible by default', 'display_pic_info', 1, 'f=index.htm&amp;as=admin_image_comment_info_visible&amp;ae=admin_image_comment_info_visible_end'), //cpg1.4
-  array('Max length for an image description', 'max_img_desc_length', 0, 'f=index.htm&amp;as=admin_image_comment_descr_length&amp;ae=admin_image_comment_descr_length_end'), //cpg1.4
-  array('Max number of characters in a word', 'max_com_wlength', 0, 'f=index.htm&amp;as=admin_image_comment_chars_per_word&amp;ae=admin_image_comment_chars_per_word_end'), //cpg1.4
-  array('Show film strip', 'display_film_strip', 1, 'f=index.htm&amp;as=admin_image_comment_filmstrip_toggle&amp;ae=admin_image_comment_filmstrip_toggle_end'), //cpg1.4
-  array('Display file name under film strip thumbnail', 'display_film_strip_filename', 1, 'f=index.htm&amp;as=admin_image_comment_display_film_strip_filename&amp;ae=admin_image_comment_display_film_strip_filename_end'), //cpg1.4
-  array('Number of items in film strip', 'max_film_strip_items', 0, 'f=index.htm&amp;as=admin_image_comment_filmstrip_number&amp;ae=admin_image_comment_filmstrip_number_end'), //cpg1.4
-  array('Slideshow interval in milliseconds (1 second = 1000 milliseconds)', 'slideshow_interval', 0, 'f=index.htm&amp;as=admin_image_comment_slideshow_interval&amp;ae=admin_image_comment_slideshow_interval_end'), //cpg1.4
-
-  'Comment settings', //cpg1.4
-  array('Filter bad words in comments', 'filter_bad_words', 1, 'f=index.htm&amp;as=admin_image_comment_bad_words&amp;ae=admin_image_comment_bad_words_end'), //cpg1.4
-  array('Allow smiles in comments', 'enable_smilies', 1, 'f=index.htm&amp;as=admin_image_comment_smilies&amp;ae=admin_image_comment_smilies_end'), //cpg1.4
-  array('Allow several consecutive comments on one file from the same user (disable flood protection)', 'disable_comment_flood_protect', 1, 'f=index.htm&amp;as=admin_image_comment_flood&amp;ae=admin_image_comment_flood_end'), //cpg1.4
-  array('Max number of lines in a comment', 'max_com_lines', 0, 'f=index.htm&amp;as=admin_image_comment_lines&amp;ae=admin_image_comment_lines_end'), //cpg1.4
-  array('Maximum length of a comment', 'max_com_size', 0, 'f=index.htm&amp;as=admin_image_comment_length&amp;ae=admin_image_comment_length_end'), //cpg1.4
-  array('Notify admin of comments by email', 'email_comment_notification', 1, 'f=index.htm&amp;as=admin_image_comment_admin_notify&amp;ae=admin_image_comment_admin_notify_end'), //cpg1.4
-  array('Sort order of comments', 'comments_sort_descending', 17, 'f=index.htm&amp;as=admin_comment_sort_start&amp;ae=admin_comment_sort_end'), //cpg1.4
-  array('Prefix for anonymous comments authors', 'comments_anon_pfx', 0, 'f=index.htm&amp;as=comments_anon_pfx&amp;ae=comments_anon_pfx_end'), //cpg1.4
-
-  'Files and thumbnails settings',
-  array('Quality for JPEG files', 'jpeg_qual', 0, 'f=index.htm&amp;as=admin_picture_thumbnail_jpeg_quality&amp;ae=admin_picture_thumbnail_jpeg_quality_end'), //cpg1.4
-  array('Max dimension of a thumbnail <a href="#notice2" class="clickable_option">**</a>', 'thumb_width', 0, 'f=index.htm&amp;as=admin_picture_thumbnail_max-dimension&amp;ae=admin_picture_thumbnail_max-dimension_end'), //cpg1.4
-  array('Use dimension ( width or height or Max aspect for thumbnail ) <a href="#notice2" class="clickable_option">**</a>', 'thumb_use', 7, 'f=index.htm&amp;as=admin_picture_thumbnail_use-dimension&amp;ae=admin_picture_thumbnail_use-dimension_end'), //cpg1.4
-  array('Create intermediate pictures','make_intermediate',1, 'f=index.htm&amp;as=admin_picture_thumbnail_intermediate_toggle&amp;ae=admin_picture_thumbnail_intermediate_toggle_end'), //cpg1.4
-  array('Max width or height of an intermediate picture/video <a href="#notice2" class="clickable_option">**</a>', 'picture_width', 0, 'f=index.htm&amp;as=admin_picture_thumbnail_intermediate_dimension&amp;ae=admin_picture_thumbnail_intermediate_dimension_end'), //cpg1.4
-  array('Max size for uploaded files (KB)', 'max_upl_size', 0, 'f=index.htm&amp;as=admin_picture_thumbnail_max_upload_size&amp;ae=admin_picture_thumbnail_max_upload_size_end'), //cpg1.4
-  array('Max width or height for uploaded pictures/videos (pixels)', 'max_upl_width_height', 0, 'f=index.htm&amp;as=admin_picture_thumbnail_max_upload_dimension&amp;ae=admin_picture_thumbnail_max_upload_dimension_end'), //cpg1.4
-  array('Auto resize images that are larger than max width or height', 'auto_resize', 16, 'f=index.htm&amp;as=admin_picture_thumbnail_auto-resize&amp;ae=admin_picture_thumbnail_auto-resize_end'), //cpg1.4
-
-  'Files and thumbnails advanced settings',
-  array('Albums can be private (Note: if you switch from \'yes\' to \'no\' any current private albums will become public)', 'allow_private_albums', 1, 'f=index.htm&amp;as=admin_picture_thumb_advanced_private_toggle&amp;ae=admin_picture_thumb_advanced_private_toggle_end'), //cpg1.4
-  array('Show private album Icon to unlogged user','show_private',1, 'f=index.htm&amp;as=admin_picture_thumb_advanced_private_icon_show&amp;ae=admin_picture_thumb_advanced_private_icon_show_end'), //cpg1.4
-  array('Characters forbidden in filenames', 'forbiden_fname_char',0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_filename_forbidden_chars&amp;ae=admin_picture_thumb_advanced_filename_forbidden_chars_end'), //cpg1.4
-  //array('Accepted file extensions for uploaded pictures', 'allowed_file_extensions',0, 'f=index.htm&amp;as=&amp;ae=_end'), //cpg1.4
-  array('Allowed image types', 'allowed_img_types',0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_pic_extensions&amp;ae=admin_picture_thumb_advanced_pic_extensions_end'), //cpg1.4
-  array('Allowed movie types', 'allowed_mov_types',0, 'f=index.htm&amp;as=admin_thumbs_advanced_movie&amp;ae=admin_thumbs_advanced_movie_end'), //cpg1.4
-  array('Movie Playback Autostart', 'media_autostart',1, 'f=index.htm&amp;as=admin_movie_autoplay&amp;ae=admin_movie_autoplay_end'), //cpg1.4
-  array('Allowed audio types', 'allowed_snd_types',0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_audio_extensions&amp;ae=admin_picture_thumb_advanced_audio_extensions_end'), //cpg1.4
-  array('Allowed document types', 'allowed_doc_types',0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_doc_extensions&amp;ae=admin_picture_thumb_advanced_doc_extensions_end'), //cpg1.4
-  array('Method for resizing images','thumb_method',2, 'f=index.htm&amp;as=admin_picture_thumb_advanced_resize_method&amp;ae=admin_picture_thumb_advanced_resize_method_end'), //cpg1.4
-  array('Path to ImageMagick \'convert\' utility (example /usr/bin/X11/)', 'impath', 0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_im_path&amp;ae=admin_picture_thumb_advanced_im_path_end'), //cpg1.4
-  //array('Allowed image types (only valid for ImageMagick)', 'allowed_img_types',0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_allowed_imagetypes&amp;ae=admin_picture_thumb_advanced_allowed_imagetypes_end'), //cpg1.4
-  array('Command line options for ImageMagick', 'im_options', 0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_im_commandline&amp;ae=admin_picture_thumb_advanced_im_commandline_end'), //cpg1.4
-  array('Read EXIF data in JPEG files', 'read_exif_data', 13, 'f=index.htm&amp;as=admin_picture_thumb_advanced_exif&amp;ae=admin_picture_thumb_advanced_exif_end'), //cpg1.4
-  array('Read IPTC data in JPEG files', 'read_iptc_data', 1, 'f=index.htm&amp;as=admin_picture_thumb_advanced_iptc&amp;ae=admin_picture_thumb_advanced_iptc_end'), //cpg1.4
-  array('The album directory <a href="#notice1" class="clickable_option">*</a>', 'fullpath', 0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_albums_dir&amp;ae=admin_picture_thumb_advanced_albums_dir_end'), //cpg1.4
-  array('The directory for user files <a href="#notice1" class="clickable_option">*</a>', 'userpics', 0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_userpics_dir&amp;ae=admin_picture_thumb_advanced_userpics_dir_end'), //cpg1.4
-  array('The prefix for intermediate pictures <a href="#notice1" class="clickable_option">*</a>', 'normal_pfx', 0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_intermediate_prefix&amp;ae=admin_picture_thumb_advanced_intermediate_prefix_end'), //cpg1.4
-  array('The prefix for thumbnails <a href="#notice1" class="clickable_option">*</a>', 'thumb_pfx', 0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_thumbs_prefix&amp;ae=admin_picture_thumb_advanced_thumbs_prefix_end'), //cpg1.4
-  array('Default mode for directories', 'default_dir_mode', 0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_chmod_folder&amp;ae=admin_picture_thumb_advanced_chmod_folder_end'), //cpg1.4
-  array('Default mode for files', 'default_file_mode', 0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_chmod_files&amp;ae=admin_picture_thumb_advanced_chmod_files_end'), //cpg1.4
-
-  'User settings',
-  array('Allow new user registrations', 'allow_user_registration', 1, 'f=index.htm&amp;as=admin_allow_registration&amp;ae=admin_allow_registration_end'), //cpg1.4
-  array('Allow unlogged users (guest or anonymous) access', 'allow_unlogged_access', 1, 'f=index.htm&amp;as=admin_allow_unlogged_access&amp;ae=admin_allow_unlogged_access_end'), //cpg1.4
-  array('User registration requires email verification', 'reg_requires_valid_email', 1, 'f=index.htm&amp;as=admin_registration_verify&amp;ae=admin_registration_verify_end'), //cpg1.4
-  array('Notify admin of user registration by email', 'reg_notify_admin_email', 1, 'f=index.htm&amp;as=admin_registration_notify&amp;ae=admin_registration_notify_end'), //cpg1.4
-  array('Admin activation of registrations', 'admin_activation', 1, 'f=index.htm&amp;as=admin_activation&amp;ae=admin_activation_end'),  //cpg1.4
-  array('Allow two users to have the same email address', 'allow_duplicate_emails_addr', 1, 'f=index.htm&amp;as=admin_allow_duplicate_emails_addr&amp;ae=admin_allow_duplicate_emails_addr_end'), //cpg1.4
-  array('Notify admin of user upload awaiting approval', 'upl_notify_admin_email', 1, 'f=index.htm&amp;as=admin_approval_notify&amp;ae=admin_approval_notify_end'), //cpg1.4
-  array('Allow logged in users to view memberlist', 'allow_memberlist', 1, 'f=index.htm&amp;as=admin_user_memberlist&amp;ae=admin_user_memberlist_end'), //cpg1.4
-  array('Allow users to change their email address in profile', 'allow_email_change', 1, 'f=index.htm&amp;as=admin_user_allow_email_change&amp;ae=admin_user_allow_email_change_end'), //cpg1.4
-  array('Allow users to retain control over their pics in public galleries', 'users_can_edit_pics', 1, 'f=index.htm&amp;as=admin_user_editpics_public_start&amp;ae=admin_user_editpics_public_end'), //cpg1.4
-  array('Number of failed login attempts until temporary ban (to avoid brute force attacks)', 'login_threshold', 0, 'f=index.htm&amp;as=admin_user_login_start&amp;ae=admin_user_login_end'), //cpg1.4
-  array('Duration of a temporary ban after failed logins', 'login_expiry', 0, 'f=index.htm&amp;as=admin_user_login_start&amp;ae=admin_user_login_end'), //cpg1.4
-  array('Enable Report to Admin', 'report_post', 1, 'f=index.htm&amp;as=admin_user_enable_report&amp;ae=admin_user_enable_report_end'),  //cpg1.4
-
-// custom profile fields,  //cpg1.4
-  'Custom fields for user profile (leave blank if unused).
-  Use Profile 6 for long entries, such as biographies', //cpg1.4
-  array('Profile 1 name', 'user_profile1_name', 0, 'f=index.htm&amp;as=admin_custom&amp;ae=admin_custom_end'), //cpg1.4
-  array('Profile 2 name', 'user_profile2_name', 0), //cpg1.4
-  array('Profile 3 name', 'user_profile3_name', 0), //cpg1.4
-  array('Profile 4 name', 'user_profile4_name', 0), //cpg1.4
-  array('Profile 5 name', 'user_profile5_name', 0), //cpg1.4
-  array('Profile 6 name', 'user_profile6_name', 0), //cpg1.4
-
-  'Custom fields for image description (leave blank if unused)',
-  array('Field 1 name', 'user_field1_name', 0, 'f=index.htm&amp;as=admin_custom_image&amp;ae=admin_custom_image_end'), //cpg1.4
-  array('Field 2 name', 'user_field2_name', 0),
-  array('Field 3 name', 'user_field3_name', 0),
-  array('Field 4 name', 'user_field4_name', 0),
-
-  'Cookies settings',
-  array('Cookie name', 'cookie_name', 0, 'f=index.htm&amp;as=admin_cookie_name&amp;ae=admin_cookie_name_end'), //cpg1.4
-  array('Cookie path', 'cookie_path', 0, 'f=index.htm&amp;as=admin_cookie_path&amp;ae=admin_cookie_path_end'), //cpg1.4
-
-  'Email settings  (usually nothing has to be changed here; leave all fields blank when not sure)', //cpg1.4
-  array('SMTP Host (when left blank, sendmail will be used)', 'smtp_host', 0, 'f=index.htm&amp;as=admin_email&amp;ae=admin_email_end'), //cpg1.4
-  array('SMTP Username', 'smtp_username', 0), //cpg1.4
-  array('SMTP Password', 'smtp_password', 0), //cpg1.4
-
-  'Logging and statistics', //cpg1.4
-  array('Logging mode <a href="#notice3" class="clickable_option">***</a>', 'log_mode', 11, 'f=index.htm&amp;as=admin_logging_log_mode&amp;ae=admin_logging_log_mode_end'), //cpg1.4
-  array('Log ecards', 'log_ecards', 1, 'f=index.htm&amp;as=admin_general_log_ecards&amp;ae=admin_general_log_ecards_end'), //cpg1.4
-  array('Keep detailed vote statistics','vote_details',1, 'f=index.htm&amp;as=admin_logging_votedetails&amp;ae=admin_logging_votedetails_end'), //cpg1.4
-  array('Keep detailed hit statistics','hit_details',1, 'f=index.htm&amp;as=admin_logging_hitdetails&amp;ae=admin_logging_hitdetails_end'), //cpg1.4
-
-  'Maintenance settings', //cpg1.4
-  array('Enable debug mode', 'debug_mode', 9, 'f=index.htm&amp;as=debug_mode&amp;ae=debug_mode_end'), //cpg1.4
-  array('Display notices in debug mode', 'debug_notice', 1, 'f=index.htm&amp;as=admin_misc_debug_notices&amp;ae=admin_misc_debug_notices_end'), //cpg1.4
-  array('Gallery is offline', 'offline', 1, 'f=index.htm&amp;as=admin_general_offline&amp;ae=admin_general_offline_end'), //cpg1.4
-);
-
-
-// ------------------------------------------------------------------------- //
-// File db_ecard.php
-// ------------------------------------------------------------------------- //
-
-if (defined('DB_ECARD_PHP')) $lang_db_ecard_php = array(
-  'title' => 'Sent ecards',
-  'ecard_sender' => 'Sender',
-  'ecard_recipient' => 'Recipient',
-  'ecard_date' => 'Date',
-  'ecard_display' => 'Display ecard',
-  'ecard_name' => 'Name',
-  'ecard_email' => 'Email',
-  'ecard_ip' => 'IP #',
-  'ecard_ascending' => 'ascending',
-  'ecard_descending' => 'descending',
-  'ecard_sorted' => 'Sorted',
-  'ecard_by_date' => 'by date',
-  'ecard_by_sender_name' => 'by sender\'s name',
-  'ecard_by_sender_email' => 'by sender\'s email',
-  'ecard_by_sender_ip' => 'by sender\'s IP address',
-  'ecard_by_recipient_name' => 'by recipient\'s name',
-  'ecard_by_recipient_email' => 'by recipient\'s email',
-  'ecard_number' => 'displaying record %s to %s of %s',
-  'ecard_goto_page' => 'go to page',
-  'ecard_records_per_page' => 'Records per page',
-  'check_all' => 'Check All',
-  'uncheck_all' => 'Uncheck All',
-  'ecards_delete_selected' => 'Delete selected ecards',
-  'ecards_delete_confirm' => 'Are you sure you want to delete the records? Tick the checkbox!',
-  'ecards_delete_sure' => 'I\'m sure',
-);
-
-
-// ------------------------------------------------------------------------- //
-// File db_input.php
-// ------------------------------------------------------------------------- //
-
-if (defined('DB_INPUT_PHP')) $lang_db_input_php = array(
-  'empty_name_or_com' => 'You need to type your name and a comment',
-  'com_added' => 'Your comment was added',
-  'alb_need_title' => 'You have to provide a title for the album !',
-  'no_udp_needed' => 'No update needed.',
-  'alb_updated' => 'The album was updated',
-  'unknown_album' => 'Selected album does not exist or you don\'t have permission to upload in this album',
-  'no_pic_uploaded' => 'No file was uploaded !<br /><br />If you have really selected a file to upload, check that the server allows file uploads...',
-  'err_mkdir' => 'Failed to create directory %s !',
-  'dest_dir_ro' => 'Destination directory %s is not writable by the script !',
-  'err_move' => 'Impossible to move %s to %s !',
-  'err_fsize_too_large' => 'The size of file you have uploaded is too large (maximum allowed is %s x %s) !', //obsolete since cpg1.3 - consider removal in cpg1.4 once upload.php has been overhauled
-  'err_imgsize_too_large' => 'The size of the file you have uploaded is too large (maximum allowed is %s KB) !', //obsolete since cpg1.3 - consider removal in cpg1.4 once upload.php has been overhauled
-  'err_invalid_img' => 'The file you have uploaded is not a valid image !',
-  'allowed_img_types' => 'You can only upload %s images.',
-  'err_insert_pic' => 'The file \'%s\' can\'t be inserted in the album ',
-  'upload_success' => 'Your file was uploaded successfully.<br /><br />It will be visible after admin approval.',
-  'notify_admin_email_subject' => '%s - Upload notification',
-  'notify_admin_email_body' => 'A picture has been uploaded by %s that needs your approval. Visit %s',
-  'info' => 'Information',
-  'com_added' => 'Comment added',
-  'alb_updated' => 'Album updated',
-  'err_comment_empty' => 'Your comment is empty !',
-  'err_invalid_fext' => 'Only files with the following extensions are accepted : <br /><br />%s.',
-  'no_flood' => 'Sorry but you are already the author of the last comment posted for this file<br /><br />Edit the comment you have posted if you want to modify it',
-  'redirect_msg' => 'You are being redirected.<br /><br /><br />Click \'CONTINUE\' if the page does not refresh automatically',
-  'upl_success' => 'Your file was successfully added',
-  'email_comment_subject' => 'Comment posted on Coppermine Photo Gallery',
-  'email_comment_body' => 'Someone has posted a comment on your gallery. See it at',
-  'album_not_selected' => 'Album not selected', //cpg1.4
-  'com_author_error' => 'A registered user is using this nickname, login or use another one', //cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File delete.php
-// ------------------------------------------------------------------------- //
-
-if (defined('DELETE_PHP')) $lang_delete_php = array(
-  'caption' => 'Caption',
-  'fs_pic' => 'full size image',
-  'del_success' => 'successfully deleted',
-  'ns_pic' => 'normal size image',
-  'err_del' => 'can\'t be deleted',
-  'thumb_pic' => 'thumbnail',
-  'comment' => 'comment',
-  'im_in_alb' => 'image in album',
-  'alb_del_success' => 'Album &laquo;%s&raquo; deleted', //cpg1.4
-  'alb_mgr' => 'Album Manager',
-  'err_invalid_data' => 'Invalid data received in \'%s\'',
-  'create_alb' => 'Creating album \'%s\'',
-  'update_alb' => 'Updating album \'%s\' with title \'%s\' and index \'%s\'',
-  'del_pic' => 'Delete file',
-  'del_alb' => 'Delete album',
-  'del_user' => 'Delete user',
-  'err_unknown_user' => 'The selected user does not exist !',
-  'err_empty_groups' => 'There\'s no group table, or the group table is empty!', //cpg1.4
-  'comment_deleted' => 'Comment was successfully deleted',
-  'npic' => 'Picture', //cpg1.4
-  'pic_mgr' => 'Picture Manager', //cpg1.4
-  'update_pic' => 'Updating picture \'%s\' with filename \'%s\' and index \'%s\'', //cpg1.4
-  'username' => 'Username', //cpg1.4
-  'anonymized_comments' => '%s comment(s) anonymized', //cpg1.4
-  'anonymized_uploads' => '%s public upload(s) anonymized', //cpg1.4
-  'deleted_comments' => '%s comment(s) deleted', //cpg1.4
-  'deleted_uploads' => '%s public upload(s) deleted', //cpg1.4
-  'user_deleted' => 'user %s deleted', //cpg1.4
-  'activate_user' => 'Activate user', //cpg1.4
-  'user_already_active' => 'Account has already been active', //cpg1.4
-  'activated' => 'Activated', //cpg1.4
-  'deactivate_user' => 'Deactivate user', //cpg1.4
-  'user_already_inactive' => 'Account has already been inactive', //cpg1.4
-  'deactivated' => 'Deactivated', //cpg1.4
-  'reset_password' => 'Reset password(s)', //cpg1.4
-  'password_reset' => 'Password reset to %s', //cpg1.4
-  'change_group' => 'Change primary group', //cpg1.4
-  'change_group_to_group' => 'Changing from %s to %s', //cpg1.4
-  'add_group' => 'Add secondary group', //cpg1.4
-  'add_group_to_group' => 'Adding user %s to group %s. He\'s now member of %s as primary and of %s as secondary membergroup(s).', //cpg1.4
-  'status' => 'Status', //cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File displayecard.php
-// ------------------------------------------------------------------------- //
-
-if (defined('DISPLAYECARD_PHP')) {
-
-$lang_displayecard_php = array(
-  'invalid_data' => 'The data for the ecard you are trying to access has been corrupted by your mail client. Check the link is complete.', //cpg1.4
-);
-}
-
-// ------------------------------------------------------------------------- //
-// File displayimage.php
-// ------------------------------------------------------------------------- //
-
-if (defined('DISPLAYIMAGE_PHP')){
-
-$lang_display_image_php = array(
-  'confirm_del' => 'Are you sure you want to DELETE this file ? \\nComments will also be deleted.', //js-alert
-  'del_pic' => 'DELETE THIS FILE',
-  'size' => '%s x %s pixels',
-  'views' => '%s times',
-  'slideshow' => 'Slideshow',
-  'stop_slideshow' => 'STOP SLIDESHOW',
-  'view_fs' => 'Click to view full size image',
-  'edit_pic' => 'Edit file information', //cpg1.4
-  'crop_pic' => 'Crop and Rotate',
-  'set_player' => 'Change player',
-);
-
-$lang_picinfo = array(
-  'title' =>'File information',
-  'Filename' => 'Filename',
-  'Album name' => 'Album name',
-  'Rating' => 'Rating (%s votes)',
-  'Keywords' => 'Keywords',
-  'File Size' => 'File Size',
-  'Date Added' => 'Date added', //cpg1.4
-  'Dimensions' => 'Dimensions',
-  'Displayed' => 'Displayed',
-  'URL' => 'URL', //cpg1.4
-  'Make' => 'Make', //cpg1.4
-  'Model' => 'Model', //cpg1.4
-  'DateTime' => 'Date Time', //cpg1.4
-  'ISOSpeedRatings'=>'ISO', //cpg1.4
-  'MaxApertureValue' => 'Max Aperture', //cpg1.4
-  'FocalLength' => 'Focal length', //cpg1.4
-  'Comment' => 'Comment',
-  'addFav'=>'Add to Favorites',
-  'addFavPhrase'=>'Favorites',
-  'remFav'=>'Remove from Favorites',
-  'iptcTitle'=>'IPTC Title',
-  'iptcCopyright'=>'IPTC Copyright',
-  'iptcKeywords'=>'IPTC Keywords',
-  'iptcCategory'=>'IPTC Category',
-  'iptcSubCategories'=>'IPTC Sub Categories',
-  'ColorSpace' => 'Color Space', //cpg1.4
-  'ExposureProgram' => 'Exposure Program', //cpg1.4
-  'Flash' => 'Flash', //cpg1.4
-  'MeteringMode' => 'Metering Mode', //cpg1.4
-  'ExposureTime' => 'Exposure Time', //cpg1.4
-  'ExposureBiasValue' => 'Exposure Bias', //cpg1.4
-  'ImageDescription' => ' Image Description', //cpg1.4
-  'Orientation' => 'Orientation', //cpg1.4
-  'xResolution' => 'X Resolution', //cpg1.4
-  'yResolution' => 'Y Resolution', //cpg1.4
-  'ResolutionUnit' => 'Resolution Unit', //cpg1.4
-  'Software' => 'Software', //cpg1.4
-  'YCbCrPositioning' => 'YCbCrPositioning', //cpg1.4
-  'ExifOffset' => 'Exif Offset', //cpg1.4
-  'IFD1Offset' => 'IFD1 Offset', //cpg1.4
-  'FNumber' => 'FNumber', //cpg1.4
-  'ExifVersion' => 'Exif Version', //cpg1.4
-  'DateTimeOriginal' => 'DateTime Original', //cpg1.4
-  'DateTimedigitized' => 'DateTime digitized', //cpg1.4
-  'ComponentsConfiguration' => 'Components Configuration', //cpg1.4
-  'CompressedBitsPerPixel' => 'Compressed Bits Per Pixel', //cpg1.4
-  'LightSource' => 'Light Source', //cpg1.4
-  'ISOSetting' => 'ISO Setting', //cpg1.4
-  'ColorMode' => 'Color Mode', //cpg1.4
-  'Quality' => 'Quality', //cpg1.4
-  'ImageSharpening' => 'Image Sharpening', //cpg1.4
-  'FocusMode' => 'Focus Mode', //cpg1.4
-  'FlashSetting' => 'Flash Setting', //cpg1.4
-  'ISOSelection' => 'ISO Selection', //cpg1.4
-  'ImageAdjustment' => 'Image Adjustment', //cpg1.4
-  'Adapter' => 'Adapter', //cpg1.4
-  'ManualFocusDistance' => 'Manual Focus Distance', //cpg1.4
-  'DigitalZoom' => 'Digital Zoom', //cpg1.4
-  'AFFocusPosition' => 'AF Focus Position', //cpg1.4
-  'Saturation' => 'Saturation', //cpg1.4
-  'NoiseReduction' => 'Noise Reduction', //cpg1.4
-  'FlashPixVersion' => 'Flash Pix Version', //cpg1.4
-  'ExifImageWidth' => 'Exif Image Width', //cpg1.4
-  'ExifImageHeight' => 'Exif Image Height', //cpg1.4
-  'ExifInteroperabilityOffset' => 'Exif Interoperability Offset', //cpg1.4
-  'FileSource' => 'File Source', //cpg1.4
-  'SceneType' => 'Scene Type', //cpg1.4
-  'CustomerRender' => 'Customer Render', //cpg1.4
-  'ExposureMode' => 'Exposure Mode', //cpg1.4
-  'WhiteBalance' => 'White Balance', //cpg1.4
-  'DigitalZoomRatio' => 'Digital Zoom Ratio', //cpg1.4
-  'SceneCaptureMode' => 'Scene Capture Mode', //cpg1.4
-  'GainControl' => 'Gain Control', //cpg1.4
-  'Contrast' => 'Contrast', //cpg1.4
-  'Sharpness' => 'Sharpness', //cpg1.4
-  'ManageExifDisplay' => 'Manage Exif Display', //cpg1.4
-  'submit' => 'Submit', //cpg1.4
-  'success' => 'Information updated successfully.', //cpg1.4
-  'details' => 'Details', //cpg1.4
-);
-
-$lang_display_comments = array(
-  'OK' => 'OK',
-  'edit_title' => 'Edit this comment',
-  'confirm_delete' => 'Are you sure you want to delete this comment ?', //js-alert
-  'add_your_comment' => 'Add your comment',
-  'name'=>'Name',
-  'comment'=>'Comment',
-  'your_name' => 'Anon',
-  'report_comment_title' => 'Report this comment to the administrator', //cpg1.4
-);
-
-$lang_fullsize_popup = array(
-  'click_to_close' => 'Click image to close this window',
-);
-
-}
-
-// ------------------------------------------------------------------------- //
-// File ecard.php
-// ------------------------------------------------------------------------- //
-
-if (defined('ECARDS_PHP') || defined('DISPLAYECARD_PHP')) $lang_ecard_php =array(
-  'title' => 'Send an e-card',
-  'invalid_email' => '<font color="red"><b>Warning</b></font>: invalid email address:', //cpg1.4
-  'ecard_title' => 'An e-card from %s for you',
-  'error_not_image' => 'Only images can be sent as an ecard.',
-  'view_ecard' => 'Alternate link if the e-card does not display correctly', //cpg1.4
-  'view_ecard_plaintext' => 'To view the ecard, copy and paste this url into your browser\'s address bar:', //cpg1.4
-  'view_more_pics' => 'View more pictures !', //cpg1.4
-  'send_success' => 'Your ecard was sent',
-  'send_failed' => 'Sorry but the server can\'t send your e-card...',
-  'from' => 'From',
-  'your_name' => 'Your name',
-  'your_email' => 'Your email address',
-  'to' => 'To',
-  'rcpt_name' => 'Recipient name',
-  'rcpt_email' => 'Recipient email address',
-  'greetings' => 'Heading', //cpg1.4
-  'message' => 'Message', //cpg1.4
-  'ecards_footer' => 'Sent by %s from IP %s at %s (Gallery time)', //cpg1.4
-  'preview' => 'Preview of the ecard', //cpg1.4
-  'preview_button' => 'Preview', //cpg1.4
-  'submit_button' => 'Send ecard', //cpg1.4
-  'preview_view_ecard' => 'This will be the alternate link to the ecard once it gets generated. It won\'t work for previews.', //cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File report_file.php //cpg1.4
-// ------------------------------------------------------------------------- //
-
-if (defined('REPORT_FILE_PHP') || defined('DISPLAYREPORT_PHP')) $lang_report_php =array(
-  'title' => 'Report to administrator', //cpg1.4
-  'invalid_email' => '<b>Warning</b> : invalid email address !', //cpg1.4
-  'report_subject' => 'A report from %s on a gallery %s', //cpg1.4
-  'view_report' => 'Alternate link if the report does not display correctly', //cpg1.4
-  'view_report_plaintext' => 'To view the report, copy and paste this url into your browser\'s address bar:', //cpg1.4
-  'view_more_pics' => 'Gallery', //cpg1.4
-  'send_success' => 'Your report was sent', //cpg1.4
-  'send_failed' => 'Sorry but the server can\'t send your report...', //cpg1.4
-  'from' => 'From', //cpg1.4
-  'your_name' => 'Your name', //cpg1.4
-  'your_email' => 'Your email address', //cpg1.4
-  'to' => 'To', //cpg1.4
-  'administrator' => 'Administrator/Mod', //cpg1.4
-  'subject' => 'Subject', //cpg1.4
-  'comment_field_name' => 'Reporting on Comment by "%s"', //cpg1.4
-  'reason' => 'Reason', //cpg1.4
-  'message' => 'Message', //cpg1.4
-  'report_footer' => 'Sent by %s from IP %s at %s (Gallery time)', //cpg1.4
-  'obscene' => 'obscene', //cpg1.4
-  'offensive' => 'offensive', //cpg1.4
-  'misplaced' => 'off-topic/misplaced', //cpg1.4
-  'missing' => 'missing', //cpg1.4
-  'issue' => 'error/cannot view', //cpg1.4
-  'other' => 'other', //cpg1.4
-  'refers_to' => 'File report refers to', //cpg1.4
-  'reasons_list_heading' => 'reason(s) for report:', //cpg1.4
-  'no_reason_given' => 'no reason was given', //cpg1.4
-  'go_comment' => 'Go to comment', //cpg1.4
-  'view_comment' => 'View full report with comment', //cpg1.4
-  'type_file' => 'file', //cpg1.4
-  'type_comment' => 'comment', //cpg1.4
-  'invalid_data' => 'The data for the report you are trying to access has been corrupted by your mail client. Check the link is complete.', //cpg1.4
-
-);
-
-// ------------------------------------------------------------------------- //
-// File editpics.php
-// ------------------------------------------------------------------------- //
-
-if (defined('EDITPICS_PHP')) $lang_editpics_php = array(
-  'pic_info' => 'File info',
-  'album' => 'Album',
-  'title' => 'Title',
-  'filename' => 'Filename', //cpg1.4
-  'desc' => 'Description',
-  'keywords' => 'Keywords',
-  'new_keyword' => 'New keyword', //cpg1.4
-  'new_keywords' => 'New keywords found', //cpg1.4
-  'existing_keyword' => 'Existing keyword', //cpg1.4
-  'pic_info_str' => '%s &times; %s - %s KB - %s views - %s votes',
-  'approve' => 'Approve file',
-  'postpone_app' => 'Postpone approval',
-  'del_pic' => 'Delete file',
-  'del_all' => 'Delete ALL files', //cpg1.4
-  'read_exif' => 'Read EXIF info again',
-  'reset_view_count' => 'Reset view counter',
-  'reset_all_view_count' => 'Reset ALL view counters', //cpg1.4
-  'reset_votes' => 'Reset votes',
-  'reset_all_votes' => 'Reset ALL votes', //cpg1.4
-  'del_comm' => 'Delete comments',
-  'del_all_comm' => 'Delete ALL comments', //cpg1.4
-  'upl_approval' => 'Upload approval', //cpg1.4
-  'edit_pics' => 'Edit files',
-  'see_next' => 'See next files',
-  'see_prev' => 'See previous files',
-  'n_pic' => '%s files',
-  'n_of_pic_to_disp' => 'Number of files to display',
-  'apply' => 'Apply modifications',
-  'crop_title' => 'Coppermine Picture Editor',
-  'preview' => 'Preview',
-  'save' => 'Save picture',
-  'save_thumb' =>'Save as thumbnail',
-  'gallery_icon' => 'Make this my icon', //cpg1.4
-  'sel_on_img' =>'The selection has to be entirely on the image!', //js-alert
-  'album_properties' =>'Album properties', //cpg1.4
-  'parent_category' =>'Parent category', //cpg1.4
-  'thumbnail_view' =>'Thumbnail view', //cpg1.4
-  'select_unselect' =>'select/unselect all', //cpg1.4
-  'file_exists' => "Destination file '%s' already exists.", //cpg1.4
-  'rename_failed' => "Failed to rename '%s' to '%s'.", //cpg1.4
-  'src_file_missing' => "Source file '%s' is missing.", // cpg 1.4
-  'mime_conv' => "Cannot convert file from '%s' to '%s'",//cpg1.4
-  'forb_ext' => 'Forbidden file extension.',//cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File faq.php
-// ------------------------------------------------------------------------- //
-
-if (defined('FAQ_PHP')) $lang_faq_php = array(
-  'faq' => 'Frequently Asked Questions',
-  'toc' => 'Table of contents',
-  'question' => 'Question: ',
-  'answer' => 'Answer: ',
-);
-
-if (defined('FAQ_PHP')) $lang_faq_data = array(
-  'General FAQ',
-  array('Why do I need to register?', 'Registration may or may not be required by the administrator. Registration gives a member additional features such as uploading, having a favorite list, rating pictures and posting comments etc.', 'allow_user_registration', '1'),
-  array('How do I register?', 'Go to &quot;Register&quot; and fill out the required fields (and the optional ones if you want to).<br />If the Administrator has Email Activation enabled, then after submitting your information you should receive an email message at the address that you have submitted while registering, giving you instructions on how to activate your membership. Your membership must be activated in order for you to login.', 'allow_user_registration', '1'), //cpg1.4
-  array('How Do I login?', 'Go to &quot;Login&quot;, submit your username and password and check &quot;Remember Me&quot; so you will be logged in on the site if you should leave it.<br /><b>IMPORTANT:Cookies must be enabled and the cookie from this site must not be deleted in order to use &quot;Remember Me&quot;.</b>', 'offline', 0),
-  array('Why can I not login?', 'Did you register and click the link that was sent to you via email?. The link will activate your account. For other login problems contact the site administrator.', 'offline', 0),
-  array('What if I forgot my password?', 'If this site has a &quot;Forgot password&quot; link then use it. Other than that contact the site administrator for a new password.', 'offline', 0),
-  //array('What if I changed my email address?', 'Just simply login and change your email address through &quot;Profile&quot;', 'offline', 0),
-  array('How do I save a picture to &quot;My Favorites&quot;?', 'Click on a picture and click on the &quot;picture info&quot; link (<img src="images/info.gif" width="16" height="16" border="0" alt="Picture information" />); scroll down to the picture information set and click &quot;Add to fav&quot;.<br />The administrator may have the &quot;picture information&quot; on by default.<br />IMPORTANT:Cookies must be enabled and the cookie from this site must not be deleted.', 'offline', 0),
-  array('How do I rate a file?', 'Click on a thumbnail and go to the bottom and choose a rating.', 'offline', 0),
-  array('How do I post a comment for a picture?', 'Click on a thumbnail and go to the bottom and post a comment.', 'offline', 0),
-  array('How do I upload a file?', 'Go to &quot;Upload&quot;and select the album that you want to upload to. Click &quot;Browse,&quot; find the file to upload, and click &quot;open.&quot; Add a title and description if you want. Click &quot;Submit&quot;.<br /><br />Alternatively, for those users using <b>Windows XP</b>, you can upload multiple files directly to your own private albums using the XP Publishing wizard.<br />For instructions on how, and to get the required registry file, click <a href="xp_publish.php">here.</a>', 'allow_private_albums', 1), //cpg1.4
-  array('Where do I upload a picture to?', 'You will be able to upload a file to one of your albums in &quot;My Gallery&quot;. The Administrator may also allow you to upload a file to one or more of the albums in the Main Gallery.', 'allow_private_albums', 0),
-  array('What type and size of a file can I upload?', 'The size and type (jpg, png, etc.) is up to the administrator.', 'offline', 0),
-  array('How do I create, rename or delete an album in &quot;My Gallery&quot;?', 'You should already be in &quot;Admin-Mode&quot;<br />Go to &quot;Create/Order My Albums&quot;and click &quot;New&quot;. Change &quot;New Album&quot; to your desired name.<br />You can also rename any of the albums in your gallery.<br />Click &quot;Apply Modifications&quot;.', 'allow_private_albums', 0),
-  array('How can I modify and restrict users from viewing my albums?', 'You should already be in &quot;Admin Mode&quot;<br />Go to &quot;Modify My Albums. On the &quot;Update Album&quot; bar, select the album that you want to modify.<br />Here, you can change the name, description, thumbnail picture, restrict viewing and comment/rating permissions.<br />Click &quot;Update Album&quot;.', 'allow_private_albums', 0),
-  array('How can I view other users\' galleries?', 'Go to &quot;Album List&quot; and select &quot;User Galleries&quot;.', 'allow_private_albums', 0),
-  array('What are cookies?', 'Cookies are a plain text piece of data that is sent from a website and is put on to your computer.<br />Cookies usually allow a user to leave and return to the site without having to login again and other various chores.', 'offline', 0),
-  array('Where can I get this program for my site?', 'Coppermine is a free Multimedia Gallery, released under GNU GPL. It is full of features and has been ported to various platforms. Visit the <a href="http://coppermine-gallery.net/">Coppermine Home Page</a> to find out more or download it.', 'offline', 0),
-
-  'Navigating the Site',
-  array('What\'s &quot;Album List&quot;?', 'This will show you the entire category you are currently in, with a link to each album. If you are not in a category, it will show you the entire gallery with a link to each category. Thumbnails may be a link to the category.', 'offline', 0),
-  array('What\'s &quot;My Gallery&quot;?', 'This feature lets users create their own galleries and add, delete or modify albums as well as upload to them.', 'allow_private_albums', 1), //cpg1.4
-  array('What\'s the difference between &quot;Admin Mode&quot; and &quot;User Mode&quot;?', 'This feature, when in admin-mode, allows a user to modify their gallery (as well as others if allowed by the administrator).', 'allow_private_albums', 0),
-  array('What\'s &quot;Upload Picture&quot;?', 'This feature allows a user to upload a file (size and type is set by the site administrator) to a gallery selected by either you or the administrator.', 'allow_private_albums', 0),
-  array('What\'s &quot;Last Uploads&quot;?', 'This feature shows the last uploads to the site.', 'offline', 0),
-  array('What\'s &quot;Last Comments&quot;?', 'This feature shows the last comments along with the files posted by users.', 'offline', 0),
-  array('What\'s &quot;Most Viewed&quot;?', 'This feature shows the most viewed files by all users (whether logged in or not).', 'offline', 0),
-  array('What\'s &quot;Top Rated&quot;?', 'This feature shows the top rated files rated by the users, showing the average rating (e.g: five users each gave a <img src="images/rating3.gif" width="65" height="14" border="0" alt="" />: the file would have an average rating of <img src="images/rating3.gif" width="65" height="14" border="0" alt="" /> ;Five users rated the file from 1 to 5 (1,2,3,4,5) would result in an average <img src="images/rating3.gif" width="65" height="14" border="0" alt="" /> .)<br />The ratings go from <img src="images/rating5.gif" width="65" height="14" border="0" alt="best" /> (best) to <img src="images/rating0.gif" width="65" height="14" border="0" alt="worst" /> (worst).', 'offline', 0),
-  array('What\'s &quot;My Favorites&quot;?', 'This feature will let a user store a favorite file in the cookie that was sent to your computer.', 'offline', 0),
-);
-
-
-// ------------------------------------------------------------------------- //
-// File forgot_passwd.php
-// ------------------------------------------------------------------------- //
-
-if (defined('FORGOT_PASSWD_PHP')) $lang_forgot_passwd_php = array(
-  'forgot_passwd' => 'Password reminder',
-  'err_already_logged_in' => 'You are already logged in !',
-  'enter_email' => 'Enter your email address', //cpg1.4
-  'submit' => 'go',
-  'illegal_session' => 'Forgot password session invalid or has expired.', //cpg1.4
-  'failed_sending_email' => 'The password reminder email can\'t be sent !',
-  'email_sent' => 'An email with your username and new password was sent to %s', //cpg1.4
-  'verify_email_sent' => 'An email has been sent to %s. Please check your email to complete the process.', //cpg1.4
-  'err_unk_user' => 'Selected user does not exist!',
-  'account_verify_subject' => '%s - New password request', //cpg1.4
-  'account_verify_body' => 'You have requested a new password. If you would like to proceed with having a new password sent to you, click on the following link:
-
-%s', //cpg1.4
-  'passwd_reset_subject' => '%s - Your New Password', //cpg1.4
-  'passwd_reset_body' => 'Here is the new password you requested:
-Username: %s
-Password: %s
-Click %s to log in.', //cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File groupmgr.php
-// ------------------------------------------------------------------------- //
-
-if (defined('GROUPMGR_PHP')) $lang_groupmgr_php = array(
-  'group_name' => 'Group', //cpg1.4
-  'permissions' => 'Permissions', //cpg1.4
-  'public_albums' => 'Public albums upload', //cpg1.4
-  'personal_gallery' => 'Personal gallery', //cpg1.4
-  'upload_method' => 'Upload method', //cpg1.4
-  'disk_quota' => 'Quota', //cpg1.4
-  'rating' => 'Rating', //cpg1.4
-  'ecards' => 'Ecards', //cpg1.4
-  'comments' => 'Comments', //cpg1.4
-  'allowed' => 'Allowed', //cpg1.4
-  'approval' => 'Approval', //cpg1.4
-  'boxes_number' => 'No. of boxes', //cpg1.4
-  'variable' => 'variable', //cpg1.4
-  'fixed' => 'fixed', //cpg1.4
-  'apply' => 'Apply modifications',
-  'create_new_group' => 'Create new group',
-  'del_groups' => 'Delete selected group(s)',
-  'confirm_del' => 'Warning, when you delete a group, users that belong to this group will be transferred to the \'Registered\' group !\n\nDo you want to proceed ?', //js-alert
-  'title' => 'Manage user groups',
-  'num_file_upload' => 'File upload boxes', //cpg1.4
-  'num_URI_upload' => 'URI upload boxes', //cpg1.4
-  'reset_to_default' => 'Reset to default name (%s) - recommended!', //cpg1.4
-  'error_group_empty' => 'Group table was empty !<br /><br />Default groups created, please reload this page', //cpg1.4
-  'explain_greyed_out_title' => 'Why is this row grayed out?', //cpg1.4
-  'explain_guests_greyed_out_text' => 'You can not change the properties of this group because you set the option &quot; Allow unlogged users (guest or anonymous) access&quot; to &quot;No&quot; on the config page. All guest (members of the group %s) can\'t do anything but login; therefor group settings don\'t apply for them.', //cpg1.4
-  'explain_banned_greyed_out_text' => 'You can not change the properties of the group %s because it\'s members can\'t do anything anyway.', //cpg1.4
-  'group_assigned_album' => 'assigned album(s)', //cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File index.php
-// ------------------------------------------------------------------------- //
-
-if (defined('INDEX_PHP')){
-
-$lang_index_php = array(
-  'welcome' => 'Welcome !',
-);
-
-$lang_album_admin_menu = array(
-  'confirm_delete' => 'Are you sure you want to DELETE this album ? \\nAll files and comments will also be deleted.', //js-alert
-  'delete' => 'DELETE',
-  'modify' => 'PROPERTIES',
-  'edit_pics' => 'EDIT FILES',
-);
-
-$lang_list_categories = array(
-  'home' => 'Home',
-  'stat1' => '<b>[pictures]</b> files in <b>[albums]</b> albums and <b>[cat]</b> categories with <b>[comments]</b> comments viewed <b>[views]</b> times',
-  'stat2' => '<b>[pictures]</b> files in <b>[albums]</b> albums viewed <b>[views]</b> times',
-  'xx_s_gallery' => '%s\'s Gallery',
-  'stat3' => '<b>[pictures]</b> files in <b>[albums]</b> albums with <b>[comments]</b> comments viewed <b>[views]</b> times',
-);
-
-$lang_list_users = array(
-  'user_list' => 'User list',
-  'no_user_gal' => 'There are no user galleries',
-  'n_albums' => '%s album(s)',
-  'n_pics' => '%s file(s)',
-);
-
-$lang_list_albums = array(
-  'n_pictures' => '%s files',
-  'last_added' => ', last one added on %s',
-  'n_link_pictures' => '%s linked files', //cpg1.4
-  'total_pictures' => '%s files total', //cpg1.4
-);
-
-}
-
-// ------------------------------------------------------------------------- //
-// File keywordmgr.php //cpg1.4
-// ------------------------------------------------------------------------- //
-
-if (defined('KEYWORDMGR_PHP')) $lang_keywordmgr_php = array(
-  'title' => 'Manage keywords', //cpg1.4
-  'edit' => 'edit', //cpg1.4
-  'delete' => 'delete', //cpg1.4
-  'search' => 'search', //cpg1.4
-  'keyword_test_search' => 'search for %s in new window', //cpg1.4
-  'keyword_del' => 'delete the keyword %s', //cpg1.4
-  'confirm_delete' => 'Are you sure you want to delete the keyword %s from the whole gallery?', //cpg1.4  // js-alert
-  'change_keyword' => 'change keyword', //cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File login.php
-// ------------------------------------------------------------------------- //
-
-if (defined('LOGIN_PHP')) $lang_login_php = array(
-  'login' => 'Login',
-  'enter_login_pswd' => 'Enter your username and password to login',
-  'username' => 'Username',
-  'password' => 'Password',
-  'remember_me' => 'Remember me',
-  'welcome' => 'Welcome %s ...',
-  'err_login' => '*** Couldn\'t log in. Try again ***',
-  'err_already_logged_in' => 'You are already logged in !',
-  'forgot_password_link' => 'I forgot my password',
-  'cookie_warning' => 'Warning your browser does not accept script\'s cookies', //cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File logout.php
-// ------------------------------------------------------------------------- //
-
-if (defined('LOGOUT_PHP')) $lang_logout_php = array(
-  'logout' => 'Logout',
-  'bye' => 'Bye bye %s ...',
-  'err_not_loged_in' => 'You are not logged in !',
-);
-
-// ------------------------------------------------------------------------- //
-// File minibrowser.php  //cpg1.4
-// ------------------------------------------------------------------------- //
-
-if (defined('MINIBROWSER_PHP')) $lang_minibrowser_php = array(
-  'close' => 'close', //cpg1.4
-  'submit' => 'OK', //cpg1.4
-  'up' => 'up one level', //cpg1.4
-  'current_path' => 'current path', //cpg1.4
-  'select_directory' => 'please select a directory', //cpg1.4
-  'click_to_close' => 'Click image to close this window',
-);
-
-// ------------------------------------------------------------------------- //
-// File modifyalb.php
-// ------------------------------------------------------------------------- //
-
-if (defined('MODIFYALB_PHP')) $lang_modifyalb_php = array(
-  'upd_alb_n' => 'Update album %s',
-  'general_settings' => 'General settings',
-  'alb_title' => 'Album title',
-  'alb_cat' => 'Album category',
-  'alb_desc' => 'Album description',
-  'alb_keyword' => 'Album Keyword', //cpg1.4
-  'alb_thumb' => 'Album thumbnail',
-  'alb_perm' => 'Permissions for this album',
-  'can_view' => 'Album can be viewed by',
-  'can_upload' => 'Visitors can upload files',
-  'can_post_comments' => 'Visitors can post comments',
-  'can_rate' => 'Visitors can rate files',
-  'user_gal' => 'User Gallery',
-  'no_cat' => '* No category *',
-  'alb_empty' => 'Album is empty',
-  'last_uploaded' => 'Last uploaded',
-  'public_alb' => 'Everybody (public album)',
-  'me_only' => 'Me only',
-  'owner_only' => 'Album owner (%s) only',
-  'groupp_only' => 'Members of the \'%s\' group',
-  'err_no_alb_to_modify' => 'No album you can modify in the database.',
-  'update' => 'Update album',
-  'reset_album' => 'Reset album', //cpg1.4
-  'reset_views' => 'Reset views counter to &quot;0&quot; in %s', //cpg1.4
-  'reset_rating' => 'Reset ratings on all files in %s', //cpg1.4
-  'delete_comments' => 'Delete all comments made in %s', //cpg1.4
-  'delete_files' => '%sIrreversibly%s delete all files in %s', //cpg1.4
-  'views' => 'views', //cpg1.4
-  'votes' => 'votes', //cpg1.4
-  'comments' => 'comments', //cpg1.4
-  'files' => 'files', //cpg1.4
-  'submit_reset' => 'submit changes', //cpg1.4
-  'reset_views_confirm' => 'I\'m sure', //cpg1.4
-  'notice1' => '(*) depending on %sgroups%s settings',  //cpg1.4 //(do not translate %s!)
-  'alb_password' => 'Album password', //cpg1.4
-  'alb_password_hint' => 'Album password hint', //cpg1.4
-  'edit_files' =>'Edit files', //cpg1.4
-  'parent_category' =>'Parent category', //cpg1.4
-  'thumbnail_view' =>'Thumbnail view', //cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File phpinfo.php
-// ------------------------------------------------------------------------- //
-
-if (defined('PHPINFO_PHP')) $lang_phpinfo_php = array(
-  'php_info' => 'PHP info',
-  'explanation' => 'This is the output generated by the PHP-function <a href="http://www.php.net/phpinfo">phpinfo()</a>, displayed within Coppermine (trimming the output at the right side).',
-  'no_link' => 'Having others see your phpinfo can be a security risk, that\'s why this page is only visible when you\'re logged in as admin. You can not post a link to this page for others, they will be denied access.',
-);
-
-// ------------------------------------------------------------------------- //
-// File picmgr.php //cpg1.4
-// ------------------------------------------------------------------------- //
-if (defined('PICMGR_PHP')) $lang_picmgr_php = array(
-  'pic_mgr' => 'Picture Manager', //cpg1.4
-  'select_album' => 'Select Album', //cpg1.4
-  'delete' => 'Delete', //cpg1.4
-  'confirm_delete1' => 'Are you sure you want to delete this picture ?', //cpg1.4
-  'confirm_delete2' => '\nPicture will be permanently deleted.', //cpg1.4
-  'apply_modifs' => 'Apply modifications', //cpg1.4
-  'confirm_modifs' => 'Confirm modifications', //cpg1.4
-  'pic_need_name' => 'Picture needs to have a name !', //cpg1.4
-  'no_change' => 'You did not make any change !', //cpg1.4
-  'no_album' => '* No album *', //cpg1.4
-  'explanation_header' => 'The custom sort order you can specify on this page will only be taken into account if', //cpg1.4
-  'explanation1' => 'the admin has set the "Default sort order for files" in the config to "Position descending" or "Position ascending" (global setting for all users who haven\'t chosen another sort option individually)', //cpg1.4
-  'explanation2' => 'the user has chosen "Position descending" or "Position ascending" on the thumbnail page (per user setting)', //cpg1.4
-);
-
-
-// ------------------------------------------------------------------------- //
-// File pluginmgr.php //cpg1.4
-// ------------------------------------------------------------------------- //
-
-if (defined('PLUGINMGR_PHP')){
-
-$lang_pluginmgr_php = array(
-  'confirm_uninstall' => 'Are you sure you want to UNINSTALL this plugin', //cpg1.4
-  'confirm_delete' => 'Are you sure you want to DELETE this plugin', //cpg1.4
-  'pmgr' => 'Plugin Manager', //cpg1.4
-  'name' => 'Name', //cpg1.4
-  'author' => 'Author', //cpg1.4
-  'desc' => 'Description', //cpg1.4
-  'vers' => 'v', //cpg1.4
-  'i_plugins' => 'Installed Plugins', //cpg1.4
-  'n_plugins' => 'Plugins Not installed', //cpg1.4
-  'none_installed' => 'None Installed', //cpg1.4
-  'operation' => 'Operation', //cpg1.4
-  'not_plugin_package' => 'The file uploaded is not a plugin package.', //cpg1.4
-  'copy_error' => 'There was an error copying the package to the plugins folder.', //cpg1.4
-  'upload' => 'Upload', //cpg1.4
-  'configure_plugin' => 'Configure plugin', //cpg1.4
-  'cleanup_plugin' => 'Cleanup plugin', //cpg1.4
-);
-}
-
-// ------------------------------------------------------------------------- //
-// File ratepic.php
-// ------------------------------------------------------------------------- //
-
-if (defined('RATEPIC_PHP')) $lang_rate_pic_php = array(
-  'already_rated' => 'Sorry but you have already rated this file',
-  'rate_ok' => 'Your vote was accepted',
-  'forbidden' => 'You can not rate your own files.',
-);
-
-// ------------------------------------------------------------------------- //
-// File register.php & profile.php
-// ------------------------------------------------------------------------- //
-
-if (defined('REGISTER_PHP') || defined('PROFILE_PHP')) {
-
-$lang_register_disclamer = <<<EOT
-While the administrators of {SITE_NAME} will attempt to remove or edit any generally objectionable material as quickly as possible, it is impossible to review every post. Therefore you acknowledge that all posts made to this site express the views and opinions of the author and not the administrators or webmaster (except for posts by these people) and hence will not be held liable.<br />
-<br />
-You agree not to post any abusive, obscene, vulgar, slanderous, hateful, threatening, sexually-orientated or any other material that may violate any applicable laws. You agree that the webmaster, administrator and moderators of {SITE_NAME} have the right to remove or edit any content at any time should they see fit. As a user you agree to any information you have entered above being stored in a database. While this information will not be disclosed to any third party without your consent the webmaster and administrator cannot be held responsible for any hacking attempt that may lead to the data being compromised.<br />
-<br />
-This site uses cookies to store information on your local computer. These cookies serve only to improve your viewing pleasure. The email address is used only for confirming your registration details and password.<br />
-<br />
-By clicking 'I agree' below you agree to be bound by these conditions.
-EOT;
-
-$lang_register_php = array(
-  'page_title' => 'User registration',
-  'term_cond' => 'Terms and conditions',
-  'i_agree' => 'I agree',
-  'submit' => 'Submit registration',
-  'err_user_exists' => 'The username you have entered already exist, please choose a different one',
-  'err_password_mismatch' => 'The two passwords does not match, please input them again',
-  'err_uname_short' => 'Username must be 2 characters long minimum',
-  'err_password_short' => 'Password must be 2 characters long minimum',
-  'err_uname_pass_diff' => 'Username and password must be different',
-  'err_invalid_email' => 'Email address is invalid',
-  'err_duplicate_email' => 'Another user has already registered with the email address you entered',
-  'enter_info' => 'Input registration information',
-  'required_info' => 'Required information',
-  'optional_info' => 'Optional information',
-  'username' => 'Username',
-  'password' => 'Password',
-  'password_again' => 'Re-enter password',
-  'email' => 'Email',
-  'location' => 'Location',
-  'interests' => 'Interests',
-  'website' => 'Home page',
-  'occupation' => 'Occupation',
-  'error' => 'ERROR',
-  'confirm_email_subject' => '%s - Registration confirmation',
-  'information' => 'Information',
-  'failed_sending_email' => 'The registration confirmation email can\'t be send !',
-  'thank_you' => 'Thank you for registering.<br /><br />An email with information on how to activate your account was sent to the email address you provided.',
-  'acct_created' => 'Your account has been created and you can now login with your username and password',
-  'acct_active' => 'Your account is now active and you can login with your username and password',
-  'acct_already_act' => 'Account is already active!', //cpg1.4
-  'acct_act_failed' => 'This account can\'t be activated !',
-  'err_unk_user' => 'Selected user does not exist !',
-  'x_s_profile' => '%s\'s profile',
-  'group' => 'Group',
-  'reg_date' => 'Joined',
-  'disk_usage' => 'Disk usage',
-  'change_pass' => 'Change password',
-  'current_pass' => 'Current password',
-  'new_pass' => 'New password',
-  'new_pass_again' => 'New password again',
-  'err_curr_pass' => 'Current password is incorrect',
-  'apply_modif' => 'Apply modifications',
-  'change_pass' => 'Change my password',
-  'update_success' => 'Your profile was updated',
-  'pass_chg_success' => 'Your password was changed',
-  'pass_chg_error' => 'Your password was not changed',
-  'notify_admin_email_subject' => '%s - Registration notification',
-  'last_uploads' => 'Last uploaded file.<br />Click to see all uploads by', //cpg1.4
-  'last_comments' => 'Last comment.<br />Click to see all comments made by', //cpg1.4
-  'notify_admin_email_body' => 'A new user with the username "%s" has registered in your gallery',
-  'pic_count' => 'Files uploaded', //cpg1.4
-  'notify_admin_request_email_subject' => '%s - Registration request', //cpg1.4
-  'thank_you_admin_activation' => 'Thank you.<br /><br />Your request for account activation was sent to the admin. You will receive an email if approved.', //cpg1.4
-  'acct_active_admin_activation' => 'The account is now active and an email has been sent to the user.', //cpg1.4
-  'notify_user_email_subject' => '%s - Activation notification', //cpg1.4
-);
-
-$lang_register_confirm_email = <<<EOT
-Thank you for registering at {SITE_NAME}
-
-In order to activate your account with username "{USER_NAME}", you need to click on the link below or copy and paste it in your web browser.
-
-<a href="{ACT_LINK}">{ACT_LINK}</a>
-
-Regards,
-
-The management of {SITE_NAME}
-
-EOT;
-
-$lang_register_approve_email = <<<EOT
-A new user with the username "{USER_NAME}" has registered in your gallery.
-
-In order to activate the account, you need to click on the link below or copy and paste it in your web browser.
-
-<a href="{ACT_LINK}">{ACT_LINK}</a>
-
-EOT;
-
-$lang_register_activated_email = <<<EOT
-Your account has been approved and activated.
-
-You can now log in at <a href="{SITE_LINK}">{SITE_LINK}</a> using the username "{USER_NAME}"
-
-
-Regards,
-
-The management of {SITE_NAME}
-
-EOT;
-}
-
-// ------------------------------------------------------------------------- //
-// File reviewcom.php
-// ------------------------------------------------------------------------- //
-
-if (defined('REVIEWCOM_PHP')) $lang_reviewcom_php = array(
-  'title' => 'Review comments',
-  'no_comment' => 'There is no comment to review',
-  'n_comm_del' => '%s comment(s) deleted',
-  'n_comm_disp' => 'Number of comments to display',
-  'see_prev' => 'See previous',
-  'see_next' => 'See next',
-  'del_comm' => 'Delete selected comments',
-  'user_name' => 'Name', //cpg1.4
-  'date' => 'Date', //cpg1.4
-  'comment' => 'Comment', //cpg1.4
-  'file' => 'File', //cpg1.4
-  'name_a' => 'User name ascending', //cpg1.4
-  'name_d' => 'User name descending', //cpg1.4
-  'date_a' => 'Date ascending', //cpg1.4
-  'date_d' => 'Date descending', //cpg1.4
-  'comment_a' => 'Comment message ascending', //cpg1.4
-  'comment_d' => 'Comment message descending', //cpg1.4
-  'file_a' => 'File ascending', //cpg1.4
-  'file_d' => 'File descending', //cpg1.4
-);
-
-
-// ------------------------------------------------------------------------- //
-// File search.php                                                           //
-// ------------------------------------------------------------------------- //
-
-
-if (defined('SEARCH_PHP')){
-
-$lang_search_php = array(
-  'title' => 'Search the file collection', //cpg1.4
-  'submit_search' => 'search', //cpg1.4
-  'keyword_list_title' => 'Keyword list', //cpg1.4
-  'keyword_msg' => 'The above list is not all inclusive. It does not include words from photo titles or descriptions. Try a full-text search.',  //cpg1.4
-  'edit_keywords' => 'Edit keywords', //cpg1.4
-  'search in' => 'Search in:', //cpg1.4
-  'ip_address' => 'IP address', //cpg1.4
-  'fields' => 'Search in', //cpg1.4
-  'age' => 'Age', //cpg1.4
-  'newer_than' => 'Newer than', //cpg1.4
-  'older_than' => 'Older than', //cpg1.4
-  'days' => 'days', //cpg1.4
-  'all_words' => 'Match all words (AND)', //cpg1.4
-  'any_words' => 'Match any words (OR)', //cpg1.4
-);
-
-$lang_adv_opts = array(
-  'title' => 'Title', //cpg1.4
-  'caption' => 'Caption', //cpg1.4
-  'keywords' => 'Keywords', //cpg1.4
-  'owner_name' => 'Owner name', //cpg1.4
-  'filename' => 'Filename', //cpg1.4
-);
-
-}
-
-// ------------------------------------------------------------------------- //
-// File searchnew.php
-// ------------------------------------------------------------------------- //
-
-if (defined('SEARCHNEW_PHP')) $lang_search_new_php = array(
-  'page_title' => 'Search new files',
-  'select_dir' => 'Select directory',
-  'select_dir_msg' => 'This function allows you to add a batch of files that your have uploaded to your server by FTP.<br /><br />Select the directory where you have uploaded your files.', //cpg1.4
-  'no_pic_to_add' => 'There is no file to add',
-  'need_one_album' => 'You need at least one album to use this function',
-  'warning' => 'Warning',
-  'change_perm' => 'the script can\'t write in this directory, you need to change its mode to 755 or 777 before trying to add the files !',
-  'target_album' => '<b>Put files of &quot;</b>%s<b>&quot; into </b>%s',
-  'folder' => 'Folder',
-  'image' => 'file',
-  'album' => 'Album',
-  'result' => 'Result',
-  'dir_ro' => 'Not writable. ',
-  'dir_cant_read' => 'Not readable. ',
-  'insert' => 'Adding new files to the gallery',
-  'list_new_pic' => 'List of new files',
-  'insert_selected' => 'Insert selected files',
-  'no_pic_found' => 'No new file was found',
-  'be_patient' => 'Please be patient, the script needs time to add the files',
-  'no_album' => 'no album selected',
-  'result_icon' => 'click for details or to reload',  //cpg1.4
-  'notes' =>  '<ul>'.
-                          '<li><b>OK</b> : means that the file was successfully added'.
-                          '<li><b>DP</b> : means that the file is a duplicate and is already in the database'.
-                          '<li><b>PB</b> : means that the file could not be added, check your configuration and the permission of directories where the files are located'.
-                          '<li><b>NA</b> : means that you haven\'t selected an album the files should go to, hit \'<a href="javascript:history.back(1)">back</a>\' and select an album. If you don\'t have an album <a href="albmgr.php">create one first</a></li>'.
-                          '<li>If the OK, DP, PB \'signs\' does not appear click on the broken file to see any error message produced by PHP'.
-                          '<li>If your browser timeouts, hit the reload button'.
-                          '</ul>',
-  'select_album' => 'select album',
-  'check_all' => 'Check All',
-  'uncheck_all' => 'Uncheck All',
-  'no_folders' => 'There are no folders inside the "albums" folder yet. Make sure to create at least one custom folder within "albums" folder and ftp-upload your files there. You mustn\'t upload to the "userpics" nor "edit" folders, they are reserved for http uploads and internal purposes.', //cpg1.4
-   'albums_no_category' => 'Albums with no category', //cpg1.4 // album pulldown mod, added by frogfoot
-  'personal_albums' => '* Personal albums', //cpg1.4 // album pulldown mod, added by frogfoot
-  'browse_batch_add' => 'Browsable interface (recommended)', //cpg1.4
-  'edit_pics' => 'Edit files', //cpg1.4
-  'edit_properties' => 'Album properties', //cpg1.4
-  'view_thumbs' => 'Thumbnail view', //cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File stat_details.php //cpg1.4
-// ------------------------------------------------------------------------- //
-
-if (defined('STAT_DETAILS_PHP')) $lang_stat_details_php = array(
-  'show_hide' => 'show/hide this column', //cpg1.4
-  'vote' => 'Vote Details', //cpg1.4
-  'hits' => 'Hit Details', //cpg1.4
-  'stats' => 'Vote Statistics', //cpg1.4
-  'sdate' => 'Date', //cpg1.4
-  'rating' => 'Rating', //cpg1.4
-  'search_phrase' => 'Search phrase', //cpg1.4
-  'referer' => 'Referer', //cpg1.4
-  'browser' => 'Browser', //cpg1.4
-  'os' => 'Operating System', //cpg1.4
-  'ip' => 'IP', //cpg1.4
-  'sort_by_xxx' => 'Sort by %s', //cpg1.4
-  'ascending' => 'ascending', //cpg1.4
-  'descending' => 'descending', //cpg1.4
-  'internal' => 'int', //cpg1.4
-  'close' => 'close', //cpg1.4
-  'hide_internal_referers' => 'hide internal referers', //cpg1.4
-  'date_display' => 'Date display', //cpg1.4
-  'submit' => 'submit / refresh', //cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File thumbnails.php
-// ------------------------------------------------------------------------- //
-
-// Void
-
-// ------------------------------------------------------------------------- //
-// File upload.php
-// ------------------------------------------------------------------------- //
-
-if (defined('UPLOAD_PHP')) $lang_upload_php = array(
-  'title' => 'Upload file',
-  'custom_title' => 'Customized Request Form',
-  'cust_instr_1' => 'You may select a customized number of upload boxes. However, you may not select more than the limits listed below.',
-  'cust_instr_2' => 'Box Number Requests',
-  'cust_instr_3' => 'File upload boxes: %s',
-  'cust_instr_4' => 'URI/URL upload boxes: %s',
-  'cust_instr_5' => 'URI/URL upload boxes:',
-  'cust_instr_6' => 'File upload boxes:',
-  'cust_instr_7' => 'Please enter the number of each type of upload box you desire at this time.  Then click \'Continue\'. ',
-  'reg_instr_1' => 'Invalid action for form creation.',
-  'reg_instr_2' => 'Now you may upload your files using the upload boxes below. The size of files uploaded from your client to the server should not exceed %s KB each. ZIP files uploaded in the \'File Upload\' and \'URI/URL Upload\' sections will remain compressed.',
-  'reg_instr_3' => 'If you want the zipped file or archive to be decompressed, you must use the file upload box provided in the \'Decompressive ZIP Upload\' area.',
-  'reg_instr_4' => 'When using the URI/URL upload section, please enter the path to the file like so: http://www.mysite.com/images/example.jpg',
-  'reg_instr_5' => 'When you have completed the form, please click \'Continue\'.',
-  'reg_instr_6' => 'Decompressive ZIP Uploads:',
-  'reg_instr_7' => 'File Uploads:',
-  'reg_instr_8' => 'URI/URL Uploads:',
-  'error_report' => 'Error Report',
-  'error_instr' => 'The following uploads encountered errors:',
-  'file_name_url' => 'File Name/URL',
-  'error_message' => 'Error Message',
-  'no_post' => 'File not uploaded by POST.',
-  'forb_ext' => 'Forbidden file extension.',
-  'exc_php_ini' => 'Exceeded filesize allowed in php.ini.',
-  'exc_file_size' => 'Exceeded filesize permitted by CPG.',
-  'partial_upload' => 'Only a partial upload.',
-  'no_upload' => 'No upload occurred.',
-  'unknown_code' => 'Unknown PHP upload error code.',
-  'no_temp_name' => 'No upload - No temp name.',
-  'no_file_size' => 'Contains no data/Corrupted',
-  'impossible' => 'Impossible to move.',
-  'not_image' => 'Not an image/corrupt',
-  'not_GD' => 'Not a GD extension.',
-  'pixel_allowance' => 'The height and or width of the uploaded picture is more than that allowed by the gallery config.', //cpg1.4
-  'incorrect_prefix' => 'Incorrect URI/URL prefix',
-  'could_not_open_URI' => 'Could not open URI.',
-  'unsafe_URI' => 'Safety not verifiable.',
-  'meta_data_failure' => 'Meta data failure',
-  'http_401' => '401 Unauthorized',
-  'http_402' => '402 Payment Required',
-  'http_403' => '403 Forbidden',
-  'http_404' => '404 Not Found',
-  'http_500' => '500 Internal Server Error',
-  'http_503' => '503 Service Unavailable',
-  'MIME_extraction_failure' => 'MIME could not be determined.',
-  'MIME_type_unknown' => 'Unknown MIME type',
-  'cant_create_write' => 'Cannot create write file.',
-  'not_writable' => 'Cannot write to write file.',
-  'cant_read_URI' => 'Cannot read URI/URL',
-  'cant_open_write_file' => 'Cannot open URI write file.',
-  'cant_write_write_file' => 'Cannot write to URI write file.',
-  'cant_unzip' => 'Cannot unzip.',
-  'unknown' => 'Unknown error',
-  'succ' => 'Successful Uploads',
-  'success' => '%s uploads were successful.',
-  'add' => 'Please click \'Continue\' to add the files to albums.',
-  'failure' => 'Upload Failure',
-  'f_info' => 'File Information',
-  'no_place' => 'The previous file could not be placed.',
-  'yes_place' => 'The previous file was placed successfully.',
-  'max_fsize' => 'Maximum allowed file size is %s KB',
-  'album' => 'Album',
-  'picture' => 'File',
-  'pic_title' => 'File title',
-  'description' => 'File description',
-  'keywords' => 'Keywords (separate with spaces)<br /><a href="#" onClick="return MM_openBrWindow(\'keyword_select.php\',\'selectKey\',\'width=250, height=400, scrollbars=yes,toolbar=no,status=yes,resizable=yes\')">Insert from list</a>', //cpg1.4
-  'keywords_sel' =>'Select a Keyword', //cpg1.4
-  'err_no_alb_uploadables' => 'Sorry there is no album where you are allowed to upload files',
-  'place_instr_1' => 'Please place the files in albums at this time.  You may also enter relevant information about each file now.',
-  'place_instr_2' => 'More files need placement. Please click \'Continue\'.',
-  'process_complete' => 'You have successfully placed all the files.',
-   'albums_no_category' => 'Albums with no category', //cpg1.4. //album pulldown mod, added by frogfoot
-  'personal_albums' => '* Personal albums', //cpg1.4 //album pulldown mod, added by frogfoot
-  'select_album' => 'Select album', //cpg1.4 //album pulldown mod, added by frogfoot
-  'close' => 'Close', //cpg1.4
-  'no_keywords' => 'Sorry, no keywords available!', //cpg1.4
-  'regenerate_dictionary' => 'Regenerate Dictionary', //cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File usermgr.php
-// ------------------------------------------------------------------------- //
-
-if (defined('USERMGR_PHP')) $lang_usermgr_php = array(
-  'memberlist' => 'Memberlist', //cpg1.4
-  'user_manager' => 'User manager', //cpg1.4
-  'title' => 'Manage users',
-  'name_a' => 'Name ascending',
-  'name_d' => 'Name descending',
-  'group_a' => 'Group ascending',
-  'group_d' => 'Group descending',
-  'reg_a' => 'Reg date ascending',
-  'reg_d' => 'Reg date descending',
-  'pic_a' => 'File count ascending',
-  'pic_d' => 'File count descending',
-  'disku_a' => 'Disk usage ascending',
-  'disku_d' => 'Disk usage descending',
-  'lv_a' => 'Last visit ascending',
-  'lv_d' => 'Last visit descending',
-  'sort_by' => 'Sort users by',
-  'err_no_users' => 'User table is empty !',
-  'err_edit_self' => 'You can\'t edit your own profile, use the \'My profile\' link for that',
-  'edit' => 'Edit', //cpg1.4
-  'with_selected' => 'With selected:', //cpg1.4
-  'delete' => 'Delete', //cpg1.4
-  'delete_files_no' => 'keep public files (but anonymize)', //cpg1.4
-  'delete_files_yes' => 'delete public files as well', //cpg1.4
-  'delete_comments_no' => 'keep comments (but anonymize)', //cpg1.4
-  'delete_comments_yes' => 'delete comments as well', //cpg1.4
-  'activate' => 'Activate', //cpg1.4
-  'deactivate' => 'Deactivate', //cpg1.4
-  'reset_password' => 'Reset Password', //cpg1.4
-  'change_primary_membergroup' => 'Change primary membergroup', //cpg1.4
-  'add_secondary_membergroup' => 'Add secondary membergroup', //cpg1.4
-  'name' => 'User name',
-  'group' => 'Group',
-  'inactive' => 'Inactive',
-  'operations' => 'Operations',
-  'pictures' => 'Files',
-  'disk_space_used' => 'Space used', //cpg1.4
-  'disk_space_quota' => 'Space Quota', //cpg1.4
-  'registered_on' => 'Registration', //cpg1.4
-  'last_visit' => 'Last Visit',
-  'u_user_on_p_pages' => '%d users on %d page(s)',
-  'confirm_del' => 'Are you sure you want to DELETE this user ? \\nAll his files and albums will also be deleted.', //js-alert
-  'mail' => 'MAIL',
-  'err_unknown_user' => 'Selected user does not exist !',
-  'modify_user' => 'Modify user',
-  'notes' => 'Notes',
-  'note_list' => '<li>If you don\'t want to change the current password, leave the "password" field blank',
-  'password' => 'Password',
-  'user_active' => 'User is active',
-  'user_group' => 'User group',
-  'user_email' => 'User email',
-  'user_web_site' => 'User web site',
-  'create_new_user' => 'Create new user',
-  'user_location' => 'User location',
-  'user_interests' => 'User interests',
-  'user_occupation' => 'User occupation',
-  'user_profile1' => '$user_profile1', //cpg1.4
-  'user_profile2' => '$user_profile2', //cpg1.4
-  'user_profile3' => '$user_profile3', //cpg1.4
-  'user_profile4' => '$user_profile4', //cpg1.4
-  'user_profile5' => '$user_profile5', //cpg1.4
-  'user_profile6' => '$user_profile6', //cpg1.4
-  'latest_upload' => 'Recent uploads',
-  'never' => 'never',
-  'search' => 'User search', //cpg1.4
-  'submit' => 'Submit', //cpg1.4
-  'search_submit' => 'Go!', //cpg1.4
-  'search_result' => 'Search results for: ', //cpg1.4
-  'alert_no_selection' => 'You have to select at least one user first!', //cpg1.4 //js-alert
-  'password' => 'password', //cpg1.4
-  'select_group' => 'Select group', //cpg1.4
-  'groups_alb_access' => 'Album permissions by group', //cpg1.4
-  'album' => 'Album', //cpg1.4
-  'category' => 'Category', //cpg1.4
-  'modify' => 'Modify?', //cpg1.4
-  'group_no_access' => 'This group has no special access', //cpg1.4
-  'notice' => 'Notice', //cpg1.4
-  'group_can_access' => 'Album(s) that only "%s" can access', //cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File util.php
-// ------------------------------------------------------------------------- //
-
-if (defined('UTIL_PHP')) {
-$lang_util_desc_php = array(
-'Updates titles from filename', //cpg1.4
-'Deletes titles', //cpg1.4
-'Rebuilds thumbnails and resized photos', //cpg1.4
-'Deletes original sized photos replacing them with the resized version', //cpg1.4
-'Deletes original or intermediate size photos to free webspace', //cpg1.4
-'Deletes orphaned comments', //cpg1.4
-'Re-reads file sizes and dimensions (if you manually edited pics)', //cpg1.4
-'Resets views counter', //cpg1.4
-'Displays phpinfo', //cpg1.4
-'Updates the database', //cpg1.4
-'Displays log files', //cpg1.4
-);
-$lang_util_php = array(
-  'title' => 'Admin utilities (Resize pictures)',
-  'what_it_does' => 'What it does',
-  'file' => 'File',
-  'problem' => 'Problem', //cpg1.4
-  'status' => 'Status', //cpg1.4
-  'title_set_to' => 'title set to',
-  'submit_form' => 'submit',
-  'updated_succesfully' => 'updated successfully',
-  'error_create' => 'ERROR creating',
-  'continue' => 'Process more images',
-  'main_success' => 'The file %s was successfully used as main file',
-  'error_rename' => 'Error renaming %s to %s',
-  'error_not_found' => 'The file %s was not found',
-  'back' => 'back to main',
-  'thumbs_wait' => 'Updating thumbnails and/or resized images, please wait...',
-  'thumbs_continue_wait' => 'Continuing to update thumbnails and/or resized images...',
-  'titles_wait' => 'Updating titles, please wait...',
-  'delete_wait' => 'Deleting titles, please wait...',
-  'replace_wait' => 'Deleting originals and replacing them with resized images, please wait..',
-  'instruction' => 'Quick instructions',
-  'instruction_action' => 'Select action',
-  'instruction_parameter' => 'Set parameters',
-  'instruction_album' => 'Select album',
-  'instruction_press' => 'Press %s',
-  'update' => 'Update thumbs and/or resized photos',
-  'update_what' => 'What should be updated',
-  'update_thumb' => 'Only thumbnails',
-  'update_pic' => 'Only resized pictures',
-  'update_both' => 'Both thumbnails and resized pictures',
-  'update_number' => 'Number of processed images per click',
-  'update_option' => '(Try setting this option lower if you experience timeout problems)',
-  'filename_title' => 'Filename &rArr; File title',
-  'filename_how' => 'How should the file title be modified',
-  'filename_remove' => 'Remove the .jpg ending and replace _ (underscore) with spaces',
-  'filename_euro' => 'Change 2003_11_23_13_20_20.jpg to 23/11/2003 13:20',
-  'filename_us' => 'Change 2003_11_23_13_20_20.jpg to 11/23/2003 13:20',
-  'filename_time' => 'Change 2003_11_23_13_20_20.jpg to 13:20',
-  'delete' => 'Delete file titles or original size photos',
-  'delete_title' => 'Delete file titles',
-  'delete_title_explanation' => 'This will remove all titles on files in the album you specify.', //cpg1.4
-  'delete_original' => 'Delete original size photos',
-  'delete_original_explanation' => 'This will remove the full sized pictures.', //cpg1.4
-  'delete_intermediate' => 'Delete intermediate pictures', //cpg1.4
-  'delete_intermediate_explanation' => 'This will delete intermediate (normal) pictures.<br />Use this to free up disk space if you have disabled \'Create intermediate pictures\' in config after adding pictures.', //cpg1.4
-  'delete_replace' => 'Deletes the original images replacing them with the sized versions',
-  'titles_deleted' => 'All titles in specified album removed', //cpg1.4
-  'deleting_intermediates' => 'Deleting intermediate images, please wait...', //cpg1.4
-  'searching_orphans' => 'Searching for orphans, please wait...', //cpg1.4
-  'select_album' => 'Select album',
-  'delete_orphans' => 'Delete comments on missing files', //cpg1.4
-  'delete_orphans_explanation' => 'This will identify and allow you to delete any comments associated with files no longer in the gallery.<br />Checks all albums.', //cpg1.4
-  'refresh_db' => 'Reload file dimensions and size information', //cpg1.4
-  'refresh_db_explanation' => 'This will re-read file sizes and dimensions. Use this if quota\'s are incorrect or you have changed the files manually.', //cpg1.4
-  'reset_views' => 'Reset view counters', //cpg1.4
-  'reset_views_explanation' => 'Sets all file view counts to zero in the album specified.', //cpg1.4
-  'orphan_comment' => 'orphan comments found',
-  'delete' => 'Delete',
-  'delete_all' => 'Delete all',
-  'delete_all_orphans' => 'Delete all orphans?', //cpg1.4
-  'comment' => 'Comment: ',
-  'nonexist' => 'attached to non existent file # ',
-  'phpinfo' => 'Display phpinfo',
-  'phpinfo_explanation' => 'Contains technical information about your server.<br /> - You may be asked to provide information from this when requesting support.', //cpg1.4
-  'update_db' => 'Update database',
-  'update_db_explanation' => 'If you have replaced coppermine files, added a modification or upgraded from a previous version of coppermine, make sure to run the database update once. This will create the necessary tables and/or config values in your coppermine database.',
-  'view_log' => 'View log files', //cpg1.4
-  'view_log_explanation' => 'Coppermine can keep track of various actions users perform. You can browse those logs if you have enabled logging in <a href="admin.php">coppermine config</a>.', //cpg1.4
-  'versioncheck' => 'Check versions', //cpg1.4
-  'versioncheck_explanation' => 'Check your file versions to find out if you have replaced all files after an upgrade, or if coppermine source files have been updated after the release of a package.', //cpg1.4
-  'bridgemanager' => 'Bridge Manager', //cpg1.4
-  'bridgemanager_explanation' => 'Enable/disable integration (bridging) of Coppermine with another application (e.g. your BBS).', //cpg1.4
-);
-}
-
-// ------------------------------------------------------------------------- //
-// File versioncheck.php //cpg1.4
-// ------------------------------------------------------------------------- //
-
-if (defined('VERSIONCHECK_PHP')) $lang_versioncheck_php = array(
-  'title' => 'Versioncheck', //cpg1.4
-  'what_it_does' => 'This page is meant for users who have updated their coppermine install. This script goes through the files on your webserver and tries to determine if your local file versions on the webserver are the same as the ones from the repository at http://coppermine.sourceforge.net, this way displaying the files you were meant to update as well.<br />It will show everything in red that needs to be fixed. Entries in yellow need looking into. Entries in green (or your default font color) are OK.<br />Click on the help icons to find out more.', //cpg1.4
-  'online_repository_unable' => 'Unable to connect to online repository', //cpg1.4
-  'online_repository_noconnect' => 'Coppermine was unable to connect to the online repository. This can have two reasons:', //cpg1.4
-  'online_repository_reason1' => 'the coppermine online repository is currently down - check if you can browse this page: %s - if you can\'t access this page, try again later.', //cpg1.4
-  'online_repository_reason2' => 'PHP on your webserver is configured with %s turned off (by default, it\'s turned on). If the server is yours to administer, turn this option on in <i>php.ini</i> (at least allow it to be overridden with %s). If you\'re webhosted, you will probably have to live with the fact that you can\'t compare your files to the online repository. This page will then only display the file versions that came with your distribution - updates will not be displayed.', //cpg1.4
-  'online_repository_skipped' => 'Connection to online repository skipped', //cpg1.4
-  'online_repository_to_local' => 'The script is defaulting to the local copy of the version-files now. The data may be inaccurate if you have upgraded Coppermine and you haven\'t uploaded all files. Changes to the files after the release won\'t be taken into account as well.', //cpg1.4
-  'local_repository_unable' => 'Unable to connect to the repository on your server', //cpg1.4
-  'local_repository_explanation' => 'Coppermine was unable to connect to the repository file %s on your webserver. This probably means that you haven\'t uploaded the repository file to your webserver. Do so now and then try to run this page once more (hit refresh).<br />If the script still fails, your webhost might have disabled parts of <a href="http://www.php.net/manual/en/ref.filesystem.php">PHP\'s filesystem functions</a> completely. In this case, you simply won\'t be able to use this tool at all, sorry.', //cpg1.4
-  'coppermine_version_header' => 'Installed Coppermine version', //cpg1.4
-  'coppermine_version_info' => 'You have currently installed: %s', //cpg1.4
-  'coppermine_version_explanation' => 'If you think this is entirely wrong and you\'re supposed to be running a higher version of Coppermine, you probably haven\'t uploaded the most recent version of the file <i>include/init.inc.php</i>', //cpg1.4
-  'version_comparison' => 'Version comparison', //cpg1.4
-  'folder_file' => 'folder/file', //cpg1.4
-  'coppermine_version' => 'cpg version', //cpg1.4
-  'file_version' => 'file version', //cpg1.4
-  'webcvs' => 'web svn', //cpg1.4
-  'writable' => 'writable', //cpg1.4
-  'not_writable' => 'not writable', //cpg1.4
-  'help' => 'Help', //cpg1.4
-  'help_file_not_exist_optional1' => 'file/folder does not exist', //cpg1.4
-  'help_file_not_exist_optional2' => 'The file/folder %s has not been found on your server. Although it is optional you should upload it (using your FTP client) to your webserver if you are experiencing problems.', //cpg1.4
-  'help_file_not_exist_mandatory1' => 'file/folder does not exist', //cpg1.4
-  'help_file_not_exist_mandatory2' => 'The file/folder %s has not been found on your server, although it is mandatory. Upload the file to your webserver (using your FTP client).', //cpg1.4
-  'help_no_local_version1' => 'No local file version', //cpg1.4
-  'help_no_local_version2' => 'The script was unable to extract a local file version - your file is either outdated or you have modified it, removing the header information on the way. Updating the file is recommended.', //cpg1.4
-  'help_local_version_outdated1' => 'Local version outdated', //cpg1.4
-  'help_local_version_outdated2' => 'Your version of this file seems to be from an older version of Coppermine (you probably upgraded). Make sure to update this file as well.', //cpg1.4
-  'help_local_version_na1' => 'Unable to extract subversion version info', //cpg1.4
-  'help_local_version_na2' => 'The script could not determine what subversion (SVN) version the file on your webserver is. You should upload the file from your package.', //cpg1.4
-  'help_local_version_dev1' => 'Development version', //cpg1.4
-  'help_local_version_dev2' => 'The file on your webserver seems to be newer than your Coppermine version. You are either using a development file (you should only do so if you know what you are doing), or you have upgraded your Coppermine install and not uploaded include/init.inc.php', //cpg1.4
-  'help_not_writable1' => 'Folder not writable', //cpg1.4
-  'help_not_writable2' => 'Change file permissions (CHMOD) to grant the script write access to the folder %s and everything within it.', //cpg1.4
-  'help_writable1' => 'Folder writable', //cpg1.4
-  'help_writable2' => 'The folder %s is writable. This is an unnecessary risk, coppermine only needs read/execute access.', //cpg1.4
-  'help_writable_undetermined' => 'Coppermine was not able to determine wether the folder is writable.', //cpg1.4
-  'your_file' => 'your file', //cpg1.4
-  'reference_file' => 'reference file', //cpg1.4
-  'summary' => 'Summary', //cpg1.4
-  'total' => 'Total files/folders checked', //cpg1.4
-  'mandatory_files_missing' => 'Mandatory files missing', //cpg1.4
-  'optional_files_missing' => 'Optional files missing', //cpg1.4
-  'files_from_older_version' => 'Files left over from outdated Coppermine version', //cpg1.4
-  'file_version_outdated' => 'Outdated file versions', //cpg1.4
-  'error_no_data' => 'The script made a boo, it was not able to retrieve any information. Sorry for the inconvenience.', //cpg1.4
-  'go_to_webcvs' => 'go to %s', //cpg1.4
-  'options' => 'Options', //cpg1.4
-  'show_optional_files' => 'show optional folders/files', //cpg1.4
-  'show_mandatory_files' => 'show mandatory files', //cpg1.4
-  'show_file_versions' => 'show file versions', //cpg1.4
-  'show_errors_only' => 'show folders/files with errors only', //cpg1.4
-  'show_permissions' => 'show folder permissions', //cpg1.4
-  'show_condensed_output' => 'show condensed ouput (for easier screenshots)', //cpg1.4
-  'coppermine_in_webroot' => 'coppermine is installed in the webroot', //cpg1.4
-  'connect_online_repository' => 'try connecting to the online repository', //cpg1.4
-  'show_additional_information' => 'show additional information', //cpg1.4
-  'no_webcvs_link' => 'don\'t display web svn link', //cpg1.4
-  'stable_webcvs_link' => 'display web svn link to stable branch', //cpg1.4
-  'devel_webcvs_link' => 'display web svn link to devel branch', //cpg1.4
-  'submit' => 'apply changes / refresh', //cpg1.4
-  'reset_to_defaults' => 'reset to default values', //cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File view_log.php  //cpg1.4
-// ------------------------------------------------------------------------- //
-
-if (defined('VIEWLOG_PHP')) $lang_viewlog_php = array(
-  'delete_all' => 'Delete All Logs', //cpg1.4
-  'delete_this' => 'Delete This Log', //cpg1.4
-  'view_logs' => 'View Logs', //cpg1.4
-  'no_logs' => 'No logs created.', //cpg1.4
-);
-
-
-// ------------------------------------------------------------------------- //
-// File xp_publish.php //cpg1.4
-// ------------------------------------------------------------------------- //
-
-if (defined('XP_PUBLISH_PHP')) {
-
-$lang_xp_publish_client = <<<EOT
-<h1>XP Web Publishing Wizard Client</h1><p>This module allows to use <b>Windows XP</b> web publishing wizard with Coppermine.</p><p>Code is based on article posted by
-EOT;
-
-$lang_xp_publish_required = <<<EOT
-<h2>What is required</h2><ul><li>Windows XP in order to have the wizard.</li><li>A working installation of Coppermine on which <b>the web upload function works properly.</b></li></ul><h2>How to install on client side</h2><ul><li>Right click on
-EOT;
-
-$lang_xp_publish_select = <<<EOT
-Select &quot;save target as..&quot;. Save the file on your hard drive. When saving the file, check that the proposed file name is <b>cpg_###.reg</b> (the ### represents a numerical timestamp). Change it to that name if necessary (leave the numbers). When downloaded, double click on the file in order to register your server with the web publishing wizard.</li></ul>
-EOT;
-
-$lang_xp_publish_testing = <<<EOT
-<h2>Testing</h2><ul><li>In Windows Explorer, select some files and click on <b>Publish xxx on the web</b> in the left pane.</li><li>Confirm your file selection. Click on <b>Next</b>.</li><li>In the list of services that appear, select the one for your photo gallery (it has the name of your gallery). If the service does not appear, check that you have installed <b>cpg_pub_wizard.reg</b> as described above.</li><li>Input your login information if required.</li><li>Select the target album for your pictures or create a new one.</li><li>Click on <b>next</b>. The upload of your pictures starts.</li><li>When it is completed, check your gallery to see if pictures have been properly added.</li></ul>
-EOT;
-
-$lang_xp_publish_notes = <<<EOT
-<h2>Notes :</h2><ul><li>Once the upload has started, the wizard can't display any error message returned by the script so you can't know if the upload failed or succeeded until you check your gallery.</li><li>If the upload fails, enable &quot;Debug mode&quot; on the Coppermine admin page, try with one single picture and check error messages in the
-EOT;
-
-$lang_xp_publish_flood = <<<EOT
-file that is located in Coppermine directory on your server.</li><li>In order to avoid that the gallery be <i>flooded</i> by pictures uploaded through the wizard, only the <b>gallery admins</b> and <b>users that can have their own albums</b> can use this feature.</li>
-EOT;
-
-
-
-$lang_xp_publish_php = array(
-  'title' => 'Coppermine - XP Web Publishing Wizard', //cpg1.4
-  'welcome' => 'Welcome <b>%s</b>,', //cpg1.4
-  'need_login' => 'You need to login to the gallery using your web browser before you can use this wizard.<p/><p>When you login don\'t forget to select the <b>remember me</b> option if it is present.', //cpg1.4
-  'no_alb' => 'Sorry but there is no album where you are allowed to upload pictures with this wizard.', //cpg1.4
-  'upload' => 'Upload your pictures into an existing album', //cpg1.4
-  'create_new' => 'Create a new album for your pictures', //cpg1.4
-  'album' => 'Album', //cpg1.4
-  'category' => 'Category', //cpg1.4
-  'new_alb_created' => 'Your new album &quot;<b>%s</b>&quot; was created.', //cpg1.4
-  'continue' => 'Press &quot;Next&quot; to start to upload your pictures', //cpg1.4
-  'link' => 'this link', //cpg1.4
-);
-}
+<?php
+/*************************
+  Coppermine Photo Gallery
+  ************************
+  Copyright (c) 2003-2009 Coppermine Dev Team
+  v1.1 originally written by Gregory DEMAR
+
+  This program is free software; you can redistribute it and/or modify
+  it under the terms of the GNU General Public License version 3
+  as published by the Free Software Foundation.
+
+  ********************************************
+  Coppermine version: 1.4.25
+  $HeadURL: https://coppermine.svn.sourceforge.net/svnroot/coppermine/trunk/cpg1.4.x/lang/english.php $
+  $Revision: 5997 $
+  $Author: gaugau $
+  $Date: 2009-05-26 08:43:24 +0200 (Di, 26 Mai 2009) $
+**********************************************/
+
+if (!defined('IN_COPPERMINE')) { die('Not in Coppermine...');}
+
+// info about translators and translated language
+$lang_translation_info = array(
+  'lang_name_english' => 'English_US', //cpg1.4
+  'lang_name_native' => 'English_US', //cpg1.4
+  'lang_country_code' => 'us', //cpg1.4
+  'trans_name'=> 'Coppermine dev team',
+  'trans_email' => '',
+  'trans_website' => 'http://coppermine.sourceforge.net/',
+  'trans_date' => '2004-03-18',
+);
+
+$lang_charset = 'iso-8859-1';
+$lang_text_dir = 'ltr'; // ('ltr' for left to right, 'rtl' for right to left)
+
+// shortcuts for Byte, Kilo, Mega
+$lang_byte_units = array('Bytes', 'KB', 'MB');
+
+// Day of weeks and months
+$lang_day_of_week = array('Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat');
+$lang_month = array('Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec');
+
+// Some common strings
+$lang_yes = 'Yes';
+$lang_no  = 'No';
+$lang_back = 'BACK';
+$lang_continue = 'CONTINUE';
+$lang_info = 'Information';
+$lang_error = 'Error';
+$lang_check_uncheck_all = 'check/uncheck all'; //cpg1.4
+
+// The various date formats
+// See http://www.php.net/manual/en/function.strftime.php to define the variable below
+$album_date_fmt =    '%B %d, %Y';
+$lastcom_date_fmt =  '%m/%d/%y at %H:%M';
+$lastup_date_fmt = '%B %d, %Y';
+$register_date_fmt = '%B %d, %Y';
+$lasthit_date_fmt = '%B %d, %Y at %I:%M %p';
+$comment_date_fmt =  '%B %d, %Y at %I:%M %p';
+$log_date_fmt = '%B %d, %Y at %I:%M %p'; //cpg1.4
+
+// For the word censor
+$lang_bad_words = array('*fuck*', 'asshole', 'assramer', 'bitch*', 'c0ck', 'clits', 'Cock', 'cum', 'cunt*', 'dago', 'daygo', 'dego', 'dick*', 'dildo', 'fanculo', 'feces', 'foreskin', 'Fu\(*', 'fuk*', 'honkey', 'hore', 'injun', 'kike', 'lesbo', 'masturbat*', 'motherfucker', 'nazis', 'nigger*', 'nutsack', 'penis', 'phuck', 'poop', 'pussy', 'scrotum', 'shit', 'slut', 'titties', 'titty', 'twaty', 'wank*', 'whore', 'wop*');
+
+$lang_meta_album_names = array(
+  'random' => 'Random files',
+  'lastup' => 'Last additions',
+  'lastalb'=> 'Last updated albums',
+  'lastcom' => 'Last comments',
+  'topn' => 'Most viewed',
+  'toprated' => 'Top rated',
+  'lasthits' => 'Last viewed',
+  'search' => 'Search results',
+  'favpics'=> 'Favorite Files',  //cpg1.4
+);
+
+$lang_errors = array(
+  'access_denied' => 'You don\'t have permission to access this page.',
+  'perm_denied' => 'You don\'t have permission to perform this operation.',
+  'param_missing' => 'Script called without the required parameter(s).',
+  'non_exist_ap' => 'The selected album/file does not exist !',
+  'quota_exceeded' => 'Disk quota exceeded<br /><br />You have a space quota of [quota]K, your files currently use [space]K, adding this file would make you exceed your quota.',
+  'gd_file_type_err' => 'When using the GD image library allowed image types are only JPEG and PNG.',
+  'invalid_image' => 'The image you have uploaded is corrupted or can\'t be handled by the GD library',
+  'resize_failed' => 'Unable to create thumbnail or reduced size image.',
+  'no_img_to_display' => 'No image to display',
+  'non_exist_cat' => 'The selected category does not exist',
+  'orphan_cat' => 'A category has a non-existing parent, run the category manager to correct the problem!',
+  'directory_ro' => 'Directory \'%s\' is not writable, files can\'t be deleted',
+  'non_exist_comment' => 'The selected comment does not exist.',
+  'pic_in_invalid_album' => 'File is in a non existent album (%s)!?',
+  'banned' => 'You are currently banned from using this site.',
+  'not_with_udb' => 'This function is disabled in Coppermine because it is integrated with forum software. Either what you are trying to do is not supported in this configuration, or the function should be handled by the forum software.',
+  'offline_title' => 'Offline',
+  'offline_text' => 'Gallery is currently offline - check back soon',
+  'ecards_empty' => 'There are currently no ecard records to display.',
+  'action_failed' => 'Action failed.  Coppermine is unable to process your request.',
+  'no_zip' => 'The necessary libraries to process ZIP files are not available.  Please contact your Coppermine administrator.',
+  'zip_type' => 'You do not have permission to upload ZIP files.',
+  'database_query' => 'There was an error while processing a database query', //cpg1.4
+  'register_globals_on' => 'The PHP setting register_globals is enabled on your server, which is a bad idea in terms of security. It\'s strongly recommended to turn it off. [<a href="http://forum.coppermine-gallery.net/index.php/topic,59569.0.html" rel="external" class="external">more</a>]',
+);
+
+$lang_bbcode_help_title = 'bbcode help'; //cpg1.4
+$lang_bbcode_help = 'You can add clickable links and some formating to this field by using bbcode tags: <li>[b]Bold[/b] =&gt; <b>Bold</b></li><li>[i]Italic[/i] =&gt; <i>Italic</i></li><li>[url=http://yoursite.com/]Url Text[/url] =&gt; <a href="http://yoursite.com">Url Text</a></li><li>[email]user@domain.com[/email] =&gt; <a href="mailto:user@domain.com">user@domain.com</a></li><li>[color=red]some text[/color] =&gt; <span style="color:red">some text</span></li><li>[img]http://coppermine-gallery.net/demo/cpg14x/images/red.gif[/img] => <img src="../images/red.gif" border="0" alt="" /></li>'; //cpg1.4
+
+// ------------------------------------------------------------------------- //
+// File theme.php
+// ------------------------------------------------------------------------- //
+
+$lang_main_menu = array(
+  'home_title' => 'Go to the home page',
+  'home_lnk' => 'Home',
+  'alb_list_title' => 'Go to the album list',
+  'alb_list_lnk' => 'Album list',
+  'my_gal_title' => 'Go to my personal gallery',
+  'my_gal_lnk' => 'My gallery',
+  'my_prof_title' => 'Go to my personal profile', //cpg1.4
+  'my_prof_lnk' => 'My profile',
+  'adm_mode_title' => 'Switch to admin mode',
+  'adm_mode_lnk' => 'Admin mode',
+  'usr_mode_title' => 'Switch to user mode',
+  'usr_mode_lnk' => 'User mode',
+  'upload_pic_title' => 'Upload a file into an album',
+  'upload_pic_lnk' => 'Upload file',
+  'register_title' => 'Create an account',
+  'register_lnk' => 'Register',
+  'login_title' => 'Log me in', //cpg1.4
+  'login_lnk' => 'Login',
+  'logout_title' => 'Log me out', //cpg1.4
+  'logout_lnk' => 'Logout',
+  'lastup_title' => 'Show most recent uploads', //cpg1.4
+  'lastup_lnk' => 'Last uploads',
+  'lastcom_title' => 'Show most recent comments', //cpg1.4
+  'lastcom_lnk' => 'Last comments',
+  'topn_title' => 'Show most viewed items', //cpg1.4
+  'topn_lnk' => 'Most viewed',
+  'toprated_title' => 'Show top rated items', //cpg1.4
+  'toprated_lnk' => 'Top rated',
+  'search_title' => 'Search the gallery', //cpg1.4
+  'search_lnk' => 'Search',
+  'fav_title' => 'Go to my favorites', //cpg1.4
+  'fav_lnk' => 'My Favorites',
+  'memberlist_title' => 'Show Memberlist',
+  'memberlist_lnk' => 'Memberlist',
+  'faq_title' => 'Frequently Asked Questions on the picture gallery &quot;Coppermine&quot;',
+  'faq_lnk' => 'FAQ',
+);
+
+$lang_gallery_admin_menu = array(
+  'upl_app_title' => 'Approve new uploads', //cpg1.4
+  'upl_app_lnk' => 'Upload approval',
+  'admin_title' => 'Go to config', //cpg1.4
+  'admin_lnk' => 'Config', //cpg1.4
+  'albums_title' => 'Go to album configuration', //cpg1.4
+  'albums_lnk' => 'Albums',
+  'categories_title' => 'Go to category configuration', //cpg1.4
+  'categories_lnk' => 'Categories',
+  'users_title' => 'Go to user configuration', //cpg1.4
+  'users_lnk' => 'Users',
+  'groups_title' => 'Go to group configuration', //cpg1.4
+  'groups_lnk' => 'Groups',
+  'comments_title' => 'Review all comments', //cpg1.4
+  'comments_lnk' => 'Review Comments',
+  'searchnew_title' => 'Go to the batch add process', //cpg1.4
+  'searchnew_lnk' => 'Batch add files',
+  'util_title' => 'Go to the admin tools', //cpg1.4
+  'util_lnk' => 'Admin Tools',
+  'key_title' => 'Go to the keyword dictionary', //cpg1.4
+  'key_lnk' => 'Keyword Dictionary', //cpg1.4
+  'ban_title' => 'Go to the banned users', //cpg1.4
+  'ban_lnk' => 'Ban Users',
+  'db_ecard_title' => 'Review Ecards', //cpg1.4
+  'db_ecard_lnk' => 'Display Ecards',
+  'pictures_title' => 'Sort my pictures', //cpg1.4
+  'pictures_lnk' => 'Sort my pictures', //cpg1.4
+  'documentation_lnk' => 'Documentation', //cpg1.4
+  'documentation_title' => 'Coppermine manual', //cpg1.4
+);
+
+$lang_user_admin_menu = array(
+  'albmgr_title' => 'Create and order my albums', //cpg1.4
+  'albmgr_lnk' => 'Create / order my albums',
+  'modifyalb_title' => 'Go to modify my albums',  //cpg1.4
+  'modifyalb_lnk' => 'Modify my albums',
+  'my_prof_title' => 'Go to my personal profile', //cpg1.4
+  'my_prof_lnk' => 'My profile',
+);
+
+$lang_cat_list = array(
+  'category' => 'Category',
+  'albums' => 'Albums',
+  'pictures' => 'Files',
+);
+
+$lang_album_list = array(
+  'album_on_page' => '%d albums on %d page(s)',
+);
+
+$lang_thumb_view = array(
+  'date' => 'DATE',
+  //Sort by filename and title
+  'name' => 'FILE NAME',
+  'title' => 'TITLE',
+  'sort_da' => 'Sort by date ascending',
+  'sort_dd' => 'Sort by date descending',
+  'sort_na' => 'Sort by name ascending',
+  'sort_nd' => 'Sort by name descending',
+  'sort_ta' => 'Sort by title ascending',
+  'sort_td' => 'Sort by title descending',
+  'position' => 'POSITION', //cpg1.4
+  'sort_pa' => 'Sort by position ascending', //cpg1.4
+  'sort_pd' => 'Sort by position descending', //cpg1.4
+  'download_zip' => 'Download as Zip file',
+  'pic_on_page' => '%d files on %d page(s)',
+  'user_on_page' => '%d users on %d page(s)',
+  'enter_alb_pass' => 'Enter Album Password', //cpg1.4
+  'invalid_pass' => 'Invalid Password', //cpg1.4
+  'pass' => 'Password', //cpg1.4
+  'submit' => 'Submit', //cpg1.4
+);
+
+$lang_img_nav_bar = array(
+  'thumb_title' => 'Return to the thumbnail page',
+  'pic_info_title' => 'Display/hide file information',
+  'slideshow_title' => 'Slideshow',
+  'ecard_title' => 'Send this file as an e-card',
+  'ecard_disabled' => 'e-cards are disabled',
+  'ecard_disabled_msg' => 'You don\'t have permission to send ecards', //js-alert
+  'prev_title' => 'See previous file',
+  'next_title' => 'See next file',
+  'pic_pos' => 'FILE %s/%s',
+  'report_title' => 'Report this file to the administrator', //cpg1.4
+  'go_album_end' => 'Skip to end', //cpg1.4
+  'go_album_start' => 'Return to start', //cpg1.4
+  'go_back_x_items' => 'go back %s items', //cpg1.4
+  'go_forward_x_items' => 'go forward %s items', //cpg1.4
+);
+
+$lang_rate_pic = array(
+  'rate_this_pic' => 'Rate this file ',
+  'no_votes' => '(No vote yet)',
+  'rating' => '(current rating : %s / 5 with %s votes)',
+  'rubbish' => 'Rubbish',
+  'poor' => 'Poor',
+  'fair' => 'Fair',
+  'good' => 'Good',
+  'excellent' => 'Excellent',
+  'great' => 'Great',
+);
+
+// ------------------------------------------------------------------------- //
+// File include/exif.inc.php
+// ------------------------------------------------------------------------- //
+
+// void
+
+// ------------------------------------------------------------------------- //
+// File include/functions.inc.php
+// ------------------------------------------------------------------------- //
+
+$lang_cpg_die = array(
+  INFORMATION => $lang_info,
+  ERROR => $lang_error,
+  CRITICAL_ERROR => 'Critical error',
+  'file' => 'File: ',
+  'line' => 'Line: ',
+);
+
+$lang_display_thumbnails = array(
+  'filename' => 'Filename=', //cpg1.4
+  'filesize' => 'Filesize=', //cpg1.4
+  'dimensions' => 'Dimensions=', //cpg1.4
+  'date_added' => 'Date added=', //cpg1.4
+);
+
+$lang_get_pic_data = array(
+  'n_comments' => '%s comments',
+  'n_views' => '%s views',
+  'n_votes' => '(%s votes)',
+);
+
+$lang_cpg_debug_output = array(
+  'debug_info' => 'Debug Info',
+  'select_all' => 'Select All',
+  'copy_and_paste_instructions' => 'If you\'re going to request help on the coppermine support board, copy-and-paste this debug output into your posting when requested, along with the error message you get (if any). Make sure to replace any passwords from the query with *** before posting. <br />Note: This is for information only and does not mean there is an error with your gallery.', //cpg1.4
+  'phpinfo' => 'display phpinfo',
+  'notices' => 'Notices', //cpg1.4
+);
+
+$lang_language_selection = array(
+  'reset_language' => 'Default language',
+  'choose_language' => 'Choose your language',
+);
+
+$lang_theme_selection = array(
+  'reset_theme' => 'Default theme',
+  'choose_theme' => 'Choose a theme',
+);
+
+$lang_version_alert = array(
+  'version_alert' => 'Unsupported version!', //cpg1.4
+  'security_alert' => 'Security Alert!', //cpg1.4.3
+  'relocate_exists' => 'Remove the <a href="http://coppermine-gallery.net/forum/index.php?topic=24217.0">relocate_server.php</a> file from your website!',
+  'no_stable_version' => 'You are running Coppermine %s (%s) which is only meant for very experienced users - this version comes without support nor any warranties. Use it at your own risk or downgrade to the latest stable version if you need support!', //cpg1.4
+  'gallery_offline' => 'The gallery is currently offline and will be only visible for you as admin. Don\'t forget to switch it back online after finishing maintenance.', //cpg1.4
+);
+
+$lang_create_tabs = array(
+  'previous' => 'previous', //cpg1.4
+  'next' => 'next', //cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File include/init.inc.php
+// ------------------------------------------------------------------------- //
+
+// void
+
+// ------------------------------------------------------------------------- //
+// File keyword.inc.php                                                      //
+// ------------------------------------------------------------------------- //
+
+// void
+
+// ------------------------------------------------------------------------- //
+// File include/picmgmt.inc.php
+// ------------------------------------------------------------------------- //
+
+// void
+
+// ------------------------------------------------------------------------- //
+// File include/plugin_api.inc.php
+// ------------------------------------------------------------------------- //
+$lang_plugin_api = array(
+  'error_wakeup' => "Couldn't awaken plugin '%s'", //cpg1.4
+  'error_install' => "Couldn't install plugin '%s'", //cpg1.4
+  'error_uninstall' => "Couldn't uninstall plugin '%s'", //cpg1.4
+  'error_sleep' => "Couldn't uninstall plugin '%s'<br />", //cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File include/smilies.inc.php
+// ------------------------------------------------------------------------- //
+
+if (defined('SMILIES_PHP')) $lang_smilies_inc_php = array(
+  'Exclamation' => 'Exclamation',
+  'Question' => 'Question',
+  'Very Happy' => 'Very Happy',
+  'Smile' => 'Smile',
+  'Sad' => 'Sad',
+  'Surprised' => 'Surprised',
+  'Shocked' => 'Shocked',
+  'Confused' => 'Confused',
+  'Cool' => 'Cool',
+  'Laughing' => 'Laughing',
+  'Mad' => 'Mad',
+  'Razz' => 'Razz',
+  'Embarassed' => 'Embarrassed',
+  'Crying or Very sad' => 'Crying or Very sad',
+  'Evil or Very Mad' => 'Evil or Very Mad',
+  'Twisted Evil' => 'Twisted Evil',
+  'Rolling Eyes' => 'Rolling Eyes',
+  'Wink' => 'Wink',
+  'Idea' => 'Idea',
+  'Arrow' => 'Arrow',
+  'Neutral' => 'Neutral',
+  'Mr. Green' => 'Mr. Green',
+);
+
+// ------------------------------------------------------------------------- //
+// File addpic.php
+// ------------------------------------------------------------------------- //
+
+// void
+
+// ------------------------------------------------------------------------- //
+// File mode.php //cpg1.4
+// ------------------------------------------------------------------------- //
+
+if (defined('MODE_PHP')) $lang_mode_php = array(
+  0 => 'Leaving admin mode...',
+  1 => 'Entering admin mode...',
+);
+
+// ------------------------------------------------------------------------- //
+// File albmgr.php
+// ------------------------------------------------------------------------- //
+
+if (defined('ALBMGR_PHP')) $lang_albmgr_php = array(
+  'alb_need_name' => 'Albums need to have a name !', //js-alert
+  'confirm_modifs' => 'Are you sure you want to make these modifications ?', //js-alert
+  'no_change' => 'You did not make any change !', //js-alert
+  'new_album' => 'New album',
+  'confirm_delete1' => 'Are you sure you want to delete this album ?', //js-alert
+  'confirm_delete2' => '\nAll files and comments it contains will be lost !', //js-alert
+  'select_first' => 'Select an album first', //js-alert
+  'alb_mrg' => 'Album Manager',
+  'my_gallery' => '* My gallery *',
+  'no_category' => '* No category *',
+  'delete' => 'Delete',
+  'new' => 'New',
+  'apply_modifs' => 'Apply modifications',
+  'select_category' => 'Select category',
+);
+
+// ------------------------------------------------------------------------- //
+// File banning.php
+// ------------------------------------------------------------------------- //
+
+if (defined('BANNING_PHP')) $lang_banning_php = array(
+  'title' => 'Ban Users', //cpg1.4
+  'user_name' => 'User Name', //cpg1.4
+  'ip_address' => 'IP Address', //cpg1.4
+  'expiry' => 'Expires (blank is permanent)', //cpg1.4
+  'edit_ban' => 'Save Changes', //cpg1.4
+  'delete_ban' => 'Delete', //cpg1.4
+  'add_new' => 'Add New Ban', //cpg1.4
+  'add_ban' => 'Add', //cpg1.4
+  'error_user' => 'Cannot find user', //cpg1.4
+  'error_specify' => 'You need to specify either a user name or an IP address', //cpg1.4
+  'error_ban_id' => 'Invalid ban ID!', //cpg1.4
+  'error_admin_ban' => 'You cannot ban yourself!', //cpg1.4
+  'error_server_ban' => 'You were going to ban your own server? Tsk tsk, cannot do that...', //cpg1.4
+  'error_ip_forbidden' => 'You cannot ban this IP - it is non-routable (private) anyway!<br />If you want to allow banning for private IPs, change this in your <a href="admin.php">Config</a> (only makes sense when Coppermine runs on a LAN).', //cpg1.4
+  'lookup_ip' => 'Lookup an IP address', //cpg1.4
+  'submit' => 'go!', //cpg1.4
+  'select_date' => 'select date', //cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File bridgemgr.php //cpg1.4
+// ------------------------------------------------------------------------- //
+
+if (defined('BRIDGEMGR_PHP')) $lang_bridgemgr_php = array(
+  'title' => 'Bridge Wizard',
+  'warning' => 'Warning: when using this wizard you have to understand that sensitive data is being sent using html forms. Only run it on your own PC (not on a public client like an internet cafe), and make sure to clear the browser cache and temporary files after you have finished, or others might be able to access your data!',
+  'back' => 'back',
+  'next' => 'next',
+  'start_wizard' => 'Start bridging wizard',
+  'finish' => 'Finish',
+  'hide_unused_fields' => 'hide unused form fields (recommended)',
+  'clear_unused_db_fields' => 'clear invalid database entries (recommended)',
+  'custom_bridge_file' => 'your custom bridge file\'s name (if the bridge file\'s name is <i>myfile.inc.php</i>, enter <i>myfile</i> into this field)',
+  'no_action_needed' => 'No action needed in this step. Just click \'next\' to continue.',
+  'reset_to_default' => 'Reset to default value',
+  'choose_bbs_app' => 'choose application to bridge coppermine with',
+  'support_url' => 'Go here for support on this application',
+  'settings_path' => 'path(s) used by your BBS app',
+  'database_connection' => 'database connection',
+  'database_tables' => 'database tables',
+  'bbs_groups' => 'BBS groups',
+  'license_number' => 'License number',
+  'license_number_explanation' => 'enter your license number (if applicable)',
+  'db_database_name' => 'Database name',
+  'db_database_name_explanation' => 'Enter the name of the database your BBS app uses',
+  'db_hostname' => 'Database host',
+  'db_hostname_explanation' => 'Hostname where your mySQL database resides, usually &quot;localhost&quot;',
+  'db_username' => 'Database user account',
+  'db_username_explanation' => 'mySQL user account to use for connection with BBS',
+  'db_password' => 'Database password',
+  'db_password_explanation' => 'Password for this mySQL user account',
+  'full_forum_url' => 'Forum URL',
+  'full_forum_url_explanation' => 'Full URL of your BBS app (including the leading http:// bit, e.g. http://www.yourdomain.tld/forum)',
+  'relative_path_of_forum_from_webroot' => 'Relative forum path',
+  'relative_path_of_forum_from_webroot_explanation' => 'Relative path to your BBS app from the webroot (Example: if your BBS is at http://www.yourdomain.tld/forum/, enter &quot;/forum/&quot; into this field)',
+  'relative_path_to_config_file' => 'Relative path to your BBS\'s config file',
+  'relative_path_to_config_file_explanation' => 'Relative path to your BBS, seen from your Coppermine folder (e.g. &quot;../forum/&quot; if your BBS is at http://www.yourdomain.tld/forum/ and Coppermine at http://www.yourdomain.tld/gallery/)',
+  'cookie_prefix' => 'Cookie prefix',
+  'cookie_prefix_explanation' => 'this has to be your BBS\'s cookie name',
+  'table_prefix' => 'Table prefix',
+  'table_prefix_explanation' => 'Must match the prefix you chose for your BBS when setting it up.',
+  'user_table' => 'User table',
+  'user_table_explanation' => '(usually default value should be OK, unless your BBS install isn\'t standard)',
+  'session_table' => 'Session table',
+  'session_table_explanation' => '(usually default value should be OK, unless your BBS install isn\'t standard)',
+  'group_table' => 'Group table',
+  'group_table_explanation' => '(usually default value should be OK, unless your BBS install isn\'t standard)',
+  'group_relation_table' => 'Group relation table',
+  'group_relation_table_explanation' => '(usually default value should be OK, unless your BBS install isn\'t standard)',
+  'group_mapping_table' => 'Group mapping table',
+  'group_mapping_table_explanation' => '(usually default value should be OK, unless your BBS install isn\'t standard)',
+  'use_standard_groups' => 'Use standard BBS usergroups',
+  'use_standard_groups_explanation' => 'Use standard (built-in) usergroups (recommended). This will make all custom usergroups settings made on this page become void. Only disable this option if you REALLY know what you\'re doing!',
+  'validating_group' => 'Validating group',
+  'validating_group_explanation' => 'The group ID of your BBS where users accounts that need validation are in (usually default value should be OK, unless your BBS install isn\'t standard)',
+  'guest_group' => 'Guest group',
+  'guest_group_explanation' => 'Group ID of your BBS where guests (anonymous users) are in (default value should be OK, only edit if you know what you\'re doing)',
+  'member_group' => 'Member group',
+  'member_group_explanation' => 'Group ID of your BBS where &quot;regular&quot; users accounts are in (default value should be OK, only edit if you know what you\'re doing)',
+  'admin_group' => 'Admin group',
+  'admin_group_explanation' => 'Group ID of your BBS where admins are in (default value should be OK, only edit if you know what you\'re doing)',
+  'banned_group' => 'Banned group',
+  'banned_group_explanation' => 'Group ID of your BBS where banned users are in (default value should be OK, only edit if you know what you\'re doing)',
+  'global_moderators_group' => 'Global moderators group',
+  'global_moderators_group_explanation' => 'Group ID of your BBS where global moderators of your BBS are in (default value should be OK, only edit if you know what you\'re doing)',
+  'special_settings' => 'BBS-specific settings',
+  'logout_flag' => 'phpBB version (logout flag)',
+  'logout_flag_explanation' => 'What\'s your BBS version (this setting specifies how logouts are being handled)',
+  'use_post_based_groups' => 'Use post-based groups?',
+  'logout_flag_yes' => '2.0.5 or higher',
+  'logout_flag_no' => '2.0.4 or lower',
+  'use_post_based_groups_explanation' => 'Should the groups from the BBS that are defined by the number of posts be taken into account (allows a granular permissions management) or just the default groups (makes administration easier, recommended). You can change this setting later as well.',
+  'use_post_based_groups_yes' => 'yes',
+  'use_post_based_groups_no' => 'no',
+  'error_title' => 'You need to correct these errors before you can continue. Go to the previous screen.',
+  'error_specify_bbs' => 'You have to specify what application you want to bridge your Coppermine install with.',
+  'error_no_blank_name' => 'You can\'t leave the name of your custom bridge file blank.',
+  'error_no_special_chars' => 'The bridge file name mustn\'t contain any special chars except underscore (_) and dash (-)!',
+  'error_bridge_file_not_exist' => 'The bridge file %s doesn\'t exist on the server. Check if you have actually uploaded it.',
+  'finalize' => 'enable/disable BBS integration',
+  'finalize_explanation' => 'So far, the settings you specified have been written into the database, but BBS integration hasn\'t been enabled. You can switch integration on/off later at any time. Make sure to remember the admin username and password from standalone Coppermine, you might need it later to be able to make any changes. If anything goes wrong, go to %s and disable BBS integration there, using your standalone (unbridged) admin account (usually the one you set up during Coppermine install).',
+  'your_bridge_settings' => 'Your bridge settings',
+  'title_enable' => 'Enable integration/bridging with %s',
+  'bridge_enable_yes' => 'enable',
+  'bridge_enable_no' => 'disable',
+  'error_must_not_be_empty' => 'must not be empty',
+  'error_either_be' => 'must either be %s or %s',
+  'error_folder_not_exist' => '%s doesn\'t exist. Correct the value you entered for %s',
+  'error_cookie_not_readible' => 'Coppermine can\'t read a cookie named %s. Correct the value you entered for %s, or go to your BBS administration panel and make sure that the cookie path is readable for coppermine.',
+  'error_mandatory_field_empty' => 'You can not leave the field %s blank - fill in the proper value.',
+  'error_no_trailing_slash' => 'There mustn\'t be a trailing slash in the field %s.',
+  'error_trailing_slash' => 'There must be a trailing slash in the field %s.',
+  'error_db_connect' => 'Could not connect to the mySQL database with the data you specified. Here\'s what mySQL said:',
+  'error_db_name' => 'Although Coppermine could establish a connection, it wasn\'t able to find the database %s. Make sure you have specified %s properly. Here\'s what mySQL said:',
+  'error_prefix_and_table' => '%s and ',
+  'error_db_table' => 'Could not find the table %s. Make sure you have specified %s correctly.',
+  'recovery_title' => 'Bridge Manager: emergency recovery',
+  'recovery_explanation' => 'If you came here to administer the BBS integration of your Coppermine gallery, you have to log in first as admin. If you can not log in because bridging doesn\'t work as expected, you can disable BBS integration with this page. Entering your username and password will not log you in, it will only disable BBS integration. Refer to the documentation for details.',
+  'username' => 'Username',
+  'password' => 'Password',
+  'disable_submit' => 'submit',
+  'recovery_success_title' => 'Authorization successful',
+  'recovery_success_content' => 'You have successfully disabled BBS bridging. Your Coppermine install runs now in standalone mode.',
+  'recovery_success_advice_login' => 'Log in as admin to edit your bridge settings and/or enable BBS integration again.',
+  'goto_login' => 'Go to login page',
+  'goto_bridgemgr' => 'Go to bridge manager',
+  'recovery_failure_title' => 'Authorization failed',
+  'recovery_failure_content' => 'You supplied the wrong credentials. You will have to supply the admin account data of the standalone version (usually the account you set up during Coppermine install).',
+  'try_again' => 'try again',
+  'recovery_wait_title' => 'Wait time has not elapsed',
+  'recovery_wait_content' => 'For security reasons this script does not allow failed logons in short succession, so you will have to wait a bit untill you\'re allowed to try to authenticate.',
+  'wait' => 'wait',
+  'create_redir_file' => 'Create redirection file (recommended)',
+  'create_redir_file_explanation' => 'To redirect users back to Coppermine once they logged into your BBS, you need a redirection file to be created within your BBS folder. When this option is checked, the bridge manager will attempt to create this file for you, or give you code ready to copy-and-paste to create the file manually.',
+  'browse' => 'browse',
+);
+
+// ------------------------------------------------------------------------- //
+// File calendar.php //cpg1.4
+// ------------------------------------------------------------------------- //
+
+if (defined('CALENDAR_PHP')) $lang_calendar_php = array(
+  'title' => 'Calendar', //cpg1.4
+  'close' => 'close', //cpg1.4
+  'clear_date' => 'clear date', //cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File catmgr.php
+// ------------------------------------------------------------------------- //
+
+if (defined('CATMGR_PHP')) $lang_catmgr_php = array(
+  'miss_param' => 'Parameters required for \'%s\'operation not supplied !',
+  'unknown_cat' => 'Selected category does not exist in database',
+  'usergal_cat_ro' => 'User galleries category can\'t be deleted !',
+  'manage_cat' => 'Manage categories',
+  'confirm_delete' => 'Are you sure you want to DELETE this category', //js-alert
+  'category' => 'Category',
+  'operations' => 'Operations',
+  'move_into' => 'Move into',
+  'update_create' => 'Update/Create category',
+  'parent_cat' => 'Parent category',
+  'cat_title' => 'Category title',
+  'cat_thumb' => 'Category thumbnail',
+  'cat_desc' => 'Category description',
+  'categories_alpha_sort' => 'Sort categories alphabetically (instead of custom sort order)', //cpg1.4
+  'save_cfg' => 'Save configuration', //cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File admin.php //cpg1.4
+// ------------------------------------------------------------------------- //
+
+if (defined('ADMIN_PHP')) $lang_admin_php = array(
+  'title' => 'Gallery Configuration', //cpg1.4
+  'manage_exif' => 'Manage exif display', //cpg1.4
+  'manage_plugins' => 'Manage plugins', //cpg1.4
+  'manage_keyword' => 'Manage keywords', //cpg1.4
+  'restore_cfg' => 'Restore factory defaults',
+  'save_cfg' => 'Save new configuration',
+  'notes' => 'Notes',
+  'info' => 'Information',
+  'upd_success' => 'Coppermine configuration was updated',
+  'restore_success' => 'Coppermine default configuration restored',
+  'name_a' => 'Name ascending',
+  'name_d' => 'Name descending',
+  'title_a' => 'Title ascending',
+  'title_d' => 'Title descending',
+  'date_a' => 'Date ascending',
+  'date_d' => 'Date descending',
+  'pos_a' => 'Position ascending', //cpg1.4
+  'pos_d' => 'Position descending', //cpg1.4
+  'th_any' => 'Max Aspect',
+  'th_ht' => 'Height',
+  'th_wd' => 'Width',
+  'label' => 'label',
+  'item' => 'item',
+  'debug_everyone' => 'Everyone',
+  'debug_admin' => 'Admin only',
+  'no_logs'=> 'Off', //cpg1.4
+  'log_normal'=> 'Normal', //cpg1.4
+  'log_all' => 'All', //cpg1.4
+  'view_logs' => 'View logs', //cpg1.4
+  'click_expand' => 'click section name to expand', //cpg1.4
+  'expand_all' => 'Expand All', //cpg1.4
+  'notice1' => '(*) These settings mustn\'t be changed if you already have files in your database.', //cpg1.4 - (relocated)
+  'notice2' => '(**) When changing this setting, only the files that are added from that point on are affected, so it is advisable that this setting must not be changed if there are already files in the gallery. You can, however, apply the changes to the existing files with the &quot;<a href="util.php">admin tools</a> (resize pictures)&quot; utility from the admin menu.', //cpg1.4 - (relocated)
+  'notice3' => '(***) All log files are written in english.', //cpg1.4 - (relocated)
+  'bbs_disabled' => 'Function disabled when using bb integration', //cpg1.4
+  'auto_resize_everyone' => 'Everyone', //cpg1.4
+  'auto_resize_user' => 'User only', //cpg1.4
+  'ascending' => 'ascending', //cpg1.4
+  'descending' => 'descending', //cpg1.4
+);
+
+if (defined('ADMIN_PHP')) $lang_admin_data = array(
+  'General settings',
+  array('Gallery name', 'gallery_name', 0, 'f=index.htm&amp;as=admin_general_name&amp;ae=admin_general_name_end'), //cpg1.4
+  array('Gallery description', 'gallery_description', 0, 'f=index.htm&amp;as=admin_general_description&amp;ae=admin_general_description_end'), //cpg1.4
+  array('Gallery administrator email', 'gallery_admin_email', 0, 'f=index.htm&amp;as=admin_general_email&amp;ae=admin_general_email_end'), //cpg1.4
+  array('URL of your coppermine gallery folder (no \'index.php\' or similar at the end)', 'ecards_more_pic_target', 0, 'f=index.htm&amp;as=admin_general_coppermine-url&amp;ae=admin_general_coppermine-url_end'), //cpg1.4
+  array('URL of your home page', 'home_target', 0, 'f=index.htm&amp;as=admin_general_home-url&amp;ae=admin_general_home-url_end'), //cpg1.4
+  array('Allow ZIP-download of favorites', 'enable_zipdownload', 1, 'f=index.htm&amp;as=admin_general_zip-download&amp;ae=admin_general_zip-download_end'), //cpg1.4
+  array('Timezone difference relative to GMT (current time: ' . localised_date(-1, $comment_date_fmt) . ')','time_offset',0, 'f=index.htm&amp;as=admin_general_time-offset&amp;ae=admin_general_time-offset_end&amp;top=1'), //cpg1.4
+  array('Enable encrypted passwords (can not be undone)','enable_encrypted_passwords',1, 'f=index.htm&amp;as=admin_general_encrypt_password_start&amp;ae=admin_general_encrypt_password_end&amp;top=1'), // cpg 1.4
+  array('Enable help-icons (help available in English only)','enable_help',9, 'f=index.htm&amp;as=admin_general_help&amp;ae=admin_general_help_end'), //cpg1.4
+  array('Enable clickable keywords in search','clickable_keyword_search',14, 'f=index.htm&amp;as=admin_general_keywords_start&amp;ae=admin_general_keywords_end'), //cpg1.4
+  array('Enable plugins', 'enable_plugins', 12, 'f=index.htm&amp;as=admin_general_enable-plugins&amp;ae=admin_general_enable-plugins_end'),  //cpg1.4
+  array('Allow banning of non-routable (private) IP addresses', 'ban_private_ip', 1,  'f=index.htm&amp;as=admin_general_private-ip&amp;ae=admin_general_private-ip_end'), //cpg1.4
+  array('Browsable batch-add interface', 'browse_batch_add', 1, 'f=index.htm&amp;as=admin_general_browsable_batch_add&amp;ae=admin_general_browsable_batch_add_end'), //cpg1.4
+
+  'Language &amp; Charset settings',
+  array('Language', 'lang', 5, 'f=index.htm&amp;as=admin_language_language&amp;ae=admin_language_language_end'), //cpg1.4
+  array('Fallback to English if translated phrase not found?', 'language_fallback', 1, 'f=index.htm&amp;as=admin_language_fallback&amp;ae=admin_language_fallback_end'), //cpg1.4
+  array('Character encoding', 'charset', 4, 'f=index.htm&amp;as=admin_language_charset&amp;ae=admin_language_charset_end'), //cpg1.4
+  array('Display language list', 'language_list', 1, 'f=index.htm&amp;as=admin_language_list&amp;ae=admin_language_list_end'), //cpg1.4
+  array('Display language flags', 'language_flags', 8, 'f=index.htm&amp;as=admin_language_flags&amp;ae=admin_language_flags_end&amp;top=1'), //cpg1.4
+  array('Display &quot;reset&quot; in language selection', 'language_reset', 1, 'f=index.htm&amp;as=admin_language_reset&amp;ae=admin_language_reset_end&amp;top=1'), //cpg1.4
+  //array('Display previous/next on tabbed pages', 'previous_next_tab', 1), //cpg1.4
+
+  'Themes settings',
+  array('Theme', 'theme', 6, 'f=index.htm&amp;as=admin_theme_theme&amp;ae=admin_theme_theme_end'), //cpg1.4
+  array('Display theme list', 'theme_list', 1, 'f=index.htm&amp;as=admin_theme_theme_list&amp;ae=admin_theme_theme_list_end'), //cpg1.4
+  array('Display &quot;reset&quot; in theme selection', 'theme_reset', 1, 'f=index.htm&amp;as=admin_theme_theme_reset&amp;ae=admin_theme_theme_reset_end'), //cpg1.4
+  array('Display FAQ', 'display_faq', 1, 'f=index.htm&amp;as=admin_theme_faq&amp;ae=admin_theme_faq_end'), //cpg1.4
+  array('Custom menu link name', 'custom_lnk_name', 0,'f=index.htm&amp;as=admin_theme_custom_lnk_name&amp;ae=admin_theme_custom_lnk_name_end'), //cpg1.4
+  array('Custom menu link URL', 'custom_lnk_url', 0,'f=index.htm&amp;as=admin_language_custom_lnk_url&amp;ae=admin_language_custom_lnk_url_end'), //cpg1.4
+  array('Display bbcode help', 'show_bbcode_help', 1, 'f=index.htm&amp;as=admin_theme_bbcode&amp;ae=admin_theme_bbcode_end&amp;top=1'), //cpg1.4
+  array('Show the vanity block on themes that are defined as XHTML and CSS compliant','vanity_block',1, 'f=index.htm&amp;as=vanity_block&amp;ae=vanity_block_end'), //cpg1.4
+  array('Path to custom header include', 'custom_header_path', 0, 'f=index.htm&amp;as=admin_theme_include_path_start&amp;ae=admin_theme_include_path_end'), //cpg1.4
+  array('Path to custom footer include', 'custom_footer_path', 0, 'f=index.htm&amp;as=admin_theme_include_path_start&amp;ae=admin_theme_include_path_end'), //cpg1.4
+
+  'Album list view',
+  array('Width of the main table (pixels or %)', 'main_table_width', 0, 'f=index.htm&amp;as=admin_album_table-width&amp;ae=admin_album_table-width_end'), //cpg1.4
+  array('Number of levels of categories to display', 'subcat_level', 0, 'f=index.htm&amp;as=admin_album_category-levels&amp;ae=admin_album_category-levels_end'), //cpg1.4
+  array('Number of albums to display', 'albums_per_page', 0, 'f=index.htm&amp;as=admin_album_number&amp;ae=admin_album_number_end'), //cpg1.4
+  array('Number of columns for the album list', 'album_list_cols', 0, 'f=index.htm&amp;as=admin_album_columns&amp;ae=admin_album_columns_end'), //cpg1.4
+  array('Size of thumbnails in pixels', 'alb_list_thumb_size', 0, 'f=index.htm&amp;as=admin_album_thumbnail-size&amp;ae=admin_album_thumbnail-size_end'), //cpg1.4
+  array('The content of the main page', 'main_page_layout', 0, 'f=index.htm&amp;as=admin_album_list_content&amp;ae=admin_album_list_content_end'), //cpg1.4
+  array('Show first level album thumbnails in categories','first_level',1, 'f=index.htm&amp;as=admin_album_first-level_thumbs&amp;ae=admin_album_first-level_thumbs_end'), //cpg1.4
+  array('Sort categories alphabetically (instead of custom sort order)','categories_alpha_sort',1, 'f=index.htm&amp;as=admin_album_list_alphasort_start&amp;ae=admin_album_list_alphasort_end'), //cpg1.4
+  array('Show number of linked files','link_pic_count',1, 'f=index.htm&amp;as=admin_album_linked_files_start&amp;ae=admin_album_linked_files_end'), //cpg1.4
+
+  'Thumbnail view',
+  array('Number of columns on thumbnail page', 'thumbcols', 0, 'f=index.htm&amp;as=admin_thumbnail_columns&amp;ae=admin_thumbnail_columns_end'), //cpg1.4
+  array('Number of rows on thumbnail page', 'thumbrows', 0, 'f=index.htm&amp;as=admin_thumbnail_rows&amp;ae=admin_thumbnail_rows_end'), //cpg1.4
+  array('Maximum number of tabs to display', 'max_tabs', 10, 'f=index.htm&amp;as=admin_thumbnail_tabs&amp;ae=admin_thumbnail_tabs_end'), //cpg1.4
+  array('Display file caption (in addition to title) below the thumbnail', 'caption_in_thumbview', 1, 'f=index.htm&amp;as=admin_thumbnail_display_caption&amp;ae=admin_thumbnail_display_caption_end'), //cpg1.4
+  array('Display number of views below the thumbnail', 'views_in_thumbview', 1, 'f=index.htm&amp;as=admin_thumbnail_display_views&amp;ae=admin_thumbnail_display_views_end'), //cpg1.4
+  array('Display number of comments below the thumbnail', 'display_comment_count', 1, 'f=index.htm&amp;as=admin_thumbnail_display_comments&amp;ae=admin_thumbnail_display_comments_end'), //cpg1.4
+  array('Display uploader name below the thumbnail', 'display_uploader', 1, 'f=index.htm&amp;as=admin_thumbnail_display_uploader&amp;ae=admin_thumbnail_display_uploader_end'), //cpg1.4
+  //array('Display name of admin uploaders below the thumbnail', 'display_admin_uploader', 1, 'f=index.htm&amp;as=admin_thumbnail_display_admin_uploader&amp;ae=admin_thumbnail_display_admin_uploader_end'), //cpg1.4
+  array('Display file name below the thumbnail', 'display_filename', 1, 'f=index.htm&amp;as=admin_thumbnail_display_filename&amp;ae=admin_thumbnail_display_filename_end'), //cpg1.4
+  //array('Display album description', 'alb_desc_thumb', 1, 'f=index.htm&amp;as=admin_thumbnail_display_description&amp;ae=admin_thumbnail_display_description_end'), //cpg1.4
+  array('Default sort order for files', 'default_sort_order', 3, 'f=index.htm&amp;as=admin_thumbnail_default_sortorder&amp;ae=admin_thumbnail_default_sortorder_end'), //cpg1.4
+  array('Minimum number of votes for a file to appear in the \'top-rated\' list', 'min_votes_for_rating', 0, 'f=index.htm&amp;as=admin_thumbnail_minimum_votes&amp;ae=admin_thumbnail_minimum_votes_end'), //cpg1.4
+
+  'Image view', //cpg1.4
+  array('Width of the table for file display (pixels or %)', 'picture_table_width', 0, 'f=index.htm&amp;as=admin_image_comment_table-width&amp;ae=admin_image_comment_table-width_end'), //cpg1.4
+  array('File information is visible by default', 'display_pic_info', 1, 'f=index.htm&amp;as=admin_image_comment_info_visible&amp;ae=admin_image_comment_info_visible_end'), //cpg1.4
+  array('Max length for an image description', 'max_img_desc_length', 0, 'f=index.htm&amp;as=admin_image_comment_descr_length&amp;ae=admin_image_comment_descr_length_end'), //cpg1.4
+  array('Max number of characters in a word', 'max_com_wlength', 0, 'f=index.htm&amp;as=admin_image_comment_chars_per_word&amp;ae=admin_image_comment_chars_per_word_end'), //cpg1.4
+  array('Show film strip', 'display_film_strip', 1, 'f=index.htm&amp;as=admin_image_comment_filmstrip_toggle&amp;ae=admin_image_comment_filmstrip_toggle_end'), //cpg1.4
+  array('Display file name under film strip thumbnail', 'display_film_strip_filename', 1, 'f=index.htm&amp;as=admin_image_comment_display_film_strip_filename&amp;ae=admin_image_comment_display_film_strip_filename_end'), //cpg1.4
+  array('Number of items in film strip', 'max_film_strip_items', 0, 'f=index.htm&amp;as=admin_image_comment_filmstrip_number&amp;ae=admin_image_comment_filmstrip_number_end'), //cpg1.4
+  array('Slideshow interval in milliseconds (1 second = 1000 milliseconds)', 'slideshow_interval', 0, 'f=index.htm&amp;as=admin_image_comment_slideshow_interval&amp;ae=admin_image_comment_slideshow_interval_end'), //cpg1.4
+
+  'Comment settings', //cpg1.4
+  array('Filter bad words in comments', 'filter_bad_words', 1, 'f=index.htm&amp;as=admin_image_comment_bad_words&amp;ae=admin_image_comment_bad_words_end'), //cpg1.4
+  array('Allow smiles in comments', 'enable_smilies', 1, 'f=index.htm&amp;as=admin_image_comment_smilies&amp;ae=admin_image_comment_smilies_end'), //cpg1.4
+  array('Allow several consecutive comments on one file from the same user (disable flood protection)', 'disable_comment_flood_protect', 1, 'f=index.htm&amp;as=admin_image_comment_flood&amp;ae=admin_image_comment_flood_end'), //cpg1.4
+  array('Max number of lines in a comment', 'max_com_lines', 0, 'f=index.htm&amp;as=admin_image_comment_lines&amp;ae=admin_image_comment_lines_end'), //cpg1.4
+  array('Maximum length of a comment', 'max_com_size', 0, 'f=index.htm&amp;as=admin_image_comment_length&amp;ae=admin_image_comment_length_end'), //cpg1.4
+  array('Notify admin of comments by email', 'email_comment_notification', 1, 'f=index.htm&amp;as=admin_image_comment_admin_notify&amp;ae=admin_image_comment_admin_notify_end'), //cpg1.4
+  array('Sort order of comments', 'comments_sort_descending', 17, 'f=index.htm&amp;as=admin_comment_sort_start&amp;ae=admin_comment_sort_end'), //cpg1.4
+  array('Prefix for anonymous comments authors', 'comments_anon_pfx', 0, 'f=index.htm&amp;as=comments_anon_pfx&amp;ae=comments_anon_pfx_end'), //cpg1.4
+
+  'Files and thumbnails settings',
+  array('Quality for JPEG files', 'jpeg_qual', 0, 'f=index.htm&amp;as=admin_picture_thumbnail_jpeg_quality&amp;ae=admin_picture_thumbnail_jpeg_quality_end'), //cpg1.4
+  array('Max dimension of a thumbnail <a href="#notice2" class="clickable_option">**</a>', 'thumb_width', 0, 'f=index.htm&amp;as=admin_picture_thumbnail_max-dimension&amp;ae=admin_picture_thumbnail_max-dimension_end'), //cpg1.4
+  array('Use dimension ( width or height or Max aspect for thumbnail ) <a href="#notice2" class="clickable_option">**</a>', 'thumb_use', 7, 'f=index.htm&amp;as=admin_picture_thumbnail_use-dimension&amp;ae=admin_picture_thumbnail_use-dimension_end'), //cpg1.4
+  array('Create intermediate pictures','make_intermediate',1, 'f=index.htm&amp;as=admin_picture_thumbnail_intermediate_toggle&amp;ae=admin_picture_thumbnail_intermediate_toggle_end'), //cpg1.4
+  array('Max width or height of an intermediate picture/video <a href="#notice2" class="clickable_option">**</a>', 'picture_width', 0, 'f=index.htm&amp;as=admin_picture_thumbnail_intermediate_dimension&amp;ae=admin_picture_thumbnail_intermediate_dimension_end'), //cpg1.4
+  array('Max size for uploaded files (KB)', 'max_upl_size', 0, 'f=index.htm&amp;as=admin_picture_thumbnail_max_upload_size&amp;ae=admin_picture_thumbnail_max_upload_size_end'), //cpg1.4
+  array('Max width or height for uploaded pictures/videos (pixels)', 'max_upl_width_height', 0, 'f=index.htm&amp;as=admin_picture_thumbnail_max_upload_dimension&amp;ae=admin_picture_thumbnail_max_upload_dimension_end'), //cpg1.4
+  array('Auto resize images that are larger than max width or height', 'auto_resize', 16, 'f=index.htm&amp;as=admin_picture_thumbnail_auto-resize&amp;ae=admin_picture_thumbnail_auto-resize_end'), //cpg1.4
+
+  'Files and thumbnails advanced settings',
+  array('Albums can be private (Note: if you switch from \'yes\' to \'no\' any current private albums will become public)', 'allow_private_albums', 1, 'f=index.htm&amp;as=admin_picture_thumb_advanced_private_toggle&amp;ae=admin_picture_thumb_advanced_private_toggle_end'), //cpg1.4
+  array('Show private album Icon to unlogged user','show_private',1, 'f=index.htm&amp;as=admin_picture_thumb_advanced_private_icon_show&amp;ae=admin_picture_thumb_advanced_private_icon_show_end'), //cpg1.4
+  array('Characters forbidden in filenames', 'forbiden_fname_char',0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_filename_forbidden_chars&amp;ae=admin_picture_thumb_advanced_filename_forbidden_chars_end'), //cpg1.4
+  //array('Accepted file extensions for uploaded pictures', 'allowed_file_extensions',0, 'f=index.htm&amp;as=&amp;ae=_end'), //cpg1.4
+  array('Allowed image types', 'allowed_img_types',0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_pic_extensions&amp;ae=admin_picture_thumb_advanced_pic_extensions_end'), //cpg1.4
+  array('Allowed movie types', 'allowed_mov_types',0, 'f=index.htm&amp;as=admin_thumbs_advanced_movie&amp;ae=admin_thumbs_advanced_movie_end'), //cpg1.4
+  array('Movie Playback Autostart', 'media_autostart',1, 'f=index.htm&amp;as=admin_movie_autoplay&amp;ae=admin_movie_autoplay_end'), //cpg1.4
+  array('Allowed audio types', 'allowed_snd_types',0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_audio_extensions&amp;ae=admin_picture_thumb_advanced_audio_extensions_end'), //cpg1.4
+  array('Allowed document types', 'allowed_doc_types',0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_doc_extensions&amp;ae=admin_picture_thumb_advanced_doc_extensions_end'), //cpg1.4
+  array('Method for resizing images','thumb_method',2, 'f=index.htm&amp;as=admin_picture_thumb_advanced_resize_method&amp;ae=admin_picture_thumb_advanced_resize_method_end'), //cpg1.4
+  array('Path to ImageMagick \'convert\' utility (example /usr/bin/X11/)', 'impath', 0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_im_path&amp;ae=admin_picture_thumb_advanced_im_path_end'), //cpg1.4
+  //array('Allowed image types (only valid for ImageMagick)', 'allowed_img_types',0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_allowed_imagetypes&amp;ae=admin_picture_thumb_advanced_allowed_imagetypes_end'), //cpg1.4
+  array('Command line options for ImageMagick', 'im_options', 0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_im_commandline&amp;ae=admin_picture_thumb_advanced_im_commandline_end'), //cpg1.4
+  array('Read EXIF data in JPEG files', 'read_exif_data', 13, 'f=index.htm&amp;as=admin_picture_thumb_advanced_exif&amp;ae=admin_picture_thumb_advanced_exif_end'), //cpg1.4
+  array('Read IPTC data in JPEG files', 'read_iptc_data', 1, 'f=index.htm&amp;as=admin_picture_thumb_advanced_iptc&amp;ae=admin_picture_thumb_advanced_iptc_end'), //cpg1.4
+  array('The album directory <a href="#notice1" class="clickable_option">*</a>', 'fullpath', 0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_albums_dir&amp;ae=admin_picture_thumb_advanced_albums_dir_end'), //cpg1.4
+  array('The directory for user files <a href="#notice1" class="clickable_option">*</a>', 'userpics', 0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_userpics_dir&amp;ae=admin_picture_thumb_advanced_userpics_dir_end'), //cpg1.4
+  array('The prefix for intermediate pictures <a href="#notice1" class="clickable_option">*</a>', 'normal_pfx', 0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_intermediate_prefix&amp;ae=admin_picture_thumb_advanced_intermediate_prefix_end'), //cpg1.4
+  array('The prefix for thumbnails <a href="#notice1" class="clickable_option">*</a>', 'thumb_pfx', 0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_thumbs_prefix&amp;ae=admin_picture_thumb_advanced_thumbs_prefix_end'), //cpg1.4
+  array('Default mode for directories', 'default_dir_mode', 0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_chmod_folder&amp;ae=admin_picture_thumb_advanced_chmod_folder_end'), //cpg1.4
+  array('Default mode for files', 'default_file_mode', 0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_chmod_files&amp;ae=admin_picture_thumb_advanced_chmod_files_end'), //cpg1.4
+
+  'User settings',
+  array('Allow new user registrations', 'allow_user_registration', 1, 'f=index.htm&amp;as=admin_allow_registration&amp;ae=admin_allow_registration_end'), //cpg1.4
+  array('Allow unlogged users (guest or anonymous) access', 'allow_unlogged_access', 1, 'f=index.htm&amp;as=admin_allow_unlogged_access&amp;ae=admin_allow_unlogged_access_end'), //cpg1.4
+  array('User registration requires email verification', 'reg_requires_valid_email', 1, 'f=index.htm&amp;as=admin_registration_verify&amp;ae=admin_registration_verify_end'), //cpg1.4
+  array('Notify admin of user registration by email', 'reg_notify_admin_email', 1, 'f=index.htm&amp;as=admin_registration_notify&amp;ae=admin_registration_notify_end'), //cpg1.4
+  array('Admin activation of registrations', 'admin_activation', 1, 'f=index.htm&amp;as=admin_activation&amp;ae=admin_activation_end'),  //cpg1.4
+  array('Allow two users to have the same email address', 'allow_duplicate_emails_addr', 1, 'f=index.htm&amp;as=admin_allow_duplicate_emails_addr&amp;ae=admin_allow_duplicate_emails_addr_end'), //cpg1.4
+  array('Notify admin of user upload awaiting approval', 'upl_notify_admin_email', 1, 'f=index.htm&amp;as=admin_approval_notify&amp;ae=admin_approval_notify_end'), //cpg1.4
+  array('Allow logged in users to view memberlist', 'allow_memberlist', 1, 'f=index.htm&amp;as=admin_user_memberlist&amp;ae=admin_user_memberlist_end'), //cpg1.4
+  array('Allow users to change their email address in profile', 'allow_email_change', 1, 'f=index.htm&amp;as=admin_user_allow_email_change&amp;ae=admin_user_allow_email_change_end'), //cpg1.4
+  array('Allow users to retain control over their pics in public galleries', 'users_can_edit_pics', 1, 'f=index.htm&amp;as=admin_user_editpics_public_start&amp;ae=admin_user_editpics_public_end'), //cpg1.4
+  array('Number of failed login attempts until temporary ban (to avoid brute force attacks)', 'login_threshold', 0, 'f=index.htm&amp;as=admin_user_login_start&amp;ae=admin_user_login_end'), //cpg1.4
+  array('Duration of a temporary ban after failed logins', 'login_expiry', 0, 'f=index.htm&amp;as=admin_user_login_start&amp;ae=admin_user_login_end'), //cpg1.4
+  array('Enable Report to Admin', 'report_post', 1, 'f=index.htm&amp;as=admin_user_enable_report&amp;ae=admin_user_enable_report_end'),  //cpg1.4
+
+// custom profile fields,  //cpg1.4
+  'Custom fields for user profile (leave blank if unused).
+  Use Profile 6 for long entries, such as biographies', //cpg1.4
+  array('Profile 1 name', 'user_profile1_name', 0, 'f=index.htm&amp;as=admin_custom&amp;ae=admin_custom_end'), //cpg1.4
+  array('Profile 2 name', 'user_profile2_name', 0), //cpg1.4
+  array('Profile 3 name', 'user_profile3_name', 0), //cpg1.4
+  array('Profile 4 name', 'user_profile4_name', 0), //cpg1.4
+  array('Profile 5 name', 'user_profile5_name', 0), //cpg1.4
+  array('Profile 6 name', 'user_profile6_name', 0), //cpg1.4
+
+  'Custom fields for image description (leave blank if unused)',
+  array('Field 1 name', 'user_field1_name', 0, 'f=index.htm&amp;as=admin_custom_image&amp;ae=admin_custom_image_end'), //cpg1.4
+  array('Field 2 name', 'user_field2_name', 0),
+  array('Field 3 name', 'user_field3_name', 0),
+  array('Field 4 name', 'user_field4_name', 0),
+
+  'Cookies settings',
+  array('Cookie name', 'cookie_name', 0, 'f=index.htm&amp;as=admin_cookie_name&amp;ae=admin_cookie_name_end'), //cpg1.4
+  array('Cookie path', 'cookie_path', 0, 'f=index.htm&amp;as=admin_cookie_path&amp;ae=admin_cookie_path_end'), //cpg1.4
+
+  'Email settings  (usually nothing has to be changed here; leave all fields blank when not sure)', //cpg1.4
+  array('SMTP Host (when left blank, sendmail will be used)', 'smtp_host', 0, 'f=index.htm&amp;as=admin_email&amp;ae=admin_email_end'), //cpg1.4
+  array('SMTP Username', 'smtp_username', 0), //cpg1.4
+  array('SMTP Password', 'smtp_password', 0), //cpg1.4
+
+  'Logging and statistics', //cpg1.4
+  array('Logging mode <a href="#notice3" class="clickable_option">***</a>', 'log_mode', 11, 'f=index.htm&amp;as=admin_logging_log_mode&amp;ae=admin_logging_log_mode_end'), //cpg1.4
+  array('Log ecards', 'log_ecards', 1, 'f=index.htm&amp;as=admin_general_log_ecards&amp;ae=admin_general_log_ecards_end'), //cpg1.4
+  array('Keep detailed vote statistics','vote_details',1, 'f=index.htm&amp;as=admin_logging_votedetails&amp;ae=admin_logging_votedetails_end'), //cpg1.4
+  array('Keep detailed hit statistics','hit_details',1, 'f=index.htm&amp;as=admin_logging_hitdetails&amp;ae=admin_logging_hitdetails_end'), //cpg1.4
+
+  'Maintenance settings', //cpg1.4
+  array('Enable debug mode', 'debug_mode', 9, 'f=index.htm&amp;as=debug_mode&amp;ae=debug_mode_end'), //cpg1.4
+  array('Display notices in debug mode', 'debug_notice', 1, 'f=index.htm&amp;as=admin_misc_debug_notices&amp;ae=admin_misc_debug_notices_end'), //cpg1.4
+  array('Gallery is offline', 'offline', 1, 'f=index.htm&amp;as=admin_general_offline&amp;ae=admin_general_offline_end'), //cpg1.4
+);
+
+
+// ------------------------------------------------------------------------- //
+// File db_ecard.php
+// ------------------------------------------------------------------------- //
+
+if (defined('DB_ECARD_PHP')) $lang_db_ecard_php = array(
+  'title' => 'Sent ecards',
+  'ecard_sender' => 'Sender',
+  'ecard_recipient' => 'Recipient',
+  'ecard_date' => 'Date',
+  'ecard_display' => 'Display ecard',
+  'ecard_name' => 'Name',
+  'ecard_email' => 'Email',
+  'ecard_ip' => 'IP #',
+  'ecard_ascending' => 'ascending',
+  'ecard_descending' => 'descending',
+  'ecard_sorted' => 'Sorted',
+  'ecard_by_date' => 'by date',
+  'ecard_by_sender_name' => 'by sender\'s name',
+  'ecard_by_sender_email' => 'by sender\'s email',
+  'ecard_by_sender_ip' => 'by sender\'s IP address',
+  'ecard_by_recipient_name' => 'by recipient\'s name',
+  'ecard_by_recipient_email' => 'by recipient\'s email',
+  'ecard_number' => 'displaying record %s to %s of %s',
+  'ecard_goto_page' => 'go to page',
+  'ecard_records_per_page' => 'Records per page',
+  'check_all' => 'Check All',
+  'uncheck_all' => 'Uncheck All',
+  'ecards_delete_selected' => 'Delete selected ecards',
+  'ecards_delete_confirm' => 'Are you sure you want to delete the records? Tick the checkbox!',
+  'ecards_delete_sure' => 'I\'m sure',
+);
+
+
+// ------------------------------------------------------------------------- //
+// File db_input.php
+// ------------------------------------------------------------------------- //
+
+if (defined('DB_INPUT_PHP')) $lang_db_input_php = array(
+  'empty_name_or_com' => 'You need to type your name and a comment',
+  'com_added' => 'Your comment was added',
+  'alb_need_title' => 'You have to provide a title for the album !',
+  'no_udp_needed' => 'No update needed.',
+  'alb_updated' => 'The album was updated',
+  'unknown_album' => 'Selected album does not exist or you don\'t have permission to upload in this album',
+  'no_pic_uploaded' => 'No file was uploaded !<br /><br />If you have really selected a file to upload, check that the server allows file uploads...',
+  'err_mkdir' => 'Failed to create directory %s !',
+  'dest_dir_ro' => 'Destination directory %s is not writable by the script !',
+  'err_move' => 'Impossible to move %s to %s !',
+  'err_fsize_too_large' => 'The size of file you have uploaded is too large (maximum allowed is %s x %s) !', //obsolete since cpg1.3 - consider removal in cpg1.4 once upload.php has been overhauled
+  'err_imgsize_too_large' => 'The size of the file you have uploaded is too large (maximum allowed is %s KB) !', //obsolete since cpg1.3 - consider removal in cpg1.4 once upload.php has been overhauled
+  'err_invalid_img' => 'The file you have uploaded is not a valid image !',
+  'allowed_img_types' => 'You can only upload %s images.',
+  'err_insert_pic' => 'The file \'%s\' can\'t be inserted in the album ',
+  'upload_success' => 'Your file was uploaded successfully.<br /><br />It will be visible after admin approval.',
+  'notify_admin_email_subject' => '%s - Upload notification',
+  'notify_admin_email_body' => 'A picture has been uploaded by %s that needs your approval. Visit %s',
+  'info' => 'Information',
+  'com_added' => 'Comment added',
+  'alb_updated' => 'Album updated',
+  'err_comment_empty' => 'Your comment is empty !',
+  'err_invalid_fext' => 'Only files with the following extensions are accepted : <br /><br />%s.',
+  'no_flood' => 'Sorry but you are already the author of the last comment posted for this file<br /><br />Edit the comment you have posted if you want to modify it',
+  'redirect_msg' => 'You are being redirected.<br /><br /><br />Click \'CONTINUE\' if the page does not refresh automatically',
+  'upl_success' => 'Your file was successfully added',
+  'email_comment_subject' => 'Comment posted on Coppermine Photo Gallery',
+  'email_comment_body' => 'Someone has posted a comment on your gallery. See it at',
+  'album_not_selected' => 'Album not selected', //cpg1.4
+  'com_author_error' => 'A registered user is using this nickname, login or use another one', //cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File delete.php
+// ------------------------------------------------------------------------- //
+
+if (defined('DELETE_PHP')) $lang_delete_php = array(
+  'caption' => 'Caption',
+  'fs_pic' => 'full size image',
+  'del_success' => 'successfully deleted',
+  'ns_pic' => 'normal size image',
+  'err_del' => 'can\'t be deleted',
+  'thumb_pic' => 'thumbnail',
+  'comment' => 'comment',
+  'im_in_alb' => 'image in album',
+  'alb_del_success' => 'Album &laquo;%s&raquo; deleted', //cpg1.4
+  'alb_mgr' => 'Album Manager',
+  'err_invalid_data' => 'Invalid data received in \'%s\'',
+  'create_alb' => 'Creating album \'%s\'',
+  'update_alb' => 'Updating album \'%s\' with title \'%s\' and index \'%s\'',
+  'del_pic' => 'Delete file',
+  'del_alb' => 'Delete album',
+  'del_user' => 'Delete user',
+  'err_unknown_user' => 'The selected user does not exist !',
+  'err_empty_groups' => 'There\'s no group table, or the group table is empty!', //cpg1.4
+  'comment_deleted' => 'Comment was successfully deleted',
+  'npic' => 'Picture', //cpg1.4
+  'pic_mgr' => 'Picture Manager', //cpg1.4
+  'update_pic' => 'Updating picture \'%s\' with filename \'%s\' and index \'%s\'', //cpg1.4
+  'username' => 'Username', //cpg1.4
+  'anonymized_comments' => '%s comment(s) anonymized', //cpg1.4
+  'anonymized_uploads' => '%s public upload(s) anonymized', //cpg1.4
+  'deleted_comments' => '%s comment(s) deleted', //cpg1.4
+  'deleted_uploads' => '%s public upload(s) deleted', //cpg1.4
+  'user_deleted' => 'user %s deleted', //cpg1.4
+  'activate_user' => 'Activate user', //cpg1.4
+  'user_already_active' => 'Account has already been active', //cpg1.4
+  'activated' => 'Activated', //cpg1.4
+  'deactivate_user' => 'Deactivate user', //cpg1.4
+  'user_already_inactive' => 'Account has already been inactive', //cpg1.4
+  'deactivated' => 'Deactivated', //cpg1.4
+  'reset_password' => 'Reset password(s)', //cpg1.4
+  'password_reset' => 'Password reset to %s', //cpg1.4
+  'change_group' => 'Change primary group', //cpg1.4
+  'change_group_to_group' => 'Changing from %s to %s', //cpg1.4
+  'add_group' => 'Add secondary group', //cpg1.4
+  'add_group_to_group' => 'Adding user %s to group %s. He\'s now member of %s as primary and of %s as secondary membergroup(s).', //cpg1.4
+  'status' => 'Status', //cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File displayecard.php
+// ------------------------------------------------------------------------- //
+
+if (defined('DISPLAYECARD_PHP')) {
+
+$lang_displayecard_php = array(
+  'invalid_data' => 'The data for the ecard you are trying to access has been corrupted by your mail client. Check the link is complete.', //cpg1.4
+);
+}
+
+// ------------------------------------------------------------------------- //
+// File displayimage.php
+// ------------------------------------------------------------------------- //
+
+if (defined('DISPLAYIMAGE_PHP')){
+
+$lang_display_image_php = array(
+  'confirm_del' => 'Are you sure you want to DELETE this file ? \\nComments will also be deleted.', //js-alert
+  'del_pic' => 'DELETE THIS FILE',
+  'size' => '%s x %s pixels',
+  'views' => '%s times',
+  'slideshow' => 'Slideshow',
+  'stop_slideshow' => 'STOP SLIDESHOW',
+  'view_fs' => 'Click to view full size image',
+  'edit_pic' => 'Edit file information', //cpg1.4
+  'crop_pic' => 'Crop and Rotate',
+  'set_player' => 'Change player',
+);
+
+$lang_picinfo = array(
+  'title' =>'File information',
+  'Filename' => 'Filename',
+  'Album name' => 'Album name',
+  'Rating' => 'Rating (%s votes)',
+  'Keywords' => 'Keywords',
+  'File Size' => 'File Size',
+  'Date Added' => 'Date added', //cpg1.4
+  'Dimensions' => 'Dimensions',
+  'Displayed' => 'Displayed',
+  'URL' => 'URL', //cpg1.4
+  'Make' => 'Make', //cpg1.4
+  'Model' => 'Model', //cpg1.4
+  'DateTime' => 'Date Time', //cpg1.4
+  'ISOSpeedRatings'=>'ISO', //cpg1.4
+  'MaxApertureValue' => 'Max Aperture', //cpg1.4
+  'FocalLength' => 'Focal length', //cpg1.4
+  'Comment' => 'Comment',
+  'addFav'=>'Add to Favorites',
+  'addFavPhrase'=>'Favorites',
+  'remFav'=>'Remove from Favorites',
+  'iptcTitle'=>'IPTC Title',
+  'iptcCopyright'=>'IPTC Copyright',
+  'iptcKeywords'=>'IPTC Keywords',
+  'iptcCategory'=>'IPTC Category',
+  'iptcSubCategories'=>'IPTC Sub Categories',
+  'ColorSpace' => 'Color Space', //cpg1.4
+  'ExposureProgram' => 'Exposure Program', //cpg1.4
+  'Flash' => 'Flash', //cpg1.4
+  'MeteringMode' => 'Metering Mode', //cpg1.4
+  'ExposureTime' => 'Exposure Time', //cpg1.4
+  'ExposureBiasValue' => 'Exposure Bias', //cpg1.4
+  'ImageDescription' => ' Image Description', //cpg1.4
+  'Orientation' => 'Orientation', //cpg1.4
+  'xResolution' => 'X Resolution', //cpg1.4
+  'yResolution' => 'Y Resolution', //cpg1.4
+  'ResolutionUnit' => 'Resolution Unit', //cpg1.4
+  'Software' => 'Software', //cpg1.4
+  'YCbCrPositioning' => 'YCbCrPositioning', //cpg1.4
+  'ExifOffset' => 'Exif Offset', //cpg1.4
+  'IFD1Offset' => 'IFD1 Offset', //cpg1.4
+  'FNumber' => 'FNumber', //cpg1.4
+  'ExifVersion' => 'Exif Version', //cpg1.4
+  'DateTimeOriginal' => 'DateTime Original', //cpg1.4
+  'DateTimedigitized' => 'DateTime digitized', //cpg1.4
+  'ComponentsConfiguration' => 'Components Configuration', //cpg1.4
+  'CompressedBitsPerPixel' => 'Compressed Bits Per Pixel', //cpg1.4
+  'LightSource' => 'Light Source', //cpg1.4
+  'ISOSetting' => 'ISO Setting', //cpg1.4
+  'ColorMode' => 'Color Mode', //cpg1.4
+  'Quality' => 'Quality', //cpg1.4
+  'ImageSharpening' => 'Image Sharpening', //cpg1.4
+  'FocusMode' => 'Focus Mode', //cpg1.4
+  'FlashSetting' => 'Flash Setting', //cpg1.4
+  'ISOSelection' => 'ISO Selection', //cpg1.4
+  'ImageAdjustment' => 'Image Adjustment', //cpg1.4
+  'Adapter' => 'Adapter', //cpg1.4
+  'ManualFocusDistance' => 'Manual Focus Distance', //cpg1.4
+  'DigitalZoom' => 'Digital Zoom', //cpg1.4
+  'AFFocusPosition' => 'AF Focus Position', //cpg1.4
+  'Saturation' => 'Saturation', //cpg1.4
+  'NoiseReduction' => 'Noise Reduction', //cpg1.4
+  'FlashPixVersion' => 'Flash Pix Version', //cpg1.4
+  'ExifImageWidth' => 'Exif Image Width', //cpg1.4
+  'ExifImageHeight' => 'Exif Image Height', //cpg1.4
+  'ExifInteroperabilityOffset' => 'Exif Interoperability Offset', //cpg1.4
+  'FileSource' => 'File Source', //cpg1.4
+  'SceneType' => 'Scene Type', //cpg1.4
+  'CustomerRender' => 'Customer Render', //cpg1.4
+  'ExposureMode' => 'Exposure Mode', //cpg1.4
+  'WhiteBalance' => 'White Balance', //cpg1.4
+  'DigitalZoomRatio' => 'Digital Zoom Ratio', //cpg1.4
+  'SceneCaptureMode' => 'Scene Capture Mode', //cpg1.4
+  'GainControl' => 'Gain Control', //cpg1.4
+  'Contrast' => 'Contrast', //cpg1.4
+  'Sharpness' => 'Sharpness', //cpg1.4
+  'ManageExifDisplay' => 'Manage Exif Display', //cpg1.4
+  'submit' => 'Submit', //cpg1.4
+  'success' => 'Information updated successfully.', //cpg1.4
+  'details' => 'Details', //cpg1.4
+);
+
+$lang_display_comments = array(
+  'OK' => 'OK',
+  'edit_title' => 'Edit this comment',
+  'confirm_delete' => 'Are you sure you want to delete this comment ?', //js-alert
+  'add_your_comment' => 'Add your comment',
+  'name'=>'Name',
+  'comment'=>'Comment',
+  'your_name' => 'Anon',
+  'report_comment_title' => 'Report this comment to the administrator', //cpg1.4
+);
+
+$lang_fullsize_popup = array(
+  'click_to_close' => 'Click image to close this window',
+);
+
+}
+
+// ------------------------------------------------------------------------- //
+// File ecard.php
+// ------------------------------------------------------------------------- //
+
+if (defined('ECARDS_PHP') || defined('DISPLAYECARD_PHP')) $lang_ecard_php =array(
+  'title' => 'Send an e-card',
+  'invalid_email' => '<font color="red"><b>Warning</b></font>: invalid email address:', //cpg1.4
+  'ecard_title' => 'An e-card from %s for you',
+  'error_not_image' => 'Only images can be sent as an ecard.',
+  'view_ecard' => 'Alternate link if the e-card does not display correctly', //cpg1.4
+  'view_ecard_plaintext' => 'To view the ecard, copy and paste this url into your browser\'s address bar:', //cpg1.4
+  'view_more_pics' => 'View more pictures !', //cpg1.4
+  'send_success' => 'Your ecard was sent',
+  'send_failed' => 'Sorry but the server can\'t send your e-card...',
+  'from' => 'From',
+  'your_name' => 'Your name',
+  'your_email' => 'Your email address',
+  'to' => 'To',
+  'rcpt_name' => 'Recipient name',
+  'rcpt_email' => 'Recipient email address',
+  'greetings' => 'Heading', //cpg1.4
+  'message' => 'Message', //cpg1.4
+  'ecards_footer' => 'Sent by %s from IP %s at %s (Gallery time)', //cpg1.4
+  'preview' => 'Preview of the ecard', //cpg1.4
+  'preview_button' => 'Preview', //cpg1.4
+  'submit_button' => 'Send ecard', //cpg1.4
+  'preview_view_ecard' => 'This will be the alternate link to the ecard once it gets generated. It won\'t work for previews.', //cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File report_file.php //cpg1.4
+// ------------------------------------------------------------------------- //
+
+if (defined('REPORT_FILE_PHP') || defined('DISPLAYREPORT_PHP')) $lang_report_php =array(
+  'title' => 'Report to administrator', //cpg1.4
+  'invalid_email' => '<b>Warning</b> : invalid email address !', //cpg1.4
+  'report_subject' => 'A report from %s on a gallery %s', //cpg1.4
+  'view_report' => 'Alternate link if the report does not display correctly', //cpg1.4
+  'view_report_plaintext' => 'To view the report, copy and paste this url into your browser\'s address bar:', //cpg1.4
+  'view_more_pics' => 'Gallery', //cpg1.4
+  'send_success' => 'Your report was sent', //cpg1.4
+  'send_failed' => 'Sorry but the server can\'t send your report...', //cpg1.4
+  'from' => 'From', //cpg1.4
+  'your_name' => 'Your name', //cpg1.4
+  'your_email' => 'Your email address', //cpg1.4
+  'to' => 'To', //cpg1.4
+  'administrator' => 'Administrator/Mod', //cpg1.4
+  'subject' => 'Subject', //cpg1.4
+  'comment_field_name' => 'Reporting on Comment by "%s"', //cpg1.4
+  'reason' => 'Reason', //cpg1.4
+  'message' => 'Message', //cpg1.4
+  'report_footer' => 'Sent by %s from IP %s at %s (Gallery time)', //cpg1.4
+  'obscene' => 'obscene', //cpg1.4
+  'offensive' => 'offensive', //cpg1.4
+  'misplaced' => 'off-topic/misplaced', //cpg1.4
+  'missing' => 'missing', //cpg1.4
+  'issue' => 'error/cannot view', //cpg1.4
+  'other' => 'other', //cpg1.4
+  'refers_to' => 'File report refers to', //cpg1.4
+  'reasons_list_heading' => 'reason(s) for report:', //cpg1.4
+  'no_reason_given' => 'no reason was given', //cpg1.4
+  'go_comment' => 'Go to comment', //cpg1.4
+  'view_comment' => 'View full report with comment', //cpg1.4
+  'type_file' => 'file', //cpg1.4
+  'type_comment' => 'comment', //cpg1.4
+  'invalid_data' => 'The data for the report you are trying to access has been corrupted by your mail client. Check the link is complete.', //cpg1.4
+
+);
+
+// ------------------------------------------------------------------------- //
+// File editpics.php
+// ------------------------------------------------------------------------- //
+
+if (defined('EDITPICS_PHP')) $lang_editpics_php = array(
+  'pic_info' => 'File info',
+  'album' => 'Album',
+  'title' => 'Title',
+  'filename' => 'Filename', //cpg1.4
+  'desc' => 'Description',
+  'keywords' => 'Keywords',
+  'new_keyword' => 'New keyword', //cpg1.4
+  'new_keywords' => 'New keywords found', //cpg1.4
+  'existing_keyword' => 'Existing keyword', //cpg1.4
+  'pic_info_str' => '%s &times; %s - %s KB - %s views - %s votes',
+  'approve' => 'Approve file',
+  'postpone_app' => 'Postpone approval',
+  'del_pic' => 'Delete file',
+  'del_all' => 'Delete ALL files', //cpg1.4
+  'read_exif' => 'Read EXIF info again',
+  'reset_view_count' => 'Reset view counter',
+  'reset_all_view_count' => 'Reset ALL view counters', //cpg1.4
+  'reset_votes' => 'Reset votes',
+  'reset_all_votes' => 'Reset ALL votes', //cpg1.4
+  'del_comm' => 'Delete comments',
+  'del_all_comm' => 'Delete ALL comments', //cpg1.4
+  'upl_approval' => 'Upload approval', //cpg1.4
+  'edit_pics' => 'Edit files',
+  'see_next' => 'See next files',
+  'see_prev' => 'See previous files',
+  'n_pic' => '%s files',
+  'n_of_pic_to_disp' => 'Number of files to display',
+  'apply' => 'Apply modifications',
+  'crop_title' => 'Coppermine Picture Editor',
+  'preview' => 'Preview',
+  'save' => 'Save picture',
+  'save_thumb' =>'Save as thumbnail',
+  'gallery_icon' => 'Make this my icon', //cpg1.4
+  'sel_on_img' =>'The selection has to be entirely on the image!', //js-alert
+  'album_properties' =>'Album properties', //cpg1.4
+  'parent_category' =>'Parent category', //cpg1.4
+  'thumbnail_view' =>'Thumbnail view', //cpg1.4
+  'select_unselect' =>'select/unselect all', //cpg1.4
+  'file_exists' => "Destination file '%s' already exists.", //cpg1.4
+  'rename_failed' => "Failed to rename '%s' to '%s'.", //cpg1.4
+  'src_file_missing' => "Source file '%s' is missing.", // cpg 1.4
+  'mime_conv' => "Cannot convert file from '%s' to '%s'",//cpg1.4
+  'forb_ext' => 'Forbidden file extension.',//cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File faq.php
+// ------------------------------------------------------------------------- //
+
+if (defined('FAQ_PHP')) $lang_faq_php = array(
+  'faq' => 'Frequently Asked Questions',
+  'toc' => 'Table of contents',
+  'question' => 'Question: ',
+  'answer' => 'Answer: ',
+);
+
+if (defined('FAQ_PHP')) $lang_faq_data = array(
+  'General FAQ',
+  array('Why do I need to register?', 'Registration may or may not be required by the administrator. Registration gives a member additional features such as uploading, having a favorite list, rating pictures and posting comments etc.', 'allow_user_registration', '1'),
+  array('How do I register?', 'Go to &quot;Register&quot; and fill out the required fields (and the optional ones if you want to).<br />If the Administrator has Email Activation enabled, then after submitting your information you should receive an email message at the address that you have submitted while registering, giving you instructions on how to activate your membership. Your membership must be activated in order for you to login.', 'allow_user_registration', '1'), //cpg1.4
+  array('How Do I login?', 'Go to &quot;Login&quot;, submit your username and password and check &quot;Remember Me&quot; so you will be logged in on the site if you should leave it.<br /><b>IMPORTANT:Cookies must be enabled and the cookie from this site must not be deleted in order to use &quot;Remember Me&quot;.</b>', 'offline', 0),
+  array('Why can I not login?', 'Did you register and click the link that was sent to you via email?. The link will activate your account. For other login problems contact the site administrator.', 'offline', 0),
+  array('What if I forgot my password?', 'If this site has a &quot;Forgot password&quot; link then use it. Other than that contact the site administrator for a new password.', 'offline', 0),
+  //array('What if I changed my email address?', 'Just simply login and change your email address through &quot;Profile&quot;', 'offline', 0),
+  array('How do I save a picture to &quot;My Favorites&quot;?', 'Click on a picture and click on the &quot;picture info&quot; link (<img src="images/info.gif" width="16" height="16" border="0" alt="Picture information" />); scroll down to the picture information set and click &quot;Add to fav&quot;.<br />The administrator may have the &quot;picture information&quot; on by default.<br />IMPORTANT:Cookies must be enabled and the cookie from this site must not be deleted.', 'offline', 0),
+  array('How do I rate a file?', 'Click on a thumbnail and go to the bottom and choose a rating.', 'offline', 0),
+  array('How do I post a comment for a picture?', 'Click on a thumbnail and go to the bottom and post a comment.', 'offline', 0),
+  array('How do I upload a file?', 'Go to &quot;Upload&quot;and select the album that you want to upload to. Click &quot;Browse,&quot; find the file to upload, and click &quot;open.&quot; Add a title and description if you want. Click &quot;Submit&quot;.<br /><br />Alternatively, for those users using <b>Windows XP</b>, you can upload multiple files directly to your own private albums using the XP Publishing wizard.<br />For instructions on how, and to get the required registry file, click <a href="xp_publish.php">here.</a>', 'allow_private_albums', 1), //cpg1.4
+  array('Where do I upload a picture to?', 'You will be able to upload a file to one of your albums in &quot;My Gallery&quot;. The Administrator may also allow you to upload a file to one or more of the albums in the Main Gallery.', 'allow_private_albums', 0),
+  array('What type and size of a file can I upload?', 'The size and type (jpg, png, etc.) is up to the administrator.', 'offline', 0),
+  array('How do I create, rename or delete an album in &quot;My Gallery&quot;?', 'You should already be in &quot;Admin-Mode&quot;<br />Go to &quot;Create/Order My Albums&quot;and click &quot;New&quot;. Change &quot;New Album&quot; to your desired name.<br />You can also rename any of the albums in your gallery.<br />Click &quot;Apply Modifications&quot;.', 'allow_private_albums', 0),
+  array('How can I modify and restrict users from viewing my albums?', 'You should already be in &quot;Admin Mode&quot;<br />Go to &quot;Modify My Albums. On the &quot;Update Album&quot; bar, select the album that you want to modify.<br />Here, you can change the name, description, thumbnail picture, restrict viewing and comment/rating permissions.<br />Click &quot;Update Album&quot;.', 'allow_private_albums', 0),
+  array('How can I view other users\' galleries?', 'Go to &quot;Album List&quot; and select &quot;User Galleries&quot;.', 'allow_private_albums', 0),
+  array('What are cookies?', 'Cookies are a plain text piece of data that is sent from a website and is put on to your computer.<br />Cookies usually allow a user to leave and return to the site without having to login again and other various chores.', 'offline', 0),
+  array('Where can I get this program for my site?', 'Coppermine is a free Multimedia Gallery, released under GNU GPL. It is full of features and has been ported to various platforms. Visit the <a href="http://coppermine-gallery.net/">Coppermine Home Page</a> to find out more or download it.', 'offline', 0),
+
+  'Navigating the Site',
+  array('What\'s &quot;Album List&quot;?', 'This will show you the entire category you are currently in, with a link to each album. If you are not in a category, it will show you the entire gallery with a link to each category. Thumbnails may be a link to the category.', 'offline', 0),
+  array('What\'s &quot;My Gallery&quot;?', 'This feature lets users create their own galleries and add, delete or modify albums as well as upload to them.', 'allow_private_albums', 1), //cpg1.4
+  array('What\'s the difference between &quot;Admin Mode&quot; and &quot;User Mode&quot;?', 'This feature, when in admin-mode, allows a user to modify their gallery (as well as others if allowed by the administrator).', 'allow_private_albums', 0),
+  array('What\'s &quot;Upload Picture&quot;?', 'This feature allows a user to upload a file (size and type is set by the site administrator) to a gallery selected by either you or the administrator.', 'allow_private_albums', 0),
+  array('What\'s &quot;Last Uploads&quot;?', 'This feature shows the last uploads to the site.', 'offline', 0),
+  array('What\'s &quot;Last Comments&quot;?', 'This feature shows the last comments along with the files posted by users.', 'offline', 0),
+  array('What\'s &quot;Most Viewed&quot;?', 'This feature shows the most viewed files by all users (whether logged in or not).', 'offline', 0),
+  array('What\'s &quot;Top Rated&quot;?', 'This feature shows the top rated files rated by the users, showing the average rating (e.g: five users each gave a <img src="images/rating3.gif" width="65" height="14" border="0" alt="" />: the file would have an average rating of <img src="images/rating3.gif" width="65" height="14" border="0" alt="" /> ;Five users rated the file from 1 to 5 (1,2,3,4,5) would result in an average <img src="images/rating3.gif" width="65" height="14" border="0" alt="" /> .)<br />The ratings go from <img src="images/rating5.gif" width="65" height="14" border="0" alt="best" /> (best) to <img src="images/rating0.gif" width="65" height="14" border="0" alt="worst" /> (worst).', 'offline', 0),
+  array('What\'s &quot;My Favorites&quot;?', 'This feature will let a user store a favorite file in the cookie that was sent to your computer.', 'offline', 0),
+);
+
+
+// ------------------------------------------------------------------------- //
+// File forgot_passwd.php
+// ------------------------------------------------------------------------- //
+
+if (defined('FORGOT_PASSWD_PHP')) $lang_forgot_passwd_php = array(
+  'forgot_passwd' => 'Password reminder',
+  'err_already_logged_in' => 'You are already logged in !',
+  'enter_email' => 'Enter your email address', //cpg1.4
+  'submit' => 'go',
+  'illegal_session' => 'Forgot password session invalid or has expired.', //cpg1.4
+  'failed_sending_email' => 'The password reminder email can\'t be sent !',
+  'email_sent' => 'An email with your username and new password was sent to %s', //cpg1.4
+  'verify_email_sent' => 'An email has been sent to %s. Please check your email to complete the process.', //cpg1.4
+  'err_unk_user' => 'Selected user does not exist!',
+  'account_verify_subject' => '%s - New password request', //cpg1.4
+  'account_verify_body' => 'You have requested a new password. If you would like to proceed with having a new password sent to you, click on the following link:
+
+%s', //cpg1.4
+  'passwd_reset_subject' => '%s - Your New Password', //cpg1.4
+  'passwd_reset_body' => 'Here is the new password you requested:
+Username: %s
+Password: %s
+Click %s to log in.', //cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File groupmgr.php
+// ------------------------------------------------------------------------- //
+
+if (defined('GROUPMGR_PHP')) $lang_groupmgr_php = array(
+  'group_name' => 'Group', //cpg1.4
+  'permissions' => 'Permissions', //cpg1.4
+  'public_albums' => 'Public albums upload', //cpg1.4
+  'personal_gallery' => 'Personal gallery', //cpg1.4
+  'upload_method' => 'Upload method', //cpg1.4
+  'disk_quota' => 'Quota', //cpg1.4
+  'rating' => 'Rating', //cpg1.4
+  'ecards' => 'Ecards', //cpg1.4
+  'comments' => 'Comments', //cpg1.4
+  'allowed' => 'Allowed', //cpg1.4
+  'approval' => 'Approval', //cpg1.4
+  'boxes_number' => 'No. of boxes', //cpg1.4
+  'variable' => 'variable', //cpg1.4
+  'fixed' => 'fixed', //cpg1.4
+  'apply' => 'Apply modifications',
+  'create_new_group' => 'Create new group',
+  'del_groups' => 'Delete selected group(s)',
+  'confirm_del' => 'Warning, when you delete a group, users that belong to this group will be transferred to the \'Registered\' group !\n\nDo you want to proceed ?', //js-alert
+  'title' => 'Manage user groups',
+  'num_file_upload' => 'File upload boxes', //cpg1.4
+  'num_URI_upload' => 'URI upload boxes', //cpg1.4
+  'reset_to_default' => 'Reset to default name (%s) - recommended!', //cpg1.4
+  'error_group_empty' => 'Group table was empty !<br /><br />Default groups created, please reload this page', //cpg1.4
+  'explain_greyed_out_title' => 'Why is this row grayed out?', //cpg1.4
+  'explain_guests_greyed_out_text' => 'You can not change the properties of this group because you set the option &quot; Allow unlogged users (guest or anonymous) access&quot; to &quot;No&quot; on the config page. All guest (members of the group %s) can\'t do anything but login; therefor group settings don\'t apply for them.', //cpg1.4
+  'explain_banned_greyed_out_text' => 'You can not change the properties of the group %s because it\'s members can\'t do anything anyway.', //cpg1.4
+  'group_assigned_album' => 'assigned album(s)', //cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File index.php
+// ------------------------------------------------------------------------- //
+
+if (defined('INDEX_PHP')){
+
+$lang_index_php = array(
+  'welcome' => 'Welcome !',
+);
+
+$lang_album_admin_menu = array(
+  'confirm_delete' => 'Are you sure you want to DELETE this album ? \\nAll files and comments will also be deleted.', //js-alert
+  'delete' => 'DELETE',
+  'modify' => 'PROPERTIES',
+  'edit_pics' => 'EDIT FILES',
+);
+
+$lang_list_categories = array(
+  'home' => 'Home',
+  'stat1' => '<b>[pictures]</b> files in <b>[albums]</b> albums and <b>[cat]</b> categories with <b>[comments]</b> comments viewed <b>[views]</b> times',
+  'stat2' => '<b>[pictures]</b> files in <b>[albums]</b> albums viewed <b>[views]</b> times',
+  'xx_s_gallery' => '%s\'s Gallery',
+  'stat3' => '<b>[pictures]</b> files in <b>[albums]</b> albums with <b>[comments]</b> comments viewed <b>[views]</b> times',
+);
+
+$lang_list_users = array(
+  'user_list' => 'User list',
+  'no_user_gal' => 'There are no user galleries',
+  'n_albums' => '%s album(s)',
+  'n_pics' => '%s file(s)',
+);
+
+$lang_list_albums = array(
+  'n_pictures' => '%s files',
+  'last_added' => ', last one added on %s',
+  'n_link_pictures' => '%s linked files', //cpg1.4
+  'total_pictures' => '%s files total', //cpg1.4
+);
+
+}
+
+// ------------------------------------------------------------------------- //
+// File keywordmgr.php //cpg1.4
+// ------------------------------------------------------------------------- //
+
+if (defined('KEYWORDMGR_PHP')) $lang_keywordmgr_php = array(
+  'title' => 'Manage keywords', //cpg1.4
+  'edit' => 'edit', //cpg1.4
+  'delete' => 'delete', //cpg1.4
+  'search' => 'search', //cpg1.4
+  'keyword_test_search' => 'search for %s in new window', //cpg1.4
+  'keyword_del' => 'delete the keyword %s', //cpg1.4
+  'confirm_delete' => 'Are you sure you want to delete the keyword %s from the whole gallery?', //cpg1.4  // js-alert
+  'change_keyword' => 'change keyword', //cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File login.php
+// ------------------------------------------------------------------------- //
+
+if (defined('LOGIN_PHP')) $lang_login_php = array(
+  'login' => 'Login',
+  'enter_login_pswd' => 'Enter your username and password to login',
+  'username' => 'Username',
+  'password' => 'Password',
+  'remember_me' => 'Remember me',
+  'welcome' => 'Welcome %s ...',
+  'err_login' => '*** Couldn\'t log in. Try again ***',
+  'err_already_logged_in' => 'You are already logged in !',
+  'forgot_password_link' => 'I forgot my password',
+  'cookie_warning' => 'Warning your browser does not accept script\'s cookies', //cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File logout.php
+// ------------------------------------------------------------------------- //
+
+if (defined('LOGOUT_PHP')) $lang_logout_php = array(
+  'logout' => 'Logout',
+  'bye' => 'Bye bye %s ...',
+  'err_not_loged_in' => 'You are not logged in !',
+);
+
+// ------------------------------------------------------------------------- //
+// File minibrowser.php  //cpg1.4
+// ------------------------------------------------------------------------- //
+
+if (defined('MINIBROWSER_PHP')) $lang_minibrowser_php = array(
+  'close' => 'close', //cpg1.4
+  'submit' => 'OK', //cpg1.4
+  'up' => 'up one level', //cpg1.4
+  'current_path' => 'current path', //cpg1.4
+  'select_directory' => 'please select a directory', //cpg1.4
+  'click_to_close' => 'Click image to close this window',
+);
+
+// ------------------------------------------------------------------------- //
+// File modifyalb.php
+// ------------------------------------------------------------------------- //
+
+if (defined('MODIFYALB_PHP')) $lang_modifyalb_php = array(
+  'upd_alb_n' => 'Update album %s',
+  'general_settings' => 'General settings',
+  'alb_title' => 'Album title',
+  'alb_cat' => 'Album category',
+  'alb_desc' => 'Album description',
+  'alb_keyword' => 'Album Keyword', //cpg1.4
+  'alb_thumb' => 'Album thumbnail',
+  'alb_perm' => 'Permissions for this album',
+  'can_view' => 'Album can be viewed by',
+  'can_upload' => 'Visitors can upload files',
+  'can_post_comments' => 'Visitors can post comments',
+  'can_rate' => 'Visitors can rate files',
+  'user_gal' => 'User Gallery',
+  'no_cat' => '* No category *',
+  'alb_empty' => 'Album is empty',
+  'last_uploaded' => 'Last uploaded',
+  'public_alb' => 'Everybody (public album)',
+  'me_only' => 'Me only',
+  'owner_only' => 'Album owner (%s) only',
+  'groupp_only' => 'Members of the \'%s\' group',
+  'err_no_alb_to_modify' => 'No album you can modify in the database.',
+  'update' => 'Update album',
+  'reset_album' => 'Reset album', //cpg1.4
+  'reset_views' => 'Reset views counter to &quot;0&quot; in %s', //cpg1.4
+  'reset_rating' => 'Reset ratings on all files in %s', //cpg1.4
+  'delete_comments' => 'Delete all comments made in %s', //cpg1.4
+  'delete_files' => '%sIrreversibly%s delete all files in %s', //cpg1.4
+  'views' => 'views', //cpg1.4
+  'votes' => 'votes', //cpg1.4
+  'comments' => 'comments', //cpg1.4
+  'files' => 'files', //cpg1.4
+  'submit_reset' => 'submit changes', //cpg1.4
+  'reset_views_confirm' => 'I\'m sure', //cpg1.4
+  'notice1' => '(*) depending on %sgroups%s settings',  //cpg1.4 //(do not translate %s!)
+  'alb_password' => 'Album password', //cpg1.4
+  'alb_password_hint' => 'Album password hint', //cpg1.4
+  'edit_files' =>'Edit files', //cpg1.4
+  'parent_category' =>'Parent category', //cpg1.4
+  'thumbnail_view' =>'Thumbnail view', //cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File phpinfo.php
+// ------------------------------------------------------------------------- //
+
+if (defined('PHPINFO_PHP')) $lang_phpinfo_php = array(
+  'php_info' => 'PHP info',
+  'explanation' => 'This is the output generated by the PHP-function <a href="http://www.php.net/phpinfo">phpinfo()</a>, displayed within Coppermine (trimming the output at the right side).',
+  'no_link' => 'Having others see your phpinfo can be a security risk, that\'s why this page is only visible when you\'re logged in as admin. You can not post a link to this page for others, they will be denied access.',
+);
+
+// ------------------------------------------------------------------------- //
+// File picmgr.php //cpg1.4
+// ------------------------------------------------------------------------- //
+if (defined('PICMGR_PHP')) $lang_picmgr_php = array(
+  'pic_mgr' => 'Picture Manager', //cpg1.4
+  'select_album' => 'Select Album', //cpg1.4
+  'delete' => 'Delete', //cpg1.4
+  'confirm_delete1' => 'Are you sure you want to delete this picture ?', //cpg1.4
+  'confirm_delete2' => '\nPicture will be permanently deleted.', //cpg1.4
+  'apply_modifs' => 'Apply modifications', //cpg1.4
+  'confirm_modifs' => 'Confirm modifications', //cpg1.4
+  'pic_need_name' => 'Picture needs to have a name !', //cpg1.4
+  'no_change' => 'You did not make any change !', //cpg1.4
+  'no_album' => '* No album *', //cpg1.4
+  'explanation_header' => 'The custom sort order you can specify on this page will only be taken into account if', //cpg1.4
+  'explanation1' => 'the admin has set the "Default sort order for files" in the config to "Position descending" or "Position ascending" (global setting for all users who haven\'t chosen another sort option individually)', //cpg1.4
+  'explanation2' => 'the user has chosen "Position descending" or "Position ascending" on the thumbnail page (per user setting)', //cpg1.4
+);
+
+
+// ------------------------------------------------------------------------- //
+// File pluginmgr.php //cpg1.4
+// ------------------------------------------------------------------------- //
+
+if (defined('PLUGINMGR_PHP')){
+
+$lang_pluginmgr_php = array(
+  'confirm_uninstall' => 'Are you sure you want to UNINSTALL this plugin', //cpg1.4
+  'confirm_delete' => 'Are you sure you want to DELETE this plugin', //cpg1.4
+  'pmgr' => 'Plugin Manager', //cpg1.4
+  'name' => 'Name', //cpg1.4
+  'author' => 'Author', //cpg1.4
+  'desc' => 'Description', //cpg1.4
+  'vers' => 'v', //cpg1.4
+  'i_plugins' => 'Installed Plugins', //cpg1.4
+  'n_plugins' => 'Plugins Not installed', //cpg1.4
+  'none_installed' => 'None Installed', //cpg1.4
+  'operation' => 'Operation', //cpg1.4
+  'not_plugin_package' => 'The file uploaded is not a plugin package.', //cpg1.4
+  'copy_error' => 'There was an error copying the package to the plugins folder.', //cpg1.4
+  'upload' => 'Upload', //cpg1.4
+  'configure_plugin' => 'Configure plugin', //cpg1.4
+  'cleanup_plugin' => 'Cleanup plugin', //cpg1.4
+);
+}
+
+// ------------------------------------------------------------------------- //
+// File ratepic.php
+// ------------------------------------------------------------------------- //
+
+if (defined('RATEPIC_PHP')) $lang_rate_pic_php = array(
+  'already_rated' => 'Sorry but you have already rated this file',
+  'rate_ok' => 'Your vote was accepted',
+  'forbidden' => 'You can not rate your own files.',
+);
+
+// ------------------------------------------------------------------------- //
+// File register.php & profile.php
+// ------------------------------------------------------------------------- //
+
+if (defined('REGISTER_PHP') || defined('PROFILE_PHP')) {
+
+$lang_register_disclamer = <<<EOT
+While the administrators of {SITE_NAME} will attempt to remove or edit any generally objectionable material as quickly as possible, it is impossible to review every post. Therefore you acknowledge that all posts made to this site express the views and opinions of the author and not the administrators or webmaster (except for posts by these people) and hence will not be held liable.<br />
+<br />
+You agree not to post any abusive, obscene, vulgar, slanderous, hateful, threatening, sexually-orientated or any other material that may violate any applicable laws. You agree that the webmaster, administrator and moderators of {SITE_NAME} have the right to remove or edit any content at any time should they see fit. As a user you agree to any information you have entered above being stored in a database. While this information will not be disclosed to any third party without your consent the webmaster and administrator cannot be held responsible for any hacking attempt that may lead to the data being compromised.<br />
+<br />
+This site uses cookies to store information on your local computer. These cookies serve only to improve your viewing pleasure. The email address is used only for confirming your registration details and password.<br />
+<br />
+By clicking 'I agree' below you agree to be bound by these conditions.
+EOT;
+
+$lang_register_php = array(
+  'page_title' => 'User registration',
+  'term_cond' => 'Terms and conditions',
+  'i_agree' => 'I agree',
+  'submit' => 'Submit registration',
+  'err_user_exists' => 'The username you have entered already exist, please choose a different one',
+  'err_password_mismatch' => 'The two passwords does not match, please input them again',
+  'err_uname_short' => 'Username must be 2 characters long minimum',
+  'err_password_short' => 'Password must be 2 characters long minimum',
+  'err_uname_pass_diff' => 'Username and password must be different',
+  'err_invalid_email' => 'Email address is invalid',
+  'err_duplicate_email' => 'Another user has already registered with the email address you entered',
+  'enter_info' => 'Input registration information',
+  'required_info' => 'Required information',
+  'optional_info' => 'Optional information',
+  'username' => 'Username',
+  'password' => 'Password',
+  'password_again' => 'Re-enter password',
+  'email' => 'Email',
+  'location' => 'Location',
+  'interests' => 'Interests',
+  'website' => 'Home page',
+  'occupation' => 'Occupation',
+  'error' => 'ERROR',
+  'confirm_email_subject' => '%s - Registration confirmation',
+  'information' => 'Information',
+  'failed_sending_email' => 'The registration confirmation email can\'t be send !',
+  'thank_you' => 'Thank you for registering.<br /><br />An email with information on how to activate your account was sent to the email address you provided.',
+  'acct_created' => 'Your account has been created and you can now login with your username and password',
+  'acct_active' => 'Your account is now active and you can login with your username and password',
+  'acct_already_act' => 'Account is already active!', //cpg1.4
+  'acct_act_failed' => 'This account can\'t be activated !',
+  'err_unk_user' => 'Selected user does not exist !',
+  'x_s_profile' => '%s\'s profile',
+  'group' => 'Group',
+  'reg_date' => 'Joined',
+  'disk_usage' => 'Disk usage',
+  'change_pass' => 'Change password',
+  'current_pass' => 'Current password',
+  'new_pass' => 'New password',
+  'new_pass_again' => 'New password again',
+  'err_curr_pass' => 'Current password is incorrect',
+  'apply_modif' => 'Apply modifications',
+  'change_pass' => 'Change my password',
+  'update_success' => 'Your profile was updated',
+  'pass_chg_success' => 'Your password was changed',
+  'pass_chg_error' => 'Your password was not changed',
+  'notify_admin_email_subject' => '%s - Registration notification',
+  'last_uploads' => 'Last uploaded file.<br />Click to see all uploads by', //cpg1.4
+  'last_comments' => 'Last comment.<br />Click to see all comments made by', //cpg1.4
+  'notify_admin_email_body' => 'A new user with the username "%s" has registered in your gallery',
+  'pic_count' => 'Files uploaded', //cpg1.4
+  'notify_admin_request_email_subject' => '%s - Registration request', //cpg1.4
+  'thank_you_admin_activation' => 'Thank you.<br /><br />Your request for account activation was sent to the admin. You will receive an email if approved.', //cpg1.4
+  'acct_active_admin_activation' => 'The account is now active and an email has been sent to the user.', //cpg1.4
+  'notify_user_email_subject' => '%s - Activation notification', //cpg1.4
+);
+
+$lang_register_confirm_email = <<<EOT
+Thank you for registering at {SITE_NAME}
+
+In order to activate your account with username "{USER_NAME}", you need to click on the link below or copy and paste it in your web browser.
+
+<a href="{ACT_LINK}">{ACT_LINK}</a>
+
+Regards,
+
+The management of {SITE_NAME}
+
+EOT;
+
+$lang_register_approve_email = <<<EOT
+A new user with the username "{USER_NAME}" has registered in your gallery.
+
+In order to activate the account, you need to click on the link below or copy and paste it in your web browser.
+
+<a href="{ACT_LINK}">{ACT_LINK}</a>
+
+EOT;
+
+$lang_register_activated_email = <<<EOT
+Your account has been approved and activated.
+
+You can now log in at <a href="{SITE_LINK}">{SITE_LINK}</a> using the username "{USER_NAME}"
+
+
+Regards,
+
+The management of {SITE_NAME}
+
+EOT;
+}
+
+// ------------------------------------------------------------------------- //
+// File reviewcom.php
+// ------------------------------------------------------------------------- //
+
+if (defined('REVIEWCOM_PHP')) $lang_reviewcom_php = array(
+  'title' => 'Review comments',
+  'no_comment' => 'There is no comment to review',
+  'n_comm_del' => '%s comment(s) deleted',
+  'n_comm_disp' => 'Number of comments to display',
+  'see_prev' => 'See previous',
+  'see_next' => 'See next',
+  'del_comm' => 'Delete selected comments',
+  'user_name' => 'Name', //cpg1.4
+  'date' => 'Date', //cpg1.4
+  'comment' => 'Comment', //cpg1.4
+  'file' => 'File', //cpg1.4
+  'name_a' => 'User name ascending', //cpg1.4
+  'name_d' => 'User name descending', //cpg1.4
+  'date_a' => 'Date ascending', //cpg1.4
+  'date_d' => 'Date descending', //cpg1.4
+  'comment_a' => 'Comment message ascending', //cpg1.4
+  'comment_d' => 'Comment message descending', //cpg1.4
+  'file_a' => 'File ascending', //cpg1.4
+  'file_d' => 'File descending', //cpg1.4
+);
+
+
+// ------------------------------------------------------------------------- //
+// File search.php                                                           //
+// ------------------------------------------------------------------------- //
+
+
+if (defined('SEARCH_PHP')){
+
+$lang_search_php = array(
+  'title' => 'Search the file collection', //cpg1.4
+  'submit_search' => 'search', //cpg1.4
+  'keyword_list_title' => 'Keyword list', //cpg1.4
+  'keyword_msg' => 'The above list is not all inclusive. It does not include words from photo titles or descriptions. Try a full-text search.',  //cpg1.4
+  'edit_keywords' => 'Edit keywords', //cpg1.4
+  'search in' => 'Search in:', //cpg1.4
+  'ip_address' => 'IP address', //cpg1.4
+  'fields' => 'Search in', //cpg1.4
+  'age' => 'Age', //cpg1.4
+  'newer_than' => 'Newer than', //cpg1.4
+  'older_than' => 'Older than', //cpg1.4
+  'days' => 'days', //cpg1.4
+  'all_words' => 'Match all words (AND)', //cpg1.4
+  'any_words' => 'Match any words (OR)', //cpg1.4
+);
+
+$lang_adv_opts = array(
+  'title' => 'Title', //cpg1.4
+  'caption' => 'Caption', //cpg1.4
+  'keywords' => 'Keywords', //cpg1.4
+  'owner_name' => 'Owner name', //cpg1.4
+  'filename' => 'Filename', //cpg1.4
+);
+
+}
+
+// ------------------------------------------------------------------------- //
+// File searchnew.php
+// ------------------------------------------------------------------------- //
+
+if (defined('SEARCHNEW_PHP')) $lang_search_new_php = array(
+  'page_title' => 'Search new files',
+  'select_dir' => 'Select directory',
+  'select_dir_msg' => 'This function allows you to add a batch of files that your have uploaded to your server by FTP.<br /><br />Select the directory where you have uploaded your files.', //cpg1.4
+  'no_pic_to_add' => 'There is no file to add',
+  'need_one_album' => 'You need at least one album to use this function',
+  'warning' => 'Warning',
+  'change_perm' => 'the script can\'t write in this directory, you need to change its mode to 755 or 777 before trying to add the files !',
+  'target_album' => '<b>Put files of &quot;</b>%s<b>&quot; into </b>%s',
+  'folder' => 'Folder',
+  'image' => 'file',
+  'album' => 'Album',
+  'result' => 'Result',
+  'dir_ro' => 'Not writable. ',
+  'dir_cant_read' => 'Not readable. ',
+  'insert' => 'Adding new files to the gallery',
+  'list_new_pic' => 'List of new files',
+  'insert_selected' => 'Insert selected files',
+  'no_pic_found' => 'No new file was found',
+  'be_patient' => 'Please be patient, the script needs time to add the files',
+  'no_album' => 'no album selected',
+  'result_icon' => 'click for details or to reload',  //cpg1.4
+  'notes' =>  '<ul>'.
+                          '<li><b>OK</b> : means that the file was successfully added'.
+                          '<li><b>DP</b> : means that the file is a duplicate and is already in the database'.
+                          '<li><b>PB</b> : means that the file could not be added, check your configuration and the permission of directories where the files are located'.
+                          '<li><b>NA</b> : means that you haven\'t selected an album the files should go to, hit \'<a href="javascript:history.back(1)">back</a>\' and select an album. If you don\'t have an album <a href="albmgr.php">create one first</a></li>'.
+                          '<li>If the OK, DP, PB \'signs\' does not appear click on the broken file to see any error message produced by PHP'.
+                          '<li>If your browser timeouts, hit the reload button'.
+                          '</ul>',
+  'select_album' => 'select album',
+  'check_all' => 'Check All',
+  'uncheck_all' => 'Uncheck All',
+  'no_folders' => 'There are no folders inside the "albums" folder yet. Make sure to create at least one custom folder within "albums" folder and ftp-upload your files there. You mustn\'t upload to the "userpics" nor "edit" folders, they are reserved for http uploads and internal purposes.', //cpg1.4
+   'albums_no_category' => 'Albums with no category', //cpg1.4 // album pulldown mod, added by frogfoot
+  'personal_albums' => '* Personal albums', //cpg1.4 // album pulldown mod, added by frogfoot
+  'browse_batch_add' => 'Browsable interface (recommended)', //cpg1.4
+  'edit_pics' => 'Edit files', //cpg1.4
+  'edit_properties' => 'Album properties', //cpg1.4
+  'view_thumbs' => 'Thumbnail view', //cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File stat_details.php //cpg1.4
+// ------------------------------------------------------------------------- //
+
+if (defined('STAT_DETAILS_PHP')) $lang_stat_details_php = array(
+  'show_hide' => 'show/hide this column', //cpg1.4
+  'vote' => 'Vote Details', //cpg1.4
+  'hits' => 'Hit Details', //cpg1.4
+  'stats' => 'Vote Statistics', //cpg1.4
+  'sdate' => 'Date', //cpg1.4
+  'rating' => 'Rating', //cpg1.4
+  'search_phrase' => 'Search phrase', //cpg1.4
+  'referer' => 'Referer', //cpg1.4
+  'browser' => 'Browser', //cpg1.4
+  'os' => 'Operating System', //cpg1.4
+  'ip' => 'IP', //cpg1.4
+  'sort_by_xxx' => 'Sort by %s', //cpg1.4
+  'ascending' => 'ascending', //cpg1.4
+  'descending' => 'descending', //cpg1.4
+  'internal' => 'int', //cpg1.4
+  'close' => 'close', //cpg1.4
+  'hide_internal_referers' => 'hide internal referers', //cpg1.4
+  'date_display' => 'Date display', //cpg1.4
+  'submit' => 'submit / refresh', //cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File thumbnails.php
+// ------------------------------------------------------------------------- //
+
+// Void
+
+// ------------------------------------------------------------------------- //
+// File upload.php
+// ------------------------------------------------------------------------- //
+
+if (defined('UPLOAD_PHP')) $lang_upload_php = array(
+  'title' => 'Upload file',
+  'custom_title' => 'Customized Request Form',
+  'cust_instr_1' => 'You may select a customized number of upload boxes. However, you may not select more than the limits listed below.',
+  'cust_instr_2' => 'Box Number Requests',
+  'cust_instr_3' => 'File upload boxes: %s',
+  'cust_instr_4' => 'URI/URL upload boxes: %s',
+  'cust_instr_5' => 'URI/URL upload boxes:',
+  'cust_instr_6' => 'File upload boxes:',
+  'cust_instr_7' => 'Please enter the number of each type of upload box you desire at this time.  Then click \'Continue\'. ',
+  'reg_instr_1' => 'Invalid action for form creation.',
+  'reg_instr_2' => 'Now you may upload your files using the upload boxes below. The size of files uploaded from your client to the server should not exceed %s KB each. ZIP files uploaded in the \'File Upload\' and \'URI/URL Upload\' sections will remain compressed.',
+  'reg_instr_3' => 'If you want the zipped file or archive to be decompressed, you must use the file upload box provided in the \'Decompressive ZIP Upload\' area.',
+  'reg_instr_4' => 'When using the URI/URL upload section, please enter the path to the file like so: http://www.mysite.com/images/example.jpg',
+  'reg_instr_5' => 'When you have completed the form, please click \'Continue\'.',
+  'reg_instr_6' => 'Decompressive ZIP Uploads:',
+  'reg_instr_7' => 'File Uploads:',
+  'reg_instr_8' => 'URI/URL Uploads:',
+  'error_report' => 'Error Report',
+  'error_instr' => 'The following uploads encountered errors:',
+  'file_name_url' => 'File Name/URL',
+  'error_message' => 'Error Message',
+  'no_post' => 'File not uploaded by POST.',
+  'forb_ext' => 'Forbidden file extension.',
+  'exc_php_ini' => 'Exceeded filesize allowed in php.ini.',
+  'exc_file_size' => 'Exceeded filesize permitted by CPG.',
+  'partial_upload' => 'Only a partial upload.',
+  'no_upload' => 'No upload occurred.',
+  'unknown_code' => 'Unknown PHP upload error code.',
+  'no_temp_name' => 'No upload - No temp name.',
+  'no_file_size' => 'Contains no data/Corrupted',
+  'impossible' => 'Impossible to move.',
+  'not_image' => 'Not an image/corrupt',
+  'not_GD' => 'Not a GD extension.',
+  'pixel_allowance' => 'The height and or width of the uploaded picture is more than that allowed by the gallery config.', //cpg1.4
+  'incorrect_prefix' => 'Incorrect URI/URL prefix',
+  'could_not_open_URI' => 'Could not open URI.',
+  'unsafe_URI' => 'Safety not verifiable.',
+  'meta_data_failure' => 'Meta data failure',
+  'http_401' => '401 Unauthorized',
+  'http_402' => '402 Payment Required',
+  'http_403' => '403 Forbidden',
+  'http_404' => '404 Not Found',
+  'http_500' => '500 Internal Server Error',
+  'http_503' => '503 Service Unavailable',
+  'MIME_extraction_failure' => 'MIME could not be determined.',
+  'MIME_type_unknown' => 'Unknown MIME type',
+  'cant_create_write' => 'Cannot create write file.',
+  'not_writable' => 'Cannot write to write file.',
+  'cant_read_URI' => 'Cannot read URI/URL',
+  'cant_open_write_file' => 'Cannot open URI write file.',
+  'cant_write_write_file' => 'Cannot write to URI write file.',
+  'cant_unzip' => 'Cannot unzip.',
+  'unknown' => 'Unknown error',
+  'succ' => 'Successful Uploads',
+  'success' => '%s uploads were successful.',
+  'add' => 'Please click \'Continue\' to add the files to albums.',
+  'failure' => 'Upload Failure',
+  'f_info' => 'File Information',
+  'no_place' => 'The previous file could not be placed.',
+  'yes_place' => 'The previous file was placed successfully.',
+  'max_fsize' => 'Maximum allowed file size is %s KB',
+  'album' => 'Album',
+  'picture' => 'File',
+  'pic_title' => 'File title',
+  'description' => 'File description',
+  'keywords' => 'Keywords (separate with spaces)<br /><a href="#" onClick="return MM_openBrWindow(\'keyword_select.php\',\'selectKey\',\'width=250, height=400, scrollbars=yes,toolbar=no,status=yes,resizable=yes\')">Insert from list</a>', //cpg1.4
+  'keywords_sel' =>'Select a Keyword', //cpg1.4
+  'err_no_alb_uploadables' => 'Sorry there is no album where you are allowed to upload files',
+  'place_instr_1' => 'Please place the files in albums at this time.  You may also enter relevant information about each file now.',
+  'place_instr_2' => 'More files need placement. Please click \'Continue\'.',
+  'process_complete' => 'You have successfully placed all the files.',
+   'albums_no_category' => 'Albums with no category', //cpg1.4. //album pulldown mod, added by frogfoot
+  'personal_albums' => '* Personal albums', //cpg1.4 //album pulldown mod, added by frogfoot
+  'select_album' => 'Select album', //cpg1.4 //album pulldown mod, added by frogfoot
+  'close' => 'Close', //cpg1.4
+  'no_keywords' => 'Sorry, no keywords available!', //cpg1.4
+  'regenerate_dictionary' => 'Regenerate Dictionary', //cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File usermgr.php
+// ------------------------------------------------------------------------- //
+
+if (defined('USERMGR_PHP')) $lang_usermgr_php = array(
+  'memberlist' => 'Memberlist', //cpg1.4
+  'user_manager' => 'User manager', //cpg1.4
+  'title' => 'Manage users',
+  'name_a' => 'Name ascending',
+  'name_d' => 'Name descending',
+  'group_a' => 'Group ascending',
+  'group_d' => 'Group descending',
+  'reg_a' => 'Reg date ascending',
+  'reg_d' => 'Reg date descending',
+  'pic_a' => 'File count ascending',
+  'pic_d' => 'File count descending',
+  'disku_a' => 'Disk usage ascending',
+  'disku_d' => 'Disk usage descending',
+  'lv_a' => 'Last visit ascending',
+  'lv_d' => 'Last visit descending',
+  'sort_by' => 'Sort users by',
+  'err_no_users' => 'User table is empty !',
+  'err_edit_self' => 'You can\'t edit your own profile, use the \'My profile\' link for that',
+  'edit' => 'Edit', //cpg1.4
+  'with_selected' => 'With selected:', //cpg1.4
+  'delete' => 'Delete', //cpg1.4
+  'delete_files_no' => 'keep public files (but anonymize)', //cpg1.4
+  'delete_files_yes' => 'delete public files as well', //cpg1.4
+  'delete_comments_no' => 'keep comments (but anonymize)', //cpg1.4
+  'delete_comments_yes' => 'delete comments as well', //cpg1.4
+  'activate' => 'Activate', //cpg1.4
+  'deactivate' => 'Deactivate', //cpg1.4
+  'reset_password' => 'Reset Password', //cpg1.4
+  'change_primary_membergroup' => 'Change primary membergroup', //cpg1.4
+  'add_secondary_membergroup' => 'Add secondary membergroup', //cpg1.4
+  'name' => 'User name',
+  'group' => 'Group',
+  'inactive' => 'Inactive',
+  'operations' => 'Operations',
+  'pictures' => 'Files',
+  'disk_space_used' => 'Space used', //cpg1.4
+  'disk_space_quota' => 'Space Quota', //cpg1.4
+  'registered_on' => 'Registration', //cpg1.4
+  'last_visit' => 'Last Visit',
+  'u_user_on_p_pages' => '%d users on %d page(s)',
+  'confirm_del' => 'Are you sure you want to DELETE this user ? \\nAll his files and albums will also be deleted.', //js-alert
+  'mail' => 'MAIL',
+  'err_unknown_user' => 'Selected user does not exist !',
+  'modify_user' => 'Modify user',
+  'notes' => 'Notes',
+  'note_list' => '<li>If you don\'t want to change the current password, leave the "password" field blank',
+  'password' => 'Password',
+  'user_active' => 'User is active',
+  'user_group' => 'User group',
+  'user_email' => 'User email',
+  'user_web_site' => 'User web site',
+  'create_new_user' => 'Create new user',
+  'user_location' => 'User location',
+  'user_interests' => 'User interests',
+  'user_occupation' => 'User occupation',
+  'user_profile1' => '$user_profile1', //cpg1.4
+  'user_profile2' => '$user_profile2', //cpg1.4
+  'user_profile3' => '$user_profile3', //cpg1.4
+  'user_profile4' => '$user_profile4', //cpg1.4
+  'user_profile5' => '$user_profile5', //cpg1.4
+  'user_profile6' => '$user_profile6', //cpg1.4
+  'latest_upload' => 'Recent uploads',
+  'never' => 'never',
+  'search' => 'User search', //cpg1.4
+  'submit' => 'Submit', //cpg1.4
+  'search_submit' => 'Go!', //cpg1.4
+  'search_result' => 'Search results for: ', //cpg1.4
+  'alert_no_selection' => 'You have to select at least one user first!', //cpg1.4 //js-alert
+  'password' => 'password', //cpg1.4
+  'select_group' => 'Select group', //cpg1.4
+  'groups_alb_access' => 'Album permissions by group', //cpg1.4
+  'album' => 'Album', //cpg1.4
+  'category' => 'Category', //cpg1.4
+  'modify' => 'Modify?', //cpg1.4
+  'group_no_access' => 'This group has no special access', //cpg1.4
+  'notice' => 'Notice', //cpg1.4
+  'group_can_access' => 'Album(s) that only "%s" can access', //cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File util.php
+// ------------------------------------------------------------------------- //
+
+if (defined('UTIL_PHP')) {
+$lang_util_desc_php = array(
+'Updates titles from filename', //cpg1.4
+'Deletes titles', //cpg1.4
+'Rebuilds thumbnails and resized photos', //cpg1.4
+'Deletes original sized photos replacing them with the resized version', //cpg1.4
+'Deletes original or intermediate size photos to free webspace', //cpg1.4
+'Deletes orphaned comments', //cpg1.4
+'Re-reads file sizes and dimensions (if you manually edited pics)', //cpg1.4
+'Resets views counter', //cpg1.4
+'Displays phpinfo', //cpg1.4
+'Updates the database', //cpg1.4
+'Displays log files', //cpg1.4
+);
+$lang_util_php = array(
+  'title' => 'Admin utilities (Resize pictures)',
+  'what_it_does' => 'What it does',
+  'file' => 'File',
+  'problem' => 'Problem', //cpg1.4
+  'status' => 'Status', //cpg1.4
+  'title_set_to' => 'title set to',
+  'submit_form' => 'submit',
+  'updated_succesfully' => 'updated successfully',
+  'error_create' => 'ERROR creating',
+  'continue' => 'Process more images',
+  'main_success' => 'The file %s was successfully used as main file',
+  'error_rename' => 'Error renaming %s to %s',
+  'error_not_found' => 'The file %s was not found',
+  'back' => 'back to main',
+  'thumbs_wait' => 'Updating thumbnails and/or resized images, please wait...',
+  'thumbs_continue_wait' => 'Continuing to update thumbnails and/or resized images...',
+  'titles_wait' => 'Updating titles, please wait...',
+  'delete_wait' => 'Deleting titles, please wait...',
+  'replace_wait' => 'Deleting originals and replacing them with resized images, please wait..',
+  'instruction' => 'Quick instructions',
+  'instruction_action' => 'Select action',
+  'instruction_parameter' => 'Set parameters',
+  'instruction_album' => 'Select album',
+  'instruction_press' => 'Press %s',
+  'update' => 'Update thumbs and/or resized photos',
+  'update_what' => 'What should be updated',
+  'update_thumb' => 'Only thumbnails',
+  'update_pic' => 'Only resized pictures',
+  'update_both' => 'Both thumbnails and resized pictures',
+  'update_number' => 'Number of processed images per click',
+  'update_option' => '(Try setting this option lower if you experience timeout problems)',
+  'filename_title' => 'Filename &rArr; File title',
+  'filename_how' => 'How should the file title be modified',
+  'filename_remove' => 'Remove the .jpg ending and replace _ (underscore) with spaces',
+  'filename_euro' => 'Change 2003_11_23_13_20_20.jpg to 23/11/2003 13:20',
+  'filename_us' => 'Change 2003_11_23_13_20_20.jpg to 11/23/2003 13:20',
+  'filename_time' => 'Change 2003_11_23_13_20_20.jpg to 13:20',
+  'delete' => 'Delete file titles or original size photos',
+  'delete_title' => 'Delete file titles',
+  'delete_title_explanation' => 'This will remove all titles on files in the album you specify.', //cpg1.4
+  'delete_original' => 'Delete original size photos',
+  'delete_original_explanation' => 'This will remove the full sized pictures.', //cpg1.4
+  'delete_intermediate' => 'Delete intermediate pictures', //cpg1.4
+  'delete_intermediate_explanation' => 'This will delete intermediate (normal) pictures.<br />Use this to free up disk space if you have disabled \'Create intermediate pictures\' in config after adding pictures.', //cpg1.4
+  'delete_replace' => 'Deletes the original images replacing them with the sized versions',
+  'titles_deleted' => 'All titles in specified album removed', //cpg1.4
+  'deleting_intermediates' => 'Deleting intermediate images, please wait...', //cpg1.4
+  'searching_orphans' => 'Searching for orphans, please wait...', //cpg1.4
+  'select_album' => 'Select album',
+  'delete_orphans' => 'Delete comments on missing files', //cpg1.4
+  'delete_orphans_explanation' => 'This will identify and allow you to delete any comments associated with files no longer in the gallery.<br />Checks all albums.', //cpg1.4
+  'refresh_db' => 'Reload file dimensions and size information', //cpg1.4
+  'refresh_db_explanation' => 'This will re-read file sizes and dimensions. Use this if quota\'s are incorrect or you have changed the files manually.', //cpg1.4
+  'reset_views' => 'Reset view counters', //cpg1.4
+  'reset_views_explanation' => 'Sets all file view counts to zero in the album specified.', //cpg1.4
+  'orphan_comment' => 'orphan comments found',
+  'delete' => 'Delete',
+  'delete_all' => 'Delete all',
+  'delete_all_orphans' => 'Delete all orphans?', //cpg1.4
+  'comment' => 'Comment: ',
+  'nonexist' => 'attached to non existent file # ',
+  'phpinfo' => 'Display phpinfo',
+  'phpinfo_explanation' => 'Contains technical information about your server.<br /> - You may be asked to provide information from this when requesting support.', //cpg1.4
+  'update_db' => 'Update database',
+  'update_db_explanation' => 'If you have replaced coppermine files, added a modification or upgraded from a previous version of coppermine, make sure to run the database update once. This will create the necessary tables and/or config values in your coppermine database.',
+  'view_log' => 'View log files', //cpg1.4
+  'view_log_explanation' => 'Coppermine can keep track of various actions users perform. You can browse those logs if you have enabled logging in <a href="admin.php">coppermine config</a>.', //cpg1.4
+  'versioncheck' => 'Check versions', //cpg1.4
+  'versioncheck_explanation' => 'Check your file versions to find out if you have replaced all files after an upgrade, or if coppermine source files have been updated after the release of a package.', //cpg1.4
+  'bridgemanager' => 'Bridge Manager', //cpg1.4
+  'bridgemanager_explanation' => 'Enable/disable integration (bridging) of Coppermine with another application (e.g. your BBS).', //cpg1.4
+);
+}
+
+// ------------------------------------------------------------------------- //
+// File versioncheck.php //cpg1.4
+// ------------------------------------------------------------------------- //
+
+if (defined('VERSIONCHECK_PHP')) $lang_versioncheck_php = array(
+  'title' => 'Versioncheck', //cpg1.4
+  'what_it_does' => 'This page is meant for users who have updated their coppermine install. This script goes through the files on your webserver and tries to determine if your local file versions on the webserver are the same as the ones from the repository at http://coppermine.sourceforge.net, this way displaying the files you were meant to update as well.<br />It will show everything in red that needs to be fixed. Entries in yellow need looking into. Entries in green (or your default font color) are OK.<br />Click on the help icons to find out more.', //cpg1.4
+  'online_repository_unable' => 'Unable to connect to online repository', //cpg1.4
+  'online_repository_noconnect' => 'Coppermine was unable to connect to the online repository. This can have two reasons:', //cpg1.4
+  'online_repository_reason1' => 'the coppermine online repository is currently down - check if you can browse this page: %s - if you can\'t access this page, try again later.', //cpg1.4
+  'online_repository_reason2' => 'PHP on your webserver is configured with %s turned off (by default, it\'s turned on). If the server is yours to administer, turn this option on in <i>php.ini</i> (at least allow it to be overridden with %s). If you\'re webhosted, you will probably have to live with the fact that you can\'t compare your files to the online repository. This page will then only display the file versions that came with your distribution - updates will not be displayed.', //cpg1.4
+  'online_repository_skipped' => 'Connection to online repository skipped', //cpg1.4
+  'online_repository_to_local' => 'The script is defaulting to the local copy of the version-files now. The data may be inaccurate if you have upgraded Coppermine and you haven\'t uploaded all files. Changes to the files after the release won\'t be taken into account as well.', //cpg1.4
+  'local_repository_unable' => 'Unable to connect to the repository on your server', //cpg1.4
+  'local_repository_explanation' => 'Coppermine was unable to connect to the repository file %s on your webserver. This probably means that you haven\'t uploaded the repository file to your webserver. Do so now and then try to run this page once more (hit refresh).<br />If the script still fails, your webhost might have disabled parts of <a href="http://www.php.net/manual/en/ref.filesystem.php">PHP\'s filesystem functions</a> completely. In this case, you simply won\'t be able to use this tool at all, sorry.', //cpg1.4
+  'coppermine_version_header' => 'Installed Coppermine version', //cpg1.4
+  'coppermine_version_info' => 'You have currently installed: %s', //cpg1.4
+  'coppermine_version_explanation' => 'If you think this is entirely wrong and you\'re supposed to be running a higher version of Coppermine, you probably haven\'t uploaded the most recent version of the file <i>include/init.inc.php</i>', //cpg1.4
+  'version_comparison' => 'Version comparison', //cpg1.4
+  'folder_file' => 'folder/file', //cpg1.4
+  'coppermine_version' => 'cpg version', //cpg1.4
+  'file_version' => 'file version', //cpg1.4
+  'webcvs' => 'web svn', //cpg1.4
+  'writable' => 'writable', //cpg1.4
+  'not_writable' => 'not writable', //cpg1.4
+  'help' => 'Help', //cpg1.4
+  'help_file_not_exist_optional1' => 'file/folder does not exist', //cpg1.4
+  'help_file_not_exist_optional2' => 'The file/folder %s has not been found on your server. Although it is optional you should upload it (using your FTP client) to your webserver if you are experiencing problems.', //cpg1.4
+  'help_file_not_exist_mandatory1' => 'file/folder does not exist', //cpg1.4
+  'help_file_not_exist_mandatory2' => 'The file/folder %s has not been found on your server, although it is mandatory. Upload the file to your webserver (using your FTP client).', //cpg1.4
+  'help_no_local_version1' => 'No local file version', //cpg1.4
+  'help_no_local_version2' => 'The script was unable to extract a local file version - your file is either outdated or you have modified it, removing the header information on the way. Updating the file is recommended.', //cpg1.4
+  'help_local_version_outdated1' => 'Local version outdated', //cpg1.4
+  'help_local_version_outdated2' => 'Your version of this file seems to be from an older version of Coppermine (you probably upgraded). Make sure to update this file as well.', //cpg1.4
+  'help_local_version_na1' => 'Unable to extract subversion version info', //cpg1.4
+  'help_local_version_na2' => 'The script could not determine what subversion (SVN) version the file on your webserver is. You should upload the file from your package.', //cpg1.4
+  'help_local_version_dev1' => 'Development version', //cpg1.4
+  'help_local_version_dev2' => 'The file on your webserver seems to be newer than your Coppermine version. You are either using a development file (you should only do so if you know what you are doing), or you have upgraded your Coppermine install and not uploaded include/init.inc.php', //cpg1.4
+  'help_not_writable1' => 'Folder not writable', //cpg1.4
+  'help_not_writable2' => 'Change file permissions (CHMOD) to grant the script write access to the folder %s and everything within it.', //cpg1.4
+  'help_writable1' => 'Folder writable', //cpg1.4
+  'help_writable2' => 'The folder %s is writable. This is an unnecessary risk, coppermine only needs read/execute access.', //cpg1.4
+  'help_writable_undetermined' => 'Coppermine was not able to determine wether the folder is writable.', //cpg1.4
+  'your_file' => 'your file', //cpg1.4
+  'reference_file' => 'reference file', //cpg1.4
+  'summary' => 'Summary', //cpg1.4
+  'total' => 'Total files/folders checked', //cpg1.4
+  'mandatory_files_missing' => 'Mandatory files missing', //cpg1.4
+  'optional_files_missing' => 'Optional files missing', //cpg1.4
+  'files_from_older_version' => 'Files left over from outdated Coppermine version', //cpg1.4
+  'file_version_outdated' => 'Outdated file versions', //cpg1.4
+  'error_no_data' => 'The script made a boo, it was not able to retrieve any information. Sorry for the inconvenience.', //cpg1.4
+  'go_to_webcvs' => 'go to %s', //cpg1.4
+  'options' => 'Options', //cpg1.4
+  'show_optional_files' => 'show optional folders/files', //cpg1.4
+  'show_mandatory_files' => 'show mandatory files', //cpg1.4
+  'show_file_versions' => 'show file versions', //cpg1.4
+  'show_errors_only' => 'show folders/files with errors only', //cpg1.4
+  'show_permissions' => 'show folder permissions', //cpg1.4
+  'show_condensed_output' => 'show condensed ouput (for easier screenshots)', //cpg1.4
+  'coppermine_in_webroot' => 'coppermine is installed in the webroot', //cpg1.4
+  'connect_online_repository' => 'try connecting to the online repository', //cpg1.4
+  'show_additional_information' => 'show additional information', //cpg1.4
+  'no_webcvs_link' => 'don\'t display web svn link', //cpg1.4
+  'stable_webcvs_link' => 'display web svn link to stable branch', //cpg1.4
+  'devel_webcvs_link' => 'display web svn link to devel branch', //cpg1.4
+  'submit' => 'apply changes / refresh', //cpg1.4
+  'reset_to_defaults' => 'reset to default values', //cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File view_log.php  //cpg1.4
+// ------------------------------------------------------------------------- //
+
+if (defined('VIEWLOG_PHP')) $lang_viewlog_php = array(
+  'delete_all' => 'Delete All Logs', //cpg1.4
+  'delete_this' => 'Delete This Log', //cpg1.4
+  'view_logs' => 'View Logs', //cpg1.4
+  'no_logs' => 'No logs created.', //cpg1.4
+);
+
+
+// ------------------------------------------------------------------------- //
+// File xp_publish.php //cpg1.4
+// ------------------------------------------------------------------------- //
+
+if (defined('XP_PUBLISH_PHP')) {
+
+$lang_xp_publish_client = <<<EOT
+<h1>XP Web Publishing Wizard Client</h1><p>This module allows to use <b>Windows XP</b> web publishing wizard with Coppermine.</p><p>Code is based on article posted by
+EOT;
+
+$lang_xp_publish_required = <<<EOT
+<h2>What is required</h2><ul><li>Windows XP in order to have the wizard.</li><li>A working installation of Coppermine on which <b>the web upload function works properly.</b></li></ul><h2>How to install on client side</h2><ul><li>Right click on
+EOT;
+
+$lang_xp_publish_select = <<<EOT
+Select &quot;save target as..&quot;. Save the file on your hard drive. When saving the file, check that the proposed file name is <b>cpg_###.reg</b> (the ### represents a numerical timestamp). Change it to that name if necessary (leave the numbers). When downloaded, double click on the file in order to register your server with the web publishing wizard.</li></ul>
+EOT;
+
+$lang_xp_publish_testing = <<<EOT
+<h2>Testing</h2><ul><li>In Windows Explorer, select some files and click on <b>Publish xxx on the web</b> in the left pane.</li><li>Confirm your file selection. Click on <b>Next</b>.</li><li>In the list of services that appear, select the one for your photo gallery (it has the name of your gallery). If the service does not appear, check that you have installed <b>cpg_pub_wizard.reg</b> as described above.</li><li>Input your login information if required.</li><li>Select the target album for your pictures or create a new one.</li><li>Click on <b>next</b>. The upload of your pictures starts.</li><li>When it is completed, check your gallery to see if pictures have been properly added.</li></ul>
+EOT;
+
+$lang_xp_publish_notes = <<<EOT
+<h2>Notes :</h2><ul><li>Once the upload has started, the wizard can't display any error message returned by the script so you can't know if the upload failed or succeeded until you check your gallery.</li><li>If the upload fails, enable &quot;Debug mode&quot; on the Coppermine admin page, try with one single picture and check error messages in the
+EOT;
+
+$lang_xp_publish_flood = <<<EOT
+file that is located in Coppermine directory on your server.</li><li>In order to avoid that the gallery be <i>flooded</i> by pictures uploaded through the wizard, only the <b>gallery admins</b> and <b>users that can have their own albums</b> can use this feature.</li>
+EOT;
+
+
+
+$lang_xp_publish_php = array(
+  'title' => 'Coppermine - XP Web Publishing Wizard', //cpg1.4
+  'welcome' => 'Welcome <b>%s</b>,', //cpg1.4
+  'need_login' => 'You need to login to the gallery using your web browser before you can use this wizard.<p/><p>When you login don\'t forget to select the <b>remember me</b> option if it is present.', //cpg1.4
+  'no_alb' => 'Sorry but there is no album where you are allowed to upload pictures with this wizard.', //cpg1.4
+  'upload' => 'Upload your pictures into an existing album', //cpg1.4
+  'create_new' => 'Create a new album for your pictures', //cpg1.4
+  'album' => 'Album', //cpg1.4
+  'category' => 'Category', //cpg1.4
+  'new_alb_created' => 'Your new album &quot;<b>%s</b>&quot; was created.', //cpg1.4
+  'continue' => 'Press &quot;Next&quot; to start to upload your pictures', //cpg1.4
+  'link' => 'this link', //cpg1.4
+);
+}
 ?>
\ No newline at end of file
diff -x .svn -aruN 1.4.24.src/lang/estonian.php 1.4.25.src/lang/estonian.php
--- 1.4.24.src/lang/estonian.php	2009-05-25 15:01:17.000000000 -0500
+++ 1.4.25.src/lang/estonian.php	2009-05-26 11:25:40.000000000 -0500
@@ -10,11 +10,11 @@
   as published by the Free Software Foundation.
 
   ********************************************
-  Coppermine version: 1.4.24
+  Coppermine version: 1.4.25
   $HeadURL: https://coppermine.svn.sourceforge.net/svnroot/coppermine/trunk/cpg1.4.x/lang/estonian.php $
-  $Revision: 5988 $
+  $Revision: 5997 $
   $Author: gaugau $
-  $Date: 2009-05-25 22:01:41 +0200 (Mo, 25 Mai 2009) $
+  $Date: 2009-05-26 08:43:24 +0200 (Di, 26 Mai 2009) $
 **********************************************/
 
 if (!defined('IN_COPPERMINE')) { die('Pole Coppermine\'is...');}
diff -x .svn -aruN 1.4.24.src/lang/finnish.php 1.4.25.src/lang/finnish.php
--- 1.4.24.src/lang/finnish.php	2009-05-25 15:01:17.000000000 -0500
+++ 1.4.25.src/lang/finnish.php	2009-05-26 11:25:40.000000000 -0500
@@ -10,11 +10,11 @@
   as published by the Free Software Foundation.
   
   ********************************************
-  Coppermine version: 1.4.24
+  Coppermine version: 1.4.25
   $Source: /cvsroot/coppermine/stable/lang/english.php,v $
-  $Revision: 5988 $
+  $Revision: 5997 $
   $Author: gaugau $
-  $Date: 2009-05-25 22:01:41 +0200 (Mo, 25 Mai 2009) $
+  $Date: 2009-05-26 08:43:24 +0200 (Di, 26 Mai 2009) $
 **********************************************/
 
 if (!defined('IN_COPPERMINE')) { die('Not in Coppermine...');}
diff -x .svn -aruN 1.4.24.src/lang/french.php 1.4.25.src/lang/french.php
--- 1.4.24.src/lang/french.php	2009-05-25 15:01:17.000000000 -0500
+++ 1.4.25.src/lang/french.php	2009-05-26 11:25:40.000000000 -0500
@@ -1,2107 +1,2107 @@
-<?php
-/*************************
-  Coppermine Photo Gallery
-  ************************
-  Copyright (c) 2003-2009 Coppermine Dev Team
-  v1.1 originally written by Gregory DEMAR
-
-  This program is free software; you can redistribute it and/or modify
-  it under the terms of the GNU General Public License version 3
-  as published by the Free Software Foundation.
-  
-  ********************************************
-  Coppermine version: 1.4.24
-  $Source: /cvsroot/coppermine/stable/lang/french.php,v $
-  $Revision: 5988 $
-  $Author: gaugau $
-  $Date: 2009-05-25 22:01:41 +0200 (Mo, 25 Mai 2009) $
-**********************************************/
-
-if (!defined('IN_COPPERMINE')) { die('Not in Coppermine...');}
-
-// info about translators and translated language
-$lang_translation_info = array(
-'lang_name_english' => 'French',
-'lang_name_native' => 'Français',
-'lang_country_code' => 'fr',
-'trans_name'=> 'Stefvar and Frantz and Titooy',
-'trans_email' => '',
-'trans_website' => '',
-'trans_date' => '2005-08-31',
-);
-
-$lang_charset = 'UTF-8';
-$lang_text_dir = 'ltr'; // ('ltr' for left to right, 'rtl' for right to left)
-
-// shortcuts for Byte, Kilo, Mega
-$lang_byte_units = array('Octets', 'Ko', 'Mo');
-
-// Day of weeks and months
-$lang_day_of_week = array('Dim', 'Lun', 'Mar', 'Mer', 'Jeu', 'Ven', 'Sam');
-$lang_month = array('Jan', 'Fev', 'Mar', 'Avr', 'Mai', 'Juin', 'Juil', 'Aout', 'Sep', 'Oct', 'Nov', 'Dec');
-
-// Some common strings
-$lang_yes = 'Oui';
-$lang_no  = 'Non';
-$lang_back = 'Retour';
-$lang_continue = 'CONTINUER';
-$lang_info = 'Information';
-$lang_error = 'Erreur';
-$lang_check_uncheck_all = 'tout sélectionner/désélectionner'; //cpg1.4
-
-// The various date formats
-// See http://www.php.net/manual/en/function.strftime.php to define the variable below
-$album_date_fmt =  '%d %B %Y';
-$lastcom_date_fmt =  '%d/%m/%y à %H:%M';
-$lastup_date_fmt = '%d %B %Y';
-$register_date_fmt = '%d %B %Y';
-$lasthit_date_fmt = ' %a %d %B %Y à %H:%M';
-$comment_date_fmt =  '%a %d %B %Y à %H:%M';
-$log_date_fmt = '%B %d, %Y at %I:%M %p'; //cpg1.4
-
-// For the word censor
-$lang_bad_words = array('*fuck*', 'asshole', 'assramer', 'bitch*', 'c0ck', 'clits', 'Cock', 'cum', 'cunt*', 'dago', 'daygo', 'dego', 'dick*', 'dildo', 'fanculo', 'feces', 'foreskin', 'Fu\(*', 'fuk*', 'honkey', 'hore', 'injun', 'kike', 'lesbo', 'masturbat*', 'motherfucker', 'nazis', 'nigger*', 'nutsack', 'penis', 'phuck', 'poop', 'pussy', 'scrotum', 'shit', 'slut', 'titties', 'titty', 'twaty', 'wank*', 'whore', 'wop*', 'merde', 'putain', 'enculé*', 'salope', 'bite', 'cul', 'pute', 'pénis', 'clito', 'couille', 'pétasse', 'connard', 'salaud');
-
-$lang_meta_album_names = array(
-  'random' => 'Photos aléatoires',
-  'lastup' => 'Derniers ajouts',
-  'lastalb'=> 'Derniers albums mis à jour',
-  'lastcom' => 'Derniers commentaires',
-  'topn' => 'Les plus populaires',
-  'toprated' => 'Les mieux notées',
-  'lasthits' => 'Les dernières vues',
-  'search' => 'Résultats de la recherche',
-  'favpics'=> 'Photos préférées', //cpg1.4
-);
-
-$lang_errors = array(
-  'access_denied' => 'Vous n\'avez pas la permission d\'accéder à cette page.',
-  'perm_denied' => 'Vous n\'avez pas la permission d\'effectuer cette opération.',
-  'param_missing' => 'Script appelé sans les paramètres nécessaires.',
-  'non_exist_ap' => 'L\'album/la photo demandé(e) n\'existe pas!',
-  'quota_exceeded' => 'Espace disque dépassé<br /><br />Vous avez un quota d\'espace de [quota]K, vos fichiers utilisent [space]K, le fait d\'ajouter ce fichier vous ferait dépasser votre quota.',
-  'gd_file_type_err' => 'L\'utilisation de &quot;GD image library&quot; ne vous permet d\'utiliser que de images de type JPEG et PNG.',
-  'invalid_image' => 'L\'image que vous avez uploadée est corrompue ou ne peut pas être prise en charge par GD library',
-  'resize_failed' => 'Impossible de créer la vignette ou l\'image réduite.',
-  'no_img_to_display' => 'Pas d\'image à afficher',
-  'non_exist_cat' => 'La catégorie sélectionnée n\'existe pas',
-  'orphan_cat' => 'Une catégorie a un parent inexistant, utilisez le gestionnaire de catégories afin de remédier au problème.',
-  'directory_ro' => 'Le répertoire \'%s\' n\'est pas inscriptible : les images ne peuvent être supprimées.',
-  'non_exist_comment' => 'Le commentaire sélectionné n\'existe pas.',
-  'pic_in_invalid_album' => 'L\'image se trouve dans un album qui n\'existe pas (%s)!?',
-  'banned' => 'Vous êtes pour l\'instant banni de ce site.',
-  'not_with_udb' => 'Cette fonction est désactivée dans Coppermine parce que la galerie est intégrée à un forum. Soit l\'action que vous essayez d\'effectuer n\'est pas disponible dans cette configuration, soit vous devez l\'effectuer depuis le forum auquel vous avez intégré la galerie.',
-  'offline_title' => 'Hors Ligne', //cpg1.3.0
-  'offline_text' => 'Cette galerie n\'est pas en ligne actuellement. Revenez la voir très bientôt&nbsp;!', //cpg1.3.0
-  'ecards_empty' => 'Il n\'y a pas encore de logs enregistrés. Vérifiez que vous avez activé l\'option correspondante dans la configuration de Coppermine.', //cpg1.3.0
-  'action_failed' => 'Erreur&nbsp;! Coppermine ne peut pas traiter cette requête.', //cpg1.3.0
-  'no_zip' => 'Les librairies nécessaires au traitement des fichiers ZIP ne sont pas installées. Contactez l\'Administrateur du site.', //cpg1.3.0
-  'zip_type' => 'Vous n\'avez pas l\'autorisation de télécharger des fichiers ZIP.', //cpg1.3.0
-  'database_query' => 'Il y eu une erreur lors de l\'exécution de la requête', //cpg1.4
-  'register_globals_on' => 'Le paramètre PHP register_globals est activé (sur on) sur votre serveur, ce qui est une mauvaise idée en terme de sécurité. Il est fortement recommandé de le désactiver (mettre à off). [<a href="http://forum.coppermine-gallery.net/index.php/topic,59569.0.html" rel="external" class="external">more</a>]',
-);
-
-$lang_bbcode_help_title = 'aide bbcode'; //cpg1.4
-$lang_bbcode_help = 'Vous pouvez ajouter des liens cliquables et formater le texte de ce champ en utilisant les balises bbcode: <li>[b]Gras[/b] =&gt; <b>Gras</b></li><li>[i]Italique[/i] =&gt; <i>Italique</i></li><li>[url=http://votresite.com/]Texte du lien[/url] =&gt; <a href="http://votresite.com">Url Text</a></li><li>[email]utilisateur@domaine.com[/email] =&gt; <a href="mailto:utilisateur@domaine.com">utilisateur@domaine.com</a></li><li>[color=red]Votre texte[/color] =&gt; <span style="color:red">Votre texte</span></li><li>[img]http://coppermine-gallery.net/demo/cpg14x/images/red.gif[/img] => <img src="../images/red.gif" border="0" alt="" /></li>'; //cpg1.4
-
-// ------------------------------------------------------------------------- //
-// File theme.php
-// ------------------------------------------------------------------------- //
-
-$lang_main_menu = array(
-  'home_title' => 'Aller à la page d\'accueil',
-  'home_lnk' => 'Accueil',
-  'alb_list_title' => 'Aller à la liste des albums',
-  'alb_list_lnk' => 'Albums',
-  'my_gal_title' => 'Aller dans ma galerie personnelle',
-  'my_gal_lnk' => 'Ma galerie',
-  'my_prof_title' => 'Aller à mon profil personnel', //cpg1.4
-  'my_prof_lnk' => 'Mon profil',
-  'adm_mode_title' => 'Passer en mode administrateur',
-  'adm_mode_lnk' => 'Mode administrateur',
-  'usr_mode_title' => 'Passer au mode utilisateur',
-  'usr_mode_lnk' => 'Mode utilisateur',
-  'upload_pic_title' => 'Uploader une image dans un album',
-  'upload_pic_lnk' => 'Uploader une image',
-  'register_title' => 'Créer un compte',
-  'register_lnk' => 'Inscription',
-  'login_title' => 'Se connecter', //cpg1.4
-  'login_lnk' => 'S\'identifier',
-  'logout_title' => 'Se déconnecter', //cpg1.4
-  'logout_lnk' => 'Quitter',
-  'lastup_title' => 'Afficher les dernières mises à jour', //cpg1.4
-  'lastup_lnk' => 'Derniers ajouts',
-  'lastcom_title' => 'Afficher les derniers commentaires', //cpg1.4
-  'lastcom_lnk' => 'Derniers commentaires',
-  'topn_title' => 'Afficher les dernières visualisations', //cpg1.4
-  'topn_lnk' => 'Les plus populaires',
-  'toprated_title' => 'Afficher les vues les mieux notées', //cpg1.4
-  'toprated_lnk' => 'Les mieux notées',
-  'search_title' => 'Chercher une galerie', //cpg1.4
-  'search_lnk' => 'Rechercher',
-  'fav_title' => 'Aller à mes favoris', //cpg1.4
-  'fav_lnk' => 'Mes favoris',
-  'memberlist_title' => 'Afficher la liste des membres', //cpg1.3.0
-  'memberlist_lnk' => 'Liste des membres', //cpg1.3.0
-  'faq_title' => 'FAQ: Questions fréquemment posées à propos de &quot;Coppermine&quot;', //cpg1.3.0
-  'faq_lnk' => 'FAQ', //cpg1.3.0
-);
-
-$lang_gallery_admin_menu = array(
-  'upl_app_title' => 'Valider les nouveaux uploads', //cpg1.4
-  'upl_app_lnk' => 'Fichiers à valider',
-  'admin_title' => 'Aller à la configuration', //cpg1.4
-  'admin_lnk' => 'Configuration', //cpg1.4
-  'albums_title' => 'Aller à la configuration des albums', //cpg1.4
-  'albums_lnk' => 'Albums',
-  'categories_title' => 'Aller à la configuration des catégories', //cpg1.4
-  'categories_lnk' => 'Catégories',
-  'users_title' => 'Aller à la configuration des utilisateurs', //cpg1.4
-  'users_lnk' => 'Utilisateurs',
-  'groups_title' => 'Aller à la configuration des groupes', //cpg1.4
-  'groups_lnk' => 'Groupes',
-  'comments_title' => 'Afficher tous les commentaires', //cpg1.4
-  'comments_lnk' => 'Commentaires',
-  'searchnew_title' => 'Aller au téléchargement par lots', //cpg1.4
-  'searchnew_lnk' => 'FTP =>',
-  'util_title' => 'Aller aux outils d\'administration', //cpg1.4
-  'util_lnk' => 'Utilitaires',
-  'key_title' => 'Aller au dictionnaire de mots-clés', //cpg1.4
-  'key_lnk' => 'Dictionnaire de mot-clé', //cpg1.4
-  'ban_title' => 'Aller aux utilisateurs bannis', //cpg1.4
-  'ban_lnk' => 'Bannir des utilisateurs',
-  'db_ecard_title' => 'Voir les cartes', //cpg1.4
-  'db_ecard_lnk' => 'Cartes envoyées',
-  'pictures_title' => 'Tri des images', //cpg1.4
-  'pictures_lnk' => 'Tri des images', //cpg1.4
-  'documentation_lnk' => 'Documentation', //cpg1.4
-  'documentation_title' => 'Manuel de Coppermine', //cpg1.4
-);
-
-$lang_user_admin_menu = array(
-  'albmgr_title' => 'Créer et classer mes albums', //cpg1.4
-  'albmgr_lnk' => 'Créer / classer mes albums',
-  'modifyalb_title' => 'Aller à la modification de mes albums',  //cpg1.4
-  'modifyalb_lnk' => 'Modifier mes albums',
-  'my_prof_title' => 'Aller à mon profil personnel', //cpg1.4
-  'my_prof_lnk' => 'Mon profil',
-);
-
-$lang_cat_list = array(
-  'category' => 'Catégories',
-  'albums' => 'Albums',
-  'pictures' => 'Photos',
-);
-
-$lang_album_list = array(
-  'album_on_page' => '%d albums sur %d page(s)',
-);
-
-$lang_thumb_view = array(
-  'date' => 'DATE',
-  //Sort by filename and title
-  'name' => 'NOM DU FICHIER',
-  'title' => 'TITRE',
-  'sort_da' => 'Classement ascendant par date',
-  'sort_dd' => 'Classement descendant par date',
-  'sort_na' => 'Classement ascendant par nom',
-  'sort_nd' => 'Classement descendant par nom',
-  'sort_ta' => 'Classement ascendant par titre',
-  'sort_td' => 'Classement descendant par titre',
-  'position' => 'POSITION', //cpg1.4
-  'sort_pa' => 'Classement ascendant par position', //cpg1.4
-  'sort_pd' => 'Classement descendant par position', //cpg1.4
-  'download_zip' => 'Télécharger un fichier ZIP', //cpg1.3.0
-  'pic_on_page' => '%d photos sur %d page(s)',
-  'user_on_page' => '%d utilisateurs sur %d page(s)',
-  'enter_alb_pass' => 'Entrer un mot de passe pour l\'album', //cpg1.4
-  'invalid_pass' => 'Mot de passe invalide', //cpg1.4
-  'pass' => 'Mot de passe', //cpg1.4
-  'submit' => 'Soumettre', //cpg1.4
-);
-
-$lang_img_nav_bar = array(
-  'thumb_title' => 'Retourner à la page des vignettes',
-  'pic_info_title' => 'Afficher/Cacher les informations sur l\'image',
-  'slideshow_title' => 'Diaporama',
-  'ecard_title' => 'Envoyer cette image en tant que carte électronique',
-  'ecard_disabled' => 'Les cartes électroniques sont désactivées',
-  'ecard_disabled_msg' => 'Vous n\\\'avez pas l\\\'autorisation d\\\'envoyer des cartes',//js-alert
-  'prev_title' => 'Voir l\'image précédente',
-  'next_title' => 'Voir l\'image suivante',
-  'pic_pos' => 'PHOTO %s/%s',
-  'report_title' => 'Signaler ce fichier à l\'administrateur', //cpg1.4
-  'go_album_end' => 'Aller à la fin', //cpg1.4
-  'go_album_start' => 'Retourner au début', //cpg1.4
-  'go_back_x_items' => 'avancer de %s items', //cpg1.4
-  'go_forward_x_items' => 'reculer de %s items', //cpg1.4
-);
-
-$lang_rate_pic = array(
-  'rate_this_pic' => 'Noter cette image ',
-  'no_votes' => '(Pas encore de note)',
-  'rating' => '(note actuelle : %s / 5 pour %s votes)',
-  'rubbish' => 'Très mauvais',
-  'poor' => 'Mauvais',
-  'fair' => 'Moyen',
-  'good' => 'Bon',
-  'excellent' => 'Excellent',
-  'great' => 'Superbe',
-);
-
-// ------------------------------------------------------------------------- //
-// File include/exif.inc.php
-// ------------------------------------------------------------------------- //
-
-// void
-
-// ------------------------------------------------------------------------- //
-// File include/functions.inc.php
-// ------------------------------------------------------------------------- //
-
-$lang_cpg_die = array(
-  INFORMATION => $lang_info,
-  ERROR => $lang_error,
-  CRITICAL_ERROR => 'Erreur critique',
-  'file' => 'Fichier: ',
-  'line' => 'Ligne: ',
-);
-
-$lang_display_thumbnails = array(
-  'filename' => 'Nom du fichier : ',  //cpg1.4
-  'filesize' => 'Poids du fichier : ', //cpg1.4
-  'dimensions' => 'Dimensions : ',  //cpg1.4	
-  'date_added' => 'Ajouté le : ',  //cpg1.4
-);
-
-$lang_get_pic_data = array(
-  'n_comments' => '%s commentaires',
-  'n_views' => 'vu %s fois',
-  'n_votes' => '(%s votes)',
-);
-
-$lang_cpg_debug_output = array(
-  'debug_info' => 'Infos de débogage', //cpg1.3.0
-  'select_all' => 'Tout sélectionner', //cpg1.3.0
-  'copy_and_paste_instructions' => 'Si vous souhaitez soumettre une demande d\'assistance dans le forum de support de Coppermine, copier/collez ces informations de débogage dans votre message. Assurez-vous de remplacer tous les mots de passe, même codés, par \'***\' avant de poster votre message.', //cpg1.3.0
-  'phpinfo' => 'Afficher le phpinfo', //cpg1.3.0
-  'notices' => 'Remarques', //cpg1.4
-);
-
-$lang_language_selection = array(
-  'reset_language' => 'Langue par défaut -', //cpg1.3.0
-  'choose_language' => 'Choisissez votre langue :', //cpg1.3.0
-);
-
-$lang_theme_selection = array(
-  'reset_theme' => 'Thème par défaut', //cpg1.3.0
-  'choose_theme' => 'Choisissez votre thème', //cpg1.3.0
-);
-
-$lang_version_alert = array(
-  'version_alert' => 'Version sans support d\'aide!', //cpg1.4
-  'no_stable_version' => 'Vous utilisez Coppermine  %s (%s) qui s\'adresse aux utilisateurs très expérimentés - Cette version n\'offre aucun support d\'aide. Vous pouvez l\'utiliser à vos risques et périls ou télécharger la dernière version stable si vous avez besoin d\'aide!', //cpg1.4
-  'gallery_offline' => 'La galerie est actuellement hors ligne et n\est visible que par un administrateur. N\'oubliez pas de la remettre en ligne une fois les travaux de maintenance terminés.', //cpg1.4
-);
-
-$lang_create_tabs = array(
-  'previous' => 'précédent', //cpg1.4
-  'next' => 'suivant', //cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File include/init.inc.php
-// ------------------------------------------------------------------------- //
-
-// void
-
-// ------------------------------------------------------------------------- //
-// File keyword.inc.php                                                      //
-// ------------------------------------------------------------------------- //
-
-// void
-
-// ------------------------------------------------------------------------- //
-// File include/picmgmt.inc.php
-// ------------------------------------------------------------------------- //
-
-// void
-
-// ------------------------------------------------------------------------- //
-// File include/plugin_api.inc.php
-// ------------------------------------------------------------------------- //
-$lang_plugin_api = array(
-  'error_wakeup' => 'Impossible d\'activer le plugin \'%s\'', //cpg1.4
-  'error_install' => 'Impossible d\'installer le plugin \'%s\'', //cpg1.4
-  'error_uninstall' => 'Impossible de désinstaller le plugin \'%s\'', //cpg1.4
-  'error_sleep' => 'Impossible de désinstaller le plugin \'%s\'<br />', //cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File include/smilies.inc.php
-// ------------------------------------------------------------------------- //
-
-if (defined('SMILIES_PHP')) $lang_smilies_inc_php = array(
-  'Exclamation' => 'Exclamation',
-  'Question' => 'Question',
-  'Very Happy' => 'Très heureux',
-  'Smile' => 'Sourire',
-  'Sad' => 'Triste',
-  'Surprised' => 'Surpris',
-  'Shocked' => 'Choqué',
-  'Confused' => 'Confus',
-  'Cool' => 'Cool',
-  'Laughing' => 'Rire',
-  'Mad' => 'Fou',
-  'Razz' => 'Razz',
-  'Embarassed' => 'Embarassé',
-  'Crying or Very sad' => 'Pleure ou très triste',
-  'Evil or Very Mad' => 'Diabolique ou très en colère',
-  'Twisted Evil' => 'Sadique',
-  'Rolling Eyes' => 'Lève les yeux au ciel',
-  'Wink' => 'Clin d\'oeil',
-  'Idea' => 'Idée',
-  'Arrow' => 'Flèche',
-  'Neutral' => 'Neutre',
-  'Mr. Green' => 'Mr. Green',
-);
-
-// ------------------------------------------------------------------------- //
-// File addpic.php
-// ------------------------------------------------------------------------- //
-
-// void
-
-// ------------------------------------------------------------------------- //
-// File mode.php //cpg1.4
-// ------------------------------------------------------------------------- //
-
-if (defined('MODE_PHP')) $lang_mode_php = array(
-  0 => 'Quitter le mode administrateur...',
-  1 => 'Passer en mode administrateur...',
-);
-
-// ------------------------------------------------------------------------- //
-// File albmgr.php
-// ------------------------------------------------------------------------- //
-
-if (defined('ALBMGR_PHP')) $lang_albmgr_php = array(
-  'alb_need_name' => 'Les albums doivent avoir un nom&nbsp;!',//js-alert
-  'confirm_modifs' => 'Voulez-vous vraiment effectuer ces modifications ?', //js-alert
-  'no_change' => 'Vous n\\\'avez effectué aucun changement&nbsp;!',//js-alert
-  'new_album' => 'Nouvel album',
-  'confirm_delete1' => 'Voulez vous vraiment supprimer cet album ?', //js-alert
-  'confirm_delete2' => '\nToutes les images et tous les commentaires seront perdus!', //js-alert
-  'select_first' => 'Sélectionnez d\\\'abord un album',//js-alert
-  'alb_mrg' => 'Gestionnaire d\'album',
-  'my_gallery' => '* Ma galerie *',
-  'no_category' => '* Pas de catégorie *',
-  'delete' => 'Supprimer',
-  'new' => 'Nouveau',
-  'apply_modifs' => 'Appliquer les modifications',
-  'select_category' => 'Sélectionner une categorie',
-);
-
-// ------------------------------------------------------------------------- //
-// File banning.php
-// ------------------------------------------------------------------------- //
-
-if (defined('BANNING_PHP')) $lang_banning_php = array(
-  'title' => 'Bannir des utilisateurs', //cpg1.4
-  'user_name' => 'Nom d\'utilisateur', //cpg1.4
-  'ip_address' => 'Adresse IP', //cpg1.4
-  'expiry' => 'Expire (champs vide signifie que le bannissement est indéfini)', //cpg1.4
-  'edit_ban' => 'Sauvegarder les changements', //cpg1.4
-  'delete_ban' => 'Supprimer', //cpg1.4
-  'add_new' => 'Ajouter un nouveau bannissement', //cpg1.4
-  'add_ban' => 'Ajouter', //cpg1.4
-  'error_user' => 'Utilisateur introuvable', //cpg1.4
-  'error_specify' => 'Vous devez spécifier un nom d\'utilisateur ou une adresse IP', //cpg1.4
-  'error_ban_id' => 'ID invalide!', //cpg1.4
-  'error_admin_ban' => 'Vous ne pouvez pas vous bannir vous même&nbsp;!', //cpg1.4
-  'error_server_ban' => 'Vous ne pouvez pas bannir votre propre serveur...', //cpg1.4
-  'error_ip_forbidden' => 'Vous ne pouvez pas bannir cette adresse, elle est non routable&nbsp;!<br />Si vous désirez bannir une IP privée, changez la dans votre <a href="admin.php">Config</a> (uniquement si Coppermine fonctionne sur un réseau privé).', //cpg1.4
-  'lookup_ip' => 'Consulter une adresse IP', //cpg1.4
-  'submit' => 'Soumettre!', //cpg1.4
-  'select_date' => 'selectionner la date', //cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File bridgemgr.php //cpg1.4
-// ------------------------------------------------------------------------- //
-
-if (defined('BRIDGEMGR_PHP')) $lang_bridgemgr_php = array(
-  'title' => 'Assistant \&quot;Bridge\&quot;',
-'warning' => 'Attention: En utilisant cet assistant, vous devez savoir que des données sensibles sont transmises au travers de formulaires html. Lancez le uniquement depuis votre propre PC (pas depuis un accès public ou un Cybercafé), et n\'oubliez pas de vider le cache de votre navigateur ainsi que les fichiers temporaires, sinon d\'autres personnes seraient en mesure d\'accéder à vos données',
-  'back' => 'retour',
-  'next' => 'suivant',
-  'start_wizard' => 'Démarrer l\'assitant',
-  'finish' => 'Terminer',
-  'hide_unused_fields' => 'cacher les champs de fomulaires inutilisés (recommandé)',
-  'clear_unused_db_fields' => 'Effacer les entrée invalides de la base de données (recommandé)',
-  'custom_bridge_file' => 'Le nom de votre fichier bridge personnalisé (si le nom du fichier est <i>monfichier.inc.php</i>, entrez <i>monfichier</i> dans ce champs)',
-  'no_action_needed' => 'Pas d\'action à cette étape. Cliquez sur \'suivant\'pour continuer.',
-  'reset_to_default' => 'Revenir aux valeur par défaut',
-  'choose_bbs_app' => 'Choisissez une application à bridger avec Coppermine',
-  'support_url' => 'Allez ici pour de l\'aide sur cette application',
-  'settings_path' => 'Chemin(s) utilisés par votre Forum',
-  'database_connection' => 'connexion à la base de données',
-  'database_tables' => 'tables de la base de données',
-  'bbs_groups' => 'Groupes du forum',
-  'license_number' => 'Numéro de License',
-  'license_number_explanation' => 'entrez votre numéro de license (si nécessaire)',
-  'db_database_name' => 'Nom de la base de données',
-  'db_database_name_explanation' => 'Entrez le nom de la base de données utilisée par votre forum',
-  'db_hostname' => 'Hébergeur de la base de données',
-  'db_hostname_explanation' => 'nom de l\'hébergement de la base de données ,généralement &quot;localhost&quot;',
-  'db_username' => 'Nom d\'utilisateur',
-  'db_username_explanation' => 'Nom d\'utilisateur  Mysql pour la connection à la base de données utilisée par votre forum',
-  'db_password' => 'Mot de passe',
-  'db_password_explanation' => 'Mot de passe pour la base de données',
-  'full_forum_url' => 'URL du forum',
-  'full_forum_url_explanation' => 'Adresse complète de votre forum (par exemple  http://www.votresite.com/forum)',
-  'relative_path_of_forum_from_webroot' => 'Adresse relative de votre forum',
-  'relative_path_of_forum_from_webroot_explanation' => 'Adresse relative de votre forum (Exemple: si l\'adresse de votre forum est  http://www.votresite.com/forum/, entrer &quot;/forum/&quot; dans ce champ)',
-  'relative_path_to_config_file' => 'Chemin relatif à la page de configuration de votre forum',
-  'relative_path_to_config_file_explanation' => 'Chemin relatif à la page de configuration de votre forum, vu depuis le dossier ou se trouve Coppermine (Exemple &quot;../forum/&quot; si votre l\'adresse de votre forum est http://www.yourdomain.tld/forum/ et celle de Coppermine http://www.yourdomain.tld/gallery/)',
-  'cookie_prefix' => 'Préfixe du Cookie',
-  'cookie_prefix_explanation' => 'Ce doit être le nom du Cookie de votre forum',
-  'table_prefix' => 'Préfixe des tables',
-  'table_prefix_explanation' => 'Ce doit être le même que celui choisi pour les tables de votre forum.',
-  'user_table' => 'Table utilisateur',
-  'user_table_explanation' => '(Généralement le choix par défaut convient, sauf si l\'installation de votre forum n\'est pas standard)',
-  'session_table' => 'Table des Sessions',
-  'session_table_explanation' => '(Généralement le choix par défaut convient, sauf si l\'installation de votre forum n\'est pas standard)',
-  'group_table' => 'Table des Groupes',
-  'group_table_explanation' => '(Généralement le choix par défaut convient, sauf si l\'installation de votre forum n\'est pas standard)',
-  'group_relation_table' => 'Table des relations des groupes',
-  'group_relation_table_explanation' => '(Généralement le choix par défaut convient, sauf si l\'installation de votre forum n\'est pas standard)',
-  'group_mapping_table' => 'Table de correspondance des groupes',
-  'group_mapping_table_explanation' => '(Généralement le choix par défaut convient, sauf si l\'installation de votre forum n\'est pas standard)',
-  'use_standard_groups' => 'Utilisez les groupes standards du forum',
-  'use_standard_groups_explanation' => 'Utilisez les groupes standards (prédéfinis) (recommandé). Tous les réglages des groupes personnalisés seront annulés. Désactivez cette option uniquement si vous êtes vraiment sûr de ce que vous faites&nbsp;!',
-  'validating_group' => 'Groupe en attente de validation',
-  'validating_group_explanation' => 'Le numéro d\'identification (ID) du groupe où se trouvent les utilisateurs en attente de validation sur votre forum (généralement le choix par défaut convient, sauf si l\'installation de votre forum n\'est pas standard)',
-  'guest_group' => 'Groupe Invités',
-  'guest_group_explanation' => 'Le numéro d\'identification (ID) du groupe où se trouvent les invités (utilisateurs non connectés) sur votre forum (généralement le choix par défaut convient, sauf si l\'installation de votre forum n\'est pas standard)',
-  'member_group' => 'Groupe membres',
-  'member_group_explanation' => 'Le numéro d\'identification (ID) du groupe où se trouvent les simples utilisateurs sur votre forum (généralement le choix par défaut convient, sauf si l\'installation de votre forum n\'est pas standard)',
-  'admin_group' => 'Groupe Administrateurs',
-  'admin_group_explanation' => 'Le numéro d\'identification (ID) du groupe où se trouvent les administrateurs de votre forum (généralement le choix par défaut convient, sauf si l\'installation de votre forum n\'est pas standard)',
-  'banned_group' => 'Groupe Bannis',
-  'banned_group_explanation' => 'Le numéro d\'identification (ID) du groupe où se trouvent les utilisateurs bannis sur votre forum (généralement le choix par défaut convient, sauf si l\'installation de votre forum n\'est pas standard)',
-  'global_moderators_group' => 'Groupe Modérateurs Globaux',
-  'global_moderators_group_explanation' => 'Le numéro d\'identification (ID) du groupe où se trouvent les modérateurs globaux votre forum (généralement le choix par défaut convient, sauf si l\'installation de votre forum n\'est pas standard)',
-  'special_settings' => 'Paramètres spécifiques au forum',
-  'logout_flag' => 'Version de phpBB',
-  'logout_flag_explanation' => 'Quelle est votre version de phpBB (ce paramètre définit la manière de gérer la fermeture de session)',
-  'use_post_based_groups' => 'Utiliser les groupes basés sur le nombre de messages ?',
-  'logout_flag_yes' => '2.0.5 ou supérieur',
-  'logout_flag_no' => '2.0.4 ou inférieur',
-  'use_post_based_groups_explanation' => 'Faut-il tenir compte des groupes basés sur le nombre de messages (permet une gestion granulaire des permissions ) ou n\'utiliser que les groupes par défaut (rend l\'administration plus facile, recommandé). Vous pouvez modifier ces réglages plus tard.',
-  'use_post_based_groups_yes' => 'Oui',
-  'use_post_based_groups_no' => 'Non',
-  'error_title' => 'Vous devez corriger ces erreurs avant de continuer. Retournez à la page précédente.',
-  'error_specify_bbs' => 'Vous devez spécifier avec quelle application vous voulez bridger Coppermine.',
-  'error_no_blank_name' => 'Vous ne pouvez pas laisser vide le nom de votre Bridge personnalisé.',
-  'error_no_special_chars' => 'Le nom du Bridge ne doit pas comprendre de caractères spéciaux excepté le soulignement (_) et le tiret (-)!',
-  'error_bridge_file_not_exist' => 'Les fichiers du bridge %s n\existent pas sur le serveur. Vérifiez que vous les avez bien uploadés.',
-  'finalize' => 'Activer/désactiver l\'intégration avec le forum',
-  'finalize_explanation' => 'Jusqu\'à présent, vos réglages ont été inscrit dans la base de données mais l\'intégration avec le forum n\'a pas été activée. Vous pouvez activer/désactiver cette intégration quand vous le voulez. Soyez certain de vous souvenir du nom d\'utilisateur et du mot de passe de votre compte administrateur de Coppermine (non-bridgé), vous pourriez en avoir besoin plus tard pour faire des modifications. Si quelque chose ne marche pas, allez sur %s et désactivez l\'intégration au forum, en utilisant votre compte administrateur &quot;non-bridgé&quot; (habituellement, c\'est celui que vous avez défini lors de l\'installation de Coppermine).',
-  'your_bridge_settings' => 'Configuration de votre Bridge',
-  'title_enable' => 'Active l\'intégration/le bridge avec %s',
-  'bridge_enable_yes' => 'Activé',
-  'bridge_enable_no' => 'Désactivé',
-  'error_must_not_be_empty' => 'ne peut pas être vide',
-  'error_either_be' => 'doit être %s ou %s',
-  'error_folder_not_exist' => '%s n\'existe pas. Corrigez la valeur entrée pour %s',
-  'error_cookie_not_readible' => 'Coppermine ne peut pas lire le cookie nommé %s. Corrigez la valeur que vous avez entré pour %s, ou allez dans le panneau d\administration de votre forum et vérifiez que le chemin d\accès au cookie est lisible par Coppermine.',
-  'error_mandatory_field_empty' => 'Vous ne pouvez pas laisser le champ %s vide -Entrez la bonne valeur.',
-  'error_no_trailing_slash' => 'Le champ %s ne doit pas commencer par le signe \'/\'.',
-  'error_trailing_slash' => 'Le champ %s doit commencer par le signe \'/\'.',
-  'error_db_connect' => 'Connection impossible à la base de donné avec vos informations. Voici la réponse Mysql:',
-  'error_db_name' => 'Bien que Coppermine ait pu établir une connection, il n\'a pas trouvé la base de donnée %s. Vérifiez que vous avez défini %s correctement. Voici le message de mySQL:',
-  'error_prefix_and_table' => '%s et ',
-  'error_db_table' => 'Impossible de trouver la table %s. Vérifiez que la valeur de  %s est correcte.',
-  'recovery_title' => 'Gestionnaire de Bridge: récupération d\'urgence',
-  'recovery_explanation' => 'Si vous venez ici pour gérer l\'intégration de votre forum avec votre galerie Coppermine, Vous devez d\'abord vous identifier en tant qu\'administrateur. Si vous ne parvenez pas à vous identifier parce que l\'intégration de votre forum ne fonctionne pas comme prévu, vous pouvez désactiver l\'intégration avec votre forum depuis cette page. Entrer votre identifiant et votre mot de passe ne va pas vous permettre de vous identifier, celà va seulement désactiver le brige avec votre forum. Pour plus de détails, reportez vous à la documentation.',
-  'username' => 'Nom d\'utilisateur',
-  'password' => 'Mot de passe',
-  'disable_submit' => 'Soumettre',
-  'recovery_success_title' => 'Autorisation accordée',
-  'recovery_success_content' => 'Vous avez désactivé avec succès le bridge avec votre forum. Coppermine fonctionne maintenant en mode autonome.',
-  'recovery_success_advice_login' => 'S\'identifier comme administrateur pour éditer la configuration de votre bridge et/ou activer l\'intégration avec votre forum à nouveau.',
-  'goto_login' => 'Aller à la page d\'identification',
-  'goto_bridgemgr' => 'Aller au gestionnaire de bridge',
-  'recovery_failure_title' => 'Autorisation refusée',
-  'recovery_failure_content' => 'Vous avez soumis les mauvaises données. Vous devez entrer les données de votre compte administrateur pour la version autonome de Coppermine (habituellement le compte créé lors de l\'installation de Coppermine).',
-  'try_again' => 'Réessayez',
-  'recovery_wait_title' => 'Le temps d\'attente ne s\'est pas écoulé',
-  'recovery_wait_content' => 'Pour des raisons de sécurité, le script n\'autorise pas plusieurs échecs de connexion rapprochés dans le temps. Veuillez patientez avant de réessayer de vous identifier.',
-  'wait' => 'Patientez',
-  'create_redir_file' => 'Créer le dossier de redirection (recommandé)',
-  'create_redir_file_explanation' => 'Pour rediriger vos utilisateurs vers Coppermine après l\'ouverture de leur session sur le forum, il vous faut un fichier de redirection dans le répertoire où se trouve votre forum. Si cette option est choisie, le gestionnaire de bridge va essayer de créer ce fichier automatiquement. S\'il ne peut pas écrire dans ce répertoire, il vous donnera le code à copier/coller vous-même dans le fichier.',
-  'browse' => 'Parcourir',
-);
-
-// ------------------------------------------------------------------------- //
-// File calendar.php //cpg1.4
-// ------------------------------------------------------------------------- //
-
-if (defined('CALENDAR_PHP')) $lang_calendar_php = array(
-  'title' => 'Calendrier', //cpg1.4
-  'close' => 'fermer', //cpg1.4
-  'clear_date' => 'effacer la date', //cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File catmgr.php
-// ------------------------------------------------------------------------- //
-
-if (defined('CATMGR_PHP')) $lang_catmgr_php = array(
-  'miss_param' => 'Les paramètres requis pour l\'operation \'%s\' sont manquants&nbsp;!',
-  'unknown_cat' => 'La catégorie sélectionnée n\'existe pas dans la base de données',
-  'usergal_cat_ro' => 'La galerie des utilisateurs ne peut pas être supprimée!',
-  'manage_cat' => 'Gérer les catégories',
-  'confirm_delete' => 'Voulez vous vraiment SUPPRIMER cette catégorie ?',//js-alert
-  'category' => 'Catégorie',
-  'operations' => 'Opérations',
-  'move_into' => 'Déplacer dans',
-  'update_create' => 'Mettre à jour / créer la catégorie',
-  'parent_cat' => 'Catégorie parente',
-  'cat_title' => 'Titre de la catégorie',
-  'cat_thumb' => 'Vignette de la catégorie', //cpg1.3.0
-  'cat_desc' => 'Description de la catégorie',
-  'categories_alpha_sort' => 'Classement des catégories par ordre alphabétique (au lieu du classement par ajout)', //cpg1.4
-  'save_cfg' => 'Sauvegarder la configuration', //cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File admin.php //cpg1.4
-// ------------------------------------------------------------------------- //
-
-if (defined('ADMIN_PHP')) $lang_admin_php = array(
-  'title' => 'Configuration de la galerie', //cpg1.4
-  'manage_exif' => 'Administrer l\'affichage des exifs', //cpg1.4
-  'manage_plugins' => 'Administrer les plugins', //cpg1.4
-  'manage_keyword' => 'Administrer les mot-clefs', //cpg1.4
-  'restore_cfg' => 'Restaurer les paramètres d\'origine',
-  'save_cfg' => 'Sauvegarder la nouvelle configuration',
-  'notes' => 'Notes',
-  'info' => 'Information',
-  'upd_success' => 'La configuration de Coppermine a été mise à jour',
-  'restore_success' => 'La configuration d\'origine de Coppermine a été restaurée',
-  'name_a' => 'Ascendant par nom',
-  'name_d' => 'Descendantpar nom',
-  'title_a' => 'Ascendant par titre',
-  'title_d' => 'Descendant par titre',
-  'date_a' => 'Ascendant par date',
-  'date_d' => 'Descendant par date',
-  'pos_a' => 'Ascendant par ajout', //cpg1.4
-  'pos_d' => 'Descendant par ajout', //cpg1.4
-  'th_any' => 'Aspect max',
-  'th_ht' => 'Hauteur',
-  'th_wd' => 'Largeur',
-  'label' => 'Libellé', //cpg1.3.0
-  'item' => 'Liste', //cpg1.3.0
-  'debug_everyone' => 'Tout le monde', //cpg1.3.0
-  'debug_admin' => 'Administrateurs uniquement', //cpg1.3.0
-  'no_logs'=> 'Désactivé', //cpg1.4
-  'log_normal'=> 'Normal', //cpg1.4
-  'log_all' => 'Tout', //cpg1.4
-  'view_logs' => 'Voir les logs', //cpg1.4
-  'click_expand' => 'Cliquer sur un nom de section pour afficher', //cpg1.4
-  'expand_all' => 'Tout afficher', //cpg1.4
-  'notice1' => '(*) Cette configuration ne doit pas être changée si vous avez déjà des fichiers dans votre base de données.', //cpg1.4 - (relocated)
-  'notice2' => '(**) Si vous changez cette configuration, seuls les nouveaux fichiers ajoutés seront concernés, il est donc conseillé de ne pas la modifier si vous avez déjà des fichiers. Vous pouvez cependant appliquer les modifications aux fichiers existant à l\'aide des &quot;<a href="util.php">outils d\'administration</a> (redimensionner les images)&quot; depuis le menu d\'administration.', //cpg1.4 - (relocated)
-  'notice3' => '(***) Tous les logs sont écrits en anglais.', //cpg1.4 - (relocated)
-  'bbs_disabled' => 'Fonction désactivé si vous utilisez l\'intégration BB', //cpg1.4
-  'auto_resize_everyone' => 'Tous', //cpg1.4
-  'auto_resize_user' => 'Utilisateur seulement', //cpg1.4
-  'ascending' => 'ascendant', //cpg1.4
-  'descending' => 'descendant', //cpg1.4
-);
-
-if (defined('ADMIN_PHP')) $lang_admin_data = array(
-  'Paramètres généraux',
-  array('Nom de la galerie', 'gallery_name', 0, 'f=index.htm&amp;as=admin_general_name&amp;ae=admin_general_name_end'), //cpg1.4
-  array('Description de la galerie', 'gallery_description', 0, 'f=index.htm&amp;as=admin_general_description&amp;ae=admin_general_description_end'), //cpg1.4
-  array('Adresse courriel de l\'administrateur', 'gallery_admin_email', 0, 'f=index.htm&amp;as=admin_general_email&amp;ae=admin_general_email_end'), //cpg1.4
-  array('URL du répertoire de votre galerie coppermine (pas \'index.php\' ou similaire à la fin)', 'ecards_more_pic_target', 0, 'f=index.htm&amp;as=admin_general_coppermine-url&amp;ae=admin_general_coppermine-url_end'), //cpg1.4
-  array('URL de votre page d\'accueil', 'home_target', 0, 'f=index.htm&amp;as=admin_general_home-url&amp;ae=admin_general_home-url_end'), //cpg1.4
-  array('Autoriser le téléchargement ZIP des photos dans les Favoris', 'enable_zipdownload', 1, 'f=index.htm&amp;as=admin_general_zip-download&amp;ae=admin_general_zip-download_end'), //cpg1.4
-  array('Différence d\'heure par rapport au GMT (il est actuellement: ' . localised_date(-1, $comment_date_fmt) . ')','time_offset',0, 'f=index.htm&amp;as=admin_general_time-offset&amp;ae=admin_general_time-offset_end&amp;top=1'), //cpg1.4
-  array('Activer les mots de passe cryptés (ne peut pas être supprimé)','enable_encrypted_passwords',1, 'f=index.htm&amp;as=admin_general_encrypt_password_start&amp;ae=admin_general_encrypt_password_end&amp;top=1'), // cpg 1.4
-  array('Activer les icônes d\'aide (Aide en anglais uniquement)','enable_help',9, 'f=index.htm&amp;as=admin_general_help&amp;ae=admin_general_help_end'), //cpg1.4
-  array('Activer les mots cliquables lors d\'une recherche','clickable_keyword_search',14, 'f=index.htm&amp;as=admin_general_keywords_start&amp;ae=admin_general_keywords_end'), //cpg1.4
-  array('Activer les plugins', 'enable_plugins', 12, 'f=index.htm&amp;as=admin_general_enable-plugins&amp;ae=admin_general_enable-plugins_end'),  //cpg1.4
-  array('Autoriser le bannissement d\'adresse IP non routable (privé)', 'ban_private_ip', 1,  'f=index.htm&amp;as=admin_general_private-ip&amp;ae=admin_general_private-ip_end'), //cpg1.4
-  array('Interface de téléchargement par lot', 'browse_batch_add', 1, 'f=index.htm&amp;as=admin_general_browsable_batch_add&amp;ae=admin_general_browsable_batch_add_end'), //cpg1.4
-
-  'Langue &amp; jeux de caractères',
-  array('Langue', 'lang', 5, 'f=index.htm&amp;as=admin_language_language&amp;ae=admin_language_language_end'), //cpg1.4
-  array('Remplacer les expressions non trouvées par l\'anglais ?', 'language_fallback', 1, 'f=index.htm&amp;as=admin_language_fallback&amp;ae=admin_language_fallback_end'), //cpg1.4
-  array('Jeu de caractères', 'charset', 4, 'f=index.htm&amp;as=admin_language_charset&amp;ae=admin_language_charset_end'), //cpg1.4
-  array('Afficher la liste des langues', 'language_list', 1, 'f=index.htm&amp;as=admin_language_list&amp;ae=admin_language_list_end'), //cpg1.4
-  array('Afficher les drapeaux des langues', 'language_flags', 8, 'f=index.htm&amp;as=admin_language_flags&amp;ae=admin_language_flags_end&amp;top=1'), //cpg1.4
-  array('Afficher &quot;reset&quot; dans la sélection des langues', 'language_reset', 1, 'f=index.htm&amp;as=admin_language_reset&amp;ae=admin_language_reset_end&amp;top=1'), //cpg1.4
-  //array('Afficher précédente/suivante sur les pages', 'previous_next_tab', 1), //cpg1.4
-
-  'Paramètres des thèmes',
-  array('Thème', 'theme', 6, 'f=index.htm&amp;as=admin_theme_theme&amp;ae=admin_theme_theme_end'), //cpg1.4
-  array('Afficher la liste des thèmes', 'theme_list', 1, 'f=index.htm&amp;as=admin_theme_theme_list&amp;ae=admin_theme_theme_list_end'), //cpg1.4
-  array('Afficher &quot;reset&quot; dans la sélection des thèmes', 'theme_reset', 1, 'f=index.htm&amp;as=admin_theme_theme_reset&amp;ae=admin_theme_theme_reset_end'), //cpg1.4
-  array('Afficher la FAQ', 'display_faq', 1, 'f=index.htm&amp;as=admin_theme_faq&amp;ae=admin_theme_faq_end'), //cpg1.4
-  array('Nom du lien du menu personnalisé', 'custom_lnk_name', 0,'f=index.htm&amp;as=admin_theme_custom_lnk_name&amp;ae=admin_theme_custom_lnk_name_end'), //cpg1.4
-  array('URL du menu personnalisé', 'custom_lnk_url', 0,'f=index.htm&amp;as=admin_language_custom_lnk_url&amp;ae=admin_language_custom_lnk_url_end'), //cpg1.4
-  array('Afficher l\'aide pour le bbcode', 'show_bbcode_help', 1, 'f=index.htm&amp;as=admin_theme_bbcode&amp;ae=admin_theme_bbcode_end&amp;top=1'), //cpg1.4
-  array('Afficher les boutons indiquant le respect des standards XHTML et CSS pour les thèmes conformes','vanity_block',1, 'f=index.htm&amp;as=vanity_block&amp;ae=vanity_block_end'), //cpg1.4
-  array('Chemin pour inclure un en-tête de page personnalisé', 'custom_header_path', 0, 'f=index.htm&amp;as=admin_theme_include_path_start&amp;ae=admin_theme_include_path_end'), //cpg1.4
-  array('Chemin pour inclure un pied de page personnalisé', 'custom_footer_path', 0, 'f=index.htm&amp;as=admin_theme_include_path_start&amp;ae=admin_theme_include_path_end'), //cpg1.4
-
-  'Affichage de la liste des albums',
-  array('Largeur du tableau principal (pixels ou %)', 'main_table_width', 0, 'f=index.htm&amp;as=admin_album_table-width&amp;ae=admin_album_table-width_end'), //cpg1.4
-  array('Nombre de niveaux de catégories à afficher', 'subcat_level', 0, 'f=index.htm&amp;as=admin_album_category-levels&amp;ae=admin_album_category-levels_end'), //cpg1.4
-  array('Nombre d\'albums à afficher', 'albums_per_page', 0, 'f=index.htm&amp;as=admin_album_number&amp;ae=admin_album_number_end'), //cpg1.4
-  array('Nombre de colonnes pour la liste des albums', 'album_list_cols', 0, 'f=index.htm&amp;as=admin_album_columns&amp;ae=admin_album_columns_end'), //cpg1.4
-  array('Taille des vignettes en pixels', 'alb_list_thumb_size', 0, 'f=index.htm&amp;as=admin_album_thumbnail-size&amp;ae=admin_album_thumbnail-size_end'), //cpg1.4
-  array('Le contenu de la page principale', 'main_page_layout', 0, 'f=index.htm&amp;as=admin_album_list_content&amp;ae=admin_album_list_content_end'), //cpg1.4
-  array('Afficher les vignettes de l\'album du premier niveau avec la catégorie','first_level',1, 'f=index.htm&amp;as=admin_album_first-level_thumbs&amp;ae=admin_album_first-level_thumbs_end'), //cpg1.4
-  array('Classer les catégories par ordre alphabétique (au lieu du classement par ajout)','categories_alpha_sort',1, 'f=index.htm&amp;as=admin_album_list_alphasort_start&amp;ae=admin_album_list_alphasort_end'), //cpg1.4
-  array('Afficher le nombre de fichiers liés','link_pic_count',1, 'f=index.htm&amp;as=admin_album_linked_files_start&amp;ae=admin_album_linked_files_end'), //cpg1.4
-
-  'Affichage des vignettes',
-  array('Nombre de colonnes sur la page des vignettes', 'thumbcols', 0, 'f=index.htm&amp;as=admin_thumbnail_columns&amp;ae=admin_thumbnail_columns_end'), //cpg1.4
-  array('Nombre de lignes sur la page des vignettes', 'thumbrows', 0, 'f=index.htm&amp;as=admin_thumbnail_rows&amp;ae=admin_thumbnail_rows_end'), //cpg1.4
-  array('Nombre maximal d\'onglets à afficher', 'max_tabs', 10, 'f=index.htm&amp;as=admin_thumbnail_tabs&amp;ae=admin_thumbnail_tabs_end'), //cpg1.4
-  array('Afficher la légende de l\'image (en plus de son titre) sous la vignette', 'caption_in_thumbview', 1, 'f=index.htm&amp;as=admin_thumbnail_display_caption&amp;ae=admin_thumbnail_display_caption_end'), //cpg1.4
-  array('Afficher le nombre de vues sous la vignette', 'views_in_thumbview', 1, 'f=index.htm&amp;as=admin_thumbnail_display_views&amp;ae=admin_thumbnail_display_views_end'), //cpg1.4
-  array('Afficher le nombre de commentaires sous les vignettes', 'display_comment_count', 1, 'f=index.htm&amp;as=admin_thumbnail_display_comments&amp;ae=admin_thumbnail_display_comments_end'), //cpg1.4
-  array('Afficher le nom de l\'utilisateur sous la vignette', 'display_uploader', 1, 'f=index.htm&amp;as=admin_thumbnail_display_uploader&amp;ae=admin_thumbnail_display_uploader_end'), //cpg1.4
-  //array('Display name of admin uploaders below the thumbnail', 'display_admin_uploader', 1, 'f=index.htm&amp;as=admin_thumbnail_display_admin_uploader&amp;ae=admin_thumbnail_display_admin_uploader_end'), //cpg1.4
-  array('Afficher le nom du fichier sous la vignette', 'display_filename', 1, 'f=index.htm&amp;as=admin_thumbnail_display_filename&amp;ae=admin_thumbnail_display_filename_end'), //cpg1.4
-  //array('Afficher la description des albums', 'alb_desc_thumb', 1, 'f=index.htm&amp;as=admin_thumbnail_display_description&amp;ae=admin_thumbnail_display_description_end'), //cpg1.4
-  array('Classement par défaut des fichiers', 'default_sort_order', 3, 'f=index.htm&amp;as=admin_thumbnail_default_sortorder&amp;ae=admin_thumbnail_default_sortorder_end'), //cpg1.4
-  array('Nombre minimun de vote pour apparaître dans la liste \'les mieux notés\'', 'min_votes_for_rating', 0, 'f=index.htm&amp;as=admin_thumbnail_minimum_votes&amp;ae=admin_thumbnail_minimum_votes_end'), //cpg1.4
-
-  'Vue des images', //cpg1.4
-  array('Largeur de la table pour l\'affichage des fichiers (pixels ou %)', 'picture_table_width', 0, 'f=index.htm&amp;as=admin_image_comment_table-width&amp;ae=admin_image_comment_table-width_end'), //cpg1.4
-  array('Information des fichiers visible par défaut', 'display_pic_info', 1, 'f=index.htm&amp;as=admin_image_comment_info_visible&amp;ae=admin_image_comment_info_visible_end'), //cpg1.4
-  array('Nombre maximun de caractères pour la description des fichiers', 'max_img_desc_length', 0, 'f=index.htm&amp;as=admin_image_comment_descr_length&amp;ae=admin_image_comment_descr_length_end'), //cpg1.4
-  array('Nombre maximun de caractères dans un mot', 'max_com_wlength', 0, 'f=index.htm&amp;as=admin_image_comment_chars_per_word&amp;ae=admin_image_comment_chars_per_word_end'), //cpg1.4
-  array('Afficher le négatif', 'display_film_strip', 1, 'f=index.htm&amp;as=admin_image_comment_filmstrip_toggle&amp;ae=admin_image_comment_filmstrip_toggle_end'), //cpg1.4
-  array('Afficher le nom du fichier en dessous du négatif', 'display_film_strip_filename', 1, 'f=index.htm&amp;as=admin_image_comment_display_film_strip_filename&amp;ae=admin_image_comment_display_film_strip_filename_end'), //cpg1.4
-  array('Nombre de vignettes dans le négatif', 'max_film_strip_items', 0, 'f=index.htm&amp;as=admin_image_comment_filmstrip_number&amp;ae=admin_image_comment_filmstrip_number_end'), //cpg1.4
-  array('Intervale du diaporama en millisecondes (1 seconde = 1000 millisecondes)', 'slideshow_interval', 0, 'f=index.htm&amp;as=admin_image_comment_slideshow_interval&amp;ae=admin_image_comment_slideshow_interval_end'), //cpg1.4
-
-  'Paramètres des commentaires', //cpg1.4
-  array('Filtrer les mots interdits dans les commentaires', 'filter_bad_words', 1, 'f=index.htm&amp;as=admin_image_comment_bad_words&amp;ae=admin_image_comment_bad_words_end'), //cpg1.4
-  array('Autoriser les smileys dans les commentaires', 'enable_smilies', 1, 'f=index.htm&amp;as=admin_image_comment_smilies&amp;ae=admin_image_comment_smilies_end'), //cpg1.4
-  array('Autoriser plusieurs commentaires consécutifs pour une images par un même utilisateur (désactive la protection anti-flood)', 'disable_comment_flood_protect', 1, 'f=index.htm&amp;as=admin_image_comment_flood&amp;ae=admin_image_comment_flood_end'), //cpg1.4
-  array('Nombre maximun de lignes dans un commentaire', 'max_com_lines', 0, 'f=index.htm&amp;as=admin_image_comment_lines&amp;ae=admin_image_comment_lines_end'), //cpg1.4
-  array('Longueur maximum d\'un commentaire', 'max_com_size', 0, 'f=index.htm&amp;as=admin_image_comment_length&amp;ae=admin_image_comment_length_end'), //cpg1.4
-  array('Informer l\'administrateur de nouveaux commentaires par courriel', 'email_comment_notification', 1, 'f=index.htm&amp;as=admin_image_comment_admin_notify&amp;ae=admin_image_comment_admin_notify_end'), //cpg1.4
-  array('Ordre de tri des commentaires', 'comments_sort_descending', 17, 'f=index.htm&amp;as=admin_comment_sort_start&amp;ae=admin_comment_sort_end'), //cpg1.4
-  array('Préfixe pour les commentaires d\'utilisateurs anonymes', 'comments_anon_pfx', 0, 'f=index.htm&amp;as=comments_anon_pfx&amp;ae=comments_anon_pfx_end'), //cpg1.4
-
-  'Paramètres des images et vignettes',
-  array('Qualité pour les fichiers JPG', 'jpeg_qual', 0, 'f=index.htm&amp;as=admin_picture_thumbnail_jpeg_quality&amp;ae=admin_picture_thumbnail_jpeg_quality_end'), //cpg1.4
-  array('Dimension maximale pour les vignettes <a href="#notice2" class="clickable_option">**</a>', 'thumb_width', 0, 'f=index.htm&amp;as=admin_picture_thumbnail_max-dimension&amp;ae=admin_picture_thumbnail_max-dimension_end'), //cpg1.4
-  array('Utiliser la dimension (largeur ou hauteur ou aspect max pour la vignette) <a href="#notice2" class="clickable_option">**</a>', 'thumb_use', 7, 'f=index.htm&amp;as=admin_picture_thumbnail_use-dimension&amp;ae=admin_picture_thumbnail_use-dimension_end'), //cpg1.4
-  array('Créer des images intermédiaires','make_intermediate',1, 'f=index.htm&amp;as=admin_picture_thumbnail_intermediate_toggle&amp;ae=admin_picture_thumbnail_intermediate_toggle_end'), //cpg1.4
-  array('Largeur ou hauteur maximale pour une image/vidéo intermédiaire <a href="#notice2" class="clickable_option">**</a>', 'picture_width', 0, 'f=index.htm&amp;as=admin_picture_thumbnail_intermediate_dimension&amp;ae=admin_picture_thumbnail_intermediate_dimension_end'), //cpg1.4
-  array('Poids maximal des images à uploader (Ko)', 'max_upl_size', 0, 'f=index.htm&amp;as=admin_picture_thumbnail_max_upload_size&amp;ae=admin_picture_thumbnail_max_upload_size_end'), //cpg1.4
-  array('Longueur ou hauteur maximale pour les images/vidéos uploadées (en pixels)', 'max_upl_width_height', 0, 'f=index.htm&amp;as=admin_picture_thumbnail_max_upload_dimension&amp;ae=admin_picture_thumbnail_max_upload_dimension_end'), //cpg1.4
-  array('Redimentionner automatiquement les images qui dépassent la hauteur et/ou la largeur maximale', 'auto_resize', 16, 'f=index.htm&amp;as=admin_picture_thumbnail_auto-resize&amp;ae=admin_picture_thumbnail_auto-resize_end'), //cpg1.4
-
-  'Paramètres avancés des images et vignettes',
-  array('Les albums peuvent être privés (Note: si vous commutez de \'Oui\' à \'Non\' les albums privés actuels deviendront publics)', 'allow_private_albums', 1, 'f=index.htm&amp;as=admin_picture_thumb_advanced_private_toggle&amp;ae=admin_picture_thumb_advanced_private_toggle_end'), //cpg1.4
-  array('Montrer les vignettes des albums privés aux utilisateurs anonymes','show_private',1, 'f=index.htm&amp;as=admin_picture_thumb_advanced_private_icon_show&amp;ae=admin_picture_thumb_advanced_private_icon_show_end'), //cpg1.4
-  array('Caractères interdits dans les noms de fichiers', 'forbiden_fname_char',0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_filename_forbidden_chars&amp;ae=admin_picture_thumb_advanced_filename_forbidden_chars_end'), //cpg1.4
-  //array('Extensions de fichiers acceptées pour l\'upload de fichiers', 'allowed_file_extensions',0, 'f=index.htm&amp;as=&amp;ae=_end'), //cpg1.4
-  array('Types d\'images autorisés', 'allowed_img_types',0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_pic_extensions&amp;ae=admin_picture_thumb_advanced_pic_extensions_end'), //cpg1.4
-  array('Types de vidéos autorisés', 'allowed_mov_types',0, 'f=index.htm&amp;as=admin_thumbs_advanced_movie&amp;ae=admin_thumbs_advanced_movie_end'), //cpg1.4
-  array('Démarrage automatique des vidéos', 'media_autostart',1, 'f=index.htm&amp;as=admin_movie_autoplay&amp;ae=admin_movie_autoplay_end'), //cpg1.4
-  array('Types de fichiers sons autorisés', 'allowed_snd_types',0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_audio_extensions&amp;ae=admin_picture_thumb_advanced_audio_extensions_end'), //cpg1.4
-  array('Types de fichiers textes autorisés', 'allowed_doc_types',0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_doc_extensions&amp;ae=admin_picture_thumb_advanced_doc_extensions_end'), //cpg1.4
-  array('Méthode de redimensionnement des images','thumb_method',2, 'f=index.htm&amp;as=admin_picture_thumb_advanced_resize_method&amp;ae=admin_picture_thumb_advanced_resize_method_end'), //cpg1.4
-  array('Chemin vers l\'utilitaire \'convert\' d\'ImageMagick (exemple /usr/bin/X11/)', 'impath', 0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_im_path&amp;ae=admin_picture_thumb_advanced_im_path_end'), //cpg1.4
-  //array('Types d\'images autorisés (seulement pour ImageMagick)', 'allowed_img_types',0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_allowed_imagetypes&amp;ae=admin_picture_thumb_advanced_allowed_imagetypes_end'), //cpg1.4
-  array('Options de ligne de commande pour ImageMagick', 'im_options', 0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_im_commandline&amp;ae=admin_picture_thumb_advanced_im_commandline_end'), //cpg1.4
-  array('Lire les informations EXIF dans les fichiers JPEG', 'read_exif_data', 13, 'f=index.htm&amp;as=admin_picture_thumb_advanced_exif&amp;ae=admin_picture_thumb_advanced_exif_end'), //cpg1.4
-  array('Lire les informations IPTC dans les fichiers JPEG', 'read_iptc_data', 1, 'f=index.htm&amp;as=admin_picture_thumb_advanced_iptc&amp;ae=admin_picture_thumb_advanced_iptc_end'), //cpg1.4
-  array('Répertoire des albums <a href="#notice1" class="clickable_option">*</a>', 'fullpath', 0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_albums_dir&amp;ae=admin_picture_thumb_advanced_albums_dir_end'), //cpg1.4
-  array('Répertoire pour les fichiers des utilisateurs <a href="#notice1" class="clickable_option">*</a>', 'userpics', 0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_userpics_dir&amp;ae=admin_picture_thumb_advanced_userpics_dir_end'), //cpg1.4
-  array('Préfixe pour les images intermédiaires <a href="#notice1" class="clickable_option">*</a>', 'normal_pfx', 0), //cpg1.3.0
-  array('Préfixe pour les vignettes <a href="#notice1" class="clickable_option">*</a>', 'thumb_pfx', 0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_thumbs_prefix&amp;ae=admin_picture_thumb_advanced_thumbs_prefix_end'), //cpg1.4
-  array('Mode par défaut des répertoires', 'default_dir_mode', 0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_chmod_folder&amp;ae=admin_picture_thumb_advanced_chmod_folder_end'), //cpg1.4
-  array('Mode par défaut des fichiers', 'default_file_mode', 0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_chmod_files&amp;ae=admin_picture_thumb_advanced_chmod_files_end'), //cpg1.4
-
-  'Paramètres Utilisateurs',
-  array('Autoriser de nouvelles inscriptions', 'allow_user_registration', 1, 'f=index.htm&amp;as=admin_allow_registration&amp;ae=admin_allow_registration_end'), //cpg1.4
-  array('Autoriser l\'accès aux visiteurs non authentifiés (visiteur ou anonyme)', 'allow_unlogged_access', 1, 'f=index.htm&amp;as=admin_allow_unlogged_access&amp;ae=admin_allow_unlogged_access_end'), //cpg1.4
-  array('L\'inscription d\'un nouvel utilisateur doit être validée', 'reg_requires_valid_email', 1, 'f=index.htm&amp;as=admin_registration_verify&amp;ae=admin_registration_verify_end'), //cpg1.4
-  array('Notifier l\'administrateur des nouvelles inscriptions par courriel', 'reg_notify_admin_email', 1, 'f=index.htm&amp;as=admin_registration_notify&amp;ae=admin_registration_notify_end'), //cpg1.4
-  array('L\'administrateur doit activer les enregistrements', 'admin_activation', 1, 'f=index.htm&amp;as=admin_activation&amp;ae=admin_activation_end'),  //cpg1.4
-  array('Autoriser deux utilisateurs à avoir la même adresse courriel', 'allow_duplicate_emails_addr', 1, 'f=index.htm&amp;as=admin_allow_duplicate_emails_addr&amp;ae=admin_allow_duplicate_emails_addr_end'), //cpg1.4
-  array('Notifier l\'administrateur lorsque des uploads nécessitent son approbation', 'upl_notify_admin_email', 1, 'f=index.htm&amp;as=admin_approval_notify&amp;ae=admin_approval_notify_end'), //cpg1.4
-  array('Autoriser les utilisateurs authentifiés à visualiser la liste des membres', 'allow_memberlist', 1, 'f=index.htm&amp;as=admin_user_memberlist&amp;ae=admin_user_memberlist_end'), //cpg1.4
-  array('Autoriser les utilisateurs à changer leur adresse courriel dans leur profil', 'allow_email_change', 1, 'f=index.htm&amp;as=admin_user_allow_email_change&amp;ae=admin_user_allow_email_change_end'), //cpg1.4
-  array('Autoriser les utilisateurs à garder le controle de leurs images dans les galeries publiques', 'users_can_edit_pics', 1, 'f=index.htm&amp;as=admin_user_editpics_public_start&amp;ae=admin_user_editpics_public_end'), //cpg1.4
-  array('Nombre d\'échec d\'authentification avant bannissement temporaire (pour parer à une attaque brutale)', 'login_threshold', 0, 'f=index.htm&amp;as=admin_user_login_start&amp;ae=admin_user_login_end'), //cpg1.4
-  array('Durée du bannissement temporaire après un échec d\'authentification', 'login_expiry', 0, 'f=index.htm&amp;as=admin_user_login_start&amp;ae=admin_user_login_end'), //cpg1.4
-  array('Activer les rapports à l\'administrateur', 'report_post', 1, 'f=index.htm&amp;as=admin_user_enable_report&amp;ae=admin_user_enable_report_end'),  //cpg1.4
-
-// custom profile fields,  //cpg1.4
-  'Champs personnalisés pour le profil utilisateur (laisser vide si inutilisés).
-  Utilisez le profil 6 pour les longs textes, comme les biographies', //cpg1.4
-  array('Nom du profil 1', 'user_profile1_name', 0, 'f=index.htm&amp;as=admin_custom&amp;ae=admin_custom_end'), //cpg1.4
-  array('Nom du profil 2', 'user_profile2_name', 0), //cpg1.4
-  array('Nom du profil 3', 'user_profile3_name', 0), //cpg1.4
-  array('Nom du profil 4', 'user_profile4_name', 0), //cpg1.4
-  array('Nom du profil 5', 'user_profile5_name', 0), //cpg1.4
-  array('Nom du profil 6', 'user_profile6_name', 0), //cpg1.4
-
-  'Champs personnalisés pour les descriptions d\'images  (laisser vide si inutilisés)',
-  array('Nom du champ 1', 'user_field1_name', 0, 'f=index.htm&amp;as=admin_custom_image&amp;ae=admin_custom_image_end'), //cpg1.4
-  array('Nom du champ 2', 'user_field2_name', 0),
-  array('Nom du champ 3', 'user_field3_name', 0),
-  array('Nom du champ 4', 'user_field4_name', 0),
-
-  'Paramètres des Cookies',
-  array('Nom du cookie utilisé par le script (si vous utilisez l\'intégration avec un forum, vérifiez que les cookies sont différents)', 'cookie_name', 0, 'f=index.htm&amp;as=admin_cookie_name&amp;ae=admin_cookie_name_end'), //cpg1.4
-  array('Chemin du cookie utilisé par le script', 'cookie_path', 0, 'f=index.htm&amp;as=admin_cookie_path&amp;ae=admin_cookie_path_end'), //cpg1.4
-
-  'Paramètres Pour les Courriels  (Généralement rien n\'est à modifier ici; laissez les champs vides si vous n\'êtes pas sur', //cpg1.4
-  array('Serveur SMTP (si le champ est vide, sendmail sera utilisé)', 'smtp_host', 0, 'f=index.htm&amp;as=admin_email&amp;ae=admin_email_end'), //cpg1.4
-  array('Nom utilisateur SMTP', 'smtp_username', 0), //cpg1.4
-  array('Mot de passe SMTP', 'smtp_password', 0), //cpg1.4
-
-  'Logs et statistiques', //cpg1.4
-  array('Mode d\'enregistrement <a href="#notice3" class="clickable_option">***</a>', 'log_mode', 11, 'f=index.htm&amp;as=admin_logging_log_mode&amp;ae=admin_logging_log_mode_end'), //cpg1.4
-  array('Enregistrer les envois de cartes électroniques', 'log_ecards', 1, 'f=index.htm&amp;as=admin_general_log_ecards&amp;ae=admin_general_log_ecards_end'), //cpg1.4
-  array('Enregistrer le détails des statistiques de vote','vote_details',1, 'f=index.htm&amp;as=admin_logging_votedetails&amp;ae=admin_logging_votedetails_end'), //cpg1.4
-  array('Enregistrer le détail des statistiques de hit','hit_details',1, 'f=index.htm&amp;as=admin_logging_hitdetails&amp;ae=admin_logging_hitdetails_end'), //cpg1.4
-
-  'Paramètres de la maintenance', //cpg1.4
-  array('Activer le mode débogage', 'debug_mode', 9, 'f=index.htm&amp;as=debug_mode&amp;ae=debug_mode_end'), //cpg1.4
-  array('Afficher les avertissements dans le mode débogage', 'debug_notice', 1, 'f=index.htm&amp;as=admin_misc_debug_notices&amp;ae=admin_misc_debug_notices_end'), //cpg1.4
-  array('La galerie est hors ligne', 'offline', 1, 'f=index.htm&amp;as=admin_general_offline&amp;ae=admin_general_offline_end'), //cpg1.4
-);
-
-
-// ------------------------------------------------------------------------- //
-// File db_ecard.php
-// ------------------------------------------------------------------------- //
-
-if (defined('DB_ECARD_PHP')) $lang_db_ecard_php = array(
-  'title' => 'Cartes envoyées', //cpg1.3.0
-  'ecard_sender' => 'Expéditeur', //cpg1.3.0
-  'ecard_recipient' => 'Destinataire', //cpg1.3.0
-  'ecard_date' => 'Date', //cpg1.3.0
-  'ecard_display' => 'Afficher les cartes', //cpg1.3.0
-  'ecard_name' => 'Nom', //cpg1.3.0
-  'ecard_email' => 'Courriel', //cpg1.3.0
-  'ecard_ip' => 'IP #', //cpg1.3.0
-  'ecard_ascending' => 'ascendant', //cpg1.3.0
-  'ecard_descending' => 'descendant', //cpg1.3.0
-  'ecard_sorted' => 'triées', //cpg1.3.0
-  'ecard_by_date' => 'par date', //cpg1.3.0
-  'ecard_by_sender_name' => 'par nom d\'expéditeur', //cpg1.3.0
-  'ecard_by_sender_email' => 'par adresse d\'expéditeur', //cpg1.3.0
-  'ecard_by_sender_ip' => 'par adresse IP d\'expéditeur', //cpg1.3.0
-  'ecard_by_recipient_name' => 'par nom de destinataire', //cpg1.3.0
-  'ecard_by_recipient_email' => 'par adresse de destinataire', //cpg1.3.0
-  'ecard_number' => 'Affichage des enregistrements %s à %s parmi %s', //cpg1.3.0
-  'ecard_goto_page' => 'Aller à la page', //cpg1.3.0
-  'ecard_records_per_page' => 'enregistrements par page', //cpg1.3.0
-  'check_all' => 'Tout cocher', //cpg1.3.0
-  'uncheck_all' => 'Tout décocher', //cpg1.3.0
-  'ecards_delete_selected' => 'Supprimer les cartes sélectionnées', //cpg1.3.0
-  'ecards_delete_confirm' => 'Etes-vous certain de vouloir supprimer ces enregistrements ? Merci de cocher la case&nbsp;!', //cpg1.3.0
-  'ecards_delete_sure' => 'Je suis certain', //cpg1.3.0
-);
-
-
-// ------------------------------------------------------------------------- //
-// File db_input.php
-// ------------------------------------------------------------------------- //
-
-if (defined('DB_INPUT_PHP')) $lang_db_input_php = array(
-  'empty_name_or_com' => 'Vous devez taper votre nom et un commentaire',
-  'com_added' => 'Votre commentaire a été ajouté',
-  'alb_need_title' => 'Vous devez donner un titre à l\'album&nbsp;!',
-  'no_udp_needed' => 'Aucune mise à jour n\'est nécessaire.',
-  'alb_updated' => 'L\'album a été mis à jour',
-  'unknown_album' => 'L\'album sélectionné n\'existe pas ou bien vous n\'avez pas la permission d\'uploader dans cet album',
-  'no_pic_uploaded' => 'Aucune image n\'a été uploadée&nbsp;!<br /><br />Si vous avez vraiment sélectionné une image à uploader, vérifiez que le serveur autorise l\'upload de fichiers...',
-  'err_mkdir' => 'Impossible de créer le répertoire %s&nbsp;!',
-  'dest_dir_ro' => 'Le répertoire de destination (%s) ne dispose pas des droits d\'écriture nécessaires pour le script!',
-  'err_move' => 'Impossible de déplacer %s vers %s&nbsp;!',
-  'err_fsize_too_large' => 'La taille de l\'image que vous avez uploadé est trop grande (le maximum autorisé est de %s x %s)&nbsp;!',
-  'err_imgsize_too_large' => 'Le poids du fichier que vous avez uploadé est trop important (le maximum autorisé est de %s Ko)&nbsp;!',
-  'err_invalid_img' => 'Le fichier que vous avez uploadé n\'est pas une image valide!',
-  'allowed_img_types' => 'Vous ne pouvez uploader que %s images.',
-  'err_insert_pic' => 'Les images \'%s\' ne peuvent pas être insérées dans l\'album ',
-  'upload_success' => 'Votre image a été correctement uploadée<br /><br />Elle sera visible après validation de l\'administrateur.',
-  'notify_admin_email_subject' => '%s - Notification d\'upload', //cpg1.3.0
-  'notify_admin_email_body' => 'Une image a été uploadée par %s. Cela nécessite votre approbation. Connectez-vous à %s', //cpg1.3.0
-  'info' => 'Information',
-  'com_added' => 'Commentaire ajouté',
-  'alb_updated' => 'Album mis à jour',
-  'err_comment_empty' => 'Votre commentaire est vide!',
-  'err_invalid_fext' => 'Seuls les fichiers avec les extensions suivantes sont autorisés : <br /><br />%s.',
-  'no_flood' => 'Nous sommes désolés, mais vous êtes déjà l\'auteur du dernier commentaire posté au sujet de cette image.<br /><br />Vous pouvez tout simplement éditer votre message précédent si vous souhaitez le modifier ou bien ajouter des informations.',
-  'redirect_msg' => 'Redirection en cours.<br /><br /><br />Cliquez sur \'CONTINUER\' si la page ne se recharge pas automatiquement',
-  'upl_success' => 'Votre image a été correctement ajoutée',
-  'email_comment_subject' => 'Commentaire posté sur Coppermine Photo Gallery', //cpg1.3.0
-  'email_comment_body' => 'Quelqu\'un a posté un commentaire dans votre galerie. Voyez-le à', //cpg1.3.0
-  'album_not_selected' => 'Album non sélectionné', //cpg1.4
-  'com_author_error' => 'Un utilisateur enregistré utilise déjà ce pseudonyme, connectez-vous ou utilisez en un autre', //cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File delete.php
-// ------------------------------------------------------------------------- //
-
-if (defined('DELETE_PHP')) $lang_delete_php = array(
-  'caption' => 'Légende',
-  'fs_pic' => 'image en taille réelle',
-  'del_success' => 'suppression réussie',
-  'ns_pic' => 'image en taille normale',
-  'err_del' => 'ne peut pas être supprimé',
-  'thumb_pic' => 'vignette',
-  'comment' => 'commentaire',
-  'im_in_alb' => 'image dans l\'album',
-  'alb_del_success' => 'Album \'%s\' supprimé',
-  'alb_mgr' => 'Gestionnaire d\'album',
-  'err_invalid_data' => 'Données non valides reçues dans \'%s\'',
-  'create_alb' => 'Création de l\'album \'%s\'',
-  'update_alb' => 'Mise à jour de l\'album \'%s\' avec le titre \'%s\' et index \'%s\'',
-  'del_pic' => 'Supprimer l\'image',
-  'del_alb' => 'Supprimer l\'album',
-  'del_user' => 'Supprimer l\'utilisateur',
-  'err_unknown_user' => 'L\'utilisateur sélectionné n\'existe pas&nbsp;!',
-  'err_empty_groups' => 'Il n\'y a pas de table pour ce groupe ou elle est vide&nbsp;!', //cpg1.4
-  'comment_deleted' => 'Le commentaire a été supprimé avec succès',
-  'npic' => 'Image', //cpg1.4
-  'pic_mgr' => 'Gestion des images', //cpg1.4
-  'update_pic' => 'Mise à jour de l\'image \'%s\' avec le nom de fichier \'%s\' et l\'index \'%s\'', //cpg1.4
-  'username' => 'Nom d\'utilisateur', //cpg1.4
-  'anonymized_comments' => '%s commentaire(s) anonyme(s)', //cpg1.4
-  'anonymized_uploads' => '%s upload(s) public(s) anonyme(s)', //cpg1.4
-  'deleted_comments' => '%s commentaire(s) supprimé(s)', //cpg1.4
-  'deleted_uploads' => '%s upload(s) public(s) supprimé(s)', //cpg1.4
-  'user_deleted' => 'utilisateur %s supprimé', //cpg1.4
-  'activate_user' => 'Activer l\'utilisateur', //cpg1.4
-  'user_already_active' => 'Le compte est déjà activé', //cpg1.4
-  'activated' => 'Activé', //cpg1.4
-  'deactivate_user' => 'Désactiver l\'utilisateur', //cpg1.4
-  'user_already_inactive' => 'Le compte est déjà désactivé', //cpg1.4
-  'deactivated' => 'Désactivé', //cpg1.4
-  'reset_password' => 'Changer le mot de passe', //cpg1.4
-  'password_reset' => 'Mot de passe changé pour %s', //cpg1.4
-  'change_group' => 'Changer de groupe principal', //cpg1.4
-  'change_group_to_group' => 'Changer de %s à %s', //cpg1.4
-  'add_group' => 'Ajouter un groupe secondaire', //cpg1.4
-  'add_group_to_group' => 'Ajouter l\'utilisateur %s au groupe %s. Il est maintenant membre de %s comme groupe primaire et de %s comme groupe secondaire.', //cpg1.4
-  'status' => 'Status', //cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File displayecard.php
-// ------------------------------------------------------------------------- //
-
-if (defined('DISPLAYECARD_PHP')) {
-
-$lang_displayecard_php = array(
-  'invalid_data' => 'Le données de la carte électronique que vous essayez d\'envoyer ont été corrompues par votre client courriel. Vérifiez que le lien est complet.', //cpg1.4
-);
-}
-
-// ------------------------------------------------------------------------- //
-// File displayimage.php
-// ------------------------------------------------------------------------- //
-
-if (defined('DISPLAYIMAGE_PHP')){
-
-$lang_display_image_php = array(
-  'confirm_del' => 'Voulez vous vraiment SUPPRIMER cette image?\\nLes commentaires seront également supprimés.',//js-alert
-  'del_pic' => 'SUPPRIMER CETTE IMAGE',
-  'size' => '%s x %s pixels',
-  'views' => '%s fois',
-  'slideshow' => 'Diaporama',
-  'stop_slideshow' => 'ARRETER LE DIAPORAMA',
-  'view_fs' => 'Cliquez pour voir l\'image en taille réelle',
-  'edit_pic' => 'Modifier la description', //cpg1.3.0
-  'crop_pic' => 'Retoucher', //cpg1.3.0
-  'set_player' => 'Changer le lecteur',
-);
-
-$lang_picinfo = array(
-  'title' =>'Informations sur l\'image',
-  'Filename' => 'Nom du fichier',
-  'Album name' => 'Nom de l\'album',
-  'Rating' => 'Note (%s votes)',
-  'Keywords' => 'Mots clefs',
-  'File Size' => 'Taille du fichier',
-  'Date Added' => 'Date d\'ajout', //cpg1.4
-  'Dimensions' => 'Dimensions',
-  'Displayed' => 'Affichées',
-  'URL' => 'URL', //cpg1.4
-  'Make' => 'Marque', //cpg1.4
-  'Model' => 'Modèle', //cpg1.4
-  'DateTime' => 'Date/Heure', //cpg1.4
-  'DateTimeOriginal' => 'Date/Heure de l\'original', //cpg1.4
-  'ISOSpeedRatings'=>'ISO - vitesse estimée', //cpg1.4
-  'MaxApertureValue' => 'Ouverture maximale', //cpg1.4
-  'FocalLength' => 'Longueur Focale',
-  'Comment' => 'Commentaires',
-  'addFav'=>'Ajouter aux favoris',
-  'addFavPhrase'=>'Favoris',
-  'remFav'=>'Supprimer des favoris',
-  'iptcTitle'=>'Titre IPTC', //cpg1.3.0
-  'iptcCopyright'=>'Copyright IPTC', //cpg1.3.0
-  'iptcKeywords'=>'Mots clés IPTC', //cpg1.3.0
-  'iptcCategory'=>'Catégorie IPTC', //cpg1.3.0
-  'iptcSubCategories'=>'Sous-catégorie IPTC', //cpg1.3.0
-  'ColorSpace' => 'Espace colorimétrique', //cpg1.4
-  'ExposureProgram' => 'Programme d\'exposition', //cpg1.4
-  'Flash' => 'Flash', //cpg1.4
-  'MeteringMode' => 'Mode de mesure', //cpg1.4
-  'ExposureTime' => 'Temps d\'exposition', //cpg1.4
-  'ExposureBiasValue' => 'Correction de l\'exposition', //cpg1.4
-  'ImageDescription' => ' Description de l\'image', //cpg1.4
-  'Orientation' => 'Orientation', //cpg1.4
-  'xResolution' => 'Résolution X', //cpg1.4
-  'yResolution' => 'Résolution Y', //cpg1.4
-  'ResolutionUnit' => 'Unité de résolution', //cpg1.4
-  'Software' => 'Logiciel', //cpg1.4
-  'YCbCrPositioning' => 'Eléments de configuration YCbCr', //cpg1.4
-  'ExifOffset' => 'Exif Offset', //cpg1.4
-  'IFD1Offset' => 'IFD1 Offset', //cpg1.4
-  'FNumber' => 'Ouverture', //cpg1.4
-  'ExifVersion' => 'Version Exif', //cpg1.4
-  'DateTimeOriginal' => 'Date et heure de la prise de vue', //cpg1.4
-  'DateTimedigitized' => 'Date et heure de la numérisation', //cpg1.4
-  'ComponentsConfiguration' => 'Configuration des composants', //cpg1.4
-  'CompressedBitsPerPixel' => 'Bits compressés par couche', //cpg1.4
-  'LightSource' => 'Source lumineuse', //cpg1.4
-  'ISOSetting' => 'Paramètre ISO', //cpg1.4
-  'ColorMode' => 'Mode de couleurs', //cpg1.4
-  'Quality' => 'Qualité', //cpg1.4
-  'ImageSharpening' => 'Image Sharpening', //cpg1.4
-  'FocusMode' => 'Mode de mesure de distance', //cpg1.4
-  'FlashSetting' => 'Configuration du Flash', //cpg1.4
-  'ISOSelection' => 'ISO Selection', //cpg1.4
-  'ImageAdjustment' => 'Ajustement de l\'image', //cpg1.4
-  'Adapter' => 'Adapter', //cpg1.4
-  'ManualFocusDistance' => 'Manual Focus Distance', //cpg1.4
-  'DigitalZoom' => 'Zoom numérique', //cpg1.4
-  'AFFocusPosition' => 'Longueur focale', //cpg1.4
-  'Saturation' => 'Saturation', //cpg1.4
-  'NoiseReduction' => 'Réduction du bruit', //cpg1.4
-  'FlashPixVersion' => 'Flash Pix Version', //cpg1.4
-  'ExifImageWidth' => 'Dimension X en pixels', //cpg1.4
-  'ExifImageHeight' => 'Dimension Y en pixels', //cpg1.4
-  'ExifInteroperabilityOffset' => 'Version d\'interopérabilité', //cpg1.4
-  'FileSource' => 'Source fichier', //cpg1.4
-  'SceneType' => 'Type de scene', //cpg1.4
-  'CustomerRender' => 'Rendu personnalisé', //cpg1.4
-  'ExposureMode' => 'Mode d\'exposition', //cpg1.4
-  'WhiteBalance' => 'Balance des blancs', //cpg1.4
-  'DigitalZoomRatio' => 'Ratio zoom numérique', //cpg1.4
-  'SceneCaptureMode' => 'Type de capture de scene', //cpg1.4
-  'GainControl' => 'Controle des gains', //cpg1.4
-  'Contrast' => 'Contraste', //cpg1.4
-  'Saturation' => 'Saturation', //cpg1.4
-  'Sharpness' => 'Netteté', //cpg1.4
-  'ManageExifDisplay' => 'Manage Exif Display', //cpg1.4
-  'submit' => 'Valider', //cpg1.4
-  'success' => 'Informations modifiées avec succès.', //cpg1.4
-  'details' => 'Détails', //cpg1.4
-);
-
-$lang_display_comments = array(
-  'OK' => 'OK',
-  'edit_title' => 'Modifier ce commentaire',
-  'confirm_delete' => 'Voulez vous vraiment supprimer ce commentaire?',//js-alert
-  'add_your_comment' => 'Ajoutez votre commentaire',
-  'name'=>'Nom',
-  'comment'=>'Commentaire',
-  'your_name' => 'Anonyme',
-  'report_comment_title' => 'Envoyer ce commentaire à l\'administrateur', //cpg1.4
-);
-
-$lang_fullsize_popup = array(
-  'click_to_close' => 'Cliquez sur l\'image pour fermer la fenêtre',
-);
-
-}
-
-// ------------------------------------------------------------------------- //
-// File ecard.php
-// ------------------------------------------------------------------------- //
-
-if (defined('ECARDS_PHP') || defined('DISPLAYECARD_PHP')) $lang_ecard_php =array(
-  'title' => 'Envoyer en tant que carte électronique',
-  'invalid_email' => '<b>Attention</b> : cette adresse e-mail n\'est pas valide&nbsp;!',
-  'ecard_title' => 'Une carte électronique pour vous, de la part de %s',
-  'error_not_image' => 'Seules les images peuvent être envoyées sous forme de cartes électroniques.', //cpg1.3.0
-  'view_ecard' => 'Si votre carte électronique ne s\'affiche pas correctement, cliquez ici',
-  'view_ecard_plaintext' => 'Pour voir cette carte postale électronique, copiez cette Url dans la barre d\'adresse de votre navigateur:', //cpg1.4
-  'view_more_pics' => 'Suivez ce lien pour découvrir davantage de photos&nbsp;!',
-  'send_success' => 'Votre carte électronique a été envoyée',
-  'send_failed' => 'Nous sommes désolés, mais le serveur n\'a pu envoyer votre carte électronique...',
-  'from' => 'De la part de',
-  'your_name' => 'Votre nom',
-  'your_email' => 'Votre adresse courriel',
-  'to' => 'A',
-  'rcpt_name' => 'Nom du destinataire',
-  'rcpt_email' => 'Adresse e-mail du destinataire',
-  'greetings' => 'Introduction',
-  'message' => 'Message',
-  'ecards_footer' => 'Envoyé par %s depuis l\'adresse IP %s à %s (Heure de la galerie)', //cpg1.4
-  'preview' => 'Prévisualisation de cette carte', //cpg1.4
-  'preview_button' => 'Prévisualisation', //cpg1.4
-  'submit_button' => 'Envoyer la carte', //cpg1.4
-  'preview_view_ecard' => 'Ce sera le lien inclu à la carte électronique lorsqu\'elle sera générée. Ne fonctionne pas pour les prévisualisations.', //cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File report_file.php //cpg1.4
-// ------------------------------------------------------------------------- //
-
-if (defined('REPORT_FILE_PHP') || defined('DISPLAYREPORT_PHP')) $lang_report_php =array(
-  'title' => 'Rapport à l\'administrateur', //cpg1.4
-  'invalid_email' => '<b>Attention</b> : adresse courriel invalidev', //cpg1.4
-  'report_subject' => 'Un rapport de %s de la galerie %s', //cpg1.4
-  'view_report' => 'Lien alternatif si le rapport ne s\'affiche pas correctement', //cpg1.4
-  'view_report_plaintext' => 'Pour voir le rapport, copiez et collez cette adresse dans la barre d\'adresse de votre navigateur:', //cpg1.4
-  'view_more_pics' => 'Galerie', //cpg1.4
-  'send_success' => 'Votre rapport a été envoyé', //cpg1.4
-  'send_failed' => 'Désolé mais le serveur ne peut pas envoyer votre rapport...', //cpg1.4
-  'from' => 'De', //cpg1.4
-  'your_name' => 'Votre Nom', //cpg1.4
-  'your_email' => 'Votre adresse courriel', //cpg1.4
-  'to' => 'A', //cpg1.4
-  'administrator' => 'Mode Administrateur', //cpg1.4
-  'subject' => 'Sujet', //cpg1.4
-  'comment_field_name' => 'Faire un rapport sur le commentaire de &quot;%s&quot;', //cpg1.4
-  'reason' => 'Raison', //cpg1.4
-  'message' => 'Message', //cpg1.4
-  'report_footer' => 'Envoyé par %s depuis l\'adresse IP %s à %s (Heure de la galerie)', //cpg1.4
-  'obscene' => 'obscène', //cpg1.4
-  'offensive' => 'violent', //cpg1.4
-  'misplaced' => 'Hors sujet/Mal placé', //cpg1.4
-  'missing' => 'manque', //cpg1.4
-  'issue' => 'erreur/ne peut être visualisé', //cpg1.4
-  'other' => 'autre', //cpg1.4
-  'refers_to' => 'Le rapport se réfère à g', //cpg1.4
-  'reasons_list_heading' => 'raison(s) du rapport:', //cpg1.4
-  'no_reason_given' => 'Sans raisons', //cpg1.4
-  'go_comment' => 'Aller au commentaire', //cpg1.4
-  'view_comment' => 'Voir le rapport complet avec le commentaire', //cpg1.4
-  'type_file' => 'fichier', //cpg1.4
-  'type_comment' => 'commentaire', //cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File editpics.php
-// ------------------------------------------------------------------------- //
-
-if (defined('EDITPICS_PHP')) $lang_editpics_php = array(
-  'pic_info' => 'Informations sur l\'image',
-  'album' => 'Album',
-  'title' => 'Titre',
-  'filename' => 'Nom de fichier', //cpg1.4
-  'desc' => 'Description',
-  'keywords' => 'Mots-clés',
-  'new_keyword' => 'Nouveau mot-clé', //cpg1.4
-  'new_keywords' => 'Nouveaux mots-clés trouvés', //cpg1.4
-  'existing_keyword' => 'Mots-clés existants', //cpg1.4
-  'pic_info_str' => '%sx%s - %sKo - %s affichages - %s votes',
-  'approve' => 'Approuver',
-  'postpone_app' => 'Approuver plus tard',
-  'del_pic' => 'Supprimer l\'image',
-  'del_all' => 'Supprimer TOUS les fichiers', //cpg1.4
-  'read_exif' => 'Relire les informations EXIF', //cpg1.3.0
-  'reset_view_count' => 'Réinitialiser le compteur de téléchargements ',
-  'reset_all_view_count' => 'Réinitialiser le compteur de vues', //cpg1.4
-  'reset_votes' => 'Réinitialiser les votes',
-  'reset_all_votes' => 'Réinitialiser TOUS les votes', //cpg1.4
-  'del_comm' => 'Supprimer les commentaires',
-  'del_all_comm' => 'Supprimer TOUS les commentaires', //cpg1.4
-  'upl_approval' => 'Autorisation d\'upload',
-  'edit_pics' => 'Modifier les images',
-  'see_next' => 'Voir les images suivantes',
-  'see_prev' => 'Voir les images précédentes',
-  'n_pic' => '%s images',
-  'n_of_pic_to_disp' => 'Nombre d\'images à afficher',
-  'apply' => 'Appliquer les modifications',
-  'crop_title' => 'Editeur Photo de Coppermine', //cpg1.3.0
-  'preview' => 'Prévisualiser', //cpg1.3.0
-  'save' => 'Sauvegarder la photo', //cpg1.3.0
-  'save_thumb' =>'Sauvegarder en tant que vignette', //cpg1.3.0
-  'gallery_icon' => 'Faites-en mon icône', //cpg1.4
-  'sel_on_img' =>'La sélection doit être entièrement sur l\\\'image', //js-alert //cpg1.3.0
-  'album_properties' =>'Propriétés de l\'album', //cpg1.4
-  'parent_category' =>'Catégorie parente', //cpg1.4
-  'thumbnail_view' =>'Visualisation des vignettes', //cpg1.4
-  'select_unselect' =>'sélectionner/<br>déselectionner tout', //cpg1.4
-  'file_exists' => 'La destination du fichier \'%s\' existe déjà', //cpg1.4
-  'rename_failed' => 'Impossible de renommer \'%s\' en \'%s\'.', //cpg1.4
-  'src_file_missing' => 'La source du fichier \'%s\' est manquante.', // cpg 1.4
-  'mime_conv' => 'Impossible de convertir le fichier de \'%s\' en \'%s\'',//cpg1.4
-  'forb_ext' => 'Type d\'extension de fichier non autorisée.',//cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File faq.php
-// ------------------------------------------------------------------------- //
-
-if (defined('FAQ_PHP')) $lang_faq_php = array(
-  'faq' => 'Questions fréquemment posées', //cpg1.3.0
-  'toc' => 'Table des matières', //cpg1.3.0
-  'question' => 'Question : ', //cpg1.3.0
-  'answer' => 'Réponse : ', //cpg1.3.0
-);
-
-if (defined('FAQ_PHP')) $lang_faq_data = array(
-  '<br>FAQ générales<br>', //cpg1.3.0
-  array('Pourquoi dois-je m\'inscrire ?', 'L\'inscription peut être imposée ou non par l\'administrateur. Elle offre des fonctionnalités supplémentaires telles que la possibilité d\'uploader des images, d\'avoir une liste de Favoris, de noter les images, de poster des commentaires etc...', 'allow_user_registration', '0'), //cpg1.3.0
-  array('Comment puis-je m\'inscrire ?', 'Allez sur &quot;Inscription&quot; et renseignez les informations requises (éventuellement les informations optionnelles, si vous le souhaitez).<br />Si l\'administrateur a demandé une confirmation par mail, vous recevrez un message à l\'adresse que vous aurez renseignée dans le formulaire d\'inscription. Ce message vous induiqera la marche à suivre pour valider votre inscription. Votre inscription doit être validée avant que vous ne puissiez vous indentifier.', 'allow_user_registration', '1'), //cpg1.3.0
-  array('Comment m\'identifier ?', 'Allez sur &quot;S\'identifier&quot;, saisissez votre pseudo et votre mot de passe. Cochez &quot;Se souvenir de moi&quot; afin d\'être automatiquement reconnecté lorsque vous reviendrez sur le site.<br /><b>IMPORTANT : Vous devez autoriser les cookies et le cookie ne doit pas être effacé pour que cette option fonctionne.</b>', 'offline', 0), //cpg1.3.0
-  array('Pourquoi ne puis-je pas m\'identifier ?', 'Vérifiez que vous vous êtes bien inscrit et que vous avez cliqué sur le lien de validation indiqué dans le mail de confirmation que vous devez avoir reçu. Pour tout autre problème, contactez l\'administrateur du site.', 'offline', 0), //cpg1.3.0
-  array('Et si j\'oublie mon mot de passe ?', 'Si le site possède un lien &quot;J\'ai oublié mon mot de passe&nbsp;!&quot;, utilisez-le. Dans le cas contraire, contactez l\'administrateur qui vous créera un nouveau mot de passe.', 'offline', 0), //cpg1.3.0
-  //array('Que dois-je faire si je change d\'adresse e-mail ?', 'Identifiez-vous et changez votre adresse de messagerie dans le menu &quot;Mon profil&quot;', 'offline', 0), //cpg1.3.0
-  array('Comment sauvegarder une photo dans &quot;Mes Favoris&quot; ?', 'Cliquez sur une image. Si les informations de cette image ne sont pas indiquées au bas de celle-ci, cliquez sur le lien &quot;Afficher/cacher les informations de l\'image&quot; (<img src="images/info.gif" width="16" height="16" border="0&" alt="Afficher/cacher les informations de l\'image" />); Cliquez ensuite sur le lien &quot;Ajouter aux favoris&quot;.<br /><br />IMPORTANT : Vous devez autoriser les cookies et le cookie ne doit pas être effacé pour que cette option fonctionne.', 'offline', 0), //cpg1.3.0
-  array('Comment noter une photo ?', 'Cliquez sur une image et cliquez sur la note que vous souhaitez lui attribuer, au-dessous de l\'image', 'offline', 0), //cpg1.3.0
-  array('Comment poster un commentaire sur une photo ?', 'Cliquez sur une image et tapez votre commentaire au-dessous de l\'image, sous la ligne &quot;Ajoutez votre commentaire&quot;.', 'offline', 0), //cpg1.3.0
-  array('Comment uploader une photo ?', 'Cliquez sur &quot;Uploader une image&quot; et sélectionnez l\'album dans lequel vous souhaitez qu\'elle apparaisse. Cliquez sur &quot;Parcourir&quot; pour sélectionner le fichier à transférer. Complétez ensuite les champs facultatifs si vous le désirez. Enfin, validez par &quot;Mettre une photo en ligne&quot;', 'allow_private_albums', 0), //cpg1.3.0
-  array('Où puis-je uploader mes photos ?', 'Vous pourrez uploader vos photos dans l\'un de vos albums dans &quot;Ma galerie&quot;. L\'administrateur peut aussi vous avoir autorisé à uploader des photos dans un ou plusieurs albums dans la galerie principale.', 'allow_private_albums', 0), //cpg1.3.0
-  array('Quels types et tailles d\'images puis-je uploader ?', 'La taille et le type (jpg,gif,..etc.) est défini par l\'administrateur. Vous pouvez lui en demander la liste.', 'offline', 0), //cpg1.3.0
-  array('Comment puis-je créer, renommer ou supprimer des albums dans &quot;Ma Galerie&quot; ?', 'Vous devez auparavant entrer dans le &quot;Mode admin.&quot;<br/>Cliquez ensuite sur &quot;Créer / classer mes Albums&quot;puis cliquez sur &quot;Nouveau&quot;. Remplacez &quot;New Album&quot; à votre convenance.<br />Vous pouvez aussi renommer vos albums dans votre galerie.<br />Cliquez ensuite sur &quot;Appliquer les Modifications&quot;.', 'allow_private_albums', 0), //cpg1.3.0
-  array('Comment puis-je modifier ou restreindre l\'accès à mes albums ?', 'Vous devez auparavant entrer dans le &quot;Mode admin.&quot;<br />Cliquez ensuite sur &quot;Modifier mes albums&quot;. Dans la zone &quot;Mettre l\'album à jour&quot; sélectionnez l\'album que vous souhaitez modifier.<br />Vous pouvez modifier le nom, la description, la vignette, restreindre l\'accès, les options concernant les notes et les commentaires.<br />Cliquez sur &quot;Mettre l\'album à jour&quot;. pour valider', 'allow_private_albums', 0), //cpg1.3.0
-  array('Comment puis-je voir les albums des autres utilisateurs ?', 'Allez sur &quot;Liste des albums&quot; et choisissez &quot;Galeries utilisateurs&quot;.', 'allow_private_albums', 0), //cpg1.3.0
-  array('Que sont les cookies ?', 'Les cookies sont des fichiers texte contenant des paramètres du site et de votre pseudo. Ces cookies sont stockées dans votre ordinateur.<br />Ils vous apportent la possibilité d\'entrer et sortir du site sans avoir à vous identifier, ainsi que d\'autres facilités.', 'offline', 0), //cpg1.3.0
-  array('Où puis-je me procurer cette galerie pour mon site ?', 'Coppermine est une Galerie multimédia gratuite, sous licence GNU GPL. Elle comprend de nombreuses fonctions avancées et est portée sur plusieurs plateformes. Visitez le site <a href="http://coppermine-gallery.net/">Page principale Coppermine</a> pour en savoir plus et procéder à son téléchargement.', 'offline', 0), //cpg1.3.0
-
-  '<br>Navigation dans le site<br>', //cpg1.3.0
-  array('Qu\'est-ce-que &quot;Liste des albums&quot; ?', 'Cela vous redirigera vers la galerie principale avec un lien vers chaque catégorie. Ces liens peuvent être sous forme de vignettes.', 'offline', 0), //cpg1.3.0
-  array('Qu\'est-ce-que &quot;Ma galerie&quot; ?', 'Cette fonctionnalité vous permet de créer vos propres albums et d\'y uploader et gérer vos photos.', 'allow_private_albums', 0), //cpg1.3.0
-  array('Quelle est la différence entre le &quot;Mode admin.&quot; et le &quot;Mode utilisateur&quot; ?', 'Le &quot;Mode admin.&quot; vous permet de modifier vos albums ainsi que tous les albums pour lesquels vous aurez été habilité par l\'administrateur.', 'allow_private_albums', 0), //cpg1.3.0
-  array('Qu\'est-ce-que &quot;Uploader une image&quot; ?', 'Cette fonctionnalité vous permet d\'uploader des photos (dont la taille et le type sont définis par l\'administrateur) dans les galeries et albums pour lesquels vous aurez été habilité par l\'administrateur.', 'allow_private_albums', 0), //cpg1.3.0
-  array('Qu\'est-ce-que &quot;Derniers ajouts&quot; ?', 'Cette fonctionnalité vous montre les dernières photos uploadées sur le site.', 'offline', 0), //cpg1.3.0
-  array('Qu\'est-ce-que &quot;Commentaires&quot; ?', 'Cette fonctionnalité vous montre les derniers commentaires postés par les utilisateurs du site.', 'offline', 0), //cpg1.3.0
-  array('Qu\'est-ce-que &quot;Les plus populaires&quot; ?', 'Cette fonctionnalité vous montre les photos les plus vues par les visiteurs, identifiés ou anonymes.', 'offline', 0), //cpg1.3.0
-  array('Qu\'est-ce-que &quot;Les mieux notées&quot; ?', 'Cette fonctionnalité vous montre les photos, triées par leur note moyenne. Par exemples : <br />- Si 5 utilisateurs donnent chacun la note 3 (<img src="images/rating3.gif" width="65" height="14" border="0" alt="" />), la photo obtient la note moyenne de 3 (<img src="images/rating3.gif" width=&"65" height="14" border="0" alt="" />).<br />- Si 5 utilisateurs donnent les notes 1, 2, 3, 4 et 5, la photo obtient une moyenne de 3 également (<img src="images/rating3.gif" width="65" height="14" border="0" alt="" /> ).<br />Les notes vont de <img src="images/rating5.gif" width="65" height="14" border="0"/> (meilleure) to <img src="images/rating0.gif" width="65" height="14" border="0" /> (moins bonne).', 'offline', 0), //cpg1.3.0
-  array('Qu\'est-ce-que &quot;Mes favoris&quot; ?', 'Cette fonctionnalité vous permet de stocker une ou plusieurs photos dans le cookie qui est stocké dans votre ordinateur.', 'offline', 0), //cpg1.3.0
-);
-
-
-// ------------------------------------------------------------------------- //
-// File forgot_passwd.php
-// ------------------------------------------------------------------------- //
-
-if (defined('FORGOT_PASSWD_PHP')) $lang_forgot_passwd_php = array(
-  'forgot_passwd' => 'Rappel de Mot de passe', //cpg1.3.0
-  'err_already_logged_in' => 'Vous êtes déjà identifié&nbsp;!', //cpg1.3.0
-  'enter_email' => 'Saisissez votre adresse de messagerie', //cpg1.3.0
-  'submit' => 'Envoyer', //cpg1.3.0
-  'illegal_session' => 'Le mot de passe pour cette session est invalide ou a expiré.', //cpg1.4
-  'failed_sending_email' => 'Le mot de passe n\'a pas pu être envoyé&nbsp;!', //cpg1.3.0
-  'email_sent' => 'Un message a été envoyé avec votre mot de passe à l\'adresse %s', //cpg1.3.0
-  'verify_email_sent' => 'Un courriel a été envoyé à %s. Veuillez vérifier vos courriels pour terminer le processus.', //cpg1.4
-  'err_unk_user' => 'L\'utilisateur indiqué n\'existe pas&nbsp;!', //cpg1.3.0
-  'account_verify_subject' => '%s - Demande de nouveau Mot de Passe', //cpg1.4
-  'account_verify_body' => 'Vous avez demandé un nouveau Mot de Passe. Si vous souhaitez recevoir par courriel un nouveau mot de passe, cliquez sur le lien ci-après:
-
-%s', //cpg1.4
-  'passwd_reset_subject' => '%s - Rappel de Mot de passe', //cpg1.3.0
-  'passwd_reset_body' => 'Vous avez demandé que votre mot de passe vous soit rappelé. Voici donc vos données de connexion :
-Utilisateur: %s
-Mot de passe : %s
-Cliquez sur %s pour vous identifier.', //cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File groupmgr.php
-// ------------------------------------------------------------------------- //
-
-if (defined('GROUPMGR_PHP')) $lang_groupmgr_php = array(
-  'group_name' => 'Nom du groupe',
-  'permissions' => 'Droits', //cpg1.4
-  'public_albums' => 'Upload dans les albums publics', //cpg1.4
-  'personal_gallery' => 'Galerie personnelle', //cpg1.4
-  'upload_method' => 'Méthode d\'Upload', //cpg1.4
-  'disk_quota' => 'Quota disque',
-  'rating' => 'Note', //cpg1.4
-  'ecards' => 'Cartes électronique', //cpg1.4
-  'comments' => 'Commentaires', //cpg1.4
-  'allowed' => 'Autorisé', //cpg1.4
-  'approval' => 'Approbation', //cpg1.4
-  'boxes_number' => 'Nombre de champs', //cpg1.4
-  'variable' => 'variable', //cpg1.4
-  'fixed' => 'fixé', //cpg1.4
-  'apply' => 'Appliquer les modifications',
-  'create_new_group' => 'Créer un nouveau groupe',
-  'del_groups' => 'Supprimer le(s) groupe(s) sélectionné(s)',
-  'confirm_del' => 'Attention, lorsque vous supprimez un groupe, les utilisateurs de ce groupe seront transférés dans le groupe d\\\'utilisateurs \\\'Enregistré\\\'!\n\nSouhaitez-vous continuer?',//js-alert
-  'title' => 'Gérer les groupes d\'utilisateurs',
-  'num_file_upload' => 'Champ(s) d\'upload', //cpg1.4
-  'num_URI_upload' => 'Champ(s) d\'upload (URI)', //cpg1.4
-  'reset_to_default' => 'Mettre le nom par défaut (%s) - recommandé&nbsp;!', //cpg1.4
-  'error_group_empty' => 'La table du groupe est vide&nbsp;!<br /><br />Groupe par défaut créé, rechargez s\'il vous plait la page', //cpg1.4
-  'explain_greyed_out_title' => 'Pourquoi cette colonne est grisée ?', //cpg1.4
-  'explain_guests_greyed_out_text' => 'Vous ne pouvez pas changer les propriétés de ce group car vous avez choisi &quot;Non&quot; pour l\'option &quot;Autoriser l\'accès aux visiteurs non authentifiés (visiteur ou anonyme)&quot; dans la page Configuration. Les visiteurs ne peuvent donc rien faire d\'autre que se connecter; il n\'y a donc pas de règlages de groupe pour eux.', //cpg1.4
-  'explain_banned_greyed_out_text' => 'Vous ne pouvez pas changer les propriétés de ce groupe car ses membres ne peuvent rien faire.', //cpg1.4
-  'group_assigned_album' => 'album(s) assigné(s)', //cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File index.php
-// ------------------------------------------------------------------------- //
-
-if (defined('INDEX_PHP')){
-
-$lang_index_php = array(
-  'welcome' => 'Bienvenue!'
-);
-
-$lang_album_admin_menu = array(
-  'confirm_delete' => 'Voulez-vous VRAIMENT supprimer cet album ? \\nToutes les photos et tous les commentaires seront perdus.',//js-alert
-  'delete' => 'SUPPRIMER',
-  'modify' => 'PROPRIETES',
-  'edit_pics' => 'MODIFIER LES PHOTOS',
-);
-
-$lang_list_categories = array(
-  'home' => 'Accueil',
-  'stat1' => '<b>[pictures]</b> photos dans <b>[albums]</b> albums et <b>[cat]</b> catégories avec <b>[comments]</b> commentaires affichées <b>[views]</b> fois',
-  'stat2' => '<b>[pictures]</b> photos dans <b>[albums]</b> albums affichées <b>[views]</b> fois',
-  'xx_s_gallery' => '%s\'s Galerie',
-  'stat3' => '<b>[pictures]</b> photos dans <b>[albums]</b> albums avec <b>[comments]</b> commentaires affichées <b>[views]</b> fois'
-);
-
-$lang_list_users = array(
-  'user_list' => 'Liste d\'utilisateurs',
-  'no_user_gal' => 'Il n\'y a pas de nouvelle galerie d\'utilisateurs',
-  'n_albums' => '%s album(s)',
-  'n_pics' => '%s photo(s)'
-);
-
-$lang_list_albums = array(
-  'n_pictures' => '%s photos',
-  'last_added' => ', la dernière a été ajoutée le %s',
-  'n_link_pictures' => '%s fichiers liés', //cpg1.4
-  'total_pictures' => '%s total de fichiers', //cpg1.4
-);
-
-}
-
-// ------------------------------------------------------------------------- //
-// File keywordmgr.php //cpg1.4
-// ------------------------------------------------------------------------- //
-
-if (defined('KEYWORDMGR_PHP')) $lang_keywordmgr_php = array(
-  'title' => 'Gérer les mots clefs', //cpg1.4
-  'edit' => 'modifier', //cpg1.4
-  'delete' => 'effacer', //cpg1.4
-  'search' => 'chercher', //cpg1.4
-  'keyword_test_search' => 'chercher %s dans une nouvelle fenêtre', //cpg1.4
-  'keyword_del' => 'effacer le mot clef %s', //cpg1.4
-  'confirm_delete' => 'êtes-vous sur de vouloir effacer le mot clef %s de toute la galerie ?', //cpg1.4  // js-alert
-  'change_keyword' => 'changer le mot clef', //cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File login.php
-// ------------------------------------------------------------------------- //
-
-if (defined('LOGIN_PHP')) $lang_login_php = array(
-  'login' => 'Se connecter',
-  'enter_login_pswd' => 'Entrez votre login et mot de passe pour vous connecter',
-  'username' => 'Login',
-  'password' => 'Mot de passe',
-  'remember_me' => 'Se souvenir de moi',
-  'welcome' => 'Bienvenue %s ...',
-  'err_login' => '*** Impossible de se connecter. Essayez encore ***',
-  'err_already_logged_in' => 'Vous êtes déjà connecté(e)&nbsp;!',
-  'forgot_password_link' => 'J\'ai oublié mon mot de passe&nbsp;!', //cpg1.3.0
-  'cookie_warning' => 'Attention votre navigateur n\'accepte pas les cookies', //cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File logout.php
-// ------------------------------------------------------------------------- //
-
-if (defined('LOGOUT_PHP')) $lang_logout_php = array(
-  'logout' => 'Déconnexion',
-  'bye' => 'Au revoir %s ...',
-  'err_not_loged_in' => 'Vous n\'êtes pas identifié(e)&nbsp;!',
-);
-
-// ------------------------------------------------------------------------- //
-// File minibrowser.php  //cpg1.4
-// ------------------------------------------------------------------------- //
-
-if (defined('MINIBROWSER_PHP')) $lang_minibrowser_php = array(
-  'close' => 'fermer', //cpg1.4
-  'submit' => 'OK', //cpg1.4
-  'up' => 'remonter d\'un niveau', //cpg1.4
-  'current_path' => 'niveau actuel', //cpg1.4
-  'select_directory' => 'choisissez un répertoire', //cpg1.4
-  'click_to_close' => 'Cliquez sur l\'image pour fermer la fenêtre',
-);
-
-// ------------------------------------------------------------------------- //
-// File modifyalb.php
-// ------------------------------------------------------------------------- //
-
-if (defined('MODIFYALB_PHP')) $lang_modifyalb_php = array(
-  'upd_alb_n' => 'Mettre à jour l\'album %s',
-  'general_settings' => 'Paramètres généraux',
-  'alb_title' => 'Titre de l\'album',
-  'alb_cat' => 'Catégorie de l\'album',
-  'alb_desc' => 'Description de l\'album',
-  'alb_keyword' => 'Mot clef de l\'album', //cpg1.4
-  'alb_thumb' => 'vignette de l\'album',
-  'alb_perm' => 'Permissions pour cet album',
-  'can_view' => 'Cet album peut être consulté par',
-  'can_upload' => 'Les visiteurs peuvent mettre des photos en ligne',
-  'can_post_comments' => 'Les visiteurs peuvent poster des commentaires',
-  'can_rate' => 'Les visiteurs peuvent noter les photos',
-  'user_gal' => 'Galerie de l\'utilisateur',
-  'no_cat' => '* Pas de catégorie *',
-  'alb_empty' => 'L\'album est vide',
-  'last_uploaded' => 'Dernier upload',
-  'public_alb' => 'Tout le monde (album public)',
-  'me_only' => 'Moi seulement',
-  'owner_only' => 'Le propriétaire de l\'album (%s) seulement',
-  'groupp_only' => 'Membres du groupe \'%s\'',
-  'err_no_alb_to_modify' => 'Il n\'y a pas d\'album modifiable dans la base.',
-  'update' => 'Mettre l\'album à jour',
-  'reset_album' => 'Réinitialiser l\'album', //cpg1.4
-  'reset_views' => 'Mettre le compteur de vues à &quot;0&quot; dans %s', //cpg1.4
-  'reset_rating' => 'Effacer les votes de tous les fichiers dans %s', //cpg1.4
-  'delete_comments' => 'Supprimer tous les commentaires écrit dans %s', //cpg1.4
-  'delete_files' => 'Supprimer %sdéfinitivement%s tous les fichiers dans %s', //cpg1.4
-  'views' => 'vues', //cpg1.4
-  'votes' => 'votes', //cpg1.4
-  'comments' => 'commentaires', //cpg1.4
-  'files' => 'fichiers', //cpg1.4
-  'submit_reset' => 'soumettre les changements', //cpg1.4
-  'reset_views_confirm' => 'Je suis sûr', //cpg1.4
-  'notice1' => '(*) en fonction de la configuration des %sgroupes%s', //cpg1.3.0 (do not translate %s!)
-  'alb_password' => 'Mot de passe de l\'album', //cpg1.4
-  'alb_password_hint' => 'Pense bête du mot de passe de l\'album', //cpg1.4
-  'edit_files' =>'Editer les fichiers', //cpg1.4
-  'parent_category' =>'Catégorie parente', //cpg1.4
-  'thumbnail_view' =>'Vue des vignettes', //cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File phpinfo.php
-// ------------------------------------------------------------------------- //
-
-if (defined('PHPINFO_PHP')) $lang_phpinfo_php = array(
-  'php_info' => 'PHP info',
-  'explanation' => 'Voici la sortie générée par la fonction <a href="http://www.php.net/phpinfo">phpinfo()</a>, affichée à l\'intérieur de Coppermine (en rognant les informations trop longues).',
-  'no_link' => 'Les informations reprises ici peuvent représenter un risque pour la sécurité, c\'est pourquoi cette page n\'est visible que si vous êtes connecté en tant qu\'administrateur. Vous ne pouvez pas poster de lien vers cette page car les autres n\'y ont pas accès.',
-);
-
-// ------------------------------------------------------------------------- //
-// File picmgr.php //cpg1.4
-// ------------------------------------------------------------------------- //
-if (defined('PICMGR_PHP')) $lang_picmgr_php = array(
-  'pic_mgr' => 'Gestionnaire d\'image', //cpg1.4
-  'select_album' => 'Sélectionnez l\'album', //cpg1.4
-  'delete' => 'Supprimer', //cpg1.4
-  'confirm_delete1' => 'Etes-vous sur de vouloir supprimer cette image ?', //cpg1.4
-  'confirm_delete2' => '\nL\'image sera supprimée de façon permanente.', //cpg1.4
-  'apply_modifs' => 'Appliquer les modifications', //cpg1.4
-  'confirm_modifs' => 'Confirmez les modifications', //cpg1.4
-  'pic_need_name' => 'L\'image doit avoir un nom&nbsp;!', //cpg1.4
-  'no_change' => 'Vous n\'avez pas fait de changement&nbsp;!', //cpg1.4
-  'no_album' => '* Pas d\'album *', //cpg1.4
-  'explanation_header' => 'L\'ordre personnalisé de tri que vous pouvez définir ne sera pris en compte que si', //cpg1.4
-  'explanation1' => 'l\'administrateur à défini &quot;l\'ordre de tri par défaut des images&quot; dans la configuration en  &quot;Ordre croissant&quot; ou &quot;Ordre décroissant&quot; (configuration générale pour tous les utilisateurs qui n\'ont pas choisi une autre option de tri de manière individuelle)', //cpg1.4
-  'explanation2' => 'l\'utilisateur a choisi &quot;Ordre croissant&quot; ou &quot;Ordre décroissant&quot; sur la page des vignettes (Choix personnel de l\'utilisateur)', //cpg1.4
-);
-
-
-// ------------------------------------------------------------------------- //
-// File pluginmgr.php //cpg1.4
-// ------------------------------------------------------------------------- //
-
-if (defined('PLUGINMGR_PHP')){
-
-$lang_pluginmgr_php = array(
-  'confirm_uninstall' => 'Etes-vous sur de vouloir DESINSTALLER ce plugin', //cpg1.4
-  'confirm_delete' => 'Etes-vous sur de vouloir SUPPRIMER ce plugin', //cpg1.4
-  'pmgr' => 'Gérer les plugin', //cpg1.4
-  'name' => 'Nom', //cpg1.4
-  'author' => 'Auteur', //cpg1.4
-  'desc' => 'Description', //cpg1.4
-  'vers' => 'v', //cpg1.4
-  'i_plugins' => 'Plugins installés', //cpg1.4
-  'n_plugins' => 'Plugins non-installés', //cpg1.4
-  'none_installed' => 'Aucune installation', //cpg1.4
-  'operation' => 'Opération', //cpg1.4
-  'not_plugin_package' => 'Le fichier uploadé n\'est pas un plugin.', //cpg1.4
-  'copy_error' => 'Il y a eu une erreur en copiant le plugin dans le répertoire.', //cpg1.4
-  'upload' => 'Upload', //cpg1.4
-  'configure_plugin' => 'Configurer le plugin', //cpg1.4
-  'cleanup_plugin' => 'Nettoyer le plugin', //cpg1.4
-);
-}
-
-// ------------------------------------------------------------------------- //
-// File ratepic.php
-// ------------------------------------------------------------------------- //
-
-if (defined('RATEPIC_PHP')) $lang_rate_pic_php = array(
-  'already_rated' => 'Vous aviez déjà noté cette photo',
-  'rate_ok' => 'Votre vote a été pris en compte',
-  'forbidden' => 'Vous ne pouvez pas noter vos propres photos.', //cpg1.3.0
-);
-
-// ------------------------------------------------------------------------- //
-// File register.php & profile.php
-// ------------------------------------------------------------------------- //
-
-if (defined('REGISTER_PHP') || defined('PROFILE_PHP')) {
-
-$lang_register_disclamer = <<<EOT
-Bien que les administrateurs de {SITE_NAME} fassent en sorte de supprimer ou modifier toute donnée à caractère répréhensible le plus rapidement possible, il est impossible de scruter systématiquement l'intégralité des contenus. Vous êtes par conséquent conscient que tous les posts effectués sur ce site expriment les points de vue et opinions de leurs auteurs et non ceux des administrateurs ou du webmaster (sauf, évidemment dans le cas des posts effectués par ces derniers), qui ne pourront par conséquent pas être considérés comme responsables.<br />
-<br />
-Vous acceptez de ne poster aucune donnée à caractère injurieux, obscène, vulgaire, diffamatoire, menaçant, sexuel ou tout autre contenu susceptible de violer la loi. Vous acceptez que le webmaster et les modérateurs de {SITE_NAME} aient le droit de supprimer ou modifier n'importe quel contenu, si cela leur semble opportun. En tant qu'utilisateur, vous acceptez que toutes les informations entrées plus haut et toutes les photographies que vous publiez soient stockées dans une base de données. Bien que ces informations et photographies ne soient pas communiquées à des tiers sans votre consentement, le webmaster et les administrateurs ne peuvent en aucun cas être tenus pour responsables dans le cas de tentatives de hack qui pourraient compromettre les données ou permettre l'accès ou l'utilisation illicite de vos photographies.<br />
-<br />
-Ce site utilise des cookies pour stocker des informations sur votre ordinateur. Ces cookies ne servent qu'à améliorer votre navigation sur ce site. Votre adresse e-mail ne sera utilisée que pour confirmer les données de votre inscription ainsi que votre mot de passe.<br />
-<br />
-En cliquant sur 'J'accepte' ci-dessous, vous acceptez de vous soumettre à ces conditions ainsi qu'à toutes leurs éventuelles mises à jour.
-EOT;
-
-$lang_register_php = array(
-  'page_title' => 'inscription d\'utilisateur',
-  'term_cond' => 'Conditions générales d\'inscription',
-  'i_agree' => 'J\'accepte',
-  'submit' => 'S\'inscrire',
-  'err_user_exists' => 'Le nom d\'utilisateur que vous avez entré existe déjà, merci de bien vouloir en choisir un autre',
-  'err_password_mismatch' => 'Les deux mots de passe ne correspondent pas, merci de les entrer à nouveau',
-  'err_uname_short' => 'Le nom d\'utilisateur doit comprendre au moins 2 caractères',
-  'err_password_short' => 'Le mot de passe doit comprendre au moins 2 caractères',
-  'err_uname_pass_diff' => 'Le nom d\'utilisateur et le mot de passe doivent être différents',
-  'err_invalid_email' => 'L\'adresse courriel n\'est pas valide',
-  'err_duplicate_email' => 'Un autre utilisateur s\'est déjà enregisté avec l\'adresse courriel que vous avez entrée',
-  'enter_info' => 'Entrez les informations relatives à votre inscription',
-  'required_info' => 'Informations requises',
-  'optional_info' => 'Informations optionnelles',
-  'username' => 'Nom d\'utilisateur / login',
-  'password' => 'Mot de passe',
-  'password_again' => 'Entrez à nouveau le mot de passe',
-  'email' => 'Courriel',
-  'location' => 'Localisation',
-  'interests' => 'Intérêts',
-  'website' => 'Site web',
-  'occupation' => 'Activité',
-  'error' => 'ERREUR',
-  'confirm_email_subject' => '%s - Confirmation d\'inscription',
-  'information' => 'Informations',
-  'failed_sending_email' => 'Le courriel de confirmation d\'inscription n\'a pas pu être envoyé!',
-  'thank_you' => 'Merci pour votre inscription.<br /><br />Un courriel contenant les informations sur l\'activation de votre compte vous a été envoyé à l\'adresse courriel que vous nous avez communiquée.',
-  'acct_created' => 'Votre compte a bien été créé. Vous pouvez maintenant vous identifier avec votre login et votre mot de passe',
-  'acct_active' => 'Votre compte a bien été activé. Vous pouvez maintenant vous identifier avec votre login et votre mot de passe',
-  'acct_already_act' => 'Votre compte est déjà actif!',
-  'acct_act_failed' => 'Ce compte ne peut pas être activé!',
-  'err_unk_user' => 'L\'utilisateur sélectionné n\'existe pas!',
-  'x_s_profile' => 'Profil de %s',
-  'group' => 'Groupe',
-  'reg_date' => 'Date d\'inscription',
-  'disk_usage' => 'Utilisation du disque',
-  'change_pass' => 'Modifier le mot de passe',
-  'current_pass' => 'Mot de passe actuel',
-  'new_pass' => 'Nouveau mot de passe',
-  'new_pass_again' => 'Nouveau mot de passe (à nouveau)',
-  'err_curr_pass' => 'Le mot de passe actuel n\'est pas correct',
-  'apply_modif' => 'Appliquer les modifications',
-  'change_pass' => 'Changer mon mot de passe',
-  'update_success' => 'Votre profil a été mis à jour',
-  'pass_chg_success' => 'Votre mot de passe a été modifié',
-  'pass_chg_error' => 'Votre mot de passe n\'a pas été modifié',
-  'notify_admin_email_subject' => '%s - notification d\'inscription',
-  'last_uploads' => 'Dernier fichier uploadé.<br />Cliquer pour voir tous les derniers upload par', //cpg1.4
-  'last_comments' => 'Dernier commentaire.<br />Cliquer pour voir tous les derniers commentaires par', //cpg1.4
-  'notify_admin_email_body' => 'Un nouvel utilisateur s\'est inscrit dans votre galerie, sous le nom &quot;%s&quot;',
-  'pic_count' => 'Fichiers uploadés', //cpg1.4
-  'notify_admin_request_email_subject' => '%s - Demande d\'enregistrement', //cpg1.4
-  'thank_you_admin_activation' => 'Merci.<br /><br />Votre requête d\'activation du compte a été envoyé à l\administrateur. Vous recevrez un courriel s\'il est approuvé', //cpg1.4
-  'acct_active_admin_activation' => 'Le compte est maintenant actif et un courriel a été envoyé à l\'utilisateur.', //cpg1.4
-  'notify_user_email_subject' => '%s - Notification d\'activation', //cpg1.4
-);
-
-$lang_register_confirm_email = <<<EOT
-Merci pour votre inscription sur {SITE_NAME}
-
-Pour activer ce compte avec ce nom d'utilisateur &quot;{USER_NAME}&quot;, vous devez cliquer sur le lien ci-dessous ou le copier dans la barre d'adresse de votre navigateur
-
-<a href="{ACT_LINK}">{ACT_LINK}</a>
-
-Cordialement,
-
-L'administrateur de {SITE_NAME}
-
-EOT;
-
-$lang_register_approve_email = <<<EOT
-Un nouvel utilisateur avec ce pseudonyme &quot;{USER_NAME}&quot; s'est inscrit dans votre galerie.
-
-Pour activer ce compte, vous devez cliquer sur le lien ci-dessous ou le copier dans la barre d'adresse de votre navigateur.
-
-<a href="{ACT_LINK}">{ACT_LINK}</a>
-
-EOT;
-
-$lang_register_activated_email = <<<EOT
-Votre compte a été approuvé et activé.
-
-Vous pouvez maintenant vous connecter <a href="{SITE_LINK}">{SITE_LINK}</a> en utilisant ce nom d'utilisateur &quot;{USER_NAME}&quot;
-
-
-Cordialement,
-
-L'administrateur de {SITE_NAME}
-
-EOT;
-}
-
-// ------------------------------------------------------------------------- //
-// File reviewcom.php
-// ------------------------------------------------------------------------- //
-
-if (defined('REVIEWCOM_PHP')) $lang_reviewcom_php = array(
-  'title' => 'Vérifier les commentaires',
-  'no_comment' => 'Il n\'y a pas de commentaire à vérifier',
-  'n_comm_del' => '%s commentaire(s) supprimé(s)',
-  'n_comm_disp' => 'Nombre de commentaires à afficher',
-  'see_prev' => 'Voir précédent(s)',
-  'see_next' => 'Voir suivant(s)',
-  'del_comm' => 'Supprimer les commentaires sélectionnés',
-  'user_name' => 'Nom', //cpg1.4
-  'date' => 'Date', //cpg1.4
-  'comment' => 'Commentaire', //cpg1.4
-  'file' => 'Fichier', //cpg1.4
-  'name_a' => 'Nom d\'utilisateur ascendant', //cpg1.4
-  'name_d' => 'Nom d\'utilisateur descendant', //cpg1.4
-  'date_a' => 'Date ascendante', //cpg1.4
-  'date_d' => 'Date descendante', //cpg1.4
-  'comment_a' => 'Commentaire du message ascendant', //cpg1.4
-  'comment_d' => 'Commentaire du message descendant', //cpg1.4
-  'file_a' => 'Fichier ascendant', //cpg1.4
-  'file_d' => 'Fichier descendant', //cpg1.4
-);
-
-
-// ------------------------------------------------------------------------- //
-// File search.php                                                           //
-// ------------------------------------------------------------------------- //
-
-
-if (defined('SEARCH_PHP')){
-
-$lang_search_php = array(
-  'title' => 'Chercher dans les fichiers', //cpg1.4
-  'submit_search' => 'chercher', //cpg1.4
-  'keyword_list_title' => 'Liste de mots-clés', //cpg1.4
-  'keyword_msg' => 'Cette liste n\'est pas exhaustive . Elle ne comprends pas les mots inclus dans les titres et les descriptions des photos. Essayez une recherche sur une phrase.',  //cpg1.4
-  'edit_keywords' => 'Editer les mots-clés', //cpg1.4
-  'search in' => 'Chercher dans :', //cpg1.4
-  'ip_address' => 'Adresse IP', //cpg1.4
-  'fields' => 'Chercher dans', //cpg1.4
-  'age' => 'Age', //cpg1.4
-  'newer_than' => 'Nouveau depuis', //cpg1.4
-  'older_than' => 'Ancien depuis', //cpg1.4
-  'days' => 'jours', //cpg1.4
-  'all_words' => 'Chercher TOUS les mots (AND)', //cpg1.4
-  'any_words' => 'Chercher AU MOINS un mot (OR)', //cpg1.4
-);
-
-$lang_adv_opts = array(
-  'title' => 'Titre', //cpg1.4
-  'caption' => 'Légende', //cpg1.4
-  'keywords' => 'Mot-clés', //cpg1.4
-  'owner_name' => 'Nom du propriétaire', //cpg1.4
-  'filename' => 'Nom du fichier', //cpg1.4
-);
-
-}
-
-// ------------------------------------------------------------------------- //
-// File searchnew.php
-// ------------------------------------------------------------------------- //
-
-if (defined('SEARCHNEW_PHP')) $lang_search_new_php = array(
-  'page_title' => 'Rechercher les nouvelles photos',
-  'select_dir' => 'Sélectionnez le répertoire',
-  'select_dir_msg' => 'Cette fonction vous permet d\'ajouter un groupe de photos que vous avez uploadé sur votre serveur FTP.<br /><br />Sélectionnez le répertoire où vous avez uploadé vos photos',
-  'no_pic_to_add' => 'Il n\'y a pas de photo à ajouter',
-  'need_one_album' => 'Vous avez besoin d\'au moins un album pour effectuer cette opération',
-  'warning' => 'Avertissement',
-  'change_perm' => 'le script ne peut pas écrire dans ce répertoire, vous devez changer ses permissions à 755 ou 777 avant d\'essayer d\'ajouter les photos&nbsp;!',
-  'target_album' => '<b>Mettre les photos de &quot;</b>%s<b>&quot; dans </b>%s',
-  'folder' => 'Répertoire',
-  'image' => 'fichier',
-  'album' => 'Album',
-  'result' => 'Résultat',
-  'dir_ro' => 'Non inscriptible. ',
-  'dir_cant_read' => 'Illisible. ',
-  'insert' => 'Ajouter de nouvelles images à la galerie',
-  'list_new_pic' => 'Liste des nouvelles images',
-  'insert_selected' => 'Insérer les photos sélectionnées',
-  'no_pic_found' => 'Aucun nouveau fichier n\'a été trouvé',
-  'be_patient' => 'Soyez patient. Le script a besoin de temps pour mettre les photos en ligne',
-  'no_album' => 'Aucun album sélectionné',
-  'result_icon' => 'Cliquer pour les détails ou  pour recharger',  //cpg1.4
-  'notes' =>  '<ul>'.
-                          '<li><b>OK</b> : signifie que le fichier a été ajouté  avec succès'.
-                          '<li><b>DP</b> : signifie que le fichier est un doublon et existe déjà dans la base de données'.
-                          '<li><b>PB</b> : signifie que le fichier n\'a pas pu être ajouté, vérifiez votre configuration et les droits (CHMOD) du répertoire de destination du fichier'.
-                          '<li><b>NA</b> : signifie que vous n\'avez pas sélectionné d\'album de destination pour ce fichier, cliquez sur \'<a href="javascript:history.back(1)">retour</a>\' et sélectionnez un album. si vous n\'avez pas d\' album <a href="albmgr.php">créez en un d\'abord</a></li>'.
-                          '<li>Si les signes OK, DP, PB n\'apparaissent pas, cliquez sur le lien brisé afin de voir le message d\'erreur généré par PHP'.
-                          '<li>Si votre navigateur vous indique un dépassement de durée, cliquez sur &quot;Actualiser&quot;.'.
-                          '</ul>',
-  'select_album' => 'Choisissez un album',
-  'check_all' => 'Tout cocher', //cpg1.3.0
-  'uncheck_all' => 'Tout décocher', //cpg1.3.0
-  'no_folders' => 'Il n\'y a actuellement pas de sous-répertoire dans le répertoire &quot;albums&quot;. Vérifiez que vous avez bien créé un sous-répertoire dans le répertoire &quot;albums&quot; et uploadez-y vos fichiers par le FTP. Vous ne devez pas uploader dans les répertoires &quot;userpics&quot; ou &quot;edit&quot; , ils sont réservés pour les uploads en HTML ou pour des traitements internes.', //cpg1.4
-   'albums_no_category' => 'Albums sans catégorie', //cpg1.4 // album pulldown mod, added by frogfoot
-  'personal_albums' => '* Albums personnels', //cpg1.4 // album pulldown mod, added by frogfoot
-  'browse_batch_add' => 'Interface d\'exploration (recommandé)', //cpg1.4
-  'edit_pics' => 'Editer les fichiers', //cpg1.4
-  'edit_properties' => 'Propriétés de l\'album', //cpg1.4
-  'view_thumbs' => 'Voir les vignettes', //cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File stat_details.php //cpg1.4
-// ------------------------------------------------------------------------- //
-
-if (defined('STAT_DETAILS_PHP')) $lang_stat_details_php = array(
-  'show_hide' => 'afficher / cacher cette colonne', //cpg1.4
-  'vote' => 'Détails des votes', //cpg1.4
-  'hits' => 'Détails des hits', //cpg1.4
-  'stats' => 'Statistiques des votes', //cpg1.4
-  'sdate' => 'Date', //cpg1.4
-  'rating' => 'Vote', //cpg1.4
-  'search_phrase' => 'Phrase de recherche', //cpg1.4
-  'referer' => 'Référant', //cpg1.4
-  'browser' => 'Navigateur', //cpg1.4
-  'os' => 'Système d\'exploitation', //cpg1.4
-  'ip' => 'IP', //cpg1.4
-  'sort_by_xxx' => 'Classer par %s', //cpg1.4
-  'ascending' => 'ascendant', //cpg1.4
-  'descending' => 'descendant', //cpg1.4
-  'internal' => 'interne', //cpg1.4
-  'close' => 'fermer', //cpg1.4
-  'hide_internal_referers' => 'cacher les attributs internes', //cpg1.4
-  'date_display' => 'Date d\'affichage', //cpg1.4
-  'submit' => 'soumettre / actualiser', //cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File thumbnails.php
-// ------------------------------------------------------------------------- //
-
-// Void
-
-// ------------------------------------------------------------------------- //
-// File upload.php
-// ------------------------------------------------------------------------- //
-
-if (defined('UPLOAD_PHP')) $lang_upload_php = array(
-  'title' => 'Uploader un fichier',
-  'custom_title' => 'Formulaire de requête personnalisée',
-  'cust_instr_1' => 'Vous pouvez sélectionner un nombre personnalisé de boxes d\'uploads, dans la limite listée ci-dessous.',
-  'cust_instr_2' => 'Nombre de cases de requête',
-  'cust_instr_3' => 'Cases d\'uploads de fichier : %s',
-  'cust_instr_4' => 'Cases d\'uploads URI/URL : %s',
-  'cust_instr_5' => 'Cases d\'uploads URI/URL :',
-  'cust_instr_6' => 'Cases d\'uploads de fichier :',
-  'cust_instr_7' => 'Merci de saisir le nombre de chaque type de cases d\'uploads désiré. Ensuite cliquez sur \'Continuer\'. ',
-  'reg_instr_1' => 'Action invalide pour la création du formulaire.',
-  'reg_instr_2' => 'Vous pouvez maintenant uploader vos fichiers en utilisant les cases d\'upload ci-dessous. Le poids des fichiers uploadés de votre fichier vers le serveur ne peut excéder %s Ko chacun. Les fichiers ZIP uploadés dans les sections \'Upload de fichier\' et \'Upload URI/URL\' resteront compressés.',
-  'reg_instr_3' => 'Si vous souhaitez que le fichier soit décompressé, vous devez utiliser la case de téléchargement fournie dans la zone \'Upload de ZIP décompressible\'',
-  'reg_instr_4' => 'Si vous utilisez la section d\'upload URI/URL, saisissez l\'adresse du fichier de la forme http://www.votre-site.com/images/exemple.jpg',
-  'reg_instr_5' => 'Lorsque le formulaire est complété, cliquez sur \'Continuer\'.',
-  'reg_instr_6' => 'Upload de ZIP décompressible :',
-  'reg_instr_7' => 'Uploads de fichier :',
-  'reg_instr_8' => 'Uploads URI/URL :',
-  'error_report' => 'Rapport d\'erreur',
-  'error_instr' => 'Le téléchargement suivant a généré des erreurs :',
-  'file_name_url' => 'Nom de fichier / URL',
-  'error_message' => 'Message d\'erreur',
-  'no_post' => 'Fichier non uploadé par POST.',
-  'forb_ext' => 'Extension de fichier non autorisée.',
-  'exc_php_ini' => 'Le poids excède celui permis par le fichier php.ini.',
-  'exc_file_size' => 'Le poids excède celui permis par Coppermine.',
-  'partial_upload' => 'Upload partiel uniquement.',
-  'no_upload' => 'L\'upload ne s\'est pas effectué.',
-  'unknown_code' => 'Code d\'erreur d\'upload PHP inconnu.',
-  'no_temp_name' => 'Pas d\'upload - Pas de dossier temporaire.',
-  'no_file_size' => 'Pas de données ou données endommagées',
-  'impossible' => 'Impossible à déplacer.',
-  'not_image' => 'Pas une image ou image endommagée',
-  'not_GD' => 'N\'est pas une extension GD.',
-  'pixel_allowance' => 'La hauteur et/ou la largeur de l\'image uploadée est plus grande que celle permise dans la configuration de la galerie.', //cpg1.4
-  'incorrect_prefix' => 'Préfixe URI/URL incorrect',
-  'could_not_open_URI' => 'Ouverture d\'URI impossible.',
-  'unsafe_URI' => 'Sécurité non vérifiable.',
-  'meta_data_failure' => 'Erreur de Meta-données',
-  'http_401' => '401 Non autorisé',
-  'http_402' => '402 Paiement requis',
-  'http_403' => '403 Interdit',
-  'http_404' => '404 Non trouvé',
-  'http_500' => '500 Erreur interne au serveur',
-  'http_503' => '503 Service indisponible',
-  'MIME_extraction_failure' => 'Type MIME indéterminé.',
-  'MIME_type_unknown' => 'Type MIME inconnu',
-  'cant_create_write' => 'Ne peut pas créer le fichier réinscriptible.',
-  'not_writable' => 'Ne peut pas écrire dans le fichier réinscriptible.',
-  'cant_read_URI' => 'Lecture de l\'URI/URL impossible',
-  'cant_open_write_file' => 'Ne peut pas ouvrir l\'URI du fichier réinscriptible.',
-  'cant_write_write_file' => 'Ne peut pas écrire dans l\'URI du fichier réinscriptible.',
-  'cant_unzip' => 'Dézippage impossible.',
-  'unknown' => 'Erreur inconnue.',
-  'succ' => 'Uploads effectués avec succès',
-  'success' => '%s uploads effectués avec succès.',
-  'add' => 'Cliquez sur \'Continuer\' pour ajouter les fichiers aux albums.',
-  'failure' => 'Erreur d\'upload',
-  'f_info' => 'Information du fichier',
-  'no_place' => 'Le fichier précédent n\'a pas pu être placé.',
-  'yes_place' => 'Le fichier précédent a été placé avec succès',
-  'max_fsize' => 'Le poids maximal autorisé pour une image est de %s Ko',
-  'album' => 'Album',
-  'picture' => 'Fichier',
-  'pic_title' => 'Titre du fichier',
-  'description' => 'Description du fichier',
-  'keywords' => 'Mots clefs (séparés par des espaces)<br /><a href="#" onClick="return MM_openBrWindow(\'keyword_select.php\',\'selectKey\',\'width=250, height=400, scrollbars=yes,toolbar=no,status=yes,resizable=yes\')">Insert from list</a>', //cpg1.4
-  'keywords_sel' =>'Choisissez un mot-clé', //cpg1.4
-  'err_no_alb_uploadables' => 'Désolés, mais il n\'existe pas d\'album dans lequel vous avez le droit d\'uploader des photos',
-  'place_instr_1' => 'Merci de placer les fichiers dans les albums maintenant.  Vous pouvez aussi saisir les informations de chaque fichier.',
-  'place_instr_2' => 'D\'autres fichiers doivent être placés. Merci de cliquer sur \'Continuer\'.',
-  'process_complete' => 'Vous avez placé tous les fichiers avec succès.',
-   'albums_no_category' => 'L\'album n\'a pas de catégorie', //cpg1.4. //album pulldown mod, added by frogfoot
-  'personal_albums' => '* Albums personnels', //cpg1.4 //album pulldown mod, added by frogfoot
-  'select_album' => 'Sélectionnez l\'album', //cpg1.4 //album pulldown mod, added by frogfoot
-  'close' => 'Fermer', //cpg1.4
-  'no_keywords' => 'Désolé, aucun mot-clé disponible&nbsp;!', //cpg1.4
-  'regenerate_dictionary' => 'Regénérer le dictionnaire', //cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File usermgr.php
-// ------------------------------------------------------------------------- //
-
-if (defined('USERMGR_PHP')) $lang_usermgr_php = array(
-  'memberlist' => 'Liste des membres', //cpg1.4
-  'user_manager' => 'Gestion utilisateurs', //cpg1.4
-  'title' => 'Gérer les utilisateurs',
-  'name_a' => 'Nom ascendant',
-  'name_d' => 'Nom descendant',
-  'group_a' => 'Groupe ascendant',
-  'group_d' => 'Groupe descendant',
-  'reg_a' => 'Date d\'inscription ascendante',
-  'reg_d' => 'Date d\'inscription descendante',
-  'pic_a' => 'Nombre de fichiers ascendant',
-  'pic_d' => 'Nombre de fichiers descendant',
-  'disku_a' => 'Utilisation espace disque ascendant',
-  'disku_d' => 'Utilisation espace disque descendant',
-  'lv_a' => 'Dernière visite ascendante',
-  'lv_d' => 'Dernière visite descendante',
-  'sort_by' => 'Classer les utilisateurs par',
-  'err_no_users' => 'La table d\'utilisateurs est vide!',
-  'err_edit_self' => 'Vous ne pouvez pas modifier votre propre profil, utilisez le lien \'Mon profil\' pour effectuer cette opération',
-  'edit' => 'Editer',
-  'with_selected' => 'Sélectionner:', //cpg1.4
-  'delete' => 'Supprimer', //cpg1.4
-  'delete_files_no' => 'garder le fichiers publics (mais les laisser anonymes)', //cpg1.4
-  'delete_files_yes' => 'effacer les fichiers publics', //cpg1.4
-  'delete_comments_no' => 'garder les commentaires(mais les laisser anonymes)', //cpg1.4
-  'delete_comments_yes' => 'effacer les commentaires', //cpg1.4
-  'activate' => 'Activer', //cpg1.4
-  'deactivate' => 'Désactiver', //cpg1.4
-  'reset_password' => 'Changer le mot de passe', //cpg1.4
-  'change_primary_membergroup' => 'Changer de groupe principal', //cpg1.4
-  'add_secondary_membergroup' => 'Ajouter un groupe secondaire', //cpg1.4
-  'name' => 'Nom d\'utilisateur',
-  'group' => 'Groupe',
-  'inactive' => 'Inactif',
-  'operations' => 'Opérations',
-  'pictures' => 'Fichiers',
-  'disk_space_used' => 'Espace utilisé', //cpg1.4
-  'disk_space_quota' => 'Espace alloué', //cpg1.4
-  'registered_on' => 'Enregistré le',
-  'last_visit' => 'Dernière visite',
-  'u_user_on_p_pages' => '%d utilisateur(s) sur %d page(s)',
-  'confirm_del' => 'Voulez vous vraiment SUPPRIMER cet utilisateur?\\nToutes ses photos et albums seront également supprimés.', //js-alert
-  'mail' => 'MAIL',
-  'err_unknown_user' => 'L\'utilisateur sélectionné n\'existe pas!',
-  'modify_user' => 'Modifier l\'utilisateur',
-  'notes' => 'Notes',
-  'note_list' => '<li>Si vous ne souhaitez pas modifier le mot de passe actuel, laisse le champs &quot;mot de passe&quot; vide.',
-  'password' => 'Mot de passe',
-  'user_active' => 'L\'utilisateur est actif',
-  'user_group' => 'Groupe de l\'utilisateur',
-  'user_email' => 'Courriel de l\'utilisateur',
-  'user_web_site' => 'Site web de l\'utilisateur',
-  'create_new_user' => 'Créer un nouvel utilisateur',
-  'user_location' => 'Localisation de l\'utilisateur',
-  'user_interests' => 'Centres d\'intérêt de l\'utilisateur',
-  'user_occupation' => 'Activité de l\'utilisateur',
-  'user_profile1' => '$user_profile1', //cpg1.4
-  'user_profile2' => '$user_profile2', //cpg1.4
-  'user_profile3' => '$user_profile3', //cpg1.4
-  'user_profile4' => '$user_profile4', //cpg1.4
-  'user_profile5' => '$user_profile5', //cpg1.4
-  'user_profile6' => '$user_profile6', //cpg1.4
-  'latest_upload' => 'Derniers uploads',
-  'never' => 'jamais',
-  'search' => 'Chercher un utilisateur', //cpg1.4
-  'submit' => 'Soumettre', //cpg1.4
-  'search_submit' => 'Valider!', //cpg1.4
-  'search_result' => 'Résultat de recherche pour : ', //cpg1.4
-  'alert_no_selection' => 'vous devez d\\\'abord sélectionner un utilisateur!', //cpg1.4 //js-alert
-  'password' => 'mot de passe', //cpg1.4
-  'select_group' => 'Sélectionnez un groupe', //cpg1.4
-  'groups_alb_access' => 'Droits sur les albums pour le groupe', //cpg1.4
-  'album' => 'Album', //cpg1.4
-  'category' => 'Catégorie', //cpg1.4
-  'modify' => 'Modifier ?', //cpg1.4
-  'group_no_access' => 'Ce groupe n\'a pas d\'accès spécial', //cpg1.4
-  'notice' => 'Attention', //cpg1.4
-  'group_can_access' => 'Accès réservé au groupe &quot;%s&quot;', //cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File util.php
-// ------------------------------------------------------------------------- //
-
-if (defined('UTIL_PHP')) {
-$lang_util_desc_php = array(
-'Mettre à jour les titres depuis les noms de fichiers', //cpg1.4
-'Effacer les titres', //cpg1.4
-'Regénérer les vignettes et les images intermédiaires', //cpg1.4
-'Effacer les photos originales et les remplacer par les images redimensionnées', //cpg1.4
-'Effacer les images originales ou intermédiaires pour gagner de l\'espace sur le serveur', //cpg1.4
-'Effacer les commentaires orphelins', //cpg1.4
-'Recharger les informations de poids et de taille des fichiers (si vous avez édité manuellement ces fichiers)', //cpg1.4
-'Réinitialiser le compteur de vue', //cpg1.4
-'Visualiser phpinfo', //cpg1.4
-'Mettre à jour la base de données', //cpg1.4
-'Visualiser les fichiers \'log\'', //cpg1.4
-);
-$lang_util_php = array(
-  'title' => 'Utilitaires d\'administration (Redimensionnement des images)',
-  'what_it_does' => 'Fonctionnalités',
-  'file' => 'Fichier',
-  'problem' => 'Probleme', //cpg1.4
-  'status' => 'Status', //cpg1.4
-  'title_set_to' => 'titre changé en',
-  'submit_form' => 'soumettre',
-  'updated_succesfully' => 'mise à jour effectuée avec succès',
-  'error_create' => 'ERREUR lors de la création',
-  'continue' => 'Traitez d\'autres images',
-  'main_success' => 'Le fichier %s est maintenant utilisé comme image principale',
-  'error_rename' => 'Erreur lors du changement du nom de %s à %s',
-  'error_not_found' => 'Le fichier %s n\'a pas été trouvé',
-  'back' => 'retour à la page principale',
-  'thumbs_wait' => 'Mise à jour des vignettes et/ou images redimensionnées, merci de patienter...',
-  'thumbs_continue_wait' => 'Continuer la mise à jour des vignettes et/ou des images redimensionnées...',
-  'titles_wait' => 'Mise à jour des titres, merci de patienter...',
-  'delete_wait' => 'Suppression des titres, merci de patienter...',
-  'replace_wait' => 'Suppression des originaux et remplacement de ces derniers par les images redimensionnées, merci de patienter...',
-  'instruction' => 'Instructions rapides',
-  'instruction_action' => 'Sélectionnez une action',
-  'instruction_parameter' => 'Définissez les paramètres',
-  'instruction_album' => 'Sélectionnez un album',
-  'instruction_press' => 'Appuyez sur %s',
-  'update' => 'Mettre à jour les vignettes et/ou les photos redimensionnées',
-  'update_what' => 'Ce qui devrait être mis à jour',
-  'update_thumb' => 'Seulement les vignettes',
-  'update_pic' => 'Seulement les photos redimensionnées',
-  'update_both' => 'Les vignettes et les images redimensionnées',
-  'update_number' => 'Nombre d\'images traitées par clic',
-  'update_option' => '(essayez de réduire cette valeur si vous avez des problèmes de timeout)',
-  'filename_title' => 'Nom du fichier / Titre de l\'image',
-  'filename_how' => 'Comment le nom du fichier doit-il être modifié ?',
-  'filename_remove' => 'Supprimer la fin .jpg et remplacer _ (underscore) par des espaces',
-  'filename_euro' => 'Changer 2003_11_23_13_20_20.jpg en 23/11/2003 13:20',
-  'filename_us' => 'Changer 2003_11_23_13_20_20.jpg en 11/23/2003 13:20',
-  'filename_time' => 'Changer 2003_11_23_13_20_20.jpg en 13:20',
-  'delete' => 'Supprimer le titre des photos ou les photos dans leur taille d\'origine',
-  'delete_title' => 'Supprimer le titre des photos',
-  'delete_title_explanation' => 'Cela va effacer l\'ensemble des titres des photos de l\'album sélectionné.', //cpg1.4
-  'delete_original' => 'Supprimer les photos dans leur taille d\'origine',
-  'delete_original_explanation' => 'Cela va supprimer les photos à la taille d\'origine', //cpg1.4
-  'delete_intermediate' => 'Supprimer les images intermédiaires', //cpg1.4
-  'delete_intermediate_explanation' => 'Cela va supprimer les images intermédiaires (\'normales\').<br />Utilisez cette fonction pour libérer de l\'espace disque si vous avez décoché \'Générer les images intermédiaires\'dans le panneau de configuration après avoir placé les images.', //cpg1.4
-  'delete_replace' => 'Supprime les images originales en les remplaçant par les versions redimensionnées',
-  'titles_deleted' => 'Tous les titres des images de l\'album sélectionné sont effacés', //cpg1.4
-  'deleting_intermediates' => 'Patientez: Effacement des images intermédiaires...', //cpg1.4
-  'searching_orphans' => 'Patientez: recherche des commentaires orphelins...', //cpg1.4
-  'select_album' => 'Sélectionner un album',
-  'delete_orphans' => 'Supprimer les commentaires orphelins (fonctionne pour tous les albums)', //cpg1.4
-  'delete_orphans_explanation' => 'Cela va identifier tous les commentaires qui ne sont plus associés à un fichier et vous permettre de les effacer.<br />Vérifie tous les albums.', //cpg1.4
-  'refresh_db' => 'Recharger les informations de poid et de taille', //cpg1.4
-  'refresh_db_explanation' => 'Cela va recharger les informations de poids et de taille. Utilisez cette fonction si les quotas sont incorrects ou si vous avez changé manuellement ces données.', //cpg1.4
-  'reset_views' => 'Réinitialisation du compteur de vues', //cpg1.4
-  'reset_views_explanation' => 'Met à zero le compteur de vue de l\'ensemble des fichiers de l\'album sélectionné.', //cpg1.4
-  'orphan_comment' => 'Pas de commentaire ophelin trouvé', //cpg1.3.0
-  'delete' => 'Supprimer',
-  'delete_all' => 'Tout supprimer',
-  'delete_all_orphans' => 'Supprimer tous les commentaires orphelins?', //cpg1.4
-  'comment' => 'Commentaire: ',
-  'nonexist' => 'Lié à un fichier non existant # ',
-  'phpinfo' => 'Afficher le phpinfo',
-  'phpinfo_explanation' => 'Contient des informations techniques sur votre serveur.<br /> - Adressez vous a votre hébergeur pour toutes questions concernant ces données.', //cpg1.4
-  'update_db' => 'Mise à jour de la base de données',
-  'update_db_explanation' => 'Si vous avez remplacé des fichiers Coppermine, effectué des modifications ou upgradé à partir de versions précédentes de Coppermine, assurez-vous d\'exécuter la mise à jour de base de données. Cela créera les tables et/ou valeurs de configuration nécessaires dans la base de données.', //cpg1.3.0
-  'view_log' => 'Visualisez les fichiers \'log\'', //cpg1.4
-  'view_log_explanation' => 'Coppermine peut garder une trace de touts les actions effectuées par les utilisateurs. Vous pouvez consulter ces logs si vous en avez activé l\'enregistrement dans la page de <a href="admin.php">configuration</a>.', //cpg1.4
-  'versioncheck' => 'Vérification de la version', //cpg1.4
-  'versioncheck_explanation' => 'Vérifie la version des fichiers de Coppermine afin de voir si vous avez remplacé tous les fichiers après une mise à jour, ou si les fichier sources de Coppermine ont été mis à jour depuis votre installation.', //cpg1.4
-  'bridgemanager' => 'Gestionnaire de Bridge', //cpg1.4
-  'bridgemanager_explanation' => 'Active/Désactive l\'intégration (Bridge)de Coppermine avec une autre application (ex:Votre Forum).', //cpg1.4
-);
-}
-
-// ------------------------------------------------------------------------- //
-// File versioncheck.php //cpg1.4
-// ------------------------------------------------------------------------- //
-
-if (defined('VERSIONCHECK_PHP')) $lang_versioncheck_php = array(
-  'title' => 'Vérification de la version', //cpg1.4
-  'what_it_does' => 'Cette page s\'adresse aux utilisateurs ayant mis à jour leur installation de Coppermine. Ce script passe en revue les fichiers installés sur votre serveur et tente de vérifier si leur version est la même que celle des fichiers les plus récents mis à disposition au téléchargement sur http://coppermine.sourceforge.net, L\'affichage de ces versions vous permettra de vérifier que votre mise à jour est complête.<br />Sont affichées en rouge les données qui doivent impérativement être mises à jour. Les entrées affichées en jaune doivent être vérifiés. Celles en vert (ou dans la couleur par défaut de votre texte) sont OK.<br />Pour plus de détails, cliquez sur l\'icone d\'aide.', //cpg1.4
-  'online_repository_unable' => 'Impossible de se connecter au serveur de téléchargement', //cpg1.4
-  'online_repository_noconnect' => 'Coppermine n\'a pas pu se connecter au serveur de téléchargement. Il peut y avoir deux raisons:', //cpg1.4
-  'online_repository_reason1' => 'Le serveur de téléchargement de Coppermine n\'est pas en ligne actuellement - Essayez si vous pouvez accéder à cette page: %s - Sinon, essayez plus tard.', //cpg1.4
-  'online_repository_reason2' => 'Sur votre serveur, PHP est configuré avec l\'option \'%s\' désactivée (par défaut elle est activée). Si vous êtes administrateur du serveur, activez cette option dans le fichier <i>php.ini</i> (ou au moins permettez qu\'il soit supplanté par %s). Si vous êtes hébergé ailleurs, vous devrez probablement accepter le fait de ne pas pouvoir comparer vos fichiers avec le référentiel en ligne. Cette page ne montrera dès lors que la version de vos fichiers - pas les mises à jour.', //cpg1.4
-  'online_repository_skipped' => 'La connexion au référentiel a été ignorée', //cpg1.4
-  'online_repository_to_local' => 'Le script utilise la copie locale du fichier de versions. Les données peuvent être inexactes si vous avez fait une mise à jour partielle de Coppermine. Les modifications faites aux fichiers après la publication ne seront également pas prises en compte.', //cpg1.4
-  'local_repository_unable' => 'Impossible de se connecter au référentiel sur votre serveur', //cpg1.4
-  'local_repository_explanation' => 'Coppermine n\'a pas pu se connecter au fichier de référence %s sur votre serveur. Cela signifie probablement que vous ne l\'avez pas uploadé sur votre serveur. Faites-le maintenant et cliquez sur \'Actualiser\'.<br />Si ça ne marche toujours pas, votre hébergeur a probablement désactivé une partie des <a href="http://www.php.net/manual/fr/ref.filesystem.php">fonctions de système de fichiers de PHP</a>. Si c\'est le cas, vous ne pourrez malheureusement pas utiliser cet outil.', //cpg1.4
-  'coppermine_version_header' => 'Version installée de Coppermine', //cpg1.4
-  'coppermine_version_info' => 'Vous avez actuellement installé la version: %s', //cpg1.4
-  'coppermine_version_explanation' => 'Si vous pensez que ceci est faut et que vous êtes sûr d\'avoir installé une version plus récente de Coppemrine, vous n\'avez probablement pas uploadé la version la plus récente du fichier <i>include/init.inc.php</i>', //cpg1.4
-  'version_comparison' => 'Comparaison de version', //cpg1.4
-  'folder_file' => 'Répertoire/Fichier', //cpg1.4
-  'coppermine_version' => 'Version de Coppermine', //cpg1.4
-  'file_version' => 'Version du fichier', //cpg1.4
-  'webcvs' => 'web svn', //cpg1.4
-  'writable' => 'inscriptible', //cpg1.4
-  'not_writable' => 'non inscriptible', //cpg1.4
-  'help' => 'Aide', //cpg1.4
-  'help_file_not_exist_optional1' => 'Fichier/Répertoire n\'existe pas', //cpg1.4
-  'help_file_not_exist_optional2' => 'Le fichier/répertoire %s n\'a pas été trouvé sur votre serveur. Bien qu\'il soit optionnel, vous devriez l\'uploader sur votre serveur (en utilisant un client FTP) si vous rencontrez des problèmes.', //cpg1.4
-  'help_file_not_exist_mandatory1' => 'Fichier/Répertoire n\'existe pas', //cpg1.4
-  'help_file_not_exist_mandatory2' => 'Le fichier/répertoire %s n\'a pas été trouvé sur votre serveur alors qu\'il est obligatoire. Uploadez-le sur votre serveur (en utilisant un client FTP).', //cpg1.4
-  'help_no_local_version1' => 'Pas de version du fichier local', //cpg1.4
-  'help_no_local_version2' => 'Le script n\'a pas pu extraire la version de votre fichier local - soit votre fichier est trop vieux, soit vous l\'avez modifié en supprimant les informations situées dans l\'entête. Il est conseillé de mettre ce fichier à jour.', //cpg1.4
-  'help_local_version_outdated1' => 'Version de fichier dépassée', //cpg1.4
-  'help_local_version_outdated2' => 'Votre version du fichier semble venir d\'une ancienne version de Coppermine (que vous avez probablement mise à jour). Soyez bien sûr de mettre aussi à jour ce fichier.', //cpg1.4
-  'help_local_version_na1' => 'Impossible d\'extraire les information de version CVS', //cpg1.4
-  'help_local_version_na2' => 'Le script n\'a pas pu déterminer quelle est la version CVS du fichier qui se trouve sur votre serveur. Vous devriez uploader le fichier de votre package.', //cpg1.4
-  'help_local_version_dev1' => 'Version de développement', //cpg1.4
-  'help_local_version_dev2' => 'Le fichier qui se trouve sur votre serveur semble plus récent que votre version de Coppermine. Soit vous utilises une version de développement de Coppermine (à faire uniquement si vous savez ce que vous faites), soit vous avez mis à jour Coppermine sans uploader le fichier include/init.inc.php', //cpg1.4
-  'help_not_writable1' => 'Répertoire non inscriptible', //cpg1.4
-  'help_not_writable2' => 'Changez les permissions (CHMOD) pour donner au script l\'accès en écriture au répertoire %s et à tout ce qu\'il contient.', //cpg1.4
-  'help_writable1' => 'Fichier inscriptible', //cpg1.4
-  'help_writable2' => 'L\'accès en écriture au répertoire %s est aurorisé. C\'est un risque inutile, Coppermine n\'a besoin que des autorisations de lecture et d\'exécution.', //cpg1.4
-  'help_writable_undetermined' => 'Coppermine n\'a pas pu définir si le répertoire est accessible en écriture.', //cpg1.4
-  'your_file' => 'votre fichier', //cpg1.4
-  'reference_file' => 'Fichier de référence', //cpg1.4
-  'summary' => 'Sommaire', //cpg1.4
-  'total' => 'Total des fichiers/répertoires vérifiés', //cpg1.4
-  'mandatory_files_missing' => 'Fichiers necessaires manquants', //cpg1.4
-  'optional_files_missing' => 'Fichiers optionnels manquants', //cpg1.4
-  'files_from_older_version' => 'Fichiers venant d\'une ancienne version de Coppermine', //cpg1.4
-  'file_version_outdated' => 'version de fichier dépassée', //cpg1.4
-  'error_no_data' => 'Le script n\'a pas pu récupérer les informations désirées. Veuillez nous en excuser.', //cpg1.4
-  'go_to_webcvs' => 'aller à %s', //cpg1.4
-  'options' => 'Options', //cpg1.4
-  'show_optional_files' => 'montrer les fichiers/repertoires optionnels', //cpg1.4
-  'show_mandatory_files' => 'montrer les fichiers necessaires', //cpg1.4
-  'show_file_versions' => 'montrer la version des fichiers', //cpg1.4
-  'show_errors_only' => 'montrer uniquement les fichiers/répertoires avec des erreurs', //cpg1.4
-  'show_permissions' => 'Monter les droits des répertoires', //cpg1.4
-  'show_condensed_output' => 'Montrer un affichage condensé (pour faciliter les captures d\écran)', //cpg1.4
-  'coppermine_in_webroot' => 'Coppermine est installé à la racine du site', //cpg1.4
-  'connect_online_repository' => 'Essayer de se connecter au référentiel en ligne', //cpg1.4
-  'show_additional_information' => 'montrer les informations complémentaires', //cpg1.4
-  'no_webcvs_link' => 'Ne pas montrer les liens web svn', //cpg1.4
-  'stable_webcvs_link' => 'montrer le lien webcvs vers la branche stable', //cpg1.4
-  'devel_webcvs_link' => 'montrer le lien webcvs vers la branche de développement', //cpg1.4
-  'submit' => 'appliquer les changements/ Rafraichir l\'affichage', //cpg1.4
-  'reset_to_defaults' => 'Revenir aux valeurs par défaut', //cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File view_log.php  //cpg1.4
-// ------------------------------------------------------------------------- //
-
-if (defined('VIEWLOG_PHP')) $lang_viewlog_php = array(
-  'delete_all' => 'Supprimer tous les logs', //cpg1.4
-  'delete_this' => 'Supprimer ce log', //cpg1.4
-  'view_logs' => 'Voir les logs', //cpg1.4
-  'no_logs' => 'Pas de log créé.', //cpg1.4
-);
-
-
-// ------------------------------------------------------------------------- //
-// File xp_publish.php //cpg1.4
-// ------------------------------------------------------------------------- //
-
-if (defined('XP_PUBLISH_PHP')) {
-
-$lang_xp_publish_client = <<<EOT
-<h1>Client pour l'Assistant de Publication Web XP</h1>\n<p>Ce module permet d'utiliser l'Assistant de Publication Web de <b>Windows XP</b> avec Coppermine.</p>\n<p>Ce code est basé sur un article publié par
-EOT;
-
-$lang_xp_publish_required = <<<EOT
-\n<h2>Conditions requises</h2>\n<ul>\n<li>Windows XP pour avoir l'assistant.</li>\n<li>Une installation de Coppermine en ordre de marche dans laquelle <b>la function d'upload par web fonctionne convenablement.</b></li>\n</ul>\n<h2>Comment installer le client</h2>\n<ul>\n<li>Faites un clic droit sur
-EOT;
-
-$lang_xp_publish_select = <<<EOT
-Choisissez &quot;Enregistrer la cible sous...&quot;. Enregistrez le fichier sur votre disque dur. En enregistrant le fichier, vérifiez que le nom proposé est <b>cpg_###.reg</b> (le ### représente un nombre basé sur l'heure). Si ce n'est pas le cas, modifiez-le (l'élément le plus important est le .reg à la fin). Quand c'est fait, double-cliquez sur le fichier pour enregistrer les informations de Coppermine dans votre Assistant de Publication Web.</li>\n</ul>\n
-EOT;
-
-$lang_xp_publish_testing = <<<EOT
-\n<h2>Comment tester</h2>\n<ul>\n<li>Dans l'Explorateur Windows, sélectionnez quelques fichiers et cliquez <p>Publie les éléments sélectionnés sur le web</b> dans le panneau de gauche.</li>\n<li>Confirmez votre sélection de fichiers. Cliquez sur <b>Suivant</b>.</li><li>Dans la liste de services qui apparaît, sélectionnez celui de votre galerie (il a le même nom que votre galerie). Si le service n'apparaît pas dans la liste, vérifiez que vous avez installé <b>cpg_pub_wizard.reg</b> comme décrit plus haut.</li>\n<li>Introduisez vos informations de connexion</li>\n<li>Choisissez l'album dans lequel vous voulez placer vos photos ou créez-en un nouveau.</li>\n<li>Cliquez sur <b>Suivant</b>. L'upload de vos photos commence.</li>\n<li>Une fois que c'est fini, vérifiez dans votre galerie si les fichiers ont été correctement ajoutés.</li>\n</ul>\n
-EOT;
-
-$lang_xp_publish_notes = <<<EOT
-<h2>Notes :</h2>\n<ul>\n<li>Dès que l'upload a démarré, l'assistant ne peut pas afficher les messages d'erreur retournés par Coppermine. Il est donc impossible de savoir si l'upload a réussi ou échoué sans vérifier dans la galerie.</li>\n<li>Si l'upload échoue, activez le &quot;Mode de débogage&quot; dans la page de configuration de Coppermine, essayez avec une seule photo et vérifiez les messages d'erreur dans le fichier
-EOT;
-
-$lang_xp_publish_flood = <<<EOT
-qui se trouve dans le répertoire de Coppermine sur votre serveur.</li>\n<li>Pour éviter que la galerié ne soit <i>inondée</i> par des photos envoyées avec l'assistant, seuls les <b>administrateurs de la galerie</b> et les <b>utilisateurs qui peuvent avoir leurs propres albums</b> peuvent utiliser cette fonction.</li>\n</ul>\n
-EOT;
-
-
-
-$lang_xp_publish_php = array(
-  'title' => 'Coppermine - Assistant de Publication Web XP', //cpg1.4
-  'welcome' => 'Bienvenue <b>%s</b>,', //cpg1.4
-  'need_login' => 'Vous devez vous identifer dans la galerie depuis votre navigateur avant de pouvoir utiliser cet assistant.<p/><p>Lorsque vous vous identifiez, n\'oubliez pas de sélectionner l\'option <b>se rappeler de moi</b> si elle est présente.', //cpg1.4
-  'no_alb' => 'Désolé, mais il n\'y a aucun album où vous pouvez ulpoader des images avec cet assistant.', //cpg1.4
-  'upload' => 'Uploadez vos images dans un album existant', //cpg1.4
-  'create_new' => 'Créez un nouvel album pour vos images', //cpg1.4
-  'album' => 'Album', //cpg1.4
-  'category' => 'Categorie', //cpg1.4
-  'new_alb_created' => 'votre nouvel album &quot;<b>%s</b>&quot; a ét crée.', //cpg1.4
-  'continue' => 'Cliquez sur &quot;Suivant&quot; pour commencer à uploader vos images', //cpg1.4
-  'link' => 'ce lien', //cpg1.4
-);
-}
-?>
+<?php
+/*************************
+  Coppermine Photo Gallery
+  ************************
+  Copyright (c) 2003-2009 Coppermine Dev Team
+  v1.1 originally written by Gregory DEMAR
+
+  This program is free software; you can redistribute it and/or modify
+  it under the terms of the GNU General Public License version 3
+  as published by the Free Software Foundation.
+  
+  ********************************************
+  Coppermine version: 1.4.25
+  $Source: /cvsroot/coppermine/stable/lang/french.php,v $
+  $Revision: 5997 $
+  $Author: gaugau $
+  $Date: 2009-05-26 08:43:24 +0200 (Di, 26 Mai 2009) $
+**********************************************/
+
+if (!defined('IN_COPPERMINE')) { die('Not in Coppermine...');}
+
+// info about translators and translated language
+$lang_translation_info = array(
+'lang_name_english' => 'French',
+'lang_name_native' => 'Français',
+'lang_country_code' => 'fr',
+'trans_name'=> 'Stefvar and Frantz and Titooy',
+'trans_email' => '',
+'trans_website' => '',
+'trans_date' => '2005-08-31',
+);
+
+$lang_charset = 'UTF-8';
+$lang_text_dir = 'ltr'; // ('ltr' for left to right, 'rtl' for right to left)
+
+// shortcuts for Byte, Kilo, Mega
+$lang_byte_units = array('Octets', 'Ko', 'Mo');
+
+// Day of weeks and months
+$lang_day_of_week = array('Dim', 'Lun', 'Mar', 'Mer', 'Jeu', 'Ven', 'Sam');
+$lang_month = array('Jan', 'Fev', 'Mar', 'Avr', 'Mai', 'Juin', 'Juil', 'Aout', 'Sep', 'Oct', 'Nov', 'Dec');
+
+// Some common strings
+$lang_yes = 'Oui';
+$lang_no  = 'Non';
+$lang_back = 'Retour';
+$lang_continue = 'CONTINUER';
+$lang_info = 'Information';
+$lang_error = 'Erreur';
+$lang_check_uncheck_all = 'tout sélectionner/désélectionner'; //cpg1.4
+
+// The various date formats
+// See http://www.php.net/manual/en/function.strftime.php to define the variable below
+$album_date_fmt =  '%d %B %Y';
+$lastcom_date_fmt =  '%d/%m/%y à %H:%M';
+$lastup_date_fmt = '%d %B %Y';
+$register_date_fmt = '%d %B %Y';
+$lasthit_date_fmt = ' %a %d %B %Y à %H:%M';
+$comment_date_fmt =  '%a %d %B %Y à %H:%M';
+$log_date_fmt = '%B %d, %Y at %I:%M %p'; //cpg1.4
+
+// For the word censor
+$lang_bad_words = array('*fuck*', 'asshole', 'assramer', 'bitch*', 'c0ck', 'clits', 'Cock', 'cum', 'cunt*', 'dago', 'daygo', 'dego', 'dick*', 'dildo', 'fanculo', 'feces', 'foreskin', 'Fu\(*', 'fuk*', 'honkey', 'hore', 'injun', 'kike', 'lesbo', 'masturbat*', 'motherfucker', 'nazis', 'nigger*', 'nutsack', 'penis', 'phuck', 'poop', 'pussy', 'scrotum', 'shit', 'slut', 'titties', 'titty', 'twaty', 'wank*', 'whore', 'wop*', 'merde', 'putain', 'enculé*', 'salope', 'bite', 'cul', 'pute', 'pénis', 'clito', 'couille', 'pétasse', 'connard', 'salaud');
+
+$lang_meta_album_names = array(
+  'random' => 'Photos aléatoires',
+  'lastup' => 'Derniers ajouts',
+  'lastalb'=> 'Derniers albums mis à jour',
+  'lastcom' => 'Derniers commentaires',
+  'topn' => 'Les plus populaires',
+  'toprated' => 'Les mieux notées',
+  'lasthits' => 'Les dernières vues',
+  'search' => 'Résultats de la recherche',
+  'favpics'=> 'Photos préférées', //cpg1.4
+);
+
+$lang_errors = array(
+  'access_denied' => 'Vous n\'avez pas la permission d\'accéder à cette page.',
+  'perm_denied' => 'Vous n\'avez pas la permission d\'effectuer cette opération.',
+  'param_missing' => 'Script appelé sans les paramètres nécessaires.',
+  'non_exist_ap' => 'L\'album/la photo demandé(e) n\'existe pas!',
+  'quota_exceeded' => 'Espace disque dépassé<br /><br />Vous avez un quota d\'espace de [quota]K, vos fichiers utilisent [space]K, le fait d\'ajouter ce fichier vous ferait dépasser votre quota.',
+  'gd_file_type_err' => 'L\'utilisation de &quot;GD image library&quot; ne vous permet d\'utiliser que de images de type JPEG et PNG.',
+  'invalid_image' => 'L\'image que vous avez uploadée est corrompue ou ne peut pas être prise en charge par GD library',
+  'resize_failed' => 'Impossible de créer la vignette ou l\'image réduite.',
+  'no_img_to_display' => 'Pas d\'image à afficher',
+  'non_exist_cat' => 'La catégorie sélectionnée n\'existe pas',
+  'orphan_cat' => 'Une catégorie a un parent inexistant, utilisez le gestionnaire de catégories afin de remédier au problème.',
+  'directory_ro' => 'Le répertoire \'%s\' n\'est pas inscriptible : les images ne peuvent être supprimées.',
+  'non_exist_comment' => 'Le commentaire sélectionné n\'existe pas.',
+  'pic_in_invalid_album' => 'L\'image se trouve dans un album qui n\'existe pas (%s)!?',
+  'banned' => 'Vous êtes pour l\'instant banni de ce site.',
+  'not_with_udb' => 'Cette fonction est désactivée dans Coppermine parce que la galerie est intégrée à un forum. Soit l\'action que vous essayez d\'effectuer n\'est pas disponible dans cette configuration, soit vous devez l\'effectuer depuis le forum auquel vous avez intégré la galerie.',
+  'offline_title' => 'Hors Ligne', //cpg1.3.0
+  'offline_text' => 'Cette galerie n\'est pas en ligne actuellement. Revenez la voir très bientôt&nbsp;!', //cpg1.3.0
+  'ecards_empty' => 'Il n\'y a pas encore de logs enregistrés. Vérifiez que vous avez activé l\'option correspondante dans la configuration de Coppermine.', //cpg1.3.0
+  'action_failed' => 'Erreur&nbsp;! Coppermine ne peut pas traiter cette requête.', //cpg1.3.0
+  'no_zip' => 'Les librairies nécessaires au traitement des fichiers ZIP ne sont pas installées. Contactez l\'Administrateur du site.', //cpg1.3.0
+  'zip_type' => 'Vous n\'avez pas l\'autorisation de télécharger des fichiers ZIP.', //cpg1.3.0
+  'database_query' => 'Il y eu une erreur lors de l\'exécution de la requête', //cpg1.4
+  'register_globals_on' => 'Le paramètre PHP register_globals est activé (sur on) sur votre serveur, ce qui est une mauvaise idée en terme de sécurité. Il est fortement recommandé de le désactiver (mettre à off). [<a href="http://forum.coppermine-gallery.net/index.php/topic,59569.0.html" rel="external" class="external">more</a>]',
+);
+
+$lang_bbcode_help_title = 'aide bbcode'; //cpg1.4
+$lang_bbcode_help = 'Vous pouvez ajouter des liens cliquables et formater le texte de ce champ en utilisant les balises bbcode: <li>[b]Gras[/b] =&gt; <b>Gras</b></li><li>[i]Italique[/i] =&gt; <i>Italique</i></li><li>[url=http://votresite.com/]Texte du lien[/url] =&gt; <a href="http://votresite.com">Url Text</a></li><li>[email]utilisateur@domaine.com[/email] =&gt; <a href="mailto:utilisateur@domaine.com">utilisateur@domaine.com</a></li><li>[color=red]Votre texte[/color] =&gt; <span style="color:red">Votre texte</span></li><li>[img]http://coppermine-gallery.net/demo/cpg14x/images/red.gif[/img] => <img src="../images/red.gif" border="0" alt="" /></li>'; //cpg1.4
+
+// ------------------------------------------------------------------------- //
+// File theme.php
+// ------------------------------------------------------------------------- //
+
+$lang_main_menu = array(
+  'home_title' => 'Aller à la page d\'accueil',
+  'home_lnk' => 'Accueil',
+  'alb_list_title' => 'Aller à la liste des albums',
+  'alb_list_lnk' => 'Albums',
+  'my_gal_title' => 'Aller dans ma galerie personnelle',
+  'my_gal_lnk' => 'Ma galerie',
+  'my_prof_title' => 'Aller à mon profil personnel', //cpg1.4
+  'my_prof_lnk' => 'Mon profil',
+  'adm_mode_title' => 'Passer en mode administrateur',
+  'adm_mode_lnk' => 'Mode administrateur',
+  'usr_mode_title' => 'Passer au mode utilisateur',
+  'usr_mode_lnk' => 'Mode utilisateur',
+  'upload_pic_title' => 'Uploader une image dans un album',
+  'upload_pic_lnk' => 'Uploader une image',
+  'register_title' => 'Créer un compte',
+  'register_lnk' => 'Inscription',
+  'login_title' => 'Se connecter', //cpg1.4
+  'login_lnk' => 'S\'identifier',
+  'logout_title' => 'Se déconnecter', //cpg1.4
+  'logout_lnk' => 'Quitter',
+  'lastup_title' => 'Afficher les dernières mises à jour', //cpg1.4
+  'lastup_lnk' => 'Derniers ajouts',
+  'lastcom_title' => 'Afficher les derniers commentaires', //cpg1.4
+  'lastcom_lnk' => 'Derniers commentaires',
+  'topn_title' => 'Afficher les dernières visualisations', //cpg1.4
+  'topn_lnk' => 'Les plus populaires',
+  'toprated_title' => 'Afficher les vues les mieux notées', //cpg1.4
+  'toprated_lnk' => 'Les mieux notées',
+  'search_title' => 'Chercher une galerie', //cpg1.4
+  'search_lnk' => 'Rechercher',
+  'fav_title' => 'Aller à mes favoris', //cpg1.4
+  'fav_lnk' => 'Mes favoris',
+  'memberlist_title' => 'Afficher la liste des membres', //cpg1.3.0
+  'memberlist_lnk' => 'Liste des membres', //cpg1.3.0
+  'faq_title' => 'FAQ: Questions fréquemment posées à propos de &quot;Coppermine&quot;', //cpg1.3.0
+  'faq_lnk' => 'FAQ', //cpg1.3.0
+);
+
+$lang_gallery_admin_menu = array(
+  'upl_app_title' => 'Valider les nouveaux uploads', //cpg1.4
+  'upl_app_lnk' => 'Fichiers à valider',
+  'admin_title' => 'Aller à la configuration', //cpg1.4
+  'admin_lnk' => 'Configuration', //cpg1.4
+  'albums_title' => 'Aller à la configuration des albums', //cpg1.4
+  'albums_lnk' => 'Albums',
+  'categories_title' => 'Aller à la configuration des catégories', //cpg1.4
+  'categories_lnk' => 'Catégories',
+  'users_title' => 'Aller à la configuration des utilisateurs', //cpg1.4
+  'users_lnk' => 'Utilisateurs',
+  'groups_title' => 'Aller à la configuration des groupes', //cpg1.4
+  'groups_lnk' => 'Groupes',
+  'comments_title' => 'Afficher tous les commentaires', //cpg1.4
+  'comments_lnk' => 'Commentaires',
+  'searchnew_title' => 'Aller au téléchargement par lots', //cpg1.4
+  'searchnew_lnk' => 'FTP =>',
+  'util_title' => 'Aller aux outils d\'administration', //cpg1.4
+  'util_lnk' => 'Utilitaires',
+  'key_title' => 'Aller au dictionnaire de mots-clés', //cpg1.4
+  'key_lnk' => 'Dictionnaire de mot-clé', //cpg1.4
+  'ban_title' => 'Aller aux utilisateurs bannis', //cpg1.4
+  'ban_lnk' => 'Bannir des utilisateurs',
+  'db_ecard_title' => 'Voir les cartes', //cpg1.4
+  'db_ecard_lnk' => 'Cartes envoyées',
+  'pictures_title' => 'Tri des images', //cpg1.4
+  'pictures_lnk' => 'Tri des images', //cpg1.4
+  'documentation_lnk' => 'Documentation', //cpg1.4
+  'documentation_title' => 'Manuel de Coppermine', //cpg1.4
+);
+
+$lang_user_admin_menu = array(
+  'albmgr_title' => 'Créer et classer mes albums', //cpg1.4
+  'albmgr_lnk' => 'Créer / classer mes albums',
+  'modifyalb_title' => 'Aller à la modification de mes albums',  //cpg1.4
+  'modifyalb_lnk' => 'Modifier mes albums',
+  'my_prof_title' => 'Aller à mon profil personnel', //cpg1.4
+  'my_prof_lnk' => 'Mon profil',
+);
+
+$lang_cat_list = array(
+  'category' => 'Catégories',
+  'albums' => 'Albums',
+  'pictures' => 'Photos',
+);
+
+$lang_album_list = array(
+  'album_on_page' => '%d albums sur %d page(s)',
+);
+
+$lang_thumb_view = array(
+  'date' => 'DATE',
+  //Sort by filename and title
+  'name' => 'NOM DU FICHIER',
+  'title' => 'TITRE',
+  'sort_da' => 'Classement ascendant par date',
+  'sort_dd' => 'Classement descendant par date',
+  'sort_na' => 'Classement ascendant par nom',
+  'sort_nd' => 'Classement descendant par nom',
+  'sort_ta' => 'Classement ascendant par titre',
+  'sort_td' => 'Classement descendant par titre',
+  'position' => 'POSITION', //cpg1.4
+  'sort_pa' => 'Classement ascendant par position', //cpg1.4
+  'sort_pd' => 'Classement descendant par position', //cpg1.4
+  'download_zip' => 'Télécharger un fichier ZIP', //cpg1.3.0
+  'pic_on_page' => '%d photos sur %d page(s)',
+  'user_on_page' => '%d utilisateurs sur %d page(s)',
+  'enter_alb_pass' => 'Entrer un mot de passe pour l\'album', //cpg1.4
+  'invalid_pass' => 'Mot de passe invalide', //cpg1.4
+  'pass' => 'Mot de passe', //cpg1.4
+  'submit' => 'Soumettre', //cpg1.4
+);
+
+$lang_img_nav_bar = array(
+  'thumb_title' => 'Retourner à la page des vignettes',
+  'pic_info_title' => 'Afficher/Cacher les informations sur l\'image',
+  'slideshow_title' => 'Diaporama',
+  'ecard_title' => 'Envoyer cette image en tant que carte électronique',
+  'ecard_disabled' => 'Les cartes électroniques sont désactivées',
+  'ecard_disabled_msg' => 'Vous n\\\'avez pas l\\\'autorisation d\\\'envoyer des cartes',//js-alert
+  'prev_title' => 'Voir l\'image précédente',
+  'next_title' => 'Voir l\'image suivante',
+  'pic_pos' => 'PHOTO %s/%s',
+  'report_title' => 'Signaler ce fichier à l\'administrateur', //cpg1.4
+  'go_album_end' => 'Aller à la fin', //cpg1.4
+  'go_album_start' => 'Retourner au début', //cpg1.4
+  'go_back_x_items' => 'avancer de %s items', //cpg1.4
+  'go_forward_x_items' => 'reculer de %s items', //cpg1.4
+);
+
+$lang_rate_pic = array(
+  'rate_this_pic' => 'Noter cette image ',
+  'no_votes' => '(Pas encore de note)',
+  'rating' => '(note actuelle : %s / 5 pour %s votes)',
+  'rubbish' => 'Très mauvais',
+  'poor' => 'Mauvais',
+  'fair' => 'Moyen',
+  'good' => 'Bon',
+  'excellent' => 'Excellent',
+  'great' => 'Superbe',
+);
+
+// ------------------------------------------------------------------------- //
+// File include/exif.inc.php
+// ------------------------------------------------------------------------- //
+
+// void
+
+// ------------------------------------------------------------------------- //
+// File include/functions.inc.php
+// ------------------------------------------------------------------------- //
+
+$lang_cpg_die = array(
+  INFORMATION => $lang_info,
+  ERROR => $lang_error,
+  CRITICAL_ERROR => 'Erreur critique',
+  'file' => 'Fichier: ',
+  'line' => 'Ligne: ',
+);
+
+$lang_display_thumbnails = array(
+  'filename' => 'Nom du fichier : ',  //cpg1.4
+  'filesize' => 'Poids du fichier : ', //cpg1.4
+  'dimensions' => 'Dimensions : ',  //cpg1.4	
+  'date_added' => 'Ajouté le : ',  //cpg1.4
+);
+
+$lang_get_pic_data = array(
+  'n_comments' => '%s commentaires',
+  'n_views' => 'vu %s fois',
+  'n_votes' => '(%s votes)',
+);
+
+$lang_cpg_debug_output = array(
+  'debug_info' => 'Infos de débogage', //cpg1.3.0
+  'select_all' => 'Tout sélectionner', //cpg1.3.0
+  'copy_and_paste_instructions' => 'Si vous souhaitez soumettre une demande d\'assistance dans le forum de support de Coppermine, copier/collez ces informations de débogage dans votre message. Assurez-vous de remplacer tous les mots de passe, même codés, par \'***\' avant de poster votre message.', //cpg1.3.0
+  'phpinfo' => 'Afficher le phpinfo', //cpg1.3.0
+  'notices' => 'Remarques', //cpg1.4
+);
+
+$lang_language_selection = array(
+  'reset_language' => 'Langue par défaut -', //cpg1.3.0
+  'choose_language' => 'Choisissez votre langue :', //cpg1.3.0
+);
+
+$lang_theme_selection = array(
+  'reset_theme' => 'Thème par défaut', //cpg1.3.0
+  'choose_theme' => 'Choisissez votre thème', //cpg1.3.0
+);
+
+$lang_version_alert = array(
+  'version_alert' => 'Version sans support d\'aide!', //cpg1.4
+  'no_stable_version' => 'Vous utilisez Coppermine  %s (%s) qui s\'adresse aux utilisateurs très expérimentés - Cette version n\'offre aucun support d\'aide. Vous pouvez l\'utiliser à vos risques et périls ou télécharger la dernière version stable si vous avez besoin d\'aide!', //cpg1.4
+  'gallery_offline' => 'La galerie est actuellement hors ligne et n\est visible que par un administrateur. N\'oubliez pas de la remettre en ligne une fois les travaux de maintenance terminés.', //cpg1.4
+);
+
+$lang_create_tabs = array(
+  'previous' => 'précédent', //cpg1.4
+  'next' => 'suivant', //cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File include/init.inc.php
+// ------------------------------------------------------------------------- //
+
+// void
+
+// ------------------------------------------------------------------------- //
+// File keyword.inc.php                                                      //
+// ------------------------------------------------------------------------- //
+
+// void
+
+// ------------------------------------------------------------------------- //
+// File include/picmgmt.inc.php
+// ------------------------------------------------------------------------- //
+
+// void
+
+// ------------------------------------------------------------------------- //
+// File include/plugin_api.inc.php
+// ------------------------------------------------------------------------- //
+$lang_plugin_api = array(
+  'error_wakeup' => 'Impossible d\'activer le plugin \'%s\'', //cpg1.4
+  'error_install' => 'Impossible d\'installer le plugin \'%s\'', //cpg1.4
+  'error_uninstall' => 'Impossible de désinstaller le plugin \'%s\'', //cpg1.4
+  'error_sleep' => 'Impossible de désinstaller le plugin \'%s\'<br />', //cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File include/smilies.inc.php
+// ------------------------------------------------------------------------- //
+
+if (defined('SMILIES_PHP')) $lang_smilies_inc_php = array(
+  'Exclamation' => 'Exclamation',
+  'Question' => 'Question',
+  'Very Happy' => 'Très heureux',
+  'Smile' => 'Sourire',
+  'Sad' => 'Triste',
+  'Surprised' => 'Surpris',
+  'Shocked' => 'Choqué',
+  'Confused' => 'Confus',
+  'Cool' => 'Cool',
+  'Laughing' => 'Rire',
+  'Mad' => 'Fou',
+  'Razz' => 'Razz',
+  'Embarassed' => 'Embarassé',
+  'Crying or Very sad' => 'Pleure ou très triste',
+  'Evil or Very Mad' => 'Diabolique ou très en colère',
+  'Twisted Evil' => 'Sadique',
+  'Rolling Eyes' => 'Lève les yeux au ciel',
+  'Wink' => 'Clin d\'oeil',
+  'Idea' => 'Idée',
+  'Arrow' => 'Flèche',
+  'Neutral' => 'Neutre',
+  'Mr. Green' => 'Mr. Green',
+);
+
+// ------------------------------------------------------------------------- //
+// File addpic.php
+// ------------------------------------------------------------------------- //
+
+// void
+
+// ------------------------------------------------------------------------- //
+// File mode.php //cpg1.4
+// ------------------------------------------------------------------------- //
+
+if (defined('MODE_PHP')) $lang_mode_php = array(
+  0 => 'Quitter le mode administrateur...',
+  1 => 'Passer en mode administrateur...',
+);
+
+// ------------------------------------------------------------------------- //
+// File albmgr.php
+// ------------------------------------------------------------------------- //
+
+if (defined('ALBMGR_PHP')) $lang_albmgr_php = array(
+  'alb_need_name' => 'Les albums doivent avoir un nom&nbsp;!',//js-alert
+  'confirm_modifs' => 'Voulez-vous vraiment effectuer ces modifications ?', //js-alert
+  'no_change' => 'Vous n\\\'avez effectué aucun changement&nbsp;!',//js-alert
+  'new_album' => 'Nouvel album',
+  'confirm_delete1' => 'Voulez vous vraiment supprimer cet album ?', //js-alert
+  'confirm_delete2' => '\nToutes les images et tous les commentaires seront perdus!', //js-alert
+  'select_first' => 'Sélectionnez d\\\'abord un album',//js-alert
+  'alb_mrg' => 'Gestionnaire d\'album',
+  'my_gallery' => '* Ma galerie *',
+  'no_category' => '* Pas de catégorie *',
+  'delete' => 'Supprimer',
+  'new' => 'Nouveau',
+  'apply_modifs' => 'Appliquer les modifications',
+  'select_category' => 'Sélectionner une categorie',
+);
+
+// ------------------------------------------------------------------------- //
+// File banning.php
+// ------------------------------------------------------------------------- //
+
+if (defined('BANNING_PHP')) $lang_banning_php = array(
+  'title' => 'Bannir des utilisateurs', //cpg1.4
+  'user_name' => 'Nom d\'utilisateur', //cpg1.4
+  'ip_address' => 'Adresse IP', //cpg1.4
+  'expiry' => 'Expire (champs vide signifie que le bannissement est indéfini)', //cpg1.4
+  'edit_ban' => 'Sauvegarder les changements', //cpg1.4
+  'delete_ban' => 'Supprimer', //cpg1.4
+  'add_new' => 'Ajouter un nouveau bannissement', //cpg1.4
+  'add_ban' => 'Ajouter', //cpg1.4
+  'error_user' => 'Utilisateur introuvable', //cpg1.4
+  'error_specify' => 'Vous devez spécifier un nom d\'utilisateur ou une adresse IP', //cpg1.4
+  'error_ban_id' => 'ID invalide!', //cpg1.4
+  'error_admin_ban' => 'Vous ne pouvez pas vous bannir vous même&nbsp;!', //cpg1.4
+  'error_server_ban' => 'Vous ne pouvez pas bannir votre propre serveur...', //cpg1.4
+  'error_ip_forbidden' => 'Vous ne pouvez pas bannir cette adresse, elle est non routable&nbsp;!<br />Si vous désirez bannir une IP privée, changez la dans votre <a href="admin.php">Config</a> (uniquement si Coppermine fonctionne sur un réseau privé).', //cpg1.4
+  'lookup_ip' => 'Consulter une adresse IP', //cpg1.4
+  'submit' => 'Soumettre!', //cpg1.4
+  'select_date' => 'selectionner la date', //cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File bridgemgr.php //cpg1.4
+// ------------------------------------------------------------------------- //
+
+if (defined('BRIDGEMGR_PHP')) $lang_bridgemgr_php = array(
+  'title' => 'Assistant \&quot;Bridge\&quot;',
+'warning' => 'Attention: En utilisant cet assistant, vous devez savoir que des données sensibles sont transmises au travers de formulaires html. Lancez le uniquement depuis votre propre PC (pas depuis un accès public ou un Cybercafé), et n\'oubliez pas de vider le cache de votre navigateur ainsi que les fichiers temporaires, sinon d\'autres personnes seraient en mesure d\'accéder à vos données',
+  'back' => 'retour',
+  'next' => 'suivant',
+  'start_wizard' => 'Démarrer l\'assitant',
+  'finish' => 'Terminer',
+  'hide_unused_fields' => 'cacher les champs de fomulaires inutilisés (recommandé)',
+  'clear_unused_db_fields' => 'Effacer les entrée invalides de la base de données (recommandé)',
+  'custom_bridge_file' => 'Le nom de votre fichier bridge personnalisé (si le nom du fichier est <i>monfichier.inc.php</i>, entrez <i>monfichier</i> dans ce champs)',
+  'no_action_needed' => 'Pas d\'action à cette étape. Cliquez sur \'suivant\'pour continuer.',
+  'reset_to_default' => 'Revenir aux valeur par défaut',
+  'choose_bbs_app' => 'Choisissez une application à bridger avec Coppermine',
+  'support_url' => 'Allez ici pour de l\'aide sur cette application',
+  'settings_path' => 'Chemin(s) utilisés par votre Forum',
+  'database_connection' => 'connexion à la base de données',
+  'database_tables' => 'tables de la base de données',
+  'bbs_groups' => 'Groupes du forum',
+  'license_number' => 'Numéro de License',
+  'license_number_explanation' => 'entrez votre numéro de license (si nécessaire)',
+  'db_database_name' => 'Nom de la base de données',
+  'db_database_name_explanation' => 'Entrez le nom de la base de données utilisée par votre forum',
+  'db_hostname' => 'Hébergeur de la base de données',
+  'db_hostname_explanation' => 'nom de l\'hébergement de la base de données ,généralement &quot;localhost&quot;',
+  'db_username' => 'Nom d\'utilisateur',
+  'db_username_explanation' => 'Nom d\'utilisateur  Mysql pour la connection à la base de données utilisée par votre forum',
+  'db_password' => 'Mot de passe',
+  'db_password_explanation' => 'Mot de passe pour la base de données',
+  'full_forum_url' => 'URL du forum',
+  'full_forum_url_explanation' => 'Adresse complète de votre forum (par exemple  http://www.votresite.com/forum)',
+  'relative_path_of_forum_from_webroot' => 'Adresse relative de votre forum',
+  'relative_path_of_forum_from_webroot_explanation' => 'Adresse relative de votre forum (Exemple: si l\'adresse de votre forum est  http://www.votresite.com/forum/, entrer &quot;/forum/&quot; dans ce champ)',
+  'relative_path_to_config_file' => 'Chemin relatif à la page de configuration de votre forum',
+  'relative_path_to_config_file_explanation' => 'Chemin relatif à la page de configuration de votre forum, vu depuis le dossier ou se trouve Coppermine (Exemple &quot;../forum/&quot; si votre l\'adresse de votre forum est http://www.yourdomain.tld/forum/ et celle de Coppermine http://www.yourdomain.tld/gallery/)',
+  'cookie_prefix' => 'Préfixe du Cookie',
+  'cookie_prefix_explanation' => 'Ce doit être le nom du Cookie de votre forum',
+  'table_prefix' => 'Préfixe des tables',
+  'table_prefix_explanation' => 'Ce doit être le même que celui choisi pour les tables de votre forum.',
+  'user_table' => 'Table utilisateur',
+  'user_table_explanation' => '(Généralement le choix par défaut convient, sauf si l\'installation de votre forum n\'est pas standard)',
+  'session_table' => 'Table des Sessions',
+  'session_table_explanation' => '(Généralement le choix par défaut convient, sauf si l\'installation de votre forum n\'est pas standard)',
+  'group_table' => 'Table des Groupes',
+  'group_table_explanation' => '(Généralement le choix par défaut convient, sauf si l\'installation de votre forum n\'est pas standard)',
+  'group_relation_table' => 'Table des relations des groupes',
+  'group_relation_table_explanation' => '(Généralement le choix par défaut convient, sauf si l\'installation de votre forum n\'est pas standard)',
+  'group_mapping_table' => 'Table de correspondance des groupes',
+  'group_mapping_table_explanation' => '(Généralement le choix par défaut convient, sauf si l\'installation de votre forum n\'est pas standard)',
+  'use_standard_groups' => 'Utilisez les groupes standards du forum',
+  'use_standard_groups_explanation' => 'Utilisez les groupes standards (prédéfinis) (recommandé). Tous les réglages des groupes personnalisés seront annulés. Désactivez cette option uniquement si vous êtes vraiment sûr de ce que vous faites&nbsp;!',
+  'validating_group' => 'Groupe en attente de validation',
+  'validating_group_explanation' => 'Le numéro d\'identification (ID) du groupe où se trouvent les utilisateurs en attente de validation sur votre forum (généralement le choix par défaut convient, sauf si l\'installation de votre forum n\'est pas standard)',
+  'guest_group' => 'Groupe Invités',
+  'guest_group_explanation' => 'Le numéro d\'identification (ID) du groupe où se trouvent les invités (utilisateurs non connectés) sur votre forum (généralement le choix par défaut convient, sauf si l\'installation de votre forum n\'est pas standard)',
+  'member_group' => 'Groupe membres',
+  'member_group_explanation' => 'Le numéro d\'identification (ID) du groupe où se trouvent les simples utilisateurs sur votre forum (généralement le choix par défaut convient, sauf si l\'installation de votre forum n\'est pas standard)',
+  'admin_group' => 'Groupe Administrateurs',
+  'admin_group_explanation' => 'Le numéro d\'identification (ID) du groupe où se trouvent les administrateurs de votre forum (généralement le choix par défaut convient, sauf si l\'installation de votre forum n\'est pas standard)',
+  'banned_group' => 'Groupe Bannis',
+  'banned_group_explanation' => 'Le numéro d\'identification (ID) du groupe où se trouvent les utilisateurs bannis sur votre forum (généralement le choix par défaut convient, sauf si l\'installation de votre forum n\'est pas standard)',
+  'global_moderators_group' => 'Groupe Modérateurs Globaux',
+  'global_moderators_group_explanation' => 'Le numéro d\'identification (ID) du groupe où se trouvent les modérateurs globaux votre forum (généralement le choix par défaut convient, sauf si l\'installation de votre forum n\'est pas standard)',
+  'special_settings' => 'Paramètres spécifiques au forum',
+  'logout_flag' => 'Version de phpBB',
+  'logout_flag_explanation' => 'Quelle est votre version de phpBB (ce paramètre définit la manière de gérer la fermeture de session)',
+  'use_post_based_groups' => 'Utiliser les groupes basés sur le nombre de messages ?',
+  'logout_flag_yes' => '2.0.5 ou supérieur',
+  'logout_flag_no' => '2.0.4 ou inférieur',
+  'use_post_based_groups_explanation' => 'Faut-il tenir compte des groupes basés sur le nombre de messages (permet une gestion granulaire des permissions ) ou n\'utiliser que les groupes par défaut (rend l\'administration plus facile, recommandé). Vous pouvez modifier ces réglages plus tard.',
+  'use_post_based_groups_yes' => 'Oui',
+  'use_post_based_groups_no' => 'Non',
+  'error_title' => 'Vous devez corriger ces erreurs avant de continuer. Retournez à la page précédente.',
+  'error_specify_bbs' => 'Vous devez spécifier avec quelle application vous voulez bridger Coppermine.',
+  'error_no_blank_name' => 'Vous ne pouvez pas laisser vide le nom de votre Bridge personnalisé.',
+  'error_no_special_chars' => 'Le nom du Bridge ne doit pas comprendre de caractères spéciaux excepté le soulignement (_) et le tiret (-)!',
+  'error_bridge_file_not_exist' => 'Les fichiers du bridge %s n\existent pas sur le serveur. Vérifiez que vous les avez bien uploadés.',
+  'finalize' => 'Activer/désactiver l\'intégration avec le forum',
+  'finalize_explanation' => 'Jusqu\'à présent, vos réglages ont été inscrit dans la base de données mais l\'intégration avec le forum n\'a pas été activée. Vous pouvez activer/désactiver cette intégration quand vous le voulez. Soyez certain de vous souvenir du nom d\'utilisateur et du mot de passe de votre compte administrateur de Coppermine (non-bridgé), vous pourriez en avoir besoin plus tard pour faire des modifications. Si quelque chose ne marche pas, allez sur %s et désactivez l\'intégration au forum, en utilisant votre compte administrateur &quot;non-bridgé&quot; (habituellement, c\'est celui que vous avez défini lors de l\'installation de Coppermine).',
+  'your_bridge_settings' => 'Configuration de votre Bridge',
+  'title_enable' => 'Active l\'intégration/le bridge avec %s',
+  'bridge_enable_yes' => 'Activé',
+  'bridge_enable_no' => 'Désactivé',
+  'error_must_not_be_empty' => 'ne peut pas être vide',
+  'error_either_be' => 'doit être %s ou %s',
+  'error_folder_not_exist' => '%s n\'existe pas. Corrigez la valeur entrée pour %s',
+  'error_cookie_not_readible' => 'Coppermine ne peut pas lire le cookie nommé %s. Corrigez la valeur que vous avez entré pour %s, ou allez dans le panneau d\administration de votre forum et vérifiez que le chemin d\accès au cookie est lisible par Coppermine.',
+  'error_mandatory_field_empty' => 'Vous ne pouvez pas laisser le champ %s vide -Entrez la bonne valeur.',
+  'error_no_trailing_slash' => 'Le champ %s ne doit pas commencer par le signe \'/\'.',
+  'error_trailing_slash' => 'Le champ %s doit commencer par le signe \'/\'.',
+  'error_db_connect' => 'Connection impossible à la base de donné avec vos informations. Voici la réponse Mysql:',
+  'error_db_name' => 'Bien que Coppermine ait pu établir une connection, il n\'a pas trouvé la base de donnée %s. Vérifiez que vous avez défini %s correctement. Voici le message de mySQL:',
+  'error_prefix_and_table' => '%s et ',
+  'error_db_table' => 'Impossible de trouver la table %s. Vérifiez que la valeur de  %s est correcte.',
+  'recovery_title' => 'Gestionnaire de Bridge: récupération d\'urgence',
+  'recovery_explanation' => 'Si vous venez ici pour gérer l\'intégration de votre forum avec votre galerie Coppermine, Vous devez d\'abord vous identifier en tant qu\'administrateur. Si vous ne parvenez pas à vous identifier parce que l\'intégration de votre forum ne fonctionne pas comme prévu, vous pouvez désactiver l\'intégration avec votre forum depuis cette page. Entrer votre identifiant et votre mot de passe ne va pas vous permettre de vous identifier, celà va seulement désactiver le brige avec votre forum. Pour plus de détails, reportez vous à la documentation.',
+  'username' => 'Nom d\'utilisateur',
+  'password' => 'Mot de passe',
+  'disable_submit' => 'Soumettre',
+  'recovery_success_title' => 'Autorisation accordée',
+  'recovery_success_content' => 'Vous avez désactivé avec succès le bridge avec votre forum. Coppermine fonctionne maintenant en mode autonome.',
+  'recovery_success_advice_login' => 'S\'identifier comme administrateur pour éditer la configuration de votre bridge et/ou activer l\'intégration avec votre forum à nouveau.',
+  'goto_login' => 'Aller à la page d\'identification',
+  'goto_bridgemgr' => 'Aller au gestionnaire de bridge',
+  'recovery_failure_title' => 'Autorisation refusée',
+  'recovery_failure_content' => 'Vous avez soumis les mauvaises données. Vous devez entrer les données de votre compte administrateur pour la version autonome de Coppermine (habituellement le compte créé lors de l\'installation de Coppermine).',
+  'try_again' => 'Réessayez',
+  'recovery_wait_title' => 'Le temps d\'attente ne s\'est pas écoulé',
+  'recovery_wait_content' => 'Pour des raisons de sécurité, le script n\'autorise pas plusieurs échecs de connexion rapprochés dans le temps. Veuillez patientez avant de réessayer de vous identifier.',
+  'wait' => 'Patientez',
+  'create_redir_file' => 'Créer le dossier de redirection (recommandé)',
+  'create_redir_file_explanation' => 'Pour rediriger vos utilisateurs vers Coppermine après l\'ouverture de leur session sur le forum, il vous faut un fichier de redirection dans le répertoire où se trouve votre forum. Si cette option est choisie, le gestionnaire de bridge va essayer de créer ce fichier automatiquement. S\'il ne peut pas écrire dans ce répertoire, il vous donnera le code à copier/coller vous-même dans le fichier.',
+  'browse' => 'Parcourir',
+);
+
+// ------------------------------------------------------------------------- //
+// File calendar.php //cpg1.4
+// ------------------------------------------------------------------------- //
+
+if (defined('CALENDAR_PHP')) $lang_calendar_php = array(
+  'title' => 'Calendrier', //cpg1.4
+  'close' => 'fermer', //cpg1.4
+  'clear_date' => 'effacer la date', //cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File catmgr.php
+// ------------------------------------------------------------------------- //
+
+if (defined('CATMGR_PHP')) $lang_catmgr_php = array(
+  'miss_param' => 'Les paramètres requis pour l\'operation \'%s\' sont manquants&nbsp;!',
+  'unknown_cat' => 'La catégorie sélectionnée n\'existe pas dans la base de données',
+  'usergal_cat_ro' => 'La galerie des utilisateurs ne peut pas être supprimée!',
+  'manage_cat' => 'Gérer les catégories',
+  'confirm_delete' => 'Voulez vous vraiment SUPPRIMER cette catégorie ?',//js-alert
+  'category' => 'Catégorie',
+  'operations' => 'Opérations',
+  'move_into' => 'Déplacer dans',
+  'update_create' => 'Mettre à jour / créer la catégorie',
+  'parent_cat' => 'Catégorie parente',
+  'cat_title' => 'Titre de la catégorie',
+  'cat_thumb' => 'Vignette de la catégorie', //cpg1.3.0
+  'cat_desc' => 'Description de la catégorie',
+  'categories_alpha_sort' => 'Classement des catégories par ordre alphabétique (au lieu du classement par ajout)', //cpg1.4
+  'save_cfg' => 'Sauvegarder la configuration', //cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File admin.php //cpg1.4
+// ------------------------------------------------------------------------- //
+
+if (defined('ADMIN_PHP')) $lang_admin_php = array(
+  'title' => 'Configuration de la galerie', //cpg1.4
+  'manage_exif' => 'Administrer l\'affichage des exifs', //cpg1.4
+  'manage_plugins' => 'Administrer les plugins', //cpg1.4
+  'manage_keyword' => 'Administrer les mot-clefs', //cpg1.4
+  'restore_cfg' => 'Restaurer les paramètres d\'origine',
+  'save_cfg' => 'Sauvegarder la nouvelle configuration',
+  'notes' => 'Notes',
+  'info' => 'Information',
+  'upd_success' => 'La configuration de Coppermine a été mise à jour',
+  'restore_success' => 'La configuration d\'origine de Coppermine a été restaurée',
+  'name_a' => 'Ascendant par nom',
+  'name_d' => 'Descendantpar nom',
+  'title_a' => 'Ascendant par titre',
+  'title_d' => 'Descendant par titre',
+  'date_a' => 'Ascendant par date',
+  'date_d' => 'Descendant par date',
+  'pos_a' => 'Ascendant par ajout', //cpg1.4
+  'pos_d' => 'Descendant par ajout', //cpg1.4
+  'th_any' => 'Aspect max',
+  'th_ht' => 'Hauteur',
+  'th_wd' => 'Largeur',
+  'label' => 'Libellé', //cpg1.3.0
+  'item' => 'Liste', //cpg1.3.0
+  'debug_everyone' => 'Tout le monde', //cpg1.3.0
+  'debug_admin' => 'Administrateurs uniquement', //cpg1.3.0
+  'no_logs'=> 'Désactivé', //cpg1.4
+  'log_normal'=> 'Normal', //cpg1.4
+  'log_all' => 'Tout', //cpg1.4
+  'view_logs' => 'Voir les logs', //cpg1.4
+  'click_expand' => 'Cliquer sur un nom de section pour afficher', //cpg1.4
+  'expand_all' => 'Tout afficher', //cpg1.4
+  'notice1' => '(*) Cette configuration ne doit pas être changée si vous avez déjà des fichiers dans votre base de données.', //cpg1.4 - (relocated)
+  'notice2' => '(**) Si vous changez cette configuration, seuls les nouveaux fichiers ajoutés seront concernés, il est donc conseillé de ne pas la modifier si vous avez déjà des fichiers. Vous pouvez cependant appliquer les modifications aux fichiers existant à l\'aide des &quot;<a href="util.php">outils d\'administration</a> (redimensionner les images)&quot; depuis le menu d\'administration.', //cpg1.4 - (relocated)
+  'notice3' => '(***) Tous les logs sont écrits en anglais.', //cpg1.4 - (relocated)
+  'bbs_disabled' => 'Fonction désactivé si vous utilisez l\'intégration BB', //cpg1.4
+  'auto_resize_everyone' => 'Tous', //cpg1.4
+  'auto_resize_user' => 'Utilisateur seulement', //cpg1.4
+  'ascending' => 'ascendant', //cpg1.4
+  'descending' => 'descendant', //cpg1.4
+);
+
+if (defined('ADMIN_PHP')) $lang_admin_data = array(
+  'Paramètres généraux',
+  array('Nom de la galerie', 'gallery_name', 0, 'f=index.htm&amp;as=admin_general_name&amp;ae=admin_general_name_end'), //cpg1.4
+  array('Description de la galerie', 'gallery_description', 0, 'f=index.htm&amp;as=admin_general_description&amp;ae=admin_general_description_end'), //cpg1.4
+  array('Adresse courriel de l\'administrateur', 'gallery_admin_email', 0, 'f=index.htm&amp;as=admin_general_email&amp;ae=admin_general_email_end'), //cpg1.4
+  array('URL du répertoire de votre galerie coppermine (pas \'index.php\' ou similaire à la fin)', 'ecards_more_pic_target', 0, 'f=index.htm&amp;as=admin_general_coppermine-url&amp;ae=admin_general_coppermine-url_end'), //cpg1.4
+  array('URL de votre page d\'accueil', 'home_target', 0, 'f=index.htm&amp;as=admin_general_home-url&amp;ae=admin_general_home-url_end'), //cpg1.4
+  array('Autoriser le téléchargement ZIP des photos dans les Favoris', 'enable_zipdownload', 1, 'f=index.htm&amp;as=admin_general_zip-download&amp;ae=admin_general_zip-download_end'), //cpg1.4
+  array('Différence d\'heure par rapport au GMT (il est actuellement: ' . localised_date(-1, $comment_date_fmt) . ')','time_offset',0, 'f=index.htm&amp;as=admin_general_time-offset&amp;ae=admin_general_time-offset_end&amp;top=1'), //cpg1.4
+  array('Activer les mots de passe cryptés (ne peut pas être supprimé)','enable_encrypted_passwords',1, 'f=index.htm&amp;as=admin_general_encrypt_password_start&amp;ae=admin_general_encrypt_password_end&amp;top=1'), // cpg 1.4
+  array('Activer les icônes d\'aide (Aide en anglais uniquement)','enable_help',9, 'f=index.htm&amp;as=admin_general_help&amp;ae=admin_general_help_end'), //cpg1.4
+  array('Activer les mots cliquables lors d\'une recherche','clickable_keyword_search',14, 'f=index.htm&amp;as=admin_general_keywords_start&amp;ae=admin_general_keywords_end'), //cpg1.4
+  array('Activer les plugins', 'enable_plugins', 12, 'f=index.htm&amp;as=admin_general_enable-plugins&amp;ae=admin_general_enable-plugins_end'),  //cpg1.4
+  array('Autoriser le bannissement d\'adresse IP non routable (privé)', 'ban_private_ip', 1,  'f=index.htm&amp;as=admin_general_private-ip&amp;ae=admin_general_private-ip_end'), //cpg1.4
+  array('Interface de téléchargement par lot', 'browse_batch_add', 1, 'f=index.htm&amp;as=admin_general_browsable_batch_add&amp;ae=admin_general_browsable_batch_add_end'), //cpg1.4
+
+  'Langue &amp; jeux de caractères',
+  array('Langue', 'lang', 5, 'f=index.htm&amp;as=admin_language_language&amp;ae=admin_language_language_end'), //cpg1.4
+  array('Remplacer les expressions non trouvées par l\'anglais ?', 'language_fallback', 1, 'f=index.htm&amp;as=admin_language_fallback&amp;ae=admin_language_fallback_end'), //cpg1.4
+  array('Jeu de caractères', 'charset', 4, 'f=index.htm&amp;as=admin_language_charset&amp;ae=admin_language_charset_end'), //cpg1.4
+  array('Afficher la liste des langues', 'language_list', 1, 'f=index.htm&amp;as=admin_language_list&amp;ae=admin_language_list_end'), //cpg1.4
+  array('Afficher les drapeaux des langues', 'language_flags', 8, 'f=index.htm&amp;as=admin_language_flags&amp;ae=admin_language_flags_end&amp;top=1'), //cpg1.4
+  array('Afficher &quot;reset&quot; dans la sélection des langues', 'language_reset', 1, 'f=index.htm&amp;as=admin_language_reset&amp;ae=admin_language_reset_end&amp;top=1'), //cpg1.4
+  //array('Afficher précédente/suivante sur les pages', 'previous_next_tab', 1), //cpg1.4
+
+  'Paramètres des thèmes',
+  array('Thème', 'theme', 6, 'f=index.htm&amp;as=admin_theme_theme&amp;ae=admin_theme_theme_end'), //cpg1.4
+  array('Afficher la liste des thèmes', 'theme_list', 1, 'f=index.htm&amp;as=admin_theme_theme_list&amp;ae=admin_theme_theme_list_end'), //cpg1.4
+  array('Afficher &quot;reset&quot; dans la sélection des thèmes', 'theme_reset', 1, 'f=index.htm&amp;as=admin_theme_theme_reset&amp;ae=admin_theme_theme_reset_end'), //cpg1.4
+  array('Afficher la FAQ', 'display_faq', 1, 'f=index.htm&amp;as=admin_theme_faq&amp;ae=admin_theme_faq_end'), //cpg1.4
+  array('Nom du lien du menu personnalisé', 'custom_lnk_name', 0,'f=index.htm&amp;as=admin_theme_custom_lnk_name&amp;ae=admin_theme_custom_lnk_name_end'), //cpg1.4
+  array('URL du menu personnalisé', 'custom_lnk_url', 0,'f=index.htm&amp;as=admin_language_custom_lnk_url&amp;ae=admin_language_custom_lnk_url_end'), //cpg1.4
+  array('Afficher l\'aide pour le bbcode', 'show_bbcode_help', 1, 'f=index.htm&amp;as=admin_theme_bbcode&amp;ae=admin_theme_bbcode_end&amp;top=1'), //cpg1.4
+  array('Afficher les boutons indiquant le respect des standards XHTML et CSS pour les thèmes conformes','vanity_block',1, 'f=index.htm&amp;as=vanity_block&amp;ae=vanity_block_end'), //cpg1.4
+  array('Chemin pour inclure un en-tête de page personnalisé', 'custom_header_path', 0, 'f=index.htm&amp;as=admin_theme_include_path_start&amp;ae=admin_theme_include_path_end'), //cpg1.4
+  array('Chemin pour inclure un pied de page personnalisé', 'custom_footer_path', 0, 'f=index.htm&amp;as=admin_theme_include_path_start&amp;ae=admin_theme_include_path_end'), //cpg1.4
+
+  'Affichage de la liste des albums',
+  array('Largeur du tableau principal (pixels ou %)', 'main_table_width', 0, 'f=index.htm&amp;as=admin_album_table-width&amp;ae=admin_album_table-width_end'), //cpg1.4
+  array('Nombre de niveaux de catégories à afficher', 'subcat_level', 0, 'f=index.htm&amp;as=admin_album_category-levels&amp;ae=admin_album_category-levels_end'), //cpg1.4
+  array('Nombre d\'albums à afficher', 'albums_per_page', 0, 'f=index.htm&amp;as=admin_album_number&amp;ae=admin_album_number_end'), //cpg1.4
+  array('Nombre de colonnes pour la liste des albums', 'album_list_cols', 0, 'f=index.htm&amp;as=admin_album_columns&amp;ae=admin_album_columns_end'), //cpg1.4
+  array('Taille des vignettes en pixels', 'alb_list_thumb_size', 0, 'f=index.htm&amp;as=admin_album_thumbnail-size&amp;ae=admin_album_thumbnail-size_end'), //cpg1.4
+  array('Le contenu de la page principale', 'main_page_layout', 0, 'f=index.htm&amp;as=admin_album_list_content&amp;ae=admin_album_list_content_end'), //cpg1.4
+  array('Afficher les vignettes de l\'album du premier niveau avec la catégorie','first_level',1, 'f=index.htm&amp;as=admin_album_first-level_thumbs&amp;ae=admin_album_first-level_thumbs_end'), //cpg1.4
+  array('Classer les catégories par ordre alphabétique (au lieu du classement par ajout)','categories_alpha_sort',1, 'f=index.htm&amp;as=admin_album_list_alphasort_start&amp;ae=admin_album_list_alphasort_end'), //cpg1.4
+  array('Afficher le nombre de fichiers liés','link_pic_count',1, 'f=index.htm&amp;as=admin_album_linked_files_start&amp;ae=admin_album_linked_files_end'), //cpg1.4
+
+  'Affichage des vignettes',
+  array('Nombre de colonnes sur la page des vignettes', 'thumbcols', 0, 'f=index.htm&amp;as=admin_thumbnail_columns&amp;ae=admin_thumbnail_columns_end'), //cpg1.4
+  array('Nombre de lignes sur la page des vignettes', 'thumbrows', 0, 'f=index.htm&amp;as=admin_thumbnail_rows&amp;ae=admin_thumbnail_rows_end'), //cpg1.4
+  array('Nombre maximal d\'onglets à afficher', 'max_tabs', 10, 'f=index.htm&amp;as=admin_thumbnail_tabs&amp;ae=admin_thumbnail_tabs_end'), //cpg1.4
+  array('Afficher la légende de l\'image (en plus de son titre) sous la vignette', 'caption_in_thumbview', 1, 'f=index.htm&amp;as=admin_thumbnail_display_caption&amp;ae=admin_thumbnail_display_caption_end'), //cpg1.4
+  array('Afficher le nombre de vues sous la vignette', 'views_in_thumbview', 1, 'f=index.htm&amp;as=admin_thumbnail_display_views&amp;ae=admin_thumbnail_display_views_end'), //cpg1.4
+  array('Afficher le nombre de commentaires sous les vignettes', 'display_comment_count', 1, 'f=index.htm&amp;as=admin_thumbnail_display_comments&amp;ae=admin_thumbnail_display_comments_end'), //cpg1.4
+  array('Afficher le nom de l\'utilisateur sous la vignette', 'display_uploader', 1, 'f=index.htm&amp;as=admin_thumbnail_display_uploader&amp;ae=admin_thumbnail_display_uploader_end'), //cpg1.4
+  //array('Display name of admin uploaders below the thumbnail', 'display_admin_uploader', 1, 'f=index.htm&amp;as=admin_thumbnail_display_admin_uploader&amp;ae=admin_thumbnail_display_admin_uploader_end'), //cpg1.4
+  array('Afficher le nom du fichier sous la vignette', 'display_filename', 1, 'f=index.htm&amp;as=admin_thumbnail_display_filename&amp;ae=admin_thumbnail_display_filename_end'), //cpg1.4
+  //array('Afficher la description des albums', 'alb_desc_thumb', 1, 'f=index.htm&amp;as=admin_thumbnail_display_description&amp;ae=admin_thumbnail_display_description_end'), //cpg1.4
+  array('Classement par défaut des fichiers', 'default_sort_order', 3, 'f=index.htm&amp;as=admin_thumbnail_default_sortorder&amp;ae=admin_thumbnail_default_sortorder_end'), //cpg1.4
+  array('Nombre minimun de vote pour apparaître dans la liste \'les mieux notés\'', 'min_votes_for_rating', 0, 'f=index.htm&amp;as=admin_thumbnail_minimum_votes&amp;ae=admin_thumbnail_minimum_votes_end'), //cpg1.4
+
+  'Vue des images', //cpg1.4
+  array('Largeur de la table pour l\'affichage des fichiers (pixels ou %)', 'picture_table_width', 0, 'f=index.htm&amp;as=admin_image_comment_table-width&amp;ae=admin_image_comment_table-width_end'), //cpg1.4
+  array('Information des fichiers visible par défaut', 'display_pic_info', 1, 'f=index.htm&amp;as=admin_image_comment_info_visible&amp;ae=admin_image_comment_info_visible_end'), //cpg1.4
+  array('Nombre maximun de caractères pour la description des fichiers', 'max_img_desc_length', 0, 'f=index.htm&amp;as=admin_image_comment_descr_length&amp;ae=admin_image_comment_descr_length_end'), //cpg1.4
+  array('Nombre maximun de caractères dans un mot', 'max_com_wlength', 0, 'f=index.htm&amp;as=admin_image_comment_chars_per_word&amp;ae=admin_image_comment_chars_per_word_end'), //cpg1.4
+  array('Afficher le négatif', 'display_film_strip', 1, 'f=index.htm&amp;as=admin_image_comment_filmstrip_toggle&amp;ae=admin_image_comment_filmstrip_toggle_end'), //cpg1.4
+  array('Afficher le nom du fichier en dessous du négatif', 'display_film_strip_filename', 1, 'f=index.htm&amp;as=admin_image_comment_display_film_strip_filename&amp;ae=admin_image_comment_display_film_strip_filename_end'), //cpg1.4
+  array('Nombre de vignettes dans le négatif', 'max_film_strip_items', 0, 'f=index.htm&amp;as=admin_image_comment_filmstrip_number&amp;ae=admin_image_comment_filmstrip_number_end'), //cpg1.4
+  array('Intervale du diaporama en millisecondes (1 seconde = 1000 millisecondes)', 'slideshow_interval', 0, 'f=index.htm&amp;as=admin_image_comment_slideshow_interval&amp;ae=admin_image_comment_slideshow_interval_end'), //cpg1.4
+
+  'Paramètres des commentaires', //cpg1.4
+  array('Filtrer les mots interdits dans les commentaires', 'filter_bad_words', 1, 'f=index.htm&amp;as=admin_image_comment_bad_words&amp;ae=admin_image_comment_bad_words_end'), //cpg1.4
+  array('Autoriser les smileys dans les commentaires', 'enable_smilies', 1, 'f=index.htm&amp;as=admin_image_comment_smilies&amp;ae=admin_image_comment_smilies_end'), //cpg1.4
+  array('Autoriser plusieurs commentaires consécutifs pour une images par un même utilisateur (désactive la protection anti-flood)', 'disable_comment_flood_protect', 1, 'f=index.htm&amp;as=admin_image_comment_flood&amp;ae=admin_image_comment_flood_end'), //cpg1.4
+  array('Nombre maximun de lignes dans un commentaire', 'max_com_lines', 0, 'f=index.htm&amp;as=admin_image_comment_lines&amp;ae=admin_image_comment_lines_end'), //cpg1.4
+  array('Longueur maximum d\'un commentaire', 'max_com_size', 0, 'f=index.htm&amp;as=admin_image_comment_length&amp;ae=admin_image_comment_length_end'), //cpg1.4
+  array('Informer l\'administrateur de nouveaux commentaires par courriel', 'email_comment_notification', 1, 'f=index.htm&amp;as=admin_image_comment_admin_notify&amp;ae=admin_image_comment_admin_notify_end'), //cpg1.4
+  array('Ordre de tri des commentaires', 'comments_sort_descending', 17, 'f=index.htm&amp;as=admin_comment_sort_start&amp;ae=admin_comment_sort_end'), //cpg1.4
+  array('Préfixe pour les commentaires d\'utilisateurs anonymes', 'comments_anon_pfx', 0, 'f=index.htm&amp;as=comments_anon_pfx&amp;ae=comments_anon_pfx_end'), //cpg1.4
+
+  'Paramètres des images et vignettes',
+  array('Qualité pour les fichiers JPG', 'jpeg_qual', 0, 'f=index.htm&amp;as=admin_picture_thumbnail_jpeg_quality&amp;ae=admin_picture_thumbnail_jpeg_quality_end'), //cpg1.4
+  array('Dimension maximale pour les vignettes <a href="#notice2" class="clickable_option">**</a>', 'thumb_width', 0, 'f=index.htm&amp;as=admin_picture_thumbnail_max-dimension&amp;ae=admin_picture_thumbnail_max-dimension_end'), //cpg1.4
+  array('Utiliser la dimension (largeur ou hauteur ou aspect max pour la vignette) <a href="#notice2" class="clickable_option">**</a>', 'thumb_use', 7, 'f=index.htm&amp;as=admin_picture_thumbnail_use-dimension&amp;ae=admin_picture_thumbnail_use-dimension_end'), //cpg1.4
+  array('Créer des images intermédiaires','make_intermediate',1, 'f=index.htm&amp;as=admin_picture_thumbnail_intermediate_toggle&amp;ae=admin_picture_thumbnail_intermediate_toggle_end'), //cpg1.4
+  array('Largeur ou hauteur maximale pour une image/vidéo intermédiaire <a href="#notice2" class="clickable_option">**</a>', 'picture_width', 0, 'f=index.htm&amp;as=admin_picture_thumbnail_intermediate_dimension&amp;ae=admin_picture_thumbnail_intermediate_dimension_end'), //cpg1.4
+  array('Poids maximal des images à uploader (Ko)', 'max_upl_size', 0, 'f=index.htm&amp;as=admin_picture_thumbnail_max_upload_size&amp;ae=admin_picture_thumbnail_max_upload_size_end'), //cpg1.4
+  array('Longueur ou hauteur maximale pour les images/vidéos uploadées (en pixels)', 'max_upl_width_height', 0, 'f=index.htm&amp;as=admin_picture_thumbnail_max_upload_dimension&amp;ae=admin_picture_thumbnail_max_upload_dimension_end'), //cpg1.4
+  array('Redimentionner automatiquement les images qui dépassent la hauteur et/ou la largeur maximale', 'auto_resize', 16, 'f=index.htm&amp;as=admin_picture_thumbnail_auto-resize&amp;ae=admin_picture_thumbnail_auto-resize_end'), //cpg1.4
+
+  'Paramètres avancés des images et vignettes',
+  array('Les albums peuvent être privés (Note: si vous commutez de \'Oui\' à \'Non\' les albums privés actuels deviendront publics)', 'allow_private_albums', 1, 'f=index.htm&amp;as=admin_picture_thumb_advanced_private_toggle&amp;ae=admin_picture_thumb_advanced_private_toggle_end'), //cpg1.4
+  array('Montrer les vignettes des albums privés aux utilisateurs anonymes','show_private',1, 'f=index.htm&amp;as=admin_picture_thumb_advanced_private_icon_show&amp;ae=admin_picture_thumb_advanced_private_icon_show_end'), //cpg1.4
+  array('Caractères interdits dans les noms de fichiers', 'forbiden_fname_char',0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_filename_forbidden_chars&amp;ae=admin_picture_thumb_advanced_filename_forbidden_chars_end'), //cpg1.4
+  //array('Extensions de fichiers acceptées pour l\'upload de fichiers', 'allowed_file_extensions',0, 'f=index.htm&amp;as=&amp;ae=_end'), //cpg1.4
+  array('Types d\'images autorisés', 'allowed_img_types',0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_pic_extensions&amp;ae=admin_picture_thumb_advanced_pic_extensions_end'), //cpg1.4
+  array('Types de vidéos autorisés', 'allowed_mov_types',0, 'f=index.htm&amp;as=admin_thumbs_advanced_movie&amp;ae=admin_thumbs_advanced_movie_end'), //cpg1.4
+  array('Démarrage automatique des vidéos', 'media_autostart',1, 'f=index.htm&amp;as=admin_movie_autoplay&amp;ae=admin_movie_autoplay_end'), //cpg1.4
+  array('Types de fichiers sons autorisés', 'allowed_snd_types',0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_audio_extensions&amp;ae=admin_picture_thumb_advanced_audio_extensions_end'), //cpg1.4
+  array('Types de fichiers textes autorisés', 'allowed_doc_types',0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_doc_extensions&amp;ae=admin_picture_thumb_advanced_doc_extensions_end'), //cpg1.4
+  array('Méthode de redimensionnement des images','thumb_method',2, 'f=index.htm&amp;as=admin_picture_thumb_advanced_resize_method&amp;ae=admin_picture_thumb_advanced_resize_method_end'), //cpg1.4
+  array('Chemin vers l\'utilitaire \'convert\' d\'ImageMagick (exemple /usr/bin/X11/)', 'impath', 0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_im_path&amp;ae=admin_picture_thumb_advanced_im_path_end'), //cpg1.4
+  //array('Types d\'images autorisés (seulement pour ImageMagick)', 'allowed_img_types',0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_allowed_imagetypes&amp;ae=admin_picture_thumb_advanced_allowed_imagetypes_end'), //cpg1.4
+  array('Options de ligne de commande pour ImageMagick', 'im_options', 0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_im_commandline&amp;ae=admin_picture_thumb_advanced_im_commandline_end'), //cpg1.4
+  array('Lire les informations EXIF dans les fichiers JPEG', 'read_exif_data', 13, 'f=index.htm&amp;as=admin_picture_thumb_advanced_exif&amp;ae=admin_picture_thumb_advanced_exif_end'), //cpg1.4
+  array('Lire les informations IPTC dans les fichiers JPEG', 'read_iptc_data', 1, 'f=index.htm&amp;as=admin_picture_thumb_advanced_iptc&amp;ae=admin_picture_thumb_advanced_iptc_end'), //cpg1.4
+  array('Répertoire des albums <a href="#notice1" class="clickable_option">*</a>', 'fullpath', 0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_albums_dir&amp;ae=admin_picture_thumb_advanced_albums_dir_end'), //cpg1.4
+  array('Répertoire pour les fichiers des utilisateurs <a href="#notice1" class="clickable_option">*</a>', 'userpics', 0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_userpics_dir&amp;ae=admin_picture_thumb_advanced_userpics_dir_end'), //cpg1.4
+  array('Préfixe pour les images intermédiaires <a href="#notice1" class="clickable_option">*</a>', 'normal_pfx', 0), //cpg1.3.0
+  array('Préfixe pour les vignettes <a href="#notice1" class="clickable_option">*</a>', 'thumb_pfx', 0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_thumbs_prefix&amp;ae=admin_picture_thumb_advanced_thumbs_prefix_end'), //cpg1.4
+  array('Mode par défaut des répertoires', 'default_dir_mode', 0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_chmod_folder&amp;ae=admin_picture_thumb_advanced_chmod_folder_end'), //cpg1.4
+  array('Mode par défaut des fichiers', 'default_file_mode', 0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_chmod_files&amp;ae=admin_picture_thumb_advanced_chmod_files_end'), //cpg1.4
+
+  'Paramètres Utilisateurs',
+  array('Autoriser de nouvelles inscriptions', 'allow_user_registration', 1, 'f=index.htm&amp;as=admin_allow_registration&amp;ae=admin_allow_registration_end'), //cpg1.4
+  array('Autoriser l\'accès aux visiteurs non authentifiés (visiteur ou anonyme)', 'allow_unlogged_access', 1, 'f=index.htm&amp;as=admin_allow_unlogged_access&amp;ae=admin_allow_unlogged_access_end'), //cpg1.4
+  array('L\'inscription d\'un nouvel utilisateur doit être validée', 'reg_requires_valid_email', 1, 'f=index.htm&amp;as=admin_registration_verify&amp;ae=admin_registration_verify_end'), //cpg1.4
+  array('Notifier l\'administrateur des nouvelles inscriptions par courriel', 'reg_notify_admin_email', 1, 'f=index.htm&amp;as=admin_registration_notify&amp;ae=admin_registration_notify_end'), //cpg1.4
+  array('L\'administrateur doit activer les enregistrements', 'admin_activation', 1, 'f=index.htm&amp;as=admin_activation&amp;ae=admin_activation_end'),  //cpg1.4
+  array('Autoriser deux utilisateurs à avoir la même adresse courriel', 'allow_duplicate_emails_addr', 1, 'f=index.htm&amp;as=admin_allow_duplicate_emails_addr&amp;ae=admin_allow_duplicate_emails_addr_end'), //cpg1.4
+  array('Notifier l\'administrateur lorsque des uploads nécessitent son approbation', 'upl_notify_admin_email', 1, 'f=index.htm&amp;as=admin_approval_notify&amp;ae=admin_approval_notify_end'), //cpg1.4
+  array('Autoriser les utilisateurs authentifiés à visualiser la liste des membres', 'allow_memberlist', 1, 'f=index.htm&amp;as=admin_user_memberlist&amp;ae=admin_user_memberlist_end'), //cpg1.4
+  array('Autoriser les utilisateurs à changer leur adresse courriel dans leur profil', 'allow_email_change', 1, 'f=index.htm&amp;as=admin_user_allow_email_change&amp;ae=admin_user_allow_email_change_end'), //cpg1.4
+  array('Autoriser les utilisateurs à garder le controle de leurs images dans les galeries publiques', 'users_can_edit_pics', 1, 'f=index.htm&amp;as=admin_user_editpics_public_start&amp;ae=admin_user_editpics_public_end'), //cpg1.4
+  array('Nombre d\'échec d\'authentification avant bannissement temporaire (pour parer à une attaque brutale)', 'login_threshold', 0, 'f=index.htm&amp;as=admin_user_login_start&amp;ae=admin_user_login_end'), //cpg1.4
+  array('Durée du bannissement temporaire après un échec d\'authentification', 'login_expiry', 0, 'f=index.htm&amp;as=admin_user_login_start&amp;ae=admin_user_login_end'), //cpg1.4
+  array('Activer les rapports à l\'administrateur', 'report_post', 1, 'f=index.htm&amp;as=admin_user_enable_report&amp;ae=admin_user_enable_report_end'),  //cpg1.4
+
+// custom profile fields,  //cpg1.4
+  'Champs personnalisés pour le profil utilisateur (laisser vide si inutilisés).
+  Utilisez le profil 6 pour les longs textes, comme les biographies', //cpg1.4
+  array('Nom du profil 1', 'user_profile1_name', 0, 'f=index.htm&amp;as=admin_custom&amp;ae=admin_custom_end'), //cpg1.4
+  array('Nom du profil 2', 'user_profile2_name', 0), //cpg1.4
+  array('Nom du profil 3', 'user_profile3_name', 0), //cpg1.4
+  array('Nom du profil 4', 'user_profile4_name', 0), //cpg1.4
+  array('Nom du profil 5', 'user_profile5_name', 0), //cpg1.4
+  array('Nom du profil 6', 'user_profile6_name', 0), //cpg1.4
+
+  'Champs personnalisés pour les descriptions d\'images  (laisser vide si inutilisés)',
+  array('Nom du champ 1', 'user_field1_name', 0, 'f=index.htm&amp;as=admin_custom_image&amp;ae=admin_custom_image_end'), //cpg1.4
+  array('Nom du champ 2', 'user_field2_name', 0),
+  array('Nom du champ 3', 'user_field3_name', 0),
+  array('Nom du champ 4', 'user_field4_name', 0),
+
+  'Paramètres des Cookies',
+  array('Nom du cookie utilisé par le script (si vous utilisez l\'intégration avec un forum, vérifiez que les cookies sont différents)', 'cookie_name', 0, 'f=index.htm&amp;as=admin_cookie_name&amp;ae=admin_cookie_name_end'), //cpg1.4
+  array('Chemin du cookie utilisé par le script', 'cookie_path', 0, 'f=index.htm&amp;as=admin_cookie_path&amp;ae=admin_cookie_path_end'), //cpg1.4
+
+  'Paramètres Pour les Courriels  (Généralement rien n\'est à modifier ici; laissez les champs vides si vous n\'êtes pas sur', //cpg1.4
+  array('Serveur SMTP (si le champ est vide, sendmail sera utilisé)', 'smtp_host', 0, 'f=index.htm&amp;as=admin_email&amp;ae=admin_email_end'), //cpg1.4
+  array('Nom utilisateur SMTP', 'smtp_username', 0), //cpg1.4
+  array('Mot de passe SMTP', 'smtp_password', 0), //cpg1.4
+
+  'Logs et statistiques', //cpg1.4
+  array('Mode d\'enregistrement <a href="#notice3" class="clickable_option">***</a>', 'log_mode', 11, 'f=index.htm&amp;as=admin_logging_log_mode&amp;ae=admin_logging_log_mode_end'), //cpg1.4
+  array('Enregistrer les envois de cartes électroniques', 'log_ecards', 1, 'f=index.htm&amp;as=admin_general_log_ecards&amp;ae=admin_general_log_ecards_end'), //cpg1.4
+  array('Enregistrer le détails des statistiques de vote','vote_details',1, 'f=index.htm&amp;as=admin_logging_votedetails&amp;ae=admin_logging_votedetails_end'), //cpg1.4
+  array('Enregistrer le détail des statistiques de hit','hit_details',1, 'f=index.htm&amp;as=admin_logging_hitdetails&amp;ae=admin_logging_hitdetails_end'), //cpg1.4
+
+  'Paramètres de la maintenance', //cpg1.4
+  array('Activer le mode débogage', 'debug_mode', 9, 'f=index.htm&amp;as=debug_mode&amp;ae=debug_mode_end'), //cpg1.4
+  array('Afficher les avertissements dans le mode débogage', 'debug_notice', 1, 'f=index.htm&amp;as=admin_misc_debug_notices&amp;ae=admin_misc_debug_notices_end'), //cpg1.4
+  array('La galerie est hors ligne', 'offline', 1, 'f=index.htm&amp;as=admin_general_offline&amp;ae=admin_general_offline_end'), //cpg1.4
+);
+
+
+// ------------------------------------------------------------------------- //
+// File db_ecard.php
+// ------------------------------------------------------------------------- //
+
+if (defined('DB_ECARD_PHP')) $lang_db_ecard_php = array(
+  'title' => 'Cartes envoyées', //cpg1.3.0
+  'ecard_sender' => 'Expéditeur', //cpg1.3.0
+  'ecard_recipient' => 'Destinataire', //cpg1.3.0
+  'ecard_date' => 'Date', //cpg1.3.0
+  'ecard_display' => 'Afficher les cartes', //cpg1.3.0
+  'ecard_name' => 'Nom', //cpg1.3.0
+  'ecard_email' => 'Courriel', //cpg1.3.0
+  'ecard_ip' => 'IP #', //cpg1.3.0
+  'ecard_ascending' => 'ascendant', //cpg1.3.0
+  'ecard_descending' => 'descendant', //cpg1.3.0
+  'ecard_sorted' => 'triées', //cpg1.3.0
+  'ecard_by_date' => 'par date', //cpg1.3.0
+  'ecard_by_sender_name' => 'par nom d\'expéditeur', //cpg1.3.0
+  'ecard_by_sender_email' => 'par adresse d\'expéditeur', //cpg1.3.0
+  'ecard_by_sender_ip' => 'par adresse IP d\'expéditeur', //cpg1.3.0
+  'ecard_by_recipient_name' => 'par nom de destinataire', //cpg1.3.0
+  'ecard_by_recipient_email' => 'par adresse de destinataire', //cpg1.3.0
+  'ecard_number' => 'Affichage des enregistrements %s à %s parmi %s', //cpg1.3.0
+  'ecard_goto_page' => 'Aller à la page', //cpg1.3.0
+  'ecard_records_per_page' => 'enregistrements par page', //cpg1.3.0
+  'check_all' => 'Tout cocher', //cpg1.3.0
+  'uncheck_all' => 'Tout décocher', //cpg1.3.0
+  'ecards_delete_selected' => 'Supprimer les cartes sélectionnées', //cpg1.3.0
+  'ecards_delete_confirm' => 'Etes-vous certain de vouloir supprimer ces enregistrements ? Merci de cocher la case&nbsp;!', //cpg1.3.0
+  'ecards_delete_sure' => 'Je suis certain', //cpg1.3.0
+);
+
+
+// ------------------------------------------------------------------------- //
+// File db_input.php
+// ------------------------------------------------------------------------- //
+
+if (defined('DB_INPUT_PHP')) $lang_db_input_php = array(
+  'empty_name_or_com' => 'Vous devez taper votre nom et un commentaire',
+  'com_added' => 'Votre commentaire a été ajouté',
+  'alb_need_title' => 'Vous devez donner un titre à l\'album&nbsp;!',
+  'no_udp_needed' => 'Aucune mise à jour n\'est nécessaire.',
+  'alb_updated' => 'L\'album a été mis à jour',
+  'unknown_album' => 'L\'album sélectionné n\'existe pas ou bien vous n\'avez pas la permission d\'uploader dans cet album',
+  'no_pic_uploaded' => 'Aucune image n\'a été uploadée&nbsp;!<br /><br />Si vous avez vraiment sélectionné une image à uploader, vérifiez que le serveur autorise l\'upload de fichiers...',
+  'err_mkdir' => 'Impossible de créer le répertoire %s&nbsp;!',
+  'dest_dir_ro' => 'Le répertoire de destination (%s) ne dispose pas des droits d\'écriture nécessaires pour le script!',
+  'err_move' => 'Impossible de déplacer %s vers %s&nbsp;!',
+  'err_fsize_too_large' => 'La taille de l\'image que vous avez uploadé est trop grande (le maximum autorisé est de %s x %s)&nbsp;!',
+  'err_imgsize_too_large' => 'Le poids du fichier que vous avez uploadé est trop important (le maximum autorisé est de %s Ko)&nbsp;!',
+  'err_invalid_img' => 'Le fichier que vous avez uploadé n\'est pas une image valide!',
+  'allowed_img_types' => 'Vous ne pouvez uploader que %s images.',
+  'err_insert_pic' => 'Les images \'%s\' ne peuvent pas être insérées dans l\'album ',
+  'upload_success' => 'Votre image a été correctement uploadée<br /><br />Elle sera visible après validation de l\'administrateur.',
+  'notify_admin_email_subject' => '%s - Notification d\'upload', //cpg1.3.0
+  'notify_admin_email_body' => 'Une image a été uploadée par %s. Cela nécessite votre approbation. Connectez-vous à %s', //cpg1.3.0
+  'info' => 'Information',
+  'com_added' => 'Commentaire ajouté',
+  'alb_updated' => 'Album mis à jour',
+  'err_comment_empty' => 'Votre commentaire est vide!',
+  'err_invalid_fext' => 'Seuls les fichiers avec les extensions suivantes sont autorisés : <br /><br />%s.',
+  'no_flood' => 'Nous sommes désolés, mais vous êtes déjà l\'auteur du dernier commentaire posté au sujet de cette image.<br /><br />Vous pouvez tout simplement éditer votre message précédent si vous souhaitez le modifier ou bien ajouter des informations.',
+  'redirect_msg' => 'Redirection en cours.<br /><br /><br />Cliquez sur \'CONTINUER\' si la page ne se recharge pas automatiquement',
+  'upl_success' => 'Votre image a été correctement ajoutée',
+  'email_comment_subject' => 'Commentaire posté sur Coppermine Photo Gallery', //cpg1.3.0
+  'email_comment_body' => 'Quelqu\'un a posté un commentaire dans votre galerie. Voyez-le à', //cpg1.3.0
+  'album_not_selected' => 'Album non sélectionné', //cpg1.4
+  'com_author_error' => 'Un utilisateur enregistré utilise déjà ce pseudonyme, connectez-vous ou utilisez en un autre', //cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File delete.php
+// ------------------------------------------------------------------------- //
+
+if (defined('DELETE_PHP')) $lang_delete_php = array(
+  'caption' => 'Légende',
+  'fs_pic' => 'image en taille réelle',
+  'del_success' => 'suppression réussie',
+  'ns_pic' => 'image en taille normale',
+  'err_del' => 'ne peut pas être supprimé',
+  'thumb_pic' => 'vignette',
+  'comment' => 'commentaire',
+  'im_in_alb' => 'image dans l\'album',
+  'alb_del_success' => 'Album \'%s\' supprimé',
+  'alb_mgr' => 'Gestionnaire d\'album',
+  'err_invalid_data' => 'Données non valides reçues dans \'%s\'',
+  'create_alb' => 'Création de l\'album \'%s\'',
+  'update_alb' => 'Mise à jour de l\'album \'%s\' avec le titre \'%s\' et index \'%s\'',
+  'del_pic' => 'Supprimer l\'image',
+  'del_alb' => 'Supprimer l\'album',
+  'del_user' => 'Supprimer l\'utilisateur',
+  'err_unknown_user' => 'L\'utilisateur sélectionné n\'existe pas&nbsp;!',
+  'err_empty_groups' => 'Il n\'y a pas de table pour ce groupe ou elle est vide&nbsp;!', //cpg1.4
+  'comment_deleted' => 'Le commentaire a été supprimé avec succès',
+  'npic' => 'Image', //cpg1.4
+  'pic_mgr' => 'Gestion des images', //cpg1.4
+  'update_pic' => 'Mise à jour de l\'image \'%s\' avec le nom de fichier \'%s\' et l\'index \'%s\'', //cpg1.4
+  'username' => 'Nom d\'utilisateur', //cpg1.4
+  'anonymized_comments' => '%s commentaire(s) anonyme(s)', //cpg1.4
+  'anonymized_uploads' => '%s upload(s) public(s) anonyme(s)', //cpg1.4
+  'deleted_comments' => '%s commentaire(s) supprimé(s)', //cpg1.4
+  'deleted_uploads' => '%s upload(s) public(s) supprimé(s)', //cpg1.4
+  'user_deleted' => 'utilisateur %s supprimé', //cpg1.4
+  'activate_user' => 'Activer l\'utilisateur', //cpg1.4
+  'user_already_active' => 'Le compte est déjà activé', //cpg1.4
+  'activated' => 'Activé', //cpg1.4
+  'deactivate_user' => 'Désactiver l\'utilisateur', //cpg1.4
+  'user_already_inactive' => 'Le compte est déjà désactivé', //cpg1.4
+  'deactivated' => 'Désactivé', //cpg1.4
+  'reset_password' => 'Changer le mot de passe', //cpg1.4
+  'password_reset' => 'Mot de passe changé pour %s', //cpg1.4
+  'change_group' => 'Changer de groupe principal', //cpg1.4
+  'change_group_to_group' => 'Changer de %s à %s', //cpg1.4
+  'add_group' => 'Ajouter un groupe secondaire', //cpg1.4
+  'add_group_to_group' => 'Ajouter l\'utilisateur %s au groupe %s. Il est maintenant membre de %s comme groupe primaire et de %s comme groupe secondaire.', //cpg1.4
+  'status' => 'Status', //cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File displayecard.php
+// ------------------------------------------------------------------------- //
+
+if (defined('DISPLAYECARD_PHP')) {
+
+$lang_displayecard_php = array(
+  'invalid_data' => 'Le données de la carte électronique que vous essayez d\'envoyer ont été corrompues par votre client courriel. Vérifiez que le lien est complet.', //cpg1.4
+);
+}
+
+// ------------------------------------------------------------------------- //
+// File displayimage.php
+// ------------------------------------------------------------------------- //
+
+if (defined('DISPLAYIMAGE_PHP')){
+
+$lang_display_image_php = array(
+  'confirm_del' => 'Voulez vous vraiment SUPPRIMER cette image?\\nLes commentaires seront également supprimés.',//js-alert
+  'del_pic' => 'SUPPRIMER CETTE IMAGE',
+  'size' => '%s x %s pixels',
+  'views' => '%s fois',
+  'slideshow' => 'Diaporama',
+  'stop_slideshow' => 'ARRETER LE DIAPORAMA',
+  'view_fs' => 'Cliquez pour voir l\'image en taille réelle',
+  'edit_pic' => 'Modifier la description', //cpg1.3.0
+  'crop_pic' => 'Retoucher', //cpg1.3.0
+  'set_player' => 'Changer le lecteur',
+);
+
+$lang_picinfo = array(
+  'title' =>'Informations sur l\'image',
+  'Filename' => 'Nom du fichier',
+  'Album name' => 'Nom de l\'album',
+  'Rating' => 'Note (%s votes)',
+  'Keywords' => 'Mots clefs',
+  'File Size' => 'Taille du fichier',
+  'Date Added' => 'Date d\'ajout', //cpg1.4
+  'Dimensions' => 'Dimensions',
+  'Displayed' => 'Affichées',
+  'URL' => 'URL', //cpg1.4
+  'Make' => 'Marque', //cpg1.4
+  'Model' => 'Modèle', //cpg1.4
+  'DateTime' => 'Date/Heure', //cpg1.4
+  'DateTimeOriginal' => 'Date/Heure de l\'original', //cpg1.4
+  'ISOSpeedRatings'=>'ISO - vitesse estimée', //cpg1.4
+  'MaxApertureValue' => 'Ouverture maximale', //cpg1.4
+  'FocalLength' => 'Longueur Focale',
+  'Comment' => 'Commentaires',
+  'addFav'=>'Ajouter aux favoris',
+  'addFavPhrase'=>'Favoris',
+  'remFav'=>'Supprimer des favoris',
+  'iptcTitle'=>'Titre IPTC', //cpg1.3.0
+  'iptcCopyright'=>'Copyright IPTC', //cpg1.3.0
+  'iptcKeywords'=>'Mots clés IPTC', //cpg1.3.0
+  'iptcCategory'=>'Catégorie IPTC', //cpg1.3.0
+  'iptcSubCategories'=>'Sous-catégorie IPTC', //cpg1.3.0
+  'ColorSpace' => 'Espace colorimétrique', //cpg1.4
+  'ExposureProgram' => 'Programme d\'exposition', //cpg1.4
+  'Flash' => 'Flash', //cpg1.4
+  'MeteringMode' => 'Mode de mesure', //cpg1.4
+  'ExposureTime' => 'Temps d\'exposition', //cpg1.4
+  'ExposureBiasValue' => 'Correction de l\'exposition', //cpg1.4
+  'ImageDescription' => ' Description de l\'image', //cpg1.4
+  'Orientation' => 'Orientation', //cpg1.4
+  'xResolution' => 'Résolution X', //cpg1.4
+  'yResolution' => 'Résolution Y', //cpg1.4
+  'ResolutionUnit' => 'Unité de résolution', //cpg1.4
+  'Software' => 'Logiciel', //cpg1.4
+  'YCbCrPositioning' => 'Eléments de configuration YCbCr', //cpg1.4
+  'ExifOffset' => 'Exif Offset', //cpg1.4
+  'IFD1Offset' => 'IFD1 Offset', //cpg1.4
+  'FNumber' => 'Ouverture', //cpg1.4
+  'ExifVersion' => 'Version Exif', //cpg1.4
+  'DateTimeOriginal' => 'Date et heure de la prise de vue', //cpg1.4
+  'DateTimedigitized' => 'Date et heure de la numérisation', //cpg1.4
+  'ComponentsConfiguration' => 'Configuration des composants', //cpg1.4
+  'CompressedBitsPerPixel' => 'Bits compressés par couche', //cpg1.4
+  'LightSource' => 'Source lumineuse', //cpg1.4
+  'ISOSetting' => 'Paramètre ISO', //cpg1.4
+  'ColorMode' => 'Mode de couleurs', //cpg1.4
+  'Quality' => 'Qualité', //cpg1.4
+  'ImageSharpening' => 'Image Sharpening', //cpg1.4
+  'FocusMode' => 'Mode de mesure de distance', //cpg1.4
+  'FlashSetting' => 'Configuration du Flash', //cpg1.4
+  'ISOSelection' => 'ISO Selection', //cpg1.4
+  'ImageAdjustment' => 'Ajustement de l\'image', //cpg1.4
+  'Adapter' => 'Adapter', //cpg1.4
+  'ManualFocusDistance' => 'Manual Focus Distance', //cpg1.4
+  'DigitalZoom' => 'Zoom numérique', //cpg1.4
+  'AFFocusPosition' => 'Longueur focale', //cpg1.4
+  'Saturation' => 'Saturation', //cpg1.4
+  'NoiseReduction' => 'Réduction du bruit', //cpg1.4
+  'FlashPixVersion' => 'Flash Pix Version', //cpg1.4
+  'ExifImageWidth' => 'Dimension X en pixels', //cpg1.4
+  'ExifImageHeight' => 'Dimension Y en pixels', //cpg1.4
+  'ExifInteroperabilityOffset' => 'Version d\'interopérabilité', //cpg1.4
+  'FileSource' => 'Source fichier', //cpg1.4
+  'SceneType' => 'Type de scene', //cpg1.4
+  'CustomerRender' => 'Rendu personnalisé', //cpg1.4
+  'ExposureMode' => 'Mode d\'exposition', //cpg1.4
+  'WhiteBalance' => 'Balance des blancs', //cpg1.4
+  'DigitalZoomRatio' => 'Ratio zoom numérique', //cpg1.4
+  'SceneCaptureMode' => 'Type de capture de scene', //cpg1.4
+  'GainControl' => 'Controle des gains', //cpg1.4
+  'Contrast' => 'Contraste', //cpg1.4
+  'Saturation' => 'Saturation', //cpg1.4
+  'Sharpness' => 'Netteté', //cpg1.4
+  'ManageExifDisplay' => 'Manage Exif Display', //cpg1.4
+  'submit' => 'Valider', //cpg1.4
+  'success' => 'Informations modifiées avec succès.', //cpg1.4
+  'details' => 'Détails', //cpg1.4
+);
+
+$lang_display_comments = array(
+  'OK' => 'OK',
+  'edit_title' => 'Modifier ce commentaire',
+  'confirm_delete' => 'Voulez vous vraiment supprimer ce commentaire?',//js-alert
+  'add_your_comment' => 'Ajoutez votre commentaire',
+  'name'=>'Nom',
+  'comment'=>'Commentaire',
+  'your_name' => 'Anonyme',
+  'report_comment_title' => 'Envoyer ce commentaire à l\'administrateur', //cpg1.4
+);
+
+$lang_fullsize_popup = array(
+  'click_to_close' => 'Cliquez sur l\'image pour fermer la fenêtre',
+);
+
+}
+
+// ------------------------------------------------------------------------- //
+// File ecard.php
+// ------------------------------------------------------------------------- //
+
+if (defined('ECARDS_PHP') || defined('DISPLAYECARD_PHP')) $lang_ecard_php =array(
+  'title' => 'Envoyer en tant que carte électronique',
+  'invalid_email' => '<b>Attention</b> : cette adresse e-mail n\'est pas valide&nbsp;!',
+  'ecard_title' => 'Une carte électronique pour vous, de la part de %s',
+  'error_not_image' => 'Seules les images peuvent être envoyées sous forme de cartes électroniques.', //cpg1.3.0
+  'view_ecard' => 'Si votre carte électronique ne s\'affiche pas correctement, cliquez ici',
+  'view_ecard_plaintext' => 'Pour voir cette carte postale électronique, copiez cette Url dans la barre d\'adresse de votre navigateur:', //cpg1.4
+  'view_more_pics' => 'Suivez ce lien pour découvrir davantage de photos&nbsp;!',
+  'send_success' => 'Votre carte électronique a été envoyée',
+  'send_failed' => 'Nous sommes désolés, mais le serveur n\'a pu envoyer votre carte électronique...',
+  'from' => 'De la part de',
+  'your_name' => 'Votre nom',
+  'your_email' => 'Votre adresse courriel',
+  'to' => 'A',
+  'rcpt_name' => 'Nom du destinataire',
+  'rcpt_email' => 'Adresse e-mail du destinataire',
+  'greetings' => 'Introduction',
+  'message' => 'Message',
+  'ecards_footer' => 'Envoyé par %s depuis l\'adresse IP %s à %s (Heure de la galerie)', //cpg1.4
+  'preview' => 'Prévisualisation de cette carte', //cpg1.4
+  'preview_button' => 'Prévisualisation', //cpg1.4
+  'submit_button' => 'Envoyer la carte', //cpg1.4
+  'preview_view_ecard' => 'Ce sera le lien inclu à la carte électronique lorsqu\'elle sera générée. Ne fonctionne pas pour les prévisualisations.', //cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File report_file.php //cpg1.4
+// ------------------------------------------------------------------------- //
+
+if (defined('REPORT_FILE_PHP') || defined('DISPLAYREPORT_PHP')) $lang_report_php =array(
+  'title' => 'Rapport à l\'administrateur', //cpg1.4
+  'invalid_email' => '<b>Attention</b> : adresse courriel invalidev', //cpg1.4
+  'report_subject' => 'Un rapport de %s de la galerie %s', //cpg1.4
+  'view_report' => 'Lien alternatif si le rapport ne s\'affiche pas correctement', //cpg1.4
+  'view_report_plaintext' => 'Pour voir le rapport, copiez et collez cette adresse dans la barre d\'adresse de votre navigateur:', //cpg1.4
+  'view_more_pics' => 'Galerie', //cpg1.4
+  'send_success' => 'Votre rapport a été envoyé', //cpg1.4
+  'send_failed' => 'Désolé mais le serveur ne peut pas envoyer votre rapport...', //cpg1.4
+  'from' => 'De', //cpg1.4
+  'your_name' => 'Votre Nom', //cpg1.4
+  'your_email' => 'Votre adresse courriel', //cpg1.4
+  'to' => 'A', //cpg1.4
+  'administrator' => 'Mode Administrateur', //cpg1.4
+  'subject' => 'Sujet', //cpg1.4
+  'comment_field_name' => 'Faire un rapport sur le commentaire de &quot;%s&quot;', //cpg1.4
+  'reason' => 'Raison', //cpg1.4
+  'message' => 'Message', //cpg1.4
+  'report_footer' => 'Envoyé par %s depuis l\'adresse IP %s à %s (Heure de la galerie)', //cpg1.4
+  'obscene' => 'obscène', //cpg1.4
+  'offensive' => 'violent', //cpg1.4
+  'misplaced' => 'Hors sujet/Mal placé', //cpg1.4
+  'missing' => 'manque', //cpg1.4
+  'issue' => 'erreur/ne peut être visualisé', //cpg1.4
+  'other' => 'autre', //cpg1.4
+  'refers_to' => 'Le rapport se réfère à g', //cpg1.4
+  'reasons_list_heading' => 'raison(s) du rapport:', //cpg1.4
+  'no_reason_given' => 'Sans raisons', //cpg1.4
+  'go_comment' => 'Aller au commentaire', //cpg1.4
+  'view_comment' => 'Voir le rapport complet avec le commentaire', //cpg1.4
+  'type_file' => 'fichier', //cpg1.4
+  'type_comment' => 'commentaire', //cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File editpics.php
+// ------------------------------------------------------------------------- //
+
+if (defined('EDITPICS_PHP')) $lang_editpics_php = array(
+  'pic_info' => 'Informations sur l\'image',
+  'album' => 'Album',
+  'title' => 'Titre',
+  'filename' => 'Nom de fichier', //cpg1.4
+  'desc' => 'Description',
+  'keywords' => 'Mots-clés',
+  'new_keyword' => 'Nouveau mot-clé', //cpg1.4
+  'new_keywords' => 'Nouveaux mots-clés trouvés', //cpg1.4
+  'existing_keyword' => 'Mots-clés existants', //cpg1.4
+  'pic_info_str' => '%sx%s - %sKo - %s affichages - %s votes',
+  'approve' => 'Approuver',
+  'postpone_app' => 'Approuver plus tard',
+  'del_pic' => 'Supprimer l\'image',
+  'del_all' => 'Supprimer TOUS les fichiers', //cpg1.4
+  'read_exif' => 'Relire les informations EXIF', //cpg1.3.0
+  'reset_view_count' => 'Réinitialiser le compteur de téléchargements ',
+  'reset_all_view_count' => 'Réinitialiser le compteur de vues', //cpg1.4
+  'reset_votes' => 'Réinitialiser les votes',
+  'reset_all_votes' => 'Réinitialiser TOUS les votes', //cpg1.4
+  'del_comm' => 'Supprimer les commentaires',
+  'del_all_comm' => 'Supprimer TOUS les commentaires', //cpg1.4
+  'upl_approval' => 'Autorisation d\'upload',
+  'edit_pics' => 'Modifier les images',
+  'see_next' => 'Voir les images suivantes',
+  'see_prev' => 'Voir les images précédentes',
+  'n_pic' => '%s images',
+  'n_of_pic_to_disp' => 'Nombre d\'images à afficher',
+  'apply' => 'Appliquer les modifications',
+  'crop_title' => 'Editeur Photo de Coppermine', //cpg1.3.0
+  'preview' => 'Prévisualiser', //cpg1.3.0
+  'save' => 'Sauvegarder la photo', //cpg1.3.0
+  'save_thumb' =>'Sauvegarder en tant que vignette', //cpg1.3.0
+  'gallery_icon' => 'Faites-en mon icône', //cpg1.4
+  'sel_on_img' =>'La sélection doit être entièrement sur l\\\'image', //js-alert //cpg1.3.0
+  'album_properties' =>'Propriétés de l\'album', //cpg1.4
+  'parent_category' =>'Catégorie parente', //cpg1.4
+  'thumbnail_view' =>'Visualisation des vignettes', //cpg1.4
+  'select_unselect' =>'sélectionner/<br>déselectionner tout', //cpg1.4
+  'file_exists' => 'La destination du fichier \'%s\' existe déjà', //cpg1.4
+  'rename_failed' => 'Impossible de renommer \'%s\' en \'%s\'.', //cpg1.4
+  'src_file_missing' => 'La source du fichier \'%s\' est manquante.', // cpg 1.4
+  'mime_conv' => 'Impossible de convertir le fichier de \'%s\' en \'%s\'',//cpg1.4
+  'forb_ext' => 'Type d\'extension de fichier non autorisée.',//cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File faq.php
+// ------------------------------------------------------------------------- //
+
+if (defined('FAQ_PHP')) $lang_faq_php = array(
+  'faq' => 'Questions fréquemment posées', //cpg1.3.0
+  'toc' => 'Table des matières', //cpg1.3.0
+  'question' => 'Question : ', //cpg1.3.0
+  'answer' => 'Réponse : ', //cpg1.3.0
+);
+
+if (defined('FAQ_PHP')) $lang_faq_data = array(
+  '<br>FAQ générales<br>', //cpg1.3.0
+  array('Pourquoi dois-je m\'inscrire ?', 'L\'inscription peut être imposée ou non par l\'administrateur. Elle offre des fonctionnalités supplémentaires telles que la possibilité d\'uploader des images, d\'avoir une liste de Favoris, de noter les images, de poster des commentaires etc...', 'allow_user_registration', '0'), //cpg1.3.0
+  array('Comment puis-je m\'inscrire ?', 'Allez sur &quot;Inscription&quot; et renseignez les informations requises (éventuellement les informations optionnelles, si vous le souhaitez).<br />Si l\'administrateur a demandé une confirmation par mail, vous recevrez un message à l\'adresse que vous aurez renseignée dans le formulaire d\'inscription. Ce message vous induiqera la marche à suivre pour valider votre inscription. Votre inscription doit être validée avant que vous ne puissiez vous indentifier.', 'allow_user_registration', '1'), //cpg1.3.0
+  array('Comment m\'identifier ?', 'Allez sur &quot;S\'identifier&quot;, saisissez votre pseudo et votre mot de passe. Cochez &quot;Se souvenir de moi&quot; afin d\'être automatiquement reconnecté lorsque vous reviendrez sur le site.<br /><b>IMPORTANT : Vous devez autoriser les cookies et le cookie ne doit pas être effacé pour que cette option fonctionne.</b>', 'offline', 0), //cpg1.3.0
+  array('Pourquoi ne puis-je pas m\'identifier ?', 'Vérifiez que vous vous êtes bien inscrit et que vous avez cliqué sur le lien de validation indiqué dans le mail de confirmation que vous devez avoir reçu. Pour tout autre problème, contactez l\'administrateur du site.', 'offline', 0), //cpg1.3.0
+  array('Et si j\'oublie mon mot de passe ?', 'Si le site possède un lien &quot;J\'ai oublié mon mot de passe&nbsp;!&quot;, utilisez-le. Dans le cas contraire, contactez l\'administrateur qui vous créera un nouveau mot de passe.', 'offline', 0), //cpg1.3.0
+  //array('Que dois-je faire si je change d\'adresse e-mail ?', 'Identifiez-vous et changez votre adresse de messagerie dans le menu &quot;Mon profil&quot;', 'offline', 0), //cpg1.3.0
+  array('Comment sauvegarder une photo dans &quot;Mes Favoris&quot; ?', 'Cliquez sur une image. Si les informations de cette image ne sont pas indiquées au bas de celle-ci, cliquez sur le lien &quot;Afficher/cacher les informations de l\'image&quot; (<img src="images/info.gif" width="16" height="16" border="0&" alt="Afficher/cacher les informations de l\'image" />); Cliquez ensuite sur le lien &quot;Ajouter aux favoris&quot;.<br /><br />IMPORTANT : Vous devez autoriser les cookies et le cookie ne doit pas être effacé pour que cette option fonctionne.', 'offline', 0), //cpg1.3.0
+  array('Comment noter une photo ?', 'Cliquez sur une image et cliquez sur la note que vous souhaitez lui attribuer, au-dessous de l\'image', 'offline', 0), //cpg1.3.0
+  array('Comment poster un commentaire sur une photo ?', 'Cliquez sur une image et tapez votre commentaire au-dessous de l\'image, sous la ligne &quot;Ajoutez votre commentaire&quot;.', 'offline', 0), //cpg1.3.0
+  array('Comment uploader une photo ?', 'Cliquez sur &quot;Uploader une image&quot; et sélectionnez l\'album dans lequel vous souhaitez qu\'elle apparaisse. Cliquez sur &quot;Parcourir&quot; pour sélectionner le fichier à transférer. Complétez ensuite les champs facultatifs si vous le désirez. Enfin, validez par &quot;Mettre une photo en ligne&quot;', 'allow_private_albums', 0), //cpg1.3.0
+  array('Où puis-je uploader mes photos ?', 'Vous pourrez uploader vos photos dans l\'un de vos albums dans &quot;Ma galerie&quot;. L\'administrateur peut aussi vous avoir autorisé à uploader des photos dans un ou plusieurs albums dans la galerie principale.', 'allow_private_albums', 0), //cpg1.3.0
+  array('Quels types et tailles d\'images puis-je uploader ?', 'La taille et le type (jpg,gif,..etc.) est défini par l\'administrateur. Vous pouvez lui en demander la liste.', 'offline', 0), //cpg1.3.0
+  array('Comment puis-je créer, renommer ou supprimer des albums dans &quot;Ma Galerie&quot; ?', 'Vous devez auparavant entrer dans le &quot;Mode admin.&quot;<br/>Cliquez ensuite sur &quot;Créer / classer mes Albums&quot;puis cliquez sur &quot;Nouveau&quot;. Remplacez &quot;New Album&quot; à votre convenance.<br />Vous pouvez aussi renommer vos albums dans votre galerie.<br />Cliquez ensuite sur &quot;Appliquer les Modifications&quot;.', 'allow_private_albums', 0), //cpg1.3.0
+  array('Comment puis-je modifier ou restreindre l\'accès à mes albums ?', 'Vous devez auparavant entrer dans le &quot;Mode admin.&quot;<br />Cliquez ensuite sur &quot;Modifier mes albums&quot;. Dans la zone &quot;Mettre l\'album à jour&quot; sélectionnez l\'album que vous souhaitez modifier.<br />Vous pouvez modifier le nom, la description, la vignette, restreindre l\'accès, les options concernant les notes et les commentaires.<br />Cliquez sur &quot;Mettre l\'album à jour&quot;. pour valider', 'allow_private_albums', 0), //cpg1.3.0
+  array('Comment puis-je voir les albums des autres utilisateurs ?', 'Allez sur &quot;Liste des albums&quot; et choisissez &quot;Galeries utilisateurs&quot;.', 'allow_private_albums', 0), //cpg1.3.0
+  array('Que sont les cookies ?', 'Les cookies sont des fichiers texte contenant des paramètres du site et de votre pseudo. Ces cookies sont stockées dans votre ordinateur.<br />Ils vous apportent la possibilité d\'entrer et sortir du site sans avoir à vous identifier, ainsi que d\'autres facilités.', 'offline', 0), //cpg1.3.0
+  array('Où puis-je me procurer cette galerie pour mon site ?', 'Coppermine est une Galerie multimédia gratuite, sous licence GNU GPL. Elle comprend de nombreuses fonctions avancées et est portée sur plusieurs plateformes. Visitez le site <a href="http://coppermine-gallery.net/">Page principale Coppermine</a> pour en savoir plus et procéder à son téléchargement.', 'offline', 0), //cpg1.3.0
+
+  '<br>Navigation dans le site<br>', //cpg1.3.0
+  array('Qu\'est-ce-que &quot;Liste des albums&quot; ?', 'Cela vous redirigera vers la galerie principale avec un lien vers chaque catégorie. Ces liens peuvent être sous forme de vignettes.', 'offline', 0), //cpg1.3.0
+  array('Qu\'est-ce-que &quot;Ma galerie&quot; ?', 'Cette fonctionnalité vous permet de créer vos propres albums et d\'y uploader et gérer vos photos.', 'allow_private_albums', 0), //cpg1.3.0
+  array('Quelle est la différence entre le &quot;Mode admin.&quot; et le &quot;Mode utilisateur&quot; ?', 'Le &quot;Mode admin.&quot; vous permet de modifier vos albums ainsi que tous les albums pour lesquels vous aurez été habilité par l\'administrateur.', 'allow_private_albums', 0), //cpg1.3.0
+  array('Qu\'est-ce-que &quot;Uploader une image&quot; ?', 'Cette fonctionnalité vous permet d\'uploader des photos (dont la taille et le type sont définis par l\'administrateur) dans les galeries et albums pour lesquels vous aurez été habilité par l\'administrateur.', 'allow_private_albums', 0), //cpg1.3.0
+  array('Qu\'est-ce-que &quot;Derniers ajouts&quot; ?', 'Cette fonctionnalité vous montre les dernières photos uploadées sur le site.', 'offline', 0), //cpg1.3.0
+  array('Qu\'est-ce-que &quot;Commentaires&quot; ?', 'Cette fonctionnalité vous montre les derniers commentaires postés par les utilisateurs du site.', 'offline', 0), //cpg1.3.0
+  array('Qu\'est-ce-que &quot;Les plus populaires&quot; ?', 'Cette fonctionnalité vous montre les photos les plus vues par les visiteurs, identifiés ou anonymes.', 'offline', 0), //cpg1.3.0
+  array('Qu\'est-ce-que &quot;Les mieux notées&quot; ?', 'Cette fonctionnalité vous montre les photos, triées par leur note moyenne. Par exemples : <br />- Si 5 utilisateurs donnent chacun la note 3 (<img src="images/rating3.gif" width="65" height="14" border="0" alt="" />), la photo obtient la note moyenne de 3 (<img src="images/rating3.gif" width=&"65" height="14" border="0" alt="" />).<br />- Si 5 utilisateurs donnent les notes 1, 2, 3, 4 et 5, la photo obtient une moyenne de 3 également (<img src="images/rating3.gif" width="65" height="14" border="0" alt="" /> ).<br />Les notes vont de <img src="images/rating5.gif" width="65" height="14" border="0"/> (meilleure) to <img src="images/rating0.gif" width="65" height="14" border="0" /> (moins bonne).', 'offline', 0), //cpg1.3.0
+  array('Qu\'est-ce-que &quot;Mes favoris&quot; ?', 'Cette fonctionnalité vous permet de stocker une ou plusieurs photos dans le cookie qui est stocké dans votre ordinateur.', 'offline', 0), //cpg1.3.0
+);
+
+
+// ------------------------------------------------------------------------- //
+// File forgot_passwd.php
+// ------------------------------------------------------------------------- //
+
+if (defined('FORGOT_PASSWD_PHP')) $lang_forgot_passwd_php = array(
+  'forgot_passwd' => 'Rappel de Mot de passe', //cpg1.3.0
+  'err_already_logged_in' => 'Vous êtes déjà identifié&nbsp;!', //cpg1.3.0
+  'enter_email' => 'Saisissez votre adresse de messagerie', //cpg1.3.0
+  'submit' => 'Envoyer', //cpg1.3.0
+  'illegal_session' => 'Le mot de passe pour cette session est invalide ou a expiré.', //cpg1.4
+  'failed_sending_email' => 'Le mot de passe n\'a pas pu être envoyé&nbsp;!', //cpg1.3.0
+  'email_sent' => 'Un message a été envoyé avec votre mot de passe à l\'adresse %s', //cpg1.3.0
+  'verify_email_sent' => 'Un courriel a été envoyé à %s. Veuillez vérifier vos courriels pour terminer le processus.', //cpg1.4
+  'err_unk_user' => 'L\'utilisateur indiqué n\'existe pas&nbsp;!', //cpg1.3.0
+  'account_verify_subject' => '%s - Demande de nouveau Mot de Passe', //cpg1.4
+  'account_verify_body' => 'Vous avez demandé un nouveau Mot de Passe. Si vous souhaitez recevoir par courriel un nouveau mot de passe, cliquez sur le lien ci-après:
+
+%s', //cpg1.4
+  'passwd_reset_subject' => '%s - Rappel de Mot de passe', //cpg1.3.0
+  'passwd_reset_body' => 'Vous avez demandé que votre mot de passe vous soit rappelé. Voici donc vos données de connexion :
+Utilisateur: %s
+Mot de passe : %s
+Cliquez sur %s pour vous identifier.', //cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File groupmgr.php
+// ------------------------------------------------------------------------- //
+
+if (defined('GROUPMGR_PHP')) $lang_groupmgr_php = array(
+  'group_name' => 'Nom du groupe',
+  'permissions' => 'Droits', //cpg1.4
+  'public_albums' => 'Upload dans les albums publics', //cpg1.4
+  'personal_gallery' => 'Galerie personnelle', //cpg1.4
+  'upload_method' => 'Méthode d\'Upload', //cpg1.4
+  'disk_quota' => 'Quota disque',
+  'rating' => 'Note', //cpg1.4
+  'ecards' => 'Cartes électronique', //cpg1.4
+  'comments' => 'Commentaires', //cpg1.4
+  'allowed' => 'Autorisé', //cpg1.4
+  'approval' => 'Approbation', //cpg1.4
+  'boxes_number' => 'Nombre de champs', //cpg1.4
+  'variable' => 'variable', //cpg1.4
+  'fixed' => 'fixé', //cpg1.4
+  'apply' => 'Appliquer les modifications',
+  'create_new_group' => 'Créer un nouveau groupe',
+  'del_groups' => 'Supprimer le(s) groupe(s) sélectionné(s)',
+  'confirm_del' => 'Attention, lorsque vous supprimez un groupe, les utilisateurs de ce groupe seront transférés dans le groupe d\\\'utilisateurs \\\'Enregistré\\\'!\n\nSouhaitez-vous continuer?',//js-alert
+  'title' => 'Gérer les groupes d\'utilisateurs',
+  'num_file_upload' => 'Champ(s) d\'upload', //cpg1.4
+  'num_URI_upload' => 'Champ(s) d\'upload (URI)', //cpg1.4
+  'reset_to_default' => 'Mettre le nom par défaut (%s) - recommandé&nbsp;!', //cpg1.4
+  'error_group_empty' => 'La table du groupe est vide&nbsp;!<br /><br />Groupe par défaut créé, rechargez s\'il vous plait la page', //cpg1.4
+  'explain_greyed_out_title' => 'Pourquoi cette colonne est grisée ?', //cpg1.4
+  'explain_guests_greyed_out_text' => 'Vous ne pouvez pas changer les propriétés de ce group car vous avez choisi &quot;Non&quot; pour l\'option &quot;Autoriser l\'accès aux visiteurs non authentifiés (visiteur ou anonyme)&quot; dans la page Configuration. Les visiteurs ne peuvent donc rien faire d\'autre que se connecter; il n\'y a donc pas de règlages de groupe pour eux.', //cpg1.4
+  'explain_banned_greyed_out_text' => 'Vous ne pouvez pas changer les propriétés de ce groupe car ses membres ne peuvent rien faire.', //cpg1.4
+  'group_assigned_album' => 'album(s) assigné(s)', //cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File index.php
+// ------------------------------------------------------------------------- //
+
+if (defined('INDEX_PHP')){
+
+$lang_index_php = array(
+  'welcome' => 'Bienvenue!'
+);
+
+$lang_album_admin_menu = array(
+  'confirm_delete' => 'Voulez-vous VRAIMENT supprimer cet album ? \\nToutes les photos et tous les commentaires seront perdus.',//js-alert
+  'delete' => 'SUPPRIMER',
+  'modify' => 'PROPRIETES',
+  'edit_pics' => 'MODIFIER LES PHOTOS',
+);
+
+$lang_list_categories = array(
+  'home' => 'Accueil',
+  'stat1' => '<b>[pictures]</b> photos dans <b>[albums]</b> albums et <b>[cat]</b> catégories avec <b>[comments]</b> commentaires affichées <b>[views]</b> fois',
+  'stat2' => '<b>[pictures]</b> photos dans <b>[albums]</b> albums affichées <b>[views]</b> fois',
+  'xx_s_gallery' => '%s\'s Galerie',
+  'stat3' => '<b>[pictures]</b> photos dans <b>[albums]</b> albums avec <b>[comments]</b> commentaires affichées <b>[views]</b> fois'
+);
+
+$lang_list_users = array(
+  'user_list' => 'Liste d\'utilisateurs',
+  'no_user_gal' => 'Il n\'y a pas de nouvelle galerie d\'utilisateurs',
+  'n_albums' => '%s album(s)',
+  'n_pics' => '%s photo(s)'
+);
+
+$lang_list_albums = array(
+  'n_pictures' => '%s photos',
+  'last_added' => ', la dernière a été ajoutée le %s',
+  'n_link_pictures' => '%s fichiers liés', //cpg1.4
+  'total_pictures' => '%s total de fichiers', //cpg1.4
+);
+
+}
+
+// ------------------------------------------------------------------------- //
+// File keywordmgr.php //cpg1.4
+// ------------------------------------------------------------------------- //
+
+if (defined('KEYWORDMGR_PHP')) $lang_keywordmgr_php = array(
+  'title' => 'Gérer les mots clefs', //cpg1.4
+  'edit' => 'modifier', //cpg1.4
+  'delete' => 'effacer', //cpg1.4
+  'search' => 'chercher', //cpg1.4
+  'keyword_test_search' => 'chercher %s dans une nouvelle fenêtre', //cpg1.4
+  'keyword_del' => 'effacer le mot clef %s', //cpg1.4
+  'confirm_delete' => 'êtes-vous sur de vouloir effacer le mot clef %s de toute la galerie ?', //cpg1.4  // js-alert
+  'change_keyword' => 'changer le mot clef', //cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File login.php
+// ------------------------------------------------------------------------- //
+
+if (defined('LOGIN_PHP')) $lang_login_php = array(
+  'login' => 'Se connecter',
+  'enter_login_pswd' => 'Entrez votre login et mot de passe pour vous connecter',
+  'username' => 'Login',
+  'password' => 'Mot de passe',
+  'remember_me' => 'Se souvenir de moi',
+  'welcome' => 'Bienvenue %s ...',
+  'err_login' => '*** Impossible de se connecter. Essayez encore ***',
+  'err_already_logged_in' => 'Vous êtes déjà connecté(e)&nbsp;!',
+  'forgot_password_link' => 'J\'ai oublié mon mot de passe&nbsp;!', //cpg1.3.0
+  'cookie_warning' => 'Attention votre navigateur n\'accepte pas les cookies', //cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File logout.php
+// ------------------------------------------------------------------------- //
+
+if (defined('LOGOUT_PHP')) $lang_logout_php = array(
+  'logout' => 'Déconnexion',
+  'bye' => 'Au revoir %s ...',
+  'err_not_loged_in' => 'Vous n\'êtes pas identifié(e)&nbsp;!',
+);
+
+// ------------------------------------------------------------------------- //
+// File minibrowser.php  //cpg1.4
+// ------------------------------------------------------------------------- //
+
+if (defined('MINIBROWSER_PHP')) $lang_minibrowser_php = array(
+  'close' => 'fermer', //cpg1.4
+  'submit' => 'OK', //cpg1.4
+  'up' => 'remonter d\'un niveau', //cpg1.4
+  'current_path' => 'niveau actuel', //cpg1.4
+  'select_directory' => 'choisissez un répertoire', //cpg1.4
+  'click_to_close' => 'Cliquez sur l\'image pour fermer la fenêtre',
+);
+
+// ------------------------------------------------------------------------- //
+// File modifyalb.php
+// ------------------------------------------------------------------------- //
+
+if (defined('MODIFYALB_PHP')) $lang_modifyalb_php = array(
+  'upd_alb_n' => 'Mettre à jour l\'album %s',
+  'general_settings' => 'Paramètres généraux',
+  'alb_title' => 'Titre de l\'album',
+  'alb_cat' => 'Catégorie de l\'album',
+  'alb_desc' => 'Description de l\'album',
+  'alb_keyword' => 'Mot clef de l\'album', //cpg1.4
+  'alb_thumb' => 'vignette de l\'album',
+  'alb_perm' => 'Permissions pour cet album',
+  'can_view' => 'Cet album peut être consulté par',
+  'can_upload' => 'Les visiteurs peuvent mettre des photos en ligne',
+  'can_post_comments' => 'Les visiteurs peuvent poster des commentaires',
+  'can_rate' => 'Les visiteurs peuvent noter les photos',
+  'user_gal' => 'Galerie de l\'utilisateur',
+  'no_cat' => '* Pas de catégorie *',
+  'alb_empty' => 'L\'album est vide',
+  'last_uploaded' => 'Dernier upload',
+  'public_alb' => 'Tout le monde (album public)',
+  'me_only' => 'Moi seulement',
+  'owner_only' => 'Le propriétaire de l\'album (%s) seulement',
+  'groupp_only' => 'Membres du groupe \'%s\'',
+  'err_no_alb_to_modify' => 'Il n\'y a pas d\'album modifiable dans la base.',
+  'update' => 'Mettre l\'album à jour',
+  'reset_album' => 'Réinitialiser l\'album', //cpg1.4
+  'reset_views' => 'Mettre le compteur de vues à &quot;0&quot; dans %s', //cpg1.4
+  'reset_rating' => 'Effacer les votes de tous les fichiers dans %s', //cpg1.4
+  'delete_comments' => 'Supprimer tous les commentaires écrit dans %s', //cpg1.4
+  'delete_files' => 'Supprimer %sdéfinitivement%s tous les fichiers dans %s', //cpg1.4
+  'views' => 'vues', //cpg1.4
+  'votes' => 'votes', //cpg1.4
+  'comments' => 'commentaires', //cpg1.4
+  'files' => 'fichiers', //cpg1.4
+  'submit_reset' => 'soumettre les changements', //cpg1.4
+  'reset_views_confirm' => 'Je suis sûr', //cpg1.4
+  'notice1' => '(*) en fonction de la configuration des %sgroupes%s', //cpg1.3.0 (do not translate %s!)
+  'alb_password' => 'Mot de passe de l\'album', //cpg1.4
+  'alb_password_hint' => 'Pense bête du mot de passe de l\'album', //cpg1.4
+  'edit_files' =>'Editer les fichiers', //cpg1.4
+  'parent_category' =>'Catégorie parente', //cpg1.4
+  'thumbnail_view' =>'Vue des vignettes', //cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File phpinfo.php
+// ------------------------------------------------------------------------- //
+
+if (defined('PHPINFO_PHP')) $lang_phpinfo_php = array(
+  'php_info' => 'PHP info',
+  'explanation' => 'Voici la sortie générée par la fonction <a href="http://www.php.net/phpinfo">phpinfo()</a>, affichée à l\'intérieur de Coppermine (en rognant les informations trop longues).',
+  'no_link' => 'Les informations reprises ici peuvent représenter un risque pour la sécurité, c\'est pourquoi cette page n\'est visible que si vous êtes connecté en tant qu\'administrateur. Vous ne pouvez pas poster de lien vers cette page car les autres n\'y ont pas accès.',
+);
+
+// ------------------------------------------------------------------------- //
+// File picmgr.php //cpg1.4
+// ------------------------------------------------------------------------- //
+if (defined('PICMGR_PHP')) $lang_picmgr_php = array(
+  'pic_mgr' => 'Gestionnaire d\'image', //cpg1.4
+  'select_album' => 'Sélectionnez l\'album', //cpg1.4
+  'delete' => 'Supprimer', //cpg1.4
+  'confirm_delete1' => 'Etes-vous sur de vouloir supprimer cette image ?', //cpg1.4
+  'confirm_delete2' => '\nL\'image sera supprimée de façon permanente.', //cpg1.4
+  'apply_modifs' => 'Appliquer les modifications', //cpg1.4
+  'confirm_modifs' => 'Confirmez les modifications', //cpg1.4
+  'pic_need_name' => 'L\'image doit avoir un nom&nbsp;!', //cpg1.4
+  'no_change' => 'Vous n\'avez pas fait de changement&nbsp;!', //cpg1.4
+  'no_album' => '* Pas d\'album *', //cpg1.4
+  'explanation_header' => 'L\'ordre personnalisé de tri que vous pouvez définir ne sera pris en compte que si', //cpg1.4
+  'explanation1' => 'l\'administrateur à défini &quot;l\'ordre de tri par défaut des images&quot; dans la configuration en  &quot;Ordre croissant&quot; ou &quot;Ordre décroissant&quot; (configuration générale pour tous les utilisateurs qui n\'ont pas choisi une autre option de tri de manière individuelle)', //cpg1.4
+  'explanation2' => 'l\'utilisateur a choisi &quot;Ordre croissant&quot; ou &quot;Ordre décroissant&quot; sur la page des vignettes (Choix personnel de l\'utilisateur)', //cpg1.4
+);
+
+
+// ------------------------------------------------------------------------- //
+// File pluginmgr.php //cpg1.4
+// ------------------------------------------------------------------------- //
+
+if (defined('PLUGINMGR_PHP')){
+
+$lang_pluginmgr_php = array(
+  'confirm_uninstall' => 'Etes-vous sur de vouloir DESINSTALLER ce plugin', //cpg1.4
+  'confirm_delete' => 'Etes-vous sur de vouloir SUPPRIMER ce plugin', //cpg1.4
+  'pmgr' => 'Gérer les plugin', //cpg1.4
+  'name' => 'Nom', //cpg1.4
+  'author' => 'Auteur', //cpg1.4
+  'desc' => 'Description', //cpg1.4
+  'vers' => 'v', //cpg1.4
+  'i_plugins' => 'Plugins installés', //cpg1.4
+  'n_plugins' => 'Plugins non-installés', //cpg1.4
+  'none_installed' => 'Aucune installation', //cpg1.4
+  'operation' => 'Opération', //cpg1.4
+  'not_plugin_package' => 'Le fichier uploadé n\'est pas un plugin.', //cpg1.4
+  'copy_error' => 'Il y a eu une erreur en copiant le plugin dans le répertoire.', //cpg1.4
+  'upload' => 'Upload', //cpg1.4
+  'configure_plugin' => 'Configurer le plugin', //cpg1.4
+  'cleanup_plugin' => 'Nettoyer le plugin', //cpg1.4
+);
+}
+
+// ------------------------------------------------------------------------- //
+// File ratepic.php
+// ------------------------------------------------------------------------- //
+
+if (defined('RATEPIC_PHP')) $lang_rate_pic_php = array(
+  'already_rated' => 'Vous aviez déjà noté cette photo',
+  'rate_ok' => 'Votre vote a été pris en compte',
+  'forbidden' => 'Vous ne pouvez pas noter vos propres photos.', //cpg1.3.0
+);
+
+// ------------------------------------------------------------------------- //
+// File register.php & profile.php
+// ------------------------------------------------------------------------- //
+
+if (defined('REGISTER_PHP') || defined('PROFILE_PHP')) {
+
+$lang_register_disclamer = <<<EOT
+Bien que les administrateurs de {SITE_NAME} fassent en sorte de supprimer ou modifier toute donnée à caractère répréhensible le plus rapidement possible, il est impossible de scruter systématiquement l'intégralité des contenus. Vous êtes par conséquent conscient que tous les posts effectués sur ce site expriment les points de vue et opinions de leurs auteurs et non ceux des administrateurs ou du webmaster (sauf, évidemment dans le cas des posts effectués par ces derniers), qui ne pourront par conséquent pas être considérés comme responsables.<br />
+<br />
+Vous acceptez de ne poster aucune donnée à caractère injurieux, obscène, vulgaire, diffamatoire, menaçant, sexuel ou tout autre contenu susceptible de violer la loi. Vous acceptez que le webmaster et les modérateurs de {SITE_NAME} aient le droit de supprimer ou modifier n'importe quel contenu, si cela leur semble opportun. En tant qu'utilisateur, vous acceptez que toutes les informations entrées plus haut et toutes les photographies que vous publiez soient stockées dans une base de données. Bien que ces informations et photographies ne soient pas communiquées à des tiers sans votre consentement, le webmaster et les administrateurs ne peuvent en aucun cas être tenus pour responsables dans le cas de tentatives de hack qui pourraient compromettre les données ou permettre l'accès ou l'utilisation illicite de vos photographies.<br />
+<br />
+Ce site utilise des cookies pour stocker des informations sur votre ordinateur. Ces cookies ne servent qu'à améliorer votre navigation sur ce site. Votre adresse e-mail ne sera utilisée que pour confirmer les données de votre inscription ainsi que votre mot de passe.<br />
+<br />
+En cliquant sur 'J'accepte' ci-dessous, vous acceptez de vous soumettre à ces conditions ainsi qu'à toutes leurs éventuelles mises à jour.
+EOT;
+
+$lang_register_php = array(
+  'page_title' => 'inscription d\'utilisateur',
+  'term_cond' => 'Conditions générales d\'inscription',
+  'i_agree' => 'J\'accepte',
+  'submit' => 'S\'inscrire',
+  'err_user_exists' => 'Le nom d\'utilisateur que vous avez entré existe déjà, merci de bien vouloir en choisir un autre',
+  'err_password_mismatch' => 'Les deux mots de passe ne correspondent pas, merci de les entrer à nouveau',
+  'err_uname_short' => 'Le nom d\'utilisateur doit comprendre au moins 2 caractères',
+  'err_password_short' => 'Le mot de passe doit comprendre au moins 2 caractères',
+  'err_uname_pass_diff' => 'Le nom d\'utilisateur et le mot de passe doivent être différents',
+  'err_invalid_email' => 'L\'adresse courriel n\'est pas valide',
+  'err_duplicate_email' => 'Un autre utilisateur s\'est déjà enregisté avec l\'adresse courriel que vous avez entrée',
+  'enter_info' => 'Entrez les informations relatives à votre inscription',
+  'required_info' => 'Informations requises',
+  'optional_info' => 'Informations optionnelles',
+  'username' => 'Nom d\'utilisateur / login',
+  'password' => 'Mot de passe',
+  'password_again' => 'Entrez à nouveau le mot de passe',
+  'email' => 'Courriel',
+  'location' => 'Localisation',
+  'interests' => 'Intérêts',
+  'website' => 'Site web',
+  'occupation' => 'Activité',
+  'error' => 'ERREUR',
+  'confirm_email_subject' => '%s - Confirmation d\'inscription',
+  'information' => 'Informations',
+  'failed_sending_email' => 'Le courriel de confirmation d\'inscription n\'a pas pu être envoyé!',
+  'thank_you' => 'Merci pour votre inscription.<br /><br />Un courriel contenant les informations sur l\'activation de votre compte vous a été envoyé à l\'adresse courriel que vous nous avez communiquée.',
+  'acct_created' => 'Votre compte a bien été créé. Vous pouvez maintenant vous identifier avec votre login et votre mot de passe',
+  'acct_active' => 'Votre compte a bien été activé. Vous pouvez maintenant vous identifier avec votre login et votre mot de passe',
+  'acct_already_act' => 'Votre compte est déjà actif!',
+  'acct_act_failed' => 'Ce compte ne peut pas être activé!',
+  'err_unk_user' => 'L\'utilisateur sélectionné n\'existe pas!',
+  'x_s_profile' => 'Profil de %s',
+  'group' => 'Groupe',
+  'reg_date' => 'Date d\'inscription',
+  'disk_usage' => 'Utilisation du disque',
+  'change_pass' => 'Modifier le mot de passe',
+  'current_pass' => 'Mot de passe actuel',
+  'new_pass' => 'Nouveau mot de passe',
+  'new_pass_again' => 'Nouveau mot de passe (à nouveau)',
+  'err_curr_pass' => 'Le mot de passe actuel n\'est pas correct',
+  'apply_modif' => 'Appliquer les modifications',
+  'change_pass' => 'Changer mon mot de passe',
+  'update_success' => 'Votre profil a été mis à jour',
+  'pass_chg_success' => 'Votre mot de passe a été modifié',
+  'pass_chg_error' => 'Votre mot de passe n\'a pas été modifié',
+  'notify_admin_email_subject' => '%s - notification d\'inscription',
+  'last_uploads' => 'Dernier fichier uploadé.<br />Cliquer pour voir tous les derniers upload par', //cpg1.4
+  'last_comments' => 'Dernier commentaire.<br />Cliquer pour voir tous les derniers commentaires par', //cpg1.4
+  'notify_admin_email_body' => 'Un nouvel utilisateur s\'est inscrit dans votre galerie, sous le nom &quot;%s&quot;',
+  'pic_count' => 'Fichiers uploadés', //cpg1.4
+  'notify_admin_request_email_subject' => '%s - Demande d\'enregistrement', //cpg1.4
+  'thank_you_admin_activation' => 'Merci.<br /><br />Votre requête d\'activation du compte a été envoyé à l\administrateur. Vous recevrez un courriel s\'il est approuvé', //cpg1.4
+  'acct_active_admin_activation' => 'Le compte est maintenant actif et un courriel a été envoyé à l\'utilisateur.', //cpg1.4
+  'notify_user_email_subject' => '%s - Notification d\'activation', //cpg1.4
+);
+
+$lang_register_confirm_email = <<<EOT
+Merci pour votre inscription sur {SITE_NAME}
+
+Pour activer ce compte avec ce nom d'utilisateur &quot;{USER_NAME}&quot;, vous devez cliquer sur le lien ci-dessous ou le copier dans la barre d'adresse de votre navigateur
+
+<a href="{ACT_LINK}">{ACT_LINK}</a>
+
+Cordialement,
+
+L'administrateur de {SITE_NAME}
+
+EOT;
+
+$lang_register_approve_email = <<<EOT
+Un nouvel utilisateur avec ce pseudonyme &quot;{USER_NAME}&quot; s'est inscrit dans votre galerie.
+
+Pour activer ce compte, vous devez cliquer sur le lien ci-dessous ou le copier dans la barre d'adresse de votre navigateur.
+
+<a href="{ACT_LINK}">{ACT_LINK}</a>
+
+EOT;
+
+$lang_register_activated_email = <<<EOT
+Votre compte a été approuvé et activé.
+
+Vous pouvez maintenant vous connecter <a href="{SITE_LINK}">{SITE_LINK}</a> en utilisant ce nom d'utilisateur &quot;{USER_NAME}&quot;
+
+
+Cordialement,
+
+L'administrateur de {SITE_NAME}
+
+EOT;
+}
+
+// ------------------------------------------------------------------------- //
+// File reviewcom.php
+// ------------------------------------------------------------------------- //
+
+if (defined('REVIEWCOM_PHP')) $lang_reviewcom_php = array(
+  'title' => 'Vérifier les commentaires',
+  'no_comment' => 'Il n\'y a pas de commentaire à vérifier',
+  'n_comm_del' => '%s commentaire(s) supprimé(s)',
+  'n_comm_disp' => 'Nombre de commentaires à afficher',
+  'see_prev' => 'Voir précédent(s)',
+  'see_next' => 'Voir suivant(s)',
+  'del_comm' => 'Supprimer les commentaires sélectionnés',
+  'user_name' => 'Nom', //cpg1.4
+  'date' => 'Date', //cpg1.4
+  'comment' => 'Commentaire', //cpg1.4
+  'file' => 'Fichier', //cpg1.4
+  'name_a' => 'Nom d\'utilisateur ascendant', //cpg1.4
+  'name_d' => 'Nom d\'utilisateur descendant', //cpg1.4
+  'date_a' => 'Date ascendante', //cpg1.4
+  'date_d' => 'Date descendante', //cpg1.4
+  'comment_a' => 'Commentaire du message ascendant', //cpg1.4
+  'comment_d' => 'Commentaire du message descendant', //cpg1.4
+  'file_a' => 'Fichier ascendant', //cpg1.4
+  'file_d' => 'Fichier descendant', //cpg1.4
+);
+
+
+// ------------------------------------------------------------------------- //
+// File search.php                                                           //
+// ------------------------------------------------------------------------- //
+
+
+if (defined('SEARCH_PHP')){
+
+$lang_search_php = array(
+  'title' => 'Chercher dans les fichiers', //cpg1.4
+  'submit_search' => 'chercher', //cpg1.4
+  'keyword_list_title' => 'Liste de mots-clés', //cpg1.4
+  'keyword_msg' => 'Cette liste n\'est pas exhaustive . Elle ne comprends pas les mots inclus dans les titres et les descriptions des photos. Essayez une recherche sur une phrase.',  //cpg1.4
+  'edit_keywords' => 'Editer les mots-clés', //cpg1.4
+  'search in' => 'Chercher dans :', //cpg1.4
+  'ip_address' => 'Adresse IP', //cpg1.4
+  'fields' => 'Chercher dans', //cpg1.4
+  'age' => 'Age', //cpg1.4
+  'newer_than' => 'Nouveau depuis', //cpg1.4
+  'older_than' => 'Ancien depuis', //cpg1.4
+  'days' => 'jours', //cpg1.4
+  'all_words' => 'Chercher TOUS les mots (AND)', //cpg1.4
+  'any_words' => 'Chercher AU MOINS un mot (OR)', //cpg1.4
+);
+
+$lang_adv_opts = array(
+  'title' => 'Titre', //cpg1.4
+  'caption' => 'Légende', //cpg1.4
+  'keywords' => 'Mot-clés', //cpg1.4
+  'owner_name' => 'Nom du propriétaire', //cpg1.4
+  'filename' => 'Nom du fichier', //cpg1.4
+);
+
+}
+
+// ------------------------------------------------------------------------- //
+// File searchnew.php
+// ------------------------------------------------------------------------- //
+
+if (defined('SEARCHNEW_PHP')) $lang_search_new_php = array(
+  'page_title' => 'Rechercher les nouvelles photos',
+  'select_dir' => 'Sélectionnez le répertoire',
+  'select_dir_msg' => 'Cette fonction vous permet d\'ajouter un groupe de photos que vous avez uploadé sur votre serveur FTP.<br /><br />Sélectionnez le répertoire où vous avez uploadé vos photos',
+  'no_pic_to_add' => 'Il n\'y a pas de photo à ajouter',
+  'need_one_album' => 'Vous avez besoin d\'au moins un album pour effectuer cette opération',
+  'warning' => 'Avertissement',
+  'change_perm' => 'le script ne peut pas écrire dans ce répertoire, vous devez changer ses permissions à 755 ou 777 avant d\'essayer d\'ajouter les photos&nbsp;!',
+  'target_album' => '<b>Mettre les photos de &quot;</b>%s<b>&quot; dans </b>%s',
+  'folder' => 'Répertoire',
+  'image' => 'fichier',
+  'album' => 'Album',
+  'result' => 'Résultat',
+  'dir_ro' => 'Non inscriptible. ',
+  'dir_cant_read' => 'Illisible. ',
+  'insert' => 'Ajouter de nouvelles images à la galerie',
+  'list_new_pic' => 'Liste des nouvelles images',
+  'insert_selected' => 'Insérer les photos sélectionnées',
+  'no_pic_found' => 'Aucun nouveau fichier n\'a été trouvé',
+  'be_patient' => 'Soyez patient. Le script a besoin de temps pour mettre les photos en ligne',
+  'no_album' => 'Aucun album sélectionné',
+  'result_icon' => 'Cliquer pour les détails ou  pour recharger',  //cpg1.4
+  'notes' =>  '<ul>'.
+                          '<li><b>OK</b> : signifie que le fichier a été ajouté  avec succès'.
+                          '<li><b>DP</b> : signifie que le fichier est un doublon et existe déjà dans la base de données'.
+                          '<li><b>PB</b> : signifie que le fichier n\'a pas pu être ajouté, vérifiez votre configuration et les droits (CHMOD) du répertoire de destination du fichier'.
+                          '<li><b>NA</b> : signifie que vous n\'avez pas sélectionné d\'album de destination pour ce fichier, cliquez sur \'<a href="javascript:history.back(1)">retour</a>\' et sélectionnez un album. si vous n\'avez pas d\' album <a href="albmgr.php">créez en un d\'abord</a></li>'.
+                          '<li>Si les signes OK, DP, PB n\'apparaissent pas, cliquez sur le lien brisé afin de voir le message d\'erreur généré par PHP'.
+                          '<li>Si votre navigateur vous indique un dépassement de durée, cliquez sur &quot;Actualiser&quot;.'.
+                          '</ul>',
+  'select_album' => 'Choisissez un album',
+  'check_all' => 'Tout cocher', //cpg1.3.0
+  'uncheck_all' => 'Tout décocher', //cpg1.3.0
+  'no_folders' => 'Il n\'y a actuellement pas de sous-répertoire dans le répertoire &quot;albums&quot;. Vérifiez que vous avez bien créé un sous-répertoire dans le répertoire &quot;albums&quot; et uploadez-y vos fichiers par le FTP. Vous ne devez pas uploader dans les répertoires &quot;userpics&quot; ou &quot;edit&quot; , ils sont réservés pour les uploads en HTML ou pour des traitements internes.', //cpg1.4
+   'albums_no_category' => 'Albums sans catégorie', //cpg1.4 // album pulldown mod, added by frogfoot
+  'personal_albums' => '* Albums personnels', //cpg1.4 // album pulldown mod, added by frogfoot
+  'browse_batch_add' => 'Interface d\'exploration (recommandé)', //cpg1.4
+  'edit_pics' => 'Editer les fichiers', //cpg1.4
+  'edit_properties' => 'Propriétés de l\'album', //cpg1.4
+  'view_thumbs' => 'Voir les vignettes', //cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File stat_details.php //cpg1.4
+// ------------------------------------------------------------------------- //
+
+if (defined('STAT_DETAILS_PHP')) $lang_stat_details_php = array(
+  'show_hide' => 'afficher / cacher cette colonne', //cpg1.4
+  'vote' => 'Détails des votes', //cpg1.4
+  'hits' => 'Détails des hits', //cpg1.4
+  'stats' => 'Statistiques des votes', //cpg1.4
+  'sdate' => 'Date', //cpg1.4
+  'rating' => 'Vote', //cpg1.4
+  'search_phrase' => 'Phrase de recherche', //cpg1.4
+  'referer' => 'Référant', //cpg1.4
+  'browser' => 'Navigateur', //cpg1.4
+  'os' => 'Système d\'exploitation', //cpg1.4
+  'ip' => 'IP', //cpg1.4
+  'sort_by_xxx' => 'Classer par %s', //cpg1.4
+  'ascending' => 'ascendant', //cpg1.4
+  'descending' => 'descendant', //cpg1.4
+  'internal' => 'interne', //cpg1.4
+  'close' => 'fermer', //cpg1.4
+  'hide_internal_referers' => 'cacher les attributs internes', //cpg1.4
+  'date_display' => 'Date d\'affichage', //cpg1.4
+  'submit' => 'soumettre / actualiser', //cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File thumbnails.php
+// ------------------------------------------------------------------------- //
+
+// Void
+
+// ------------------------------------------------------------------------- //
+// File upload.php
+// ------------------------------------------------------------------------- //
+
+if (defined('UPLOAD_PHP')) $lang_upload_php = array(
+  'title' => 'Uploader un fichier',
+  'custom_title' => 'Formulaire de requête personnalisée',
+  'cust_instr_1' => 'Vous pouvez sélectionner un nombre personnalisé de boxes d\'uploads, dans la limite listée ci-dessous.',
+  'cust_instr_2' => 'Nombre de cases de requête',
+  'cust_instr_3' => 'Cases d\'uploads de fichier : %s',
+  'cust_instr_4' => 'Cases d\'uploads URI/URL : %s',
+  'cust_instr_5' => 'Cases d\'uploads URI/URL :',
+  'cust_instr_6' => 'Cases d\'uploads de fichier :',
+  'cust_instr_7' => 'Merci de saisir le nombre de chaque type de cases d\'uploads désiré. Ensuite cliquez sur \'Continuer\'. ',
+  'reg_instr_1' => 'Action invalide pour la création du formulaire.',
+  'reg_instr_2' => 'Vous pouvez maintenant uploader vos fichiers en utilisant les cases d\'upload ci-dessous. Le poids des fichiers uploadés de votre fichier vers le serveur ne peut excéder %s Ko chacun. Les fichiers ZIP uploadés dans les sections \'Upload de fichier\' et \'Upload URI/URL\' resteront compressés.',
+  'reg_instr_3' => 'Si vous souhaitez que le fichier soit décompressé, vous devez utiliser la case de téléchargement fournie dans la zone \'Upload de ZIP décompressible\'',
+  'reg_instr_4' => 'Si vous utilisez la section d\'upload URI/URL, saisissez l\'adresse du fichier de la forme http://www.votre-site.com/images/exemple.jpg',
+  'reg_instr_5' => 'Lorsque le formulaire est complété, cliquez sur \'Continuer\'.',
+  'reg_instr_6' => 'Upload de ZIP décompressible :',
+  'reg_instr_7' => 'Uploads de fichier :',
+  'reg_instr_8' => 'Uploads URI/URL :',
+  'error_report' => 'Rapport d\'erreur',
+  'error_instr' => 'Le téléchargement suivant a généré des erreurs :',
+  'file_name_url' => 'Nom de fichier / URL',
+  'error_message' => 'Message d\'erreur',
+  'no_post' => 'Fichier non uploadé par POST.',
+  'forb_ext' => 'Extension de fichier non autorisée.',
+  'exc_php_ini' => 'Le poids excède celui permis par le fichier php.ini.',
+  'exc_file_size' => 'Le poids excède celui permis par Coppermine.',
+  'partial_upload' => 'Upload partiel uniquement.',
+  'no_upload' => 'L\'upload ne s\'est pas effectué.',
+  'unknown_code' => 'Code d\'erreur d\'upload PHP inconnu.',
+  'no_temp_name' => 'Pas d\'upload - Pas de dossier temporaire.',
+  'no_file_size' => 'Pas de données ou données endommagées',
+  'impossible' => 'Impossible à déplacer.',
+  'not_image' => 'Pas une image ou image endommagée',
+  'not_GD' => 'N\'est pas une extension GD.',
+  'pixel_allowance' => 'La hauteur et/ou la largeur de l\'image uploadée est plus grande que celle permise dans la configuration de la galerie.', //cpg1.4
+  'incorrect_prefix' => 'Préfixe URI/URL incorrect',
+  'could_not_open_URI' => 'Ouverture d\'URI impossible.',
+  'unsafe_URI' => 'Sécurité non vérifiable.',
+  'meta_data_failure' => 'Erreur de Meta-données',
+  'http_401' => '401 Non autorisé',
+  'http_402' => '402 Paiement requis',
+  'http_403' => '403 Interdit',
+  'http_404' => '404 Non trouvé',
+  'http_500' => '500 Erreur interne au serveur',
+  'http_503' => '503 Service indisponible',
+  'MIME_extraction_failure' => 'Type MIME indéterminé.',
+  'MIME_type_unknown' => 'Type MIME inconnu',
+  'cant_create_write' => 'Ne peut pas créer le fichier réinscriptible.',
+  'not_writable' => 'Ne peut pas écrire dans le fichier réinscriptible.',
+  'cant_read_URI' => 'Lecture de l\'URI/URL impossible',
+  'cant_open_write_file' => 'Ne peut pas ouvrir l\'URI du fichier réinscriptible.',
+  'cant_write_write_file' => 'Ne peut pas écrire dans l\'URI du fichier réinscriptible.',
+  'cant_unzip' => 'Dézippage impossible.',
+  'unknown' => 'Erreur inconnue.',
+  'succ' => 'Uploads effectués avec succès',
+  'success' => '%s uploads effectués avec succès.',
+  'add' => 'Cliquez sur \'Continuer\' pour ajouter les fichiers aux albums.',
+  'failure' => 'Erreur d\'upload',
+  'f_info' => 'Information du fichier',
+  'no_place' => 'Le fichier précédent n\'a pas pu être placé.',
+  'yes_place' => 'Le fichier précédent a été placé avec succès',
+  'max_fsize' => 'Le poids maximal autorisé pour une image est de %s Ko',
+  'album' => 'Album',
+  'picture' => 'Fichier',
+  'pic_title' => 'Titre du fichier',
+  'description' => 'Description du fichier',
+  'keywords' => 'Mots clefs (séparés par des espaces)<br /><a href="#" onClick="return MM_openBrWindow(\'keyword_select.php\',\'selectKey\',\'width=250, height=400, scrollbars=yes,toolbar=no,status=yes,resizable=yes\')">Insert from list</a>', //cpg1.4
+  'keywords_sel' =>'Choisissez un mot-clé', //cpg1.4
+  'err_no_alb_uploadables' => 'Désolés, mais il n\'existe pas d\'album dans lequel vous avez le droit d\'uploader des photos',
+  'place_instr_1' => 'Merci de placer les fichiers dans les albums maintenant.  Vous pouvez aussi saisir les informations de chaque fichier.',
+  'place_instr_2' => 'D\'autres fichiers doivent être placés. Merci de cliquer sur \'Continuer\'.',
+  'process_complete' => 'Vous avez placé tous les fichiers avec succès.',
+   'albums_no_category' => 'L\'album n\'a pas de catégorie', //cpg1.4. //album pulldown mod, added by frogfoot
+  'personal_albums' => '* Albums personnels', //cpg1.4 //album pulldown mod, added by frogfoot
+  'select_album' => 'Sélectionnez l\'album', //cpg1.4 //album pulldown mod, added by frogfoot
+  'close' => 'Fermer', //cpg1.4
+  'no_keywords' => 'Désolé, aucun mot-clé disponible&nbsp;!', //cpg1.4
+  'regenerate_dictionary' => 'Regénérer le dictionnaire', //cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File usermgr.php
+// ------------------------------------------------------------------------- //
+
+if (defined('USERMGR_PHP')) $lang_usermgr_php = array(
+  'memberlist' => 'Liste des membres', //cpg1.4
+  'user_manager' => 'Gestion utilisateurs', //cpg1.4
+  'title' => 'Gérer les utilisateurs',
+  'name_a' => 'Nom ascendant',
+  'name_d' => 'Nom descendant',
+  'group_a' => 'Groupe ascendant',
+  'group_d' => 'Groupe descendant',
+  'reg_a' => 'Date d\'inscription ascendante',
+  'reg_d' => 'Date d\'inscription descendante',
+  'pic_a' => 'Nombre de fichiers ascendant',
+  'pic_d' => 'Nombre de fichiers descendant',
+  'disku_a' => 'Utilisation espace disque ascendant',
+  'disku_d' => 'Utilisation espace disque descendant',
+  'lv_a' => 'Dernière visite ascendante',
+  'lv_d' => 'Dernière visite descendante',
+  'sort_by' => 'Classer les utilisateurs par',
+  'err_no_users' => 'La table d\'utilisateurs est vide!',
+  'err_edit_self' => 'Vous ne pouvez pas modifier votre propre profil, utilisez le lien \'Mon profil\' pour effectuer cette opération',
+  'edit' => 'Editer',
+  'with_selected' => 'Sélectionner:', //cpg1.4
+  'delete' => 'Supprimer', //cpg1.4
+  'delete_files_no' => 'garder le fichiers publics (mais les laisser anonymes)', //cpg1.4
+  'delete_files_yes' => 'effacer les fichiers publics', //cpg1.4
+  'delete_comments_no' => 'garder les commentaires(mais les laisser anonymes)', //cpg1.4
+  'delete_comments_yes' => 'effacer les commentaires', //cpg1.4
+  'activate' => 'Activer', //cpg1.4
+  'deactivate' => 'Désactiver', //cpg1.4
+  'reset_password' => 'Changer le mot de passe', //cpg1.4
+  'change_primary_membergroup' => 'Changer de groupe principal', //cpg1.4
+  'add_secondary_membergroup' => 'Ajouter un groupe secondaire', //cpg1.4
+  'name' => 'Nom d\'utilisateur',
+  'group' => 'Groupe',
+  'inactive' => 'Inactif',
+  'operations' => 'Opérations',
+  'pictures' => 'Fichiers',
+  'disk_space_used' => 'Espace utilisé', //cpg1.4
+  'disk_space_quota' => 'Espace alloué', //cpg1.4
+  'registered_on' => 'Enregistré le',
+  'last_visit' => 'Dernière visite',
+  'u_user_on_p_pages' => '%d utilisateur(s) sur %d page(s)',
+  'confirm_del' => 'Voulez vous vraiment SUPPRIMER cet utilisateur?\\nToutes ses photos et albums seront également supprimés.', //js-alert
+  'mail' => 'MAIL',
+  'err_unknown_user' => 'L\'utilisateur sélectionné n\'existe pas!',
+  'modify_user' => 'Modifier l\'utilisateur',
+  'notes' => 'Notes',
+  'note_list' => '<li>Si vous ne souhaitez pas modifier le mot de passe actuel, laisse le champs &quot;mot de passe&quot; vide.',
+  'password' => 'Mot de passe',
+  'user_active' => 'L\'utilisateur est actif',
+  'user_group' => 'Groupe de l\'utilisateur',
+  'user_email' => 'Courriel de l\'utilisateur',
+  'user_web_site' => 'Site web de l\'utilisateur',
+  'create_new_user' => 'Créer un nouvel utilisateur',
+  'user_location' => 'Localisation de l\'utilisateur',
+  'user_interests' => 'Centres d\'intérêt de l\'utilisateur',
+  'user_occupation' => 'Activité de l\'utilisateur',
+  'user_profile1' => '$user_profile1', //cpg1.4
+  'user_profile2' => '$user_profile2', //cpg1.4
+  'user_profile3' => '$user_profile3', //cpg1.4
+  'user_profile4' => '$user_profile4', //cpg1.4
+  'user_profile5' => '$user_profile5', //cpg1.4
+  'user_profile6' => '$user_profile6', //cpg1.4
+  'latest_upload' => 'Derniers uploads',
+  'never' => 'jamais',
+  'search' => 'Chercher un utilisateur', //cpg1.4
+  'submit' => 'Soumettre', //cpg1.4
+  'search_submit' => 'Valider!', //cpg1.4
+  'search_result' => 'Résultat de recherche pour : ', //cpg1.4
+  'alert_no_selection' => 'vous devez d\\\'abord sélectionner un utilisateur!', //cpg1.4 //js-alert
+  'password' => 'mot de passe', //cpg1.4
+  'select_group' => 'Sélectionnez un groupe', //cpg1.4
+  'groups_alb_access' => 'Droits sur les albums pour le groupe', //cpg1.4
+  'album' => 'Album', //cpg1.4
+  'category' => 'Catégorie', //cpg1.4
+  'modify' => 'Modifier ?', //cpg1.4
+  'group_no_access' => 'Ce groupe n\'a pas d\'accès spécial', //cpg1.4
+  'notice' => 'Attention', //cpg1.4
+  'group_can_access' => 'Accès réservé au groupe &quot;%s&quot;', //cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File util.php
+// ------------------------------------------------------------------------- //
+
+if (defined('UTIL_PHP')) {
+$lang_util_desc_php = array(
+'Mettre à jour les titres depuis les noms de fichiers', //cpg1.4
+'Effacer les titres', //cpg1.4
+'Regénérer les vignettes et les images intermédiaires', //cpg1.4
+'Effacer les photos originales et les remplacer par les images redimensionnées', //cpg1.4
+'Effacer les images originales ou intermédiaires pour gagner de l\'espace sur le serveur', //cpg1.4
+'Effacer les commentaires orphelins', //cpg1.4
+'Recharger les informations de poids et de taille des fichiers (si vous avez édité manuellement ces fichiers)', //cpg1.4
+'Réinitialiser le compteur de vue', //cpg1.4
+'Visualiser phpinfo', //cpg1.4
+'Mettre à jour la base de données', //cpg1.4
+'Visualiser les fichiers \'log\'', //cpg1.4
+);
+$lang_util_php = array(
+  'title' => 'Utilitaires d\'administration (Redimensionnement des images)',
+  'what_it_does' => 'Fonctionnalités',
+  'file' => 'Fichier',
+  'problem' => 'Probleme', //cpg1.4
+  'status' => 'Status', //cpg1.4
+  'title_set_to' => 'titre changé en',
+  'submit_form' => 'soumettre',
+  'updated_succesfully' => 'mise à jour effectuée avec succès',
+  'error_create' => 'ERREUR lors de la création',
+  'continue' => 'Traitez d\'autres images',
+  'main_success' => 'Le fichier %s est maintenant utilisé comme image principale',
+  'error_rename' => 'Erreur lors du changement du nom de %s à %s',
+  'error_not_found' => 'Le fichier %s n\'a pas été trouvé',
+  'back' => 'retour à la page principale',
+  'thumbs_wait' => 'Mise à jour des vignettes et/ou images redimensionnées, merci de patienter...',
+  'thumbs_continue_wait' => 'Continuer la mise à jour des vignettes et/ou des images redimensionnées...',
+  'titles_wait' => 'Mise à jour des titres, merci de patienter...',
+  'delete_wait' => 'Suppression des titres, merci de patienter...',
+  'replace_wait' => 'Suppression des originaux et remplacement de ces derniers par les images redimensionnées, merci de patienter...',
+  'instruction' => 'Instructions rapides',
+  'instruction_action' => 'Sélectionnez une action',
+  'instruction_parameter' => 'Définissez les paramètres',
+  'instruction_album' => 'Sélectionnez un album',
+  'instruction_press' => 'Appuyez sur %s',
+  'update' => 'Mettre à jour les vignettes et/ou les photos redimensionnées',
+  'update_what' => 'Ce qui devrait être mis à jour',
+  'update_thumb' => 'Seulement les vignettes',
+  'update_pic' => 'Seulement les photos redimensionnées',
+  'update_both' => 'Les vignettes et les images redimensionnées',
+  'update_number' => 'Nombre d\'images traitées par clic',
+  'update_option' => '(essayez de réduire cette valeur si vous avez des problèmes de timeout)',
+  'filename_title' => 'Nom du fichier / Titre de l\'image',
+  'filename_how' => 'Comment le nom du fichier doit-il être modifié ?',
+  'filename_remove' => 'Supprimer la fin .jpg et remplacer _ (underscore) par des espaces',
+  'filename_euro' => 'Changer 2003_11_23_13_20_20.jpg en 23/11/2003 13:20',
+  'filename_us' => 'Changer 2003_11_23_13_20_20.jpg en 11/23/2003 13:20',
+  'filename_time' => 'Changer 2003_11_23_13_20_20.jpg en 13:20',
+  'delete' => 'Supprimer le titre des photos ou les photos dans leur taille d\'origine',
+  'delete_title' => 'Supprimer le titre des photos',
+  'delete_title_explanation' => 'Cela va effacer l\'ensemble des titres des photos de l\'album sélectionné.', //cpg1.4
+  'delete_original' => 'Supprimer les photos dans leur taille d\'origine',
+  'delete_original_explanation' => 'Cela va supprimer les photos à la taille d\'origine', //cpg1.4
+  'delete_intermediate' => 'Supprimer les images intermédiaires', //cpg1.4
+  'delete_intermediate_explanation' => 'Cela va supprimer les images intermédiaires (\'normales\').<br />Utilisez cette fonction pour libérer de l\'espace disque si vous avez décoché \'Générer les images intermédiaires\'dans le panneau de configuration après avoir placé les images.', //cpg1.4
+  'delete_replace' => 'Supprime les images originales en les remplaçant par les versions redimensionnées',
+  'titles_deleted' => 'Tous les titres des images de l\'album sélectionné sont effacés', //cpg1.4
+  'deleting_intermediates' => 'Patientez: Effacement des images intermédiaires...', //cpg1.4
+  'searching_orphans' => 'Patientez: recherche des commentaires orphelins...', //cpg1.4
+  'select_album' => 'Sélectionner un album',
+  'delete_orphans' => 'Supprimer les commentaires orphelins (fonctionne pour tous les albums)', //cpg1.4
+  'delete_orphans_explanation' => 'Cela va identifier tous les commentaires qui ne sont plus associés à un fichier et vous permettre de les effacer.<br />Vérifie tous les albums.', //cpg1.4
+  'refresh_db' => 'Recharger les informations de poid et de taille', //cpg1.4
+  'refresh_db_explanation' => 'Cela va recharger les informations de poids et de taille. Utilisez cette fonction si les quotas sont incorrects ou si vous avez changé manuellement ces données.', //cpg1.4
+  'reset_views' => 'Réinitialisation du compteur de vues', //cpg1.4
+  'reset_views_explanation' => 'Met à zero le compteur de vue de l\'ensemble des fichiers de l\'album sélectionné.', //cpg1.4
+  'orphan_comment' => 'Pas de commentaire ophelin trouvé', //cpg1.3.0
+  'delete' => 'Supprimer',
+  'delete_all' => 'Tout supprimer',
+  'delete_all_orphans' => 'Supprimer tous les commentaires orphelins?', //cpg1.4
+  'comment' => 'Commentaire: ',
+  'nonexist' => 'Lié à un fichier non existant # ',
+  'phpinfo' => 'Afficher le phpinfo',
+  'phpinfo_explanation' => 'Contient des informations techniques sur votre serveur.<br /> - Adressez vous a votre hébergeur pour toutes questions concernant ces données.', //cpg1.4
+  'update_db' => 'Mise à jour de la base de données',
+  'update_db_explanation' => 'Si vous avez remplacé des fichiers Coppermine, effectué des modifications ou upgradé à partir de versions précédentes de Coppermine, assurez-vous d\'exécuter la mise à jour de base de données. Cela créera les tables et/ou valeurs de configuration nécessaires dans la base de données.', //cpg1.3.0
+  'view_log' => 'Visualisez les fichiers \'log\'', //cpg1.4
+  'view_log_explanation' => 'Coppermine peut garder une trace de touts les actions effectuées par les utilisateurs. Vous pouvez consulter ces logs si vous en avez activé l\'enregistrement dans la page de <a href="admin.php">configuration</a>.', //cpg1.4
+  'versioncheck' => 'Vérification de la version', //cpg1.4
+  'versioncheck_explanation' => 'Vérifie la version des fichiers de Coppermine afin de voir si vous avez remplacé tous les fichiers après une mise à jour, ou si les fichier sources de Coppermine ont été mis à jour depuis votre installation.', //cpg1.4
+  'bridgemanager' => 'Gestionnaire de Bridge', //cpg1.4
+  'bridgemanager_explanation' => 'Active/Désactive l\'intégration (Bridge)de Coppermine avec une autre application (ex:Votre Forum).', //cpg1.4
+);
+}
+
+// ------------------------------------------------------------------------- //
+// File versioncheck.php //cpg1.4
+// ------------------------------------------------------------------------- //
+
+if (defined('VERSIONCHECK_PHP')) $lang_versioncheck_php = array(
+  'title' => 'Vérification de la version', //cpg1.4
+  'what_it_does' => 'Cette page s\'adresse aux utilisateurs ayant mis à jour leur installation de Coppermine. Ce script passe en revue les fichiers installés sur votre serveur et tente de vérifier si leur version est la même que celle des fichiers les plus récents mis à disposition au téléchargement sur http://coppermine.sourceforge.net, L\'affichage de ces versions vous permettra de vérifier que votre mise à jour est complête.<br />Sont affichées en rouge les données qui doivent impérativement être mises à jour. Les entrées affichées en jaune doivent être vérifiés. Celles en vert (ou dans la couleur par défaut de votre texte) sont OK.<br />Pour plus de détails, cliquez sur l\'icone d\'aide.', //cpg1.4
+  'online_repository_unable' => 'Impossible de se connecter au serveur de téléchargement', //cpg1.4
+  'online_repository_noconnect' => 'Coppermine n\'a pas pu se connecter au serveur de téléchargement. Il peut y avoir deux raisons:', //cpg1.4
+  'online_repository_reason1' => 'Le serveur de téléchargement de Coppermine n\'est pas en ligne actuellement - Essayez si vous pouvez accéder à cette page: %s - Sinon, essayez plus tard.', //cpg1.4
+  'online_repository_reason2' => 'Sur votre serveur, PHP est configuré avec l\'option \'%s\' désactivée (par défaut elle est activée). Si vous êtes administrateur du serveur, activez cette option dans le fichier <i>php.ini</i> (ou au moins permettez qu\'il soit supplanté par %s). Si vous êtes hébergé ailleurs, vous devrez probablement accepter le fait de ne pas pouvoir comparer vos fichiers avec le référentiel en ligne. Cette page ne montrera dès lors que la version de vos fichiers - pas les mises à jour.', //cpg1.4
+  'online_repository_skipped' => 'La connexion au référentiel a été ignorée', //cpg1.4
+  'online_repository_to_local' => 'Le script utilise la copie locale du fichier de versions. Les données peuvent être inexactes si vous avez fait une mise à jour partielle de Coppermine. Les modifications faites aux fichiers après la publication ne seront également pas prises en compte.', //cpg1.4
+  'local_repository_unable' => 'Impossible de se connecter au référentiel sur votre serveur', //cpg1.4
+  'local_repository_explanation' => 'Coppermine n\'a pas pu se connecter au fichier de référence %s sur votre serveur. Cela signifie probablement que vous ne l\'avez pas uploadé sur votre serveur. Faites-le maintenant et cliquez sur \'Actualiser\'.<br />Si ça ne marche toujours pas, votre hébergeur a probablement désactivé une partie des <a href="http://www.php.net/manual/fr/ref.filesystem.php">fonctions de système de fichiers de PHP</a>. Si c\'est le cas, vous ne pourrez malheureusement pas utiliser cet outil.', //cpg1.4
+  'coppermine_version_header' => 'Version installée de Coppermine', //cpg1.4
+  'coppermine_version_info' => 'Vous avez actuellement installé la version: %s', //cpg1.4
+  'coppermine_version_explanation' => 'Si vous pensez que ceci est faut et que vous êtes sûr d\'avoir installé une version plus récente de Coppemrine, vous n\'avez probablement pas uploadé la version la plus récente du fichier <i>include/init.inc.php</i>', //cpg1.4
+  'version_comparison' => 'Comparaison de version', //cpg1.4
+  'folder_file' => 'Répertoire/Fichier', //cpg1.4
+  'coppermine_version' => 'Version de Coppermine', //cpg1.4
+  'file_version' => 'Version du fichier', //cpg1.4
+  'webcvs' => 'web svn', //cpg1.4
+  'writable' => 'inscriptible', //cpg1.4
+  'not_writable' => 'non inscriptible', //cpg1.4
+  'help' => 'Aide', //cpg1.4
+  'help_file_not_exist_optional1' => 'Fichier/Répertoire n\'existe pas', //cpg1.4
+  'help_file_not_exist_optional2' => 'Le fichier/répertoire %s n\'a pas été trouvé sur votre serveur. Bien qu\'il soit optionnel, vous devriez l\'uploader sur votre serveur (en utilisant un client FTP) si vous rencontrez des problèmes.', //cpg1.4
+  'help_file_not_exist_mandatory1' => 'Fichier/Répertoire n\'existe pas', //cpg1.4
+  'help_file_not_exist_mandatory2' => 'Le fichier/répertoire %s n\'a pas été trouvé sur votre serveur alors qu\'il est obligatoire. Uploadez-le sur votre serveur (en utilisant un client FTP).', //cpg1.4
+  'help_no_local_version1' => 'Pas de version du fichier local', //cpg1.4
+  'help_no_local_version2' => 'Le script n\'a pas pu extraire la version de votre fichier local - soit votre fichier est trop vieux, soit vous l\'avez modifié en supprimant les informations situées dans l\'entête. Il est conseillé de mettre ce fichier à jour.', //cpg1.4
+  'help_local_version_outdated1' => 'Version de fichier dépassée', //cpg1.4
+  'help_local_version_outdated2' => 'Votre version du fichier semble venir d\'une ancienne version de Coppermine (que vous avez probablement mise à jour). Soyez bien sûr de mettre aussi à jour ce fichier.', //cpg1.4
+  'help_local_version_na1' => 'Impossible d\'extraire les information de version CVS', //cpg1.4
+  'help_local_version_na2' => 'Le script n\'a pas pu déterminer quelle est la version CVS du fichier qui se trouve sur votre serveur. Vous devriez uploader le fichier de votre package.', //cpg1.4
+  'help_local_version_dev1' => 'Version de développement', //cpg1.4
+  'help_local_version_dev2' => 'Le fichier qui se trouve sur votre serveur semble plus récent que votre version de Coppermine. Soit vous utilises une version de développement de Coppermine (à faire uniquement si vous savez ce que vous faites), soit vous avez mis à jour Coppermine sans uploader le fichier include/init.inc.php', //cpg1.4
+  'help_not_writable1' => 'Répertoire non inscriptible', //cpg1.4
+  'help_not_writable2' => 'Changez les permissions (CHMOD) pour donner au script l\'accès en écriture au répertoire %s et à tout ce qu\'il contient.', //cpg1.4
+  'help_writable1' => 'Fichier inscriptible', //cpg1.4
+  'help_writable2' => 'L\'accès en écriture au répertoire %s est aurorisé. C\'est un risque inutile, Coppermine n\'a besoin que des autorisations de lecture et d\'exécution.', //cpg1.4
+  'help_writable_undetermined' => 'Coppermine n\'a pas pu définir si le répertoire est accessible en écriture.', //cpg1.4
+  'your_file' => 'votre fichier', //cpg1.4
+  'reference_file' => 'Fichier de référence', //cpg1.4
+  'summary' => 'Sommaire', //cpg1.4
+  'total' => 'Total des fichiers/répertoires vérifiés', //cpg1.4
+  'mandatory_files_missing' => 'Fichiers necessaires manquants', //cpg1.4
+  'optional_files_missing' => 'Fichiers optionnels manquants', //cpg1.4
+  'files_from_older_version' => 'Fichiers venant d\'une ancienne version de Coppermine', //cpg1.4
+  'file_version_outdated' => 'version de fichier dépassée', //cpg1.4
+  'error_no_data' => 'Le script n\'a pas pu récupérer les informations désirées. Veuillez nous en excuser.', //cpg1.4
+  'go_to_webcvs' => 'aller à %s', //cpg1.4
+  'options' => 'Options', //cpg1.4
+  'show_optional_files' => 'montrer les fichiers/repertoires optionnels', //cpg1.4
+  'show_mandatory_files' => 'montrer les fichiers necessaires', //cpg1.4
+  'show_file_versions' => 'montrer la version des fichiers', //cpg1.4
+  'show_errors_only' => 'montrer uniquement les fichiers/répertoires avec des erreurs', //cpg1.4
+  'show_permissions' => 'Monter les droits des répertoires', //cpg1.4
+  'show_condensed_output' => 'Montrer un affichage condensé (pour faciliter les captures d\écran)', //cpg1.4
+  'coppermine_in_webroot' => 'Coppermine est installé à la racine du site', //cpg1.4
+  'connect_online_repository' => 'Essayer de se connecter au référentiel en ligne', //cpg1.4
+  'show_additional_information' => 'montrer les informations complémentaires', //cpg1.4
+  'no_webcvs_link' => 'Ne pas montrer les liens web svn', //cpg1.4
+  'stable_webcvs_link' => 'montrer le lien webcvs vers la branche stable', //cpg1.4
+  'devel_webcvs_link' => 'montrer le lien webcvs vers la branche de développement', //cpg1.4
+  'submit' => 'appliquer les changements/ Rafraichir l\'affichage', //cpg1.4
+  'reset_to_defaults' => 'Revenir aux valeurs par défaut', //cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File view_log.php  //cpg1.4
+// ------------------------------------------------------------------------- //
+
+if (defined('VIEWLOG_PHP')) $lang_viewlog_php = array(
+  'delete_all' => 'Supprimer tous les logs', //cpg1.4
+  'delete_this' => 'Supprimer ce log', //cpg1.4
+  'view_logs' => 'Voir les logs', //cpg1.4
+  'no_logs' => 'Pas de log créé.', //cpg1.4
+);
+
+
+// ------------------------------------------------------------------------- //
+// File xp_publish.php //cpg1.4
+// ------------------------------------------------------------------------- //
+
+if (defined('XP_PUBLISH_PHP')) {
+
+$lang_xp_publish_client = <<<EOT
+<h1>Client pour l'Assistant de Publication Web XP</h1>\n<p>Ce module permet d'utiliser l'Assistant de Publication Web de <b>Windows XP</b> avec Coppermine.</p>\n<p>Ce code est basé sur un article publié par
+EOT;
+
+$lang_xp_publish_required = <<<EOT
+\n<h2>Conditions requises</h2>\n<ul>\n<li>Windows XP pour avoir l'assistant.</li>\n<li>Une installation de Coppermine en ordre de marche dans laquelle <b>la function d'upload par web fonctionne convenablement.</b></li>\n</ul>\n<h2>Comment installer le client</h2>\n<ul>\n<li>Faites un clic droit sur
+EOT;
+
+$lang_xp_publish_select = <<<EOT
+Choisissez &quot;Enregistrer la cible sous...&quot;. Enregistrez le fichier sur votre disque dur. En enregistrant le fichier, vérifiez que le nom proposé est <b>cpg_###.reg</b> (le ### représente un nombre basé sur l'heure). Si ce n'est pas le cas, modifiez-le (l'élément le plus important est le .reg à la fin). Quand c'est fait, double-cliquez sur le fichier pour enregistrer les informations de Coppermine dans votre Assistant de Publication Web.</li>\n</ul>\n
+EOT;
+
+$lang_xp_publish_testing = <<<EOT
+\n<h2>Comment tester</h2>\n<ul>\n<li>Dans l'Explorateur Windows, sélectionnez quelques fichiers et cliquez <p>Publie les éléments sélectionnés sur le web</b> dans le panneau de gauche.</li>\n<li>Confirmez votre sélection de fichiers. Cliquez sur <b>Suivant</b>.</li><li>Dans la liste de services qui apparaît, sélectionnez celui de votre galerie (il a le même nom que votre galerie). Si le service n'apparaît pas dans la liste, vérifiez que vous avez installé <b>cpg_pub_wizard.reg</b> comme décrit plus haut.</li>\n<li>Introduisez vos informations de connexion</li>\n<li>Choisissez l'album dans lequel vous voulez placer vos photos ou créez-en un nouveau.</li>\n<li>Cliquez sur <b>Suivant</b>. L'upload de vos photos commence.</li>\n<li>Une fois que c'est fini, vérifiez dans votre galerie si les fichiers ont été correctement ajoutés.</li>\n</ul>\n
+EOT;
+
+$lang_xp_publish_notes = <<<EOT
+<h2>Notes :</h2>\n<ul>\n<li>Dès que l'upload a démarré, l'assistant ne peut pas afficher les messages d'erreur retournés par Coppermine. Il est donc impossible de savoir si l'upload a réussi ou échoué sans vérifier dans la galerie.</li>\n<li>Si l'upload échoue, activez le &quot;Mode de débogage&quot; dans la page de configuration de Coppermine, essayez avec une seule photo et vérifiez les messages d'erreur dans le fichier
+EOT;
+
+$lang_xp_publish_flood = <<<EOT
+qui se trouve dans le répertoire de Coppermine sur votre serveur.</li>\n<li>Pour éviter que la galerié ne soit <i>inondée</i> par des photos envoyées avec l'assistant, seuls les <b>administrateurs de la galerie</b> et les <b>utilisateurs qui peuvent avoir leurs propres albums</b> peuvent utiliser cette fonction.</li>\n</ul>\n
+EOT;
+
+
+
+$lang_xp_publish_php = array(
+  'title' => 'Coppermine - Assistant de Publication Web XP', //cpg1.4
+  'welcome' => 'Bienvenue <b>%s</b>,', //cpg1.4
+  'need_login' => 'Vous devez vous identifer dans la galerie depuis votre navigateur avant de pouvoir utiliser cet assistant.<p/><p>Lorsque vous vous identifiez, n\'oubliez pas de sélectionner l\'option <b>se rappeler de moi</b> si elle est présente.', //cpg1.4
+  'no_alb' => 'Désolé, mais il n\'y a aucun album où vous pouvez ulpoader des images avec cet assistant.', //cpg1.4
+  'upload' => 'Uploadez vos images dans un album existant', //cpg1.4
+  'create_new' => 'Créez un nouvel album pour vos images', //cpg1.4
+  'album' => 'Album', //cpg1.4
+  'category' => 'Categorie', //cpg1.4
+  'new_alb_created' => 'votre nouvel album &quot;<b>%s</b>&quot; a ét crée.', //cpg1.4
+  'continue' => 'Cliquez sur &quot;Suivant&quot; pour commencer à uploader vos images', //cpg1.4
+  'link' => 'ce lien', //cpg1.4
+);
+}
+?>
diff -x .svn -aruN 1.4.24.src/lang/galician.php 1.4.25.src/lang/galician.php
--- 1.4.24.src/lang/galician.php	2009-05-25 15:01:17.000000000 -0500
+++ 1.4.25.src/lang/galician.php	2009-05-26 11:25:40.000000000 -0500
@@ -1,2127 +1,2127 @@
-<?php
-/*************************
-  Coppermine Photo Gallery
-  ************************
-  Copyright (c) 2003-2009 Coppermine Dev Team
-  v1.1 originally written by Gregory DEMAR
-
-  This program is free software; you can redistribute it and/or modify
-  it under the terms of the GNU General Public License version 3
-  as published by the Free Software Foundation.
-  
-  ********************************************
-  Coppermine version: 1.4.24
-  $HeadURL: https://coppermine.svn.sourceforge.net/svnroot/coppermine/trunk/cpg1.4.x/lang/galician.php $
-  $Revision: 5988 $
-  $Author: gaugau $
-  $Date: 2009-05-25 22:01:41 +0200 (Mo, 25 Mai 2009) $
-**********************************************/
-
-if (!defined('IN_COPPERMINE')) { die('Not in Coppermine...');}
-
-// info about translators and translated language
-$lang_translation_info = array(
-  'lang_name_english' => 'Galician', //cpg1.4
-  'lang_name_native' => 'Galego', //cpg1.4
-  'lang_country_code' => 'gl_ES', //cpg1.4
-  'trans_name'=> 'Jesús Quintana (Quinti) + CiberIrmandade da Fala',
-  'trans_email' => 'infoxeral@ciberirmandade.org',
-  'trans_website' => 'http://www.ciberirmandade.org',
-  'trans_date' => '12/09/2005/', 
-);
-
-$lang_charset = 'utf-8';
-$lang_text_dir = 'ltr'; // ('ltr' for left to right, 'rtl' for right to left)
-
-// shortcuts for Byte, Kilo, Mega
-$lang_byte_units = array('Bytes', 'KB', 'MB');
-
-// Day of weeks and months
-$lang_day_of_week = array('Dom', 'Lun', 'Mar', 'Mer', 'Xov', 'Ven', 'Sab');
-$lang_month = array('Xan', 'Feb', 'Mar', 'Abr', 'Mai', 'Xuñ', 'Xul', 'Ago', 'Set', 'Out', 'Nov', 'Dec');
-
-// Some comon strings
-$lang_yes = 'Si';
-$lang_no  = 'Non';
-$lang_back = 'VOLVER';
-$lang_continue = 'CONTINUAR';
-$lang_info = 'Información';
-$lang_error = 'Erro';
-$lang_check_uncheck_all = 'marcar/desmarcar todo'; //cpg1.4
-
-// The various date formats
-// See http://www.php.net/manual/en/function.strftime.php to define the variable below
-$album_date_fmt =    '%d de %B do %Y';
-$lastcom_date_fmt =  '%d/%m/%y ás %H:%M'; //cpg1.3.0
-$lastup_date_fmt = '%d de %B do %Y';
-$register_date_fmt = '%d de %B do %Y';
-$lasthit_date_fmt = '%d de %B do %Y ás %I:%M %p'; //cpg1.3.0
-$comment_date_fmt =  '%d de %B do %Y ás %I:%M %p'; //cpg1.3.0
-$log_date_fmt = '%d de %B do %Y ás %I:%M %p'; //cpg1.4
-
-// For the word censor
-$lang_bad_words = array('');
-
-
-$lang_meta_album_names = array(
-  'random' => 'Fotos ó chou',
-  'lastup' => 'Últimas adicións',
-'lastalb'=> 'Últimos albums actualizados',
-  'lastcom' => 'Últimos comentarios',
-  'topn' => 'O máis visto',
-  'toprated' => 'O mellor cualificado',
-  'lasthits' => 'O visto máis recentemente',
-  'search' => 'Resultados da procura',
-  'favpics'=> 'Arquivos favoritos', //cpg1.4
-);
-
-$lang_errors = array(
-	'access_denied' => 'Non tes permiso para acceder a esta páxina.',
-	'perm_denied' => 'Non tes permiso para efectuar esta operación.',
-	'param_missing' => 'Script executado sen os parámetro(s) requirido(s).',
-	'non_exist_ap' => 'Non se atopou o álbum ou foto que seleccionaches!',
-	'quota_exceeded' => 'Cota de espazo no disco excedida<br /><br />Tes unha cota de espazo de [quota]KB, e as túas fotos actualmente utilizan [space]KB. Se engades este arquivo sobrepasarás a túa cota.',
-	'gd_file_type_err' => 'Cando se use a biblioteca de imaxes GD só se permiten imaxes JPEG e PNG.',
-	'invalid_image' => 'A imaxe que subiches está corrupta ou non pode ser interpretada pola biblioteca GD',
-	'resize_failed' => 'Non foi posible crear a miniatura ou a imaxe reducida.',
-	'no_img_to_display' => 'Non hai imaxes para amosar',
-	'non_exist_cat' => 'A categoría seleccionada non existe',
-	'orphan_cat' => 'Hai unha categoría que non ten categoría-nai, vai ó administrador de categorías para corrixir o problema.',
-	'directory_ro' => 'O directorio \'%s\' non ten permisos de escritura, polo que as fotos non poden ser borradas',
-	'non_exist_comment' => 'O comentario seleccionado non existe.',
-	'pic_in_invalid_album' => 'O arquivo está nun álbum inexistente (%s)!?',
-	'banned' => 'Actualmente estás bloqueado e non se che permite o uso deste sitio.',
-	'not_with_udb' => 'Esta función está desactivada no Coppermine xa que está integrada no programa de foros. Ou ben o que estás tentando facer non está permitido nesta configuración, ou ben a función debe ser chamada polo programa de foros.',
-	'offline_title' => 'Fóra de liña.', //cpg1.3.0
-	'offline_text' => 'A galería está fóra de liña neste intre - tenta entrar de novo máis tarde', //cpg1.3.0
-	'ecards_empty' => 'Actualmente non hai rexistro ningún de postais-e para visualizar.', //cpg1.3.0
-	'action_failed' => 'Acción non completada. O Coppermine non puido procesar a túa petición.', //cpg1.3.0
-'no_zip' => 'As bibliotecas necesarias para procesar os arquivos ZIP non estan dispoñibles. Por favor contacta co teu administrador do Coppermine.', //cpg1.3.0
-	'zip_type' => 'Non tes permiso para subir arquivos ZIP.', //cpg1.3.0
-    'database_query' => 'Houbo un erro ó tentar procesar unha petición ó banco de datos', //cpg1.4
-    'register_globals_on' => 'The PHP setting register_globals is enabled on your server, which is a bad idea in terms of security. It\'s strongly recommended to turn it off. [<a href="http://forum.coppermine-gallery.net/index.php/topic,59569.0.html" rel="external" class="external">more</a>]',
-);
-
-$lang_bbcode_help_title = 'Axuda bbcode'; //cpg1.4
-$lang_bbcode_help = 'Podes engadir ligazóns nas que se poida premer e formatear este campo usando etiquetas bbcode: <li>[b]Resaltado[/b] =&gt; <b>Resaltado</b></li><li>[i]Cursiva[/i] =&gt; <i>Cursiva</i></li><li>[url=http://www.ciberirmandade.org/]Texto Url[/url] =&gt; <a href="http://www.ciberirmandade.org">Text Url</a></li><li>[email]usuario@dominio.gz[/email] =&gt; <a href="mailto:usuario@dominio.gz">usuario@dominio.gz</a></li><li>[color=red]calquera texto[/color] =&gt; <span style="color:red">calquera texto</span></li><li>[img]http://coppermine-gallery.net/demo/cpg14x/images/red.gif[/img] => <img src="../images/red.gif" border="0" alt="" /></li>'; //cpg1.4
-
-// ------------------------------------------------------------------------- //
-// File theme.php
-// ------------------------------------------------------------------------- //
-
-$lang_main_menu = array(
-  'alb_list_title' => 'Ir á lista de albums',
-  'alb_list_lnk' => 'Albums',
-  'my_gal_title' => 'Ir á miña Galería Persoal',
-  'my_gal_lnk' => 'A Miña Galería',
-  'my_prof_title' => 'Ir ó meu perfil persoal', //cpg1.4	
-  'my_prof_lnk' => 'Os Meus datos',
-  'adm_mode_title' => 'Trocar ó modo Administrador',
-  'adm_mode_lnk' => 'Modo Administrador',
-  'usr_mode_title' => 'Trocar ó modo usuario',
-  'usr_mode_lnk' => 'Modo usuario',
-  'upload_pic_title' => 'Enviar foto ó album',
-  'upload_pic_lnk' => 'Enviar foto',
-  'register_title' => 'Crear unha conta',
-  'register_lnk' => 'Preme aquí para te rexistrar',
-  'login_title' => 'Iniciar a miña sesión', //cpg1.4
-  'login_lnk' => 'Iniciar sesión',
-  'logout_title' => 'Pechar a miña sesión', //cpg1.4
-  'logout_lnk' => 'Pechar sesión',
-  'lastup_title' => 'Amosar as subidas máis recentes', //cpg1.4
-'lastup_lnk' => 'Últimos envíos',
-  'lastcom_title' => 'Amosar os comentarios máis recentes', //cpg1.4
-  'lastcom_lnk' => 'Últimos comentarios',
-  'topn_title' => 'Amosar os elementos máis vistos', //cpg1.4
-  'topn_lnk' => 'Máis Vistos',
-  'toprated_title' => 'Amosar os elementos mellor cualificados', //cpg1.4
-'toprated_lnk' => 'Fotos Mellor Cualificadas',
-  'search_title' => 'Procurar a galería', //cpg1.4
-  'search_lnk' => 'Procurar',
-  'fav_title' => 'Ir ós meus favoritos', //cpg1.4
-'fav_lnk' => 'Os meus Favoritos',
-  'memberlist_title' => 'Lista de Membros', //cpg1.3.0
-	'memberlist_lnk' => 'Membros', //cpg1.3.0
-'faq_title' => 'Preguntas máis Frecuentes sobre a Galería', //cpg1.3.0
-	'faq_lnk' => 'FAQ', //cpg1.3.0
-);
-
-$lang_gallery_admin_menu = array(
-'upl_app_title' => 'Aprobar novas Fotos', //cpg1.4
-'upl_app_lnk' => 'Aprobar Fotos',
-'admin_title' => 'Ir a Configuración', //cpg1.4
-'admin_lnk' => 'Configuración', //cpg1.4
-'albums_title' => 'Ir a Configuración de Albums', //cpg1.4
-'albums_lnk' => 'Albums',
-'categories_title' => 'Ir a Configuración de Categorías', //cpg1.4
-'categories_lnk' => 'Categorías',
-'users_title' => 'Ir a Configuración de Usuarios', //cpg1.4
-'users_lnk' => 'Usuarios',
-'groups_title' => 'Ir a Configurar Grupos', //cpg1.4
-'groups_lnk' => 'Grupos',
-'comments_title' => 'Revisar comentarios', //cpg1.4
-'comments_lnk' => 'Revisar Comentarios',
-'searchnew_title' => 'Ir a engadir Fotos', //cpg1.4
-'searchnew_lnk' => 'Engadir Fotos',
-'util_title' => 'Ir a ferramentas administrativas', //cpg1.4
-'util_lnk' => 'Ferramentas Administrativas', //cpg1.3.0
-'key_title' => 'Ir a diccionarios', //cpg1.4
-'key_lnk' => 'Diccionario', //cpg1.4
-'ban_title' => 'Ir a Usuarios baneados', //cpg1.4
-'ban_lnk' => 'Usuarios Baneados',
-'db_ecard_title' => 'Visualizar postais', //cpg1.4
-'db_ecard_lnk' => 'Visualizar Postais', //cpg1.3.0
-'pictures_title' => 'Ir a Ordenar Fotos', //cpg1.4
-'pictures_lnk' => 'Ordenar fotos', //cpg1.4
-'documentation_lnk' => 'Documentación', //cpg1.4
- 'documentation_title' => 'Coppermine manual', //cpg1.4
-);
-
-$lang_user_admin_menu = array(
-'albmgr_title' => 'Crear / Ordenar os meus albums', //cpg1.4
-'albmgr_lnk' => 'Crear / Ordenar o meu album',
-'modifyalb_title' => 'Ir a modificar o meu album', //cpg1.4
-'modifyalb_lnk' => 'Modificar os meus albums',
-'my_prof_title' => 'Ir ós meus datos', //cpg1.4
-'my_prof_lnk' => 'Os meus datos',
-);
-
-$lang_cat_list = array(
-'category' => 'Categoría',
-	'albums' => 'albums',
-'pictures' => 'Arquivos',
-);
-
-$lang_album_list = array(
-'album_on_page' => '%d albums de %d páxina(s)',
-);
-
-$lang_thumb_view = array(
-	'date' => 'DATA',
-//Sort by filename and title
-'name' => 'NOME DO ARQUIVO',
-'title' => 'TÍTULO',
-'sort_da' => 'Ordenar por data ascendente',
-'sort_dd' => 'Ordenar por data descendente',
-'sort_na' => 'Ordenar por nome ascendente',
-'sort_nd' => 'Ordenar por nome descendente',
-'sort_ta' => 'Ordenar por título ascendente',
-'sort_td' => 'Ordenar por título descendente',
-'position' => 'POSICION', //cpg1.4
-'sort_pa' => 'Orden ascendente', //cpg1.4
-'sort_pd' => 'Orden descendente', //cpg1.4
-'download_zip' => 'Descarga de arquivos ZIP',
-'pic_on_page' => '%d arquivos de %d páxina(s)',
-'user_on_page' => '%d usuarios de %d páxina(s)',
-'enter_alb_pass' => 'Introduza contrasinal de Album', //cpg1.4
-'invalid_pass' => 'Contrasinal incorrecto', //cpg1.4
-'pass' => 'Contrasinal', //cpg1.4
-'submit' => 'Enviar', //cpg1.4
-);
-
-$lang_img_nav_bar = array(
-'thumb_title' => 'Voltar á páxina de miniaturas',
-'pic_info_title' => 'Amosar/ocultar información do arquivo',
-'slideshow_title' => 'Presentación',
-'ecard_title' => 'Enviar este arquivo como postal-e',
-'ecard_disabled' => 'Postais non válidas',
-'ecard_disabled_msg' => 'Non tes permisos para enviar postais', //js-alert
-'prev_title' => 'Ver arquivo anterior',
-'next_title' => 'Ver arquivo seguinte',
-'pic_pos' => 'ARQUIVO %s/%s',
-'report_title' => 'Enviar informe ó administrador', //cpg1.4
-'go_album_end' => 'Ir ó final', //cpg1.4
-'go_album_start' => 'Voltar ó inicio', //cpg1.4
-'go_back_x_items' => 'Voltar %s artigos', //cpg1.4
-'go_forward_x_items' => 'Ir a %s artigos', //cpg1.4
-);
-
-$lang_rate_pic = array(
-'rate_this_pic' => 'Vote esta foto ',
-'no_votes' => '(Aínda non hai votos)',
-'rating' => '(Media de %s / 5 dos %s votos)',
-'rubbish' => 'Mala',
-'poor' => 'Ruín',
-'fair' => 'Satisfactoria',
-'good' => 'Boa',
-'excellent' => 'Excelente',
-'great' => 'Marabillosa',
-);
-
-// ------------------------------------------------------------------------- 
-//
-// File include/exif.inc.php
-// ------------------------------------------------------------------------- 
-//
-
-// void
-
-// ------------------------------------------------------------------------- 
-//
-// File include/functions.inc.php
-// ------------------------------------------------------------------------- 
-//
-
-$lang_cpg_die = array(
-	INFORMATION => $lang_info,
-	ERROR => $lang_error,
-	CRITICAL_ERROR => 'ERRO CRÍTICO',
-	'file' => 'Arquivo: ',
-	'line' => 'Liña: ',
-);
-
-$lang_display_thumbnails = array(
-  'filename' => 'Nome de arquivo=', //cpg1.4
-  'filesize' => 'Tamaño de arquivo=', //cpg1.4
-  'dimensions' => 'Dimensións=', //cpg1.4
-  'date_added' => 'Data de engadido=', //cpg1.4
-);
-
-$lang_get_pic_data = array(
-	'n_comments' => '%s comentarios',
-	'n_views' => '%s visualizacións',
-	'n_votes' => '(%s votos)'
-);
-
-$lang_cpg_debug_output = array(
-  'debug_info' => 'informacións de Debug', //cpg1.3.0
-  'select_all' => 'Seleccionar Todo', //cpg1.3.0
-'copy_and_paste_instructions' => 'Se vas demandar axuda nos foros de soporte do coppermine, copia e pega esta saída de depurado na túa mensaxe cando así se solicite, xunto coa mensaxe de erro que obtiveches (se a houbese). Asegúrate de reemprazar calquera contrasinal da petición con *** antes de publicar a mensaxe. <br />Nota: Isto é só para información e non significa que haxa un erro coa túa galería.', //cpg1.4
-  'phpinfo' => 'Amosar phpinfo', //cpg1.3.0
-  'notices' => 'Anuncios', //cpg1.4
-);
-
-$lang_language_selection = array(
-  'reset_language' => 'Idioma por defecto', //cpg1.3.0
-  'choose_language' => 'Escolla o seu idioma', //cpg1.3.0
-);
-
-$lang_theme_selection = array(
-  'reset_theme' => 'tema por defecto', //cpg1.3.0
-  'choose_theme' => 'Escolla un tema', //cpg1.3.0
-);
-
-$lang_version_alert = array(
-  'version_alert' => 'Versión non admitida!', //cpg1.4
-  'security_alert' => 'Alerta de Seguridade!', //cpg1.4.3
-  'relocate_exists' => 'Elimina o arquivo <a href="http://coppermine-gallery.net/forum/index.php?topic=24217.0">relocate_server.php</a> do teu sitio web!',
-  'no_stable_version' => 'Estás utilizando o Coppermine %s (%s), que está indicado só para usuarios moi experimentados - esta versión non ten soporte nin garantías de tipo ningún. Ó usala asumes o risco persoalmente, senón, podes instalar a última versión estable se precisas axuda!', //cpg1.4
-  'gallery_offline' => 'A galería está actualmente fóra de liña e só é visible para ti como administrador. Non esquezas volvela poñer en liña logo de rematar coas tarefas de mantemento.', //cpg1.4
-);
-
-$lang_create_tabs = array(
-  'previous' => 'anterior', //cpg1.4
-  'next' => 'seguinte', //cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File include/init.inc.php
-// ------------------------------------------------------------------------- //
-
-// void
-
-// ------------------------------------------------------------------------- //
-// File keyword.inc.php                                                      //
-// ------------------------------------------------------------------------- //
-
-// void
-
-// ------------------------------------------------------------------------- //
-// File include/picmgmt.inc.php
-// ------------------------------------------------------------------------- //
-
-// void
-
-// ------------------------------------------------------------------------- //
-// File include/plugin_api.inc.php
-// ------------------------------------------------------------------------- //
-$lang_plugin_api = array(
-  'error_wakeup' => "Non se puido activar o plugin '%s'", //cpg1.4
-  'error_install' => "Non se puido instalar o plugin '%s'", //cpg1.4
-  'error_uninstall' => "Non se puido desinstalar o plugin '%s'", //cpg1.4
-  'error_sleep' => "Non se puido desactivar o plugin '%s'<br />", //cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File include/smilies.inc.php
-// ------------------------------------------------------------------------- //
-
-if (defined('SMILIES_PHP')) $lang_smilies_inc_php = array(
-	'Exclamation' => 'Exclamación',
-        'Question' => 'Pregunta',
-	'Very Happy' => 'Moi Feliz',
-        'Smile' => 'Sorriso',
-	'Sad' => 'Triste',
-        'Surprised' => 'Sorprendido',
-        'Shocked' => 'Abraiado',
-	'Confused' => 'Confuso',
-	'Cool' => 'Guai',
-	'Laughing' => 'Risoño',
-	'Mad' => 'Tolo',
-	'Razz' => 'Tomando o pelo',
-	'embarassed' => 'Desconcertado',
-	'Crying or Very sad' => 'Moi triste',
-	'Evil or Very Mad' => 'Moi mal',
-	'Twisted Evil' => 'Demo Tolo',
-	'Rolling Eyes' => 'Rulando os ollos',
-	'Wink' => 'Chiscando un ollo',
-	'Idea' => 'Idea',
-	'Arrow' => 'Seta',
-	'Neutral' => 'Neutro',
-	'Mr. Green' => 'O Sr. Verde',
-);
-
-// ------------------------------------------------------------------------- //
-// File addpic.php
-// ------------------------------------------------------------------------- //
-
-// void
-
-// ------------------------------------------------------------------------- //
-// File mode.php //cpg1.4
-// ------------------------------------------------------------------------- //
-
-if (defined('MODE_PHP')) $lang_mode_php = array(
-  0 => 'Saíndo do modo de administración...',
-  1 => 'Entrando no modo de administración...',
-);
-
-// ------------------------------------------------------------------------- //
-// File albmgr.php
-// ------------------------------------------------------------------------- //
-
-if (defined('ALBMGR_PHP')) $lang_albmgr_php = array(
-'alb_need_name' => 'Os albums precisan ter un nome !', //js-alert
-'confirm_modifs' => 'Tes a certeza que desexas realizar as modificacións ?', //js-alert
-'no_change' => 'Non fixeches troco ningún!', //js-alert
-	'new_album' => 'Novo album',
-'confirm_delete1' => 'Tes a certeza que desexas eliminar este album ?', //js-alert
-'confirm_delete2' => '\nTodas as fotos e comentarios perderanse !', //js-alert
-	'select_first' => 'Primeiro Seleccione un album', //js-alert
-	'alb_mrg' => 'Administrador de albums',
-'my_gallery' => '* A miña Galería *',
-'no_category' => '* sen categoría *',
-	'delete' => 'Apagar',
-	'new' => 'Novo',
-'apply_modifs' => 'Aplicar modificacións',
-'select_category' => 'Selecciona unha categoría',
-);
-
-// ------------------------------------------------------------------------- //
-// File banning.php
-// ------------------------------------------------------------------------- //
-
-if (defined('BANNING_PHP')) $lang_banning_php = array(
-  'title' => 'Bloquear Usuarios', //cpg1.4
-  'user_name' => 'Nome de Usuario', //cpg1.4
-  'ip_address' => 'Enderezo IP', //cpg1.4
-  'expiry' => 'Expira (en branco é permanente)', //cpg1.4
-  'edit_ban' => 'Gardar Trocos', //cpg1.4
-  'delete_ban' => 'Borrar', //cpg1.4
-  'add_new' => 'Engadir Novo Bloqueo', //cpg1.4
-  'add_ban' => 'Engadir', //cpg1.4
-  'error_user' => 'Non se puido atopar o usuario', //cpg1.4
-  'error_specify' => 'Tes que especificar un nome de usuario ou ben un enderezo IP', //cpg1.4
-  'error_ban_id' => 'Bloqueo de ID inválido!', //cpg1.4
-  'error_admin_ban' => 'Non te podes bloquear a ti mesmo!', //cpg1.4
-  'error_server_ban' => 'Vas bloquear o teu propio servidor? Home... Non podes facer iso...', //cpg1.4
-'error_ip_forbidden' => 'Non podes bloquear este IP - de todos os xeitos non é encamiñable (privado) !<br />Se queres que se che permita bloquear IPs privados, muda a opción correspondente na túa <a href="admin.php">Configuración</a> (só ten senso cando o Coppermine funciona nunha rede local-LAN).', //cpg1.4
-'lookup_ip' => 'Buscar e resolver un enderezo IP', //cpg1.4
-  'submit' => 'enviar!', //cpg1.4
-  'select_date' => 'seleccionar data', //cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File bridgemgr.php //cpg1.4
-// ------------------------------------------------------------------------- //
-
-if (defined('BRIDGEMGR_PHP')) $lang_bridgemgr_php = array(
-  'title' => 'Asistente de Ponte',
-'warning' => 'Atención: cando uses este asistente debes ter claro que se van enviar datos importantes a través do uso de formas html. Úsao só no teu propio PC (nunca nun cliente público coma un café-internet), e asegúrate de borrar o caché e os arquivos temporais do navegador cando remates, ou, doutro xeito, outros poderían acceder ós teus datos!',
-  'back' => 'anterior',
-  'next' => 'seguinte',
-  'start_wizard' => 'Iniciar asistente de ponte',
-  'finish' => 'Rematar',
-  'hide_unused_fields' => 'agochar campos non usados dos formularios (recomendado)',
-  'clear_unused_db_fields' => 'borrar entradas incorrectas do banco de datos (recomendado)',
-  'custom_bridge_file' => 'o nome do teu arquivo de ponte persoal (se o nome do arquivo de ponte é <i>omeuarquivo.inc.php</i>, insire <i>omeuarquivo</i> neste campo)',
-  'no_action_needed' => 'Non se precisa acción ningunha neste paso. Simplemente preme en \'seguinte\' para continuar.',
-  'reset_to_default' => 'Reaxustar ó valor por defecto',
-  'choose_bbs_app' => 'escolle a aplicación coa que facer ponte o coppermine',
-'support_url' => 'Vai aquí para obter axuda desta aplicación',
-  'settings_path' => 'ruta(s) usados pola túa aplicación de BBS',
-  'database_connection' => 'conexión co banco de datos',
-  'database_tables' => 'táboas do banco de datos',
-  'bbs_groups' => 'grupos do BBS',
-  'license_number' => 'Número de licenza',
-  'license_number_explanation' => 'insire o teu número de licenza (se é preciso)',
-  'db_database_name' => 'Nome do banco de datos',
-  'db_database_name_explanation' => 'Insire o nome do banco de datos que utiliza a túa aplicación de BBS',
-  'db_hostname' => 'Host do banco de datos',
-  'db_hostname_explanation' => 'Nome de host onde reside o teu banco de datos mySQL, normalmente é &quot;localhost&quot;',
-  'db_username' => 'Conta de usuario do banco de datos',
-  'db_username_explanation' => 'Conta de usuario mySQL a utilizar para a conexión co BBS',
-  'db_password' => 'Contrasinal do banco de datos',
-  'db_password_explanation' => 'Contrasinal para esta conta de usuario mySQL',
-  'full_forum_url' => 'URL do Foro',
-  'full_forum_url_explanation' => 'URL completo da túa aplicación BBS (incluída a cabeceira http:// bit, é dicir, http://www.oteudominio.tld/foro)',
-  'relative_path_of_forum_from_webroot' => 'Ruta relativa ós foros',
-  'relative_path_of_forum_from_webroot_explanation' => 'Ruta relativa á túa aplicación BBS dende a raíz do web (Exemplo: se o teu BBS está en http://www.oteudominio.gz/foros/, insire &quot;/foros/&quot; neste campo',
-  'relative_path_to_config_file' => 'Ruta relativa ó arquivo de configuración do teu BBS',
-  'relative_path_to_config_file_explanation' => 'Ruta relativa ó teu BBS, referido dende o teu cartafol do Coppermine (é dicir, &quot;../foro/&quot; se o teu BBS está en http://www.oteudominio.tld/foro/ e o Coppermine en http://www.oteudominio.tld/galería/)',
-  'cookie_prefix' => 'Prefixo das cookies',
-'cookie_prefix_explanation' => 'este será o nome das cookies do teu BBS',
-  'table_prefix' => 'Prefixo da táboa',
-  'table_prefix_explanation' => 'Ten que coincidir co prefixo que escollas para o teu BBS cando o configures.',
-  'user_table' => 'Táboa de usuario',
-'user_table_explanation' => '(normalmente o valor por defecto funcionará, a menos que a instalación do teu BBS non sexa estándar)',
-  'session_table' => 'Táboa de sesión',
-'session_table_explanation' => '(normalmente o valor por defecto funcionará, a menos que a instalación do teu BBS non sexa estándar)',
-  'group_table' => 'Táboa de grupo',
-'group_table_explanation' => '(normalmente o valor por defecto funcionará, a menos que a instalación do teu BBS non sexa estándar)',
-  'group_relation_table' => 'Táboa de relación de grupos',
-'group_relation_table_explanation' => '(normalmente o valor por defecto funcionará, a menos que a instalación do teu BBS non sexa estándar)',
-  'group_mapping_table' => 'Táboa de correspondencias de grupo',
-  'group_mapping_table_explanation' => '(normalmente o valor por defecto funcionará, a menos que a instalación do teu BBS non sexa estándar)',
-'use_standard_groups' => 'Utilizar grupos de usuario estándardo BBS',
-'use_standard_groups_explanation' => 'Utilizar grupos de usuario estándar(incorporados no BBS) (recomendado). Isto fará que toda a configuración a medida dos grupos de usuario efectuada nesta páxina quede baleira. Desactiva esta opción só se REALMENTE sabes o que estás a facer!',
-  'validating_group' => 'Grupo de validado',
-  'validating_group_explanation' => 'ID do grupo do teu BBS no que se gardarán as contas de usuario que precisan ser validadas (normalmente o valor por defecto funcionará, a menos que a instalación do teu BBS non sexa estándar)',
-  'guest_group' => 'Grupo de convidados',
-  'guest_group_explanation' => 'ID do Grupo do teu BBS no que se gardarán os convidados (usuarios anónimos) (o valor por defecto funcionará correctamente, edítao só se sabes o que estás a facer)',
-  'member_group' => 'Grupo de membros',
-  'member_group_explanation' => 'ID do grupo do teu BBS no que se gardarán as contas de usuarios &quot;normais&quot; (o valor por defecto funcionará correctamente, edítao só se sabes o que estás a facer)',
-  'admin_group' => 'Grupo de administración',
-  'admin_group_explanation' => 'ID do grupo do teu BBS no que se gardarán as contas dos administradores (o valor por defecto funcionará correctamente, edítao só se sabes o que estás a facer)',
-  'banned_group' => 'Grupo de bloqueados',
-  'banned_group_explanation' => 'ID do grupo do teu BBS no que se gardarán as contas dos usuarios bloqueados (o valor por defecto funcionará correctamente, edítao só se sabes o que estás a facer)',
-  'global_moderators_group' => 'Grupo de moderadores globais',
-  'global_moderators_group_explanation' => 'ID do grupo do teu BBS no que se gardarán as contas dos mederadores globais do teu BBS (o valor por defecto funcionará correctamente, edítao só se sabes o que estás a facer)',
-  'special_settings' => 'Configuración específica do BBS',
-  'logout_flag' => 'versión do phpBB (marca de remate de sesión)',
-  'logout_flag_explanation' => 'A versión do teu BBS (este parámetro especifica a maneira de xestionar os remates de sesión)',
-  'use_post_based_groups' => 'Usar grupos baseados nas mensaxes publicadas?',
-  'logout_flag_yes' => '2.0.5 ou superior',
-  'logout_flag_no' => '2.0.4 ou inferior',
-  'use_post_based_groups_explanation' => 'Deben terse en conta os grupos do BBS definidos polo número de mensaxes publicadas (permite unha xestión de permisos máis detallada) ou só os grupos por defecto (facilita a administración, recomendado). Podes mudar esta configuración máis tarde perfectamente.',
-  'use_post_based_groups_yes' => 'si',
-  'use_post_based_groups_no' => 'non',
-  'error_title' => 'Tes que corrixir estes erros antes de continuar. Volve á pantalla anterior.',
-  'error_specify_bbs' => 'Tes que especificar que aplicación queres pontear coa túa instalación do Coppermine.',
-  'error_no_blank_name' => 'Non podes deixar o nome do teu arquivo a medida de ponte en branco.',
-  'error_no_special_chars' => 'O nome do arquivo de ponte non pode conter caracteres especiais a excepción do suliñado (_) e o guión (-)!',
-  'error_bridge_file_not_exist' => 'Non se atopou o arquivo de ponte %s no servidor. Comproba se o subiches agora.',
-  'finalize' => 'activar/desactivar a integración do BBS',
-  'finalize_explanation' => 'Ata aquí, as opcións que especificaches foron gardadas no banco de datos, pero a integración do BBS non foi activada. Podes conectar ou desconectar a integración máis tarde en calquer intre. Asegúrate de lembrar o nome de usuario de administrador e o contrasinal do Coppermine a secas (sen integración), podes precisalos máis tarde para poder facer trocos. Se algo fose mal, vai a %s e desactiva a integración do BBS alí, utilizando a túa conta de administración orixinal (sen a ponte ou integración) (habitualmente será a que configuraches durante a instalación do Coppermine).',
-  'your_bridge_settings' => 'A túa configuración da ponte',
-  'title_enable' => 'Activar integración/ponteado con %s',
-  'bridge_enable_yes' => 'activar',
-  'bridge_enable_no' => 'desactivar',
-  'error_must_not_be_empty' => 'non pode estar valeiro',
-  'error_either_be' => 'debe ser %s ou %s',
-  'error_folder_not_exist' => '%s non existe. Corrixe o valor que inseriches para %s',
-  'error_cookie_not_readible' => 'O Coppermine non pode ler unha cookie chamada %s. Corrixe o valor que inseriches para %s, ou vai ó panel de administración do teu BBS e asegúrate de que a ruta da cookie é lexible para o coppermine.',
-  'error_mandatory_field_empty' => 'Non podes deixar o campo %s en branco - cúbreo co valor axeitado.',
-  'error_no_trailing_slash' => 'O campo %s non debe rematarse cunha barra invertida.',
-  'error_trailing_slash' => 'O campo %s debe rematarse cunha barra invertida.',
-  'error_db_connect' => 'Non se pode conectar co banco de datos mySQL cos datos que especificaches. A resposta do mySQL foi:',
-  'error_db_name' => 'A pesares de que Coppermine conseguiu estabelecer unha conexión, non puido atopar o banco de datos %s. Asegúrate de que especificaches %s correctamente. A resposta do mySQL foi:',
-  'error_prefix_and_table' => '%s e ',
-  'error_db_table' => 'Non se puido atopar a táboa %s. Asegúrate de que especificaches %s correctamente.',
-  'recovery_title' => 'Xestor de Ponte: recuperación de emerxencia',
-  'recovery_explanation' => 'Se chegaches aquí para administrar a integración BBS da túa galería Coppermine, tes que iniciar sesión primeiro como administrador. Se non podes entrar porque o ponteado non funciona como debería, podes desactivar a integración BBS nesta páxina. Inserindo o teu nome de usuario e contrasinal non iniciarás a sesión, senón que só desactivarás a integración BBS. Revisa a documentación para obter detalles.',
-  'username' => 'Nome de usuario',
-  'password' => 'Contrasinal',
-  'disable_submit' => 'enviar',
-  'recovery_success_title' => 'Autorización correcta',
-  'recovery_success_content' => 'Desactivaches o ponteado BBS correctamente. A túa instalación do Coppermine funciona agora en modo independente.',
-  'recovery_success_advice_login' => 'Inicia sesión como administrador para editar a túa configuración de ponte e/ou activar a integración BBS de novo.',
-  'goto_login' => 'Ir á páxina de inicio de sesión',
-  'goto_bridgemgr' => 'Ir ó xestor de ponte',
-  'recovery_failure_title' => 'Autorización incorrecta',
-  'recovery_failure_content' => 'As credenciais que presentaches son incorrectas. Debes proporcionar os datos da conta de administrador da versión autónoma (habitualmente será a conta que configuraches durante a instalación do Coppermine).',
-  'try_again' => 'téntao de novo',
-  'recovery_wait_title' => 'Ainda non transcorreu o tempo de espera',
-  'recovery_wait_content' => 'Por razóns de seguridade este script non permite tentativas fallidas de inicio de sesión sucesivas en pouco espazo de tempo , polo que terás que agardar un chisco ata que se che permita volver tentar identificarte.',
-  'wait' => 'agarda',
-  'create_redir_file' => 'Crear arquivo de redirección (recomendado)',
-  'create_redir_file_explanation' => 'Para redirixir ós usuarios de novo ó Coppermine unha vez que iniciaron sesión no teu BBS, precisas crear un arquivo de redirección no teu cartafol do BBS. Cando esta opción estea marcada, o xestor de ponte tentará crear este arquivo no teu lugar, ou proporcionarche o código listo para copiar-e-pegar para que poidas crear o arquivo de xeito manual.',
-  'browse' => 'explorar',
-);
-
-// ------------------------------------------------------------------------- //
-// File calendar.php //cpg1.4
-// ------------------------------------------------------------------------- //
-
-if (defined('CALENDAR_PHP')) $lang_calendar_php = array(
-  'title' => 'Calendario', //cpg1.4
-  'close' => 'pechar', //cpg1.4
-  'clear_date' => 'borrar data', //cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File catmgr.php
-// ------------------------------------------------------------------------- //
-
-if (defined('CATMGR_PHP')) $lang_catmgr_php = array(
-	'miss_param' => 'Parametros requeridos para operación \'%s\' non postos!',
-	'unknown_cat' => 'A categoria seleccionada non existe no noso banco de datos',
-	'usergal_cat_ro' => 'A categoria do usuario non pode ser excluída !',
-	'manage_cat' => 'administrar categorias',
-	'confirm_delete' => 'Estás a certo que desexas ELIMINAR esta categoria ?', //js-alert
-	'category' => 'Categoria',
-	'operations' => 'Operacións',
-	'move_into' => 'Mover a',
-	'update_create' => 'actualizar/Crear categoria',
-	'parent_cat' => 'Categoria Nai',
-	'cat_title' => 'Título da categoria',
-	'cat_thumb' => 'Miniatura da categoria', //cpg1.3.0
-	'cat_desc' => 'Descripción da categoria',
-  'categories_alpha_sort' => 'Ordenar categorías alfabéticamente (en troques de utilizar a orde personalizada)', //cpg1.4
-  'save_cfg' => 'Gardar configuración', //cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File admin.php //cpg1.4
-// ------------------------------------------------------------------------- //
-
-if (defined('ADMIN_PHP')) $lang_admin_php = array(
-  'title' => 'Configuración da Galería', //cpg1.4
-  'manage_exif' => 'Xestionar respresentación visual de datos exif', //cpg1.4
-  'manage_plugins' => 'Xestionar plugins', //cpg1.4
-  'manage_keyword' => 'Xestionar palabras-chave', //cpg1.4
-	'restore_cfg' => 'Restaurar Configuración por defecto',
-	'save_cfg' => 'Gardar nova Configuración',
-	'notes' => 'Notas',
-	'info' => 'Información',
-	'upd_success' => 'Configuracións atualizadas!',
-	'restore_success' => 'Configuración padre restaurada',
-	'name_a' => 'Nome ascendente',
-	'name_d' => 'Nome descendente',
-	'title_a' => 'Título ascendente',
-	'title_d' => 'Título descendente',
-	'date_a' => 'Data Crecente',
-	'date_d' => 'Data Decrecente',
-  'pos_a' => 'Posición ascendente', //cpg1.4
-  'pos_d' => 'Posición descendente', //cpg1.4
-	'th_any' => 'Aspecto Máximo',
-	'th_ht' => 'Altura',
-	'th_wd' => 'Ancho',
-	'label' => 'etiqueta', //cpg1.3.0
-	'item' => 'elemento', //cpg1.3.0
-	'debug_everyone' => 'Todos', //cpg1.3.0
-	'debug_admin' => 'só o administrador', //cpg1.3.0
-  'no_logs'=> 'Off', //cpg1.4
-  'log_normal'=> 'Normal', //cpg1.4
-  'log_all' => 'Todo', //cpg1.4
-  'view_logs' => 'Amosar rexistros (logs)', //cpg1.4
-  'click_expand' => 'preme no nome de sección para expandir', //cpg1.4
-  'expand_all' => 'Expandir Todo', //cpg1.4
-  'notice1' => '(*) Estes parámetros non deben mudarse se xa tes arquivos no teu banco de datos.', //cpg1.4 - (reubicado)
-  'notice2' => '(**) Cando mudes este parámetro, só se verán afectados os arquivos engadidos a partires de agora, polo que é recomendábel non mudar este parámetro se xa existen arquivos na galería. Podes, de todas formas, aplicar os trocos ós arquivos existentes coas utilidades das &quot;<a href="util.php">ferramentas de administración</a> (redimensionar imaxes)&quot; do menú de administración.', //cpg1.4 - (reubicado)
-  'notice3' => '(***) Todos os arquivos de rexistro (logs) escríbense en inglés.', //cpg1.4 - (reubicado)
-  'bbs_disabled' => 'Función desactivada ó usar a integración do bb', //cpg1.4
-  'auto_resize_everyone' => 'Todos', //cpg1.4
-  'auto_resize_user' => 'Só o usuario', //cpg1.4
-  'ascending' => 'ascendente', //cpg1.4
-  'descending' => 'descendente', //cpg1.4
-        );
-
-if (defined('ADMIN_PHP')) $lang_admin_data = array(
-	'Configuración xeral',
-	array('Nome da Galería', 'gallery_name', 0,  'f=index.htm&amp;as=admin_general_name&amp;ae=admin_general_name_end'), //cpg1.4
-	array('Descrición da Galería', 'gallery_description', 0, 'f=index.htm&amp;as=admin_general_description&amp;ae=admin_general_description_end'), //cpg1.4
-	array('Correo-e do Administrador da Galería', 'gallery_admin_email', 0, 'f=index.htm&amp;as=admin_general_email&amp;ae=admin_general_email_end'), //cpg1.4
-	array('URL do cartafol da túa galería coppermine (sen \'index.php\' ou similar ó remate)', 'ecards_more_pic_target', 0, 'f=index.htm&amp;as=admin_general_coppermine-url&amp;ae=admin_general_coppermine-url_end'), //cpg1.4
-  array('URL da túa páxina de inicio', 'home_target', 0, 'f=index.htm&amp;as=admin_general_home-url&amp;ae=admin_general_home-url_end'), //cpg1.4
-  array('Permitir descarga en ZIP dos favoritos', 'enable_zipdownload', 1, 'f=index.htm&amp;as=admin_general_zip-download&amp;ae=admin_general_zip-download_end'), //cpg1.4
-  array('Zona horaria relativa ó GMT (tempo actual: ' . localised_date(-1, $comment_date_fmt) . ')','time_offset',0, 'f=index.htm&amp;as=admin_general_time-offset&amp;ae=admin_general_time-offset_end&amp;top=1'), //cpg1.4
-  array('Activar contrasinais encriptadas (non se poderá desfacer logo)','enable_encrypted_passwords',1, 'f=index.htm&amp;as=admin_general_encrypt_password_start&amp;ae=admin_general_encrypt_password_end&amp;top=1'), // cpg 1.4
-  array('Activar iconas de axuda (a axuda está dispoñible só en inglés)','enable_help',9, 'f=index.htm&amp;as=admin_general_help&amp;ae=admin_general_help_end'), //cpg1.4
-  array('Activar palabras-chave nas que se poida premer na procura','clickable_keyword_search',14, 'f=index.htm&amp;as=admin_general_keywords_start&amp;ae=admin_general_keywords_end'), //cpg1.4
-  array('Activar plugins', 'enable_plugins', 12, 'f=index.htm&amp;as=admin_general_enable-plugins&amp;ae=admin_general_enable-plugins_end'),  //cpg1.4
-  array('Permitir o bloqueo de enderezos IP non encamiñables (privados)', 'ban_private_ip', 1,  'f=index.htm&amp;as=admin_general_private-ip&amp;ae=admin_general_private-ip_end'), //cpg1.4
-  array('Interface de engadido en serie (batch-add) navegable', 'browse_batch_add', 1, 'f=index.htm&amp;as=admin_general_browsable_batch_add&amp;ae=admin_general_browsable_batch_add_end'), //cpg1.4
-
-  'Configuración de Idioma e Codificación de Caracteres',
-  array('Idioma', 'lang', 5, 'f=index.htm&amp;as=admin_language_language&amp;ae=admin_language_language_end'), //cpg1.4
-  array('Recurrir ó inglés se a frase traducida non se atopa?', 'language_fallback', 1, 'f=index.htm&amp;as=admin_language_fallback&amp;ae=admin_language_fallback_end'), //cpg1.4
-  array('Codificación de carácter', 'charset', 4, 'f=index.htm&amp;as=admin_language_charset&amp;ae=admin_language_charset_end'), //cpg1.4
-  array('Amosar lista de idiomas', 'language_list', 1, 'f=index.htm&amp;as=admin_language_list&amp;ae=admin_language_list_end'), //cpg1.4
-  array('Amosar bandeiras de idiomas', 'language_flags', 8, 'f=index.htm&amp;as=admin_language_flags&amp;ae=admin_language_flags_end&amp;top=1'), //cpg1.4
-  array('Amosar &quot;restaurar&quot; na selección de idioma', 'language_reset', 1, 'f=index.htm&amp;as=admin_language_reset&amp;ae=admin_language_reset_end&amp;top=1'), //cpg1.4
-  //array('Display previous/next on tabbed pages', 'previous_next_tab', 1), //cpg1.4
-
-  'Configuración de temas',
-  array('Tema', 'theme', 6, 'f=index.htm&amp;as=admin_theme_theme&amp;ae=admin_theme_theme_end'), //cpg1.4
-  array('Amosar lista de temas', 'theme_list', 1, 'f=index.htm&amp;as=admin_theme_theme_list&amp;ae=admin_theme_theme_list_end'), //cpg1.4
-  array('Amosar &quot;restaurar&quot; na selección de tema', 'theme_reset', 1, 'f=index.htm&amp;as=admin_theme_theme_reset&amp;ae=admin_theme_theme_reset_end'), //cpg1.4
-  array('Amosar FAQ', 'display_faq', 1, 'f=index.htm&amp;as=admin_theme_faq&amp;ae=admin_theme_faq_end'), //cpg1.4
-  array('Nome da ligazón do menú personalizado', 'custom_lnk_name', 0,'f=index.htm&amp;as=admin_theme_custom_lnk_name&amp;ae=admin_theme_custom_lnk_name_end'), //cpg1.4
-  array('URL da ligazón do menú personalizado', 'custom_lnk_url', 0,'f=index.htm&amp;as=admin_language_custom_lnk_url&amp;ae=admin_language_custom_lnk_url_end'), //cpg1.4
-  array('Amosar axuda do bbcode', 'show_bbcode_help', 1, 'f=index.htm&amp;as=admin_theme_bbcode&amp;ae=admin_theme_bbcode_end&amp;top=1'), //cpg1.4
-  array('Amosar o bloque indicando o cumprimento cos estándares nos temas definidos como conformes a XHTML e CSS','vanity_block',1, 'f=index.htm&amp;as=vanity_block&amp;ae=vanity_block_end'), //cpg1.4
-  array('Ruta á cabeceira de páxina personalizada que queres incluir', 'custom_header_path', 0, 'f=index.htm&amp;as=admin_theme_include_path_start&amp;ae=admin_theme_include_path_end'), //cpg1.4
-  array('Ruta ó pé de páxina personalizado que queres incluir', 'custom_footer_path', 0, 'f=index.htm&amp;as=admin_theme_include_path_start&amp;ae=admin_theme_include_path_end'), //cpg1.4
-
-  'Visualización da lista de álbums',
-  array('Ancho da táboa principal (en pixels ou en %)', 'main_table_width', 0, 'f=index.htm&amp;as=admin_album_table-width&amp;ae=admin_album_table-width_end'), //cpg1.4
-  array('Número de niveis de categorías a amosar', 'subcat_level', 0, 'f=index.htm&amp;as=admin_album_category-levels&amp;ae=admin_album_category-levels_end'), //cpg1.4
-  array('Número de álbums a amosar', 'albums_per_page', 0, 'f=index.htm&amp;as=admin_album_number&amp;ae=admin_album_number_end'), //cpg1.4
-  array('Número de columnas da lista de álbums', 'album_list_cols', 0, 'f=index.htm&amp;as=admin_album_columns&amp;ae=admin_album_columns_end'), //cpg1.4
-  array('Tamaño das miniaturas en pixels', 'alb_list_thumb_size', 0, 'f=index.htm&amp;as=admin_album_thumbnail-size&amp;ae=admin_album_thumbnail-size_end'), //cpg1.4
-  array('O contido da páxina principal', 'main_page_layout', 0, 'f=index.htm&amp;as=admin_album_list_content&amp;ae=admin_album_list_content_end'), //cpg1.4
-  array('Amosar as miniaturas do primeiro nivel do álbum nas categorías','first_level',1, 'f=index.htm&amp;as=admin_album_first-level_thumbs&amp;ae=admin_album_first-level_thumbs_end'), //cpg1.4
-  array('Ordenar categorías alfabéticamente (en troques da ordenación personalizada)','categories_alpha_sort',1, 'f=index.htm&amp;as=admin_album_list_alphasort_start&amp;ae=admin_album_list_alphasort_end'), //cpg1.4
-  array('Amosar número de arquivos ligados','link_pic_count',1, 'f=index.htm&amp;as=admin_album_linked_files_start&amp;ae=admin_album_linked_files_end'), //cpg1.4
-
-  'Visualización de miniaturas',
-  array('Número de columnas na páxina de miniaturas', 'thumbcols', 0, 'f=index.htm&amp;as=admin_thumbnail_columns&amp;ae=admin_thumbnail_columns_end'), //cpg1.4
-  array('Número de filas na páxina de miniaturas', 'thumbrows', 0, 'f=index.htm&amp;as=admin_thumbnail_rows&amp;ae=admin_thumbnail_rows_end'), //cpg1.4
-  array('Número máximo de pestanas a amosar', 'max_tabs', 10, 'f=index.htm&amp;as=admin_thumbnail_tabs&amp;ae=admin_thumbnail_tabs_end'), //cpg1.4
-  array('Amosar lenda do arquivo (ademais do título) baixo da miniatura', 'caption_in_thumbview', 1, 'f=index.htm&amp;as=admin_thumbnail_display_caption&amp;ae=admin_thumbnail_display_caption_end'), //cpg1.4
-  array('Amosar número de visualizacións baixo da miniatura', 'views_in_thumbview', 1, 'f=index.htm&amp;as=admin_thumbnail_display_views&amp;ae=admin_thumbnail_display_views_end'), //cpg1.4
-  array('Amosar número de comentarios baixo da miniatura', 'display_comment_count', 1, 'f=index.htm&amp;as=admin_thumbnail_display_comments&amp;ae=admin_thumbnail_display_comments_end'), //cpg1.4
-  array('Amosar nome do usuario que subiu o arquivo baixo da miniatura', 'display_uploader', 1, 'f=index.htm&amp;as=admin_thumbnail_display_uploader&amp;ae=admin_thumbnail_display_uploader_end'), //cpg1.4
-  //array('Display name of admin uploaders below the thumbnail', 'display_admin_uploader', 1, 'f=index.htm&amp;as=admin_thumbnail_display_admin_uploader&amp;ae=admin_thumbnail_display_admin_uploader_end'), //cpg1.4
-  array('Amosar nome do arquivo baixo da miniatura', 'display_filename', 1, 'f=index.htm&amp;as=admin_thumbnail_display_filename&amp;ae=admin_thumbnail_display_filename_end'), //cpg1.4
-  //array('Amosar descrición do álbum', 'alb_desc_thumb', 1, 'f=index.htm&amp;as=admin_thumbnail_display_description&amp;ae=admin_thumbnail_display_description_end'), //cpg1.4
-  array('Orden dos arquivos por defecto', 'default_sort_order', 3, 'f=index.htm&amp;as=admin_thumbnail_default_sortorder&amp;ae=admin_thumbnail_default_sortorder_end'), //cpg1.4
-  array('Número mínimo de votos dun arquivo para figurar na lista dos \'máis votados\'', 'min_votes_for_rating', 0, 'f=index.htm&amp;as=admin_thumbnail_minimum_votes&amp;ae=admin_thumbnail_minimum_votes_end'), //cpg1.4
-
-	'Visualización das imaxes', //cpg1.4
-	array('Ancho da táboa para a visualización das fotos (en pixels ou en %)', 'picture_table_width', 0, 'f=index.htm&amp;as=admin_image_comment_table-width&amp;ae=admin_image_comment_table-width_end'), //cpg1.4
-  array('A información do arquivo é visible por defecto', 'display_pic_info', 1, 'f=index.htm&amp;as=admin_image_comment_info_visible&amp;ae=admin_image_comment_info_visible_end'), //cpg1.4
-  array('Lonxitude máxima da descrición dunha imaxe', 'max_img_desc_length', 0, 'f=index.htm&amp;as=admin_image_comment_descr_length&amp;ae=admin_image_comment_descr_length_end'), //cpg1.4
-  array('Número máximo de caracteres nunha palabra', 'max_com_wlength', 0, 'f=index.htm&amp;as=admin_image_comment_chars_per_word&amp;ae=admin_image_comment_chars_per_word_end'), //cpg1.4
-  array('Amosar tira de película', 'display_film_strip', 1, 'f=index.htm&amp;as=admin_image_comment_filmstrip_toggle&amp;ae=admin_image_comment_filmstrip_toggle_end'), //cpg1.4
-  array('Amosar nome de arquivo baixo da miniatura da tira de película', 'display_film_strip_filename', 1, 'f=index.htm&amp;as=admin_image_comment_display_film_strip_filename&amp;ae=admin_image_comment_display_film_strip_filename_end'), //cpg1.4
-  array('Número de elementos na tira de película', 'max_film_strip_items', 0, 'f=index.htm&amp;as=admin_image_comment_filmstrip_number&amp;ae=admin_image_comment_filmstrip_number_end'), //cpg1.4
-  array('Intervalo de pase de diapositivas en milisegundos (1 segundo = 1000 milisegundos)', 'slideshow_interval', 0, 'f=index.htm&amp;as=admin_image_comment_slideshow_interval&amp;ae=admin_image_comment_slideshow_interval_end'), //cpg1.4
-
-  'Configuración de comentarios', //cpg1.4
-  array('Filtrar bocaladas nos comentarios', 'filter_bad_words', 1, 'f=index.htm&amp;as=admin_image_comment_bad_words&amp;ae=admin_image_comment_bad_words_end'), //cpg1.4
-  array('Permitir risoños nos comentarios', 'enable_smilies', 1, 'f=index.htm&amp;as=admin_image_comment_smilies&amp;ae=admin_image_comment_smilies_end'), //cpg1.4
-  array('Permitir varios comentarios consecutivos dun arquivo por parte do mesmo usuario (desactivar protección anti-flood)', 'disable_comment_flood_protect', 1, 'f=index.htm&amp;as=admin_image_comment_flood&amp;ae=admin_image_comment_flood_end'), //cpg1.4
-  array('Número máximo de liñas nun comentario', 'max_com_lines', 0, 'f=index.htm&amp;as=admin_image_comment_lines&amp;ae=admin_image_comment_lines_end'), //cpg1.4
-  array('Lonxitude máxima dun comentario', 'max_com_size', 0, 'f=index.htm&amp;as=admin_image_comment_length&amp;ae=admin_image_comment_length_end'), //cpg1.4
-  array('Notificar ó administrador os novos comentarios por correo-e', 'email_comment_notification', 1, 'f=index.htm&amp;as=admin_image_comment_admin_notify&amp;ae=admin_image_comment_admin_notify_end'), //cpg1.4
-  array('Orden dos comentarios', 'comments_sort_descending', 17, 'f=index.htm&amp;as=admin_comment_sort_start&amp;ae=admin_comment_sort_end'), //cpg1.4
-  array('Prefixo para os autores de comentarios anónimos', 'comments_anon_pfx', 0, 'f=index.htm&amp;as=comments_anon_pfx&amp;ae=comments_anon_pfx_end'), //cpg1.4
-
-  'Configuración de arquivos e miniaturas',
-  array('Calidade dos arquivos JPEG', 'jpeg_qual', 0, 'f=index.htm&amp;as=admin_picture_thumbnail_jpeg_quality&amp;ae=admin_picture_thumbnail_jpeg_quality_end'), //cpg1.4
-  array('Dimensión máxima dunha miniatura <a href="#notice2" class="clickable_option">**</a>', 'thumb_width', 0, 'f=index.htm&amp;as=admin_picture_thumbnail_max-dimension&amp;ae=admin_picture_thumbnail_max-dimension_end'), //cpg1.4
-  array('Utilizar dimensión ( ancho ou alto ou aspecto máximo dunha miniatura ) <a href="#notice2" class="clickable_option">**</a>', 'thumb_use', 7, 'f=index.htm&amp;as=admin_picture_thumbnail_use-dimension&amp;ae=admin_picture_thumbnail_use-dimension_end'), //cpg1.4
-  array('Crear fotografías intermedias','make_intermediate',1, 'f=index.htm&amp;as=admin_picture_thumbnail_intermediate_toggle&amp;ae=admin_picture_thumbnail_intermediate_toggle_end'), //cpg1.4
-  array('Ancho ou alto máximo dunha fotografía/vídeo intermedio <a href="#notice2" class="clickable_option">**</a>', 'picture_width', 0, 'f=index.htm&amp;as=admin_picture_thumbnail_intermediate_dimension&amp;ae=admin_picture_thumbnail_intermediate_dimension_end'), //cpg1.4
-  array('Tamaño máximo dos arquivos subidos (en KB)', 'max_upl_size', 0, 'f=index.htm&amp;as=admin_picture_thumbnail_max_upload_size&amp;ae=admin_picture_thumbnail_max_upload_size_end'), //cpg1.4
-  array('Ancho ou alto máximo das fotografías/vídeos subidos (en pixels)', 'max_upl_width_height', 0, 'f=index.htm&amp;as=admin_picture_thumbnail_max_upload_dimension&amp;ae=admin_picture_thumbnail_max_upload_dimension_end'), //cpg1.4
-  array('Auto-redimensionar imaxes que sexan maiores do ancho ou alto máximos', 'auto_resize', 16, 'f=index.htm&amp;as=admin_picture_thumbnail_auto-resize&amp;ae=admin_picture_thumbnail_auto-resize_end'), //cpg1.4
-
-  'Configuración avanzada de arquivos e miniaturas',
-  array('Os álbums poden ser privados (Nota: se mudas dende \'si\' a \'non\' calquera álbum actualmente privado pasará a ser público)', 'allow_private_albums', 1, 'f=index.htm&amp;as=admin_picture_thumb_advanced_private_toggle&amp;ae=admin_picture_thumb_advanced_private_toggle_end'), //cpg1.4
-  array('Amosar icona de álbum privado ós usuario que non inicien sesión','show_private',1, 'f=index.htm&amp;as=admin_picture_thumb_advanced_private_icon_show&amp;ae=admin_picture_thumb_advanced_private_icon_show_end'), //cpg1.4
-  array('Caracteres non permitidos en nomes de arquivo', 'forbiden_fname_char',0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_filename_forbidden_chars&amp;ae=admin_picture_thumb_advanced_filename_forbidden_chars_end'), //cpg1.4
-  //array('Accepted file extensions for uploaded pictures', 'allowed_file_extensions',0, 'f=index.htm&amp;as=&amp;ae=_end'), //cpg1.4
-  array('Tipos de imaxe permitidos', 'allowed_img_types',0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_pic_extensions&amp;ae=admin_picture_thumb_advanced_pic_extensions_end'), //cpg1.4
-  array('Tipos de película permitidos', 'allowed_mov_types',0, 'f=index.htm&amp;as=admin_thumbs_advanced_movie&amp;ae=admin_thumbs_advanced_movie_end'), //cpg1.4
-  array('Reproducción Automática de Película', 'media_autostart',1, 'f=index.htm&amp;as=admin_movie_autoplay&amp;ae=admin_movie_autoplay_end'), //cpg1.4
-  array('Tipos de audio permitidos', 'allowed_snd_types',0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_audio_extensions&amp;ae=admin_picture_thumb_advanced_audio_extensions_end'), //cpg1.4
-  array('Tipos de documento permitidos', 'allowed_doc_types',0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_doc_extensions&amp;ae=admin_picture_thumb_advanced_doc_extensions_end'), //cpg1.4
-  array('Método para o redimensionado de imaxes','thumb_method',2, 'f=index.htm&amp;as=admin_picture_thumb_advanced_resize_method&amp;ae=admin_picture_thumb_advanced_resize_method_end'), //cpg1.4
-  array('Ruta á utilidade de \'conversión\' ImageMagick (exemplo /usr/bin/X11/)', 'impath', 0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_im_path&amp;ae=admin_picture_thumb_advanced_im_path_end'), //cpg1.4
-  //array('Allowed image types (only valid for ImageMagick)', 'allowed_img_types',0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_allowed_imagetypes&amp;ae=admin_picture_thumb_advanced_allowed_imagetypes_end'), //cpg1.4
-  array('Opcións de liña de comandos para o ImageMagick', 'im_options', 0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_im_commandline&amp;ae=admin_picture_thumb_advanced_im_commandline_end'), //cpg1.4
-  array('Ler datos EXIF nos arquivos JPEG', 'read_exif_data', 13, 'f=index.htm&amp;as=admin_picture_thumb_advanced_exif&amp;ae=admin_picture_thumb_advanced_exif_end'), //cpg1.4
-  array('Ler datos IPTC nos arquivos JPEG', 'read_iptc_data', 1, 'f=index.htm&amp;as=admin_picture_thumb_advanced_iptc&amp;ae=admin_picture_thumb_advanced_iptc_end'), //cpg1.4
-  array('O directorio do álbum <a href="#notice1" class="clickable_option">*</a>', 'fullpath', 0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_albums_dir&amp;ae=admin_picture_thumb_advanced_albums_dir_end'), //cpg1.4
-  array('O directorio para os arquivos de usuario <a href="#notice1" class="clickable_option">*</a>', 'userpics', 0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_userpics_dir&amp;ae=admin_picture_thumb_advanced_userpics_dir_end'), //cpg1.4
-  array('O prefixo para as fotos intermedias <a href="#notice1" class="clickable_option">*</a>', 'normal_pfx', 0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_intermediate_prefix&amp;ae=admin_picture_thumb_advanced_intermediate_prefix_end'), //cpg1.4
-  array('O prefixo para as miniaturas <a href="#notice1" class="clickable_option">*</a>', 'thumb_pfx', 0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_thumbs_prefix&amp;ae=admin_picture_thumb_advanced_thumbs_prefix_end'), //cpg1.4
-  array('Modo por defecto para os directorios', 'default_dir_mode', 0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_chmod_folder&amp;ae=admin_picture_thumb_advanced_chmod_folder_end'), //cpg1.4
-  array('Modo por defecto para os arquivos', 'default_file_mode', 0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_chmod_files&amp;ae=admin_picture_thumb_advanced_chmod_files_end'), //cpg1.4
-
-  'Configuración de usuario',
-  array('Permitir rexistro de novos usuarios', 'allow_user_registration', 1, 'f=index.htm&amp;as=admin_allow_registration&amp;ae=admin_allow_registration_end'), //cpg1.4
-  array('Permitir acceso a usuarios sen sesión iniciada (convidados ou anónimos)', 'allow_unlogged_access', 1, 'f=index.htm&amp;as=admin_allow_unlogged_access&amp;ae=admin_allow_unlogged_access_end'), //cpg1.4
-  array('O rexistro de usuario deber ser verificado por correo-e', 'reg_requires_valid_email', 1, 'f=index.htm&amp;as=admin_registration_verify&amp;ae=admin_registration_verify_end'), //cpg1.4
-  array('Notificar ó administrador os rexistros de usuario por correo-e', 'reg_notify_admin_email', 1, 'f=index.htm&amp;as=admin_registration_notify&amp;ae=admin_registration_notify_end'), //cpg1.4
-  array('Activación dos rexistros por parte do administrador', 'admin_activation', 1, 'f=index.htm&amp;as=admin_activation&amp;ae=admin_activation_end'),  //cpg1.4
-  array('Permitir a dous usuarios ter o mesmo enderezo de correo-e', 'allow_duplicate_emails_addr', 1, 'f=index.htm&amp;as=admin_allow_duplicate_emails_addr&amp;ae=admin_allow_duplicate_emails_addr_end'), //cpg1.4
-  array('Notificar ó administrador as subidas de usuarios pendentes de aprobación', 'upl_notify_admin_email', 1, 'f=index.htm&amp;as=admin_approval_notify&amp;ae=admin_approval_notify_end'), //cpg1.4
-  array('Permitir ós usuarios con sesión iniciada ver a lista de membros', 'allow_memberlist', 1, 'f=index.htm&amp;as=admin_user_memberlist&amp;ae=admin_user_memberlist_end'), //cpg1.4
-  array('Permitir ós usuarios mudar o seu enderezo de correo-e no perfil', 'allow_email_change', 1, 'f=index.htm&amp;as=admin_user_allow_email_change&amp;ae=admin_user_allow_email_change_end'), //cpg1.4
-  array('Permitir ós usuarios reter o control das súas imaxes nas galerías públicas', 'users_can_edit_pics', 1, 'f=index.htm&amp;as=admin_user_editpics_public_start&amp;ae=admin_user_editpics_public_end'), //cpg1.4
-  array('Número de intentos de inicio de sesión fallidos antes de bloqueo temporal (para evitar ataques de forza bruta)', 'login_threshold', 0, 'f=index.htm&amp;as=admin_user_login_start&amp;ae=admin_user_login_end'), //cpg1.4
-  array('Duración do bloqueo temporal logo dunha serie de intentos de inicio de sesión fallidos', 'login_expiry', 0, 'f=index.htm&amp;as=admin_user_login_start&amp;ae=admin_user_login_end'), //cpg1.4
-  array('Activar Informe ó Administrador', 'report_post', 1, 'f=index.htm&amp;as=admin_user_enable_report&amp;ae=admin_user_enable_report_end'),  //cpg1.4
-
-// custom profile fields,  //cpg1.4
-  'Campos personalizables para o perfil de usuario (déixaos en branco se non os usas).
-  Usa o Perfil 6 para entradas longas, como por exemplo biografías', //cpg1.4
-  array('Nome do perfil 1', 'user_profile1_name', 0, 'f=index.htm&amp;as=admin_custom&amp;ae=admin_custom_end'), //cpg1.4
-  array('Nome do perfil 2', 'user_profile2_name', 0), //cpg1.4
-  array('Nome do perfil 3', 'user_profile3_name', 0), //cpg1.4
-  array('Nome do perfil 4', 'user_profile4_name', 0), //cpg1.4
-  array('Nome do perfil 5', 'user_profile5_name', 0), //cpg1.4
-  array('Nome do perfil 6', 'user_profile6_name', 0), //cpg1.4
-
-  'Campos personalizables para a descrición de imaxe (déixaos en branco se non os usas)',
-  array('Nome do campo 1', 'user_field1_name', 0, 'f=index.htm&amp;as=admin_custom_image&amp;ae=admin_custom_image_end'), //cpg1.4
-  array('Nome do campo 2', 'user_field2_name', 0),
-  array('Nome do campo 3', 'user_field3_name', 0),
-  array('Nome do campo 4', 'user_field4_name', 0),
-
-  'Configuración de cookies',
-  array('Nome da cookie', 'cookie_name', 0, 'f=index.htm&amp;as=admin_cookie_name&amp;ae=admin_cookie_name_end'), //cpg1.4
-  array('Ruta da cookie', 'cookie_path', 0, 'f=index.htm&amp;as=admin_cookie_path&amp;ae=admin_cookie_path_end'), //cpg1.4
-
-  'Configuración de correo-e  (normalmente non se precisa mudar nada aquí; déixao en branco cando non estés certo)', //cpg1.4
-  array('Host SMTP (cando se deixe en branco, utilizarase o sendmail)', 'smtp_host', 0, 'f=index.htm&amp;as=admin_email&amp;ae=admin_email_end'), //cpg1.4
-  array('Nome de usuario SMTP', 'smtp_username', 0), //cpg1.4
-  array('Contrasinal SMTP', 'smtp_password', 0), //cpg1.4
-
-  'Rexistro (logging) e estatísticas', //cpg1.4
-  array('Modo de rexistro (logging) <a href="#notice3" class="clickable_option">***</a>', 'log_mode', 11, 'f=index.htm&amp;as=admin_logging_log_mode&amp;ae=admin_logging_log_mode_end'), //cpg1.4
-  array('Rexistrar postais-e', 'log_ecards', 1, 'f=index.htm&amp;as=admin_general_log_ecards&amp;ae=admin_general_log_ecards_end'), //cpg1.4
-  array('Manter estatísticas de voto pormenorizadas','vote_details',1, 'f=index.htm&amp;as=admin_logging_votedetails&amp;ae=admin_logging_votedetails_end'), //cpg1.4
-  array('Manter estatísticas de visualizacións pormenorizadas','hit_details',1, 'f=index.htm&amp;as=admin_logging_hitdetails&amp;ae=admin_logging_hitdetails_end'), //cpg1.4
-
-  'Configuración de mantemento', //cpg1.4
-  array('Activar modo de depurado (debug)', 'debug_mode', 9, 'f=index.htm&amp;as=debug_mode&amp;ae=debug_mode_end'), //cpg1.4
-  array('Amosar anuncios no modo de depurado', 'debug_notice', 1, 'f=index.htm&amp;as=admin_misc_debug_notices&amp;ae=admin_misc_debug_notices_end'), //cpg1.4
-  array('Galería fóra de liña (offline)', 'offline', 1, 'f=index.htm&amp;as=admin_general_offline&amp;ae=admin_general_offline_end'), //cpg1.4
-);
-
-
-// ------------------------------------------------------------------------- //
-// File db_ecard.php
-// ------------------------------------------------------------------------- //
-
-if (defined('DB_ECARD_PHP')) $lang_db_ecard_php = array(
-  'title' => 'Postais-e enviadas', //cpg1.3.0
-  'ecard_sender' => 'Remitente', //cpg1.3.0
-  'ecard_recipient' => 'Destinatario', //cpg1.3.0
-  'ecard_date' => 'Data', //cpg1.3.0
-  'ecard_display' => 'Ver postal-e', //cpg1.3.0
-  'ecard_name' => 'Nome', //cpg1.3.0
-  'ecard_email' => 'email', //cpg1.3.0
-  'ecard_ip' => 'IP #', //cpg1.3.0
-  'ecard_ascending' => 'ascendente', //cpg1.3.0
-  'ecard_descending' => 'descendente', //cpg1.3.0
-  'ecard_sorted' => 'Clasificado', //cpg1.3.0
-  'ecard_by_date' => 'por data', //cpg1.3.0
-  'ecard_by_sender_name' => 'polo nome do Remitente', //cpg1.3.0
-  'ecard_by_sender_email' => 'polo email do Remitente', //cpg1.3.0
-  'ecard_by_sender_ip' => 'polo ip do Remitente', //cpg1.3.0
-  'ecard_by_recipient_name' => 'polo nome do destinatario', //cpg1.3.0
-  'ecard_by_recipient_email' => 'polo email do destinatario', //cpg1.3.0
-  'ecard_number' => 'visualizando rexistro %s para %s de %s', //cpg1.3.0
-  'ecard_goto_page' => 'ir para páxina', //cpg1.3.0
-  'ecard_records_per_page' => 'rexistros por páxina', //cpg1.3.0
-  'check_all' => 'Marcar Todos', //cpg1.3.0
-  'uncheck_all' => 'Desmarcar Todos', //cpg1.3.0
-  'ecards_delete_selected' => 'Borrar as postais-e seleccionadas', //cpg1.3.0
-  'ecards_delete_confirm' => 'Estás certo que desexas Borrar as postais-e seleccionadas? Marque a caixa de verificación!', //cpg1.3.0
-  'ecards_delete_sure' => 'Estou certo', //cpg1.3.0
-);
-
-
-// ------------------------------------------------------------------------- //
-// File db_input.php
-// ------------------------------------------------------------------------- //
-
-if (defined('DB_INPUT_PHP')) $lang_db_input_php = array(
-	'empty_name_or_co' => 'Debes inserir un nome e o comentario',
-	'co_added' => 'o teu comentario foi inserido',
-	'alb_need_title' => 'Debes definir un nome para o album !',
-	'no_udp_needed' => 'Actualización non necesaria.',
-	'alb_updated' => 'O album foi actualizado',
-	'unknown_album' => 'O album seleccionado non existe ou non tes permiso para enviar fotos para él',
-	'no_pic_uploaded' => 'nengunha foto enviada !<br /><br />Se realmente seleccionaches unha foto para enviar, verifica se o servidor permite envios...',
-	'err_mkdir' => 'erro ó Crear directorio %s !',
-	'dest_dir_ro' => 'directorio de destino %s non pode ser grabado polo script 
-!',
-	'err_move' => 'Imposible mover %s para %s !',
-	'err_fsize_too_large' => 'A foto que estás tentando enviar é moi grande (máximo permitido %s x %s) !', //obsolete since cpg1.3 - consider removal in cpg1.4 once upload.php has been overhauled
-	'err_imgsize_too_large' => 'O tamaño da foto é maior que o permitido (máximo permitido %s KB) !', //obsolete since cpg1.3 - consider removal in cpg1.4 once upload.php has been overhauled
-	'err_invalid_img' => 'O arquivo que estás tentando enviar non é un arquivo de foto válido !',
-	'allowed_img_types' => 'Só podes enviar %s fotos.',
-	'err_insert_pic' => 'A foto \'%s\' non pode ser inserida no album ',
-	'upload_success' => 'A túa foto foi enviada con exito<br /><br />só será visible despois da aprobación do Administrador.',
-	'notify_admin_email_subject' => '%s - Notificación de Envio', //cpg1.3.0
-	'notify_admin_email_body' => 'unha foto foi enviada por %s e precisa da túa 
-aprobación. Entra en %s', //cpg1.3.0
-	'info' => 'Información',
-	'com_added' => 'comentario engadido',
-	'alb_updated' => 'album actualizado',
-	'err_comment_empty' => 'O teu comentario está valeiro !',
-	'err_invalid_fext' => 'Soamente os arquivos coas seguintes extensions son permitidos : <br /><br />%s.',
-	'no_flood' => 'Desculpa, pero és o último autor en enviar un comentario<br/><br />Edita o comentario se desexa trocalo',
-	'redirect_msg' => 'Estás sendo redireccionado.<br /><br /><br />Preme en \'CONTINUE\' se a páxina non se actualiza automaticamente',
-	'upl_success' => 'A túa foto foi engadida con exito',
-	'email_comment_subject' => 'comentario inserido', //cpg1.3.0
-	'email_comment_body' => 'Alguen posteou un comentario na túa galería. Podes velo 
-en', //cpg1.3.0
-  'album_not_selected' => 'Non se seleccionou álbum ningún', //cpg1.4
-  'com_author_error' => 'Hai un usuario rexistrado usando este alcume, inicia unha sesión ou usa outro', //cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File delete.php
-// ------------------------------------------------------------------------- //
-
-if (defined('DELETE_PHP')) $lang_delete_php = array(
-	'caption' => 'Sub-Título',
-	'fs_pic' => 'tamaño total da foto',
-	'del_success' => 'borrado con exito',
-	'ns_pic' => 'tamaño normal da foto',
-	'err_del' => 'non pode ser excluído',
-	'thumb_pic' => 'miniatura',
-	'comment' => 'comentario',
-	'im_in_alb' => 'foto no album',
-	'alb_del_success' => 'album \'%s\' borrado',
-	'alb_mgr' => 'Administrador de albums',
-	'err_invalid_data' => 'datos recibidos inválidos \'%s\'',
-	'create_alb' => 'Creando album \'%s\'',
-	'update_alb' => 'actualizando album \'%s\' título \'%s\' índice \'%s\'',
-	'del_pic' => 'Borrar arquivo',
-	'del_alb' => 'Borrar album',
-	'del_user' => 'usuario usuario',
-	'err_unknown_user' => 'O usuario seleccionado non existe !',
-  'err_empty_groups' => 'Non hai táboa de grupos ningunha, ou a táboa de grupos está valeira!', //cpg1.4
-	'comment_deleted' => 'O comentario foi borrado con exito',
-  'npic' => 'Imaxe', //cpg1.4
-  'pic_mgr' => 'Xestor de Imaxes', //cpg1.4
-  'update_pic' => 'Actualizando a imaxe \'%s\' co nome de arquivo \'%s\' e o índice \'%s\'', //cpg1.4
-  'username' => 'Nome de usuario', //cpg1.4
-  'anonymized_comments' => '%s comentario(s) feito(s) anónimo(s)', //cpg1.4
-  'anonymized_uploads' => '%s subida(s) pública(s) feita(s) anónima(s)', //cpg1.4
-  'deleted_comments' => '%s comentario(s) borrado(s)', //cpg1.4
-  'deleted_uploads' => '%s subida()s pública(s) borrada(s)', //cpg1.4
-  'user_deleted' => 'eliminado o usuario %s', //cpg1.4
-  'activate_user' => 'Activar usuario', //cpg1.4
-  'user_already_active' => 'A conta xa foi activada', //cpg1.4
-  'activated' => 'Activado', //cpg1.4
-  'deactivate_user' => 'Desactivar usuario', //cpg1.4
-  'user_already_inactive' => 'A conta xa foi desactivada', //cpg1.4
-  'deactivated' => 'Desactivado', //cpg1.4
-  'reset_password' => 'Restaurar contrasinal ou contrasinais', //cpg1.4
-  'password_reset' => 'Contrasinal restaurado a %s', //cpg1.4
-  'change_group' => 'Mudar grupo primario', //cpg1.4
-  'change_group_to_group' => 'Mudando dende %s a %s', //cpg1.4
-  'add_group' => 'Engadir grupo secundario', //cpg1.4
-  'add_group_to_group' => 'Engadindo o usuario %s ó grupo %s. Agora é membro de %s como grupo de membros primario e de %s como grupo secundario.', //cpg1.4
-  'status' => 'Estado', //cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File displayecard.php
-// ------------------------------------------------------------------------- //
-
-if (defined('DISPLAYECARD_PHP')) {
-
-$lang_displayecard_php = array(
-  'invalid_data' => 'Os datos da postal-e á que estás tentando acceder foron corrompidos polo teu cliente de correo. Comproba que a ligazón está completa.', //cpg1.4
-);
-}
-
-// ------------------------------------------------------------------------- //
-// File displayimage.php
-// ------------------------------------------------------------------------- //
-
-if (defined('DISPLAYIMAGE_PHP')){
-
-$lang_display_image_php = array(
-	'confirm_del' => 'estás certo de que desexas ELIMINAR esta foto ? \\ncomentarios 
-vinculados tamén serán excluídos.',
-	'del_pic' => 'APAGAR ESTA FOTO',
-	'size' => '%s x %s pixels',
-	'views' => '%s veces',
-	'slideshow' => 'Slideshow',
-	'stop_slideshow' => 'PARAR SLIDESHOW',
-	'view_fs' => 'Preme para ver a foto ampliada',
-	'edit_pic' => 'Editar Descripción', //cpg1.3.0
-	'crop_pic' => 'Xirar', //cpg1.3.0
-  'set_player' => 'Mudar reproductor',
-);
-
-$lang_picinfo = array(
-	'title' =>'INFORMACIONS DA FOTO',
-	'Filename' => 'Arquivo',
-	'album name' => 'album',
-	'Rating' => 'Clasificación (%s voto(s))',
-	'Keywords' => 'Palabras-chave',
-	'File Size' => 'tamaño do arquivo',
-  'Date Added' => 'Data de engadido', //cpg1.4
-	'Dimensions' => 'Dimensións',
-	'Displayed' => 'Visualizada',
-  'URL' => 'URL', //cpg1.4
-  'Make' => 'Feita', //cpg1.4
-  'Model' => 'Modelo', //cpg1.4
-  'DateTime' => 'Tempo e Data', //cpg1.4
-  'ISOSpeedRatings'=>'ISO', //cpg1.4
-  'MaxApertureValue' => 'Abertura Max', //cpg1.4
-  'FocalLength' => 'Lonxitude focal', //cpg1.4
-	'Comment' => 'comentario',
-	'addFav'=>'engadir a favoritos', //cpg1.3.0
-	'addFavPhrase'=>'Favoritos', //cpg1.3.0
-	'renFav'=>'remover dos Favoritos', //cpg1.3.0
-	'iptcTitle'=>'Titulo IPTC', //cpg1.3.0
-	'iptcCopyright'=>'Copyright IPTC', //cpg1.3.0
-	'iptcKeywords'=>'Palabras-chave IPTC', //cpg1.3.0
-	'iptcCategory'=>'Categoria IPTC', //cpg1.3.0
-	'iptcSubCategories'=>'Sub-Categorias IPTC', //cpg1.3.0
-  'ColorSpace' => 'Profundidade de Cor', //cpg1.4
-  'ExposureProgram' => 'Programa de Exposición', //cpg1.4
-  'Flash' => 'Flash', //cpg1.4
-  'MeteringMode' => 'Modo de Contador', //cpg1.4
-  'ExposureTime' => 'Tempo de Exposición', //cpg1.4
-  'ExposureBiasValue' => 'Bias de Exposición', //cpg1.4
-  'ImageDescription' => ' Descrición da Imaxe', //cpg1.4
-  'Orientation' => 'Orientación', //cpg1.4
-  'xResolution' => 'Resolución X', //cpg1.4
-  'yResolution' => 'Resolución Y', //cpg1.4
-  'ResolutionUnit' => 'Unidade de Resolución', //cpg1.4
-  'Software' => 'Software', //cpg1.4
-  'YCbCrPositioning' => 'Posicionamento YCbCr', //cpg1.4
-  'ExifOffset' => 'Offset Exif', //cpg1.4
-  'IFD1Offset' => 'Offset IFD1', //cpg1.4
-  'FNumber' => 'Número F', //cpg1.4
-  'ExifVersion' => 'Versión Exif', //cpg1.4
-  'DateTimeOriginal' => 'Tempo e Data Orixinais', //cpg1.4
-  'DateTimedigitized' => 'Tempo e Data dixitalizados', //cpg1.4
-  'ComponentsConfiguration' => 'Configuración de Compoñentes', //cpg1.4
-  'CompressedBitsPerPixel' => 'Bits Por Pixel Comprimidos', //cpg1.4
-  'LightSource' => 'Fonte de Luz', //cpg1.4
-  'ISOSetting' => 'Configuración ISO', //cpg1.4
-  'ColorMode' => 'Modo de Cor', //cpg1.4
-  'Quality' => 'Calidade', //cpg1.4
-  'ImageSharpening' => 'Definición da Imaxe', //cpg1.4
-  'FocusMode' => 'Modo de Enfoque', //cpg1.4
-  'FlashSetting' => 'Configuración do Flash', //cpg1.4
-  'ISOSelection' => 'Selección ISO', //cpg1.4
-  'ImageAdjustment' => 'Axuste de Imaxe', //cpg1.4
-  'Adapter' => 'Adaptador', //cpg1.4
-  'ManualFocusDistance' => 'Distancia de Enfoque Manual', //cpg1.4
-  'DigitalZoom' => 'Zoom Dixital', //cpg1.4
-  'AFFocusPosition' => 'Posición de Enfoque AF', //cpg1.4
-  'Saturation' => 'Saturación', //cpg1.4
-  'NoiseReduction' => 'Reducción de Ruido', //cpg1.4
-  'FlashPixVersion' => 'Versión de Flash Pix', //cpg1.4
-  'ExifImageWidth' => 'Ancho da Imaxe no Exif', //cpg1.4
-  'ExifImageHeight' => 'Alto da Imaxe no Exif', //cpg1.4
-  'ExifInteroperabilityOffset' => 'Offset de Interoperabilidade no Exif', //cpg1.4
-  'FileSource' => 'Fonte de Arquivo', //cpg1.4
-  'SceneType' => 'Tipo de Escena', //cpg1.4
-  'CustomerRender' => 'Reproducción Cliente', //cpg1.4
-  'ExposureMode' => 'Modo de Exposición', //cpg1.4
-  'WhiteBalance' => 'Balance de Brancos', //cpg1.4
-  'DigitalZoomRatio' => 'Relación de Zoom Dixital', //cpg1.4
-  'SceneCaptureMode' => 'Modo de Captura de Escena', //cpg1.4
-  'GainControl' => 'Control de Ganancia', //cpg1.4
-  'Contrast' => 'Contraste', //cpg1.4
-	'Sharpness' => 'Definición', //cpg1.4
-  'ManageExifDisplay' => 'Xestionar Visualización de Datos Exif', //cpg1.4
-  'submit' => 'Enviar', //cpg1.4
-  'success' => 'Información adaptada satisfactoriamente.', //cpg1.4
-  'details' => 'Detalles', //cpg1.4
-);
-
-$lang_display_comments = array(
-	'OK' => 'OK',
-	'edit_title' => 'Editar este comentario',
-	'confirm_delete' => 'tes a certeza de remover este comentario ?',
-	'add_your_comment' => 'Engade o teu comentario',
-	'name'=>'Nome',
-	'comment'=>'comentario',
-	'your_name' => 'O teu nome',
-  'report_comment_title' => 'Envía este comentario ó administrador', //cpg1.4
-);
-
-$lang_fullsize_popup = array(
-  'click_to_close' => 'Preme na imaxe para pechar esta xanela',
-);
-
-}
-
-// ------------------------------------------------------------------------- //
-// File ecard.php
-// ------------------------------------------------------------------------- //
-
-if (defined('ECARDS_PHP') || defined('DISPLAYECARD_PHP')) $lang_ecard_php =array(
-	'title' => 'Enviar unha postal-e',
-	'invalid_email' => '<b>Aviso</b> : email inválido !',
-	'ecard_title' => '%s enviouche unha postal-e!',
-	'error_not_image' => 'só as imaxes poden ser enviadas como postais-e.', //cpg1.3.0
-  'view_ecard' => 'Ligazón alternativa se a postal-e non se amosa correctamente', //cpg1.4
-  'view_ecard_plaintext' => 'Para ver a postal-e, copia e pegua o URL na barra de direccións do teu navegador:', //cpg1.4
-	'view_more_pics' => 'Preme aqui para ver máis fotos !',
-	'send_success' => 'A túa postal-e foi enviada!',
-	'send_failed' => 'Desculpe, pero o servidor non pode enviar a túa postal-e...',
-	'from' => 'Remitente',
-	'your_name' => 'O seu nome',
-	'your_email' => 'O seu e-mail',
-	'to' => 'Para',
-	'rcpt_name' => 'Destinatario',
-	'rcpt_email' => 'E-mail do destinatario',
-	'greetings' => 'Título',
-	'message' => 'Mensaxe',
-  'ecards_footer' => 'Enviado %s dende a IP %s ás %s (horario da Galería)', //cpg1.4
-'preview' => 'Vista previa da Postal-e', //cpg1.4
-  'preview_button' => 'Vista previa', //cpg1.4
-  'submit_button' => 'Enviar postal-e', //cpg1.4
-  'preview_view_ecard' => 'Isto será a ligazón alternativa á postal-e unha vez que sexa xerada. Non funcionará para previsualizacións.', //cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File report_file.php //cpg1.4
-// ------------------------------------------------------------------------- //
-
-if (defined('REPORT_FILE_PHP') || defined('DISPLAYREPORT_PHP')) $lang_report_php =array(
-  'title' => 'Reportar ó administrador', //cpg1.4
-  'invalid_email' => '<b>Erro</b> : dirección de e-mail inválida !', //cpg1.4
-  'report_subject' => 'Un informe de %s na galería %s', //cpg1.4
-  'view_report' => 'Ligazón alternativa se o informe non se amosa correctamente', //cpg1.4
-  'view_report_plaintext' => 'Para ver este informe, copia e pega esta url no teu navegador:', //cpg1.4
-  'view_more_pics' => 'Galería', //cpg1.4
-  'send_success' => 'O teu informe foi enviado', //cpg1.4
-  'send_failed' => 'Síntoo pero o servidor non pode enviar o teu informe...', //cpg1.4
-  'from' => 'dende', //cpg1.4
-  'your_name' => 'O teu nome', //cpg1.4
-  'your_email' => 'O teu e-mail', //cpg1.4
-  'to' => 'a', //cpg1.4
-  'administrator' => 'Administrador/Mod', //cpg1.4
-  'subject' => 'Asunto', //cpg1.4
-  'comment_field_name' => 'Reportando no Comentario de "%s"', //cpg1.4
-  'reason' => 'Razón', //cpg1.4
-  'message' => 'Mensaxe', //cpg1.4
-  'report_footer' => 'Enviado por %s dende a IP %s ás %s (horario da galería)', //cpg1.4
-  'obscene' => 'obsceno', //cpg1.4
-  'offensive' => 'ofensivo', //cpg1.4
-  'misplaced' => 'off-topic/fóra de sitio', //cpg1.4
-  'missing' => 'perdido', //cpg1.4
-  'issue' => 'erro/non se ve', //cpg1.4
-  'other' => 'outro', //cpg1.4
-  'refers_to' => 'O informe de arquivo refírese a', //cpg1.4
-  'reasons_list_heading' => 'razón(s) do informe:', //cpg1.4
-  'no_reason_given' => 'non se definiu razón ningunha', //cpg1.4
-  'go_comment' => 'Ir ó comentario', //cpg1.4
-  'view_comment' => 'Ver o informe enteiro con comentario', //cpg1.4
-  'type_file' => 'arquivo', //cpg1.4
-  'type_comment' => 'comentario', //cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File editpics.php
-// ------------------------------------------------------------------------- //
-
-if (defined('EDITPICS_PHP')) $lang_editpics_php = array(
-	'pic_info' => '&nbsp;Info da Foto',
-	'album' => 'album',
-	'title' => 'Título',
-  'filename' => 'Nome do arquivo', //cpg1.4
-	'desc' => 'Descripción',
-	'keywords' => 'Palabras-chave',
-  'new_keyword' => 'Nova palabra-chave', //cpg1.4
-  'new_keywords' => 'Nova palabra-chave atopada', //cpg1.4
-  'existing_keyword' => 'palabra-chave existente', //cpg1.4
-	'pic_info_str' => '%sx%s - %sKB - %s visitas - %s votos',
-	'approve' => 'Aprobar foto',
-	'postpone_app' => 'Pospoñer aprobacion',
-	'del_pic' => 'Apagar foto',
-  'del_all' => 'Eliminar TODOS os arquivos', //cpg1.4
-	'read_exif' => 'Ler EXIF novamente', //cpg1.3.0
-	'reset_view_count' => 'Xerar contador',
-  'reset_all_view_count' => 'Resetear TODOS os contadores de visitas', //cpg1.4
-	'reset_votes' => 'Xerar votos',
-  'reset_all_votes' => 'Resetear TODOS os votos', //cpg1.4
-	'del_comm' => 'ELIMINAR comentarios',
-  'del_all_comm' => 'Eliminar TODOS	os comentarios', //cpg1.4
-	'upl_approval' => 'Aprobar envio',
-	'edit_pics' => 'Editar fotos',
-	'see_next' => 'Ver fotos seguintes',
-	'see_prev' => 'Ver fotos anteriores',
-	'n_pic' => '%s fotos',
-	'n_of_pic_to_disp' => 'Número de fotos a amosar',
-	'apply' => 'Aplicar modificacións',
-	'crop_title' => 'Editor de Fotos', //cpg1.3.0
-	'preview' => 'Previsualizar', //cpg1.3.0
-	'save' => 'Gardar foto', //cpg1.3.0
-	'save_thumb' =>'Gardar como miniatura', //cpg1.3.0
-  'gallery_icon' => 'Facer icono', //cpg1.4
-	'sel_on_img' =>'A selección ten que ser na imaxe enteira!', //js-alert //cpg1.3.0
-  'album_properties' =>'Propiedades do Album', //cpg1.4
-  'parent_category' =>'Categoría principal (Pai)', //cpg1.4
-  'thumbnail_view' =>'Ver miniatura', //cpg1.4
-  'select_unselect' =>'seleccionar/deseleccionar todos', //cpg1.4
-  'file_exists' => "O arquivo de destino '%s' xa existe.", //cpg1.4
-  'rename_failed' => "Fallou ó renomear '%s' a '%s'.", //cpg1.4
-  'src_file_missing' => "Código do arquivo '%s' foi perdido.", // cpg 1.4
-  'mime_conv' => "Non podo convertir o arquivo dende '%s' a '%s'",//cpg1.4
-  'forb_ext' => 'Extensión de arquivo prohibida.',//cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File faq.php
-// ------------------------------------------------------------------------- //
-
-if (defined('FAQ_PHP')) $lang_faq_php = array(
-  'faq' => 'Preguntas máis frecontes', //cpg1.3.0
-  'toc' => 'contido', //cpg1.3.0
-  'question' => 'Pregunta: ', //cpg1.3.0
-  'answer' => 'Resposta: ', //cpg1.3.0
-);
-
-if (defined('FAQ_PHP')) $lang_faq_data = array(
-  'Dúvidas xerais', //cpg1.3.0
-  array('Por qué me teño que rexistrar?', 'O Rexistro pode ou non ser requerido polo administrador. O rexistro do usuario e características adicionais como: o envio de fotos, lista de favoritos, votar, e engadir comentarios.', 'allow_user_registration', '0'), //cpg1.3.0
-  array('Cómo fago para rexistrarme?', 'Vai a &quot;rexistrarse&quot; e rechea os campos obrigatorios (e os opcionais se queres tamén).<br />Se o Administrador tivera a activación de usuarios por email activada, entón recibirás un email informándote sobre o rexistro e dándote instruccións para a activación da conta. Antes de loguearte, a tua conta debe ser activada.', 'allow_user_registration', '1'), //cpg1.4
-  array('Cómo fago para loguear/entrar?', 'Vai a &quot;Login&quot;, insire o teu nome de usuario e contrasinal (marca &quot;Gardar contrasinal&quot; no caso de que queiras loguearte automáticamente), despois disto, xa estarás logueado.<br /><b>IMPORTANTE: O teu navegador debe estar habilitado para aceptar cookies/(galletas) e non deben ser borradas se queres manter a funcionalidade da ocpion &quot;Gardar contrasinal&quot;.</b>', 'offline', 0), //cpg1.3.0
-  array('Por qué non consigo loguear?', 'Rexistrácheste e activache a tua conta?. É necesario activar a conta antes de loguearse. Para outros tipos de problema para acceder a conta, contacta có administrador do sitio.', 'offline', 0), //cpg1.3.0
-  array('Qué acontece se esquezo o meu contrasinal?', 'Se este sitio tivera a ligazón &quot;Esquecín o meu contrasinal&quot;, úsao. Se non o houbera, contacta co administrador para pedir un novo contrasinal.', 'offline', 0), //cpg1.3.0
-  //array('Qué acontece se troco o meu enderezo de e-mail?', 'Simplemente loguea e troca o teu enderezo de e-mail en quot;A túa conta&quot;', 'offline', 0), //cpg1.3.0
-  array('Cómo gardo unha imaxe nos &quot;Meus Favoritos&quot;?', 'Preme na miniatura e despois preme en &quot;informacións da foto&quot; (<img src="images/info.gif" width="16" height="16" border="0" alt="informacións da Foto" />); procura un pouco máis abaixo e entón preme en &quot;engadir a favoritos&quot;.<br />O administrador debe ter a opción de &quot;informacións da Foto&quot; activada por defecto.<br />IMPORTANTE: As cookies deben estar habilitadas en non deben ser borradas.', 'offline', 0), //cpg1.3.
-  array('Cómo voto nunha foto?', 'Na páxina da foto, abaixo, hai 6 opcións de voto.', 'offline', 0), //cpg1.3.0
-  array('Cómo poño un comentario para unha foto?', 'A páxina da foto ten un campo dispoñible para que engadas o teu comentario.', 'offline', 0), //cpg1.3.0
-  array('Cómo subo un arquivo?', 'Vai a &quot;Upload&quot;e selecciona o album no que queres subir o teu arquivo. Preme &quot;Browse,&quot; busca o arquivo a subir, e preme &quot;abrir.&quot; Engade un título e descripción se queres. Preme en &quot;Enviar&quot;.<br /><br />Alternativamente, se usas <b>Windows XP</b>, podes subir varios arquivos directamente nos teus albums privados usando o XP Publishing wizard.<br />Para máis instruccións sobre cómo, e conseguir o rexistro requerido do arquivo, preme <a href="xp_publish.php">aquí.</a>', 'allow_private_albums', 1), //cpg1.4
-  array('Onde podo enviar unha foto?', 'Podera&quot;s enviar unha foto a un dos albums que tiveras na &quot;miña Galería&quot;. O administrador pode permitir que envies unha foto para un ou máis albums da galería Principal.', 'allow_private_albums', 0), //cpg1.3.0
-  array('Qué tipo e qué tamaño de foto podo enviar?', 'O tamaño e o tipo da foto (jpg,gif,..etc.) depende do administrador.', 'offline', 0), //cpg1.3.0
-  array('Qué é a &quot;miña Galería&quot;?', '&quot;A miña Galería&quot; é unha galería Persoal onde o usuario pode enviar as suas fotos e administralas.', 'allow_private_albums', 0), //cpg1.3.0
-  array('Cómo creo, renomeo ou borro un album na &quot;miña Galería&quot;?', 'Debes estar no &quot;Modo-Admin&quot;<br />Vai a &quot;Crear/Ordenar Meus albums&quot;e preme en&quot;Novo&quot;. Troca o nome do &quot;Novo album&quot; para poñer o nome que desexes.<br />Tamén podes renomear calqueira album na tua galería.<br />Para rematar, preme en &quot;Aplicar modificacions&quot;.', 'allow_private_albums', 0), //cpg1.3.0
-  array('Cómo podo restrinxir ós usuarios de ollar os meus albums?', 'Debes estar no &quot;Modo-Admin&quot;<br />Vai a &quot;Modificar Meus albums. Na barra &quot;actualizar album&quot;, Selecciona o album que desexas modificar.<br />Aqui podes trocar o nome, a Descripción, a miniatura, restrinxir a visualización e/ou engadir comentarios/votar.<br 
-/>Preme en &quot;Actualizar álbum&quot;.', 'allow_private_albums', 0), //cpg1.3.0
-  array('Cómo podo ver outros usuarios da galería?', 'Vai a &quot;albums&quot; e depois preme en Membros &quot;Membros&quot;.', 'allow_private_albums', 0), //cpg1.3.0
-  array('Qué son as cookies?', 'As cookies son uns arquivos que conteñen informacións que se gardan no teu computador.<br />as cookies xeralmente permiten ós usuario sair, e cando volten ó sitio ter varias informacións gardadas incluindo contrasinal e o login.', 'offline', 0), //cpg1.3.0
-  //array('Onde podo encontrar este programa para o meu sitio?', 'O Coppermine é unha Galería Multimedia gratuita, ofrecida baixo licenza GNU GPL. Ten unha chea de características e foi portado a diversas plataformas. Visita a <a href="http://coppermine-gallery.net/">Páxina Principal do Coppermine</a> para obter máis detalles ou descargalo.', 'offline', 0), //cpg1.3.0
-
-  'Navegando no Sitio', //cpg1.3.0
-  array('Qué é o boton &quot;albums&quot;?', 'Isto amosará toda a galería coa ligazón de cada categoria. As Miniaturas poden ser unha ligazón para unha categoria.', 'offline', 0), //cpg1.3.0
-  array('Qué é o boton &quot;miña Galería&quot;?', 'Esta é unha caracteristica que permite ó usuario ter a sua propia galería, engadir, Borrar ou modificar albums ou ben enviar fotos.', 'allow_private_albums', 0), //cpg1.3.0
-  array('Cal é a diferencia entre &quot;Modo Admin&quot; e &quot;Modo usuario&quot;?', 'Esta é unha caracteristica que permite ó usuario, cando esta en modo-admin, modificar as súas galerías (e outras cousas se esta permitido polo administrador).', 'allow_private_albums', 0), //cpg1.3.0
-  array('Qué é o boton &quot;Enviar foto&quot;?', 'Isto permite ó usuario enviar unha foto (tamaño e tipo son definidos polo adminstrador do sitio) para a galería seleccionada por tí ou polo administrador.', 'allow_private_albums', 0), //cpg1.3.0
-  array('Qué é o boton &quot;Últimos envios&quot;?', 'Nesta ligazón verás a lista das últimas fotos engadidas ó sitio.', 'offline', 0), //cpg1.3.0
-  array('Qué é o boton &quot;Últimos comentarios&quot;?', 'Aqui verás os derradeiros comentarios conxuntamente coas suas respectivas fotos en miniatura.', 'offline', 0), //cpg1.3.0
-  array('Qué é o boton &quot;máis visualizadas&quot;?', 'Aqui verás as fotos listadas por \'máis Visualizadas\' (tanto por usuarios rexistrados ou non).', 'offline', 0), //cpg1.3.0
-  array('Qué é o boton &quot;máis Popularidade&quot;?', 'Nesta parte verás as fotos que teñen máis popularidade, incluindo os datos desa popularidade (ex: 5 usuarios votaron <img src="images/rating3.gif" width="65" height="14" border="0" alt="" />: calificándoa como 1 para 5 (1,2,3,4,5) o que resultará unha media de <img src="images/rating3.gif"
-width="65" height="14" border="0" alt="" /> .)<br />As calificacións van de <img src="images/rating5.gif" width="65" height="14" border="0" alt="best" /> (boa) hata <img src="images/rating0.gif" width="65" height="14" border="0" 
-alt="worst" /> (terrible).', 'offline', 0), //cpg1.3.0
-  array('Qué é o boton &quot;Meus favoritos&quot;?', 'Nesta área poderás ver as fotos que engadiche nos teu favoritos. Estes favoritos serán gardados como cookie e ficarán no teu computador.', 'offline', 0), //cpg1.3.0
-);
-
-
-// ------------------------------------------------------------------------- //
-// File forgot_passwd.php
-// ------------------------------------------------------------------------- //
-
-if (defined('FORGOT_PASSWD_PHP')) $lang_forgot_passwd_php = array(
-  'forgot_passwd' => 'Lembrar contrasinal', //cpg1.3.0
-  'err_already_logged_in' => 'Xa estas logueado !', //cpg1.3.0
-  'enter_username_email' => 'Insire o teu login ou o teu email', //cpg1.3.0
-  'submit' => 'Enviar', //cpg1.3.0
-  'illegal_session' => 'Olvidache-la contrasinal, sesión inválida ou expirou.', //cpg1.4
-  'failed_sending_email' => 'O Lembrado da sua contrasinal non pode ser enviado 
-para o seu email !', //cpg1.3.0
-  'email_sent' => 'un email co seu usuario e sua contrasinal foi enviado para %s', //cpg1.4
-  'verify_email_sent' => 'Enviouse un correo-e a %s. Por favor, comproba o teu correo-e para completar o proceso.', //cpg1.4
-  'err_unk_user' => 'O usuario seleccionado non existe!', //cpg1.3.0
-  'account_verify_subject' => '%s - Nova contrasinal requrida', //cpg1.4
-  'account_verify_body' => 'Solicitaches unha nova contrasinal. Se queres que che enviemos a nova contrasinal o teu email, preme na seguinte ligazón:
-
-%s', //cpg1.4
-  'passwd_reset_subject' => '%s - A túa nova contrasinal', //cpg1.4
-  'passwd_reset_body' => 'Aquí esta a nova contrasinal que pediches:
-Nome: %s
-Contrasinal: %s
-Preme %s para loguear.', //cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File groupmgr.php
-// ------------------------------------------------------------------------- //
-
-if (defined('GROUPMGR_PHP')) $lang_groupmgr_php = array(
-'group_name' => 'Grupo', //cpg1.4
-  'permissions' => 'Permisos', //cpg1.4
-  'public_albums' => 'Subir albums publicos', //cpg1.4
-  'personal_gallery' => 'Galería persoal', //cpg1.4
-  'upload_method' => 'Método de "subida" (Maneira de inseri-la imaxen)', //cpg1.4
-  'disk_quota' => 'Espazo', //cpg1.4
-  'rating' => 'Posición', //cpg1.4
-  'ecards' => 'Postais', //cpg1.4
-  'comments' => 'Comentarios', //cpg1.4
-  'allowed' => 'Permitido/a', //cpg1.4
-  'approval' => 'Aprovar', //cpg1.4
-  'boxes_number' => 'No. de caixas', //cpg1.4
-  'variable' => 'variable', //cpg1.4
-  'fixed' => 'fixo/a', //cpg1.4
-	'apply' => 'Aplicar modificacións',
-	'create_new_group' => 'Crear novo grupo',
-	'del_groups' => 'Apagar grupo(s) seleccionado(s)',
-	'confirm_del' => 'coidado: ó remover un grupo o seu contido será transferido para \'Rexistrado\' !\n\nquere continuar ?', //js-alert
-	'title' => 'administrar grupos',
-  'num_file_upload' => 'Caixas de subida de arquivos', //cpg1.4
-  'num_URI_upload' => 'Caixas de subida de URI', //cpg1.4
-  'reset_to_default' => 'Resetear a nome por defecto (%s) - recomendado!', //cpg1.4
-  'error_group_empty' => 'a táboa grupo está valeira !<br /><br />Grupos predeterminado creados, por favor recarga esta páxina', //cpg1.4
-  'explain_greyed_out_title' => 'Por qué esta esta fila greyed para fora?', //cpg1.4
-  'explain_guests_greyed_out_text' => 'Non podes troca-las propiedades deste grupo porque marcache-la opcion &quot; Permitir acceso a usuarios NON rexistrados (invitados ou anónimos) &quot; a &quot;No&quot; na páxina de configuración. Todo-los invitados (membros do grupo %s) non poden facer nada (non entendo....)but login; there for group settings don\'t apply for them.', //cpg1.4
-  'explain_banned_greyed_out_text' => 'Non podes troca-las propiedades do grupo %s porque os membros non poden facer nada.', //cpg1.4
-  'group_assigned_album' => 'album(s) asignados ', //cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File index.php
-// ------------------------------------------------------------------------- //
-
-if (defined('INDEX_PHP')){
-
-$lang_index_php = array(
-  'welcome' => 'Sexa Benvid@!'
-);
-
-$lang_album_admin_menu = array(
-	'confirm_delete' => 'estás certo de que desexas ELIMINAR este album ? \\nTodas as fotos e comentarios serán excluídos.', //js-alert
-	'delete' => 'ELIMINAR',
-	'modify' => 'PROPIEDADES',
-	'edit_pics' => 'EDITAR FOTOS',
-);
-
-$lang_list_categories = array(
-	'home' => 'Inicio',
-	'stat1' => '<b>[pictures]</b> fotos en <b>[albums]</b> albums e <b>[cat]</b> categorias con <b>[comments]</b> comentarios vistos <b>[views]</b> veces',
-	'stat2' => '<b>[pictures]</b> fotos en <b>[albums]</b> albums visitados <b>[views]</b> veces',
-	'xx_s_gallery' => '%s\'s Galería',
-	'stat3' => '<b>[pictures]</b> fotos en <b>[albums]</b> albums con <b>[comments]</b> comentarios, visitadas <b>[views]</b> veces'
-);
-
-$lang_list_users = array(
-	'user_list' => 'Lista de usuarios',
-	'no_user_gal' => 'nengún usuario pode ter albums',
-	'n_albums' => '%s album(s)',
-	'n_pics' => '%s foto(s)'
-);
-
-$lang_list_albums = array(
-	'n_pictures' => '%s foto(s)',
-	'last_added' => ', última foto engadida o %s',
-  'n_link_pictures' => '%s arquivos ligados', //cpg1.4
-  'total_pictures' => '%s total arquivos', //cpg1.4
-);
-
-}
-
-// ------------------------------------------------------------------------- //
-// File keywordmgr.php //cpg1.4
-// ------------------------------------------------------------------------- //
-
-if (defined('KEYWORDMGR_PHP')) $lang_keywordmgr_php = array(
-  'title' => 'Xestionar palabras-chave', //cpg1.4
-  'edit' => 'editar', //cpg1.4
-  'delete' => 'eliminar', //cpg1.4
-  'search' => 'procurar', //cpg1.4
-  'keyword_test_search' => 'procurar %s en nova xanela', //cpg1.4
-  'keyword_del' => 'elimina-la palabra-chave %s', //cpg1.4
-  'confirm_delete' => 'Estás seguro que queres elimina-las palabras-chave %s da galería enteira?', //cpg1.4  // js-alert
-  'change_keyword' => 'trocar palabra-chave', //cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File login.php
-// ------------------------------------------------------------------------- //
-
-if (defined('LOGIN_PHP')) $lang_login_php = array(
-  'login' => 'Login',
-  'enter_login_pswd' => 'Insire o seu nome de usuario e contrasinal para entrar',
-  'username' => 'usuario',
-  'password' => 'contrasinal',
-  'remember_me' => 'Gardar contrasinal',
-  'welcome' => 'Benvido(a) %s ...',
-  'err_login' => '*** non foi posible loguear. téntao novamente ***',
-  'err_already_logged_in' => 'Xa estas logueado !',
-  'forgot_password_link' => 'Esquecín o meu contrasinal', //cpg1.3.0
-  'cookie_warning' => 'Atención: o teu navegador non acepta cookies', //cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File logout.php
-// ------------------------------------------------------------------------- //
-
-if (defined('LOGOUT_PHP')) $lang_logout_php = array(
-  'logout' => 'Saír',
-  'bye' => 'Deica logo %s ...',
-  'err_not_loged_in' => 'Non estas logueado !',
-);
-
-// ------------------------------------------------------------------------- //
-// File minibrowser.php  //cpg1.4
-// ------------------------------------------------------------------------- //
-
-if (defined('MINIBROWSER_PHP')) $lang_minibrowser_php = array(
-  'close' => 'pechar', //cpg1.4
-  'submit' => 'OK', //cpg1.4
-  'up' => 'subir un nivel', //cpg1.4
-  'current_path' => 'ruta actual', //cpg1.4
-  'select_directory' => 'por favor selecciona un directorio', //cpg1.4
-  'click_to_close' => 'Preme na imaxe para pechar esta xanela',
-);
-
-// ------------------------------------------------------------------------- //
-// File modifyalb.php
-// ------------------------------------------------------------------------- //
-
-if (defined('MODIFYALB_PHP')) $lang_modifyalb_php = array(
-	'upd_alb_n' => 'actualizar album %s',
-	'general_settings' => 'Configuracións xerais',
-	'alb_title' => 'Título do album',
-	'alb_cat' => 'Categoria do album',
-	'alb_desc' => 'Descripción do album',
-  'alb_keyword' => 'Palabra-chave do album', //cpg1.4
-	'alb_thumb' => 'Miniatura do album',
-	'alb_perm' => 'permisos para este album',
-	'can_view' => 'album pode ser visto por',
-	'can_upload' => 'Visitantes poden enviar fotos',
-	'can_post_comments' => 'Visitantes poden enviar comentarios',
-	'can_rate' => 'Visitantes poden votar as fotos',
-	'user_gal' => 'Galería do usuario',
-	'no_cat' => '* sen categoria *',
-	'alb_empty' => 'album valeiro',
-	'last_uploaded' => 'Último envio',
-	'public_alb' => 'Todos (album público)',
-	'me_only' => 'só eu',
-	'owner_only' => 'só o dono do album (%s)',
-	'groupp_only' => 'Membros do grupo\'%s\' ',
-	'err_no_alb_to_modify' => 'Non podes modificar nengún album na base de datos.',
-	'update' => 'actualizar album',
-  'reset_album' => 'Resetear album', //cpg1.4
-  'reset_views' => 'Resetear contador de visitas para &quot;0&quot; en %s', //cpg1.4
-  'reset_rating' => 'Reseter posicións en todo-los arquivos no %s', //cpg1.4
-  'delete_comments' => 'Eliminar todo-los comentarios feitos no %s', //cpg1.4
-  'delete_files' => '%sIrreversibe%s elliminar todo-los arquivos no %s', //cpg1.4
-  'views' => 'vistas', //cpg1.4
-  'votes' => 'votos', //cpg1.4
-  'comments' => 'comentarios', //cpg1.4
-  'files' => 'arquivos', //cpg1.4
-  'submit_reset' => 'gardar trocos', //cpg1.4
-  'reset_views_confirm' => 'Estou seguro', //cpg1.4
-  'notice1' => '(*) dependendo das opcións dos %sgrupos%s',  //cpg1.4 //(do not translate %s!)
-  'alb_password' => 'Contrasinal do album', //cpg1.4
-  'alb_password_hint' => 'Recordatorio do contrasinal do álbum', //cpg1.4
-  'edit_files' =>'Editar arquivos', //cpg1.4
-  'parent_category' =>'Categoría pai (principal)', //cpg1.4
-  'thumbnail_view' =>'Ver miniatura', //cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File phpinfo.php
-// ------------------------------------------------------------------------- //
-
-if (defined('PHPINFO_PHP')) $lang_phpinfo_php = array(
-  'php_info' => 'PHP info',
-  'explanation' => 'Esta é a saída xerada pola función-PHP <a href="http://www.php.net/phpinfo">phpinfo()</a>, q se amosa co Coppermine (trimming the output at the right side).',
-  'no_link' => 'Permitir a outros ver a túa phpinfo pode ser un risco de seguridade, este é o motivo polo que esta páxina so é visible cando iniciaches sesión como administrador. Non podes publicar unha ligazón a esta páxina para permitirlles o acceso a outros, xa que se lles denegará o acceso.',
-);
-
-// ------------------------------------------------------------------------- //
-// File picmgr.php //cpg1.4
-// ------------------------------------------------------------------------- //
-if (defined('PICMGR_PHP')) $lang_picmgr_php = array(
-  'pic_mgr' => 'Xestor de fotos', //cpg1.4
-  'select_album' => 'Selecciona album', //cpg1.4
-  'delete' => 'Eliminar', //cpg1.4
-  'confirm_delete1' => 'Estás seguro que queres elimina-la foto ?', //cpg1.4
-  'confirm_delete2' => '\nA foto será eliminada para sempre.', //cpg1.4
-  'apply_modifs' => 'Apicar modificacións', //cpg1.4
-  'confirm_modifs' => 'Confirmar modificacións', //cpg1.4
-  'pic_need_name' => 'A foto precisa ter nome !', //cpg1.4
-  'no_change' => 'Non se puido face-lo troco !', //cpg1.4
-  'no_album' => '*album Nº *', //cpg1.4
-  'explanation_header' => 'A orde a medida que podes especificar nesta páxina só se terá en conta se', //cpg1.4
-  'explanation1' => 'o administrador configurou a "Orde por defecto para os arquivos" en "Posición descendente" ou "Posición ascendente" (configuración global para todos os usuarios que non escollan outra opción de ordeación individualmente)', //cpg1.4
-  'explanation2' => 'o usuario escolleu "Posición descendente" ou "Posición ascendente" na páxina de miniaturas (configuración por usuario)', //cpg1.4
-);
-
-
-// ------------------------------------------------------------------------- //
-// File pluginmgr.php //cpg1.4
-// ------------------------------------------------------------------------- //
-
-if (defined('PLUGINMGR_PHP')){
-
-$lang_pluginmgr_php = array(
-  'confirm_uninstall' => 'Estás certo de que queres DESINSTALAR este plugin', //cpg1.4
-  'confirm_delete' => 'Estás certo de que queres ELIMINAR este plugin', //cpg1.4
-  'pmgr' => 'Xestor de Plugins', //cpg1.4
-  'name' => 'Nome', //cpg1.4
-  'author' => 'Autor', //cpg1.4
-  'desc' => 'Descrición', //cpg1.4
-  'vers' => 'v', //cpg1.4
-  'i_plugins' => 'Plugins Instalados', //cpg1.4
-  'n_plugins' => 'Plugins Non Instalados', //cpg1.4
-  'none_installed' => 'Ningún Instalado', //cpg1.4
-  'operation' => 'Operación', //cpg1.4
-  'not_plugin_package' => 'O arquivo subido non é un paquete de plugin.', //cpg1.4
-  'copy_error' => 'Houbo un erro ó copiar o paquete ó cartafol de plugins.', //cpg1.4
-  'upload' => 'Subir', //cpg1.4
-  'configure_plugin' => 'Configurar plugin', //cpg1.4
-  'cleanup_plugin' => 'Limpar plugin', //cpg1.4
-);
-}
-
-// ------------------------------------------------------------------------- //
-// File ratepic.php
-// ------------------------------------------------------------------------- //
-
-if (defined('RATEPIC_PHP')) $lang_rate_pic_php = array(
-	'already_rated' => 'Desculpa, pero xa votaches esta foto',
-	'rate_ok' => 'O teu voto foi feito',
-	'forbidden' => 'Non podes votar as túas propias fotos.', //cpg1.3.0
-);
-
-// ------------------------------------------------------------------------- //
-// File register.php & profile.php
-// ------------------------------------------------------------------------- //
-
-if (defined('REGISTER_PHP') || defined('PROFILE_PHP')) {
-
-$lang_register_disclamer = <<<EOT
-En canto os administradores do sitio ( {SITE_NAME} ) tentaran remover qualqueira contido indesexable, é imposible revisar todas as fotos, recoñeces que todas as fotos feitas por ti neste sitio expresan as túas opinións e non as dos administradores ou do webmaster (Agás os seus mesmos) desfacéndose de calqueira responsabilidade.<br />
-<br />
-Acordas non postear nengun material abusivo, obsceno, vulgar, odiable, que indique sexualidade ou calqueira outro material que viole calqueira lei aplicable. Concordas que calqueira Webmaster, Administrador e moderador do sitio ( {SITE_NAME} ) ten o dereito de remover, editar calqueira conteído a calqueira hora que sexa necesario. Como usuario concordas que todas as informacións dadas por ti serán gardadas no noso banco de datos, e que estas informacións non sexan enviadas a nengunha terceira persoa sen o teu consentimento. O Webmaster e o Administrador non se responsibilizarán por nengunha acción hacker que poida comprometer os datos.<br />
-<br />
-Este sitio usa cookies para almacenar informacións no seu computador. Estas cookies serven só para proveer de maior tecnoloxia ó sitio. O seu email é usado só para confirmar os detalles do seu rexistro e sua contrasinal.<br />
-<br />
-Premendo en 'Estou dacordo', concordas con todos estas condicions.
-EOT;
-
-$lang_register_php = array(
-	'page_title' => 'rexistro DE USUARIO',
-	'term_cond' => 'Termos e condicions',
-	'i_agree' => 'Estou dacordo',
-	'submit' => 'Enviar rexistro',
-	'err_user_exists' => 'Este nome de usuario xa existe, por favor intente 
-outro',
-	'err_password_mismatch' => 'As duas contrasinais non concordan. Insira 
-novamente',
-	'err_unhame_short' => 'Nome de usuario precisa ter mínimo 2 caracteres',
-	'err_password_short' => 'Sua contrasinal ten que ter un mínimo de 2 caracteres',
-	'err_unhame_pass_diff' => 'Nome de usuario e contrasinal deben ser diferentes',
-	'err_invalid_email' => 'Enderezo de e-mail inválido',
-	'err_duplicate_email' => 'xa existe outro usuario Rexistrado con este e-mail',
-	'enter_info' => 'Entre coas informacións de rexistro',
-	'required_info' => 'Información Obrigatoria',
-	'optional_info' => 'Información Opcional',
-	'username' => 'usuario',
-	'password' => 'contrasinal',
-	'password_again' => 'reescriba a contrasinal',
-	'email' => 'E-mail',
-	'location' => 'Enderezo',
-	'interests' => 'Intereses',
-	'website' => 'Páxina web',
-	'occupation' => 'Profesión',
-	'error' => 'ERRO',
-	'confirm_email_subject' => '%s - CONFIRMACION DE rexistro',
-	'information' => 'Información',
-	'failed_sending_email' => 'O e-mail de confirmación de rexistro non pode ser enviado !',
-	'thank_you' => 'Graciñas por rexistrarte.<br /><br />As informacións para finalizar o teu rexistro foron enviadas ó teu e-mail.',
-	'acct_created' => 'A túa conta foi creada e agora podes entrar co teu nome de usuario e a túa contrasinal',
-	'acct_active' => 'A túa conta xa está activa. Entra co teu nome de usuario e contrasinal para loguear',
-	'acct_already_act' => 'A túa conta xa está activa !',
-	'acct_act_failed' => 'Esta conta aínda non está activa  !',
-	'err_unk_user' => 'o usuario seleccionado non existe !',
-	'x_s_profile' => 'Perfil de %s',
-	'group' => 'Grupo',
-	'reg_date' => 'Participante',
-	'disk_usage' => 'Uso do disco',
-	'change_pass' => 'trocar contrasinal',
-	'current_pass' => 'contrasinal actual',
-	'new_pass' => 'Nova contrasinal',
-	'new_pass_again' => 'reescriba a nova contrasinal',
-	'err_curr_pass' => 'contrasinal atual INCORRECTA',
-	'apply_modif' => 'Gardar modificacions',
-	'change_pass' => 'trocar o meu contrasinal',
-	'update_success' => 'Os seus datos foron atualizados',
-	'pass_chg_success' => 'O teu contrasinal foi trocado',
-	'pass_chg_error' => 'O teu contrasinal non foi trocado',
-	'notify_admin_email_subject' => '%s - Notificación de rexistro', //cpg1.3.0
-  'last_uploads' => 'último arquivo subido.<br />Pulse para ver todos os subidos por ', //cpg1.4
-  'last_comments' => 'Últimos comentarios.<br />Pulse para ver todos os comentarios de ', //cpg1.4
-	'notify_admin_email_body' => 'O usuario "%s" foi Rexistrado na túa galería', //cpg1.3.0
-  'pic_count' => 'Arquivos subidos', //cpg1.4
-  'notify_admin_request_email_subject' => '%s - Petición de rexistro', //cpg1.4
-  'thank_you_admin_activation' => 'Gracias.<br /><br />A túa solicitude de rexistro foi enviada o Administrador. Recebirás un e-mail de aprobación.', //cpg1.4
-  'acct_active_admin_activation' => 'A conta agora está activada e un e-mail foi enviado o usuario.', //cpg1.4
-  'notify_user_email_subject' => '%s - Notificación da activación', //cpg1.4
-);
-
-$lang_register_confirm_email = <<<EOT
-Gracias por te rexistrar na {SITE_NAME}
-
-Para activar a túa conta como usuario "{USER_NAME}", preme na seguinte ligazón ou copia e cola na barra de endeezos do teu navegador web.
-
-<a href="{ACT_LINK}">{ACT_LINK}</a>
-
-Consideracións,
-
-O administrador de {SITE_NAME}
-
-EOT;
-
-$lang_register_approve_email = <<<EOT
-Un novo usuario con nome "{USER_NAME}" rexistrouse na galería.
-
-Para activar a conta tes que pulsar na ligazón de embaixo ou copiar e colar na barra de dirección do teu navegador web.
-
-<a href="{ACT_LINK}">{ACT_LINK}</a>
-
-EOT;
-
-$lang_register_activated_email = <<<EOT
-A túa conta foi aprobada e activada.
-
-Podeste logear agora en <a href="{SITE_LINK}">{SITE_LINK}</a> co nome de usuario "{USER_NAME}"
-
-
-Consideracións,
-
-O administrador de {SITE_NAME}
-
-EOT;
-}
-
-// ------------------------------------------------------------------------- //
-// File reviewcom.php
-// ------------------------------------------------------------------------- //
-
-if (defined('REVIEWCOM_PHP')) $lang_reviewcom_php = array(
-	'title' => 'Revisar comentarios',
-	'no_comment' => 'non hai comentarios para revisar',
-	'n_comm_del' => '%s comentario(s) borrado(s)',
-	'n_comm_disp' => 'Número de comentarios para visualizar',
-	'see_prev' => 'Anterior',
-	'see_next' => 'Próximo',
-	'del_comm' => 'Borrar comentarios seleccionados',
-  'user_name' => 'Nome', //cpg1.4
-  'date' => 'Data', //cpg1.4
-  'comment' => 'Comentario', //cpg1.4
-  'file' => 'Arquivo', //cpg1.4
-  'name_a' => 'Nome de usuario ascendente', //cpg1.4
-  'name_d' => 'Nome de usuario descendente', //cpg1.4
-  'date_a' => 'Data ascendente', //cpg1.4
-  'date_d' => 'Data descendente', //cpg1.4
-  'comment_a' => 'Comentario ascendente', //cpg1.4
-  'comment_d' => 'Comentario descendente', //cpg1.4
-  'file_a' => 'Arquivo ascendente', //cpg1.4
-  'file_d' => 'Arquivo descendente', //cpg1.4
-);
-
-
-// ------------------------------------------------------------------------- //
-// File search.php                                                           //
-// ------------------------------------------------------------------------- //
-
-
-if (defined('SEARCH_PHP')){
-
-$lang_search_php = array(
-  'title' => 'Procurar a colección do arquivo', //cpg1.4
-  'submit_search' => 'Procurar', //cpg1.4
-  'keyword_list_title' => 'Lista de palabras chave', //cpg1.4
-  'keyword_msg' => 'A lista mencionada enriba non está incluida. Non incluiches palabras de títulos de foto e descricións. Tenta procurar por texto completo.',  //cpg1.4
-  'edit_keywords' => 'Editar palabras chave', //cpg1.4
-  'search in' => 'Procurar en:', //cpg1.4
-  'ip_address' => 'Enderezos IP', //cpg1.4
-  'fields' => 'Procurar en', //cpg1.4
-  'age' => 'Edade', //cpg1.4
-  'newer_than' => 'Máis novo que', //cpg1.4
-  'older_than' => 'Máis vello que', //cpg1.4
-  'days' => 'días', //cpg1.4
-  'all_words' => 'Combina con todas as palabras (E)', //cpg1.4
-  'any_words' => 'Combina con calquera palabra (OU)', //cpg1.4
-);
-
-$lang_adv_opts = array(
-  'title' => 'Título', //cpg1.4
-  'caption' => 'Lenda', //cpg1.4
-  'keywords' => 'Palabras chave', //cpg1.4
-  'owner_name' => 'Nome do propietario', //cpg1.4
-  'filename' => 'Nome do arquivo', //cpg1.4
-);
-
-}
-
-// ------------------------------------------------------------------------- //
-// File searchnew.php
-// ------------------------------------------------------------------------- //
-
-if (defined('SEARCHNEW_PHP')) $lang_search_new_php = array(
-	'page_title' => 'Procurar novas fotos',
-	'select_dir' => 'Seleccionar directorio',
-	'select_dir_msg' => 'Esta función permiteche enviar diversas fotos ao mesmo tempo.<br /><br />Selecciona o directorio das fotos',
-	'no_pic_to_add' => 'non hai fotos para engadir',
-	'need_one_album' => 'Precisas ter polo menos un album para usar esta 
-función',
-	'warning' => 'coidado',
-	'change_perm' => 'O script non pode grabar neste directorio que debe ter permiso 755 ou 777 !',
-	'target_album' => '<b>Colocar fotos do &quot;</b>%s<b>&quot; en </b>%s',
-	'folder' => 'cartafol',
-	'image' => 'Foto',
-	'album' => 'album',
-	'result' => 'Resultado',
-	'dir_ro' => 'non grabable. ',
-	'dir_cant_read' => 'non pode ser lido. ',
-	'insert' => 'Adicionando novas fotos á galería',
-	'list_new_pic' => 'Lista das novas fotos',
-	'insert_selected' => 'Inserir fotos seleccionadas',
-	'no_pic_found' => 'nengunha foto nova foi encontrada',
-	'be_patient' => 'Por favor teña pacenza. O sistema nescesita de tempo para enviar as fotos',
-  'no_album' => 'non seleccionou ningún album',
-  'result_icon' => 'pulse para detalles ou recargar',  //cpg1.4
-	'notes' =>  '<ul>'.
-				'<li><b>OK</b> : Significa que foi enviado con exito'.
-				'<li><b>DP</b> : Significa que existe un duplicado na base de datos'.
-				'<li><b>PB</b> : Significa que non pode ser enviado, verifica a túa 
-Configuración e os permisos dos directorios.'.
-				'<li><b>NA</b> : Significa que non seleccionaches ningún album para 
-engadir as fotos, pulsa en \'<a 
-href="javascript:history.back(1)">voltar</a>\' e selecciona un album. Se 
-non tes un album <a href="albmgr.php">crea un primeiro</a></li>'.
-				'<li>Se un dos \'simbolos\' OK, DP ou PB non apareceren pulsa no 
-símbolo co problema para recibir a Mensaxe de erro'.
-				'<li>Se o tempo expira, intentao novamente actualizando a páxina'.
-				'</ul>', //cpg1.3.0
-	'select_album' => 'seleccionar album', //cpg1.3.0
-	'check_all' => 'Marcar Todo', //cpg1.3.0
-	'uncheck_all' => 'Desmarcar Todo', //cpg1.3.0
-  'no_folders' => 'Non hai ningún cartafol dentro do cartafol "album" aínda. Asegurate de crear alomenos un cartafol dentro de "albums" e subir via ftp os teus arquivos ali. You mustn\'t upload to the "userpics" nor "edit" folders, they are reserved for http uploads and internal purposes.', //cpg1.4
-   'albums_no_category' => 'Albums sin categoría', //cpg1.4 // album pulldown mod, added by frogfoot
-  'personal_albums' => '* Albums persoal', //cpg1.4 // album pulldown mod, added by frogfoot
-  'browse_batch_add' => 'Inferfaz de Browsable (recomendado)', //cpg1.4
-  'edit_pics' => 'Editar arquivos', //cpg1.4
-  'edit_properties' => 'Propiedades do album', //cpg1.4
-  'view_thumbs' => 'Ver miniaturas', //cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File stat_details.php //cpg1.4
-// ------------------------------------------------------------------------- //
-
-if (defined('STAT_DETAILS_PHP')) $lang_stat_details_php = array(
-  'show_hide' => 'mostrar/ocultar esta columna', //cpg1.4
-  'vote' => 'Detalles do voto', //cpg1.4
-  'hits' => 'Detalles do hit', //cpg1.4
-  'stats' => 'Estatísticas do Voto', //cpg1.4
-  'sdate' => 'Data', //cpg1.4
-  'rating' => 'Posición', //cpg1.4
-  'search_phrase' => 'Buscar frase', //cpg1.4
-  'referer' => 'Referer', //cpg1.4
-  'browser' => 'Navegador', //cpg1.4
-  'os' => 'Sistema Operativo', //cpg1.4
-  'ip' => 'IP', //cpg1.4
-  'sort_by_xxx' => 'Ordenar por %s', //cpg1.4
-  'ascending' => 'ascendente', //cpg1.4
-  'descending' => 'descendente', //cpg1.4
-  'internal' => 'int', //cpg1.4
-  'close' => 'Pechar', //cpg1.4
-  'hide_internal_referers' => 'agochar referers internos', //cpg1.4
-  'date_display' => 'Mostrar data', //cpg1.4
-  'submit' => 'enviar / actualizar', //cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File thumbnails.php
-// ------------------------------------------------------------------------- //
-
-// Void
-
-// ------------------------------------------------------------------------- //
-// File upload.php
-// ------------------------------------------------------------------------- //
-
-if (defined('UPLOAD_PHP')) $lang_upload_php = array(
-  'title' => 'Envio de Foto', //cpg1.3.0
-  'custom_title' => 'Formulario de Pedidos personalizable', //cpg1.3.0
-  'cust_instr_1' => 'Debes selecionar un número personalizable de caixas de envio. mentres non podes selecionar máis do que os limites amosados abaixo.', //cpg1.3.0
-  'cust_instr_2' => 'número de Caixas de Pedidos', //cpg1.3.0
-  'cust_instr_3' => 'Caixas de envio de arquivo: %s', //cpg1.3.0
-  'cust_instr_4' => 'Caixas de envio de URI/URL: %s', //cpg1.3.0
-  'cust_instr_5' => 'Caixas de envio de URI/URL:', //cpg1.3.0
-  'cust_instr_6' => 'Caixas de envio de arquivo:', //cpg1.3.0
-  'cust_instr_7' => 'Por favor insire o número de cada tipo de caixa de envio que desexas desta vez e preme en \'Continuar\'. ', //cpg1.3.0
-  'reg_instr_1' => 'acción inválida para o formulario de creacion.', //cpg1.3.0
-  'reg_instr_2' => 'Agora podes enviar os teus arquivos usando as caixas de envio de abaixo. Os arquivos a seren enviados para o servidor non poden exceder o tamaño de %s KB cada un. Arquivos ZIP enviados para a seccion de \'Envio de Arquivo\' e \'Envio de URI/URL\' iran permanecer compactados.', //cpg1.3.0
-  'reg_instr_3' => 'Se queres o arquivo zipado ou que o arquivo sexa descompactado, debes usar a caixa de envio especial para isto, area \'Envio de ZIP con descompactación\'.', //cpg1.3.0
-  'reg_instr_4' => 'cando uses a seccion de envio URI/URL, por favor insire o camiño para o arquivo. Ex: http://www.meusite.co.br/imaxes/foto.jpg', //cpg1.3.0
-  'reg_instr_5' => 'cando remates de completar o formulario, por favor preme en \'Continuar\'.', //cpg1.3.0
-  'reg_instr_6' => 'Envio de ZIP co descompactación:', //cpg1.3.0
-  'reg_instr_7' => 'Envio de arquivos:', //cpg1.3.0
-  'reg_instr_8' => 'Envio de URI/URL:', //cpg1.3.0
-  'error_report' => 'Relatório de Erro', //cpg1.3.0
-  'error_instr' => 'ocorreran erros nos seguintes envios:', //cpg1.3.0
-  'file_name_url' => 'Arquivo/URL', //cpg1.3.0
-  'error_message' => 'Mensaxe de Erro', //cpg1.3.0
-  'no_post' => 'nengún arquivo seleccionado.', //cpg1.3.0
-  'forb_ext' => 'extension de arquivo proibida.', //cpg1.3.0
-  'exc_php_ini' => 'tamaño de arquivo excedido permitido para o php.ini.', //cpg1.3.0
-  'exc_file_size' => 'tamaño de arquivo excedido permitido para a galería.', //cpg1.3.0
-  'partial_upload' => 'só envio parcial.', //cpg1.3.0
-  'no_upload' => 'nengun envio ocorrido.', //cpg1.3.0
-  'unknown_code' => 'Codigo de erro PHP de envio, inválido.', //cpg1.3.0
-  'no_temp_name' => 'nengun envio - nengun nome temporal.', //cpg1.3.0
-  'no_file_size' => 'Esta en branco/corrupto', //cpg1.3.0
-  'impossible' => 'Imposible mover.', //cpg1.3.0
-  'not_image' => 'non é unha imaxe/corrupta', //cpg1.3.0
-  'not_GD' => 'non é unha extension GD.', //cpg1.3.0
-  'pixel_allowance' => 'tamaño de pixel excedido.', //cpg1.3.0
-  'incorrect_prefix' => 'Prefixo de URI/URL incorrecto', //cpg1.3.0
-  'could_not_open_URI' => 'non foi posible abrir a URI.', //cpg1.3.0
-  'unsafe_URI' => 'seguridade non verificable.', //cpg1.3.0
-  'meta_data_failure' => 'erro da Meta data', //cpg1.3.0
-  'http_401' => '401 unhauthorized', //cpg1.3.0
-  'http_402' => '402 Payment Required', //cpg1.3.0
-  'http_403' => '403 Forbidden', //cpg1.3.0
-  'http_404' => '404 Not Found', //cpg1.3.0
-  'http_500' => '500 Internal Server Error', //cpg1.3.0
-  'http_503' => '503 Service unhavailable', //cpg1.3.0
-  'MIME_extraction_failure' => 'MIME non pode ser determinado.', //cpg1.3.0
-  'MIME_type_unknown' => 'Tipo de MIME inválido', //cpg1.3.0
-  'cant_create_write' => 'non foi posible Crear un arquivo grabable.', //cpg1.3.0
-  'not_writable' => 'non foi posible grabar nun arquivo grabable.', //cpg1.3.0
-  'cant_read_URI' => 'non foi posible ler a URI/URL', //cpg1.3.0
-  'cant_open_write_file' => 'non foi posible abrir o arquivo URI grabable.', //cpg1.3.0
-  'cant_write_write_file' => 'non foi posible grabar no arquivo URI grabable.', //cpg1.3.0
-  'cant_unzip' => 'non foi posible descomprimir.', //cpg1.3.0
-  'unknown' => 'Erro inválido', //cpg1.3.0
-  'succ' => 'Envio realizado con exito', //cpg1.3.0
-  'success' => '%s envios con exito.', //cpg1.3.0
-  'add' => 'Por favor preme en \'Continuar\' para engadir os arquivos nos albums.', //cpg1.3.0
-  'failure' => 'erro de envio', //cpg1.3.0
-  'f_info' => 'Información do Arquivo', //cpg1.3.0
-  'no_place' => 'O arquivo anterior non pode ser inserido.', //cpg1.3.0
-  'yes_place' => 'O arquivo anterior foi inserido con exito.', //cpg1.3.0
-  'max_fsize' => 'O tamaño máximo permitido de arquivo é %s KB',
-  'album' => 'album',
-  'picture' => 'Foto', //cpg1.3.0
-  'pic_title' => 'Titulo da Foto', //cpg1.3.0
-  'description' => 'Descripción da Foto', //cpg1.3.0
-  'keywords' => 'Palabras-Chave (separado con espazos)<br /><a href="#" onClick="return MM_openBrWindow(\'keyword_select.php\',\'selectKey\',\'width=250, height=400, scrollbars=yes,toolbar=no,status=yes,resizable=yes\')">Insire a lista</a>', //cpg1.4
-  'keywords_sel' =>'Selecciona palabras-chave', //cpg1.4
-  'err_no_alb_uploadables' => 'Desculpa, non estás autorizado a enviar arquivos para nengún album', //cpg1.3.0
-  'place_instr_1' => 'Por favor insire os arquivos no album agora. Debes tamén inserir informacións sobre cada arquivo agora.', //cpg1.3.0
-  'place_instr_2' => 'máis arquivos precisan ser colocados. Por favor preme en \'Continuar\'.', //cpg1.3.0
-  'process_complete' => 'Inseriches con exito todos os arquivos.', //cpg1.3.0
-   'albums_no_category' => 'Albums sen categoría', //cpg1.4. //album pulldown mod, added by frogfoot
-  'personal_albums' => '* Albums persoais', //cpg1.4 //album pulldown mod, added by frogfoot
-  'select_album' => 'Selecciona album', //cpg1.4 //album pulldown mod, added by frogfoot
-  'close' => 'Pechar', //cpg1.4
-  'no_keywords' => 'Non hai palabras-chave dispoñibles', //cpg1.4
-  'regenerate_dictionary' => 'Rexenerar diccionario', //cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File usermgr.php
-// ------------------------------------------------------------------------- //
-
-if (defined('USERMGR_PHP')) $lang_usermgr_php = array(
-  'memberlist' => 'Lista de membros', //cpg1.4
-  'user_manager' => 'Xestor de usuarios', //cpg1.4
-	'title' => 'administrar usuarios',
-	'name_a' => 'Nome Ascendente',
-	'name_d' => 'Nome Descendente',
-	'group_a' => 'Grupo Ascendente',
-	'group_d' => 'Grupo Descendente',
-	'reg_a' => 'Data de rexistro Ascendente',
-	'reg_d' => 'Data de rexistro Descendente',
-	'pic_a' => 'Contador de fotos ascendente',
-	'pic_d' => 'Contador de fotos descendente',
-	'disku_a' => 'Uso de disco ascendente',
-	'disku_d' => 'Uso de disco descendente',
-	'lv_a' => 'Ultima visita Ascendente', //cpg1.3.0
-	'lv_d' => 'Ultima visita Descendente', //cpg1.3.0
-	'sort_by' => 'Listar usuarios por',
-	'err_no_users' => 'A táboa de usuarios está vacia !',
-	'err_edit_self' => 'Non pode trocar os teus datos \'persoais\', usa a ligazón \'Os meus datos\' para isto ',
-  'edit' => 'Editar', //cpg1.4
-  'with_selected' => 'Co seleccionado:', //cpg1.4
-  'delete' => 'Eliminar', //cpg1.4
-  'delete_files_no' => 'manter os arquivos públicos (pero facelos anónimos)', //cpg1.4
-  'delete_files_yes' => 'borrar arquivos públicos tamén', //cpg1.4
-  'delete_comments_no' => 'manter comentarios (pero facelos anónimos)', //cpg1.4
-  'delete_comments_yes' => 'borrar comentarios tamén', //cpg1.4
-  'activate' => 'Activar', //cpg1.4
-  'deactivate' => 'Desactivar', //cpg1.4
-  'reset_password' => 'Restaurar Contrasinal', //cpg1.4
-  'change_primary_membergroup' => 'Mudar grupo de membros primario', //cpg1.4
-  'add_secondary_membergroup' => 'Engadir grupo de membros secundario', //cpg1.4
-	'name' => 'usuario',
-	'group' => 'Grupo',
-	'inactive' => 'Inactivo',
-	'operations' => 'Operacións',
-	'pictures' => 'Fotos',
-  'disk_space_used' => 'Espazo utilizado', //cpg1.4
-  'disk_space_quota' => 'Cuota de Espazo', //cpg1.4
-  'registered_on' => 'Rexistro', //cpg1.4
-	'last_visit' => 'Última Visita', //cpg1.3.0
-	'u_user_on_p_pages' => '%d usuario(s) en %d páxina(s)',
-	'confirm_del' => 'estás certo de que queres ELIMINAR este usuario ? \\nTodas as fotos e albums del serán removidos.',
-	'mail' => 'CORREO',
-	'err_unknown_user' => 'o usuario seleccionado non existe !',
-	'modify_user' => 'Modificar usuario',
-	'notes' => 'Notas',
-	'note_list' => '<li>Se non queres trocar o teu contrasinal, deixa o campo en branco',
-	'password' => 'contrasinal',
-	'user_active' => 'o usuario está activo',
-	'user_group' => 'Grupo de usuarios',
-	'user_email' => 'correo-e do usuario',
-	'user_web_site' => 'Sitio do usuario',
-	'create_new_user' => 'Crear novo usuario',
-	'user_location' => 'Enderezo',
-	'user_interests' => 'Intereses',
-	'user_occupation' => 'Ocupacion',
-  'user_profile1' => '$user_profile1', //cpg1.4
-  'user_profile2' => '$user_profile2', //cpg1.4
-  'user_profile3' => '$user_profile3', //cpg1.4
-  'user_profile4' => '$user_profile4', //cpg1.4
-  'user_profile5' => '$user_profile5', //cpg1.4
-  'user_profile6' => '$user_profile6', //cpg1.4	
-  'latest_upload' => 'Envios Recentes', //cpg1.3.0
-	'never' => 'nunca', //cpg1.3.0
-  'search' => 'Procura de usuarios', //cpg1.4
-  'submit' => 'Enviar', //cpg1.4
-  'search_submit' => 'Dalle!', //cpg1.4
-  'search_result' => 'Resultados da procura para: ', //cpg1.4
-  'alert_no_selection' => 'Primeiro tes que seleccionar un usuario polo menos!', //cpg1.4 //js-alert
-  'password' => 'contrasinal', //cpg1.4
-  'select_group' => 'Seleccionar grupo', //cpg1.4
-  'groups_alb_access' => 'Permisos de álbum segundo o grupo', //cpg1.4
-  'album' => 'Álbum', //cpg1.4
-  'category' => 'Categoría', //cpg1.4
-  'modify' => 'Modificar?', //cpg1.4
-  'group_no_access' => 'Este grupo non ten acceso especial', //cpg1.4
-  'notice' => 'Anuncio', //cpg1.4
-  'group_can_access' => 'Álbum(s) ós que só pode acceder "%s"', //cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File util.php
-// ------------------------------------------------------------------------- //
-
-if (defined('UTIL_PHP')) {
-$lang_util_desc_php = array(
-'Actualiza títulos dende o nome de arquivo', //cpg1.4
-'Borra os títulos', //cpg1.4
-'Reconstrúe miniaturas e fotos de tamaño redimensionado', //cpg1.4
-'Borra as fotos de tamaño orixinal reemprazándoas pola versión de tamaño redimensionado', //cpg1.4
-'Borra fotos de tamaño orixinal ou intermedio para ceibar espazo no web', //cpg1.4
-'Borra comentarios orfos', //cpg1.4
-'Rele os tamaños e dimensións dos arquivos (por se editaches imaxes manualmente)', //cpg1.4
-'Restaura o contador de vistas', //cpg1.4
-'Amosa a phpinfo', //cpg1.4
-'Actualiza o banco de datos', //cpg1.4
-'Amosa os arquivos de rexistro (log)', //cpg1.4
-);
-$lang_util_php = array(
-  'title' => 'Utilidades para o Admin (Redimensionar)', //cpg1.3.0
-  'what_it_does' => 'O que esta utilidade pode facer:',
-  'file' => 'Arquivo',
-  'problem' => 'Problema', //cpg1.4
-  'status' => 'Estado', //cpg1.4
-  'title_set_to' => 'titulo setado para',
-  'submit_form' => 'enviar',
-  'updated_succesfully' => 'actualizado con exito',
-  'error_create' => 'ERRO creando',
-  'continue' => 'Procesar máis imaxes',
-  'main_success' => 'O arquivo %s foi co arquivo principal', //cpg1.3.0
-  'error_rename' => 'Erro renomeando %s para %s',
-  'error_not_found' => 'O arquivo %s non foi atopado',
-  'back' => 'voltar para a páxina principal',
-  'thumbs_wait' => 'Actualizando miniaturas e/ou imaxes redimensionadas, por favor agarda...',
-  'thumbs_continue_wait' => 'Continuando a actualizar miniaturas e/ou imaxes redimensionadas...',
-  'titles_wait' => 'actualizando titulos, por favor agarda...',
-  'delete_wait' => 'Borrando titulos, por favor agarda...',
-  'replace_wait' => 'Borrando orixinais e repoñéndoas cás imaxes redimensionadas, por favor agarda..',
-  'instruction' => 'Instruccións rápidas',
-  'instruction_action' => 'Selecciona a acción',
-  'instruction_parameter' => 'Axusta os parámetros',
-  'instruction_album' => 'Selecciona o album',
-  'instruction_press' => 'Preme %s',
-  'update' => 'actualizar miniaturas e/ou redimensionar fotos',
-  'update_what' => 'O que debe ser actualizado',
-  'update_thumb' => 'só miniaturas',
-  'update_pic' => 'só imaxes redimensionadas',
-  'update_both' => 'Miniaturas e imaxes redimensionadas',
-  'update_number' => 'Número de imaxes procesadas por click',
-  'update_option' => '(tenta un número menor no caso de que sigas a ter problemas co tempo de vencemento (timeout))',
-  'filename_title' => 'Arquivo &rArr; Titulo do arquivo', //cpg1.3.0
-  'filename_how' => 'o arquivo debe ser modificado',
-  'filename_remove' => ' o .jpg no final e reemprazar _ (subliñado) con espazos',
-  'filename_euro' => 'trocar 2003_11_23_13_20_20.jpg para 23/11/2003 13:20',
-  'filename_us' => 'trocar 2003_11_23_13_20_20.jpg para 11/23/2003 13:20',
-  'filename_time' => 'trocar 2003_11_23_13_20_20.jpg para 13:20',
-  'delete' => 'Borrar título de arquivos ou tamaños orixinais de fotos', //cpg1.3.0
-  'delete_title' => 'Borrar titulo de arquivos', //cpg1.3.0
-  'delete_title_explanation' => 'Isto eliminará todos os títulos nos arquivos do álbum que especifiques.', //cpg1.4
-  'delete_original' => 'Borrar fotos de tamaño orixinal',
-  'delete_original_explanation' => 'Isto eliminará as imaxes de tamaño completo.', //cpg1.4
-  'delete_intermediate' => 'Borrar imaxes intermedias', //cpg1.4
-  'delete_intermediate_explanation' => 'Isto eliminará as imaxes intermedias (normais).<br />Usa esta opción para ceibar espazo de disco se desactivaches \'Crear imaxes intermedias\' na configuración logo de engadir imaxes.', //cpg1.4
-  'delete_replace' => 'borra as imaxes orixinais repoñéndoas coa version redimensionada',
-  'titles_deleted' => 'Elimináronse todos os títulos no álbum especificado', //cpg1.4
-  'deleting_intermediates' => 'Eliminando imaxes intermedias, por favor, agarda...', //cpg1.4
-  'searching_orphans' => 'Procurando orfos, por favor, agarda...', //cpg1.4
-  'select_album' => 'Selecciona o album',
-  'delete_orphans' => 'Borrar comentarios de arquivos desaparecidos', //cpg1.4
-  'delete_orphans_explanation' => 'Isto permitirache identificar e borrar calquer comentario asociado con arquivos que xa non existen na galería.<br />Comproba todos os álbums.', //cpg1.4
-  'refresh_db' => 'Recargar información de tamaño e dimensións do arquivo', //cpg1.4
-  'refresh_db_explanation' => 'Isto relerá  os tamaños e dimensións de arquivo. Úsao se as cuotas asociadas son incorrectas ou se mudaches os arquivos manualmente.', //cpg1.4
-  'reset_views' => 'Restaurar contadores de visualizacións', //cpg1.4
-  'reset_views_explanation' => 'Axusta a cero todos os contadores de visualizacións de arquivo no álbum especificado.', //cpg1.4
-  'orphan_comment' => 'comentarios orfos atopados', //cpg1.3.0
-  'delete' => 'Borrar', //cpg1.3.0
-  'delete_all' => 'Borrar todos', //cpg1.3.0
-  'delete_all_orphans' => 'Borrar todos os orfos?', //cpg1.4
-  'comment' => 'comentario: ', //cpg1.3.0
-  'nonexist' => 'atachado nun arquivo que non existe # ', //cpg1.3.0
-  'phpinfo' => 'Amosar phpinfo', //cpg1.3.0
-  'phpinfo_explanation' => 'Contén información técnica verbo do teu servidor.<br /> - Pode que se che pida facilitar esta información cando pidas axuda de soporte.', //cpg1.4
-  'update_db' => 'actualizar banco de datos', //cpg1.3.0
-  'update_db_explanation' => 'Se sustituiches arquivos da galería, engadíches algunha modificación ou actualizaches dunha version anterior da galería, asegúrate de darlle a actualización do banco de datos unha vez. Isto creará as táboas necesarias e/ou valores de configuración no teu banco de datos.', //cpg1.3.0
-  'view_log' => 'Ver arquivos de rexistro (logs)', //cpg1.4
-  'view_log_explanation' => 'O Coppermine pode manter un rexistro das diversas accións levadas a cabo polos usuarios. Podes explorar estes rexistros (logs) se activaches a opción correspondente(logging) na <a href="admin.php">configuración do coppermine</a>.', //cpg1.4
-  'versioncheck' => 'Comprobar versións', //cpg1.4
-  'versioncheck_explanation' => 'Comproba as versións dos teus arquivos para verificar se reemprazaches todos os arquivos logo dunha actualización, ou se foron actualizados arquivos fonte do coppermine despóis do lanzamento dun paquete.', //cpg1.4
-  'bridgemanager' => 'Xestor de Ponte', //cpg1.4
-  'bridgemanager_explanation' => 'Activar/desactivar integración (ponteado) do Coppermine con outra aplicación (p.e. o teu BBS).', //cpg1.4
-);
-}
-
-// ------------------------------------------------------------------------- //
-// File versioncheck.php //cpg1.4
-// ------------------------------------------------------------------------- //
-
-if (defined('VERSIONCHECK_PHP')) $lang_versioncheck_php = array(
-  'title' => 'Comprobación de versión', //cpg1.4
-  'what_it_does' => 'Esta páxina está indicada para os usuarios que actualizaron a súa instalación do coppermine. Este script recorre os arquivos do teu servidor web e tenta determinar se as versións dos teus arquivos locais son as mesmas que as do depósito en http://coppermine.sourceforge.net, amosando deste xeito ó mesmo tempo os arquivos que deberías actualizar.<br />Amosaráche en vermello todo o que precisa ser corrixido. As entradas en amarelo necesitan atención e deben examinarse. As entradas en verde (ou na túa cor de fonte por defecto) son correctas.<br />Preme nas iconas de axuda para obter máis detalles.', //cpg1.4
-  'online_repository_unable' => 'Non se puido conectar co depósito en liña', //cpg1.4
-  'online_repository_noconnect' => 'O Coppermine non puiod conectar co depósito en liña. Isto pode ser por dúas razóns:', //cpg1.4
-  'online_repository_reason1' => 'o depósito en liña do coppermine está actualmente de baixa - comproba se podes navegar por esta páxina: %s - se non podes acceder a ela, téntao de novo máis tarde.', //cpg1.4
-  'online_repository_reason2' => 'O PHP do teu servidor web está configurado con %s desconectado (por defecto, está activado). Se és ti quen o administra, activa esta opción no <i>php.ini</i> (polo menos permite que %s teña prioridade). Se estás hospedado nun servidor web, o máis probable é que teñas que vivir co feito de non poder comparar os teus arquivos cos do depósito online. Nese caso esta páxina só amosará as versións do arquivos que veñen coa túa distribución - as actualizacións non serán amosadas.', //cpg1.4
-  'online_repository_skipped' => 'Conexión co depósito en liña omitida', //cpg1.4
-  'online_repository_to_local' => 'O script está agora pasando á copia local dos arquivos-versión por defecto. Os datos poden ser inexactos de actualizaches o Coppermine e non subiches todos os arquivos. Os trocos ós arquivos despois do lanzamento tampouco serán tidos en conta.', //cpg1.4
-  'local_repository_unable' => 'Non se puido conectar co depósito no teu servidor', //cpg1.4
-  'local_repository_explanation' => 'O Coppermine non foi quen de conectar co arquivo %s do depósito no teu servidor web. Isto significa probablemente que non subiches o arquivo do depósito ó teu servidor web. Faino agora e logo tenta cargar esta páxina de novo (preme en actualizar).<br />Se o script continúa fallando, pode que o teu webhost teña desactivado completamente partes das <a href="http://www.php.net/manual/en/ref.filesystem.php">funcións do sistema de arquivos do PHP</a> . Neste caso, simplemente non poderás usar esta ferramenta de ningún xeito, sentímolo.', //cpg1.4
-  'coppermine_version_header' => 'Versión instalada do Coppermine', //cpg1.4
-  'coppermine_version_info' => 'Actualmente tes instalado: %s', //cpg1.4
-  'coppermine_version_explanation' => 'Se pensas que esta información e totalmente errónea e cres que estás a usar unha versión maior do Coppermine, probablemente non subiches a versión máis recente do arquivo <i>include/init.inc.php</i>', //cpg1.4
-  'version_comparison' => 'Comparación de versión', //cpg1.4
-  'folder_file' => 'cartafol/arquivo', //cpg1.4
-  'coppermine_version' => 'versión cpg', //cpg1.4
-  'file_version' => 'versión de arquivo', //cpg1.4
-  'webcvs' => 'svn web', //cpg1.4
-  'writable' => 'sobreescribible', //cpg1.4
-  'not_writable' => 'non sobreescribible', //cpg1.4
-  'help' => 'Axuda', //cpg1.4
-  'help_file_not_exist_optional1' => 'o arquivo/cartafol non existe', //cpg1.4
-  'help_file_not_exist_optional2' => 'O arquivo/cartafol %s non foi atopado no teu servidor. Ainda que é opcional podes subilo ó teu servidor web (usando o teu cliente FTP) se estás a atopar problemas.', //cpg1.4
-  'help_file_not_exist_mandatory1' => 'o arquivo/cartafol non existe', //cpg1.4
-  'help_file_not_exist_mandatory2' => 'O arquivo/cartafol %s non foi atopado no teu servidor, a pesares de ser obrigatorio. Sube o arquivo ó teu servidor web (usando o teu cliente FTP).', //cpg1.4
-  'help_no_local_version1' => 'Non hai versión do arquivo local', //cpg1.4
-  'help_no_local_version2' => 'O script non foi quen de extraer unha versión do arquivo local - o teu arquivo está anticuado o ben ti mesmo o modificaches, eliminando a información de cabeceira dalgún xeito. Recoméndase actualizar o arquivo.', //cpg1.4
-  'help_local_version_outdated1' => 'Versión local anticuada', //cpg1.4
-  'help_local_version_outdated2' => 'A túa versión deste arquivo semella proceder dunha versión máis antiga do Coppermine (probablemente fixeches unha actualización). Asegúrate de actualizar este arquivo tamén.', //cpg1.4
-  'help_local_version_na1' => 'Non se puido extraer a información da versión do svn', //cpg1.4
-  'help_local_version_na2' => 'O script non puido determinar que versión do svn é a do arquivo que hai no teu servidor web. Tes que subir o arquivo dende o teu paquete de arquivos.', //cpg1.4
-  'help_local_version_dev1' => 'Versión de desenvolvemento', //cpg1.4
-  'help_local_version_dev2' => 'O arquivo que hai no teu servidor web semella ser máis recente que o da túa versión do Coppermine. Ou ben estás a usar un arquivo en desenvolvemento (debes facer isto só se sabes que estás a facer), ou ben actualizaches a túa instalación do Coppermine e non subiches o arquivo include/init.inc.php', //cpg1.4
-  'help_not_writable1' => 'Cartafol protexido contra escritura', //cpg1.4
-  'help_not_writable2' => 'Muda os permisos de arquivo (CHMOD) para permitirlle ó script acceso de escritura ó cartafol %s e a todo o contido deste.', //cpg1.4
-  'help_writable1' => 'Cartafol non protexido contra escritura', //cpg1.4
-  'help_writable2' => 'O cartafol %s non está protexido contra escritura. Isto é un risco innecesario, xa que o coppermine só precisa acceso de lectura/execución.', //cpg1.4
-  'help_writable_undetermined' => 'O Coppermine non foi quen de determinar se o cartafol non está protexido contra escritura.', //cpg1.4
-  'your_file' => 'o teu arquivo', //cpg1.4
-  'reference_file' => 'arquivo de referencia', //cpg1.4
-  'summary' => 'Sumario', //cpg1.4
-  'total' => 'Total de arquivos/cartafois marcados', //cpg1.4
-  'mandatory_files_missing' => 'Arquivos obrigatorios desaparecidos', //cpg1.4
-  'optional_files_missing' => 'Arquivos opcionais desparecidos', //cpg1.4
-  'files_from_older_version' => 'Arquivos residuais procedentes dunha versión anticuada do Coppermine', //cpg1.4
-  'file_version_outdated' => 'Versións de arquivo anticuadas', //cpg1.4
-  'error_no_data' => 'O script queixouse amargamente, non foi quen de obter información ningunha. Pordoa polas molestias.', //cpg1.4
-  'go_to_webcvs' => 'ir a %s', //cpg1.4
-  'options' => 'Opcións', //cpg1.4
-  'show_optional_files' => 'amosar cartafois/arquivos opcionais', //cpg1.4
-  'show_mandatory_files' => 'amosar arquivos obrigatorios', //cpg1.4
-  'show_file_versions' => 'amosar versións de arquivo', //cpg1.4
-  'show_errors_only' => 'amosar só cartafois/arquivos con erros', //cpg1.4
-  'show_permissions' => 'amosar permisos de cartafois', //cpg1.4
-  'show_condensed_output' => 'amosar saída condensada (para obter instantáneas de pantalla de xeito máis sinxelo)', //cpg1.4
-  'coppermine_in_webroot' => 'o coppermine está instalado na raíz (root) do web', //cpg1.4
-  'connect_online_repository' => 'tenta conectar co depósito en liña', //cpg1.4
-  'show_additional_information' => 'amosar información adicional', //cpg1.4
-  'no_webcvs_link' => 'non amosar ligazón do svn no web', //cpg1.4
-  'stable_webcvs_link' => 'amosar ligazón do svn no web a unha póla estable', //cpg1.4
-  'devel_webcvs_link' => 'amosar ligazón do svn no web a unha póla en desenvolvemento', //cpg1.4
-  'submit' => 'aplicar trocos / actualizar', //cpg1.4
-  'reset_to_defaults' => 'restaurar ós valores por defecto', //cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File view_log.php  //cpg1.4
-// ------------------------------------------------------------------------- //
-
-if (defined('VIEWLOG_PHP')) $lang_viewlog_php = array(
-  'delete_all' => 'Borrar Todos Os Rexistros (Logs)', //cpg1.4
-  'delete_this' => 'Borrar Este Rexistro (Log)', //cpg1.4
-  'view_logs' => 'Ver Rexistros (Logs)', //cpg1.4
-  'no_logs' => 'Non se crearon rexistros (logs).', //cpg1.4
-);
-
-
-// ------------------------------------------------------------------------- //
-// File xp_publish.php //cpg1.4
-// ------------------------------------------------------------------------- //
-
-if (defined('XP_PUBLISH_PHP')) {
-
-$lang_xp_publish_client = <<<EOT
-<h1>Cliente do Asistente de Publicación Web do XP</h1><p>Este módulo permite usar asistente de publicación web do <b>Windows XP</b> co Coppermine.</p><p>O código está baseado nun artigo publicado por
-EOT;
-
-$lang_xp_publish_required = <<<EOT
-<h2>Requisitos</h2><ul><li>O Windows XP para ter o asistente.</li><li>Unha instalación do Coppermine funcionando no que <b>a función de subida web traballe correctamente.</b></li></ul><h2>Como instalar na parte do cliente</h2><ul><li>Preme co botón dereito do rato en
-EOT;
-
-$lang_xp_publish_select = <<<EOT
-Selecciona &quot;gardar destino como...&quot;. Garda o arquivo no teu disco duro. Cando gardes o arquivo, comproba que o nome de arquivo proposto é <b>cpg_###.reg</b> (o ### representa un datado numérico). Múdao a este nome se é preciso (deixando os números). Cando remate a descarga, fai dobre click no arquivo co obxecto de rexistrar o teu servidor co asistente de publicación web.</li></ul>
-EOT;
-
-$lang_xp_publish_testing = <<<EOT
-<h2>Probas</h2><ul><li>No Windows Explorer, selecciona algúns arquivos e preme en <b>Publicar xxx no web</b> no panel da esquerda.</li><li>Confirma a túa selección de arquivos. Preme en <b>Seguinte</b>.</li><li>Na lista de servizos que aparece a continuación, selecciona o que queiras para a túa galería de fotos ( ten o nome da túa galería). Se o servizo non aparece, comproba que tes instalado <b>cpg_pub_wizard.reg</b> como se describiu con anterioridade.</li><li>Insire a túa información de inicio de sesión se é preciso.</li><li>Selecciona o album destino para as túas imaxes ou crea un novo.</li><li>Preme en <b>seguinte</b>. Así comezará a subida das túas imaxes.</li><li>Cando remate, comproba a túa galería para ver se se engadiron as imaxes correctamente.</li></ul>
-EOT;
-
-$lang_xp_publish_notes = <<<EOT
-<h2>Notas :</h2><ul><li>Unha vez que comezou a subida, o asistente non pode amosar calquera mensaxe de erro retornada polo script de xeito que non poderás saber se a subida foi correcta ou non ata que comprobes a túa galería.</li><li>Se a subida fallase, activa o &quot;modo de Depurado (Debug mode)&quot; na páxina de administración do Coppermine, téntao con unha soa imaxe e comproba as mensaxes de erro no
-EOT;
-
-$lang_xp_publish_flood = <<<EOT
-arquivo ubicado no directorio do Coppermine no teu servidor.</li><li>Co fin de evitar que a galería sexa <i>ateigada</i> de imaxes subidas a traverso do asistente, só os <b>administradores da galería</b> e os <b>usuarios que poden ter os seus propios álbums</b> poden usar esta característica.</li>
-EOT;
-
-
-
-$lang_xp_publish_php = array(
-  'title' => 'Coppermine - Asistente de Publicación Web do XP', //cpg1.4
-  'welcome' => 'Benvido, <b>%s</b>,', //cpg1.4
-  'need_login' => 'Tes que iniciar sesión na túa galería utilizando o teu navegador web antes de poder usar este asistente.<p/><p>Cando inicies a sesión non esquezas seleccionar a opción <b>lémbrate de min</b> se está dispoñible.', //cpg1.4
-  'no_alb' => 'Sentímolo, pero non hai álbum ningún ó que se che permita a subida de imaxes con este asistente.', //cpg1.4
-  'upload' => 'Subir as túas imaxes a un álbum existente', //cpg1.4
-  'create_new' => 'Crear un álbum novo para as túas imaxes', //cpg1.4
-  'album' => 'Álbum', //cpg1.4
-  'category' => 'Categoría', //cpg1.4
-  'new_alb_created' => 'O teu novo álbum &quot;<b>%s</b>&quot; foi creado.', //cpg1.4
-  'continue' => 'Preme &quot;Seguinte&quot; para comezar a subir as túas imaxes', //cpg1.4
-  'link' => 'esta ligazón', //cpg1.4
-);
-}
-?>
+<?php
+/*************************
+  Coppermine Photo Gallery
+  ************************
+  Copyright (c) 2003-2009 Coppermine Dev Team
+  v1.1 originally written by Gregory DEMAR
+
+  This program is free software; you can redistribute it and/or modify
+  it under the terms of the GNU General Public License version 3
+  as published by the Free Software Foundation.
+  
+  ********************************************
+  Coppermine version: 1.4.25
+  $HeadURL: https://coppermine.svn.sourceforge.net/svnroot/coppermine/trunk/cpg1.4.x/lang/galician.php $
+  $Revision: 5997 $
+  $Author: gaugau $
+  $Date: 2009-05-26 08:43:24 +0200 (Di, 26 Mai 2009) $
+**********************************************/
+
+if (!defined('IN_COPPERMINE')) { die('Not in Coppermine...');}
+
+// info about translators and translated language
+$lang_translation_info = array(
+  'lang_name_english' => 'Galician', //cpg1.4
+  'lang_name_native' => 'Galego', //cpg1.4
+  'lang_country_code' => 'gl_ES', //cpg1.4
+  'trans_name'=> 'Jesús Quintana (Quinti) + CiberIrmandade da Fala',
+  'trans_email' => 'infoxeral@ciberirmandade.org',
+  'trans_website' => 'http://www.ciberirmandade.org',
+  'trans_date' => '12/09/2005/', 
+);
+
+$lang_charset = 'utf-8';
+$lang_text_dir = 'ltr'; // ('ltr' for left to right, 'rtl' for right to left)
+
+// shortcuts for Byte, Kilo, Mega
+$lang_byte_units = array('Bytes', 'KB', 'MB');
+
+// Day of weeks and months
+$lang_day_of_week = array('Dom', 'Lun', 'Mar', 'Mer', 'Xov', 'Ven', 'Sab');
+$lang_month = array('Xan', 'Feb', 'Mar', 'Abr', 'Mai', 'Xuñ', 'Xul', 'Ago', 'Set', 'Out', 'Nov', 'Dec');
+
+// Some comon strings
+$lang_yes = 'Si';
+$lang_no  = 'Non';
+$lang_back = 'VOLVER';
+$lang_continue = 'CONTINUAR';
+$lang_info = 'Información';
+$lang_error = 'Erro';
+$lang_check_uncheck_all = 'marcar/desmarcar todo'; //cpg1.4
+
+// The various date formats
+// See http://www.php.net/manual/en/function.strftime.php to define the variable below
+$album_date_fmt =    '%d de %B do %Y';
+$lastcom_date_fmt =  '%d/%m/%y ás %H:%M'; //cpg1.3.0
+$lastup_date_fmt = '%d de %B do %Y';
+$register_date_fmt = '%d de %B do %Y';
+$lasthit_date_fmt = '%d de %B do %Y ás %I:%M %p'; //cpg1.3.0
+$comment_date_fmt =  '%d de %B do %Y ás %I:%M %p'; //cpg1.3.0
+$log_date_fmt = '%d de %B do %Y ás %I:%M %p'; //cpg1.4
+
+// For the word censor
+$lang_bad_words = array('');
+
+
+$lang_meta_album_names = array(
+  'random' => 'Fotos ó chou',
+  'lastup' => 'Últimas adicións',
+'lastalb'=> 'Últimos albums actualizados',
+  'lastcom' => 'Últimos comentarios',
+  'topn' => 'O máis visto',
+  'toprated' => 'O mellor cualificado',
+  'lasthits' => 'O visto máis recentemente',
+  'search' => 'Resultados da procura',
+  'favpics'=> 'Arquivos favoritos', //cpg1.4
+);
+
+$lang_errors = array(
+	'access_denied' => 'Non tes permiso para acceder a esta páxina.',
+	'perm_denied' => 'Non tes permiso para efectuar esta operación.',
+	'param_missing' => 'Script executado sen os parámetro(s) requirido(s).',
+	'non_exist_ap' => 'Non se atopou o álbum ou foto que seleccionaches!',
+	'quota_exceeded' => 'Cota de espazo no disco excedida<br /><br />Tes unha cota de espazo de [quota]KB, e as túas fotos actualmente utilizan [space]KB. Se engades este arquivo sobrepasarás a túa cota.',
+	'gd_file_type_err' => 'Cando se use a biblioteca de imaxes GD só se permiten imaxes JPEG e PNG.',
+	'invalid_image' => 'A imaxe que subiches está corrupta ou non pode ser interpretada pola biblioteca GD',
+	'resize_failed' => 'Non foi posible crear a miniatura ou a imaxe reducida.',
+	'no_img_to_display' => 'Non hai imaxes para amosar',
+	'non_exist_cat' => 'A categoría seleccionada non existe',
+	'orphan_cat' => 'Hai unha categoría que non ten categoría-nai, vai ó administrador de categorías para corrixir o problema.',
+	'directory_ro' => 'O directorio \'%s\' non ten permisos de escritura, polo que as fotos non poden ser borradas',
+	'non_exist_comment' => 'O comentario seleccionado non existe.',
+	'pic_in_invalid_album' => 'O arquivo está nun álbum inexistente (%s)!?',
+	'banned' => 'Actualmente estás bloqueado e non se che permite o uso deste sitio.',
+	'not_with_udb' => 'Esta función está desactivada no Coppermine xa que está integrada no programa de foros. Ou ben o que estás tentando facer non está permitido nesta configuración, ou ben a función debe ser chamada polo programa de foros.',
+	'offline_title' => 'Fóra de liña.', //cpg1.3.0
+	'offline_text' => 'A galería está fóra de liña neste intre - tenta entrar de novo máis tarde', //cpg1.3.0
+	'ecards_empty' => 'Actualmente non hai rexistro ningún de postais-e para visualizar.', //cpg1.3.0
+	'action_failed' => 'Acción non completada. O Coppermine non puido procesar a túa petición.', //cpg1.3.0
+'no_zip' => 'As bibliotecas necesarias para procesar os arquivos ZIP non estan dispoñibles. Por favor contacta co teu administrador do Coppermine.', //cpg1.3.0
+	'zip_type' => 'Non tes permiso para subir arquivos ZIP.', //cpg1.3.0
+    'database_query' => 'Houbo un erro ó tentar procesar unha petición ó banco de datos', //cpg1.4
+    'register_globals_on' => 'The PHP setting register_globals is enabled on your server, which is a bad idea in terms of security. It\'s strongly recommended to turn it off. [<a href="http://forum.coppermine-gallery.net/index.php/topic,59569.0.html" rel="external" class="external">more</a>]',
+);
+
+$lang_bbcode_help_title = 'Axuda bbcode'; //cpg1.4
+$lang_bbcode_help = 'Podes engadir ligazóns nas que se poida premer e formatear este campo usando etiquetas bbcode: <li>[b]Resaltado[/b] =&gt; <b>Resaltado</b></li><li>[i]Cursiva[/i] =&gt; <i>Cursiva</i></li><li>[url=http://www.ciberirmandade.org/]Texto Url[/url] =&gt; <a href="http://www.ciberirmandade.org">Text Url</a></li><li>[email]usuario@dominio.gz[/email] =&gt; <a href="mailto:usuario@dominio.gz">usuario@dominio.gz</a></li><li>[color=red]calquera texto[/color] =&gt; <span style="color:red">calquera texto</span></li><li>[img]http://coppermine-gallery.net/demo/cpg14x/images/red.gif[/img] => <img src="../images/red.gif" border="0" alt="" /></li>'; //cpg1.4
+
+// ------------------------------------------------------------------------- //
+// File theme.php
+// ------------------------------------------------------------------------- //
+
+$lang_main_menu = array(
+  'alb_list_title' => 'Ir á lista de albums',
+  'alb_list_lnk' => 'Albums',
+  'my_gal_title' => 'Ir á miña Galería Persoal',
+  'my_gal_lnk' => 'A Miña Galería',
+  'my_prof_title' => 'Ir ó meu perfil persoal', //cpg1.4	
+  'my_prof_lnk' => 'Os Meus datos',
+  'adm_mode_title' => 'Trocar ó modo Administrador',
+  'adm_mode_lnk' => 'Modo Administrador',
+  'usr_mode_title' => 'Trocar ó modo usuario',
+  'usr_mode_lnk' => 'Modo usuario',
+  'upload_pic_title' => 'Enviar foto ó album',
+  'upload_pic_lnk' => 'Enviar foto',
+  'register_title' => 'Crear unha conta',
+  'register_lnk' => 'Preme aquí para te rexistrar',
+  'login_title' => 'Iniciar a miña sesión', //cpg1.4
+  'login_lnk' => 'Iniciar sesión',
+  'logout_title' => 'Pechar a miña sesión', //cpg1.4
+  'logout_lnk' => 'Pechar sesión',
+  'lastup_title' => 'Amosar as subidas máis recentes', //cpg1.4
+'lastup_lnk' => 'Últimos envíos',
+  'lastcom_title' => 'Amosar os comentarios máis recentes', //cpg1.4
+  'lastcom_lnk' => 'Últimos comentarios',
+  'topn_title' => 'Amosar os elementos máis vistos', //cpg1.4
+  'topn_lnk' => 'Máis Vistos',
+  'toprated_title' => 'Amosar os elementos mellor cualificados', //cpg1.4
+'toprated_lnk' => 'Fotos Mellor Cualificadas',
+  'search_title' => 'Procurar a galería', //cpg1.4
+  'search_lnk' => 'Procurar',
+  'fav_title' => 'Ir ós meus favoritos', //cpg1.4
+'fav_lnk' => 'Os meus Favoritos',
+  'memberlist_title' => 'Lista de Membros', //cpg1.3.0
+	'memberlist_lnk' => 'Membros', //cpg1.3.0
+'faq_title' => 'Preguntas máis Frecuentes sobre a Galería', //cpg1.3.0
+	'faq_lnk' => 'FAQ', //cpg1.3.0
+);
+
+$lang_gallery_admin_menu = array(
+'upl_app_title' => 'Aprobar novas Fotos', //cpg1.4
+'upl_app_lnk' => 'Aprobar Fotos',
+'admin_title' => 'Ir a Configuración', //cpg1.4
+'admin_lnk' => 'Configuración', //cpg1.4
+'albums_title' => 'Ir a Configuración de Albums', //cpg1.4
+'albums_lnk' => 'Albums',
+'categories_title' => 'Ir a Configuración de Categorías', //cpg1.4
+'categories_lnk' => 'Categorías',
+'users_title' => 'Ir a Configuración de Usuarios', //cpg1.4
+'users_lnk' => 'Usuarios',
+'groups_title' => 'Ir a Configurar Grupos', //cpg1.4
+'groups_lnk' => 'Grupos',
+'comments_title' => 'Revisar comentarios', //cpg1.4
+'comments_lnk' => 'Revisar Comentarios',
+'searchnew_title' => 'Ir a engadir Fotos', //cpg1.4
+'searchnew_lnk' => 'Engadir Fotos',
+'util_title' => 'Ir a ferramentas administrativas', //cpg1.4
+'util_lnk' => 'Ferramentas Administrativas', //cpg1.3.0
+'key_title' => 'Ir a diccionarios', //cpg1.4
+'key_lnk' => 'Diccionario', //cpg1.4
+'ban_title' => 'Ir a Usuarios baneados', //cpg1.4
+'ban_lnk' => 'Usuarios Baneados',
+'db_ecard_title' => 'Visualizar postais', //cpg1.4
+'db_ecard_lnk' => 'Visualizar Postais', //cpg1.3.0
+'pictures_title' => 'Ir a Ordenar Fotos', //cpg1.4
+'pictures_lnk' => 'Ordenar fotos', //cpg1.4
+'documentation_lnk' => 'Documentación', //cpg1.4
+ 'documentation_title' => 'Coppermine manual', //cpg1.4
+);
+
+$lang_user_admin_menu = array(
+'albmgr_title' => 'Crear / Ordenar os meus albums', //cpg1.4
+'albmgr_lnk' => 'Crear / Ordenar o meu album',
+'modifyalb_title' => 'Ir a modificar o meu album', //cpg1.4
+'modifyalb_lnk' => 'Modificar os meus albums',
+'my_prof_title' => 'Ir ós meus datos', //cpg1.4
+'my_prof_lnk' => 'Os meus datos',
+);
+
+$lang_cat_list = array(
+'category' => 'Categoría',
+	'albums' => 'albums',
+'pictures' => 'Arquivos',
+);
+
+$lang_album_list = array(
+'album_on_page' => '%d albums de %d páxina(s)',
+);
+
+$lang_thumb_view = array(
+	'date' => 'DATA',
+//Sort by filename and title
+'name' => 'NOME DO ARQUIVO',
+'title' => 'TÍTULO',
+'sort_da' => 'Ordenar por data ascendente',
+'sort_dd' => 'Ordenar por data descendente',
+'sort_na' => 'Ordenar por nome ascendente',
+'sort_nd' => 'Ordenar por nome descendente',
+'sort_ta' => 'Ordenar por título ascendente',
+'sort_td' => 'Ordenar por título descendente',
+'position' => 'POSICION', //cpg1.4
+'sort_pa' => 'Orden ascendente', //cpg1.4
+'sort_pd' => 'Orden descendente', //cpg1.4
+'download_zip' => 'Descarga de arquivos ZIP',
+'pic_on_page' => '%d arquivos de %d páxina(s)',
+'user_on_page' => '%d usuarios de %d páxina(s)',
+'enter_alb_pass' => 'Introduza contrasinal de Album', //cpg1.4
+'invalid_pass' => 'Contrasinal incorrecto', //cpg1.4
+'pass' => 'Contrasinal', //cpg1.4
+'submit' => 'Enviar', //cpg1.4
+);
+
+$lang_img_nav_bar = array(
+'thumb_title' => 'Voltar á páxina de miniaturas',
+'pic_info_title' => 'Amosar/ocultar información do arquivo',
+'slideshow_title' => 'Presentación',
+'ecard_title' => 'Enviar este arquivo como postal-e',
+'ecard_disabled' => 'Postais non válidas',
+'ecard_disabled_msg' => 'Non tes permisos para enviar postais', //js-alert
+'prev_title' => 'Ver arquivo anterior',
+'next_title' => 'Ver arquivo seguinte',
+'pic_pos' => 'ARQUIVO %s/%s',
+'report_title' => 'Enviar informe ó administrador', //cpg1.4
+'go_album_end' => 'Ir ó final', //cpg1.4
+'go_album_start' => 'Voltar ó inicio', //cpg1.4
+'go_back_x_items' => 'Voltar %s artigos', //cpg1.4
+'go_forward_x_items' => 'Ir a %s artigos', //cpg1.4
+);
+
+$lang_rate_pic = array(
+'rate_this_pic' => 'Vote esta foto ',
+'no_votes' => '(Aínda non hai votos)',
+'rating' => '(Media de %s / 5 dos %s votos)',
+'rubbish' => 'Mala',
+'poor' => 'Ruín',
+'fair' => 'Satisfactoria',
+'good' => 'Boa',
+'excellent' => 'Excelente',
+'great' => 'Marabillosa',
+);
+
+// ------------------------------------------------------------------------- 
+//
+// File include/exif.inc.php
+// ------------------------------------------------------------------------- 
+//
+
+// void
+
+// ------------------------------------------------------------------------- 
+//
+// File include/functions.inc.php
+// ------------------------------------------------------------------------- 
+//
+
+$lang_cpg_die = array(
+	INFORMATION => $lang_info,
+	ERROR => $lang_error,
+	CRITICAL_ERROR => 'ERRO CRÍTICO',
+	'file' => 'Arquivo: ',
+	'line' => 'Liña: ',
+);
+
+$lang_display_thumbnails = array(
+  'filename' => 'Nome de arquivo=', //cpg1.4
+  'filesize' => 'Tamaño de arquivo=', //cpg1.4
+  'dimensions' => 'Dimensións=', //cpg1.4
+  'date_added' => 'Data de engadido=', //cpg1.4
+);
+
+$lang_get_pic_data = array(
+	'n_comments' => '%s comentarios',
+	'n_views' => '%s visualizacións',
+	'n_votes' => '(%s votos)'
+);
+
+$lang_cpg_debug_output = array(
+  'debug_info' => 'informacións de Debug', //cpg1.3.0
+  'select_all' => 'Seleccionar Todo', //cpg1.3.0
+'copy_and_paste_instructions' => 'Se vas demandar axuda nos foros de soporte do coppermine, copia e pega esta saída de depurado na túa mensaxe cando así se solicite, xunto coa mensaxe de erro que obtiveches (se a houbese). Asegúrate de reemprazar calquera contrasinal da petición con *** antes de publicar a mensaxe. <br />Nota: Isto é só para información e non significa que haxa un erro coa túa galería.', //cpg1.4
+  'phpinfo' => 'Amosar phpinfo', //cpg1.3.0
+  'notices' => 'Anuncios', //cpg1.4
+);
+
+$lang_language_selection = array(
+  'reset_language' => 'Idioma por defecto', //cpg1.3.0
+  'choose_language' => 'Escolla o seu idioma', //cpg1.3.0
+);
+
+$lang_theme_selection = array(
+  'reset_theme' => 'tema por defecto', //cpg1.3.0
+  'choose_theme' => 'Escolla un tema', //cpg1.3.0
+);
+
+$lang_version_alert = array(
+  'version_alert' => 'Versión non admitida!', //cpg1.4
+  'security_alert' => 'Alerta de Seguridade!', //cpg1.4.3
+  'relocate_exists' => 'Elimina o arquivo <a href="http://coppermine-gallery.net/forum/index.php?topic=24217.0">relocate_server.php</a> do teu sitio web!',
+  'no_stable_version' => 'Estás utilizando o Coppermine %s (%s), que está indicado só para usuarios moi experimentados - esta versión non ten soporte nin garantías de tipo ningún. Ó usala asumes o risco persoalmente, senón, podes instalar a última versión estable se precisas axuda!', //cpg1.4
+  'gallery_offline' => 'A galería está actualmente fóra de liña e só é visible para ti como administrador. Non esquezas volvela poñer en liña logo de rematar coas tarefas de mantemento.', //cpg1.4
+);
+
+$lang_create_tabs = array(
+  'previous' => 'anterior', //cpg1.4
+  'next' => 'seguinte', //cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File include/init.inc.php
+// ------------------------------------------------------------------------- //
+
+// void
+
+// ------------------------------------------------------------------------- //
+// File keyword.inc.php                                                      //
+// ------------------------------------------------------------------------- //
+
+// void
+
+// ------------------------------------------------------------------------- //
+// File include/picmgmt.inc.php
+// ------------------------------------------------------------------------- //
+
+// void
+
+// ------------------------------------------------------------------------- //
+// File include/plugin_api.inc.php
+// ------------------------------------------------------------------------- //
+$lang_plugin_api = array(
+  'error_wakeup' => "Non se puido activar o plugin '%s'", //cpg1.4
+  'error_install' => "Non se puido instalar o plugin '%s'", //cpg1.4
+  'error_uninstall' => "Non se puido desinstalar o plugin '%s'", //cpg1.4
+  'error_sleep' => "Non se puido desactivar o plugin '%s'<br />", //cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File include/smilies.inc.php
+// ------------------------------------------------------------------------- //
+
+if (defined('SMILIES_PHP')) $lang_smilies_inc_php = array(
+	'Exclamation' => 'Exclamación',
+        'Question' => 'Pregunta',
+	'Very Happy' => 'Moi Feliz',
+        'Smile' => 'Sorriso',
+	'Sad' => 'Triste',
+        'Surprised' => 'Sorprendido',
+        'Shocked' => 'Abraiado',
+	'Confused' => 'Confuso',
+	'Cool' => 'Guai',
+	'Laughing' => 'Risoño',
+	'Mad' => 'Tolo',
+	'Razz' => 'Tomando o pelo',
+	'embarassed' => 'Desconcertado',
+	'Crying or Very sad' => 'Moi triste',
+	'Evil or Very Mad' => 'Moi mal',
+	'Twisted Evil' => 'Demo Tolo',
+	'Rolling Eyes' => 'Rulando os ollos',
+	'Wink' => 'Chiscando un ollo',
+	'Idea' => 'Idea',
+	'Arrow' => 'Seta',
+	'Neutral' => 'Neutro',
+	'Mr. Green' => 'O Sr. Verde',
+);
+
+// ------------------------------------------------------------------------- //
+// File addpic.php
+// ------------------------------------------------------------------------- //
+
+// void
+
+// ------------------------------------------------------------------------- //
+// File mode.php //cpg1.4
+// ------------------------------------------------------------------------- //
+
+if (defined('MODE_PHP')) $lang_mode_php = array(
+  0 => 'Saíndo do modo de administración...',
+  1 => 'Entrando no modo de administración...',
+);
+
+// ------------------------------------------------------------------------- //
+// File albmgr.php
+// ------------------------------------------------------------------------- //
+
+if (defined('ALBMGR_PHP')) $lang_albmgr_php = array(
+'alb_need_name' => 'Os albums precisan ter un nome !', //js-alert
+'confirm_modifs' => 'Tes a certeza que desexas realizar as modificacións ?', //js-alert
+'no_change' => 'Non fixeches troco ningún!', //js-alert
+	'new_album' => 'Novo album',
+'confirm_delete1' => 'Tes a certeza que desexas eliminar este album ?', //js-alert
+'confirm_delete2' => '\nTodas as fotos e comentarios perderanse !', //js-alert
+	'select_first' => 'Primeiro Seleccione un album', //js-alert
+	'alb_mrg' => 'Administrador de albums',
+'my_gallery' => '* A miña Galería *',
+'no_category' => '* sen categoría *',
+	'delete' => 'Apagar',
+	'new' => 'Novo',
+'apply_modifs' => 'Aplicar modificacións',
+'select_category' => 'Selecciona unha categoría',
+);
+
+// ------------------------------------------------------------------------- //
+// File banning.php
+// ------------------------------------------------------------------------- //
+
+if (defined('BANNING_PHP')) $lang_banning_php = array(
+  'title' => 'Bloquear Usuarios', //cpg1.4
+  'user_name' => 'Nome de Usuario', //cpg1.4
+  'ip_address' => 'Enderezo IP', //cpg1.4
+  'expiry' => 'Expira (en branco é permanente)', //cpg1.4
+  'edit_ban' => 'Gardar Trocos', //cpg1.4
+  'delete_ban' => 'Borrar', //cpg1.4
+  'add_new' => 'Engadir Novo Bloqueo', //cpg1.4
+  'add_ban' => 'Engadir', //cpg1.4
+  'error_user' => 'Non se puido atopar o usuario', //cpg1.4
+  'error_specify' => 'Tes que especificar un nome de usuario ou ben un enderezo IP', //cpg1.4
+  'error_ban_id' => 'Bloqueo de ID inválido!', //cpg1.4
+  'error_admin_ban' => 'Non te podes bloquear a ti mesmo!', //cpg1.4
+  'error_server_ban' => 'Vas bloquear o teu propio servidor? Home... Non podes facer iso...', //cpg1.4
+'error_ip_forbidden' => 'Non podes bloquear este IP - de todos os xeitos non é encamiñable (privado) !<br />Se queres que se che permita bloquear IPs privados, muda a opción correspondente na túa <a href="admin.php">Configuración</a> (só ten senso cando o Coppermine funciona nunha rede local-LAN).', //cpg1.4
+'lookup_ip' => 'Buscar e resolver un enderezo IP', //cpg1.4
+  'submit' => 'enviar!', //cpg1.4
+  'select_date' => 'seleccionar data', //cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File bridgemgr.php //cpg1.4
+// ------------------------------------------------------------------------- //
+
+if (defined('BRIDGEMGR_PHP')) $lang_bridgemgr_php = array(
+  'title' => 'Asistente de Ponte',
+'warning' => 'Atención: cando uses este asistente debes ter claro que se van enviar datos importantes a través do uso de formas html. Úsao só no teu propio PC (nunca nun cliente público coma un café-internet), e asegúrate de borrar o caché e os arquivos temporais do navegador cando remates, ou, doutro xeito, outros poderían acceder ós teus datos!',
+  'back' => 'anterior',
+  'next' => 'seguinte',
+  'start_wizard' => 'Iniciar asistente de ponte',
+  'finish' => 'Rematar',
+  'hide_unused_fields' => 'agochar campos non usados dos formularios (recomendado)',
+  'clear_unused_db_fields' => 'borrar entradas incorrectas do banco de datos (recomendado)',
+  'custom_bridge_file' => 'o nome do teu arquivo de ponte persoal (se o nome do arquivo de ponte é <i>omeuarquivo.inc.php</i>, insire <i>omeuarquivo</i> neste campo)',
+  'no_action_needed' => 'Non se precisa acción ningunha neste paso. Simplemente preme en \'seguinte\' para continuar.',
+  'reset_to_default' => 'Reaxustar ó valor por defecto',
+  'choose_bbs_app' => 'escolle a aplicación coa que facer ponte o coppermine',
+'support_url' => 'Vai aquí para obter axuda desta aplicación',
+  'settings_path' => 'ruta(s) usados pola túa aplicación de BBS',
+  'database_connection' => 'conexión co banco de datos',
+  'database_tables' => 'táboas do banco de datos',
+  'bbs_groups' => 'grupos do BBS',
+  'license_number' => 'Número de licenza',
+  'license_number_explanation' => 'insire o teu número de licenza (se é preciso)',
+  'db_database_name' => 'Nome do banco de datos',
+  'db_database_name_explanation' => 'Insire o nome do banco de datos que utiliza a túa aplicación de BBS',
+  'db_hostname' => 'Host do banco de datos',
+  'db_hostname_explanation' => 'Nome de host onde reside o teu banco de datos mySQL, normalmente é &quot;localhost&quot;',
+  'db_username' => 'Conta de usuario do banco de datos',
+  'db_username_explanation' => 'Conta de usuario mySQL a utilizar para a conexión co BBS',
+  'db_password' => 'Contrasinal do banco de datos',
+  'db_password_explanation' => 'Contrasinal para esta conta de usuario mySQL',
+  'full_forum_url' => 'URL do Foro',
+  'full_forum_url_explanation' => 'URL completo da túa aplicación BBS (incluída a cabeceira http:// bit, é dicir, http://www.oteudominio.tld/foro)',
+  'relative_path_of_forum_from_webroot' => 'Ruta relativa ós foros',
+  'relative_path_of_forum_from_webroot_explanation' => 'Ruta relativa á túa aplicación BBS dende a raíz do web (Exemplo: se o teu BBS está en http://www.oteudominio.gz/foros/, insire &quot;/foros/&quot; neste campo',
+  'relative_path_to_config_file' => 'Ruta relativa ó arquivo de configuración do teu BBS',
+  'relative_path_to_config_file_explanation' => 'Ruta relativa ó teu BBS, referido dende o teu cartafol do Coppermine (é dicir, &quot;../foro/&quot; se o teu BBS está en http://www.oteudominio.tld/foro/ e o Coppermine en http://www.oteudominio.tld/galería/)',
+  'cookie_prefix' => 'Prefixo das cookies',
+'cookie_prefix_explanation' => 'este será o nome das cookies do teu BBS',
+  'table_prefix' => 'Prefixo da táboa',
+  'table_prefix_explanation' => 'Ten que coincidir co prefixo que escollas para o teu BBS cando o configures.',
+  'user_table' => 'Táboa de usuario',
+'user_table_explanation' => '(normalmente o valor por defecto funcionará, a menos que a instalación do teu BBS non sexa estándar)',
+  'session_table' => 'Táboa de sesión',
+'session_table_explanation' => '(normalmente o valor por defecto funcionará, a menos que a instalación do teu BBS non sexa estándar)',
+  'group_table' => 'Táboa de grupo',
+'group_table_explanation' => '(normalmente o valor por defecto funcionará, a menos que a instalación do teu BBS non sexa estándar)',
+  'group_relation_table' => 'Táboa de relación de grupos',
+'group_relation_table_explanation' => '(normalmente o valor por defecto funcionará, a menos que a instalación do teu BBS non sexa estándar)',
+  'group_mapping_table' => 'Táboa de correspondencias de grupo',
+  'group_mapping_table_explanation' => '(normalmente o valor por defecto funcionará, a menos que a instalación do teu BBS non sexa estándar)',
+'use_standard_groups' => 'Utilizar grupos de usuario estándardo BBS',
+'use_standard_groups_explanation' => 'Utilizar grupos de usuario estándar(incorporados no BBS) (recomendado). Isto fará que toda a configuración a medida dos grupos de usuario efectuada nesta páxina quede baleira. Desactiva esta opción só se REALMENTE sabes o que estás a facer!',
+  'validating_group' => 'Grupo de validado',
+  'validating_group_explanation' => 'ID do grupo do teu BBS no que se gardarán as contas de usuario que precisan ser validadas (normalmente o valor por defecto funcionará, a menos que a instalación do teu BBS non sexa estándar)',
+  'guest_group' => 'Grupo de convidados',
+  'guest_group_explanation' => 'ID do Grupo do teu BBS no que se gardarán os convidados (usuarios anónimos) (o valor por defecto funcionará correctamente, edítao só se sabes o que estás a facer)',
+  'member_group' => 'Grupo de membros',
+  'member_group_explanation' => 'ID do grupo do teu BBS no que se gardarán as contas de usuarios &quot;normais&quot; (o valor por defecto funcionará correctamente, edítao só se sabes o que estás a facer)',
+  'admin_group' => 'Grupo de administración',
+  'admin_group_explanation' => 'ID do grupo do teu BBS no que se gardarán as contas dos administradores (o valor por defecto funcionará correctamente, edítao só se sabes o que estás a facer)',
+  'banned_group' => 'Grupo de bloqueados',
+  'banned_group_explanation' => 'ID do grupo do teu BBS no que se gardarán as contas dos usuarios bloqueados (o valor por defecto funcionará correctamente, edítao só se sabes o que estás a facer)',
+  'global_moderators_group' => 'Grupo de moderadores globais',
+  'global_moderators_group_explanation' => 'ID do grupo do teu BBS no que se gardarán as contas dos mederadores globais do teu BBS (o valor por defecto funcionará correctamente, edítao só se sabes o que estás a facer)',
+  'special_settings' => 'Configuración específica do BBS',
+  'logout_flag' => 'versión do phpBB (marca de remate de sesión)',
+  'logout_flag_explanation' => 'A versión do teu BBS (este parámetro especifica a maneira de xestionar os remates de sesión)',
+  'use_post_based_groups' => 'Usar grupos baseados nas mensaxes publicadas?',
+  'logout_flag_yes' => '2.0.5 ou superior',
+  'logout_flag_no' => '2.0.4 ou inferior',
+  'use_post_based_groups_explanation' => 'Deben terse en conta os grupos do BBS definidos polo número de mensaxes publicadas (permite unha xestión de permisos máis detallada) ou só os grupos por defecto (facilita a administración, recomendado). Podes mudar esta configuración máis tarde perfectamente.',
+  'use_post_based_groups_yes' => 'si',
+  'use_post_based_groups_no' => 'non',
+  'error_title' => 'Tes que corrixir estes erros antes de continuar. Volve á pantalla anterior.',
+  'error_specify_bbs' => 'Tes que especificar que aplicación queres pontear coa túa instalación do Coppermine.',
+  'error_no_blank_name' => 'Non podes deixar o nome do teu arquivo a medida de ponte en branco.',
+  'error_no_special_chars' => 'O nome do arquivo de ponte non pode conter caracteres especiais a excepción do suliñado (_) e o guión (-)!',
+  'error_bridge_file_not_exist' => 'Non se atopou o arquivo de ponte %s no servidor. Comproba se o subiches agora.',
+  'finalize' => 'activar/desactivar a integración do BBS',
+  'finalize_explanation' => 'Ata aquí, as opcións que especificaches foron gardadas no banco de datos, pero a integración do BBS non foi activada. Podes conectar ou desconectar a integración máis tarde en calquer intre. Asegúrate de lembrar o nome de usuario de administrador e o contrasinal do Coppermine a secas (sen integración), podes precisalos máis tarde para poder facer trocos. Se algo fose mal, vai a %s e desactiva a integración do BBS alí, utilizando a túa conta de administración orixinal (sen a ponte ou integración) (habitualmente será a que configuraches durante a instalación do Coppermine).',
+  'your_bridge_settings' => 'A túa configuración da ponte',
+  'title_enable' => 'Activar integración/ponteado con %s',
+  'bridge_enable_yes' => 'activar',
+  'bridge_enable_no' => 'desactivar',
+  'error_must_not_be_empty' => 'non pode estar valeiro',
+  'error_either_be' => 'debe ser %s ou %s',
+  'error_folder_not_exist' => '%s non existe. Corrixe o valor que inseriches para %s',
+  'error_cookie_not_readible' => 'O Coppermine non pode ler unha cookie chamada %s. Corrixe o valor que inseriches para %s, ou vai ó panel de administración do teu BBS e asegúrate de que a ruta da cookie é lexible para o coppermine.',
+  'error_mandatory_field_empty' => 'Non podes deixar o campo %s en branco - cúbreo co valor axeitado.',
+  'error_no_trailing_slash' => 'O campo %s non debe rematarse cunha barra invertida.',
+  'error_trailing_slash' => 'O campo %s debe rematarse cunha barra invertida.',
+  'error_db_connect' => 'Non se pode conectar co banco de datos mySQL cos datos que especificaches. A resposta do mySQL foi:',
+  'error_db_name' => 'A pesares de que Coppermine conseguiu estabelecer unha conexión, non puido atopar o banco de datos %s. Asegúrate de que especificaches %s correctamente. A resposta do mySQL foi:',
+  'error_prefix_and_table' => '%s e ',
+  'error_db_table' => 'Non se puido atopar a táboa %s. Asegúrate de que especificaches %s correctamente.',
+  'recovery_title' => 'Xestor de Ponte: recuperación de emerxencia',
+  'recovery_explanation' => 'Se chegaches aquí para administrar a integración BBS da túa galería Coppermine, tes que iniciar sesión primeiro como administrador. Se non podes entrar porque o ponteado non funciona como debería, podes desactivar a integración BBS nesta páxina. Inserindo o teu nome de usuario e contrasinal non iniciarás a sesión, senón que só desactivarás a integración BBS. Revisa a documentación para obter detalles.',
+  'username' => 'Nome de usuario',
+  'password' => 'Contrasinal',
+  'disable_submit' => 'enviar',
+  'recovery_success_title' => 'Autorización correcta',
+  'recovery_success_content' => 'Desactivaches o ponteado BBS correctamente. A túa instalación do Coppermine funciona agora en modo independente.',
+  'recovery_success_advice_login' => 'Inicia sesión como administrador para editar a túa configuración de ponte e/ou activar a integración BBS de novo.',
+  'goto_login' => 'Ir á páxina de inicio de sesión',
+  'goto_bridgemgr' => 'Ir ó xestor de ponte',
+  'recovery_failure_title' => 'Autorización incorrecta',
+  'recovery_failure_content' => 'As credenciais que presentaches son incorrectas. Debes proporcionar os datos da conta de administrador da versión autónoma (habitualmente será a conta que configuraches durante a instalación do Coppermine).',
+  'try_again' => 'téntao de novo',
+  'recovery_wait_title' => 'Ainda non transcorreu o tempo de espera',
+  'recovery_wait_content' => 'Por razóns de seguridade este script non permite tentativas fallidas de inicio de sesión sucesivas en pouco espazo de tempo , polo que terás que agardar un chisco ata que se che permita volver tentar identificarte.',
+  'wait' => 'agarda',
+  'create_redir_file' => 'Crear arquivo de redirección (recomendado)',
+  'create_redir_file_explanation' => 'Para redirixir ós usuarios de novo ó Coppermine unha vez que iniciaron sesión no teu BBS, precisas crear un arquivo de redirección no teu cartafol do BBS. Cando esta opción estea marcada, o xestor de ponte tentará crear este arquivo no teu lugar, ou proporcionarche o código listo para copiar-e-pegar para que poidas crear o arquivo de xeito manual.',
+  'browse' => 'explorar',
+);
+
+// ------------------------------------------------------------------------- //
+// File calendar.php //cpg1.4
+// ------------------------------------------------------------------------- //
+
+if (defined('CALENDAR_PHP')) $lang_calendar_php = array(
+  'title' => 'Calendario', //cpg1.4
+  'close' => 'pechar', //cpg1.4
+  'clear_date' => 'borrar data', //cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File catmgr.php
+// ------------------------------------------------------------------------- //
+
+if (defined('CATMGR_PHP')) $lang_catmgr_php = array(
+	'miss_param' => 'Parametros requeridos para operación \'%s\' non postos!',
+	'unknown_cat' => 'A categoria seleccionada non existe no noso banco de datos',
+	'usergal_cat_ro' => 'A categoria do usuario non pode ser excluída !',
+	'manage_cat' => 'administrar categorias',
+	'confirm_delete' => 'Estás a certo que desexas ELIMINAR esta categoria ?', //js-alert
+	'category' => 'Categoria',
+	'operations' => 'Operacións',
+	'move_into' => 'Mover a',
+	'update_create' => 'actualizar/Crear categoria',
+	'parent_cat' => 'Categoria Nai',
+	'cat_title' => 'Título da categoria',
+	'cat_thumb' => 'Miniatura da categoria', //cpg1.3.0
+	'cat_desc' => 'Descripción da categoria',
+  'categories_alpha_sort' => 'Ordenar categorías alfabéticamente (en troques de utilizar a orde personalizada)', //cpg1.4
+  'save_cfg' => 'Gardar configuración', //cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File admin.php //cpg1.4
+// ------------------------------------------------------------------------- //
+
+if (defined('ADMIN_PHP')) $lang_admin_php = array(
+  'title' => 'Configuración da Galería', //cpg1.4
+  'manage_exif' => 'Xestionar respresentación visual de datos exif', //cpg1.4
+  'manage_plugins' => 'Xestionar plugins', //cpg1.4
+  'manage_keyword' => 'Xestionar palabras-chave', //cpg1.4
+	'restore_cfg' => 'Restaurar Configuración por defecto',
+	'save_cfg' => 'Gardar nova Configuración',
+	'notes' => 'Notas',
+	'info' => 'Información',
+	'upd_success' => 'Configuracións atualizadas!',
+	'restore_success' => 'Configuración padre restaurada',
+	'name_a' => 'Nome ascendente',
+	'name_d' => 'Nome descendente',
+	'title_a' => 'Título ascendente',
+	'title_d' => 'Título descendente',
+	'date_a' => 'Data Crecente',
+	'date_d' => 'Data Decrecente',
+  'pos_a' => 'Posición ascendente', //cpg1.4
+  'pos_d' => 'Posición descendente', //cpg1.4
+	'th_any' => 'Aspecto Máximo',
+	'th_ht' => 'Altura',
+	'th_wd' => 'Ancho',
+	'label' => 'etiqueta', //cpg1.3.0
+	'item' => 'elemento', //cpg1.3.0
+	'debug_everyone' => 'Todos', //cpg1.3.0
+	'debug_admin' => 'só o administrador', //cpg1.3.0
+  'no_logs'=> 'Off', //cpg1.4
+  'log_normal'=> 'Normal', //cpg1.4
+  'log_all' => 'Todo', //cpg1.4
+  'view_logs' => 'Amosar rexistros (logs)', //cpg1.4
+  'click_expand' => 'preme no nome de sección para expandir', //cpg1.4
+  'expand_all' => 'Expandir Todo', //cpg1.4
+  'notice1' => '(*) Estes parámetros non deben mudarse se xa tes arquivos no teu banco de datos.', //cpg1.4 - (reubicado)
+  'notice2' => '(**) Cando mudes este parámetro, só se verán afectados os arquivos engadidos a partires de agora, polo que é recomendábel non mudar este parámetro se xa existen arquivos na galería. Podes, de todas formas, aplicar os trocos ós arquivos existentes coas utilidades das &quot;<a href="util.php">ferramentas de administración</a> (redimensionar imaxes)&quot; do menú de administración.', //cpg1.4 - (reubicado)
+  'notice3' => '(***) Todos os arquivos de rexistro (logs) escríbense en inglés.', //cpg1.4 - (reubicado)
+  'bbs_disabled' => 'Función desactivada ó usar a integración do bb', //cpg1.4
+  'auto_resize_everyone' => 'Todos', //cpg1.4
+  'auto_resize_user' => 'Só o usuario', //cpg1.4
+  'ascending' => 'ascendente', //cpg1.4
+  'descending' => 'descendente', //cpg1.4
+        );
+
+if (defined('ADMIN_PHP')) $lang_admin_data = array(
+	'Configuración xeral',
+	array('Nome da Galería', 'gallery_name', 0,  'f=index.htm&amp;as=admin_general_name&amp;ae=admin_general_name_end'), //cpg1.4
+	array('Descrición da Galería', 'gallery_description', 0, 'f=index.htm&amp;as=admin_general_description&amp;ae=admin_general_description_end'), //cpg1.4
+	array('Correo-e do Administrador da Galería', 'gallery_admin_email', 0, 'f=index.htm&amp;as=admin_general_email&amp;ae=admin_general_email_end'), //cpg1.4
+	array('URL do cartafol da túa galería coppermine (sen \'index.php\' ou similar ó remate)', 'ecards_more_pic_target', 0, 'f=index.htm&amp;as=admin_general_coppermine-url&amp;ae=admin_general_coppermine-url_end'), //cpg1.4
+  array('URL da túa páxina de inicio', 'home_target', 0, 'f=index.htm&amp;as=admin_general_home-url&amp;ae=admin_general_home-url_end'), //cpg1.4
+  array('Permitir descarga en ZIP dos favoritos', 'enable_zipdownload', 1, 'f=index.htm&amp;as=admin_general_zip-download&amp;ae=admin_general_zip-download_end'), //cpg1.4
+  array('Zona horaria relativa ó GMT (tempo actual: ' . localised_date(-1, $comment_date_fmt) . ')','time_offset',0, 'f=index.htm&amp;as=admin_general_time-offset&amp;ae=admin_general_time-offset_end&amp;top=1'), //cpg1.4
+  array('Activar contrasinais encriptadas (non se poderá desfacer logo)','enable_encrypted_passwords',1, 'f=index.htm&amp;as=admin_general_encrypt_password_start&amp;ae=admin_general_encrypt_password_end&amp;top=1'), // cpg 1.4
+  array('Activar iconas de axuda (a axuda está dispoñible só en inglés)','enable_help',9, 'f=index.htm&amp;as=admin_general_help&amp;ae=admin_general_help_end'), //cpg1.4
+  array('Activar palabras-chave nas que se poida premer na procura','clickable_keyword_search',14, 'f=index.htm&amp;as=admin_general_keywords_start&amp;ae=admin_general_keywords_end'), //cpg1.4
+  array('Activar plugins', 'enable_plugins', 12, 'f=index.htm&amp;as=admin_general_enable-plugins&amp;ae=admin_general_enable-plugins_end'),  //cpg1.4
+  array('Permitir o bloqueo de enderezos IP non encamiñables (privados)', 'ban_private_ip', 1,  'f=index.htm&amp;as=admin_general_private-ip&amp;ae=admin_general_private-ip_end'), //cpg1.4
+  array('Interface de engadido en serie (batch-add) navegable', 'browse_batch_add', 1, 'f=index.htm&amp;as=admin_general_browsable_batch_add&amp;ae=admin_general_browsable_batch_add_end'), //cpg1.4
+
+  'Configuración de Idioma e Codificación de Caracteres',
+  array('Idioma', 'lang', 5, 'f=index.htm&amp;as=admin_language_language&amp;ae=admin_language_language_end'), //cpg1.4
+  array('Recurrir ó inglés se a frase traducida non se atopa?', 'language_fallback', 1, 'f=index.htm&amp;as=admin_language_fallback&amp;ae=admin_language_fallback_end'), //cpg1.4
+  array('Codificación de carácter', 'charset', 4, 'f=index.htm&amp;as=admin_language_charset&amp;ae=admin_language_charset_end'), //cpg1.4
+  array('Amosar lista de idiomas', 'language_list', 1, 'f=index.htm&amp;as=admin_language_list&amp;ae=admin_language_list_end'), //cpg1.4
+  array('Amosar bandeiras de idiomas', 'language_flags', 8, 'f=index.htm&amp;as=admin_language_flags&amp;ae=admin_language_flags_end&amp;top=1'), //cpg1.4
+  array('Amosar &quot;restaurar&quot; na selección de idioma', 'language_reset', 1, 'f=index.htm&amp;as=admin_language_reset&amp;ae=admin_language_reset_end&amp;top=1'), //cpg1.4
+  //array('Display previous/next on tabbed pages', 'previous_next_tab', 1), //cpg1.4
+
+  'Configuración de temas',
+  array('Tema', 'theme', 6, 'f=index.htm&amp;as=admin_theme_theme&amp;ae=admin_theme_theme_end'), //cpg1.4
+  array('Amosar lista de temas', 'theme_list', 1, 'f=index.htm&amp;as=admin_theme_theme_list&amp;ae=admin_theme_theme_list_end'), //cpg1.4
+  array('Amosar &quot;restaurar&quot; na selección de tema', 'theme_reset', 1, 'f=index.htm&amp;as=admin_theme_theme_reset&amp;ae=admin_theme_theme_reset_end'), //cpg1.4
+  array('Amosar FAQ', 'display_faq', 1, 'f=index.htm&amp;as=admin_theme_faq&amp;ae=admin_theme_faq_end'), //cpg1.4
+  array('Nome da ligazón do menú personalizado', 'custom_lnk_name', 0,'f=index.htm&amp;as=admin_theme_custom_lnk_name&amp;ae=admin_theme_custom_lnk_name_end'), //cpg1.4
+  array('URL da ligazón do menú personalizado', 'custom_lnk_url', 0,'f=index.htm&amp;as=admin_language_custom_lnk_url&amp;ae=admin_language_custom_lnk_url_end'), //cpg1.4
+  array('Amosar axuda do bbcode', 'show_bbcode_help', 1, 'f=index.htm&amp;as=admin_theme_bbcode&amp;ae=admin_theme_bbcode_end&amp;top=1'), //cpg1.4
+  array('Amosar o bloque indicando o cumprimento cos estándares nos temas definidos como conformes a XHTML e CSS','vanity_block',1, 'f=index.htm&amp;as=vanity_block&amp;ae=vanity_block_end'), //cpg1.4
+  array('Ruta á cabeceira de páxina personalizada que queres incluir', 'custom_header_path', 0, 'f=index.htm&amp;as=admin_theme_include_path_start&amp;ae=admin_theme_include_path_end'), //cpg1.4
+  array('Ruta ó pé de páxina personalizado que queres incluir', 'custom_footer_path', 0, 'f=index.htm&amp;as=admin_theme_include_path_start&amp;ae=admin_theme_include_path_end'), //cpg1.4
+
+  'Visualización da lista de álbums',
+  array('Ancho da táboa principal (en pixels ou en %)', 'main_table_width', 0, 'f=index.htm&amp;as=admin_album_table-width&amp;ae=admin_album_table-width_end'), //cpg1.4
+  array('Número de niveis de categorías a amosar', 'subcat_level', 0, 'f=index.htm&amp;as=admin_album_category-levels&amp;ae=admin_album_category-levels_end'), //cpg1.4
+  array('Número de álbums a amosar', 'albums_per_page', 0, 'f=index.htm&amp;as=admin_album_number&amp;ae=admin_album_number_end'), //cpg1.4
+  array('Número de columnas da lista de álbums', 'album_list_cols', 0, 'f=index.htm&amp;as=admin_album_columns&amp;ae=admin_album_columns_end'), //cpg1.4
+  array('Tamaño das miniaturas en pixels', 'alb_list_thumb_size', 0, 'f=index.htm&amp;as=admin_album_thumbnail-size&amp;ae=admin_album_thumbnail-size_end'), //cpg1.4
+  array('O contido da páxina principal', 'main_page_layout', 0, 'f=index.htm&amp;as=admin_album_list_content&amp;ae=admin_album_list_content_end'), //cpg1.4
+  array('Amosar as miniaturas do primeiro nivel do álbum nas categorías','first_level',1, 'f=index.htm&amp;as=admin_album_first-level_thumbs&amp;ae=admin_album_first-level_thumbs_end'), //cpg1.4
+  array('Ordenar categorías alfabéticamente (en troques da ordenación personalizada)','categories_alpha_sort',1, 'f=index.htm&amp;as=admin_album_list_alphasort_start&amp;ae=admin_album_list_alphasort_end'), //cpg1.4
+  array('Amosar número de arquivos ligados','link_pic_count',1, 'f=index.htm&amp;as=admin_album_linked_files_start&amp;ae=admin_album_linked_files_end'), //cpg1.4
+
+  'Visualización de miniaturas',
+  array('Número de columnas na páxina de miniaturas', 'thumbcols', 0, 'f=index.htm&amp;as=admin_thumbnail_columns&amp;ae=admin_thumbnail_columns_end'), //cpg1.4
+  array('Número de filas na páxina de miniaturas', 'thumbrows', 0, 'f=index.htm&amp;as=admin_thumbnail_rows&amp;ae=admin_thumbnail_rows_end'), //cpg1.4
+  array('Número máximo de pestanas a amosar', 'max_tabs', 10, 'f=index.htm&amp;as=admin_thumbnail_tabs&amp;ae=admin_thumbnail_tabs_end'), //cpg1.4
+  array('Amosar lenda do arquivo (ademais do título) baixo da miniatura', 'caption_in_thumbview', 1, 'f=index.htm&amp;as=admin_thumbnail_display_caption&amp;ae=admin_thumbnail_display_caption_end'), //cpg1.4
+  array('Amosar número de visualizacións baixo da miniatura', 'views_in_thumbview', 1, 'f=index.htm&amp;as=admin_thumbnail_display_views&amp;ae=admin_thumbnail_display_views_end'), //cpg1.4
+  array('Amosar número de comentarios baixo da miniatura', 'display_comment_count', 1, 'f=index.htm&amp;as=admin_thumbnail_display_comments&amp;ae=admin_thumbnail_display_comments_end'), //cpg1.4
+  array('Amosar nome do usuario que subiu o arquivo baixo da miniatura', 'display_uploader', 1, 'f=index.htm&amp;as=admin_thumbnail_display_uploader&amp;ae=admin_thumbnail_display_uploader_end'), //cpg1.4
+  //array('Display name of admin uploaders below the thumbnail', 'display_admin_uploader', 1, 'f=index.htm&amp;as=admin_thumbnail_display_admin_uploader&amp;ae=admin_thumbnail_display_admin_uploader_end'), //cpg1.4
+  array('Amosar nome do arquivo baixo da miniatura', 'display_filename', 1, 'f=index.htm&amp;as=admin_thumbnail_display_filename&amp;ae=admin_thumbnail_display_filename_end'), //cpg1.4
+  //array('Amosar descrición do álbum', 'alb_desc_thumb', 1, 'f=index.htm&amp;as=admin_thumbnail_display_description&amp;ae=admin_thumbnail_display_description_end'), //cpg1.4
+  array('Orden dos arquivos por defecto', 'default_sort_order', 3, 'f=index.htm&amp;as=admin_thumbnail_default_sortorder&amp;ae=admin_thumbnail_default_sortorder_end'), //cpg1.4
+  array('Número mínimo de votos dun arquivo para figurar na lista dos \'máis votados\'', 'min_votes_for_rating', 0, 'f=index.htm&amp;as=admin_thumbnail_minimum_votes&amp;ae=admin_thumbnail_minimum_votes_end'), //cpg1.4
+
+	'Visualización das imaxes', //cpg1.4
+	array('Ancho da táboa para a visualización das fotos (en pixels ou en %)', 'picture_table_width', 0, 'f=index.htm&amp;as=admin_image_comment_table-width&amp;ae=admin_image_comment_table-width_end'), //cpg1.4
+  array('A información do arquivo é visible por defecto', 'display_pic_info', 1, 'f=index.htm&amp;as=admin_image_comment_info_visible&amp;ae=admin_image_comment_info_visible_end'), //cpg1.4
+  array('Lonxitude máxima da descrición dunha imaxe', 'max_img_desc_length', 0, 'f=index.htm&amp;as=admin_image_comment_descr_length&amp;ae=admin_image_comment_descr_length_end'), //cpg1.4
+  array('Número máximo de caracteres nunha palabra', 'max_com_wlength', 0, 'f=index.htm&amp;as=admin_image_comment_chars_per_word&amp;ae=admin_image_comment_chars_per_word_end'), //cpg1.4
+  array('Amosar tira de película', 'display_film_strip', 1, 'f=index.htm&amp;as=admin_image_comment_filmstrip_toggle&amp;ae=admin_image_comment_filmstrip_toggle_end'), //cpg1.4
+  array('Amosar nome de arquivo baixo da miniatura da tira de película', 'display_film_strip_filename', 1, 'f=index.htm&amp;as=admin_image_comment_display_film_strip_filename&amp;ae=admin_image_comment_display_film_strip_filename_end'), //cpg1.4
+  array('Número de elementos na tira de película', 'max_film_strip_items', 0, 'f=index.htm&amp;as=admin_image_comment_filmstrip_number&amp;ae=admin_image_comment_filmstrip_number_end'), //cpg1.4
+  array('Intervalo de pase de diapositivas en milisegundos (1 segundo = 1000 milisegundos)', 'slideshow_interval', 0, 'f=index.htm&amp;as=admin_image_comment_slideshow_interval&amp;ae=admin_image_comment_slideshow_interval_end'), //cpg1.4
+
+  'Configuración de comentarios', //cpg1.4
+  array('Filtrar bocaladas nos comentarios', 'filter_bad_words', 1, 'f=index.htm&amp;as=admin_image_comment_bad_words&amp;ae=admin_image_comment_bad_words_end'), //cpg1.4
+  array('Permitir risoños nos comentarios', 'enable_smilies', 1, 'f=index.htm&amp;as=admin_image_comment_smilies&amp;ae=admin_image_comment_smilies_end'), //cpg1.4
+  array('Permitir varios comentarios consecutivos dun arquivo por parte do mesmo usuario (desactivar protección anti-flood)', 'disable_comment_flood_protect', 1, 'f=index.htm&amp;as=admin_image_comment_flood&amp;ae=admin_image_comment_flood_end'), //cpg1.4
+  array('Número máximo de liñas nun comentario', 'max_com_lines', 0, 'f=index.htm&amp;as=admin_image_comment_lines&amp;ae=admin_image_comment_lines_end'), //cpg1.4
+  array('Lonxitude máxima dun comentario', 'max_com_size', 0, 'f=index.htm&amp;as=admin_image_comment_length&amp;ae=admin_image_comment_length_end'), //cpg1.4
+  array('Notificar ó administrador os novos comentarios por correo-e', 'email_comment_notification', 1, 'f=index.htm&amp;as=admin_image_comment_admin_notify&amp;ae=admin_image_comment_admin_notify_end'), //cpg1.4
+  array('Orden dos comentarios', 'comments_sort_descending', 17, 'f=index.htm&amp;as=admin_comment_sort_start&amp;ae=admin_comment_sort_end'), //cpg1.4
+  array('Prefixo para os autores de comentarios anónimos', 'comments_anon_pfx', 0, 'f=index.htm&amp;as=comments_anon_pfx&amp;ae=comments_anon_pfx_end'), //cpg1.4
+
+  'Configuración de arquivos e miniaturas',
+  array('Calidade dos arquivos JPEG', 'jpeg_qual', 0, 'f=index.htm&amp;as=admin_picture_thumbnail_jpeg_quality&amp;ae=admin_picture_thumbnail_jpeg_quality_end'), //cpg1.4
+  array('Dimensión máxima dunha miniatura <a href="#notice2" class="clickable_option">**</a>', 'thumb_width', 0, 'f=index.htm&amp;as=admin_picture_thumbnail_max-dimension&amp;ae=admin_picture_thumbnail_max-dimension_end'), //cpg1.4
+  array('Utilizar dimensión ( ancho ou alto ou aspecto máximo dunha miniatura ) <a href="#notice2" class="clickable_option">**</a>', 'thumb_use', 7, 'f=index.htm&amp;as=admin_picture_thumbnail_use-dimension&amp;ae=admin_picture_thumbnail_use-dimension_end'), //cpg1.4
+  array('Crear fotografías intermedias','make_intermediate',1, 'f=index.htm&amp;as=admin_picture_thumbnail_intermediate_toggle&amp;ae=admin_picture_thumbnail_intermediate_toggle_end'), //cpg1.4
+  array('Ancho ou alto máximo dunha fotografía/vídeo intermedio <a href="#notice2" class="clickable_option">**</a>', 'picture_width', 0, 'f=index.htm&amp;as=admin_picture_thumbnail_intermediate_dimension&amp;ae=admin_picture_thumbnail_intermediate_dimension_end'), //cpg1.4
+  array('Tamaño máximo dos arquivos subidos (en KB)', 'max_upl_size', 0, 'f=index.htm&amp;as=admin_picture_thumbnail_max_upload_size&amp;ae=admin_picture_thumbnail_max_upload_size_end'), //cpg1.4
+  array('Ancho ou alto máximo das fotografías/vídeos subidos (en pixels)', 'max_upl_width_height', 0, 'f=index.htm&amp;as=admin_picture_thumbnail_max_upload_dimension&amp;ae=admin_picture_thumbnail_max_upload_dimension_end'), //cpg1.4
+  array('Auto-redimensionar imaxes que sexan maiores do ancho ou alto máximos', 'auto_resize', 16, 'f=index.htm&amp;as=admin_picture_thumbnail_auto-resize&amp;ae=admin_picture_thumbnail_auto-resize_end'), //cpg1.4
+
+  'Configuración avanzada de arquivos e miniaturas',
+  array('Os álbums poden ser privados (Nota: se mudas dende \'si\' a \'non\' calquera álbum actualmente privado pasará a ser público)', 'allow_private_albums', 1, 'f=index.htm&amp;as=admin_picture_thumb_advanced_private_toggle&amp;ae=admin_picture_thumb_advanced_private_toggle_end'), //cpg1.4
+  array('Amosar icona de álbum privado ós usuario que non inicien sesión','show_private',1, 'f=index.htm&amp;as=admin_picture_thumb_advanced_private_icon_show&amp;ae=admin_picture_thumb_advanced_private_icon_show_end'), //cpg1.4
+  array('Caracteres non permitidos en nomes de arquivo', 'forbiden_fname_char',0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_filename_forbidden_chars&amp;ae=admin_picture_thumb_advanced_filename_forbidden_chars_end'), //cpg1.4
+  //array('Accepted file extensions for uploaded pictures', 'allowed_file_extensions',0, 'f=index.htm&amp;as=&amp;ae=_end'), //cpg1.4
+  array('Tipos de imaxe permitidos', 'allowed_img_types',0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_pic_extensions&amp;ae=admin_picture_thumb_advanced_pic_extensions_end'), //cpg1.4
+  array('Tipos de película permitidos', 'allowed_mov_types',0, 'f=index.htm&amp;as=admin_thumbs_advanced_movie&amp;ae=admin_thumbs_advanced_movie_end'), //cpg1.4
+  array('Reproducción Automática de Película', 'media_autostart',1, 'f=index.htm&amp;as=admin_movie_autoplay&amp;ae=admin_movie_autoplay_end'), //cpg1.4
+  array('Tipos de audio permitidos', 'allowed_snd_types',0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_audio_extensions&amp;ae=admin_picture_thumb_advanced_audio_extensions_end'), //cpg1.4
+  array('Tipos de documento permitidos', 'allowed_doc_types',0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_doc_extensions&amp;ae=admin_picture_thumb_advanced_doc_extensions_end'), //cpg1.4
+  array('Método para o redimensionado de imaxes','thumb_method',2, 'f=index.htm&amp;as=admin_picture_thumb_advanced_resize_method&amp;ae=admin_picture_thumb_advanced_resize_method_end'), //cpg1.4
+  array('Ruta á utilidade de \'conversión\' ImageMagick (exemplo /usr/bin/X11/)', 'impath', 0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_im_path&amp;ae=admin_picture_thumb_advanced_im_path_end'), //cpg1.4
+  //array('Allowed image types (only valid for ImageMagick)', 'allowed_img_types',0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_allowed_imagetypes&amp;ae=admin_picture_thumb_advanced_allowed_imagetypes_end'), //cpg1.4
+  array('Opcións de liña de comandos para o ImageMagick', 'im_options', 0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_im_commandline&amp;ae=admin_picture_thumb_advanced_im_commandline_end'), //cpg1.4
+  array('Ler datos EXIF nos arquivos JPEG', 'read_exif_data', 13, 'f=index.htm&amp;as=admin_picture_thumb_advanced_exif&amp;ae=admin_picture_thumb_advanced_exif_end'), //cpg1.4
+  array('Ler datos IPTC nos arquivos JPEG', 'read_iptc_data', 1, 'f=index.htm&amp;as=admin_picture_thumb_advanced_iptc&amp;ae=admin_picture_thumb_advanced_iptc_end'), //cpg1.4
+  array('O directorio do álbum <a href="#notice1" class="clickable_option">*</a>', 'fullpath', 0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_albums_dir&amp;ae=admin_picture_thumb_advanced_albums_dir_end'), //cpg1.4
+  array('O directorio para os arquivos de usuario <a href="#notice1" class="clickable_option">*</a>', 'userpics', 0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_userpics_dir&amp;ae=admin_picture_thumb_advanced_userpics_dir_end'), //cpg1.4
+  array('O prefixo para as fotos intermedias <a href="#notice1" class="clickable_option">*</a>', 'normal_pfx', 0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_intermediate_prefix&amp;ae=admin_picture_thumb_advanced_intermediate_prefix_end'), //cpg1.4
+  array('O prefixo para as miniaturas <a href="#notice1" class="clickable_option">*</a>', 'thumb_pfx', 0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_thumbs_prefix&amp;ae=admin_picture_thumb_advanced_thumbs_prefix_end'), //cpg1.4
+  array('Modo por defecto para os directorios', 'default_dir_mode', 0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_chmod_folder&amp;ae=admin_picture_thumb_advanced_chmod_folder_end'), //cpg1.4
+  array('Modo por defecto para os arquivos', 'default_file_mode', 0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_chmod_files&amp;ae=admin_picture_thumb_advanced_chmod_files_end'), //cpg1.4
+
+  'Configuración de usuario',
+  array('Permitir rexistro de novos usuarios', 'allow_user_registration', 1, 'f=index.htm&amp;as=admin_allow_registration&amp;ae=admin_allow_registration_end'), //cpg1.4
+  array('Permitir acceso a usuarios sen sesión iniciada (convidados ou anónimos)', 'allow_unlogged_access', 1, 'f=index.htm&amp;as=admin_allow_unlogged_access&amp;ae=admin_allow_unlogged_access_end'), //cpg1.4
+  array('O rexistro de usuario deber ser verificado por correo-e', 'reg_requires_valid_email', 1, 'f=index.htm&amp;as=admin_registration_verify&amp;ae=admin_registration_verify_end'), //cpg1.4
+  array('Notificar ó administrador os rexistros de usuario por correo-e', 'reg_notify_admin_email', 1, 'f=index.htm&amp;as=admin_registration_notify&amp;ae=admin_registration_notify_end'), //cpg1.4
+  array('Activación dos rexistros por parte do administrador', 'admin_activation', 1, 'f=index.htm&amp;as=admin_activation&amp;ae=admin_activation_end'),  //cpg1.4
+  array('Permitir a dous usuarios ter o mesmo enderezo de correo-e', 'allow_duplicate_emails_addr', 1, 'f=index.htm&amp;as=admin_allow_duplicate_emails_addr&amp;ae=admin_allow_duplicate_emails_addr_end'), //cpg1.4
+  array('Notificar ó administrador as subidas de usuarios pendentes de aprobación', 'upl_notify_admin_email', 1, 'f=index.htm&amp;as=admin_approval_notify&amp;ae=admin_approval_notify_end'), //cpg1.4
+  array('Permitir ós usuarios con sesión iniciada ver a lista de membros', 'allow_memberlist', 1, 'f=index.htm&amp;as=admin_user_memberlist&amp;ae=admin_user_memberlist_end'), //cpg1.4
+  array('Permitir ós usuarios mudar o seu enderezo de correo-e no perfil', 'allow_email_change', 1, 'f=index.htm&amp;as=admin_user_allow_email_change&amp;ae=admin_user_allow_email_change_end'), //cpg1.4
+  array('Permitir ós usuarios reter o control das súas imaxes nas galerías públicas', 'users_can_edit_pics', 1, 'f=index.htm&amp;as=admin_user_editpics_public_start&amp;ae=admin_user_editpics_public_end'), //cpg1.4
+  array('Número de intentos de inicio de sesión fallidos antes de bloqueo temporal (para evitar ataques de forza bruta)', 'login_threshold', 0, 'f=index.htm&amp;as=admin_user_login_start&amp;ae=admin_user_login_end'), //cpg1.4
+  array('Duración do bloqueo temporal logo dunha serie de intentos de inicio de sesión fallidos', 'login_expiry', 0, 'f=index.htm&amp;as=admin_user_login_start&amp;ae=admin_user_login_end'), //cpg1.4
+  array('Activar Informe ó Administrador', 'report_post', 1, 'f=index.htm&amp;as=admin_user_enable_report&amp;ae=admin_user_enable_report_end'),  //cpg1.4
+
+// custom profile fields,  //cpg1.4
+  'Campos personalizables para o perfil de usuario (déixaos en branco se non os usas).
+  Usa o Perfil 6 para entradas longas, como por exemplo biografías', //cpg1.4
+  array('Nome do perfil 1', 'user_profile1_name', 0, 'f=index.htm&amp;as=admin_custom&amp;ae=admin_custom_end'), //cpg1.4
+  array('Nome do perfil 2', 'user_profile2_name', 0), //cpg1.4
+  array('Nome do perfil 3', 'user_profile3_name', 0), //cpg1.4
+  array('Nome do perfil 4', 'user_profile4_name', 0), //cpg1.4
+  array('Nome do perfil 5', 'user_profile5_name', 0), //cpg1.4
+  array('Nome do perfil 6', 'user_profile6_name', 0), //cpg1.4
+
+  'Campos personalizables para a descrición de imaxe (déixaos en branco se non os usas)',
+  array('Nome do campo 1', 'user_field1_name', 0, 'f=index.htm&amp;as=admin_custom_image&amp;ae=admin_custom_image_end'), //cpg1.4
+  array('Nome do campo 2', 'user_field2_name', 0),
+  array('Nome do campo 3', 'user_field3_name', 0),
+  array('Nome do campo 4', 'user_field4_name', 0),
+
+  'Configuración de cookies',
+  array('Nome da cookie', 'cookie_name', 0, 'f=index.htm&amp;as=admin_cookie_name&amp;ae=admin_cookie_name_end'), //cpg1.4
+  array('Ruta da cookie', 'cookie_path', 0, 'f=index.htm&amp;as=admin_cookie_path&amp;ae=admin_cookie_path_end'), //cpg1.4
+
+  'Configuración de correo-e  (normalmente non se precisa mudar nada aquí; déixao en branco cando non estés certo)', //cpg1.4
+  array('Host SMTP (cando se deixe en branco, utilizarase o sendmail)', 'smtp_host', 0, 'f=index.htm&amp;as=admin_email&amp;ae=admin_email_end'), //cpg1.4
+  array('Nome de usuario SMTP', 'smtp_username', 0), //cpg1.4
+  array('Contrasinal SMTP', 'smtp_password', 0), //cpg1.4
+
+  'Rexistro (logging) e estatísticas', //cpg1.4
+  array('Modo de rexistro (logging) <a href="#notice3" class="clickable_option">***</a>', 'log_mode', 11, 'f=index.htm&amp;as=admin_logging_log_mode&amp;ae=admin_logging_log_mode_end'), //cpg1.4
+  array('Rexistrar postais-e', 'log_ecards', 1, 'f=index.htm&amp;as=admin_general_log_ecards&amp;ae=admin_general_log_ecards_end'), //cpg1.4
+  array('Manter estatísticas de voto pormenorizadas','vote_details',1, 'f=index.htm&amp;as=admin_logging_votedetails&amp;ae=admin_logging_votedetails_end'), //cpg1.4
+  array('Manter estatísticas de visualizacións pormenorizadas','hit_details',1, 'f=index.htm&amp;as=admin_logging_hitdetails&amp;ae=admin_logging_hitdetails_end'), //cpg1.4
+
+  'Configuración de mantemento', //cpg1.4
+  array('Activar modo de depurado (debug)', 'debug_mode', 9, 'f=index.htm&amp;as=debug_mode&amp;ae=debug_mode_end'), //cpg1.4
+  array('Amosar anuncios no modo de depurado', 'debug_notice', 1, 'f=index.htm&amp;as=admin_misc_debug_notices&amp;ae=admin_misc_debug_notices_end'), //cpg1.4
+  array('Galería fóra de liña (offline)', 'offline', 1, 'f=index.htm&amp;as=admin_general_offline&amp;ae=admin_general_offline_end'), //cpg1.4
+);
+
+
+// ------------------------------------------------------------------------- //
+// File db_ecard.php
+// ------------------------------------------------------------------------- //
+
+if (defined('DB_ECARD_PHP')) $lang_db_ecard_php = array(
+  'title' => 'Postais-e enviadas', //cpg1.3.0
+  'ecard_sender' => 'Remitente', //cpg1.3.0
+  'ecard_recipient' => 'Destinatario', //cpg1.3.0
+  'ecard_date' => 'Data', //cpg1.3.0
+  'ecard_display' => 'Ver postal-e', //cpg1.3.0
+  'ecard_name' => 'Nome', //cpg1.3.0
+  'ecard_email' => 'email', //cpg1.3.0
+  'ecard_ip' => 'IP #', //cpg1.3.0
+  'ecard_ascending' => 'ascendente', //cpg1.3.0
+  'ecard_descending' => 'descendente', //cpg1.3.0
+  'ecard_sorted' => 'Clasificado', //cpg1.3.0
+  'ecard_by_date' => 'por data', //cpg1.3.0
+  'ecard_by_sender_name' => 'polo nome do Remitente', //cpg1.3.0
+  'ecard_by_sender_email' => 'polo email do Remitente', //cpg1.3.0
+  'ecard_by_sender_ip' => 'polo ip do Remitente', //cpg1.3.0
+  'ecard_by_recipient_name' => 'polo nome do destinatario', //cpg1.3.0
+  'ecard_by_recipient_email' => 'polo email do destinatario', //cpg1.3.0
+  'ecard_number' => 'visualizando rexistro %s para %s de %s', //cpg1.3.0
+  'ecard_goto_page' => 'ir para páxina', //cpg1.3.0
+  'ecard_records_per_page' => 'rexistros por páxina', //cpg1.3.0
+  'check_all' => 'Marcar Todos', //cpg1.3.0
+  'uncheck_all' => 'Desmarcar Todos', //cpg1.3.0
+  'ecards_delete_selected' => 'Borrar as postais-e seleccionadas', //cpg1.3.0
+  'ecards_delete_confirm' => 'Estás certo que desexas Borrar as postais-e seleccionadas? Marque a caixa de verificación!', //cpg1.3.0
+  'ecards_delete_sure' => 'Estou certo', //cpg1.3.0
+);
+
+
+// ------------------------------------------------------------------------- //
+// File db_input.php
+// ------------------------------------------------------------------------- //
+
+if (defined('DB_INPUT_PHP')) $lang_db_input_php = array(
+	'empty_name_or_co' => 'Debes inserir un nome e o comentario',
+	'co_added' => 'o teu comentario foi inserido',
+	'alb_need_title' => 'Debes definir un nome para o album !',
+	'no_udp_needed' => 'Actualización non necesaria.',
+	'alb_updated' => 'O album foi actualizado',
+	'unknown_album' => 'O album seleccionado non existe ou non tes permiso para enviar fotos para él',
+	'no_pic_uploaded' => 'nengunha foto enviada !<br /><br />Se realmente seleccionaches unha foto para enviar, verifica se o servidor permite envios...',
+	'err_mkdir' => 'erro ó Crear directorio %s !',
+	'dest_dir_ro' => 'directorio de destino %s non pode ser grabado polo script 
+!',
+	'err_move' => 'Imposible mover %s para %s !',
+	'err_fsize_too_large' => 'A foto que estás tentando enviar é moi grande (máximo permitido %s x %s) !', //obsolete since cpg1.3 - consider removal in cpg1.4 once upload.php has been overhauled
+	'err_imgsize_too_large' => 'O tamaño da foto é maior que o permitido (máximo permitido %s KB) !', //obsolete since cpg1.3 - consider removal in cpg1.4 once upload.php has been overhauled
+	'err_invalid_img' => 'O arquivo que estás tentando enviar non é un arquivo de foto válido !',
+	'allowed_img_types' => 'Só podes enviar %s fotos.',
+	'err_insert_pic' => 'A foto \'%s\' non pode ser inserida no album ',
+	'upload_success' => 'A túa foto foi enviada con exito<br /><br />só será visible despois da aprobación do Administrador.',
+	'notify_admin_email_subject' => '%s - Notificación de Envio', //cpg1.3.0
+	'notify_admin_email_body' => 'unha foto foi enviada por %s e precisa da túa 
+aprobación. Entra en %s', //cpg1.3.0
+	'info' => 'Información',
+	'com_added' => 'comentario engadido',
+	'alb_updated' => 'album actualizado',
+	'err_comment_empty' => 'O teu comentario está valeiro !',
+	'err_invalid_fext' => 'Soamente os arquivos coas seguintes extensions son permitidos : <br /><br />%s.',
+	'no_flood' => 'Desculpa, pero és o último autor en enviar un comentario<br/><br />Edita o comentario se desexa trocalo',
+	'redirect_msg' => 'Estás sendo redireccionado.<br /><br /><br />Preme en \'CONTINUE\' se a páxina non se actualiza automaticamente',
+	'upl_success' => 'A túa foto foi engadida con exito',
+	'email_comment_subject' => 'comentario inserido', //cpg1.3.0
+	'email_comment_body' => 'Alguen posteou un comentario na túa galería. Podes velo 
+en', //cpg1.3.0
+  'album_not_selected' => 'Non se seleccionou álbum ningún', //cpg1.4
+  'com_author_error' => 'Hai un usuario rexistrado usando este alcume, inicia unha sesión ou usa outro', //cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File delete.php
+// ------------------------------------------------------------------------- //
+
+if (defined('DELETE_PHP')) $lang_delete_php = array(
+	'caption' => 'Sub-Título',
+	'fs_pic' => 'tamaño total da foto',
+	'del_success' => 'borrado con exito',
+	'ns_pic' => 'tamaño normal da foto',
+	'err_del' => 'non pode ser excluído',
+	'thumb_pic' => 'miniatura',
+	'comment' => 'comentario',
+	'im_in_alb' => 'foto no album',
+	'alb_del_success' => 'album \'%s\' borrado',
+	'alb_mgr' => 'Administrador de albums',
+	'err_invalid_data' => 'datos recibidos inválidos \'%s\'',
+	'create_alb' => 'Creando album \'%s\'',
+	'update_alb' => 'actualizando album \'%s\' título \'%s\' índice \'%s\'',
+	'del_pic' => 'Borrar arquivo',
+	'del_alb' => 'Borrar album',
+	'del_user' => 'usuario usuario',
+	'err_unknown_user' => 'O usuario seleccionado non existe !',
+  'err_empty_groups' => 'Non hai táboa de grupos ningunha, ou a táboa de grupos está valeira!', //cpg1.4
+	'comment_deleted' => 'O comentario foi borrado con exito',
+  'npic' => 'Imaxe', //cpg1.4
+  'pic_mgr' => 'Xestor de Imaxes', //cpg1.4
+  'update_pic' => 'Actualizando a imaxe \'%s\' co nome de arquivo \'%s\' e o índice \'%s\'', //cpg1.4
+  'username' => 'Nome de usuario', //cpg1.4
+  'anonymized_comments' => '%s comentario(s) feito(s) anónimo(s)', //cpg1.4
+  'anonymized_uploads' => '%s subida(s) pública(s) feita(s) anónima(s)', //cpg1.4
+  'deleted_comments' => '%s comentario(s) borrado(s)', //cpg1.4
+  'deleted_uploads' => '%s subida()s pública(s) borrada(s)', //cpg1.4
+  'user_deleted' => 'eliminado o usuario %s', //cpg1.4
+  'activate_user' => 'Activar usuario', //cpg1.4
+  'user_already_active' => 'A conta xa foi activada', //cpg1.4
+  'activated' => 'Activado', //cpg1.4
+  'deactivate_user' => 'Desactivar usuario', //cpg1.4
+  'user_already_inactive' => 'A conta xa foi desactivada', //cpg1.4
+  'deactivated' => 'Desactivado', //cpg1.4
+  'reset_password' => 'Restaurar contrasinal ou contrasinais', //cpg1.4
+  'password_reset' => 'Contrasinal restaurado a %s', //cpg1.4
+  'change_group' => 'Mudar grupo primario', //cpg1.4
+  'change_group_to_group' => 'Mudando dende %s a %s', //cpg1.4
+  'add_group' => 'Engadir grupo secundario', //cpg1.4
+  'add_group_to_group' => 'Engadindo o usuario %s ó grupo %s. Agora é membro de %s como grupo de membros primario e de %s como grupo secundario.', //cpg1.4
+  'status' => 'Estado', //cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File displayecard.php
+// ------------------------------------------------------------------------- //
+
+if (defined('DISPLAYECARD_PHP')) {
+
+$lang_displayecard_php = array(
+  'invalid_data' => 'Os datos da postal-e á que estás tentando acceder foron corrompidos polo teu cliente de correo. Comproba que a ligazón está completa.', //cpg1.4
+);
+}
+
+// ------------------------------------------------------------------------- //
+// File displayimage.php
+// ------------------------------------------------------------------------- //
+
+if (defined('DISPLAYIMAGE_PHP')){
+
+$lang_display_image_php = array(
+	'confirm_del' => 'estás certo de que desexas ELIMINAR esta foto ? \\ncomentarios 
+vinculados tamén serán excluídos.',
+	'del_pic' => 'APAGAR ESTA FOTO',
+	'size' => '%s x %s pixels',
+	'views' => '%s veces',
+	'slideshow' => 'Slideshow',
+	'stop_slideshow' => 'PARAR SLIDESHOW',
+	'view_fs' => 'Preme para ver a foto ampliada',
+	'edit_pic' => 'Editar Descripción', //cpg1.3.0
+	'crop_pic' => 'Xirar', //cpg1.3.0
+  'set_player' => 'Mudar reproductor',
+);
+
+$lang_picinfo = array(
+	'title' =>'INFORMACIONS DA FOTO',
+	'Filename' => 'Arquivo',
+	'album name' => 'album',
+	'Rating' => 'Clasificación (%s voto(s))',
+	'Keywords' => 'Palabras-chave',
+	'File Size' => 'tamaño do arquivo',
+  'Date Added' => 'Data de engadido', //cpg1.4
+	'Dimensions' => 'Dimensións',
+	'Displayed' => 'Visualizada',
+  'URL' => 'URL', //cpg1.4
+  'Make' => 'Feita', //cpg1.4
+  'Model' => 'Modelo', //cpg1.4
+  'DateTime' => 'Tempo e Data', //cpg1.4
+  'ISOSpeedRatings'=>'ISO', //cpg1.4
+  'MaxApertureValue' => 'Abertura Max', //cpg1.4
+  'FocalLength' => 'Lonxitude focal', //cpg1.4
+	'Comment' => 'comentario',
+	'addFav'=>'engadir a favoritos', //cpg1.3.0
+	'addFavPhrase'=>'Favoritos', //cpg1.3.0
+	'renFav'=>'remover dos Favoritos', //cpg1.3.0
+	'iptcTitle'=>'Titulo IPTC', //cpg1.3.0
+	'iptcCopyright'=>'Copyright IPTC', //cpg1.3.0
+	'iptcKeywords'=>'Palabras-chave IPTC', //cpg1.3.0
+	'iptcCategory'=>'Categoria IPTC', //cpg1.3.0
+	'iptcSubCategories'=>'Sub-Categorias IPTC', //cpg1.3.0
+  'ColorSpace' => 'Profundidade de Cor', //cpg1.4
+  'ExposureProgram' => 'Programa de Exposición', //cpg1.4
+  'Flash' => 'Flash', //cpg1.4
+  'MeteringMode' => 'Modo de Contador', //cpg1.4
+  'ExposureTime' => 'Tempo de Exposición', //cpg1.4
+  'ExposureBiasValue' => 'Bias de Exposición', //cpg1.4
+  'ImageDescription' => ' Descrición da Imaxe', //cpg1.4
+  'Orientation' => 'Orientación', //cpg1.4
+  'xResolution' => 'Resolución X', //cpg1.4
+  'yResolution' => 'Resolución Y', //cpg1.4
+  'ResolutionUnit' => 'Unidade de Resolución', //cpg1.4
+  'Software' => 'Software', //cpg1.4
+  'YCbCrPositioning' => 'Posicionamento YCbCr', //cpg1.4
+  'ExifOffset' => 'Offset Exif', //cpg1.4
+  'IFD1Offset' => 'Offset IFD1', //cpg1.4
+  'FNumber' => 'Número F', //cpg1.4
+  'ExifVersion' => 'Versión Exif', //cpg1.4
+  'DateTimeOriginal' => 'Tempo e Data Orixinais', //cpg1.4
+  'DateTimedigitized' => 'Tempo e Data dixitalizados', //cpg1.4
+  'ComponentsConfiguration' => 'Configuración de Compoñentes', //cpg1.4
+  'CompressedBitsPerPixel' => 'Bits Por Pixel Comprimidos', //cpg1.4
+  'LightSource' => 'Fonte de Luz', //cpg1.4
+  'ISOSetting' => 'Configuración ISO', //cpg1.4
+  'ColorMode' => 'Modo de Cor', //cpg1.4
+  'Quality' => 'Calidade', //cpg1.4
+  'ImageSharpening' => 'Definición da Imaxe', //cpg1.4
+  'FocusMode' => 'Modo de Enfoque', //cpg1.4
+  'FlashSetting' => 'Configuración do Flash', //cpg1.4
+  'ISOSelection' => 'Selección ISO', //cpg1.4
+  'ImageAdjustment' => 'Axuste de Imaxe', //cpg1.4
+  'Adapter' => 'Adaptador', //cpg1.4
+  'ManualFocusDistance' => 'Distancia de Enfoque Manual', //cpg1.4
+  'DigitalZoom' => 'Zoom Dixital', //cpg1.4
+  'AFFocusPosition' => 'Posición de Enfoque AF', //cpg1.4
+  'Saturation' => 'Saturación', //cpg1.4
+  'NoiseReduction' => 'Reducción de Ruido', //cpg1.4
+  'FlashPixVersion' => 'Versión de Flash Pix', //cpg1.4
+  'ExifImageWidth' => 'Ancho da Imaxe no Exif', //cpg1.4
+  'ExifImageHeight' => 'Alto da Imaxe no Exif', //cpg1.4
+  'ExifInteroperabilityOffset' => 'Offset de Interoperabilidade no Exif', //cpg1.4
+  'FileSource' => 'Fonte de Arquivo', //cpg1.4
+  'SceneType' => 'Tipo de Escena', //cpg1.4
+  'CustomerRender' => 'Reproducción Cliente', //cpg1.4
+  'ExposureMode' => 'Modo de Exposición', //cpg1.4
+  'WhiteBalance' => 'Balance de Brancos', //cpg1.4
+  'DigitalZoomRatio' => 'Relación de Zoom Dixital', //cpg1.4
+  'SceneCaptureMode' => 'Modo de Captura de Escena', //cpg1.4
+  'GainControl' => 'Control de Ganancia', //cpg1.4
+  'Contrast' => 'Contraste', //cpg1.4
+	'Sharpness' => 'Definición', //cpg1.4
+  'ManageExifDisplay' => 'Xestionar Visualización de Datos Exif', //cpg1.4
+  'submit' => 'Enviar', //cpg1.4
+  'success' => 'Información adaptada satisfactoriamente.', //cpg1.4
+  'details' => 'Detalles', //cpg1.4
+);
+
+$lang_display_comments = array(
+	'OK' => 'OK',
+	'edit_title' => 'Editar este comentario',
+	'confirm_delete' => 'tes a certeza de remover este comentario ?',
+	'add_your_comment' => 'Engade o teu comentario',
+	'name'=>'Nome',
+	'comment'=>'comentario',
+	'your_name' => 'O teu nome',
+  'report_comment_title' => 'Envía este comentario ó administrador', //cpg1.4
+);
+
+$lang_fullsize_popup = array(
+  'click_to_close' => 'Preme na imaxe para pechar esta xanela',
+);
+
+}
+
+// ------------------------------------------------------------------------- //
+// File ecard.php
+// ------------------------------------------------------------------------- //
+
+if (defined('ECARDS_PHP') || defined('DISPLAYECARD_PHP')) $lang_ecard_php =array(
+	'title' => 'Enviar unha postal-e',
+	'invalid_email' => '<b>Aviso</b> : email inválido !',
+	'ecard_title' => '%s enviouche unha postal-e!',
+	'error_not_image' => 'só as imaxes poden ser enviadas como postais-e.', //cpg1.3.0
+  'view_ecard' => 'Ligazón alternativa se a postal-e non se amosa correctamente', //cpg1.4
+  'view_ecard_plaintext' => 'Para ver a postal-e, copia e pegua o URL na barra de direccións do teu navegador:', //cpg1.4
+	'view_more_pics' => 'Preme aqui para ver máis fotos !',
+	'send_success' => 'A túa postal-e foi enviada!',
+	'send_failed' => 'Desculpe, pero o servidor non pode enviar a túa postal-e...',
+	'from' => 'Remitente',
+	'your_name' => 'O seu nome',
+	'your_email' => 'O seu e-mail',
+	'to' => 'Para',
+	'rcpt_name' => 'Destinatario',
+	'rcpt_email' => 'E-mail do destinatario',
+	'greetings' => 'Título',
+	'message' => 'Mensaxe',
+  'ecards_footer' => 'Enviado %s dende a IP %s ás %s (horario da Galería)', //cpg1.4
+'preview' => 'Vista previa da Postal-e', //cpg1.4
+  'preview_button' => 'Vista previa', //cpg1.4
+  'submit_button' => 'Enviar postal-e', //cpg1.4
+  'preview_view_ecard' => 'Isto será a ligazón alternativa á postal-e unha vez que sexa xerada. Non funcionará para previsualizacións.', //cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File report_file.php //cpg1.4
+// ------------------------------------------------------------------------- //
+
+if (defined('REPORT_FILE_PHP') || defined('DISPLAYREPORT_PHP')) $lang_report_php =array(
+  'title' => 'Reportar ó administrador', //cpg1.4
+  'invalid_email' => '<b>Erro</b> : dirección de e-mail inválida !', //cpg1.4
+  'report_subject' => 'Un informe de %s na galería %s', //cpg1.4
+  'view_report' => 'Ligazón alternativa se o informe non se amosa correctamente', //cpg1.4
+  'view_report_plaintext' => 'Para ver este informe, copia e pega esta url no teu navegador:', //cpg1.4
+  'view_more_pics' => 'Galería', //cpg1.4
+  'send_success' => 'O teu informe foi enviado', //cpg1.4
+  'send_failed' => 'Síntoo pero o servidor non pode enviar o teu informe...', //cpg1.4
+  'from' => 'dende', //cpg1.4
+  'your_name' => 'O teu nome', //cpg1.4
+  'your_email' => 'O teu e-mail', //cpg1.4
+  'to' => 'a', //cpg1.4
+  'administrator' => 'Administrador/Mod', //cpg1.4
+  'subject' => 'Asunto', //cpg1.4
+  'comment_field_name' => 'Reportando no Comentario de "%s"', //cpg1.4
+  'reason' => 'Razón', //cpg1.4
+  'message' => 'Mensaxe', //cpg1.4
+  'report_footer' => 'Enviado por %s dende a IP %s ás %s (horario da galería)', //cpg1.4
+  'obscene' => 'obsceno', //cpg1.4
+  'offensive' => 'ofensivo', //cpg1.4
+  'misplaced' => 'off-topic/fóra de sitio', //cpg1.4
+  'missing' => 'perdido', //cpg1.4
+  'issue' => 'erro/non se ve', //cpg1.4
+  'other' => 'outro', //cpg1.4
+  'refers_to' => 'O informe de arquivo refírese a', //cpg1.4
+  'reasons_list_heading' => 'razón(s) do informe:', //cpg1.4
+  'no_reason_given' => 'non se definiu razón ningunha', //cpg1.4
+  'go_comment' => 'Ir ó comentario', //cpg1.4
+  'view_comment' => 'Ver o informe enteiro con comentario', //cpg1.4
+  'type_file' => 'arquivo', //cpg1.4
+  'type_comment' => 'comentario', //cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File editpics.php
+// ------------------------------------------------------------------------- //
+
+if (defined('EDITPICS_PHP')) $lang_editpics_php = array(
+	'pic_info' => '&nbsp;Info da Foto',
+	'album' => 'album',
+	'title' => 'Título',
+  'filename' => 'Nome do arquivo', //cpg1.4
+	'desc' => 'Descripción',
+	'keywords' => 'Palabras-chave',
+  'new_keyword' => 'Nova palabra-chave', //cpg1.4
+  'new_keywords' => 'Nova palabra-chave atopada', //cpg1.4
+  'existing_keyword' => 'palabra-chave existente', //cpg1.4
+	'pic_info_str' => '%sx%s - %sKB - %s visitas - %s votos',
+	'approve' => 'Aprobar foto',
+	'postpone_app' => 'Pospoñer aprobacion',
+	'del_pic' => 'Apagar foto',
+  'del_all' => 'Eliminar TODOS os arquivos', //cpg1.4
+	'read_exif' => 'Ler EXIF novamente', //cpg1.3.0
+	'reset_view_count' => 'Xerar contador',
+  'reset_all_view_count' => 'Resetear TODOS os contadores de visitas', //cpg1.4
+	'reset_votes' => 'Xerar votos',
+  'reset_all_votes' => 'Resetear TODOS os votos', //cpg1.4
+	'del_comm' => 'ELIMINAR comentarios',
+  'del_all_comm' => 'Eliminar TODOS	os comentarios', //cpg1.4
+	'upl_approval' => 'Aprobar envio',
+	'edit_pics' => 'Editar fotos',
+	'see_next' => 'Ver fotos seguintes',
+	'see_prev' => 'Ver fotos anteriores',
+	'n_pic' => '%s fotos',
+	'n_of_pic_to_disp' => 'Número de fotos a amosar',
+	'apply' => 'Aplicar modificacións',
+	'crop_title' => 'Editor de Fotos', //cpg1.3.0
+	'preview' => 'Previsualizar', //cpg1.3.0
+	'save' => 'Gardar foto', //cpg1.3.0
+	'save_thumb' =>'Gardar como miniatura', //cpg1.3.0
+  'gallery_icon' => 'Facer icono', //cpg1.4
+	'sel_on_img' =>'A selección ten que ser na imaxe enteira!', //js-alert //cpg1.3.0
+  'album_properties' =>'Propiedades do Album', //cpg1.4
+  'parent_category' =>'Categoría principal (Pai)', //cpg1.4
+  'thumbnail_view' =>'Ver miniatura', //cpg1.4
+  'select_unselect' =>'seleccionar/deseleccionar todos', //cpg1.4
+  'file_exists' => "O arquivo de destino '%s' xa existe.", //cpg1.4
+  'rename_failed' => "Fallou ó renomear '%s' a '%s'.", //cpg1.4
+  'src_file_missing' => "Código do arquivo '%s' foi perdido.", // cpg 1.4
+  'mime_conv' => "Non podo convertir o arquivo dende '%s' a '%s'",//cpg1.4
+  'forb_ext' => 'Extensión de arquivo prohibida.',//cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File faq.php
+// ------------------------------------------------------------------------- //
+
+if (defined('FAQ_PHP')) $lang_faq_php = array(
+  'faq' => 'Preguntas máis frecontes', //cpg1.3.0
+  'toc' => 'contido', //cpg1.3.0
+  'question' => 'Pregunta: ', //cpg1.3.0
+  'answer' => 'Resposta: ', //cpg1.3.0
+);
+
+if (defined('FAQ_PHP')) $lang_faq_data = array(
+  'Dúvidas xerais', //cpg1.3.0
+  array('Por qué me teño que rexistrar?', 'O Rexistro pode ou non ser requerido polo administrador. O rexistro do usuario e características adicionais como: o envio de fotos, lista de favoritos, votar, e engadir comentarios.', 'allow_user_registration', '0'), //cpg1.3.0
+  array('Cómo fago para rexistrarme?', 'Vai a &quot;rexistrarse&quot; e rechea os campos obrigatorios (e os opcionais se queres tamén).<br />Se o Administrador tivera a activación de usuarios por email activada, entón recibirás un email informándote sobre o rexistro e dándote instruccións para a activación da conta. Antes de loguearte, a tua conta debe ser activada.', 'allow_user_registration', '1'), //cpg1.4
+  array('Cómo fago para loguear/entrar?', 'Vai a &quot;Login&quot;, insire o teu nome de usuario e contrasinal (marca &quot;Gardar contrasinal&quot; no caso de que queiras loguearte automáticamente), despois disto, xa estarás logueado.<br /><b>IMPORTANTE: O teu navegador debe estar habilitado para aceptar cookies/(galletas) e non deben ser borradas se queres manter a funcionalidade da ocpion &quot;Gardar contrasinal&quot;.</b>', 'offline', 0), //cpg1.3.0
+  array('Por qué non consigo loguear?', 'Rexistrácheste e activache a tua conta?. É necesario activar a conta antes de loguearse. Para outros tipos de problema para acceder a conta, contacta có administrador do sitio.', 'offline', 0), //cpg1.3.0
+  array('Qué acontece se esquezo o meu contrasinal?', 'Se este sitio tivera a ligazón &quot;Esquecín o meu contrasinal&quot;, úsao. Se non o houbera, contacta co administrador para pedir un novo contrasinal.', 'offline', 0), //cpg1.3.0
+  //array('Qué acontece se troco o meu enderezo de e-mail?', 'Simplemente loguea e troca o teu enderezo de e-mail en quot;A túa conta&quot;', 'offline', 0), //cpg1.3.0
+  array('Cómo gardo unha imaxe nos &quot;Meus Favoritos&quot;?', 'Preme na miniatura e despois preme en &quot;informacións da foto&quot; (<img src="images/info.gif" width="16" height="16" border="0" alt="informacións da Foto" />); procura un pouco máis abaixo e entón preme en &quot;engadir a favoritos&quot;.<br />O administrador debe ter a opción de &quot;informacións da Foto&quot; activada por defecto.<br />IMPORTANTE: As cookies deben estar habilitadas en non deben ser borradas.', 'offline', 0), //cpg1.3.
+  array('Cómo voto nunha foto?', 'Na páxina da foto, abaixo, hai 6 opcións de voto.', 'offline', 0), //cpg1.3.0
+  array('Cómo poño un comentario para unha foto?', 'A páxina da foto ten un campo dispoñible para que engadas o teu comentario.', 'offline', 0), //cpg1.3.0
+  array('Cómo subo un arquivo?', 'Vai a &quot;Upload&quot;e selecciona o album no que queres subir o teu arquivo. Preme &quot;Browse,&quot; busca o arquivo a subir, e preme &quot;abrir.&quot; Engade un título e descripción se queres. Preme en &quot;Enviar&quot;.<br /><br />Alternativamente, se usas <b>Windows XP</b>, podes subir varios arquivos directamente nos teus albums privados usando o XP Publishing wizard.<br />Para máis instruccións sobre cómo, e conseguir o rexistro requerido do arquivo, preme <a href="xp_publish.php">aquí.</a>', 'allow_private_albums', 1), //cpg1.4
+  array('Onde podo enviar unha foto?', 'Podera&quot;s enviar unha foto a un dos albums que tiveras na &quot;miña Galería&quot;. O administrador pode permitir que envies unha foto para un ou máis albums da galería Principal.', 'allow_private_albums', 0), //cpg1.3.0
+  array('Qué tipo e qué tamaño de foto podo enviar?', 'O tamaño e o tipo da foto (jpg,gif,..etc.) depende do administrador.', 'offline', 0), //cpg1.3.0
+  array('Qué é a &quot;miña Galería&quot;?', '&quot;A miña Galería&quot; é unha galería Persoal onde o usuario pode enviar as suas fotos e administralas.', 'allow_private_albums', 0), //cpg1.3.0
+  array('Cómo creo, renomeo ou borro un album na &quot;miña Galería&quot;?', 'Debes estar no &quot;Modo-Admin&quot;<br />Vai a &quot;Crear/Ordenar Meus albums&quot;e preme en&quot;Novo&quot;. Troca o nome do &quot;Novo album&quot; para poñer o nome que desexes.<br />Tamén podes renomear calqueira album na tua galería.<br />Para rematar, preme en &quot;Aplicar modificacions&quot;.', 'allow_private_albums', 0), //cpg1.3.0
+  array('Cómo podo restrinxir ós usuarios de ollar os meus albums?', 'Debes estar no &quot;Modo-Admin&quot;<br />Vai a &quot;Modificar Meus albums. Na barra &quot;actualizar album&quot;, Selecciona o album que desexas modificar.<br />Aqui podes trocar o nome, a Descripción, a miniatura, restrinxir a visualización e/ou engadir comentarios/votar.<br 
+/>Preme en &quot;Actualizar álbum&quot;.', 'allow_private_albums', 0), //cpg1.3.0
+  array('Cómo podo ver outros usuarios da galería?', 'Vai a &quot;albums&quot; e depois preme en Membros &quot;Membros&quot;.', 'allow_private_albums', 0), //cpg1.3.0
+  array('Qué son as cookies?', 'As cookies son uns arquivos que conteñen informacións que se gardan no teu computador.<br />as cookies xeralmente permiten ós usuario sair, e cando volten ó sitio ter varias informacións gardadas incluindo contrasinal e o login.', 'offline', 0), //cpg1.3.0
+  //array('Onde podo encontrar este programa para o meu sitio?', 'O Coppermine é unha Galería Multimedia gratuita, ofrecida baixo licenza GNU GPL. Ten unha chea de características e foi portado a diversas plataformas. Visita a <a href="http://coppermine-gallery.net/">Páxina Principal do Coppermine</a> para obter máis detalles ou descargalo.', 'offline', 0), //cpg1.3.0
+
+  'Navegando no Sitio', //cpg1.3.0
+  array('Qué é o boton &quot;albums&quot;?', 'Isto amosará toda a galería coa ligazón de cada categoria. As Miniaturas poden ser unha ligazón para unha categoria.', 'offline', 0), //cpg1.3.0
+  array('Qué é o boton &quot;miña Galería&quot;?', 'Esta é unha caracteristica que permite ó usuario ter a sua propia galería, engadir, Borrar ou modificar albums ou ben enviar fotos.', 'allow_private_albums', 0), //cpg1.3.0
+  array('Cal é a diferencia entre &quot;Modo Admin&quot; e &quot;Modo usuario&quot;?', 'Esta é unha caracteristica que permite ó usuario, cando esta en modo-admin, modificar as súas galerías (e outras cousas se esta permitido polo administrador).', 'allow_private_albums', 0), //cpg1.3.0
+  array('Qué é o boton &quot;Enviar foto&quot;?', 'Isto permite ó usuario enviar unha foto (tamaño e tipo son definidos polo adminstrador do sitio) para a galería seleccionada por tí ou polo administrador.', 'allow_private_albums', 0), //cpg1.3.0
+  array('Qué é o boton &quot;Últimos envios&quot;?', 'Nesta ligazón verás a lista das últimas fotos engadidas ó sitio.', 'offline', 0), //cpg1.3.0
+  array('Qué é o boton &quot;Últimos comentarios&quot;?', 'Aqui verás os derradeiros comentarios conxuntamente coas suas respectivas fotos en miniatura.', 'offline', 0), //cpg1.3.0
+  array('Qué é o boton &quot;máis visualizadas&quot;?', 'Aqui verás as fotos listadas por \'máis Visualizadas\' (tanto por usuarios rexistrados ou non).', 'offline', 0), //cpg1.3.0
+  array('Qué é o boton &quot;máis Popularidade&quot;?', 'Nesta parte verás as fotos que teñen máis popularidade, incluindo os datos desa popularidade (ex: 5 usuarios votaron <img src="images/rating3.gif" width="65" height="14" border="0" alt="" />: calificándoa como 1 para 5 (1,2,3,4,5) o que resultará unha media de <img src="images/rating3.gif"
+width="65" height="14" border="0" alt="" /> .)<br />As calificacións van de <img src="images/rating5.gif" width="65" height="14" border="0" alt="best" /> (boa) hata <img src="images/rating0.gif" width="65" height="14" border="0" 
+alt="worst" /> (terrible).', 'offline', 0), //cpg1.3.0
+  array('Qué é o boton &quot;Meus favoritos&quot;?', 'Nesta área poderás ver as fotos que engadiche nos teu favoritos. Estes favoritos serán gardados como cookie e ficarán no teu computador.', 'offline', 0), //cpg1.3.0
+);
+
+
+// ------------------------------------------------------------------------- //
+// File forgot_passwd.php
+// ------------------------------------------------------------------------- //
+
+if (defined('FORGOT_PASSWD_PHP')) $lang_forgot_passwd_php = array(
+  'forgot_passwd' => 'Lembrar contrasinal', //cpg1.3.0
+  'err_already_logged_in' => 'Xa estas logueado !', //cpg1.3.0
+  'enter_username_email' => 'Insire o teu login ou o teu email', //cpg1.3.0
+  'submit' => 'Enviar', //cpg1.3.0
+  'illegal_session' => 'Olvidache-la contrasinal, sesión inválida ou expirou.', //cpg1.4
+  'failed_sending_email' => 'O Lembrado da sua contrasinal non pode ser enviado 
+para o seu email !', //cpg1.3.0
+  'email_sent' => 'un email co seu usuario e sua contrasinal foi enviado para %s', //cpg1.4
+  'verify_email_sent' => 'Enviouse un correo-e a %s. Por favor, comproba o teu correo-e para completar o proceso.', //cpg1.4
+  'err_unk_user' => 'O usuario seleccionado non existe!', //cpg1.3.0
+  'account_verify_subject' => '%s - Nova contrasinal requrida', //cpg1.4
+  'account_verify_body' => 'Solicitaches unha nova contrasinal. Se queres que che enviemos a nova contrasinal o teu email, preme na seguinte ligazón:
+
+%s', //cpg1.4
+  'passwd_reset_subject' => '%s - A túa nova contrasinal', //cpg1.4
+  'passwd_reset_body' => 'Aquí esta a nova contrasinal que pediches:
+Nome: %s
+Contrasinal: %s
+Preme %s para loguear.', //cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File groupmgr.php
+// ------------------------------------------------------------------------- //
+
+if (defined('GROUPMGR_PHP')) $lang_groupmgr_php = array(
+'group_name' => 'Grupo', //cpg1.4
+  'permissions' => 'Permisos', //cpg1.4
+  'public_albums' => 'Subir albums publicos', //cpg1.4
+  'personal_gallery' => 'Galería persoal', //cpg1.4
+  'upload_method' => 'Método de "subida" (Maneira de inseri-la imaxen)', //cpg1.4
+  'disk_quota' => 'Espazo', //cpg1.4
+  'rating' => 'Posición', //cpg1.4
+  'ecards' => 'Postais', //cpg1.4
+  'comments' => 'Comentarios', //cpg1.4
+  'allowed' => 'Permitido/a', //cpg1.4
+  'approval' => 'Aprovar', //cpg1.4
+  'boxes_number' => 'No. de caixas', //cpg1.4
+  'variable' => 'variable', //cpg1.4
+  'fixed' => 'fixo/a', //cpg1.4
+	'apply' => 'Aplicar modificacións',
+	'create_new_group' => 'Crear novo grupo',
+	'del_groups' => 'Apagar grupo(s) seleccionado(s)',
+	'confirm_del' => 'coidado: ó remover un grupo o seu contido será transferido para \'Rexistrado\' !\n\nquere continuar ?', //js-alert
+	'title' => 'administrar grupos',
+  'num_file_upload' => 'Caixas de subida de arquivos', //cpg1.4
+  'num_URI_upload' => 'Caixas de subida de URI', //cpg1.4
+  'reset_to_default' => 'Resetear a nome por defecto (%s) - recomendado!', //cpg1.4
+  'error_group_empty' => 'a táboa grupo está valeira !<br /><br />Grupos predeterminado creados, por favor recarga esta páxina', //cpg1.4
+  'explain_greyed_out_title' => 'Por qué esta esta fila greyed para fora?', //cpg1.4
+  'explain_guests_greyed_out_text' => 'Non podes troca-las propiedades deste grupo porque marcache-la opcion &quot; Permitir acceso a usuarios NON rexistrados (invitados ou anónimos) &quot; a &quot;No&quot; na páxina de configuración. Todo-los invitados (membros do grupo %s) non poden facer nada (non entendo....)but login; there for group settings don\'t apply for them.', //cpg1.4
+  'explain_banned_greyed_out_text' => 'Non podes troca-las propiedades do grupo %s porque os membros non poden facer nada.', //cpg1.4
+  'group_assigned_album' => 'album(s) asignados ', //cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File index.php
+// ------------------------------------------------------------------------- //
+
+if (defined('INDEX_PHP')){
+
+$lang_index_php = array(
+  'welcome' => 'Sexa Benvid@!'
+);
+
+$lang_album_admin_menu = array(
+	'confirm_delete' => 'estás certo de que desexas ELIMINAR este album ? \\nTodas as fotos e comentarios serán excluídos.', //js-alert
+	'delete' => 'ELIMINAR',
+	'modify' => 'PROPIEDADES',
+	'edit_pics' => 'EDITAR FOTOS',
+);
+
+$lang_list_categories = array(
+	'home' => 'Inicio',
+	'stat1' => '<b>[pictures]</b> fotos en <b>[albums]</b> albums e <b>[cat]</b> categorias con <b>[comments]</b> comentarios vistos <b>[views]</b> veces',
+	'stat2' => '<b>[pictures]</b> fotos en <b>[albums]</b> albums visitados <b>[views]</b> veces',
+	'xx_s_gallery' => '%s\'s Galería',
+	'stat3' => '<b>[pictures]</b> fotos en <b>[albums]</b> albums con <b>[comments]</b> comentarios, visitadas <b>[views]</b> veces'
+);
+
+$lang_list_users = array(
+	'user_list' => 'Lista de usuarios',
+	'no_user_gal' => 'nengún usuario pode ter albums',
+	'n_albums' => '%s album(s)',
+	'n_pics' => '%s foto(s)'
+);
+
+$lang_list_albums = array(
+	'n_pictures' => '%s foto(s)',
+	'last_added' => ', última foto engadida o %s',
+  'n_link_pictures' => '%s arquivos ligados', //cpg1.4
+  'total_pictures' => '%s total arquivos', //cpg1.4
+);
+
+}
+
+// ------------------------------------------------------------------------- //
+// File keywordmgr.php //cpg1.4
+// ------------------------------------------------------------------------- //
+
+if (defined('KEYWORDMGR_PHP')) $lang_keywordmgr_php = array(
+  'title' => 'Xestionar palabras-chave', //cpg1.4
+  'edit' => 'editar', //cpg1.4
+  'delete' => 'eliminar', //cpg1.4
+  'search' => 'procurar', //cpg1.4
+  'keyword_test_search' => 'procurar %s en nova xanela', //cpg1.4
+  'keyword_del' => 'elimina-la palabra-chave %s', //cpg1.4
+  'confirm_delete' => 'Estás seguro que queres elimina-las palabras-chave %s da galería enteira?', //cpg1.4  // js-alert
+  'change_keyword' => 'trocar palabra-chave', //cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File login.php
+// ------------------------------------------------------------------------- //
+
+if (defined('LOGIN_PHP')) $lang_login_php = array(
+  'login' => 'Login',
+  'enter_login_pswd' => 'Insire o seu nome de usuario e contrasinal para entrar',
+  'username' => 'usuario',
+  'password' => 'contrasinal',
+  'remember_me' => 'Gardar contrasinal',
+  'welcome' => 'Benvido(a) %s ...',
+  'err_login' => '*** non foi posible loguear. téntao novamente ***',
+  'err_already_logged_in' => 'Xa estas logueado !',
+  'forgot_password_link' => 'Esquecín o meu contrasinal', //cpg1.3.0
+  'cookie_warning' => 'Atención: o teu navegador non acepta cookies', //cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File logout.php
+// ------------------------------------------------------------------------- //
+
+if (defined('LOGOUT_PHP')) $lang_logout_php = array(
+  'logout' => 'Saír',
+  'bye' => 'Deica logo %s ...',
+  'err_not_loged_in' => 'Non estas logueado !',
+);
+
+// ------------------------------------------------------------------------- //
+// File minibrowser.php  //cpg1.4
+// ------------------------------------------------------------------------- //
+
+if (defined('MINIBROWSER_PHP')) $lang_minibrowser_php = array(
+  'close' => 'pechar', //cpg1.4
+  'submit' => 'OK', //cpg1.4
+  'up' => 'subir un nivel', //cpg1.4
+  'current_path' => 'ruta actual', //cpg1.4
+  'select_directory' => 'por favor selecciona un directorio', //cpg1.4
+  'click_to_close' => 'Preme na imaxe para pechar esta xanela',
+);
+
+// ------------------------------------------------------------------------- //
+// File modifyalb.php
+// ------------------------------------------------------------------------- //
+
+if (defined('MODIFYALB_PHP')) $lang_modifyalb_php = array(
+	'upd_alb_n' => 'actualizar album %s',
+	'general_settings' => 'Configuracións xerais',
+	'alb_title' => 'Título do album',
+	'alb_cat' => 'Categoria do album',
+	'alb_desc' => 'Descripción do album',
+  'alb_keyword' => 'Palabra-chave do album', //cpg1.4
+	'alb_thumb' => 'Miniatura do album',
+	'alb_perm' => 'permisos para este album',
+	'can_view' => 'album pode ser visto por',
+	'can_upload' => 'Visitantes poden enviar fotos',
+	'can_post_comments' => 'Visitantes poden enviar comentarios',
+	'can_rate' => 'Visitantes poden votar as fotos',
+	'user_gal' => 'Galería do usuario',
+	'no_cat' => '* sen categoria *',
+	'alb_empty' => 'album valeiro',
+	'last_uploaded' => 'Último envio',
+	'public_alb' => 'Todos (album público)',
+	'me_only' => 'só eu',
+	'owner_only' => 'só o dono do album (%s)',
+	'groupp_only' => 'Membros do grupo\'%s\' ',
+	'err_no_alb_to_modify' => 'Non podes modificar nengún album na base de datos.',
+	'update' => 'actualizar album',
+  'reset_album' => 'Resetear album', //cpg1.4
+  'reset_views' => 'Resetear contador de visitas para &quot;0&quot; en %s', //cpg1.4
+  'reset_rating' => 'Reseter posicións en todo-los arquivos no %s', //cpg1.4
+  'delete_comments' => 'Eliminar todo-los comentarios feitos no %s', //cpg1.4
+  'delete_files' => '%sIrreversibe%s elliminar todo-los arquivos no %s', //cpg1.4
+  'views' => 'vistas', //cpg1.4
+  'votes' => 'votos', //cpg1.4
+  'comments' => 'comentarios', //cpg1.4
+  'files' => 'arquivos', //cpg1.4
+  'submit_reset' => 'gardar trocos', //cpg1.4
+  'reset_views_confirm' => 'Estou seguro', //cpg1.4
+  'notice1' => '(*) dependendo das opcións dos %sgrupos%s',  //cpg1.4 //(do not translate %s!)
+  'alb_password' => 'Contrasinal do album', //cpg1.4
+  'alb_password_hint' => 'Recordatorio do contrasinal do álbum', //cpg1.4
+  'edit_files' =>'Editar arquivos', //cpg1.4
+  'parent_category' =>'Categoría pai (principal)', //cpg1.4
+  'thumbnail_view' =>'Ver miniatura', //cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File phpinfo.php
+// ------------------------------------------------------------------------- //
+
+if (defined('PHPINFO_PHP')) $lang_phpinfo_php = array(
+  'php_info' => 'PHP info',
+  'explanation' => 'Esta é a saída xerada pola función-PHP <a href="http://www.php.net/phpinfo">phpinfo()</a>, q se amosa co Coppermine (trimming the output at the right side).',
+  'no_link' => 'Permitir a outros ver a túa phpinfo pode ser un risco de seguridade, este é o motivo polo que esta páxina so é visible cando iniciaches sesión como administrador. Non podes publicar unha ligazón a esta páxina para permitirlles o acceso a outros, xa que se lles denegará o acceso.',
+);
+
+// ------------------------------------------------------------------------- //
+// File picmgr.php //cpg1.4
+// ------------------------------------------------------------------------- //
+if (defined('PICMGR_PHP')) $lang_picmgr_php = array(
+  'pic_mgr' => 'Xestor de fotos', //cpg1.4
+  'select_album' => 'Selecciona album', //cpg1.4
+  'delete' => 'Eliminar', //cpg1.4
+  'confirm_delete1' => 'Estás seguro que queres elimina-la foto ?', //cpg1.4
+  'confirm_delete2' => '\nA foto será eliminada para sempre.', //cpg1.4
+  'apply_modifs' => 'Apicar modificacións', //cpg1.4
+  'confirm_modifs' => 'Confirmar modificacións', //cpg1.4
+  'pic_need_name' => 'A foto precisa ter nome !', //cpg1.4
+  'no_change' => 'Non se puido face-lo troco !', //cpg1.4
+  'no_album' => '*album Nº *', //cpg1.4
+  'explanation_header' => 'A orde a medida que podes especificar nesta páxina só se terá en conta se', //cpg1.4
+  'explanation1' => 'o administrador configurou a "Orde por defecto para os arquivos" en "Posición descendente" ou "Posición ascendente" (configuración global para todos os usuarios que non escollan outra opción de ordeación individualmente)', //cpg1.4
+  'explanation2' => 'o usuario escolleu "Posición descendente" ou "Posición ascendente" na páxina de miniaturas (configuración por usuario)', //cpg1.4
+);
+
+
+// ------------------------------------------------------------------------- //
+// File pluginmgr.php //cpg1.4
+// ------------------------------------------------------------------------- //
+
+if (defined('PLUGINMGR_PHP')){
+
+$lang_pluginmgr_php = array(
+  'confirm_uninstall' => 'Estás certo de que queres DESINSTALAR este plugin', //cpg1.4
+  'confirm_delete' => 'Estás certo de que queres ELIMINAR este plugin', //cpg1.4
+  'pmgr' => 'Xestor de Plugins', //cpg1.4
+  'name' => 'Nome', //cpg1.4
+  'author' => 'Autor', //cpg1.4
+  'desc' => 'Descrición', //cpg1.4
+  'vers' => 'v', //cpg1.4
+  'i_plugins' => 'Plugins Instalados', //cpg1.4
+  'n_plugins' => 'Plugins Non Instalados', //cpg1.4
+  'none_installed' => 'Ningún Instalado', //cpg1.4
+  'operation' => 'Operación', //cpg1.4
+  'not_plugin_package' => 'O arquivo subido non é un paquete de plugin.', //cpg1.4
+  'copy_error' => 'Houbo un erro ó copiar o paquete ó cartafol de plugins.', //cpg1.4
+  'upload' => 'Subir', //cpg1.4
+  'configure_plugin' => 'Configurar plugin', //cpg1.4
+  'cleanup_plugin' => 'Limpar plugin', //cpg1.4
+);
+}
+
+// ------------------------------------------------------------------------- //
+// File ratepic.php
+// ------------------------------------------------------------------------- //
+
+if (defined('RATEPIC_PHP')) $lang_rate_pic_php = array(
+	'already_rated' => 'Desculpa, pero xa votaches esta foto',
+	'rate_ok' => 'O teu voto foi feito',
+	'forbidden' => 'Non podes votar as túas propias fotos.', //cpg1.3.0
+);
+
+// ------------------------------------------------------------------------- //
+// File register.php & profile.php
+// ------------------------------------------------------------------------- //
+
+if (defined('REGISTER_PHP') || defined('PROFILE_PHP')) {
+
+$lang_register_disclamer = <<<EOT
+En canto os administradores do sitio ( {SITE_NAME} ) tentaran remover qualqueira contido indesexable, é imposible revisar todas as fotos, recoñeces que todas as fotos feitas por ti neste sitio expresan as túas opinións e non as dos administradores ou do webmaster (Agás os seus mesmos) desfacéndose de calqueira responsabilidade.<br />
+<br />
+Acordas non postear nengun material abusivo, obsceno, vulgar, odiable, que indique sexualidade ou calqueira outro material que viole calqueira lei aplicable. Concordas que calqueira Webmaster, Administrador e moderador do sitio ( {SITE_NAME} ) ten o dereito de remover, editar calqueira conteído a calqueira hora que sexa necesario. Como usuario concordas que todas as informacións dadas por ti serán gardadas no noso banco de datos, e que estas informacións non sexan enviadas a nengunha terceira persoa sen o teu consentimento. O Webmaster e o Administrador non se responsibilizarán por nengunha acción hacker que poida comprometer os datos.<br />
+<br />
+Este sitio usa cookies para almacenar informacións no seu computador. Estas cookies serven só para proveer de maior tecnoloxia ó sitio. O seu email é usado só para confirmar os detalles do seu rexistro e sua contrasinal.<br />
+<br />
+Premendo en 'Estou dacordo', concordas con todos estas condicions.
+EOT;
+
+$lang_register_php = array(
+	'page_title' => 'rexistro DE USUARIO',
+	'term_cond' => 'Termos e condicions',
+	'i_agree' => 'Estou dacordo',
+	'submit' => 'Enviar rexistro',
+	'err_user_exists' => 'Este nome de usuario xa existe, por favor intente 
+outro',
+	'err_password_mismatch' => 'As duas contrasinais non concordan. Insira 
+novamente',
+	'err_unhame_short' => 'Nome de usuario precisa ter mínimo 2 caracteres',
+	'err_password_short' => 'Sua contrasinal ten que ter un mínimo de 2 caracteres',
+	'err_unhame_pass_diff' => 'Nome de usuario e contrasinal deben ser diferentes',
+	'err_invalid_email' => 'Enderezo de e-mail inválido',
+	'err_duplicate_email' => 'xa existe outro usuario Rexistrado con este e-mail',
+	'enter_info' => 'Entre coas informacións de rexistro',
+	'required_info' => 'Información Obrigatoria',
+	'optional_info' => 'Información Opcional',
+	'username' => 'usuario',
+	'password' => 'contrasinal',
+	'password_again' => 'reescriba a contrasinal',
+	'email' => 'E-mail',
+	'location' => 'Enderezo',
+	'interests' => 'Intereses',
+	'website' => 'Páxina web',
+	'occupation' => 'Profesión',
+	'error' => 'ERRO',
+	'confirm_email_subject' => '%s - CONFIRMACION DE rexistro',
+	'information' => 'Información',
+	'failed_sending_email' => 'O e-mail de confirmación de rexistro non pode ser enviado !',
+	'thank_you' => 'Graciñas por rexistrarte.<br /><br />As informacións para finalizar o teu rexistro foron enviadas ó teu e-mail.',
+	'acct_created' => 'A túa conta foi creada e agora podes entrar co teu nome de usuario e a túa contrasinal',
+	'acct_active' => 'A túa conta xa está activa. Entra co teu nome de usuario e contrasinal para loguear',
+	'acct_already_act' => 'A túa conta xa está activa !',
+	'acct_act_failed' => 'Esta conta aínda non está activa  !',
+	'err_unk_user' => 'o usuario seleccionado non existe !',
+	'x_s_profile' => 'Perfil de %s',
+	'group' => 'Grupo',
+	'reg_date' => 'Participante',
+	'disk_usage' => 'Uso do disco',
+	'change_pass' => 'trocar contrasinal',
+	'current_pass' => 'contrasinal actual',
+	'new_pass' => 'Nova contrasinal',
+	'new_pass_again' => 'reescriba a nova contrasinal',
+	'err_curr_pass' => 'contrasinal atual INCORRECTA',
+	'apply_modif' => 'Gardar modificacions',
+	'change_pass' => 'trocar o meu contrasinal',
+	'update_success' => 'Os seus datos foron atualizados',
+	'pass_chg_success' => 'O teu contrasinal foi trocado',
+	'pass_chg_error' => 'O teu contrasinal non foi trocado',
+	'notify_admin_email_subject' => '%s - Notificación de rexistro', //cpg1.3.0
+  'last_uploads' => 'último arquivo subido.<br />Pulse para ver todos os subidos por ', //cpg1.4
+  'last_comments' => 'Últimos comentarios.<br />Pulse para ver todos os comentarios de ', //cpg1.4
+	'notify_admin_email_body' => 'O usuario "%s" foi Rexistrado na túa galería', //cpg1.3.0
+  'pic_count' => 'Arquivos subidos', //cpg1.4
+  'notify_admin_request_email_subject' => '%s - Petición de rexistro', //cpg1.4
+  'thank_you_admin_activation' => 'Gracias.<br /><br />A túa solicitude de rexistro foi enviada o Administrador. Recebirás un e-mail de aprobación.', //cpg1.4
+  'acct_active_admin_activation' => 'A conta agora está activada e un e-mail foi enviado o usuario.', //cpg1.4
+  'notify_user_email_subject' => '%s - Notificación da activación', //cpg1.4
+);
+
+$lang_register_confirm_email = <<<EOT
+Gracias por te rexistrar na {SITE_NAME}
+
+Para activar a túa conta como usuario "{USER_NAME}", preme na seguinte ligazón ou copia e cola na barra de endeezos do teu navegador web.
+
+<a href="{ACT_LINK}">{ACT_LINK}</a>
+
+Consideracións,
+
+O administrador de {SITE_NAME}
+
+EOT;
+
+$lang_register_approve_email = <<<EOT
+Un novo usuario con nome "{USER_NAME}" rexistrouse na galería.
+
+Para activar a conta tes que pulsar na ligazón de embaixo ou copiar e colar na barra de dirección do teu navegador web.
+
+<a href="{ACT_LINK}">{ACT_LINK}</a>
+
+EOT;
+
+$lang_register_activated_email = <<<EOT
+A túa conta foi aprobada e activada.
+
+Podeste logear agora en <a href="{SITE_LINK}">{SITE_LINK}</a> co nome de usuario "{USER_NAME}"
+
+
+Consideracións,
+
+O administrador de {SITE_NAME}
+
+EOT;
+}
+
+// ------------------------------------------------------------------------- //
+// File reviewcom.php
+// ------------------------------------------------------------------------- //
+
+if (defined('REVIEWCOM_PHP')) $lang_reviewcom_php = array(
+	'title' => 'Revisar comentarios',
+	'no_comment' => 'non hai comentarios para revisar',
+	'n_comm_del' => '%s comentario(s) borrado(s)',
+	'n_comm_disp' => 'Número de comentarios para visualizar',
+	'see_prev' => 'Anterior',
+	'see_next' => 'Próximo',
+	'del_comm' => 'Borrar comentarios seleccionados',
+  'user_name' => 'Nome', //cpg1.4
+  'date' => 'Data', //cpg1.4
+  'comment' => 'Comentario', //cpg1.4
+  'file' => 'Arquivo', //cpg1.4
+  'name_a' => 'Nome de usuario ascendente', //cpg1.4
+  'name_d' => 'Nome de usuario descendente', //cpg1.4
+  'date_a' => 'Data ascendente', //cpg1.4
+  'date_d' => 'Data descendente', //cpg1.4
+  'comment_a' => 'Comentario ascendente', //cpg1.4
+  'comment_d' => 'Comentario descendente', //cpg1.4
+  'file_a' => 'Arquivo ascendente', //cpg1.4
+  'file_d' => 'Arquivo descendente', //cpg1.4
+);
+
+
+// ------------------------------------------------------------------------- //
+// File search.php                                                           //
+// ------------------------------------------------------------------------- //
+
+
+if (defined('SEARCH_PHP')){
+
+$lang_search_php = array(
+  'title' => 'Procurar a colección do arquivo', //cpg1.4
+  'submit_search' => 'Procurar', //cpg1.4
+  'keyword_list_title' => 'Lista de palabras chave', //cpg1.4
+  'keyword_msg' => 'A lista mencionada enriba non está incluida. Non incluiches palabras de títulos de foto e descricións. Tenta procurar por texto completo.',  //cpg1.4
+  'edit_keywords' => 'Editar palabras chave', //cpg1.4
+  'search in' => 'Procurar en:', //cpg1.4
+  'ip_address' => 'Enderezos IP', //cpg1.4
+  'fields' => 'Procurar en', //cpg1.4
+  'age' => 'Edade', //cpg1.4
+  'newer_than' => 'Máis novo que', //cpg1.4
+  'older_than' => 'Máis vello que', //cpg1.4
+  'days' => 'días', //cpg1.4
+  'all_words' => 'Combina con todas as palabras (E)', //cpg1.4
+  'any_words' => 'Combina con calquera palabra (OU)', //cpg1.4
+);
+
+$lang_adv_opts = array(
+  'title' => 'Título', //cpg1.4
+  'caption' => 'Lenda', //cpg1.4
+  'keywords' => 'Palabras chave', //cpg1.4
+  'owner_name' => 'Nome do propietario', //cpg1.4
+  'filename' => 'Nome do arquivo', //cpg1.4
+);
+
+}
+
+// ------------------------------------------------------------------------- //
+// File searchnew.php
+// ------------------------------------------------------------------------- //
+
+if (defined('SEARCHNEW_PHP')) $lang_search_new_php = array(
+	'page_title' => 'Procurar novas fotos',
+	'select_dir' => 'Seleccionar directorio',
+	'select_dir_msg' => 'Esta función permiteche enviar diversas fotos ao mesmo tempo.<br /><br />Selecciona o directorio das fotos',
+	'no_pic_to_add' => 'non hai fotos para engadir',
+	'need_one_album' => 'Precisas ter polo menos un album para usar esta 
+función',
+	'warning' => 'coidado',
+	'change_perm' => 'O script non pode grabar neste directorio que debe ter permiso 755 ou 777 !',
+	'target_album' => '<b>Colocar fotos do &quot;</b>%s<b>&quot; en </b>%s',
+	'folder' => 'cartafol',
+	'image' => 'Foto',
+	'album' => 'album',
+	'result' => 'Resultado',
+	'dir_ro' => 'non grabable. ',
+	'dir_cant_read' => 'non pode ser lido. ',
+	'insert' => 'Adicionando novas fotos á galería',
+	'list_new_pic' => 'Lista das novas fotos',
+	'insert_selected' => 'Inserir fotos seleccionadas',
+	'no_pic_found' => 'nengunha foto nova foi encontrada',
+	'be_patient' => 'Por favor teña pacenza. O sistema nescesita de tempo para enviar as fotos',
+  'no_album' => 'non seleccionou ningún album',
+  'result_icon' => 'pulse para detalles ou recargar',  //cpg1.4
+	'notes' =>  '<ul>'.
+				'<li><b>OK</b> : Significa que foi enviado con exito'.
+				'<li><b>DP</b> : Significa que existe un duplicado na base de datos'.
+				'<li><b>PB</b> : Significa que non pode ser enviado, verifica a túa 
+Configuración e os permisos dos directorios.'.
+				'<li><b>NA</b> : Significa que non seleccionaches ningún album para 
+engadir as fotos, pulsa en \'<a 
+href="javascript:history.back(1)">voltar</a>\' e selecciona un album. Se 
+non tes un album <a href="albmgr.php">crea un primeiro</a></li>'.
+				'<li>Se un dos \'simbolos\' OK, DP ou PB non apareceren pulsa no 
+símbolo co problema para recibir a Mensaxe de erro'.
+				'<li>Se o tempo expira, intentao novamente actualizando a páxina'.
+				'</ul>', //cpg1.3.0
+	'select_album' => 'seleccionar album', //cpg1.3.0
+	'check_all' => 'Marcar Todo', //cpg1.3.0
+	'uncheck_all' => 'Desmarcar Todo', //cpg1.3.0
+  'no_folders' => 'Non hai ningún cartafol dentro do cartafol "album" aínda. Asegurate de crear alomenos un cartafol dentro de "albums" e subir via ftp os teus arquivos ali. You mustn\'t upload to the "userpics" nor "edit" folders, they are reserved for http uploads and internal purposes.', //cpg1.4
+   'albums_no_category' => 'Albums sin categoría', //cpg1.4 // album pulldown mod, added by frogfoot
+  'personal_albums' => '* Albums persoal', //cpg1.4 // album pulldown mod, added by frogfoot
+  'browse_batch_add' => 'Inferfaz de Browsable (recomendado)', //cpg1.4
+  'edit_pics' => 'Editar arquivos', //cpg1.4
+  'edit_properties' => 'Propiedades do album', //cpg1.4
+  'view_thumbs' => 'Ver miniaturas', //cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File stat_details.php //cpg1.4
+// ------------------------------------------------------------------------- //
+
+if (defined('STAT_DETAILS_PHP')) $lang_stat_details_php = array(
+  'show_hide' => 'mostrar/ocultar esta columna', //cpg1.4
+  'vote' => 'Detalles do voto', //cpg1.4
+  'hits' => 'Detalles do hit', //cpg1.4
+  'stats' => 'Estatísticas do Voto', //cpg1.4
+  'sdate' => 'Data', //cpg1.4
+  'rating' => 'Posición', //cpg1.4
+  'search_phrase' => 'Buscar frase', //cpg1.4
+  'referer' => 'Referer', //cpg1.4
+  'browser' => 'Navegador', //cpg1.4
+  'os' => 'Sistema Operativo', //cpg1.4
+  'ip' => 'IP', //cpg1.4
+  'sort_by_xxx' => 'Ordenar por %s', //cpg1.4
+  'ascending' => 'ascendente', //cpg1.4
+  'descending' => 'descendente', //cpg1.4
+  'internal' => 'int', //cpg1.4
+  'close' => 'Pechar', //cpg1.4
+  'hide_internal_referers' => 'agochar referers internos', //cpg1.4
+  'date_display' => 'Mostrar data', //cpg1.4
+  'submit' => 'enviar / actualizar', //cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File thumbnails.php
+// ------------------------------------------------------------------------- //
+
+// Void
+
+// ------------------------------------------------------------------------- //
+// File upload.php
+// ------------------------------------------------------------------------- //
+
+if (defined('UPLOAD_PHP')) $lang_upload_php = array(
+  'title' => 'Envio de Foto', //cpg1.3.0
+  'custom_title' => 'Formulario de Pedidos personalizable', //cpg1.3.0
+  'cust_instr_1' => 'Debes selecionar un número personalizable de caixas de envio. mentres non podes selecionar máis do que os limites amosados abaixo.', //cpg1.3.0
+  'cust_instr_2' => 'número de Caixas de Pedidos', //cpg1.3.0
+  'cust_instr_3' => 'Caixas de envio de arquivo: %s', //cpg1.3.0
+  'cust_instr_4' => 'Caixas de envio de URI/URL: %s', //cpg1.3.0
+  'cust_instr_5' => 'Caixas de envio de URI/URL:', //cpg1.3.0
+  'cust_instr_6' => 'Caixas de envio de arquivo:', //cpg1.3.0
+  'cust_instr_7' => 'Por favor insire o número de cada tipo de caixa de envio que desexas desta vez e preme en \'Continuar\'. ', //cpg1.3.0
+  'reg_instr_1' => 'acción inválida para o formulario de creacion.', //cpg1.3.0
+  'reg_instr_2' => 'Agora podes enviar os teus arquivos usando as caixas de envio de abaixo. Os arquivos a seren enviados para o servidor non poden exceder o tamaño de %s KB cada un. Arquivos ZIP enviados para a seccion de \'Envio de Arquivo\' e \'Envio de URI/URL\' iran permanecer compactados.', //cpg1.3.0
+  'reg_instr_3' => 'Se queres o arquivo zipado ou que o arquivo sexa descompactado, debes usar a caixa de envio especial para isto, area \'Envio de ZIP con descompactación\'.', //cpg1.3.0
+  'reg_instr_4' => 'cando uses a seccion de envio URI/URL, por favor insire o camiño para o arquivo. Ex: http://www.meusite.co.br/imaxes/foto.jpg', //cpg1.3.0
+  'reg_instr_5' => 'cando remates de completar o formulario, por favor preme en \'Continuar\'.', //cpg1.3.0
+  'reg_instr_6' => 'Envio de ZIP co descompactación:', //cpg1.3.0
+  'reg_instr_7' => 'Envio de arquivos:', //cpg1.3.0
+  'reg_instr_8' => 'Envio de URI/URL:', //cpg1.3.0
+  'error_report' => 'Relatório de Erro', //cpg1.3.0
+  'error_instr' => 'ocorreran erros nos seguintes envios:', //cpg1.3.0
+  'file_name_url' => 'Arquivo/URL', //cpg1.3.0
+  'error_message' => 'Mensaxe de Erro', //cpg1.3.0
+  'no_post' => 'nengún arquivo seleccionado.', //cpg1.3.0
+  'forb_ext' => 'extension de arquivo proibida.', //cpg1.3.0
+  'exc_php_ini' => 'tamaño de arquivo excedido permitido para o php.ini.', //cpg1.3.0
+  'exc_file_size' => 'tamaño de arquivo excedido permitido para a galería.', //cpg1.3.0
+  'partial_upload' => 'só envio parcial.', //cpg1.3.0
+  'no_upload' => 'nengun envio ocorrido.', //cpg1.3.0
+  'unknown_code' => 'Codigo de erro PHP de envio, inválido.', //cpg1.3.0
+  'no_temp_name' => 'nengun envio - nengun nome temporal.', //cpg1.3.0
+  'no_file_size' => 'Esta en branco/corrupto', //cpg1.3.0
+  'impossible' => 'Imposible mover.', //cpg1.3.0
+  'not_image' => 'non é unha imaxe/corrupta', //cpg1.3.0
+  'not_GD' => 'non é unha extension GD.', //cpg1.3.0
+  'pixel_allowance' => 'tamaño de pixel excedido.', //cpg1.3.0
+  'incorrect_prefix' => 'Prefixo de URI/URL incorrecto', //cpg1.3.0
+  'could_not_open_URI' => 'non foi posible abrir a URI.', //cpg1.3.0
+  'unsafe_URI' => 'seguridade non verificable.', //cpg1.3.0
+  'meta_data_failure' => 'erro da Meta data', //cpg1.3.0
+  'http_401' => '401 unhauthorized', //cpg1.3.0
+  'http_402' => '402 Payment Required', //cpg1.3.0
+  'http_403' => '403 Forbidden', //cpg1.3.0
+  'http_404' => '404 Not Found', //cpg1.3.0
+  'http_500' => '500 Internal Server Error', //cpg1.3.0
+  'http_503' => '503 Service unhavailable', //cpg1.3.0
+  'MIME_extraction_failure' => 'MIME non pode ser determinado.', //cpg1.3.0
+  'MIME_type_unknown' => 'Tipo de MIME inválido', //cpg1.3.0
+  'cant_create_write' => 'non foi posible Crear un arquivo grabable.', //cpg1.3.0
+  'not_writable' => 'non foi posible grabar nun arquivo grabable.', //cpg1.3.0
+  'cant_read_URI' => 'non foi posible ler a URI/URL', //cpg1.3.0
+  'cant_open_write_file' => 'non foi posible abrir o arquivo URI grabable.', //cpg1.3.0
+  'cant_write_write_file' => 'non foi posible grabar no arquivo URI grabable.', //cpg1.3.0
+  'cant_unzip' => 'non foi posible descomprimir.', //cpg1.3.0
+  'unknown' => 'Erro inválido', //cpg1.3.0
+  'succ' => 'Envio realizado con exito', //cpg1.3.0
+  'success' => '%s envios con exito.', //cpg1.3.0
+  'add' => 'Por favor preme en \'Continuar\' para engadir os arquivos nos albums.', //cpg1.3.0
+  'failure' => 'erro de envio', //cpg1.3.0
+  'f_info' => 'Información do Arquivo', //cpg1.3.0
+  'no_place' => 'O arquivo anterior non pode ser inserido.', //cpg1.3.0
+  'yes_place' => 'O arquivo anterior foi inserido con exito.', //cpg1.3.0
+  'max_fsize' => 'O tamaño máximo permitido de arquivo é %s KB',
+  'album' => 'album',
+  'picture' => 'Foto', //cpg1.3.0
+  'pic_title' => 'Titulo da Foto', //cpg1.3.0
+  'description' => 'Descripción da Foto', //cpg1.3.0
+  'keywords' => 'Palabras-Chave (separado con espazos)<br /><a href="#" onClick="return MM_openBrWindow(\'keyword_select.php\',\'selectKey\',\'width=250, height=400, scrollbars=yes,toolbar=no,status=yes,resizable=yes\')">Insire a lista</a>', //cpg1.4
+  'keywords_sel' =>'Selecciona palabras-chave', //cpg1.4
+  'err_no_alb_uploadables' => 'Desculpa, non estás autorizado a enviar arquivos para nengún album', //cpg1.3.0
+  'place_instr_1' => 'Por favor insire os arquivos no album agora. Debes tamén inserir informacións sobre cada arquivo agora.', //cpg1.3.0
+  'place_instr_2' => 'máis arquivos precisan ser colocados. Por favor preme en \'Continuar\'.', //cpg1.3.0
+  'process_complete' => 'Inseriches con exito todos os arquivos.', //cpg1.3.0
+   'albums_no_category' => 'Albums sen categoría', //cpg1.4. //album pulldown mod, added by frogfoot
+  'personal_albums' => '* Albums persoais', //cpg1.4 //album pulldown mod, added by frogfoot
+  'select_album' => 'Selecciona album', //cpg1.4 //album pulldown mod, added by frogfoot
+  'close' => 'Pechar', //cpg1.4
+  'no_keywords' => 'Non hai palabras-chave dispoñibles', //cpg1.4
+  'regenerate_dictionary' => 'Rexenerar diccionario', //cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File usermgr.php
+// ------------------------------------------------------------------------- //
+
+if (defined('USERMGR_PHP')) $lang_usermgr_php = array(
+  'memberlist' => 'Lista de membros', //cpg1.4
+  'user_manager' => 'Xestor de usuarios', //cpg1.4
+	'title' => 'administrar usuarios',
+	'name_a' => 'Nome Ascendente',
+	'name_d' => 'Nome Descendente',
+	'group_a' => 'Grupo Ascendente',
+	'group_d' => 'Grupo Descendente',
+	'reg_a' => 'Data de rexistro Ascendente',
+	'reg_d' => 'Data de rexistro Descendente',
+	'pic_a' => 'Contador de fotos ascendente',
+	'pic_d' => 'Contador de fotos descendente',
+	'disku_a' => 'Uso de disco ascendente',
+	'disku_d' => 'Uso de disco descendente',
+	'lv_a' => 'Ultima visita Ascendente', //cpg1.3.0
+	'lv_d' => 'Ultima visita Descendente', //cpg1.3.0
+	'sort_by' => 'Listar usuarios por',
+	'err_no_users' => 'A táboa de usuarios está vacia !',
+	'err_edit_self' => 'Non pode trocar os teus datos \'persoais\', usa a ligazón \'Os meus datos\' para isto ',
+  'edit' => 'Editar', //cpg1.4
+  'with_selected' => 'Co seleccionado:', //cpg1.4
+  'delete' => 'Eliminar', //cpg1.4
+  'delete_files_no' => 'manter os arquivos públicos (pero facelos anónimos)', //cpg1.4
+  'delete_files_yes' => 'borrar arquivos públicos tamén', //cpg1.4
+  'delete_comments_no' => 'manter comentarios (pero facelos anónimos)', //cpg1.4
+  'delete_comments_yes' => 'borrar comentarios tamén', //cpg1.4
+  'activate' => 'Activar', //cpg1.4
+  'deactivate' => 'Desactivar', //cpg1.4
+  'reset_password' => 'Restaurar Contrasinal', //cpg1.4
+  'change_primary_membergroup' => 'Mudar grupo de membros primario', //cpg1.4
+  'add_secondary_membergroup' => 'Engadir grupo de membros secundario', //cpg1.4
+	'name' => 'usuario',
+	'group' => 'Grupo',
+	'inactive' => 'Inactivo',
+	'operations' => 'Operacións',
+	'pictures' => 'Fotos',
+  'disk_space_used' => 'Espazo utilizado', //cpg1.4
+  'disk_space_quota' => 'Cuota de Espazo', //cpg1.4
+  'registered_on' => 'Rexistro', //cpg1.4
+	'last_visit' => 'Última Visita', //cpg1.3.0
+	'u_user_on_p_pages' => '%d usuario(s) en %d páxina(s)',
+	'confirm_del' => 'estás certo de que queres ELIMINAR este usuario ? \\nTodas as fotos e albums del serán removidos.',
+	'mail' => 'CORREO',
+	'err_unknown_user' => 'o usuario seleccionado non existe !',
+	'modify_user' => 'Modificar usuario',
+	'notes' => 'Notas',
+	'note_list' => '<li>Se non queres trocar o teu contrasinal, deixa o campo en branco',
+	'password' => 'contrasinal',
+	'user_active' => 'o usuario está activo',
+	'user_group' => 'Grupo de usuarios',
+	'user_email' => 'correo-e do usuario',
+	'user_web_site' => 'Sitio do usuario',
+	'create_new_user' => 'Crear novo usuario',
+	'user_location' => 'Enderezo',
+	'user_interests' => 'Intereses',
+	'user_occupation' => 'Ocupacion',
+  'user_profile1' => '$user_profile1', //cpg1.4
+  'user_profile2' => '$user_profile2', //cpg1.4
+  'user_profile3' => '$user_profile3', //cpg1.4
+  'user_profile4' => '$user_profile4', //cpg1.4
+  'user_profile5' => '$user_profile5', //cpg1.4
+  'user_profile6' => '$user_profile6', //cpg1.4	
+  'latest_upload' => 'Envios Recentes', //cpg1.3.0
+	'never' => 'nunca', //cpg1.3.0
+  'search' => 'Procura de usuarios', //cpg1.4
+  'submit' => 'Enviar', //cpg1.4
+  'search_submit' => 'Dalle!', //cpg1.4
+  'search_result' => 'Resultados da procura para: ', //cpg1.4
+  'alert_no_selection' => 'Primeiro tes que seleccionar un usuario polo menos!', //cpg1.4 //js-alert
+  'password' => 'contrasinal', //cpg1.4
+  'select_group' => 'Seleccionar grupo', //cpg1.4
+  'groups_alb_access' => 'Permisos de álbum segundo o grupo', //cpg1.4
+  'album' => 'Álbum', //cpg1.4
+  'category' => 'Categoría', //cpg1.4
+  'modify' => 'Modificar?', //cpg1.4
+  'group_no_access' => 'Este grupo non ten acceso especial', //cpg1.4
+  'notice' => 'Anuncio', //cpg1.4
+  'group_can_access' => 'Álbum(s) ós que só pode acceder "%s"', //cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File util.php
+// ------------------------------------------------------------------------- //
+
+if (defined('UTIL_PHP')) {
+$lang_util_desc_php = array(
+'Actualiza títulos dende o nome de arquivo', //cpg1.4
+'Borra os títulos', //cpg1.4
+'Reconstrúe miniaturas e fotos de tamaño redimensionado', //cpg1.4
+'Borra as fotos de tamaño orixinal reemprazándoas pola versión de tamaño redimensionado', //cpg1.4
+'Borra fotos de tamaño orixinal ou intermedio para ceibar espazo no web', //cpg1.4
+'Borra comentarios orfos', //cpg1.4
+'Rele os tamaños e dimensións dos arquivos (por se editaches imaxes manualmente)', //cpg1.4
+'Restaura o contador de vistas', //cpg1.4
+'Amosa a phpinfo', //cpg1.4
+'Actualiza o banco de datos', //cpg1.4
+'Amosa os arquivos de rexistro (log)', //cpg1.4
+);
+$lang_util_php = array(
+  'title' => 'Utilidades para o Admin (Redimensionar)', //cpg1.3.0
+  'what_it_does' => 'O que esta utilidade pode facer:',
+  'file' => 'Arquivo',
+  'problem' => 'Problema', //cpg1.4
+  'status' => 'Estado', //cpg1.4
+  'title_set_to' => 'titulo setado para',
+  'submit_form' => 'enviar',
+  'updated_succesfully' => 'actualizado con exito',
+  'error_create' => 'ERRO creando',
+  'continue' => 'Procesar máis imaxes',
+  'main_success' => 'O arquivo %s foi co arquivo principal', //cpg1.3.0
+  'error_rename' => 'Erro renomeando %s para %s',
+  'error_not_found' => 'O arquivo %s non foi atopado',
+  'back' => 'voltar para a páxina principal',
+  'thumbs_wait' => 'Actualizando miniaturas e/ou imaxes redimensionadas, por favor agarda...',
+  'thumbs_continue_wait' => 'Continuando a actualizar miniaturas e/ou imaxes redimensionadas...',
+  'titles_wait' => 'actualizando titulos, por favor agarda...',
+  'delete_wait' => 'Borrando titulos, por favor agarda...',
+  'replace_wait' => 'Borrando orixinais e repoñéndoas cás imaxes redimensionadas, por favor agarda..',
+  'instruction' => 'Instruccións rápidas',
+  'instruction_action' => 'Selecciona a acción',
+  'instruction_parameter' => 'Axusta os parámetros',
+  'instruction_album' => 'Selecciona o album',
+  'instruction_press' => 'Preme %s',
+  'update' => 'actualizar miniaturas e/ou redimensionar fotos',
+  'update_what' => 'O que debe ser actualizado',
+  'update_thumb' => 'só miniaturas',
+  'update_pic' => 'só imaxes redimensionadas',
+  'update_both' => 'Miniaturas e imaxes redimensionadas',
+  'update_number' => 'Número de imaxes procesadas por click',
+  'update_option' => '(tenta un número menor no caso de que sigas a ter problemas co tempo de vencemento (timeout))',
+  'filename_title' => 'Arquivo &rArr; Titulo do arquivo', //cpg1.3.0
+  'filename_how' => 'o arquivo debe ser modificado',
+  'filename_remove' => ' o .jpg no final e reemprazar _ (subliñado) con espazos',
+  'filename_euro' => 'trocar 2003_11_23_13_20_20.jpg para 23/11/2003 13:20',
+  'filename_us' => 'trocar 2003_11_23_13_20_20.jpg para 11/23/2003 13:20',
+  'filename_time' => 'trocar 2003_11_23_13_20_20.jpg para 13:20',
+  'delete' => 'Borrar título de arquivos ou tamaños orixinais de fotos', //cpg1.3.0
+  'delete_title' => 'Borrar titulo de arquivos', //cpg1.3.0
+  'delete_title_explanation' => 'Isto eliminará todos os títulos nos arquivos do álbum que especifiques.', //cpg1.4
+  'delete_original' => 'Borrar fotos de tamaño orixinal',
+  'delete_original_explanation' => 'Isto eliminará as imaxes de tamaño completo.', //cpg1.4
+  'delete_intermediate' => 'Borrar imaxes intermedias', //cpg1.4
+  'delete_intermediate_explanation' => 'Isto eliminará as imaxes intermedias (normais).<br />Usa esta opción para ceibar espazo de disco se desactivaches \'Crear imaxes intermedias\' na configuración logo de engadir imaxes.', //cpg1.4
+  'delete_replace' => 'borra as imaxes orixinais repoñéndoas coa version redimensionada',
+  'titles_deleted' => 'Elimináronse todos os títulos no álbum especificado', //cpg1.4
+  'deleting_intermediates' => 'Eliminando imaxes intermedias, por favor, agarda...', //cpg1.4
+  'searching_orphans' => 'Procurando orfos, por favor, agarda...', //cpg1.4
+  'select_album' => 'Selecciona o album',
+  'delete_orphans' => 'Borrar comentarios de arquivos desaparecidos', //cpg1.4
+  'delete_orphans_explanation' => 'Isto permitirache identificar e borrar calquer comentario asociado con arquivos que xa non existen na galería.<br />Comproba todos os álbums.', //cpg1.4
+  'refresh_db' => 'Recargar información de tamaño e dimensións do arquivo', //cpg1.4
+  'refresh_db_explanation' => 'Isto relerá  os tamaños e dimensións de arquivo. Úsao se as cuotas asociadas son incorrectas ou se mudaches os arquivos manualmente.', //cpg1.4
+  'reset_views' => 'Restaurar contadores de visualizacións', //cpg1.4
+  'reset_views_explanation' => 'Axusta a cero todos os contadores de visualizacións de arquivo no álbum especificado.', //cpg1.4
+  'orphan_comment' => 'comentarios orfos atopados', //cpg1.3.0
+  'delete' => 'Borrar', //cpg1.3.0
+  'delete_all' => 'Borrar todos', //cpg1.3.0
+  'delete_all_orphans' => 'Borrar todos os orfos?', //cpg1.4
+  'comment' => 'comentario: ', //cpg1.3.0
+  'nonexist' => 'atachado nun arquivo que non existe # ', //cpg1.3.0
+  'phpinfo' => 'Amosar phpinfo', //cpg1.3.0
+  'phpinfo_explanation' => 'Contén información técnica verbo do teu servidor.<br /> - Pode que se che pida facilitar esta información cando pidas axuda de soporte.', //cpg1.4
+  'update_db' => 'actualizar banco de datos', //cpg1.3.0
+  'update_db_explanation' => 'Se sustituiches arquivos da galería, engadíches algunha modificación ou actualizaches dunha version anterior da galería, asegúrate de darlle a actualización do banco de datos unha vez. Isto creará as táboas necesarias e/ou valores de configuración no teu banco de datos.', //cpg1.3.0
+  'view_log' => 'Ver arquivos de rexistro (logs)', //cpg1.4
+  'view_log_explanation' => 'O Coppermine pode manter un rexistro das diversas accións levadas a cabo polos usuarios. Podes explorar estes rexistros (logs) se activaches a opción correspondente(logging) na <a href="admin.php">configuración do coppermine</a>.', //cpg1.4
+  'versioncheck' => 'Comprobar versións', //cpg1.4
+  'versioncheck_explanation' => 'Comproba as versións dos teus arquivos para verificar se reemprazaches todos os arquivos logo dunha actualización, ou se foron actualizados arquivos fonte do coppermine despóis do lanzamento dun paquete.', //cpg1.4
+  'bridgemanager' => 'Xestor de Ponte', //cpg1.4
+  'bridgemanager_explanation' => 'Activar/desactivar integración (ponteado) do Coppermine con outra aplicación (p.e. o teu BBS).', //cpg1.4
+);
+}
+
+// ------------------------------------------------------------------------- //
+// File versioncheck.php //cpg1.4
+// ------------------------------------------------------------------------- //
+
+if (defined('VERSIONCHECK_PHP')) $lang_versioncheck_php = array(
+  'title' => 'Comprobación de versión', //cpg1.4
+  'what_it_does' => 'Esta páxina está indicada para os usuarios que actualizaron a súa instalación do coppermine. Este script recorre os arquivos do teu servidor web e tenta determinar se as versións dos teus arquivos locais son as mesmas que as do depósito en http://coppermine.sourceforge.net, amosando deste xeito ó mesmo tempo os arquivos que deberías actualizar.<br />Amosaráche en vermello todo o que precisa ser corrixido. As entradas en amarelo necesitan atención e deben examinarse. As entradas en verde (ou na túa cor de fonte por defecto) son correctas.<br />Preme nas iconas de axuda para obter máis detalles.', //cpg1.4
+  'online_repository_unable' => 'Non se puido conectar co depósito en liña', //cpg1.4
+  'online_repository_noconnect' => 'O Coppermine non puiod conectar co depósito en liña. Isto pode ser por dúas razóns:', //cpg1.4
+  'online_repository_reason1' => 'o depósito en liña do coppermine está actualmente de baixa - comproba se podes navegar por esta páxina: %s - se non podes acceder a ela, téntao de novo máis tarde.', //cpg1.4
+  'online_repository_reason2' => 'O PHP do teu servidor web está configurado con %s desconectado (por defecto, está activado). Se és ti quen o administra, activa esta opción no <i>php.ini</i> (polo menos permite que %s teña prioridade). Se estás hospedado nun servidor web, o máis probable é que teñas que vivir co feito de non poder comparar os teus arquivos cos do depósito online. Nese caso esta páxina só amosará as versións do arquivos que veñen coa túa distribución - as actualizacións non serán amosadas.', //cpg1.4
+  'online_repository_skipped' => 'Conexión co depósito en liña omitida', //cpg1.4
+  'online_repository_to_local' => 'O script está agora pasando á copia local dos arquivos-versión por defecto. Os datos poden ser inexactos de actualizaches o Coppermine e non subiches todos os arquivos. Os trocos ós arquivos despois do lanzamento tampouco serán tidos en conta.', //cpg1.4
+  'local_repository_unable' => 'Non se puido conectar co depósito no teu servidor', //cpg1.4
+  'local_repository_explanation' => 'O Coppermine non foi quen de conectar co arquivo %s do depósito no teu servidor web. Isto significa probablemente que non subiches o arquivo do depósito ó teu servidor web. Faino agora e logo tenta cargar esta páxina de novo (preme en actualizar).<br />Se o script continúa fallando, pode que o teu webhost teña desactivado completamente partes das <a href="http://www.php.net/manual/en/ref.filesystem.php">funcións do sistema de arquivos do PHP</a> . Neste caso, simplemente non poderás usar esta ferramenta de ningún xeito, sentímolo.', //cpg1.4
+  'coppermine_version_header' => 'Versión instalada do Coppermine', //cpg1.4
+  'coppermine_version_info' => 'Actualmente tes instalado: %s', //cpg1.4
+  'coppermine_version_explanation' => 'Se pensas que esta información e totalmente errónea e cres que estás a usar unha versión maior do Coppermine, probablemente non subiches a versión máis recente do arquivo <i>include/init.inc.php</i>', //cpg1.4
+  'version_comparison' => 'Comparación de versión', //cpg1.4
+  'folder_file' => 'cartafol/arquivo', //cpg1.4
+  'coppermine_version' => 'versión cpg', //cpg1.4
+  'file_version' => 'versión de arquivo', //cpg1.4
+  'webcvs' => 'svn web', //cpg1.4
+  'writable' => 'sobreescribible', //cpg1.4
+  'not_writable' => 'non sobreescribible', //cpg1.4
+  'help' => 'Axuda', //cpg1.4
+  'help_file_not_exist_optional1' => 'o arquivo/cartafol non existe', //cpg1.4
+  'help_file_not_exist_optional2' => 'O arquivo/cartafol %s non foi atopado no teu servidor. Ainda que é opcional podes subilo ó teu servidor web (usando o teu cliente FTP) se estás a atopar problemas.', //cpg1.4
+  'help_file_not_exist_mandatory1' => 'o arquivo/cartafol non existe', //cpg1.4
+  'help_file_not_exist_mandatory2' => 'O arquivo/cartafol %s non foi atopado no teu servidor, a pesares de ser obrigatorio. Sube o arquivo ó teu servidor web (usando o teu cliente FTP).', //cpg1.4
+  'help_no_local_version1' => 'Non hai versión do arquivo local', //cpg1.4
+  'help_no_local_version2' => 'O script non foi quen de extraer unha versión do arquivo local - o teu arquivo está anticuado o ben ti mesmo o modificaches, eliminando a información de cabeceira dalgún xeito. Recoméndase actualizar o arquivo.', //cpg1.4
+  'help_local_version_outdated1' => 'Versión local anticuada', //cpg1.4
+  'help_local_version_outdated2' => 'A túa versión deste arquivo semella proceder dunha versión máis antiga do Coppermine (probablemente fixeches unha actualización). Asegúrate de actualizar este arquivo tamén.', //cpg1.4
+  'help_local_version_na1' => 'Non se puido extraer a información da versión do svn', //cpg1.4
+  'help_local_version_na2' => 'O script non puido determinar que versión do svn é a do arquivo que hai no teu servidor web. Tes que subir o arquivo dende o teu paquete de arquivos.', //cpg1.4
+  'help_local_version_dev1' => 'Versión de desenvolvemento', //cpg1.4
+  'help_local_version_dev2' => 'O arquivo que hai no teu servidor web semella ser máis recente que o da túa versión do Coppermine. Ou ben estás a usar un arquivo en desenvolvemento (debes facer isto só se sabes que estás a facer), ou ben actualizaches a túa instalación do Coppermine e non subiches o arquivo include/init.inc.php', //cpg1.4
+  'help_not_writable1' => 'Cartafol protexido contra escritura', //cpg1.4
+  'help_not_writable2' => 'Muda os permisos de arquivo (CHMOD) para permitirlle ó script acceso de escritura ó cartafol %s e a todo o contido deste.', //cpg1.4
+  'help_writable1' => 'Cartafol non protexido contra escritura', //cpg1.4
+  'help_writable2' => 'O cartafol %s non está protexido contra escritura. Isto é un risco innecesario, xa que o coppermine só precisa acceso de lectura/execución.', //cpg1.4
+  'help_writable_undetermined' => 'O Coppermine non foi quen de determinar se o cartafol non está protexido contra escritura.', //cpg1.4
+  'your_file' => 'o teu arquivo', //cpg1.4
+  'reference_file' => 'arquivo de referencia', //cpg1.4
+  'summary' => 'Sumario', //cpg1.4
+  'total' => 'Total de arquivos/cartafois marcados', //cpg1.4
+  'mandatory_files_missing' => 'Arquivos obrigatorios desaparecidos', //cpg1.4
+  'optional_files_missing' => 'Arquivos opcionais desparecidos', //cpg1.4
+  'files_from_older_version' => 'Arquivos residuais procedentes dunha versión anticuada do Coppermine', //cpg1.4
+  'file_version_outdated' => 'Versións de arquivo anticuadas', //cpg1.4
+  'error_no_data' => 'O script queixouse amargamente, non foi quen de obter información ningunha. Pordoa polas molestias.', //cpg1.4
+  'go_to_webcvs' => 'ir a %s', //cpg1.4
+  'options' => 'Opcións', //cpg1.4
+  'show_optional_files' => 'amosar cartafois/arquivos opcionais', //cpg1.4
+  'show_mandatory_files' => 'amosar arquivos obrigatorios', //cpg1.4
+  'show_file_versions' => 'amosar versións de arquivo', //cpg1.4
+  'show_errors_only' => 'amosar só cartafois/arquivos con erros', //cpg1.4
+  'show_permissions' => 'amosar permisos de cartafois', //cpg1.4
+  'show_condensed_output' => 'amosar saída condensada (para obter instantáneas de pantalla de xeito máis sinxelo)', //cpg1.4
+  'coppermine_in_webroot' => 'o coppermine está instalado na raíz (root) do web', //cpg1.4
+  'connect_online_repository' => 'tenta conectar co depósito en liña', //cpg1.4
+  'show_additional_information' => 'amosar información adicional', //cpg1.4
+  'no_webcvs_link' => 'non amosar ligazón do svn no web', //cpg1.4
+  'stable_webcvs_link' => 'amosar ligazón do svn no web a unha póla estable', //cpg1.4
+  'devel_webcvs_link' => 'amosar ligazón do svn no web a unha póla en desenvolvemento', //cpg1.4
+  'submit' => 'aplicar trocos / actualizar', //cpg1.4
+  'reset_to_defaults' => 'restaurar ós valores por defecto', //cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File view_log.php  //cpg1.4
+// ------------------------------------------------------------------------- //
+
+if (defined('VIEWLOG_PHP')) $lang_viewlog_php = array(
+  'delete_all' => 'Borrar Todos Os Rexistros (Logs)', //cpg1.4
+  'delete_this' => 'Borrar Este Rexistro (Log)', //cpg1.4
+  'view_logs' => 'Ver Rexistros (Logs)', //cpg1.4
+  'no_logs' => 'Non se crearon rexistros (logs).', //cpg1.4
+);
+
+
+// ------------------------------------------------------------------------- //
+// File xp_publish.php //cpg1.4
+// ------------------------------------------------------------------------- //
+
+if (defined('XP_PUBLISH_PHP')) {
+
+$lang_xp_publish_client = <<<EOT
+<h1>Cliente do Asistente de Publicación Web do XP</h1><p>Este módulo permite usar asistente de publicación web do <b>Windows XP</b> co Coppermine.</p><p>O código está baseado nun artigo publicado por
+EOT;
+
+$lang_xp_publish_required = <<<EOT
+<h2>Requisitos</h2><ul><li>O Windows XP para ter o asistente.</li><li>Unha instalación do Coppermine funcionando no que <b>a función de subida web traballe correctamente.</b></li></ul><h2>Como instalar na parte do cliente</h2><ul><li>Preme co botón dereito do rato en
+EOT;
+
+$lang_xp_publish_select = <<<EOT
+Selecciona &quot;gardar destino como...&quot;. Garda o arquivo no teu disco duro. Cando gardes o arquivo, comproba que o nome de arquivo proposto é <b>cpg_###.reg</b> (o ### representa un datado numérico). Múdao a este nome se é preciso (deixando os números). Cando remate a descarga, fai dobre click no arquivo co obxecto de rexistrar o teu servidor co asistente de publicación web.</li></ul>
+EOT;
+
+$lang_xp_publish_testing = <<<EOT
+<h2>Probas</h2><ul><li>No Windows Explorer, selecciona algúns arquivos e preme en <b>Publicar xxx no web</b> no panel da esquerda.</li><li>Confirma a túa selección de arquivos. Preme en <b>Seguinte</b>.</li><li>Na lista de servizos que aparece a continuación, selecciona o que queiras para a túa galería de fotos ( ten o nome da túa galería). Se o servizo non aparece, comproba que tes instalado <b>cpg_pub_wizard.reg</b> como se describiu con anterioridade.</li><li>Insire a túa información de inicio de sesión se é preciso.</li><li>Selecciona o album destino para as túas imaxes ou crea un novo.</li><li>Preme en <b>seguinte</b>. Así comezará a subida das túas imaxes.</li><li>Cando remate, comproba a túa galería para ver se se engadiron as imaxes correctamente.</li></ul>
+EOT;
+
+$lang_xp_publish_notes = <<<EOT
+<h2>Notas :</h2><ul><li>Unha vez que comezou a subida, o asistente non pode amosar calquera mensaxe de erro retornada polo script de xeito que non poderás saber se a subida foi correcta ou non ata que comprobes a túa galería.</li><li>Se a subida fallase, activa o &quot;modo de Depurado (Debug mode)&quot; na páxina de administración do Coppermine, téntao con unha soa imaxe e comproba as mensaxes de erro no
+EOT;
+
+$lang_xp_publish_flood = <<<EOT
+arquivo ubicado no directorio do Coppermine no teu servidor.</li><li>Co fin de evitar que a galería sexa <i>ateigada</i> de imaxes subidas a traverso do asistente, só os <b>administradores da galería</b> e os <b>usuarios que poden ter os seus propios álbums</b> poden usar esta característica.</li>
+EOT;
+
+
+
+$lang_xp_publish_php = array(
+  'title' => 'Coppermine - Asistente de Publicación Web do XP', //cpg1.4
+  'welcome' => 'Benvido, <b>%s</b>,', //cpg1.4
+  'need_login' => 'Tes que iniciar sesión na túa galería utilizando o teu navegador web antes de poder usar este asistente.<p/><p>Cando inicies a sesión non esquezas seleccionar a opción <b>lémbrate de min</b> se está dispoñible.', //cpg1.4
+  'no_alb' => 'Sentímolo, pero non hai álbum ningún ó que se che permita a subida de imaxes con este asistente.', //cpg1.4
+  'upload' => 'Subir as túas imaxes a un álbum existente', //cpg1.4
+  'create_new' => 'Crear un álbum novo para as túas imaxes', //cpg1.4
+  'album' => 'Álbum', //cpg1.4
+  'category' => 'Categoría', //cpg1.4
+  'new_alb_created' => 'O teu novo álbum &quot;<b>%s</b>&quot; foi creado.', //cpg1.4
+  'continue' => 'Preme &quot;Seguinte&quot; para comezar a subir as túas imaxes', //cpg1.4
+  'link' => 'esta ligazón', //cpg1.4
+);
+}
+?>
diff -x .svn -aruN 1.4.24.src/lang/georgian.php 1.4.25.src/lang/georgian.php
--- 1.4.24.src/lang/georgian.php	2009-05-25 15:01:17.000000000 -0500
+++ 1.4.25.src/lang/georgian.php	2009-05-26 11:25:40.000000000 -0500
@@ -1,2109 +1,2109 @@
-<?php
-/*************************
-  Coppermine Photo Gallery
-  ************************
-  Copyright (c) 2003-2009 Coppermine Dev Team
-  v1.1 originally written by Gregory DEMAR
-
-  This program is free software; you can redistribute it and/or modify
-  it under the terms of the GNU General Public License version 3
-  as published by the Free Software Foundation.
-  
-  ********************************************
-  Coppermine version: 1.4.24
-  $HeadURL: https://coppermine.svn.sourceforge.net/svnroot/coppermine/trunk/cpg1.4.x/lang/georgian.php $
-  $Revision: 5988 $
-  $Author: gaugau $
-  $Date: 2009-05-25 22:01:41 +0200 (Mo, 25 Mai 2009) $
-**********************************************/
-
-if (!defined('IN_COPPERMINE')) { die('Not in Coppermine...');}
-
-// info about translators and translated language
-$lang_translation_info = array(
-  'lang_name_english' => 'Georgian', //cpg1.4
-  'lang_name_native' => 'ქართული', //cpg1.4
-  'lang_country_code' => 'ka', //cpg1.4
-  'trans_name'=> 'Giasher (Gia Shervashidze)',
-  'trans_email' => 'giasher at google mail',
-  'trans_website' => 'http://www.gia.ge/',
-  'trans_date' => '2009-05-05',
-);
-
-$lang_charset = 'utf-8';
-$lang_text_dir = 'ltr'; // ('ltr' for left to right, 'rtl' for right to left)
-
-// shortcuts for Byte, Kilo, Mega
-$lang_byte_units = array('ბაიტი', 'კბ', 'მბ');
-
-// Day of weeks and months
-$lang_day_of_week = array('კვი', 'ორშ', 'სამ', 'ოთხ', 'ხუთ', 'პარ', 'შაბ');
-$lang_month = array('იან', 'თებ', 'მარ', 'აპრ', 'მაი', 'ივნ', 'ივლ', 'აგვ', 'სექ', 'ოქტ', 'ნოე', 'დეკ');
-
-// Some common strings
-$lang_yes = 'დიახ';
-$lang_no  = 'არა';
-$lang_back = 'უკან';
-$lang_continue = 'გაგრძელება';
-$lang_info = 'ინფორმაცია';
-$lang_error = 'შეცდომა';
-$lang_check_uncheck_all = 'ყველას მონიშვნა/მონიშვნის მოხსნა'; //cpg1.4
-
-// The various date formats
-// See http://www.php.net/manual/en/function.strftime.php to define the variable below
-$album_date_fmt =    '%d %B, %Y';
-$lastcom_date_fmt =  '%d/%m/%y - %H:%M';
-$lastup_date_fmt = '%d %B, %Y';
-$register_date_fmt = '%d %B, %Y';
-$lasthit_date_fmt = '%d %B, %Y at %H:%M';
-$comment_date_fmt =  '%d %B, %Y - %H:%M';
-$log_date_fmt = '%d %B, %Y - %H:%M'; //cpg1.4
-
-// For the word censor
-$lang_bad_words = array('*fuck*', 'asshole', 'assramer', 'bitch*', 'c0ck', 'clits', 'Cock', 'cum', 'cunt*', 'dago', 'daygo', 'dego', 'dick*', 'dildo', 'fanculo', 'feces', 'foreskin', 'Fu\(*', 'fuk*', 'honkey', 'hore', 'injun', 'kike', 'lesbo', 'masturbat*', 'motherfucker', 'nazis', 'nigger*', 'nutsack', 'penis', 'phuck', 'poop', 'pussy', 'scrotum', 'shit', 'slut', 'titties', 'titty', 'twaty', 'wank*', 'whore', 'wop*');
-
-$lang_meta_album_names = array(
-  'random' => 'შემთხვევითი ფაილები',
-  'lastup' => 'ბოლო დამატებები',
-  'lastalb'=> 'ბოლო განახლებული ალბომები',
-  'lastcom' => 'ბოლო კომენტარები',
-  'topn' => 'ყველაზე პოპულარული',
-  'toprated' => 'ყველაზე რეიტინგული',
-  'lasthits' => 'ბოლო მონახულებული',
-  'search' => 'ძიების შედეგები',
-  'favpics'=> 'რჩეული ფაილები',  //cpg1.4
-);
-
-$lang_errors = array(
-  'access_denied' => 'თქვენ არ გაქვთ ამ გვერდის ნახვის უფლება.',
-  'perm_denied' => 'თქვენ არ გაქვთ ამ ოპერაციის შესრულების უფლება.',
-  'param_missing' => 'სკრიპტი მოთხოვნილი პარამეტრების გარეშეა გამოძახებული.',
-  'non_exist_ap' => 'მითითებული ალბომი/ფაილი არ არსებობს!',
-  'quota_exceeded' => 'დისკის ქვოტა გადავსებულია<br /><br />თქვენი ქოტაა [quota]К, თქვენ ფაილებს უკავიათ [space]К, ამ ფაილის დამატება ქვოტის გადავსებას გამოიწვევს.',
-  'gd_file_type_err' => 'როცა GD ბიბლიოთეკა გამოიყენება, დასაშვებია მხოლოდ JPEG და PNG ტიპის ფაილების გამოყენება.',
-  'invalid_image' => 'ნახატი რომელიც ჩამოტვირთეთ დაზიანებულია ან GD ბიბლიოთეკის მიერ ვერ დამუშავდება',
-  'resize_failed' => 'ვერ ვქმნი მინიატურას ან შემცირებული ზომის ნახატს.',
-  'no_img_to_display' => 'ფოტო არ არის',
-  'non_exist_cat' => 'მითითებული კატეგორია არ არსებობს',
-  'orphan_cat' => 'კატეგორიას ზედა დონის კატეგორია არ გააჩნია, პრობლემის გადასაწყვეტად გამოიყენეთ კატეგორიების მმართველი!',
-  'directory_ro' => 'დასტა \'%s\' ჩაწერადი არაა, ფაილები ვერ წაიშლება',
-  'non_exist_comment' => 'მითითებული კომენტარი არ არსებობს.',
-  'pic_in_invalid_album' => 'ფაილი არარსებულ ალბომშია (%s)!?',
-  'banned' => 'მოცემულ მომენტში საიტის გამოყენება გეკრძალებათ.',
-  'not_with_udb' => 'ეს ფუნქცია გამორთულია, რადგან ინტეგრირებულია ფორუმის პროგრამასთან. ის, რისი გაკეთებაც გსურთ ამ კონფიგურაციით შეუძლებელია ან ფუნქცია უნდა დამუშავდეს ფორუმის პროგრამის საშუალებით.',
-  'offline_title' => 'გამორთულია',
-  'offline_text' => 'გალერეა ამჯერად ამორთულია. დაუბრუნდით მოგვიანებით',
-  'ecards_empty' => 'ამჟამად ბარათების ჩანაწერები არ არსებობს. პროგრამის პარამეტრებში გადაამოწმეთ, ჩართულია თუ არა ბარათების ჟურნალი!',
-  'action_failed' => 'ქმედება ვერ განხორციელდა. პროგრამ თქვენს მოთხოვნას ვერ ამუშავებს.',
-  'no_zip' => 'არქივული ZIP ფაილების დამუშავების ბიბლიოთეკები მიუწვდომელია. გთხოვთ დაუკავშირდეთ პროგრამის საიტის ადმინისტრატორს.',
-  'zip_type' => 'თქვენ არ გაქვთ ZIP ფაილების ატვირთვის უფლება.',
-  'database_query' => 'შეცდომა მონაცემთა ბაზის მოთხოვნის დამუშავებისას', //cpg1.4
-  'register_globals_on' => 'PHP პარამეტრი register_globals თქვენს სერვერზე ჩართულია, რაც საკმაოდ სახიფათოა უსაფრთხოების მხრივ. მკაცრად რეკომენდებულია მისი ამორთვა. [<a href="http://forum.coppermine-gallery.net/index.php/topic,59569.0.html" rel="external" class="external">დაწვრილებით</a>]',
-);
-
-$lang_bbcode_help_title = 'bbcode - დახმარება'; //cpg1.4
-$lang_bbcode_help = 'bbcode ჭდეების საშუალებით ბმებისა და გაფორმების ელემენტების დამატება შეგიძლიათ: <li>[b]მუქი[/b] =&gt; <b>მუქი</b></li><li>[i]კურსივი[/i] =&gt; <i>კურსივი</i></li><li>[url=http://sangu.ge/]საიტის აღწერა[/url] =&gt; <a href="http://sangu.ge">საიტის აღწერა</a></li><li>[email]user@domain.ge[/email] =&gt; <a href="mailto:user@domain.ge">user@domain.ge</a></li><li>[color=red]წითელი ტექსტი[/color] =&gt; <span style="color:red">წითელი ტექსტი</span></li><li>[img]http://coppermine-gallery.net/demo/cpg14x/images/red.gif[/img] => <img src="../images/red.gif" border="0" alt="" /></li>'; //cpg1.4
-
-// ------------------------------------------------------------------------- //
-// File theme.php
-// ------------------------------------------------------------------------- //
-
-$lang_main_menu = array(
-  'home_title' => 'გადასვლა თავფურცელზე',
-  'home_lnk' => 'თავფურცელი',
-  'alb_list_title' => 'გადასვლა ალბომების სიაზე',
-  'alb_list_lnk' => 'ალბომების სია',
-  'my_gal_title' => 'გადასვლა პირად გალერეაზე',
-  'my_gal_lnk' => 'ჩემი გალერეა',
-  'my_prof_title' => 'გადასვლა პირად პროფილზე', //cpg1.4
-  'my_prof_lnk' => 'ჩემი პროფილი',
-  'adm_mode_title' => 'გადასვლა ადმინის რეჟიმში',
-  'adm_mode_lnk' => 'ადმინის რეჟიმი',
-  'usr_mode_title' => 'გადასვლა მონაწილის რეჟიმში',
-  'usr_mode_lnk' => 'მონაწილის რეჟიმი',
-  'upload_pic_title' => 'ფაილის ალბომში ატვირთვა',
-  'upload_pic_lnk' => 'ფაილის ატვირთვა',
-  'register_title' => 'ანგარიშის შექმნა',
-  'register_lnk' => 'რეგისტრაცია',
-  'login_title' => 'შესვლა', //cpg1.4
-  'login_lnk' => 'შესვლა',
-  'logout_title' => 'გამოსვლა', //cpg1.4
-  'logout_lnk' => 'გამოსვლა',
-  'lastup_title' => 'ბოლო ატვირთვების ჩვენება', //cpg1.4
-  'lastup_lnk' => 'ბოლო ატვირთვები',
-  'lastcom_title' => 'ბოლო კომენტარების ჩვენება', //cpg1.4
-  'lastcom_lnk' => 'ბოლო კომენტარები',
-  'topn_title' => 'ყველაზე პოპულარულების ჩვენება', //cpg1.4
-  'topn_lnk' => 'ყველაზე პოპულარულები',
-  'toprated_title' => 'ყველაზე რეიტინგულების ჩვენება', //cpg1.4
-  'toprated_lnk' => 'ყველაზე რეიტინგულები',
-  'search_title' => 'ძიება გალერეაში', //cpg1.4
-  'search_lnk' => 'ძიება',
-  'fav_title' => 'გადასვლა ჩემს რჩეულებზე', //cpg1.4
-  'fav_lnk' => 'ჩემი რჩეულები',
-  'memberlist_title' => 'წევრთა სიის ჩვენება',
-  'memberlist_lnk' => 'წევრთა სია',
-  'faq_title' => 'ძირითადი კითხვები &quot;Coppermine&quot; გალერეის შესახებ',
-  'faq_lnk' => 'ძირითადი კითხვები',
-);
-
-$lang_gallery_admin_menu = array(
-  'upl_app_title' => 'ახალი ატვირთვების უფლება', //cpg1.4
-  'upl_app_lnk' => 'ატვირთვის დასტური',
-  'admin_title' => 'გადასვლა გამართვაზე', //cpg1.4
-  'admin_lnk' => 'გამართვა', //cpg1.4
-  'albums_title' => 'გადასვლა ალბომების კონფიგურაციაზე', //cpg1.4
-  'albums_lnk' => 'ალბომები',
-  'categories_title' => 'გადასვლა კატეგორიების კონფიგურაციაზე', //cpg1.4
-  'categories_lnk' => 'კატეგორიები',
-  'users_title' => 'გადასვლა მონაწილის კონფიგურაციაზე', //cpg1.4
-  'users_lnk' => 'მონაწილეები',
-  'groups_title' => 'გადასვლა ჯგუფის კონფიგურაციაზე', //cpg1.4
-  'groups_lnk' => 'ჯგუფები',
-  'comments_title' => 'ყველა კომენტარის დათვალიერება', //cpg1.4
-  'comments_lnk' => 'კომენტარების დათვალიერება',
-  'searchnew_title' => 'გადასვლა ჯგუფურ დამატებაზე', //cpg1.4
-  'searchnew_lnk' => 'ფაილების ჯგუფური დამატება',
-  'util_title' => 'გადასვლა ადმინის სამარჯვებზე', //cpg1.4
-  'util_lnk' => 'ადმინის სამარჯვები',
-  'key_title' => 'გადასვლა საკვანძო სიტყვების ლექსიკონზე', //cpg1.4
-  'key_lnk' => 'საკვანძო სიტყვების ლექსიკონი', //cpg1.4
-  'ban_title' => 'გადასვლა აკრძალულ მონაწილეებზე', //cpg1.4
-  'ban_lnk' => 'მონაწილეთა აკრძალვა',
-  'db_ecard_title' => 'ბარათების დათვალიერება', //cpg1.4
-  'db_ecard_lnk' => 'ბარათების ჩვენება',
-  'pictures_title' => 'ჩემი ნახატების დალაგება', //cpg1.4
-  'pictures_lnk' => 'ჩემი ნახატების დალაგება', //cpg1.4
-  'documentation_lnk' => 'დოკუმენტაცია', //cpg1.4
-  'documentation_title' => 'გალერეის დოკუმენტაცია', //cpg1.4
-);
-
-$lang_user_admin_menu = array(
-  'albmgr_title' => 'გადასვლა ალბომების შექმნასა და მოწესრიგებაზე', //cpg1.4
-  'albmgr_lnk' => 'ჩემი ალბომების შექმნა / მოწესრიგება',
-  'modifyalb_title' => 'გადასვლა ალბომების შეცვლაზე',  //cpg1.4
-  'modifyalb_lnk' => 'ჩემი ალბომების შეცვლა',
-  'my_prof_title' => 'გადასვლა პირად პროფილზე', //cpg1.4
-  'my_prof_lnk' => 'ჩემი პროფილი',
-);
-
-$lang_cat_list = array(
-  'category' => 'კატეგორიები',
-  'albums' => 'ალბომები',
-  'pictures' => 'ფაილები',
-);
-
-$lang_album_list = array(
-  'album_on_page' => '%d ალბომი %d გვერდზე',
-);
-
-$lang_thumb_view = array(
-  'date' => 'თარიღი',
-  //Sort by filename and title
-  'name' => 'ფაილის სახელი',
-  'title' => 'სათაური',
-  'sort_da' => 'სორტირება თარიღით [აღმავალი]',
-  'sort_dd' => 'სორტირება თარიღით [დაღმავალი]',
-  'sort_na' => 'სორტირება სახელით [აღმავალი]',
-  'sort_nd' => 'სორტირება სახელით [დაღმავალი]',
-  'sort_ta' => 'სორტირება სათაურით [აღმავალი]',
-  'sort_td' => 'სორტირება სათაურით [დაღმავალი]',
-  'position' => 'პოზიცია', //cpg1.4
-  'sort_pa' => 'აღმავალი სორტირება პოზიციით', //cpg1.4
-  'sort_pd' => 'დაღმავალი სორტირება პოზიციით', //cpg1.4
-  'download_zip' => 'გადმოწერა Zip ფაილად',
-  'pic_on_page' => '%d ფაილი %d გვერდზე',
-  'user_on_page' => '%d მონაწილე %d გვერდზე',
-  'enter_alb_pass' => 'მიუთითეთ ალბომის პაროლი', //cpg1.4
-  'invalid_pass' => 'მცდარი პაროლი', //cpg1.4
-  'pass' => 'პაროლი', //cpg1.4
-  'submit' => 'გაგზავნა', //cpg1.4
-);
-
-$lang_img_nav_bar = array(
-  'thumb_title' => 'დაბრუნება მინიატურების გვერდზე',
-  'pic_info_title' => 'ფაილის მონაცემების ჩვენება/დამალვა',
-  'slideshow_title' => 'სლაიდების ჩვენება',
-  'ecard_title' => 'ფაილის ბარათის სახით გაგზავნა',
-  'ecard_disabled' => 'ბარათები ამორთულია',
-  'ecard_disabled_msg' => 'თქვენ არ გაქვთ ბარათების გაგზავნის უფლება', //js-alert
-  'prev_title' => 'წინა ფაილის ნახვა',
-  'next_title' => 'შემდეგი ფაილის ნახვა',
-  'pic_pos' => 'ფაილ(ებ)ი %s/%s',
-  'report_title' => 'ამ ფაილის ადმინისთვის პატაკი', //cpg1.4
-  'go_album_end' => 'გადასვლა ბოლოში', //cpg1.4
-  'go_album_start' => 'დაბრუნება თავში', //cpg1.4
-  'go_back_x_items' => 'უკან %s ელემენტით', //cpg1.4
-  'go_forward_x_items' => 'წინ %s ელემენტით', //cpg1.4
-);
-
-$lang_rate_pic = array(
-  'rate_this_pic' => 'ფაილის შეფასება ',
-  'no_votes' => '(ხმები ჯერ არ მიცემულა)',
-  'rating' => '(მიმდინარე რეიტინგი: %s / 5 - ხმა: %s)',
-  'rubbish' => 'უვარგისი',
-  'poor' => 'ცუდი',
-  'fair' => 'საშუალო',
-  'good' => 'კარგი',
-  'excellent' => 'საუცხოო',
-  'great' => 'საუკეთესო',
-);
-
-// ------------------------------------------------------------------------- //
-// File include/exif.inc.php
-// ------------------------------------------------------------------------- //
-
-// void
-
-// ------------------------------------------------------------------------- //
-// File include/functions.inc.php
-// ------------------------------------------------------------------------- //
-
-$lang_cpg_die = array(
-  INFORMATION => $lang_info,
-  ERROR => $lang_error,
-  CRITICAL_ERROR => 'კრიტიკული შეცდომა',
-  'file' => 'ფაილი: ',
-  'line' => 'სტრიქონი: ',
-);
-
-$lang_display_thumbnails = array(
-  'filename' => 'ფაილი: ', //cpg1.4
-  'filesize' => 'ფაილის ზომა: ', //cpg1.4
-  'dimensions' => 'ზომები: ', //cpg1.4
-  'date_added' => 'თარიღი:', //cpg1.4
-);
-
-$lang_get_pic_data = array(
-  'n_comments' => 'კომენტარი: %s ',
-  'n_views' => 'ნახვა: %s',
-  'n_votes' => '(%s ხმა)',
-);
-
-$lang_cpg_debug_output = array(
-  'debug_info' => 'გამართვის მონაცემები',
-  'select_all' => 'ყველას არჩევა',
-  'copy_and_paste_instructions' => 'თუ პროგრამის ფორუმზე დახმარების მოთხოვნას აპირებთ, გამართვის მონაცემები დააკოპირეთ და მოთხოვნისას თქვენს შეტყობინებაში თქვენს მიერ მიღებული (თუ იქნა) შეცდომის შეტყობინების მითითებით ჩასვით. გაგზავნამდე არ დაგავიწყდეთ პაროლის *** სიმბოლოებით შეცვლა. <br />შენიშვნა: ეს მხოლოდ საინფორმაციო დატვირთვას ატარებს და არ ნიშნავს რომ თქვენს გალერეაში შეცდომაა.',
-  'phpinfo' => 'phpinfo–ს ჩვენება',
-  'notices' => 'შენიშვნები', //cpg1.4
-);
-
-$lang_language_selection = array(
-  'reset_language' => 'ნაგულისხმები ენა',
-  'choose_language' => 'ენის არჩევა',
-);
-
-$lang_theme_selection = array(
-  'reset_theme' => 'ნაგულისხმები თემა',
-  'choose_theme' => 'თემის არჩევა',
-);
-
-$lang_version_alert = array(
-  'version_alert' => 'მიუღებელი ვერსია!', //cpg1.4
-  'security_alert' => 'უსაფრთხოების გაფრთხილება!', //cpg1.4.3
-  'relocate_exists' => 'ამოშალეთ <a href="http://coppermine-gallery.net/forum/index.php?topic=24217.0">relocate_server.php</a> ფაილი თქვენი საიტიდან!',
-  'no_stable_version' => 'თქვენ იყენებთ გალერეას %s (%s) ვერსიით, რომელიც მხოლოდ გამოცდილი მომხმარებლებისთვისაა გათვალისწინებული - ამ ვერსიის მხარდაჭერა შეჩერებულია. გამოიყენეთ საკუთარი რისკით ან, თუ მხარდაჭერა გსურთ, ჩამოაძველვერსიეთ!', //cpg1.4
-  'gallery_offline' => 'გალერეა ავტონომიურ რეჟიმშია და მხოლოდ ადმინისთვისაა მისაწვდომი. ტექმომსახურების დასრულების შემდეგ არ დაგავიწყდეთ კავშირის რეჟიმში დაბრუნება.', //cpg1.4
-);
-
-$lang_create_tabs = array(
-  'previous' => 'წინა', //cpg1.4
-  'next' => 'შემდეგი', //cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File include/init.inc.php
-// ------------------------------------------------------------------------- //
-
-// void
-
-// ------------------------------------------------------------------------- //
-// File keyword.inc.php                                                      //
-// ------------------------------------------------------------------------- //
-
-// void
-
-// ------------------------------------------------------------------------- //
-// File include/picmgmt.inc.php
-// ------------------------------------------------------------------------- //
-
-// void
-
-// ------------------------------------------------------------------------- //
-// File include/plugin_api.inc.php
-// ------------------------------------------------------------------------- //
-$lang_plugin_api = array(
-  'error_wakeup' => "ვერ ვააქტივებ მოდულს '%s'", //cpg1.4
-  'error_install' => "ვერ ვდგამ მოდულს '%s'", //cpg1.4
-  'error_uninstall' => "ვერ ვიღებ მოდულს '%s'", //cpg1.4
-  'error_sleep' => "ვერ ვიღებ მოდულს '%s'<br />", //cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File include/smilies.inc.php
-// ------------------------------------------------------------------------- //
-
-if (defined('SMILIES_PHP')) $lang_smilies_inc_php = array(
-  'Exclamation' => 'წამოძახილი',
-  'Question' => 'შეკითხვა',
-  'Very Happy' => 'ბედნიერება',
-  'Smile' => 'ღიმილი',
-  'Sad' => 'დაღვრემა',
-  'Surprised' => 'გაკვირვება',
-  'Shocked' => 'შეძრწუნება',
-  'Confused' => 'შეცბუნება',
-  'Cool' => 'მაგარია!',
-  'Laughing' => 'სიცილი',
-  'Mad' => 'გიჟი',
-  'Razz' => 'ფაციფუცი',
-  'Embarassed' => 'დარცხვენა',
-  'Crying or Very sad' => 'დამწუხრება',
-  'Evil or Very Mad' => 'გაბოროტება',
-  'Twisted Evil' => 'განრისხება',
-  'Rolling Eyes' => 'გადმოკარკვლა',
-  'Wink' => 'თვალის ჩაკვრა',
-  'Idea' => 'ევრიკა!',
-  'Arrow' => 'ისარი',
-  'Neutral' => 'ნეიტრალური',
-  'Mr. Green' => 'მისტერ გრინი',
-);
-
-// ------------------------------------------------------------------------- //
-// File addpic.php
-// ------------------------------------------------------------------------- //
-
-// void
-
-// ------------------------------------------------------------------------- //
-// File mode.php //cpg1.4
-// ------------------------------------------------------------------------- //
-
-if (defined('MODE_PHP')) $lang_mode_php = array(
-  0 => 'ადმინის რეჟიმიდან გამოსვლა...',
-  1 => 'ადმინის რეჟიმში შესვლა...',
-);
-
-// ------------------------------------------------------------------------- //
-// File albmgr.php
-// ------------------------------------------------------------------------- //
-
-if (defined('ALBMGR_PHP')) $lang_albmgr_php = array(
-  'alb_need_name' => 'ალბომებს სახელი უნდა ერქვათ!', //js-alert
-  'confirm_modifs' => 'ნამდვილად გსურთ ეს ცვლილებები?', //js-alert
-  'no_change' => 'ცვლილებები არ გაგიკეთებიათ!', //js-alert
-  'new_album' => 'ახალი ალბომი',
-  'confirm_delete1' => 'ნამდვილად გსურთ ამ ალბომის წაშლა?', //js-alert
-  'confirm_delete2' => '\nყველა ფაილი და კომენტარი დაიკარგება!', //js-alert
-  'select_first' => 'ჯერ ალბომი აირჩიეთ', //js-alert
-  'alb_mrg' => 'ალბომების მმართველი',
-  'my_gallery' => '* ჩემი გალერეა *',
-  'no_category' => '* უკატეგორიო *',
-  'delete' => 'წაშლა',
-  'new' => 'ახალი',
-  'apply_modifs' => 'ცვლილებების ფიქსაცია',
-  'select_category' => 'კატეგორიის არჩევა',
-);
-
-// ------------------------------------------------------------------------- //
-// File banning.php
-// ------------------------------------------------------------------------- //
-
-if (defined('BANNING_PHP')) $lang_banning_php = array(
-  'title' => 'მონაწილეთა აკრძალვა', //cpg1.4
-  'user_name' => 'მონაწილის სახელი', //cpg1.4
-  'ip_address' => 'IP მისამართი', //cpg1.4
-  'expiry' => 'ვადა (ცარიელი თუ მუდმივია)', //cpg1.4
-  'edit_ban' => 'ცვლილებების შენახვა', //cpg1.4
-  'delete_ban' => 'წაშლა', //cpg1.4
-  'add_new' => 'ახალი აკრძალვის დამატება', //cpg1.4
-  'add_ban' => 'დამატება', //cpg1.4
-  'error_user' => 'მონაწილე ვერ მოიძებნა', //cpg1.4
-  'error_specify' => 'უნდა მიუთითოთ მონაწილის სახელი ან IP მისამართი', //cpg1.4
-  'error_ban_id' => 'აკრძალვის მცდარი კოდი!', //cpg1.4
-  'error_admin_ban' => 'საკუთარ თავს ვერ აკრძალავთ!', //cpg1.4
-  'error_server_ban' => 'საკუთარი სერვერის აკრძალვა გსურთ? ნწუუ, ასეთი რამ შეუძლებელია...', //cpg1.4
-  'error_ip_forbidden' => 'ამ IP-ის ვერ აკრძალავთ - იგი კერძოა, და მაინც!<br />თუ კერძო IP-ბის აკრძლვა გსურთ, შეცვალეთs, შეცვალეთ პარამეტრი <a href="admin.php">კონფიგურაციაში</a> (აზრი აქვს მხოლოდ ლოკალურ ქსელში გალერეის გამოყენებისას).', //cpg1.4
-  'lookup_ip' => 'IP მისამართის ძებნა', //cpg1.4
-  'submit' => 'გასწი!', //cpg1.4
-  'select_date' => 'თარიღის შერჩევა', //cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File bridgemgr.php //cpg1.4
-// ------------------------------------------------------------------------- //
-
-if (defined('BRIDGEMGR_PHP')) $lang_bridgemgr_php = array(
-  'title' => 'დაკავშირების მეგზური',
-  'warning' => 'გაფრთხილება: ამ მეგზურის გამოყენებისას უნდა გაითვალისწინოთ, რომ მნიშვნელოვანი მონაცემები html ფორმით გაიგზავნება. გამოიყენეთ მხოლოდ საკუთარ კომპიუტერზე (და არა საზოგადო კომპიუტერზე ან ინტერნეტ კაფეში) და დასრულების შემდეგ გადაამოწმეთ, რომ ბუფერი გასუფთავებულია და დროებითი ფაილები წაშლილი, რათა სხვებმა თქვენი მონაცემების წაკითხვა ვერ შეძლონ!',
-  'back' => 'უკან',
-  'next' => 'შემდეგ',
-  'start_wizard' => 'დაკავშირების მეგზურის დაწყება',
-  'finish' => 'დასრულება',
-  'hide_unused_fields' => 'ფორმის გამოუყენებელი ველების დამალვა (რეკომენდებულია)',
-  'clear_unused_db_fields' => 'მონაცემთა ბაზის მცდარი ჩანაწერების წაშლა (რეკომენდებულია)',
-  'custom_bridge_file' => 'თქვენი საკუთარი შეხიდების ფაილის სახელი (თუ შეხიდების ფაილია <i>myfile.inc.php</i>, ამ ველში <i>myfile</i> მიუთითეთ)',
-  'no_action_needed' => 'ამ ჯერზე ქმედება საჭირო არაა. დაწკაპეთ \'შემდეგ\' გასაგრძელებლად.',
-  'reset_to_default' => 'მიმდინარე მნიშვნელობის აღდგენა',
-  'choose_bbs_app' => 'გალერეასთან დასაკავშირებელი ფორუმის არჩევა',
-  'support_url' => 'დახმარების მისაღებად აქ გადადით',
-  'settings_path' => 'გეზ(ებ)ი თქვენი ფორუმის პროგრამისთვის',
-  'database_connection' => 'კავშირი მონაცემთა ბაზასთან',
-  'database_tables' => 'მონაცემთა ბაზის ცხრილები',
-  'bbs_groups' => 'ფორუმის ჯგუფები',
-  'license_number' => 'ლიცენზიის ნომერი',
-  'license_number_explanation' => 'მიუთითეთ თქვენი ლიცენზიის ნომერი (თუ შესაძლებელია)',
-  'db_database_name' => 'მონაცემთა ბაზის სახელი',
-  'db_database_name_explanation' => 'მიუთითეთ მონაცემთა ბაზის სახელი თქვენი ფორუმისთვის',
-  'db_hostname' => 'მონაცემთა ბაზის ჰოსტი',
-  'db_hostname_explanation' => 'ჩვეულებრივ, თქვენი mySQL მონაცემთა ბაზის ჰოსტის სახელია &quot;localhost&quot;',
-  'db_username' => 'მონაცემთა ბაზის ანგარიში',
-  'db_username_explanation' => 'mySQL ანგარიში ფორუმთან დასაკავშირებლად',
-  'db_password' => 'მონაცემთა ბაზის პაროლი',
-  'db_password_explanation' => 'პაროლი ამ mySQL ანგარიშისთვის',
-  'full_forum_url' => 'ფორუმის მისამართი',
-  'full_forum_url_explanation' => 'თქვენი ფორუმის სრული მისამართი (წინმსწრები http://-ს ჩათვლით, მაგ., http://www.yourdomain.tld/forum)',
-  'relative_path_of_forum_from_webroot' => 'ფორუმის ფარდობითი გეზი',
-  'relative_path_of_forum_from_webroot_explanation' => 'თქვენი ფორუმის ფარდობითი გეზი (მაგალითი: თუ თქვენი ფორუმის პროგრამაა http://www.yourdomain.tld/forum/, ამ ველში &quot;/forum/&quot; მიუთითეთ)',
-  'relative_path_to_config_file' => 'თქვენი ფორუმის პროგრამის კონფიგურაციის ფაილის ფარდობითი გეზი',
-  'relative_path_to_config_file_explanation' => 'თქვენი ფორუმის პროგრამის ფარდობითი გეზი, თქვენი გალერეის დასტიდან (მაგ., &quot;../forum/&quot; თუ თქვენი ფორუმის პროგრამის გეზია http://www.yourdomain.tld/forum/, ხოლო გალერეის გეზი - http://www.yourdomain.tld/gallery/)',
-  'cookie_prefix' => 'ნაჭდევის პრეფიქსი',
-  'cookie_prefix_explanation' => 'ეს თქვენი ფორუმის ნაჭდევის პრეფიქსი იქნება',
-  'table_prefix' => 'ცხრილის პრეფიქსი',
-  'table_prefix_explanation' => 'უნდა ემთხვეოდეს ფორუმის ჩადგმისას მითითებულ პრეფიქსს.',
-  'user_table' => 'საკუთარი ცხრილი',
-  'user_table_explanation' => '(ჩვეულებრივ, ნაგულისხმებია "დიახ", თუ ფორუმი სტანდარტულადაა ჩადგმული',
-  'session_table' => 'სეანსის ცხრილი',
-  'session_table_explanation' => '(ჩვეულებრივ, ნაგულისხმებია "დიახ", თუ ფორუმი სტანდარტულადაა ჩადგმული)',
-  'group_table' => 'ჯგუფის ცხრილი',
-  'group_table_explanation' => '(ჩვეულებრივ, ნაგულისხმებია "დიახ", თუ ფორუმი სტანდარტულადაა ჩადგმული)',
-  'group_relation_table' => 'ჯგუფთან დაკავშირებული ცხრილი',
-  'group_relation_table_explanation' => '(ჩვეულებრივ, ნაგულისხმებია "დიახ", თუ ფორუმი სტანდარტულადაა ჩადგმული)',
-  'group_mapping_table' => 'ჯგუფის სქემის ცხრილი',
-  'group_mapping_table_explanation' => '(ჩვეულებრივ, ნაგულისხმებია "დიახ", თუ ფორუმი სტანდარტულადაა ჩადგმული)',
-  'use_standard_groups' => 'ფორუმის მონაწილეთა სტანდარტული ჯგუფების გამოყენება',
-  'use_standard_groups_explanation' => 'იყენებს მონაწილეთა სტანდარტულ (ჩადგმულ) ჯგუფებს (რეკომენდებულია). ამ შემთხვევაში ამ გვერდზე მითითებული მონაწილეთა საკუთარი ჯგუფების პარამეტრები დეაქტივირდება. გამორთეთ ეს პარამეტრი თუ ნამდვილად იცით რისი გაკეთება გსურთ!',
-  'validating_group' => 'ჯგუფების უფლებამოსილება',
-  'validating_group_explanation' => 'თქვენი ფორუმის ჯგუფების კოდი სადაც ჯგუფები უფლებამოსილებაა მითითებული (ჩვეულებრივ ნაგულისხმები მნიშვნელობაა &quot;დიახ&quot;, თუ ფორუმი სტანდარტულადაა ჩადგმული)',
-  'guest_group' => 'სტუმართა ჯგუფი',
-  'guest_group_explanation' => 'თქვენი ფორუმის &quot;სტუმართა&quot; (ანონიმურ მონაწილეთა) ჯგუფის კოდი (ნაგულისხმები მნიშვნელობა &quot;დიახ&quot;&quot;. შეცვალეთ ეს პარამეტრი თუ ნამდვილად იცით რისი გაკეთება გსურთ)',
-  'member_group' => 'წევრთა ჯგუფი',
-  'member_group_explanation' => 'თქვენი ფორუმის &quot;წევრთა&quot; (რეგისტრირებულ მონაწილეთა) ჯგუფის კოდი (ნაგულისხმები მნიშვნელობა &quot;დიახ&quot;&quot;. შეცვალეთ ეს პარამეტრი თუ ნამდვილად იცით რისი გაკეთება გსურთ)',
-  'admin_group' => 'ადმინთა ჯგუფი',
-  'admin_group_explanation' => 'თქვენი ფორუმის &quot;ადმინთა&quot; ჯგუფის კოდი (ნაგულისხმები მნიშვნელობა &quot;დიახ&quot;&quot;. შეცვალეთ ეს პარამეტრი თუ ნამდვილად იცით რისი გაკეთება გსურთ)',
-  'banned_group' => 'აკრძალულთა ჯგუფი',
-  'banned_group_explanation' => 'თქვენი ფორუმის &quot;აკრძალულ წევრთა&quot; ჯგუფის კოდი (ნაგულისხმები მნიშვნელობა &quot;დიახ&quot;&quot;. შეცვალეთ ეს პარამეტრი თუ ნამდვილად იცით რისი გაკეთება გსურთ)',
-  'global_moderators_group' => 'გლობალურ მოდერატორთა ჯგუფი',
-  'global_moderators_group_explanation' => 'თქვენი ფორუმის &quot;გლობალურ მოდერატორთა&quot; ჯგუფის კოდი (ნაგულისხმები მნიშვნელობა &quot;დიახ&quot;&quot;. შეცვალეთ ეს პარამეტრი თუ ნამდვილად იცით რისი გაკეთება გსურთ)',
-  'special_settings' => 'ფორუმის სპეციფიური პარამეტრები',
-  'logout_flag' => 'phpBB ვერსია (გასვლის ალამი)',
-  'logout_flag_explanation' => 'თქვენი ფორუმის ვერსია (ეს პარამეტრი მიუთითებს გასვლის ქმედების დამუშავების წესს)',
-  'use_post_based_groups' => 'გამოვიყენო გამოხმაურებათა რაოდენობაზე დამყარებული ჯგუფები?',
-  'logout_flag_yes' => '2.0.5 ან მაღალი',
-  'logout_flag_no' => '2.0.4 ან დაბალი',
-  'use_post_based_groups_explanation' => 'დანაწილდეს თუ არა ჯგუფები ფორუმის გამოხმაურებათა რაოდენობის მიხედვით (იძლევა უფლებების ბიჯობრივი მართვის საშუალებას) თუ გათვალისწინდეს ნაგულისხმები ჯგუფები (რეკომენდებულია). ამ პარამეტრის შეცვლა მოგვიანებითაც შეიძლება.',
-  'use_post_based_groups_yes' => 'დიახ',
-  'use_post_based_groups_no' => 'არა',
-  'error_title' => 'გაგრძელებამდე ეს შეცდომა უნდა გამოსწორდეს. დაუბრუნდით წინა ეკრანს.',
-  'error_specify_bbs' => 'უნდა მიუთითოთ პროგრამა, რომლის შეხიდებაც გსურთ გალერეის ჩადგმულ ვერსიასთან.',
-  'error_no_blank_name' => 'საკუთარი შეხიდების ფაილის ველს ცარიელს ვერ დატოვებთ.',
-  'error_no_special_chars' => 'შეხიდების ფაილის სახელი არ შეიძლება შეიცავდეს სპეციალურ სიმბოლოებს გარდა ხაზგასმისა (_) და დეფისის (-)!',
-  'error_bridge_file_not_exist' => 'შეხიდების ფაილი %s სერვერზე არ არსებობს. გადაამოწმეთ, ატვირთულია თუ არა იგი.',
-  'finalize' => 'ფორუმის ინტეგრაციის ჩართვა/ამორთვა',
-  'finalize_explanation' => 'აქამდე, თქვენს მიერ მითითებული პარამეტრები მონაცემთა ბაზაში იწერებოდა, მაგრამ ფორუმის ინტეგრაცია ჩართული არ იყო. ინტეგრაციის ჩართვა/ამორთვა მოგვიანებით ნებისმიერ დროს შეიძლება. არ შეიძლება გალერეის ადმინის საწყისი სახელისა და პაროლის დავიწყება, რადგან შეიძლება მოგვიანებით დაგჭირდეთ. თუ რაიმე მცდარად წარიმართა დაბრუნდით აქ %s და ამორთეთ ფორუმის ინტეგრაცია, გალერეის ცალკე მდგომი (შეუხიდავი) ვერსიის ანგარიშის საშუალებით (ჩვეულებრივ, რაც მიუთითეთ გალერეის ჩადგმისას).',
-  'your_bridge_settings' => 'თქვენი შეხიდების პარამეტრები',
-  'title_enable' => '%s პროგრამასთან ინტერაციის/ხიდის გააქტივება',
-  'bridge_enable_yes' => 'ჩართვა',
-  'bridge_enable_no' => 'ამორთვა',
-  'error_must_not_be_empty' => 'ცარიელი არ უნდა იყოს',
-  'error_either_be' => 'უნდა იყოს %s ან %s',
-  'error_folder_not_exist' => '%s არ არსებობს. შეასწორეთ მითითებული მნიშვნელობა %s პარამეტრისთვის',
-  'error_cookie_not_readible' => 'გალერეა ვერ კითხულობს ნაჭდევს სახელით %s. შეასწორეთ მითითებული მნიშვნელობა %s პარამეტრისთვის, ან გადადით ფორუმის ადმინის პანელში და გადაამოწმეთ ნაჭდევის გეზის მისაწვდომობა გალერეისთვის.',
-  'error_mandatory_field_empty' => '%s ველს ცარიელს ვერ დატოვებთ - მიუთითეთ მართებული მნიშვნელობა.',
-  'error_no_trailing_slash' => '%s ველში თანმდევი დახრილი ხაზი არ უნდა იყოს.',
-  'error_trailing_slash' => '%s ველში თანმდევი დახრილი ხაზი უნდა იყოს.',
-  'error_db_connect' => 'თქვენი მონაცემებით mySQL მონაცემთა ბაზას ვერ ვუკავშირდები. აი mySQL შეტყობინება:',
-  'error_db_name' => 'თუმცა გალერეამ კავშირი დაამყარა, მაგრამ %s მონაცემთა ბაზას ვერ პოულობს. გადაამოწმეთ, რომ მითითებული %s მართებულია. აი mySQL შეტყობინება:',
-  'error_prefix_and_table' => '%s და ',
-  'error_db_table' => 'ცხრილი %s ვერ მოიძებნა. გადაამოწმეთ, რომ მითითებული %s მართებულია.',
-  'recovery_title' => 'შეხიდების მმართველი: გაუთვალისწინებელი აღდგენა',
-  'recovery_explanation' => 'თუ ფორუმის თქვენს გალერეასთან ინტეგრაციას აპირებთ უნდა შემოხვიდეთ როგორც ადმინი. თუ ადმინის სტატუსით შემოსვლას შეხიდების მცდარი ფუნქციონირების გამო ვერ ახერხებთ, ფორუმის ინტეგრაცია ამ გვერდიდან შეგიძლიათ ამორთოთ. სახელისა და პაროლის მითითება სისტემაში არ შეგიშვებთ - იგი მხოლოდ ფორუმის ინტეგრაციას გააუქმებს. დეტალებისთვის გადახედეთ დოკუმენტაციას.',
-  'username' => 'სახელი',
-  'password' => 'პაროლი',
-  'disable_submit' => 'გაგზავნა',
-  'recovery_success_title' => 'ავტორიზება შედგა',
-  'recovery_success_content' => 'თქვენ წარმატებით ამორთეთ ფორუმის შეხიდება. თქვენი გალერეა ამჟამად დამოუკიდებლად მუშაობს.',
-  'recovery_success_advice_login' => 'შეხიდების პარამეტრების შესაცვლელად შედით როგორც ადმინი და/ან კვლავ ჩართეთ ფორუმის ინტეგრაციის რეჟიმი.',
-  'goto_login' => 'გადასვლა შესვლის გვერდზე',
-  'goto_bridgemgr' => 'გადასვლა შეხიდების მმართველზე',
-  'recovery_failure_title' => 'ავტორიზება არ შედგა',
-  'recovery_failure_content' => 'თქვენ არასაკმარისი უფლებამოსილება გაგაჩნიათ. უნდა გაგაჩნდეთ ადმინის ანგარიში გალერეის ცალკეული ვერსიისთვის (ჩვეულებრივ, ანგარიში პროგრამის ჩადგმისას).',
-  'try_again' => 'კვლავ სცადეთ',
-  'recovery_wait_title' => 'დაცდის ვადა არ გასულა',
-  'recovery_wait_content' => 'უსაფრთხოების მიზნით ეს სკრიპტი კრძალავს უშედეგო მცდელობებს მოკლე დროის განმავლობაში. ამგვარად შესვლის შემდეგ მცდელობამდე გარკვეული ხნით დაცდა მოგიწევთ.',
-  'wait' => 'დაცდა',
-  'create_redir_file' => 'გადამისამართების ფაილის შექმნა (რეკომენდებულია)',
-  'create_redir_file_explanation' => 'ფორუმში შესვლის შემდეგ მონაწილის გალერეაში გადამისამართებლად აუცილებელია თქვენი ფორუმის დასტაში შექმნილი გადამისამართების ფაილი. როცა ეს პარამეტრი ჩართულია, შეხიდების მმართველი შეეცდება ამ ფაილის შექმნას ან მოგაწვდით გამზადებულ დასაკოპირებელ და ჩასასმელ კოდს ფაილის ხელით შესაქმნელად.',
-  'browse' => 'ნუსხა',
-);
-
-// ------------------------------------------------------------------------- //
-// File calendar.php //cpg1.4
-// ------------------------------------------------------------------------- //
-
-if (defined('CALENDAR_PHP')) $lang_calendar_php = array(
-  'title' => 'კალენდარი', //cpg1.4
-  'close' => 'დახურვა', //cpg1.4
-  'clear_date' => 'თარიღის წაშლა', //cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File catmgr.php
-// ------------------------------------------------------------------------- //
-
-if (defined('CATMGR_PHP')) $lang_catmgr_php = array(
-  'miss_param' => 'პარამეტრები \'%s\' ოპერაციის შესასრულებლად არ მითითებულა!',
-  'unknown_cat' => 'შერჩეული კატეგორიები ბაზაში არ არსებობენ',
-  'usergal_cat_ro' => 'მონაწილეთა გალერეების კატეგორია ვერ წაიშლება!',
-  'manage_cat' => 'კატეგორიების მართვა',
-  'confirm_delete' => 'ნამდვილად გსურთ ამ კატეგორიის წაშლა?', //js-alert
-  'category' => 'კატეგორია',
-  'operations' => 'ოპერაციები',
-  'move_into' => 'გადატანა',
-  'update_create' => 'კატეგორიის განახლება/შექმნა',
-  'parent_cat' => 'ზედა დონის კატეგორია',
-  'cat_title' => 'კატეგორიის სათაური',
-  'cat_thumb' => 'კატეგორიის მინიატურა',
-  'cat_desc' => 'კატეგორიის აღწერა',
-  'categories_alpha_sort' => 'კატეგორიების ანბანური დალაგება (დალაგების საკუთარი რიგის ნაცვლად)', //cpg1.4
-  'save_cfg' => 'კონფიგურაციის შენახვა', //cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File admin.php //cpg1.4
-// ------------------------------------------------------------------------- //
-
-if (defined('ADMIN_PHP')) $lang_admin_php = array(
-  'title' => 'გალერეის კონფიგურაცია', //cpg1.4
-  'manage_exif' => 'exif ჩვენების მართვა', //cpg1.4
-  'manage_plugins' => 'მოდულების მართვა', //cpg1.4
-  'manage_keyword' => 'საკვანძო სიტყვების მართვა', //cpg1.4
-  'restore_cfg' => 'საწყისი პარამეტრების აღდგენა',
-  'save_cfg' => 'ახალი კონფიგურაციის შენახვა',
-  'notes' => 'შენიშვნები',
-  'info' => 'ინფორმაცია',
-  'upd_success' => 'გალერეის კონფიგურაცია განახლდა',
-  'restore_success' => 'გალერეის საწყისი კონფიგურაცია აღდგა',
-  'name_a' => 'სახელი [აღმავალი]',
-  'name_d' => 'სახელი [დაღმავალი]',
-  'title_a' => 'სათაური [აღმავალი]',
-  'title_d' => 'სათაური [დაღმავალი]',
-  'date_a' => 'თარიღი [აღმავალი]',
-  'date_d' => 'თარიღი [აღმავალი]',
-  'pos_a' => 'პოზიცია [აღმავალი]', //cpg1.4
-  'pos_d' => 'პოზიცია [დაღმავალი]', //cpg1.4
-  'th_any' => 'მაქს. ზომა',
-  'th_ht' => 'სიმაღლე',
-  'th_wd' => 'სიგანე',
-  'label' => 'წარწერა',
-  'item' => 'ალამი',
-  'debug_everyone' => 'ყველა',
-  'debug_admin' => 'მხოლოდ ადმინი',
-  'no_logs'=> 'ამორთვა', //cpg1.4
-  'log_normal'=> 'ჩვეულებრივი', //cpg1.4
-  'log_all' => 'ყველა', //cpg1.4
-  'view_logs' => 'დავთრის ნახვა', //cpg1.4
-  'click_expand' => 'დაწკაპეთ სექციის სახელი ჩამოსაშლელად', //cpg1.4
-  'expand_all' => 'ყველას ჩამოშლა', //cpg1.4
-  'notice1' => '(*) თუ მონაცემთა ბაზაში ფაილები უკვე გაქვთ ეს პარამეტრები არ უნდა შეიცვალოს.', //cpg1.4 - (relocated)
-  'notice2' => '(**) ამ პარამეტრების ცვლილება შეეხება მხოლოდ ამ ცვლილების შემდეგ ჩამოტვირთულ ფაილებს, ამიტომ ამ პარამეტრების შეცვლა თუ გალერეაში უკვე გაქვთ ფაილები რეკომენდებული არაა. თუმცა ცვლილებები შეგიძლიათ განახოციელოთ უკვე არსებული ფაილებისთვისაც &quot;<a href="util.php">ადმინის სამარჯვებით</a> (ზომის შეცვლა)&quot; ადმინის მენიუდან.', //cpg1.4 - (relocated)
-  'notice3' => '(***) დავთრის ყველა ფაილი ინგლისურადაა.', //cpg1.4 - (relocated)
-  'bbs_disabled' => 'ფუნქცია ამორთულია bb ინტეგრაციისას', //cpg1.4
-  'auto_resize_everyone' => 'ყველა', //cpg1.4
-  'auto_resize_user' => 'მხოლოდ მონაწილე', //cpg1.4
-  'ascending' => 'აღმავალი', //cpg1.4
-  'descending' => 'დაღმავალი', //cpg1.4
-        );
-
-if (defined('ADMIN_PHP')) $lang_admin_data = array(
-  'ძირითადი პარამეტრები',
-  array('გალერეის სახელი', 'gallery_name', 0, 'f=index.htm&amp;as=admin_general_name&amp;ae=admin_general_name_end'), //cpg1.4
-  array('გალერეის აღწერა', 'gallery_description', 0, 'f=index.htm&amp;as=admin_general_description&amp;ae=admin_general_description_end'), //cpg1.4
-  array('ადმინისტრატორის ელფოსტა', 'gallery_admin_email', 0, 'f=index.htm&amp;as=admin_general_email&amp;ae=admin_general_email_end'), //cpg1.4
-  array('თქვენი გალერეის დასტის მისამართი (\'index.php\' ან მსგავსის გარეშე)', 'ecards_more_pic_target', 0, 'f=index.htm&amp;as=admin_general_coppermine-url&amp;ae=admin_general_coppermine-url_end'), //cpg1.4
-  array('თქვენი საიტის სათაო გვერდი', 'home_target', 0, 'f=index.htm&amp;as=admin_general_home-url&amp;ae=admin_general_home-url_end'), //cpg1.4
-  array('რჩეულებში ZIP ფაილების ჩამოტვირთვის უფლება', 'enable_zipdownload', 1, 'f=index.htm&amp;as=admin_general_zip-download&amp;ae=admin_general_zip-download_end'), //cpg1.4
-  array('საათობრივი სხვაობა გრინვიჩის დროსთან (მიმდინარე დრო: ' . localised_date(-1, $comment_date_fmt) . ')','time_offset',0, 'f=index.htm&amp;as=admin_general_time-offset&amp;ae=admin_general_time-offset_end&amp;top=1'), //cpg1.4
-  array('პაროლების დაშიფვრის ჩართვა (შეუქცევადია)','enable_encrypted_passwords',1, 'f=index.htm&amp;as=admin_general_encrypt_password_start&amp;ae=admin_general_encrypt_password_end&amp;top=1'), // cpg 1.4
-  array('დახმარების პიქტოგრამების ჩართვა (მხოლოდ ინგლისურად)','enable_help',9, 'f=index.htm&amp;as=admin_general_help&amp;ae=admin_general_help_end'), //cpg1.4
-  array('ძებნისას დაწკაპვადი საკვანძო სიტყვების გამოყენება','clickable_keyword_search',14, 'f=index.htm&amp;as=admin_general_keywords_start&amp;ae=admin_general_keywords_end'), //cpg1.4
-  array('მოდულების ჩართვა', 'enable_plugins', 12, 'f=index.htm&amp;as=admin_general_enable-plugins&amp;ae=admin_general_enable-plugins_end'),  //cpg1.4
-  array('კერძო IP მისამართების აკრძალვის უფლება', 'ban_private_ip', 1,  'f=index.htm&amp;as=admin_general_private-ip&amp;ae=admin_general_private-ip_end'), //cpg1.4
-  array('ჯგუფური დამატების სიის სახით ჩვენება', 'browse_batch_add', 1, 'f=index.htm&amp;as=admin_general_browsable_batch_add&amp;ae=admin_general_browsable_batch_add_end'), //cpg1.4
-
-  'ენები და კოდირება',
-  array('ენა', 'lang', 5, 'f=index.htm&amp;as=admin_language_language&amp;ae=admin_language_language_end'), //cpg1.4
-  array('დავუბრუნდე ინგლისურს თუ ნათარგმნი ფრაზა ვერ მოიძებნა?', 'language_fallback', 1, 'f=index.htm&amp;as=admin_language_fallback&amp;ae=admin_language_fallback_end'), //cpg1.4
-  array('კოდირება', 'charset', 4, 'f=index.htm&amp;as=admin_language_charset&amp;ae=admin_language_charset_end'), //cpg1.4
-  array('ენების სიის ჩვენება', 'language_list', 1, 'f=index.htm&amp;as=admin_language_list&amp;ae=admin_language_list_end'), //cpg1.4
-  array('ალმების ჩვენება', 'language_flags', 8, 'f=index.htm&amp;as=admin_language_flags&amp;ae=admin_language_flags_end&amp;top=1'), //cpg1.4
-  array('ენის შერჩევისას &quot;აღდგენის&quot; ჩვენება', 'language_reset', 1, 'f=index.htm&amp;as=admin_language_reset&amp;ae=admin_language_reset_end&amp;top=1'), //cpg1.4
-  //array('წინა/შემდეგი ან დაფების გვერდების ჩვენება', 'previous_next_tab', 1), //cpg1.4
-
-  'თემის პარამეტრები',
-  array('თემა', 'theme', 6, 'f=index.htm&amp;as=admin_theme_theme&amp;ae=admin_theme_theme_end'), //cpg1.4
-  array('თემების სიის ჩვენება', 'theme_list', 1, 'f=index.htm&amp;as=admin_theme_theme_list&amp;ae=admin_theme_theme_list_end'), //cpg1.4
-  array('თემის შერჩევისას &quot;აღდგენის&quot; ჩვენება', 'theme_reset', 1, 'f=index.htm&amp;as=admin_theme_theme_reset&amp;ae=admin_theme_theme_reset_end'), //cpg1.4
-  array('ძირითადი კითხვების ჩვენება', 'display_faq', 1, 'f=index.htm&amp;as=admin_theme_faq&amp;ae=admin_theme_faq_end'), //cpg1.4
-  array('საკუთარი მენიუს ბმის სახელი', 'custom_lnk_name', 0,'f=index.htm&amp;as=admin_theme_custom_lnk_name&amp;ae=admin_theme_custom_lnk_name_end'), //cpg1.4
-  array('საკუთარი მენიუს ბმის მისამართი', 'custom_lnk_url', 0,'f=index.htm&amp;as=admin_language_custom_lnk_url&amp;ae=admin_language_custom_lnk_url_end'), //cpg1.4
-  array('bbcode დახმარების ჩვენება', 'show_bbcode_help', 1, 'f=index.htm&amp;as=admin_theme_bbcode&amp;ae=admin_theme_bbcode_end&amp;top=1'), //cpg1.4
-  array('ბლოკების ჩვენება XHTML და CSS შესაბამისად მითითებული თემებისთვის','vanity_block',1, 'f=index.htm&amp;as=vanity_block&amp;ae=vanity_block_end'), //cpg1.4
-  array('საკუთარი თავსართის გეზი', 'custom_header_path', 0, 'f=index.htm&amp;as=admin_theme_include_path_start&amp;ae=admin_theme_include_path_end'), //cpg1.4
-  array('საკუთარი ქვესართის გეზი', 'custom_footer_path', 0, 'f=index.htm&amp;as=admin_theme_include_path_start&amp;ae=admin_theme_include_path_end'), //cpg1.4
-
-  'ალბომების სიის ჩვენება',
-  array('მთავარი ცხრილის სიგანე (პიქსელი ან %)', 'main_table_width', 0, 'f=index.htm&amp;as=admin_album_table-width&amp;ae=admin_album_table-width_end'), //cpg1.4
-  array('კატეგორიების დონეების რაოდენობა საჩვენებლად', 'subcat_level', 0, 'f=index.htm&amp;as=admin_album_category-levels&amp;ae=admin_album_category-levels_end'), //cpg1.4
-  array('ალბომების რაოდენობა საჩვენებლად', 'albums_per_page', 0, 'f=index.htm&amp;as=admin_album_number&amp;ae=admin_album_number_end'), //cpg1.4
-  array('სვეტების რაოდენობა ალბომების სიისთვის', 'album_list_cols', 0, 'f=index.htm&amp;as=admin_album_columns&amp;ae=admin_album_columns_end'), //cpg1.4
-  array('მინიატურების ზომა პიქსელებში', 'alb_list_thumb_size', 0, 'f=index.htm&amp;as=admin_album_thumbnail-size&amp;ae=admin_album_thumbnail-size_end'), //cpg1.4
-  array('თავფურცლის შიგთავსი', 'main_page_layout', 0, 'f=index.htm&amp;as=admin_album_list_content&amp;ae=admin_album_list_content_end'), //cpg1.4
-  array('კატეგორიებში პირველი დონის ალბომების მინიატურების ჩვენება','first_level',1, 'f=index.htm&amp;as=admin_album_first-level_thumbs&amp;ae=admin_album_first-level_thumbs_end'), //cpg1.4
-  array('კატეგორიების ანბანურად დალაგება (ნაცვლად საკუთარი რიგისა)','categories_alpha_sort',1, 'f=index.htm&amp;as=admin_album_list_alphasort_start&amp;ae=admin_album_list_alphasort_end'), //cpg1.4
-  array('ბმის ფაილების რაოდენობის ჩვენება','link_pic_count',1, 'f=index.htm&amp;as=admin_album_linked_files_start&amp;ae=admin_album_linked_files_end'), //cpg1.4
-
-  'მინიატურების ჩვენება',
-  array('სვეტების რაოდენობა მინიატურების გვერდზე', 'thumbcols', 0, 'f=index.htm&amp;as=admin_thumbnail_columns&amp;ae=admin_thumbnail_columns_end'), //cpg1.4
-  array('მწკრივების რაოდენობა მინიატურების გვერდზე', 'thumbrows', 0, 'f=index.htm&amp;as=admin_thumbnail_rows&amp;ae=admin_thumbnail_rows_end'), //cpg1.4
-  array('ნაჩვენები დაფების მაქსიმალური რაოდენობა', 'max_tabs', 10, 'f=index.htm&amp;as=admin_thumbnail_tabs&amp;ae=admin_thumbnail_tabs_end'), //cpg1.4
-  array('ფაილის წარწერის ჩვენება (სათაურის გარდა) მინიატურის ქვეშ', 'caption_in_thumbview', 1, 'f=index.htm&amp;as=admin_thumbnail_display_caption&amp;ae=admin_thumbnail_display_caption_end'), //cpg1.4
-  array('ნახვის რაოდენობის ჩვენება მინიატურის ქვეშ', 'views_in_thumbview', 1, 'f=index.htm&amp;as=admin_thumbnail_display_views&amp;ae=admin_thumbnail_display_views_end'), //cpg1.4
-  array('კომენტარების რაოდენობის ჩვენება მინიატურის ქვეშ', 'display_comment_count', 1, 'f=index.htm&amp;as=admin_thumbnail_display_comments&amp;ae=admin_thumbnail_display_comments_end'), //cpg1.4
-  array('ფაილის ამტვირთავის სახელის ჩვენება მინიატურის ქვეშ', 'display_uploader', 1, 'f=index.htm&amp;as=admin_thumbnail_display_uploader&amp;ae=admin_thumbnail_display_uploader_end'), //cpg1.4
-  //array('ფაილის ადმინი ამტვირთავის სახელის ჩვენება მინიატურის ქვეშ', 'display_admin_uploader', 1, 'f=index.htm&amp;as=admin_thumbnail_display_admin_uploader&amp;ae=admin_thumbnail_display_admin_uploader_end'), //cpg1.4
-  array('ფაილის სახელის ჩვენება მინიატურის ქვეშ', 'display_filename', 1, 'f=index.htm&amp;as=admin_thumbnail_display_filename&amp;ae=admin_thumbnail_display_filename_end'), //cpg1.4
-  array('ალბომის აღწერილობის ჩვენება', 'alb_desc_thumb', 1, 'f=index.htm&amp;as=admin_thumbnail_display_description&amp;ae=admin_thumbnail_display_description_end'), //cpg1.4
-  array('ფაილების სორტირების ნაგულისხმები რიგი', 'default_sort_order', 3, 'f=index.htm&amp;as=admin_thumbnail_default_sortorder&amp;ae=admin_thumbnail_default_sortorder_end'), //cpg1.4
-  array('ხმათა მინიმალური რაოდენობა \'ყველაზე რეიტინგულ\' ფაილთა სიაში', 'min_votes_for_rating', 0, 'f=index.htm&amp;as=admin_thumbnail_minimum_votes&amp;ae=admin_thumbnail_minimum_votes_end'), //cpg1.4
-
-  'ნახატების ჩვენება', //cpg1.4
-  array('ფაილების ჩვენების ცხრილის სიგანე (პიქსელი ან %)', 'picture_table_width', 0, 'f=index.htm&amp;as=admin_image_comment_table-width&amp;ae=admin_image_comment_table-width_end'), //cpg1.4
-  array('ფაილის ინფორმაცია ხილულია ნაგულისხმებად', 'display_pic_info', 1, 'f=index.htm&amp;as=admin_image_comment_info_visible&amp;ae=admin_image_comment_info_visible_end'), //cpg1.4
-  array('ფაილის აღწერილობის მაქსიმალური ზომა', 'max_img_desc_length', 0, 'f=index.htm&amp;as=admin_image_comment_descr_length&amp;ae=admin_image_comment_descr_length_end'), //cpg1.4
-  array('სიტყვაში ასო-ნიშანთა მაქსიმალური რაოდენობა', 'max_com_wlength', 0, 'f=index.htm&amp;as=admin_image_comment_chars_per_word&amp;ae=admin_image_comment_chars_per_word_end'), //cpg1.4
-  array('დიაფილმის ჩვენება', 'display_film_strip', 1, 'f=index.htm&amp;as=admin_image_comment_filmstrip_toggle&amp;ae=admin_image_comment_filmstrip_toggle_end'), //cpg1.4
-  array('დიაფილმის ფაილის სახელის ჩვენება მინიატურის ქვეშ', 'display_film_strip_filename', 1, 'f=index.htm&amp;as=admin_image_comment_display_film_strip_filename&amp;ae=admin_image_comment_display_film_strip_filename_end'), //cpg1.4
-  array('კადრების რაოდენობა დიაფილმში', 'max_film_strip_items', 0, 'f=index.htm&amp;as=admin_image_comment_filmstrip_number&amp;ae=admin_image_comment_filmstrip_number_end'), //cpg1.4
-  array('სლაიდების ჩვენების ინტერვალი მილიწამებში (1 წამი = 1000 მილიწამი)', 'slideshow_interval', 0, 'f=index.htm&amp;as=admin_image_comment_slideshow_interval&amp;ae=admin_image_comment_slideshow_interval_end'), //cpg1.4
-
-  'კომენტარების პარამეტრები', //cpg1.4
-  array('უცენზურო სიტყვების გაფილტვრა კომენტარებში', 'filter_bad_words', 1, 'f=index.htm&amp;as=admin_image_comment_bad_words&amp;ae=admin_image_comment_bad_words_end'), //cpg1.4
-  array('კომენტარებში მიმიკების დაშვება', 'enable_smilies', 1, 'f=index.htm&amp;as=admin_image_comment_smilies&amp;ae=admin_image_comment_smilies_end'), //cpg1.4
-  array('ერთი და იგივე მონაწილისთვის ერთი ფაილისთვის რამდენიმე კომენტარის ნებართვა (გადავსების დაცვის გამორთვა)', 'disable_comment_flood_protect', 1, 'f=index.htm&amp;as=admin_image_comment_flood&amp;ae=admin_image_comment_flood_end'), //cpg1.4
-  array('სტრიქონების მაქსიმალური რაოდენობა კომენტარში', 'max_com_lines', 0, 'f=index.htm&amp;as=admin_image_comment_lines&amp;ae=admin_image_comment_lines_end'), //cpg1.4
-  array('კომენტარის მაქსიმალური ზომა', 'max_com_size', 0, 'f=index.htm&amp;as=admin_image_comment_length&amp;ae=admin_image_comment_length_end'), //cpg1.4
-  array('კომენტარის დამატების ადმინისტრატორისთვის ელფოსტით შეტყობინება', 'email_comment_notification', 1, 'f=index.htm&amp;as=admin_image_comment_admin_notify&amp;ae=admin_image_comment_admin_notify_end'), //cpg1.4
-  array('კომენტარების სორტირების რიგი', 'comments_sort_descending', 17, 'f=index.htm&amp;as=admin_comment_sort_start&amp;ae=admin_comment_sort_end'), //cpg1.4
-  array('პრეფიქსი ანონიმური კომენტარებისთვის', 'comments_anon_pfx', 0, 'f=index.htm&amp;as=comments_anon_pfx&amp;ae=comments_anon_pfx_end'), //cpg1.4
-
-  'ფაილებისა და მინიატურების პარამეტრები',
-  array('JPEG ფაილების ხარისხი', 'jpeg_qual', 0, 'f=index.htm&amp;as=admin_picture_thumbnail_jpeg_quality&amp;ae=admin_picture_thumbnail_jpeg_quality_end'), //cpg1.4
-  array('მინიატურის მაქსიმალური ზომები <a href="#notice2" class="clickable_option">**</a>', 'thumb_width', 0, 'f=index.htm&amp;as=admin_picture_thumbnail_max-dimension&amp;ae=admin_picture_thumbnail_max-dimension_end'), //cpg1.4
-  array('ზომების გამოყენება (მინიატურის სიგანე, სიმაღლე ან მაქსიმალური ზომა ) <a href="#notice2" class="clickable_option">**</a>', 'thumb_use', 7, 'f=index.htm&amp;as=admin_picture_thumbnail_use-dimension&amp;ae=admin_picture_thumbnail_use-dimension_end'), //cpg1.4
-  array('შუალედური ნახატების შექმნა','make_intermediate',1, 'f=index.htm&amp;as=admin_picture_thumbnail_intermediate_toggle&amp;ae=admin_picture_thumbnail_intermediate_toggle_end'), //cpg1.4
-  array('შუალედური ნახატის/ვიდეოს მაქსიმალური სიგანე და სიმაღლე <a href="#notice2" class="clickable_option">**</a>', 'picture_width', 0, 'f=index.htm&amp;as=admin_picture_thumbnail_intermediate_dimension&amp;ae=admin_picture_thumbnail_intermediate_dimension_end'), //cpg1.4
-  array('ატვირთული ფაილების მაქსიმალური ზომა (კბ)', 'max_upl_size', 0, 'f=index.htm&amp;as=admin_picture_thumbnail_max_upload_size&amp;ae=admin_picture_thumbnail_max_upload_size_end'), //cpg1.4
-  array('ატვირთული ნახატის/ვიდეოს მაქსიმალური სიგანე ან სიმაღლე (პიქსელი)', 'max_upl_width_height', 0, 'f=index.htm&amp;as=admin_picture_thumbnail_max_upload_dimension&amp;ae=admin_picture_thumbnail_max_upload_dimension_end'), //cpg1.4
-  array('მაქსიმალურ სიგანეზე მეტი ზომის ნახატების თვითშემცირება', 'auto_resize', 16, 'f=index.htm&amp;as=admin_picture_thumbnail_auto-resize&amp;ae=admin_picture_thumbnail_auto-resize_end'), //cpg1.4
-
-  'ფაილებისა და მინიატურების დეტალური პარამეტრები',
-  array('ალბომები შესაძლოა პირადიც იყოს (შენიშვნა: თუ \'დიახ\'-ს \'არა\'-ზე გადართავთ ნებისმიერი პირადი ალბომი საზოგადოდ გარდაიქმნება)', 'allow_private_albums', 1, 'f=index.htm&amp;as=admin_picture_thumb_advanced_private_toggle&amp;ae=admin_picture_thumb_advanced_private_toggle_end'), //cpg1.4
-  array('სტუმრებისთვსი პირადი ალბომის პიქტოგრამის ჩვენება','show_private',1, 'f=index.htm&amp;as=admin_picture_thumb_advanced_private_icon_show&amp;ae=admin_picture_thumb_advanced_private_icon_show_end'), //cpg1.4
-  array('აკრძალული სიმბოლოები ფაილის სახელებში ', 'forbiden_fname_char',0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_filename_forbidden_chars&amp;ae=admin_picture_thumb_advanced_filename_forbidden_chars_end'), //cpg1.4
-  //array('ჩამოსატვირთი ნახატების ფაილების დასაშვები ტიპები', 'allowed_file_extensions',0, 'f=index.htm&amp;as=&amp;ae=_end'), //cpg1.4
-  array('ნახატების დასაშვები ტიპები', 'allowed_img_types',0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_pic_extensions&amp;ae=admin_picture_thumb_advanced_pic_extensions_end'), //cpg1.4
-  array('ვიდეოფაილების დასაშვები ტიპები', 'allowed_mov_types',0, 'f=index.htm&amp;as=admin_thumbs_advanced_movie&amp;ae=admin_thumbs_advanced_movie_end'), //cpg1.4
-  array('ფილმის ჩვენების ავტომატური დაწყება', 'media_autostart',1, 'f=index.htm&amp;as=admin_movie_autoplay&amp;ae=admin_movie_autoplay_end'), //cpg1.4
-  array('აუდიოფაილების დასაშვები ტიპები', 'allowed_snd_types',0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_audio_extensions&amp;ae=admin_picture_thumb_advanced_audio_extensions_end'), //cpg1.4
-  array('დოკუმენტების დასაშვები ტიპები', 'allowed_doc_types',0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_doc_extensions&amp;ae=admin_picture_thumb_advanced_doc_extensions_end'), //cpg1.4
-  array('ნახატების ზომის შეცვლის მეთოდი','thumb_method',2, 'f=index.htm&amp;as=admin_picture_thumb_advanced_resize_method&amp;ae=admin_picture_thumb_advanced_resize_method_end'), //cpg1.4
-  array('ImageMagick \'გარდაქმნის\' პროგრამის გეზი (მაგალითი /usr/bin/X11/)', 'impath', 0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_im_path&amp;ae=admin_picture_thumb_advanced_im_path_end'), //cpg1.4
-  //array('ნახატების დასაშვები ტიპები (მხოლოდ ImageMagick-ისთვის)', 'allowed_img_types',0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_allowed_imagetypes&amp;ae=admin_picture_thumb_advanced_allowed_imagetypes_end'), //cpg1.4
-  array('ImageMagick ბრძანების პარამეტრები', 'im_options', 0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_im_commandline&amp;ae=admin_picture_thumb_advanced_im_commandline_end'), //cpg1.4
-  array('EXIF მონაცემების კითხვა JPEG ფაილებში', 'read_exif_data', 13, 'f=index.htm&amp;as=admin_picture_thumb_advanced_exif&amp;ae=admin_picture_thumb_advanced_exif_end'), //cpg1.4
-  array('IPTC მონაცემების კითხვა JPEG ფაილებში', 'read_iptc_data', 1, 'f=index.htm&amp;as=admin_picture_thumb_advanced_iptc&amp;ae=admin_picture_thumb_advanced_iptc_end'), //cpg1.4
-  array('ალბომის დასტა <a href="#notice1" class="clickable_option">*</a>', 'fullpath', 0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_albums_dir&amp;ae=admin_picture_thumb_advanced_albums_dir_end'), //cpg1.4
-  array('მონაწილის ფაილების დასტა <a href="#notice1" class="clickable_option">*</a>', 'userpics', 0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_userpics_dir&amp;ae=admin_picture_thumb_advanced_userpics_dir_end'), //cpg1.4
-  array('შუალედური ნახატების პრეფიქსი <a href="#notice1" class="clickable_option">*</a>', 'normal_pfx', 0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_intermediate_prefix&amp;ae=admin_picture_thumb_advanced_intermediate_prefix_end'), //cpg1.4
-  array('მინიატურების პრეფიქსი <a href="#notice1" class="clickable_option">*</a>', 'thumb_pfx', 0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_thumbs_prefix&amp;ae=admin_picture_thumb_advanced_thumbs_prefix_end'), //cpg1.4
-  array('დასტების საწყისი რეჟიმი', 'default_dir_mode', 0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_chmod_folder&amp;ae=admin_picture_thumb_advanced_chmod_folder_end'), //cpg1.4
-  array('ფაილების საწყისი რეჟიმი', 'default_file_mode', 0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_chmod_files&amp;ae=admin_picture_thumb_advanced_chmod_files_end'), //cpg1.4
-
-  'მონაწილის პარამეტრები',
-  array('ახალი მონაწილეების რეგისტრაციის ნებართვა', 'allow_user_registration', 1, 'f=index.htm&amp;as=admin_allow_registration&amp;ae=admin_allow_registration_end'), //cpg1.4
-  array('სტუმრების (ან ანონიმურების) დაშვება', 'allow_unlogged_access', 1, 'f=index.htm&amp;as=admin_allow_unlogged_access&amp;ae=admin_allow_unlogged_access_end'), //cpg1.4
-  array('მონაწილის რეგისტრაცია ითხოვს ელფოსტით შემოწმებას', 'reg_requires_valid_email', 1, 'f=index.htm&amp;as=admin_registration_verify&amp;ae=admin_registration_verify_end'), //cpg1.4
-  array('ახალი მონაწილის რეგისტრაციის ადმინისთვის ელფოსტით შეტყობინება', 'reg_notify_admin_email', 1, 'f=index.htm&amp;as=admin_registration_notify&amp;ae=admin_registration_notify_end'), //cpg1.4
-  array('რეგისტრაციის ადმინის მიერ გააქტივება', 'admin_activation', 1, 'f=index.htm&amp;as=admin_activation&amp;ae=admin_activation_end'),  //cpg1.4
-  array('ორი მონაწილისთვის ერთი და იგივე ელფოსტის ნებართვა', 'allow_duplicate_emails_addr', 1, 'f=index.htm&amp;as=admin_allow_duplicate_emails_addr&amp;ae=admin_allow_duplicate_emails_addr_end'), //cpg1.4
-  array('ატვირთვის თანხმობის მოლოდინის ადმინისთვის ელფოსტით შეტყობინება', 'upl_notify_admin_email', 1, 'f=index.htm&amp;as=admin_approval_notify&amp;ae=admin_approval_notify_end'), //cpg1.4
-  array('შემოსული მონაწილეებისთვის მონაწილეთა სიის ნახვის ნებართვა', 1, 'f=index.htm&amp;as=admin_user_memberlist&amp;ae=admin_user_memberlist_end'), //cpg1.4
-  array('მონაწილეთათვის საკუთარ პროფილში ელფოსტის შეცვლის ნებართვა', 'allow_email_change', 1, 'f=index.htm&amp;as=admin_user_allow_email_change&amp;ae=admin_user_allow_email_change_end'), //cpg1.4
-  array('საზოგადო გალერეებში მონაწილეთათვის საკუთარი სურათების განკარგვის უფლება', 'users_can_edit_pics', 1, 'f=index.htm&amp;as=admin_user_editpics_public_start&amp;ae=admin_user_editpics_public_end'), //cpg1.4
-  array('შესვლის უშედეგო მცდელობების რაოდენობა დროებით აკრძალვამდე (ფორსირებული შეტევების ასაცილებლად)', 'login_threshold', 0, 'f=index.htm&amp;as=admin_user_login_start&amp;ae=admin_user_login_end'), //cpg1.4
-  array('დროებითი აკრძალვის ხანგრძლივობა შემოსვლის უშედეგო მცდელობების შემდეგ', 'login_expiry', 0, 'f=index.htm&amp;as=admin_user_login_start&amp;ae=admin_user_login_end'), //cpg1.4
-  array('პატაკის ჩართვა ადმინისადმი', 'report_post', 1, 'f=index.htm&amp;as=admin_user_enable_report&amp;ae=admin_user_enable_report_end'),  //cpg1.4
-
-// პროფილის დამტებითი ველები,  //cpg1.4
-  'პროფილის დამტებითი ველები (თუ გამოყენება არ გსურთ - ცარიელი დატოვეთ).
-  პროფილი 6 გამოიყენება დიდი ზომის მონაცემებისთვის. მაგ., ბიოგრაფიული', //cpg1.4
-  array('პროფილის სახელი 1', 'user_profile1_name', 0, 'f=index.htm&amp;as=admin_custom&amp;ae=admin_custom_end'), //cpg1.4
-  array('პროფილის სახელი 2', 'user_profile2_name', 0), //cpg1.4
-  array('პროფილის სახელი 3', 'user_profile3_name', 0), //cpg1.4
-  array('პროფილის სახელი 4', 'user_profile4_name', 0), //cpg1.4
-  array('პროფილის სახელი 5', 'user_profile5_name', 0), //cpg1.4
-  array('პროფილის სახელი 6', 'user_profile6_name', 0), //cpg1.4
-
-  'დამატებითი ველები ნახატების აღწერისთვის (თუ გამოყენება არ გსურთ - ცარიელი დატოვეთ)',
-  array('ველის სახელი 1', 'user_field1_name', 0),
-  array('ველის სახელი 2', 'user_field2_name', 0),
-  array('ველის სახელი 3', 'user_field3_name', 0),
-  array('ველის სახელი 4', 'user_field4_name', 0),
-
-  'ნაჭდევების პარამეტრები',
-  array('ნაჭდევის სახელი', 'cookie_name', 0, 'f=index.htm&amp;as=admin_cookie_name&amp;ae=admin_cookie_name_end'), //cpg1.4
-  array('ნაჭდევის გეზი', 'cookie_path', 0, 'f=index.htm&amp;as=admin_cookie_path&amp;ae=admin_cookie_path_end'), //cpg1.4
-
-  'ელფოსტის პარამეტრები  (ჩვეულებრივ, აქ არაფრის შეცვლაა საჭირო; თუ დარწმუნებული არ ხართ, ყველა ველი ცარიელი დატოვეთ)', //cpg1.4
-  array('SMTP სერვერი (თუ ცარიელია, გამოიყენება sendmail)', 'smtp_host', 0, 'f=index.htm&amp;as=admin_email&amp;ae=admin_email_end'), //cpg1.4
-  array('SMTP სახელი', 'smtp_username', 0), //cpg1.4
-  array('SMTP პაროლი', 'smtp_password', 0), //cpg1.4
-
-  'დავთარი და სტატისტიკა', //cpg1.4
-  array('დავთრის რეჟიმი <a href="#notice3" class="clickable_option">***</a>', 'log_mode', 11, 'f=index.htm&amp;as=admin_logging_log_mode&amp;ae=admin_logging_log_mode_end'), //cpg1.4
-  array('ბარათების დავთარი', 'log_ecards', 1, 'f=index.htm&amp;as=admin_general_log_ecards&amp;ae=admin_general_log_ecards_end'), //cpg1.4
-  array('კენჭისყრის დეტალური სტატისტიკის შენახვა','vote_details',1, 'f=index.htm&amp;as=admin_logging_votedetails&amp;ae=admin_logging_votedetails_end'), //cpg1.4
-  array('გვერდების ნახვის დეტალური სტატისტიკის შენახვა','hit_details',1, 'f=index.htm&amp;as=admin_logging_hitdetails&amp;ae=admin_logging_hitdetails_end'), //cpg1.4
-
-  'მომსახურების პარამეტრები', //cpg1.4
-  array('გამართვის რეჟიმის ჩართვა', 'debug_mode', 9, 'f=index.htm&amp;as=debug_mode&amp;ae=debug_mode_end'), //cpg1.4
-  array('შეტყობინებების ჩვენება გამართვისას', 'debug_notice', 1, 'f=index.htm&amp;as=admin_misc_debug_notices&amp;ae=admin_misc_debug_notices_end'), //cpg1.4
-  array('გალერეა ავტონომიურ რეჟიმშია', 'offline', 1, 'f=index.htm&amp;as=admin_general_offline&amp;ae=admin_general_offline_end'), //cpg1.4
-);
-
-
-// ------------------------------------------------------------------------- //
-// File db_ecard.php
-// ------------------------------------------------------------------------- //
-
-if (defined('DB_ECARD_PHP')) $lang_db_ecard_php = array(
-  'title' => 'ბარათების გაგზავნა',
-  'ecard_sender' => 'გამგზავნი',
-  'ecard_recipient' => 'ადრესატი',
-  'ecard_date' => 'თარიღი',
-  'ecard_display' => 'ბარათის ჩვენება',
-  'ecard_name' => 'სახელი',
-  'ecard_email' => 'ელფოსტა',
-  'ecard_ip' => 'IP #',
-  'ecard_ascending' => '[აღმავალი]',
-  'ecard_descending' => '[დაღმავალი]',
-  'ecard_sorted' => 'დასორტირებულია',
-  'ecard_by_date' => 'თარიღით',
-  'ecard_by_sender_name' => 'გამგზავნის სახელით',
-  'ecard_by_sender_email' => 'გამგზავნის ელფოსტით',
-  'ecard_by_sender_ip' => 'გამგზავნის IP მისამართით',
-  'ecard_by_recipient_name' => 'ადრესატის სახელით',
-  'ecard_by_recipient_email' => 'ადრესატის ელფოსტით',
-  'ecard_number' => 'ჩანაწერის ჩვენება %s - %s აქედან %s',
-  'ecard_goto_page' => 'გადასვლა გვერდზე',
-  'ecard_records_per_page' => 'ჩანაწერი გვერდზე',
-  'check_all' => 'ყველას მონიშვნა',
-  'uncheck_all' => 'მონიშვნის მოხსნა',
-  'ecards_delete_selected' => 'შერჩეული ბარათების წაშლა',
-  'ecards_delete_confirm' => 'ნამდვილად გსურთ ჩანაწერების წაშლა? მონიშნეთ!',
-  'ecards_delete_sure' => 'დიახ, მსურს',
-);
-
-
-// ------------------------------------------------------------------------- //
-// File db_input.php
-// ------------------------------------------------------------------------- //
-
-if (defined('DB_INPUT_PHP')) $lang_db_input_php = array(
-  'empty_name_or_com' => 'უნდა შეიტანოთ თქვენის სახელი და კომენტარი',
-  'com_added' => 'თქვენი კომენტარი დაემატა',
-  'alb_need_title' => 'უნდა მიუთითოთ ალბომის სახელი!',
-  'no_udp_needed' => 'განახლება საჭირო არაა.',
-  'alb_updated' => 'ალბომი განახლდა',
-  'unknown_album' => 'მითითებული ალბომი არ არსებობს ან მისი ატვირთვის უფლება არ გაქვთ',
-  'no_pic_uploaded' => 'არცერთი ფაილი არ ატვირთულა!<br /><br />თუ ნამდვილად შეარჩიეთ ასატვირთი ფაილი, შეამოწმეთ სერვერის ატვირთვის შესაძლებლობა...',
-  'err_mkdir' => 'შეცდომა %s დასტის შექმნისას !',
-  'dest_dir_ro' => 'სამიზნე დასტა %s ჩაწერადი არაა !',
-  'err_move' => 'ვერ გადამაქვს %s აქ %s !',
-  'err_fsize_too_large' => 'ატვირთული ფაილის ზომა მეტისმეტად დიდია (მაქსიმალური დასაშვები ზომაა %s x %s) !', //obsolete since cpg1.3 - consider removal in cpg1.4 once upload.php has been overhauled
-  'err_imgsize_too_large' => 'ატვირთული ფაილის მოცულობა მეტისმეტად დიდია  (მაქსიმუმია %s კბ) !', //obsolete since cpg1.3 - consider removal in cpg1.4 once upload.php has been overhauled
-  'err_invalid_img' => 'ატვირთული ფაილი ნახატი არაა !',
-  'allowed_img_types' => 'შეგიძლიათ ატვირთოთ მხოლოდ %s ნახატი.',
-  'err_insert_pic' => 'ფაილი \'%s\' ალბომში ვერ დაემატება ',
-  'upload_success' => 'თქვენი ფაილი წარმატებით აიტვირთა.<br /><br />იგი ხილული გახდება ადმინისტრაციის თანხმობის შემდეგ.',
-  'notify_admin_email_subject' => '%s - ფაილის ატვირთვის შეტყობინება',
-  'notify_admin_email_body' => 'ფაილი აიტვირთა %s მონაწილის მიერ, რომელიც თანხმობას ითხოვს. მინახულეთ %s',
-  'info' => 'ინფორმაცია',
-  'com_added' => 'კომენტარი დაემატა',
-  'alb_updated' => 'ალბომი განახლდა',
-  'err_comment_empty' => 'თქვენი კომენტარი ცარიელია!',
-  'err_invalid_fext' => 'დასაშვებია ფაილები შემდეგი ტიპით: <br /><br />%s.',
-  'no_flood' => 'უკაცრავად, თქვენ უკვე ამ ფაილის ბოლო კომენტარის ავტორი ხართ.<br /><br />თუ შეცვლა გსურთ დაარედაქტირეთ არსებული კომენტარი.',
-  'redirect_msg' => 'თქვენ გადამისამართდით.<br /><br /><br />დაწკაპეთ \'გაგრძელება\', თუ გვერდი ავტომატურად არ განახლდა.',
-  'upl_success' => 'თქვენი ფაილი წარმატებით დაემატა',
-  'email_comment_subject' => 'გია გალერეაში კომენტარი დაემატა',
-  'email_comment_body' => 'ვიღაცამ თქვენს გალერეაში კომენტარი განათავსა. ნახეთ იგი.',
-  'album_not_selected' => 'ალბომი არ შერჩეულა', //cpg1.4
-  'com_author_error' => 'ამ მეტსახელს რეგისტრირებული მონაწილე იყენებს, გამოიყენეთ სხვა', //cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File delete.php
-// ------------------------------------------------------------------------- //
-
-if (defined('DELETE_PHP')) $lang_delete_php = array(
-  'caption' => 'აღწერილობა',
-  'fs_pic' => 'სრული ზომის ნახატი',
-  'del_success' => 'წარმატებით წაიშალა',
-  'ns_pic' => 'ჩვეულებრივი ზომის ნახატი',
-  'err_del' => 'ვერ წაიშლება',
-  'thumb_pic' => 'მინიატურა',
-  'comment' => 'კომენტარი',
-  'im_in_alb' => 'ნახატი ალბომში',
-  'alb_del_success' => 'ალბომი &laquo;%s&raquo; წაიშალა', //cpg1.4
-  'alb_mgr' => 'ალბომის მორგება',
-  'err_invalid_data' => 'მიღებულია მცდარი მონაცემები - \'%s\'',
-  'create_alb' => 'ვქმნი ალბომს \'%s\'',
-  'update_alb' => 'ვაახლებ ალბომს \'%s\' სახელით \'%s\' და საძიებლით \'%s\'',
-  'del_pic' => 'ფაილის წაშლა',
-  'del_alb' => 'ალბომის წაშლა',
-  'del_user' => 'მონაწილის წაშლა',
-  'err_unknown_user' => 'მითითებული მონაწილე არ არსებობს!',
-  'err_empty_groups' => 'ჯგუფის ცხრილი არ არსებობს ან ცარიელია!', //cpg1.4
-  'comment_deleted' => 'კომენტარი წარმატებით წაიშალა',
-  'npic' => 'ნახატი', //cpg1.4
-  'pic_mgr' => 'ნახატების მმართველი', //cpg1.4
-  'update_pic' => 'განახლება: ნახატი - \'%s\', ფაილის სახელი - \'%s\', ინდექსი - \'%s\'', //cpg1.4
-  'username' => 'სახელი', //cpg1.4
-  'anonymized_comments' => 'გაუქმდა %s კომენტარი', //cpg1.4
-  'anonymized_uploads' => 'გაუქმდა %s საზოგადო ატვირთვა', //cpg1.4
-  'deleted_comments' => 'წაიშალა %s კომენტარი', //cpg1.4
-  'deleted_uploads' => 'წაიშალა %s საზოგადო ატვირთვა', //cpg1.4
-  'user_deleted' => 'მონაწილე %s წაიშალა', //cpg1.4
-  'activate_user' => 'მონაწილის გააქტივება', //cpg1.4
-  'user_already_active' => 'ანგარიში უკვე აქტიური იყო', //cpg1.4
-  'activated' => 'გააქტივდა', //cpg1.4
-  'deactivate_user' => 'მონაწილის დეაქტივაცია', //cpg1.4
-  'user_already_inactive' => 'ანგარიში უკვე დეაქტივირებული იყო', //cpg1.4
-  'deactivated' => 'დეაქტივირებული', //cpg1.4
-  'reset_password' => 'პაროლ(ებ)ის აღდგენა', //cpg1.4
-  'password_reset' => 'პაროლი აღდგა – %s', //cpg1.4
-  'change_group' => 'პირველადი ჯგუფის შეცვლა', //cpg1.4
-  'change_group_to_group' => 'ჯგუფის შეცვლა %s - %s', //cpg1.4
-  'add_group' => 'მეორადი ჯგუფის დამატება', //cpg1.4
-  'add_group_to_group' => '%s მონაწილის დამატება %s ჯგუფში. იგი %s პირველადი და %s მეორადი ჯგუფ(ებ)ის წევრია.', //cpg1.4
-  'status' => 'სტატუსი', //cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File displayecard.php
-// ------------------------------------------------------------------------- //
-
-if (defined('DISPLAYECARD_PHP')) {
-
-$lang_displayecard_php = array(
-  'invalid_data' => 'ბარათის მონაცემები დაზიანებულია თქვენი ელფოსტის კლიენტის მიერ. გადაამოწმეთ ბმის სისრულე.', //cpg1.4
-);
-}
-
-// ------------------------------------------------------------------------- //
-// File displayimage.php
-// ------------------------------------------------------------------------- //
-
-if (defined('DISPLAYIMAGE_PHP')){
-
-$lang_display_image_php = array(
-  'confirm_del' => 'ნამდვილად გსურთ ამ ფაილის წაშლა?\\nკომენტარებიც წაიშლება.', //js-alert
-  'del_pic' => 'ამ ფაილის წაშლა',
-  'size' => '%s x %s პიქსელი',
-  'views' => '%s -ჯერ',
-  'slideshow' => 'სლაიდების ჩვენება',
-  'stop_slideshow' => 'სლაიდების ჩვენების შეჩერება',
-  'view_fs' => 'დაწკაპეთ ნახატის სრული ზომით სანახავად',
-  'edit_pic' => 'ფაილის მონაცემების შეცვლა', //cpg1.4
-  'crop_pic' => 'ჩამოჭრა და დატრიალება',
-  'set_player' => 'სლაიდოსკოპის შეცვლა',
-);
-
-$lang_picinfo = array(
-  'title' =>'ფაილის ინფორმაცია',
-  'Filename' => 'ფაილის სახელი',
-  'Album name' => 'ალბომი',
-  'Rating' => 'რეიტინგი (ხმა: %s)',
-  'Keywords' => 'საკვანძო სიტყვები',
-  'File Size' => 'ფაილის ზომა',
-  'Date Added' => 'დამატების თარიღი', //cpg1.4
-  'Dimensions' => 'ნახატის ზომა',
-  'Displayed' => 'ნაჩვენებია',
-  'URL' => 'მისამართი',
-  'Make' => 'აპარატი', //cpg1.4
-  'Model' => 'მოდელი', //cpg1.4
-  'DateTime' => 'თარიღი დრო', //cpg1.4
-  'ISOSpeedRatings'=>'ISO', //cpg1.4
-  'MaxApertureValue' => 'მაქსიმალური აპერტურა', //cpg1.4
-  'FocalLength' => 'ფოკალური მანძილი',
-  'Comment' => 'კომენტარი',
-  'addFav'=>'რჩეულებში დამატება',
-  'addFavPhrase'=>'რჩეულები',
-  'remFav'=>'რჩეულებიდან ამოღება',
-  'iptcTitle'=>'IPTC სათაური',
-  'iptcCopyright'=>'IPTC საავტორო უფლება',
-  'iptcKeywords'=>'IPTC საკვანძო სიტყვები',
-  'iptcCategory'=>'IPTC კატეგორია',
-  'iptcSubCategories'=>'IPTC ქვეკატეგორია',
-  'ColorSpace' => 'ფერთა დიაპაზონი', //cpg1.4
-  'ExposureProgram' => 'ექსპოზიციის პროგრამა', //cpg1.4
-  'Flash' => 'გაელვება', //cpg1.4
-  'MeteringMode' => 'მანძილის რეჟიმი', //cpg1.4
-  'ExposureTime' => 'ექსპოზიციის დრო', //cpg1.4
-  'ExposureBiasValue' => 'ექსპოზიციის გადახრა', //cpg1.4
-  'ImageDescription' => ' ნახატის აღწერილობა', //cpg1.4
-  'Orientation' => 'ორიენტაცია', //cpg1.4
-  'xResolution' => 'X გარჩევადობა', //cpg1.4
-  'yResolution' => 'Y გარჩევადობა', //cpg1.4
-  'ResolutionUnit' => 'გარჩევადობის ერთეული', //cpg1.4
-  'Software' => 'პროგრამა', //cpg1.4
-  'YCbCrPositioning' => 'YCbCr პარამეტრები', //cpg1.4
-  'ExifOffset' => 'Exif წანაცვლება', //cpg1.4
-  'IFD1Offset' => 'IFD1 წანაცვლება', //cpg1.4
-  'FNumber' => 'F ყოვნი', //cpg1.4
-  'ExifVersion' => 'Exif ვერსია', //cpg1.4
-  'DateTimeOriginal' => 'რეალური თარიღი', //cpg1.4
-  'DateTimedigitized' => 'ციფრული თარიღი', //cpg1.4
-  'ComponentsConfiguration' => 'კომპონენტების კონფიგურაცია', //cpg1.4
-  'CompressedBitsPerPixel' => 'შეკუმშვა ბიტი/პიქსელი', //cpg1.4
-  'LightSource' => 'სინათლის წყარო', //cpg1.4
-  'ISOSetting' => 'ISO პარამეტრი', //cpg1.4
-  'ColorMode' => 'ფერის რეჟიმი', //cpg1.4
-  'Quality' => 'ხარისხი', //cpg1.4
-  'ImageSharpening' => 'გამკვეთრება', //cpg1.4
-  'FocusMode' => 'ფოკუსის რეჟიმი', //cpg1.4
-  'FlashSetting' => 'გაელვების პარამეტრები', //cpg1.4
-  'ISOSelection' => 'ISO არჩევანი', //cpg1.4
-  'ImageAdjustment' => 'ნახატის მორგება', //cpg1.4
-  'Adapter' => 'გადამყვანი', //cpg1.4
-  'ManualFocusDistance' => 'ხელოვნური ფოკუსური მანძილი', //cpg1.4
-  'DigitalZoom' => 'ციფრული მასშტაბი', //cpg1.4
-  'AFFocusPosition' => 'AF ფოკუსური მდგომარეობა', //cpg1.4
-  'Saturation' => 'სიმსუყე', //cpg1.4
-  'NoiseReduction' => 'ხმაურის ჩახშობა', //cpg1.4
-  'FlashPixVersion' => 'გაელვების ვერსია', //cpg1.4
-  'ExifImageWidth' => 'Exif ნახატის სიგანე', //cpg1.4
-  'ExifImageHeight' => 'Exif ნახატის სიმაღლე', //cpg1.4
-  'ExifInteroperabilityOffset' => 'Exif შუალედური წანაცვლება', //cpg1.4
-  'FileSource' => 'ფაილის წყარო', //cpg1.4
-  'SceneType' => 'სცენის ტიპი', //cpg1.4
-  'CustomerRender' => 'ასახვის საკუთარი მეთოდი', //cpg1.4
-  'ExposureMode' => 'ექსპოზიციის რეჟიმი', //cpg1.4
-  'WhiteBalance' => 'თეთრის ბალანსი', //cpg1.4
-  'DigitalZoomRatio' => 'ციფრული მასშტაბის ზომა', //cpg1.4
-  'SceneCaptureMode' => 'სცენის აღბეჭდვის რეჟიმი', //cpg1.4
-  'GainControl' => 'გაძლიერება', //cpg1.4
-  'Contrast' => 'კონტრასტი', //cpg1.4
-  'Sharpness' => 'სიმკვეთრე', //cpg1.4
-  'ManageExifDisplay' => 'Exif ეკრანის მართვა', //cpg1.4
-  'submit' => 'გაგზავნა', //cpg1.4
-  'success' => 'ინფორმაცია წარმატებით განახლდა.', //cpg1.4
-  'details' => 'დეტალები', //cpg1.4
-);
-
-$lang_display_comments = array(
-  'OK' => 'დიახ',
-  'edit_title' => 'ამ კომენტარის შეცვლა',
-  'confirm_delete' => 'ნამდვილად გსურთ ამ კომენტარის წაშლა?', //js-alert
-  'add_your_comment' => 'თქვენი კომენტარის დამატება',
-  'name'=>'სახელი',
-  'comment'=>'კომენტარი',
-  'your_name' => 'სტუმარი',
-  'report_comment_title' => 'ამ კომენტარის ადმინისთვის პატაკი', //cpg1.4
-);
-
-$lang_fullsize_popup = array(
-  'click_to_close' => 'დაწკაპეთ ნახატი ამ სარკმლის დასახურად',
-);
-
-}
-
-// ------------------------------------------------------------------------- //
-// File ecard.php
-// ------------------------------------------------------------------------- //
-
-if (defined('ECARDS_PHP') || defined('DISPLAYECARD_PHP')) $lang_ecard_php =array(
-  'title' => 'ბარათის გაგზავნა',
-  'invalid_email' => '<font color="red"><b>ყურადღება</b></font>: ელფოსტის მისამართი მცდარია:', //cpg1.4
-  'ecard_title' => 'თქვენთვის ბარათია, გამომგზავნი: %s',
-  'error_not_image' => 'ბარათის სახით მხოლოდ ნახატების გაგზავნა შეიძლება.',
-  'view_ecard' => 'თუ ბარათი მცდარადაა ნაჩვენები, დაწკაპეთ ეს ბმა', //cpg1.4
-  'view_ecard_plaintext' => 'ბარათის სანახავად მონიშნეთ და ჩასვით ეს მისამართი თქვენი ბრაუზერის მისამართების ზოლში:', //cpg1.4
-  'view_more_pics' => 'სხვა ნახატების ნახვა !', //cpg1.4
-  'send_success' => 'თქვენი ბარათი გაიგზავნა',
-  'send_failed' => 'უკაცრავად, სერვერი თქვენს ბარათს ვერ აგზავნის...',
-  'from' => 'ვისგან',
-  'your_name' => 'თქვენი სახელი',
-  'your_email' => 'თქვენი ელფოსტა',
-  'to' => 'ვის',
-  'rcpt_name' => 'ადრესატის სახელი',
-  'rcpt_email' => 'ადრესატის ელფოსტა',
-  'greetings' => 'მისალმება',
-  'message' => 'წერილი',
-  'ecards_footer' => 'გამგზავნი - %s, IP - %s, დრო - %s (გალერიის დრო)', //cpg1.4
-  'preview' => 'ბარათის ესკიზი', //cpg1.4
-  'preview_button' => 'ესკიზი', //cpg1.4
-  'submit_button' => 'ბარათის გაგზავნა', //cpg1.4
-  'preview_view_ecard' => 'შექმნის შემდეგ ეს ბარათის ალტერნატული ბმა გახდება. ესკიზებისთვის იგი არ გამოდგება.', //cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File report_file.php //cpg1.4
-// ------------------------------------------------------------------------- //
-
-if (defined('REPORT_FILE_PHP') || defined('DISPLAYREPORT_PHP')) $lang_report_php =array(
-  'title' => 'პატაკი ადმინთან', //cpg1.4
-  'invalid_email' => '<b>გაფრთხილება</b> : მცდარი ელფოსტის მისამართი !', //cpg1.4
-  'report_subject' => 'პატაკი - %s, გალერეა - %s', //cpg1.4
-  'view_report' => 'ალტერნატული ბმა პატაკის მცდარი ჩვენებისას', //cpg1.4
-  'view_report_plaintext' => 'პატაკის სანახავად დააკოპირეთ და ჩასვით ეს მისამართი თქვენი ბრაუზერის მისამართების ზოლში:', //cpg1.4
-  'view_more_pics' => 'გალერეა', //cpg1.4
-  'send_success' => 'თქვენი პატაკი გაიგზავნა', //cpg1.4
-  'send_failed' => 'ვწუხვართ, მაგრამ სერვერი თქვენს პატაკს ვერ აგზავნის...', //cpg1.4
-  'from' => 'ვისგან', //cpg1.4
-  'your_name' => 'თქვენი სახელი', //cpg1.4
-  'your_email' => 'თქვენი ელფოსტა', //cpg1.4
-  'to' => 'ვის', //cpg1.4
-  'administrator' => 'ადმინი/მოდერატორი', //cpg1.4
-  'subject' => 'თემა', //cpg1.4
-  'comment_field_name' => 'პატაკი კომენტარზე - "%s"', //cpg1.4
-  'reason' => 'მიზეზი', //cpg1.4
-  'message' => 'წერილი', //cpg1.4
-  'report_footer' => 'გაგზავნა - %s, IP - %s, თარიღი %s (გალერეის დროით)', //cpg1.4
-  'obscene' => 'უზრდელურია', //cpg1.4
-  'offensive' => 'შეურაცხმყოფელია', //cpg1.4
-  'misplaced' => 'უშინაარსოა/სხვა თემაა', //cpg1.4
-  'missing' => 'ამოვარდნილია', //cpg1.4
-  'issue' => 'შეცდომა/არ ჩანს', //cpg1.4
-  'other' => 'სხვა', //cpg1.4
-  'refers_to' => 'ფაილის პატაკი ეხება', //cpg1.4
-  'reasons_list_heading' => 'პატაკის მიზეზ(ებ)ი:', //cpg1.4
-  'no_reason_given' => 'მიზიზი არ მითითებულა', //cpg1.4
-  'go_comment' => 'გადასვლა კომენტარზე', //cpg1.4
-  'view_comment' => 'პატაკის სრული ჩვენება კომენტარებით', //cpg1.4
-  'type_file' => 'ფაილი', //cpg1.4
-  'type_comment' => 'კომენტარი', //cpg1.4
-  'invalid_data' => 'ანგარიშის მონაცემები, რომლის ნახვაც გსურთ დაზიანებულია თქვენი ელფოსტის კლიენტის მიერ. გადაამოწმეთ ბმის სისრულე.', //cpg1.4
-
-);
-
-// ------------------------------------------------------------------------- //
-// File editpics.php
-// ------------------------------------------------------------------------- //
-
-if (defined('EDITPICS_PHP')) $lang_editpics_php = array(
-  'pic_info' => 'ინფორმაცია',
-  'album' => 'ალბომი',
-  'title' => 'სათაური',
-  'filename' => 'ფაილის სახელი', //cpg1.4
-  'desc' => 'აღწერილობა',
-  'keywords' => 'საკვანძო სიტყვები',
-  'new_keyword' => 'ახალი საკვანძო სიტყვა', //cpg1.4
-  'new_keywords' => 'ნაპოვნია ახალი საკვანძო სიტყვა', //cpg1.4
-  'existing_keyword' => 'არსებული საკვანძო სიტყვა', //cpg1.4
-  'pic_info_str' => '%s &times; %s - %s კბ - ნახვა %s - ხმა %s',
-  'approve' => 'ფაილის თანხმობა',
-  'postpone_app' => 'თანხმობის გადადება',
-  'del_pic' => 'ფაილის წაშლა',
-  'del_all' => 'ყველა ფაილის წაშლა', //cpg1.4
-  'read_exif' => 'EXIF მონაცემთა კვლავ წაკითხვა',
-  'reset_view_count' => 'ჩვენებების მრიცხველის განულება',
-  'reset_all_view_count' => 'ყველა მრიცხველის განულება', //cpg1.4
-  'reset_votes' => 'ხმების განულება',
-  'reset_all_votes' => 'ყველა ხმის განულება', //cpg1.4
-  'del_comm' => 'კომენტარების წაშლა',
-  'del_all_comm' => 'ყველა კომენტარის წაშლა', //cpg1.4
-  'upl_approval' => 'ატვირთვის თანხმობა', //cpg1.4
-  'edit_pics' => 'ფაილების რედაქტირება',
-  'see_next' => 'შემდეგი ფაილების ნახვა',
-  'see_prev' => 'წინა ფაილების ნახვა',
-  'n_pic' => '%s ფაილი',
-  'n_of_pic_to_disp' => 'საჩვენებელი ფაილების რაოდენობა',
-  'apply' => 'ცვლილებების გამოყენება',
-  'crop_title' => 'გალერეის ნახატების რედაქტორი',
-  'preview' => 'ესკიზი',
-  'save' => 'ნახატის შენახვა',
-  'save_thumb' =>'შენახვა მინიატურად',
-  'gallery_icon' => 'ჩემს პიქტოგრამად მითითება', //cpg1.4
-  'sel_on_img' =>'არჩეული მთლიანად ნახატზე უნდა იყოს განთავსებული!', //js-alert
-  'album_properties' =>'ალბომის პარამეტრები', //cpg1.4
-  'parent_category' =>'ძირეული კატეგორია', //cpg1.4
-  'thumbnail_view' =>'ჩვენება მინიატურებით', //cpg1.4
-  'select_unselect' =>'ყველას მონიშვნა/მონიშვნის მოხსნა', //cpg1.4
-  'file_exists' => "დანიშნულების ფაილი '%s' უკვე არსებობს.", //cpg1.4
-  'rename_failed' => "გადარქმევა '%s' - '%s' ვერ მოხერხდა.", //cpg1.4
-  'src_file_missing' => "პირველწყარო ფაილი '%s' უმართებლოა.", // cpg 1.4
-  'mime_conv' => "ფაილის გარდაქმნა '%s' - '%s' ვერ მოხერხდა",//cpg1.4
-  'forb_ext' => 'ფაილის აკრძალული ტიპი.',//cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File faq.php
-// ------------------------------------------------------------------------- //
-
-if (defined('FAQ_PHP')) $lang_faq_php = array(
-  'faq' => 'ძირითადი შეკითხვები',
-  'toc' => 'საძიებელი',
-  'question' => 'შეკითხვა: ',
-  'answer' => 'პასუხი: ',
-);
-
-if (defined('FAQ_PHP')) $lang_faq_data = array(
-  'ძირითადი კითხვები',
-  array('რატომაა რეგისტრაცია აუცილებელი?', 'ადმინისტრაციას შეუძლია მოითხოვოს ან არ მოითხოვოს რეგისტრაცია.  რეგისტრაცია მონაწილეს დამატებით უფლებებს ანიჭებს: ფაილების ატვირთვა, რჩეული ფაილების საკუთარი სია, გამოსახულებათ შეფასებისა და კომენტირების შესაძლებლობა და ა.შ.', 'allow_user_registration', '1'),
-  array('როგორ შემიძლია დარეგისტრირება?', 'გადადით პუნქტზე &quot;რეგისტრაცია&quot; და მიუთითეთ აუცილებელი მონაცემები (სასურველია არაუცილებელი მონაცემების მითითებაც).<br />თუ ადმინისტრაცია რეგისტრაციის გააქტივებას ელფოსტით ითხოვს, თქვენს მითითებულ მისამართზე მიიღებთ წერილს თქვენი წევრობის გასააქტივებლად საჭირო ინსტრუქციებით.  საიტზე შესასვლელად თქვენი წევრობა უნდა გააქტივდეს.', 'allow_user_registration', '1'), //cpg1.4
-  array('როგორ შევიდე სისტემაში?', 'გადადით პუნქტზე &quot;შესვლა&quot; დამიუთითეთ მონაწილის თქვენი სახელი და პაროლი და თუ გსურთ მონიშნეთ &quot;ავტომატური შესვლა &quot;, რათა მომავალში სისტემაში შესვლისას სახელისა და პაროლის მითითება ხელახლა აღარ დაგჭირდეთ.<br /><b>მნიშვნელოვანია: ამ საიტიდან ნაჭდევების მიღება ნებადართული უნდა გქონდეთ.  მომავალში ამ საიტის ნაჭდევები არ უნდა წაიშალოს რათა &quot;ავტომატური შესვლა&quot;.</b> კვლავ მუშაობდეს', 'offline', 0),
-  array('რატომ ვერ შევდივარ სისტემაში?', 'გახსენით მოსული წერილი და დაწკაპეთ შესაბამისი ბმა?.  ეს ბმა თქვენს ანგარიშს ააქტივებს.  სხვა ტიპის პრობლემების შემთხვევაში დაუკავშირდით საიტის ადმინისტრაციას.', 'offline', 0),
-  array('როგორ მოვიქცე პაროლის დაკარგვის შემთხვევაში?', 'თუ საიტზე არის ბმა(&quot;პაროლი დამავიწყდა&quot;) გამოიყენეთ იგი.  წინააღმდეგ შემთხვევაში ახალი პაროლის მისაღებად ადმინისტრატორს დაუკავშირდით.', 'offline', 0),
-  //array('რა მოხდება თუ ელფოსტის მისამართი შევიცვალე?', 'უბრალოდ შედით საიტზე და შეცვლეთ თქვენი ელფოსტის მისამართი გვერდზე &quot;პროფილი&quot;', 'offline', 0),
-  array('როგორ შემიძლია ნახატის დამატება &quot;რჩეულებში&quot;?', 'დაწკაპეთ გამოსახალება და შემდეგ ბმა &quot;ინფორმაცია ნახატზე&quot; (<img src="images/info.gif" width="16" height="16" border="0" alt="ინფორმაცია ნახატზე" />), გადაფურცლეთ ქვემოთ და დაწკაპეთ &quot;რჩეულებში დამატება&quot;.<br />ადმინისტრატორის მიერ &quot;ინფორმაცია ნახატზე&quot; შესაძლოა თავიდანვე ჩართული იყოს.<br /><b>მნიშვნელოვანია: ნაჭდევების მიღება დაშვებული უნდა იყოს და ვმულები ამ საიტიდან არ უნდა წაიშალოს.', 'offline', 0),
-  array('როგორ შევაფასო ფაილი (რეიტინგი)?', 'დაწკაპეთ მინიატურა, გადადით ბოლოში და აირჩიეთ შეფასება.', 'offline', 0),
-  array('როგორ დავამატო ფაილის კომენტარი?', 'დაწკაპეთ მინიატურა, გადადით ბოლოში და დაამატეთ კომენტარი.', 'offline', 0),
-  array('როგორ ავტვირთო ფაილი?', 'გადადით პუნქტზე &quot;ატვირთვა;, და აირჩიეთ ალბომი ასატვირთად.  დაწკაპეთ &quot;ნუსხა&quot;, აირჩიეთ სასურველი ფაილი და დაწკაპეთ &quot;გახსნა&quot;  დაამატეთ სასურველი სათაური და აღწერილობა.  დაწკაპეთ &quot;გაგზავნა&quot;.<br /><br />გარდა ამისა, <b>Windows XP</b> მომხმარებლებს შეუძლია მრავალი ფაილის საკუთარ ალბომებში ერთდროული ატვირთვა XP Publishing მეგზურის გამოყენებით.<br />ინსტრუქციებისა და აუცილებელი ფაილის მისაღებად დაწკაპეთ <a href="xp_publish.php">ეს ბმა.</a>', 'allow_private_albums', 1),
-  array('სად უნდა ავტვირთო გამოსახულება?', 'ფაილის ატვირთვა შეგიძლიათ ალბომებში &quot;ჩემი გალერეადან&quot;. ადმინისტრატორს შეუძლია ნება დაგრთოთ ატვირთოთ ფაილები ძირითადი გალერეის ერთ ან რამდენიმე ალბომში.', 'allow_private_albums', 0),
-  array('რა ტიპისა და ზომის ფაილების ატვირთვაა შესაძლებელი?', 'შესაძლო ასატვირთი ფაილების ტიპსა და ზომას (jpg, png, და ა.შ.) წყვეტს ადმინისტრატორი.', 'offline', 0),
-  array('როგორ შემიძლია ალბომის შექმნა, გადარქმევა ან წაშლა &quot;ჩემს გალერეაში&quot;?', 'უნდა გადახვიდეთ &quot;ადმინისტრირების რეჟიმში&quot;.<br />გადახვიდეთ გვერდზე &quot;ალბომების შექმნა/მოწესრიგება&quot; და დაწკაპეთ &quot;ახალი&quot;. შეცვალეთ &quot;ახალი ალბომი&quot; სასურველი სახელით.<br />ასევე შეგიძლიათ გადაარქვათ სახელი გალერეის სხვა ალბომებსაც.<br />დაწკაპეთ &quot;ცვლილებების გამოყენება&quot;.', 'allow_private_albums', 1),
-  array('როგორ შემიძლია შევცვალო მონაწილეების მიერ ჩემი ალბომების ნახვის უფლებები?', 'უნდა გადახვიდეთ &quot;ადმინისტრირების რეჟიმში&quot;.<br />აირჩიოთ &quot;ჩემი ალბომების შეცვლა&quot;. პანელზე &quot;ალბომის განახლება&quot; მიუთითეთ სასურველი ალბომი.<br />აქ შეგიძლიათ ალბომის სათაურის, აღწერილობისა და მინიატურის შეცვლა. შეგიძლიათ შეზღუდოთ მონაწილეების მიერ დათვალიერების, კომენტარების დატოვებისა და შეფასების მიცემის უფლებები.<br />დაწკაპეთ &quot;ალბომის განახლება&quot;.', 'allow_private_albums', 1),
-  array('როგორ შემიძლია სხვა მონაწილეთა გალერეების დათვალიერება?', 'გადადით &quot;ალბომების სიაში&quot; და მიუთითეთ &quot;მონაწილეთა გალერეები&quot;.', 'allow_private_albums', 1),
-  array('რა არის ნაჭდევი?', 'ნაჭდევი გახლავთ მონაცემთა ჯგრო, რომელიც საიტიდან იგზავნება თქვენს კომპიუტერში შესანახად.<br />როგორც წესი, ეს ნაჭდევები მონაწილეეებს საიტის დატოვების შემდეგ მასზე დაბრუნებისას სახელისა და პაროლის მითითების გარეშე ავტომატური შესვლის შესაძლებლობას აძლევს.', 'offline', 0),
-  array('სად შემიძლია ამ პროგრამის მოპოვება ჩემი საიტისთვის?', 'Coppermine - ეს უფასო მულტიმედია გალერეის პროგრამაა რომელიც GNU GPL ლიცენზიით ვრცელდება.  მისი მრავალი ფუნქცია სხვადასხვა პლატფორმაზე მუშაობს.  დამატებითი ინფორმაციის მისაღებად მოინახულეთ <a href="http://coppermine-gallery.net/">Coppermine პროგრამის სათაო გვერდი</a>.', 'offline', 0),
-
-  'ნავიგაცია საიტში',
-  array('რა არის &quot;ალბომების სია&quot;?', 'მისი დაწკაპვისას გამოჩნდება მიმდინარე კატეგორიის ყველა ალბომი თითოეული ალბომის შესაბამისი ბმით. თუ რომელიმე კატეგორიაში არ ხართ, ნაჩვენები იქნება მთელი გალერეა თითოეული კატეგორიის შესაბამისი ბმით. კატეგორიის ბმები შესაძლოა მინიატურებიც იყოს.', 'offline', 0),
-  array('რა არის &quot;ჩემი გალერეა&quot;?', 'მონაწილეებს საკუთარი გალერეების შექმნისა და მათში ალბომების დამატების, წაშლის, შეცვლისა და მათში ფაილების ატვირთვის საშუალებას აძლევს.', 'allow_private_albums', 1), //cpg1.4
-  array('რა სხვაობაა &quot;ადმინისტრირების რეჟიმსა&quot; და &quot;მონაწილის რეჟიმს&quot; შორის?', 'ადმინისტრირების რეჟიმში მონაწილეს შეუძლია საკუთარი გალერეების შეცვლა (ადმინისტრატორისგან უფლების შემთხვევაში სხვა მონაწილეების გალერეებისაც).', 'allow_private_albums', 1),
-  array('რა არის &quot;ნახატის ატვირთვა&quot;?', 'მონაწილეს საშუალება ეძლევა ატვირთოს (ადმინისტრატორის მიერ განსაზღვრული ტიპისა და ზომის) ფაილი მონაწილის ან ადმინისტრატორის მიერ შერჩეულ გალერეაში.', 'offline', 0),
-  array('რა არის &quot;ბოლო ატვირთვები&quot;?', 'მისი დაწკაპვისას გამოჩნდება საიტზე ატვირთული ბოლო ფაილები.', 'offline', 0),
-  array('რა არის &quot;ბოლო კომენტარები&quot;?', 'მისი დაწკაპვისას გამოჩნდება ბოლო დამატებული კომენტარები და შესაბამისი ფაილები.', 'offline', 0),
-  array('რა არის &quot;ყველაზე პოპულარული&quot;?', 'მისი დაწკაპვისას გამოჩნდება ყველა მონაწილის მიერ ყველაზე ხშირად ნანახი ფაილები (მიუხედავად იმის ახაზზე არიან თუ არა).', 'offline', 0),
-  array('რა არის &quot;საუკეთესო რეიტინგი&quot;?', 'შესაძლებლობა გეძლევათ ნახოთ მონაწილეთა მიერ შეფასებული საუკეთესო რეიტინგის ფაილები.  ასევე საშუალო შეფასება/რეიტინგი.<br />მაგალითად, ხუთმა მონაწილემ შეაფასა <img src="images/rating4.gif" width="65" height="14" border="0" alt="" />: ფაილის შეფასება/რეიტინგი იქნება <img src="images/rating4.gif" width="65" height="14" border="0" alt="" />.<br />თუ ხუთმა მონაწილემ შეაფასა 1–დან 5–მდე (1,2,3,4,5), ფაილის ჯამური შეფასება/რეიტინგი იქნება <img src="images/rating3.gif" width="65" height="14" border="0" alt="" />. 1+2+3+4+5=15 15/5=3<br />რეიტინგის მნიშვნელობა გამომდინარეობს აქედან <img src="images/rating5.gif" width="65" height="14" border="0" alt="best" /> (საუკეთესო) <img src="images/rating0.gif" width="65" height="14" border="0" alt="worst" /> (ყველაზე ცუდი).', 'offline', 0),
-  array('რა არის &quot;ჩემი რჩეულები&quot;?', 'მონაწილეს რჩეული ფაილების თქვენს კომპიუტერში გამოგზავნილი ნაჭდევების სახით შენახვის შესაძლებლობა აქვს.', 'offline', 0),
-);
-
-
-// ------------------------------------------------------------------------- //
-// File forgot_passwd.php
-// ------------------------------------------------------------------------- //
-
-if (defined('FORGOT_PASSWD_PHP')) $lang_forgot_passwd_php = array(
-  'forgot_passwd' => 'პაროლის შეხსენება',
-  'err_already_logged_in' => 'თქვენ უკვე სისტემაში ხართ !',
-  'enter_email' => 'მიუთითეთ თქვენი ელფოსტა', //cpg1.4
-  'submit' => 'წინ',
-  'illegal_session' => 'პაროლის შეხსენების სეანსი მცდარია ან ვადა გაუვიდა.', //cpg1.4
-  'failed_sending_email' => 'პაროლის შეხსენების ელფოსტა ვერ იგზავნება!',
-  'email_sent' => 'წერილი თქვენი სახელითა და ახალი პაროლით გამოიგზავნა - %s', //cpg1.4
-  'verify_email_sent' => 'წერილი გაიგზავნა - %s. გთხოვთ გადაამოწმოთ ელფოსტა პროცესის დასასრულებლად.', //cpg1.4
-  'err_unk_user' => 'მითითებული მონაწილე არ არსებობს!',
-  'account_verify_subject' => '%s - ახალი პაროლის მოთხოვნა', //cpg1.4
-  'account_verify_body' => 'თქვენ ახალი პაროლი მოითხოვეთ. თუ გაგრძელება თქვენთვის გამოგზავნილი ახლაი პაროლით გსურთ, მიჰყევით შემდეგ ბმას:
-
-%s', //cpg1.4
-  'passwd_reset_subject' => '%s - თქვენი ახალი პაროლი', //cpg1.4
-  'passwd_reset_body' => 'ეს თქვენს მიერ მოთხოვნილი ახალი პაროლია:
-სახელი: %s
-პაროლი: %s
-დაწკაპეთ %s შესასვლელად.', //cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File groupmgr.php
-// ------------------------------------------------------------------------- //
-
-if (defined('GROUPMGR_PHP')) $lang_groupmgr_php = array(
-  'group_name' => 'ჯგუფის სახელი',
-  'permissions' => 'უფლებები', //cpg1.4
-  'public_albums' => 'საზოგადო ალბომების ატვირთვა', //cpg1.4
-  'personal_gallery' => 'პირადი გალერეა', //cpg1.4
-  'upload_method' => 'ატვირთვის მეთოდი', //cpg1.4
-  'disk_quota' => 'დისკის ქვოტა',
-  'rating' => 'შეფასება', //cpg1.4
-  'ecards' => 'ბარათები', //cpg1.4
-  'comments' => 'კომენტარები', //cpg1.4
-  'allowed' => 'ნებადართულია', //cpg1.4
-  'approval' => 'დამტკიცება', //cpg1.4
-  'boxes_number' => 'უჯრათა რაოდ.', //cpg1.4
-  'variable' => 'ცვლადი', //cpg1.4
-  'fixed' => 'ფიქსირებული', //cpg1.4
-  'apply' => 'ცვლილებების გამოყენება',
-  'create_new_group' => 'ახალი ჯგუფის შექმნა',
-  'del_groups' => 'შერჩეული ჯგუფების წაშლა',
-  'confirm_del' => 'ყურადღება, ჯგუფის წაშლისას ამ ჯგუფის წევრები ავტომატურად გაბადავლენ ჯგუფში \'რეგისტრირებული\'!\n\nგნებავთ გაგრძელე?', //js-alert
-  'title' => 'ჯგუფების მართვა',
-  'num_file_upload' => 'ფაილის ატვირთვის უჯრები', //cpg1.4
-  'num_URI_upload' => 'URI ატვირთვის უჯრები', //cpg1.4
-  'reset_to_default' => 'ნაგულისხმები სახელის აღდგენა (%s) - რეკომენდებულია!', //cpg1.4
-  'error_group_empty' => 'ჯგუფის ცხრილი ცარიელია !<br /><br />შეიქმნა საწყისი ჯგუფი, გთხოვდ ეს გვერდი განაახლოთ', //cpg1.4
-  'explain_greyed_out_title' => 'რატომაა ეს მწკრივი ნაცრისფერი?', //cpg1.4
-  'explain_guests_greyed_out_text' => 'ამ ჯგუფის პარამეტრებს ვერ შეცვლით, რადგან კონფიგურაციის გვერდზე პარამეტრისთვის &quot; სტუმრების (ან ანონიმურების) დაშვება&quot; მიუთითეთ &quot;არა&quot;. ვერცერთი სტუმარი (%s ჯგუფის წევრი) შესვლის გარდა ვერაფერს შეძლებს; შესაბამისად, ჯგუფის პარამეტრები მათ არ ეხებათ.', //cpg1.4
-  'explain_banned_greyed_out_text' => '%s ჯგუფის პარამეტრებს ვერ შეცვლით, რადგან მათ წევრებს ისედაც არაფრის უფლება აქვთ.', //cpg1.4
-  'group_assigned_album' => 'მინიჭებული ალბომ(ებ)ი', //cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File index.php
-// ------------------------------------------------------------------------- //
-
-if (defined('INDEX_PHP')){
-
-$lang_index_php = array(
-  'welcome' => 'მოგესალმებით!',
-);
-
-$lang_album_admin_menu = array(
-  'confirm_delete' => 'ნამდვილად გსურთ ამ ალბომის წაშლა? \\nყველა ფაილი და კომენტარი ასევე წაიშლება.', //js-alert
-  'delete' => 'წაშლა',
-  'modify' => 'პარამეტრები',
-  'edit_pics' => 'ფაილების რედაქტირება',
-);
-
-$lang_list_categories = array(
-  'home' => 'თავფურცელი',
-  'stat1' => '<b>[pictures]</b> ფაილი <b>[albums]</b> ალბომში და <b>[cat]</b> კატეგორიაში <b>[comments]</b> კომენტარით გახსნილია <b>[views]</b>-ჯერ',
-  'stat2' => '<b>[pictures]</b> ფაილი <b>[albums]</b> ალბომში გახსნილია <b>[views]</b>-ჯერ',
-  'xx_s_gallery' => '%s - პირადი ალბომი',
-  'stat3' => '<b>[pictures]</b> ფაილი <b>[albums]</b> ალბომში <b>[comments]</b> კომენტარით გახსნილია <b>[views]</b>-ჯერ',
-);
-
-$lang_list_users = array(
-  'user_list' => 'მონაწილეთა სია',
-  'no_user_gal' => 'მონაწილეთა გალერეა არ არის',
-  'n_albums' => 'ალბომი: %s',
-  'n_pics' => 'ფაილი: %s',
-);
-
-$lang_list_albums = array(
-  'n_pictures' => 'ფაილი: %s',
-  'last_added' => '. ბოლო: %s',
-  'n_link_pictures' => 'ბმის ფაილები: %s', //cpg1.4
-  'total_pictures' => 'ფაილი სულ: %s', //cpg1.4
-);
-
-}
-
-// ------------------------------------------------------------------------- //
-// File keywordmgr.php //cpg1.4
-// ------------------------------------------------------------------------- //
-
-if (defined('KEYWORDMGR_PHP')) $lang_keywordmgr_php = array(
-  'title' => 'საკვანძო სიტყვების მართვა', //cpg1.4
-  'edit' => 'რედაქტირება', //cpg1.4
-  'delete' => 'წაშლა', //cpg1.4
-  'search' => 'ძიება', //cpg1.4
-  'keyword_test_search' => 'ძიება ახალ სარკმელში - %s', //cpg1.4
-  'keyword_del' => 'საკვანძო სიტყვის წაშლა - %s', //cpg1.4
-  'confirm_delete' => 'ნამდვილად გსურთ %s საკვანძო სიტყვის მთელი გალერეიდან წაშლა?', //cpg1.4  // js-alert
-  'change_keyword' => 'საკვანძო სიტყვის შეცვლა', //cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File login.php
-// ------------------------------------------------------------------------- //
-
-if (defined('LOGIN_PHP')) $lang_login_php = array(
-  'login' => 'შესვლა',
-  'enter_login_pswd' => 'მიუთითეთ მონაწილის სახელი და პაროლი',
-  'username' => 'სახელი',
-  'password' => 'პაროლი',
-  'remember_me' => 'ავტომატური შესვლა',
-  'welcome' => 'მოგესალმებით %s',
-  'err_login' => '*** სისტემაში ვერ შევდივარ.  სცადეთ კვლავ ***',
-  'err_already_logged_in' => 'თქვენ უკვე სისტემაშI ხართ!',
-  'forgot_password_link' => 'პაროლი დაგავიწყდათ?',
-  'cookie_warning' => 'თქვენი ბრაუზერის გაფრთხილება არ მიიღოს სკრიპტის ნაჭდევები', //cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File logout.php
-// ------------------------------------------------------------------------- //
-
-if (defined('LOGOUT_PHP')) $lang_logout_php = array(
-  'logout' => 'გამოსვლა',
-  'bye' => 'ნახვამდის %s',
-  'err_not_loged_in' => 'სისტემაში არ შესულხართ!',
-);
-
-// ------------------------------------------------------------------------- //
-// File minibrowser.php  //cpg1.4
-// ------------------------------------------------------------------------- //
-
-if (defined('MINIBROWSER_PHP')) $lang_minibrowser_php = array(
-  'close' => 'დახურვა', //cpg1.4
-  'submit' => 'დიახ', //cpg1.4
-  'up' => 'ერთი დონით ზემოთ', //cpg1.4
-  'current_path' => 'მიმდინარე გეზი', //cpg1.4
-  'select_directory' => 'გთხოვთ დასტა აირჩიოთ', //cpg1.4
-  'click_to_close' => 'დაწკაპეთ ნახატი ამ სარკმლის დასახურად',
-);
-
-// ------------------------------------------------------------------------- //
-// File modifyalb.php
-// ------------------------------------------------------------------------- //
-
-if (defined('MODIFYALB_PHP')) $lang_modifyalb_php = array(
-  'upd_alb_n' => 'ალბომის განახლება -> %s',
-  'general_settings' => 'ძირითადი პარამეტრები',
-  'alb_title' => 'ალბომის სათაური',
-  'alb_cat' => 'ალბომის კატეგორია',
-  'alb_desc' => 'ალბომის აღწერილობა',
-  'alb_keyword' => 'ალბომის საკვანძო სიტყვა', //cpg1.4
-  'alb_thumb' => 'ალბომის მინიატურა',
-  'alb_perm' => 'ამ ალბომის წვდომის უფლებები',
-  'can_view' => 'ალბომის დათვალიერება შეუძლიათ',
-  'can_upload' => 'მნახველებს შეუძლიათ ფაილების ატვირთვა',
-  'can_post_comments' => 'მნახველებს შეუძლიათ კომენტარების გაკეთება',
-  'can_rate' => 'მნახველებს შეუძლიათ შეფასება',
-  'user_gal' => 'მონაწილის გალერეა',
-  'no_cat' => '* კატეგორიის გარეშე *',
-  'alb_empty' => 'ალბომი ცარიელია',
-  'last_uploaded' => 'ბოლო ჩატვირთული ფაილი',
-  'public_alb' => 'ყველა (საზოგადო ალბომი)',
-  'me_only' => 'მხოლოდ მე',
-  'owner_only' => 'მხოლოდ ალბომის მფლობელი (%s)',
-  'groupp_only' => '\'%s\' ჯგუფის წევრი',
-  'err_no_alb_to_modify' => 'მონაცემთა ბაზაში არცერთი ალბომის შეცვლა არ შეგიძლიათ.',
-  'update' => 'ალბომის განახლება',
-  'reset_album' => 'ალბომის განულება', //cpg1.4
-  'reset_views' => 'ნახვათა მრიცხველის განულება - &quot;0&quot; ალბომში %s', //cpg1.4
-  'reset_rating' => 'ყველა ფაილის შეფასების განულება - %s', //cpg1.4
-  'delete_comments' => 'ყველა კომენტარის წაშლა - %s', //cpg1.4
-  'delete_files' => 'ყველა ფაილის %sშეუქცევადად%s წაშლა - %s', //cpg1.4
-  'views' => 'ნახვა', //cpg1.4
-  'votes' => 'ხმა', //cpg1.4
-  'comments' => 'კომენტარი', //cpg1.4
-  'files' => 'ფაილი', //cpg1.4
-  'submit_reset' => 'ცვლილებების გაგზავნა', //cpg1.4
-  'reset_views_confirm' => 'დარწმუნებული ვარ', //cpg1.4
-  'notice1' => '(*) დამოკიდებულია %sჯგუფების%s პარამეტრებზე',  //cpg1.4 //(do not translate %s!)
-  'alb_password' => 'ალბომის პაროლი', //cpg1.4
-  'alb_password_hint' => 'ალბომის პაროლის მინიშნება', //cpg1.4
-  'edit_files' =>'ფაილების რედაქტირება', //cpg1.4
-  'parent_category' =>'ძირეული კატეგორია', //cpg1.4
-  'thumbnail_view' =>'ჩვენება მინიატურებით', //cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File phpinfo.php
-// ------------------------------------------------------------------------- //
-
-if (defined('PHPINFO_PHP')) $lang_phpinfo_php = array(
-  'php_info' => 'PHP მონაცემები',
-  'explanation' => 'ეს გვერდი შექმნილია PHP ფუნქციით <a href="http://www.php.net/phpinfo">phpinfo()</a>, რომელიც გალერეაშია ჩადგმული (ჩასწორება მარჯვენა მხრიდან).',
-  'no_link' => 'თქვენი PHP მონაცემების სხვებისთვის ჩვენება შესაძლოა უსაფრთხო არ იყოს, ამიტომ ეს გვერდი მხოლოდ მაშინ გამოჩნდება თუ სისტემაში შესული ხართ როგორც ადმინი. ამ გვერდის ბმის სხვებისთვის გაგზავნა არ შეიძლება.',
-);
-
-// ------------------------------------------------------------------------- //
-// File picmgr.php //cpg1.4
-// ------------------------------------------------------------------------- //
-if (defined('PICMGR_PHP')) $lang_picmgr_php = array(
-  'pic_mgr' => 'ნახატების მმართველი', //cpg1.4
-  'select_album' => 'ალბომის არჩევა', //cpg1.4
-  'delete' => 'წაშლა', //cpg1.4
-  'confirm_delete1' => 'ნამდვილად გსურთ ამ ნახატის წაშლა ?', //cpg1.4
-  'confirm_delete2' => '\nნახატი შეუქცევადად წაიშლება.', //cpg1.4
-  'apply_modifs' => 'ცვლილებების გამოყენება', //cpg1.4
-  'confirm_modifs' => 'ცვლილებების დასტური', //cpg1.4
-  'pic_need_name' => 'ნახატს სახელი ესაჭიროება !', //cpg1.4
-  'no_change' => 'თქვენ არაფერი შეგიცვლიათ !', //cpg1.4
-  'no_album' => '* ალბომი არაა *', //cpg1.4
-  'explanation_header' => 'დალაგების საკუთარი რიგი, რომლის მითითებაც ამ გვერდზე შეგიძლიათ გაითვალისწინება მხოლოდ მაშინ თუ', //cpg1.4
-  'explanation1' => 'ადმინი "ფაილების სორტირების ნაგულისხმები რიგი" კონფიგურაციაში მიუთითებს "პოზიცია [აღმავალი]" ან "პოზიცია [დაღმავალი]" (გლობალური პარამეტრი ყველა მონაწილისთვის, რომელთაც სორტირების სხვა ინდივიდუალური წესი არ შეურჩევიათ)', //cpg1.4
-  'explanation2' => 'მონაწილე მიუთითებს "პოზიცია [აღმავალი]" ან "პოზიცია [დაღმავალი]" მინიატურების გვერდზე (მონაწილის პარამეტრი)', //cpg1.4
-);
-
-
-// ------------------------------------------------------------------------- //
-// File pluginmgr.php //cpg1.4
-// ------------------------------------------------------------------------- //
-
-if (defined('PLUGINMGR_PHP')){
-
-$lang_pluginmgr_php = array(
-  'confirm_uninstall' => 'ნამდვილად გსურთ ამ მოდულის ამოღება', //cpg1.4
-  'confirm_delete' => 'ნამდვილად გსურთ ამ მოდულის წაშლა', //cpg1.4
-  'pmgr' => 'მოდულების მმართველი', //cpg1.4
-  'name' => 'სახელი', //cpg1.4
-  'author' => 'ავტორი', //cpg1.4
-  'desc' => 'აღწერილობა', //cpg1.4
-  'vers' => 'v', //cpg1.4
-  'i_plugins' => 'ჩადგმული მოდულები', //cpg1.4
-  'n_plugins' => 'არჩადგმული მოდულები', //cpg1.4
-  'none_installed' => 'არაფერია ჩადგმული', //cpg1.4
-  'operation' => 'ოპერაცია', //cpg1.4
-  'not_plugin_package' => 'ატვირთული ფაილი მოდული არ გახლავთ.', //cpg1.4
-  'copy_error' => 'შეცდომა პაკეტის მოდულების ტასტაში კოპირებისას.', //cpg1.4
-  'upload' => 'ატვირთვა', //cpg1.4
-  'configure_plugin' => 'მოდულის გამართვა', //cpg1.4
-  'cleanup_plugin' => 'მოდულის გასუფთავება', //cpg1.4
-);
-}
-
-// ------------------------------------------------------------------------- //
-// File ratepic.php
-// ------------------------------------------------------------------------- //
-
-if (defined('RATEPIC_PHP')) $lang_rate_pic_php = array(
-  'already_rated' => 'უკაცრავად, მაგრამ ეს ფაილი უკვე შეაფასეთ',
-  'rate_ok' => 'თქვენი შეფასება გათვალისწინებულია',
-  'forbidden' => 'თქვენ გეკრძალებათ საკუთარი ფაილების შეფასება.',
-);
-
-// ------------------------------------------------------------------------- //
-// File register.php & profile.php
-// ------------------------------------------------------------------------- //
-
-if (defined('REGISTER_PHP') || defined('PROFILE_PHP')) {
-
-$lang_register_disclamer = <<<EOT
-მიუხედავად იმისა, რომ {SITE_NAME} საიტის ადმინისტრატორები ცდილობენ რაც შეიძლება სწრაფად ამოიღონ ან შეცვალონ უცენზურო და მიუღებელი ინფორმაცია, ყველა გამოხმაურების თვალმიდევნება შეუძლებელია.  ამგვარად, უნდა აღიაროთ და დაგვეთანხმოთ, რომ ყველა გამოგზავნილი შეტყობინება ასახავს მათი ავტორების და არა საიტის ადმინისტრაციის აზრს (გარდა ადმინისტრაციის მიერ განთავსებული შეტყობინებებისა) და ადმინისტრაცია პასუხს ვერ აგებს მათ შინაარსზე.<br />
-<br />
-თქვენ ეთანხმებით, რომ არ განათავსოთ შეურაცხმყოფელი, მუქარის, ცილისმწამებლური, პორნოგრაფიული და სხვა მსგავსი ტიპის მასალები.  ასევე ეროვნული შუღლის გაღვივების და კანონსაწინააღმდეგო მოწოდებები.  ასევე ეთანხმებით, რომ {SITE_NAME} საიტის სუპერვიზორს, ადმინისტრაციასა და მოდერატორებს თქვენი მსგავსი მასალის ამოშლის ან რედაქტირების უფლება აქვთ.  როგორც მონაწილე თქვენ ეთანხმებით, რომ თქვენი მიერ განთავსებული მონაცემები მონაცემთა ბაზაში შეინახება.  თუმცა ეს მონაცემები ვერ მიეწოდება მესამე პირებს თქვენი თანხმობის გარეშე.  ამავე დროს, ადმინისტრაცია ვერ იქნება პასუხისმგებელი ამ მასალების გახმაურებისა ჰაკერობის შემთხვევაში.<br />
-<br />
-ეს საიტი თქვენს კომპიუტერში ინფორმაციის შესანახად ნაჭდევებს იყენებს.  ეს ნაჭდევები არ შეიცვს თქვენს მიერ შეტანილ ინფორმაციას და მხოლოდ საიტის უკეთ მუშაობას ემსახურება.  თქვენი ელფოსტა გამოიყენება რეგისტრაციის გასააქტივებლად და დავიწყების შემთხვევაში ახალი პაროლის გამოსაგზავნად.<br />
-<br />
-დაწკაპვით 'ვეთანხმები', თქვენ გამოხატავთ თანხმობას ამ პირობებზე.<br />
-EOT;
-
-$lang_register_php = array(
-  'page_title' => 'მონაწილეების რეგისტრაცია',
-  'term_cond' => 'რეგისტრაციის პირობები',
-  'i_agree' => 'ვეთანხმები',
-  'submit' => 'რეგისტრაციის თანხმობა',
-  'err_user_exists' => 'თქვენ მიერ არჩეული მონაწილის სახელი (თიკუნი)უკვე გამოიყენება.  გთხოვთ აირჩიოთ სხვა',
-  'err_password_mismatch' => 'პაროლები არ ემთხვევა, გთხოვთ კიდევ ერთხელ მიუთითოთ.',
-  'err_uname_short' => 'მონაწილის სახელი (თიკუნი) არანაკლებ ორ სიმბოლოს უნდა შეიცავდეს',
-  'err_password_short' => 'პაროლი არანაკლებ ორ სიმბოლოს უნდა შეიცავდეს',
-  'err_uname_pass_diff' => 'მონაწილის სახელი (თიკუნი) და პაროლი უნდა განსხვავდებოდეს',
-  'err_invalid_email' => 'ელფოსტის მისამართის მცდარი ფორმატი',
-  'err_duplicate_email' => 'ელფოსტის ეს მისამართი სხვა მონაწილის მიერ გამოიყენება',
-  'enter_info' => 'რეგისტრაციის მონაცემები',
-  'required_info' => 'შესავსებად აუცილებელი ველები',
-  'optional_info' => 'შესავსებად არააუცილებელი ველები',
-  'username' => 'სახელი',
-  'password' => 'პაროლი',
-  'password_again' => 'პაროლის გადამოწმება',
-  'email' => 'ელფოსტა',
-  'location' => 'ადგილმდებარეობა',
-  'interests' => 'ინტერესები',
-  'website' => 'ვებგვერდი',
-  'occupation' => 'თანამდებობა',
-  'error' => 'შეცდომა',
-  'confirm_email_subject' => '%s - რეგისტრაციის დასტური',
-  'information' => 'ინფორმაცია',
-  'failed_sending_email' => 'რეგისტრაციის დასტურის ელფოსტა ვერ იგზავნება!',
-  'thank_you' => 'გმადლობთ რეგისტრაციისთვის.<br /><br />წერილი ინფორმაციით თუ როგორ გაააქტივოთ ანგარიში გამოიგზავნა თქვენს მიერ მითითებულ ელფოსტის მისამართზე.',
-  'acct_created' => 'თქვენი ანგარიში შეიქმნა.  სისტემაში შესვლა შეგიძლიათ სახელისა და პაროლის ჩამოყენებით.',
-  'acct_active' => 'თქვენი ანგარიში გააქტივდა.  სისტემაში შესვლა შეგიძლიათ სახელისა და პაროლის ჩამოყენებით.',
-  'acct_already_act' => 'ანგარიში უკვე გააქტივებულია!', //cpg1.4
-  'acct_act_failed' => 'ეს ანგარიში ვერ გააქტივდება !',
-  'err_unk_user' => 'მითითებული მონაწილე არ არსებობს!',
-  'x_s_profile' => '%s მონაწილის პროფილი',
-  'group' => 'ჯგუფი',
-  'reg_date' => 'დარეგისტრირდა',
-  'disk_usage' => 'გამოყენებული ადგილი დისკზე',
-  'change_pass' => 'პაროლის შეცვლა',
-  'current_pass' => 'მიმდინარე პაროლი',
-  'new_pass' => 'ახალი პაროლი',
-  'new_pass_again' => 'ახალი პაროლის დასტური',
-  'err_curr_pass' => 'მიმდინარე პაროლი მცდარია',
-  'apply_modif' => 'ცვლილებების გამოყენება',
-  'change_pass' => 'ჩემი პაროლის შეცვლა',
-  'update_success' => 'თქვენი პროფილი განახლდა',
-  'pass_chg_success' => 'თქვენი პაროლი შეიცვალა',
-  'pass_chg_error' => 'თქვენი პაროლი არ შეცვლილა',
-  'notify_admin_email_subject' => '%s - რეგისტრაციის შეტყობინება',
-  'last_uploads' => 'ბოლო ატვირთული ფაილი.<br />დაწკაპეთ ყველა ატვირთვის სანახავად -', //cpg1.4
-  'last_comments' => 'ბოლო კომენტარი.<br />დაწკაპეთ ყველა კომენტარის სანახავად -', //cpg1.4
-  'notify_admin_email_body' => 'ახალი მონაწილე "%s" დარეგისტრირდა ჩვენს გალერეაში',
-  'pic_count' => 'ფაილი აიტვირთა', //cpg1.4
-  'notify_admin_request_email_subject' => '%s - რეგისტრაციის მოთხოვნა', //cpg1.4
-  'thank_you_admin_activation' => 'გმადლობთ.<br /><br />ანგარისშის გააქტივების თქვენი მოთხოვნა ადმინს გადაეგზავნა. დაელოდეთ დამტკიცების წერილს.', //cpg1.4
-  'acct_active_admin_activation' => 'ანგარიში გააქტივდა და მონაწილეს წერილი გაეგზავნა.', //cpg1.4
-  'notify_admin_email_body' => 'თქვენს გალერეაში დარეგისტრირდა ახალი მონაწილე "%s"',
-);
-
-$lang_register_confirm_email = <<<EOT
-გმადლობთ რეგისტრაციისთვის - {SITE_NAME}
-
-იმისათვის, რომ გააქტივოთ თქვენი ანგარიში "{USER_NAME}" სახელით, მიჰყევით ქვედა ბმას ან დააკოპირეთ და ჩასვით იგი თქვენს ბრაუზერში.
-
-<a href="{ACT_LINK}">{ACT_LINK}</a>
-
-პატივისცემით,
-
-{SITE_NAME} გუნდი
-
-EOT;
-
-$lang_register_approve_email = <<<EOT
-ახალი მონაწილე "{USER_NAME}" დარეგისტრირდა ჩვენს გალერეაში.
-
-იმისათვის, რომ გააქტივოთ თქვენი ანგარიში "{USER_NAME}" სახელით, მიჰყევით ქვედა ბმას ან დააკოპირეთ და ჩასვით იგი თქვენს ბრაუზერში.
-
-<a href="{ACT_LINK}">{ACT_LINK}</a>
-
-EOT;
-
-$lang_register_activated_email = <<<EOT
-თქვენი ანგარიში დამტკიცდა და გააქტივდა.
-
-სისტემაში <a href="{SITE_LINK}">{SITE_LINK}</a> შესვლა შეგიძლიათ სახელით - "{USER_NAME}"
-
-
-პატივისცემით,
-
-{SITE_NAME} გუნდი
-
-EOT;
-}
-
-// ------------------------------------------------------------------------- //
-// File reviewcom.php
-// ------------------------------------------------------------------------- //
-
-if (defined('REVIEWCOM_PHP')) $lang_reviewcom_php = array(
-  'title' => 'კომენტარის დათვალიერება',
-  'no_comment' => 'კომენტარი არ არსებობს',
-  'n_comm_del' => 'წაიშალა %s კომენტარი',
-  'n_comm_disp' => 'კომენტარების რაოდენობა საჩვენებლად',
-  'see_prev' => 'წინას ნახვა',
-  'see_next' => 'შემდეგის ნახვა',
-  'del_comm' => 'მონიშნული კომენტარების წაშლა',
-  'user_name' => 'სახელი', //cpg1.4
-  'date' => 'თარიღი', //cpg1.4
-  'comment' => 'კომენტარი', //cpg1.4
-  'file' => 'ფაილი', //cpg1.4
-  'name_a' => 'სახელი [აღმავალი]', //cpg1.4
-  'name_d' => 'სახელი [დაღმავალი]', //cpg1.4
-  'date_a' => 'თარიღი [აღმავალი]', //cpg1.4
-  'date_d' => 'თარიღი [დაღმავალი]', //cpg1.4
-  'comment_a' => 'კომენტარი [აღმავალი]', //cpg1.4
-  'comment_d' => 'კომენტარი [დაღმავალი]', //cpg1.4
-  'file_a' => 'ფაილი [აღმავალი]', //cpg1.4
-  'file_d' => 'ფაილი [დაღმავალი]', //cpg1.4
-);
-
-
-// ------------------------------------------------------------------------- //
-// File search.php                                                           //
-// ------------------------------------------------------------------------- //
-
-
-if (defined('SEARCH_PHP')){
-
-$lang_search_php = array(
-  'title' => 'ფაილთა კოლექციის ძიება', //cpg1.4
-  'submit_search' => 'ძიება', //cpg1.4
-  'keyword_list_title' => 'საკვანძო სიტყვათა სია', //cpg1.4
-  'keyword_msg' => 'ჩამონათვალი ყველას არ მოიცავს. იგი არ შეიცავს სიტყვებს ფოტოების სათაურებისა და აღწერილობებიდან. სცადეთ ძიება სრულ ტექსტში.',  //cpg1.4
-  'edit_keywords' => 'საკვანძო სიტყვათა რედაქტირება', //cpg1.4
-  'search in' => 'ძიება აქ:', //cpg1.4
-  'ip_address' => 'IP მისამართი', //cpg1.4
-  'fields' => 'ძიება', //cpg1.4
-  'age' => 'ასაკი', //cpg1.4
-  'newer_than' => 'უფრო ახალი ვიდრე', //cpg1.4
-  'older_than' => 'უფრო ძველი ვიდრე', //cpg1.4
-  'days' => 'დღე', //cpg1.4
-  'all_words' => 'ყველა სიტყვა (AND)', //cpg1.4
-  'any_words' => 'რომელიმე სიტყვა (OR)', //cpg1.4
-);
-
-$lang_adv_opts = array(
-  'title' => 'სათაური', //cpg1.4
-  'caption' => 'წარწერა', //cpg1.4
-  'keywords' => 'საკვანძო სიტყვები', //cpg1.4
-  'owner_name' => 'მფლობელი', //cpg1.4
-  'filename' => 'ფაილის სახელი', //cpg1.4
-);
-
-}
-
-// ------------------------------------------------------------------------- //
-// File searchnew.php
-// ------------------------------------------------------------------------- //
-
-if (defined('SEARCHNEW_PHP')) $lang_search_new_php = array(
-  'page_title' => 'ახალი ფაილების ძიება',
-  'select_dir' => 'დასტის მითითება',
-  'select_dir_msg' => 'ეს ფუნქცია FTP სერვერზე ატვირთული რამდენი ფაილის ერთდროულად დამატების საშუალებას გაძლევთ.<br /><br />მიუთითეთ ატვირთული ფაილების დასტა.', //cpg1.4
-  'no_pic_to_add' => 'დასამატებელი ფაილები არ არის',
-  'need_one_album' => 'ამ ფუნქციის გამოსაყენებლად გესაჭიროებათ ერთი ალბომი მაინც',
-  'warning' => 'გაფრთხილება',
-  'change_perm' => 'სკრიპტი ვერ წერს ამ დასტაში, ფაილების დასამატებლად უნდა მიუთითოთ უფლებები 755 ან 777 !',
-  'target_album' => '<b>ფაილების აქედან &quot;</b>%s<b>&quot; აქ </b>%s გადმოტანა',
-  'folder' => 'დასტა',
-  'image' => 'ფაილი',
-  'album' => 'ალბომი',
-  'result' => 'შედეგი',
-  'dir_ro' => 'არაჩაწერადია. ',
-  'dir_cant_read' => 'არაკითხვადია. ',
-  'insert' => 'ფაილების გალერეაში დამატება',
-  'list_new_pic' => 'ახალი ფაილების სია',
-  'insert_selected' => 'შერჩეული ფაილების დამატება',
-  'no_pic_found' => 'ახალი ფაილები ვერ მოიძებნა',
-  'be_patient' => 'გთხოვთ მოითმინოთ, ფაილების დასამატებლად სკრიპტს დრო ესაჭიროება',
-  'no_album' => 'ალბომი არ მითითებულა',
-  'result_icon' => 'დაწკაპეთ დეტალებისთვის ან გასაახლებლად',  //cpg1.4
-  'notes' =>  '<ul>'.
-                          '<li><b>OK</b> : ნიშნავს, რომ ფაილი წარმატებით დაემატა'.
-                          '<li><b>DP</b> : ნიშნავს, რომ ფაილი ასლია და მონაცემთა ბაზაში უკვე არსებობს'.
-                          '<li><b>PB</b> : ნიშნავს, რომ ფაილი ვერ დაემატება.  გადაამოწმეთ თქვენი კონფიგურაცია და დასტებში დაშვების უფლებები'.
-                          '<li><b>NA</b> : ნიშნავს, რომ ფაილების ალბომი არ მიგითითებიათ, დაწკაპეთ \'<a href="javascript:history.back(1)">უკან</a>\' მიუთითეთ ალბომი. თუ ალბომი არ გაქვთ ჯერ <a href="albmgr.php">შექმენით ერთი მაინც</a></li>'.
-                          '<li>თუ OK, DP, PB \'ნიშნები\' დაწკაპეთ დაზიანებული ფაილი PHP–ის შეცდომების სანახავად'.
-                          '<li>თვენი ბროუზერში დროის ზღვრის გადაცილების შემთხვევაში დაწკაპეთ განახლება'.
-                          '</ul>',
-  'select_album' => 'ალბომის არჩევა',
-  'check_all' => 'ყველას მონიშვნა',
-  'uncheck_all' => 'მონიშვნის მოხსნა',
-  'no_folders' => 'ჯერჯერობით "ალბომების" დასტაში სხვა დასტები არაა. გადაამოწმეთ, რომ დასტაში "ალბომები" შექმნილია ერთი საკუთარი დასტა მაინც და ftp-ს საშუალებით ატვირთეთ ფაილები მასში. თქვენ არ უნდ ატვირთოთ "userpics" ან "edit" დასტებში - შიდა მოხმარების სარეზერვო http ატვირთვებისთვის.', //cpg1.4
-   'albums_no_category' => 'ალბომები კატეგორიის გარეშე', //cpg1.4 // album pulldown mod, added by frogfoot
-  'personal_albums' => '* პირადი ალბომები', //cpg1.4 // album pulldown mod, added by frogfoot
-  'browse_batch_add' => 'ჩვენება ნუსხის სახით (რეკომენდებულია)', //cpg1.4
-  'edit_pics' => 'ფაილების რედაქტირება', //cpg1.4
-  'edit_properties' => 'ალბომის პარამეტრები', //cpg1.4
-  'view_thumbs' => 'ჩვენება მინიატურებით', //cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File stat_details.php //cpg1.4
-// ------------------------------------------------------------------------- //
-
-if (defined('STAT_DETAILS_PHP')) $lang_stat_details_php = array(
-  'show_hide' => 'ამ სვეტის ჩვენება/დამალვა', //cpg1.4
-  'vote' => 'ხმის მიცემის დეტალები', //cpg1.4
-  'hits' => 'ნახვის დეტალები', //cpg1.4
-  'stats' => 'ხმის მიცემის სტატისტიკა', //cpg1.4
-  'sdate' => 'თარიღი', //cpg1.4
-  'rating' => 'შეფასება', //cpg1.4
-  'search_phrase' => 'ფრაზის ძიება', //cpg1.4
-  'referer' => 'დამოწმება', //cpg1.4
-  'browser' => 'ბრაუზერი', //cpg1.4
-  'os' => 'საოპერაციო სისტემა', //cpg1.4
-  'ip' => 'IP', //cpg1.4
-  'sort_by_xxx' => 'სორტირება - %s', //cpg1.4
-  'ascending' => 'აღმავალი', //cpg1.4
-  'descending' => 'დაღმავალი', //cpg1.4
-  'internal' => 'int', //cpg1.4
-  'close' => 'დახურვა', //cpg1.4
-  'hide_internal_referers' => 'შიდა დამოწმებების დამალვა', //cpg1.4
-  'date_display' => 'თარიღის ეკრანი', //cpg1.4
-  'submit' => 'გაგზავნა / გამოყენება', //cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File thumbnails.php
-// ------------------------------------------------------------------------- //
-
-// Void
-
-// ------------------------------------------------------------------------- //
-// File upload.php
-// ------------------------------------------------------------------------- //
-
-if (defined('UPLOAD_PHP')) $lang_upload_php = array(
-  'title' => 'ფაილის ატვირთვა',
-  'custom_title' => 'მოთხოვნის მორგებული ფორმა',
-  'cust_instr_1' => 'შეგიძლიათ მიუთითოთ ატვირთვის რამდენიმე ველი.<br />იმავე დროს, ქვემოთ მითითებულ ზღვარზე მეტს ვერ გამოიყენებთ.',
-  'cust_instr_2' => 'ველების რაოდენობის მოთხოვნა',
-  'cust_instr_3' => 'ფაილების ატვირთვის ველები: %s',
-  'cust_instr_4' => 'ბმების ატვირთვის ველები: %s',
-  'cust_instr_5' => 'ბმის ატვირთვა:',
-  'cust_instr_6' => 'ფაილის ატვირთვა:',
-  'cust_instr_7' => 'გთხოვთ მიუთითოთ ამ დროისთვის თქვენთვის სასურველი ატვირთვის ველების რაოდენობა.  სემდეგ დაწკაოეთ \'გაგრძელება\'. ',
-  'reg_instr_1' => 'უმართებლო ქმედება ფორმის შესაქმნელად.',
-  'reg_instr_2' => 'ახალ შეგიძლიათ თქვენი ფაილების ატვირთვა ქვემოთმოტანილი ველების საშუალებით.  თქვენი კლიენტიდან სერვერზე ასატვირთი თითოეული ფაილის მოცულობა არ უნდა აღემატებოდეს %s კბ–ს. ZIP ფაილები რომლებიც აიტვირთება სექციებში \'ფაილის ატვირთვა\' და \'ბმის ატვირთვა\' დაარქივებული დარჩება.',
-  'reg_instr_3' => 'თუ ZIP ფაილის ან სხვა არქვივის ატვირთვის შემდეგ გახსნა გსურთ, უნდა გამოიყენოთ შესაბამისი ველი \'ZIP ატვირთვები გასახსნელად\' არეში.',
-  'reg_instr_4' => 'როცა ბმების ატვირთვას იყენებთ, ფაილის გეზი გთხოვთ ამ სახით მიუთითოთ: http://www.mysite.com/images/example.jpg',
-  'reg_instr_5' => 'ფორმის შევსების შემდეგ გთხოვთ დაწკაპოთ \'გაგრძელება\'.',
-  'reg_instr_6' => 'ZIP ატვირთვები გასახსნელად:',
-  'reg_instr_7' => 'ფაილის ატვირთვა:',
-  'reg_instr_8' => 'ბმის ატვირთვა:',
-  'error_report' => 'შეცდომების ოქმი',
-  'error_instr' => 'შეცდომებია შემდეგი ატვირთვებისას:',
-  'file_name_url' => 'ფაილის სახელი/ბმა',
-  'error_message' => 'შეცდომის შეტყობინება',
-  'no_post' => 'ფაილი POST–იდან არ ატვირთულა.',
-  'forb_ext' => 'ფაილის დაუშვებელი ტიპი.',
-  'exc_php_ini' => 'ფაილის დაშვებული მაქსიმალური მოცულობა php.ini–ში გადამეტებულია.',
-  'exc_file_size' => 'ფაილის დაშვებული მაქსიმალური მოცულობა გალერეაში გადამეტებულია.',
-  'partial_upload' => 'არასრული ატვირთვა.',
-  'no_upload' => 'ატვირთვა ვერ მოხერხდა.',
-  'unknown_code' => 'ატვირთვის უცნობი PHP შეცდომის კოდი.',
-  'no_temp_name' => 'ვერ აიტვირთა - არაა დროებითი სახელი.',
-  'no_file_size' => 'არ შეიცავს მონაცემებს/დაზიანებულია',
-  'impossible' => 'ვერ გადაიტანება.',
-  'not_image' => 'ნახატი არაა/დაზიანებულია',
-  'not_GD' => 'არა GD ტიპი.',
-  'pixel_allowance' => 'ატვირთული ნახატის სიმაღლე ან სიგანე გალერეის კონფიგურაციაში მითითებულ პარამეტრებს აჭარბებს.', //cpg1.4
-  'incorrect_prefix' => 'ბმის მცდარი პრეფიქსი',
-  'could_not_open_URI' => 'ვერ ვხსნი მისამართს.',
-  'unsafe_URI' => 'უსაფრთხოება ვერ მოწმდება.',
-  'meta_data_failure' => 'მეტამონაცემთა შეცდომა',
-  'http_401' => '401 სისტემის გარე',
-  'http_402' => '402 საჭიროა გადახდა',
-  'http_403' => '403 აკრძალულია',
-  'http_404' => '404 ვერ მოიძებნა',
-  'http_500' => '500 სერვერის შიდა შეცდომა',
-  'http_503' => '503 მომსახურება ჯერ არ დანერგილა',
-  'MIME_extraction_failure' => 'ვერ განისაზღვრა MIME ტიპი.',
-  'MIME_type_unknown' => 'უცნობი MIME ტიპი',
-  'cant_create_write' => 'ვერ ვქმნი ჩაწერად ფაილს.',
-  'not_writable' => 'ვერ ვწერ ჩაწერად ფაილში.',
-  'cant_read_URI' => 'ბმას ვერ ვკითხულობ',
-  'cant_open_write_file' => 'ვერ ვხსნი URI ჩაწერად ფაილს.',
-  'cant_write_write_file' => 'ვერ ვწერ URI ჩაწერად ფაილში.',
-  'cant_unzip' => 'ვერ ვხსნი არქივს.',
-  'unknown' => 'უცნობი შეცდომა',
-  'succ' => 'წარმატებული ატვირთვა',
-  'success' => 'წარმატებული ატვირთვა: %s.',
-  'add' => 'ფაილების ალბომში დასამატებლათ გთხოვთ დაწკაპოთ \'გაგრძელება\'.',
-  'failure' => 'ატვირთვა ვერ მოხერხდა',
-  'f_info' => 'ფაილის ინფორმაცია',
-  'no_place' => 'წინა ფაილი ვერ განთავსდება.',
-  'yes_place' => 'წინა ფაილი წარმატებით განთავსდა.',
-  'max_fsize' => 'მაქსიმალური დასაშვები მოცულობაა %s კბ',
-  'album' => 'ალბომი',
-  'picture' => 'ფაილი',
-  'pic_title' => 'ფაილის სახელი',
-  'description' => 'ფაილის აღწერილობა',
-  'keywords' => 'საკვანძო სიტყვები (გამოიყოფა შორისებით)<br /><a href="#" onClick="return MM_openBrWindow(\'keyword_select.php\',\'selectKey\',\'width=250, height=400, scrollbars=yes,toolbar=no,status=yes,resizable=yes\')">Insert from list</a>', //cpg1.4
-  'keywords_sel' =>'საკვანძო სიტყვის არჩევა', //cpg1.4
-  'err_no_alb_uploadables' => 'უკაცრავად, ვერ მოიძებნა ალბომი რომელშიც ფაილების ატვირთვის უფლება გაქვთ',
-  'place_instr_1' => 'გთხოვთ განათავსოთ ფაილები ალბომებში.  ასევე შეგიძლიათ თითოეული ფაილის შესაბამისი ინფორმაციის მითითებაც.',
-  'place_instr_2' => 'განსათავსებელია სხვა ფაილებიც. გთხოვთ დაწკაპოთ \'გაგრძელება\'.',
-  'process_complete' => 'თქვენ წარმატებით განათავსეთ ყველა ფაილი.',
-   'albums_no_category' => 'ალბომები კატეგორიის გარეშე', //cpg1.4. //album pulldown mod, added by frogfoot
-  'personal_albums' => '* პირადი ალბომები', //cpg1.4 //album pulldown mod, added by frogfoot
-  'select_album' => 'ალბომის არჩევა', //cpg1.4 //album pulldown mod, added by frogfoot
-  'close' => 'დახურვა', //cpg1.4
-  'no_keywords' => 'ვწუხვართ, საკვანძო სიტყვები მიუწვდომელია!', //cpg1.4
-  'regenerate_dictionary' => 'ლექსიკონის ხელახლა შექმნა', //cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File usermgr.php
-// ------------------------------------------------------------------------- //
-
-if (defined('USERMGR_PHP')) $lang_usermgr_php = array(
-  'memberlist' => 'მონაწილეთა სია', //cpg1.4
-  'user_manager' => 'მონაწილეთა მართვა', //cpg1.4
-  'title' => 'მონაწილეთა მართვა',
-  'name_a' => 'სახელით [აღმავალი]',
-  'name_d' => 'სახელით [დაღმავალი]',
-  'group_a' => 'ჯგუფით [აღმავალი]',
-  'group_d' => 'ჯგუფით [დაღმავალი]',
-  'reg_a' => 'რეგისტრაციის თარიღით [აღმავალი]',
-  'reg_d' => 'რეგისტრაციის თარიღით [დაღმავალი]',
-  'pic_a' => 'ფაილების რაოდენობით [აღმავალი]',
-  'pic_d' => 'ფაილების რაოდენობით [დაღმავალი]',
-  'disku_a' => 'გამოყენებული ადგილით [აღმავალი]',
-  'disku_d' => 'გამოყენებული ადგილით [დაღმავალი]',
-  'lv_a' => 'ბოლო სტუმრობით [აღმავალი]',
-  'lv_d' => 'ბოლო სტუმრობით [დაღმავალი]',
-  'sort_by' => 'მონაწილეთა სორტირება',
-  'err_no_users' => 'მონაწილეთა ცხრილი ცარიელია!',
-  'err_edit_self' => 'თქვენ არ შეგიძლიათ საკუთAრი პროფილის რედაქტირება, ამისათვის გამოიყენეთ ბმა \'პროფილი\'',
-  'edit' => 'რედაქტირება', //cpg1.4
-  'with_selected' => 'მონიშნულის:', //cpg1.4
-  'delete' => 'წაშლა', //cpg1.4
-  'delete_files_no' => 'საზოგადო ფაილების შენარჩუნებით (მაგრამ ანონიმურად გადაქცევა)', //cpg1.4
-  'delete_files_yes' => 'საზოგადო ფაილების ჩათვლით', //cpg1.4
-  'delete_comments_no' => 'კომენტარების შენარჩუნებით (მაგრამ ანონიმურად გადაქცევა)', //cpg1.4
-  'delete_comments_yes' => 'კომენტარების ჩათვლით', //cpg1.4
-  'activate' => 'გააქტივება', //cpg1.4
-  'deactivate' => 'დეაქტივაცია', //cpg1.4
-  'reset_password' => 'პაროლის განახლება', //cpg1.4
-  'change_primary_membergroup' => 'წევრთა პირველადი ჯგუფის შეცვლა', //cpg1.4
-  'add_secondary_membergroup' => 'წევრთა მეორადი ჯგუფის დამატება', //cpg1.4
-  'name' => 'მონაწილის სახელი',
-  'group' => 'ჯგუფი',
-  'inactive' => 'არააქტიური',
-  'operations' => 'ქმედებები',
-  'pictures' => 'ფაილები',
-  'disk_space_used' => 'გამოყენებული ადგილი', //cpg1.4
-  'disk_space_quota' => 'გამოყოფილი ადგილი', //cpg1.4
-  'registered_on' => 'რეგისტრაცია', //cpg1.4
-  'last_visit' => 'ბოლო სტუმრობა',
-  'u_user_on_p_pages' => 'მონაწილა: %d / გვერდი: %d',
-  'confirm_del' => 'ნამდვილად გსურთ ამ მონაწილის წაშლა? \\nმისი ყველა ფაილი და ალბომი აგრეთვე წაიშლება.', //js-alert
-  'mail' => 'ფოსტა',
-  'err_unknown_user' => 'მითითებული მონაწილე არ არსებობს',
-  'modify_user' => 'მონაწილის შეცვლა',
-  'notes' => 'შენიშვნები',
-  'note_list' => '<li>თუ მიმდინარე პაროლის შეცვლა გსურთ ველი "პაროლი" ცარიელი დატოვეთ',
-  'password' => 'პაროლი',
-  'user_active' => 'მონაწილე აქტიურია',
-  'user_group' => 'მონაწილეთა ჯგუფი',
-  'user_email' => 'მონაწილის ელფოსტა',
-  'user_web_site' => 'მონაწილის ვებგვერდი',
-  'create_new_user' => 'ახალი მონაწილის შექმნა',
-  'user_location' => 'მონაწილის ადგილმდებარეობა',
-  'user_interests' => 'მონაწილის ინტერესები',
-  'user_occupation' => 'მონაწილის თანამდებობა',
-  'user_profile1' => '$user_profile1', //cpg1.4
-  'user_profile2' => '$user_profile2', //cpg1.4
-  'user_profile3' => '$user_profile3', //cpg1.4
-  'user_profile4' => '$user_profile4', //cpg1.4
-  'user_profile5' => '$user_profile5', //cpg1.4
-  'user_profile6' => '$user_profile6', //cpg1.4
-  'latest_upload' => 'ბოლო განახლებები',
-  'never' => 'არასოდეს',
-  'search' => 'მონაწილის ძიება', //cpg1.4
-  'submit' => 'გაგზავნა', //cpg1.4
-  'search_submit' => 'წინ!', //cpg1.4
-  'search_result' => 'ძიების შედეგები: ', //cpg1.4
-  'alert_no_selection' => 'ჯერ ერთი მაინც მონაწილე უნდა შეარჩიოთ!', //cpg1.4 //js-alert
-  'password' => 'პაროლი', //cpg1.4
-  'select_group' => 'ჯგუფის არჩევა', //cpg1.4
-  'groups_alb_access' => 'უფლებები ალბომზე ჯგუფების მიხედვით', //cpg1.4
-  'album' => 'ალბომი', //cpg1.4
-  'category' => 'კატეგორია', //cpg1.4
-  'modify' => 'შევცვალო?', //cpg1.4
-  'group_no_access' => 'ამ ჯგუფს განსაკუთრებული წვდომის უფლება არ გააჩნია', //cpg1.4
-  'notice' => 'შენიშვნა', //cpg1.4
-  'group_can_access' => 'ალბომ(ებ)ი, რომელთა წვდომის უფლებამოსილია მხოლოდ "%s"', //cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File util.php
-// ------------------------------------------------------------------------- //
-
-if (defined('UTIL_PHP')) {
-$lang_util_desc_php = array(
-'განაახლებს სათაურებს ფაილიდან', //cpg1.4
-'წაშლის სათაურებს', //cpg1.4
-'განაახლებს მინიატურებს და შეცვლის ფოტოების ზომებს', //cpg1.4
-'წაშლის საწყის ფოტოებს და ჩაანაცვლებს ზომაშეცვლილებით', //cpg1.4
-'წაშლის საწყის და შუალედური ზომების ფოტოებს დისკზე ადგილის გამოსათავისუფლებლად', //cpg1.4
-'წაშლის განცალკევებულ კომენტარებს', //cpg1.4
-'გადაიკითხავს ფაილთა ზომებსა და განზომილებებს (ნახატების ხელით ჩასწორების შემთხვევაში)', //cpg1.4
-'განულებს მონახულებათა მრიცხველს', //cpg1.4
-'აჩვენებს PHP მონაცემებს', //cpg1.4
-'განაახლებს მონაცემთა ბაზას', //cpg1.4
-'აჩვენებს დავთრის ფაილებს', //cpg1.4
-);
-$lang_util_php = array(
-  'title' => 'ადმინისტრატორის ხელსაწყოები (ნახატის ზომების შეცვლა)',
-  'what_it_does' => 'რას აკეთებს',
-  'file' => 'ფაილი',
-  'problem' => 'პრობლემა', //cpg1.4
-  'status' => 'სტატუსი', //cpg1.4
-  'title_set_to' => 'სახელის მითითება',
-  'submit_form' => 'გამოყენება',
-  'updated_succesfully' => 'წარმატებით განახლდა',
-  'error_create' => 'შექმნის შეცდომა',
-  'continue' => 'სხვა ნახატების დამუშავება',
-  'main_success' => 'ფაილი %s წარმატებით გამოიყენება როგორც ძირითადი',
-  'error_rename' => 'გადარქმევის შეცდომა %s - %s',
-  'error_not_found' => 'ფაილი %s ვერ მოიძებნა',
-  'back' => 'მთავარ გვერდზე დაბრუნება',
-  'thumbs_wait' => 'მიმდინარეობს მინიატურებისა და/ან ზომაშეცვლილი ნახატების განახლება, გთხოვთ შეიცადოთ...',
-  'thumbs_continue_wait' => 'გრძელდება მინიატურებისა და/ან ზომაშეცვლილი ნახატების განახლება, გთხოვთ შეიცადოთ...',
-  'titles_wait' => 'მიმდინარეობს სათაურების განახლება, გთხოვთ შეიცადოთ...',
-  'delete_wait' => 'მიმდინარეობს ფაილების წაშლა, გთხოვთ შეიცადოთ...',
-  'replace_wait' => 'მიმდინარეობს საწყისი ფაილების წაშლა და მათი ზომაშეცვლილი ფაილებით ჩანაცვლება, გთხოვთ შეიცადოთ...',
-  'instruction' => 'სწრაფი ინსტრუქციები',
-  'instruction_action' => 'ქმედების არჩევა',
-  'instruction_parameter' => 'პარამეტრების მითითება',
-  'instruction_album' => 'ალბომის არჩევა',
-  'instruction_press' => 'დააჭირეთ ღილაკს %s',
-  'update' => 'მინიატურებისა და/ან ზომაშეცვლილი ნახატების განახლება',
-  'update_what' => 'რა უნდა შეიცვალოს',
-  'update_thumb' => 'მხოლოდ მინიატურები',
-  'update_pic' => 'მხოლოდ ზომაშეცვლილი ნახატები',
-  'update_both' => 'მინიატურებიც და ზომაშეცვლილი ნახატებიც',
-  'update_number' => 'ერთი დაწკაპვით დასამუშევებელ ნახატთა რაოდენობა',
-  'update_option' => '(თუ დროის და ვადის პრობლემები გქონიათ, გთხოვთ დაბალი მნიშვნელობა მიუთითოთ)',
-  'filename_title' => 'ფაილის სახელი &rArr; ფაილის სათაური',
-  'filename_how' => 'როგორ უნდა შეიცვალოს ფაილის სახელი?',
-  'filename_remove' => 'მოცილდეს .jpg დაბოლოება და ნიშნანი _ (ხაზგასმა) შეიცვალოს შორისებით',
-  'filename_euro' => 'შეცვლა 2003_11_23_13_20_20.jpg - 23/11/2003 13:20',
-  'filename_us' => 'შეცვლა 2003_11_23_13_20_20.jpg - 11/23/2003 13:20',
-  'filename_time' => 'შეცვლა 2003_11_23_13_20_20.jpg - 13:20',
-  'delete' => 'ფაილების სათაურების ან პირველწყარო ფოტოების წაშლა',
-  'delete_title' => 'ფაილების სათაურების წაშლა',
-  'delete_title_explanation' => 'ამოშლის ყველა ფაილის სათაურს თქვენს მიერ მითითებული ალბომში.', //cpg1.4
-  'delete_original' => 'პირველწყარო ფოტოების წაშლა',
-  'delete_original_explanation' => 'ამოიღებს სრული ზომის ფოტოებს.', //cpg1.4
-  'delete_intermediate' => 'შუალედური ფოტოების წაშლა', //cpg1.4
-  'delete_intermediate_explanation' => 'ამოიღებს შუალედურ (ჩვეულებრივ) ფოტოებს.<br />გამოიყენეთ თუ დისკზე ადგილის გამოთავისუფლება გსურთ. კონფიგურაციაში უნდა მორთოთ \'შუალედური ნახატების შექმნა\' ნახატების დამატების შემდეგ.', //cpg1.4
-  'delete_replace' => 'პირველწყარო ფოტოების წაშლა და ზომაშეცვლილებით ჩანაცვლება',
-  'titles_deleted' => 'მითითებულ ალბომში ყველა სათაური ამოღებულია', //cpg1.4
-  'deleting_intermediates' => 'შუალედური ფოტოების წაშლა, შეიცადეთ...', //cpg1.4
-  'searching_orphans' => 'განცალკევებულების ძებნა, შეიცადეთ...', //cpg1.4
-  'select_album' => 'ალბომის არჩევა',
-  'delete_orphans' => 'ცალკეული კომენტარების წაშლა (მუშაობს ყველა ალბომში)',
-  'delete_orphans_explanation' => 'ეს დაგეხმარებათ აღმოაჩინოთ და წაშალოთ კომენტარები, რომლებიც გალერეის ფაილებთან აღარ არიან დაკავშირებული.<br />ამოწმებს ყველა ალბომს.', //cpg1.4
-  'refresh_db' => 'ფაილთა განზომილებებისა და ზომის ხელახალი ჩატვირთვა', //cpg1.4
-  'refresh_db_explanation' => 'ხელახლა წაიკითხავს ფაილების განზომილებებსა და ზომას. გამოიყენეთ თუ ქვოტები მცდარია ან თუ ფაილები ხელით შეცვალეთ.', //cpg1.4
-  'reset_views' => 'ნახვის მრიცხველთა გაუქმება', //cpg1.4
-  'reset_views_explanation' => 'გაანულებს ფაილების ნახვათა რაოდენობას მითითებულ ალბომში.', //cpg1.4
-  'orphan_comment' => 'ნაპოვნია ცალკეული კომენტარები',
-  'delete' => 'წაშლა',
-  'delete_all' => 'ყველას წაშლა',
-  'delete_all_orphans' => 'წავშალო ყველა განცალკევებული?', //cpg1.4
-  'comment' => 'კომენტარი: ',
-  'nonexist' => 'დაერთვის არარსებულ ფაილს # ',
-  'phpinfo' => 'phpinfo–ს ჩვენება',
-  'phpinfo_explanation' => 'შეიცავს ტექნიკურ ინფორმაციას თქვენი სერვერის შესახებ.<br /> - დახმარების მოთხოვნისას შესაძლოა ამ მონაცემების მითითებას დაგეკითხნონ.', //cpg1.4
-  'update_db' => 'მონაცემთა ბაზის განახლება',
-  'update_db_explanation' => 'თუ გალერეის სიტემური ფაილი შეცვალეთ, დაამატეთ მოდიფიკაციები ან თავად პროგრამა განაახლეთ, აუცილებელია მონაცემთა ბაზის ერთხელ მაინც განახლება. ამ დროს შეიქმნება თქვენი მონაცემთა ბაზისთვის აუცილებელი ცხრილები და/ან პარამეტრები.',
-  'view_log' => 'დავთრის ფაილების ჩვენება', //cpg1.4
-  'view_log_explanation' => 'გალერეას შეუძლია მონაწილეთა ქმედებების დავთარში შენახვა. დავთრის დათვალიერება შეგიძლიათ თუ შესაბამისი უფლება გააქტივებულია <a href="admin.php">გალერეის კონფიგურაციაში</a>.', //cpg1.4
-  'versioncheck' => 'ვერსიების შემოწმება', //cpg1.4
-  'versioncheck_explanation' => 'შეამოწმებს თქვენი ფაილების ვერსიებს, რათა გადაამოწმოს ფაილების განახლება ან შეამოწმოს ახალი ვერსიების არსებობა უკვე ჩადგმული ვერსიისთვის.', //cpg1.4
-  'bridgemanager' => 'შეხიდების მმართველი', //cpg1.4
-  'bridgemanager_explanation' => 'გალერეის სხვა პროგრამებთან (მაგალითად ფორუმთან) ინტეგრაციის (შეხიდების) ჩართვა/ამორთვა.', //cpg1.4
-);
-}
-
-// ------------------------------------------------------------------------- //
-// File versioncheck.php //cpg1.4
-// ------------------------------------------------------------------------- //
-
-if (defined('VERSIONCHECK_PHP')) $lang_versioncheck_php = array(
-  'title' => 'ვერსიის შემოწმება', //cpg1.4
-  'what_it_does' => 'ეს გვერდი განკუთვნილია იმ მომხმარებელთათვის, რომელთაც ჩადგმა განაახლეს. ეს სკრიპტი ჩამოივლის თქვენი ვებ სერვერის ფაილებს და შეეცდება დაადგინოს ემთხვევა თუ არა სერვერის ლოკალური ფაილების ვერსია იმ ფაილების ვერსიას, რომლებიც განთავსებულია საცავში http://coppermine.sourceforge.net, და შესაბამისად აჩვენებს განსხვავებებს.<br />ყველაფერი, რაც წითლად იქნება ნაჩვენები - გასაახლებელია. ყვითლად ნაჩვენები ელემენტები - გადასახედია. მწვანე (ან შრიფტის ნაგულისხმები ფერის) ელემენტები - წესრიგშია.<br />დეტალებისთვის დაწკაპეთ დახმარების პიქტოგრამებზე.', //cpg1.4
-  'online_repository_unable' => 'ვერ ვუკავშირდები ინტერნეტ საცავს', //cpg1.4
-  'online_repository_noconnect' => 'გალერეა ინტერნეტ საცავს ვერ დაუკავშირდა. შესაძლოა ამის ორი მიზეზი იყოს:', //cpg1.4
-  'online_repository_reason1' => 'გალერეის ინტერნეტ საცავი ამორთულია - შეამოწმეთ ეს გვერდი: %s - თუ ამ გვერდს ვერ ხედავთ, სცადეთ მოგვიანებით.', //cpg1.4
-  'online_repository_reason2' => 'თქვენი ვებ სერვერის PHP კონფიგურაციაში %s ამორთულია (ჩვეულებრივ, იგი ჩართულია). თუ სერვერის ადმინისტრირება შეგიძლიათ - ჩართეთ იგი <i>php.ini</i> ფაილში (ან %s ჩანაცვლების შესაძლებლობის უფლება). წინააღმდეგ შემთხვევაში უნდა შეეგუოთ იმ აზრს, რომ თქვენს და ინტერნეტ საცავის ფაილებს ვერ შეადარებთ. ამ გვერდზე ნაჩვენებია იქნება მხოლოდ თვენი ფაილების ვერსიები - განახლებები ნაჩვენები არ იქნება.', //cpg1.4
-  'online_repository_skipped' => 'კავშირი ინტერნეტ საცავთან გამოტოვებულია', //cpg1.4
-  'online_repository_to_local' => 'სკრიპტი ძირითადად გადააქცევს ვერსიული ფაილების ლოკალურ ასლებს. მონაცემები შესაძლოა უზუსტო გამოდგეს თუ გალერეის განახლებისას ყველა ახალი ფაილი არ აიტვირთა. ფაილთა ცვლილებები გამოშვების ვერსიის შემდეგ მხედველობაში არ მიიღება.', //cpg1.4
-  'local_repository_unable' => 'ვერ ვუკავშირდები საცავს თქვენს სერვერზე', //cpg1.4
-  'local_repository_explanation' => 'გალერეა ვერ დაუკავშირდა %s ფაილს თქვენს ვებ სერვერზე. როგორც ჩანს საცავის ფაილი ვებ სერვერზე არ აგიტვირთავთ. გააკეთეთ ეს ახლა და შემდეგ კვლავ სცადეთ (დააჭირეთ განახლებას).<br />თუ სკრიპტი კვლავ არ მუშაობს, შესაძლოა ჰოსტმა გააუქმა <a href="http://www.php.net/manual/en/ref.filesystem.php">PHP ფაილური სისტემის ფუნქციები</a> completely. ასეთ შემთხვევაში ამ ხელსაწყოს საერთოდ ვერ გამოიყენებთ, ვწუხვართ.', //cpg1.4
-  'coppermine_version_header' => 'გალერეის ჩადგმული ვერსია', //cpg1.4
-  'coppermine_version_info' => 'თქვენ ჩადგით ვერსია: %s', //cpg1.4
-  'coppermine_version_explanation' => 'თუ ფიქრობთ რომ ეს არასწორია და სინამდვილეში გალერეის უფრო მაღალ ვერსიას იყენებთ, შესაძლოა არ აგიტვირთავთ <i>include/init.inc.php</i> ფაილის უახლესი ვერსია', //cpg1.4
-  'version_comparison' => 'ვერსიათა შედარება', //cpg1.4
-  'folder_file' => 'დასტა/ფაილი', //cpg1.4
-  'coppermine_version' => 'გალერეის ვერსია', //cpg1.4
-  'file_version' => 'ფაილის ვერსია', //cpg1.4
-  'webcvs' => 'ვებ cvs', //cpg1.4
-  'writable' => 'ჩაწერადი', //cpg1.4
-  'not_writable' => 'მხოლოდ კითხვადი', //cpg1.4
-  'help' => 'დახმარება', //cpg1.4
-  'help_file_not_exist_optional1' => 'ფაილი/დასტა არ არსებობს', //cpg1.4
-  'help_file_not_exist_optional2' => 'ფაილი/დასტა %s თქვენს სერვერზე ვერ მოიძებნა. თუ პრობლემები გაქვთ შეგიძლიათ მისი ვებ სერვერზე ატვირთვა (FTP კლიენტის გამოყენებით).', //cpg1.4
-  'help_file_not_exist_mandatory1' => 'ფაილი/დასტა არ არსებობს', //cpg1.4
-  'help_file_not_exist_mandatory2' => 'ფაილი/დასტა %s თქვენს სერვერზე ვერ მოიძებნა. აუცილებელია მისი ვებ სერვერზე ატვირთვა (FTP კლიენტის გამოყენებით).', //cpg1.4
-  'help_no_local_version1' => 'ფაილის ლოკალური ვერსია არაა', //cpg1.4
-  'help_no_local_version2' => 'სკრიპტი ფაილის ლოკალურ ვერსიას ვერ ხსნის - თქვენი ფაილი მოძველებულია ან თქვენ შეცვალეთ მისი თავსართის მონაცემები. რეკომენდებულია ფაილის განახლება.', //cpg1.4
-  'help_local_version_outdated1' => 'ლოკალური ვერსია მოძველებულია', //cpg1.4
-  'help_local_version_outdated2' => 'თქვენი ფაილის ეს ვერსია ჩანს გალერეის ძველ ვერსიას ეკუთვნის (რომელიც ალბათ განაახლეთ). გადაამოწმეთ, რომ ეს ფაილიც განახლეებულია.', //cpg1.4
-  'help_local_version_na1' => 'ვერ ხერხდება cvs ვერსიის მონაცემების წაკითხვა', //cpg1.4
-  'help_local_version_na2' => 'სკრიპტი ვერ ახერხებს ფაილის cvs ვერსიის განსაზღვრას ვებ სერვერზე. თქვენ იგი უნდა ატვირთოთ პირველწყარო პაკეტიდან.', //cpg1.4
-  'help_local_version_dev1' => 'პროგრამისტის ვერსია', //cpg1.4
-  'help_local_version_dev2' => 'ფაილი ვებ სერვერზე უფრო ახალია ვიდრე გალერეის მიმდინარე ვერსია. თქვენ ან პროგრამისტისის ვერსიას იყენებთ (და ამ შემთხვევაში უნდა იცოდეთ რას აკეთებთ), ან განაახლეთ გალერეის ჩადგმა ისე, რომ არ აგითვირთვათ include/init.inc.php ფაილი', //cpg1.4
-  'help_not_writable1' => 'დასტა ჩაწერადი არაა', //cpg1.4
-  'help_not_writable2' => 'შეცვალეთ ფაილის ჩაწერის უფლებები (CHMOD) რათა სკრიპტს %s დასტაში ჩაწერის უფლება ჰქონდეს.', //cpg1.4
-  'help_writable1' => 'დასტა ჩაწერადია', //cpg1.4
-  'help_writable2' => 'დასტა %s ჩაწერადია. ეს გაუმართლებელი რისკია, გალერეა მხოლოდ კითხვა/შესრულების უფლებას საჭიროებს.', //cpg1.4
-  'help_writable_undetermined' => 'გალერეა დასტის ჩაწერადობის განსაზღვრას ვერ ახერხებს.', //cpg1.4
-  'your_file' => 'თქვენი ფაილი', //cpg1.4
-  'reference_file' => 'დამოწმებული ფაილი', //cpg1.4
-  'summary' => 'რეზიუმე', //cpg1.4
-  'total' => 'სულ შემოწმებული ფაილები/დასტები', //cpg1.4
-  'mandatory_files_missing' => 'გამოტოვებულია აუცილებელი ფაილები', //cpg1.4
-  'optional_files_missing' => 'გამოტოვებულია დამხმარე ფაილები', //cpg1.4
-  'files_from_older_version' => 'გალერეის მოძველებული ვერსიიდან შემორჩენილი ფაილები', //cpg1.4
-  'file_version_outdated' => 'ფაილთა მოძველებული ვერსიები', //cpg1.4
-  'error_no_data' => 'სკრიპტი ჩაიშალა, ვერანაირი ინფორმაციის წაკითხვა ვერ მოხერხდა. ვწუხვართ.', //cpg1.4
-  'go_to_webcvs' => 'გადასვლა - %s', //cpg1.4
-  'options' => 'პარამეტრები', //cpg1.4
-  'show_optional_files' => 'დამხმარე დასტები/ფაილები', //cpg1.4
-  'show_mandatory_files' => 'აუცილებელი ფაილების ჩვენება', //cpg1.4
-  'show_file_versions' => 'ფაილთა ვერსიების ჩვენება', //cpg1.4
-  'show_errors_only' => 'მხოლოდ შეცდომითი დასტების/ფაილების ჩვენება', //cpg1.4
-  'show_permissions' => 'დასტის უფლებების ჩვენება', //cpg1.4
-  'show_condensed_output' => 'შეკუმშული ანგარიში (მარტივი ჩვენება)', //cpg1.4
-  'coppermine_in_webroot' => 'გალერეა ჩადგა ვების ძირეულ დასტაში', //cpg1.4
-  'connect_online_repository' => 'სცადეთ ინტერნეტ საცავთან დაკავშირება', //cpg1.4
-  'show_additional_information' => 'დამატებითი მონაცემების ჩვენება', //cpg1.4
-  'no_webcvs_link' => 'ვებ cvs ბმის დამალვა', //cpg1.4
-  'stable_webcvs_link' => 'ვებ cvs ბმის ჩვენება სტაბილური შტოსთვის', //cpg1.4
-  'devel_webcvs_link' => 'ვებ cvs ბმის ჩვენება განვითარებადი შტოსთვის', //cpg1.4
-  'submit' => 'ცვლილებების გამოყენება / განახლება', //cpg1.4
-  'reset_to_defaults' => 'ნაგულისხმები მნიშვნელობების აღდგენა', //cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File view_log.php  //cpg1.4
-// ------------------------------------------------------------------------- //
-
-if (defined('VIEWLOG_PHP')) $lang_viewlog_php = array(
-  'delete_all' => 'ყველა ჩანაწერის წაშლა', //cpg1.4
-  'delete_this' => 'ამ ჩანაწერის წაშლა', //cpg1.4
-  'view_logs' => 'ჩანაწერების ჩვენება', //cpg1.4
-  'no_logs' => 'ჩანაწერები არ შექმნილა.', //cpg1.4
-);
-
-
-// ------------------------------------------------------------------------- //
-// File xp_publish.php //cpg1.4
-// ------------------------------------------------------------------------- //
-
-if (defined('XP_PUBLISH_PHP')) {
-
-$lang_xp_publish_client = <<<EOT
-<h1>XP ვებ გამოცემის მეგზურის მოდული</h1><p>ეს მოდული გალერეის <b>Windows XP</b> ვებ გამოცემის მეგზურის გამოყენების საშუალებას იძლევა.</p><p>კოდი დაფუძნებულია სტატიაზე რომელის ავტორია
-EOT;
-
-$lang_xp_publish_required = <<<EOT
-<h2>რა არის საჭირო</h2><ul><li>Windows XP შესაბამისი მეგზურით.</li><li>გალერეის ჩადგმული მუშა ვერსია, რომელშიც <b>ვებ ატვირთვის ფუნქცია გამართულად მუშაობს.</b></li></ul><h2>როგორ ჩაიდგას კლიენტის მხარეს</h2><ul><li>გამოიყენეთ მარჯვენა დაწკაპვა
-EOT;
-
-$lang_xp_publish_select = <<<EOT
-აირჩიეთ &quot;შენახვა როგორც..&quot;. შეინახეთ ფაილი თქვენს ხისტ დისკზე. შენახვისას გადაამოწმეთ, რომ შემოთავაზებული სახელია <b>cpg_###.reg</b> (სადაც ### დროის შტამპია). თუ აუცილებელია შეცვალეთ სახელი (რიცხვები დატოვეთ). ჩამოტვირთვის შემდეგ ორმაგად დაწკაპეთ ფაილი სერვერზე ვებ გამოცემის გამძროლის დასარეგისტრირებლად.</li></ul>
-EOT;
-
-$lang_xp_publish_testing = <<<EOT
-<h2>შემოწმება</h2><ul><li>შეარჩიეთ რამდენიმე ფაილი Windows მეგზურში და მარცხენა პანელში დაწკაპეთ <b>xxx გამოცემა ვებზე</b>.</li><li>დაადასტურეთ ფაილის თქვენი არჩევანი. დაწკაპეთ <b>შემდეგ</b>.</li><li>სერვისების სიაში შეარჩიეთ ერთერთი ფოტოგალერეა (თქვენი ერთერთი გალერეის სახელი). თუ სერვისები არ გამოჩნდა გადაამოწმეთ, რომ <b>cpg_pub_wizard.reg</b> ჩადგმულია არსებული ინსტრუქციების მიხედვით.</li><li>თუ საჭიროა მიუთითეთ თქვენი შესვლის მონაცემები.</li><li>მიუთითეთ თქვენი ნახატების დანიშნულების ალბომი ან შექმენით ახალი.</li><li>დაწკაპეთ <b>შემდეგ</b>. დაიწყება თქვენი ნახატების ატვირთვა.</li><li>დასრულების შემდეგ გადაამოწმეთ რამდენად მართებულად აიტვირთა ნახატები გალერეაში.</li></ul>
-EOT;
-
-$lang_xp_publish_notes = <<<EOT
-<h2>Notes :</h2><ul><li>ატვირთვის დაწყების შემდეგ მეგზური სკრიპტის შეცდომის შეტყობინებებს ვეღარ აჩვენებს, ასე რომ, გალერეის შემოწმებამდე ვერ დაადგენთ თუ რამდენად მართებულად აიტვირთა ნახატები.</li><li>თუ ატვირთვა ვერ მოხერხდა, გალერეის მართვის გვერდზე ჩართეთ &quot;გამართვის რეჟიმი&quot;, ჯერ ერთი ნახატი სცადეთ და შემდეგ შეამოწმეთ შეცდომათა შეტყობინებები
-EOT;
-
-$lang_xp_publish_flood = <<<EOT
-რომელიც თქვენს სერვერზე გალერეის დასტაშია განთავსებული.</li><li>მეგზურის მიერ ატვირთული ნახატებით გალერეის <i>გადავსების</i> თავიდან ასაცილებლად ამ ფუნქციის გამოყენება მხოლოდ <b>გალერეის ადმინსა</b> და <b>საკუთარი ალბომების მქონე მონაწილეებს</b> შეუძლიათ.</li>
-EOT;
-
-
-
-$lang_xp_publish_php = array(
-  'title' => 'გალერეა - XP ვებ გამოცემის მეგზური', //cpg1.4
-  'welcome' => 'მოგესალმებით <b>%s</b>,', //cpg1.4
-  'need_login' => 'ამ მეგზურის გამოსაყენებლად ჯერ გალერეაში უნდა შეხვიდეთ ვებ ბრაუზერის საშუალებით.<p/><p>შესვლისას არ დაგავიწყდეთ <b>დამიმახსოვრე</b> პარამეტრის ჩართვა (თუ არის).', //cpg1.4
-  'no_alb' => 'ვწუხვართ, მაგრამ ალბომი, რომელშიც ამ მეგზურით ფაილების ატვირთვა შეგიძლიათ არ არსებობს.', //cpg1.4
-  'upload' => 'ატვირთეთ თქვენი ფაილები არსებულ ალბომში', //cpg1.4
-  'create_new' => 'ახალი ალბომის შექმნა ფოტოებისთვის', //cpg1.4
-  'album' => 'ალბომი', //cpg1.4
-  'category' => 'კატეგორია', //cpg1.4
-  'new_alb_created' => 'თქვენი ახალი ალბომი &quot;<b>%s</b>&quot; შეიქმნა.', //cpg1.4
-  'continue' => 'დააჭირეთ ღილაკს &quot;შემდეგ&quot; თქვენი ფოტოების ატვირთვის დასაწყებად', //cpg1.4
-  'link' => 'ეს ბმა', //cpg1.4
-);
-}
+<?php
+/*************************
+  Coppermine Photo Gallery
+  ************************
+  Copyright (c) 2003-2009 Coppermine Dev Team
+  v1.1 originally written by Gregory DEMAR
+
+  This program is free software; you can redistribute it and/or modify
+  it under the terms of the GNU General Public License version 3
+  as published by the Free Software Foundation.
+  
+  ********************************************
+  Coppermine version: 1.4.25
+  $HeadURL: https://coppermine.svn.sourceforge.net/svnroot/coppermine/trunk/cpg1.4.x/lang/georgian.php $
+  $Revision: 5997 $
+  $Author: gaugau $
+  $Date: 2009-05-26 08:43:24 +0200 (Di, 26 Mai 2009) $
+**********************************************/
+
+if (!defined('IN_COPPERMINE')) { die('Not in Coppermine...');}
+
+// info about translators and translated language
+$lang_translation_info = array(
+  'lang_name_english' => 'Georgian', //cpg1.4
+  'lang_name_native' => 'ქართული', //cpg1.4
+  'lang_country_code' => 'ka', //cpg1.4
+  'trans_name'=> 'Giasher (Gia Shervashidze)',
+  'trans_email' => 'giasher at google mail',
+  'trans_website' => 'http://www.gia.ge/',
+  'trans_date' => '2009-05-05',
+);
+
+$lang_charset = 'utf-8';
+$lang_text_dir = 'ltr'; // ('ltr' for left to right, 'rtl' for right to left)
+
+// shortcuts for Byte, Kilo, Mega
+$lang_byte_units = array('ბაიტი', 'კბ', 'მბ');
+
+// Day of weeks and months
+$lang_day_of_week = array('კვი', 'ორშ', 'სამ', 'ოთხ', 'ხუთ', 'პარ', 'შაბ');
+$lang_month = array('იან', 'თებ', 'მარ', 'აპრ', 'მაი', 'ივნ', 'ივლ', 'აგვ', 'სექ', 'ოქტ', 'ნოე', 'დეკ');
+
+// Some common strings
+$lang_yes = 'დიახ';
+$lang_no  = 'არა';
+$lang_back = 'უკან';
+$lang_continue = 'გაგრძელება';
+$lang_info = 'ინფორმაცია';
+$lang_error = 'შეცდომა';
+$lang_check_uncheck_all = 'ყველას მონიშვნა/მონიშვნის მოხსნა'; //cpg1.4
+
+// The various date formats
+// See http://www.php.net/manual/en/function.strftime.php to define the variable below
+$album_date_fmt =    '%d %B, %Y';
+$lastcom_date_fmt =  '%d/%m/%y - %H:%M';
+$lastup_date_fmt = '%d %B, %Y';
+$register_date_fmt = '%d %B, %Y';
+$lasthit_date_fmt = '%d %B, %Y at %H:%M';
+$comment_date_fmt =  '%d %B, %Y - %H:%M';
+$log_date_fmt = '%d %B, %Y - %H:%M'; //cpg1.4
+
+// For the word censor
+$lang_bad_words = array('*fuck*', 'asshole', 'assramer', 'bitch*', 'c0ck', 'clits', 'Cock', 'cum', 'cunt*', 'dago', 'daygo', 'dego', 'dick*', 'dildo', 'fanculo', 'feces', 'foreskin', 'Fu\(*', 'fuk*', 'honkey', 'hore', 'injun', 'kike', 'lesbo', 'masturbat*', 'motherfucker', 'nazis', 'nigger*', 'nutsack', 'penis', 'phuck', 'poop', 'pussy', 'scrotum', 'shit', 'slut', 'titties', 'titty', 'twaty', 'wank*', 'whore', 'wop*');
+
+$lang_meta_album_names = array(
+  'random' => 'შემთხვევითი ფაილები',
+  'lastup' => 'ბოლო დამატებები',
+  'lastalb'=> 'ბოლო განახლებული ალბომები',
+  'lastcom' => 'ბოლო კომენტარები',
+  'topn' => 'ყველაზე პოპულარული',
+  'toprated' => 'ყველაზე რეიტინგული',
+  'lasthits' => 'ბოლო მონახულებული',
+  'search' => 'ძიების შედეგები',
+  'favpics'=> 'რჩეული ფაილები',  //cpg1.4
+);
+
+$lang_errors = array(
+  'access_denied' => 'თქვენ არ გაქვთ ამ გვერდის ნახვის უფლება.',
+  'perm_denied' => 'თქვენ არ გაქვთ ამ ოპერაციის შესრულების უფლება.',
+  'param_missing' => 'სკრიპტი მოთხოვნილი პარამეტრების გარეშეა გამოძახებული.',
+  'non_exist_ap' => 'მითითებული ალბომი/ფაილი არ არსებობს!',
+  'quota_exceeded' => 'დისკის ქვოტა გადავსებულია<br /><br />თქვენი ქოტაა [quota]К, თქვენ ფაილებს უკავიათ [space]К, ამ ფაილის დამატება ქვოტის გადავსებას გამოიწვევს.',
+  'gd_file_type_err' => 'როცა GD ბიბლიოთეკა გამოიყენება, დასაშვებია მხოლოდ JPEG და PNG ტიპის ფაილების გამოყენება.',
+  'invalid_image' => 'ნახატი რომელიც ჩამოტვირთეთ დაზიანებულია ან GD ბიბლიოთეკის მიერ ვერ დამუშავდება',
+  'resize_failed' => 'ვერ ვქმნი მინიატურას ან შემცირებული ზომის ნახატს.',
+  'no_img_to_display' => 'ფოტო არ არის',
+  'non_exist_cat' => 'მითითებული კატეგორია არ არსებობს',
+  'orphan_cat' => 'კატეგორიას ზედა დონის კატეგორია არ გააჩნია, პრობლემის გადასაწყვეტად გამოიყენეთ კატეგორიების მმართველი!',
+  'directory_ro' => 'დასტა \'%s\' ჩაწერადი არაა, ფაილები ვერ წაიშლება',
+  'non_exist_comment' => 'მითითებული კომენტარი არ არსებობს.',
+  'pic_in_invalid_album' => 'ფაილი არარსებულ ალბომშია (%s)!?',
+  'banned' => 'მოცემულ მომენტში საიტის გამოყენება გეკრძალებათ.',
+  'not_with_udb' => 'ეს ფუნქცია გამორთულია, რადგან ინტეგრირებულია ფორუმის პროგრამასთან. ის, რისი გაკეთებაც გსურთ ამ კონფიგურაციით შეუძლებელია ან ფუნქცია უნდა დამუშავდეს ფორუმის პროგრამის საშუალებით.',
+  'offline_title' => 'გამორთულია',
+  'offline_text' => 'გალერეა ამჯერად ამორთულია. დაუბრუნდით მოგვიანებით',
+  'ecards_empty' => 'ამჟამად ბარათების ჩანაწერები არ არსებობს. პროგრამის პარამეტრებში გადაამოწმეთ, ჩართულია თუ არა ბარათების ჟურნალი!',
+  'action_failed' => 'ქმედება ვერ განხორციელდა. პროგრამ თქვენს მოთხოვნას ვერ ამუშავებს.',
+  'no_zip' => 'არქივული ZIP ფაილების დამუშავების ბიბლიოთეკები მიუწვდომელია. გთხოვთ დაუკავშირდეთ პროგრამის საიტის ადმინისტრატორს.',
+  'zip_type' => 'თქვენ არ გაქვთ ZIP ფაილების ატვირთვის უფლება.',
+  'database_query' => 'შეცდომა მონაცემთა ბაზის მოთხოვნის დამუშავებისას', //cpg1.4
+  'register_globals_on' => 'PHP პარამეტრი register_globals თქვენს სერვერზე ჩართულია, რაც საკმაოდ სახიფათოა უსაფრთხოების მხრივ. მკაცრად რეკომენდებულია მისი ამორთვა. [<a href="http://forum.coppermine-gallery.net/index.php/topic,59569.0.html" rel="external" class="external">დაწვრილებით</a>]',
+);
+
+$lang_bbcode_help_title = 'bbcode - დახმარება'; //cpg1.4
+$lang_bbcode_help = 'bbcode ჭდეების საშუალებით ბმებისა და გაფორმების ელემენტების დამატება შეგიძლიათ: <li>[b]მუქი[/b] =&gt; <b>მუქი</b></li><li>[i]კურსივი[/i] =&gt; <i>კურსივი</i></li><li>[url=http://sangu.ge/]საიტის აღწერა[/url] =&gt; <a href="http://sangu.ge">საიტის აღწერა</a></li><li>[email]user@domain.ge[/email] =&gt; <a href="mailto:user@domain.ge">user@domain.ge</a></li><li>[color=red]წითელი ტექსტი[/color] =&gt; <span style="color:red">წითელი ტექსტი</span></li><li>[img]http://coppermine-gallery.net/demo/cpg14x/images/red.gif[/img] => <img src="../images/red.gif" border="0" alt="" /></li>'; //cpg1.4
+
+// ------------------------------------------------------------------------- //
+// File theme.php
+// ------------------------------------------------------------------------- //
+
+$lang_main_menu = array(
+  'home_title' => 'გადასვლა თავფურცელზე',
+  'home_lnk' => 'თავფურცელი',
+  'alb_list_title' => 'გადასვლა ალბომების სიაზე',
+  'alb_list_lnk' => 'ალბომების სია',
+  'my_gal_title' => 'გადასვლა პირად გალერეაზე',
+  'my_gal_lnk' => 'ჩემი გალერეა',
+  'my_prof_title' => 'გადასვლა პირად პროფილზე', //cpg1.4
+  'my_prof_lnk' => 'ჩემი პროფილი',
+  'adm_mode_title' => 'გადასვლა ადმინის რეჟიმში',
+  'adm_mode_lnk' => 'ადმინის რეჟიმი',
+  'usr_mode_title' => 'გადასვლა მონაწილის რეჟიმში',
+  'usr_mode_lnk' => 'მონაწილის რეჟიმი',
+  'upload_pic_title' => 'ფაილის ალბომში ატვირთვა',
+  'upload_pic_lnk' => 'ფაილის ატვირთვა',
+  'register_title' => 'ანგარიშის შექმნა',
+  'register_lnk' => 'რეგისტრაცია',
+  'login_title' => 'შესვლა', //cpg1.4
+  'login_lnk' => 'შესვლა',
+  'logout_title' => 'გამოსვლა', //cpg1.4
+  'logout_lnk' => 'გამოსვლა',
+  'lastup_title' => 'ბოლო ატვირთვების ჩვენება', //cpg1.4
+  'lastup_lnk' => 'ბოლო ატვირთვები',
+  'lastcom_title' => 'ბოლო კომენტარების ჩვენება', //cpg1.4
+  'lastcom_lnk' => 'ბოლო კომენტარები',
+  'topn_title' => 'ყველაზე პოპულარულების ჩვენება', //cpg1.4
+  'topn_lnk' => 'ყველაზე პოპულარულები',
+  'toprated_title' => 'ყველაზე რეიტინგულების ჩვენება', //cpg1.4
+  'toprated_lnk' => 'ყველაზე რეიტინგულები',
+  'search_title' => 'ძიება გალერეაში', //cpg1.4
+  'search_lnk' => 'ძიება',
+  'fav_title' => 'გადასვლა ჩემს რჩეულებზე', //cpg1.4
+  'fav_lnk' => 'ჩემი რჩეულები',
+  'memberlist_title' => 'წევრთა სიის ჩვენება',
+  'memberlist_lnk' => 'წევრთა სია',
+  'faq_title' => 'ძირითადი კითხვები &quot;Coppermine&quot; გალერეის შესახებ',
+  'faq_lnk' => 'ძირითადი კითხვები',
+);
+
+$lang_gallery_admin_menu = array(
+  'upl_app_title' => 'ახალი ატვირთვების უფლება', //cpg1.4
+  'upl_app_lnk' => 'ატვირთვის დასტური',
+  'admin_title' => 'გადასვლა გამართვაზე', //cpg1.4
+  'admin_lnk' => 'გამართვა', //cpg1.4
+  'albums_title' => 'გადასვლა ალბომების კონფიგურაციაზე', //cpg1.4
+  'albums_lnk' => 'ალბომები',
+  'categories_title' => 'გადასვლა კატეგორიების კონფიგურაციაზე', //cpg1.4
+  'categories_lnk' => 'კატეგორიები',
+  'users_title' => 'გადასვლა მონაწილის კონფიგურაციაზე', //cpg1.4
+  'users_lnk' => 'მონაწილეები',
+  'groups_title' => 'გადასვლა ჯგუფის კონფიგურაციაზე', //cpg1.4
+  'groups_lnk' => 'ჯგუფები',
+  'comments_title' => 'ყველა კომენტარის დათვალიერება', //cpg1.4
+  'comments_lnk' => 'კომენტარების დათვალიერება',
+  'searchnew_title' => 'გადასვლა ჯგუფურ დამატებაზე', //cpg1.4
+  'searchnew_lnk' => 'ფაილების ჯგუფური დამატება',
+  'util_title' => 'გადასვლა ადმინის სამარჯვებზე', //cpg1.4
+  'util_lnk' => 'ადმინის სამარჯვები',
+  'key_title' => 'გადასვლა საკვანძო სიტყვების ლექსიკონზე', //cpg1.4
+  'key_lnk' => 'საკვანძო სიტყვების ლექსიკონი', //cpg1.4
+  'ban_title' => 'გადასვლა აკრძალულ მონაწილეებზე', //cpg1.4
+  'ban_lnk' => 'მონაწილეთა აკრძალვა',
+  'db_ecard_title' => 'ბარათების დათვალიერება', //cpg1.4
+  'db_ecard_lnk' => 'ბარათების ჩვენება',
+  'pictures_title' => 'ჩემი ნახატების დალაგება', //cpg1.4
+  'pictures_lnk' => 'ჩემი ნახატების დალაგება', //cpg1.4
+  'documentation_lnk' => 'დოკუმენტაცია', //cpg1.4
+  'documentation_title' => 'გალერეის დოკუმენტაცია', //cpg1.4
+);
+
+$lang_user_admin_menu = array(
+  'albmgr_title' => 'გადასვლა ალბომების შექმნასა და მოწესრიგებაზე', //cpg1.4
+  'albmgr_lnk' => 'ჩემი ალბომების შექმნა / მოწესრიგება',
+  'modifyalb_title' => 'გადასვლა ალბომების შეცვლაზე',  //cpg1.4
+  'modifyalb_lnk' => 'ჩემი ალბომების შეცვლა',
+  'my_prof_title' => 'გადასვლა პირად პროფილზე', //cpg1.4
+  'my_prof_lnk' => 'ჩემი პროფილი',
+);
+
+$lang_cat_list = array(
+  'category' => 'კატეგორიები',
+  'albums' => 'ალბომები',
+  'pictures' => 'ფაილები',
+);
+
+$lang_album_list = array(
+  'album_on_page' => '%d ალბომი %d გვერდზე',
+);
+
+$lang_thumb_view = array(
+  'date' => 'თარიღი',
+  //Sort by filename and title
+  'name' => 'ფაილის სახელი',
+  'title' => 'სათაური',
+  'sort_da' => 'სორტირება თარიღით [აღმავალი]',
+  'sort_dd' => 'სორტირება თარიღით [დაღმავალი]',
+  'sort_na' => 'სორტირება სახელით [აღმავალი]',
+  'sort_nd' => 'სორტირება სახელით [დაღმავალი]',
+  'sort_ta' => 'სორტირება სათაურით [აღმავალი]',
+  'sort_td' => 'სორტირება სათაურით [დაღმავალი]',
+  'position' => 'პოზიცია', //cpg1.4
+  'sort_pa' => 'აღმავალი სორტირება პოზიციით', //cpg1.4
+  'sort_pd' => 'დაღმავალი სორტირება პოზიციით', //cpg1.4
+  'download_zip' => 'გადმოწერა Zip ფაილად',
+  'pic_on_page' => '%d ფაილი %d გვერდზე',
+  'user_on_page' => '%d მონაწილე %d გვერდზე',
+  'enter_alb_pass' => 'მიუთითეთ ალბომის პაროლი', //cpg1.4
+  'invalid_pass' => 'მცდარი პაროლი', //cpg1.4
+  'pass' => 'პაროლი', //cpg1.4
+  'submit' => 'გაგზავნა', //cpg1.4
+);
+
+$lang_img_nav_bar = array(
+  'thumb_title' => 'დაბრუნება მინიატურების გვერდზე',
+  'pic_info_title' => 'ფაილის მონაცემების ჩვენება/დამალვა',
+  'slideshow_title' => 'სლაიდების ჩვენება',
+  'ecard_title' => 'ფაილის ბარათის სახით გაგზავნა',
+  'ecard_disabled' => 'ბარათები ამორთულია',
+  'ecard_disabled_msg' => 'თქვენ არ გაქვთ ბარათების გაგზავნის უფლება', //js-alert
+  'prev_title' => 'წინა ფაილის ნახვა',
+  'next_title' => 'შემდეგი ფაილის ნახვა',
+  'pic_pos' => 'ფაილ(ებ)ი %s/%s',
+  'report_title' => 'ამ ფაილის ადმინისთვის პატაკი', //cpg1.4
+  'go_album_end' => 'გადასვლა ბოლოში', //cpg1.4
+  'go_album_start' => 'დაბრუნება თავში', //cpg1.4
+  'go_back_x_items' => 'უკან %s ელემენტით', //cpg1.4
+  'go_forward_x_items' => 'წინ %s ელემენტით', //cpg1.4
+);
+
+$lang_rate_pic = array(
+  'rate_this_pic' => 'ფაილის შეფასება ',
+  'no_votes' => '(ხმები ჯერ არ მიცემულა)',
+  'rating' => '(მიმდინარე რეიტინგი: %s / 5 - ხმა: %s)',
+  'rubbish' => 'უვარგისი',
+  'poor' => 'ცუდი',
+  'fair' => 'საშუალო',
+  'good' => 'კარგი',
+  'excellent' => 'საუცხოო',
+  'great' => 'საუკეთესო',
+);
+
+// ------------------------------------------------------------------------- //
+// File include/exif.inc.php
+// ------------------------------------------------------------------------- //
+
+// void
+
+// ------------------------------------------------------------------------- //
+// File include/functions.inc.php
+// ------------------------------------------------------------------------- //
+
+$lang_cpg_die = array(
+  INFORMATION => $lang_info,
+  ERROR => $lang_error,
+  CRITICAL_ERROR => 'კრიტიკული შეცდომა',
+  'file' => 'ფაილი: ',
+  'line' => 'სტრიქონი: ',
+);
+
+$lang_display_thumbnails = array(
+  'filename' => 'ფაილი: ', //cpg1.4
+  'filesize' => 'ფაილის ზომა: ', //cpg1.4
+  'dimensions' => 'ზომები: ', //cpg1.4
+  'date_added' => 'თარიღი:', //cpg1.4
+);
+
+$lang_get_pic_data = array(
+  'n_comments' => 'კომენტარი: %s ',
+  'n_views' => 'ნახვა: %s',
+  'n_votes' => '(%s ხმა)',
+);
+
+$lang_cpg_debug_output = array(
+  'debug_info' => 'გამართვის მონაცემები',
+  'select_all' => 'ყველას არჩევა',
+  'copy_and_paste_instructions' => 'თუ პროგრამის ფორუმზე დახმარების მოთხოვნას აპირებთ, გამართვის მონაცემები დააკოპირეთ და მოთხოვნისას თქვენს შეტყობინებაში თქვენს მიერ მიღებული (თუ იქნა) შეცდომის შეტყობინების მითითებით ჩასვით. გაგზავნამდე არ დაგავიწყდეთ პაროლის *** სიმბოლოებით შეცვლა. <br />შენიშვნა: ეს მხოლოდ საინფორმაციო დატვირთვას ატარებს და არ ნიშნავს რომ თქვენს გალერეაში შეცდომაა.',
+  'phpinfo' => 'phpinfo–ს ჩვენება',
+  'notices' => 'შენიშვნები', //cpg1.4
+);
+
+$lang_language_selection = array(
+  'reset_language' => 'ნაგულისხმები ენა',
+  'choose_language' => 'ენის არჩევა',
+);
+
+$lang_theme_selection = array(
+  'reset_theme' => 'ნაგულისხმები თემა',
+  'choose_theme' => 'თემის არჩევა',
+);
+
+$lang_version_alert = array(
+  'version_alert' => 'მიუღებელი ვერსია!', //cpg1.4
+  'security_alert' => 'უსაფრთხოების გაფრთხილება!', //cpg1.4.3
+  'relocate_exists' => 'ამოშალეთ <a href="http://coppermine-gallery.net/forum/index.php?topic=24217.0">relocate_server.php</a> ფაილი თქვენი საიტიდან!',
+  'no_stable_version' => 'თქვენ იყენებთ გალერეას %s (%s) ვერსიით, რომელიც მხოლოდ გამოცდილი მომხმარებლებისთვისაა გათვალისწინებული - ამ ვერსიის მხარდაჭერა შეჩერებულია. გამოიყენეთ საკუთარი რისკით ან, თუ მხარდაჭერა გსურთ, ჩამოაძველვერსიეთ!', //cpg1.4
+  'gallery_offline' => 'გალერეა ავტონომიურ რეჟიმშია და მხოლოდ ადმინისთვისაა მისაწვდომი. ტექმომსახურების დასრულების შემდეგ არ დაგავიწყდეთ კავშირის რეჟიმში დაბრუნება.', //cpg1.4
+);
+
+$lang_create_tabs = array(
+  'previous' => 'წინა', //cpg1.4
+  'next' => 'შემდეგი', //cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File include/init.inc.php
+// ------------------------------------------------------------------------- //
+
+// void
+
+// ------------------------------------------------------------------------- //
+// File keyword.inc.php                                                      //
+// ------------------------------------------------------------------------- //
+
+// void
+
+// ------------------------------------------------------------------------- //
+// File include/picmgmt.inc.php
+// ------------------------------------------------------------------------- //
+
+// void
+
+// ------------------------------------------------------------------------- //
+// File include/plugin_api.inc.php
+// ------------------------------------------------------------------------- //
+$lang_plugin_api = array(
+  'error_wakeup' => "ვერ ვააქტივებ მოდულს '%s'", //cpg1.4
+  'error_install' => "ვერ ვდგამ მოდულს '%s'", //cpg1.4
+  'error_uninstall' => "ვერ ვიღებ მოდულს '%s'", //cpg1.4
+  'error_sleep' => "ვერ ვიღებ მოდულს '%s'<br />", //cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File include/smilies.inc.php
+// ------------------------------------------------------------------------- //
+
+if (defined('SMILIES_PHP')) $lang_smilies_inc_php = array(
+  'Exclamation' => 'წამოძახილი',
+  'Question' => 'შეკითხვა',
+  'Very Happy' => 'ბედნიერება',
+  'Smile' => 'ღიმილი',
+  'Sad' => 'დაღვრემა',
+  'Surprised' => 'გაკვირვება',
+  'Shocked' => 'შეძრწუნება',
+  'Confused' => 'შეცბუნება',
+  'Cool' => 'მაგარია!',
+  'Laughing' => 'სიცილი',
+  'Mad' => 'გიჟი',
+  'Razz' => 'ფაციფუცი',
+  'Embarassed' => 'დარცხვენა',
+  'Crying or Very sad' => 'დამწუხრება',
+  'Evil or Very Mad' => 'გაბოროტება',
+  'Twisted Evil' => 'განრისხება',
+  'Rolling Eyes' => 'გადმოკარკვლა',
+  'Wink' => 'თვალის ჩაკვრა',
+  'Idea' => 'ევრიკა!',
+  'Arrow' => 'ისარი',
+  'Neutral' => 'ნეიტრალური',
+  'Mr. Green' => 'მისტერ გრინი',
+);
+
+// ------------------------------------------------------------------------- //
+// File addpic.php
+// ------------------------------------------------------------------------- //
+
+// void
+
+// ------------------------------------------------------------------------- //
+// File mode.php //cpg1.4
+// ------------------------------------------------------------------------- //
+
+if (defined('MODE_PHP')) $lang_mode_php = array(
+  0 => 'ადმინის რეჟიმიდან გამოსვლა...',
+  1 => 'ადმინის რეჟიმში შესვლა...',
+);
+
+// ------------------------------------------------------------------------- //
+// File albmgr.php
+// ------------------------------------------------------------------------- //
+
+if (defined('ALBMGR_PHP')) $lang_albmgr_php = array(
+  'alb_need_name' => 'ალბომებს სახელი უნდა ერქვათ!', //js-alert
+  'confirm_modifs' => 'ნამდვილად გსურთ ეს ცვლილებები?', //js-alert
+  'no_change' => 'ცვლილებები არ გაგიკეთებიათ!', //js-alert
+  'new_album' => 'ახალი ალბომი',
+  'confirm_delete1' => 'ნამდვილად გსურთ ამ ალბომის წაშლა?', //js-alert
+  'confirm_delete2' => '\nყველა ფაილი და კომენტარი დაიკარგება!', //js-alert
+  'select_first' => 'ჯერ ალბომი აირჩიეთ', //js-alert
+  'alb_mrg' => 'ალბომების მმართველი',
+  'my_gallery' => '* ჩემი გალერეა *',
+  'no_category' => '* უკატეგორიო *',
+  'delete' => 'წაშლა',
+  'new' => 'ახალი',
+  'apply_modifs' => 'ცვლილებების ფიქსაცია',
+  'select_category' => 'კატეგორიის არჩევა',
+);
+
+// ------------------------------------------------------------------------- //
+// File banning.php
+// ------------------------------------------------------------------------- //
+
+if (defined('BANNING_PHP')) $lang_banning_php = array(
+  'title' => 'მონაწილეთა აკრძალვა', //cpg1.4
+  'user_name' => 'მონაწილის სახელი', //cpg1.4
+  'ip_address' => 'IP მისამართი', //cpg1.4
+  'expiry' => 'ვადა (ცარიელი თუ მუდმივია)', //cpg1.4
+  'edit_ban' => 'ცვლილებების შენახვა', //cpg1.4
+  'delete_ban' => 'წაშლა', //cpg1.4
+  'add_new' => 'ახალი აკრძალვის დამატება', //cpg1.4
+  'add_ban' => 'დამატება', //cpg1.4
+  'error_user' => 'მონაწილე ვერ მოიძებნა', //cpg1.4
+  'error_specify' => 'უნდა მიუთითოთ მონაწილის სახელი ან IP მისამართი', //cpg1.4
+  'error_ban_id' => 'აკრძალვის მცდარი კოდი!', //cpg1.4
+  'error_admin_ban' => 'საკუთარ თავს ვერ აკრძალავთ!', //cpg1.4
+  'error_server_ban' => 'საკუთარი სერვერის აკრძალვა გსურთ? ნწუუ, ასეთი რამ შეუძლებელია...', //cpg1.4
+  'error_ip_forbidden' => 'ამ IP-ის ვერ აკრძალავთ - იგი კერძოა, და მაინც!<br />თუ კერძო IP-ბის აკრძლვა გსურთ, შეცვალეთs, შეცვალეთ პარამეტრი <a href="admin.php">კონფიგურაციაში</a> (აზრი აქვს მხოლოდ ლოკალურ ქსელში გალერეის გამოყენებისას).', //cpg1.4
+  'lookup_ip' => 'IP მისამართის ძებნა', //cpg1.4
+  'submit' => 'გასწი!', //cpg1.4
+  'select_date' => 'თარიღის შერჩევა', //cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File bridgemgr.php //cpg1.4
+// ------------------------------------------------------------------------- //
+
+if (defined('BRIDGEMGR_PHP')) $lang_bridgemgr_php = array(
+  'title' => 'დაკავშირების მეგზური',
+  'warning' => 'გაფრთხილება: ამ მეგზურის გამოყენებისას უნდა გაითვალისწინოთ, რომ მნიშვნელოვანი მონაცემები html ფორმით გაიგზავნება. გამოიყენეთ მხოლოდ საკუთარ კომპიუტერზე (და არა საზოგადო კომპიუტერზე ან ინტერნეტ კაფეში) და დასრულების შემდეგ გადაამოწმეთ, რომ ბუფერი გასუფთავებულია და დროებითი ფაილები წაშლილი, რათა სხვებმა თქვენი მონაცემების წაკითხვა ვერ შეძლონ!',
+  'back' => 'უკან',
+  'next' => 'შემდეგ',
+  'start_wizard' => 'დაკავშირების მეგზურის დაწყება',
+  'finish' => 'დასრულება',
+  'hide_unused_fields' => 'ფორმის გამოუყენებელი ველების დამალვა (რეკომენდებულია)',
+  'clear_unused_db_fields' => 'მონაცემთა ბაზის მცდარი ჩანაწერების წაშლა (რეკომენდებულია)',
+  'custom_bridge_file' => 'თქვენი საკუთარი შეხიდების ფაილის სახელი (თუ შეხიდების ფაილია <i>myfile.inc.php</i>, ამ ველში <i>myfile</i> მიუთითეთ)',
+  'no_action_needed' => 'ამ ჯერზე ქმედება საჭირო არაა. დაწკაპეთ \'შემდეგ\' გასაგრძელებლად.',
+  'reset_to_default' => 'მიმდინარე მნიშვნელობის აღდგენა',
+  'choose_bbs_app' => 'გალერეასთან დასაკავშირებელი ფორუმის არჩევა',
+  'support_url' => 'დახმარების მისაღებად აქ გადადით',
+  'settings_path' => 'გეზ(ებ)ი თქვენი ფორუმის პროგრამისთვის',
+  'database_connection' => 'კავშირი მონაცემთა ბაზასთან',
+  'database_tables' => 'მონაცემთა ბაზის ცხრილები',
+  'bbs_groups' => 'ფორუმის ჯგუფები',
+  'license_number' => 'ლიცენზიის ნომერი',
+  'license_number_explanation' => 'მიუთითეთ თქვენი ლიცენზიის ნომერი (თუ შესაძლებელია)',
+  'db_database_name' => 'მონაცემთა ბაზის სახელი',
+  'db_database_name_explanation' => 'მიუთითეთ მონაცემთა ბაზის სახელი თქვენი ფორუმისთვის',
+  'db_hostname' => 'მონაცემთა ბაზის ჰოსტი',
+  'db_hostname_explanation' => 'ჩვეულებრივ, თქვენი mySQL მონაცემთა ბაზის ჰოსტის სახელია &quot;localhost&quot;',
+  'db_username' => 'მონაცემთა ბაზის ანგარიში',
+  'db_username_explanation' => 'mySQL ანგარიში ფორუმთან დასაკავშირებლად',
+  'db_password' => 'მონაცემთა ბაზის პაროლი',
+  'db_password_explanation' => 'პაროლი ამ mySQL ანგარიშისთვის',
+  'full_forum_url' => 'ფორუმის მისამართი',
+  'full_forum_url_explanation' => 'თქვენი ფორუმის სრული მისამართი (წინმსწრები http://-ს ჩათვლით, მაგ., http://www.yourdomain.tld/forum)',
+  'relative_path_of_forum_from_webroot' => 'ფორუმის ფარდობითი გეზი',
+  'relative_path_of_forum_from_webroot_explanation' => 'თქვენი ფორუმის ფარდობითი გეზი (მაგალითი: თუ თქვენი ფორუმის პროგრამაა http://www.yourdomain.tld/forum/, ამ ველში &quot;/forum/&quot; მიუთითეთ)',
+  'relative_path_to_config_file' => 'თქვენი ფორუმის პროგრამის კონფიგურაციის ფაილის ფარდობითი გეზი',
+  'relative_path_to_config_file_explanation' => 'თქვენი ფორუმის პროგრამის ფარდობითი გეზი, თქვენი გალერეის დასტიდან (მაგ., &quot;../forum/&quot; თუ თქვენი ფორუმის პროგრამის გეზია http://www.yourdomain.tld/forum/, ხოლო გალერეის გეზი - http://www.yourdomain.tld/gallery/)',
+  'cookie_prefix' => 'ნაჭდევის პრეფიქსი',
+  'cookie_prefix_explanation' => 'ეს თქვენი ფორუმის ნაჭდევის პრეფიქსი იქნება',
+  'table_prefix' => 'ცხრილის პრეფიქსი',
+  'table_prefix_explanation' => 'უნდა ემთხვეოდეს ფორუმის ჩადგმისას მითითებულ პრეფიქსს.',
+  'user_table' => 'საკუთარი ცხრილი',
+  'user_table_explanation' => '(ჩვეულებრივ, ნაგულისხმებია "დიახ", თუ ფორუმი სტანდარტულადაა ჩადგმული',
+  'session_table' => 'სეანსის ცხრილი',
+  'session_table_explanation' => '(ჩვეულებრივ, ნაგულისხმებია "დიახ", თუ ფორუმი სტანდარტულადაა ჩადგმული)',
+  'group_table' => 'ჯგუფის ცხრილი',
+  'group_table_explanation' => '(ჩვეულებრივ, ნაგულისხმებია "დიახ", თუ ფორუმი სტანდარტულადაა ჩადგმული)',
+  'group_relation_table' => 'ჯგუფთან დაკავშირებული ცხრილი',
+  'group_relation_table_explanation' => '(ჩვეულებრივ, ნაგულისხმებია "დიახ", თუ ფორუმი სტანდარტულადაა ჩადგმული)',
+  'group_mapping_table' => 'ჯგუფის სქემის ცხრილი',
+  'group_mapping_table_explanation' => '(ჩვეულებრივ, ნაგულისხმებია "დიახ", თუ ფორუმი სტანდარტულადაა ჩადგმული)',
+  'use_standard_groups' => 'ფორუმის მონაწილეთა სტანდარტული ჯგუფების გამოყენება',
+  'use_standard_groups_explanation' => 'იყენებს მონაწილეთა სტანდარტულ (ჩადგმულ) ჯგუფებს (რეკომენდებულია). ამ შემთხვევაში ამ გვერდზე მითითებული მონაწილეთა საკუთარი ჯგუფების პარამეტრები დეაქტივირდება. გამორთეთ ეს პარამეტრი თუ ნამდვილად იცით რისი გაკეთება გსურთ!',
+  'validating_group' => 'ჯგუფების უფლებამოსილება',
+  'validating_group_explanation' => 'თქვენი ფორუმის ჯგუფების კოდი სადაც ჯგუფები უფლებამოსილებაა მითითებული (ჩვეულებრივ ნაგულისხმები მნიშვნელობაა &quot;დიახ&quot;, თუ ფორუმი სტანდარტულადაა ჩადგმული)',
+  'guest_group' => 'სტუმართა ჯგუფი',
+  'guest_group_explanation' => 'თქვენი ფორუმის &quot;სტუმართა&quot; (ანონიმურ მონაწილეთა) ჯგუფის კოდი (ნაგულისხმები მნიშვნელობა &quot;დიახ&quot;&quot;. შეცვალეთ ეს პარამეტრი თუ ნამდვილად იცით რისი გაკეთება გსურთ)',
+  'member_group' => 'წევრთა ჯგუფი',
+  'member_group_explanation' => 'თქვენი ფორუმის &quot;წევრთა&quot; (რეგისტრირებულ მონაწილეთა) ჯგუფის კოდი (ნაგულისხმები მნიშვნელობა &quot;დიახ&quot;&quot;. შეცვალეთ ეს პარამეტრი თუ ნამდვილად იცით რისი გაკეთება გსურთ)',
+  'admin_group' => 'ადმინთა ჯგუფი',
+  'admin_group_explanation' => 'თქვენი ფორუმის &quot;ადმინთა&quot; ჯგუფის კოდი (ნაგულისხმები მნიშვნელობა &quot;დიახ&quot;&quot;. შეცვალეთ ეს პარამეტრი თუ ნამდვილად იცით რისი გაკეთება გსურთ)',
+  'banned_group' => 'აკრძალულთა ჯგუფი',
+  'banned_group_explanation' => 'თქვენი ფორუმის &quot;აკრძალულ წევრთა&quot; ჯგუფის კოდი (ნაგულისხმები მნიშვნელობა &quot;დიახ&quot;&quot;. შეცვალეთ ეს პარამეტრი თუ ნამდვილად იცით რისი გაკეთება გსურთ)',
+  'global_moderators_group' => 'გლობალურ მოდერატორთა ჯგუფი',
+  'global_moderators_group_explanation' => 'თქვენი ფორუმის &quot;გლობალურ მოდერატორთა&quot; ჯგუფის კოდი (ნაგულისხმები მნიშვნელობა &quot;დიახ&quot;&quot;. შეცვალეთ ეს პარამეტრი თუ ნამდვილად იცით რისი გაკეთება გსურთ)',
+  'special_settings' => 'ფორუმის სპეციფიური პარამეტრები',
+  'logout_flag' => 'phpBB ვერსია (გასვლის ალამი)',
+  'logout_flag_explanation' => 'თქვენი ფორუმის ვერსია (ეს პარამეტრი მიუთითებს გასვლის ქმედების დამუშავების წესს)',
+  'use_post_based_groups' => 'გამოვიყენო გამოხმაურებათა რაოდენობაზე დამყარებული ჯგუფები?',
+  'logout_flag_yes' => '2.0.5 ან მაღალი',
+  'logout_flag_no' => '2.0.4 ან დაბალი',
+  'use_post_based_groups_explanation' => 'დანაწილდეს თუ არა ჯგუფები ფორუმის გამოხმაურებათა რაოდენობის მიხედვით (იძლევა უფლებების ბიჯობრივი მართვის საშუალებას) თუ გათვალისწინდეს ნაგულისხმები ჯგუფები (რეკომენდებულია). ამ პარამეტრის შეცვლა მოგვიანებითაც შეიძლება.',
+  'use_post_based_groups_yes' => 'დიახ',
+  'use_post_based_groups_no' => 'არა',
+  'error_title' => 'გაგრძელებამდე ეს შეცდომა უნდა გამოსწორდეს. დაუბრუნდით წინა ეკრანს.',
+  'error_specify_bbs' => 'უნდა მიუთითოთ პროგრამა, რომლის შეხიდებაც გსურთ გალერეის ჩადგმულ ვერსიასთან.',
+  'error_no_blank_name' => 'საკუთარი შეხიდების ფაილის ველს ცარიელს ვერ დატოვებთ.',
+  'error_no_special_chars' => 'შეხიდების ფაილის სახელი არ შეიძლება შეიცავდეს სპეციალურ სიმბოლოებს გარდა ხაზგასმისა (_) და დეფისის (-)!',
+  'error_bridge_file_not_exist' => 'შეხიდების ფაილი %s სერვერზე არ არსებობს. გადაამოწმეთ, ატვირთულია თუ არა იგი.',
+  'finalize' => 'ფორუმის ინტეგრაციის ჩართვა/ამორთვა',
+  'finalize_explanation' => 'აქამდე, თქვენს მიერ მითითებული პარამეტრები მონაცემთა ბაზაში იწერებოდა, მაგრამ ფორუმის ინტეგრაცია ჩართული არ იყო. ინტეგრაციის ჩართვა/ამორთვა მოგვიანებით ნებისმიერ დროს შეიძლება. არ შეიძლება გალერეის ადმინის საწყისი სახელისა და პაროლის დავიწყება, რადგან შეიძლება მოგვიანებით დაგჭირდეთ. თუ რაიმე მცდარად წარიმართა დაბრუნდით აქ %s და ამორთეთ ფორუმის ინტეგრაცია, გალერეის ცალკე მდგომი (შეუხიდავი) ვერსიის ანგარიშის საშუალებით (ჩვეულებრივ, რაც მიუთითეთ გალერეის ჩადგმისას).',
+  'your_bridge_settings' => 'თქვენი შეხიდების პარამეტრები',
+  'title_enable' => '%s პროგრამასთან ინტერაციის/ხიდის გააქტივება',
+  'bridge_enable_yes' => 'ჩართვა',
+  'bridge_enable_no' => 'ამორთვა',
+  'error_must_not_be_empty' => 'ცარიელი არ უნდა იყოს',
+  'error_either_be' => 'უნდა იყოს %s ან %s',
+  'error_folder_not_exist' => '%s არ არსებობს. შეასწორეთ მითითებული მნიშვნელობა %s პარამეტრისთვის',
+  'error_cookie_not_readible' => 'გალერეა ვერ კითხულობს ნაჭდევს სახელით %s. შეასწორეთ მითითებული მნიშვნელობა %s პარამეტრისთვის, ან გადადით ფორუმის ადმინის პანელში და გადაამოწმეთ ნაჭდევის გეზის მისაწვდომობა გალერეისთვის.',
+  'error_mandatory_field_empty' => '%s ველს ცარიელს ვერ დატოვებთ - მიუთითეთ მართებული მნიშვნელობა.',
+  'error_no_trailing_slash' => '%s ველში თანმდევი დახრილი ხაზი არ უნდა იყოს.',
+  'error_trailing_slash' => '%s ველში თანმდევი დახრილი ხაზი უნდა იყოს.',
+  'error_db_connect' => 'თქვენი მონაცემებით mySQL მონაცემთა ბაზას ვერ ვუკავშირდები. აი mySQL შეტყობინება:',
+  'error_db_name' => 'თუმცა გალერეამ კავშირი დაამყარა, მაგრამ %s მონაცემთა ბაზას ვერ პოულობს. გადაამოწმეთ, რომ მითითებული %s მართებულია. აი mySQL შეტყობინება:',
+  'error_prefix_and_table' => '%s და ',
+  'error_db_table' => 'ცხრილი %s ვერ მოიძებნა. გადაამოწმეთ, რომ მითითებული %s მართებულია.',
+  'recovery_title' => 'შეხიდების მმართველი: გაუთვალისწინებელი აღდგენა',
+  'recovery_explanation' => 'თუ ფორუმის თქვენს გალერეასთან ინტეგრაციას აპირებთ უნდა შემოხვიდეთ როგორც ადმინი. თუ ადმინის სტატუსით შემოსვლას შეხიდების მცდარი ფუნქციონირების გამო ვერ ახერხებთ, ფორუმის ინტეგრაცია ამ გვერდიდან შეგიძლიათ ამორთოთ. სახელისა და პაროლის მითითება სისტემაში არ შეგიშვებთ - იგი მხოლოდ ფორუმის ინტეგრაციას გააუქმებს. დეტალებისთვის გადახედეთ დოკუმენტაციას.',
+  'username' => 'სახელი',
+  'password' => 'პაროლი',
+  'disable_submit' => 'გაგზავნა',
+  'recovery_success_title' => 'ავტორიზება შედგა',
+  'recovery_success_content' => 'თქვენ წარმატებით ამორთეთ ფორუმის შეხიდება. თქვენი გალერეა ამჟამად დამოუკიდებლად მუშაობს.',
+  'recovery_success_advice_login' => 'შეხიდების პარამეტრების შესაცვლელად შედით როგორც ადმინი და/ან კვლავ ჩართეთ ფორუმის ინტეგრაციის რეჟიმი.',
+  'goto_login' => 'გადასვლა შესვლის გვერდზე',
+  'goto_bridgemgr' => 'გადასვლა შეხიდების მმართველზე',
+  'recovery_failure_title' => 'ავტორიზება არ შედგა',
+  'recovery_failure_content' => 'თქვენ არასაკმარისი უფლებამოსილება გაგაჩნიათ. უნდა გაგაჩნდეთ ადმინის ანგარიში გალერეის ცალკეული ვერსიისთვის (ჩვეულებრივ, ანგარიში პროგრამის ჩადგმისას).',
+  'try_again' => 'კვლავ სცადეთ',
+  'recovery_wait_title' => 'დაცდის ვადა არ გასულა',
+  'recovery_wait_content' => 'უსაფრთხოების მიზნით ეს სკრიპტი კრძალავს უშედეგო მცდელობებს მოკლე დროის განმავლობაში. ამგვარად შესვლის შემდეგ მცდელობამდე გარკვეული ხნით დაცდა მოგიწევთ.',
+  'wait' => 'დაცდა',
+  'create_redir_file' => 'გადამისამართების ფაილის შექმნა (რეკომენდებულია)',
+  'create_redir_file_explanation' => 'ფორუმში შესვლის შემდეგ მონაწილის გალერეაში გადამისამართებლად აუცილებელია თქვენი ფორუმის დასტაში შექმნილი გადამისამართების ფაილი. როცა ეს პარამეტრი ჩართულია, შეხიდების მმართველი შეეცდება ამ ფაილის შექმნას ან მოგაწვდით გამზადებულ დასაკოპირებელ და ჩასასმელ კოდს ფაილის ხელით შესაქმნელად.',
+  'browse' => 'ნუსხა',
+);
+
+// ------------------------------------------------------------------------- //
+// File calendar.php //cpg1.4
+// ------------------------------------------------------------------------- //
+
+if (defined('CALENDAR_PHP')) $lang_calendar_php = array(
+  'title' => 'კალენდარი', //cpg1.4
+  'close' => 'დახურვა', //cpg1.4
+  'clear_date' => 'თარიღის წაშლა', //cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File catmgr.php
+// ------------------------------------------------------------------------- //
+
+if (defined('CATMGR_PHP')) $lang_catmgr_php = array(
+  'miss_param' => 'პარამეტრები \'%s\' ოპერაციის შესასრულებლად არ მითითებულა!',
+  'unknown_cat' => 'შერჩეული კატეგორიები ბაზაში არ არსებობენ',
+  'usergal_cat_ro' => 'მონაწილეთა გალერეების კატეგორია ვერ წაიშლება!',
+  'manage_cat' => 'კატეგორიების მართვა',
+  'confirm_delete' => 'ნამდვილად გსურთ ამ კატეგორიის წაშლა?', //js-alert
+  'category' => 'კატეგორია',
+  'operations' => 'ოპერაციები',
+  'move_into' => 'გადატანა',
+  'update_create' => 'კატეგორიის განახლება/შექმნა',
+  'parent_cat' => 'ზედა დონის კატეგორია',
+  'cat_title' => 'კატეგორიის სათაური',
+  'cat_thumb' => 'კატეგორიის მინიატურა',
+  'cat_desc' => 'კატეგორიის აღწერა',
+  'categories_alpha_sort' => 'კატეგორიების ანბანური დალაგება (დალაგების საკუთარი რიგის ნაცვლად)', //cpg1.4
+  'save_cfg' => 'კონფიგურაციის შენახვა', //cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File admin.php //cpg1.4
+// ------------------------------------------------------------------------- //
+
+if (defined('ADMIN_PHP')) $lang_admin_php = array(
+  'title' => 'გალერეის კონფიგურაცია', //cpg1.4
+  'manage_exif' => 'exif ჩვენების მართვა', //cpg1.4
+  'manage_plugins' => 'მოდულების მართვა', //cpg1.4
+  'manage_keyword' => 'საკვანძო სიტყვების მართვა', //cpg1.4
+  'restore_cfg' => 'საწყისი პარამეტრების აღდგენა',
+  'save_cfg' => 'ახალი კონფიგურაციის შენახვა',
+  'notes' => 'შენიშვნები',
+  'info' => 'ინფორმაცია',
+  'upd_success' => 'გალერეის კონფიგურაცია განახლდა',
+  'restore_success' => 'გალერეის საწყისი კონფიგურაცია აღდგა',
+  'name_a' => 'სახელი [აღმავალი]',
+  'name_d' => 'სახელი [დაღმავალი]',
+  'title_a' => 'სათაური [აღმავალი]',
+  'title_d' => 'სათაური [დაღმავალი]',
+  'date_a' => 'თარიღი [აღმავალი]',
+  'date_d' => 'თარიღი [აღმავალი]',
+  'pos_a' => 'პოზიცია [აღმავალი]', //cpg1.4
+  'pos_d' => 'პოზიცია [დაღმავალი]', //cpg1.4
+  'th_any' => 'მაქს. ზომა',
+  'th_ht' => 'სიმაღლე',
+  'th_wd' => 'სიგანე',
+  'label' => 'წარწერა',
+  'item' => 'ალამი',
+  'debug_everyone' => 'ყველა',
+  'debug_admin' => 'მხოლოდ ადმინი',
+  'no_logs'=> 'ამორთვა', //cpg1.4
+  'log_normal'=> 'ჩვეულებრივი', //cpg1.4
+  'log_all' => 'ყველა', //cpg1.4
+  'view_logs' => 'დავთრის ნახვა', //cpg1.4
+  'click_expand' => 'დაწკაპეთ სექციის სახელი ჩამოსაშლელად', //cpg1.4
+  'expand_all' => 'ყველას ჩამოშლა', //cpg1.4
+  'notice1' => '(*) თუ მონაცემთა ბაზაში ფაილები უკვე გაქვთ ეს პარამეტრები არ უნდა შეიცვალოს.', //cpg1.4 - (relocated)
+  'notice2' => '(**) ამ პარამეტრების ცვლილება შეეხება მხოლოდ ამ ცვლილების შემდეგ ჩამოტვირთულ ფაილებს, ამიტომ ამ პარამეტრების შეცვლა თუ გალერეაში უკვე გაქვთ ფაილები რეკომენდებული არაა. თუმცა ცვლილებები შეგიძლიათ განახოციელოთ უკვე არსებული ფაილებისთვისაც &quot;<a href="util.php">ადმინის სამარჯვებით</a> (ზომის შეცვლა)&quot; ადმინის მენიუდან.', //cpg1.4 - (relocated)
+  'notice3' => '(***) დავთრის ყველა ფაილი ინგლისურადაა.', //cpg1.4 - (relocated)
+  'bbs_disabled' => 'ფუნქცია ამორთულია bb ინტეგრაციისას', //cpg1.4
+  'auto_resize_everyone' => 'ყველა', //cpg1.4
+  'auto_resize_user' => 'მხოლოდ მონაწილე', //cpg1.4
+  'ascending' => 'აღმავალი', //cpg1.4
+  'descending' => 'დაღმავალი', //cpg1.4
+        );
+
+if (defined('ADMIN_PHP')) $lang_admin_data = array(
+  'ძირითადი პარამეტრები',
+  array('გალერეის სახელი', 'gallery_name', 0, 'f=index.htm&amp;as=admin_general_name&amp;ae=admin_general_name_end'), //cpg1.4
+  array('გალერეის აღწერა', 'gallery_description', 0, 'f=index.htm&amp;as=admin_general_description&amp;ae=admin_general_description_end'), //cpg1.4
+  array('ადმინისტრატორის ელფოსტა', 'gallery_admin_email', 0, 'f=index.htm&amp;as=admin_general_email&amp;ae=admin_general_email_end'), //cpg1.4
+  array('თქვენი გალერეის დასტის მისამართი (\'index.php\' ან მსგავსის გარეშე)', 'ecards_more_pic_target', 0, 'f=index.htm&amp;as=admin_general_coppermine-url&amp;ae=admin_general_coppermine-url_end'), //cpg1.4
+  array('თქვენი საიტის სათაო გვერდი', 'home_target', 0, 'f=index.htm&amp;as=admin_general_home-url&amp;ae=admin_general_home-url_end'), //cpg1.4
+  array('რჩეულებში ZIP ფაილების ჩამოტვირთვის უფლება', 'enable_zipdownload', 1, 'f=index.htm&amp;as=admin_general_zip-download&amp;ae=admin_general_zip-download_end'), //cpg1.4
+  array('საათობრივი სხვაობა გრინვიჩის დროსთან (მიმდინარე დრო: ' . localised_date(-1, $comment_date_fmt) . ')','time_offset',0, 'f=index.htm&amp;as=admin_general_time-offset&amp;ae=admin_general_time-offset_end&amp;top=1'), //cpg1.4
+  array('პაროლების დაშიფვრის ჩართვა (შეუქცევადია)','enable_encrypted_passwords',1, 'f=index.htm&amp;as=admin_general_encrypt_password_start&amp;ae=admin_general_encrypt_password_end&amp;top=1'), // cpg 1.4
+  array('დახმარების პიქტოგრამების ჩართვა (მხოლოდ ინგლისურად)','enable_help',9, 'f=index.htm&amp;as=admin_general_help&amp;ae=admin_general_help_end'), //cpg1.4
+  array('ძებნისას დაწკაპვადი საკვანძო სიტყვების გამოყენება','clickable_keyword_search',14, 'f=index.htm&amp;as=admin_general_keywords_start&amp;ae=admin_general_keywords_end'), //cpg1.4
+  array('მოდულების ჩართვა', 'enable_plugins', 12, 'f=index.htm&amp;as=admin_general_enable-plugins&amp;ae=admin_general_enable-plugins_end'),  //cpg1.4
+  array('კერძო IP მისამართების აკრძალვის უფლება', 'ban_private_ip', 1,  'f=index.htm&amp;as=admin_general_private-ip&amp;ae=admin_general_private-ip_end'), //cpg1.4
+  array('ჯგუფური დამატების სიის სახით ჩვენება', 'browse_batch_add', 1, 'f=index.htm&amp;as=admin_general_browsable_batch_add&amp;ae=admin_general_browsable_batch_add_end'), //cpg1.4
+
+  'ენები და კოდირება',
+  array('ენა', 'lang', 5, 'f=index.htm&amp;as=admin_language_language&amp;ae=admin_language_language_end'), //cpg1.4
+  array('დავუბრუნდე ინგლისურს თუ ნათარგმნი ფრაზა ვერ მოიძებნა?', 'language_fallback', 1, 'f=index.htm&amp;as=admin_language_fallback&amp;ae=admin_language_fallback_end'), //cpg1.4
+  array('კოდირება', 'charset', 4, 'f=index.htm&amp;as=admin_language_charset&amp;ae=admin_language_charset_end'), //cpg1.4
+  array('ენების სიის ჩვენება', 'language_list', 1, 'f=index.htm&amp;as=admin_language_list&amp;ae=admin_language_list_end'), //cpg1.4
+  array('ალმების ჩვენება', 'language_flags', 8, 'f=index.htm&amp;as=admin_language_flags&amp;ae=admin_language_flags_end&amp;top=1'), //cpg1.4
+  array('ენის შერჩევისას &quot;აღდგენის&quot; ჩვენება', 'language_reset', 1, 'f=index.htm&amp;as=admin_language_reset&amp;ae=admin_language_reset_end&amp;top=1'), //cpg1.4
+  //array('წინა/შემდეგი ან დაფების გვერდების ჩვენება', 'previous_next_tab', 1), //cpg1.4
+
+  'თემის პარამეტრები',
+  array('თემა', 'theme', 6, 'f=index.htm&amp;as=admin_theme_theme&amp;ae=admin_theme_theme_end'), //cpg1.4
+  array('თემების სიის ჩვენება', 'theme_list', 1, 'f=index.htm&amp;as=admin_theme_theme_list&amp;ae=admin_theme_theme_list_end'), //cpg1.4
+  array('თემის შერჩევისას &quot;აღდგენის&quot; ჩვენება', 'theme_reset', 1, 'f=index.htm&amp;as=admin_theme_theme_reset&amp;ae=admin_theme_theme_reset_end'), //cpg1.4
+  array('ძირითადი კითხვების ჩვენება', 'display_faq', 1, 'f=index.htm&amp;as=admin_theme_faq&amp;ae=admin_theme_faq_end'), //cpg1.4
+  array('საკუთარი მენიუს ბმის სახელი', 'custom_lnk_name', 0,'f=index.htm&amp;as=admin_theme_custom_lnk_name&amp;ae=admin_theme_custom_lnk_name_end'), //cpg1.4
+  array('საკუთარი მენიუს ბმის მისამართი', 'custom_lnk_url', 0,'f=index.htm&amp;as=admin_language_custom_lnk_url&amp;ae=admin_language_custom_lnk_url_end'), //cpg1.4
+  array('bbcode დახმარების ჩვენება', 'show_bbcode_help', 1, 'f=index.htm&amp;as=admin_theme_bbcode&amp;ae=admin_theme_bbcode_end&amp;top=1'), //cpg1.4
+  array('ბლოკების ჩვენება XHTML და CSS შესაბამისად მითითებული თემებისთვის','vanity_block',1, 'f=index.htm&amp;as=vanity_block&amp;ae=vanity_block_end'), //cpg1.4
+  array('საკუთარი თავსართის გეზი', 'custom_header_path', 0, 'f=index.htm&amp;as=admin_theme_include_path_start&amp;ae=admin_theme_include_path_end'), //cpg1.4
+  array('საკუთარი ქვესართის გეზი', 'custom_footer_path', 0, 'f=index.htm&amp;as=admin_theme_include_path_start&amp;ae=admin_theme_include_path_end'), //cpg1.4
+
+  'ალბომების სიის ჩვენება',
+  array('მთავარი ცხრილის სიგანე (პიქსელი ან %)', 'main_table_width', 0, 'f=index.htm&amp;as=admin_album_table-width&amp;ae=admin_album_table-width_end'), //cpg1.4
+  array('კატეგორიების დონეების რაოდენობა საჩვენებლად', 'subcat_level', 0, 'f=index.htm&amp;as=admin_album_category-levels&amp;ae=admin_album_category-levels_end'), //cpg1.4
+  array('ალბომების რაოდენობა საჩვენებლად', 'albums_per_page', 0, 'f=index.htm&amp;as=admin_album_number&amp;ae=admin_album_number_end'), //cpg1.4
+  array('სვეტების რაოდენობა ალბომების სიისთვის', 'album_list_cols', 0, 'f=index.htm&amp;as=admin_album_columns&amp;ae=admin_album_columns_end'), //cpg1.4
+  array('მინიატურების ზომა პიქსელებში', 'alb_list_thumb_size', 0, 'f=index.htm&amp;as=admin_album_thumbnail-size&amp;ae=admin_album_thumbnail-size_end'), //cpg1.4
+  array('თავფურცლის შიგთავსი', 'main_page_layout', 0, 'f=index.htm&amp;as=admin_album_list_content&amp;ae=admin_album_list_content_end'), //cpg1.4
+  array('კატეგორიებში პირველი დონის ალბომების მინიატურების ჩვენება','first_level',1, 'f=index.htm&amp;as=admin_album_first-level_thumbs&amp;ae=admin_album_first-level_thumbs_end'), //cpg1.4
+  array('კატეგორიების ანბანურად დალაგება (ნაცვლად საკუთარი რიგისა)','categories_alpha_sort',1, 'f=index.htm&amp;as=admin_album_list_alphasort_start&amp;ae=admin_album_list_alphasort_end'), //cpg1.4
+  array('ბმის ფაილების რაოდენობის ჩვენება','link_pic_count',1, 'f=index.htm&amp;as=admin_album_linked_files_start&amp;ae=admin_album_linked_files_end'), //cpg1.4
+
+  'მინიატურების ჩვენება',
+  array('სვეტების რაოდენობა მინიატურების გვერდზე', 'thumbcols', 0, 'f=index.htm&amp;as=admin_thumbnail_columns&amp;ae=admin_thumbnail_columns_end'), //cpg1.4
+  array('მწკრივების რაოდენობა მინიატურების გვერდზე', 'thumbrows', 0, 'f=index.htm&amp;as=admin_thumbnail_rows&amp;ae=admin_thumbnail_rows_end'), //cpg1.4
+  array('ნაჩვენები დაფების მაქსიმალური რაოდენობა', 'max_tabs', 10, 'f=index.htm&amp;as=admin_thumbnail_tabs&amp;ae=admin_thumbnail_tabs_end'), //cpg1.4
+  array('ფაილის წარწერის ჩვენება (სათაურის გარდა) მინიატურის ქვეშ', 'caption_in_thumbview', 1, 'f=index.htm&amp;as=admin_thumbnail_display_caption&amp;ae=admin_thumbnail_display_caption_end'), //cpg1.4
+  array('ნახვის რაოდენობის ჩვენება მინიატურის ქვეშ', 'views_in_thumbview', 1, 'f=index.htm&amp;as=admin_thumbnail_display_views&amp;ae=admin_thumbnail_display_views_end'), //cpg1.4
+  array('კომენტარების რაოდენობის ჩვენება მინიატურის ქვეშ', 'display_comment_count', 1, 'f=index.htm&amp;as=admin_thumbnail_display_comments&amp;ae=admin_thumbnail_display_comments_end'), //cpg1.4
+  array('ფაილის ამტვირთავის სახელის ჩვენება მინიატურის ქვეშ', 'display_uploader', 1, 'f=index.htm&amp;as=admin_thumbnail_display_uploader&amp;ae=admin_thumbnail_display_uploader_end'), //cpg1.4
+  //array('ფაილის ადმინი ამტვირთავის სახელის ჩვენება მინიატურის ქვეშ', 'display_admin_uploader', 1, 'f=index.htm&amp;as=admin_thumbnail_display_admin_uploader&amp;ae=admin_thumbnail_display_admin_uploader_end'), //cpg1.4
+  array('ფაილის სახელის ჩვენება მინიატურის ქვეშ', 'display_filename', 1, 'f=index.htm&amp;as=admin_thumbnail_display_filename&amp;ae=admin_thumbnail_display_filename_end'), //cpg1.4
+  array('ალბომის აღწერილობის ჩვენება', 'alb_desc_thumb', 1, 'f=index.htm&amp;as=admin_thumbnail_display_description&amp;ae=admin_thumbnail_display_description_end'), //cpg1.4
+  array('ფაილების სორტირების ნაგულისხმები რიგი', 'default_sort_order', 3, 'f=index.htm&amp;as=admin_thumbnail_default_sortorder&amp;ae=admin_thumbnail_default_sortorder_end'), //cpg1.4
+  array('ხმათა მინიმალური რაოდენობა \'ყველაზე რეიტინგულ\' ფაილთა სიაში', 'min_votes_for_rating', 0, 'f=index.htm&amp;as=admin_thumbnail_minimum_votes&amp;ae=admin_thumbnail_minimum_votes_end'), //cpg1.4
+
+  'ნახატების ჩვენება', //cpg1.4
+  array('ფაილების ჩვენების ცხრილის სიგანე (პიქსელი ან %)', 'picture_table_width', 0, 'f=index.htm&amp;as=admin_image_comment_table-width&amp;ae=admin_image_comment_table-width_end'), //cpg1.4
+  array('ფაილის ინფორმაცია ხილულია ნაგულისხმებად', 'display_pic_info', 1, 'f=index.htm&amp;as=admin_image_comment_info_visible&amp;ae=admin_image_comment_info_visible_end'), //cpg1.4
+  array('ფაილის აღწერილობის მაქსიმალური ზომა', 'max_img_desc_length', 0, 'f=index.htm&amp;as=admin_image_comment_descr_length&amp;ae=admin_image_comment_descr_length_end'), //cpg1.4
+  array('სიტყვაში ასო-ნიშანთა მაქსიმალური რაოდენობა', 'max_com_wlength', 0, 'f=index.htm&amp;as=admin_image_comment_chars_per_word&amp;ae=admin_image_comment_chars_per_word_end'), //cpg1.4
+  array('დიაფილმის ჩვენება', 'display_film_strip', 1, 'f=index.htm&amp;as=admin_image_comment_filmstrip_toggle&amp;ae=admin_image_comment_filmstrip_toggle_end'), //cpg1.4
+  array('დიაფილმის ფაილის სახელის ჩვენება მინიატურის ქვეშ', 'display_film_strip_filename', 1, 'f=index.htm&amp;as=admin_image_comment_display_film_strip_filename&amp;ae=admin_image_comment_display_film_strip_filename_end'), //cpg1.4
+  array('კადრების რაოდენობა დიაფილმში', 'max_film_strip_items', 0, 'f=index.htm&amp;as=admin_image_comment_filmstrip_number&amp;ae=admin_image_comment_filmstrip_number_end'), //cpg1.4
+  array('სლაიდების ჩვენების ინტერვალი მილიწამებში (1 წამი = 1000 მილიწამი)', 'slideshow_interval', 0, 'f=index.htm&amp;as=admin_image_comment_slideshow_interval&amp;ae=admin_image_comment_slideshow_interval_end'), //cpg1.4
+
+  'კომენტარების პარამეტრები', //cpg1.4
+  array('უცენზურო სიტყვების გაფილტვრა კომენტარებში', 'filter_bad_words', 1, 'f=index.htm&amp;as=admin_image_comment_bad_words&amp;ae=admin_image_comment_bad_words_end'), //cpg1.4
+  array('კომენტარებში მიმიკების დაშვება', 'enable_smilies', 1, 'f=index.htm&amp;as=admin_image_comment_smilies&amp;ae=admin_image_comment_smilies_end'), //cpg1.4
+  array('ერთი და იგივე მონაწილისთვის ერთი ფაილისთვის რამდენიმე კომენტარის ნებართვა (გადავსების დაცვის გამორთვა)', 'disable_comment_flood_protect', 1, 'f=index.htm&amp;as=admin_image_comment_flood&amp;ae=admin_image_comment_flood_end'), //cpg1.4
+  array('სტრიქონების მაქსიმალური რაოდენობა კომენტარში', 'max_com_lines', 0, 'f=index.htm&amp;as=admin_image_comment_lines&amp;ae=admin_image_comment_lines_end'), //cpg1.4
+  array('კომენტარის მაქსიმალური ზომა', 'max_com_size', 0, 'f=index.htm&amp;as=admin_image_comment_length&amp;ae=admin_image_comment_length_end'), //cpg1.4
+  array('კომენტარის დამატების ადმინისტრატორისთვის ელფოსტით შეტყობინება', 'email_comment_notification', 1, 'f=index.htm&amp;as=admin_image_comment_admin_notify&amp;ae=admin_image_comment_admin_notify_end'), //cpg1.4
+  array('კომენტარების სორტირების რიგი', 'comments_sort_descending', 17, 'f=index.htm&amp;as=admin_comment_sort_start&amp;ae=admin_comment_sort_end'), //cpg1.4
+  array('პრეფიქსი ანონიმური კომენტარებისთვის', 'comments_anon_pfx', 0, 'f=index.htm&amp;as=comments_anon_pfx&amp;ae=comments_anon_pfx_end'), //cpg1.4
+
+  'ფაილებისა და მინიატურების პარამეტრები',
+  array('JPEG ფაილების ხარისხი', 'jpeg_qual', 0, 'f=index.htm&amp;as=admin_picture_thumbnail_jpeg_quality&amp;ae=admin_picture_thumbnail_jpeg_quality_end'), //cpg1.4
+  array('მინიატურის მაქსიმალური ზომები <a href="#notice2" class="clickable_option">**</a>', 'thumb_width', 0, 'f=index.htm&amp;as=admin_picture_thumbnail_max-dimension&amp;ae=admin_picture_thumbnail_max-dimension_end'), //cpg1.4
+  array('ზომების გამოყენება (მინიატურის სიგანე, სიმაღლე ან მაქსიმალური ზომა ) <a href="#notice2" class="clickable_option">**</a>', 'thumb_use', 7, 'f=index.htm&amp;as=admin_picture_thumbnail_use-dimension&amp;ae=admin_picture_thumbnail_use-dimension_end'), //cpg1.4
+  array('შუალედური ნახატების შექმნა','make_intermediate',1, 'f=index.htm&amp;as=admin_picture_thumbnail_intermediate_toggle&amp;ae=admin_picture_thumbnail_intermediate_toggle_end'), //cpg1.4
+  array('შუალედური ნახატის/ვიდეოს მაქსიმალური სიგანე და სიმაღლე <a href="#notice2" class="clickable_option">**</a>', 'picture_width', 0, 'f=index.htm&amp;as=admin_picture_thumbnail_intermediate_dimension&amp;ae=admin_picture_thumbnail_intermediate_dimension_end'), //cpg1.4
+  array('ატვირთული ფაილების მაქსიმალური ზომა (კბ)', 'max_upl_size', 0, 'f=index.htm&amp;as=admin_picture_thumbnail_max_upload_size&amp;ae=admin_picture_thumbnail_max_upload_size_end'), //cpg1.4
+  array('ატვირთული ნახატის/ვიდეოს მაქსიმალური სიგანე ან სიმაღლე (პიქსელი)', 'max_upl_width_height', 0, 'f=index.htm&amp;as=admin_picture_thumbnail_max_upload_dimension&amp;ae=admin_picture_thumbnail_max_upload_dimension_end'), //cpg1.4
+  array('მაქსიმალურ სიგანეზე მეტი ზომის ნახატების თვითშემცირება', 'auto_resize', 16, 'f=index.htm&amp;as=admin_picture_thumbnail_auto-resize&amp;ae=admin_picture_thumbnail_auto-resize_end'), //cpg1.4
+
+  'ფაილებისა და მინიატურების დეტალური პარამეტრები',
+  array('ალბომები შესაძლოა პირადიც იყოს (შენიშვნა: თუ \'დიახ\'-ს \'არა\'-ზე გადართავთ ნებისმიერი პირადი ალბომი საზოგადოდ გარდაიქმნება)', 'allow_private_albums', 1, 'f=index.htm&amp;as=admin_picture_thumb_advanced_private_toggle&amp;ae=admin_picture_thumb_advanced_private_toggle_end'), //cpg1.4
+  array('სტუმრებისთვსი პირადი ალბომის პიქტოგრამის ჩვენება','show_private',1, 'f=index.htm&amp;as=admin_picture_thumb_advanced_private_icon_show&amp;ae=admin_picture_thumb_advanced_private_icon_show_end'), //cpg1.4
+  array('აკრძალული სიმბოლოები ფაილის სახელებში ', 'forbiden_fname_char',0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_filename_forbidden_chars&amp;ae=admin_picture_thumb_advanced_filename_forbidden_chars_end'), //cpg1.4
+  //array('ჩამოსატვირთი ნახატების ფაილების დასაშვები ტიპები', 'allowed_file_extensions',0, 'f=index.htm&amp;as=&amp;ae=_end'), //cpg1.4
+  array('ნახატების დასაშვები ტიპები', 'allowed_img_types',0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_pic_extensions&amp;ae=admin_picture_thumb_advanced_pic_extensions_end'), //cpg1.4
+  array('ვიდეოფაილების დასაშვები ტიპები', 'allowed_mov_types',0, 'f=index.htm&amp;as=admin_thumbs_advanced_movie&amp;ae=admin_thumbs_advanced_movie_end'), //cpg1.4
+  array('ფილმის ჩვენების ავტომატური დაწყება', 'media_autostart',1, 'f=index.htm&amp;as=admin_movie_autoplay&amp;ae=admin_movie_autoplay_end'), //cpg1.4
+  array('აუდიოფაილების დასაშვები ტიპები', 'allowed_snd_types',0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_audio_extensions&amp;ae=admin_picture_thumb_advanced_audio_extensions_end'), //cpg1.4
+  array('დოკუმენტების დასაშვები ტიპები', 'allowed_doc_types',0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_doc_extensions&amp;ae=admin_picture_thumb_advanced_doc_extensions_end'), //cpg1.4
+  array('ნახატების ზომის შეცვლის მეთოდი','thumb_method',2, 'f=index.htm&amp;as=admin_picture_thumb_advanced_resize_method&amp;ae=admin_picture_thumb_advanced_resize_method_end'), //cpg1.4
+  array('ImageMagick \'გარდაქმნის\' პროგრამის გეზი (მაგალითი /usr/bin/X11/)', 'impath', 0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_im_path&amp;ae=admin_picture_thumb_advanced_im_path_end'), //cpg1.4
+  //array('ნახატების დასაშვები ტიპები (მხოლოდ ImageMagick-ისთვის)', 'allowed_img_types',0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_allowed_imagetypes&amp;ae=admin_picture_thumb_advanced_allowed_imagetypes_end'), //cpg1.4
+  array('ImageMagick ბრძანების პარამეტრები', 'im_options', 0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_im_commandline&amp;ae=admin_picture_thumb_advanced_im_commandline_end'), //cpg1.4
+  array('EXIF მონაცემების კითხვა JPEG ფაილებში', 'read_exif_data', 13, 'f=index.htm&amp;as=admin_picture_thumb_advanced_exif&amp;ae=admin_picture_thumb_advanced_exif_end'), //cpg1.4
+  array('IPTC მონაცემების კითხვა JPEG ფაილებში', 'read_iptc_data', 1, 'f=index.htm&amp;as=admin_picture_thumb_advanced_iptc&amp;ae=admin_picture_thumb_advanced_iptc_end'), //cpg1.4
+  array('ალბომის დასტა <a href="#notice1" class="clickable_option">*</a>', 'fullpath', 0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_albums_dir&amp;ae=admin_picture_thumb_advanced_albums_dir_end'), //cpg1.4
+  array('მონაწილის ფაილების დასტა <a href="#notice1" class="clickable_option">*</a>', 'userpics', 0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_userpics_dir&amp;ae=admin_picture_thumb_advanced_userpics_dir_end'), //cpg1.4
+  array('შუალედური ნახატების პრეფიქსი <a href="#notice1" class="clickable_option">*</a>', 'normal_pfx', 0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_intermediate_prefix&amp;ae=admin_picture_thumb_advanced_intermediate_prefix_end'), //cpg1.4
+  array('მინიატურების პრეფიქსი <a href="#notice1" class="clickable_option">*</a>', 'thumb_pfx', 0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_thumbs_prefix&amp;ae=admin_picture_thumb_advanced_thumbs_prefix_end'), //cpg1.4
+  array('დასტების საწყისი რეჟიმი', 'default_dir_mode', 0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_chmod_folder&amp;ae=admin_picture_thumb_advanced_chmod_folder_end'), //cpg1.4
+  array('ფაილების საწყისი რეჟიმი', 'default_file_mode', 0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_chmod_files&amp;ae=admin_picture_thumb_advanced_chmod_files_end'), //cpg1.4
+
+  'მონაწილის პარამეტრები',
+  array('ახალი მონაწილეების რეგისტრაციის ნებართვა', 'allow_user_registration', 1, 'f=index.htm&amp;as=admin_allow_registration&amp;ae=admin_allow_registration_end'), //cpg1.4
+  array('სტუმრების (ან ანონიმურების) დაშვება', 'allow_unlogged_access', 1, 'f=index.htm&amp;as=admin_allow_unlogged_access&amp;ae=admin_allow_unlogged_access_end'), //cpg1.4
+  array('მონაწილის რეგისტრაცია ითხოვს ელფოსტით შემოწმებას', 'reg_requires_valid_email', 1, 'f=index.htm&amp;as=admin_registration_verify&amp;ae=admin_registration_verify_end'), //cpg1.4
+  array('ახალი მონაწილის რეგისტრაციის ადმინისთვის ელფოსტით შეტყობინება', 'reg_notify_admin_email', 1, 'f=index.htm&amp;as=admin_registration_notify&amp;ae=admin_registration_notify_end'), //cpg1.4
+  array('რეგისტრაციის ადმინის მიერ გააქტივება', 'admin_activation', 1, 'f=index.htm&amp;as=admin_activation&amp;ae=admin_activation_end'),  //cpg1.4
+  array('ორი მონაწილისთვის ერთი და იგივე ელფოსტის ნებართვა', 'allow_duplicate_emails_addr', 1, 'f=index.htm&amp;as=admin_allow_duplicate_emails_addr&amp;ae=admin_allow_duplicate_emails_addr_end'), //cpg1.4
+  array('ატვირთვის თანხმობის მოლოდინის ადმინისთვის ელფოსტით შეტყობინება', 'upl_notify_admin_email', 1, 'f=index.htm&amp;as=admin_approval_notify&amp;ae=admin_approval_notify_end'), //cpg1.4
+  array('შემოსული მონაწილეებისთვის მონაწილეთა სიის ნახვის ნებართვა', 1, 'f=index.htm&amp;as=admin_user_memberlist&amp;ae=admin_user_memberlist_end'), //cpg1.4
+  array('მონაწილეთათვის საკუთარ პროფილში ელფოსტის შეცვლის ნებართვა', 'allow_email_change', 1, 'f=index.htm&amp;as=admin_user_allow_email_change&amp;ae=admin_user_allow_email_change_end'), //cpg1.4
+  array('საზოგადო გალერეებში მონაწილეთათვის საკუთარი სურათების განკარგვის უფლება', 'users_can_edit_pics', 1, 'f=index.htm&amp;as=admin_user_editpics_public_start&amp;ae=admin_user_editpics_public_end'), //cpg1.4
+  array('შესვლის უშედეგო მცდელობების რაოდენობა დროებით აკრძალვამდე (ფორსირებული შეტევების ასაცილებლად)', 'login_threshold', 0, 'f=index.htm&amp;as=admin_user_login_start&amp;ae=admin_user_login_end'), //cpg1.4
+  array('დროებითი აკრძალვის ხანგრძლივობა შემოსვლის უშედეგო მცდელობების შემდეგ', 'login_expiry', 0, 'f=index.htm&amp;as=admin_user_login_start&amp;ae=admin_user_login_end'), //cpg1.4
+  array('პატაკის ჩართვა ადმინისადმი', 'report_post', 1, 'f=index.htm&amp;as=admin_user_enable_report&amp;ae=admin_user_enable_report_end'),  //cpg1.4
+
+// პროფილის დამტებითი ველები,  //cpg1.4
+  'პროფილის დამტებითი ველები (თუ გამოყენება არ გსურთ - ცარიელი დატოვეთ).
+  პროფილი 6 გამოიყენება დიდი ზომის მონაცემებისთვის. მაგ., ბიოგრაფიული', //cpg1.4
+  array('პროფილის სახელი 1', 'user_profile1_name', 0, 'f=index.htm&amp;as=admin_custom&amp;ae=admin_custom_end'), //cpg1.4
+  array('პროფილის სახელი 2', 'user_profile2_name', 0), //cpg1.4
+  array('პროფილის სახელი 3', 'user_profile3_name', 0), //cpg1.4
+  array('პროფილის სახელი 4', 'user_profile4_name', 0), //cpg1.4
+  array('პროფილის სახელი 5', 'user_profile5_name', 0), //cpg1.4
+  array('პროფილის სახელი 6', 'user_profile6_name', 0), //cpg1.4
+
+  'დამატებითი ველები ნახატების აღწერისთვის (თუ გამოყენება არ გსურთ - ცარიელი დატოვეთ)',
+  array('ველის სახელი 1', 'user_field1_name', 0),
+  array('ველის სახელი 2', 'user_field2_name', 0),
+  array('ველის სახელი 3', 'user_field3_name', 0),
+  array('ველის სახელი 4', 'user_field4_name', 0),
+
+  'ნაჭდევების პარამეტრები',
+  array('ნაჭდევის სახელი', 'cookie_name', 0, 'f=index.htm&amp;as=admin_cookie_name&amp;ae=admin_cookie_name_end'), //cpg1.4
+  array('ნაჭდევის გეზი', 'cookie_path', 0, 'f=index.htm&amp;as=admin_cookie_path&amp;ae=admin_cookie_path_end'), //cpg1.4
+
+  'ელფოსტის პარამეტრები  (ჩვეულებრივ, აქ არაფრის შეცვლაა საჭირო; თუ დარწმუნებული არ ხართ, ყველა ველი ცარიელი დატოვეთ)', //cpg1.4
+  array('SMTP სერვერი (თუ ცარიელია, გამოიყენება sendmail)', 'smtp_host', 0, 'f=index.htm&amp;as=admin_email&amp;ae=admin_email_end'), //cpg1.4
+  array('SMTP სახელი', 'smtp_username', 0), //cpg1.4
+  array('SMTP პაროლი', 'smtp_password', 0), //cpg1.4
+
+  'დავთარი და სტატისტიკა', //cpg1.4
+  array('დავთრის რეჟიმი <a href="#notice3" class="clickable_option">***</a>', 'log_mode', 11, 'f=index.htm&amp;as=admin_logging_log_mode&amp;ae=admin_logging_log_mode_end'), //cpg1.4
+  array('ბარათების დავთარი', 'log_ecards', 1, 'f=index.htm&amp;as=admin_general_log_ecards&amp;ae=admin_general_log_ecards_end'), //cpg1.4
+  array('კენჭისყრის დეტალური სტატისტიკის შენახვა','vote_details',1, 'f=index.htm&amp;as=admin_logging_votedetails&amp;ae=admin_logging_votedetails_end'), //cpg1.4
+  array('გვერდების ნახვის დეტალური სტატისტიკის შენახვა','hit_details',1, 'f=index.htm&amp;as=admin_logging_hitdetails&amp;ae=admin_logging_hitdetails_end'), //cpg1.4
+
+  'მომსახურების პარამეტრები', //cpg1.4
+  array('გამართვის რეჟიმის ჩართვა', 'debug_mode', 9, 'f=index.htm&amp;as=debug_mode&amp;ae=debug_mode_end'), //cpg1.4
+  array('შეტყობინებების ჩვენება გამართვისას', 'debug_notice', 1, 'f=index.htm&amp;as=admin_misc_debug_notices&amp;ae=admin_misc_debug_notices_end'), //cpg1.4
+  array('გალერეა ავტონომიურ რეჟიმშია', 'offline', 1, 'f=index.htm&amp;as=admin_general_offline&amp;ae=admin_general_offline_end'), //cpg1.4
+);
+
+
+// ------------------------------------------------------------------------- //
+// File db_ecard.php
+// ------------------------------------------------------------------------- //
+
+if (defined('DB_ECARD_PHP')) $lang_db_ecard_php = array(
+  'title' => 'ბარათების გაგზავნა',
+  'ecard_sender' => 'გამგზავნი',
+  'ecard_recipient' => 'ადრესატი',
+  'ecard_date' => 'თარიღი',
+  'ecard_display' => 'ბარათის ჩვენება',
+  'ecard_name' => 'სახელი',
+  'ecard_email' => 'ელფოსტა',
+  'ecard_ip' => 'IP #',
+  'ecard_ascending' => '[აღმავალი]',
+  'ecard_descending' => '[დაღმავალი]',
+  'ecard_sorted' => 'დასორტირებულია',
+  'ecard_by_date' => 'თარიღით',
+  'ecard_by_sender_name' => 'გამგზავნის სახელით',
+  'ecard_by_sender_email' => 'გამგზავნის ელფოსტით',
+  'ecard_by_sender_ip' => 'გამგზავნის IP მისამართით',
+  'ecard_by_recipient_name' => 'ადრესატის სახელით',
+  'ecard_by_recipient_email' => 'ადრესატის ელფოსტით',
+  'ecard_number' => 'ჩანაწერის ჩვენება %s - %s აქედან %s',
+  'ecard_goto_page' => 'გადასვლა გვერდზე',
+  'ecard_records_per_page' => 'ჩანაწერი გვერდზე',
+  'check_all' => 'ყველას მონიშვნა',
+  'uncheck_all' => 'მონიშვნის მოხსნა',
+  'ecards_delete_selected' => 'შერჩეული ბარათების წაშლა',
+  'ecards_delete_confirm' => 'ნამდვილად გსურთ ჩანაწერების წაშლა? მონიშნეთ!',
+  'ecards_delete_sure' => 'დიახ, მსურს',
+);
+
+
+// ------------------------------------------------------------------------- //
+// File db_input.php
+// ------------------------------------------------------------------------- //
+
+if (defined('DB_INPUT_PHP')) $lang_db_input_php = array(
+  'empty_name_or_com' => 'უნდა შეიტანოთ თქვენის სახელი და კომენტარი',
+  'com_added' => 'თქვენი კომენტარი დაემატა',
+  'alb_need_title' => 'უნდა მიუთითოთ ალბომის სახელი!',
+  'no_udp_needed' => 'განახლება საჭირო არაა.',
+  'alb_updated' => 'ალბომი განახლდა',
+  'unknown_album' => 'მითითებული ალბომი არ არსებობს ან მისი ატვირთვის უფლება არ გაქვთ',
+  'no_pic_uploaded' => 'არცერთი ფაილი არ ატვირთულა!<br /><br />თუ ნამდვილად შეარჩიეთ ასატვირთი ფაილი, შეამოწმეთ სერვერის ატვირთვის შესაძლებლობა...',
+  'err_mkdir' => 'შეცდომა %s დასტის შექმნისას !',
+  'dest_dir_ro' => 'სამიზნე დასტა %s ჩაწერადი არაა !',
+  'err_move' => 'ვერ გადამაქვს %s აქ %s !',
+  'err_fsize_too_large' => 'ატვირთული ფაილის ზომა მეტისმეტად დიდია (მაქსიმალური დასაშვები ზომაა %s x %s) !', //obsolete since cpg1.3 - consider removal in cpg1.4 once upload.php has been overhauled
+  'err_imgsize_too_large' => 'ატვირთული ფაილის მოცულობა მეტისმეტად დიდია  (მაქსიმუმია %s კბ) !', //obsolete since cpg1.3 - consider removal in cpg1.4 once upload.php has been overhauled
+  'err_invalid_img' => 'ატვირთული ფაილი ნახატი არაა !',
+  'allowed_img_types' => 'შეგიძლიათ ატვირთოთ მხოლოდ %s ნახატი.',
+  'err_insert_pic' => 'ფაილი \'%s\' ალბომში ვერ დაემატება ',
+  'upload_success' => 'თქვენი ფაილი წარმატებით აიტვირთა.<br /><br />იგი ხილული გახდება ადმინისტრაციის თანხმობის შემდეგ.',
+  'notify_admin_email_subject' => '%s - ფაილის ატვირთვის შეტყობინება',
+  'notify_admin_email_body' => 'ფაილი აიტვირთა %s მონაწილის მიერ, რომელიც თანხმობას ითხოვს. მინახულეთ %s',
+  'info' => 'ინფორმაცია',
+  'com_added' => 'კომენტარი დაემატა',
+  'alb_updated' => 'ალბომი განახლდა',
+  'err_comment_empty' => 'თქვენი კომენტარი ცარიელია!',
+  'err_invalid_fext' => 'დასაშვებია ფაილები შემდეგი ტიპით: <br /><br />%s.',
+  'no_flood' => 'უკაცრავად, თქვენ უკვე ამ ფაილის ბოლო კომენტარის ავტორი ხართ.<br /><br />თუ შეცვლა გსურთ დაარედაქტირეთ არსებული კომენტარი.',
+  'redirect_msg' => 'თქვენ გადამისამართდით.<br /><br /><br />დაწკაპეთ \'გაგრძელება\', თუ გვერდი ავტომატურად არ განახლდა.',
+  'upl_success' => 'თქვენი ფაილი წარმატებით დაემატა',
+  'email_comment_subject' => 'გია გალერეაში კომენტარი დაემატა',
+  'email_comment_body' => 'ვიღაცამ თქვენს გალერეაში კომენტარი განათავსა. ნახეთ იგი.',
+  'album_not_selected' => 'ალბომი არ შერჩეულა', //cpg1.4
+  'com_author_error' => 'ამ მეტსახელს რეგისტრირებული მონაწილე იყენებს, გამოიყენეთ სხვა', //cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File delete.php
+// ------------------------------------------------------------------------- //
+
+if (defined('DELETE_PHP')) $lang_delete_php = array(
+  'caption' => 'აღწერილობა',
+  'fs_pic' => 'სრული ზომის ნახატი',
+  'del_success' => 'წარმატებით წაიშალა',
+  'ns_pic' => 'ჩვეულებრივი ზომის ნახატი',
+  'err_del' => 'ვერ წაიშლება',
+  'thumb_pic' => 'მინიატურა',
+  'comment' => 'კომენტარი',
+  'im_in_alb' => 'ნახატი ალბომში',
+  'alb_del_success' => 'ალბომი &laquo;%s&raquo; წაიშალა', //cpg1.4
+  'alb_mgr' => 'ალბომის მორგება',
+  'err_invalid_data' => 'მიღებულია მცდარი მონაცემები - \'%s\'',
+  'create_alb' => 'ვქმნი ალბომს \'%s\'',
+  'update_alb' => 'ვაახლებ ალბომს \'%s\' სახელით \'%s\' და საძიებლით \'%s\'',
+  'del_pic' => 'ფაილის წაშლა',
+  'del_alb' => 'ალბომის წაშლა',
+  'del_user' => 'მონაწილის წაშლა',
+  'err_unknown_user' => 'მითითებული მონაწილე არ არსებობს!',
+  'err_empty_groups' => 'ჯგუფის ცხრილი არ არსებობს ან ცარიელია!', //cpg1.4
+  'comment_deleted' => 'კომენტარი წარმატებით წაიშალა',
+  'npic' => 'ნახატი', //cpg1.4
+  'pic_mgr' => 'ნახატების მმართველი', //cpg1.4
+  'update_pic' => 'განახლება: ნახატი - \'%s\', ფაილის სახელი - \'%s\', ინდექსი - \'%s\'', //cpg1.4
+  'username' => 'სახელი', //cpg1.4
+  'anonymized_comments' => 'გაუქმდა %s კომენტარი', //cpg1.4
+  'anonymized_uploads' => 'გაუქმდა %s საზოგადო ატვირთვა', //cpg1.4
+  'deleted_comments' => 'წაიშალა %s კომენტარი', //cpg1.4
+  'deleted_uploads' => 'წაიშალა %s საზოგადო ატვირთვა', //cpg1.4
+  'user_deleted' => 'მონაწილე %s წაიშალა', //cpg1.4
+  'activate_user' => 'მონაწილის გააქტივება', //cpg1.4
+  'user_already_active' => 'ანგარიში უკვე აქტიური იყო', //cpg1.4
+  'activated' => 'გააქტივდა', //cpg1.4
+  'deactivate_user' => 'მონაწილის დეაქტივაცია', //cpg1.4
+  'user_already_inactive' => 'ანგარიში უკვე დეაქტივირებული იყო', //cpg1.4
+  'deactivated' => 'დეაქტივირებული', //cpg1.4
+  'reset_password' => 'პაროლ(ებ)ის აღდგენა', //cpg1.4
+  'password_reset' => 'პაროლი აღდგა – %s', //cpg1.4
+  'change_group' => 'პირველადი ჯგუფის შეცვლა', //cpg1.4
+  'change_group_to_group' => 'ჯგუფის შეცვლა %s - %s', //cpg1.4
+  'add_group' => 'მეორადი ჯგუფის დამატება', //cpg1.4
+  'add_group_to_group' => '%s მონაწილის დამატება %s ჯგუფში. იგი %s პირველადი და %s მეორადი ჯგუფ(ებ)ის წევრია.', //cpg1.4
+  'status' => 'სტატუსი', //cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File displayecard.php
+// ------------------------------------------------------------------------- //
+
+if (defined('DISPLAYECARD_PHP')) {
+
+$lang_displayecard_php = array(
+  'invalid_data' => 'ბარათის მონაცემები დაზიანებულია თქვენი ელფოსტის კლიენტის მიერ. გადაამოწმეთ ბმის სისრულე.', //cpg1.4
+);
+}
+
+// ------------------------------------------------------------------------- //
+// File displayimage.php
+// ------------------------------------------------------------------------- //
+
+if (defined('DISPLAYIMAGE_PHP')){
+
+$lang_display_image_php = array(
+  'confirm_del' => 'ნამდვილად გსურთ ამ ფაილის წაშლა?\\nკომენტარებიც წაიშლება.', //js-alert
+  'del_pic' => 'ამ ფაილის წაშლა',
+  'size' => '%s x %s პიქსელი',
+  'views' => '%s -ჯერ',
+  'slideshow' => 'სლაიდების ჩვენება',
+  'stop_slideshow' => 'სლაიდების ჩვენების შეჩერება',
+  'view_fs' => 'დაწკაპეთ ნახატის სრული ზომით სანახავად',
+  'edit_pic' => 'ფაილის მონაცემების შეცვლა', //cpg1.4
+  'crop_pic' => 'ჩამოჭრა და დატრიალება',
+  'set_player' => 'სლაიდოსკოპის შეცვლა',
+);
+
+$lang_picinfo = array(
+  'title' =>'ფაილის ინფორმაცია',
+  'Filename' => 'ფაილის სახელი',
+  'Album name' => 'ალბომი',
+  'Rating' => 'რეიტინგი (ხმა: %s)',
+  'Keywords' => 'საკვანძო სიტყვები',
+  'File Size' => 'ფაილის ზომა',
+  'Date Added' => 'დამატების თარიღი', //cpg1.4
+  'Dimensions' => 'ნახატის ზომა',
+  'Displayed' => 'ნაჩვენებია',
+  'URL' => 'მისამართი',
+  'Make' => 'აპარატი', //cpg1.4
+  'Model' => 'მოდელი', //cpg1.4
+  'DateTime' => 'თარიღი დრო', //cpg1.4
+  'ISOSpeedRatings'=>'ISO', //cpg1.4
+  'MaxApertureValue' => 'მაქსიმალური აპერტურა', //cpg1.4
+  'FocalLength' => 'ფოკალური მანძილი',
+  'Comment' => 'კომენტარი',
+  'addFav'=>'რჩეულებში დამატება',
+  'addFavPhrase'=>'რჩეულები',
+  'remFav'=>'რჩეულებიდან ამოღება',
+  'iptcTitle'=>'IPTC სათაური',
+  'iptcCopyright'=>'IPTC საავტორო უფლება',
+  'iptcKeywords'=>'IPTC საკვანძო სიტყვები',
+  'iptcCategory'=>'IPTC კატეგორია',
+  'iptcSubCategories'=>'IPTC ქვეკატეგორია',
+  'ColorSpace' => 'ფერთა დიაპაზონი', //cpg1.4
+  'ExposureProgram' => 'ექსპოზიციის პროგრამა', //cpg1.4
+  'Flash' => 'გაელვება', //cpg1.4
+  'MeteringMode' => 'მანძილის რეჟიმი', //cpg1.4
+  'ExposureTime' => 'ექსპოზიციის დრო', //cpg1.4
+  'ExposureBiasValue' => 'ექსპოზიციის გადახრა', //cpg1.4
+  'ImageDescription' => ' ნახატის აღწერილობა', //cpg1.4
+  'Orientation' => 'ორიენტაცია', //cpg1.4
+  'xResolution' => 'X გარჩევადობა', //cpg1.4
+  'yResolution' => 'Y გარჩევადობა', //cpg1.4
+  'ResolutionUnit' => 'გარჩევადობის ერთეული', //cpg1.4
+  'Software' => 'პროგრამა', //cpg1.4
+  'YCbCrPositioning' => 'YCbCr პარამეტრები', //cpg1.4
+  'ExifOffset' => 'Exif წანაცვლება', //cpg1.4
+  'IFD1Offset' => 'IFD1 წანაცვლება', //cpg1.4
+  'FNumber' => 'F ყოვნი', //cpg1.4
+  'ExifVersion' => 'Exif ვერსია', //cpg1.4
+  'DateTimeOriginal' => 'რეალური თარიღი', //cpg1.4
+  'DateTimedigitized' => 'ციფრული თარიღი', //cpg1.4
+  'ComponentsConfiguration' => 'კომპონენტების კონფიგურაცია', //cpg1.4
+  'CompressedBitsPerPixel' => 'შეკუმშვა ბიტი/პიქსელი', //cpg1.4
+  'LightSource' => 'სინათლის წყარო', //cpg1.4
+  'ISOSetting' => 'ISO პარამეტრი', //cpg1.4
+  'ColorMode' => 'ფერის რეჟიმი', //cpg1.4
+  'Quality' => 'ხარისხი', //cpg1.4
+  'ImageSharpening' => 'გამკვეთრება', //cpg1.4
+  'FocusMode' => 'ფოკუსის რეჟიმი', //cpg1.4
+  'FlashSetting' => 'გაელვების პარამეტრები', //cpg1.4
+  'ISOSelection' => 'ISO არჩევანი', //cpg1.4
+  'ImageAdjustment' => 'ნახატის მორგება', //cpg1.4
+  'Adapter' => 'გადამყვანი', //cpg1.4
+  'ManualFocusDistance' => 'ხელოვნური ფოკუსური მანძილი', //cpg1.4
+  'DigitalZoom' => 'ციფრული მასშტაბი', //cpg1.4
+  'AFFocusPosition' => 'AF ფოკუსური მდგომარეობა', //cpg1.4
+  'Saturation' => 'სიმსუყე', //cpg1.4
+  'NoiseReduction' => 'ხმაურის ჩახშობა', //cpg1.4
+  'FlashPixVersion' => 'გაელვების ვერსია', //cpg1.4
+  'ExifImageWidth' => 'Exif ნახატის სიგანე', //cpg1.4
+  'ExifImageHeight' => 'Exif ნახატის სიმაღლე', //cpg1.4
+  'ExifInteroperabilityOffset' => 'Exif შუალედური წანაცვლება', //cpg1.4
+  'FileSource' => 'ფაილის წყარო', //cpg1.4
+  'SceneType' => 'სცენის ტიპი', //cpg1.4
+  'CustomerRender' => 'ასახვის საკუთარი მეთოდი', //cpg1.4
+  'ExposureMode' => 'ექსპოზიციის რეჟიმი', //cpg1.4
+  'WhiteBalance' => 'თეთრის ბალანსი', //cpg1.4
+  'DigitalZoomRatio' => 'ციფრული მასშტაბის ზომა', //cpg1.4
+  'SceneCaptureMode' => 'სცენის აღბეჭდვის რეჟიმი', //cpg1.4
+  'GainControl' => 'გაძლიერება', //cpg1.4
+  'Contrast' => 'კონტრასტი', //cpg1.4
+  'Sharpness' => 'სიმკვეთრე', //cpg1.4
+  'ManageExifDisplay' => 'Exif ეკრანის მართვა', //cpg1.4
+  'submit' => 'გაგზავნა', //cpg1.4
+  'success' => 'ინფორმაცია წარმატებით განახლდა.', //cpg1.4
+  'details' => 'დეტალები', //cpg1.4
+);
+
+$lang_display_comments = array(
+  'OK' => 'დიახ',
+  'edit_title' => 'ამ კომენტარის შეცვლა',
+  'confirm_delete' => 'ნამდვილად გსურთ ამ კომენტარის წაშლა?', //js-alert
+  'add_your_comment' => 'თქვენი კომენტარის დამატება',
+  'name'=>'სახელი',
+  'comment'=>'კომენტარი',
+  'your_name' => 'სტუმარი',
+  'report_comment_title' => 'ამ კომენტარის ადმინისთვის პატაკი', //cpg1.4
+);
+
+$lang_fullsize_popup = array(
+  'click_to_close' => 'დაწკაპეთ ნახატი ამ სარკმლის დასახურად',
+);
+
+}
+
+// ------------------------------------------------------------------------- //
+// File ecard.php
+// ------------------------------------------------------------------------- //
+
+if (defined('ECARDS_PHP') || defined('DISPLAYECARD_PHP')) $lang_ecard_php =array(
+  'title' => 'ბარათის გაგზავნა',
+  'invalid_email' => '<font color="red"><b>ყურადღება</b></font>: ელფოსტის მისამართი მცდარია:', //cpg1.4
+  'ecard_title' => 'თქვენთვის ბარათია, გამომგზავნი: %s',
+  'error_not_image' => 'ბარათის სახით მხოლოდ ნახატების გაგზავნა შეიძლება.',
+  'view_ecard' => 'თუ ბარათი მცდარადაა ნაჩვენები, დაწკაპეთ ეს ბმა', //cpg1.4
+  'view_ecard_plaintext' => 'ბარათის სანახავად მონიშნეთ და ჩასვით ეს მისამართი თქვენი ბრაუზერის მისამართების ზოლში:', //cpg1.4
+  'view_more_pics' => 'სხვა ნახატების ნახვა !', //cpg1.4
+  'send_success' => 'თქვენი ბარათი გაიგზავნა',
+  'send_failed' => 'უკაცრავად, სერვერი თქვენს ბარათს ვერ აგზავნის...',
+  'from' => 'ვისგან',
+  'your_name' => 'თქვენი სახელი',
+  'your_email' => 'თქვენი ელფოსტა',
+  'to' => 'ვის',
+  'rcpt_name' => 'ადრესატის სახელი',
+  'rcpt_email' => 'ადრესატის ელფოსტა',
+  'greetings' => 'მისალმება',
+  'message' => 'წერილი',
+  'ecards_footer' => 'გამგზავნი - %s, IP - %s, დრო - %s (გალერიის დრო)', //cpg1.4
+  'preview' => 'ბარათის ესკიზი', //cpg1.4
+  'preview_button' => 'ესკიზი', //cpg1.4
+  'submit_button' => 'ბარათის გაგზავნა', //cpg1.4
+  'preview_view_ecard' => 'შექმნის შემდეგ ეს ბარათის ალტერნატული ბმა გახდება. ესკიზებისთვის იგი არ გამოდგება.', //cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File report_file.php //cpg1.4
+// ------------------------------------------------------------------------- //
+
+if (defined('REPORT_FILE_PHP') || defined('DISPLAYREPORT_PHP')) $lang_report_php =array(
+  'title' => 'პატაკი ადმინთან', //cpg1.4
+  'invalid_email' => '<b>გაფრთხილება</b> : მცდარი ელფოსტის მისამართი !', //cpg1.4
+  'report_subject' => 'პატაკი - %s, გალერეა - %s', //cpg1.4
+  'view_report' => 'ალტერნატული ბმა პატაკის მცდარი ჩვენებისას', //cpg1.4
+  'view_report_plaintext' => 'პატაკის სანახავად დააკოპირეთ და ჩასვით ეს მისამართი თქვენი ბრაუზერის მისამართების ზოლში:', //cpg1.4
+  'view_more_pics' => 'გალერეა', //cpg1.4
+  'send_success' => 'თქვენი პატაკი გაიგზავნა', //cpg1.4
+  'send_failed' => 'ვწუხვართ, მაგრამ სერვერი თქვენს პატაკს ვერ აგზავნის...', //cpg1.4
+  'from' => 'ვისგან', //cpg1.4
+  'your_name' => 'თქვენი სახელი', //cpg1.4
+  'your_email' => 'თქვენი ელფოსტა', //cpg1.4
+  'to' => 'ვის', //cpg1.4
+  'administrator' => 'ადმინი/მოდერატორი', //cpg1.4
+  'subject' => 'თემა', //cpg1.4
+  'comment_field_name' => 'პატაკი კომენტარზე - "%s"', //cpg1.4
+  'reason' => 'მიზეზი', //cpg1.4
+  'message' => 'წერილი', //cpg1.4
+  'report_footer' => 'გაგზავნა - %s, IP - %s, თარიღი %s (გალერეის დროით)', //cpg1.4
+  'obscene' => 'უზრდელურია', //cpg1.4
+  'offensive' => 'შეურაცხმყოფელია', //cpg1.4
+  'misplaced' => 'უშინაარსოა/სხვა თემაა', //cpg1.4
+  'missing' => 'ამოვარდნილია', //cpg1.4
+  'issue' => 'შეცდომა/არ ჩანს', //cpg1.4
+  'other' => 'სხვა', //cpg1.4
+  'refers_to' => 'ფაილის პატაკი ეხება', //cpg1.4
+  'reasons_list_heading' => 'პატაკის მიზეზ(ებ)ი:', //cpg1.4
+  'no_reason_given' => 'მიზიზი არ მითითებულა', //cpg1.4
+  'go_comment' => 'გადასვლა კომენტარზე', //cpg1.4
+  'view_comment' => 'პატაკის სრული ჩვენება კომენტარებით', //cpg1.4
+  'type_file' => 'ფაილი', //cpg1.4
+  'type_comment' => 'კომენტარი', //cpg1.4
+  'invalid_data' => 'ანგარიშის მონაცემები, რომლის ნახვაც გსურთ დაზიანებულია თქვენი ელფოსტის კლიენტის მიერ. გადაამოწმეთ ბმის სისრულე.', //cpg1.4
+
+);
+
+// ------------------------------------------------------------------------- //
+// File editpics.php
+// ------------------------------------------------------------------------- //
+
+if (defined('EDITPICS_PHP')) $lang_editpics_php = array(
+  'pic_info' => 'ინფორმაცია',
+  'album' => 'ალბომი',
+  'title' => 'სათაური',
+  'filename' => 'ფაილის სახელი', //cpg1.4
+  'desc' => 'აღწერილობა',
+  'keywords' => 'საკვანძო სიტყვები',
+  'new_keyword' => 'ახალი საკვანძო სიტყვა', //cpg1.4
+  'new_keywords' => 'ნაპოვნია ახალი საკვანძო სიტყვა', //cpg1.4
+  'existing_keyword' => 'არსებული საკვანძო სიტყვა', //cpg1.4
+  'pic_info_str' => '%s &times; %s - %s კბ - ნახვა %s - ხმა %s',
+  'approve' => 'ფაილის თანხმობა',
+  'postpone_app' => 'თანხმობის გადადება',
+  'del_pic' => 'ფაილის წაშლა',
+  'del_all' => 'ყველა ფაილის წაშლა', //cpg1.4
+  'read_exif' => 'EXIF მონაცემთა კვლავ წაკითხვა',
+  'reset_view_count' => 'ჩვენებების მრიცხველის განულება',
+  'reset_all_view_count' => 'ყველა მრიცხველის განულება', //cpg1.4
+  'reset_votes' => 'ხმების განულება',
+  'reset_all_votes' => 'ყველა ხმის განულება', //cpg1.4
+  'del_comm' => 'კომენტარების წაშლა',
+  'del_all_comm' => 'ყველა კომენტარის წაშლა', //cpg1.4
+  'upl_approval' => 'ატვირთვის თანხმობა', //cpg1.4
+  'edit_pics' => 'ფაილების რედაქტირება',
+  'see_next' => 'შემდეგი ფაილების ნახვა',
+  'see_prev' => 'წინა ფაილების ნახვა',
+  'n_pic' => '%s ფაილი',
+  'n_of_pic_to_disp' => 'საჩვენებელი ფაილების რაოდენობა',
+  'apply' => 'ცვლილებების გამოყენება',
+  'crop_title' => 'გალერეის ნახატების რედაქტორი',
+  'preview' => 'ესკიზი',
+  'save' => 'ნახატის შენახვა',
+  'save_thumb' =>'შენახვა მინიატურად',
+  'gallery_icon' => 'ჩემს პიქტოგრამად მითითება', //cpg1.4
+  'sel_on_img' =>'არჩეული მთლიანად ნახატზე უნდა იყოს განთავსებული!', //js-alert
+  'album_properties' =>'ალბომის პარამეტრები', //cpg1.4
+  'parent_category' =>'ძირეული კატეგორია', //cpg1.4
+  'thumbnail_view' =>'ჩვენება მინიატურებით', //cpg1.4
+  'select_unselect' =>'ყველას მონიშვნა/მონიშვნის მოხსნა', //cpg1.4
+  'file_exists' => "დანიშნულების ფაილი '%s' უკვე არსებობს.", //cpg1.4
+  'rename_failed' => "გადარქმევა '%s' - '%s' ვერ მოხერხდა.", //cpg1.4
+  'src_file_missing' => "პირველწყარო ფაილი '%s' უმართებლოა.", // cpg 1.4
+  'mime_conv' => "ფაილის გარდაქმნა '%s' - '%s' ვერ მოხერხდა",//cpg1.4
+  'forb_ext' => 'ფაილის აკრძალული ტიპი.',//cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File faq.php
+// ------------------------------------------------------------------------- //
+
+if (defined('FAQ_PHP')) $lang_faq_php = array(
+  'faq' => 'ძირითადი შეკითხვები',
+  'toc' => 'საძიებელი',
+  'question' => 'შეკითხვა: ',
+  'answer' => 'პასუხი: ',
+);
+
+if (defined('FAQ_PHP')) $lang_faq_data = array(
+  'ძირითადი კითხვები',
+  array('რატომაა რეგისტრაცია აუცილებელი?', 'ადმინისტრაციას შეუძლია მოითხოვოს ან არ მოითხოვოს რეგისტრაცია.  რეგისტრაცია მონაწილეს დამატებით უფლებებს ანიჭებს: ფაილების ატვირთვა, რჩეული ფაილების საკუთარი სია, გამოსახულებათ შეფასებისა და კომენტირების შესაძლებლობა და ა.შ.', 'allow_user_registration', '1'),
+  array('როგორ შემიძლია დარეგისტრირება?', 'გადადით პუნქტზე &quot;რეგისტრაცია&quot; და მიუთითეთ აუცილებელი მონაცემები (სასურველია არაუცილებელი მონაცემების მითითებაც).<br />თუ ადმინისტრაცია რეგისტრაციის გააქტივებას ელფოსტით ითხოვს, თქვენს მითითებულ მისამართზე მიიღებთ წერილს თქვენი წევრობის გასააქტივებლად საჭირო ინსტრუქციებით.  საიტზე შესასვლელად თქვენი წევრობა უნდა გააქტივდეს.', 'allow_user_registration', '1'), //cpg1.4
+  array('როგორ შევიდე სისტემაში?', 'გადადით პუნქტზე &quot;შესვლა&quot; დამიუთითეთ მონაწილის თქვენი სახელი და პაროლი და თუ გსურთ მონიშნეთ &quot;ავტომატური შესვლა &quot;, რათა მომავალში სისტემაში შესვლისას სახელისა და პაროლის მითითება ხელახლა აღარ დაგჭირდეთ.<br /><b>მნიშვნელოვანია: ამ საიტიდან ნაჭდევების მიღება ნებადართული უნდა გქონდეთ.  მომავალში ამ საიტის ნაჭდევები არ უნდა წაიშალოს რათა &quot;ავტომატური შესვლა&quot;.</b> კვლავ მუშაობდეს', 'offline', 0),
+  array('რატომ ვერ შევდივარ სისტემაში?', 'გახსენით მოსული წერილი და დაწკაპეთ შესაბამისი ბმა?.  ეს ბმა თქვენს ანგარიშს ააქტივებს.  სხვა ტიპის პრობლემების შემთხვევაში დაუკავშირდით საიტის ადმინისტრაციას.', 'offline', 0),
+  array('როგორ მოვიქცე პაროლის დაკარგვის შემთხვევაში?', 'თუ საიტზე არის ბმა(&quot;პაროლი დამავიწყდა&quot;) გამოიყენეთ იგი.  წინააღმდეგ შემთხვევაში ახალი პაროლის მისაღებად ადმინისტრატორს დაუკავშირდით.', 'offline', 0),
+  //array('რა მოხდება თუ ელფოსტის მისამართი შევიცვალე?', 'უბრალოდ შედით საიტზე და შეცვლეთ თქვენი ელფოსტის მისამართი გვერდზე &quot;პროფილი&quot;', 'offline', 0),
+  array('როგორ შემიძლია ნახატის დამატება &quot;რჩეულებში&quot;?', 'დაწკაპეთ გამოსახალება და შემდეგ ბმა &quot;ინფორმაცია ნახატზე&quot; (<img src="images/info.gif" width="16" height="16" border="0" alt="ინფორმაცია ნახატზე" />), გადაფურცლეთ ქვემოთ და დაწკაპეთ &quot;რჩეულებში დამატება&quot;.<br />ადმინისტრატორის მიერ &quot;ინფორმაცია ნახატზე&quot; შესაძლოა თავიდანვე ჩართული იყოს.<br /><b>მნიშვნელოვანია: ნაჭდევების მიღება დაშვებული უნდა იყოს და ვმულები ამ საიტიდან არ უნდა წაიშალოს.', 'offline', 0),
+  array('როგორ შევაფასო ფაილი (რეიტინგი)?', 'დაწკაპეთ მინიატურა, გადადით ბოლოში და აირჩიეთ შეფასება.', 'offline', 0),
+  array('როგორ დავამატო ფაილის კომენტარი?', 'დაწკაპეთ მინიატურა, გადადით ბოლოში და დაამატეთ კომენტარი.', 'offline', 0),
+  array('როგორ ავტვირთო ფაილი?', 'გადადით პუნქტზე &quot;ატვირთვა;, და აირჩიეთ ალბომი ასატვირთად.  დაწკაპეთ &quot;ნუსხა&quot;, აირჩიეთ სასურველი ფაილი და დაწკაპეთ &quot;გახსნა&quot;  დაამატეთ სასურველი სათაური და აღწერილობა.  დაწკაპეთ &quot;გაგზავნა&quot;.<br /><br />გარდა ამისა, <b>Windows XP</b> მომხმარებლებს შეუძლია მრავალი ფაილის საკუთარ ალბომებში ერთდროული ატვირთვა XP Publishing მეგზურის გამოყენებით.<br />ინსტრუქციებისა და აუცილებელი ფაილის მისაღებად დაწკაპეთ <a href="xp_publish.php">ეს ბმა.</a>', 'allow_private_albums', 1),
+  array('სად უნდა ავტვირთო გამოსახულება?', 'ფაილის ატვირთვა შეგიძლიათ ალბომებში &quot;ჩემი გალერეადან&quot;. ადმინისტრატორს შეუძლია ნება დაგრთოთ ატვირთოთ ფაილები ძირითადი გალერეის ერთ ან რამდენიმე ალბომში.', 'allow_private_albums', 0),
+  array('რა ტიპისა და ზომის ფაილების ატვირთვაა შესაძლებელი?', 'შესაძლო ასატვირთი ფაილების ტიპსა და ზომას (jpg, png, და ა.შ.) წყვეტს ადმინისტრატორი.', 'offline', 0),
+  array('როგორ შემიძლია ალბომის შექმნა, გადარქმევა ან წაშლა &quot;ჩემს გალერეაში&quot;?', 'უნდა გადახვიდეთ &quot;ადმინისტრირების რეჟიმში&quot;.<br />გადახვიდეთ გვერდზე &quot;ალბომების შექმნა/მოწესრიგება&quot; და დაწკაპეთ &quot;ახალი&quot;. შეცვალეთ &quot;ახალი ალბომი&quot; სასურველი სახელით.<br />ასევე შეგიძლიათ გადაარქვათ სახელი გალერეის სხვა ალბომებსაც.<br />დაწკაპეთ &quot;ცვლილებების გამოყენება&quot;.', 'allow_private_albums', 1),
+  array('როგორ შემიძლია შევცვალო მონაწილეების მიერ ჩემი ალბომების ნახვის უფლებები?', 'უნდა გადახვიდეთ &quot;ადმინისტრირების რეჟიმში&quot;.<br />აირჩიოთ &quot;ჩემი ალბომების შეცვლა&quot;. პანელზე &quot;ალბომის განახლება&quot; მიუთითეთ სასურველი ალბომი.<br />აქ შეგიძლიათ ალბომის სათაურის, აღწერილობისა და მინიატურის შეცვლა. შეგიძლიათ შეზღუდოთ მონაწილეების მიერ დათვალიერების, კომენტარების დატოვებისა და შეფასების მიცემის უფლებები.<br />დაწკაპეთ &quot;ალბომის განახლება&quot;.', 'allow_private_albums', 1),
+  array('როგორ შემიძლია სხვა მონაწილეთა გალერეების დათვალიერება?', 'გადადით &quot;ალბომების სიაში&quot; და მიუთითეთ &quot;მონაწილეთა გალერეები&quot;.', 'allow_private_albums', 1),
+  array('რა არის ნაჭდევი?', 'ნაჭდევი გახლავთ მონაცემთა ჯგრო, რომელიც საიტიდან იგზავნება თქვენს კომპიუტერში შესანახად.<br />როგორც წესი, ეს ნაჭდევები მონაწილეეებს საიტის დატოვების შემდეგ მასზე დაბრუნებისას სახელისა და პაროლის მითითების გარეშე ავტომატური შესვლის შესაძლებლობას აძლევს.', 'offline', 0),
+  array('სად შემიძლია ამ პროგრამის მოპოვება ჩემი საიტისთვის?', 'Coppermine - ეს უფასო მულტიმედია გალერეის პროგრამაა რომელიც GNU GPL ლიცენზიით ვრცელდება.  მისი მრავალი ფუნქცია სხვადასხვა პლატფორმაზე მუშაობს.  დამატებითი ინფორმაციის მისაღებად მოინახულეთ <a href="http://coppermine-gallery.net/">Coppermine პროგრამის სათაო გვერდი</a>.', 'offline', 0),
+
+  'ნავიგაცია საიტში',
+  array('რა არის &quot;ალბომების სია&quot;?', 'მისი დაწკაპვისას გამოჩნდება მიმდინარე კატეგორიის ყველა ალბომი თითოეული ალბომის შესაბამისი ბმით. თუ რომელიმე კატეგორიაში არ ხართ, ნაჩვენები იქნება მთელი გალერეა თითოეული კატეგორიის შესაბამისი ბმით. კატეგორიის ბმები შესაძლოა მინიატურებიც იყოს.', 'offline', 0),
+  array('რა არის &quot;ჩემი გალერეა&quot;?', 'მონაწილეებს საკუთარი გალერეების შექმნისა და მათში ალბომების დამატების, წაშლის, შეცვლისა და მათში ფაილების ატვირთვის საშუალებას აძლევს.', 'allow_private_albums', 1), //cpg1.4
+  array('რა სხვაობაა &quot;ადმინისტრირების რეჟიმსა&quot; და &quot;მონაწილის რეჟიმს&quot; შორის?', 'ადმინისტრირების რეჟიმში მონაწილეს შეუძლია საკუთარი გალერეების შეცვლა (ადმინისტრატორისგან უფლების შემთხვევაში სხვა მონაწილეების გალერეებისაც).', 'allow_private_albums', 1),
+  array('რა არის &quot;ნახატის ატვირთვა&quot;?', 'მონაწილეს საშუალება ეძლევა ატვირთოს (ადმინისტრატორის მიერ განსაზღვრული ტიპისა და ზომის) ფაილი მონაწილის ან ადმინისტრატორის მიერ შერჩეულ გალერეაში.', 'offline', 0),
+  array('რა არის &quot;ბოლო ატვირთვები&quot;?', 'მისი დაწკაპვისას გამოჩნდება საიტზე ატვირთული ბოლო ფაილები.', 'offline', 0),
+  array('რა არის &quot;ბოლო კომენტარები&quot;?', 'მისი დაწკაპვისას გამოჩნდება ბოლო დამატებული კომენტარები და შესაბამისი ფაილები.', 'offline', 0),
+  array('რა არის &quot;ყველაზე პოპულარული&quot;?', 'მისი დაწკაპვისას გამოჩნდება ყველა მონაწილის მიერ ყველაზე ხშირად ნანახი ფაილები (მიუხედავად იმის ახაზზე არიან თუ არა).', 'offline', 0),
+  array('რა არის &quot;საუკეთესო რეიტინგი&quot;?', 'შესაძლებლობა გეძლევათ ნახოთ მონაწილეთა მიერ შეფასებული საუკეთესო რეიტინგის ფაილები.  ასევე საშუალო შეფასება/რეიტინგი.<br />მაგალითად, ხუთმა მონაწილემ შეაფასა <img src="images/rating4.gif" width="65" height="14" border="0" alt="" />: ფაილის შეფასება/რეიტინგი იქნება <img src="images/rating4.gif" width="65" height="14" border="0" alt="" />.<br />თუ ხუთმა მონაწილემ შეაფასა 1–დან 5–მდე (1,2,3,4,5), ფაილის ჯამური შეფასება/რეიტინგი იქნება <img src="images/rating3.gif" width="65" height="14" border="0" alt="" />. 1+2+3+4+5=15 15/5=3<br />რეიტინგის მნიშვნელობა გამომდინარეობს აქედან <img src="images/rating5.gif" width="65" height="14" border="0" alt="best" /> (საუკეთესო) <img src="images/rating0.gif" width="65" height="14" border="0" alt="worst" /> (ყველაზე ცუდი).', 'offline', 0),
+  array('რა არის &quot;ჩემი რჩეულები&quot;?', 'მონაწილეს რჩეული ფაილების თქვენს კომპიუტერში გამოგზავნილი ნაჭდევების სახით შენახვის შესაძლებლობა აქვს.', 'offline', 0),
+);
+
+
+// ------------------------------------------------------------------------- //
+// File forgot_passwd.php
+// ------------------------------------------------------------------------- //
+
+if (defined('FORGOT_PASSWD_PHP')) $lang_forgot_passwd_php = array(
+  'forgot_passwd' => 'პაროლის შეხსენება',
+  'err_already_logged_in' => 'თქვენ უკვე სისტემაში ხართ !',
+  'enter_email' => 'მიუთითეთ თქვენი ელფოსტა', //cpg1.4
+  'submit' => 'წინ',
+  'illegal_session' => 'პაროლის შეხსენების სეანსი მცდარია ან ვადა გაუვიდა.', //cpg1.4
+  'failed_sending_email' => 'პაროლის შეხსენების ელფოსტა ვერ იგზავნება!',
+  'email_sent' => 'წერილი თქვენი სახელითა და ახალი პაროლით გამოიგზავნა - %s', //cpg1.4
+  'verify_email_sent' => 'წერილი გაიგზავნა - %s. გთხოვთ გადაამოწმოთ ელფოსტა პროცესის დასასრულებლად.', //cpg1.4
+  'err_unk_user' => 'მითითებული მონაწილე არ არსებობს!',
+  'account_verify_subject' => '%s - ახალი პაროლის მოთხოვნა', //cpg1.4
+  'account_verify_body' => 'თქვენ ახალი პაროლი მოითხოვეთ. თუ გაგრძელება თქვენთვის გამოგზავნილი ახლაი პაროლით გსურთ, მიჰყევით შემდეგ ბმას:
+
+%s', //cpg1.4
+  'passwd_reset_subject' => '%s - თქვენი ახალი პაროლი', //cpg1.4
+  'passwd_reset_body' => 'ეს თქვენს მიერ მოთხოვნილი ახალი პაროლია:
+სახელი: %s
+პაროლი: %s
+დაწკაპეთ %s შესასვლელად.', //cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File groupmgr.php
+// ------------------------------------------------------------------------- //
+
+if (defined('GROUPMGR_PHP')) $lang_groupmgr_php = array(
+  'group_name' => 'ჯგუფის სახელი',
+  'permissions' => 'უფლებები', //cpg1.4
+  'public_albums' => 'საზოგადო ალბომების ატვირთვა', //cpg1.4
+  'personal_gallery' => 'პირადი გალერეა', //cpg1.4
+  'upload_method' => 'ატვირთვის მეთოდი', //cpg1.4
+  'disk_quota' => 'დისკის ქვოტა',
+  'rating' => 'შეფასება', //cpg1.4
+  'ecards' => 'ბარათები', //cpg1.4
+  'comments' => 'კომენტარები', //cpg1.4
+  'allowed' => 'ნებადართულია', //cpg1.4
+  'approval' => 'დამტკიცება', //cpg1.4
+  'boxes_number' => 'უჯრათა რაოდ.', //cpg1.4
+  'variable' => 'ცვლადი', //cpg1.4
+  'fixed' => 'ფიქსირებული', //cpg1.4
+  'apply' => 'ცვლილებების გამოყენება',
+  'create_new_group' => 'ახალი ჯგუფის შექმნა',
+  'del_groups' => 'შერჩეული ჯგუფების წაშლა',
+  'confirm_del' => 'ყურადღება, ჯგუფის წაშლისას ამ ჯგუფის წევრები ავტომატურად გაბადავლენ ჯგუფში \'რეგისტრირებული\'!\n\nგნებავთ გაგრძელე?', //js-alert
+  'title' => 'ჯგუფების მართვა',
+  'num_file_upload' => 'ფაილის ატვირთვის უჯრები', //cpg1.4
+  'num_URI_upload' => 'URI ატვირთვის უჯრები', //cpg1.4
+  'reset_to_default' => 'ნაგულისხმები სახელის აღდგენა (%s) - რეკომენდებულია!', //cpg1.4
+  'error_group_empty' => 'ჯგუფის ცხრილი ცარიელია !<br /><br />შეიქმნა საწყისი ჯგუფი, გთხოვდ ეს გვერდი განაახლოთ', //cpg1.4
+  'explain_greyed_out_title' => 'რატომაა ეს მწკრივი ნაცრისფერი?', //cpg1.4
+  'explain_guests_greyed_out_text' => 'ამ ჯგუფის პარამეტრებს ვერ შეცვლით, რადგან კონფიგურაციის გვერდზე პარამეტრისთვის &quot; სტუმრების (ან ანონიმურების) დაშვება&quot; მიუთითეთ &quot;არა&quot;. ვერცერთი სტუმარი (%s ჯგუფის წევრი) შესვლის გარდა ვერაფერს შეძლებს; შესაბამისად, ჯგუფის პარამეტრები მათ არ ეხებათ.', //cpg1.4
+  'explain_banned_greyed_out_text' => '%s ჯგუფის პარამეტრებს ვერ შეცვლით, რადგან მათ წევრებს ისედაც არაფრის უფლება აქვთ.', //cpg1.4
+  'group_assigned_album' => 'მინიჭებული ალბომ(ებ)ი', //cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File index.php
+// ------------------------------------------------------------------------- //
+
+if (defined('INDEX_PHP')){
+
+$lang_index_php = array(
+  'welcome' => 'მოგესალმებით!',
+);
+
+$lang_album_admin_menu = array(
+  'confirm_delete' => 'ნამდვილად გსურთ ამ ალბომის წაშლა? \\nყველა ფაილი და კომენტარი ასევე წაიშლება.', //js-alert
+  'delete' => 'წაშლა',
+  'modify' => 'პარამეტრები',
+  'edit_pics' => 'ფაილების რედაქტირება',
+);
+
+$lang_list_categories = array(
+  'home' => 'თავფურცელი',
+  'stat1' => '<b>[pictures]</b> ფაილი <b>[albums]</b> ალბომში და <b>[cat]</b> კატეგორიაში <b>[comments]</b> კომენტარით გახსნილია <b>[views]</b>-ჯერ',
+  'stat2' => '<b>[pictures]</b> ფაილი <b>[albums]</b> ალბომში გახსნილია <b>[views]</b>-ჯერ',
+  'xx_s_gallery' => '%s - პირადი ალბომი',
+  'stat3' => '<b>[pictures]</b> ფაილი <b>[albums]</b> ალბომში <b>[comments]</b> კომენტარით გახსნილია <b>[views]</b>-ჯერ',
+);
+
+$lang_list_users = array(
+  'user_list' => 'მონაწილეთა სია',
+  'no_user_gal' => 'მონაწილეთა გალერეა არ არის',
+  'n_albums' => 'ალბომი: %s',
+  'n_pics' => 'ფაილი: %s',
+);
+
+$lang_list_albums = array(
+  'n_pictures' => 'ფაილი: %s',
+  'last_added' => '. ბოლო: %s',
+  'n_link_pictures' => 'ბმის ფაილები: %s', //cpg1.4
+  'total_pictures' => 'ფაილი სულ: %s', //cpg1.4
+);
+
+}
+
+// ------------------------------------------------------------------------- //
+// File keywordmgr.php //cpg1.4
+// ------------------------------------------------------------------------- //
+
+if (defined('KEYWORDMGR_PHP')) $lang_keywordmgr_php = array(
+  'title' => 'საკვანძო სიტყვების მართვა', //cpg1.4
+  'edit' => 'რედაქტირება', //cpg1.4
+  'delete' => 'წაშლა', //cpg1.4
+  'search' => 'ძიება', //cpg1.4
+  'keyword_test_search' => 'ძიება ახალ სარკმელში - %s', //cpg1.4
+  'keyword_del' => 'საკვანძო სიტყვის წაშლა - %s', //cpg1.4
+  'confirm_delete' => 'ნამდვილად გსურთ %s საკვანძო სიტყვის მთელი გალერეიდან წაშლა?', //cpg1.4  // js-alert
+  'change_keyword' => 'საკვანძო სიტყვის შეცვლა', //cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File login.php
+// ------------------------------------------------------------------------- //
+
+if (defined('LOGIN_PHP')) $lang_login_php = array(
+  'login' => 'შესვლა',
+  'enter_login_pswd' => 'მიუთითეთ მონაწილის სახელი და პაროლი',
+  'username' => 'სახელი',
+  'password' => 'პაროლი',
+  'remember_me' => 'ავტომატური შესვლა',
+  'welcome' => 'მოგესალმებით %s',
+  'err_login' => '*** სისტემაში ვერ შევდივარ.  სცადეთ კვლავ ***',
+  'err_already_logged_in' => 'თქვენ უკვე სისტემაშI ხართ!',
+  'forgot_password_link' => 'პაროლი დაგავიწყდათ?',
+  'cookie_warning' => 'თქვენი ბრაუზერის გაფრთხილება არ მიიღოს სკრიპტის ნაჭდევები', //cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File logout.php
+// ------------------------------------------------------------------------- //
+
+if (defined('LOGOUT_PHP')) $lang_logout_php = array(
+  'logout' => 'გამოსვლა',
+  'bye' => 'ნახვამდის %s',
+  'err_not_loged_in' => 'სისტემაში არ შესულხართ!',
+);
+
+// ------------------------------------------------------------------------- //
+// File minibrowser.php  //cpg1.4
+// ------------------------------------------------------------------------- //
+
+if (defined('MINIBROWSER_PHP')) $lang_minibrowser_php = array(
+  'close' => 'დახურვა', //cpg1.4
+  'submit' => 'დიახ', //cpg1.4
+  'up' => 'ერთი დონით ზემოთ', //cpg1.4
+  'current_path' => 'მიმდინარე გეზი', //cpg1.4
+  'select_directory' => 'გთხოვთ დასტა აირჩიოთ', //cpg1.4
+  'click_to_close' => 'დაწკაპეთ ნახატი ამ სარკმლის დასახურად',
+);
+
+// ------------------------------------------------------------------------- //
+// File modifyalb.php
+// ------------------------------------------------------------------------- //
+
+if (defined('MODIFYALB_PHP')) $lang_modifyalb_php = array(
+  'upd_alb_n' => 'ალბომის განახლება -> %s',
+  'general_settings' => 'ძირითადი პარამეტრები',
+  'alb_title' => 'ალბომის სათაური',
+  'alb_cat' => 'ალბომის კატეგორია',
+  'alb_desc' => 'ალბომის აღწერილობა',
+  'alb_keyword' => 'ალბომის საკვანძო სიტყვა', //cpg1.4
+  'alb_thumb' => 'ალბომის მინიატურა',
+  'alb_perm' => 'ამ ალბომის წვდომის უფლებები',
+  'can_view' => 'ალბომის დათვალიერება შეუძლიათ',
+  'can_upload' => 'მნახველებს შეუძლიათ ფაილების ატვირთვა',
+  'can_post_comments' => 'მნახველებს შეუძლიათ კომენტარების გაკეთება',
+  'can_rate' => 'მნახველებს შეუძლიათ შეფასება',
+  'user_gal' => 'მონაწილის გალერეა',
+  'no_cat' => '* კატეგორიის გარეშე *',
+  'alb_empty' => 'ალბომი ცარიელია',
+  'last_uploaded' => 'ბოლო ჩატვირთული ფაილი',
+  'public_alb' => 'ყველა (საზოგადო ალბომი)',
+  'me_only' => 'მხოლოდ მე',
+  'owner_only' => 'მხოლოდ ალბომის მფლობელი (%s)',
+  'groupp_only' => '\'%s\' ჯგუფის წევრი',
+  'err_no_alb_to_modify' => 'მონაცემთა ბაზაში არცერთი ალბომის შეცვლა არ შეგიძლიათ.',
+  'update' => 'ალბომის განახლება',
+  'reset_album' => 'ალბომის განულება', //cpg1.4
+  'reset_views' => 'ნახვათა მრიცხველის განულება - &quot;0&quot; ალბომში %s', //cpg1.4
+  'reset_rating' => 'ყველა ფაილის შეფასების განულება - %s', //cpg1.4
+  'delete_comments' => 'ყველა კომენტარის წაშლა - %s', //cpg1.4
+  'delete_files' => 'ყველა ფაილის %sშეუქცევადად%s წაშლა - %s', //cpg1.4
+  'views' => 'ნახვა', //cpg1.4
+  'votes' => 'ხმა', //cpg1.4
+  'comments' => 'კომენტარი', //cpg1.4
+  'files' => 'ფაილი', //cpg1.4
+  'submit_reset' => 'ცვლილებების გაგზავნა', //cpg1.4
+  'reset_views_confirm' => 'დარწმუნებული ვარ', //cpg1.4
+  'notice1' => '(*) დამოკიდებულია %sჯგუფების%s პარამეტრებზე',  //cpg1.4 //(do not translate %s!)
+  'alb_password' => 'ალბომის პაროლი', //cpg1.4
+  'alb_password_hint' => 'ალბომის პაროლის მინიშნება', //cpg1.4
+  'edit_files' =>'ფაილების რედაქტირება', //cpg1.4
+  'parent_category' =>'ძირეული კატეგორია', //cpg1.4
+  'thumbnail_view' =>'ჩვენება მინიატურებით', //cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File phpinfo.php
+// ------------------------------------------------------------------------- //
+
+if (defined('PHPINFO_PHP')) $lang_phpinfo_php = array(
+  'php_info' => 'PHP მონაცემები',
+  'explanation' => 'ეს გვერდი შექმნილია PHP ფუნქციით <a href="http://www.php.net/phpinfo">phpinfo()</a>, რომელიც გალერეაშია ჩადგმული (ჩასწორება მარჯვენა მხრიდან).',
+  'no_link' => 'თქვენი PHP მონაცემების სხვებისთვის ჩვენება შესაძლოა უსაფრთხო არ იყოს, ამიტომ ეს გვერდი მხოლოდ მაშინ გამოჩნდება თუ სისტემაში შესული ხართ როგორც ადმინი. ამ გვერდის ბმის სხვებისთვის გაგზავნა არ შეიძლება.',
+);
+
+// ------------------------------------------------------------------------- //
+// File picmgr.php //cpg1.4
+// ------------------------------------------------------------------------- //
+if (defined('PICMGR_PHP')) $lang_picmgr_php = array(
+  'pic_mgr' => 'ნახატების მმართველი', //cpg1.4
+  'select_album' => 'ალბომის არჩევა', //cpg1.4
+  'delete' => 'წაშლა', //cpg1.4
+  'confirm_delete1' => 'ნამდვილად გსურთ ამ ნახატის წაშლა ?', //cpg1.4
+  'confirm_delete2' => '\nნახატი შეუქცევადად წაიშლება.', //cpg1.4
+  'apply_modifs' => 'ცვლილებების გამოყენება', //cpg1.4
+  'confirm_modifs' => 'ცვლილებების დასტური', //cpg1.4
+  'pic_need_name' => 'ნახატს სახელი ესაჭიროება !', //cpg1.4
+  'no_change' => 'თქვენ არაფერი შეგიცვლიათ !', //cpg1.4
+  'no_album' => '* ალბომი არაა *', //cpg1.4
+  'explanation_header' => 'დალაგების საკუთარი რიგი, რომლის მითითებაც ამ გვერდზე შეგიძლიათ გაითვალისწინება მხოლოდ მაშინ თუ', //cpg1.4
+  'explanation1' => 'ადმინი "ფაილების სორტირების ნაგულისხმები რიგი" კონფიგურაციაში მიუთითებს "პოზიცია [აღმავალი]" ან "პოზიცია [დაღმავალი]" (გლობალური პარამეტრი ყველა მონაწილისთვის, რომელთაც სორტირების სხვა ინდივიდუალური წესი არ შეურჩევიათ)', //cpg1.4
+  'explanation2' => 'მონაწილე მიუთითებს "პოზიცია [აღმავალი]" ან "პოზიცია [დაღმავალი]" მინიატურების გვერდზე (მონაწილის პარამეტრი)', //cpg1.4
+);
+
+
+// ------------------------------------------------------------------------- //
+// File pluginmgr.php //cpg1.4
+// ------------------------------------------------------------------------- //
+
+if (defined('PLUGINMGR_PHP')){
+
+$lang_pluginmgr_php = array(
+  'confirm_uninstall' => 'ნამდვილად გსურთ ამ მოდულის ამოღება', //cpg1.4
+  'confirm_delete' => 'ნამდვილად გსურთ ამ მოდულის წაშლა', //cpg1.4
+  'pmgr' => 'მოდულების მმართველი', //cpg1.4
+  'name' => 'სახელი', //cpg1.4
+  'author' => 'ავტორი', //cpg1.4
+  'desc' => 'აღწერილობა', //cpg1.4
+  'vers' => 'v', //cpg1.4
+  'i_plugins' => 'ჩადგმული მოდულები', //cpg1.4
+  'n_plugins' => 'არჩადგმული მოდულები', //cpg1.4
+  'none_installed' => 'არაფერია ჩადგმული', //cpg1.4
+  'operation' => 'ოპერაცია', //cpg1.4
+  'not_plugin_package' => 'ატვირთული ფაილი მოდული არ გახლავთ.', //cpg1.4
+  'copy_error' => 'შეცდომა პაკეტის მოდულების ტასტაში კოპირებისას.', //cpg1.4
+  'upload' => 'ატვირთვა', //cpg1.4
+  'configure_plugin' => 'მოდულის გამართვა', //cpg1.4
+  'cleanup_plugin' => 'მოდულის გასუფთავება', //cpg1.4
+);
+}
+
+// ------------------------------------------------------------------------- //
+// File ratepic.php
+// ------------------------------------------------------------------------- //
+
+if (defined('RATEPIC_PHP')) $lang_rate_pic_php = array(
+  'already_rated' => 'უკაცრავად, მაგრამ ეს ფაილი უკვე შეაფასეთ',
+  'rate_ok' => 'თქვენი შეფასება გათვალისწინებულია',
+  'forbidden' => 'თქვენ გეკრძალებათ საკუთარი ფაილების შეფასება.',
+);
+
+// ------------------------------------------------------------------------- //
+// File register.php & profile.php
+// ------------------------------------------------------------------------- //
+
+if (defined('REGISTER_PHP') || defined('PROFILE_PHP')) {
+
+$lang_register_disclamer = <<<EOT
+მიუხედავად იმისა, რომ {SITE_NAME} საიტის ადმინისტრატორები ცდილობენ რაც შეიძლება სწრაფად ამოიღონ ან შეცვალონ უცენზურო და მიუღებელი ინფორმაცია, ყველა გამოხმაურების თვალმიდევნება შეუძლებელია.  ამგვარად, უნდა აღიაროთ და დაგვეთანხმოთ, რომ ყველა გამოგზავნილი შეტყობინება ასახავს მათი ავტორების და არა საიტის ადმინისტრაციის აზრს (გარდა ადმინისტრაციის მიერ განთავსებული შეტყობინებებისა) და ადმინისტრაცია პასუხს ვერ აგებს მათ შინაარსზე.<br />
+<br />
+თქვენ ეთანხმებით, რომ არ განათავსოთ შეურაცხმყოფელი, მუქარის, ცილისმწამებლური, პორნოგრაფიული და სხვა მსგავსი ტიპის მასალები.  ასევე ეროვნული შუღლის გაღვივების და კანონსაწინააღმდეგო მოწოდებები.  ასევე ეთანხმებით, რომ {SITE_NAME} საიტის სუპერვიზორს, ადმინისტრაციასა და მოდერატორებს თქვენი მსგავსი მასალის ამოშლის ან რედაქტირების უფლება აქვთ.  როგორც მონაწილე თქვენ ეთანხმებით, რომ თქვენი მიერ განთავსებული მონაცემები მონაცემთა ბაზაში შეინახება.  თუმცა ეს მონაცემები ვერ მიეწოდება მესამე პირებს თქვენი თანხმობის გარეშე.  ამავე დროს, ადმინისტრაცია ვერ იქნება პასუხისმგებელი ამ მასალების გახმაურებისა ჰაკერობის შემთხვევაში.<br />
+<br />
+ეს საიტი თქვენს კომპიუტერში ინფორმაციის შესანახად ნაჭდევებს იყენებს.  ეს ნაჭდევები არ შეიცვს თქვენს მიერ შეტანილ ინფორმაციას და მხოლოდ საიტის უკეთ მუშაობას ემსახურება.  თქვენი ელფოსტა გამოიყენება რეგისტრაციის გასააქტივებლად და დავიწყების შემთხვევაში ახალი პაროლის გამოსაგზავნად.<br />
+<br />
+დაწკაპვით 'ვეთანხმები', თქვენ გამოხატავთ თანხმობას ამ პირობებზე.<br />
+EOT;
+
+$lang_register_php = array(
+  'page_title' => 'მონაწილეების რეგისტრაცია',
+  'term_cond' => 'რეგისტრაციის პირობები',
+  'i_agree' => 'ვეთანხმები',
+  'submit' => 'რეგისტრაციის თანხმობა',
+  'err_user_exists' => 'თქვენ მიერ არჩეული მონაწილის სახელი (თიკუნი)უკვე გამოიყენება.  გთხოვთ აირჩიოთ სხვა',
+  'err_password_mismatch' => 'პაროლები არ ემთხვევა, გთხოვთ კიდევ ერთხელ მიუთითოთ.',
+  'err_uname_short' => 'მონაწილის სახელი (თიკუნი) არანაკლებ ორ სიმბოლოს უნდა შეიცავდეს',
+  'err_password_short' => 'პაროლი არანაკლებ ორ სიმბოლოს უნდა შეიცავდეს',
+  'err_uname_pass_diff' => 'მონაწილის სახელი (თიკუნი) და პაროლი უნდა განსხვავდებოდეს',
+  'err_invalid_email' => 'ელფოსტის მისამართის მცდარი ფორმატი',
+  'err_duplicate_email' => 'ელფოსტის ეს მისამართი სხვა მონაწილის მიერ გამოიყენება',
+  'enter_info' => 'რეგისტრაციის მონაცემები',
+  'required_info' => 'შესავსებად აუცილებელი ველები',
+  'optional_info' => 'შესავსებად არააუცილებელი ველები',
+  'username' => 'სახელი',
+  'password' => 'პაროლი',
+  'password_again' => 'პაროლის გადამოწმება',
+  'email' => 'ელფოსტა',
+  'location' => 'ადგილმდებარეობა',
+  'interests' => 'ინტერესები',
+  'website' => 'ვებგვერდი',
+  'occupation' => 'თანამდებობა',
+  'error' => 'შეცდომა',
+  'confirm_email_subject' => '%s - რეგისტრაციის დასტური',
+  'information' => 'ინფორმაცია',
+  'failed_sending_email' => 'რეგისტრაციის დასტურის ელფოსტა ვერ იგზავნება!',
+  'thank_you' => 'გმადლობთ რეგისტრაციისთვის.<br /><br />წერილი ინფორმაციით თუ როგორ გაააქტივოთ ანგარიში გამოიგზავნა თქვენს მიერ მითითებულ ელფოსტის მისამართზე.',
+  'acct_created' => 'თქვენი ანგარიში შეიქმნა.  სისტემაში შესვლა შეგიძლიათ სახელისა და პაროლის ჩამოყენებით.',
+  'acct_active' => 'თქვენი ანგარიში გააქტივდა.  სისტემაში შესვლა შეგიძლიათ სახელისა და პაროლის ჩამოყენებით.',
+  'acct_already_act' => 'ანგარიში უკვე გააქტივებულია!', //cpg1.4
+  'acct_act_failed' => 'ეს ანგარიში ვერ გააქტივდება !',
+  'err_unk_user' => 'მითითებული მონაწილე არ არსებობს!',
+  'x_s_profile' => '%s მონაწილის პროფილი',
+  'group' => 'ჯგუფი',
+  'reg_date' => 'დარეგისტრირდა',
+  'disk_usage' => 'გამოყენებული ადგილი დისკზე',
+  'change_pass' => 'პაროლის შეცვლა',
+  'current_pass' => 'მიმდინარე პაროლი',
+  'new_pass' => 'ახალი პაროლი',
+  'new_pass_again' => 'ახალი პაროლის დასტური',
+  'err_curr_pass' => 'მიმდინარე პაროლი მცდარია',
+  'apply_modif' => 'ცვლილებების გამოყენება',
+  'change_pass' => 'ჩემი პაროლის შეცვლა',
+  'update_success' => 'თქვენი პროფილი განახლდა',
+  'pass_chg_success' => 'თქვენი პაროლი შეიცვალა',
+  'pass_chg_error' => 'თქვენი პაროლი არ შეცვლილა',
+  'notify_admin_email_subject' => '%s - რეგისტრაციის შეტყობინება',
+  'last_uploads' => 'ბოლო ატვირთული ფაილი.<br />დაწკაპეთ ყველა ატვირთვის სანახავად -', //cpg1.4
+  'last_comments' => 'ბოლო კომენტარი.<br />დაწკაპეთ ყველა კომენტარის სანახავად -', //cpg1.4
+  'notify_admin_email_body' => 'ახალი მონაწილე "%s" დარეგისტრირდა ჩვენს გალერეაში',
+  'pic_count' => 'ფაილი აიტვირთა', //cpg1.4
+  'notify_admin_request_email_subject' => '%s - რეგისტრაციის მოთხოვნა', //cpg1.4
+  'thank_you_admin_activation' => 'გმადლობთ.<br /><br />ანგარისშის გააქტივების თქვენი მოთხოვნა ადმინს გადაეგზავნა. დაელოდეთ დამტკიცების წერილს.', //cpg1.4
+  'acct_active_admin_activation' => 'ანგარიში გააქტივდა და მონაწილეს წერილი გაეგზავნა.', //cpg1.4
+  'notify_admin_email_body' => 'თქვენს გალერეაში დარეგისტრირდა ახალი მონაწილე "%s"',
+);
+
+$lang_register_confirm_email = <<<EOT
+გმადლობთ რეგისტრაციისთვის - {SITE_NAME}
+
+იმისათვის, რომ გააქტივოთ თქვენი ანგარიში "{USER_NAME}" სახელით, მიჰყევით ქვედა ბმას ან დააკოპირეთ და ჩასვით იგი თქვენს ბრაუზერში.
+
+<a href="{ACT_LINK}">{ACT_LINK}</a>
+
+პატივისცემით,
+
+{SITE_NAME} გუნდი
+
+EOT;
+
+$lang_register_approve_email = <<<EOT
+ახალი მონაწილე "{USER_NAME}" დარეგისტრირდა ჩვენს გალერეაში.
+
+იმისათვის, რომ გააქტივოთ თქვენი ანგარიში "{USER_NAME}" სახელით, მიჰყევით ქვედა ბმას ან დააკოპირეთ და ჩასვით იგი თქვენს ბრაუზერში.
+
+<a href="{ACT_LINK}">{ACT_LINK}</a>
+
+EOT;
+
+$lang_register_activated_email = <<<EOT
+თქვენი ანგარიში დამტკიცდა და გააქტივდა.
+
+სისტემაში <a href="{SITE_LINK}">{SITE_LINK}</a> შესვლა შეგიძლიათ სახელით - "{USER_NAME}"
+
+
+პატივისცემით,
+
+{SITE_NAME} გუნდი
+
+EOT;
+}
+
+// ------------------------------------------------------------------------- //
+// File reviewcom.php
+// ------------------------------------------------------------------------- //
+
+if (defined('REVIEWCOM_PHP')) $lang_reviewcom_php = array(
+  'title' => 'კომენტარის დათვალიერება',
+  'no_comment' => 'კომენტარი არ არსებობს',
+  'n_comm_del' => 'წაიშალა %s კომენტარი',
+  'n_comm_disp' => 'კომენტარების რაოდენობა საჩვენებლად',
+  'see_prev' => 'წინას ნახვა',
+  'see_next' => 'შემდეგის ნახვა',
+  'del_comm' => 'მონიშნული კომენტარების წაშლა',
+  'user_name' => 'სახელი', //cpg1.4
+  'date' => 'თარიღი', //cpg1.4
+  'comment' => 'კომენტარი', //cpg1.4
+  'file' => 'ფაილი', //cpg1.4
+  'name_a' => 'სახელი [აღმავალი]', //cpg1.4
+  'name_d' => 'სახელი [დაღმავალი]', //cpg1.4
+  'date_a' => 'თარიღი [აღმავალი]', //cpg1.4
+  'date_d' => 'თარიღი [დაღმავალი]', //cpg1.4
+  'comment_a' => 'კომენტარი [აღმავალი]', //cpg1.4
+  'comment_d' => 'კომენტარი [დაღმავალი]', //cpg1.4
+  'file_a' => 'ფაილი [აღმავალი]', //cpg1.4
+  'file_d' => 'ფაილი [დაღმავალი]', //cpg1.4
+);
+
+
+// ------------------------------------------------------------------------- //
+// File search.php                                                           //
+// ------------------------------------------------------------------------- //
+
+
+if (defined('SEARCH_PHP')){
+
+$lang_search_php = array(
+  'title' => 'ფაილთა კოლექციის ძიება', //cpg1.4
+  'submit_search' => 'ძიება', //cpg1.4
+  'keyword_list_title' => 'საკვანძო სიტყვათა სია', //cpg1.4
+  'keyword_msg' => 'ჩამონათვალი ყველას არ მოიცავს. იგი არ შეიცავს სიტყვებს ფოტოების სათაურებისა და აღწერილობებიდან. სცადეთ ძიება სრულ ტექსტში.',  //cpg1.4
+  'edit_keywords' => 'საკვანძო სიტყვათა რედაქტირება', //cpg1.4
+  'search in' => 'ძიება აქ:', //cpg1.4
+  'ip_address' => 'IP მისამართი', //cpg1.4
+  'fields' => 'ძიება', //cpg1.4
+  'age' => 'ასაკი', //cpg1.4
+  'newer_than' => 'უფრო ახალი ვიდრე', //cpg1.4
+  'older_than' => 'უფრო ძველი ვიდრე', //cpg1.4
+  'days' => 'დღე', //cpg1.4
+  'all_words' => 'ყველა სიტყვა (AND)', //cpg1.4
+  'any_words' => 'რომელიმე სიტყვა (OR)', //cpg1.4
+);
+
+$lang_adv_opts = array(
+  'title' => 'სათაური', //cpg1.4
+  'caption' => 'წარწერა', //cpg1.4
+  'keywords' => 'საკვანძო სიტყვები', //cpg1.4
+  'owner_name' => 'მფლობელი', //cpg1.4
+  'filename' => 'ფაილის სახელი', //cpg1.4
+);
+
+}
+
+// ------------------------------------------------------------------------- //
+// File searchnew.php
+// ------------------------------------------------------------------------- //
+
+if (defined('SEARCHNEW_PHP')) $lang_search_new_php = array(
+  'page_title' => 'ახალი ფაილების ძიება',
+  'select_dir' => 'დასტის მითითება',
+  'select_dir_msg' => 'ეს ფუნქცია FTP სერვერზე ატვირთული რამდენი ფაილის ერთდროულად დამატების საშუალებას გაძლევთ.<br /><br />მიუთითეთ ატვირთული ფაილების დასტა.', //cpg1.4
+  'no_pic_to_add' => 'დასამატებელი ფაილები არ არის',
+  'need_one_album' => 'ამ ფუნქციის გამოსაყენებლად გესაჭიროებათ ერთი ალბომი მაინც',
+  'warning' => 'გაფრთხილება',
+  'change_perm' => 'სკრიპტი ვერ წერს ამ დასტაში, ფაილების დასამატებლად უნდა მიუთითოთ უფლებები 755 ან 777 !',
+  'target_album' => '<b>ფაილების აქედან &quot;</b>%s<b>&quot; აქ </b>%s გადმოტანა',
+  'folder' => 'დასტა',
+  'image' => 'ფაილი',
+  'album' => 'ალბომი',
+  'result' => 'შედეგი',
+  'dir_ro' => 'არაჩაწერადია. ',
+  'dir_cant_read' => 'არაკითხვადია. ',
+  'insert' => 'ფაილების გალერეაში დამატება',
+  'list_new_pic' => 'ახალი ფაილების სია',
+  'insert_selected' => 'შერჩეული ფაილების დამატება',
+  'no_pic_found' => 'ახალი ფაილები ვერ მოიძებნა',
+  'be_patient' => 'გთხოვთ მოითმინოთ, ფაილების დასამატებლად სკრიპტს დრო ესაჭიროება',
+  'no_album' => 'ალბომი არ მითითებულა',
+  'result_icon' => 'დაწკაპეთ დეტალებისთვის ან გასაახლებლად',  //cpg1.4
+  'notes' =>  '<ul>'.
+                          '<li><b>OK</b> : ნიშნავს, რომ ფაილი წარმატებით დაემატა'.
+                          '<li><b>DP</b> : ნიშნავს, რომ ფაილი ასლია და მონაცემთა ბაზაში უკვე არსებობს'.
+                          '<li><b>PB</b> : ნიშნავს, რომ ფაილი ვერ დაემატება.  გადაამოწმეთ თქვენი კონფიგურაცია და დასტებში დაშვების უფლებები'.
+                          '<li><b>NA</b> : ნიშნავს, რომ ფაილების ალბომი არ მიგითითებიათ, დაწკაპეთ \'<a href="javascript:history.back(1)">უკან</a>\' მიუთითეთ ალბომი. თუ ალბომი არ გაქვთ ჯერ <a href="albmgr.php">შექმენით ერთი მაინც</a></li>'.
+                          '<li>თუ OK, DP, PB \'ნიშნები\' დაწკაპეთ დაზიანებული ფაილი PHP–ის შეცდომების სანახავად'.
+                          '<li>თვენი ბროუზერში დროის ზღვრის გადაცილების შემთხვევაში დაწკაპეთ განახლება'.
+                          '</ul>',
+  'select_album' => 'ალბომის არჩევა',
+  'check_all' => 'ყველას მონიშვნა',
+  'uncheck_all' => 'მონიშვნის მოხსნა',
+  'no_folders' => 'ჯერჯერობით "ალბომების" დასტაში სხვა დასტები არაა. გადაამოწმეთ, რომ დასტაში "ალბომები" შექმნილია ერთი საკუთარი დასტა მაინც და ftp-ს საშუალებით ატვირთეთ ფაილები მასში. თქვენ არ უნდ ატვირთოთ "userpics" ან "edit" დასტებში - შიდა მოხმარების სარეზერვო http ატვირთვებისთვის.', //cpg1.4
+   'albums_no_category' => 'ალბომები კატეგორიის გარეშე', //cpg1.4 // album pulldown mod, added by frogfoot
+  'personal_albums' => '* პირადი ალბომები', //cpg1.4 // album pulldown mod, added by frogfoot
+  'browse_batch_add' => 'ჩვენება ნუსხის სახით (რეკომენდებულია)', //cpg1.4
+  'edit_pics' => 'ფაილების რედაქტირება', //cpg1.4
+  'edit_properties' => 'ალბომის პარამეტრები', //cpg1.4
+  'view_thumbs' => 'ჩვენება მინიატურებით', //cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File stat_details.php //cpg1.4
+// ------------------------------------------------------------------------- //
+
+if (defined('STAT_DETAILS_PHP')) $lang_stat_details_php = array(
+  'show_hide' => 'ამ სვეტის ჩვენება/დამალვა', //cpg1.4
+  'vote' => 'ხმის მიცემის დეტალები', //cpg1.4
+  'hits' => 'ნახვის დეტალები', //cpg1.4
+  'stats' => 'ხმის მიცემის სტატისტიკა', //cpg1.4
+  'sdate' => 'თარიღი', //cpg1.4
+  'rating' => 'შეფასება', //cpg1.4
+  'search_phrase' => 'ფრაზის ძიება', //cpg1.4
+  'referer' => 'დამოწმება', //cpg1.4
+  'browser' => 'ბრაუზერი', //cpg1.4
+  'os' => 'საოპერაციო სისტემა', //cpg1.4
+  'ip' => 'IP', //cpg1.4
+  'sort_by_xxx' => 'სორტირება - %s', //cpg1.4
+  'ascending' => 'აღმავალი', //cpg1.4
+  'descending' => 'დაღმავალი', //cpg1.4
+  'internal' => 'int', //cpg1.4
+  'close' => 'დახურვა', //cpg1.4
+  'hide_internal_referers' => 'შიდა დამოწმებების დამალვა', //cpg1.4
+  'date_display' => 'თარიღის ეკრანი', //cpg1.4
+  'submit' => 'გაგზავნა / გამოყენება', //cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File thumbnails.php
+// ------------------------------------------------------------------------- //
+
+// Void
+
+// ------------------------------------------------------------------------- //
+// File upload.php
+// ------------------------------------------------------------------------- //
+
+if (defined('UPLOAD_PHP')) $lang_upload_php = array(
+  'title' => 'ფაილის ატვირთვა',
+  'custom_title' => 'მოთხოვნის მორგებული ფორმა',
+  'cust_instr_1' => 'შეგიძლიათ მიუთითოთ ატვირთვის რამდენიმე ველი.<br />იმავე დროს, ქვემოთ მითითებულ ზღვარზე მეტს ვერ გამოიყენებთ.',
+  'cust_instr_2' => 'ველების რაოდენობის მოთხოვნა',
+  'cust_instr_3' => 'ფაილების ატვირთვის ველები: %s',
+  'cust_instr_4' => 'ბმების ატვირთვის ველები: %s',
+  'cust_instr_5' => 'ბმის ატვირთვა:',
+  'cust_instr_6' => 'ფაილის ატვირთვა:',
+  'cust_instr_7' => 'გთხოვთ მიუთითოთ ამ დროისთვის თქვენთვის სასურველი ატვირთვის ველების რაოდენობა.  სემდეგ დაწკაოეთ \'გაგრძელება\'. ',
+  'reg_instr_1' => 'უმართებლო ქმედება ფორმის შესაქმნელად.',
+  'reg_instr_2' => 'ახალ შეგიძლიათ თქვენი ფაილების ატვირთვა ქვემოთმოტანილი ველების საშუალებით.  თქვენი კლიენტიდან სერვერზე ასატვირთი თითოეული ფაილის მოცულობა არ უნდა აღემატებოდეს %s კბ–ს. ZIP ფაილები რომლებიც აიტვირთება სექციებში \'ფაილის ატვირთვა\' და \'ბმის ატვირთვა\' დაარქივებული დარჩება.',
+  'reg_instr_3' => 'თუ ZIP ფაილის ან სხვა არქვივის ატვირთვის შემდეგ გახსნა გსურთ, უნდა გამოიყენოთ შესაბამისი ველი \'ZIP ატვირთვები გასახსნელად\' არეში.',
+  'reg_instr_4' => 'როცა ბმების ატვირთვას იყენებთ, ფაილის გეზი გთხოვთ ამ სახით მიუთითოთ: http://www.mysite.com/images/example.jpg',
+  'reg_instr_5' => 'ფორმის შევსების შემდეგ გთხოვთ დაწკაპოთ \'გაგრძელება\'.',
+  'reg_instr_6' => 'ZIP ატვირთვები გასახსნელად:',
+  'reg_instr_7' => 'ფაილის ატვირთვა:',
+  'reg_instr_8' => 'ბმის ატვირთვა:',
+  'error_report' => 'შეცდომების ოქმი',
+  'error_instr' => 'შეცდომებია შემდეგი ატვირთვებისას:',
+  'file_name_url' => 'ფაილის სახელი/ბმა',
+  'error_message' => 'შეცდომის შეტყობინება',
+  'no_post' => 'ფაილი POST–იდან არ ატვირთულა.',
+  'forb_ext' => 'ფაილის დაუშვებელი ტიპი.',
+  'exc_php_ini' => 'ფაილის დაშვებული მაქსიმალური მოცულობა php.ini–ში გადამეტებულია.',
+  'exc_file_size' => 'ფაილის დაშვებული მაქსიმალური მოცულობა გალერეაში გადამეტებულია.',
+  'partial_upload' => 'არასრული ატვირთვა.',
+  'no_upload' => 'ატვირთვა ვერ მოხერხდა.',
+  'unknown_code' => 'ატვირთვის უცნობი PHP შეცდომის კოდი.',
+  'no_temp_name' => 'ვერ აიტვირთა - არაა დროებითი სახელი.',
+  'no_file_size' => 'არ შეიცავს მონაცემებს/დაზიანებულია',
+  'impossible' => 'ვერ გადაიტანება.',
+  'not_image' => 'ნახატი არაა/დაზიანებულია',
+  'not_GD' => 'არა GD ტიპი.',
+  'pixel_allowance' => 'ატვირთული ნახატის სიმაღლე ან სიგანე გალერეის კონფიგურაციაში მითითებულ პარამეტრებს აჭარბებს.', //cpg1.4
+  'incorrect_prefix' => 'ბმის მცდარი პრეფიქსი',
+  'could_not_open_URI' => 'ვერ ვხსნი მისამართს.',
+  'unsafe_URI' => 'უსაფრთხოება ვერ მოწმდება.',
+  'meta_data_failure' => 'მეტამონაცემთა შეცდომა',
+  'http_401' => '401 სისტემის გარე',
+  'http_402' => '402 საჭიროა გადახდა',
+  'http_403' => '403 აკრძალულია',
+  'http_404' => '404 ვერ მოიძებნა',
+  'http_500' => '500 სერვერის შიდა შეცდომა',
+  'http_503' => '503 მომსახურება ჯერ არ დანერგილა',
+  'MIME_extraction_failure' => 'ვერ განისაზღვრა MIME ტიპი.',
+  'MIME_type_unknown' => 'უცნობი MIME ტიპი',
+  'cant_create_write' => 'ვერ ვქმნი ჩაწერად ფაილს.',
+  'not_writable' => 'ვერ ვწერ ჩაწერად ფაილში.',
+  'cant_read_URI' => 'ბმას ვერ ვკითხულობ',
+  'cant_open_write_file' => 'ვერ ვხსნი URI ჩაწერად ფაილს.',
+  'cant_write_write_file' => 'ვერ ვწერ URI ჩაწერად ფაილში.',
+  'cant_unzip' => 'ვერ ვხსნი არქივს.',
+  'unknown' => 'უცნობი შეცდომა',
+  'succ' => 'წარმატებული ატვირთვა',
+  'success' => 'წარმატებული ატვირთვა: %s.',
+  'add' => 'ფაილების ალბომში დასამატებლათ გთხოვთ დაწკაპოთ \'გაგრძელება\'.',
+  'failure' => 'ატვირთვა ვერ მოხერხდა',
+  'f_info' => 'ფაილის ინფორმაცია',
+  'no_place' => 'წინა ფაილი ვერ განთავსდება.',
+  'yes_place' => 'წინა ფაილი წარმატებით განთავსდა.',
+  'max_fsize' => 'მაქსიმალური დასაშვები მოცულობაა %s კბ',
+  'album' => 'ალბომი',
+  'picture' => 'ფაილი',
+  'pic_title' => 'ფაილის სახელი',
+  'description' => 'ფაილის აღწერილობა',
+  'keywords' => 'საკვანძო სიტყვები (გამოიყოფა შორისებით)<br /><a href="#" onClick="return MM_openBrWindow(\'keyword_select.php\',\'selectKey\',\'width=250, height=400, scrollbars=yes,toolbar=no,status=yes,resizable=yes\')">Insert from list</a>', //cpg1.4
+  'keywords_sel' =>'საკვანძო სიტყვის არჩევა', //cpg1.4
+  'err_no_alb_uploadables' => 'უკაცრავად, ვერ მოიძებნა ალბომი რომელშიც ფაილების ატვირთვის უფლება გაქვთ',
+  'place_instr_1' => 'გთხოვთ განათავსოთ ფაილები ალბომებში.  ასევე შეგიძლიათ თითოეული ფაილის შესაბამისი ინფორმაციის მითითებაც.',
+  'place_instr_2' => 'განსათავსებელია სხვა ფაილებიც. გთხოვთ დაწკაპოთ \'გაგრძელება\'.',
+  'process_complete' => 'თქვენ წარმატებით განათავსეთ ყველა ფაილი.',
+   'albums_no_category' => 'ალბომები კატეგორიის გარეშე', //cpg1.4. //album pulldown mod, added by frogfoot
+  'personal_albums' => '* პირადი ალბომები', //cpg1.4 //album pulldown mod, added by frogfoot
+  'select_album' => 'ალბომის არჩევა', //cpg1.4 //album pulldown mod, added by frogfoot
+  'close' => 'დახურვა', //cpg1.4
+  'no_keywords' => 'ვწუხვართ, საკვანძო სიტყვები მიუწვდომელია!', //cpg1.4
+  'regenerate_dictionary' => 'ლექსიკონის ხელახლა შექმნა', //cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File usermgr.php
+// ------------------------------------------------------------------------- //
+
+if (defined('USERMGR_PHP')) $lang_usermgr_php = array(
+  'memberlist' => 'მონაწილეთა სია', //cpg1.4
+  'user_manager' => 'მონაწილეთა მართვა', //cpg1.4
+  'title' => 'მონაწილეთა მართვა',
+  'name_a' => 'სახელით [აღმავალი]',
+  'name_d' => 'სახელით [დაღმავალი]',
+  'group_a' => 'ჯგუფით [აღმავალი]',
+  'group_d' => 'ჯგუფით [დაღმავალი]',
+  'reg_a' => 'რეგისტრაციის თარიღით [აღმავალი]',
+  'reg_d' => 'რეგისტრაციის თარიღით [დაღმავალი]',
+  'pic_a' => 'ფაილების რაოდენობით [აღმავალი]',
+  'pic_d' => 'ფაილების რაოდენობით [დაღმავალი]',
+  'disku_a' => 'გამოყენებული ადგილით [აღმავალი]',
+  'disku_d' => 'გამოყენებული ადგილით [დაღმავალი]',
+  'lv_a' => 'ბოლო სტუმრობით [აღმავალი]',
+  'lv_d' => 'ბოლო სტუმრობით [დაღმავალი]',
+  'sort_by' => 'მონაწილეთა სორტირება',
+  'err_no_users' => 'მონაწილეთა ცხრილი ცარიელია!',
+  'err_edit_self' => 'თქვენ არ შეგიძლიათ საკუთAრი პროფილის რედაქტირება, ამისათვის გამოიყენეთ ბმა \'პროფილი\'',
+  'edit' => 'რედაქტირება', //cpg1.4
+  'with_selected' => 'მონიშნულის:', //cpg1.4
+  'delete' => 'წაშლა', //cpg1.4
+  'delete_files_no' => 'საზოგადო ფაილების შენარჩუნებით (მაგრამ ანონიმურად გადაქცევა)', //cpg1.4
+  'delete_files_yes' => 'საზოგადო ფაილების ჩათვლით', //cpg1.4
+  'delete_comments_no' => 'კომენტარების შენარჩუნებით (მაგრამ ანონიმურად გადაქცევა)', //cpg1.4
+  'delete_comments_yes' => 'კომენტარების ჩათვლით', //cpg1.4
+  'activate' => 'გააქტივება', //cpg1.4
+  'deactivate' => 'დეაქტივაცია', //cpg1.4
+  'reset_password' => 'პაროლის განახლება', //cpg1.4
+  'change_primary_membergroup' => 'წევრთა პირველადი ჯგუფის შეცვლა', //cpg1.4
+  'add_secondary_membergroup' => 'წევრთა მეორადი ჯგუფის დამატება', //cpg1.4
+  'name' => 'მონაწილის სახელი',
+  'group' => 'ჯგუფი',
+  'inactive' => 'არააქტიური',
+  'operations' => 'ქმედებები',
+  'pictures' => 'ფაილები',
+  'disk_space_used' => 'გამოყენებული ადგილი', //cpg1.4
+  'disk_space_quota' => 'გამოყოფილი ადგილი', //cpg1.4
+  'registered_on' => 'რეგისტრაცია', //cpg1.4
+  'last_visit' => 'ბოლო სტუმრობა',
+  'u_user_on_p_pages' => 'მონაწილა: %d / გვერდი: %d',
+  'confirm_del' => 'ნამდვილად გსურთ ამ მონაწილის წაშლა? \\nმისი ყველა ფაილი და ალბომი აგრეთვე წაიშლება.', //js-alert
+  'mail' => 'ფოსტა',
+  'err_unknown_user' => 'მითითებული მონაწილე არ არსებობს',
+  'modify_user' => 'მონაწილის შეცვლა',
+  'notes' => 'შენიშვნები',
+  'note_list' => '<li>თუ მიმდინარე პაროლის შეცვლა გსურთ ველი "პაროლი" ცარიელი დატოვეთ',
+  'password' => 'პაროლი',
+  'user_active' => 'მონაწილე აქტიურია',
+  'user_group' => 'მონაწილეთა ჯგუფი',
+  'user_email' => 'მონაწილის ელფოსტა',
+  'user_web_site' => 'მონაწილის ვებგვერდი',
+  'create_new_user' => 'ახალი მონაწილის შექმნა',
+  'user_location' => 'მონაწილის ადგილმდებარეობა',
+  'user_interests' => 'მონაწილის ინტერესები',
+  'user_occupation' => 'მონაწილის თანამდებობა',
+  'user_profile1' => '$user_profile1', //cpg1.4
+  'user_profile2' => '$user_profile2', //cpg1.4
+  'user_profile3' => '$user_profile3', //cpg1.4
+  'user_profile4' => '$user_profile4', //cpg1.4
+  'user_profile5' => '$user_profile5', //cpg1.4
+  'user_profile6' => '$user_profile6', //cpg1.4
+  'latest_upload' => 'ბოლო განახლებები',
+  'never' => 'არასოდეს',
+  'search' => 'მონაწილის ძიება', //cpg1.4
+  'submit' => 'გაგზავნა', //cpg1.4
+  'search_submit' => 'წინ!', //cpg1.4
+  'search_result' => 'ძიების შედეგები: ', //cpg1.4
+  'alert_no_selection' => 'ჯერ ერთი მაინც მონაწილე უნდა შეარჩიოთ!', //cpg1.4 //js-alert
+  'password' => 'პაროლი', //cpg1.4
+  'select_group' => 'ჯგუფის არჩევა', //cpg1.4
+  'groups_alb_access' => 'უფლებები ალბომზე ჯგუფების მიხედვით', //cpg1.4
+  'album' => 'ალბომი', //cpg1.4
+  'category' => 'კატეგორია', //cpg1.4
+  'modify' => 'შევცვალო?', //cpg1.4
+  'group_no_access' => 'ამ ჯგუფს განსაკუთრებული წვდომის უფლება არ გააჩნია', //cpg1.4
+  'notice' => 'შენიშვნა', //cpg1.4
+  'group_can_access' => 'ალბომ(ებ)ი, რომელთა წვდომის უფლებამოსილია მხოლოდ "%s"', //cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File util.php
+// ------------------------------------------------------------------------- //
+
+if (defined('UTIL_PHP')) {
+$lang_util_desc_php = array(
+'განაახლებს სათაურებს ფაილიდან', //cpg1.4
+'წაშლის სათაურებს', //cpg1.4
+'განაახლებს მინიატურებს და შეცვლის ფოტოების ზომებს', //cpg1.4
+'წაშლის საწყის ფოტოებს და ჩაანაცვლებს ზომაშეცვლილებით', //cpg1.4
+'წაშლის საწყის და შუალედური ზომების ფოტოებს დისკზე ადგილის გამოსათავისუფლებლად', //cpg1.4
+'წაშლის განცალკევებულ კომენტარებს', //cpg1.4
+'გადაიკითხავს ფაილთა ზომებსა და განზომილებებს (ნახატების ხელით ჩასწორების შემთხვევაში)', //cpg1.4
+'განულებს მონახულებათა მრიცხველს', //cpg1.4
+'აჩვენებს PHP მონაცემებს', //cpg1.4
+'განაახლებს მონაცემთა ბაზას', //cpg1.4
+'აჩვენებს დავთრის ფაილებს', //cpg1.4
+);
+$lang_util_php = array(
+  'title' => 'ადმინისტრატორის ხელსაწყოები (ნახატის ზომების შეცვლა)',
+  'what_it_does' => 'რას აკეთებს',
+  'file' => 'ფაილი',
+  'problem' => 'პრობლემა', //cpg1.4
+  'status' => 'სტატუსი', //cpg1.4
+  'title_set_to' => 'სახელის მითითება',
+  'submit_form' => 'გამოყენება',
+  'updated_succesfully' => 'წარმატებით განახლდა',
+  'error_create' => 'შექმნის შეცდომა',
+  'continue' => 'სხვა ნახატების დამუშავება',
+  'main_success' => 'ფაილი %s წარმატებით გამოიყენება როგორც ძირითადი',
+  'error_rename' => 'გადარქმევის შეცდომა %s - %s',
+  'error_not_found' => 'ფაილი %s ვერ მოიძებნა',
+  'back' => 'მთავარ გვერდზე დაბრუნება',
+  'thumbs_wait' => 'მიმდინარეობს მინიატურებისა და/ან ზომაშეცვლილი ნახატების განახლება, გთხოვთ შეიცადოთ...',
+  'thumbs_continue_wait' => 'გრძელდება მინიატურებისა და/ან ზომაშეცვლილი ნახატების განახლება, გთხოვთ შეიცადოთ...',
+  'titles_wait' => 'მიმდინარეობს სათაურების განახლება, გთხოვთ შეიცადოთ...',
+  'delete_wait' => 'მიმდინარეობს ფაილების წაშლა, გთხოვთ შეიცადოთ...',
+  'replace_wait' => 'მიმდინარეობს საწყისი ფაილების წაშლა და მათი ზომაშეცვლილი ფაილებით ჩანაცვლება, გთხოვთ შეიცადოთ...',
+  'instruction' => 'სწრაფი ინსტრუქციები',
+  'instruction_action' => 'ქმედების არჩევა',
+  'instruction_parameter' => 'პარამეტრების მითითება',
+  'instruction_album' => 'ალბომის არჩევა',
+  'instruction_press' => 'დააჭირეთ ღილაკს %s',
+  'update' => 'მინიატურებისა და/ან ზომაშეცვლილი ნახატების განახლება',
+  'update_what' => 'რა უნდა შეიცვალოს',
+  'update_thumb' => 'მხოლოდ მინიატურები',
+  'update_pic' => 'მხოლოდ ზომაშეცვლილი ნახატები',
+  'update_both' => 'მინიატურებიც და ზომაშეცვლილი ნახატებიც',
+  'update_number' => 'ერთი დაწკაპვით დასამუშევებელ ნახატთა რაოდენობა',
+  'update_option' => '(თუ დროის და ვადის პრობლემები გქონიათ, გთხოვთ დაბალი მნიშვნელობა მიუთითოთ)',
+  'filename_title' => 'ფაილის სახელი &rArr; ფაილის სათაური',
+  'filename_how' => 'როგორ უნდა შეიცვალოს ფაილის სახელი?',
+  'filename_remove' => 'მოცილდეს .jpg დაბოლოება და ნიშნანი _ (ხაზგასმა) შეიცვალოს შორისებით',
+  'filename_euro' => 'შეცვლა 2003_11_23_13_20_20.jpg - 23/11/2003 13:20',
+  'filename_us' => 'შეცვლა 2003_11_23_13_20_20.jpg - 11/23/2003 13:20',
+  'filename_time' => 'შეცვლა 2003_11_23_13_20_20.jpg - 13:20',
+  'delete' => 'ფაილების სათაურების ან პირველწყარო ფოტოების წაშლა',
+  'delete_title' => 'ფაილების სათაურების წაშლა',
+  'delete_title_explanation' => 'ამოშლის ყველა ფაილის სათაურს თქვენს მიერ მითითებული ალბომში.', //cpg1.4
+  'delete_original' => 'პირველწყარო ფოტოების წაშლა',
+  'delete_original_explanation' => 'ამოიღებს სრული ზომის ფოტოებს.', //cpg1.4
+  'delete_intermediate' => 'შუალედური ფოტოების წაშლა', //cpg1.4
+  'delete_intermediate_explanation' => 'ამოიღებს შუალედურ (ჩვეულებრივ) ფოტოებს.<br />გამოიყენეთ თუ დისკზე ადგილის გამოთავისუფლება გსურთ. კონფიგურაციაში უნდა მორთოთ \'შუალედური ნახატების შექმნა\' ნახატების დამატების შემდეგ.', //cpg1.4
+  'delete_replace' => 'პირველწყარო ფოტოების წაშლა და ზომაშეცვლილებით ჩანაცვლება',
+  'titles_deleted' => 'მითითებულ ალბომში ყველა სათაური ამოღებულია', //cpg1.4
+  'deleting_intermediates' => 'შუალედური ფოტოების წაშლა, შეიცადეთ...', //cpg1.4
+  'searching_orphans' => 'განცალკევებულების ძებნა, შეიცადეთ...', //cpg1.4
+  'select_album' => 'ალბომის არჩევა',
+  'delete_orphans' => 'ცალკეული კომენტარების წაშლა (მუშაობს ყველა ალბომში)',
+  'delete_orphans_explanation' => 'ეს დაგეხმარებათ აღმოაჩინოთ და წაშალოთ კომენტარები, რომლებიც გალერეის ფაილებთან აღარ არიან დაკავშირებული.<br />ამოწმებს ყველა ალბომს.', //cpg1.4
+  'refresh_db' => 'ფაილთა განზომილებებისა და ზომის ხელახალი ჩატვირთვა', //cpg1.4
+  'refresh_db_explanation' => 'ხელახლა წაიკითხავს ფაილების განზომილებებსა და ზომას. გამოიყენეთ თუ ქვოტები მცდარია ან თუ ფაილები ხელით შეცვალეთ.', //cpg1.4
+  'reset_views' => 'ნახვის მრიცხველთა გაუქმება', //cpg1.4
+  'reset_views_explanation' => 'გაანულებს ფაილების ნახვათა რაოდენობას მითითებულ ალბომში.', //cpg1.4
+  'orphan_comment' => 'ნაპოვნია ცალკეული კომენტარები',
+  'delete' => 'წაშლა',
+  'delete_all' => 'ყველას წაშლა',
+  'delete_all_orphans' => 'წავშალო ყველა განცალკევებული?', //cpg1.4
+  'comment' => 'კომენტარი: ',
+  'nonexist' => 'დაერთვის არარსებულ ფაილს # ',
+  'phpinfo' => 'phpinfo–ს ჩვენება',
+  'phpinfo_explanation' => 'შეიცავს ტექნიკურ ინფორმაციას თქვენი სერვერის შესახებ.<br /> - დახმარების მოთხოვნისას შესაძლოა ამ მონაცემების მითითებას დაგეკითხნონ.', //cpg1.4
+  'update_db' => 'მონაცემთა ბაზის განახლება',
+  'update_db_explanation' => 'თუ გალერეის სიტემური ფაილი შეცვალეთ, დაამატეთ მოდიფიკაციები ან თავად პროგრამა განაახლეთ, აუცილებელია მონაცემთა ბაზის ერთხელ მაინც განახლება. ამ დროს შეიქმნება თქვენი მონაცემთა ბაზისთვის აუცილებელი ცხრილები და/ან პარამეტრები.',
+  'view_log' => 'დავთრის ფაილების ჩვენება', //cpg1.4
+  'view_log_explanation' => 'გალერეას შეუძლია მონაწილეთა ქმედებების დავთარში შენახვა. დავთრის დათვალიერება შეგიძლიათ თუ შესაბამისი უფლება გააქტივებულია <a href="admin.php">გალერეის კონფიგურაციაში</a>.', //cpg1.4
+  'versioncheck' => 'ვერსიების შემოწმება', //cpg1.4
+  'versioncheck_explanation' => 'შეამოწმებს თქვენი ფაილების ვერსიებს, რათა გადაამოწმოს ფაილების განახლება ან შეამოწმოს ახალი ვერსიების არსებობა უკვე ჩადგმული ვერსიისთვის.', //cpg1.4
+  'bridgemanager' => 'შეხიდების მმართველი', //cpg1.4
+  'bridgemanager_explanation' => 'გალერეის სხვა პროგრამებთან (მაგალითად ფორუმთან) ინტეგრაციის (შეხიდების) ჩართვა/ამორთვა.', //cpg1.4
+);
+}
+
+// ------------------------------------------------------------------------- //
+// File versioncheck.php //cpg1.4
+// ------------------------------------------------------------------------- //
+
+if (defined('VERSIONCHECK_PHP')) $lang_versioncheck_php = array(
+  'title' => 'ვერსიის შემოწმება', //cpg1.4
+  'what_it_does' => 'ეს გვერდი განკუთვნილია იმ მომხმარებელთათვის, რომელთაც ჩადგმა განაახლეს. ეს სკრიპტი ჩამოივლის თქვენი ვებ სერვერის ფაილებს და შეეცდება დაადგინოს ემთხვევა თუ არა სერვერის ლოკალური ფაილების ვერსია იმ ფაილების ვერსიას, რომლებიც განთავსებულია საცავში http://coppermine.sourceforge.net, და შესაბამისად აჩვენებს განსხვავებებს.<br />ყველაფერი, რაც წითლად იქნება ნაჩვენები - გასაახლებელია. ყვითლად ნაჩვენები ელემენტები - გადასახედია. მწვანე (ან შრიფტის ნაგულისხმები ფერის) ელემენტები - წესრიგშია.<br />დეტალებისთვის დაწკაპეთ დახმარების პიქტოგრამებზე.', //cpg1.4
+  'online_repository_unable' => 'ვერ ვუკავშირდები ინტერნეტ საცავს', //cpg1.4
+  'online_repository_noconnect' => 'გალერეა ინტერნეტ საცავს ვერ დაუკავშირდა. შესაძლოა ამის ორი მიზეზი იყოს:', //cpg1.4
+  'online_repository_reason1' => 'გალერეის ინტერნეტ საცავი ამორთულია - შეამოწმეთ ეს გვერდი: %s - თუ ამ გვერდს ვერ ხედავთ, სცადეთ მოგვიანებით.', //cpg1.4
+  'online_repository_reason2' => 'თქვენი ვებ სერვერის PHP კონფიგურაციაში %s ამორთულია (ჩვეულებრივ, იგი ჩართულია). თუ სერვერის ადმინისტრირება შეგიძლიათ - ჩართეთ იგი <i>php.ini</i> ფაილში (ან %s ჩანაცვლების შესაძლებლობის უფლება). წინააღმდეგ შემთხვევაში უნდა შეეგუოთ იმ აზრს, რომ თქვენს და ინტერნეტ საცავის ფაილებს ვერ შეადარებთ. ამ გვერდზე ნაჩვენებია იქნება მხოლოდ თვენი ფაილების ვერსიები - განახლებები ნაჩვენები არ იქნება.', //cpg1.4
+  'online_repository_skipped' => 'კავშირი ინტერნეტ საცავთან გამოტოვებულია', //cpg1.4
+  'online_repository_to_local' => 'სკრიპტი ძირითადად გადააქცევს ვერსიული ფაილების ლოკალურ ასლებს. მონაცემები შესაძლოა უზუსტო გამოდგეს თუ გალერეის განახლებისას ყველა ახალი ფაილი არ აიტვირთა. ფაილთა ცვლილებები გამოშვების ვერსიის შემდეგ მხედველობაში არ მიიღება.', //cpg1.4
+  'local_repository_unable' => 'ვერ ვუკავშირდები საცავს თქვენს სერვერზე', //cpg1.4
+  'local_repository_explanation' => 'გალერეა ვერ დაუკავშირდა %s ფაილს თქვენს ვებ სერვერზე. როგორც ჩანს საცავის ფაილი ვებ სერვერზე არ აგიტვირთავთ. გააკეთეთ ეს ახლა და შემდეგ კვლავ სცადეთ (დააჭირეთ განახლებას).<br />თუ სკრიპტი კვლავ არ მუშაობს, შესაძლოა ჰოსტმა გააუქმა <a href="http://www.php.net/manual/en/ref.filesystem.php">PHP ფაილური სისტემის ფუნქციები</a> completely. ასეთ შემთხვევაში ამ ხელსაწყოს საერთოდ ვერ გამოიყენებთ, ვწუხვართ.', //cpg1.4
+  'coppermine_version_header' => 'გალერეის ჩადგმული ვერსია', //cpg1.4
+  'coppermine_version_info' => 'თქვენ ჩადგით ვერსია: %s', //cpg1.4
+  'coppermine_version_explanation' => 'თუ ფიქრობთ რომ ეს არასწორია და სინამდვილეში გალერეის უფრო მაღალ ვერსიას იყენებთ, შესაძლოა არ აგიტვირთავთ <i>include/init.inc.php</i> ფაილის უახლესი ვერსია', //cpg1.4
+  'version_comparison' => 'ვერსიათა შედარება', //cpg1.4
+  'folder_file' => 'დასტა/ფაილი', //cpg1.4
+  'coppermine_version' => 'გალერეის ვერსია', //cpg1.4
+  'file_version' => 'ფაილის ვერსია', //cpg1.4
+  'webcvs' => 'ვებ cvs', //cpg1.4
+  'writable' => 'ჩაწერადი', //cpg1.4
+  'not_writable' => 'მხოლოდ კითხვადი', //cpg1.4
+  'help' => 'დახმარება', //cpg1.4
+  'help_file_not_exist_optional1' => 'ფაილი/დასტა არ არსებობს', //cpg1.4
+  'help_file_not_exist_optional2' => 'ფაილი/დასტა %s თქვენს სერვერზე ვერ მოიძებნა. თუ პრობლემები გაქვთ შეგიძლიათ მისი ვებ სერვერზე ატვირთვა (FTP კლიენტის გამოყენებით).', //cpg1.4
+  'help_file_not_exist_mandatory1' => 'ფაილი/დასტა არ არსებობს', //cpg1.4
+  'help_file_not_exist_mandatory2' => 'ფაილი/დასტა %s თქვენს სერვერზე ვერ მოიძებნა. აუცილებელია მისი ვებ სერვერზე ატვირთვა (FTP კლიენტის გამოყენებით).', //cpg1.4
+  'help_no_local_version1' => 'ფაილის ლოკალური ვერსია არაა', //cpg1.4
+  'help_no_local_version2' => 'სკრიპტი ფაილის ლოკალურ ვერსიას ვერ ხსნის - თქვენი ფაილი მოძველებულია ან თქვენ შეცვალეთ მისი თავსართის მონაცემები. რეკომენდებულია ფაილის განახლება.', //cpg1.4
+  'help_local_version_outdated1' => 'ლოკალური ვერსია მოძველებულია', //cpg1.4
+  'help_local_version_outdated2' => 'თქვენი ფაილის ეს ვერსია ჩანს გალერეის ძველ ვერსიას ეკუთვნის (რომელიც ალბათ განაახლეთ). გადაამოწმეთ, რომ ეს ფაილიც განახლეებულია.', //cpg1.4
+  'help_local_version_na1' => 'ვერ ხერხდება cvs ვერსიის მონაცემების წაკითხვა', //cpg1.4
+  'help_local_version_na2' => 'სკრიპტი ვერ ახერხებს ფაილის cvs ვერსიის განსაზღვრას ვებ სერვერზე. თქვენ იგი უნდა ატვირთოთ პირველწყარო პაკეტიდან.', //cpg1.4
+  'help_local_version_dev1' => 'პროგრამისტის ვერსია', //cpg1.4
+  'help_local_version_dev2' => 'ფაილი ვებ სერვერზე უფრო ახალია ვიდრე გალერეის მიმდინარე ვერსია. თქვენ ან პროგრამისტისის ვერსიას იყენებთ (და ამ შემთხვევაში უნდა იცოდეთ რას აკეთებთ), ან განაახლეთ გალერეის ჩადგმა ისე, რომ არ აგითვირთვათ include/init.inc.php ფაილი', //cpg1.4
+  'help_not_writable1' => 'დასტა ჩაწერადი არაა', //cpg1.4
+  'help_not_writable2' => 'შეცვალეთ ფაილის ჩაწერის უფლებები (CHMOD) რათა სკრიპტს %s დასტაში ჩაწერის უფლება ჰქონდეს.', //cpg1.4
+  'help_writable1' => 'დასტა ჩაწერადია', //cpg1.4
+  'help_writable2' => 'დასტა %s ჩაწერადია. ეს გაუმართლებელი რისკია, გალერეა მხოლოდ კითხვა/შესრულების უფლებას საჭიროებს.', //cpg1.4
+  'help_writable_undetermined' => 'გალერეა დასტის ჩაწერადობის განსაზღვრას ვერ ახერხებს.', //cpg1.4
+  'your_file' => 'თქვენი ფაილი', //cpg1.4
+  'reference_file' => 'დამოწმებული ფაილი', //cpg1.4
+  'summary' => 'რეზიუმე', //cpg1.4
+  'total' => 'სულ შემოწმებული ფაილები/დასტები', //cpg1.4
+  'mandatory_files_missing' => 'გამოტოვებულია აუცილებელი ფაილები', //cpg1.4
+  'optional_files_missing' => 'გამოტოვებულია დამხმარე ფაილები', //cpg1.4
+  'files_from_older_version' => 'გალერეის მოძველებული ვერსიიდან შემორჩენილი ფაილები', //cpg1.4
+  'file_version_outdated' => 'ფაილთა მოძველებული ვერსიები', //cpg1.4
+  'error_no_data' => 'სკრიპტი ჩაიშალა, ვერანაირი ინფორმაციის წაკითხვა ვერ მოხერხდა. ვწუხვართ.', //cpg1.4
+  'go_to_webcvs' => 'გადასვლა - %s', //cpg1.4
+  'options' => 'პარამეტრები', //cpg1.4
+  'show_optional_files' => 'დამხმარე დასტები/ფაილები', //cpg1.4
+  'show_mandatory_files' => 'აუცილებელი ფაილების ჩვენება', //cpg1.4
+  'show_file_versions' => 'ფაილთა ვერსიების ჩვენება', //cpg1.4
+  'show_errors_only' => 'მხოლოდ შეცდომითი დასტების/ფაილების ჩვენება', //cpg1.4
+  'show_permissions' => 'დასტის უფლებების ჩვენება', //cpg1.4
+  'show_condensed_output' => 'შეკუმშული ანგარიში (მარტივი ჩვენება)', //cpg1.4
+  'coppermine_in_webroot' => 'გალერეა ჩადგა ვების ძირეულ დასტაში', //cpg1.4
+  'connect_online_repository' => 'სცადეთ ინტერნეტ საცავთან დაკავშირება', //cpg1.4
+  'show_additional_information' => 'დამატებითი მონაცემების ჩვენება', //cpg1.4
+  'no_webcvs_link' => 'ვებ cvs ბმის დამალვა', //cpg1.4
+  'stable_webcvs_link' => 'ვებ cvs ბმის ჩვენება სტაბილური შტოსთვის', //cpg1.4
+  'devel_webcvs_link' => 'ვებ cvs ბმის ჩვენება განვითარებადი შტოსთვის', //cpg1.4
+  'submit' => 'ცვლილებების გამოყენება / განახლება', //cpg1.4
+  'reset_to_defaults' => 'ნაგულისხმები მნიშვნელობების აღდგენა', //cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File view_log.php  //cpg1.4
+// ------------------------------------------------------------------------- //
+
+if (defined('VIEWLOG_PHP')) $lang_viewlog_php = array(
+  'delete_all' => 'ყველა ჩანაწერის წაშლა', //cpg1.4
+  'delete_this' => 'ამ ჩანაწერის წაშლა', //cpg1.4
+  'view_logs' => 'ჩანაწერების ჩვენება', //cpg1.4
+  'no_logs' => 'ჩანაწერები არ შექმნილა.', //cpg1.4
+);
+
+
+// ------------------------------------------------------------------------- //
+// File xp_publish.php //cpg1.4
+// ------------------------------------------------------------------------- //
+
+if (defined('XP_PUBLISH_PHP')) {
+
+$lang_xp_publish_client = <<<EOT
+<h1>XP ვებ გამოცემის მეგზურის მოდული</h1><p>ეს მოდული გალერეის <b>Windows XP</b> ვებ გამოცემის მეგზურის გამოყენების საშუალებას იძლევა.</p><p>კოდი დაფუძნებულია სტატიაზე რომელის ავტორია
+EOT;
+
+$lang_xp_publish_required = <<<EOT
+<h2>რა არის საჭირო</h2><ul><li>Windows XP შესაბამისი მეგზურით.</li><li>გალერეის ჩადგმული მუშა ვერსია, რომელშიც <b>ვებ ატვირთვის ფუნქცია გამართულად მუშაობს.</b></li></ul><h2>როგორ ჩაიდგას კლიენტის მხარეს</h2><ul><li>გამოიყენეთ მარჯვენა დაწკაპვა
+EOT;
+
+$lang_xp_publish_select = <<<EOT
+აირჩიეთ &quot;შენახვა როგორც..&quot;. შეინახეთ ფაილი თქვენს ხისტ დისკზე. შენახვისას გადაამოწმეთ, რომ შემოთავაზებული სახელია <b>cpg_###.reg</b> (სადაც ### დროის შტამპია). თუ აუცილებელია შეცვალეთ სახელი (რიცხვები დატოვეთ). ჩამოტვირთვის შემდეგ ორმაგად დაწკაპეთ ფაილი სერვერზე ვებ გამოცემის გამძროლის დასარეგისტრირებლად.</li></ul>
+EOT;
+
+$lang_xp_publish_testing = <<<EOT
+<h2>შემოწმება</h2><ul><li>შეარჩიეთ რამდენიმე ფაილი Windows მეგზურში და მარცხენა პანელში დაწკაპეთ <b>xxx გამოცემა ვებზე</b>.</li><li>დაადასტურეთ ფაილის თქვენი არჩევანი. დაწკაპეთ <b>შემდეგ</b>.</li><li>სერვისების სიაში შეარჩიეთ ერთერთი ფოტოგალერეა (თქვენი ერთერთი გალერეის სახელი). თუ სერვისები არ გამოჩნდა გადაამოწმეთ, რომ <b>cpg_pub_wizard.reg</b> ჩადგმულია არსებული ინსტრუქციების მიხედვით.</li><li>თუ საჭიროა მიუთითეთ თქვენი შესვლის მონაცემები.</li><li>მიუთითეთ თქვენი ნახატების დანიშნულების ალბომი ან შექმენით ახალი.</li><li>დაწკაპეთ <b>შემდეგ</b>. დაიწყება თქვენი ნახატების ატვირთვა.</li><li>დასრულების შემდეგ გადაამოწმეთ რამდენად მართებულად აიტვირთა ნახატები გალერეაში.</li></ul>
+EOT;
+
+$lang_xp_publish_notes = <<<EOT
+<h2>Notes :</h2><ul><li>ატვირთვის დაწყების შემდეგ მეგზური სკრიპტის შეცდომის შეტყობინებებს ვეღარ აჩვენებს, ასე რომ, გალერეის შემოწმებამდე ვერ დაადგენთ თუ რამდენად მართებულად აიტვირთა ნახატები.</li><li>თუ ატვირთვა ვერ მოხერხდა, გალერეის მართვის გვერდზე ჩართეთ &quot;გამართვის რეჟიმი&quot;, ჯერ ერთი ნახატი სცადეთ და შემდეგ შეამოწმეთ შეცდომათა შეტყობინებები
+EOT;
+
+$lang_xp_publish_flood = <<<EOT
+რომელიც თქვენს სერვერზე გალერეის დასტაშია განთავსებული.</li><li>მეგზურის მიერ ატვირთული ნახატებით გალერეის <i>გადავსების</i> თავიდან ასაცილებლად ამ ფუნქციის გამოყენება მხოლოდ <b>გალერეის ადმინსა</b> და <b>საკუთარი ალბომების მქონე მონაწილეებს</b> შეუძლიათ.</li>
+EOT;
+
+
+
+$lang_xp_publish_php = array(
+  'title' => 'გალერეა - XP ვებ გამოცემის მეგზური', //cpg1.4
+  'welcome' => 'მოგესალმებით <b>%s</b>,', //cpg1.4
+  'need_login' => 'ამ მეგზურის გამოსაყენებლად ჯერ გალერეაში უნდა შეხვიდეთ ვებ ბრაუზერის საშუალებით.<p/><p>შესვლისას არ დაგავიწყდეთ <b>დამიმახსოვრე</b> პარამეტრის ჩართვა (თუ არის).', //cpg1.4
+  'no_alb' => 'ვწუხვართ, მაგრამ ალბომი, რომელშიც ამ მეგზურით ფაილების ატვირთვა შეგიძლიათ არ არსებობს.', //cpg1.4
+  'upload' => 'ატვირთეთ თქვენი ფაილები არსებულ ალბომში', //cpg1.4
+  'create_new' => 'ახალი ალბომის შექმნა ფოტოებისთვის', //cpg1.4
+  'album' => 'ალბომი', //cpg1.4
+  'category' => 'კატეგორია', //cpg1.4
+  'new_alb_created' => 'თქვენი ახალი ალბომი &quot;<b>%s</b>&quot; შეიქმნა.', //cpg1.4
+  'continue' => 'დააჭირეთ ღილაკს &quot;შემდეგ&quot; თქვენი ფოტოების ატვირთვის დასაწყებად', //cpg1.4
+  'link' => 'ეს ბმა', //cpg1.4
+);
+}
 ?>
\ No newline at end of file
diff -x .svn -aruN 1.4.24.src/lang/german.php 1.4.25.src/lang/german.php
--- 1.4.24.src/lang/german.php	2009-05-25 15:01:17.000000000 -0500
+++ 1.4.25.src/lang/german.php	2009-05-26 11:25:40.000000000 -0500
@@ -1,2110 +1,2110 @@
-<?php
-/*************************
-  Coppermine Photo Gallery
-  ************************
-  Copyright (c) 2003-2009 Coppermine Dev Team
-  v1.1 originally written by Gregory DEMAR
-
-  This program is free software; you can redistribute it and/or modify
-  it under the terms of the GNU General Public License version 3
-  as published by the Free Software Foundation.
-  
-  ********************************************
-  Coppermine version: 1.4.24
-  $HeadURL: https://coppermine.svn.sourceforge.net/svnroot/coppermine/trunk/cpg1.4.x/lang/german.php $
-  $Revision: 5988 $
-  $Author: gaugau $
-  $Date: 2009-05-25 22:01:41 +0200 (Mo, 25 Mai 2009) $
-**********************************************/
-
-if (!defined('IN_COPPERMINE')) { die('Not in Coppermine...');}
-
-// info about translators and translated language
-$lang_translation_info = array(
-  'lang_name_english' => 'German', //cpg1.4
-  'lang_name_native' => 'Deutsch', //cpg1.4
-  'lang_country_code' => 'de', //cpg1.4
-  'trans_name'=> 'Joachim Müller',
-  'trans_email' => 'gaugau@users.sourceforge.net',
-  'trans_website' => 'http://gaugau.de/',
-  'trans_date' => '2005-07-10',
-);
-
-$lang_charset = 'utf-8';
-$lang_text_dir = 'ltr'; // ('ltr' for left to right, 'rtl' for right to left)
-
-// shortcuts for Byte, Kilo, Mega
-$lang_byte_units = array('Bytes', 'KB', 'MB');
-
-// Day of weeks and months
-$lang_day_of_week = array('So', 'Mo', 'Di', 'Mi', 'Do', 'Fr', 'Sa');
-$lang_month = array('Januar', 'Februar', 'März', 'April', 'Mai', 'Juni', 'Juli', 'August', 'September', 'Oktober', 'November', 'Dezember');
-
-// Some common strings
-$lang_yes = 'Ja';
-$lang_no  = 'Nein';
-$lang_back = 'zurück';
-$lang_continue = 'weiter';
-$lang_info = 'Information';
-$lang_error = 'Fehler';
-$lang_check_uncheck_all = 'alle selektieren/de-selektieren'; //cpg1.4
-
-// The various date formats
-// See http://www.php.net/manual/en/function.strftime.php to define the variable below
-$album_date_fmt =    '%d.%B %Y';
-$lastcom_date_fmt =  '%d.%m.%y um %H:%M';
-$lastup_date_fmt = '%d.%B %Y';
-$register_date_fmt = '%d.%B %Y';
-$lasthit_date_fmt = '%d.%B %Y um %H:%M';
-$comment_date_fmt =  '%d.%B %Y um %H:%M';
-$log_date_fmt = '%d.%B %Y um %H:%M'; //cpg1.4
-
-// For the word censor
-$lang_bad_words = array('*fuck*', 'Fu\(*', 'fuk*', 'masturbat*', 'motherfucker', 'nigger*', 'penis', 'pussy', 'shit', 'titties', 'titty',  'arsch*', 'fick*', 'fotze', 'votze', 'Sieg Heil', 'Heil Hitler', 'Nutte', 'Möse', 'Moese', 'Pimmel', 'Schwengel', 'Titte*', 'bums*', 'Scheiss*', 'Scheiß*');
-
-$lang_meta_album_names = array(
-  'random' => 'Zufalls-Bilder',
-  'lastup' => 'neueste Dateien',
-  'lastalb'=> 'Zuletzt aktualisierte Alben',
-  'lastcom' => 'neueste Kommentare',
-  'topn' => 'am meisten angesehen',
-  'toprated' => 'am besten bewertet',
-  'lasthits' => 'zuletzt angesehen',
-  'search' => 'Suchergebnisse',
-  'favpics'=> 'Favoriten',  //cpg1.4
-);
-
-$lang_errors = array(
-  'access_denied' => 'Du hast kein Recht, diese Seite anzusehen.',
-  'perm_denied' => 'Du hast nicht das Recht, diese Operation auszuführen.',
-  'param_missing' => 'Das Skript wurde ohne den/die erforderlichen Parameter aufgerufen.',
-  'non_exist_ap' => 'Das gewählte Album bzw. die gewählte Datei existiert nicht!',
-  'quota_exceeded' => 'Speicherplatz erschöpft<br /><br />Du hast ein Speicherlimit von [quota] kB, Deine Dateien belegen zur Zeit [space] kB, das Hinzufügen dieser Datei würde Deinen Speicherplatz überschreiten.',
-  'gd_file_type_err' => 'Bei Verwendung der GD-Bibliothek sind nur die Dateitypen JPG und PNG erlaubt.',
-  'invalid_image' => 'Das Bild, das Du hochgeladen hast, ist beschädigt oder kann nicht von der GD-Bibliothek verarbeitet werden',
-  'resize_failed' => 'Kann Thumbnail nicht erzeugen.',
-  'no_img_to_display' => 'Keine Datei zum Anzeigen vorhanden (oder Du hast keine Berechtigung, das Album zu sehen)',
-  'non_exist_cat' => 'Die gewählte Kategorie existiert nicht',
-  'orphan_cat' => 'Eine Kategorie besitzt ein nicht-existierendes Eltern-Element, benutze den Kategorie-Manager, um das Problem zu beheben.',
-  'directory_ro' => 'Das Verzeichnis \'%s\' ist nicht beschreibbar, die Dateien können nicht gelöscht werden',
-  'non_exist_comment' => 'Der gewählte Kommentar existiert nicht.',
-  'pic_in_invalid_album' => 'Die Datei befindet sich in einem nicht-existierenden Album (%s)!?',
-  'banned' => 'Du bist zur Zeit von dieser Seite verbannt.',
-  'not_with_udb' => 'Diese Funktion ist innerhalb von Coppermine deaktiviert, weil sie in die Forums-Software integriert ist. Entweder wird das, was Du gerade zu tun versucht hast, in dieser Konfiguration nicht unterstützt oder die Funktion sollte von der Forums-Software übernommen werden.',
-  'offline_title' => 'Wartungsmodus',
-  'offline_text' => 'Die Galerie ist zur Zeit im Wartungsmodus - schau später nochmal vorbei!',
-  'ecards_empty' => 'Es können derzeit keine eCard-Einträge gefunden werden. Überprüfe, ob die Aufzeichung von eCards in den Einstellungen aktivert wurde!',
-  'action_failed' => 'Aktion fehlgeschlagen. Coppermine konnte die gewünschte Aktion nicht ausführen.',
-  'no_zip' => 'Die zum Verarbeiten von ZIP-Dateien notwendigen libraries sind auf dem Server nicht verfügbar. Setze Dich mit dem Server-Admin in Verbindung.',
-  'zip_type' => 'Keine Berechtigung für den Upload von ZIP-Dateien.',
-  'database_query' => 'Beim Ausführen einer Datenbank-Abfrage ist ein Fehler aufgetreten', //cpg1.4
-  'register_globals_on' => 'Die PHP-Einstellung register_globals ist auf Deinem Server aktiviert, was keine sehr gute Idee ist in Sachen Sicherheit. Es wird wärmstens empfohlen, diese Einstellung zu deaktivieren. [<a href="http://forum.coppermine-gallery.net/index.php/topic,59569.0.html" rel="external" class="external">mehr</a>]',
-);
-
-$lang_bbcode_help_title = 'Bulletin Board code Hilfe'; //cpg1.4
-$lang_bbcode_help = 'Du kannst klickbare Links und Formatierung in diesem Feld anwenden durch die Verwendung folgender bbcode-Befehle: <li>[b]Fett[/b] =&gt; <b>Fett</b></li><li>[i]Kursiv[/i] =&gt; <i>Kursiv</i></li><li>[url=http://deineseite.com/]Url Text[/url] =&gt; <a href="http://deineseite.com">Url Text</a></li><li>[email]benutzer@domain.com[/email] =&gt; <a href="mailto:benutzer@domain.com">benutzer@domain.com</a></li><li>[color=red]Beispieltext[/color] =&gt; <span style="color:red">Beispieltext</span></li><li>[img]http://coppermine-gallery.net/demo/cpg14x/images/red.gif[/img] => <img src="../images/red.gif" border="0" alt="" /></li>'; //cpg1.4
-
-// ------------------------------------------------------------------------- //
-// File theme.php
-// ------------------------------------------------------------------------- //
-
-$lang_main_menu = array(
-  'home_title' => 'Gehe zur Startseite',
-  'home_lnk' => 'Startseite',
-  'alb_list_title' => 'Gehe zur Alben-Liste',
-  'alb_list_lnk' => 'Alben-Liste',
-  'my_gal_title' => 'Gehe zu meiner persönlichen Galerie',
-  'my_gal_lnk' => 'Meine Galerie',
-  'my_prof_title' => 'Gehe zu meinem Profil', //cpg1.4
-  'my_prof_lnk' => 'Mein Profil',
-  'adm_mode_title' => 'In den Admin-Modus wechseln',
-  'adm_mode_lnk' => 'Admin-Modus',
-  'usr_mode_title' => 'In den Benutzer-Modus wechseln',
-  'usr_mode_lnk' => 'Benutzer-Modus',
-  'upload_pic_title' => 'Datei in ein Album hochladen',
-  'upload_pic_lnk' => 'Datei hochladen',
-  'register_title' => 'Erzeuge ein Benutzerkonto',
-  'register_lnk' => 'Registrieren',
-  'login_title' => 'melde mich an', //cpg1.4
-  'login_lnk' => 'Anmelden',
-  'logout_title' => 'Melde mich ab', //cpg1.4
-  'logout_lnk' => 'Abmelden',
-  'lastup_title' => 'Zeige neueste Uploads an', //cpg1.4
-  'lastup_lnk' => 'Neueste Uploads',
-  'lastcom_title' => 'Zeige die neuesten Kommentare an', //cpg1.4
-  'lastcom_lnk' => 'Neueste Kommentare',
-  'topn_title' => 'Zeige die am meisten angesehenen Dateien an', //cpg1.4
-  'topn_lnk' => 'Am meisten angesehen',
-  'toprated_title' => 'Zeige die am besten bewerteten Dateien an', //cpg1.4
-  'toprated_lnk' => 'Am besten bewertet',
-  'search_title' => 'Durchsuche die Galerie', //cpg1.4
-  'search_lnk' => 'Suche',
-  'fav_title' => 'Zeige meine Favoriten an', //cpg1.4
-  'fav_lnk' => 'Meine Favoriten',
-  'memberlist_title' => 'Benutzerliste anzeigen',
-  'memberlist_lnk' => 'Benutzerliste',
-  'faq_title' => 'Häufig gestellte Fragen (Frequently Asked Questions) zur Galerie &quot;Coppermine&quot;',
-  'faq_lnk' => 'FAQ',
-);
-
-$lang_gallery_admin_menu = array(
-  'upl_app_title' => 'Neu hochgeladene Dateien bestätigen', //cpg1.4
-  'upl_app_lnk' => 'Upload-Bestätigung',
-  'admin_title' => 'Gehe zur Konfiguration', //cpg1.4
-  'admin_lnk' => 'Einstellungen', //cpg1.4
-  'albums_title' => 'Gehe zur Alben-Konfiguration', //cpg1.4
-  'albums_lnk' => 'Alben',
-  'categories_title' => 'Gehe zur Kategorien-Konfiguration', //cpg1.4
-  'categories_lnk' => 'Kategorien',
-  'users_title' => 'Gehe zur Benutzer-Konfiguration', //cpg1.4
-  'users_lnk' => 'Benutzer',
-  'groups_title' => 'Gehe zur Gruppen-Konfiguration', //cpg1.4
-  'groups_lnk' => 'Gruppen',
-  'comments_title' => 'Zeige alle Kommentare zur Bearbeitung an', //cpg1.4
-  'comments_lnk' => 'Kommentare bearbeiten',
-  'searchnew_title' => 'Gehe zur Stapel-Bearbeitung hochgeladener Dateien', //cpg1.4
-  'searchnew_lnk' => 'Batch-hinzufügen',
-  'util_title' => 'Gehe zu den Admin-Werkzeugen', //cpg1.4
-  'util_lnk' => 'Admin-Werkzeuge',
-  'key_title' => 'Gehe zum Schlagwort-Register', //cpg1.4
-  'key_lnk' => 'Schlagwort-Register', //cpg1.4
-  'ban_title' => 'Gehe zur Konfiguration der Verbannungen', //cpg1.4
-  'ban_lnk' => 'Benutzer verbannen',
-  'db_ecard_title' => 'Bisher gesendete eCards anzeigen', //cpg1.4
-  'db_ecard_lnk' => 'eCards anzeigen',
-  'pictures_title' => 'Bestimme die Reihenfolge von Bildern in Alben', //cpg1.4
-  'pictures_lnk' => 'Meine Bilder sortieren', //cpg1.4
-  'documentation_lnk' => 'Dokumentation', //cpg1.4
-  'documentation_title' => 'Coppermine-Handbuch', //cpg1.4
-);
-
-$lang_user_admin_menu = array(
-  'albmgr_title' => 'Meine Alben erzeugen/anordnen', //cpg1.4
-  'albmgr_lnk' => 'Alben erzeugen/anordnen',
-  'modifyalb_title' => 'Meine Alben bearbeiten',  //cpg1.4
-  'modifyalb_lnk' => 'Meine Alben bearbeiten',
-  'my_prof_title' => 'gehe zu meinem persönlichen Profil', //cpg1.4
-  'my_prof_lnk' => 'Mein Profil',
-);
-
-$lang_cat_list = array(
-  'category' => 'Kategorie',
-  'albums' => 'Alben',
-  'pictures' => 'Dateien',
-);
-
-$lang_album_list = array(
-  'album_on_page' => '%d Alben auf %d Seite(n)',
-);
-
-$lang_thumb_view = array(
-  'date' => 'Datum',
-  //Sort by filename and title
-  'name' => 'Dateiname',
-  'title' => 'Titel',
-  'sort_da' => 'Aufsteigend nach Datum sortieren',
-  'sort_dd' => 'Absteigend nach Datum sortieren',
-  'sort_na' => 'Aufsteigend nach Name sortieren',
-  'sort_nd' => 'Absteigend nach Name sortieren',
-  'sort_ta' => 'Aufsteigend nach Titel sortieren',
-  'sort_td' => 'Absteigend nach Titel sortieren',
-  'position' => 'Position', //cpg1.4
-  'sort_pa' => 'Aufsteigend nach Position sortieren', //cpg1.4
-  'sort_pd' => 'Absteigend nach Position sortieren', //cpg1.4
-  'download_zip' => 'Als ZIP-Datei herunterladen',
-  'pic_on_page' => '%d Dateien auf %d Seite(n)',
-  'user_on_page' => '%d Benutzer auf %d Seite(n)',
-  'enter_alb_pass' => 'Gib das Passwort für das Album ein', //cpg1.4
-  'invalid_pass' => 'Ungültiges Passwort', //cpg1.4
-  'pass' => 'Passwort', //cpg1.4
-  'submit' => 'Absenden', //cpg1.4
-);
-
-$lang_img_nav_bar = array(
-  'thumb_title' => 'zurück zur Thumbnail-Seite',
-  'pic_info_title' => 'Dateiinformationen anzeigen/verbergen',
-  'slideshow_title' => 'Diashow',
-  'ecard_title' => 'Bild als eCard versenden',
-  'ecard_disabled' => 'eCards sind deaktiviert',
-  'ecard_disabled_msg' => 'Du hast nicht das Recht, eCards zu versenden',
-  'prev_title' => 'vorherige Datei anzeigen',
-  'next_title' => 'nächste Datei anzeigen',
-  'pic_pos' => 'Datei %s/%s',
-  'report_title' => 'Diese Datei dem Administrator melden', //cpg1.4
-  'go_album_end' => 'Zum Ende gehen', //cpg1.4
-  'go_album_start' => 'Zum Anfang zurückkehren', //cpg1.4
-  'go_back_x_items' => 'gehe %s Einträge zurück', //cpg1.4
-  'go_forward_x_items' => 'gehe %s Einträge weiter', //cpg1.4
-);
-
-$lang_rate_pic = array(
-  'rate_this_pic' => 'Diese Datei bewerten',
-  'no_votes' => '(noch keine Bewertung)',
-  'rating' => '- derzeitige Bewertung : %s/5 mit %s Stimme(n)',
-  'rubbish' => 'sehr schlecht',
-  'poor' => 'schlecht',
-  'fair' => 'ganz OK',
-  'good' => 'gut',
-  'excellent' => 'sehr gut',
-  'great' => 'super',
-);
-
-// ------------------------------------------------------------------------- //
-// File include/exif.inc.php
-// ------------------------------------------------------------------------- //
-
-// void
-
-// ------------------------------------------------------------------------- //
-// File include/functions.inc.php
-// ------------------------------------------------------------------------- //
-
-$lang_cpg_die = array(
-  INFORMATION => $lang_info,
-  ERROR => $lang_error,
-  CRITICAL_ERROR => 'Kritischer Fehler',
-  'file' => 'Datei: ',
-  'line' => 'Zeile: ',
-);
-
-$lang_display_thumbnails = array(
-  'filename' => 'Dateiname : ',
-  'filesize' => 'Dateigröße : ',
-  'dimensions' => 'Abmessungen : ',
-  'date_added' => 'hinzugefügt am : ',
-);
-
-$lang_get_pic_data = array(
-  'n_comments' => '%s Kommentar(e)',
-  'n_views' => '%s x angesehen',
-  'n_votes' => '(%s Bewertungen)',
-);
-
-$lang_cpg_debug_output = array(
-  'debug_info' => 'Debug-Info',
-  'select_all' => 'Alles markieren',
-  'copy_and_paste_instructions' => 'Wenn Du Hilfe im Coppermine-Forum suchen willst, kopiere diese Debug-Ausgabe in Deinen Beitrag im Forum. Ersetze eventuell vorhandene Passwörter in den Queries durch ***.<br />Anmerkung: Diese Ausgabe erfolgt nur zur Information und bedeutet nicht, dass ein Fehler in der Galerie vorliegt.', //cpg1.4
-  'phpinfo' => 'phpinfo anzeigen',
-  'notices' => 'Notices', //cpg1.4
-);
-
-$lang_language_selection = array(
-  'reset_language' => 'Standard-Sprache',
-  'choose_language' => 'Wähle Sprache',
-);
-
-$lang_theme_selection = array(
-  'reset_theme' => 'Standard-Design',
-  'choose_theme' => 'Wähle Design',
-);
-
-$lang_version_alert = array(
-  'version_alert' => 'Nicht unterstützte Version!', //cpg1.4
-  'no_stable_version' => 'Du betreibst Coppermine version  %s (%s), das nur für erfahrene Benutzer gedacht ist - für diese Version gibt es keinen Support oder Funktions-Garantien. Benutze sie auf eigenes Risiko oder downgrade auf die aktuellste stabile Version, wenn Du Support brauchst!', //cpg1.4
-  'gallery_offline' => 'Die Galerie ist zur Zeit im Wartungs-Modus und ist nur für Dich als Admin zugänglich. Vergiss nicht, sie wieder aus dem Wartungs-Modus in den "normalen" Modus zurück zu schalten, wenn Deine Wartungsarbeiten beendet sind.', //cpg1.4
-);
-
-$lang_create_tabs = array(
-  'previous' => 'vorherige', //cpg1.4
-  'next' => 'nächste', //cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File include/init.inc.php
-// ------------------------------------------------------------------------- //
-
-// void
-
-// ------------------------------------------------------------------------- //
-// File keyword.inc.php                                                      //
-// ------------------------------------------------------------------------- //
-
-// void
-
-// ------------------------------------------------------------------------- //
-// File include/picmgmt.inc.php
-// ------------------------------------------------------------------------- //
-
-// void
-
-// ------------------------------------------------------------------------- //
-// File include/plugin_api.inc.php
-// ------------------------------------------------------------------------- //
-$lang_plugin_api = array(
-  'error_wakeup' => "Konnte das Plugin '%s' nicht aktivieren", //cpg1.4
-  'error_install' => "Konnte das Plugin '%s' nicht installieren", //cpg1.4
-  'error_uninstall' => "Konnte das Plugin '%s' nicht de-installieren", //cpg1.4
-  'error_sleep' => "Konnte das Plugin '%s' nicht de-aktivieren.<br />", //cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File include/smilies.inc.php
-// ------------------------------------------------------------------------- //
-
-if (defined('SMILIES_PHP')) $lang_smilies_inc_php = array(
-  'Exclamation' => 'Ausruf',
-  'Question' => 'Frage',
-  'Very Happy' => 'sehr glücklich',
-  'Smile' => 'lachen',
-  'Sad' => 'traurig',
-  'Surprised' => 'überrascht',
-  'Shocked' => 'schockiert',
-  'Confused' => 'verwirrt',
-  'Cool' => 'cool',
-  'Laughing' => 'lachend',
-  'Mad' => 'wütend',
-  'Razz' => 'scheu',
-  'Embarassed' => 'schüchtern',
-  'Crying or Very sad' => 'traurig',
-  'Evil or Very Mad' => 'böse',
-  'Twisted Evil' => 'verschlagen',
-  'Rolling Eyes' => 'na ja',
-  'Wink' => 'zwinker',
-  'Idea' => 'Idee',
-  'Arrow' => 'Pfeil',
-  'Neutral' => 'neutral',
-  'Mr. Green' => 'Mr. Green',
-);
-
-// ------------------------------------------------------------------------- //
-// File addpic.php
-// ------------------------------------------------------------------------- //
-
-// void
-
-// ------------------------------------------------------------------------- //
-// File mode.php //cpg1.4
-// ------------------------------------------------------------------------- //
-
-if (defined('MODE_PHP')) $lang_mode_php = array(
-  0 => 'Beende Admin-Modus...',
-  1 => 'Starte Admin-Modus...',
-);
-
-// ------------------------------------------------------------------------- //
-// File albmgr.php
-// ------------------------------------------------------------------------- //
-
-if (defined('ALBMGR_PHP')) $lang_albmgr_php = array(
-  'alb_need_name' => 'Alben müssen einen Namen haben!', //js-alert
-  'confirm_modifs' => 'Bist Du sicher, dass Du diese Änderungen durchführen willst?', //js-alert
-  'no_change' => 'Du hast nichts verändert!', //js-alert
-  'new_album' => 'neues Album',
-  'confirm_delete1' => 'Willst Du dieses Album wirklich löschen?', //js-alert
-  'confirm_delete2' => '\nAlle Dateien und Kommentare, die darin enthalten sind, werden gelöscht!', //js-alert
-  'select_first' => 'Wähle zuerst ein Album', //js-alert
-  'alb_mrg' => 'Alben-Manager',
-  'my_gallery' => '* meine Galerie *',
-  'no_category' => '* keine Kategorie *',
-  'delete' => 'löschen',
-  'new' => 'neu',
-  'apply_modifs' => 'Änderungen übernehmen',
-  'select_category' => 'wähle Kategorie',
-);
-
-// ------------------------------------------------------------------------- //
-// File banning.php
-// ------------------------------------------------------------------------- //
-
-if (defined('BANNING_PHP')) $lang_banning_php = array(
-  'title' => 'Benutzer verbannen', //cpg1.4
-  'user_name' => 'Benutzername', //cpg1.4
-  'ip_address' => 'IP-Adresse', //cpg1.4
-  'expiry' => 'läuft ab am (leer bedeutet permanent)', //cpg1.4
-  'edit_ban' => 'Änderungen speichern', //cpg1.4
-  'delete_ban' => 'Löschen', //cpg1.4
-  'add_new' => 'Neuen Bann hinzufügen', //cpg1.4
-  'add_ban' => 'Hinzufügen', //cpg1.4
-  'error_user' => 'Kann angegebenen Benutzer nicht finden', //cpg1.4
-  'error_specify' => 'Du musst entweder einen Benutzer oder eine IP-Adresse angeben', //cpg1.4
-  'error_ban_id' => 'Ungültige Verbannungs-ID!', //cpg1.4
-  'error_admin_ban' => 'Du kannst DIch nicht selbst verbannen!', //cpg1.4
-  'error_server_ban' => 'Du wolltest Deinen eigenen Server verbannen? Ts ts, das kann ich nicht zulassen...', //cpg1.4
-  'error_ip_forbidden' => 'Du kannst diese IP-Adresse nicht verbannen - sie ist sowieso nicht route-bar (private)!<br />Wenn Du Verbannungen für private IP-Adressen erlauben möchtest, dann erlaube das in Deinen <a href="admin.php">Einstellungen</a> (macht nur Sinn, wenn Coppermine in einem LAN läuft).', //cpg1.4
-  'lookup_ip' => 'IP-Adresse nachschlagen', //cpg1.4
-  'submit' => 'los!', //cpg1.4
-  'select_date' => 'Wähle Datum', //cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File bridgemgr.php //cpg1.4
-// ------------------------------------------------------------------------- //
-
-if (defined('BRIDGEMGR_PHP')) $lang_bridgemgr_php = array(
-  'title' => 'Bridge-Assistent',
-  'warning' => 'Warnung: bevor Du diesen Assitenten benutzt muss Dir klar sein, dass Sicherheits-relevante Daten über HTML-Formulare versendet werden. Führe den Assitenten nur auf Deinem eigenen PC aus (nicht auf einem öffentlichen Rechner wie beispielsweise in einem Internet-Café), und lösche danach auf jeden Fall Deinen Browser-Cahce und Deine temporären Internet-Dateien, sonst haben andere vielleicht Zugriff zu diesen Daten!',
-  'back' => 'zurück',
-  'next' => 'weiter',
-  'start_wizard' => 'Starte den Bridge-Assistenten',
-  'finish' => 'Fertigstellen',
-  'hide_unused_fields' => 'unbenutze Formular-Felder verbergen (empfohlen)',
-  'clear_unused_db_fields' => 'ungültige Datenbank-Einträge löschen (empfohlen)',
-  'custom_bridge_file' => 'der Name Deiner benutzerdefinierten Bridge-Datei (Wenn der Dateiname  <i>meinedatei.inc.php</i> lautet, dann gib <i>meinedatei</i> in diesem Feld ein)',
-  'no_action_needed' => 'Kein Aktion notwenig in diesem Schritt. Klicke auf &quot;weiter&quot;, um fortzufahren.',
-  'reset_to_default' => 'Auf Standard-Wert zurücksetzen',
-  'choose_bbs_app' => 'Wähle eine Anwendung, mit der Du &quot;bridgen&quot; willst',
-  'support_url' => 'Für Support zu dieser Anwendung klicke hier',
-  'settings_path' => 'Pfad(e) Deiner Forums-Anwendung',
-  'database_connection' => 'Datenbank-Verbindung',
-  'database_tables' => 'Tabellen in der Datenbank',
-  'bbs_groups' => 'Forums-Gruppen',
-  'license_number' => 'Lizenz-Nummer',
-  'license_number_explanation' => 'Gib Deine Lizenz-Nummer ein (falls zutreffend)',
-  'db_database_name' => 'Datenbank-Name',
-  'db_database_name_explanation' => 'Gib den Namen der Datenbank ein, die Dein Forum benutzt',
-  'db_hostname' => 'Datenbank-Hostname',
-  'db_hostname_explanation' => 'Hostname Deiner mySQL-Datenbank, meistens &quot;localhost&quot;',
-  'db_username' => 'Datenbank-Benutzername',
-  'db_username_explanation' => 'mySQL Benutzer-Konto für die Verbindung mit Deinem Forum',
-  'db_password' => 'Datenbank-Passwort',
-  'db_password_explanation' => 'Passwort für Die mySQL-Datenbank Deines Forums',
-  'full_forum_url' => 'Forums-URL',
-  'full_forum_url_explanation' => 'Vollständige Internet-Adresse Deines Forums (einschließlich http:// , z.B. http://www.yourdomain.tld/forum)',
-  'relative_path_of_forum_from_webroot' => 'Relativer Pfad zum Forum',
-  'relative_path_of_forum_from_webroot_explanation' => 'Relativer Pfad zu Deinem Forum vom Wurzelverzeichnis (webroot) aus gesehen (Beispiel: wenn Dein Forum unter http://www.meineseite.tld/forum/ ist, dann gib hier &quot;/forum/&quot; in das Feld ein)',
-  'relative_path_to_config_file' => 'Relativer Pfad zur Konfigurations-Datei Deines Forums',
-  'relative_path_to_config_file_explanation' => 'Relativer Pfad zu Deinem Forum, von Deinem Coppermine-Verzeichnis aus gesehen (z.B. &quot;../forum/&quot; wenn Dein Forum unter http://www.deineseite.tld/forum/ ist und Coppermine unter http://www.deineseite.tld/gallery/)',
-  'cookie_prefix' => 'Cookie-Vorsilbe',
-  'cookie_prefix_explanation' => 'Der Cookie-Name Deines Forums',
-  'table_prefix' => 'Tabellen-Vorsilbe',
-  'table_prefix_explanation' => 'Die Vorsible (Präfix) der Tabellen Deines Forums, die Du bei der Einrichtung Deines Forums festgelegt hast.',
-  'user_table' => 'Benutzer-Tabelle',
-  'user_table_explanation' => '(normalerweise sind die vorgeschlagenen Standard-Werte OK, wenn Du keine Sondereinstellungen in Deinem Forum vorgenommen hast)',
-  'session_table' => 'Session-Tabelle',
-  'session_table_explanation' => '(normalerweise sind die vorgeschlagenen Standard-Werte OK, wenn Du keine Sondereinstellungen in Deinem Forum vorgenommen hast)',
-  'group_table' => 'Gruppen-Tabelle',
-  'group_table_explanation' => '(normalerweise sind die vorgeschlagenen Standard-Werte OK, wenn Du keine Sondereinstellungen in Deinem Forum vorgenommen hast)',
-  'group_relation_table' => 'Gruppen-Relations-Tabelle',
-  'group_relation_table_explanation' => '(normalerweise sind die vorgeschlagenen Standard-Werte OK, wenn Du keine Sondereinstellungen in Deinem Forum vorgenommen hast)',
-  'group_mapping_table' => 'Gruppen-Verknüpfungs-Tabelle',
-  'group_mapping_table_explanation' => '(normalerweise sind die vorgeschlagenen Standard-Werte OK, wenn Du keine Sondereinstellungen in Deinem Forum vorgenommen hast)',
-  'use_standard_groups' => 'Standard-Forums-Gruppen benutzen',
-  'use_standard_groups_explanation' => 'Eingebaute Standard-Benutzergruppen Deines Forums benutzen (empfohlen). Diese Option setzt alle benutzerdefinierten Gruppen-Einstellungen auf dieser Seite ausser Kraft. Schalte diese Option nur ab, wenn Du WIRKLICH weisst, was Du tust!',
-  'validating_group' => 'Bestätigungs-Gruppe',
-  'validating_group_explanation' => 'Die ID der Gruppe Deines Forums für Benutzer, deren Konto noch überprüft werden muss (normalerweise sind die vorgeschlagenen Standard-Werte OK, wenn Du keine Sondereinstellungen in Deinem Forum vorgenommen hast)',
-  'guest_group' => 'Gäste-Gruppe',
-  'guest_group_explanation' => 'Die ID der Gruppe Deines Forums für Gäste / anonyme Benutzer (normalerweise sind die vorgeschlagenen Standard-Werte OK, wenn Du keine Sondereinstellungen in Deinem Forum vorgenommen hast)',
-  'member_group' => 'Mitglieder-Gruppe',
-  'member_group_explanation' => 'Die ID der Gruppe Deines Forums für normale (reguläre) Benutzer (normalerweise sind die vorgeschlagenen Standard-Werte OK, ändere den Wert nur, wenn Du wirklich weisst, was Du tust)',
-  'admin_group' => 'Admin-Gruppe',
-  'admin_group_explanation' => 'Die ID der Gruppe Deines Forums für Admins (normalerweise sind die vorgeschlagenen Standard-Werte OK, ändere den Wert nur, wenn Du wirklich weisst, was Du tust)',
-  'banned_group' => 'Gebannte Gruppe',
-  'banned_group_explanation' => 'Die ID der Gruppe Deines Forums für verbannte Benutzer (normalerweise sind die vorgeschlagenen Standard-Werte OK, ändere den Wert nur, wenn Du wirklich weisst, was Du tust)',
-  'global_moderators_group' => 'Globale Moderatoren Gruppe',
-  'global_moderators_group_explanation' => 'Die ID der Gruppe Deines Forums für globale Moderatoren (normalerweise sind die vorgeschlagenen Standard-Werte OK, ändere den Wert nur, wenn Du wirklich weisst, was Du tust)',
-  'special_settings' => 'Forums-spezifische Einstellungen',
-  'logout_flag' => 'phpBB Version (logout flag)',
-  'logout_flag_explanation' => 'Welche Versions-Nummer hat Deine Forums-Software (diese Einstellung bestimmt, wie Logouts gehandhabt werden)',
-  'use_post_based_groups' => 'Beitrags-basierte Gruppen verwenden?',
-  'logout_flag_yes' => '2.0.5 oder besser',
-  'logout_flag_no' => '2.0.4 oder schlechter',
-  'use_post_based_groups_explanation' => 'Sollen die Beitrags-basierten Benutzergruppen berücksichtigt werden (ermöglicht eine feinere Rechte-Vergabe) oder nur die Standard-Gruppen (einfachere Administration, empfohlen). Du kannst diese Einstellung auch noch später ändern.',
-  'use_post_based_groups_yes' => 'ja',
-  'use_post_based_groups_no' => 'nein',
-  'error_title' => 'Du musst die aufgetretenen Fehler erst korrigieren. Gehe zum vorherigen Schritt.',
-  'error_specify_bbs' => 'Du musst angeben, welche Anwendung Du mit Coppermine &quot;bridgen&quot; willst.',
-  'error_no_blank_name' => 'Der Name der benutzerdefinierten Bride-Datei darf nicht leer bleiben.',
-  'error_no_special_chars' => 'Der Name der Bridge-Datei darf keine Sonderzeichen enthalten ausser Untertrich (_) und Bindestrich (-)!',
-  'error_bridge_file_not_exist' => 'Die Bridge-datei %s existiert nicht auf dem Server. Überprüfe die Schreibweise und ob Du sie tatsächlich hochgeladen hast.',
-  'finalize' => 'Forums-Integration aktivieren/deaktivieren',
-  'finalize_explanation' => 'Bisher wurden Deine Einstellungen in die Datenbank geschrieben, aber die Forums-Integration (Bridging) wurde noch nicht aktiviert. Du kannst die Integration jederzeit später an- oder abschalten. Merke Dir auf jeden Fall den Benutzernamen und das Passwort Deines Admin-Kontos (Coppermine ohne Bridging), da Du es später evtl. brauchst, um die Einstellungen zu ändern. Wenn etwas schief läuft, gehe zu %s und deaktiviere das Bridging dort (verwende dazu Dein Coppermine-Admin-Konto, das Du beim Installieren von Coppermine benutzt hast).',
-  'your_bridge_settings' => 'Deine Bridge-Einstellungen',
-  'title_enable' => 'Aktiviere/De-Aktiviere Integration/Bridging mit %s',
-  'bridge_enable_yes' => 'aktivieren',
-  'bridge_enable_no' => 'de-aktivieren',
-  'error_must_not_be_empty' => 'darf nicht leer sein',
-  'error_either_be' => 'muss entweder %s oder %s sein',
-  'error_folder_not_exist' => '%s existiert nicht. Korrigiere den Wert, den Du für %s eingegeben hast',
-  'error_cookie_not_readible' => 'Coppermine kann den Cookie namens %s nicht lesen. Korrigiere den Wert, den Du für %s eingegeben hast, oder gehe zum Administrationsbereich Deines Forums und stelle dort sicher, dass der Cookie für Coppermine lesbar ist.',
-  'error_mandatory_field_empty' => 'Das Feld %s darf nicht leer bleiben - gib den entsprechenden Wert ein.',
-  'error_no_trailing_slash' => 'Im Feld %s darf kein abschließender Schrägstrich (Slash) vorhanden sein.',
-  'error_trailing_slash' => 'Im Feld %s muss ein abschließender Schrägstrich (Slash) vorhanden sein.',
-  'error_db_connect' => 'Konnte mit den eingegebenen Daten keine mySQL-Verbindung aufbauen. Hier ist die mySQL-Fehlermeldung:',
-  'error_db_name' => 'Obwohl Coppermine eine Verbindung aufbauen konnte, wurde die datenbank %s nicht gefunden. Überprüfe Deine Einstellungen für %s. Hier ist die mySQL-Fehlermeldung:',
-  'error_prefix_and_table' => '%s und ',
-  'error_db_table' => 'Konnte die Tabelle %s nicht finden. Überprüfe Deine Einstellungen für %s.',
-  'recovery_title' => 'Bridge-Assistent: Wiederherstellung im Notfall',
-  'recovery_explanation' => 'Du musst Dich erst anmelden, falls Du hierher gekommen bist, um die Forums-Integration Deiner Coppermine-Galerie zu administrieren. Falls Du Dich nicht anmelden kannst, weil die Integration nicht wie erwartet funktioniert, dann kannst Du mit Hilfe dieser Seite die Integration (Bridging) deaktivieren. Die Eingabe von Benutzername und Passwort hier auf der Seite wird Dich nicht anmelden, sondern die Integration deaktivieren. Details dazu gibt es in der Doku.',
-  'username' => 'Benutzername',
-  'password' => 'Passwort',
-  'disable_submit' => 'los!',
-  'recovery_success_title' => 'Authorisierung erfolgreich',
-  'recovery_success_content' => 'Du hast die Forums-Integration erfolgreich deaktiviert. Deine Coppermine-Galerie läuft jetzt im &quot;Standalone-Modus&quot; (ohne Integration/Bridging).',
-  'recovery_success_advice_login' => 'Melde Dich als Admin an, um Deine Bridge-Einstellungen zu bearbeiten und/oder die Forums-Integration wieder zu aktivieren.',
-  'goto_login' => 'Gehe zur Anmeldung',
-  'goto_bridgemgr' => 'Gehe zum Bridge-Assistent',
-  'recovery_failure_title' => 'Authorisierung fehlgeschlagen',
-  'recovery_failure_content' => 'Du hast fehlerhafte Zugangsdaten eingegeben. Du musst die Zugangdaten des Admin-Kontos der &quot;Standalone-Version&quot; benutzen (normalerweise des Admin-Konto, das Du bei der Installation von Coppermine angelegt hast).',
-  'try_again' => 'versuche es nochmal',
-  'recovery_wait_title' => 'Wartezeit noch nicht um',
-  'recovery_wait_content' => 'Aus Sicherheitsgründen erlaubt das Skript keine fehlgeschlagenen Anmeldeversuche in kurzer Reihenfolge - deshalb musst Du ein bißchen warten, bevor Du wieder einen Anmelde-Versuch unternehmen darfst.',
-  'wait' => 'warte',
-  'create_redir_file' => 'Umleitungs-Datei anlegen (empfohlen)',
-  'create_redir_file_explanation' => 'Um Benutzer nach der Anmeldung im Forum wieder zu Coppermine umzuleiten brauchst Du eine Umleitungs-Datei in Deinem Forums-Verzeichnis. Wenn diese Option aktiviert ist wird der Bridge-Assistent versuchen, diese datei für Dich anzulegen, oder Dir den Code für das manuelle Anlegen der Datei per markieren und kopieren zu erzeugen.',
-  'browse' => 'durchsuchen',
-);
-
-// ------------------------------------------------------------------------- //
-// File calendar.php //cpg1.4
-// ------------------------------------------------------------------------- //
-
-if (defined('CALENDAR_PHP')) $lang_calendar_php = array(
-  'title' => 'Kalender', //cpg1.4
-  'close' => 'schliessen', //cpg1.4
-  'clear_date' => 'Datum löschen', //cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File catmgr.php
-// ------------------------------------------------------------------------- //
-
-if (defined('CATMGR_PHP')) $lang_catmgr_php = array(
-  'miss_param' => 'Fehlender Parameter für die Operation \'%s\'',
-  'unknown_cat' => 'Gewählte Kategorie existiert nicht in Datenbank',
-  'usergal_cat_ro' => 'Benutzer-Galerie kann nicht gelöscht werden!',
-  'manage_cat' => 'Kategorien verwalten',
-  'confirm_delete' => 'Willst Du diese Kategorie wirklich LÖSCHEN', //js-alert
-  'category' => 'Kategorie',
-  'operations' => 'Operationen',
-  'move_into' => 'verschieben in',
-  'update_create' => 'Kategorie erzeugen/ändern',
-  'parent_cat' => 'Eltern-Kategorie',
-  'cat_title' => 'Titel der Kategorie',
-  'cat_thumb' => 'Kategorie-Thumbnail',
-  'cat_desc' => 'Kategorie-Beschreibung',
-  'categories_alpha_sort' => 'Kategorien alphabetisch sortieren (anstatt benutzerdefinierter Sortierreihenfolge)', //cpg1.4
-  'save_cfg' => 'Einstellungen speichern', //cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File admin.php //cpg1.4
-// ------------------------------------------------------------------------- //
-
-if (defined('ADMIN_PHP')) $lang_admin_php = array(
-  'title' => 'Galerie-Einstellungen', //cpg1.4
-  'manage_exif' => 'Exif-Einstellungen verwalten', //cpg1.4
-  'manage_plugins' => 'Plugins verwalten', //cpg1.4
-  'manage_keyword' => 'Stichworte verwalten', //cpg1.4
-  'restore_cfg' => 'auf Werkseinstellungen zurücksetzen',
-  'save_cfg' => 'Neue Einstellungen speichern',
-  'notes' => 'Anmerkungen',
-  'info' => 'Information',
-  'upd_success' => 'Die Einstellungen von Coppermine wurden aktualisiert',
-  'restore_success' => 'Coppermine Standard-Einstellungen wiederhergestellt',
-  'name_a' => 'aufsteigend nach Name',
-  'name_d' => 'absteigend nach Name',
-  'title_a' => 'aufsteigend nach Titel',
-  'title_d' => 'absteigend nach Titel',
-  'date_a' => 'aufsteigend nach Datum',
-  'date_d' => 'absteigend nach Datum',
-  'pos_a' => 'aufsteigend nach Position', //cpg1.4
-  'pos_d' => 'absteigend nach Position', //cpg1.4
-  'th_any' => 'Maximalwert (entweder Höhe oder Breite)',
-  'th_ht' => 'Höhe',
-  'th_wd' => 'Breite',
-  'label' => 'Beschriftung',
-  'item' => 'Eintrag',
-  'debug_everyone' => 'alle',
-  'debug_admin' => 'nur Admin',
-  'no_logs'=> 'Aus', //cpg1.4
-  'log_normal'=> 'Normal', //cpg1.4
-  'log_all' => 'Alle', //cpg1.4
-  'view_logs' => 'Historie anzeigen', //cpg1.4
-  'click_expand' => 'Klicke auf die jeweilige Bezeichnung zum Ausklappen des Abschnitts', //cpg1.4
-  'expand_all' => 'Alle ausklappen', //cpg1.4
-  'notice1' => '(*) Diese Einstellungen dürfen nicht mehr verändert werden, wenn bereits Dateien in der Datenbank vorhanden sind.', //cpg1.4 - (relocated)
-  'notice2' => '(**) Bei Änderung dieser Einstellung werden die geänderten Werte nur für Dateien herangezogen, die ab dem Zeitpunkt der Änderung hinzugefügt werden - daher ist es ratsam, hier nichts zu ändern, wenn bereits Bilder in der Galerie vorhanden sind. Die geänderten Einstellungen können jedoch auch auf ältere Dateien angewendet werden durch Verwendung der &quot;<a href="util.php">Admin-Werkzeuge</a> (Thumbnails und/oder Bilder in Zwischengrösse aktualisieren)&quot; aus dem Admin-Menü.', //cpg1.4 - (relocated)
-  'notice3' => '(***) Alle Logs werden in Englisch geschrieben.', //cpg1.4 - (relocated)
-  'bbs_disabled' => 'Funktion deaktiviert bei der Verwendung des Bridging', //cpg1.4
-  'auto_resize_everyone' => 'Alle (Benutzer+Admin)', //cpg1.4
-  'auto_resize_user' => 'Nur Benutzer', //cpg1.4
-  'ascending' => 'aufsteigend', //cpg1.4
-  'descending' => 'absteigend', //cpg1.4
-);
-
-if (defined('ADMIN_PHP')) $lang_admin_data = array(
-  'Allgemeine Einstellungen',
-  array('Galerie-Name', 'gallery_name', 0, 'f=index.htm&amp;as=admin_general_name&amp;ae=admin_general_name_end'), //cpg1.4
-  array('Galerie-Beschreibung', 'gallery_description', 0, 'f=index.htm&amp;as=admin_general_description&amp;ae=admin_general_description_end'), //cpg1.4
-  array('Galerie-Admin eMail', 'gallery_admin_email', 0, 'f=index.htm&amp;as=admin_general_email&amp;ae=admin_general_email_end'), //cpg1.4
-  array('URL Deines Coppermine-Galerie Verzeichnisses (no \'index.php\' or similar at the end)', 'ecards_more_pic_target', 0, 'f=index.htm&amp;as=admin_general_coppermine-url&amp;ae=admin_general_coppermine-url_end'), //cpg1.4
-  array('URL Deiner Homepage', 'home_target', 0, 'f=index.htm&amp;as=admin_general_home-url&amp;ae=admin_general_home-url_end'), //cpg1.4
-  array('ZIP-Download der Favoriten erlauben', 'enable_zipdownload', 1, 'f=index.htm&amp;as=admin_general_zip-download&amp;ae=admin_general_zip-download_end'), //cpg1.4
-  array('Zeitzonen-Differenz relative zur MEZ (aktuelle Zeit: ' . localised_date(-1, $comment_date_fmt) . ')','time_offset',0, 'f=index.htm&amp;as=admin_general_time-offset&amp;ae=admin_general_time-offset_end&amp;top=1'), //cpg1.4
-  array('Verschlüsselte Passwörter aktivieren (kann nicht rückgängig gemacht werden)','enable_encrypted_passwords',1, 'f=index.htm&amp;as=admin_general_encrypt_password_start&amp;ae=admin_general_encrypt_password_end&amp;top=1'), // cpg 1.4
-  array('Hilfe-Icons aktivieren (Hilfe nur in Englisch verfügbar)','enable_help',9, 'f=index.htm&amp;as=admin_general_help&amp;ae=admin_general_help_end'), //cpg1.4
-  array('Anklickbare Stichwörter in Suche aktivieren','clickable_keyword_search',14, 'f=index.htm&amp;as=admin_general_keywords_start&amp;ae=admin_general_keywords_end'), //cpg1.4
-  array('Plugins aktivieren', 'enable_plugins', 12, 'f=index.htm&amp;as=admin_general_enable-plugins&amp;ae=admin_general_enable-plugins_end'),  //cpg1.4
-  array('Verbannung von nicht-routebaren IP-Adressen aktivieren', 'ban_private_ip', 1,  'f=index.htm&amp;as=admin_general_private-ip&amp;ae=admin_general_private-ip_end'), //cpg1.4
-  array('Baumstruktur für Batch-hinzufügen aktivieren', 'browse_batch_add', 1, 'f=index.htm&amp;as=admin_general_browsable_batch_add&amp;ae=admin_general_browsable_batch_add_end'), //cpg1.4
-
-  'Sprach- &amp; Zeichensatz-Einstellungen',
-  array('Sprache', 'lang', 5, 'f=index.htm&amp;as=admin_language_language&amp;ae=admin_language_language_end'), //cpg1.4
-  array('Auf Englisch zurückgreifen, wenn Deutsche Übersetzung nicht verfügbar?', 'language_fallback', 1, 'f=index.htm&amp;as=admin_language_fallback&amp;ae=admin_language_fallback_end'), //cpg1.4
-  array('Zeichensatz', 'charset', 4, 'f=index.htm&amp;as=admin_language_charset&amp;ae=admin_language_charset_end'), //cpg1.4
-  array('Sprachauswahl-Liste anzeigen', 'language_list', 1, 'f=index.htm&amp;as=admin_language_list&amp;ae=admin_language_list_end'), //cpg1.4
-  array('Sprachauswahl-Flaggen anzeigen', 'language_flags', 8, 'f=index.htm&amp;as=admin_language_flags&amp;ae=admin_language_flags_end&amp;top=1'), //cpg1.4
-  array('&quot;Standard&quot; in Sprachauswahl anzeigen', 'language_reset', 1, 'f=index.htm&amp;as=admin_language_reset&amp;ae=admin_language_reset_end&amp;top=1'), //cpg1.4
-  //array('zurück/vorwärts in Tabs anzeigen', 'previous_next_tab', 1), //cpg1.4
-
-  'Design-Einstellungen',
-  array('Design', 'theme', 6, 'f=index.htm&amp;as=admin_theme_theme&amp;ae=admin_theme_theme_end'), //cpg1.4
-  array('Designauswahl-Liste anzeigen', 'theme_list', 1, 'f=index.htm&amp;as=admin_theme_theme_list&amp;ae=admin_theme_theme_list_end'), //cpg1.4
-  array('&quot;Standard&quot; in Designauswahl-Liste anzeigen', 'theme_reset', 1, 'f=index.htm&amp;as=admin_theme_theme_reset&amp;ae=admin_theme_theme_reset_end'), //cpg1.4
-  array('FAQ anzeigen', 'display_faq', 1, 'f=index.htm&amp;as=admin_theme_faq&amp;ae=admin_theme_faq_end'), //cpg1.4
-  array('Name eines benutzerdefinierten Menü-Eintrags', 'custom_lnk_name', 0,'f=index.htm&amp;as=admin_theme_custom_lnk_name&amp;ae=admin_theme_custom_lnk_name_end'), //cpg1.4
-  array('URL eines benutzerdefinierten Menü-Eintrags', 'custom_lnk_url', 0,'f=index.htm&amp;as=admin_language_custom_lnk_url&amp;ae=admin_language_custom_lnk_url_end'), //cpg1.4
-  array('bbcode-Hilfe anzeigen', 'show_bbcode_help', 1, 'f=index.htm&amp;as=admin_theme_bbcode&amp;ae=admin_theme_bbcode_end&amp;top=1'), //cpg1.4
-  array('Vanity Block in Designs anzeigen, die als XHTML und CSS konform definiert sind?','vanity_block',1, 'f=index.htm&amp;as=vanity_block&amp;ae=vanity_block_end'), //cpg1.4
-  array('Pfad zu benutzerdefiniertem header-include', 'custom_header_path', 0, 'f=index.htm&amp;as=admin_theme_include_path_start&amp;ae=admin_theme_include_path_end'), //cpg1.4
-  array('Pfad zu benutzerdefiniertem footer-include', 'custom_footer_path', 0, 'f=index.htm&amp;as=admin_theme_include_path_start&amp;ae=admin_theme_include_path_end'), //cpg1.4
-
-  'Ansicht Albenliste',
-  array('Breite der Haupttabelle (in Pixel oder %)', 'main_table_width', 0, 'f=index.htm&amp;as=admin_album_table-width&amp;ae=admin_album_table-width_end'), //cpg1.4
-  array('Anzahl angezeigter Kategorie-Ebenen', 'subcat_level', 0, 'f=index.htm&amp;as=admin_album_category-levels&amp;ae=admin_album_category-levels_end'), //cpg1.4
-  array('Anzahl angezeigter Alben', 'albums_per_page', 0, 'f=index.htm&amp;as=admin_album_number&amp;ae=admin_album_number_end'), //cpg1.4
-  array('Anzahl Spalten in Album-Liste', 'album_list_cols', 0, 'f=index.htm&amp;as=admin_album_columns&amp;ae=admin_album_columns_end'), //cpg1.4
-  array('Thumbnail-Größe in Pixeln', 'alb_list_thumb_size', 0, 'f=index.htm&amp;as=admin_album_thumbnail-size&amp;ae=admin_album_thumbnail-size_end'), //cpg1.4
-  array('Inhalt der Hauptseite', 'main_page_layout', 0, 'f=index.htm&amp;as=admin_album_list_content&amp;ae=admin_album_list_content_end'), //cpg1.4
-  array('Erste Ebene der Thumbnails der Alben auch in Kategorien anzeigen','first_level',1, 'f=index.htm&amp;as=admin_album_first-level_thumbs&amp;ae=admin_album_first-level_thumbs_end'), //cpg1.4
-  array('Kategorien alphabetisch sortieren (anstatt benutzerdefinierter Sortierreihenfolge)','categories_alpha_sort',1, 'f=index.htm&amp;as=admin_album_list_alphasort_start&amp;ae=admin_album_list_alphasort_end'), //cpg1.4
-  array('Anzahl der verlinkten Dateien anzeigen','link_pic_count',1, 'f=index.htm&amp;as=admin_album_linked_files_start&amp;ae=admin_album_linked_files_end'), //cpg1.4
-
-  'Ansicht Thumbnail',
-  array('Spaltenzahl auf Thumbnail-Seite', 'thumbcols', 0, 'f=index.htm&amp;as=admin_thumbnail_columns&amp;ae=admin_thumbnail_columns_end'), //cpg1.4
-  array('Zeilenzahl auf Thumbnail-Seite', 'thumbrows', 0, 'f=index.htm&amp;as=admin_thumbnail_rows&amp;ae=admin_thumbnail_rows_end'), //cpg1.4
-  array('Anzahl maximal angezeigter Tabs', 'max_tabs', 10, 'f=index.htm&amp;as=admin_thumbnail_tabs&amp;ae=admin_thumbnail_tabs_end'), //cpg1.4
-  array('Datei-Beschriftung anzeigen (zusätzlich zum Datei-Titel) unterhalb der Thumbnails', 'caption_in_thumbview', 1, 'f=index.htm&amp;as=admin_thumbnail_display_caption&amp;ae=admin_thumbnail_display_caption_end'), //cpg1.4
-  array('Anzahl der Treffer unterhalb des Thumbnails anzeigen', 'views_in_thumbview', 1, 'f=index.htm&amp;as=admin_thumbnail_display_views&amp;ae=admin_thumbnail_display_views_end'), //cpg1.4
-  array('Anzahl der Kommentare unterhalb des Thumbnails anzeigen', 'display_comment_count', 1, 'f=index.htm&amp;as=admin_thumbnail_display_comments&amp;ae=admin_thumbnail_display_comments_end'), //cpg1.4
-  array('Name des Uploaders unterhalb des Thumbnails anzeigen', 'display_uploader', 1, 'f=index.htm&amp;as=admin_thumbnail_display_uploader&amp;ae=admin_thumbnail_display_uploader_end'), //cpg1.4
-  //array('Name von administrativen Uploadern unterhalb des Thumbnails anzeigen', 'display_admin_uploader', 1, 'f=index.htm&amp;as=admin_thumbnail_display_admin_uploader&amp;ae=admin_thumbnail_display_admin_uploader_end'), //cpg1.4
-  array('Dateiname unterhalb des Thumbnails anzeigen', 'display_filename', 1, 'f=index.htm&amp;as=admin_thumbnail_display_filename&amp;ae=admin_thumbnail_display_filename_end'), //cpg1.4
-  //array('Alben-Beschreibung anzeigen', 'alb_desc_thumb', 1, 'f=index.htm&amp;as=admin_thumbnail_display_description&amp;ae=admin_thumbnail_display_description_end'), //cpg1.4
-  array('Standard-Sortierung für Dateien', 'default_sort_order', 3, 'f=index.htm&amp;as=admin_thumbnail_default_sortorder&amp;ae=admin_thumbnail_default_sortorder_end'), //cpg1.4
-  array('Mindestmenge Stimmen, die eine Datei benötigt, um in der \'am besten bewertet\'-Liste zu erscheinen', 'min_votes_for_rating', 0, 'f=index.htm&amp;as=admin_thumbnail_minimum_votes&amp;ae=admin_thumbnail_minimum_votes_end'), //cpg1.4
-
-  'Ansicht Bild', //cpg1.4
-  array('Tabellenbreite für Bildanzeige (in Pixel oder %)', 'picture_table_width', 0, 'f=index.htm&amp;as=admin_image_comment_table-width&amp;ae=admin_image_comment_table-width_end'), //cpg1.4
-  array('Datei-Informationen sind standardmäßig sichtbar', 'display_pic_info', 1, 'f=index.htm&amp;as=admin_image_comment_info_visible&amp;ae=admin_image_comment_info_visible_end'), //cpg1.4
-  array('Maximallänge für Dateibeschreibung', 'max_img_desc_length', 0, 'f=index.htm&amp;as=admin_image_comment_descr_length&amp;ae=admin_image_comment_descr_length_end'), //cpg1.4
-  array('Maximale Anzahl von Buchstaben in einem Wort', 'max_com_wlength', 0, 'f=index.htm&amp;as=admin_image_comment_chars_per_word&amp;ae=admin_image_comment_chars_per_word_end'), //cpg1.4
-  array('Film-Streifen anzeigen', 'display_film_strip', 1, 'f=index.htm&amp;as=admin_image_comment_filmstrip_toggle&amp;ae=admin_image_comment_filmstrip_toggle_end'), //cpg1.4
-  array('Dateinamen unter Filmstreifen-Thumbnails anzeigen', 'display_film_strip_filename', 1, 'f=index.htm&amp;as=admin_image_comment_display_film_strip_filename&amp;ae=admin_image_comment_display_film_strip_filename_end'), //cpg1.4
-  array('Anzahl Elemente in Film-Streifen', 'max_film_strip_items', 0, 'f=index.htm&amp;as=admin_image_comment_filmstrip_number&amp;ae=admin_image_comment_filmstrip_number_end'), //cpg1.4
-  array('Diashow-Intervall in Millisekunden (1 Sekunde = 1000 Millisekunden)', 'slideshow_interval', 0, 'f=index.htm&amp;as=admin_image_comment_slideshow_interval&amp;ae=admin_image_comment_slideshow_interval_end'), //cpg1.4
-
-  'Einstellungen Kommentare', //cpg1.4
-  array('Schimpfwörter in Kommentaren zensieren', 'filter_bad_words', 1, 'f=index.htm&amp;as=admin_image_comment_bad_words&amp;ae=admin_image_comment_bad_words_end'), //cpg1.4
-  array('Smilies in Kommentaren erlauben', 'enable_smilies', 1, 'f=index.htm&amp;as=admin_image_comment_smilies&amp;ae=admin_image_comment_smilies_end'), //cpg1.4
-  array('Aufeinanderfolgende Kommentare eines Benutzers zu einer Datei zulassen (Überflutungs-Schutz abschalten)', 'disable_comment_flood_protect', 1, 'f=index.htm&amp;as=admin_image_comment_flood&amp;ae=admin_image_comment_flood_end'), //cpg1.4
-  array('Maximale Zeilenzahl eines Kommentars', 'max_com_lines', 0, 'f=index.htm&amp;as=admin_image_comment_lines&amp;ae=admin_image_comment_lines_end'), //cpg1.4
-  array('Maximale Länge eines Kommentars', 'max_com_size', 0, 'f=index.htm&amp;as=admin_image_comment_length&amp;ae=admin_image_comment_length_end'), //cpg1.4
-  array('Admin über abgegebene Kommentare per eMail benachrichtigen', 'email_comment_notification', 1, 'f=index.htm&amp;as=admin_image_comment_admin_notify&amp;ae=admin_image_comment_admin_notify_end'), //cpg1.4
-  array('Sortierreihenfolge von Kommentaren', 'comments_sort_descending', 17, 'f=index.htm&amp;as=admin_comment_sort_start&amp;ae=admin_comment_sort_end'), //cpg1.4
-  array('Vorsilbe für anonyme Kommentatoren', 'comments_anon_pfx', 0, 'f=index.htm&amp;as=comments_anon_pfx&amp;ae=comments_anon_pfx_end'), //cpg1.4
-
-  'Bild/Datei- und Thumbnail-Einstellungen',
-  array('Qualität für JPEG-Dateien', 'jpeg_qual', 0, 'f=index.htm&amp;as=admin_picture_thumbnail_jpeg_quality&amp;ae=admin_picture_thumbnail_jpeg_quality_end'), //cpg1.4
-  array('Maximalgröße Thumbnail<a href="#notice2" class="clickable_option">**</a>', 'thumb_width', 0, 'f=index.htm&amp;as=admin_picture_thumbnail_max-dimension&amp;ae=admin_picture_thumbnail_max-dimension_end'), //cpg1.4
-  array('Welche Dimension soll genutzt werden für Thumbnails ( Breite oder Höhe oder das, was jeweils größer ist)<a href="#notice1" class="clickable_option">**</a>', 'thumb_use', 7, 'f=index.htm&amp;as=admin_picture_thumbnail_use-dimension&amp;ae=admin_picture_thumbnail_use-dimension_end'), //cpg1.4
-  array('Bilder in Zwischengröße erzeugen','make_intermediate',1, 'f=index.htm&amp;as=admin_picture_thumbnail_intermediate_toggle&amp;ae=admin_picture_thumbnail_intermediate_toggle_end'), //cpg1.4
-  array('Maximale Breite oder Höhe von Bildern/Videos in Zwischengröße <a href="#notice2" class="clickable_option">**</a>', 'picture_width', 0, 'f=index.htm&amp;as=admin_picture_thumbnail_intermediate_dimension&amp;ae=admin_picture_thumbnail_intermediate_dimension_end'), //cpg1.4
-  array('Maximalgröße für das Hochladen von Dateien (kB)', 'max_upl_size', 0, 'f=index.htm&amp;as=admin_picture_thumbnail_max_upload_size&amp;ae=admin_picture_thumbnail_max_upload_size_end'), //cpg1.4
-  array('Maximale Breite oder Höhe für das Hochladen von Bildern/Videos (in Pixel)', 'max_upl_width_height', 0, 'f=index.htm&amp;as=admin_picture_thumbnail_max_upload_dimension&amp;ae=admin_picture_thumbnail_max_upload_dimension_end'), //cpg1.4
-  array('Automatische Verkleinerung von Bildern, die die Maximalgröße überschreiten', 'auto_resize', 16, 'f=index.htm&amp;as=admin_picture_thumbnail_auto-resize&amp;ae=admin_picture_thumbnail_auto-resize_end'), //cpg1.4
-
-  'Erweiterte Bild/Datei- und Thumbnail-Einstellungen',
-  array('Alben können nicht-öffentlich sein (Anmerkung: beim Umschalten von \'ja\' auf \'nein\' werden <i>alle</i> nicht-öffentlichen Alben öffentlich)', 'allow_private_albums', 1, 'f=index.htm&amp;as=admin_picture_thumb_advanced_private_toggle&amp;ae=admin_picture_thumb_advanced_private_toggle_end'), //cpg1.4
-  array('Icons für Persönliche Alben nicht-eingeloggten Benutzern anzeigen?','show_private',1, 'f=index.htm&amp;as=admin_picture_thumb_advanced_private_icon_show&amp;ae=admin_picture_thumb_advanced_private_icon_show_end'), //cpg1.4
-  array('Nicht erlaubte Zeichen in Dateinamen', 'forbiden_fname_char',0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_filename_forbidden_chars&amp;ae=admin_picture_thumb_advanced_filename_forbidden_chars_end'), //cpg1.4
-  //array('erlaubte Datei-Erweiterungen für das Hochladen von Bildern', 'allowed_file_extensions',0, 'f=index.htm&amp;as=&amp;ae=_end'), //cpg1.4
-  array('Zugelassene Bild-Dateitypen', 'allowed_img_types',0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_pic_extensions&amp;ae=admin_picture_thumb_advanced_pic_extensions_end'), //cpg1.4
-  array('Zugelassene Video-Dateitypen', 'allowed_mov_types',0, 'f=index.htm&amp;as=admin_thumbs_advanced_movie&amp;ae=admin_thumbs_advanced_movie_end'), //cpg1.4
-  array('Autostart für Filme', 'media_autostart',1, 'f=index.htm&amp;as=admin_movie_autoplay&amp;ae=admin_movie_autoplay_end'), //cpg1.4
-  array('Zugelassene Audio-Dateitypen', 'allowed_snd_types',0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_audio_extensions&amp;ae=admin_picture_thumb_advanced_audio_extensions_end'), //cpg1.4
-  array('Zugelassene Dokument-Dateitypen', 'allowed_doc_types',0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_doc_extensions&amp;ae=admin_picture_thumb_advanced_doc_extensions_end'), //cpg1.4
-  array('Methode zur Größenänderung von Bildern','thumb_method',2, 'f=index.htm&amp;as=admin_picture_thumb_advanced_resize_method&amp;ae=admin_picture_thumb_advanced_resize_method_end'), //cpg1.4
-  array('Pfad zur \'convert\'-Anwendung von ImageMagick (z.B. /usr/bin/X11/)', 'impath', 0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_im_path&amp;ae=admin_picture_thumb_advanced_im_path_end'), //cpg1.4
-  //array('Erlaubte Datei-Typen (nur gültig für ImageMagick)', 'allowed_img_types',0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_allowed_imagetypes&amp;ae=admin_picture_thumb_advanced_allowed_imagetypes_end'), //cpg1.4
-  array('Kommandozeilen-Parameter für ImageMagick', 'im_options', 0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_im_commandline&amp;ae=admin_picture_thumb_advanced_im_commandline_end'), //cpg1.4
-  array('EXIF-Daten in JPEG-Dateien lesen', 'read_exif_data', 13, 'f=index.htm&amp;as=admin_picture_thumb_advanced_exif&amp;ae=admin_picture_thumb_advanced_exif_end'), //cpg1.4
-  array('IPTC-Daten in JPEG-Dateien lesen', 'read_iptc_data', 1, 'f=index.htm&amp;as=admin_picture_thumb_advanced_iptc&amp;ae=admin_picture_thumb_advanced_iptc_end'), //cpg1.4
-  array('Alben-Verzeichnis <a href="#notice1" class="clickable_option">*</a>', 'fullpath', 0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_albums_dir&amp;ae=admin_picture_thumb_advanced_albums_dir_end'), //cpg1.4
-  array('Verzeichnis für Benutzer-Dateien <a href="#notice1" class="clickable_option">*</a>', 'userpics', 0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_userpics_dir&amp;ae=admin_picture_thumb_advanced_userpics_dir_end'), //cpg1.4
-  array('Vorsilbe für Bilder in Zwischengröße <a href="#notice1" class="clickable_option">*</a>', 'normal_pfx', 0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_intermediate_prefix&amp;ae=admin_picture_thumb_advanced_intermediate_prefix_end'), //cpg1.4
-  array('Vorsilbe für Thumbnails <a href="#notice1" class="clickable_option">*</a>', 'thumb_pfx', 0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_thumbs_prefix&amp;ae=admin_picture_thumb_advanced_thumbs_prefix_end'), //cpg1.4
-  array('Standard-Modus für Verzeichnisse', 'default_dir_mode', 0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_chmod_folder&amp;ae=admin_picture_thumb_advanced_chmod_folder_end'), //cpg1.4
-  array('Standard-Modus für Dateien', 'default_file_mode', 0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_chmod_files&amp;ae=admin_picture_thumb_advanced_chmod_files_end'), //cpg1.4
-
-  'Benutzer-Einstellungen',
-  array('Registrierung von Benutzern zulassen', 'allow_user_registration', 1, 'f=index.htm&amp;as=admin_allow_registration&amp;ae=admin_allow_registration_end'), //cpg1.4
-  array('Nicht-angemeldeten Besuchern (Gäste) Zugriff erlauben', 'allow_unlogged_access', 1, 'f=index.htm&amp;as=admin_allow_unlogged_access&amp;ae=admin_allow_unlogged_access_end'), //cpg1.4
-  array('Registrierung von Benutzern erfordert Überprüfung per eMail', 'reg_requires_valid_email', 1, 'f=index.htm&amp;as=admin_registration_verify&amp;ae=admin_registration_verify_end'), //cpg1.4
-  array('Admin über neu-registrierten Benutzer per eMail benachrichtigen', 'reg_notify_admin_email', 1, 'f=index.htm&amp;as=admin_registration_notify&amp;ae=admin_registration_notify_end'), //cpg1.4
-  array('Admin muss Registrierungen aktivieren', 'admin_activation', 1, 'f=index.htm&amp;as=admin_activation&amp;ae=admin_activation_end'),  //cpg1.4
-  array('Zulassen, dass mehrere Benutzer die gleiche eMail-Adresse haben', 'allow_duplicate_emails_addr', 1, 'f=index.htm&amp;as=admin_allow_duplicate_emails_addr&amp;ae=admin_allow_duplicate_emails_addr_end'), //cpg1.4
-  array('Admin über genehmigungspflichtige Benutzer-Uploads per eMail benachrichtigen', 'upl_notify_admin_email', 1, 'f=index.htm&amp;as=admin_approval_notify&amp;ae=admin_approval_notify_end'), //cpg1.4
-  array('Angemeldeten Benutzern Benutzerliste anzeigen', 'allow_memberlist', 1, 'f=index.htm&amp;as=admin_user_memberlist&amp;ae=admin_user_memberlist_end'), //cpg1.4
-  array('Benutzern erlauben, Ihre eMail-Adresse im Profil zu ändern', 'allow_email_change', 1, 'f=index.htm&amp;as=admin_user_allow_email_change&amp;ae=admin_user_allow_email_change_end'), //cpg1.4
-  array('Benutzern bleiben Eigentümer von Bildern, die sie in öffentliche Alben hochgeladen haben (sie können diese dann ändern, beschriften und löschen', 'users_can_edit_pics', 1, 'f=index.htm&amp;as=admin_user_editpics_public_start&amp;ae=admin_user_editpics_public_end'), //cpg1.4
-  array('Anzahl fehlgeschlagener Anmeldeversuche bis zur zeitweiligen Sperrung (zur Vermeidung von Brute-Force Angriffen)', 'login_threshold', 0, 'f=index.htm&amp;as=admin_user_login_start&amp;ae=admin_user_login_end'), //cpg1.4
-  array('Dauer einer zeitweilligen Sperrung nach fehlgeschlagenen Anmeldungen', 'login_expiry', 0, 'f=index.htm&amp;as=admin_user_login_start&amp;ae=admin_user_login_end'), //cpg1.4
-  array('&quot;Beim Administrator melden&quot; aktivieren', 'report_post', 1, 'f=index.htm&amp;as=admin_user_enable_report&amp;ae=admin_user_enable_report_end'),  //cpg1.4
-
-// custom profile fields,  //cpg1.4
-  'Benutzerdefinierte Felder für Benutzerprofile (leer lassen, falls ungenutzt).
-  Benutze Profilfeld 6 für Langeinträge (wie Biographien).', //cpg1.4
-  array('Bezeichnung Profilfeld 1', 'user_profile1_name', 0, 'f=index.htm&amp;as=admin_custom&amp;ae=admin_custom_end'), //cpg1.4
-  array('Bezeichnung Profilfeld 2', 'user_profile2_name', 0), //cpg1.4
-  array('Bezeichnung Profilfeld 3', 'user_profile3_name', 0), //cpg1.4
-  array('Bezeichnung Profilfeld 4', 'user_profile4_name', 0), //cpg1.4
-  array('Bezeichnung Profilfeld 5', 'user_profile5_name', 0), //cpg1.4
-  array('Bezeichnung Profilfeld 6', 'user_profile6_name', 0), //cpg1.4
-
-  'Benutzerdefinierte Felder für zusätzliche Dateiinformationen (leer lassen, falls nicht benötigt)',
-  array('Bezeichnung Feld 1', 'user_field1_name', 0, 'f=index.htm&amp;as=admin_custom_image&amp;ae=admin_custom_image_end'), //cpg1.4
-  array('Bezeichnung Feld 2', 'user_field2_name', 0),
-  array('Bezeichnung Feld 3', 'user_field3_name', 0),
-  array('Bezeichnung Feld 4', 'user_field4_name', 0),
-
-  'Cookies-Einstellungen',
-  array('Cookie-Name', 'cookie_name', 0, 'f=index.htm&amp;as=admin_cookie_name&amp;ae=admin_cookie_name_end'), //cpg1.4
-  array('Cookie-Pfad', 'cookie_path', 0, 'f=index.htm&amp;as=admin_cookie_path&amp;ae=admin_cookie_path_end'), //cpg1.4
-
-  'Email-Einstellungen  (normalerweise muss hier nichts eingestellt werden; lasse im Zweifelsfall alle Felder leer )', //cpg1.4
-  array('SMTP-Hostname (wenn leer wird sendmail benutzt)', 'smtp_host', 0, 'f=index.htm&amp;as=admin_email&amp;ae=admin_email_end'), //cpg1.4
-  array('SMTP-Benutzername', 'smtp_username', 0), //cpg1.4
-  array('SMTP-Passwort', 'smtp_password', 0), //cpg1.4
-
-  'Logging und Statistiken', //cpg1.4
-  array('Logging-Modus <a href="#notice3" class="clickable_option">***</a>', 'log_mode', 11, 'f=index.htm&amp;as=admin_logging_log_mode&amp;ae=admin_logging_log_mode_end'), //cpg1.4
-  array('eCards aufzeichnen (Logging)<br />(Anmerkung: das Aufzeichnen von Benutzer-Daten kann Datenschutz-rechtliche Konsequenzen haben. Der Benutzer sollte über die Tatsache, dass die eCards gelogged werden, informiert werden und sein Einverständnis gegeben haben, z.B. bei der Registrierung. Details, wie eine Datenschutz-Policy, die den Schutz der Privatsphäre regelt, sollten separat auf der Seite verfügbar sein.)', 'log_ecards', 1, 'f=index.htm&amp;as=admin_general_log_ecards&amp;ae=admin_general_log_ecards_end'), //cpg1.4
-  array('Detailierte Abstimmungs-Statistiken aufzeichnen','vote_details',1, 'f=index.htm&amp;as=admin_logging_votedetails&amp;ae=admin_logging_votedetails_end'), //cpg1.4
-  array('Detailierte Treffer-Statistiken aufzeichnen (Besucherzähler)','hit_details',1, 'f=index.htm&amp;as=admin_logging_hitdetails&amp;ae=admin_logging_hitdetails_end'), //cpg1.4
-
-  'Wartungs-Einstellungen', //cpg1.4
-  array('Debug-Modus ein', 'debug_mode', 9, 'f=index.htm&amp;as=debug_mode&amp;ae=debug_mode_end'), //cpg1.4
-  array('PHP-notices in Debug-Modus anzeigen (empfohlen: aus)', 'debug_notice', 1, 'f=index.htm&amp;as=admin_misc_debug_notices&amp;ae=admin_misc_debug_notices_end'), //cpg1.4
-  array('Galerie ist im Wartungsmodus', 'offline', 1, 'f=index.htm&amp;as=admin_general_offline&amp;ae=admin_general_offline_end'), //cpg1.4
-);
-
-
-// ------------------------------------------------------------------------- //
-// File db_ecard.php
-// ------------------------------------------------------------------------- //
-
-if (defined('DB_ECARD_PHP')) $lang_db_ecard_php = array(
-  'title' => 'Versendete eCards',
-  'ecard_sender' => 'Absender',
-  'ecard_recipient' => 'Empfänger',
-  'ecard_date' => 'Datum',
-  'ecard_display' => 'eCard anzeigen',
-  'ecard_name' => 'Name',
-  'ecard_email' => 'eMail',
-  'ecard_ip' => 'IP',
-  'ecard_ascending' => 'aufsteigend',
-  'ecard_descending' => 'absteigend',
-  'ecard_sorted' => 'Sortiert',
-  'ecard_by_date' => 'nach Datum',
-  'ecard_by_sender_name' => 'nach Absender-Name',
-  'ecard_by_sender_email' => 'nach eMail-Adresse des Absenders',
-  'ecard_by_sender_ip' => 'nach IP-Adresse des Absenders',
-  'ecard_by_recipient_name' => 'nach Empfänger-Name',
-  'ecard_by_recipient_email' => 'nach eMail-Adresse des Empfängers',
-  'ecard_number' => 'zeige Eintrag %s bis %s von %s',
-  'ecard_goto_page' => 'gehe zu Seite',
-  'ecard_records_per_page' => 'Einträge pro Seite',
-  'check_all' => 'alle markieren',
-  'uncheck_all' => 'alle Markierungen entfernen',
-  'ecards_delete_selected' => 'Gewählte eCard-Einträge löschen',
-  'ecards_delete_confirm' => 'Alle Einträge löschen? Entsprechendes Feld ankreuzen!',
-  'ecards_delete_sure' => 'wirklich löschen',
-);
-
-
-// ------------------------------------------------------------------------- //
-// File db_input.php
-// ------------------------------------------------------------------------- //
-
-if (defined('DB_INPUT_PHP')) $lang_db_input_php = array(
-  'empty_name_or_com' => 'Du musst Deinen Namen und einen Kommentar eingeben',
-  'com_added' => 'Dein Kommentar wurde hinzugefügt',
-  'alb_need_title' => 'Du musst einen Titel für das Album eingeben!',
-  'no_udp_needed' => 'Keine Aktualisierung notwendig.',
-  'alb_updated' => 'Das Album wurde aktualisiert',
-  'unknown_album' => 'Das gewählte Album existiert nicht oder Du hast keine Berechtigung, Dateien in dieses Album hochzuladen',
-  'no_pic_uploaded' => 'Es wurde keine Datei hochgeladen!<br /><br />Wenn Du tatsächlich eine Datei zum Hochladen selektiert hast, überprüfe, ob Dein Server das Hochladen von Dateien zulässt...',
-  'err_mkdir' => 'Verzeichnis %s konnte nicht angelegt werden!',
-  'dest_dir_ro' => 'In das Zielverzeichnis %s kann vom Skript nicht geschrieben werden!',
-  'err_move' => '%s kann nicht nach %s verschoben werden!',
-  'err_fsize_too_large' => 'Die Datei, die Du hochgeladen hast, ist zu groß (maximal zulässig ist %s x %s) !',
-  'err_imgsize_too_large' => 'Die Datei, die Du hochgeladen hast, ist zu groß (maximal zulässig ist %s kB) !',
-  'err_invalid_img' => 'Die Datei, die Du hochgeladen hast, ist kein gültiger Bildtyp!',
-  'allowed_img_types' => 'Du kannst nur %s Bilder hochladen.',
-  'err_insert_pic' => 'Das Bild \'%s\' kann nicht in das Album eingefügt werden ',
-  'upload_success' => 'Deine Datei wurde erfolgreich hochgeladen.<br /><br />Sie wird nach der Bestätigung durch den Admin sichtbar sein.',
-  'notify_admin_email_subject' => '%s - Upload-Benachrichtigung',
-  'notify_admin_email_body' => '%s hat eine Datei hochgeladen, die bestätigt werden muss. Gehe zu %s',
-  'info' => 'Information',
-  'com_added' => 'Kommentar hinzugefügt',
-  'alb_updated' => 'Album aktualisiert',
-  'err_comment_empty' => 'Dein Kommentar enthält keine Zeichen!',
-  'err_invalid_fext' => 'Nur Dateien mit den folgenden Erweiterungen sind zulässig: <br /><br />%s.',
-  'no_flood' => 'Leider bist Du schon der Autor des letzten Kommentars zu dieser Datei<br /><br />Bearbeite Deinen bestehenden Kommentar, wenn Du ihn verändern willst',
-  'redirect_msg' => 'Du wirst weitergeleitet.<br /><br /><br />Klicke \'weiter\', falls sich die Seite nicht automatisch aktualisiert',
-  'upl_success' => 'Deine Datei wurde erfolgreich hinzugefügt',
-  'email_comment_subject' => 'In der Coppermine Photo Gallery wurde ein Kommentar abgegeben',
-  'email_comment_body' => 'Jemand hat einen Kommentar in Deiner Galerie abgegeben. Um den Kommentar anzusehen, klicke hier: ',
-  'album_not_selected' => 'Kein Album ausgewählt', //cpg1.4
-  'com_author_error' => 'Ein registrierter Benutzer verwendet diesen Namen bereits, melde Dich an oder verwende einen anderen Namen.', //cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File delete.php
-// ------------------------------------------------------------------------- //
-
-if (defined('DELETE_PHP')) $lang_delete_php = array(
-  'caption' => 'Überschrift',
-  'fs_pic' => 'Bild in Originalgröße',
-  'del_success' => 'erfolgreich gelöscht',
-  'ns_pic' => 'normal-großes Bild',
-  'err_del' => 'kann nicht gelöscht werden',
-  'thumb_pic' => 'Thumbnail',
-  'comment' => 'Kommentar',
-  'im_in_alb' => 'Bild in Album',
-  'alb_del_success' => 'Album &laquo;%s&raquo; gelöscht', //cpg1.4
-  'alb_mgr' => 'Alben-Manager',
-  'err_invalid_data' => 'Ungültige Daten empfangen in \'%s\'',
-  'create_alb' => 'Erzeuge Album \'%s\'',
-  'update_alb' => 'Aktualisiere Album \'%s\' mit Titel \'%s\' und Index \'%s\'',
-  'del_pic' => 'Datei löschen',
-  'del_alb' => 'Album löschen',
-  'del_user' => 'Benutzer löschen',
-  'err_unknown_user' => 'Der gewählte Benutzer ist nicht vorhanden!',
-  'err_empty_groups' => 'Gruppen-Tabelle ist leer oder existiert nicht!', //cpg1.4
-  'comment_deleted' => 'Kommentar wurde gelöscht',
-  'npic' => 'Bild', //cpg1.4
-  'pic_mgr' => 'Bilder-Manager', //cpg1.4
-  'update_pic' => 'Aktualisiere Bild \'%s\' mit Dateiname \'%s\' und Index \'%s\'', //cpg1.4
-  'username' => 'Benutzername', //cpg1.4
-  'anonymized_comments' => '%s Kommentar(e) anonymisiert', //cpg1.4
-  'anonymized_uploads' => '%s öffentliche Upload(s) anonymisiert', //cpg1.4
-  'deleted_comments' => '%s Kommentar(e) gelöscht', //cpg1.4
-  'deleted_uploads' => '%s öffentliche Upload(s) gelöscht', //cpg1.4
-  'user_deleted' => 'Benutzer %s gelöscht', //cpg1.4
-  'activate_user' => 'Benutzer aktivieren', //cpg1.4
-  'user_already_active' => 'Benutzerkonto war bereits aktiv', //cpg1.4
-  'activated' => 'Aktiviert', //cpg1.4
-  'deactivate_user' => 'Deaktiviere Benutzer', //cpg1.4
-  'user_already_inactive' => 'Benutzerkonto war bereits inaktiv', //cpg1.4
-  'deactivated' => 'Deaktiviert', //cpg1.4
-  'reset_password' => 'Passwort zurücksetzen', //cpg1.4
-  'password_reset' => 'Passwort zurückgesetzt auf %s', //cpg1.4
-  'change_group' => 'Primäre Gruppe ändern', //cpg1.4
-  'change_group_to_group' => 'Ändere von %s zu %s', //cpg1.4
-  'add_group' => 'Sekundäre Gruppe hinzufügen', //cpg1.4
-  'add_group_to_group' => 'Füge Benutzer %s zu Gruppe %s hinzu. Er ist nun Mitglied von %s als primäre Gruppe und von %s als sekundäre Mitgliedergruppe(n).', //cpg1.4
-  'status' => 'Status', //cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File displayecard.php
-// ------------------------------------------------------------------------- //
-
-if (defined('DISPLAYECARD_PHP')) {
-
-$lang_displayecard_php = array(
-  'invalid_data' => 'Die Daten für die gewünschte eCard wurden von Deinem eMail-Client korrumpiert. Überprüfe den Link auf Vollständigkeit.', //cpg1.4
-);
-}
-
-// ------------------------------------------------------------------------- //
-// File displayimage.php
-// ------------------------------------------------------------------------- //
-
-if (defined('DISPLAYIMAGE_PHP')){
-
-$lang_display_image_php = array(
-  'confirm_del' => 'Diese Datei wirklich LÖSCHEN? \\nKommentare werden ebenfalls gelöscht.',
-  'del_pic' => 'Diese Datei löschen',
-  'size' => '%s x %s Pixel',
-  'views' => '%s mal',
-  'slideshow' => 'Diashow',
-  'stop_slideshow' => 'Diashow anhalten',
-  'view_fs' => 'Klicken für Bild in voller Größe',
-  'edit_pic' => 'Datei-Information bearbeiten', //cpg1.4
-  'crop_pic' => 'Zuschneiden und drehen',
-  'set_player' => 'Player ändern',
-);
-
-$lang_picinfo = array(
-  'title' =>'Datei-Information',
-  'Filename' => 'Dateiname',
-  'Album name' => 'Name des Albums',
-  'Rating' => 'Bewertung (%s Stimmen)',
-  'Keywords' => 'Stichworte',
-  'File Size' => 'Dateigröße',
-  'Date Added' => 'Hinzugefügt am', //cpg1.4
-  'Dimensions' => 'Abmessungen',
-  'Displayed' => 'Angezeigt',
-  'URL' => 'URL', //cpg1.4
-  'Make' => 'Hersteller', //cpg1.4
-  'Model' => 'Modell', //cpg1.4
-  'DateTime' => 'Datum &amp; Uhrzeit', //cpg1.4
-  'DateTimeOriginal' => 'Aufnahmedatum', //cpg1.4
-  'ISOSpeedRatings'=>'ISO', //cpg1.4
-  'MaxApertureValue' => 'Max. Blendenwert', //cpg1.4
-  'FocalLength' => 'Brennweite', //cpg1.4
-  'Comment' => 'Kommentar',
-  'addFav'=>'zu Favoriten hinzufügen',
-  'addFavPhrase'=>'Favoriten',
-  'remFav'=>'aus Favoriten entfernen',
-  'iptcTitle'=>'IPTC Titel',
-  'iptcCopyright'=>'IPTC Copyright',
-  'iptcKeywords'=>'IPTC Stichworte',
-  'iptcCategory'=>'IPTC Kategorie',
-  'iptcSubCategories'=>'IPTC Unter-Kategorie',
-  'ColorSpace' => 'Farbraum', //cpg1.4
-  'ExposureProgram' => 'Belichtungsprogramm', //cpg1.4
-  'Flash' => 'Blitz', //cpg1.4
-  'MeteringMode' => 'Belichtungsmessungs-Modus', //cpg1.4
-  'ExposureTime' => 'Belichtungszeit', //cpg1.4
-  'ExposureBiasValue' => 'Belichtungs-Einstellung', //cpg1.4
-  'ImageDescription' => ' Bildbeschreibung', //cpg1.4
-  'Orientation' => 'Ausrichtung', //cpg1.4
-  'xResolution' => 'x-Auflösung', //cpg1.4
-  'yResolution' => 'y-Auflösung', //cpg1.4
-  'ResolutionUnit' => 'Auflösungs-Einheit', //cpg1.4
-  'Software' => 'Software', //cpg1.4
-  'YCbCrPositioning' => 'YCbCr-Positionierung', //cpg1.4
-  'ExifOffset' => 'Exif Versatz', //cpg1.4
-  'IFD1Offset' => 'IFD1 Versatz', //cpg1.4
-  'FNumber' => 'Blende', //cpg1.4
-  'ExifVersion' => 'Exif Version', //cpg1.4
-  'DateTimeOriginal' => 'Datum & Uhrzeit Original', //cpg1.4
-  'DateTimedigitized' => 'Datum & Uhrzeit Digitaliserung', //cpg1.4
-  'ComponentsConfiguration' => 'Komponenten-Konfiguration', //cpg1.4
-  'CompressedBitsPerPixel' => 'Komprimierte Bits pro Pixel', //cpg1.4
-  'LightSource' => 'Lichtquelle', //cpg1.4
-  'ISOSetting' => 'ISO Einstellung', //cpg1.4
-  'ColorMode' => 'Farbmodus', //cpg1.4
-  'Quality' => 'Qualität', //cpg1.4
-  'ImageSharpening' => 'Bildschärfung', //cpg1.4
-  'FocusMode' => 'Fokus-Modus', //cpg1.4
-  'FlashSetting' => 'Blitz-Einstellung', //cpg1.4
-  'ISOSelection' => 'ISO Auswahl', //cpg1.4
-  'ImageAdjustment' => 'Bildabgleich', //cpg1.4
-  'Adapter' => 'Adapter', //cpg1.4
-  'ManualFocusDistance' => 'Manuelle Fokus-Entfernung', //cpg1.4
-  'DigitalZoom' => 'Digitaler Zoom', //cpg1.4
-  'AFFocusPosition' => 'Autofokus-Position', //cpg1.4
-  'Saturation' => 'Sättigung', //cpg1.4
-  'NoiseReduction' => 'Rauschunterdrückung', //cpg1.4
-  'FlashPixVersion' => 'Flash Pix Version', //cpg1.4
-  'ExifImageWidth' => 'Exif Bildbreite', //cpg1.4
-  'ExifImageHeight' => 'Exif Bildhöhe', //cpg1.4
-  'ExifInteroperabilityOffset' => 'Exif Zusammenarbeitsfähigkeit Offset', //cpg1.4
-  'FileSource' => 'Dateiquelle', //cpg1.4
-  'SceneType' => 'Szenen-Typ', //cpg1.4
-  'CustomerRender' => 'Customer Render', //cpg1.4
-  'ExposureMode' => 'Belichtungsmodus', //cpg1.4
-  'WhiteBalance' => 'Weißabgleich', //cpg1.4
-  'DigitalZoomRatio' => 'Verhältnis Digitalzoom', //cpg1.4
-  'SceneCaptureMode' => 'Scene Capture Modus', //cpg1.4
-  'GainControl' => 'Verstärkerregelung', //cpg1.4
-  'Contrast' => 'Kontrast', //cpg1.4
-  'Saturation' => 'Sättigung', //cpg1.4
-  'Sharpness' => 'Schärfe', //cpg1.4
-  'ManageExifDisplay' => 'Exif-Anzeige verwalten', //cpg1.4
-  'submit' => 'los', //cpg1.4
-  'success' => 'Informationen erfolgreich aktualisiert.', //cpg1.4
-  'details' => 'Details', //cpg1.4
-);
-
-$lang_display_comments = array(
-  'OK' => 'OK',
-  'edit_title' => 'Diesen Kommentar bearbeiten',
-  'confirm_delete' => 'Willst Du diesen Kommentar wirklich löschen?', //js-alert
-  'add_your_comment' => 'Füge Deinen Kommentar hinzu',
-  'name'=>'Name',
-  'comment'=>'Kommentar',
-  'your_name' => 'Dein Name',
-  'report_comment_title' => 'Diesen Kommentar beim Administrator melden', //cpg1.4
-);
-
-$lang_fullsize_popup = array(
-  'click_to_close' => 'Bild anklicken, um das Fenster zu schließen!',
-);
-
-}
-
-// ------------------------------------------------------------------------- //
-// File ecard.php
-// ------------------------------------------------------------------------- //
-
-if (defined('ECARDS_PHP') || defined('DISPLAYECARD_PHP')) $lang_ecard_php =array(
-  'title' => 'eCard senden',
-  'invalid_email' => '<b>Achtung</b> : ungültige eMail-Adresse !',
-  'ecard_title' => 'Eine eCard von %s für Dich',
-  'error_not_image' => 'Nur Bilder können als eCard verschickt werden.',
-  'view_ecard' => 'Falls diese eCard nicht korrekt angezeigt wird, klicke auf den folgenden Link: ',
-  'view_ecard_plaintext' => 'Markiere die folgende URL und füge sie in die Adresszeile Deines Browsers ein, um diese eCard anzuzeigen:', //cpg1.4
-  'view_more_pics' => 'Klicke auf diesen Link, um mehr Bilder ansehen zu können!', //cpg1.4
-  'send_success' => 'Deine eCard wurde gesendet',
-  'send_failed' => 'Leider kann der Server Deine eCard nicht versenden...',
-  'from' => 'Von',
-  'your_name' => 'Dein Name',
-  'your_email' => 'Deine eMail-Adresse',
-  'to' => 'An',
-  'rcpt_name' => 'Empfänger Name',
-  'rcpt_email' => 'Empfänger eMail-Adresse',
-  'greetings' => 'Überschrift', //cpg1.4
-  'message' => 'Nachricht', //cpg1.4
-  'ecards_footer' => 'Gesendet durch %s von der IP-Adresse %s um %s (Zeitzone der Galerie)', //cpg1.4
-  'preview' => 'Vorschau der eCard', //cpg1.4
-  'preview_button' => 'Vorschau', //cpg1.4
-  'submit_button' => 'eCard senden', //cpg1.4
-  'preview_view_ecard' => 'Dies wird der Alternativ-Link zur eCard sein, sobald sie tatsächlich erstellt wurde - funktioniert nicht für die Vorschau.', //cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File report_file.php //cpg1.4
-// ------------------------------------------------------------------------- //
-
-if (defined('REPORT_FILE_PHP') || defined('DISPLAYREPORT_PHP')) $lang_report_php =array(
-  'title' => 'Beim Administrator melden', //cpg1.4
-  'invalid_email' => '<b>Achtung</b> : ungültige eMail-Adresse!', //cpg1.4
-  'report_subject' => 'Eine Meldung von %s über die Galerie %s', //cpg1.4
-  'view_report' => 'Alternativ-Link, falls diese Meldung nicht korrekt angezeigt wird', //cpg1.4
-  'view_report_plaintext' => 'Kopiere die folgende URL in die Adresszeile Deines Browsers, um die Meldung anzuzeigen:', //cpg1.4
-  'view_more_pics' => 'Galerie', //cpg1.4
-  'send_success' => 'Deine Meldung wurde gesendet', //cpg1.4
-  'send_failed' => 'Der Server kann leider Deine Meldung nicht versenden...', //cpg1.4
-  'from' => 'Von', //cpg1.4
-  'your_name' => 'Dein Name', //cpg1.4
-  'your_email' => 'Deine eMail-Adresse', //cpg1.4
-  'to' => 'An', //cpg1.4
-  'administrator' => 'Administrator/Moderator', //cpg1.4
-  'subject' => 'Betreff', //cpg1.4
-  'comment_field_name' => 'Meldung bezüglich Kommentar von "%s"', //cpg1.4
-  'reason' => 'Grund', //cpg1.4
-  'message' => 'Nachricht', //cpg1.4
-  'report_footer' => 'Gesendet durch %s von IP-Adresse %s um %s (Zeitzone der Galerie)', //cpg1.4
-  'obscene' => 'unanständig ', //cpg1.4
-  'offensive' => 'beleidigend', //cpg1.4
-  'misplaced' => 'vom Thema abschweifend/unangebracht', //cpg1.4
-  'missing' => 'nicht vorhanden', //cpg1.4
-  'issue' => 'Fehler/kann nicht angezeigt werden', //cpg1.4
-  'other' => 'anderer Grund', //cpg1.4
-  'refers_to' => 'Datei-Meldung bezieht sich auf', //cpg1.4
-  'reasons_list_heading' => 'Grund/Gründe für Meldung:', //cpg1.4
-  'no_reason_given' => 'es wurde kein Grund angegeben', //cpg1.4
-  'go_comment' => 'Gehe zu Kommentar', //cpg1.4
-  'view_comment' => 'Vollständige Meldung mit Kommentar anzeigen', //cpg1.4
-  'type_file' => 'Datei', //cpg1.4
-  'type_comment' => 'Kommentar', //cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File editpics.php
-// ------------------------------------------------------------------------- //
-
-if (defined('EDITPICS_PHP')) $lang_editpics_php = array(
-  'pic_info' => 'Bild-Info',
-  'album' => 'Album',
-  'title' => 'Titel',
-  'filename' => 'Dateiname', //cpg1.4
-  'desc' => 'Beschreibung',
-  'keywords' => 'Stichworte',
-  'new_keyword' => 'Neue Stichworte', //cpg1.4
-  'new_keywords' => 'Neue Stichworte gefunden', //cpg1.4
-  'existing_keyword' => 'Vorhandene Stichworte', //cpg1.4
-  'pic_info_str' => '%sx%s - %s kB - %s x angesehen - %s x bewertet',
-  'approve' => 'Datei genehmigen',
-  'postpone_app' => 'Genehmigung verschieben',
-  'del_pic' => 'Datei löschen',
-  'del_all' => 'ALLE Dateien löschen', //cpg1.4
-  'read_exif' => 'EXIF-Daten erneut einlesen',
-  'reset_view_count' => 'Zähler \'x mal angesehen\' auf Null setzen',
-  'reset_all_view_count' => 'ALLE Zähler \'x mal angesehen\' auf Null setzen', //cpg1.4
-  'reset_votes' => 'Anzahl Stimmen auf Null setzen',
-  'reset_all_votes' => 'ALLE Stimmen auf Null setzen', //cpg1.4
-  'del_comm' => 'Kommentare löschen',
-  'del_all_comm' => 'ALLE Kommentare löschen', //cpg1.4
-  'upl_approval' => 'Genehmigung zum Hochladen', //cpg1.4
-  'edit_pics' => 'Dateien bearbeiten',
-  'see_next' => 'nächste Dateien ansehen',
-  'see_prev' => 'vorherige Dateien ansehen',
-  'n_pic' => '%s Dateien',
-  'n_of_pic_to_disp' => 'Dateien pro Seite',
-  'apply' => 'Änderungen ausführen',
-  'crop_title' => 'Coppermine Bild-Editor',
-  'preview' => 'Vorschau',
-  'save' => 'Bild speichern',
-  'save_thumb' =>'Speichern als Thumbnail',
-  'gallery_icon' => 'Dieses Bild zu meinem Benutzer-Icon machen', //cpg1.4
-  'sel_on_img' =>'Die Auswahl muss vollständig innerhalb des Bildes liegen!', //js-alert
-  'album_properties' =>'Alben-Eigenschaften', //cpg1.4
-  'parent_category' =>'Eltern-Kategorie', //cpg1.4
-  'thumbnail_view' =>'Thumbnail Ansicht', //cpg1.4
-  'select_unselect' =>'alle selektieren/deselektieren', //cpg1.4
-  'file_exists' => "Zieldatei '%s' existiert bereits.", //cpg1.4
-  'rename_failed' => "Konnte '%s' nicht in '%s' umbenennen.", //cpg1.4
-  'src_file_missing' => "Quelldatei '%s' nicht vorhanden.", // cpg 1.4
-  'mime_conv' => "Kann Datei '%s' nicht zu '%s' umwandeln",//cpg1.4
-  'forb_ext' => 'Keine erlaubte Dateiendung.',//cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File faq.php
-// ------------------------------------------------------------------------- //
-
-if (defined('FAQ_PHP')) $lang_faq_php = array(
-  'faq' => 'Häufig gestellte Fragen (Frequently Asked Questions)',
-  'toc' => 'Inhalt',
-  'question' => 'Frage: ',
-  'answer' => 'Antwort: ',
-);
-
-if (defined('FAQ_PHP')) $lang_faq_data = array(
-  'Allgemeines',
-  array('Warum muss ich mich registrieren?', 'Der Administrator kann verlangen, dass Du Dich registrierst (oder auch nicht). Durch die Registrierung erhälst Du möglicherweise einige zusätzliche Features, wie z.B. Dateien hochladen, eine Favoriten-Liste, Bewertung von Bildern, Abgabe von Kommentaren etc. ', 'allow_user_registration', '0'),
-  array('Wie kann ich mich registrieren?', 'Klicke auf &quot;Registrieren&quot; und fülle die notwendigen Felder aus (und die optionalen, wenn Du möchtest).<br />Wenn der Administrator eMail-Aktivierung eingeschaltet hat, bekommst Du eine eMail an die Adresse, die Du bei der Registrierung angegeben hast, in der Anweisungen enthalten sind, wie Du Dein Benutzerkonto aktivieren kannst. In diesem Fall muss Dein Konto aktiviert werden, bevor Du Dich anmelden kannst.', 'allow_user_registration', '1'),
-  array('Wie kann ich mich anmelden?', 'Klicke auf &quot;Anmelden&quot;, gib Deinen Benutzernamen und Dein Passwort ein, und kreuze die Option &quot;Immer angemeldet bleiben&quot; an, damit Du Dich nicht bei Deinem nächsten Besuch auf der Seite erneut anmelden musst.<br /><b>WICHTIG: Um Dich anzumelden, musst Du Cookies in Deinem Browser zulassen, und das Cookie darf nicht gelöscht werden, wenn Du die Option &quot;Immer angemeldet bleiben&quot; nutzen willst.</b>', 'offline', 0),
-  array('Warum kann ich mich nicht anmelden?', 'Hast Du Dich registriert und die Anweisungen ausgeführt, die in der Aktivierungsmail an Dich gesendet wurden?. Der Link in der Aktivierungsmail schaltet Dein Benutzerkonto frei. Bezüglich anderer Probleme beim anmelden, wende Dich an den Admin dieser Seite.', 'offline', 0),
-  array('Ich habe mein Passwort vergessen. Was nun?', 'Wenn der Link &quot;Passwort vergessen&quot; auf der Anmeldeseite anzeigt wird, dann benutze ihn. Ansonsten nimm Kontakt mit dem Admin dieser Seite auf und bitte ihn um ein neues Passwort.', 'offline', 0),
-  //array('Meine eMail-Adresse hat sich geändert. Was tun?', 'Melde Dich an und ändere Deine eMail-Adresse im Menüpunkt &quot; mein Profil&quot;', 'offline', 0),
-  array('Wie speichere ich eine Datei in &quot;meine Favoriten&quot;?', 'Klicke auf &quot;Datei-Info&quot; (<img src="images/info.gif" width="16" height="16" border="0" alt="Bild-Info" />); gehe ganz nach unten auf der Seite und klicke auf &quot;Zu Favoriten hinzufügen&quot;.<br />Möglicherweise ist die Anzeige des Datei-Info Bereichs auch standardmäßig eingeschaltet.<br />Wichtig: Cookies müssen aktiviert sein und Du darfst den Cookie nicht löschen (im Cookie werden die Favoriten gespeichert).', 'offline', 0),
-  array('Wie kann ich eine Datei bewerten?', 'Klicke auf das Thumbnail (kleine Vorschaugrafik) einer Datei und wähle eine Bewertung (angezeigt unterhalb des Bildes).', 'offline', 0),
-  array('Wie kann ich einen Kommentar abgeben?', 'Klicke auf das Thumbnail (kleine Vorschaugrafik) einer Datei, gehe nach unten auf der Seite und gib Deinen Kommentar ein. Wenn keine Eingabe eines Kommentars möglich ist, musst Du Dich eventuell erst registrieren und anmelden, damit diese Option zur Verfügung steht.', 'offline', 0),
-  array('Wie kann ich eine Datei hochladen?', 'Klicke auf &quot;Datei hochladen&quot; und wähle das Album aus, in das Du die Datei hochladen willst, klicke auf &quot;Durchsuchen&quot; und wähle die Datei aus, die Du hochladen willst und klicke dann auf &quot;öffnen&quot; (füge einen Titel, eine Beschriftung und ein paar Stichworte ein, wenn Du möchtest). Um den Vorgang abzuschliessen, klicke auf &quot;Datei hochladen&quot;', 'allow_private_albums', 0),
-  array('Wohin kann ich Dateien hochladen?', 'Du kannst Dateien in Alben hochladen, die Du innerhalb der Kategorie &quot;meine Galerie&quot; erstellen kannst. Der Administrator der Seite kann Dir auch das Recht einräumen, in ein oder mehrere Alben der allgemeinen Galerie hochzuladen. Falls das der Fall ist, werden Dir diese Alben im Auswahlmenü auf der Upload-Seite angezeigt', 'allow_private_albums', 0),
-  array('Welche Art und Größe von Dateien kann ich hochladen?', 'Die Art (z.B. jpg oder png) und Größe bestimmt der Administrator dieser Seite.', 'allow_private_albums', 0),
-  array('Was ist &quot;meine Galerie&quot;?', '&quot;Meine Galerie&quot; ist Deine persönliche Galerie, innerhalb der Du Dateien hochladen und bearbeiten kannst.', 'allow_private_albums', 0),
-  array('Wie kann ich Alben erzeugen, umbenennen oder löschen in &quot;meine Galerie&quot;?', 'Du siehst die Optionen erst nach der Anmeldung im Admin-Modus<br />Klicke auf &quot;Erzeuge/ändere meine Alben&quot; und klicke auf &quot;Neu&quot;. Ändere den Text &quot;Neues Album&quot; in den gewünschten Namen ab.<br />Du kannst auch bestehende Alben umbenennen, indem Du sie zuerst anklickst und dann im Eingabefeld unten einen neuen Namen dafür eingibst.<br />Klicke auf &quot;Änderungen übernehmen&quot;, um Deine Änderungen durchzuführen.', 'allow_private_albums', 0),
-  array('Wie kann ich meine Alben abändern und die Zugriffsrechte darauf ändern?', 'Du solltest nach der Anmeldung bereits im Admin-Modus sein.<br />Klicke auf &quot; Meine Alben bearbeiten&quot;. Wähle in der Zeile &quot;Album aktualisieren&quot; das Album aus, das Du aktualisieren möchtest.<br />Du kannst dann den Namen, die Beschreibung, das Thumbnail (Vorschaugrafik) ändern und die Rechte ändern, wer das Album sehen und Kommentare dazu abgeben darf.<br />Um Deine Änderungen zu bestätigen, klicke am Schluß auf &quot;Album aktualisieren&quot;.', 'allow_private_albums', 0),
-  array('Was sind Cookies?', 'Cookies sind kleine Textdateien, die von einem Webserver versendet werden und auf Deinem Rechner gespeichert werden. Beim erneuten Aufsuchen der Seite können die Cookies wieder vom Server gelesen werden.<br />In der Regel werden Sie dazu genutzt, Dich als Benutzer auf der Seite wiederzuerkennen. Cookies selbst können keine Viren oder sonstige bösartigen Schad-Programme enthalten und sind daher in erster Linie ungefährlich. Einige Seitenbetreiber setzen Cookies allerdings ein, um Verhaltensprofile von Surfern im Internet zu erstellen und nutzen die Informationen in der Regel, um zielgerichtet Werbung für den Surfer zur Verfügung zu stellen.', 'offline', 0),
-  array('Woher kann ich dieses Porgramm für meine Homepage bekommen?', 'Diese Seite läuft mit Coppermine. Coppermine ist eine kostenlose Multimedia-Galerie, die unter der Lizenz GNU GPL erscheint. Die Software ist voller Features und für einige Platformen erhältlich. Besuche die <a href="http://coppermine-gallery.net/">Coppermine Home Page</a> für zusätzliche Informationen oder um die Software herunterzuladen.', 'offline', 0),
-
-  'Navigation auf der Seite',
-  array('Was ist die &quot;Alben-Übersicht&quot;?', 'Zeigt die gesamte Kategorie an, in der Du Dich gerade befindest, mit einem Link zu jedem Album. Wenn Du Dich gerade nicht innerhalb einer Kategorie befindest zeigt Dir &quot;Alben-Übersicht&quot; die gesamte Galerie mit Links zu den einzelnen Kategorien an. Möglicherweise existieren Thumbnails als Links zu den einzelnen Kategorien.', 'offline', 0),
-  array('Was ist &quot;meine Galerie&quot;?', 'Mit diesem Menüpunkt kannst Du Deine eigene Benutzer-Galerie erstellen und bearbeiten.', 'allow_private_albums', 1), //cpg1.4
-  array('Was ist der Unterschied zwischen &quot;Admin-Modus&quot; und &quot;Benutzer-Modus&quot;?', 'Im Admin-Modus werden die Navigations-Elemente zum Erstellen und Ändern Deiner Benutzer-Galerie angezeigt; der Benutzer-Modus zeigt Dir, wie Deine Benutzer-Galerie für andere Benutzer aussieht (ohne die entsprechenden Menüpunkte).', 'allow_private_albums', 0),
-  array('Was ist &quot;Dateien hochladen&quot;?', 'Dieses Feature ermöglicht es Benutzern, eigene Dateien hochzuladen und in Alben zu positionieren (Dateigröße und -typ wurden vom Admin festgelegt).', 'allow_private_albums', 0),
-  array('Was ist &quot;neueste Uploads&quot;?', 'Dieser Bereich zeigt die neuesten Dateien, die in eines der Alben der Galerie hochgeladen wurden.', 'offline', 0),
-  array('Was ist &quot;neueste Kommentare&quot;?', 'Dieser Bereich zeigt die zuletzt abgegebenen Kommentare unterhalb der Thumbnails (Vorschaugrafik) der Dateien, auf die sich die Kommentare beziehen.', 'offline', 0),
-  array('Was ist &quot;am meisten angesehen&quot;?', 'Dieser Bereich zeigt die beliebtesten Dateien (am meisten angesehen) der gesamten Galerie oder des Bereichs an, in dem Du Dich befindest.', 'offline', 0),
-  array('Was ist &quot;am besten bewertet&quot;?', 'Durchschnittliche Bewertung der Datei (Bsp.: 5 Benutzer gaben einem Bild ein Bewertung von <img src="images/rating3.gif" width="65" height="14" border="0" alt="" />: das Bild hat eine durchschnittliche Bewertung von <img src="images/rating3.gif" width="65" height="14" border="0" alt="" /> ;Wenn 5 Benutzer ein Bild mit Noten von 1 bis 5 (1,2,3,4,5) bewerten, würde der Schnitt ebenfalls so aussehen: <img src="images/rating3.gif" width="65" height="14" border="0" alt="" /> .)<br />Die Bewertungs-Skala reicht von <img src="images/rating5.gif" width="65" height="14" border="0" alt="super" /> (super) bis <img src="images/rating0.gif" width="65" height="14" border="0" alt="sehr schlecht" /> (sehr schlecht).', 'offline', 0),
-  array('Was ist &quot;Meine Favoriten&quot;?', 'Mit diesem Feature kannst Du Bilder, die Du später noch einmal ansehen willst, in einer Favoriten-Liste speichern. Dazu musst Du nicht einmal angemeldet sein, da die Liste in einem Cookie auf Deinem Computer gespeichert wird. Beachte aber: die Favoriten stehen Dir nur an diesem Computer zur Verfügung; wenn die Cookies gelöscht werden, sind die Favoriten ebenfalls verschwunden.', 'offline', 0),
-);
-
-
-// ------------------------------------------------------------------------- //
-// File forgot_passwd.php
-// ------------------------------------------------------------------------- //
-
-if (defined('FORGOT_PASSWD_PHP')) $lang_forgot_passwd_php = array(
-  'forgot_passwd' => 'Passwort-Erinnerung',
-  'err_already_logged_in' => 'Du bist schon angemeldet!',
-  'enter_email' => 'Gib Deine eMail-Adresse ein', //cpg1.4
-  'submit' => 'los!',
-  'illegal_session' => 'Die Session für die Passwort-Erinnerung ist ungültig oder abgelaufen.', //cpg1.4
-  'failed_sending_email' => 'Die eMail mit der Passwort-Erinnerung kann nicht gesendet werden!',
-  'email_sent' => 'Eine eMail mit Deinem Benutzernamen und einem neuen Passwort wurde an %s gesendet.', //cpg1.4
-  'verify_email_sent' => 'EineeMail wurde an %s gesendet. Bitte überprüfe Deine Mailbox, um den Vorgang abzuschliessen.', //cpg1.4
-  'err_unk_user' => 'Der gewählte Benutzer existiert nicht!',
-  'account_verify_subject' => '%s - Anforderung neues Passwort', //cpg1.4
-  'account_verify_body' => 'Du hast ein neues Passwort beantragt - um dieses neue Passwort tatsächlich zu erhalten, klicke auf nachstehenden Link:
-
-%s', //cpg1.4
-  'passwd_reset_subject' => '%s - Dein neues Passwort', //cpg1.4
-  'passwd_reset_body' => 'Hier ist das neue Passwort, dass Du beantragt hast:
-Benutzername: %s
-Passwort: %s
-Klicke %s, um Dich anzumelden.', //cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File groupmgr.php
-// ------------------------------------------------------------------------- //
-
-if (defined('GROUPMGR_PHP')) $lang_groupmgr_php = array(
-  'group_name' => 'Gruppen-Name', //cpg1.4
-  'permissions' => 'Berechtigungen', //cpg1.4
-  'public_albums' => 'Upload in öffentliche Alben', //cpg1.4
-  'personal_gallery' => 'Persönliche Galerie', //cpg1.4
-  'upload_method' => 'Upload-Methode', //cpg1.4
-  'disk_quota' => 'Speicherplatz', //cpg1.4
-  'rating' => 'Abstimmen', //cpg1.4
-  'ecards' => 'eCards', //cpg1.4
-  'comments' => 'Kommentare', //cpg1.4
-  'allowed' => 'Erlaubt', //cpg1.4
-  'approval' => 'Bestätigung', //cpg1.4
-  'boxes_number' => 'Anzahl Felder', //cpg1.4
-  'variable' => 'variabel', //cpg1.4
-  'fixed' => 'fest', //cpg1.4
-  'apply' => 'Änderungen übernehmen',
-  'create_new_group' => 'Neue Gruppe erstellen',
-  'del_groups' => 'ausgewählte Gruppe(n) löschen',
-  'confirm_del' => 'Achtung: wenn Du eine Gruppe löschst werden die dazu gehörenden Benutzer in die Gruppe \'Registrierte Benutzer\' verschoben!\n\nWillst Du das ?', //js-alert
-  'title' => 'Benutzer-Gruppen verwalten',
-  'num_file_upload' => 'Datei-Upload Felder', //cpg1.4
-  'num_URI_upload' => 'URI-Upload Felder', //cpg1.4
-  'reset_to_default' => 'Auf Standard-Gruppennamen (%s) zurücksetzen - empfohlen!', //cpg1.4
-  'error_group_empty' => 'Gruppen-Tabelle war leer!<br /><br />Standard-Gruppen wurden erstellt, bitte diese Seite erneut laden', //cpg1.4
-  'explain_greyed_out_title' => 'Warum ist diese Zeile ausgegraut?', //cpg1.4
-  'explain_guests_greyed_out_text' => 'Die Eigenschaften dieser Gruppe können nicht verändert werden, weil die Option &quot;Nicht-angemeldeten Besuchern (Gäste) Zugriff erlauben&quot; in der Coppermine-Knofiguration auf &quot;Nein&quot; gesetzt wurde. Alle Gäste (Mitglieder der Gruppe %s) können nichts tun außer sich anzumelden; daher sind keine der Gruppen-Verrechtungen für sie zutreffend.', //cpg1.4
-  'explain_banned_greyed_out_text' => 'Die Eigenschaften der Gruppe %s können nicht verändert werden, da deren Mitglieder sowieso nichts tun dürfen.', //cpg1.4
-  'group_assigned_album' => 'zugewiesene Alben', //cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File index.php
-// ------------------------------------------------------------------------- //
-
-if (defined('INDEX_PHP')){
-
-$lang_index_php = array(
-  'welcome' => 'Startseite',
-);
-
-$lang_album_admin_menu = array(
-  'confirm_delete' => 'Willst Du dieses Album wirklich LÖSCHEN? \\nAlle darin befindlichen Dateien und Kommentare werden ebenfalls gelöscht.',
-  'delete' => 'löschen',
-  'modify' => 'Eigenschaften',
-  'edit_pics' => 'Dateien bearbeiten',
-);
-
-$lang_list_categories = array(
-  'home' => 'Galerie',
-  'stat1' => '<b>[pictures]</b> Dateien in <b>[albums]</b> Alben und <b>[cat]</b> Kategorien mit <b>[comments]</b> Kommentaren, <b>[views]</b> mal angesehen',
-  'stat2' => '<b>[pictures]</b> Dateien in <b>[albums]</b> Alben, <b>[views]</b> mal angesehen',
-  'xx_s_gallery' => '%s\'s Galerie',
-  'stat3' => '<b>[pictures]</b> Dateien in <b>[albums]</b> Alben mit <b>[comments]</b> Kommentaren, <b>[views]</b> mal angesehen'
-);
-
-$lang_list_users = array(
-  'user_list' => 'Benutzer-Liste',
-  'no_user_gal' => 'Keine Benutzer-Galerien vorhanden.',
-  'n_albums' => '%s Album/en',
-  'n_pics' => '%s Datei(en)',
-);
-
-$lang_list_albums = array(
-  'n_pictures' => '%s Dateien',
-  'last_added' => ', letzte Aktualisierung am %s',
-  'n_link_pictures' => '%s verknüpfte Dateien', //cpg1.4
-  'total_pictures' => '%s Dateien insgesamt', //cpg1.4
-);
-
-}
-
-// ------------------------------------------------------------------------- //
-// File keywordmgr.php //cpg1.4
-// ------------------------------------------------------------------------- //
-
-if (defined('KEYWORDMGR_PHP')) $lang_keywordmgr_php = array(
-  'title' => 'Stichworte verwalten', //cpg1.4
-  'edit' => 'bearbeiten', //cpg1.4
-  'delete' => 'löschen', //cpg1.4
-  'search' => 'suchen', //cpg1.4
-  'keyword_test_search' => 'nach %s in einem neuen Fenster suchen', //cpg1.4
-  'keyword_del' => 'das Stichwort %s löschen', //cpg1.4
-  'confirm_delete' => 'Willst Du wirklich das Stichwort %s aus der gesamten Galerie löschen?', //cpg1.4  // js-alert
-  'change_keyword' => 'Stichwort ändern', //cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File login.php
-// ------------------------------------------------------------------------- //
-
-if (defined('LOGIN_PHP')) $lang_login_php = array(
-  'login' => 'Anmeldung (Login)',
-  'enter_login_pswd' => 'Gib Deinen Benutzernamen und Dein Passwort ein, um Dich anzumelden',
-  'username' => 'Benutzername',
-  'password' => 'Passwort',
-  'remember_me' => 'Immer angemeldet bleiben',
-  'welcome' => 'Hallo %s ...',
-  'err_login' => '*** Konnte Dich nicht anmelden. Versuche es nochmal ***',
-  'err_already_logged_in' => 'Du bist schon angemeldet!',
-  'forgot_password_link' => 'Passwort vergessen',
-  'cookie_warning' => 'Achtung: Dein Browser akzeptiert nicht die Cookies dieses Skripts', //cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File logout.php
-// ------------------------------------------------------------------------- //
-
-if (defined('LOGOUT_PHP')) $lang_logout_php = array(
-  'logout' => 'Abmelden',
-  'bye' => 'Tschüss %s ...',
-  'err_not_loged_in' => 'Du bist nicht angemeldet!',
-);
-
-// ------------------------------------------------------------------------- //
-// File minibrowser.php  //cpg1.4
-// ------------------------------------------------------------------------- //
-
-if (defined('MINIBROWSER_PHP')) $lang_minibrowser_php = array(
-  'close' => 'schliessen', //cpg1.4
-  'submit' => 'OK', //cpg1.4
-  'up' => 'eine Ebene höher', //cpg1.4
-  'current_path' => 'derzeitiger Pfad', //cpg1.4
-  'select_directory' => 'Wähle ein Verzeichnis', //cpg1.4
-  'click_to_close' => 'Bild klicken, um dieses Fenster zu schliessen',
-);
-
-// ------------------------------------------------------------------------- //
-// File modifyalb.php
-// ------------------------------------------------------------------------- //
-
-if (defined('MODIFYALB_PHP')) $lang_modifyalb_php = array(
-  'upd_alb_n' => 'Album %s aktualisieren',
-  'general_settings' => 'Allgemeine Einstellungen',
-  'alb_title' => 'Album Titel',
-  'alb_cat' => 'Album Kategorie',
-  'alb_desc' => 'Album Beschreibung',
-  'alb_keyword' => 'Album Keyword', //cpg1.4
-  'alb_thumb' => 'Album Thumbnail',
-  'alb_perm' => 'Berechtigungen für dieses Album',
-  'can_view' => 'Album kann angesehen werden von',
-  'can_upload' => 'Besucher können Dateien hochladen',
-  'can_post_comments' => 'Besucher können Kommentare abgeben',
-  'can_rate' => 'Besucher können Dateien bewerten',
-  'user_gal' => 'Benutzer-Galerie',
-  'no_cat' => '* keine Kategorie *',
-  'alb_empty' => 'Album ist leer',
-  'last_uploaded' => 'Letzte Datei, die hochgeladen wurde',
-  'public_alb' => 'Jeder (öffentliches Album)',
-  'me_only' => 'Nur ich',
-  'owner_only' => 'Nur der Besitzer des Albums (%s)',
-  'groupp_only' => 'Mitglieder der Gruppe \'%s\'',
-  'err_no_alb_to_modify' => 'Es ist kein Album zum Bearbeiten in der Datenbank.',
-  'update' => 'Album aktualisieren',
-  'reset_album' => 'Album zurücksetzen', //cpg1.4
-  'reset_views' => 'Anzeigezähler zurücksetzen auf &quot;0&quot; für %s', //cpg1.4
-  'reset_rating' => 'Abstimmungen auf alle Dateien im Album %s zurücksetzen', //cpg1.4
-  'delete_comments' => 'Alle Kommentare im Album %s löschen', //cpg1.4
-  'delete_files' => 'Unwiederbringlich alle Dateien im Album %s löschen', //cpg1.4
-  'views' => 'Treffer', //cpg1.4
-  'votes' => 'Stimmen', //cpg1.4
-  'comments' => 'Kommentare', //cpg1.4
-  'files' => 'Dateien', //cpg1.4
-  'submit_reset' => 'Änderungen durchführen', //cpg1.4
-  'reset_views_confirm' => 'ich bin mir sicher', //cpg1.4
-  'notice1' => '(*) abhängig von den %sGruppen%s Einstellungen',  //cpg1.4 //(do not translate %s!)
-  'alb_password' => 'Passwort des Albums', //cpg1.4
-  'alb_password_hint' => 'Hinweis für Albums-Passwort', //cpg1.4
-  'edit_files' =>'Dateien bearbeiten', //cpg1.4
-  'parent_category' =>'Eltern-Kategorie', //cpg1.4
-  'thumbnail_view' =>'Thumbnail-Ansicht', //cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File phpinfo.php
-// ------------------------------------------------------------------------- //
-
-if (defined('PHPINFO_PHP')) $lang_phpinfo_php = array(
-  'php_info' => 'PHP info',
-  'explanation' => 'Diese Ausgabe wird durch die PHP-Funktion <a href="http://www.php.net/phpinfo">phpinfo()</a> erzeugt, und innerhalb von Coppermine angezeigt (dabei wird möglicherweise die Ausgabe einiger Felder am rechten Rand abgeschnitten).',
-  'no_link' => 'Anderen Personen die phpinfo-Daten anzuzeigen, kann ein Sicherheitsrisiko sein - daher wird diese Seite nur angezeigt, wenn Du als Admin angemeldet bist. Du kannst daher anderen keinen Link auf diese Seite zukommen lassen, da ihnen der Zugriff verwährt werden wird!',
-);
-
-// ------------------------------------------------------------------------- //
-// File picmgr.php //cpg1.4
-// ------------------------------------------------------------------------- //
-if (defined('PICMGR_PHP')) $lang_picmgr_php = array(
-  'pic_mgr' => 'Bilder verwalten', //cpg1.4
-  'select_album' => 'Wähle Album', //cpg1.4
-  'delete' => 'Löschen', //cpg1.4
-  'confirm_delete1' => 'Dieses Bild wirklich löschen?', //cpg1.4
-  'confirm_delete2' => '\nLöschen ist dauerhaft und endgültig.', //cpg1.4
-  'apply_modifs' => 'Änderungen übernehmen', //cpg1.4
-  'confirm_modifs' => 'Änderungen bestätigen', //cpg1.4
-  'pic_need_name' => 'Bild muss einen Namen haben', //cpg1.4
-  'no_change' => 'Es wurden keine Änderungen vorgenommen', //cpg1.4
-  'no_album' => '* Kein Album *', //cpg1.4
-  'explanation_header' => 'Die benutzerdefinierte Sortierreihenfolge, die Du auf dieser Seite wählen kannst wird nur angewendet, wenn', //cpg1.4
-  'explanation1' => 'der Administrator die Konfigurationsoption für "Benutzerdefinierte Sortierreihenfolde für Dateien" auf "Position absteigend" oder "Position aufsteigend" gesetzt hat (globale Einstellung für alle Benutzer, die keine andere individuelle Sortierreihenfolge gewählt haben)', //cpg1.4
-  'explanation2' => 'der Benutzer als Sortierreihenfolde "Position absteigend" oder "Position aufsteigend" auf der Thumbnail-Seite gewählt hat (Einstellung pro Benutzer)', //cpg1.4
-);
-
-
-// ------------------------------------------------------------------------- //
-// File pluginmgr.php //cpg1.4
-// ------------------------------------------------------------------------- //
-
-if (defined('PLUGINMGR_PHP')){
-
-$lang_pluginmgr_php = array(
-  'confirm_uninstall' => 'Dieses Plugin wirklich DE-INSTALLIEREN', //cpg1.4
-  'confirm_delete' => 'Dieses Plugin wirklich LÖSCHEN', //cpg1.4
-  'pmgr' => 'Plugin Manager', //cpg1.4
-  'name' => 'Name', //cpg1.4
-  'author' => 'Author', //cpg1.4
-  'desc' => 'Beschreibung', //cpg1.4
-  'vers' => 'v', //cpg1.4
-  'i_plugins' => 'Installierte Plugins', //cpg1.4
-  'n_plugins' => 'Nicht installierte Plugins', //cpg1.4
-  'none_installed' => 'nicht installiert', //cpg1.4
-  'operation' => 'Aufgabe', //cpg1.4
-  'not_plugin_package' => 'Die hochgeladene Datei ist kein Plugin-Paket.', //cpg1.4
-  'copy_error' => 'Beim Kopieren des Pakets in das Plugin-Verzeichnis ist ein Fehler aufgetreten.', //cpg1.4
-  'upload' => 'Hochladen', //cpg1.4
-  'configure_plugin' => 'Plugin konfigurieren', //cpg1.4
-  'cleanup_plugin' => 'Plugin bereinigen', //cpg1.4
-);
-}
-
-// ------------------------------------------------------------------------- //
-// File ratepic.php
-// ------------------------------------------------------------------------- //
-
-if (defined('RATEPIC_PHP')) $lang_rate_pic_php = array(
-  'already_rated' => 'Du hast diese Datei schon bewertet',
-  'rate_ok' => 'Deine Bewertung wurde akzeptiert',
-  'forbidden' => 'Du kannst Deine eigenen Dateien nicht bewerten.',
-);
-
-// ------------------------------------------------------------------------- //
-// File register.php & profile.php
-// ------------------------------------------------------------------------- //
-
-if (defined('REGISTER_PHP') || defined('PROFILE_PHP')) {
-
-$lang_register_disclamer = <<<EOT
-Obwohl die Administratoren von {SITE_NAME} versuchen werden, generell alle anstössigen Inhalte so schnell wie möglich zu löschen oder zu bearbeiten, ist es unmöglich, jeden Beitrag zu überprüfen. Daher bestätigst Du, dass alle Beiträge auf dieser Seite die Ansichten und Meinungen des Authors widerspiegeln und nicht die des Administrators oder Webmasters (außer den Beiträgen, die durch sie verfasst wurden) und sie daher dafür nicht verantwortlich gemacht werden können.<br />
-<br />
-Du stimmst zu, keine beleidigende, obszöne, vulgäre, verleumderische, verhetzende, drohende, sexuell-orientierte oder sonstwie illegalen Beiträge zu verfassen. Du stimmst zu, dass der/die Webmaster, Administrator(en) oder Moderator(en) von {SITE_NAME} das Recht haben, jeden Inhalt zu löschen oder zu ändern, bei dem sie es für richtig halten. Als Benutzer stimmst Du zu, dass alle Informationen, die Du oben eingetragen hast, in einer Datenbank gespeichert werden. Obwohl diese Daten ohne Deine ausdrückliche Zustimmung nicht an Dritte weitergegeben werden, können der Webmaster oder Administrator nicht dafür zur Verantwortung gezogen werden, wenn durch einen Angriff (Hacking) die gespeicherten Daten kompromitiert werden.<br />
-<br />
-Diese Seite benutzt Cookies, um Daten auf Deinem Rechner zu speichern. Diese Cookies dienen nur dazu, die Bedienung der Seite zu ermöglichen. Die eMail-Adresse wird nur dazu verwendet, die Registrierungs-Details und das Passwort zu bestätigen.<br />
-<br />
-Durch das Anklicken von 'ich stimme zu' stimmst Du diesen Bedingungen zu.
-EOT;
-
-$lang_register_php = array(
-  'page_title' => 'Benutzer-Registrierung',
-  'term_cond' => 'Nutzungsbedingungen',
-  'i_agree' => 'ich stimme zu',
-  'submit' => 'Registrieren absenden',
-  'err_user_exists' => 'Der Benutzername, den Du eingegeben hast, existiert schon, bitte wähle einen anderen',
-  'err_password_mismatch' => 'Die Passwörter stimmen nicht überein, bitte nochmals eingeben',
-  'err_uname_short' => 'Der Benutzername muss mindestens 2 Zeichen lang sein',
-  'err_password_short' => 'Das Passwort muss mindestens 2 Zeichen lang sein',
-  'err_uname_pass_diff' => 'Benutzername und Passwort müssen unterschiedlich sein',
-  'err_invalid_email' => 'eMail-Adresse ist ungültig',
-  'err_duplicate_email' => 'Es hat sich schon ein anderer Benutzer mit der angegebenen eMail-Adresse registriert',
-  'enter_info' => 'Gib Registrierungs-Informationen ein',
-  'required_info' => 'Pflichtfeld',
-  'optional_info' => 'Optional',
-  'username' => 'Benutzername',
-  'password' => 'Passwort',
-  'password_again' => 'Passwort-Bestätigung',
-  'email' => 'eMail-Adresse',
-  'location' => 'Ort',
-  'interests' => 'Hobbies',
-  'website' => 'Homepage',
-  'occupation' => 'Beruf',
-  'error' => 'FEHLER',
-  'confirm_email_subject' => '%s - Registrierungs-Bestätigung',
-  'information' => 'Information',
-  'failed_sending_email' => 'Die Registrierungs-Bestätigung kann nicht per eMail versendet werden!',
-  'thank_you' => 'Danke für Deine Registrierung.<br /><br />Eine eMail mit Informationen, wie Du Dein Benutzerkonto aktivieren kannst, wurde an die angegebene eMail-Adresse gesendet.',
-  'acct_created' => 'Dein Benutzerkonto wurde erstellt. Du kannst Dich jetzt mit Benutzername und Passwort anmelden',
-  'acct_active' => 'Dein Benutzerkonto ist jetzt aktiviert. Du kannst Dich jetzt mit Benutzername und Passwort anmelden',
-  'acct_already_act' => 'Dein Benutzerkonto ist bereits aktiviert!', //cpg1.4
-  'acct_act_failed' => 'Dieses Benutzerkonto kann nicht aktiviert werden!',
-  'err_unk_user' => 'Der gewählte Benutzer existiert nicht!',
-  'x_s_profile' => '%s\'s Benutzerprofil',
-  'group' => 'Gruppe',
-  'reg_date' => 'Registriert am',
-  'disk_usage' => 'Speicherplatz-Verbrauch',
-  'change_pass' => 'Passwort ändern',
-  'current_pass' => 'derzeitiges Passwort',
-  'new_pass' => 'neues Passwort',
-  'new_pass_again' => 'neues Passwort bestätigen',
-  'err_curr_pass' => 'Derzeitiges Passwort ist verkehrt',
-  'apply_modif' => 'Änderungen speichern',
-  'change_pass' => 'Mein Passwort ändern',
-  'update_success' => 'Dein Benutzerprofil wurde aktualisiert',
-  'pass_chg_success' => 'Dein Passwort wurde geändert',
-  'pass_chg_error' => 'Dein Passwort wurde nicht geändert',
-  'notify_admin_email_subject' => '%s - Registrierungs-Benachrichtigung',
-  'last_uploads' => 'Zuletzt hochgeladenen Datei.<br />Klicken, um alle Uploads zu sehen von', //cpg1.4
-  'last_comments' => 'Neueste Kommentare.<br />Klicken, um alle Komentare zu sehen, die abgegeben wurden von', //cpg1.4
-  'notify_admin_email_body' => 'Jemand mit dem Benutzernamen "%s" hat sich in Deiner Galerie registriert',
-  'pic_count' => 'Hochgeladene Dateien', //cpg1.4
-  'notify_admin_request_email_subject' => '%s - Registrierungsversuch', //cpg1.4
-  'thank_you_admin_activation' => 'Danke.<br /><br />Deine Registrierung wurde an den Administrator weitergeleitet zur Aktivierung. Nach erfolgter Aktiverung wirst Du eine eMail erhalten.', //cpg1.4
-  'acct_active_admin_activation' => 'Das Benutzerkonto ist jetzt aktiv. Dem Benutzer wurde eine Benachrichtigung darüber per eMail gesendet.', //cpg1.4
-  'notify_user_email_subject' => '%s - Aktivierungs-Benachrichtigung', //cpg1.4
-);
-
-$lang_register_confirm_email = <<<EOT
-Danke für Deine Registrierung bei {SITE_NAME}
-
-Dein Benutzername ist : "{USER_NAME}"
-
-
-Um Dein Benutzerkonto zu aktivieren, musst Du auf den untenstehenden Link klicken
-oder ihn kopieren und in der Adresszeile Deines Browsers einfügen.
-<a href="{ACT_LINK}">{ACT_LINK}</a>
-
-Grüße,
-
-Das Team von {SITE_NAME}
-
-EOT;
-
-$lang_register_approve_email = <<<EOT
-Ein neuer Benutzer hat sich mit dem Benutzernamen "{USER_NAME}" in Deiner Galerie registriert.
-
-Um das Benutzerkonto zu aktivieren, klicke auf den untenstehenden Link oder kopiere ihn in die Adresszeile Deines Browsers.
-
-<a href="{ACT_LINK}">{ACT_LINK}</a>
-
-EOT;
-
-$lang_register_activated_email = <<<EOT
-Dein Benutzerkonto wurden genehmigt und aktiviert.
-
-Du kannst Dich jetzt auf der Seite <a href="{SITE_LINK}">{SITE_LINK}</a> mit dem Benutzernamen "{USER_NAME}" anmelden.
-
-
-Gruss,
-
-Das {SITE_NAME} Team
-
-EOT;
-}
-
-// ------------------------------------------------------------------------- //
-// File reviewcom.php
-// ------------------------------------------------------------------------- //
-
-if (defined('REVIEWCOM_PHP')) $lang_reviewcom_php = array(
-  'title' => 'Kommentare bearbeiten',
-  'no_comment' => 'keine zu bearbeitenden Kommentare vorhanden',
-  'n_comm_del' => '%s Kommentar(e) gelöscht',
-  'n_comm_disp' => 'Anzahl angezeigter Kommentare',
-  'see_prev' => 'vorherigen anzeigen',
-  'see_next' => 'nächsten anzeigen',
-  'del_comm' => 'markierte Kommentare löschen',
-  'user_name' => 'Name', //cpg1.4
-  'date' => 'Datum', //cpg1.4
-  'comment' => 'Kommentar', //cpg1.4
-  'file' => 'Datei', //cpg1.4
-  'name_a' => 'Benutzername aufsteigend', //cpg1.4
-  'name_d' => 'Benutzername absteigend', //cpg1.4
-  'date_a' => 'Datum aufsteigend', //cpg1.4
-  'date_d' => 'Datum absteigend', //cpg1.4
-  'comment_a' => 'Kommentartext aufsteigend', //cpg1.4
-  'comment_d' => 'Kommentartext absteigend', //cpg1.4
-  'file_a' => 'Datei aufsteigend', //cpg1.4
-  'file_d' => 'Datei absteigend', //cpg1.4
-);
-
-
-// ------------------------------------------------------------------------- //
-// File search.php                                                           //
-// ------------------------------------------------------------------------- //
-
-
-if (defined('SEARCH_PHP')){
-
-$lang_search_php = array(
-  'title' => 'Dateisammlung durchsuchen', //cpg1.4
-  'submit_search' => 'suchen', //cpg1.4
-  'keyword_list_title' => 'Schlagwortliste', //cpg1.4
-  'keyword_msg' => 'Obenstehende Liste ist nicht vollständig - sie enthält keine Wörter aus Titeln oder Beschreibungen. Versuche eine Volltext-Suche.',  //cpg1.4
-  'edit_keywords' => 'Schlagworte bearbeiten', //cpg1.4
-  'search in' => 'Suchen in:', //cpg1.4
-  'ip_address' => 'IP-Adresse', //cpg1.4
-  'fields' => 'Suchen in', //cpg1.4
-  'age' => 'Alter', //cpg1.4
-  'newer_than' => 'neuer als', //cpg1.4
-  'older_than' => 'älter als', //cpg1.4
-  'days' => 'Tage(e)', //cpg1.4
-  'all_words' => 'mit allen Wörtern (UND)', //cpg1.4
-  'any_words' => 'mit irgendeinem der Wörter (ODER)', //cpg1.4
-);
-
-$lang_adv_opts = array(
-  'title' => 'Titel', //cpg1.4
-  'caption' => 'Beschriftung', //cpg1.4
-  'keywords' => 'Schlagworte', //cpg1.4
-  'owner_name' => 'Besitzer der Datei', //cpg1.4
-  'filename' => 'Dateiname', //cpg1.4
-);
-
-}
-
-// ------------------------------------------------------------------------- //
-// File searchnew.php
-// ------------------------------------------------------------------------- //
-
-if (defined('SEARCHNEW_PHP')) $lang_search_new_php = array(
-  'page_title' => 'Neue Dateien suchen',
-  'select_dir' => 'Wähle Verzeichnis',
-  'select_dir_msg' => 'Diese Funktion ermöglicht, mehrere Dateien der Galerie hinzuzufügen, die mit einem FTP-Programm schon auf Deine Webseite hochgeladen wurden.<br /><br />Wähle das Verzeichnis, in das Du die Dateien hochgeladen hast.', //cpg1.4
-  'no_pic_to_add' => 'Keine Datei zum Hinzufügen gefunden',
-  'need_one_album' => 'Du brauchst mindestens ein Album, um dieses Funktion auszuführen',
-  'warning' => 'Achtung',
-  'change_perm' => 'Das Skript kann nicht in dieses Verzeichnis schreiben, Du musst die Lese-/Schreibberechtigung (chmod) auf 755 oder 777 setzen, bevor Du versuchst, Dateien hinzuzufügen!',
-  'target_album' => '<b>Dateien aus dem Verzeichnis &quot;</b>%s<b>&quot; in </b>%s ablegen',
-  'folder' => 'Verzeichnis',
-  'image' => 'Datei',
-  'album' => 'Album',
-  'result' => 'Resultat',
-  'dir_ro' => 'Verzeichnis nicht beschreibbar',
-  'dir_cant_read' => 'Verzeichnis nicht lesbar',
-  'insert' => 'Füge neue Dateien der Galerie hinzu',
-  'list_new_pic' => 'Liste neuer Dateien',
-  'insert_selected' => 'Markierte Dateien einfügen',
-  'no_pic_found' => 'Keine neuen Dateien gefunden',
-  'be_patient' => 'Bitte Geduld, das Skript brauchst Zeit, um die Bilder hinzuzufügen',
-  'no_album' => 'Kein Album gewählt',
-  'result_icon' => 'Klicken für Details oder zum erneut laden',  //cpg1.4
-  'notes' =>  '<ul>'.
-    '<li><b>OK</b> : bedeuted, dass die Datei erfolgreich hinzugefügt wurde'.
-    '<li><b>DP</b> : bedeutet, dass die Datei ein Duplikat ist und schon in der Datenbank vorhanden ist'.
-    '<li><b>PB</b> : bedeutet, dass die Datei nicht hinzugefügt werden konnte; überprüfe Deine Einstellungen und die Berechtigungen der Verzeichnisse, in dem die Dateien liegen'.
-    '<li><b>NA</b> : bedeutet, dass Du kein Album gewählt hast, in das die Dateien eingefügt werden sollen, klicke \'<a href="javascript:history.back(1)">zurück</a>\' und wähle ein Album aus. Wenn kein Album ausgewählt werden kann, dann musst Du erst <a href="albmgr.php">ein Album erzeugen</a>.</li>'.
-    '<li>Falls die OK, DP, PB \'Zeichen\' nicht erscheinen, klicke auf die nicht-funktionierenden Bilder, um die Fehlermeldungen von PHP zu sehen'.
-    '<li>Wenn Dein Browser in ein Timeout läuft, klicke auf die Aktualisieren-Schaltfläche'.
-    '</ul>',
-  'select_album' => 'Wähle ein Album',
-  'check_all' => 'alle auswählen',
-  'uncheck_all' => 'Auswahl aufheben',
-  'no_folders' => 'Im Verzeichnis "albums" wurden noch keine Unterverzeichnisse angelegt. Du musst mindestens ein benutzerdefiniertes Unterverzeichnis innerhalb des Ordners "albums" anlegen und Deine Dateien per FTP dorthin hochladen. Du darfst per FTP keine Dateien in die Unterverzeichnisse "userpics" oder "edit" hochladen, da diese für http-uploads und interne Zwecke reserviert sind.', //cpg1.4
-   'albums_no_category' => 'Alben ohne Kategorie', //cpg1.4 // album pulldown mod, added by frogfoot
-  'personal_albums' => '* Persönliche Alben', //cpg1.4 // album pulldown mod, added by frogfoot
-  'browse_batch_add' => 'Durchsuchbare Oberfläche (empfohlen)', //cpg1.4
-  'edit_pics' => 'Dateien bearbeiten', //cpg1.4
-  'edit_properties' => 'Albums-Eigenschaften', //cpg1.4
-  'view_thumbs' => 'Thumbnail-Ansicht', //cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File stat_details.php //cpg1.4
-// ------------------------------------------------------------------------- //
-
-if (defined('STAT_DETAILS_PHP')) $lang_stat_details_php = array(
-  'show_hide' => 'diese Spalte anzeigen/verbergen', //cpg1.4
-  'vote' => 'Bewertungsdetails', //cpg1.4
-  'hits' => 'Trefferdetails', //cpg1.4
-  'stats' => 'Bewertungsstatistik', //cpg1.4
-  'sdate' => 'Datum', //cpg1.4
-  'rating' => 'Bewertung', //cpg1.4
-  'search_phrase' => 'Suchbegriff', //cpg1.4
-  'referer' => 'Referer', //cpg1.4
-  'browser' => 'Browser', //cpg1.4
-  'os' => 'Betriebssystem', //cpg1.4
-  'ip' => 'IP-Adresse', //cpg1.4
-  'sort_by_xxx' => 'Sortieren nach %s', //cpg1.4
-  'ascending' => 'aufsteigend', //cpg1.4
-  'descending' => 'absteigend', //cpg1.4
-  'internal' => 'intern', //cpg1.4
-  'close' => 'schliessen', //cpg1.4
-  'hide_internal_referers' => 'interne Verweise verbergen', //cpg1.4
-  'date_display' => 'Datumsformat', //cpg1.4
-  'submit' => 'absenden/aktualisieren', //cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File thumbnails.php
-// ------------------------------------------------------------------------- //
-
-// Void
-
-// ------------------------------------------------------------------------- //
-// File upload.php
-// ------------------------------------------------------------------------- //
-
-if (defined('UPLOAD_PHP')) $lang_upload_php = array(
-  'title' => 'Datei hochladen',
-  'custom_title' => 'Benutzer-definiertes Formular',
-  'cust_instr_1' => 'Die Anzahl der Upload-Felder kann angepasst werden, darf jedoch die untenstehenden Maximalwerte nicht überschreiten.',
-  'cust_instr_2' => 'Anzahl Abfrage-Felder',
-  'cust_instr_3' => 'Datei-Upload Felder: %s',
-  'cust_instr_4' => 'URI/URL-Upload Felder: %s',
-  'cust_instr_5' => 'URI/URL Upload Felder:',
-  'cust_instr_6' => 'Datei-Upload Felder:',
-  'cust_instr_7' => 'Gib die Anzahl der gewünschten Felder ein und klicke auf \'weiter\'.',
-  'reg_instr_1' => 'Unzulässige Aktion bei der Formular-Erzeugung.',
-  'reg_instr_2' => 'Du kannst jetzt Dateien mit den untenstehenden Feldern hochladen. Keine Datei darf größer als %s kB sein. ZIP-Dateien, die mit Datei-Upload oder URI/URL-Upload hochgeladen werden, bleiben komprimiert.',
-  'reg_instr_3' => 'Um ZIP-Dateien auf dem Server automatisch zu entpacken, verwende die ZIP-Upload Felder.',
-  'reg_instr_4' => 'Die URI/URL-Upload Felder müssen dieses Format haben \'http://www.meinseite.de/bilder/beispiel.jpg\'',
-  'reg_instr_5' => 'Wenn alle Upload-Felder ausgefüllt sind, klicke auf \'weiter\'.',
-  'reg_instr_6' => 'ZIP-Upload (wird entpackt auf Server):',
-  'reg_instr_7' => 'Datei-Upload:',
-  'reg_instr_8' => 'URI/URL-Upload:',
-  'error_report' => 'Fehlerliste',
-  'error_instr' => 'Folgende Uploads erzeugten Fehler:',
-  'file_name_url' => 'Dateiname/URL',
-  'error_message' => 'Fehlermeldung',
-  'no_post' => 'Datei durch Formular-Post nicht hochgeladen.',
-  'forb_ext' => 'Verbotene Datei-Erweiterung/-endung.',
-  'exc_php_ini' => 'Dateigröße größer als Limit in php.ini.',
-  'exc_file_size' => 'Dateigröße größer als Coppermine-Einstellungen.',
-  'partial_upload' => 'Nur teilweiser Upload.',
-  'no_upload' => 'Kein Upload erfolgt.',
-  'unknown_code' => 'Unbekannter PHP-Upload-Fehlercode.',
-  'no_temp_name' => 'Kein Upload - kein temporärer Name.',
-  'no_file_size' => 'Enthält keine Daten/defekt',
-  'impossible' => 'Kann nicht verschieben.',
-  'not_image' => 'kein Bild/korrupt',
-  'not_GD' => 'Keine GD-Erweiterung.',
-  'pixel_allowance' => 'maximale Bild-Abmessungen (Pixel-Größe) überschritten.',
-  'incorrect_prefix' => 'Ungültige URI/URL Vorsible',
-  'could_not_open_URI' => 'Konnte URI nicht öffnen.',
-  'unsafe_URI' => 'Sicherheit nicht überprüfbar.',
-  'meta_data_failure' => 'Meat-Daten fehlerhaft',
-  'http_401' => '401 Fehlende Berechtigung',
-  'http_402' => '402 Bezahlung erforderlich',
-  'http_403' => '403 Verboten',
-  'http_404' => '404 nicht gefunden',
-  'http_500' => '500 Interner Server-Fehler',
-  'http_503' => '503 Service nicht verfügbar',
-  'MIME_extraction_failure' => 'MIME konnte nicht festgestellt werden.',
-  'MIME_type_unknown' => 'Unbekannter MIME-Typ',
-  'cant_create_write' => 'Kann zu schreibende Datei nicht erzeugen.',
-  'not_writable' => 'Kann nicht in zu schreibende Datei speichern.',
-  'cant_read_URI' => 'Kann URI/URL nicht lesen',
-  'cant_open_write_file' => 'Kann nicht in URI-Datei schreiben.',
-  'cant_write_write_file' => 'Kann nicht in zu schreibende URI-Datei speichern.',
-  'cant_unzip' => 'Kann nicht entpacken.',
-  'unknown' => 'Unbekannter Fehler',
-  'succ' => 'Erfolgreiche Uploads',
-  'success' => '%s Uploads waren erfolgreich.',
-  'add' => 'Klicke auf \'weiter\', um die Dateien den Alben hinzuzufügen.',
-  'failure' => 'Upload-Fehler',
-  'f_info' => 'Datei-Information',
-  'no_place' => 'Die vorhergehende Datei konnte nicht gesetzt werden.',
-  'yes_place' => 'Die vorhergehende Datei wurde erfolgreich gesetzt.',
-  'max_fsize' => 'Maximal erlaubte Dateigröße ist %s kB',
-  'album' => 'Album',
-  'picture' => 'Datei',
-  'pic_title' => 'Datei-Titel',
-  'description' => 'Datei-Beschreibung',
-  'keywords' => 'Stichworte (Trennung mit Leerzeichen)<br /><a href="#" onClick="return MM_openBrWindow(\'keyword_select.php\',\'selectKey\',\'width=250, height=400, scrollbars=yes,toolbar=no,status=yes,resizable=yes\')">von Liste einfügen</a>', //cpg1.4
-  'keywords_sel' =>'Wähle Schlagwort', //cpg1.4
-  'err_no_alb_uploadables' => 'Leider gibt es kein Album, in das Du Bilder hochladen darfst',
-  'place_instr_1' => 'Bitte Dateien jetzt den Alben zuordnen.  Es können jetzt zusätzliche Angaben zu den Dateien gemacht werden.',
-  'place_instr_2' => 'Es müssen noch mehr Dateien Alben zugeordnet werden. Klicke \'weiter\'!',
-  'process_complete' => 'Alle Dateien wurden erfolgreich Alben zugeordnet.',
-  'albums_no_category' => 'Alben ohne Kategorie', //cpg1.4. //album pulldown mod, added by frogfoot
-  'personal_albums' => '* Persönliche Alben', //cpg1.4 //album pulldown mod, added by frogfoot
-  'select_album' => 'Wähle Album', //cpg1.4 //album pulldown mod, added by frogfoot
-  'close' => 'schliessen', //cpg1.4
-  'no_keywords' => 'Leider keine Schlagworte verfügbar!', //cpg1.4
-  'regenerate_dictionary' => 'Wörterbuch aktualisieren', //cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File usermgr.php
-// ------------------------------------------------------------------------- //
-
-if (defined('USERMGR_PHP')) $lang_usermgr_php = array(
-  'memberlist' => 'Benutzerliste', //cpg1.4
-  'user_manager' => 'Benutzer verwalten', //cpg1.4
-  'title' => 'Benutzer verwalten',
-  'name_a' => 'Name aufsteigend',
-  'name_d' => 'Name absteigend',
-  'group_a' => 'Gruppe aufsteigend',
-  'group_d' => 'Gruppe absteigend',
-  'reg_a' => 'Registrierungsdatum aufsteigend',
-  'reg_d' => 'Registrierungsdatum absteigend',
-  'pic_a' => 'Dateianzahl aufsteigend',
-  'pic_d' => 'Dateianzahl absteigend',
-  'disku_a' => 'Speicherplatz-Verbrauch aufsteigend',
-  'disku_d' => 'Speicherplatz-Verbrauch absteigend',
-  'lv_a' => 'Letzter Seitenbesuch aufsteigendg',
-  'lv_d' => 'Letzter Seitenbesuch absteigend',
-  'sort_by' => 'Benutzer sortieren nach',
-  'err_no_users' => 'Benutzer-Tabelle ist leer!',
-  'err_edit_self' => 'Du kannst Dein eigenes Profil hier nicht bearbeiten, benutze dafür den Link \'mein Profil\'',
-  'edit' => 'bearbeiten', //cpg1.4
-  'with_selected' => 'markierte Benutzer:', //cpg1.4
-  'delete' => 'löschen', //cpg1.4
-  'delete_files_no' => 'Dateien in öffentlichen Alben behalten (aber anonymisieren)', //cpg1.4
-  'delete_files_yes' => 'Dateien in öffentlichen Alben ebenfalls löschen', //cpg1.4
-  'delete_comments_no' => 'Kommentare behalten (aber anonymisieren)', //cpg1.4
-  'delete_comments_yes' => 'Kommentare ebenfalls löschen', //cpg1.4
-  'activate' => 'Aktivieren', //cpg1.4
-  'deactivate' => 'Deaktivieren', //cpg1.4
-  'reset_password' => 'Passwort zurücksetzen', //cpg1.4
-  'change_primary_membergroup' => 'Primäre Mitgliedergruppe ändern', //cpg1.4
-  'add_secondary_membergroup' => 'Sekundäre Mitgliederguppe hinzufügen', //cpg1.4
-  'name' => 'Benutzername',
-  'group' => 'Gruppe',
-  'inactive' => 'Inaktiv',
-  'operations' => 'Aktion',
-  'pictures' => 'Dateien',
-  'disk_space_used' => 'Speicherplatzverbrauch', //cpg1.4
-  'disk_space_quota' => 'Erlaubter Speicherplatz', //cpg1.4
-  'registered_on' => 'Registriert am', //cpg1.4
-  'last_visit' => 'Letzter Seitenbesuch',
-  'u_user_on_p_pages' => '%d Benutzer auf %d Seite(n)',
-  'confirm_del' => 'Willst Du diesen Benutzer wirklich LÖSCHEN? \\nAlle seine Dateien und Alben werden ebenfalls gelöscht.', //js-alert
-  'mail' => 'Mail',
-  'err_unknown_user' => 'Gewählter Benutzer existiert nicht!',
-  'modify_user' => 'Benutzer ändern',
-  'notes' => 'Anmerkungen',
-  'note_list' => '<li>Wenn Du das derzeitige Passwort nicht ändern willst, lasse das Feld "Passwort" leer',
-  'password' => 'Passwort',
-  'user_active' => 'Benutzer ist aktiv',
-  'user_group' => 'Benutzergruppe',
-  'user_email' => 'eMail-Adresse des Benutzers',
-  'user_web_site' => 'Webseite des Benutzers',
-  'create_new_user' => 'neuen Benutzer anlegen',
-  'user_location' => 'Ort',
-  'user_interests' => 'Hobbies/Interessen',
-  'user_occupation' => 'Beruf/Beschäftigung',
-  'user_profile1' => '$user_profile1', //cpg1.4
-  'user_profile2' => '$user_profile2', //cpg1.4
-  'user_profile3' => '$user_profile3', //cpg1.4
-  'user_profile4' => '$user_profile4', //cpg1.4
-  'user_profile5' => '$user_profile5', //cpg1.4
-  'user_profile6' => '$user_profile6', //cpg1.4
-  'latest_upload' => 'neueste Uploads',
-  'never' => 'nie',
-  'search' => 'Nach Benutzer suchen', //cpg1.4
-  'submit' => 'Absenden', //cpg1.4
-  'search_submit' => 'Los!', //cpg1.4
-  'search_result' => 'Resultate durchsuchen nach: ', //cpg1.4
-  'alert_no_selection' => 'Du musst zuerst mindestens einen Benutzer auswählen!', //cpg1.4 //js-alert
-  'password' => 'Passwort', //cpg1.4
-  'select_group' => 'Wähle Gruppe', //cpg1.4
-  'groups_alb_access' => 'Alben-Berechtigung nach Gruppenzugehörigkeit', //cpg1.4
-  'album' => 'Album', //cpg1.4
-  'category' => 'Kategorie', //cpg1.4
-  'modify' => 'Ändern?', //cpg1.4
-  'group_no_access' => 'Diese Gruppe hat keine besondern Berechtigungen', //cpg1.4
-  'notice' => 'Anmerkung', //cpg1.4
-  'group_can_access' => 'Album/Alben, auf das/die nur "%s" zugreifen kann', //cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File util.php
-// ------------------------------------------------------------------------- //
-
-if (defined('UTIL_PHP')) {
-$lang_util_desc_php = array(
-'Erzeugt Titel aus Dateinamen', //cpg1.4
-'Löscht Titel', //cpg1.4
-'Erneuert Thumbnails und Dateien in Zwischengröße gemäß aktuellen Einstellungen', //cpg1.4
-'Löscht Bilder in Original-Größe und ersetzt sie mit Bildern in Zwischengröße', //cpg1.4
-'Löscht Bilder in Originalgrösse oder Zwischengrösse, um Speicherplatz frei zu geben', //cpg1.4
-'Löscht verwaiste Kommentare', //cpg1.4
-'Liest Dateigrössen und Dimensionen erneut ein (falls Du Bilder manuell bearbeitet hast)', //cpg1.4
-'Setzt Hits-Zähler zurück', //cpg1.4
-'Zeigt phpinfo an', //cpg1.4
-'Aktualisert die Datenbank', //cpg1.4
-'Zeigt Log-Dateien an', //cpg1.4
-);
-$lang_util_php = array(
-  'title' => 'Admin-Werkzeuge (Größe ändern)',
-  'what_it_does' => 'Was macht dieses Tool',
-  'file' => 'Datei',
-  'problem' => 'Problem', //cpg1.4
-  'status' => 'Status', //cpg1.4
-  'title_set_to' => 'Ändere Titel auf',
-  'submit_form' => 'los',
-  'updated_succesfully' => 'erfolgreich geändert',
-  'error_create' => 'FEHLER beim Erzeugen von',
-  'continue' => 'Mehr Bilder durchlaufen',
-  'main_success' => 'Die Datei %s wurde erfolgreich als Hauptbild benutzt',
-  'error_rename' => 'Fehler beim Umbenennen von %s zu %s',
-  'error_not_found' => 'Die Datei %s wurde nicht gefunden',
-  'back' => 'zurück zur Auswahl',
-  'thumbs_wait' => 'Aktualisiere Thumbnails und/oder Bilder in Zwischengröße, bitte warten...',
-  'thumbs_continue_wait' => 'Fortfahren mit der Aktualisierung der Thumbnails und/oder Bilder in Zwischengröße...',
-  'titles_wait' => 'Aktualisiere Überschriften, bitte warten...',
-  'delete_wait' => 'Lösche Überschriften, bitte warten...',
-  'replace_wait' => 'Lösche Originale und ersetze sie mit Bilder in Zwischengröße, bitte warten...',
-  'instruction' => 'Kurzanleitung',
-  'instruction_action' => 'Wähle Aktion',
-  'instruction_parameter' => 'Wähle Parameter',
-  'instruction_album' => 'Wähle Album',
-  'instruction_press' => 'Klicke %s',
-  'update' => 'Thumbnails und/oder Bilder in Zwischengröße aktualisieren',
-  'update_what' => 'Was soll aktualisiert werden',
-  'update_thumb' => 'Nur Thumbnails',
-  'update_pic' => 'Nur Bilder in Zwischengröße',
-  'update_both' => 'Sowohl Thumbnails als auch Bilder in Zwischengröße',
-  'update_number' => 'Anzahl der Bilder, die pro Klick aktualisiert werden sollen',
-  'update_option' => '(Verringere diesen Wert, wenn &quot;Time-Out&quot;-Probleme auftreten sollten)',
-  'filename_title' => 'Dateiname &rArr; Bild-Überschrift',
-  'filename_how' => 'Wie soll der Titel modifiziert werden',
-  'filename_remove' => 'Entferne die Endung .jpg und ersetze _ (Unterstrich) mit Leerzeichen',
-  'filename_euro' => 'Ändere 2003_11_23_13_20_20.jpg zu 23/11/2003 13:20',
-  'filename_us' => 'Ändere 2003_11_23_13_20_20.jpg zu 11/23/2003 13:20',
-  'filename_time' => 'Ändere 2003_11_23_13_20_20.jpg zu 13:20',
-  'delete' => 'Lösche Bild-Überschriften oder Bilder in Original-Größe',
-  'delete_title' => 'Bild-Überschriften löschen',
-  'delete_title_explanation' => 'Diese Option löscht alle Titel von allen Dateien in dem angegebenen Album.', //cpg1.4
-  'delete_original' => 'Bilder in Original-Größe löschen',
-  'delete_original_explanation' => 'Diese Option entfernt die Bilder in Originalgröße.', //cpg1.4
-  'delete_intermediate' => 'Bilder in Zwischengröße löschen', //cpg1.4
-  'delete_intermediate_explanation' => 'Diese Option löscht alle Bilder in Zwischengröße (normal_).<br />Empfohlen, um Speicherplatz freizugeben, wenn die Option \'Bilder in Zwischengröße erzeugen\' in den Coppermine-Einstellungen deaktiviert wurde NACHDEM Bilder zur Datenbank hinzugefügt wurden.', //cpg1.4
-  'delete_replace' => 'Lösche die Original-Bilder und ersetze sie mit Bilder in Zwischengröße',
-  'titles_deleted' => 'Alle Titel in dem angegebenen Album werden gelöscht', //cpg1.4
-  'deleting_intermediates' => 'Lösche Bilder in Zwischengröße, bitte warten...', //cpg1.4
-  'searching_orphans' => 'Suche nach verwaisten Einträgen, bitte warten...', //cpg1.4
-  'select_album' => 'Wähle Album',
-  'delete_orphans' => 'Verwaiste Kommentare löschen', //cpg1.4
-  'delete_orphans_explanation' => 'Diese Option identifiziert und löscht Kommentare, die mit Dateien verknüpft sind, die nicht mehr in der Datenbank vorhanden sind.<br />Durchläuft alle Alben.', //cpg1.4
-  'refresh_db' => 'Informationen über Dateigrößen und -abmessungen erneuern.', //cpg1.4
-  'refresh_db_explanation' => 'Diese Option liest die Dateigrößen und -abmessungen erneut ein. Benutze sie, wenn die Speicherplatz-Anzeige unkorrekt erscheint oder wenn Du die Dateien manuell verändert hast..', //cpg1.4
-  'reset_views' => 'Hits-Zähler zurücksetzen', //cpg1.4
-  'reset_views_explanation' => 'Setzt alle "Datei x mal angesehen" Zähler auf Null im angegebenen Album.', //cpg1.4
-  'orphan_comment' => 'verwaiste Kommentare gefunden',
-  'delete' => 'löschen',
-  'delete_all' => 'alle löschen',
-  'delete_all_orphans' => 'Alle verwaisten Kommentare löschen?', //cpg1.4
-  'comment' => 'Kommentar: ',
-  'nonexist' => 'Bezug auf nicht-existierende Datei # ',
-  'phpinfo' => 'phpinfo anzeigen',
-  'phpinfo_explanation' => 'Zeigt technische Informationen über Deinen Server an.<br /> - Möglicherweise wirst Du nach diesen Informationen gefragt, wenn Du im Coppermine-Forum um Hilfe bittest.', //cpg1.4
-  'update_db' => 'Datenbank aktualisieren',
-  'update_db_explanation' => 'Wenn Du Coppermine-Dateien ersetzt hast, eine Modifikation oder ein Upgrade von einer frühreren Version von Coppermine durchgeführt hast, lasse diese Datenbank-Aktualisierung einmal laufen, um die möglicherweise notwendigen Änderungen an der Datenbank durchzuführen bzw. fehlende Tabellen zu erzeugen.',
-  'view_log' => 'Log-Dateien anzeigen', //cpg1.4
-  'view_log_explanation' => 'Coppermine kann verschiedene Benutzer-Aktionen protokollieren. Diese Protokolle können hier angesehen werden, wenn die Aufzeichnung von Log-Dateien in den Coppermine-<a href="admin.php">Einstellungen</a> aktiviert wurde.', //cpg1.4
-  'versioncheck' => 'Versions-Check', //cpg1.4
-  'versioncheck_explanation' => 'Überprüfe die Versionen Deiner Dateien um herauszufinden, ob alle Dateien bei einem Update korrekt ersetzt wurden, oder ob die Coppermine-Dateien nach der Veröffentlichung eines Pakets aktualisiert wurden.', //cpg1.4
-  'bridgemanager' => 'Bridge-Assistent', //cpg1.4
-  'bridgemanager_explanation' => 'Assistent zur Integration der Benutzerverwaltung von Coppermine mit einer anderen Applikation (z.B. einem Forum) - sogenanntes "Bridging".', //cpg1.4
-);
-}
-
-// ------------------------------------------------------------------------- //
-// File versioncheck.php //cpg1.4
-// ------------------------------------------------------------------------- //
-
-if (defined('VERSIONCHECK_PHP')) $lang_versioncheck_php = array(
-  'title' => 'Versions-Check', //cpg1.4
-  'what_it_does' => 'Diese Seite ist für Benutzer gedacht, die ihre Version von Coppermine aktualisiert haben. Dieses Skript durchläuft alle Dateien auf dem Webserver und versucht festzustellen, ob Deine lokalen Dateiversionen mit denen der Referenz auf http://coppermine.sourceforge.net übereinstimmen. Dadurch werden die Dateien, die irrtümlich nicht aktualisiert wurden angezeigt.<br />Alles, was korrigiert werden muss wird in rot angezeigt. Einträge in gelb müssen einer näheren Betrachtung unterzogen werden. Einträge in grün (oder Deiner Standard-Schriftfarbe) sind OK.<br />Klicke auf die Hilfe-Icons für Details.', //cpg1.4
-  'online_repository_unable' => 'Konnte nicht mit Referenz-Datei abgleichen', //cpg1.4
-  'online_repository_noconnect' => 'Coppermine konnte sich nicht mit der Referenz-Datei abzugleichen. Dies kann 2 Gründe haben:', //cpg1.4
-  'online_repository_reason1' => 'die Referenzdatei ist derzeit nicht online - überprüfe, ob Du mit dem Browser diese Seite anzeigen kannst: %s - falls nicht, versuche später noch einmal, den Versions-Check durchzuführen.', //cpg1.4
-  'online_repository_reason2' => 'Auf Deinem Webserver ist PHP so konfiguriert, dass %s deaktiviert ist (Standard-mässig ist diese Option aktiviert). Falls Du den Webserver administrieren kannst, aktiviere diese Option in Deiner <i>php.ini</i> (erlaube zumindest, dass die globale Einstellung mit %s temporär umgangen werden kann). Falls Du jedoch auf einem fremden Server gehostet bist musst Du wahrscheinlich damit leben, dass Du Deine Dateien nicht online vergleichen kannst. In diesem Fall wird diese Seite nur die Dateiversionen mit denen der Ditribution vergleichen - spätere Updates werden nicht in Betracht gezogen.', //cpg1.4
-  'online_repository_skipped' => 'Verbindung mit der Referenz-Datei übersprungen', //cpg1.4
-  'online_repository_to_local' => 'Das Skript benutzt jetzt die lokale Kopie der Versions-Dateien. Die Daten sind möglicherweise ungenau, falls Du Coppermine aktualisiert und nicht alle Dateien hochgeladen hast. Änderungen an Dateiversionen, die nach der Veröffentlichung des Pakets vorgenommen wurden werden nicht berücksichtigt.', //cpg1.4
-  'local_repository_unable' => 'Das Skript konnte sich nicht mit der Referenzdatei auf Deinem Server verbinden', //cpg1.4
-  'local_repository_explanation' => 'Coppermine konnte sich nicht mit der Refernzdatei %s auf Deinem Webserver verbinden. Das bedeutet wahrscheinlich, dass Du die Refernzdatei nicht auf den Server hochgeladen hast. Erledige das nun und versuche dann, diese Seite erneut zu laden (klicke auf "aktualisieren").<br />Falls das immer noch fehl schlägt, dann hat Dein Webhost möglicherweise Teile der <a href="http://www.php.net/manual/de/ref.filesystem.php">Dateifunktionen von PHP</a> komplett deaktiviert. In diesem Fall kannst Du dieses Tool leider gar nicht benutzen.', //cpg1.4
-  'coppermine_version_header' => 'Installierte Coppermine-Version', //cpg1.4
-  'coppermine_version_info' => 'Du hast derzeit installiert: %s', //cpg1.4
-  'coppermine_version_explanation' => 'Falls Du der Meinung sein solltest, dass das falsch ist und Du eine neuere Version von Coppermine haben solltest, dann hast Du wahrscheinlich nicht die aktuellste Version der Datei <i>include/init.inc.php</i> hochgeladen', //cpg1.4
-  'version_comparison' => 'Versions-Vergleich', //cpg1.4
-  'folder_file' => 'Verzeichnis/Datei', //cpg1.4
-  'coppermine_version' => 'cpg-Version', //cpg1.4
-  'file_version' => 'Datei-Version', //cpg1.4
-  'webcvs' => 'web svn', //cpg1.4
-  'writable' => 'beschreibbar', //cpg1.4
-  'not_writable' => 'nicht beschreibbar', //cpg1.4
-  'help' => 'Hilfe', //cpg1.4
-  'help_file_not_exist_optional1' => 'Datei/Verzeichnis existiert nicht', //cpg1.4
-  'help_file_not_exist_optional2' => 'Die Datei / das Verzeichnis %s wurde auf Deinem Server nicht  gefunden. Obwohl sie optional ist solltest Du sie auf Deinen Server hochladen (benutze dazu Dein FTP-Programm), zumindest wenn Probleme auftreten.', //cpg1.4
-  'help_file_not_exist_mandatory1' => 'Datei/Verzeichnis existiert nicht', //cpg1.4
-  'help_file_not_exist_mandatory2' => 'Datei/Verzeichnis %s wurde auf dem Server nicht gefunden, obwohl es zwingend benötigt wird. Lade die Datei (mit Hilfe Deines FTP-Programms) auf Deinen Webserver hoch..', //cpg1.4
-  'help_no_local_version1' => 'Keine lokale Dateiversion', //cpg1.4
-  'help_no_local_version2' => 'Das Skript konnte die Versionsinformation aus der lokalen Datei-Version nicht extrahieren - Deine Datei ist entweder veraltet, oder Du hast die Datei verändert und dabei den Datei-Header geändert. Es ist empfehlenswert, die Datei zu aktualisieren.', //cpg1.4
-  'help_local_version_outdated1' => 'Lokale Version veraltet', //cpg1.4
-  'help_local_version_outdated2' => 'Deine Version der Datei scheint von einer älteren Version von Coppermine zu stammen (Du hast wahrscheinlich ein Upgrade durchgeführt). Ersetze auch diese Datei mit der aktuelleren Version.', //cpg1.4
-  'help_local_version_na1' => 'Konnte SVN-Versions-Information nicht extrahieren', //cpg1.4
-  'help_local_version_na2' => 'Das Skript konnte die SVN-Versions-Information nicht aus der lokalen Datei auf Deinem Webserver extrahieren. Du solltest diese Datei aktualisieren.', //cpg1.4
-  'help_local_version_dev1' => 'Entwicklungs-Version', //cpg1.4
-  'help_local_version_dev2' => 'Die Datei auf Deinem Webserver scheint neuer zu sein als Deine Coppermine-Version. Du benutzt entweder eine Entwicklungs-Version (nur empfohlen für erfahrene Anwender), oder Du hast Deine Coppermine-Installation aktualisiert und die Datei include/init.inc.php nicht hochgeladen.', //cpg1.4
-  'help_not_writable1' => 'Verzeichnis nicht beschreibbar', //cpg1.4
-  'help_not_writable2' => 'Ändere die Berechtigungen (CHMOD), um dem Skript Schreibrechte auf den Ordner %s und alles darin befindliche zu gewähren.', //cpg1.4
-  'help_writable1' => 'Verzeichnis beschreibbar', //cpg1.4
-  'help_writable2' => 'Das Verzeichnis %s ist beschreibbar. Dies stellt ein unnötiges Sicherheitsrisiko dar, Coppermine benötigt nur Lese- und Ausführungsrechte.', //cpg1.4
-  'help_writable_undetermined' => 'Das Skript konnte nicht feststellen, ob das Verzeichnis beschreibbar ist.', //cpg1.4
-  'your_file' => 'Deine Datei', //cpg1.4
-  'reference_file' => 'Referenz-Datei', //cpg1.4
-  'summary' => 'Zusammenfassung', //cpg1.4
-  'total' => 'Summe der überprüften Verzeichnisse/Dateien', //cpg1.4
-  'mandatory_files_missing' => 'Fehlende verbindlich benötigte Dateien', //cpg1.4
-  'optional_files_missing' => 'Fehlende optionale Dateien', //cpg1.4
-  'files_from_older_version' => 'Dateien, die von veralteten Coppermine-Versionen stammen', //cpg1.4
-  'file_version_outdated' => 'Veraltete Datei-Versionen', //cpg1.4
-  'error_no_data' => 'Das Skript hat einen Fehler verursacht und konnte keine Versionsinformationen auslesen. Sorry.', //cpg1.4
-  'go_to_webcvs' => 'gehe zu %s', //cpg1.4
-  'options' => 'Optionen', //cpg1.4
-  'show_optional_files' => 'optionale Verzeichnisse/Dateien anzeigen', //cpg1.4
-  'show_mandatory_files' => 'verbindlich benötigte Dateien anzeigen', //cpg1.4
-  'show_file_versions' => 'Dateiversionen anzeigen', //cpg1.4
-  'show_errors_only' => 'Nur Verzeichnisse und Dateien mit Fehlern anzeigen', //cpg1.4
-  'show_permissions' => 'Berechtigungen anzeigen', //cpg1.4
-  'show_condensed_output' => 'Reduzierte Ausgabe (zur einfacheren Erstellung von Screenshots)', //cpg1.4
-  'coppermine_in_webroot' => 'Coppermine ist im Wurzelverzeichnis der Domäne installiert', //cpg1.4
-  'connect_online_repository' => 'Verbindungsaufbau zur Referenzdatei versuchen', //cpg1.4
-  'show_additional_information' => 'Zusatzinformationen anzeigen', //cpg1.4
-  'no_webcvs_link' => 'Web-CVS-Links nicht anzeigen', //cpg1.4
-  'stable_webcvs_link' => 'Web-CVS-Links zur "stable-branch" anzeigen', //cpg1.4
-  'devel_webcvs_link' => 'Web-CVS-Links zur "devel-branch" anzeigen', //cpg1.4
-  'submit' => 'Änderungen durchführen / aktualisieren', //cpg1.4
-  'reset_to_defaults' => 'Standard-Einstellungen wieder herstellen', //cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File view_log.php  //cpg1.4
-// ------------------------------------------------------------------------- //
-
-if (defined('VIEWLOG_PHP')) $lang_viewlog_php = array(
-  'delete_all' => 'Alle Logs löschen', //cpg1.4
-  'delete_this' => 'Dieses Log löschen', //cpg1.4
-  'view_logs' => 'Logs anzeigen', //cpg1.4
-  'no_logs' => 'Keine Logs vorhanden', //cpg1.4
-);
-
-
-// ------------------------------------------------------------------------- //
-// File xp_publish.php //cpg1.4
-// ------------------------------------------------------------------------- //
-
-if (defined('XP_PUBLISH_PHP')) {
-
-$lang_xp_publish_client = <<<EOT
-<h1>XP Web Publishing Assistent</h1><p>Dieses Modul ermöglicht es, den <b>Windows XP</b> web publishing Assistenten mit Coppermine zu benutzen.</p><p>Der zugrunde liegende Code basiert auf einem Artikel von
-EOT;
-
-$lang_xp_publish_required = <<<EOT
-<h2>Was wird benötigt</h2><ul><li>Windows XP, damit der Assistent zur Verfügung steht.</li><li>Eine funktionierende Coppermine-Installation, bei der das Hochladen von Dateien funktioniert.</b></li></ul><h2>Wie installiere ich die nötige Software auf meinem Rechner</h2><ul><li>Rechts-Klicke auf
-EOT;
-
-$lang_xp_publish_select = <<<EOT
-Wähle &quot;Zeil speichern unter..&quot;. Speichere die Datei auf Deiner Festplatte. Überprüfe beim Speichern, dass der vorgeschlagene Name  <b>cpg_###.reg</b> lautet (die ###-Symbole repräsentieren einen numerischen Zeitstempel). Ändere ggf. den Namen ab (aber lasse die Zahlen so, wie sie sind). Nach erfolgtem Download, doppelklicke auf die heruntergeladene Datei, um den Coppermine-Server beim Web Publishing-Assistenten zu registrieren.</li></ul>
-EOT;
-
-$lang_xp_publish_testing = <<<EOT
-<h2>Testen</h2><ul><li>Markiere einige Grafik-Dateien im Windows Explorer und klicke dann auf <b>xxx im Internet veröffentlichen</b> in der linken Leiste des Explorers.</li><li>Bestätige Deine Dateiauswahl. Klicke auf <b>weiter</b>.</li><li>In der Liste der zur Verfügung stehenden Dienste, wähle Deine Foto-Galerie (der Eintrag hat den Namen Deiner Galerie). Falls der Diesnt nicht erscheint, überprüfe, ob Du <b>cpg_pub_wizard.reg</b> wie oben beschrieben installiert hast.</li><li>Gib Deine Zugangsinformationen ein, falls notwendig.</li><li>Wähle ein Album als Ziel der Bilder oder erzeuge ein neues Album.</li><li>Klicke auf <b>weiter</b>. Der Upload Deiner Bilder startet jetzt.</li><li>Wenn der Upload beendet ist, überprüfe auf der Galerie-Seite, dass alle Bilder korrekt hochgeladen wurden.</li></ul>
-EOT;
-
-$lang_xp_publish_notes = <<<EOT
-<h2>Anmerkungen :</h2><ul><li>Wenn der Upload-Vorgang erst einmal gestartet ist kann der Assistent keine Fehlermeldungen anzeigen, die vom Skript generiert werden; daher kann man nicht wissen, ob ein Upload erfolgreich war oder nicht, außer durch Besuch der Coppermine-Galerie.</li><li>Wenn ein Upload fehlschlägt, aktiviere den &quot;Debug-Modus&quot; in den Coppermine-Einstellungen, lade ein einzelnes Bild hoch und überprüfe dann die Fehlermeldungen in der
-EOT;
-
-$lang_xp_publish_flood = <<<EOT
-Datei, die im Coppermine-Verzeichnis auf Deinem Server liegt.</li><li>Um zu vermeiden, dass die Galerie überflutet wird mit Uploads durch den Assistenten können nur die <b>Administratoren der Galerie</b> und <b>Benutzer, die eigene Alben haben dürfen</b> dieses Feature nutzen.</li>
-EOT;
-
-
-
-$lang_xp_publish_php = array(
-  'title' => 'Coppermine - XP Web Publishing Assistent', //cpg1.4
-  'welcome' => 'Willkommen <b>%s</b>,', //cpg1.4
-  'need_login' => 'Um diesen Assistenten zu nutzen musst Du Dich bei der Galerie mit Hilfe Deines Browsers (IE) anmelden.<p/><p>Vergiss nicht, die Option &quot;<b>Immer angemeldet bleiben</b>&quot; bei der Anmeldung zu aktivieren, wenn vorhanden.', //cpg1.4
-  'no_alb' => 'Leider gibt es keine Alben, in die Du berechtigt bist mit diesem Assistenten Bilder hochzuladen.', //cpg1.4
-  'upload' => 'Lade Deine Bilder in ein bestehendes Album hoch', //cpg1.4
-  'create_new' => 'Erstelle ein neues Album für Deine Bilder', //cpg1.4
-  'album' => 'Album', //cpg1.4
-  'category' => 'Kategorie', //cpg1.4
-  'new_alb_created' => 'Dein neues Album &quot;<b>%s</b>&quot; wurde erstellt.', //cpg1.4
-  'continue' => 'Klicke auf &quot;Weiter&quot;, um Deine Bilder hochzuladen', //cpg1.4
-  'link' => 'dieser Link', //cpg1.4
-);
-}
+<?php
+/*************************
+  Coppermine Photo Gallery
+  ************************
+  Copyright (c) 2003-2009 Coppermine Dev Team
+  v1.1 originally written by Gregory DEMAR
+
+  This program is free software; you can redistribute it and/or modify
+  it under the terms of the GNU General Public License version 3
+  as published by the Free Software Foundation.
+  
+  ********************************************
+  Coppermine version: 1.4.25
+  $HeadURL: https://coppermine.svn.sourceforge.net/svnroot/coppermine/trunk/cpg1.4.x/lang/german.php $
+  $Revision: 5997 $
+  $Author: gaugau $
+  $Date: 2009-05-26 08:43:24 +0200 (Di, 26 Mai 2009) $
+**********************************************/
+
+if (!defined('IN_COPPERMINE')) { die('Not in Coppermine...');}
+
+// info about translators and translated language
+$lang_translation_info = array(
+  'lang_name_english' => 'German', //cpg1.4
+  'lang_name_native' => 'Deutsch', //cpg1.4
+  'lang_country_code' => 'de', //cpg1.4
+  'trans_name'=> 'Joachim Müller',
+  'trans_email' => 'gaugau@users.sourceforge.net',
+  'trans_website' => 'http://gaugau.de/',
+  'trans_date' => '2005-07-10',
+);
+
+$lang_charset = 'utf-8';
+$lang_text_dir = 'ltr'; // ('ltr' for left to right, 'rtl' for right to left)
+
+// shortcuts for Byte, Kilo, Mega
+$lang_byte_units = array('Bytes', 'KB', 'MB');
+
+// Day of weeks and months
+$lang_day_of_week = array('So', 'Mo', 'Di', 'Mi', 'Do', 'Fr', 'Sa');
+$lang_month = array('Januar', 'Februar', 'März', 'April', 'Mai', 'Juni', 'Juli', 'August', 'September', 'Oktober', 'November', 'Dezember');
+
+// Some common strings
+$lang_yes = 'Ja';
+$lang_no  = 'Nein';
+$lang_back = 'zurück';
+$lang_continue = 'weiter';
+$lang_info = 'Information';
+$lang_error = 'Fehler';
+$lang_check_uncheck_all = 'alle selektieren/de-selektieren'; //cpg1.4
+
+// The various date formats
+// See http://www.php.net/manual/en/function.strftime.php to define the variable below
+$album_date_fmt =    '%d.%B %Y';
+$lastcom_date_fmt =  '%d.%m.%y um %H:%M';
+$lastup_date_fmt = '%d.%B %Y';
+$register_date_fmt = '%d.%B %Y';
+$lasthit_date_fmt = '%d.%B %Y um %H:%M';
+$comment_date_fmt =  '%d.%B %Y um %H:%M';
+$log_date_fmt = '%d.%B %Y um %H:%M'; //cpg1.4
+
+// For the word censor
+$lang_bad_words = array('*fuck*', 'Fu\(*', 'fuk*', 'masturbat*', 'motherfucker', 'nigger*', 'penis', 'pussy', 'shit', 'titties', 'titty',  'arsch*', 'fick*', 'fotze', 'votze', 'Sieg Heil', 'Heil Hitler', 'Nutte', 'Möse', 'Moese', 'Pimmel', 'Schwengel', 'Titte*', 'bums*', 'Scheiss*', 'Scheiß*');
+
+$lang_meta_album_names = array(
+  'random' => 'Zufalls-Bilder',
+  'lastup' => 'neueste Dateien',
+  'lastalb'=> 'Zuletzt aktualisierte Alben',
+  'lastcom' => 'neueste Kommentare',
+  'topn' => 'am meisten angesehen',
+  'toprated' => 'am besten bewertet',
+  'lasthits' => 'zuletzt angesehen',
+  'search' => 'Suchergebnisse',
+  'favpics'=> 'Favoriten',  //cpg1.4
+);
+
+$lang_errors = array(
+  'access_denied' => 'Du hast kein Recht, diese Seite anzusehen.',
+  'perm_denied' => 'Du hast nicht das Recht, diese Operation auszuführen.',
+  'param_missing' => 'Das Skript wurde ohne den/die erforderlichen Parameter aufgerufen.',
+  'non_exist_ap' => 'Das gewählte Album bzw. die gewählte Datei existiert nicht!',
+  'quota_exceeded' => 'Speicherplatz erschöpft<br /><br />Du hast ein Speicherlimit von [quota] kB, Deine Dateien belegen zur Zeit [space] kB, das Hinzufügen dieser Datei würde Deinen Speicherplatz überschreiten.',
+  'gd_file_type_err' => 'Bei Verwendung der GD-Bibliothek sind nur die Dateitypen JPG und PNG erlaubt.',
+  'invalid_image' => 'Das Bild, das Du hochgeladen hast, ist beschädigt oder kann nicht von der GD-Bibliothek verarbeitet werden',
+  'resize_failed' => 'Kann Thumbnail nicht erzeugen.',
+  'no_img_to_display' => 'Keine Datei zum Anzeigen vorhanden (oder Du hast keine Berechtigung, das Album zu sehen)',
+  'non_exist_cat' => 'Die gewählte Kategorie existiert nicht',
+  'orphan_cat' => 'Eine Kategorie besitzt ein nicht-existierendes Eltern-Element, benutze den Kategorie-Manager, um das Problem zu beheben.',
+  'directory_ro' => 'Das Verzeichnis \'%s\' ist nicht beschreibbar, die Dateien können nicht gelöscht werden',
+  'non_exist_comment' => 'Der gewählte Kommentar existiert nicht.',
+  'pic_in_invalid_album' => 'Die Datei befindet sich in einem nicht-existierenden Album (%s)!?',
+  'banned' => 'Du bist zur Zeit von dieser Seite verbannt.',
+  'not_with_udb' => 'Diese Funktion ist innerhalb von Coppermine deaktiviert, weil sie in die Forums-Software integriert ist. Entweder wird das, was Du gerade zu tun versucht hast, in dieser Konfiguration nicht unterstützt oder die Funktion sollte von der Forums-Software übernommen werden.',
+  'offline_title' => 'Wartungsmodus',
+  'offline_text' => 'Die Galerie ist zur Zeit im Wartungsmodus - schau später nochmal vorbei!',
+  'ecards_empty' => 'Es können derzeit keine eCard-Einträge gefunden werden. Überprüfe, ob die Aufzeichung von eCards in den Einstellungen aktivert wurde!',
+  'action_failed' => 'Aktion fehlgeschlagen. Coppermine konnte die gewünschte Aktion nicht ausführen.',
+  'no_zip' => 'Die zum Verarbeiten von ZIP-Dateien notwendigen libraries sind auf dem Server nicht verfügbar. Setze Dich mit dem Server-Admin in Verbindung.',
+  'zip_type' => 'Keine Berechtigung für den Upload von ZIP-Dateien.',
+  'database_query' => 'Beim Ausführen einer Datenbank-Abfrage ist ein Fehler aufgetreten', //cpg1.4
+  'register_globals_on' => 'Die PHP-Einstellung register_globals ist auf Deinem Server aktiviert, was keine sehr gute Idee ist in Sachen Sicherheit. Es wird wärmstens empfohlen, diese Einstellung zu deaktivieren. [<a href="http://forum.coppermine-gallery.net/index.php/topic,59569.0.html" rel="external" class="external">mehr</a>]',
+);
+
+$lang_bbcode_help_title = 'Bulletin Board code Hilfe'; //cpg1.4
+$lang_bbcode_help = 'Du kannst klickbare Links und Formatierung in diesem Feld anwenden durch die Verwendung folgender bbcode-Befehle: <li>[b]Fett[/b] =&gt; <b>Fett</b></li><li>[i]Kursiv[/i] =&gt; <i>Kursiv</i></li><li>[url=http://deineseite.com/]Url Text[/url] =&gt; <a href="http://deineseite.com">Url Text</a></li><li>[email]benutzer@domain.com[/email] =&gt; <a href="mailto:benutzer@domain.com">benutzer@domain.com</a></li><li>[color=red]Beispieltext[/color] =&gt; <span style="color:red">Beispieltext</span></li><li>[img]http://coppermine-gallery.net/demo/cpg14x/images/red.gif[/img] => <img src="../images/red.gif" border="0" alt="" /></li>'; //cpg1.4
+
+// ------------------------------------------------------------------------- //
+// File theme.php
+// ------------------------------------------------------------------------- //
+
+$lang_main_menu = array(
+  'home_title' => 'Gehe zur Startseite',
+  'home_lnk' => 'Startseite',
+  'alb_list_title' => 'Gehe zur Alben-Liste',
+  'alb_list_lnk' => 'Alben-Liste',
+  'my_gal_title' => 'Gehe zu meiner persönlichen Galerie',
+  'my_gal_lnk' => 'Meine Galerie',
+  'my_prof_title' => 'Gehe zu meinem Profil', //cpg1.4
+  'my_prof_lnk' => 'Mein Profil',
+  'adm_mode_title' => 'In den Admin-Modus wechseln',
+  'adm_mode_lnk' => 'Admin-Modus',
+  'usr_mode_title' => 'In den Benutzer-Modus wechseln',
+  'usr_mode_lnk' => 'Benutzer-Modus',
+  'upload_pic_title' => 'Datei in ein Album hochladen',
+  'upload_pic_lnk' => 'Datei hochladen',
+  'register_title' => 'Erzeuge ein Benutzerkonto',
+  'register_lnk' => 'Registrieren',
+  'login_title' => 'melde mich an', //cpg1.4
+  'login_lnk' => 'Anmelden',
+  'logout_title' => 'Melde mich ab', //cpg1.4
+  'logout_lnk' => 'Abmelden',
+  'lastup_title' => 'Zeige neueste Uploads an', //cpg1.4
+  'lastup_lnk' => 'Neueste Uploads',
+  'lastcom_title' => 'Zeige die neuesten Kommentare an', //cpg1.4
+  'lastcom_lnk' => 'Neueste Kommentare',
+  'topn_title' => 'Zeige die am meisten angesehenen Dateien an', //cpg1.4
+  'topn_lnk' => 'Am meisten angesehen',
+  'toprated_title' => 'Zeige die am besten bewerteten Dateien an', //cpg1.4
+  'toprated_lnk' => 'Am besten bewertet',
+  'search_title' => 'Durchsuche die Galerie', //cpg1.4
+  'search_lnk' => 'Suche',
+  'fav_title' => 'Zeige meine Favoriten an', //cpg1.4
+  'fav_lnk' => 'Meine Favoriten',
+  'memberlist_title' => 'Benutzerliste anzeigen',
+  'memberlist_lnk' => 'Benutzerliste',
+  'faq_title' => 'Häufig gestellte Fragen (Frequently Asked Questions) zur Galerie &quot;Coppermine&quot;',
+  'faq_lnk' => 'FAQ',
+);
+
+$lang_gallery_admin_menu = array(
+  'upl_app_title' => 'Neu hochgeladene Dateien bestätigen', //cpg1.4
+  'upl_app_lnk' => 'Upload-Bestätigung',
+  'admin_title' => 'Gehe zur Konfiguration', //cpg1.4
+  'admin_lnk' => 'Einstellungen', //cpg1.4
+  'albums_title' => 'Gehe zur Alben-Konfiguration', //cpg1.4
+  'albums_lnk' => 'Alben',
+  'categories_title' => 'Gehe zur Kategorien-Konfiguration', //cpg1.4
+  'categories_lnk' => 'Kategorien',
+  'users_title' => 'Gehe zur Benutzer-Konfiguration', //cpg1.4
+  'users_lnk' => 'Benutzer',
+  'groups_title' => 'Gehe zur Gruppen-Konfiguration', //cpg1.4
+  'groups_lnk' => 'Gruppen',
+  'comments_title' => 'Zeige alle Kommentare zur Bearbeitung an', //cpg1.4
+  'comments_lnk' => 'Kommentare bearbeiten',
+  'searchnew_title' => 'Gehe zur Stapel-Bearbeitung hochgeladener Dateien', //cpg1.4
+  'searchnew_lnk' => 'Batch-hinzufügen',
+  'util_title' => 'Gehe zu den Admin-Werkzeugen', //cpg1.4
+  'util_lnk' => 'Admin-Werkzeuge',
+  'key_title' => 'Gehe zum Schlagwort-Register', //cpg1.4
+  'key_lnk' => 'Schlagwort-Register', //cpg1.4
+  'ban_title' => 'Gehe zur Konfiguration der Verbannungen', //cpg1.4
+  'ban_lnk' => 'Benutzer verbannen',
+  'db_ecard_title' => 'Bisher gesendete eCards anzeigen', //cpg1.4
+  'db_ecard_lnk' => 'eCards anzeigen',
+  'pictures_title' => 'Bestimme die Reihenfolge von Bildern in Alben', //cpg1.4
+  'pictures_lnk' => 'Meine Bilder sortieren', //cpg1.4
+  'documentation_lnk' => 'Dokumentation', //cpg1.4
+  'documentation_title' => 'Coppermine-Handbuch', //cpg1.4
+);
+
+$lang_user_admin_menu = array(
+  'albmgr_title' => 'Meine Alben erzeugen/anordnen', //cpg1.4
+  'albmgr_lnk' => 'Alben erzeugen/anordnen',
+  'modifyalb_title' => 'Meine Alben bearbeiten',  //cpg1.4
+  'modifyalb_lnk' => 'Meine Alben bearbeiten',
+  'my_prof_title' => 'gehe zu meinem persönlichen Profil', //cpg1.4
+  'my_prof_lnk' => 'Mein Profil',
+);
+
+$lang_cat_list = array(
+  'category' => 'Kategorie',
+  'albums' => 'Alben',
+  'pictures' => 'Dateien',
+);
+
+$lang_album_list = array(
+  'album_on_page' => '%d Alben auf %d Seite(n)',
+);
+
+$lang_thumb_view = array(
+  'date' => 'Datum',
+  //Sort by filename and title
+  'name' => 'Dateiname',
+  'title' => 'Titel',
+  'sort_da' => 'Aufsteigend nach Datum sortieren',
+  'sort_dd' => 'Absteigend nach Datum sortieren',
+  'sort_na' => 'Aufsteigend nach Name sortieren',
+  'sort_nd' => 'Absteigend nach Name sortieren',
+  'sort_ta' => 'Aufsteigend nach Titel sortieren',
+  'sort_td' => 'Absteigend nach Titel sortieren',
+  'position' => 'Position', //cpg1.4
+  'sort_pa' => 'Aufsteigend nach Position sortieren', //cpg1.4
+  'sort_pd' => 'Absteigend nach Position sortieren', //cpg1.4
+  'download_zip' => 'Als ZIP-Datei herunterladen',
+  'pic_on_page' => '%d Dateien auf %d Seite(n)',
+  'user_on_page' => '%d Benutzer auf %d Seite(n)',
+  'enter_alb_pass' => 'Gib das Passwort für das Album ein', //cpg1.4
+  'invalid_pass' => 'Ungültiges Passwort', //cpg1.4
+  'pass' => 'Passwort', //cpg1.4
+  'submit' => 'Absenden', //cpg1.4
+);
+
+$lang_img_nav_bar = array(
+  'thumb_title' => 'zurück zur Thumbnail-Seite',
+  'pic_info_title' => 'Dateiinformationen anzeigen/verbergen',
+  'slideshow_title' => 'Diashow',
+  'ecard_title' => 'Bild als eCard versenden',
+  'ecard_disabled' => 'eCards sind deaktiviert',
+  'ecard_disabled_msg' => 'Du hast nicht das Recht, eCards zu versenden',
+  'prev_title' => 'vorherige Datei anzeigen',
+  'next_title' => 'nächste Datei anzeigen',
+  'pic_pos' => 'Datei %s/%s',
+  'report_title' => 'Diese Datei dem Administrator melden', //cpg1.4
+  'go_album_end' => 'Zum Ende gehen', //cpg1.4
+  'go_album_start' => 'Zum Anfang zurückkehren', //cpg1.4
+  'go_back_x_items' => 'gehe %s Einträge zurück', //cpg1.4
+  'go_forward_x_items' => 'gehe %s Einträge weiter', //cpg1.4
+);
+
+$lang_rate_pic = array(
+  'rate_this_pic' => 'Diese Datei bewerten',
+  'no_votes' => '(noch keine Bewertung)',
+  'rating' => '- derzeitige Bewertung : %s/5 mit %s Stimme(n)',
+  'rubbish' => 'sehr schlecht',
+  'poor' => 'schlecht',
+  'fair' => 'ganz OK',
+  'good' => 'gut',
+  'excellent' => 'sehr gut',
+  'great' => 'super',
+);
+
+// ------------------------------------------------------------------------- //
+// File include/exif.inc.php
+// ------------------------------------------------------------------------- //
+
+// void
+
+// ------------------------------------------------------------------------- //
+// File include/functions.inc.php
+// ------------------------------------------------------------------------- //
+
+$lang_cpg_die = array(
+  INFORMATION => $lang_info,
+  ERROR => $lang_error,
+  CRITICAL_ERROR => 'Kritischer Fehler',
+  'file' => 'Datei: ',
+  'line' => 'Zeile: ',
+);
+
+$lang_display_thumbnails = array(
+  'filename' => 'Dateiname : ',
+  'filesize' => 'Dateigröße : ',
+  'dimensions' => 'Abmessungen : ',
+  'date_added' => 'hinzugefügt am : ',
+);
+
+$lang_get_pic_data = array(
+  'n_comments' => '%s Kommentar(e)',
+  'n_views' => '%s x angesehen',
+  'n_votes' => '(%s Bewertungen)',
+);
+
+$lang_cpg_debug_output = array(
+  'debug_info' => 'Debug-Info',
+  'select_all' => 'Alles markieren',
+  'copy_and_paste_instructions' => 'Wenn Du Hilfe im Coppermine-Forum suchen willst, kopiere diese Debug-Ausgabe in Deinen Beitrag im Forum. Ersetze eventuell vorhandene Passwörter in den Queries durch ***.<br />Anmerkung: Diese Ausgabe erfolgt nur zur Information und bedeutet nicht, dass ein Fehler in der Galerie vorliegt.', //cpg1.4
+  'phpinfo' => 'phpinfo anzeigen',
+  'notices' => 'Notices', //cpg1.4
+);
+
+$lang_language_selection = array(
+  'reset_language' => 'Standard-Sprache',
+  'choose_language' => 'Wähle Sprache',
+);
+
+$lang_theme_selection = array(
+  'reset_theme' => 'Standard-Design',
+  'choose_theme' => 'Wähle Design',
+);
+
+$lang_version_alert = array(
+  'version_alert' => 'Nicht unterstützte Version!', //cpg1.4
+  'no_stable_version' => 'Du betreibst Coppermine version  %s (%s), das nur für erfahrene Benutzer gedacht ist - für diese Version gibt es keinen Support oder Funktions-Garantien. Benutze sie auf eigenes Risiko oder downgrade auf die aktuellste stabile Version, wenn Du Support brauchst!', //cpg1.4
+  'gallery_offline' => 'Die Galerie ist zur Zeit im Wartungs-Modus und ist nur für Dich als Admin zugänglich. Vergiss nicht, sie wieder aus dem Wartungs-Modus in den "normalen" Modus zurück zu schalten, wenn Deine Wartungsarbeiten beendet sind.', //cpg1.4
+);
+
+$lang_create_tabs = array(
+  'previous' => 'vorherige', //cpg1.4
+  'next' => 'nächste', //cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File include/init.inc.php
+// ------------------------------------------------------------------------- //
+
+// void
+
+// ------------------------------------------------------------------------- //
+// File keyword.inc.php                                                      //
+// ------------------------------------------------------------------------- //
+
+// void
+
+// ------------------------------------------------------------------------- //
+// File include/picmgmt.inc.php
+// ------------------------------------------------------------------------- //
+
+// void
+
+// ------------------------------------------------------------------------- //
+// File include/plugin_api.inc.php
+// ------------------------------------------------------------------------- //
+$lang_plugin_api = array(
+  'error_wakeup' => "Konnte das Plugin '%s' nicht aktivieren", //cpg1.4
+  'error_install' => "Konnte das Plugin '%s' nicht installieren", //cpg1.4
+  'error_uninstall' => "Konnte das Plugin '%s' nicht de-installieren", //cpg1.4
+  'error_sleep' => "Konnte das Plugin '%s' nicht de-aktivieren.<br />", //cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File include/smilies.inc.php
+// ------------------------------------------------------------------------- //
+
+if (defined('SMILIES_PHP')) $lang_smilies_inc_php = array(
+  'Exclamation' => 'Ausruf',
+  'Question' => 'Frage',
+  'Very Happy' => 'sehr glücklich',
+  'Smile' => 'lachen',
+  'Sad' => 'traurig',
+  'Surprised' => 'überrascht',
+  'Shocked' => 'schockiert',
+  'Confused' => 'verwirrt',
+  'Cool' => 'cool',
+  'Laughing' => 'lachend',
+  'Mad' => 'wütend',
+  'Razz' => 'scheu',
+  'Embarassed' => 'schüchtern',
+  'Crying or Very sad' => 'traurig',
+  'Evil or Very Mad' => 'böse',
+  'Twisted Evil' => 'verschlagen',
+  'Rolling Eyes' => 'na ja',
+  'Wink' => 'zwinker',
+  'Idea' => 'Idee',
+  'Arrow' => 'Pfeil',
+  'Neutral' => 'neutral',
+  'Mr. Green' => 'Mr. Green',
+);
+
+// ------------------------------------------------------------------------- //
+// File addpic.php
+// ------------------------------------------------------------------------- //
+
+// void
+
+// ------------------------------------------------------------------------- //
+// File mode.php //cpg1.4
+// ------------------------------------------------------------------------- //
+
+if (defined('MODE_PHP')) $lang_mode_php = array(
+  0 => 'Beende Admin-Modus...',
+  1 => 'Starte Admin-Modus...',
+);
+
+// ------------------------------------------------------------------------- //
+// File albmgr.php
+// ------------------------------------------------------------------------- //
+
+if (defined('ALBMGR_PHP')) $lang_albmgr_php = array(
+  'alb_need_name' => 'Alben müssen einen Namen haben!', //js-alert
+  'confirm_modifs' => 'Bist Du sicher, dass Du diese Änderungen durchführen willst?', //js-alert
+  'no_change' => 'Du hast nichts verändert!', //js-alert
+  'new_album' => 'neues Album',
+  'confirm_delete1' => 'Willst Du dieses Album wirklich löschen?', //js-alert
+  'confirm_delete2' => '\nAlle Dateien und Kommentare, die darin enthalten sind, werden gelöscht!', //js-alert
+  'select_first' => 'Wähle zuerst ein Album', //js-alert
+  'alb_mrg' => 'Alben-Manager',
+  'my_gallery' => '* meine Galerie *',
+  'no_category' => '* keine Kategorie *',
+  'delete' => 'löschen',
+  'new' => 'neu',
+  'apply_modifs' => 'Änderungen übernehmen',
+  'select_category' => 'wähle Kategorie',
+);
+
+// ------------------------------------------------------------------------- //
+// File banning.php
+// ------------------------------------------------------------------------- //
+
+if (defined('BANNING_PHP')) $lang_banning_php = array(
+  'title' => 'Benutzer verbannen', //cpg1.4
+  'user_name' => 'Benutzername', //cpg1.4
+  'ip_address' => 'IP-Adresse', //cpg1.4
+  'expiry' => 'läuft ab am (leer bedeutet permanent)', //cpg1.4
+  'edit_ban' => 'Änderungen speichern', //cpg1.4
+  'delete_ban' => 'Löschen', //cpg1.4
+  'add_new' => 'Neuen Bann hinzufügen', //cpg1.4
+  'add_ban' => 'Hinzufügen', //cpg1.4
+  'error_user' => 'Kann angegebenen Benutzer nicht finden', //cpg1.4
+  'error_specify' => 'Du musst entweder einen Benutzer oder eine IP-Adresse angeben', //cpg1.4
+  'error_ban_id' => 'Ungültige Verbannungs-ID!', //cpg1.4
+  'error_admin_ban' => 'Du kannst DIch nicht selbst verbannen!', //cpg1.4
+  'error_server_ban' => 'Du wolltest Deinen eigenen Server verbannen? Ts ts, das kann ich nicht zulassen...', //cpg1.4
+  'error_ip_forbidden' => 'Du kannst diese IP-Adresse nicht verbannen - sie ist sowieso nicht route-bar (private)!<br />Wenn Du Verbannungen für private IP-Adressen erlauben möchtest, dann erlaube das in Deinen <a href="admin.php">Einstellungen</a> (macht nur Sinn, wenn Coppermine in einem LAN läuft).', //cpg1.4
+  'lookup_ip' => 'IP-Adresse nachschlagen', //cpg1.4
+  'submit' => 'los!', //cpg1.4
+  'select_date' => 'Wähle Datum', //cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File bridgemgr.php //cpg1.4
+// ------------------------------------------------------------------------- //
+
+if (defined('BRIDGEMGR_PHP')) $lang_bridgemgr_php = array(
+  'title' => 'Bridge-Assistent',
+  'warning' => 'Warnung: bevor Du diesen Assitenten benutzt muss Dir klar sein, dass Sicherheits-relevante Daten über HTML-Formulare versendet werden. Führe den Assitenten nur auf Deinem eigenen PC aus (nicht auf einem öffentlichen Rechner wie beispielsweise in einem Internet-Café), und lösche danach auf jeden Fall Deinen Browser-Cahce und Deine temporären Internet-Dateien, sonst haben andere vielleicht Zugriff zu diesen Daten!',
+  'back' => 'zurück',
+  'next' => 'weiter',
+  'start_wizard' => 'Starte den Bridge-Assistenten',
+  'finish' => 'Fertigstellen',
+  'hide_unused_fields' => 'unbenutze Formular-Felder verbergen (empfohlen)',
+  'clear_unused_db_fields' => 'ungültige Datenbank-Einträge löschen (empfohlen)',
+  'custom_bridge_file' => 'der Name Deiner benutzerdefinierten Bridge-Datei (Wenn der Dateiname  <i>meinedatei.inc.php</i> lautet, dann gib <i>meinedatei</i> in diesem Feld ein)',
+  'no_action_needed' => 'Kein Aktion notwenig in diesem Schritt. Klicke auf &quot;weiter&quot;, um fortzufahren.',
+  'reset_to_default' => 'Auf Standard-Wert zurücksetzen',
+  'choose_bbs_app' => 'Wähle eine Anwendung, mit der Du &quot;bridgen&quot; willst',
+  'support_url' => 'Für Support zu dieser Anwendung klicke hier',
+  'settings_path' => 'Pfad(e) Deiner Forums-Anwendung',
+  'database_connection' => 'Datenbank-Verbindung',
+  'database_tables' => 'Tabellen in der Datenbank',
+  'bbs_groups' => 'Forums-Gruppen',
+  'license_number' => 'Lizenz-Nummer',
+  'license_number_explanation' => 'Gib Deine Lizenz-Nummer ein (falls zutreffend)',
+  'db_database_name' => 'Datenbank-Name',
+  'db_database_name_explanation' => 'Gib den Namen der Datenbank ein, die Dein Forum benutzt',
+  'db_hostname' => 'Datenbank-Hostname',
+  'db_hostname_explanation' => 'Hostname Deiner mySQL-Datenbank, meistens &quot;localhost&quot;',
+  'db_username' => 'Datenbank-Benutzername',
+  'db_username_explanation' => 'mySQL Benutzer-Konto für die Verbindung mit Deinem Forum',
+  'db_password' => 'Datenbank-Passwort',
+  'db_password_explanation' => 'Passwort für Die mySQL-Datenbank Deines Forums',
+  'full_forum_url' => 'Forums-URL',
+  'full_forum_url_explanation' => 'Vollständige Internet-Adresse Deines Forums (einschließlich http:// , z.B. http://www.yourdomain.tld/forum)',
+  'relative_path_of_forum_from_webroot' => 'Relativer Pfad zum Forum',
+  'relative_path_of_forum_from_webroot_explanation' => 'Relativer Pfad zu Deinem Forum vom Wurzelverzeichnis (webroot) aus gesehen (Beispiel: wenn Dein Forum unter http://www.meineseite.tld/forum/ ist, dann gib hier &quot;/forum/&quot; in das Feld ein)',
+  'relative_path_to_config_file' => 'Relativer Pfad zur Konfigurations-Datei Deines Forums',
+  'relative_path_to_config_file_explanation' => 'Relativer Pfad zu Deinem Forum, von Deinem Coppermine-Verzeichnis aus gesehen (z.B. &quot;../forum/&quot; wenn Dein Forum unter http://www.deineseite.tld/forum/ ist und Coppermine unter http://www.deineseite.tld/gallery/)',
+  'cookie_prefix' => 'Cookie-Vorsilbe',
+  'cookie_prefix_explanation' => 'Der Cookie-Name Deines Forums',
+  'table_prefix' => 'Tabellen-Vorsilbe',
+  'table_prefix_explanation' => 'Die Vorsible (Präfix) der Tabellen Deines Forums, die Du bei der Einrichtung Deines Forums festgelegt hast.',
+  'user_table' => 'Benutzer-Tabelle',
+  'user_table_explanation' => '(normalerweise sind die vorgeschlagenen Standard-Werte OK, wenn Du keine Sondereinstellungen in Deinem Forum vorgenommen hast)',
+  'session_table' => 'Session-Tabelle',
+  'session_table_explanation' => '(normalerweise sind die vorgeschlagenen Standard-Werte OK, wenn Du keine Sondereinstellungen in Deinem Forum vorgenommen hast)',
+  'group_table' => 'Gruppen-Tabelle',
+  'group_table_explanation' => '(normalerweise sind die vorgeschlagenen Standard-Werte OK, wenn Du keine Sondereinstellungen in Deinem Forum vorgenommen hast)',
+  'group_relation_table' => 'Gruppen-Relations-Tabelle',
+  'group_relation_table_explanation' => '(normalerweise sind die vorgeschlagenen Standard-Werte OK, wenn Du keine Sondereinstellungen in Deinem Forum vorgenommen hast)',
+  'group_mapping_table' => 'Gruppen-Verknüpfungs-Tabelle',
+  'group_mapping_table_explanation' => '(normalerweise sind die vorgeschlagenen Standard-Werte OK, wenn Du keine Sondereinstellungen in Deinem Forum vorgenommen hast)',
+  'use_standard_groups' => 'Standard-Forums-Gruppen benutzen',
+  'use_standard_groups_explanation' => 'Eingebaute Standard-Benutzergruppen Deines Forums benutzen (empfohlen). Diese Option setzt alle benutzerdefinierten Gruppen-Einstellungen auf dieser Seite ausser Kraft. Schalte diese Option nur ab, wenn Du WIRKLICH weisst, was Du tust!',
+  'validating_group' => 'Bestätigungs-Gruppe',
+  'validating_group_explanation' => 'Die ID der Gruppe Deines Forums für Benutzer, deren Konto noch überprüft werden muss (normalerweise sind die vorgeschlagenen Standard-Werte OK, wenn Du keine Sondereinstellungen in Deinem Forum vorgenommen hast)',
+  'guest_group' => 'Gäste-Gruppe',
+  'guest_group_explanation' => 'Die ID der Gruppe Deines Forums für Gäste / anonyme Benutzer (normalerweise sind die vorgeschlagenen Standard-Werte OK, wenn Du keine Sondereinstellungen in Deinem Forum vorgenommen hast)',
+  'member_group' => 'Mitglieder-Gruppe',
+  'member_group_explanation' => 'Die ID der Gruppe Deines Forums für normale (reguläre) Benutzer (normalerweise sind die vorgeschlagenen Standard-Werte OK, ändere den Wert nur, wenn Du wirklich weisst, was Du tust)',
+  'admin_group' => 'Admin-Gruppe',
+  'admin_group_explanation' => 'Die ID der Gruppe Deines Forums für Admins (normalerweise sind die vorgeschlagenen Standard-Werte OK, ändere den Wert nur, wenn Du wirklich weisst, was Du tust)',
+  'banned_group' => 'Gebannte Gruppe',
+  'banned_group_explanation' => 'Die ID der Gruppe Deines Forums für verbannte Benutzer (normalerweise sind die vorgeschlagenen Standard-Werte OK, ändere den Wert nur, wenn Du wirklich weisst, was Du tust)',
+  'global_moderators_group' => 'Globale Moderatoren Gruppe',
+  'global_moderators_group_explanation' => 'Die ID der Gruppe Deines Forums für globale Moderatoren (normalerweise sind die vorgeschlagenen Standard-Werte OK, ändere den Wert nur, wenn Du wirklich weisst, was Du tust)',
+  'special_settings' => 'Forums-spezifische Einstellungen',
+  'logout_flag' => 'phpBB Version (logout flag)',
+  'logout_flag_explanation' => 'Welche Versions-Nummer hat Deine Forums-Software (diese Einstellung bestimmt, wie Logouts gehandhabt werden)',
+  'use_post_based_groups' => 'Beitrags-basierte Gruppen verwenden?',
+  'logout_flag_yes' => '2.0.5 oder besser',
+  'logout_flag_no' => '2.0.4 oder schlechter',
+  'use_post_based_groups_explanation' => 'Sollen die Beitrags-basierten Benutzergruppen berücksichtigt werden (ermöglicht eine feinere Rechte-Vergabe) oder nur die Standard-Gruppen (einfachere Administration, empfohlen). Du kannst diese Einstellung auch noch später ändern.',
+  'use_post_based_groups_yes' => 'ja',
+  'use_post_based_groups_no' => 'nein',
+  'error_title' => 'Du musst die aufgetretenen Fehler erst korrigieren. Gehe zum vorherigen Schritt.',
+  'error_specify_bbs' => 'Du musst angeben, welche Anwendung Du mit Coppermine &quot;bridgen&quot; willst.',
+  'error_no_blank_name' => 'Der Name der benutzerdefinierten Bride-Datei darf nicht leer bleiben.',
+  'error_no_special_chars' => 'Der Name der Bridge-Datei darf keine Sonderzeichen enthalten ausser Untertrich (_) und Bindestrich (-)!',
+  'error_bridge_file_not_exist' => 'Die Bridge-datei %s existiert nicht auf dem Server. Überprüfe die Schreibweise und ob Du sie tatsächlich hochgeladen hast.',
+  'finalize' => 'Forums-Integration aktivieren/deaktivieren',
+  'finalize_explanation' => 'Bisher wurden Deine Einstellungen in die Datenbank geschrieben, aber die Forums-Integration (Bridging) wurde noch nicht aktiviert. Du kannst die Integration jederzeit später an- oder abschalten. Merke Dir auf jeden Fall den Benutzernamen und das Passwort Deines Admin-Kontos (Coppermine ohne Bridging), da Du es später evtl. brauchst, um die Einstellungen zu ändern. Wenn etwas schief läuft, gehe zu %s und deaktiviere das Bridging dort (verwende dazu Dein Coppermine-Admin-Konto, das Du beim Installieren von Coppermine benutzt hast).',
+  'your_bridge_settings' => 'Deine Bridge-Einstellungen',
+  'title_enable' => 'Aktiviere/De-Aktiviere Integration/Bridging mit %s',
+  'bridge_enable_yes' => 'aktivieren',
+  'bridge_enable_no' => 'de-aktivieren',
+  'error_must_not_be_empty' => 'darf nicht leer sein',
+  'error_either_be' => 'muss entweder %s oder %s sein',
+  'error_folder_not_exist' => '%s existiert nicht. Korrigiere den Wert, den Du für %s eingegeben hast',
+  'error_cookie_not_readible' => 'Coppermine kann den Cookie namens %s nicht lesen. Korrigiere den Wert, den Du für %s eingegeben hast, oder gehe zum Administrationsbereich Deines Forums und stelle dort sicher, dass der Cookie für Coppermine lesbar ist.',
+  'error_mandatory_field_empty' => 'Das Feld %s darf nicht leer bleiben - gib den entsprechenden Wert ein.',
+  'error_no_trailing_slash' => 'Im Feld %s darf kein abschließender Schrägstrich (Slash) vorhanden sein.',
+  'error_trailing_slash' => 'Im Feld %s muss ein abschließender Schrägstrich (Slash) vorhanden sein.',
+  'error_db_connect' => 'Konnte mit den eingegebenen Daten keine mySQL-Verbindung aufbauen. Hier ist die mySQL-Fehlermeldung:',
+  'error_db_name' => 'Obwohl Coppermine eine Verbindung aufbauen konnte, wurde die datenbank %s nicht gefunden. Überprüfe Deine Einstellungen für %s. Hier ist die mySQL-Fehlermeldung:',
+  'error_prefix_and_table' => '%s und ',
+  'error_db_table' => 'Konnte die Tabelle %s nicht finden. Überprüfe Deine Einstellungen für %s.',
+  'recovery_title' => 'Bridge-Assistent: Wiederherstellung im Notfall',
+  'recovery_explanation' => 'Du musst Dich erst anmelden, falls Du hierher gekommen bist, um die Forums-Integration Deiner Coppermine-Galerie zu administrieren. Falls Du Dich nicht anmelden kannst, weil die Integration nicht wie erwartet funktioniert, dann kannst Du mit Hilfe dieser Seite die Integration (Bridging) deaktivieren. Die Eingabe von Benutzername und Passwort hier auf der Seite wird Dich nicht anmelden, sondern die Integration deaktivieren. Details dazu gibt es in der Doku.',
+  'username' => 'Benutzername',
+  'password' => 'Passwort',
+  'disable_submit' => 'los!',
+  'recovery_success_title' => 'Authorisierung erfolgreich',
+  'recovery_success_content' => 'Du hast die Forums-Integration erfolgreich deaktiviert. Deine Coppermine-Galerie läuft jetzt im &quot;Standalone-Modus&quot; (ohne Integration/Bridging).',
+  'recovery_success_advice_login' => 'Melde Dich als Admin an, um Deine Bridge-Einstellungen zu bearbeiten und/oder die Forums-Integration wieder zu aktivieren.',
+  'goto_login' => 'Gehe zur Anmeldung',
+  'goto_bridgemgr' => 'Gehe zum Bridge-Assistent',
+  'recovery_failure_title' => 'Authorisierung fehlgeschlagen',
+  'recovery_failure_content' => 'Du hast fehlerhafte Zugangsdaten eingegeben. Du musst die Zugangdaten des Admin-Kontos der &quot;Standalone-Version&quot; benutzen (normalerweise des Admin-Konto, das Du bei der Installation von Coppermine angelegt hast).',
+  'try_again' => 'versuche es nochmal',
+  'recovery_wait_title' => 'Wartezeit noch nicht um',
+  'recovery_wait_content' => 'Aus Sicherheitsgründen erlaubt das Skript keine fehlgeschlagenen Anmeldeversuche in kurzer Reihenfolge - deshalb musst Du ein bißchen warten, bevor Du wieder einen Anmelde-Versuch unternehmen darfst.',
+  'wait' => 'warte',
+  'create_redir_file' => 'Umleitungs-Datei anlegen (empfohlen)',
+  'create_redir_file_explanation' => 'Um Benutzer nach der Anmeldung im Forum wieder zu Coppermine umzuleiten brauchst Du eine Umleitungs-Datei in Deinem Forums-Verzeichnis. Wenn diese Option aktiviert ist wird der Bridge-Assistent versuchen, diese datei für Dich anzulegen, oder Dir den Code für das manuelle Anlegen der Datei per markieren und kopieren zu erzeugen.',
+  'browse' => 'durchsuchen',
+);
+
+// ------------------------------------------------------------------------- //
+// File calendar.php //cpg1.4
+// ------------------------------------------------------------------------- //
+
+if (defined('CALENDAR_PHP')) $lang_calendar_php = array(
+  'title' => 'Kalender', //cpg1.4
+  'close' => 'schliessen', //cpg1.4
+  'clear_date' => 'Datum löschen', //cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File catmgr.php
+// ------------------------------------------------------------------------- //
+
+if (defined('CATMGR_PHP')) $lang_catmgr_php = array(
+  'miss_param' => 'Fehlender Parameter für die Operation \'%s\'',
+  'unknown_cat' => 'Gewählte Kategorie existiert nicht in Datenbank',
+  'usergal_cat_ro' => 'Benutzer-Galerie kann nicht gelöscht werden!',
+  'manage_cat' => 'Kategorien verwalten',
+  'confirm_delete' => 'Willst Du diese Kategorie wirklich LÖSCHEN', //js-alert
+  'category' => 'Kategorie',
+  'operations' => 'Operationen',
+  'move_into' => 'verschieben in',
+  'update_create' => 'Kategorie erzeugen/ändern',
+  'parent_cat' => 'Eltern-Kategorie',
+  'cat_title' => 'Titel der Kategorie',
+  'cat_thumb' => 'Kategorie-Thumbnail',
+  'cat_desc' => 'Kategorie-Beschreibung',
+  'categories_alpha_sort' => 'Kategorien alphabetisch sortieren (anstatt benutzerdefinierter Sortierreihenfolge)', //cpg1.4
+  'save_cfg' => 'Einstellungen speichern', //cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File admin.php //cpg1.4
+// ------------------------------------------------------------------------- //
+
+if (defined('ADMIN_PHP')) $lang_admin_php = array(
+  'title' => 'Galerie-Einstellungen', //cpg1.4
+  'manage_exif' => 'Exif-Einstellungen verwalten', //cpg1.4
+  'manage_plugins' => 'Plugins verwalten', //cpg1.4
+  'manage_keyword' => 'Stichworte verwalten', //cpg1.4
+  'restore_cfg' => 'auf Werkseinstellungen zurücksetzen',
+  'save_cfg' => 'Neue Einstellungen speichern',
+  'notes' => 'Anmerkungen',
+  'info' => 'Information',
+  'upd_success' => 'Die Einstellungen von Coppermine wurden aktualisiert',
+  'restore_success' => 'Coppermine Standard-Einstellungen wiederhergestellt',
+  'name_a' => 'aufsteigend nach Name',
+  'name_d' => 'absteigend nach Name',
+  'title_a' => 'aufsteigend nach Titel',
+  'title_d' => 'absteigend nach Titel',
+  'date_a' => 'aufsteigend nach Datum',
+  'date_d' => 'absteigend nach Datum',
+  'pos_a' => 'aufsteigend nach Position', //cpg1.4
+  'pos_d' => 'absteigend nach Position', //cpg1.4
+  'th_any' => 'Maximalwert (entweder Höhe oder Breite)',
+  'th_ht' => 'Höhe',
+  'th_wd' => 'Breite',
+  'label' => 'Beschriftung',
+  'item' => 'Eintrag',
+  'debug_everyone' => 'alle',
+  'debug_admin' => 'nur Admin',
+  'no_logs'=> 'Aus', //cpg1.4
+  'log_normal'=> 'Normal', //cpg1.4
+  'log_all' => 'Alle', //cpg1.4
+  'view_logs' => 'Historie anzeigen', //cpg1.4
+  'click_expand' => 'Klicke auf die jeweilige Bezeichnung zum Ausklappen des Abschnitts', //cpg1.4
+  'expand_all' => 'Alle ausklappen', //cpg1.4
+  'notice1' => '(*) Diese Einstellungen dürfen nicht mehr verändert werden, wenn bereits Dateien in der Datenbank vorhanden sind.', //cpg1.4 - (relocated)
+  'notice2' => '(**) Bei Änderung dieser Einstellung werden die geänderten Werte nur für Dateien herangezogen, die ab dem Zeitpunkt der Änderung hinzugefügt werden - daher ist es ratsam, hier nichts zu ändern, wenn bereits Bilder in der Galerie vorhanden sind. Die geänderten Einstellungen können jedoch auch auf ältere Dateien angewendet werden durch Verwendung der &quot;<a href="util.php">Admin-Werkzeuge</a> (Thumbnails und/oder Bilder in Zwischengrösse aktualisieren)&quot; aus dem Admin-Menü.', //cpg1.4 - (relocated)
+  'notice3' => '(***) Alle Logs werden in Englisch geschrieben.', //cpg1.4 - (relocated)
+  'bbs_disabled' => 'Funktion deaktiviert bei der Verwendung des Bridging', //cpg1.4
+  'auto_resize_everyone' => 'Alle (Benutzer+Admin)', //cpg1.4
+  'auto_resize_user' => 'Nur Benutzer', //cpg1.4
+  'ascending' => 'aufsteigend', //cpg1.4
+  'descending' => 'absteigend', //cpg1.4
+);
+
+if (defined('ADMIN_PHP')) $lang_admin_data = array(
+  'Allgemeine Einstellungen',
+  array('Galerie-Name', 'gallery_name', 0, 'f=index.htm&amp;as=admin_general_name&amp;ae=admin_general_name_end'), //cpg1.4
+  array('Galerie-Beschreibung', 'gallery_description', 0, 'f=index.htm&amp;as=admin_general_description&amp;ae=admin_general_description_end'), //cpg1.4
+  array('Galerie-Admin eMail', 'gallery_admin_email', 0, 'f=index.htm&amp;as=admin_general_email&amp;ae=admin_general_email_end'), //cpg1.4
+  array('URL Deines Coppermine-Galerie Verzeichnisses (no \'index.php\' or similar at the end)', 'ecards_more_pic_target', 0, 'f=index.htm&amp;as=admin_general_coppermine-url&amp;ae=admin_general_coppermine-url_end'), //cpg1.4
+  array('URL Deiner Homepage', 'home_target', 0, 'f=index.htm&amp;as=admin_general_home-url&amp;ae=admin_general_home-url_end'), //cpg1.4
+  array('ZIP-Download der Favoriten erlauben', 'enable_zipdownload', 1, 'f=index.htm&amp;as=admin_general_zip-download&amp;ae=admin_general_zip-download_end'), //cpg1.4
+  array('Zeitzonen-Differenz relative zur MEZ (aktuelle Zeit: ' . localised_date(-1, $comment_date_fmt) . ')','time_offset',0, 'f=index.htm&amp;as=admin_general_time-offset&amp;ae=admin_general_time-offset_end&amp;top=1'), //cpg1.4
+  array('Verschlüsselte Passwörter aktivieren (kann nicht rückgängig gemacht werden)','enable_encrypted_passwords',1, 'f=index.htm&amp;as=admin_general_encrypt_password_start&amp;ae=admin_general_encrypt_password_end&amp;top=1'), // cpg 1.4
+  array('Hilfe-Icons aktivieren (Hilfe nur in Englisch verfügbar)','enable_help',9, 'f=index.htm&amp;as=admin_general_help&amp;ae=admin_general_help_end'), //cpg1.4
+  array('Anklickbare Stichwörter in Suche aktivieren','clickable_keyword_search',14, 'f=index.htm&amp;as=admin_general_keywords_start&amp;ae=admin_general_keywords_end'), //cpg1.4
+  array('Plugins aktivieren', 'enable_plugins', 12, 'f=index.htm&amp;as=admin_general_enable-plugins&amp;ae=admin_general_enable-plugins_end'),  //cpg1.4
+  array('Verbannung von nicht-routebaren IP-Adressen aktivieren', 'ban_private_ip', 1,  'f=index.htm&amp;as=admin_general_private-ip&amp;ae=admin_general_private-ip_end'), //cpg1.4
+  array('Baumstruktur für Batch-hinzufügen aktivieren', 'browse_batch_add', 1, 'f=index.htm&amp;as=admin_general_browsable_batch_add&amp;ae=admin_general_browsable_batch_add_end'), //cpg1.4
+
+  'Sprach- &amp; Zeichensatz-Einstellungen',
+  array('Sprache', 'lang', 5, 'f=index.htm&amp;as=admin_language_language&amp;ae=admin_language_language_end'), //cpg1.4
+  array('Auf Englisch zurückgreifen, wenn Deutsche Übersetzung nicht verfügbar?', 'language_fallback', 1, 'f=index.htm&amp;as=admin_language_fallback&amp;ae=admin_language_fallback_end'), //cpg1.4
+  array('Zeichensatz', 'charset', 4, 'f=index.htm&amp;as=admin_language_charset&amp;ae=admin_language_charset_end'), //cpg1.4
+  array('Sprachauswahl-Liste anzeigen', 'language_list', 1, 'f=index.htm&amp;as=admin_language_list&amp;ae=admin_language_list_end'), //cpg1.4
+  array('Sprachauswahl-Flaggen anzeigen', 'language_flags', 8, 'f=index.htm&amp;as=admin_language_flags&amp;ae=admin_language_flags_end&amp;top=1'), //cpg1.4
+  array('&quot;Standard&quot; in Sprachauswahl anzeigen', 'language_reset', 1, 'f=index.htm&amp;as=admin_language_reset&amp;ae=admin_language_reset_end&amp;top=1'), //cpg1.4
+  //array('zurück/vorwärts in Tabs anzeigen', 'previous_next_tab', 1), //cpg1.4
+
+  'Design-Einstellungen',
+  array('Design', 'theme', 6, 'f=index.htm&amp;as=admin_theme_theme&amp;ae=admin_theme_theme_end'), //cpg1.4
+  array('Designauswahl-Liste anzeigen', 'theme_list', 1, 'f=index.htm&amp;as=admin_theme_theme_list&amp;ae=admin_theme_theme_list_end'), //cpg1.4
+  array('&quot;Standard&quot; in Designauswahl-Liste anzeigen', 'theme_reset', 1, 'f=index.htm&amp;as=admin_theme_theme_reset&amp;ae=admin_theme_theme_reset_end'), //cpg1.4
+  array('FAQ anzeigen', 'display_faq', 1, 'f=index.htm&amp;as=admin_theme_faq&amp;ae=admin_theme_faq_end'), //cpg1.4
+  array('Name eines benutzerdefinierten Menü-Eintrags', 'custom_lnk_name', 0,'f=index.htm&amp;as=admin_theme_custom_lnk_name&amp;ae=admin_theme_custom_lnk_name_end'), //cpg1.4
+  array('URL eines benutzerdefinierten Menü-Eintrags', 'custom_lnk_url', 0,'f=index.htm&amp;as=admin_language_custom_lnk_url&amp;ae=admin_language_custom_lnk_url_end'), //cpg1.4
+  array('bbcode-Hilfe anzeigen', 'show_bbcode_help', 1, 'f=index.htm&amp;as=admin_theme_bbcode&amp;ae=admin_theme_bbcode_end&amp;top=1'), //cpg1.4
+  array('Vanity Block in Designs anzeigen, die als XHTML und CSS konform definiert sind?','vanity_block',1, 'f=index.htm&amp;as=vanity_block&amp;ae=vanity_block_end'), //cpg1.4
+  array('Pfad zu benutzerdefiniertem header-include', 'custom_header_path', 0, 'f=index.htm&amp;as=admin_theme_include_path_start&amp;ae=admin_theme_include_path_end'), //cpg1.4
+  array('Pfad zu benutzerdefiniertem footer-include', 'custom_footer_path', 0, 'f=index.htm&amp;as=admin_theme_include_path_start&amp;ae=admin_theme_include_path_end'), //cpg1.4
+
+  'Ansicht Albenliste',
+  array('Breite der Haupttabelle (in Pixel oder %)', 'main_table_width', 0, 'f=index.htm&amp;as=admin_album_table-width&amp;ae=admin_album_table-width_end'), //cpg1.4
+  array('Anzahl angezeigter Kategorie-Ebenen', 'subcat_level', 0, 'f=index.htm&amp;as=admin_album_category-levels&amp;ae=admin_album_category-levels_end'), //cpg1.4
+  array('Anzahl angezeigter Alben', 'albums_per_page', 0, 'f=index.htm&amp;as=admin_album_number&amp;ae=admin_album_number_end'), //cpg1.4
+  array('Anzahl Spalten in Album-Liste', 'album_list_cols', 0, 'f=index.htm&amp;as=admin_album_columns&amp;ae=admin_album_columns_end'), //cpg1.4
+  array('Thumbnail-Größe in Pixeln', 'alb_list_thumb_size', 0, 'f=index.htm&amp;as=admin_album_thumbnail-size&amp;ae=admin_album_thumbnail-size_end'), //cpg1.4
+  array('Inhalt der Hauptseite', 'main_page_layout', 0, 'f=index.htm&amp;as=admin_album_list_content&amp;ae=admin_album_list_content_end'), //cpg1.4
+  array('Erste Ebene der Thumbnails der Alben auch in Kategorien anzeigen','first_level',1, 'f=index.htm&amp;as=admin_album_first-level_thumbs&amp;ae=admin_album_first-level_thumbs_end'), //cpg1.4
+  array('Kategorien alphabetisch sortieren (anstatt benutzerdefinierter Sortierreihenfolge)','categories_alpha_sort',1, 'f=index.htm&amp;as=admin_album_list_alphasort_start&amp;ae=admin_album_list_alphasort_end'), //cpg1.4
+  array('Anzahl der verlinkten Dateien anzeigen','link_pic_count',1, 'f=index.htm&amp;as=admin_album_linked_files_start&amp;ae=admin_album_linked_files_end'), //cpg1.4
+
+  'Ansicht Thumbnail',
+  array('Spaltenzahl auf Thumbnail-Seite', 'thumbcols', 0, 'f=index.htm&amp;as=admin_thumbnail_columns&amp;ae=admin_thumbnail_columns_end'), //cpg1.4
+  array('Zeilenzahl auf Thumbnail-Seite', 'thumbrows', 0, 'f=index.htm&amp;as=admin_thumbnail_rows&amp;ae=admin_thumbnail_rows_end'), //cpg1.4
+  array('Anzahl maximal angezeigter Tabs', 'max_tabs', 10, 'f=index.htm&amp;as=admin_thumbnail_tabs&amp;ae=admin_thumbnail_tabs_end'), //cpg1.4
+  array('Datei-Beschriftung anzeigen (zusätzlich zum Datei-Titel) unterhalb der Thumbnails', 'caption_in_thumbview', 1, 'f=index.htm&amp;as=admin_thumbnail_display_caption&amp;ae=admin_thumbnail_display_caption_end'), //cpg1.4
+  array('Anzahl der Treffer unterhalb des Thumbnails anzeigen', 'views_in_thumbview', 1, 'f=index.htm&amp;as=admin_thumbnail_display_views&amp;ae=admin_thumbnail_display_views_end'), //cpg1.4
+  array('Anzahl der Kommentare unterhalb des Thumbnails anzeigen', 'display_comment_count', 1, 'f=index.htm&amp;as=admin_thumbnail_display_comments&amp;ae=admin_thumbnail_display_comments_end'), //cpg1.4
+  array('Name des Uploaders unterhalb des Thumbnails anzeigen', 'display_uploader', 1, 'f=index.htm&amp;as=admin_thumbnail_display_uploader&amp;ae=admin_thumbnail_display_uploader_end'), //cpg1.4
+  //array('Name von administrativen Uploadern unterhalb des Thumbnails anzeigen', 'display_admin_uploader', 1, 'f=index.htm&amp;as=admin_thumbnail_display_admin_uploader&amp;ae=admin_thumbnail_display_admin_uploader_end'), //cpg1.4
+  array('Dateiname unterhalb des Thumbnails anzeigen', 'display_filename', 1, 'f=index.htm&amp;as=admin_thumbnail_display_filename&amp;ae=admin_thumbnail_display_filename_end'), //cpg1.4
+  //array('Alben-Beschreibung anzeigen', 'alb_desc_thumb', 1, 'f=index.htm&amp;as=admin_thumbnail_display_description&amp;ae=admin_thumbnail_display_description_end'), //cpg1.4
+  array('Standard-Sortierung für Dateien', 'default_sort_order', 3, 'f=index.htm&amp;as=admin_thumbnail_default_sortorder&amp;ae=admin_thumbnail_default_sortorder_end'), //cpg1.4
+  array('Mindestmenge Stimmen, die eine Datei benötigt, um in der \'am besten bewertet\'-Liste zu erscheinen', 'min_votes_for_rating', 0, 'f=index.htm&amp;as=admin_thumbnail_minimum_votes&amp;ae=admin_thumbnail_minimum_votes_end'), //cpg1.4
+
+  'Ansicht Bild', //cpg1.4
+  array('Tabellenbreite für Bildanzeige (in Pixel oder %)', 'picture_table_width', 0, 'f=index.htm&amp;as=admin_image_comment_table-width&amp;ae=admin_image_comment_table-width_end'), //cpg1.4
+  array('Datei-Informationen sind standardmäßig sichtbar', 'display_pic_info', 1, 'f=index.htm&amp;as=admin_image_comment_info_visible&amp;ae=admin_image_comment_info_visible_end'), //cpg1.4
+  array('Maximallänge für Dateibeschreibung', 'max_img_desc_length', 0, 'f=index.htm&amp;as=admin_image_comment_descr_length&amp;ae=admin_image_comment_descr_length_end'), //cpg1.4
+  array('Maximale Anzahl von Buchstaben in einem Wort', 'max_com_wlength', 0, 'f=index.htm&amp;as=admin_image_comment_chars_per_word&amp;ae=admin_image_comment_chars_per_word_end'), //cpg1.4
+  array('Film-Streifen anzeigen', 'display_film_strip', 1, 'f=index.htm&amp;as=admin_image_comment_filmstrip_toggle&amp;ae=admin_image_comment_filmstrip_toggle_end'), //cpg1.4
+  array('Dateinamen unter Filmstreifen-Thumbnails anzeigen', 'display_film_strip_filename', 1, 'f=index.htm&amp;as=admin_image_comment_display_film_strip_filename&amp;ae=admin_image_comment_display_film_strip_filename_end'), //cpg1.4
+  array('Anzahl Elemente in Film-Streifen', 'max_film_strip_items', 0, 'f=index.htm&amp;as=admin_image_comment_filmstrip_number&amp;ae=admin_image_comment_filmstrip_number_end'), //cpg1.4
+  array('Diashow-Intervall in Millisekunden (1 Sekunde = 1000 Millisekunden)', 'slideshow_interval', 0, 'f=index.htm&amp;as=admin_image_comment_slideshow_interval&amp;ae=admin_image_comment_slideshow_interval_end'), //cpg1.4
+
+  'Einstellungen Kommentare', //cpg1.4
+  array('Schimpfwörter in Kommentaren zensieren', 'filter_bad_words', 1, 'f=index.htm&amp;as=admin_image_comment_bad_words&amp;ae=admin_image_comment_bad_words_end'), //cpg1.4
+  array('Smilies in Kommentaren erlauben', 'enable_smilies', 1, 'f=index.htm&amp;as=admin_image_comment_smilies&amp;ae=admin_image_comment_smilies_end'), //cpg1.4
+  array('Aufeinanderfolgende Kommentare eines Benutzers zu einer Datei zulassen (Überflutungs-Schutz abschalten)', 'disable_comment_flood_protect', 1, 'f=index.htm&amp;as=admin_image_comment_flood&amp;ae=admin_image_comment_flood_end'), //cpg1.4
+  array('Maximale Zeilenzahl eines Kommentars', 'max_com_lines', 0, 'f=index.htm&amp;as=admin_image_comment_lines&amp;ae=admin_image_comment_lines_end'), //cpg1.4
+  array('Maximale Länge eines Kommentars', 'max_com_size', 0, 'f=index.htm&amp;as=admin_image_comment_length&amp;ae=admin_image_comment_length_end'), //cpg1.4
+  array('Admin über abgegebene Kommentare per eMail benachrichtigen', 'email_comment_notification', 1, 'f=index.htm&amp;as=admin_image_comment_admin_notify&amp;ae=admin_image_comment_admin_notify_end'), //cpg1.4
+  array('Sortierreihenfolge von Kommentaren', 'comments_sort_descending', 17, 'f=index.htm&amp;as=admin_comment_sort_start&amp;ae=admin_comment_sort_end'), //cpg1.4
+  array('Vorsilbe für anonyme Kommentatoren', 'comments_anon_pfx', 0, 'f=index.htm&amp;as=comments_anon_pfx&amp;ae=comments_anon_pfx_end'), //cpg1.4
+
+  'Bild/Datei- und Thumbnail-Einstellungen',
+  array('Qualität für JPEG-Dateien', 'jpeg_qual', 0, 'f=index.htm&amp;as=admin_picture_thumbnail_jpeg_quality&amp;ae=admin_picture_thumbnail_jpeg_quality_end'), //cpg1.4
+  array('Maximalgröße Thumbnail<a href="#notice2" class="clickable_option">**</a>', 'thumb_width', 0, 'f=index.htm&amp;as=admin_picture_thumbnail_max-dimension&amp;ae=admin_picture_thumbnail_max-dimension_end'), //cpg1.4
+  array('Welche Dimension soll genutzt werden für Thumbnails ( Breite oder Höhe oder das, was jeweils größer ist)<a href="#notice1" class="clickable_option">**</a>', 'thumb_use', 7, 'f=index.htm&amp;as=admin_picture_thumbnail_use-dimension&amp;ae=admin_picture_thumbnail_use-dimension_end'), //cpg1.4
+  array('Bilder in Zwischengröße erzeugen','make_intermediate',1, 'f=index.htm&amp;as=admin_picture_thumbnail_intermediate_toggle&amp;ae=admin_picture_thumbnail_intermediate_toggle_end'), //cpg1.4
+  array('Maximale Breite oder Höhe von Bildern/Videos in Zwischengröße <a href="#notice2" class="clickable_option">**</a>', 'picture_width', 0, 'f=index.htm&amp;as=admin_picture_thumbnail_intermediate_dimension&amp;ae=admin_picture_thumbnail_intermediate_dimension_end'), //cpg1.4
+  array('Maximalgröße für das Hochladen von Dateien (kB)', 'max_upl_size', 0, 'f=index.htm&amp;as=admin_picture_thumbnail_max_upload_size&amp;ae=admin_picture_thumbnail_max_upload_size_end'), //cpg1.4
+  array('Maximale Breite oder Höhe für das Hochladen von Bildern/Videos (in Pixel)', 'max_upl_width_height', 0, 'f=index.htm&amp;as=admin_picture_thumbnail_max_upload_dimension&amp;ae=admin_picture_thumbnail_max_upload_dimension_end'), //cpg1.4
+  array('Automatische Verkleinerung von Bildern, die die Maximalgröße überschreiten', 'auto_resize', 16, 'f=index.htm&amp;as=admin_picture_thumbnail_auto-resize&amp;ae=admin_picture_thumbnail_auto-resize_end'), //cpg1.4
+
+  'Erweiterte Bild/Datei- und Thumbnail-Einstellungen',
+  array('Alben können nicht-öffentlich sein (Anmerkung: beim Umschalten von \'ja\' auf \'nein\' werden <i>alle</i> nicht-öffentlichen Alben öffentlich)', 'allow_private_albums', 1, 'f=index.htm&amp;as=admin_picture_thumb_advanced_private_toggle&amp;ae=admin_picture_thumb_advanced_private_toggle_end'), //cpg1.4
+  array('Icons für Persönliche Alben nicht-eingeloggten Benutzern anzeigen?','show_private',1, 'f=index.htm&amp;as=admin_picture_thumb_advanced_private_icon_show&amp;ae=admin_picture_thumb_advanced_private_icon_show_end'), //cpg1.4
+  array('Nicht erlaubte Zeichen in Dateinamen', 'forbiden_fname_char',0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_filename_forbidden_chars&amp;ae=admin_picture_thumb_advanced_filename_forbidden_chars_end'), //cpg1.4
+  //array('erlaubte Datei-Erweiterungen für das Hochladen von Bildern', 'allowed_file_extensions',0, 'f=index.htm&amp;as=&amp;ae=_end'), //cpg1.4
+  array('Zugelassene Bild-Dateitypen', 'allowed_img_types',0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_pic_extensions&amp;ae=admin_picture_thumb_advanced_pic_extensions_end'), //cpg1.4
+  array('Zugelassene Video-Dateitypen', 'allowed_mov_types',0, 'f=index.htm&amp;as=admin_thumbs_advanced_movie&amp;ae=admin_thumbs_advanced_movie_end'), //cpg1.4
+  array('Autostart für Filme', 'media_autostart',1, 'f=index.htm&amp;as=admin_movie_autoplay&amp;ae=admin_movie_autoplay_end'), //cpg1.4
+  array('Zugelassene Audio-Dateitypen', 'allowed_snd_types',0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_audio_extensions&amp;ae=admin_picture_thumb_advanced_audio_extensions_end'), //cpg1.4
+  array('Zugelassene Dokument-Dateitypen', 'allowed_doc_types',0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_doc_extensions&amp;ae=admin_picture_thumb_advanced_doc_extensions_end'), //cpg1.4
+  array('Methode zur Größenänderung von Bildern','thumb_method',2, 'f=index.htm&amp;as=admin_picture_thumb_advanced_resize_method&amp;ae=admin_picture_thumb_advanced_resize_method_end'), //cpg1.4
+  array('Pfad zur \'convert\'-Anwendung von ImageMagick (z.B. /usr/bin/X11/)', 'impath', 0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_im_path&amp;ae=admin_picture_thumb_advanced_im_path_end'), //cpg1.4
+  //array('Erlaubte Datei-Typen (nur gültig für ImageMagick)', 'allowed_img_types',0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_allowed_imagetypes&amp;ae=admin_picture_thumb_advanced_allowed_imagetypes_end'), //cpg1.4
+  array('Kommandozeilen-Parameter für ImageMagick', 'im_options', 0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_im_commandline&amp;ae=admin_picture_thumb_advanced_im_commandline_end'), //cpg1.4
+  array('EXIF-Daten in JPEG-Dateien lesen', 'read_exif_data', 13, 'f=index.htm&amp;as=admin_picture_thumb_advanced_exif&amp;ae=admin_picture_thumb_advanced_exif_end'), //cpg1.4
+  array('IPTC-Daten in JPEG-Dateien lesen', 'read_iptc_data', 1, 'f=index.htm&amp;as=admin_picture_thumb_advanced_iptc&amp;ae=admin_picture_thumb_advanced_iptc_end'), //cpg1.4
+  array('Alben-Verzeichnis <a href="#notice1" class="clickable_option">*</a>', 'fullpath', 0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_albums_dir&amp;ae=admin_picture_thumb_advanced_albums_dir_end'), //cpg1.4
+  array('Verzeichnis für Benutzer-Dateien <a href="#notice1" class="clickable_option">*</a>', 'userpics', 0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_userpics_dir&amp;ae=admin_picture_thumb_advanced_userpics_dir_end'), //cpg1.4
+  array('Vorsilbe für Bilder in Zwischengröße <a href="#notice1" class="clickable_option">*</a>', 'normal_pfx', 0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_intermediate_prefix&amp;ae=admin_picture_thumb_advanced_intermediate_prefix_end'), //cpg1.4
+  array('Vorsilbe für Thumbnails <a href="#notice1" class="clickable_option">*</a>', 'thumb_pfx', 0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_thumbs_prefix&amp;ae=admin_picture_thumb_advanced_thumbs_prefix_end'), //cpg1.4
+  array('Standard-Modus für Verzeichnisse', 'default_dir_mode', 0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_chmod_folder&amp;ae=admin_picture_thumb_advanced_chmod_folder_end'), //cpg1.4
+  array('Standard-Modus für Dateien', 'default_file_mode', 0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_chmod_files&amp;ae=admin_picture_thumb_advanced_chmod_files_end'), //cpg1.4
+
+  'Benutzer-Einstellungen',
+  array('Registrierung von Benutzern zulassen', 'allow_user_registration', 1, 'f=index.htm&amp;as=admin_allow_registration&amp;ae=admin_allow_registration_end'), //cpg1.4
+  array('Nicht-angemeldeten Besuchern (Gäste) Zugriff erlauben', 'allow_unlogged_access', 1, 'f=index.htm&amp;as=admin_allow_unlogged_access&amp;ae=admin_allow_unlogged_access_end'), //cpg1.4
+  array('Registrierung von Benutzern erfordert Überprüfung per eMail', 'reg_requires_valid_email', 1, 'f=index.htm&amp;as=admin_registration_verify&amp;ae=admin_registration_verify_end'), //cpg1.4
+  array('Admin über neu-registrierten Benutzer per eMail benachrichtigen', 'reg_notify_admin_email', 1, 'f=index.htm&amp;as=admin_registration_notify&amp;ae=admin_registration_notify_end'), //cpg1.4
+  array('Admin muss Registrierungen aktivieren', 'admin_activation', 1, 'f=index.htm&amp;as=admin_activation&amp;ae=admin_activation_end'),  //cpg1.4
+  array('Zulassen, dass mehrere Benutzer die gleiche eMail-Adresse haben', 'allow_duplicate_emails_addr', 1, 'f=index.htm&amp;as=admin_allow_duplicate_emails_addr&amp;ae=admin_allow_duplicate_emails_addr_end'), //cpg1.4
+  array('Admin über genehmigungspflichtige Benutzer-Uploads per eMail benachrichtigen', 'upl_notify_admin_email', 1, 'f=index.htm&amp;as=admin_approval_notify&amp;ae=admin_approval_notify_end'), //cpg1.4
+  array('Angemeldeten Benutzern Benutzerliste anzeigen', 'allow_memberlist', 1, 'f=index.htm&amp;as=admin_user_memberlist&amp;ae=admin_user_memberlist_end'), //cpg1.4
+  array('Benutzern erlauben, Ihre eMail-Adresse im Profil zu ändern', 'allow_email_change', 1, 'f=index.htm&amp;as=admin_user_allow_email_change&amp;ae=admin_user_allow_email_change_end'), //cpg1.4
+  array('Benutzern bleiben Eigentümer von Bildern, die sie in öffentliche Alben hochgeladen haben (sie können diese dann ändern, beschriften und löschen', 'users_can_edit_pics', 1, 'f=index.htm&amp;as=admin_user_editpics_public_start&amp;ae=admin_user_editpics_public_end'), //cpg1.4
+  array('Anzahl fehlgeschlagener Anmeldeversuche bis zur zeitweiligen Sperrung (zur Vermeidung von Brute-Force Angriffen)', 'login_threshold', 0, 'f=index.htm&amp;as=admin_user_login_start&amp;ae=admin_user_login_end'), //cpg1.4
+  array('Dauer einer zeitweilligen Sperrung nach fehlgeschlagenen Anmeldungen', 'login_expiry', 0, 'f=index.htm&amp;as=admin_user_login_start&amp;ae=admin_user_login_end'), //cpg1.4
+  array('&quot;Beim Administrator melden&quot; aktivieren', 'report_post', 1, 'f=index.htm&amp;as=admin_user_enable_report&amp;ae=admin_user_enable_report_end'),  //cpg1.4
+
+// custom profile fields,  //cpg1.4
+  'Benutzerdefinierte Felder für Benutzerprofile (leer lassen, falls ungenutzt).
+  Benutze Profilfeld 6 für Langeinträge (wie Biographien).', //cpg1.4
+  array('Bezeichnung Profilfeld 1', 'user_profile1_name', 0, 'f=index.htm&amp;as=admin_custom&amp;ae=admin_custom_end'), //cpg1.4
+  array('Bezeichnung Profilfeld 2', 'user_profile2_name', 0), //cpg1.4
+  array('Bezeichnung Profilfeld 3', 'user_profile3_name', 0), //cpg1.4
+  array('Bezeichnung Profilfeld 4', 'user_profile4_name', 0), //cpg1.4
+  array('Bezeichnung Profilfeld 5', 'user_profile5_name', 0), //cpg1.4
+  array('Bezeichnung Profilfeld 6', 'user_profile6_name', 0), //cpg1.4
+
+  'Benutzerdefinierte Felder für zusätzliche Dateiinformationen (leer lassen, falls nicht benötigt)',
+  array('Bezeichnung Feld 1', 'user_field1_name', 0, 'f=index.htm&amp;as=admin_custom_image&amp;ae=admin_custom_image_end'), //cpg1.4
+  array('Bezeichnung Feld 2', 'user_field2_name', 0),
+  array('Bezeichnung Feld 3', 'user_field3_name', 0),
+  array('Bezeichnung Feld 4', 'user_field4_name', 0),
+
+  'Cookies-Einstellungen',
+  array('Cookie-Name', 'cookie_name', 0, 'f=index.htm&amp;as=admin_cookie_name&amp;ae=admin_cookie_name_end'), //cpg1.4
+  array('Cookie-Pfad', 'cookie_path', 0, 'f=index.htm&amp;as=admin_cookie_path&amp;ae=admin_cookie_path_end'), //cpg1.4
+
+  'Email-Einstellungen  (normalerweise muss hier nichts eingestellt werden; lasse im Zweifelsfall alle Felder leer )', //cpg1.4
+  array('SMTP-Hostname (wenn leer wird sendmail benutzt)', 'smtp_host', 0, 'f=index.htm&amp;as=admin_email&amp;ae=admin_email_end'), //cpg1.4
+  array('SMTP-Benutzername', 'smtp_username', 0), //cpg1.4
+  array('SMTP-Passwort', 'smtp_password', 0), //cpg1.4
+
+  'Logging und Statistiken', //cpg1.4
+  array('Logging-Modus <a href="#notice3" class="clickable_option">***</a>', 'log_mode', 11, 'f=index.htm&amp;as=admin_logging_log_mode&amp;ae=admin_logging_log_mode_end'), //cpg1.4
+  array('eCards aufzeichnen (Logging)<br />(Anmerkung: das Aufzeichnen von Benutzer-Daten kann Datenschutz-rechtliche Konsequenzen haben. Der Benutzer sollte über die Tatsache, dass die eCards gelogged werden, informiert werden und sein Einverständnis gegeben haben, z.B. bei der Registrierung. Details, wie eine Datenschutz-Policy, die den Schutz der Privatsphäre regelt, sollten separat auf der Seite verfügbar sein.)', 'log_ecards', 1, 'f=index.htm&amp;as=admin_general_log_ecards&amp;ae=admin_general_log_ecards_end'), //cpg1.4
+  array('Detailierte Abstimmungs-Statistiken aufzeichnen','vote_details',1, 'f=index.htm&amp;as=admin_logging_votedetails&amp;ae=admin_logging_votedetails_end'), //cpg1.4
+  array('Detailierte Treffer-Statistiken aufzeichnen (Besucherzähler)','hit_details',1, 'f=index.htm&amp;as=admin_logging_hitdetails&amp;ae=admin_logging_hitdetails_end'), //cpg1.4
+
+  'Wartungs-Einstellungen', //cpg1.4
+  array('Debug-Modus ein', 'debug_mode', 9, 'f=index.htm&amp;as=debug_mode&amp;ae=debug_mode_end'), //cpg1.4
+  array('PHP-notices in Debug-Modus anzeigen (empfohlen: aus)', 'debug_notice', 1, 'f=index.htm&amp;as=admin_misc_debug_notices&amp;ae=admin_misc_debug_notices_end'), //cpg1.4
+  array('Galerie ist im Wartungsmodus', 'offline', 1, 'f=index.htm&amp;as=admin_general_offline&amp;ae=admin_general_offline_end'), //cpg1.4
+);
+
+
+// ------------------------------------------------------------------------- //
+// File db_ecard.php
+// ------------------------------------------------------------------------- //
+
+if (defined('DB_ECARD_PHP')) $lang_db_ecard_php = array(
+  'title' => 'Versendete eCards',
+  'ecard_sender' => 'Absender',
+  'ecard_recipient' => 'Empfänger',
+  'ecard_date' => 'Datum',
+  'ecard_display' => 'eCard anzeigen',
+  'ecard_name' => 'Name',
+  'ecard_email' => 'eMail',
+  'ecard_ip' => 'IP',
+  'ecard_ascending' => 'aufsteigend',
+  'ecard_descending' => 'absteigend',
+  'ecard_sorted' => 'Sortiert',
+  'ecard_by_date' => 'nach Datum',
+  'ecard_by_sender_name' => 'nach Absender-Name',
+  'ecard_by_sender_email' => 'nach eMail-Adresse des Absenders',
+  'ecard_by_sender_ip' => 'nach IP-Adresse des Absenders',
+  'ecard_by_recipient_name' => 'nach Empfänger-Name',
+  'ecard_by_recipient_email' => 'nach eMail-Adresse des Empfängers',
+  'ecard_number' => 'zeige Eintrag %s bis %s von %s',
+  'ecard_goto_page' => 'gehe zu Seite',
+  'ecard_records_per_page' => 'Einträge pro Seite',
+  'check_all' => 'alle markieren',
+  'uncheck_all' => 'alle Markierungen entfernen',
+  'ecards_delete_selected' => 'Gewählte eCard-Einträge löschen',
+  'ecards_delete_confirm' => 'Alle Einträge löschen? Entsprechendes Feld ankreuzen!',
+  'ecards_delete_sure' => 'wirklich löschen',
+);
+
+
+// ------------------------------------------------------------------------- //
+// File db_input.php
+// ------------------------------------------------------------------------- //
+
+if (defined('DB_INPUT_PHP')) $lang_db_input_php = array(
+  'empty_name_or_com' => 'Du musst Deinen Namen und einen Kommentar eingeben',
+  'com_added' => 'Dein Kommentar wurde hinzugefügt',
+  'alb_need_title' => 'Du musst einen Titel für das Album eingeben!',
+  'no_udp_needed' => 'Keine Aktualisierung notwendig.',
+  'alb_updated' => 'Das Album wurde aktualisiert',
+  'unknown_album' => 'Das gewählte Album existiert nicht oder Du hast keine Berechtigung, Dateien in dieses Album hochzuladen',
+  'no_pic_uploaded' => 'Es wurde keine Datei hochgeladen!<br /><br />Wenn Du tatsächlich eine Datei zum Hochladen selektiert hast, überprüfe, ob Dein Server das Hochladen von Dateien zulässt...',
+  'err_mkdir' => 'Verzeichnis %s konnte nicht angelegt werden!',
+  'dest_dir_ro' => 'In das Zielverzeichnis %s kann vom Skript nicht geschrieben werden!',
+  'err_move' => '%s kann nicht nach %s verschoben werden!',
+  'err_fsize_too_large' => 'Die Datei, die Du hochgeladen hast, ist zu groß (maximal zulässig ist %s x %s) !',
+  'err_imgsize_too_large' => 'Die Datei, die Du hochgeladen hast, ist zu groß (maximal zulässig ist %s kB) !',
+  'err_invalid_img' => 'Die Datei, die Du hochgeladen hast, ist kein gültiger Bildtyp!',
+  'allowed_img_types' => 'Du kannst nur %s Bilder hochladen.',
+  'err_insert_pic' => 'Das Bild \'%s\' kann nicht in das Album eingefügt werden ',
+  'upload_success' => 'Deine Datei wurde erfolgreich hochgeladen.<br /><br />Sie wird nach der Bestätigung durch den Admin sichtbar sein.',
+  'notify_admin_email_subject' => '%s - Upload-Benachrichtigung',
+  'notify_admin_email_body' => '%s hat eine Datei hochgeladen, die bestätigt werden muss. Gehe zu %s',
+  'info' => 'Information',
+  'com_added' => 'Kommentar hinzugefügt',
+  'alb_updated' => 'Album aktualisiert',
+  'err_comment_empty' => 'Dein Kommentar enthält keine Zeichen!',
+  'err_invalid_fext' => 'Nur Dateien mit den folgenden Erweiterungen sind zulässig: <br /><br />%s.',
+  'no_flood' => 'Leider bist Du schon der Autor des letzten Kommentars zu dieser Datei<br /><br />Bearbeite Deinen bestehenden Kommentar, wenn Du ihn verändern willst',
+  'redirect_msg' => 'Du wirst weitergeleitet.<br /><br /><br />Klicke \'weiter\', falls sich die Seite nicht automatisch aktualisiert',
+  'upl_success' => 'Deine Datei wurde erfolgreich hinzugefügt',
+  'email_comment_subject' => 'In der Coppermine Photo Gallery wurde ein Kommentar abgegeben',
+  'email_comment_body' => 'Jemand hat einen Kommentar in Deiner Galerie abgegeben. Um den Kommentar anzusehen, klicke hier: ',
+  'album_not_selected' => 'Kein Album ausgewählt', //cpg1.4
+  'com_author_error' => 'Ein registrierter Benutzer verwendet diesen Namen bereits, melde Dich an oder verwende einen anderen Namen.', //cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File delete.php
+// ------------------------------------------------------------------------- //
+
+if (defined('DELETE_PHP')) $lang_delete_php = array(
+  'caption' => 'Überschrift',
+  'fs_pic' => 'Bild in Originalgröße',
+  'del_success' => 'erfolgreich gelöscht',
+  'ns_pic' => 'normal-großes Bild',
+  'err_del' => 'kann nicht gelöscht werden',
+  'thumb_pic' => 'Thumbnail',
+  'comment' => 'Kommentar',
+  'im_in_alb' => 'Bild in Album',
+  'alb_del_success' => 'Album &laquo;%s&raquo; gelöscht', //cpg1.4
+  'alb_mgr' => 'Alben-Manager',
+  'err_invalid_data' => 'Ungültige Daten empfangen in \'%s\'',
+  'create_alb' => 'Erzeuge Album \'%s\'',
+  'update_alb' => 'Aktualisiere Album \'%s\' mit Titel \'%s\' und Index \'%s\'',
+  'del_pic' => 'Datei löschen',
+  'del_alb' => 'Album löschen',
+  'del_user' => 'Benutzer löschen',
+  'err_unknown_user' => 'Der gewählte Benutzer ist nicht vorhanden!',
+  'err_empty_groups' => 'Gruppen-Tabelle ist leer oder existiert nicht!', //cpg1.4
+  'comment_deleted' => 'Kommentar wurde gelöscht',
+  'npic' => 'Bild', //cpg1.4
+  'pic_mgr' => 'Bilder-Manager', //cpg1.4
+  'update_pic' => 'Aktualisiere Bild \'%s\' mit Dateiname \'%s\' und Index \'%s\'', //cpg1.4
+  'username' => 'Benutzername', //cpg1.4
+  'anonymized_comments' => '%s Kommentar(e) anonymisiert', //cpg1.4
+  'anonymized_uploads' => '%s öffentliche Upload(s) anonymisiert', //cpg1.4
+  'deleted_comments' => '%s Kommentar(e) gelöscht', //cpg1.4
+  'deleted_uploads' => '%s öffentliche Upload(s) gelöscht', //cpg1.4
+  'user_deleted' => 'Benutzer %s gelöscht', //cpg1.4
+  'activate_user' => 'Benutzer aktivieren', //cpg1.4
+  'user_already_active' => 'Benutzerkonto war bereits aktiv', //cpg1.4
+  'activated' => 'Aktiviert', //cpg1.4
+  'deactivate_user' => 'Deaktiviere Benutzer', //cpg1.4
+  'user_already_inactive' => 'Benutzerkonto war bereits inaktiv', //cpg1.4
+  'deactivated' => 'Deaktiviert', //cpg1.4
+  'reset_password' => 'Passwort zurücksetzen', //cpg1.4
+  'password_reset' => 'Passwort zurückgesetzt auf %s', //cpg1.4
+  'change_group' => 'Primäre Gruppe ändern', //cpg1.4
+  'change_group_to_group' => 'Ändere von %s zu %s', //cpg1.4
+  'add_group' => 'Sekundäre Gruppe hinzufügen', //cpg1.4
+  'add_group_to_group' => 'Füge Benutzer %s zu Gruppe %s hinzu. Er ist nun Mitglied von %s als primäre Gruppe und von %s als sekundäre Mitgliedergruppe(n).', //cpg1.4
+  'status' => 'Status', //cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File displayecard.php
+// ------------------------------------------------------------------------- //
+
+if (defined('DISPLAYECARD_PHP')) {
+
+$lang_displayecard_php = array(
+  'invalid_data' => 'Die Daten für die gewünschte eCard wurden von Deinem eMail-Client korrumpiert. Überprüfe den Link auf Vollständigkeit.', //cpg1.4
+);
+}
+
+// ------------------------------------------------------------------------- //
+// File displayimage.php
+// ------------------------------------------------------------------------- //
+
+if (defined('DISPLAYIMAGE_PHP')){
+
+$lang_display_image_php = array(
+  'confirm_del' => 'Diese Datei wirklich LÖSCHEN? \\nKommentare werden ebenfalls gelöscht.',
+  'del_pic' => 'Diese Datei löschen',
+  'size' => '%s x %s Pixel',
+  'views' => '%s mal',
+  'slideshow' => 'Diashow',
+  'stop_slideshow' => 'Diashow anhalten',
+  'view_fs' => 'Klicken für Bild in voller Größe',
+  'edit_pic' => 'Datei-Information bearbeiten', //cpg1.4
+  'crop_pic' => 'Zuschneiden und drehen',
+  'set_player' => 'Player ändern',
+);
+
+$lang_picinfo = array(
+  'title' =>'Datei-Information',
+  'Filename' => 'Dateiname',
+  'Album name' => 'Name des Albums',
+  'Rating' => 'Bewertung (%s Stimmen)',
+  'Keywords' => 'Stichworte',
+  'File Size' => 'Dateigröße',
+  'Date Added' => 'Hinzugefügt am', //cpg1.4
+  'Dimensions' => 'Abmessungen',
+  'Displayed' => 'Angezeigt',
+  'URL' => 'URL', //cpg1.4
+  'Make' => 'Hersteller', //cpg1.4
+  'Model' => 'Modell', //cpg1.4
+  'DateTime' => 'Datum &amp; Uhrzeit', //cpg1.4
+  'DateTimeOriginal' => 'Aufnahmedatum', //cpg1.4
+  'ISOSpeedRatings'=>'ISO', //cpg1.4
+  'MaxApertureValue' => 'Max. Blendenwert', //cpg1.4
+  'FocalLength' => 'Brennweite', //cpg1.4
+  'Comment' => 'Kommentar',
+  'addFav'=>'zu Favoriten hinzufügen',
+  'addFavPhrase'=>'Favoriten',
+  'remFav'=>'aus Favoriten entfernen',
+  'iptcTitle'=>'IPTC Titel',
+  'iptcCopyright'=>'IPTC Copyright',
+  'iptcKeywords'=>'IPTC Stichworte',
+  'iptcCategory'=>'IPTC Kategorie',
+  'iptcSubCategories'=>'IPTC Unter-Kategorie',
+  'ColorSpace' => 'Farbraum', //cpg1.4
+  'ExposureProgram' => 'Belichtungsprogramm', //cpg1.4
+  'Flash' => 'Blitz', //cpg1.4
+  'MeteringMode' => 'Belichtungsmessungs-Modus', //cpg1.4
+  'ExposureTime' => 'Belichtungszeit', //cpg1.4
+  'ExposureBiasValue' => 'Belichtungs-Einstellung', //cpg1.4
+  'ImageDescription' => ' Bildbeschreibung', //cpg1.4
+  'Orientation' => 'Ausrichtung', //cpg1.4
+  'xResolution' => 'x-Auflösung', //cpg1.4
+  'yResolution' => 'y-Auflösung', //cpg1.4
+  'ResolutionUnit' => 'Auflösungs-Einheit', //cpg1.4
+  'Software' => 'Software', //cpg1.4
+  'YCbCrPositioning' => 'YCbCr-Positionierung', //cpg1.4
+  'ExifOffset' => 'Exif Versatz', //cpg1.4
+  'IFD1Offset' => 'IFD1 Versatz', //cpg1.4
+  'FNumber' => 'Blende', //cpg1.4
+  'ExifVersion' => 'Exif Version', //cpg1.4
+  'DateTimeOriginal' => 'Datum & Uhrzeit Original', //cpg1.4
+  'DateTimedigitized' => 'Datum & Uhrzeit Digitaliserung', //cpg1.4
+  'ComponentsConfiguration' => 'Komponenten-Konfiguration', //cpg1.4
+  'CompressedBitsPerPixel' => 'Komprimierte Bits pro Pixel', //cpg1.4
+  'LightSource' => 'Lichtquelle', //cpg1.4
+  'ISOSetting' => 'ISO Einstellung', //cpg1.4
+  'ColorMode' => 'Farbmodus', //cpg1.4
+  'Quality' => 'Qualität', //cpg1.4
+  'ImageSharpening' => 'Bildschärfung', //cpg1.4
+  'FocusMode' => 'Fokus-Modus', //cpg1.4
+  'FlashSetting' => 'Blitz-Einstellung', //cpg1.4
+  'ISOSelection' => 'ISO Auswahl', //cpg1.4
+  'ImageAdjustment' => 'Bildabgleich', //cpg1.4
+  'Adapter' => 'Adapter', //cpg1.4
+  'ManualFocusDistance' => 'Manuelle Fokus-Entfernung', //cpg1.4
+  'DigitalZoom' => 'Digitaler Zoom', //cpg1.4
+  'AFFocusPosition' => 'Autofokus-Position', //cpg1.4
+  'Saturation' => 'Sättigung', //cpg1.4
+  'NoiseReduction' => 'Rauschunterdrückung', //cpg1.4
+  'FlashPixVersion' => 'Flash Pix Version', //cpg1.4
+  'ExifImageWidth' => 'Exif Bildbreite', //cpg1.4
+  'ExifImageHeight' => 'Exif Bildhöhe', //cpg1.4
+  'ExifInteroperabilityOffset' => 'Exif Zusammenarbeitsfähigkeit Offset', //cpg1.4
+  'FileSource' => 'Dateiquelle', //cpg1.4
+  'SceneType' => 'Szenen-Typ', //cpg1.4
+  'CustomerRender' => 'Customer Render', //cpg1.4
+  'ExposureMode' => 'Belichtungsmodus', //cpg1.4
+  'WhiteBalance' => 'Weißabgleich', //cpg1.4
+  'DigitalZoomRatio' => 'Verhältnis Digitalzoom', //cpg1.4
+  'SceneCaptureMode' => 'Scene Capture Modus', //cpg1.4
+  'GainControl' => 'Verstärkerregelung', //cpg1.4
+  'Contrast' => 'Kontrast', //cpg1.4
+  'Saturation' => 'Sättigung', //cpg1.4
+  'Sharpness' => 'Schärfe', //cpg1.4
+  'ManageExifDisplay' => 'Exif-Anzeige verwalten', //cpg1.4
+  'submit' => 'los', //cpg1.4
+  'success' => 'Informationen erfolgreich aktualisiert.', //cpg1.4
+  'details' => 'Details', //cpg1.4
+);
+
+$lang_display_comments = array(
+  'OK' => 'OK',
+  'edit_title' => 'Diesen Kommentar bearbeiten',
+  'confirm_delete' => 'Willst Du diesen Kommentar wirklich löschen?', //js-alert
+  'add_your_comment' => 'Füge Deinen Kommentar hinzu',
+  'name'=>'Name',
+  'comment'=>'Kommentar',
+  'your_name' => 'Dein Name',
+  'report_comment_title' => 'Diesen Kommentar beim Administrator melden', //cpg1.4
+);
+
+$lang_fullsize_popup = array(
+  'click_to_close' => 'Bild anklicken, um das Fenster zu schließen!',
+);
+
+}
+
+// ------------------------------------------------------------------------- //
+// File ecard.php
+// ------------------------------------------------------------------------- //
+
+if (defined('ECARDS_PHP') || defined('DISPLAYECARD_PHP')) $lang_ecard_php =array(
+  'title' => 'eCard senden',
+  'invalid_email' => '<b>Achtung</b> : ungültige eMail-Adresse !',
+  'ecard_title' => 'Eine eCard von %s für Dich',
+  'error_not_image' => 'Nur Bilder können als eCard verschickt werden.',
+  'view_ecard' => 'Falls diese eCard nicht korrekt angezeigt wird, klicke auf den folgenden Link: ',
+  'view_ecard_plaintext' => 'Markiere die folgende URL und füge sie in die Adresszeile Deines Browsers ein, um diese eCard anzuzeigen:', //cpg1.4
+  'view_more_pics' => 'Klicke auf diesen Link, um mehr Bilder ansehen zu können!', //cpg1.4
+  'send_success' => 'Deine eCard wurde gesendet',
+  'send_failed' => 'Leider kann der Server Deine eCard nicht versenden...',
+  'from' => 'Von',
+  'your_name' => 'Dein Name',
+  'your_email' => 'Deine eMail-Adresse',
+  'to' => 'An',
+  'rcpt_name' => 'Empfänger Name',
+  'rcpt_email' => 'Empfänger eMail-Adresse',
+  'greetings' => 'Überschrift', //cpg1.4
+  'message' => 'Nachricht', //cpg1.4
+  'ecards_footer' => 'Gesendet durch %s von der IP-Adresse %s um %s (Zeitzone der Galerie)', //cpg1.4
+  'preview' => 'Vorschau der eCard', //cpg1.4
+  'preview_button' => 'Vorschau', //cpg1.4
+  'submit_button' => 'eCard senden', //cpg1.4
+  'preview_view_ecard' => 'Dies wird der Alternativ-Link zur eCard sein, sobald sie tatsächlich erstellt wurde - funktioniert nicht für die Vorschau.', //cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File report_file.php //cpg1.4
+// ------------------------------------------------------------------------- //
+
+if (defined('REPORT_FILE_PHP') || defined('DISPLAYREPORT_PHP')) $lang_report_php =array(
+  'title' => 'Beim Administrator melden', //cpg1.4
+  'invalid_email' => '<b>Achtung</b> : ungültige eMail-Adresse!', //cpg1.4
+  'report_subject' => 'Eine Meldung von %s über die Galerie %s', //cpg1.4
+  'view_report' => 'Alternativ-Link, falls diese Meldung nicht korrekt angezeigt wird', //cpg1.4
+  'view_report_plaintext' => 'Kopiere die folgende URL in die Adresszeile Deines Browsers, um die Meldung anzuzeigen:', //cpg1.4
+  'view_more_pics' => 'Galerie', //cpg1.4
+  'send_success' => 'Deine Meldung wurde gesendet', //cpg1.4
+  'send_failed' => 'Der Server kann leider Deine Meldung nicht versenden...', //cpg1.4
+  'from' => 'Von', //cpg1.4
+  'your_name' => 'Dein Name', //cpg1.4
+  'your_email' => 'Deine eMail-Adresse', //cpg1.4
+  'to' => 'An', //cpg1.4
+  'administrator' => 'Administrator/Moderator', //cpg1.4
+  'subject' => 'Betreff', //cpg1.4
+  'comment_field_name' => 'Meldung bezüglich Kommentar von "%s"', //cpg1.4
+  'reason' => 'Grund', //cpg1.4
+  'message' => 'Nachricht', //cpg1.4
+  'report_footer' => 'Gesendet durch %s von IP-Adresse %s um %s (Zeitzone der Galerie)', //cpg1.4
+  'obscene' => 'unanständig ', //cpg1.4
+  'offensive' => 'beleidigend', //cpg1.4
+  'misplaced' => 'vom Thema abschweifend/unangebracht', //cpg1.4
+  'missing' => 'nicht vorhanden', //cpg1.4
+  'issue' => 'Fehler/kann nicht angezeigt werden', //cpg1.4
+  'other' => 'anderer Grund', //cpg1.4
+  'refers_to' => 'Datei-Meldung bezieht sich auf', //cpg1.4
+  'reasons_list_heading' => 'Grund/Gründe für Meldung:', //cpg1.4
+  'no_reason_given' => 'es wurde kein Grund angegeben', //cpg1.4
+  'go_comment' => 'Gehe zu Kommentar', //cpg1.4
+  'view_comment' => 'Vollständige Meldung mit Kommentar anzeigen', //cpg1.4
+  'type_file' => 'Datei', //cpg1.4
+  'type_comment' => 'Kommentar', //cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File editpics.php
+// ------------------------------------------------------------------------- //
+
+if (defined('EDITPICS_PHP')) $lang_editpics_php = array(
+  'pic_info' => 'Bild-Info',
+  'album' => 'Album',
+  'title' => 'Titel',
+  'filename' => 'Dateiname', //cpg1.4
+  'desc' => 'Beschreibung',
+  'keywords' => 'Stichworte',
+  'new_keyword' => 'Neue Stichworte', //cpg1.4
+  'new_keywords' => 'Neue Stichworte gefunden', //cpg1.4
+  'existing_keyword' => 'Vorhandene Stichworte', //cpg1.4
+  'pic_info_str' => '%sx%s - %s kB - %s x angesehen - %s x bewertet',
+  'approve' => 'Datei genehmigen',
+  'postpone_app' => 'Genehmigung verschieben',
+  'del_pic' => 'Datei löschen',
+  'del_all' => 'ALLE Dateien löschen', //cpg1.4
+  'read_exif' => 'EXIF-Daten erneut einlesen',
+  'reset_view_count' => 'Zähler \'x mal angesehen\' auf Null setzen',
+  'reset_all_view_count' => 'ALLE Zähler \'x mal angesehen\' auf Null setzen', //cpg1.4
+  'reset_votes' => 'Anzahl Stimmen auf Null setzen',
+  'reset_all_votes' => 'ALLE Stimmen auf Null setzen', //cpg1.4
+  'del_comm' => 'Kommentare löschen',
+  'del_all_comm' => 'ALLE Kommentare löschen', //cpg1.4
+  'upl_approval' => 'Genehmigung zum Hochladen', //cpg1.4
+  'edit_pics' => 'Dateien bearbeiten',
+  'see_next' => 'nächste Dateien ansehen',
+  'see_prev' => 'vorherige Dateien ansehen',
+  'n_pic' => '%s Dateien',
+  'n_of_pic_to_disp' => 'Dateien pro Seite',
+  'apply' => 'Änderungen ausführen',
+  'crop_title' => 'Coppermine Bild-Editor',
+  'preview' => 'Vorschau',
+  'save' => 'Bild speichern',
+  'save_thumb' =>'Speichern als Thumbnail',
+  'gallery_icon' => 'Dieses Bild zu meinem Benutzer-Icon machen', //cpg1.4
+  'sel_on_img' =>'Die Auswahl muss vollständig innerhalb des Bildes liegen!', //js-alert
+  'album_properties' =>'Alben-Eigenschaften', //cpg1.4
+  'parent_category' =>'Eltern-Kategorie', //cpg1.4
+  'thumbnail_view' =>'Thumbnail Ansicht', //cpg1.4
+  'select_unselect' =>'alle selektieren/deselektieren', //cpg1.4
+  'file_exists' => "Zieldatei '%s' existiert bereits.", //cpg1.4
+  'rename_failed' => "Konnte '%s' nicht in '%s' umbenennen.", //cpg1.4
+  'src_file_missing' => "Quelldatei '%s' nicht vorhanden.", // cpg 1.4
+  'mime_conv' => "Kann Datei '%s' nicht zu '%s' umwandeln",//cpg1.4
+  'forb_ext' => 'Keine erlaubte Dateiendung.',//cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File faq.php
+// ------------------------------------------------------------------------- //
+
+if (defined('FAQ_PHP')) $lang_faq_php = array(
+  'faq' => 'Häufig gestellte Fragen (Frequently Asked Questions)',
+  'toc' => 'Inhalt',
+  'question' => 'Frage: ',
+  'answer' => 'Antwort: ',
+);
+
+if (defined('FAQ_PHP')) $lang_faq_data = array(
+  'Allgemeines',
+  array('Warum muss ich mich registrieren?', 'Der Administrator kann verlangen, dass Du Dich registrierst (oder auch nicht). Durch die Registrierung erhälst Du möglicherweise einige zusätzliche Features, wie z.B. Dateien hochladen, eine Favoriten-Liste, Bewertung von Bildern, Abgabe von Kommentaren etc. ', 'allow_user_registration', '0'),
+  array('Wie kann ich mich registrieren?', 'Klicke auf &quot;Registrieren&quot; und fülle die notwendigen Felder aus (und die optionalen, wenn Du möchtest).<br />Wenn der Administrator eMail-Aktivierung eingeschaltet hat, bekommst Du eine eMail an die Adresse, die Du bei der Registrierung angegeben hast, in der Anweisungen enthalten sind, wie Du Dein Benutzerkonto aktivieren kannst. In diesem Fall muss Dein Konto aktiviert werden, bevor Du Dich anmelden kannst.', 'allow_user_registration', '1'),
+  array('Wie kann ich mich anmelden?', 'Klicke auf &quot;Anmelden&quot;, gib Deinen Benutzernamen und Dein Passwort ein, und kreuze die Option &quot;Immer angemeldet bleiben&quot; an, damit Du Dich nicht bei Deinem nächsten Besuch auf der Seite erneut anmelden musst.<br /><b>WICHTIG: Um Dich anzumelden, musst Du Cookies in Deinem Browser zulassen, und das Cookie darf nicht gelöscht werden, wenn Du die Option &quot;Immer angemeldet bleiben&quot; nutzen willst.</b>', 'offline', 0),
+  array('Warum kann ich mich nicht anmelden?', 'Hast Du Dich registriert und die Anweisungen ausgeführt, die in der Aktivierungsmail an Dich gesendet wurden?. Der Link in der Aktivierungsmail schaltet Dein Benutzerkonto frei. Bezüglich anderer Probleme beim anmelden, wende Dich an den Admin dieser Seite.', 'offline', 0),
+  array('Ich habe mein Passwort vergessen. Was nun?', 'Wenn der Link &quot;Passwort vergessen&quot; auf der Anmeldeseite anzeigt wird, dann benutze ihn. Ansonsten nimm Kontakt mit dem Admin dieser Seite auf und bitte ihn um ein neues Passwort.', 'offline', 0),
+  //array('Meine eMail-Adresse hat sich geändert. Was tun?', 'Melde Dich an und ändere Deine eMail-Adresse im Menüpunkt &quot; mein Profil&quot;', 'offline', 0),
+  array('Wie speichere ich eine Datei in &quot;meine Favoriten&quot;?', 'Klicke auf &quot;Datei-Info&quot; (<img src="images/info.gif" width="16" height="16" border="0" alt="Bild-Info" />); gehe ganz nach unten auf der Seite und klicke auf &quot;Zu Favoriten hinzufügen&quot;.<br />Möglicherweise ist die Anzeige des Datei-Info Bereichs auch standardmäßig eingeschaltet.<br />Wichtig: Cookies müssen aktiviert sein und Du darfst den Cookie nicht löschen (im Cookie werden die Favoriten gespeichert).', 'offline', 0),
+  array('Wie kann ich eine Datei bewerten?', 'Klicke auf das Thumbnail (kleine Vorschaugrafik) einer Datei und wähle eine Bewertung (angezeigt unterhalb des Bildes).', 'offline', 0),
+  array('Wie kann ich einen Kommentar abgeben?', 'Klicke auf das Thumbnail (kleine Vorschaugrafik) einer Datei, gehe nach unten auf der Seite und gib Deinen Kommentar ein. Wenn keine Eingabe eines Kommentars möglich ist, musst Du Dich eventuell erst registrieren und anmelden, damit diese Option zur Verfügung steht.', 'offline', 0),
+  array('Wie kann ich eine Datei hochladen?', 'Klicke auf &quot;Datei hochladen&quot; und wähle das Album aus, in das Du die Datei hochladen willst, klicke auf &quot;Durchsuchen&quot; und wähle die Datei aus, die Du hochladen willst und klicke dann auf &quot;öffnen&quot; (füge einen Titel, eine Beschriftung und ein paar Stichworte ein, wenn Du möchtest). Um den Vorgang abzuschliessen, klicke auf &quot;Datei hochladen&quot;', 'allow_private_albums', 0),
+  array('Wohin kann ich Dateien hochladen?', 'Du kannst Dateien in Alben hochladen, die Du innerhalb der Kategorie &quot;meine Galerie&quot; erstellen kannst. Der Administrator der Seite kann Dir auch das Recht einräumen, in ein oder mehrere Alben der allgemeinen Galerie hochzuladen. Falls das der Fall ist, werden Dir diese Alben im Auswahlmenü auf der Upload-Seite angezeigt', 'allow_private_albums', 0),
+  array('Welche Art und Größe von Dateien kann ich hochladen?', 'Die Art (z.B. jpg oder png) und Größe bestimmt der Administrator dieser Seite.', 'allow_private_albums', 0),
+  array('Was ist &quot;meine Galerie&quot;?', '&quot;Meine Galerie&quot; ist Deine persönliche Galerie, innerhalb der Du Dateien hochladen und bearbeiten kannst.', 'allow_private_albums', 0),
+  array('Wie kann ich Alben erzeugen, umbenennen oder löschen in &quot;meine Galerie&quot;?', 'Du siehst die Optionen erst nach der Anmeldung im Admin-Modus<br />Klicke auf &quot;Erzeuge/ändere meine Alben&quot; und klicke auf &quot;Neu&quot;. Ändere den Text &quot;Neues Album&quot; in den gewünschten Namen ab.<br />Du kannst auch bestehende Alben umbenennen, indem Du sie zuerst anklickst und dann im Eingabefeld unten einen neuen Namen dafür eingibst.<br />Klicke auf &quot;Änderungen übernehmen&quot;, um Deine Änderungen durchzuführen.', 'allow_private_albums', 0),
+  array('Wie kann ich meine Alben abändern und die Zugriffsrechte darauf ändern?', 'Du solltest nach der Anmeldung bereits im Admin-Modus sein.<br />Klicke auf &quot; Meine Alben bearbeiten&quot;. Wähle in der Zeile &quot;Album aktualisieren&quot; das Album aus, das Du aktualisieren möchtest.<br />Du kannst dann den Namen, die Beschreibung, das Thumbnail (Vorschaugrafik) ändern und die Rechte ändern, wer das Album sehen und Kommentare dazu abgeben darf.<br />Um Deine Änderungen zu bestätigen, klicke am Schluß auf &quot;Album aktualisieren&quot;.', 'allow_private_albums', 0),
+  array('Was sind Cookies?', 'Cookies sind kleine Textdateien, die von einem Webserver versendet werden und auf Deinem Rechner gespeichert werden. Beim erneuten Aufsuchen der Seite können die Cookies wieder vom Server gelesen werden.<br />In der Regel werden Sie dazu genutzt, Dich als Benutzer auf der Seite wiederzuerkennen. Cookies selbst können keine Viren oder sonstige bösartigen Schad-Programme enthalten und sind daher in erster Linie ungefährlich. Einige Seitenbetreiber setzen Cookies allerdings ein, um Verhaltensprofile von Surfern im Internet zu erstellen und nutzen die Informationen in der Regel, um zielgerichtet Werbung für den Surfer zur Verfügung zu stellen.', 'offline', 0),
+  array('Woher kann ich dieses Porgramm für meine Homepage bekommen?', 'Diese Seite läuft mit Coppermine. Coppermine ist eine kostenlose Multimedia-Galerie, die unter der Lizenz GNU GPL erscheint. Die Software ist voller Features und für einige Platformen erhältlich. Besuche die <a href="http://coppermine-gallery.net/">Coppermine Home Page</a> für zusätzliche Informationen oder um die Software herunterzuladen.', 'offline', 0),
+
+  'Navigation auf der Seite',
+  array('Was ist die &quot;Alben-Übersicht&quot;?', 'Zeigt die gesamte Kategorie an, in der Du Dich gerade befindest, mit einem Link zu jedem Album. Wenn Du Dich gerade nicht innerhalb einer Kategorie befindest zeigt Dir &quot;Alben-Übersicht&quot; die gesamte Galerie mit Links zu den einzelnen Kategorien an. Möglicherweise existieren Thumbnails als Links zu den einzelnen Kategorien.', 'offline', 0),
+  array('Was ist &quot;meine Galerie&quot;?', 'Mit diesem Menüpunkt kannst Du Deine eigene Benutzer-Galerie erstellen und bearbeiten.', 'allow_private_albums', 1), //cpg1.4
+  array('Was ist der Unterschied zwischen &quot;Admin-Modus&quot; und &quot;Benutzer-Modus&quot;?', 'Im Admin-Modus werden die Navigations-Elemente zum Erstellen und Ändern Deiner Benutzer-Galerie angezeigt; der Benutzer-Modus zeigt Dir, wie Deine Benutzer-Galerie für andere Benutzer aussieht (ohne die entsprechenden Menüpunkte).', 'allow_private_albums', 0),
+  array('Was ist &quot;Dateien hochladen&quot;?', 'Dieses Feature ermöglicht es Benutzern, eigene Dateien hochzuladen und in Alben zu positionieren (Dateigröße und -typ wurden vom Admin festgelegt).', 'allow_private_albums', 0),
+  array('Was ist &quot;neueste Uploads&quot;?', 'Dieser Bereich zeigt die neuesten Dateien, die in eines der Alben der Galerie hochgeladen wurden.', 'offline', 0),
+  array('Was ist &quot;neueste Kommentare&quot;?', 'Dieser Bereich zeigt die zuletzt abgegebenen Kommentare unterhalb der Thumbnails (Vorschaugrafik) der Dateien, auf die sich die Kommentare beziehen.', 'offline', 0),
+  array('Was ist &quot;am meisten angesehen&quot;?', 'Dieser Bereich zeigt die beliebtesten Dateien (am meisten angesehen) der gesamten Galerie oder des Bereichs an, in dem Du Dich befindest.', 'offline', 0),
+  array('Was ist &quot;am besten bewertet&quot;?', 'Durchschnittliche Bewertung der Datei (Bsp.: 5 Benutzer gaben einem Bild ein Bewertung von <img src="images/rating3.gif" width="65" height="14" border="0" alt="" />: das Bild hat eine durchschnittliche Bewertung von <img src="images/rating3.gif" width="65" height="14" border="0" alt="" /> ;Wenn 5 Benutzer ein Bild mit Noten von 1 bis 5 (1,2,3,4,5) bewerten, würde der Schnitt ebenfalls so aussehen: <img src="images/rating3.gif" width="65" height="14" border="0" alt="" /> .)<br />Die Bewertungs-Skala reicht von <img src="images/rating5.gif" width="65" height="14" border="0" alt="super" /> (super) bis <img src="images/rating0.gif" width="65" height="14" border="0" alt="sehr schlecht" /> (sehr schlecht).', 'offline', 0),
+  array('Was ist &quot;Meine Favoriten&quot;?', 'Mit diesem Feature kannst Du Bilder, die Du später noch einmal ansehen willst, in einer Favoriten-Liste speichern. Dazu musst Du nicht einmal angemeldet sein, da die Liste in einem Cookie auf Deinem Computer gespeichert wird. Beachte aber: die Favoriten stehen Dir nur an diesem Computer zur Verfügung; wenn die Cookies gelöscht werden, sind die Favoriten ebenfalls verschwunden.', 'offline', 0),
+);
+
+
+// ------------------------------------------------------------------------- //
+// File forgot_passwd.php
+// ------------------------------------------------------------------------- //
+
+if (defined('FORGOT_PASSWD_PHP')) $lang_forgot_passwd_php = array(
+  'forgot_passwd' => 'Passwort-Erinnerung',
+  'err_already_logged_in' => 'Du bist schon angemeldet!',
+  'enter_email' => 'Gib Deine eMail-Adresse ein', //cpg1.4
+  'submit' => 'los!',
+  'illegal_session' => 'Die Session für die Passwort-Erinnerung ist ungültig oder abgelaufen.', //cpg1.4
+  'failed_sending_email' => 'Die eMail mit der Passwort-Erinnerung kann nicht gesendet werden!',
+  'email_sent' => 'Eine eMail mit Deinem Benutzernamen und einem neuen Passwort wurde an %s gesendet.', //cpg1.4
+  'verify_email_sent' => 'EineeMail wurde an %s gesendet. Bitte überprüfe Deine Mailbox, um den Vorgang abzuschliessen.', //cpg1.4
+  'err_unk_user' => 'Der gewählte Benutzer existiert nicht!',
+  'account_verify_subject' => '%s - Anforderung neues Passwort', //cpg1.4
+  'account_verify_body' => 'Du hast ein neues Passwort beantragt - um dieses neue Passwort tatsächlich zu erhalten, klicke auf nachstehenden Link:
+
+%s', //cpg1.4
+  'passwd_reset_subject' => '%s - Dein neues Passwort', //cpg1.4
+  'passwd_reset_body' => 'Hier ist das neue Passwort, dass Du beantragt hast:
+Benutzername: %s
+Passwort: %s
+Klicke %s, um Dich anzumelden.', //cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File groupmgr.php
+// ------------------------------------------------------------------------- //
+
+if (defined('GROUPMGR_PHP')) $lang_groupmgr_php = array(
+  'group_name' => 'Gruppen-Name', //cpg1.4
+  'permissions' => 'Berechtigungen', //cpg1.4
+  'public_albums' => 'Upload in öffentliche Alben', //cpg1.4
+  'personal_gallery' => 'Persönliche Galerie', //cpg1.4
+  'upload_method' => 'Upload-Methode', //cpg1.4
+  'disk_quota' => 'Speicherplatz', //cpg1.4
+  'rating' => 'Abstimmen', //cpg1.4
+  'ecards' => 'eCards', //cpg1.4
+  'comments' => 'Kommentare', //cpg1.4
+  'allowed' => 'Erlaubt', //cpg1.4
+  'approval' => 'Bestätigung', //cpg1.4
+  'boxes_number' => 'Anzahl Felder', //cpg1.4
+  'variable' => 'variabel', //cpg1.4
+  'fixed' => 'fest', //cpg1.4
+  'apply' => 'Änderungen übernehmen',
+  'create_new_group' => 'Neue Gruppe erstellen',
+  'del_groups' => 'ausgewählte Gruppe(n) löschen',
+  'confirm_del' => 'Achtung: wenn Du eine Gruppe löschst werden die dazu gehörenden Benutzer in die Gruppe \'Registrierte Benutzer\' verschoben!\n\nWillst Du das ?', //js-alert
+  'title' => 'Benutzer-Gruppen verwalten',
+  'num_file_upload' => 'Datei-Upload Felder', //cpg1.4
+  'num_URI_upload' => 'URI-Upload Felder', //cpg1.4
+  'reset_to_default' => 'Auf Standard-Gruppennamen (%s) zurücksetzen - empfohlen!', //cpg1.4
+  'error_group_empty' => 'Gruppen-Tabelle war leer!<br /><br />Standard-Gruppen wurden erstellt, bitte diese Seite erneut laden', //cpg1.4
+  'explain_greyed_out_title' => 'Warum ist diese Zeile ausgegraut?', //cpg1.4
+  'explain_guests_greyed_out_text' => 'Die Eigenschaften dieser Gruppe können nicht verändert werden, weil die Option &quot;Nicht-angemeldeten Besuchern (Gäste) Zugriff erlauben&quot; in der Coppermine-Knofiguration auf &quot;Nein&quot; gesetzt wurde. Alle Gäste (Mitglieder der Gruppe %s) können nichts tun außer sich anzumelden; daher sind keine der Gruppen-Verrechtungen für sie zutreffend.', //cpg1.4
+  'explain_banned_greyed_out_text' => 'Die Eigenschaften der Gruppe %s können nicht verändert werden, da deren Mitglieder sowieso nichts tun dürfen.', //cpg1.4
+  'group_assigned_album' => 'zugewiesene Alben', //cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File index.php
+// ------------------------------------------------------------------------- //
+
+if (defined('INDEX_PHP')){
+
+$lang_index_php = array(
+  'welcome' => 'Startseite',
+);
+
+$lang_album_admin_menu = array(
+  'confirm_delete' => 'Willst Du dieses Album wirklich LÖSCHEN? \\nAlle darin befindlichen Dateien und Kommentare werden ebenfalls gelöscht.',
+  'delete' => 'löschen',
+  'modify' => 'Eigenschaften',
+  'edit_pics' => 'Dateien bearbeiten',
+);
+
+$lang_list_categories = array(
+  'home' => 'Galerie',
+  'stat1' => '<b>[pictures]</b> Dateien in <b>[albums]</b> Alben und <b>[cat]</b> Kategorien mit <b>[comments]</b> Kommentaren, <b>[views]</b> mal angesehen',
+  'stat2' => '<b>[pictures]</b> Dateien in <b>[albums]</b> Alben, <b>[views]</b> mal angesehen',
+  'xx_s_gallery' => '%s\'s Galerie',
+  'stat3' => '<b>[pictures]</b> Dateien in <b>[albums]</b> Alben mit <b>[comments]</b> Kommentaren, <b>[views]</b> mal angesehen'
+);
+
+$lang_list_users = array(
+  'user_list' => 'Benutzer-Liste',
+  'no_user_gal' => 'Keine Benutzer-Galerien vorhanden.',
+  'n_albums' => '%s Album/en',
+  'n_pics' => '%s Datei(en)',
+);
+
+$lang_list_albums = array(
+  'n_pictures' => '%s Dateien',
+  'last_added' => ', letzte Aktualisierung am %s',
+  'n_link_pictures' => '%s verknüpfte Dateien', //cpg1.4
+  'total_pictures' => '%s Dateien insgesamt', //cpg1.4
+);
+
+}
+
+// ------------------------------------------------------------------------- //
+// File keywordmgr.php //cpg1.4
+// ------------------------------------------------------------------------- //
+
+if (defined('KEYWORDMGR_PHP')) $lang_keywordmgr_php = array(
+  'title' => 'Stichworte verwalten', //cpg1.4
+  'edit' => 'bearbeiten', //cpg1.4
+  'delete' => 'löschen', //cpg1.4
+  'search' => 'suchen', //cpg1.4
+  'keyword_test_search' => 'nach %s in einem neuen Fenster suchen', //cpg1.4
+  'keyword_del' => 'das Stichwort %s löschen', //cpg1.4
+  'confirm_delete' => 'Willst Du wirklich das Stichwort %s aus der gesamten Galerie löschen?', //cpg1.4  // js-alert
+  'change_keyword' => 'Stichwort ändern', //cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File login.php
+// ------------------------------------------------------------------------- //
+
+if (defined('LOGIN_PHP')) $lang_login_php = array(
+  'login' => 'Anmeldung (Login)',
+  'enter_login_pswd' => 'Gib Deinen Benutzernamen und Dein Passwort ein, um Dich anzumelden',
+  'username' => 'Benutzername',
+  'password' => 'Passwort',
+  'remember_me' => 'Immer angemeldet bleiben',
+  'welcome' => 'Hallo %s ...',
+  'err_login' => '*** Konnte Dich nicht anmelden. Versuche es nochmal ***',
+  'err_already_logged_in' => 'Du bist schon angemeldet!',
+  'forgot_password_link' => 'Passwort vergessen',
+  'cookie_warning' => 'Achtung: Dein Browser akzeptiert nicht die Cookies dieses Skripts', //cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File logout.php
+// ------------------------------------------------------------------------- //
+
+if (defined('LOGOUT_PHP')) $lang_logout_php = array(
+  'logout' => 'Abmelden',
+  'bye' => 'Tschüss %s ...',
+  'err_not_loged_in' => 'Du bist nicht angemeldet!',
+);
+
+// ------------------------------------------------------------------------- //
+// File minibrowser.php  //cpg1.4
+// ------------------------------------------------------------------------- //
+
+if (defined('MINIBROWSER_PHP')) $lang_minibrowser_php = array(
+  'close' => 'schliessen', //cpg1.4
+  'submit' => 'OK', //cpg1.4
+  'up' => 'eine Ebene höher', //cpg1.4
+  'current_path' => 'derzeitiger Pfad', //cpg1.4
+  'select_directory' => 'Wähle ein Verzeichnis', //cpg1.4
+  'click_to_close' => 'Bild klicken, um dieses Fenster zu schliessen',
+);
+
+// ------------------------------------------------------------------------- //
+// File modifyalb.php
+// ------------------------------------------------------------------------- //
+
+if (defined('MODIFYALB_PHP')) $lang_modifyalb_php = array(
+  'upd_alb_n' => 'Album %s aktualisieren',
+  'general_settings' => 'Allgemeine Einstellungen',
+  'alb_title' => 'Album Titel',
+  'alb_cat' => 'Album Kategorie',
+  'alb_desc' => 'Album Beschreibung',
+  'alb_keyword' => 'Album Keyword', //cpg1.4
+  'alb_thumb' => 'Album Thumbnail',
+  'alb_perm' => 'Berechtigungen für dieses Album',
+  'can_view' => 'Album kann angesehen werden von',
+  'can_upload' => 'Besucher können Dateien hochladen',
+  'can_post_comments' => 'Besucher können Kommentare abgeben',
+  'can_rate' => 'Besucher können Dateien bewerten',
+  'user_gal' => 'Benutzer-Galerie',
+  'no_cat' => '* keine Kategorie *',
+  'alb_empty' => 'Album ist leer',
+  'last_uploaded' => 'Letzte Datei, die hochgeladen wurde',
+  'public_alb' => 'Jeder (öffentliches Album)',
+  'me_only' => 'Nur ich',
+  'owner_only' => 'Nur der Besitzer des Albums (%s)',
+  'groupp_only' => 'Mitglieder der Gruppe \'%s\'',
+  'err_no_alb_to_modify' => 'Es ist kein Album zum Bearbeiten in der Datenbank.',
+  'update' => 'Album aktualisieren',
+  'reset_album' => 'Album zurücksetzen', //cpg1.4
+  'reset_views' => 'Anzeigezähler zurücksetzen auf &quot;0&quot; für %s', //cpg1.4
+  'reset_rating' => 'Abstimmungen auf alle Dateien im Album %s zurücksetzen', //cpg1.4
+  'delete_comments' => 'Alle Kommentare im Album %s löschen', //cpg1.4
+  'delete_files' => 'Unwiederbringlich alle Dateien im Album %s löschen', //cpg1.4
+  'views' => 'Treffer', //cpg1.4
+  'votes' => 'Stimmen', //cpg1.4
+  'comments' => 'Kommentare', //cpg1.4
+  'files' => 'Dateien', //cpg1.4
+  'submit_reset' => 'Änderungen durchführen', //cpg1.4
+  'reset_views_confirm' => 'ich bin mir sicher', //cpg1.4
+  'notice1' => '(*) abhängig von den %sGruppen%s Einstellungen',  //cpg1.4 //(do not translate %s!)
+  'alb_password' => 'Passwort des Albums', //cpg1.4
+  'alb_password_hint' => 'Hinweis für Albums-Passwort', //cpg1.4
+  'edit_files' =>'Dateien bearbeiten', //cpg1.4
+  'parent_category' =>'Eltern-Kategorie', //cpg1.4
+  'thumbnail_view' =>'Thumbnail-Ansicht', //cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File phpinfo.php
+// ------------------------------------------------------------------------- //
+
+if (defined('PHPINFO_PHP')) $lang_phpinfo_php = array(
+  'php_info' => 'PHP info',
+  'explanation' => 'Diese Ausgabe wird durch die PHP-Funktion <a href="http://www.php.net/phpinfo">phpinfo()</a> erzeugt, und innerhalb von Coppermine angezeigt (dabei wird möglicherweise die Ausgabe einiger Felder am rechten Rand abgeschnitten).',
+  'no_link' => 'Anderen Personen die phpinfo-Daten anzuzeigen, kann ein Sicherheitsrisiko sein - daher wird diese Seite nur angezeigt, wenn Du als Admin angemeldet bist. Du kannst daher anderen keinen Link auf diese Seite zukommen lassen, da ihnen der Zugriff verwährt werden wird!',
+);
+
+// ------------------------------------------------------------------------- //
+// File picmgr.php //cpg1.4
+// ------------------------------------------------------------------------- //
+if (defined('PICMGR_PHP')) $lang_picmgr_php = array(
+  'pic_mgr' => 'Bilder verwalten', //cpg1.4
+  'select_album' => 'Wähle Album', //cpg1.4
+  'delete' => 'Löschen', //cpg1.4
+  'confirm_delete1' => 'Dieses Bild wirklich löschen?', //cpg1.4
+  'confirm_delete2' => '\nLöschen ist dauerhaft und endgültig.', //cpg1.4
+  'apply_modifs' => 'Änderungen übernehmen', //cpg1.4
+  'confirm_modifs' => 'Änderungen bestätigen', //cpg1.4
+  'pic_need_name' => 'Bild muss einen Namen haben', //cpg1.4
+  'no_change' => 'Es wurden keine Änderungen vorgenommen', //cpg1.4
+  'no_album' => '* Kein Album *', //cpg1.4
+  'explanation_header' => 'Die benutzerdefinierte Sortierreihenfolge, die Du auf dieser Seite wählen kannst wird nur angewendet, wenn', //cpg1.4
+  'explanation1' => 'der Administrator die Konfigurationsoption für "Benutzerdefinierte Sortierreihenfolde für Dateien" auf "Position absteigend" oder "Position aufsteigend" gesetzt hat (globale Einstellung für alle Benutzer, die keine andere individuelle Sortierreihenfolge gewählt haben)', //cpg1.4
+  'explanation2' => 'der Benutzer als Sortierreihenfolde "Position absteigend" oder "Position aufsteigend" auf der Thumbnail-Seite gewählt hat (Einstellung pro Benutzer)', //cpg1.4
+);
+
+
+// ------------------------------------------------------------------------- //
+// File pluginmgr.php //cpg1.4
+// ------------------------------------------------------------------------- //
+
+if (defined('PLUGINMGR_PHP')){
+
+$lang_pluginmgr_php = array(
+  'confirm_uninstall' => 'Dieses Plugin wirklich DE-INSTALLIEREN', //cpg1.4
+  'confirm_delete' => 'Dieses Plugin wirklich LÖSCHEN', //cpg1.4
+  'pmgr' => 'Plugin Manager', //cpg1.4
+  'name' => 'Name', //cpg1.4
+  'author' => 'Author', //cpg1.4
+  'desc' => 'Beschreibung', //cpg1.4
+  'vers' => 'v', //cpg1.4
+  'i_plugins' => 'Installierte Plugins', //cpg1.4
+  'n_plugins' => 'Nicht installierte Plugins', //cpg1.4
+  'none_installed' => 'nicht installiert', //cpg1.4
+  'operation' => 'Aufgabe', //cpg1.4
+  'not_plugin_package' => 'Die hochgeladene Datei ist kein Plugin-Paket.', //cpg1.4
+  'copy_error' => 'Beim Kopieren des Pakets in das Plugin-Verzeichnis ist ein Fehler aufgetreten.', //cpg1.4
+  'upload' => 'Hochladen', //cpg1.4
+  'configure_plugin' => 'Plugin konfigurieren', //cpg1.4
+  'cleanup_plugin' => 'Plugin bereinigen', //cpg1.4
+);
+}
+
+// ------------------------------------------------------------------------- //
+// File ratepic.php
+// ------------------------------------------------------------------------- //
+
+if (defined('RATEPIC_PHP')) $lang_rate_pic_php = array(
+  'already_rated' => 'Du hast diese Datei schon bewertet',
+  'rate_ok' => 'Deine Bewertung wurde akzeptiert',
+  'forbidden' => 'Du kannst Deine eigenen Dateien nicht bewerten.',
+);
+
+// ------------------------------------------------------------------------- //
+// File register.php & profile.php
+// ------------------------------------------------------------------------- //
+
+if (defined('REGISTER_PHP') || defined('PROFILE_PHP')) {
+
+$lang_register_disclamer = <<<EOT
+Obwohl die Administratoren von {SITE_NAME} versuchen werden, generell alle anstössigen Inhalte so schnell wie möglich zu löschen oder zu bearbeiten, ist es unmöglich, jeden Beitrag zu überprüfen. Daher bestätigst Du, dass alle Beiträge auf dieser Seite die Ansichten und Meinungen des Authors widerspiegeln und nicht die des Administrators oder Webmasters (außer den Beiträgen, die durch sie verfasst wurden) und sie daher dafür nicht verantwortlich gemacht werden können.<br />
+<br />
+Du stimmst zu, keine beleidigende, obszöne, vulgäre, verleumderische, verhetzende, drohende, sexuell-orientierte oder sonstwie illegalen Beiträge zu verfassen. Du stimmst zu, dass der/die Webmaster, Administrator(en) oder Moderator(en) von {SITE_NAME} das Recht haben, jeden Inhalt zu löschen oder zu ändern, bei dem sie es für richtig halten. Als Benutzer stimmst Du zu, dass alle Informationen, die Du oben eingetragen hast, in einer Datenbank gespeichert werden. Obwohl diese Daten ohne Deine ausdrückliche Zustimmung nicht an Dritte weitergegeben werden, können der Webmaster oder Administrator nicht dafür zur Verantwortung gezogen werden, wenn durch einen Angriff (Hacking) die gespeicherten Daten kompromitiert werden.<br />
+<br />
+Diese Seite benutzt Cookies, um Daten auf Deinem Rechner zu speichern. Diese Cookies dienen nur dazu, die Bedienung der Seite zu ermöglichen. Die eMail-Adresse wird nur dazu verwendet, die Registrierungs-Details und das Passwort zu bestätigen.<br />
+<br />
+Durch das Anklicken von 'ich stimme zu' stimmst Du diesen Bedingungen zu.
+EOT;
+
+$lang_register_php = array(
+  'page_title' => 'Benutzer-Registrierung',
+  'term_cond' => 'Nutzungsbedingungen',
+  'i_agree' => 'ich stimme zu',
+  'submit' => 'Registrieren absenden',
+  'err_user_exists' => 'Der Benutzername, den Du eingegeben hast, existiert schon, bitte wähle einen anderen',
+  'err_password_mismatch' => 'Die Passwörter stimmen nicht überein, bitte nochmals eingeben',
+  'err_uname_short' => 'Der Benutzername muss mindestens 2 Zeichen lang sein',
+  'err_password_short' => 'Das Passwort muss mindestens 2 Zeichen lang sein',
+  'err_uname_pass_diff' => 'Benutzername und Passwort müssen unterschiedlich sein',
+  'err_invalid_email' => 'eMail-Adresse ist ungültig',
+  'err_duplicate_email' => 'Es hat sich schon ein anderer Benutzer mit der angegebenen eMail-Adresse registriert',
+  'enter_info' => 'Gib Registrierungs-Informationen ein',
+  'required_info' => 'Pflichtfeld',
+  'optional_info' => 'Optional',
+  'username' => 'Benutzername',
+  'password' => 'Passwort',
+  'password_again' => 'Passwort-Bestätigung',
+  'email' => 'eMail-Adresse',
+  'location' => 'Ort',
+  'interests' => 'Hobbies',
+  'website' => 'Homepage',
+  'occupation' => 'Beruf',
+  'error' => 'FEHLER',
+  'confirm_email_subject' => '%s - Registrierungs-Bestätigung',
+  'information' => 'Information',
+  'failed_sending_email' => 'Die Registrierungs-Bestätigung kann nicht per eMail versendet werden!',
+  'thank_you' => 'Danke für Deine Registrierung.<br /><br />Eine eMail mit Informationen, wie Du Dein Benutzerkonto aktivieren kannst, wurde an die angegebene eMail-Adresse gesendet.',
+  'acct_created' => 'Dein Benutzerkonto wurde erstellt. Du kannst Dich jetzt mit Benutzername und Passwort anmelden',
+  'acct_active' => 'Dein Benutzerkonto ist jetzt aktiviert. Du kannst Dich jetzt mit Benutzername und Passwort anmelden',
+  'acct_already_act' => 'Dein Benutzerkonto ist bereits aktiviert!', //cpg1.4
+  'acct_act_failed' => 'Dieses Benutzerkonto kann nicht aktiviert werden!',
+  'err_unk_user' => 'Der gewählte Benutzer existiert nicht!',
+  'x_s_profile' => '%s\'s Benutzerprofil',
+  'group' => 'Gruppe',
+  'reg_date' => 'Registriert am',
+  'disk_usage' => 'Speicherplatz-Verbrauch',
+  'change_pass' => 'Passwort ändern',
+  'current_pass' => 'derzeitiges Passwort',
+  'new_pass' => 'neues Passwort',
+  'new_pass_again' => 'neues Passwort bestätigen',
+  'err_curr_pass' => 'Derzeitiges Passwort ist verkehrt',
+  'apply_modif' => 'Änderungen speichern',
+  'change_pass' => 'Mein Passwort ändern',
+  'update_success' => 'Dein Benutzerprofil wurde aktualisiert',
+  'pass_chg_success' => 'Dein Passwort wurde geändert',
+  'pass_chg_error' => 'Dein Passwort wurde nicht geändert',
+  'notify_admin_email_subject' => '%s - Registrierungs-Benachrichtigung',
+  'last_uploads' => 'Zuletzt hochgeladenen Datei.<br />Klicken, um alle Uploads zu sehen von', //cpg1.4
+  'last_comments' => 'Neueste Kommentare.<br />Klicken, um alle Komentare zu sehen, die abgegeben wurden von', //cpg1.4
+  'notify_admin_email_body' => 'Jemand mit dem Benutzernamen "%s" hat sich in Deiner Galerie registriert',
+  'pic_count' => 'Hochgeladene Dateien', //cpg1.4
+  'notify_admin_request_email_subject' => '%s - Registrierungsversuch', //cpg1.4
+  'thank_you_admin_activation' => 'Danke.<br /><br />Deine Registrierung wurde an den Administrator weitergeleitet zur Aktivierung. Nach erfolgter Aktiverung wirst Du eine eMail erhalten.', //cpg1.4
+  'acct_active_admin_activation' => 'Das Benutzerkonto ist jetzt aktiv. Dem Benutzer wurde eine Benachrichtigung darüber per eMail gesendet.', //cpg1.4
+  'notify_user_email_subject' => '%s - Aktivierungs-Benachrichtigung', //cpg1.4
+);
+
+$lang_register_confirm_email = <<<EOT
+Danke für Deine Registrierung bei {SITE_NAME}
+
+Dein Benutzername ist : "{USER_NAME}"
+
+
+Um Dein Benutzerkonto zu aktivieren, musst Du auf den untenstehenden Link klicken
+oder ihn kopieren und in der Adresszeile Deines Browsers einfügen.
+<a href="{ACT_LINK}">{ACT_LINK}</a>
+
+Grüße,
+
+Das Team von {SITE_NAME}
+
+EOT;
+
+$lang_register_approve_email = <<<EOT
+Ein neuer Benutzer hat sich mit dem Benutzernamen "{USER_NAME}" in Deiner Galerie registriert.
+
+Um das Benutzerkonto zu aktivieren, klicke auf den untenstehenden Link oder kopiere ihn in die Adresszeile Deines Browsers.
+
+<a href="{ACT_LINK}">{ACT_LINK}</a>
+
+EOT;
+
+$lang_register_activated_email = <<<EOT
+Dein Benutzerkonto wurden genehmigt und aktiviert.
+
+Du kannst Dich jetzt auf der Seite <a href="{SITE_LINK}">{SITE_LINK}</a> mit dem Benutzernamen "{USER_NAME}" anmelden.
+
+
+Gruss,
+
+Das {SITE_NAME} Team
+
+EOT;
+}
+
+// ------------------------------------------------------------------------- //
+// File reviewcom.php
+// ------------------------------------------------------------------------- //
+
+if (defined('REVIEWCOM_PHP')) $lang_reviewcom_php = array(
+  'title' => 'Kommentare bearbeiten',
+  'no_comment' => 'keine zu bearbeitenden Kommentare vorhanden',
+  'n_comm_del' => '%s Kommentar(e) gelöscht',
+  'n_comm_disp' => 'Anzahl angezeigter Kommentare',
+  'see_prev' => 'vorherigen anzeigen',
+  'see_next' => 'nächsten anzeigen',
+  'del_comm' => 'markierte Kommentare löschen',
+  'user_name' => 'Name', //cpg1.4
+  'date' => 'Datum', //cpg1.4
+  'comment' => 'Kommentar', //cpg1.4
+  'file' => 'Datei', //cpg1.4
+  'name_a' => 'Benutzername aufsteigend', //cpg1.4
+  'name_d' => 'Benutzername absteigend', //cpg1.4
+  'date_a' => 'Datum aufsteigend', //cpg1.4
+  'date_d' => 'Datum absteigend', //cpg1.4
+  'comment_a' => 'Kommentartext aufsteigend', //cpg1.4
+  'comment_d' => 'Kommentartext absteigend', //cpg1.4
+  'file_a' => 'Datei aufsteigend', //cpg1.4
+  'file_d' => 'Datei absteigend', //cpg1.4
+);
+
+
+// ------------------------------------------------------------------------- //
+// File search.php                                                           //
+// ------------------------------------------------------------------------- //
+
+
+if (defined('SEARCH_PHP')){
+
+$lang_search_php = array(
+  'title' => 'Dateisammlung durchsuchen', //cpg1.4
+  'submit_search' => 'suchen', //cpg1.4
+  'keyword_list_title' => 'Schlagwortliste', //cpg1.4
+  'keyword_msg' => 'Obenstehende Liste ist nicht vollständig - sie enthält keine Wörter aus Titeln oder Beschreibungen. Versuche eine Volltext-Suche.',  //cpg1.4
+  'edit_keywords' => 'Schlagworte bearbeiten', //cpg1.4
+  'search in' => 'Suchen in:', //cpg1.4
+  'ip_address' => 'IP-Adresse', //cpg1.4
+  'fields' => 'Suchen in', //cpg1.4
+  'age' => 'Alter', //cpg1.4
+  'newer_than' => 'neuer als', //cpg1.4
+  'older_than' => 'älter als', //cpg1.4
+  'days' => 'Tage(e)', //cpg1.4
+  'all_words' => 'mit allen Wörtern (UND)', //cpg1.4
+  'any_words' => 'mit irgendeinem der Wörter (ODER)', //cpg1.4
+);
+
+$lang_adv_opts = array(
+  'title' => 'Titel', //cpg1.4
+  'caption' => 'Beschriftung', //cpg1.4
+  'keywords' => 'Schlagworte', //cpg1.4
+  'owner_name' => 'Besitzer der Datei', //cpg1.4
+  'filename' => 'Dateiname', //cpg1.4
+);
+
+}
+
+// ------------------------------------------------------------------------- //
+// File searchnew.php
+// ------------------------------------------------------------------------- //
+
+if (defined('SEARCHNEW_PHP')) $lang_search_new_php = array(
+  'page_title' => 'Neue Dateien suchen',
+  'select_dir' => 'Wähle Verzeichnis',
+  'select_dir_msg' => 'Diese Funktion ermöglicht, mehrere Dateien der Galerie hinzuzufügen, die mit einem FTP-Programm schon auf Deine Webseite hochgeladen wurden.<br /><br />Wähle das Verzeichnis, in das Du die Dateien hochgeladen hast.', //cpg1.4
+  'no_pic_to_add' => 'Keine Datei zum Hinzufügen gefunden',
+  'need_one_album' => 'Du brauchst mindestens ein Album, um dieses Funktion auszuführen',
+  'warning' => 'Achtung',
+  'change_perm' => 'Das Skript kann nicht in dieses Verzeichnis schreiben, Du musst die Lese-/Schreibberechtigung (chmod) auf 755 oder 777 setzen, bevor Du versuchst, Dateien hinzuzufügen!',
+  'target_album' => '<b>Dateien aus dem Verzeichnis &quot;</b>%s<b>&quot; in </b>%s ablegen',
+  'folder' => 'Verzeichnis',
+  'image' => 'Datei',
+  'album' => 'Album',
+  'result' => 'Resultat',
+  'dir_ro' => 'Verzeichnis nicht beschreibbar',
+  'dir_cant_read' => 'Verzeichnis nicht lesbar',
+  'insert' => 'Füge neue Dateien der Galerie hinzu',
+  'list_new_pic' => 'Liste neuer Dateien',
+  'insert_selected' => 'Markierte Dateien einfügen',
+  'no_pic_found' => 'Keine neuen Dateien gefunden',
+  'be_patient' => 'Bitte Geduld, das Skript brauchst Zeit, um die Bilder hinzuzufügen',
+  'no_album' => 'Kein Album gewählt',
+  'result_icon' => 'Klicken für Details oder zum erneut laden',  //cpg1.4
+  'notes' =>  '<ul>'.
+    '<li><b>OK</b> : bedeuted, dass die Datei erfolgreich hinzugefügt wurde'.
+    '<li><b>DP</b> : bedeutet, dass die Datei ein Duplikat ist und schon in der Datenbank vorhanden ist'.
+    '<li><b>PB</b> : bedeutet, dass die Datei nicht hinzugefügt werden konnte; überprüfe Deine Einstellungen und die Berechtigungen der Verzeichnisse, in dem die Dateien liegen'.
+    '<li><b>NA</b> : bedeutet, dass Du kein Album gewählt hast, in das die Dateien eingefügt werden sollen, klicke \'<a href="javascript:history.back(1)">zurück</a>\' und wähle ein Album aus. Wenn kein Album ausgewählt werden kann, dann musst Du erst <a href="albmgr.php">ein Album erzeugen</a>.</li>'.
+    '<li>Falls die OK, DP, PB \'Zeichen\' nicht erscheinen, klicke auf die nicht-funktionierenden Bilder, um die Fehlermeldungen von PHP zu sehen'.
+    '<li>Wenn Dein Browser in ein Timeout läuft, klicke auf die Aktualisieren-Schaltfläche'.
+    '</ul>',
+  'select_album' => 'Wähle ein Album',
+  'check_all' => 'alle auswählen',
+  'uncheck_all' => 'Auswahl aufheben',
+  'no_folders' => 'Im Verzeichnis "albums" wurden noch keine Unterverzeichnisse angelegt. Du musst mindestens ein benutzerdefiniertes Unterverzeichnis innerhalb des Ordners "albums" anlegen und Deine Dateien per FTP dorthin hochladen. Du darfst per FTP keine Dateien in die Unterverzeichnisse "userpics" oder "edit" hochladen, da diese für http-uploads und interne Zwecke reserviert sind.', //cpg1.4
+   'albums_no_category' => 'Alben ohne Kategorie', //cpg1.4 // album pulldown mod, added by frogfoot
+  'personal_albums' => '* Persönliche Alben', //cpg1.4 // album pulldown mod, added by frogfoot
+  'browse_batch_add' => 'Durchsuchbare Oberfläche (empfohlen)', //cpg1.4
+  'edit_pics' => 'Dateien bearbeiten', //cpg1.4
+  'edit_properties' => 'Albums-Eigenschaften', //cpg1.4
+  'view_thumbs' => 'Thumbnail-Ansicht', //cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File stat_details.php //cpg1.4
+// ------------------------------------------------------------------------- //
+
+if (defined('STAT_DETAILS_PHP')) $lang_stat_details_php = array(
+  'show_hide' => 'diese Spalte anzeigen/verbergen', //cpg1.4
+  'vote' => 'Bewertungsdetails', //cpg1.4
+  'hits' => 'Trefferdetails', //cpg1.4
+  'stats' => 'Bewertungsstatistik', //cpg1.4
+  'sdate' => 'Datum', //cpg1.4
+  'rating' => 'Bewertung', //cpg1.4
+  'search_phrase' => 'Suchbegriff', //cpg1.4
+  'referer' => 'Referer', //cpg1.4
+  'browser' => 'Browser', //cpg1.4
+  'os' => 'Betriebssystem', //cpg1.4
+  'ip' => 'IP-Adresse', //cpg1.4
+  'sort_by_xxx' => 'Sortieren nach %s', //cpg1.4
+  'ascending' => 'aufsteigend', //cpg1.4
+  'descending' => 'absteigend', //cpg1.4
+  'internal' => 'intern', //cpg1.4
+  'close' => 'schliessen', //cpg1.4
+  'hide_internal_referers' => 'interne Verweise verbergen', //cpg1.4
+  'date_display' => 'Datumsformat', //cpg1.4
+  'submit' => 'absenden/aktualisieren', //cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File thumbnails.php
+// ------------------------------------------------------------------------- //
+
+// Void
+
+// ------------------------------------------------------------------------- //
+// File upload.php
+// ------------------------------------------------------------------------- //
+
+if (defined('UPLOAD_PHP')) $lang_upload_php = array(
+  'title' => 'Datei hochladen',
+  'custom_title' => 'Benutzer-definiertes Formular',
+  'cust_instr_1' => 'Die Anzahl der Upload-Felder kann angepasst werden, darf jedoch die untenstehenden Maximalwerte nicht überschreiten.',
+  'cust_instr_2' => 'Anzahl Abfrage-Felder',
+  'cust_instr_3' => 'Datei-Upload Felder: %s',
+  'cust_instr_4' => 'URI/URL-Upload Felder: %s',
+  'cust_instr_5' => 'URI/URL Upload Felder:',
+  'cust_instr_6' => 'Datei-Upload Felder:',
+  'cust_instr_7' => 'Gib die Anzahl der gewünschten Felder ein und klicke auf \'weiter\'.',
+  'reg_instr_1' => 'Unzulässige Aktion bei der Formular-Erzeugung.',
+  'reg_instr_2' => 'Du kannst jetzt Dateien mit den untenstehenden Feldern hochladen. Keine Datei darf größer als %s kB sein. ZIP-Dateien, die mit Datei-Upload oder URI/URL-Upload hochgeladen werden, bleiben komprimiert.',
+  'reg_instr_3' => 'Um ZIP-Dateien auf dem Server automatisch zu entpacken, verwende die ZIP-Upload Felder.',
+  'reg_instr_4' => 'Die URI/URL-Upload Felder müssen dieses Format haben \'http://www.meinseite.de/bilder/beispiel.jpg\'',
+  'reg_instr_5' => 'Wenn alle Upload-Felder ausgefüllt sind, klicke auf \'weiter\'.',
+  'reg_instr_6' => 'ZIP-Upload (wird entpackt auf Server):',
+  'reg_instr_7' => 'Datei-Upload:',
+  'reg_instr_8' => 'URI/URL-Upload:',
+  'error_report' => 'Fehlerliste',
+  'error_instr' => 'Folgende Uploads erzeugten Fehler:',
+  'file_name_url' => 'Dateiname/URL',
+  'error_message' => 'Fehlermeldung',
+  'no_post' => 'Datei durch Formular-Post nicht hochgeladen.',
+  'forb_ext' => 'Verbotene Datei-Erweiterung/-endung.',
+  'exc_php_ini' => 'Dateigröße größer als Limit in php.ini.',
+  'exc_file_size' => 'Dateigröße größer als Coppermine-Einstellungen.',
+  'partial_upload' => 'Nur teilweiser Upload.',
+  'no_upload' => 'Kein Upload erfolgt.',
+  'unknown_code' => 'Unbekannter PHP-Upload-Fehlercode.',
+  'no_temp_name' => 'Kein Upload - kein temporärer Name.',
+  'no_file_size' => 'Enthält keine Daten/defekt',
+  'impossible' => 'Kann nicht verschieben.',
+  'not_image' => 'kein Bild/korrupt',
+  'not_GD' => 'Keine GD-Erweiterung.',
+  'pixel_allowance' => 'maximale Bild-Abmessungen (Pixel-Größe) überschritten.',
+  'incorrect_prefix' => 'Ungültige URI/URL Vorsible',
+  'could_not_open_URI' => 'Konnte URI nicht öffnen.',
+  'unsafe_URI' => 'Sicherheit nicht überprüfbar.',
+  'meta_data_failure' => 'Meat-Daten fehlerhaft',
+  'http_401' => '401 Fehlende Berechtigung',
+  'http_402' => '402 Bezahlung erforderlich',
+  'http_403' => '403 Verboten',
+  'http_404' => '404 nicht gefunden',
+  'http_500' => '500 Interner Server-Fehler',
+  'http_503' => '503 Service nicht verfügbar',
+  'MIME_extraction_failure' => 'MIME konnte nicht festgestellt werden.',
+  'MIME_type_unknown' => 'Unbekannter MIME-Typ',
+  'cant_create_write' => 'Kann zu schreibende Datei nicht erzeugen.',
+  'not_writable' => 'Kann nicht in zu schreibende Datei speichern.',
+  'cant_read_URI' => 'Kann URI/URL nicht lesen',
+  'cant_open_write_file' => 'Kann nicht in URI-Datei schreiben.',
+  'cant_write_write_file' => 'Kann nicht in zu schreibende URI-Datei speichern.',
+  'cant_unzip' => 'Kann nicht entpacken.',
+  'unknown' => 'Unbekannter Fehler',
+  'succ' => 'Erfolgreiche Uploads',
+  'success' => '%s Uploads waren erfolgreich.',
+  'add' => 'Klicke auf \'weiter\', um die Dateien den Alben hinzuzufügen.',
+  'failure' => 'Upload-Fehler',
+  'f_info' => 'Datei-Information',
+  'no_place' => 'Die vorhergehende Datei konnte nicht gesetzt werden.',
+  'yes_place' => 'Die vorhergehende Datei wurde erfolgreich gesetzt.',
+  'max_fsize' => 'Maximal erlaubte Dateigröße ist %s kB',
+  'album' => 'Album',
+  'picture' => 'Datei',
+  'pic_title' => 'Datei-Titel',
+  'description' => 'Datei-Beschreibung',
+  'keywords' => 'Stichworte (Trennung mit Leerzeichen)<br /><a href="#" onClick="return MM_openBrWindow(\'keyword_select.php\',\'selectKey\',\'width=250, height=400, scrollbars=yes,toolbar=no,status=yes,resizable=yes\')">von Liste einfügen</a>', //cpg1.4
+  'keywords_sel' =>'Wähle Schlagwort', //cpg1.4
+  'err_no_alb_uploadables' => 'Leider gibt es kein Album, in das Du Bilder hochladen darfst',
+  'place_instr_1' => 'Bitte Dateien jetzt den Alben zuordnen.  Es können jetzt zusätzliche Angaben zu den Dateien gemacht werden.',
+  'place_instr_2' => 'Es müssen noch mehr Dateien Alben zugeordnet werden. Klicke \'weiter\'!',
+  'process_complete' => 'Alle Dateien wurden erfolgreich Alben zugeordnet.',
+  'albums_no_category' => 'Alben ohne Kategorie', //cpg1.4. //album pulldown mod, added by frogfoot
+  'personal_albums' => '* Persönliche Alben', //cpg1.4 //album pulldown mod, added by frogfoot
+  'select_album' => 'Wähle Album', //cpg1.4 //album pulldown mod, added by frogfoot
+  'close' => 'schliessen', //cpg1.4
+  'no_keywords' => 'Leider keine Schlagworte verfügbar!', //cpg1.4
+  'regenerate_dictionary' => 'Wörterbuch aktualisieren', //cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File usermgr.php
+// ------------------------------------------------------------------------- //
+
+if (defined('USERMGR_PHP')) $lang_usermgr_php = array(
+  'memberlist' => 'Benutzerliste', //cpg1.4
+  'user_manager' => 'Benutzer verwalten', //cpg1.4
+  'title' => 'Benutzer verwalten',
+  'name_a' => 'Name aufsteigend',
+  'name_d' => 'Name absteigend',
+  'group_a' => 'Gruppe aufsteigend',
+  'group_d' => 'Gruppe absteigend',
+  'reg_a' => 'Registrierungsdatum aufsteigend',
+  'reg_d' => 'Registrierungsdatum absteigend',
+  'pic_a' => 'Dateianzahl aufsteigend',
+  'pic_d' => 'Dateianzahl absteigend',
+  'disku_a' => 'Speicherplatz-Verbrauch aufsteigend',
+  'disku_d' => 'Speicherplatz-Verbrauch absteigend',
+  'lv_a' => 'Letzter Seitenbesuch aufsteigendg',
+  'lv_d' => 'Letzter Seitenbesuch absteigend',
+  'sort_by' => 'Benutzer sortieren nach',
+  'err_no_users' => 'Benutzer-Tabelle ist leer!',
+  'err_edit_self' => 'Du kannst Dein eigenes Profil hier nicht bearbeiten, benutze dafür den Link \'mein Profil\'',
+  'edit' => 'bearbeiten', //cpg1.4
+  'with_selected' => 'markierte Benutzer:', //cpg1.4
+  'delete' => 'löschen', //cpg1.4
+  'delete_files_no' => 'Dateien in öffentlichen Alben behalten (aber anonymisieren)', //cpg1.4
+  'delete_files_yes' => 'Dateien in öffentlichen Alben ebenfalls löschen', //cpg1.4
+  'delete_comments_no' => 'Kommentare behalten (aber anonymisieren)', //cpg1.4
+  'delete_comments_yes' => 'Kommentare ebenfalls löschen', //cpg1.4
+  'activate' => 'Aktivieren', //cpg1.4
+  'deactivate' => 'Deaktivieren', //cpg1.4
+  'reset_password' => 'Passwort zurücksetzen', //cpg1.4
+  'change_primary_membergroup' => 'Primäre Mitgliedergruppe ändern', //cpg1.4
+  'add_secondary_membergroup' => 'Sekundäre Mitgliederguppe hinzufügen', //cpg1.4
+  'name' => 'Benutzername',
+  'group' => 'Gruppe',
+  'inactive' => 'Inaktiv',
+  'operations' => 'Aktion',
+  'pictures' => 'Dateien',
+  'disk_space_used' => 'Speicherplatzverbrauch', //cpg1.4
+  'disk_space_quota' => 'Erlaubter Speicherplatz', //cpg1.4
+  'registered_on' => 'Registriert am', //cpg1.4
+  'last_visit' => 'Letzter Seitenbesuch',
+  'u_user_on_p_pages' => '%d Benutzer auf %d Seite(n)',
+  'confirm_del' => 'Willst Du diesen Benutzer wirklich LÖSCHEN? \\nAlle seine Dateien und Alben werden ebenfalls gelöscht.', //js-alert
+  'mail' => 'Mail',
+  'err_unknown_user' => 'Gewählter Benutzer existiert nicht!',
+  'modify_user' => 'Benutzer ändern',
+  'notes' => 'Anmerkungen',
+  'note_list' => '<li>Wenn Du das derzeitige Passwort nicht ändern willst, lasse das Feld "Passwort" leer',
+  'password' => 'Passwort',
+  'user_active' => 'Benutzer ist aktiv',
+  'user_group' => 'Benutzergruppe',
+  'user_email' => 'eMail-Adresse des Benutzers',
+  'user_web_site' => 'Webseite des Benutzers',
+  'create_new_user' => 'neuen Benutzer anlegen',
+  'user_location' => 'Ort',
+  'user_interests' => 'Hobbies/Interessen',
+  'user_occupation' => 'Beruf/Beschäftigung',
+  'user_profile1' => '$user_profile1', //cpg1.4
+  'user_profile2' => '$user_profile2', //cpg1.4
+  'user_profile3' => '$user_profile3', //cpg1.4
+  'user_profile4' => '$user_profile4', //cpg1.4
+  'user_profile5' => '$user_profile5', //cpg1.4
+  'user_profile6' => '$user_profile6', //cpg1.4
+  'latest_upload' => 'neueste Uploads',
+  'never' => 'nie',
+  'search' => 'Nach Benutzer suchen', //cpg1.4
+  'submit' => 'Absenden', //cpg1.4
+  'search_submit' => 'Los!', //cpg1.4
+  'search_result' => 'Resultate durchsuchen nach: ', //cpg1.4
+  'alert_no_selection' => 'Du musst zuerst mindestens einen Benutzer auswählen!', //cpg1.4 //js-alert
+  'password' => 'Passwort', //cpg1.4
+  'select_group' => 'Wähle Gruppe', //cpg1.4
+  'groups_alb_access' => 'Alben-Berechtigung nach Gruppenzugehörigkeit', //cpg1.4
+  'album' => 'Album', //cpg1.4
+  'category' => 'Kategorie', //cpg1.4
+  'modify' => 'Ändern?', //cpg1.4
+  'group_no_access' => 'Diese Gruppe hat keine besondern Berechtigungen', //cpg1.4
+  'notice' => 'Anmerkung', //cpg1.4
+  'group_can_access' => 'Album/Alben, auf das/die nur "%s" zugreifen kann', //cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File util.php
+// ------------------------------------------------------------------------- //
+
+if (defined('UTIL_PHP')) {
+$lang_util_desc_php = array(
+'Erzeugt Titel aus Dateinamen', //cpg1.4
+'Löscht Titel', //cpg1.4
+'Erneuert Thumbnails und Dateien in Zwischengröße gemäß aktuellen Einstellungen', //cpg1.4
+'Löscht Bilder in Original-Größe und ersetzt sie mit Bildern in Zwischengröße', //cpg1.4
+'Löscht Bilder in Originalgrösse oder Zwischengrösse, um Speicherplatz frei zu geben', //cpg1.4
+'Löscht verwaiste Kommentare', //cpg1.4
+'Liest Dateigrössen und Dimensionen erneut ein (falls Du Bilder manuell bearbeitet hast)', //cpg1.4
+'Setzt Hits-Zähler zurück', //cpg1.4
+'Zeigt phpinfo an', //cpg1.4
+'Aktualisert die Datenbank', //cpg1.4
+'Zeigt Log-Dateien an', //cpg1.4
+);
+$lang_util_php = array(
+  'title' => 'Admin-Werkzeuge (Größe ändern)',
+  'what_it_does' => 'Was macht dieses Tool',
+  'file' => 'Datei',
+  'problem' => 'Problem', //cpg1.4
+  'status' => 'Status', //cpg1.4
+  'title_set_to' => 'Ändere Titel auf',
+  'submit_form' => 'los',
+  'updated_succesfully' => 'erfolgreich geändert',
+  'error_create' => 'FEHLER beim Erzeugen von',
+  'continue' => 'Mehr Bilder durchlaufen',
+  'main_success' => 'Die Datei %s wurde erfolgreich als Hauptbild benutzt',
+  'error_rename' => 'Fehler beim Umbenennen von %s zu %s',
+  'error_not_found' => 'Die Datei %s wurde nicht gefunden',
+  'back' => 'zurück zur Auswahl',
+  'thumbs_wait' => 'Aktualisiere Thumbnails und/oder Bilder in Zwischengröße, bitte warten...',
+  'thumbs_continue_wait' => 'Fortfahren mit der Aktualisierung der Thumbnails und/oder Bilder in Zwischengröße...',
+  'titles_wait' => 'Aktualisiere Überschriften, bitte warten...',
+  'delete_wait' => 'Lösche Überschriften, bitte warten...',
+  'replace_wait' => 'Lösche Originale und ersetze sie mit Bilder in Zwischengröße, bitte warten...',
+  'instruction' => 'Kurzanleitung',
+  'instruction_action' => 'Wähle Aktion',
+  'instruction_parameter' => 'Wähle Parameter',
+  'instruction_album' => 'Wähle Album',
+  'instruction_press' => 'Klicke %s',
+  'update' => 'Thumbnails und/oder Bilder in Zwischengröße aktualisieren',
+  'update_what' => 'Was soll aktualisiert werden',
+  'update_thumb' => 'Nur Thumbnails',
+  'update_pic' => 'Nur Bilder in Zwischengröße',
+  'update_both' => 'Sowohl Thumbnails als auch Bilder in Zwischengröße',
+  'update_number' => 'Anzahl der Bilder, die pro Klick aktualisiert werden sollen',
+  'update_option' => '(Verringere diesen Wert, wenn &quot;Time-Out&quot;-Probleme auftreten sollten)',
+  'filename_title' => 'Dateiname &rArr; Bild-Überschrift',
+  'filename_how' => 'Wie soll der Titel modifiziert werden',
+  'filename_remove' => 'Entferne die Endung .jpg und ersetze _ (Unterstrich) mit Leerzeichen',
+  'filename_euro' => 'Ändere 2003_11_23_13_20_20.jpg zu 23/11/2003 13:20',
+  'filename_us' => 'Ändere 2003_11_23_13_20_20.jpg zu 11/23/2003 13:20',
+  'filename_time' => 'Ändere 2003_11_23_13_20_20.jpg zu 13:20',
+  'delete' => 'Lösche Bild-Überschriften oder Bilder in Original-Größe',
+  'delete_title' => 'Bild-Überschriften löschen',
+  'delete_title_explanation' => 'Diese Option löscht alle Titel von allen Dateien in dem angegebenen Album.', //cpg1.4
+  'delete_original' => 'Bilder in Original-Größe löschen',
+  'delete_original_explanation' => 'Diese Option entfernt die Bilder in Originalgröße.', //cpg1.4
+  'delete_intermediate' => 'Bilder in Zwischengröße löschen', //cpg1.4
+  'delete_intermediate_explanation' => 'Diese Option löscht alle Bilder in Zwischengröße (normal_).<br />Empfohlen, um Speicherplatz freizugeben, wenn die Option \'Bilder in Zwischengröße erzeugen\' in den Coppermine-Einstellungen deaktiviert wurde NACHDEM Bilder zur Datenbank hinzugefügt wurden.', //cpg1.4
+  'delete_replace' => 'Lösche die Original-Bilder und ersetze sie mit Bilder in Zwischengröße',
+  'titles_deleted' => 'Alle Titel in dem angegebenen Album werden gelöscht', //cpg1.4
+  'deleting_intermediates' => 'Lösche Bilder in Zwischengröße, bitte warten...', //cpg1.4
+  'searching_orphans' => 'Suche nach verwaisten Einträgen, bitte warten...', //cpg1.4
+  'select_album' => 'Wähle Album',
+  'delete_orphans' => 'Verwaiste Kommentare löschen', //cpg1.4
+  'delete_orphans_explanation' => 'Diese Option identifiziert und löscht Kommentare, die mit Dateien verknüpft sind, die nicht mehr in der Datenbank vorhanden sind.<br />Durchläuft alle Alben.', //cpg1.4
+  'refresh_db' => 'Informationen über Dateigrößen und -abmessungen erneuern.', //cpg1.4
+  'refresh_db_explanation' => 'Diese Option liest die Dateigrößen und -abmessungen erneut ein. Benutze sie, wenn die Speicherplatz-Anzeige unkorrekt erscheint oder wenn Du die Dateien manuell verändert hast..', //cpg1.4
+  'reset_views' => 'Hits-Zähler zurücksetzen', //cpg1.4
+  'reset_views_explanation' => 'Setzt alle "Datei x mal angesehen" Zähler auf Null im angegebenen Album.', //cpg1.4
+  'orphan_comment' => 'verwaiste Kommentare gefunden',
+  'delete' => 'löschen',
+  'delete_all' => 'alle löschen',
+  'delete_all_orphans' => 'Alle verwaisten Kommentare löschen?', //cpg1.4
+  'comment' => 'Kommentar: ',
+  'nonexist' => 'Bezug auf nicht-existierende Datei # ',
+  'phpinfo' => 'phpinfo anzeigen',
+  'phpinfo_explanation' => 'Zeigt technische Informationen über Deinen Server an.<br /> - Möglicherweise wirst Du nach diesen Informationen gefragt, wenn Du im Coppermine-Forum um Hilfe bittest.', //cpg1.4
+  'update_db' => 'Datenbank aktualisieren',
+  'update_db_explanation' => 'Wenn Du Coppermine-Dateien ersetzt hast, eine Modifikation oder ein Upgrade von einer frühreren Version von Coppermine durchgeführt hast, lasse diese Datenbank-Aktualisierung einmal laufen, um die möglicherweise notwendigen Änderungen an der Datenbank durchzuführen bzw. fehlende Tabellen zu erzeugen.',
+  'view_log' => 'Log-Dateien anzeigen', //cpg1.4
+  'view_log_explanation' => 'Coppermine kann verschiedene Benutzer-Aktionen protokollieren. Diese Protokolle können hier angesehen werden, wenn die Aufzeichnung von Log-Dateien in den Coppermine-<a href="admin.php">Einstellungen</a> aktiviert wurde.', //cpg1.4
+  'versioncheck' => 'Versions-Check', //cpg1.4
+  'versioncheck_explanation' => 'Überprüfe die Versionen Deiner Dateien um herauszufinden, ob alle Dateien bei einem Update korrekt ersetzt wurden, oder ob die Coppermine-Dateien nach der Veröffentlichung eines Pakets aktualisiert wurden.', //cpg1.4
+  'bridgemanager' => 'Bridge-Assistent', //cpg1.4
+  'bridgemanager_explanation' => 'Assistent zur Integration der Benutzerverwaltung von Coppermine mit einer anderen Applikation (z.B. einem Forum) - sogenanntes "Bridging".', //cpg1.4
+);
+}
+
+// ------------------------------------------------------------------------- //
+// File versioncheck.php //cpg1.4
+// ------------------------------------------------------------------------- //
+
+if (defined('VERSIONCHECK_PHP')) $lang_versioncheck_php = array(
+  'title' => 'Versions-Check', //cpg1.4
+  'what_it_does' => 'Diese Seite ist für Benutzer gedacht, die ihre Version von Coppermine aktualisiert haben. Dieses Skript durchläuft alle Dateien auf dem Webserver und versucht festzustellen, ob Deine lokalen Dateiversionen mit denen der Referenz auf http://coppermine.sourceforge.net übereinstimmen. Dadurch werden die Dateien, die irrtümlich nicht aktualisiert wurden angezeigt.<br />Alles, was korrigiert werden muss wird in rot angezeigt. Einträge in gelb müssen einer näheren Betrachtung unterzogen werden. Einträge in grün (oder Deiner Standard-Schriftfarbe) sind OK.<br />Klicke auf die Hilfe-Icons für Details.', //cpg1.4
+  'online_repository_unable' => 'Konnte nicht mit Referenz-Datei abgleichen', //cpg1.4
+  'online_repository_noconnect' => 'Coppermine konnte sich nicht mit der Referenz-Datei abzugleichen. Dies kann 2 Gründe haben:', //cpg1.4
+  'online_repository_reason1' => 'die Referenzdatei ist derzeit nicht online - überprüfe, ob Du mit dem Browser diese Seite anzeigen kannst: %s - falls nicht, versuche später noch einmal, den Versions-Check durchzuführen.', //cpg1.4
+  'online_repository_reason2' => 'Auf Deinem Webserver ist PHP so konfiguriert, dass %s deaktiviert ist (Standard-mässig ist diese Option aktiviert). Falls Du den Webserver administrieren kannst, aktiviere diese Option in Deiner <i>php.ini</i> (erlaube zumindest, dass die globale Einstellung mit %s temporär umgangen werden kann). Falls Du jedoch auf einem fremden Server gehostet bist musst Du wahrscheinlich damit leben, dass Du Deine Dateien nicht online vergleichen kannst. In diesem Fall wird diese Seite nur die Dateiversionen mit denen der Ditribution vergleichen - spätere Updates werden nicht in Betracht gezogen.', //cpg1.4
+  'online_repository_skipped' => 'Verbindung mit der Referenz-Datei übersprungen', //cpg1.4
+  'online_repository_to_local' => 'Das Skript benutzt jetzt die lokale Kopie der Versions-Dateien. Die Daten sind möglicherweise ungenau, falls Du Coppermine aktualisiert und nicht alle Dateien hochgeladen hast. Änderungen an Dateiversionen, die nach der Veröffentlichung des Pakets vorgenommen wurden werden nicht berücksichtigt.', //cpg1.4
+  'local_repository_unable' => 'Das Skript konnte sich nicht mit der Referenzdatei auf Deinem Server verbinden', //cpg1.4
+  'local_repository_explanation' => 'Coppermine konnte sich nicht mit der Refernzdatei %s auf Deinem Webserver verbinden. Das bedeutet wahrscheinlich, dass Du die Refernzdatei nicht auf den Server hochgeladen hast. Erledige das nun und versuche dann, diese Seite erneut zu laden (klicke auf "aktualisieren").<br />Falls das immer noch fehl schlägt, dann hat Dein Webhost möglicherweise Teile der <a href="http://www.php.net/manual/de/ref.filesystem.php">Dateifunktionen von PHP</a> komplett deaktiviert. In diesem Fall kannst Du dieses Tool leider gar nicht benutzen.', //cpg1.4
+  'coppermine_version_header' => 'Installierte Coppermine-Version', //cpg1.4
+  'coppermine_version_info' => 'Du hast derzeit installiert: %s', //cpg1.4
+  'coppermine_version_explanation' => 'Falls Du der Meinung sein solltest, dass das falsch ist und Du eine neuere Version von Coppermine haben solltest, dann hast Du wahrscheinlich nicht die aktuellste Version der Datei <i>include/init.inc.php</i> hochgeladen', //cpg1.4
+  'version_comparison' => 'Versions-Vergleich', //cpg1.4
+  'folder_file' => 'Verzeichnis/Datei', //cpg1.4
+  'coppermine_version' => 'cpg-Version', //cpg1.4
+  'file_version' => 'Datei-Version', //cpg1.4
+  'webcvs' => 'web svn', //cpg1.4
+  'writable' => 'beschreibbar', //cpg1.4
+  'not_writable' => 'nicht beschreibbar', //cpg1.4
+  'help' => 'Hilfe', //cpg1.4
+  'help_file_not_exist_optional1' => 'Datei/Verzeichnis existiert nicht', //cpg1.4
+  'help_file_not_exist_optional2' => 'Die Datei / das Verzeichnis %s wurde auf Deinem Server nicht  gefunden. Obwohl sie optional ist solltest Du sie auf Deinen Server hochladen (benutze dazu Dein FTP-Programm), zumindest wenn Probleme auftreten.', //cpg1.4
+  'help_file_not_exist_mandatory1' => 'Datei/Verzeichnis existiert nicht', //cpg1.4
+  'help_file_not_exist_mandatory2' => 'Datei/Verzeichnis %s wurde auf dem Server nicht gefunden, obwohl es zwingend benötigt wird. Lade die Datei (mit Hilfe Deines FTP-Programms) auf Deinen Webserver hoch..', //cpg1.4
+  'help_no_local_version1' => 'Keine lokale Dateiversion', //cpg1.4
+  'help_no_local_version2' => 'Das Skript konnte die Versionsinformation aus der lokalen Datei-Version nicht extrahieren - Deine Datei ist entweder veraltet, oder Du hast die Datei verändert und dabei den Datei-Header geändert. Es ist empfehlenswert, die Datei zu aktualisieren.', //cpg1.4
+  'help_local_version_outdated1' => 'Lokale Version veraltet', //cpg1.4
+  'help_local_version_outdated2' => 'Deine Version der Datei scheint von einer älteren Version von Coppermine zu stammen (Du hast wahrscheinlich ein Upgrade durchgeführt). Ersetze auch diese Datei mit der aktuelleren Version.', //cpg1.4
+  'help_local_version_na1' => 'Konnte SVN-Versions-Information nicht extrahieren', //cpg1.4
+  'help_local_version_na2' => 'Das Skript konnte die SVN-Versions-Information nicht aus der lokalen Datei auf Deinem Webserver extrahieren. Du solltest diese Datei aktualisieren.', //cpg1.4
+  'help_local_version_dev1' => 'Entwicklungs-Version', //cpg1.4
+  'help_local_version_dev2' => 'Die Datei auf Deinem Webserver scheint neuer zu sein als Deine Coppermine-Version. Du benutzt entweder eine Entwicklungs-Version (nur empfohlen für erfahrene Anwender), oder Du hast Deine Coppermine-Installation aktualisiert und die Datei include/init.inc.php nicht hochgeladen.', //cpg1.4
+  'help_not_writable1' => 'Verzeichnis nicht beschreibbar', //cpg1.4
+  'help_not_writable2' => 'Ändere die Berechtigungen (CHMOD), um dem Skript Schreibrechte auf den Ordner %s und alles darin befindliche zu gewähren.', //cpg1.4
+  'help_writable1' => 'Verzeichnis beschreibbar', //cpg1.4
+  'help_writable2' => 'Das Verzeichnis %s ist beschreibbar. Dies stellt ein unnötiges Sicherheitsrisiko dar, Coppermine benötigt nur Lese- und Ausführungsrechte.', //cpg1.4
+  'help_writable_undetermined' => 'Das Skript konnte nicht feststellen, ob das Verzeichnis beschreibbar ist.', //cpg1.4
+  'your_file' => 'Deine Datei', //cpg1.4
+  'reference_file' => 'Referenz-Datei', //cpg1.4
+  'summary' => 'Zusammenfassung', //cpg1.4
+  'total' => 'Summe der überprüften Verzeichnisse/Dateien', //cpg1.4
+  'mandatory_files_missing' => 'Fehlende verbindlich benötigte Dateien', //cpg1.4
+  'optional_files_missing' => 'Fehlende optionale Dateien', //cpg1.4
+  'files_from_older_version' => 'Dateien, die von veralteten Coppermine-Versionen stammen', //cpg1.4
+  'file_version_outdated' => 'Veraltete Datei-Versionen', //cpg1.4
+  'error_no_data' => 'Das Skript hat einen Fehler verursacht und konnte keine Versionsinformationen auslesen. Sorry.', //cpg1.4
+  'go_to_webcvs' => 'gehe zu %s', //cpg1.4
+  'options' => 'Optionen', //cpg1.4
+  'show_optional_files' => 'optionale Verzeichnisse/Dateien anzeigen', //cpg1.4
+  'show_mandatory_files' => 'verbindlich benötigte Dateien anzeigen', //cpg1.4
+  'show_file_versions' => 'Dateiversionen anzeigen', //cpg1.4
+  'show_errors_only' => 'Nur Verzeichnisse und Dateien mit Fehlern anzeigen', //cpg1.4
+  'show_permissions' => 'Berechtigungen anzeigen', //cpg1.4
+  'show_condensed_output' => 'Reduzierte Ausgabe (zur einfacheren Erstellung von Screenshots)', //cpg1.4
+  'coppermine_in_webroot' => 'Coppermine ist im Wurzelverzeichnis der Domäne installiert', //cpg1.4
+  'connect_online_repository' => 'Verbindungsaufbau zur Referenzdatei versuchen', //cpg1.4
+  'show_additional_information' => 'Zusatzinformationen anzeigen', //cpg1.4
+  'no_webcvs_link' => 'Web-CVS-Links nicht anzeigen', //cpg1.4
+  'stable_webcvs_link' => 'Web-CVS-Links zur "stable-branch" anzeigen', //cpg1.4
+  'devel_webcvs_link' => 'Web-CVS-Links zur "devel-branch" anzeigen', //cpg1.4
+  'submit' => 'Änderungen durchführen / aktualisieren', //cpg1.4
+  'reset_to_defaults' => 'Standard-Einstellungen wieder herstellen', //cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File view_log.php  //cpg1.4
+// ------------------------------------------------------------------------- //
+
+if (defined('VIEWLOG_PHP')) $lang_viewlog_php = array(
+  'delete_all' => 'Alle Logs löschen', //cpg1.4
+  'delete_this' => 'Dieses Log löschen', //cpg1.4
+  'view_logs' => 'Logs anzeigen', //cpg1.4
+  'no_logs' => 'Keine Logs vorhanden', //cpg1.4
+);
+
+
+// ------------------------------------------------------------------------- //
+// File xp_publish.php //cpg1.4
+// ------------------------------------------------------------------------- //
+
+if (defined('XP_PUBLISH_PHP')) {
+
+$lang_xp_publish_client = <<<EOT
+<h1>XP Web Publishing Assistent</h1><p>Dieses Modul ermöglicht es, den <b>Windows XP</b> web publishing Assistenten mit Coppermine zu benutzen.</p><p>Der zugrunde liegende Code basiert auf einem Artikel von
+EOT;
+
+$lang_xp_publish_required = <<<EOT
+<h2>Was wird benötigt</h2><ul><li>Windows XP, damit der Assistent zur Verfügung steht.</li><li>Eine funktionierende Coppermine-Installation, bei der das Hochladen von Dateien funktioniert.</b></li></ul><h2>Wie installiere ich die nötige Software auf meinem Rechner</h2><ul><li>Rechts-Klicke auf
+EOT;
+
+$lang_xp_publish_select = <<<EOT
+Wähle &quot;Zeil speichern unter..&quot;. Speichere die Datei auf Deiner Festplatte. Überprüfe beim Speichern, dass der vorgeschlagene Name  <b>cpg_###.reg</b> lautet (die ###-Symbole repräsentieren einen numerischen Zeitstempel). Ändere ggf. den Namen ab (aber lasse die Zahlen so, wie sie sind). Nach erfolgtem Download, doppelklicke auf die heruntergeladene Datei, um den Coppermine-Server beim Web Publishing-Assistenten zu registrieren.</li></ul>
+EOT;
+
+$lang_xp_publish_testing = <<<EOT
+<h2>Testen</h2><ul><li>Markiere einige Grafik-Dateien im Windows Explorer und klicke dann auf <b>xxx im Internet veröffentlichen</b> in der linken Leiste des Explorers.</li><li>Bestätige Deine Dateiauswahl. Klicke auf <b>weiter</b>.</li><li>In der Liste der zur Verfügung stehenden Dienste, wähle Deine Foto-Galerie (der Eintrag hat den Namen Deiner Galerie). Falls der Diesnt nicht erscheint, überprüfe, ob Du <b>cpg_pub_wizard.reg</b> wie oben beschrieben installiert hast.</li><li>Gib Deine Zugangsinformationen ein, falls notwendig.</li><li>Wähle ein Album als Ziel der Bilder oder erzeuge ein neues Album.</li><li>Klicke auf <b>weiter</b>. Der Upload Deiner Bilder startet jetzt.</li><li>Wenn der Upload beendet ist, überprüfe auf der Galerie-Seite, dass alle Bilder korrekt hochgeladen wurden.</li></ul>
+EOT;
+
+$lang_xp_publish_notes = <<<EOT
+<h2>Anmerkungen :</h2><ul><li>Wenn der Upload-Vorgang erst einmal gestartet ist kann der Assistent keine Fehlermeldungen anzeigen, die vom Skript generiert werden; daher kann man nicht wissen, ob ein Upload erfolgreich war oder nicht, außer durch Besuch der Coppermine-Galerie.</li><li>Wenn ein Upload fehlschlägt, aktiviere den &quot;Debug-Modus&quot; in den Coppermine-Einstellungen, lade ein einzelnes Bild hoch und überprüfe dann die Fehlermeldungen in der
+EOT;
+
+$lang_xp_publish_flood = <<<EOT
+Datei, die im Coppermine-Verzeichnis auf Deinem Server liegt.</li><li>Um zu vermeiden, dass die Galerie überflutet wird mit Uploads durch den Assistenten können nur die <b>Administratoren der Galerie</b> und <b>Benutzer, die eigene Alben haben dürfen</b> dieses Feature nutzen.</li>
+EOT;
+
+
+
+$lang_xp_publish_php = array(
+  'title' => 'Coppermine - XP Web Publishing Assistent', //cpg1.4
+  'welcome' => 'Willkommen <b>%s</b>,', //cpg1.4
+  'need_login' => 'Um diesen Assistenten zu nutzen musst Du Dich bei der Galerie mit Hilfe Deines Browsers (IE) anmelden.<p/><p>Vergiss nicht, die Option &quot;<b>Immer angemeldet bleiben</b>&quot; bei der Anmeldung zu aktivieren, wenn vorhanden.', //cpg1.4
+  'no_alb' => 'Leider gibt es keine Alben, in die Du berechtigt bist mit diesem Assistenten Bilder hochzuladen.', //cpg1.4
+  'upload' => 'Lade Deine Bilder in ein bestehendes Album hoch', //cpg1.4
+  'create_new' => 'Erstelle ein neues Album für Deine Bilder', //cpg1.4
+  'album' => 'Album', //cpg1.4
+  'category' => 'Kategorie', //cpg1.4
+  'new_alb_created' => 'Dein neues Album &quot;<b>%s</b>&quot; wurde erstellt.', //cpg1.4
+  'continue' => 'Klicke auf &quot;Weiter&quot;, um Deine Bilder hochzuladen', //cpg1.4
+  'link' => 'dieser Link', //cpg1.4
+);
+}
 ?>
\ No newline at end of file
diff -x .svn -aruN 1.4.24.src/lang/german_sie.php 1.4.25.src/lang/german_sie.php
--- 1.4.24.src/lang/german_sie.php	2009-05-25 15:01:17.000000000 -0500
+++ 1.4.25.src/lang/german_sie.php	2009-05-26 11:25:40.000000000 -0500
@@ -1,2109 +1,2109 @@
-<?php
-/*************************
-  Coppermine Photo Gallery
-  ************************
-  Copyright (c) 2003-2009 Coppermine Dev Team
-  v1.1 originally written by Gregory DEMAR
-
-  This program is free software; you can redistribute it and/or modify
-  it under the terms of the GNU General Public License version 3
-  as published by the Free Software Foundation.
-  
-  ********************************************
-  Coppermine version: 1.4.24
-  $HeadURL: https://coppermine.svn.sourceforge.net/svnroot/coppermine/trunk/cpg1.4.x/lang/german_sie.php $
-  $Revision: 5988 $
-  $Author: gaugau $
-  $Date: 2009-05-25 22:01:41 +0200 (Mo, 25 Mai 2009) $
-**********************************************/
-
-if (!defined('IN_COPPERMINE')) { die('Not in Coppermine...');}
-
-// info about translators and translated language
-$lang_translation_info = array(
-  'lang_name_english' => 'German (formal)', //cpg1.4
-  'lang_name_native' => 'Deutsch (Sie)', //cpg1.4
-  'lang_country_code' => 'de', //cpg1.4
-  'trans_name'=> 'Andi',
-  'trans_email' => 'info@pragmamx.org',
-  'trans_website' => 'http://pragmamx.org/',
-  'trans_date' => '2005-10-29',
-);
-
-// mx charset converted //
-$lang_charset = 'utf-8';
-$lang_text_dir = 'ltr'; // ('ltr' for left to right, 'rtl' for right to left)// shortcuts for Byte, Kilo, Mega
-$lang_byte_units = array('Bytes', 'KB', 'MB');
-
-// Day of weeks and months
-$lang_day_of_week = array('So', 'Mo', 'Di', 'Mi', 'Do', 'Fr', 'Sa');
-$lang_month = array('Januar', 'Februar', 'März', 'April', 'Mai', 'Juni', 'Juli', 'August', 'September', 'Oktober', 'November', 'Dezember');
-
-// Some common strings
-$lang_yes = 'Ja';
-$lang_no  = 'Nein';
-$lang_back = 'zurück';
-$lang_continue = 'weiter';
-$lang_info = 'Information';
-$lang_error = 'Fehler';
-$lang_check_uncheck_all = 'alle selektieren/de-selektieren'; //cpg1.4
-
-// The various date formats
-// See http://www.php.net/manual/en/function.strftime.php to define the variable below
-$album_date_fmt =    '%d.%B %Y';
-$lastcom_date_fmt =  '%d.%m.%y um %H:%M';
-$lastup_date_fmt = '%d.%B %Y';
-$register_date_fmt = '%d.%B %Y';
-$lasthit_date_fmt = '%d.%B %Y um %H:%M';
-$comment_date_fmt =  '%d.%B %Y um %H:%M';
-$log_date_fmt = '%d.%B %Y um %H:%M'; //cpg1.4
-
-// For the word censor
-$lang_bad_words = array('*fuck*', 'Fu\(*', 'fuk*', 'masturbat*', 'motherfucker', 'nigger*', 'penis', 'pussy', 'shit', 'titties', 'titty',  'arsch*', 'fick*', 'fotze', 'votze', 'Sieg Heil', 'Heil Hitler', 'Nutte', 'Möse', 'Moese', 'Pimmel', 'Schwengel', 'Titte*', 'bums*', 'Scheiss*', 'Scheiß*');
-
-$lang_meta_album_names = array(
-  'random' => 'Zufalls-Bilder',
-  'lastup' => 'neueste Dateien',
-  'lastalb'=> 'Zuletzt aktualisierte Alben',
-  'lastcom' => 'neueste Kommentare',
-  'topn' => 'am meisten angesehen',
-  'toprated' => 'am besten bewertet',
-  'lasthits' => 'zuletzt angesehen',
-  'search' => 'Suchergebnisse',
-  'favpics'=> 'Favoriten',  //cpg1.4
-);
-
-$lang_errors = array(
-  'access_denied' => 'Sie haben kein Recht, diese Seite anzusehen.',
-  'perm_denied' => 'Sie haben nicht das Recht, diese Operation auszuführen.',
-  'param_missing' => 'Das Skript wurde ohne den/die erforderlichen Parameter aufgerufen.',
-  'non_exist_ap' => 'Das gewählte Album bzw. die gewählte Datei existiert nicht!',
-  'quota_exceeded' => 'Speicherplatz erschöpft<br /><br />Sie haben ein Speicherlimit von [quota] kB, Ihre Dateien belegen zur Zeit [space] kB, das Hinzufügen dieser Datei würde Ihren Speicherplatz überschreiten.',
-  'gd_file_type_err' => 'Bei Verwendung der GD-Bibliothek sind nur die Dateitypen JPG und PNG erlaubt.',
-  'invalid_image' => 'Das Bild, das Sie hochgeladen haben, ist beschädigt oder kann nicht von der GD-Bibliothek verarbeitet werden',
-  'resize_failed' => 'Kann Thumbnail nicht erzeugen.',
-  'no_img_to_display' => 'Keine Datei zum Anzeigen vorhanden (oder Sie haben keine Berechtigung, das Album zu sehen)',
-  'non_exist_cat' => 'Die gewählte Kategorie existiert nicht',
-  'orphan_cat' => 'Eine Kategorie besitzt ein nicht-existierendes Eltern-Element, benutzen Sie den Kategorie-Manager, um das Problem zu beheben.',
-  'directory_ro' => 'Das Verzeichnis \'%s\' ist nicht beschreibbar, die Dateien können nicht gelöscht werden',
-  'non_exist_comment' => 'Der gewählte Kommentar existiert nicht.',
-  'pic_in_invalid_album' => 'Die Datei befindet sich in einem nicht-existierenden Album (%s)!?',
-  'banned' => 'Sie sind zur Zeit von dieser Seite verbannt.',
-  'not_with_udb' => 'Diese Funktion ist innerhalb von Coppermine deaktiviert, weil sie in die Forums-Software integriert ist. Entweder wird das, was Sie gerade zu tun versucht haben, in dieser Konfiguration nicht unterstützt oder die Funktion sollte von der Forums-Software übernommen werden.',
-  'offline_title' => 'Wartungsmodus',
-  'offline_text' => 'Die Galerie ist zur Zeit im Wartungsmodus - schauen Sie bitte später nochmal vorbei!', //cpg1.3.0
-  'ecards_empty' => 'Es können derzeit keine eCard-Einträge gefunden werden. Überprüfen Sie, ob die Aufzeichung von eCards in den Einstellungen aktivert wurde!',
-  'action_failed' => 'Aktion fehlgeschlagen. Coppermine konnte die gewünschte Aktion nicht ausführen.', //cpg1.3.0
-  'no_zip' => 'Die zum Verarbeiten von ZIP-Dateien notwendigen libraries sind auf dem Server nicht verfügbar. Setzen Sie sich mit dem Server-Admin in Verbindung.',
-  'zip_type' => 'Keine Berechtigung für den Upload von ZIP-Dateien.',
-  'database_query' => 'Beim Ausführen einer Datenbank-Abfrage ist ein Fehler aufgetreten', //cpg1.4
-  'register_globals_on' => 'Die PHP-Einstellung register_globals ist auf Ihrem Server aktiviert, was keine sehr gute Idee ist in Sachen Sicherheit. Es wird wärmstens empfohlen, diese Einstellung zu deaktivieren. [<a href="http://forum.coppermine-gallery.net/index.php/topic,59569.0.html" rel="external" class="external">mehr</a>]',
-);
-
-$lang_bbcode_help_title = 'Bulletin Board code Hilfe'; //cpg1.4
-$lang_bbcode_help = 'Sie können klickbare Links und Formatierung in diesem Feld anwenden durch die Verwendung folgender bbcode-Befehle: <li>[b]Fett[/b] =&gt; <b>Fett</b></li><li>[i]Kursiv[/i] =&gt; <i>Kursiv</i></li><li>[url=http://meineseite.com/]Url Text[/url] =&gt; <a href="http://meineseite.com">Url Text</a></li><li>[email]benutzer@domain.com[/email] =&gt; <a href="mailto:benutzer@domain.com">benutzer@domain.com</a></li><li>[color=red]Beispieltext[/color] =&gt; <span style="color:red">Beispieltext</span></li><li>[img]http://coppermine-gallery.net/demo/cpg14x/images/red.gif[/img] => <img src="../images/red.gif" border="0" alt="" /></li>'; //cpg1.4
-
-// ------------------------------------------------------------------------- //
-// File theme.php
-// ------------------------------------------------------------------------- //
-
-$lang_main_menu = array(
-  'home_title' => 'Gehe zur Startseite',
-  'home_lnk' => 'Startseite',
-  'alb_list_title' => 'Gehe zur Alben-Liste',
-  'alb_list_lnk' => 'Alben-Liste',
-  'my_gal_title' => 'Gehe zu meiner persönlichen Galerie',
-  'my_gal_lnk' => 'Meine Galerie',
-  'my_prof_title' => 'Gehe zu meinem Profil', //cpg1.4
-  'my_prof_lnk' => 'Mein Profil',
-  'adm_mode_title' => 'In den Admin-Modus wechseln',
-  'adm_mode_lnk' => 'Admin-Modus',
-  'usr_mode_title' => 'In den Benutzer-Modus wechseln',
-  'usr_mode_lnk' => 'Benutzer-Modus',
-  'upload_pic_title' => 'Datei in ein Album hochladen',
-  'upload_pic_lnk' => 'Datei hochladen',
-  'register_title' => 'Erzeuge ein Benutzerkonto',
-  'register_lnk' => 'Registrieren',
-  'login_title' => 'melde mich an', //cpg1.4
-  'login_lnk' => 'Anmelden',
-  'logout_title' => 'Melde mich ab', //cpg1.4
-  'logout_lnk' => 'Abmelden',
-  'lastup_title' => 'Zeige neueste Uploads an', //cpg1.4
-  'lastup_lnk' => 'Neueste Uploads',
-  'lastcom_title' => 'Zeige die neuesten Kommentare an', //cpg1.4
-  'lastcom_lnk' => 'Neueste Kommentare',
-  'topn_title' => 'Zeige die am meisten angesehenen Dateien an', //cpg1.4
-  'topn_lnk' => 'Am meisten angesehen',
-  'toprated_title' => 'Zeige die am besten bewerteten Dateien an', //cpg1.4
-  'toprated_lnk' => 'Am besten bewertet',
-  'search_title' => 'Durchsuche die Galerie', //cpg1.4
-  'search_lnk' => 'Suche',
-  'fav_title' => 'Zeige meine Favoriten an', //cpg1.4
-  'fav_lnk' => 'Meine Favoriten',
-  'memberlist_title' => 'Benutzerliste anzeigen',
-  'memberlist_lnk' => 'Benutzerliste',
-  'faq_title' => 'Häufig gestellte Fragen (Frequently Asked Questions) zur Galerie &quot;Coppermine&quot;',
-  'faq_lnk' => 'FAQ',
-);
-
-$lang_gallery_admin_menu = array(
-  'upl_app_title' => 'Neu hochgeladene Dateien bestätigen', //cpg1.4
-  'upl_app_lnk' => 'Upload-Bestätigung',
-  'admin_title' => 'Gehe zur Konfiguration', //cpg1.4
-  'admin_lnk' => 'Einstellungen', //cpg1.4
-  'albums_title' => 'Gehe zur Alben-Konfiguration', //cpg1.4
-  'albums_lnk' => 'Alben',
-  'categories_title' => 'Gehe zur Kategorien-Konfiguration', //cpg1.4
-  'categories_lnk' => 'Kategorien',
-  'users_title' => 'Gehe zur Benutzer-Konfiguration', //cpg1.4
-  'users_lnk' => 'Benutzer',
-  'groups_title' => 'Gehe zur Gruppen-Konfiguration', //cpg1.4
-  'groups_lnk' => 'Gruppen',
-  'comments_title' => 'Zeige alle Kommentare zur Bearbeitung an', //cpg1.4
-  'comments_lnk' => 'Kommentare bearbeiten',
-  'searchnew_title' => 'Gehe zur Stapel-Bearbeitung hochgeladener Dateien', //cpg1.4
-  'searchnew_lnk' => 'Batch-hinzufügen',
-  'util_title' => 'Gehe zu den Admin-Werkzeugen', //cpg1.4
-  'util_lnk' => 'Admin-Werkzeuge',
-  'key_title' => 'Gehe zum Schlagwort-Register', //cpg1.4
-  'key_lnk' => 'Schlagwort-Register', //cpg1.4
-  'ban_title' => 'Gehe zur Konfiguration der Verbannungen', //cpg1.4
-  'ban_lnk' => 'Benutzer verbannen',
-  'db_ecard_title' => 'Bisher gesendete eCards anzeigen', //cpg1.4
-  'db_ecard_lnk' => 'eCards anzeigen',
-  'pictures_title' => 'Bestimme die Reihenfolge von Bildern in Alben', //cpg1.4
-  'pictures_lnk' => 'Meine Bilder sortieren', //cpg1.4
-  'documentation_lnk' => 'Dokumentation', //cpg1.4
-  'documentation_title' => 'Coppermine-Handbuch', //cpg1.4
-);
-
-$lang_user_admin_menu = array(
-  'albmgr_title' => 'Meine Alben erzeugen/anordnen', //cpg1.4
-  'albmgr_lnk' => 'Alben erzeugen/anordnen',
-  'modifyalb_title' => 'Meine Alben bearbeiten',  //cpg1.4
-  'modifyalb_lnk' => 'Meine Alben bearbeiten',
-  'my_prof_title' => 'gehe zu meinem persönlichen Profil', //cpg1.4
-  'my_prof_lnk' => 'Mein Profil',
-);
-
-$lang_cat_list = array(
-  'category' => 'Kategorie',
-  'albums' => 'Alben',
-  'pictures' => 'Dateien',
-);
-
-$lang_album_list = array(
-  'album_on_page' => '%d Alben auf %d Seite(n)',
-);
-
-$lang_thumb_view = array(
-  'date' => 'Datum',
-  //Sort by filename and title
-  'name' => 'Dateiname',
-  'title' => 'Titel',
-  'sort_da' => 'Aufsteigend nach Datum sortieren',
-  'sort_dd' => 'Absteigend nach Datum sortieren',
-  'sort_na' => 'Aufsteigend nach Name sortieren',
-  'sort_nd' => 'Absteigend nach Name sortieren',
-  'sort_ta' => 'Aufsteigend nach Titel sortieren',
-  'sort_td' => 'Absteigend nach Titel sortieren',
-  'position' => 'Position', //cpg1.4
-  'sort_pa' => 'Aufsteigend nach Position sortieren', //cpg1.4
-  'sort_pd' => 'Absteigend nach Position sortieren', //cpg1.4
-  'download_zip' => 'Als ZIP-Datei herunterladen',
-  'pic_on_page' => '%d Dateien auf %d Seite(n)',
-  'user_on_page' => '%d Benutzer auf %d Seite(n)',
-  'enter_alb_pass' => 'Geben Sie das Passwort für das Album ein', //cpg1.4
-  'invalid_pass' => 'Ungültiges Passwort', //cpg1.4
-  'pass' => 'Passwort', //cpg1.4
-  'submit' => 'Absenden', //cpg1.4
-);
-
-$lang_img_nav_bar = array(
-  'thumb_title' => 'zurück zur Thumbnail-Seite',
-  'pic_info_title' => 'Dateiinformationen anzeigen/verbergen',
-  'slideshow_title' => 'Diashow',
-  'ecard_title' => 'Bild als eCard versenden',
-  'ecard_disabled' => 'eCards sind deaktiviert',
-  'ecard_disabled_msg' => 'Sie haben nicht das Recht, eCards zu versenden',
-  'prev_title' => 'vorherige Datei anzeigen',
-  'next_title' => 'nächste Datei anzeigen',
-  'pic_pos' => 'Datei %s/%s',
-  'report_title' => 'Diese Datei dem Administrator melden', //cpg1.4
-  'go_album_end' => 'Zum Ende gehen', //cpg1.4
-  'go_album_start' => 'Zum Anfang zurückkehren', //cpg1.4
-  'go_back_x_items' => 'gehe %s Einträge zurück', //cpg1.4
-  'go_forward_x_items' => 'gehe %s Einträge weiter', //cpg1.4
-);
-
-$lang_rate_pic = array(
-  'rate_this_pic' => 'Diese Datei bewerten',
-  'no_votes' => '(noch keine Bewertung)',
-  'rating' => '- derzeitige Bewertung : %s/5 mit %s Stimme(n)',
-  'rubbish' => 'sehr schlecht',
-  'poor' => 'schlecht',
-  'fair' => 'ganz OK',
-  'good' => 'gut',
-  'excellent' => 'sehr gut',
-  'great' => 'super',
-);
-
-// ------------------------------------------------------------------------- //
-// File include/exif.inc.php
-// ------------------------------------------------------------------------- //
-
-// void
-
-// ------------------------------------------------------------------------- //
-// File include/functions.inc.php
-// ------------------------------------------------------------------------- //
-
-$lang_cpg_die = array(
-  INFORMATION => $lang_info,
-  ERROR => $lang_error,
-  CRITICAL_ERROR => 'Kritischer Fehler',
-  'file' => 'Datei: ',
-  'line' => 'Zeile: ',
-);
-
-$lang_display_thumbnails = array(
-  'filename' => 'Dateiname : ',
-  'filesize' => 'Dateigröße : ',
-  'dimensions' => 'Abmessungen : ',
-  'date_added' => 'hinzugefügt am : ',
-);
-
-$lang_get_pic_data = array(
-  'n_comments' => '%s Kommentar(e)',
-  'n_views' => '%s x angesehen',
-  'n_votes' => '(%s Bewertungen)',
-);
-
-$lang_cpg_debug_output = array(
-  'debug_info' => 'Debug-Info',
-  'select_all' => 'Alles markieren',
-  'copy_and_paste_instructions' => 'Wenn Sie Hilfe im Coppermine-Forum suchen wollen, kopieren Sie diese Debug-Ausgabe in Ihren Beitrag im Forum. Ersetzen Sie  eventuell vorhandene Passwörter in den Queries durch ***.<br />Anmerkung: Diese Ausgabe erfolgt nur zur Information und bedeutet nicht, dass ein Fehler in der Galerie vorliegt.', //cpg1.4
-  'phpinfo' => 'phpinfo anzeigen',
-  'notices' => 'Notices', //cpg1.4
-);
-
-$lang_language_selection = array(
-  'reset_language' => 'Standard-Sprache',
-  'choose_language' => 'Wählen Sie eine Sprache',
-);
-
-$lang_theme_selection = array(
-  'reset_theme' => 'Standard-Design',
-  'choose_theme' => 'Wähle Design',
-);
-
-$lang_version_alert = array(
-  'version_alert' => 'Nicht unterstützte Version!', //cpg1.4
-  'no_stable_version' => 'Sie betreiben Coppermine version  %s (%s), das nur für erfahrene Benutzer gedacht ist - für diese Version gibt es keinen Support oder Funktions-Garantien. Benutzen Sie sie auf eigenes Risiko oder downgraden Sie auf die aktuellste stabile Version, wenn Sie Support brauchen!', //cpg1.4
-  'gallery_offline' => 'Die Galerie ist zur Zeit im Wartungs-Modus und ist nur für Sie als Admin zugänglich. Vergessen Sie nicht, sie wieder aus dem Wartungs-Modus in den "normalen" Modus zurück zu schalten, wenn Ihre Wartungsarbeiten beendet sind.', //cpg1.4
-);
-
-$lang_create_tabs = array(
-  'previous' => 'vorherige', //cpg1.4
-  'next' => 'nächste', //cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File include/init.inc.php
-// ------------------------------------------------------------------------- //
-
-// void
-
-// ------------------------------------------------------------------------- //
-// File keyword.inc.php                                                      //
-// ------------------------------------------------------------------------- //
-
-// void
-
-// ------------------------------------------------------------------------- //
-// File include/picmgmt.inc.php
-// ------------------------------------------------------------------------- //
-
-// void
-
-// ------------------------------------------------------------------------- //
-// File include/plugin_api.inc.php
-// ------------------------------------------------------------------------- //
-$lang_plugin_api = array(
-  'error_wakeup' => "Konnte das Plugin '%s' nicht aktivieren", //cpg1.4
-  'error_install' => "Konnte das Plugin '%s' nicht installieren", //cpg1.4
-  'error_uninstall' => "Konnte das Plugin '%s' nicht de-installieren", //cpg1.4
-  'error_sleep' => "Konnte das Plugin '%s' nicht de-aktivieren.<br />", //cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File include/smilies.inc.php
-// ------------------------------------------------------------------------- //
-
-if (defined('SMILIES_PHP')) $lang_smilies_inc_php = array(
-  'Exclamation' => 'Ausruf',
-  'Question' => 'Frage',
-  'Very Happy' => 'sehr glücklich',
-  'Smile' => 'lachen',
-  'Sad' => 'traurig',
-  'Surprised' => 'überrascht',
-  'Shocked' => 'schockiert',
-  'Confused' => 'verwirrt',
-  'Cool' => 'cool',
-  'Laughing' => 'lachend',
-  'Mad' => 'wütend',
-  'Razz' => 'scheu',
-  'Embarassed' => 'schüchtern',
-  'Crying or Very sad' => 'traurig',
-  'Evil or Very Mad' => 'böse',
-  'Twisted Evil' => 'verschlagen',
-  'Rolling Eyes' => 'na ja',
-  'Wink' => 'zwinker',
-  'Idea' => 'Idee',
-  'Arrow' => 'Pfeil',
-  'Neutral' => 'neutral',
-  'Mr. Green' => 'Mr. Green',
-);
-
-// ------------------------------------------------------------------------- //
-// File addpic.php
-// ------------------------------------------------------------------------- //
-
-// void
-
-// ------------------------------------------------------------------------- //
-// File mode.php //cpg1.4
-// ------------------------------------------------------------------------- //
-
-if (defined('MODE_PHP')) $lang_mode_php = array(
-  0 => 'Beende Admin-Modus...',
-  1 => 'Starte Admin-Modus...',
-);
-
-// ------------------------------------------------------------------------- //
-// File albmgr.php
-// ------------------------------------------------------------------------- //
-
-if (defined('ALBMGR_PHP')) $lang_albmgr_php = array(
-  'alb_need_name' => 'Alben müssen einen Namen haben!', //js-alert
-  'confirm_modifs' => 'Sind Sie sicher, dass Sie diese Änderungen durchführen wollen?', //js-alert
-  'no_change' => 'Sie haben nichts verändert!', //js-alert
-  'new_album' => 'neues Album',
-  'confirm_delete1' => 'Wollen Sie dieses Album wirklich löschen?', //js-alert
-  'confirm_delete2' => '\nAlle Dateien und Kommentare, die darin enthalten sind, werden gelöscht!', //js-alert
-  'select_first' => 'Wählen Sie zuerst ein Album', //js-alert
-  'alb_mrg' => 'Alben-Manager',
-  'my_gallery' => '* meine Galerie *',
-  'no_category' => '* keine Kategorie *',
-  'delete' => 'löschen',
-  'new' => 'neu',
-  'apply_modifs' => 'Änderungen übernehmen',
-  'select_category' => 'Kategorie wählen',
-);
-
-// ------------------------------------------------------------------------- //
-// File banning.php
-// ------------------------------------------------------------------------- //
-
-if (defined('BANNING_PHP')) $lang_banning_php = array(
-  'title' => 'Benutzer verbannen', //cpg1.4
-  'user_name' => 'Benutzername', //cpg1.4
-  'ip_address' => 'IP-Adresse', //cpg1.4
-  'expiry' => 'läuft ab am (leer bedeutet permanent)', //cpg1.4
-  'edit_ban' => 'Änderungen speichern', //cpg1.4
-  'delete_ban' => 'Löschen', //cpg1.4
-  'add_new' => 'Neuen Bann hinzufügen', //cpg1.4
-  'add_ban' => 'Hinzufügen', //cpg1.4
-  'error_user' => 'Kann angegebenen Benutzer nicht finden', //cpg1.4
-  'error_specify' => 'Sie müssen entweder einen Benutzer oder eine IP-Adresse angeben', //cpg1.4
-  'error_ban_id' => 'Ungültige Verbannungs-ID!', //cpg1.4
-  'error_admin_ban' => 'Sie können sich nicht selbst verbannen!', //cpg1.4
-  'error_server_ban' => 'Sie wollten Ihren eigenen Server verbannen? Ts ts, das kann ich nicht zulassen...', //cpg1.4
-  'error_ip_forbidden' => 'Sie können diese IP-Adresse nicht verbannen - sie ist sowieso nicht route-bar (private)!<br />Wenn Sie Verbannungen für private IP-Adressen erlauben möchten, dann erlauben Sie das in Ihren <a href="admin.php">Einstellungen</a> (macht nur Sinn, wenn Coppermine in einem LAN läuft).', //cpg1.4
-  'lookup_ip' => 'IP-Adresse nachschlagen', //cpg1.4
-  'submit' => 'los!', //cpg1.4
-  'select_date' => 'Wähle Datum', //cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File bridgemgr.php //cpg1.4
-// ------------------------------------------------------------------------- //
-
-if (defined('BRIDGEMGR_PHP')) $lang_bridgemgr_php = array(
-  'title' => 'Bridge-Assistent',
-  'warning' => 'Warnung: bevor Sie diesen Assitenten benutzen muss Ihnen klar sein, dass Sicherheits-relevante Daten über HTML-Formulare versendet werden. Führen Sie den Assitenten nur auf Ihrem eigenen PC aus (nicht auf einem öffentlichen Rechner wie beispielsweise in einem Internet-Café), und löschen Sie danach auf jeden Fall Ihren Browser-Cahce und Ihre temporären Internet-Dateien, sonst haben andere vielleicht Zugriff zu diesen Daten!',
-  'back' => 'zurück',
-  'next' => 'weiter',
-  'start_wizard' => 'Starte den Bridge-Assistenten',
-  'finish' => 'Fertigstellen',
-  'hide_unused_fields' => 'unbenutze Formular-Felder verbergen (empfohlen)',
-  'clear_unused_db_fields' => 'ungültige Datenbank-Einträge löschen (empfohlen)',
-  'custom_bridge_file' => 'der Name Ihrer benutzerdefinierten Bridge-Datei (Wenn der Dateiname  <i>meinedatei.inc.php</i> lautet, dann geben Sie <i>meinedatei</i> in diesem Feld ein)',
-  'no_action_needed' => 'Kein Aktion notwenig in diesem Schritt. Klicken Sie auf &quot;weiter&quot;, um fortzufahren.',
-  'reset_to_default' => 'Auf Standard-Wert zurücksetzen',
-  'choose_bbs_app' => 'Wählen Sie eine Anwendung, mit der Sie &quot;bridgen&quot; wollen',
-  'support_url' => 'Für Support zu dieser Anwendung klicken Sie hier',
-  'settings_path' => 'Pfad(e) Ihrer Forums-Anwendung',
-  'database_connection' => 'Datenbank-Verbindung',
-  'database_tables' => 'Tabellen in der Datenbank',
-  'bbs_groups' => 'Forums-Gruppen',
-  'license_number' => 'Lizenz-Nummer',
-  'license_number_explanation' => 'Geben Sie Ihre Lizenz-Nummer ein (falls zutreffend)',
-  'db_database_name' => 'Datenbank-Name',
-  'db_database_name_explanation' => 'Geben Sie den Namen der Datenbank ein, die Ihr Forum benutzt',
-  'db_hostname' => 'Datenbank-Hostname',
-  'db_hostname_explanation' => 'Hostname Ihrer mySQL-Datenbank, meistens &quot;localhost&quot;',
-  'db_username' => 'Datenbank-Benutzername',
-  'db_username_explanation' => 'mySQL Benutzer-Konto für die Verbindung mit Ihrem Forum',
-  'db_password' => 'Datenbank-Passwort',
-  'db_password_explanation' => 'Passwort für Die mySQL-Datenbank Ihres Forums',
-  'full_forum_url' => 'Forums-URL',
-  'full_forum_url_explanation' => 'Vollständige Internet-Adresse Ihres Forums (einschließlich http:// , z.B. http://www.yourdomain.tld/forum)',
-  'relative_path_of_forum_from_webroot' => 'Relativer Pfad zum Forum',
-  'relative_path_of_forum_from_webroot_explanation' => 'Relativer Pfad zu Ihrem Forum vom Wurzelverzeichnis (webroot) aus gesehen (Beispiel: wenn Ihr Forum unter http://www.meineseite.tld/forum/ ist, dann geben Sie hier &quot;/forum/&quot; in das Feld ein)',
-  'relative_path_to_config_file' => 'Relativer Pfad zur Konfigurations-Datei Ihres Forums',
-  'relative_path_to_config_file_explanation' => 'Relativer Pfad zu Ihrem Forum, von Ihrem Coppermine-Verzeichnis aus gesehen (z.B. &quot;../forum/&quot; wenn Ihr Forum unter http://www.meineseite.tld/forum/ ist und Coppermine unter http://www.meineseite.tld/gallery/)',
-  'cookie_prefix' => 'Cookie-Vorsilbe',
-  'cookie_prefix_explanation' => 'Der Cookie-Name Ihres Forums',
-  'table_prefix' => 'Tabellen-Vorsilbe',
-  'table_prefix_explanation' => 'Die Vorsible (Präfix) der Tabellen Ihres Forums, die Sie bei der Einrichtung Ihres Forums festgelegt haben.',
-  'user_table' => 'Benutzer-Tabelle',
-  'user_table_explanation' => '(normalerweise sind die vorgeschlagenen Standard-Werte OK, wenn Sie keine Sondereinstellungen in Ihrem Forum vorgenommen haben)',
-  'session_table' => 'Session-Tabelle',
-  'session_table_explanation' => '(normalerweise sind die vorgeschlagenen Standard-Werte OK, wenn Sie keine Sondereinstellungen in Ihrem Forum vorgenommen haben)',
-  'group_table' => 'Gruppen-Tabelle',
-  'group_table_explanation' => '(normalerweise sind die vorgeschlagenen Standard-Werte OK, wenn Sie keine Sondereinstellungen in Ihrem Forum vorgenommen haben)',
-  'group_relation_table' => 'Gruppen-Relations-Tabelle',
-  'group_relation_table_explanation' => '(normalerweise sind die vorgeschlagenen Standard-Werte OK, wenn Sie keine Sondereinstellungen in Ihrem Forum vorgenommen haben)',
-  'group_mapping_table' => 'Gruppen-Verknüpfungs-Tabelle',
-  'group_mapping_table_explanation' => '(normalerweise sind die vorgeschlagenen Standard-Werte OK, wenn Sie keine Sondereinstellungen in Ihrem Forum vorgenommen haben)',
-  'use_standard_groups' => 'Standard-Forums-Gruppen benutzen',
-  'use_standard_groups_explanation' => 'Eingebaute Standard-Benutzergruppen Ihres Forums benutzen (empfohlen). Diese Option setzt alle benutzerdefinierten Gruppen-Einstellungen auf dieser Seite ausser Kraft. Schalten Sie diese Option nur ab, wenn Sie WIRKLICH wissen, was Sie tun!',
-  'validating_group' => 'Bestätigungs-Gruppe',
-  'validating_group_explanation' => 'Die ID der Gruppe Ihres Forums für Benutzer, deren Konto noch überprüft werden muss (normalerweise sind die vorgeschlagenen Standard-Werte OK, wenn Sie keine Sondereinstellungen in Ihrem Forum vorgenommen haben)',
-  'guest_group' => 'Gäste-Gruppe',
-  'guest_group_explanation' => 'Die ID der Gruppe Ihres Forums für Gäste / anonyme Benutzer (normalerweise sind die vorgeschlagenen Standard-Werte OK, wenn Sie keine Sondereinstellungen in Ihrem Forum vorgenommen haben)',
-  'member_group' => 'Mitglieder-Gruppe',
-  'member_group_explanation' => 'Die ID der Gruppe Ihres Forums für normale (reguläre) Benutzer (normalerweise sind die vorgeschlagenen Standard-Werte OK, ändern Sie den Wert nur, wenn Sie wirklich wissen was Sie tun)',
-  'admin_group' => 'Admin-Gruppe',
-  'admin_group_explanation' => 'Die ID der Gruppe Ihres Forums für Admins (normalerweise sind die vorgeschlagenen Standard-Werte OK, ändern Sie den Wert nur, wenn Sie wirklich wissen was Sie tun)',
-  'banned_group' => 'Gebannte Gruppe',
-  'banned_group_explanation' => 'Die ID der Gruppe Ihres Forums für verbannte Benutzer (normalerweise sind die vorgeschlagenen Standard-Werte OK, ändern Sie den Wert nur, wenn Sie wirklich wissen was Sie tun)',
-  'global_moderators_group' => 'Globale Moderatoren Gruppe',
-  'global_moderators_group_explanation' => 'Die ID der Gruppe Ihres Forums für globale Moderatoren (normalerweise sind die vorgeschlagenen Standard-Werte OK, ändern Sie den Wert nur, wenn Sie wirklich wissen was Sie tun)',
-  'special_settings' => 'Forums-spezifische Einstellungen',
-  'logout_flag' => 'phpBB Version (logout flag)',
-  'logout_flag_explanation' => 'Welche Versions-Nummer hat Ihre Forums-Software (diese Einstellung bestimmt, wie Logouts gehandhabt werden)',
-  'use_post_based_groups' => 'Beitrags-basierte Gruppen verwenden?',
-  'logout_flag_yes' => '2.0.5 oder besser',
-  'logout_flag_no' => '2.0.4 oder schlechter',
-  'use_post_based_groups_explanation' => 'Sollen die Beitrags-basierten Benutzergruppen berücksichtigt werden (ermöglicht eine feinere Rechte-Vergabe) oder nur die Standard-Gruppen (einfachere Administration, empfohlen). Sie können diese Einstellung auch noch später ändern.',
-  'use_post_based_groups_yes' => 'ja',
-  'use_post_based_groups_no' => 'nein',
-  'error_title' => 'Sie müssen die aufgetretenen Fehler erst korrigieren. Gehen Sie zum vorherigen Schritt.',
-  'error_specify_bbs' => 'Sie müssen angeben, welche Anwendung Sie mit Coppermine &quot;bridgen&quot; wollen.',
-  'error_no_blank_name' => 'Der Name der benutzerdefinierten Bride-Datei darf nicht leer bleiben.',
-  'error_no_special_chars' => 'Der Name der Bridge-Datei darf keine Sonderzeichen enthalten ausser Untertrich (_) und Bindestrich (-)!',
-  'error_bridge_file_not_exist' => 'Die Bridge-datei %s existiert nicht auf dem Server. Überprüfen Sie die Schreibweise und ob Sie die Datei tatsächlich hochgeladen haben.',
-  'finalize' => 'Forums-Integration aktivieren/deaktivieren',
-  'finalize_explanation' => 'Bisher wurden Ihre Einstellungen in die Datenbank geschrieben, aber die Forums-Integration (Bridging) wurde noch nicht aktiviert. Sie können die Integration jederzeit später an- oder abschalten. Merken Sie sich auf jeden Fall den Benutzernamen und das Passwort Ihres Admin-Kontos (Coppermine ohne Bridging), da Sie es später evtl. brauchen, um die Einstellungen zu ändern. Wenn etwas schief läuft, gehen Sie zu %s und deaktiviere das Bridging dort (verwenden Sie dazu Ihr Coppermine-Admin-Konto, das Sie beim Installieren von Coppermine benutzt haben).',
-  'your_bridge_settings' => 'Ihre Bridge-Einstellungen',
-  'title_enable' => 'Aktiviere/De-Aktiviere Integration/Bridging mit %s',
-  'bridge_enable_yes' => 'aktivieren',
-  'bridge_enable_no' => 'de-aktivieren',
-  'error_must_not_be_empty' => 'darf nicht leer sein',
-  'error_either_be' => 'muss entweder %s oder %s sein',
-  'error_folder_not_exist' => '%s existiert nicht. Korrigieren Sie den Wert, den Sie für %s eingegeben haben',
-  'error_cookie_not_readible' => 'Coppermine kann den Cookie namens %s nicht lesen. Korrigieren Sie den Wert, den Sie für %s eingegeben haben, oder gehen Sie zum Administrationsbereich Ihres Forums und stellen Sie dort sicher, dass der Cookie für Coppermine lesbar ist.',
-  'error_mandatory_field_empty' => 'Das Feld %s darf nicht leer bleiben - geben Sie den entsprechenden Wert ein.',
-  'error_no_trailing_slash' => 'Im Feld %s darf kein abschließender Schrägstrich (Slash) vorhanden sein.',
-  'error_trailing_slash' => 'Im Feld %s muss ein abschließender Schrägstrich (Slash) vorhanden sein.',
-  'error_db_connect' => 'Konnte mit den eingegebenen Daten keine mySQL-Verbindung aufbauen. Hier ist die mySQL-Fehlermeldung:',
-  'error_db_name' => 'Obwohl Coppermine eine Verbindung aufbauen konnte, wurde die datenbank %s nicht gefunden. Überprüfen Sie Ihre Einstellungen für %s. Hier ist die mySQL-Fehlermeldung:',
-  'error_prefix_and_table' => '%s und ',
-  'error_db_table' => 'Konnte die Tabelle %s nicht finden. Überprüfen Sie Ihre Einstellungen für %s.',
-  'recovery_title' => 'Bridge-Assistent: Wiederherstellung im Notfall',
-  'recovery_explanation' => 'Sie müssen sich erst anmelden, falls Sie hierher gekommen sind, um die Forums-Integration Ihrer Coppermine-Galerie zu administrieren. Falls Sie sich nicht anmelden können, weil die Integration nicht wie erwartet funktioniert, dann können Sie mit Hilfe dieser Seite die Integration (Bridging) deaktivieren. Die Eingabe von Benutzername und Passwort hier auf der Seite wird Sie nicht anmelden, sondern die Integration deaktivieren. Details dazu gibt es in der Doku.',
-  'username' => 'Benutzername',
-  'password' => 'Passwort',
-  'disable_submit' => 'los!',
-  'recovery_success_title' => 'Authorisierung erfolgreich',
-  'recovery_success_content' => 'Sie haben die Forums-Integration erfolgreich deaktiviert. Ihre Coppermine-Galerie läuft jetzt im &quot;Standalone-Modus&quot; (ohne Integration/Bridging).',
-  'recovery_success_advice_login' => 'Melden Sie sich als Admin an, um Ihre Bridge-Einstellungen zu bearbeiten und/oder die Forums-Integration wieder zu aktivieren.',
-  'goto_login' => 'Gehe zur Anmeldung',
-  'goto_bridgemgr' => 'Gehe zum Bridge-Assistent',
-  'recovery_failure_title' => 'Authorisierung fehlgeschlagen',
-  'recovery_failure_content' => 'Sie haben fehlerhafte Zugangsdaten eingegeben. Sie müssen die Zugangdaten des Admin-Kontos der &quot;Standalone-Version&quot; benutzen (normalerweise des Admin-Konto, das Sie bei der Installation von Coppermine angelegt haben).',
-  'try_again' => 'versuche es nochmal',
-  'recovery_wait_title' => 'Wartezeit noch nicht um',
-  'recovery_wait_content' => 'Aus Sicherheitsgründen erlaubt das Skript keine fehlgeschlagenen Anmeldeversuche in kurzer Reihenfolge - deshalb müssen Sie ein bißchen warten, bevor Sie wieder einen Anmelde-Versuch unternehmen dürfen.',
-  'wait' => 'warte',
-  'create_redir_file' => 'Umleitungs-Datei anlegen (empfohlen)',
-  'create_redir_file_explanation' => 'Um Benutzer nach der Anmeldung im Forum wieder zu Coppermine umzuleiten, brauchen Sie eine Umleitungs-Datei in Ihrem Forums-Verzeichnis. Wenn diese Option aktiviert ist wird der Bridge-Assistent versuchen, diese datei für Sie anzulegen, oder Ihnen den Code für das manuelle Anlegen der Datei per markieren und kopieren zu erzeugen.',
-  'browse' => 'durchsuchen',
-);
-
-// ------------------------------------------------------------------------- //
-// File calendar.php //cpg1.4
-// ------------------------------------------------------------------------- //
-
-if (defined('CALENDAR_PHP')) $lang_calendar_php = array(
-  'title' => 'Kalender', //cpg1.4
-  'close' => 'schliessen', //cpg1.4
-  'clear_date' => 'Datum löschen', //cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File catmgr.php
-// ------------------------------------------------------------------------- //
-
-if (defined('CATMGR_PHP')) $lang_catmgr_php = array(
-  'miss_param' => 'Fehlender Parameter für die Operation \'%s\'',
-  'unknown_cat' => 'Gewählte Kategorie existiert nicht in Datenbank',
-  'usergal_cat_ro' => 'Benutzer-Galerie kann nicht gelöscht werden!',
-  'manage_cat' => 'Kategorien verwalten',
-  'confirm_delete' => 'Wollen Sie diese Kategorie wirklich LÖSCHEN', //js-alert
-  'category' => 'Kategorie',
-  'operations' => 'Operationen',
-  'move_into' => 'verschieben in',
-  'update_create' => 'Kategorie erzeugen/ändern',
-  'parent_cat' => 'Eltern-Kategorie',
-  'cat_title' => 'Titel der Kategorie',
-  'cat_thumb' => 'Kategorie-Thumbnail',
-  'cat_desc' => 'Kategorie-Beschreibung',
-  'categories_alpha_sort' => 'Kategorien alphabetisch sortieren (anstatt benutzerdefinierter Sortierreihenfolge)', //cpg1.4
-  'save_cfg' => 'Einstellungen speichern', //cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File admin.php //cpg1.4
-// ------------------------------------------------------------------------- //
-
-if (defined('ADMIN_PHP')) $lang_admin_php = array(
-  'title' => 'Galerie-Einstellungen', //cpg1.4
-  'manage_exif' => 'Exif-Einstellungen verwalten', //cpg1.4
-  'manage_plugins' => 'Plugins verwalten', //cpg1.4
-  'manage_keyword' => 'Stichworte verwalten', //cpg1.4
-  'restore_cfg' => 'auf Werkseinstellungen zurücksetzen',
-  'save_cfg' => 'Neue Einstellungen speichern',
-  'notes' => 'Anmerkungen',
-  'info' => 'Information',
-  'upd_success' => 'Die Einstellungen von Coppermine wurden aktualisiert',
-  'restore_success' => 'Coppermine Standard-Einstellungen wiederhergestellt',
-  'name_a' => 'aufsteigend nach Name',
-  'name_d' => 'absteigend nach Name',
-  'title_a' => 'aufsteigend nach Titel',
-  'title_d' => 'absteigend nach Titel',
-  'date_a' => 'aufsteigend nach Datum',
-  'date_d' => 'absteigend nach Datum',
-  'pos_a' => 'aufsteigend nach Position', //cpg1.4
-  'pos_d' => 'absteigend nach Position', //cpg1.4
-  'th_any' => 'Maximalwert (entweder Höhe oder Breite)',
-  'th_ht' => 'Höhe',
-  'th_wd' => 'Breite',
-  'label' => 'Beschriftung',
-  'item' => 'Eintrag',
-  'debug_everyone' => 'alle',
-  'debug_admin' => 'nur Admin',
-  'no_logs'=> 'Aus', //cpg1.4
-  'log_normal'=> 'Normal', //cpg1.4
-  'log_all' => 'Alle', //cpg1.4
-  'view_logs' => 'Historie anzeigen', //cpg1.4
-  'click_expand' => 'Klicken Sie auf die jeweilige Bezeichnung zum Ausklappen des Abschnitts', //cpg1.4
-  'expand_all' => 'Alle ausklappen', //cpg1.4
-  'notice1' => '(*) Diese Einstellungen dürfen nicht mehr verändert werden, wenn bereits Dateien in der Datenbank vorhanden sind.', //cpg1.4 - (relocated)
-  'notice2' => '(**) Bei Änderung dieser Einstellung werden die geänderten Werte nur für Dateien herangezogen, die ab dem Zeitpunkt der Änderung hinzugefügt werden - daher ist es ratsam, hier nichts zu ändern, wenn bereits Bilder in der Galerie vorhanden sind. Die geänderten Einstellungen können jedoch auch auf ältere Dateien angewendet werden durch Verwendung der &quot;<a href="util.php">Admin-Werkzeuge</a> (Thumbnails und/oder Bilder in Zwischengrösse aktualisieren)&quot; aus dem Admin-Menü.', //cpg1.4 - (relocated)
-  'notice3' => '(***) Alle Logs werden in Englisch geschrieben.', //cpg1.4 - (relocated)
-  'bbs_disabled' => 'Funktion deaktiviert bei der Verwendung des Bridging', //cpg1.4
-  'auto_resize_everyone' => 'Alle (Benutzer+Admin)', //cpg1.4
-  'auto_resize_user' => 'Nur Benutzer', //cpg1.4
-  'ascending' => 'aufsteigend', //cpg1.4
-  'descending' => 'absteigend', //cpg1.4
-);
-
-if (defined('ADMIN_PHP')) $lang_admin_data = array(
-  'Allgemeine Einstellungen',
-  array('Galerie-Name', 'gallery_name', 0, 'f=index.htm&amp;as=admin_general_name&amp;ae=admin_general_name_end'), //cpg1.4
-  array('Galerie-Beschreibung', 'gallery_description', 0, 'f=index.htm&amp;as=admin_general_description&amp;ae=admin_general_description_end'), //cpg1.4
-  array('Galerie-Admin eMail', 'gallery_admin_email', 0, 'f=index.htm&amp;as=admin_general_email&amp;ae=admin_general_email_end'), //cpg1.4
-  array('URL Ihres Coppermine-Galerie Verzeichnisses (no \'index.php\' or similar at the end)', 'ecards_more_pic_target', 0, 'f=index.htm&amp;as=admin_general_coppermine-url&amp;ae=admin_general_coppermine-url_end'), //cpg1.4
-  array('URL Ihrer Homepage', 'home_target', 0, 'f=index.htm&amp;as=admin_general_home-url&amp;ae=admin_general_home-url_end'), //cpg1.4
-  array('ZIP-Download der Favoriten erlauben', 'enable_zipdownload', 1, 'f=index.htm&amp;as=admin_general_zip-download&amp;ae=admin_general_zip-download_end'), //cpg1.4
-  array('Zeitzonen-Differenz relative zur MEZ (aktuelle Zeit: ' . localised_date(-1, $comment_date_fmt) . ')','time_offset',0, 'f=index.htm&amp;as=admin_general_time-offset&amp;ae=admin_general_time-offset_end&amp;top=1'), //cpg1.4
-  array('Verschlüsselte Passwörter aktivieren (kann nicht rückgängig gemacht werden)','enable_encrypted_passwords',1, 'f=index.htm&amp;as=admin_general_encrypt_password_start&amp;ae=admin_general_encrypt_password_end&amp;top=1'), // cpg 1.4
-  array('Hilfe-Icons aktivieren (Hilfe nur in Englisch verfügbar)','enable_help',9, 'f=index.htm&amp;as=admin_general_help&amp;ae=admin_general_help_end'), //cpg1.4
-  array('Anklickbare Stichwörter in Suche aktivieren','clickable_keyword_search',14, 'f=index.htm&amp;as=admin_general_keywords_start&amp;ae=admin_general_keywords_end'), //cpg1.4
-  array('Plugins aktivieren', 'enable_plugins', 12, 'f=index.htm&amp;as=admin_general_enable-plugins&amp;ae=admin_general_enable-plugins_end'),  //cpg1.4
-  array('Verbannung von nicht-routebaren IP-Adressen aktivieren', 'ban_private_ip', 1,  'f=index.htm&amp;as=admin_general_private-ip&amp;ae=admin_general_private-ip_end'), //cpg1.4
-  array('Baumstruktur für Batch-hinzufügen aktivieren', 'browse_batch_add', 1, 'f=index.htm&amp;as=admin_general_browsable_batch_add&amp;ae=admin_general_browsable_batch_add_end'), //cpg1.4
-
-  'Sprach- &amp; Zeichensatz-Einstellungen',
-  array('Sprache', 'lang', 5, 'f=index.htm&amp;as=admin_language_language&amp;ae=admin_language_language_end'), //cpg1.4
-  array('Auf Englisch zurückgreifen, wenn Deutsche Übersetzung nicht verfügbar?', 'language_fallback', 1, 'f=index.htm&amp;as=admin_language_fallback&amp;ae=admin_language_fallback_end'), //cpg1.4
-  array('Zeichensatz', 'charset', 4, 'f=index.htm&amp;as=admin_language_charset&amp;ae=admin_language_charset_end'), //cpg1.4
-  array('Sprachauswahl-Liste anzeigen', 'language_list', 1, 'f=index.htm&amp;as=admin_language_list&amp;ae=admin_language_list_end'), //cpg1.4
-  array('Sprachauswahl-Flaggen anzeigen', 'language_flags', 8, 'f=index.htm&amp;as=admin_language_flags&amp;ae=admin_language_flags_end&amp;top=1'), //cpg1.4
-  array('&quot;Standard&quot; in Sprachauswahl anzeigen', 'language_reset', 1, 'f=index.htm&amp;as=admin_language_reset&amp;ae=admin_language_reset_end&amp;top=1'), //cpg1.4
-  //array('zurück/vorwärts in Tabs anzeigen', 'previous_next_tab', 1), //cpg1.4
-
-  'Design-Einstellungen',
-  array('Design', 'theme', 6, 'f=index.htm&amp;as=admin_theme_theme&amp;ae=admin_theme_theme_end'), //cpg1.4
-  array('Designauswahl-Liste anzeigen', 'theme_list', 1, 'f=index.htm&amp;as=admin_theme_theme_list&amp;ae=admin_theme_theme_list_end'), //cpg1.4
-  array('&quot;Standard&quot; in Designauswahl-Liste anzeigen', 'theme_reset', 1, 'f=index.htm&amp;as=admin_theme_theme_reset&amp;ae=admin_theme_theme_reset_end'), //cpg1.4
-  array('FAQ anzeigen', 'display_faq', 1, 'f=index.htm&amp;as=admin_theme_faq&amp;ae=admin_theme_faq_end'), //cpg1.4
-  array('Name eines benutzerdefinierten Menü-Eintrags', 'custom_lnk_name', 0,'f=index.htm&amp;as=admin_theme_custom_lnk_name&amp;ae=admin_theme_custom_lnk_name_end'), //cpg1.4
-  array('URL eines benutzerdefinierten Menü-Eintrags', 'custom_lnk_url', 0,'f=index.htm&amp;as=admin_language_custom_lnk_url&amp;ae=admin_language_custom_lnk_url_end'), //cpg1.4
-  array('bbcode-Hilfe anzeigen', 'show_bbcode_help', 1, 'f=index.htm&amp;as=admin_theme_bbcode&amp;ae=admin_theme_bbcode_end&amp;top=1'), //cpg1.4
-  array('Vanity Block in Designs anzeigen, die als XHTML und CSS konform definiert sind?','vanity_block',1, 'f=index.htm&amp;as=vanity_block&amp;ae=vanity_block_end'), //cpg1.4
-  array('Pfad zu benutzerdefiniertem header-include', 'custom_header_path', 0, 'f=index.htm&amp;as=admin_theme_include_path_start&amp;ae=admin_theme_include_path_end'), //cpg1.4
-  array('Pfad zu benutzerdefiniertem footer-include', 'custom_footer_path', 0, 'f=index.htm&amp;as=admin_theme_include_path_start&amp;ae=admin_theme_include_path_end'), //cpg1.4
-
-  'Ansicht Albenliste',
-  array('Breite der Haupttabelle (in Pixel oder %)', 'main_table_width', 0, 'f=index.htm&amp;as=admin_album_table-width&amp;ae=admin_album_table-width_end'), //cpg1.4
-  array('Anzahl angezeigter Kategorie-Ebenen', 'subcat_level', 0, 'f=index.htm&amp;as=admin_album_category-levels&amp;ae=admin_album_category-levels_end'), //cpg1.4
-  array('Anzahl angezeigter Alben', 'albums_per_page', 0, 'f=index.htm&amp;as=admin_album_number&amp;ae=admin_album_number_end'), //cpg1.4
-  array('Anzahl Spalten in Album-Liste', 'album_list_cols', 0, 'f=index.htm&amp;as=admin_album_columns&amp;ae=admin_album_columns_end'), //cpg1.4
-  array('Thumbnail-Größe in Pixeln', 'alb_list_thumb_size', 0, 'f=index.htm&amp;as=admin_album_thumbnail-size&amp;ae=admin_album_thumbnail-size_end'), //cpg1.4
-  array('Inhalt der Hauptseite', 'main_page_layout', 0, 'f=index.htm&amp;as=admin_album_list_content&amp;ae=admin_album_list_content_end'), //cpg1.4
-  array('Erste Ebene der Thumbnails der Alben auch in Kategorien anzeigen','first_level',1, 'f=index.htm&amp;as=admin_album_first-level_thumbs&amp;ae=admin_album_first-level_thumbs_end'), //cpg1.4
-  array('Kategorien alphabetisch sortieren (anstatt benutzerdefinierter Sortierreihenfolge)','categories_alpha_sort',1, 'f=index.htm&amp;as=admin_album_list_alphasort_start&amp;ae=admin_album_list_alphasort_end'), //cpg1.4
-  array('Anzahl der verlinkten Dateien anzeigen','link_pic_count',1, 'f=index.htm&amp;as=admin_album_linked_files_start&amp;ae=admin_album_linked_files_end'), //cpg1.4
-
-  'Ansicht Thumbnail',
-  array('Spaltenzahl auf Thumbnail-Seite', 'thumbcols', 0, 'f=index.htm&amp;as=admin_thumbnail_columns&amp;ae=admin_thumbnail_columns_end'), //cpg1.4
-  array('Zeilenzahl auf Thumbnail-Seite', 'thumbrows', 0, 'f=index.htm&amp;as=admin_thumbnail_rows&amp;ae=admin_thumbnail_rows_end'), //cpg1.4
-  array('Anzahl maximal angezeigter Tabs', 'max_tabs', 10, 'f=index.htm&amp;as=admin_thumbnail_tabs&amp;ae=admin_thumbnail_tabs_end'), //cpg1.4
-  array('Datei-Beschriftung anzeigen (zusätzlich zum Datei-Titel) unterhalb der Thumbnails', 'caption_in_thumbview', 1, 'f=index.htm&amp;as=admin_thumbnail_display_caption&amp;ae=admin_thumbnail_display_caption_end'), //cpg1.4
-  array('Anzahl der Treffer unterhalb des Thumbnails anzeigen', 'views_in_thumbview', 1, 'f=index.htm&amp;as=admin_thumbnail_display_views&amp;ae=admin_thumbnail_display_views_end'), //cpg1.4
-  array('Anzahl der Kommentare unterhalb des Thumbnails anzeigen', 'display_comment_count', 1, 'f=index.htm&amp;as=admin_thumbnail_display_comments&amp;ae=admin_thumbnail_display_comments_end'), //cpg1.4
-  array('Name des Uploaders unterhalb des Thumbnails anzeigen', 'display_uploader', 1, 'f=index.htm&amp;as=admin_thumbnail_display_uploader&amp;ae=admin_thumbnail_display_uploader_end'), //cpg1.4
-  //array('Name von administrativen Uploadern unterhalb des Thumbnails anzeigen', 'display_admin_uploader', 1, 'f=index.htm&amp;as=admin_thumbnail_display_admin_uploader&amp;ae=admin_thumbnail_display_admin_uploader_end'), //cpg1.4
-  array('Dateiname unterhalb des Thumbnails anzeigen', 'display_filename', 1, 'f=index.htm&amp;as=admin_thumbnail_display_filename&amp;ae=admin_thumbnail_display_filename_end'), //cpg1.4
-  //array('Alben-Beschreibung anzeigen', 'alb_desc_thumb', 1, 'f=index.htm&amp;as=admin_thumbnail_display_description&amp;ae=admin_thumbnail_display_description_end'), //cpg1.4
-  array('Standard-Sortierung für Dateien', 'default_sort_order', 3, 'f=index.htm&amp;as=admin_thumbnail_default_sortorder&amp;ae=admin_thumbnail_default_sortorder_end'), //cpg1.4
-  array('Mindestmenge Stimmen, die eine Datei benötigt, um in der \'am besten bewertet\'-Liste zu erscheinen', 'min_votes_for_rating', 0, 'f=index.htm&amp;as=admin_thumbnail_minimum_votes&amp;ae=admin_thumbnail_minimum_votes_end'), //cpg1.4
-
-  'Ansicht Bild', //cpg1.4
-  array('Tabellenbreite für Bildanzeige (in Pixel oder %)', 'picture_table_width', 0, 'f=index.htm&amp;as=admin_image_comment_table-width&amp;ae=admin_image_comment_table-width_end'), //cpg1.4
-  array('Datei-Informationen sind standardmäßig sichtbar', 'display_pic_info', 1, 'f=index.htm&amp;as=admin_image_comment_info_visible&amp;ae=admin_image_comment_info_visible_end'), //cpg1.4
-  array('Maximallänge für Dateibeschreibung', 'max_img_desc_length', 0, 'f=index.htm&amp;as=admin_image_comment_descr_length&amp;ae=admin_image_comment_descr_length_end'), //cpg1.4
-  array('Maximale Anzahl von Buchstaben in einem Wort', 'max_com_wlength', 0, 'f=index.htm&amp;as=admin_image_comment_chars_per_word&amp;ae=admin_image_comment_chars_per_word_end'), //cpg1.4
-  array('Film-Streifen anzeigen', 'display_film_strip', 1, 'f=index.htm&amp;as=admin_image_comment_filmstrip_toggle&amp;ae=admin_image_comment_filmstrip_toggle_end'), //cpg1.4
-  array('Dateinamen unter Filmstreifen-Thumbnails anzeigen', 'display_film_strip_filename', 1, 'f=index.htm&amp;as=admin_image_comment_display_film_strip_filename&amp;ae=admin_image_comment_display_film_strip_filename_end'), //cpg1.4
-  array('Anzahl Elemente in Film-Streifen', 'max_film_strip_items', 0, 'f=index.htm&amp;as=admin_image_comment_filmstrip_number&amp;ae=admin_image_comment_filmstrip_number_end'), //cpg1.4
-  array('Diashow-Intervall in Millisekunden (1 Sekunde = 1000 Millisekunden)', 'slideshow_interval', 0, 'f=index.htm&amp;as=admin_image_comment_slideshow_interval&amp;ae=admin_image_comment_slideshow_interval_end'), //cpg1.4
-
-  'Einstellungen Kommentare', //cpg1.4
-  array('Schimpfwörter in Kommentaren zensieren', 'filter_bad_words', 1, 'f=index.htm&amp;as=admin_image_comment_bad_words&amp;ae=admin_image_comment_bad_words_end'), //cpg1.4
-  array('Smilies in Kommentaren erlauben', 'enable_smilies', 1, 'f=index.htm&amp;as=admin_image_comment_smilies&amp;ae=admin_image_comment_smilies_end'), //cpg1.4
-  array('Aufeinanderfolgende Kommentare eines Benutzers zu einer Datei zulassen (Überflutungs-Schutz abschalten)', 'disable_comment_flood_protect', 1, 'f=index.htm&amp;as=admin_image_comment_flood&amp;ae=admin_image_comment_flood_end'), //cpg1.4
-  array('Maximale Zeilenzahl eines Kommentars', 'max_com_lines', 0, 'f=index.htm&amp;as=admin_image_comment_lines&amp;ae=admin_image_comment_lines_end'), //cpg1.4
-  array('Maximale Länge eines Kommentars', 'max_com_size', 0, 'f=index.htm&amp;as=admin_image_comment_length&amp;ae=admin_image_comment_length_end'), //cpg1.4
-  array('Admin über abgegebene Kommentare per eMail benachrichtigen', 'email_comment_notification', 1, 'f=index.htm&amp;as=admin_image_comment_admin_notify&amp;ae=admin_image_comment_admin_notify_end'), //cpg1.4
-  array('Sortierreihenfolge von Kommentaren', 'comments_sort_descending', 17, 'f=index.htm&amp;as=admin_comment_sort_start&amp;ae=admin_comment_sort_end'), //cpg1.4
-  array('Vorsilbe für anonyme Kommentatoren', 'comments_anon_pfx', 0, 'f=index.htm&amp;as=comments_anon_pfx&amp;ae=comments_anon_pfx_end'), //cpg1.4
-
-  'Bild/Datei- und Thumbnail-Einstellungen',
-  array('Qualität für JPEG-Dateien', 'jpeg_qual', 0, 'f=index.htm&amp;as=admin_picture_thumbnail_jpeg_quality&amp;ae=admin_picture_thumbnail_jpeg_quality_end'), //cpg1.4
-  array('Maximalgröße Thumbnail<a href="#notice2" class="clickable_option">**</a>', 'thumb_width', 0, 'f=index.htm&amp;as=admin_picture_thumbnail_max-dimension&amp;ae=admin_picture_thumbnail_max-dimension_end'), //cpg1.4
-  array('Welche Dimension soll genutzt werden für Thumbnails ( Breite oder Höhe oder das, was jeweils größer ist)<a href="#notice1" class="clickable_option">**</a>', 'thumb_use', 7, 'f=index.htm&amp;as=admin_picture_thumbnail_use-dimension&amp;ae=admin_picture_thumbnail_use-dimension_end'), //cpg1.4
-  array('Bilder in Zwischengröße erzeugen','make_intermediate',1, 'f=index.htm&amp;as=admin_picture_thumbnail_intermediate_toggle&amp;ae=admin_picture_thumbnail_intermediate_toggle_end'), //cpg1.4
-  array('Maximale Breite oder Höhe von Bildern/Videos in Zwischengröße <a href="#notice2" class="clickable_option">**</a>', 'picture_width', 0, 'f=index.htm&amp;as=admin_picture_thumbnail_intermediate_dimension&amp;ae=admin_picture_thumbnail_intermediate_dimension_end'), //cpg1.4
-  array('Maximalgröße für das Hochladen von Dateien (kB)', 'max_upl_size', 0, 'f=index.htm&amp;as=admin_picture_thumbnail_max_upload_size&amp;ae=admin_picture_thumbnail_max_upload_size_end'), //cpg1.4
-  array('Maximale Breite oder Höhe für das Hochladen von Bildern/Videos (in Pixel)', 'max_upl_width_height', 0, 'f=index.htm&amp;as=admin_picture_thumbnail_max_upload_dimension&amp;ae=admin_picture_thumbnail_max_upload_dimension_end'), //cpg1.4
-  array('Automatische Verkleinerung von Bildern, die die Maximalgröße überschreiten', 'auto_resize', 16, 'f=index.htm&amp;as=admin_picture_thumbnail_auto-resize&amp;ae=admin_picture_thumbnail_auto-resize_end'), //cpg1.4
-
-  'Erweiterte Bild/Datei- und Thumbnail-Einstellungen',
-  array('Alben können nicht-öffentlich sein (Anmerkung: beim Umschalten von \'ja\' auf \'nein\' werden <i>alle</i> nicht-öffentlichen Alben öffentlich)', 'allow_private_albums', 1, 'f=index.htm&amp;as=admin_picture_thumb_advanced_private_toggle&amp;ae=admin_picture_thumb_advanced_private_toggle_end'), //cpg1.4
-  array('Icons für Persönliche Alben nicht-eingeloggten Benutzern anzeigen?','show_private',1, 'f=index.htm&amp;as=admin_picture_thumb_advanced_private_icon_show&amp;ae=admin_picture_thumb_advanced_private_icon_show_end'), //cpg1.4
-  array('Nicht erlaubte Zeichen in Dateinamen', 'forbiden_fname_char',0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_filename_forbidden_chars&amp;ae=admin_picture_thumb_advanced_filename_forbidden_chars_end'), //cpg1.4
-  //array('erlaubte Datei-Erweiterungen für das Hochladen von Bildern', 'allowed_file_extensions',0, 'f=index.htm&amp;as=&amp;ae=_end'), //cpg1.4
-  array('Zugelassene Bild-Dateitypen', 'allowed_img_types',0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_pic_extensions&amp;ae=admin_picture_thumb_advanced_pic_extensions_end'), //cpg1.4
-  array('Zugelassene Video-Dateitypen', 'allowed_mov_types',0, 'f=index.htm&amp;as=admin_thumbs_advanced_movie&amp;ae=admin_thumbs_advanced_movie_end'), //cpg1.4
-  array('Autostart für Filme', 'media_autostart',1, 'f=index.htm&amp;as=admin_movie_autoplay&amp;ae=admin_movie_autoplay_end'), //cpg1.4
-  array('Zugelassene Audio-Dateitypen', 'allowed_snd_types',0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_audio_extensions&amp;ae=admin_picture_thumb_advanced_audio_extensions_end'), //cpg1.4
-  array('Zugelassene Dokument-Dateitypen', 'allowed_doc_types',0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_doc_extensions&amp;ae=admin_picture_thumb_advanced_doc_extensions_end'), //cpg1.4
-  array('Methode zur Größenänderung von Bildern','thumb_method',2, 'f=index.htm&amp;as=admin_picture_thumb_advanced_resize_method&amp;ae=admin_picture_thumb_advanced_resize_method_end'), //cpg1.4
-  array('Pfad zur \'convert\'-Anwendung von ImageMagick (z.B. /usr/bin/X11/)', 'impath', 0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_im_path&amp;ae=admin_picture_thumb_advanced_im_path_end'), //cpg1.4
-  //array('Erlaubte Datei-Typen (nur gültig für ImageMagick)', 'allowed_img_types',0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_allowed_imagetypes&amp;ae=admin_picture_thumb_advanced_allowed_imagetypes_end'), //cpg1.4
-  array('Kommandozeilen-Parameter für ImageMagick', 'im_options', 0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_im_commandline&amp;ae=admin_picture_thumb_advanced_im_commandline_end'), //cpg1.4
-  array('EXIF-Daten in JPEG-Dateien lesen', 'read_exif_data', 13, 'f=index.htm&amp;as=admin_picture_thumb_advanced_exif&amp;ae=admin_picture_thumb_advanced_exif_end'), //cpg1.4
-  array('IPTC-Daten in JPEG-Dateien lesen', 'read_iptc_data', 1, 'f=index.htm&amp;as=admin_picture_thumb_advanced_iptc&amp;ae=admin_picture_thumb_advanced_iptc_end'), //cpg1.4
-  array('Alben-Verzeichnis <a href="#notice1" class="clickable_option">*</a>', 'fullpath', 0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_albums_dir&amp;ae=admin_picture_thumb_advanced_albums_dir_end'), //cpg1.4
-  array('Verzeichnis für Benutzer-Dateien <a href="#notice1" class="clickable_option">*</a>', 'userpics', 0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_userpics_dir&amp;ae=admin_picture_thumb_advanced_userpics_dir_end'), //cpg1.4
-  array('Vorsilbe für Bilder in Zwischengröße <a href="#notice1" class="clickable_option">*</a>', 'normal_pfx', 0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_intermediate_prefix&amp;ae=admin_picture_thumb_advanced_intermediate_prefix_end'), //cpg1.4
-  array('Vorsilbe für Thumbnails <a href="#notice1" class="clickable_option">*</a>', 'thumb_pfx', 0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_thumbs_prefix&amp;ae=admin_picture_thumb_advanced_thumbs_prefix_end'), //cpg1.4
-  array('Standard-Modus für Verzeichnisse', 'default_dir_mode', 0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_chmod_folder&amp;ae=admin_picture_thumb_advanced_chmod_folder_end'), //cpg1.4
-  array('Standard-Modus für Dateien', 'default_file_mode', 0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_chmod_files&amp;ae=admin_picture_thumb_advanced_chmod_files_end'), //cpg1.4
-
-  'Benutzer-Einstellungen',
-  array('Registrierung von Benutzern zulassen', 'allow_user_registration', 1, 'f=index.htm&amp;as=admin_allow_registration&amp;ae=admin_allow_registration_end'), //cpg1.4
-  array('Nicht-angemeldeten Besuchern (Gäste) Zugriff erlauben', 'allow_unlogged_access', 1, 'f=index.htm&amp;as=admin_allow_unlogged_access&amp;ae=admin_allow_unlogged_access_end'), //cpg1.4
-  array('Registrierung von Benutzern erfordert Überprüfung per eMail', 'reg_requires_valid_email', 1, 'f=index.htm&amp;as=admin_registration_verify&amp;ae=admin_registration_verify_end'), //cpg1.4
-  array('Admin über neu-registrierten Benutzer per eMail benachrichtigen', 'reg_notify_admin_email', 1, 'f=index.htm&amp;as=admin_registration_notify&amp;ae=admin_registration_notify_end'), //cpg1.4
-  array('Admin muss Registrierungen aktivieren', 'admin_activation', 1, 'f=index.htm&amp;as=admin_activation&amp;ae=admin_activation_end'),  //cpg1.4
-  array('Zulassen, dass mehrere Benutzer die gleiche eMail-Adresse haben', 'allow_duplicate_emails_addr', 1, 'f=index.htm&amp;as=admin_allow_duplicate_emails_addr&amp;ae=admin_allow_duplicate_emails_addr_end'), //cpg1.4
-  array('Admin über genehmigungspflichtige Benutzer-Uploads per eMail benachrichtigen', 'upl_notify_admin_email', 1, 'f=index.htm&amp;as=admin_approval_notify&amp;ae=admin_approval_notify_end'), //cpg1.4
-  array('Angemeldeten Benutzern Benutzerliste anzeigen', 'allow_memberlist', 1, 'f=index.htm&amp;as=admin_user_memberlist&amp;ae=admin_user_memberlist_end'), //cpg1.4
-  array('Benutzern erlauben, Ihre eMail-Adresse im Profil zu ändern', 'allow_email_change', 1, 'f=index.htm&amp;as=admin_user_allow_email_change&amp;ae=admin_user_allow_email_change_end'), //cpg1.4
-  array('Benutzern bleiben Eigentümer von Bildern, die sie in öffentliche Alben hochgeladen haben (sie können diese dann ändern, beschriften und löschen', 'users_can_edit_pics', 1, 'f=index.htm&amp;as=admin_user_editpics_public_start&amp;ae=admin_user_editpics_public_end'), //cpg1.4
-  array('Anzahl fehlgeschlagener Anmeldeversuche bis zur zeitweiligen Sperrung (zur Vermeidung von Brute-Force Angriffen)', 'login_threshold', 0, 'f=index.htm&amp;as=admin_user_login_start&amp;ae=admin_user_login_end'), //cpg1.4
-  array('Dauer einer zeitweilligen Sperrung nach fehlgeschlagenen Anmeldungen', 'login_expiry', 0, 'f=index.htm&amp;as=admin_user_login_start&amp;ae=admin_user_login_end'), //cpg1.4
-  array('&quot;Beim Administrator melden&quot; aktivieren', 'report_post', 1, 'f=index.htm&amp;as=admin_user_enable_report&amp;ae=admin_user_enable_report_end'),  //cpg1.4
-
-// custom profile fields,  //cpg1.4
-  'Benutzerdefinierte Felder für Benutzerprofile (leer lassen, falls ungenutzt).
-  Benutze Profilfeld 6 für Langeinträge (wie Biographien).', //cpg1.4
-  array('Bezeichnung Profilfeld 1', 'user_profile1_name', 0, 'f=index.htm&amp;as=admin_custom&amp;ae=admin_custom_end'), //cpg1.4
-  array('Bezeichnung Profilfeld 2', 'user_profile2_name', 0), //cpg1.4
-  array('Bezeichnung Profilfeld 3', 'user_profile3_name', 0), //cpg1.4
-  array('Bezeichnung Profilfeld 4', 'user_profile4_name', 0), //cpg1.4
-  array('Bezeichnung Profilfeld 5', 'user_profile5_name', 0), //cpg1.4
-  array('Bezeichnung Profilfeld 6', 'user_profile6_name', 0), //cpg1.4
-
-  'Benutzerdefinierte Felder für zusätzliche Dateiinformationen (leer lassen, falls nicht benötigt)',
-  array('Bezeichnung Feld 1', 'user_field1_name', 0, 'f=index.htm&amp;as=admin_custom_image&amp;ae=admin_custom_image_end'), //cpg1.4
-  array('Bezeichnung Feld 2', 'user_field2_name', 0),
-  array('Bezeichnung Feld 3', 'user_field3_name', 0),
-  array('Bezeichnung Feld 4', 'user_field4_name', 0),
-
-  'Cookies-Einstellungen',
-  array('Cookie-Name', 'cookie_name', 0, 'f=index.htm&amp;as=admin_cookie_name&amp;ae=admin_cookie_name_end'), //cpg1.4
-  array('Cookie-Pfad', 'cookie_path', 0, 'f=index.htm&amp;as=admin_cookie_path&amp;ae=admin_cookie_path_end'), //cpg1.4
-
-  'Email-Einstellungen  (normalerweise muss hier nichts eingestellt werden; lassen Sie im Zweifelsfall alle Felder leer )', //cpg1.4
-  array('SMTP-Hostname (wenn leer wird sendmail benutzt)', 'smtp_host', 0, 'f=index.htm&amp;as=admin_email&amp;ae=admin_email_end'), //cpg1.4
-  array('SMTP-Benutzername', 'smtp_username', 0), //cpg1.4
-  array('SMTP-Passwort', 'smtp_password', 0), //cpg1.4
-
-  'Logging und Statistiken', //cpg1.4
-  array('Logging-Modus <a href="#notice3" class="clickable_option">***</a>', 'log_mode', 11, 'f=index.htm&amp;as=admin_logging_log_mode&amp;ae=admin_logging_log_mode_end'), //cpg1.4
-  array('eCards aufzeichnen (Logging)<br />(Anmerkung: das Aufzeichnen von Benutzer-Daten kann Datenschutz-rechtliche Konsequenzen haben. Der Benutzer sollte über die Tatsache, dass die eCards gelogged werden, informiert werden und sein Einverständnis gegeben haben, z.B. bei der Registrierung. Details, wie eine Datenschutz-Policy, die den Schutz der Privatsphäre regelt, sollten separat auf der Seite verfügbar sein.)', 'log_ecards', 1, 'f=index.htm&amp;as=admin_general_log_ecards&amp;ae=admin_general_log_ecards_end'), //cpg1.4
-  array('Detailierte Abstimmungs-Statistiken aufzeichnen','vote_details',1, 'f=index.htm&amp;as=admin_logging_votedetails&amp;ae=admin_logging_votedetails_end'), //cpg1.4
-  array('Detailierte Treffer-Statistiken aufzeichnen (Besucherzähler)','hit_details',1, 'f=index.htm&amp;as=admin_logging_hitdetails&amp;ae=admin_logging_hitdetails_end'), //cpg1.4
-
-  'Wartungs-Einstellungen', //cpg1.4
-  array('Debug-Modus ein', 'debug_mode', 9, 'f=index.htm&amp;as=debug_mode&amp;ae=debug_mode_end'), //cpg1.4
-  array('PHP-notices in Debug-Modus anzeigen (empfohlen: aus)', 'debug_notice', 1, 'f=index.htm&amp;as=admin_misc_debug_notices&amp;ae=admin_misc_debug_notices_end'), //cpg1.4
-  array('Galerie ist im Wartungsmodus', 'offline', 1, 'f=index.htm&amp;as=admin_general_offline&amp;ae=admin_general_offline_end'), //cpg1.4
-);
-
-
-// ------------------------------------------------------------------------- //
-// File db_ecard.php
-// ------------------------------------------------------------------------- //
-
-if (defined('DB_ECARD_PHP')) $lang_db_ecard_php = array(
-  'title' => 'Versendete eCards',
-  'ecard_sender' => 'Absender',
-  'ecard_recipient' => 'Empfänger',
-  'ecard_date' => 'Datum',
-  'ecard_display' => 'eCard anzeigen',
-  'ecard_name' => 'Name',
-  'ecard_email' => 'eMail',
-  'ecard_ip' => 'IP',
-  'ecard_ascending' => 'aufsteigend',
-  'ecard_descending' => 'absteigend',
-  'ecard_sorted' => 'Sortiert',
-  'ecard_by_date' => 'nach Datum',
-  'ecard_by_sender_name' => 'nach Absender-Name',
-  'ecard_by_sender_email' => 'nach eMail-Adresse des Absenders',
-  'ecard_by_sender_ip' => 'nach IP-Adresse des Absenders',
-  'ecard_by_recipient_name' => 'nach Empfänger-Name',
-  'ecard_by_recipient_email' => 'nach eMail-Adresse des Empfängers',
-  'ecard_number' => 'zeige Eintrag %s bis %s von %s',
-  'ecard_goto_page' => 'gehe zu Seite',
-  'ecard_records_per_page' => 'Einträge pro Seite',
-  'check_all' => 'alle markieren',
-  'uncheck_all' => 'alle Markierungen entfernen',
-  'ecards_delete_selected' => 'Gewählte eCard-Einträge löschen',
-  'ecards_delete_confirm' => 'Alle Einträge löschen? Entsprechendes Feld ankreuzen!',
-  'ecards_delete_sure' => 'wirklich löschen',
-);
-
-
-// ------------------------------------------------------------------------- //
-// File db_input.php
-// ------------------------------------------------------------------------- //
-
-if (defined('DB_INPUT_PHP')) $lang_db_input_php = array(
-  'empty_name_or_com' => 'Sie müssen Ihren Namen und einen Kommentar eingeben',
-  'com_added' => 'Ihr Kommentar wurde hinzugefügt',
-  'alb_need_title' => 'Sie müssen einen Titel für das Album eingeben!',
-  'no_udp_needed' => 'Keine Aktualisierung notwendig.',
-  'alb_updated' => 'Das Album wurde aktualisiert',
-  'unknown_album' => 'Das gewählte Album existiert nicht oder Sie haben keine Berechtigung, Dateien in dieses Album hochzuladen',
-  'no_pic_uploaded' => 'Es wurde keine Datei hochgeladen!<br /><br />Wenn Sie tatsächlich eine Datei zum Hochladen selektiert haben, überprüfen Sie bitte, ob Ihr Server das Hochladen von Dateien zulässt...',
-  'err_mkdir' => 'Verzeichnis %s konnte nicht angelegt werden!',
-  'dest_dir_ro' => 'In das Zielverzeichnis %s kann vom Skript nicht geschrieben werden!',
-  'err_move' => '%s kann nicht nach %s verschoben werden!',
-  'err_fsize_too_large' => 'Die Datei, die Sie hochgeladen haben, ist zu groß (maximal zulässig ist %s x %s) !', //obsolete since cpg1.3 - consider removal in cpg1.4 once upload.php has been overhauled
-  'err_imgsize_too_large' => 'Die Datei, die Sie hochgeladen haben, ist zu groß (maximal zulässig ist %s kB) !', //obsolete since cpg1.3 - consider removal in cpg1.4 once upload.php has been overhauled
-  'err_invalid_img' => 'Die Datei, die Sie hochgeladen haben, ist kein gültiger Bildtyp!',
-  'allowed_img_types' => 'Sie können nur %s Bilder hochladen.',
-  'err_insert_pic' => 'Das Bild \'%s\' kann nicht in das Album eingefügt werden ',
-  'upload_success' => 'Ihre Datei wurde erfolgreich hochgeladen.<br /><br />Es wird nach der Bestätigung durch den Admin sichtbar sein.',
-  'notify_admin_email_subject' => '%s - Upload-Benachrichtigung',
-  'notify_admin_email_body' => '%s hat eine Datei hochgeladen, die bestätigt werden muss. Gehe zu %s',
-  'info' => 'Information',
-  'com_added' => 'Kommentar hinzugefügt',
-  'alb_updated' => 'Album aktualisiert',
-  'err_comment_empty' => 'Ihr Kommentar enthält keine Zeichen!',
-  'err_invalid_fext' => 'Nur Dateien mit den folgenden Erweiterungen sind zulässig: <br /><br />%s.',
-  'no_flood' => 'Leider sind Sie schon der Autor des letzten Kommentars zu dieser Datei<br /><br />Bearbeiten Sie Ihren bestehenden Kommentar, wenn Sie ihn verändern wollen',
-  'redirect_msg' => 'Sie werden weitergeleitet.<br /><br /><br />Klicke Sie \'weiter\', falls sich die Seite nicht automatisch aktualisiert',
-  'upl_success' => 'Ihre Datei wurde erfolgreich hinzugefügt',
-  'email_comment_subject' => 'In der Coppermine Photo Gallery wurde ein Kommentar abgegeben',
-  'email_comment_body' => 'Jemand hat einen Kommentar in Ihrer Galerie abgegeben. Um den Kommentar anzusehen, klicken Sie hier: ',
-  'album_not_selected' => 'Kein Album ausgewählt', //cpg1.4
-  'com_author_error' => 'Ein registrierter Benutzer verwendet diesen Namen bereits, melden Sie sich an oder verwenden Sie einen anderen Namen.', //cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File delete.php
-// ------------------------------------------------------------------------- //
-
-if (defined('DELETE_PHP')) $lang_delete_php = array(
-  'caption' => 'Überschrift',
-  'fs_pic' => 'Bild in Originalgröße',
-  'del_success' => 'erfolgreich gelöscht',
-  'ns_pic' => 'normal-großes Bild',
-  'err_del' => 'kann nicht gelöscht werden',
-  'thumb_pic' => 'Thumbnail',
-  'comment' => 'Kommentar',
-  'im_in_alb' => 'Bild in Album',
-  'alb_del_success' => 'Album &laquo;%s&raquo; gelöscht', //cpg1.4
-  'alb_mgr' => 'Alben-Manager',
-  'err_invalid_data' => 'Ungültige Daten empfangen in \'%s\'',
-  'create_alb' => 'Erzeuge Album \'%s\'',
-  'update_alb' => 'Aktualisiere Album \'%s\' mit Titel \'%s\' und Index \'%s\'',
-  'del_pic' => 'Datei löschen',
-  'del_alb' => 'Album löschen',
-  'del_user' => 'Benutzer löschen',
-  'err_unknown_user' => 'Der gewählte Benutzer ist nicht vorhanden!',
-  'err_empty_groups' => 'Gruppen-Tabelle ist leer oder existiert nicht!', //cpg1.4
-  'comment_deleted' => 'Kommentar wurde gelöscht',
-  'npic' => 'Bild', //cpg1.4
-  'pic_mgr' => 'Bilder-Manager', //cpg1.4
-  'update_pic' => 'Aktualisiere Bild \'%s\' mit Dateiname \'%s\' und Index \'%s\'', //cpg1.4
-  'username' => 'Benutzername', //cpg1.4
-  'anonymized_comments' => '%s Kommentar(e) anonymisiert', //cpg1.4
-  'anonymized_uploads' => '%s öffentliche Upload(s) anonymisiert', //cpg1.4
-  'deleted_comments' => '%s Kommentar(e) gelöscht', //cpg1.4
-  'deleted_uploads' => '%s öffentliche Upload(s) gelöscht', //cpg1.4
-  'user_deleted' => 'Benutzer %s gelöscht', //cpg1.4
-  'activate_user' => 'Benutzer aktivieren', //cpg1.4
-  'user_already_active' => 'Benutzerkonto war bereits aktiv', //cpg1.4
-  'activated' => 'Aktiviert', //cpg1.4
-  'deactivate_user' => 'Deaktiviere Benutzer', //cpg1.4
-  'user_already_inactive' => 'Benutzerkonto war bereits inaktiv', //cpg1.4
-  'deactivated' => 'Deaktiviert', //cpg1.4
-  'reset_password' => 'Passwort zurücksetzen', //cpg1.4
-  'password_reset' => 'Passwort zurückgesetzt auf %s', //cpg1.4
-  'change_group' => 'Primäre Gruppe ändern', //cpg1.4
-  'change_group_to_group' => 'Ändere von %s zu %s', //cpg1.4
-  'add_group' => 'Sekundäre Gruppe hinzufügen', //cpg1.4
-  'add_group_to_group' => 'Füge Benutzer %s zu Gruppe %s hinzu. Er ist nun Mitglied von %s als primäre Gruppe und von %s als sekundäre Mitgliedergruppe(n).', //cpg1.4
-  'status' => 'Status', //cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File displayecard.php
-// ------------------------------------------------------------------------- //
-
-if (defined('DISPLAYECARD_PHP')) {
-
-$lang_displayecard_php = array(
-  'invalid_data' => 'Die Daten für die gewünschte eCard wurden von Ihrem eMail-Client korrumpiert. Überprüfen Sie den Link auf Vollständigkeit.', //cpg1.4
-);
-}
-
-// ------------------------------------------------------------------------- //
-// File displayimage.php
-// ------------------------------------------------------------------------- //
-
-if (defined('DISPLAYIMAGE_PHP')){
-
-$lang_display_image_php = array(
-  'confirm_del' => 'Diese Datei wirklich LÖSCHEN? \\nKommentare werden ebenfalls gelöscht.',
-  'del_pic' => 'Diese Datei löschen',
-  'size' => '%s x %s Pixel',
-  'views' => '%s mal',
-  'slideshow' => 'Diashow',
-  'stop_slideshow' => 'Diashow anhalten',
-  'view_fs' => 'Klicken für Bild in voller Größe',
-  'edit_pic' => 'Datei-Information bearbeiten', //cpg1.4
-  'crop_pic' => 'Zuschneiden und drehen',
-  'set_player' => 'Player ändern',
-);
-
-$lang_picinfo = array(
-  'title' =>'Datei-Information',
-  'Filename' => 'Dateiname',
-  'Album name' => 'Name des Albums',
-  'Rating' => 'Bewertung (%s Stimmen)',
-  'Keywords' => 'Stichworte',
-  'File Size' => 'Dateigröße',
-  'Date Added' => 'Hinzugefügt am', //cpg1.4
-  'Dimensions' => 'Abmessungen',
-  'Displayed' => 'Angezeigt',
-  'URL' => 'URL', //cpg1.4
-  'Make' => 'Hersteller', //cpg1.4
-  'Model' => 'Modell', //cpg1.4
-  'DateTime' => 'Datum &amp; Uhrzeit', //cpg1.4
-  'DateTimeOriginal' => 'Aufnahmedatum', //cpg1.4
-  'ISOSpeedRatings'=>'ISO', //cpg1.4
-  'MaxApertureValue' => 'Max. Blendenwert', //cpg1.4
-  'FocalLength' => 'Brennweite', //cpg1.4
-  'Comment' => 'Kommentar',
-  'addFav'=>'zu Favoriten hinzufügen',
-  'addFavPhrase'=>'Favoriten',
-  'remFav'=>'aus Favoriten entfernen',
-  'iptcTitle'=>'IPTC Titel',
-  'iptcCopyright'=>'IPTC Copyright',
-  'iptcKeywords'=>'IPTC Stichworte',
-  'iptcCategory'=>'IPTC Kategorie',
-  'iptcSubCategories'=>'IPTC Unter-Kategorie',
-  'ColorSpace' => 'Farbraum', //cpg1.4
-  'ExposureProgram' => 'Belichtungsprogramm', //cpg1.4
-  'Flash' => 'Blitz', //cpg1.4
-  'MeteringMode' => 'Belichtungsmessungs-Modus', //cpg1.4
-  'ExposureTime' => 'Belichtungszeit', //cpg1.4
-  'ExposureBiasValue' => 'Belichtungs-Einstellung', //cpg1.4
-  'ImageDescription' => ' Bildbeschreibung', //cpg1.4
-  'Orientation' => 'Ausrichtung', //cpg1.4
-  'xResolution' => 'x-Auflösung', //cpg1.4
-  'yResolution' => 'y-Auflösung', //cpg1.4
-  'ResolutionUnit' => 'Auflösungs-Einheit', //cpg1.4
-  'Software' => 'Software', //cpg1.4
-  'YCbCrPositioning' => 'YCbCr-Positionierung', //cpg1.4
-  'ExifOffset' => 'Exif Versatz', //cpg1.4
-  'IFD1Offset' => 'IFD1 Versatz', //cpg1.4
-  'FNumber' => 'Blende', //cpg1.4
-  'ExifVersion' => 'Exif Version', //cpg1.4
-  'DateTimeOriginal' => 'Datum & Uhrzeit Original', //cpg1.4
-  'DateTimedigitized' => 'Datum & Uhrzeit Digitaliserung', //cpg1.4
-  'ComponentsConfiguration' => 'Komponenten-Konfiguration', //cpg1.4
-  'CompressedBitsPerPixel' => 'Komprimierte Bits pro Pixel', //cpg1.4
-  'LightSource' => 'Lichtquelle', //cpg1.4
-  'ISOSetting' => 'ISO Einstellung', //cpg1.4
-  'ColorMode' => 'Farbmodus', //cpg1.4
-  'Quality' => 'Qualität', //cpg1.4
-  'ImageSharpening' => 'Bildschärfung', //cpg1.4
-  'FocusMode' => 'Fokus-Modus', //cpg1.4
-  'FlashSetting' => 'Blitz-Einstellung', //cpg1.4
-  'ISOSelection' => 'ISO Auswahl', //cpg1.4
-  'ImageAdjustment' => 'Bildabgleich', //cpg1.4
-  'Adapter' => 'Adapter', //cpg1.4
-  'ManualFocusDistance' => 'Manuelle Fokus-Entfernung', //cpg1.4
-  'DigitalZoom' => 'Digitaler Zoom', //cpg1.4
-  'AFFocusPosition' => 'Autofokus-Position', //cpg1.4
-  'Saturation' => 'Sättigung', //cpg1.4
-  'NoiseReduction' => 'Rauschunterdrückung', //cpg1.4
-  'FlashPixVersion' => 'Flash Pix Version', //cpg1.4
-  'ExifImageWidth' => 'Exif Bildbreite', //cpg1.4
-  'ExifImageHeight' => 'Exif Bildhöhe', //cpg1.4
-  'ExifInteroperabilityOffset' => 'Exif Zusammenarbeitsfähigkeit Offset', //cpg1.4
-  'FileSource' => 'Dateiquelle', //cpg1.4
-  'SceneType' => 'Szenen-Typ', //cpg1.4
-  'CustomerRender' => 'Customer Render', //cpg1.4
-  'ExposureMode' => 'Belichtungsmodus', //cpg1.4
-  'WhiteBalance' => 'Weißabgleich', //cpg1.4
-  'DigitalZoomRatio' => 'Verhältnis Digitalzoom', //cpg1.4
-  'SceneCaptureMode' => 'Scene Capture Modus', //cpg1.4
-  'GainControl' => 'Verstärkerregelung', //cpg1.4
-  'Contrast' => 'Kontrast', //cpg1.4
-  'Saturation' => 'Sättigung', //cpg1.4
-  'Sharpness' => 'Schärfe', //cpg1.4
-  'ManageExifDisplay' => 'Exif-Anzeige verwalten', //cpg1.4
-  'submit' => 'los', //cpg1.4
-  'success' => 'Informationen erfolgreich aktualisiert.', //cpg1.4
-  'details' => 'Details', //cpg1.4
-);
-
-$lang_display_comments = array(
-  'OK' => 'OK',
-  'edit_title' => 'Diesen Kommentar bearbeiten',
-  'confirm_delete' => 'Wollen Sie diesen Kommentar wirklich löschen?', //js-alert
-  'add_your_comment' => 'Füge Sie Ihren Kommentar hinzu',
-  'name'=>'Name',
-  'comment'=>'Kommentar',
-  'your_name' => 'Ihr Name',
-  'report_comment_title' => 'Diesen Kommentar beim Administrator melden', //cpg1.4
-);
-
-$lang_fullsize_popup = array(
-  'click_to_close' => 'Bild anklicken, um das Fenster zu schließen!',
-);
-
-}
-
-// ------------------------------------------------------------------------- //
-// File ecard.php
-// ------------------------------------------------------------------------- //
-
-if (defined('ECARDS_PHP') || defined('DISPLAYECARD_PHP')) $lang_ecard_php =array(
-  'title' => 'eCard senden',
-  'invalid_email' => '<b>Achtung</b> : ungültige eMail-Adresse !',
-  'ecard_title' => 'Eine eCard von %s für Sie',
-  'error_not_image' => 'Nur Bilder können als eCard verschickt werden.', //cpg1.3.0
-  'view_ecard' => 'Falls diese eCard nicht korrekt angezeigt wird, klicken Sie bitte auf den folgenden Link: ',
-  'view_ecard_plaintext' => 'Markieren Sie die folgende URL und fügen Sie sie in die Adresszeile Ihres Browsers ein, um diese eCard anzuzeigen:', //cpg1.4
-  'view_more_pics' => 'Klicken Sie auf diesen Link, um mehr Bilder ansehen zu können!', //cpg1.4
-  'send_success' => 'Ihre eCard wurde gesendet',
-  'send_failed' => 'Leider kann der Server Ihre eCard nicht versenden...',
-  'from' => 'Von',
-  'your_name' => 'Ihr Name',
-  'your_email' => 'Ihre eMail-Adresse',
-  'to' => 'An',
-  'rcpt_name' => 'Empfänger Name',
-  'rcpt_email' => 'Empfänger eMail-Adresse',
-  'greetings' => 'Überschrift', //cpg1.4
-  'message' => 'Nachricht', //cpg1.4
-  'ecards_footer' => 'Gesendet durch %s von der IP-Adresse %s um %s (Zeitzone der Galerie)', //cpg1.4
-  'preview' => 'Vorschau der eCard', //cpg1.4
-  'preview_button' => 'Vorschau', //cpg1.4
-  'submit_button' => 'eCard senden', //cpg1.4
-  'preview_view_ecard' => 'Dies wird der Alternativ-Link zur eCard sein, sobald sie tatsächlich erstellt wurde - funktioniert nicht für die Vorschau.', //cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File report_file.php //cpg1.4
-// ------------------------------------------------------------------------- //
-
-if (defined('REPORT_FILE_PHP') || defined('DISPLAYREPORT_PHP')) $lang_report_php =array(
-  'title' => 'Beim Administrator melden', //cpg1.4
-  'invalid_email' => '<b>Achtung</b> : ungültige eMail-Adresse!', //cpg1.4
-  'report_subject' => 'Eine Meldung von %s über die Galerie %s', //cpg1.4
-  'view_report' => 'Alternativ-Link, falls diese Meldung nicht korrekt angezeigt wird', //cpg1.4
-  'view_report_plaintext' => 'Kopieren Sie die folgende URL in die Adresszeile Ihres Browsers, um die Meldung anzuzeigen:', //cpg1.4
-  'view_more_pics' => 'Galerie', //cpg1.4
-  'send_success' => 'Ihre Meldung wurde gesendet', //cpg1.4
-  'send_failed' => 'Der Server kann Ihre Meldung leider nicht versenden...', //cpg1.4
-  'from' => 'Von', //cpg1.4
-  'your_name' => 'Ihr Name', //cpg1.4
-  'your_email' => 'Ihre eMail-Adresse', //cpg1.4
-  'to' => 'An', //cpg1.4
-  'administrator' => 'Administrator/Moderator', //cpg1.4
-  'subject' => 'Betreff', //cpg1.4
-  'comment_field_name' => 'Meldung bezüglich Kommentar von "%s"', //cpg1.4
-  'reason' => 'Grund', //cpg1.4
-  'message' => 'Nachricht', //cpg1.4
-  'report_footer' => 'Gesendet durch %s von IP-Adresse %s um %s (Zeitzone der Galerie)', //cpg1.4
-  'obscene' => 'unanständig ', //cpg1.4
-  'offensive' => 'beleidigend', //cpg1.4
-  'misplaced' => 'vom Thema abschweifend/unangebracht', //cpg1.4
-  'missing' => 'nicht vorhanden', //cpg1.4
-  'issue' => 'Fehler/kann nicht angezeigt werden', //cpg1.4
-  'other' => 'anderer Grund', //cpg1.4
-  'refers_to' => 'Datei-Meldung bezieht sich auf', //cpg1.4
-  'reasons_list_heading' => 'Grund/Gründe für Meldung:', //cpg1.4
-  'no_reason_given' => 'es wurde kein Grund angegeben', //cpg1.4
-  'go_comment' => 'Gehe zu Kommentar', //cpg1.4
-  'view_comment' => 'Vollständige Meldung mit Kommentar anzeigen', //cpg1.4
-  'type_file' => 'Datei', //cpg1.4
-  'type_comment' => 'Kommentar', //cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File editpics.php
-// ------------------------------------------------------------------------- //
-
-if (defined('EDITPICS_PHP')) $lang_editpics_php = array(
-  'pic_info' => 'Bild-Info',
-  'album' => 'Album',
-  'title' => 'Titel',
-  'filename' => 'Dateiname', //cpg1.4
-  'desc' => 'Beschreibung',
-  'keywords' => 'Stichworte',
-  'new_keyword' => 'Neue Stichworte', //cpg1.4
-  'new_keywords' => 'Neue Stichworte gefunden', //cpg1.4
-  'existing_keyword' => 'Vorhandene Stichworte', //cpg1.4
-  'pic_info_str' => '%sx%s - %s kB - %s x angesehen - %s x bewertet',
-  'approve' => 'Datei genehmigen',
-  'postpone_app' => 'Genehmigung verschieben',
-  'del_pic' => 'Datei löschen',
-  'del_all' => 'ALLE Dateien löschen', //cpg1.4
-  'read_exif' => 'EXIF-Daten erneut einlesen',
-  'reset_view_count' => 'Zähler \'x mal angesehen\' auf Null setzen',
-  'reset_all_view_count' => 'ALLE Zähler \'x mal angesehen\' auf Null setzen', //cpg1.4
-  'reset_votes' => 'Anzahl Stimmen auf Null setzen',
-  'reset_all_votes' => 'ALLE Stimmen auf Null setzen', //cpg1.4
-  'del_comm' => 'Kommentare löschen',
-  'del_all_comm' => 'ALLE Kommentare löschen', //cpg1.4
-  'upl_approval' => 'Genehmigung zum Hochladen', //cpg1.4
-  'edit_pics' => 'Dateien bearbeiten',
-  'see_next' => 'nächste Dateien ansehen',
-  'see_prev' => 'vorherige Dateien ansehen',
-  'n_pic' => '%s Dateien',
-  'n_of_pic_to_disp' => 'Dateien pro Seite',
-  'apply' => 'Änderungen ausführen',
-  'crop_title' => 'Coppermine Bild-Editor',
-  'preview' => 'Vorschau',
-  'save' => 'Bild speichern',
-  'save_thumb' =>'Speichern als Thumbnail',
-  'gallery_icon' => 'Dieses Bild zu meinem Benutzer-Icon machen', //cpg1.4
-  'sel_on_img' =>'Die Auswahl muss vollständig innerhalb des Bildes liegen!', //js-alert
-  'album_properties' =>'Alben-Eigenschaften', //cpg1.4
-  'parent_category' =>'Eltern-Kategorie', //cpg1.4
-  'thumbnail_view' =>'Thumbnail Ansicht', //cpg1.4
-  'select_unselect' =>'alle selektieren/deselektieren', //cpg1.4
-  'file_exists' => "Zieldatei '%s' existiert bereits.", //cpg1.4
-  'rename_failed' => "Konnte '%s' nicht in '%s' umbenennen.", //cpg1.4
-  'src_file_missing' => "Quelldatei '%s' nicht vorhanden.", // cpg 1.4
-  'mime_conv' => "Kann Datei '%s' nicht zu '%s' umwandeln",//cpg1.4
-  'forb_ext' => 'Keine erlaubte Dateiendung.',//cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File faq.php
-// ------------------------------------------------------------------------- //
-
-if (defined('FAQ_PHP')) $lang_faq_php = array(
-  'faq' => 'Häufig gestellte Fragen (Frequently Asked Questions)',
-  'toc' => 'Inhalt',
-  'question' => 'Frage: ',
-  'answer' => 'Antwort: ',
-);
-
-if (defined('FAQ_PHP')) $lang_faq_data = array(
-  'Allgemeines',
-  array('Warum muss ich mich registrieren?', 'Der Administrator kann verlangen, dass Sie sich registrieren (oder auch nicht). Durch die Registrierung erhalten Sie möglicherweise einige zusätzliche Features, wie z.B. Dateien hochladen, eine Favoriten-Liste, Bewertung von Bildern, Abgabe von Kommentaren etc. ', 'allow_user_registration', '0'),
-  array('Wie kann ich mich registrieren?', 'Klicken Sie auf &quot;Registrieren&quot; und füllen Sie die notwendigen Felder aus (und die optionalen, wenn Sie möchten).<br />Wenn der Administrator eMail-Aktivierung eingeschaltet hat, bekommen Sie eine eMail an die Adresse, die Sie bei der Registrierung angegeben haben, in der Anweisungen enthalten sind, wie Sie Ihr Benutzerkonto aktivieren können. In diesem Fall muss Ihr Konto aktiviert werden, bevor Sie sich anmelden können.', 'allow_user_registration', '1'),
-  array('Wie kann ich mich anmelden?', 'Klicken Sie auf &quot;Anmelden&quot;, geben Sie Ihren Benutzernamen und Ihr Passwort ein, und kreuzen Sie die Option &quot;Immer angemeldet bleiben&quot; an, damit Sie sich nicht bei Ihrem nächsten Besuch auf der Seite erneut anmelden müssen.<br /><b>WICHTIG: Um sich anzumelden, müssen Cookies in Ihrem Browser zulassen sein, und das Cookie darf nicht gelöscht werden, wenn Sie die Option &quot;Immer angemeldet bleiben&quot; nutzen wollen.</b>', 'offline', 0),
-  array('Warum kann ich mich nicht anmelden?', 'Haben Sie sich registriert und die Anweisungen ausgeführt, die in der Aktivierungsmail an Sie gesendet wurden?. Der Link in der Aktivierungsmail schaltet Ihr Benutzerkonto frei. Bezüglich anderer Probleme beim Anmelden, wende Sie sich bitte an den Admin dieser Seite.', 'offline', 0),
-  array('Ich habe mein Passwort vergessen. Was nun?', 'Wenn der Link &quot;Passwort vergessen&quot; auf der Anmeldeseite anzeigt wird, dann benutzen Sie ihn. Ansonsten nehmen Sie Kontakt mit dem Admin dieser Seite auf und bitten Sie ihn um ein neues Passwort.', 'offline', 0),
-  //array('Meine eMail-Adresse hat sich geändert. Was tun?', 'Melde Dich an und ändere Ihre eMail-Adresse im Menüpunkt &quot; mein Profil&quot;', 'offline', 0),
-  array('Wie speichere ich eine Datei in &quot;meine Favoriten&quot;?', 'Klicken Sie auf &quot;Datei-Info&quot; (<img src="images/info.gif" width="16" height="16" border="0" alt="Bild-Info" />); gehen Sie ganz nach unten auf der Seite und klicken Sie auf &quot;Zu Favoriten hinzufügen&quot;.<br />Möglicherweise ist die Anzeige des Datei-Info Bereichs auch standardmäßig eingeschaltet.<br />Wichtig: Cookies müssen aktiviert sein und Sie dürfen den Cookie nicht löschen (im Cookie werden die Favoriten gespeichert).', 'offline', 0),
-  array('Wie kann ich eine Datei bewerten?', 'Klicken Sie auf das Thumbnail (kleine Vorschaugrafik) einer Datei und wählen Sie eine Bewertung (angezeigt unterhalb des Bildes).', 'offline', 0),
-  array('Wie kann ich einen Kommentar abgeben?', 'Klicken Sie auf das Thumbnail (kleine Vorschaugrafik) einer Datei, gehen Sie nach unten auf der Seite und geben Sie Ihren Kommentar ein. Wenn keine Eingabe eines Kommentars möglich ist, müssen Sie sich eventuell erst registrieren und anmelden, damit diese Option zur Verfügung steht.', 'offline', 0),
-  array('Wie kann ich eine Datei hochladen?', 'Klicken Sie auf &quot;Datei hochladen&quot; und wählen Sie das Album aus, in das Sie die Datei hochladen wollen, klicken Sie auf &quot;Durchsuchen&quot; und wählen Sie die Datei aus, die Sie hochladen wollen und klicken dann Sie auf &quot;öffnen&quot; (fügen Sie einen Titel, eine Beschriftung und ein paar Stichworte ein, wenn Sie möchten). Um den Vorgang abzuschliessen, klicken Sie auf &quot;Datei hochladen&quot;', 'allow_private_albums', 0),
-  array('Wohin kann ich Dateien hochladen?', 'Sie können Dateien in Alben hochladen, die Sie innerhalb der Kategorie &quot;meine Galerie&quot; erstellen können. Der Administrator der Seite kann Ihnen auch das Recht einräumen, in ein oder mehrere Alben der allgemeinen Galerie hochzuladen. Falls das der Fall ist, werden Ihnen diese Alben im Auswahlmenü auf der Upload-Seite angezeigt', 'allow_private_albums', 0),
-  array('Welche Art und Größe von Dateien kann ich hochladen?', 'Die Art (z.B. jpg oder png) und Größe bestimmt der Administrator dieser Seite.', 'allow_private_albums', 0),
-  array('Was ist &quot;meine Galerie&quot;?', '&quot;Meine Galerie&quot; ist Ihre persönliche Galerie, innerhalb der Sie Dateien hochladen und bearbeiten können.', 'allow_private_albums', 0),
-  array('Wie kann ich Alben erzeugen, umbenennen oder löschen in &quot;meine Galerie&quot;?', 'Sie sehen die Optionen erst nach der Anmeldung im Admin-Modus<br />Klicken Sie auf &quot;Erzeuge/ändere meine Alben&quot; und klicken Sie auf &quot;Neu&quot;. Ändern Sie den Text &quot;Neues Album&quot; in den gewünschten Namen ab.<br />Sie können auch bestehende Alben umbenennen, indem Sie sie zuerst anklicken und dann im Eingabefeld unten einen neuen Namen dafür eingeben.<br />Klicken Sie auf &quot;Änderungen übernehmen&quot;, um Ihre Änderungen durchzuführen.', 'allow_private_albums', 0),
-  array('Wie kann ich meine Alben abändern und die Zugriffsrechte darauf ändern?', 'Sie sollten nach der Anmeldung bereits im Admin-Modus sein.<br />Klicken Sie auf &quot; Meine Alben bearbeiten&quot;. Wählen Sie in der Zeile &quot;Album aktualisieren&quot; das Album aus, das Sie aktualisieren möchten.<br />Sie können dann den Namen, die Beschreibung, das Thumbnail (Vorschaugrafik) ändern und die Rechte ändern, wer das Album sehen und Kommentare dazu abgeben darf.<br />Um Ihre Änderungen zu bestätigen, klicken Sie am Schluß auf &quot;Album aktualisieren&quot;.', 'allow_private_albums', 0),
-  array('Was sind Cookies?', 'Cookies sind kleine Textdateien, die von einem Webserver versendet werden und auf Ihrem Rechner gespeichert werden. Beim erneuten Aufsuchen der Seite können die Cookies wieder vom Server gelesen werden.<br />In der Regel werden Sie dazu genutzt, Sie als Benutzer auf der Seite wiederzuerkennen. Cookies selbst können keine Viren oder sonstige bösartigen Schad-Programme enthalten und sind daher in erster Linie ungefährlich. Einige Seitenbetreiber setzen Cookies allerdings ein, um Verhaltensprofile von Surfern im Internet zu erstellen und nutzen die Informationen in der Regel, um zielgerichtet Werbung für den Surfer zur Verfügung zu stellen.', 'offline', 0),
-  array('Woher kann ich dieses Porgramm für meine Homepage bekommen?', 'Diese Seite läuft mit Coppermine. Coppermine ist eine kostenlose Multimedia-Galerie, die unter der Lizenz GNU GPL erscheint. Die Software ist voller Features und für einige Platformen erhältlich. Besuchen Sie die <a href="http://coppermine-gallery.net/">Coppermine Home Page</a> für zusätzliche Informationen oder um die Software herunterzuladen.', 'offline', 0),
-
-  'Navigation auf der Seite',
-  array('Was ist die &quot;Alben-Übersicht&quot;?', 'Zeigt die gesamte Kategorie an, in der Sie sich gerade befinden, mit einem Link zu jedem Album. Wenn Sie sich gerade nicht innerhalb einer Kategorie befinden zeigt Ihnen &quot;Alben-Übersicht&quot; die gesamte Galerie mit Links zu den einzelnen Kategorien an. Möglicherweise existieren Thumbnails als Links zu den einzelnen Kategorien.', 'offline', 0),
-  array('Was ist &quot;meine Galerie&quot;?', 'Mit diesem Menüpunkt können Sie Ihre eigene Benutzer-Galerie erstellen und bearbeiten.', 'allow_private_albums', 1), //cpg1.4
-  array('Was ist der Unterschied zwischen &quot;Admin-Modus&quot; und &quot;Benutzer-Modus&quot;?', 'Im Admin-Modus werden die Navigations-Elemente zum Erstellen und Ändern Ihrer Benutzer-Galerie angezeigt; der Benutzer-Modus zeigt Ihnen, wie Ihre Benutzer-Galerie für andere Benutzer aussieht (ohne die entsprechenden Menüpunkte).', 'allow_private_albums', 0),
-  array('Was ist &quot;Dateien hochladen&quot;?', 'Dieses Feature ermöglicht es Benutzern, eigene Dateien hochzuladen und in Alben zu positionieren (Dateigröße und -typ wurden vom Admin festgelegt).', 'allow_private_albums', 0),
-  array('Was ist &quot;neueste Uploads&quot;?', 'Dieser Bereich zeigt die neuesten Dateien, die in eines der Alben der Galerie hochgeladen wurden.', 'offline', 0),
-  array('Was ist &quot;neueste Kommentare&quot;?', 'Dieser Bereich zeigt die zuletzt abgegebenen Kommentare unterhalb der Thumbnails (Vorschaugrafik) der Dateien, auf die sich die Kommentare beziehen.', 'offline', 0),
-  array('Was ist &quot;am meisten angesehen&quot;?', 'Dieser Bereich zeigt die beliebtesten Dateien (am meisten angesehen) der gesamten Galerie oder des Bereichs an, in dem Sie sich befinden.', 'offline', 0),
-  array('Was ist &quot;am besten bewertet&quot;?', 'Durchschnittliche Bewertung der Datei (Bsp.: 5 Benutzer gaben einem Bild ein Bewertung von <img src="images/rating3.gif" width="65" height="14" border="0" alt="" />: das Bild hat eine durchschnittliche Bewertung von <img src="images/rating3.gif" width="65" height="14" border="0" alt="" /> ;Wenn 5 Benutzer ein Bild mit Noten von 1 bis 5 (1,2,3,4,5) bewerten, würde der Schnitt ebenfalls so aussehen: <img src="images/rating3.gif" width="65" height="14" border="0" alt="" /> .)<br />Die Bewertungs-Skala reicht von <img src="images/rating5.gif" width="65" height="14" border="0" alt="super" /> (super) bis <img src="images/rating0.gif" width="65" height="14" border="0" alt="sehr schlecht" /> (sehr schlecht).', 'offline', 0),
-  array('Was ist &quot;Meine Favoriten&quot;?', 'Mit diesem Feature können Sie Bilder, die Sie später noch einmal ansehen wollen, in einer Favoriten-Liste speichern. Dazu müssen Sie nicht einmal angemeldet sein, da die Liste in einem Cookie auf Ihrem Computer gespeichert wird. Beachte Sie aber: die Favoriten stehen Ihnen nur an diesem Computer zur Verfügung; wenn die Cookies gelöscht werden, sind die Favoriten ebenfalls verschwunden.', 'offline', 0),
-);
-
-
-// ------------------------------------------------------------------------- //
-// File forgot_passwd.php
-// ------------------------------------------------------------------------- //
-
-if (defined('FORGOT_PASSWD_PHP')) $lang_forgot_passwd_php = array(
-  'forgot_passwd' => 'Passwort-Erinnerung',
-  'err_already_logged_in' => 'Sie sind schon angemeldet!',
-  'enter_email' => 'Geben Sie Ihre eMail-Adresse ein', //cpg1.4
-  'submit' => 'los!',
-  'illegal_session' => 'Die Session für die Passwort-Erinnerung ist ungültig oder abgelaufen.', //cpg1.4
-  'failed_sending_email' => 'Die eMail mit der Passwort-Erinnerung kann nicht gesendet werden!',
-  'email_sent' => 'Eine eMail mit Ihrem Benutzernamen und einem neuen Passwort wurde an %s gesendet.', //cpg1.4
-  'verify_email_sent' => 'EineeMail wurde an %s gesendet. Bitte überprüfen Sie Ihre Mailbox, um den Vorgang abzuschliessen.', //cpg1.4
-  'err_unk_user' => 'Der gewählte Benutzer existiert nicht!',
-  'account_verify_subject' => '%s - Anforderung neues Passwort', //cpg1.4
-  'account_verify_body' => 'Sie haben ein neues Passwort beantragt - um dieses neue Passwort tatsächlich zu erhalten, klicken Sie auf nachstehenden Link:
-
-%s', //cpg1.4
-  'passwd_reset_subject' => '%s - Ihr neues Passwort', //cpg1.4
-  'passwd_reset_body' => 'Hier ist das neue Passwort, das Sie beantragt haben:
-Benutzername: %s
-Passwort: %s
-Klicken Sie %s, um sich anzumelden.', //cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File groupmgr.php
-// ------------------------------------------------------------------------- //
-
-if (defined('GROUPMGR_PHP')) $lang_groupmgr_php = array(
-  'group_name' => 'Gruppen-Name', //cpg1.4
-  'permissions' => 'Berechtigungen', //cpg1.4
-  'public_albums' => 'Upload in öffentliche Alben', //cpg1.4
-  'personal_gallery' => 'Persönliche Galerie', //cpg1.4
-  'upload_method' => 'Upload-Methode', //cpg1.4
-  'disk_quota' => 'Speicherplatz', //cpg1.4
-  'rating' => 'Abstimmen', //cpg1.4
-  'ecards' => 'eCards', //cpg1.4
-  'comments' => 'Kommentare', //cpg1.4
-  'allowed' => 'Erlaubt', //cpg1.4
-  'approval' => 'Bestätigung', //cpg1.4
-  'boxes_number' => 'Anzahl Felder', //cpg1.4
-  'variable' => 'variabel', //cpg1.4
-  'fixed' => 'fest', //cpg1.4
-  'apply' => 'Änderungen übernehmen',
-  'create_new_group' => 'Neue Gruppe erstellen',
-  'del_groups' => 'ausgewählte Gruppe(n) löschen',
-  'confirm_del' => 'Achtung: wenn Sie eine Gruppe löschen, werden die dazu gehörenden Benutzer in die Gruppe \'Registrierte Benutzer\' verschoben!\n\nWollen Sie das ?', //js-alert
-  'title' => 'Benutzer-Gruppen verwalten',
-  'num_file_upload' => 'Datei-Upload Felder', //cpg1.4
-  'num_URI_upload' => 'URI-Upload Felder', //cpg1.4
-  'reset_to_default' => 'Auf Standard-Gruppennamen (%s) zurücksetzen - empfohlen!', //cpg1.4
-  'error_group_empty' => 'Gruppen-Tabelle war leer!<br /><br />Standard-Gruppen wurden erstellt, bitte diese Seite erneut laden', //cpg1.4
-  'explain_greyed_out_title' => 'Warum ist diese Zeile ausgegraut?', //cpg1.4
-  'explain_guests_greyed_out_text' => 'Die Eigenschaften dieser Gruppe können nicht verändert werden, weil die Option &quot;Nicht-angemeldeten Besuchern (Gäste) Zugriff erlauben&quot; in der Coppermine-Knofiguration auf &quot;Nein&quot; gesetzt wurde. Alle Gäste (Mitglieder der Gruppe %s) können nichts tun außer sich anzumelden; daher sind keine der Gruppen-Verrechtungen für sie zutreffend.', //cpg1.4
-  'explain_banned_greyed_out_text' => 'Die Eigenschaften der Gruppe %s können nicht verändert werden, da deren Mitglieder sowieso nichts tun dürfen.', //cpg1.4
-  'group_assigned_album' => 'zugewiesene Alben', //cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File index.php
-// ------------------------------------------------------------------------- //
-
-if (defined('INDEX_PHP')){
-
-$lang_index_php = array(
-  'welcome' => 'Startseite',
-);
-
-$lang_album_admin_menu = array(
-  'confirm_delete' => 'Wollen Sie dieses Album wirklich LÖSCHEN? \\nAlle darin befindlichen Dateien und Kommentare werden ebenfalls gelöscht.',
-  'delete' => 'löschen',
-  'modify' => 'Eigenschaften',
-  'edit_pics' => 'Dateien bearbeiten',
-);
-
-$lang_list_categories = array(
-  'home' => 'Galerie',
-  'stat1' => '<b>[pictures]</b> Dateien in <b>[albums]</b> Alben und <b>[cat]</b> Kategorien mit <b>[comments]</b> Kommentaren, <b>[views]</b> mal angesehen',
-  'stat2' => '<b>[pictures]</b> Dateien in <b>[albums]</b> Alben, <b>[views]</b> mal angesehen',
-  'xx_s_gallery' => '%s\'s Galerie',
-  'stat3' => '<b>[pictures]</b> Dateien in <b>[albums]</b> Alben mit <b>[comments]</b> Kommentaren, <b>[views]</b> mal angesehen'
-);
-
-$lang_list_users = array(
-  'user_list' => 'Benutzer-Liste',
-  'no_user_gal' => 'Keine Benutzer-Galerien vorhanden.',
-  'n_albums' => '%s Album/en',
-  'n_pics' => '%s Datei(en)',
-);
-
-$lang_list_albums = array(
-  'n_pictures' => '%s Dateien',
-  'last_added' => ', letzte Aktualisierung am %s',
-  'n_link_pictures' => '%s verknüpfte Dateien', //cpg1.4
-  'total_pictures' => '%s Dateien insgesamt', //cpg1.4
-);
-
-}
-
-// ------------------------------------------------------------------------- //
-// File keywordmgr.php //cpg1.4
-// ------------------------------------------------------------------------- //
-
-if (defined('KEYWORDMGR_PHP')) $lang_keywordmgr_php = array(
-  'title' => 'Stichworte verwalten', //cpg1.4
-  'edit' => 'bearbeiten', //cpg1.4
-  'delete' => 'löschen', //cpg1.4
-  'search' => 'suchen', //cpg1.4
-  'keyword_test_search' => 'nach %s in einem neuen Fenster suchen', //cpg1.4
-  'keyword_del' => 'das Stichwort %s löschen', //cpg1.4
-  'confirm_delete' => 'Wollen Sie wirklich das Stichwort %s aus der gesamten Galerie löschen?', //cpg1.4  // js-alert
-  'change_keyword' => 'Stichwort ändern', //cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File login.php
-// ------------------------------------------------------------------------- //
-
-if (defined('LOGIN_PHP')) $lang_login_php = array(
-  'login' => 'Anmeldung (Login)',
-  'enter_login_pswd' => 'Geben Sie Ihren Benutzernamen und Ihr Passwort ein, um sich anzumelden',
-  'username' => 'Benutzername',
-  'password' => 'Passwort',
-  'remember_me' => 'Immer angemeldet bleiben',
-  'welcome' => 'Hallo %s ...',
-  'err_login' => '*** Konnte Sie nicht anmelden. Versuche Sie es bitte nochmal ***',
-  'err_already_logged_in' => 'Sie sind schon angemeldet!',
-  'forgot_password_link' => 'Passwort vergessen',
-  'cookie_warning' => 'Achtung: Ihr Browser akzeptiert nicht die Cookies dieses Skripts', //cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File logout.php
-// ------------------------------------------------------------------------- //
-
-if (defined('LOGOUT_PHP')) $lang_logout_php = array(
-  'logout' => 'Abmelden',
-  'bye' => 'Tschüss %s ...',
-  'err_not_loged_in' => 'Sie sind nicht angemeldet!',
-);
-
-// ------------------------------------------------------------------------- //
-// File minibrowser.php  //cpg1.4
-// ------------------------------------------------------------------------- //
-
-if (defined('MINIBROWSER_PHP')) $lang_minibrowser_php = array(
-  'close' => 'schliessen', //cpg1.4
-  'submit' => 'OK', //cpg1.4
-  'up' => 'eine Ebene höher', //cpg1.4
-  'current_path' => 'derzeitiger Pfad', //cpg1.4
-  'select_directory' => 'Wählen Sie ein Verzeichnis', //cpg1.4
-  'click_to_close' => 'Bild klicken, um dieses Fenster zu schliessen',
-);
-
-// ------------------------------------------------------------------------- //
-// File modifyalb.php
-// ------------------------------------------------------------------------- //
-
-if (defined('MODIFYALB_PHP')) $lang_modifyalb_php = array(
-  'upd_alb_n' => 'Album %s aktualisieren',
-  'general_settings' => 'Allgemeine Einstellungen',
-  'alb_title' => 'Album Titel',
-  'alb_cat' => 'Album Kategorie',
-  'alb_desc' => 'Album Beschreibung',
-  'alb_keyword' => 'Album Keyword', //cpg1.4
-  'alb_thumb' => 'Album Thumbnail',
-  'alb_perm' => 'Berechtigungen für dieses Album',
-  'can_view' => 'Album kann angesehen werden von',
-  'can_upload' => 'Besucher können Dateien hochladen',
-  'can_post_comments' => 'Besucher können Kommentare abgeben',
-  'can_rate' => 'Besucher können Dateien bewerten',
-  'user_gal' => 'Benutzer-Galerie',
-  'no_cat' => '* keine Kategorie *',
-  'alb_empty' => 'Album ist leer',
-  'last_uploaded' => 'Letzte Datei, die hochgeladen wurde',
-  'public_alb' => 'Jeder (öffentliches Album)',
-  'me_only' => 'Nur ich',
-  'owner_only' => 'Nur der Besitzer des Albums (%s)',
-  'groupp_only' => 'Mitglieder der Gruppe \'%s\'',
-  'err_no_alb_to_modify' => 'Es ist kein Album zum Bearbeiten in der Datenbank.',
-  'update' => 'Album aktualisieren',
-  'reset_album' => 'Album zurücksetzen', //cpg1.4
-  'reset_views' => 'Anzeigezähler zurücksetzen auf &quot;0&quot; für %s', //cpg1.4
-  'reset_rating' => 'Abstimmungen auf alle Dateien im Album %s zurücksetzen', //cpg1.4
-  'delete_comments' => 'Alle Kommentare im Album %s löschen', //cpg1.4
-  'delete_files' => 'Unwiederbringlich alle Dateien im Album %s löschen', //cpg1.4
-  'views' => 'Treffer', //cpg1.4
-  'votes' => 'Stimmen', //cpg1.4
-  'comments' => 'Kommentare', //cpg1.4
-  'files' => 'Dateien', //cpg1.4
-  'submit_reset' => 'Änderungen durchführen', //cpg1.4
-  'reset_views_confirm' => 'ich bin mir sicher', //cpg1.4
-  'notice1' => '(*) abhängig von den %sGruppen%s Einstellungen',  //cpg1.4 //(do not translate %s!)
-  'alb_password' => 'Passwort des Albums', //cpg1.4
-  'alb_password_hint' => 'Hinweis für Albums-Passwort', //cpg1.4
-  'edit_files' =>'Dateien bearbeiten', //cpg1.4
-  'parent_category' =>'Eltern-Kategorie', //cpg1.4
-  'thumbnail_view' =>'Thumbnail-Ansicht', //cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File phpinfo.php
-// ------------------------------------------------------------------------- //
-
-if (defined('PHPINFO_PHP')) $lang_phpinfo_php = array(
-  'php_info' => 'PHP info',
-  'explanation' => 'Diese Ausgabe wird durch die PHP-Funktion <a href="http://www.php.net/phpinfo">phpinfo()</a> erzeugt, und innerhalb von Coppermine angezeigt (dabei wird möglicherweise die Ausgabe einiger Felder am rechten Rand abgeschnitten).',
-  'no_link' => 'Anderen Personen die phpinfo-Daten anzuzeigen, kann ein Sicherheitsrisiko sein - daher wird diese Seite nur angezeigt, wenn Sie als Admin angemeldet sind. Sie können daher anderen keinen Link auf diese Seite zukommen lassen, da ihnen der Zugriff verwährt werden wird!',
-);
-
-// ------------------------------------------------------------------------- //
-// File picmgr.php //cpg1.4
-// ------------------------------------------------------------------------- //
-if (defined('PICMGR_PHP')) $lang_picmgr_php = array(
-  'pic_mgr' => 'Bilder verwalten', //cpg1.4
-  'select_album' => 'Wähle Album', //cpg1.4
-  'delete' => 'Löschen', //cpg1.4
-  'confirm_delete1' => 'Dieses Bild wirklich löschen?', //cpg1.4
-  'confirm_delete2' => '\nLöschen ist dauerhaft und endgültig.', //cpg1.4
-  'apply_modifs' => 'Änderungen übernehmen', //cpg1.4
-  'confirm_modifs' => 'Änderungen bestätigen', //cpg1.4
-  'pic_need_name' => 'Bild muss einen Namen haben', //cpg1.4
-  'no_change' => 'Es wurden keine Änderungen vorgenommen', //cpg1.4
-  'no_album' => '* Kein Album *', //cpg1.4
-  'explanation_header' => 'Die benutzerdefinierte Sortierreihenfolge, die Sie auf dieser Seite wählen können wird nur angewendet, wenn', //cpg1.4
-  'explanation1' => 'der Administrator die Konfigurationsoption für "Benutzerdefinierte Sortierreihenfolde für Dateien" auf "Position absteigend" oder "Position aufsteigend" gesetzt hat (globale Einstellung für alle Benutzer, die keine andere individuelle Sortierreihenfolge gewählt haben)', //cpg1.4
-  'explanation2' => 'der Benutzer als Sortierreihenfolde "Position absteigend" oder "Position aufsteigend" auf der Thumbnail-Seite gewählt hat (Einstellung pro Benutzer)', //cpg1.4
-);
-
-
-// ------------------------------------------------------------------------- //
-// File pluginmgr.php //cpg1.4
-// ------------------------------------------------------------------------- //
-
-if (defined('PLUGINMGR_PHP')){
-
-$lang_pluginmgr_php = array(
-  'confirm_uninstall' => 'Dieses Plugin wirklich DE-INSTALLIEREN', //cpg1.4
-  'confirm_delete' => 'Dieses Plugin wirklich LÖSCHEN', //cpg1.4
-  'pmgr' => 'Plugin Manager', //cpg1.4
-  'name' => 'Name', //cpg1.4
-  'author' => 'Author', //cpg1.4
-  'desc' => 'Beschreibung', //cpg1.4
-  'vers' => 'v', //cpg1.4
-  'i_plugins' => 'Installierte Plugins', //cpg1.4
-  'n_plugins' => 'Nicht installierte Plugins', //cpg1.4
-  'none_installed' => 'nicht installiert', //cpg1.4
-  'operation' => 'Aufgabe', //cpg1.4
-  'not_plugin_package' => 'Die hochgeladene Datei ist kein Plugin-Paket.', //cpg1.4
-  'copy_error' => 'Beim Kopieren des Pakets in das Plugin-Verzeichnis ist ein Fehler aufgetreten.', //cpg1.4
-  'upload' => 'Hochladen', //cpg1.4
-  'configure_plugin' => 'Plugin konfigurieren', //cpg1.4
-  'cleanup_plugin' => 'Plugin bereinigen', //cpg1.4
-);
-}
-
-// ------------------------------------------------------------------------- //
-// File ratepic.php
-// ------------------------------------------------------------------------- //
-
-if (defined('RATEPIC_PHP')) $lang_rate_pic_php = array(
-  'already_rated' => 'Sie haben diese Datei schon bewertet',
-  'rate_ok' => 'Ihre Bewertung wurde akzeptiert',
-  'forbidden' => 'Sie können Ihre eigenen Dateien nicht bewerten.', //cpg1.3.0
-);
-
-// ------------------------------------------------------------------------- //
-// File register.php & profile.php
-// ------------------------------------------------------------------------- //
-
-if (defined('REGISTER_PHP') || defined('PROFILE_PHP')) {
-
-$lang_register_disclamer = <<<EOT
-Obwohl die Administratoren von {SITE_NAME} versuchen werden, generell alle anstössigen Inhalte so schnell wie möglich zu löschen oder zu bearbeiten, ist es unmöglich, jeden Beitrag zu überprüfen. Daher bestätigen Sie, dass alle Beiträge auf dieser Seite die Ansichten und Meinungen des Authors widerspiegeln und nicht die des Administrators oder Webmasters (außer den Beiträgen, die durch sie verfasst wurden) und sie daher dafür nicht verantwortlich gemacht werden können.<br />
-<br />
-Sie stimmen zu, keine beleidigende, obszöne, vulgäre, verleumderische, verhetzende, drohende, sexuell-orientierte oder sonstwie illegalen Beiträge zu verfassen. Sie stimmen zu, dass der/die Webmaster, Administrator(en) oder Moderator(en) von {SITE_NAME} das Recht haben, jeden Inhalt zu löschen oder zu ändern, bei dem sie es für richtig halten. Als Benutzer stimmen Sie zu, dass alle Informationen, die Sie oben eingetragen haben, in einer Datenbank gespeichert werden. Obwohl diese Daten ohne Ihre ausdrückliche Zustimmung nicht an Dritte weitergegeben werden, können der Webmaster oder Administrator nicht dafür zur Verantwortung gezogen werden, wenn durch einen Angriff (Hacking) die gespeicherten Daten kompromitiert werden.<br />
-<br />
-Diese Seite benutzt Cookies, um Daten auf Ihrem Rechner zu speichern. Diese Cookies dienen nur dazu, die Bedienung der Seite zu ermöglichen. Die eMail-Adresse wird nur dazu verwendet, die Registrierungs-Details und das Passwort zu bestätigen.<br />
-<br />
-Durch das Anklicken von 'ich stimme zu' stimmen Sie diesen Bedingungen zu.
-EOT;
-
-$lang_register_php = array(
-  'page_title' => 'Benutzer-Registrierung',
-  'term_cond' => 'Nutzungsbedingungen',
-  'i_agree' => 'ich stimme zu',
-  'submit' => 'Registrieren absenden',
-  'err_user_exists' => 'Der Benutzername, den Sie eingegeben haben, existiert schon, bitte wählen Sie einen anderen',
-  'err_password_mismatch' => 'Die Passwörter stimmen nicht überein, bitte nochmals eingeben',
-  'err_uname_short' => 'Der Benutzername muss mindestens 2 Zeichen lang sein',
-  'err_password_short' => 'Das Passwort muss mindestens 2 Zeichen lang sein',
-  'err_uname_pass_diff' => 'Benutzername und Passwort müssen unterschiedlich sein',
-  'err_invalid_email' => 'eMail-Adresse ist ungültig',
-  'err_duplicate_email' => 'Es hat sich schon ein anderer Benutzer mit der angegebenen eMail-Adresse registriert',
-  'enter_info' => 'Geben Sie Registrierungs-Informationen ein',
-  'required_info' => 'Pflichtfeld',
-  'optional_info' => 'Optional',
-  'username' => 'Benutzername',
-  'password' => 'Passwort',
-  'password_again' => 'Passwort-Bestätigung',
-  'email' => 'eMail-Adresse',
-  'location' => 'Ort',
-  'interests' => 'Hobbies',
-  'website' => 'Homepage',
-  'occupation' => 'Beruf',
-  'error' => 'FEHLER',
-  'confirm_email_subject' => '%s - Registrierungs-Bestätigung',
-  'information' => 'Information',
-  'failed_sending_email' => 'Die Registrierungs-Bestätigung kann nicht per eMail versendet werden!',
-  'thank_you' => 'Danke für Ihre Registrierung.<br /><br />Eine eMail mit Informationen, wie Sie Ihr Benutzerkonto aktivieren können, wurde an die angegebene eMail-Adresse gesendet.',
-  'acct_created' => 'Ihr Benutzerkonto wurde erstellt. Sie können sich jetzt mit Benutzername und Passwort anmelden',
-  'acct_active' => 'Ihr Benutzerkonto ist jetzt aktiviert. Sie können sich jetzt mit Benutzername und Passwort anmelden',
-  'acct_already_act' => 'Ihr Benutzerkonto ist bereits aktiviert!', //cpg1.4
-  'acct_act_failed' => 'Dieses Benutzerkonto kann nicht aktiviert werden!',
-  'err_unk_user' => 'Der gewählte Benutzer existiert nicht!',
-  'x_s_profile' => '%s\'s Benutzerprofil',
-  'group' => 'Gruppe',
-  'reg_date' => 'Registriert am',
-  'disk_usage' => 'Speicherplatz-Verbrauch',
-  'change_pass' => 'Passwort ändern',
-  'current_pass' => 'derzeitiges Passwort',
-  'new_pass' => 'neues Passwort',
-  'new_pass_again' => 'neues Passwort bestätigen',
-  'err_curr_pass' => 'Derzeitiges Passwort ist verkehrt',
-  'apply_modif' => 'Änderungen speichern',
-  'change_pass' => 'Mein Passwort ändern',
-  'update_success' => 'Ihr Benutzerprofil wurde aktualisiert',
-  'pass_chg_success' => 'Ihr Passwort wurde geändert',
-  'pass_chg_error' => 'Ihr Passwort wurde nicht geändert',
-  'notify_admin_email_subject' => '%s - Registrierungs-Benachrichtigung',
-  'last_uploads' => 'Zuletzt hochgeladenen Datei.<br />Klicken, um alle Uploads zu sehen von', //cpg1.4
-  'last_comments' => 'Neueste Kommentare.<br />Klicken, um alle Komentare zu sehen, die abgegeben wurden von', //cpg1.4
-  'notify_admin_email_body' => 'Jemand mit dem Benutzernamen "%s" hat sich in Ihrer Galerie registriert',
-  'pic_count' => 'Hochgeladene Dateien', //cpg1.4
-  'notify_admin_request_email_subject' => '%s - Registrierungsversuch', //cpg1.4
-  'thank_you_admin_activation' => 'Danke.<br /><br />Ihre Registrierung wurde an den Administrator weitergeleitet zur Aktiverung. Nach erfolgter Aktiverung werden Sie eine eMail erhalten.', //cpg1.4
-  'acct_active_admin_activation' => 'Das Benutzerkonto ist jetzt aktiv. Dem Benutzer wurde eine Benachrichtigung darüber per eMail gesendet.', //cpg1.4
-  'notify_user_email_subject' => '%s - Aktivierungs-Benachrichtigung', //cpg1.4
-);
-
-$lang_register_confirm_email = <<<EOT
-Danke für Ihre Registrierung bei {SITE_NAME}
-
-Ihr Benutzername ist : "{USER_NAME}"
-
-
-Um Ihr Benutzerkonto zu aktivieren, müssen Sie auf den untenstehenden Link klicken
-oder ihn kopieren und in der Adresszeile Ihres Browsers einfügen.
-<a href="{ACT_LINK}">{ACT_LINK}</a>
-
-Grüße,
-
-Das Team von {SITE_NAME}
-
-EOT;
-
-$lang_register_approve_email = <<<EOT
-Ein neuer Benutzer hat sich mit dem Benutzernamen "{USER_NAME}" in Ihrer Galerie registriert.
-
-Um das Benutzerkonto zu aktivieren, klicken Sie auf den untenstehenden Link oder kopieren ihn in die Adresszeile Ihres Browsers.
-
-<a href="{ACT_LINK}">{ACT_LINK}</a>
-
-EOT;
-
-$lang_register_activated_email = <<<EOT
-Ihr Benutzerkonto wurden genehmigt und aktiviert.
-
-Sie können sich jetzt auf der Seite <a href="{SITE_LINK}">{SITE_LINK}</a> mit dem Benutzernamen "{USER_NAME}" anmelden.
-
-
-Gruss,
-
-Das {SITE_NAME} Team
-
-EOT;
-}
-
-// ------------------------------------------------------------------------- //
-// File reviewcom.php
-// ------------------------------------------------------------------------- //
-
-if (defined('REVIEWCOM_PHP')) $lang_reviewcom_php = array(
-  'title' => 'Kommentare bearbeiten',
-  'no_comment' => 'keine zu bearbeitenden Kommentare vorhanden',
-  'n_comm_del' => '%s Kommentar(e) gelöscht',
-  'n_comm_disp' => 'Anzahl angezeigter Kommentare',
-  'see_prev' => 'vorherigen anzeigen',
-  'see_next' => 'nächsten anzeigen',
-  'del_comm' => 'markierte Kommentare löschen',
-  'user_name' => 'Name', //cpg1.4
-  'date' => 'Datum', //cpg1.4
-  'comment' => 'Kommentar', //cpg1.4
-  'file' => 'Datei', //cpg1.4
-  'name_a' => 'Benutzername aufsteigend', //cpg1.4
-  'name_d' => 'Benutzername absteigend', //cpg1.4
-  'date_a' => 'Datum aufsteigend', //cpg1.4
-  'date_d' => 'Datum absteigend', //cpg1.4
-  'comment_a' => 'Kommentartext aufsteigend', //cpg1.4
-  'comment_d' => 'Kommentartext absteigend', //cpg1.4
-  'file_a' => 'Datei aufsteigend', //cpg1.4
-  'file_d' => 'Datei absteigend', //cpg1.4
-);
-
-
-// ------------------------------------------------------------------------- //
-// File search.php                                                           //
-// ------------------------------------------------------------------------- //
-
-
-if (defined('SEARCH_PHP')){
-
-$lang_search_php = array(
-  'title' => 'Dateisammlung durchsuchen', //cpg1.4
-  'submit_search' => 'suchen', //cpg1.4
-  'keyword_list_title' => 'Schlagwortliste', //cpg1.4
-  'keyword_msg' => 'Obenstehende Liste ist nicht vollständig - sie enthält keine Wörter aus Titeln oder Beschreibungen. Versuchen Sie eine Volltext-Suche.',  //cpg1.4
-  'edit_keywords' => 'Schlagworte bearbeiten', //cpg1.4
-  'search in' => 'Suchen in:', //cpg1.4
-  'ip_address' => 'IP-Adresse', //cpg1.4
-  'fields' => 'Suchen in', //cpg1.4
-  'age' => 'Alter', //cpg1.4
-  'newer_than' => 'neuer als', //cpg1.4
-  'older_than' => 'älter als', //cpg1.4
-  'days' => 'Tage(e)', //cpg1.4
-  'all_words' => 'mit allen Wörtern (UND)', //cpg1.4
-  'any_words' => 'mit irgendeinem der Wörter (ODER)', //cpg1.4
-);
-
-$lang_adv_opts = array(
-  'title' => 'Titel', //cpg1.4
-  'caption' => 'Beschriftung', //cpg1.4
-  'keywords' => 'Schlagworte', //cpg1.4
-  'owner_name' => 'Besitzer der Datei', //cpg1.4
-  'filename' => 'Dateiname', //cpg1.4
-);
-
-}
-
-// ------------------------------------------------------------------------- //
-// File searchnew.php
-// ------------------------------------------------------------------------- //
-
-if (defined('SEARCHNEW_PHP')) $lang_search_new_php = array(
-  'page_title' => 'Neue Dateien suchen',
-  'select_dir' => 'Wähle Sie Verzeichnis',
-  'select_dir_msg' => 'Diese Funktion ermöglicht, mehrere Dateien der Galerie hinzuzufügen, die mit einem FTP-Programm schon auf Ihre Webseite hochgeladen wurden.<br /><br />Wähle Sie das Verzeichnis, in das Sie die Dateien hochgeladen haben.', //cpg1.4
-  'no_pic_to_add' => 'Keine Datei zum Hinzufügen gefunden',
-  'need_one_album' => 'Sie brauchen mindestens ein Album, um dieses Funktion auszuführen',
-  'warning' => 'Achtung',
-  'change_perm' => 'Das Skript kann nicht in dieses Verzeichnis schreiben, Sie müssen die Lese-/Schreibberechtigung (chmod) auf 755 oder 777 setzen, bevor Sie versuchen, Dateien hinzuzufügen!',
-  'target_album' => '<b>Dateien aus dem Verzeichnis &quot;</b>%s<b>&quot; in </b>%s ablegen',
-  'folder' => 'Verzeichnis',
-  'image' => 'Datei',
-  'album' => 'Album',
-  'result' => 'Resultat',
-  'dir_ro' => 'Verzeichnis nicht beschreibbar',
-  'dir_cant_read' => 'Verzeichnis nicht lesbar',
-  'insert' => 'Fügen Sie neue Dateien der Galerie hinzu',
-  'list_new_pic' => 'Liste neuer Dateien',
-  'insert_selected' => 'Markierte Dateien einfügen',
-  'no_pic_found' => 'Keine neuen Dateien gefunden',
-  'be_patient' => 'Bitte etwas Geduld, das Skript braucht Zeit, um die Bilder hinzuzufügen',
-  'no_album' => 'Kein Album gewählt',
-  'result_icon' => 'Klicken für Details oder zum erneut laden',  //cpg1.4
-  'notes' =>  '<ul>'.
-    '<li><b>OK</b> : bedeuted, dass die Datei erfolgreich hinzugefügt wurde'.
-    '<li><b>DP</b> : bedeutet, dass die Datei ein Duplikat ist und schon in der Datenbank vorhanden ist'.
-    '<li><b>PB</b> : bedeutet, dass die Datei nicht hinzugefügt werden konnte; überprüfen Sie Ihre Einstellungen und die Berechtigungen der Verzeichnisse, in dem die Dateien liegen'.
-    '<li><b>NA</b> : bedeutet, dass Sie kein Album gewählt haben, in das die Dateien eingefügt werden sollen, klicken Sie \'<a href="javascript:history.back(1)">zurück</a>\' und wählen Sie ein Album aus. Wenn kein Album ausgewählt werden kann, dann müssen Sie erst <a href="albmgr.php">ein Album erzeugen</a>.</li>'.
-    '<li>Falls die OK, DP, PB \'Zeichen\' nicht erscheinen, klicken Sie auf die nicht-funktionierenden Bilder, um die Fehlermeldungen von PHP zu sehen'.
-    '<li>Wenn Ihr Browser in ein Timeout läuft, klicken Sie auf die Aktualisieren-Schaltfläche'.
-    '</ul>',
-  'select_album' => 'Wählen Sie ein Album',
-  'check_all' => 'alle auswählen',
-  'uncheck_all' => 'Auswahl aufheben',
-  'no_folders' => 'Im Verzeichnis "albums" wurden noch keine Unterverzeichnisse angelegt. Sie müssen mindestens ein benutzerdefiniertes Unterverzeichnis innerhalb des Ordners "albums" anlegen und Ihre Dateien per FTP dorthin hochladen. Du dürfen per FTP keine Dateien in die Unterverzeichnisse "userpics" oder "edit" hochladen, da diese für http-uploads und interne Zwecke reserviert sind.', //cpg1.4
-   'albums_no_category' => 'Alben ohne Kategorie', //cpg1.4 // album pulldown mod, added by frogfoot
-  'personal_albums' => '* Persönliche Alben', //cpg1.4 // album pulldown mod, added by frogfoot
-  'browse_batch_add' => 'Durchsuchbare Oberfläche (empfohlen)', //cpg1.4
-  'edit_pics' => 'Dateien bearbeiten', //cpg1.4
-  'edit_properties' => 'Albums-Eigenschaften', //cpg1.4
-  'view_thumbs' => 'Thumbnail-Ansicht', //cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File stat_details.php //cpg1.4
-// ------------------------------------------------------------------------- //
-
-if (defined('STAT_DETAILS_PHP')) $lang_stat_details_php = array(
-  'show_hide' => 'diese Spalte anzeigen/verbergen', //cpg1.4
-  'vote' => 'Bewertungsdetails', //cpg1.4
-  'hits' => 'Trefferdetails', //cpg1.4
-  'stats' => 'Bewertungsstatistik', //cpg1.4
-  'sdate' => 'Datum', //cpg1.4
-  'rating' => 'Bewertung', //cpg1.4
-  'search_phrase' => 'Suchbegriff', //cpg1.4
-  'referer' => 'Referer', //cpg1.4
-  'browser' => 'Browser', //cpg1.4
-  'os' => 'Betriebssystem', //cpg1.4
-  'ip' => 'IP-Adresse', //cpg1.4
-  'sort_by_xxx' => 'Sortieren nach %s', //cpg1.4
-  'ascending' => 'aufsteigend', //cpg1.4
-  'descending' => 'absteigend', //cpg1.4
-  'internal' => 'intern', //cpg1.4
-  'close' => 'schliessen', //cpg1.4
-  'hide_internal_referers' => 'interne Verweise verbergen', //cpg1.4
-  'date_display' => 'Datumsformat', //cpg1.4
-  'submit' => 'absenden/aktualisieren', //cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File thumbnails.php
-// ------------------------------------------------------------------------- //
-
-// Void
-
-// ------------------------------------------------------------------------- //
-// File upload.php
-// ------------------------------------------------------------------------- //
-
-if (defined('UPLOAD_PHP')) $lang_upload_php = array(
-  'title' => 'Datei hochladen',
-  'custom_title' => 'Benutzer-definiertes Formular',
-  'cust_instr_1' => 'Die Anzahl der Upload-Felder kann angepasst werden, darf jedoch die untenstehenden Maximalwerte nicht überschreiten.',
-  'cust_instr_2' => 'Anzahl Abfrage-Felder',
-  'cust_instr_3' => 'Datei-Upload Felder: %s',
-  'cust_instr_4' => 'URI/URL-Upload Felder: %s',
-  'cust_instr_5' => 'URI/URL Upload Felder:',
-  'cust_instr_6' => 'Datei-Upload Felder:',
-  'cust_instr_7' => 'Geben Sie die Anzahl der gewünschten Felder ein und klicken Sie auf \'weiter\'.',
-  'reg_instr_1' => 'Unzulässige Aktion bei der Formular-Erzeugung.',
-  'reg_instr_2' => 'Sie können jetzt Dateien mit den untenstehenden Feldern hochladen. Keine Datei darf größer als %s kB sein. ZIP-Dateien, die mit Datei-Upload oder URI/URL-Upload hochgeladen werden, bleiben komprimiert.',
-  'reg_instr_3' => 'Um ZIP-Dateien auf dem Server automatisch zu entpacken, verwenden Sie die ZIP-Upload Felder.',
-  'reg_instr_4' => 'Die URI/URL-Upload Felder müssen dieses Format haben \'http://www.meinseite.de/bilder/beispiel.jpg\'',
-  'reg_instr_5' => 'Wenn alle Upload-Felder ausgefüllt sind, klicken Sie auf \'weiter\'.',
-  'reg_instr_6' => 'ZIP-Upload (wird entpackt auf Server):',
-  'reg_instr_7' => 'Datei-Upload:',
-  'reg_instr_8' => 'URI/URL-Upload:',
-  'error_report' => 'Fehlerliste',
-  'error_instr' => 'Folgende Uploads erzeugten Fehler:',
-  'file_name_url' => 'Dateiname/URL',
-  'error_message' => 'Fehlermeldung',
-  'no_post' => 'Datei durch Formular-Post nicht hochgeladen.',
-  'forb_ext' => 'Verbotene Datei-Erweiterung/-endung.',
-  'exc_php_ini' => 'Dateigröße größer als Limit in php.ini.',
-  'exc_file_size' => 'Dateigröße größer als Coppermine-Einstellungen.',
-  'partial_upload' => 'Nur teilweiser Upload.',
-  'no_upload' => 'Kein Upload erfolgt.',
-  'unknown_code' => 'Unbekannter PHP-Upload-Fehlercode.',
-  'no_temp_name' => 'Kein Upload - kein temporärer Name.',
-  'no_file_size' => 'Enthält keine Daten/defekt',
-  'impossible' => 'Kann nicht verschieben.',
-  'not_image' => 'kein Bild/korrupt',
-  'not_GD' => 'Keine GD-Erweiterung.',
-  'pixel_allowance' => 'maximale Bild-Abmessungen (Pixel-Größe) überschritten.',
-  'incorrect_prefix' => 'Ungültige URI/URL Vorsible',
-  'could_not_open_URI' => 'Konnte URI nicht öffnen.',
-  'unsafe_URI' => 'Sicherheit nicht überprüfbar.',
-  'meta_data_failure' => 'Meat-Daten fehlerhaft',
-  'http_401' => '401 Fehlende Berechtigung',
-  'http_402' => '402 Bezahlung erforderlich',
-  'http_403' => '403 Verboten',
-  'http_404' => '404 nicht gefunden',
-  'http_500' => '500 Interner Server-Fehler',
-  'http_503' => '503 Service nicht verfügbar',
-  'MIME_extraction_failure' => 'MIME konnte nicht festgestellt werden.',
-  'MIME_type_unknown' => 'Unbekannter MIME-Typ',
-  'cant_create_write' => 'Kann zu schreibende Datei nicht erzeugen.',
-  'not_writable' => 'Kann nicht in zu schreibende Datei speichern.',
-  'cant_read_URI' => 'Kann URI/URL nicht lesen',
-  'cant_open_write_file' => 'Kann nicht in URI-Datei schreiben.',
-  'cant_write_write_file' => 'Kann nicht in zu schreibende URI-Datei speichern.',
-  'cant_unzip' => 'Kann nicht entpacken.',
-  'unknown' => 'Unbekannter Fehler',
-  'succ' => 'Erfolgreiche Uploads',
-  'success' => '%s Uploads waren erfolgreich.',
-  'add' => 'Klicken Sie auf \'weiter\', um die Dateien den Alben hinzuzufügen.',
-  'failure' => 'Upload-Fehler',
-  'f_info' => 'Datei-Information',
-  'no_place' => 'Die vorhergehende Datei konnte nicht gesetzt werden.',
-  'yes_place' => 'Die vorhergehende Datei wurde erfolgreich gesetzt.',
-  'max_fsize' => 'Maximal erlaubte Dateigröße ist %s kB',
-  'album' => 'Album',
-  'picture' => 'Datei',
-  'pic_title' => 'Datei-Titel',
-  'description' => 'Datei-Beschreibung',
-  'keywords' => 'Stichworte (Trennung mit Leerzeichen)<br /><a href="#" onClick="return MM_openBrWindow(\'keyword_select.php\',\'selectKey\',\'width=250, height=400, scrollbars=yes,toolbar=no,status=yes,resizable=yes\')">von Liste einfügen</a>', //cpg1.4
-  'keywords_sel' =>'Wähle Schlagwort', //cpg1.4
-  'err_no_alb_uploadables' => 'Leider gibt es kein Album, in das Sie Bilder hochladen dürfen',
-  'place_instr_1' => 'Bitte Dateien jetzt den Alben zuordnen.  Es können jetzt zusätzliche Angaben zu den Dateien gemacht werden.',
-  'place_instr_2' => 'Es müssen noch mehr Dateien Alben zugeordnet werden. Klicken Sie \'weiter\'!',
-  'process_complete' => 'Alle Dateien wurden erfolgreich Alben zugeordnet.',
-  'albums_no_category' => 'Alben ohne Kategorie', //cpg1.4. //album pulldown mod, added by frogfoot
-  'personal_albums' => '* Persönliche Alben', //cpg1.4 //album pulldown mod, added by frogfoot
-  'select_album' => 'Wähle Album', //cpg1.4 //album pulldown mod, added by frogfoot
-  'close' => 'schliessen', //cpg1.4
-  'no_keywords' => 'Leider keine Schlagworte verfügbar!', //cpg1.4
-  'regenerate_dictionary' => 'Wörterbuch aktualisieren', //cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File usermgr.php
-// ------------------------------------------------------------------------- //
-
-if (defined('USERMGR_PHP')) $lang_usermgr_php = array(
-  'memberlist' => 'Benutzerliste', //cpg1.4
-  'user_manager' => 'Benutzer verwalten', //cpg1.4
-  'title' => 'Benutzer verwalten',
-  'name_a' => 'Name aufsteigend',
-  'name_d' => 'Name absteigend',
-  'group_a' => 'Gruppe aufsteigend',
-  'group_d' => 'Gruppe absteigend',
-  'reg_a' => 'Registrierungsdatum aufsteigend',
-  'reg_d' => 'Registrierungsdatum absteigend',
-  'pic_a' => 'Dateianzahl aufsteigend',
-  'pic_d' => 'Dateianzahl absteigend',
-  'disku_a' => 'Speicherplatz-Verbrauch aufsteigend',
-  'disku_d' => 'Speicherplatz-Verbrauch absteigend',
-  'lv_a' => 'Letzter Seitenbesuch aufsteigendg',
-  'lv_d' => 'Letzter Seitenbesuch absteigend',
-  'sort_by' => 'Benutzer sortieren nach',
-  'err_no_users' => 'Benutzer-Tabelle ist leer!',
-  'err_edit_self' => 'Sie können Ihr eigenes Profil hier nicht bearbeiten, benutzen Sie dafür den Link \'mein Profil\'',
-  'edit' => 'bearbeiten', //cpg1.4
-  'with_selected' => 'markierte Benutzer:', //cpg1.4
-  'delete' => 'löschen', //cpg1.4
-  'delete_files_no' => 'Dateien in öffentlichen Alben behalten (aber anonymisieren)', //cpg1.4
-  'delete_files_yes' => 'Dateien in öffentlichen Alben ebenfalls löschen', //cpg1.4
-  'delete_comments_no' => 'Kommentare behalten (aber anonymisieren)', //cpg1.4
-  'delete_comments_yes' => 'Kommentare ebenfalls löschen', //cpg1.4
-  'activate' => 'Aktivieren', //cpg1.4
-  'deactivate' => 'Deaktivieren', //cpg1.4
-  'reset_password' => 'Passwort zurücksetzen', //cpg1.4
-  'change_primary_membergroup' => 'Primäre Mitgliedergruppe ändern', //cpg1.4
-  'add_secondary_membergroup' => 'Sekundäre Mitgliederguppe hinzufügen', //cpg1.4
-  'name' => 'Benutzername',
-  'group' => 'Gruppe',
-  'inactive' => 'Inaktiv',
-  'operations' => 'Aktion',
-  'pictures' => 'Dateien',
-  'disk_space_used' => 'Speicherplatzverbrauch', //cpg1.4
-  'disk_space_quota' => 'Erlaubter Speicherplatz', //cpg1.4
-  'registered_on' => 'Registriert am', //cpg1.4
-  'last_visit' => 'Letzter Seitenbesuch',
-  'u_user_on_p_pages' => '%d Benutzer auf %d Seite(n)',
-  'confirm_del' => 'Wollen Sie diesen Benutzer wirklich LÖSCHEN? \\nAlle seine Dateien und Alben werden ebenfalls gelöscht.', //js-alert
-  'mail' => 'Mail',
-  'err_unknown_user' => 'Gewählter Benutzer existiert nicht!',
-  'modify_user' => 'Benutzer ändern',
-  'notes' => 'Anmerkungen',
-  'note_list' => '<li>Wenn Sie das derzeitige Passwort nicht ändern wollen, lassen Sie das Feld "Passwort" leer',
-  'password' => 'Passwort',
-  'user_active' => 'Benutzer ist aktiv',
-  'user_group' => 'Benutzergruppe',
-  'user_email' => 'eMail-Adresse des Benutzers',
-  'user_web_site' => 'Webseite des Benutzers',
-  'create_new_user' => 'neuen Benutzer anlegen',
-  'user_location' => 'Ort',
-  'user_interests' => 'Hobbies/Interessen',
-  'user_occupation' => 'Beruf/Beschäftigung',
-  'user_profile1' => '$user_profile1', //cpg1.4
-  'user_profile2' => '$user_profile2', //cpg1.4
-  'user_profile3' => '$user_profile3', //cpg1.4
-  'user_profile4' => '$user_profile4', //cpg1.4
-  'user_profile5' => '$user_profile5', //cpg1.4
-  'user_profile6' => '$user_profile6', //cpg1.4
-  'latest_upload' => 'neueste Uploads',
-  'never' => 'nie',
-  'search' => 'Nach Benutzer suchen', //cpg1.4
-  'submit' => 'Absenden', //cpg1.4
-  'search_submit' => 'Los!', //cpg1.4
-  'search_result' => 'Resultate durchsuchen nach: ', //cpg1.4
-  'alert_no_selection' => 'Sie müssen zuerst mindestens einen Benutzer auswählen!', //cpg1.4 //js-alert
-  'password' => 'Passwort', //cpg1.4
-  'select_group' => 'Wähle Gruppe', //cpg1.4
-  'groups_alb_access' => 'Alben-Berechtigung nach Gruppenzugehörigkeit', //cpg1.4
-  'album' => 'Album', //cpg1.4
-  'category' => 'Kategorie', //cpg1.4
-  'modify' => 'Ändern?', //cpg1.4
-  'group_no_access' => 'Diese Gruppe hat keine besondern Berechtigungen', //cpg1.4
-  'notice' => 'Anmerkung', //cpg1.4
-  'group_can_access' => 'Album/Alben, auf das/die nur "%s" zugreifen kann', //cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File util.php
-// ------------------------------------------------------------------------- //
-
-if (defined('UTIL_PHP')) {
-$lang_util_desc_php = array(
-'Erzeugt Titel aus Dateinamen', //cpg1.4
-'Löscht Titel', //cpg1.4
-'Erneuert Thumbnails und Dateien in Zwischengröße gemäß aktuellen Einstellungen', //cpg1.4
-'Löscht Bilder in Original-Größe und ersetzt sie mit Bildern in Zwischengröße', //cpg1.4
-'Löscht Bilder in Originalgrösse oder Zwischengrösse, um Speicherplatz frei zu geben', //cpg1.4
-'Löscht verwaiste Kommentare', //cpg1.4
-'Liest Dateigrössen und Dimensionen erneut ein (falls Sie Bilder manuell bearbeitet haben)', //cpg1.4
-'Setzt Hits-Zähler zurück', //cpg1.4
-'Zeigt phpinfo an', //cpg1.4
-'Aktualisert die Datenbank', //cpg1.4
-'Zeigt Log-Dateien an', //cpg1.4
-);
-$lang_util_php = array(
-  'title' => 'Admin-Werkzeuge (Größe ändern)',
-  'what_it_does' => 'Was macht dieses Tool',
-  'file' => 'Datei',
-  'problem' => 'Problem', //cpg1.4
-  'status' => 'Status', //cpg1.4
-  'title_set_to' => 'Ändere Titel auf',
-  'submit_form' => 'los',
-  'updated_succesfully' => 'erfolgreich geändert',
-  'error_create' => 'FEHLER beim Erzeugen von',
-  'continue' => 'Mehr Bilder durchlaufen',
-  'main_success' => 'Die Datei %s wurde erfolgreich als Hauptbild benutzt',
-  'error_rename' => 'Fehler beim Umbenennen von %s zu %s',
-  'error_not_found' => 'Die Datei %s wurde nicht gefunden',
-  'back' => 'zurück zur Auswahl',
-  'thumbs_wait' => 'Aktualisiere Thumbnails und/oder Bilder in Zwischengröße, bitte warten...',
-  'thumbs_continue_wait' => 'Fortfahren mit der Aktualisierung der Thumbnails und/oder Bilder in Zwischengröße...',
-  'titles_wait' => 'Aktualisiere Überschriften, bitte warten...',
-  'delete_wait' => 'Lösche Überschriften, bitte warten...',
-  'replace_wait' => 'Lösche Originale und ersetze sie mit Bilder in Zwischengröße, bitte warten...',
-  'instruction' => 'Kurzanleitung',
-  'instruction_action' => 'Wähle Aktion',
-  'instruction_parameter' => 'Wähle Parameter',
-  'instruction_album' => 'Wähle Album',
-  'instruction_press' => 'Klicken Sie %s',
-  'update' => 'Thumbnails und/oder Bilder in Zwischengröße aktualisieren',
-  'update_what' => 'Was soll aktualisiert werden',
-  'update_thumb' => 'Nur Thumbnails',
-  'update_pic' => 'Nur Bilder in Zwischengröße',
-  'update_both' => 'Sowohl Thumbnails als auch Bilder in Zwischengröße',
-  'update_number' => 'Anzahl der Bilder, die pro Klick aktualisiert werden sollen',
-  'update_option' => '(Verringere diesen Wert, wenn &quot;Time-Out&quot;-Probleme auftreten sollten)',
-  'filename_title' => 'Dateiname &rArr; Bild-Überschrift',
-  'filename_how' => 'Wie soll der Titel modifiziert werden',
-  'filename_remove' => 'Entferne die Endung .jpg und ersetze _ (Unterstrich) mit Leerzeichen',
-  'filename_euro' => 'Ändere 2003_11_23_13_20_20.jpg zu 23/11/2003 13:20',
-  'filename_us' => 'Ändere 2003_11_23_13_20_20.jpg zu 11/23/2003 13:20',
-  'filename_time' => 'Ändere 2003_11_23_13_20_20.jpg zu 13:20',
-  'delete' => 'Lösche Bild-Überschriften oder Bilder in Original-Größe',
-  'delete_title' => 'Bild-Überschriften löschen',
-  'delete_title_explanation' => 'Diese Option löscht alle Titel von allen Dateien in dem angegebenen Album.', //cpg1.4
-  'delete_original' => 'Bilder in Original-Größe löschen',
-  'delete_original_explanation' => 'Diese Option entfernt die Bilder in Originalgröße.', //cpg1.4
-  'delete_intermediate' => 'Bilder in Zwischengröße löschen', //cpg1.4
-  'delete_intermediate_explanation' => 'Diese Option löscht alle Bilder in Zwischengröße (normal_).<br />Empfohlen, um Speicherplatz freizugeben, wenn die Option \'Bilder in Zwischengröße erzeugen\' in den Coppermine-Einstellungen deaktiviert wurde NACHDEM Bilder zur Datenbank hinzugefügt wurden.', //cpg1.4
-  'delete_replace' => 'Lösche die Original-Bilder und ersetze sie mit Bilder in Zwischengröße',
-  'titles_deleted' => 'Alle Titel in dem angegebenen Album werden gelöscht', //cpg1.4
-  'deleting_intermediates' => 'Lösche Bilder in Zwischengröße, bitte warten...', //cpg1.4
-  'searching_orphans' => 'Suche nach verwaisten Einträgen, bitte warten...', //cpg1.4
-  'select_album' => 'Wähle Album',
-  'delete_orphans' => 'Verwaiste Kommentare löschen', //cpg1.4
-  'delete_orphans_explanation' => 'Diese Option identifiziert und löscht Kommentare, die mit Dateien verknüpft sind, die nicht mehr in der Datenbank vorhanden sind.<br />Durchläuft alle Alben.', //cpg1.4
-  'refresh_db' => 'Informationen über Dateigrößen und -abmessungen erneuern.', //cpg1.4
-  'refresh_db_explanation' => 'Diese Option liest die Dateigrößen und -abmessungen erneut ein. Benutzen Sie sie, wenn die Speicherplatz-Anzeige unkorrekt erscheint oder wenn Sie die Dateien manuell verändert haben..', //cpg1.4
-  'reset_views' => 'Hits-Zähler zurücksetzen', //cpg1.4
-  'reset_views_explanation' => 'Setzt alle "Datei x mal angesehen" Zähler auf Null im angegebenen Album.', //cpg1.4
-  'orphan_comment' => 'verwaiste Kommentare gefunden',
-  'delete' => 'löschen',
-  'delete_all' => 'alle löschen',
-  'delete_all_orphans' => 'Alle verwaisten Kommentare löschen?', //cpg1.4
-  'comment' => 'Kommentar: ',
-  'nonexist' => 'Bezug auf nicht-existierende Datei # ',
-  'phpinfo' => 'phpinfo anzeigen',
-  'phpinfo_explanation' => 'Zeigt technische Informationen über Ihren Server an.<br /> - Möglicherweise werden Sie nach diesen Informationen gefragt, wenn Sie im Coppermine-Forum um Hilfe bitten.', //cpg1.4
-  'update_db' => 'Datenbank aktualisieren',
-  'update_db_explanation' => 'Wenn Sie Coppermine-Dateien ersetzt haben, eine Modifikation oder ein Upgrade von einer frühreren Version von Coppermine durchgeführt haben, lassen Sie diese Datenbank-Aktualisierung einmal laufen, um die möglicherweise notwendigen Änderungen an der Datenbank durchzuführen bzw. fehlende Tabellen zu erzeugen.',
-  'view_log' => 'Log-Dateien anzeigen', //cpg1.4
-  'view_log_explanation' => 'Coppermine kann verschiedene Benutzer-Aktionen protokollieren. Diese Protokolle können hier angesehen werden, wenn die Aufzeichnung von Log-Dateien in den Coppermine-<a href="admin.php">Einstellungen</a> aktiviert wurde.', //cpg1.4
-  'versioncheck' => 'Versions-Check', //cpg1.4
-  'versioncheck_explanation' => 'Überprüfen Sie die Versionen Ihrer Dateien um herauszufinden, ob alle Dateien bei einem Update korrekt ersetzt wurden, oder ob die Coppermine-Dateien nach der Veröffentlichung eines Pakets aktualisiert wurden.', //cpg1.4
-  'bridgemanager' => 'Bridge-Assistent', //cpg1.4
-  'bridgemanager_explanation' => 'Assistent zur Integration der Benutzerverwaltung von Coppermine mit einer anderen Applikation (z.B. einem Forum) - sogenanntes "Bridging".', //cpg1.4
-);
-}
-
-// ------------------------------------------------------------------------- //
-// File versioncheck.php //cpg1.4
-// ------------------------------------------------------------------------- //
-
-if (defined('VERSIONCHECK_PHP')) $lang_versioncheck_php = array(
-  'title' => 'Versions-Check', //cpg1.4
-  'what_it_does' => 'Diese Seite ist für Benutzer gedacht, die ihre Version von Coppermine aktualisiert haben. Dieses Skript durchläuft alle Dateien auf dem Webserver und versucht festzustellen, ob Ihre lokalen Dateiversionen mit denen der Referenz auf http://coppermine.sourceforge.net übereinstimmen. Dadurch werden die Dateien, die irrtümlich nicht aktualisiert wurden, angezeigt.<br />Alles, was korrigiert werden muss wird in rot angezeigt. Einträge in gelb müssen einer näheren Betrachtung unterzogen werden. Einträge in grün (oder Ihrer Standard-Schriftfarbe) sind OK.<br />Klicken Sie auf die Hilfe-Icons für Details.', //cpg1.4
-  'online_repository_unable' => 'Konnte nicht mit Referenz-Datei abgleichen', //cpg1.4
-  'online_repository_noconnect' => 'Coppermine konnte sich nicht mit der Referenz-Datei abzugleichen. Dies kann 2 Gründe haben:', //cpg1.4
-  'online_repository_reason1' => 'die Referenzdatei ist derzeit nicht online - überprüfen Sie, ob Sie mit dem Browser diese Seite anzeigen können: %s - falls nicht, versuchen Sie später noch einmal, den Versions-Check durchzuführen.', //cpg1.4
-  'online_repository_reason2' => 'Auf Ihrem Webserver ist PHP so konfiguriert, dass %s deaktiviert ist (Standard-mässig ist diese Option aktiviert). Falls Sie den Webserver administrieren können, aktivieren Sie diese Option in Ihrer <i>php.ini</i> (erlauben Sie zumindest, dass die globale Einstellung mit %s temporär umgangen werden kann). Falls Sie jedoch auf einem fremden Server gehostet sind müssen Sie wahrscheinlich damit leben, dass Sie Ihre Dateien nicht online vergleichen können. In diesem Fall wird diese Seite nur die Dateiversionen mit denen der Ditribution vergleichen - spätere Updates werden nicht in Betracht gezogen.', //cpg1.4
-  'online_repository_skipped' => 'Verbindung mit der Referenz-Datei übersprungen', //cpg1.4
-  'online_repository_to_local' => 'Das Skript benutzt jetzt die lokale Kopie der Versions-Dateien. Die Daten sind möglicherweise ungenau, falls Sie Coppermine aktualisiert und nicht alle Dateien hochgeladen haben. Änderungen an Dateiversionen, die nach der Veröffentlichung des Pakets vorgenommen wurden, werden nicht berücksichtigt.', //cpg1.4
-  'local_repository_unable' => 'Das Skript konnte sich nicht mit der Referenzdatei auf Ihrem Server verbinden', //cpg1.4
-  'local_repository_explanation' => 'Coppermine konnte sich nicht mit der Refernzdatei %s auf Ihrem Webserver verbinden. Das bedeutet wahrscheinlich, dass Sie die Refernzdatei nicht auf den Server hochgeladen haben. Erledige Sie das nun und versuchen Sie dann, diese Seite erneut zu laden (klicken Sie auf "aktualisieren").<br />Falls das immer noch fehl schlägt, dann hat Ihr Webhost möglicherweise Teile der <a href="http://www.php.net/manual/de/ref.filesystem.php">Dateifunktionen von PHP</a> komplett deaktiviert. In diesem Fall können Sie dieses Tool leider gar nicht benutzen.', //cpg1.4
-  'coppermine_version_header' => 'Installierte Coppermine-Version', //cpg1.4
-  'coppermine_version_info' => 'Sie haben derzeit installiert: %s', //cpg1.4
-  'coppermine_version_explanation' => 'Falls Sie der Meinung sein sollten, dass das falsch ist und Sie eine neuere Version von Coppermine haben sollten, dann haben Sie wahrscheinlich nicht die aktuellste Version der Datei <i>include/init.inc.php</i> hochgeladen', //cpg1.4
-  'version_comparison' => 'Versions-Vergleich', //cpg1.4
-  'folder_file' => 'Verzeichnis/Datei', //cpg1.4
-  'coppermine_version' => 'cpg-Version', //cpg1.4
-  'file_version' => 'Datei-Version', //cpg1.4
-  'webcvs' => 'web svn', //cpg1.4
-  'writable' => 'beschreibbar', //cpg1.4
-  'not_writable' => 'nicht beschreibbar', //cpg1.4
-  'help' => 'Hilfe', //cpg1.4
-  'help_file_not_exist_optional1' => 'Datei/Verzeichnis existiert nicht', //cpg1.4
-  'help_file_not_exist_optional2' => 'Die Datei / das Verzeichnis %s wurde auf Ihrem Server nicht gefunden. Obwohl sie optional ist sollten Sie sie auf Ihren Server hochladen (benutzen Sie dazu Ihr FTP-Programm), zumindest wenn Probleme auftreten.', //cpg1.4
-  'help_file_not_exist_mandatory1' => 'Datei/Verzeichnis existiert nicht', //cpg1.4
-  'help_file_not_exist_mandatory2' => 'Datei/Verzeichnis %s wurde auf dem Server nicht gefunden, obwohl es zwingend benötigt wird. Laden Sie die Datei (mit Hilfe Ihres FTP-Programms) auf Ihren Webserver hoch..', //cpg1.4
-  'help_no_local_version1' => 'Keine lokale Dateiversion', //cpg1.4
-  'help_no_local_version2' => 'Das Skript konnte die Versionsinformation aus der lokalen Datei-Version nicht extrahieren - Ihre Datei ist entweder veraltet, oder Sie haben die Datei verändert und dabei den Datei-Header geändert. Es ist empfehlenswert, die Datei zu aktualisieren.', //cpg1.4
-  'help_local_version_outdated1' => 'Lokale Version veraltet', //cpg1.4
-  'help_local_version_outdated2' => 'Ihre Version der Datei scheint von einer älteren Version von Coppermine zu stammen (Sie haben wahrscheinlich ein Upgrade durchgeführt). Ersetzen Sie auch diese Datei mit der aktuelleren Version.', //cpg1.4
-  'help_local_version_na1' => 'Konnte SVN-Versions-Information nicht extrahieren', //cpg1.4
-  'help_local_version_na2' => 'Das Skript konnte die SVN-Versions-Information nicht aus der lokalen Datei auf Ihrem Webserver extrahieren. Sie sollten diese Datei aktualisieren.', //cpg1.4
-  'help_local_version_dev1' => 'Entwicklungs-Version', //cpg1.4
-  'help_local_version_dev2' => 'Die Datei auf Ihrem Webserver scheint neuer zu sein als Ihre Coppermine-Version. Sie benutzen entweder eine Entwicklungs-Version (nur empfohlen für erfahrene Anwender), oder Sie haben Ihre Coppermine-Installation aktualisiert und die Datei include/init.inc.php nicht hochgeladen.', //cpg1.4
-  'help_not_writable1' => 'Verzeichnis nicht beschreibbar', //cpg1.4
-  'help_not_writable2' => 'Ändern Sie die Berechtigungen (CHMOD), um dem Skript Schreibrechte auf den Ordner %s und alles darin befindliche zu gewähren.', //cpg1.4
-  'help_writable1' => 'Verzeichnis beschreibbar', //cpg1.4
-  'help_writable2' => 'Das Verzeichnis %s ist beschreibbar. Dies stellt ein unnötiges Sicherheitsrisiko dar, Coppermine benötigt nur Lese- und Ausführungsrechte.', //cpg1.4
-  'help_writable_undetermined' => 'Das Skript konnte nicht feststellen, ob das Verzeichnis beschreibbar ist.', //cpg1.4
-  'your_file' => 'Ihre Datei', //cpg1.4
-  'reference_file' => 'Referenz-Datei', //cpg1.4
-  'summary' => 'Zusammenfassung', //cpg1.4
-  'total' => 'Summe der überprüften Verzeichnisse/Dateien', //cpg1.4
-  'mandatory_files_missing' => 'Fehlende verbindlich benötigte Dateien', //cpg1.4
-  'optional_files_missing' => 'Fehlende optionale Dateien', //cpg1.4
-  'files_from_older_version' => 'Dateien, die von veralteten Coppermine-Versionen stammen', //cpg1.4
-  'file_version_outdated' => 'Veraltete Datei-Versionen', //cpg1.4
-  'error_no_data' => 'Das Skript hat einen Fehler verursacht und konnte keine Versionsinformationen auslesen. Sorry.', //cpg1.4
-  'go_to_webcvs' => 'gehe zu %s', //cpg1.4
-  'options' => 'Optionen', //cpg1.4
-  'show_optional_files' => 'optionale Verzeichnisse/Dateien anzeigen', //cpg1.4
-  'show_mandatory_files' => 'verbindlich benötigte Dateien anzeigen', //cpg1.4
-  'show_file_versions' => 'Dateiversionen anzeigen', //cpg1.4
-  'show_errors_only' => 'Nur Verzeichnisse und Dateien mit Fehlern anzeigen', //cpg1.4
-  'show_permissions' => 'Berechtigungen anzeigen', //cpg1.4
-  'show_condensed_output' => 'Reduzierte Ausgabe (zur einfacheren Erstellung von Screenshots)', //cpg1.4
-  'coppermine_in_webroot' => 'Coppermine ist im Wurzelverzeichnis der Domäne installiert', //cpg1.4
-  'connect_online_repository' => 'Verbindungsaufbau zur Referenzdatei versuchen', //cpg1.4
-  'show_additional_information' => 'Zusatzinformationen anzeigen', //cpg1.4
-  'no_webcvs_link' => 'Web-CVS-Links nicht anzeigen', //cpg1.4
-  'stable_webcvs_link' => 'Web-CVS-Links zur "stable-branch" anzeigen', //cpg1.4
-  'devel_webcvs_link' => 'Web-CVS-Links zur "devel-branch" anzeigen', //cpg1.4
-  'submit' => 'Änderungen durchführen / aktualisieren', //cpg1.4
-  'reset_to_defaults' => 'Standard-Einstellungen wieder herstellen', //cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File view_log.php  //cpg1.4
-// ------------------------------------------------------------------------- //
-
-if (defined('VIEWLOG_PHP')) $lang_viewlog_php = array(
-  'delete_all' => 'Alle Logs löschen', //cpg1.4
-  'delete_this' => 'Dieses Log löschen', //cpg1.4
-  'view_logs' => 'Logs anzeigen', //cpg1.4
-  'no_logs' => 'Keine Logs vorhanden', //cpg1.4
-);
-
-
-// ------------------------------------------------------------------------- //
-// File xp_publish.php //cpg1.4
-// ------------------------------------------------------------------------- //
-
-if (defined('XP_PUBLISH_PHP')) {
-
-$lang_xp_publish_client = <<<EOT
-<h1>XP Web Publishing Assistent</h1><p>Dieses Modul ermöglicht es, den <b>Windows XP</b> web publishing Assistenten mit Coppermine zu benutzen.</p><p>Der zugrunde liegende Code basiert auf einem Artikel von
-EOT;
-
-$lang_xp_publish_required = <<<EOT
-<h2>Was wird benötigt</h2><ul><li>Windows XP, damit der Assistent zur Verfügung steht.</li><li>Eine funktionierende Coppermine-Installation, bei der das Hochladen von Dateien funktioniert.</b></li></ul><h2>Wie installiere ich die nötige Software auf meinem Rechner</h2><ul><li>Rechts-Klick auf
-EOT;
-
-$lang_xp_publish_select = <<<EOT
-Wähle Sie &quot;Zeil speichern unter..&quot;. Speichern Sie die Datei auf Ihrer Festplatte. Überprüfen Sie beim Speichern, dass der vorgeschlagene Name  <b>cpg_###.reg</b> lautet (die ###-Symbole repräsentieren einen numerischen Zeitstempel). Ändern Sie ggf. den Namen ab (aber lassen Sie die Zahlen so, wie sie sind). Nach erfolgtem Download, doppelklicken Sie auf die heruntergeladene Datei, um den Coppermine-Server beim Web Publishing-Assistenten zu registrieren.</li></ul>
-EOT;
-
-$lang_xp_publish_testing = <<<EOT
-<h2>Testen</h2><ul><li>Markieren Sie einige Grafik-Dateien im Windows Explorer und klicken Sie dann auf <b>xxx im Internet veröffentlichen</b> in der linken Leiste des Explorers.</li><li>Bestätigen Sie Ihre Dateiauswahl. Klicken Sie auf <b>weiter</b>.</li><li>In der Liste der zur Verfügung stehenden Dienste, wählen Sie Ihre Foto-Galerie (der Eintrag hat den Namen Ihrer Galerie). Falls der Diesnt nicht erscheint, überprüfen Sie, ob Sie <b>cpg_pub_wizard.reg</b> wie oben beschrieben installiert haben.</li><li>Geben Sie Ihre Zugangsinformationen ein, falls notwendig.</li><li>Wählen Sie ein Album als Ziel der Bilder oder erzeugen Sie ein neues Album.</li><li>Klicken Sie auf <b>weiter</b>. Der Upload Ihrer Bilder startet jetzt.</li><li>Wenn der Upload beendet ist, überprüfen Sie auf der Galerie-Seite, dass alle Bilder korrekt hochgeladen wurden.</li></ul>
-EOT;
-
-$lang_xp_publish_notes = <<<EOT
-<h2>Anmerkungen :</h2><ul><li>Wenn der Upload-Vorgang erst einmal gestartet ist, kann der Assistent keine Fehlermeldungen anzeigen, die vom Skript generiert werden; daher kann man nicht wissen, ob ein Upload erfolgreich war oder nicht, außer durch Besuch der Coppermine-Galerie.</li><li>Wenn ein Upload fehlschlägt, aktivieren Sie den &quot;Debug-Modus&quot; in den Coppermine-Einstellungen, laden Sie ein einzelnes Bild hoch und überprüfen Sie dann die Fehlermeldungen in der
-EOT;
-
-$lang_xp_publish_flood = <<<EOT
-Datei, die im Coppermine-Verzeichnis auf Ihrem Server liegt.</li><li>Um zu vermeiden, dass die Galerie überflutet wird mit Uploads durch den Assistenten können nur die <b>Administratoren der Galerie</b> und <b>Benutzer, die eigene Alben haben dürfen</b> dieses Feature nutzen.</li>
-EOT;
-
-
-
-$lang_xp_publish_php = array(
-  'title' => 'Coppermine - XP Web Publishing Assistent', //cpg1.4
-  'welcome' => 'Willkommen <b>%s</b>,', //cpg1.4
-  'need_login' => 'Um diesen Assistenten zu nutzen müssen Sie sich bei der Galerie mit Hilfe Ihres Browsers (IE) anmelden.<p/><p>Vergessen Sie nicht, die Option  &quot;<b>Immer angemeldet bleiben</b>&quot; bei der Anmeldung zu aktivieren, wenn vorhanden.', //cpg1.4
-  'no_alb' => 'Leider gibt es keine Alben, in die Sie berechtigt sind mit diesem Assistenten Bilder hochzuladen.', //cpg1.4
-  'upload' => 'Laden Sie Ihre Bilder in ein bestehendes Album hoch', //cpg1.4
-  'create_new' => 'Erstellen Sie ein neues Album für Ihre Bilder', //cpg1.4
-  'album' => 'Album', //cpg1.4
-  'category' => 'Kategorie', //cpg1.4
-  'new_alb_created' => 'Ihr neues Album &quot;<b>%s</b>&quot; wurde erstellt.', //cpg1.4
-  'continue' => 'Klicken Sie auf &quot;Weiter&quot;, um Ihre Bilder hochzuladen', //cpg1.4
-  'link' => 'dieser Link', //cpg1.4
-);
-}
+<?php
+/*************************
+  Coppermine Photo Gallery
+  ************************
+  Copyright (c) 2003-2009 Coppermine Dev Team
+  v1.1 originally written by Gregory DEMAR
+
+  This program is free software; you can redistribute it and/or modify
+  it under the terms of the GNU General Public License version 3
+  as published by the Free Software Foundation.
+  
+  ********************************************
+  Coppermine version: 1.4.25
+  $HeadURL: https://coppermine.svn.sourceforge.net/svnroot/coppermine/trunk/cpg1.4.x/lang/german_sie.php $
+  $Revision: 5997 $
+  $Author: gaugau $
+  $Date: 2009-05-26 08:43:24 +0200 (Di, 26 Mai 2009) $
+**********************************************/
+
+if (!defined('IN_COPPERMINE')) { die('Not in Coppermine...');}
+
+// info about translators and translated language
+$lang_translation_info = array(
+  'lang_name_english' => 'German (formal)', //cpg1.4
+  'lang_name_native' => 'Deutsch (Sie)', //cpg1.4
+  'lang_country_code' => 'de', //cpg1.4
+  'trans_name'=> 'Andi',
+  'trans_email' => 'info@pragmamx.org',
+  'trans_website' => 'http://pragmamx.org/',
+  'trans_date' => '2005-10-29',
+);
+
+// mx charset converted //
+$lang_charset = 'utf-8';
+$lang_text_dir = 'ltr'; // ('ltr' for left to right, 'rtl' for right to left)// shortcuts for Byte, Kilo, Mega
+$lang_byte_units = array('Bytes', 'KB', 'MB');
+
+// Day of weeks and months
+$lang_day_of_week = array('So', 'Mo', 'Di', 'Mi', 'Do', 'Fr', 'Sa');
+$lang_month = array('Januar', 'Februar', 'März', 'April', 'Mai', 'Juni', 'Juli', 'August', 'September', 'Oktober', 'November', 'Dezember');
+
+// Some common strings
+$lang_yes = 'Ja';
+$lang_no  = 'Nein';
+$lang_back = 'zurück';
+$lang_continue = 'weiter';
+$lang_info = 'Information';
+$lang_error = 'Fehler';
+$lang_check_uncheck_all = 'alle selektieren/de-selektieren'; //cpg1.4
+
+// The various date formats
+// See http://www.php.net/manual/en/function.strftime.php to define the variable below
+$album_date_fmt =    '%d.%B %Y';
+$lastcom_date_fmt =  '%d.%m.%y um %H:%M';
+$lastup_date_fmt = '%d.%B %Y';
+$register_date_fmt = '%d.%B %Y';
+$lasthit_date_fmt = '%d.%B %Y um %H:%M';
+$comment_date_fmt =  '%d.%B %Y um %H:%M';
+$log_date_fmt = '%d.%B %Y um %H:%M'; //cpg1.4
+
+// For the word censor
+$lang_bad_words = array('*fuck*', 'Fu\(*', 'fuk*', 'masturbat*', 'motherfucker', 'nigger*', 'penis', 'pussy', 'shit', 'titties', 'titty',  'arsch*', 'fick*', 'fotze', 'votze', 'Sieg Heil', 'Heil Hitler', 'Nutte', 'Möse', 'Moese', 'Pimmel', 'Schwengel', 'Titte*', 'bums*', 'Scheiss*', 'Scheiß*');
+
+$lang_meta_album_names = array(
+  'random' => 'Zufalls-Bilder',
+  'lastup' => 'neueste Dateien',
+  'lastalb'=> 'Zuletzt aktualisierte Alben',
+  'lastcom' => 'neueste Kommentare',
+  'topn' => 'am meisten angesehen',
+  'toprated' => 'am besten bewertet',
+  'lasthits' => 'zuletzt angesehen',
+  'search' => 'Suchergebnisse',
+  'favpics'=> 'Favoriten',  //cpg1.4
+);
+
+$lang_errors = array(
+  'access_denied' => 'Sie haben kein Recht, diese Seite anzusehen.',
+  'perm_denied' => 'Sie haben nicht das Recht, diese Operation auszuführen.',
+  'param_missing' => 'Das Skript wurde ohne den/die erforderlichen Parameter aufgerufen.',
+  'non_exist_ap' => 'Das gewählte Album bzw. die gewählte Datei existiert nicht!',
+  'quota_exceeded' => 'Speicherplatz erschöpft<br /><br />Sie haben ein Speicherlimit von [quota] kB, Ihre Dateien belegen zur Zeit [space] kB, das Hinzufügen dieser Datei würde Ihren Speicherplatz überschreiten.',
+  'gd_file_type_err' => 'Bei Verwendung der GD-Bibliothek sind nur die Dateitypen JPG und PNG erlaubt.',
+  'invalid_image' => 'Das Bild, das Sie hochgeladen haben, ist beschädigt oder kann nicht von der GD-Bibliothek verarbeitet werden',
+  'resize_failed' => 'Kann Thumbnail nicht erzeugen.',
+  'no_img_to_display' => 'Keine Datei zum Anzeigen vorhanden (oder Sie haben keine Berechtigung, das Album zu sehen)',
+  'non_exist_cat' => 'Die gewählte Kategorie existiert nicht',
+  'orphan_cat' => 'Eine Kategorie besitzt ein nicht-existierendes Eltern-Element, benutzen Sie den Kategorie-Manager, um das Problem zu beheben.',
+  'directory_ro' => 'Das Verzeichnis \'%s\' ist nicht beschreibbar, die Dateien können nicht gelöscht werden',
+  'non_exist_comment' => 'Der gewählte Kommentar existiert nicht.',
+  'pic_in_invalid_album' => 'Die Datei befindet sich in einem nicht-existierenden Album (%s)!?',
+  'banned' => 'Sie sind zur Zeit von dieser Seite verbannt.',
+  'not_with_udb' => 'Diese Funktion ist innerhalb von Coppermine deaktiviert, weil sie in die Forums-Software integriert ist. Entweder wird das, was Sie gerade zu tun versucht haben, in dieser Konfiguration nicht unterstützt oder die Funktion sollte von der Forums-Software übernommen werden.',
+  'offline_title' => 'Wartungsmodus',
+  'offline_text' => 'Die Galerie ist zur Zeit im Wartungsmodus - schauen Sie bitte später nochmal vorbei!', //cpg1.3.0
+  'ecards_empty' => 'Es können derzeit keine eCard-Einträge gefunden werden. Überprüfen Sie, ob die Aufzeichung von eCards in den Einstellungen aktivert wurde!',
+  'action_failed' => 'Aktion fehlgeschlagen. Coppermine konnte die gewünschte Aktion nicht ausführen.', //cpg1.3.0
+  'no_zip' => 'Die zum Verarbeiten von ZIP-Dateien notwendigen libraries sind auf dem Server nicht verfügbar. Setzen Sie sich mit dem Server-Admin in Verbindung.',
+  'zip_type' => 'Keine Berechtigung für den Upload von ZIP-Dateien.',
+  'database_query' => 'Beim Ausführen einer Datenbank-Abfrage ist ein Fehler aufgetreten', //cpg1.4
+  'register_globals_on' => 'Die PHP-Einstellung register_globals ist auf Ihrem Server aktiviert, was keine sehr gute Idee ist in Sachen Sicherheit. Es wird wärmstens empfohlen, diese Einstellung zu deaktivieren. [<a href="http://forum.coppermine-gallery.net/index.php/topic,59569.0.html" rel="external" class="external">mehr</a>]',
+);
+
+$lang_bbcode_help_title = 'Bulletin Board code Hilfe'; //cpg1.4
+$lang_bbcode_help = 'Sie können klickbare Links und Formatierung in diesem Feld anwenden durch die Verwendung folgender bbcode-Befehle: <li>[b]Fett[/b] =&gt; <b>Fett</b></li><li>[i]Kursiv[/i] =&gt; <i>Kursiv</i></li><li>[url=http://meineseite.com/]Url Text[/url] =&gt; <a href="http://meineseite.com">Url Text</a></li><li>[email]benutzer@domain.com[/email] =&gt; <a href="mailto:benutzer@domain.com">benutzer@domain.com</a></li><li>[color=red]Beispieltext[/color] =&gt; <span style="color:red">Beispieltext</span></li><li>[img]http://coppermine-gallery.net/demo/cpg14x/images/red.gif[/img] => <img src="../images/red.gif" border="0" alt="" /></li>'; //cpg1.4
+
+// ------------------------------------------------------------------------- //
+// File theme.php
+// ------------------------------------------------------------------------- //
+
+$lang_main_menu = array(
+  'home_title' => 'Gehe zur Startseite',
+  'home_lnk' => 'Startseite',
+  'alb_list_title' => 'Gehe zur Alben-Liste',
+  'alb_list_lnk' => 'Alben-Liste',
+  'my_gal_title' => 'Gehe zu meiner persönlichen Galerie',
+  'my_gal_lnk' => 'Meine Galerie',
+  'my_prof_title' => 'Gehe zu meinem Profil', //cpg1.4
+  'my_prof_lnk' => 'Mein Profil',
+  'adm_mode_title' => 'In den Admin-Modus wechseln',
+  'adm_mode_lnk' => 'Admin-Modus',
+  'usr_mode_title' => 'In den Benutzer-Modus wechseln',
+  'usr_mode_lnk' => 'Benutzer-Modus',
+  'upload_pic_title' => 'Datei in ein Album hochladen',
+  'upload_pic_lnk' => 'Datei hochladen',
+  'register_title' => 'Erzeuge ein Benutzerkonto',
+  'register_lnk' => 'Registrieren',
+  'login_title' => 'melde mich an', //cpg1.4
+  'login_lnk' => 'Anmelden',
+  'logout_title' => 'Melde mich ab', //cpg1.4
+  'logout_lnk' => 'Abmelden',
+  'lastup_title' => 'Zeige neueste Uploads an', //cpg1.4
+  'lastup_lnk' => 'Neueste Uploads',
+  'lastcom_title' => 'Zeige die neuesten Kommentare an', //cpg1.4
+  'lastcom_lnk' => 'Neueste Kommentare',
+  'topn_title' => 'Zeige die am meisten angesehenen Dateien an', //cpg1.4
+  'topn_lnk' => 'Am meisten angesehen',
+  'toprated_title' => 'Zeige die am besten bewerteten Dateien an', //cpg1.4
+  'toprated_lnk' => 'Am besten bewertet',
+  'search_title' => 'Durchsuche die Galerie', //cpg1.4
+  'search_lnk' => 'Suche',
+  'fav_title' => 'Zeige meine Favoriten an', //cpg1.4
+  'fav_lnk' => 'Meine Favoriten',
+  'memberlist_title' => 'Benutzerliste anzeigen',
+  'memberlist_lnk' => 'Benutzerliste',
+  'faq_title' => 'Häufig gestellte Fragen (Frequently Asked Questions) zur Galerie &quot;Coppermine&quot;',
+  'faq_lnk' => 'FAQ',
+);
+
+$lang_gallery_admin_menu = array(
+  'upl_app_title' => 'Neu hochgeladene Dateien bestätigen', //cpg1.4
+  'upl_app_lnk' => 'Upload-Bestätigung',
+  'admin_title' => 'Gehe zur Konfiguration', //cpg1.4
+  'admin_lnk' => 'Einstellungen', //cpg1.4
+  'albums_title' => 'Gehe zur Alben-Konfiguration', //cpg1.4
+  'albums_lnk' => 'Alben',
+  'categories_title' => 'Gehe zur Kategorien-Konfiguration', //cpg1.4
+  'categories_lnk' => 'Kategorien',
+  'users_title' => 'Gehe zur Benutzer-Konfiguration', //cpg1.4
+  'users_lnk' => 'Benutzer',
+  'groups_title' => 'Gehe zur Gruppen-Konfiguration', //cpg1.4
+  'groups_lnk' => 'Gruppen',
+  'comments_title' => 'Zeige alle Kommentare zur Bearbeitung an', //cpg1.4
+  'comments_lnk' => 'Kommentare bearbeiten',
+  'searchnew_title' => 'Gehe zur Stapel-Bearbeitung hochgeladener Dateien', //cpg1.4
+  'searchnew_lnk' => 'Batch-hinzufügen',
+  'util_title' => 'Gehe zu den Admin-Werkzeugen', //cpg1.4
+  'util_lnk' => 'Admin-Werkzeuge',
+  'key_title' => 'Gehe zum Schlagwort-Register', //cpg1.4
+  'key_lnk' => 'Schlagwort-Register', //cpg1.4
+  'ban_title' => 'Gehe zur Konfiguration der Verbannungen', //cpg1.4
+  'ban_lnk' => 'Benutzer verbannen',
+  'db_ecard_title' => 'Bisher gesendete eCards anzeigen', //cpg1.4
+  'db_ecard_lnk' => 'eCards anzeigen',
+  'pictures_title' => 'Bestimme die Reihenfolge von Bildern in Alben', //cpg1.4
+  'pictures_lnk' => 'Meine Bilder sortieren', //cpg1.4
+  'documentation_lnk' => 'Dokumentation', //cpg1.4
+  'documentation_title' => 'Coppermine-Handbuch', //cpg1.4
+);
+
+$lang_user_admin_menu = array(
+  'albmgr_title' => 'Meine Alben erzeugen/anordnen', //cpg1.4
+  'albmgr_lnk' => 'Alben erzeugen/anordnen',
+  'modifyalb_title' => 'Meine Alben bearbeiten',  //cpg1.4
+  'modifyalb_lnk' => 'Meine Alben bearbeiten',
+  'my_prof_title' => 'gehe zu meinem persönlichen Profil', //cpg1.4
+  'my_prof_lnk' => 'Mein Profil',
+);
+
+$lang_cat_list = array(
+  'category' => 'Kategorie',
+  'albums' => 'Alben',
+  'pictures' => 'Dateien',
+);
+
+$lang_album_list = array(
+  'album_on_page' => '%d Alben auf %d Seite(n)',
+);
+
+$lang_thumb_view = array(
+  'date' => 'Datum',
+  //Sort by filename and title
+  'name' => 'Dateiname',
+  'title' => 'Titel',
+  'sort_da' => 'Aufsteigend nach Datum sortieren',
+  'sort_dd' => 'Absteigend nach Datum sortieren',
+  'sort_na' => 'Aufsteigend nach Name sortieren',
+  'sort_nd' => 'Absteigend nach Name sortieren',
+  'sort_ta' => 'Aufsteigend nach Titel sortieren',
+  'sort_td' => 'Absteigend nach Titel sortieren',
+  'position' => 'Position', //cpg1.4
+  'sort_pa' => 'Aufsteigend nach Position sortieren', //cpg1.4
+  'sort_pd' => 'Absteigend nach Position sortieren', //cpg1.4
+  'download_zip' => 'Als ZIP-Datei herunterladen',
+  'pic_on_page' => '%d Dateien auf %d Seite(n)',
+  'user_on_page' => '%d Benutzer auf %d Seite(n)',
+  'enter_alb_pass' => 'Geben Sie das Passwort für das Album ein', //cpg1.4
+  'invalid_pass' => 'Ungültiges Passwort', //cpg1.4
+  'pass' => 'Passwort', //cpg1.4
+  'submit' => 'Absenden', //cpg1.4
+);
+
+$lang_img_nav_bar = array(
+  'thumb_title' => 'zurück zur Thumbnail-Seite',
+  'pic_info_title' => 'Dateiinformationen anzeigen/verbergen',
+  'slideshow_title' => 'Diashow',
+  'ecard_title' => 'Bild als eCard versenden',
+  'ecard_disabled' => 'eCards sind deaktiviert',
+  'ecard_disabled_msg' => 'Sie haben nicht das Recht, eCards zu versenden',
+  'prev_title' => 'vorherige Datei anzeigen',
+  'next_title' => 'nächste Datei anzeigen',
+  'pic_pos' => 'Datei %s/%s',
+  'report_title' => 'Diese Datei dem Administrator melden', //cpg1.4
+  'go_album_end' => 'Zum Ende gehen', //cpg1.4
+  'go_album_start' => 'Zum Anfang zurückkehren', //cpg1.4
+  'go_back_x_items' => 'gehe %s Einträge zurück', //cpg1.4
+  'go_forward_x_items' => 'gehe %s Einträge weiter', //cpg1.4
+);
+
+$lang_rate_pic = array(
+  'rate_this_pic' => 'Diese Datei bewerten',
+  'no_votes' => '(noch keine Bewertung)',
+  'rating' => '- derzeitige Bewertung : %s/5 mit %s Stimme(n)',
+  'rubbish' => 'sehr schlecht',
+  'poor' => 'schlecht',
+  'fair' => 'ganz OK',
+  'good' => 'gut',
+  'excellent' => 'sehr gut',
+  'great' => 'super',
+);
+
+// ------------------------------------------------------------------------- //
+// File include/exif.inc.php
+// ------------------------------------------------------------------------- //
+
+// void
+
+// ------------------------------------------------------------------------- //
+// File include/functions.inc.php
+// ------------------------------------------------------------------------- //
+
+$lang_cpg_die = array(
+  INFORMATION => $lang_info,
+  ERROR => $lang_error,
+  CRITICAL_ERROR => 'Kritischer Fehler',
+  'file' => 'Datei: ',
+  'line' => 'Zeile: ',
+);
+
+$lang_display_thumbnails = array(
+  'filename' => 'Dateiname : ',
+  'filesize' => 'Dateigröße : ',
+  'dimensions' => 'Abmessungen : ',
+  'date_added' => 'hinzugefügt am : ',
+);
+
+$lang_get_pic_data = array(
+  'n_comments' => '%s Kommentar(e)',
+  'n_views' => '%s x angesehen',
+  'n_votes' => '(%s Bewertungen)',
+);
+
+$lang_cpg_debug_output = array(
+  'debug_info' => 'Debug-Info',
+  'select_all' => 'Alles markieren',
+  'copy_and_paste_instructions' => 'Wenn Sie Hilfe im Coppermine-Forum suchen wollen, kopieren Sie diese Debug-Ausgabe in Ihren Beitrag im Forum. Ersetzen Sie  eventuell vorhandene Passwörter in den Queries durch ***.<br />Anmerkung: Diese Ausgabe erfolgt nur zur Information und bedeutet nicht, dass ein Fehler in der Galerie vorliegt.', //cpg1.4
+  'phpinfo' => 'phpinfo anzeigen',
+  'notices' => 'Notices', //cpg1.4
+);
+
+$lang_language_selection = array(
+  'reset_language' => 'Standard-Sprache',
+  'choose_language' => 'Wählen Sie eine Sprache',
+);
+
+$lang_theme_selection = array(
+  'reset_theme' => 'Standard-Design',
+  'choose_theme' => 'Wähle Design',
+);
+
+$lang_version_alert = array(
+  'version_alert' => 'Nicht unterstützte Version!', //cpg1.4
+  'no_stable_version' => 'Sie betreiben Coppermine version  %s (%s), das nur für erfahrene Benutzer gedacht ist - für diese Version gibt es keinen Support oder Funktions-Garantien. Benutzen Sie sie auf eigenes Risiko oder downgraden Sie auf die aktuellste stabile Version, wenn Sie Support brauchen!', //cpg1.4
+  'gallery_offline' => 'Die Galerie ist zur Zeit im Wartungs-Modus und ist nur für Sie als Admin zugänglich. Vergessen Sie nicht, sie wieder aus dem Wartungs-Modus in den "normalen" Modus zurück zu schalten, wenn Ihre Wartungsarbeiten beendet sind.', //cpg1.4
+);
+
+$lang_create_tabs = array(
+  'previous' => 'vorherige', //cpg1.4
+  'next' => 'nächste', //cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File include/init.inc.php
+// ------------------------------------------------------------------------- //
+
+// void
+
+// ------------------------------------------------------------------------- //
+// File keyword.inc.php                                                      //
+// ------------------------------------------------------------------------- //
+
+// void
+
+// ------------------------------------------------------------------------- //
+// File include/picmgmt.inc.php
+// ------------------------------------------------------------------------- //
+
+// void
+
+// ------------------------------------------------------------------------- //
+// File include/plugin_api.inc.php
+// ------------------------------------------------------------------------- //
+$lang_plugin_api = array(
+  'error_wakeup' => "Konnte das Plugin '%s' nicht aktivieren", //cpg1.4
+  'error_install' => "Konnte das Plugin '%s' nicht installieren", //cpg1.4
+  'error_uninstall' => "Konnte das Plugin '%s' nicht de-installieren", //cpg1.4
+  'error_sleep' => "Konnte das Plugin '%s' nicht de-aktivieren.<br />", //cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File include/smilies.inc.php
+// ------------------------------------------------------------------------- //
+
+if (defined('SMILIES_PHP')) $lang_smilies_inc_php = array(
+  'Exclamation' => 'Ausruf',
+  'Question' => 'Frage',
+  'Very Happy' => 'sehr glücklich',
+  'Smile' => 'lachen',
+  'Sad' => 'traurig',
+  'Surprised' => 'überrascht',
+  'Shocked' => 'schockiert',
+  'Confused' => 'verwirrt',
+  'Cool' => 'cool',
+  'Laughing' => 'lachend',
+  'Mad' => 'wütend',
+  'Razz' => 'scheu',
+  'Embarassed' => 'schüchtern',
+  'Crying or Very sad' => 'traurig',
+  'Evil or Very Mad' => 'böse',
+  'Twisted Evil' => 'verschlagen',
+  'Rolling Eyes' => 'na ja',
+  'Wink' => 'zwinker',
+  'Idea' => 'Idee',
+  'Arrow' => 'Pfeil',
+  'Neutral' => 'neutral',
+  'Mr. Green' => 'Mr. Green',
+);
+
+// ------------------------------------------------------------------------- //
+// File addpic.php
+// ------------------------------------------------------------------------- //
+
+// void
+
+// ------------------------------------------------------------------------- //
+// File mode.php //cpg1.4
+// ------------------------------------------------------------------------- //
+
+if (defined('MODE_PHP')) $lang_mode_php = array(
+  0 => 'Beende Admin-Modus...',
+  1 => 'Starte Admin-Modus...',
+);
+
+// ------------------------------------------------------------------------- //
+// File albmgr.php
+// ------------------------------------------------------------------------- //
+
+if (defined('ALBMGR_PHP')) $lang_albmgr_php = array(
+  'alb_need_name' => 'Alben müssen einen Namen haben!', //js-alert
+  'confirm_modifs' => 'Sind Sie sicher, dass Sie diese Änderungen durchführen wollen?', //js-alert
+  'no_change' => 'Sie haben nichts verändert!', //js-alert
+  'new_album' => 'neues Album',
+  'confirm_delete1' => 'Wollen Sie dieses Album wirklich löschen?', //js-alert
+  'confirm_delete2' => '\nAlle Dateien und Kommentare, die darin enthalten sind, werden gelöscht!', //js-alert
+  'select_first' => 'Wählen Sie zuerst ein Album', //js-alert
+  'alb_mrg' => 'Alben-Manager',
+  'my_gallery' => '* meine Galerie *',
+  'no_category' => '* keine Kategorie *',
+  'delete' => 'löschen',
+  'new' => 'neu',
+  'apply_modifs' => 'Änderungen übernehmen',
+  'select_category' => 'Kategorie wählen',
+);
+
+// ------------------------------------------------------------------------- //
+// File banning.php
+// ------------------------------------------------------------------------- //
+
+if (defined('BANNING_PHP')) $lang_banning_php = array(
+  'title' => 'Benutzer verbannen', //cpg1.4
+  'user_name' => 'Benutzername', //cpg1.4
+  'ip_address' => 'IP-Adresse', //cpg1.4
+  'expiry' => 'läuft ab am (leer bedeutet permanent)', //cpg1.4
+  'edit_ban' => 'Änderungen speichern', //cpg1.4
+  'delete_ban' => 'Löschen', //cpg1.4
+  'add_new' => 'Neuen Bann hinzufügen', //cpg1.4
+  'add_ban' => 'Hinzufügen', //cpg1.4
+  'error_user' => 'Kann angegebenen Benutzer nicht finden', //cpg1.4
+  'error_specify' => 'Sie müssen entweder einen Benutzer oder eine IP-Adresse angeben', //cpg1.4
+  'error_ban_id' => 'Ungültige Verbannungs-ID!', //cpg1.4
+  'error_admin_ban' => 'Sie können sich nicht selbst verbannen!', //cpg1.4
+  'error_server_ban' => 'Sie wollten Ihren eigenen Server verbannen? Ts ts, das kann ich nicht zulassen...', //cpg1.4
+  'error_ip_forbidden' => 'Sie können diese IP-Adresse nicht verbannen - sie ist sowieso nicht route-bar (private)!<br />Wenn Sie Verbannungen für private IP-Adressen erlauben möchten, dann erlauben Sie das in Ihren <a href="admin.php">Einstellungen</a> (macht nur Sinn, wenn Coppermine in einem LAN läuft).', //cpg1.4
+  'lookup_ip' => 'IP-Adresse nachschlagen', //cpg1.4
+  'submit' => 'los!', //cpg1.4
+  'select_date' => 'Wähle Datum', //cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File bridgemgr.php //cpg1.4
+// ------------------------------------------------------------------------- //
+
+if (defined('BRIDGEMGR_PHP')) $lang_bridgemgr_php = array(
+  'title' => 'Bridge-Assistent',
+  'warning' => 'Warnung: bevor Sie diesen Assitenten benutzen muss Ihnen klar sein, dass Sicherheits-relevante Daten über HTML-Formulare versendet werden. Führen Sie den Assitenten nur auf Ihrem eigenen PC aus (nicht auf einem öffentlichen Rechner wie beispielsweise in einem Internet-Café), und löschen Sie danach auf jeden Fall Ihren Browser-Cahce und Ihre temporären Internet-Dateien, sonst haben andere vielleicht Zugriff zu diesen Daten!',
+  'back' => 'zurück',
+  'next' => 'weiter',
+  'start_wizard' => 'Starte den Bridge-Assistenten',
+  'finish' => 'Fertigstellen',
+  'hide_unused_fields' => 'unbenutze Formular-Felder verbergen (empfohlen)',
+  'clear_unused_db_fields' => 'ungültige Datenbank-Einträge löschen (empfohlen)',
+  'custom_bridge_file' => 'der Name Ihrer benutzerdefinierten Bridge-Datei (Wenn der Dateiname  <i>meinedatei.inc.php</i> lautet, dann geben Sie <i>meinedatei</i> in diesem Feld ein)',
+  'no_action_needed' => 'Kein Aktion notwenig in diesem Schritt. Klicken Sie auf &quot;weiter&quot;, um fortzufahren.',
+  'reset_to_default' => 'Auf Standard-Wert zurücksetzen',
+  'choose_bbs_app' => 'Wählen Sie eine Anwendung, mit der Sie &quot;bridgen&quot; wollen',
+  'support_url' => 'Für Support zu dieser Anwendung klicken Sie hier',
+  'settings_path' => 'Pfad(e) Ihrer Forums-Anwendung',
+  'database_connection' => 'Datenbank-Verbindung',
+  'database_tables' => 'Tabellen in der Datenbank',
+  'bbs_groups' => 'Forums-Gruppen',
+  'license_number' => 'Lizenz-Nummer',
+  'license_number_explanation' => 'Geben Sie Ihre Lizenz-Nummer ein (falls zutreffend)',
+  'db_database_name' => 'Datenbank-Name',
+  'db_database_name_explanation' => 'Geben Sie den Namen der Datenbank ein, die Ihr Forum benutzt',
+  'db_hostname' => 'Datenbank-Hostname',
+  'db_hostname_explanation' => 'Hostname Ihrer mySQL-Datenbank, meistens &quot;localhost&quot;',
+  'db_username' => 'Datenbank-Benutzername',
+  'db_username_explanation' => 'mySQL Benutzer-Konto für die Verbindung mit Ihrem Forum',
+  'db_password' => 'Datenbank-Passwort',
+  'db_password_explanation' => 'Passwort für Die mySQL-Datenbank Ihres Forums',
+  'full_forum_url' => 'Forums-URL',
+  'full_forum_url_explanation' => 'Vollständige Internet-Adresse Ihres Forums (einschließlich http:// , z.B. http://www.yourdomain.tld/forum)',
+  'relative_path_of_forum_from_webroot' => 'Relativer Pfad zum Forum',
+  'relative_path_of_forum_from_webroot_explanation' => 'Relativer Pfad zu Ihrem Forum vom Wurzelverzeichnis (webroot) aus gesehen (Beispiel: wenn Ihr Forum unter http://www.meineseite.tld/forum/ ist, dann geben Sie hier &quot;/forum/&quot; in das Feld ein)',
+  'relative_path_to_config_file' => 'Relativer Pfad zur Konfigurations-Datei Ihres Forums',
+  'relative_path_to_config_file_explanation' => 'Relativer Pfad zu Ihrem Forum, von Ihrem Coppermine-Verzeichnis aus gesehen (z.B. &quot;../forum/&quot; wenn Ihr Forum unter http://www.meineseite.tld/forum/ ist und Coppermine unter http://www.meineseite.tld/gallery/)',
+  'cookie_prefix' => 'Cookie-Vorsilbe',
+  'cookie_prefix_explanation' => 'Der Cookie-Name Ihres Forums',
+  'table_prefix' => 'Tabellen-Vorsilbe',
+  'table_prefix_explanation' => 'Die Vorsible (Präfix) der Tabellen Ihres Forums, die Sie bei der Einrichtung Ihres Forums festgelegt haben.',
+  'user_table' => 'Benutzer-Tabelle',
+  'user_table_explanation' => '(normalerweise sind die vorgeschlagenen Standard-Werte OK, wenn Sie keine Sondereinstellungen in Ihrem Forum vorgenommen haben)',
+  'session_table' => 'Session-Tabelle',
+  'session_table_explanation' => '(normalerweise sind die vorgeschlagenen Standard-Werte OK, wenn Sie keine Sondereinstellungen in Ihrem Forum vorgenommen haben)',
+  'group_table' => 'Gruppen-Tabelle',
+  'group_table_explanation' => '(normalerweise sind die vorgeschlagenen Standard-Werte OK, wenn Sie keine Sondereinstellungen in Ihrem Forum vorgenommen haben)',
+  'group_relation_table' => 'Gruppen-Relations-Tabelle',
+  'group_relation_table_explanation' => '(normalerweise sind die vorgeschlagenen Standard-Werte OK, wenn Sie keine Sondereinstellungen in Ihrem Forum vorgenommen haben)',
+  'group_mapping_table' => 'Gruppen-Verknüpfungs-Tabelle',
+  'group_mapping_table_explanation' => '(normalerweise sind die vorgeschlagenen Standard-Werte OK, wenn Sie keine Sondereinstellungen in Ihrem Forum vorgenommen haben)',
+  'use_standard_groups' => 'Standard-Forums-Gruppen benutzen',
+  'use_standard_groups_explanation' => 'Eingebaute Standard-Benutzergruppen Ihres Forums benutzen (empfohlen). Diese Option setzt alle benutzerdefinierten Gruppen-Einstellungen auf dieser Seite ausser Kraft. Schalten Sie diese Option nur ab, wenn Sie WIRKLICH wissen, was Sie tun!',
+  'validating_group' => 'Bestätigungs-Gruppe',
+  'validating_group_explanation' => 'Die ID der Gruppe Ihres Forums für Benutzer, deren Konto noch überprüft werden muss (normalerweise sind die vorgeschlagenen Standard-Werte OK, wenn Sie keine Sondereinstellungen in Ihrem Forum vorgenommen haben)',
+  'guest_group' => 'Gäste-Gruppe',
+  'guest_group_explanation' => 'Die ID der Gruppe Ihres Forums für Gäste / anonyme Benutzer (normalerweise sind die vorgeschlagenen Standard-Werte OK, wenn Sie keine Sondereinstellungen in Ihrem Forum vorgenommen haben)',
+  'member_group' => 'Mitglieder-Gruppe',
+  'member_group_explanation' => 'Die ID der Gruppe Ihres Forums für normale (reguläre) Benutzer (normalerweise sind die vorgeschlagenen Standard-Werte OK, ändern Sie den Wert nur, wenn Sie wirklich wissen was Sie tun)',
+  'admin_group' => 'Admin-Gruppe',
+  'admin_group_explanation' => 'Die ID der Gruppe Ihres Forums für Admins (normalerweise sind die vorgeschlagenen Standard-Werte OK, ändern Sie den Wert nur, wenn Sie wirklich wissen was Sie tun)',
+  'banned_group' => 'Gebannte Gruppe',
+  'banned_group_explanation' => 'Die ID der Gruppe Ihres Forums für verbannte Benutzer (normalerweise sind die vorgeschlagenen Standard-Werte OK, ändern Sie den Wert nur, wenn Sie wirklich wissen was Sie tun)',
+  'global_moderators_group' => 'Globale Moderatoren Gruppe',
+  'global_moderators_group_explanation' => 'Die ID der Gruppe Ihres Forums für globale Moderatoren (normalerweise sind die vorgeschlagenen Standard-Werte OK, ändern Sie den Wert nur, wenn Sie wirklich wissen was Sie tun)',
+  'special_settings' => 'Forums-spezifische Einstellungen',
+  'logout_flag' => 'phpBB Version (logout flag)',
+  'logout_flag_explanation' => 'Welche Versions-Nummer hat Ihre Forums-Software (diese Einstellung bestimmt, wie Logouts gehandhabt werden)',
+  'use_post_based_groups' => 'Beitrags-basierte Gruppen verwenden?',
+  'logout_flag_yes' => '2.0.5 oder besser',
+  'logout_flag_no' => '2.0.4 oder schlechter',
+  'use_post_based_groups_explanation' => 'Sollen die Beitrags-basierten Benutzergruppen berücksichtigt werden (ermöglicht eine feinere Rechte-Vergabe) oder nur die Standard-Gruppen (einfachere Administration, empfohlen). Sie können diese Einstellung auch noch später ändern.',
+  'use_post_based_groups_yes' => 'ja',
+  'use_post_based_groups_no' => 'nein',
+  'error_title' => 'Sie müssen die aufgetretenen Fehler erst korrigieren. Gehen Sie zum vorherigen Schritt.',
+  'error_specify_bbs' => 'Sie müssen angeben, welche Anwendung Sie mit Coppermine &quot;bridgen&quot; wollen.',
+  'error_no_blank_name' => 'Der Name der benutzerdefinierten Bride-Datei darf nicht leer bleiben.',
+  'error_no_special_chars' => 'Der Name der Bridge-Datei darf keine Sonderzeichen enthalten ausser Untertrich (_) und Bindestrich (-)!',
+  'error_bridge_file_not_exist' => 'Die Bridge-datei %s existiert nicht auf dem Server. Überprüfen Sie die Schreibweise und ob Sie die Datei tatsächlich hochgeladen haben.',
+  'finalize' => 'Forums-Integration aktivieren/deaktivieren',
+  'finalize_explanation' => 'Bisher wurden Ihre Einstellungen in die Datenbank geschrieben, aber die Forums-Integration (Bridging) wurde noch nicht aktiviert. Sie können die Integration jederzeit später an- oder abschalten. Merken Sie sich auf jeden Fall den Benutzernamen und das Passwort Ihres Admin-Kontos (Coppermine ohne Bridging), da Sie es später evtl. brauchen, um die Einstellungen zu ändern. Wenn etwas schief läuft, gehen Sie zu %s und deaktiviere das Bridging dort (verwenden Sie dazu Ihr Coppermine-Admin-Konto, das Sie beim Installieren von Coppermine benutzt haben).',
+  'your_bridge_settings' => 'Ihre Bridge-Einstellungen',
+  'title_enable' => 'Aktiviere/De-Aktiviere Integration/Bridging mit %s',
+  'bridge_enable_yes' => 'aktivieren',
+  'bridge_enable_no' => 'de-aktivieren',
+  'error_must_not_be_empty' => 'darf nicht leer sein',
+  'error_either_be' => 'muss entweder %s oder %s sein',
+  'error_folder_not_exist' => '%s existiert nicht. Korrigieren Sie den Wert, den Sie für %s eingegeben haben',
+  'error_cookie_not_readible' => 'Coppermine kann den Cookie namens %s nicht lesen. Korrigieren Sie den Wert, den Sie für %s eingegeben haben, oder gehen Sie zum Administrationsbereich Ihres Forums und stellen Sie dort sicher, dass der Cookie für Coppermine lesbar ist.',
+  'error_mandatory_field_empty' => 'Das Feld %s darf nicht leer bleiben - geben Sie den entsprechenden Wert ein.',
+  'error_no_trailing_slash' => 'Im Feld %s darf kein abschließender Schrägstrich (Slash) vorhanden sein.',
+  'error_trailing_slash' => 'Im Feld %s muss ein abschließender Schrägstrich (Slash) vorhanden sein.',
+  'error_db_connect' => 'Konnte mit den eingegebenen Daten keine mySQL-Verbindung aufbauen. Hier ist die mySQL-Fehlermeldung:',
+  'error_db_name' => 'Obwohl Coppermine eine Verbindung aufbauen konnte, wurde die datenbank %s nicht gefunden. Überprüfen Sie Ihre Einstellungen für %s. Hier ist die mySQL-Fehlermeldung:',
+  'error_prefix_and_table' => '%s und ',
+  'error_db_table' => 'Konnte die Tabelle %s nicht finden. Überprüfen Sie Ihre Einstellungen für %s.',
+  'recovery_title' => 'Bridge-Assistent: Wiederherstellung im Notfall',
+  'recovery_explanation' => 'Sie müssen sich erst anmelden, falls Sie hierher gekommen sind, um die Forums-Integration Ihrer Coppermine-Galerie zu administrieren. Falls Sie sich nicht anmelden können, weil die Integration nicht wie erwartet funktioniert, dann können Sie mit Hilfe dieser Seite die Integration (Bridging) deaktivieren. Die Eingabe von Benutzername und Passwort hier auf der Seite wird Sie nicht anmelden, sondern die Integration deaktivieren. Details dazu gibt es in der Doku.',
+  'username' => 'Benutzername',
+  'password' => 'Passwort',
+  'disable_submit' => 'los!',
+  'recovery_success_title' => 'Authorisierung erfolgreich',
+  'recovery_success_content' => 'Sie haben die Forums-Integration erfolgreich deaktiviert. Ihre Coppermine-Galerie läuft jetzt im &quot;Standalone-Modus&quot; (ohne Integration/Bridging).',
+  'recovery_success_advice_login' => 'Melden Sie sich als Admin an, um Ihre Bridge-Einstellungen zu bearbeiten und/oder die Forums-Integration wieder zu aktivieren.',
+  'goto_login' => 'Gehe zur Anmeldung',
+  'goto_bridgemgr' => 'Gehe zum Bridge-Assistent',
+  'recovery_failure_title' => 'Authorisierung fehlgeschlagen',
+  'recovery_failure_content' => 'Sie haben fehlerhafte Zugangsdaten eingegeben. Sie müssen die Zugangdaten des Admin-Kontos der &quot;Standalone-Version&quot; benutzen (normalerweise des Admin-Konto, das Sie bei der Installation von Coppermine angelegt haben).',
+  'try_again' => 'versuche es nochmal',
+  'recovery_wait_title' => 'Wartezeit noch nicht um',
+  'recovery_wait_content' => 'Aus Sicherheitsgründen erlaubt das Skript keine fehlgeschlagenen Anmeldeversuche in kurzer Reihenfolge - deshalb müssen Sie ein bißchen warten, bevor Sie wieder einen Anmelde-Versuch unternehmen dürfen.',
+  'wait' => 'warte',
+  'create_redir_file' => 'Umleitungs-Datei anlegen (empfohlen)',
+  'create_redir_file_explanation' => 'Um Benutzer nach der Anmeldung im Forum wieder zu Coppermine umzuleiten, brauchen Sie eine Umleitungs-Datei in Ihrem Forums-Verzeichnis. Wenn diese Option aktiviert ist wird der Bridge-Assistent versuchen, diese datei für Sie anzulegen, oder Ihnen den Code für das manuelle Anlegen der Datei per markieren und kopieren zu erzeugen.',
+  'browse' => 'durchsuchen',
+);
+
+// ------------------------------------------------------------------------- //
+// File calendar.php //cpg1.4
+// ------------------------------------------------------------------------- //
+
+if (defined('CALENDAR_PHP')) $lang_calendar_php = array(
+  'title' => 'Kalender', //cpg1.4
+  'close' => 'schliessen', //cpg1.4
+  'clear_date' => 'Datum löschen', //cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File catmgr.php
+// ------------------------------------------------------------------------- //
+
+if (defined('CATMGR_PHP')) $lang_catmgr_php = array(
+  'miss_param' => 'Fehlender Parameter für die Operation \'%s\'',
+  'unknown_cat' => 'Gewählte Kategorie existiert nicht in Datenbank',
+  'usergal_cat_ro' => 'Benutzer-Galerie kann nicht gelöscht werden!',
+  'manage_cat' => 'Kategorien verwalten',
+  'confirm_delete' => 'Wollen Sie diese Kategorie wirklich LÖSCHEN', //js-alert
+  'category' => 'Kategorie',
+  'operations' => 'Operationen',
+  'move_into' => 'verschieben in',
+  'update_create' => 'Kategorie erzeugen/ändern',
+  'parent_cat' => 'Eltern-Kategorie',
+  'cat_title' => 'Titel der Kategorie',
+  'cat_thumb' => 'Kategorie-Thumbnail',
+  'cat_desc' => 'Kategorie-Beschreibung',
+  'categories_alpha_sort' => 'Kategorien alphabetisch sortieren (anstatt benutzerdefinierter Sortierreihenfolge)', //cpg1.4
+  'save_cfg' => 'Einstellungen speichern', //cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File admin.php //cpg1.4
+// ------------------------------------------------------------------------- //
+
+if (defined('ADMIN_PHP')) $lang_admin_php = array(
+  'title' => 'Galerie-Einstellungen', //cpg1.4
+  'manage_exif' => 'Exif-Einstellungen verwalten', //cpg1.4
+  'manage_plugins' => 'Plugins verwalten', //cpg1.4
+  'manage_keyword' => 'Stichworte verwalten', //cpg1.4
+  'restore_cfg' => 'auf Werkseinstellungen zurücksetzen',
+  'save_cfg' => 'Neue Einstellungen speichern',
+  'notes' => 'Anmerkungen',
+  'info' => 'Information',
+  'upd_success' => 'Die Einstellungen von Coppermine wurden aktualisiert',
+  'restore_success' => 'Coppermine Standard-Einstellungen wiederhergestellt',
+  'name_a' => 'aufsteigend nach Name',
+  'name_d' => 'absteigend nach Name',
+  'title_a' => 'aufsteigend nach Titel',
+  'title_d' => 'absteigend nach Titel',
+  'date_a' => 'aufsteigend nach Datum',
+  'date_d' => 'absteigend nach Datum',
+  'pos_a' => 'aufsteigend nach Position', //cpg1.4
+  'pos_d' => 'absteigend nach Position', //cpg1.4
+  'th_any' => 'Maximalwert (entweder Höhe oder Breite)',
+  'th_ht' => 'Höhe',
+  'th_wd' => 'Breite',
+  'label' => 'Beschriftung',
+  'item' => 'Eintrag',
+  'debug_everyone' => 'alle',
+  'debug_admin' => 'nur Admin',
+  'no_logs'=> 'Aus', //cpg1.4
+  'log_normal'=> 'Normal', //cpg1.4
+  'log_all' => 'Alle', //cpg1.4
+  'view_logs' => 'Historie anzeigen', //cpg1.4
+  'click_expand' => 'Klicken Sie auf die jeweilige Bezeichnung zum Ausklappen des Abschnitts', //cpg1.4
+  'expand_all' => 'Alle ausklappen', //cpg1.4
+  'notice1' => '(*) Diese Einstellungen dürfen nicht mehr verändert werden, wenn bereits Dateien in der Datenbank vorhanden sind.', //cpg1.4 - (relocated)
+  'notice2' => '(**) Bei Änderung dieser Einstellung werden die geänderten Werte nur für Dateien herangezogen, die ab dem Zeitpunkt der Änderung hinzugefügt werden - daher ist es ratsam, hier nichts zu ändern, wenn bereits Bilder in der Galerie vorhanden sind. Die geänderten Einstellungen können jedoch auch auf ältere Dateien angewendet werden durch Verwendung der &quot;<a href="util.php">Admin-Werkzeuge</a> (Thumbnails und/oder Bilder in Zwischengrösse aktualisieren)&quot; aus dem Admin-Menü.', //cpg1.4 - (relocated)
+  'notice3' => '(***) Alle Logs werden in Englisch geschrieben.', //cpg1.4 - (relocated)
+  'bbs_disabled' => 'Funktion deaktiviert bei der Verwendung des Bridging', //cpg1.4
+  'auto_resize_everyone' => 'Alle (Benutzer+Admin)', //cpg1.4
+  'auto_resize_user' => 'Nur Benutzer', //cpg1.4
+  'ascending' => 'aufsteigend', //cpg1.4
+  'descending' => 'absteigend', //cpg1.4
+);
+
+if (defined('ADMIN_PHP')) $lang_admin_data = array(
+  'Allgemeine Einstellungen',
+  array('Galerie-Name', 'gallery_name', 0, 'f=index.htm&amp;as=admin_general_name&amp;ae=admin_general_name_end'), //cpg1.4
+  array('Galerie-Beschreibung', 'gallery_description', 0, 'f=index.htm&amp;as=admin_general_description&amp;ae=admin_general_description_end'), //cpg1.4
+  array('Galerie-Admin eMail', 'gallery_admin_email', 0, 'f=index.htm&amp;as=admin_general_email&amp;ae=admin_general_email_end'), //cpg1.4
+  array('URL Ihres Coppermine-Galerie Verzeichnisses (no \'index.php\' or similar at the end)', 'ecards_more_pic_target', 0, 'f=index.htm&amp;as=admin_general_coppermine-url&amp;ae=admin_general_coppermine-url_end'), //cpg1.4
+  array('URL Ihrer Homepage', 'home_target', 0, 'f=index.htm&amp;as=admin_general_home-url&amp;ae=admin_general_home-url_end'), //cpg1.4
+  array('ZIP-Download der Favoriten erlauben', 'enable_zipdownload', 1, 'f=index.htm&amp;as=admin_general_zip-download&amp;ae=admin_general_zip-download_end'), //cpg1.4
+  array('Zeitzonen-Differenz relative zur MEZ (aktuelle Zeit: ' . localised_date(-1, $comment_date_fmt) . ')','time_offset',0, 'f=index.htm&amp;as=admin_general_time-offset&amp;ae=admin_general_time-offset_end&amp;top=1'), //cpg1.4
+  array('Verschlüsselte Passwörter aktivieren (kann nicht rückgängig gemacht werden)','enable_encrypted_passwords',1, 'f=index.htm&amp;as=admin_general_encrypt_password_start&amp;ae=admin_general_encrypt_password_end&amp;top=1'), // cpg 1.4
+  array('Hilfe-Icons aktivieren (Hilfe nur in Englisch verfügbar)','enable_help',9, 'f=index.htm&amp;as=admin_general_help&amp;ae=admin_general_help_end'), //cpg1.4
+  array('Anklickbare Stichwörter in Suche aktivieren','clickable_keyword_search',14, 'f=index.htm&amp;as=admin_general_keywords_start&amp;ae=admin_general_keywords_end'), //cpg1.4
+  array('Plugins aktivieren', 'enable_plugins', 12, 'f=index.htm&amp;as=admin_general_enable-plugins&amp;ae=admin_general_enable-plugins_end'),  //cpg1.4
+  array('Verbannung von nicht-routebaren IP-Adressen aktivieren', 'ban_private_ip', 1,  'f=index.htm&amp;as=admin_general_private-ip&amp;ae=admin_general_private-ip_end'), //cpg1.4
+  array('Baumstruktur für Batch-hinzufügen aktivieren', 'browse_batch_add', 1, 'f=index.htm&amp;as=admin_general_browsable_batch_add&amp;ae=admin_general_browsable_batch_add_end'), //cpg1.4
+
+  'Sprach- &amp; Zeichensatz-Einstellungen',
+  array('Sprache', 'lang', 5, 'f=index.htm&amp;as=admin_language_language&amp;ae=admin_language_language_end'), //cpg1.4
+  array('Auf Englisch zurückgreifen, wenn Deutsche Übersetzung nicht verfügbar?', 'language_fallback', 1, 'f=index.htm&amp;as=admin_language_fallback&amp;ae=admin_language_fallback_end'), //cpg1.4
+  array('Zeichensatz', 'charset', 4, 'f=index.htm&amp;as=admin_language_charset&amp;ae=admin_language_charset_end'), //cpg1.4
+  array('Sprachauswahl-Liste anzeigen', 'language_list', 1, 'f=index.htm&amp;as=admin_language_list&amp;ae=admin_language_list_end'), //cpg1.4
+  array('Sprachauswahl-Flaggen anzeigen', 'language_flags', 8, 'f=index.htm&amp;as=admin_language_flags&amp;ae=admin_language_flags_end&amp;top=1'), //cpg1.4
+  array('&quot;Standard&quot; in Sprachauswahl anzeigen', 'language_reset', 1, 'f=index.htm&amp;as=admin_language_reset&amp;ae=admin_language_reset_end&amp;top=1'), //cpg1.4
+  //array('zurück/vorwärts in Tabs anzeigen', 'previous_next_tab', 1), //cpg1.4
+
+  'Design-Einstellungen',
+  array('Design', 'theme', 6, 'f=index.htm&amp;as=admin_theme_theme&amp;ae=admin_theme_theme_end'), //cpg1.4
+  array('Designauswahl-Liste anzeigen', 'theme_list', 1, 'f=index.htm&amp;as=admin_theme_theme_list&amp;ae=admin_theme_theme_list_end'), //cpg1.4
+  array('&quot;Standard&quot; in Designauswahl-Liste anzeigen', 'theme_reset', 1, 'f=index.htm&amp;as=admin_theme_theme_reset&amp;ae=admin_theme_theme_reset_end'), //cpg1.4
+  array('FAQ anzeigen', 'display_faq', 1, 'f=index.htm&amp;as=admin_theme_faq&amp;ae=admin_theme_faq_end'), //cpg1.4
+  array('Name eines benutzerdefinierten Menü-Eintrags', 'custom_lnk_name', 0,'f=index.htm&amp;as=admin_theme_custom_lnk_name&amp;ae=admin_theme_custom_lnk_name_end'), //cpg1.4
+  array('URL eines benutzerdefinierten Menü-Eintrags', 'custom_lnk_url', 0,'f=index.htm&amp;as=admin_language_custom_lnk_url&amp;ae=admin_language_custom_lnk_url_end'), //cpg1.4
+  array('bbcode-Hilfe anzeigen', 'show_bbcode_help', 1, 'f=index.htm&amp;as=admin_theme_bbcode&amp;ae=admin_theme_bbcode_end&amp;top=1'), //cpg1.4
+  array('Vanity Block in Designs anzeigen, die als XHTML und CSS konform definiert sind?','vanity_block',1, 'f=index.htm&amp;as=vanity_block&amp;ae=vanity_block_end'), //cpg1.4
+  array('Pfad zu benutzerdefiniertem header-include', 'custom_header_path', 0, 'f=index.htm&amp;as=admin_theme_include_path_start&amp;ae=admin_theme_include_path_end'), //cpg1.4
+  array('Pfad zu benutzerdefiniertem footer-include', 'custom_footer_path', 0, 'f=index.htm&amp;as=admin_theme_include_path_start&amp;ae=admin_theme_include_path_end'), //cpg1.4
+
+  'Ansicht Albenliste',
+  array('Breite der Haupttabelle (in Pixel oder %)', 'main_table_width', 0, 'f=index.htm&amp;as=admin_album_table-width&amp;ae=admin_album_table-width_end'), //cpg1.4
+  array('Anzahl angezeigter Kategorie-Ebenen', 'subcat_level', 0, 'f=index.htm&amp;as=admin_album_category-levels&amp;ae=admin_album_category-levels_end'), //cpg1.4
+  array('Anzahl angezeigter Alben', 'albums_per_page', 0, 'f=index.htm&amp;as=admin_album_number&amp;ae=admin_album_number_end'), //cpg1.4
+  array('Anzahl Spalten in Album-Liste', 'album_list_cols', 0, 'f=index.htm&amp;as=admin_album_columns&amp;ae=admin_album_columns_end'), //cpg1.4
+  array('Thumbnail-Größe in Pixeln', 'alb_list_thumb_size', 0, 'f=index.htm&amp;as=admin_album_thumbnail-size&amp;ae=admin_album_thumbnail-size_end'), //cpg1.4
+  array('Inhalt der Hauptseite', 'main_page_layout', 0, 'f=index.htm&amp;as=admin_album_list_content&amp;ae=admin_album_list_content_end'), //cpg1.4
+  array('Erste Ebene der Thumbnails der Alben auch in Kategorien anzeigen','first_level',1, 'f=index.htm&amp;as=admin_album_first-level_thumbs&amp;ae=admin_album_first-level_thumbs_end'), //cpg1.4
+  array('Kategorien alphabetisch sortieren (anstatt benutzerdefinierter Sortierreihenfolge)','categories_alpha_sort',1, 'f=index.htm&amp;as=admin_album_list_alphasort_start&amp;ae=admin_album_list_alphasort_end'), //cpg1.4
+  array('Anzahl der verlinkten Dateien anzeigen','link_pic_count',1, 'f=index.htm&amp;as=admin_album_linked_files_start&amp;ae=admin_album_linked_files_end'), //cpg1.4
+
+  'Ansicht Thumbnail',
+  array('Spaltenzahl auf Thumbnail-Seite', 'thumbcols', 0, 'f=index.htm&amp;as=admin_thumbnail_columns&amp;ae=admin_thumbnail_columns_end'), //cpg1.4
+  array('Zeilenzahl auf Thumbnail-Seite', 'thumbrows', 0, 'f=index.htm&amp;as=admin_thumbnail_rows&amp;ae=admin_thumbnail_rows_end'), //cpg1.4
+  array('Anzahl maximal angezeigter Tabs', 'max_tabs', 10, 'f=index.htm&amp;as=admin_thumbnail_tabs&amp;ae=admin_thumbnail_tabs_end'), //cpg1.4
+  array('Datei-Beschriftung anzeigen (zusätzlich zum Datei-Titel) unterhalb der Thumbnails', 'caption_in_thumbview', 1, 'f=index.htm&amp;as=admin_thumbnail_display_caption&amp;ae=admin_thumbnail_display_caption_end'), //cpg1.4
+  array('Anzahl der Treffer unterhalb des Thumbnails anzeigen', 'views_in_thumbview', 1, 'f=index.htm&amp;as=admin_thumbnail_display_views&amp;ae=admin_thumbnail_display_views_end'), //cpg1.4
+  array('Anzahl der Kommentare unterhalb des Thumbnails anzeigen', 'display_comment_count', 1, 'f=index.htm&amp;as=admin_thumbnail_display_comments&amp;ae=admin_thumbnail_display_comments_end'), //cpg1.4
+  array('Name des Uploaders unterhalb des Thumbnails anzeigen', 'display_uploader', 1, 'f=index.htm&amp;as=admin_thumbnail_display_uploader&amp;ae=admin_thumbnail_display_uploader_end'), //cpg1.4
+  //array('Name von administrativen Uploadern unterhalb des Thumbnails anzeigen', 'display_admin_uploader', 1, 'f=index.htm&amp;as=admin_thumbnail_display_admin_uploader&amp;ae=admin_thumbnail_display_admin_uploader_end'), //cpg1.4
+  array('Dateiname unterhalb des Thumbnails anzeigen', 'display_filename', 1, 'f=index.htm&amp;as=admin_thumbnail_display_filename&amp;ae=admin_thumbnail_display_filename_end'), //cpg1.4
+  //array('Alben-Beschreibung anzeigen', 'alb_desc_thumb', 1, 'f=index.htm&amp;as=admin_thumbnail_display_description&amp;ae=admin_thumbnail_display_description_end'), //cpg1.4
+  array('Standard-Sortierung für Dateien', 'default_sort_order', 3, 'f=index.htm&amp;as=admin_thumbnail_default_sortorder&amp;ae=admin_thumbnail_default_sortorder_end'), //cpg1.4
+  array('Mindestmenge Stimmen, die eine Datei benötigt, um in der \'am besten bewertet\'-Liste zu erscheinen', 'min_votes_for_rating', 0, 'f=index.htm&amp;as=admin_thumbnail_minimum_votes&amp;ae=admin_thumbnail_minimum_votes_end'), //cpg1.4
+
+  'Ansicht Bild', //cpg1.4
+  array('Tabellenbreite für Bildanzeige (in Pixel oder %)', 'picture_table_width', 0, 'f=index.htm&amp;as=admin_image_comment_table-width&amp;ae=admin_image_comment_table-width_end'), //cpg1.4
+  array('Datei-Informationen sind standardmäßig sichtbar', 'display_pic_info', 1, 'f=index.htm&amp;as=admin_image_comment_info_visible&amp;ae=admin_image_comment_info_visible_end'), //cpg1.4
+  array('Maximallänge für Dateibeschreibung', 'max_img_desc_length', 0, 'f=index.htm&amp;as=admin_image_comment_descr_length&amp;ae=admin_image_comment_descr_length_end'), //cpg1.4
+  array('Maximale Anzahl von Buchstaben in einem Wort', 'max_com_wlength', 0, 'f=index.htm&amp;as=admin_image_comment_chars_per_word&amp;ae=admin_image_comment_chars_per_word_end'), //cpg1.4
+  array('Film-Streifen anzeigen', 'display_film_strip', 1, 'f=index.htm&amp;as=admin_image_comment_filmstrip_toggle&amp;ae=admin_image_comment_filmstrip_toggle_end'), //cpg1.4
+  array('Dateinamen unter Filmstreifen-Thumbnails anzeigen', 'display_film_strip_filename', 1, 'f=index.htm&amp;as=admin_image_comment_display_film_strip_filename&amp;ae=admin_image_comment_display_film_strip_filename_end'), //cpg1.4
+  array('Anzahl Elemente in Film-Streifen', 'max_film_strip_items', 0, 'f=index.htm&amp;as=admin_image_comment_filmstrip_number&amp;ae=admin_image_comment_filmstrip_number_end'), //cpg1.4
+  array('Diashow-Intervall in Millisekunden (1 Sekunde = 1000 Millisekunden)', 'slideshow_interval', 0, 'f=index.htm&amp;as=admin_image_comment_slideshow_interval&amp;ae=admin_image_comment_slideshow_interval_end'), //cpg1.4
+
+  'Einstellungen Kommentare', //cpg1.4
+  array('Schimpfwörter in Kommentaren zensieren', 'filter_bad_words', 1, 'f=index.htm&amp;as=admin_image_comment_bad_words&amp;ae=admin_image_comment_bad_words_end'), //cpg1.4
+  array('Smilies in Kommentaren erlauben', 'enable_smilies', 1, 'f=index.htm&amp;as=admin_image_comment_smilies&amp;ae=admin_image_comment_smilies_end'), //cpg1.4
+  array('Aufeinanderfolgende Kommentare eines Benutzers zu einer Datei zulassen (Überflutungs-Schutz abschalten)', 'disable_comment_flood_protect', 1, 'f=index.htm&amp;as=admin_image_comment_flood&amp;ae=admin_image_comment_flood_end'), //cpg1.4
+  array('Maximale Zeilenzahl eines Kommentars', 'max_com_lines', 0, 'f=index.htm&amp;as=admin_image_comment_lines&amp;ae=admin_image_comment_lines_end'), //cpg1.4
+  array('Maximale Länge eines Kommentars', 'max_com_size', 0, 'f=index.htm&amp;as=admin_image_comment_length&amp;ae=admin_image_comment_length_end'), //cpg1.4
+  array('Admin über abgegebene Kommentare per eMail benachrichtigen', 'email_comment_notification', 1, 'f=index.htm&amp;as=admin_image_comment_admin_notify&amp;ae=admin_image_comment_admin_notify_end'), //cpg1.4
+  array('Sortierreihenfolge von Kommentaren', 'comments_sort_descending', 17, 'f=index.htm&amp;as=admin_comment_sort_start&amp;ae=admin_comment_sort_end'), //cpg1.4
+  array('Vorsilbe für anonyme Kommentatoren', 'comments_anon_pfx', 0, 'f=index.htm&amp;as=comments_anon_pfx&amp;ae=comments_anon_pfx_end'), //cpg1.4
+
+  'Bild/Datei- und Thumbnail-Einstellungen',
+  array('Qualität für JPEG-Dateien', 'jpeg_qual', 0, 'f=index.htm&amp;as=admin_picture_thumbnail_jpeg_quality&amp;ae=admin_picture_thumbnail_jpeg_quality_end'), //cpg1.4
+  array('Maximalgröße Thumbnail<a href="#notice2" class="clickable_option">**</a>', 'thumb_width', 0, 'f=index.htm&amp;as=admin_picture_thumbnail_max-dimension&amp;ae=admin_picture_thumbnail_max-dimension_end'), //cpg1.4
+  array('Welche Dimension soll genutzt werden für Thumbnails ( Breite oder Höhe oder das, was jeweils größer ist)<a href="#notice1" class="clickable_option">**</a>', 'thumb_use', 7, 'f=index.htm&amp;as=admin_picture_thumbnail_use-dimension&amp;ae=admin_picture_thumbnail_use-dimension_end'), //cpg1.4
+  array('Bilder in Zwischengröße erzeugen','make_intermediate',1, 'f=index.htm&amp;as=admin_picture_thumbnail_intermediate_toggle&amp;ae=admin_picture_thumbnail_intermediate_toggle_end'), //cpg1.4
+  array('Maximale Breite oder Höhe von Bildern/Videos in Zwischengröße <a href="#notice2" class="clickable_option">**</a>', 'picture_width', 0, 'f=index.htm&amp;as=admin_picture_thumbnail_intermediate_dimension&amp;ae=admin_picture_thumbnail_intermediate_dimension_end'), //cpg1.4
+  array('Maximalgröße für das Hochladen von Dateien (kB)', 'max_upl_size', 0, 'f=index.htm&amp;as=admin_picture_thumbnail_max_upload_size&amp;ae=admin_picture_thumbnail_max_upload_size_end'), //cpg1.4
+  array('Maximale Breite oder Höhe für das Hochladen von Bildern/Videos (in Pixel)', 'max_upl_width_height', 0, 'f=index.htm&amp;as=admin_picture_thumbnail_max_upload_dimension&amp;ae=admin_picture_thumbnail_max_upload_dimension_end'), //cpg1.4
+  array('Automatische Verkleinerung von Bildern, die die Maximalgröße überschreiten', 'auto_resize', 16, 'f=index.htm&amp;as=admin_picture_thumbnail_auto-resize&amp;ae=admin_picture_thumbnail_auto-resize_end'), //cpg1.4
+
+  'Erweiterte Bild/Datei- und Thumbnail-Einstellungen',
+  array('Alben können nicht-öffentlich sein (Anmerkung: beim Umschalten von \'ja\' auf \'nein\' werden <i>alle</i> nicht-öffentlichen Alben öffentlich)', 'allow_private_albums', 1, 'f=index.htm&amp;as=admin_picture_thumb_advanced_private_toggle&amp;ae=admin_picture_thumb_advanced_private_toggle_end'), //cpg1.4
+  array('Icons für Persönliche Alben nicht-eingeloggten Benutzern anzeigen?','show_private',1, 'f=index.htm&amp;as=admin_picture_thumb_advanced_private_icon_show&amp;ae=admin_picture_thumb_advanced_private_icon_show_end'), //cpg1.4
+  array('Nicht erlaubte Zeichen in Dateinamen', 'forbiden_fname_char',0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_filename_forbidden_chars&amp;ae=admin_picture_thumb_advanced_filename_forbidden_chars_end'), //cpg1.4
+  //array('erlaubte Datei-Erweiterungen für das Hochladen von Bildern', 'allowed_file_extensions',0, 'f=index.htm&amp;as=&amp;ae=_end'), //cpg1.4
+  array('Zugelassene Bild-Dateitypen', 'allowed_img_types',0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_pic_extensions&amp;ae=admin_picture_thumb_advanced_pic_extensions_end'), //cpg1.4
+  array('Zugelassene Video-Dateitypen', 'allowed_mov_types',0, 'f=index.htm&amp;as=admin_thumbs_advanced_movie&amp;ae=admin_thumbs_advanced_movie_end'), //cpg1.4
+  array('Autostart für Filme', 'media_autostart',1, 'f=index.htm&amp;as=admin_movie_autoplay&amp;ae=admin_movie_autoplay_end'), //cpg1.4
+  array('Zugelassene Audio-Dateitypen', 'allowed_snd_types',0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_audio_extensions&amp;ae=admin_picture_thumb_advanced_audio_extensions_end'), //cpg1.4
+  array('Zugelassene Dokument-Dateitypen', 'allowed_doc_types',0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_doc_extensions&amp;ae=admin_picture_thumb_advanced_doc_extensions_end'), //cpg1.4
+  array('Methode zur Größenänderung von Bildern','thumb_method',2, 'f=index.htm&amp;as=admin_picture_thumb_advanced_resize_method&amp;ae=admin_picture_thumb_advanced_resize_method_end'), //cpg1.4
+  array('Pfad zur \'convert\'-Anwendung von ImageMagick (z.B. /usr/bin/X11/)', 'impath', 0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_im_path&amp;ae=admin_picture_thumb_advanced_im_path_end'), //cpg1.4
+  //array('Erlaubte Datei-Typen (nur gültig für ImageMagick)', 'allowed_img_types',0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_allowed_imagetypes&amp;ae=admin_picture_thumb_advanced_allowed_imagetypes_end'), //cpg1.4
+  array('Kommandozeilen-Parameter für ImageMagick', 'im_options', 0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_im_commandline&amp;ae=admin_picture_thumb_advanced_im_commandline_end'), //cpg1.4
+  array('EXIF-Daten in JPEG-Dateien lesen', 'read_exif_data', 13, 'f=index.htm&amp;as=admin_picture_thumb_advanced_exif&amp;ae=admin_picture_thumb_advanced_exif_end'), //cpg1.4
+  array('IPTC-Daten in JPEG-Dateien lesen', 'read_iptc_data', 1, 'f=index.htm&amp;as=admin_picture_thumb_advanced_iptc&amp;ae=admin_picture_thumb_advanced_iptc_end'), //cpg1.4
+  array('Alben-Verzeichnis <a href="#notice1" class="clickable_option">*</a>', 'fullpath', 0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_albums_dir&amp;ae=admin_picture_thumb_advanced_albums_dir_end'), //cpg1.4
+  array('Verzeichnis für Benutzer-Dateien <a href="#notice1" class="clickable_option">*</a>', 'userpics', 0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_userpics_dir&amp;ae=admin_picture_thumb_advanced_userpics_dir_end'), //cpg1.4
+  array('Vorsilbe für Bilder in Zwischengröße <a href="#notice1" class="clickable_option">*</a>', 'normal_pfx', 0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_intermediate_prefix&amp;ae=admin_picture_thumb_advanced_intermediate_prefix_end'), //cpg1.4
+  array('Vorsilbe für Thumbnails <a href="#notice1" class="clickable_option">*</a>', 'thumb_pfx', 0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_thumbs_prefix&amp;ae=admin_picture_thumb_advanced_thumbs_prefix_end'), //cpg1.4
+  array('Standard-Modus für Verzeichnisse', 'default_dir_mode', 0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_chmod_folder&amp;ae=admin_picture_thumb_advanced_chmod_folder_end'), //cpg1.4
+  array('Standard-Modus für Dateien', 'default_file_mode', 0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_chmod_files&amp;ae=admin_picture_thumb_advanced_chmod_files_end'), //cpg1.4
+
+  'Benutzer-Einstellungen',
+  array('Registrierung von Benutzern zulassen', 'allow_user_registration', 1, 'f=index.htm&amp;as=admin_allow_registration&amp;ae=admin_allow_registration_end'), //cpg1.4
+  array('Nicht-angemeldeten Besuchern (Gäste) Zugriff erlauben', 'allow_unlogged_access', 1, 'f=index.htm&amp;as=admin_allow_unlogged_access&amp;ae=admin_allow_unlogged_access_end'), //cpg1.4
+  array('Registrierung von Benutzern erfordert Überprüfung per eMail', 'reg_requires_valid_email', 1, 'f=index.htm&amp;as=admin_registration_verify&amp;ae=admin_registration_verify_end'), //cpg1.4
+  array('Admin über neu-registrierten Benutzer per eMail benachrichtigen', 'reg_notify_admin_email', 1, 'f=index.htm&amp;as=admin_registration_notify&amp;ae=admin_registration_notify_end'), //cpg1.4
+  array('Admin muss Registrierungen aktivieren', 'admin_activation', 1, 'f=index.htm&amp;as=admin_activation&amp;ae=admin_activation_end'),  //cpg1.4
+  array('Zulassen, dass mehrere Benutzer die gleiche eMail-Adresse haben', 'allow_duplicate_emails_addr', 1, 'f=index.htm&amp;as=admin_allow_duplicate_emails_addr&amp;ae=admin_allow_duplicate_emails_addr_end'), //cpg1.4
+  array('Admin über genehmigungspflichtige Benutzer-Uploads per eMail benachrichtigen', 'upl_notify_admin_email', 1, 'f=index.htm&amp;as=admin_approval_notify&amp;ae=admin_approval_notify_end'), //cpg1.4
+  array('Angemeldeten Benutzern Benutzerliste anzeigen', 'allow_memberlist', 1, 'f=index.htm&amp;as=admin_user_memberlist&amp;ae=admin_user_memberlist_end'), //cpg1.4
+  array('Benutzern erlauben, Ihre eMail-Adresse im Profil zu ändern', 'allow_email_change', 1, 'f=index.htm&amp;as=admin_user_allow_email_change&amp;ae=admin_user_allow_email_change_end'), //cpg1.4
+  array('Benutzern bleiben Eigentümer von Bildern, die sie in öffentliche Alben hochgeladen haben (sie können diese dann ändern, beschriften und löschen', 'users_can_edit_pics', 1, 'f=index.htm&amp;as=admin_user_editpics_public_start&amp;ae=admin_user_editpics_public_end'), //cpg1.4
+  array('Anzahl fehlgeschlagener Anmeldeversuche bis zur zeitweiligen Sperrung (zur Vermeidung von Brute-Force Angriffen)', 'login_threshold', 0, 'f=index.htm&amp;as=admin_user_login_start&amp;ae=admin_user_login_end'), //cpg1.4
+  array('Dauer einer zeitweilligen Sperrung nach fehlgeschlagenen Anmeldungen', 'login_expiry', 0, 'f=index.htm&amp;as=admin_user_login_start&amp;ae=admin_user_login_end'), //cpg1.4
+  array('&quot;Beim Administrator melden&quot; aktivieren', 'report_post', 1, 'f=index.htm&amp;as=admin_user_enable_report&amp;ae=admin_user_enable_report_end'),  //cpg1.4
+
+// custom profile fields,  //cpg1.4
+  'Benutzerdefinierte Felder für Benutzerprofile (leer lassen, falls ungenutzt).
+  Benutze Profilfeld 6 für Langeinträge (wie Biographien).', //cpg1.4
+  array('Bezeichnung Profilfeld 1', 'user_profile1_name', 0, 'f=index.htm&amp;as=admin_custom&amp;ae=admin_custom_end'), //cpg1.4
+  array('Bezeichnung Profilfeld 2', 'user_profile2_name', 0), //cpg1.4
+  array('Bezeichnung Profilfeld 3', 'user_profile3_name', 0), //cpg1.4
+  array('Bezeichnung Profilfeld 4', 'user_profile4_name', 0), //cpg1.4
+  array('Bezeichnung Profilfeld 5', 'user_profile5_name', 0), //cpg1.4
+  array('Bezeichnung Profilfeld 6', 'user_profile6_name', 0), //cpg1.4
+
+  'Benutzerdefinierte Felder für zusätzliche Dateiinformationen (leer lassen, falls nicht benötigt)',
+  array('Bezeichnung Feld 1', 'user_field1_name', 0, 'f=index.htm&amp;as=admin_custom_image&amp;ae=admin_custom_image_end'), //cpg1.4
+  array('Bezeichnung Feld 2', 'user_field2_name', 0),
+  array('Bezeichnung Feld 3', 'user_field3_name', 0),
+  array('Bezeichnung Feld 4', 'user_field4_name', 0),
+
+  'Cookies-Einstellungen',
+  array('Cookie-Name', 'cookie_name', 0, 'f=index.htm&amp;as=admin_cookie_name&amp;ae=admin_cookie_name_end'), //cpg1.4
+  array('Cookie-Pfad', 'cookie_path', 0, 'f=index.htm&amp;as=admin_cookie_path&amp;ae=admin_cookie_path_end'), //cpg1.4
+
+  'Email-Einstellungen  (normalerweise muss hier nichts eingestellt werden; lassen Sie im Zweifelsfall alle Felder leer )', //cpg1.4
+  array('SMTP-Hostname (wenn leer wird sendmail benutzt)', 'smtp_host', 0, 'f=index.htm&amp;as=admin_email&amp;ae=admin_email_end'), //cpg1.4
+  array('SMTP-Benutzername', 'smtp_username', 0), //cpg1.4
+  array('SMTP-Passwort', 'smtp_password', 0), //cpg1.4
+
+  'Logging und Statistiken', //cpg1.4
+  array('Logging-Modus <a href="#notice3" class="clickable_option">***</a>', 'log_mode', 11, 'f=index.htm&amp;as=admin_logging_log_mode&amp;ae=admin_logging_log_mode_end'), //cpg1.4
+  array('eCards aufzeichnen (Logging)<br />(Anmerkung: das Aufzeichnen von Benutzer-Daten kann Datenschutz-rechtliche Konsequenzen haben. Der Benutzer sollte über die Tatsache, dass die eCards gelogged werden, informiert werden und sein Einverständnis gegeben haben, z.B. bei der Registrierung. Details, wie eine Datenschutz-Policy, die den Schutz der Privatsphäre regelt, sollten separat auf der Seite verfügbar sein.)', 'log_ecards', 1, 'f=index.htm&amp;as=admin_general_log_ecards&amp;ae=admin_general_log_ecards_end'), //cpg1.4
+  array('Detailierte Abstimmungs-Statistiken aufzeichnen','vote_details',1, 'f=index.htm&amp;as=admin_logging_votedetails&amp;ae=admin_logging_votedetails_end'), //cpg1.4
+  array('Detailierte Treffer-Statistiken aufzeichnen (Besucherzähler)','hit_details',1, 'f=index.htm&amp;as=admin_logging_hitdetails&amp;ae=admin_logging_hitdetails_end'), //cpg1.4
+
+  'Wartungs-Einstellungen', //cpg1.4
+  array('Debug-Modus ein', 'debug_mode', 9, 'f=index.htm&amp;as=debug_mode&amp;ae=debug_mode_end'), //cpg1.4
+  array('PHP-notices in Debug-Modus anzeigen (empfohlen: aus)', 'debug_notice', 1, 'f=index.htm&amp;as=admin_misc_debug_notices&amp;ae=admin_misc_debug_notices_end'), //cpg1.4
+  array('Galerie ist im Wartungsmodus', 'offline', 1, 'f=index.htm&amp;as=admin_general_offline&amp;ae=admin_general_offline_end'), //cpg1.4
+);
+
+
+// ------------------------------------------------------------------------- //
+// File db_ecard.php
+// ------------------------------------------------------------------------- //
+
+if (defined('DB_ECARD_PHP')) $lang_db_ecard_php = array(
+  'title' => 'Versendete eCards',
+  'ecard_sender' => 'Absender',
+  'ecard_recipient' => 'Empfänger',
+  'ecard_date' => 'Datum',
+  'ecard_display' => 'eCard anzeigen',
+  'ecard_name' => 'Name',
+  'ecard_email' => 'eMail',
+  'ecard_ip' => 'IP',
+  'ecard_ascending' => 'aufsteigend',
+  'ecard_descending' => 'absteigend',
+  'ecard_sorted' => 'Sortiert',
+  'ecard_by_date' => 'nach Datum',
+  'ecard_by_sender_name' => 'nach Absender-Name',
+  'ecard_by_sender_email' => 'nach eMail-Adresse des Absenders',
+  'ecard_by_sender_ip' => 'nach IP-Adresse des Absenders',
+  'ecard_by_recipient_name' => 'nach Empfänger-Name',
+  'ecard_by_recipient_email' => 'nach eMail-Adresse des Empfängers',
+  'ecard_number' => 'zeige Eintrag %s bis %s von %s',
+  'ecard_goto_page' => 'gehe zu Seite',
+  'ecard_records_per_page' => 'Einträge pro Seite',
+  'check_all' => 'alle markieren',
+  'uncheck_all' => 'alle Markierungen entfernen',
+  'ecards_delete_selected' => 'Gewählte eCard-Einträge löschen',
+  'ecards_delete_confirm' => 'Alle Einträge löschen? Entsprechendes Feld ankreuzen!',
+  'ecards_delete_sure' => 'wirklich löschen',
+);
+
+
+// ------------------------------------------------------------------------- //
+// File db_input.php
+// ------------------------------------------------------------------------- //
+
+if (defined('DB_INPUT_PHP')) $lang_db_input_php = array(
+  'empty_name_or_com' => 'Sie müssen Ihren Namen und einen Kommentar eingeben',
+  'com_added' => 'Ihr Kommentar wurde hinzugefügt',
+  'alb_need_title' => 'Sie müssen einen Titel für das Album eingeben!',
+  'no_udp_needed' => 'Keine Aktualisierung notwendig.',
+  'alb_updated' => 'Das Album wurde aktualisiert',
+  'unknown_album' => 'Das gewählte Album existiert nicht oder Sie haben keine Berechtigung, Dateien in dieses Album hochzuladen',
+  'no_pic_uploaded' => 'Es wurde keine Datei hochgeladen!<br /><br />Wenn Sie tatsächlich eine Datei zum Hochladen selektiert haben, überprüfen Sie bitte, ob Ihr Server das Hochladen von Dateien zulässt...',
+  'err_mkdir' => 'Verzeichnis %s konnte nicht angelegt werden!',
+  'dest_dir_ro' => 'In das Zielverzeichnis %s kann vom Skript nicht geschrieben werden!',
+  'err_move' => '%s kann nicht nach %s verschoben werden!',
+  'err_fsize_too_large' => 'Die Datei, die Sie hochgeladen haben, ist zu groß (maximal zulässig ist %s x %s) !', //obsolete since cpg1.3 - consider removal in cpg1.4 once upload.php has been overhauled
+  'err_imgsize_too_large' => 'Die Datei, die Sie hochgeladen haben, ist zu groß (maximal zulässig ist %s kB) !', //obsolete since cpg1.3 - consider removal in cpg1.4 once upload.php has been overhauled
+  'err_invalid_img' => 'Die Datei, die Sie hochgeladen haben, ist kein gültiger Bildtyp!',
+  'allowed_img_types' => 'Sie können nur %s Bilder hochladen.',
+  'err_insert_pic' => 'Das Bild \'%s\' kann nicht in das Album eingefügt werden ',
+  'upload_success' => 'Ihre Datei wurde erfolgreich hochgeladen.<br /><br />Es wird nach der Bestätigung durch den Admin sichtbar sein.',
+  'notify_admin_email_subject' => '%s - Upload-Benachrichtigung',
+  'notify_admin_email_body' => '%s hat eine Datei hochgeladen, die bestätigt werden muss. Gehe zu %s',
+  'info' => 'Information',
+  'com_added' => 'Kommentar hinzugefügt',
+  'alb_updated' => 'Album aktualisiert',
+  'err_comment_empty' => 'Ihr Kommentar enthält keine Zeichen!',
+  'err_invalid_fext' => 'Nur Dateien mit den folgenden Erweiterungen sind zulässig: <br /><br />%s.',
+  'no_flood' => 'Leider sind Sie schon der Autor des letzten Kommentars zu dieser Datei<br /><br />Bearbeiten Sie Ihren bestehenden Kommentar, wenn Sie ihn verändern wollen',
+  'redirect_msg' => 'Sie werden weitergeleitet.<br /><br /><br />Klicke Sie \'weiter\', falls sich die Seite nicht automatisch aktualisiert',
+  'upl_success' => 'Ihre Datei wurde erfolgreich hinzugefügt',
+  'email_comment_subject' => 'In der Coppermine Photo Gallery wurde ein Kommentar abgegeben',
+  'email_comment_body' => 'Jemand hat einen Kommentar in Ihrer Galerie abgegeben. Um den Kommentar anzusehen, klicken Sie hier: ',
+  'album_not_selected' => 'Kein Album ausgewählt', //cpg1.4
+  'com_author_error' => 'Ein registrierter Benutzer verwendet diesen Namen bereits, melden Sie sich an oder verwenden Sie einen anderen Namen.', //cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File delete.php
+// ------------------------------------------------------------------------- //
+
+if (defined('DELETE_PHP')) $lang_delete_php = array(
+  'caption' => 'Überschrift',
+  'fs_pic' => 'Bild in Originalgröße',
+  'del_success' => 'erfolgreich gelöscht',
+  'ns_pic' => 'normal-großes Bild',
+  'err_del' => 'kann nicht gelöscht werden',
+  'thumb_pic' => 'Thumbnail',
+  'comment' => 'Kommentar',
+  'im_in_alb' => 'Bild in Album',
+  'alb_del_success' => 'Album &laquo;%s&raquo; gelöscht', //cpg1.4
+  'alb_mgr' => 'Alben-Manager',
+  'err_invalid_data' => 'Ungültige Daten empfangen in \'%s\'',
+  'create_alb' => 'Erzeuge Album \'%s\'',
+  'update_alb' => 'Aktualisiere Album \'%s\' mit Titel \'%s\' und Index \'%s\'',
+  'del_pic' => 'Datei löschen',
+  'del_alb' => 'Album löschen',
+  'del_user' => 'Benutzer löschen',
+  'err_unknown_user' => 'Der gewählte Benutzer ist nicht vorhanden!',
+  'err_empty_groups' => 'Gruppen-Tabelle ist leer oder existiert nicht!', //cpg1.4
+  'comment_deleted' => 'Kommentar wurde gelöscht',
+  'npic' => 'Bild', //cpg1.4
+  'pic_mgr' => 'Bilder-Manager', //cpg1.4
+  'update_pic' => 'Aktualisiere Bild \'%s\' mit Dateiname \'%s\' und Index \'%s\'', //cpg1.4
+  'username' => 'Benutzername', //cpg1.4
+  'anonymized_comments' => '%s Kommentar(e) anonymisiert', //cpg1.4
+  'anonymized_uploads' => '%s öffentliche Upload(s) anonymisiert', //cpg1.4
+  'deleted_comments' => '%s Kommentar(e) gelöscht', //cpg1.4
+  'deleted_uploads' => '%s öffentliche Upload(s) gelöscht', //cpg1.4
+  'user_deleted' => 'Benutzer %s gelöscht', //cpg1.4
+  'activate_user' => 'Benutzer aktivieren', //cpg1.4
+  'user_already_active' => 'Benutzerkonto war bereits aktiv', //cpg1.4
+  'activated' => 'Aktiviert', //cpg1.4
+  'deactivate_user' => 'Deaktiviere Benutzer', //cpg1.4
+  'user_already_inactive' => 'Benutzerkonto war bereits inaktiv', //cpg1.4
+  'deactivated' => 'Deaktiviert', //cpg1.4
+  'reset_password' => 'Passwort zurücksetzen', //cpg1.4
+  'password_reset' => 'Passwort zurückgesetzt auf %s', //cpg1.4
+  'change_group' => 'Primäre Gruppe ändern', //cpg1.4
+  'change_group_to_group' => 'Ändere von %s zu %s', //cpg1.4
+  'add_group' => 'Sekundäre Gruppe hinzufügen', //cpg1.4
+  'add_group_to_group' => 'Füge Benutzer %s zu Gruppe %s hinzu. Er ist nun Mitglied von %s als primäre Gruppe und von %s als sekundäre Mitgliedergruppe(n).', //cpg1.4
+  'status' => 'Status', //cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File displayecard.php
+// ------------------------------------------------------------------------- //
+
+if (defined('DISPLAYECARD_PHP')) {
+
+$lang_displayecard_php = array(
+  'invalid_data' => 'Die Daten für die gewünschte eCard wurden von Ihrem eMail-Client korrumpiert. Überprüfen Sie den Link auf Vollständigkeit.', //cpg1.4
+);
+}
+
+// ------------------------------------------------------------------------- //
+// File displayimage.php
+// ------------------------------------------------------------------------- //
+
+if (defined('DISPLAYIMAGE_PHP')){
+
+$lang_display_image_php = array(
+  'confirm_del' => 'Diese Datei wirklich LÖSCHEN? \\nKommentare werden ebenfalls gelöscht.',
+  'del_pic' => 'Diese Datei löschen',
+  'size' => '%s x %s Pixel',
+  'views' => '%s mal',
+  'slideshow' => 'Diashow',
+  'stop_slideshow' => 'Diashow anhalten',
+  'view_fs' => 'Klicken für Bild in voller Größe',
+  'edit_pic' => 'Datei-Information bearbeiten', //cpg1.4
+  'crop_pic' => 'Zuschneiden und drehen',
+  'set_player' => 'Player ändern',
+);
+
+$lang_picinfo = array(
+  'title' =>'Datei-Information',
+  'Filename' => 'Dateiname',
+  'Album name' => 'Name des Albums',
+  'Rating' => 'Bewertung (%s Stimmen)',
+  'Keywords' => 'Stichworte',
+  'File Size' => 'Dateigröße',
+  'Date Added' => 'Hinzugefügt am', //cpg1.4
+  'Dimensions' => 'Abmessungen',
+  'Displayed' => 'Angezeigt',
+  'URL' => 'URL', //cpg1.4
+  'Make' => 'Hersteller', //cpg1.4
+  'Model' => 'Modell', //cpg1.4
+  'DateTime' => 'Datum &amp; Uhrzeit', //cpg1.4
+  'DateTimeOriginal' => 'Aufnahmedatum', //cpg1.4
+  'ISOSpeedRatings'=>'ISO', //cpg1.4
+  'MaxApertureValue' => 'Max. Blendenwert', //cpg1.4
+  'FocalLength' => 'Brennweite', //cpg1.4
+  'Comment' => 'Kommentar',
+  'addFav'=>'zu Favoriten hinzufügen',
+  'addFavPhrase'=>'Favoriten',
+  'remFav'=>'aus Favoriten entfernen',
+  'iptcTitle'=>'IPTC Titel',
+  'iptcCopyright'=>'IPTC Copyright',
+  'iptcKeywords'=>'IPTC Stichworte',
+  'iptcCategory'=>'IPTC Kategorie',
+  'iptcSubCategories'=>'IPTC Unter-Kategorie',
+  'ColorSpace' => 'Farbraum', //cpg1.4
+  'ExposureProgram' => 'Belichtungsprogramm', //cpg1.4
+  'Flash' => 'Blitz', //cpg1.4
+  'MeteringMode' => 'Belichtungsmessungs-Modus', //cpg1.4
+  'ExposureTime' => 'Belichtungszeit', //cpg1.4
+  'ExposureBiasValue' => 'Belichtungs-Einstellung', //cpg1.4
+  'ImageDescription' => ' Bildbeschreibung', //cpg1.4
+  'Orientation' => 'Ausrichtung', //cpg1.4
+  'xResolution' => 'x-Auflösung', //cpg1.4
+  'yResolution' => 'y-Auflösung', //cpg1.4
+  'ResolutionUnit' => 'Auflösungs-Einheit', //cpg1.4
+  'Software' => 'Software', //cpg1.4
+  'YCbCrPositioning' => 'YCbCr-Positionierung', //cpg1.4
+  'ExifOffset' => 'Exif Versatz', //cpg1.4
+  'IFD1Offset' => 'IFD1 Versatz', //cpg1.4
+  'FNumber' => 'Blende', //cpg1.4
+  'ExifVersion' => 'Exif Version', //cpg1.4
+  'DateTimeOriginal' => 'Datum & Uhrzeit Original', //cpg1.4
+  'DateTimedigitized' => 'Datum & Uhrzeit Digitaliserung', //cpg1.4
+  'ComponentsConfiguration' => 'Komponenten-Konfiguration', //cpg1.4
+  'CompressedBitsPerPixel' => 'Komprimierte Bits pro Pixel', //cpg1.4
+  'LightSource' => 'Lichtquelle', //cpg1.4
+  'ISOSetting' => 'ISO Einstellung', //cpg1.4
+  'ColorMode' => 'Farbmodus', //cpg1.4
+  'Quality' => 'Qualität', //cpg1.4
+  'ImageSharpening' => 'Bildschärfung', //cpg1.4
+  'FocusMode' => 'Fokus-Modus', //cpg1.4
+  'FlashSetting' => 'Blitz-Einstellung', //cpg1.4
+  'ISOSelection' => 'ISO Auswahl', //cpg1.4
+  'ImageAdjustment' => 'Bildabgleich', //cpg1.4
+  'Adapter' => 'Adapter', //cpg1.4
+  'ManualFocusDistance' => 'Manuelle Fokus-Entfernung', //cpg1.4
+  'DigitalZoom' => 'Digitaler Zoom', //cpg1.4
+  'AFFocusPosition' => 'Autofokus-Position', //cpg1.4
+  'Saturation' => 'Sättigung', //cpg1.4
+  'NoiseReduction' => 'Rauschunterdrückung', //cpg1.4
+  'FlashPixVersion' => 'Flash Pix Version', //cpg1.4
+  'ExifImageWidth' => 'Exif Bildbreite', //cpg1.4
+  'ExifImageHeight' => 'Exif Bildhöhe', //cpg1.4
+  'ExifInteroperabilityOffset' => 'Exif Zusammenarbeitsfähigkeit Offset', //cpg1.4
+  'FileSource' => 'Dateiquelle', //cpg1.4
+  'SceneType' => 'Szenen-Typ', //cpg1.4
+  'CustomerRender' => 'Customer Render', //cpg1.4
+  'ExposureMode' => 'Belichtungsmodus', //cpg1.4
+  'WhiteBalance' => 'Weißabgleich', //cpg1.4
+  'DigitalZoomRatio' => 'Verhältnis Digitalzoom', //cpg1.4
+  'SceneCaptureMode' => 'Scene Capture Modus', //cpg1.4
+  'GainControl' => 'Verstärkerregelung', //cpg1.4
+  'Contrast' => 'Kontrast', //cpg1.4
+  'Saturation' => 'Sättigung', //cpg1.4
+  'Sharpness' => 'Schärfe', //cpg1.4
+  'ManageExifDisplay' => 'Exif-Anzeige verwalten', //cpg1.4
+  'submit' => 'los', //cpg1.4
+  'success' => 'Informationen erfolgreich aktualisiert.', //cpg1.4
+  'details' => 'Details', //cpg1.4
+);
+
+$lang_display_comments = array(
+  'OK' => 'OK',
+  'edit_title' => 'Diesen Kommentar bearbeiten',
+  'confirm_delete' => 'Wollen Sie diesen Kommentar wirklich löschen?', //js-alert
+  'add_your_comment' => 'Füge Sie Ihren Kommentar hinzu',
+  'name'=>'Name',
+  'comment'=>'Kommentar',
+  'your_name' => 'Ihr Name',
+  'report_comment_title' => 'Diesen Kommentar beim Administrator melden', //cpg1.4
+);
+
+$lang_fullsize_popup = array(
+  'click_to_close' => 'Bild anklicken, um das Fenster zu schließen!',
+);
+
+}
+
+// ------------------------------------------------------------------------- //
+// File ecard.php
+// ------------------------------------------------------------------------- //
+
+if (defined('ECARDS_PHP') || defined('DISPLAYECARD_PHP')) $lang_ecard_php =array(
+  'title' => 'eCard senden',
+  'invalid_email' => '<b>Achtung</b> : ungültige eMail-Adresse !',
+  'ecard_title' => 'Eine eCard von %s für Sie',
+  'error_not_image' => 'Nur Bilder können als eCard verschickt werden.', //cpg1.3.0
+  'view_ecard' => 'Falls diese eCard nicht korrekt angezeigt wird, klicken Sie bitte auf den folgenden Link: ',
+  'view_ecard_plaintext' => 'Markieren Sie die folgende URL und fügen Sie sie in die Adresszeile Ihres Browsers ein, um diese eCard anzuzeigen:', //cpg1.4
+  'view_more_pics' => 'Klicken Sie auf diesen Link, um mehr Bilder ansehen zu können!', //cpg1.4
+  'send_success' => 'Ihre eCard wurde gesendet',
+  'send_failed' => 'Leider kann der Server Ihre eCard nicht versenden...',
+  'from' => 'Von',
+  'your_name' => 'Ihr Name',
+  'your_email' => 'Ihre eMail-Adresse',
+  'to' => 'An',
+  'rcpt_name' => 'Empfänger Name',
+  'rcpt_email' => 'Empfänger eMail-Adresse',
+  'greetings' => 'Überschrift', //cpg1.4
+  'message' => 'Nachricht', //cpg1.4
+  'ecards_footer' => 'Gesendet durch %s von der IP-Adresse %s um %s (Zeitzone der Galerie)', //cpg1.4
+  'preview' => 'Vorschau der eCard', //cpg1.4
+  'preview_button' => 'Vorschau', //cpg1.4
+  'submit_button' => 'eCard senden', //cpg1.4
+  'preview_view_ecard' => 'Dies wird der Alternativ-Link zur eCard sein, sobald sie tatsächlich erstellt wurde - funktioniert nicht für die Vorschau.', //cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File report_file.php //cpg1.4
+// ------------------------------------------------------------------------- //
+
+if (defined('REPORT_FILE_PHP') || defined('DISPLAYREPORT_PHP')) $lang_report_php =array(
+  'title' => 'Beim Administrator melden', //cpg1.4
+  'invalid_email' => '<b>Achtung</b> : ungültige eMail-Adresse!', //cpg1.4
+  'report_subject' => 'Eine Meldung von %s über die Galerie %s', //cpg1.4
+  'view_report' => 'Alternativ-Link, falls diese Meldung nicht korrekt angezeigt wird', //cpg1.4
+  'view_report_plaintext' => 'Kopieren Sie die folgende URL in die Adresszeile Ihres Browsers, um die Meldung anzuzeigen:', //cpg1.4
+  'view_more_pics' => 'Galerie', //cpg1.4
+  'send_success' => 'Ihre Meldung wurde gesendet', //cpg1.4
+  'send_failed' => 'Der Server kann Ihre Meldung leider nicht versenden...', //cpg1.4
+  'from' => 'Von', //cpg1.4
+  'your_name' => 'Ihr Name', //cpg1.4
+  'your_email' => 'Ihre eMail-Adresse', //cpg1.4
+  'to' => 'An', //cpg1.4
+  'administrator' => 'Administrator/Moderator', //cpg1.4
+  'subject' => 'Betreff', //cpg1.4
+  'comment_field_name' => 'Meldung bezüglich Kommentar von "%s"', //cpg1.4
+  'reason' => 'Grund', //cpg1.4
+  'message' => 'Nachricht', //cpg1.4
+  'report_footer' => 'Gesendet durch %s von IP-Adresse %s um %s (Zeitzone der Galerie)', //cpg1.4
+  'obscene' => 'unanständig ', //cpg1.4
+  'offensive' => 'beleidigend', //cpg1.4
+  'misplaced' => 'vom Thema abschweifend/unangebracht', //cpg1.4
+  'missing' => 'nicht vorhanden', //cpg1.4
+  'issue' => 'Fehler/kann nicht angezeigt werden', //cpg1.4
+  'other' => 'anderer Grund', //cpg1.4
+  'refers_to' => 'Datei-Meldung bezieht sich auf', //cpg1.4
+  'reasons_list_heading' => 'Grund/Gründe für Meldung:', //cpg1.4
+  'no_reason_given' => 'es wurde kein Grund angegeben', //cpg1.4
+  'go_comment' => 'Gehe zu Kommentar', //cpg1.4
+  'view_comment' => 'Vollständige Meldung mit Kommentar anzeigen', //cpg1.4
+  'type_file' => 'Datei', //cpg1.4
+  'type_comment' => 'Kommentar', //cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File editpics.php
+// ------------------------------------------------------------------------- //
+
+if (defined('EDITPICS_PHP')) $lang_editpics_php = array(
+  'pic_info' => 'Bild-Info',
+  'album' => 'Album',
+  'title' => 'Titel',
+  'filename' => 'Dateiname', //cpg1.4
+  'desc' => 'Beschreibung',
+  'keywords' => 'Stichworte',
+  'new_keyword' => 'Neue Stichworte', //cpg1.4
+  'new_keywords' => 'Neue Stichworte gefunden', //cpg1.4
+  'existing_keyword' => 'Vorhandene Stichworte', //cpg1.4
+  'pic_info_str' => '%sx%s - %s kB - %s x angesehen - %s x bewertet',
+  'approve' => 'Datei genehmigen',
+  'postpone_app' => 'Genehmigung verschieben',
+  'del_pic' => 'Datei löschen',
+  'del_all' => 'ALLE Dateien löschen', //cpg1.4
+  'read_exif' => 'EXIF-Daten erneut einlesen',
+  'reset_view_count' => 'Zähler \'x mal angesehen\' auf Null setzen',
+  'reset_all_view_count' => 'ALLE Zähler \'x mal angesehen\' auf Null setzen', //cpg1.4
+  'reset_votes' => 'Anzahl Stimmen auf Null setzen',
+  'reset_all_votes' => 'ALLE Stimmen auf Null setzen', //cpg1.4
+  'del_comm' => 'Kommentare löschen',
+  'del_all_comm' => 'ALLE Kommentare löschen', //cpg1.4
+  'upl_approval' => 'Genehmigung zum Hochladen', //cpg1.4
+  'edit_pics' => 'Dateien bearbeiten',
+  'see_next' => 'nächste Dateien ansehen',
+  'see_prev' => 'vorherige Dateien ansehen',
+  'n_pic' => '%s Dateien',
+  'n_of_pic_to_disp' => 'Dateien pro Seite',
+  'apply' => 'Änderungen ausführen',
+  'crop_title' => 'Coppermine Bild-Editor',
+  'preview' => 'Vorschau',
+  'save' => 'Bild speichern',
+  'save_thumb' =>'Speichern als Thumbnail',
+  'gallery_icon' => 'Dieses Bild zu meinem Benutzer-Icon machen', //cpg1.4
+  'sel_on_img' =>'Die Auswahl muss vollständig innerhalb des Bildes liegen!', //js-alert
+  'album_properties' =>'Alben-Eigenschaften', //cpg1.4
+  'parent_category' =>'Eltern-Kategorie', //cpg1.4
+  'thumbnail_view' =>'Thumbnail Ansicht', //cpg1.4
+  'select_unselect' =>'alle selektieren/deselektieren', //cpg1.4
+  'file_exists' => "Zieldatei '%s' existiert bereits.", //cpg1.4
+  'rename_failed' => "Konnte '%s' nicht in '%s' umbenennen.", //cpg1.4
+  'src_file_missing' => "Quelldatei '%s' nicht vorhanden.", // cpg 1.4
+  'mime_conv' => "Kann Datei '%s' nicht zu '%s' umwandeln",//cpg1.4
+  'forb_ext' => 'Keine erlaubte Dateiendung.',//cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File faq.php
+// ------------------------------------------------------------------------- //
+
+if (defined('FAQ_PHP')) $lang_faq_php = array(
+  'faq' => 'Häufig gestellte Fragen (Frequently Asked Questions)',
+  'toc' => 'Inhalt',
+  'question' => 'Frage: ',
+  'answer' => 'Antwort: ',
+);
+
+if (defined('FAQ_PHP')) $lang_faq_data = array(
+  'Allgemeines',
+  array('Warum muss ich mich registrieren?', 'Der Administrator kann verlangen, dass Sie sich registrieren (oder auch nicht). Durch die Registrierung erhalten Sie möglicherweise einige zusätzliche Features, wie z.B. Dateien hochladen, eine Favoriten-Liste, Bewertung von Bildern, Abgabe von Kommentaren etc. ', 'allow_user_registration', '0'),
+  array('Wie kann ich mich registrieren?', 'Klicken Sie auf &quot;Registrieren&quot; und füllen Sie die notwendigen Felder aus (und die optionalen, wenn Sie möchten).<br />Wenn der Administrator eMail-Aktivierung eingeschaltet hat, bekommen Sie eine eMail an die Adresse, die Sie bei der Registrierung angegeben haben, in der Anweisungen enthalten sind, wie Sie Ihr Benutzerkonto aktivieren können. In diesem Fall muss Ihr Konto aktiviert werden, bevor Sie sich anmelden können.', 'allow_user_registration', '1'),
+  array('Wie kann ich mich anmelden?', 'Klicken Sie auf &quot;Anmelden&quot;, geben Sie Ihren Benutzernamen und Ihr Passwort ein, und kreuzen Sie die Option &quot;Immer angemeldet bleiben&quot; an, damit Sie sich nicht bei Ihrem nächsten Besuch auf der Seite erneut anmelden müssen.<br /><b>WICHTIG: Um sich anzumelden, müssen Cookies in Ihrem Browser zulassen sein, und das Cookie darf nicht gelöscht werden, wenn Sie die Option &quot;Immer angemeldet bleiben&quot; nutzen wollen.</b>', 'offline', 0),
+  array('Warum kann ich mich nicht anmelden?', 'Haben Sie sich registriert und die Anweisungen ausgeführt, die in der Aktivierungsmail an Sie gesendet wurden?. Der Link in der Aktivierungsmail schaltet Ihr Benutzerkonto frei. Bezüglich anderer Probleme beim Anmelden, wende Sie sich bitte an den Admin dieser Seite.', 'offline', 0),
+  array('Ich habe mein Passwort vergessen. Was nun?', 'Wenn der Link &quot;Passwort vergessen&quot; auf der Anmeldeseite anzeigt wird, dann benutzen Sie ihn. Ansonsten nehmen Sie Kontakt mit dem Admin dieser Seite auf und bitten Sie ihn um ein neues Passwort.', 'offline', 0),
+  //array('Meine eMail-Adresse hat sich geändert. Was tun?', 'Melde Dich an und ändere Ihre eMail-Adresse im Menüpunkt &quot; mein Profil&quot;', 'offline', 0),
+  array('Wie speichere ich eine Datei in &quot;meine Favoriten&quot;?', 'Klicken Sie auf &quot;Datei-Info&quot; (<img src="images/info.gif" width="16" height="16" border="0" alt="Bild-Info" />); gehen Sie ganz nach unten auf der Seite und klicken Sie auf &quot;Zu Favoriten hinzufügen&quot;.<br />Möglicherweise ist die Anzeige des Datei-Info Bereichs auch standardmäßig eingeschaltet.<br />Wichtig: Cookies müssen aktiviert sein und Sie dürfen den Cookie nicht löschen (im Cookie werden die Favoriten gespeichert).', 'offline', 0),
+  array('Wie kann ich eine Datei bewerten?', 'Klicken Sie auf das Thumbnail (kleine Vorschaugrafik) einer Datei und wählen Sie eine Bewertung (angezeigt unterhalb des Bildes).', 'offline', 0),
+  array('Wie kann ich einen Kommentar abgeben?', 'Klicken Sie auf das Thumbnail (kleine Vorschaugrafik) einer Datei, gehen Sie nach unten auf der Seite und geben Sie Ihren Kommentar ein. Wenn keine Eingabe eines Kommentars möglich ist, müssen Sie sich eventuell erst registrieren und anmelden, damit diese Option zur Verfügung steht.', 'offline', 0),
+  array('Wie kann ich eine Datei hochladen?', 'Klicken Sie auf &quot;Datei hochladen&quot; und wählen Sie das Album aus, in das Sie die Datei hochladen wollen, klicken Sie auf &quot;Durchsuchen&quot; und wählen Sie die Datei aus, die Sie hochladen wollen und klicken dann Sie auf &quot;öffnen&quot; (fügen Sie einen Titel, eine Beschriftung und ein paar Stichworte ein, wenn Sie möchten). Um den Vorgang abzuschliessen, klicken Sie auf &quot;Datei hochladen&quot;', 'allow_private_albums', 0),
+  array('Wohin kann ich Dateien hochladen?', 'Sie können Dateien in Alben hochladen, die Sie innerhalb der Kategorie &quot;meine Galerie&quot; erstellen können. Der Administrator der Seite kann Ihnen auch das Recht einräumen, in ein oder mehrere Alben der allgemeinen Galerie hochzuladen. Falls das der Fall ist, werden Ihnen diese Alben im Auswahlmenü auf der Upload-Seite angezeigt', 'allow_private_albums', 0),
+  array('Welche Art und Größe von Dateien kann ich hochladen?', 'Die Art (z.B. jpg oder png) und Größe bestimmt der Administrator dieser Seite.', 'allow_private_albums', 0),
+  array('Was ist &quot;meine Galerie&quot;?', '&quot;Meine Galerie&quot; ist Ihre persönliche Galerie, innerhalb der Sie Dateien hochladen und bearbeiten können.', 'allow_private_albums', 0),
+  array('Wie kann ich Alben erzeugen, umbenennen oder löschen in &quot;meine Galerie&quot;?', 'Sie sehen die Optionen erst nach der Anmeldung im Admin-Modus<br />Klicken Sie auf &quot;Erzeuge/ändere meine Alben&quot; und klicken Sie auf &quot;Neu&quot;. Ändern Sie den Text &quot;Neues Album&quot; in den gewünschten Namen ab.<br />Sie können auch bestehende Alben umbenennen, indem Sie sie zuerst anklicken und dann im Eingabefeld unten einen neuen Namen dafür eingeben.<br />Klicken Sie auf &quot;Änderungen übernehmen&quot;, um Ihre Änderungen durchzuführen.', 'allow_private_albums', 0),
+  array('Wie kann ich meine Alben abändern und die Zugriffsrechte darauf ändern?', 'Sie sollten nach der Anmeldung bereits im Admin-Modus sein.<br />Klicken Sie auf &quot; Meine Alben bearbeiten&quot;. Wählen Sie in der Zeile &quot;Album aktualisieren&quot; das Album aus, das Sie aktualisieren möchten.<br />Sie können dann den Namen, die Beschreibung, das Thumbnail (Vorschaugrafik) ändern und die Rechte ändern, wer das Album sehen und Kommentare dazu abgeben darf.<br />Um Ihre Änderungen zu bestätigen, klicken Sie am Schluß auf &quot;Album aktualisieren&quot;.', 'allow_private_albums', 0),
+  array('Was sind Cookies?', 'Cookies sind kleine Textdateien, die von einem Webserver versendet werden und auf Ihrem Rechner gespeichert werden. Beim erneuten Aufsuchen der Seite können die Cookies wieder vom Server gelesen werden.<br />In der Regel werden Sie dazu genutzt, Sie als Benutzer auf der Seite wiederzuerkennen. Cookies selbst können keine Viren oder sonstige bösartigen Schad-Programme enthalten und sind daher in erster Linie ungefährlich. Einige Seitenbetreiber setzen Cookies allerdings ein, um Verhaltensprofile von Surfern im Internet zu erstellen und nutzen die Informationen in der Regel, um zielgerichtet Werbung für den Surfer zur Verfügung zu stellen.', 'offline', 0),
+  array('Woher kann ich dieses Porgramm für meine Homepage bekommen?', 'Diese Seite läuft mit Coppermine. Coppermine ist eine kostenlose Multimedia-Galerie, die unter der Lizenz GNU GPL erscheint. Die Software ist voller Features und für einige Platformen erhältlich. Besuchen Sie die <a href="http://coppermine-gallery.net/">Coppermine Home Page</a> für zusätzliche Informationen oder um die Software herunterzuladen.', 'offline', 0),
+
+  'Navigation auf der Seite',
+  array('Was ist die &quot;Alben-Übersicht&quot;?', 'Zeigt die gesamte Kategorie an, in der Sie sich gerade befinden, mit einem Link zu jedem Album. Wenn Sie sich gerade nicht innerhalb einer Kategorie befinden zeigt Ihnen &quot;Alben-Übersicht&quot; die gesamte Galerie mit Links zu den einzelnen Kategorien an. Möglicherweise existieren Thumbnails als Links zu den einzelnen Kategorien.', 'offline', 0),
+  array('Was ist &quot;meine Galerie&quot;?', 'Mit diesem Menüpunkt können Sie Ihre eigene Benutzer-Galerie erstellen und bearbeiten.', 'allow_private_albums', 1), //cpg1.4
+  array('Was ist der Unterschied zwischen &quot;Admin-Modus&quot; und &quot;Benutzer-Modus&quot;?', 'Im Admin-Modus werden die Navigations-Elemente zum Erstellen und Ändern Ihrer Benutzer-Galerie angezeigt; der Benutzer-Modus zeigt Ihnen, wie Ihre Benutzer-Galerie für andere Benutzer aussieht (ohne die entsprechenden Menüpunkte).', 'allow_private_albums', 0),
+  array('Was ist &quot;Dateien hochladen&quot;?', 'Dieses Feature ermöglicht es Benutzern, eigene Dateien hochzuladen und in Alben zu positionieren (Dateigröße und -typ wurden vom Admin festgelegt).', 'allow_private_albums', 0),
+  array('Was ist &quot;neueste Uploads&quot;?', 'Dieser Bereich zeigt die neuesten Dateien, die in eines der Alben der Galerie hochgeladen wurden.', 'offline', 0),
+  array('Was ist &quot;neueste Kommentare&quot;?', 'Dieser Bereich zeigt die zuletzt abgegebenen Kommentare unterhalb der Thumbnails (Vorschaugrafik) der Dateien, auf die sich die Kommentare beziehen.', 'offline', 0),
+  array('Was ist &quot;am meisten angesehen&quot;?', 'Dieser Bereich zeigt die beliebtesten Dateien (am meisten angesehen) der gesamten Galerie oder des Bereichs an, in dem Sie sich befinden.', 'offline', 0),
+  array('Was ist &quot;am besten bewertet&quot;?', 'Durchschnittliche Bewertung der Datei (Bsp.: 5 Benutzer gaben einem Bild ein Bewertung von <img src="images/rating3.gif" width="65" height="14" border="0" alt="" />: das Bild hat eine durchschnittliche Bewertung von <img src="images/rating3.gif" width="65" height="14" border="0" alt="" /> ;Wenn 5 Benutzer ein Bild mit Noten von 1 bis 5 (1,2,3,4,5) bewerten, würde der Schnitt ebenfalls so aussehen: <img src="images/rating3.gif" width="65" height="14" border="0" alt="" /> .)<br />Die Bewertungs-Skala reicht von <img src="images/rating5.gif" width="65" height="14" border="0" alt="super" /> (super) bis <img src="images/rating0.gif" width="65" height="14" border="0" alt="sehr schlecht" /> (sehr schlecht).', 'offline', 0),
+  array('Was ist &quot;Meine Favoriten&quot;?', 'Mit diesem Feature können Sie Bilder, die Sie später noch einmal ansehen wollen, in einer Favoriten-Liste speichern. Dazu müssen Sie nicht einmal angemeldet sein, da die Liste in einem Cookie auf Ihrem Computer gespeichert wird. Beachte Sie aber: die Favoriten stehen Ihnen nur an diesem Computer zur Verfügung; wenn die Cookies gelöscht werden, sind die Favoriten ebenfalls verschwunden.', 'offline', 0),
+);
+
+
+// ------------------------------------------------------------------------- //
+// File forgot_passwd.php
+// ------------------------------------------------------------------------- //
+
+if (defined('FORGOT_PASSWD_PHP')) $lang_forgot_passwd_php = array(
+  'forgot_passwd' => 'Passwort-Erinnerung',
+  'err_already_logged_in' => 'Sie sind schon angemeldet!',
+  'enter_email' => 'Geben Sie Ihre eMail-Adresse ein', //cpg1.4
+  'submit' => 'los!',
+  'illegal_session' => 'Die Session für die Passwort-Erinnerung ist ungültig oder abgelaufen.', //cpg1.4
+  'failed_sending_email' => 'Die eMail mit der Passwort-Erinnerung kann nicht gesendet werden!',
+  'email_sent' => 'Eine eMail mit Ihrem Benutzernamen und einem neuen Passwort wurde an %s gesendet.', //cpg1.4
+  'verify_email_sent' => 'EineeMail wurde an %s gesendet. Bitte überprüfen Sie Ihre Mailbox, um den Vorgang abzuschliessen.', //cpg1.4
+  'err_unk_user' => 'Der gewählte Benutzer existiert nicht!',
+  'account_verify_subject' => '%s - Anforderung neues Passwort', //cpg1.4
+  'account_verify_body' => 'Sie haben ein neues Passwort beantragt - um dieses neue Passwort tatsächlich zu erhalten, klicken Sie auf nachstehenden Link:
+
+%s', //cpg1.4
+  'passwd_reset_subject' => '%s - Ihr neues Passwort', //cpg1.4
+  'passwd_reset_body' => 'Hier ist das neue Passwort, das Sie beantragt haben:
+Benutzername: %s
+Passwort: %s
+Klicken Sie %s, um sich anzumelden.', //cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File groupmgr.php
+// ------------------------------------------------------------------------- //
+
+if (defined('GROUPMGR_PHP')) $lang_groupmgr_php = array(
+  'group_name' => 'Gruppen-Name', //cpg1.4
+  'permissions' => 'Berechtigungen', //cpg1.4
+  'public_albums' => 'Upload in öffentliche Alben', //cpg1.4
+  'personal_gallery' => 'Persönliche Galerie', //cpg1.4
+  'upload_method' => 'Upload-Methode', //cpg1.4
+  'disk_quota' => 'Speicherplatz', //cpg1.4
+  'rating' => 'Abstimmen', //cpg1.4
+  'ecards' => 'eCards', //cpg1.4
+  'comments' => 'Kommentare', //cpg1.4
+  'allowed' => 'Erlaubt', //cpg1.4
+  'approval' => 'Bestätigung', //cpg1.4
+  'boxes_number' => 'Anzahl Felder', //cpg1.4
+  'variable' => 'variabel', //cpg1.4
+  'fixed' => 'fest', //cpg1.4
+  'apply' => 'Änderungen übernehmen',
+  'create_new_group' => 'Neue Gruppe erstellen',
+  'del_groups' => 'ausgewählte Gruppe(n) löschen',
+  'confirm_del' => 'Achtung: wenn Sie eine Gruppe löschen, werden die dazu gehörenden Benutzer in die Gruppe \'Registrierte Benutzer\' verschoben!\n\nWollen Sie das ?', //js-alert
+  'title' => 'Benutzer-Gruppen verwalten',
+  'num_file_upload' => 'Datei-Upload Felder', //cpg1.4
+  'num_URI_upload' => 'URI-Upload Felder', //cpg1.4
+  'reset_to_default' => 'Auf Standard-Gruppennamen (%s) zurücksetzen - empfohlen!', //cpg1.4
+  'error_group_empty' => 'Gruppen-Tabelle war leer!<br /><br />Standard-Gruppen wurden erstellt, bitte diese Seite erneut laden', //cpg1.4
+  'explain_greyed_out_title' => 'Warum ist diese Zeile ausgegraut?', //cpg1.4
+  'explain_guests_greyed_out_text' => 'Die Eigenschaften dieser Gruppe können nicht verändert werden, weil die Option &quot;Nicht-angemeldeten Besuchern (Gäste) Zugriff erlauben&quot; in der Coppermine-Knofiguration auf &quot;Nein&quot; gesetzt wurde. Alle Gäste (Mitglieder der Gruppe %s) können nichts tun außer sich anzumelden; daher sind keine der Gruppen-Verrechtungen für sie zutreffend.', //cpg1.4
+  'explain_banned_greyed_out_text' => 'Die Eigenschaften der Gruppe %s können nicht verändert werden, da deren Mitglieder sowieso nichts tun dürfen.', //cpg1.4
+  'group_assigned_album' => 'zugewiesene Alben', //cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File index.php
+// ------------------------------------------------------------------------- //
+
+if (defined('INDEX_PHP')){
+
+$lang_index_php = array(
+  'welcome' => 'Startseite',
+);
+
+$lang_album_admin_menu = array(
+  'confirm_delete' => 'Wollen Sie dieses Album wirklich LÖSCHEN? \\nAlle darin befindlichen Dateien und Kommentare werden ebenfalls gelöscht.',
+  'delete' => 'löschen',
+  'modify' => 'Eigenschaften',
+  'edit_pics' => 'Dateien bearbeiten',
+);
+
+$lang_list_categories = array(
+  'home' => 'Galerie',
+  'stat1' => '<b>[pictures]</b> Dateien in <b>[albums]</b> Alben und <b>[cat]</b> Kategorien mit <b>[comments]</b> Kommentaren, <b>[views]</b> mal angesehen',
+  'stat2' => '<b>[pictures]</b> Dateien in <b>[albums]</b> Alben, <b>[views]</b> mal angesehen',
+  'xx_s_gallery' => '%s\'s Galerie',
+  'stat3' => '<b>[pictures]</b> Dateien in <b>[albums]</b> Alben mit <b>[comments]</b> Kommentaren, <b>[views]</b> mal angesehen'
+);
+
+$lang_list_users = array(
+  'user_list' => 'Benutzer-Liste',
+  'no_user_gal' => 'Keine Benutzer-Galerien vorhanden.',
+  'n_albums' => '%s Album/en',
+  'n_pics' => '%s Datei(en)',
+);
+
+$lang_list_albums = array(
+  'n_pictures' => '%s Dateien',
+  'last_added' => ', letzte Aktualisierung am %s',
+  'n_link_pictures' => '%s verknüpfte Dateien', //cpg1.4
+  'total_pictures' => '%s Dateien insgesamt', //cpg1.4
+);
+
+}
+
+// ------------------------------------------------------------------------- //
+// File keywordmgr.php //cpg1.4
+// ------------------------------------------------------------------------- //
+
+if (defined('KEYWORDMGR_PHP')) $lang_keywordmgr_php = array(
+  'title' => 'Stichworte verwalten', //cpg1.4
+  'edit' => 'bearbeiten', //cpg1.4
+  'delete' => 'löschen', //cpg1.4
+  'search' => 'suchen', //cpg1.4
+  'keyword_test_search' => 'nach %s in einem neuen Fenster suchen', //cpg1.4
+  'keyword_del' => 'das Stichwort %s löschen', //cpg1.4
+  'confirm_delete' => 'Wollen Sie wirklich das Stichwort %s aus der gesamten Galerie löschen?', //cpg1.4  // js-alert
+  'change_keyword' => 'Stichwort ändern', //cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File login.php
+// ------------------------------------------------------------------------- //
+
+if (defined('LOGIN_PHP')) $lang_login_php = array(
+  'login' => 'Anmeldung (Login)',
+  'enter_login_pswd' => 'Geben Sie Ihren Benutzernamen und Ihr Passwort ein, um sich anzumelden',
+  'username' => 'Benutzername',
+  'password' => 'Passwort',
+  'remember_me' => 'Immer angemeldet bleiben',
+  'welcome' => 'Hallo %s ...',
+  'err_login' => '*** Konnte Sie nicht anmelden. Versuche Sie es bitte nochmal ***',
+  'err_already_logged_in' => 'Sie sind schon angemeldet!',
+  'forgot_password_link' => 'Passwort vergessen',
+  'cookie_warning' => 'Achtung: Ihr Browser akzeptiert nicht die Cookies dieses Skripts', //cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File logout.php
+// ------------------------------------------------------------------------- //
+
+if (defined('LOGOUT_PHP')) $lang_logout_php = array(
+  'logout' => 'Abmelden',
+  'bye' => 'Tschüss %s ...',
+  'err_not_loged_in' => 'Sie sind nicht angemeldet!',
+);
+
+// ------------------------------------------------------------------------- //
+// File minibrowser.php  //cpg1.4
+// ------------------------------------------------------------------------- //
+
+if (defined('MINIBROWSER_PHP')) $lang_minibrowser_php = array(
+  'close' => 'schliessen', //cpg1.4
+  'submit' => 'OK', //cpg1.4
+  'up' => 'eine Ebene höher', //cpg1.4
+  'current_path' => 'derzeitiger Pfad', //cpg1.4
+  'select_directory' => 'Wählen Sie ein Verzeichnis', //cpg1.4
+  'click_to_close' => 'Bild klicken, um dieses Fenster zu schliessen',
+);
+
+// ------------------------------------------------------------------------- //
+// File modifyalb.php
+// ------------------------------------------------------------------------- //
+
+if (defined('MODIFYALB_PHP')) $lang_modifyalb_php = array(
+  'upd_alb_n' => 'Album %s aktualisieren',
+  'general_settings' => 'Allgemeine Einstellungen',
+  'alb_title' => 'Album Titel',
+  'alb_cat' => 'Album Kategorie',
+  'alb_desc' => 'Album Beschreibung',
+  'alb_keyword' => 'Album Keyword', //cpg1.4
+  'alb_thumb' => 'Album Thumbnail',
+  'alb_perm' => 'Berechtigungen für dieses Album',
+  'can_view' => 'Album kann angesehen werden von',
+  'can_upload' => 'Besucher können Dateien hochladen',
+  'can_post_comments' => 'Besucher können Kommentare abgeben',
+  'can_rate' => 'Besucher können Dateien bewerten',
+  'user_gal' => 'Benutzer-Galerie',
+  'no_cat' => '* keine Kategorie *',
+  'alb_empty' => 'Album ist leer',
+  'last_uploaded' => 'Letzte Datei, die hochgeladen wurde',
+  'public_alb' => 'Jeder (öffentliches Album)',
+  'me_only' => 'Nur ich',
+  'owner_only' => 'Nur der Besitzer des Albums (%s)',
+  'groupp_only' => 'Mitglieder der Gruppe \'%s\'',
+  'err_no_alb_to_modify' => 'Es ist kein Album zum Bearbeiten in der Datenbank.',
+  'update' => 'Album aktualisieren',
+  'reset_album' => 'Album zurücksetzen', //cpg1.4
+  'reset_views' => 'Anzeigezähler zurücksetzen auf &quot;0&quot; für %s', //cpg1.4
+  'reset_rating' => 'Abstimmungen auf alle Dateien im Album %s zurücksetzen', //cpg1.4
+  'delete_comments' => 'Alle Kommentare im Album %s löschen', //cpg1.4
+  'delete_files' => 'Unwiederbringlich alle Dateien im Album %s löschen', //cpg1.4
+  'views' => 'Treffer', //cpg1.4
+  'votes' => 'Stimmen', //cpg1.4
+  'comments' => 'Kommentare', //cpg1.4
+  'files' => 'Dateien', //cpg1.4
+  'submit_reset' => 'Änderungen durchführen', //cpg1.4
+  'reset_views_confirm' => 'ich bin mir sicher', //cpg1.4
+  'notice1' => '(*) abhängig von den %sGruppen%s Einstellungen',  //cpg1.4 //(do not translate %s!)
+  'alb_password' => 'Passwort des Albums', //cpg1.4
+  'alb_password_hint' => 'Hinweis für Albums-Passwort', //cpg1.4
+  'edit_files' =>'Dateien bearbeiten', //cpg1.4
+  'parent_category' =>'Eltern-Kategorie', //cpg1.4
+  'thumbnail_view' =>'Thumbnail-Ansicht', //cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File phpinfo.php
+// ------------------------------------------------------------------------- //
+
+if (defined('PHPINFO_PHP')) $lang_phpinfo_php = array(
+  'php_info' => 'PHP info',
+  'explanation' => 'Diese Ausgabe wird durch die PHP-Funktion <a href="http://www.php.net/phpinfo">phpinfo()</a> erzeugt, und innerhalb von Coppermine angezeigt (dabei wird möglicherweise die Ausgabe einiger Felder am rechten Rand abgeschnitten).',
+  'no_link' => 'Anderen Personen die phpinfo-Daten anzuzeigen, kann ein Sicherheitsrisiko sein - daher wird diese Seite nur angezeigt, wenn Sie als Admin angemeldet sind. Sie können daher anderen keinen Link auf diese Seite zukommen lassen, da ihnen der Zugriff verwährt werden wird!',
+);
+
+// ------------------------------------------------------------------------- //
+// File picmgr.php //cpg1.4
+// ------------------------------------------------------------------------- //
+if (defined('PICMGR_PHP')) $lang_picmgr_php = array(
+  'pic_mgr' => 'Bilder verwalten', //cpg1.4
+  'select_album' => 'Wähle Album', //cpg1.4
+  'delete' => 'Löschen', //cpg1.4
+  'confirm_delete1' => 'Dieses Bild wirklich löschen?', //cpg1.4
+  'confirm_delete2' => '\nLöschen ist dauerhaft und endgültig.', //cpg1.4
+  'apply_modifs' => 'Änderungen übernehmen', //cpg1.4
+  'confirm_modifs' => 'Änderungen bestätigen', //cpg1.4
+  'pic_need_name' => 'Bild muss einen Namen haben', //cpg1.4
+  'no_change' => 'Es wurden keine Änderungen vorgenommen', //cpg1.4
+  'no_album' => '* Kein Album *', //cpg1.4
+  'explanation_header' => 'Die benutzerdefinierte Sortierreihenfolge, die Sie auf dieser Seite wählen können wird nur angewendet, wenn', //cpg1.4
+  'explanation1' => 'der Administrator die Konfigurationsoption für "Benutzerdefinierte Sortierreihenfolde für Dateien" auf "Position absteigend" oder "Position aufsteigend" gesetzt hat (globale Einstellung für alle Benutzer, die keine andere individuelle Sortierreihenfolge gewählt haben)', //cpg1.4
+  'explanation2' => 'der Benutzer als Sortierreihenfolde "Position absteigend" oder "Position aufsteigend" auf der Thumbnail-Seite gewählt hat (Einstellung pro Benutzer)', //cpg1.4
+);
+
+
+// ------------------------------------------------------------------------- //
+// File pluginmgr.php //cpg1.4
+// ------------------------------------------------------------------------- //
+
+if (defined('PLUGINMGR_PHP')){
+
+$lang_pluginmgr_php = array(
+  'confirm_uninstall' => 'Dieses Plugin wirklich DE-INSTALLIEREN', //cpg1.4
+  'confirm_delete' => 'Dieses Plugin wirklich LÖSCHEN', //cpg1.4
+  'pmgr' => 'Plugin Manager', //cpg1.4
+  'name' => 'Name', //cpg1.4
+  'author' => 'Author', //cpg1.4
+  'desc' => 'Beschreibung', //cpg1.4
+  'vers' => 'v', //cpg1.4
+  'i_plugins' => 'Installierte Plugins', //cpg1.4
+  'n_plugins' => 'Nicht installierte Plugins', //cpg1.4
+  'none_installed' => 'nicht installiert', //cpg1.4
+  'operation' => 'Aufgabe', //cpg1.4
+  'not_plugin_package' => 'Die hochgeladene Datei ist kein Plugin-Paket.', //cpg1.4
+  'copy_error' => 'Beim Kopieren des Pakets in das Plugin-Verzeichnis ist ein Fehler aufgetreten.', //cpg1.4
+  'upload' => 'Hochladen', //cpg1.4
+  'configure_plugin' => 'Plugin konfigurieren', //cpg1.4
+  'cleanup_plugin' => 'Plugin bereinigen', //cpg1.4
+);
+}
+
+// ------------------------------------------------------------------------- //
+// File ratepic.php
+// ------------------------------------------------------------------------- //
+
+if (defined('RATEPIC_PHP')) $lang_rate_pic_php = array(
+  'already_rated' => 'Sie haben diese Datei schon bewertet',
+  'rate_ok' => 'Ihre Bewertung wurde akzeptiert',
+  'forbidden' => 'Sie können Ihre eigenen Dateien nicht bewerten.', //cpg1.3.0
+);
+
+// ------------------------------------------------------------------------- //
+// File register.php & profile.php
+// ------------------------------------------------------------------------- //
+
+if (defined('REGISTER_PHP') || defined('PROFILE_PHP')) {
+
+$lang_register_disclamer = <<<EOT
+Obwohl die Administratoren von {SITE_NAME} versuchen werden, generell alle anstössigen Inhalte so schnell wie möglich zu löschen oder zu bearbeiten, ist es unmöglich, jeden Beitrag zu überprüfen. Daher bestätigen Sie, dass alle Beiträge auf dieser Seite die Ansichten und Meinungen des Authors widerspiegeln und nicht die des Administrators oder Webmasters (außer den Beiträgen, die durch sie verfasst wurden) und sie daher dafür nicht verantwortlich gemacht werden können.<br />
+<br />
+Sie stimmen zu, keine beleidigende, obszöne, vulgäre, verleumderische, verhetzende, drohende, sexuell-orientierte oder sonstwie illegalen Beiträge zu verfassen. Sie stimmen zu, dass der/die Webmaster, Administrator(en) oder Moderator(en) von {SITE_NAME} das Recht haben, jeden Inhalt zu löschen oder zu ändern, bei dem sie es für richtig halten. Als Benutzer stimmen Sie zu, dass alle Informationen, die Sie oben eingetragen haben, in einer Datenbank gespeichert werden. Obwohl diese Daten ohne Ihre ausdrückliche Zustimmung nicht an Dritte weitergegeben werden, können der Webmaster oder Administrator nicht dafür zur Verantwortung gezogen werden, wenn durch einen Angriff (Hacking) die gespeicherten Daten kompromitiert werden.<br />
+<br />
+Diese Seite benutzt Cookies, um Daten auf Ihrem Rechner zu speichern. Diese Cookies dienen nur dazu, die Bedienung der Seite zu ermöglichen. Die eMail-Adresse wird nur dazu verwendet, die Registrierungs-Details und das Passwort zu bestätigen.<br />
+<br />
+Durch das Anklicken von 'ich stimme zu' stimmen Sie diesen Bedingungen zu.
+EOT;
+
+$lang_register_php = array(
+  'page_title' => 'Benutzer-Registrierung',
+  'term_cond' => 'Nutzungsbedingungen',
+  'i_agree' => 'ich stimme zu',
+  'submit' => 'Registrieren absenden',
+  'err_user_exists' => 'Der Benutzername, den Sie eingegeben haben, existiert schon, bitte wählen Sie einen anderen',
+  'err_password_mismatch' => 'Die Passwörter stimmen nicht überein, bitte nochmals eingeben',
+  'err_uname_short' => 'Der Benutzername muss mindestens 2 Zeichen lang sein',
+  'err_password_short' => 'Das Passwort muss mindestens 2 Zeichen lang sein',
+  'err_uname_pass_diff' => 'Benutzername und Passwort müssen unterschiedlich sein',
+  'err_invalid_email' => 'eMail-Adresse ist ungültig',
+  'err_duplicate_email' => 'Es hat sich schon ein anderer Benutzer mit der angegebenen eMail-Adresse registriert',
+  'enter_info' => 'Geben Sie Registrierungs-Informationen ein',
+  'required_info' => 'Pflichtfeld',
+  'optional_info' => 'Optional',
+  'username' => 'Benutzername',
+  'password' => 'Passwort',
+  'password_again' => 'Passwort-Bestätigung',
+  'email' => 'eMail-Adresse',
+  'location' => 'Ort',
+  'interests' => 'Hobbies',
+  'website' => 'Homepage',
+  'occupation' => 'Beruf',
+  'error' => 'FEHLER',
+  'confirm_email_subject' => '%s - Registrierungs-Bestätigung',
+  'information' => 'Information',
+  'failed_sending_email' => 'Die Registrierungs-Bestätigung kann nicht per eMail versendet werden!',
+  'thank_you' => 'Danke für Ihre Registrierung.<br /><br />Eine eMail mit Informationen, wie Sie Ihr Benutzerkonto aktivieren können, wurde an die angegebene eMail-Adresse gesendet.',
+  'acct_created' => 'Ihr Benutzerkonto wurde erstellt. Sie können sich jetzt mit Benutzername und Passwort anmelden',
+  'acct_active' => 'Ihr Benutzerkonto ist jetzt aktiviert. Sie können sich jetzt mit Benutzername und Passwort anmelden',
+  'acct_already_act' => 'Ihr Benutzerkonto ist bereits aktiviert!', //cpg1.4
+  'acct_act_failed' => 'Dieses Benutzerkonto kann nicht aktiviert werden!',
+  'err_unk_user' => 'Der gewählte Benutzer existiert nicht!',
+  'x_s_profile' => '%s\'s Benutzerprofil',
+  'group' => 'Gruppe',
+  'reg_date' => 'Registriert am',
+  'disk_usage' => 'Speicherplatz-Verbrauch',
+  'change_pass' => 'Passwort ändern',
+  'current_pass' => 'derzeitiges Passwort',
+  'new_pass' => 'neues Passwort',
+  'new_pass_again' => 'neues Passwort bestätigen',
+  'err_curr_pass' => 'Derzeitiges Passwort ist verkehrt',
+  'apply_modif' => 'Änderungen speichern',
+  'change_pass' => 'Mein Passwort ändern',
+  'update_success' => 'Ihr Benutzerprofil wurde aktualisiert',
+  'pass_chg_success' => 'Ihr Passwort wurde geändert',
+  'pass_chg_error' => 'Ihr Passwort wurde nicht geändert',
+  'notify_admin_email_subject' => '%s - Registrierungs-Benachrichtigung',
+  'last_uploads' => 'Zuletzt hochgeladenen Datei.<br />Klicken, um alle Uploads zu sehen von', //cpg1.4
+  'last_comments' => 'Neueste Kommentare.<br />Klicken, um alle Komentare zu sehen, die abgegeben wurden von', //cpg1.4
+  'notify_admin_email_body' => 'Jemand mit dem Benutzernamen "%s" hat sich in Ihrer Galerie registriert',
+  'pic_count' => 'Hochgeladene Dateien', //cpg1.4
+  'notify_admin_request_email_subject' => '%s - Registrierungsversuch', //cpg1.4
+  'thank_you_admin_activation' => 'Danke.<br /><br />Ihre Registrierung wurde an den Administrator weitergeleitet zur Aktiverung. Nach erfolgter Aktiverung werden Sie eine eMail erhalten.', //cpg1.4
+  'acct_active_admin_activation' => 'Das Benutzerkonto ist jetzt aktiv. Dem Benutzer wurde eine Benachrichtigung darüber per eMail gesendet.', //cpg1.4
+  'notify_user_email_subject' => '%s - Aktivierungs-Benachrichtigung', //cpg1.4
+);
+
+$lang_register_confirm_email = <<<EOT
+Danke für Ihre Registrierung bei {SITE_NAME}
+
+Ihr Benutzername ist : "{USER_NAME}"
+
+
+Um Ihr Benutzerkonto zu aktivieren, müssen Sie auf den untenstehenden Link klicken
+oder ihn kopieren und in der Adresszeile Ihres Browsers einfügen.
+<a href="{ACT_LINK}">{ACT_LINK}</a>
+
+Grüße,
+
+Das Team von {SITE_NAME}
+
+EOT;
+
+$lang_register_approve_email = <<<EOT
+Ein neuer Benutzer hat sich mit dem Benutzernamen "{USER_NAME}" in Ihrer Galerie registriert.
+
+Um das Benutzerkonto zu aktivieren, klicken Sie auf den untenstehenden Link oder kopieren ihn in die Adresszeile Ihres Browsers.
+
+<a href="{ACT_LINK}">{ACT_LINK}</a>
+
+EOT;
+
+$lang_register_activated_email = <<<EOT
+Ihr Benutzerkonto wurden genehmigt und aktiviert.
+
+Sie können sich jetzt auf der Seite <a href="{SITE_LINK}">{SITE_LINK}</a> mit dem Benutzernamen "{USER_NAME}" anmelden.
+
+
+Gruss,
+
+Das {SITE_NAME} Team
+
+EOT;
+}
+
+// ------------------------------------------------------------------------- //
+// File reviewcom.php
+// ------------------------------------------------------------------------- //
+
+if (defined('REVIEWCOM_PHP')) $lang_reviewcom_php = array(
+  'title' => 'Kommentare bearbeiten',
+  'no_comment' => 'keine zu bearbeitenden Kommentare vorhanden',
+  'n_comm_del' => '%s Kommentar(e) gelöscht',
+  'n_comm_disp' => 'Anzahl angezeigter Kommentare',
+  'see_prev' => 'vorherigen anzeigen',
+  'see_next' => 'nächsten anzeigen',
+  'del_comm' => 'markierte Kommentare löschen',
+  'user_name' => 'Name', //cpg1.4
+  'date' => 'Datum', //cpg1.4
+  'comment' => 'Kommentar', //cpg1.4
+  'file' => 'Datei', //cpg1.4
+  'name_a' => 'Benutzername aufsteigend', //cpg1.4
+  'name_d' => 'Benutzername absteigend', //cpg1.4
+  'date_a' => 'Datum aufsteigend', //cpg1.4
+  'date_d' => 'Datum absteigend', //cpg1.4
+  'comment_a' => 'Kommentartext aufsteigend', //cpg1.4
+  'comment_d' => 'Kommentartext absteigend', //cpg1.4
+  'file_a' => 'Datei aufsteigend', //cpg1.4
+  'file_d' => 'Datei absteigend', //cpg1.4
+);
+
+
+// ------------------------------------------------------------------------- //
+// File search.php                                                           //
+// ------------------------------------------------------------------------- //
+
+
+if (defined('SEARCH_PHP')){
+
+$lang_search_php = array(
+  'title' => 'Dateisammlung durchsuchen', //cpg1.4
+  'submit_search' => 'suchen', //cpg1.4
+  'keyword_list_title' => 'Schlagwortliste', //cpg1.4
+  'keyword_msg' => 'Obenstehende Liste ist nicht vollständig - sie enthält keine Wörter aus Titeln oder Beschreibungen. Versuchen Sie eine Volltext-Suche.',  //cpg1.4
+  'edit_keywords' => 'Schlagworte bearbeiten', //cpg1.4
+  'search in' => 'Suchen in:', //cpg1.4
+  'ip_address' => 'IP-Adresse', //cpg1.4
+  'fields' => 'Suchen in', //cpg1.4
+  'age' => 'Alter', //cpg1.4
+  'newer_than' => 'neuer als', //cpg1.4
+  'older_than' => 'älter als', //cpg1.4
+  'days' => 'Tage(e)', //cpg1.4
+  'all_words' => 'mit allen Wörtern (UND)', //cpg1.4
+  'any_words' => 'mit irgendeinem der Wörter (ODER)', //cpg1.4
+);
+
+$lang_adv_opts = array(
+  'title' => 'Titel', //cpg1.4
+  'caption' => 'Beschriftung', //cpg1.4
+  'keywords' => 'Schlagworte', //cpg1.4
+  'owner_name' => 'Besitzer der Datei', //cpg1.4
+  'filename' => 'Dateiname', //cpg1.4
+);
+
+}
+
+// ------------------------------------------------------------------------- //
+// File searchnew.php
+// ------------------------------------------------------------------------- //
+
+if (defined('SEARCHNEW_PHP')) $lang_search_new_php = array(
+  'page_title' => 'Neue Dateien suchen',
+  'select_dir' => 'Wähle Sie Verzeichnis',
+  'select_dir_msg' => 'Diese Funktion ermöglicht, mehrere Dateien der Galerie hinzuzufügen, die mit einem FTP-Programm schon auf Ihre Webseite hochgeladen wurden.<br /><br />Wähle Sie das Verzeichnis, in das Sie die Dateien hochgeladen haben.', //cpg1.4
+  'no_pic_to_add' => 'Keine Datei zum Hinzufügen gefunden',
+  'need_one_album' => 'Sie brauchen mindestens ein Album, um dieses Funktion auszuführen',
+  'warning' => 'Achtung',
+  'change_perm' => 'Das Skript kann nicht in dieses Verzeichnis schreiben, Sie müssen die Lese-/Schreibberechtigung (chmod) auf 755 oder 777 setzen, bevor Sie versuchen, Dateien hinzuzufügen!',
+  'target_album' => '<b>Dateien aus dem Verzeichnis &quot;</b>%s<b>&quot; in </b>%s ablegen',
+  'folder' => 'Verzeichnis',
+  'image' => 'Datei',
+  'album' => 'Album',
+  'result' => 'Resultat',
+  'dir_ro' => 'Verzeichnis nicht beschreibbar',
+  'dir_cant_read' => 'Verzeichnis nicht lesbar',
+  'insert' => 'Fügen Sie neue Dateien der Galerie hinzu',
+  'list_new_pic' => 'Liste neuer Dateien',
+  'insert_selected' => 'Markierte Dateien einfügen',
+  'no_pic_found' => 'Keine neuen Dateien gefunden',
+  'be_patient' => 'Bitte etwas Geduld, das Skript braucht Zeit, um die Bilder hinzuzufügen',
+  'no_album' => 'Kein Album gewählt',
+  'result_icon' => 'Klicken für Details oder zum erneut laden',  //cpg1.4
+  'notes' =>  '<ul>'.
+    '<li><b>OK</b> : bedeuted, dass die Datei erfolgreich hinzugefügt wurde'.
+    '<li><b>DP</b> : bedeutet, dass die Datei ein Duplikat ist und schon in der Datenbank vorhanden ist'.
+    '<li><b>PB</b> : bedeutet, dass die Datei nicht hinzugefügt werden konnte; überprüfen Sie Ihre Einstellungen und die Berechtigungen der Verzeichnisse, in dem die Dateien liegen'.
+    '<li><b>NA</b> : bedeutet, dass Sie kein Album gewählt haben, in das die Dateien eingefügt werden sollen, klicken Sie \'<a href="javascript:history.back(1)">zurück</a>\' und wählen Sie ein Album aus. Wenn kein Album ausgewählt werden kann, dann müssen Sie erst <a href="albmgr.php">ein Album erzeugen</a>.</li>'.
+    '<li>Falls die OK, DP, PB \'Zeichen\' nicht erscheinen, klicken Sie auf die nicht-funktionierenden Bilder, um die Fehlermeldungen von PHP zu sehen'.
+    '<li>Wenn Ihr Browser in ein Timeout läuft, klicken Sie auf die Aktualisieren-Schaltfläche'.
+    '</ul>',
+  'select_album' => 'Wählen Sie ein Album',
+  'check_all' => 'alle auswählen',
+  'uncheck_all' => 'Auswahl aufheben',
+  'no_folders' => 'Im Verzeichnis "albums" wurden noch keine Unterverzeichnisse angelegt. Sie müssen mindestens ein benutzerdefiniertes Unterverzeichnis innerhalb des Ordners "albums" anlegen und Ihre Dateien per FTP dorthin hochladen. Du dürfen per FTP keine Dateien in die Unterverzeichnisse "userpics" oder "edit" hochladen, da diese für http-uploads und interne Zwecke reserviert sind.', //cpg1.4
+   'albums_no_category' => 'Alben ohne Kategorie', //cpg1.4 // album pulldown mod, added by frogfoot
+  'personal_albums' => '* Persönliche Alben', //cpg1.4 // album pulldown mod, added by frogfoot
+  'browse_batch_add' => 'Durchsuchbare Oberfläche (empfohlen)', //cpg1.4
+  'edit_pics' => 'Dateien bearbeiten', //cpg1.4
+  'edit_properties' => 'Albums-Eigenschaften', //cpg1.4
+  'view_thumbs' => 'Thumbnail-Ansicht', //cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File stat_details.php //cpg1.4
+// ------------------------------------------------------------------------- //
+
+if (defined('STAT_DETAILS_PHP')) $lang_stat_details_php = array(
+  'show_hide' => 'diese Spalte anzeigen/verbergen', //cpg1.4
+  'vote' => 'Bewertungsdetails', //cpg1.4
+  'hits' => 'Trefferdetails', //cpg1.4
+  'stats' => 'Bewertungsstatistik', //cpg1.4
+  'sdate' => 'Datum', //cpg1.4
+  'rating' => 'Bewertung', //cpg1.4
+  'search_phrase' => 'Suchbegriff', //cpg1.4
+  'referer' => 'Referer', //cpg1.4
+  'browser' => 'Browser', //cpg1.4
+  'os' => 'Betriebssystem', //cpg1.4
+  'ip' => 'IP-Adresse', //cpg1.4
+  'sort_by_xxx' => 'Sortieren nach %s', //cpg1.4
+  'ascending' => 'aufsteigend', //cpg1.4
+  'descending' => 'absteigend', //cpg1.4
+  'internal' => 'intern', //cpg1.4
+  'close' => 'schliessen', //cpg1.4
+  'hide_internal_referers' => 'interne Verweise verbergen', //cpg1.4
+  'date_display' => 'Datumsformat', //cpg1.4
+  'submit' => 'absenden/aktualisieren', //cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File thumbnails.php
+// ------------------------------------------------------------------------- //
+
+// Void
+
+// ------------------------------------------------------------------------- //
+// File upload.php
+// ------------------------------------------------------------------------- //
+
+if (defined('UPLOAD_PHP')) $lang_upload_php = array(
+  'title' => 'Datei hochladen',
+  'custom_title' => 'Benutzer-definiertes Formular',
+  'cust_instr_1' => 'Die Anzahl der Upload-Felder kann angepasst werden, darf jedoch die untenstehenden Maximalwerte nicht überschreiten.',
+  'cust_instr_2' => 'Anzahl Abfrage-Felder',
+  'cust_instr_3' => 'Datei-Upload Felder: %s',
+  'cust_instr_4' => 'URI/URL-Upload Felder: %s',
+  'cust_instr_5' => 'URI/URL Upload Felder:',
+  'cust_instr_6' => 'Datei-Upload Felder:',
+  'cust_instr_7' => 'Geben Sie die Anzahl der gewünschten Felder ein und klicken Sie auf \'weiter\'.',
+  'reg_instr_1' => 'Unzulässige Aktion bei der Formular-Erzeugung.',
+  'reg_instr_2' => 'Sie können jetzt Dateien mit den untenstehenden Feldern hochladen. Keine Datei darf größer als %s kB sein. ZIP-Dateien, die mit Datei-Upload oder URI/URL-Upload hochgeladen werden, bleiben komprimiert.',
+  'reg_instr_3' => 'Um ZIP-Dateien auf dem Server automatisch zu entpacken, verwenden Sie die ZIP-Upload Felder.',
+  'reg_instr_4' => 'Die URI/URL-Upload Felder müssen dieses Format haben \'http://www.meinseite.de/bilder/beispiel.jpg\'',
+  'reg_instr_5' => 'Wenn alle Upload-Felder ausgefüllt sind, klicken Sie auf \'weiter\'.',
+  'reg_instr_6' => 'ZIP-Upload (wird entpackt auf Server):',
+  'reg_instr_7' => 'Datei-Upload:',
+  'reg_instr_8' => 'URI/URL-Upload:',
+  'error_report' => 'Fehlerliste',
+  'error_instr' => 'Folgende Uploads erzeugten Fehler:',
+  'file_name_url' => 'Dateiname/URL',
+  'error_message' => 'Fehlermeldung',
+  'no_post' => 'Datei durch Formular-Post nicht hochgeladen.',
+  'forb_ext' => 'Verbotene Datei-Erweiterung/-endung.',
+  'exc_php_ini' => 'Dateigröße größer als Limit in php.ini.',
+  'exc_file_size' => 'Dateigröße größer als Coppermine-Einstellungen.',
+  'partial_upload' => 'Nur teilweiser Upload.',
+  'no_upload' => 'Kein Upload erfolgt.',
+  'unknown_code' => 'Unbekannter PHP-Upload-Fehlercode.',
+  'no_temp_name' => 'Kein Upload - kein temporärer Name.',
+  'no_file_size' => 'Enthält keine Daten/defekt',
+  'impossible' => 'Kann nicht verschieben.',
+  'not_image' => 'kein Bild/korrupt',
+  'not_GD' => 'Keine GD-Erweiterung.',
+  'pixel_allowance' => 'maximale Bild-Abmessungen (Pixel-Größe) überschritten.',
+  'incorrect_prefix' => 'Ungültige URI/URL Vorsible',
+  'could_not_open_URI' => 'Konnte URI nicht öffnen.',
+  'unsafe_URI' => 'Sicherheit nicht überprüfbar.',
+  'meta_data_failure' => 'Meat-Daten fehlerhaft',
+  'http_401' => '401 Fehlende Berechtigung',
+  'http_402' => '402 Bezahlung erforderlich',
+  'http_403' => '403 Verboten',
+  'http_404' => '404 nicht gefunden',
+  'http_500' => '500 Interner Server-Fehler',
+  'http_503' => '503 Service nicht verfügbar',
+  'MIME_extraction_failure' => 'MIME konnte nicht festgestellt werden.',
+  'MIME_type_unknown' => 'Unbekannter MIME-Typ',
+  'cant_create_write' => 'Kann zu schreibende Datei nicht erzeugen.',
+  'not_writable' => 'Kann nicht in zu schreibende Datei speichern.',
+  'cant_read_URI' => 'Kann URI/URL nicht lesen',
+  'cant_open_write_file' => 'Kann nicht in URI-Datei schreiben.',
+  'cant_write_write_file' => 'Kann nicht in zu schreibende URI-Datei speichern.',
+  'cant_unzip' => 'Kann nicht entpacken.',
+  'unknown' => 'Unbekannter Fehler',
+  'succ' => 'Erfolgreiche Uploads',
+  'success' => '%s Uploads waren erfolgreich.',
+  'add' => 'Klicken Sie auf \'weiter\', um die Dateien den Alben hinzuzufügen.',
+  'failure' => 'Upload-Fehler',
+  'f_info' => 'Datei-Information',
+  'no_place' => 'Die vorhergehende Datei konnte nicht gesetzt werden.',
+  'yes_place' => 'Die vorhergehende Datei wurde erfolgreich gesetzt.',
+  'max_fsize' => 'Maximal erlaubte Dateigröße ist %s kB',
+  'album' => 'Album',
+  'picture' => 'Datei',
+  'pic_title' => 'Datei-Titel',
+  'description' => 'Datei-Beschreibung',
+  'keywords' => 'Stichworte (Trennung mit Leerzeichen)<br /><a href="#" onClick="return MM_openBrWindow(\'keyword_select.php\',\'selectKey\',\'width=250, height=400, scrollbars=yes,toolbar=no,status=yes,resizable=yes\')">von Liste einfügen</a>', //cpg1.4
+  'keywords_sel' =>'Wähle Schlagwort', //cpg1.4
+  'err_no_alb_uploadables' => 'Leider gibt es kein Album, in das Sie Bilder hochladen dürfen',
+  'place_instr_1' => 'Bitte Dateien jetzt den Alben zuordnen.  Es können jetzt zusätzliche Angaben zu den Dateien gemacht werden.',
+  'place_instr_2' => 'Es müssen noch mehr Dateien Alben zugeordnet werden. Klicken Sie \'weiter\'!',
+  'process_complete' => 'Alle Dateien wurden erfolgreich Alben zugeordnet.',
+  'albums_no_category' => 'Alben ohne Kategorie', //cpg1.4. //album pulldown mod, added by frogfoot
+  'personal_albums' => '* Persönliche Alben', //cpg1.4 //album pulldown mod, added by frogfoot
+  'select_album' => 'Wähle Album', //cpg1.4 //album pulldown mod, added by frogfoot
+  'close' => 'schliessen', //cpg1.4
+  'no_keywords' => 'Leider keine Schlagworte verfügbar!', //cpg1.4
+  'regenerate_dictionary' => 'Wörterbuch aktualisieren', //cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File usermgr.php
+// ------------------------------------------------------------------------- //
+
+if (defined('USERMGR_PHP')) $lang_usermgr_php = array(
+  'memberlist' => 'Benutzerliste', //cpg1.4
+  'user_manager' => 'Benutzer verwalten', //cpg1.4
+  'title' => 'Benutzer verwalten',
+  'name_a' => 'Name aufsteigend',
+  'name_d' => 'Name absteigend',
+  'group_a' => 'Gruppe aufsteigend',
+  'group_d' => 'Gruppe absteigend',
+  'reg_a' => 'Registrierungsdatum aufsteigend',
+  'reg_d' => 'Registrierungsdatum absteigend',
+  'pic_a' => 'Dateianzahl aufsteigend',
+  'pic_d' => 'Dateianzahl absteigend',
+  'disku_a' => 'Speicherplatz-Verbrauch aufsteigend',
+  'disku_d' => 'Speicherplatz-Verbrauch absteigend',
+  'lv_a' => 'Letzter Seitenbesuch aufsteigendg',
+  'lv_d' => 'Letzter Seitenbesuch absteigend',
+  'sort_by' => 'Benutzer sortieren nach',
+  'err_no_users' => 'Benutzer-Tabelle ist leer!',
+  'err_edit_self' => 'Sie können Ihr eigenes Profil hier nicht bearbeiten, benutzen Sie dafür den Link \'mein Profil\'',
+  'edit' => 'bearbeiten', //cpg1.4
+  'with_selected' => 'markierte Benutzer:', //cpg1.4
+  'delete' => 'löschen', //cpg1.4
+  'delete_files_no' => 'Dateien in öffentlichen Alben behalten (aber anonymisieren)', //cpg1.4
+  'delete_files_yes' => 'Dateien in öffentlichen Alben ebenfalls löschen', //cpg1.4
+  'delete_comments_no' => 'Kommentare behalten (aber anonymisieren)', //cpg1.4
+  'delete_comments_yes' => 'Kommentare ebenfalls löschen', //cpg1.4
+  'activate' => 'Aktivieren', //cpg1.4
+  'deactivate' => 'Deaktivieren', //cpg1.4
+  'reset_password' => 'Passwort zurücksetzen', //cpg1.4
+  'change_primary_membergroup' => 'Primäre Mitgliedergruppe ändern', //cpg1.4
+  'add_secondary_membergroup' => 'Sekundäre Mitgliederguppe hinzufügen', //cpg1.4
+  'name' => 'Benutzername',
+  'group' => 'Gruppe',
+  'inactive' => 'Inaktiv',
+  'operations' => 'Aktion',
+  'pictures' => 'Dateien',
+  'disk_space_used' => 'Speicherplatzverbrauch', //cpg1.4
+  'disk_space_quota' => 'Erlaubter Speicherplatz', //cpg1.4
+  'registered_on' => 'Registriert am', //cpg1.4
+  'last_visit' => 'Letzter Seitenbesuch',
+  'u_user_on_p_pages' => '%d Benutzer auf %d Seite(n)',
+  'confirm_del' => 'Wollen Sie diesen Benutzer wirklich LÖSCHEN? \\nAlle seine Dateien und Alben werden ebenfalls gelöscht.', //js-alert
+  'mail' => 'Mail',
+  'err_unknown_user' => 'Gewählter Benutzer existiert nicht!',
+  'modify_user' => 'Benutzer ändern',
+  'notes' => 'Anmerkungen',
+  'note_list' => '<li>Wenn Sie das derzeitige Passwort nicht ändern wollen, lassen Sie das Feld "Passwort" leer',
+  'password' => 'Passwort',
+  'user_active' => 'Benutzer ist aktiv',
+  'user_group' => 'Benutzergruppe',
+  'user_email' => 'eMail-Adresse des Benutzers',
+  'user_web_site' => 'Webseite des Benutzers',
+  'create_new_user' => 'neuen Benutzer anlegen',
+  'user_location' => 'Ort',
+  'user_interests' => 'Hobbies/Interessen',
+  'user_occupation' => 'Beruf/Beschäftigung',
+  'user_profile1' => '$user_profile1', //cpg1.4
+  'user_profile2' => '$user_profile2', //cpg1.4
+  'user_profile3' => '$user_profile3', //cpg1.4
+  'user_profile4' => '$user_profile4', //cpg1.4
+  'user_profile5' => '$user_profile5', //cpg1.4
+  'user_profile6' => '$user_profile6', //cpg1.4
+  'latest_upload' => 'neueste Uploads',
+  'never' => 'nie',
+  'search' => 'Nach Benutzer suchen', //cpg1.4
+  'submit' => 'Absenden', //cpg1.4
+  'search_submit' => 'Los!', //cpg1.4
+  'search_result' => 'Resultate durchsuchen nach: ', //cpg1.4
+  'alert_no_selection' => 'Sie müssen zuerst mindestens einen Benutzer auswählen!', //cpg1.4 //js-alert
+  'password' => 'Passwort', //cpg1.4
+  'select_group' => 'Wähle Gruppe', //cpg1.4
+  'groups_alb_access' => 'Alben-Berechtigung nach Gruppenzugehörigkeit', //cpg1.4
+  'album' => 'Album', //cpg1.4
+  'category' => 'Kategorie', //cpg1.4
+  'modify' => 'Ändern?', //cpg1.4
+  'group_no_access' => 'Diese Gruppe hat keine besondern Berechtigungen', //cpg1.4
+  'notice' => 'Anmerkung', //cpg1.4
+  'group_can_access' => 'Album/Alben, auf das/die nur "%s" zugreifen kann', //cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File util.php
+// ------------------------------------------------------------------------- //
+
+if (defined('UTIL_PHP')) {
+$lang_util_desc_php = array(
+'Erzeugt Titel aus Dateinamen', //cpg1.4
+'Löscht Titel', //cpg1.4
+'Erneuert Thumbnails und Dateien in Zwischengröße gemäß aktuellen Einstellungen', //cpg1.4
+'Löscht Bilder in Original-Größe und ersetzt sie mit Bildern in Zwischengröße', //cpg1.4
+'Löscht Bilder in Originalgrösse oder Zwischengrösse, um Speicherplatz frei zu geben', //cpg1.4
+'Löscht verwaiste Kommentare', //cpg1.4
+'Liest Dateigrössen und Dimensionen erneut ein (falls Sie Bilder manuell bearbeitet haben)', //cpg1.4
+'Setzt Hits-Zähler zurück', //cpg1.4
+'Zeigt phpinfo an', //cpg1.4
+'Aktualisert die Datenbank', //cpg1.4
+'Zeigt Log-Dateien an', //cpg1.4
+);
+$lang_util_php = array(
+  'title' => 'Admin-Werkzeuge (Größe ändern)',
+  'what_it_does' => 'Was macht dieses Tool',
+  'file' => 'Datei',
+  'problem' => 'Problem', //cpg1.4
+  'status' => 'Status', //cpg1.4
+  'title_set_to' => 'Ändere Titel auf',
+  'submit_form' => 'los',
+  'updated_succesfully' => 'erfolgreich geändert',
+  'error_create' => 'FEHLER beim Erzeugen von',
+  'continue' => 'Mehr Bilder durchlaufen',
+  'main_success' => 'Die Datei %s wurde erfolgreich als Hauptbild benutzt',
+  'error_rename' => 'Fehler beim Umbenennen von %s zu %s',
+  'error_not_found' => 'Die Datei %s wurde nicht gefunden',
+  'back' => 'zurück zur Auswahl',
+  'thumbs_wait' => 'Aktualisiere Thumbnails und/oder Bilder in Zwischengröße, bitte warten...',
+  'thumbs_continue_wait' => 'Fortfahren mit der Aktualisierung der Thumbnails und/oder Bilder in Zwischengröße...',
+  'titles_wait' => 'Aktualisiere Überschriften, bitte warten...',
+  'delete_wait' => 'Lösche Überschriften, bitte warten...',
+  'replace_wait' => 'Lösche Originale und ersetze sie mit Bilder in Zwischengröße, bitte warten...',
+  'instruction' => 'Kurzanleitung',
+  'instruction_action' => 'Wähle Aktion',
+  'instruction_parameter' => 'Wähle Parameter',
+  'instruction_album' => 'Wähle Album',
+  'instruction_press' => 'Klicken Sie %s',
+  'update' => 'Thumbnails und/oder Bilder in Zwischengröße aktualisieren',
+  'update_what' => 'Was soll aktualisiert werden',
+  'update_thumb' => 'Nur Thumbnails',
+  'update_pic' => 'Nur Bilder in Zwischengröße',
+  'update_both' => 'Sowohl Thumbnails als auch Bilder in Zwischengröße',
+  'update_number' => 'Anzahl der Bilder, die pro Klick aktualisiert werden sollen',
+  'update_option' => '(Verringere diesen Wert, wenn &quot;Time-Out&quot;-Probleme auftreten sollten)',
+  'filename_title' => 'Dateiname &rArr; Bild-Überschrift',
+  'filename_how' => 'Wie soll der Titel modifiziert werden',
+  'filename_remove' => 'Entferne die Endung .jpg und ersetze _ (Unterstrich) mit Leerzeichen',
+  'filename_euro' => 'Ändere 2003_11_23_13_20_20.jpg zu 23/11/2003 13:20',
+  'filename_us' => 'Ändere 2003_11_23_13_20_20.jpg zu 11/23/2003 13:20',
+  'filename_time' => 'Ändere 2003_11_23_13_20_20.jpg zu 13:20',
+  'delete' => 'Lösche Bild-Überschriften oder Bilder in Original-Größe',
+  'delete_title' => 'Bild-Überschriften löschen',
+  'delete_title_explanation' => 'Diese Option löscht alle Titel von allen Dateien in dem angegebenen Album.', //cpg1.4
+  'delete_original' => 'Bilder in Original-Größe löschen',
+  'delete_original_explanation' => 'Diese Option entfernt die Bilder in Originalgröße.', //cpg1.4
+  'delete_intermediate' => 'Bilder in Zwischengröße löschen', //cpg1.4
+  'delete_intermediate_explanation' => 'Diese Option löscht alle Bilder in Zwischengröße (normal_).<br />Empfohlen, um Speicherplatz freizugeben, wenn die Option \'Bilder in Zwischengröße erzeugen\' in den Coppermine-Einstellungen deaktiviert wurde NACHDEM Bilder zur Datenbank hinzugefügt wurden.', //cpg1.4
+  'delete_replace' => 'Lösche die Original-Bilder und ersetze sie mit Bilder in Zwischengröße',
+  'titles_deleted' => 'Alle Titel in dem angegebenen Album werden gelöscht', //cpg1.4
+  'deleting_intermediates' => 'Lösche Bilder in Zwischengröße, bitte warten...', //cpg1.4
+  'searching_orphans' => 'Suche nach verwaisten Einträgen, bitte warten...', //cpg1.4
+  'select_album' => 'Wähle Album',
+  'delete_orphans' => 'Verwaiste Kommentare löschen', //cpg1.4
+  'delete_orphans_explanation' => 'Diese Option identifiziert und löscht Kommentare, die mit Dateien verknüpft sind, die nicht mehr in der Datenbank vorhanden sind.<br />Durchläuft alle Alben.', //cpg1.4
+  'refresh_db' => 'Informationen über Dateigrößen und -abmessungen erneuern.', //cpg1.4
+  'refresh_db_explanation' => 'Diese Option liest die Dateigrößen und -abmessungen erneut ein. Benutzen Sie sie, wenn die Speicherplatz-Anzeige unkorrekt erscheint oder wenn Sie die Dateien manuell verändert haben..', //cpg1.4
+  'reset_views' => 'Hits-Zähler zurücksetzen', //cpg1.4
+  'reset_views_explanation' => 'Setzt alle "Datei x mal angesehen" Zähler auf Null im angegebenen Album.', //cpg1.4
+  'orphan_comment' => 'verwaiste Kommentare gefunden',
+  'delete' => 'löschen',
+  'delete_all' => 'alle löschen',
+  'delete_all_orphans' => 'Alle verwaisten Kommentare löschen?', //cpg1.4
+  'comment' => 'Kommentar: ',
+  'nonexist' => 'Bezug auf nicht-existierende Datei # ',
+  'phpinfo' => 'phpinfo anzeigen',
+  'phpinfo_explanation' => 'Zeigt technische Informationen über Ihren Server an.<br /> - Möglicherweise werden Sie nach diesen Informationen gefragt, wenn Sie im Coppermine-Forum um Hilfe bitten.', //cpg1.4
+  'update_db' => 'Datenbank aktualisieren',
+  'update_db_explanation' => 'Wenn Sie Coppermine-Dateien ersetzt haben, eine Modifikation oder ein Upgrade von einer frühreren Version von Coppermine durchgeführt haben, lassen Sie diese Datenbank-Aktualisierung einmal laufen, um die möglicherweise notwendigen Änderungen an der Datenbank durchzuführen bzw. fehlende Tabellen zu erzeugen.',
+  'view_log' => 'Log-Dateien anzeigen', //cpg1.4
+  'view_log_explanation' => 'Coppermine kann verschiedene Benutzer-Aktionen protokollieren. Diese Protokolle können hier angesehen werden, wenn die Aufzeichnung von Log-Dateien in den Coppermine-<a href="admin.php">Einstellungen</a> aktiviert wurde.', //cpg1.4
+  'versioncheck' => 'Versions-Check', //cpg1.4
+  'versioncheck_explanation' => 'Überprüfen Sie die Versionen Ihrer Dateien um herauszufinden, ob alle Dateien bei einem Update korrekt ersetzt wurden, oder ob die Coppermine-Dateien nach der Veröffentlichung eines Pakets aktualisiert wurden.', //cpg1.4
+  'bridgemanager' => 'Bridge-Assistent', //cpg1.4
+  'bridgemanager_explanation' => 'Assistent zur Integration der Benutzerverwaltung von Coppermine mit einer anderen Applikation (z.B. einem Forum) - sogenanntes "Bridging".', //cpg1.4
+);
+}
+
+// ------------------------------------------------------------------------- //
+// File versioncheck.php //cpg1.4
+// ------------------------------------------------------------------------- //
+
+if (defined('VERSIONCHECK_PHP')) $lang_versioncheck_php = array(
+  'title' => 'Versions-Check', //cpg1.4
+  'what_it_does' => 'Diese Seite ist für Benutzer gedacht, die ihre Version von Coppermine aktualisiert haben. Dieses Skript durchläuft alle Dateien auf dem Webserver und versucht festzustellen, ob Ihre lokalen Dateiversionen mit denen der Referenz auf http://coppermine.sourceforge.net übereinstimmen. Dadurch werden die Dateien, die irrtümlich nicht aktualisiert wurden, angezeigt.<br />Alles, was korrigiert werden muss wird in rot angezeigt. Einträge in gelb müssen einer näheren Betrachtung unterzogen werden. Einträge in grün (oder Ihrer Standard-Schriftfarbe) sind OK.<br />Klicken Sie auf die Hilfe-Icons für Details.', //cpg1.4
+  'online_repository_unable' => 'Konnte nicht mit Referenz-Datei abgleichen', //cpg1.4
+  'online_repository_noconnect' => 'Coppermine konnte sich nicht mit der Referenz-Datei abzugleichen. Dies kann 2 Gründe haben:', //cpg1.4
+  'online_repository_reason1' => 'die Referenzdatei ist derzeit nicht online - überprüfen Sie, ob Sie mit dem Browser diese Seite anzeigen können: %s - falls nicht, versuchen Sie später noch einmal, den Versions-Check durchzuführen.', //cpg1.4
+  'online_repository_reason2' => 'Auf Ihrem Webserver ist PHP so konfiguriert, dass %s deaktiviert ist (Standard-mässig ist diese Option aktiviert). Falls Sie den Webserver administrieren können, aktivieren Sie diese Option in Ihrer <i>php.ini</i> (erlauben Sie zumindest, dass die globale Einstellung mit %s temporär umgangen werden kann). Falls Sie jedoch auf einem fremden Server gehostet sind müssen Sie wahrscheinlich damit leben, dass Sie Ihre Dateien nicht online vergleichen können. In diesem Fall wird diese Seite nur die Dateiversionen mit denen der Ditribution vergleichen - spätere Updates werden nicht in Betracht gezogen.', //cpg1.4
+  'online_repository_skipped' => 'Verbindung mit der Referenz-Datei übersprungen', //cpg1.4
+  'online_repository_to_local' => 'Das Skript benutzt jetzt die lokale Kopie der Versions-Dateien. Die Daten sind möglicherweise ungenau, falls Sie Coppermine aktualisiert und nicht alle Dateien hochgeladen haben. Änderungen an Dateiversionen, die nach der Veröffentlichung des Pakets vorgenommen wurden, werden nicht berücksichtigt.', //cpg1.4
+  'local_repository_unable' => 'Das Skript konnte sich nicht mit der Referenzdatei auf Ihrem Server verbinden', //cpg1.4
+  'local_repository_explanation' => 'Coppermine konnte sich nicht mit der Refernzdatei %s auf Ihrem Webserver verbinden. Das bedeutet wahrscheinlich, dass Sie die Refernzdatei nicht auf den Server hochgeladen haben. Erledige Sie das nun und versuchen Sie dann, diese Seite erneut zu laden (klicken Sie auf "aktualisieren").<br />Falls das immer noch fehl schlägt, dann hat Ihr Webhost möglicherweise Teile der <a href="http://www.php.net/manual/de/ref.filesystem.php">Dateifunktionen von PHP</a> komplett deaktiviert. In diesem Fall können Sie dieses Tool leider gar nicht benutzen.', //cpg1.4
+  'coppermine_version_header' => 'Installierte Coppermine-Version', //cpg1.4
+  'coppermine_version_info' => 'Sie haben derzeit installiert: %s', //cpg1.4
+  'coppermine_version_explanation' => 'Falls Sie der Meinung sein sollten, dass das falsch ist und Sie eine neuere Version von Coppermine haben sollten, dann haben Sie wahrscheinlich nicht die aktuellste Version der Datei <i>include/init.inc.php</i> hochgeladen', //cpg1.4
+  'version_comparison' => 'Versions-Vergleich', //cpg1.4
+  'folder_file' => 'Verzeichnis/Datei', //cpg1.4
+  'coppermine_version' => 'cpg-Version', //cpg1.4
+  'file_version' => 'Datei-Version', //cpg1.4
+  'webcvs' => 'web svn', //cpg1.4
+  'writable' => 'beschreibbar', //cpg1.4
+  'not_writable' => 'nicht beschreibbar', //cpg1.4
+  'help' => 'Hilfe', //cpg1.4
+  'help_file_not_exist_optional1' => 'Datei/Verzeichnis existiert nicht', //cpg1.4
+  'help_file_not_exist_optional2' => 'Die Datei / das Verzeichnis %s wurde auf Ihrem Server nicht gefunden. Obwohl sie optional ist sollten Sie sie auf Ihren Server hochladen (benutzen Sie dazu Ihr FTP-Programm), zumindest wenn Probleme auftreten.', //cpg1.4
+  'help_file_not_exist_mandatory1' => 'Datei/Verzeichnis existiert nicht', //cpg1.4
+  'help_file_not_exist_mandatory2' => 'Datei/Verzeichnis %s wurde auf dem Server nicht gefunden, obwohl es zwingend benötigt wird. Laden Sie die Datei (mit Hilfe Ihres FTP-Programms) auf Ihren Webserver hoch..', //cpg1.4
+  'help_no_local_version1' => 'Keine lokale Dateiversion', //cpg1.4
+  'help_no_local_version2' => 'Das Skript konnte die Versionsinformation aus der lokalen Datei-Version nicht extrahieren - Ihre Datei ist entweder veraltet, oder Sie haben die Datei verändert und dabei den Datei-Header geändert. Es ist empfehlenswert, die Datei zu aktualisieren.', //cpg1.4
+  'help_local_version_outdated1' => 'Lokale Version veraltet', //cpg1.4
+  'help_local_version_outdated2' => 'Ihre Version der Datei scheint von einer älteren Version von Coppermine zu stammen (Sie haben wahrscheinlich ein Upgrade durchgeführt). Ersetzen Sie auch diese Datei mit der aktuelleren Version.', //cpg1.4
+  'help_local_version_na1' => 'Konnte SVN-Versions-Information nicht extrahieren', //cpg1.4
+  'help_local_version_na2' => 'Das Skript konnte die SVN-Versions-Information nicht aus der lokalen Datei auf Ihrem Webserver extrahieren. Sie sollten diese Datei aktualisieren.', //cpg1.4
+  'help_local_version_dev1' => 'Entwicklungs-Version', //cpg1.4
+  'help_local_version_dev2' => 'Die Datei auf Ihrem Webserver scheint neuer zu sein als Ihre Coppermine-Version. Sie benutzen entweder eine Entwicklungs-Version (nur empfohlen für erfahrene Anwender), oder Sie haben Ihre Coppermine-Installation aktualisiert und die Datei include/init.inc.php nicht hochgeladen.', //cpg1.4
+  'help_not_writable1' => 'Verzeichnis nicht beschreibbar', //cpg1.4
+  'help_not_writable2' => 'Ändern Sie die Berechtigungen (CHMOD), um dem Skript Schreibrechte auf den Ordner %s und alles darin befindliche zu gewähren.', //cpg1.4
+  'help_writable1' => 'Verzeichnis beschreibbar', //cpg1.4
+  'help_writable2' => 'Das Verzeichnis %s ist beschreibbar. Dies stellt ein unnötiges Sicherheitsrisiko dar, Coppermine benötigt nur Lese- und Ausführungsrechte.', //cpg1.4
+  'help_writable_undetermined' => 'Das Skript konnte nicht feststellen, ob das Verzeichnis beschreibbar ist.', //cpg1.4
+  'your_file' => 'Ihre Datei', //cpg1.4
+  'reference_file' => 'Referenz-Datei', //cpg1.4
+  'summary' => 'Zusammenfassung', //cpg1.4
+  'total' => 'Summe der überprüften Verzeichnisse/Dateien', //cpg1.4
+  'mandatory_files_missing' => 'Fehlende verbindlich benötigte Dateien', //cpg1.4
+  'optional_files_missing' => 'Fehlende optionale Dateien', //cpg1.4
+  'files_from_older_version' => 'Dateien, die von veralteten Coppermine-Versionen stammen', //cpg1.4
+  'file_version_outdated' => 'Veraltete Datei-Versionen', //cpg1.4
+  'error_no_data' => 'Das Skript hat einen Fehler verursacht und konnte keine Versionsinformationen auslesen. Sorry.', //cpg1.4
+  'go_to_webcvs' => 'gehe zu %s', //cpg1.4
+  'options' => 'Optionen', //cpg1.4
+  'show_optional_files' => 'optionale Verzeichnisse/Dateien anzeigen', //cpg1.4
+  'show_mandatory_files' => 'verbindlich benötigte Dateien anzeigen', //cpg1.4
+  'show_file_versions' => 'Dateiversionen anzeigen', //cpg1.4
+  'show_errors_only' => 'Nur Verzeichnisse und Dateien mit Fehlern anzeigen', //cpg1.4
+  'show_permissions' => 'Berechtigungen anzeigen', //cpg1.4
+  'show_condensed_output' => 'Reduzierte Ausgabe (zur einfacheren Erstellung von Screenshots)', //cpg1.4
+  'coppermine_in_webroot' => 'Coppermine ist im Wurzelverzeichnis der Domäne installiert', //cpg1.4
+  'connect_online_repository' => 'Verbindungsaufbau zur Referenzdatei versuchen', //cpg1.4
+  'show_additional_information' => 'Zusatzinformationen anzeigen', //cpg1.4
+  'no_webcvs_link' => 'Web-CVS-Links nicht anzeigen', //cpg1.4
+  'stable_webcvs_link' => 'Web-CVS-Links zur "stable-branch" anzeigen', //cpg1.4
+  'devel_webcvs_link' => 'Web-CVS-Links zur "devel-branch" anzeigen', //cpg1.4
+  'submit' => 'Änderungen durchführen / aktualisieren', //cpg1.4
+  'reset_to_defaults' => 'Standard-Einstellungen wieder herstellen', //cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File view_log.php  //cpg1.4
+// ------------------------------------------------------------------------- //
+
+if (defined('VIEWLOG_PHP')) $lang_viewlog_php = array(
+  'delete_all' => 'Alle Logs löschen', //cpg1.4
+  'delete_this' => 'Dieses Log löschen', //cpg1.4
+  'view_logs' => 'Logs anzeigen', //cpg1.4
+  'no_logs' => 'Keine Logs vorhanden', //cpg1.4
+);
+
+
+// ------------------------------------------------------------------------- //
+// File xp_publish.php //cpg1.4
+// ------------------------------------------------------------------------- //
+
+if (defined('XP_PUBLISH_PHP')) {
+
+$lang_xp_publish_client = <<<EOT
+<h1>XP Web Publishing Assistent</h1><p>Dieses Modul ermöglicht es, den <b>Windows XP</b> web publishing Assistenten mit Coppermine zu benutzen.</p><p>Der zugrunde liegende Code basiert auf einem Artikel von
+EOT;
+
+$lang_xp_publish_required = <<<EOT
+<h2>Was wird benötigt</h2><ul><li>Windows XP, damit der Assistent zur Verfügung steht.</li><li>Eine funktionierende Coppermine-Installation, bei der das Hochladen von Dateien funktioniert.</b></li></ul><h2>Wie installiere ich die nötige Software auf meinem Rechner</h2><ul><li>Rechts-Klick auf
+EOT;
+
+$lang_xp_publish_select = <<<EOT
+Wähle Sie &quot;Zeil speichern unter..&quot;. Speichern Sie die Datei auf Ihrer Festplatte. Überprüfen Sie beim Speichern, dass der vorgeschlagene Name  <b>cpg_###.reg</b> lautet (die ###-Symbole repräsentieren einen numerischen Zeitstempel). Ändern Sie ggf. den Namen ab (aber lassen Sie die Zahlen so, wie sie sind). Nach erfolgtem Download, doppelklicken Sie auf die heruntergeladene Datei, um den Coppermine-Server beim Web Publishing-Assistenten zu registrieren.</li></ul>
+EOT;
+
+$lang_xp_publish_testing = <<<EOT
+<h2>Testen</h2><ul><li>Markieren Sie einige Grafik-Dateien im Windows Explorer und klicken Sie dann auf <b>xxx im Internet veröffentlichen</b> in der linken Leiste des Explorers.</li><li>Bestätigen Sie Ihre Dateiauswahl. Klicken Sie auf <b>weiter</b>.</li><li>In der Liste der zur Verfügung stehenden Dienste, wählen Sie Ihre Foto-Galerie (der Eintrag hat den Namen Ihrer Galerie). Falls der Diesnt nicht erscheint, überprüfen Sie, ob Sie <b>cpg_pub_wizard.reg</b> wie oben beschrieben installiert haben.</li><li>Geben Sie Ihre Zugangsinformationen ein, falls notwendig.</li><li>Wählen Sie ein Album als Ziel der Bilder oder erzeugen Sie ein neues Album.</li><li>Klicken Sie auf <b>weiter</b>. Der Upload Ihrer Bilder startet jetzt.</li><li>Wenn der Upload beendet ist, überprüfen Sie auf der Galerie-Seite, dass alle Bilder korrekt hochgeladen wurden.</li></ul>
+EOT;
+
+$lang_xp_publish_notes = <<<EOT
+<h2>Anmerkungen :</h2><ul><li>Wenn der Upload-Vorgang erst einmal gestartet ist, kann der Assistent keine Fehlermeldungen anzeigen, die vom Skript generiert werden; daher kann man nicht wissen, ob ein Upload erfolgreich war oder nicht, außer durch Besuch der Coppermine-Galerie.</li><li>Wenn ein Upload fehlschlägt, aktivieren Sie den &quot;Debug-Modus&quot; in den Coppermine-Einstellungen, laden Sie ein einzelnes Bild hoch und überprüfen Sie dann die Fehlermeldungen in der
+EOT;
+
+$lang_xp_publish_flood = <<<EOT
+Datei, die im Coppermine-Verzeichnis auf Ihrem Server liegt.</li><li>Um zu vermeiden, dass die Galerie überflutet wird mit Uploads durch den Assistenten können nur die <b>Administratoren der Galerie</b> und <b>Benutzer, die eigene Alben haben dürfen</b> dieses Feature nutzen.</li>
+EOT;
+
+
+
+$lang_xp_publish_php = array(
+  'title' => 'Coppermine - XP Web Publishing Assistent', //cpg1.4
+  'welcome' => 'Willkommen <b>%s</b>,', //cpg1.4
+  'need_login' => 'Um diesen Assistenten zu nutzen müssen Sie sich bei der Galerie mit Hilfe Ihres Browsers (IE) anmelden.<p/><p>Vergessen Sie nicht, die Option  &quot;<b>Immer angemeldet bleiben</b>&quot; bei der Anmeldung zu aktivieren, wenn vorhanden.', //cpg1.4
+  'no_alb' => 'Leider gibt es keine Alben, in die Sie berechtigt sind mit diesem Assistenten Bilder hochzuladen.', //cpg1.4
+  'upload' => 'Laden Sie Ihre Bilder in ein bestehendes Album hoch', //cpg1.4
+  'create_new' => 'Erstellen Sie ein neues Album für Ihre Bilder', //cpg1.4
+  'album' => 'Album', //cpg1.4
+  'category' => 'Kategorie', //cpg1.4
+  'new_alb_created' => 'Ihr neues Album &quot;<b>%s</b>&quot; wurde erstellt.', //cpg1.4
+  'continue' => 'Klicken Sie auf &quot;Weiter&quot;, um Ihre Bilder hochzuladen', //cpg1.4
+  'link' => 'dieser Link', //cpg1.4
+);
+}
 ?>
\ No newline at end of file
diff -x .svn -aruN 1.4.24.src/lang/greek.php 1.4.25.src/lang/greek.php
--- 1.4.24.src/lang/greek.php	2009-05-25 15:01:17.000000000 -0500
+++ 1.4.25.src/lang/greek.php	2009-05-26 11:25:40.000000000 -0500
@@ -1,2106 +1,2106 @@
-<?php
-/*************************
-  Coppermine Photo Gallery
-  ************************
-  Copyright (c) 2003-2009 Coppermine Dev Team
-  v1.1 originally written by Gregory DEMAR
-
-  This program is free software; you can redistribute it and/or modify
-  it under the terms of the GNU General Public License version 3
-  as published by the Free Software Foundation.
-  
-  ********************************************
-  Coppermine version: 1.4.24
-  $HeadURL: https://coppermine.svn.sourceforge.net/svnroot/coppermine/trunk/cpg1.4.x/lang/greek.php $
-  $Revision: 5988 $
-  $Author: gaugau $
-  $Date: 2009-05-25 22:01:41 +0200 (Mo, 25 Mai 2009) $
-**********************************************/
-
-if (!defined('IN_COPPERMINE')) { die('Not in Coppermine...');}
-
-// info about translators and translated language
-$lang_translation_info = array(
-  'lang_name_english' => 'Greek', //cpg1.4
-  'lang_name_native' => 'Ελληνικά', //cpg1.4
-  'lang_country_code' => 'gr', //cpg1.4
-  'trans_name'=> 'Nakis',
-  'trans_email' => 'nakis.s@irc-u.org',
-  'trans_website' => 'http://irc-u.org',
-  'trans_date' => '2006-03-18',
-);
-
-$lang_charset = 'UTF-8';
-$lang_text_dir = 'ltr'; // ('ltr' for left to right, 'rtl' for right to left)
-
-// shortcuts for Byte, Kilo, Mega
-$lang_byte_units = array('Bytes', 'KB', 'MB');
-
-// Day of weeks and months
-$lang_day_of_week = array('Κυρ', 'Δευ', 'Tρι', 'Τετ', 'Πεμ', 'Παρ', 'Σαβ');
-$lang_month = array('Ιαν', 'Φεβ', 'Mαρ', 'Aπρ', 'Mαι', 'Ιουν', 'Ιουλ', 'Aυγ', 'Σεπ', 'Οκτ', 'Noε', 'Δεκ');
-
-// Some common strings
-$lang_yes = 'Ναι';
-$lang_no  = 'Όχι';
-$lang_back = 'ΠΙΣΩ';
-$lang_continue = 'ΣΥΝΕΧΕΙΑ';
-$lang_info = 'Πληροφορίες';
-$lang_error = 'Λάθος';
-$lang_check_uncheck_all = 'επιλογή/αποεπιλογή όλων'; //cpg1.4
-
-// The various date formats
-// See http://www.php.net/manual/en/function.strftime.php to define the variable below
-$album_date_fmt =    '%B %d, %Y';
-$lastcom_date_fmt =  '%m/%d/%y at %H:%M';
-$lastup_date_fmt = '%B %d, %Y';
-$register_date_fmt = '%B %d, %Y';
-$lasthit_date_fmt = '%B %d, %Y at %I:%M %p';
-$comment_date_fmt =  '%B %d, %Y at %I:%M %p';
-$log_date_fmt = '%B %d, %Y at %I:%M %p'; //cpg1.4
-
-// For the word censor
-$lang_bad_words = array('*fuck*', 'asshole', 'assramer', 'bitch*', 'c0ck', 'clits', 'Cock', 'cum', 'cunt*', 'dago', 'daygo', 'dego', 'dick*', 'dildo', 'fanculo', 'feces', 'foreskin', 'Fu\(*', 'fuk*', 'honkey', 'hore', 'injun', 'kike', 'lesbo', 'masturbat*', 'motherfucker', 'nazis', 'nigger*', 'nutsack', 'penis', 'phuck', 'poop', 'pussy', 'scrotum', 'shit', 'slut', 'titties', 'titty', 'twaty', 'wank*', 'whore', 'wop*');
-
-$lang_meta_album_names = array(
-  'random' => 'Τυχαία αρχεία',
-  'lastup' => 'Τελευταίες προσθήκες',
-  'lastalb'=> 'Πρόσφατα ενημερωμένα άλμπουμς',
-  'lastcom' => 'Τελευταία σχόλια',
-  'topn' => 'Περισσότερες εμφανίσεις',
-  'toprated' => 'Υψηλότερα βαθμολογημένα',
-  'lasthits' => 'Τελευταίες εμφανίσεις',
-  'search' => 'Αποτελέσματα αναζήτησης',
-  'favpics'=> 'Αγαπημένα αρχεία',  //cpg1.4
-);
-
-$lang_errors = array(
-  'access_denied' => 'Δεν έχετε πρόσβαση σ\' αυτή τη σελίδα.',
-  'perm_denied' => 'Δεν έχετε πρόσβαση για την εκτέλεση αυτής της λειτουργίας.',
-  'param_missing' => 'Το πρόγραμμα εκτελέστηκε χωρίς τις απαιτούμενες παραμέτρους.',
-  'non_exist_ap' => 'Το επιλεγμένο άλμπουμ/αρχείο δεν υπάρχει!',
-  'quota_exceeded' => 'Υπερβαίνουσα ποσόστωση χώρου<br /><br />Ενώ σας αναλογεί [quota]K χώρος, τα αρχεία σας χρησιμοποιούν [space]K, προσθέτοντας αυτό το αρχείο θα υπερβείτε το όριο.',
-  'gd_file_type_err' => 'Όταν χρησιμοποιείται η GD βιβλιοθήκη εικόνων (image library), επιτρεπόμενα είδη φωτογραφιών είναι μόνο τα JPEG και PNG.',
-  'invalid_image' => 'Η φωτογραφία που προσθέσατε είναι ελλειπής ή δεν μπορεί να διαχειριστεί από την GD βιβλιοθήκη (library).',
-  'resize_failed' => 'Η δημιουργία μικρογραφίας ή εικόνας μειωμένου μεγέθους, ήταν αδύνατη',
-  'no_img_to_display' => 'Δεν υπάρχει εικόνα προς εμφάνιση',
-  'non_exist_cat' => 'Η επιλεγμένη κατηγορία δεν υπάρχει',
-  'orphan_cat' => 'Η κατηγορία δεν έχει δημιουργό (parent), εκτελέστε τον διαχειριστή κατηγοριών για να διορθώσετε το πρόβλημα!',
-  'directory_ro' => 'Ο κατάλογος \'%s\' δεν είναι εγγράψιμος, τα αρχεία δεν μπορούν να διαγραφούν',
-  'non_exist_comment' => 'Το επιλεγμένο σχόλιο δεν υπάρχει.',
-  'pic_in_invalid_album' => 'Το αρχείο βρίσκεται σε ανύπαρκτο άλμπουμ (%s)!',
-  'banned' => 'Έχετε αποκλειστεί από την χρήση αυτού του site.',
-  'not_with_udb' => 'Αυτή η λειτουργία είναι απενεργοποιημένη στο Coppermine επειδή είναι ενσωματωμένη με το λογισμικό του. Είτε αυτό που προσπαθείτε να κάνετε δεν υποστηρίζεται κάτω από παρούσα διαμόρφωση, είτε η λειτουργία πρέπει να διαχειριστεί από το λογισμικό του φόρουμ.',
-  'offline_title' => 'Εκτός λειτουργίας',
-  'offline_text' => 'Η Γκαλερί είναι προσωρινά εκτός λειτουργίας - επιστρέψτε ξανά σύντομα',
-  'ecards_empty' => 'Αυτή τη στιγμή δεν υπάρχουν ηλεκτρονικές κάρτες για εμφάνιση.',
-  'action_failed' => 'Η διαδικασία απέτυχε. Το Coppermine δεν μπορεί να εκτελέσει αυτό που ζητήσατε.',
-  'no_zip' => 'Οι απαραίτητες βιβλιοθήκες για την επεξεργασία ZIP αρχείων δεν είναι διαθέσιμες. Παρακαλώ επικοινωνήστε με τον διαχειριστή του Coppermine.',
-  'zip_type' => 'Δεν έχετε άδεια για να προσθέσετε αρχεία ZIP.',
-  'database_query' => 'Υπήρξε λάθος κατά την επεξεργασία του ερωτήματος στην βάση δεδομένων', //cpg1.4
-  'register_globals_on' => 'The PHP setting register_globals is enabled on your server, which is a bad idea in terms of security. It\'s strongly recommended to turn it off. [<a href="http://forum.coppermine-gallery.net/index.php/topic,59569.0.html" rel="external" class="external">more</a>]',
-);
-
-$lang_bbcode_help_title = 'Βοήθεια για το bbcode'; //cpg1.4
-$lang_bbcode_help = 'Μπορείτε να προσθέσετε συνδέσεις (clickable links) και κάποιου είδους μορφοποίηση σε αυτό το πεδίο χρησιμοποιώντας bbcode ετικέττες (τags): <li>[b]Έντονα[/b] =&gt; <b>Έντονα</b></li><li>[i]Κεκλιμένα[/i] =&gt; <i>Κεκλιμένα</i></li><li>[url=http://yoursite.com/]Url της ιστοσελίδας σας[/url] =&gt; <a href="http://yoursite.com">Url της ιστοσελίδας σας</a></li><li>[email]user@domain.com[/email] =&gt; <a href="mailto:user@domain.com">user@domain.com</a></li><li>[color=red]κείμενο[/color] =&gt; <span style="color:red">κείμενο</span></li><li>[img]http://coppermine-gallery.net/demo/cpg14x/images/red.gif[/img] => <img src="../images/red.gif" border="0" alt="" /></li>'; //cpg1.4
-
-// ------------------------------------------------------------------------- //
-// File theme.php
-// ------------------------------------------------------------------------- //
-
-$lang_main_menu = array(
-  'home_title' => 'Μετάβαση στην κεντρική σελίδα',
-  'home_lnk' => 'Κεντρική',
-  'alb_list_title' => 'Μετάβαση στην λίστα των άλμπουμς',
-  'alb_list_lnk' => 'Λίστα των άλμπουμς',
-  'my_gal_title' => 'Μετάβαση στο προσωπικό μου άλμπουμ',
-  'my_gal_lnk' => 'Το άλμπουμ μου',
-  'my_prof_title' => 'Μετάβαση στο προφίλ μου', //cpg1.4
-  'my_prof_lnk' => 'Το προφίλ μου',
-  'adm_mode_title' => 'Εναλλαγή σε λειτουργία διαχειριστή',
-  'adm_mode_lnk' => 'Λειτουργία διαχειριστή',
-  'usr_mode_title' => 'Εναλλαγή σε λειτουργία χρήστη',
-  'usr_mode_lnk' => 'Λειτουργία χρήστη',
-  'upload_pic_title' => 'Προσθήκη αρχείου σε ένα άλμπουμ',
-  'upload_pic_lnk' => 'Προσθήκη αρχείου',
-  'register_title' => 'Δημιουργία λογαριασμού',
-  'register_lnk' => 'Εγγραφή',
-  'login_title' => 'Σύνδεση', //cpg1.4
-  'login_lnk' => 'Σύνδεση',
-  'logout_title' => 'Αποσύνδεση', //cpg1.4
-  'logout_lnk' => 'Αποσύνδεση',
-  'lastup_title' => 'Εμφάνιση των πιο πρόσφατων προσθηκών', //cpg1.4
-  'lastup_lnk' => 'Τελευταίες προσθήκες',
-  'lastcom_title' => 'Εμφάνιση των πιο πρόσφατων σχόλιων', //cpg1.4
-  'lastcom_lnk' => 'Τελευταία σχόλια',
-  'topn_title' => 'Εμφάνιση των περισσότερο εμφανισμένων', //cpg1.4
-  'topn_lnk' => 'Περισσότερο εμφανισμένα',
-  'toprated_title' => 'Εμφάνιση των υψηλά βαθμολογημένων', //cpg1.4
-  'toprated_lnk' => 'Υψηλά βαθμολογημένα',
-  'search_title' => 'Αναζήτηση στην γκαλερί', //cpg1.4
-  'search_lnk' => 'Αναζήτηση',
-  'fav_title' => 'Μετάβαση στα αγαπημένα', //cpg1.4
-  'fav_lnk' => 'Τα αγαπημένα',
-  'memberlist_title' => 'Εμφάνιση Λίστας Μελών',
-  'memberlist_lnk' => 'Λίστα Μελών',
-  'faq_title' => 'Συχνές ερωτήσεις κι απαντήσεις σχετικά με το &quot;Coppermine&quot;',
-  'faq_lnk' => 'FAQ',
-);
-
-$lang_gallery_admin_menu = array(
-  'upl_app_title' => 'Έγκριση νέων προσθηκών', //cpg1.4
-  'upl_app_lnk' => 'Έγκριση προσθήκης',
-  'admin_title' => 'Μετάβαση στις ρυθμίσεις', //cpg1.4
-  'admin_lnk' => 'Ρυθμίσεις', //cpg1.4
-  'albums_title' => 'Μετάβαση στις ρυθμίσεις των άλμπουμς', //cpg1.4
-  'albums_lnk' => '\'Αλμπουμς',
-  'categories_title' => 'Μετάβαση στις ρυθμίσεις κατηγοριών', //cpg1.4
-  'categories_lnk' => 'Κατηγορίες',
-  'users_title' => 'Μετάβαση στις ρυθμίσεις χρηστών', //cpg1.4
-  'users_lnk' => 'Χρήστες',
-  'groups_title' => 'Μετάβαση στις ρυθμίσεις ομάδων', //cpg1.4
-  'groups_lnk' => 'Ομάδες',
-  'comments_title' => 'Αναθεώρηση όλων των σχολίων', //cpg1.4
-  'comments_lnk' => 'Αναθεώρηση σχολίων',
-  'searchnew_title' => 'Μετάβαση στην διαδικασία προσθήκης πολλών αρχείων', //cpg1.4
-  'searchnew_lnk' => 'Προσθήκη πολλαπλών αρχείων',
-  'util_title' => 'Μετάβαση στα εργαλεία διαχείρισης', //cpg1.4
-  'util_lnk' => 'Εργαλεία Διαχείρισης',
-  'key_title' => 'Μετάβαση στο λεξικό λέξεων-κλειδιών', //cpg1.4
-  'key_lnk' => 'Λεξικό Λέξεων-Κλειδιών', //cpg1.4
-  'ban_title' => 'Μετάβαση στους αποκλεισμένους χρήστες', //cpg1.4
-  'ban_lnk' => 'Αποκλεισμένοι Χρήστες',
-  'db_ecard_title' => 'Αναθεώρηση Ηλεκτρονικών Καρτών', //cpg1.4
-  'db_ecard_lnk' => 'Εμφάνιση Ηλεκτρονικών Καρτών',
-  'pictures_title' => 'Ταξινόμηση των φωτογραφιών μου', //cpg1.4
-  'pictures_lnk' => 'Ταξινόμηση φωτογραφιών', //cpg1.4
-  'documentation_lnk' => 'Εγχειρίδιο', //cpg1.4
-  'documentation_title' => 'Εγχειρίδιο του Coppermine', //cpg1.4
-);
-
-$lang_user_admin_menu = array(
-  'albmgr_title' => 'Δημιουργία και ταξινόμηση των άμπουμς μου', //cpg1.4
-  'albmgr_lnk' => 'Δημιουργία και ταξινόμηση των άλμπουμς',
-  'modifyalb_title' => 'Μετάβαση στην τροποποίηση των άλμπουμς μου',  //cpg1.4
-  'modifyalb_lnk' => 'Τροποποίηση των άλμπουμς',
-  'my_prof_title' => 'Μετάβαση στο προφίλ μου', //cpg1.4
-  'my_prof_lnk' => 'Το προφίλ μου',
-);
-
-$lang_cat_list = array(
-  'category' => 'Κατηγορία',
-  'albums' => '\'Αλμπουμς',
-  'pictures' => 'Αρχεία',
-);
-
-$lang_album_list = array(
-  'album_on_page' => '%d άλμπουμ(ς) σε %d σελίδα/ες',
-);
-
-$lang_thumb_view = array(
-  'date' => 'ΗΜΕΡΟΜΗΝΙΑ',
-  //Sort by filename and title
-  'name' => 'ΟΝΟΜΑ ΑΡΧΕΙΟΥ',
-  'title' => 'ΤΙΤΛΟΣ',
-  'sort_da' => 'Ανοδική ταξινόμηση κατά ημερομηνία',
-  'sort_dd' => 'Καθοδική ταξινόμηση κατά ημερομηνία',
-  'sort_na' => 'Ανοδική ταξινόμηση αλφαβητικά',
-  'sort_nd' => 'Καθοδική ταξινόμηση αλφαβητικά',
-  'sort_ta' => 'Ανοδική ταξινόμηση κατά τίτλο',
-  'sort_td' => 'Καθοδική ταξινόμηση κατά τίτλο',
-  'position' => 'ΘΕΣΗ', //cpg1.4
-  'sort_pa' => 'Ανοδική ταξινόμηση κατά θέση', //cpg1.4
-  'sort_pd' => 'Καθοδική ταξινόμηση κατά θέση', //cpg1.4
-  'download_zip' => 'Κατέβασμα σαν αρχείο Zip',
-  'pic_on_page' => '%d φωτογραφία(ες) σε %d σελίδα(ες)',
-  'user_on_page' => '%d χρήστης(ες) on %d σελίδα(ες)',
-  'enter_alb_pass' => 'Πληκτρολογήστε τον κωδικό για το άλμπουμ', //cpg1.4
-  'invalid_pass' => 'Λάθος Κωδικός', //cpg1.4
-  'pass' => 'Κωδικός', //cpg1.4
-  'submit' => 'Υποβολή', //cpg1.4
-);
-
-$lang_img_nav_bar = array(
-  'thumb_title' => 'Επιστροφή στην σελίδα με τις μικρογραφίες',
-  'pic_info_title' => 'Εμφάνιση/απόκρυψη πληροφοριών αρχείου',
-  'slideshow_title' => 'Προβολή Διαφανειών',
-  'ecard_title' => 'Αποστολή αυτού του αρχείου σαν ηλεκτρονική κάρτα',
-  'ecard_disabled' => 'Οι ηλεκτρονικές κάρτες είναι απενεργοποιημένες',
-  'ecard_disabled_msg' => 'Δεν έχετε άδεια για να στείλετε ηλεκτρονικές κάρτες', //js-alert
-  'prev_title' => 'Εμφάνιση προηγούμενου αρχείου',
-  'next_title' => 'Εμφάνιση επόμενου αρχείου',
-  'pic_pos' => 'ΑΡΧΕΙΟ %s/%s',
-  'report_title' => 'Αναφορά αυτού του αρχείου στον διαχειριστή', //cpg1.4
-  'go_album_end' => 'Παράκαμψη στο τέλος', //cpg1.4
-  'go_album_start' => 'Επιστροφή στην αρχή', //cpg1.4
-  'go_back_x_items' => 'μετάβαση πίσω %s φωτογραφία(ες)', //cpg1.4
-  'go_forward_x_items' => 'μετάβαση μπροστά %s φωτογραφία(ες)', //cpg1.4
-);
-
-$lang_rate_pic = array(
-  'rate_this_pic' => 'Βαθμολογήστε αυτό το αρχείο',
-  'no_votes' => '(Χωρίς ψήφο ακόμη)',
-  'rating' => '(τωρινή βαθμολογία : %s / 5 με %s ψήφους)',
-  'rubbish' => 'Χάλια',
-  'poor' => 'Κακή',
-  'fair' => 'Μέτρια',
-  'good' => 'Καλή',
-  'excellent' => 'Πολύ καλή',
-  'great' => 'Καταπληκτική',
-);
-
-// ------------------------------------------------------------------------- //
-// File include/exif.inc.php
-// ------------------------------------------------------------------------- //
-
-// void
-
-// ------------------------------------------------------------------------- //
-// File include/functions.inc.php
-// ------------------------------------------------------------------------- //
-
-$lang_cpg_die = array(
-  INFORMATION => $lang_info,
-  ERROR => $lang_error,
-  CRITICAL_ERROR => 'Κρίσιμο Λάθος',
-  'file' => 'Αρχείο: ',
-  'line' => 'Γραμμή: ',
-);
-
-$lang_display_thumbnails = array(
-  'filename' => 'Όνομα αρχείου=', //cpg1.4
-  'filesize' => 'Μέγεθος αρχείου=', //cpg1.4
-  'dimensions' => 'Διαστάσεις=', //cpg1.4
-  'date_added' => 'Ημερομηνία προσθήκης=', //cpg1.4
-);
-
-$lang_get_pic_data = array(
-  'n_comments' => '%s σχόλια',
-  'n_views' => '%s εμφανίσεις',
-  'n_votes' => '(%s ψήφοι)',
-);
-
-$lang_cpg_debug_output = array(
-  'debug_info' => 'Πληροφορίες Debug',
-  'select_all' => 'Επιλογή Όλων',
-  'copy_and_paste_instructions' => 'Εάν πρόκειται να ζητήσετε βοήθεια στο φόρουμ υποστήριξης του Coppermine, ανιγράψτε και επικολλήστε αυτές τις debug πληροφορίες στο ποστ σας όταν σας ζητηθεί, μαζί με το μύνημα λάθους που λαμβάνετε (εάν υπάρχει). Σιγουρευτείτε πως έχετε αντικαταστήσει τυχόν κωδικούς με αστερίσκους (*) πριν δημοσιεύσετε το ποστ. <br />Σημείωση: Αυτά είναι μόνο προς πληροφήρηση και δεν σημαίνουν πως θα υπάρξει κάποιο λάθος με την gallery σας.', //cpg1.4
-  'phpinfo' => 'εμφάνιση πληροφοριών php',
-  'notices' => 'Ειδοποιήσεις', //cpg1.4
-);
-
-$lang_language_selection = array(
-  'reset_language' => 'Προεπιλεγμένη γλώσσα',
-  'choose_language' => 'Επιλέξτε την γλώσσα σας',
-);
-
-$lang_theme_selection = array(
-  'reset_theme' => 'Προεπιλεγμένο θέμα',
-  'choose_theme' => 'Επιλέξτε θέμα',
-);
-
-$lang_version_alert = array(
-  'version_alert' => 'Μη υποστιριζόμενη έκδοση!', //cpg1.4
-  'no_stable_version' => 'Χρησιμοποιείτε το Coppermine %s (%s) το οποίο στοχεύει μόνο στους πολύ πεπειραμένους χρήστες - αυτή η έκδοση έρχεται χωρίς υποστήριξη ούτε και εγγυήσεις. Χρησιμοποιήστε την με δικό σας ρίσκο ή υποβιβάστε την στην τελευταία σταθερή έκδοση, εάν χρειάζεστε υποστήριξη!', //cpg1.4
-  'gallery_offline' => 'Η γκαλερί είναι προσωρινά εκτός λειτουργίας και θα είναι ορατή μόνο για εσάς σαν διαχειριστή. Μην ξεχάσετε να την αλλάξετε σε online αφού τελειώσετε την συντήρηση.', //cpg1.4
-);
-
-$lang_create_tabs = array(
-  'previous' => 'προηγούμενο', //cpg1.4
-  'next' => 'επόμενο', //cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File include/init.inc.php
-// ------------------------------------------------------------------------- //
-
-// void
-
-// ------------------------------------------------------------------------- //
-// File keyword.inc.php                                                      //
-// ------------------------------------------------------------------------- //
-
-// void
-
-// ------------------------------------------------------------------------- //
-// File include/picmgmt.inc.php
-// ------------------------------------------------------------------------- //
-
-// void
-
-// ------------------------------------------------------------------------- //
-// File include/plugin_api.inc.php
-// ------------------------------------------------------------------------- //
-$lang_plugin_api = array(
-  'error_wakeup' => "Δεν ήταν δυνατή η αφύπνηση του βοηθήματος '%s'", //cpg1.4
-  'error_install' => "Δεν ήταν δυνατή η εγκατάσταση του βοηθήματος '%s'", //cpg1.4
-  'error_uninstall' => "Δεν ήταν δυνατή η απεγκατάσταση του βοηθήματος '%s'", //cpg1.4
-  'error_sleep' => "Δεν ήταν δυνατή η απεγκατάσταση του βοηθήματος '%s'<br />", //cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File include/smilies.inc.php
-// ------------------------------------------------------------------------- //
-
-if (defined('SMILIES_PHP')) $lang_smilies_inc_php = array(
-  'Exclamation' => 'Θαυμαστικό',
-  'Question' => 'Ερώτηση',
-  'Very Happy' => 'Πολύ χαρούμενος',
-  'Smile' => 'Χαμόγελο',
-  'Sad' => 'Λυπημένος',
-  'Surprised' => 'Έκπληκτος',
-  'Shocked' => 'Σοκαρισμένος',
-  'Confused' => 'Μπερδεμένος',
-  'Cool' => 'Cool',
-  'Laughing' => 'Γελαστός',
-  'Mad' => 'Τρελλός',
-  'Razz' => 'Razz',
-  'Embarassed' => 'Ντροπιασμένος',
-  'Crying or Very sad' => 'Κλαμένος ή πολύ λυπημένος',
-  'Evil or Very Mad' => 'Διαβολικός ή πολύ τρελλός',
-  'Twisted Evil' => 'Διαβολεμένος',
-  'Rolling Eyes' => 'Γυριστά μάτια',
-  'Wink' => 'Κλείσιμο ματιού',
-  'Idea' => 'Ιδέα',
-  'Arrow' => 'Βέλος',
-  'Neutral' => 'Ουδέτερος',
-  'Mr. Green' => 'Κος Πράσινος',
-);
-
-// ------------------------------------------------------------------------- //
-// File addpic.php
-// ------------------------------------------------------------------------- //
-
-// void
-
-// ------------------------------------------------------------------------- //
-// File mode.php //cpg1.4
-// ------------------------------------------------------------------------- //
-
-if (defined('MODE_PHP')) $lang_mode_php = array(
-  0 => 'Εγκατάλειψη λειτουργιών διαχείρισης...',
-  1 => 'Είσοδος στις λειτουργίες διαχείρισης...',
-);
-
-// ------------------------------------------------------------------------- //
-// File albmgr.php
-// ------------------------------------------------------------------------- //
-
-if (defined('ALBMGR_PHP')) $lang_albmgr_php = array(
-  'alb_need_name' => 'Τα άλμπουμς πρέπει να έχουν όνομα !', //js-alert
-  'confirm_modifs' => 'Είστε βέβαιος/η πως θέλετε να κάνετε αυτές τις τροποποιήσεις ;', //js-alert
-  'no_change' => 'Δεν κάνατε καμία αλλαγή !', //js-alert
-  'new_album' => 'Νέο άλμπουμ',
-  'confirm_delete1' => 'Είστε βέβαιος/η πως θέλετε να διαγράψετε αυτό το άλμπουμ ;', //js-alert
-  'confirm_delete2' => '\nΌλες οι φωτογραφίες και τα σχόλια που περιέχει θα χαθούν !', //js-alert
-  'select_first' => 'Επιλέξτε πρώτα ένα άλμπουμ', //js-alert
-  'alb_mrg' => 'Διαχείριση \'Αλμπουμς',
-  'my_gallery' => '* Το φώτο άλμπουμ μου *',
-  'no_category' => '* Χωρίς κατηγορία *',
-  'delete' => 'Διαγραφή',
-  'new' => 'Νέο',
-  'apply_modifs' => 'Εφαρμογή τροποποιήσεων',
-  'select_category' => 'Επιλέξτε κατηγορία',
-);
-
-// ------------------------------------------------------------------------- //
-// File banning.php
-// ------------------------------------------------------------------------- //
-
-if (defined('BANNING_PHP')) $lang_banning_php = array(
-  'title' => 'Αποκλεισμός Χρηστών', //cpg1.4
-  'user_name' => 'Όνομα Χρήστη', //cpg1.4
-  'ip_address' => 'IP Διεύθυνση', //cpg1.4
-  'expiry' => 'Λήξη (κενό σημαίνει μόνιμα)', //cpg1.4
-  'edit_ban' => 'Καταχώρηση αλλαγών', //cpg1.4
-  'delete_ban' => 'Διαγραφή', //cpg1.4
-  'add_new' => 'Προσθήκη Νέου Αποκλεισμού', //cpg1.4
-  'add_ban' => 'Προσθήκη', //cpg1.4
-  'error_user' => 'Αδύνατη η εύρεση του χρήστη', //cpg1.4
-  'error_specify' => 'Πρέπει να καθορίσετε είτε ένα όνομα χρήστη είτε μία IP διεύθυνση', //cpg1.4
-  'error_ban_id' => 'Άκυρη ταυτότητα αποκλεισμού (ban ID)!', //cpg1.4
-  'error_admin_ban' => 'Δεν μπορείτε να αποκλείσετε τον εαυτό σας!', //cpg1.4
-  'error_server_ban' => 'Θέλατε να αποκλείσετε τον server σας; Τσκ Τσκ Τσκ, δεν μπορείτε...', //cpg1.4
-  'error_ip_forbidden' => 'Δεν μπορείτε να αποκλείσετε αυτή την IP διεύθυνση - δεν είναι routable (είναι ιδιωτική) έτσι κι αλλιώς!<br />Εάν θέλετε να επιτρέψετε τον αποκλεισμό ιδιωτικών IP διευθύνσεων, αλλάξτε το αυτό στις <a href="admin.php">Ρυθμίσεις</a> (έχει ουσία μόνο όταν το Coppermine λειτουργεί σε Τοπικό Δίκτυο-LAN).', //cpg1.4
-  'lookup_ip' => 'Έλεγχος μιας IP διεύθυνσης', //cpg1.4
-  'submit' => 'πάμε!', //cpg1.4
-  'select_date' => 'επιλέξτε ημερομηνία', //cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File bridgemgr.php //cpg1.4
-// ------------------------------------------------------------------------- //
-
-if (defined('BRIDGEMGR_PHP')) $lang_bridgemgr_php = array(
-  'title' => 'Οδηγός Γεφυροποίησης (Bridge Wizard)',
-  'warning' => 'Προειδοποίηση: κατά την χρησιμοποίηση αυτού του οδηγού πρέπει να καταλάβετε πως ευαίσθητες πληροφορίες αποστέλλονται μέσω των φορμών html. Χρησιμοποιήστε το μόνο σε δικό σας Η/Υ (και όχι σε κάποιο δημόσιο όπως ένα internet cafe), και σιγουρευτείτε πως έχετε καθαρίσει το cache του πλοηγού ιστοσελίδων και τα προσωρινά αρχεία (temporary files) αφού έχετε τελειώσει, αλλιώς οι άλλοι θα μπορούν να έχουν πρόσβαση στα προσωπικά σας δεδομένα!',
-  'back' => 'πίσω',
-  'next' => 'επόμενο',
-  'start_wizard' => 'Εκκίνηση του οδηγού γεφυροποίησης (bridging wizard)',
-  'finish' => 'Τέλος',
-  'hide_unused_fields' => 'απόκρυψη μη χρησιμοποιημένων πεδίων της φόρμας (συστήνεται)',
-  'clear_unused_db_fields' => 'εκκαθάριση άκυρων καταχωρήσεων της βάσης δεδομένων (συστήνεται)',
-  'custom_bridge_file' => 'το όνομα του προσαρμοσμένου αρχείου γεφυροποίησης (εάν το όνομα του αρχείου γεφυροποίησης είναι <i>myfile.inc.php</i>, καταχωρήστε <i>myfile</i> σε αυτό το πεδίο)',
-  'no_action_needed' => 'Καμιά ενέργεια δεν απαιτείται σε αυτό το βήμα. Απλά κάντε κλικ στο \'επόμενο\' για να συνεχίσετε.',
-  'reset_to_default' => 'Μηδενισμός στην προκαθορισμένη αξία',
-  'choose_bbs_app' => 'επιλέξτε εφαρμογή για γεφυροποίηση με το coppermine',
-  'support_url' => 'Πηγαίνετε εδώ για υποστήριξη για αυτήν την εφαρμογή',
-  'settings_path' => 'διαδρομή που χρησιμοποιείται από την εφαρμογή BBS',
-  'database_connection' => 'σύνδεση βάσης δεδομένων',
-  'database_tables' => 'πίνακες βάσεων δεδομένων',
-  'bbs_groups' => 'BBS ομάδες',
-  'license_number' => 'Αριθμός άδειας',
-  'license_number_explanation' => 'εισάγετε τον αριθμό άδειάς σας (εάν υπάρχει)',
-  'db_database_name' => 'Όνομα Βάσης Δεδομένων',
-  'db_database_name_explanation' => 'Εισάγετε το όνομα της βάσης δεδομένων που χρησιμοποιεί η εφαρμογή BBS',
-  'db_hostname' => 'Host της βάσης δεδομένων',
-  'db_hostname_explanation' => 'Το hostname όπου βρίσκεται η βάση δεδομένων mySQL, συνήθως &quot;localhost&quot;',
-  'db_username' => 'Λογαριασμός χρήστη της βάσης δεδομένων',
-  'db_username_explanation' => 'Ο λογαριασμός χρήστη mySQL που θα χρησιμοποιηθεί για σύνδεση με την εφαρμογή BBS',
-  'db_password' => 'Κωδικός της βάσης δεδομένων',
-  'db_password_explanation' => 'Κωδικός για αυτόν τον λογαριασμό χρήστη της mySQL',
-  'full_forum_url' => 'URL του φόρουμ',
-  'full_forum_url_explanation' => 'Πλήρες URL της εφαρμογής BBS (συμπεριλαμβανομένου του προθέματος http://, π.χ. http://www.yourdomain.tld/forum)',
-  'relative_path_of_forum_from_webroot' => 'Σχετική διαδρομή του φόρουμ',
-  'relative_path_of_forum_from_webroot_explanation' => 'Σχετική διαδρομή της εφαρμογής BBS από φάκελλο του domain (webroot) (Παράδειγμα: εάν η εφαρμογή BBS βρίσκεται στο http://www.yourdomain.tld/forum/, καταχωρήστε &quot;/forum/&quot; σε αυτό το πεδίο)',
-  'relative_path_to_config_file' => 'Σχετική διαδρομή του αρχείο ρυθμίσεων της εφαρμογής BBS (config file)',
-  'relative_path_to_config_file_explanation' => 'Σχετική διαδρομή της εφαρμογής BBS, όπως θα φαίνεται από τον φάκελλο του Coppermine (π.χ. &quot;../forum/&quot; εάν η εφαρμογή BBS βρίσκεται στο http://www.yourdomain.tld/forum/ και το Coppermine στο http://www.yourdomain.tld/gallery/)',
-  'cookie_prefix' => 'Πρόθεμα του cookie',
-  'cookie_prefix_explanation' => 'αυτό θα πρέπει να είναι το όνομα του cookie της εφαρμογής BBS',
-  'table_prefix' => 'Πρόθεμα του πίνακα',
-  'table_prefix_explanation' => 'Πρέπει να είναι ίδιο με το πρόθεμα που διαλέξατε για την εφαρμογή BBS όταν την εγκαταστήσατε.',
-  'user_table' => 'Πίνακας χρηστών',
-  'user_table_explanation' => '(συνήθως η προκαθορισμένη αξία είναι εντάξει, εκτός κι αν η εγκατάσταση της εφαρμογής BBS δεν είναι η συνήθης)',
-  'session_table' => 'Πίνακας συνεδρίας',
-  'session_table_explanation' => '(συνήθως η προκαθορισμένη αξία είναι εντάξει, εκτός κι αν η εγκατάσταση της εφαρμογής BBS δεν είναι η συνήθης)',
-  'group_table' => 'Πίνακας ομάδων',
-  'group_table_explanation' => '(συνήθως η προκαθορισμένη αξία είναι εντάξει, εκτός κι αν η εγκατάσταση της εφαρμογής BBS δεν είναι η συνήθης)',
-  'group_relation_table' => 'Πίνακας σχέσεων ομάδων',
-  'group_relation_table_explanation' => '(συνήθως η προκαθορισμένη αξία είναι εντάξει, εκτός κι αν η εγκατάσταση της εφαρμογής BBS δεν είναι η συνήθης)',
-  'group_mapping_table' => 'Πίνακας χαρτογράφησης ομάδων',
-  'group_mapping_table_explanation' => '(συνήθως η προκαθορισμένη αξία είναι εντάξει, εκτός κι αν η εγκατάσταση της εφαρμογής BBS δεν είναι η συνήθης)',
-  'use_standard_groups' => 'Χρήση τυποποιημένων ομάδων χρηστών BBS',
-  'use_standard_groups_explanation' => 'Χρησιμοποίηση τυποποιημένων (ενσωματωμένων) ομάδων χρηστών (συστήνεται). Αυτό θα διαγράψει όλες τις ρυθμίσεις των διαμορφωμένων ομάδων χρηστών. Απενεργοποιήστε αυτή την επιλογή μόνο εάν ΠΡΑΓΜΑΤΙΚΑ ξέρετε τι κάνετε!',
-  'validating_group' => 'Επικύρωση ομάδας',
-  'validating_group_explanation' => 'Η ταυτότητα (ID) της ομάδας της εφαρμογής BBS όπου θα βρίσκονται οι λογαριασμοί χρηστών που χρειάζονται επικύρωση. Συνήθως η προκαθορισμένη αξία είναι εντάξει, εκτός κι αν η εγκατάσταση της εφαρμογής BBS δεν είναι η συνήθης.',
-  'guest_group' => 'Ομάδα επισκεπτών',
-  'guest_group_explanation' => 'Η ταυτότητα (ID) της ομάδας της εφαρμογής BBS όπου θα βρίσκονται οι επισκέπτες (ανώνυμοι χρήστες). Συνήθως η προκαθορισμένη αξία είναι εντάξει, εκτός κι αν η εγκατάσταση της εφαρμογής BBS δεν είναι η συνήθης.',
-  'member_group' => 'Ομάδα μελών',
-  'member_group_explanation' => 'Η ταυτότητα (ID) της ομάδας της εφαρμογής BBS όπου θα βρίσκονται οι λογαριασμοί των &quot;μελών&quot; (η προκαθορισμένη αξία είναι εντάξει, αλλάξτε την μόνο εάν ξέρετε τι κάνετε)',
-  'admin_group' => 'Ομάδα διαχειριστών',
-  'admin_group_explanation' => 'Η ταυτότητα (ID) της ομάδας της εφαρμογής BBS όπου θα βρίσκονται οι διαχειριστές (η προκαθορισμένη αξία είναι εντάξει, αλλάξτε την μόνο εάν ξέρετε τι κάνετε)',
-  'banned_group' => 'Ομάδα αποκλεισμένων',
-  'banned_group_explanation' => 'Η ταυτότητα (ID) της ομάδας της εφαρμογής BBS όπου θα βρίσκονται οι αποκλεισμένοι χρήστες (η προκαθορισμένη αξία είναι εντάξει, αλλάξτε την μόνο εάν ξέρετε τι κάνετε)',
-  'global_moderators_group' => 'Ομάδα γενικών συντονιστών',
-  'global_moderators_group_explanation' => 'Η ταυτότητα (ID) της ομάδας της εφαρμογής BBS όπου θα βρίσκονται οι γενικοί συντονιστές (η προκαθορισμένη αξία είναι εντάξει, αλλάξτε την μόνο εάν ξέρετε τι κάνετε)',
-  'special_settings' => 'BBS-συγκεκριμένες ρυθμίσεις',
-  'logout_flag' => 'έκδοση phpBB (σημαία αποσύνδεσης)',
-  'logout_flag_explanation' => 'Ποια είναι η έκδοση του BBS (αυτή η ρύθμιση καθορίζει τον τρόπο χειρισμού της αποσύνδεσης)',
-  'use_post_based_groups' => 'Χρησιμοποίηση ομάδων βασισμένων στις δημοσιεύσεις;',
-  'logout_flag_yes' => '2.0.5 ή υψηλότερη',
-  'logout_flag_no' => '2.0.4 ή χαμηλότερη',
-  'use_post_based_groups_explanation' => 'Καθορίζει το εάν οι ομάδες της εφαρμογής BBS που καθορίζονται από τον αριθμό των δημοσιεύσεων ληφθούν υπόψιν (επιτρέπει κοκκώδη-granular διαχείριση των αδειών) ή απλώς οι προεπιλεγμένες ομάδες (κάνει αυκολότερη την διαχείριση, συστήνεται). Μπορείτε να αλλάξετε αυτή τη ρύθμιση και αργότερα.',
-  'use_post_based_groups_yes' => 'ναι',
-  'use_post_based_groups_no' => 'όχι',
-  'error_title' => 'Πρέπει να διορθώσετε αυτά τα λάθη πριν μπορέσετε να συνεχίσετε. Πηγαίνετε στην προηγούμενη οθόνη.',
-  'error_specify_bbs' => 'Πρέπει να διευκρινίσετε ποιαν εφαρμογή θέλετε να γεφυρώσετε με την εγκατάσταση του Coppermine.',
-  'error_no_blank_name' => 'Δεν μπορείτε να αφήσετε κενό το όνομα του διαμορφωμένου αρχείου γεφυροποίησης.',
-  'error_no_special_chars' => 'Το όνομα του αρχείου γεφυροποίησης δεν μπορεί να περιέχει ειδικούς χαρακτήρες εκτός της κάτω παύλας (_) και της παύλας (-)!',
-  'error_bridge_file_not_exist' => 'Το αρχείο γεφυροποίησης %s δεν υπάρχει στον διακομιστή. Ελέγξτε εάν πραγματικά το έχετε ανεβάσει.',
-  'finalize' => 'ενεργοποίηση/απενεργοποίηση ενσωμάτωσης BBS',
-  'finalize_explanation' => 'Οι ρυθμίσεις που έχετε διευκρινίσει μέχρι τώρα έχουν γραφτεί στην βάση δεδομένων, αλλά η ενσωμάτωση της εφαρμογής BBS δεν έχει ενεργοποιηθεί. Μπορείτε να την ενεργοποιήσετε/απενεργοποιήσετε σε οποιαδήποτε στιγμή αργότερα. Σιγουρευτείτε πως θα θυμάστε το όνομα χρήστη και τον κωδικό του διαχειριστή του αυτόνομου Coppermine, ίσως το χρειαστείτε αργότερα για τυχόν αλλαγές. Εάν κάτι πάει στραβά, πηγαίνεται στο %s και απενεργοποιήστε εκεί την ενσωμάτωση του BBS, χρησιμοποιώντας τον αυτόνομο (αγεφυροποίητο) λογαριασμό διαχειριστή (συνήθως αυτόν που δημιουργείτε κατά την εγκατάσταση του Coppermine).',
-  'your_bridge_settings' => 'Οι ρυθμίσεις της γεφυροποίησής σας',
-  'title_enable' => 'Ενεργοποίηση ενσωμάτωσης/γεφυροποίησης με %s',
-  'bridge_enable_yes' => 'ενεργοποίηση',
-  'bridge_enable_no' => 'απενεργοποίηση',
-  'error_must_not_be_empty' => 'δεν πρέπει να είναι άδειο',
-  'error_either_be' => 'πρέπει να είναι είτε %s ή %s',
-  'error_folder_not_exist' => 'ο φάκελλος %s δεν υπάρχει. Διορθώστε την αξία που καταχωρήσατε για το %s',
-  'error_cookie_not_readible' => 'Το Coppermine δεν μπορεί να διαβάσει ένα cookie με το όνομα %s. Διορθώστε την αξία που καταχωρήσατε για το %s, ή πηγαίνετε στον πίνακα ελέγχου της εφαρμογής BBS και σιγουρευτείτε πως η διαδρομή του cookie είναι αναγνώσιμη για το coppermine.',
-  'error_mandatory_field_empty' => 'Δεν μπορείτε να αφήσετε κενό το πεδίο %s - καταχωρήστε την αρμόζουσα αξία.',
-  'error_no_trailing_slash' => 'Δεν πρέπει να υπάρχει κάθετος στο τέλος του πεδίου %s.',
-  'error_trailing_slash' => 'Πρέπει να υπάρχει κάθετος στο τέλος του πεδίου %s.',
-  'error_db_connect' => 'Ήταν αδύνατη η σύνδεση στην βάση δεδομένων mySQL με τα στοιχεία που καταχωρήσατε. Το ακριβές μύνημα λάθους της mySQL ήταν αυτό:',
-  'error_db_name' => 'Άν και το Coppermine μπόρεσε να συνδεθεί, η ανεύρεση της βάσης δεδομένων %s ήταν αδύνατη. Σιγουρευτείτε πως έχετε διευκρινίσει το %s κατάλληλα. Το ακριβές μύνημα λάθους της mySQL ήταν αυτό:',
-  'error_prefix_and_table' => '%s και ',
-  'error_db_table' => 'Η ανεύρεση του πίνακα %s ήταν αδύνατη. Σιγουρευτείτε πως έχετε διευκρινίσει το %s κατάλληλα.',
-  'recovery_title' => 'Διαχειριστής Γεφυροποίησης: αποκατάσταση έκτακτης ανάγκης',
-  'recovery_explanation' => 'Εάν είστε εδώ για να διαχειριστείτε την ενσωμάτωση της εφαρμογής BBS της Coppermine γκαλερί σας, πρέπει να συνδεθείτε πρώτα ως διαχειριστής. Εάν δεν μπορείτε να συνδεθείτε επειδή η γεφυροποίηση δεν λειτουργεί όπως θα έπρεπε, μπορείτε να απενεργοποιήσετε την ενσωμάτωση της εφαρμογής BBS σε αυτή τη σελίδα. Η καταχώρηση του ονόματος χρήστη σας και του κωδικού σας δεν θα σας συνδέσει, αλλά απλά θα απενεργοποιήσει την ενσωμάτωση της εφαρμογής BBS. Αναφερθείτε στο εγχειρίδιο για περισσότερες λεπτομέρειες.',
-  'username' => 'Όνομα Χρήστη',
-  'password' => 'Κωδικός',
-  'disable_submit' => 'Υποβολή',
-  'recovery_success_title' => 'Επιτυχής αυθεντικοποίηση',
-  'recovery_success_content' => 'Έχετε απενεργοποιήσει επιτυχώς την γεφυροποίηση της εφαρμογής BBS. Η εγκατάσταση του Coppermine λειτουργεί τώρα αυτόνομα.',
-  'recovery_success_advice_login' => 'Συνδεθείτε σαν διαχειριστής για να επεξεργαστείτε τις ρυθμίσεις της γεφυροποίησης και/ή να ενεργοποιήσετε πάλι την ενσωμάτωση της εφαρμογής BBS.',
-  'goto_login' => 'Μετάβαση στην σελίδα σύνδεσης',
-  'goto_bridgemgr' => 'Μετάβαση στον διαχειριστή γεφυροποίησης',
-  'recovery_failure_title' => 'Ανεπιτυχής αυθεντικοποίηση',
-  'recovery_failure_content' => 'Παρείχατε λανθασμένα στοιχεία. Θα πρέπει να παρέχετε τα στοιχεία του λογαριασμού διαχειριστή της αυτόνομης έκδοσης (συνήθως του λογαριασμού που δημιουργείται κατά την εγκατάσταση του Coppermine).',
-  'try_again' => 'προσπαθήστε πάλι',
-  'recovery_wait_title' => 'Περιμένετε, ο χρόνος δεν έχει τελειώσει',
-  'recovery_wait_content' => 'Για λόγους ασφαλείας αυτό το πρόγραμμα δεν επιτρέπει αποτυχημένες προσπάθειες σύνδεσης σε μικρό χρονικό διάστημα, γι\' αυτό θα πρέπει να περιμένετε λίγο μέχρι να σας επιτραπεί πάλι να προσπαθήσετε να αυθεντικοποιηθείτε.',
-  'wait' => 'περιμένετε',
-  'create_redir_file' => 'Δημιουργία αρχείου ανακατεύθυνσης (συστήνεται)',
-  'create_redir_file_explanation' => 'Για να ανακατευθύνετε χρήστες πίσω στο Coppermine αφού συνδεθούν στην εφαρμογή BBS, πρέπει να δημιουργηθεί ένα αρχείο ανακατεύθυνσης μέσα στον φάκελλο της εφαρμογής BBS. Όταν αυτή η επιλογή είναι επιλεγμένη, ο διαχειριστής γεφυροποίησης θα προσπαθήσει να δημιουργήσει αυτό το αρχείο για εσάς, ή θα σας δώσει έτοιμο τον κώδικα για τον αντιγράψετε και να τον επικολλήσετε και να δημιουργήσετε έτσι το αρχείο.',
-  'browse' => 'browse',
-);
-
-// ------------------------------------------------------------------------- //
-// File calendar.php //cpg1.4
-// ------------------------------------------------------------------------- //
-
-if (defined('CALENDAR_PHP')) $lang_calendar_php = array(
-  'title' => 'Ημερολόγιο', //cpg1.4
-  'close' => 'Κλείσιμο', //cpg1.4
-  'clear_date' => 'καθαρισμός ημερομηνίας', //cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File catmgr.php
-// ------------------------------------------------------------------------- //
-
-if (defined('CATMGR_PHP')) $lang_catmgr_php = array(
-  'miss_param' => 'Οι παράμετροι που απαιτούνται για \'%s\'λειτουργία δεν δόθηκαν !',
-  'unknown_cat' => 'Η επιλεγμένη κατηγορία δεν υπάρχει στην βάση δεδομένων',
-  'usergal_cat_ro' => 'Τα φώτο άλμπουμ των χρηστών δεν μπορούν να διαγραφούν !',
-  'manage_cat' => 'Διαχείριση κατηγοριών',
-  'confirm_delete' => 'Είστε σίγουροι πως θέλετε να ΔΙΑΓΡΑΨΕΤΕ αυτήν την κατηγορία', //js-alert
-  'category' => 'Κατηγορία',
-  'operations' => 'Λειτουργίες',
-  'move_into' => 'Μετακίνηση σε',
-  'update_create' => 'Ανανέωση/Δημιουργία κατηγορίας',
-  'parent_cat' => 'Δημιουργός κατηγορίας',
-  'cat_title' => 'Τίτλος κατηγορίας',
-  'cat_thumb' => 'Μικρογραφία κατηγορίας',
-  'cat_desc' => 'Περιγραφή κατηγορίας',
-  'categories_alpha_sort' => 'Αλφαβητική ταξινόμηση κατηγοριών (αντί για την προσαρμοσμένη διάταξη)', //cpg1.4
-  'save_cfg' => 'Αποθήκευση ρυθμίσεων', //cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File admin.php //cpg1.4
-// ------------------------------------------------------------------------- //
-
-if (defined('ADMIN_PHP')) $lang_admin_php = array(
-  'title' => 'Ρυθμίσεις της γκαλερί', //cpg1.4
-  'manage_exif' => 'Διαχείριση εμφάνισης των πληροφοριών exif', //cpg1.4
-  'manage_plugins' => 'Διαχείριση βοηθημάτων', //cpg1.4
-  'manage_keyword' => 'Διαχείριση λέξεων κλειδιών', //cpg1.4
-  'restore_cfg' => 'Επαναφορά αρχικών ρυθμίσεων',
-  'save_cfg' => 'Αποθήκευση νέων ρυθμίσεων',
-  'notes' => 'Σημειώσεις',
-  'info' => 'Πληροφορίες',
-  'upd_success' => 'Οι ρυθμίσεις του Coppermine ανανεώθηκαν',
-  'restore_success' => 'Οι αρχικές ρυθμίσεις του Coppermine αποκαταστάθηκαν',
-  'name_a' => 'Ανοδικά κατά όνομα',
-  'name_d' => 'Καθοδικά κατά όνομα',
-  'title_a' => 'Ανοδικά κατά τίτλο',
-  'title_d' => 'Καθοδικά κατά τίτλο',
-  'date_a' => 'Ανοδικά κατά ημερομηνία',
-  'date_d' => 'Καθοδικά κατά ημερομηνία',
-  'pos_a' => 'Ανοδικά κατά θέση', //cpg1.4
-  'pos_d' => 'Καθοδικά κατά θέση', //cpg1.4
-  'th_any' => 'Μέγιστη Αναλογία',
-  'th_ht' => 'Ύψος',
-  'th_wd' => 'Πλάτος',
-  'label' => 'ετικέτα',
-  'item' => 'Στοιχείο',
-  'debug_everyone' => 'Όλοι',
-  'debug_admin' => 'Μόνο διαχειριστής',
-  'no_logs'=> 'Απενεργοποιημένο', //cpg1.4
-  'log_normal'=> 'Κανονικά', //cpg1.4
-  'log_all' => 'Όλα', //cpg1.4
-  'view_logs' => 'Εμφάνιση αναγραφών', //cpg1.4
-  'click_expand' => 'κάντε κλικ στο όνομα του τμήματος για επέκταση', //cpg1.4
-  'expand_all' => 'Επέκταση όλων', //cpg1.4
-  'notice1' => '(*) Αυτές οι ρυθμίσεις δεν πρέπει να αλλάξουν εάν έχετε ήδη αρχεία στην βάση δεδομένων σας.', //cpg1.4 - (relocated)
-  'notice2' => '(**) Όταν αλλάξετε αυτή τη ρύθμιση, θα επηρεαστούν μόνο τα αρχεία που θα προστεθούν από το σημείο εκείνο και μετά, γι\' αυτό συστήνεται να μην αλλαχθεί η ρύθμιση εάν υπάρχουν ήδη αρχεία στην γκαλερί. Μπορείτε, εντούτοις, να εφαρμόσετε τις αλλαγές στα υπάρχοντα αρχεία με τα &quot;<a href="util.php">εργαλεία διαχειριστή</a> (αλλαγή διαστάσεων φωτογραφιών)&quot; από τις επιλογές διαχειριστή.', //cpg1.4 - (relocated)
-  'notice3' => '(***) Όλα τα αρχεία αναγραφής να γράφονται στα αγγλικά.', //cpg1.4 - (relocated)
-  'bbs_disabled' => 'Λειτουργία απενεργοποιημένη κατά την χρήση της ενσωμaτωμένης εφαρμογής bb', //cpg1.4
-  'auto_resize_everyone' => 'Όλοι', //cpg1.4
-  'auto_resize_user' => 'Μόνο χρήστες', //cpg1.4
-  'ascending' => 'ανοδικά', //cpg1.4
-  'descending' => 'καθοδικά', //cpg1.4
-);
-
-if (defined('ADMIN_PHP')) $lang_admin_data = array(
-  'Γενικές ρυθμίσεις',
-  array('Όνομα γκαλερί', 'gallery_name', 0, 'f=index.htm&amp;as=admin_general_name&amp;ae=admin_general_name_end'), //cpg1.4
-  array('Περιγραφή γκαλερί', 'gallery_description', 0, 'f=index.htm&amp;as=admin_general_description&amp;ae=admin_general_description_end'), //cpg1.4
-  array('Email διαχειριστή της γκαλερί', 'gallery_admin_email', 0, 'f=index.htm&amp;as=admin_general_email&amp;ae=admin_general_email_end'), //cpg1.4
-  array('URL του φακέλλου της γκαλερί (χωρίς το \'index.php\' ή κάτι παρόμοιο στο τέλος)', 'ecards_more_pic_target', 0, 'f=index.htm&amp;as=admin_general_coppermine-url&amp;ae=admin_general_coppermine-url_end'), //cpg1.4
-  array('URL της κεντρικής σελίδας', 'home_target', 0, 'f=index.htm&amp;as=admin_general_home-url&amp;ae=admin_general_home-url_end'), //cpg1.4
-  array('Επιτρέψτε κατέβασμα-ZIP των αγαπημένων', 'enable_zipdownload', 1, 'f=index.htm&amp;as=admin_general_zip-download&amp;ae=admin_general_zip-download_end'), //cpg1.4
-  array('Διαφορά χρονικής ζώνης σε σχέση με την ώρα GMT (τωρινή ώρα: ' . localised_date(-1, $comment_date_fmt) . ')','time_offset',0, 'f=index.htm&amp;as=admin_general_time-offset&amp;ae=admin_general_time-offset_end&amp;top=1'), //cpg1.4
-  array('Επιτρέψτε τους κρυπτογραφημένους κωδικούς πρόσβασης (δεν μπορεί να ανατραπεί)','enable_encrypted_passwords',1, 'f=index.htm&amp;as=admin_general_encrypt_password_start&amp;ae=admin_general_encrypt_password_end&amp;top=1'), // cpg 1.4
-  array('Επιτρέψτε τις εικόνες βοήθειας (βοήθεια διαθέσιμη στα αγγλικά μόνο)','enable_help',9, 'f=index.htm&amp;as=admin_general_help&amp;ae=admin_general_help_end'), //cpg1.4
-  array('Επιτρέψτε τις λέξεις-κλειδιά/συνδέσμους στην αναζήτηση','clickable_keyword_search',14, 'f=index.htm&amp;as=admin_general_keywords_start&amp;ae=admin_general_keywords_end'), //cpg1.4
-  array('Επιτρέψτε τα βοηθήματα', 'enable_plugins', 12, 'f=index.htm&amp;as=admin_general_enable-plugins&amp;ae=admin_general_enable-plugins_end'),  //cpg1.4
-  array('Επιτρέψτε τον αποκλεισμό μη κατευθύνσιμων IP διεθύνσεων (ιδιωτικών/LAN IPs)', 'ban_private_ip', 1,  'f=index.htm&amp;as=admin_general_private-ip&amp;ae=admin_general_private-ip_end'), //cpg1.4
-  array('Πλοηγήσιμη διαδικασία προσθήκης πολλών αρχείων', 'browse_batch_add', 1, 'f=index.htm&amp;as=admin_general_browsable_batch_add&amp;ae=admin_general_browsable_batch_add_end'), //cpg1.4
-
-  'Γλώσσα &amp; ρυθμίσεις κωδικοποίησης χαρακτήρων',
-  array('Γλώσσα', 'lang', 5, 'f=index.htm&amp;as=admin_language_language&amp;ae=admin_language_language_end'), //cpg1.4
-  array('Χρησιμοποίηση Αγλικών εάν η μεταφρασμένη φράση δεν υπάρχει;', 'language_fallback', 1, 'f=index.htm&amp;as=admin_language_fallback&amp;ae=admin_language_fallback_end'), //cpg1.4
-  array('Κωδικοποίηση χαρακτήρων', 'charset', 4, 'f=index.htm&amp;as=admin_language_charset&amp;ae=admin_language_charset_end'), //cpg1.4
-  array('Εμφάνιση λίστας γλωσσών', 'language_list', 1, 'f=index.htm&amp;as=admin_language_list&amp;ae=admin_language_list_end'), //cpg1.4
-  array('Εμφάνιση σημαιών των γλωσσών', 'language_flags', 8, 'f=index.htm&amp;as=admin_language_flags&amp;ae=admin_language_flags_end&amp;top=1'), //cpg1.4
-  array('Εμφάνιση επιλογής &quot;μηδενισμού&quot; στην επιλογή γλωσσών', 'language_reset', 1, 'f=index.htm&amp;as=admin_language_reset&amp;ae=admin_language_reset_end&amp;top=1'), //cpg1.4
-  //array('Εμφάνιση προηγούμενου/επόμενου στις σελίδες με ετικέττες', 'previous_next_tab', 1), //cpg1.4
-
-  'Ρυθμίσεις Θεμάτων',
-  array('Θέμα', 'theme', 6, 'f=index.htm&amp;as=admin_theme_theme&amp;ae=admin_theme_theme_end'), //cpg1.4
-  array('Εμφάνιση λίστας θεμάτων', 'theme_list', 1, 'f=index.htm&amp;as=admin_theme_theme_list&amp;ae=admin_theme_theme_list_end'), //cpg1.4
-  array('Εμφάνιση επιλογής &quot;μηδενισμού&quot; στην επιλογή θεμάτων', 'theme_reset', 1, 'f=index.htm&amp;as=admin_theme_theme_reset&amp;ae=admin_theme_theme_reset_end'), //cpg1.4
-  array('Εμφάνιση συχνών ερωτησεων και απαντήσεων (FAQ)', 'display_faq', 1, 'f=index.htm&amp;as=admin_theme_faq&amp;ae=admin_theme_faq_end'), //cpg1.4
-  array('Όνομα συνδέσμου διαμορφοποιημένου μενού', 'custom_lnk_name', 0,'f=index.htm&amp;as=admin_theme_custom_lnk_name&amp;ae=admin_theme_custom_lnk_name_end'), //cpg1.4
-  array('URL συνδέσμου διαμορφοποιημένου μενού', 'custom_lnk_url', 0,'f=index.htm&amp;as=admin_language_custom_lnk_url&amp;ae=admin_language_custom_lnk_url_end'), //cpg1.4
-  array('Εμφάνιση βοήθειας bbcode', 'show_bbcode_help', 1, 'f=index.htm&amp;as=admin_theme_bbcode&amp;ae=admin_theme_bbcode_end&amp;top=1'), //cpg1.4
-  array('Εμφάνιση του vanity block στα θέματα που είναι δηλωμένα ως συμβατά με XHTML και CSS','vanity_block',1, 'f=index.htm&amp;as=vanity_block&amp;ae=vanity_block_end'), //cpg1.4
-  array('Διαδρομή για την διαμορφοποιημένη επιγραφή (custom header)', 'custom_header_path', 0, 'f=index.htm&amp;as=admin_theme_include_path_start&amp;ae=admin_theme_include_path_end'), //cpg1.4
-  array('Διαδρομή για την διαμορφοποιημένη υποσημείωση (custom footer)', 'custom_footer_path', 0, 'f=index.htm&amp;as=admin_theme_include_path_start&amp;ae=admin_theme_include_path_end'), //cpg1.4
-
-  'Εμφάνιση Λίστας Αλμπουμ',
-  array('Πλάτος του κυρίως πίνακα (εικονοστοιχεία ή %)', 'main_table_width', 0, 'f=index.htm&amp;as=admin_album_table-width&amp;ae=admin_album_table-width_end'), //cpg1.4
-  array('Αριθμός επιπέδων κατηγοριών προς εμφάνιση', 'subcat_level', 0, 'f=index.htm&amp;as=admin_album_category-levels&amp;ae=admin_album_category-levels_end'), //cpg1.4
-  array('Αριθμός άλμπουμ προς εμφάνιση', 'albums_per_page', 0, 'f=index.htm&amp;as=admin_album_number&amp;ae=admin_album_number_end'), //cpg1.4
-  array('Αριθμός στηλών για την λίστα των άλμπουμς', 'album_list_cols', 0, 'f=index.htm&amp;as=admin_album_columns&amp;ae=admin_album_columns_end'), //cpg1.4
-  array('Μέγεθος των μικρογραφιών σε εικονοστοιχεία', 'alb_list_thumb_size', 0, 'f=index.htm&amp;as=admin_album_thumbnail-size&amp;ae=admin_album_thumbnail-size_end'), //cpg1.4
-  array('Περιεχόμενο κεντρικής σελίδας', 'main_page_layout', 0, 'f=index.htm&amp;as=admin_album_list_content&amp;ae=admin_album_list_content_end'), //cpg1.4
-  array('Εμφάνιση μικρογραφιών του πρώτου επιπέδου άλμπουμ στις κατηγορίες','first_level',1, 'f=index.htm&amp;as=admin_album_first-level_thumbs&amp;ae=admin_album_first-level_thumbs_end'), //cpg1.4
-  array('Αλφαβητική ταξινόμηση κατηγοριών (αντί της διαμορφωμένης σειράς)','categories_alpha_sort',1, 'f=index.htm&amp;as=admin_album_list_alphasort_start&amp;ae=admin_album_list_alphasort_end'), //cpg1.4
-  array('Εμφάνιση αριθμού συνδεόμενων αρχείων','link_pic_count',1, 'f=index.htm&amp;as=admin_album_linked_files_start&amp;ae=admin_album_linked_files_end'), //cpg1.4
-
-  'Εμφάνιση μικρογραφιών',
-  array('Αριθμός στηλών στην σελίδα με τις μικρογραφίες', 'thumbcols', 0, 'f=index.htm&amp;as=admin_thumbnail_columns&amp;ae=admin_thumbnail_columns_end'), //cpg1.4
-  array('Αριθμός γραμμών στην σελίδα με τις μικρογραφίες', 'thumbrows', 0, 'f=index.htm&amp;as=admin_thumbnail_rows&amp;ae=admin_thumbnail_rows_end'), //cpg1.4
-  array('Ανώτερος αριθμός ετικεττών προς εμφάνιση', 'max_tabs', 10, 'f=index.htm&amp;as=admin_thumbnail_tabs&amp;ae=admin_thumbnail_tabs_end'), //cpg1.4
-  array('Εμφάνιση λεζάντας αρχείου (επιπρόσθετα του τίτλου) κάτω από την μικρογραφία', 'caption_in_thumbview', 1, 'f=index.htm&amp;as=admin_thumbnail_display_caption&amp;ae=admin_thumbnail_display_caption_end'), //cpg1.4
-  array('Εμφάνιση αριθμού εμφανίσεων κάτω από την μικρογραφία', 'views_in_thumbview', 1, 'f=index.htm&amp;as=admin_thumbnail_display_views&amp;ae=admin_thumbnail_display_views_end'), //cpg1.4
-  array('Εμφάνιση αριθμού σχολίων κάτω από την μικρογραφί', 'display_comment_count', 1, 'f=index.htm&amp;as=admin_thumbnail_display_comments&amp;ae=admin_thumbnail_display_comments_end'), //cpg1.4
-  array('Εμφάνιση του προσθέτη κάτω από την μικρογραφία', 'display_uploader', 1, 'f=index.htm&amp;as=admin_thumbnail_display_uploader&amp;ae=admin_thumbnail_display_uploader_end'), //cpg1.4
-  //array('Εμφάνιση ονόματος διαχειριστή των προσθετών κάτω από την μικρογραφία', 'display_admin_uploader', 1, 'f=index.htm&amp;as=admin_thumbnail_display_admin_uploader&amp;ae=admin_thumbnail_display_admin_uploader_end'), //cpg1.4
-  array('Εμφάνιση ονόματος αρχείου κάτω από την μικρογραφία', 'display_filename', 1, 'f=index.htm&amp;as=admin_thumbnail_display_filename&amp;ae=admin_thumbnail_display_filename_end'), //cpg1.4
-  //array('Εμφάνιση περιγραφής του άλμπουμ', 'alb_desc_thumb', 1, 'f=index.htm&amp;as=admin_thumbnail_display_description&amp;ae=admin_thumbnail_display_description_end'), //cpg1.4
-  array('Προεπιλεγμένη ταξινόμηση για τα αρχεία', 'default_sort_order', 3, 'f=index.htm&amp;as=admin_thumbnail_default_sortorder&amp;ae=admin_thumbnail_default_sortorder_end'), //cpg1.4
-  array('Ελάχιστος αριθμός ψήφων για την εμφάνιση ενός αρχείου στην λίστα \'υψηλά-βαθμολογημένα\'', 'min_votes_for_rating', 0, 'f=index.htm&amp;as=admin_thumbnail_minimum_votes&amp;ae=admin_thumbnail_minimum_votes_end'), //cpg1.4
-
-  'Εμφάνιση εικόνων', //cpg1.4
-  array('Πλάτος πίνακα για εμφάνιση αρχείου (εικονοστοιχεία ή %)', 'picture_table_width', 0, 'f=index.htm&amp;as=admin_image_comment_table-width&amp;ae=admin_image_comment_table-width_end'), //cpg1.4
-  array('Προκαθοριμένη εμφάνιση πληροφοριών αρχείων', 'display_pic_info', 1, 'f=index.htm&amp;as=admin_image_comment_info_visible&amp;ae=admin_image_comment_info_visible_end'), //cpg1.4
-  array('Μέγιστος αριθμός χαρακτήρων για την περιγραφή μιας εικόνας', 'max_img_desc_length', 0, 'f=index.htm&amp;as=admin_image_comment_descr_length&amp;ae=admin_image_comment_descr_length_end'), //cpg1.4
-  array('Μέγιστος αριθμός χαρακτήρων σε μία λέξη', 'max_com_wlength', 0, 'f=index.htm&amp;as=admin_image_comment_chars_per_word&amp;ae=admin_image_comment_chars_per_word_end'), //cpg1.4
-  array('Εμφάνιση λωρίδας ταινιών', 'display_film_strip', 1, 'f=index.htm&amp;as=admin_image_comment_filmstrip_toggle&amp;ae=admin_image_comment_filmstrip_toggle_end'), //cpg1.4
-  array('Εμφάνιση ονόματος αρχείου κάτω από τις μικρογραφίες της λωρίδας ταινιών', 'display_film_strip_filename', 1, 'f=index.htm&amp;as=admin_image_comment_display_film_strip_filename&amp;ae=admin_image_comment_display_film_strip_filename_end'), //cpg1.4
-  array('Αριθμός αντικειμένων στην λωρίδα ταινιών', 'max_film_strip_items', 0, 'f=index.htm&amp;as=admin_image_comment_filmstrip_number&amp;ae=admin_image_comment_filmstrip_number_end'), //cpg1.4
-  array('Χρόνος εναλλαγής φωτογραφιών κατά την προβολή διαφανειών σε χιλιοστά δευτερολέπτου (1 δευτερόλεπτο = 1000 χιλιοστά δευτερολέπτου)', 'slideshow_interval', 0, 'f=index.htm&amp;as=admin_image_comment_slideshow_interval&amp;ae=admin_image_comment_slideshow_interval_end'), //cpg1.4
-
-  'Ρυθμίσεις σχολίων', //cpg1.4
-  array('Φιλτράρισμα άσχημων λέξεων στα σχόλια', 'filter_bad_words', 1, 'f=index.htm&amp;as=admin_image_comment_bad_words&amp;ae=admin_image_comment_bad_words_end'), //cpg1.4
-  array('Να επιτρέπονται φατσούλες στα σχόλια', 'enable_smilies', 1, 'f=index.htm&amp;as=admin_image_comment_smilies&amp;ae=admin_image_comment_smilies_end'), //cpg1.4
-  array('Να επιτρέπονται διαδοχικά σχόλια σε ένα αρχείο από τον ίδιο χρήστη (απενεργοποίηση προστασίας από πλημμύρα)', 'disable_comment_flood_protect', 1, 'f=index.htm&amp;as=admin_image_comment_flood&amp;ae=admin_image_comment_flood_end'), //cpg1.4
-  array('Μέγιστος αριθμός γραμμών σε ένα σχόλιο', 'max_com_lines', 0, 'f=index.htm&amp;as=admin_image_comment_lines&amp;ae=admin_image_comment_lines_end'), //cpg1.4
-  array('Μέγιστος αριθμός χαρακτήρων σε ένα σχόλιο', 'max_com_size', 0, 'f=index.htm&amp;as=admin_image_comment_length&amp;ae=admin_image_comment_length_end'), //cpg1.4
-  array('Ειδοποίηση διαχειριστή για τα σχόλια με email', 'email_comment_notification', 1, 'f=index.htm&amp;as=admin_image_comment_admin_notify&amp;ae=admin_image_comment_admin_notify_end'), //cpg1.4
-  array('Ταξινόμηση των σχολίων', 'comments_sort_descending', 17, 'f=index.htm&amp;as=admin_comment_sort_start&amp;ae=admin_comment_sort_end'), //cpg1.4
-  array('Πρόθεμα για τους ανώνυμους συντάκτες σχολίων', 'comments_anon_pfx', 0, 'f=index.htm&amp;as=comments_anon_pfx&amp;ae=comments_anon_pfx_end'), //cpg1.4
-
-  'Ρυθμίσεις αρχείων και μικρογραφιών',
-  array('Ποιότητα αρχείων JPEG', 'jpeg_qual', 0, 'f=index.htm&amp;as=admin_picture_thumbnail_jpeg_quality&amp;ae=admin_picture_thumbnail_jpeg_quality_end'), //cpg1.4
-  array('Μέγιστες διαστάσεις μιας μικρογραφίας <a href="#notice2" class="clickable_option">**</a>', 'thumb_width', 0, 'f=index.htm&amp;as=admin_picture_thumbnail_max-dimension&amp;ae=admin_picture_thumbnail_max-dimension_end'), //cpg1.4
-  array('Χρήση διαστάσεων (πλάτος ή ύψος ή Μέγιστη αναλογία για τις μικρογραφίες) <a href="#notice2" class="clickable_option">**</a>', 'thumb_use', 7, 'f=index.htm&amp;as=admin_picture_thumbnail_use-dimension&amp;ae=admin_picture_thumbnail_use-dimension_end'), //cpg1.4
-  array('Δημιουργία ενδιάμεσων φωτογραφιών','make_intermediate',1, 'f=index.htm&amp;as=admin_picture_thumbnail_intermediate_toggle&amp;ae=admin_picture_thumbnail_intermediate_toggle_end'), //cpg1.4
-  array('Μέγιστο πλάτος ή ύψος μιας ενδιάμεσης φωτογραφίας ή βίντεο <a href="#notice2" class="clickable_option">**</a>', 'picture_width', 0, 'f=index.htm&amp;as=admin_picture_thumbnail_intermediate_dimension&amp;ae=admin_picture_thumbnail_intermediate_dimension_end'), //cpg1.4
-  array('Μέγιστο μέγεθος προστιθέμενων αρχείων (KB)', 'max_upl_size', 0, 'f=index.htm&amp;as=admin_picture_thumbnail_max_upload_size&amp;ae=admin_picture_thumbnail_max_upload_size_end'), //cpg1.4
-  array('Μέγιστο πλάτος ή ύψος προστιθέμενων φωτογραφιών/βίντεο (εικονοστοιχεία)', 'max_upl_width_height', 0, 'f=index.htm&amp;as=admin_picture_thumbnail_max_upload_dimension&amp;ae=admin_picture_thumbnail_max_upload_dimension_end'), //cpg1.4
-  array('Αυτόματη αναμεγέθυνση φωτογραφιών που είναι μεγαλύτερες από το μέγιστο πλάτος ή ύψος', 'auto_resize', 16, 'f=index.htm&amp;as=admin_picture_thumbnail_auto-resize&amp;ae=admin_picture_thumbnail_auto-resize_end'), //cpg1.4
-
-  'Προχωρημένες ρυθμίσεις αρχείων και μικρογραφιών',
-  array('Τα άλμπουμς μπορούν να είναι ιδιωτικά (Σημείωση: εάν αλλάξετε από \'ναι\' σε \'όχι\' κάθε υπάρχων ιδιωτικό άλμπουμ θα γίνει δημόσιο)', 'allow_private_albums', 1, 'f=index.htm&amp;as=admin_picture_thumb_advanced_private_toggle&amp;ae=admin_picture_thumb_advanced_private_toggle_end'), //cpg1.4
-  array('Εμφάνιση εικόνας ιδιωτικών άλμπουμς στους επισκέπτες','show_private',1, 'f=index.htm&amp;as=admin_picture_thumb_advanced_private_icon_show&amp;ae=admin_picture_thumb_advanced_private_icon_show_end'), //cpg1.4
-  array('Απαγορευμένοι χαρακτήρες στα ονόματα αρχείων', 'forbiden_fname_char',0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_filename_forbidden_chars&amp;ae=admin_picture_thumb_advanced_filename_forbidden_chars_end'), //cpg1.4
-  //array('Αποδεκτές επεκτάσεις αρχείων για τις προστιθέμενες φωτογραφίες', 'allowed_file_extensions',0, 'f=index.htm&amp;as=&amp;ae=_end'), //cpg1.4
-  array('Επιτρεπόμεοι τύποι εικόνων', 'allowed_img_types',0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_pic_extensions&amp;ae=admin_picture_thumb_advanced_pic_extensions_end'), //cpg1.4
-  array('Επιτρεπόμενοι τύποι ταινιών', 'allowed_mov_types',0, 'f=index.htm&amp;as=admin_thumbs_advanced_movie&amp;ae=admin_thumbs_advanced_movie_end'), //cpg1.4
-  array('Αυτόματο ξεκίνημα ταινίας', 'media_autostart',1, 'f=index.htm&amp;as=admin_movie_autoplay&amp;ae=admin_movie_autoplay_end'), //cpg1.4
-  array('Επιτρεπόμενοι τύποι ήχων', 'allowed_snd_types',0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_audio_extensions&amp;ae=admin_picture_thumb_advanced_audio_extensions_end'), //cpg1.4
-  array('Επιτρεπόμενοι τύποι κειμένων', 'allowed_doc_types',0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_doc_extensions&amp;ae=admin_picture_thumb_advanced_doc_extensions_end'), //cpg1.4
-  array('Μέθοδος αλλαγής μεγέθους φωτογραφιών','thumb_method',2, 'f=index.htm&amp;as=admin_picture_thumb_advanced_resize_method&amp;ae=admin_picture_thumb_advanced_resize_method_end'), //cpg1.4
-  array('Διαδρομή για την εφαρμογή \'μετατροπής\' ImageMagick (παράδειγμα /usr/bin/X11/)', 'impath', 0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_im_path&amp;ae=admin_picture_thumb_advanced_im_path_end'), //cpg1.4
-  //array('Επιτρεπόμενοι τύποι φωτογραφιών (ισχύει μόνο για το ImageMagick)', 'allowed_img_types',0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_allowed_imagetypes&amp;ae=admin_picture_thumb_advanced_allowed_imagetypes_end'), //cpg1.4
-  array('Επιλογές εντολών γραμμής για το ImageMagick', 'im_options', 0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_im_commandline&amp;ae=admin_picture_thumb_advanced_im_commandline_end'), //cpg1.4
-  array('Ανάγνωση πληροφοριών EXIF στα αρχεία JPEG', 'read_exif_data', 13, 'f=index.htm&amp;as=admin_picture_thumb_advanced_exif&amp;ae=admin_picture_thumb_advanced_exif_end'), //cpg1.4
-  array('Ανάγνωση πληροφοριών IPTC στα αρχεία JPEG', 'read_iptc_data', 1, 'f=index.htm&amp;as=admin_picture_thumb_advanced_iptc&amp;ae=admin_picture_thumb_advanced_iptc_end'), //cpg1.4
-  array('Φάκελλος των άλμπουμς <a href="#notice1" class="clickable_option">*</a>', 'fullpath', 0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_albums_dir&amp;ae=admin_picture_thumb_advanced_albums_dir_end'), //cpg1.4
-  array('Φάκελλος των αρχείων χρηστών <a href="#notice1" class="clickable_option">*</a>', 'userpics', 0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_userpics_dir&amp;ae=admin_picture_thumb_advanced_userpics_dir_end'), //cpg1.4
-  array('Πρόθεμα για τις ενδιάμεσες φωτογραφίες <a href="#notice1" class="clickable_option">*</a>', 'normal_pfx', 0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_intermediate_prefix&amp;ae=admin_picture_thumb_advanced_intermediate_prefix_end'), //cpg1.4
-  array('Πρόθεμα για τις μικρογραφίες <a href="#notice1" class="clickable_option">*</a>', 'thumb_pfx', 0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_thumbs_prefix&amp;ae=admin_picture_thumb_advanced_thumbs_prefix_end'), //cpg1.4
-  array('Προεπιλεγμένες ρυθμίσεις για φακέλλους', 'default_dir_mode', 0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_chmod_folder&amp;ae=admin_picture_thumb_advanced_chmod_folder_end'), //cpg1.4
-  array('Προεπιλεγμένες ρυθμίσεις για αρχεία', 'default_file_mode', 0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_chmod_files&amp;ae=admin_picture_thumb_advanced_chmod_files_end'), //cpg1.4
-
-  'Ρυθμίσεις χρηστών',
-  array('Να επιτρέπεται η εγγραφή νέων χρηστών', 'allow_user_registration', 1, 'f=index.htm&amp;as=admin_allow_registration&amp;ae=admin_allow_registration_end'), //cpg1.4
-  array('Να επιτρέπεται η πρόσβαση σε μη-αυθεντικοποιημένους (επισκέπτες ή ανώνυμους) χρήστες', 'allow_unlogged_access', 1, 'f=index.htm&amp;as=admin_allow_unlogged_access&amp;ae=admin_allow_unlogged_access_end'), //cpg1.4
-  array('Η εγγραφή νέων χρηστών χρειάζεται επαλήθευση με email', 'reg_requires_valid_email', 1, 'f=index.htm&amp;as=admin_registration_verify&amp;ae=admin_registration_verify_end'), //cpg1.4
-  array('Ενημέρωση διαχειριστή με email για νέες εγγραφές', 'reg_notify_admin_email', 1, 'f=index.htm&amp;as=admin_registration_notify&amp;ae=admin_registration_notify_end'), //cpg1.4
-  array('Ενεργοποίηση εγγραφών από διαχειριστή', 'admin_activation', 1, 'f=index.htm&amp;as=admin_activation&amp;ae=admin_activation_end'),  //cpg1.4
-  array('Να επιτρέπεται σε δύο χρήστες να έχουν την ίδια email διεύθυνση', 'allow_duplicate_emails_addr', 1, 'f=index.htm&amp;as=admin_allow_duplicate_emails_addr&amp;ae=admin_allow_duplicate_emails_addr_end'), //cpg1.4
-  array('Ενημέρωση διαχειριστή/ών για προσθήκες χρηστών που περιμένουν έγκριση', 'upl_notify_admin_email', 1, 'f=index.htm&amp;as=admin_approval_notify&amp;ae=admin_approval_notify_end'), //cpg1.4
-  array('Εμφάνιση λίστας μελών σε αυθεντικοποιημένους χρήστες', 'allow_memberlist', 1, 'f=index.htm&amp;as=admin_user_memberlist&amp;ae=admin_user_memberlist_end'), //cpg1.4
-  array('Να επιτρέπεται στους χρήστες η αλλαγή της email διεύθυνσής τους στο προφίλ τους', 'allow_email_change', 1, 'f=index.htm&amp;as=admin_user_allow_email_change&amp;ae=admin_user_allow_email_change_end'), //cpg1.4
-  array('Να επιτρέπεται στους χρήστες η διατήρηση ελέγχου των φωτογραφιών τους σε δημόσιες γκαλερί', 'users_can_edit_pics', 1, 'f=index.htm&amp;as=admin_user_editpics_public_start&amp;ae=admin_user_editpics_public_end'), //cpg1.4
-  array('Αριθμός αποτυχημένων προσπαθειών για αυθεντικοποίηση μέχρι τον προσωρινό αποκλεισμό (προς αποφυγή επιθέσεων κλοπής κωδικών)', 'login_threshold', 0, 'f=index.htm&amp;as=admin_user_login_start&amp;ae=admin_user_login_end'), //cpg1.4
-  array('Διάρκεια προσωρινού αποκλεισμού μετά από αποτυχημένες προσπάθειες αυθεντικοποίησης', 'login_expiry', 0, 'f=index.htm&amp;as=admin_user_login_start&amp;ae=admin_user_login_end'), //cpg1.4
-  array('Ενεργοποίση αποστολής αναφορών στους διαχειριστές', 'report_post', 1, 'f=index.htm&amp;as=admin_user_enable_report&amp;ae=admin_user_enable_report_end'),  //cpg1.4
-
-// custom profile fields,  //cpg1.4
-  'Διαμορφοποιήσιμα πεδία για προφίλ χρηστών (αφήστε τα κενά εάν δεν χρησιμοποιούνται).
-  Χρησιμοποιήστε το Προφίλ 6 για μεγάλες καταχωρήσεις, όπως βιογραφίες', //cpg1.4
-  array('Όνομα προφίλ 1', 'user_profile1_name', 0, 'f=index.htm&amp;as=admin_custom&amp;ae=admin_custom_end'), //cpg1.4
-  array('Όνομα προφίλ 2', 'user_profile2_name', 0), //cpg1.4
-  array('Όνομα προφίλ 3', 'user_profile3_name', 0), //cpg1.4
-  array('Όνομα προφίλ 4', 'user_profile4_name', 0), //cpg1.4
-  array('Όνομα προφίλ 5', 'user_profile5_name', 0), //cpg1.4
-  array('Όνομα προφίλ 6', 'user_profile6_name', 0), //cpg1.4
-
-  'Διαμορφοποιήσιμα πεδία για περιγραφή εικόνων (αφήστε τα κενά εάν δεν χρησιμοποιούνται)',
-  array('Όνομα πεδίου 1', 'user_field1_name', 0, 'f=index.htm&amp;as=admin_custom_image&amp;ae=admin_custom_image_end'), //cpg1.4
-  array('Όνομα πεδίου 2', 'user_field2_name', 0),
-  array('Όνομα πεδίου 3', 'user_field3_name', 0),
-  array('Όνομα πεδίου 4', 'user_field4_name', 0),
-
-  'Ρυθμίσεις για τα cookies',
-  array('Όνομα του cookie', 'cookie_name', 0, 'f=index.htm&amp;as=admin_cookie_name&amp;ae=admin_cookie_name_end'), //cpg1.4
-  array('Διαδρομή του cookie', 'cookie_path', 0, 'f=index.htm&amp;as=admin_cookie_path&amp;ae=admin_cookie_path_end'), //cpg1.4
-
-  'Ρυθμίσεις email (συνήθως τίποτε δεν χρειάζεται να αλλαχθεί εδώ. Eάν δεν είστε σίγουροι αφήστε κενά όλα τα πεδία)', //cpg1.4
-  array('SMTP Host (εάν μείνει κενό, θα χρησιμοποιηθεί το sendmail)', 'smtp_host', 0, 'f=index.htm&amp;as=admin_email&amp;ae=admin_email_end'), //cpg1.4
-  array('SMTP όνομα χρήστη', 'smtp_username', 0), //cpg1.4
-  array('SMTP κωδικός', 'smtp_password', 0), //cpg1.4
-
-  'Αναγραφή και στατιστικές', //cpg1.4
-  array('Λειτουργία αναγραφής (logging) <a href="#notice3" class="clickable_option">***</a>', 'log_mode', 11, 'f=index.htm&amp;as=admin_logging_log_mode&amp;ae=admin_logging_log_mode_end'), //cpg1.4
-  array('Αναγραφή των ηλεκτρονικών καρτών', 'log_ecards', 1, 'f=index.htm&amp;as=admin_general_log_ecards&amp;ae=admin_general_log_ecards_end'), //cpg1.4
-  array('Κράτηση λεπτομερών στατιστικών των ψήφων','vote_details',1, 'f=index.htm&amp;as=admin_logging_votedetails&amp;ae=admin_logging_votedetails_end'), //cpg1.4
-  array('Κράτηση λεπτομερών στατιστικών των επισκέψεων','hit_details',1, 'f=index.htm&amp;as=admin_logging_hitdetails&amp;ae=admin_logging_hitdetails_end'), //cpg1.4
-
-  'Ρυθμίσεις συντήρησης', //cpg1.4
-  array('Ενεργοποίηση λειτουργίας εντοπισμού λαθών', 'debug_mode', 9, 'f=index.htm&amp;as=debug_mode&amp;ae=debug_mode_end'), //cpg1.4
-  array('Εμφάνιση ειδοποιήσεων κατά την λειτουργία εντοπισμού λαθών', 'debug_notice', 1, 'f=index.htm&amp;as=admin_misc_debug_notices&amp;ae=admin_misc_debug_notices_end'), //cpg1.4
-  array('Η γκαλερί είναι εκτός λειτουργίας', 'offline', 1, 'f=index.htm&amp;as=admin_general_offline&amp;ae=admin_general_offline_end'), //cpg1.4
-);
-
-
-// ------------------------------------------------------------------------- //
-// File db_ecard.php
-// ------------------------------------------------------------------------- //
-
-if (defined('DB_ECARD_PHP')) $lang_db_ecard_php = array(
-  'title' => 'Αποστολή ηλεκτρονικής κάρτας',
-  'ecard_sender' => 'Αποστολέας',
-  'ecard_recipient' => 'Παραλήπτης',
-  'ecard_date' => 'Ημερομηνία',
-  'ecard_display' => 'Εμφάνιση ηλεκτρονικής κάρτας',
-  'ecard_name' => 'Όνομα',
-  'ecard_email' => 'Email',
-  'ecard_ip' => 'IP #',
-  'ecard_ascending' => 'ανοδικά',
-  'ecard_descending' => 'καθοδικά',
-  'ecard_sorted' => 'Ταξινομημένα',
-  'ecard_by_date' => 'κατά ημερομηνία',
-  'ecard_by_sender_name' => 'κατά όνομα αποστολέα',
-  'ecard_by_sender_email' => 'κατά email αποστολέα',
-  'ecard_by_sender_ip' => 'κατά IP διεύθυνση αποστολέα',
-  'ecard_by_recipient_name' => 'κατά όνομα παραλήπτη',
-  'ecard_by_recipient_email' => 'κατά email παραλήπτη',
-  'ecard_number' => 'εμφάνιση καταχηρήσεως %s έως %s από %s',
-  'ecard_goto_page' => 'μετάβαση στην σελίδα',
-  'ecard_records_per_page' => 'Καταχωρήσεις ανά σελίδα',
-  'check_all' => 'Επιλογή Όλων',
-  'uncheck_all' => 'Αποεπιλογή Όλων',
-  'ecards_delete_selected' => 'Διαγραφή επιλεγμένων ηλεκτρονικών καρτών',
-  'ecards_delete_confirm' => 'Είστε σίγουροι πως θέλετε να διαγράψετε τις καταχωρήσεις; Σημειώστε το τετραγωνίδιο!',
-  'ecards_delete_sure' => 'Είμαι σίγουρος/η',
-);
-
-
-// ------------------------------------------------------------------------- //
-// File db_input.php
-// ------------------------------------------------------------------------- //
-
-if (defined('DB_INPUT_PHP')) $lang_db_input_php = array(
-  'empty_name_or_com' => 'Πρέπει να πληκτρολογήσετε το όνομά σας και ένα σχόλιο',
-  'com_added' => 'Το σχόλιό σας προστέθηκε',
-  'alb_need_title' => 'Πρέπει να δώσετε έναν τίτλο στο άλμπουμ !',
-  'no_udp_needed' => 'Δεν χρειάζεται ενημέρωση.',
-  'alb_updated' => 'Το άλμπουμ ενημερώθηκε',
-  'unknown_album' => 'Το επιλεγμένο άλμπουμ δεν υπάρχει ή δεν έχετε άδεια πρόσθεσης αρχείων σε αυτό',
-  'no_pic_uploaded' => 'Δεν προστέθηκαν φωτογραφίες !<br /><br />Εάν πραγματικά επιλέξατε αρχείο για πρόσθεση, σιγουρευτείτε πως ο διακομιστής επιτρέπει την πρόσθεση αρχείων...',
-  'err_mkdir' => 'Αποτυχία δημιουργίας του φακέλλου %s !',
-  'dest_dir_ro' => 'Ο κατάλογος προορισμού %s δεν είναι εγγράψιμος από το πρόγραμμα !',
-  'err_move' => 'Αδύνατη η μετακίνηση του %s στο %s !',
-  'err_fsize_too_large' => 'Το μέγεθος του αρχείου που προσθέσατε είναι πολύ μεγάλο (το μέγιστο επιτρεπόμενο είναι %s x %s) !', //obsolete since cpg1.3 - consider removal in cpg1.4 once upload.php has been overhauled
-  'err_imgsize_too_large' => 'Το μέγεθος της φωτογραφίας που προσθέσατε είναι πολύ μεγάλο (το μέγιστο επιτρεπόμενο είναι %s KB) !', //obsolete since cpg1.3 - consider removal in cpg1.4 once upload.php has been overhauled
-  'err_invalid_img' => 'Το αρχείο που προσθέσατε δεν είναι έγκυρη εικόνα !',
-  'allowed_img_types' => 'Μπορείτε να προσθέσετε μόνο %s εικόνες.',
-  'err_insert_pic' => 'Το αρχείο \'%s\' δεν μπορεί να καταχωρηθεί στο άλμπουμ',
-  'upload_success' => 'Το αρχείο σας προστέθηκε επιτυχώς.<br /><br />Θα είναι ορατό μετά από την έγκριση του διαχειριστή.',
-  'notify_admin_email_subject' => '%s - Ειδοποίηση πρόσθεσης',
-  'notify_admin_email_body' => 'Μια φωτογραφία έχει προστεθεί από τον/την %s και χρειάζεται την έγκρισή σας. Παρακαλώ επισκεφθείτε το %s',
-  'info' => 'Πληροφορίες',
-  'com_added' => 'Το σχόλιο προστέθηκε',
-  'alb_updated' => 'Το άλμπουμ ενημερώθηκε',
-  'err_comment_empty' => 'Το σχόλιό σας είναι κενό !',
-  'err_invalid_fext' => 'Μόνο αρχεία με τις ακόλουθες καταλήξεις γίνονται δεκτά: <br /><br />%s.',
-  'no_flood' => 'Συγνώμη αλλά έχετε ήδη κάνει το τελευταίο σχόλιο για αυτό το αρχείο<br /><br />Επεξεργαστείτε το σχόλιο που έχετε κάνει, εάν θέλετε να το αλλάξετε',
-  'redirect_msg' => 'Ανακατευθύνεστε.<br /><br /><br />Κάντε κλικ στο \'ΣΥΝΕΧΕΙΑ\' εάν η σελίδα δεν ανανεωθεί αυτόματα',
-  'upl_success' => 'Το αρχείο σας προστέθηκε επιτυχώς',
-  'email_comment_subject' => 'Προστέθηκε σχόλιο στην γκαλερί φωτογραφιών Coppermine',
-  'email_comment_body' => 'Κάποιος έχει προσθέσει ένα σχόλιο στην γκαλερί σας. Κοιτάξτε το στο',
-  'album_not_selected' => 'Δεν επιλέχθηκε άλμουμ', //cpg1.4
-  'com_author_error' => 'Ένας εγγεγραμμένος χρήστης χρησιμοποιεί αυτό το ψευδώνυμο, αυθεντικοποιηθείτε ή χρησιμοποιήστε κάποιο άλλο', //cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File delete.php
-// ------------------------------------------------------------------------- //
-
-if (defined('DELETE_PHP')) $lang_delete_php = array(
-  'caption' => 'Λεζάντα',
-  'fs_pic' => 'εικόνα πλήρους μεγέθους',
-  'del_success' => 'διεγράφει επιτυχώς',
-  'ns_pic' => 'φωτογραφία κανονικού μεγέθους',
-  'err_del' => 'δεν μπορεί να διαγραφεί',
-  'thumb_pic' => 'μικρογραφία',
-  'comment' => 'σχόλιο',
-  'im_in_alb' => 'φωτογραφία σε άλμπουμ',
-  'alb_del_success' => '\'Αλμπουμ &laquo;%s&raquo; διεγράφει', //cpg1.4
-  'alb_mgr' => 'Διαχείριση άλμπουμ',
-  'err_invalid_data' => 'Άκυρα δεδομένα παρελήφθησαν στο \'%s\'',
-  'create_alb' => 'Δημιουργία άλμπουμ \'%s\'',
-  'update_alb' => 'Ενημέρωση του άλμπουμ \'%s\' με τίτλο \'%s\' και ευρετήριο \'%s\'',
-  'del_pic' => 'Διαγραφή αρχείου',
-  'del_alb' => 'Διαγραφή άλμπουμ',
-  'del_user' => 'Διαγραφή χρήστη',
-  'err_unknown_user' => 'Ο επιλεγμένος χρήστης δεν υπάρχει !',
-  'err_empty_groups' => 'Δεν υπάρχει ο πίνακας της ομάδας, ή είναι άδειος!', //cpg1.4
-  'comment_deleted' => 'Το σχόλιο διεγράφει επιτυχώς',
-  'npic' => 'Φωτογραφία', //cpg1.4
-  'pic_mgr' => 'Διαχείριση φωτογραφιών', //cpg1.4
-  'update_pic' => 'Ενημέρωση της φωτογραφίας \'%s\' με όνομα αρχείου \'%s\' και ευρετήριο \'%s\'', //cpg1.4
-  'username' => 'Όνομα χρήστη', //cpg1.4
-  'anonymized_comments' => '%s σχόλιο/α ανώνυμοποιήθηκε', //cpg1.4
-  'anonymized_uploads' => '%s δημόσια/ες προσθήκη/ες ανωνυμοποιήθηκαν', //cpg1.4
-  'deleted_comments' => '%s σχόλιο/α διεγράφη/σαν', //cpg1.4
-  'deleted_uploads' => '%s δημόσια/ες προσθήκη/ες διεγράφη/σαν', //cpg1.4
-  'user_deleted' => 'χρήστης %s διεγράφει', //cpg1.4
-  'activate_user' => 'Ενεργοποίηση χρήστη', //cpg1.4
-  'user_already_active' => 'Ο λογαριασμός έχει ήδη ενεργοποιηθεί', //cpg1.4
-  'activated' => 'Ενεργοποιήθηκε', //cpg1.4
-  'deactivate_user' => 'Απενεργοποίηση χρήστη', //cpg1.4
-  'user_already_inactive' => 'Ο λογαριασμός είναι ήδη ανενεργός', //cpg1.4
-  'deactivated' => 'Απενεργοποιήθηκε', //cpg1.4
-  'reset_password' => 'Μηδενισμός κωδικού/ών', //cpg1.4
-  'password_reset' => 'Ο κωδικός μηδενίστηκε στο %s', //cpg1.4
-  'change_group' => 'Αλλαγή πρωτεύουσας ομάδας', //cpg1.4
-  'change_group_to_group' => 'Αλλαγή από %s σε %s', //cpg1.4
-  'add_group' => 'Πρόσθεση δευτερεύουσας ομάδας', //cpg1.4
-  'add_group_to_group' => 'Πρόσθεση χρήστη %s στην ομάδα %s. Είναι πλέον μέλος της ομάδας %s ως πρωτεύουσας και της %s ως δευτερεύουσας.', //cpg1.4
-  'status' => 'Κατάσταση', //cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File displayecard.php
-// ------------------------------------------------------------------------- //
-
-if (defined('DISPLAYECARD_PHP')) {
-
-$lang_displayecard_php = array(
-  'invalid_data' => 'Τα δεδομένα της ηλεκτρονικής κάρτας που προσπαθείτε να δείτε έχουν αλλοιωθεί από το πρόγραμμα ηλεκτρονικού ταχυδρομείου σας (email client). Σιγουρευτείτε πως ο σύνδεσμος είναι πλήρης.', //cpg1.4
-);
-}
-
-// ------------------------------------------------------------------------- //
-// File displayimage.php
-// ------------------------------------------------------------------------- //
-
-if (defined('DISPLAYIMAGE_PHP')){
-
-$lang_display_image_php = array(
-  'confirm_del' => 'Είστε σίγουρος/η πως θέλετε να ΔΙΑΓΡΑΨΕΤΕ αυτό το αρχείο ?\\nΤα σχόλια θα διαγραφούν επίσης.', //js-alert
-  'del_pic' => 'ΔΙΑΓΡΑΦΗ ΑΥΤΟΥ ΤΟΥ ΑΡΧΕΙΟΥ',
-  'size' => '%s x %s εικονοστοιχεία',
-  'views' => '%s φορές',
-  'slideshow' => 'Προβολή Διαφανειών',
-  'stop_slideshow' => 'ΤΕΛΟΣ ΠΡΟΒΟΛΗΣ ΔΙΑΦΑΝΕΙΩΝ',
-  'view_fs' => 'Κάντε κλικ για να δείτε την εικόνα σε πλήρες μέγεθος',
-  'edit_pic' => 'Επεξεργασία πληροφοριών αρχείου', //cpg1.4
-  'crop_pic' => 'Περικοπή και Περιστροφή',
-  'set_player' => 'Αλλαγή προγράμματος αναπαραγωγής',
-);
-
-$lang_picinfo = array(
-  'title' =>'Πληροφορίες αρχείου',
-  'Filename' => 'Όνομα αρχείου',
-  'Album name' => 'Όνομα άλμπουμ',
-  'Rating' => 'Βαθμολογία (%s ψήφοι)',
-  'Keywords' => 'Λέξεις Κλειδιά',
-  'File Size' => 'Μέγεθος Αρχείου',
-  'Date Added' => 'Ημερομηνία πρόσθεσης', //cpg1.4
-  'Dimensions' => 'Διαστάσεις',
-  'Displayed' => 'Εμφανίσεις',
-  'URL' => 'URL', //cpg1.4
-  'Make' => 'Χρονιάς', //cpg1.4
-  'Model' => 'Μοντέλο', //cpg1.4
-  'DateTime' => 'Ημερομηνία Ώρα', //cpg1.4
-  'ISOSpeedRatings'=>'ISO', //cpg1.4
-  'MaxApertureValue' => 'Ανώτατο Διάφραγμα', //cpg1.4
-  'FocalLength' => 'Εστιακή απόσταση', //cpg1.4
-  'Comment' => 'Σχόλιο',
-  'addFav'=>'Προσθήκη στα Αγαπημένα',
-  'addFavPhrase'=>'Αγαπημένα',
-  'remFav'=>'Διαγραφή από τα Αγαπημένα',
-  'iptcTitle'=>'IPTC Τίτλος',
-  'iptcCopyright'=>'IPTC Πνευματικά δικαιώματα',
-  'iptcKeywords'=>'IPTC Λέξεις-κλειδιά',
-  'iptcCategory'=>'IPTC Κατηγορία',
-  'iptcSubCategories'=>'IPTC Υποκατηγορίες',
-  'ColorSpace' => 'Χώρος Χρώματος', //cpg1.4
-  'ExposureProgram' => 'Πρόγραμμα Έκθεσης', //cpg1.4
-  'Flash' => 'Flash', //cpg1.4
-  'MeteringMode' => 'Λειτουργία Μέτρησης', //cpg1.4
-  'ExposureTime' => 'Χρόνος Έκθεσης', //cpg1.4
-  'ExposureBiasValue' => 'Έκθεση Bias', //cpg1.4
-  'ImageDescription' => 'Περιγραφή Εικόνας', //cpg1.4
-  'Orientation' => 'Προσανατολισμός', //cpg1.4
-  'xResolution' => 'X Ανάλυση', //cpg1.4
-  'yResolution' => 'Y Ανάλυση', //cpg1.4
-  'ResolutionUnit' => 'Μονάδα Ανάλυσης', //cpg1.4
-  'Software' => 'Λογισμικό', //cpg1.4
-  'YCbCrPositioning' => 'YCbCrPositioning', //cpg1.4
-  'ExifOffset' => 'Exif Offset', //cpg1.4
-  'IFD1Offset' => 'IFD1 Offset', //cpg1.4
-  'FNumber' => 'FNumber', //cpg1.4
-  'ExifVersion' => 'Έκδοση Exif', //cpg1.4
-  'DateTimeOriginal' => 'Αρχική Ημερομηνία', //cpg1.4
-  'DateTimedigitized' => 'Ψηφιακή Ημερομηνία', //cpg1.4
-  'ComponentsConfiguration' => 'Ρύθμιση Συστατικών', //cpg1.4
-  'CompressedBitsPerPixel' => 'Συμπιεσμένα Κομμάτια Ανά Εικονοστοιχείο', //cpg1.4
-  'LightSource' => 'Πηγή Φωτός', //cpg1.4
-  'ISOSetting' => 'Ρύθμιση ISO', //cpg1.4
-  'ColorMode' => 'Λειτουργία Χρώματος', //cpg1.4
-  'Quality' => 'Ποιότητα', //cpg1.4
-  'ImageSharpening' => 'Όξυνση Φωτογραφίας', //cpg1.4
-  'FocusMode' => 'Τρόπος Εστίασης', //cpg1.4
-  'FlashSetting' => 'Ρύθμιση Flash', //cpg1.4
-  'ISOSelection' => 'Επιλογή ISO', //cpg1.4
-  'ImageAdjustment' => 'Ρύθμιση Εικόνας', //cpg1.4
-  'Adapter' => 'Προσαρμοστής', //cpg1.4
-  'ManualFocusDistance' => 'Χειροκίνητη Απόσταση Εστίασης', //cpg1.4
-  'DigitalZoom' => 'Ψηφιακό Ζουμ', //cpg1.4
-  'AFFocusPosition' => 'AF Focus Position', //cpg1.4
-  'Saturation' => 'Κορεσμός', //cpg1.4
-  'NoiseReduction' => 'Μείωση Θορύβου', //cpg1.4
-  'FlashPixVersion' => 'Έκδοση Flash Pix', //cpg1.4
-  'ExifImageWidth' => 'Exif Πλάτος Εικόνας', //cpg1.4
-  'ExifImageHeight' => 'Exif Ύψος Εικόνας', //cpg1.4
-  'ExifInteroperabilityOffset' => 'Exif Interoperability Offset', //cpg1.4
-  'FileSource' => 'Πηγή Αρχείου', //cpg1.4
-  'SceneType' => 'Τύπος Σκηνής', //cpg1.4
-  'CustomerRender' => 'Customer Render', //cpg1.4
-  'ExposureMode' => 'Τρόπος Έκθεσης', //cpg1.4
-  'WhiteBalance' => 'Ισορροπία \'Ασπρου', //cpg1.4
-  'DigitalZoomRatio' => 'Αναλογία Ψηφιακού Ζουμ', //cpg1.4
-  'SceneCaptureMode' => 'Τρόπος Σύλληψης Σκηνής', //cpg1.4
-  'GainControl' => 'Έλεγχος Κέρδους', //cpg1.4
-  'Contrast' => 'Ευκρίνεια', //cpg1.4
-  'Sharpness' => 'Όξυνση', //cpg1.4
-  'ManageExifDisplay' => 'Διαχείριση Εμφάνισης Πληροφοριών Exif', //cpg1.4
-  'submit' => 'Υποβολή', //cpg1.4
-  'success' => 'Οι πληροφορίες ενημερώθηκαν επιτυχώς.', //cpg1.4
-  'details' => 'Λεπτομέρειες', //cpg1.4
-);
-
-$lang_display_comments = array(
-  'OK' => 'OK',
-  'edit_title' => 'Επεξεργασία σχολίου',
-  'confirm_delete' => 'Είστε σίγουροι πως θέλετε να διαγράψετε αυτό το σχόλιο ;', //js-alert
-  'add_your_comment' => 'Προσθέστε το σχόλιό σας',
-  'name'=>'Όνομα',
-  'comment'=>'Σχόλιο',
-// =====================
-  'your_name' => 'Ανωνυμος',
-// =====================
-  'report_comment_title' => 'Αναφορά αυτού του σχολίου στον διαχειριστή', //cpg1.4
-);
-
-$lang_fullsize_popup = array(
-  'click_to_close' => 'Κάντε κλικ στην εικόνα για να κλείσετε αυτό το παράθυρο',
-);
-
-}
-
-// ------------------------------------------------------------------------- //
-// File ecard.php
-// ------------------------------------------------------------------------- //
-
-if (defined('ECARDS_PHP') || defined('DISPLAYECARD_PHP')) $lang_ecard_php =array(
-  'title' => 'Στείλτε μια ηλεκτρονική κάρτα',
-  'invalid_email' => '<font color="red"><b>Προειδοποίηση</b></font>: άκυρη email διεύθυνση:', //cpg1.4
-  'ecard_title' => 'Μία ηλεκτρονική κάρτα από τον/την %s για εσάς',
-  'error_not_image' => 'Μόνο εικόνες μπορούν να σταλούν ως ηλεκτρονικές κάρτες.',
-  'view_ecard' => 'Εναλλακτικός σύνδεσμος στην περίπτωση που η ηλεκτρονική κάρτα δεν εμφανίζεται σωστά', //cpg1.4
-  'view_ecard_plaintext' => 'Για να δείτε αυτή την ηλεκτρονική κάρτα, αντιγράψτε και επικολλήστε αυτό το url στο πεδίο Διεύθυνση του πλοηγού ιστοσελίδων:', //cpg1.4
-  'view_more_pics' => 'Εμφάνιση περισσότερων φωτογραφιών !', //cpg1.4
-  'send_success' => 'Η ηλεκτρονική κάρτα σας έχει σταλεί',
-  'send_failed' => 'Λυπούμαστε αλλά ο διακομιστής δεν μπορεί να στείλει την ηλεκτρονική κάρτα σας...',
-  'from' => 'Από',
-  'your_name' => 'Το όνομά σας',
-  'your_email' => 'Η email διεύθυνσή σας',
-  'to' => 'Προς',
-  'rcpt_name' => 'Όνομα παραλήπτη',
-  'rcpt_email' => 'Διεύθυνση email παραλήπτη',
-  'greetings' => 'Επικεφαλίδα', //cpg1.4
-  'message' => 'Μύνημα', //cpg1.4
-  'ecards_footer' => 'Στάληκε από τον/την %s με IP διεύθυνση %s στις %s (ώρα της γκαλερί)', //cpg1.4
-  'preview' => 'Προεπισκόπηση της ηλεκτρονικής κάρτας', //cpg1.4
-  'preview_button' => 'Προεπισκόπηση', //cpg1.4
-  'submit_button' => 'Αποστολή ηλεκτρονικής κάρτας', //cpg1.4
-  'preview_view_ecard' => 'Αυτός θα είναι ο εναλλακτικός σύνδεσμος για την ηλεκτρονική κάρτα σας μόλις δημιουργηθεί. Δεν θα λειτουργήσει για προεπισκόπηση.', //cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File report_file.php //cpg1.4
-// ------------------------------------------------------------------------- //
-
-if (defined('REPORT_FILE_PHP') || defined('DISPLAYREPORT_PHP')) $lang_report_php =array(
-  'title' => 'Αναφορά σε διαχειριστή', //cpg1.4
-  'invalid_email' => '<b>Προειδοποίηση</b> : άκυρη email διεύθυνση !', //cpg1.4
-  'report_subject' => 'Μία αναφορά από τον/ην %s στην γκαλερί %s', //cpg1.4
-  'view_report' => 'Εναλλακτικός σύνδεσμος εάν η αναφορά δεν εμφανιστεί σωστά', //cpg1.4
-  'view_report_plaintext' => 'Για να δείτε την αναφορά, αντιγράψτε και επικολλήστε αυτό το url στο πεδίο Διεύθυνση του πλοηγού ιστοσελίδων:', //cpg1.4
-  'view_more_pics' => 'Γκαλερί', //cpg1.4
-  'send_success' => 'Η αναφορά σας έχει σταλεί', //cpg1.4
-  'send_failed' => 'Λυπούμαστε αλλά ο διακομιστής δεν μπόρεσε να στείλει την αναφορά σας...', //cpg1.4
-  'from' => 'Από', //cpg1.4
-  'your_name' => 'Το όνομά σας', //cpg1.4
-  'your_email' => 'Η email διεύθυνσή σας', //cpg1.4
-  'to' => 'Προς', //cpg1.4
-  'administrator' => 'Διαχειριστής/Συντονιστής', //cpg1.4
-  'subject' => 'Θέμα', //cpg1.4
-  'comment_field_name' => 'Αναφορά για Σχόλιο από "%s"', //cpg1.4
-  'reason' => 'Λόγος', //cpg1.4
-  'message' => 'Μύνημα', //cpg1.4
-  'report_footer' => 'Στάληκε από τον/ην %s με IP διεύθυνση %s στις %s (ώρα της γκαλερί)', //cpg1.4
-  'obscene' => 'άσεμνο', //cpg1.4
-  'offensive' => 'προσβλητικό', //cpg1.4
-  'misplaced' => 'εκτός θέματος/λάθος τοποθετημένο', //cpg1.4
-  'missing' => 'λείπει', //cpg1.4
-  'issue' => 'λάθος/δεν μπορεί να εμφανιστεί', //cpg1.4
-  'other' => 'άλλο', //cpg1.4
-  'refers_to' => 'Η αναφορά του αρχείου αναφέρεται στο', //cpg1.4
-  'reasons_list_heading' => 'λόγος/οι για την αναφορά:', //cpg1.4
-  'no_reason_given' => 'δεν δώθηκε λόγος', //cpg1.4
-  'go_comment' => 'Μετάβαση στο σχόλιο', //cpg1.4
-  'view_comment' => 'Εμφάνιση πλήρους αναφοράς με σχόλιο', //cpg1.4
-  'type_file' => 'αρχείο', //cpg1.4
-  'type_comment' => 'σχόλιο', //cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File editpics.php
-// ------------------------------------------------------------------------- //
-
-if (defined('EDITPICS_PHP')) $lang_editpics_php = array(
-  'pic_info' => 'Πληροφορίες αρχείου',
-  'album' => '\'Αλμπουμ',
-  'title' => 'Τίτλος',
-  'filename' => 'Όνομα αρχείου', //cpg1.4
-  'desc' => 'Περιγραφή',
-  'keywords' => 'Λέξεις-κλειδιά',
-  'new_keyword' => 'Νέα λέξη-κλειδί', //cpg1.4
-  'new_keywords' => 'Βρέθηκαν νέες λέξεις-κλειδιά', //cpg1.4
-  'existing_keyword' => 'Υπάρχουσα λέξη-κλειδί', //cpg1.4
-  'pic_info_str' => '%s &times; %s - %s KB - %s εμφανίσεις - %s ψήφοι',
-  'approve' => 'Έγκριση αρχείου',
-  'postpone_app' => 'Αναβολή έγκρισης',
-  'del_pic' => 'Διαγραφή αρχείου',
-  'del_all' => 'Διαγραφή ΟΛΩΝ των αρχείων', //cpg1.4
-  'read_exif' => 'Επανάγνωση πληροφοριών EXIF',
-  'reset_view_count' => 'Μηδενισμός μετρητή εμφανίσεων',
-  'reset_all_view_count' => 'Μηδενισμός ΟΛΩΝ των μετρητών εμφανίσεων', //cpg1.4
-  'reset_votes' => 'Μηδενισμός ψήφων',
-  'reset_all_votes' => 'Μηδενισμός ΟΛΩΝ των ψήφων', //cpg1.4
-  'del_comm' => 'Διαγραφή σχολίων',
-  'del_all_comm' => 'Διαγραφή ΟΛΩΝ των σχολίων', //cpg1.4
-  'upl_approval' => 'Έγκριση προσθήκης', //cpg1.4
-  'edit_pics' => 'Επεξεργασία αρχείων',
-  'see_next' => 'Εμφάνιση επόμενων αρχείων',
-  'see_prev' => 'Εμφάνιση προηγούμενων αρχείων',
-  'n_pic' => '%s αρχεία',
-  'n_of_pic_to_disp' => 'Αριθμός αρχείων προς εμφάνιση',
-  'apply' => 'Εφαρμογή τροποποιήσεων',
-  'crop_title' => 'Επεξεργαστής Φωτογραφιών του Coppermine',
-  'preview' => 'Προεπισκόπηση',
-  'save' => 'Αποθήκευση φωτογραφίας',
-  'save_thumb' =>'Αποθήκευση ως μικρογραφία',
-  'gallery_icon' => 'Να γίνει εικονίδιο της γκαλερί', //cpg1.4
-  'sel_on_img' =>'Η επιλογή πρέπει να είναι εξ ολοκλήρου στην εικόνα!', //js-alert
-  'album_properties' =>'Ιδιότητες του άλμπουμ', //cpg1.4
-  'parent_category' =>'Δημιουργός κατηγορίας', //cpg1.4
-  'thumbnail_view' =>'Εμφάνιση ως μικρογραφία', //cpg1.4
-  'select_unselect' =>'επιλογή/αποεπιλογή όλων', //cpg1.4
-  'file_exists' => "Το αρχείο προορισμού '%s' υπάρχει ήδη.", //cpg1.4
-  'rename_failed' => "Απέτυχε η μετονόμαση του '%s' σε '%s'.", //cpg1.4
-  'src_file_missing' => "Το πηγαίο αρχείο '%s' λείπει.", // cpg 1.4
-  'mime_conv' => "Δεν είναι δυνατή η μετατροπή του αρχείου από '%s' σε '%s'",//cpg1.4
-  'forb_ext' => 'Απαγορευμένη επέκταση αρχείου.', //cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File faq.php
-// ------------------------------------------------------------------------- //
-
-if (defined('FAQ_PHP')) $lang_faq_php = array(
-  'faq' => 'Συχνές Ερωτήσεις κι Απαντήσεις',
-  'toc' => 'Περιεχόμενα',
-  'question' => 'Ερώτηση: ',
-  'answer' => 'Απάντηση: ',
-);
-
-if (defined('FAQ_PHP')) $lang_faq_data = array(
-  'Γενικές Ερωτήσεις',
-  array('Γιατί πρέπει να εγγραφώ;', 'Η εγγραφή μπορεί να απαιτείται ή και όχι από τον διαχειριστή. Η εγγραφή προσφέρει στα μέλη επιπρόσθετα δικαιώματα όπως πρόσθεση αρχείων, δυνατότητα κατοχής λίστας αγαπημένων, βαθμολόγηση φωτογραφιών, πρόσθεση σχολίων κτλ.', 'allow_user_registration', '1'),
-  array('Πως εγγράφομαι;', 'Κάντε κλικ στην &quot;Εγγραφή&quot; και συμπληρώστε τα απαραίτητα πεδία (και τα προαιρετικά αν θέλετε).<br />Εάν ο Διαχειριστής έχει καθορίσει την Ενεργοποίηση με Email ως απαραίτητη, τότε μετά την υποβολή των πληροφοριών σας θα πρέπει να λάβετε ένα email στην διεύθυνση που υποβάλατε κατά την εγγραφή, δίνοντάς σας οδηγίες για το πως θα ενεργοποιήσετε τον λογαριασμό σας. Ο λογαριασμός σας πρέπει να ενεργοποιηθεί για να μπορέσετε να συνδεθείτε.', 'allow_user_registration', '1'), //cpg1.4
-  array('Πως συνδέομαι;', 'Κάντε κλικ στην &quot;Σύνδεση&quot;, συμπληρώστε το όνομα χρήστη σας και των κωδικό σας και τσεκάρετε το &quot;Αυτόματη αναγνώριση&quot; για να εξακολουθήσετε να είστε συνδεδεμένοι στην ιστοσελίδα ακόμη κι αν φύγετε.<br /><b>ΣΗΜΑΝΤΙΚΟ: Τα cookies πρέπει να είναι ενεργοποιημένα και το cookie από αυτή την ιστοσελίδα δεν πρέπει να διεγραφεί για να μπορέσετε να χρησιμοποιήσετε την &quot;Αυτόματη αναγνώριση&quot;.</b>', 'offline', 0),
-  array('Γιατί δεν μπορώ να συνδεθώ;', 'Εγγραφήκατε και κάνατε κλικ στον σύνδεσμο που σας στάληκε μέσω email; Ο σύνδεσμος θα ενεργοποιήσει τον λογαριασμό σας. Για άλλου είδους προβλήματα σύνδεσης επικοινωνήστε με τον διαχειριστή.', 'offline', 0),
-  array('Αν ξεχάσω τον κωδικό μου;', 'Εάν αυτή η σελίδα έχει σύνδεσμο &quot;Υπενθύμηση κωδικού&quot; χρησιμοποιήστε τον. Σε διαφορετική περίπτωση επικοινωνήστε με τον διαχειριστή για νέο κωδικό.', 'offline', 0),
-  //array('Αν ξεχάσω την email διεύθυνσή μου;', 'Απλά συνδεθείτε και αλλάξτε την email διεύθυνσή σας μέσω του &quot;Προφίλ&quot;', 'offline', 0),
-  array('Πως αποθηκεύω μια φωτογραφία στα &quot;Αγαπημένα Μου&quot;;', 'Κάντε κλικ στην φωτογραφία και μετά στον σύνδεσμο &quot;πληροφορίες φωτογραφίας&quot; (<img src="images/info.gif" width="16" height="16" border="0" alt="Πληροφορίες φωτογραφίας" />); κυλήστε προς τα κάτω στις πληροφορίες της φωτογραφίας και κάντε κλικ στο &quot;Πρόσθεση στα αγαπημένα&quot;.<br />Ο διαχειριστής μπορεί να έχει ενεργοποιημένες τις &quot;πληροφορίες φωτογραφίας&quot; εξ ορισμού.<br /><b>ΣΗΜΑΝΤΙΚΟ: Τα cookies πρέπει να είναι ενεργοποιημένα και το cookie από αυτή την ιστοσελίδα δεν πρέπει να διεγραφεί.</b>', 'offline', 0),
-  array('Πως βαθμολογώ ένα αρχείο;', 'Κάντε κλικ σε μία μικρογραφία και πηγαίνετε προς τα κάτω για να διαλέξετε μία από τις βαθμολογίες.', 'offline', 0),
-  array('Πως προσθέτω ένα σχόλιο για μια φωτογραφία;', 'Κάντε κλικ σε μία μικρογραφία και πηγαίνετε προς τα κάτω για να γράψετε το σχόλιό σας.', 'offline', 0),
-  array('Πως προσθέτω ένα αρχείο;', 'Πηγαίνετε στο &quot;Πρόσθεση&quot; και επιλέξτε το άλμπουμ στο οποίο θέλετε να προσθέσετε το αρχείο. Κάντε κλικ στο &quot;Browse,&quot; βρείτε το αρχείο που θέλετε να προσθέσετε, και κάντε κλικ στο &quot;άνοιγμα.&quot; Εάν θέλετε προσθέστε τίτλο και περιγραφή. Κάντε κλικ στο &quot;Υποβολή&quot;.<br /><br />Εναλλακτικά, για τους χρήστες των <b>Windows XP</b>, μπορείτε να προσθέσετε πολλά αρχεία απευθείας στο προσωπικό σας άλμπουμ χρησιμοποιώντας τον Βοηθό Δημοσίευσης των XP.<br />Για οδηγίες σχετικά με τον τρόπο, και για να λάβετε το απαραίτητο αρχείο εγγραφής, κάντε κλικ <a href="xp_publish.php">εδώ.</a>', 'allow_user_registration', 1), //cpg1.4
-  array('Που μπορώ να προσθέσω φωτογραφίες;', 'θα μπορείτε να προσθέσετε φωτογραφίες σε ένα από τα άλμπουμς σας στο &quot;Η Γκαλερί μου&quot;. Επίσης, οι Διαχειριστές μπορούν να σας επιτρέψουν να προσθέσετε ένα αρχείο σε ένα ή περισσότερα άλμπουμς της Κύριας Γκαλερί.', 'allow_private_albums', 0),
-  array('Ποιου τύπου και μεγέθους αρχεία μπορώ να προσθέσω;', 'Το μέγεθος και ο τύπος (jpg, png, κτλ.) εξαρτάται από τον διαχειριστή.', 'offline', 0),
-  array('Πως δημιουργώ, μετονομάζω ή διαγράφω ένα άλμπουμ στην &quot;Γκαλερί Μου&quot;;', 'θα πρέπει να είστε ήδη σε &quot;Λειτουργία Διαχειριστή&quot;<br />Πηγαίνετε στο &quot;Δημιουργία/Ταξινόμηση των \'Αλμπουμς Μου&quot; και κάντε κλικ στο &quot;Νέο&quot;. Αλλάξτε το &quot;Νέο Άλμπουμ&quot; στο όνομα που επιθυμείτε.<br />Μπορείτε επίσης να μετονομάσετε οποιοδήποτε από τα άλμπουμς σας στην γκαλερί σας.<br />Κάντε κλικ στο &quot;Εφαρμογή Τροποποιήσεων&quot;.', 'allow_private_albums', 0),
-  array('Πως μπορώ να τροποποιήω και να περιορίσω τους χρήστες από το να βλέπουν τα άλμπουμς μου;', 'θα πρέπει να είστε ήδη σε &quot;Λειτουργία Διαχειριστή&quot;<br />Πηγαίνετε στο &quot;Τροποποίηση των \'Αλμπουμς Μου. Στην μπάρα &quot;Ενημέρωση του \'Αλμπουμ&quot;, επιλέξτε το άλμπουμ που θέλετε να τροποποιήσετε.<br />Εδώ, μπορείτε να αλλάξετε το όνομα, περιγραφή, μικρογραφία, να θέσετε περιορισμούς στην εμφάνιση και τα σχόλια/βαθμολογία.<br />Κάντε κλικ στο &quot;Ενημέρωση \'Αλμπουμ&quot;.', 'allow_private_albums', 0),
-  array('Πως μπορώ να δω γκαλερί άλλων χρηστών;', 'Πηγαίνετε στην &quot;Λίστα των \'Αλμπουμς&quot; και επιλέξτε το &quot;Γκαλερί Χρηστών&quot;.', 'allow_private_albums', 0),
-  array('Τι είναι τα cookies;', 'Τα cookies με απλά λόγια είναι δεδομένα τα οποία αποστέλλονται από μια ιστοσελίδα και αποθηκεύονται στον Η/Υ σας.<br />Τα cookies συνήθως επιτρέπουν σε έναν χρήστη να φύγει και να επιστρέψει από μια ιστοσελίδα χωρίς να χρειάζεται να συνδεθεί ξανά και για διάφορες άλλες μικροδουλειές.', 'offline', 0),
-  array('Που μπορώ να βρω αυτό το πρόγραμμα για την ιστοσελίδα μου;', 'Το Coppermine είναι μία δωρεάν Γκαλερί Πολυμέσων, διανεμόμενη σύμφωνα με την GNU GPL (General Public Lisence-Γενική \'Αδεια Χρήσης). Είναι γεμάτη από χαρακτηριστικά και έχει κωδικοποιηθεί για διάφορες πλατφόρμες. Επισκευθείτε την <a href="http://coppermine-gallery.net/">Επίσημη Ιστοσελίδα του Coppermine</a> για περισσότερα ή για να το κατεβάσετε.', 'offline', 0),
-
-  'Πλοήγηση της Ιστοσελίδας',
-  array('Τι είναι η &quot;Λίστα των \'Αλμπουμς&quot;;', 'Αυτό θα σας δείξει ολόκληρη την κατηγορία στην οποία βρίσκεστε, με έναν σύνδεσμο για κάθε άλμπουμ. Εάν δεν βρίσκεστε σε κάποια κατηγορία, θα σας δείξει ολόκληρη την γκαλερί με έναν σύνδεσμο για κάθε κατηγορία. Οι μικρογραφίες μπορεί να είναι σύνδεσμοι κατηγοριών.', 'offline', 0),
-  array('Τι είναι η &quot;Γκαλερί Μου&quot;;', 'Αυτό το χαρακτηριστικό επιτρέπει στους χρήστες να δημιουργήσουν την δική τους γκαλερί και να προσθέτουν, διαγράφουν ή τροποποιούν άλμπουμς καθώς και να προσθέτουν σε αυτά.', 'allow_private_albums', 1), //cpg1.4
-  array('Τι είναι η &quot;Πρόσθεση Φωτογραφίας&quot;;', 'Αυτό το χαρακτηριστικό επιτρέπει σε έναν χρήστη να προσθέσει ένα αρχείο (το μέγεθος και ο τύπος καθορίζονται από τον διαχειριστή) σε μία γκαλερί επιλεγμένη είτε από τον ίδιο είτε από τον διαχειριστή.', 'allow_private_albums', 0),
-  array('Τι είναι οι &quot;Τελευταίες Προσθήκες&quot;;', 'Αυτό το χαρακτηριστικό εμφανίζει της τελευταίες προσθήκες στην ιστοσελίδα.', 'offline', 0),
-  array('Τι είναι τα &quot;Τελευταία Σχόλια&quot;;', 'Αυτό το χαρακτηριστικό τα τελευταία σχόλια μαζί με τα αρχεία που προστέθηκαν από τους χρήστες.', 'offline', 0),
-  array('Τι είναι τα &quot;Περισσότερο Εμφανισμένα&quot;;', 'Αυτό το χαρακτηριστικό εμφανίζει τα πιο εμφανισμένα αρχεία από όλους τους χρήστες (συνδεδεμένους ή όχι).', 'offline', 0),
-  array('Τι είναι τα &quot;Υψηλά Βαθμολογημένα&quot;;', 'Αυτό το χαρακτηριστικό εμφανίζει τα υψηλά βαθμολογημένα αρχεία βαθμολογημένα από τους χρήστες, δείχνοντας την μέση βαθμολογία (π.χ: εάν πέντε χρήστες δώσανε <img src="images/rating3.gif" width="65" height="14" border="0" alt="" />: το αρχείο θα έπρεπε να έχει μέση βαθμολογία <img src="images/rating3.gif" width="65" height="14" border="0" alt="" /> ;Εάν πέντε χρήστες βαθμολογούσαν το αρχείο από 1 έως 5 (1,2,3,4,5) θα είχε ως αποτέλεσμα με μέση βαθμολογία <img src="images/rating3.gif" width="65" height="14" border="0" alt="" /> .)<br />Η βαθμολογία ξεκινάει από <img src="images/rating5.gif" width="65" height="14" border="0" alt="best" /> (καλύτερο) μέχρι <img src="images/rating0.gif" width="65" height="14" border="0" alt="worst" /> (χειρότερο).', 'offline', 0),
-  array('Τι είναι τα &quot;Αγαπημένα Μου&quot;;', 'Αυτό το χαρακτηριστικό θα επιτρέψει σε έναν χρήστη να αποθηκεύσει ένα αγαπημένο αρχείο στο cookie που στάληκε στον Η/Υ του.', 'offline', 0),
-);
-
-
-// ------------------------------------------------------------------------- //
-// File forgot_passwd.php
-// ------------------------------------------------------------------------- //
-
-if (defined('FORGOT_PASSWD_PHP')) $lang_forgot_passwd_php = array(
-  'forgot_passwd' => 'Υπενθύμιση κωδικού',
-  'err_already_logged_in' => 'Είστε ήδη συνδεδεμένος/η !',
-  'enter_email' => 'Καταχωρήστε την email διεύθυνσή σας', //cpg1.4
-  'submit' => 'πάμε',
-  'illegal_session' => 'Η διαδικασία υπενθύμισης κωδικού είναι άκυρη ή έχει λήξει.', //cpg1.4
-  'failed_sending_email' => 'Το email υπενθύμισης κωδικού δεν μπορεί να σταλεί !',
-  'email_sent' => 'Ένα email με το όνομα χρήστη σας και τον νέο σας κωδικό έχει σταλεί στο %s', //cpg1.4
-  'verify_email_sent' => 'Ένα email έχει σταλεί στο %s. Παρακαλώ ελέγξτε το email σας για να ολοκληρωθεί η διαδικασία.', //cpg1.4
-  'err_unk_user' => 'Ο επιλεγμένος χρήστης δεν υπάρχει!',
-  'account_verify_subject' => '%s - Αίτηση νέου κωδικού', //cpg1.4
-  'account_verify_body' => 'Έχετε ζητήσει νέο κωδικό. Εάν θέλετε να συνεχίσετε και να σας αποσταλεί νέος κωδικός, κάντε κλικ στον ακόλουθο σύνδεσμο:
-
-%s', //cpg1.4
-  'passwd_reset_subject' => '%s - Ο Νέος σας Κωδικός', //cpg1.4
-  'passwd_reset_body' => 'Αυτός είναι ο νέος κωδικός που ζητήσατε:
-Όνομα Χρήστη: %s
-Κωδικός: %s
-Κάντε κλικ στο %s για να συνδεθείτε.', //cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File groupmgr.php
-// ------------------------------------------------------------------------- //
-
-if (defined('GROUPMGR_PHP')) $lang_groupmgr_php = array(
-  'group_name' => 'Όνομα Ομάδας', //cpg1.4
-  'permissions' => '\'Αδειες', //cpg1.4
-  'public_albums' => 'Προσθήκη δημόσιων άλμπουμς', //cpg1.4
-  'personal_gallery' => 'Προσωπική γκαλερί', //cpg1.4
-  'upload_method' => 'Μέθοδος προσθήκης', //cpg1.4
-  'disk_quota' => 'Ποσόστωση χώρου', //cpg1.4
-  'rating' => 'Βαθμολόγηση', //cpg1.4
-  'ecards' => 'Ηλεκτρονικές Κάρτες', //cpg1.4
-  'comments' => 'Σχόλια', //cpg1.4
-  'allowed' => 'Επιτρεπόμενα', //cpg1.4
-  'approval' => 'Έγκριση', //cpg1.4
-  'boxes_number' => 'Αρ. πεδίων', //cpg1.4
-  'variable' => 'μεταβλητή', //cpg1.4
-  'fixed' => 'σταθερό', //cpg1.4
-  'apply' => 'Εφαμογή τροποποιήσεων',
-  'create_new_group' => 'Δημιουργία νέας ομάδας',
-  'del_groups' => 'Διαγραφή επιλεγμένης/ων ομάδας/ων',
-  'confirm_del' => 'Προσοχή, όταν διαγράψετε μια ομάδα, οι χρήστες που ανήκουν σε αυτή θα μεταφερθούν στην ομάδα των \'Εγγεγραμένων\' !\n\nΘέλετε να συνεχίσετε ;', //js-alert
-  'title' => 'Διαχείριση ομάδων χρηστών',
-  'num_file_upload' => 'Πεδία πρόσθεσης αρχείων', //cpg1.4
-  'num_URI_upload' => 'URI πεδία πρόσθεσης', //cpg1.4
-  'reset_to_default' => 'Μηδενισμός στο προκαθορισμένο όνομα (%s) - συστήνεται!', //cpg1.4
-  'error_group_empty' => 'Ο πίνακας της ομάδας ήταν κενός !<br /><br />Δημιουργήθηκαν οι προκαθορισμένες ομάδες, παρακαλώ ξαναφορτώστε αυτή τη σελίδα', //cpg1.4
-  'explain_greyed_out_title' => 'Γιατί αυτή η γραμμή είναι γκρίζα;', //cpg1.4
-  'explain_guests_greyed_out_text' => 'Δεν μπορείτε να αλλάξετε τις ιδιότητες αυτής της ομάδας επειδή έχετε καθορίσει την επιλογή &quot; Να επιτρέπεται η πρόσβαση σε μη-αυθεντικοποιημένους (επισκέπτες ή ανώνυμους) χρήστες&quot; σε &quot;Όχι&quot; στην σελίδα ρυθμίσεων. Όλοι οι επισκέπτες (μέλη της ομάδας %s) δεν μπορούν να κάνουν τίποτε άλλο εκτός από σύνδεση; γι\' αυτό και οι ρυθμίσεις των ομάδων δεν τους επηρρεάζουν.', //cpg1.4
-  'explain_banned_greyed_out_text' => 'Δεν μπορείτε να αλλάξετε τις ιδιότητες της ομάδας %s επειδή τα μέλη της δεν μπορούν να κάνουν τίποτε έτσι κι αλλιώς.', //cpg1.4
-  'group_assigned_album' => 'ανατιθέμενο/α άλμπουμ/ς', //cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File index.php
-// ------------------------------------------------------------------------- //
-
-if (defined('INDEX_PHP')){
-
-$lang_index_php = array(
-  'welcome' => 'Καλωσήρθατε !',
-);
-
-$lang_album_admin_menu = array(
-  'confirm_delete' => 'Είστε σίγουρος/η πως θέλετε να ΔΙΑΓΡΑΨΕΤΕ αυτό το άλμπουμ ; \\nΌλα τα αρχεία και τα σχόλια θα διαγραφούν επίσης.', //js-alert
-  'delete' => 'ΔΙΑΓΡΑΦΗ',
-  'modify' => 'ΙΔΙΟΤΗΤΕΣ',
-  'edit_pics' => 'ΕΠΕΞΕΡΓΑΣΙΑ ΑΡΧΕΙΩΝ',
-);
-
-$lang_list_categories = array(
-  'home' => 'Αρχική',
-  'stat1' => '<b>[pictures]</b> αρχεία σε <b>[albums]</b> άλμπουμς και <b>[cat]</b> κατηγορίες με <b>[comments]</b> σχόλια, εμφανισμένα <b>[views]</b> φορές',
-  'stat2' => '<b>[pictures]</b> αρχεία σε <b>[albums]</b> άλμπουμς, εμφανισμένα <b>[views]</b> φορές',
-  'xx_s_gallery' => '%s\'s Γκαλερί',
-  'stat3' => '<b>[pictures]</b> αρχεία σε <b>[albums]</b> άλμπουμς με <b>[comments]</b> σχόλια, εμφανισμένα <b>[views]</b> φορές',
-);
-
-$lang_list_users = array(
-  'user_list' => 'Λίστα Χρηστών',
-  'no_user_gal' => 'Δεν υπάρχουν γκαλερί χρηστών',
-  'n_albums' => '%s άλμπουμ(ς)',
-  'n_pics' => '%s αρχεία',
-);
-
-$lang_list_albums = array(
-  'n_pictures' => '%s αρχεία',
-  'last_added' => ', το τελευταίο προστέθηκε στις %s',
-  'n_link_pictures' => '%s συνδεδεμένα αρχεία', //cpg1.4
-  'total_pictures' => '%s αρχεία συνολικά', //cpg1.4
-);
-
-}
-
-// ------------------------------------------------------------------------- //
-// File keywordmgr.php //cpg1.4
-// ------------------------------------------------------------------------- //
-
-if (defined('KEYWORDMGR_PHP')) $lang_keywordmgr_php = array(
-  'title' => 'Διαχείριση λέξεων-κλειδιών', //cpg1.4
-  'edit' => 'επεξεργασία', //cpg1.4
-  'delete' => 'διαγραφή', //cpg1.4
-  'search' => 'αναζήτηση', //cpg1.4
-  'keyword_test_search' => 'αναζήτηση για %s σε νέο παράθυρο', //cpg1.4
-  'keyword_del' => 'διαγραφή της λέξης-κλειδί %s', //cpg1.4
-  'confirm_delete' => 'Είστε σιγουρος/η πως θέλετε να διαγράψετε την λέξη-κλειδί %s από ολόκληρη την γκαλερί;', //cpg1.4  // js-alert
-  'change_keyword' => 'αλλαγή λέξης-κλεδί', //cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File login.php
-// ------------------------------------------------------------------------- //
-
-if (defined('LOGIN_PHP')) $lang_login_php = array(
-  'login' => 'Σύνδεση',
-  'enter_login_pswd' => 'Γράψτε το όνομα χρήστη και τον κωδικό σας για να συνδεθείτε',
-  'username' => 'Όνομα χρήστη',
-  'password' => 'Κωδικός',
-  'remember_me' => 'Αυτόματη αναγνώριση',
-  'welcome' => 'Καλωσήλθατε %s ...',
-  'err_login' => '*** Δεν ήταν δυνατή η σύνδεση. Προσπαθήστε πάλι ***',
-  'err_already_logged_in' => 'Είστε ήδη συνδεδεμένος/η !',
-  'forgot_password_link' => 'Ξέχασα τον κωδικό μου',
-  'cookie_warning' => 'Προσοχή, ο πλοηγός ιστοσελίδων σας δεν δέχεται script cookies', //cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File logout.php
-// ------------------------------------------------------------------------- //
-
-if (defined('LOGOUT_PHP')) $lang_logout_php = array(
-  'logout' => 'Αποσύνδεση',
-  'bye' => 'Αντίο %s ...',
-  'err_not_loged_in' => 'Δεν είστε συνδεδεμένος/η !',
-);
-
-// ------------------------------------------------------------------------- //
-// File minibrowser.php  //cpg1.4
-// ------------------------------------------------------------------------- //
-
-if (defined('MINIBROWSER_PHP')) $lang_minibrowser_php = array(
-  'close' => 'κλείσιμο', //cpg1.4
-  'submit' => 'OK', //cpg1.4
-  'up' => 'επάνω ένα επίπεδο', //cpg1.4
-  'current_path' => 'παρούσα διαδρομή', //cpg1.4
-  'select_directory' => 'παρακαλώ επιλέξτε έναν φάκελλο', //cpg1.4
-  'click_to_close' => 'Κάντε κλικ στην εικόνα παρακάτω για να κλείσετε αυτό το παράθυρο',
-);
-
-// ------------------------------------------------------------------------- //
-// File modifyalb.php
-// ------------------------------------------------------------------------- //
-
-if (defined('MODIFYALB_PHP')) $lang_modifyalb_php = array(
-  'upd_alb_n' => 'Ενημέρωση του άλμπουμ %s',
-  'general_settings' => 'Γενικές ρυθμίσεις',
-  'alb_title' => 'Τίτλος άλμπουμ',
-  'alb_cat' => 'Κατηγορία άλμπουμ',
-  'alb_desc' => 'Περιγραφή άλμπουμ',
-  'alb_keyword' => 'Λέξεις-κλειδιά άλμπουμ', //cpg1.4
-  'alb_thumb' => 'Μικρογραφία του άλμπουμ',
-  'alb_perm' => '\'Αδειες για αυτό το άλμπουμ',
-  'can_view' => 'Το άλμπουμ μπορεί να εμφανιστεί από',
-  'can_upload' => 'Οι επισκέπτες μπορούν να προσθέσουν αρχεία',
-  'can_post_comments' => 'Οι επισκέπτες μπορούν να προσθέσουν σχόλια',
-  'can_rate' => 'Οι επισκέπτες μπορούν να βαθμολογήσουν αρχεία',
-  'user_gal' => 'Γκαλερί Χρηστών',
-  'no_cat' => '* Χωρίς Κατηγορία *',
-  'alb_empty' => 'Το άλμπουμ είναι άδειο',
-  'last_uploaded' => 'Τελευταία προσθήκη',
-  'public_alb' => 'Όλοι (δημόσιο άλμπουμ)',
-  'me_only' => 'Μόνο εγώ',
-  'owner_only' => 'Ιδιοκτήτης άλμπουμ (%s) μόνο',
-  'groupp_only' => 'Μέλη της ομάδας \'%s\'',
-  'err_no_alb_to_modify' => 'Δεν μπορείτε να τροποποιήσετε κανένα άλμπουμ στην βάση δεδομένων.',
-  'update' => 'Ενημέρωση άλμπουμ',
-  'reset_album' => 'Μηδενισμός άλμπουμ', //cpg1.4
-  'reset_views' => 'Μηδενισμός εμφανίσεων μετρητή σε &quot;0&quot; σε %s', //cpg1.4
-  'reset_rating' => 'Μηδενισμός βαθμολογίας όλων των αρχείων σε %s', //cpg1.4
-  'delete_comments' => 'Διαγραφή όλων των σχολίων του %s', //cpg1.4
-  'delete_files' => '%sΜη αντριστρέψιμη%s διαγραφή όλων των αρχείων στο %s', //cpg1.4
-  'views' => 'εμφανίσεις', //cpg1.4
-  'votes' => 'ψήφοι', //cpg1.4
-  'comments' => 'σχόλια', //cpg1.4
-  'files' => 'αρχεία', //cpg1.4
-  'submit_reset' => 'υποβολή αλλαγών', //cpg1.4
-  'reset_views_confirm' => 'Είμαι σίγουρος/η', //cpg1.4
-  'notice1' => '(*) αναλόγως των %sgroups%s ρυθμίσεων',  //cpg1.4 //(do not translate %s!)
-  'alb_password' => 'Κωδικός του άλμπουμ', //cpg1.4
-  'alb_password_hint' => 'Υπαινιγμός κωδικού του άλμπουμ', //cpg1.4
-  'edit_files' =>'Επεξεργασία αρχείων', //cpg1.4
-  'parent_category' =>'Δημιουργός κατηγορία', //cpg1.4
-  'thumbnail_view' =>'Εμφάνιση μικρογραφιών', //cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File phpinfo.php
-// ------------------------------------------------------------------------- //
-
-if (defined('PHPINFO_PHP')) $lang_phpinfo_php = array(
-  'php_info' => 'Πληροφορίες PHP',
-  'explanation' => 'Αυτά είναι πληροφορίες που δημιουργούνται από την PHP-λειτουργία <a href="http://www.php.net/phpinfo">phpinfo()</a>, εμφανίζονται στο Coppermine (στην δεξιά γωνία).',
-  'no_link' => 'Το να επιτρέπετε σε άλλους να βλέπουν τις πληροφορίες του phpinfo μπορεί να είναι ρίσκο ασφαλείας, και γι\' αυτό η σελίδα αυτή είναι ορατή μόνο όταν είστε συνδεδεμένος ως διαχειριστής. Δεν μπορείτε να δώσετε σύνδεσμο αυτής της σελίδας σε άλλους, δεν θα τους επιτραπεί η πρόσβαση.',
-);
-
-// ------------------------------------------------------------------------- //
-// File picmgr.php //cpg1.4
-// ------------------------------------------------------------------------- //
-if (defined('PICMGR_PHP')) $lang_picmgr_php = array(
-  'pic_mgr' => 'Διαχειριστής Φωτογραφιών', //cpg1.4
-  'select_album' => 'Επιλέξτε \'Αλμπουμ', //cpg1.4
-  'delete' => 'Διαγραφή', //cpg1.4
-  'confirm_delete1' => 'Είστε σίγουρος/η πως θέλετε να διαγράψετε αυτή τη φωτογραφία ;', //cpg1.4
-  'confirm_delete2' => '\nΗ φωτογραφία θα διεγραφεί μόνιμα.', //cpg1.4
-  'apply_modifs' => 'Εφαρμογή τροποποιήσεων', //cpg1.4
-  'confirm_modifs' => 'Επιβεβαίωση τροποποιήσεων', //cpg1.4
-  'pic_need_name' => 'Η φωτογραφία πρέπει να έχει ένα όνομα !', //cpg1.4
-  'no_change' => 'Δεν κάνατε αλλαγές !', //cpg1.4
-  'no_album' => '* Χωρίς άλμπουμ *', //cpg1.4
-  'explanation_header' => 'Η διαμορφοποιημένη ταξινόμηση που μπορείτε να καθορίσετε σε αυτή τη σελίδα θα ληφθεί υπόψιν εάν', //cpg1.4
-  'explanation1' => 'ο διαχειριστής έχει καθορίσει την "Προκαθορισμένη ταξινόμηση για αρχεία" στις ρυθμίσεις σε "Ανοδικά κατά θέση" ή "Καθοδικά κατά θέση" (καθολική ρύθμιση για όλους τους χρήστες που δεν έχουν διαλέξει ένα άλλο είδος ταξινόμησης ξεχωριστά)', //cpg1.4
-  'explanation2' => 'ο χρήστης έχει διαλέξει "Ανοδικά κατά θέση" ή "Καθοδικά κατά θέση" στην σελίδα με τις μικρογραφίες (ρύθμιση ανά χρήστη)', //cpg1.4
-);
-
-
-// ------------------------------------------------------------------------- //
-// File pluginmgr.php //cpg1.4
-// ------------------------------------------------------------------------- //
-
-if (defined('PLUGINMGR_PHP')){
-
-$lang_pluginmgr_php = array(
-  'confirm_uninstall' => 'Είστε σίγουρος/η πως θέλετε να ΑΠΕΓΚΑΤΑΣΤΗΣΕΤΕ αυτό το βοήθημα;', //cpg1.4
-  'confirm_delete' => 'Είστε σίγουρος/η πως θέλετε να ΔΙΑΓΡΑΨΕΤΕ αυτό το βοήθημα', //cpg1.4
-  'pmgr' => 'Διαχειριστής Βοηθημάτων', //cpg1.4
-  'name' => 'Όνομα', //cpg1.4
-  'author' => 'Συγγραφέας', //cpg1.4
-  'desc' => 'Περιγραφή', //cpg1.4
-  'vers' => 'v', //cpg1.4
-  'i_plugins' => 'Εγκατεστημένα Βοηθήματα', //cpg1.4
-  'n_plugins' => 'Μη Εγκατεστημένα Βοηθήματα', //cpg1.4
-  'none_installed' => 'Κανένα Εγκατεστημένο', //cpg1.4
-  'operation' => 'Λειτουργία', //cpg1.4
-  'not_plugin_package' => 'Το αρχείο που προσθέσατε δεν είναι πακέτο βοηθήματος.', //cpg1.4
-  'copy_error' => 'Παρουσιάστηκε σφάλμα κατά την αντιγραφή του πακέτου στον φάκελλο βοηθημάτων.', //cpg1.4
-  'upload' => 'Πρόσθεση', //cpg1.4
-  'configure_plugin' => 'Ρυθμίσεις βοηθήματος', //cpg1.4
-  'cleanup_plugin' => 'Καθαρισμός βοηθήματος', //cpg1.4
-);
-}
-
-// ------------------------------------------------------------------------- //
-// File ratepic.php
-// ------------------------------------------------------------------------- //
-
-if (defined('RATEPIC_PHP')) $lang_rate_pic_php = array(
-  'already_rated' => 'Συγνώμη αλλά έχετε ήδη βαθμολογήσει αυτό το αρχείο',
-  'rate_ok' => 'Η ψήφος σας έγινε δεκτή',
-  'forbidden' => 'Δεν μπορείτε να βαθμολογήσετε τα δικά σας αρχεία.',
-);
-
-// ------------------------------------------------------------------------- //
-// File register.php & profile.php
-// ------------------------------------------------------------------------- //
-
-if (defined('REGISTER_PHP') || defined('PROFILE_PHP')) {
-
-$lang_register_disclamer = <<<EOT
-Ενώ οι διαχειριστές του {SITE_NAME} θα προσπαθήσουν να αφαιρέσουν ή να τροποποιήσουν οποιοδήποτε γενικά απαράδεκτο υλικό όσο το δυνατόν γρηγορότερα, είναι αδύνατη η αναθεώρηση κάθε δημοσίευσης.<br />
-<br />
-Συμφωνείτε να μην δημοσιεύσετε καταχρηστικό, άσεμνο, χυδαίο, δυσφημιστικό, μισητό, απειλητικό, σεξουαλικό ή οποιοδήποτε άλλο υλικό που θα μπορούσε να παραβιάσει οποιονδήποτε ισχύοντα νόμο.<br />
-<br />
-Αυτή η ιστοσελίδα χρησιμοποιεί cookies για να αποθηκεύσει πληροφορίες τοπικά στον Η/Υ σας. Αυτά τα cookies εξυπηρετούν μόνο στην βελτίωση της δικής σας ευχάριστης πλοήγησης. Η email διεύθυνσή σας χρησιμοποιείται μόνο για την επιβεβαίωση των λεπτομερειών εγγραφής και κωδικού σας.<br />
-<br />
-Κάνοντας κλικ στο 'Συμφωνώ' παρακάτω αποδέχεστε αυτούς τους όρους.
-EOT;
-
-$lang_register_php = array(
-  'page_title' => 'Εγγραφή χρήστη',
-  'term_cond' => 'Όροι και διατάξεις',
-  'i_agree' => 'Συμφωνώ',
-  'submit' => 'Υποβολή εγγραφής',
-  'err_user_exists' => 'Το όνομα χρήστη που έχετε εισάγει υπάρχει ήδη, παρακαλώ διαλέξτε κάποιο άλλο',
-  'err_password_mismatch' => 'Οι δύο κωδικοί δεν είναι ίδιοι, παρακαλώ εισάγετέ τους ξανά',
-  'err_uname_short' => 'Το όνομα χρήστη πρέπει να είναι τουλάχιστον 2 χαρακτήρες',
-  'err_password_short' => 'Ο κωδικός πρέπει να είναι τουλάχιστον 2 χαρακτήρες',
-  'err_uname_pass_diff' => 'Το όνομα χρήστη και ο κωδικός πρέπει να είναι διαφορετικά',
-  'err_invalid_email' => 'Η email διεύθυνση δεν είναι έγκυρη',
-  'err_duplicate_email' => 'Κάποιος άλλος χρήστης έχει εγγραφεί με την email διεύθυνση που έχετε εισάγει',
-  'enter_info' => 'Καταχώρηση πληροφοριών εγγραφής',
-  'required_info' => 'Απαραίτητες πληροφορίες',
-  'optional_info' => 'Προαιρετικές πληροφορίες',
-  'username' => 'Όνομα χρήστη',
-  'password' => 'Κωδικός',
-  'password_again' => 'Εισάγετε ξανά τον κωδικό σας',
-  'email' => 'Email',
-  'location' => 'Τοποθεσία',
-  'interests' => 'Ενδιαφέροντα',
-  'website' => 'Προσωπική Ιστοσελίδα',
-  'occupation' => 'Επάγγελμα',
-  'error' => 'ΛΑΘΟΣ',
-  'confirm_email_subject' => '%s - Επιβεβαίωση εγγραφής',
-  'information' => 'Πληροφορίες',
-  'failed_sending_email' => 'Το email για την επιβεβαίωση εγγραφής δεν μπορεί να σταλεί !',
-  'thank_you' => 'Σας ευχαριστούμε για την εγγραφή σας.<br /><br />Ένα email με πληροφορίες για τον τρόπο ενεργοποίησης του λογαριασμού σας έχει σταλεί στην email διεύθυνση που δώσατε.',
-  'acct_created' => 'Ο λογαριασμός σας έχει δημιουργηθεί και μπορείτε να συνδεθείτε με το όνομα χρήστη και τον κωδικό σας',
-  'acct_active' => 'Ο λογαριασμός σας είναι τώρα ενεργός και μπορείτε να συνδεθείτε με το όνομα χρήστη και τον κωδικό σας',
-  'acct_already_act' => 'Ο λογαριασμός είναι ήδη ενεργός!', //cpg1.4
-  'acct_act_failed' => 'Αυτός ο λογαριασμός δεν μπορεί να ενεργοποιηθεί !',
-  'err_unk_user' => 'Ο επιλεγμένος χρήστης δεν υπάρχει !',
-  'x_s_profile' => '%s\'ς προφίλ',
-  'group' => 'Ομάδα',
-  'reg_date' => 'Προσήλθε',
-  'disk_usage' => 'Χρήση χώρου',
-  'change_pass' => 'Αλλαγή κωδικού',
-  'current_pass' => 'Ισχύων κωδικός',
-  'new_pass' => 'Νέος κωδικός',
-  'new_pass_again' => 'Επανάληψη νέου κωδικού',
-  'err_curr_pass' => 'Ο ισχύων κωδικός είναι λανθασμένος',
-  'apply_modif' => 'Εφαρμογή τροποποιήσεων',
-  'change_pass' => 'Αλλαγή του κωδικού μου',
-  'update_success' => 'Το προφίλ σας έχει ενημερωθεί',
-  'pass_chg_success' => 'Ο κωδικός σας άλλαξε',
-  'pass_chg_error' => 'Ο κωδικός σας δεν άλλαξε',
-  'notify_admin_email_subject' => '%s - Ενημέρωσης νέας εγγραφής',
-  'last_uploads' => 'Τελευταία προστιθέμενο αρχείο.<br />Κάντε κλικ για να δείτε όλες τις προσθέσεις του/ης', //cpg1.4
-  'last_comments' => 'Τελευταίο σχόλιο.<br />Κάντε κλικ για να δείτε όλα τα σχόλια του/ης', //cpg1.4
-  'notify_admin_email_body' => 'Ένα νέο μέλος με όνομα χρήστη "%s" έχει εγγραφεί στην γκαλερί σας',
-  'pic_count' => 'Προστιθέμενα αρχεία', //cpg1.4
-  'notify_admin_request_email_subject' => '%s - Αίτηση εγγραφής', //cpg1.4
-  'thank_you_admin_activation' => 'Σας ευχαριστούμε.<br /><br />Η αίτησή σας για ενεργοποίηση λογαριασμού έχει σταλεί στον διαχειριστή. Σε περίπτωση έγκρισης θα ειδοποιηθείτε μέσω email.', //cpg1.4
-  'acct_active_admin_activation' => 'Ο λογαριασμός είναι τώρα ενεργός και ένα email έχει σταλεί στον χρήστη.', //cpg1.4
-  'notify_user_email_subject' => '%s - Ενημέρωση ενεργοποίησης', //cpg1.4
-);
-
-$lang_register_confirm_email = <<<EOT
-Σας ευχαριστούμε για την εγγραφή σας στο {SITE_NAME}
-
-Για να ενεργοποιήσετε τον λογαριασμό σας με όνομα χρήστη "{USER_NAME}", πρέπει να κάνετε κλικ στον παρακάτω σύνδεσμο ή να τον αντιγράψετε και να τον επικολλήσετε στον πλοηγό ιστοσελίδων σας.
-
-<a href="{ACT_LINK}">{ACT_LINK}</a>
-
-Φιλικά,
-
-Η διαχείριση του {SITE_NAME}
-
-EOT;
-
-$lang_register_approve_email = <<<EOT
-Ένα νέο μέλος με όνομα χρήστη "{USER_NAME}" έχει εγγραφεί στην γκαλερί σας.
-
-Για να ενεργοποιήσετε τον λογαριασμό, πρέπει να κάνετε κλικ στον παρακάτω σύνδεσμο ή να τον αντιγράψετε και να τον επικολλήσετε στον πλοηγό ιστοσελίδων σας.
-
-<a href="{ACT_LINK}">{ACT_LINK}</a>
-
-EOT;
-
-$lang_register_activated_email = <<<EOT
-Ο λογαριασμός σας έχει εγκριθεί και ενεργοποιηθεί.
-
-Μπορείτε τώρα να συνδεθείτε στο <a href="{SITE_LINK}">{SITE_LINK}</a> με όνομα χρήστη "{USER_NAME}"
-
-
-Φιλικά,
-
-Η διαχείριση του {SITE_NAME}
-
-EOT;
-}
-
-// ------------------------------------------------------------------------- //
-// File reviewcom.php
-// ------------------------------------------------------------------------- //
-
-if (defined('REVIEWCOM_PHP')) $lang_reviewcom_php = array(
-  'title' => 'Επισκόπηση σχολίων',
-  'no_comment' => 'Δεν υπάρχουν σχόλια για επισκόπηση',
-  'n_comm_del' => '%s σχόλιο/α διαγράφηκε/αν',
-  'n_comm_disp' => 'Αριθμός σχολίων προς εμφάνιση',
-  'see_prev' => 'Εμφάνιση προηγούμενου',
-  'see_next' => 'Εμφάνιση επόμενου',
-  'del_comm' => 'Διαγραφή επιλεγμένων σχολίων',
-  'user_name' => 'Όνομα', //cpg1.4
-  'date' => 'Ημερομηνία', //cpg1.4
-  'comment' => 'Σχόλιο', //cpg1.4
-  'file' => 'Αρχείο', //cpg1.4
-  'name_a' => 'Ανοδικά κατά όνομα χρήστη', //cpg1.4
-  'name_d' => 'Καθοδικά κατά όνομα χρήστη', //cpg1.4
-  'date_a' => 'Ανοδικά κατά ημερομηνία', //cpg1.4
-  'date_d' => 'Καθοδικά κατά ημερομηνία', //cpg1.4
-  'comment_a' => 'Ανοδικά κατά σχόλιο', //cpg1.4
-  'comment_d' => 'Καθοδικά κατά σχόλιο', //cpg1.4
-  'file_a' => 'Ανοδικά κατά αρχείο', //cpg1.4
-  'file_d' => 'Καθοδικά κατά αρχείο', //cpg1.4
-);
-
-
-// ------------------------------------------------------------------------- //
-// File search.php                                                           //
-// ------------------------------------------------------------------------- //
-
-
-if (defined('SEARCH_PHP')){
-
-$lang_search_php = array(
-  'title' => 'Αναζήτηση στη συλλογή αρχείων', //cpg1.4
-  'submit_search' => 'αναζήτηση', //cpg1.4
-  'keyword_list_title' => 'Λίστα λέξεων-κλειδιών', //cpg1.4
-  'keyword_msg' => 'Η παραπάνω λίστα δεν είναι πλήρης. Δεν συμπεριλαμβάνει λέξεις από τίτλους ή περιγραφές φωτογραφιών. Προσπαθήστε να κάνετε αναζήτηση πλήρους κειμένου.',  //cpg1.4
-  'edit_keywords' => 'Επεξεργασία λέξεων-κλειδιών', //cpg1.4
-  'search in' => 'Αναζήτηση στο:', //cpg1.4
-  'ip_address' => 'IP διεύθυνση', //cpg1.4
-  'fields' => 'Αναζήτηση στο', //cpg1.4
-  'age' => 'Ηλικία', //cpg1.4
-  'newer_than' => 'Νεώτερο από', //cpg1.4
-  'older_than' => 'Παλιότερο από', //cpg1.4
-  'days' => 'ημέρες', //cpg1.4
-  'all_words' => 'Ταίριασμα με όλες τις λέξεις (ΚΑΙ)', //cpg1.4
-  'any_words' => 'Ταίριασμα με όλες τις λέξεις (Ή)', //cpg1.4
-);
-
-$lang_adv_opts = array(
-  'title' => 'Τίτλος', //cpg1.4
-  'caption' => 'Επικεφαλίδα', //cpg1.4
-  'keywords' => 'Λέξεις-κλειδιά', //cpg1.4
-  'owner_name' => 'Όνομα ιδιοκτήτη', //cpg1.4
-  'filename' => 'Όνομα αρχείου', //cpg1.4
-);
-
-}
-
-// ------------------------------------------------------------------------- //
-// File searchnew.php
-// ------------------------------------------------------------------------- //
-
-if (defined('SEARCHNEW_PHP')) $lang_search_new_php = array(
-  'page_title' => 'Αναζήτηση νέων αρχείων',
-  'select_dir' => 'Επιλογή καταλόγου',
-  'select_dir_msg' => 'Αυτή η λειτουργία σας επιτρέπει την πρόσθεση πολλαπλών αρχείων τα οποία έχετε ανεβάσει στον διακομιστή σας μεσω FTP.<br /><br />Επιλέξτε τον κατάλογο όπου έχετε ανεβάσει τα αρχεία σας.', //cpg1.4
-  'no_pic_to_add' => 'Δεν υπάρχει αρχείο για πρόσθεση',
-  'need_one_album' => 'Χρειάζεστε τουλάχιστον ένα άλμπουμ για να χρησιμοποιήσετε αυτή τη λειτουργία',
-  'warning' => 'Προειδοποίηση',
-  'change_perm' => 'το πρόγραμμα δεν μπορεί να γράψει σε αυτόν τον κατάλογο, πρέπει να αλλάξετε τις ιδιότητές του (CHMOD) σε 755 ή 777 πριν προσπαθήσετε να προσθέσετε τα αρχεία !',
-  'target_album' => '<b>Πρόσθεση αρχείων από το &quot;</b>%s<b>&quot; στο </b>%s',
-  'folder' => 'Φάκελλος',
-  'image' => 'αρχείο',
-  'album' => '\'Αλμπουμ',
-  'result' => 'Αποτέλεσμα',
-  'dir_ro' => 'Μη εγγράψιμο. ',
-  'dir_cant_read' => 'Μη αναγνώσιμο. ',
-  'insert' => 'Προσθήκη νέων αρχείων στην γκαλερί',
-  'list_new_pic' => 'Λίστα νέων αρχείων',
-  'insert_selected' => 'Προσθήκη επιλεγμένων αρχείων',
-  'no_pic_found' => 'Δεν βρέθηκαν νέα αρχεία',
-  'be_patient' => 'Παρακαλώ να είστε υπομονετικοί, το πρόγραμμα χρειάζεται λίγο χρόνο για να προσθέσει τα αρχεία',
-  'no_album' => 'δεν επιλέχθηκε άλμπουμ',
-  'result_icon' => 'κάντε κλικ για λεπτομέρειες ή για επαναφόρτωση',  //cpg1.4
-  'notes' =>  '<ul>'.
-                          '<li><b>OK</b> : σημαίνει πως το αρχείο προστέθηκε επιτυχώς'.
-                          '<li><b>DP</b> : σημαίνει πως το αρχείο υπάρχει ήδη στην βάση δεδομένων'.
-                          '<li><b>PB</b> : σημαίνει πως το αρχείο δεν μπορεί να προστεθεί, ελέγξτε τις ρυθμίσεις σας και το εάν οι καταλόγοι στους οποίους βρίσκονται τα αρχεία είναι εγγράψιμοι'.
-                          '<li><b>NA</b> : σημαίνει πως δεν επιλέξατε άλμπουμ στο οποίο θα προστεθούν τα αρχεία, κάντε κλικ στο \'<a href="javascript:history.back(1)">επιστροφή</a>\' και επιλέξτε ένα άλμπουμ. Εάν δεν υπάρχει άλμπουμ <a href="albmgr.php">δημιουργήστε ένα πρώτα</a></li>'.
-                          '<li>Εάν τα OK, DP, PB \'εικονίδια\' δεν εμφανίζονται κάντε κλικ στην μη εμφανισθείσα εικόνα για να δείτε τυχόν μυνήματα λάθους που παρήχθεισαν από την PHP'.
-                          '<li>Εάν έχει παρέλθει η προθεσμία σύνδεσης του πλοηγού ιστοσελίδων, κάντε κλικ στο κουμπί επαναφόρτωση'.
-                          '</ul>',
-  'select_album' => 'επιλέξτε άλμπουμ',
-  'check_all' => 'Επιλογή Όλων',
-  'uncheck_all' => 'Αποεπιλογή Όλων',
-  'no_folders' => 'Δεν υπάρχουν φάκελλοι μέσα στον φάκελλο "albums" ακόμη. Σιγουρευτείτε για την δημιουργία τουλάχιστον ενός φακέλλου μέσα στον φάκελλο "albums" και ανεβάστε τα αρχεία σας εκεί με FTP. Δεν πρέπει να ανεβάσετε τα αρχεία σας στον φάκελλο "userpics" ούτε στον "edit", καθώς κρατούνται για προσθήκες μέσω http και για εσωτερικές διαδικασίες.', //cpg1.4
-   'albums_no_category' => 'Αλμπουμς χωρίς κατηγορία', //cpg1.4 // album pulldown mod, added by frogfoot
-  'personal_albums' => '* Προσωπικά άλμπουμς', //cpg1.4 // album pulldown mod, added by frogfoot
-  'browse_batch_add' => 'Πλοηγήσιμο περιβάλλον (συστήνεται)', //cpg1.4
-  'edit_pics' => 'Επεξεργασία αρχείων', //cpg1.4
-  'edit_properties' => 'Ιδιότητες των άλμπουμς', //cpg1.4
-  'view_thumbs' => 'Εμφάνιση μικρογραφιών', //cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File stat_details.php //cpg1.4
-// ------------------------------------------------------------------------- //
-
-if (defined('STAT_DETAILS_PHP')) $lang_stat_details_php = array(
-  'show_hide' => 'εμφάνιση/απόκρυψη αυτής της στήλης', //cpg1.4
-  'vote' => 'Λεπτομέρειες Ψήφων', //cpg1.4
-  'hits' => 'Λεπτομέρειες Επισκέψεων', //cpg1.4
-  'stats' => 'Στατιστικές Ψήφων', //cpg1.4
-  'sdate' => 'Ημερομηνία', //cpg1.4
-  'rating' => 'Βαθμολόγηση', //cpg1.4
-  'search_phrase' => 'Αναζήτηση φράσεως', //cpg1.4
-  'referer' => 'Αναφορέας', //cpg1.4
-  'browser' => 'Πλοηγός ιστοσελίδων', //cpg1.4
-  'os' => 'Λειτουργικό Σύστημα', //cpg1.4
-  'ip' => 'IP', //cpg1.4
-  'sort_by_xxx' => 'Ταξινομημένα κατά %s', //cpg1.4
-  'ascending' => 'ανοδικά', //cpg1.4
-  'descending' => 'καθοδικά', //cpg1.4
-  'internal' => 'int', //cpg1.4
-  'close' => 'κλείσιμο', //cpg1.4
-  'hide_internal_referers' => 'απόκρυψη εσωτερικών αναφορών', //cpg1.4
-  'date_display' => 'Εμφάνιση ημερομηνίας', //cpg1.4
-  'submit' => 'υποβολή / φρεσκάρισμα', //cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File thumbnails.php
-// ------------------------------------------------------------------------- //
-
-// Void
-
-// ------------------------------------------------------------------------- //
-// File upload.php
-// ------------------------------------------------------------------------- //
-
-if (defined('UPLOAD_PHP')) $lang_upload_php = array(
-  'title' => 'Προσθήκη αρχείου',
-  'custom_title' => 'Διαμορφοποιήσιμη Φόρμα Αίτησης',
-  'cust_instr_1' => 'Μπορείτε να επιλέξετε έναν δικό σας αριθμό πεδίων για προσθήκη. Ωστόσο, δεν μπορείτε να διαλέξετε πάνω από τα παρακάτω όρια.',
-  'cust_instr_2' => 'Αριθμός Πεδίων Αίτησης',
-  'cust_instr_3' => 'Πεδία προσθήκης αρχείων: %s',
-  'cust_instr_4' => 'Πεδία προσθήκης URI/URL: %s',
-  'cust_instr_5' => 'Πεδία προσθήκης URI/URL:',
-  'cust_instr_6' => 'Πεδία προσθήκης αρχείων:',
-  'cust_instr_7' => 'Παρακαλώ εισάγετε τον αριθμό κάθε είδους πεδίου προσθήκης για αυτή τη φορά.  Μετά κάντε κλικ στο \'Συνέχεια\'. ',
-  'reg_instr_1' => 'Άκυρη ενέργεια για την δημιουργία φόρμας.',
-  'reg_instr_2' => 'Τώρα μπορείτε να προσθέσετε τα αρχεία σας χρησιμοποιώντας τα παρακάτω πεδία προσθήκης. Το μέγεθος των αρχείων που θα προσθέσετε δεν πρέπει να ξεπερνά τα %s KB το καθένα. Τυχόν ZIP αρχεία που θα προστεθούν μέσω των πεδίων \'Προσθήκη Αρχείου\' και \'Προσθήκη URI/URL\' θα παραμείνουν συμπιεσμένα.',
-  'reg_instr_3' => 'Εάν θέλετε τα συμπιεσμένα αρχεία να αποσυμπιεστούν, πρέπει να χρησιμοποιήσετε το πεδίο προσθήκης που υπάρχει στην περιοχή \'Προσθήκη Αποσυμπιεζομένων Αρχείων ZIP\'.',
-  'reg_instr_4' => 'Εάν θέλετε να χρησιμοποιήσετε το πεδίο προσθήκης URI/URL, παρακαλώ να εισάγετε την διαδρομή προς το αρχείο με αυτόν τον τρόπο: http://www.mysite.com/images/example.jpg',
-  'reg_instr_5' => 'Όταν συμπληρώσετε την φόρμα, παρακαλώ κάντε κλικ στο \'Συνέχεια\'.',
-  'reg_instr_6' => 'Προσθήκη Αποσυμπιεζομένων Αρχείων ZIP:',
-  'reg_instr_7' => 'Προσθήκη Αρχείων:',
-  'reg_instr_8' => 'Προσθήκη URI/URL:',
-  'error_report' => 'Αναφορά Λάθους',
-  'error_instr' => 'Οι παρακάτω προσθήκες παρουσίασαν λάθη:',
-  'file_name_url' => 'Όνομα Αρχείου/URL',
-  'error_message' => 'Μύνημα Λάθους',
-  'no_post' => 'Το αρχείο δεν προστέθηκε από την λειτουργία POST.',
-  'forb_ext' => 'Ανεπίτρεπτη επέκταση αρχείου.',
-  'exc_php_ini' => 'Υπέρβαση επιτρεπόμενου μεγέθους αρχείου από το php.ini.',
-  'exc_file_size' => 'Υπέρβαση επιτρεπόμενου μεγέθους αρχείου από το CPG.',
-  'partial_upload' => 'Μόνο ένα μέρος προστέθηκε.',
-  'no_upload' => 'Δεν έγινε προσθήκη.',
-  'unknown_code' => 'Άγνωστο λάθος στον κώδικα προσθήκης της PHP.',
-  'no_temp_name' => 'Δεν έγινε προσθήκη - Δεν υπάρχει προσωρινό όνομα.',
-  'no_file_size' => 'Δεν περιέχει δεδομένα/Αλλοιωμένο',
-  'impossible' => 'Αδύνατη η μετακίνηση.',
-  'not_image' => 'Δεν είναι εικόνα/αλλοιωμένο',
-  'not_GD' => 'Δεν είναι επέκταση GD.',
-  'pixel_allowance' => 'Το ύψος και/ή το πλάτος της προστιθέμενης φωτογραφίας είναι άνω του επιτρεπτού ορίου των ρυθμίσεων της γκαλερί.', //cpg1.4
-  'incorrect_prefix' => 'Λάθος πρόθεμα URI/URL',
-  'could_not_open_URI' => 'Δεν μπόρεσε να ανοίξει το URI.',
-  'unsafe_URI' => 'Ασφάλεια μη επαληθεύσιμη.',
-  'meta_data_failure' => 'Αποτυχία στοιχείων Meta',
-  'http_401' => '401 Μη εξουσιοδοτημένο',
-  'http_402' => '402 Απαιτείται Πληρωμή',
-  'http_403' => '403 Απαγορευμένο',
-  'http_404' => '404 Δεν Βρέθηκε',
-  'http_500' => '500 Εσωτερικό Λάθος Διακομιστή',
-  'http_503' => '503 Υπηρεσία Μη Διαθέσιμη',
-  'MIME_extraction_failure' => 'Δεν μπόρεσε να καθοριστεί η επέκταση MIME (Multipurpose Internet Mail Extensions).',
-  'MIME_type_unknown' => 'Άγνωστος τύπος MIME (Multipurpose Internet Mail Extensions)',
-  'cant_create_write' => 'Αδύνατη η δημιουργία εγγράψιμου αρχείου.',
-  'not_writable' => 'Αδύνατη η εγγραφή στο εγγράψιμο αρχείο.',
-  'cant_read_URI' => 'Αδύνατη η ανάγνωση του URI/URL',
-  'cant_open_write_file' => 'Αδύνατο το άνοιγμα του εγγράψιμου αρχείου URI.',
-  'cant_write_write_file' => 'Αδύνατη η εγγραφή στο εγγράψιμο αρχείο URI.',
-  'cant_unzip' => 'Αδύνατη η αποσυμπίεση.',
-  'unknown' => 'Άγνωστο λάθος',
-  'succ' => 'Επιτυχείς Προσθήκες',
-  'success' => '%s επιτυχείς προσθήκες.',
-  'add' => 'Παρακαλώ κάντε κλικ στο \'Συνέχεια\' για να προσθέσετε τα αρχεία σε άλμπουμς.',
-  'failure' => 'Αποτυχία Προσθήκης',
-  'f_info' => 'Πληροφορίες Αρχείου',
-  'no_place' => 'Το προηγούμενο αρχείο δεν μπόρεσε να τοποθετηθεί.',
-  'yes_place' => 'Το προηγούμενο αρχείο προστέθηκε επιτυχώς.',
-  'max_fsize' => 'Το μέγιστο επιτρεπόμενο μέγεθος αρχείου είναι %s KB',
-  'album' => '\'Αλμπουμ',
-  'picture' => 'Αρχείο',
-  'pic_title' => 'Τίτλος αρχείου',
-  'description' => 'Περιγραφή αρχείου',
-  'keywords' => 'Λέξεις-Κλειδιά (διαχωρισμένες με κενά)<br /><a href="#" onClick="return MM_openBrWindow(\'keyword_select.php\',\'selectKey\',\'width=250, height=400, scrollbars=yes,toolbar=no,status=yes,resizable=yes\')">Εισαγωγή από λίστα</a>', //cpg1.4
-  'keywords_sel' =>'Επιλέξτε Λέξη-Κλειδί', //cpg1.4
-  'err_no_alb_uploadables' => 'Συγνώμη δεν υπάρχει άλμπουμ στο οποίο να σας επιτρέπεται η προσθήκη αρχείων',
-  'place_instr_1' => 'Παρακαλώ τοποθετήστε τα αρχεία σε άλμπουμς τώρα.  Μπορείτε επίσης να εισάγετε πληροφορίες σχετικές με κάθε αρχείο.',
-  'place_instr_2' => 'Περισσότερα αρχεία χρειάζονται τοποθέτηση. Παρακαλώ κάντε κλικ στο \'Συνέχεια\'.',
-  'process_complete' => 'Έχετε τοποθετήσει όλα τα αρχεία επιτυχώς.',
-   'albums_no_category' => 'Αλμπουμς χωρίς κατηγορία', //cpg1.4. //album pulldown mod, added by frogfoot
-  'personal_albums' => '* Προσωπικά άλμπουμς', //cpg1.4 //album pulldown mod, added by frogfoot
-  'select_album' => 'Επιλέξτε άλμπουμ', //cpg1.4 //album pulldown mod, added by frogfoot
-  'close' => 'Κλείσιμο', //cpg1.4
-  'no_keywords' => 'Συγνώμη, δεν υπάρχουν διαθέσιμες λέξεις-κλειδιά!', //cpg1.4
-  'regenerate_dictionary' => 'Αναπαραγωγή Λεξικού', //cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File usermgr.php
-// ------------------------------------------------------------------------- //
-
-if (defined('USERMGR_PHP')) $lang_usermgr_php = array(
-  'memberlist' => 'Λίστα Μελών', //cpg1.4
-  'user_manager' => 'Διαχείριση χρηστών', //cpg1.4
-  'title' => 'Διαχείριση χρηστών',
-  'name_a' => 'Ανοδικά κατά όνομα',
-  'name_d' => 'Καθοδικά κατά όνομα',
-  'group_a' => 'Ανοδικά κατά ομάδα',
-  'group_d' => 'Καθοδικά κατά ομάδα',
-  'reg_a' => 'Ανοδικά κατά ημερομηνία εγγραφής',
-  'reg_d' => 'Καθοδικά κατά ημερομηνία εγγραφής',
-  'pic_a' => 'Ανοδικά κατά αριθμό αρχείων',
-  'pic_d' => 'Καθοδικά κατά αριθμό αρχείων',
-  'disku_a' => 'Ανοδικά κατά χρήση χώρου',
-  'disku_d' => 'Καθοδικά κατά χρήση χώρου',
-  'lv_a' => 'Ανοδικά κατά τελευταία επίσκεψη',
-  'lv_d' => 'Καθοδικά κατά τελευταία επίσκεψη',
-  'sort_by' => 'Ταξινόμηση χρηστών κατά',
-  'err_no_users' => 'Ο πίνακας χρηστών είναι άδειος !',
-  'err_edit_self' => 'Δεν μπορείτε να επεξεργαστείτε το δικό σας προφίλ, χρησιμοποιήστε τον σύνδεσμο \'Το Προφίλ Μου\' για αυτό',
-  'edit' => 'Επεξεργασία', //cpg1.4
-  'with_selected' => 'Με τα επιλεγμένα:', //cpg1.4
-  'delete' => 'Διαγραφή', //cpg1.4
-  'delete_files_no' => 'κατακράτηση δημόσιων αρχείων (αλλά ανώνυμα)', //cpg1.4
-  'delete_files_yes' => 'διαγραφή και δημόσιων αρχείων', //cpg1.4
-  'delete_comments_no' => 'κατακράτηση σχολίων (αλλά ανώνυμα)', //cpg1.4
-  'delete_comments_yes' => 'διαγραφή και σχολίων', //cpg1.4
-  'activate' => 'Ενεργοποίηση', //cpg1.4
-  'deactivate' => 'Απενεργοποίηση', //cpg1.4
-  'reset_password' => 'Μηδενισμός Κωδικού', //cpg1.4
-  'change_primary_membergroup' => 'Αλλαγή πρωταρχικής ομάδας μέλους', //cpg1.4
-  'add_secondary_membergroup' => 'Πρόσθεση δευτερεύουσας ομάδας μέλους', //cpg1.4
-  'name' => 'Όνομα χρήστη',
-  'group' => 'Ομάδα',
-  'inactive' => 'Ανενεργός',
-  'operations' => 'Λειτουργίες',
-  'pictures' => 'Αρχεία',
-  'disk_space_used' => 'Χρησιμοποιημένος χώρος', //cpg1.4
-  'disk_space_quota' => 'Ποσόστωση Χώρου', //cpg1.4
-  'registered_on' => 'Εγγραφή', //cpg1.4
-  'last_visit' => 'Τελευταία Επίσκεψη',
-  'u_user_on_p_pages' => '%d χρήστες σε %d σελίδα/ες',
-  'confirm_del' => 'Είστε σίγουροι πως θέλετε να ΔΙΑΓΡΑΨΕΤΕ αυτόν τον χρήστη ; \\nΌλα τα αρχεία και τα άλμπουμς του θα διαγραφούν επίσης.', //js-alert
-  'mail' => 'ΤΑΧΥΔΡΟΜΕΙΟ',
-  'err_unknown_user' => 'Ο επιλεγμένος χρήστης δεν υπάρχει !',
-  'modify_user' => 'Τροποποίηση χρήστη',
-  'notes' => 'Σημειώσεις',
-  'note_list' => '<li>Εάν δεν θέλετε να αλλάξετε τον ισχύοντα κωδικό σας, αφήστε κενό το πεδίο "κωδικός"',
-  'password' => 'Κωδικός',
-  'user_active' => 'Ο χρήστης είναι ενεργός',
-  'user_group' => 'Ομάδα χρήστη',
-  'user_email' => 'Email χρήστη',
-  'user_web_site' => 'Ιστοσελίδα χρήστη',
-  'create_new_user' => 'Δημιουργία νέου χρήστη',
-  'user_location' => 'Τοποθεσία χρήστη',
-  'user_interests' => 'Ενδιαφέροντα χρήστη',
-  'user_occupation' => 'Επάγγελμα χρήστη',
-  'user_profile1' => '$user_profile1', //cpg1.4
-  'user_profile2' => '$user_profile2', //cpg1.4
-  'user_profile3' => '$user_profile3', //cpg1.4
-  'user_profile4' => '$user_profile4', //cpg1.4
-  'user_profile5' => '$user_profile5', //cpg1.4
-  'user_profile6' => '$user_profile6', //cpg1.4
-  'latest_upload' => 'Πρόσφατες προσθήκες',
-  'never' => 'ποτέ',
-  'search' => 'Αναζήτηση χρήστη', //cpg1.4
-  'submit' => 'Υποβολή', //cpg1.4
-  'search_submit' => 'Πάμε!', //cpg1.4
-  'search_result' => 'Αναζήτηση αποτελεσμάτων για: ', //cpg1.4
-  'alert_no_selection' => 'Πρέπει πρώτα να επιλέξετε τουλάχιστον έναν χρήστη!', //cpg1.4 //js-alert
-  'password' => 'κωδικός', //cpg1.4
-  'select_group' => 'Επιλέξτε ομάδα', //cpg1.4
-  'groups_alb_access' => 'Άδειες άλμπουμς κατά ομάδα', //cpg1.4
-  'album' => '\'Αλμπουμ', //cpg1.4
-  'category' => 'Κατηγορία', //cpg1.4
-  'modify' => 'Τροποποίηση;', //cpg1.4
-  'group_no_access' => 'Αυτή η ομάδα δεν έχει ειδική πρόσβαση', //cpg1.4
-  'notice' => 'Ειδοποίηση', //cpg1.4
-  'group_can_access' => '\'Αλμπουμ(ς) που μόνο ο/η "%s" μπορεί να δει', //cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File util.php
-// ------------------------------------------------------------------------- //
-
-if (defined('UTIL_PHP')) {
-$lang_util_desc_php = array(
-'Ενημερώνει τίτλους από όνομα αρχείου', //cpg1.4
-'Διαγράφει τίτλους', //cpg1.4
-'Επαναδημιουργεί μικρογραφίες και αναμεγενθύνει φωτογραφίες', //cpg1.4
-'Διαγράφει τις πρωτότυπες φωτογραφίες και τις αντικαθιστά με τις αναμεγενθυμένες', //cpg1.4
-'Διαγράφει τις πρωτότυπες ή τις ενδιάμεσες φωτογραφίες για να ελευθερώσει χώρο', //cpg1.4
-'Διαγράφει σχόλια που δεν ανήκουν σε καμιά φωτογραφία', //cpg1.4
-'Επαναδιαβάζει μεγέθη και διαστάσεις αρχείων (εάν επεξεργαστείτε φωτογραφίες \'χειρονακτικά\')', //cpg1.4
-'Μηδενίζει μετρητές εμφανίσεων', //cpg1.4
-'Εμφανίζει τις πληροφορίες PHP (phpinfo)', //cpg1.4
-'Ενημερώνει την βάση δεδομένων', //cpg1.4
-'Εμφανίζει τα αρχεία αναγραφής', //cpg1.4
-);
-$lang_util_php = array(
-  'title' => 'Εργαλεία διαχειριστή (αναμεγέθυνση φωτογραφιών)',
-  'what_it_does' => 'Τι κάνει',
-  'file' => 'Αρχείο',
-  'problem' => 'Πρόβλημα', //cpg1.4
-  'status' => 'Κατάσταση', //cpg1.4
-  'title_set_to' => 'ο τίτλος καθορίστηκε σε',
-  'submit_form' => 'υποβολή',
-  'updated_succesfully' => 'ενημέρωση επιτυχής',
-  'error_create' => 'ΛΑΘΟΣ στην δημιουργία',
-  'continue' => 'Επεξεργασία περισσότερων φωτογραφιών',
-  'main_success' => 'Το αρχείο %s προστέθηκε επιτυχώς ως κύριο αρχείο',
-  'error_rename' => 'Λάθος στην μετονομασία του %s σε %s',
-  'error_not_found' => 'Το αρχείο %s δεν βρέθηκε',
-  'back' => 'επιστροφή στην κεντρική',
-  'thumbs_wait' => 'Ενημέρωση των μικρογραφιών και/ή των αναμεγενθυμένων φωτογραφιών, παρακαλώ περιμένετε...',
-  'thumbs_continue_wait' => 'Συνέχεια της ενημέρωσης των μικρογραφιών και/ή των αναμεγενθυμένων φωτογραφιών...',
-  'titles_wait' => 'Ενημέρωση τίτλων, παρακαλώ περιμένετε...',
-  'delete_wait' => 'Διαγραφή τίτλων, παρακαλώ περιμένετε...',
-  'replace_wait' => 'Διαγραφή πρωτότυπων και αντικατάστασή τους με τις αναμεγενθυμένες φωτογραφίες, παρακαλώ περιμένετε..',
-  'instruction' => 'Γρήγορες οδηγίες',
-  'instruction_action' => 'Επιλογή ενέργειας',
-  'instruction_parameter' => 'Καθορισμός παραμέτρων',
-  'instruction_album' => 'Επιλογή άλμπουμ',
-  'instruction_press' => 'Κάντε κλικ στο %s',
-  'update' => 'Ενημέρωση των μικρογραφιών και/ή των αναμεγενθυμένων φωτογραφιών',
-  'update_what' => 'Τι θα πρέπει να ενημερωθεί',
-  'update_thumb' => 'Μόνο μικρογραφίες',
-  'update_pic' => 'Μόνο αναμεγενθυμένες φωτογραφίες',
-  'update_both' => 'Και μικρογραφίες και αναμεγενθυμένες φωτογραφίες',
-  'update_number' => 'Αριθμός επεξεργασμένων φωτογραφιών ανά κλικ',
-  'update_option' => '(Προσπαθήστε να καθορίσετε χαμηλότερη τιμή για αυτή την επιλογή εάν έχετε προβλήματα του χρόνου σύνδεσης)',
-  'filename_title' => 'Όνομα αρχείου &rArr; Τίτλος αρχείου',
-  'filename_how' => 'Πως θα πρέπει να τροποποιηθεί το όνομα αρχείου',
-  'filename_remove' => 'Αφαίρεση της επέκτασης .jpg και αντικατάσταση της _ (κάτω παύλας) με κενά',
-  'filename_euro' => 'Αλλαγή του 2003_11_23_13_20_20.jpg σε 23/11/2003 13:20',
-  'filename_us' => 'Αλλαγή του 2003_11_23_13_20_20.jpg σε 11/23/2003 13:20',
-  'filename_time' => 'Αλλαγή του 2003_11_23_13_20_20.jpg σε 13:20',
-  'delete' => 'Διαγραφή τίτλων αρχείων ή φωτογραφιών αρχικού μεγέθους',
-  'delete_title' => 'Διαγραφή τίτλων αρχείων',
-  'delete_title_explanation' => 'Αυτό θα διαγράψει όλους τους τίτλους από τα αρχεία του άλμπουμ που επιλέξατε.', //cpg1.4
-  'delete_original' => 'Διαγραφή φωτογραφιών αρχικού μεγέθους',
-  'delete_original_explanation' => 'Αυτό θα αφαιρέσει τις φωτογραφίες πλήρους μεγέθους.', //cpg1.4
-  'delete_intermediate' => 'Διαγραφή ενδιάμεσων φωτογραφιών', //cpg1.4
-  'delete_intermediate_explanation' => 'Αυτό θα διαγράψει τις ενδιάμεσες (κανονικές) φωτογραφίες.<br />Χρησιμοποιήστε το για να ελευθερώσετε χώρο εάν έχετε απενεργοποιημένη την \'Δημιουργία ενδιάμεσων φωτογραφιών\' στις ρυθμίσεις μετά την πρόσθεση φωτογραφιών.', //cpg1.4
-  'delete_replace' => 'Διαγράφει τις αρχικές φωτογραφίες αντικαθιστώντας τες με τις αναμεγενθυμένες',
-  'titles_deleted' => 'Όλοι οι τίτλοι στο επιλεγμένο άλμπουμ αφαιρέθηκαν', //cpg1.4
-  'deleting_intermediates' => 'Διαγραφή ενδιάμεσων φωτογραφιών, παρακαλώ περιμένετε...', //cpg1.4
-  'searching_orphans' => 'Αναζήτηση ορφανών, παρακαλώ περιμένετε...', //cpg1.4
-  'select_album' => 'Επιλέξτε άλμπουμ',
-  'delete_orphans' => 'Διαγραφή σχολίων από ελλείποντα αρχεία', //cpg1.4
-  'delete_orphans_explanation' => 'Αυτό θα σας επιτρέψει να προσδιορίσετε και να διαγράψετε οποιαδήποτε σχόλια που συνδέονται με αρχεία τα οποία δεν υπάρχουν πλέον στην γκαλερί.<br />Επιλογή όλων των άλμπουμς.', //cpg1.4
-  'refresh_db' => 'Επαναφόρτωση πληροφοριών διαστάσων και μεγέθους των αρχείων', //cpg1.4
-  'refresh_db_explanation' => 'Αυτό θα επαναδιαβάσει το μέγεθος και τις διαστάσεις των αρχείων. Χρησιμοποιήστε το εάν η ποσόστωση του χώρου σας είναι λάθος ή έχετε αλλάξει τα αρχεία \'χειρονακτικά\'.', //cpg1.4
-  'reset_views' => 'Μηδενισμός μετρητή εμφανίσεων', //cpg1.4
-  'reset_views_explanation' => 'Καθορίζει την τιμή όλων των μετρητών εμφανίσεων του επιλεγμένου άλμπουμ σε μηδέν.', //cpg1.4
-  'orphan_comment' => 'βρέθηκαν ορφανά σχόλια',
-  'delete' => 'Διαγραφή',
-  'delete_all' => 'Διαγραφή όλων',
-  'delete_all_orphans' => 'Διαγραφή όλων των ορφανών;', //cpg1.4
-  'comment' => 'Σχόλιο: ',
-  'nonexist' => 'προσαρτημένο σε ανύπαρκτο αρχείο # ',
-  'phpinfo' => 'Εμφάνιση phpinfo',
-  'phpinfo_explanation' => 'Περιέχει τεχνικές πληροφορίες σχετικά με τον διακομιστή σας.<br /> - Μπορεί να σας ζητηθούν όταν ζητήσετε υποστήριξη.', //cpg1.4
-  'update_db' => 'Ενημέρωση βάσης δεδομένων',
-  'update_db_explanation' => 'Εάν έχετε αντικαταστήσει αρχεία του coppermine, προσθέσει κάποια τροποποίηση ή αναβαθμίσει από προηγούμενη έκδοση του coppermine, σιγουρευτείτε πως θα κάνετε την ενημέρωση της βάσης δεδομένων μόνο μια φορά. Αυτό θα δημιουργήσει όλους τους απαραίτητους πίνακες και/ή τιμές ρυθμίσεως στην βάση δεδομένων του coppermine.',
-  'view_log' => 'Εμφάνιση αρχείων αναγραφής', //cpg1.4
-  'view_log_explanation' => 'Το Coppermine μπορεί να παρακολουθήσει διάφορες ενέργειες που εκτελούν οι χρήστες. Μπορείτε να κοιτάξετε τα αρχεία αυτά εάν έχετε ενεργοποιημένη την λειτουργία αναγραφής στις <a href="admin.php">ρυθμίσεις του coppermine</a>.', //cpg1.4
-  'versioncheck' => 'Έλεγχος εκδόσεων', //cpg1.4
-  'versioncheck_explanation' => 'Έλεγχος των εκδόσεων των αρχείων προς εξεύρεση του εάν έχουν αντικατασταθεί όλα μετά από μία αναβάθμιση, ή εάν τα πηγαία αρχεία του coppermine έχουν ενημερωθεί μετά την έκδοση ενός πακέτου.', //cpg1.4
-  'bridgemanager' => 'Διαχειριστής Γεφυρώματος', //cpg1.4
-  'bridgemanager_explanation' => 'Ενεργοποίηση/απενεργοποίηση ενσωμάτωσης (γεφυροποίηση) του Coppermine με μία άλλη εφαρμογή (π.χ. BBS-Bulletin Board System).', //cpg1.4
-);
-}
-
-// ------------------------------------------------------------------------- //
-// File versioncheck.php //cpg1.4
-// ------------------------------------------------------------------------- //
-
-if (defined('VERSIONCHECK_PHP')) $lang_versioncheck_php = array(
-  'title' => 'Έλεγχος εκδόσεων', //cpg1.4
-  'what_it_does' => 'Αυτή η σελίδα προορίζεται για τους χρήστες που έχουν ενημερώσει την εγκατάσταση του coppermine. Το πρόγραμμα αυτό ψάχνει τα αρχεία στον διακομιστή σας και προσπαθεί να καθορίσει εάν είναι ίδια με αυτά της \'αποθήκης\' στο http://coppermine.sourceforge.net, και έτσι εμφανίζει τα αρχεία που θα έπρεπε επίσης να ενημερώσετε.<br />Θα παρουσιάσει οτιδήποτε πρέπει να διορθωθεί με κόκκινο. Καταχωρήσεις με κίτρινο πρέπει να εξεταστούν. Καταχωρήσεις με πράσινο (ή το προεπιλεγμένο χρώμα γραμματοσειράς σας) είναι εντάξει.<br />Κάντε κλικ στα εικονίδια βοήθειας για περισσότερες λεπτομέρειες.', //cpg1.4
-  'online_repository_unable' => 'Αδύνατη η σύνδεση με την online \'αποθήκη\'', //cpg1.4
-  'online_repository_noconnect' => 'Το Coppermine δεν μπόρεσε να συνδεθεί με την online \'αποθήκη\'. Αυτό μπορεί να συνέβει για δύο λόγους:', //cpg1.4
-  'online_repository_reason1' => 'η online \'αποθήκη\' του coppermine είναι εκτός λειτουργίας - ελέγξτε εάν μπορείτε να συνδεθείτε με αυτή τη σελίδα: %s - εάν δεν μπορείτε να συνδεθείτε με αυτή τη σελίδα, προσπαθήστε ξανά αργότερα.', //cpg1.4
-  'online_repository_reason2' => 'Η PHP στον διακομιστή σας είναι ρυθμισμένη με την λειτουργία %s απενεργοποιημένη (εξ ορισμού, είναι ενεργοποιημένη). Εάν εσείς διαχειρίζεστε τον διακομιστή σας, θέστε την επιλογή αυτή σε λειτουργία στο <i>php.ini</i> (τουλάχιστον επιτρέψτε την προσπέλασή της με το %s). Εάν φιλοξενήστε σε διακομιστή, θα πρέπει απλά να συμβιβαστείτε με το γεγονός ότι δεν μπορείτε να ελέγξετε τα αρχεία σας με αυτά της online \'αποθήκης\'. Αυτή η σελίδα τότε θα εμφανίσει μόνο τις εκδόσεις των αρχείων που ήταν με την δική σας διανομή - οι ενημερώσεις δεν θα εμφανιστούν.', //cpg1.4
-  'online_repository_skipped' => 'Η σύνδεση στην online \'αποθήκη\' παρακάμφθηκε', //cpg1.4
-  'online_repository_to_local' => 'Το πρόγραμμα χρησιμοποιεί τώρα ως προκαθορισμένη την έκδοση των τοπικών αρχείων. Τα δεδομένα μπορεί να είναι ανακριβή εάν έχετε αναβαθμίσει το Coppermine χωρίς να έχετε ανεβάσει όλα τα αρχεία. Αλλαγές των αρχείων μετά την έκδοση δεν θα ληφθούν υπόψη.', //cpg1.4
-  'local_repository_unable' => 'Η σύνδεση στην \'αποθήκη\'  του διακομιστή σας ήταν ανεπιτυχής', //cpg1.4
-  'local_repository_explanation' => 'Το Coppermine να συνδεθεί στο αρχείο της \'αποθήκης\' %s του διακομιστή σας. Αυτό πιθανώς σημαίνει ότι δεν έχετε ανεβάσει το αρχείο \'αποθήκης\' στον διακομιστή σας. Ανεβάστε το και μετά προσπαθήστε να ξανατρέξετε την σελίδα αυτή άλλη μία φορά (κάντε κλικ στην επαναφόρτωση).<br />Εάν το πρόγραμμα συνεχίζει να αποτυγχάνει, τότε ο οικοδεσπότης σας (webhost) ίσως έχει απενεργοποιήσει μέρη των <a href="http://www.php.net/manual/en/ref.filesystem.php">λειτουργιών συστήματος αρχείων της PHP</a> εντελώς. Σε αυτή την περίπτωση, λυπούμαστε αλλά απλά δεν μπορείτε να χρησιμοποιήσετε αυτό το εργαλείο καθόλου.', //cpg1.4
-  'coppermine_version_header' => 'Εγκατεστημένη έκδοση του Coppermine', //cpg1.4
-  'coppermine_version_info' => 'Έχετε εγκατεστημένο το: %s', //cpg1.4
-  'coppermine_version_explanation' => 'Εάν νομίζετε πως αυτό είναι εντελώς λάθος και ότι θα έπρεπε να έχετε πιο νέα έκδοση του Coppermine, πιθανώς δεν θα έχετε ανεβάσει την πιο πρόσφατη έκδοση του αρχείου <i>include/init.inc.php</i>', //cpg1.4
-  'version_comparison' => 'Σύγκριση εκδόσεων', //cpg1.4
-  'folder_file' => 'φάκελλος/αρχείο', //cpg1.4
-  'coppermine_version' => 'έκδοση cpg', //cpg1.4
-  'file_version' => 'έκδοση αρχείου', //cpg1.4
-  'webcvs' => 'web svn', //cpg1.4
-  'writable' => 'εγγράψιμο', //cpg1.4
-  'not_writable' => 'μη εγγράψιμο', //cpg1.4
-  'help' => 'Βοήθεια', //cpg1.4
-  'help_file_not_exist_optional1' => 'αρχείο/φάκελλος δεν υπάρχει', //cpg1.4
-  'help_file_not_exist_optional2' => 'Το αρχείο/φάκελλος %s δεν βρέθηκε στον διακομιστή σας. Αν και είναι προαιρετικό θα έπρεπε να το ανεβάσετε (χρησιμοποιώντας το FTP πρόγραμμά σας) στον διακομιστή σας εάν συναντάτε προβλήματα.', //cpg1.4
-  'help_file_not_exist_mandatory1' => 'αρχείο/φάκελλος δεν υπάρχει', //cpg1.4
-  'help_file_not_exist_mandatory2' => 'Το αρχείο/φάκελλος %s δεν βρέθηκε στον διακομιστή σας, αν και είναι προαιρετικό. Ανεβάσετε το αρχείο στον διακομιστή (χρησιμοποιώντας το FTP πρόγραμμά σας).', //cpg1.4
-  'help_no_local_version1' => 'Δεν υπάρχει τοπική έκδοση του αρχείου', //cpg1.4
-  'help_no_local_version2' => 'Το πρόγραμμα δεν μπόρεσε να αποσπάσει τοπική έκδοση του αρχείου - το αρχείο σας είναι είτε παλιό είτε το έχετε τροποποιήσει, αφαιρώντας τις πληροφορίες επιγραφής στην πορεία. Συστήνεται η ενημέρωση του αρχείου.', //cpg1.4
-  'help_local_version_outdated1' => 'Παλιά τοπική έκδοση', //cpg1.4
-  'help_local_version_outdated2' => 'Η έκδοσή σας αυτού του αρχείου δείχνει να είναι από παλιότερη έκδοση του Coppermine (πιθανώς το αναβαθμίσατε). Σιγουρευτείτε για την ενημέρωση και αυτού του αρχείου επίσης.', //cpg1.4
-  'help_local_version_na1' => 'Αδύνατη η απόσπαση πληροφοριών έκδοσης cvs', //cpg1.4
-  'help_local_version_na2' => 'Το πρόγραμμα δεν μπόρεσε να καθορίσει ποια είναι η έκδοση cvs του αρχείου στον διακομιστή σας. Θα πρέπει να ανεβάσετε το αρχείο από το πακέτο σας.', //cpg1.4
-  'help_local_version_dev1' => 'Έκδοση ανάπτυξης', //cpg1.4
-  'help_local_version_dev2' => 'Το αρχείο στον διακομιστή σας δείχνει να είναι νεώτερο από αυτό της έκδοσης του Coppermine. Θα πρέπει είτε να χρησιμοποιείτε αρχείο ανάπτυξης (θα έπρεπε να το κάνετε αυτό μόνο αν ξέρετε τι κάνετε), είτε έχετε αναβαθμίσει την εγκατάσταση του Coppermine χωρίς να έχετε ανεβάσει το include/init.inc.php', //cpg1.4
-  'help_not_writable1' => 'Φάκελλος μη εγγράψιμος', //cpg1.4
-  'help_not_writable2' => 'Αλλάξτε τις άδειες αρχείου (CHMOD) για να δώσετε στο πρόγραμμα πρόσβαση εγγραφής στον φάκελλο %s και όλα μέσα σ\' αυτόν.', //cpg1.4
-  'help_writable1' => 'Φάκελλος εγγράψιμος', //cpg1.4
-  'help_writable2' => 'Ο φάκελλος %s είναι εγγράψιμος. Αυτό είναι περιττός κίνδυνος, καθώς το coppermine χρειάζεται μόνο πρόσβαση για ανάγνωση/εκτέλεση.', //cpg1.4
-  'help_writable_undetermined' => 'Το Coppermine δεν μπόρεσε να καθορίσει το εάν αυτός ο φάκελλος είναι εγγράψιμος ή όχι.', //cpg1.4
-  'your_file' => 'το αρχείο σας', //cpg1.4
-  'reference_file' => 'αρχείο αναφοράς', //cpg1.4
-  'summary' => 'Περίληψη', //cpg1.4
-  'total' => 'Συνολικά ελεγχμένα αρχεία/φάκελλοι', //cpg1.4
-  'mandatory_files_missing' => 'Απαραίτητα αρχεία που λείπουν', //cpg1.4
-  'optional_files_missing' => 'Προαιρετικά αρχεία που λείπουν', //cpg1.4
-  'files_from_older_version' => 'Αρχεία που μείνανε από παλιές εκδόσεις του Coppermine', //cpg1.4
-  'file_version_outdated' => 'Παλιές εκδόσεις αρχείων', //cpg1.4
-  'error_no_data' => 'Το πρόγραμμα δεν μπόρεσε να ανακτήσει οποιεσδήποτε πληροφορίες. Λυπούμαστε για την ταλαιπωρία.', //cpg1.4
-  'go_to_webcvs' => 'πηγαίνετε στο %s', //cpg1.4
-  'options' => 'Επιλογές', //cpg1.4
-  'show_optional_files' => 'εμφάνιση προαιρετικών φακέλλων/αρχείων', //cpg1.4
-  'show_mandatory_files' => 'εμφάνιση απαραίτητων αρχείων', //cpg1.4
-  'show_file_versions' => 'εμφάνιση εκδόσεων αρχείων', //cpg1.4
-  'show_errors_only' => 'εμφάνιση μόνο φακέλλων/αρχείων με λάθη', //cpg1.4
-  'show_permissions' => 'εμφάνιση αδειών φακέλλων', //cpg1.4
-  'show_condensed_output' => 'εμφάνιση συμπυκνωμένου περιεχομένου (για ευκολότερα screenshots)', //cpg1.4
-  'coppermine_in_webroot' => 'το coppermine είναι εγκατεστημένο στον αρχικό φάκελλο του διακομιστή', //cpg1.4
-  'connect_online_repository' => 'προσπαθήστε να συνδεθείτε στην online \'αποθήκη\'', //cpg1.4
-  'show_additional_information' => 'εμφάνιση επιπρόσθετων πληροφοριών', //cpg1.4
-  'no_webcvs_link' => 'να μη  εμφανιστεί ο σύνδεσμος web svn', //cpg1.4
-  'stable_webcvs_link' => 'εμφάνιση συνδέσμου web svn σε σταθερό κλάδο', //cpg1.4
-  'devel_webcvs_link' => 'εμφάνιση συνδέσμου web svn σε devel κλάδο', //cpg1.4
-  'submit' => 'εφαρμογή αλλαγών / επαναφόρτωση', //cpg1.4
-  'reset_to_defaults' => 'μηδενισμός στις προκαθορισμένες τιμές', //cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File view_log.php  //cpg1.4
-// ------------------------------------------------------------------------- //
-
-if (defined('VIEWLOG_PHP')) $lang_viewlog_php = array(
-  'delete_all' => 'Διαγραφή Όλων των Αναγραφών', //cpg1.4
-  'delete_this' => 'Διαγραφή Αυτής της Αναγραφής', //cpg1.4
-  'view_logs' => 'Εμφάνιση Αναγραφών', //cpg1.4
-  'no_logs' => 'Δεν δημιουργήθηκαν αναγραφές.', //cpg1.4
-);
-
-
-// ------------------------------------------------------------------------- //
-// File xp_publish.php //cpg1.4
-// ------------------------------------------------------------------------- //
-
-if (defined('XP_PUBLISH_PHP')) {
-
-$lang_xp_publish_client = <<<EOT
-<h1>Βοηθός Δημοσίευσης στο Ίντερνετ των XP</h1><p>Αυτό σας επιτρέπει να χρησιμοποιήσετε τον βοηθό δημοσιοποίησης στο ίντερνετ των <b>Windows XP</b> με το Coppermine.</p><p>Ο κώδικας είναι βασισμένος σε άρθρο δημοσιευμένο από τον
-EOT;
-
-$lang_xp_publish_required = <<<EOT
-<h2>Τι χρειάζεται</h2><ul><li>Τα Windows XP προκειμένου να υπάρξει ο βοηθός.</li><li>Μια λειτουργίσιμη εγκατάσταση του Coppermine στην οποία <b>η λειτουργία της πρόσθεσης δουλεύει σωστά.</b></li></ul><h2>Πως να γίνει η εγκατάσταση από την πλευρά του client</h2><ul><li>Κάντε δεξί κλικ σε
-EOT;
-
-$lang_xp_publish_select = <<<EOT
-Επιλέξτε &quot;save target as..&quot;. Αποθηκεύστε το αρχείο στον σκληρό σας δίσκο. Κατά την αποθήκευση του αρχείου, ελέγξτε ότι το προτεινόμενο όνομα αρχείου είναι <b>cpg_###.reg</b> (τα ### αντιπροσωπεύουν αριθμητικό timestamp). Αλλάξτε το σε εκείνο το όνομα αν χρειάζεται (χωρίς να πειράξετε τους αριθμούς). Αφού το κατεβάσετε, κάντε διπλό κλικ στο αρχείο για να εγγράψετε τον διακομιστή σας στον βοηθό δημοσίευσης.</li></ul>
-EOT;
-
-$lang_xp_publish_testing = <<<EOT
-<h2>Δοκιμή</h2><ul><li>Στον Windows Explorer, επιλέξτε κάποια αρχεία και κάντε κλικ στο <b>Publish xxx on the web</b> στο αριστερό μέρος.</li><li>Επιβεβαιώστε την επιλογή των αρχείων. Κάντε κλικ στο <b>Next</b>.</li><li>Στην λίστα των υπηρεσιών που εμφανίζεται, επιλέξτε αυτή για την γκαλερί σας (έχει το όνομα της γκαλερί σας). Εάν η υπηρεσία δεν εμφανίζεται, σιγουρευτείτε πως έχετε εγκαταστήσει το <b>cpg_pub_wizard.reg</b> όπως περιγράφηκε παραπάνω.</li><li>Εισάγετε τις πληροφορίες σύνδεσής σας αν είναι απαραίτητο.</li><li>Επιλέξτε το άλμπουμ προορισμού για τις φωτογραφίες σας ή δημιουργήστε ένα νέο.</li><li>Κάντε κλικ στο <b>Next</b>. Ξεκινάει η πρόσθεση των φωτογραφιών.</li><li>Όταν τέλειώσει, ελέγξτε την γκαλερί σας για να δείτε εάν οι φωτογραφίες έχουν προστεθεί κατάλληλα.</li></ul>
-EOT;
-
-$lang_xp_publish_notes = <<<EOT
-<h2>Σημειώσεις:</h2><ul><li>Από την στιγμή που θα ξεκινήσει η πρόσθεση, ο βοηθός δεν μπορεί να εμφανίσει οποιοδήποτε μύνημα λάθους από το πρόγραμμα οπότε δεν μπορείτε να ξέρετε εάν πέτυχε η πρόσθεση ή όχι μέχρι να ελέγξετε την γκαλερί σας.</li><li>Εάν η πρόσθεση αποτύχει, ενεργοποιήστε την &quot;Λειτουργία εντοπισμού λαθών&quot; στην σελίδα ρυθμίσεων του Coppermine, προσπαθήστε με μία μόνο φωτογραφία και ελέγξτε για μυνήματα λάθους στο
-EOT;
-
-$lang_xp_publish_flood = <<<EOT
-αρχείο που βρίσκεται στον κατάλογο του Coppermine στον διακομιστή σας.</li><li>Για να αποφύγετε τυχόν <i>πλημμύρα</i> της γκαλερί από φωτογραφίες που προστέθηκαν μέσω του βοηθού, μόνο οι <b>διαχειριστές της γκαλερί</b> και <b>χρήστες που μπορούν να έχουν δικά τους άλμπουμς</b> μπορούν να χρησιμοποιήσουν αυτή τη λειτουργία.</li>
-EOT;
-
-
-
-$lang_xp_publish_php = array(
-  'title' => 'Coppermine - Βοηθός Δημοσίευσης στο Ίντερνετ των XP', //cpg1.4
-  'welcome' => 'Καλωσήλθατε <b>%s</b>,', //cpg1.4
-  'need_login' => 'Πρέπει να συνδεθείτε στην γκαλερί με τον πλοηγό ιστοσελίδων πριν μπορέσετε να χρησιμοποιήσετε αυτόν τον βοηθό.<p/><p>Όταν συνδεθείτε μην ξεχάσετε να επιλέξετε την επιλογή <b>αυτόματη αναγνώριση</b> εάν υπάρχει.', //cpg1.4
-  'no_alb' => 'Συγνώμη αλλά δεν υπάρχει άλμπουμ στο οποίο να σας επιτρέπεται η πρόσθεση φωτογραφιών με αυτόν τον βοηθό.', //cpg1.4
-  'upload' => 'Πρόσθεση φωτογραφιών σε υπάρχων άλμπουμ', //cpg1.4
-  'create_new' => 'Δημιουργία νέου άλμπουμ για τις φωτογραφίες σας', //cpg1.4
-  'album' => '\'Αλμπουμ', //cpg1.4
-  'category' => 'Κατηγορία', //cpg1.4
-  'new_alb_created' => 'Το νέο σας άλμπουμ &quot;<b>%s</b>&quot; δημιουργήθηκε.', //cpg1.4
-  'continue' => 'Κάντε κλικ στο &quot;Επόμενο&quot; για να ξεκινήσετε την πρόσθεση των φωτογραφιών σας', //cpg1.4
-  'link' => 'αυτόν τον σύνδεσμο', //cpg1.4
-);
-}
+<?php
+/*************************
+  Coppermine Photo Gallery
+  ************************
+  Copyright (c) 2003-2009 Coppermine Dev Team
+  v1.1 originally written by Gregory DEMAR
+
+  This program is free software; you can redistribute it and/or modify
+  it under the terms of the GNU General Public License version 3
+  as published by the Free Software Foundation.
+  
+  ********************************************
+  Coppermine version: 1.4.25
+  $HeadURL: https://coppermine.svn.sourceforge.net/svnroot/coppermine/trunk/cpg1.4.x/lang/greek.php $
+  $Revision: 5997 $
+  $Author: gaugau $
+  $Date: 2009-05-26 08:43:24 +0200 (Di, 26 Mai 2009) $
+**********************************************/
+
+if (!defined('IN_COPPERMINE')) { die('Not in Coppermine...');}
+
+// info about translators and translated language
+$lang_translation_info = array(
+  'lang_name_english' => 'Greek', //cpg1.4
+  'lang_name_native' => 'Ελληνικά', //cpg1.4
+  'lang_country_code' => 'gr', //cpg1.4
+  'trans_name'=> 'Nakis',
+  'trans_email' => 'nakis.s@irc-u.org',
+  'trans_website' => 'http://irc-u.org',
+  'trans_date' => '2006-03-18',
+);
+
+$lang_charset = 'UTF-8';
+$lang_text_dir = 'ltr'; // ('ltr' for left to right, 'rtl' for right to left)
+
+// shortcuts for Byte, Kilo, Mega
+$lang_byte_units = array('Bytes', 'KB', 'MB');
+
+// Day of weeks and months
+$lang_day_of_week = array('Κυρ', 'Δευ', 'Tρι', 'Τετ', 'Πεμ', 'Παρ', 'Σαβ');
+$lang_month = array('Ιαν', 'Φεβ', 'Mαρ', 'Aπρ', 'Mαι', 'Ιουν', 'Ιουλ', 'Aυγ', 'Σεπ', 'Οκτ', 'Noε', 'Δεκ');
+
+// Some common strings
+$lang_yes = 'Ναι';
+$lang_no  = 'Όχι';
+$lang_back = 'ΠΙΣΩ';
+$lang_continue = 'ΣΥΝΕΧΕΙΑ';
+$lang_info = 'Πληροφορίες';
+$lang_error = 'Λάθος';
+$lang_check_uncheck_all = 'επιλογή/αποεπιλογή όλων'; //cpg1.4
+
+// The various date formats
+// See http://www.php.net/manual/en/function.strftime.php to define the variable below
+$album_date_fmt =    '%B %d, %Y';
+$lastcom_date_fmt =  '%m/%d/%y at %H:%M';
+$lastup_date_fmt = '%B %d, %Y';
+$register_date_fmt = '%B %d, %Y';
+$lasthit_date_fmt = '%B %d, %Y at %I:%M %p';
+$comment_date_fmt =  '%B %d, %Y at %I:%M %p';
+$log_date_fmt = '%B %d, %Y at %I:%M %p'; //cpg1.4
+
+// For the word censor
+$lang_bad_words = array('*fuck*', 'asshole', 'assramer', 'bitch*', 'c0ck', 'clits', 'Cock', 'cum', 'cunt*', 'dago', 'daygo', 'dego', 'dick*', 'dildo', 'fanculo', 'feces', 'foreskin', 'Fu\(*', 'fuk*', 'honkey', 'hore', 'injun', 'kike', 'lesbo', 'masturbat*', 'motherfucker', 'nazis', 'nigger*', 'nutsack', 'penis', 'phuck', 'poop', 'pussy', 'scrotum', 'shit', 'slut', 'titties', 'titty', 'twaty', 'wank*', 'whore', 'wop*');
+
+$lang_meta_album_names = array(
+  'random' => 'Τυχαία αρχεία',
+  'lastup' => 'Τελευταίες προσθήκες',
+  'lastalb'=> 'Πρόσφατα ενημερωμένα άλμπουμς',
+  'lastcom' => 'Τελευταία σχόλια',
+  'topn' => 'Περισσότερες εμφανίσεις',
+  'toprated' => 'Υψηλότερα βαθμολογημένα',
+  'lasthits' => 'Τελευταίες εμφανίσεις',
+  'search' => 'Αποτελέσματα αναζήτησης',
+  'favpics'=> 'Αγαπημένα αρχεία',  //cpg1.4
+);
+
+$lang_errors = array(
+  'access_denied' => 'Δεν έχετε πρόσβαση σ\' αυτή τη σελίδα.',
+  'perm_denied' => 'Δεν έχετε πρόσβαση για την εκτέλεση αυτής της λειτουργίας.',
+  'param_missing' => 'Το πρόγραμμα εκτελέστηκε χωρίς τις απαιτούμενες παραμέτρους.',
+  'non_exist_ap' => 'Το επιλεγμένο άλμπουμ/αρχείο δεν υπάρχει!',
+  'quota_exceeded' => 'Υπερβαίνουσα ποσόστωση χώρου<br /><br />Ενώ σας αναλογεί [quota]K χώρος, τα αρχεία σας χρησιμοποιούν [space]K, προσθέτοντας αυτό το αρχείο θα υπερβείτε το όριο.',
+  'gd_file_type_err' => 'Όταν χρησιμοποιείται η GD βιβλιοθήκη εικόνων (image library), επιτρεπόμενα είδη φωτογραφιών είναι μόνο τα JPEG και PNG.',
+  'invalid_image' => 'Η φωτογραφία που προσθέσατε είναι ελλειπής ή δεν μπορεί να διαχειριστεί από την GD βιβλιοθήκη (library).',
+  'resize_failed' => 'Η δημιουργία μικρογραφίας ή εικόνας μειωμένου μεγέθους, ήταν αδύνατη',
+  'no_img_to_display' => 'Δεν υπάρχει εικόνα προς εμφάνιση',
+  'non_exist_cat' => 'Η επιλεγμένη κατηγορία δεν υπάρχει',
+  'orphan_cat' => 'Η κατηγορία δεν έχει δημιουργό (parent), εκτελέστε τον διαχειριστή κατηγοριών για να διορθώσετε το πρόβλημα!',
+  'directory_ro' => 'Ο κατάλογος \'%s\' δεν είναι εγγράψιμος, τα αρχεία δεν μπορούν να διαγραφούν',
+  'non_exist_comment' => 'Το επιλεγμένο σχόλιο δεν υπάρχει.',
+  'pic_in_invalid_album' => 'Το αρχείο βρίσκεται σε ανύπαρκτο άλμπουμ (%s)!',
+  'banned' => 'Έχετε αποκλειστεί από την χρήση αυτού του site.',
+  'not_with_udb' => 'Αυτή η λειτουργία είναι απενεργοποιημένη στο Coppermine επειδή είναι ενσωματωμένη με το λογισμικό του. Είτε αυτό που προσπαθείτε να κάνετε δεν υποστηρίζεται κάτω από παρούσα διαμόρφωση, είτε η λειτουργία πρέπει να διαχειριστεί από το λογισμικό του φόρουμ.',
+  'offline_title' => 'Εκτός λειτουργίας',
+  'offline_text' => 'Η Γκαλερί είναι προσωρινά εκτός λειτουργίας - επιστρέψτε ξανά σύντομα',
+  'ecards_empty' => 'Αυτή τη στιγμή δεν υπάρχουν ηλεκτρονικές κάρτες για εμφάνιση.',
+  'action_failed' => 'Η διαδικασία απέτυχε. Το Coppermine δεν μπορεί να εκτελέσει αυτό που ζητήσατε.',
+  'no_zip' => 'Οι απαραίτητες βιβλιοθήκες για την επεξεργασία ZIP αρχείων δεν είναι διαθέσιμες. Παρακαλώ επικοινωνήστε με τον διαχειριστή του Coppermine.',
+  'zip_type' => 'Δεν έχετε άδεια για να προσθέσετε αρχεία ZIP.',
+  'database_query' => 'Υπήρξε λάθος κατά την επεξεργασία του ερωτήματος στην βάση δεδομένων', //cpg1.4
+  'register_globals_on' => 'The PHP setting register_globals is enabled on your server, which is a bad idea in terms of security. It\'s strongly recommended to turn it off. [<a href="http://forum.coppermine-gallery.net/index.php/topic,59569.0.html" rel="external" class="external">more</a>]',
+);
+
+$lang_bbcode_help_title = 'Βοήθεια για το bbcode'; //cpg1.4
+$lang_bbcode_help = 'Μπορείτε να προσθέσετε συνδέσεις (clickable links) και κάποιου είδους μορφοποίηση σε αυτό το πεδίο χρησιμοποιώντας bbcode ετικέττες (τags): <li>[b]Έντονα[/b] =&gt; <b>Έντονα</b></li><li>[i]Κεκλιμένα[/i] =&gt; <i>Κεκλιμένα</i></li><li>[url=http://yoursite.com/]Url της ιστοσελίδας σας[/url] =&gt; <a href="http://yoursite.com">Url της ιστοσελίδας σας</a></li><li>[email]user@domain.com[/email] =&gt; <a href="mailto:user@domain.com">user@domain.com</a></li><li>[color=red]κείμενο[/color] =&gt; <span style="color:red">κείμενο</span></li><li>[img]http://coppermine-gallery.net/demo/cpg14x/images/red.gif[/img] => <img src="../images/red.gif" border="0" alt="" /></li>'; //cpg1.4
+
+// ------------------------------------------------------------------------- //
+// File theme.php
+// ------------------------------------------------------------------------- //
+
+$lang_main_menu = array(
+  'home_title' => 'Μετάβαση στην κεντρική σελίδα',
+  'home_lnk' => 'Κεντρική',
+  'alb_list_title' => 'Μετάβαση στην λίστα των άλμπουμς',
+  'alb_list_lnk' => 'Λίστα των άλμπουμς',
+  'my_gal_title' => 'Μετάβαση στο προσωπικό μου άλμπουμ',
+  'my_gal_lnk' => 'Το άλμπουμ μου',
+  'my_prof_title' => 'Μετάβαση στο προφίλ μου', //cpg1.4
+  'my_prof_lnk' => 'Το προφίλ μου',
+  'adm_mode_title' => 'Εναλλαγή σε λειτουργία διαχειριστή',
+  'adm_mode_lnk' => 'Λειτουργία διαχειριστή',
+  'usr_mode_title' => 'Εναλλαγή σε λειτουργία χρήστη',
+  'usr_mode_lnk' => 'Λειτουργία χρήστη',
+  'upload_pic_title' => 'Προσθήκη αρχείου σε ένα άλμπουμ',
+  'upload_pic_lnk' => 'Προσθήκη αρχείου',
+  'register_title' => 'Δημιουργία λογαριασμού',
+  'register_lnk' => 'Εγγραφή',
+  'login_title' => 'Σύνδεση', //cpg1.4
+  'login_lnk' => 'Σύνδεση',
+  'logout_title' => 'Αποσύνδεση', //cpg1.4
+  'logout_lnk' => 'Αποσύνδεση',
+  'lastup_title' => 'Εμφάνιση των πιο πρόσφατων προσθηκών', //cpg1.4
+  'lastup_lnk' => 'Τελευταίες προσθήκες',
+  'lastcom_title' => 'Εμφάνιση των πιο πρόσφατων σχόλιων', //cpg1.4
+  'lastcom_lnk' => 'Τελευταία σχόλια',
+  'topn_title' => 'Εμφάνιση των περισσότερο εμφανισμένων', //cpg1.4
+  'topn_lnk' => 'Περισσότερο εμφανισμένα',
+  'toprated_title' => 'Εμφάνιση των υψηλά βαθμολογημένων', //cpg1.4
+  'toprated_lnk' => 'Υψηλά βαθμολογημένα',
+  'search_title' => 'Αναζήτηση στην γκαλερί', //cpg1.4
+  'search_lnk' => 'Αναζήτηση',
+  'fav_title' => 'Μετάβαση στα αγαπημένα', //cpg1.4
+  'fav_lnk' => 'Τα αγαπημένα',
+  'memberlist_title' => 'Εμφάνιση Λίστας Μελών',
+  'memberlist_lnk' => 'Λίστα Μελών',
+  'faq_title' => 'Συχνές ερωτήσεις κι απαντήσεις σχετικά με το &quot;Coppermine&quot;',
+  'faq_lnk' => 'FAQ',
+);
+
+$lang_gallery_admin_menu = array(
+  'upl_app_title' => 'Έγκριση νέων προσθηκών', //cpg1.4
+  'upl_app_lnk' => 'Έγκριση προσθήκης',
+  'admin_title' => 'Μετάβαση στις ρυθμίσεις', //cpg1.4
+  'admin_lnk' => 'Ρυθμίσεις', //cpg1.4
+  'albums_title' => 'Μετάβαση στις ρυθμίσεις των άλμπουμς', //cpg1.4
+  'albums_lnk' => '\'Αλμπουμς',
+  'categories_title' => 'Μετάβαση στις ρυθμίσεις κατηγοριών', //cpg1.4
+  'categories_lnk' => 'Κατηγορίες',
+  'users_title' => 'Μετάβαση στις ρυθμίσεις χρηστών', //cpg1.4
+  'users_lnk' => 'Χρήστες',
+  'groups_title' => 'Μετάβαση στις ρυθμίσεις ομάδων', //cpg1.4
+  'groups_lnk' => 'Ομάδες',
+  'comments_title' => 'Αναθεώρηση όλων των σχολίων', //cpg1.4
+  'comments_lnk' => 'Αναθεώρηση σχολίων',
+  'searchnew_title' => 'Μετάβαση στην διαδικασία προσθήκης πολλών αρχείων', //cpg1.4
+  'searchnew_lnk' => 'Προσθήκη πολλαπλών αρχείων',
+  'util_title' => 'Μετάβαση στα εργαλεία διαχείρισης', //cpg1.4
+  'util_lnk' => 'Εργαλεία Διαχείρισης',
+  'key_title' => 'Μετάβαση στο λεξικό λέξεων-κλειδιών', //cpg1.4
+  'key_lnk' => 'Λεξικό Λέξεων-Κλειδιών', //cpg1.4
+  'ban_title' => 'Μετάβαση στους αποκλεισμένους χρήστες', //cpg1.4
+  'ban_lnk' => 'Αποκλεισμένοι Χρήστες',
+  'db_ecard_title' => 'Αναθεώρηση Ηλεκτρονικών Καρτών', //cpg1.4
+  'db_ecard_lnk' => 'Εμφάνιση Ηλεκτρονικών Καρτών',
+  'pictures_title' => 'Ταξινόμηση των φωτογραφιών μου', //cpg1.4
+  'pictures_lnk' => 'Ταξινόμηση φωτογραφιών', //cpg1.4
+  'documentation_lnk' => 'Εγχειρίδιο', //cpg1.4
+  'documentation_title' => 'Εγχειρίδιο του Coppermine', //cpg1.4
+);
+
+$lang_user_admin_menu = array(
+  'albmgr_title' => 'Δημιουργία και ταξινόμηση των άμπουμς μου', //cpg1.4
+  'albmgr_lnk' => 'Δημιουργία και ταξινόμηση των άλμπουμς',
+  'modifyalb_title' => 'Μετάβαση στην τροποποίηση των άλμπουμς μου',  //cpg1.4
+  'modifyalb_lnk' => 'Τροποποίηση των άλμπουμς',
+  'my_prof_title' => 'Μετάβαση στο προφίλ μου', //cpg1.4
+  'my_prof_lnk' => 'Το προφίλ μου',
+);
+
+$lang_cat_list = array(
+  'category' => 'Κατηγορία',
+  'albums' => '\'Αλμπουμς',
+  'pictures' => 'Αρχεία',
+);
+
+$lang_album_list = array(
+  'album_on_page' => '%d άλμπουμ(ς) σε %d σελίδα/ες',
+);
+
+$lang_thumb_view = array(
+  'date' => 'ΗΜΕΡΟΜΗΝΙΑ',
+  //Sort by filename and title
+  'name' => 'ΟΝΟΜΑ ΑΡΧΕΙΟΥ',
+  'title' => 'ΤΙΤΛΟΣ',
+  'sort_da' => 'Ανοδική ταξινόμηση κατά ημερομηνία',
+  'sort_dd' => 'Καθοδική ταξινόμηση κατά ημερομηνία',
+  'sort_na' => 'Ανοδική ταξινόμηση αλφαβητικά',
+  'sort_nd' => 'Καθοδική ταξινόμηση αλφαβητικά',
+  'sort_ta' => 'Ανοδική ταξινόμηση κατά τίτλο',
+  'sort_td' => 'Καθοδική ταξινόμηση κατά τίτλο',
+  'position' => 'ΘΕΣΗ', //cpg1.4
+  'sort_pa' => 'Ανοδική ταξινόμηση κατά θέση', //cpg1.4
+  'sort_pd' => 'Καθοδική ταξινόμηση κατά θέση', //cpg1.4
+  'download_zip' => 'Κατέβασμα σαν αρχείο Zip',
+  'pic_on_page' => '%d φωτογραφία(ες) σε %d σελίδα(ες)',
+  'user_on_page' => '%d χρήστης(ες) on %d σελίδα(ες)',
+  'enter_alb_pass' => 'Πληκτρολογήστε τον κωδικό για το άλμπουμ', //cpg1.4
+  'invalid_pass' => 'Λάθος Κωδικός', //cpg1.4
+  'pass' => 'Κωδικός', //cpg1.4
+  'submit' => 'Υποβολή', //cpg1.4
+);
+
+$lang_img_nav_bar = array(
+  'thumb_title' => 'Επιστροφή στην σελίδα με τις μικρογραφίες',
+  'pic_info_title' => 'Εμφάνιση/απόκρυψη πληροφοριών αρχείου',
+  'slideshow_title' => 'Προβολή Διαφανειών',
+  'ecard_title' => 'Αποστολή αυτού του αρχείου σαν ηλεκτρονική κάρτα',
+  'ecard_disabled' => 'Οι ηλεκτρονικές κάρτες είναι απενεργοποιημένες',
+  'ecard_disabled_msg' => 'Δεν έχετε άδεια για να στείλετε ηλεκτρονικές κάρτες', //js-alert
+  'prev_title' => 'Εμφάνιση προηγούμενου αρχείου',
+  'next_title' => 'Εμφάνιση επόμενου αρχείου',
+  'pic_pos' => 'ΑΡΧΕΙΟ %s/%s',
+  'report_title' => 'Αναφορά αυτού του αρχείου στον διαχειριστή', //cpg1.4
+  'go_album_end' => 'Παράκαμψη στο τέλος', //cpg1.4
+  'go_album_start' => 'Επιστροφή στην αρχή', //cpg1.4
+  'go_back_x_items' => 'μετάβαση πίσω %s φωτογραφία(ες)', //cpg1.4
+  'go_forward_x_items' => 'μετάβαση μπροστά %s φωτογραφία(ες)', //cpg1.4
+);
+
+$lang_rate_pic = array(
+  'rate_this_pic' => 'Βαθμολογήστε αυτό το αρχείο',
+  'no_votes' => '(Χωρίς ψήφο ακόμη)',
+  'rating' => '(τωρινή βαθμολογία : %s / 5 με %s ψήφους)',
+  'rubbish' => 'Χάλια',
+  'poor' => 'Κακή',
+  'fair' => 'Μέτρια',
+  'good' => 'Καλή',
+  'excellent' => 'Πολύ καλή',
+  'great' => 'Καταπληκτική',
+);
+
+// ------------------------------------------------------------------------- //
+// File include/exif.inc.php
+// ------------------------------------------------------------------------- //
+
+// void
+
+// ------------------------------------------------------------------------- //
+// File include/functions.inc.php
+// ------------------------------------------------------------------------- //
+
+$lang_cpg_die = array(
+  INFORMATION => $lang_info,
+  ERROR => $lang_error,
+  CRITICAL_ERROR => 'Κρίσιμο Λάθος',
+  'file' => 'Αρχείο: ',
+  'line' => 'Γραμμή: ',
+);
+
+$lang_display_thumbnails = array(
+  'filename' => 'Όνομα αρχείου=', //cpg1.4
+  'filesize' => 'Μέγεθος αρχείου=', //cpg1.4
+  'dimensions' => 'Διαστάσεις=', //cpg1.4
+  'date_added' => 'Ημερομηνία προσθήκης=', //cpg1.4
+);
+
+$lang_get_pic_data = array(
+  'n_comments' => '%s σχόλια',
+  'n_views' => '%s εμφανίσεις',
+  'n_votes' => '(%s ψήφοι)',
+);
+
+$lang_cpg_debug_output = array(
+  'debug_info' => 'Πληροφορίες Debug',
+  'select_all' => 'Επιλογή Όλων',
+  'copy_and_paste_instructions' => 'Εάν πρόκειται να ζητήσετε βοήθεια στο φόρουμ υποστήριξης του Coppermine, ανιγράψτε και επικολλήστε αυτές τις debug πληροφορίες στο ποστ σας όταν σας ζητηθεί, μαζί με το μύνημα λάθους που λαμβάνετε (εάν υπάρχει). Σιγουρευτείτε πως έχετε αντικαταστήσει τυχόν κωδικούς με αστερίσκους (*) πριν δημοσιεύσετε το ποστ. <br />Σημείωση: Αυτά είναι μόνο προς πληροφήρηση και δεν σημαίνουν πως θα υπάρξει κάποιο λάθος με την gallery σας.', //cpg1.4
+  'phpinfo' => 'εμφάνιση πληροφοριών php',
+  'notices' => 'Ειδοποιήσεις', //cpg1.4
+);
+
+$lang_language_selection = array(
+  'reset_language' => 'Προεπιλεγμένη γλώσσα',
+  'choose_language' => 'Επιλέξτε την γλώσσα σας',
+);
+
+$lang_theme_selection = array(
+  'reset_theme' => 'Προεπιλεγμένο θέμα',
+  'choose_theme' => 'Επιλέξτε θέμα',
+);
+
+$lang_version_alert = array(
+  'version_alert' => 'Μη υποστιριζόμενη έκδοση!', //cpg1.4
+  'no_stable_version' => 'Χρησιμοποιείτε το Coppermine %s (%s) το οποίο στοχεύει μόνο στους πολύ πεπειραμένους χρήστες - αυτή η έκδοση έρχεται χωρίς υποστήριξη ούτε και εγγυήσεις. Χρησιμοποιήστε την με δικό σας ρίσκο ή υποβιβάστε την στην τελευταία σταθερή έκδοση, εάν χρειάζεστε υποστήριξη!', //cpg1.4
+  'gallery_offline' => 'Η γκαλερί είναι προσωρινά εκτός λειτουργίας και θα είναι ορατή μόνο για εσάς σαν διαχειριστή. Μην ξεχάσετε να την αλλάξετε σε online αφού τελειώσετε την συντήρηση.', //cpg1.4
+);
+
+$lang_create_tabs = array(
+  'previous' => 'προηγούμενο', //cpg1.4
+  'next' => 'επόμενο', //cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File include/init.inc.php
+// ------------------------------------------------------------------------- //
+
+// void
+
+// ------------------------------------------------------------------------- //
+// File keyword.inc.php                                                      //
+// ------------------------------------------------------------------------- //
+
+// void
+
+// ------------------------------------------------------------------------- //
+// File include/picmgmt.inc.php
+// ------------------------------------------------------------------------- //
+
+// void
+
+// ------------------------------------------------------------------------- //
+// File include/plugin_api.inc.php
+// ------------------------------------------------------------------------- //
+$lang_plugin_api = array(
+  'error_wakeup' => "Δεν ήταν δυνατή η αφύπνηση του βοηθήματος '%s'", //cpg1.4
+  'error_install' => "Δεν ήταν δυνατή η εγκατάσταση του βοηθήματος '%s'", //cpg1.4
+  'error_uninstall' => "Δεν ήταν δυνατή η απεγκατάσταση του βοηθήματος '%s'", //cpg1.4
+  'error_sleep' => "Δεν ήταν δυνατή η απεγκατάσταση του βοηθήματος '%s'<br />", //cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File include/smilies.inc.php
+// ------------------------------------------------------------------------- //
+
+if (defined('SMILIES_PHP')) $lang_smilies_inc_php = array(
+  'Exclamation' => 'Θαυμαστικό',
+  'Question' => 'Ερώτηση',
+  'Very Happy' => 'Πολύ χαρούμενος',
+  'Smile' => 'Χαμόγελο',
+  'Sad' => 'Λυπημένος',
+  'Surprised' => 'Έκπληκτος',
+  'Shocked' => 'Σοκαρισμένος',
+  'Confused' => 'Μπερδεμένος',
+  'Cool' => 'Cool',
+  'Laughing' => 'Γελαστός',
+  'Mad' => 'Τρελλός',
+  'Razz' => 'Razz',
+  'Embarassed' => 'Ντροπιασμένος',
+  'Crying or Very sad' => 'Κλαμένος ή πολύ λυπημένος',
+  'Evil or Very Mad' => 'Διαβολικός ή πολύ τρελλός',
+  'Twisted Evil' => 'Διαβολεμένος',
+  'Rolling Eyes' => 'Γυριστά μάτια',
+  'Wink' => 'Κλείσιμο ματιού',
+  'Idea' => 'Ιδέα',
+  'Arrow' => 'Βέλος',
+  'Neutral' => 'Ουδέτερος',
+  'Mr. Green' => 'Κος Πράσινος',
+);
+
+// ------------------------------------------------------------------------- //
+// File addpic.php
+// ------------------------------------------------------------------------- //
+
+// void
+
+// ------------------------------------------------------------------------- //
+// File mode.php //cpg1.4
+// ------------------------------------------------------------------------- //
+
+if (defined('MODE_PHP')) $lang_mode_php = array(
+  0 => 'Εγκατάλειψη λειτουργιών διαχείρισης...',
+  1 => 'Είσοδος στις λειτουργίες διαχείρισης...',
+);
+
+// ------------------------------------------------------------------------- //
+// File albmgr.php
+// ------------------------------------------------------------------------- //
+
+if (defined('ALBMGR_PHP')) $lang_albmgr_php = array(
+  'alb_need_name' => 'Τα άλμπουμς πρέπει να έχουν όνομα !', //js-alert
+  'confirm_modifs' => 'Είστε βέβαιος/η πως θέλετε να κάνετε αυτές τις τροποποιήσεις ;', //js-alert
+  'no_change' => 'Δεν κάνατε καμία αλλαγή !', //js-alert
+  'new_album' => 'Νέο άλμπουμ',
+  'confirm_delete1' => 'Είστε βέβαιος/η πως θέλετε να διαγράψετε αυτό το άλμπουμ ;', //js-alert
+  'confirm_delete2' => '\nΌλες οι φωτογραφίες και τα σχόλια που περιέχει θα χαθούν !', //js-alert
+  'select_first' => 'Επιλέξτε πρώτα ένα άλμπουμ', //js-alert
+  'alb_mrg' => 'Διαχείριση \'Αλμπουμς',
+  'my_gallery' => '* Το φώτο άλμπουμ μου *',
+  'no_category' => '* Χωρίς κατηγορία *',
+  'delete' => 'Διαγραφή',
+  'new' => 'Νέο',
+  'apply_modifs' => 'Εφαρμογή τροποποιήσεων',
+  'select_category' => 'Επιλέξτε κατηγορία',
+);
+
+// ------------------------------------------------------------------------- //
+// File banning.php
+// ------------------------------------------------------------------------- //
+
+if (defined('BANNING_PHP')) $lang_banning_php = array(
+  'title' => 'Αποκλεισμός Χρηστών', //cpg1.4
+  'user_name' => 'Όνομα Χρήστη', //cpg1.4
+  'ip_address' => 'IP Διεύθυνση', //cpg1.4
+  'expiry' => 'Λήξη (κενό σημαίνει μόνιμα)', //cpg1.4
+  'edit_ban' => 'Καταχώρηση αλλαγών', //cpg1.4
+  'delete_ban' => 'Διαγραφή', //cpg1.4
+  'add_new' => 'Προσθήκη Νέου Αποκλεισμού', //cpg1.4
+  'add_ban' => 'Προσθήκη', //cpg1.4
+  'error_user' => 'Αδύνατη η εύρεση του χρήστη', //cpg1.4
+  'error_specify' => 'Πρέπει να καθορίσετε είτε ένα όνομα χρήστη είτε μία IP διεύθυνση', //cpg1.4
+  'error_ban_id' => 'Άκυρη ταυτότητα αποκλεισμού (ban ID)!', //cpg1.4
+  'error_admin_ban' => 'Δεν μπορείτε να αποκλείσετε τον εαυτό σας!', //cpg1.4
+  'error_server_ban' => 'Θέλατε να αποκλείσετε τον server σας; Τσκ Τσκ Τσκ, δεν μπορείτε...', //cpg1.4
+  'error_ip_forbidden' => 'Δεν μπορείτε να αποκλείσετε αυτή την IP διεύθυνση - δεν είναι routable (είναι ιδιωτική) έτσι κι αλλιώς!<br />Εάν θέλετε να επιτρέψετε τον αποκλεισμό ιδιωτικών IP διευθύνσεων, αλλάξτε το αυτό στις <a href="admin.php">Ρυθμίσεις</a> (έχει ουσία μόνο όταν το Coppermine λειτουργεί σε Τοπικό Δίκτυο-LAN).', //cpg1.4
+  'lookup_ip' => 'Έλεγχος μιας IP διεύθυνσης', //cpg1.4
+  'submit' => 'πάμε!', //cpg1.4
+  'select_date' => 'επιλέξτε ημερομηνία', //cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File bridgemgr.php //cpg1.4
+// ------------------------------------------------------------------------- //
+
+if (defined('BRIDGEMGR_PHP')) $lang_bridgemgr_php = array(
+  'title' => 'Οδηγός Γεφυροποίησης (Bridge Wizard)',
+  'warning' => 'Προειδοποίηση: κατά την χρησιμοποίηση αυτού του οδηγού πρέπει να καταλάβετε πως ευαίσθητες πληροφορίες αποστέλλονται μέσω των φορμών html. Χρησιμοποιήστε το μόνο σε δικό σας Η/Υ (και όχι σε κάποιο δημόσιο όπως ένα internet cafe), και σιγουρευτείτε πως έχετε καθαρίσει το cache του πλοηγού ιστοσελίδων και τα προσωρινά αρχεία (temporary files) αφού έχετε τελειώσει, αλλιώς οι άλλοι θα μπορούν να έχουν πρόσβαση στα προσωπικά σας δεδομένα!',
+  'back' => 'πίσω',
+  'next' => 'επόμενο',
+  'start_wizard' => 'Εκκίνηση του οδηγού γεφυροποίησης (bridging wizard)',
+  'finish' => 'Τέλος',
+  'hide_unused_fields' => 'απόκρυψη μη χρησιμοποιημένων πεδίων της φόρμας (συστήνεται)',
+  'clear_unused_db_fields' => 'εκκαθάριση άκυρων καταχωρήσεων της βάσης δεδομένων (συστήνεται)',
+  'custom_bridge_file' => 'το όνομα του προσαρμοσμένου αρχείου γεφυροποίησης (εάν το όνομα του αρχείου γεφυροποίησης είναι <i>myfile.inc.php</i>, καταχωρήστε <i>myfile</i> σε αυτό το πεδίο)',
+  'no_action_needed' => 'Καμιά ενέργεια δεν απαιτείται σε αυτό το βήμα. Απλά κάντε κλικ στο \'επόμενο\' για να συνεχίσετε.',
+  'reset_to_default' => 'Μηδενισμός στην προκαθορισμένη αξία',
+  'choose_bbs_app' => 'επιλέξτε εφαρμογή για γεφυροποίηση με το coppermine',
+  'support_url' => 'Πηγαίνετε εδώ για υποστήριξη για αυτήν την εφαρμογή',
+  'settings_path' => 'διαδρομή που χρησιμοποιείται από την εφαρμογή BBS',
+  'database_connection' => 'σύνδεση βάσης δεδομένων',
+  'database_tables' => 'πίνακες βάσεων δεδομένων',
+  'bbs_groups' => 'BBS ομάδες',
+  'license_number' => 'Αριθμός άδειας',
+  'license_number_explanation' => 'εισάγετε τον αριθμό άδειάς σας (εάν υπάρχει)',
+  'db_database_name' => 'Όνομα Βάσης Δεδομένων',
+  'db_database_name_explanation' => 'Εισάγετε το όνομα της βάσης δεδομένων που χρησιμοποιεί η εφαρμογή BBS',
+  'db_hostname' => 'Host της βάσης δεδομένων',
+  'db_hostname_explanation' => 'Το hostname όπου βρίσκεται η βάση δεδομένων mySQL, συνήθως &quot;localhost&quot;',
+  'db_username' => 'Λογαριασμός χρήστη της βάσης δεδομένων',
+  'db_username_explanation' => 'Ο λογαριασμός χρήστη mySQL που θα χρησιμοποιηθεί για σύνδεση με την εφαρμογή BBS',
+  'db_password' => 'Κωδικός της βάσης δεδομένων',
+  'db_password_explanation' => 'Κωδικός για αυτόν τον λογαριασμό χρήστη της mySQL',
+  'full_forum_url' => 'URL του φόρουμ',
+  'full_forum_url_explanation' => 'Πλήρες URL της εφαρμογής BBS (συμπεριλαμβανομένου του προθέματος http://, π.χ. http://www.yourdomain.tld/forum)',
+  'relative_path_of_forum_from_webroot' => 'Σχετική διαδρομή του φόρουμ',
+  'relative_path_of_forum_from_webroot_explanation' => 'Σχετική διαδρομή της εφαρμογής BBS από φάκελλο του domain (webroot) (Παράδειγμα: εάν η εφαρμογή BBS βρίσκεται στο http://www.yourdomain.tld/forum/, καταχωρήστε &quot;/forum/&quot; σε αυτό το πεδίο)',
+  'relative_path_to_config_file' => 'Σχετική διαδρομή του αρχείο ρυθμίσεων της εφαρμογής BBS (config file)',
+  'relative_path_to_config_file_explanation' => 'Σχετική διαδρομή της εφαρμογής BBS, όπως θα φαίνεται από τον φάκελλο του Coppermine (π.χ. &quot;../forum/&quot; εάν η εφαρμογή BBS βρίσκεται στο http://www.yourdomain.tld/forum/ και το Coppermine στο http://www.yourdomain.tld/gallery/)',
+  'cookie_prefix' => 'Πρόθεμα του cookie',
+  'cookie_prefix_explanation' => 'αυτό θα πρέπει να είναι το όνομα του cookie της εφαρμογής BBS',
+  'table_prefix' => 'Πρόθεμα του πίνακα',
+  'table_prefix_explanation' => 'Πρέπει να είναι ίδιο με το πρόθεμα που διαλέξατε για την εφαρμογή BBS όταν την εγκαταστήσατε.',
+  'user_table' => 'Πίνακας χρηστών',
+  'user_table_explanation' => '(συνήθως η προκαθορισμένη αξία είναι εντάξει, εκτός κι αν η εγκατάσταση της εφαρμογής BBS δεν είναι η συνήθης)',
+  'session_table' => 'Πίνακας συνεδρίας',
+  'session_table_explanation' => '(συνήθως η προκαθορισμένη αξία είναι εντάξει, εκτός κι αν η εγκατάσταση της εφαρμογής BBS δεν είναι η συνήθης)',
+  'group_table' => 'Πίνακας ομάδων',
+  'group_table_explanation' => '(συνήθως η προκαθορισμένη αξία είναι εντάξει, εκτός κι αν η εγκατάσταση της εφαρμογής BBS δεν είναι η συνήθης)',
+  'group_relation_table' => 'Πίνακας σχέσεων ομάδων',
+  'group_relation_table_explanation' => '(συνήθως η προκαθορισμένη αξία είναι εντάξει, εκτός κι αν η εγκατάσταση της εφαρμογής BBS δεν είναι η συνήθης)',
+  'group_mapping_table' => 'Πίνακας χαρτογράφησης ομάδων',
+  'group_mapping_table_explanation' => '(συνήθως η προκαθορισμένη αξία είναι εντάξει, εκτός κι αν η εγκατάσταση της εφαρμογής BBS δεν είναι η συνήθης)',
+  'use_standard_groups' => 'Χρήση τυποποιημένων ομάδων χρηστών BBS',
+  'use_standard_groups_explanation' => 'Χρησιμοποίηση τυποποιημένων (ενσωματωμένων) ομάδων χρηστών (συστήνεται). Αυτό θα διαγράψει όλες τις ρυθμίσεις των διαμορφωμένων ομάδων χρηστών. Απενεργοποιήστε αυτή την επιλογή μόνο εάν ΠΡΑΓΜΑΤΙΚΑ ξέρετε τι κάνετε!',
+  'validating_group' => 'Επικύρωση ομάδας',
+  'validating_group_explanation' => 'Η ταυτότητα (ID) της ομάδας της εφαρμογής BBS όπου θα βρίσκονται οι λογαριασμοί χρηστών που χρειάζονται επικύρωση. Συνήθως η προκαθορισμένη αξία είναι εντάξει, εκτός κι αν η εγκατάσταση της εφαρμογής BBS δεν είναι η συνήθης.',
+  'guest_group' => 'Ομάδα επισκεπτών',
+  'guest_group_explanation' => 'Η ταυτότητα (ID) της ομάδας της εφαρμογής BBS όπου θα βρίσκονται οι επισκέπτες (ανώνυμοι χρήστες). Συνήθως η προκαθορισμένη αξία είναι εντάξει, εκτός κι αν η εγκατάσταση της εφαρμογής BBS δεν είναι η συνήθης.',
+  'member_group' => 'Ομάδα μελών',
+  'member_group_explanation' => 'Η ταυτότητα (ID) της ομάδας της εφαρμογής BBS όπου θα βρίσκονται οι λογαριασμοί των &quot;μελών&quot; (η προκαθορισμένη αξία είναι εντάξει, αλλάξτε την μόνο εάν ξέρετε τι κάνετε)',
+  'admin_group' => 'Ομάδα διαχειριστών',
+  'admin_group_explanation' => 'Η ταυτότητα (ID) της ομάδας της εφαρμογής BBS όπου θα βρίσκονται οι διαχειριστές (η προκαθορισμένη αξία είναι εντάξει, αλλάξτε την μόνο εάν ξέρετε τι κάνετε)',
+  'banned_group' => 'Ομάδα αποκλεισμένων',
+  'banned_group_explanation' => 'Η ταυτότητα (ID) της ομάδας της εφαρμογής BBS όπου θα βρίσκονται οι αποκλεισμένοι χρήστες (η προκαθορισμένη αξία είναι εντάξει, αλλάξτε την μόνο εάν ξέρετε τι κάνετε)',
+  'global_moderators_group' => 'Ομάδα γενικών συντονιστών',
+  'global_moderators_group_explanation' => 'Η ταυτότητα (ID) της ομάδας της εφαρμογής BBS όπου θα βρίσκονται οι γενικοί συντονιστές (η προκαθορισμένη αξία είναι εντάξει, αλλάξτε την μόνο εάν ξέρετε τι κάνετε)',
+  'special_settings' => 'BBS-συγκεκριμένες ρυθμίσεις',
+  'logout_flag' => 'έκδοση phpBB (σημαία αποσύνδεσης)',
+  'logout_flag_explanation' => 'Ποια είναι η έκδοση του BBS (αυτή η ρύθμιση καθορίζει τον τρόπο χειρισμού της αποσύνδεσης)',
+  'use_post_based_groups' => 'Χρησιμοποίηση ομάδων βασισμένων στις δημοσιεύσεις;',
+  'logout_flag_yes' => '2.0.5 ή υψηλότερη',
+  'logout_flag_no' => '2.0.4 ή χαμηλότερη',
+  'use_post_based_groups_explanation' => 'Καθορίζει το εάν οι ομάδες της εφαρμογής BBS που καθορίζονται από τον αριθμό των δημοσιεύσεων ληφθούν υπόψιν (επιτρέπει κοκκώδη-granular διαχείριση των αδειών) ή απλώς οι προεπιλεγμένες ομάδες (κάνει αυκολότερη την διαχείριση, συστήνεται). Μπορείτε να αλλάξετε αυτή τη ρύθμιση και αργότερα.',
+  'use_post_based_groups_yes' => 'ναι',
+  'use_post_based_groups_no' => 'όχι',
+  'error_title' => 'Πρέπει να διορθώσετε αυτά τα λάθη πριν μπορέσετε να συνεχίσετε. Πηγαίνετε στην προηγούμενη οθόνη.',
+  'error_specify_bbs' => 'Πρέπει να διευκρινίσετε ποιαν εφαρμογή θέλετε να γεφυρώσετε με την εγκατάσταση του Coppermine.',
+  'error_no_blank_name' => 'Δεν μπορείτε να αφήσετε κενό το όνομα του διαμορφωμένου αρχείου γεφυροποίησης.',
+  'error_no_special_chars' => 'Το όνομα του αρχείου γεφυροποίησης δεν μπορεί να περιέχει ειδικούς χαρακτήρες εκτός της κάτω παύλας (_) και της παύλας (-)!',
+  'error_bridge_file_not_exist' => 'Το αρχείο γεφυροποίησης %s δεν υπάρχει στον διακομιστή. Ελέγξτε εάν πραγματικά το έχετε ανεβάσει.',
+  'finalize' => 'ενεργοποίηση/απενεργοποίηση ενσωμάτωσης BBS',
+  'finalize_explanation' => 'Οι ρυθμίσεις που έχετε διευκρινίσει μέχρι τώρα έχουν γραφτεί στην βάση δεδομένων, αλλά η ενσωμάτωση της εφαρμογής BBS δεν έχει ενεργοποιηθεί. Μπορείτε να την ενεργοποιήσετε/απενεργοποιήσετε σε οποιαδήποτε στιγμή αργότερα. Σιγουρευτείτε πως θα θυμάστε το όνομα χρήστη και τον κωδικό του διαχειριστή του αυτόνομου Coppermine, ίσως το χρειαστείτε αργότερα για τυχόν αλλαγές. Εάν κάτι πάει στραβά, πηγαίνεται στο %s και απενεργοποιήστε εκεί την ενσωμάτωση του BBS, χρησιμοποιώντας τον αυτόνομο (αγεφυροποίητο) λογαριασμό διαχειριστή (συνήθως αυτόν που δημιουργείτε κατά την εγκατάσταση του Coppermine).',
+  'your_bridge_settings' => 'Οι ρυθμίσεις της γεφυροποίησής σας',
+  'title_enable' => 'Ενεργοποίηση ενσωμάτωσης/γεφυροποίησης με %s',
+  'bridge_enable_yes' => 'ενεργοποίηση',
+  'bridge_enable_no' => 'απενεργοποίηση',
+  'error_must_not_be_empty' => 'δεν πρέπει να είναι άδειο',
+  'error_either_be' => 'πρέπει να είναι είτε %s ή %s',
+  'error_folder_not_exist' => 'ο φάκελλος %s δεν υπάρχει. Διορθώστε την αξία που καταχωρήσατε για το %s',
+  'error_cookie_not_readible' => 'Το Coppermine δεν μπορεί να διαβάσει ένα cookie με το όνομα %s. Διορθώστε την αξία που καταχωρήσατε για το %s, ή πηγαίνετε στον πίνακα ελέγχου της εφαρμογής BBS και σιγουρευτείτε πως η διαδρομή του cookie είναι αναγνώσιμη για το coppermine.',
+  'error_mandatory_field_empty' => 'Δεν μπορείτε να αφήσετε κενό το πεδίο %s - καταχωρήστε την αρμόζουσα αξία.',
+  'error_no_trailing_slash' => 'Δεν πρέπει να υπάρχει κάθετος στο τέλος του πεδίου %s.',
+  'error_trailing_slash' => 'Πρέπει να υπάρχει κάθετος στο τέλος του πεδίου %s.',
+  'error_db_connect' => 'Ήταν αδύνατη η σύνδεση στην βάση δεδομένων mySQL με τα στοιχεία που καταχωρήσατε. Το ακριβές μύνημα λάθους της mySQL ήταν αυτό:',
+  'error_db_name' => 'Άν και το Coppermine μπόρεσε να συνδεθεί, η ανεύρεση της βάσης δεδομένων %s ήταν αδύνατη. Σιγουρευτείτε πως έχετε διευκρινίσει το %s κατάλληλα. Το ακριβές μύνημα λάθους της mySQL ήταν αυτό:',
+  'error_prefix_and_table' => '%s και ',
+  'error_db_table' => 'Η ανεύρεση του πίνακα %s ήταν αδύνατη. Σιγουρευτείτε πως έχετε διευκρινίσει το %s κατάλληλα.',
+  'recovery_title' => 'Διαχειριστής Γεφυροποίησης: αποκατάσταση έκτακτης ανάγκης',
+  'recovery_explanation' => 'Εάν είστε εδώ για να διαχειριστείτε την ενσωμάτωση της εφαρμογής BBS της Coppermine γκαλερί σας, πρέπει να συνδεθείτε πρώτα ως διαχειριστής. Εάν δεν μπορείτε να συνδεθείτε επειδή η γεφυροποίηση δεν λειτουργεί όπως θα έπρεπε, μπορείτε να απενεργοποιήσετε την ενσωμάτωση της εφαρμογής BBS σε αυτή τη σελίδα. Η καταχώρηση του ονόματος χρήστη σας και του κωδικού σας δεν θα σας συνδέσει, αλλά απλά θα απενεργοποιήσει την ενσωμάτωση της εφαρμογής BBS. Αναφερθείτε στο εγχειρίδιο για περισσότερες λεπτομέρειες.',
+  'username' => 'Όνομα Χρήστη',
+  'password' => 'Κωδικός',
+  'disable_submit' => 'Υποβολή',
+  'recovery_success_title' => 'Επιτυχής αυθεντικοποίηση',
+  'recovery_success_content' => 'Έχετε απενεργοποιήσει επιτυχώς την γεφυροποίηση της εφαρμογής BBS. Η εγκατάσταση του Coppermine λειτουργεί τώρα αυτόνομα.',
+  'recovery_success_advice_login' => 'Συνδεθείτε σαν διαχειριστής για να επεξεργαστείτε τις ρυθμίσεις της γεφυροποίησης και/ή να ενεργοποιήσετε πάλι την ενσωμάτωση της εφαρμογής BBS.',
+  'goto_login' => 'Μετάβαση στην σελίδα σύνδεσης',
+  'goto_bridgemgr' => 'Μετάβαση στον διαχειριστή γεφυροποίησης',
+  'recovery_failure_title' => 'Ανεπιτυχής αυθεντικοποίηση',
+  'recovery_failure_content' => 'Παρείχατε λανθασμένα στοιχεία. Θα πρέπει να παρέχετε τα στοιχεία του λογαριασμού διαχειριστή της αυτόνομης έκδοσης (συνήθως του λογαριασμού που δημιουργείται κατά την εγκατάσταση του Coppermine).',
+  'try_again' => 'προσπαθήστε πάλι',
+  'recovery_wait_title' => 'Περιμένετε, ο χρόνος δεν έχει τελειώσει',
+  'recovery_wait_content' => 'Για λόγους ασφαλείας αυτό το πρόγραμμα δεν επιτρέπει αποτυχημένες προσπάθειες σύνδεσης σε μικρό χρονικό διάστημα, γι\' αυτό θα πρέπει να περιμένετε λίγο μέχρι να σας επιτραπεί πάλι να προσπαθήσετε να αυθεντικοποιηθείτε.',
+  'wait' => 'περιμένετε',
+  'create_redir_file' => 'Δημιουργία αρχείου ανακατεύθυνσης (συστήνεται)',
+  'create_redir_file_explanation' => 'Για να ανακατευθύνετε χρήστες πίσω στο Coppermine αφού συνδεθούν στην εφαρμογή BBS, πρέπει να δημιουργηθεί ένα αρχείο ανακατεύθυνσης μέσα στον φάκελλο της εφαρμογής BBS. Όταν αυτή η επιλογή είναι επιλεγμένη, ο διαχειριστής γεφυροποίησης θα προσπαθήσει να δημιουργήσει αυτό το αρχείο για εσάς, ή θα σας δώσει έτοιμο τον κώδικα για τον αντιγράψετε και να τον επικολλήσετε και να δημιουργήσετε έτσι το αρχείο.',
+  'browse' => 'browse',
+);
+
+// ------------------------------------------------------------------------- //
+// File calendar.php //cpg1.4
+// ------------------------------------------------------------------------- //
+
+if (defined('CALENDAR_PHP')) $lang_calendar_php = array(
+  'title' => 'Ημερολόγιο', //cpg1.4
+  'close' => 'Κλείσιμο', //cpg1.4
+  'clear_date' => 'καθαρισμός ημερομηνίας', //cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File catmgr.php
+// ------------------------------------------------------------------------- //
+
+if (defined('CATMGR_PHP')) $lang_catmgr_php = array(
+  'miss_param' => 'Οι παράμετροι που απαιτούνται για \'%s\'λειτουργία δεν δόθηκαν !',
+  'unknown_cat' => 'Η επιλεγμένη κατηγορία δεν υπάρχει στην βάση δεδομένων',
+  'usergal_cat_ro' => 'Τα φώτο άλμπουμ των χρηστών δεν μπορούν να διαγραφούν !',
+  'manage_cat' => 'Διαχείριση κατηγοριών',
+  'confirm_delete' => 'Είστε σίγουροι πως θέλετε να ΔΙΑΓΡΑΨΕΤΕ αυτήν την κατηγορία', //js-alert
+  'category' => 'Κατηγορία',
+  'operations' => 'Λειτουργίες',
+  'move_into' => 'Μετακίνηση σε',
+  'update_create' => 'Ανανέωση/Δημιουργία κατηγορίας',
+  'parent_cat' => 'Δημιουργός κατηγορίας',
+  'cat_title' => 'Τίτλος κατηγορίας',
+  'cat_thumb' => 'Μικρογραφία κατηγορίας',
+  'cat_desc' => 'Περιγραφή κατηγορίας',
+  'categories_alpha_sort' => 'Αλφαβητική ταξινόμηση κατηγοριών (αντί για την προσαρμοσμένη διάταξη)', //cpg1.4
+  'save_cfg' => 'Αποθήκευση ρυθμίσεων', //cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File admin.php //cpg1.4
+// ------------------------------------------------------------------------- //
+
+if (defined('ADMIN_PHP')) $lang_admin_php = array(
+  'title' => 'Ρυθμίσεις της γκαλερί', //cpg1.4
+  'manage_exif' => 'Διαχείριση εμφάνισης των πληροφοριών exif', //cpg1.4
+  'manage_plugins' => 'Διαχείριση βοηθημάτων', //cpg1.4
+  'manage_keyword' => 'Διαχείριση λέξεων κλειδιών', //cpg1.4
+  'restore_cfg' => 'Επαναφορά αρχικών ρυθμίσεων',
+  'save_cfg' => 'Αποθήκευση νέων ρυθμίσεων',
+  'notes' => 'Σημειώσεις',
+  'info' => 'Πληροφορίες',
+  'upd_success' => 'Οι ρυθμίσεις του Coppermine ανανεώθηκαν',
+  'restore_success' => 'Οι αρχικές ρυθμίσεις του Coppermine αποκαταστάθηκαν',
+  'name_a' => 'Ανοδικά κατά όνομα',
+  'name_d' => 'Καθοδικά κατά όνομα',
+  'title_a' => 'Ανοδικά κατά τίτλο',
+  'title_d' => 'Καθοδικά κατά τίτλο',
+  'date_a' => 'Ανοδικά κατά ημερομηνία',
+  'date_d' => 'Καθοδικά κατά ημερομηνία',
+  'pos_a' => 'Ανοδικά κατά θέση', //cpg1.4
+  'pos_d' => 'Καθοδικά κατά θέση', //cpg1.4
+  'th_any' => 'Μέγιστη Αναλογία',
+  'th_ht' => 'Ύψος',
+  'th_wd' => 'Πλάτος',
+  'label' => 'ετικέτα',
+  'item' => 'Στοιχείο',
+  'debug_everyone' => 'Όλοι',
+  'debug_admin' => 'Μόνο διαχειριστής',
+  'no_logs'=> 'Απενεργοποιημένο', //cpg1.4
+  'log_normal'=> 'Κανονικά', //cpg1.4
+  'log_all' => 'Όλα', //cpg1.4
+  'view_logs' => 'Εμφάνιση αναγραφών', //cpg1.4
+  'click_expand' => 'κάντε κλικ στο όνομα του τμήματος για επέκταση', //cpg1.4
+  'expand_all' => 'Επέκταση όλων', //cpg1.4
+  'notice1' => '(*) Αυτές οι ρυθμίσεις δεν πρέπει να αλλάξουν εάν έχετε ήδη αρχεία στην βάση δεδομένων σας.', //cpg1.4 - (relocated)
+  'notice2' => '(**) Όταν αλλάξετε αυτή τη ρύθμιση, θα επηρεαστούν μόνο τα αρχεία που θα προστεθούν από το σημείο εκείνο και μετά, γι\' αυτό συστήνεται να μην αλλαχθεί η ρύθμιση εάν υπάρχουν ήδη αρχεία στην γκαλερί. Μπορείτε, εντούτοις, να εφαρμόσετε τις αλλαγές στα υπάρχοντα αρχεία με τα &quot;<a href="util.php">εργαλεία διαχειριστή</a> (αλλαγή διαστάσεων φωτογραφιών)&quot; από τις επιλογές διαχειριστή.', //cpg1.4 - (relocated)
+  'notice3' => '(***) Όλα τα αρχεία αναγραφής να γράφονται στα αγγλικά.', //cpg1.4 - (relocated)
+  'bbs_disabled' => 'Λειτουργία απενεργοποιημένη κατά την χρήση της ενσωμaτωμένης εφαρμογής bb', //cpg1.4
+  'auto_resize_everyone' => 'Όλοι', //cpg1.4
+  'auto_resize_user' => 'Μόνο χρήστες', //cpg1.4
+  'ascending' => 'ανοδικά', //cpg1.4
+  'descending' => 'καθοδικά', //cpg1.4
+);
+
+if (defined('ADMIN_PHP')) $lang_admin_data = array(
+  'Γενικές ρυθμίσεις',
+  array('Όνομα γκαλερί', 'gallery_name', 0, 'f=index.htm&amp;as=admin_general_name&amp;ae=admin_general_name_end'), //cpg1.4
+  array('Περιγραφή γκαλερί', 'gallery_description', 0, 'f=index.htm&amp;as=admin_general_description&amp;ae=admin_general_description_end'), //cpg1.4
+  array('Email διαχειριστή της γκαλερί', 'gallery_admin_email', 0, 'f=index.htm&amp;as=admin_general_email&amp;ae=admin_general_email_end'), //cpg1.4
+  array('URL του φακέλλου της γκαλερί (χωρίς το \'index.php\' ή κάτι παρόμοιο στο τέλος)', 'ecards_more_pic_target', 0, 'f=index.htm&amp;as=admin_general_coppermine-url&amp;ae=admin_general_coppermine-url_end'), //cpg1.4
+  array('URL της κεντρικής σελίδας', 'home_target', 0, 'f=index.htm&amp;as=admin_general_home-url&amp;ae=admin_general_home-url_end'), //cpg1.4
+  array('Επιτρέψτε κατέβασμα-ZIP των αγαπημένων', 'enable_zipdownload', 1, 'f=index.htm&amp;as=admin_general_zip-download&amp;ae=admin_general_zip-download_end'), //cpg1.4
+  array('Διαφορά χρονικής ζώνης σε σχέση με την ώρα GMT (τωρινή ώρα: ' . localised_date(-1, $comment_date_fmt) . ')','time_offset',0, 'f=index.htm&amp;as=admin_general_time-offset&amp;ae=admin_general_time-offset_end&amp;top=1'), //cpg1.4
+  array('Επιτρέψτε τους κρυπτογραφημένους κωδικούς πρόσβασης (δεν μπορεί να ανατραπεί)','enable_encrypted_passwords',1, 'f=index.htm&amp;as=admin_general_encrypt_password_start&amp;ae=admin_general_encrypt_password_end&amp;top=1'), // cpg 1.4
+  array('Επιτρέψτε τις εικόνες βοήθειας (βοήθεια διαθέσιμη στα αγγλικά μόνο)','enable_help',9, 'f=index.htm&amp;as=admin_general_help&amp;ae=admin_general_help_end'), //cpg1.4
+  array('Επιτρέψτε τις λέξεις-κλειδιά/συνδέσμους στην αναζήτηση','clickable_keyword_search',14, 'f=index.htm&amp;as=admin_general_keywords_start&amp;ae=admin_general_keywords_end'), //cpg1.4
+  array('Επιτρέψτε τα βοηθήματα', 'enable_plugins', 12, 'f=index.htm&amp;as=admin_general_enable-plugins&amp;ae=admin_general_enable-plugins_end'),  //cpg1.4
+  array('Επιτρέψτε τον αποκλεισμό μη κατευθύνσιμων IP διεθύνσεων (ιδιωτικών/LAN IPs)', 'ban_private_ip', 1,  'f=index.htm&amp;as=admin_general_private-ip&amp;ae=admin_general_private-ip_end'), //cpg1.4
+  array('Πλοηγήσιμη διαδικασία προσθήκης πολλών αρχείων', 'browse_batch_add', 1, 'f=index.htm&amp;as=admin_general_browsable_batch_add&amp;ae=admin_general_browsable_batch_add_end'), //cpg1.4
+
+  'Γλώσσα &amp; ρυθμίσεις κωδικοποίησης χαρακτήρων',
+  array('Γλώσσα', 'lang', 5, 'f=index.htm&amp;as=admin_language_language&amp;ae=admin_language_language_end'), //cpg1.4
+  array('Χρησιμοποίηση Αγλικών εάν η μεταφρασμένη φράση δεν υπάρχει;', 'language_fallback', 1, 'f=index.htm&amp;as=admin_language_fallback&amp;ae=admin_language_fallback_end'), //cpg1.4
+  array('Κωδικοποίηση χαρακτήρων', 'charset', 4, 'f=index.htm&amp;as=admin_language_charset&amp;ae=admin_language_charset_end'), //cpg1.4
+  array('Εμφάνιση λίστας γλωσσών', 'language_list', 1, 'f=index.htm&amp;as=admin_language_list&amp;ae=admin_language_list_end'), //cpg1.4
+  array('Εμφάνιση σημαιών των γλωσσών', 'language_flags', 8, 'f=index.htm&amp;as=admin_language_flags&amp;ae=admin_language_flags_end&amp;top=1'), //cpg1.4
+  array('Εμφάνιση επιλογής &quot;μηδενισμού&quot; στην επιλογή γλωσσών', 'language_reset', 1, 'f=index.htm&amp;as=admin_language_reset&amp;ae=admin_language_reset_end&amp;top=1'), //cpg1.4
+  //array('Εμφάνιση προηγούμενου/επόμενου στις σελίδες με ετικέττες', 'previous_next_tab', 1), //cpg1.4
+
+  'Ρυθμίσεις Θεμάτων',
+  array('Θέμα', 'theme', 6, 'f=index.htm&amp;as=admin_theme_theme&amp;ae=admin_theme_theme_end'), //cpg1.4
+  array('Εμφάνιση λίστας θεμάτων', 'theme_list', 1, 'f=index.htm&amp;as=admin_theme_theme_list&amp;ae=admin_theme_theme_list_end'), //cpg1.4
+  array('Εμφάνιση επιλογής &quot;μηδενισμού&quot; στην επιλογή θεμάτων', 'theme_reset', 1, 'f=index.htm&amp;as=admin_theme_theme_reset&amp;ae=admin_theme_theme_reset_end'), //cpg1.4
+  array('Εμφάνιση συχνών ερωτησεων και απαντήσεων (FAQ)', 'display_faq', 1, 'f=index.htm&amp;as=admin_theme_faq&amp;ae=admin_theme_faq_end'), //cpg1.4
+  array('Όνομα συνδέσμου διαμορφοποιημένου μενού', 'custom_lnk_name', 0,'f=index.htm&amp;as=admin_theme_custom_lnk_name&amp;ae=admin_theme_custom_lnk_name_end'), //cpg1.4
+  array('URL συνδέσμου διαμορφοποιημένου μενού', 'custom_lnk_url', 0,'f=index.htm&amp;as=admin_language_custom_lnk_url&amp;ae=admin_language_custom_lnk_url_end'), //cpg1.4
+  array('Εμφάνιση βοήθειας bbcode', 'show_bbcode_help', 1, 'f=index.htm&amp;as=admin_theme_bbcode&amp;ae=admin_theme_bbcode_end&amp;top=1'), //cpg1.4
+  array('Εμφάνιση του vanity block στα θέματα που είναι δηλωμένα ως συμβατά με XHTML και CSS','vanity_block',1, 'f=index.htm&amp;as=vanity_block&amp;ae=vanity_block_end'), //cpg1.4
+  array('Διαδρομή για την διαμορφοποιημένη επιγραφή (custom header)', 'custom_header_path', 0, 'f=index.htm&amp;as=admin_theme_include_path_start&amp;ae=admin_theme_include_path_end'), //cpg1.4
+  array('Διαδρομή για την διαμορφοποιημένη υποσημείωση (custom footer)', 'custom_footer_path', 0, 'f=index.htm&amp;as=admin_theme_include_path_start&amp;ae=admin_theme_include_path_end'), //cpg1.4
+
+  'Εμφάνιση Λίστας Αλμπουμ',
+  array('Πλάτος του κυρίως πίνακα (εικονοστοιχεία ή %)', 'main_table_width', 0, 'f=index.htm&amp;as=admin_album_table-width&amp;ae=admin_album_table-width_end'), //cpg1.4
+  array('Αριθμός επιπέδων κατηγοριών προς εμφάνιση', 'subcat_level', 0, 'f=index.htm&amp;as=admin_album_category-levels&amp;ae=admin_album_category-levels_end'), //cpg1.4
+  array('Αριθμός άλμπουμ προς εμφάνιση', 'albums_per_page', 0, 'f=index.htm&amp;as=admin_album_number&amp;ae=admin_album_number_end'), //cpg1.4
+  array('Αριθμός στηλών για την λίστα των άλμπουμς', 'album_list_cols', 0, 'f=index.htm&amp;as=admin_album_columns&amp;ae=admin_album_columns_end'), //cpg1.4
+  array('Μέγεθος των μικρογραφιών σε εικονοστοιχεία', 'alb_list_thumb_size', 0, 'f=index.htm&amp;as=admin_album_thumbnail-size&amp;ae=admin_album_thumbnail-size_end'), //cpg1.4
+  array('Περιεχόμενο κεντρικής σελίδας', 'main_page_layout', 0, 'f=index.htm&amp;as=admin_album_list_content&amp;ae=admin_album_list_content_end'), //cpg1.4
+  array('Εμφάνιση μικρογραφιών του πρώτου επιπέδου άλμπουμ στις κατηγορίες','first_level',1, 'f=index.htm&amp;as=admin_album_first-level_thumbs&amp;ae=admin_album_first-level_thumbs_end'), //cpg1.4
+  array('Αλφαβητική ταξινόμηση κατηγοριών (αντί της διαμορφωμένης σειράς)','categories_alpha_sort',1, 'f=index.htm&amp;as=admin_album_list_alphasort_start&amp;ae=admin_album_list_alphasort_end'), //cpg1.4
+  array('Εμφάνιση αριθμού συνδεόμενων αρχείων','link_pic_count',1, 'f=index.htm&amp;as=admin_album_linked_files_start&amp;ae=admin_album_linked_files_end'), //cpg1.4
+
+  'Εμφάνιση μικρογραφιών',
+  array('Αριθμός στηλών στην σελίδα με τις μικρογραφίες', 'thumbcols', 0, 'f=index.htm&amp;as=admin_thumbnail_columns&amp;ae=admin_thumbnail_columns_end'), //cpg1.4
+  array('Αριθμός γραμμών στην σελίδα με τις μικρογραφίες', 'thumbrows', 0, 'f=index.htm&amp;as=admin_thumbnail_rows&amp;ae=admin_thumbnail_rows_end'), //cpg1.4
+  array('Ανώτερος αριθμός ετικεττών προς εμφάνιση', 'max_tabs', 10, 'f=index.htm&amp;as=admin_thumbnail_tabs&amp;ae=admin_thumbnail_tabs_end'), //cpg1.4
+  array('Εμφάνιση λεζάντας αρχείου (επιπρόσθετα του τίτλου) κάτω από την μικρογραφία', 'caption_in_thumbview', 1, 'f=index.htm&amp;as=admin_thumbnail_display_caption&amp;ae=admin_thumbnail_display_caption_end'), //cpg1.4
+  array('Εμφάνιση αριθμού εμφανίσεων κάτω από την μικρογραφία', 'views_in_thumbview', 1, 'f=index.htm&amp;as=admin_thumbnail_display_views&amp;ae=admin_thumbnail_display_views_end'), //cpg1.4
+  array('Εμφάνιση αριθμού σχολίων κάτω από την μικρογραφί', 'display_comment_count', 1, 'f=index.htm&amp;as=admin_thumbnail_display_comments&amp;ae=admin_thumbnail_display_comments_end'), //cpg1.4
+  array('Εμφάνιση του προσθέτη κάτω από την μικρογραφία', 'display_uploader', 1, 'f=index.htm&amp;as=admin_thumbnail_display_uploader&amp;ae=admin_thumbnail_display_uploader_end'), //cpg1.4
+  //array('Εμφάνιση ονόματος διαχειριστή των προσθετών κάτω από την μικρογραφία', 'display_admin_uploader', 1, 'f=index.htm&amp;as=admin_thumbnail_display_admin_uploader&amp;ae=admin_thumbnail_display_admin_uploader_end'), //cpg1.4
+  array('Εμφάνιση ονόματος αρχείου κάτω από την μικρογραφία', 'display_filename', 1, 'f=index.htm&amp;as=admin_thumbnail_display_filename&amp;ae=admin_thumbnail_display_filename_end'), //cpg1.4
+  //array('Εμφάνιση περιγραφής του άλμπουμ', 'alb_desc_thumb', 1, 'f=index.htm&amp;as=admin_thumbnail_display_description&amp;ae=admin_thumbnail_display_description_end'), //cpg1.4
+  array('Προεπιλεγμένη ταξινόμηση για τα αρχεία', 'default_sort_order', 3, 'f=index.htm&amp;as=admin_thumbnail_default_sortorder&amp;ae=admin_thumbnail_default_sortorder_end'), //cpg1.4
+  array('Ελάχιστος αριθμός ψήφων για την εμφάνιση ενός αρχείου στην λίστα \'υψηλά-βαθμολογημένα\'', 'min_votes_for_rating', 0, 'f=index.htm&amp;as=admin_thumbnail_minimum_votes&amp;ae=admin_thumbnail_minimum_votes_end'), //cpg1.4
+
+  'Εμφάνιση εικόνων', //cpg1.4
+  array('Πλάτος πίνακα για εμφάνιση αρχείου (εικονοστοιχεία ή %)', 'picture_table_width', 0, 'f=index.htm&amp;as=admin_image_comment_table-width&amp;ae=admin_image_comment_table-width_end'), //cpg1.4
+  array('Προκαθοριμένη εμφάνιση πληροφοριών αρχείων', 'display_pic_info', 1, 'f=index.htm&amp;as=admin_image_comment_info_visible&amp;ae=admin_image_comment_info_visible_end'), //cpg1.4
+  array('Μέγιστος αριθμός χαρακτήρων για την περιγραφή μιας εικόνας', 'max_img_desc_length', 0, 'f=index.htm&amp;as=admin_image_comment_descr_length&amp;ae=admin_image_comment_descr_length_end'), //cpg1.4
+  array('Μέγιστος αριθμός χαρακτήρων σε μία λέξη', 'max_com_wlength', 0, 'f=index.htm&amp;as=admin_image_comment_chars_per_word&amp;ae=admin_image_comment_chars_per_word_end'), //cpg1.4
+  array('Εμφάνιση λωρίδας ταινιών', 'display_film_strip', 1, 'f=index.htm&amp;as=admin_image_comment_filmstrip_toggle&amp;ae=admin_image_comment_filmstrip_toggle_end'), //cpg1.4
+  array('Εμφάνιση ονόματος αρχείου κάτω από τις μικρογραφίες της λωρίδας ταινιών', 'display_film_strip_filename', 1, 'f=index.htm&amp;as=admin_image_comment_display_film_strip_filename&amp;ae=admin_image_comment_display_film_strip_filename_end'), //cpg1.4
+  array('Αριθμός αντικειμένων στην λωρίδα ταινιών', 'max_film_strip_items', 0, 'f=index.htm&amp;as=admin_image_comment_filmstrip_number&amp;ae=admin_image_comment_filmstrip_number_end'), //cpg1.4
+  array('Χρόνος εναλλαγής φωτογραφιών κατά την προβολή διαφανειών σε χιλιοστά δευτερολέπτου (1 δευτερόλεπτο = 1000 χιλιοστά δευτερολέπτου)', 'slideshow_interval', 0, 'f=index.htm&amp;as=admin_image_comment_slideshow_interval&amp;ae=admin_image_comment_slideshow_interval_end'), //cpg1.4
+
+  'Ρυθμίσεις σχολίων', //cpg1.4
+  array('Φιλτράρισμα άσχημων λέξεων στα σχόλια', 'filter_bad_words', 1, 'f=index.htm&amp;as=admin_image_comment_bad_words&amp;ae=admin_image_comment_bad_words_end'), //cpg1.4
+  array('Να επιτρέπονται φατσούλες στα σχόλια', 'enable_smilies', 1, 'f=index.htm&amp;as=admin_image_comment_smilies&amp;ae=admin_image_comment_smilies_end'), //cpg1.4
+  array('Να επιτρέπονται διαδοχικά σχόλια σε ένα αρχείο από τον ίδιο χρήστη (απενεργοποίηση προστασίας από πλημμύρα)', 'disable_comment_flood_protect', 1, 'f=index.htm&amp;as=admin_image_comment_flood&amp;ae=admin_image_comment_flood_end'), //cpg1.4
+  array('Μέγιστος αριθμός γραμμών σε ένα σχόλιο', 'max_com_lines', 0, 'f=index.htm&amp;as=admin_image_comment_lines&amp;ae=admin_image_comment_lines_end'), //cpg1.4
+  array('Μέγιστος αριθμός χαρακτήρων σε ένα σχόλιο', 'max_com_size', 0, 'f=index.htm&amp;as=admin_image_comment_length&amp;ae=admin_image_comment_length_end'), //cpg1.4
+  array('Ειδοποίηση διαχειριστή για τα σχόλια με email', 'email_comment_notification', 1, 'f=index.htm&amp;as=admin_image_comment_admin_notify&amp;ae=admin_image_comment_admin_notify_end'), //cpg1.4
+  array('Ταξινόμηση των σχολίων', 'comments_sort_descending', 17, 'f=index.htm&amp;as=admin_comment_sort_start&amp;ae=admin_comment_sort_end'), //cpg1.4
+  array('Πρόθεμα για τους ανώνυμους συντάκτες σχολίων', 'comments_anon_pfx', 0, 'f=index.htm&amp;as=comments_anon_pfx&amp;ae=comments_anon_pfx_end'), //cpg1.4
+
+  'Ρυθμίσεις αρχείων και μικρογραφιών',
+  array('Ποιότητα αρχείων JPEG', 'jpeg_qual', 0, 'f=index.htm&amp;as=admin_picture_thumbnail_jpeg_quality&amp;ae=admin_picture_thumbnail_jpeg_quality_end'), //cpg1.4
+  array('Μέγιστες διαστάσεις μιας μικρογραφίας <a href="#notice2" class="clickable_option">**</a>', 'thumb_width', 0, 'f=index.htm&amp;as=admin_picture_thumbnail_max-dimension&amp;ae=admin_picture_thumbnail_max-dimension_end'), //cpg1.4
+  array('Χρήση διαστάσεων (πλάτος ή ύψος ή Μέγιστη αναλογία για τις μικρογραφίες) <a href="#notice2" class="clickable_option">**</a>', 'thumb_use', 7, 'f=index.htm&amp;as=admin_picture_thumbnail_use-dimension&amp;ae=admin_picture_thumbnail_use-dimension_end'), //cpg1.4
+  array('Δημιουργία ενδιάμεσων φωτογραφιών','make_intermediate',1, 'f=index.htm&amp;as=admin_picture_thumbnail_intermediate_toggle&amp;ae=admin_picture_thumbnail_intermediate_toggle_end'), //cpg1.4
+  array('Μέγιστο πλάτος ή ύψος μιας ενδιάμεσης φωτογραφίας ή βίντεο <a href="#notice2" class="clickable_option">**</a>', 'picture_width', 0, 'f=index.htm&amp;as=admin_picture_thumbnail_intermediate_dimension&amp;ae=admin_picture_thumbnail_intermediate_dimension_end'), //cpg1.4
+  array('Μέγιστο μέγεθος προστιθέμενων αρχείων (KB)', 'max_upl_size', 0, 'f=index.htm&amp;as=admin_picture_thumbnail_max_upload_size&amp;ae=admin_picture_thumbnail_max_upload_size_end'), //cpg1.4
+  array('Μέγιστο πλάτος ή ύψος προστιθέμενων φωτογραφιών/βίντεο (εικονοστοιχεία)', 'max_upl_width_height', 0, 'f=index.htm&amp;as=admin_picture_thumbnail_max_upload_dimension&amp;ae=admin_picture_thumbnail_max_upload_dimension_end'), //cpg1.4
+  array('Αυτόματη αναμεγέθυνση φωτογραφιών που είναι μεγαλύτερες από το μέγιστο πλάτος ή ύψος', 'auto_resize', 16, 'f=index.htm&amp;as=admin_picture_thumbnail_auto-resize&amp;ae=admin_picture_thumbnail_auto-resize_end'), //cpg1.4
+
+  'Προχωρημένες ρυθμίσεις αρχείων και μικρογραφιών',
+  array('Τα άλμπουμς μπορούν να είναι ιδιωτικά (Σημείωση: εάν αλλάξετε από \'ναι\' σε \'όχι\' κάθε υπάρχων ιδιωτικό άλμπουμ θα γίνει δημόσιο)', 'allow_private_albums', 1, 'f=index.htm&amp;as=admin_picture_thumb_advanced_private_toggle&amp;ae=admin_picture_thumb_advanced_private_toggle_end'), //cpg1.4
+  array('Εμφάνιση εικόνας ιδιωτικών άλμπουμς στους επισκέπτες','show_private',1, 'f=index.htm&amp;as=admin_picture_thumb_advanced_private_icon_show&amp;ae=admin_picture_thumb_advanced_private_icon_show_end'), //cpg1.4
+  array('Απαγορευμένοι χαρακτήρες στα ονόματα αρχείων', 'forbiden_fname_char',0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_filename_forbidden_chars&amp;ae=admin_picture_thumb_advanced_filename_forbidden_chars_end'), //cpg1.4
+  //array('Αποδεκτές επεκτάσεις αρχείων για τις προστιθέμενες φωτογραφίες', 'allowed_file_extensions',0, 'f=index.htm&amp;as=&amp;ae=_end'), //cpg1.4
+  array('Επιτρεπόμεοι τύποι εικόνων', 'allowed_img_types',0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_pic_extensions&amp;ae=admin_picture_thumb_advanced_pic_extensions_end'), //cpg1.4
+  array('Επιτρεπόμενοι τύποι ταινιών', 'allowed_mov_types',0, 'f=index.htm&amp;as=admin_thumbs_advanced_movie&amp;ae=admin_thumbs_advanced_movie_end'), //cpg1.4
+  array('Αυτόματο ξεκίνημα ταινίας', 'media_autostart',1, 'f=index.htm&amp;as=admin_movie_autoplay&amp;ae=admin_movie_autoplay_end'), //cpg1.4
+  array('Επιτρεπόμενοι τύποι ήχων', 'allowed_snd_types',0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_audio_extensions&amp;ae=admin_picture_thumb_advanced_audio_extensions_end'), //cpg1.4
+  array('Επιτρεπόμενοι τύποι κειμένων', 'allowed_doc_types',0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_doc_extensions&amp;ae=admin_picture_thumb_advanced_doc_extensions_end'), //cpg1.4
+  array('Μέθοδος αλλαγής μεγέθους φωτογραφιών','thumb_method',2, 'f=index.htm&amp;as=admin_picture_thumb_advanced_resize_method&amp;ae=admin_picture_thumb_advanced_resize_method_end'), //cpg1.4
+  array('Διαδρομή για την εφαρμογή \'μετατροπής\' ImageMagick (παράδειγμα /usr/bin/X11/)', 'impath', 0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_im_path&amp;ae=admin_picture_thumb_advanced_im_path_end'), //cpg1.4
+  //array('Επιτρεπόμενοι τύποι φωτογραφιών (ισχύει μόνο για το ImageMagick)', 'allowed_img_types',0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_allowed_imagetypes&amp;ae=admin_picture_thumb_advanced_allowed_imagetypes_end'), //cpg1.4
+  array('Επιλογές εντολών γραμμής για το ImageMagick', 'im_options', 0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_im_commandline&amp;ae=admin_picture_thumb_advanced_im_commandline_end'), //cpg1.4
+  array('Ανάγνωση πληροφοριών EXIF στα αρχεία JPEG', 'read_exif_data', 13, 'f=index.htm&amp;as=admin_picture_thumb_advanced_exif&amp;ae=admin_picture_thumb_advanced_exif_end'), //cpg1.4
+  array('Ανάγνωση πληροφοριών IPTC στα αρχεία JPEG', 'read_iptc_data', 1, 'f=index.htm&amp;as=admin_picture_thumb_advanced_iptc&amp;ae=admin_picture_thumb_advanced_iptc_end'), //cpg1.4
+  array('Φάκελλος των άλμπουμς <a href="#notice1" class="clickable_option">*</a>', 'fullpath', 0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_albums_dir&amp;ae=admin_picture_thumb_advanced_albums_dir_end'), //cpg1.4
+  array('Φάκελλος των αρχείων χρηστών <a href="#notice1" class="clickable_option">*</a>', 'userpics', 0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_userpics_dir&amp;ae=admin_picture_thumb_advanced_userpics_dir_end'), //cpg1.4
+  array('Πρόθεμα για τις ενδιάμεσες φωτογραφίες <a href="#notice1" class="clickable_option">*</a>', 'normal_pfx', 0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_intermediate_prefix&amp;ae=admin_picture_thumb_advanced_intermediate_prefix_end'), //cpg1.4
+  array('Πρόθεμα για τις μικρογραφίες <a href="#notice1" class="clickable_option">*</a>', 'thumb_pfx', 0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_thumbs_prefix&amp;ae=admin_picture_thumb_advanced_thumbs_prefix_end'), //cpg1.4
+  array('Προεπιλεγμένες ρυθμίσεις για φακέλλους', 'default_dir_mode', 0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_chmod_folder&amp;ae=admin_picture_thumb_advanced_chmod_folder_end'), //cpg1.4
+  array('Προεπιλεγμένες ρυθμίσεις για αρχεία', 'default_file_mode', 0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_chmod_files&amp;ae=admin_picture_thumb_advanced_chmod_files_end'), //cpg1.4
+
+  'Ρυθμίσεις χρηστών',
+  array('Να επιτρέπεται η εγγραφή νέων χρηστών', 'allow_user_registration', 1, 'f=index.htm&amp;as=admin_allow_registration&amp;ae=admin_allow_registration_end'), //cpg1.4
+  array('Να επιτρέπεται η πρόσβαση σε μη-αυθεντικοποιημένους (επισκέπτες ή ανώνυμους) χρήστες', 'allow_unlogged_access', 1, 'f=index.htm&amp;as=admin_allow_unlogged_access&amp;ae=admin_allow_unlogged_access_end'), //cpg1.4
+  array('Η εγγραφή νέων χρηστών χρειάζεται επαλήθευση με email', 'reg_requires_valid_email', 1, 'f=index.htm&amp;as=admin_registration_verify&amp;ae=admin_registration_verify_end'), //cpg1.4
+  array('Ενημέρωση διαχειριστή με email για νέες εγγραφές', 'reg_notify_admin_email', 1, 'f=index.htm&amp;as=admin_registration_notify&amp;ae=admin_registration_notify_end'), //cpg1.4
+  array('Ενεργοποίηση εγγραφών από διαχειριστή', 'admin_activation', 1, 'f=index.htm&amp;as=admin_activation&amp;ae=admin_activation_end'),  //cpg1.4
+  array('Να επιτρέπεται σε δύο χρήστες να έχουν την ίδια email διεύθυνση', 'allow_duplicate_emails_addr', 1, 'f=index.htm&amp;as=admin_allow_duplicate_emails_addr&amp;ae=admin_allow_duplicate_emails_addr_end'), //cpg1.4
+  array('Ενημέρωση διαχειριστή/ών για προσθήκες χρηστών που περιμένουν έγκριση', 'upl_notify_admin_email', 1, 'f=index.htm&amp;as=admin_approval_notify&amp;ae=admin_approval_notify_end'), //cpg1.4
+  array('Εμφάνιση λίστας μελών σε αυθεντικοποιημένους χρήστες', 'allow_memberlist', 1, 'f=index.htm&amp;as=admin_user_memberlist&amp;ae=admin_user_memberlist_end'), //cpg1.4
+  array('Να επιτρέπεται στους χρήστες η αλλαγή της email διεύθυνσής τους στο προφίλ τους', 'allow_email_change', 1, 'f=index.htm&amp;as=admin_user_allow_email_change&amp;ae=admin_user_allow_email_change_end'), //cpg1.4
+  array('Να επιτρέπεται στους χρήστες η διατήρηση ελέγχου των φωτογραφιών τους σε δημόσιες γκαλερί', 'users_can_edit_pics', 1, 'f=index.htm&amp;as=admin_user_editpics_public_start&amp;ae=admin_user_editpics_public_end'), //cpg1.4
+  array('Αριθμός αποτυχημένων προσπαθειών για αυθεντικοποίηση μέχρι τον προσωρινό αποκλεισμό (προς αποφυγή επιθέσεων κλοπής κωδικών)', 'login_threshold', 0, 'f=index.htm&amp;as=admin_user_login_start&amp;ae=admin_user_login_end'), //cpg1.4
+  array('Διάρκεια προσωρινού αποκλεισμού μετά από αποτυχημένες προσπάθειες αυθεντικοποίησης', 'login_expiry', 0, 'f=index.htm&amp;as=admin_user_login_start&amp;ae=admin_user_login_end'), //cpg1.4
+  array('Ενεργοποίση αποστολής αναφορών στους διαχειριστές', 'report_post', 1, 'f=index.htm&amp;as=admin_user_enable_report&amp;ae=admin_user_enable_report_end'),  //cpg1.4
+
+// custom profile fields,  //cpg1.4
+  'Διαμορφοποιήσιμα πεδία για προφίλ χρηστών (αφήστε τα κενά εάν δεν χρησιμοποιούνται).
+  Χρησιμοποιήστε το Προφίλ 6 για μεγάλες καταχωρήσεις, όπως βιογραφίες', //cpg1.4
+  array('Όνομα προφίλ 1', 'user_profile1_name', 0, 'f=index.htm&amp;as=admin_custom&amp;ae=admin_custom_end'), //cpg1.4
+  array('Όνομα προφίλ 2', 'user_profile2_name', 0), //cpg1.4
+  array('Όνομα προφίλ 3', 'user_profile3_name', 0), //cpg1.4
+  array('Όνομα προφίλ 4', 'user_profile4_name', 0), //cpg1.4
+  array('Όνομα προφίλ 5', 'user_profile5_name', 0), //cpg1.4
+  array('Όνομα προφίλ 6', 'user_profile6_name', 0), //cpg1.4
+
+  'Διαμορφοποιήσιμα πεδία για περιγραφή εικόνων (αφήστε τα κενά εάν δεν χρησιμοποιούνται)',
+  array('Όνομα πεδίου 1', 'user_field1_name', 0, 'f=index.htm&amp;as=admin_custom_image&amp;ae=admin_custom_image_end'), //cpg1.4
+  array('Όνομα πεδίου 2', 'user_field2_name', 0),
+  array('Όνομα πεδίου 3', 'user_field3_name', 0),
+  array('Όνομα πεδίου 4', 'user_field4_name', 0),
+
+  'Ρυθμίσεις για τα cookies',
+  array('Όνομα του cookie', 'cookie_name', 0, 'f=index.htm&amp;as=admin_cookie_name&amp;ae=admin_cookie_name_end'), //cpg1.4
+  array('Διαδρομή του cookie', 'cookie_path', 0, 'f=index.htm&amp;as=admin_cookie_path&amp;ae=admin_cookie_path_end'), //cpg1.4
+
+  'Ρυθμίσεις email (συνήθως τίποτε δεν χρειάζεται να αλλαχθεί εδώ. Eάν δεν είστε σίγουροι αφήστε κενά όλα τα πεδία)', //cpg1.4
+  array('SMTP Host (εάν μείνει κενό, θα χρησιμοποιηθεί το sendmail)', 'smtp_host', 0, 'f=index.htm&amp;as=admin_email&amp;ae=admin_email_end'), //cpg1.4
+  array('SMTP όνομα χρήστη', 'smtp_username', 0), //cpg1.4
+  array('SMTP κωδικός', 'smtp_password', 0), //cpg1.4
+
+  'Αναγραφή και στατιστικές', //cpg1.4
+  array('Λειτουργία αναγραφής (logging) <a href="#notice3" class="clickable_option">***</a>', 'log_mode', 11, 'f=index.htm&amp;as=admin_logging_log_mode&amp;ae=admin_logging_log_mode_end'), //cpg1.4
+  array('Αναγραφή των ηλεκτρονικών καρτών', 'log_ecards', 1, 'f=index.htm&amp;as=admin_general_log_ecards&amp;ae=admin_general_log_ecards_end'), //cpg1.4
+  array('Κράτηση λεπτομερών στατιστικών των ψήφων','vote_details',1, 'f=index.htm&amp;as=admin_logging_votedetails&amp;ae=admin_logging_votedetails_end'), //cpg1.4
+  array('Κράτηση λεπτομερών στατιστικών των επισκέψεων','hit_details',1, 'f=index.htm&amp;as=admin_logging_hitdetails&amp;ae=admin_logging_hitdetails_end'), //cpg1.4
+
+  'Ρυθμίσεις συντήρησης', //cpg1.4
+  array('Ενεργοποίηση λειτουργίας εντοπισμού λαθών', 'debug_mode', 9, 'f=index.htm&amp;as=debug_mode&amp;ae=debug_mode_end'), //cpg1.4
+  array('Εμφάνιση ειδοποιήσεων κατά την λειτουργία εντοπισμού λαθών', 'debug_notice', 1, 'f=index.htm&amp;as=admin_misc_debug_notices&amp;ae=admin_misc_debug_notices_end'), //cpg1.4
+  array('Η γκαλερί είναι εκτός λειτουργίας', 'offline', 1, 'f=index.htm&amp;as=admin_general_offline&amp;ae=admin_general_offline_end'), //cpg1.4
+);
+
+
+// ------------------------------------------------------------------------- //
+// File db_ecard.php
+// ------------------------------------------------------------------------- //
+
+if (defined('DB_ECARD_PHP')) $lang_db_ecard_php = array(
+  'title' => 'Αποστολή ηλεκτρονικής κάρτας',
+  'ecard_sender' => 'Αποστολέας',
+  'ecard_recipient' => 'Παραλήπτης',
+  'ecard_date' => 'Ημερομηνία',
+  'ecard_display' => 'Εμφάνιση ηλεκτρονικής κάρτας',
+  'ecard_name' => 'Όνομα',
+  'ecard_email' => 'Email',
+  'ecard_ip' => 'IP #',
+  'ecard_ascending' => 'ανοδικά',
+  'ecard_descending' => 'καθοδικά',
+  'ecard_sorted' => 'Ταξινομημένα',
+  'ecard_by_date' => 'κατά ημερομηνία',
+  'ecard_by_sender_name' => 'κατά όνομα αποστολέα',
+  'ecard_by_sender_email' => 'κατά email αποστολέα',
+  'ecard_by_sender_ip' => 'κατά IP διεύθυνση αποστολέα',
+  'ecard_by_recipient_name' => 'κατά όνομα παραλήπτη',
+  'ecard_by_recipient_email' => 'κατά email παραλήπτη',
+  'ecard_number' => 'εμφάνιση καταχηρήσεως %s έως %s από %s',
+  'ecard_goto_page' => 'μετάβαση στην σελίδα',
+  'ecard_records_per_page' => 'Καταχωρήσεις ανά σελίδα',
+  'check_all' => 'Επιλογή Όλων',
+  'uncheck_all' => 'Αποεπιλογή Όλων',
+  'ecards_delete_selected' => 'Διαγραφή επιλεγμένων ηλεκτρονικών καρτών',
+  'ecards_delete_confirm' => 'Είστε σίγουροι πως θέλετε να διαγράψετε τις καταχωρήσεις; Σημειώστε το τετραγωνίδιο!',
+  'ecards_delete_sure' => 'Είμαι σίγουρος/η',
+);
+
+
+// ------------------------------------------------------------------------- //
+// File db_input.php
+// ------------------------------------------------------------------------- //
+
+if (defined('DB_INPUT_PHP')) $lang_db_input_php = array(
+  'empty_name_or_com' => 'Πρέπει να πληκτρολογήσετε το όνομά σας και ένα σχόλιο',
+  'com_added' => 'Το σχόλιό σας προστέθηκε',
+  'alb_need_title' => 'Πρέπει να δώσετε έναν τίτλο στο άλμπουμ !',
+  'no_udp_needed' => 'Δεν χρειάζεται ενημέρωση.',
+  'alb_updated' => 'Το άλμπουμ ενημερώθηκε',
+  'unknown_album' => 'Το επιλεγμένο άλμπουμ δεν υπάρχει ή δεν έχετε άδεια πρόσθεσης αρχείων σε αυτό',
+  'no_pic_uploaded' => 'Δεν προστέθηκαν φωτογραφίες !<br /><br />Εάν πραγματικά επιλέξατε αρχείο για πρόσθεση, σιγουρευτείτε πως ο διακομιστής επιτρέπει την πρόσθεση αρχείων...',
+  'err_mkdir' => 'Αποτυχία δημιουργίας του φακέλλου %s !',
+  'dest_dir_ro' => 'Ο κατάλογος προορισμού %s δεν είναι εγγράψιμος από το πρόγραμμα !',
+  'err_move' => 'Αδύνατη η μετακίνηση του %s στο %s !',
+  'err_fsize_too_large' => 'Το μέγεθος του αρχείου που προσθέσατε είναι πολύ μεγάλο (το μέγιστο επιτρεπόμενο είναι %s x %s) !', //obsolete since cpg1.3 - consider removal in cpg1.4 once upload.php has been overhauled
+  'err_imgsize_too_large' => 'Το μέγεθος της φωτογραφίας που προσθέσατε είναι πολύ μεγάλο (το μέγιστο επιτρεπόμενο είναι %s KB) !', //obsolete since cpg1.3 - consider removal in cpg1.4 once upload.php has been overhauled
+  'err_invalid_img' => 'Το αρχείο που προσθέσατε δεν είναι έγκυρη εικόνα !',
+  'allowed_img_types' => 'Μπορείτε να προσθέσετε μόνο %s εικόνες.',
+  'err_insert_pic' => 'Το αρχείο \'%s\' δεν μπορεί να καταχωρηθεί στο άλμπουμ',
+  'upload_success' => 'Το αρχείο σας προστέθηκε επιτυχώς.<br /><br />Θα είναι ορατό μετά από την έγκριση του διαχειριστή.',
+  'notify_admin_email_subject' => '%s - Ειδοποίηση πρόσθεσης',
+  'notify_admin_email_body' => 'Μια φωτογραφία έχει προστεθεί από τον/την %s και χρειάζεται την έγκρισή σας. Παρακαλώ επισκεφθείτε το %s',
+  'info' => 'Πληροφορίες',
+  'com_added' => 'Το σχόλιο προστέθηκε',
+  'alb_updated' => 'Το άλμπουμ ενημερώθηκε',
+  'err_comment_empty' => 'Το σχόλιό σας είναι κενό !',
+  'err_invalid_fext' => 'Μόνο αρχεία με τις ακόλουθες καταλήξεις γίνονται δεκτά: <br /><br />%s.',
+  'no_flood' => 'Συγνώμη αλλά έχετε ήδη κάνει το τελευταίο σχόλιο για αυτό το αρχείο<br /><br />Επεξεργαστείτε το σχόλιο που έχετε κάνει, εάν θέλετε να το αλλάξετε',
+  'redirect_msg' => 'Ανακατευθύνεστε.<br /><br /><br />Κάντε κλικ στο \'ΣΥΝΕΧΕΙΑ\' εάν η σελίδα δεν ανανεωθεί αυτόματα',
+  'upl_success' => 'Το αρχείο σας προστέθηκε επιτυχώς',
+  'email_comment_subject' => 'Προστέθηκε σχόλιο στην γκαλερί φωτογραφιών Coppermine',
+  'email_comment_body' => 'Κάποιος έχει προσθέσει ένα σχόλιο στην γκαλερί σας. Κοιτάξτε το στο',
+  'album_not_selected' => 'Δεν επιλέχθηκε άλμουμ', //cpg1.4
+  'com_author_error' => 'Ένας εγγεγραμμένος χρήστης χρησιμοποιεί αυτό το ψευδώνυμο, αυθεντικοποιηθείτε ή χρησιμοποιήστε κάποιο άλλο', //cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File delete.php
+// ------------------------------------------------------------------------- //
+
+if (defined('DELETE_PHP')) $lang_delete_php = array(
+  'caption' => 'Λεζάντα',
+  'fs_pic' => 'εικόνα πλήρους μεγέθους',
+  'del_success' => 'διεγράφει επιτυχώς',
+  'ns_pic' => 'φωτογραφία κανονικού μεγέθους',
+  'err_del' => 'δεν μπορεί να διαγραφεί',
+  'thumb_pic' => 'μικρογραφία',
+  'comment' => 'σχόλιο',
+  'im_in_alb' => 'φωτογραφία σε άλμπουμ',
+  'alb_del_success' => '\'Αλμπουμ &laquo;%s&raquo; διεγράφει', //cpg1.4
+  'alb_mgr' => 'Διαχείριση άλμπουμ',
+  'err_invalid_data' => 'Άκυρα δεδομένα παρελήφθησαν στο \'%s\'',
+  'create_alb' => 'Δημιουργία άλμπουμ \'%s\'',
+  'update_alb' => 'Ενημέρωση του άλμπουμ \'%s\' με τίτλο \'%s\' και ευρετήριο \'%s\'',
+  'del_pic' => 'Διαγραφή αρχείου',
+  'del_alb' => 'Διαγραφή άλμπουμ',
+  'del_user' => 'Διαγραφή χρήστη',
+  'err_unknown_user' => 'Ο επιλεγμένος χρήστης δεν υπάρχει !',
+  'err_empty_groups' => 'Δεν υπάρχει ο πίνακας της ομάδας, ή είναι άδειος!', //cpg1.4
+  'comment_deleted' => 'Το σχόλιο διεγράφει επιτυχώς',
+  'npic' => 'Φωτογραφία', //cpg1.4
+  'pic_mgr' => 'Διαχείριση φωτογραφιών', //cpg1.4
+  'update_pic' => 'Ενημέρωση της φωτογραφίας \'%s\' με όνομα αρχείου \'%s\' και ευρετήριο \'%s\'', //cpg1.4
+  'username' => 'Όνομα χρήστη', //cpg1.4
+  'anonymized_comments' => '%s σχόλιο/α ανώνυμοποιήθηκε', //cpg1.4
+  'anonymized_uploads' => '%s δημόσια/ες προσθήκη/ες ανωνυμοποιήθηκαν', //cpg1.4
+  'deleted_comments' => '%s σχόλιο/α διεγράφη/σαν', //cpg1.4
+  'deleted_uploads' => '%s δημόσια/ες προσθήκη/ες διεγράφη/σαν', //cpg1.4
+  'user_deleted' => 'χρήστης %s διεγράφει', //cpg1.4
+  'activate_user' => 'Ενεργοποίηση χρήστη', //cpg1.4
+  'user_already_active' => 'Ο λογαριασμός έχει ήδη ενεργοποιηθεί', //cpg1.4
+  'activated' => 'Ενεργοποιήθηκε', //cpg1.4
+  'deactivate_user' => 'Απενεργοποίηση χρήστη', //cpg1.4
+  'user_already_inactive' => 'Ο λογαριασμός είναι ήδη ανενεργός', //cpg1.4
+  'deactivated' => 'Απενεργοποιήθηκε', //cpg1.4
+  'reset_password' => 'Μηδενισμός κωδικού/ών', //cpg1.4
+  'password_reset' => 'Ο κωδικός μηδενίστηκε στο %s', //cpg1.4
+  'change_group' => 'Αλλαγή πρωτεύουσας ομάδας', //cpg1.4
+  'change_group_to_group' => 'Αλλαγή από %s σε %s', //cpg1.4
+  'add_group' => 'Πρόσθεση δευτερεύουσας ομάδας', //cpg1.4
+  'add_group_to_group' => 'Πρόσθεση χρήστη %s στην ομάδα %s. Είναι πλέον μέλος της ομάδας %s ως πρωτεύουσας και της %s ως δευτερεύουσας.', //cpg1.4
+  'status' => 'Κατάσταση', //cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File displayecard.php
+// ------------------------------------------------------------------------- //
+
+if (defined('DISPLAYECARD_PHP')) {
+
+$lang_displayecard_php = array(
+  'invalid_data' => 'Τα δεδομένα της ηλεκτρονικής κάρτας που προσπαθείτε να δείτε έχουν αλλοιωθεί από το πρόγραμμα ηλεκτρονικού ταχυδρομείου σας (email client). Σιγουρευτείτε πως ο σύνδεσμος είναι πλήρης.', //cpg1.4
+);
+}
+
+// ------------------------------------------------------------------------- //
+// File displayimage.php
+// ------------------------------------------------------------------------- //
+
+if (defined('DISPLAYIMAGE_PHP')){
+
+$lang_display_image_php = array(
+  'confirm_del' => 'Είστε σίγουρος/η πως θέλετε να ΔΙΑΓΡΑΨΕΤΕ αυτό το αρχείο ?\\nΤα σχόλια θα διαγραφούν επίσης.', //js-alert
+  'del_pic' => 'ΔΙΑΓΡΑΦΗ ΑΥΤΟΥ ΤΟΥ ΑΡΧΕΙΟΥ',
+  'size' => '%s x %s εικονοστοιχεία',
+  'views' => '%s φορές',
+  'slideshow' => 'Προβολή Διαφανειών',
+  'stop_slideshow' => 'ΤΕΛΟΣ ΠΡΟΒΟΛΗΣ ΔΙΑΦΑΝΕΙΩΝ',
+  'view_fs' => 'Κάντε κλικ για να δείτε την εικόνα σε πλήρες μέγεθος',
+  'edit_pic' => 'Επεξεργασία πληροφοριών αρχείου', //cpg1.4
+  'crop_pic' => 'Περικοπή και Περιστροφή',
+  'set_player' => 'Αλλαγή προγράμματος αναπαραγωγής',
+);
+
+$lang_picinfo = array(
+  'title' =>'Πληροφορίες αρχείου',
+  'Filename' => 'Όνομα αρχείου',
+  'Album name' => 'Όνομα άλμπουμ',
+  'Rating' => 'Βαθμολογία (%s ψήφοι)',
+  'Keywords' => 'Λέξεις Κλειδιά',
+  'File Size' => 'Μέγεθος Αρχείου',
+  'Date Added' => 'Ημερομηνία πρόσθεσης', //cpg1.4
+  'Dimensions' => 'Διαστάσεις',
+  'Displayed' => 'Εμφανίσεις',
+  'URL' => 'URL', //cpg1.4
+  'Make' => 'Χρονιάς', //cpg1.4
+  'Model' => 'Μοντέλο', //cpg1.4
+  'DateTime' => 'Ημερομηνία Ώρα', //cpg1.4
+  'ISOSpeedRatings'=>'ISO', //cpg1.4
+  'MaxApertureValue' => 'Ανώτατο Διάφραγμα', //cpg1.4
+  'FocalLength' => 'Εστιακή απόσταση', //cpg1.4
+  'Comment' => 'Σχόλιο',
+  'addFav'=>'Προσθήκη στα Αγαπημένα',
+  'addFavPhrase'=>'Αγαπημένα',
+  'remFav'=>'Διαγραφή από τα Αγαπημένα',
+  'iptcTitle'=>'IPTC Τίτλος',
+  'iptcCopyright'=>'IPTC Πνευματικά δικαιώματα',
+  'iptcKeywords'=>'IPTC Λέξεις-κλειδιά',
+  'iptcCategory'=>'IPTC Κατηγορία',
+  'iptcSubCategories'=>'IPTC Υποκατηγορίες',
+  'ColorSpace' => 'Χώρος Χρώματος', //cpg1.4
+  'ExposureProgram' => 'Πρόγραμμα Έκθεσης', //cpg1.4
+  'Flash' => 'Flash', //cpg1.4
+  'MeteringMode' => 'Λειτουργία Μέτρησης', //cpg1.4
+  'ExposureTime' => 'Χρόνος Έκθεσης', //cpg1.4
+  'ExposureBiasValue' => 'Έκθεση Bias', //cpg1.4
+  'ImageDescription' => 'Περιγραφή Εικόνας', //cpg1.4
+  'Orientation' => 'Προσανατολισμός', //cpg1.4
+  'xResolution' => 'X Ανάλυση', //cpg1.4
+  'yResolution' => 'Y Ανάλυση', //cpg1.4
+  'ResolutionUnit' => 'Μονάδα Ανάλυσης', //cpg1.4
+  'Software' => 'Λογισμικό', //cpg1.4
+  'YCbCrPositioning' => 'YCbCrPositioning', //cpg1.4
+  'ExifOffset' => 'Exif Offset', //cpg1.4
+  'IFD1Offset' => 'IFD1 Offset', //cpg1.4
+  'FNumber' => 'FNumber', //cpg1.4
+  'ExifVersion' => 'Έκδοση Exif', //cpg1.4
+  'DateTimeOriginal' => 'Αρχική Ημερομηνία', //cpg1.4
+  'DateTimedigitized' => 'Ψηφιακή Ημερομηνία', //cpg1.4
+  'ComponentsConfiguration' => 'Ρύθμιση Συστατικών', //cpg1.4
+  'CompressedBitsPerPixel' => 'Συμπιεσμένα Κομμάτια Ανά Εικονοστοιχείο', //cpg1.4
+  'LightSource' => 'Πηγή Φωτός', //cpg1.4
+  'ISOSetting' => 'Ρύθμιση ISO', //cpg1.4
+  'ColorMode' => 'Λειτουργία Χρώματος', //cpg1.4
+  'Quality' => 'Ποιότητα', //cpg1.4
+  'ImageSharpening' => 'Όξυνση Φωτογραφίας', //cpg1.4
+  'FocusMode' => 'Τρόπος Εστίασης', //cpg1.4
+  'FlashSetting' => 'Ρύθμιση Flash', //cpg1.4
+  'ISOSelection' => 'Επιλογή ISO', //cpg1.4
+  'ImageAdjustment' => 'Ρύθμιση Εικόνας', //cpg1.4
+  'Adapter' => 'Προσαρμοστής', //cpg1.4
+  'ManualFocusDistance' => 'Χειροκίνητη Απόσταση Εστίασης', //cpg1.4
+  'DigitalZoom' => 'Ψηφιακό Ζουμ', //cpg1.4
+  'AFFocusPosition' => 'AF Focus Position', //cpg1.4
+  'Saturation' => 'Κορεσμός', //cpg1.4
+  'NoiseReduction' => 'Μείωση Θορύβου', //cpg1.4
+  'FlashPixVersion' => 'Έκδοση Flash Pix', //cpg1.4
+  'ExifImageWidth' => 'Exif Πλάτος Εικόνας', //cpg1.4
+  'ExifImageHeight' => 'Exif Ύψος Εικόνας', //cpg1.4
+  'ExifInteroperabilityOffset' => 'Exif Interoperability Offset', //cpg1.4
+  'FileSource' => 'Πηγή Αρχείου', //cpg1.4
+  'SceneType' => 'Τύπος Σκηνής', //cpg1.4
+  'CustomerRender' => 'Customer Render', //cpg1.4
+  'ExposureMode' => 'Τρόπος Έκθεσης', //cpg1.4
+  'WhiteBalance' => 'Ισορροπία \'Ασπρου', //cpg1.4
+  'DigitalZoomRatio' => 'Αναλογία Ψηφιακού Ζουμ', //cpg1.4
+  'SceneCaptureMode' => 'Τρόπος Σύλληψης Σκηνής', //cpg1.4
+  'GainControl' => 'Έλεγχος Κέρδους', //cpg1.4
+  'Contrast' => 'Ευκρίνεια', //cpg1.4
+  'Sharpness' => 'Όξυνση', //cpg1.4
+  'ManageExifDisplay' => 'Διαχείριση Εμφάνισης Πληροφοριών Exif', //cpg1.4
+  'submit' => 'Υποβολή', //cpg1.4
+  'success' => 'Οι πληροφορίες ενημερώθηκαν επιτυχώς.', //cpg1.4
+  'details' => 'Λεπτομέρειες', //cpg1.4
+);
+
+$lang_display_comments = array(
+  'OK' => 'OK',
+  'edit_title' => 'Επεξεργασία σχολίου',
+  'confirm_delete' => 'Είστε σίγουροι πως θέλετε να διαγράψετε αυτό το σχόλιο ;', //js-alert
+  'add_your_comment' => 'Προσθέστε το σχόλιό σας',
+  'name'=>'Όνομα',
+  'comment'=>'Σχόλιο',
+// =====================
+  'your_name' => 'Ανωνυμος',
+// =====================
+  'report_comment_title' => 'Αναφορά αυτού του σχολίου στον διαχειριστή', //cpg1.4
+);
+
+$lang_fullsize_popup = array(
+  'click_to_close' => 'Κάντε κλικ στην εικόνα για να κλείσετε αυτό το παράθυρο',
+);
+
+}
+
+// ------------------------------------------------------------------------- //
+// File ecard.php
+// ------------------------------------------------------------------------- //
+
+if (defined('ECARDS_PHP') || defined('DISPLAYECARD_PHP')) $lang_ecard_php =array(
+  'title' => 'Στείλτε μια ηλεκτρονική κάρτα',
+  'invalid_email' => '<font color="red"><b>Προειδοποίηση</b></font>: άκυρη email διεύθυνση:', //cpg1.4
+  'ecard_title' => 'Μία ηλεκτρονική κάρτα από τον/την %s για εσάς',
+  'error_not_image' => 'Μόνο εικόνες μπορούν να σταλούν ως ηλεκτρονικές κάρτες.',
+  'view_ecard' => 'Εναλλακτικός σύνδεσμος στην περίπτωση που η ηλεκτρονική κάρτα δεν εμφανίζεται σωστά', //cpg1.4
+  'view_ecard_plaintext' => 'Για να δείτε αυτή την ηλεκτρονική κάρτα, αντιγράψτε και επικολλήστε αυτό το url στο πεδίο Διεύθυνση του πλοηγού ιστοσελίδων:', //cpg1.4
+  'view_more_pics' => 'Εμφάνιση περισσότερων φωτογραφιών !', //cpg1.4
+  'send_success' => 'Η ηλεκτρονική κάρτα σας έχει σταλεί',
+  'send_failed' => 'Λυπούμαστε αλλά ο διακομιστής δεν μπορεί να στείλει την ηλεκτρονική κάρτα σας...',
+  'from' => 'Από',
+  'your_name' => 'Το όνομά σας',
+  'your_email' => 'Η email διεύθυνσή σας',
+  'to' => 'Προς',
+  'rcpt_name' => 'Όνομα παραλήπτη',
+  'rcpt_email' => 'Διεύθυνση email παραλήπτη',
+  'greetings' => 'Επικεφαλίδα', //cpg1.4
+  'message' => 'Μύνημα', //cpg1.4
+  'ecards_footer' => 'Στάληκε από τον/την %s με IP διεύθυνση %s στις %s (ώρα της γκαλερί)', //cpg1.4
+  'preview' => 'Προεπισκόπηση της ηλεκτρονικής κάρτας', //cpg1.4
+  'preview_button' => 'Προεπισκόπηση', //cpg1.4
+  'submit_button' => 'Αποστολή ηλεκτρονικής κάρτας', //cpg1.4
+  'preview_view_ecard' => 'Αυτός θα είναι ο εναλλακτικός σύνδεσμος για την ηλεκτρονική κάρτα σας μόλις δημιουργηθεί. Δεν θα λειτουργήσει για προεπισκόπηση.', //cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File report_file.php //cpg1.4
+// ------------------------------------------------------------------------- //
+
+if (defined('REPORT_FILE_PHP') || defined('DISPLAYREPORT_PHP')) $lang_report_php =array(
+  'title' => 'Αναφορά σε διαχειριστή', //cpg1.4
+  'invalid_email' => '<b>Προειδοποίηση</b> : άκυρη email διεύθυνση !', //cpg1.4
+  'report_subject' => 'Μία αναφορά από τον/ην %s στην γκαλερί %s', //cpg1.4
+  'view_report' => 'Εναλλακτικός σύνδεσμος εάν η αναφορά δεν εμφανιστεί σωστά', //cpg1.4
+  'view_report_plaintext' => 'Για να δείτε την αναφορά, αντιγράψτε και επικολλήστε αυτό το url στο πεδίο Διεύθυνση του πλοηγού ιστοσελίδων:', //cpg1.4
+  'view_more_pics' => 'Γκαλερί', //cpg1.4
+  'send_success' => 'Η αναφορά σας έχει σταλεί', //cpg1.4
+  'send_failed' => 'Λυπούμαστε αλλά ο διακομιστής δεν μπόρεσε να στείλει την αναφορά σας...', //cpg1.4
+  'from' => 'Από', //cpg1.4
+  'your_name' => 'Το όνομά σας', //cpg1.4
+  'your_email' => 'Η email διεύθυνσή σας', //cpg1.4
+  'to' => 'Προς', //cpg1.4
+  'administrator' => 'Διαχειριστής/Συντονιστής', //cpg1.4
+  'subject' => 'Θέμα', //cpg1.4
+  'comment_field_name' => 'Αναφορά για Σχόλιο από "%s"', //cpg1.4
+  'reason' => 'Λόγος', //cpg1.4
+  'message' => 'Μύνημα', //cpg1.4
+  'report_footer' => 'Στάληκε από τον/ην %s με IP διεύθυνση %s στις %s (ώρα της γκαλερί)', //cpg1.4
+  'obscene' => 'άσεμνο', //cpg1.4
+  'offensive' => 'προσβλητικό', //cpg1.4
+  'misplaced' => 'εκτός θέματος/λάθος τοποθετημένο', //cpg1.4
+  'missing' => 'λείπει', //cpg1.4
+  'issue' => 'λάθος/δεν μπορεί να εμφανιστεί', //cpg1.4
+  'other' => 'άλλο', //cpg1.4
+  'refers_to' => 'Η αναφορά του αρχείου αναφέρεται στο', //cpg1.4
+  'reasons_list_heading' => 'λόγος/οι για την αναφορά:', //cpg1.4
+  'no_reason_given' => 'δεν δώθηκε λόγος', //cpg1.4
+  'go_comment' => 'Μετάβαση στο σχόλιο', //cpg1.4
+  'view_comment' => 'Εμφάνιση πλήρους αναφοράς με σχόλιο', //cpg1.4
+  'type_file' => 'αρχείο', //cpg1.4
+  'type_comment' => 'σχόλιο', //cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File editpics.php
+// ------------------------------------------------------------------------- //
+
+if (defined('EDITPICS_PHP')) $lang_editpics_php = array(
+  'pic_info' => 'Πληροφορίες αρχείου',
+  'album' => '\'Αλμπουμ',
+  'title' => 'Τίτλος',
+  'filename' => 'Όνομα αρχείου', //cpg1.4
+  'desc' => 'Περιγραφή',
+  'keywords' => 'Λέξεις-κλειδιά',
+  'new_keyword' => 'Νέα λέξη-κλειδί', //cpg1.4
+  'new_keywords' => 'Βρέθηκαν νέες λέξεις-κλειδιά', //cpg1.4
+  'existing_keyword' => 'Υπάρχουσα λέξη-κλειδί', //cpg1.4
+  'pic_info_str' => '%s &times; %s - %s KB - %s εμφανίσεις - %s ψήφοι',
+  'approve' => 'Έγκριση αρχείου',
+  'postpone_app' => 'Αναβολή έγκρισης',
+  'del_pic' => 'Διαγραφή αρχείου',
+  'del_all' => 'Διαγραφή ΟΛΩΝ των αρχείων', //cpg1.4
+  'read_exif' => 'Επανάγνωση πληροφοριών EXIF',
+  'reset_view_count' => 'Μηδενισμός μετρητή εμφανίσεων',
+  'reset_all_view_count' => 'Μηδενισμός ΟΛΩΝ των μετρητών εμφανίσεων', //cpg1.4
+  'reset_votes' => 'Μηδενισμός ψήφων',
+  'reset_all_votes' => 'Μηδενισμός ΟΛΩΝ των ψήφων', //cpg1.4
+  'del_comm' => 'Διαγραφή σχολίων',
+  'del_all_comm' => 'Διαγραφή ΟΛΩΝ των σχολίων', //cpg1.4
+  'upl_approval' => 'Έγκριση προσθήκης', //cpg1.4
+  'edit_pics' => 'Επεξεργασία αρχείων',
+  'see_next' => 'Εμφάνιση επόμενων αρχείων',
+  'see_prev' => 'Εμφάνιση προηγούμενων αρχείων',
+  'n_pic' => '%s αρχεία',
+  'n_of_pic_to_disp' => 'Αριθμός αρχείων προς εμφάνιση',
+  'apply' => 'Εφαρμογή τροποποιήσεων',
+  'crop_title' => 'Επεξεργαστής Φωτογραφιών του Coppermine',
+  'preview' => 'Προεπισκόπηση',
+  'save' => 'Αποθήκευση φωτογραφίας',
+  'save_thumb' =>'Αποθήκευση ως μικρογραφία',
+  'gallery_icon' => 'Να γίνει εικονίδιο της γκαλερί', //cpg1.4
+  'sel_on_img' =>'Η επιλογή πρέπει να είναι εξ ολοκλήρου στην εικόνα!', //js-alert
+  'album_properties' =>'Ιδιότητες του άλμπουμ', //cpg1.4
+  'parent_category' =>'Δημιουργός κατηγορίας', //cpg1.4
+  'thumbnail_view' =>'Εμφάνιση ως μικρογραφία', //cpg1.4
+  'select_unselect' =>'επιλογή/αποεπιλογή όλων', //cpg1.4
+  'file_exists' => "Το αρχείο προορισμού '%s' υπάρχει ήδη.", //cpg1.4
+  'rename_failed' => "Απέτυχε η μετονόμαση του '%s' σε '%s'.", //cpg1.4
+  'src_file_missing' => "Το πηγαίο αρχείο '%s' λείπει.", // cpg 1.4
+  'mime_conv' => "Δεν είναι δυνατή η μετατροπή του αρχείου από '%s' σε '%s'",//cpg1.4
+  'forb_ext' => 'Απαγορευμένη επέκταση αρχείου.', //cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File faq.php
+// ------------------------------------------------------------------------- //
+
+if (defined('FAQ_PHP')) $lang_faq_php = array(
+  'faq' => 'Συχνές Ερωτήσεις κι Απαντήσεις',
+  'toc' => 'Περιεχόμενα',
+  'question' => 'Ερώτηση: ',
+  'answer' => 'Απάντηση: ',
+);
+
+if (defined('FAQ_PHP')) $lang_faq_data = array(
+  'Γενικές Ερωτήσεις',
+  array('Γιατί πρέπει να εγγραφώ;', 'Η εγγραφή μπορεί να απαιτείται ή και όχι από τον διαχειριστή. Η εγγραφή προσφέρει στα μέλη επιπρόσθετα δικαιώματα όπως πρόσθεση αρχείων, δυνατότητα κατοχής λίστας αγαπημένων, βαθμολόγηση φωτογραφιών, πρόσθεση σχολίων κτλ.', 'allow_user_registration', '1'),
+  array('Πως εγγράφομαι;', 'Κάντε κλικ στην &quot;Εγγραφή&quot; και συμπληρώστε τα απαραίτητα πεδία (και τα προαιρετικά αν θέλετε).<br />Εάν ο Διαχειριστής έχει καθορίσει την Ενεργοποίηση με Email ως απαραίτητη, τότε μετά την υποβολή των πληροφοριών σας θα πρέπει να λάβετε ένα email στην διεύθυνση που υποβάλατε κατά την εγγραφή, δίνοντάς σας οδηγίες για το πως θα ενεργοποιήσετε τον λογαριασμό σας. Ο λογαριασμός σας πρέπει να ενεργοποιηθεί για να μπορέσετε να συνδεθείτε.', 'allow_user_registration', '1'), //cpg1.4
+  array('Πως συνδέομαι;', 'Κάντε κλικ στην &quot;Σύνδεση&quot;, συμπληρώστε το όνομα χρήστη σας και των κωδικό σας και τσεκάρετε το &quot;Αυτόματη αναγνώριση&quot; για να εξακολουθήσετε να είστε συνδεδεμένοι στην ιστοσελίδα ακόμη κι αν φύγετε.<br /><b>ΣΗΜΑΝΤΙΚΟ: Τα cookies πρέπει να είναι ενεργοποιημένα και το cookie από αυτή την ιστοσελίδα δεν πρέπει να διεγραφεί για να μπορέσετε να χρησιμοποιήσετε την &quot;Αυτόματη αναγνώριση&quot;.</b>', 'offline', 0),
+  array('Γιατί δεν μπορώ να συνδεθώ;', 'Εγγραφήκατε και κάνατε κλικ στον σύνδεσμο που σας στάληκε μέσω email; Ο σύνδεσμος θα ενεργοποιήσει τον λογαριασμό σας. Για άλλου είδους προβλήματα σύνδεσης επικοινωνήστε με τον διαχειριστή.', 'offline', 0),
+  array('Αν ξεχάσω τον κωδικό μου;', 'Εάν αυτή η σελίδα έχει σύνδεσμο &quot;Υπενθύμηση κωδικού&quot; χρησιμοποιήστε τον. Σε διαφορετική περίπτωση επικοινωνήστε με τον διαχειριστή για νέο κωδικό.', 'offline', 0),
+  //array('Αν ξεχάσω την email διεύθυνσή μου;', 'Απλά συνδεθείτε και αλλάξτε την email διεύθυνσή σας μέσω του &quot;Προφίλ&quot;', 'offline', 0),
+  array('Πως αποθηκεύω μια φωτογραφία στα &quot;Αγαπημένα Μου&quot;;', 'Κάντε κλικ στην φωτογραφία και μετά στον σύνδεσμο &quot;πληροφορίες φωτογραφίας&quot; (<img src="images/info.gif" width="16" height="16" border="0" alt="Πληροφορίες φωτογραφίας" />); κυλήστε προς τα κάτω στις πληροφορίες της φωτογραφίας και κάντε κλικ στο &quot;Πρόσθεση στα αγαπημένα&quot;.<br />Ο διαχειριστής μπορεί να έχει ενεργοποιημένες τις &quot;πληροφορίες φωτογραφίας&quot; εξ ορισμού.<br /><b>ΣΗΜΑΝΤΙΚΟ: Τα cookies πρέπει να είναι ενεργοποιημένα και το cookie από αυτή την ιστοσελίδα δεν πρέπει να διεγραφεί.</b>', 'offline', 0),
+  array('Πως βαθμολογώ ένα αρχείο;', 'Κάντε κλικ σε μία μικρογραφία και πηγαίνετε προς τα κάτω για να διαλέξετε μία από τις βαθμολογίες.', 'offline', 0),
+  array('Πως προσθέτω ένα σχόλιο για μια φωτογραφία;', 'Κάντε κλικ σε μία μικρογραφία και πηγαίνετε προς τα κάτω για να γράψετε το σχόλιό σας.', 'offline', 0),
+  array('Πως προσθέτω ένα αρχείο;', 'Πηγαίνετε στο &quot;Πρόσθεση&quot; και επιλέξτε το άλμπουμ στο οποίο θέλετε να προσθέσετε το αρχείο. Κάντε κλικ στο &quot;Browse,&quot; βρείτε το αρχείο που θέλετε να προσθέσετε, και κάντε κλικ στο &quot;άνοιγμα.&quot; Εάν θέλετε προσθέστε τίτλο και περιγραφή. Κάντε κλικ στο &quot;Υποβολή&quot;.<br /><br />Εναλλακτικά, για τους χρήστες των <b>Windows XP</b>, μπορείτε να προσθέσετε πολλά αρχεία απευθείας στο προσωπικό σας άλμπουμ χρησιμοποιώντας τον Βοηθό Δημοσίευσης των XP.<br />Για οδηγίες σχετικά με τον τρόπο, και για να λάβετε το απαραίτητο αρχείο εγγραφής, κάντε κλικ <a href="xp_publish.php">εδώ.</a>', 'allow_user_registration', 1), //cpg1.4
+  array('Που μπορώ να προσθέσω φωτογραφίες;', 'θα μπορείτε να προσθέσετε φωτογραφίες σε ένα από τα άλμπουμς σας στο &quot;Η Γκαλερί μου&quot;. Επίσης, οι Διαχειριστές μπορούν να σας επιτρέψουν να προσθέσετε ένα αρχείο σε ένα ή περισσότερα άλμπουμς της Κύριας Γκαλερί.', 'allow_private_albums', 0),
+  array('Ποιου τύπου και μεγέθους αρχεία μπορώ να προσθέσω;', 'Το μέγεθος και ο τύπος (jpg, png, κτλ.) εξαρτάται από τον διαχειριστή.', 'offline', 0),
+  array('Πως δημιουργώ, μετονομάζω ή διαγράφω ένα άλμπουμ στην &quot;Γκαλερί Μου&quot;;', 'θα πρέπει να είστε ήδη σε &quot;Λειτουργία Διαχειριστή&quot;<br />Πηγαίνετε στο &quot;Δημιουργία/Ταξινόμηση των \'Αλμπουμς Μου&quot; και κάντε κλικ στο &quot;Νέο&quot;. Αλλάξτε το &quot;Νέο Άλμπουμ&quot; στο όνομα που επιθυμείτε.<br />Μπορείτε επίσης να μετονομάσετε οποιοδήποτε από τα άλμπουμς σας στην γκαλερί σας.<br />Κάντε κλικ στο &quot;Εφαρμογή Τροποποιήσεων&quot;.', 'allow_private_albums', 0),
+  array('Πως μπορώ να τροποποιήω και να περιορίσω τους χρήστες από το να βλέπουν τα άλμπουμς μου;', 'θα πρέπει να είστε ήδη σε &quot;Λειτουργία Διαχειριστή&quot;<br />Πηγαίνετε στο &quot;Τροποποίηση των \'Αλμπουμς Μου. Στην μπάρα &quot;Ενημέρωση του \'Αλμπουμ&quot;, επιλέξτε το άλμπουμ που θέλετε να τροποποιήσετε.<br />Εδώ, μπορείτε να αλλάξετε το όνομα, περιγραφή, μικρογραφία, να θέσετε περιορισμούς στην εμφάνιση και τα σχόλια/βαθμολογία.<br />Κάντε κλικ στο &quot;Ενημέρωση \'Αλμπουμ&quot;.', 'allow_private_albums', 0),
+  array('Πως μπορώ να δω γκαλερί άλλων χρηστών;', 'Πηγαίνετε στην &quot;Λίστα των \'Αλμπουμς&quot; και επιλέξτε το &quot;Γκαλερί Χρηστών&quot;.', 'allow_private_albums', 0),
+  array('Τι είναι τα cookies;', 'Τα cookies με απλά λόγια είναι δεδομένα τα οποία αποστέλλονται από μια ιστοσελίδα και αποθηκεύονται στον Η/Υ σας.<br />Τα cookies συνήθως επιτρέπουν σε έναν χρήστη να φύγει και να επιστρέψει από μια ιστοσελίδα χωρίς να χρειάζεται να συνδεθεί ξανά και για διάφορες άλλες μικροδουλειές.', 'offline', 0),
+  array('Που μπορώ να βρω αυτό το πρόγραμμα για την ιστοσελίδα μου;', 'Το Coppermine είναι μία δωρεάν Γκαλερί Πολυμέσων, διανεμόμενη σύμφωνα με την GNU GPL (General Public Lisence-Γενική \'Αδεια Χρήσης). Είναι γεμάτη από χαρακτηριστικά και έχει κωδικοποιηθεί για διάφορες πλατφόρμες. Επισκευθείτε την <a href="http://coppermine-gallery.net/">Επίσημη Ιστοσελίδα του Coppermine</a> για περισσότερα ή για να το κατεβάσετε.', 'offline', 0),
+
+  'Πλοήγηση της Ιστοσελίδας',
+  array('Τι είναι η &quot;Λίστα των \'Αλμπουμς&quot;;', 'Αυτό θα σας δείξει ολόκληρη την κατηγορία στην οποία βρίσκεστε, με έναν σύνδεσμο για κάθε άλμπουμ. Εάν δεν βρίσκεστε σε κάποια κατηγορία, θα σας δείξει ολόκληρη την γκαλερί με έναν σύνδεσμο για κάθε κατηγορία. Οι μικρογραφίες μπορεί να είναι σύνδεσμοι κατηγοριών.', 'offline', 0),
+  array('Τι είναι η &quot;Γκαλερί Μου&quot;;', 'Αυτό το χαρακτηριστικό επιτρέπει στους χρήστες να δημιουργήσουν την δική τους γκαλερί και να προσθέτουν, διαγράφουν ή τροποποιούν άλμπουμς καθώς και να προσθέτουν σε αυτά.', 'allow_private_albums', 1), //cpg1.4
+  array('Τι είναι η &quot;Πρόσθεση Φωτογραφίας&quot;;', 'Αυτό το χαρακτηριστικό επιτρέπει σε έναν χρήστη να προσθέσει ένα αρχείο (το μέγεθος και ο τύπος καθορίζονται από τον διαχειριστή) σε μία γκαλερί επιλεγμένη είτε από τον ίδιο είτε από τον διαχειριστή.', 'allow_private_albums', 0),
+  array('Τι είναι οι &quot;Τελευταίες Προσθήκες&quot;;', 'Αυτό το χαρακτηριστικό εμφανίζει της τελευταίες προσθήκες στην ιστοσελίδα.', 'offline', 0),
+  array('Τι είναι τα &quot;Τελευταία Σχόλια&quot;;', 'Αυτό το χαρακτηριστικό τα τελευταία σχόλια μαζί με τα αρχεία που προστέθηκαν από τους χρήστες.', 'offline', 0),
+  array('Τι είναι τα &quot;Περισσότερο Εμφανισμένα&quot;;', 'Αυτό το χαρακτηριστικό εμφανίζει τα πιο εμφανισμένα αρχεία από όλους τους χρήστες (συνδεδεμένους ή όχι).', 'offline', 0),
+  array('Τι είναι τα &quot;Υψηλά Βαθμολογημένα&quot;;', 'Αυτό το χαρακτηριστικό εμφανίζει τα υψηλά βαθμολογημένα αρχεία βαθμολογημένα από τους χρήστες, δείχνοντας την μέση βαθμολογία (π.χ: εάν πέντε χρήστες δώσανε <img src="images/rating3.gif" width="65" height="14" border="0" alt="" />: το αρχείο θα έπρεπε να έχει μέση βαθμολογία <img src="images/rating3.gif" width="65" height="14" border="0" alt="" /> ;Εάν πέντε χρήστες βαθμολογούσαν το αρχείο από 1 έως 5 (1,2,3,4,5) θα είχε ως αποτέλεσμα με μέση βαθμολογία <img src="images/rating3.gif" width="65" height="14" border="0" alt="" /> .)<br />Η βαθμολογία ξεκινάει από <img src="images/rating5.gif" width="65" height="14" border="0" alt="best" /> (καλύτερο) μέχρι <img src="images/rating0.gif" width="65" height="14" border="0" alt="worst" /> (χειρότερο).', 'offline', 0),
+  array('Τι είναι τα &quot;Αγαπημένα Μου&quot;;', 'Αυτό το χαρακτηριστικό θα επιτρέψει σε έναν χρήστη να αποθηκεύσει ένα αγαπημένο αρχείο στο cookie που στάληκε στον Η/Υ του.', 'offline', 0),
+);
+
+
+// ------------------------------------------------------------------------- //
+// File forgot_passwd.php
+// ------------------------------------------------------------------------- //
+
+if (defined('FORGOT_PASSWD_PHP')) $lang_forgot_passwd_php = array(
+  'forgot_passwd' => 'Υπενθύμιση κωδικού',
+  'err_already_logged_in' => 'Είστε ήδη συνδεδεμένος/η !',
+  'enter_email' => 'Καταχωρήστε την email διεύθυνσή σας', //cpg1.4
+  'submit' => 'πάμε',
+  'illegal_session' => 'Η διαδικασία υπενθύμισης κωδικού είναι άκυρη ή έχει λήξει.', //cpg1.4
+  'failed_sending_email' => 'Το email υπενθύμισης κωδικού δεν μπορεί να σταλεί !',
+  'email_sent' => 'Ένα email με το όνομα χρήστη σας και τον νέο σας κωδικό έχει σταλεί στο %s', //cpg1.4
+  'verify_email_sent' => 'Ένα email έχει σταλεί στο %s. Παρακαλώ ελέγξτε το email σας για να ολοκληρωθεί η διαδικασία.', //cpg1.4
+  'err_unk_user' => 'Ο επιλεγμένος χρήστης δεν υπάρχει!',
+  'account_verify_subject' => '%s - Αίτηση νέου κωδικού', //cpg1.4
+  'account_verify_body' => 'Έχετε ζητήσει νέο κωδικό. Εάν θέλετε να συνεχίσετε και να σας αποσταλεί νέος κωδικός, κάντε κλικ στον ακόλουθο σύνδεσμο:
+
+%s', //cpg1.4
+  'passwd_reset_subject' => '%s - Ο Νέος σας Κωδικός', //cpg1.4
+  'passwd_reset_body' => 'Αυτός είναι ο νέος κωδικός που ζητήσατε:
+Όνομα Χρήστη: %s
+Κωδικός: %s
+Κάντε κλικ στο %s για να συνδεθείτε.', //cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File groupmgr.php
+// ------------------------------------------------------------------------- //
+
+if (defined('GROUPMGR_PHP')) $lang_groupmgr_php = array(
+  'group_name' => 'Όνομα Ομάδας', //cpg1.4
+  'permissions' => '\'Αδειες', //cpg1.4
+  'public_albums' => 'Προσθήκη δημόσιων άλμπουμς', //cpg1.4
+  'personal_gallery' => 'Προσωπική γκαλερί', //cpg1.4
+  'upload_method' => 'Μέθοδος προσθήκης', //cpg1.4
+  'disk_quota' => 'Ποσόστωση χώρου', //cpg1.4
+  'rating' => 'Βαθμολόγηση', //cpg1.4
+  'ecards' => 'Ηλεκτρονικές Κάρτες', //cpg1.4
+  'comments' => 'Σχόλια', //cpg1.4
+  'allowed' => 'Επιτρεπόμενα', //cpg1.4
+  'approval' => 'Έγκριση', //cpg1.4
+  'boxes_number' => 'Αρ. πεδίων', //cpg1.4
+  'variable' => 'μεταβλητή', //cpg1.4
+  'fixed' => 'σταθερό', //cpg1.4
+  'apply' => 'Εφαμογή τροποποιήσεων',
+  'create_new_group' => 'Δημιουργία νέας ομάδας',
+  'del_groups' => 'Διαγραφή επιλεγμένης/ων ομάδας/ων',
+  'confirm_del' => 'Προσοχή, όταν διαγράψετε μια ομάδα, οι χρήστες που ανήκουν σε αυτή θα μεταφερθούν στην ομάδα των \'Εγγεγραμένων\' !\n\nΘέλετε να συνεχίσετε ;', //js-alert
+  'title' => 'Διαχείριση ομάδων χρηστών',
+  'num_file_upload' => 'Πεδία πρόσθεσης αρχείων', //cpg1.4
+  'num_URI_upload' => 'URI πεδία πρόσθεσης', //cpg1.4
+  'reset_to_default' => 'Μηδενισμός στο προκαθορισμένο όνομα (%s) - συστήνεται!', //cpg1.4
+  'error_group_empty' => 'Ο πίνακας της ομάδας ήταν κενός !<br /><br />Δημιουργήθηκαν οι προκαθορισμένες ομάδες, παρακαλώ ξαναφορτώστε αυτή τη σελίδα', //cpg1.4
+  'explain_greyed_out_title' => 'Γιατί αυτή η γραμμή είναι γκρίζα;', //cpg1.4
+  'explain_guests_greyed_out_text' => 'Δεν μπορείτε να αλλάξετε τις ιδιότητες αυτής της ομάδας επειδή έχετε καθορίσει την επιλογή &quot; Να επιτρέπεται η πρόσβαση σε μη-αυθεντικοποιημένους (επισκέπτες ή ανώνυμους) χρήστες&quot; σε &quot;Όχι&quot; στην σελίδα ρυθμίσεων. Όλοι οι επισκέπτες (μέλη της ομάδας %s) δεν μπορούν να κάνουν τίποτε άλλο εκτός από σύνδεση; γι\' αυτό και οι ρυθμίσεις των ομάδων δεν τους επηρρεάζουν.', //cpg1.4
+  'explain_banned_greyed_out_text' => 'Δεν μπορείτε να αλλάξετε τις ιδιότητες της ομάδας %s επειδή τα μέλη της δεν μπορούν να κάνουν τίποτε έτσι κι αλλιώς.', //cpg1.4
+  'group_assigned_album' => 'ανατιθέμενο/α άλμπουμ/ς', //cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File index.php
+// ------------------------------------------------------------------------- //
+
+if (defined('INDEX_PHP')){
+
+$lang_index_php = array(
+  'welcome' => 'Καλωσήρθατε !',
+);
+
+$lang_album_admin_menu = array(
+  'confirm_delete' => 'Είστε σίγουρος/η πως θέλετε να ΔΙΑΓΡΑΨΕΤΕ αυτό το άλμπουμ ; \\nΌλα τα αρχεία και τα σχόλια θα διαγραφούν επίσης.', //js-alert
+  'delete' => 'ΔΙΑΓΡΑΦΗ',
+  'modify' => 'ΙΔΙΟΤΗΤΕΣ',
+  'edit_pics' => 'ΕΠΕΞΕΡΓΑΣΙΑ ΑΡΧΕΙΩΝ',
+);
+
+$lang_list_categories = array(
+  'home' => 'Αρχική',
+  'stat1' => '<b>[pictures]</b> αρχεία σε <b>[albums]</b> άλμπουμς και <b>[cat]</b> κατηγορίες με <b>[comments]</b> σχόλια, εμφανισμένα <b>[views]</b> φορές',
+  'stat2' => '<b>[pictures]</b> αρχεία σε <b>[albums]</b> άλμπουμς, εμφανισμένα <b>[views]</b> φορές',
+  'xx_s_gallery' => '%s\'s Γκαλερί',
+  'stat3' => '<b>[pictures]</b> αρχεία σε <b>[albums]</b> άλμπουμς με <b>[comments]</b> σχόλια, εμφανισμένα <b>[views]</b> φορές',
+);
+
+$lang_list_users = array(
+  'user_list' => 'Λίστα Χρηστών',
+  'no_user_gal' => 'Δεν υπάρχουν γκαλερί χρηστών',
+  'n_albums' => '%s άλμπουμ(ς)',
+  'n_pics' => '%s αρχεία',
+);
+
+$lang_list_albums = array(
+  'n_pictures' => '%s αρχεία',
+  'last_added' => ', το τελευταίο προστέθηκε στις %s',
+  'n_link_pictures' => '%s συνδεδεμένα αρχεία', //cpg1.4
+  'total_pictures' => '%s αρχεία συνολικά', //cpg1.4
+);
+
+}
+
+// ------------------------------------------------------------------------- //
+// File keywordmgr.php //cpg1.4
+// ------------------------------------------------------------------------- //
+
+if (defined('KEYWORDMGR_PHP')) $lang_keywordmgr_php = array(
+  'title' => 'Διαχείριση λέξεων-κλειδιών', //cpg1.4
+  'edit' => 'επεξεργασία', //cpg1.4
+  'delete' => 'διαγραφή', //cpg1.4
+  'search' => 'αναζήτηση', //cpg1.4
+  'keyword_test_search' => 'αναζήτηση για %s σε νέο παράθυρο', //cpg1.4
+  'keyword_del' => 'διαγραφή της λέξης-κλειδί %s', //cpg1.4
+  'confirm_delete' => 'Είστε σιγουρος/η πως θέλετε να διαγράψετε την λέξη-κλειδί %s από ολόκληρη την γκαλερί;', //cpg1.4  // js-alert
+  'change_keyword' => 'αλλαγή λέξης-κλεδί', //cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File login.php
+// ------------------------------------------------------------------------- //
+
+if (defined('LOGIN_PHP')) $lang_login_php = array(
+  'login' => 'Σύνδεση',
+  'enter_login_pswd' => 'Γράψτε το όνομα χρήστη και τον κωδικό σας για να συνδεθείτε',
+  'username' => 'Όνομα χρήστη',
+  'password' => 'Κωδικός',
+  'remember_me' => 'Αυτόματη αναγνώριση',
+  'welcome' => 'Καλωσήλθατε %s ...',
+  'err_login' => '*** Δεν ήταν δυνατή η σύνδεση. Προσπαθήστε πάλι ***',
+  'err_already_logged_in' => 'Είστε ήδη συνδεδεμένος/η !',
+  'forgot_password_link' => 'Ξέχασα τον κωδικό μου',
+  'cookie_warning' => 'Προσοχή, ο πλοηγός ιστοσελίδων σας δεν δέχεται script cookies', //cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File logout.php
+// ------------------------------------------------------------------------- //
+
+if (defined('LOGOUT_PHP')) $lang_logout_php = array(
+  'logout' => 'Αποσύνδεση',
+  'bye' => 'Αντίο %s ...',
+  'err_not_loged_in' => 'Δεν είστε συνδεδεμένος/η !',
+);
+
+// ------------------------------------------------------------------------- //
+// File minibrowser.php  //cpg1.4
+// ------------------------------------------------------------------------- //
+
+if (defined('MINIBROWSER_PHP')) $lang_minibrowser_php = array(
+  'close' => 'κλείσιμο', //cpg1.4
+  'submit' => 'OK', //cpg1.4
+  'up' => 'επάνω ένα επίπεδο', //cpg1.4
+  'current_path' => 'παρούσα διαδρομή', //cpg1.4
+  'select_directory' => 'παρακαλώ επιλέξτε έναν φάκελλο', //cpg1.4
+  'click_to_close' => 'Κάντε κλικ στην εικόνα παρακάτω για να κλείσετε αυτό το παράθυρο',
+);
+
+// ------------------------------------------------------------------------- //
+// File modifyalb.php
+// ------------------------------------------------------------------------- //
+
+if (defined('MODIFYALB_PHP')) $lang_modifyalb_php = array(
+  'upd_alb_n' => 'Ενημέρωση του άλμπουμ %s',
+  'general_settings' => 'Γενικές ρυθμίσεις',
+  'alb_title' => 'Τίτλος άλμπουμ',
+  'alb_cat' => 'Κατηγορία άλμπουμ',
+  'alb_desc' => 'Περιγραφή άλμπουμ',
+  'alb_keyword' => 'Λέξεις-κλειδιά άλμπουμ', //cpg1.4
+  'alb_thumb' => 'Μικρογραφία του άλμπουμ',
+  'alb_perm' => '\'Αδειες για αυτό το άλμπουμ',
+  'can_view' => 'Το άλμπουμ μπορεί να εμφανιστεί από',
+  'can_upload' => 'Οι επισκέπτες μπορούν να προσθέσουν αρχεία',
+  'can_post_comments' => 'Οι επισκέπτες μπορούν να προσθέσουν σχόλια',
+  'can_rate' => 'Οι επισκέπτες μπορούν να βαθμολογήσουν αρχεία',
+  'user_gal' => 'Γκαλερί Χρηστών',
+  'no_cat' => '* Χωρίς Κατηγορία *',
+  'alb_empty' => 'Το άλμπουμ είναι άδειο',
+  'last_uploaded' => 'Τελευταία προσθήκη',
+  'public_alb' => 'Όλοι (δημόσιο άλμπουμ)',
+  'me_only' => 'Μόνο εγώ',
+  'owner_only' => 'Ιδιοκτήτης άλμπουμ (%s) μόνο',
+  'groupp_only' => 'Μέλη της ομάδας \'%s\'',
+  'err_no_alb_to_modify' => 'Δεν μπορείτε να τροποποιήσετε κανένα άλμπουμ στην βάση δεδομένων.',
+  'update' => 'Ενημέρωση άλμπουμ',
+  'reset_album' => 'Μηδενισμός άλμπουμ', //cpg1.4
+  'reset_views' => 'Μηδενισμός εμφανίσεων μετρητή σε &quot;0&quot; σε %s', //cpg1.4
+  'reset_rating' => 'Μηδενισμός βαθμολογίας όλων των αρχείων σε %s', //cpg1.4
+  'delete_comments' => 'Διαγραφή όλων των σχολίων του %s', //cpg1.4
+  'delete_files' => '%sΜη αντριστρέψιμη%s διαγραφή όλων των αρχείων στο %s', //cpg1.4
+  'views' => 'εμφανίσεις', //cpg1.4
+  'votes' => 'ψήφοι', //cpg1.4
+  'comments' => 'σχόλια', //cpg1.4
+  'files' => 'αρχεία', //cpg1.4
+  'submit_reset' => 'υποβολή αλλαγών', //cpg1.4
+  'reset_views_confirm' => 'Είμαι σίγουρος/η', //cpg1.4
+  'notice1' => '(*) αναλόγως των %sgroups%s ρυθμίσεων',  //cpg1.4 //(do not translate %s!)
+  'alb_password' => 'Κωδικός του άλμπουμ', //cpg1.4
+  'alb_password_hint' => 'Υπαινιγμός κωδικού του άλμπουμ', //cpg1.4
+  'edit_files' =>'Επεξεργασία αρχείων', //cpg1.4
+  'parent_category' =>'Δημιουργός κατηγορία', //cpg1.4
+  'thumbnail_view' =>'Εμφάνιση μικρογραφιών', //cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File phpinfo.php
+// ------------------------------------------------------------------------- //
+
+if (defined('PHPINFO_PHP')) $lang_phpinfo_php = array(
+  'php_info' => 'Πληροφορίες PHP',
+  'explanation' => 'Αυτά είναι πληροφορίες που δημιουργούνται από την PHP-λειτουργία <a href="http://www.php.net/phpinfo">phpinfo()</a>, εμφανίζονται στο Coppermine (στην δεξιά γωνία).',
+  'no_link' => 'Το να επιτρέπετε σε άλλους να βλέπουν τις πληροφορίες του phpinfo μπορεί να είναι ρίσκο ασφαλείας, και γι\' αυτό η σελίδα αυτή είναι ορατή μόνο όταν είστε συνδεδεμένος ως διαχειριστής. Δεν μπορείτε να δώσετε σύνδεσμο αυτής της σελίδας σε άλλους, δεν θα τους επιτραπεί η πρόσβαση.',
+);
+
+// ------------------------------------------------------------------------- //
+// File picmgr.php //cpg1.4
+// ------------------------------------------------------------------------- //
+if (defined('PICMGR_PHP')) $lang_picmgr_php = array(
+  'pic_mgr' => 'Διαχειριστής Φωτογραφιών', //cpg1.4
+  'select_album' => 'Επιλέξτε \'Αλμπουμ', //cpg1.4
+  'delete' => 'Διαγραφή', //cpg1.4
+  'confirm_delete1' => 'Είστε σίγουρος/η πως θέλετε να διαγράψετε αυτή τη φωτογραφία ;', //cpg1.4
+  'confirm_delete2' => '\nΗ φωτογραφία θα διεγραφεί μόνιμα.', //cpg1.4
+  'apply_modifs' => 'Εφαρμογή τροποποιήσεων', //cpg1.4
+  'confirm_modifs' => 'Επιβεβαίωση τροποποιήσεων', //cpg1.4
+  'pic_need_name' => 'Η φωτογραφία πρέπει να έχει ένα όνομα !', //cpg1.4
+  'no_change' => 'Δεν κάνατε αλλαγές !', //cpg1.4
+  'no_album' => '* Χωρίς άλμπουμ *', //cpg1.4
+  'explanation_header' => 'Η διαμορφοποιημένη ταξινόμηση που μπορείτε να καθορίσετε σε αυτή τη σελίδα θα ληφθεί υπόψιν εάν', //cpg1.4
+  'explanation1' => 'ο διαχειριστής έχει καθορίσει την "Προκαθορισμένη ταξινόμηση για αρχεία" στις ρυθμίσεις σε "Ανοδικά κατά θέση" ή "Καθοδικά κατά θέση" (καθολική ρύθμιση για όλους τους χρήστες που δεν έχουν διαλέξει ένα άλλο είδος ταξινόμησης ξεχωριστά)', //cpg1.4
+  'explanation2' => 'ο χρήστης έχει διαλέξει "Ανοδικά κατά θέση" ή "Καθοδικά κατά θέση" στην σελίδα με τις μικρογραφίες (ρύθμιση ανά χρήστη)', //cpg1.4
+);
+
+
+// ------------------------------------------------------------------------- //
+// File pluginmgr.php //cpg1.4
+// ------------------------------------------------------------------------- //
+
+if (defined('PLUGINMGR_PHP')){
+
+$lang_pluginmgr_php = array(
+  'confirm_uninstall' => 'Είστε σίγουρος/η πως θέλετε να ΑΠΕΓΚΑΤΑΣΤΗΣΕΤΕ αυτό το βοήθημα;', //cpg1.4
+  'confirm_delete' => 'Είστε σίγουρος/η πως θέλετε να ΔΙΑΓΡΑΨΕΤΕ αυτό το βοήθημα', //cpg1.4
+  'pmgr' => 'Διαχειριστής Βοηθημάτων', //cpg1.4
+  'name' => 'Όνομα', //cpg1.4
+  'author' => 'Συγγραφέας', //cpg1.4
+  'desc' => 'Περιγραφή', //cpg1.4
+  'vers' => 'v', //cpg1.4
+  'i_plugins' => 'Εγκατεστημένα Βοηθήματα', //cpg1.4
+  'n_plugins' => 'Μη Εγκατεστημένα Βοηθήματα', //cpg1.4
+  'none_installed' => 'Κανένα Εγκατεστημένο', //cpg1.4
+  'operation' => 'Λειτουργία', //cpg1.4
+  'not_plugin_package' => 'Το αρχείο που προσθέσατε δεν είναι πακέτο βοηθήματος.', //cpg1.4
+  'copy_error' => 'Παρουσιάστηκε σφάλμα κατά την αντιγραφή του πακέτου στον φάκελλο βοηθημάτων.', //cpg1.4
+  'upload' => 'Πρόσθεση', //cpg1.4
+  'configure_plugin' => 'Ρυθμίσεις βοηθήματος', //cpg1.4
+  'cleanup_plugin' => 'Καθαρισμός βοηθήματος', //cpg1.4
+);
+}
+
+// ------------------------------------------------------------------------- //
+// File ratepic.php
+// ------------------------------------------------------------------------- //
+
+if (defined('RATEPIC_PHP')) $lang_rate_pic_php = array(
+  'already_rated' => 'Συγνώμη αλλά έχετε ήδη βαθμολογήσει αυτό το αρχείο',
+  'rate_ok' => 'Η ψήφος σας έγινε δεκτή',
+  'forbidden' => 'Δεν μπορείτε να βαθμολογήσετε τα δικά σας αρχεία.',
+);
+
+// ------------------------------------------------------------------------- //
+// File register.php & profile.php
+// ------------------------------------------------------------------------- //
+
+if (defined('REGISTER_PHP') || defined('PROFILE_PHP')) {
+
+$lang_register_disclamer = <<<EOT
+Ενώ οι διαχειριστές του {SITE_NAME} θα προσπαθήσουν να αφαιρέσουν ή να τροποποιήσουν οποιοδήποτε γενικά απαράδεκτο υλικό όσο το δυνατόν γρηγορότερα, είναι αδύνατη η αναθεώρηση κάθε δημοσίευσης.<br />
+<br />
+Συμφωνείτε να μην δημοσιεύσετε καταχρηστικό, άσεμνο, χυδαίο, δυσφημιστικό, μισητό, απειλητικό, σεξουαλικό ή οποιοδήποτε άλλο υλικό που θα μπορούσε να παραβιάσει οποιονδήποτε ισχύοντα νόμο.<br />
+<br />
+Αυτή η ιστοσελίδα χρησιμοποιεί cookies για να αποθηκεύσει πληροφορίες τοπικά στον Η/Υ σας. Αυτά τα cookies εξυπηρετούν μόνο στην βελτίωση της δικής σας ευχάριστης πλοήγησης. Η email διεύθυνσή σας χρησιμοποιείται μόνο για την επιβεβαίωση των λεπτομερειών εγγραφής και κωδικού σας.<br />
+<br />
+Κάνοντας κλικ στο 'Συμφωνώ' παρακάτω αποδέχεστε αυτούς τους όρους.
+EOT;
+
+$lang_register_php = array(
+  'page_title' => 'Εγγραφή χρήστη',
+  'term_cond' => 'Όροι και διατάξεις',
+  'i_agree' => 'Συμφωνώ',
+  'submit' => 'Υποβολή εγγραφής',
+  'err_user_exists' => 'Το όνομα χρήστη που έχετε εισάγει υπάρχει ήδη, παρακαλώ διαλέξτε κάποιο άλλο',
+  'err_password_mismatch' => 'Οι δύο κωδικοί δεν είναι ίδιοι, παρακαλώ εισάγετέ τους ξανά',
+  'err_uname_short' => 'Το όνομα χρήστη πρέπει να είναι τουλάχιστον 2 χαρακτήρες',
+  'err_password_short' => 'Ο κωδικός πρέπει να είναι τουλάχιστον 2 χαρακτήρες',
+  'err_uname_pass_diff' => 'Το όνομα χρήστη και ο κωδικός πρέπει να είναι διαφορετικά',
+  'err_invalid_email' => 'Η email διεύθυνση δεν είναι έγκυρη',
+  'err_duplicate_email' => 'Κάποιος άλλος χρήστης έχει εγγραφεί με την email διεύθυνση που έχετε εισάγει',
+  'enter_info' => 'Καταχώρηση πληροφοριών εγγραφής',
+  'required_info' => 'Απαραίτητες πληροφορίες',
+  'optional_info' => 'Προαιρετικές πληροφορίες',
+  'username' => 'Όνομα χρήστη',
+  'password' => 'Κωδικός',
+  'password_again' => 'Εισάγετε ξανά τον κωδικό σας',
+  'email' => 'Email',
+  'location' => 'Τοποθεσία',
+  'interests' => 'Ενδιαφέροντα',
+  'website' => 'Προσωπική Ιστοσελίδα',
+  'occupation' => 'Επάγγελμα',
+  'error' => 'ΛΑΘΟΣ',
+  'confirm_email_subject' => '%s - Επιβεβαίωση εγγραφής',
+  'information' => 'Πληροφορίες',
+  'failed_sending_email' => 'Το email για την επιβεβαίωση εγγραφής δεν μπορεί να σταλεί !',
+  'thank_you' => 'Σας ευχαριστούμε για την εγγραφή σας.<br /><br />Ένα email με πληροφορίες για τον τρόπο ενεργοποίησης του λογαριασμού σας έχει σταλεί στην email διεύθυνση που δώσατε.',
+  'acct_created' => 'Ο λογαριασμός σας έχει δημιουργηθεί και μπορείτε να συνδεθείτε με το όνομα χρήστη και τον κωδικό σας',
+  'acct_active' => 'Ο λογαριασμός σας είναι τώρα ενεργός και μπορείτε να συνδεθείτε με το όνομα χρήστη και τον κωδικό σας',
+  'acct_already_act' => 'Ο λογαριασμός είναι ήδη ενεργός!', //cpg1.4
+  'acct_act_failed' => 'Αυτός ο λογαριασμός δεν μπορεί να ενεργοποιηθεί !',
+  'err_unk_user' => 'Ο επιλεγμένος χρήστης δεν υπάρχει !',
+  'x_s_profile' => '%s\'ς προφίλ',
+  'group' => 'Ομάδα',
+  'reg_date' => 'Προσήλθε',
+  'disk_usage' => 'Χρήση χώρου',
+  'change_pass' => 'Αλλαγή κωδικού',
+  'current_pass' => 'Ισχύων κωδικός',
+  'new_pass' => 'Νέος κωδικός',
+  'new_pass_again' => 'Επανάληψη νέου κωδικού',
+  'err_curr_pass' => 'Ο ισχύων κωδικός είναι λανθασμένος',
+  'apply_modif' => 'Εφαρμογή τροποποιήσεων',
+  'change_pass' => 'Αλλαγή του κωδικού μου',
+  'update_success' => 'Το προφίλ σας έχει ενημερωθεί',
+  'pass_chg_success' => 'Ο κωδικός σας άλλαξε',
+  'pass_chg_error' => 'Ο κωδικός σας δεν άλλαξε',
+  'notify_admin_email_subject' => '%s - Ενημέρωσης νέας εγγραφής',
+  'last_uploads' => 'Τελευταία προστιθέμενο αρχείο.<br />Κάντε κλικ για να δείτε όλες τις προσθέσεις του/ης', //cpg1.4
+  'last_comments' => 'Τελευταίο σχόλιο.<br />Κάντε κλικ για να δείτε όλα τα σχόλια του/ης', //cpg1.4
+  'notify_admin_email_body' => 'Ένα νέο μέλος με όνομα χρήστη "%s" έχει εγγραφεί στην γκαλερί σας',
+  'pic_count' => 'Προστιθέμενα αρχεία', //cpg1.4
+  'notify_admin_request_email_subject' => '%s - Αίτηση εγγραφής', //cpg1.4
+  'thank_you_admin_activation' => 'Σας ευχαριστούμε.<br /><br />Η αίτησή σας για ενεργοποίηση λογαριασμού έχει σταλεί στον διαχειριστή. Σε περίπτωση έγκρισης θα ειδοποιηθείτε μέσω email.', //cpg1.4
+  'acct_active_admin_activation' => 'Ο λογαριασμός είναι τώρα ενεργός και ένα email έχει σταλεί στον χρήστη.', //cpg1.4
+  'notify_user_email_subject' => '%s - Ενημέρωση ενεργοποίησης', //cpg1.4
+);
+
+$lang_register_confirm_email = <<<EOT
+Σας ευχαριστούμε για την εγγραφή σας στο {SITE_NAME}
+
+Για να ενεργοποιήσετε τον λογαριασμό σας με όνομα χρήστη "{USER_NAME}", πρέπει να κάνετε κλικ στον παρακάτω σύνδεσμο ή να τον αντιγράψετε και να τον επικολλήσετε στον πλοηγό ιστοσελίδων σας.
+
+<a href="{ACT_LINK}">{ACT_LINK}</a>
+
+Φιλικά,
+
+Η διαχείριση του {SITE_NAME}
+
+EOT;
+
+$lang_register_approve_email = <<<EOT
+Ένα νέο μέλος με όνομα χρήστη "{USER_NAME}" έχει εγγραφεί στην γκαλερί σας.
+
+Για να ενεργοποιήσετε τον λογαριασμό, πρέπει να κάνετε κλικ στον παρακάτω σύνδεσμο ή να τον αντιγράψετε και να τον επικολλήσετε στον πλοηγό ιστοσελίδων σας.
+
+<a href="{ACT_LINK}">{ACT_LINK}</a>
+
+EOT;
+
+$lang_register_activated_email = <<<EOT
+Ο λογαριασμός σας έχει εγκριθεί και ενεργοποιηθεί.
+
+Μπορείτε τώρα να συνδεθείτε στο <a href="{SITE_LINK}">{SITE_LINK}</a> με όνομα χρήστη "{USER_NAME}"
+
+
+Φιλικά,
+
+Η διαχείριση του {SITE_NAME}
+
+EOT;
+}
+
+// ------------------------------------------------------------------------- //
+// File reviewcom.php
+// ------------------------------------------------------------------------- //
+
+if (defined('REVIEWCOM_PHP')) $lang_reviewcom_php = array(
+  'title' => 'Επισκόπηση σχολίων',
+  'no_comment' => 'Δεν υπάρχουν σχόλια για επισκόπηση',
+  'n_comm_del' => '%s σχόλιο/α διαγράφηκε/αν',
+  'n_comm_disp' => 'Αριθμός σχολίων προς εμφάνιση',
+  'see_prev' => 'Εμφάνιση προηγούμενου',
+  'see_next' => 'Εμφάνιση επόμενου',
+  'del_comm' => 'Διαγραφή επιλεγμένων σχολίων',
+  'user_name' => 'Όνομα', //cpg1.4
+  'date' => 'Ημερομηνία', //cpg1.4
+  'comment' => 'Σχόλιο', //cpg1.4
+  'file' => 'Αρχείο', //cpg1.4
+  'name_a' => 'Ανοδικά κατά όνομα χρήστη', //cpg1.4
+  'name_d' => 'Καθοδικά κατά όνομα χρήστη', //cpg1.4
+  'date_a' => 'Ανοδικά κατά ημερομηνία', //cpg1.4
+  'date_d' => 'Καθοδικά κατά ημερομηνία', //cpg1.4
+  'comment_a' => 'Ανοδικά κατά σχόλιο', //cpg1.4
+  'comment_d' => 'Καθοδικά κατά σχόλιο', //cpg1.4
+  'file_a' => 'Ανοδικά κατά αρχείο', //cpg1.4
+  'file_d' => 'Καθοδικά κατά αρχείο', //cpg1.4
+);
+
+
+// ------------------------------------------------------------------------- //
+// File search.php                                                           //
+// ------------------------------------------------------------------------- //
+
+
+if (defined('SEARCH_PHP')){
+
+$lang_search_php = array(
+  'title' => 'Αναζήτηση στη συλλογή αρχείων', //cpg1.4
+  'submit_search' => 'αναζήτηση', //cpg1.4
+  'keyword_list_title' => 'Λίστα λέξεων-κλειδιών', //cpg1.4
+  'keyword_msg' => 'Η παραπάνω λίστα δεν είναι πλήρης. Δεν συμπεριλαμβάνει λέξεις από τίτλους ή περιγραφές φωτογραφιών. Προσπαθήστε να κάνετε αναζήτηση πλήρους κειμένου.',  //cpg1.4
+  'edit_keywords' => 'Επεξεργασία λέξεων-κλειδιών', //cpg1.4
+  'search in' => 'Αναζήτηση στο:', //cpg1.4
+  'ip_address' => 'IP διεύθυνση', //cpg1.4
+  'fields' => 'Αναζήτηση στο', //cpg1.4
+  'age' => 'Ηλικία', //cpg1.4
+  'newer_than' => 'Νεώτερο από', //cpg1.4
+  'older_than' => 'Παλιότερο από', //cpg1.4
+  'days' => 'ημέρες', //cpg1.4
+  'all_words' => 'Ταίριασμα με όλες τις λέξεις (ΚΑΙ)', //cpg1.4
+  'any_words' => 'Ταίριασμα με όλες τις λέξεις (Ή)', //cpg1.4
+);
+
+$lang_adv_opts = array(
+  'title' => 'Τίτλος', //cpg1.4
+  'caption' => 'Επικεφαλίδα', //cpg1.4
+  'keywords' => 'Λέξεις-κλειδιά', //cpg1.4
+  'owner_name' => 'Όνομα ιδιοκτήτη', //cpg1.4
+  'filename' => 'Όνομα αρχείου', //cpg1.4
+);
+
+}
+
+// ------------------------------------------------------------------------- //
+// File searchnew.php
+// ------------------------------------------------------------------------- //
+
+if (defined('SEARCHNEW_PHP')) $lang_search_new_php = array(
+  'page_title' => 'Αναζήτηση νέων αρχείων',
+  'select_dir' => 'Επιλογή καταλόγου',
+  'select_dir_msg' => 'Αυτή η λειτουργία σας επιτρέπει την πρόσθεση πολλαπλών αρχείων τα οποία έχετε ανεβάσει στον διακομιστή σας μεσω FTP.<br /><br />Επιλέξτε τον κατάλογο όπου έχετε ανεβάσει τα αρχεία σας.', //cpg1.4
+  'no_pic_to_add' => 'Δεν υπάρχει αρχείο για πρόσθεση',
+  'need_one_album' => 'Χρειάζεστε τουλάχιστον ένα άλμπουμ για να χρησιμοποιήσετε αυτή τη λειτουργία',
+  'warning' => 'Προειδοποίηση',
+  'change_perm' => 'το πρόγραμμα δεν μπορεί να γράψει σε αυτόν τον κατάλογο, πρέπει να αλλάξετε τις ιδιότητές του (CHMOD) σε 755 ή 777 πριν προσπαθήσετε να προσθέσετε τα αρχεία !',
+  'target_album' => '<b>Πρόσθεση αρχείων από το &quot;</b>%s<b>&quot; στο </b>%s',
+  'folder' => 'Φάκελλος',
+  'image' => 'αρχείο',
+  'album' => '\'Αλμπουμ',
+  'result' => 'Αποτέλεσμα',
+  'dir_ro' => 'Μη εγγράψιμο. ',
+  'dir_cant_read' => 'Μη αναγνώσιμο. ',
+  'insert' => 'Προσθήκη νέων αρχείων στην γκαλερί',
+  'list_new_pic' => 'Λίστα νέων αρχείων',
+  'insert_selected' => 'Προσθήκη επιλεγμένων αρχείων',
+  'no_pic_found' => 'Δεν βρέθηκαν νέα αρχεία',
+  'be_patient' => 'Παρακαλώ να είστε υπομονετικοί, το πρόγραμμα χρειάζεται λίγο χρόνο για να προσθέσει τα αρχεία',
+  'no_album' => 'δεν επιλέχθηκε άλμπουμ',
+  'result_icon' => 'κάντε κλικ για λεπτομέρειες ή για επαναφόρτωση',  //cpg1.4
+  'notes' =>  '<ul>'.
+                          '<li><b>OK</b> : σημαίνει πως το αρχείο προστέθηκε επιτυχώς'.
+                          '<li><b>DP</b> : σημαίνει πως το αρχείο υπάρχει ήδη στην βάση δεδομένων'.
+                          '<li><b>PB</b> : σημαίνει πως το αρχείο δεν μπορεί να προστεθεί, ελέγξτε τις ρυθμίσεις σας και το εάν οι καταλόγοι στους οποίους βρίσκονται τα αρχεία είναι εγγράψιμοι'.
+                          '<li><b>NA</b> : σημαίνει πως δεν επιλέξατε άλμπουμ στο οποίο θα προστεθούν τα αρχεία, κάντε κλικ στο \'<a href="javascript:history.back(1)">επιστροφή</a>\' και επιλέξτε ένα άλμπουμ. Εάν δεν υπάρχει άλμπουμ <a href="albmgr.php">δημιουργήστε ένα πρώτα</a></li>'.
+                          '<li>Εάν τα OK, DP, PB \'εικονίδια\' δεν εμφανίζονται κάντε κλικ στην μη εμφανισθείσα εικόνα για να δείτε τυχόν μυνήματα λάθους που παρήχθεισαν από την PHP'.
+                          '<li>Εάν έχει παρέλθει η προθεσμία σύνδεσης του πλοηγού ιστοσελίδων, κάντε κλικ στο κουμπί επαναφόρτωση'.
+                          '</ul>',
+  'select_album' => 'επιλέξτε άλμπουμ',
+  'check_all' => 'Επιλογή Όλων',
+  'uncheck_all' => 'Αποεπιλογή Όλων',
+  'no_folders' => 'Δεν υπάρχουν φάκελλοι μέσα στον φάκελλο "albums" ακόμη. Σιγουρευτείτε για την δημιουργία τουλάχιστον ενός φακέλλου μέσα στον φάκελλο "albums" και ανεβάστε τα αρχεία σας εκεί με FTP. Δεν πρέπει να ανεβάσετε τα αρχεία σας στον φάκελλο "userpics" ούτε στον "edit", καθώς κρατούνται για προσθήκες μέσω http και για εσωτερικές διαδικασίες.', //cpg1.4
+   'albums_no_category' => 'Αλμπουμς χωρίς κατηγορία', //cpg1.4 // album pulldown mod, added by frogfoot
+  'personal_albums' => '* Προσωπικά άλμπουμς', //cpg1.4 // album pulldown mod, added by frogfoot
+  'browse_batch_add' => 'Πλοηγήσιμο περιβάλλον (συστήνεται)', //cpg1.4
+  'edit_pics' => 'Επεξεργασία αρχείων', //cpg1.4
+  'edit_properties' => 'Ιδιότητες των άλμπουμς', //cpg1.4
+  'view_thumbs' => 'Εμφάνιση μικρογραφιών', //cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File stat_details.php //cpg1.4
+// ------------------------------------------------------------------------- //
+
+if (defined('STAT_DETAILS_PHP')) $lang_stat_details_php = array(
+  'show_hide' => 'εμφάνιση/απόκρυψη αυτής της στήλης', //cpg1.4
+  'vote' => 'Λεπτομέρειες Ψήφων', //cpg1.4
+  'hits' => 'Λεπτομέρειες Επισκέψεων', //cpg1.4
+  'stats' => 'Στατιστικές Ψήφων', //cpg1.4
+  'sdate' => 'Ημερομηνία', //cpg1.4
+  'rating' => 'Βαθμολόγηση', //cpg1.4
+  'search_phrase' => 'Αναζήτηση φράσεως', //cpg1.4
+  'referer' => 'Αναφορέας', //cpg1.4
+  'browser' => 'Πλοηγός ιστοσελίδων', //cpg1.4
+  'os' => 'Λειτουργικό Σύστημα', //cpg1.4
+  'ip' => 'IP', //cpg1.4
+  'sort_by_xxx' => 'Ταξινομημένα κατά %s', //cpg1.4
+  'ascending' => 'ανοδικά', //cpg1.4
+  'descending' => 'καθοδικά', //cpg1.4
+  'internal' => 'int', //cpg1.4
+  'close' => 'κλείσιμο', //cpg1.4
+  'hide_internal_referers' => 'απόκρυψη εσωτερικών αναφορών', //cpg1.4
+  'date_display' => 'Εμφάνιση ημερομηνίας', //cpg1.4
+  'submit' => 'υποβολή / φρεσκάρισμα', //cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File thumbnails.php
+// ------------------------------------------------------------------------- //
+
+// Void
+
+// ------------------------------------------------------------------------- //
+// File upload.php
+// ------------------------------------------------------------------------- //
+
+if (defined('UPLOAD_PHP')) $lang_upload_php = array(
+  'title' => 'Προσθήκη αρχείου',
+  'custom_title' => 'Διαμορφοποιήσιμη Φόρμα Αίτησης',
+  'cust_instr_1' => 'Μπορείτε να επιλέξετε έναν δικό σας αριθμό πεδίων για προσθήκη. Ωστόσο, δεν μπορείτε να διαλέξετε πάνω από τα παρακάτω όρια.',
+  'cust_instr_2' => 'Αριθμός Πεδίων Αίτησης',
+  'cust_instr_3' => 'Πεδία προσθήκης αρχείων: %s',
+  'cust_instr_4' => 'Πεδία προσθήκης URI/URL: %s',
+  'cust_instr_5' => 'Πεδία προσθήκης URI/URL:',
+  'cust_instr_6' => 'Πεδία προσθήκης αρχείων:',
+  'cust_instr_7' => 'Παρακαλώ εισάγετε τον αριθμό κάθε είδους πεδίου προσθήκης για αυτή τη φορά.  Μετά κάντε κλικ στο \'Συνέχεια\'. ',
+  'reg_instr_1' => 'Άκυρη ενέργεια για την δημιουργία φόρμας.',
+  'reg_instr_2' => 'Τώρα μπορείτε να προσθέσετε τα αρχεία σας χρησιμοποιώντας τα παρακάτω πεδία προσθήκης. Το μέγεθος των αρχείων που θα προσθέσετε δεν πρέπει να ξεπερνά τα %s KB το καθένα. Τυχόν ZIP αρχεία που θα προστεθούν μέσω των πεδίων \'Προσθήκη Αρχείου\' και \'Προσθήκη URI/URL\' θα παραμείνουν συμπιεσμένα.',
+  'reg_instr_3' => 'Εάν θέλετε τα συμπιεσμένα αρχεία να αποσυμπιεστούν, πρέπει να χρησιμοποιήσετε το πεδίο προσθήκης που υπάρχει στην περιοχή \'Προσθήκη Αποσυμπιεζομένων Αρχείων ZIP\'.',
+  'reg_instr_4' => 'Εάν θέλετε να χρησιμοποιήσετε το πεδίο προσθήκης URI/URL, παρακαλώ να εισάγετε την διαδρομή προς το αρχείο με αυτόν τον τρόπο: http://www.mysite.com/images/example.jpg',
+  'reg_instr_5' => 'Όταν συμπληρώσετε την φόρμα, παρακαλώ κάντε κλικ στο \'Συνέχεια\'.',
+  'reg_instr_6' => 'Προσθήκη Αποσυμπιεζομένων Αρχείων ZIP:',
+  'reg_instr_7' => 'Προσθήκη Αρχείων:',
+  'reg_instr_8' => 'Προσθήκη URI/URL:',
+  'error_report' => 'Αναφορά Λάθους',
+  'error_instr' => 'Οι παρακάτω προσθήκες παρουσίασαν λάθη:',
+  'file_name_url' => 'Όνομα Αρχείου/URL',
+  'error_message' => 'Μύνημα Λάθους',
+  'no_post' => 'Το αρχείο δεν προστέθηκε από την λειτουργία POST.',
+  'forb_ext' => 'Ανεπίτρεπτη επέκταση αρχείου.',
+  'exc_php_ini' => 'Υπέρβαση επιτρεπόμενου μεγέθους αρχείου από το php.ini.',
+  'exc_file_size' => 'Υπέρβαση επιτρεπόμενου μεγέθους αρχείου από το CPG.',
+  'partial_upload' => 'Μόνο ένα μέρος προστέθηκε.',
+  'no_upload' => 'Δεν έγινε προσθήκη.',
+  'unknown_code' => 'Άγνωστο λάθος στον κώδικα προσθήκης της PHP.',
+  'no_temp_name' => 'Δεν έγινε προσθήκη - Δεν υπάρχει προσωρινό όνομα.',
+  'no_file_size' => 'Δεν περιέχει δεδομένα/Αλλοιωμένο',
+  'impossible' => 'Αδύνατη η μετακίνηση.',
+  'not_image' => 'Δεν είναι εικόνα/αλλοιωμένο',
+  'not_GD' => 'Δεν είναι επέκταση GD.',
+  'pixel_allowance' => 'Το ύψος και/ή το πλάτος της προστιθέμενης φωτογραφίας είναι άνω του επιτρεπτού ορίου των ρυθμίσεων της γκαλερί.', //cpg1.4
+  'incorrect_prefix' => 'Λάθος πρόθεμα URI/URL',
+  'could_not_open_URI' => 'Δεν μπόρεσε να ανοίξει το URI.',
+  'unsafe_URI' => 'Ασφάλεια μη επαληθεύσιμη.',
+  'meta_data_failure' => 'Αποτυχία στοιχείων Meta',
+  'http_401' => '401 Μη εξουσιοδοτημένο',
+  'http_402' => '402 Απαιτείται Πληρωμή',
+  'http_403' => '403 Απαγορευμένο',
+  'http_404' => '404 Δεν Βρέθηκε',
+  'http_500' => '500 Εσωτερικό Λάθος Διακομιστή',
+  'http_503' => '503 Υπηρεσία Μη Διαθέσιμη',
+  'MIME_extraction_failure' => 'Δεν μπόρεσε να καθοριστεί η επέκταση MIME (Multipurpose Internet Mail Extensions).',
+  'MIME_type_unknown' => 'Άγνωστος τύπος MIME (Multipurpose Internet Mail Extensions)',
+  'cant_create_write' => 'Αδύνατη η δημιουργία εγγράψιμου αρχείου.',
+  'not_writable' => 'Αδύνατη η εγγραφή στο εγγράψιμο αρχείο.',
+  'cant_read_URI' => 'Αδύνατη η ανάγνωση του URI/URL',
+  'cant_open_write_file' => 'Αδύνατο το άνοιγμα του εγγράψιμου αρχείου URI.',
+  'cant_write_write_file' => 'Αδύνατη η εγγραφή στο εγγράψιμο αρχείο URI.',
+  'cant_unzip' => 'Αδύνατη η αποσυμπίεση.',
+  'unknown' => 'Άγνωστο λάθος',
+  'succ' => 'Επιτυχείς Προσθήκες',
+  'success' => '%s επιτυχείς προσθήκες.',
+  'add' => 'Παρακαλώ κάντε κλικ στο \'Συνέχεια\' για να προσθέσετε τα αρχεία σε άλμπουμς.',
+  'failure' => 'Αποτυχία Προσθήκης',
+  'f_info' => 'Πληροφορίες Αρχείου',
+  'no_place' => 'Το προηγούμενο αρχείο δεν μπόρεσε να τοποθετηθεί.',
+  'yes_place' => 'Το προηγούμενο αρχείο προστέθηκε επιτυχώς.',
+  'max_fsize' => 'Το μέγιστο επιτρεπόμενο μέγεθος αρχείου είναι %s KB',
+  'album' => '\'Αλμπουμ',
+  'picture' => 'Αρχείο',
+  'pic_title' => 'Τίτλος αρχείου',
+  'description' => 'Περιγραφή αρχείου',
+  'keywords' => 'Λέξεις-Κλειδιά (διαχωρισμένες με κενά)<br /><a href="#" onClick="return MM_openBrWindow(\'keyword_select.php\',\'selectKey\',\'width=250, height=400, scrollbars=yes,toolbar=no,status=yes,resizable=yes\')">Εισαγωγή από λίστα</a>', //cpg1.4
+  'keywords_sel' =>'Επιλέξτε Λέξη-Κλειδί', //cpg1.4
+  'err_no_alb_uploadables' => 'Συγνώμη δεν υπάρχει άλμπουμ στο οποίο να σας επιτρέπεται η προσθήκη αρχείων',
+  'place_instr_1' => 'Παρακαλώ τοποθετήστε τα αρχεία σε άλμπουμς τώρα.  Μπορείτε επίσης να εισάγετε πληροφορίες σχετικές με κάθε αρχείο.',
+  'place_instr_2' => 'Περισσότερα αρχεία χρειάζονται τοποθέτηση. Παρακαλώ κάντε κλικ στο \'Συνέχεια\'.',
+  'process_complete' => 'Έχετε τοποθετήσει όλα τα αρχεία επιτυχώς.',
+   'albums_no_category' => 'Αλμπουμς χωρίς κατηγορία', //cpg1.4. //album pulldown mod, added by frogfoot
+  'personal_albums' => '* Προσωπικά άλμπουμς', //cpg1.4 //album pulldown mod, added by frogfoot
+  'select_album' => 'Επιλέξτε άλμπουμ', //cpg1.4 //album pulldown mod, added by frogfoot
+  'close' => 'Κλείσιμο', //cpg1.4
+  'no_keywords' => 'Συγνώμη, δεν υπάρχουν διαθέσιμες λέξεις-κλειδιά!', //cpg1.4
+  'regenerate_dictionary' => 'Αναπαραγωγή Λεξικού', //cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File usermgr.php
+// ------------------------------------------------------------------------- //
+
+if (defined('USERMGR_PHP')) $lang_usermgr_php = array(
+  'memberlist' => 'Λίστα Μελών', //cpg1.4
+  'user_manager' => 'Διαχείριση χρηστών', //cpg1.4
+  'title' => 'Διαχείριση χρηστών',
+  'name_a' => 'Ανοδικά κατά όνομα',
+  'name_d' => 'Καθοδικά κατά όνομα',
+  'group_a' => 'Ανοδικά κατά ομάδα',
+  'group_d' => 'Καθοδικά κατά ομάδα',
+  'reg_a' => 'Ανοδικά κατά ημερομηνία εγγραφής',
+  'reg_d' => 'Καθοδικά κατά ημερομηνία εγγραφής',
+  'pic_a' => 'Ανοδικά κατά αριθμό αρχείων',
+  'pic_d' => 'Καθοδικά κατά αριθμό αρχείων',
+  'disku_a' => 'Ανοδικά κατά χρήση χώρου',
+  'disku_d' => 'Καθοδικά κατά χρήση χώρου',
+  'lv_a' => 'Ανοδικά κατά τελευταία επίσκεψη',
+  'lv_d' => 'Καθοδικά κατά τελευταία επίσκεψη',
+  'sort_by' => 'Ταξινόμηση χρηστών κατά',
+  'err_no_users' => 'Ο πίνακας χρηστών είναι άδειος !',
+  'err_edit_self' => 'Δεν μπορείτε να επεξεργαστείτε το δικό σας προφίλ, χρησιμοποιήστε τον σύνδεσμο \'Το Προφίλ Μου\' για αυτό',
+  'edit' => 'Επεξεργασία', //cpg1.4
+  'with_selected' => 'Με τα επιλεγμένα:', //cpg1.4
+  'delete' => 'Διαγραφή', //cpg1.4
+  'delete_files_no' => 'κατακράτηση δημόσιων αρχείων (αλλά ανώνυμα)', //cpg1.4
+  'delete_files_yes' => 'διαγραφή και δημόσιων αρχείων', //cpg1.4
+  'delete_comments_no' => 'κατακράτηση σχολίων (αλλά ανώνυμα)', //cpg1.4
+  'delete_comments_yes' => 'διαγραφή και σχολίων', //cpg1.4
+  'activate' => 'Ενεργοποίηση', //cpg1.4
+  'deactivate' => 'Απενεργοποίηση', //cpg1.4
+  'reset_password' => 'Μηδενισμός Κωδικού', //cpg1.4
+  'change_primary_membergroup' => 'Αλλαγή πρωταρχικής ομάδας μέλους', //cpg1.4
+  'add_secondary_membergroup' => 'Πρόσθεση δευτερεύουσας ομάδας μέλους', //cpg1.4
+  'name' => 'Όνομα χρήστη',
+  'group' => 'Ομάδα',
+  'inactive' => 'Ανενεργός',
+  'operations' => 'Λειτουργίες',
+  'pictures' => 'Αρχεία',
+  'disk_space_used' => 'Χρησιμοποιημένος χώρος', //cpg1.4
+  'disk_space_quota' => 'Ποσόστωση Χώρου', //cpg1.4
+  'registered_on' => 'Εγγραφή', //cpg1.4
+  'last_visit' => 'Τελευταία Επίσκεψη',
+  'u_user_on_p_pages' => '%d χρήστες σε %d σελίδα/ες',
+  'confirm_del' => 'Είστε σίγουροι πως θέλετε να ΔΙΑΓΡΑΨΕΤΕ αυτόν τον χρήστη ; \\nΌλα τα αρχεία και τα άλμπουμς του θα διαγραφούν επίσης.', //js-alert
+  'mail' => 'ΤΑΧΥΔΡΟΜΕΙΟ',
+  'err_unknown_user' => 'Ο επιλεγμένος χρήστης δεν υπάρχει !',
+  'modify_user' => 'Τροποποίηση χρήστη',
+  'notes' => 'Σημειώσεις',
+  'note_list' => '<li>Εάν δεν θέλετε να αλλάξετε τον ισχύοντα κωδικό σας, αφήστε κενό το πεδίο "κωδικός"',
+  'password' => 'Κωδικός',
+  'user_active' => 'Ο χρήστης είναι ενεργός',
+  'user_group' => 'Ομάδα χρήστη',
+  'user_email' => 'Email χρήστη',
+  'user_web_site' => 'Ιστοσελίδα χρήστη',
+  'create_new_user' => 'Δημιουργία νέου χρήστη',
+  'user_location' => 'Τοποθεσία χρήστη',
+  'user_interests' => 'Ενδιαφέροντα χρήστη',
+  'user_occupation' => 'Επάγγελμα χρήστη',
+  'user_profile1' => '$user_profile1', //cpg1.4
+  'user_profile2' => '$user_profile2', //cpg1.4
+  'user_profile3' => '$user_profile3', //cpg1.4
+  'user_profile4' => '$user_profile4', //cpg1.4
+  'user_profile5' => '$user_profile5', //cpg1.4
+  'user_profile6' => '$user_profile6', //cpg1.4
+  'latest_upload' => 'Πρόσφατες προσθήκες',
+  'never' => 'ποτέ',
+  'search' => 'Αναζήτηση χρήστη', //cpg1.4
+  'submit' => 'Υποβολή', //cpg1.4
+  'search_submit' => 'Πάμε!', //cpg1.4
+  'search_result' => 'Αναζήτηση αποτελεσμάτων για: ', //cpg1.4
+  'alert_no_selection' => 'Πρέπει πρώτα να επιλέξετε τουλάχιστον έναν χρήστη!', //cpg1.4 //js-alert
+  'password' => 'κωδικός', //cpg1.4
+  'select_group' => 'Επιλέξτε ομάδα', //cpg1.4
+  'groups_alb_access' => 'Άδειες άλμπουμς κατά ομάδα', //cpg1.4
+  'album' => '\'Αλμπουμ', //cpg1.4
+  'category' => 'Κατηγορία', //cpg1.4
+  'modify' => 'Τροποποίηση;', //cpg1.4
+  'group_no_access' => 'Αυτή η ομάδα δεν έχει ειδική πρόσβαση', //cpg1.4
+  'notice' => 'Ειδοποίηση', //cpg1.4
+  'group_can_access' => '\'Αλμπουμ(ς) που μόνο ο/η "%s" μπορεί να δει', //cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File util.php
+// ------------------------------------------------------------------------- //
+
+if (defined('UTIL_PHP')) {
+$lang_util_desc_php = array(
+'Ενημερώνει τίτλους από όνομα αρχείου', //cpg1.4
+'Διαγράφει τίτλους', //cpg1.4
+'Επαναδημιουργεί μικρογραφίες και αναμεγενθύνει φωτογραφίες', //cpg1.4
+'Διαγράφει τις πρωτότυπες φωτογραφίες και τις αντικαθιστά με τις αναμεγενθυμένες', //cpg1.4
+'Διαγράφει τις πρωτότυπες ή τις ενδιάμεσες φωτογραφίες για να ελευθερώσει χώρο', //cpg1.4
+'Διαγράφει σχόλια που δεν ανήκουν σε καμιά φωτογραφία', //cpg1.4
+'Επαναδιαβάζει μεγέθη και διαστάσεις αρχείων (εάν επεξεργαστείτε φωτογραφίες \'χειρονακτικά\')', //cpg1.4
+'Μηδενίζει μετρητές εμφανίσεων', //cpg1.4
+'Εμφανίζει τις πληροφορίες PHP (phpinfo)', //cpg1.4
+'Ενημερώνει την βάση δεδομένων', //cpg1.4
+'Εμφανίζει τα αρχεία αναγραφής', //cpg1.4
+);
+$lang_util_php = array(
+  'title' => 'Εργαλεία διαχειριστή (αναμεγέθυνση φωτογραφιών)',
+  'what_it_does' => 'Τι κάνει',
+  'file' => 'Αρχείο',
+  'problem' => 'Πρόβλημα', //cpg1.4
+  'status' => 'Κατάσταση', //cpg1.4
+  'title_set_to' => 'ο τίτλος καθορίστηκε σε',
+  'submit_form' => 'υποβολή',
+  'updated_succesfully' => 'ενημέρωση επιτυχής',
+  'error_create' => 'ΛΑΘΟΣ στην δημιουργία',
+  'continue' => 'Επεξεργασία περισσότερων φωτογραφιών',
+  'main_success' => 'Το αρχείο %s προστέθηκε επιτυχώς ως κύριο αρχείο',
+  'error_rename' => 'Λάθος στην μετονομασία του %s σε %s',
+  'error_not_found' => 'Το αρχείο %s δεν βρέθηκε',
+  'back' => 'επιστροφή στην κεντρική',
+  'thumbs_wait' => 'Ενημέρωση των μικρογραφιών και/ή των αναμεγενθυμένων φωτογραφιών, παρακαλώ περιμένετε...',
+  'thumbs_continue_wait' => 'Συνέχεια της ενημέρωσης των μικρογραφιών και/ή των αναμεγενθυμένων φωτογραφιών...',
+  'titles_wait' => 'Ενημέρωση τίτλων, παρακαλώ περιμένετε...',
+  'delete_wait' => 'Διαγραφή τίτλων, παρακαλώ περιμένετε...',
+  'replace_wait' => 'Διαγραφή πρωτότυπων και αντικατάστασή τους με τις αναμεγενθυμένες φωτογραφίες, παρακαλώ περιμένετε..',
+  'instruction' => 'Γρήγορες οδηγίες',
+  'instruction_action' => 'Επιλογή ενέργειας',
+  'instruction_parameter' => 'Καθορισμός παραμέτρων',
+  'instruction_album' => 'Επιλογή άλμπουμ',
+  'instruction_press' => 'Κάντε κλικ στο %s',
+  'update' => 'Ενημέρωση των μικρογραφιών και/ή των αναμεγενθυμένων φωτογραφιών',
+  'update_what' => 'Τι θα πρέπει να ενημερωθεί',
+  'update_thumb' => 'Μόνο μικρογραφίες',
+  'update_pic' => 'Μόνο αναμεγενθυμένες φωτογραφίες',
+  'update_both' => 'Και μικρογραφίες και αναμεγενθυμένες φωτογραφίες',
+  'update_number' => 'Αριθμός επεξεργασμένων φωτογραφιών ανά κλικ',
+  'update_option' => '(Προσπαθήστε να καθορίσετε χαμηλότερη τιμή για αυτή την επιλογή εάν έχετε προβλήματα του χρόνου σύνδεσης)',
+  'filename_title' => 'Όνομα αρχείου &rArr; Τίτλος αρχείου',
+  'filename_how' => 'Πως θα πρέπει να τροποποιηθεί το όνομα αρχείου',
+  'filename_remove' => 'Αφαίρεση της επέκτασης .jpg και αντικατάσταση της _ (κάτω παύλας) με κενά',
+  'filename_euro' => 'Αλλαγή του 2003_11_23_13_20_20.jpg σε 23/11/2003 13:20',
+  'filename_us' => 'Αλλαγή του 2003_11_23_13_20_20.jpg σε 11/23/2003 13:20',
+  'filename_time' => 'Αλλαγή του 2003_11_23_13_20_20.jpg σε 13:20',
+  'delete' => 'Διαγραφή τίτλων αρχείων ή φωτογραφιών αρχικού μεγέθους',
+  'delete_title' => 'Διαγραφή τίτλων αρχείων',
+  'delete_title_explanation' => 'Αυτό θα διαγράψει όλους τους τίτλους από τα αρχεία του άλμπουμ που επιλέξατε.', //cpg1.4
+  'delete_original' => 'Διαγραφή φωτογραφιών αρχικού μεγέθους',
+  'delete_original_explanation' => 'Αυτό θα αφαιρέσει τις φωτογραφίες πλήρους μεγέθους.', //cpg1.4
+  'delete_intermediate' => 'Διαγραφή ενδιάμεσων φωτογραφιών', //cpg1.4
+  'delete_intermediate_explanation' => 'Αυτό θα διαγράψει τις ενδιάμεσες (κανονικές) φωτογραφίες.<br />Χρησιμοποιήστε το για να ελευθερώσετε χώρο εάν έχετε απενεργοποιημένη την \'Δημιουργία ενδιάμεσων φωτογραφιών\' στις ρυθμίσεις μετά την πρόσθεση φωτογραφιών.', //cpg1.4
+  'delete_replace' => 'Διαγράφει τις αρχικές φωτογραφίες αντικαθιστώντας τες με τις αναμεγενθυμένες',
+  'titles_deleted' => 'Όλοι οι τίτλοι στο επιλεγμένο άλμπουμ αφαιρέθηκαν', //cpg1.4
+  'deleting_intermediates' => 'Διαγραφή ενδιάμεσων φωτογραφιών, παρακαλώ περιμένετε...', //cpg1.4
+  'searching_orphans' => 'Αναζήτηση ορφανών, παρακαλώ περιμένετε...', //cpg1.4
+  'select_album' => 'Επιλέξτε άλμπουμ',
+  'delete_orphans' => 'Διαγραφή σχολίων από ελλείποντα αρχεία', //cpg1.4
+  'delete_orphans_explanation' => 'Αυτό θα σας επιτρέψει να προσδιορίσετε και να διαγράψετε οποιαδήποτε σχόλια που συνδέονται με αρχεία τα οποία δεν υπάρχουν πλέον στην γκαλερί.<br />Επιλογή όλων των άλμπουμς.', //cpg1.4
+  'refresh_db' => 'Επαναφόρτωση πληροφοριών διαστάσων και μεγέθους των αρχείων', //cpg1.4
+  'refresh_db_explanation' => 'Αυτό θα επαναδιαβάσει το μέγεθος και τις διαστάσεις των αρχείων. Χρησιμοποιήστε το εάν η ποσόστωση του χώρου σας είναι λάθος ή έχετε αλλάξει τα αρχεία \'χειρονακτικά\'.', //cpg1.4
+  'reset_views' => 'Μηδενισμός μετρητή εμφανίσεων', //cpg1.4
+  'reset_views_explanation' => 'Καθορίζει την τιμή όλων των μετρητών εμφανίσεων του επιλεγμένου άλμπουμ σε μηδέν.', //cpg1.4
+  'orphan_comment' => 'βρέθηκαν ορφανά σχόλια',
+  'delete' => 'Διαγραφή',
+  'delete_all' => 'Διαγραφή όλων',
+  'delete_all_orphans' => 'Διαγραφή όλων των ορφανών;', //cpg1.4
+  'comment' => 'Σχόλιο: ',
+  'nonexist' => 'προσαρτημένο σε ανύπαρκτο αρχείο # ',
+  'phpinfo' => 'Εμφάνιση phpinfo',
+  'phpinfo_explanation' => 'Περιέχει τεχνικές πληροφορίες σχετικά με τον διακομιστή σας.<br /> - Μπορεί να σας ζητηθούν όταν ζητήσετε υποστήριξη.', //cpg1.4
+  'update_db' => 'Ενημέρωση βάσης δεδομένων',
+  'update_db_explanation' => 'Εάν έχετε αντικαταστήσει αρχεία του coppermine, προσθέσει κάποια τροποποίηση ή αναβαθμίσει από προηγούμενη έκδοση του coppermine, σιγουρευτείτε πως θα κάνετε την ενημέρωση της βάσης δεδομένων μόνο μια φορά. Αυτό θα δημιουργήσει όλους τους απαραίτητους πίνακες και/ή τιμές ρυθμίσεως στην βάση δεδομένων του coppermine.',
+  'view_log' => 'Εμφάνιση αρχείων αναγραφής', //cpg1.4
+  'view_log_explanation' => 'Το Coppermine μπορεί να παρακολουθήσει διάφορες ενέργειες που εκτελούν οι χρήστες. Μπορείτε να κοιτάξετε τα αρχεία αυτά εάν έχετε ενεργοποιημένη την λειτουργία αναγραφής στις <a href="admin.php">ρυθμίσεις του coppermine</a>.', //cpg1.4
+  'versioncheck' => 'Έλεγχος εκδόσεων', //cpg1.4
+  'versioncheck_explanation' => 'Έλεγχος των εκδόσεων των αρχείων προς εξεύρεση του εάν έχουν αντικατασταθεί όλα μετά από μία αναβάθμιση, ή εάν τα πηγαία αρχεία του coppermine έχουν ενημερωθεί μετά την έκδοση ενός πακέτου.', //cpg1.4
+  'bridgemanager' => 'Διαχειριστής Γεφυρώματος', //cpg1.4
+  'bridgemanager_explanation' => 'Ενεργοποίηση/απενεργοποίηση ενσωμάτωσης (γεφυροποίηση) του Coppermine με μία άλλη εφαρμογή (π.χ. BBS-Bulletin Board System).', //cpg1.4
+);
+}
+
+// ------------------------------------------------------------------------- //
+// File versioncheck.php //cpg1.4
+// ------------------------------------------------------------------------- //
+
+if (defined('VERSIONCHECK_PHP')) $lang_versioncheck_php = array(
+  'title' => 'Έλεγχος εκδόσεων', //cpg1.4
+  'what_it_does' => 'Αυτή η σελίδα προορίζεται για τους χρήστες που έχουν ενημερώσει την εγκατάσταση του coppermine. Το πρόγραμμα αυτό ψάχνει τα αρχεία στον διακομιστή σας και προσπαθεί να καθορίσει εάν είναι ίδια με αυτά της \'αποθήκης\' στο http://coppermine.sourceforge.net, και έτσι εμφανίζει τα αρχεία που θα έπρεπε επίσης να ενημερώσετε.<br />Θα παρουσιάσει οτιδήποτε πρέπει να διορθωθεί με κόκκινο. Καταχωρήσεις με κίτρινο πρέπει να εξεταστούν. Καταχωρήσεις με πράσινο (ή το προεπιλεγμένο χρώμα γραμματοσειράς σας) είναι εντάξει.<br />Κάντε κλικ στα εικονίδια βοήθειας για περισσότερες λεπτομέρειες.', //cpg1.4
+  'online_repository_unable' => 'Αδύνατη η σύνδεση με την online \'αποθήκη\'', //cpg1.4
+  'online_repository_noconnect' => 'Το Coppermine δεν μπόρεσε να συνδεθεί με την online \'αποθήκη\'. Αυτό μπορεί να συνέβει για δύο λόγους:', //cpg1.4
+  'online_repository_reason1' => 'η online \'αποθήκη\' του coppermine είναι εκτός λειτουργίας - ελέγξτε εάν μπορείτε να συνδεθείτε με αυτή τη σελίδα: %s - εάν δεν μπορείτε να συνδεθείτε με αυτή τη σελίδα, προσπαθήστε ξανά αργότερα.', //cpg1.4
+  'online_repository_reason2' => 'Η PHP στον διακομιστή σας είναι ρυθμισμένη με την λειτουργία %s απενεργοποιημένη (εξ ορισμού, είναι ενεργοποιημένη). Εάν εσείς διαχειρίζεστε τον διακομιστή σας, θέστε την επιλογή αυτή σε λειτουργία στο <i>php.ini</i> (τουλάχιστον επιτρέψτε την προσπέλασή της με το %s). Εάν φιλοξενήστε σε διακομιστή, θα πρέπει απλά να συμβιβαστείτε με το γεγονός ότι δεν μπορείτε να ελέγξετε τα αρχεία σας με αυτά της online \'αποθήκης\'. Αυτή η σελίδα τότε θα εμφανίσει μόνο τις εκδόσεις των αρχείων που ήταν με την δική σας διανομή - οι ενημερώσεις δεν θα εμφανιστούν.', //cpg1.4
+  'online_repository_skipped' => 'Η σύνδεση στην online \'αποθήκη\' παρακάμφθηκε', //cpg1.4
+  'online_repository_to_local' => 'Το πρόγραμμα χρησιμοποιεί τώρα ως προκαθορισμένη την έκδοση των τοπικών αρχείων. Τα δεδομένα μπορεί να είναι ανακριβή εάν έχετε αναβαθμίσει το Coppermine χωρίς να έχετε ανεβάσει όλα τα αρχεία. Αλλαγές των αρχείων μετά την έκδοση δεν θα ληφθούν υπόψη.', //cpg1.4
+  'local_repository_unable' => 'Η σύνδεση στην \'αποθήκη\'  του διακομιστή σας ήταν ανεπιτυχής', //cpg1.4
+  'local_repository_explanation' => 'Το Coppermine να συνδεθεί στο αρχείο της \'αποθήκης\' %s του διακομιστή σας. Αυτό πιθανώς σημαίνει ότι δεν έχετε ανεβάσει το αρχείο \'αποθήκης\' στον διακομιστή σας. Ανεβάστε το και μετά προσπαθήστε να ξανατρέξετε την σελίδα αυτή άλλη μία φορά (κάντε κλικ στην επαναφόρτωση).<br />Εάν το πρόγραμμα συνεχίζει να αποτυγχάνει, τότε ο οικοδεσπότης σας (webhost) ίσως έχει απενεργοποιήσει μέρη των <a href="http://www.php.net/manual/en/ref.filesystem.php">λειτουργιών συστήματος αρχείων της PHP</a> εντελώς. Σε αυτή την περίπτωση, λυπούμαστε αλλά απλά δεν μπορείτε να χρησιμοποιήσετε αυτό το εργαλείο καθόλου.', //cpg1.4
+  'coppermine_version_header' => 'Εγκατεστημένη έκδοση του Coppermine', //cpg1.4
+  'coppermine_version_info' => 'Έχετε εγκατεστημένο το: %s', //cpg1.4
+  'coppermine_version_explanation' => 'Εάν νομίζετε πως αυτό είναι εντελώς λάθος και ότι θα έπρεπε να έχετε πιο νέα έκδοση του Coppermine, πιθανώς δεν θα έχετε ανεβάσει την πιο πρόσφατη έκδοση του αρχείου <i>include/init.inc.php</i>', //cpg1.4
+  'version_comparison' => 'Σύγκριση εκδόσεων', //cpg1.4
+  'folder_file' => 'φάκελλος/αρχείο', //cpg1.4
+  'coppermine_version' => 'έκδοση cpg', //cpg1.4
+  'file_version' => 'έκδοση αρχείου', //cpg1.4
+  'webcvs' => 'web svn', //cpg1.4
+  'writable' => 'εγγράψιμο', //cpg1.4
+  'not_writable' => 'μη εγγράψιμο', //cpg1.4
+  'help' => 'Βοήθεια', //cpg1.4
+  'help_file_not_exist_optional1' => 'αρχείο/φάκελλος δεν υπάρχει', //cpg1.4
+  'help_file_not_exist_optional2' => 'Το αρχείο/φάκελλος %s δεν βρέθηκε στον διακομιστή σας. Αν και είναι προαιρετικό θα έπρεπε να το ανεβάσετε (χρησιμοποιώντας το FTP πρόγραμμά σας) στον διακομιστή σας εάν συναντάτε προβλήματα.', //cpg1.4
+  'help_file_not_exist_mandatory1' => 'αρχείο/φάκελλος δεν υπάρχει', //cpg1.4
+  'help_file_not_exist_mandatory2' => 'Το αρχείο/φάκελλος %s δεν βρέθηκε στον διακομιστή σας, αν και είναι προαιρετικό. Ανεβάσετε το αρχείο στον διακομιστή (χρησιμοποιώντας το FTP πρόγραμμά σας).', //cpg1.4
+  'help_no_local_version1' => 'Δεν υπάρχει τοπική έκδοση του αρχείου', //cpg1.4
+  'help_no_local_version2' => 'Το πρόγραμμα δεν μπόρεσε να αποσπάσει τοπική έκδοση του αρχείου - το αρχείο σας είναι είτε παλιό είτε το έχετε τροποποιήσει, αφαιρώντας τις πληροφορίες επιγραφής στην πορεία. Συστήνεται η ενημέρωση του αρχείου.', //cpg1.4
+  'help_local_version_outdated1' => 'Παλιά τοπική έκδοση', //cpg1.4
+  'help_local_version_outdated2' => 'Η έκδοσή σας αυτού του αρχείου δείχνει να είναι από παλιότερη έκδοση του Coppermine (πιθανώς το αναβαθμίσατε). Σιγουρευτείτε για την ενημέρωση και αυτού του αρχείου επίσης.', //cpg1.4
+  'help_local_version_na1' => 'Αδύνατη η απόσπαση πληροφοριών έκδοσης cvs', //cpg1.4
+  'help_local_version_na2' => 'Το πρόγραμμα δεν μπόρεσε να καθορίσει ποια είναι η έκδοση cvs του αρχείου στον διακομιστή σας. Θα πρέπει να ανεβάσετε το αρχείο από το πακέτο σας.', //cpg1.4
+  'help_local_version_dev1' => 'Έκδοση ανάπτυξης', //cpg1.4
+  'help_local_version_dev2' => 'Το αρχείο στον διακομιστή σας δείχνει να είναι νεώτερο από αυτό της έκδοσης του Coppermine. Θα πρέπει είτε να χρησιμοποιείτε αρχείο ανάπτυξης (θα έπρεπε να το κάνετε αυτό μόνο αν ξέρετε τι κάνετε), είτε έχετε αναβαθμίσει την εγκατάσταση του Coppermine χωρίς να έχετε ανεβάσει το include/init.inc.php', //cpg1.4
+  'help_not_writable1' => 'Φάκελλος μη εγγράψιμος', //cpg1.4
+  'help_not_writable2' => 'Αλλάξτε τις άδειες αρχείου (CHMOD) για να δώσετε στο πρόγραμμα πρόσβαση εγγραφής στον φάκελλο %s και όλα μέσα σ\' αυτόν.', //cpg1.4
+  'help_writable1' => 'Φάκελλος εγγράψιμος', //cpg1.4
+  'help_writable2' => 'Ο φάκελλος %s είναι εγγράψιμος. Αυτό είναι περιττός κίνδυνος, καθώς το coppermine χρειάζεται μόνο πρόσβαση για ανάγνωση/εκτέλεση.', //cpg1.4
+  'help_writable_undetermined' => 'Το Coppermine δεν μπόρεσε να καθορίσει το εάν αυτός ο φάκελλος είναι εγγράψιμος ή όχι.', //cpg1.4
+  'your_file' => 'το αρχείο σας', //cpg1.4
+  'reference_file' => 'αρχείο αναφοράς', //cpg1.4
+  'summary' => 'Περίληψη', //cpg1.4
+  'total' => 'Συνολικά ελεγχμένα αρχεία/φάκελλοι', //cpg1.4
+  'mandatory_files_missing' => 'Απαραίτητα αρχεία που λείπουν', //cpg1.4
+  'optional_files_missing' => 'Προαιρετικά αρχεία που λείπουν', //cpg1.4
+  'files_from_older_version' => 'Αρχεία που μείνανε από παλιές εκδόσεις του Coppermine', //cpg1.4
+  'file_version_outdated' => 'Παλιές εκδόσεις αρχείων', //cpg1.4
+  'error_no_data' => 'Το πρόγραμμα δεν μπόρεσε να ανακτήσει οποιεσδήποτε πληροφορίες. Λυπούμαστε για την ταλαιπωρία.', //cpg1.4
+  'go_to_webcvs' => 'πηγαίνετε στο %s', //cpg1.4
+  'options' => 'Επιλογές', //cpg1.4
+  'show_optional_files' => 'εμφάνιση προαιρετικών φακέλλων/αρχείων', //cpg1.4
+  'show_mandatory_files' => 'εμφάνιση απαραίτητων αρχείων', //cpg1.4
+  'show_file_versions' => 'εμφάνιση εκδόσεων αρχείων', //cpg1.4
+  'show_errors_only' => 'εμφάνιση μόνο φακέλλων/αρχείων με λάθη', //cpg1.4
+  'show_permissions' => 'εμφάνιση αδειών φακέλλων', //cpg1.4
+  'show_condensed_output' => 'εμφάνιση συμπυκνωμένου περιεχομένου (για ευκολότερα screenshots)', //cpg1.4
+  'coppermine_in_webroot' => 'το coppermine είναι εγκατεστημένο στον αρχικό φάκελλο του διακομιστή', //cpg1.4
+  'connect_online_repository' => 'προσπαθήστε να συνδεθείτε στην online \'αποθήκη\'', //cpg1.4
+  'show_additional_information' => 'εμφάνιση επιπρόσθετων πληροφοριών', //cpg1.4
+  'no_webcvs_link' => 'να μη  εμφανιστεί ο σύνδεσμος web svn', //cpg1.4
+  'stable_webcvs_link' => 'εμφάνιση συνδέσμου web svn σε σταθερό κλάδο', //cpg1.4
+  'devel_webcvs_link' => 'εμφάνιση συνδέσμου web svn σε devel κλάδο', //cpg1.4
+  'submit' => 'εφαρμογή αλλαγών / επαναφόρτωση', //cpg1.4
+  'reset_to_defaults' => 'μηδενισμός στις προκαθορισμένες τιμές', //cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File view_log.php  //cpg1.4
+// ------------------------------------------------------------------------- //
+
+if (defined('VIEWLOG_PHP')) $lang_viewlog_php = array(
+  'delete_all' => 'Διαγραφή Όλων των Αναγραφών', //cpg1.4
+  'delete_this' => 'Διαγραφή Αυτής της Αναγραφής', //cpg1.4
+  'view_logs' => 'Εμφάνιση Αναγραφών', //cpg1.4
+  'no_logs' => 'Δεν δημιουργήθηκαν αναγραφές.', //cpg1.4
+);
+
+
+// ------------------------------------------------------------------------- //
+// File xp_publish.php //cpg1.4
+// ------------------------------------------------------------------------- //
+
+if (defined('XP_PUBLISH_PHP')) {
+
+$lang_xp_publish_client = <<<EOT
+<h1>Βοηθός Δημοσίευσης στο Ίντερνετ των XP</h1><p>Αυτό σας επιτρέπει να χρησιμοποιήσετε τον βοηθό δημοσιοποίησης στο ίντερνετ των <b>Windows XP</b> με το Coppermine.</p><p>Ο κώδικας είναι βασισμένος σε άρθρο δημοσιευμένο από τον
+EOT;
+
+$lang_xp_publish_required = <<<EOT
+<h2>Τι χρειάζεται</h2><ul><li>Τα Windows XP προκειμένου να υπάρξει ο βοηθός.</li><li>Μια λειτουργίσιμη εγκατάσταση του Coppermine στην οποία <b>η λειτουργία της πρόσθεσης δουλεύει σωστά.</b></li></ul><h2>Πως να γίνει η εγκατάσταση από την πλευρά του client</h2><ul><li>Κάντε δεξί κλικ σε
+EOT;
+
+$lang_xp_publish_select = <<<EOT
+Επιλέξτε &quot;save target as..&quot;. Αποθηκεύστε το αρχείο στον σκληρό σας δίσκο. Κατά την αποθήκευση του αρχείου, ελέγξτε ότι το προτεινόμενο όνομα αρχείου είναι <b>cpg_###.reg</b> (τα ### αντιπροσωπεύουν αριθμητικό timestamp). Αλλάξτε το σε εκείνο το όνομα αν χρειάζεται (χωρίς να πειράξετε τους αριθμούς). Αφού το κατεβάσετε, κάντε διπλό κλικ στο αρχείο για να εγγράψετε τον διακομιστή σας στον βοηθό δημοσίευσης.</li></ul>
+EOT;
+
+$lang_xp_publish_testing = <<<EOT
+<h2>Δοκιμή</h2><ul><li>Στον Windows Explorer, επιλέξτε κάποια αρχεία και κάντε κλικ στο <b>Publish xxx on the web</b> στο αριστερό μέρος.</li><li>Επιβεβαιώστε την επιλογή των αρχείων. Κάντε κλικ στο <b>Next</b>.</li><li>Στην λίστα των υπηρεσιών που εμφανίζεται, επιλέξτε αυτή για την γκαλερί σας (έχει το όνομα της γκαλερί σας). Εάν η υπηρεσία δεν εμφανίζεται, σιγουρευτείτε πως έχετε εγκαταστήσει το <b>cpg_pub_wizard.reg</b> όπως περιγράφηκε παραπάνω.</li><li>Εισάγετε τις πληροφορίες σύνδεσής σας αν είναι απαραίτητο.</li><li>Επιλέξτε το άλμπουμ προορισμού για τις φωτογραφίες σας ή δημιουργήστε ένα νέο.</li><li>Κάντε κλικ στο <b>Next</b>. Ξεκινάει η πρόσθεση των φωτογραφιών.</li><li>Όταν τέλειώσει, ελέγξτε την γκαλερί σας για να δείτε εάν οι φωτογραφίες έχουν προστεθεί κατάλληλα.</li></ul>
+EOT;
+
+$lang_xp_publish_notes = <<<EOT
+<h2>Σημειώσεις:</h2><ul><li>Από την στιγμή που θα ξεκινήσει η πρόσθεση, ο βοηθός δεν μπορεί να εμφανίσει οποιοδήποτε μύνημα λάθους από το πρόγραμμα οπότε δεν μπορείτε να ξέρετε εάν πέτυχε η πρόσθεση ή όχι μέχρι να ελέγξετε την γκαλερί σας.</li><li>Εάν η πρόσθεση αποτύχει, ενεργοποιήστε την &quot;Λειτουργία εντοπισμού λαθών&quot; στην σελίδα ρυθμίσεων του Coppermine, προσπαθήστε με μία μόνο φωτογραφία και ελέγξτε για μυνήματα λάθους στο
+EOT;
+
+$lang_xp_publish_flood = <<<EOT
+αρχείο που βρίσκεται στον κατάλογο του Coppermine στον διακομιστή σας.</li><li>Για να αποφύγετε τυχόν <i>πλημμύρα</i> της γκαλερί από φωτογραφίες που προστέθηκαν μέσω του βοηθού, μόνο οι <b>διαχειριστές της γκαλερί</b> και <b>χρήστες που μπορούν να έχουν δικά τους άλμπουμς</b> μπορούν να χρησιμοποιήσουν αυτή τη λειτουργία.</li>
+EOT;
+
+
+
+$lang_xp_publish_php = array(
+  'title' => 'Coppermine - Βοηθός Δημοσίευσης στο Ίντερνετ των XP', //cpg1.4
+  'welcome' => 'Καλωσήλθατε <b>%s</b>,', //cpg1.4
+  'need_login' => 'Πρέπει να συνδεθείτε στην γκαλερί με τον πλοηγό ιστοσελίδων πριν μπορέσετε να χρησιμοποιήσετε αυτόν τον βοηθό.<p/><p>Όταν συνδεθείτε μην ξεχάσετε να επιλέξετε την επιλογή <b>αυτόματη αναγνώριση</b> εάν υπάρχει.', //cpg1.4
+  'no_alb' => 'Συγνώμη αλλά δεν υπάρχει άλμπουμ στο οποίο να σας επιτρέπεται η πρόσθεση φωτογραφιών με αυτόν τον βοηθό.', //cpg1.4
+  'upload' => 'Πρόσθεση φωτογραφιών σε υπάρχων άλμπουμ', //cpg1.4
+  'create_new' => 'Δημιουργία νέου άλμπουμ για τις φωτογραφίες σας', //cpg1.4
+  'album' => '\'Αλμπουμ', //cpg1.4
+  'category' => 'Κατηγορία', //cpg1.4
+  'new_alb_created' => 'Το νέο σας άλμπουμ &quot;<b>%s</b>&quot; δημιουργήθηκε.', //cpg1.4
+  'continue' => 'Κάντε κλικ στο &quot;Επόμενο&quot; για να ξεκινήσετε την πρόσθεση των φωτογραφιών σας', //cpg1.4
+  'link' => 'αυτόν τον σύνδεσμο', //cpg1.4
+);
+}
 ?>
\ No newline at end of file
diff -x .svn -aruN 1.4.24.src/lang/hebrew.php 1.4.25.src/lang/hebrew.php
--- 1.4.24.src/lang/hebrew.php	2009-05-25 15:01:17.000000000 -0500
+++ 1.4.25.src/lang/hebrew.php	2009-05-26 11:25:40.000000000 -0500
@@ -1,2109 +1,2109 @@
-<?php
-/*************************
-  Coppermine Photo Gallery
-  ************************
-  Copyright (c) 2003-2009 Coppermine Dev Team
-  v1.1 originally written by Gregory DEMAR
-
-  This program is free software; you can redistribute it and/or modify
-  it under the terms of the GNU General Public License version 3
-  as published by the Free Software Foundation.
-  
-  ********************************************
-  Coppermine version: 1.4.24
-  $HeadURL: https://coppermine.svn.sourceforge.net/svnroot/coppermine/trunk/cpg1.4.x/lang/hebrew.php $
-  $Revision: 5988 $
-  $Author: gaugau $
-  $Date: 2009-05-25 22:01:41 +0200 (Mo, 25 Mai 2009) $
-**********************************************/
-
-if (!defined('IN_COPPERMINE')) { die('Not in Coppermine...');}
-
-// info about translators and translated language
-$lang_translation_info = array(
-  'lang_name_english' => 'Hebrew', //cpg1.4
-  'lang_name_native' => 'עברית', //cpg1.4
-  'lang_country_code' => 'he_IL.UTF-8', //cpg1.4
-  //translator comment: common country codes include are "he_IL.utf8" (recommended) / "he" / "hebrew" / "he_IL". if on *nix: use `locale -a`to find put
-  //I've only translated the fields I've needed. You can submit your changes to me and get credit for your work here.
-  'trans_name'=> 'ליאור דוד',
-  'trans_email' => '',
-  'trans_website' => 'http://lior.l8d.org/projects/coppermine-heb/',
-  'trans_date' => '2006-12-19',
-);
-
-$lang_charset = 'utf-8';
-$lang_text_dir = 'rtl'; // ('ltr' for left to right, 'rtl' for right to left)
-
-// shortcuts for Byte, Kilo, Mega
-$lang_byte_units = array('בתים', 'ק"ב', 'מ"ב');
-
-// Day of weeks and months
-$lang_day_of_week = array('ראשון', 'שני', 'שלישי', 'רביעי', 'חמישי', 'שישי', 'שבת');
-$lang_month = array('ינואר', 'פברואר', 'מרץ', 'אפריל', 'מאי', 'יוני', 'יולי', 'אוגוסט', 'ספטמבר', 'אוקטובר', 'נובמבר', 'דצמבר');
-
-// Some common strings
-$lang_yes = 'כן';
-$lang_no  = 'לא';
-$lang_back = 'חזרה';
-$lang_continue = 'המשך';
-$lang_info = 'מידע';
-$lang_error = 'שגיאה';
-$lang_check_uncheck_all = 'בחר/נקה הכל'; //cpg1.4
-
-// The various date formats
-// See http://www.php.net/manual/en/function.strftime.php to define the variable below
-$album_date_fmt =    '%d ל%B, %Y';
-$lastcom_date_fmt =  '%d/%m/%y ב%H:%M';
-$lastup_date_fmt = '%d ל%B, %Y';
-$register_date_fmt = '%B %d, %Y';
-$lasthit_date_fmt = '%d ל%B %Y, %H:%M';
-$comment_date_fmt =  '%d ל%B %Y, %H:%M';
-$log_date_fmt = '%d ל%B %Y, %H:%M'; //cpg1.4
-
-// For the word censor
-$lang_bad_words = array('*fuck*', 'asshole', 'assramer', 'bitch*', 'c0ck', 'clits', 'Cock', 'cum', 'cunt*', 'dago', 'daygo', 'dego', 'dick*', 'dildo', 'fanculo', 'feces', 'foreskin', 'Fu\(*', 'fuk*', 'honkey', 'hore', 'injun', 'kike', 'lesbo', 'masturbat*', 'motherfucker', 'nazis', 'nigger*', 'nutsack', 'penis', 'phuck', 'poop', 'pussy', 'scrotum', 'shit', 'slut', 'titties', 'titty', 'twaty', 'wank*', 'whore', 'wop*', 'זין', 'זונה', 'כוסית', 'קוקסינל', 'מניאק', 'מנייאק', 'מזדיין', 'שרמוט*');
-
-$lang_meta_album_names = array(
-  'random' => 'קבצים אקראיים',
-  'lastup' => 'האחרונים שנוספו',
-  'lastalb'=> 'האלבומים האחרונים שעודכנו',
-  'lastcom' => 'הערות אחרונות',
-  'topn' => 'הנצפים ביותר',
-  'toprated' => 'הטובים ביותר',
-  'lasthits' => 'האחרונים שנצפו',
-  'search' => 'תוצאות החיפוש',
-  'favpics'=> 'קבצים מועדפים',  //cpg1.4
-);
-
-$lang_errors = array(
-  'access_denied' => 'אין לך הרשאה לצפות בעמוד זה.',
-  'perm_denied' => 'אין לך הרשאה לבצע פעולה זו.',
-  'param_missing' => 'לא נשלחו לסקריפט הפרמטרים הדרושים',
-  'non_exist_ap' => 'האלבום או הקובץ שבחרת אינם קיימים',
-  'quota_exceeded' => 'חריגה מהקצאת הדיסק<br /><br />הוקצו לך [quota]K, מתוכם מנוצלים [space]K, הוספת קובץ זה תגרום לחריגה מהנפח המותר.',
-  'gd_file_type_err' => 'בשימוש בספריית GDת סוגי התמונות היחידים המותרים הם Jpeg וGIF',
-  'invalid_image' => 'התמונה ששלחת משובשת, או שאינה נתמכת ע"י ספריית GD',
-  'resize_failed' => 'תקלה ביצירת התמונה המוקטנת או בהקטנת גודל הקובץ.',
-  'no_img_to_display' => 'אין תמונות להצגה',
-  'non_exist_cat' => 'הקטגוריה שבחרת אינה קיימת',
-  'orphan_cat' => 'A category has a non-existing parent, run the category manager to correct the problem!',
-  'directory_ro' => 'Directory \'%s\' is not writable, files can\'t be deleted',
-  'non_exist_comment' => 'The selected comment does not exist.',
-  'pic_in_invalid_album' => 'File is in a non existant album (%s)!?',
-  'banned' => 'You are currently banned from using this site.',
-  'not_with_udb' => 'This function is disabled in Coppermine because it is integrated with forum software. Either what you are trying to do is not supported in this configuration, or the function should be handled by the forum software.',
-  'offline_title' => 'לא פעיל',
-  'offline_text' => 'הגלריה לא פעילה כרגע - אנא בדוק שוב מאוחר יותר',
-  'ecards_empty' => 'לא קיים רישום בנוגע לגלויות אלקטרוניות.',
-  'action_failed' => 'Action failed.  Coppermine is unable to process your request.',
-  'no_zip' => 'The necessary libraries to process ZIP files are not available.  Please contact your Coppermine administrator.',
-  'zip_type' => 'You do not have permission to upload ZIP files.',
-  'database_query' => 'There was an error while processing a database query', //cpg1.4
-  'register_globals_on' => 'The PHP setting register_globals is enabled on your server, which is a bad idea in terms of security. It\'s strongly recommended to turn it off. [<a href="http://forum.coppermine-gallery.net/index.php/topic,59569.0.html" rel="external" class="external">more</a>]',
-);
-
-$lang_bbcode_help_title = 'עזרה ל- bbcode'; //cpg1.4
-$lang_bbcode_help = 'You can add clickable links and some formating to this field by using bbcode tags: <li>[b]Bold[/b] =&gt; <b>Bold</b></li><li>[i]Italic[/i] =&gt; <i>Italic</i></li><li>[url=http://yoursite.com/]Url Text[/url] =&gt; <a href="http://yoursite.com">Url Text</a></li><li>[email]user@domain.com[/email] =&gt; <a href="mailto:user@domain.com">user@domain.com</a></li><li>[color=red]some text[/color] =&gt; <span style="color:red">some text</span></li><li>[img]http://coppermine-gallery.net/demo/cpg14x/images/red.gif[/img] => <img src="../images/red.gif" border="0" alt="" /></li>'; //cpg1.4
-
-// ------------------------------------------------------------------------- //
-// File theme.php
-// ------------------------------------------------------------------------- //
-
-$lang_main_menu = array(
-  'home_title' => 'חזרה לדף הראשי',
-  'home_lnk' => 'דף ראשי',
-  'alb_list_title' => 'רשימת אלבומים',
-  'alb_list_lnk' => 'רשימת אלבומים',
-  'my_gal_title' => 'הגלריה שלי',
-  'my_gal_lnk' => 'הגלריה שלי',
-  'my_prof_title' => 'הפרופיל שלי', //cpg1.4
-  'my_prof_lnk' => 'הפרופיל שלי',
-  'adm_mode_title' => 'עבור למצב ניהול',
-  'adm_mode_lnk' => 'מצב ניהול',
-  'usr_mode_title' => 'עבור למצב משתמש רגיל',
-  'usr_mode_lnk' => 'מצב משתמש רגיל',
-  'upload_pic_title' => 'הוסף קובץ לאלבום',
-  'upload_pic_lnk' => 'שלח קובץ',
-  'register_title' => 'צור חשבון',
-  'register_lnk' => 'הרשמה',
-  'login_title' => 'חבר אותי לאתר', //cpg1.4
-  'login_lnk' => 'התחבר',
-  'logout_title' => 'נתק אותי מהאתר', //cpg1.4
-  'logout_lnk' => 'התנתקות',
-  'lastup_title' => 'הצג קבצים אחרונים שנוספו', //cpg1.4
-  'lastup_lnk' => 'האחרונים שנוספו',
-  'lastcom_title' => 'הצג ההערות האחרונות שנוספו', //cpg1.4
-  'lastcom_lnk' => 'הערות אחרונות',
-  'topn_title' => 'הצג הקבצים הכי נצפים', //cpg1.4
-  'topn_lnk' => 'הנצפים ביותר',
-  'toprated_title' => 'הצג הקבצים המדורגים כטובים ביותר', //cpg1.4
-  'toprated_lnk' => 'המדורגים כטובים ביותר',
-  'search_title' => 'חפש בגלריה', //cpg1.4
-  'search_lnk' => 'חיפוש',
-  'fav_title' => 'המועדפים שלי', //cpg1.4
-  'fav_lnk' => 'המועדפים שלי',
-  'memberlist_title' => 'הצג רשימת חברים',
-  'memberlist_lnk' => 'רשימת חברים',
-  'faq_title' => 'שאלות נפוצות בקשר לגלריה "Coppermine"',
-  'faq_lnk' => 'שו"ת',
-);
-
-$lang_gallery_admin_menu = array(
-  'upl_app_title' => 'אישור העלאות חדשות', //cpg1.4
-  'upl_app_lnk' => 'אישור העלאות',
-  'admin_title' => 'תפריט הגדרות המערכת', //cpg1.4
-  'admin_lnk' => 'הגדרות', //cpg1.4
-  'albums_title' => 'תפריט הגדרות האלבומים', //cpg1.4
-  'albums_lnk' => 'אלבומים',
-  'categories_title' => 'תפריט הגדרות הקטגוריות', //cpg1.4
-  'categories_lnk' => 'קטגוריות',
-  'users_title' => 'תפריט ניהול המשתמשים', //cpg1.4
-  'users_lnk' => 'משתמשים',
-  'groups_title' => 'Go to group configuration', //cpg1.4
-  'groups_lnk' => 'קבוצות משתמשים',
-  'comments_title' => 'Review all comments', //cpg1.4
-  'comments_lnk' => 'צפה בהערות',
-  'searchnew_title' => 'Go to the batch add process', //cpg1.4
-  'searchnew_lnk' => 'הוספת קבצים',
-  'util_title' => 'Go to the admin tools', //cpg1.4
-  'util_lnk' => 'כלי ניהול',
-  'key_title' => 'Go to the keyword dictionary', //cpg1.4
-  'key_lnk' => 'Keyword Dictionary', //cpg1.4
-  'ban_title' => 'Go to the banned users', //cpg1.4
-  'ban_lnk' => 'החרמת משתמשים',
-  'db_ecard_title' => 'Review Ecards', //cpg1.4
-  'db_ecard_lnk' => 'הצגת גלויית',
-  'pictures_title' => 'מיון התמונות שלי', //cpg1.4
-  'pictures_lnk' => 'מיון התמונות שלי', //cpg1.4
-  'documentation_lnk' => 'דוקומנטציה', //cpg1.4
-  'documentation_title' => 'Coppermine manual', //cpg1.4
-);
-
-$lang_user_admin_menu = array(
-  'albmgr_title' => 'Create and order my albums', //cpg1.4
-  'albmgr_lnk' => 'Create / order my albums',
-  'modifyalb_title' => 'Go to modify my albums',  //cpg1.4
-  'modifyalb_lnk' => 'Modify my albums',
-  'my_prof_title' => 'Go to my personal profile', //cpg1.4
-  'my_prof_lnk' => 'הפרופיל שלי',
-);
-
-$lang_cat_list = array(
-  'category' => 'קטגוריות',
-  'albums' => 'אלבומים',
-  'pictures' => 'קבצים',
-);
-
-$lang_album_list = array(
-  'album_on_page' => '%d אלבומים ב-%d עמודים',
-);
-
-$lang_thumb_view = array(
-  'date' => 'תאריך',
-  //Sort by filename and title
-  'name' => 'שם קובץ',
-  'title' => 'כותרת',
-  'sort_da' => 'מיון לפי תאריך בסדר עולה',
-  'sort_dd' => 'מיון לפי תאריך בסדר יורד',
-  'sort_na' => 'מיון לפי שם בסדר עולה',
-  'sort_nd' => 'מיון לפי שם בסדר יורד',
-  'sort_ta' => 'מיון לפי כותרת בסדר עולה',
-  'sort_td' => 'מיון לפי כותרת בסדר יורד',
-  'position' => 'מיקום', //cpg1.4
-  'sort_pa' => 'מיון לפי מיקום בסדר עולה', //cpg1.4
-  'sort_pd' => 'מיון לפי מיקום בסדר יורד', //cpg1.4
-  'download_zip' => 'הוורדת התמונות כקובץ ZIP',
-  'pic_on_page' => '%d קבצים ב- %d עמודים',
-  'user_on_page' => '%d users on %d page(s)',
-  'enter_alb_pass' => 'Enter Album Password', //cpg1.4
-  'invalid_pass' => 'Invalid Password', //cpg1.4
-  'pass' => 'Password', //cpg1.4
-  'submit' => 'Submit', //cpg1.4
-);
-
-$lang_img_nav_bar = array(
-  'thumb_title' => 'חזרה לעמוד התמונות',
-  'pic_info_title' => 'הצג/הסתר מידע קובץ',
-  'slideshow_title' => 'מצגת תמונות מתחלפות',
-  'ecard_title' => 'Send this file as an e-card',
-  'ecard_disabled' => 'e-cards are disabled',
-  'ecard_disabled_msg' => 'You don\'t have permission to send ecards', //js-alert
-  'prev_title' => 'הצג הקובץ הקודם',
-  'next_title' => 'הצג הקובץ הבא',
-  'pic_pos' => 'קובץ %s/%s',
-  'report_title' => 'Report this file to the administrator', //cpg1.4
-  'go_album_end' => 'Skip to end', //cpg1.4
-  'go_album_start' => 'Return to start', //cpg1.4
-  'go_back_x_items' => 'go back %s items', //cpg1.4
-  'go_forward_x_items' => 'go forward %s items', //cpg1.4
-);
-
-$lang_rate_pic = array(
-  'rate_this_pic' => 'דרג תמונה זו ',
-  'no_votes' => '(עדיין אין דירוג)',
-  'rating' => '(דירוג נוכחי : %s / 5 ע"י %s משתמשים)',
-  'rubbish' => 'על הפנים!',
-  'poor' => 'גרוע',
-  'fair' => 'סביר',
-  'good' => 'טוב',
-  'excellent' => 'טוב מאוד',
-  'great' => 'מצויין!',
-);
-
-// ------------------------------------------------------------------------- //
-// File include/exif.inc.php
-// ------------------------------------------------------------------------- //
-
-// void
-
-// ------------------------------------------------------------------------- //
-// File include/functions.inc.php
-// ------------------------------------------------------------------------- //
-
-$lang_cpg_die = array(
-  INFORMATION => $lang_info,
-  ERROR => $lang_error,
-  CRITICAL_ERROR => 'Critical error',
-  'file' => 'קובץ: ',
-  'line' => 'Line: ',
-);
-
-$lang_display_thumbnails = array(
-  'filename' => 'שם הקובץ=', //cpg1.4
-  'filesize' => 'גודל הקובץ=', //cpg1.4
-  'dimensions' => 'מימדים=', //cpg1.4
-  'date_added' => 'נוסף בתאריך=', //cpg1.4
-);
-
-$lang_get_pic_data = array(
-  'n_comments' => '%s הערות',
-  'n_views' => '%s צפיות',
-  'n_votes' => '(%s הצבעות)',
-);
-
-$lang_cpg_debug_output = array(
-  'debug_info' => 'Debug Info',
-  'select_all' => 'Select All',
-  'copy_and_paste_instructions' => 'If you\'re going to request help on the coppermine support board, copy-and-paste this debug output into your posting when requested, along with the error message you get (if any). Make sure to replace any passwords from the query with *** before posting. <br />Note: This is for information only and does not mean there is an error with your gallery.', //cpg1.4
-  'phpinfo' => 'display phpinfo',
-  'notices' => 'Notices', //cpg1.4
-);
-
-$lang_language_selection = array(
-  'reset_language' => 'Default language',
-  'choose_language' => 'Choose your language',
-);
-
-$lang_theme_selection = array(
-  'reset_theme' => 'Default theme',
-  'choose_theme' => 'Choose a theme',
-);
-
-$lang_version_alert = array(
-  'version_alert' => 'Unsupported version!', //cpg1.4
-  'security_alert' => 'Security Alert!', //cpg1.4.3
-  'relocate_exists' => 'Remove the <a href="http://coppermine-gallery.net/forum/index.php?topic=24217.0">relocate_server.php</a> file from your website!',
-  'no_stable_version' => 'You are running Coppermine %s (%s) which is only meant for very experienced users - this version comes without support nor any warranties. Use it at your own risk or downgrade to the latest stable version if you need support!', //cpg1.4
-  'gallery_offline' => 'The gallery is currently offline and will be only visible for you as admin. Don\'t forget to switch it back online after finishing maintenance.', //cpg1.4
-);
-
-$lang_create_tabs = array(
-  'previous' => 'previous', //cpg1.4
-  'next' => 'next', //cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File include/init.inc.php
-// ------------------------------------------------------------------------- //
-
-// void
-
-// ------------------------------------------------------------------------- //
-// File keyword.inc.php                                                      //
-// ------------------------------------------------------------------------- //
-
-// void
-
-// ------------------------------------------------------------------------- //
-// File include/picmgmt.inc.php
-// ------------------------------------------------------------------------- //
-
-// void
-
-// ------------------------------------------------------------------------- //
-// File include/plugin_api.inc.php
-// ------------------------------------------------------------------------- //
-$lang_plugin_api = array(
-  'error_wakeup' => "Couldn't awaken plugin '%s'", //cpg1.4
-  'error_install' => "Couldn't install plugin '%s'", //cpg1.4
-  'error_uninstall' => "Couldn't uninstall plugin '%s'", //cpg1.4
-  'error_sleep' => "Couldn't uninstall plugin '%s'<br />", //cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File include/smilies.inc.php
-// ------------------------------------------------------------------------- //
-
-if (defined('SMILIES_PHP')) $lang_smilies_inc_php = array(
-  'Exclamation' => 'Exclamation',
-  'Question' => 'Question',
-  'Very Happy' => 'Very Happy',
-  'Smile' => 'Smile',
-  'Sad' => 'Sad',
-  'Surprised' => 'Surprised',
-  'Shocked' => 'Shocked',
-  'Confused' => 'Confused',
-  'Cool' => 'Cool',
-  'Laughing' => 'Laughing',
-  'Mad' => 'Mad',
-  'Razz' => 'Razz',
-  'Embarassed' => 'Embarassed',
-  'Crying or Very sad' => 'Crying or Very sad',
-  'Evil or Very Mad' => 'Evil or Very Mad',
-  'Twisted Evil' => 'Twisted Evil',
-  'Rolling Eyes' => 'Rolling Eyes',
-  'Wink' => 'Wink',
-  'Idea' => 'Idea',
-  'Arrow' => 'Arrow',
-  'Neutral' => 'Neutral',
-  'Mr. Green' => 'Mr. Green',
-);
-
-// ------------------------------------------------------------------------- //
-// File addpic.php
-// ------------------------------------------------------------------------- //
-
-// void
-
-// ------------------------------------------------------------------------- //
-// File mode.php //cpg1.4
-// ------------------------------------------------------------------------- //
-
-if (defined('MODE_PHP')) $lang_mode_php = array(
-  0 => 'Leaving admin mode...',
-  1 => 'Entering admin mode...',
-);
-
-// ------------------------------------------------------------------------- //
-// File albmgr.php
-// ------------------------------------------------------------------------- //
-
-if (defined('ALBMGR_PHP')) $lang_albmgr_php = array(
-  'alb_need_name' => 'Albums need to have a name !', //js-alert
-  'confirm_modifs' => 'אתה בטוח שברצונך לבצע שינויים אלו?', //js-alert
-  'no_change' => 'You did not make any change !', //js-alert
-  'new_album' => 'אלבום חדש',
-  'confirm_delete1' => 'אתה בטוח שברצונך למחוק אלבום זה?', //js-alert
-  'confirm_delete2' => '\nAll files and comments it contains will be lost !', //js-alert
-  'select_first' => 'בחר אלבום תחילה!', //js-alert
-  'alb_mrg' => 'ניהול אלבומים',
-  'my_gallery' => '* הגלריה שלי *',
-  'no_category' => '* ללא קטגוריה *',
-  'delete' => 'מחק',
-  'new' => 'חדש',
-  'apply_modifs' => 'החל שינויים',
-  'select_category' => 'בחר קטגוריה',
-);
-
-// ------------------------------------------------------------------------- //
-// File banning.php
-// ------------------------------------------------------------------------- //
-
-if (defined('BANNING_PHP')) $lang_banning_php = array(
-  'title' => 'Ban Users', //cpg1.4
-  'user_name' => 'User Name', //cpg1.4
-  'ip_address' => 'IP Address', //cpg1.4
-  'expiry' => 'Expires (blank is permanent)', //cpg1.4
-  'edit_ban' => 'Save Changes', //cpg1.4
-  'delete_ban' => 'Delete', //cpg1.4
-  'add_new' => 'Add New Ban', //cpg1.4
-  'add_ban' => 'Add', //cpg1.4
-  'error_user' => 'Cannot find user', //cpg1.4
-  'error_specify' => 'You need to specifiy either a user name or an IP address', //cpg1.4
-  'error_ban_id' => 'Invalid ban ID!', //cpg1.4
-  'error_admin_ban' => 'You cannnot ban yourself!', //cpg1.4
-  'error_server_ban' => 'You were going to ban your own server? Tsk tsk, cannot do that...', //cpg1.4
-  'error_ip_forbidden' => 'You cannnot ban this IP - it is non-routable (private) anyway!<br />If you want to allow banning for private IPs, change this in your <a href="admin.php">Config</a> (only makes sense when Coppermine runs on a LAN).', //cpg1.4
-  'lookup_ip' => 'Lookup an IP address', //cpg1.4
-  'submit' => 'go!', //cpg1.4
-  'select_date' => 'select date', //cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File bridgemgr.php //cpg1.4
-// ------------------------------------------------------------------------- //
-
-if (defined('BRIDGEMGR_PHP')) $lang_bridgemgr_php = array(
-  'title' => 'Bridge Wizard',
-  'warning' => 'Warning: when using this wizard you have to understand that sensitive data is being sent using html forms. Only run it on your own PC (not on a public client like an internet cafe), and make sure to clear the browser cache and temporary files after you have finished, or others might be able to access your data!',
-  'back' => 'back',
-  'next' => 'next',
-  'start_wizard' => 'Start bridging wizard',
-  'finish' => 'Finish',
-  'hide_unused_fields' => 'hide unused form fields (recommended)',
-  'clear_unused_db_fields' => 'clear invalid database entries (recommended)',
-  'custom_bridge_file' => 'your custom bridge file\'s name (if the bridge file\'s name is <i>myfile.inc.php</i>, enter <i>myfile</i> into this field)',
-  'no_action_needed' => 'No action needed in this step. Just click \'next\' to continue.',
-  'reset_to_default' => 'Reset to default value',
-  'choose_bbs_app' => 'choose application to bridge coppermine with',
-  'support_url' => 'Go here for support on this application',
-  'settings_path' => 'path(s) used by your BBS app',
-  'database_connection' => 'database connection',
-  'database_tables' => 'database tables',
-  'bbs_groups' => 'BBS groups',
-  'license_number' => 'License number',
-  'license_number_explanation' => 'enter your license number (if applicable)',
-  'db_database_name' => 'Database name',
-  'db_database_name_explanation' => 'Enter the name of the database your BBS app uses',
-  'db_hostname' => 'Database host',
-  'db_hostname_explanation' => 'Hostname where your mySQL database resides, usually &quot;localhost&quot;',
-  'db_username' => 'Database user account',
-  'db_username_explanation' => 'mySQL user account to use for connection with BBS',
-  'db_password' => 'Database passsword',
-  'db_password_explanation' => 'Passsword for this mySQL user account',
-  'full_forum_url' => 'Forum URL',
-  'full_forum_url_explanation' => 'Full URL of your BBS app (including the leading http:// bit, e.g. http://www.yourdomain.tld/forum)',
-  'relative_path_of_forum_from_webroot' => 'Relative forum path',
-  'relative_path_of_forum_from_webroot_explanation' => 'Relative path to your BBS app from the webroot (Example: if your BBS is at http://www.yourdomain.tld/forum/, enter &quot;/forum/&quot; into this field)',
-  'relative_path_to_config_file' => 'Relative path to your BBS\'s config file',
-  'relative_path_to_config_file_explanation' => 'Relative path to your BBS, seen from your Coppermine folder (e.g. &quot;../forum/&quot; if your BBS is at http://www.yourdomain.tld/forum/ and Coppermine at http://www.yourdomain.tld/gallery/)',
-  'cookie_prefix' => 'Cookie prefix',
-  'cookie_prefix_explanation' => 'this has to be your BBS\'s cookie name',
-  'table_prefix' => 'Table prefix',
-  'table_prefix_explanation' => 'Must match the prefix you chose for your BBS when setting it up.',
-  'user_table' => 'User table',
-  'user_table_explanation' => '(usually default value should be OK, unless your BBS install isn\'t standard)',
-  'session_table' => 'Session table',
-  'session_table_explanation' => '(usually default value should be OK, unless your BBS install isn\'t standard)',
-  'group_table' => 'Group table',
-  'group_table_explanation' => '(usually default value should be OK, unless your BBS install isn\'t standard)',
-  'group_relation_table' => 'Group relation table',
-  'group_relation_table_explanation' => '(usually default value should be OK, unless your BBS install isn\'t standard)',
-  'group_mapping_table' => 'Group mapping table',
-  'group_mapping_table_explanation' => '(usually default value should be OK, unless your BBS install isn\'t standard)',
-  'use_standard_groups' => 'Use standard BBS usergroups',
-  'use_standard_groups_explanation' => 'Use standard (built-in) usergroups (recommended). This will make all custom usergroups settings made on this page become void. Only disable this option if you REALLY know what you\'re doing!',
-  'validating_group' => 'Validating group',
-  'validating_group_explanation' => 'The group ID of your BBS where users accounts that need validation are in (usually default value should be OK, unless your BBS install isn\'t standard)',
-  'guest_group' => 'Guest group',
-  'guest_group_explanation' => 'Group ID of your BBS where guests (anonymous users) are in (default value should be OK, only edit if you know what you\'re doing)',
-  'member_group' => 'Member group',
-  'member_group_explanation' => 'Group ID of your BBS where &quot;regular&quot; users accounts are in (default value should be OK, only edit if you know what you\'re doing)',
-  'admin_group' => 'Admin group',
-  'admin_group_explanation' => 'Group ID of your BBS where admins are in (default value should be OK, only edit if you know what you\'re doing)',
-  'banned_group' => 'Banned group',
-  'banned_group_explanation' => 'Group ID of your BBS where banned users are in (default value should be OK, only edit if you know what you\'re doing)',
-  'global_moderators_group' => 'Global moderators group',
-  'global_moderators_group_explanation' => 'Group ID of your BBS where global moderators of your BBS are in (default value should be OK, only edit if you know what you\'re doing)',
-  'special_settings' => 'BBS-specific settings',
-  'logout_flag' => 'phpBB version (logout flag)',
-  'logout_flag_explanation' => 'What\'s your BBS version (this setting specifies how logouts are being handled)',
-  'use_post_based_groups' => 'Use post-based groups?',
-  'logout_flag_yes' => '2.0.5 or higher',
-  'logout_flag_no' => '2.0.4 or lower',
-  'use_post_based_groups_explanation' => 'Should the groups from the BBS that are defined by the number of posts be taken into account (allows a granular permissions management) or just the default groups (makes administration easier, recommended). You can change this setting later as well.',
-  'use_post_based_groups_yes' => 'yes',
-  'use_post_based_groups_no' => 'no',
-  'error_title' => 'You need to correct these errors before you can continue. Go to the previous screen.',
-  'error_specify_bbs' => 'You have to specify what application you want to bridge your Coppermine install with.',
-  'error_no_blank_name' => 'You can\'t leave the name of your custom bridge file blank.',
-  'error_no_special_chars' => 'The bridge file name mustn\'t contain any special chars except underscore (_) and dash (-)!',
-  'error_bridge_file_not_exist' => 'The bridge file %s doesn\'t exist on the server. Check if you have actually uploaded it.',
-  'finalize' => 'enable/disable BBS integration',
-  'finalize_explanation' => 'So far, the settings you specified have been written into the database, but BBS integration hasn\'t been enabled. You can switch integration on/off later at any time. Make sure to remember the admin username and password from standalone Coppermine, you might need it later to be able to make any changes. If anything goes wrong, go to %s and disable BBS integration there, using your standalone (unbridged) admin account (usually the one you set up during Coppermine install).',
-  'your_bridge_settings' => 'Your bridge settings',
-  'title_enable' => 'Enable integration/bridging with %s',
-  'bridge_enable_yes' => 'enable',
-  'bridge_enable_no' => 'disable',
-  'error_must_not_be_empty' => 'must not be empty',
-  'error_either_be' => 'must either be %s or %s',
-  'error_folder_not_exist' => '%s doesn\'t exist. Correct the value you entered for %s',
-  'error_cookie_not_readible' => 'Coppermine can\'t read a cookie named %s. Correct the value you entered for %s, or go to your BBS administration panel and make sure that the cookie path is readible for coppermine.',
-  'error_mandatory_field_empty' => 'You can not leave the field %s blank - fill in the proper value.',
-  'error_no_trailing_slash' => 'There mustn\'t be a trailing slash in the field %s.',
-  'error_trailing_slash' => 'There must be a trailing slash in the field %s.',
-  'error_db_connect' => 'Could not connect to the mySQL database with the data you specified. Here\'s what mySQL said:',
-  'error_db_name' => 'Although Coppermine could establish a connection, it wasn\'t able to find the database %s. Make sure you have specified %s properly. Here\'s what mySQL said:',
-  'error_prefix_and_table' => '%s and ',
-  'error_db_table' => 'Could not find the table %s. Make sure you have specified %s correctly.',
-  'recovery_title' => 'Bridge Manager: emergency recovery',
-  'recovery_explanation' => 'If you came here to administer the BBS integration of your Coppermine gallery, you have to log in first as admin. If you can not log in because bridging doesn\'t work as expected, you can disable BBS integration with this page. Entering your username and password will not log you in, it will only disable BBS integration. Refer to the documentation for details.',
-  'username' => 'Username',
-  'password' => 'Password',
-  'disable_submit' => 'submit',
-  'recovery_success_title' => 'Authorization successful',
-  'recovery_success_content' => 'You have successfully disabled BBS bridging. Your Coppermine install runs now in standalone mode.',
-  'recovery_success_advice_login' => 'Log in as admin to edit your bridge settings and/or enable BBS integration again.',
-  'goto_login' => 'Go to login page',
-  'goto_bridgemgr' => 'Go to bridge manager',
-  'recovery_failure_title' => 'Authorization failed',
-  'recovery_failure_content' => 'You supplied the wrong credentials. You will have to supply the admin account data of the standalone version (usually the account you set up during Coppermine install).',
-  'try_again' => 'try again',
-  'recovery_wait_title' => 'Wait time has not elapsed',
-  'recovery_wait_content' => 'For security reasons this script does not allow failed logons in short succession, so you will have to wait a bit untill you\'re allowed to try to authenticate.',
-  'wait' => 'wait',
-  'create_redir_file' => 'Create redirection file (recommended)',
-  'create_redir_file_explanation' => 'To redirect users back to Coppermine once they logged into your BBS, you need a redirection file to be created within your BBS folder. When this option is checked, the bridge manager will attempt to create this file for you, or give you code ready to copy-and-paste to create the file manually.',
-  'browse' => 'browse',
-);
-
-// ------------------------------------------------------------------------- //
-// File calendar.php //cpg1.4
-// ------------------------------------------------------------------------- //
-
-if (defined('CALENDAR_PHP')) $lang_calendar_php = array(
-  'title' => 'Calendar', //cpg1.4
-  'close' => 'close', //cpg1.4
-  'clear_date' => 'clear date', //cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File catmgr.php
-// ------------------------------------------------------------------------- //
-
-if (defined('CATMGR_PHP')) $lang_catmgr_php = array(
-  'miss_param' => 'Parameters required for \'%s\'operation not supplied !',
-  'unknown_cat' => 'Selected category does not exist in database',
-  'usergal_cat_ro' => 'User galleries category can\'t be deleted !',
-  'manage_cat' => 'ניהול קטגוריות',
-  'confirm_delete' => 'אתה בטוח שברצונך למחוק קטגוריה זו?', //js-alert
-  'category' => 'קטגוריה',
-  'operations' => 'פעולות',
-  'move_into' => 'העבר ל-',
-  'update_create' => 'עדכון/יצירת קטגוריות',
-  'parent_cat' => 'קטגוריית אם',
-  'cat_title' => 'שם הקטגוריה',
-  'cat_thumb' => 'תמונה מוקטנת',
-  'cat_desc' => 'תיאור הקטגוריה',
-  'categories_alpha_sort' => 'מיון קטגוריות בסדר אלפאביתי (במקום סדר מותאם אישית)', //cpg1.4
-  'save_cfg' => 'שמירת הגדרות', //cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File admin.php //cpg1.4
-// ------------------------------------------------------------------------- //
-
-if (defined('ADMIN_PHP')) $lang_admin_php = array(
-  'title' => 'תצורת הגלריה', //cpg1.4
-  'manage_exif' => 'Manage exif display', //cpg1.4
-  'manage_plugins' => 'ניהול תוספים', //cpg1.4
-  'manage_keyword' => 'ניהול מילות מפתח', //cpg1.4
-  'restore_cfg' => 'שחזור הגדרות יצרן',
-  'save_cfg' => 'שמירת תצורת הגלריה',
-  'notes' => 'Notes',
-  'info' => 'מידע',
-  'upd_success' => 'הגדרות הגלריה עודכנו',
-  'restore_success' => 'הגדרות ברירת המחדל שוחזרו',
-  'name_a' => 'Name ascending',
-  'name_d' => 'Name descending',
-  'title_a' => 'Title ascending',
-  'title_d' => 'Title descending',
-  'date_a' => 'Date ascending',
-  'date_d' => 'Date descending',
-  'pos_a' => 'Position ascending', //cpg1.4
-  'pos_d' => 'Position descending', //cpg1.4
-  'th_any' => 'Max Aspect',
-  'th_ht' => 'Height',
-  'th_wd' => 'Width',
-  'label' => 'label',
-  'item' => 'item',
-  'debug_everyone' => 'כולם',
-  'debug_admin' => 'מנהלים בלבד',
-  'no_logs'=> 'כבוי', //cpg1.4
-  'log_normal'=> 'רגיל', //cpg1.4
-  'log_all' => 'הכל', //cpg1.4
-  'view_logs' => 'צפה ביומנים', //cpg1.4
-  'click_expand' => 'click section name to expand', //cpg1.4
-  'expand_all' => 'הרחב הכל', //cpg1.4
-  'notice1' => '(*) These settings mustn\'t be changed if you already have files in your database.', //cpg1.4 - (relocated)
-  'notice2' => '(**) When changing this setting, only the files that are added from that point on are affected, so it is advisable that this setting must not be changed if there are already files in the gallery. You can, however, apply the changes to the existing files with the &quot;<a href="util.php">admin tools</a> (resize pictures)&quot; utility from the admin menu.', //cpg1.4 - (relocated)
-  'notice3' => '(***) All log files are written in english.', //cpg1.4 - (relocated)
-  'bbs_disabled' => 'Function disabled when using bb integration', //cpg1.4
-  'auto_resize_everyone' => 'Everyone', //cpg1.4
-  'auto_resize_user' => 'User only', //cpg1.4
-  'ascending' => 'ascending', //cpg1.4
-  'descending' => 'descending', //cpg1.4
-);
-
-if (defined('ADMIN_PHP')) $lang_admin_data = array(
-  'הגדרות כלליות',
-  array('שם הגלריה', 'gallery_name', 0, 'f=index.htm&amp;as=admin_general_name&amp;ae=admin_general_name_end'), //cpg1.4
-  array('תיאור הגלריה', 'gallery_description', 0, 'f=index.htm&amp;as=admin_general_description&amp;ae=admin_general_description_end'), //cpg1.4
-  array('כתובת הדוא"ל של מנהל הגלריה', 'gallery_admin_email', 0, 'f=index.htm&amp;as=admin_general_email&amp;ae=admin_general_email_end'), //cpg1.4
-  array('כתובת ה-URL של תיקיית הגלריה (ללא \'index.php\' בסוף)', 'ecards_more_pic_target', 0, 'f=index.htm&amp;as=admin_general_coppermine-url&amp;ae=admin_general_coppermine-url_end'), //cpg1.4
-  array('כתובת ה-URL של עמוד הבית', 'home_target', 0, 'f=index.htm&amp;as=admin_general_home-url&amp;ae=admin_general_home-url_end'), //cpg1.4
-  array('אפשר הורדת המועדפים כקובץ ZIP', 'enable_zipdownload', 1, 'f=index.htm&amp;as=admin_general_zip-download&amp;ae=admin_general_zip-download_end'), //cpg1.4
-  array('הפרש אזור הזמן ביחס ל-GMT (הזמן הנוכחי: ' . localised_date(-1, $comment_date_fmt) . ')','time_offset',0, 'f=index.htm&amp;as=admin_general_time-offset&amp;ae=admin_general_time-offset_end&amp;top=1'), //cpg1.4
-  array('אפשר סיסמאות מוצפנות (לא ניתן לבטל תכונהזו לאחר שאופשרה)','enable_encrypted_passwords',1, 'f=index.htm&amp;as=admin_general_encrypt_password_start&amp;ae=admin_general_encrypt_password_end&amp;top=1'), // cpg 1.4
-  array('הצג אייקונים של עזרה (העזרה זמינה באנגלית בלבד)','enable_help',9, 'f=index.htm&amp;as=admin_general_help&amp;ae=admin_general_help_end'), //cpg1.4
-  array('אפשר מילות מפתח לחיצות בדף החיפוש','clickable_keyword_search',14, 'f=index.htm&amp;as=admin_general_keywords_start&amp;ae=admin_general_keywords_end'), //cpg1.4
-  array('אפשר פעולת תוספים (Plugins)', 'enable_plugins', 12, 'f=index.htm&amp;as=admin_general_enable-plugins&amp;ae=admin_general_enable-plugins_end'),  //cpg1.4
-  array('אשר החרמת כתובות IP פרטיות (non-routable)', 'ban_private_ip', 1,  'f=index.htm&amp;as=admin_general_private-ip&amp;ae=admin_general_private-ip_end'), //cpg1.4
-  array('ממשק הוספת קבצים הניתן לסיור', 'browse_batch_add', 1, 'f=index.htm&amp;as=admin_general_browsable_batch_add&amp;ae=admin_general_browsable_batch_add_end'), //cpg1.4
-
-  'הגדרות שפה ומערך תווים',
-  array('Language', 'lang', 5, 'f=index.htm&amp;as=admin_language_language&amp;ae=admin_language_language_end'), //cpg1.4
-  array('Fallback to English if translated phrase not found?', 'language_fallback', 1, 'f=index.htm&amp;as=admin_language_fallback&amp;ae=admin_language_fallback_end'), //cpg1.4
-  array('Character encoding', 'charset', 4, 'f=index.htm&amp;as=admin_language_charset&amp;ae=admin_language_charset_end'), //cpg1.4
-  array('Display language list', 'language_list', 1, 'f=index.htm&amp;as=admin_language_list&amp;ae=admin_language_list_end'), //cpg1.4
-  array('Display language flags', 'language_flags', 8, 'f=index.htm&amp;as=admin_language_flags&amp;ae=admin_language_flags_end&amp;top=1'), //cpg1.4
-  array('Display &quot;reset&quot; in language selection', 'language_reset', 1, 'f=index.htm&amp;as=admin_language_reset&amp;ae=admin_language_reset_end&amp;top=1'), //cpg1.4
-  //array('Display previous/next on tabbed pages', 'previous_next_tab', 1), //cpg1.4
-
-  'הגדרות ערכות נושא',
-  array('Theme', 'theme', 6, 'f=index.htm&amp;as=admin_theme_theme&amp;ae=admin_theme_theme_end'), //cpg1.4
-  array('Display theme list', 'theme_list', 1, 'f=index.htm&amp;as=admin_theme_theme_list&amp;ae=admin_theme_theme_list_end'), //cpg1.4
-  array('Display &quot;reset&quot; in theme selection', 'theme_reset', 1, 'f=index.htm&amp;as=admin_theme_theme_reset&amp;ae=admin_theme_theme_reset_end'), //cpg1.4
-  array('Display FAQ', 'display_faq', 1, 'f=index.htm&amp;as=admin_theme_faq&amp;ae=admin_theme_faq_end'), //cpg1.4
-  array('Custom menu link name', 'custom_lnk_name', 0,'f=index.htm&amp;as=admin_theme_custom_lnk_name&amp;ae=admin_theme_custom_lnk_name_end'), //cpg1.4
-  array('Custom menu link URL', 'custom_lnk_url', 0,'f=index.htm&amp;as=admin_language_custom_lnk_url&amp;ae=admin_language_custom_lnk_url_end'), //cpg1.4
-  array('Display bbcode help', 'show_bbcode_help', 1, 'f=index.htm&amp;as=admin_theme_bbcode&amp;ae=admin_theme_bbcode_end&amp;top=1'), //cpg1.4
-  array('Show the vanity block on themes that are defined as XHTML and CSS compliant','vanity_block',1, 'f=index.htm&amp;as=vanity_block&amp;ae=vanity_block_end'), //cpg1.4
-  array('Path to custom header include', 'custom_header_path', 0, 'f=index.htm&amp;as=admin_theme_include_path_start&amp;ae=admin_theme_include_path_end'), //cpg1.4
-  array('Path to custom footer include', 'custom_footer_path', 0, 'f=index.htm&amp;as=admin_theme_include_path_start&amp;ae=admin_theme_include_path_end'), //cpg1.4
-
-  'תצוגת רשימת אלבומים',
-  array('Width of the main table (pixels or %)', 'main_table_width', 0, 'f=index.htm&amp;as=admin_album_table-width&amp;ae=admin_album_table-width_end'), //cpg1.4
-  array('Number of levels of categories to display', 'subcat_level', 0, 'f=index.htm&amp;as=admin_album_category-levels&amp;ae=admin_album_category-levels_end'), //cpg1.4
-  array('Number of albums to display', 'albums_per_page', 0, 'f=index.htm&amp;as=admin_album_number&amp;ae=admin_album_number_end'), //cpg1.4
-  array('Number of columns for the album list', 'album_list_cols', 0, 'f=index.htm&amp;as=admin_album_columns&amp;ae=admin_album_columns_end'), //cpg1.4
-  array('Size of thumbnails in pixels', 'alb_list_thumb_size', 0, 'f=index.htm&amp;as=admin_album_thumbnail-size&amp;ae=admin_album_thumbnail-size_end'), //cpg1.4
-  array('The content of the main page', 'main_page_layout', 0, 'f=index.htm&amp;as=admin_album_list_content&amp;ae=admin_album_list_content_end'), //cpg1.4
-  array('Show first level album thumbnails in categories','first_level',1, 'f=index.htm&amp;as=admin_album_first-level_thumbs&amp;ae=admin_album_first-level_thumbs_end'), //cpg1.4
-  array('Sort categories alphabetically (instead of custom sort order)','categories_alpha_sort',1, 'f=index.htm&amp;as=admin_album_list_alphasort_start&amp;ae=admin_album_list_alphasort_end'), //cpg1.4
-  array('Show number of linked files','link_pic_count',1, 'f=index.htm&amp;as=admin_album_linked_files_start&amp;ae=admin_album_linked_files_end'), //cpg1.4
-
-  'תצוגת תמונות מוקטנות',
-  array('Number of columns on thumbnail page', 'thumbcols', 0, 'f=index.htm&amp;as=admin_thumbnail_columns&amp;ae=admin_thumbnail_columns_end'), //cpg1.4
-  array('Number of rows on thumbnail page', 'thumbrows', 0, 'f=index.htm&amp;as=admin_thumbnail_rows&amp;ae=admin_thumbnail_rows_end'), //cpg1.4
-  array('Maximum number of tabs to display', 'max_tabs', 10, 'f=index.htm&amp;as=admin_thumbnail_tabs&amp;ae=admin_thumbnail_tabs_end'), //cpg1.4
-  array('Display file caption (in addition to title) below the thumbnail', 'caption_in_thumbview', 1, 'f=index.htm&amp;as=admin_thumbnail_display_caption&amp;ae=admin_thumbnail_display_caption_end'), //cpg1.4
-  array('Display number of views below the thumbnail', 'views_in_thumbview', 1, 'f=index.htm&amp;as=admin_thumbnail_display_views&amp;ae=admin_thumbnail_display_views_end'), //cpg1.4
-  array('Display number of comments below the thumbnail', 'display_comment_count', 1, 'f=index.htm&amp;as=admin_thumbnail_display_comments&amp;ae=admin_thumbnail_display_comments_end'), //cpg1.4
-  array('Display uploader name below the thumbnail', 'display_uploader', 1, 'f=index.htm&amp;as=admin_thumbnail_display_uploader&amp;ae=admin_thumbnail_display_uploader_end'), //cpg1.4
-  //array('Display name of admin uploaders below the thumbnail', 'display_admin_uploader', 1, 'f=index.htm&amp;as=admin_thumbnail_display_admin_uploader&amp;ae=admin_thumbnail_display_admin_uploader_end'), //cpg1.4
-  array('Display file name below the thumbnail', 'display_filename', 1, 'f=index.htm&amp;as=admin_thumbnail_display_filename&amp;ae=admin_thumbnail_display_filename_end'), //cpg1.4
-  //array('Display album description', 'alb_desc_thumb', 1, 'f=index.htm&amp;as=admin_thumbnail_display_description&amp;ae=admin_thumbnail_display_description_end'), //cpg1.4
-  array('Default sort order for files', 'default_sort_order', 3, 'f=index.htm&amp;as=admin_thumbnail_default_sortorder&amp;ae=admin_thumbnail_default_sortorder_end'), //cpg1.4
-  array('Minimum number of votes for a file to appear in the \'top-rated\' list', 'min_votes_for_rating', 0, 'f=index.htm&amp;as=admin_thumbnail_minimum_votes&amp;ae=admin_thumbnail_minimum_votes_end'), //cpg1.4
-
-  'תצוגת תמונות', //cpg1.4
-  array('Width of the table for file display (pixels or %)', 'picture_table_width', 0, 'f=index.htm&amp;as=admin_image_comment_table-width&amp;ae=admin_image_comment_table-width_end'), //cpg1.4
-  array('File information is visible by default', 'display_pic_info', 1, 'f=index.htm&amp;as=admin_image_comment_info_visible&amp;ae=admin_image_comment_info_visible_end'), //cpg1.4
-  array('Max length for an image description', 'max_img_desc_length', 0, 'f=index.htm&amp;as=admin_image_comment_descr_length&amp;ae=admin_image_comment_descr_length_end'), //cpg1.4
-  array('Max number of characters in a word', 'max_com_wlength', 0, 'f=index.htm&amp;as=admin_image_comment_chars_per_word&amp;ae=admin_image_comment_chars_per_word_end'), //cpg1.4
-  array('Show film strip', 'display_film_strip', 1, 'f=index.htm&amp;as=admin_image_comment_filmstrip_toggle&amp;ae=admin_image_comment_filmstrip_toggle_end'), //cpg1.4
-  array('Display file name under film strip thumbnail', 'display_film_strip_filename', 1, 'f=index.htm&amp;as=admin_image_comment_display_film_strip_filename&amp;ae=admin_image_comment_display_film_strip_filename_end'), //cpg1.4
-  array('Number of items in film strip', 'max_film_strip_items', 0, 'f=index.htm&amp;as=admin_image_comment_filmstrip_number&amp;ae=admin_image_comment_filmstrip_number_end'), //cpg1.4
-  array('Slideshow interval in milliseconds (1 second = 1000 milliseconds)', 'slideshow_interval', 0, 'f=index.htm&amp;as=admin_image_comment_slideshow_interval&amp;ae=admin_image_comment_slideshow_interval_end'), //cpg1.4
-
-  'הגדרות הערות', //cpg1.4
-  array('Filter bad words in comments', 'filter_bad_words', 1, 'f=index.htm&amp;as=admin_image_comment_bad_words&amp;ae=admin_image_comment_bad_words_end'), //cpg1.4
-  array('Allow smiles in comments', 'enable_smilies', 1, 'f=index.htm&amp;as=admin_image_comment_smilies&amp;ae=admin_image_comment_smilies_end'), //cpg1.4
-  array('Allow several consecutive comments on one file from the same user (disable flood protection)', 'disable_comment_flood_protect', 1, 'f=index.htm&amp;as=admin_image_comment_flood&amp;ae=admin_image_comment_flood_end'), //cpg1.4
-  array('Max number of lines in a comment', 'max_com_lines', 0, 'f=index.htm&amp;as=admin_image_comment_lines&amp;ae=admin_image_comment_lines_end'), //cpg1.4
-  array('Maximum length of a comment', 'max_com_size', 0, 'f=index.htm&amp;as=admin_image_comment_length&amp;ae=admin_image_comment_length_end'), //cpg1.4
-  array('Notify admin of comments by email', 'email_comment_notification', 1, 'f=index.htm&amp;as=admin_image_comment_admin_notify&amp;ae=admin_image_comment_admin_notify_end'), //cpg1.4
-  array('Sort order of comments', 'comments_sort_descending', 17, 'f=index.htm&amp;as=admin_comment_sort_start&amp;ae=admin_comment_sort_end'), //cpg1.4
-  array('Prefix for anonymous comments authors', 'comments_anon_pfx', 0, 'f=index.htm&amp;as=comments_anon_pfx&amp;ae=comments_anon_pfx_end'), //cpg1.4
-
-  'הגדרות קבצים ותמונות מוקטנות',
-  array('Quality for JPEG files', 'jpeg_qual', 0, 'f=index.htm&amp;as=admin_picture_thumbnail_jpeg_quality&amp;ae=admin_picture_thumbnail_jpeg_quality_end'), //cpg1.4
-  array('Max dimension of a thumbnail <a href="#notice2" class="clickable_option">**</a>', 'thumb_width', 0, 'f=index.htm&amp;as=admin_picture_thumbnail_max-dimension&amp;ae=admin_picture_thumbnail_max-dimension_end'), //cpg1.4
-  array('Use dimension ( width or height or Max aspect for thumbnail ) <a href="#notice2" class="clickable_option">**</a>', 'thumb_use', 7, 'f=index.htm&amp;as=admin_picture_thumbnail_use-dimension&amp;ae=admin_picture_thumbnail_use-dimension_end'), //cpg1.4
-  array('Create intermediate pictures','make_intermediate',1, 'f=index.htm&amp;as=admin_picture_thumbnail_intermediate_toggle&amp;ae=admin_picture_thumbnail_intermediate_toggle_end'), //cpg1.4
-  array('Max width or height of an intermediate picture/video <a href="#notice2" class="clickable_option">**</a>', 'picture_width', 0, 'f=index.htm&amp;as=admin_picture_thumbnail_intermediate_dimension&amp;ae=admin_picture_thumbnail_intermediate_dimension_end'), //cpg1.4
-  array('Max size for uploaded files (KB)', 'max_upl_size', 0, 'f=index.htm&amp;as=admin_picture_thumbnail_max_upload_size&amp;ae=admin_picture_thumbnail_max_upload_size_end'), //cpg1.4
-  array('Max width or height for uploaded pictures/videos (pixels)', 'max_upl_width_height', 0, 'f=index.htm&amp;as=admin_picture_thumbnail_max_upload_dimension&amp;ae=admin_picture_thumbnail_max_upload_dimension_end'), //cpg1.4
-  array('Auto resize images that are larger than max width or height', 'auto_resize', 16, 'f=index.htm&amp;as=admin_picture_thumbnail_auto-resize&amp;ae=admin_picture_thumbnail_auto-resize_end'), //cpg1.4
-
-  'הגדרות מתקדמות של קבצים ותמונות מוקטנות',
-  array('Albums can be private (Note: if you switch from \'yes\' to \'no\' any current private albums will become public)', 'allow_private_albums', 1, 'f=index.htm&amp;as=admin_picture_thumb_advanced_private_toggle&amp;ae=admin_picture_thumb_advanced_private_toggle_end'), //cpg1.4
-  array('Show private album Icon to unlogged user','show_private',1, 'f=index.htm&amp;as=admin_picture_thumb_advanced_private_icon_show&amp;ae=admin_picture_thumb_advanced_private_icon_show_end'), //cpg1.4
-  array('Characters forbidden in filenames', 'forbiden_fname_char',0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_filename_forbidden_chars&amp;ae=admin_picture_thumb_advanced_filename_forbidden_chars_end'), //cpg1.4
-  //array('Accepted file extensions for uploaded pictures', 'allowed_file_extensions',0, 'f=index.htm&amp;as=&amp;ae=_end'), //cpg1.4
-  array('Allowed image types', 'allowed_img_types',0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_pic_extensions&amp;ae=admin_picture_thumb_advanced_pic_extensions_end'), //cpg1.4
-  array('Allowed movie types', 'allowed_mov_types',0, 'f=index.htm&amp;as=admin_thumbs_advanced_movie&amp;ae=admin_thumbs_advanced_movie_end'), //cpg1.4
-  array('Movie Playback Autostart', 'media_autostart',1, 'f=index.htm&amp;as=admin_movie_autoplay&amp;ae=admin_movie_autoplay_end'), //cpg1.4
-  array('Allowed audio types', 'allowed_snd_types',0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_audio_extensions&amp;ae=admin_picture_thumb_advanced_audio_extensions_end'), //cpg1.4
-  array('Allowed document types', 'allowed_doc_types',0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_doc_extensions&amp;ae=admin_picture_thumb_advanced_doc_extensions_end'), //cpg1.4
-  array('Method for resizing images','thumb_method',2, 'f=index.htm&amp;as=admin_picture_thumb_advanced_resize_method&amp;ae=admin_picture_thumb_advanced_resize_method_end'), //cpg1.4
-  array('Path to ImageMagick \'convert\' utility (example /usr/bin/X11/)', 'impath', 0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_im_path&amp;ae=admin_picture_thumb_advanced_im_path_end'), //cpg1.4
-  //array('Allowed image types (only valid for ImageMagick)', 'allowed_img_types',0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_allowed_imagetypes&amp;ae=admin_picture_thumb_advanced_allowed_imagetypes_end'), //cpg1.4
-  array('Command line options for ImageMagick', 'im_options', 0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_im_commandline&amp;ae=admin_picture_thumb_advanced_im_commandline_end'), //cpg1.4
-  array('Read EXIF data in JPEG files', 'read_exif_data', 13, 'f=index.htm&amp;as=admin_picture_thumb_advanced_exif&amp;ae=admin_picture_thumb_advanced_exif_end'), //cpg1.4
-  array('Read IPTC data in JPEG files', 'read_iptc_data', 1, 'f=index.htm&amp;as=admin_picture_thumb_advanced_iptc&amp;ae=admin_picture_thumb_advanced_iptc_end'), //cpg1.4
-  array('The album directory <a href="#notice1" class="clickable_option">*</a>', 'fullpath', 0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_albums_dir&amp;ae=admin_picture_thumb_advanced_albums_dir_end'), //cpg1.4
-  array('The directory for user files <a href="#notice1" class="clickable_option">*</a>', 'userpics', 0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_userpics_dir&amp;ae=admin_picture_thumb_advanced_userpics_dir_end'), //cpg1.4
-  array('The prefix for intermediate pictures <a href="#notice1" class="clickable_option">*</a>', 'normal_pfx', 0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_intermediate_prefix&amp;ae=admin_picture_thumb_advanced_intermediate_prefix_end'), //cpg1.4
-  array('The prefix for thumbnails <a href="#notice1" class="clickable_option">*</a>', 'thumb_pfx', 0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_thumbs_prefix&amp;ae=admin_picture_thumb_advanced_thumbs_prefix_end'), //cpg1.4
-  array('Default mode for directories', 'default_dir_mode', 0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_chmod_folder&amp;ae=admin_picture_thumb_advanced_chmod_folder_end'), //cpg1.4
-  array('Default mode for files', 'default_file_mode', 0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_chmod_files&amp;ae=admin_picture_thumb_advanced_chmod_files_end'), //cpg1.4
-
-  'הגדרות משתמשים',
-  array('Allow new user registrations', 'allow_user_registration', 1, 'f=index.htm&amp;as=admin_allow_registration&amp;ae=admin_allow_registration_end'), //cpg1.4
-  array('Allow unlogged users (guest or anonymous) access', 'allow_unlogged_access', 1, 'f=index.htm&amp;as=admin_allow_unlogged_access&amp;ae=admin_allow_unlogged_access_end'), //cpg1.4
-  array('User registration requires email verification', 'reg_requires_valid_email', 1, 'f=index.htm&amp;as=admin_registration_verify&amp;ae=admin_registration_verify_end'), //cpg1.4
-  array('Notify admin of user registration by email', 'reg_notify_admin_email', 1, 'f=index.htm&amp;as=admin_registration_notify&amp;ae=admin_registration_notify_end'), //cpg1.4
-  array('Admin activation of registrations', 'admin_activation', 1, 'f=index.htm&amp;as=admin_activation&amp;ae=admin_activation_end'),  //cpg1.4
-  array('Allow two users to have the same email address', 'allow_duplicate_emails_addr', 1, 'f=index.htm&amp;as=admin_allow_duplicate_emails_addr&amp;ae=admin_allow_duplicate_emails_addr_end'), //cpg1.4
-  array('Notify admin of user upload awaiting approval', 'upl_notify_admin_email', 1, 'f=index.htm&amp;as=admin_approval_notify&amp;ae=admin_approval_notify_end'), //cpg1.4
-  array('Allow logged in users to view memberlist', 'allow_memberlist', 1, 'f=index.htm&amp;as=admin_user_memberlist&amp;ae=admin_user_memberlist_end'), //cpg1.4
-  array('Allow users to change their email address in profile', 'allow_email_change', 1, 'f=index.htm&amp;as=admin_user_allow_email_change&amp;ae=admin_user_allow_email_change_end'), //cpg1.4
-  array('Allow users to retain control over their pics in public galleries', 'users_can_edit_pics', 1, 'f=index.htm&amp;as=admin_user_editpics_public_start&amp;ae=admin_user_editpics_public_end'), //cpg1.4
-  array('Number of failed login attempts until temporary ban (to avoid brute force attacks)', 'login_threshold', 0, 'f=index.htm&amp;as=admin_user_login_start&amp;ae=admin_user_login_end'), //cpg1.4
-  array('Duration of a temporary ban after failed logins', 'login_expiry', 0, 'f=index.htm&amp;as=admin_user_login_start&amp;ae=admin_user_login_end'), //cpg1.4
-  array('Enable Report to Admin', 'report_post', 1, 'f=index.htm&amp;as=admin_user_enable_report&amp;ae=admin_user_enable_report_end'),  //cpg1.4
-
-// custom profile fields,  //cpg1.4
-  'Custom fields for user profile (leave blank if unused).
-  Use Profile 6 for long entries, such as biographies', //cpg1.4
-  array('Profile 1 name', 'user_profile1_name', 0, 'f=index.htm&amp;as=admin_custom&amp;ae=admin_custom_end'), //cpg1.4
-  array('Profile 2 name', 'user_profile2_name', 0), //cpg1.4
-  array('Profile 3 name', 'user_profile3_name', 0), //cpg1.4
-  array('Profile 4 name', 'user_profile4_name', 0), //cpg1.4
-  array('Profile 5 name', 'user_profile5_name', 0), //cpg1.4
-  array('Profile 6 name', 'user_profile6_name', 0), //cpg1.4
-
-  'Custom fields for image description (leave blank if unused)',
-  array('Field 1 name', 'user_field1_name', 0, 'f=index.htm&amp;as=admin_custom_image&amp;ae=admin_custom_image_end'), //cpg1.4
-  array('Field 2 name', 'user_field2_name', 0),
-  array('Field 3 name', 'user_field3_name', 0),
-  array('Field 4 name', 'user_field4_name', 0),
-
-  'Cookies settings',
-  array('Cookie name', 'cookie_name', 0, 'f=index.htm&amp;as=admin_cookie_name&amp;ae=admin_cookie_name_end'), //cpg1.4
-  array('Cookie path', 'cookie_path', 0, 'f=index.htm&amp;as=admin_cookie_path&amp;ae=admin_cookie_path_end'), //cpg1.4
-
-  'Email settings  (usually nothing has to be changed here; leave all fields blank when not sure)', //cpg1.4
-  array('SMTP Host (when left blank, sendmail will be used)', 'smtp_host', 0, 'f=index.htm&amp;as=admin_email&amp;ae=admin_email_end'), //cpg1.4
-  array('SMTP Username', 'smtp_username', 0), //cpg1.4
-  array('SMTP Password', 'smtp_password', 0), //cpg1.4
-
-  'Logging and statistics', //cpg1.4
-  array('Logging mode <a href="#notice3" class="clickable_option">***</a>', 'log_mode', 11, 'f=index.htm&amp;as=admin_logging_log_mode&amp;ae=admin_logging_log_mode_end'), //cpg1.4
-  array('Log ecards', 'log_ecards', 1, 'f=index.htm&amp;as=admin_general_log_ecards&amp;ae=admin_general_log_ecards_end'), //cpg1.4
-  array('Keep detailed vote statistics','vote_details',1, 'f=index.htm&amp;as=admin_logging_votedetails&amp;ae=admin_logging_votedetails_end'), //cpg1.4
-  array('Keep detailed hit statistics','hit_details',1, 'f=index.htm&amp;as=admin_logging_hitdetails&amp;ae=admin_logging_hitdetails_end'), //cpg1.4
-
-  'Maintenance settings', //cpg1.4
-  array('Enable debug mode', 'debug_mode', 9, 'f=index.htm&amp;as=debug_mode&amp;ae=debug_mode_end'), //cpg1.4
-  array('Display notices in debug mode', 'debug_notice', 1, 'f=index.htm&amp;as=admin_misc_debug_notices&amp;ae=admin_misc_debug_notices_end'), //cpg1.4
-  array('Gallery is offline', 'offline', 1, 'f=index.htm&amp;as=admin_general_offline&amp;ae=admin_general_offline_end'), //cpg1.4
-);
-
-
-// ------------------------------------------------------------------------- //
-// File db_ecard.php
-// ------------------------------------------------------------------------- //
-
-if (defined('DB_ECARD_PHP')) $lang_db_ecard_php = array(
-  'title' => 'Sent ecards',
-  'ecard_sender' => 'Sender',
-  'ecard_recipient' => 'Recipient',
-  'ecard_date' => 'Date',
-  'ecard_display' => 'Display ecard',
-  'ecard_name' => 'Name',
-  'ecard_email' => 'Email',
-  'ecard_ip' => 'IP #',
-  'ecard_ascending' => 'ascending',
-  'ecard_descending' => 'descending',
-  'ecard_sorted' => 'Sorted',
-  'ecard_by_date' => 'by date',
-  'ecard_by_sender_name' => 'by sender\'s name',
-  'ecard_by_sender_email' => 'by sender\'s email',
-  'ecard_by_sender_ip' => 'by sender\'s IP address',
-  'ecard_by_recipient_name' => 'by recipient\'s name',
-  'ecard_by_recipient_email' => 'by recipient\'s email',
-  'ecard_number' => 'displaying record %s to %s of %s',
-  'ecard_goto_page' => 'go to page',
-  'ecard_records_per_page' => 'Records per page',
-  'check_all' => 'Check All',
-  'uncheck_all' => 'Uncheck All',
-  'ecards_delete_selected' => 'Delete selected ecards',
-  'ecards_delete_confirm' => 'Are you sure you want to delete the records? Tick the checkbox!',
-  'ecards_delete_sure' => 'I\'m sure',
-);
-
-
-// ------------------------------------------------------------------------- //
-// File db_input.php
-// ------------------------------------------------------------------------- //
-
-if (defined('DB_INPUT_PHP')) $lang_db_input_php = array(
-  'empty_name_or_com' => 'You need to type your name and a comment',
-  'com_added' => 'Your comment was added',
-  'alb_need_title' => 'You have to provide a title for the album !',
-  'no_udp_needed' => 'לא נדרש עדכון.',
-  'alb_updated' => 'האלבום עודכן',
-  'unknown_album' => 'Selected album does not exist or you don\'t have permission to upload in this album',
-  'no_pic_uploaded' => 'No file was uploaded !<br /><br />If you have really selected a file to upload, check that the server allows file uploads...',
-  'err_mkdir' => 'Failed to create directory %s !',
-  'dest_dir_ro' => 'Destination directory %s is not writable by the script !',
-  'err_move' => 'Impossible to move %s to %s !',
-  'err_fsize_too_large' => 'The size of file you have uploaded is too large (maximum allowed is %s x %s) !', //obsolete since cpg1.3 - consider removal in cpg1.4 once upload.php has been overhauled
-  'err_imgsize_too_large' => 'The size of the file you have uploaded is too large (maximum allowed is %s KB) !', //obsolete since cpg1.3 - consider removal in cpg1.4 once upload.php has been overhauled
-  'err_invalid_img' => 'The file you have uploaded is not a valid image !',
-  'allowed_img_types' => 'You can only upload %s images.',
-  'err_insert_pic' => 'The file \'%s\' can\'t be inserted in the album ',
-  'upload_success' => 'הקובץ שלך נשלח בהצלחה.<br /><br />הוא יהיה זמין לצפיה לאחר אישור המנהל.',
-  'notify_admin_email_subject' => '%s - Upload notification',
-  'notify_admin_email_body' => 'A picture has been uploaded by %s that needs your approval. Visit %s',
-  'info' => 'מידע',
-  'com_added' => 'ההערה נוספה',
-  'alb_updated' => 'האלבום עודכן',
-  'err_comment_empty' => 'Your comment is empty !',
-  'err_invalid_fext' => 'Only files with the following extensions are accepted : <br /><br />%s.',
-  'no_flood' => 'Sorry but you are already the author of the last comment posted for this file<br /><br />Edit the comment you have posted if you want to modify it',
-  'redirect_msg' => 'You are being redirected.<br /><br /><br />Click \'CONTINUE\' if the page does not refresh automatically',
-  'upl_success' => 'Your file was successfully added',
-  'email_comment_subject' => 'Comment posted on Coppermine Photo Gallery',
-  'email_comment_body' => 'Someone has posted a comment on your gallery. See it at',
-  'album_not_selected' => 'לא נבחר אלבום!', //cpg1.4
-  'com_author_error' => 'A registered user is using this nickname, login or use another one', //cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File delete.php
-// ------------------------------------------------------------------------- //
-
-if (defined('DELETE_PHP')) $lang_delete_php = array(
-  'caption' => 'מקרא',
-  'fs_pic' => 'תמונת גודל מלא',
-  'del_success' => 'נמחק בהצלחה',
-  'ns_pic' => 'תמונת גודל רגיל',
-  'err_del' => 'לא ניתן למחיקה',
-  'thumb_pic' => 'תמונה ממוזערת',
-  'comment' => 'הערה',
-  'im_in_alb' => 'תמונה באלבום',
-  'alb_del_success' => 'האלבום &laquo;%s&raquo; נמחק', //cpg1.4
-  'alb_mgr' => 'מנהל האלבומים',
-  'err_invalid_data' => 'Invalid data received in \'%s\'',
-  'create_alb' => 'יוצר את האלבום \'%s\'',
-  'update_alb' => 'מעדכן את אלבום \'%s\' עם הכותרת \'%s\' ועם אינדקס \'%s\'',
-  'del_pic' => 'מוחק קובץ',
-  'del_alb' => 'מוחק אלבום',
-  'del_user' => 'Delete user',
-  'err_unknown_user' => 'The selected user does not exist !',
-  'err_empty_groups' => 'There\'s no group table, or the group table is empty!', //cpg1.4
-  'comment_deleted' => 'Comment was succesfully deleted',
-  'npic' => 'התמונה', //cpg1.4
-  'pic_mgr' => 'Picture Manager', //cpg1.4
-  'update_pic' => 'Updating picture \'%s\' with filename \'%s\' and index \'%s\'', //cpg1.4
-  'username' => 'Username', //cpg1.4
-  'anonymized_comments' => '%s comment(s) anonymized', //cpg1.4
-  'anonymized_uploads' => '%s public upload(s) anonymized', //cpg1.4
-  'deleted_comments' => '%s comment(s) deleted', //cpg1.4
-  'deleted_uploads' => '%s public upload(s) deleted', //cpg1.4
-  'user_deleted' => 'user %s deleted', //cpg1.4
-  'activate_user' => 'Activate user', //cpg1.4
-  'user_already_active' => 'Account has already been active', //cpg1.4
-  'activated' => 'Activated', //cpg1.4
-  'deactivate_user' => 'Deactivate user', //cpg1.4
-  'user_already_inactive' => 'Account has already been inactive', //cpg1.4
-  'deactivated' => 'Deactivated', //cpg1.4
-  'reset_password' => 'Reset password(s)', //cpg1.4
-  'password_reset' => 'Password reset to %s', //cpg1.4
-  'change_group' => 'Change primary group', //cpg1.4
-  'change_group_to_group' => 'Changing from %s to %s', //cpg1.4
-  'add_group' => 'Add secondary group', //cpg1.4
-  'add_group_to_group' => 'Adding user %s to group %s. He\'s now member of %s as primary and of %s as secondary membergroup(s).', //cpg1.4
-  'status' => 'Status', //cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File displayecard.php
-// ------------------------------------------------------------------------- //
-
-if (defined('DISPLAYECARD_PHP')) {
-
-$lang_displayecard_php = array(
-  'invalid_data' => 'The data for the ecard you are trying to access has been corrupted by your mail client. Check the link is complete.', //cpg1.4
-);
-}
-
-// ------------------------------------------------------------------------- //
-// File displayimage.php
-// ------------------------------------------------------------------------- //
-
-if (defined('DISPLAYIMAGE_PHP')){
-
-$lang_display_image_php = array(
-  'confirm_del' => 'אתה בטוח שברצונך למחוק קובץ זה? \\nההערות ימחקו גם הן.', //js-alert
-  'del_pic' => 'מחק קובץ זה',
-  'size' => '%s על %s פיקסלים',
-  'views' => '%s פעמים',
-  'slideshow' => 'מצגת',
-  'stop_slideshow' => 'הפסק מצגת',
-  'view_fs' => 'לחץ לתצוגת גודל מלא',
-  'edit_pic' => 'עריכת מידע תמונה', //cpg1.4
-  'crop_pic' => 'חיתוך וסיבוב',
-  'set_player' => 'Change player',
-);
-
-$lang_picinfo = array(
-  'title' =>'מידע על הקובץ',
-  'Filename' => 'שם הקובץ',
-  'Album name' => 'שם האלבום',
-  'Rating' => 'דירוג (%s קולות)',
-  'Keywords' => 'מילות מפתח',
-  'File Size' => 'גודל הקובץ',
-  'Date Added' => 'תאריך הוספה', //cpg1.4
-  'Dimensions' => 'מימדים',
-  'Displayed' => 'הוצג',
-  'URL' => 'כתובת', //cpg1.4
-  'Make' => 'Make', //cpg1.4
-  'Model' => 'Model', //cpg1.4
-  'DateTime' => 'Date Time', //cpg1.4
-  'ISOSpeedRatings'=>'ISO', //cpg1.4
-  'MaxApertureValue' => 'Max Aperture', //cpg1.4
-  'FocalLength' => 'Focal length', //cpg1.4
-  'Comment' => 'הערה',
-  'addFav'=>'הוסף למועדפים',
-  'addFavPhrase'=>'מועדפים',
-  'remFav'=>'הסר ממועדפים',
-  'iptcTitle'=>'IPTC Title',
-  'iptcCopyright'=>'IPTC Copyright',
-  'iptcKeywords'=>'IPTC Keywords',
-  'iptcCategory'=>'IPTC Category',
-  'iptcSubCategories'=>'IPTC Sub Categories',
-  'ColorSpace' => 'Color Space', //cpg1.4
-  'ExposureProgram' => 'Exposure Program', //cpg1.4
-  'Flash' => 'Flash', //cpg1.4
-  'MeteringMode' => 'Metering Mode', //cpg1.4
-  'ExposureTime' => 'Exposure Time', //cpg1.4
-  'ExposureBiasValue' => 'Exposure Bias', //cpg1.4
-  'ImageDescription' => ' Image Description', //cpg1.4
-  'Orientation' => 'Orientation', //cpg1.4
-  'xResolution' => 'X Resolution', //cpg1.4
-  'yResolution' => 'Y Resolution', //cpg1.4
-  'ResolutionUnit' => 'Resolution Unit', //cpg1.4
-  'Software' => 'Software', //cpg1.4
-  'YCbCrPositioning' => 'YCbCrPositioning', //cpg1.4
-  'ExifOffset' => 'Exif Offset', //cpg1.4
-  'IFD1Offset' => 'IFD1 Offset', //cpg1.4
-  'FNumber' => 'FNumber', //cpg1.4
-  'ExifVersion' => 'Exif Version', //cpg1.4
-  'DateTimeOriginal' => 'DateTime Original', //cpg1.4
-  'DateTimedigitized' => 'DateTime digitized', //cpg1.4
-  'ComponentsConfiguration' => 'Components Configuration', //cpg1.4
-  'CompressedBitsPerPixel' => 'Compressed Bits Per Pixel', //cpg1.4
-  'LightSource' => 'Light Source', //cpg1.4
-  'ISOSetting' => 'ISO Setting', //cpg1.4
-  'ColorMode' => 'Color Mode', //cpg1.4
-  'Quality' => 'Quality', //cpg1.4
-  'ImageSharpening' => 'Image Sharpening', //cpg1.4
-  'FocusMode' => 'Focus Mode', //cpg1.4
-  'FlashSetting' => 'Flash Setting', //cpg1.4
-  'ISOSelection' => 'ISO Selection', //cpg1.4
-  'ImageAdjustment' => 'Image Adjustment', //cpg1.4
-  'Adapter' => 'Adapter', //cpg1.4
-  'ManualFocusDistance' => 'Manual Focus Distance', //cpg1.4
-  'DigitalZoom' => 'Digital Zoom', //cpg1.4
-  'AFFocusPosition' => 'AF Focus Position', //cpg1.4
-  'Saturation' => 'Saturation', //cpg1.4
-  'NoiseReduction' => 'Noise Reduction', //cpg1.4
-  'FlashPixVersion' => 'Flash Pix Version', //cpg1.4
-  'ExifImageWidth' => 'Exif Image Width', //cpg1.4
-  'ExifImageHeight' => 'Exif Image Height', //cpg1.4
-  'ExifInteroperabilityOffset' => 'Exif Interoperability Offset', //cpg1.4
-  'FileSource' => 'File Source', //cpg1.4
-  'SceneType' => 'Scene Type', //cpg1.4
-  'CustomerRender' => 'Customer Render', //cpg1.4
-  'ExposureMode' => 'Exposure Mode', //cpg1.4
-  'WhiteBalance' => 'White Balance', //cpg1.4
-  'DigitalZoomRatio' => 'Digital Zoom Ratio', //cpg1.4
-  'SceneCaptureMode' => 'Scene Capture Mode', //cpg1.4
-  'GainControl' => 'Gain Control', //cpg1.4
-  'Contrast' => 'Contrast', //cpg1.4
-  'Sharpness' => 'Sharpness', //cpg1.4
-  'ManageExifDisplay' => 'Manage Exif Display', //cpg1.4
-  'submit' => 'Submit', //cpg1.4
-  'success' => 'Information updated successfully.', //cpg1.4
-  'details' => 'Details', //cpg1.4
-);
-
-$lang_display_comments = array(
-  'OK' => 'אישור',
-  'edit_title' => 'ערוך הערה זו',
-  'confirm_delete' => 'האם אתה בטוח שברצונך למחוק הערה זו?', //js-alert
-  'add_your_comment' => 'הוסף הערה',
-  'name'=>'שם',
-  'comment'=>'הערה:',
-  'your_name' => '',
-  'report_comment_title' => 'דווח למנהל על הערה זו', //cpg1.4
-);
-
-$lang_fullsize_popup = array(
-  'click_to_close' => 'לחץ על התמונה לסגירת החלון',
-);
-
-}
-
-// ------------------------------------------------------------------------- //
-// File ecard.php
-// ------------------------------------------------------------------------- //
-
-if (defined('ECARDS_PHP') || defined('DISPLAYECARD_PHP')) $lang_ecard_php =array(
-  'title' => 'שלח גלוייה אלקטרונית',
-  'invalid_email' => '<font color="red"><b>אזהרה</b></font>: כתובת דואל לא תקינה:', //cpg1.4
-  'ecard_title' => 'An e-card from %s for you',
-  'error_not_image' => 'Only images can be sent as an ecard.',
-  'view_ecard' => 'Alternate link if the e-card does not display correctly', //cpg1.4
-  'view_ecard_plaintext' => 'To view the ecard, copy and paste this url into your browser\'s address bar:', //cpg1.4
-  'view_more_pics' => 'הצג תמונות נוספות !', //cpg1.4
-  'send_success' => 'גלוייתך נשלחה',
-  'send_failed' => 'Sorry but the server can\'t send your e-card...',
-  'from' => 'מאת',
-  'your_name' => 'שמך',
-  'your_email' => 'כתובת הדואל שלך',
-  'to' => 'אל',
-  'rcpt_name' => 'שם הנמען',
-  'rcpt_email' => 'כתובת הדואל של הנמען',
-  'greetings' => 'כותרת', //cpg1.4
-  'message' => 'הודעה', //cpg1.4
-  'ecards_footer' => 'Sent by %s from IP %s at %s (Gallery time)', //cpg1.4
-  'preview' => 'תצוגה מקדימה של הגלוייה האלקטרונית', //cpg1.4
-  'preview_button' => 'תצוגה מקדימה', //cpg1.4
-  'submit_button' => 'שלח גלוייה', //cpg1.4
-  'preview_view_ecard' => 'כאן ימוקם הקישור החלופי לגלוייה לאחר שתיווצר. הקישור לא פועל עבור התצוגה המקדימה.', //cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File report_file.php //cpg1.4
-// ------------------------------------------------------------------------- //
-
-if (defined('REPORT_FILE_PHP') || defined('DISPLAYREPORT_PHP')) $lang_report_php =array(
-  'title' => 'Report to administrator', //cpg1.4
-  'invalid_email' => '<b>Warning</b> : invalid email address !', //cpg1.4
-  'report_subject' => 'A report from %s on a gallery %s', //cpg1.4
-  'view_report' => 'Alternate link if the report does not display correctly', //cpg1.4
-  'view_report_plaintext' => 'To view the report, copy and paste this url into your browser\'s address bar:', //cpg1.4
-  'view_more_pics' => 'Gallery', //cpg1.4
-  'send_success' => 'Your report was sent', //cpg1.4
-  'send_failed' => 'Sorry but the server can\'t send your report...', //cpg1.4
-  'from' => 'From', //cpg1.4
-  'your_name' => 'Your name', //cpg1.4
-  'your_email' => 'Your email address', //cpg1.4
-  'to' => 'To', //cpg1.4
-  'administrator' => 'Administrator/Mod', //cpg1.4
-  'subject' => 'Subject', //cpg1.4
-  'comment_field_name' => 'Reporting on Comment by "%s"', //cpg1.4
-  'reason' => 'Reason', //cpg1.4
-  'message' => 'Message', //cpg1.4
-  'report_footer' => 'Sent by %s from IP %s at %s (Gallery time)', //cpg1.4
-  'obscene' => 'obscene', //cpg1.4
-  'offensive' => 'offensive', //cpg1.4
-  'misplaced' => 'off-topic/misplaced', //cpg1.4
-  'missing' => 'missing', //cpg1.4
-  'issue' => 'error/cannot view', //cpg1.4
-  'other' => 'other', //cpg1.4
-  'refers_to' => 'File report refers to', //cpg1.4
-  'reasons_list_heading' => 'reason(s) for report:', //cpg1.4
-  'no_reason_given' => 'no reason was given', //cpg1.4
-  'go_comment' => 'Go to comment', //cpg1.4
-  'view_comment' => 'View full report with comment', //cpg1.4
-  'type_file' => 'קובץ', //cpg1.4
-  'type_comment' => 'comment', //cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File editpics.php
-// ------------------------------------------------------------------------- //
-
-if (defined('EDITPICS_PHP')) $lang_editpics_php = array(
-  'pic_info' => 'מידע על הקובץ',
-  'album' => 'אלבום',
-  'title' => 'כותרת',
-  'filename' => 'שם הקובץ', //cpg1.4
-  'desc' => 'תיאור',
-  'keywords' => 'מילות מפתח',
-  'new_keyword' => 'מילות מפתח חדשות', //cpg1.4
-  'new_keywords' => 'New keywords found', //cpg1.4
-  'existing_keyword' => 'Existing keyword', //cpg1.4
-  'pic_info_str' => '%s &times; %s - %s ק"ב - %s צפיות - %s הצבעות',
-  'approve' => 'אשר קובץ',
-  'postpone_app' => 'השהה אישור',
-  'del_pic' => 'מחק קובץ',
-  'del_all' => 'מחיקת כל הקבצים', //cpg1.4
-  'read_exif' => 'Read EXIF info again',
-  'reset_view_count' => 'איפוס מונה תצוגה',
-  'reset_all_view_count' => 'איפוס כל מוני התצוגה', //cpg1.4
-  'reset_votes' => 'איפוס הצבעות',
-  'reset_all_votes' => 'איפוס כל ההצבעות', //cpg1.4
-  'del_comm' => 'מחיקת הערות',
-  'del_all_comm' => 'מחיקת כל ההערות', //cpg1.4
-  'upl_approval' => 'אישור קבצים שנשלחו', //cpg1.4
-  'edit_pics' => 'עריכת קבצים',
-  'see_next' => 'See next files',
-  'see_prev' => 'See previous files',
-  'n_pic' => '%s קבצים',
-  'n_of_pic_to_disp' => 'מספר קבצים לתצוגה',
-  'apply' => 'החל שינויים',
-  'crop_title' => 'Coppermine Picture Editor',
-  'preview' => 'Preview',
-  'save' => 'Save picture',
-  'save_thumb' =>'Save as thumbnail',
-  'gallery_icon' => 'הפוך תמונה זו לסמל שלי', //cpg1.4
-  'sel_on_img' =>'The selection has to be entirely on the image!', //js-alert
-  'album_properties' =>'מאפייני האלבום', //cpg1.4
-  'parent_category' =>'קטגוריית אם', //cpg1.4
-  'thumbnail_view' =>'תמונות האלבום', //cpg1.4
-  'select_unselect' =>'סמן/נקה הכל', //cpg1.4
-  'file_exists' => "Destination file '%s' already exists.", //cpg1.4
-  'rename_failed' => "Failed to rename '%s' to '%s'.", //cpg1.4
-  'src_file_missing' => "Source file '%s' is missing.", // cpg 1.4
-  'mime_conv' => "Cannot convert file from '%s' to '%s'",//cpg1.4
-  'forb_ext' => 'Forbidden file extension.',//cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File faq.php
-// ------------------------------------------------------------------------- //
-
-if (defined('FAQ_PHP')) $lang_faq_php = array(
-  'faq' => 'Frequently Asked Questions',
-  'toc' => 'Table of contents',
-  'question' => 'Question: ',
-  'answer' => 'Answer: ',
-);
-
-if (defined('FAQ_PHP')) $lang_faq_data = array(
-  'General FAQ',
-  array('Why do I need to register?', 'Registration may or may not be required by the administrator. Registration gives a member additional features such as uploading, having a favorite list, rating pictures and posting comments etc.', 'allow_user_registration', '1'),
-  array('How do I register?', 'Go to &quot;Register&quot; and fill out the required fields (and the optional ones if you want to).<br />If the Administrator has Email Activation enabled, then after submitting your information you should recieve an email message at the address that you have submitted while registering, giving you instructions on how to activate your membership. Your membership must be activated in order for you to login.', 'allow_user_registration', '1'), //cpg1.4
-  array('How Do I login?', 'Go to &quot;Login&quot;, submit your username and password and check &quot;Remember Me&quot; so you will be logged in on the site if you should leave it.<br /><b>IMPORTANT:Cookies must be enabled and the cookie from this site must not be deleted in order to use &quot;Remember Me&quot;.</b>', 'offline', 0),
-  array('Why can I not login?', 'Did you register and click the link that was sent to you via email?. The link will activate your account. For other login problems contact the site administrator.', 'offline', 0),
-  array('What if I forgot my password?', 'If this site has a &quot;Forgot password&quot; link then use it. Other than that contact the site administrator for a new password.', 'offline', 0),
-  //array('What if I changed my email address?', 'Just simply login and change your email address through &quot;Profile&quot;', 'offline', 0),
-  array('How do I save a picture to &quot;My Favorites&quot;?', 'Click on a picture and click on the &quot;picture info&quot; link (<img src="images/info.gif" width="16" height="16" border="0" alt="Picture information" />); scroll down to the picture information set and click &quot;Add to fav&quot;.<br />The administrator may have the &quot;picture information&quot; on by default.<br />IMPORTANT:Cookies must be enabled and the cookie from this site must not be deleted.', 'offline', 0),
-  array('How do I rate a file?', 'Click on a thumbnail and go to the bottom and choose a rating.', 'offline', 0),
-  array('How do I post a comment for a picture?', 'Click on a thumbnail and go to the bottom and post a comment.', 'offline', 0),
-  array('How do I upload a file?', 'Go to &quot;Upload&quot;and select the album that you want to upload to. Click &quot;Browse,&quot; find the file to upload, and click &quot;open.&quot; Add a title and description if you want. Click &quot;Submit&quot;.<br /><br />Alternatively, for those users using <b>Windows XP</b>, you can upload multiple files directly to your own private albums using the XP Publishing wizard.<br />For instructions on how, and to get the required registry file, click <a href="xp_publish.php">here.</a>', 'allow_private_albums', 1), //cpg1.4
-  array('Where do I upload a picture to?', 'You will be able to upload a file to one of your albums in &quot;My Gallery&quot;. The Administrator may also allow you to upload a file to one or more of the albums in the Main Gallery.', 'allow_private_albums', 0),
-  array('What type and size of a file can I upload?', 'The size and type (jpg, png, etc.) is up to the administrator.', 'offline', 0),
-  array('How do I create, rename or delete an album in &quot;My Gallery&quot;?', 'You should already be in &quot;Admin-Mode&quot;<br />Go to &quot;Create/Order My Albums&quot;and click &quot;New&quot;. Change &quot;New Album&quot; to your desired name.<br />You can also rename any of the albums in your gallery.<br />Click &quot;Apply Modifications&quot;.', 'allow_private_albums', 0),
-  array('How can I modify and restrict users from viewing my albums?', 'You should already be in &quot;Admin Mode&quot;<br />Go to &quot;Modify My Albums. On the &quot;Update Album&quot; bar, select the album that you want to modify.<br />Here, you can change the name, description, thumbnail picture, restrict viewing and comment/rating permissions.<br />Click &quot;Update Album&quot;.', 'allow_private_albums', 0),
-  array('How can I view other users\' galleries?', 'Go to &quot;Album List&quot; and select &quot;User Galleries&quot;.', 'allow_private_albums', 0),
-  array('What are cookies?', 'Cookies are a plain text piece of data that is sent from a website and is put on to your computer.<br />Cookies usually allow a user to leave and return to the site without having to login again and other various chores.', 'offline', 0),
-  array('Where can I get this program for my site?', 'Coppermine is a free Multimedia Gallery, released under GNU GPL. It is full of features and has been ported to various platforms. Visit the <a href="http://coppermine-gallery.net/">Coppermine Home Page</a> to find out more or download it.', 'offline', 0),
-
-  'Navigating the Site',
-  array('What\'s &quot;Album List&quot;?', 'This will show you the entire category you are currently in, with a link to each album. If you are not in a category, it will show you the entire gallery with a link to each category. Thumbnails may be a link to the category.', 'offline', 0),
-  array('What\'s &quot;My Gallery&quot;?', 'This feature lets users create their own galleries and add, delete or modify albums as well as upload to them.', 'allow_private_albums', 1), //cpg1.4
-  array('What\'s the difference between &quot;Admin Mode&quot; and &quot;User Mode&quot;?', 'This feature, when in admin-mode, allows a user to modify their gallery (as well as others if allowed by the administrator).', 'allow_private_albums', 0),
-  array('What\'s &quot;Upload Picture&quot;?', 'This feature allows a user to upload a file (size and type is set by the site administrator) to a gallery selected by either you or the administrator.', 'allow_private_albums', 0),
-  array('What\'s &quot;Last Uploads&quot;?', 'This feature shows the last uploads to the site.', 'offline', 0),
-  array('What\'s &quot;Last Comments&quot;?', 'This feature shows the last comments along with the files posted by users.', 'offline', 0),
-  array('What\'s &quot;Most Viewed&quot;?', 'This feature shows the most viewed files by all users (whether logged in or not).', 'offline', 0),
-  array('What\'s &quot;Top Rated&quot;?', 'This feature shows the top rated files rated by the users, showing the average rating (e.g: five users each gave a <img src="images/rating3.gif" width="65" height="14" border="0" alt="" />: the file would have an average rating of <img src="images/rating3.gif" width="65" height="14" border="0" alt="" /> ;Five users rated the file from 1 to 5 (1,2,3,4,5) would result in an average <img src="images/rating3.gif" width="65" height="14" border="0" alt="" /> .)<br />The ratings go from <img src="images/rating5.gif" width="65" height="14" border="0" alt="best" /> (best) to <img src="images/rating0.gif" width="65" height="14" border="0" alt="worst" /> (worst).', 'offline', 0),
-  array('What\'s &quot;My Favorites&quot;?', 'This feature will let a user store a favorite file in the cookie that was sent to your computer.', 'offline', 0),
-);
-
-
-// ------------------------------------------------------------------------- //
-// File forgot_passwd.php
-// ------------------------------------------------------------------------- //
-
-if (defined('FORGOT_PASSWD_PHP')) $lang_forgot_passwd_php = array(
-  'forgot_passwd' => 'Password reminder',
-  'err_already_logged_in' => 'You are already logged in !',
-  'enter_email' => 'Enter your email address', //cpg1.4
-  'submit' => 'go',
-  'illegal_session' => 'Forgot password session invalid or has expired.', //cpg1.4
-  'failed_sending_email' => 'The password reminder email can\'t be sent !',
-  'email_sent' => 'An email with your username and new password was sent to %s', //cpg1.4
-  'verify_email_sent' => 'An email has been sent to %s. Please check your email to complete the process.', //cpg1.4
-  'err_unk_user' => 'Selected user does not exist!',
-  'account_verify_subject' => '%s - New password request', //cpg1.4
-  'account_verify_body' => 'You have requested to a new password. If you would like to proceed with having a new password sent to you, click on the following link:
-
-%s', //cpg1.4
-  'passwd_reset_subject' => '%s - Your New Password', //cpg1.4
-  'passwd_reset_body' => 'Here is the new password you requested:
-Username: %s
-Password: %s
-Click %s to log in.', //cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File groupmgr.php
-// ------------------------------------------------------------------------- //
-
-if (defined('GROUPMGR_PHP')) $lang_groupmgr_php = array(
-  'group_name' => 'Group', //cpg1.4
-  'permissions' => 'Permissions', //cpg1.4
-  'public_albums' => 'Public albums upload', //cpg1.4
-  'personal_gallery' => 'Personal gallery', //cpg1.4
-  'upload_method' => 'Upload method', //cpg1.4
-  'disk_quota' => 'Quota', //cpg1.4
-  'rating' => 'Rating', //cpg1.4
-  'ecards' => 'Ecards', //cpg1.4
-  'comments' => 'Comments', //cpg1.4
-  'allowed' => 'Allowed', //cpg1.4
-  'approval' => 'Approval', //cpg1.4
-  'boxes_number' => 'No. of boxes', //cpg1.4
-  'variable' => 'variable', //cpg1.4
-  'fixed' => 'fixed', //cpg1.4
-  'apply' => 'Apply modifications',
-  'create_new_group' => 'Create new group',
-  'del_groups' => 'Delete selected group(s)',
-  'confirm_del' => 'Warning, when you delete a group, users that belong to this group will be transferred to the \'Registered\' group !\n\nDo you want to proceed ?', //js-alert
-  'title' => 'Manage user groups',
-  'num_file_upload' => 'File upload boxes', //cpg1.4
-  'num_URI_upload' => 'URI upload boxes', //cpg1.4
-  'reset_to_default' => 'Reset to default name (%s) - recommended!', //cpg1.4
-  'error_group_empty' => 'Group table was empty !<br /><br />Default groups created, please reload this page', //cpg1.4
-  'explain_greyed_out_title' => 'Why is this row greyed out?', //cpg1.4
-  'explain_guests_greyed_out_text' => 'You can not change the properties of this group because you set the option &quot; Allow unlogged users (guest or anonymous) access&quot; to &quot;No&quot; on the config page. All guest (members of the group %s) can\'t do anything but login; therefor group settings don\'t apply for them.', //cpg1.4
-  'explain_banned_greyed_out_text' => 'You can not change the properties of the group %s because it\'s members can\'t do anything anyway.', //cpg1.4
-  'group_assigned_album' => 'assigned album(s)', //cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File index.php
-// ------------------------------------------------------------------------- //
-
-if (defined('INDEX_PHP')){
-
-$lang_index_php = array(
-  'welcome' => 'Welcome !',
-);
-
-$lang_album_admin_menu = array(
-  'confirm_delete' => 'אתה בטוח שברצונך למחוק אלבום זה? \\nכל הקבצים וההערות ימחקו גם הם.', //js-alert
-  'delete' => 'מחיקה',
-  'modify' => 'מאפיינים',
-  'edit_pics' => 'עריכת קבצים',
-);
-
-$lang_list_categories = array(
-  'home' => 'ראשי',
-  'stat1' => '<b>[pictures]</b> קבצים ב<b>[albums]</b> אלבומים ו-<b>[cat]</b> קטגוריות עם <b>[comments]</b> הערות שנצפו <b>[views]</b> פעמים',
-  'stat2' => '<b>[pictures]</b> קבצים ב<b>[albums]</b> אלבומים אשר נצפו<b>[views]</b> פעמים',
-  'xx_s_gallery' => '%s\'s Gallery',
-  'stat3' => '<b>[pictures]</b> קבצים ב<b>[albums]</b> אלבומים עם <b>[comments]</b> הערות אשר נצפו <b>[views]</b> פעמים',
-);
-
-$lang_list_users = array(
-  'user_list' => 'User list',
-  'no_user_gal' => 'There are no user galleries',
-  'n_albums' => '%s album(s)',
-  'n_pics' => '%s file(s)',
-);
-
-$lang_list_albums = array(
-  'n_pictures' => '%s קבצים',
-  'last_added' => ', האחרון התווסף ב%s',
-  'n_link_pictures' => '%s linked files', //cpg1.4
-  'total_pictures' => '%s files total', //cpg1.4
-);
-
-}
-
-// ------------------------------------------------------------------------- //
-// File keywordmgr.php //cpg1.4
-// ------------------------------------------------------------------------- //
-
-if (defined('KEYWORDMGR_PHP')) $lang_keywordmgr_php = array(
-  'title' => 'ניהול מילות מפתח', //cpg1.4
-  'edit' => 'edit', //cpg1.4
-  'delete' => 'delete', //cpg1.4
-  'search' => 'search', //cpg1.4
-  'keyword_test_search' => 'search for %s in new window', //cpg1.4
-  'keyword_del' => 'delete the keyword %s', //cpg1.4
-  'confirm_delete' => 'Are you sure you want to delete the keyword %s from the whole gallery?', //cpg1.4  // js-alert
-  'change_keyword' => 'change keyword', //cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File login.php
-// ------------------------------------------------------------------------- //
-
-if (defined('LOGIN_PHP')) $lang_login_php = array(
-  'login' => 'התחברות',
-  'enter_login_pswd' => 'הכנס את שם המשתמש ואת הסיסמה שלך בכדי להתחבר',
-  'username' => 'שם משתמש',
-  'password' => 'סיסמה',
-  'remember_me' => 'זכור אותי',
-  'welcome' => 'ברוך הבא %s ...',
-  'err_login' => '*** אין אפשרות להתחבר, נסה שנית ***',
-  'err_already_logged_in' => 'אתה כבר מחובר!',
-  'forgot_password_link' => 'שכחתי את הסיסמה שלי',
-  'cookie_warning' => 'אזהרה: הדפדפן שלך אינו מקבל עוגיות', //cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File logout.php
-// ------------------------------------------------------------------------- //
-
-if (defined('LOGOUT_PHP')) $lang_logout_php = array(
-  'logout' => 'התנתקות',
-  'bye' => 'להתראות %s ...',
-  'err_not_loged_in' => 'אינך מחובר!',
-);
-
-// ------------------------------------------------------------------------- //
-// File minibrowser.php  //cpg1.4
-// ------------------------------------------------------------------------- //
-
-if (defined('MINIBROWSER_PHP')) $lang_minibrowser_php = array(
-  'close' => 'close', //cpg1.4
-  'submit' => 'OK', //cpg1.4
-  'up' => 'up one level', //cpg1.4
-  'current_path' => 'current path', //cpg1.4
-  'select_directory' => 'please select a directory', //cpg1.4
-  'click_to_close' => 'לחץ על התמונה לסגירת החלון',
-);
-
-// ------------------------------------------------------------------------- //
-// File modifyalb.php
-// ------------------------------------------------------------------------- //
-
-if (defined('MODIFYALB_PHP')) $lang_modifyalb_php = array(
-  'upd_alb_n' => 'Update album %s',
-  'general_settings' => 'הגדרות כלליות',
-  'alb_title' => 'שם האלבום',
-  'alb_cat' => 'קטגוריית האלבום',
-  'alb_desc' => 'תיאור האלבום',
-  'alb_keyword' => 'מילות מפתח', //cpg1.4
-  'alb_thumb' => 'תמונת האלבום',
-  'alb_perm' => 'הרשאות עבור אלבום זה',
-  'can_view' => 'האלבום ניתן לצפייה על ידי',
-  'can_upload' => 'אורחים יכולים להעלות קבצים',
-  'can_post_comments' => 'אורחים יכולים להוסיף הערות',
-  'can_rate' => 'אורחים יכולים לדרג קבצים',
-  'user_gal' => 'User Gallery',
-  'no_cat' => '* No category *',
-  'alb_empty' => 'האלבום ריק',
-  'last_uploaded' => 'Last uploaded',
-  'public_alb' => 'Everybody (public album)',
-  'me_only' => 'Me only',
-  'owner_only' => 'Album owner (%s) only',
-  'groupp_only' => 'Members of the \'%s\' group',
-  'err_no_alb_to_modify' => 'No album you can modify in the database.',
-  'update' => 'עדכון אלבום',
-  'reset_album' => 'Reset album', //cpg1.4
-  'reset_views' => 'Reset views counter to &quot;0&quot; in %s', //cpg1.4
-  'reset_rating' => 'Reset ratings on all files in %s', //cpg1.4
-  'delete_comments' => 'Delete all comments made in %s', //cpg1.4
-  'delete_files' => '%sIrreversibly%s delete all files in %s', //cpg1.4
-  'views' => 'צפיות', //cpg1.4
-  'votes' => 'הצבעות', //cpg1.4
-  'comments' => 'הערות', //cpg1.4
-  'files' => 'קבצים', //cpg1.4
-  'submit_reset' => 'submit changes', //cpg1.4
-  'reset_views_confirm' => 'I\'m sure', //cpg1.4
-  'notice1' => '(*) תלוי במאפייני ה- %sקבוצות%s',  //cpg1.4 //(do not translate %s!)
-  'alb_password' => 'סיסמת האלבום', //cpg1.4
-  'alb_password_hint' => 'רמז לסיסמת האלבום', //cpg1.4
-  'edit_files' =>'ערוך קבצים', //cpg1.4
-  'parent_category' =>'קטגוריית אם', //cpg1.4
-  'thumbnail_view' =>'תמונות האלבום', //cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File phpinfo.php
-// ------------------------------------------------------------------------- //
-
-if (defined('PHPINFO_PHP')) $lang_phpinfo_php = array(
-  'php_info' => 'PHP info',
-  'explanation' => 'This is the output generated by the PHP-function <a href="http://www.php.net/phpinfo">phpinfo()</a>, displayed within Coppermine (trimming the output at the right side).',
-  'no_link' => 'Having others see your phpinfo can be a security risk, that\'s why this page is only visible when you\'re logged in as admin. You can not post a link to this page for others, they will be denied access.',
-);
-
-// ------------------------------------------------------------------------- //
-// File picmgr.php //cpg1.4
-// ------------------------------------------------------------------------- //
-if (defined('PICMGR_PHP')) $lang_picmgr_php = array(
-  'pic_mgr' => 'Picture Manager', //cpg1.4
-  'select_album' => 'בחר אלבום', //cpg1.4
-  'delete' => 'Delete', //cpg1.4
-  'confirm_delete1' => 'Are you sure you want to delete this picture ?', //cpg1.4
-  'confirm_delete2' => '\nPicture will be permanently deleted.', //cpg1.4
-  'apply_modifs' => 'Apply modifications', //cpg1.4
-  'confirm_modifs' => 'Confirm modifications', //cpg1.4
-  'pic_need_name' => 'Picture needs to have a name !', //cpg1.4
-  'no_change' => 'You did not make any change !', //cpg1.4
-  'no_album' => '* No album *', //cpg1.4
-  'explanation_header' => 'The custom sort order you can specify on this page will only be taken into account if', //cpg1.4
-  'explanation1' => 'the admin has set the "Default sort order for files" in the config to "Position descending" or "Position ascending" (global setting for all users who haven\'t chosen another sort option individually)', //cpg1.4
-  'explanation2' => 'the user has chosen "Position descending" or "Position ascending" on the thumbail page (per user setting)', //cpg1.4
-);
-
-
-// ------------------------------------------------------------------------- //
-// File pluginmgr.php //cpg1.4
-// ------------------------------------------------------------------------- //
-
-if (defined('PLUGINMGR_PHP')){
-
-$lang_pluginmgr_php = array(
-  'confirm_uninstall' => 'Are you sure you want to UNINSTALL this plugin', //cpg1.4
-  'confirm_delete' => 'Are you sure you want to DELETE this plugin', //cpg1.4
-  'pmgr' => 'Plugin Manager', //cpg1.4
-  'name' => 'Name', //cpg1.4
-  'author' => 'Author', //cpg1.4
-  'desc' => 'Description', //cpg1.4
-  'vers' => 'v', //cpg1.4
-  'i_plugins' => 'Installed Plugins', //cpg1.4
-  'n_plugins' => 'Plugins Not installed', //cpg1.4
-  'none_installed' => 'None Installed', //cpg1.4
-  'operation' => 'Operation', //cpg1.4
-  'not_plugin_package' => 'The file uploaded is not a plugin package.', //cpg1.4
-  'copy_error' => 'There was an error copying the package to the plugins folder.', //cpg1.4
-  'upload' => 'Upload', //cpg1.4
-  'configure_plugin' => 'Configure plugin', //cpg1.4
-  'cleanup_plugin' => 'Cleanup plugin', //cpg1.4
-);
-}
-
-// ------------------------------------------------------------------------- //
-// File ratepic.php
-// ------------------------------------------------------------------------- //
-
-if (defined('RATEPIC_PHP')) $lang_rate_pic_php = array(
-  'already_rated' => 'דירגת כבר קובץ זה!',
-  'rate_ok' => 'דירוגך התקבל, תודה!',
-  'forbidden' => 'You can not rate your own files.',
-);
-
-// ------------------------------------------------------------------------- //
-// File register.php & profile.php
-// ------------------------------------------------------------------------- //
-
-if (defined('REGISTER_PHP') || defined('PROFILE_PHP')) {
-
-$lang_register_disclamer = <<<EOT
-While the administrators of {SITE_NAME} will attempt to remove or edit any generally objectionable material as quickly as possible, it is impossible to review every post. Therefore you acknowledge that all posts made to this site express the views and opinions of the author and not the administrators or webmaster (except for posts by these people) and hence will not be held liable.<br />
-<br />
-You agree not to post any abusive, obscene, vulgar, slanderous, hateful, threatening, sexually-orientated or any other material that may violate any applicable laws. You agree that the webmaster, administrator and moderators of {SITE_NAME} have the right to remove or edit any content at any time should they see fit. As a user you agree to any information you have entered above being stored in a database. While this information will not be disclosed to any third party without your consent the webmaster and administrator cannot be held responsible for any hacking attempt that may lead to the data being compromised.<br />
-<br />
-This site uses cookies to store information on your local computer. These cookies serve only to improve your viewing pleasure. The email address is used only for confirming your registration details and password.<br />
-<br />
-By clicking 'I agree' below you agree to be bound by these conditions.
-EOT;
-
-$lang_register_php = array(
-  'page_title' => 'User registration',
-  'term_cond' => 'Terms and conditions',
-  'i_agree' => 'I agree',
-  'submit' => 'Submit registration',
-  'err_user_exists' => 'The username you have entered already exist, please choose a different one',
-  'err_password_mismatch' => 'The two passwords does not match, please input them again',
-  'err_uname_short' => 'Username must be 2 characters long minimum',
-  'err_password_short' => 'Password must be 2 characters long minimum',
-  'err_uname_pass_diff' => 'Username and password must be different',
-  'err_invalid_email' => 'Email address is invalid',
-  'err_duplicate_email' => 'Another user has already registered with the email address you entered',
-  'enter_info' => 'Input registration information',
-  'required_info' => 'Required information',
-  'optional_info' => 'Optional information',
-  'username' => 'Username',
-  'password' => 'Password',
-  'password_again' => 'Re-enter password',
-  'email' => 'Email',
-  'location' => 'Location',
-  'interests' => 'Interests',
-  'website' => 'Home page',
-  'occupation' => 'Occupation',
-  'error' => 'ERROR',
-  'confirm_email_subject' => '%s - Registration confirmation',
-  'information' => 'Information',
-  'failed_sending_email' => 'The registration confirmation email can\'t be send !',
-  'thank_you' => 'Thank you for registering.<br /><br />An email with information on how to activate your account was sent to the email address you provided.',
-  'acct_created' => 'Your account has been created and you can now login with your username and password',
-  'acct_active' => 'Your account is now active and you can login with your username and password',
-  'acct_already_act' => 'Account is already active!', //cpg1.4
-  'acct_act_failed' => 'This account can\'t be activated !',
-  'err_unk_user' => 'Selected user does not exist !',
-  'x_s_profile' => '%s\'s profile',
-  'group' => 'Group',
-  'reg_date' => 'Joined',
-  'disk_usage' => 'Disk usage',
-  'change_pass' => 'Change password',
-  'current_pass' => 'Current password',
-  'new_pass' => 'New password',
-  'new_pass_again' => 'New password again',
-  'err_curr_pass' => 'Current password is incorrect',
-  'apply_modif' => 'Apply modifications',
-  'change_pass' => 'Change my password',
-  'update_success' => 'Your profile was updated',
-  'pass_chg_success' => 'Your password was changed',
-  'pass_chg_error' => 'Your password was not changed',
-  'notify_admin_email_subject' => '%s - Registration notification',
-  'last_uploads' => 'Last uploaded file.<br />Click to see all uploads by', //cpg1.4
-  'last_comments' => 'Last comment.<br />Click to see all comments made by', //cpg1.4
-  'notify_admin_email_body' => 'A new user with the username "%s" has registered in your gallery',
-  'pic_count' => 'Files uploaded', //cpg1.4
-  'notify_admin_request_email_subject' => '%s - Registration request', //cpg1.4
-  'thank_you_admin_activation' => 'Thank you.<br /><br />Your request for account activation was sent to the admin. You will receive an email if approved.', //cpg1.4
-  'acct_active_admin_activation' => 'The account is now active and an email has been sent to the user.', //cpg1.4
-  'notify_user_email_subject' => '%s - Activation notification', //cpg1.4
-);
-
-$lang_register_confirm_email = <<<EOT
-Thank you for registering at {SITE_NAME}
-
-In order to activate your account with username "{USER_NAME}", you need to click on the link below or copy and paste it in your web browser.
-
-<a href="{ACT_LINK}">{ACT_LINK}</a>
-
-Regards,
-
-The management of {SITE_NAME}
-
-EOT;
-
-$lang_register_approve_email = <<<EOT
-A new user with the username "{USER_NAME}" has registered in your gallery.
-
-In order to activate the account, you need to click on the link below or copy and paste it in your web browser.
-
-<a href="{ACT_LINK}">{ACT_LINK}</a>
-
-EOT;
-
-$lang_register_activated_email = <<<EOT
-Your account has been approved and activated.
-
-You can now log in at <a href="{SITE_LINK}">{SITE_LINK}</a> using the username "{USER_NAME}"
-
-
-Regards,
-
-The management of {SITE_NAME}
-
-EOT;
-}
-
-// ------------------------------------------------------------------------- //
-// File reviewcom.php
-// ------------------------------------------------------------------------- //
-
-if (defined('REVIEWCOM_PHP')) $lang_reviewcom_php = array(
-  'title' => 'צפייה בהערות',
-  'no_comment' => 'לא קיימות הערות בגלריה',
-  'n_comm_del' => '%s הערות נמחקו',
-  'n_comm_disp' => 'Number of comments to display',
-  'see_prev' => 'הצג את הקודם',
-  'see_next' => 'הצג את הבא',
-  'del_comm' => 'מחק ההערות שנבחרו',
-  'user_name' => 'שם', //cpg1.4
-  'date' => 'תאריך', //cpg1.4
-  'comment' => 'הערה', //cpg1.4
-  'file' => 'קובץ', //cpg1.4
-  'name_a' => 'שם משתמש בסדר עולה', //cpg1.4
-  'name_d' => 'שם משתמש בסדר יורד', //cpg1.4
-  'date_a' => 'תאריך בסדר עולה', //cpg1.4
-  'date_d' => 'תאריך בסדר יורד', //cpg1.4
-  'comment_a' => 'הערה בסדר עולה', //cpg1.4
-  'comment_d' => 'הערה בסדר יורד', //cpg1.4
-  'file_a' => 'קובץ בסדר עולה', //cpg1.4
-  'file_d' => 'קובץ בסדר יורד', //cpg1.4
-);
-
-
-// ------------------------------------------------------------------------- //
-// File search.php                                                           //
-// ------------------------------------------------------------------------- //
-
-
-if (defined('SEARCH_PHP')){
-
-$lang_search_php = array(
-  'title' => 'חיפוש במאגר הקבצים', //cpg1.4
-  'submit_search' => 'חיפוש', //cpg1.4
-  'keyword_list_title' => 'רשימת מילות מפתח', //cpg1.4
-  'keyword_msg' => 'הרשימה לעיל אינה מלאה. היא אינה כוללת מילים מכותרות התמונות או מתיאורן. נסה חיפוש מלא.',  //cpg1.4
-  'edit_keywords' => 'עריכת מילות מפתח', //cpg1.4
-  'search in' => 'חפש ב:', //cpg1.4
-  'ip_address' => 'כתובת IP', //cpg1.4
-  'fields' => 'חפש ב', //cpg1.4
-  'age' => 'גיל', //cpg1.4
-  'newer_than' => 'חדשים מ', //cpg1.4
-  'older_than' => 'ישנים מ', //cpg1.4
-  'days' => 'ימים', //cpg1.4
-  'all_words' => 'כל מילות החיפוש (AND)', //cpg1.4
-  'any_words' => 'כל אחת ממילות החיפוש (OR)', //cpg1.4
-);
-
-$lang_adv_opts = array(
-  'title' => 'כותרת', //cpg1.4
-  'caption' => 'כיתוב', //cpg1.4
-  'keywords' => 'מילות מפתח', //cpg1.4
-  'owner_name' => 'שם בעלים', //cpg1.4
-  'filename' => 'שם קובץ', //cpg1.4
-);
-
-}
-
-// ------------------------------------------------------------------------- //
-// File searchnew.php
-// ------------------------------------------------------------------------- //
-
-if (defined('SEARCHNEW_PHP')) $lang_search_new_php = array(
-  'page_title' => 'חפש קבצים חדשים',
-  'select_dir' => 'בחר ספריה',
-  'select_dir_msg' => 'פונקציה זו מאפשרת לך להוסיף סדרה של קבצים הנמצאים בשרת (ניתן להעלות אותם דרך FTP).<br /><br />בחר בספריה אליה העלית את הקבצים.', //cpg1.4
-  'no_pic_to_add' => 'There is no file to add',
-  'need_one_album' => 'אתה חייב לפחות אלבום אחד בכדי להשתמש בפונקציה זו',
-  'warning' => 'אזהרה',
-  'change_perm' => 'the script can\'t write in this directory, you need to change its mode to 755 or 777 before trying to add the files !',
-  'target_album' => '<b>הכנס הקבצים של &quot;</b>%s<b>&quot; לתוך </b>%s',
-  'folder' => 'תיקיה',
-  'image' => 'שם הקובץ',
-  'album' => 'אלבום',
-  'result' => 'תוצאה',
-  'dir_ro' => 'Not writable. ',
-  'dir_cant_read' => 'Not readable. ',
-  'insert' => 'מוסיף את הקבצים החדשים לגלריה',
-  'list_new_pic' => 'רשימת קבצים חדשים',
-  'insert_selected' => 'הוסף את הקבצים שנבחרו',
-  'no_pic_found' => 'לא נמצאו קבצים חדשים',
-  'be_patient' => 'התאזרו בסבלנות, התהליך מתבצע כעת...',
-  'no_album' => 'לא נבחר אלבום',
-  'result_icon' => 'לחץ לפרטים או לטעינה מחדש',  //cpg1.4
-  'notes' =>  '<ul>'.
-                          '<li><b>OK</b> = הקובץ נוסף בהצלחה'.
-                          '<li><b>DP</b> = קובץ כפול, אשר נמצא כבר במאגר המידע'.
-                          '<li><b>PB</b> : לא ניתן להוסיף את הקובץ. בדוק את ההגדרות ואת ההרשאות של הספריה בה שוכנים הקבצים'.
-                          '<li><b>NA</b> : לא בחרת אלבום אליו צריכים להגיע הקבצים. לחץ \'<a href="javascript:history.back(1)">אחורה</a>\' ובחר אלבום. אם עדיין אין אלבום, <a href="albmgr.php">צור חדש</a></li>'.
-                          '<li>אם הסימנים OK, DP, PB לא מופיעים, לחץ על הקובץ התקול לצפיה בשגיאת PHP'.
-                          '<li>אם הדפדפן מפסיק להגיב למשך פרק זמן ממושך, רענן התצוגה'.
-                          '</ul>',
-  'select_album' => 'בחר אלבום',
-  'check_all' => 'Check All',
-  'uncheck_all' => 'Uncheck All',
-  'no_folders' => 'There are no folders inside the "albums" folder yet. Make sure to create at least one custom folder within "albums" folder and ftp-upload your files there. You mustn\'t upload to the "userpics" nor "edit" folders, they are reserved for http uploads and internal purposes.', //cpg1.4
-   'albums_no_category' => 'Albums with no category', //cpg1.4 // album pulldown mod, added by frogfoot
-  'personal_albums' => '* Personal albums', //cpg1.4 // album pulldown mod, added by frogfoot
-  'browse_batch_add' => 'מנשק הניתן לסיור (לא מומלץ)', //cpg1.4
-  'edit_pics' => 'ערוך קבצים', //cpg1.4
-  'edit_properties' => 'מאפייני האלבום', //cpg1.4
-  'view_thumbs' => 'תמונות האלבום', //cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File stat_details.php //cpg1.4
-// ------------------------------------------------------------------------- //
-
-if (defined('STAT_DETAILS_PHP')) $lang_stat_details_php = array(
-  'show_hide' => 'show/hide this column', //cpg1.4
-  'vote' => 'Vote Details', //cpg1.4
-  'hits' => 'Hit Details', //cpg1.4
-  'stats' => 'Vote Statistics', //cpg1.4
-  'sdate' => 'Date', //cpg1.4
-  'rating' => 'Rating', //cpg1.4
-  'search_phrase' => 'Search phrase', //cpg1.4
-  'referer' => 'Referer', //cpg1.4
-  'browser' => 'Browser', //cpg1.4
-  'os' => 'Operating System', //cpg1.4
-  'ip' => 'IP', //cpg1.4
-  'sort_by_xxx' => 'Sort by %s', //cpg1.4
-  'ascending' => 'ascending', //cpg1.4
-  'descending' => 'descending', //cpg1.4
-  'internal' => 'int', //cpg1.4
-  'close' => 'close', //cpg1.4
-  'hide_internal_referers' => 'hide internal referers', //cpg1.4
-  'date_display' => 'Date display', //cpg1.4
-  'submit' => 'submit / refresh', //cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File thumbnails.php
-// ------------------------------------------------------------------------- //
-
-// Void
-
-// ------------------------------------------------------------------------- //
-// File upload.php
-// ------------------------------------------------------------------------- //
-
-if (defined('UPLOAD_PHP')) $lang_upload_php = array(
-  'title' => 'שליחת קובץ',
-  'custom_title' => 'Customized Request Form',
-  'cust_instr_1' => 'You may select a customized number of upload boxes. However, you may not select more than the limits listed below.',
-  'cust_instr_2' => 'Box Number Requests',
-  'cust_instr_3' => 'File upload boxes: %s',
-  'cust_instr_4' => 'URI/URL upload boxes: %s',
-  'cust_instr_5' => 'URI/URL upload boxes:',
-  'cust_instr_6' => 'File upload boxes:',
-  'cust_instr_7' => 'Please enter the number of each type of upload box you desire at this time.  Then click \'Continue\'. ',
-  'reg_instr_1' => 'Invalid action for form creation.',
-  'reg_instr_2' => 'ביכולתך לשלוח את הקבצים שלך בעזרת התיבות להלן. גודל כל קובץ חייב להיות קטן מ%s ק"ב.  קבצי ZIP ישארו דחוסים.',
-  'reg_instr_3' => 'אם ברצונך לשלוח את התמונות בקובץ ZIP, השתמש באפשרות הרלוונטית באיזור \'שלח קובץ ZIP\'',
-  'reg_instr_4' => 'לשליחת כתובת תמונה, הכנס את הכתובת המלאה, לדוגמה: http://www.mysite.com/images/example.jpg',
-  'reg_instr_5' => 'לסיום, לחץ על כפתור \'המשך\'.',
-  'reg_instr_6' => 'שלח קובץ ZIP',
-  'reg_instr_7' => 'שליחת קבצים:',
-  'reg_instr_8' => 'שליחת כתובות:',
-  'error_report' => 'Error Report',
-  'error_instr' => 'The following uploads encountered errors:',
-  'file_name_url' => 'File Name/URL',
-  'error_message' => 'Error Message',
-  'no_post' => 'File not uploaded by POST.',
-  'forb_ext' => 'Forbidden file extension.',
-  'exc_php_ini' => 'Exceeded filesize allowed in php.ini.',
-  'exc_file_size' => 'Exceeded filesize permitted by CPG.',
-  'partial_upload' => 'Only a partial upload.',
-  'no_upload' => 'No upload occurred.',
-  'unknown_code' => 'Unknown PHP upload error code.',
-  'no_temp_name' => 'No upload - No temp name.',
-  'no_file_size' => 'Contains no data/Corrupted',
-  'impossible' => 'Impossible to move.',
-  'not_image' => 'Not an image/corrupt',
-  'not_GD' => 'Not a GD extension.',
-  'pixel_allowance' => 'The height and or width of the uploaded picture is more than that allowed by the gallery config.', //cpg1.4
-  'incorrect_prefix' => 'Incorrect URI/URL prefix',
-  'could_not_open_URI' => 'Could not open URI.',
-  'unsafe_URI' => 'Safety not verifiable.',
-  'meta_data_failure' => 'Meta data failure',
-  'http_401' => '401 Unauthorized',
-  'http_402' => '402 Payment Required',
-  'http_403' => '403 Forbidden',
-  'http_404' => '404 Not Found',
-  'http_500' => '500 Internal Server Error',
-  'http_503' => '503 Service Unavailable',
-  'MIME_extraction_failure' => 'MIME could not be determined.',
-  'MIME_type_unknown' => 'Unknown MIME type',
-  'cant_create_write' => 'Cannot create write file.',
-  'not_writable' => 'Cannot write to write file.',
-  'cant_read_URI' => 'Cannot read URI/URL',
-  'cant_open_write_file' => 'Cannot open URI write file.',
-  'cant_write_write_file' => 'Cannot write to URI write file.',
-  'cant_unzip' => 'Cannot unzip.',
-  'unknown' => 'Unknown error',
-  'succ' => 'שליחת הקבצים הצליחה',
-  'success' => '%s קבצים נשלחו בהצלחה!',
-  'add' => 'לחץ על \'המשך\' להוספת הקבצים לאלבומים',
-  'failure' => 'Upload Failure',
-  'f_info' => 'File Information',
-  'no_place' => 'The previous file could not be placed.',
-  'yes_place' => 'הקובץ האחרון מוקם בהצלחה',
-  'max_fsize' => 'Maximum allowed file size is %s KB',
-  'album' => 'אלבום',
-  'picture' => 'קובץ',
-  'pic_title' => 'כותרת הקובץ',
-  'description' => 'תיאור הקובץ',
-  'keywords' => 'מילות מפתח (מופרדות ברווחים)<br /><a href="#" onClick="return MM_openBrWindow(\'keyword_select.php\',\'selectKey\',\'width=250, height=400, scrollbars=yes,toolbar=no,status=yes,resizable=yes\')">בחר מרשימה</a>', //cpg1.4
-  'keywords_sel' =>'Select a Keyword', //cpg1.4
-  'err_no_alb_uploadables' => 'Sorry there is no album where you are allowed to upload files',
-  'place_instr_1' => 'הכנס כעת את הקבצים לאלבומים ומלא את המידע הרלוונטי עבור כל קובץ.',
-  'place_instr_2' => 'More files need placement. Please click \'Continue\'.',
-  'process_complete' => 'You have successfully placed all the files.',
-   'albums_no_category' => 'אלבומים ללא קטגוריות', //cpg1.4. //album pulldown mod, added by frogfoot
-  'personal_albums' => '* Personal albums', //cpg1.4 //album pulldown mod, added by frogfoot
-  'select_album' => 'בחר אלבום', //cpg1.4 //album pulldown mod, added by frogfoot
-  'close' => 'Close', //cpg1.4
-  'no_keywords' => 'Sorry, no keywords available!', //cpg1.4
-  'regenerate_dictionary' => 'Regenerate Dictionary', //cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File usermgr.php
-// ------------------------------------------------------------------------- //
-
-if (defined('USERMGR_PHP')) $lang_usermgr_php = array(
-  'memberlist' => 'Memberlist', //cpg1.4
-  'user_manager' => 'User manager', //cpg1.4
-  'title' => 'Manage users',
-  'name_a' => 'Name ascending',
-  'name_d' => 'Name descending',
-  'group_a' => 'Group ascending',
-  'group_d' => 'Group descending',
-  'reg_a' => 'Reg date ascending',
-  'reg_d' => 'Reg date descending',
-  'pic_a' => 'File count ascending',
-  'pic_d' => 'File count descending',
-  'disku_a' => 'Disk usage ascending',
-  'disku_d' => 'Disk usage descending',
-  'lv_a' => 'Last visit ascending',
-  'lv_d' => 'Last visit descending',
-  'sort_by' => 'Sort users by',
-  'err_no_users' => 'User table is empty !',
-  'err_edit_self' => 'You can\'t edit your own profile, use the \'My profile\' link for that',
-  'edit' => 'Edit', //cpg1.4
-  'with_selected' => 'With selected:', //cpg1.4
-  'delete' => 'Delete', //cpg1.4
-  'delete_files_no' => 'keep public files (but anonymize)', //cpg1.4
-  'delete_files_yes' => 'delete public files as well', //cpg1.4
-  'delete_comments_no' => 'keep comments (but anonymize)', //cpg1.4
-  'delete_comments_yes' => 'delete comments as well', //cpg1.4
-  'activate' => 'Activate', //cpg1.4
-  'deactivate' => 'Deactivate', //cpg1.4
-  'reset_password' => 'Reset Password', //cpg1.4
-  'change_primary_membergroup' => 'Change primary membergroup', //cpg1.4
-  'add_secondary_membergroup' => 'Add secondary membergroup', //cpg1.4
-  'name' => 'User name',
-  'group' => 'Group',
-  'inactive' => 'Inactive',
-  'operations' => 'Operations',
-  'pictures' => 'Files',
-  'disk_space_used' => 'Space used', //cpg1.4
-  'disk_space_quota' => 'Space Quota', //cpg1.4
-  'registered_on' => 'Registration', //cpg1.4
-  'last_visit' => 'Last Visit',
-  'u_user_on_p_pages' => '%d users on %d page(s)',
-  'confirm_del' => 'Are you sure you want to DELETE this user ? \\nAll his files and albums will also be deleted.', //js-alert
-  'mail' => 'MAIL',
-  'err_unknown_user' => 'Selected user does not exist !',
-  'modify_user' => 'Modify user',
-  'notes' => 'Notes',
-  'note_list' => '<li>If you don\'t want to change the current password, leave the "password" field blank',
-  'password' => 'Password',
-  'user_active' => 'User is active',
-  'user_group' => 'User group',
-  'user_email' => 'User email',
-  'user_web_site' => 'User web site',
-  'create_new_user' => 'Create new user',
-  'user_location' => 'User location',
-  'user_interests' => 'User interests',
-  'user_occupation' => 'User occupation',
-  'user_profile1' => '$user_profile1', //cpg1.4
-  'user_profile2' => '$user_profile2', //cpg1.4
-  'user_profile3' => '$user_profile3', //cpg1.4
-  'user_profile4' => '$user_profile4', //cpg1.4
-  'user_profile5' => '$user_profile5', //cpg1.4
-  'user_profile6' => '$user_profile6', //cpg1.4
-  'latest_upload' => 'Recent uploads',
-  'never' => 'never',
-  'search' => 'User search', //cpg1.4
-  'submit' => 'Submit', //cpg1.4
-  'search_submit' => 'Go!', //cpg1.4
-  'search_result' => 'Search results for: ', //cpg1.4
-  'alert_no_selection' => 'You have to select at least one user first!', //cpg1.4 //js-alert
-  'password' => 'password', //cpg1.4
-  'select_group' => 'Select group', //cpg1.4
-  'groups_alb_access' => 'Album permissions by group', //cpg1.4
-  'album' => 'אלבום', //cpg1.4
-  'category' => 'קטגוריה', //cpg1.4
-  'modify' => 'Modify?', //cpg1.4
-  'group_no_access' => 'This group has no special access', //cpg1.4
-  'notice' => 'Notice', //cpg1.4
-  'group_can_access' => 'Album(s) that only "%s" can access', //cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File util.php
-// ------------------------------------------------------------------------- //
-
-if (defined('UTIL_PHP')) {
-$lang_util_desc_php = array(
-'Updates titles from filename', //cpg1.4
-'Deletes titles', //cpg1.4
-'Rebuilds thumbnails and resized photos', //cpg1.4
-'Deletes original sized photos replacing them with the resized version', //cpg1.4
-'Deletes original or intermediate size photos to free webspace', //cpg1.4
-'Deletes orphaned comments', //cpg1.4
-'Re-reads file sizes and dimensions (if you manually edited pics)', //cpg1.4
-'Resets views counter', //cpg1.4
-'Displays phpinfo', //cpg1.4
-'Updates the database', //cpg1.4
-'Displays log files', //cpg1.4
-);
-$lang_util_php = array(
-  'title' => 'Admin utilities (Resize pictures)',
-  'what_it_does' => 'What it does',
-  'file' => 'קובץ',
-  'problem' => 'Problem', //cpg1.4
-  'status' => 'Status', //cpg1.4
-  'title_set_to' => 'title set to',
-  'submit_form' => 'submit',
-  'updated_succesfully' => 'updated succesfully',
-  'error_create' => 'ERROR creating',
-  'continue' => 'Process more images',
-  'main_success' => 'The file %s was successfully used as main file',
-  'error_rename' => 'Error renaming %s to %s',
-  'error_not_found' => 'The file %s was not found',
-  'back' => 'back to main',
-  'thumbs_wait' => 'Updating thumbnails and/or resized images, please wait...',
-  'thumbs_continue_wait' => 'Continuing to update thumbnails and/or resized images...',
-  'titles_wait' => 'Updating titles, please wait...',
-  'delete_wait' => 'Deleting titles, please wait...',
-  'replace_wait' => 'Deleting originals and replacing them with resized images, please wait..',
-  'instruction' => 'Quick instructions',
-  'instruction_action' => 'Select action',
-  'instruction_parameter' => 'Set parameters',
-  'instruction_album' => 'בחר אלבום',
-  'instruction_press' => 'Press %s',
-  'update' => 'Update thumbs and/or resized photos',
-  'update_what' => 'What should be updated',
-  'update_thumb' => 'Only thumbnails',
-  'update_pic' => 'Only resized pictures',
-  'update_both' => 'Both thumbnails and resized pictures',
-  'update_number' => 'Number of processed images per click',
-  'update_option' => '(Try setting this option lower if you experience timeout problems)',
-  'filename_title' => 'Filename &rArr; File title',
-  'filename_how' => 'How should the filename be modified',
-  'filename_remove' => 'Remove the .jpg ending and replace _ (underscore) with spaces',
-  'filename_euro' => 'Change 2003_11_23_13_20_20.jpg to 23/11/2003 13:20',
-  'filename_us' => 'Change 2003_11_23_13_20_20.jpg to 11/23/2003 13:20',
-  'filename_time' => 'Change 2003_11_23_13_20_20.jpg to 13:20',
-  'delete' => 'Delete file titles or original size photos',
-  'delete_title' => 'Delete file titles',
-  'delete_title_explanation' => 'This will remove all titles on files in the album you specify.', //cpg1.4
-  'delete_original' => 'Delete original size photos',
-  'delete_original_explanation' => 'This will remove the full sized pictures.', //cpg1.4
-  'delete_intermediate' => 'Delete intermediate pictures', //cpg1.4
-  'delete_intermediate_explanation' => 'This will delete intermediate (normal) pictures.<br />Use this to free up disk space if you have disabled \'Create intermediate pictures\' in config after adding pictures.', //cpg1.4
-  'delete_replace' => 'Deletes the original images replacing them with the sized versions',
-  'titles_deleted' => 'All titles in specified album removed', //cpg1.4
-  'deleting_intermediates' => 'Deleting intermediate images, please wait...', //cpg1.4
-  'searching_orphans' => 'Searching for orphans, please wait...', //cpg1.4
-  'select_album' => 'בחר אלבום',
-  'delete_orphans' => 'Delete comments on missing files', //cpg1.4
-  'delete_orphans_explanation' => 'This will identify and allow you to delete any comments associated with files no longer in the gallery.<br />Checks all albums.', //cpg1.4
-  'refresh_db' => 'Reload file dimensions and size information', //cpg1.4
-  'refresh_db_explanation' => 'This will re-read file sizes and dimensions. Use this if quota\'s are incorrect or you have changed the files manually.', //cpg1.4
-  'reset_views' => 'Reset view counters', //cpg1.4
-  'reset_views_explanation' => 'Sets all file view counts to zero in the album specified.', //cpg1.4
-  'orphan_comment' => 'orphan comments found',
-  'delete' => 'Delete',
-  'delete_all' => 'Delete all',
-  'delete_all_orphans' => 'Delete all orphans?', //cpg1.4
-  'comment' => 'Comment: ',
-  'nonexist' => 'attached to non existant file # ',
-  'phpinfo' => 'Display phpinfo',
-  'phpinfo_explanation' => 'Contains technical information about your server.<br /> - You may be asked to provide information from this when requesting support.', //cpg1.4
-  'update_db' => 'Update database',
-  'update_db_explanation' => 'If you have replaced coppermine files, added a modification or upgraded from a previous version of coppermine, make sure to run the database update once. This will create the necessary tables and/or config values in your coppermine database.',
-  'view_log' => 'View log files', //cpg1.4
-  'view_log_explanation' => 'Coppermine can keep track of various actions users perform. You can browse those logs if you have enabled logging in <a href="admin.php">coppermine config</a>.', //cpg1.4
-  'versioncheck' => 'Check versions', //cpg1.4
-  'versioncheck_explanation' => 'Check your file versions to find out if you have replaced all files after an upgrade, or if coppermine source files have been updated after the release of a package.', //cpg1.4
-  'bridgemanager' => 'Bridge Manager', //cpg1.4
-  'bridgemanager_explanation' => 'Enable/disable integration (bridging) of Coppermine with another application (e.g. your BBS).', //cpg1.4
-);
-}
-
-// ------------------------------------------------------------------------- //
-// File versioncheck.php //cpg1.4
-// ------------------------------------------------------------------------- //
-
-if (defined('VERSIONCHECK_PHP')) $lang_versioncheck_php = array(
-  'title' => 'Versioncheck', //cpg1.4
-  'what_it_does' => 'This page is meant for users who have updated their coppermine install. This script goes through the files on your webserver and tries to determine if your local file versions on the webserver are the same as the ones from the repository at http://coppermine.sourceforge.net, this way displaying the files you were meant to update as well.<br />It will show everything in red that needs to be fixed. Entries in yellow need looking into. Entries in green (or your default font color) are OK.<br />Click on the help icons to find out more.', //cpg1.4
-  'online_repository_unable' => 'Unable to connect to online repository', //cpg1.4
-  'online_repository_noconnect' => 'Coppermine was unable to connect to the online repository. This can have two reasons:', //cpg1.4
-  'online_repository_reason1' => 'the coppermine online repository is currently down - check if you can browse this page: %s - if you can\'t access this page, try again later.', //cpg1.4
-  'online_repository_reason2' => 'PHP on your webserver is configured with %s turned off (by default, it\'s turned on). If the server is yours to administer, turn this option on in <i>php.ini</i> (at least allow it to be overridden with %s). If you\'re webhosted, you will probably have to live with the fact that you can\'t compare your files to the online repository. This page will then only display the file versions that came with your distribution - updates will not be displayed.', //cpg1.4
-  'online_repository_skipped' => 'Connection to online repository skipped', //cpg1.4
-  'online_repository_to_local' => 'The script is defaulting to the local copy of the version-files now. The data may be inacurate if you have upgraded Coppermine and you haven\'t uploaded all files. Changes to the files after the release won\'t be taken into account as well.', //cpg1.4
-  'local_repository_unable' => 'Unable to connect to the repository on your server', //cpg1.4
-  'local_repository_explanation' => 'Coppermine was unable to connect to the repository file %s on your webserver. This probably means that you haven\'t uploaded the repository file to your webserver. Do so now and then try to run this page once more (hit refresh).<br />If the script still fails, your webhost might have disabled parts of <a href="http://www.php.net/manual/en/ref.filesystem.php">PHP\'s filesystem functions</a> completely. In this case, you simply won\'t be able to use this tool at all, sorry.', //cpg1.4
-  'coppermine_version_header' => 'Installed Coppermine version', //cpg1.4
-  'coppermine_version_info' => 'You have currently installed: %s', //cpg1.4
-  'coppermine_version_explanation' => 'If you think this is entirely wrong and you\'re supposed to be running a higher version of Coppermine, you probably haven\'t uploaded the most recent version of the file <i>include/init.inc.php</i>', //cpg1.4
-  'version_comparison' => 'Version comparison', //cpg1.4
-  'folder_file' => 'folder/file', //cpg1.4
-  'coppermine_version' => 'cpg version', //cpg1.4
-  'file_version' => 'file version', //cpg1.4
-  'webcvs' => 'web svn', //cpg1.4
-  'writable' => 'writable', //cpg1.4
-  'not_writable' => 'not writable', //cpg1.4
-  'help' => 'Help', //cpg1.4
-  'help_file_not_exist_optional1' => 'file/folder does not exist', //cpg1.4
-  'help_file_not_exist_optional2' => 'The file/folder %s has not been found on your server. Although it is optional you should upload it (using your FTP client) to your webserver if you are experiencing problems.', //cpg1.4
-  'help_file_not_exist_mandatory1' => 'file/folder does not exist', //cpg1.4
-  'help_file_not_exist_mandatory2' => 'The file/folder %s has not been found on your server, although it is mandatory. Upload the file to your webserver (using your FTP client).', //cpg1.4
-  'help_no_local_version1' => 'No local file version', //cpg1.4
-  'help_no_local_version2' => 'The script was unable to extract a local file version - your file is either outdated or you have modified it, removing the header information on the way. Updating the file is recommended.', //cpg1.4
-  'help_local_version_outdated1' => 'Local version outdated', //cpg1.4
-  'help_local_version_outdated2' => 'Your version of this file seems to be from an older version of Coppermine (you probably upgraded). Make sure to update this file as well.', //cpg1.4
-  'help_local_version_na1' => 'Unable to extract cvs version info', //cpg1.4
-  'help_local_version_na2' => 'The script could not determine what cvs version the file on your webserver is. You should upload the file from your package.', //cpg1.4
-  'help_local_version_dev1' => 'Development version', //cpg1.4
-  'help_local_version_dev2' => 'The file on your webserver seems to be newer than your Coppermine version. You are either using a development file (you should only do so if you know what you are doing), or you have upgraded your Coppermine install and not uploaded include/init.inc.php', //cpg1.4
-  'help_not_writable1' => 'Folder not writable', //cpg1.4
-  'help_not_writable2' => 'Change file permissions (CHMOD) to grant the script write access to the folder %s and everything within it.', //cpg1.4
-  'help_writable1' => 'Folder writable', //cpg1.4
-  'help_writable2' => 'The folder %s is writable. This is an unnecessary risk, coppermine only needs read/execute access.', //cpg1.4
-  'help_writable_undetermined' => 'Coppermine was not able to determine wether the folder is writable.', //cpg1.4
-  'your_file' => 'your file', //cpg1.4
-  'reference_file' => 'reference file', //cpg1.4
-  'summary' => 'Summary', //cpg1.4
-  'total' => 'Total files/folders checked', //cpg1.4
-  'mandatory_files_missing' => 'Mandatory files missing', //cpg1.4
-  'optional_files_missing' => 'Optional files missing', //cpg1.4
-  'files_from_older_version' => 'Files left over from outdated Coppermine version', //cpg1.4
-  'file_version_outdated' => 'Outdated file versions', //cpg1.4
-  'error_no_data' => 'The script made a boo, it was not able to retrieve any information. Sorry for the inconvenience.', //cpg1.4
-  'go_to_webcvs' => 'go to %s', //cpg1.4
-  'options' => 'Options', //cpg1.4
-  'show_optional_files' => 'show optional folders/files', //cpg1.4
-  'show_mandatory_files' => 'show mandatory files', //cpg1.4
-  'show_file_versions' => 'show file versions', //cpg1.4
-  'show_errors_only' => 'show folders/files with errors only', //cpg1.4
-  'show_permissions' => 'show folder permissions', //cpg1.4
-  'show_condensed_output' => 'show condensed ouput (for easier screenshots)', //cpg1.4
-  'coppermine_in_webroot' => 'coppermine is installed in the webroot', //cpg1.4
-  'connect_online_repository' => 'try connecting to the online repository', //cpg1.4
-  'show_additional_information' => 'show additional information', //cpg1.4
-  'no_webcvs_link' => 'don\'t display web svn link', //cpg1.4
-  'stable_webcvs_link' => 'display web svn link to stable branch', //cpg1.4
-  'devel_webcvs_link' => 'display web svn link to devel branch', //cpg1.4
-  'submit' => 'apply changes / refresh', //cpg1.4
-  'reset_to_defaults' => 'reset to default values', //cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File view_log.php  //cpg1.4
-// ------------------------------------------------------------------------- //
-
-if (defined('VIEWLOG_PHP')) $lang_viewlog_php = array(
-  'delete_all' => 'Delete All Logs', //cpg1.4
-  'delete_this' => 'Delete This Log', //cpg1.4
-  'view_logs' => 'View Logs', //cpg1.4
-  'no_logs' => 'No logs created.', //cpg1.4
-);
-
-
-// ------------------------------------------------------------------------- //
-// File xp_publish.php //cpg1.4
-// ------------------------------------------------------------------------- //
-
-if (defined('XP_PUBLISH_PHP')) {
-
-$lang_xp_publish_client = <<<EOT
-<h1>XP Web Publishing Wizard Client</h1><p>This module allows to use <b>Windows XP</b> web publishing wizard with Coppermine.</p><p>Code is based on article posted by
-EOT;
-
-$lang_xp_publish_required = <<<EOT
-<h2>What is required</h2><ul><li>Windows XP in order to have the wizard.</li><li>A working installation of Coppermine on which <b>the web upload function works properly.</b></li></ul><h2>How to install on client side</h2><ul><li>Right click on
-EOT;
-
-$lang_xp_publish_select = <<<EOT
-Select &quot;save target as..&quot;. Save the file on your hard drive. When saving the file, check that the proposed file name is <b>cpg_###.reg</b> (the ### represents a numerical timestamp). Change it to that name if necessary (leave the numbers). When downloaded, double click on the file in order to register your server with the web publishing wizard.</li></ul>
-EOT;
-
-$lang_xp_publish_testing = <<<EOT
-<h2>Testing</h2><ul><li>In Windows Explorer, select some files and click on <b>Publish xxx on the web</b> in the left pane.</li><li>Confirm your file selection. Click on <b>Next</b>.</li><li>In the list of services that appear, select the one for your photo gallery (it has the name of your gallery). If the service does not appear, check that you have installed <b>cpg_pub_wizard.reg</b> as described above.</li><li>Input your login information if required.</li><li>Select the target album for your pictures or create a new one.</li><li>Click on <b>next</b>. The upload of your pictures starts.</li><li>When it is completed, check your gallery to see if pictures have been properly added.</li></ul>
-EOT;
-
-$lang_xp_publish_notes = <<<EOT
-<h2>Notes :</h2><ul><li>Once the upload has started, the wizard can't display any error message returned by the script so you can't know if the upload failed or succeeded until you check your gallery.</li><li>If the upload fails, enable &quot;Debug mode&quot; on the Coppermine admin page, try with one single picture and check error messages in the
-EOT;
-
-$lang_xp_publish_flood = <<<EOT
-file that is located in Coppermine directory on your server.</li><li>In order to avoid that the gallery be <i>flooded</i> by pictures uploaded through the wizard, only the <b>gallery admins</b> and <b>users that can have their own albums</b> can use this feature.</li>
-EOT;
-
-
-
-$lang_xp_publish_php = array(
-  'title' => 'Coppermine - XP Web Publishing Wizard', //cpg1.4
-  'welcome' => 'Welcome <b>%s</b>,', //cpg1.4
-  'need_login' => 'You need to login to the gallery using your web browser before you can use this wizard.<p/><p>When you login don\'t forget to select the <b>remember me</b> option if it is present.', //cpg1.4
-  'no_alb' => 'Sorry but there is no album where you are allowed to upload pictures with this wizard.', //cpg1.4
-  'upload' => 'Upload your pictures into an existing album', //cpg1.4
-  'create_new' => 'Create a new album for your pictures', //cpg1.4
-  'album' => 'אלבום', //cpg1.4
-  'category' => 'קטגוריה', //cpg1.4
-  'new_alb_created' => 'Your new album &quot;<b>%s</b>&quot; was created.', //cpg1.4
-  'continue' => 'Press &quot;Next&quot; to start to upload your pictures', //cpg1.4
-  'link' => 'this link', //cpg1.4
-);
-}
+<?php
+/*************************
+  Coppermine Photo Gallery
+  ************************
+  Copyright (c) 2003-2009 Coppermine Dev Team
+  v1.1 originally written by Gregory DEMAR
+
+  This program is free software; you can redistribute it and/or modify
+  it under the terms of the GNU General Public License version 3
+  as published by the Free Software Foundation.
+  
+  ********************************************
+  Coppermine version: 1.4.25
+  $HeadURL: https://coppermine.svn.sourceforge.net/svnroot/coppermine/trunk/cpg1.4.x/lang/hebrew.php $
+  $Revision: 5997 $
+  $Author: gaugau $
+  $Date: 2009-05-26 08:43:24 +0200 (Di, 26 Mai 2009) $
+**********************************************/
+
+if (!defined('IN_COPPERMINE')) { die('Not in Coppermine...');}
+
+// info about translators and translated language
+$lang_translation_info = array(
+  'lang_name_english' => 'Hebrew', //cpg1.4
+  'lang_name_native' => 'עברית', //cpg1.4
+  'lang_country_code' => 'he_IL.UTF-8', //cpg1.4
+  //translator comment: common country codes include are "he_IL.utf8" (recommended) / "he" / "hebrew" / "he_IL". if on *nix: use `locale -a`to find put
+  //I've only translated the fields I've needed. You can submit your changes to me and get credit for your work here.
+  'trans_name'=> 'ליאור דוד',
+  'trans_email' => '',
+  'trans_website' => 'http://lior.l8d.org/projects/coppermine-heb/',
+  'trans_date' => '2006-12-19',
+);
+
+$lang_charset = 'utf-8';
+$lang_text_dir = 'rtl'; // ('ltr' for left to right, 'rtl' for right to left)
+
+// shortcuts for Byte, Kilo, Mega
+$lang_byte_units = array('בתים', 'ק"ב', 'מ"ב');
+
+// Day of weeks and months
+$lang_day_of_week = array('ראשון', 'שני', 'שלישי', 'רביעי', 'חמישי', 'שישי', 'שבת');
+$lang_month = array('ינואר', 'פברואר', 'מרץ', 'אפריל', 'מאי', 'יוני', 'יולי', 'אוגוסט', 'ספטמבר', 'אוקטובר', 'נובמבר', 'דצמבר');
+
+// Some common strings
+$lang_yes = 'כן';
+$lang_no  = 'לא';
+$lang_back = 'חזרה';
+$lang_continue = 'המשך';
+$lang_info = 'מידע';
+$lang_error = 'שגיאה';
+$lang_check_uncheck_all = 'בחר/נקה הכל'; //cpg1.4
+
+// The various date formats
+// See http://www.php.net/manual/en/function.strftime.php to define the variable below
+$album_date_fmt =    '%d ל%B, %Y';
+$lastcom_date_fmt =  '%d/%m/%y ב%H:%M';
+$lastup_date_fmt = '%d ל%B, %Y';
+$register_date_fmt = '%B %d, %Y';
+$lasthit_date_fmt = '%d ל%B %Y, %H:%M';
+$comment_date_fmt =  '%d ל%B %Y, %H:%M';
+$log_date_fmt = '%d ל%B %Y, %H:%M'; //cpg1.4
+
+// For the word censor
+$lang_bad_words = array('*fuck*', 'asshole', 'assramer', 'bitch*', 'c0ck', 'clits', 'Cock', 'cum', 'cunt*', 'dago', 'daygo', 'dego', 'dick*', 'dildo', 'fanculo', 'feces', 'foreskin', 'Fu\(*', 'fuk*', 'honkey', 'hore', 'injun', 'kike', 'lesbo', 'masturbat*', 'motherfucker', 'nazis', 'nigger*', 'nutsack', 'penis', 'phuck', 'poop', 'pussy', 'scrotum', 'shit', 'slut', 'titties', 'titty', 'twaty', 'wank*', 'whore', 'wop*', 'זין', 'זונה', 'כוסית', 'קוקסינל', 'מניאק', 'מנייאק', 'מזדיין', 'שרמוט*');
+
+$lang_meta_album_names = array(
+  'random' => 'קבצים אקראיים',
+  'lastup' => 'האחרונים שנוספו',
+  'lastalb'=> 'האלבומים האחרונים שעודכנו',
+  'lastcom' => 'הערות אחרונות',
+  'topn' => 'הנצפים ביותר',
+  'toprated' => 'הטובים ביותר',
+  'lasthits' => 'האחרונים שנצפו',
+  'search' => 'תוצאות החיפוש',
+  'favpics'=> 'קבצים מועדפים',  //cpg1.4
+);
+
+$lang_errors = array(
+  'access_denied' => 'אין לך הרשאה לצפות בעמוד זה.',
+  'perm_denied' => 'אין לך הרשאה לבצע פעולה זו.',
+  'param_missing' => 'לא נשלחו לסקריפט הפרמטרים הדרושים',
+  'non_exist_ap' => 'האלבום או הקובץ שבחרת אינם קיימים',
+  'quota_exceeded' => 'חריגה מהקצאת הדיסק<br /><br />הוקצו לך [quota]K, מתוכם מנוצלים [space]K, הוספת קובץ זה תגרום לחריגה מהנפח המותר.',
+  'gd_file_type_err' => 'בשימוש בספריית GDת סוגי התמונות היחידים המותרים הם Jpeg וGIF',
+  'invalid_image' => 'התמונה ששלחת משובשת, או שאינה נתמכת ע"י ספריית GD',
+  'resize_failed' => 'תקלה ביצירת התמונה המוקטנת או בהקטנת גודל הקובץ.',
+  'no_img_to_display' => 'אין תמונות להצגה',
+  'non_exist_cat' => 'הקטגוריה שבחרת אינה קיימת',
+  'orphan_cat' => 'A category has a non-existing parent, run the category manager to correct the problem!',
+  'directory_ro' => 'Directory \'%s\' is not writable, files can\'t be deleted',
+  'non_exist_comment' => 'The selected comment does not exist.',
+  'pic_in_invalid_album' => 'File is in a non existant album (%s)!?',
+  'banned' => 'You are currently banned from using this site.',
+  'not_with_udb' => 'This function is disabled in Coppermine because it is integrated with forum software. Either what you are trying to do is not supported in this configuration, or the function should be handled by the forum software.',
+  'offline_title' => 'לא פעיל',
+  'offline_text' => 'הגלריה לא פעילה כרגע - אנא בדוק שוב מאוחר יותר',
+  'ecards_empty' => 'לא קיים רישום בנוגע לגלויות אלקטרוניות.',
+  'action_failed' => 'Action failed.  Coppermine is unable to process your request.',
+  'no_zip' => 'The necessary libraries to process ZIP files are not available.  Please contact your Coppermine administrator.',
+  'zip_type' => 'You do not have permission to upload ZIP files.',
+  'database_query' => 'There was an error while processing a database query', //cpg1.4
+  'register_globals_on' => 'The PHP setting register_globals is enabled on your server, which is a bad idea in terms of security. It\'s strongly recommended to turn it off. [<a href="http://forum.coppermine-gallery.net/index.php/topic,59569.0.html" rel="external" class="external">more</a>]',
+);
+
+$lang_bbcode_help_title = 'עזרה ל- bbcode'; //cpg1.4
+$lang_bbcode_help = 'You can add clickable links and some formating to this field by using bbcode tags: <li>[b]Bold[/b] =&gt; <b>Bold</b></li><li>[i]Italic[/i] =&gt; <i>Italic</i></li><li>[url=http://yoursite.com/]Url Text[/url] =&gt; <a href="http://yoursite.com">Url Text</a></li><li>[email]user@domain.com[/email] =&gt; <a href="mailto:user@domain.com">user@domain.com</a></li><li>[color=red]some text[/color] =&gt; <span style="color:red">some text</span></li><li>[img]http://coppermine-gallery.net/demo/cpg14x/images/red.gif[/img] => <img src="../images/red.gif" border="0" alt="" /></li>'; //cpg1.4
+
+// ------------------------------------------------------------------------- //
+// File theme.php
+// ------------------------------------------------------------------------- //
+
+$lang_main_menu = array(
+  'home_title' => 'חזרה לדף הראשי',
+  'home_lnk' => 'דף ראשי',
+  'alb_list_title' => 'רשימת אלבומים',
+  'alb_list_lnk' => 'רשימת אלבומים',
+  'my_gal_title' => 'הגלריה שלי',
+  'my_gal_lnk' => 'הגלריה שלי',
+  'my_prof_title' => 'הפרופיל שלי', //cpg1.4
+  'my_prof_lnk' => 'הפרופיל שלי',
+  'adm_mode_title' => 'עבור למצב ניהול',
+  'adm_mode_lnk' => 'מצב ניהול',
+  'usr_mode_title' => 'עבור למצב משתמש רגיל',
+  'usr_mode_lnk' => 'מצב משתמש רגיל',
+  'upload_pic_title' => 'הוסף קובץ לאלבום',
+  'upload_pic_lnk' => 'שלח קובץ',
+  'register_title' => 'צור חשבון',
+  'register_lnk' => 'הרשמה',
+  'login_title' => 'חבר אותי לאתר', //cpg1.4
+  'login_lnk' => 'התחבר',
+  'logout_title' => 'נתק אותי מהאתר', //cpg1.4
+  'logout_lnk' => 'התנתקות',
+  'lastup_title' => 'הצג קבצים אחרונים שנוספו', //cpg1.4
+  'lastup_lnk' => 'האחרונים שנוספו',
+  'lastcom_title' => 'הצג ההערות האחרונות שנוספו', //cpg1.4
+  'lastcom_lnk' => 'הערות אחרונות',
+  'topn_title' => 'הצג הקבצים הכי נצפים', //cpg1.4
+  'topn_lnk' => 'הנצפים ביותר',
+  'toprated_title' => 'הצג הקבצים המדורגים כטובים ביותר', //cpg1.4
+  'toprated_lnk' => 'המדורגים כטובים ביותר',
+  'search_title' => 'חפש בגלריה', //cpg1.4
+  'search_lnk' => 'חיפוש',
+  'fav_title' => 'המועדפים שלי', //cpg1.4
+  'fav_lnk' => 'המועדפים שלי',
+  'memberlist_title' => 'הצג רשימת חברים',
+  'memberlist_lnk' => 'רשימת חברים',
+  'faq_title' => 'שאלות נפוצות בקשר לגלריה "Coppermine"',
+  'faq_lnk' => 'שו"ת',
+);
+
+$lang_gallery_admin_menu = array(
+  'upl_app_title' => 'אישור העלאות חדשות', //cpg1.4
+  'upl_app_lnk' => 'אישור העלאות',
+  'admin_title' => 'תפריט הגדרות המערכת', //cpg1.4
+  'admin_lnk' => 'הגדרות', //cpg1.4
+  'albums_title' => 'תפריט הגדרות האלבומים', //cpg1.4
+  'albums_lnk' => 'אלבומים',
+  'categories_title' => 'תפריט הגדרות הקטגוריות', //cpg1.4
+  'categories_lnk' => 'קטגוריות',
+  'users_title' => 'תפריט ניהול המשתמשים', //cpg1.4
+  'users_lnk' => 'משתמשים',
+  'groups_title' => 'Go to group configuration', //cpg1.4
+  'groups_lnk' => 'קבוצות משתמשים',
+  'comments_title' => 'Review all comments', //cpg1.4
+  'comments_lnk' => 'צפה בהערות',
+  'searchnew_title' => 'Go to the batch add process', //cpg1.4
+  'searchnew_lnk' => 'הוספת קבצים',
+  'util_title' => 'Go to the admin tools', //cpg1.4
+  'util_lnk' => 'כלי ניהול',
+  'key_title' => 'Go to the keyword dictionary', //cpg1.4
+  'key_lnk' => 'Keyword Dictionary', //cpg1.4
+  'ban_title' => 'Go to the banned users', //cpg1.4
+  'ban_lnk' => 'החרמת משתמשים',
+  'db_ecard_title' => 'Review Ecards', //cpg1.4
+  'db_ecard_lnk' => 'הצגת גלויית',
+  'pictures_title' => 'מיון התמונות שלי', //cpg1.4
+  'pictures_lnk' => 'מיון התמונות שלי', //cpg1.4
+  'documentation_lnk' => 'דוקומנטציה', //cpg1.4
+  'documentation_title' => 'Coppermine manual', //cpg1.4
+);
+
+$lang_user_admin_menu = array(
+  'albmgr_title' => 'Create and order my albums', //cpg1.4
+  'albmgr_lnk' => 'Create / order my albums',
+  'modifyalb_title' => 'Go to modify my albums',  //cpg1.4
+  'modifyalb_lnk' => 'Modify my albums',
+  'my_prof_title' => 'Go to my personal profile', //cpg1.4
+  'my_prof_lnk' => 'הפרופיל שלי',
+);
+
+$lang_cat_list = array(
+  'category' => 'קטגוריות',
+  'albums' => 'אלבומים',
+  'pictures' => 'קבצים',
+);
+
+$lang_album_list = array(
+  'album_on_page' => '%d אלבומים ב-%d עמודים',
+);
+
+$lang_thumb_view = array(
+  'date' => 'תאריך',
+  //Sort by filename and title
+  'name' => 'שם קובץ',
+  'title' => 'כותרת',
+  'sort_da' => 'מיון לפי תאריך בסדר עולה',
+  'sort_dd' => 'מיון לפי תאריך בסדר יורד',
+  'sort_na' => 'מיון לפי שם בסדר עולה',
+  'sort_nd' => 'מיון לפי שם בסדר יורד',
+  'sort_ta' => 'מיון לפי כותרת בסדר עולה',
+  'sort_td' => 'מיון לפי כותרת בסדר יורד',
+  'position' => 'מיקום', //cpg1.4
+  'sort_pa' => 'מיון לפי מיקום בסדר עולה', //cpg1.4
+  'sort_pd' => 'מיון לפי מיקום בסדר יורד', //cpg1.4
+  'download_zip' => 'הוורדת התמונות כקובץ ZIP',
+  'pic_on_page' => '%d קבצים ב- %d עמודים',
+  'user_on_page' => '%d users on %d page(s)',
+  'enter_alb_pass' => 'Enter Album Password', //cpg1.4
+  'invalid_pass' => 'Invalid Password', //cpg1.4
+  'pass' => 'Password', //cpg1.4
+  'submit' => 'Submit', //cpg1.4
+);
+
+$lang_img_nav_bar = array(
+  'thumb_title' => 'חזרה לעמוד התמונות',
+  'pic_info_title' => 'הצג/הסתר מידע קובץ',
+  'slideshow_title' => 'מצגת תמונות מתחלפות',
+  'ecard_title' => 'Send this file as an e-card',
+  'ecard_disabled' => 'e-cards are disabled',
+  'ecard_disabled_msg' => 'You don\'t have permission to send ecards', //js-alert
+  'prev_title' => 'הצג הקובץ הקודם',
+  'next_title' => 'הצג הקובץ הבא',
+  'pic_pos' => 'קובץ %s/%s',
+  'report_title' => 'Report this file to the administrator', //cpg1.4
+  'go_album_end' => 'Skip to end', //cpg1.4
+  'go_album_start' => 'Return to start', //cpg1.4
+  'go_back_x_items' => 'go back %s items', //cpg1.4
+  'go_forward_x_items' => 'go forward %s items', //cpg1.4
+);
+
+$lang_rate_pic = array(
+  'rate_this_pic' => 'דרג תמונה זו ',
+  'no_votes' => '(עדיין אין דירוג)',
+  'rating' => '(דירוג נוכחי : %s / 5 ע"י %s משתמשים)',
+  'rubbish' => 'על הפנים!',
+  'poor' => 'גרוע',
+  'fair' => 'סביר',
+  'good' => 'טוב',
+  'excellent' => 'טוב מאוד',
+  'great' => 'מצויין!',
+);
+
+// ------------------------------------------------------------------------- //
+// File include/exif.inc.php
+// ------------------------------------------------------------------------- //
+
+// void
+
+// ------------------------------------------------------------------------- //
+// File include/functions.inc.php
+// ------------------------------------------------------------------------- //
+
+$lang_cpg_die = array(
+  INFORMATION => $lang_info,
+  ERROR => $lang_error,
+  CRITICAL_ERROR => 'Critical error',
+  'file' => 'קובץ: ',
+  'line' => 'Line: ',
+);
+
+$lang_display_thumbnails = array(
+  'filename' => 'שם הקובץ=', //cpg1.4
+  'filesize' => 'גודל הקובץ=', //cpg1.4
+  'dimensions' => 'מימדים=', //cpg1.4
+  'date_added' => 'נוסף בתאריך=', //cpg1.4
+);
+
+$lang_get_pic_data = array(
+  'n_comments' => '%s הערות',
+  'n_views' => '%s צפיות',
+  'n_votes' => '(%s הצבעות)',
+);
+
+$lang_cpg_debug_output = array(
+  'debug_info' => 'Debug Info',
+  'select_all' => 'Select All',
+  'copy_and_paste_instructions' => 'If you\'re going to request help on the coppermine support board, copy-and-paste this debug output into your posting when requested, along with the error message you get (if any). Make sure to replace any passwords from the query with *** before posting. <br />Note: This is for information only and does not mean there is an error with your gallery.', //cpg1.4
+  'phpinfo' => 'display phpinfo',
+  'notices' => 'Notices', //cpg1.4
+);
+
+$lang_language_selection = array(
+  'reset_language' => 'Default language',
+  'choose_language' => 'Choose your language',
+);
+
+$lang_theme_selection = array(
+  'reset_theme' => 'Default theme',
+  'choose_theme' => 'Choose a theme',
+);
+
+$lang_version_alert = array(
+  'version_alert' => 'Unsupported version!', //cpg1.4
+  'security_alert' => 'Security Alert!', //cpg1.4.3
+  'relocate_exists' => 'Remove the <a href="http://coppermine-gallery.net/forum/index.php?topic=24217.0">relocate_server.php</a> file from your website!',
+  'no_stable_version' => 'You are running Coppermine %s (%s) which is only meant for very experienced users - this version comes without support nor any warranties. Use it at your own risk or downgrade to the latest stable version if you need support!', //cpg1.4
+  'gallery_offline' => 'The gallery is currently offline and will be only visible for you as admin. Don\'t forget to switch it back online after finishing maintenance.', //cpg1.4
+);
+
+$lang_create_tabs = array(
+  'previous' => 'previous', //cpg1.4
+  'next' => 'next', //cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File include/init.inc.php
+// ------------------------------------------------------------------------- //
+
+// void
+
+// ------------------------------------------------------------------------- //
+// File keyword.inc.php                                                      //
+// ------------------------------------------------------------------------- //
+
+// void
+
+// ------------------------------------------------------------------------- //
+// File include/picmgmt.inc.php
+// ------------------------------------------------------------------------- //
+
+// void
+
+// ------------------------------------------------------------------------- //
+// File include/plugin_api.inc.php
+// ------------------------------------------------------------------------- //
+$lang_plugin_api = array(
+  'error_wakeup' => "Couldn't awaken plugin '%s'", //cpg1.4
+  'error_install' => "Couldn't install plugin '%s'", //cpg1.4
+  'error_uninstall' => "Couldn't uninstall plugin '%s'", //cpg1.4
+  'error_sleep' => "Couldn't uninstall plugin '%s'<br />", //cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File include/smilies.inc.php
+// ------------------------------------------------------------------------- //
+
+if (defined('SMILIES_PHP')) $lang_smilies_inc_php = array(
+  'Exclamation' => 'Exclamation',
+  'Question' => 'Question',
+  'Very Happy' => 'Very Happy',
+  'Smile' => 'Smile',
+  'Sad' => 'Sad',
+  'Surprised' => 'Surprised',
+  'Shocked' => 'Shocked',
+  'Confused' => 'Confused',
+  'Cool' => 'Cool',
+  'Laughing' => 'Laughing',
+  'Mad' => 'Mad',
+  'Razz' => 'Razz',
+  'Embarassed' => 'Embarassed',
+  'Crying or Very sad' => 'Crying or Very sad',
+  'Evil or Very Mad' => 'Evil or Very Mad',
+  'Twisted Evil' => 'Twisted Evil',
+  'Rolling Eyes' => 'Rolling Eyes',
+  'Wink' => 'Wink',
+  'Idea' => 'Idea',
+  'Arrow' => 'Arrow',
+  'Neutral' => 'Neutral',
+  'Mr. Green' => 'Mr. Green',
+);
+
+// ------------------------------------------------------------------------- //
+// File addpic.php
+// ------------------------------------------------------------------------- //
+
+// void
+
+// ------------------------------------------------------------------------- //
+// File mode.php //cpg1.4
+// ------------------------------------------------------------------------- //
+
+if (defined('MODE_PHP')) $lang_mode_php = array(
+  0 => 'Leaving admin mode...',
+  1 => 'Entering admin mode...',
+);
+
+// ------------------------------------------------------------------------- //
+// File albmgr.php
+// ------------------------------------------------------------------------- //
+
+if (defined('ALBMGR_PHP')) $lang_albmgr_php = array(
+  'alb_need_name' => 'Albums need to have a name !', //js-alert
+  'confirm_modifs' => 'אתה בטוח שברצונך לבצע שינויים אלו?', //js-alert
+  'no_change' => 'You did not make any change !', //js-alert
+  'new_album' => 'אלבום חדש',
+  'confirm_delete1' => 'אתה בטוח שברצונך למחוק אלבום זה?', //js-alert
+  'confirm_delete2' => '\nAll files and comments it contains will be lost !', //js-alert
+  'select_first' => 'בחר אלבום תחילה!', //js-alert
+  'alb_mrg' => 'ניהול אלבומים',
+  'my_gallery' => '* הגלריה שלי *',
+  'no_category' => '* ללא קטגוריה *',
+  'delete' => 'מחק',
+  'new' => 'חדש',
+  'apply_modifs' => 'החל שינויים',
+  'select_category' => 'בחר קטגוריה',
+);
+
+// ------------------------------------------------------------------------- //
+// File banning.php
+// ------------------------------------------------------------------------- //
+
+if (defined('BANNING_PHP')) $lang_banning_php = array(
+  'title' => 'Ban Users', //cpg1.4
+  'user_name' => 'User Name', //cpg1.4
+  'ip_address' => 'IP Address', //cpg1.4
+  'expiry' => 'Expires (blank is permanent)', //cpg1.4
+  'edit_ban' => 'Save Changes', //cpg1.4
+  'delete_ban' => 'Delete', //cpg1.4
+  'add_new' => 'Add New Ban', //cpg1.4
+  'add_ban' => 'Add', //cpg1.4
+  'error_user' => 'Cannot find user', //cpg1.4
+  'error_specify' => 'You need to specifiy either a user name or an IP address', //cpg1.4
+  'error_ban_id' => 'Invalid ban ID!', //cpg1.4
+  'error_admin_ban' => 'You cannnot ban yourself!', //cpg1.4
+  'error_server_ban' => 'You were going to ban your own server? Tsk tsk, cannot do that...', //cpg1.4
+  'error_ip_forbidden' => 'You cannnot ban this IP - it is non-routable (private) anyway!<br />If you want to allow banning for private IPs, change this in your <a href="admin.php">Config</a> (only makes sense when Coppermine runs on a LAN).', //cpg1.4
+  'lookup_ip' => 'Lookup an IP address', //cpg1.4
+  'submit' => 'go!', //cpg1.4
+  'select_date' => 'select date', //cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File bridgemgr.php //cpg1.4
+// ------------------------------------------------------------------------- //
+
+if (defined('BRIDGEMGR_PHP')) $lang_bridgemgr_php = array(
+  'title' => 'Bridge Wizard',
+  'warning' => 'Warning: when using this wizard you have to understand that sensitive data is being sent using html forms. Only run it on your own PC (not on a public client like an internet cafe), and make sure to clear the browser cache and temporary files after you have finished, or others might be able to access your data!',
+  'back' => 'back',
+  'next' => 'next',
+  'start_wizard' => 'Start bridging wizard',
+  'finish' => 'Finish',
+  'hide_unused_fields' => 'hide unused form fields (recommended)',
+  'clear_unused_db_fields' => 'clear invalid database entries (recommended)',
+  'custom_bridge_file' => 'your custom bridge file\'s name (if the bridge file\'s name is <i>myfile.inc.php</i>, enter <i>myfile</i> into this field)',
+  'no_action_needed' => 'No action needed in this step. Just click \'next\' to continue.',
+  'reset_to_default' => 'Reset to default value',
+  'choose_bbs_app' => 'choose application to bridge coppermine with',
+  'support_url' => 'Go here for support on this application',
+  'settings_path' => 'path(s) used by your BBS app',
+  'database_connection' => 'database connection',
+  'database_tables' => 'database tables',
+  'bbs_groups' => 'BBS groups',
+  'license_number' => 'License number',
+  'license_number_explanation' => 'enter your license number (if applicable)',
+  'db_database_name' => 'Database name',
+  'db_database_name_explanation' => 'Enter the name of the database your BBS app uses',
+  'db_hostname' => 'Database host',
+  'db_hostname_explanation' => 'Hostname where your mySQL database resides, usually &quot;localhost&quot;',
+  'db_username' => 'Database user account',
+  'db_username_explanation' => 'mySQL user account to use for connection with BBS',
+  'db_password' => 'Database passsword',
+  'db_password_explanation' => 'Passsword for this mySQL user account',
+  'full_forum_url' => 'Forum URL',
+  'full_forum_url_explanation' => 'Full URL of your BBS app (including the leading http:// bit, e.g. http://www.yourdomain.tld/forum)',
+  'relative_path_of_forum_from_webroot' => 'Relative forum path',
+  'relative_path_of_forum_from_webroot_explanation' => 'Relative path to your BBS app from the webroot (Example: if your BBS is at http://www.yourdomain.tld/forum/, enter &quot;/forum/&quot; into this field)',
+  'relative_path_to_config_file' => 'Relative path to your BBS\'s config file',
+  'relative_path_to_config_file_explanation' => 'Relative path to your BBS, seen from your Coppermine folder (e.g. &quot;../forum/&quot; if your BBS is at http://www.yourdomain.tld/forum/ and Coppermine at http://www.yourdomain.tld/gallery/)',
+  'cookie_prefix' => 'Cookie prefix',
+  'cookie_prefix_explanation' => 'this has to be your BBS\'s cookie name',
+  'table_prefix' => 'Table prefix',
+  'table_prefix_explanation' => 'Must match the prefix you chose for your BBS when setting it up.',
+  'user_table' => 'User table',
+  'user_table_explanation' => '(usually default value should be OK, unless your BBS install isn\'t standard)',
+  'session_table' => 'Session table',
+  'session_table_explanation' => '(usually default value should be OK, unless your BBS install isn\'t standard)',
+  'group_table' => 'Group table',
+  'group_table_explanation' => '(usually default value should be OK, unless your BBS install isn\'t standard)',
+  'group_relation_table' => 'Group relation table',
+  'group_relation_table_explanation' => '(usually default value should be OK, unless your BBS install isn\'t standard)',
+  'group_mapping_table' => 'Group mapping table',
+  'group_mapping_table_explanation' => '(usually default value should be OK, unless your BBS install isn\'t standard)',
+  'use_standard_groups' => 'Use standard BBS usergroups',
+  'use_standard_groups_explanation' => 'Use standard (built-in) usergroups (recommended). This will make all custom usergroups settings made on this page become void. Only disable this option if you REALLY know what you\'re doing!',
+  'validating_group' => 'Validating group',
+  'validating_group_explanation' => 'The group ID of your BBS where users accounts that need validation are in (usually default value should be OK, unless your BBS install isn\'t standard)',
+  'guest_group' => 'Guest group',
+  'guest_group_explanation' => 'Group ID of your BBS where guests (anonymous users) are in (default value should be OK, only edit if you know what you\'re doing)',
+  'member_group' => 'Member group',
+  'member_group_explanation' => 'Group ID of your BBS where &quot;regular&quot; users accounts are in (default value should be OK, only edit if you know what you\'re doing)',
+  'admin_group' => 'Admin group',
+  'admin_group_explanation' => 'Group ID of your BBS where admins are in (default value should be OK, only edit if you know what you\'re doing)',
+  'banned_group' => 'Banned group',
+  'banned_group_explanation' => 'Group ID of your BBS where banned users are in (default value should be OK, only edit if you know what you\'re doing)',
+  'global_moderators_group' => 'Global moderators group',
+  'global_moderators_group_explanation' => 'Group ID of your BBS where global moderators of your BBS are in (default value should be OK, only edit if you know what you\'re doing)',
+  'special_settings' => 'BBS-specific settings',
+  'logout_flag' => 'phpBB version (logout flag)',
+  'logout_flag_explanation' => 'What\'s your BBS version (this setting specifies how logouts are being handled)',
+  'use_post_based_groups' => 'Use post-based groups?',
+  'logout_flag_yes' => '2.0.5 or higher',
+  'logout_flag_no' => '2.0.4 or lower',
+  'use_post_based_groups_explanation' => 'Should the groups from the BBS that are defined by the number of posts be taken into account (allows a granular permissions management) or just the default groups (makes administration easier, recommended). You can change this setting later as well.',
+  'use_post_based_groups_yes' => 'yes',
+  'use_post_based_groups_no' => 'no',
+  'error_title' => 'You need to correct these errors before you can continue. Go to the previous screen.',
+  'error_specify_bbs' => 'You have to specify what application you want to bridge your Coppermine install with.',
+  'error_no_blank_name' => 'You can\'t leave the name of your custom bridge file blank.',
+  'error_no_special_chars' => 'The bridge file name mustn\'t contain any special chars except underscore (_) and dash (-)!',
+  'error_bridge_file_not_exist' => 'The bridge file %s doesn\'t exist on the server. Check if you have actually uploaded it.',
+  'finalize' => 'enable/disable BBS integration',
+  'finalize_explanation' => 'So far, the settings you specified have been written into the database, but BBS integration hasn\'t been enabled. You can switch integration on/off later at any time. Make sure to remember the admin username and password from standalone Coppermine, you might need it later to be able to make any changes. If anything goes wrong, go to %s and disable BBS integration there, using your standalone (unbridged) admin account (usually the one you set up during Coppermine install).',
+  'your_bridge_settings' => 'Your bridge settings',
+  'title_enable' => 'Enable integration/bridging with %s',
+  'bridge_enable_yes' => 'enable',
+  'bridge_enable_no' => 'disable',
+  'error_must_not_be_empty' => 'must not be empty',
+  'error_either_be' => 'must either be %s or %s',
+  'error_folder_not_exist' => '%s doesn\'t exist. Correct the value you entered for %s',
+  'error_cookie_not_readible' => 'Coppermine can\'t read a cookie named %s. Correct the value you entered for %s, or go to your BBS administration panel and make sure that the cookie path is readible for coppermine.',
+  'error_mandatory_field_empty' => 'You can not leave the field %s blank - fill in the proper value.',
+  'error_no_trailing_slash' => 'There mustn\'t be a trailing slash in the field %s.',
+  'error_trailing_slash' => 'There must be a trailing slash in the field %s.',
+  'error_db_connect' => 'Could not connect to the mySQL database with the data you specified. Here\'s what mySQL said:',
+  'error_db_name' => 'Although Coppermine could establish a connection, it wasn\'t able to find the database %s. Make sure you have specified %s properly. Here\'s what mySQL said:',
+  'error_prefix_and_table' => '%s and ',
+  'error_db_table' => 'Could not find the table %s. Make sure you have specified %s correctly.',
+  'recovery_title' => 'Bridge Manager: emergency recovery',
+  'recovery_explanation' => 'If you came here to administer the BBS integration of your Coppermine gallery, you have to log in first as admin. If you can not log in because bridging doesn\'t work as expected, you can disable BBS integration with this page. Entering your username and password will not log you in, it will only disable BBS integration. Refer to the documentation for details.',
+  'username' => 'Username',
+  'password' => 'Password',
+  'disable_submit' => 'submit',
+  'recovery_success_title' => 'Authorization successful',
+  'recovery_success_content' => 'You have successfully disabled BBS bridging. Your Coppermine install runs now in standalone mode.',
+  'recovery_success_advice_login' => 'Log in as admin to edit your bridge settings and/or enable BBS integration again.',
+  'goto_login' => 'Go to login page',
+  'goto_bridgemgr' => 'Go to bridge manager',
+  'recovery_failure_title' => 'Authorization failed',
+  'recovery_failure_content' => 'You supplied the wrong credentials. You will have to supply the admin account data of the standalone version (usually the account you set up during Coppermine install).',
+  'try_again' => 'try again',
+  'recovery_wait_title' => 'Wait time has not elapsed',
+  'recovery_wait_content' => 'For security reasons this script does not allow failed logons in short succession, so you will have to wait a bit untill you\'re allowed to try to authenticate.',
+  'wait' => 'wait',
+  'create_redir_file' => 'Create redirection file (recommended)',
+  'create_redir_file_explanation' => 'To redirect users back to Coppermine once they logged into your BBS, you need a redirection file to be created within your BBS folder. When this option is checked, the bridge manager will attempt to create this file for you, or give you code ready to copy-and-paste to create the file manually.',
+  'browse' => 'browse',
+);
+
+// ------------------------------------------------------------------------- //
+// File calendar.php //cpg1.4
+// ------------------------------------------------------------------------- //
+
+if (defined('CALENDAR_PHP')) $lang_calendar_php = array(
+  'title' => 'Calendar', //cpg1.4
+  'close' => 'close', //cpg1.4
+  'clear_date' => 'clear date', //cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File catmgr.php
+// ------------------------------------------------------------------------- //
+
+if (defined('CATMGR_PHP')) $lang_catmgr_php = array(
+  'miss_param' => 'Parameters required for \'%s\'operation not supplied !',
+  'unknown_cat' => 'Selected category does not exist in database',
+  'usergal_cat_ro' => 'User galleries category can\'t be deleted !',
+  'manage_cat' => 'ניהול קטגוריות',
+  'confirm_delete' => 'אתה בטוח שברצונך למחוק קטגוריה זו?', //js-alert
+  'category' => 'קטגוריה',
+  'operations' => 'פעולות',
+  'move_into' => 'העבר ל-',
+  'update_create' => 'עדכון/יצירת קטגוריות',
+  'parent_cat' => 'קטגוריית אם',
+  'cat_title' => 'שם הקטגוריה',
+  'cat_thumb' => 'תמונה מוקטנת',
+  'cat_desc' => 'תיאור הקטגוריה',
+  'categories_alpha_sort' => 'מיון קטגוריות בסדר אלפאביתי (במקום סדר מותאם אישית)', //cpg1.4
+  'save_cfg' => 'שמירת הגדרות', //cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File admin.php //cpg1.4
+// ------------------------------------------------------------------------- //
+
+if (defined('ADMIN_PHP')) $lang_admin_php = array(
+  'title' => 'תצורת הגלריה', //cpg1.4
+  'manage_exif' => 'Manage exif display', //cpg1.4
+  'manage_plugins' => 'ניהול תוספים', //cpg1.4
+  'manage_keyword' => 'ניהול מילות מפתח', //cpg1.4
+  'restore_cfg' => 'שחזור הגדרות יצרן',
+  'save_cfg' => 'שמירת תצורת הגלריה',
+  'notes' => 'Notes',
+  'info' => 'מידע',
+  'upd_success' => 'הגדרות הגלריה עודכנו',
+  'restore_success' => 'הגדרות ברירת המחדל שוחזרו',
+  'name_a' => 'Name ascending',
+  'name_d' => 'Name descending',
+  'title_a' => 'Title ascending',
+  'title_d' => 'Title descending',
+  'date_a' => 'Date ascending',
+  'date_d' => 'Date descending',
+  'pos_a' => 'Position ascending', //cpg1.4
+  'pos_d' => 'Position descending', //cpg1.4
+  'th_any' => 'Max Aspect',
+  'th_ht' => 'Height',
+  'th_wd' => 'Width',
+  'label' => 'label',
+  'item' => 'item',
+  'debug_everyone' => 'כולם',
+  'debug_admin' => 'מנהלים בלבד',
+  'no_logs'=> 'כבוי', //cpg1.4
+  'log_normal'=> 'רגיל', //cpg1.4
+  'log_all' => 'הכל', //cpg1.4
+  'view_logs' => 'צפה ביומנים', //cpg1.4
+  'click_expand' => 'click section name to expand', //cpg1.4
+  'expand_all' => 'הרחב הכל', //cpg1.4
+  'notice1' => '(*) These settings mustn\'t be changed if you already have files in your database.', //cpg1.4 - (relocated)
+  'notice2' => '(**) When changing this setting, only the files that are added from that point on are affected, so it is advisable that this setting must not be changed if there are already files in the gallery. You can, however, apply the changes to the existing files with the &quot;<a href="util.php">admin tools</a> (resize pictures)&quot; utility from the admin menu.', //cpg1.4 - (relocated)
+  'notice3' => '(***) All log files are written in english.', //cpg1.4 - (relocated)
+  'bbs_disabled' => 'Function disabled when using bb integration', //cpg1.4
+  'auto_resize_everyone' => 'Everyone', //cpg1.4
+  'auto_resize_user' => 'User only', //cpg1.4
+  'ascending' => 'ascending', //cpg1.4
+  'descending' => 'descending', //cpg1.4
+);
+
+if (defined('ADMIN_PHP')) $lang_admin_data = array(
+  'הגדרות כלליות',
+  array('שם הגלריה', 'gallery_name', 0, 'f=index.htm&amp;as=admin_general_name&amp;ae=admin_general_name_end'), //cpg1.4
+  array('תיאור הגלריה', 'gallery_description', 0, 'f=index.htm&amp;as=admin_general_description&amp;ae=admin_general_description_end'), //cpg1.4
+  array('כתובת הדוא"ל של מנהל הגלריה', 'gallery_admin_email', 0, 'f=index.htm&amp;as=admin_general_email&amp;ae=admin_general_email_end'), //cpg1.4
+  array('כתובת ה-URL של תיקיית הגלריה (ללא \'index.php\' בסוף)', 'ecards_more_pic_target', 0, 'f=index.htm&amp;as=admin_general_coppermine-url&amp;ae=admin_general_coppermine-url_end'), //cpg1.4
+  array('כתובת ה-URL של עמוד הבית', 'home_target', 0, 'f=index.htm&amp;as=admin_general_home-url&amp;ae=admin_general_home-url_end'), //cpg1.4
+  array('אפשר הורדת המועדפים כקובץ ZIP', 'enable_zipdownload', 1, 'f=index.htm&amp;as=admin_general_zip-download&amp;ae=admin_general_zip-download_end'), //cpg1.4
+  array('הפרש אזור הזמן ביחס ל-GMT (הזמן הנוכחי: ' . localised_date(-1, $comment_date_fmt) . ')','time_offset',0, 'f=index.htm&amp;as=admin_general_time-offset&amp;ae=admin_general_time-offset_end&amp;top=1'), //cpg1.4
+  array('אפשר סיסמאות מוצפנות (לא ניתן לבטל תכונהזו לאחר שאופשרה)','enable_encrypted_passwords',1, 'f=index.htm&amp;as=admin_general_encrypt_password_start&amp;ae=admin_general_encrypt_password_end&amp;top=1'), // cpg 1.4
+  array('הצג אייקונים של עזרה (העזרה זמינה באנגלית בלבד)','enable_help',9, 'f=index.htm&amp;as=admin_general_help&amp;ae=admin_general_help_end'), //cpg1.4
+  array('אפשר מילות מפתח לחיצות בדף החיפוש','clickable_keyword_search',14, 'f=index.htm&amp;as=admin_general_keywords_start&amp;ae=admin_general_keywords_end'), //cpg1.4
+  array('אפשר פעולת תוספים (Plugins)', 'enable_plugins', 12, 'f=index.htm&amp;as=admin_general_enable-plugins&amp;ae=admin_general_enable-plugins_end'),  //cpg1.4
+  array('אשר החרמת כתובות IP פרטיות (non-routable)', 'ban_private_ip', 1,  'f=index.htm&amp;as=admin_general_private-ip&amp;ae=admin_general_private-ip_end'), //cpg1.4
+  array('ממשק הוספת קבצים הניתן לסיור', 'browse_batch_add', 1, 'f=index.htm&amp;as=admin_general_browsable_batch_add&amp;ae=admin_general_browsable_batch_add_end'), //cpg1.4
+
+  'הגדרות שפה ומערך תווים',
+  array('Language', 'lang', 5, 'f=index.htm&amp;as=admin_language_language&amp;ae=admin_language_language_end'), //cpg1.4
+  array('Fallback to English if translated phrase not found?', 'language_fallback', 1, 'f=index.htm&amp;as=admin_language_fallback&amp;ae=admin_language_fallback_end'), //cpg1.4
+  array('Character encoding', 'charset', 4, 'f=index.htm&amp;as=admin_language_charset&amp;ae=admin_language_charset_end'), //cpg1.4
+  array('Display language list', 'language_list', 1, 'f=index.htm&amp;as=admin_language_list&amp;ae=admin_language_list_end'), //cpg1.4
+  array('Display language flags', 'language_flags', 8, 'f=index.htm&amp;as=admin_language_flags&amp;ae=admin_language_flags_end&amp;top=1'), //cpg1.4
+  array('Display &quot;reset&quot; in language selection', 'language_reset', 1, 'f=index.htm&amp;as=admin_language_reset&amp;ae=admin_language_reset_end&amp;top=1'), //cpg1.4
+  //array('Display previous/next on tabbed pages', 'previous_next_tab', 1), //cpg1.4
+
+  'הגדרות ערכות נושא',
+  array('Theme', 'theme', 6, 'f=index.htm&amp;as=admin_theme_theme&amp;ae=admin_theme_theme_end'), //cpg1.4
+  array('Display theme list', 'theme_list', 1, 'f=index.htm&amp;as=admin_theme_theme_list&amp;ae=admin_theme_theme_list_end'), //cpg1.4
+  array('Display &quot;reset&quot; in theme selection', 'theme_reset', 1, 'f=index.htm&amp;as=admin_theme_theme_reset&amp;ae=admin_theme_theme_reset_end'), //cpg1.4
+  array('Display FAQ', 'display_faq', 1, 'f=index.htm&amp;as=admin_theme_faq&amp;ae=admin_theme_faq_end'), //cpg1.4
+  array('Custom menu link name', 'custom_lnk_name', 0,'f=index.htm&amp;as=admin_theme_custom_lnk_name&amp;ae=admin_theme_custom_lnk_name_end'), //cpg1.4
+  array('Custom menu link URL', 'custom_lnk_url', 0,'f=index.htm&amp;as=admin_language_custom_lnk_url&amp;ae=admin_language_custom_lnk_url_end'), //cpg1.4
+  array('Display bbcode help', 'show_bbcode_help', 1, 'f=index.htm&amp;as=admin_theme_bbcode&amp;ae=admin_theme_bbcode_end&amp;top=1'), //cpg1.4
+  array('Show the vanity block on themes that are defined as XHTML and CSS compliant','vanity_block',1, 'f=index.htm&amp;as=vanity_block&amp;ae=vanity_block_end'), //cpg1.4
+  array('Path to custom header include', 'custom_header_path', 0, 'f=index.htm&amp;as=admin_theme_include_path_start&amp;ae=admin_theme_include_path_end'), //cpg1.4
+  array('Path to custom footer include', 'custom_footer_path', 0, 'f=index.htm&amp;as=admin_theme_include_path_start&amp;ae=admin_theme_include_path_end'), //cpg1.4
+
+  'תצוגת רשימת אלבומים',
+  array('Width of the main table (pixels or %)', 'main_table_width', 0, 'f=index.htm&amp;as=admin_album_table-width&amp;ae=admin_album_table-width_end'), //cpg1.4
+  array('Number of levels of categories to display', 'subcat_level', 0, 'f=index.htm&amp;as=admin_album_category-levels&amp;ae=admin_album_category-levels_end'), //cpg1.4
+  array('Number of albums to display', 'albums_per_page', 0, 'f=index.htm&amp;as=admin_album_number&amp;ae=admin_album_number_end'), //cpg1.4
+  array('Number of columns for the album list', 'album_list_cols', 0, 'f=index.htm&amp;as=admin_album_columns&amp;ae=admin_album_columns_end'), //cpg1.4
+  array('Size of thumbnails in pixels', 'alb_list_thumb_size', 0, 'f=index.htm&amp;as=admin_album_thumbnail-size&amp;ae=admin_album_thumbnail-size_end'), //cpg1.4
+  array('The content of the main page', 'main_page_layout', 0, 'f=index.htm&amp;as=admin_album_list_content&amp;ae=admin_album_list_content_end'), //cpg1.4
+  array('Show first level album thumbnails in categories','first_level',1, 'f=index.htm&amp;as=admin_album_first-level_thumbs&amp;ae=admin_album_first-level_thumbs_end'), //cpg1.4
+  array('Sort categories alphabetically (instead of custom sort order)','categories_alpha_sort',1, 'f=index.htm&amp;as=admin_album_list_alphasort_start&amp;ae=admin_album_list_alphasort_end'), //cpg1.4
+  array('Show number of linked files','link_pic_count',1, 'f=index.htm&amp;as=admin_album_linked_files_start&amp;ae=admin_album_linked_files_end'), //cpg1.4
+
+  'תצוגת תמונות מוקטנות',
+  array('Number of columns on thumbnail page', 'thumbcols', 0, 'f=index.htm&amp;as=admin_thumbnail_columns&amp;ae=admin_thumbnail_columns_end'), //cpg1.4
+  array('Number of rows on thumbnail page', 'thumbrows', 0, 'f=index.htm&amp;as=admin_thumbnail_rows&amp;ae=admin_thumbnail_rows_end'), //cpg1.4
+  array('Maximum number of tabs to display', 'max_tabs', 10, 'f=index.htm&amp;as=admin_thumbnail_tabs&amp;ae=admin_thumbnail_tabs_end'), //cpg1.4
+  array('Display file caption (in addition to title) below the thumbnail', 'caption_in_thumbview', 1, 'f=index.htm&amp;as=admin_thumbnail_display_caption&amp;ae=admin_thumbnail_display_caption_end'), //cpg1.4
+  array('Display number of views below the thumbnail', 'views_in_thumbview', 1, 'f=index.htm&amp;as=admin_thumbnail_display_views&amp;ae=admin_thumbnail_display_views_end'), //cpg1.4
+  array('Display number of comments below the thumbnail', 'display_comment_count', 1, 'f=index.htm&amp;as=admin_thumbnail_display_comments&amp;ae=admin_thumbnail_display_comments_end'), //cpg1.4
+  array('Display uploader name below the thumbnail', 'display_uploader', 1, 'f=index.htm&amp;as=admin_thumbnail_display_uploader&amp;ae=admin_thumbnail_display_uploader_end'), //cpg1.4
+  //array('Display name of admin uploaders below the thumbnail', 'display_admin_uploader', 1, 'f=index.htm&amp;as=admin_thumbnail_display_admin_uploader&amp;ae=admin_thumbnail_display_admin_uploader_end'), //cpg1.4
+  array('Display file name below the thumbnail', 'display_filename', 1, 'f=index.htm&amp;as=admin_thumbnail_display_filename&amp;ae=admin_thumbnail_display_filename_end'), //cpg1.4
+  //array('Display album description', 'alb_desc_thumb', 1, 'f=index.htm&amp;as=admin_thumbnail_display_description&amp;ae=admin_thumbnail_display_description_end'), //cpg1.4
+  array('Default sort order for files', 'default_sort_order', 3, 'f=index.htm&amp;as=admin_thumbnail_default_sortorder&amp;ae=admin_thumbnail_default_sortorder_end'), //cpg1.4
+  array('Minimum number of votes for a file to appear in the \'top-rated\' list', 'min_votes_for_rating', 0, 'f=index.htm&amp;as=admin_thumbnail_minimum_votes&amp;ae=admin_thumbnail_minimum_votes_end'), //cpg1.4
+
+  'תצוגת תמונות', //cpg1.4
+  array('Width of the table for file display (pixels or %)', 'picture_table_width', 0, 'f=index.htm&amp;as=admin_image_comment_table-width&amp;ae=admin_image_comment_table-width_end'), //cpg1.4
+  array('File information is visible by default', 'display_pic_info', 1, 'f=index.htm&amp;as=admin_image_comment_info_visible&amp;ae=admin_image_comment_info_visible_end'), //cpg1.4
+  array('Max length for an image description', 'max_img_desc_length', 0, 'f=index.htm&amp;as=admin_image_comment_descr_length&amp;ae=admin_image_comment_descr_length_end'), //cpg1.4
+  array('Max number of characters in a word', 'max_com_wlength', 0, 'f=index.htm&amp;as=admin_image_comment_chars_per_word&amp;ae=admin_image_comment_chars_per_word_end'), //cpg1.4
+  array('Show film strip', 'display_film_strip', 1, 'f=index.htm&amp;as=admin_image_comment_filmstrip_toggle&amp;ae=admin_image_comment_filmstrip_toggle_end'), //cpg1.4
+  array('Display file name under film strip thumbnail', 'display_film_strip_filename', 1, 'f=index.htm&amp;as=admin_image_comment_display_film_strip_filename&amp;ae=admin_image_comment_display_film_strip_filename_end'), //cpg1.4
+  array('Number of items in film strip', 'max_film_strip_items', 0, 'f=index.htm&amp;as=admin_image_comment_filmstrip_number&amp;ae=admin_image_comment_filmstrip_number_end'), //cpg1.4
+  array('Slideshow interval in milliseconds (1 second = 1000 milliseconds)', 'slideshow_interval', 0, 'f=index.htm&amp;as=admin_image_comment_slideshow_interval&amp;ae=admin_image_comment_slideshow_interval_end'), //cpg1.4
+
+  'הגדרות הערות', //cpg1.4
+  array('Filter bad words in comments', 'filter_bad_words', 1, 'f=index.htm&amp;as=admin_image_comment_bad_words&amp;ae=admin_image_comment_bad_words_end'), //cpg1.4
+  array('Allow smiles in comments', 'enable_smilies', 1, 'f=index.htm&amp;as=admin_image_comment_smilies&amp;ae=admin_image_comment_smilies_end'), //cpg1.4
+  array('Allow several consecutive comments on one file from the same user (disable flood protection)', 'disable_comment_flood_protect', 1, 'f=index.htm&amp;as=admin_image_comment_flood&amp;ae=admin_image_comment_flood_end'), //cpg1.4
+  array('Max number of lines in a comment', 'max_com_lines', 0, 'f=index.htm&amp;as=admin_image_comment_lines&amp;ae=admin_image_comment_lines_end'), //cpg1.4
+  array('Maximum length of a comment', 'max_com_size', 0, 'f=index.htm&amp;as=admin_image_comment_length&amp;ae=admin_image_comment_length_end'), //cpg1.4
+  array('Notify admin of comments by email', 'email_comment_notification', 1, 'f=index.htm&amp;as=admin_image_comment_admin_notify&amp;ae=admin_image_comment_admin_notify_end'), //cpg1.4
+  array('Sort order of comments', 'comments_sort_descending', 17, 'f=index.htm&amp;as=admin_comment_sort_start&amp;ae=admin_comment_sort_end'), //cpg1.4
+  array('Prefix for anonymous comments authors', 'comments_anon_pfx', 0, 'f=index.htm&amp;as=comments_anon_pfx&amp;ae=comments_anon_pfx_end'), //cpg1.4
+
+  'הגדרות קבצים ותמונות מוקטנות',
+  array('Quality for JPEG files', 'jpeg_qual', 0, 'f=index.htm&amp;as=admin_picture_thumbnail_jpeg_quality&amp;ae=admin_picture_thumbnail_jpeg_quality_end'), //cpg1.4
+  array('Max dimension of a thumbnail <a href="#notice2" class="clickable_option">**</a>', 'thumb_width', 0, 'f=index.htm&amp;as=admin_picture_thumbnail_max-dimension&amp;ae=admin_picture_thumbnail_max-dimension_end'), //cpg1.4
+  array('Use dimension ( width or height or Max aspect for thumbnail ) <a href="#notice2" class="clickable_option">**</a>', 'thumb_use', 7, 'f=index.htm&amp;as=admin_picture_thumbnail_use-dimension&amp;ae=admin_picture_thumbnail_use-dimension_end'), //cpg1.4
+  array('Create intermediate pictures','make_intermediate',1, 'f=index.htm&amp;as=admin_picture_thumbnail_intermediate_toggle&amp;ae=admin_picture_thumbnail_intermediate_toggle_end'), //cpg1.4
+  array('Max width or height of an intermediate picture/video <a href="#notice2" class="clickable_option">**</a>', 'picture_width', 0, 'f=index.htm&amp;as=admin_picture_thumbnail_intermediate_dimension&amp;ae=admin_picture_thumbnail_intermediate_dimension_end'), //cpg1.4
+  array('Max size for uploaded files (KB)', 'max_upl_size', 0, 'f=index.htm&amp;as=admin_picture_thumbnail_max_upload_size&amp;ae=admin_picture_thumbnail_max_upload_size_end'), //cpg1.4
+  array('Max width or height for uploaded pictures/videos (pixels)', 'max_upl_width_height', 0, 'f=index.htm&amp;as=admin_picture_thumbnail_max_upload_dimension&amp;ae=admin_picture_thumbnail_max_upload_dimension_end'), //cpg1.4
+  array('Auto resize images that are larger than max width or height', 'auto_resize', 16, 'f=index.htm&amp;as=admin_picture_thumbnail_auto-resize&amp;ae=admin_picture_thumbnail_auto-resize_end'), //cpg1.4
+
+  'הגדרות מתקדמות של קבצים ותמונות מוקטנות',
+  array('Albums can be private (Note: if you switch from \'yes\' to \'no\' any current private albums will become public)', 'allow_private_albums', 1, 'f=index.htm&amp;as=admin_picture_thumb_advanced_private_toggle&amp;ae=admin_picture_thumb_advanced_private_toggle_end'), //cpg1.4
+  array('Show private album Icon to unlogged user','show_private',1, 'f=index.htm&amp;as=admin_picture_thumb_advanced_private_icon_show&amp;ae=admin_picture_thumb_advanced_private_icon_show_end'), //cpg1.4
+  array('Characters forbidden in filenames', 'forbiden_fname_char',0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_filename_forbidden_chars&amp;ae=admin_picture_thumb_advanced_filename_forbidden_chars_end'), //cpg1.4
+  //array('Accepted file extensions for uploaded pictures', 'allowed_file_extensions',0, 'f=index.htm&amp;as=&amp;ae=_end'), //cpg1.4
+  array('Allowed image types', 'allowed_img_types',0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_pic_extensions&amp;ae=admin_picture_thumb_advanced_pic_extensions_end'), //cpg1.4
+  array('Allowed movie types', 'allowed_mov_types',0, 'f=index.htm&amp;as=admin_thumbs_advanced_movie&amp;ae=admin_thumbs_advanced_movie_end'), //cpg1.4
+  array('Movie Playback Autostart', 'media_autostart',1, 'f=index.htm&amp;as=admin_movie_autoplay&amp;ae=admin_movie_autoplay_end'), //cpg1.4
+  array('Allowed audio types', 'allowed_snd_types',0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_audio_extensions&amp;ae=admin_picture_thumb_advanced_audio_extensions_end'), //cpg1.4
+  array('Allowed document types', 'allowed_doc_types',0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_doc_extensions&amp;ae=admin_picture_thumb_advanced_doc_extensions_end'), //cpg1.4
+  array('Method for resizing images','thumb_method',2, 'f=index.htm&amp;as=admin_picture_thumb_advanced_resize_method&amp;ae=admin_picture_thumb_advanced_resize_method_end'), //cpg1.4
+  array('Path to ImageMagick \'convert\' utility (example /usr/bin/X11/)', 'impath', 0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_im_path&amp;ae=admin_picture_thumb_advanced_im_path_end'), //cpg1.4
+  //array('Allowed image types (only valid for ImageMagick)', 'allowed_img_types',0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_allowed_imagetypes&amp;ae=admin_picture_thumb_advanced_allowed_imagetypes_end'), //cpg1.4
+  array('Command line options for ImageMagick', 'im_options', 0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_im_commandline&amp;ae=admin_picture_thumb_advanced_im_commandline_end'), //cpg1.4
+  array('Read EXIF data in JPEG files', 'read_exif_data', 13, 'f=index.htm&amp;as=admin_picture_thumb_advanced_exif&amp;ae=admin_picture_thumb_advanced_exif_end'), //cpg1.4
+  array('Read IPTC data in JPEG files', 'read_iptc_data', 1, 'f=index.htm&amp;as=admin_picture_thumb_advanced_iptc&amp;ae=admin_picture_thumb_advanced_iptc_end'), //cpg1.4
+  array('The album directory <a href="#notice1" class="clickable_option">*</a>', 'fullpath', 0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_albums_dir&amp;ae=admin_picture_thumb_advanced_albums_dir_end'), //cpg1.4
+  array('The directory for user files <a href="#notice1" class="clickable_option">*</a>', 'userpics', 0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_userpics_dir&amp;ae=admin_picture_thumb_advanced_userpics_dir_end'), //cpg1.4
+  array('The prefix for intermediate pictures <a href="#notice1" class="clickable_option">*</a>', 'normal_pfx', 0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_intermediate_prefix&amp;ae=admin_picture_thumb_advanced_intermediate_prefix_end'), //cpg1.4
+  array('The prefix for thumbnails <a href="#notice1" class="clickable_option">*</a>', 'thumb_pfx', 0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_thumbs_prefix&amp;ae=admin_picture_thumb_advanced_thumbs_prefix_end'), //cpg1.4
+  array('Default mode for directories', 'default_dir_mode', 0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_chmod_folder&amp;ae=admin_picture_thumb_advanced_chmod_folder_end'), //cpg1.4
+  array('Default mode for files', 'default_file_mode', 0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_chmod_files&amp;ae=admin_picture_thumb_advanced_chmod_files_end'), //cpg1.4
+
+  'הגדרות משתמשים',
+  array('Allow new user registrations', 'allow_user_registration', 1, 'f=index.htm&amp;as=admin_allow_registration&amp;ae=admin_allow_registration_end'), //cpg1.4
+  array('Allow unlogged users (guest or anonymous) access', 'allow_unlogged_access', 1, 'f=index.htm&amp;as=admin_allow_unlogged_access&amp;ae=admin_allow_unlogged_access_end'), //cpg1.4
+  array('User registration requires email verification', 'reg_requires_valid_email', 1, 'f=index.htm&amp;as=admin_registration_verify&amp;ae=admin_registration_verify_end'), //cpg1.4
+  array('Notify admin of user registration by email', 'reg_notify_admin_email', 1, 'f=index.htm&amp;as=admin_registration_notify&amp;ae=admin_registration_notify_end'), //cpg1.4
+  array('Admin activation of registrations', 'admin_activation', 1, 'f=index.htm&amp;as=admin_activation&amp;ae=admin_activation_end'),  //cpg1.4
+  array('Allow two users to have the same email address', 'allow_duplicate_emails_addr', 1, 'f=index.htm&amp;as=admin_allow_duplicate_emails_addr&amp;ae=admin_allow_duplicate_emails_addr_end'), //cpg1.4
+  array('Notify admin of user upload awaiting approval', 'upl_notify_admin_email', 1, 'f=index.htm&amp;as=admin_approval_notify&amp;ae=admin_approval_notify_end'), //cpg1.4
+  array('Allow logged in users to view memberlist', 'allow_memberlist', 1, 'f=index.htm&amp;as=admin_user_memberlist&amp;ae=admin_user_memberlist_end'), //cpg1.4
+  array('Allow users to change their email address in profile', 'allow_email_change', 1, 'f=index.htm&amp;as=admin_user_allow_email_change&amp;ae=admin_user_allow_email_change_end'), //cpg1.4
+  array('Allow users to retain control over their pics in public galleries', 'users_can_edit_pics', 1, 'f=index.htm&amp;as=admin_user_editpics_public_start&amp;ae=admin_user_editpics_public_end'), //cpg1.4
+  array('Number of failed login attempts until temporary ban (to avoid brute force attacks)', 'login_threshold', 0, 'f=index.htm&amp;as=admin_user_login_start&amp;ae=admin_user_login_end'), //cpg1.4
+  array('Duration of a temporary ban after failed logins', 'login_expiry', 0, 'f=index.htm&amp;as=admin_user_login_start&amp;ae=admin_user_login_end'), //cpg1.4
+  array('Enable Report to Admin', 'report_post', 1, 'f=index.htm&amp;as=admin_user_enable_report&amp;ae=admin_user_enable_report_end'),  //cpg1.4
+
+// custom profile fields,  //cpg1.4
+  'Custom fields for user profile (leave blank if unused).
+  Use Profile 6 for long entries, such as biographies', //cpg1.4
+  array('Profile 1 name', 'user_profile1_name', 0, 'f=index.htm&amp;as=admin_custom&amp;ae=admin_custom_end'), //cpg1.4
+  array('Profile 2 name', 'user_profile2_name', 0), //cpg1.4
+  array('Profile 3 name', 'user_profile3_name', 0), //cpg1.4
+  array('Profile 4 name', 'user_profile4_name', 0), //cpg1.4
+  array('Profile 5 name', 'user_profile5_name', 0), //cpg1.4
+  array('Profile 6 name', 'user_profile6_name', 0), //cpg1.4
+
+  'Custom fields for image description (leave blank if unused)',
+  array('Field 1 name', 'user_field1_name', 0, 'f=index.htm&amp;as=admin_custom_image&amp;ae=admin_custom_image_end'), //cpg1.4
+  array('Field 2 name', 'user_field2_name', 0),
+  array('Field 3 name', 'user_field3_name', 0),
+  array('Field 4 name', 'user_field4_name', 0),
+
+  'Cookies settings',
+  array('Cookie name', 'cookie_name', 0, 'f=index.htm&amp;as=admin_cookie_name&amp;ae=admin_cookie_name_end'), //cpg1.4
+  array('Cookie path', 'cookie_path', 0, 'f=index.htm&amp;as=admin_cookie_path&amp;ae=admin_cookie_path_end'), //cpg1.4
+
+  'Email settings  (usually nothing has to be changed here; leave all fields blank when not sure)', //cpg1.4
+  array('SMTP Host (when left blank, sendmail will be used)', 'smtp_host', 0, 'f=index.htm&amp;as=admin_email&amp;ae=admin_email_end'), //cpg1.4
+  array('SMTP Username', 'smtp_username', 0), //cpg1.4
+  array('SMTP Password', 'smtp_password', 0), //cpg1.4
+
+  'Logging and statistics', //cpg1.4
+  array('Logging mode <a href="#notice3" class="clickable_option">***</a>', 'log_mode', 11, 'f=index.htm&amp;as=admin_logging_log_mode&amp;ae=admin_logging_log_mode_end'), //cpg1.4
+  array('Log ecards', 'log_ecards', 1, 'f=index.htm&amp;as=admin_general_log_ecards&amp;ae=admin_general_log_ecards_end'), //cpg1.4
+  array('Keep detailed vote statistics','vote_details',1, 'f=index.htm&amp;as=admin_logging_votedetails&amp;ae=admin_logging_votedetails_end'), //cpg1.4
+  array('Keep detailed hit statistics','hit_details',1, 'f=index.htm&amp;as=admin_logging_hitdetails&amp;ae=admin_logging_hitdetails_end'), //cpg1.4
+
+  'Maintenance settings', //cpg1.4
+  array('Enable debug mode', 'debug_mode', 9, 'f=index.htm&amp;as=debug_mode&amp;ae=debug_mode_end'), //cpg1.4
+  array('Display notices in debug mode', 'debug_notice', 1, 'f=index.htm&amp;as=admin_misc_debug_notices&amp;ae=admin_misc_debug_notices_end'), //cpg1.4
+  array('Gallery is offline', 'offline', 1, 'f=index.htm&amp;as=admin_general_offline&amp;ae=admin_general_offline_end'), //cpg1.4
+);
+
+
+// ------------------------------------------------------------------------- //
+// File db_ecard.php
+// ------------------------------------------------------------------------- //
+
+if (defined('DB_ECARD_PHP')) $lang_db_ecard_php = array(
+  'title' => 'Sent ecards',
+  'ecard_sender' => 'Sender',
+  'ecard_recipient' => 'Recipient',
+  'ecard_date' => 'Date',
+  'ecard_display' => 'Display ecard',
+  'ecard_name' => 'Name',
+  'ecard_email' => 'Email',
+  'ecard_ip' => 'IP #',
+  'ecard_ascending' => 'ascending',
+  'ecard_descending' => 'descending',
+  'ecard_sorted' => 'Sorted',
+  'ecard_by_date' => 'by date',
+  'ecard_by_sender_name' => 'by sender\'s name',
+  'ecard_by_sender_email' => 'by sender\'s email',
+  'ecard_by_sender_ip' => 'by sender\'s IP address',
+  'ecard_by_recipient_name' => 'by recipient\'s name',
+  'ecard_by_recipient_email' => 'by recipient\'s email',
+  'ecard_number' => 'displaying record %s to %s of %s',
+  'ecard_goto_page' => 'go to page',
+  'ecard_records_per_page' => 'Records per page',
+  'check_all' => 'Check All',
+  'uncheck_all' => 'Uncheck All',
+  'ecards_delete_selected' => 'Delete selected ecards',
+  'ecards_delete_confirm' => 'Are you sure you want to delete the records? Tick the checkbox!',
+  'ecards_delete_sure' => 'I\'m sure',
+);
+
+
+// ------------------------------------------------------------------------- //
+// File db_input.php
+// ------------------------------------------------------------------------- //
+
+if (defined('DB_INPUT_PHP')) $lang_db_input_php = array(
+  'empty_name_or_com' => 'You need to type your name and a comment',
+  'com_added' => 'Your comment was added',
+  'alb_need_title' => 'You have to provide a title for the album !',
+  'no_udp_needed' => 'לא נדרש עדכון.',
+  'alb_updated' => 'האלבום עודכן',
+  'unknown_album' => 'Selected album does not exist or you don\'t have permission to upload in this album',
+  'no_pic_uploaded' => 'No file was uploaded !<br /><br />If you have really selected a file to upload, check that the server allows file uploads...',
+  'err_mkdir' => 'Failed to create directory %s !',
+  'dest_dir_ro' => 'Destination directory %s is not writable by the script !',
+  'err_move' => 'Impossible to move %s to %s !',
+  'err_fsize_too_large' => 'The size of file you have uploaded is too large (maximum allowed is %s x %s) !', //obsolete since cpg1.3 - consider removal in cpg1.4 once upload.php has been overhauled
+  'err_imgsize_too_large' => 'The size of the file you have uploaded is too large (maximum allowed is %s KB) !', //obsolete since cpg1.3 - consider removal in cpg1.4 once upload.php has been overhauled
+  'err_invalid_img' => 'The file you have uploaded is not a valid image !',
+  'allowed_img_types' => 'You can only upload %s images.',
+  'err_insert_pic' => 'The file \'%s\' can\'t be inserted in the album ',
+  'upload_success' => 'הקובץ שלך נשלח בהצלחה.<br /><br />הוא יהיה זמין לצפיה לאחר אישור המנהל.',
+  'notify_admin_email_subject' => '%s - Upload notification',
+  'notify_admin_email_body' => 'A picture has been uploaded by %s that needs your approval. Visit %s',
+  'info' => 'מידע',
+  'com_added' => 'ההערה נוספה',
+  'alb_updated' => 'האלבום עודכן',
+  'err_comment_empty' => 'Your comment is empty !',
+  'err_invalid_fext' => 'Only files with the following extensions are accepted : <br /><br />%s.',
+  'no_flood' => 'Sorry but you are already the author of the last comment posted for this file<br /><br />Edit the comment you have posted if you want to modify it',
+  'redirect_msg' => 'You are being redirected.<br /><br /><br />Click \'CONTINUE\' if the page does not refresh automatically',
+  'upl_success' => 'Your file was successfully added',
+  'email_comment_subject' => 'Comment posted on Coppermine Photo Gallery',
+  'email_comment_body' => 'Someone has posted a comment on your gallery. See it at',
+  'album_not_selected' => 'לא נבחר אלבום!', //cpg1.4
+  'com_author_error' => 'A registered user is using this nickname, login or use another one', //cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File delete.php
+// ------------------------------------------------------------------------- //
+
+if (defined('DELETE_PHP')) $lang_delete_php = array(
+  'caption' => 'מקרא',
+  'fs_pic' => 'תמונת גודל מלא',
+  'del_success' => 'נמחק בהצלחה',
+  'ns_pic' => 'תמונת גודל רגיל',
+  'err_del' => 'לא ניתן למחיקה',
+  'thumb_pic' => 'תמונה ממוזערת',
+  'comment' => 'הערה',
+  'im_in_alb' => 'תמונה באלבום',
+  'alb_del_success' => 'האלבום &laquo;%s&raquo; נמחק', //cpg1.4
+  'alb_mgr' => 'מנהל האלבומים',
+  'err_invalid_data' => 'Invalid data received in \'%s\'',
+  'create_alb' => 'יוצר את האלבום \'%s\'',
+  'update_alb' => 'מעדכן את אלבום \'%s\' עם הכותרת \'%s\' ועם אינדקס \'%s\'',
+  'del_pic' => 'מוחק קובץ',
+  'del_alb' => 'מוחק אלבום',
+  'del_user' => 'Delete user',
+  'err_unknown_user' => 'The selected user does not exist !',
+  'err_empty_groups' => 'There\'s no group table, or the group table is empty!', //cpg1.4
+  'comment_deleted' => 'Comment was succesfully deleted',
+  'npic' => 'התמונה', //cpg1.4
+  'pic_mgr' => 'Picture Manager', //cpg1.4
+  'update_pic' => 'Updating picture \'%s\' with filename \'%s\' and index \'%s\'', //cpg1.4
+  'username' => 'Username', //cpg1.4
+  'anonymized_comments' => '%s comment(s) anonymized', //cpg1.4
+  'anonymized_uploads' => '%s public upload(s) anonymized', //cpg1.4
+  'deleted_comments' => '%s comment(s) deleted', //cpg1.4
+  'deleted_uploads' => '%s public upload(s) deleted', //cpg1.4
+  'user_deleted' => 'user %s deleted', //cpg1.4
+  'activate_user' => 'Activate user', //cpg1.4
+  'user_already_active' => 'Account has already been active', //cpg1.4
+  'activated' => 'Activated', //cpg1.4
+  'deactivate_user' => 'Deactivate user', //cpg1.4
+  'user_already_inactive' => 'Account has already been inactive', //cpg1.4
+  'deactivated' => 'Deactivated', //cpg1.4
+  'reset_password' => 'Reset password(s)', //cpg1.4
+  'password_reset' => 'Password reset to %s', //cpg1.4
+  'change_group' => 'Change primary group', //cpg1.4
+  'change_group_to_group' => 'Changing from %s to %s', //cpg1.4
+  'add_group' => 'Add secondary group', //cpg1.4
+  'add_group_to_group' => 'Adding user %s to group %s. He\'s now member of %s as primary and of %s as secondary membergroup(s).', //cpg1.4
+  'status' => 'Status', //cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File displayecard.php
+// ------------------------------------------------------------------------- //
+
+if (defined('DISPLAYECARD_PHP')) {
+
+$lang_displayecard_php = array(
+  'invalid_data' => 'The data for the ecard you are trying to access has been corrupted by your mail client. Check the link is complete.', //cpg1.4
+);
+}
+
+// ------------------------------------------------------------------------- //
+// File displayimage.php
+// ------------------------------------------------------------------------- //
+
+if (defined('DISPLAYIMAGE_PHP')){
+
+$lang_display_image_php = array(
+  'confirm_del' => 'אתה בטוח שברצונך למחוק קובץ זה? \\nההערות ימחקו גם הן.', //js-alert
+  'del_pic' => 'מחק קובץ זה',
+  'size' => '%s על %s פיקסלים',
+  'views' => '%s פעמים',
+  'slideshow' => 'מצגת',
+  'stop_slideshow' => 'הפסק מצגת',
+  'view_fs' => 'לחץ לתצוגת גודל מלא',
+  'edit_pic' => 'עריכת מידע תמונה', //cpg1.4
+  'crop_pic' => 'חיתוך וסיבוב',
+  'set_player' => 'Change player',
+);
+
+$lang_picinfo = array(
+  'title' =>'מידע על הקובץ',
+  'Filename' => 'שם הקובץ',
+  'Album name' => 'שם האלבום',
+  'Rating' => 'דירוג (%s קולות)',
+  'Keywords' => 'מילות מפתח',
+  'File Size' => 'גודל הקובץ',
+  'Date Added' => 'תאריך הוספה', //cpg1.4
+  'Dimensions' => 'מימדים',
+  'Displayed' => 'הוצג',
+  'URL' => 'כתובת', //cpg1.4
+  'Make' => 'Make', //cpg1.4
+  'Model' => 'Model', //cpg1.4
+  'DateTime' => 'Date Time', //cpg1.4
+  'ISOSpeedRatings'=>'ISO', //cpg1.4
+  'MaxApertureValue' => 'Max Aperture', //cpg1.4
+  'FocalLength' => 'Focal length', //cpg1.4
+  'Comment' => 'הערה',
+  'addFav'=>'הוסף למועדפים',
+  'addFavPhrase'=>'מועדפים',
+  'remFav'=>'הסר ממועדפים',
+  'iptcTitle'=>'IPTC Title',
+  'iptcCopyright'=>'IPTC Copyright',
+  'iptcKeywords'=>'IPTC Keywords',
+  'iptcCategory'=>'IPTC Category',
+  'iptcSubCategories'=>'IPTC Sub Categories',
+  'ColorSpace' => 'Color Space', //cpg1.4
+  'ExposureProgram' => 'Exposure Program', //cpg1.4
+  'Flash' => 'Flash', //cpg1.4
+  'MeteringMode' => 'Metering Mode', //cpg1.4
+  'ExposureTime' => 'Exposure Time', //cpg1.4
+  'ExposureBiasValue' => 'Exposure Bias', //cpg1.4
+  'ImageDescription' => ' Image Description', //cpg1.4
+  'Orientation' => 'Orientation', //cpg1.4
+  'xResolution' => 'X Resolution', //cpg1.4
+  'yResolution' => 'Y Resolution', //cpg1.4
+  'ResolutionUnit' => 'Resolution Unit', //cpg1.4
+  'Software' => 'Software', //cpg1.4
+  'YCbCrPositioning' => 'YCbCrPositioning', //cpg1.4
+  'ExifOffset' => 'Exif Offset', //cpg1.4
+  'IFD1Offset' => 'IFD1 Offset', //cpg1.4
+  'FNumber' => 'FNumber', //cpg1.4
+  'ExifVersion' => 'Exif Version', //cpg1.4
+  'DateTimeOriginal' => 'DateTime Original', //cpg1.4
+  'DateTimedigitized' => 'DateTime digitized', //cpg1.4
+  'ComponentsConfiguration' => 'Components Configuration', //cpg1.4
+  'CompressedBitsPerPixel' => 'Compressed Bits Per Pixel', //cpg1.4
+  'LightSource' => 'Light Source', //cpg1.4
+  'ISOSetting' => 'ISO Setting', //cpg1.4
+  'ColorMode' => 'Color Mode', //cpg1.4
+  'Quality' => 'Quality', //cpg1.4
+  'ImageSharpening' => 'Image Sharpening', //cpg1.4
+  'FocusMode' => 'Focus Mode', //cpg1.4
+  'FlashSetting' => 'Flash Setting', //cpg1.4
+  'ISOSelection' => 'ISO Selection', //cpg1.4
+  'ImageAdjustment' => 'Image Adjustment', //cpg1.4
+  'Adapter' => 'Adapter', //cpg1.4
+  'ManualFocusDistance' => 'Manual Focus Distance', //cpg1.4
+  'DigitalZoom' => 'Digital Zoom', //cpg1.4
+  'AFFocusPosition' => 'AF Focus Position', //cpg1.4
+  'Saturation' => 'Saturation', //cpg1.4
+  'NoiseReduction' => 'Noise Reduction', //cpg1.4
+  'FlashPixVersion' => 'Flash Pix Version', //cpg1.4
+  'ExifImageWidth' => 'Exif Image Width', //cpg1.4
+  'ExifImageHeight' => 'Exif Image Height', //cpg1.4
+  'ExifInteroperabilityOffset' => 'Exif Interoperability Offset', //cpg1.4
+  'FileSource' => 'File Source', //cpg1.4
+  'SceneType' => 'Scene Type', //cpg1.4
+  'CustomerRender' => 'Customer Render', //cpg1.4
+  'ExposureMode' => 'Exposure Mode', //cpg1.4
+  'WhiteBalance' => 'White Balance', //cpg1.4
+  'DigitalZoomRatio' => 'Digital Zoom Ratio', //cpg1.4
+  'SceneCaptureMode' => 'Scene Capture Mode', //cpg1.4
+  'GainControl' => 'Gain Control', //cpg1.4
+  'Contrast' => 'Contrast', //cpg1.4
+  'Sharpness' => 'Sharpness', //cpg1.4
+  'ManageExifDisplay' => 'Manage Exif Display', //cpg1.4
+  'submit' => 'Submit', //cpg1.4
+  'success' => 'Information updated successfully.', //cpg1.4
+  'details' => 'Details', //cpg1.4
+);
+
+$lang_display_comments = array(
+  'OK' => 'אישור',
+  'edit_title' => 'ערוך הערה זו',
+  'confirm_delete' => 'האם אתה בטוח שברצונך למחוק הערה זו?', //js-alert
+  'add_your_comment' => 'הוסף הערה',
+  'name'=>'שם',
+  'comment'=>'הערה:',
+  'your_name' => '',
+  'report_comment_title' => 'דווח למנהל על הערה זו', //cpg1.4
+);
+
+$lang_fullsize_popup = array(
+  'click_to_close' => 'לחץ על התמונה לסגירת החלון',
+);
+
+}
+
+// ------------------------------------------------------------------------- //
+// File ecard.php
+// ------------------------------------------------------------------------- //
+
+if (defined('ECARDS_PHP') || defined('DISPLAYECARD_PHP')) $lang_ecard_php =array(
+  'title' => 'שלח גלוייה אלקטרונית',
+  'invalid_email' => '<font color="red"><b>אזהרה</b></font>: כתובת דואל לא תקינה:', //cpg1.4
+  'ecard_title' => 'An e-card from %s for you',
+  'error_not_image' => 'Only images can be sent as an ecard.',
+  'view_ecard' => 'Alternate link if the e-card does not display correctly', //cpg1.4
+  'view_ecard_plaintext' => 'To view the ecard, copy and paste this url into your browser\'s address bar:', //cpg1.4
+  'view_more_pics' => 'הצג תמונות נוספות !', //cpg1.4
+  'send_success' => 'גלוייתך נשלחה',
+  'send_failed' => 'Sorry but the server can\'t send your e-card...',
+  'from' => 'מאת',
+  'your_name' => 'שמך',
+  'your_email' => 'כתובת הדואל שלך',
+  'to' => 'אל',
+  'rcpt_name' => 'שם הנמען',
+  'rcpt_email' => 'כתובת הדואל של הנמען',
+  'greetings' => 'כותרת', //cpg1.4
+  'message' => 'הודעה', //cpg1.4
+  'ecards_footer' => 'Sent by %s from IP %s at %s (Gallery time)', //cpg1.4
+  'preview' => 'תצוגה מקדימה של הגלוייה האלקטרונית', //cpg1.4
+  'preview_button' => 'תצוגה מקדימה', //cpg1.4
+  'submit_button' => 'שלח גלוייה', //cpg1.4
+  'preview_view_ecard' => 'כאן ימוקם הקישור החלופי לגלוייה לאחר שתיווצר. הקישור לא פועל עבור התצוגה המקדימה.', //cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File report_file.php //cpg1.4
+// ------------------------------------------------------------------------- //
+
+if (defined('REPORT_FILE_PHP') || defined('DISPLAYREPORT_PHP')) $lang_report_php =array(
+  'title' => 'Report to administrator', //cpg1.4
+  'invalid_email' => '<b>Warning</b> : invalid email address !', //cpg1.4
+  'report_subject' => 'A report from %s on a gallery %s', //cpg1.4
+  'view_report' => 'Alternate link if the report does not display correctly', //cpg1.4
+  'view_report_plaintext' => 'To view the report, copy and paste this url into your browser\'s address bar:', //cpg1.4
+  'view_more_pics' => 'Gallery', //cpg1.4
+  'send_success' => 'Your report was sent', //cpg1.4
+  'send_failed' => 'Sorry but the server can\'t send your report...', //cpg1.4
+  'from' => 'From', //cpg1.4
+  'your_name' => 'Your name', //cpg1.4
+  'your_email' => 'Your email address', //cpg1.4
+  'to' => 'To', //cpg1.4
+  'administrator' => 'Administrator/Mod', //cpg1.4
+  'subject' => 'Subject', //cpg1.4
+  'comment_field_name' => 'Reporting on Comment by "%s"', //cpg1.4
+  'reason' => 'Reason', //cpg1.4
+  'message' => 'Message', //cpg1.4
+  'report_footer' => 'Sent by %s from IP %s at %s (Gallery time)', //cpg1.4
+  'obscene' => 'obscene', //cpg1.4
+  'offensive' => 'offensive', //cpg1.4
+  'misplaced' => 'off-topic/misplaced', //cpg1.4
+  'missing' => 'missing', //cpg1.4
+  'issue' => 'error/cannot view', //cpg1.4
+  'other' => 'other', //cpg1.4
+  'refers_to' => 'File report refers to', //cpg1.4
+  'reasons_list_heading' => 'reason(s) for report:', //cpg1.4
+  'no_reason_given' => 'no reason was given', //cpg1.4
+  'go_comment' => 'Go to comment', //cpg1.4
+  'view_comment' => 'View full report with comment', //cpg1.4
+  'type_file' => 'קובץ', //cpg1.4
+  'type_comment' => 'comment', //cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File editpics.php
+// ------------------------------------------------------------------------- //
+
+if (defined('EDITPICS_PHP')) $lang_editpics_php = array(
+  'pic_info' => 'מידע על הקובץ',
+  'album' => 'אלבום',
+  'title' => 'כותרת',
+  'filename' => 'שם הקובץ', //cpg1.4
+  'desc' => 'תיאור',
+  'keywords' => 'מילות מפתח',
+  'new_keyword' => 'מילות מפתח חדשות', //cpg1.4
+  'new_keywords' => 'New keywords found', //cpg1.4
+  'existing_keyword' => 'Existing keyword', //cpg1.4
+  'pic_info_str' => '%s &times; %s - %s ק"ב - %s צפיות - %s הצבעות',
+  'approve' => 'אשר קובץ',
+  'postpone_app' => 'השהה אישור',
+  'del_pic' => 'מחק קובץ',
+  'del_all' => 'מחיקת כל הקבצים', //cpg1.4
+  'read_exif' => 'Read EXIF info again',
+  'reset_view_count' => 'איפוס מונה תצוגה',
+  'reset_all_view_count' => 'איפוס כל מוני התצוגה', //cpg1.4
+  'reset_votes' => 'איפוס הצבעות',
+  'reset_all_votes' => 'איפוס כל ההצבעות', //cpg1.4
+  'del_comm' => 'מחיקת הערות',
+  'del_all_comm' => 'מחיקת כל ההערות', //cpg1.4
+  'upl_approval' => 'אישור קבצים שנשלחו', //cpg1.4
+  'edit_pics' => 'עריכת קבצים',
+  'see_next' => 'See next files',
+  'see_prev' => 'See previous files',
+  'n_pic' => '%s קבצים',
+  'n_of_pic_to_disp' => 'מספר קבצים לתצוגה',
+  'apply' => 'החל שינויים',
+  'crop_title' => 'Coppermine Picture Editor',
+  'preview' => 'Preview',
+  'save' => 'Save picture',
+  'save_thumb' =>'Save as thumbnail',
+  'gallery_icon' => 'הפוך תמונה זו לסמל שלי', //cpg1.4
+  'sel_on_img' =>'The selection has to be entirely on the image!', //js-alert
+  'album_properties' =>'מאפייני האלבום', //cpg1.4
+  'parent_category' =>'קטגוריית אם', //cpg1.4
+  'thumbnail_view' =>'תמונות האלבום', //cpg1.4
+  'select_unselect' =>'סמן/נקה הכל', //cpg1.4
+  'file_exists' => "Destination file '%s' already exists.", //cpg1.4
+  'rename_failed' => "Failed to rename '%s' to '%s'.", //cpg1.4
+  'src_file_missing' => "Source file '%s' is missing.", // cpg 1.4
+  'mime_conv' => "Cannot convert file from '%s' to '%s'",//cpg1.4
+  'forb_ext' => 'Forbidden file extension.',//cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File faq.php
+// ------------------------------------------------------------------------- //
+
+if (defined('FAQ_PHP')) $lang_faq_php = array(
+  'faq' => 'Frequently Asked Questions',
+  'toc' => 'Table of contents',
+  'question' => 'Question: ',
+  'answer' => 'Answer: ',
+);
+
+if (defined('FAQ_PHP')) $lang_faq_data = array(
+  'General FAQ',
+  array('Why do I need to register?', 'Registration may or may not be required by the administrator. Registration gives a member additional features such as uploading, having a favorite list, rating pictures and posting comments etc.', 'allow_user_registration', '1'),
+  array('How do I register?', 'Go to &quot;Register&quot; and fill out the required fields (and the optional ones if you want to).<br />If the Administrator has Email Activation enabled, then after submitting your information you should recieve an email message at the address that you have submitted while registering, giving you instructions on how to activate your membership. Your membership must be activated in order for you to login.', 'allow_user_registration', '1'), //cpg1.4
+  array('How Do I login?', 'Go to &quot;Login&quot;, submit your username and password and check &quot;Remember Me&quot; so you will be logged in on the site if you should leave it.<br /><b>IMPORTANT:Cookies must be enabled and the cookie from this site must not be deleted in order to use &quot;Remember Me&quot;.</b>', 'offline', 0),
+  array('Why can I not login?', 'Did you register and click the link that was sent to you via email?. The link will activate your account. For other login problems contact the site administrator.', 'offline', 0),
+  array('What if I forgot my password?', 'If this site has a &quot;Forgot password&quot; link then use it. Other than that contact the site administrator for a new password.', 'offline', 0),
+  //array('What if I changed my email address?', 'Just simply login and change your email address through &quot;Profile&quot;', 'offline', 0),
+  array('How do I save a picture to &quot;My Favorites&quot;?', 'Click on a picture and click on the &quot;picture info&quot; link (<img src="images/info.gif" width="16" height="16" border="0" alt="Picture information" />); scroll down to the picture information set and click &quot;Add to fav&quot;.<br />The administrator may have the &quot;picture information&quot; on by default.<br />IMPORTANT:Cookies must be enabled and the cookie from this site must not be deleted.', 'offline', 0),
+  array('How do I rate a file?', 'Click on a thumbnail and go to the bottom and choose a rating.', 'offline', 0),
+  array('How do I post a comment for a picture?', 'Click on a thumbnail and go to the bottom and post a comment.', 'offline', 0),
+  array('How do I upload a file?', 'Go to &quot;Upload&quot;and select the album that you want to upload to. Click &quot;Browse,&quot; find the file to upload, and click &quot;open.&quot; Add a title and description if you want. Click &quot;Submit&quot;.<br /><br />Alternatively, for those users using <b>Windows XP</b>, you can upload multiple files directly to your own private albums using the XP Publishing wizard.<br />For instructions on how, and to get the required registry file, click <a href="xp_publish.php">here.</a>', 'allow_private_albums', 1), //cpg1.4
+  array('Where do I upload a picture to?', 'You will be able to upload a file to one of your albums in &quot;My Gallery&quot;. The Administrator may also allow you to upload a file to one or more of the albums in the Main Gallery.', 'allow_private_albums', 0),
+  array('What type and size of a file can I upload?', 'The size and type (jpg, png, etc.) is up to the administrator.', 'offline', 0),
+  array('How do I create, rename or delete an album in &quot;My Gallery&quot;?', 'You should already be in &quot;Admin-Mode&quot;<br />Go to &quot;Create/Order My Albums&quot;and click &quot;New&quot;. Change &quot;New Album&quot; to your desired name.<br />You can also rename any of the albums in your gallery.<br />Click &quot;Apply Modifications&quot;.', 'allow_private_albums', 0),
+  array('How can I modify and restrict users from viewing my albums?', 'You should already be in &quot;Admin Mode&quot;<br />Go to &quot;Modify My Albums. On the &quot;Update Album&quot; bar, select the album that you want to modify.<br />Here, you can change the name, description, thumbnail picture, restrict viewing and comment/rating permissions.<br />Click &quot;Update Album&quot;.', 'allow_private_albums', 0),
+  array('How can I view other users\' galleries?', 'Go to &quot;Album List&quot; and select &quot;User Galleries&quot;.', 'allow_private_albums', 0),
+  array('What are cookies?', 'Cookies are a plain text piece of data that is sent from a website and is put on to your computer.<br />Cookies usually allow a user to leave and return to the site without having to login again and other various chores.', 'offline', 0),
+  array('Where can I get this program for my site?', 'Coppermine is a free Multimedia Gallery, released under GNU GPL. It is full of features and has been ported to various platforms. Visit the <a href="http://coppermine-gallery.net/">Coppermine Home Page</a> to find out more or download it.', 'offline', 0),
+
+  'Navigating the Site',
+  array('What\'s &quot;Album List&quot;?', 'This will show you the entire category you are currently in, with a link to each album. If you are not in a category, it will show you the entire gallery with a link to each category. Thumbnails may be a link to the category.', 'offline', 0),
+  array('What\'s &quot;My Gallery&quot;?', 'This feature lets users create their own galleries and add, delete or modify albums as well as upload to them.', 'allow_private_albums', 1), //cpg1.4
+  array('What\'s the difference between &quot;Admin Mode&quot; and &quot;User Mode&quot;?', 'This feature, when in admin-mode, allows a user to modify their gallery (as well as others if allowed by the administrator).', 'allow_private_albums', 0),
+  array('What\'s &quot;Upload Picture&quot;?', 'This feature allows a user to upload a file (size and type is set by the site administrator) to a gallery selected by either you or the administrator.', 'allow_private_albums', 0),
+  array('What\'s &quot;Last Uploads&quot;?', 'This feature shows the last uploads to the site.', 'offline', 0),
+  array('What\'s &quot;Last Comments&quot;?', 'This feature shows the last comments along with the files posted by users.', 'offline', 0),
+  array('What\'s &quot;Most Viewed&quot;?', 'This feature shows the most viewed files by all users (whether logged in or not).', 'offline', 0),
+  array('What\'s &quot;Top Rated&quot;?', 'This feature shows the top rated files rated by the users, showing the average rating (e.g: five users each gave a <img src="images/rating3.gif" width="65" height="14" border="0" alt="" />: the file would have an average rating of <img src="images/rating3.gif" width="65" height="14" border="0" alt="" /> ;Five users rated the file from 1 to 5 (1,2,3,4,5) would result in an average <img src="images/rating3.gif" width="65" height="14" border="0" alt="" /> .)<br />The ratings go from <img src="images/rating5.gif" width="65" height="14" border="0" alt="best" /> (best) to <img src="images/rating0.gif" width="65" height="14" border="0" alt="worst" /> (worst).', 'offline', 0),
+  array('What\'s &quot;My Favorites&quot;?', 'This feature will let a user store a favorite file in the cookie that was sent to your computer.', 'offline', 0),
+);
+
+
+// ------------------------------------------------------------------------- //
+// File forgot_passwd.php
+// ------------------------------------------------------------------------- //
+
+if (defined('FORGOT_PASSWD_PHP')) $lang_forgot_passwd_php = array(
+  'forgot_passwd' => 'Password reminder',
+  'err_already_logged_in' => 'You are already logged in !',
+  'enter_email' => 'Enter your email address', //cpg1.4
+  'submit' => 'go',
+  'illegal_session' => 'Forgot password session invalid or has expired.', //cpg1.4
+  'failed_sending_email' => 'The password reminder email can\'t be sent !',
+  'email_sent' => 'An email with your username and new password was sent to %s', //cpg1.4
+  'verify_email_sent' => 'An email has been sent to %s. Please check your email to complete the process.', //cpg1.4
+  'err_unk_user' => 'Selected user does not exist!',
+  'account_verify_subject' => '%s - New password request', //cpg1.4
+  'account_verify_body' => 'You have requested to a new password. If you would like to proceed with having a new password sent to you, click on the following link:
+
+%s', //cpg1.4
+  'passwd_reset_subject' => '%s - Your New Password', //cpg1.4
+  'passwd_reset_body' => 'Here is the new password you requested:
+Username: %s
+Password: %s
+Click %s to log in.', //cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File groupmgr.php
+// ------------------------------------------------------------------------- //
+
+if (defined('GROUPMGR_PHP')) $lang_groupmgr_php = array(
+  'group_name' => 'Group', //cpg1.4
+  'permissions' => 'Permissions', //cpg1.4
+  'public_albums' => 'Public albums upload', //cpg1.4
+  'personal_gallery' => 'Personal gallery', //cpg1.4
+  'upload_method' => 'Upload method', //cpg1.4
+  'disk_quota' => 'Quota', //cpg1.4
+  'rating' => 'Rating', //cpg1.4
+  'ecards' => 'Ecards', //cpg1.4
+  'comments' => 'Comments', //cpg1.4
+  'allowed' => 'Allowed', //cpg1.4
+  'approval' => 'Approval', //cpg1.4
+  'boxes_number' => 'No. of boxes', //cpg1.4
+  'variable' => 'variable', //cpg1.4
+  'fixed' => 'fixed', //cpg1.4
+  'apply' => 'Apply modifications',
+  'create_new_group' => 'Create new group',
+  'del_groups' => 'Delete selected group(s)',
+  'confirm_del' => 'Warning, when you delete a group, users that belong to this group will be transferred to the \'Registered\' group !\n\nDo you want to proceed ?', //js-alert
+  'title' => 'Manage user groups',
+  'num_file_upload' => 'File upload boxes', //cpg1.4
+  'num_URI_upload' => 'URI upload boxes', //cpg1.4
+  'reset_to_default' => 'Reset to default name (%s) - recommended!', //cpg1.4
+  'error_group_empty' => 'Group table was empty !<br /><br />Default groups created, please reload this page', //cpg1.4
+  'explain_greyed_out_title' => 'Why is this row greyed out?', //cpg1.4
+  'explain_guests_greyed_out_text' => 'You can not change the properties of this group because you set the option &quot; Allow unlogged users (guest or anonymous) access&quot; to &quot;No&quot; on the config page. All guest (members of the group %s) can\'t do anything but login; therefor group settings don\'t apply for them.', //cpg1.4
+  'explain_banned_greyed_out_text' => 'You can not change the properties of the group %s because it\'s members can\'t do anything anyway.', //cpg1.4
+  'group_assigned_album' => 'assigned album(s)', //cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File index.php
+// ------------------------------------------------------------------------- //
+
+if (defined('INDEX_PHP')){
+
+$lang_index_php = array(
+  'welcome' => 'Welcome !',
+);
+
+$lang_album_admin_menu = array(
+  'confirm_delete' => 'אתה בטוח שברצונך למחוק אלבום זה? \\nכל הקבצים וההערות ימחקו גם הם.', //js-alert
+  'delete' => 'מחיקה',
+  'modify' => 'מאפיינים',
+  'edit_pics' => 'עריכת קבצים',
+);
+
+$lang_list_categories = array(
+  'home' => 'ראשי',
+  'stat1' => '<b>[pictures]</b> קבצים ב<b>[albums]</b> אלבומים ו-<b>[cat]</b> קטגוריות עם <b>[comments]</b> הערות שנצפו <b>[views]</b> פעמים',
+  'stat2' => '<b>[pictures]</b> קבצים ב<b>[albums]</b> אלבומים אשר נצפו<b>[views]</b> פעמים',
+  'xx_s_gallery' => '%s\'s Gallery',
+  'stat3' => '<b>[pictures]</b> קבצים ב<b>[albums]</b> אלבומים עם <b>[comments]</b> הערות אשר נצפו <b>[views]</b> פעמים',
+);
+
+$lang_list_users = array(
+  'user_list' => 'User list',
+  'no_user_gal' => 'There are no user galleries',
+  'n_albums' => '%s album(s)',
+  'n_pics' => '%s file(s)',
+);
+
+$lang_list_albums = array(
+  'n_pictures' => '%s קבצים',
+  'last_added' => ', האחרון התווסף ב%s',
+  'n_link_pictures' => '%s linked files', //cpg1.4
+  'total_pictures' => '%s files total', //cpg1.4
+);
+
+}
+
+// ------------------------------------------------------------------------- //
+// File keywordmgr.php //cpg1.4
+// ------------------------------------------------------------------------- //
+
+if (defined('KEYWORDMGR_PHP')) $lang_keywordmgr_php = array(
+  'title' => 'ניהול מילות מפתח', //cpg1.4
+  'edit' => 'edit', //cpg1.4
+  'delete' => 'delete', //cpg1.4
+  'search' => 'search', //cpg1.4
+  'keyword_test_search' => 'search for %s in new window', //cpg1.4
+  'keyword_del' => 'delete the keyword %s', //cpg1.4
+  'confirm_delete' => 'Are you sure you want to delete the keyword %s from the whole gallery?', //cpg1.4  // js-alert
+  'change_keyword' => 'change keyword', //cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File login.php
+// ------------------------------------------------------------------------- //
+
+if (defined('LOGIN_PHP')) $lang_login_php = array(
+  'login' => 'התחברות',
+  'enter_login_pswd' => 'הכנס את שם המשתמש ואת הסיסמה שלך בכדי להתחבר',
+  'username' => 'שם משתמש',
+  'password' => 'סיסמה',
+  'remember_me' => 'זכור אותי',
+  'welcome' => 'ברוך הבא %s ...',
+  'err_login' => '*** אין אפשרות להתחבר, נסה שנית ***',
+  'err_already_logged_in' => 'אתה כבר מחובר!',
+  'forgot_password_link' => 'שכחתי את הסיסמה שלי',
+  'cookie_warning' => 'אזהרה: הדפדפן שלך אינו מקבל עוגיות', //cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File logout.php
+// ------------------------------------------------------------------------- //
+
+if (defined('LOGOUT_PHP')) $lang_logout_php = array(
+  'logout' => 'התנתקות',
+  'bye' => 'להתראות %s ...',
+  'err_not_loged_in' => 'אינך מחובר!',
+);
+
+// ------------------------------------------------------------------------- //
+// File minibrowser.php  //cpg1.4
+// ------------------------------------------------------------------------- //
+
+if (defined('MINIBROWSER_PHP')) $lang_minibrowser_php = array(
+  'close' => 'close', //cpg1.4
+  'submit' => 'OK', //cpg1.4
+  'up' => 'up one level', //cpg1.4
+  'current_path' => 'current path', //cpg1.4
+  'select_directory' => 'please select a directory', //cpg1.4
+  'click_to_close' => 'לחץ על התמונה לסגירת החלון',
+);
+
+// ------------------------------------------------------------------------- //
+// File modifyalb.php
+// ------------------------------------------------------------------------- //
+
+if (defined('MODIFYALB_PHP')) $lang_modifyalb_php = array(
+  'upd_alb_n' => 'Update album %s',
+  'general_settings' => 'הגדרות כלליות',
+  'alb_title' => 'שם האלבום',
+  'alb_cat' => 'קטגוריית האלבום',
+  'alb_desc' => 'תיאור האלבום',
+  'alb_keyword' => 'מילות מפתח', //cpg1.4
+  'alb_thumb' => 'תמונת האלבום',
+  'alb_perm' => 'הרשאות עבור אלבום זה',
+  'can_view' => 'האלבום ניתן לצפייה על ידי',
+  'can_upload' => 'אורחים יכולים להעלות קבצים',
+  'can_post_comments' => 'אורחים יכולים להוסיף הערות',
+  'can_rate' => 'אורחים יכולים לדרג קבצים',
+  'user_gal' => 'User Gallery',
+  'no_cat' => '* No category *',
+  'alb_empty' => 'האלבום ריק',
+  'last_uploaded' => 'Last uploaded',
+  'public_alb' => 'Everybody (public album)',
+  'me_only' => 'Me only',
+  'owner_only' => 'Album owner (%s) only',
+  'groupp_only' => 'Members of the \'%s\' group',
+  'err_no_alb_to_modify' => 'No album you can modify in the database.',
+  'update' => 'עדכון אלבום',
+  'reset_album' => 'Reset album', //cpg1.4
+  'reset_views' => 'Reset views counter to &quot;0&quot; in %s', //cpg1.4
+  'reset_rating' => 'Reset ratings on all files in %s', //cpg1.4
+  'delete_comments' => 'Delete all comments made in %s', //cpg1.4
+  'delete_files' => '%sIrreversibly%s delete all files in %s', //cpg1.4
+  'views' => 'צפיות', //cpg1.4
+  'votes' => 'הצבעות', //cpg1.4
+  'comments' => 'הערות', //cpg1.4
+  'files' => 'קבצים', //cpg1.4
+  'submit_reset' => 'submit changes', //cpg1.4
+  'reset_views_confirm' => 'I\'m sure', //cpg1.4
+  'notice1' => '(*) תלוי במאפייני ה- %sקבוצות%s',  //cpg1.4 //(do not translate %s!)
+  'alb_password' => 'סיסמת האלבום', //cpg1.4
+  'alb_password_hint' => 'רמז לסיסמת האלבום', //cpg1.4
+  'edit_files' =>'ערוך קבצים', //cpg1.4
+  'parent_category' =>'קטגוריית אם', //cpg1.4
+  'thumbnail_view' =>'תמונות האלבום', //cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File phpinfo.php
+// ------------------------------------------------------------------------- //
+
+if (defined('PHPINFO_PHP')) $lang_phpinfo_php = array(
+  'php_info' => 'PHP info',
+  'explanation' => 'This is the output generated by the PHP-function <a href="http://www.php.net/phpinfo">phpinfo()</a>, displayed within Coppermine (trimming the output at the right side).',
+  'no_link' => 'Having others see your phpinfo can be a security risk, that\'s why this page is only visible when you\'re logged in as admin. You can not post a link to this page for others, they will be denied access.',
+);
+
+// ------------------------------------------------------------------------- //
+// File picmgr.php //cpg1.4
+// ------------------------------------------------------------------------- //
+if (defined('PICMGR_PHP')) $lang_picmgr_php = array(
+  'pic_mgr' => 'Picture Manager', //cpg1.4
+  'select_album' => 'בחר אלבום', //cpg1.4
+  'delete' => 'Delete', //cpg1.4
+  'confirm_delete1' => 'Are you sure you want to delete this picture ?', //cpg1.4
+  'confirm_delete2' => '\nPicture will be permanently deleted.', //cpg1.4
+  'apply_modifs' => 'Apply modifications', //cpg1.4
+  'confirm_modifs' => 'Confirm modifications', //cpg1.4
+  'pic_need_name' => 'Picture needs to have a name !', //cpg1.4
+  'no_change' => 'You did not make any change !', //cpg1.4
+  'no_album' => '* No album *', //cpg1.4
+  'explanation_header' => 'The custom sort order you can specify on this page will only be taken into account if', //cpg1.4
+  'explanation1' => 'the admin has set the "Default sort order for files" in the config to "Position descending" or "Position ascending" (global setting for all users who haven\'t chosen another sort option individually)', //cpg1.4
+  'explanation2' => 'the user has chosen "Position descending" or "Position ascending" on the thumbail page (per user setting)', //cpg1.4
+);
+
+
+// ------------------------------------------------------------------------- //
+// File pluginmgr.php //cpg1.4
+// ------------------------------------------------------------------------- //
+
+if (defined('PLUGINMGR_PHP')){
+
+$lang_pluginmgr_php = array(
+  'confirm_uninstall' => 'Are you sure you want to UNINSTALL this plugin', //cpg1.4
+  'confirm_delete' => 'Are you sure you want to DELETE this plugin', //cpg1.4
+  'pmgr' => 'Plugin Manager', //cpg1.4
+  'name' => 'Name', //cpg1.4
+  'author' => 'Author', //cpg1.4
+  'desc' => 'Description', //cpg1.4
+  'vers' => 'v', //cpg1.4
+  'i_plugins' => 'Installed Plugins', //cpg1.4
+  'n_plugins' => 'Plugins Not installed', //cpg1.4
+  'none_installed' => 'None Installed', //cpg1.4
+  'operation' => 'Operation', //cpg1.4
+  'not_plugin_package' => 'The file uploaded is not a plugin package.', //cpg1.4
+  'copy_error' => 'There was an error copying the package to the plugins folder.', //cpg1.4
+  'upload' => 'Upload', //cpg1.4
+  'configure_plugin' => 'Configure plugin', //cpg1.4
+  'cleanup_plugin' => 'Cleanup plugin', //cpg1.4
+);
+}
+
+// ------------------------------------------------------------------------- //
+// File ratepic.php
+// ------------------------------------------------------------------------- //
+
+if (defined('RATEPIC_PHP')) $lang_rate_pic_php = array(
+  'already_rated' => 'דירגת כבר קובץ זה!',
+  'rate_ok' => 'דירוגך התקבל, תודה!',
+  'forbidden' => 'You can not rate your own files.',
+);
+
+// ------------------------------------------------------------------------- //
+// File register.php & profile.php
+// ------------------------------------------------------------------------- //
+
+if (defined('REGISTER_PHP') || defined('PROFILE_PHP')) {
+
+$lang_register_disclamer = <<<EOT
+While the administrators of {SITE_NAME} will attempt to remove or edit any generally objectionable material as quickly as possible, it is impossible to review every post. Therefore you acknowledge that all posts made to this site express the views and opinions of the author and not the administrators or webmaster (except for posts by these people) and hence will not be held liable.<br />
+<br />
+You agree not to post any abusive, obscene, vulgar, slanderous, hateful, threatening, sexually-orientated or any other material that may violate any applicable laws. You agree that the webmaster, administrator and moderators of {SITE_NAME} have the right to remove or edit any content at any time should they see fit. As a user you agree to any information you have entered above being stored in a database. While this information will not be disclosed to any third party without your consent the webmaster and administrator cannot be held responsible for any hacking attempt that may lead to the data being compromised.<br />
+<br />
+This site uses cookies to store information on your local computer. These cookies serve only to improve your viewing pleasure. The email address is used only for confirming your registration details and password.<br />
+<br />
+By clicking 'I agree' below you agree to be bound by these conditions.
+EOT;
+
+$lang_register_php = array(
+  'page_title' => 'User registration',
+  'term_cond' => 'Terms and conditions',
+  'i_agree' => 'I agree',
+  'submit' => 'Submit registration',
+  'err_user_exists' => 'The username you have entered already exist, please choose a different one',
+  'err_password_mismatch' => 'The two passwords does not match, please input them again',
+  'err_uname_short' => 'Username must be 2 characters long minimum',
+  'err_password_short' => 'Password must be 2 characters long minimum',
+  'err_uname_pass_diff' => 'Username and password must be different',
+  'err_invalid_email' => 'Email address is invalid',
+  'err_duplicate_email' => 'Another user has already registered with the email address you entered',
+  'enter_info' => 'Input registration information',
+  'required_info' => 'Required information',
+  'optional_info' => 'Optional information',
+  'username' => 'Username',
+  'password' => 'Password',
+  'password_again' => 'Re-enter password',
+  'email' => 'Email',
+  'location' => 'Location',
+  'interests' => 'Interests',
+  'website' => 'Home page',
+  'occupation' => 'Occupation',
+  'error' => 'ERROR',
+  'confirm_email_subject' => '%s - Registration confirmation',
+  'information' => 'Information',
+  'failed_sending_email' => 'The registration confirmation email can\'t be send !',
+  'thank_you' => 'Thank you for registering.<br /><br />An email with information on how to activate your account was sent to the email address you provided.',
+  'acct_created' => 'Your account has been created and you can now login with your username and password',
+  'acct_active' => 'Your account is now active and you can login with your username and password',
+  'acct_already_act' => 'Account is already active!', //cpg1.4
+  'acct_act_failed' => 'This account can\'t be activated !',
+  'err_unk_user' => 'Selected user does not exist !',
+  'x_s_profile' => '%s\'s profile',
+  'group' => 'Group',
+  'reg_date' => 'Joined',
+  'disk_usage' => 'Disk usage',
+  'change_pass' => 'Change password',
+  'current_pass' => 'Current password',
+  'new_pass' => 'New password',
+  'new_pass_again' => 'New password again',
+  'err_curr_pass' => 'Current password is incorrect',
+  'apply_modif' => 'Apply modifications',
+  'change_pass' => 'Change my password',
+  'update_success' => 'Your profile was updated',
+  'pass_chg_success' => 'Your password was changed',
+  'pass_chg_error' => 'Your password was not changed',
+  'notify_admin_email_subject' => '%s - Registration notification',
+  'last_uploads' => 'Last uploaded file.<br />Click to see all uploads by', //cpg1.4
+  'last_comments' => 'Last comment.<br />Click to see all comments made by', //cpg1.4
+  'notify_admin_email_body' => 'A new user with the username "%s" has registered in your gallery',
+  'pic_count' => 'Files uploaded', //cpg1.4
+  'notify_admin_request_email_subject' => '%s - Registration request', //cpg1.4
+  'thank_you_admin_activation' => 'Thank you.<br /><br />Your request for account activation was sent to the admin. You will receive an email if approved.', //cpg1.4
+  'acct_active_admin_activation' => 'The account is now active and an email has been sent to the user.', //cpg1.4
+  'notify_user_email_subject' => '%s - Activation notification', //cpg1.4
+);
+
+$lang_register_confirm_email = <<<EOT
+Thank you for registering at {SITE_NAME}
+
+In order to activate your account with username "{USER_NAME}", you need to click on the link below or copy and paste it in your web browser.
+
+<a href="{ACT_LINK}">{ACT_LINK}</a>
+
+Regards,
+
+The management of {SITE_NAME}
+
+EOT;
+
+$lang_register_approve_email = <<<EOT
+A new user with the username "{USER_NAME}" has registered in your gallery.
+
+In order to activate the account, you need to click on the link below or copy and paste it in your web browser.
+
+<a href="{ACT_LINK}">{ACT_LINK}</a>
+
+EOT;
+
+$lang_register_activated_email = <<<EOT
+Your account has been approved and activated.
+
+You can now log in at <a href="{SITE_LINK}">{SITE_LINK}</a> using the username "{USER_NAME}"
+
+
+Regards,
+
+The management of {SITE_NAME}
+
+EOT;
+}
+
+// ------------------------------------------------------------------------- //
+// File reviewcom.php
+// ------------------------------------------------------------------------- //
+
+if (defined('REVIEWCOM_PHP')) $lang_reviewcom_php = array(
+  'title' => 'צפייה בהערות',
+  'no_comment' => 'לא קיימות הערות בגלריה',
+  'n_comm_del' => '%s הערות נמחקו',
+  'n_comm_disp' => 'Number of comments to display',
+  'see_prev' => 'הצג את הקודם',
+  'see_next' => 'הצג את הבא',
+  'del_comm' => 'מחק ההערות שנבחרו',
+  'user_name' => 'שם', //cpg1.4
+  'date' => 'תאריך', //cpg1.4
+  'comment' => 'הערה', //cpg1.4
+  'file' => 'קובץ', //cpg1.4
+  'name_a' => 'שם משתמש בסדר עולה', //cpg1.4
+  'name_d' => 'שם משתמש בסדר יורד', //cpg1.4
+  'date_a' => 'תאריך בסדר עולה', //cpg1.4
+  'date_d' => 'תאריך בסדר יורד', //cpg1.4
+  'comment_a' => 'הערה בסדר עולה', //cpg1.4
+  'comment_d' => 'הערה בסדר יורד', //cpg1.4
+  'file_a' => 'קובץ בסדר עולה', //cpg1.4
+  'file_d' => 'קובץ בסדר יורד', //cpg1.4
+);
+
+
+// ------------------------------------------------------------------------- //
+// File search.php                                                           //
+// ------------------------------------------------------------------------- //
+
+
+if (defined('SEARCH_PHP')){
+
+$lang_search_php = array(
+  'title' => 'חיפוש במאגר הקבצים', //cpg1.4
+  'submit_search' => 'חיפוש', //cpg1.4
+  'keyword_list_title' => 'רשימת מילות מפתח', //cpg1.4
+  'keyword_msg' => 'הרשימה לעיל אינה מלאה. היא אינה כוללת מילים מכותרות התמונות או מתיאורן. נסה חיפוש מלא.',  //cpg1.4
+  'edit_keywords' => 'עריכת מילות מפתח', //cpg1.4
+  'search in' => 'חפש ב:', //cpg1.4
+  'ip_address' => 'כתובת IP', //cpg1.4
+  'fields' => 'חפש ב', //cpg1.4
+  'age' => 'גיל', //cpg1.4
+  'newer_than' => 'חדשים מ', //cpg1.4
+  'older_than' => 'ישנים מ', //cpg1.4
+  'days' => 'ימים', //cpg1.4
+  'all_words' => 'כל מילות החיפוש (AND)', //cpg1.4
+  'any_words' => 'כל אחת ממילות החיפוש (OR)', //cpg1.4
+);
+
+$lang_adv_opts = array(
+  'title' => 'כותרת', //cpg1.4
+  'caption' => 'כיתוב', //cpg1.4
+  'keywords' => 'מילות מפתח', //cpg1.4
+  'owner_name' => 'שם בעלים', //cpg1.4
+  'filename' => 'שם קובץ', //cpg1.4
+);
+
+}
+
+// ------------------------------------------------------------------------- //
+// File searchnew.php
+// ------------------------------------------------------------------------- //
+
+if (defined('SEARCHNEW_PHP')) $lang_search_new_php = array(
+  'page_title' => 'חפש קבצים חדשים',
+  'select_dir' => 'בחר ספריה',
+  'select_dir_msg' => 'פונקציה זו מאפשרת לך להוסיף סדרה של קבצים הנמצאים בשרת (ניתן להעלות אותם דרך FTP).<br /><br />בחר בספריה אליה העלית את הקבצים.', //cpg1.4
+  'no_pic_to_add' => 'There is no file to add',
+  'need_one_album' => 'אתה חייב לפחות אלבום אחד בכדי להשתמש בפונקציה זו',
+  'warning' => 'אזהרה',
+  'change_perm' => 'the script can\'t write in this directory, you need to change its mode to 755 or 777 before trying to add the files !',
+  'target_album' => '<b>הכנס הקבצים של &quot;</b>%s<b>&quot; לתוך </b>%s',
+  'folder' => 'תיקיה',
+  'image' => 'שם הקובץ',
+  'album' => 'אלבום',
+  'result' => 'תוצאה',
+  'dir_ro' => 'Not writable. ',
+  'dir_cant_read' => 'Not readable. ',
+  'insert' => 'מוסיף את הקבצים החדשים לגלריה',
+  'list_new_pic' => 'רשימת קבצים חדשים',
+  'insert_selected' => 'הוסף את הקבצים שנבחרו',
+  'no_pic_found' => 'לא נמצאו קבצים חדשים',
+  'be_patient' => 'התאזרו בסבלנות, התהליך מתבצע כעת...',
+  'no_album' => 'לא נבחר אלבום',
+  'result_icon' => 'לחץ לפרטים או לטעינה מחדש',  //cpg1.4
+  'notes' =>  '<ul>'.
+                          '<li><b>OK</b> = הקובץ נוסף בהצלחה'.
+                          '<li><b>DP</b> = קובץ כפול, אשר נמצא כבר במאגר המידע'.
+                          '<li><b>PB</b> : לא ניתן להוסיף את הקובץ. בדוק את ההגדרות ואת ההרשאות של הספריה בה שוכנים הקבצים'.
+                          '<li><b>NA</b> : לא בחרת אלבום אליו צריכים להגיע הקבצים. לחץ \'<a href="javascript:history.back(1)">אחורה</a>\' ובחר אלבום. אם עדיין אין אלבום, <a href="albmgr.php">צור חדש</a></li>'.
+                          '<li>אם הסימנים OK, DP, PB לא מופיעים, לחץ על הקובץ התקול לצפיה בשגיאת PHP'.
+                          '<li>אם הדפדפן מפסיק להגיב למשך פרק זמן ממושך, רענן התצוגה'.
+                          '</ul>',
+  'select_album' => 'בחר אלבום',
+  'check_all' => 'Check All',
+  'uncheck_all' => 'Uncheck All',
+  'no_folders' => 'There are no folders inside the "albums" folder yet. Make sure to create at least one custom folder within "albums" folder and ftp-upload your files there. You mustn\'t upload to the "userpics" nor "edit" folders, they are reserved for http uploads and internal purposes.', //cpg1.4
+   'albums_no_category' => 'Albums with no category', //cpg1.4 // album pulldown mod, added by frogfoot
+  'personal_albums' => '* Personal albums', //cpg1.4 // album pulldown mod, added by frogfoot
+  'browse_batch_add' => 'מנשק הניתן לסיור (לא מומלץ)', //cpg1.4
+  'edit_pics' => 'ערוך קבצים', //cpg1.4
+  'edit_properties' => 'מאפייני האלבום', //cpg1.4
+  'view_thumbs' => 'תמונות האלבום', //cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File stat_details.php //cpg1.4
+// ------------------------------------------------------------------------- //
+
+if (defined('STAT_DETAILS_PHP')) $lang_stat_details_php = array(
+  'show_hide' => 'show/hide this column', //cpg1.4
+  'vote' => 'Vote Details', //cpg1.4
+  'hits' => 'Hit Details', //cpg1.4
+  'stats' => 'Vote Statistics', //cpg1.4
+  'sdate' => 'Date', //cpg1.4
+  'rating' => 'Rating', //cpg1.4
+  'search_phrase' => 'Search phrase', //cpg1.4
+  'referer' => 'Referer', //cpg1.4
+  'browser' => 'Browser', //cpg1.4
+  'os' => 'Operating System', //cpg1.4
+  'ip' => 'IP', //cpg1.4
+  'sort_by_xxx' => 'Sort by %s', //cpg1.4
+  'ascending' => 'ascending', //cpg1.4
+  'descending' => 'descending', //cpg1.4
+  'internal' => 'int', //cpg1.4
+  'close' => 'close', //cpg1.4
+  'hide_internal_referers' => 'hide internal referers', //cpg1.4
+  'date_display' => 'Date display', //cpg1.4
+  'submit' => 'submit / refresh', //cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File thumbnails.php
+// ------------------------------------------------------------------------- //
+
+// Void
+
+// ------------------------------------------------------------------------- //
+// File upload.php
+// ------------------------------------------------------------------------- //
+
+if (defined('UPLOAD_PHP')) $lang_upload_php = array(
+  'title' => 'שליחת קובץ',
+  'custom_title' => 'Customized Request Form',
+  'cust_instr_1' => 'You may select a customized number of upload boxes. However, you may not select more than the limits listed below.',
+  'cust_instr_2' => 'Box Number Requests',
+  'cust_instr_3' => 'File upload boxes: %s',
+  'cust_instr_4' => 'URI/URL upload boxes: %s',
+  'cust_instr_5' => 'URI/URL upload boxes:',
+  'cust_instr_6' => 'File upload boxes:',
+  'cust_instr_7' => 'Please enter the number of each type of upload box you desire at this time.  Then click \'Continue\'. ',
+  'reg_instr_1' => 'Invalid action for form creation.',
+  'reg_instr_2' => 'ביכולתך לשלוח את הקבצים שלך בעזרת התיבות להלן. גודל כל קובץ חייב להיות קטן מ%s ק"ב.  קבצי ZIP ישארו דחוסים.',
+  'reg_instr_3' => 'אם ברצונך לשלוח את התמונות בקובץ ZIP, השתמש באפשרות הרלוונטית באיזור \'שלח קובץ ZIP\'',
+  'reg_instr_4' => 'לשליחת כתובת תמונה, הכנס את הכתובת המלאה, לדוגמה: http://www.mysite.com/images/example.jpg',
+  'reg_instr_5' => 'לסיום, לחץ על כפתור \'המשך\'.',
+  'reg_instr_6' => 'שלח קובץ ZIP',
+  'reg_instr_7' => 'שליחת קבצים:',
+  'reg_instr_8' => 'שליחת כתובות:',
+  'error_report' => 'Error Report',
+  'error_instr' => 'The following uploads encountered errors:',
+  'file_name_url' => 'File Name/URL',
+  'error_message' => 'Error Message',
+  'no_post' => 'File not uploaded by POST.',
+  'forb_ext' => 'Forbidden file extension.',
+  'exc_php_ini' => 'Exceeded filesize allowed in php.ini.',
+  'exc_file_size' => 'Exceeded filesize permitted by CPG.',
+  'partial_upload' => 'Only a partial upload.',
+  'no_upload' => 'No upload occurred.',
+  'unknown_code' => 'Unknown PHP upload error code.',
+  'no_temp_name' => 'No upload - No temp name.',
+  'no_file_size' => 'Contains no data/Corrupted',
+  'impossible' => 'Impossible to move.',
+  'not_image' => 'Not an image/corrupt',
+  'not_GD' => 'Not a GD extension.',
+  'pixel_allowance' => 'The height and or width of the uploaded picture is more than that allowed by the gallery config.', //cpg1.4
+  'incorrect_prefix' => 'Incorrect URI/URL prefix',
+  'could_not_open_URI' => 'Could not open URI.',
+  'unsafe_URI' => 'Safety not verifiable.',
+  'meta_data_failure' => 'Meta data failure',
+  'http_401' => '401 Unauthorized',
+  'http_402' => '402 Payment Required',
+  'http_403' => '403 Forbidden',
+  'http_404' => '404 Not Found',
+  'http_500' => '500 Internal Server Error',
+  'http_503' => '503 Service Unavailable',
+  'MIME_extraction_failure' => 'MIME could not be determined.',
+  'MIME_type_unknown' => 'Unknown MIME type',
+  'cant_create_write' => 'Cannot create write file.',
+  'not_writable' => 'Cannot write to write file.',
+  'cant_read_URI' => 'Cannot read URI/URL',
+  'cant_open_write_file' => 'Cannot open URI write file.',
+  'cant_write_write_file' => 'Cannot write to URI write file.',
+  'cant_unzip' => 'Cannot unzip.',
+  'unknown' => 'Unknown error',
+  'succ' => 'שליחת הקבצים הצליחה',
+  'success' => '%s קבצים נשלחו בהצלחה!',
+  'add' => 'לחץ על \'המשך\' להוספת הקבצים לאלבומים',
+  'failure' => 'Upload Failure',
+  'f_info' => 'File Information',
+  'no_place' => 'The previous file could not be placed.',
+  'yes_place' => 'הקובץ האחרון מוקם בהצלחה',
+  'max_fsize' => 'Maximum allowed file size is %s KB',
+  'album' => 'אלבום',
+  'picture' => 'קובץ',
+  'pic_title' => 'כותרת הקובץ',
+  'description' => 'תיאור הקובץ',
+  'keywords' => 'מילות מפתח (מופרדות ברווחים)<br /><a href="#" onClick="return MM_openBrWindow(\'keyword_select.php\',\'selectKey\',\'width=250, height=400, scrollbars=yes,toolbar=no,status=yes,resizable=yes\')">בחר מרשימה</a>', //cpg1.4
+  'keywords_sel' =>'Select a Keyword', //cpg1.4
+  'err_no_alb_uploadables' => 'Sorry there is no album where you are allowed to upload files',
+  'place_instr_1' => 'הכנס כעת את הקבצים לאלבומים ומלא את המידע הרלוונטי עבור כל קובץ.',
+  'place_instr_2' => 'More files need placement. Please click \'Continue\'.',
+  'process_complete' => 'You have successfully placed all the files.',
+   'albums_no_category' => 'אלבומים ללא קטגוריות', //cpg1.4. //album pulldown mod, added by frogfoot
+  'personal_albums' => '* Personal albums', //cpg1.4 //album pulldown mod, added by frogfoot
+  'select_album' => 'בחר אלבום', //cpg1.4 //album pulldown mod, added by frogfoot
+  'close' => 'Close', //cpg1.4
+  'no_keywords' => 'Sorry, no keywords available!', //cpg1.4
+  'regenerate_dictionary' => 'Regenerate Dictionary', //cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File usermgr.php
+// ------------------------------------------------------------------------- //
+
+if (defined('USERMGR_PHP')) $lang_usermgr_php = array(
+  'memberlist' => 'Memberlist', //cpg1.4
+  'user_manager' => 'User manager', //cpg1.4
+  'title' => 'Manage users',
+  'name_a' => 'Name ascending',
+  'name_d' => 'Name descending',
+  'group_a' => 'Group ascending',
+  'group_d' => 'Group descending',
+  'reg_a' => 'Reg date ascending',
+  'reg_d' => 'Reg date descending',
+  'pic_a' => 'File count ascending',
+  'pic_d' => 'File count descending',
+  'disku_a' => 'Disk usage ascending',
+  'disku_d' => 'Disk usage descending',
+  'lv_a' => 'Last visit ascending',
+  'lv_d' => 'Last visit descending',
+  'sort_by' => 'Sort users by',
+  'err_no_users' => 'User table is empty !',
+  'err_edit_self' => 'You can\'t edit your own profile, use the \'My profile\' link for that',
+  'edit' => 'Edit', //cpg1.4
+  'with_selected' => 'With selected:', //cpg1.4
+  'delete' => 'Delete', //cpg1.4
+  'delete_files_no' => 'keep public files (but anonymize)', //cpg1.4
+  'delete_files_yes' => 'delete public files as well', //cpg1.4
+  'delete_comments_no' => 'keep comments (but anonymize)', //cpg1.4
+  'delete_comments_yes' => 'delete comments as well', //cpg1.4
+  'activate' => 'Activate', //cpg1.4
+  'deactivate' => 'Deactivate', //cpg1.4
+  'reset_password' => 'Reset Password', //cpg1.4
+  'change_primary_membergroup' => 'Change primary membergroup', //cpg1.4
+  'add_secondary_membergroup' => 'Add secondary membergroup', //cpg1.4
+  'name' => 'User name',
+  'group' => 'Group',
+  'inactive' => 'Inactive',
+  'operations' => 'Operations',
+  'pictures' => 'Files',
+  'disk_space_used' => 'Space used', //cpg1.4
+  'disk_space_quota' => 'Space Quota', //cpg1.4
+  'registered_on' => 'Registration', //cpg1.4
+  'last_visit' => 'Last Visit',
+  'u_user_on_p_pages' => '%d users on %d page(s)',
+  'confirm_del' => 'Are you sure you want to DELETE this user ? \\nAll his files and albums will also be deleted.', //js-alert
+  'mail' => 'MAIL',
+  'err_unknown_user' => 'Selected user does not exist !',
+  'modify_user' => 'Modify user',
+  'notes' => 'Notes',
+  'note_list' => '<li>If you don\'t want to change the current password, leave the "password" field blank',
+  'password' => 'Password',
+  'user_active' => 'User is active',
+  'user_group' => 'User group',
+  'user_email' => 'User email',
+  'user_web_site' => 'User web site',
+  'create_new_user' => 'Create new user',
+  'user_location' => 'User location',
+  'user_interests' => 'User interests',
+  'user_occupation' => 'User occupation',
+  'user_profile1' => '$user_profile1', //cpg1.4
+  'user_profile2' => '$user_profile2', //cpg1.4
+  'user_profile3' => '$user_profile3', //cpg1.4
+  'user_profile4' => '$user_profile4', //cpg1.4
+  'user_profile5' => '$user_profile5', //cpg1.4
+  'user_profile6' => '$user_profile6', //cpg1.4
+  'latest_upload' => 'Recent uploads',
+  'never' => 'never',
+  'search' => 'User search', //cpg1.4
+  'submit' => 'Submit', //cpg1.4
+  'search_submit' => 'Go!', //cpg1.4
+  'search_result' => 'Search results for: ', //cpg1.4
+  'alert_no_selection' => 'You have to select at least one user first!', //cpg1.4 //js-alert
+  'password' => 'password', //cpg1.4
+  'select_group' => 'Select group', //cpg1.4
+  'groups_alb_access' => 'Album permissions by group', //cpg1.4
+  'album' => 'אלבום', //cpg1.4
+  'category' => 'קטגוריה', //cpg1.4
+  'modify' => 'Modify?', //cpg1.4
+  'group_no_access' => 'This group has no special access', //cpg1.4
+  'notice' => 'Notice', //cpg1.4
+  'group_can_access' => 'Album(s) that only "%s" can access', //cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File util.php
+// ------------------------------------------------------------------------- //
+
+if (defined('UTIL_PHP')) {
+$lang_util_desc_php = array(
+'Updates titles from filename', //cpg1.4
+'Deletes titles', //cpg1.4
+'Rebuilds thumbnails and resized photos', //cpg1.4
+'Deletes original sized photos replacing them with the resized version', //cpg1.4
+'Deletes original or intermediate size photos to free webspace', //cpg1.4
+'Deletes orphaned comments', //cpg1.4
+'Re-reads file sizes and dimensions (if you manually edited pics)', //cpg1.4
+'Resets views counter', //cpg1.4
+'Displays phpinfo', //cpg1.4
+'Updates the database', //cpg1.4
+'Displays log files', //cpg1.4
+);
+$lang_util_php = array(
+  'title' => 'Admin utilities (Resize pictures)',
+  'what_it_does' => 'What it does',
+  'file' => 'קובץ',
+  'problem' => 'Problem', //cpg1.4
+  'status' => 'Status', //cpg1.4
+  'title_set_to' => 'title set to',
+  'submit_form' => 'submit',
+  'updated_succesfully' => 'updated succesfully',
+  'error_create' => 'ERROR creating',
+  'continue' => 'Process more images',
+  'main_success' => 'The file %s was successfully used as main file',
+  'error_rename' => 'Error renaming %s to %s',
+  'error_not_found' => 'The file %s was not found',
+  'back' => 'back to main',
+  'thumbs_wait' => 'Updating thumbnails and/or resized images, please wait...',
+  'thumbs_continue_wait' => 'Continuing to update thumbnails and/or resized images...',
+  'titles_wait' => 'Updating titles, please wait...',
+  'delete_wait' => 'Deleting titles, please wait...',
+  'replace_wait' => 'Deleting originals and replacing them with resized images, please wait..',
+  'instruction' => 'Quick instructions',
+  'instruction_action' => 'Select action',
+  'instruction_parameter' => 'Set parameters',
+  'instruction_album' => 'בחר אלבום',
+  'instruction_press' => 'Press %s',
+  'update' => 'Update thumbs and/or resized photos',
+  'update_what' => 'What should be updated',
+  'update_thumb' => 'Only thumbnails',
+  'update_pic' => 'Only resized pictures',
+  'update_both' => 'Both thumbnails and resized pictures',
+  'update_number' => 'Number of processed images per click',
+  'update_option' => '(Try setting this option lower if you experience timeout problems)',
+  'filename_title' => 'Filename &rArr; File title',
+  'filename_how' => 'How should the filename be modified',
+  'filename_remove' => 'Remove the .jpg ending and replace _ (underscore) with spaces',
+  'filename_euro' => 'Change 2003_11_23_13_20_20.jpg to 23/11/2003 13:20',
+  'filename_us' => 'Change 2003_11_23_13_20_20.jpg to 11/23/2003 13:20',
+  'filename_time' => 'Change 2003_11_23_13_20_20.jpg to 13:20',
+  'delete' => 'Delete file titles or original size photos',
+  'delete_title' => 'Delete file titles',
+  'delete_title_explanation' => 'This will remove all titles on files in the album you specify.', //cpg1.4
+  'delete_original' => 'Delete original size photos',
+  'delete_original_explanation' => 'This will remove the full sized pictures.', //cpg1.4
+  'delete_intermediate' => 'Delete intermediate pictures', //cpg1.4
+  'delete_intermediate_explanation' => 'This will delete intermediate (normal) pictures.<br />Use this to free up disk space if you have disabled \'Create intermediate pictures\' in config after adding pictures.', //cpg1.4
+  'delete_replace' => 'Deletes the original images replacing them with the sized versions',
+  'titles_deleted' => 'All titles in specified album removed', //cpg1.4
+  'deleting_intermediates' => 'Deleting intermediate images, please wait...', //cpg1.4
+  'searching_orphans' => 'Searching for orphans, please wait...', //cpg1.4
+  'select_album' => 'בחר אלבום',
+  'delete_orphans' => 'Delete comments on missing files', //cpg1.4
+  'delete_orphans_explanation' => 'This will identify and allow you to delete any comments associated with files no longer in the gallery.<br />Checks all albums.', //cpg1.4
+  'refresh_db' => 'Reload file dimensions and size information', //cpg1.4
+  'refresh_db_explanation' => 'This will re-read file sizes and dimensions. Use this if quota\'s are incorrect or you have changed the files manually.', //cpg1.4
+  'reset_views' => 'Reset view counters', //cpg1.4
+  'reset_views_explanation' => 'Sets all file view counts to zero in the album specified.', //cpg1.4
+  'orphan_comment' => 'orphan comments found',
+  'delete' => 'Delete',
+  'delete_all' => 'Delete all',
+  'delete_all_orphans' => 'Delete all orphans?', //cpg1.4
+  'comment' => 'Comment: ',
+  'nonexist' => 'attached to non existant file # ',
+  'phpinfo' => 'Display phpinfo',
+  'phpinfo_explanation' => 'Contains technical information about your server.<br /> - You may be asked to provide information from this when requesting support.', //cpg1.4
+  'update_db' => 'Update database',
+  'update_db_explanation' => 'If you have replaced coppermine files, added a modification or upgraded from a previous version of coppermine, make sure to run the database update once. This will create the necessary tables and/or config values in your coppermine database.',
+  'view_log' => 'View log files', //cpg1.4
+  'view_log_explanation' => 'Coppermine can keep track of various actions users perform. You can browse those logs if you have enabled logging in <a href="admin.php">coppermine config</a>.', //cpg1.4
+  'versioncheck' => 'Check versions', //cpg1.4
+  'versioncheck_explanation' => 'Check your file versions to find out if you have replaced all files after an upgrade, or if coppermine source files have been updated after the release of a package.', //cpg1.4
+  'bridgemanager' => 'Bridge Manager', //cpg1.4
+  'bridgemanager_explanation' => 'Enable/disable integration (bridging) of Coppermine with another application (e.g. your BBS).', //cpg1.4
+);
+}
+
+// ------------------------------------------------------------------------- //
+// File versioncheck.php //cpg1.4
+// ------------------------------------------------------------------------- //
+
+if (defined('VERSIONCHECK_PHP')) $lang_versioncheck_php = array(
+  'title' => 'Versioncheck', //cpg1.4
+  'what_it_does' => 'This page is meant for users who have updated their coppermine install. This script goes through the files on your webserver and tries to determine if your local file versions on the webserver are the same as the ones from the repository at http://coppermine.sourceforge.net, this way displaying the files you were meant to update as well.<br />It will show everything in red that needs to be fixed. Entries in yellow need looking into. Entries in green (or your default font color) are OK.<br />Click on the help icons to find out more.', //cpg1.4
+  'online_repository_unable' => 'Unable to connect to online repository', //cpg1.4
+  'online_repository_noconnect' => 'Coppermine was unable to connect to the online repository. This can have two reasons:', //cpg1.4
+  'online_repository_reason1' => 'the coppermine online repository is currently down - check if you can browse this page: %s - if you can\'t access this page, try again later.', //cpg1.4
+  'online_repository_reason2' => 'PHP on your webserver is configured with %s turned off (by default, it\'s turned on). If the server is yours to administer, turn this option on in <i>php.ini</i> (at least allow it to be overridden with %s). If you\'re webhosted, you will probably have to live with the fact that you can\'t compare your files to the online repository. This page will then only display the file versions that came with your distribution - updates will not be displayed.', //cpg1.4
+  'online_repository_skipped' => 'Connection to online repository skipped', //cpg1.4
+  'online_repository_to_local' => 'The script is defaulting to the local copy of the version-files now. The data may be inacurate if you have upgraded Coppermine and you haven\'t uploaded all files. Changes to the files after the release won\'t be taken into account as well.', //cpg1.4
+  'local_repository_unable' => 'Unable to connect to the repository on your server', //cpg1.4
+  'local_repository_explanation' => 'Coppermine was unable to connect to the repository file %s on your webserver. This probably means that you haven\'t uploaded the repository file to your webserver. Do so now and then try to run this page once more (hit refresh).<br />If the script still fails, your webhost might have disabled parts of <a href="http://www.php.net/manual/en/ref.filesystem.php">PHP\'s filesystem functions</a> completely. In this case, you simply won\'t be able to use this tool at all, sorry.', //cpg1.4
+  'coppermine_version_header' => 'Installed Coppermine version', //cpg1.4
+  'coppermine_version_info' => 'You have currently installed: %s', //cpg1.4
+  'coppermine_version_explanation' => 'If you think this is entirely wrong and you\'re supposed to be running a higher version of Coppermine, you probably haven\'t uploaded the most recent version of the file <i>include/init.inc.php</i>', //cpg1.4
+  'version_comparison' => 'Version comparison', //cpg1.4
+  'folder_file' => 'folder/file', //cpg1.4
+  'coppermine_version' => 'cpg version', //cpg1.4
+  'file_version' => 'file version', //cpg1.4
+  'webcvs' => 'web svn', //cpg1.4
+  'writable' => 'writable', //cpg1.4
+  'not_writable' => 'not writable', //cpg1.4
+  'help' => 'Help', //cpg1.4
+  'help_file_not_exist_optional1' => 'file/folder does not exist', //cpg1.4
+  'help_file_not_exist_optional2' => 'The file/folder %s has not been found on your server. Although it is optional you should upload it (using your FTP client) to your webserver if you are experiencing problems.', //cpg1.4
+  'help_file_not_exist_mandatory1' => 'file/folder does not exist', //cpg1.4
+  'help_file_not_exist_mandatory2' => 'The file/folder %s has not been found on your server, although it is mandatory. Upload the file to your webserver (using your FTP client).', //cpg1.4
+  'help_no_local_version1' => 'No local file version', //cpg1.4
+  'help_no_local_version2' => 'The script was unable to extract a local file version - your file is either outdated or you have modified it, removing the header information on the way. Updating the file is recommended.', //cpg1.4
+  'help_local_version_outdated1' => 'Local version outdated', //cpg1.4
+  'help_local_version_outdated2' => 'Your version of this file seems to be from an older version of Coppermine (you probably upgraded). Make sure to update this file as well.', //cpg1.4
+  'help_local_version_na1' => 'Unable to extract cvs version info', //cpg1.4
+  'help_local_version_na2' => 'The script could not determine what cvs version the file on your webserver is. You should upload the file from your package.', //cpg1.4
+  'help_local_version_dev1' => 'Development version', //cpg1.4
+  'help_local_version_dev2' => 'The file on your webserver seems to be newer than your Coppermine version. You are either using a development file (you should only do so if you know what you are doing), or you have upgraded your Coppermine install and not uploaded include/init.inc.php', //cpg1.4
+  'help_not_writable1' => 'Folder not writable', //cpg1.4
+  'help_not_writable2' => 'Change file permissions (CHMOD) to grant the script write access to the folder %s and everything within it.', //cpg1.4
+  'help_writable1' => 'Folder writable', //cpg1.4
+  'help_writable2' => 'The folder %s is writable. This is an unnecessary risk, coppermine only needs read/execute access.', //cpg1.4
+  'help_writable_undetermined' => 'Coppermine was not able to determine wether the folder is writable.', //cpg1.4
+  'your_file' => 'your file', //cpg1.4
+  'reference_file' => 'reference file', //cpg1.4
+  'summary' => 'Summary', //cpg1.4
+  'total' => 'Total files/folders checked', //cpg1.4
+  'mandatory_files_missing' => 'Mandatory files missing', //cpg1.4
+  'optional_files_missing' => 'Optional files missing', //cpg1.4
+  'files_from_older_version' => 'Files left over from outdated Coppermine version', //cpg1.4
+  'file_version_outdated' => 'Outdated file versions', //cpg1.4
+  'error_no_data' => 'The script made a boo, it was not able to retrieve any information. Sorry for the inconvenience.', //cpg1.4
+  'go_to_webcvs' => 'go to %s', //cpg1.4
+  'options' => 'Options', //cpg1.4
+  'show_optional_files' => 'show optional folders/files', //cpg1.4
+  'show_mandatory_files' => 'show mandatory files', //cpg1.4
+  'show_file_versions' => 'show file versions', //cpg1.4
+  'show_errors_only' => 'show folders/files with errors only', //cpg1.4
+  'show_permissions' => 'show folder permissions', //cpg1.4
+  'show_condensed_output' => 'show condensed ouput (for easier screenshots)', //cpg1.4
+  'coppermine_in_webroot' => 'coppermine is installed in the webroot', //cpg1.4
+  'connect_online_repository' => 'try connecting to the online repository', //cpg1.4
+  'show_additional_information' => 'show additional information', //cpg1.4
+  'no_webcvs_link' => 'don\'t display web svn link', //cpg1.4
+  'stable_webcvs_link' => 'display web svn link to stable branch', //cpg1.4
+  'devel_webcvs_link' => 'display web svn link to devel branch', //cpg1.4
+  'submit' => 'apply changes / refresh', //cpg1.4
+  'reset_to_defaults' => 'reset to default values', //cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File view_log.php  //cpg1.4
+// ------------------------------------------------------------------------- //
+
+if (defined('VIEWLOG_PHP')) $lang_viewlog_php = array(
+  'delete_all' => 'Delete All Logs', //cpg1.4
+  'delete_this' => 'Delete This Log', //cpg1.4
+  'view_logs' => 'View Logs', //cpg1.4
+  'no_logs' => 'No logs created.', //cpg1.4
+);
+
+
+// ------------------------------------------------------------------------- //
+// File xp_publish.php //cpg1.4
+// ------------------------------------------------------------------------- //
+
+if (defined('XP_PUBLISH_PHP')) {
+
+$lang_xp_publish_client = <<<EOT
+<h1>XP Web Publishing Wizard Client</h1><p>This module allows to use <b>Windows XP</b> web publishing wizard with Coppermine.</p><p>Code is based on article posted by
+EOT;
+
+$lang_xp_publish_required = <<<EOT
+<h2>What is required</h2><ul><li>Windows XP in order to have the wizard.</li><li>A working installation of Coppermine on which <b>the web upload function works properly.</b></li></ul><h2>How to install on client side</h2><ul><li>Right click on
+EOT;
+
+$lang_xp_publish_select = <<<EOT
+Select &quot;save target as..&quot;. Save the file on your hard drive. When saving the file, check that the proposed file name is <b>cpg_###.reg</b> (the ### represents a numerical timestamp). Change it to that name if necessary (leave the numbers). When downloaded, double click on the file in order to register your server with the web publishing wizard.</li></ul>
+EOT;
+
+$lang_xp_publish_testing = <<<EOT
+<h2>Testing</h2><ul><li>In Windows Explorer, select some files and click on <b>Publish xxx on the web</b> in the left pane.</li><li>Confirm your file selection. Click on <b>Next</b>.</li><li>In the list of services that appear, select the one for your photo gallery (it has the name of your gallery). If the service does not appear, check that you have installed <b>cpg_pub_wizard.reg</b> as described above.</li><li>Input your login information if required.</li><li>Select the target album for your pictures or create a new one.</li><li>Click on <b>next</b>. The upload of your pictures starts.</li><li>When it is completed, check your gallery to see if pictures have been properly added.</li></ul>
+EOT;
+
+$lang_xp_publish_notes = <<<EOT
+<h2>Notes :</h2><ul><li>Once the upload has started, the wizard can't display any error message returned by the script so you can't know if the upload failed or succeeded until you check your gallery.</li><li>If the upload fails, enable &quot;Debug mode&quot; on the Coppermine admin page, try with one single picture and check error messages in the
+EOT;
+
+$lang_xp_publish_flood = <<<EOT
+file that is located in Coppermine directory on your server.</li><li>In order to avoid that the gallery be <i>flooded</i> by pictures uploaded through the wizard, only the <b>gallery admins</b> and <b>users that can have their own albums</b> can use this feature.</li>
+EOT;
+
+
+
+$lang_xp_publish_php = array(
+  'title' => 'Coppermine - XP Web Publishing Wizard', //cpg1.4
+  'welcome' => 'Welcome <b>%s</b>,', //cpg1.4
+  'need_login' => 'You need to login to the gallery using your web browser before you can use this wizard.<p/><p>When you login don\'t forget to select the <b>remember me</b> option if it is present.', //cpg1.4
+  'no_alb' => 'Sorry but there is no album where you are allowed to upload pictures with this wizard.', //cpg1.4
+  'upload' => 'Upload your pictures into an existing album', //cpg1.4
+  'create_new' => 'Create a new album for your pictures', //cpg1.4
+  'album' => 'אלבום', //cpg1.4
+  'category' => 'קטגוריה', //cpg1.4
+  'new_alb_created' => 'Your new album &quot;<b>%s</b>&quot; was created.', //cpg1.4
+  'continue' => 'Press &quot;Next&quot; to start to upload your pictures', //cpg1.4
+  'link' => 'this link', //cpg1.4
+);
+}
 ?>
\ No newline at end of file
diff -x .svn -aruN 1.4.24.src/lang/hindi.php 1.4.25.src/lang/hindi.php
--- 1.4.24.src/lang/hindi.php	2009-05-25 15:01:17.000000000 -0500
+++ 1.4.25.src/lang/hindi.php	2009-05-26 11:25:40.000000000 -0500
@@ -10,11 +10,11 @@
   as published by the Free Software Foundation.
   
   ********************************************
-  Coppermine version: 1.4.24
+  Coppermine version: 1.4.25
   $HeadURL: https://coppermine.svn.sourceforge.net/svnroot/coppermine/trunk/cpg1.4.x/lang/hindi.php $
-  $Revision: 5988 $
+  $Revision: 5997 $
   $Author: gaugau $
-  $Date: 2009-05-25 22:01:41 +0200 (Mo, 25 Mai 2009) $
+  $Date: 2009-05-26 08:43:24 +0200 (Di, 26 Mai 2009) $
 **********************************************/
 
 if (!defined('IN_COPPERMINE')) { die('Not in Coppermine...');}
diff -x .svn -aruN 1.4.24.src/lang/hungarian.php 1.4.25.src/lang/hungarian.php
--- 1.4.24.src/lang/hungarian.php	2009-05-25 15:01:17.000000000 -0500
+++ 1.4.25.src/lang/hungarian.php	2009-05-26 11:25:40.000000000 -0500
@@ -1,2116 +1,2116 @@
-<?php
-/*************************
-  Coppermine Photo Gallery
-  ************************
-  Copyright (c) 2003-2009 Coppermine Dev Team
-  v1.1 originally written by Gregory DEMAR
-
-  This program is free software; you can redistribute it and/or modify
-  it under the terms of the GNU General Public License version 3
-  as published by the Free Software Foundation.
-  
-  ********************************************
-  Coppermine version: 1.4.24
-  $HeadURL: https://coppermine.svn.sourceforge.net/svnroot/coppermine/trunk/cpg1.4.x/lang/hungarian.php $
-  $Revision: 5988 $
-  $Author: gaugau $
-  $Date: 2009-05-25 22:01:41 +0200 (Mo, 25 Mai 2009) $
-**********************************************/
-
-if (!defined('IN_COPPERMINE')) { die('Not in Coppermine...');}
-
-// info about translators and translated language
-$lang_translation_info = array(
-  'lang_name_english' => 'Hungarian', //cpg1.4
-  'lang_name_native' => 'Magyar', //cpg1.4
-  'lang_country_code' => 'hu', //cpg1.4
-  'trans_name'=> 'Zsolt Fenyvesvölgyi, Nagymáté Péter',
-  'trans_email' => 'mailfed@gmail.com',
-  'trans_email2' => 'pepe@ludens.elte.hu',
-  'trans_website' => 'http://www.egermuzeum.hu',
-  'trans_website2' => 'http://www.beagle.hu',
-  'trans_date' => '2007-04-10',
-  'trans_date2' => '2006-02-25',
-);
-
-$lang_charset = 'utf-8';
-$lang_text_dir = 'ltr'; // ('ltr' for left to right, 'rtl' for right to left)
-
-// shortcuts for Byte, Kilo, Mega
-$lang_byte_units = array('Bytes', 'KB', 'MB');
-
-// Day of weeks and months
-$lang_day_of_week = array('Vasárnap', 'Hétfő', 'Kedd', 'Szerda', 'Csütörtök', 'Péntek', 'Szombat');
-$lang_month = array('Január', 'Február', 'Március', 'Április', 'Május', 'Június', 'Július', 'Augusztus', 'Szeptember', 'Október', 'November', 'December');
-
-// Some common strings
-$lang_yes = 'Igen';
-$lang_no  = 'Nem';
-$lang_back = 'vissza';
-$lang_continue = 'folytatás';
-$lang_info = 'Információ';
-$lang_error = 'Hiba';
-$lang_check_uncheck_all = 'összes ellenőrzése'; //cpg1.4
-
-// The various date formats
-// See http://www.php.net/manual/en/function.strftime.php to define the variable below
-$album_date_fmt =    '%Y %B %d.';
-$lastcom_date_fmt =  '%y.%m.%d %H:%M kor';
-$lastup_date_fmt = '%Y %B %d.';
-$register_date_fmt = '%Y %B %d.';
-$lasthit_date_fmt = '%Y %B %d. %H:%M kor';
-$comment_date_fmt =  '%Y %B %d. %H:%M kor';
-$log_date_fmt = '%Y %B %d. %H:%M kor'; //cpg1.4
-
-// For the word censor
-$lang_bad_words = array('*fuck*', 'Fu\(*', 'fuk*', 'masturbat*', 'motherfucker', 'nigger*', 'penis', 'pussy', 'shit', 'titties', 'titty',  'arsch*', 'fick*', 'fotze', 'votze', 'Sieg Heil', 'Heil Hitler', 'Nutte', 'Möse', 'Moese', 'Pimmel', 'Schwengel', 'Titte*', 'bums*', 'Scheiss*', 'Scheiß*');
-
-$lang_meta_album_names = array(
-  'random' => 'Válogatás',
-  'lastup' => 'Legutóbb feltöltött',
-  'lastalb'=> 'Legutóbb frissített album',
-  'lastcom' => 'Legújabb hozászólás',
-  'topn' => 'Legtöbbet nézett',
-  'toprated' => 'Legjobb helyezett',
-  'lasthits' => 'Legutóbb megnézett',
-  'search' => 'Keresés eredménye',
-  'favpics'=> 'Kedvenc képek',  //cpg1.4
-);
-
-$lang_errors = array(
-  'access_denied' => 'Nincs jogod megnézni ezt az oldalt.',
-  'perm_denied' => 'Nincs jogosultságod a művelethez.',
-  'param_missing' => 'Hiányzó paraméterek.',
-  'non_exist_ap' => 'A kiválasztott album vagy kép nem létezik!',
-  'quota_exceeded' => 'Lemez terület kvóta túllépés<br /><br />A Te kvótád [quota] kB, jellenleg ennyi [space] kB-ot foglalsz, ennek a képnek a feltöltésekor túlléped a kvótád.',
-  'gd_file_type_err' => 'Amikor GD-könyvtárat használsz, a megengedett fájlformátum csak JPG vagy PNG .',
-  'invalid_image' => 'A feltöltött kép sérült vagy a GD könyvtár nem kezeli a fáljformátumot',
-  'resize_failed' => 'Nem lehet a képet átméretezni.',
-  'no_img_to_display' => 'Nincs megjeleníthető kép',
-  'non_exist_cat' => 'A kiválasztott kategória nem létezik',
-  'orphan_cat' => 'A kategóriának nem létezik szülője, futtassd a kategória rendezőt a hiba kijavításához!',
-  'directory_ro' => 'A \'%s\' könyvtár nem írható, a fájlt nem lehet törölni',
-  'non_exist_comment' => 'A kiválasztott megjegyzés nem létezik.',
-  'pic_in_invalid_album' => 'A kép egy nem létező albumban van (%s)!?',
-  'banned' => 'Jelenleg ki vagy zárva erről a weboldalról',
-  'not_with_udb' => 'Ez a funkció le van tiltva a Coppemine-ban , mert integrálva van egy fórum programmal. a kért művelet nincs támogatva, vagy a funkciót a fórum program kezeli.',
-  'offline_title' => 'Kikapcsolva',
-  'offline_text' => 'Ez a képgaléria kikapcsolt állapotban van - néz vissza később.', //cpg1.3.0
-  'ecards_empty' => 'Jellenleg egyetlen Ecard-ot sem lehet megjeleníteni!',
-  'action_failed' => 'Hibás művelet.A Coppermine nem tudja kiszolgálni a kérést.', //cpg1.3.0
-  'no_zip' => 'Nincs feltelepítve program a zip fájlok kezeléséhez. Keresd fel a rendszergazdát!',
-  'zip_type' => 'Nincs jogosultságod zip fájlok feltöltésére.',
-  'database_query' => 'Hiba történt az adatbázis lekérdezése közben.', //cpg1.4
-  'register_globals_on' => 'The PHP setting register_globals is enabled on your server, which is a bad idea in terms of security. It\'s strongly recommended to turn it off. [<a href="http://forum.coppermine-gallery.net/index.php/topic,59569.0.html" rel="external" class="external">more</a>]',
-);
-
-$lang_bbcode_help_title = 'Bulletin Board kód segítség'; //cpg1.4
-$lang_bbcode_help = 'Lehetőség van linkek hozzáadására és néhány formázásra, ha használod ezeket a BBCode formázókat: <li>[b]Kövér[/b] =&gt; <b>Kövér</b></li><li>[i]Dőlt[/i] =&gt; <i>Dőlt</i></li><li>[url=http://weblapod.hu/]Url szöveg[/url] =&gt; <a href="http://weblapod.hu">Url szöveg</a></li><li>[email]felhasználó@weblapod.hu[/email] =&gt; <a href="mailto:felhasználó@weblapod.hu">felhasználó@weblapod.hu</a></li><li>[color=red]Valami szöveg[/color] =&gt; <span style="color:red">Valami szöveg</span></li><li>[img]http://coppermine-gallery.net/demo/cpg14x/images/red.gif[/img] => <img src="../images/red.gif" border="0" alt="" /></li>'; //cpg1.4
-
-// ------------------------------------------------------------------------- //
-// File theme.php
-// ------------------------------------------------------------------------- //
-
-$lang_main_menu = array(
-  'home_title' => 'Ugrás a kezdőlapra',
-  'home_lnk' => 'Kezdőlap',
-  'alb_list_title' => 'Ugrás az album listára',
-  'alb_list_lnk' => 'Album lista',
-  'my_gal_title' => 'Ugrás a személyes képtárba',
-  'my_gal_lnk' => 'Személyes képtáram',
-  'my_prof_title' => 'Ugrás a profilomhoz', //cpg1.4
-  'my_prof_lnk' => 'Profilom',
-  'adm_mode_title' => 'Átváltás admin módba',
-  'adm_mode_lnk' => 'Admin mód',
-  'usr_mode_title' => 'Átváltás felhasználói módba',
-  'usr_mode_lnk' => 'Felhasználói mód',
-  'upload_pic_title' => 'Fájl feltöltése az albumba',
-  'upload_pic_lnk' => 'Fájl feltöltése',
-  'register_title' => 'Felhasználó létrehozása',
-  'register_lnk' => 'Regisztráció',
-  'login_title' => 'Léptess be!', //cpg1.4
-  'login_lnk' => 'Bejelentkezés',
-  'logout_title' => 'Léptess ki!', //cpg1.4
-  'logout_lnk' => 'Kijelentkezés',
-  'lastup_title' => 'Mutasd a legutóbbi feltöltéseket', //cpg1.4
-  'lastup_lnk' => 'Legújabb feltöltések',
-  'lastcom_title' => 'Mutasd a legutóbbi hozzászólásokat', //cpg1.4
-  'lastcom_lnk' => 'Legutolsó hozzászólás',
-  'topn_title' => 'Mutasd a legtöbbet nézet képeket', //cpg1.4
-  'topn_lnk' => 'Legtöbbet nézett',
-  'toprated_title' => 'Mutasd a tegtöbb szavazatot kapott képeket', //cpg1.4
-  'toprated_lnk' => 'Legjobb helyezett',
-  'search_title' => 'Keresés a képtárban', //cpg1.4
-  'search_lnk' => 'Keresés',
-  'fav_title' => 'Ugrás a kedvencekhez', //cpg1.4
-  'fav_lnk' => 'Kedvencek',
-  'memberlist_title' => 'Mutasd a felhasználók listáját',
-  'memberlist_lnk' => 'Felhasználók listája',
-  'faq_title' => 'Gyakran felett kérdések (Frequently Asked Questions)',
-  'faq_lnk' => 'GYIK',
-);
-
-$lang_gallery_admin_menu = array(
-  'upl_app_title' => 'Új feltöltések jóváhagyása', //cpg1.4
-  'upl_app_lnk' => 'Feltöltés jóváhagyás',
-  'admin_title' => 'Ugrás a beállításokhoz', //cpg1.4
-  'admin_lnk' => 'Beállítások', //cpg1.4
-  'albums_title' => 'Ugrás az album beállításhoz', //cpg1.4
-  'albums_lnk' => 'Albumok',
-  'categories_title' => 'Ugrás a kategória beállításhoz', //cpg1.4
-  'categories_lnk' => 'Kategóriák',
-  'users_title' => 'Ugrás a felhasználó beállításhoz', //cpg1.4
-  'users_lnk' => 'Felhasználók',
-  'groups_title' => 'Ugrás a csoport beállításhoz', //cpg1.4
-  'groups_lnk' => 'Csoportok',
-  'comments_title' => 'Az összes hozzászólás megtekintése', //cpg1.4
-  'comments_lnk' => 'Hozzászólások',
-  'searchnew_title' => 'Ugrás a csoportos hozzáadáshoz', //cpg1.4
-  'searchnew_lnk' => 'Csoportos hozzáadás',
-  'util_title' => 'Ugrás az admin eszközökhöz', //cpg1.4
-  'util_lnk' => 'Admin eszközök',
-  'key_title' => 'Ugrás a kulcsszavakhoz', //cpg1.4
-  'key_lnk' => 'Kulcsszavak', //cpg1.4
-  'ban_title' => 'Ugrás a kitiltottak listájához ', //cpg1.4
-  'ban_lnk' => 'Kitiltott felhasználók',
-  'db_ecard_title' => 'Képeslapok megtekintése', //cpg1.4
-  'db_ecard_lnk' => 'Képeslapok',
-  'pictures_title' => 'Képek rendezése', //cpg1.4
-  'pictures_lnk' => 'Képek rendezése', //cpg1.4
-  'documentation_lnk' => 'Dokumentáció', //cpg1.4
-  'documentation_title' => 'Coppermine - Felhasználói Kézikönyv', //cpg1.4
-);
-
-$lang_user_admin_menu = array(
-  'albmgr_title' => 'Saját albumok készítése és rendezése', //cpg1.4
-  'albmgr_lnk' => 'Album készítés/rendezés',
-  'modifyalb_title' => 'Ugrás az album módosításhoz',  //cpg1.4
-  'modifyalb_lnk' => 'Az albumom módosítása',
-  'my_prof_title' => 'Ugrás a személyes beállításaimhoz', //cpg1.4
-  'my_prof_lnk' => 'Személyes beállításaim',
-);
-
-$lang_cat_list = array(
-  'category' => 'Kategória',
-  'albums' => 'Albumok',
-  'pictures' => 'Képek',
-);
-
-$lang_album_list = array(
-  'album_on_page' => '%d Album %d Oldalakon',
-);
-
-$lang_thumb_view = array(
-  'date' => 'Dátum',
-  //Sort by filename and title
-  'name' => 'Fájl neve',
-  'title' => 'Címe',
-  'sort_da' => 'Rendezés dátum szerint növekvő',
-  'sort_dd' => 'Rendezés dátum szerint csökkenő',
-  'sort_na' => 'Rendezés név szerint növekvő',
-  'sort_nd' => 'Rendezés név szerint csökkenő',
-  'sort_ta' => 'Rendezés cím szerint növekvő',
-  'sort_td' => 'Rendezés cím szerint csökenő',
-  'position' => 'Pozíció', //cpg1.4
-  'sort_pa' => 'Rendezés pozició szerint növekvő', //cpg1.4
-  'sort_pd' => 'Rendezés pozició szerint csökkenő', //cpg1.4
-  'download_zip' => 'Letöltés zip fájlként',
-  'pic_on_page' => '%d fájl %d oldalon',
-  'user_on_page' => '%d felhasználó %d oldalon',
-  'enter_alb_pass' => 'Add meg a jelszót az albumhoz', //cpg1.4
-  'invalid_pass' => 'Hibás jelszó', //cpg1.4
-  'pass' => 'Jelszó', //cpg1.4
-  'submit' => 'Mehet', //cpg1.4
-);
-
-$lang_img_nav_bar = array(
-  'thumb_title' => 'Vissza az áttekintő oldalra',
-  'pic_info_title' => 'Fájl információk megjelenítése/elrejtése',
-  'slideshow_title' => 'Diavetítés',
-  'ecard_title' => 'Kép küldése képeslapként ',
-  'ecard_disabled' => 'Képeslap funkció letiltva',
-  'ecard_disabled_msg' => 'Nincs jogod képeslapot küldeni',
-  'prev_title' => 'előző kép',
-  'next_title' => 'következő kép',
-  'pic_pos' => 'Kép %s/%s',
-  'report_title' => 'Jelezd ezt a képet a rendszergazdának', //cpg1.4
-  'go_album_end' => 'Ugrás a végére', //cpg1.4
-  'go_album_start' => 'Ugrás az elejére', //cpg1.4
-  'go_back_x_items' => 'menj vissza %s képet', //cpg1.4
-  'go_forward_x_items' => 'menj előre %s képet', //cpg1.4
-);
-
-$lang_rate_pic = array(
-  'rate_this_pic' => 'Szavazz erre a képre',
-  'no_votes' => '(nem kapott szavazatot)',
-  'rating' => 'jelenlegi helyezés : %s/5 %s szavazatból',
-  'rubbish' => 'vacak',
-  'poor' => 'gyenge',
-  'fair' => 'közepes',
-  'good' => 'jó',
-  'excellent' => 'nagyon jó',
-  'great' => 'tökéletes',
-);
-
-// ------------------------------------------------------------------------- //
-// File include/exif.inc.php
-// ------------------------------------------------------------------------- //
-
-// void
-
-// ------------------------------------------------------------------------- //
-// File include/functions.inc.php
-// ------------------------------------------------------------------------- //
-
-$lang_cpg_die = array(
-  INFORMATION => $lang_info,
-  ERROR => $lang_error,
-  CRITICAL_ERROR => 'Súlyos hiba',
-  'file' => 'Fájl: ',
-  'line' => 'Sor: ',
-);
-
-$lang_display_thumbnails = array(
-  'filename' => 'Fájlnév : ',
-  'filesize' => 'Fájlméret : ',
-  'dimensions' => 'Méretek : ',
-  'date_added' => 'Hozzáadás dátuma : ',
-);
-
-$lang_get_pic_data = array(
-  'n_comments' => '%s Hozászólások',
-  'n_views' => '%s Megtekintés',
-  'n_votes' => '(%s Szavazat)',
-);
-
-$lang_cpg_debug_output = array(
-  'debug_info' => 'Debug információ',
-  'select_all' => 'Összes kiválasztása',
-  'copy_and_paste_instructions' => 'Ha segítségre van szükséged, akkor másold ki és küld el ezt a hibajelenség leírást a Coppermine Technikai Támogatásnak. Ügyelj arra, hogy jelszavak helyére *** -at írj.<br />Megjegyzés: ez csak egy információ, és nem jeleni azt, hogy baj van a képtáraddal.', //cpg1.4
-  'phpinfo' => 'php információk',
-  'notices' => 'Megjegyzések', //cpg1.4
-);
-
-$lang_language_selection = array(
-  'reset_language' => 'Alapértelmezett nyelv',
-  'choose_language' => 'Válassz nyelvet!',
-);
-
-$lang_theme_selection = array(
-  'reset_theme' => 'Alapértelmezett Téma',
-  'choose_theme' => 'Válassz témát!',
-);
-
-$lang_version_alert = array(
-  'version_alert' => 'Nem támogatott verzió!', //cpg1.4
-  'security_alert' => 'Biztonsági riasztás!', //cpg1.4.3
-  'relocate_exists' => 'Távolítsd el a <a href="http://coppermine-gallery.net/forum/index.php?topic=24217.0">relocate_server.php</a> fájlt a webszerveredről!',
-  'no_stable_version' => 'Te most a Coppermine %s (%s) verziót használod, melyhez nem tartozik támogatás. Csak saját felelősségedre használd!', //cpg1.4
-  'gallery_offline' => 'A képtár jelenleg kikapcsolt állapotban van, csak rendszergazdaként léphetsz be. Ha végeztél a karbantartással, ne felejtsd el bekapcsolni.', //cpg1.4
-);
-
-$lang_create_tabs = array(
-  'previous' => 'előző', //cpg1.4
-  'next' => 'következő', //cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File include/init.inc.php
-// ------------------------------------------------------------------------- //
-
-// void
-
-// ------------------------------------------------------------------------- //
-// File keyword.inc.php                                                      //
-// ------------------------------------------------------------------------- //
-
-// void
-
-// ------------------------------------------------------------------------- //
-// File include/picmgmt.inc.php
-// ------------------------------------------------------------------------- //
-
-// void
-
-// ------------------------------------------------------------------------- //
-// File include/plugin_api.inc.php
-// ------------------------------------------------------------------------- //
-$lang_plugin_api = array(
-  'error_wakeup' => "Ezt a plugint '%s' nem tudtam aktíválni", //cpg1.4
-  'error_install' => "Ezt a plugint '%s' nem sikerült telepíteni", //cpg1.4
-  'error_uninstall' => "Ezt a plugint '%s' nem sikerült eltávolítani", //cpg1.4
-  'error_sleep' => "Ezt a plugint '%s' nem tudtam inaktíválni.<br />", //cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File include/smilies.inc.php
-// ------------------------------------------------------------------------- //
-
-if (defined('SMILIES_PHP')) $lang_smilies_inc_php = array(
-  'Exclamation' => 'Kiáltás',
-  'Question' => 'Kérdés',
-  'Very Happy' => 'Nagyon boldog',
-  'Smile' => 'Mosolyog',
-  'Sad' => 'Bús',
-  'Surprised' => 'Meglepett',
-  'Shocked' => 'Sokkolt',
-  'Confused' => 'Zavarodott',
-  'Cool' => 'Cool',
-  'Laughing' => 'Nevet',
-  'Mad' => 'Őrült',
-  'Razz' => 'Gúnyos',
-  'Embarassed' => 'Zavarban van',
-  'Crying or Very sad' => 'Üvőlt',
-  'Evil or Very Mad' => 'Ördögi',
-  'Twisted Evil' => 'Kirekesztő',
-  'Rolling Eyes' => 'Jojózik a szeme',
-  'Wink' => 'Kacsintás',
-  'Idea' => 'Ötlet',
-  'Arrow' => 'Nyíl',
-  'Neutral' => 'Természetes',
-  'Mr. Green' => 'Mr. Green',
-);
-
-// ------------------------------------------------------------------------- //
-// File addpic.php
-// ------------------------------------------------------------------------- //
-
-// void
-
-// ------------------------------------------------------------------------- //
-// File mode.php //cpg1.4
-// ------------------------------------------------------------------------- //
-
-if (defined('MODE_PHP')) $lang_mode_php = array(
-  0 => 'Kilépés rendszergazda módból...',
-  1 => 'Belépés rendszergazda módba...',
-);
-
-// ------------------------------------------------------------------------- //
-// File albmgr.php
-// ------------------------------------------------------------------------- //
-
-if (defined('ALBMGR_PHP')) $lang_albmgr_php = array(
-  'alb_need_name' => 'Kötelező nevet adni az albumnak!', //js-alert
-  'confirm_modifs' => 'Biztos, hogy végrehajtsuk a változtatásokat ?', //js-alert
-  'no_change' => 'Nem történt változtatás!', //js-alert
-  'new_album' => 'Új album',
-  'confirm_delete1' => 'Biztos, hogy törölni akarod?', //js-alert
-  'confirm_delete2' => '\nAz öszses fájl és hozzászólás törlődni fog!', //js-alert
-  'select_first' => 'Először válasz egy albumot', //js-alert
-  'alb_mrg' => 'Alben-kezelő',
-  'my_gallery' => '* Saját képtár *',
-  'no_category' => '* Nincs kategória *',
-  'delete' => 'Törlés',
-  'new' => 'Új',
-  'apply_modifs' => 'Változtatások elfogadása',
-  'select_category' => 'Válassz kategóriát',
-);
-
-// ------------------------------------------------------------------------- //
-// File banning.php
-// ------------------------------------------------------------------------- //
-
-if (defined('BANNING_PHP')) $lang_banning_php = array(
-  'title' => 'Kitiltott felhasználók', //cpg1.4
-  'user_name' => 'Felhasználó neve', //cpg1.4
-  'ip_address' => 'IP-cím', //cpg1.4
-  'expiry' => 'Lejár (üres, ha állandó)', //cpg1.4
-  'edit_ban' => 'Változások mentése', //cpg1.4
-  'delete_ban' => 'Törlés', //cpg1.4
-  'add_new' => 'Új letiltás hozzáadása', //cpg1.4
-  'add_ban' => 'Hozzáadás', //cpg1.4
-  'error_user' => 'Ismeretlen felhasználó', //cpg1.4
-  'error_specify' => 'Meg kell adni a felhasználónevet vagy IP címet!', //cpg1.4
-  'error_ban_id' => 'Hibás tiltás azonosító!', //cpg1.4
-  'error_admin_ban' => 'Saját magad nem tudod letiltani!', //cpg1.4
-  'error_server_ban' => 'Ki akarod tiltani a saját szerverünket? Tán nem kéne...', //cpg1.4
-  'error_ip_forbidden' => 'Ezt az IP címet nem lehet letiltani, mert ez egy belső cím!<br />Ha engedélyezni akarod a belső IP-k tiltását, változtasd meg a beállítást a <a href="admin.php">Konfiguráció</a> nál (csak akkor műkődik, ha a képtár helyi hálózaton fut).', //cpg1.4
-  'lookup_ip' => 'IP-cím keresése', //cpg1.4
-  'submit' => 'Mehet!', //cpg1.4
-  'select_date' => 'Válassz dátumot', //cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File bridgemgr.php //cpg1.4
-// ------------------------------------------------------------------------- //
-
-if (defined('BRIDGEMGR_PHP')) $lang_bridgemgr_php = array(
-  'title' => 'Kötés varázsló',
-  'warning' => 'Figyelmeztetés: a varázsló használatával személyes adatokat küldesz html űrlapokon keresztül. Csak a saját PC-den futtasd (ne nyilvános gépen, mint pl. Internet kávézó), és bizonyosodj meg arról, hogy a böngésződ kiűritette az ideiglenes tárolóját a használat után, különben mások is hozzáférhetnek az adataidhoz! ',
-  'back' => 'vissza',
-  'next' => 'következő',
-  'start_wizard' => 'A kötés varázsló indítása',
-  'finish' => 'Befejezés',
-  'hide_unused_fields' => 'nem használt mezők elrejtése (ajánlott)',
-  'clear_unused_db_fields' => 'érvénytelen adatok törlése (ajánlott)',
-  'custom_bridge_file' => 'saját kötésfájl neve (ha a kötésfájl neve:  <i>sajátfájl.inc.php</i> akkor <i>sajátfájl</i>-t írj ebbe a mezőbe)',
-  'no_action_needed' => 'Ennél a lépésnél nincs más feladatod, kattints a &quot;következő&quot;-re a folytatáshoz',
-  'reset_to_default' => 'Beállítás alapértelmezetre',
-  'choose_bbs_app' => 'Válassz alkalmazást, amit összekötni kivánsz a Coppermine-nal',
-  'support_url' => 'Támogatási információk',
-  'settings_path' => 'a saját fórum program útvonala',
-  'database_connection' => 'Adatbázis kapcsolat',
-  'database_tables' => 'Adatbázis táblák',
-  'bbs_groups' => 'Fórum csoportok',
-  'license_number' => 'Szériaszám',
-  'license_number_explanation' => 'Add meg a szériaszámot (ha létezik)',
-  'db_database_name' => 'Adatbázis neve',
-  'db_database_name_explanation' => 'Add meg a fórum által használt adatbázis nevét',
-  'db_hostname' => 'Adatbázis szerver',
-  'db_hostname_explanation' => 'Szerver neve, ahol a mySQL adatbázis található. Általában &quot;localhost&quot;',
-  'db_username' => 'Adatbázis felhasználó',
-  'db_username_explanation' => 'mySQL felhasználó, amit a fórum program használ',
-  'db_password' => 'Adatbázis jelszó',
-  'db_password_explanation' => 'A mySQL felhasználó jelszava',
-  'full_forum_url' => 'Fórum-Url',
-  'full_forum_url_explanation' => 'A fórum teljes webcíme ( http:// előtaggal együtt , pl. http://www.sajátoldal.hu/forum)',
-  'relative_path_of_forum_from_webroot' => 'Relatív útvonal a fórumhoz',
-  'relative_path_of_forum_from_webroot_explanation' => 'A fórum relatív elérési útvonala a dokumentum gyökértől (Például: ha a fórum URL-je http://www.sajátoldal.hu/forum/ , akkor írj &quot;/forum/&quot;-ot ebbe a mezőbe)',
-  'relative_path_to_config_file' => 'Relatív elérés a fórum konfigurációs fájljához',
-  'relative_path_to_config_file_explanation' => 'A fórum relatív elérési útvonala a Coppermine könyvtárától  (pl.:. &quot;../forum/&quot; ha a fórum URL-je http://www.sajátoldal.hu/forum/  és a Coppermine URL-je http://www.sajátgép.hu/gallery/)',
-  'cookie_prefix' => 'Süti előtag',
-  'cookie_prefix_explanation' => 'ez lesz a fórum süti neve',
-  'table_prefix' => 'Tábla előtag (prefix)',
-  'table_prefix_explanation' => 'Az előtagnak(prefix) meg kell egyeznie azzal, amit a fórumban használsz.',
-  'user_table' => 'Felhasználói táblák',
-  'user_table_explanation' => '(Az alapértelmezett érték jó, kivéve, ha a fórum nem az alapértelmezett telepítés)',
-  'session_table' => 'Session-tábla',
-  'session_table_explanation' => '(Az alapértelmezett érték jó, kivéve, ha a fórum nem az alapértelmezett telepítés)',
-  'group_table' => 'Csoport-tábla',
-  'group_table_explanation' => '(Az alapértelmezett érték jó, kivéve, ha a fórum nem az alapértelmezett telepítés)',
-  'group_relation_table' => 'Csoport-kapcsolat tábla',
-  'group_relation_table_explanation' => '(Az alapértelmezett érték jó, kivéve, ha a fórum nem az alapértelmezett telepítés)',
-  'group_mapping_table' => 'Csoport átfedés tábla',
-  'group_mapping_table_explanation' => '(Az alapértelmezett érték jó, kivéve, ha a fórum nem az alapértelmezett telepítés)',
-  'use_standard_groups' => 'használd az alapértelmezett fórum felhasználói csoportokat ',
-  'use_standard_groups_explanation' => 'Használd a beépített felhasználói csoportokat (ajánlott). Ez az opcíó érvényteleníti az összes egyedi felhasználói csoport beállítást. Csak akkor tilts le ezt az opciót, ha TÉNYLEG tudod mit csinálsz!',
-  'validating_group' => 'jóváhagyó csoport',
-  'validating_group_explanation' => 'Ez annak csoportnak az ID-ja a fórumban, ahol a engedély kell a felhasználóknak  (Az alapértelmezett érték jó, kivéve, ha a fórum nem az alapértelmezett telepítés)',
-  'guest_group' => 'Vendég csoport',
-  'guest_group_explanation' => 'Ez a vendég csoport ID-ja a fórumban  (Az alapértelmezett érték jó, kivéve, ha a fórum nem az alapértelmezett telepítés)',
-  'member_group' => 'Tagság csoport',
-  'member_group_explanation' => 'Normál felhasználók csoport ID-ja (Az alapértelmezett érték jó, csak akkor módosítsd, ha tudod mit csinálsz)',
-  'admin_group' => 'Admin csoport',
-  'admin_group_explanation' => 'Adminisztrátorok csoport ID-ja (Az alapértelmezett érték jó, csak akkor módosítsd, ha tudod mit csinálsz)',
-  'banned_group' => 'Kitiltottak csoport',
-  'banned_group_explanation' => 'Kitiltottak csoport ID -ja (Az alapértelmezett érték jó, csak akkor módosítsd, ha tudod mit csinálsz)',
-  'global_moderators_group' => 'Globális moderátor csoport',
-  'global_moderators_group_explanation' => 'Moderátorok csoport ID-ja (Az alapértelmezett érték jó, csak akkor módosítsd, ha tudod mit csinálsz)',
-  'special_settings' => 'Fórum specifikus beállítások',
-  'logout_flag' => 'phpBB Verzió (kilépés jelző)',
-  'logout_flag_explanation' => 'A használt fórum verziója (ez a beállítása adja meg a kilépés módját)',
-  'use_post_based_groups' => 'Kötött küldésű csoport?',
-  'logout_flag_yes' => '2.0.5, vagy újabb',
-  'logout_flag_no' => '2.0.4, vagy régebbi',
-  'use_post_based_groups_explanation' => 'Ennél a csoportnál meghatározott a beküldések száma (részletes beállítások), vagy az alap csoport (könnyű adminisztráció, ajánlott). Késöbb is megváltoztathatod.',
-  'use_post_based_groups_yes' => 'igen',
-  'use_post_based_groups_no' => 'nem',
-  'error_title' => 'Háritsd el a hibát, mielött tovább lépnél. Menj vissza az elöző képernyőre!',
-  'error_specify_bbs' => 'Meg kell adnod melyik programmal akarod összekötni a Coppermine-t',
-  'error_no_blank_name' => 'Nem hagyhatod üresen a saját kötésfájl nevét.',
-  'error_no_special_chars' => 'A kötésfájl neve nem tartalmazhat speciális karaktereket kivéve az aláhúzást (_) és a kötőjelet (-)!',
-  'error_bridge_file_not_exist' => 'A fájl %s nem található a szerveren. Ellenőrizd, ha most töltötted fel.',
-  'finalize' => 'Fórum integráció engedélyezés / tiltás',
-  'finalize_explanation' => 'Tehát a megadott beállítások rögzítve lettek az adatbázisban, de a fórum-integráció (kötés) nincs engedélyezve. Az integrációt bármikor ki/be lehet kapcsolni. Jegyezzd meg a rendszergazda nevét és jelszavát, mert szükség lehet rá a késöbbi változtatásokhoz. Ha bármi hiba adódik, akkor menj ide %s, és tiltsd le az integrációt, használd a telepítéskor megadott felhasználó nevet és jelszót.',
-  'your_bridge_settings' => 'Saját kötés beállításaid',
-  'title_enable' => 'Az integráció/kötés engedélyezése  %s -val',
-  'bridge_enable_yes' => 'engedélyez',
-  'bridge_enable_no' => 'letilt',
-  'error_must_not_be_empty' => 'nem lehet üres',
-  'error_either_be' => 'az egyiknek %s vagy %s kell lennie',
-  'error_folder_not_exist' => '%s nem létezik. Add meg a helyes adatokat %s számára',
-  'error_cookie_not_readible' => 'A Coppermine nem tudja olvasni a %s nevű sütit. Add meg a helyes adatokat %s számára , vagy menj a fórum adminisztrációs felületére és ellenőrizd, hogy a süti útvonala olvasható a Coppermin számára.',
-  'error_mandatory_field_empty' => 'A %s mező nem lehet üres - töltsd ki a megfelelő adattal.',
-  'error_no_trailing_slash' => 'A %s mezőben nem kell használni könytárlezárót (ferdevonal).',
-  'error_trailing_slash' => 'A %s mezőben kell használni könytárlezárót (ferdevonal).',
-  'error_db_connect' => 'Nem lehetséges kapcsolódni a mySQL adatbázishoz. A mySQL hibaüzenete:',
-  'error_db_name' => 'A Coppermine nem tudja létrehozni a kapcsolatot, mert nem találja az %s adatbázist. Ellenőrizd, hogy a(z) %s adatbázisnév helyes. A MYSQL hibaüzenet:',
-  'error_prefix_and_table' => '%s és',
-  'error_db_table' => 'A %s tábla nem található. Ellenőrízd, hogy  %s táblanév helyes.',
-  'recovery_title' => 'Kötés-kezelő: vész helyreállítás',
-  'recovery_explanation' => 'Ha adminisztrálni akkarod a Coppermine képtár fórum integrációját, először rendszergazdaként kell bejelentkezni. Ha nem sikerül bejelentkezned, mert nem működik megfelelően a kötés, akkor ezen az oldalon ki tudod kapcsolni az integrációt. A megadott felhasználónévvel és jelszóval nem lépsz be, csak kikapcsolod az integrációt. További infóért nézd meg a dokumentációt.',
-  'username' => 'Felhasználó',
-  'password' => 'Jelszó',
-  'disable_submit' => 'Tovább!',
-  'recovery_success_title' => 'Azonosítás elfogadva',
-  'recovery_success_content' => 'Sikerült kikapcsolni az integrációt. A képtár most önálló szerver módban van.',
-  'recovery_success_advice_login' => 'Jelentkezz be rendszergazdaként, hogy megváltoztasd a kötés beállításokat és(vagy) engedélyezd újra az integrációt',
-  'goto_login' => 'Ugrás a bejelentkezéshez',
-  'goto_bridgemgr' => 'Ugrás a kötés kezelőhöz',
-  'recovery_failure_title' => 'Azonosítás elutasítva',
-  'recovery_failure_content' => 'Rossz azonosító adatok. Az önálló szerver változat rendszergazda adatait kell megadni (általában a telepítéskor megadott adatok).',
-  'try_again' => 'próbáld újra',
-  'recovery_wait_title' => 'a várakozás idő nem telt le',
-  'recovery_wait_content' => 'Biztonsági okokból a script nem enged több probálkozást egymás után, tehát várnod kell egy keveset, míg újra megpróbálhatod az azonosítást.',
-  'wait' => 'Várakozás',
-  'create_redir_file' => 'Átirányítási fájl létrehozása (ajánlott)',
-  'create_redir_file_explanation' => 'Hogy a fórumba bejelentkezett felhasználókat átírányithasd a képtárba, szükség van erre a fájlra a fórum könyvtárban. Ha ezt az opciót kiválasztod akkor a kötés-kezelő létrehozza neked, vagy megadja a bemásolásra kész kódot, ha kézzel akarod létrehozni ',
-  'browse' => 'böngészés',
-);
-
-// ------------------------------------------------------------------------- //
-// File calendar.php //cpg1.4
-// ------------------------------------------------------------------------- //
-
-if (defined('CALENDAR_PHP')) $lang_calendar_php = array(
-  'title' => 'Naptár', //cpg1.4
-  'close' => 'Becsuk', //cpg1.4
-  'clear_date' => 'Dátum törlése', //cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File catmgr.php
-// ------------------------------------------------------------------------- //
-
-if (defined('CATMGR_PHP')) $lang_catmgr_php = array(
-  'miss_param' => 'Paraméter szükséges \'%s\' művelet nincs végrehajtva',
-  'unknown_cat' => 'A választott kategória nem létezik az adatbázisban',
-  'usergal_cat_ro' => 'A felhasználói képtár kategória nem törölhető!',
-  'manage_cat' => 'Kategóriák kezelése',
-  'confirm_delete' => 'Biztos, hogy törölni akarod ezt a kategóriát?', //js-alert
-  'category' => 'Kategória',
-  'operations' => 'Műveletek',
-  'move_into' => 'Átmozgatás',
-  'update_create' => 'Kategória frissítés/létrehozás',
-  'parent_cat' => 'Szülő kategória',
-  'cat_title' => 'Kategória címe',
-  'cat_thumb' => 'Kategória áttekintő',
-  'cat_desc' => 'Kategória leírás',
-  'categories_alpha_sort' => 'Kategóriák névsorba rendezése (vagy saját rendezés)', //cpg1.4
-  'save_cfg' => 'Beállítások elmentése', //cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File admin.php //cpg1.4
-// ------------------------------------------------------------------------- //
-
-if (defined('ADMIN_PHP')) $lang_admin_php = array(
-  'title' => 'Képtár konfiguráció', //cpg1.4
-  'manage_exif' => 'Exif (cserélhető képformátum) képernyő kezelése', //cpg1.4
-  'manage_plugins' => 'Beépülők kezelése', //cpg1.4
-  'manage_keyword' => 'Kulcsszavak kezelése', //cpg1.4
-  'restore_cfg' => 'Gyári beállítások visszaállítása',
-  'save_cfg' => 'Új konfiguráció mentése',
-  'notes' => 'Megjegyzések',
-  'info' => 'Információ',
-  'upd_success' => 'Coppermine konfiguráció frissítve.',
-  'restore_success' => 'Coppermine alapértelmezett konfiguráció visszaállítva.',
-  'name_a' => 'Név szerint növekvő',
-  'name_d' => 'Név szerint csökkenő',
-  'title_a' => 'Cím szerint növekvő',
-  'title_d' => 'Cím szerint csökkenő',
-  'date_a' => 'Dátum szerint növekvő',
-  'date_d' => 'Dátum szerint csökkenő',
-  'pos_a' => 'Pozíció szerint növekvő', //cpg1.4
-  'pos_d' => 'Pozíció szerint csökkenő', //cpg1.4
-  'th_any' => 'Legnagyobb nézet',
-  'th_ht' => 'Magasság',
-  'th_wd' => 'Szélesség',
-  'label' => 'Címke',
-  'item' => 'Elem',
-  'debug_everyone' => 'Mindenki',
-  'debug_admin' => 'Csak rendszergazda',
-  'no_logs'=> 'Ki', //cpg1.4
-  'log_normal'=> 'Normál', //cpg1.4
-  'log_all' => 'Minden', //cpg1.4
-  'view_logs' => 'Log megtekintése', //cpg1.4
-  'click_expand' => 'Kattints a szekció nevére a kibontáshoz', //cpg1.4
-  'expand_all' => 'Összes kibontása', //cpg1.4
-  'notice1' => '(*) Ezek a beállítások nem változnak, ha már vannak fájlok az adatbázisban.', //cpg1.4 - (relocated)
-  'notice2' => '(**) A változtatások csak az ezután feltöltött fájlokra érvényesek, a régebbi fájlokra nem. Ha a már létező fájloknál is érvényre akarod juttani, menj a &quot;<a href="util.php">Rendszergazda eszközök</a> > Képek átméretezése&quot; menübe.', //cpg1.4 - (relocated)
-  'notice3' => '(***) Minden log fájl angol nyelvű.', //cpg1.4 - (relocated)
-  'bbs_disabled' => 'Funkció letiltva, ha az integráció használatban van', //cpg1.4
-  'auto_resize_everyone' => 'Mindenki', //cpg1.4
-  'auto_resize_user' => 'Csak felhasználók', //cpg1.4
-  'ascending' => 'Növekvő', //cpg1.4
-  'descending' => 'Csökkenő', //cpg1.4
-);
-
-if (defined('ADMIN_PHP')) $lang_admin_data = array(
-  'Általános beállítások',
-  array('Képtár neve', 'gallery_name', 0, 'f=index.htm&amp;as=admin_general_name&amp;ae=admin_general_name_end'), //cpg1.4
-  array('Képtár leírása', 'gallery_description', 0, 'f=index.htm&amp;as=admin_general_description&amp;ae=admin_general_description_end'), //cpg1.4
-  array('Képtár rendszergazda email címe', 'gallery_admin_email', 0, 'f=index.htm&amp;as=admin_general_email&amp;ae=admin_general_email_end'), //cpg1.4
-  array('Coppermine képtár URL címe (elég a könyvtár címe, ne használj \'index.php\' végű URL-t)', 'ecards_more_pic_target', 0, 'f=index.htm&amp;as=admin_general_coppermine-url&amp;ae=admin_general_coppermine-url_end'), //cpg1.4
-  array('Honlapod címe', 'home_target', 0, 'f=index.htm&amp;as=admin_general_home-url&amp;ae=admin_general_home-url_end'), //cpg1.4
-  array('Kedvencek zippelt letöltésének engedélyezése', 'enable_zipdownload', 1, 'f=index.htm&amp;as=admin_general_zip-download&amp;ae=admin_general_zip-download_end'), //cpg1.4
-  array('Az időzóna eltérése a Greenwich-i középidőtől (jelenlegi idő: ' . localised_date(-1, $comment_date_fmt) . ')','time_offset',0, 'f=index.htm&amp;as=admin_general_time-offset&amp;ae=admin_general_time-offset_end&amp;top=1'), //cpg1.4
-  array('Titkosított jelszavak engedélyezése (nem lehet visszavonni)','enable_encrypted_passwords',1, 'f=index.htm&amp;as=admin_general_encrypt_password_start&amp;ae=admin_general_encrypt_password_end&amp;top=1'), // cpg 1.4
-  array('Súgó ikonos engedélyezése (a súgó csak angolul érhető el.)','enable_help',9, 'f=index.htm&amp;as=admin_general_help&amp;ae=admin_general_help_end'), //cpg1.4
-  array('Kulcsszó kiválasztás keresés engedélyezése','clickable_keyword_search',14, 'f=index.htm&amp;as=admin_general_keywords_start&amp;ae=admin_general_keywords_end'), //cpg1.4
-  array('Beépülők engedélyezése', 'enable_plugins', 12, 'f=index.htm&amp;as=admin_general_enable-plugins&amp;ae=admin_general_enable-plugins_end'),  //cpg1.4
-  array('Belső IP címek tiltásának engedélyezése ', 'ban_private_ip', 1,  'f=index.htm&amp;as=admin_general_private-ip&amp;ae=admin_general_private-ip_end'), //cpg1.4
-  array('Böngészhető kötegelt hozzáadás felület', 'browse_batch_add', 1, 'f=index.htm&amp;as=admin_general_browsable_batch_add&amp;ae=admin_general_browsable_batch_add_end'), //cpg1.4
-
-  'Nyelv &amp; karakterkészlet beállítás',
-  array('Nyelv', 'lang', 5, 'f=index.htm&amp;as=admin_language_language&amp;ae=admin_language_language_end'), //cpg1.4
-  array('Angol felirat használata, ha nincs lefordítva?', 'language_fallback', 1, 'f=index.htm&amp;as=admin_language_fallback&amp;ae=admin_language_fallback_end'), //cpg1.4
-  array('Karakter kódolás', 'charset', 4, 'f=index.htm&amp;as=admin_language_charset&amp;ae=admin_language_charset_end'), //cpg1.4
-  array('Mutassa a nyelvek listáját', 'language_list', 1, 'f=index.htm&amp;as=admin_language_list&amp;ae=admin_language_list_end'), //cpg1.4
-  array('Mutassa a nyelvek zászlóját', 'language_flags', 8, 'f=index.htm&amp;as=admin_language_flags&amp;ae=admin_language_flags_end&amp;top=1'), //cpg1.4
-  array('Mutassa az alapértelmezett nyelvet a nyelvi menűben', 'language_reset', 1, 'f=index.htm&amp;as=admin_language_reset&amp;ae=admin_language_reset_end&amp;top=1'), //cpg1.4
-  //array('Mutassa az elöző/következő -t a fülecskés oldalakon', 'previous_next_tab', 1), //cpg1.4
-
-  'Téma beállítások',
-  array('Témák', 'theme', 6, 'f=index.htm&amp;as=admin_theme_theme&amp;ae=admin_theme_theme_end'), //cpg1.4
-  array('Mutassa a téma választékot', 'theme_list', 1, 'f=index.htm&amp;as=admin_theme_theme_list&amp;ae=admin_theme_theme_list_end'), //cpg1.4
-  array('Mutassa az alapértelmezett témát a téma választó menüben', 'theme_reset', 1, 'f=index.htm&amp;as=admin_theme_theme_reset&amp;ae=admin_theme_theme_reset_end'), //cpg1.4
-  array('Mutassa a GYIK-ot', 'display_faq', 1, 'f=index.htm&amp;as=admin_theme_faq&amp;ae=admin_theme_faq_end'), //cpg1.4
-  array('Saját menü neve', 'custom_lnk_name', 0,'f=index.htm&amp;as=admin_theme_custom_lnk_name&amp;ae=admin_theme_custom_lnk_name_end'), //cpg1.4
-  array('Saját menü URL címe', 'custom_lnk_url', 0,'f=index.htm&amp;as=admin_language_custom_lnk_url&amp;ae=admin_language_custom_lnk_url_end'), //cpg1.4
-  array('BBCode segítség megjelenítése', 'show_bbcode_help', 1, 'f=index.htm&amp;as=admin_theme_bbcode&amp;ae=admin_theme_bbcode_end&amp;top=1'), //cpg1.4
-  array('Mutassa az XHTML vagy CSS validitásra utaló lábrészt a témában?','vanity_block',1, 'f=index.htm&amp;as=vanity_block&amp;ae=vanity_block_end'), //cpg1.4
-  array('Saját fejléc helye', 'custom_header_path', 0, 'f=index.htm&amp;as=admin_theme_include_path_start&amp;ae=admin_theme_include_path_end'), //cpg1.4
-  array('Saját lábléc helye', 'custom_footer_path', 0, 'f=index.htm&amp;as=admin_theme_include_path_start&amp;ae=admin_theme_include_path_end'), //cpg1.4
-
-  'Képalbum lista nézet',
-  array('A fő tábla szélessége (képpontban vagy % -ban)', 'main_table_width', 0, 'f=index.htm&amp;as=admin_album_table-width&amp;ae=admin_album_table-width_end'), //cpg1.4
-  array('Hány szintig mutassa a kategóriákat', 'subcat_level', 0, 'f=index.htm&amp;as=admin_album_category-levels&amp;ae=admin_album_category-levels_end'), //cpg1.4
-  array('Oldalanként hány képalbum jelenjen meg', 'albums_per_page', 0, 'f=index.htm&amp;as=admin_album_number&amp;ae=admin_album_number_end'), //cpg1.4
-  array('A képalbum lista hány oszlopból álljon', 'album_list_cols', 0, 'f=index.htm&amp;as=admin_album_columns&amp;ae=admin_album_columns_end'), //cpg1.4
-  array('Indexképek mérete képpontban', 'alb_list_thumb_size', 0, 'f=index.htm&amp;as=admin_album_thumbnail-size&amp;ae=admin_album_thumbnail-size_end'), //cpg1.4
-  array('A főoldal tartalma', 'main_page_layout', 0, 'f=index.htm&amp;as=admin_album_list_content&amp;ae=admin_album_list_content_end'), //cpg1.4
-  array('Mutassa az első szintű képalbum indexképet a kategóriában','first_level',1, 'f=index.htm&amp;as=admin_album_first-level_thumbs&amp;ae=admin_album_first-level_thumbs_end'), //cpg1.4
-  array('Kategóriák névsorba rendezése (esteleg saját rendezés használata)','categories_alpha_sort',1, 'f=index.htm&amp;as=admin_album_list_alphasort_start&amp;ae=admin_album_list_alphasort_end'), //cpg1.4
-  array('Mutassa a kapcsolt fájlok számát','link_pic_count',1, 'f=index.htm&amp;as=admin_album_linked_files_start&amp;ae=admin_album_linked_files_end'), //cpg1.4
-
-  'Indexkép nézet',
-  array('Oszlopok száma az indexkép oldalon', 'thumbcols', 0, 'f=index.htm&amp;as=admin_thumbnail_columns&amp;ae=admin_thumbnail_columns_end'), //cpg1.4
-  array('Sorok száma az indexkép oldalon', 'thumbrows', 0, 'f=index.htm&amp;as=admin_thumbnail_rows&amp;ae=admin_thumbnail_rows_end'), //cpg1.4
-  array('A fülek maximális száma', 'max_tabs', 10, 'f=index.htm&amp;as=admin_thumbnail_tabs&amp;ae=admin_thumbnail_tabs_end'), //cpg1.4
-  array('A képek feliratának megjelenítése (a címén kivül) az indexkép alatt', 'caption_in_thumbview', 1, 'f=index.htm&amp;as=admin_thumbnail_display_caption&amp;ae=admin_thumbnail_display_caption_end'), //cpg1.4
-  array('A megtekintések számának megjelenítése az indexkép alatt', 'views_in_thumbview', 1, 'f=index.htm&amp;as=admin_thumbnail_display_views&amp;ae=admin_thumbnail_display_views_end'), //cpg1.4
-  array('A hozászólások számának megjelenítése az indexkép alatt', 'display_comment_count', 1, 'f=index.htm&amp;as=admin_thumbnail_display_comments&amp;ae=admin_thumbnail_display_comments_end'), //cpg1.4
-  array('A feltöltő nevének megjelenítése az indexkép alatt', 'display_uploader', 1, 'f=index.htm&amp;as=admin_thumbnail_display_uploader&amp;ae=admin_thumbnail_display_uploader_end'), //cpg1.4
-  //array('A deltöltő Rendszergazda nevének megjelenítése az indexkép alatt ', 'display_admin_uploader', 1, 'f=index.htm&amp;as=admin_thumbnail_display_admin_uploader&amp;ae=admin_thumbnail_display_admin_uploader_end'), //cpg1.4
-  array('A fájl név megjelenítése az indexkép alatt', 'display_filename', 1, 'f=index.htm&amp;as=admin_thumbnail_display_filename&amp;ae=admin_thumbnail_display_filename_end'), //cpg1.4
-  //array('A képalbum elnevezésének megjelenítése', 'alb_desc_thumb', 1, 'f=index.htm&amp;as=admin_thumbnail_display_description&amp;ae=admin_thumbnail_display_description_end'), //cpg1.4
-  array('A képek alapértelmezett sorrendje', 'default_sort_order', 3, 'f=index.htm&amp;as=admin_thumbnail_default_sortorder&amp;ae=admin_thumbnail_default_sortorder_end'), //cpg1.4
-  array('A szükséges szavazatok száma a megjelenéshez  \'A legtöbb szavazatot kapottak\'-listájában', 'min_votes_for_rating', 0, 'f=index.htm&amp;as=admin_thumbnail_minimum_votes&amp;ae=admin_thumbnail_minimum_votes_end'), //cpg1.4
-
-  'Kép nézet', //cpg1.4
-  array('A tábla szélessége (képpontban vagy %-ban)', 'picture_table_width', 0, 'f=index.htm&amp;as=admin_image_comment_table-width&amp;ae=admin_image_comment_table-width_end'), //cpg1.4
-  array('A kép információ megjelenése alapértelmezetten', 'display_pic_info', 1, 'f=index.htm&amp;as=admin_image_comment_info_visible&amp;ae=admin_image_comment_info_visible_end'), //cpg1.4
-  array('A kép leírás maximális hossza', 'max_img_desc_length', 0, 'f=index.htm&amp;as=admin_image_comment_descr_length&amp;ae=admin_image_comment_descr_length_end'), //cpg1.4
-  array('A szavak maximális hossza', 'max_com_wlength', 0, 'f=index.htm&amp;as=admin_image_comment_chars_per_word&amp;ae=admin_image_comment_chars_per_word_end'), //cpg1.4
-  array('Filmszalag megjelenítése', 'display_film_strip', 1, 'f=index.htm&amp;as=admin_image_comment_filmstrip_toggle&amp;ae=admin_image_comment_filmstrip_toggle_end'), //cpg1.4
-  array('Fájlnév megjelenítése a filmszalag alatt', 'display_film_strip_filename', 1, 'f=index.htm&amp;as=admin_image_comment_display_film_strip_filename&amp;ae=admin_image_comment_display_film_strip_filename_end'), //cpg1.4
-  array('Elemek száma a filmszalagban', 'max_film_strip_items', 0, 'f=index.htm&amp;as=admin_image_comment_filmstrip_number&amp;ae=admin_image_comment_filmstrip_number_end'), //cpg1.4
-  array('Diavetítés időzítése ezredmásodpercben (1 mp = 1000 ezredmásodperc)', 'slideshow_interval', 0, 'f=index.htm&amp;as=admin_image_comment_slideshow_interval&amp;ae=admin_image_comment_slideshow_interval_end'), //cpg1.4
-
-  'Hozzászólás beállítások', //cpg1.4
-  array('Csúnya szavak kiszűrése', 'filter_bad_words', 1, 'f=index.htm&amp;as=admin_image_comment_bad_words&amp;ae=admin_image_comment_bad_words_end'), //cpg1.4
-  array('Szmájlik engedélyezése a hozzászólásokban', 'enable_smilies', 1, 'f=index.htm&amp;as=admin_image_comment_smilies&amp;ae=admin_image_comment_smilies_end'), //cpg1.4
-  array('Több folyamatos hozzászólás enegedélyezése egy képhez ugyanazon felhasználótól (elárasztás -flood- védelem kikapcsolása)', 'disable_comment_flood_protect', 1, 'f=index.htm&amp;as=admin_image_comment_flood&amp;ae=admin_image_comment_flood_end'), //cpg1.4
-  array('A hozzászólás sorainak maximumma', 'max_com_lines', 0, 'f=index.htm&amp;as=admin_image_comment_lines&amp;ae=admin_image_comment_lines_end'), //cpg1.4
-  array('A hozzászólás maximális hossza', 'max_com_size', 0, 'f=index.htm&amp;as=admin_image_comment_length&amp;ae=admin_image_comment_length_end'), //cpg1.4
-  array('A rendszergazda értesítése a hozzászólásról', 'email_comment_notification', 1, 'f=index.htm&amp;as=admin_image_comment_admin_notify&amp;ae=admin_image_comment_admin_notify_end'), //cpg1.4
-  array('Hozzászólások sorrendje', 'comments_sort_descending', 17, 'f=index.htm&amp;as=admin_comment_sort_start&amp;ae=admin_comment_sort_end'), //cpg1.4
-  array('Előtag a névtelen hozzászólások számára ', 'comments_anon_pfx', 0, 'f=index.htm&amp;as=comments_anon_pfx&amp;ae=comments_anon_pfx_end'), //cpg1.4
-
-  'Kép és indexkép beállítások',
-  array('A jpeg képek minősége', 'jpeg_qual', 0, 'f=index.htm&amp;as=admin_picture_thumbnail_jpeg_quality&amp;ae=admin_picture_thumbnail_jpeg_quality_end'), //cpg1.4
-  array('Az indexkép maximális mérete <a href="#notice2" class="clickable_option">**</a>', 'thumb_width', 0, 'f=index.htm&amp;as=admin_picture_thumbnail_max-dimension&amp;ae=admin_picture_thumbnail_max-dimension_end'), //cpg1.4
-  array('Méretezés (szélesség vagy magasság vagy legnagyobb nézet)<a href="#notice1" class="clickable_option">**</a>', 'thumb_use', 7, 'f=index.htm&amp;as=admin_picture_thumbnail_use-dimension&amp;ae=admin_picture_thumbnail_use-dimension_end'), //cpg1.4
-  array('Közbenső kép készítése','make_intermediate',1, 'f=index.htm&amp;as=admin_picture_thumbnail_intermediate_toggle&amp;ae=admin_picture_thumbnail_intermediate_toggle_end'), //cpg1.4
-  array('A közbenső kép vagy videó legnagyobb szélessége vagy magassága<a href="#notice2" class="clickable_option">**</a>', 'picture_width', 0, 'f=index.htm&amp;as=admin_picture_thumbnail_intermediate_dimension&amp;ae=admin_picture_thumbnail_intermediate_dimension_end'), //cpg1.4
-  array('A feltölhető fájl maximális mérete (kB)', 'max_upl_size', 0, 'f=index.htm&amp;as=admin_picture_thumbnail_max_upload_size&amp;ae=admin_picture_thumbnail_max_upload_size_end'), //cpg1.4
-  array('A feltölthető kép vagy videó legnagyobb szélessége vagy magassága (képpontban)', 'max_upl_width_height', 0, 'f=index.htm&amp;as=admin_picture_thumbnail_max_upload_dimension&amp;ae=admin_picture_thumbnail_max_upload_dimension_end'), //cpg1.4
-  array('Automatikus átméretezés, ha nagyobb mint a megengedett méret', 'auto_resize', 16, 'f=index.htm&amp;as=admin_picture_thumbnail_auto-resize&amp;ae=admin_picture_thumbnail_auto-resize_end'), //cpg1.4
-
-  'Kép és indexkép haladó beállítások',
-  array('Lehetséges magán képalbum (megjegyzés: ha átváltasz \'igen\' -ből \'nem\' -be az <i>összes</i> magán képalbum nyilvános lesz)', 'allow_private_albums', 1, 'f=index.htm&amp;as=admin_picture_thumb_advanced_private_toggle&amp;ae=admin_picture_thumb_advanced_private_toggle_end'), //cpg1.4
-  array('Magán album ikon megjelenítése látogatóknak?','show_private',1, 'f=index.htm&amp;as=admin_picture_thumb_advanced_private_icon_show&amp;ae=admin_picture_thumb_advanced_private_icon_show_end'), //cpg1.4
-  array('Nem használható karakterek a fájlnévben', 'forbiden_fname_char',0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_filename_forbidden_chars&amp;ae=admin_picture_thumb_advanced_filename_forbidden_chars_end'), //cpg1.4
-  //array('Elfogadott fájl kiterjesztések', 'allowed_file_extensions',0, 'f=index.htm&amp;as=&amp;ae=_end'), //cpg1.4
-  array('Megengedett kép formátumok', 'allowed_img_types',0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_pic_extensions&amp;ae=admin_picture_thumb_advanced_pic_extensions_end'), //cpg1.4
-  array('Megengedett videó formátumok', 'allowed_mov_types',0, 'f=index.htm&amp;as=admin_thumbs_advanced_movie&amp;ae=admin_thumbs_advanced_movie_end'), //cpg1.4
-  array('Automatikus film lejátszás', 'media_autostart',1, 'f=index.htm&amp;as=admin_movie_autoplay&amp;ae=admin_movie_autoplay_end'), //cpg1.4
-  array('Megengedett audió formátumok', 'allowed_snd_types',0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_audio_extensions&amp;ae=admin_picture_thumb_advanced_audio_extensions_end'), //cpg1.4
-  array('Megengedett dokumentum formátumok', 'allowed_doc_types',0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_doc_extensions&amp;ae=admin_picture_thumb_advanced_doc_extensions_end'), //cpg1.4
-  array('Képátméretezési eljárások','thumb_method',2, 'f=index.htm&amp;as=admin_picture_thumb_advanced_resize_method&amp;ae=admin_picture_thumb_advanced_resize_method_end'), //cpg1.4
-  array('Az ImageMagick program \'convert\' eszköz elérési útvonala (pl.: /usr/bin/X11/)', 'impath', 0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_im_path&amp;ae=admin_picture_thumb_advanced_im_path_end'), //cpg1.4
-  //array('Megengedett kép formátumok (csak az ImageMagick számára)', 'allowed_img_types',0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_allowed_imagetypes&amp;ae=admin_picture_thumb_advanced_allowed_imagetypes_end'), //cpg1.4
-  array('Parancssori opciók az ImageMagick számára', 'im_options', 0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_im_commandline&amp;ae=admin_picture_thumb_advanced_im_commandline_end'), //cpg1.4
-  array('EXIF adat olvasásása jpeg fájlban', 'read_exif_data', 13, 'f=index.htm&amp;as=admin_picture_thumb_advanced_exif&amp;ae=admin_picture_thumb_advanced_exif_end'), //cpg1.4
-  array('IPTC adat olvasásása jpeg fájlban', 'read_iptc_data', 1, 'f=index.htm&amp;as=admin_picture_thumb_advanced_iptc&amp;ae=admin_picture_thumb_advanced_iptc_end'), //cpg1.4
-  array('Album könyvtár <a href="#notice1" class="clickable_option">*</a>', 'fullpath', 0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_albums_dir&amp;ae=admin_picture_thumb_advanced_albums_dir_end'), //cpg1.4
-  array('A felhasználói fájlok könyvtára <a href="#notice1" class="clickable_option">*</a>', 'userpics', 0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_userpics_dir&amp;ae=admin_picture_thumb_advanced_userpics_dir_end'), //cpg1.4
-  array('Közbenső képek előtagja <a href="#notice1" class="clickable_option">*</a>', 'normal_pfx', 0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_intermediate_prefix&amp;ae=admin_picture_thumb_advanced_intermediate_prefix_end'), //cpg1.4
-  array('Indexképek előtagja <a href="#notice1" class="clickable_option">*</a>', 'thumb_pfx', 0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_thumbs_prefix&amp;ae=admin_picture_thumb_advanced_thumbs_prefix_end'), //cpg1.4
-  array('Alapértelmezett mód a könyvtárak számára', 'default_dir_mode', 0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_chmod_folder&amp;ae=admin_picture_thumb_advanced_chmod_folder_end'), //cpg1.4
-  array('Alapértelmezett mód a fájlok számára', 'default_file_mode', 0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_chmod_files&amp;ae=admin_picture_thumb_advanced_chmod_files_end'), //cpg1.4
-
-  'Felhasználó beállítások',
-  array('Új felhasználó regisztrációjának engedélyezése', 'allow_user_registration', 1, 'f=index.htm&amp;as=admin_allow_registration&amp;ae=admin_allow_registration_end'), //cpg1.4
-  array('Vendég hozzáférés engedélyezése', 'allow_unlogged_access', 1, 'f=index.htm&amp;as=admin_allow_unlogged_access&amp;ae=admin_allow_unlogged_access_end'), //cpg1.4
-  array('Regisztráció igazolása email-ben', 'reg_requires_valid_email', 1, 'f=index.htm&amp;as=admin_registration_verify&amp;ae=admin_registration_verify_end'), //cpg1.4
-  array('Rendszergazda értesítése email-ben a regisztrációról', 'reg_notify_admin_email', 1, 'f=index.htm&amp;as=admin_registration_notify&amp;ae=admin_registration_notify_end'), //cpg1.4
-  array('A regisztráció rendszergazdai jóváhagyása', 'admin_activation', 1, 'f=index.htm&amp;as=admin_activation&amp;ae=admin_activation_end'),  //cpg1.4
-  array('2 felhasználó azonos email címének engedélyezése', 'allow_duplicate_emails_addr', 1, 'f=index.htm&amp;as=admin_allow_duplicate_emails_addr&amp;ae=admin_allow_duplicate_emails_addr_end'), //cpg1.4
-  array('Rendszergazda értesítése a jóváhagyásra váró feltöltésekről', 'upl_notify_admin_email', 1, 'f=index.htm&amp;as=admin_approval_notify&amp;ae=admin_approval_notify_end'), //cpg1.4
-  array('Taglista megtekintése bejelentkezett felhasználóknak', 'allow_memberlist', 1, 'f=index.htm&amp;as=admin_user_memberlist&amp;ae=admin_user_memberlist_end'), //cpg1.4
-  array('A felhasználó megváltoztathatja az email címét', 'allow_email_change', 1, 'f=index.htm&amp;as=admin_user_allow_email_change&amp;ae=admin_user_allow_email_change_end'), //cpg1.4
-  array('A felhasználó kiterjesztett jogainak engélyezése a publikus képtáraiban lévő képekre', 'users_can_edit_pics', 1, 'f=index.htm&amp;as=admin_user_editpics_public_start&amp;ae=admin_user_editpics_public_end'), //cpg1.4
-  array('Hibás bejelentkezések száma, ami után ideiglenes tiltásba kerül (nyers erő támadás elleni védelem)', 'login_threshold', 0, 'f=index.htm&amp;as=admin_user_login_start&amp;ae=admin_user_login_end'), //cpg1.4
-  array('Ideiglenes tiltás időtartama', 'login_expiry', 0, 'f=index.htm&amp;as=admin_user_login_start&amp;ae=admin_user_login_end'), //cpg1.4
-  array('&quot;Jelentés a rendszergazdának&quot; engedélyezése', 'report_post', 1, 'f=index.htm&amp;as=admin_user_enable_report&amp;ae=admin_user_enable_report_end'),  //cpg1.4
-
-// custom profile fields,  //cpg1.4
-  'Saját mezők a felhasználói profilokban (hagyd üresen, ha nem használod).
-  Használd a 6. mezőt a hosszú bejegyzésekhez, például életrajzhoz.', //cpg1.4
-  array('Saját mező 1', 'user_profile1_name', 0, 'f=index.htm&amp;as=admin_custom&amp;ae=admin_custom_end'), //cpg1.4
-  array('Saját mező 2', 'user_profile2_name', 0), //cpg1.4
-  array('Saját mező 3', 'user_profile3_name', 0), //cpg1.4
-  array('Saját mező 4', 'user_profile4_name', 0), //cpg1.4
-  array('Saját mező 5', 'user_profile5_name', 0), //cpg1.4
-  array('Saját mező 6', 'user_profile6_name', 0), //cpg1.4
-
-  'Saját mezők a képek leírására (hagyd üresen, ha nem használod).',
-  array('Saját mező 1', 'user_field1_name', 0, 'f=index.htm&amp;as=admin_custom_image&amp;ae=admin_custom_image_end'), //cpg1.4
-  array('Saját mező 2', 'user_field2_name', 0),
-  array('Saját mező 3', 'user_field3_name', 0),
-  array('Saját mező 4', 'user_field4_name', 0),
-
-  'Süti beállítások',
-  array('Süti neve', 'cookie_name', 0, 'f=index.htm&amp;as=admin_cookie_name&amp;ae=admin_cookie_name_end'), //cpg1.4
-  array('Süti útvonala', 'cookie_path', 0, 'f=index.htm&amp;as=admin_cookie_path&amp;ae=admin_cookie_path_end'), //cpg1.4
-
-  'Email beállítások (rendszerint nem kell változtatni rajta; hagyj minden mezőt üresen, ha nem vagy biztos benne)', //cpg1.4
-  array('Kimenő levélkiszolgáló (smtp) , ha üres akkor a sendmail az alapértelmezett', 'smtp_host', 0, 'f=index.htm&amp;as=admin_email&amp;ae=admin_email_end'), //cpg1.4
-  array('Kimenő levélkiszolgáló felhasználó', 'smtp_username', 0), //cpg1.4
-  array('Kimenő levélkiszolgáló jelszó', 'smtp_password', 0), //cpg1.4
-
-  'Naplózás és statisztika', //cpg1.4
-  array('Naplózási mód <a href="#notice3" class="clickable_option">***</a>', 'log_mode', 11, 'f=index.htm&amp;as=admin_logging_log_mode&amp;ae=admin_logging_log_mode_end'), //cpg1.4
-  array('Képeslapok naplózása ', 'log_ecards', 1, 'f=index.htm&amp;as=admin_general_log_ecards&amp;ae=admin_general_log_ecards_end'), //cpg1.4
-  array('Részletes szavazási statisztika','vote_details',1, 'f=index.htm&amp;as=admin_logging_votedetails&amp;ae=admin_logging_votedetails_end'), //cpg1.4
-  array('Részletes találati statisztika','hit_details',1, 'f=index.htm&amp;as=admin_logging_hitdetails&amp;ae=admin_logging_hitdetails_end'), //cpg1.4
-
-  'Karbantartási beállítások', //cpg1.4
-  array('Nyomkövetési mód bekapcsolása', 'debug_mode', 9, 'f=index.htm&amp;as=debug_mode&amp;ae=debug_mode_end'), //cpg1.4
-  array('Nyomkövetési módra való figyelmesztetés', 'debug_notice', 1, 'f=index.htm&amp;as=admin_misc_debug_notices&amp;ae=admin_misc_debug_notices_end'), //cpg1.4
-  array('Képtár kikapcsolva', 'offline', 1, 'f=index.htm&amp;as=admin_general_offline&amp;ae=admin_general_offline_end'), //cpg1.4
-);
-
-
-// ------------------------------------------------------------------------- //
-// File db_ecard.php
-// ------------------------------------------------------------------------- //
-
-if (defined('DB_ECARD_PHP')) $lang_db_ecard_php = array(
-  'title' => 'Elküldött képeslapok',
-  'ecard_sender' => 'Feladó',
-  'ecard_recipient' => 'Címzett',
-  'ecard_date' => 'Dátum',
-  'ecard_display' => 'Képeslap megjelenítése',
-  'ecard_name' => 'Név',
-  'ecard_email' => 'E-mail cím',
-  'ecard_ip' => 'IP cím',
-  'ecard_ascending' => 'növekvő',
-  'ecard_descending' => 'csökkenő',
-  'ecard_sorted' => 'Rendezett',
-  'ecard_by_date' => 'Dátum szerint',
-  'ecard_by_sender_name' => 'Feladó szerint',
-  'ecard_by_sender_email' => 'Feladó email címe szerint',
-  'ecard_by_sender_ip' => 'A feladó IP címe szerint',
-  'ecard_by_recipient_name' => 'Címzett szerint',
-  'ecard_by_recipient_email' => 'Címzett email címe szerint',
-  'ecard_number' => 'Rekordok megjelenítése  %s -tól %s -ig %s -ból',
-  'ecard_goto_page' => 'Ugráss az oldalra',
-  'ecard_records_per_page' => 'Rekordok oldalanként',
-  'check_all' => 'Összes bejelölése',
-  'uncheck_all' => 'Összes bejelölés törlése',
-  'ecards_delete_selected' => 'Kiválasztott képeslapok törlése',
-  'ecards_delete_confirm' => 'Biztos törölni akarod ezeket a rekordokat? Jelöld be a négyzetet!',
-  'ecards_delete_sure' => 'Biztos',
-);
-
-
-// ------------------------------------------------------------------------- //
-// File db_input.php
-// ------------------------------------------------------------------------- //
-
-if (defined('DB_INPUT_PHP')) $lang_db_input_php = array(
-  'empty_name_or_com' => 'Szükséges megadnod a neved és a hozzászólásod',
-  'com_added' => 'Hozzászólásodat feljegyeztük',
-  'alb_need_title' => 'A képalbumnak címet kell adni!',
-  'no_udp_needed' => 'Nincs szükség frissítésre.',
-  'alb_updated' => 'A képalbumot frissítettük',
-  'unknown_album' => 'A kiválasztott képalbum nem létezik, vagy nincs jogod képet feltölteni',
-  'no_pic_uploaded' => 'Nem lett fájl feltöltve!<br /><br />Ha volt feltöltésre kiválasztott kép, akkor ellenőrizd, hogy engedélyezett a feltöltés...',
-  'err_mkdir' => 'Hiba a %s könyvtár létrehozásakor!',
-  'dest_dir_ro' => 'A cél könyvtár %s nem írható!',
-  'err_move' => 'Lehetetlen %st átmozgatni a %s könyvtárba!',
-  'err_fsize_too_large' => 'Túl nagy fájlméret (A megendett legnagyobb méret %s x %s) !', //obsolete since cpg1.3 - consider removal in cpg1.4 once upload.php has been overhauled
-  'err_imgsize_too_large' => 'Túl nagy fájlméret (A megendett legnagyobb méret %s kB) !', //obsolete since cpg1.3 - consider removal in cpg1.4 once upload.php has been overhauled
-  'err_invalid_img' => 'A feltöltött fájl nem megfelelő formátumú!',
-  'allowed_img_types' => 'Csak %s db fájlt tölthetsz fel.',
-  'err_insert_pic' => 'A \'%s\' képet nem lehet elhelyezni a képalbumba ',
-  'upload_success' => 'Sikeres feltöltés.<br /><br />Látható lesz, amint a rendszergazda jóváhagyja.',
-  'notify_admin_email_subject' => '%s - Feltöltési értesítő',
-  'notify_admin_email_body' => '%s által feltöltött kép jóváhagyásra vár. Nézd meg %s',
-  'info' => 'Információ',
-  'com_added' => 'Hozzászólás bejegyezve',
-  'alb_updated' => 'Képalbum frissítve',
-  'err_comment_empty' => 'Üres hozzászólás!',
-  'err_invalid_fext' => 'Csak a következő kiterjesztésű fájlok elfogadottak: <br /><br />%s.',
-  'no_flood' => 'Sajnálom, de te voltál az útolsó hozzászóló ehhez a képhez.<br /><br />Szerkezd újra a hozzászólásodat, ha módosítani akarsz rajta',
-  'redirect_msg' => 'Át lettél irányítva.<br /><br /><br />Kattints a \'folytatás\'-ra, ha az oldal nem frissül automatikusan',
-  'upl_success' => 'A képet sikeresen hozzáadtuk',
-  'email_comment_subject' => 'Hozzászólás érkezet a Coppermine Képtárba',
-  'email_comment_body' => 'Valaki hozzászólást küldött a képtáradba. A megtekintéshez kattints ide: ',
-  'album_not_selected' => 'Nincs kiválasztva képalbum', //cpg1.4
-  'com_author_error' => 'Ezt a nevet egy regisztrált tag használja, jelentkezz be vagy használj másik nevet.', //cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File delete.php
-// ------------------------------------------------------------------------- //
-
-if (defined('DELETE_PHP')) $lang_delete_php = array(
-  'caption' => 'Felirat',
-  'fs_pic' => 'Teljes méretű kép ',
-  'del_success' => 'Sikeresen törölve',
-  'ns_pic' => 'Normál méretű kép',
-  'err_del' => 'Nem lehet törölni',
-  'thumb_pic' => 'Indexkép',
-  'comment' => 'Hozzászólás',
-  'im_in_alb' => 'Kép az albumban',
-  'alb_del_success' => '&laquo;%s&raquo; album törölve', //cpg1.4
-  'alb_mgr' => 'Album kezelő',
-  'err_invalid_data' => 'Hibás adat \'%s\'-ban',
-  'create_alb' => 'A \'%s\'képalbum létrehozása',
-  'update_alb' => 'A \'%s\' képalbum frissítve  \'%s\' címmel és \'%s\' indexszel',
-  'del_pic' => 'Kép törlése',
-  'del_alb' => 'Album törlése',
-  'del_user' => 'Felhasználó törlése',
-  'err_unknown_user' => 'A kiválasztott felhasználó nem létezik!',
-  'err_empty_groups' => 'Nincs egyetlen csoporttábla sem vagy a csoporttábla üres!', //cpg1.4
-  'comment_deleted' => 'Hozzászólás sikeresen törölve',
-  'npic' => 'Kép', //cpg1.4
-  'pic_mgr' => 'Képkezelő', //cpg1.4
-  'update_pic' => 'A \'%s\' kép frissítve \'%s\' fájlnévvel \'%s\'és indexszel', //cpg1.4
-  'username' => 'felhasználónév', //cpg1.4
-  'anonymized_comments' => '%s Névtelen hozzászólás', //cpg1.4
-  'anonymized_uploads' => '%s Névtelen publikus feltöltés', //cpg1.4
-  'deleted_comments' => '%s Törölt hozzászólás', //cpg1.4
-  'deleted_uploads' => '%s Törölt publikus feltöltés', //cpg1.4
-  'user_deleted' => '%s felhasználó törölve', //cpg1.4
-  'activate_user' => 'Felhasználó engedélyezése', //cpg1.4
-  'user_already_active' => 'A felhasználó már engedélyezett', //cpg1.4
-  'activated' => 'Engedélyezés', //cpg1.4
-  'deactivate_user' => 'Felhasználó tiltása ', //cpg1.4
-  'user_already_inactive' => 'A felhasználó már le van tiltva', //cpg1.4
-  'deactivated' => 'tiltás', //cpg1.4
-  'reset_password' => 'Jelszó visszaállítás', //cpg1.4
-  'password_reset' => 'Jelszó beállítva %s -re', //cpg1.4
-  'change_group' => 'Elsődleges csoport választás', //cpg1.4
-  'change_group_to_group' => 'Változtatás %s -ről  %s -re', //cpg1.4
-  'add_group' => 'Másodlagogos csoport hozzáadása', //cpg1.4
-  'add_group_to_group' => 'A %s felhasználó hozzáadása %s csoporthoz. Ő most a(z)  %s elsődleges csoport tagja és %s a másodlagos csoportja.', //cpg1.4
-  'status' => 'Státusz', //cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File displayecard.php
-// ------------------------------------------------------------------------- //
-
-if (defined('DISPLAYECARD_PHP')) {
-
-$lang_displayecard_php = array(
-  'invalid_data' => 'Sérült adatok a képeslapodhoz az email kliens szerint. További információért ellenőrizd a linket.', //cpg1.4
-);
-}
-
-// ------------------------------------------------------------------------- //
-// File displayimage.php
-// ------------------------------------------------------------------------- //
-
-if (defined('DISPLAYIMAGE_PHP')){
-
-$lang_display_image_php = array(
-  'confirm_del' => 'Biztos, hogy törölni akarod ezt a képet? \\nKommentare werden ebenfalls gelöscht.',
-  'del_pic' => 'Kép törlése',
-  'size' => '%s x %s képpont',
-  'views' => '%s szor',
-  'slideshow' => 'Diavetítés indítása',
-  'stop_slideshow' => 'Dia',
-  'view_fs' => 'Kattints ide a teljes kép megtekintéséhez',
-  'edit_pic' => 'Kép információk szerkesztése', //cpg1.4
-  'crop_pic' => 'Vágás és forgatás',
-  'set_player' => 'Lejátszó választás',
-);
-
-$lang_picinfo = array(
-  'title' =>'Kép információ',
-  'Filename' => 'Fájlnév',
-  'Album name' => 'A képalbum neve',
-  'Rating' => 'Helyezés (%s szavazat)',
-  'Keywords' => 'Kulcsszavak',
-  'File Size' => 'Fájlméret',
-  'Date Added' => 'Hozzáadás dátuma', //cpg1.4
-  'Dimensions' => 'Méretek',
-  'Displayed' => 'Megjelenítve',
-  'URL' => 'URL', //cpg1.4
-  'Make' => 'Készítő', //cpg1.4
-  'Model' => 'Modell', //cpg1.4
-  'DateTime' => 'Dátum &amp; idő', //cpg1.4
-  'DateTimeOriginal' => 'Eredeti idő', //cpg1.4
-  'ISOSpeedRatings'=>'ISO', //cpg1.4
-  'MaxApertureValue' => 'Legnagyobb blende nyílás', //cpg1.4
-  'FocalLength' => 'Fókusz távolság', //cpg1.4
-  'Comment' => 'Hozzászólás',
-  'addFav'=>'Hozzáadás a kedvencekhez',
-  'addFavPhrase'=>'Kedvencek',
-  'remFav'=>'Eltávolítás a kedvencekből',
-  'iptcTitle'=>'IPTC cím',
-  'iptcCopyright'=>'IPTC copyright',
-  'iptcKeywords'=>'IPTC kulcsszavak',
-  'iptcCategory'=>'IPTC kategória',
-  'iptcSubCategories'=>'IPTC alkategóriák',
-  'ColorSpace' => 'Színtér', //cpg1.4
-  'ExposureProgram' => 'Expozíciós program', //cpg1.4
-  'Flash' => 'Vaku', //cpg1.4
-  'MeteringMode' => 'Mérési mód', //cpg1.4
-  'ExposureTime' => 'Expozíciós idő', //cpg1.4
-  'ExposureBiasValue' => 'Expozíciós előlállítás', //cpg1.4
-  'ImageDescription' => ' Kép meghatározás', //cpg1.4
-  'Orientation' => 'Orientáció', //cpg1.4
-  'xResolution' => 'x felbontás', //cpg1.4
-  'yResolution' => 'y felbontás', //cpg1.4
-  'ResolutionUnit' => 'A felbontás egysége', //cpg1.4
-  'Software' => 'Program', //cpg1.4
-  'YCbCrPositioning' => 'YCbCr pozíció', //cpg1.4
-  'ExifOffset' => 'Exif eltolás', //cpg1.4
-  'IFD1Offset' => 'IFD1 eltolás', //cpg1.4
-  'FNumber' => 'Blende', //cpg1.4
-  'ExifVersion' => 'Exif verzió', //cpg1.4
-  'DateTimeOriginal' => 'Eredeti dátum & idő', //cpg1.4
-  'DateTimedigitized' => 'Digitalizálás dátuma & ideje', //cpg1.4
-  'ComponentsConfiguration' => 'Komponens konfiguráció', //cpg1.4
-  'CompressedBitsPerPixel' => 'Tömörített bitek száma képpontonként', //cpg1.4
-  'LightSource' => 'Fényforrás', //cpg1.4
-  'ISOSetting' => 'ISO beállítás', //cpg1.4
-  'ColorMode' => 'Színmód', //cpg1.4
-  'Quality' => 'Minőség', //cpg1.4
-  'ImageSharpening' => 'Kép élesség', //cpg1.4
-  'FocusMode' => 'Fókusz mód', //cpg1.4
-  'FlashSetting' => 'Vaku beállítás', //cpg1.4
-  'ISOSelection' => 'ISO választás', //cpg1.4
-  'ImageAdjustment' => 'Képbeállítás', //cpg1.4
-  'Adapter' => 'Adapter', //cpg1.4
-  'ManualFocusDistance' => 'Kézi fókusztáv', //cpg1.4
-  'DigitalZoom' => 'Digitális zoom', //cpg1.4
-  'AFFocusPosition' => 'Autofókusz pozició', //cpg1.4
-  'Saturation' => 'Telítettség', //cpg1.4
-  'NoiseReduction' => 'Zaj csökkentés', //cpg1.4
-  'FlashPixVersion' => 'Vaku Pix verzió', //cpg1.4
-  'ExifImageWidth' => 'Exif képszélesség', //cpg1.4
-  'ExifImageHeight' => 'Exif képmagasság', //cpg1.4
-  'ExifInteroperabilityOffset' => 'Exif együttműködési ellenérték', //cpg1.4
-  'FileSource' => 'Fájl forrás', //cpg1.4
-  'SceneType' => 'Színhely típus', //cpg1.4
-  'CustomerRender' => 'Ügyfél beállítás', //cpg1.4
-  'ExposureMode' => 'Expozíciós mód', //cpg1.4
-  'WhiteBalance' => 'Fehér egyensúly', //cpg1.4
-  'DigitalZoomRatio' => 'Digitális zoom arány', //cpg1.4
-  'SceneCaptureMode' => 'Táj felvételi mód', //cpg1.4
-  'GainControl' => 'Nyereség kontroll', //cpg1.4
-  'Contrast' => 'Kontraszt', //cpg1.4
-  'Saturation' => 'Telítetség', //cpg1.4
-  'Sharpness' => 'Élesség', //cpg1.4
-  'ManageExifDisplay' => 'Exif képernyő kezelés', //cpg1.4
-  'submit' => 'Tovább', //cpg1.4
-  'success' => 'Információ sikeresen frissítve.', //cpg1.4
-  'details' => 'Részletek', //cpg1.4
-);
-
-$lang_display_comments = array(
-  'OK' => 'OK',
-  'edit_title' => 'Hozzászólás szerkesztése',
-  'confirm_delete' => 'Biztos, hogy törölni akarod ezt a hozzászólást?', //js-alert
-  'add_your_comment' => 'Hozzászólásod hozzáadása',
-  'name'=>'Név',
-  'comment'=>'Hozzászólás',
-  'your_name' => 'Saját neved',
-  'report_comment_title' => 'Jelentés a hozzászólásról a rendszergazdának', //cpg1.4
-);
-
-$lang_fullsize_popup = array(
-  'click_to_close' => 'Kattints a képre az ablak bezárásához!',
-);
-
-}
-
-// ------------------------------------------------------------------------- //
-// File ecard.php
-// ------------------------------------------------------------------------- //
-
-if (defined('ECARDS_PHP') || defined('DISPLAYECARD_PHP')) $lang_ecard_php =array(
-  'title' => 'Képeslap küldés',
-  'invalid_email' => '<b>Figyelem</b>: Hibás email cím!',
-  'ecard_title' => 'Egy képeslap neked %s -től',
-  'error_not_image' => 'Csak kép küldhető képeslapként.', //cpg1.3.0
-  'view_ecard' => 'Alternatív link, ha a kép nem jelenik meg helyesen: ',
-  'view_ecard_plaintext' => 'Hogy megtekintsd ezt a képeslapot, másold ki és illesztd be ezt az URL-t a böngésződ címsorába:', //cpg1.4
-  'view_more_pics' => 'Még több kép megtekintése!', //cpg1.4
-  'send_success' => 'A képeslapod elküldve',
-  'send_failed' => 'Sajnáljuk, de szerver nem tudta kézbesíteni a képeslapod...',
-  'from' => 'Feladó',
-  'your_name' => 'A Te neved',
-  'your_email' => 'A Te email címed',
-  'to' => 'Cimzett',
-  'rcpt_name' => 'Cimzett neve',
-  'rcpt_email' => 'Cimzett Email címe',
-  'greetings' => 'Üdvözlet', //cpg1.4
-  'message' => 'Üzenet', //cpg1.4
-  'ecards_footer' => 'Küldte: %s erről az %s IP címről %s -kor (képgaléria ideje)', //cpg1.4
-  'preview' => 'Képeslap megtekintése', //cpg1.4
-  'preview_button' => 'Megtekintés', //cpg1.4
-  'submit_button' => 'Képeslap küldése', //cpg1.4
-  'preview_view_ecard' => 'Ez egy alternatív link a képeslaphoz, ami egyszer lett legenerálva. A megtekintéshez nem fog működni.', //cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File report_file.php //cpg1.4
-// ------------------------------------------------------------------------- //
-
-if (defined('REPORT_FILE_PHP') || defined('DISPLAYREPORT_PHP')) $lang_report_php =array(
-  'title' => 'Jelentés a rendszergazdának', //cpg1.4
-  'invalid_email' => '<b>Figyelem</b>: hibás email cím!', //cpg1.4
-  'report_subject' => 'Jelentés %s -tól ezen %s Képtárról', //cpg1.4
-  'view_report' => 'Alternativ link, ha nem jelenik meg helyesen a képernyőn', //cpg1.4
-  'view_report_plaintext' => 'Hogy megtekintsd ezt a jelentést, másold ki és illesztd be ezt az URL-t a böngésződ címsorába:', //cpg1.4
-  'view_more_pics' => 'Képtár', //cpg1.4
-  'send_success' => 'A jelentés elküldve', //cpg1.4
-  'send_failed' => 'Sajnáljuk, de szerver nem tudta kézbesíteni a jelentésed...', //cpg1.4
-  'from' => 'Feladó', //cpg1.4
-  'your_name' => 'Saját neved', //cpg1.4
-  'your_email' => 'Saját email címed', //cpg1.4
-  'to' => 'Cimzett', //cpg1.4
-  'administrator' => 'Renszergazda/moderátor', //cpg1.4
-  'subject' => 'Tárgy', //cpg1.4
-  'comment_field_name' => 'Jelentés a hozzászólásról "%s"-tól', //cpg1.4
-  'reason' => 'Indíték', //cpg1.4
-  'message' => 'Üzenet', //cpg1.4
-  'report_footer' => 'Küldte: %s erről az %s IP címről %s -kor (képgaléria ideje)', //cpg1.4
-  'obscene' => 'trágár ', //cpg1.4
-  'offensive' => 'erőszakos', //cpg1.4
-  'misplaced' => 'Lezárt téma/eltévesztett', //cpg1.4
-  'missing' => 'hiányzó', //cpg1.4
-  'issue' => 'hiba/nem lehet megnézni', //cpg1.4
-  'other' => 'másik', //cpg1.4
-  'refers_to' => 'Kép jelentése', //cpg1.4
-  'reasons_list_heading' => 'A jelntés oka:', //cpg1.4
-  'no_reason_given' => 'Nincs ok megadva', //cpg1.4
-  'go_comment' => 'Ugrás a hozzászóláshoz', //cpg1.4
-  'view_comment' => 'Teljes jelentés hozzászólásokkal', //cpg1.4
-  'type_file' => 'Fájl', //cpg1.4
-  'type_comment' => 'Hozzászólás', //cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File editpics.php
-// ------------------------------------------------------------------------- //
-
-if (defined('EDITPICS_PHP')) $lang_editpics_php = array(
-  'pic_info' => 'Kép információ',
-  'album' => 'Képalbum',
-  'title' => 'Cím',
-  'filename' => 'Fájlnév', //cpg1.4
-  'desc' => 'Meghatározás',
-  'keywords' => 'Kulcsszavak',
-  'new_keyword' => 'Új kulcsszó', //cpg1.4
-  'new_keywords' => 'Új kulcsszavak keresése', //cpg1.4
-  'existing_keyword' => 'Létező kulcsszó', //cpg1.4
-  'pic_info_str' => '%sx%s - %s kB - %s x megtekintés - %s x szavazat',
-  'approve' => 'Kép jóváhagyása',
-  'postpone_app' => 'Elhalasztott jóváhagyás',
-  'del_pic' => 'Kép törlése',
-  'del_all' => 'Összes kép törlése', //cpg1.4
-  'read_exif' => 'EXIF adatok újraolvasása',
-  'reset_view_count' => 'Nézettségi számláló nullázása',
-  'reset_all_view_count' => 'Az összes nézettségi számláló nullázása', //cpg1.4
-  'reset_votes' => 'Szavazatok nullázása',
-  'reset_all_votes' => 'Összes szavazatok nullázása', //cpg1.4
-  'del_comm' => 'Hozzászólás törlése',
-  'del_all_comm' => 'Összes hozzászólás törlése', //cpg1.4
-  'upl_approval' => 'Feltöltés jóváhagyása', //cpg1.4
-  'edit_pics' => 'Kép szerkesztése',
-  'see_next' => 'A következő kép',
-  'see_prev' => 'Az előző kép',
-  'n_pic' => '%s Kép',
-  'n_of_pic_to_disp' => 'Kép oldalanként',
-  'apply' => 'Módosítások elfogadása',
-  'crop_title' => 'Coppermine képszerkesztő',
-  'preview' => 'Megtekintés',
-  'save' => 'Kép mentése',
-  'save_thumb' =>'Mentés indexképként',
-  'gallery_icon' => 'Legyen ez a képtáram ikonja', //cpg1.4
-  'sel_on_img' =>'A teljes kép kiválasztása', //js-alert
-  'album_properties' =>'Album tulajdonságok', //cpg1.4
-  'parent_category' =>'Szülő kategória', //cpg1.4
-  'thumbnail_view' =>'Indexkép nézet', //cpg1.4
-  'select_unselect' =>'Összes kiválasztása', //cpg1.4
-  'file_exists' => "A célfájl '%s' már létezik.", //cpg1.4
-  'rename_failed' => "Az átnevezés'%s'-ről '%s'-re nem sikerült.", //cpg1.4
-  'src_file_missing' => "A forrásfájl '%s' hiányzik.", // cpg 1.4
-  'mime_conv' => "Nem lehet átkonvertálni '%s'-ről '%s'-re",//cpg1.4
-  'forb_ext' => 'Tiltott fájlkiterjesztés.',//cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File faq.php
-// ------------------------------------------------------------------------- //
-
-if (defined('FAQ_PHP')) $lang_faq_php = array(
-  'faq' => 'Gyakran Ismételt Kérdések (Frequently Asked Questions)',
-  'toc' => 'Tárgymutató',
-  'question' => 'Kérdés: ',
-  'answer' => 'Válasz: ',
-);
-
-if (defined('FAQ_PHP')) $lang_faq_data = array(
-  'Általános',
-  array('Miért szükséges regisztrálni?', 'A regisztráció szükségességét a rendszergazda dönti el. A regisztrált tagok plusz funkciókat érnek el, mint pl.: képfeltöltés, kedvencek listája, kép értékelés, hozzászólások stb. ', 'allow_user_registration', '0'),
-  array('Hogy tudok regisztrálni?', 'Kattints a &quot;Registráció&quot;-ra és töltsd ki a szükséges mezőket (az opcionális mezők kitöltése nem kötelező).<br />Ha a rendszergazda engedélyezte az email aktiválást, akkor az adatok elfogadása után kapsz egy email üzenetet arra a címre , amelyet a regisztrációkor megadtál. A levél részletes utasításokat tartalmaz a regisztráció aktíválásának lépéseiről. Hogy be tudj jelentkezni, szükséges aktivált tagság.', 'allow_user_registration', '1'),
-  array('Hogy tudok bejelentkezni?', 'Kattints a &quot;Bejelentkezés&quot;-re, és add meg felhasználó neved és jelszavad, és jelöld be az &quot;Emlékezz rám&quot;opciót, hogy a képtár emlékezzen rád .<br /><b>Fontos: Hogy müködjön el kell fogadnos a sütiket erről az oldalról a böngésződben.</b>', 'offline', 0),
-  array('Miért nem tudok bejelentkezni?', 'Regisztráltál? Előfordulhat, hogy a képtár látogatása regisztrációhoz kötött. Ki lettél tiltva a képtárból (ezt egy üzenet jelzi)? Lépj kapcsolatba a webmesterrel, vagy az adminisztrátorral, hogy megtudd az okát. Ha regisztrált vagy, és nem vagy kitiltva az oldalról, akkor ellenőrizd, hogy nem gépelted-e el a nevet, vagy a jelszót. Ellenőrizd kétszer is, mivel legtöbbször ez a hiba. Ha a hiba még mindig fennáll, akkor lépj kapcsolatba az adminisztrátorral, pontosan leírva a hibajelenséget.', 'offline', 0),
-  array('Mit tegyek, ha elfelejtettem a jelszavam?', ' Ha van &quot;Elfejetettem a jelszót&quot; link, akkor használd. Más esetekben keresd meg a rendszergazdát', 'offline', 0),
-  //array('Mit tegyek ha meg akarom változtatni az Email címemet?', 'Egyszerüen jelentkezz be és menj a &quot; saját profil&quot;-ra', 'offline', 0),
-  array('Hogy vehetem fel a képet a &quot;Kedvenceim&quot; közé?', 'Kattints a képre , majd kattints a &quot;kép információ&quot;-ra (<img src="images/info.gif" width="16" height="16" border="0" alt="Kép-információ" />); menj az adatok aljára és kattints a &quot;Kedvencek hozzáadása&quot;-ra.<br />A rendszergazda engedélyezheti alapból a képinformációkat.<br />Fontos: A sütiket engedélyezned kell.', 'offline', 0),
-  array('Hogy tudom értékelni a képet?', 'Kattints az indexképre és a kép alján válassz egy helyezést.', 'offline', 0),
-  array('Hogy tudok hozzászolni a képhez?', 'Kattints az indexképre és menj az aljára, ahol be tudod írni a hozzászólásod.', 'offline', 0),
-  array('Hogy lehet képet feltölteni?', 'Kattints a &quot;Kép feltöltés&quot;-re és válassz albumot, hogy hova akarsz feltölteni.Kattints a &quot;Böngészés&quot;-re keresd meg a fájlt amit fel akarsz tölteni és kattints a &quot;megnyitás&quot; -ra. Adj neki címet és meghatározást ha akarsz, majd kattints az &quot;Elfogad&quot;-ra', 'allow_private_albums', 0),
-  array('Hova tudok képet feltölteni?', 'A saját albumaid közül bármelyikbe, amelyek a &quot;Saját képtár&quot;-adban találhatóak ', 'allow_private_albums', 0),
-  array('Milyen formátumú és méretű képet lehet feltölteni?', 'A formátumot (jpg,png stb..) és a méretet a rendszergazda határozza meg.', 'allow_private_albums', 0),
-  array('Mi az a  &quot;Saját képtár &quot;?', 'A &quot;Saját képtár&quot; az hely ahova el tudod helyezni az albumaidat.', 'allow_private_albums', 0),
-  array('Hogyan tudok létrehozni, átnevezni és törölni albumot a &quot;saját Képtár&quot;-ban?', 'Ehhez rendszergazda módban kell lenni.Menj a &quot; Saját album létrehozás/rendezés&quot;menübe és kattints az &quot;új&quot;-ra. Írd át az &quot;Új album&quot;nevet amire szeretnéd nevezni az albumodat .<br />Itt bármelyik létező albumod nevét meg tudod változtatni .<br />Kattints a &quot;Változtatások elfogadás&quot;-ára .', 'allow_private_albums', 0),
-  array('Hogy tudom módosítani az albumom tulajdonságait?', 'Ehhez rendszergazda módban kell lenni.<br />Meny a &quot; Saját album módosítása&quot; menübe. Az &quot;album frissítése&quot; listában válaszd ki a módosítani kivánt albumot.<br />Itt tudsz nevet, leírást, indexképet, megtekintés korlátozást és véleményezés korlátozást változtatni.<br />A végén kattints az  &quot;Album frissítés&quot; -re.', 'allow_private_albums', 0),
-  array('Mik azok a sütik?', 'A sütik kisméretü text fájlok , melyet a webszerver küld a számítógépednek. A sütik segítségével jegyzi meg a böngésző a felhasználó beálításait.<br /> ', 'offline', 0),
-  array('Hogyan használhatnám ezt a programot a saját weboldalomon?', 'A Coppermine egy szabadon felhasználható multimédiás képtár,mely a GNU alatt ljelent meg. Az összes szolgáltatása elérhető különböző platformokon. Láttogasd meg a  <a href="http://coppermine-gallery.net/">Coppermine weboldalát</a> további információkért és a program letöltéséhez .', 'offline', 0),
-
-  'Navigálás az oldalon',
-  array('Mi az &quot;Album lista&quot;?', 'Itt tudod megnézni az egész képtárat, minden albumhoz tartozik link. Ha nem vagy benne valamelyik képtárban akkor a képtárak listáját látod.', 'offline', 0),
-  array('Mi a  &quot;Saját képtár;?', 'Itt tud a felhasználó létrehozni saját albumot, törölni vagy módosítani már meglévőket.', 'allow_private_albums', 1), //cpg1.4
-  array('Mi a különbség az &quot;Rendszergazda mód&quot; és &quot;Felhasználó mód&quot; között?', 'Rendszergazda módban lehet módosítani a saját albumokon, képtárakon', 'allow_private_albums', 0),
-  array('Mi a &quot;Kép feltöltés&quot;?', 'Itt lehet képeket feltölteni a képtárba (méret és formátum a rendszergazda által meghatározva)', 'allow_private_albums', 0),
-  array('Mi a &quot;Legújabb feltöltések&quot;?', 'Itt lehet megnézni az utolsó feltöltéseket.', 'offline', 0),
-  array('Mi a &quot;Legújabb hozzászólások&quot;?', 'itt lehet megnézni a legújabb hozászólásokat, amelyeket a felhasználók beküldtek .', 'offline', 0),
-  array('Mi a &quot;Legtöbbet nézet&quot;?', 'Itt lehet megtekinteni a legtöbbször nézett képet az összes kép közül.', 'offline', 0),
-  array('Mi a &quot;Legtöbb szavazatot&quot;?', 'Ez a szolgáltatás mutatja a felhasználók által legjobban kedvelt képeket, megjelenítve az átlagos osztályzatot (pl. 5 néző ad  <img src="images/rating3.gif" width="65" height="14" border="0" alt="" />:-ot, akkor a kép átlagos osztályzata <img src="images/rating3.gif" width="65" height="14" border="0" alt="" /> ;Ha 5 néző osztályozza a képet  1-től 5-ig (1,2,3,4,5), akkor az átlag: <img src="images/rating3.gif" width="65" height="14" border="0" alt="" /> .)<br />A helyezés skála  <img src="images/rating5.gif" width="65" height="14" border="0" alt="" /> (legjobb)-tól a <img src="images/rating0.gif" width="65" height="14" border="0" alt="" /> (legrosszabb) -ig terjed.', 'offline', 0),
-  array('Mi a &quot;Kedvenceim&quot;?', 'Ez a szolgáltatás tárolja a felhasználó kedvenc képeit, melyet a sütiben el is küld a felhasználó számítógépére.', 'offline', 0),
-);
-
-
-// ------------------------------------------------------------------------- //
-// File forgot_passwd.php
-// ------------------------------------------------------------------------- //
-
-if (defined('FORGOT_PASSWD_PHP')) $lang_forgot_passwd_php = array(
-  'forgot_passwd' => 'Jelszó emlékeztető',
-  'err_already_logged_in' => 'Már be vagy jelentkezve!',
-  'enter_email' => 'Add meg az email címedet', //cpg1.4
-  'submit' => 'Tovább!',
-  'illegal_session' => 'Az elfelejtett jelszó időszak érvénytelen vagy lejárt.', //cpg1.4
-  'failed_sending_email' => 'Nem lehet elküldeni a jelszó emlékeztető email-t!',
-  'email_sent' => 'A felhasználó nevet és jelszót tartalmazó levelet elküldtük a(z) %s címre.', //cpg1.4
-  'verify_email_sent' => 'Az email elküldve %s címre. Kérjük, ellenőrizd a postaládádat a folyamat befejezéséhez.', //cpg1.4
-  'err_unk_user' => 'Nemlétező felhasználó!',
-  'account_verify_subject' => '%s - Új jelszót kér', //cpg1.4
-  'account_verify_body' => 'Új jelszót kértél. Ha azt akarod , hogy az új jelszót elküldjük, kattints a következő linkre:
-
-%s', //cpg1.4
-  'passwd_reset_subject' => '%s - Az új jelszavad', //cpg1.4
-  'passwd_reset_body' => 'A kért új jelszó:
-Felhasználónév: %s
-Jelszó: %s
-Kattints %s-ra, a bejelentkezéshez.', //cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File groupmgr.php
-// ------------------------------------------------------------------------- //
-
-if (defined('GROUPMGR_PHP')) $lang_groupmgr_php = array(
-  'group_name' => 'Csoport neve', //cpg1.4
-  'permissions' => 'Jogosultságok', //cpg1.4
-  'public_albums' => 'Nyilvános feltöltési album', //cpg1.4
-  'personal_gallery' => 'Személyes képtár', //cpg1.4
-  'upload_method' => 'Feltöltési módszerek', //cpg1.4
-  'disk_quota' => 'Lemezterület', //cpg1.4
-  'rating' => 'Osztályozás', //cpg1.4
-  'ecards' => 'Képeslapok', //cpg1.4
-  'comments' => 'Hozzászólások', //cpg1.4
-  'allowed' => 'Engedélyezett', //cpg1.4
-  'approval' => 'Elfogadott', //cpg1.4
-  'boxes_number' => 'Dobozok száma', //cpg1.4
-  'variable' => 'Változó', //cpg1.4
-  'fixed' => 'Állandó', //cpg1.4
-  'apply' => 'Módosítások elfogadása',
-  'create_new_group' => 'Új csoport létrehozása',
-  'del_groups' => 'Csoport(ok) törlése',
-  'confirm_del' => 'Figyelem: amikor egy csoport törlésre kerül, akkor a csoportba tartozó felhasználók át lesznek mozgatva a  \'Regisztrált felhasználók\' csoportba!\n\nBiztos, hogy ezt akarod?', //js-alert
-  'title' => 'Felhasználói csoportok kezelése',
-  'num_file_upload' => 'Kép feltöltő doboz', //cpg1.4
-  'num_URI_upload' => 'URI feltöltő doboz', //cpg1.4
-  'reset_to_default' => 'Alapértelmezett névre állítás (%s) - ajánlott!', //cpg1.4
-  'error_group_empty' => 'A csoport tábla üres!<br /><br />Az alap csoportok elkészítve, töltsd újra az oldalt', //cpg1.4
-  'explain_greyed_out_title' => 'Miért szürke ez a sor?', //cpg1.4
-  'explain_guests_greyed_out_text' => 'Nem tudod változtatni ezt a tulajdonságot, mert kikapcsoltad a  &quot;Vendég felhasználók engedélyezése&quot; opciót a Coppermine konfigurációs oldalán. A vendégek (a %s csoport tagjai) semmit sem tudnak csinálni a bejelentkezésen kivűl, tehát a csoportbeállítások nem érvényesek rájuk.', //cpg1.4
-  'explain_banned_greyed_out_text' => 'Die Eigenschaften der Gruppe %s können nicht verändert werden, da deren Mitglieder sowieso nichts tun dürfen.', //cpg1.4
-  'group_assigned_album' => 'Hozzárendelt album', //cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File index.php
-// ------------------------------------------------------------------------- //
-
-if (defined('INDEX_PHP')){
-
-$lang_index_php = array(
-  'welcome' => 'Üdvözlet !',
-);
-
-$lang_album_admin_menu = array(
-  'confirm_delete' => 'Biztos, hogy TÖRÖLNI akarod ezt az albumot? \\n Az összes kép és hozzászólás törölve lesz.',
-  'delete' => 'Törlés',
-  'modify' => 'Módosítás',
-  'edit_pics' => 'Kép szerkesztés',
-);
-
-$lang_list_categories = array(
-  'home' => 'Képtár',
-  'stat1' => '<b>[pictures]</b> kép <b>[albums]</b> albumban és <b>[cat]</b> kategoriában, <b>[comments]</b> hozzászólással, <b>[views]</b> alkalommal megtekintve',
-  'stat2' => '<b>[pictures]</b> kép <b>[albums]</b> albumban, <b>[views]</b> alkalommal megtekintve',
-  'xx_s_gallery' => '%s képtára',
-  'stat3' => '<b>[pictures]</b> kép <b>[albums]</b> albumban, <b>[comments]</b> hozzászólással, <b>[views]</b> alkalommal megtekintve'
-);
-
-$lang_list_users = array(
-  'user_list' => 'Felhasználó lista',
-  'no_user_gal' => 'Nincs felhasználó a képtárban.',
-  'n_albums' => '%s album',
-  'n_pics' => '%s kép',
-);
-
-$lang_list_albums = array(
-  'n_pictures' => '%s kép',
-  'last_added' => ', utoljára ez lett hozzáadva %s',
-  'n_link_pictures' => '%s kapcsolt kép', //cpg1.4
-  'total_pictures' => '%s kép összesen', //cpg1.4
-);
-
-}
-
-// ------------------------------------------------------------------------- //
-// File keywordmgr.php //cpg1.4
-// ------------------------------------------------------------------------- //
-
-if (defined('KEYWORDMGR_PHP')) $lang_keywordmgr_php = array(
-  'title' => 'Kulcsszavak kezelése', //cpg1.4
-  'edit' => 'szerkesztés', //cpg1.4
-  'delete' => 'törlés', //cpg1.4
-  'search' => 'keresés', //cpg1.4
-  'keyword_test_search' => 'a(z) %s keresése új ablakban', //cpg1.4
-  'keyword_del' => 'a(z) %s kulcsszó törlése', //cpg1.4
-  'confirm_delete' => 'Biztos, hogy törölni akarod a(z) %s kulcszót a képtárból?', //cpg1.4  // js-alert
-  'change_keyword' => 'Kulcsszó változtatása', //cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File login.php
-// ------------------------------------------------------------------------- //
-
-if (defined('LOGIN_PHP')) $lang_login_php = array(
-  'login' => 'Bejelentkezés (Login)',
-  'enter_login_pswd' => 'Add meg a felhasználóneved és jelszavad a bejelentkezéshez',
-  'username' => 'Felhasználó név',
-  'password' => 'Jelszó',
-  'remember_me' => 'Emlékezz rám',
-  'welcome' => 'Üdvözöllek %s ...',
-  'err_login' => '*** Nem sikerült bejelentkezned. Próbáld újra ***',
-  'err_already_logged_in' => 'Már be vagy jelentkezve!',
-  'forgot_password_link' => 'Elfelejtettem a jelszavam',
-  'cookie_warning' => 'Figyelmeztetés: a böngésződ nem fogadja el a sütiket', //cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File logout.php
-// ------------------------------------------------------------------------- //
-
-if (defined('LOGOUT_PHP')) $lang_logout_php = array(
-  'logout' => 'Kijelentkezés',
-  'bye' => 'Viszlát %s ...',
-  'err_not_loged_in' => 'Nem vagy bejelentkezve!',
-);
-
-// ------------------------------------------------------------------------- //
-// File minibrowser.php  //cpg1.4
-// ------------------------------------------------------------------------- //
-
-if (defined('MINIBROWSER_PHP')) $lang_minibrowser_php = array(
-  'close' => 'bezárás', //cpg1.4
-  'submit' => 'OK', //cpg1.4
-  'up' => 'egy szinttel feljebb', //cpg1.4
-  'current_path' => 'mostani útvonal', //cpg1.4
-  'select_directory' => 'válassz könyvtárat', //cpg1.4
-  'click_to_close' => 'Kattints a képre az ablak bezárásához',
-);
-
-// ------------------------------------------------------------------------- //
-// File modifyalb.php
-// ------------------------------------------------------------------------- //
-
-if (defined('MODIFYALB_PHP')) $lang_modifyalb_php = array(
-  'upd_alb_n' => 'A(z)%s album frissítve',
-  'general_settings' => 'Általános beállítások',
-  'alb_title' => 'Album címe',
-  'alb_cat' => 'Album kategória',
-  'alb_desc' => 'Album meghatározás',
-  'alb_keyword' => 'Album kulcsszó', //cpg1.4
-  'alb_thumb' => 'Album indexkép',
-  'alb_perm' => 'Jogosultságok erre az albumra',
-  'can_view' => 'Album megtekinthetik',
-  'can_upload' => 'Vendégek is feltölthetnek képeket',
-  'can_post_comments' => 'Vendégek is hozzászolhatnak',
-  'can_rate' => 'Vendégek is osztályozhatnak',
-  'user_gal' => 'Felhasználói képtár',
-  'no_cat' => '* nincs kategória *',
-  'alb_empty' => 'Üres album',
-  'last_uploaded' => 'utoljára feltöltött',
-  'public_alb' => 'Mindenki (nyilvános album)',
-  'me_only' => 'Csak én',
-  'owner_only' => 'Csak az album tulajdonos (%s)',
-  'groupp_only' => 'A(z) \'%s\'csoport tagjai',
-  'err_no_alb_to_modify' => 'Nincs modósítható album az adatbázisban.',
-  'update' => 'Album frissítve',
-  'reset_album' => 'Album visszaállítása', //cpg1.4
-  'reset_views' => 'Megtekintési számláló visszaállítása &quot;0&quot; -ra %s -ban', //cpg1.4
-  'reset_rating' => 'Az összes kép helyezésének alaphelyzetbe állítása a(z) %s albumban', //cpg1.4
-  'delete_comments' => 'Összes hozzászólás törlése a(z) %s albumban', //cpg1.4
-  'delete_files' => 'Az összes kép törlése %sVisszavonhatatlanul%s a(z) %s albumban', //cpg1.4
-  'views' => 'Megtekintések', //cpg1.4
-  'votes' => 'Szavazatok', //cpg1.4
-  'comments' => 'Hozzászólások', //cpg1.4
-  'files' => 'Képek', //cpg1.4
-  'submit_reset' => 'változások elfogadása', //cpg1.4
-  'reset_views_confirm' => 'Biztos vagyok benne!', //cpg1.4
-  'notice1' => '(*) függ a  %sCsoport%s beállításoktól',  //cpg1.4 //(do not translate %s!)
-  'alb_password' => 'Az album jelszava', //cpg1.4
-  'alb_password_hint' => 'Tipp album jelszóra', //cpg1.4
-  'edit_files' =>'Képek szerkesztése', //cpg1.4
-  'parent_category' =>'Szülő kategória', //cpg1.4
-  'thumbnail_view' =>'Indexkép nézet', //cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File phpinfo.php
-// ------------------------------------------------------------------------- //
-
-if (defined('PHPINFO_PHP')) $lang_phpinfo_php = array(
-  'php_info' => 'PHP információ',
-  'explanation' => 'Ez a kimenet a PHP-Funkció által lett generálva <a href="http://www.php.net/phpinfo">phpinfo()</a> A Coppermine-on belül megjelenítve.',
-  'no_link' => 'A phpinfo mások általi megtekintése biztonsági kockázatot jelent, ezért lehet csak rendszergazdaként megtekinteni.',
-);
-
-// ------------------------------------------------------------------------- //
-// File picmgr.php //cpg1.4
-// ------------------------------------------------------------------------- //
-if (defined('PICMGR_PHP')) $lang_picmgr_php = array(
-  'pic_mgr' => 'Képkezelő', //cpg1.4
-  'select_album' => 'Válassz albumot', //cpg1.4
-  'delete' => 'Törlés', //cpg1.4
-  'confirm_delete1' => 'Biztos hogy törölni akarod?', //cpg1.4
-  'confirm_delete2' => '\nA kép törlése folyamatban.', //cpg1.4
-  'apply_modifs' => 'Módosítások alkalmazása', //cpg1.4
-  'confirm_modifs' => 'Módosítások megerősítése', //cpg1.4
-  'pic_need_name' => 'A képnek kötelező nevet adni', //cpg1.4
-  'no_change' => 'Nem tudsz változtatni semmit!', //cpg1.4
-  'no_album' => '* Nincs album *', //cpg1.4
-  'explanation_header' => 'Az itt beállított egyéni sorrend csak erre a felhasználóra érvényes', //cpg1.4
-  'explanation1' => 'A rendszergazda be tudja állítani az alapértelmezett sorrendet növekvőre vagy csökkenőre (ez mindenkire vonatkozik, akinek nincs joga egyéni beállításhoz)', //cpg1.4
-  'explanation2' => 'A felhasználó választhat a növekvő vagy csökkenő sorrend között, az indexkép nézetben', //cpg1.4
-);
-
-
-// ------------------------------------------------------------------------- //
-// File pluginmgr.php //cpg1.4
-// ------------------------------------------------------------------------- //
-
-if (defined('PLUGINMGR_PHP')){
-
-$lang_pluginmgr_php = array(
-  'confirm_uninstall' => 'Biztos, hogy el akarod távolítani ezt a beépülőt (plugin)?', //cpg1.4
-  'confirm_delete' => 'Biztos, hogy törölni akarod a beépülőt?', //cpg1.4
-  'pmgr' => 'Beépülő kezelő', //cpg1.4
-  'name' => 'Név', //cpg1.4
-  'author' => 'Szerző', //cpg1.4
-  'desc' => 'leírás', //cpg1.4
-  'vers' => 'v', //cpg1.4
-  'i_plugins' => 'Telepített beépülők', //cpg1.4
-  'n_plugins' => 'Nincs telepítve beépülő', //cpg1.4
-  'none_installed' => 'Nincs telepítve semmi', //cpg1.4
-  'operation' => 'Művelet', //cpg1.4
-  'not_plugin_package' => 'A feltöltött fájl nem beépülő csomag.', //cpg1.4
-  'copy_error' => 'Hiba történt a csomag a beépülő könyvtárba másolásakor.', //cpg1.4
-  'upload' => 'Feltöltés', //cpg1.4
-  'configure_plugin' => 'Beépülő konfigurálása', //cpg1.4
-  'cleanup_plugin' => 'Beépülő takarítása', //cpg1.4
-);
-}
-
-// ------------------------------------------------------------------------- //
-// File ratepic.php
-// ------------------------------------------------------------------------- //
-
-if (defined('RATEPIC_PHP')) $lang_rate_pic_php = array(
-  'already_rated' => 'Bocsi, már osztályoztad a képet',
-  'rate_ok' => 'Szavazatod elfogadva',
-  'forbidden' => 'A saját képedet nem osztályozhatod.', //cpg1.3.0
-);
-
-// ------------------------------------------------------------------------- //
-// File register.php & profile.php
-// ------------------------------------------------------------------------- //
-
-if (defined('REGISTER_PHP') || defined('PROFILE_PHP')) {
-
-$lang_register_disclamer = <<<EOT
- Noha a(z) {SITE_NAME} adminisztrátorai mindent megtesznek, hogy minél hamarabb eltávolítsák vagy töröljék a képtárból az általánosan kifogásolható anyagokat, lehetetlen, hogy minden egyes hozzászólást és képet átnézzenek. Ebből adódóan elfogadom, hogy a képtárban található összes hozzászólás és kép a szerző nézeteit tükrözi, és nem az adminisztrátorok, vagy a webmester álláspontját - így ők nem vállalnak felelősséget a hozzászólások és képek tartalmáért.<br />
-<br />
-Beleegyezek, hogy nem küldök sértegető, obszcén, vulgáris, rágalmazó, gyűlöletkeltő, támadó anyagot vagy bármely más olyan tartalmat, mely törvényt sért. Sem olyan anyagot, mely ellentétes az általános közízléssel, mivel ez egy nyilvános képtár. A fentiek megsértése azonnali és végleges törlést von maga után.
-Elfogadom, hogy a képtár webmesterének, az adminisztrátornak  jogában áll eltávolítani, szerkeszteni a hozzászólásaimat, vagy törölni az általam felrakott képeket, amennyiben úgy ítéli meg, hogy ez szükséges. Mint felhasználó, elfogadom, hogy néhány, általam megadott információ tárolásra kerül a képtár adatbázisában. Ezek az adatok semmilyen módon nem kerülnek ki egy harmadik félhez, de az adminisztrátorok sem tudnak felelősséget vállalni, amennyiben az adatokat harmadik fél törvénytelen eszközökkel szerzi meg (például a képtár feltörésével).<br />
-<br />
-A Képtár "cookie"-kat (sütiket) használ, hogy adatokat tároljon a felhasználó számítógépén, de egyik sem tartalmaz személyes adatokat, melyek a regisztrációnál kerültek megadásra: a sütik pusztán technikai szempontból szükségesek (például ezek segítségével jegyzi meg a böngésző az egyéni beállításokat). A megadott email cím csak a regisztráció (és új jelszó) érvényesítésénél kerül felhasználásra.
-<br />
-<br />
-Az 'Elfogadom'-ra kattintva elfogadom a fenti feltételeket.
-EOT;
-
-$lang_register_php = array(
-  'page_title' => 'Felhasználó regisztráció',
-  'term_cond' => 'Felhasználói szabályzat',
-  'i_agree' => 'Elfogadom',
-  'submit' => 'Regisztráció elfogadása',
-  'err_user_exists' => 'A megadott felhasználónév már létezik, válassz egy másikat!',
-  'err_password_mismatch' => 'A két jelszó nem egyezik, írd be újra',
-  'err_uname_short' => 'A felhasználó név legalább 2 karakter hosszú legyen',
-  'err_password_short' => 'A jelszó legalább 2 karakter hosszú legyen',
-  'err_uname_pass_diff' => 'A felhasználónév és a jelszó nem lehet azonos',
-  'err_invalid_email' => 'Nem érvényes email cím',
-  'err_duplicate_email' => 'A megadott email címmel már valaki regisztrálta magát',
-  'enter_info' => 'Add meg a regisztrációs adatokat',
-  'required_info' => 'Kötelező',
-  'optional_info' => 'Válaszható',
-  'username' => 'Felhasználónév',
-  'password' => 'Jelszó',
-  'password_again' => 'Jelszó újra',
-  'email' => 'Email cím',
-  'location' => 'Helység',
-  'interests' => 'Hobbi',
-  'website' => 'Honlap',
-  'occupation' => 'Foglalkozás',
-  'error' => 'HIBA',
-  'confirm_email_subject' => '%s - Regisztráció megerősítés',
-  'information' => 'Információ',
-  'failed_sending_email' => 'A regisztráció megerősítéséhez szükséges levél nem lett elküldve',
-  'thank_you' => 'Köszönjük a regisztrációt.<br /><br />Az emailt a felhasználói azonosító aktíválásának ismertetésével elküldtük a megadott címre.',
-  'acct_created' => 'Az azonosító elkészült, bejelentkezés a felhasználó névvel és jelszóval',
-  'acct_active' => 'Az azonosító aktiválva, bejelentkezés a felhasználó névvel és jelszóval',
-  'acct_already_act' => 'Az azonosító már aktív!', //cpg1.4
-  'acct_act_failed' => 'Az azonosító aktíválása nem lehetséges!',
-  'err_unk_user' => 'Nem létező felhasználó!',
-  'x_s_profile' => '%s felhasználói adatai',
-  'group' => 'Csoport',
-  'reg_date' => 'Regisztrálás ideje',
-  'disk_usage' => 'Lemez használat',
-  'change_pass' => 'Jelszó változtatás',
-  'current_pass' => 'Jelenlegi jelszó',
-  'new_pass' => 'Új jelszó',
-  'new_pass_again' => 'Új jelszó mégegyszer',
-  'err_curr_pass' => 'A jelenlegi jelszó hibás',
-  'apply_modif' => 'Módosítások jóváhagyása',
-  'change_pass' => 'Jelszó változtatás',
-  'update_success' => 'A felhasználói adatok frissítve',
-  'pass_chg_success' => 'A jelszavad megváltoztatva',
-  'pass_chg_error' => 'A jelszavad nem változott',
-  'notify_admin_email_subject' => '%s - Regisztrációs értesítő',
-  'last_uploads' => 'Utoljára feltöltött fájl.<br />Kattints ide az összes feltöltésének megtekintéséhez', //cpg1.4
-  'last_comments' => 'Utolsó hozzászólás.<br />Kattints ide az öszzes hozzászólás megtekintéséhez', //cpg1.4
-  'notify_admin_email_body' => 'Egy új felhasználó "%s" néven regisztrálta magát a képtáradba',
-  'pic_count' => 'Feltöltött képek', //cpg1.4
-  'notify_admin_request_email_subject' => '%s - Regisztrációs kérés', //cpg1.4
-  'thank_you_admin_activation' => 'Köszönjük.<br /><br />Az azonosító aktíválási kérelem elküldve a rendszergazdának. Email-ben értesítünk az elfogadásról.', //cpg1.4
-  'acct_active_admin_activation' => 'Az azonosító aktív, email elküldve a felhasználónak.', //cpg1.4
-  'notify_user_email_subject' => '%s - Aktíválási értesitő', //cpg1.4
-);
-
-$lang_register_confirm_email = <<<EOT
-Köszönjük, hogy regisztrált a {SITE_NAME}-ra
-
-Az Ön felhasználóneve : "{USER_NAME}"
-Az Ön jelszava : "{PASSWORD}"
-
-Az azonosító aktíválásához kattintson az alábbi linkre, vagy másolja a böngésző címsorába.
-<a href="{ACT_LINK}">{ACT_LINK}</a>
-
-Üdvözlettel:
-
-A {SITE_NAME} csapata.
-
-EOT;
-
-$lang_register_approve_email = <<<EOT
-A(z) "{USER_NAME}" nevű felhasználó regisztrálta magát a képtárban.
-
-Az azonosító aktíválásához kattintson az alábbi linkre, vagy másolja a böngésző címsorába.
-
-<a href="{ACT_LINK}">{ACT_LINK}</a>
-
-EOT;
-
-$lang_register_activated_email = <<<EOT
-A kért azonosítót elfogadtuk és aktíváltuk.
-
-A bejelentkezéshez a(z) <a href="{SITE_LINK}">{SITE_LINK}</a> oldalon használd a(z) "{USER_NAME}" felhasználónevet.
-
-
-Üdvözlettel,
-
-A(z) {SITE_NAME} csapata
-
-EOT;
-}
-
-// ------------------------------------------------------------------------- //
-// File reviewcom.php
-// ------------------------------------------------------------------------- //
-
-if (defined('REVIEWCOM_PHP')) $lang_reviewcom_php = array(
-  'title' => 'Hozzászólások megtekintése',
-  'no_comment' => 'Nincs megtekinthető hozzászólás',
-  'n_comm_del' => '%s db hozzászólás törölve',
-  'n_comm_disp' => 'A megjelenített hozzászólások száma',
-  'see_prev' => 'elöző',
-  'see_next' => 'következő',
-  'del_comm' => 'Kiválasztott hozzászólások törlése',
-  'user_name' => 'Név', //cpg1.4
-  'date' => 'Dátum', //cpg1.4
-  'comment' => 'Hozzászólás', //cpg1.4
-  'file' => 'Fájl', //cpg1.4
-  'name_a' => 'név szerint növekvő', //cpg1.4
-  'name_d' => 'név szerint csökkenő', //cpg1.4
-  'date_a' => 'Dátum szerint növekvő', //cpg1.4
-  'date_d' => 'Dátum szerint csökkenő', //cpg1.4
-  'comment_a' => 'Hozzászólás szerint növekvő', //cpg1.4
-  'comment_d' => 'Hozzászólás szerint csökkenő', //cpg1.4
-  'file_a' => 'Fájl szerint növekvő', //cpg1.4
-  'file_d' => 'Fájl szerint csökkenő', //cpg1.4
-);
-
-
-// ------------------------------------------------------------------------- //
-// File search.php                                                           //
-// ------------------------------------------------------------------------- //
-
-
-if (defined('SEARCH_PHP')){
-
-$lang_search_php = array(
-  'title' => 'Képgyüjtemény keresés', //cpg1.4
-  'submit_search' => 'keresés', //cpg1.4
-  'keyword_list_title' => 'Kulcsszavak listája', //cpg1.4
-  'keyword_msg' => 'A fenti lista nem tartalmaz mindent - nincsenek benne a képek címeinek és leírásainak szavai. Próbáld meg a keresést ateljes szövegben.',  //cpg1.4
-  'edit_keywords' => 'Kulcsszavak szerkesztése', //cpg1.4
-  'search in' => 'Keresés itt:', //cpg1.4
-  'ip_address' => 'IP-cím', //cpg1.4
-  'fields' => 'Keresési mezők', //cpg1.4
-  'age' => 'Kor', //cpg1.4
-  'newer_than' => 'újabb mint', //cpg1.4
-  'older_than' => 'régebbi mint', //cpg1.4
-  'days' => 'Napok', //cpg1.4
-  'all_words' => 'Teljes egyezés (és)', //cpg1.4
-  'any_words' => 'Részleges egyezés (vagy)', //cpg1.4
-);
-
-$lang_adv_opts = array(
-  'title' => 'Cím', //cpg1.4
-  'caption' => 'Felirat', //cpg1.4
-  'keywords' => 'Kulcsszó', //cpg1.4
-  'owner_name' => 'Tulajdonos neve', //cpg1.4
-  'filename' => 'Fájlnév', //cpg1.4
-);
-
-}
-
-// ------------------------------------------------------------------------- //
-// File searchnew.php
-// ------------------------------------------------------------------------- //
-
-if (defined('SEARCHNEW_PHP')) $lang_search_new_php = array(
-  'page_title' => 'Új képek keresése',
-  'select_dir' => 'Válassz könyvtárat',
-  'select_dir_msg' => 'Ez a szólgáltatás lehetővé teszi egynél több kép egyidejü feltöltését FTP-n keresztül.<br /><br />Válassz könyvtárat, ahová feltölteni kívánsz.', //cpg1.4
-  'no_pic_to_add' => 'Nem lett hozzáadva semmi sem',
-  'need_one_album' => 'Legalább 1 albumnak léteznie kell a szolgáltatás használatához',
-  'warning' => 'Figyelem',
-  'change_perm' => 'A program nem tud írni a könyvtárba. Meg kell változtatnod a jogosultságokat (chmod) 755-ra vagy 777-re, mielőtt fájlokat adnál hozzá!',
-  'target_album' => '<b>Tedd a  &quot;</b>%s<b>&quot; képeit </b>%s helyre',
-  'folder' => 'Könyvtár',
-  'image' => 'Kép',
-  'album' => 'Album',
-  'result' => 'Eredmény',
-  'dir_ro' => 'Nem írható',
-  'dir_cant_read' => 'Nem olvasható',
-  'insert' => 'Új kép beillesztése a képtárba',
-  'list_new_pic' => 'Új képek listája',
-  'insert_selected' => 'Kiválasztott képek beillesztése',
-  'no_pic_found' => 'Nincs új kép',
-  'be_patient' => 'Légy türelemmel, a képek hozzáadása időbe telik',
-  'no_album' => 'Nincs album kiválasztva',
-  'result_icon' => 'Kattints ide a részletekért',  //cpg1.4
-  'notes' =>  '<ul>'.
-    '<li><b>OK</b> : jelentése - a kép sikeresen hozzáadva'.
-    '<li><b>DP</b> : jelentése - a kép már szerepel az adatbázisban'.
-    '<li><b>PB</b> : Jelentése - a képet nem sikerült hozzáadni, ellenőrizd a konfigurációt és a könyvtár jogusultságokat'.
-    '<li><b>NA</b> : jelentése - nem lett album kiválasztva, kattints a \'<a href="javascript:history.back(1)">vissza</a>\' -ra és válassz egyet. Ha nincs kiválasztható album, akkor <a href="albmgr.php">hozz létre elöszőr egyet</a>.</li>'.
-    '<li>Ha OK, DP, PB \'jelek\' nem jelennek meg, kattints a törött fájlra, hogy megnézhesd a PHP által adott hibaüzenetet'.
-    '<li>Ha a böngésződ időtúllépést jelez, kattints az Újratöltés (F5) gombra'.
-    '</ul>',
-  'select_album' => 'Válassz albumot',
-  'check_all' => 'Összes kiválasztása',
-  'uncheck_all' => 'Összes kiválasztás törlése',
-  'no_folders' => 'Nincs könyvtár létrehozva az "albums" könyvtáron belül. Létre kell hoznod legalább 1 felhasználói könyvtárat az "albums" könyvtár alatt és fájlokat kell feltöltened. Tilos feltöltésre használni a "userpics" vagy az "edit" könyvtárakat, e könyvtárak fenntartva vannak belső használatra.', //cpg1.4
-   'albums_no_category' => 'Kategória nélküli albumok', //cpg1.4 // album pulldown mod, added by frogfoot
-  'personal_albums' => '* Személyes albumok', //cpg1.4 // album pulldown mod, added by frogfoot
-  'browse_batch_add' => 'Böngészhető felület (ajánlott)', //cpg1.4
-  'edit_pics' => 'Képek szerkesztése', //cpg1.4
-  'edit_properties' => 'Album tulajdonságok', //cpg1.4
-  'view_thumbs' => 'Indexkép nézet', //cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File stat_details.php //cpg1.4
-// ------------------------------------------------------------------------- //
-
-if (defined('STAT_DETAILS_PHP')) $lang_stat_details_php = array(
-  'show_hide' => 'Oszlop megjelenítése/elrejtése', //cpg1.4
-  'vote' => 'Szavazat részletei', //cpg1.4
-  'hits' => 'Találat részletei', //cpg1.4
-  'stats' => 'Szavazat statisztika', //cpg1.4
-  'sdate' => 'Dátum', //cpg1.4
-  'rating' => 'Helyezés', //cpg1.4
-  'search_phrase' => 'Kereső kifejezés', //cpg1.4
-  'referer' => 'Hivatkozás', //cpg1.4
-  'browser' => 'Böngésző', //cpg1.4
-  'os' => 'Operációs rendszer', //cpg1.4
-  'ip' => 'IP-cím', //cpg1.4
-  'sort_by_xxx' => 'Rendezés %s szerint', //cpg1.4
-  'ascending' => 'növekvő', //cpg1.4
-  'descending' => 'csökkenő', //cpg1.4
-  'internal' => 'belső', //cpg1.4
-  'close' => 'bezár', //cpg1.4
-  'hide_internal_referers' => 'belső hivatkozások elrejtése', //cpg1.4
-  'date_display' => 'Dátum formátum', //cpg1.4
-  'submit' => 'elfogad/frissít', //cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File thumbnails.php
-// ------------------------------------------------------------------------- //
-
-// Void
-
-// ------------------------------------------------------------------------- //
-// File upload.php
-// ------------------------------------------------------------------------- //
-
-if (defined('UPLOAD_PHP')) $lang_upload_php = array(
-  'title' => 'Kép feltöltése',
-  'custom_title' => 'Egyedi kérdőív',
-  'cust_instr_1' => 'Választhatsz egyedi feltölő dobozokat, de nem választhatsz többet az alábbi értékeknél.',
-  'cust_instr_2' => 'Kérhető doboz számok',
-  'cust_instr_3' => 'Kép feltöltő doboz: %s',
-  'cust_instr_4' => 'URI/URL feltöltő doboz: %s',
-  'cust_instr_5' => 'URI/URL feltöltő doboz:',
-  'cust_instr_6' => 'Kép feltöltő doboz:',
-  'cust_instr_7' => 'Töltsd ki adatokkal az itt megadott dobozokat, majd kattints a  \'tovább\'-ra.',
-  'reg_instr_1' => 'Érvénytelen művelet az űrlap létrehozásakor.',
-  'reg_instr_2' => 'Most feltöltheted a képeid a lenti dobozok használatával. A kép mérete nem lehet nagyobb %s kB-nál. Zip fájlok tömörítve kerülnek feltöltésre.',
-  'reg_instr_3' => 'Ha azt akarod, hogy a zip fájlok ki legyenek csomagolva, akkor a megfelelő feltöltő dobozt kell használnod.',
-  'reg_instr_4' => 'Ha az URI/URL feltöltő módot használod, akkor add meg a kép útvonalát pl. ilyen formában: \'http://www.sajat.hu/kepek/kepneve.jpg\'',
-  'reg_instr_5' => 'Ha végeztél a kitöltéssel, kattints a \'tovább\'-ra.',
-  'reg_instr_6' => 'Zip feltöltés:',
-  'reg_instr_7' => 'Kép feltöltés:',
-  'reg_instr_8' => 'URI/URL feltöltés:',
-  'error_report' => 'Hiba jelentés',
-  'error_instr' => 'A következő feltöltésekkel volt probléma:',
-  'file_name_url' => 'Fájlnév/URL',
-  'error_message' => 'Hibaüzenet',
-  'no_post' => 'A kép nem lett feltöltve .',
-  'forb_ext' => 'Nem megengedett kiterjesztés.',
-  'exc_php_ini' => 'A fájlméret túllépte a php.ini-ben megadott értéket.',
-  'exc_file_size' => 'A fájlméret túllépte a Coppermine konfigurációban megadottat.',
-  'partial_upload' => 'Csak részleges feltöltés.',
-  'no_upload' => 'Nem történt feltöltés.',
-  'unknown_code' => 'Ismeretlen PHP-Upload hibakód.',
-  'no_temp_name' => 'Nincs feltöltés - Nincs ideiglenes név.',
-  'no_file_size' => 'Nem tartalamaz adatot/sérült',
-  'impossible' => 'Nem lehet mozgatni.',
-  'not_image' => 'Nem kép/sérült',
-  'not_GD' => 'Nem GD kiterjesztés.',
-  'pixel_allowance' => 'Túl nagy képszélesség vagy képmagasság.',
-  'incorrect_prefix' => 'Hibás URI/URL előtag',
-  'could_not_open_URI' => 'Nem lehet kapcsolodni az URI-hoz.',
-  'unsafe_URI' => 'Nem biztonságos cím.',
-  'meta_data_failure' => 'Meta adat hiba',
-  'http_401' => '401 Nem azonosított felhasználó',
-  'http_402' => '402 Fizetés szükséges',
-  'http_403' => '403 Tiltott',
-  'http_404' => '404 Nem található',
-  'http_500' => '500 Belső hiba',
-  'http_503' => '503 A szolgáltatás nem elérhető',
-  'MIME_extraction_failure' => 'Ismeretlen MIME tartalom.',
-  'MIME_type_unknown' => 'Ismeretlen MIME típus',
-  'cant_create_write' => 'Nem lehet létrehozni az írásfájlt.',
-  'not_writable' => 'Nem lehet írni az írásfájlba.',
-  'cant_read_URI' => 'Nem lehet olvasni az  URI/URL-t',
-  'cant_open_write_file' => 'Nem lehet megnyitni az URI/URL írásfájlt.',
-  'cant_write_write_file' => 'Nem lehet írni az URI írásfájlba.',
-  'cant_unzip' => 'Nem lehet kicsomagolni.',
-  'unknown' => 'Ismeretlen hiba',
-  'succ' => 'Sikeres feltöltés',
-  'success' => '%s db feltöltés sikeres.',
-  'add' => 'Kattints a  \'tovább\'-ra, a képek albumba helyezéséhez.',
-  'failure' => 'Feltöltési hiba',
-  'f_info' => 'Fájl információ',
-  'no_place' => 'Az elöző fájl nem lett elhelyezve.',
-  'yes_place' => 'Az elöző fájl sikeresen elhelyezve.',
-  'max_fsize' => 'A megengedett legnagyobb fájlméret: %s kB',
-  'album' => 'Album',
-  'picture' => 'Kép',
-  'pic_title' => 'Kép címe',
-  'description' => 'Kép leírása',
-  'keywords' => 'Kulcsszavak (veszővel elválasztva)<br /><a href="#" onClick="return MM_openBrWindow(\'keyword_select.php\',\'selectKey\',\'width=250, height=400, scrollbars=yes,toolbar=no,status=yes,resizable=yes\')">beillesztés listából</a>', //cpg1.4
-  'keywords_sel' =>'Válassz kulcsszót', //cpg1.4
-  'err_no_alb_uploadables' => 'Sajnálom, de nincs egy album se, ahova fel tudnád tölteni a képet',
-  'place_instr_1' => 'Kérünk, most helyezd el a képet az albumban.  Minden egyes képnek add meg a lényeges adatait.',
-  'place_instr_2' => 'További fájlok elhelyezéséhez kattints a \'folytatás\'-ra!',
-  'process_complete' => 'Összes fájl sikeresen elhelyezve.',
-  'albums_no_category' => 'Album kategória nélkül', //cpg1.4. //album pulldown mod, added by frogfoot
-  'personal_albums' => '* Személyes album', //cpg1.4 //album pulldown mod, added by frogfoot
-  'select_album' => 'Válassz albumot', //cpg1.4 //album pulldown mod, added by frogfoot
-  'close' => 'bezárás', //cpg1.4
-  'no_keywords' => 'Nincs elérhető kulcsszó!', //cpg1.4
-  'regenerate_dictionary' => 'Szótár frissítése', //cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File usermgr.php
-// ------------------------------------------------------------------------- //
-
-if (defined('USERMGR_PHP')) $lang_usermgr_php = array(
-  'memberlist' => 'Tagok listája', //cpg1.4
-  'user_manager' => 'Felhasználó kezelés', //cpg1.4
-  'title' => 'Felhasználó kezelő',
-  'name_a' => 'Név szerint növekvő',
-  'name_d' => 'Név szerint csökkenő',
-  'group_a' => 'Csoport szerint növekvő',
-  'group_d' => 'Csoport szerint csökkenő',
-  'reg_a' => 'Regisztráció ideje szerint növekvő',
-  'reg_d' => 'Regisztráció ideje szerint csökkenő',
-  'pic_a' => 'Kép szám szerint növekvő',
-  'pic_d' => 'Kép szám szerint csökkenő',
-  'disku_a' => 'Lemez használat szerint növekvő',
-  'disku_d' => 'Lemez használat szerint csökkenő',
-  'lv_a' => 'Utolsó bejelentkezés szerint növekvő',
-  'lv_d' => 'Utolsó bejelentkezés szerint csökkenő',
-  'sort_by' => 'Felhasználók rendezése',
-  'err_no_users' => 'A felhasználó-tábla üres!',
-  'err_edit_self' => 'Nem tudod szerkeszteni a saját adataidat, használd erre a \'Saját adatok\' menüt!',
-  'edit' => 'szerkesztés', //cpg1.4
-  'with_selected' => 'kiválasztva:', //cpg1.4
-  'delete' => 'törlés', //cpg1.4
-  'delete_files_no' => 'tartsd meg a nyilvános képeket (de névtelenítsd)', //cpg1.4
-  'delete_files_yes' => 'a nyilvános képek törlése is', //cpg1.4
-  'delete_comments_no' => 'tartsd meg a nyilvános hozzászólásokat (de névtelenítsd)', //cpg1.4
-  'delete_comments_yes' => 'a nyilvános hozzászólások törlése is', //cpg1.4
-  'activate' => 'Bekapcsolva', //cpg1.4
-  'deactivate' => 'Kikapcsolva', //cpg1.4
-  'reset_password' => 'Jelszó alaphelyzetbe állítása', //cpg1.4
-  'change_primary_membergroup' => 'Elsődleges csoport beállítása', //cpg1.4
-  'add_secondary_membergroup' => 'Másodlagos csoport beállítása', //cpg1.4
-  'name' => 'Felhasználói név',
-  'group' => 'Csoport',
-  'inactive' => 'Inaktív',
-  'operations' => 'Művelet',
-  'pictures' => 'Képek',
-  'disk_space_used' => 'Használt lemezterület', //cpg1.4
-  'disk_space_quota' => 'Lemezkvóta', //cpg1.4
-  'registered_on' => 'Regisztráció', //cpg1.4
-  'last_visit' => 'Utolsó bejelentkezés',
-  'u_user_on_p_pages' => '%d felhasználó %d oldalon',
-  'confirm_del' => 'Biztos, hogy törlöd ezt a felhasználót? \\nAz összes fájla is törlődni fog.', //js-alert
-  'mail' => 'Levél',
-  'err_unknown_user' => 'Nem létező felhasználó!',
-  'modify_user' => 'Felhasználó módosítása',
-  'notes' => 'Megjegyzések',
-  'note_list' => '<li>Ha nem változtatsz jelszót, akkor hagyd a "Jelszó" mezőt üresen.',
-  'password' => 'Jelszó',
-  'user_active' => 'Aktív felhasználó',
-  'user_group' => 'Felhasználó csoportja',
-  'user_email' => 'Felhasználó email címe',
-  'user_web_site' => 'Felhasználó honlapja',
-  'create_new_user' => 'Új felhasználó létrehozása',
-  'user_location' => 'Helység',
-  'user_interests' => 'Hobbi/érdeklődési kör',
-  'user_occupation' => 'Foglalkozás',
-  'user_profile1' => '$user_profile1', //cpg1.4
-  'user_profile2' => '$user_profile2', //cpg1.4
-  'user_profile3' => '$user_profile3', //cpg1.4
-  'user_profile4' => '$user_profile4', //cpg1.4
-  'user_profile5' => '$user_profile5', //cpg1.4
-  'user_profile6' => '$user_profile6', //cpg1.4
-  'latest_upload' => 'Legújabb feltöltések',
-  'never' => 'Soha',
-  'search' => 'Felhasználó keresése', //cpg1.4
-  'submit' => 'Elfogad', //cpg1.4
-  'search_submit' => 'Tovább!', //cpg1.4
-  'search_result' => 'Keresés eredménye: ', //cpg1.4
-  'alert_no_selection' => 'Először válassz egy felhasználót!', //cpg1.4 //js-alert
-  'password' => 'Jelszó', //cpg1.4
-  'select_group' => 'Válassz csoportot!', //cpg1.4
-  'groups_alb_access' => 'A csoport album-jogosultságai', //cpg1.4
-  'album' => 'Album', //cpg1.4
-  'category' => 'Kategória', //cpg1.4
-  'modify' => 'Módosítod?', //cpg1.4
-  'group_no_access' => 'Ennek a csoportnak nincs speciális hozzáférése', //cpg1.4
-  'notice' => 'Értesítés', //cpg1.4
-  'group_can_access' => 'Az Album(ok)-hoz , csak "%s" férhet hozzá', //cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File util.php
-// ------------------------------------------------------------------------- //
-
-if (defined('UTIL_PHP')) {
-$lang_util_desc_php = array(
-'Címek frissítése fájlból', //cpg1.4
-'Címek törlése', //cpg1.4
-'Indexképek újragenerálása és a képek átméretezése', //cpg1.4
-'Az eredeti képek felülírása az átméretezett képekkel', //cpg1.4
-'Az eredeti és köztes képek törlése hely felszabadításhoz', //cpg1.4
-'Árva hozzászólások törlése', //cpg1.4
-'A fájlméretek újraolvasása (ha kézzel szerkesztettük a képet)', //cpg1.4
-'Megtekintési számláló nullázása', //cpg1.4
-'phpinfo megjelenítése', //cpg1.4
-'Adatbázis frissítése', //cpg1.4
-'Naplófájlok megjelenítése', //cpg1.4
-);
-$lang_util_php = array(
-  'title' => 'Rendszergazda eszközök (kép átméretezés)',
-  'what_it_does' => 'Mit csinál',
-  'file' => 'Kép',
-  'problem' => 'Hiba', //cpg1.4
-  'status' => 'Státusz', //cpg1.4
-  'title_set_to' => 'A cím beállítva erre',
-  'submit_form' => 'tovább',
-  'updated_succesfully' => 'sikeres frissítés',
-  'error_create' => 'Hibás létrehozás',
-  'continue' => 'további kép',
-  'main_success' => 'A(z) %s sikeresen használható fő fájlként',
-  'error_rename' => 'Hiba az átnevezéskor %s erről %s erre',
-  'error_not_found' => 'A(z) %s fájl nem található',
-  'back' => 'Vissza a főoldalra',
-  'thumbs_wait' => 'Indexképek frissítése vagy a a képek átméretezése folyik, türelmedet kérjük...',
-  'thumbs_continue_wait' => 'tovább a indexképek frissítéséhez vagy az átméretezéshez...',
-  'titles_wait' => 'Címek frissítése, türelmedet kérjük...',
-  'delete_wait' => 'Címek törlése, türelmedet kérjük...',
-  'replace_wait' => 'Az eredeti képek felülírása az átméretezett képekkel, türelmedet kérjük...',
-  'instruction' => 'Gyors útmutató',
-  'instruction_action' => 'Válassz műveletet',
-  'instruction_parameter' => 'Válasz paramétert',
-  'instruction_album' => 'Válasz albumot',
-  'instruction_press' => 'Kattints %s -ra',
-  'update' => 'Indexképek és átméretezett képek frissítése',
-  'update_what' => 'Mi lett frissítve',
-  'update_thumb' => 'Csak az indexkép',
-  'update_pic' => 'Csak az átméretezett kép',
-  'update_both' => 'A kép és az indexkép is',
-  'update_number' => 'Egyszerre feldolgozott képek száma',
-  'update_option' => '(Csökkentsd a számot, ha időtúllépést tapasztalsz)',
-  'filename_title' => 'Fájlnév &rArr; képcím',
-  'filename_how' => 'Mi legyen a fájnévvel',
-  'filename_remove' => 'A .jpg kiterjesztés törlése és kicserélése _ (aláhúzás)-ra',
-  'filename_euro' => '2003_11_23_13_20_20.jpg változtatása 23/11/2003 13:20 -ra',
-  'filename_us' => '2003_11_23_13_20_20.jpg változtatása 11/23/2003 13:20 -ra',
-  'filename_time' => '2003_11_23_13_20_20.jpg változtatása 13:20 -ra',
-  'delete' => 'A képcímek és eredeti képek törlése',
-  'delete_title' => 'Képcímek törlése',
-  'delete_title_explanation' => 'Az összes cím és kép törlése a megadott albumból', //cpg1.4
-  'delete_original' => 'Az eredeti képek törlése',
-  'delete_original_explanation' => 'Teljes méretű képek törlése', //cpg1.4
-  'delete_intermediate' => 'Köztes képek törlése', //cpg1.4
-  'delete_intermediate_explanation' => 'A köztes képek törlése.<br />Használd ezt a lemez terület felszabadításra, ha a \'köztes kép létrehozzása\' opció letiltva a beállításoknál.', //cpg1.4
-  'delete_replace' => 'Az eredeti képek felülírása az átméretezett képekkel',
-  'titles_deleted' => 'Az összes cím eltávolítva a megadott albumból', //cpg1.4
-  'deleting_intermediates' => 'Köztes képek törlése , türelmedet kérjük...', //cpg1.4
-  'searching_orphans' => 'Árva fájlok keresése, türelmedet kérjük...', //cpg1.4
-  'select_album' => 'Válasz albumot',
-  'delete_orphans' => 'A hiányzó képekhez tartozó hozzászólások törlése', //cpg1.4
-  'delete_orphans_explanation' => 'Ez az opció azonosítja és lehetővé teszi a képekhez nem tartozó hozzászólások törlését.<br />Az összes albumot ellenőrizd.', //cpg1.4
-  'refresh_db' => 'A fájméret és képméret adatok újraolvasása.', //cpg1.4
-  'refresh_db_explanation' => 'Az kép adatok újraolvasása. Használata ajánlott kvóta problémák esetén, vagy a kép kézi szerkesztése után..', //cpg1.4
-  'reset_views' => 'Megtekintési számláló nullázása', //cpg1.4
-  'reset_views_explanation' => 'Az összes számláló nullázása a megadott albumban.', //cpg1.4
-  'orphan_comment' => 'Árva hozzászólás található',
-  'delete' => 'törlés',
-  'delete_all' => 'mind törlése',
-  'delete_all_orphans' => 'Az összes árva hozzászólást törlöd?', //cpg1.4
-  'comment' => 'Hozzászólás: ',
-  'nonexist' => 'nem létező fájlhoz csatolva # ',
-  'phpinfo' => 'phpinfo megjelenítése',
-  'phpinfo_explanation' => 'Technikai információk megjelenítése a szerverről.', //cpg1.4
-  'update_db' => 'Adatbázis frissítése',
-  'update_db_explanation' => 'Ha visszamented a Coppermine program fájlait, vagy újabb verzióra cserélted, akkor ajánlott egyszer lefuttattni a frissítést, hogy a megfelelő táblák létrejöjjenek, illetve helyes értékeket tartalmazzanak.',
-  'view_log' => 'Naplófájl megtekintése', //cpg1.4
-  'view_log_explanation' => 'Coppermine sokféle felhasználói műveletet tud rögzíteni. A naplók között keresgélhetünk, ha a naplózás engedélyezve van a <a href="admin.php">Beállítások</a>-ban.', //cpg1.4
-  'versioncheck' => 'Verzió ellenőrzése', //cpg1.4
-  'versioncheck_explanation' => 'A fájl verzió számának ellenőrzése a coppermine program frissítése után.', //cpg1.4
-  'bridgemanager' => 'Kötés kezelő', //cpg1.4
-  'bridgemanager_explanation' => 'Az együttműködés (kötés) engedélyezése/tiltása a Coppermine és más programok (pl. fórum) közt.', //cpg1.4
-);
-}
-
-// ------------------------------------------------------------------------- //
-// File versioncheck.php //cpg1.4
-// ------------------------------------------------------------------------- //
-
-if (defined('VERSIONCHECK_PHP')) $lang_versioncheck_php = array(
-  'title' => 'Verzió ellenőrzés', //cpg1.4
-  'what_it_does' => 'Ez az oldal jelentést ad azon felhasználóknak, akik frissítették a programjukat. Ez a eljárás ellenőrzi, hogy a webszerveren található fájlok verziója megegyezik-e http://coppermine.sourceforge.net webhelyen találhatókkal. Így áttekintés kapunk a frissítés sikerességéről.<br />Pirossal azokat mutatja, melyeket muszáj cserélni újabbra. Sárgával azokat, melyeket ajánlott cserélni. Zölddel (vagy az alapértelmezett betűszínnel) azokat mutatja, amely fájlok legújabb verziójúak.<br />Kattints az ikonra a részletekért.', //cpg1.4
-  'online_repository_unable' => 'Nem lehet kapcsolódni a fájlraktárhoz', //cpg1.4
-  'online_repository_noconnect' => 'Coppermine nem tud kapcsolódni a fájlraktárhoz. Ennek két oka lehet:', //cpg1.4
-  'online_repository_reason1' => 'A Coppermine fájlraktár kikapcsolt állapotban van. Ellenőrizd, hogy megtekinthető-e ez a weboldal: %s - ha nem, akkor probálkozz később.', //cpg1.4
-  'online_repository_reason2' => 'A PHP  %s beállítás a böngésződben ki van kapcsolva (alapértelmezetten bekapcsolva van). Ha rendszergazdája vagy a webszervernek akkor kapcsold be a<i>php.ini</i>-ben (%s felülírásának engedélyezése). Ha csak webhostolt vagy, akkor bele kell törődnöd, hogy nem tudod interneten keresztül ellenőrízni a fájlok frisseségét. Ekkor az oldal csak a telepített fájlok verzióját jeleníti meg.', //cpg1.4
-  'online_repository_skipped' => 'A fájlraktárhoz való kapcsolódás kihagyva', //cpg1.4
-  'online_repository_to_local' => 'A program a jelenlegi fájl verziókat veszi alapértelmezetnek. Az adatok pontatlanokká válnak, ha a Coppermine frissítésekor nem sikerül az összes fájlt feltőlteni. Ekkor nem lesz minden fájl a megfelő kiadású.', //cpg1.4
-  'local_repository_unable' => 'Nem lehet a helyi fájlraktárhoz kapcsolódni', //cpg1.4
-  'local_repository_explanation' => 'Coppermine nem tud a(z) %s fájlraktárhoz kapcsolódni a szerveren. Ez azt jelenti, hogy a raktárkészlet fájl nem lett feltöltve. Probáld meg az oldalt újra futattni (kattits a "frissítés"-re).<br />Ha hibát jelez, akkor a webhostodon tiltottak a webelemek számára a <a href="http://www.php.net/manual/de/ref.filesystem.php">PHP fájlműveletek</a> . Ez esetben sajnáljuk, de nem használhatod ezt az eszközt.', //cpg1.4
-  'coppermine_version_header' => 'Telepített Coppermine verzió', //cpg1.4
-  'coppermine_version_info' => 'Jelenleg telepített: %s', //cpg1.4
-  'coppermine_version_explanation' => 'Ha szerinted hibás a megjelenő adat, akkor lehet, hogy nem lett feltöltve a legfrisseb adatokat tartalmazzó <i>include/init.inc.php</i> fájl', //cpg1.4
-  'version_comparison' => 'Verzió összehasonlítás', //cpg1.4
-  'folder_file' => 'Könyvtár/fájl', //cpg1.4
-  'coppermine_version' => 'cpg verzió', //cpg1.4
-  'file_version' => 'Fájl verzió', //cpg1.4
-  'webcvs' => 'web svn', //cpg1.4
-  'writable' => 'írható', //cpg1.4
-  'not_writable' => 'nem írható', //cpg1.4
-  'help' => 'Segítség', //cpg1.4
-  'help_file_not_exist_optional1' => 'Fájl/mappa nem létezik', //cpg1.4
-  'help_file_not_exist_optional2' => 'A(z) %s nem található a szerveren. Ez a fájl opciónális, a probléma megoldásához töltsd fel a szervere valamilyen FTP programot használva.', //cpg1.4
-  'help_file_not_exist_mandatory1' => 'Fájl/mappa nem létezik', //cpg1.4
-  'help_file_not_exist_mandatory2' => 'A(z) %s nem található a szerveren. Ez a fájl szükséges, a probléma megoldásához töltsd fel a szervere valamilyen FTP programot használva.', //cpg1.4
-  'help_no_local_version1' => 'Nincs lokális fájl verzió', //cpg1.4
-  'help_no_local_version2' => 'Nem lehet meghatározni a fájl verzióját. A fájl régi vagy módosítva lett, esetleg eltávolították a fejlécét. Ajánlott a frissítése', //cpg1.4
-  'help_local_version_outdated1' => 'Lejárt a fájl verziója', //cpg1.4
-  'help_local_version_outdated2' => 'Ez a fájl valószinűleg egy régebbi Coppermine verzióhoz tartozik. Bizonyosodj meg, hogy nincs-e újabb.', //cpg1.4
-  'help_local_version_na1' => 'Nem lehet meghatározni a CVS adatokat', //cpg1.4
-  'help_local_version_na2' => 'A program nem tudja eldönteni a CVS verzió adatokat a webszerver fájljairól. A fájlokat felrakhatod csomagból.', //cpg1.4
-  'help_local_version_dev1' => 'Fejlesztői verzió', //cpg1.4
-  'help_local_version_dev2' => 'A fájlok a webszerveren újabbak mint a  Coppermine verziód. Ez azért lehet, mert fejlesztői változatott használsz vagy frissítés után nem töltötted fel az include/init.inc.php fájlt.', //cpg1.4
-  'help_not_writable1' => 'Nem irható könyvtár', //cpg1.4
-  'help_not_writable2' => 'Módosítsd a jogosultságokat (CHMOD), hogy a program írni tudja %s a könyvtárat mindenki számára.', //cpg1.4
-  'help_writable1' => 'A könyvtár írható', //cpg1.4
-  'help_writable2' => 'A %s könyvtár írható. Ez felesleges biztonsági rés, a Coppermine programnak csak olvasási és futtatási jog kell.', //cpg1.4
-  'help_writable_undetermined' => 'Nem lehet meghatározni, hogy a könyvtár írható-e.', //cpg1.4
-  'your_file' => 'Saját fájl', //cpg1.4
-  'reference_file' => 'Referencia fájl', //cpg1.4
-  'summary' => 'Összefoglaló', //cpg1.4
-  'total' => 'Összes fájl/mappa ellenőrízve', //cpg1.4
-  'mandatory_files_missing' => 'Hiányzó szükséges fájlok', //cpg1.4
-  'optional_files_missing' => 'Hiányzó opcionális fájlok', //cpg1.4
-  'files_from_older_version' => 'Régebbi verziójú fájlok', //cpg1.4
-  'file_version_outdated' => 'Lejárt verziójú fájlok', //cpg1.4
-  'error_no_data' => 'A program hibázott, nem tudja meghatározni az információkat, sajnáljuk', //cpg1.4
-  'go_to_webcvs' => 'Ugrás %s -ra', //cpg1.4
-  'options' => 'Opciók', //cpg1.4
-  'show_optional_files' => 'Opciónális fájlok megjelenítése', //cpg1.4
-  'show_mandatory_files' => 'Szükséges fájlok megjelenítése', //cpg1.4
-  'show_file_versions' => 'Fájl verziók megjelenítése', //cpg1.4
-  'show_errors_only' => 'Csak a hibásak megjelenítése', //cpg1.4
-  'show_permissions' => 'Könyvtár jogosultságok', //cpg1.4
-  'show_condensed_output' => 'Tömőrített jelentés (könnyebb screenshot-ot készíteni)', //cpg1.4
-  'coppermine_in_webroot' => 'Coppermine a dokumentum gyökérbe van telepítve', //cpg1.4
-  'connect_online_repository' => 'Kapcsolódás az internetes fájlraktárhoz', //cpg1.4
-  'show_additional_information' => 'Kiegészítő adatok megjelenítése', //cpg1.4
-  'no_webcvs_link' => 'Ne mutassa a Web-CVS linkeket ', //cpg1.4
-  'stable_webcvs_link' => 'A Web-CVS linkek  megjelenítése a "végleges állapot" részben', //cpg1.4
-  'devel_webcvs_link' => 'A Web-CVSl inkek megjelenítése a "fejlesztői állapot" részben', //cpg1.4
-  'submit' => 'változások elfogadása/frissítés', //cpg1.4
-  'reset_to_defaults' => 'Visszaállítás alaphelyzetbe', //cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File view_log.php  //cpg1.4
-// ------------------------------------------------------------------------- //
-
-if (defined('VIEWLOG_PHP')) $lang_viewlog_php = array(
-  'delete_all' => 'Összes naplófájl törlése', //cpg1.4
-  'delete_this' => 'Ennek a naplónak a törlése', //cpg1.4
-  'view_logs' => 'Napló megtekintése', //cpg1.4
-  'no_logs' => 'Nem lett napló létrehozva', //cpg1.4
-);
-
-
-// ------------------------------------------------------------------------- //
-// File xp_publish.php //cpg1.4
-// ------------------------------------------------------------------------- //
-
-if (defined('XP_PUBLISH_PHP')) {
-
-$lang_xp_publish_client = <<<EOT
-<h1>XP web közététel varázsló</h1><p>Ez a modul lehetővé teszi a  <b>Windows XP</b> web közététel varázsló használatát a Coppermine Képtárral.</p><p>A kód újságcikkre alapul, beküldte:
-EOT;
-
-$lang_xp_publish_required = <<<EOT
-<h2>Mi szükséges hozzá</h2><ul><li>Windows XP, beépített varázslója.</li><li>Működő Coppermine Képtár<b> helyesen működő webes feltöltéssel</b></li></ul><h2>Mit kell telepíteni a kliens oldalon</h2><ul><li>Jobb kattintás a 
-EOT;
-
-$lang_xp_publish_select = <<<EOT
-Válaszd a &quot;Mentés másként..&quot; pontot. Mentsd le a helyi lemezre. A lementés után ellenőrízd, hogy a fájlnév  <b>cpg_###.reg</b> (A ###-időbélyeget mutat). Kattints kettőt a fájlra, hogy regisztráld a szervered a webes közététel varázsló számára.</li></ul>
-EOT;
-
-$lang_xp_publish_testing = <<<EOT
-<h2>Próba</h2><ul><li>A Windows intézőjében válassz ki néhány képet és kattints a <b>xxx közététele a weben</b> menüre a bal-panelen</li><li>Erősítsd meg a kiválasztásokat, majd kattints a <b>következő</b>-re.</li><li>A megjelenő listából válasszd ki a fotóképtárat (a neve a te képtárad neve). Ha nem látszik a listában, akkor ellenőrízd, hogy telepítve van a <b>cpg_pub_wizard.reg</b> a fent leírtak szerint.</li><li>Add meg a bejelentkezési információkat, ha szükséges.</li><li>Válassz cél albumot a képek számára vagy hoz létre újat.</li><li>Kattints a <b>tovább</b>-ra. A feltöltés elkezdődik.</li><li>Ha befejeződik a feltöltés, ellenőrizd, hogy a képek rendben bekerültek a képtárba.</li></ul>
-EOT;
-
-$lang_xp_publish_notes = <<<EOT
-<h2>Anmerkungen :</h2><ul> Ha a feltöltés elindult, akkor a program már nem tud hibaüzeneteket megjeleníteni, ezért addig nem tudod, hogy sikeres volt-e a feltöltés, amig nem nézed meg a képtárban.</li><li>Ha sikertelen volt akkor, engedélyezd a &quot;Debug-Módquot;-ot a képtár rendszergazdai oldalán, majd 1 képpel probálkoz újra, és nézd meg a hibaüzenetet a
-EOT;
-
-$lang_xp_publish_flood = <<<EOT
-A fájl, amely a szervered Coppermine könyvtárában található.</li><li>Hogy elkerüljük a képtár támadását a képfeltöltő varázslón keresztül, csak a képtár rendszergazdái, illetve azok a felhasználók használhatják ezt a funkciót, akik saját albummal rendelkeznek,</li>
-EOT;
-
-
-
-$lang_xp_publish_php = array(
-  'title' => 'Coppermine - XP Web közzététel segítő', //cpg1.4
-  'welcome' => 'Üdvözzőlek <b>%s</b>,', //cpg1.4
-  'need_login' => 'Be kell jelentkezned a képtárba a böngésződet használva, mielőtt használnád a varázslót.<p/><p>Bejelentkezéskor ne felejts el bejelölni az &quot;<b>Emlékezz rám</b>&quot; opciót.', //cpg1.4
-  'no_alb' => 'Sajnáljuk, de nincs egy album sem, ahova fel tudnál tölteni képet a varázslóval.', //cpg1.4
-  'upload' => 'Képek feltöltése létező albumra', //cpg1.4
-  'create_new' => 'Új album létrehozása a képek számára', //cpg1.4
-  'album' => 'Album', //cpg1.4
-  'category' => 'Kategória', //cpg1.4
-  'new_alb_created' => 'Az új &quot;<b>%s</b>&quot; albumod elkészítve.', //cpg1.4
-  'continue' => 'Kattints a &quot;tovább&quot;-ra, a képek feltöltésére', //cpg1.4
-  'link' => 'Ez a Link', //cpg1.4
-);
-}
+<?php
+/*************************
+  Coppermine Photo Gallery
+  ************************
+  Copyright (c) 2003-2009 Coppermine Dev Team
+  v1.1 originally written by Gregory DEMAR
+
+  This program is free software; you can redistribute it and/or modify
+  it under the terms of the GNU General Public License version 3
+  as published by the Free Software Foundation.
+  
+  ********************************************
+  Coppermine version: 1.4.25
+  $HeadURL: https://coppermine.svn.sourceforge.net/svnroot/coppermine/trunk/cpg1.4.x/lang/hungarian.php $
+  $Revision: 5997 $
+  $Author: gaugau $
+  $Date: 2009-05-26 08:43:24 +0200 (Di, 26 Mai 2009) $
+**********************************************/
+
+if (!defined('IN_COPPERMINE')) { die('Not in Coppermine...');}
+
+// info about translators and translated language
+$lang_translation_info = array(
+  'lang_name_english' => 'Hungarian', //cpg1.4
+  'lang_name_native' => 'Magyar', //cpg1.4
+  'lang_country_code' => 'hu', //cpg1.4
+  'trans_name'=> 'Zsolt Fenyvesvölgyi, Nagymáté Péter',
+  'trans_email' => 'mailfed@gmail.com',
+  'trans_email2' => 'pepe@ludens.elte.hu',
+  'trans_website' => 'http://www.egermuzeum.hu',
+  'trans_website2' => 'http://www.beagle.hu',
+  'trans_date' => '2007-04-10',
+  'trans_date2' => '2006-02-25',
+);
+
+$lang_charset = 'utf-8';
+$lang_text_dir = 'ltr'; // ('ltr' for left to right, 'rtl' for right to left)
+
+// shortcuts for Byte, Kilo, Mega
+$lang_byte_units = array('Bytes', 'KB', 'MB');
+
+// Day of weeks and months
+$lang_day_of_week = array('Vasárnap', 'Hétfő', 'Kedd', 'Szerda', 'Csütörtök', 'Péntek', 'Szombat');
+$lang_month = array('Január', 'Február', 'Március', 'Április', 'Május', 'Június', 'Július', 'Augusztus', 'Szeptember', 'Október', 'November', 'December');
+
+// Some common strings
+$lang_yes = 'Igen';
+$lang_no  = 'Nem';
+$lang_back = 'vissza';
+$lang_continue = 'folytatás';
+$lang_info = 'Információ';
+$lang_error = 'Hiba';
+$lang_check_uncheck_all = 'összes ellenőrzése'; //cpg1.4
+
+// The various date formats
+// See http://www.php.net/manual/en/function.strftime.php to define the variable below
+$album_date_fmt =    '%Y %B %d.';
+$lastcom_date_fmt =  '%y.%m.%d %H:%M kor';
+$lastup_date_fmt = '%Y %B %d.';
+$register_date_fmt = '%Y %B %d.';
+$lasthit_date_fmt = '%Y %B %d. %H:%M kor';
+$comment_date_fmt =  '%Y %B %d. %H:%M kor';
+$log_date_fmt = '%Y %B %d. %H:%M kor'; //cpg1.4
+
+// For the word censor
+$lang_bad_words = array('*fuck*', 'Fu\(*', 'fuk*', 'masturbat*', 'motherfucker', 'nigger*', 'penis', 'pussy', 'shit', 'titties', 'titty',  'arsch*', 'fick*', 'fotze', 'votze', 'Sieg Heil', 'Heil Hitler', 'Nutte', 'Möse', 'Moese', 'Pimmel', 'Schwengel', 'Titte*', 'bums*', 'Scheiss*', 'Scheiß*');
+
+$lang_meta_album_names = array(
+  'random' => 'Válogatás',
+  'lastup' => 'Legutóbb feltöltött',
+  'lastalb'=> 'Legutóbb frissített album',
+  'lastcom' => 'Legújabb hozászólás',
+  'topn' => 'Legtöbbet nézett',
+  'toprated' => 'Legjobb helyezett',
+  'lasthits' => 'Legutóbb megnézett',
+  'search' => 'Keresés eredménye',
+  'favpics'=> 'Kedvenc képek',  //cpg1.4
+);
+
+$lang_errors = array(
+  'access_denied' => 'Nincs jogod megnézni ezt az oldalt.',
+  'perm_denied' => 'Nincs jogosultságod a művelethez.',
+  'param_missing' => 'Hiányzó paraméterek.',
+  'non_exist_ap' => 'A kiválasztott album vagy kép nem létezik!',
+  'quota_exceeded' => 'Lemez terület kvóta túllépés<br /><br />A Te kvótád [quota] kB, jellenleg ennyi [space] kB-ot foglalsz, ennek a képnek a feltöltésekor túlléped a kvótád.',
+  'gd_file_type_err' => 'Amikor GD-könyvtárat használsz, a megengedett fájlformátum csak JPG vagy PNG .',
+  'invalid_image' => 'A feltöltött kép sérült vagy a GD könyvtár nem kezeli a fáljformátumot',
+  'resize_failed' => 'Nem lehet a képet átméretezni.',
+  'no_img_to_display' => 'Nincs megjeleníthető kép',
+  'non_exist_cat' => 'A kiválasztott kategória nem létezik',
+  'orphan_cat' => 'A kategóriának nem létezik szülője, futtassd a kategória rendezőt a hiba kijavításához!',
+  'directory_ro' => 'A \'%s\' könyvtár nem írható, a fájlt nem lehet törölni',
+  'non_exist_comment' => 'A kiválasztott megjegyzés nem létezik.',
+  'pic_in_invalid_album' => 'A kép egy nem létező albumban van (%s)!?',
+  'banned' => 'Jelenleg ki vagy zárva erről a weboldalról',
+  'not_with_udb' => 'Ez a funkció le van tiltva a Coppemine-ban , mert integrálva van egy fórum programmal. a kért művelet nincs támogatva, vagy a funkciót a fórum program kezeli.',
+  'offline_title' => 'Kikapcsolva',
+  'offline_text' => 'Ez a képgaléria kikapcsolt állapotban van - néz vissza később.', //cpg1.3.0
+  'ecards_empty' => 'Jellenleg egyetlen Ecard-ot sem lehet megjeleníteni!',
+  'action_failed' => 'Hibás művelet.A Coppermine nem tudja kiszolgálni a kérést.', //cpg1.3.0
+  'no_zip' => 'Nincs feltelepítve program a zip fájlok kezeléséhez. Keresd fel a rendszergazdát!',
+  'zip_type' => 'Nincs jogosultságod zip fájlok feltöltésére.',
+  'database_query' => 'Hiba történt az adatbázis lekérdezése közben.', //cpg1.4
+  'register_globals_on' => 'The PHP setting register_globals is enabled on your server, which is a bad idea in terms of security. It\'s strongly recommended to turn it off. [<a href="http://forum.coppermine-gallery.net/index.php/topic,59569.0.html" rel="external" class="external">more</a>]',
+);
+
+$lang_bbcode_help_title = 'Bulletin Board kód segítség'; //cpg1.4
+$lang_bbcode_help = 'Lehetőség van linkek hozzáadására és néhány formázásra, ha használod ezeket a BBCode formázókat: <li>[b]Kövér[/b] =&gt; <b>Kövér</b></li><li>[i]Dőlt[/i] =&gt; <i>Dőlt</i></li><li>[url=http://weblapod.hu/]Url szöveg[/url] =&gt; <a href="http://weblapod.hu">Url szöveg</a></li><li>[email]felhasználó@weblapod.hu[/email] =&gt; <a href="mailto:felhasználó@weblapod.hu">felhasználó@weblapod.hu</a></li><li>[color=red]Valami szöveg[/color] =&gt; <span style="color:red">Valami szöveg</span></li><li>[img]http://coppermine-gallery.net/demo/cpg14x/images/red.gif[/img] => <img src="../images/red.gif" border="0" alt="" /></li>'; //cpg1.4
+
+// ------------------------------------------------------------------------- //
+// File theme.php
+// ------------------------------------------------------------------------- //
+
+$lang_main_menu = array(
+  'home_title' => 'Ugrás a kezdőlapra',
+  'home_lnk' => 'Kezdőlap',
+  'alb_list_title' => 'Ugrás az album listára',
+  'alb_list_lnk' => 'Album lista',
+  'my_gal_title' => 'Ugrás a személyes képtárba',
+  'my_gal_lnk' => 'Személyes képtáram',
+  'my_prof_title' => 'Ugrás a profilomhoz', //cpg1.4
+  'my_prof_lnk' => 'Profilom',
+  'adm_mode_title' => 'Átváltás admin módba',
+  'adm_mode_lnk' => 'Admin mód',
+  'usr_mode_title' => 'Átváltás felhasználói módba',
+  'usr_mode_lnk' => 'Felhasználói mód',
+  'upload_pic_title' => 'Fájl feltöltése az albumba',
+  'upload_pic_lnk' => 'Fájl feltöltése',
+  'register_title' => 'Felhasználó létrehozása',
+  'register_lnk' => 'Regisztráció',
+  'login_title' => 'Léptess be!', //cpg1.4
+  'login_lnk' => 'Bejelentkezés',
+  'logout_title' => 'Léptess ki!', //cpg1.4
+  'logout_lnk' => 'Kijelentkezés',
+  'lastup_title' => 'Mutasd a legutóbbi feltöltéseket', //cpg1.4
+  'lastup_lnk' => 'Legújabb feltöltések',
+  'lastcom_title' => 'Mutasd a legutóbbi hozzászólásokat', //cpg1.4
+  'lastcom_lnk' => 'Legutolsó hozzászólás',
+  'topn_title' => 'Mutasd a legtöbbet nézet képeket', //cpg1.4
+  'topn_lnk' => 'Legtöbbet nézett',
+  'toprated_title' => 'Mutasd a tegtöbb szavazatot kapott képeket', //cpg1.4
+  'toprated_lnk' => 'Legjobb helyezett',
+  'search_title' => 'Keresés a képtárban', //cpg1.4
+  'search_lnk' => 'Keresés',
+  'fav_title' => 'Ugrás a kedvencekhez', //cpg1.4
+  'fav_lnk' => 'Kedvencek',
+  'memberlist_title' => 'Mutasd a felhasználók listáját',
+  'memberlist_lnk' => 'Felhasználók listája',
+  'faq_title' => 'Gyakran felett kérdések (Frequently Asked Questions)',
+  'faq_lnk' => 'GYIK',
+);
+
+$lang_gallery_admin_menu = array(
+  'upl_app_title' => 'Új feltöltések jóváhagyása', //cpg1.4
+  'upl_app_lnk' => 'Feltöltés jóváhagyás',
+  'admin_title' => 'Ugrás a beállításokhoz', //cpg1.4
+  'admin_lnk' => 'Beállítások', //cpg1.4
+  'albums_title' => 'Ugrás az album beállításhoz', //cpg1.4
+  'albums_lnk' => 'Albumok',
+  'categories_title' => 'Ugrás a kategória beállításhoz', //cpg1.4
+  'categories_lnk' => 'Kategóriák',
+  'users_title' => 'Ugrás a felhasználó beállításhoz', //cpg1.4
+  'users_lnk' => 'Felhasználók',
+  'groups_title' => 'Ugrás a csoport beállításhoz', //cpg1.4
+  'groups_lnk' => 'Csoportok',
+  'comments_title' => 'Az összes hozzászólás megtekintése', //cpg1.4
+  'comments_lnk' => 'Hozzászólások',
+  'searchnew_title' => 'Ugrás a csoportos hozzáadáshoz', //cpg1.4
+  'searchnew_lnk' => 'Csoportos hozzáadás',
+  'util_title' => 'Ugrás az admin eszközökhöz', //cpg1.4
+  'util_lnk' => 'Admin eszközök',
+  'key_title' => 'Ugrás a kulcsszavakhoz', //cpg1.4
+  'key_lnk' => 'Kulcsszavak', //cpg1.4
+  'ban_title' => 'Ugrás a kitiltottak listájához ', //cpg1.4
+  'ban_lnk' => 'Kitiltott felhasználók',
+  'db_ecard_title' => 'Képeslapok megtekintése', //cpg1.4
+  'db_ecard_lnk' => 'Képeslapok',
+  'pictures_title' => 'Képek rendezése', //cpg1.4
+  'pictures_lnk' => 'Képek rendezése', //cpg1.4
+  'documentation_lnk' => 'Dokumentáció', //cpg1.4
+  'documentation_title' => 'Coppermine - Felhasználói Kézikönyv', //cpg1.4
+);
+
+$lang_user_admin_menu = array(
+  'albmgr_title' => 'Saját albumok készítése és rendezése', //cpg1.4
+  'albmgr_lnk' => 'Album készítés/rendezés',
+  'modifyalb_title' => 'Ugrás az album módosításhoz',  //cpg1.4
+  'modifyalb_lnk' => 'Az albumom módosítása',
+  'my_prof_title' => 'Ugrás a személyes beállításaimhoz', //cpg1.4
+  'my_prof_lnk' => 'Személyes beállításaim',
+);
+
+$lang_cat_list = array(
+  'category' => 'Kategória',
+  'albums' => 'Albumok',
+  'pictures' => 'Képek',
+);
+
+$lang_album_list = array(
+  'album_on_page' => '%d Album %d Oldalakon',
+);
+
+$lang_thumb_view = array(
+  'date' => 'Dátum',
+  //Sort by filename and title
+  'name' => 'Fájl neve',
+  'title' => 'Címe',
+  'sort_da' => 'Rendezés dátum szerint növekvő',
+  'sort_dd' => 'Rendezés dátum szerint csökkenő',
+  'sort_na' => 'Rendezés név szerint növekvő',
+  'sort_nd' => 'Rendezés név szerint csökkenő',
+  'sort_ta' => 'Rendezés cím szerint növekvő',
+  'sort_td' => 'Rendezés cím szerint csökenő',
+  'position' => 'Pozíció', //cpg1.4
+  'sort_pa' => 'Rendezés pozició szerint növekvő', //cpg1.4
+  'sort_pd' => 'Rendezés pozició szerint csökkenő', //cpg1.4
+  'download_zip' => 'Letöltés zip fájlként',
+  'pic_on_page' => '%d fájl %d oldalon',
+  'user_on_page' => '%d felhasználó %d oldalon',
+  'enter_alb_pass' => 'Add meg a jelszót az albumhoz', //cpg1.4
+  'invalid_pass' => 'Hibás jelszó', //cpg1.4
+  'pass' => 'Jelszó', //cpg1.4
+  'submit' => 'Mehet', //cpg1.4
+);
+
+$lang_img_nav_bar = array(
+  'thumb_title' => 'Vissza az áttekintő oldalra',
+  'pic_info_title' => 'Fájl információk megjelenítése/elrejtése',
+  'slideshow_title' => 'Diavetítés',
+  'ecard_title' => 'Kép küldése képeslapként ',
+  'ecard_disabled' => 'Képeslap funkció letiltva',
+  'ecard_disabled_msg' => 'Nincs jogod képeslapot küldeni',
+  'prev_title' => 'előző kép',
+  'next_title' => 'következő kép',
+  'pic_pos' => 'Kép %s/%s',
+  'report_title' => 'Jelezd ezt a képet a rendszergazdának', //cpg1.4
+  'go_album_end' => 'Ugrás a végére', //cpg1.4
+  'go_album_start' => 'Ugrás az elejére', //cpg1.4
+  'go_back_x_items' => 'menj vissza %s képet', //cpg1.4
+  'go_forward_x_items' => 'menj előre %s képet', //cpg1.4
+);
+
+$lang_rate_pic = array(
+  'rate_this_pic' => 'Szavazz erre a képre',
+  'no_votes' => '(nem kapott szavazatot)',
+  'rating' => 'jelenlegi helyezés : %s/5 %s szavazatból',
+  'rubbish' => 'vacak',
+  'poor' => 'gyenge',
+  'fair' => 'közepes',
+  'good' => 'jó',
+  'excellent' => 'nagyon jó',
+  'great' => 'tökéletes',
+);
+
+// ------------------------------------------------------------------------- //
+// File include/exif.inc.php
+// ------------------------------------------------------------------------- //
+
+// void
+
+// ------------------------------------------------------------------------- //
+// File include/functions.inc.php
+// ------------------------------------------------------------------------- //
+
+$lang_cpg_die = array(
+  INFORMATION => $lang_info,
+  ERROR => $lang_error,
+  CRITICAL_ERROR => 'Súlyos hiba',
+  'file' => 'Fájl: ',
+  'line' => 'Sor: ',
+);
+
+$lang_display_thumbnails = array(
+  'filename' => 'Fájlnév : ',
+  'filesize' => 'Fájlméret : ',
+  'dimensions' => 'Méretek : ',
+  'date_added' => 'Hozzáadás dátuma : ',
+);
+
+$lang_get_pic_data = array(
+  'n_comments' => '%s Hozászólások',
+  'n_views' => '%s Megtekintés',
+  'n_votes' => '(%s Szavazat)',
+);
+
+$lang_cpg_debug_output = array(
+  'debug_info' => 'Debug információ',
+  'select_all' => 'Összes kiválasztása',
+  'copy_and_paste_instructions' => 'Ha segítségre van szükséged, akkor másold ki és küld el ezt a hibajelenség leírást a Coppermine Technikai Támogatásnak. Ügyelj arra, hogy jelszavak helyére *** -at írj.<br />Megjegyzés: ez csak egy információ, és nem jeleni azt, hogy baj van a képtáraddal.', //cpg1.4
+  'phpinfo' => 'php információk',
+  'notices' => 'Megjegyzések', //cpg1.4
+);
+
+$lang_language_selection = array(
+  'reset_language' => 'Alapértelmezett nyelv',
+  'choose_language' => 'Válassz nyelvet!',
+);
+
+$lang_theme_selection = array(
+  'reset_theme' => 'Alapértelmezett Téma',
+  'choose_theme' => 'Válassz témát!',
+);
+
+$lang_version_alert = array(
+  'version_alert' => 'Nem támogatott verzió!', //cpg1.4
+  'security_alert' => 'Biztonsági riasztás!', //cpg1.4.3
+  'relocate_exists' => 'Távolítsd el a <a href="http://coppermine-gallery.net/forum/index.php?topic=24217.0">relocate_server.php</a> fájlt a webszerveredről!',
+  'no_stable_version' => 'Te most a Coppermine %s (%s) verziót használod, melyhez nem tartozik támogatás. Csak saját felelősségedre használd!', //cpg1.4
+  'gallery_offline' => 'A képtár jelenleg kikapcsolt állapotban van, csak rendszergazdaként léphetsz be. Ha végeztél a karbantartással, ne felejtsd el bekapcsolni.', //cpg1.4
+);
+
+$lang_create_tabs = array(
+  'previous' => 'előző', //cpg1.4
+  'next' => 'következő', //cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File include/init.inc.php
+// ------------------------------------------------------------------------- //
+
+// void
+
+// ------------------------------------------------------------------------- //
+// File keyword.inc.php                                                      //
+// ------------------------------------------------------------------------- //
+
+// void
+
+// ------------------------------------------------------------------------- //
+// File include/picmgmt.inc.php
+// ------------------------------------------------------------------------- //
+
+// void
+
+// ------------------------------------------------------------------------- //
+// File include/plugin_api.inc.php
+// ------------------------------------------------------------------------- //
+$lang_plugin_api = array(
+  'error_wakeup' => "Ezt a plugint '%s' nem tudtam aktíválni", //cpg1.4
+  'error_install' => "Ezt a plugint '%s' nem sikerült telepíteni", //cpg1.4
+  'error_uninstall' => "Ezt a plugint '%s' nem sikerült eltávolítani", //cpg1.4
+  'error_sleep' => "Ezt a plugint '%s' nem tudtam inaktíválni.<br />", //cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File include/smilies.inc.php
+// ------------------------------------------------------------------------- //
+
+if (defined('SMILIES_PHP')) $lang_smilies_inc_php = array(
+  'Exclamation' => 'Kiáltás',
+  'Question' => 'Kérdés',
+  'Very Happy' => 'Nagyon boldog',
+  'Smile' => 'Mosolyog',
+  'Sad' => 'Bús',
+  'Surprised' => 'Meglepett',
+  'Shocked' => 'Sokkolt',
+  'Confused' => 'Zavarodott',
+  'Cool' => 'Cool',
+  'Laughing' => 'Nevet',
+  'Mad' => 'Őrült',
+  'Razz' => 'Gúnyos',
+  'Embarassed' => 'Zavarban van',
+  'Crying or Very sad' => 'Üvőlt',
+  'Evil or Very Mad' => 'Ördögi',
+  'Twisted Evil' => 'Kirekesztő',
+  'Rolling Eyes' => 'Jojózik a szeme',
+  'Wink' => 'Kacsintás',
+  'Idea' => 'Ötlet',
+  'Arrow' => 'Nyíl',
+  'Neutral' => 'Természetes',
+  'Mr. Green' => 'Mr. Green',
+);
+
+// ------------------------------------------------------------------------- //
+// File addpic.php
+// ------------------------------------------------------------------------- //
+
+// void
+
+// ------------------------------------------------------------------------- //
+// File mode.php //cpg1.4
+// ------------------------------------------------------------------------- //
+
+if (defined('MODE_PHP')) $lang_mode_php = array(
+  0 => 'Kilépés rendszergazda módból...',
+  1 => 'Belépés rendszergazda módba...',
+);
+
+// ------------------------------------------------------------------------- //
+// File albmgr.php
+// ------------------------------------------------------------------------- //
+
+if (defined('ALBMGR_PHP')) $lang_albmgr_php = array(
+  'alb_need_name' => 'Kötelező nevet adni az albumnak!', //js-alert
+  'confirm_modifs' => 'Biztos, hogy végrehajtsuk a változtatásokat ?', //js-alert
+  'no_change' => 'Nem történt változtatás!', //js-alert
+  'new_album' => 'Új album',
+  'confirm_delete1' => 'Biztos, hogy törölni akarod?', //js-alert
+  'confirm_delete2' => '\nAz öszses fájl és hozzászólás törlődni fog!', //js-alert
+  'select_first' => 'Először válasz egy albumot', //js-alert
+  'alb_mrg' => 'Alben-kezelő',
+  'my_gallery' => '* Saját képtár *',
+  'no_category' => '* Nincs kategória *',
+  'delete' => 'Törlés',
+  'new' => 'Új',
+  'apply_modifs' => 'Változtatások elfogadása',
+  'select_category' => 'Válassz kategóriát',
+);
+
+// ------------------------------------------------------------------------- //
+// File banning.php
+// ------------------------------------------------------------------------- //
+
+if (defined('BANNING_PHP')) $lang_banning_php = array(
+  'title' => 'Kitiltott felhasználók', //cpg1.4
+  'user_name' => 'Felhasználó neve', //cpg1.4
+  'ip_address' => 'IP-cím', //cpg1.4
+  'expiry' => 'Lejár (üres, ha állandó)', //cpg1.4
+  'edit_ban' => 'Változások mentése', //cpg1.4
+  'delete_ban' => 'Törlés', //cpg1.4
+  'add_new' => 'Új letiltás hozzáadása', //cpg1.4
+  'add_ban' => 'Hozzáadás', //cpg1.4
+  'error_user' => 'Ismeretlen felhasználó', //cpg1.4
+  'error_specify' => 'Meg kell adni a felhasználónevet vagy IP címet!', //cpg1.4
+  'error_ban_id' => 'Hibás tiltás azonosító!', //cpg1.4
+  'error_admin_ban' => 'Saját magad nem tudod letiltani!', //cpg1.4
+  'error_server_ban' => 'Ki akarod tiltani a saját szerverünket? Tán nem kéne...', //cpg1.4
+  'error_ip_forbidden' => 'Ezt az IP címet nem lehet letiltani, mert ez egy belső cím!<br />Ha engedélyezni akarod a belső IP-k tiltását, változtasd meg a beállítást a <a href="admin.php">Konfiguráció</a> nál (csak akkor műkődik, ha a képtár helyi hálózaton fut).', //cpg1.4
+  'lookup_ip' => 'IP-cím keresése', //cpg1.4
+  'submit' => 'Mehet!', //cpg1.4
+  'select_date' => 'Válassz dátumot', //cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File bridgemgr.php //cpg1.4
+// ------------------------------------------------------------------------- //
+
+if (defined('BRIDGEMGR_PHP')) $lang_bridgemgr_php = array(
+  'title' => 'Kötés varázsló',
+  'warning' => 'Figyelmeztetés: a varázsló használatával személyes adatokat küldesz html űrlapokon keresztül. Csak a saját PC-den futtasd (ne nyilvános gépen, mint pl. Internet kávézó), és bizonyosodj meg arról, hogy a böngésződ kiűritette az ideiglenes tárolóját a használat után, különben mások is hozzáférhetnek az adataidhoz! ',
+  'back' => 'vissza',
+  'next' => 'következő',
+  'start_wizard' => 'A kötés varázsló indítása',
+  'finish' => 'Befejezés',
+  'hide_unused_fields' => 'nem használt mezők elrejtése (ajánlott)',
+  'clear_unused_db_fields' => 'érvénytelen adatok törlése (ajánlott)',
+  'custom_bridge_file' => 'saját kötésfájl neve (ha a kötésfájl neve:  <i>sajátfájl.inc.php</i> akkor <i>sajátfájl</i>-t írj ebbe a mezőbe)',
+  'no_action_needed' => 'Ennél a lépésnél nincs más feladatod, kattints a &quot;következő&quot;-re a folytatáshoz',
+  'reset_to_default' => 'Beállítás alapértelmezetre',
+  'choose_bbs_app' => 'Válassz alkalmazást, amit összekötni kivánsz a Coppermine-nal',
+  'support_url' => 'Támogatási információk',
+  'settings_path' => 'a saját fórum program útvonala',
+  'database_connection' => 'Adatbázis kapcsolat',
+  'database_tables' => 'Adatbázis táblák',
+  'bbs_groups' => 'Fórum csoportok',
+  'license_number' => 'Szériaszám',
+  'license_number_explanation' => 'Add meg a szériaszámot (ha létezik)',
+  'db_database_name' => 'Adatbázis neve',
+  'db_database_name_explanation' => 'Add meg a fórum által használt adatbázis nevét',
+  'db_hostname' => 'Adatbázis szerver',
+  'db_hostname_explanation' => 'Szerver neve, ahol a mySQL adatbázis található. Általában &quot;localhost&quot;',
+  'db_username' => 'Adatbázis felhasználó',
+  'db_username_explanation' => 'mySQL felhasználó, amit a fórum program használ',
+  'db_password' => 'Adatbázis jelszó',
+  'db_password_explanation' => 'A mySQL felhasználó jelszava',
+  'full_forum_url' => 'Fórum-Url',
+  'full_forum_url_explanation' => 'A fórum teljes webcíme ( http:// előtaggal együtt , pl. http://www.sajátoldal.hu/forum)',
+  'relative_path_of_forum_from_webroot' => 'Relatív útvonal a fórumhoz',
+  'relative_path_of_forum_from_webroot_explanation' => 'A fórum relatív elérési útvonala a dokumentum gyökértől (Például: ha a fórum URL-je http://www.sajátoldal.hu/forum/ , akkor írj &quot;/forum/&quot;-ot ebbe a mezőbe)',
+  'relative_path_to_config_file' => 'Relatív elérés a fórum konfigurációs fájljához',
+  'relative_path_to_config_file_explanation' => 'A fórum relatív elérési útvonala a Coppermine könyvtárától  (pl.:. &quot;../forum/&quot; ha a fórum URL-je http://www.sajátoldal.hu/forum/  és a Coppermine URL-je http://www.sajátgép.hu/gallery/)',
+  'cookie_prefix' => 'Süti előtag',
+  'cookie_prefix_explanation' => 'ez lesz a fórum süti neve',
+  'table_prefix' => 'Tábla előtag (prefix)',
+  'table_prefix_explanation' => 'Az előtagnak(prefix) meg kell egyeznie azzal, amit a fórumban használsz.',
+  'user_table' => 'Felhasználói táblák',
+  'user_table_explanation' => '(Az alapértelmezett érték jó, kivéve, ha a fórum nem az alapértelmezett telepítés)',
+  'session_table' => 'Session-tábla',
+  'session_table_explanation' => '(Az alapértelmezett érték jó, kivéve, ha a fórum nem az alapértelmezett telepítés)',
+  'group_table' => 'Csoport-tábla',
+  'group_table_explanation' => '(Az alapértelmezett érték jó, kivéve, ha a fórum nem az alapértelmezett telepítés)',
+  'group_relation_table' => 'Csoport-kapcsolat tábla',
+  'group_relation_table_explanation' => '(Az alapértelmezett érték jó, kivéve, ha a fórum nem az alapértelmezett telepítés)',
+  'group_mapping_table' => 'Csoport átfedés tábla',
+  'group_mapping_table_explanation' => '(Az alapértelmezett érték jó, kivéve, ha a fórum nem az alapértelmezett telepítés)',
+  'use_standard_groups' => 'használd az alapértelmezett fórum felhasználói csoportokat ',
+  'use_standard_groups_explanation' => 'Használd a beépített felhasználói csoportokat (ajánlott). Ez az opcíó érvényteleníti az összes egyedi felhasználói csoport beállítást. Csak akkor tilts le ezt az opciót, ha TÉNYLEG tudod mit csinálsz!',
+  'validating_group' => 'jóváhagyó csoport',
+  'validating_group_explanation' => 'Ez annak csoportnak az ID-ja a fórumban, ahol a engedély kell a felhasználóknak  (Az alapértelmezett érték jó, kivéve, ha a fórum nem az alapértelmezett telepítés)',
+  'guest_group' => 'Vendég csoport',
+  'guest_group_explanation' => 'Ez a vendég csoport ID-ja a fórumban  (Az alapértelmezett érték jó, kivéve, ha a fórum nem az alapértelmezett telepítés)',
+  'member_group' => 'Tagság csoport',
+  'member_group_explanation' => 'Normál felhasználók csoport ID-ja (Az alapértelmezett érték jó, csak akkor módosítsd, ha tudod mit csinálsz)',
+  'admin_group' => 'Admin csoport',
+  'admin_group_explanation' => 'Adminisztrátorok csoport ID-ja (Az alapértelmezett érték jó, csak akkor módosítsd, ha tudod mit csinálsz)',
+  'banned_group' => 'Kitiltottak csoport',
+  'banned_group_explanation' => 'Kitiltottak csoport ID -ja (Az alapértelmezett érték jó, csak akkor módosítsd, ha tudod mit csinálsz)',
+  'global_moderators_group' => 'Globális moderátor csoport',
+  'global_moderators_group_explanation' => 'Moderátorok csoport ID-ja (Az alapértelmezett érték jó, csak akkor módosítsd, ha tudod mit csinálsz)',
+  'special_settings' => 'Fórum specifikus beállítások',
+  'logout_flag' => 'phpBB Verzió (kilépés jelző)',
+  'logout_flag_explanation' => 'A használt fórum verziója (ez a beállítása adja meg a kilépés módját)',
+  'use_post_based_groups' => 'Kötött küldésű csoport?',
+  'logout_flag_yes' => '2.0.5, vagy újabb',
+  'logout_flag_no' => '2.0.4, vagy régebbi',
+  'use_post_based_groups_explanation' => 'Ennél a csoportnál meghatározott a beküldések száma (részletes beállítások), vagy az alap csoport (könnyű adminisztráció, ajánlott). Késöbb is megváltoztathatod.',
+  'use_post_based_groups_yes' => 'igen',
+  'use_post_based_groups_no' => 'nem',
+  'error_title' => 'Háritsd el a hibát, mielött tovább lépnél. Menj vissza az elöző képernyőre!',
+  'error_specify_bbs' => 'Meg kell adnod melyik programmal akarod összekötni a Coppermine-t',
+  'error_no_blank_name' => 'Nem hagyhatod üresen a saját kötésfájl nevét.',
+  'error_no_special_chars' => 'A kötésfájl neve nem tartalmazhat speciális karaktereket kivéve az aláhúzást (_) és a kötőjelet (-)!',
+  'error_bridge_file_not_exist' => 'A fájl %s nem található a szerveren. Ellenőrizd, ha most töltötted fel.',
+  'finalize' => 'Fórum integráció engedélyezés / tiltás',
+  'finalize_explanation' => 'Tehát a megadott beállítások rögzítve lettek az adatbázisban, de a fórum-integráció (kötés) nincs engedélyezve. Az integrációt bármikor ki/be lehet kapcsolni. Jegyezzd meg a rendszergazda nevét és jelszavát, mert szükség lehet rá a késöbbi változtatásokhoz. Ha bármi hiba adódik, akkor menj ide %s, és tiltsd le az integrációt, használd a telepítéskor megadott felhasználó nevet és jelszót.',
+  'your_bridge_settings' => 'Saját kötés beállításaid',
+  'title_enable' => 'Az integráció/kötés engedélyezése  %s -val',
+  'bridge_enable_yes' => 'engedélyez',
+  'bridge_enable_no' => 'letilt',
+  'error_must_not_be_empty' => 'nem lehet üres',
+  'error_either_be' => 'az egyiknek %s vagy %s kell lennie',
+  'error_folder_not_exist' => '%s nem létezik. Add meg a helyes adatokat %s számára',
+  'error_cookie_not_readible' => 'A Coppermine nem tudja olvasni a %s nevű sütit. Add meg a helyes adatokat %s számára , vagy menj a fórum adminisztrációs felületére és ellenőrizd, hogy a süti útvonala olvasható a Coppermin számára.',
+  'error_mandatory_field_empty' => 'A %s mező nem lehet üres - töltsd ki a megfelelő adattal.',
+  'error_no_trailing_slash' => 'A %s mezőben nem kell használni könytárlezárót (ferdevonal).',
+  'error_trailing_slash' => 'A %s mezőben kell használni könytárlezárót (ferdevonal).',
+  'error_db_connect' => 'Nem lehetséges kapcsolódni a mySQL adatbázishoz. A mySQL hibaüzenete:',
+  'error_db_name' => 'A Coppermine nem tudja létrehozni a kapcsolatot, mert nem találja az %s adatbázist. Ellenőrizd, hogy a(z) %s adatbázisnév helyes. A MYSQL hibaüzenet:',
+  'error_prefix_and_table' => '%s és',
+  'error_db_table' => 'A %s tábla nem található. Ellenőrízd, hogy  %s táblanév helyes.',
+  'recovery_title' => 'Kötés-kezelő: vész helyreállítás',
+  'recovery_explanation' => 'Ha adminisztrálni akkarod a Coppermine képtár fórum integrációját, először rendszergazdaként kell bejelentkezni. Ha nem sikerül bejelentkezned, mert nem működik megfelelően a kötés, akkor ezen az oldalon ki tudod kapcsolni az integrációt. A megadott felhasználónévvel és jelszóval nem lépsz be, csak kikapcsolod az integrációt. További infóért nézd meg a dokumentációt.',
+  'username' => 'Felhasználó',
+  'password' => 'Jelszó',
+  'disable_submit' => 'Tovább!',
+  'recovery_success_title' => 'Azonosítás elfogadva',
+  'recovery_success_content' => 'Sikerült kikapcsolni az integrációt. A képtár most önálló szerver módban van.',
+  'recovery_success_advice_login' => 'Jelentkezz be rendszergazdaként, hogy megváltoztasd a kötés beállításokat és(vagy) engedélyezd újra az integrációt',
+  'goto_login' => 'Ugrás a bejelentkezéshez',
+  'goto_bridgemgr' => 'Ugrás a kötés kezelőhöz',
+  'recovery_failure_title' => 'Azonosítás elutasítva',
+  'recovery_failure_content' => 'Rossz azonosító adatok. Az önálló szerver változat rendszergazda adatait kell megadni (általában a telepítéskor megadott adatok).',
+  'try_again' => 'próbáld újra',
+  'recovery_wait_title' => 'a várakozás idő nem telt le',
+  'recovery_wait_content' => 'Biztonsági okokból a script nem enged több probálkozást egymás után, tehát várnod kell egy keveset, míg újra megpróbálhatod az azonosítást.',
+  'wait' => 'Várakozás',
+  'create_redir_file' => 'Átirányítási fájl létrehozása (ajánlott)',
+  'create_redir_file_explanation' => 'Hogy a fórumba bejelentkezett felhasználókat átírányithasd a képtárba, szükség van erre a fájlra a fórum könyvtárban. Ha ezt az opciót kiválasztod akkor a kötés-kezelő létrehozza neked, vagy megadja a bemásolásra kész kódot, ha kézzel akarod létrehozni ',
+  'browse' => 'böngészés',
+);
+
+// ------------------------------------------------------------------------- //
+// File calendar.php //cpg1.4
+// ------------------------------------------------------------------------- //
+
+if (defined('CALENDAR_PHP')) $lang_calendar_php = array(
+  'title' => 'Naptár', //cpg1.4
+  'close' => 'Becsuk', //cpg1.4
+  'clear_date' => 'Dátum törlése', //cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File catmgr.php
+// ------------------------------------------------------------------------- //
+
+if (defined('CATMGR_PHP')) $lang_catmgr_php = array(
+  'miss_param' => 'Paraméter szükséges \'%s\' művelet nincs végrehajtva',
+  'unknown_cat' => 'A választott kategória nem létezik az adatbázisban',
+  'usergal_cat_ro' => 'A felhasználói képtár kategória nem törölhető!',
+  'manage_cat' => 'Kategóriák kezelése',
+  'confirm_delete' => 'Biztos, hogy törölni akarod ezt a kategóriát?', //js-alert
+  'category' => 'Kategória',
+  'operations' => 'Műveletek',
+  'move_into' => 'Átmozgatás',
+  'update_create' => 'Kategória frissítés/létrehozás',
+  'parent_cat' => 'Szülő kategória',
+  'cat_title' => 'Kategória címe',
+  'cat_thumb' => 'Kategória áttekintő',
+  'cat_desc' => 'Kategória leírás',
+  'categories_alpha_sort' => 'Kategóriák névsorba rendezése (vagy saját rendezés)', //cpg1.4
+  'save_cfg' => 'Beállítások elmentése', //cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File admin.php //cpg1.4
+// ------------------------------------------------------------------------- //
+
+if (defined('ADMIN_PHP')) $lang_admin_php = array(
+  'title' => 'Képtár konfiguráció', //cpg1.4
+  'manage_exif' => 'Exif (cserélhető képformátum) képernyő kezelése', //cpg1.4
+  'manage_plugins' => 'Beépülők kezelése', //cpg1.4
+  'manage_keyword' => 'Kulcsszavak kezelése', //cpg1.4
+  'restore_cfg' => 'Gyári beállítások visszaállítása',
+  'save_cfg' => 'Új konfiguráció mentése',
+  'notes' => 'Megjegyzések',
+  'info' => 'Információ',
+  'upd_success' => 'Coppermine konfiguráció frissítve.',
+  'restore_success' => 'Coppermine alapértelmezett konfiguráció visszaállítva.',
+  'name_a' => 'Név szerint növekvő',
+  'name_d' => 'Név szerint csökkenő',
+  'title_a' => 'Cím szerint növekvő',
+  'title_d' => 'Cím szerint csökkenő',
+  'date_a' => 'Dátum szerint növekvő',
+  'date_d' => 'Dátum szerint csökkenő',
+  'pos_a' => 'Pozíció szerint növekvő', //cpg1.4
+  'pos_d' => 'Pozíció szerint csökkenő', //cpg1.4
+  'th_any' => 'Legnagyobb nézet',
+  'th_ht' => 'Magasság',
+  'th_wd' => 'Szélesség',
+  'label' => 'Címke',
+  'item' => 'Elem',
+  'debug_everyone' => 'Mindenki',
+  'debug_admin' => 'Csak rendszergazda',
+  'no_logs'=> 'Ki', //cpg1.4
+  'log_normal'=> 'Normál', //cpg1.4
+  'log_all' => 'Minden', //cpg1.4
+  'view_logs' => 'Log megtekintése', //cpg1.4
+  'click_expand' => 'Kattints a szekció nevére a kibontáshoz', //cpg1.4
+  'expand_all' => 'Összes kibontása', //cpg1.4
+  'notice1' => '(*) Ezek a beállítások nem változnak, ha már vannak fájlok az adatbázisban.', //cpg1.4 - (relocated)
+  'notice2' => '(**) A változtatások csak az ezután feltöltött fájlokra érvényesek, a régebbi fájlokra nem. Ha a már létező fájloknál is érvényre akarod juttani, menj a &quot;<a href="util.php">Rendszergazda eszközök</a> > Képek átméretezése&quot; menübe.', //cpg1.4 - (relocated)
+  'notice3' => '(***) Minden log fájl angol nyelvű.', //cpg1.4 - (relocated)
+  'bbs_disabled' => 'Funkció letiltva, ha az integráció használatban van', //cpg1.4
+  'auto_resize_everyone' => 'Mindenki', //cpg1.4
+  'auto_resize_user' => 'Csak felhasználók', //cpg1.4
+  'ascending' => 'Növekvő', //cpg1.4
+  'descending' => 'Csökkenő', //cpg1.4
+);
+
+if (defined('ADMIN_PHP')) $lang_admin_data = array(
+  'Általános beállítások',
+  array('Képtár neve', 'gallery_name', 0, 'f=index.htm&amp;as=admin_general_name&amp;ae=admin_general_name_end'), //cpg1.4
+  array('Képtár leírása', 'gallery_description', 0, 'f=index.htm&amp;as=admin_general_description&amp;ae=admin_general_description_end'), //cpg1.4
+  array('Képtár rendszergazda email címe', 'gallery_admin_email', 0, 'f=index.htm&amp;as=admin_general_email&amp;ae=admin_general_email_end'), //cpg1.4
+  array('Coppermine képtár URL címe (elég a könyvtár címe, ne használj \'index.php\' végű URL-t)', 'ecards_more_pic_target', 0, 'f=index.htm&amp;as=admin_general_coppermine-url&amp;ae=admin_general_coppermine-url_end'), //cpg1.4
+  array('Honlapod címe', 'home_target', 0, 'f=index.htm&amp;as=admin_general_home-url&amp;ae=admin_general_home-url_end'), //cpg1.4
+  array('Kedvencek zippelt letöltésének engedélyezése', 'enable_zipdownload', 1, 'f=index.htm&amp;as=admin_general_zip-download&amp;ae=admin_general_zip-download_end'), //cpg1.4
+  array('Az időzóna eltérése a Greenwich-i középidőtől (jelenlegi idő: ' . localised_date(-1, $comment_date_fmt) . ')','time_offset',0, 'f=index.htm&amp;as=admin_general_time-offset&amp;ae=admin_general_time-offset_end&amp;top=1'), //cpg1.4
+  array('Titkosított jelszavak engedélyezése (nem lehet visszavonni)','enable_encrypted_passwords',1, 'f=index.htm&amp;as=admin_general_encrypt_password_start&amp;ae=admin_general_encrypt_password_end&amp;top=1'), // cpg 1.4
+  array('Súgó ikonos engedélyezése (a súgó csak angolul érhető el.)','enable_help',9, 'f=index.htm&amp;as=admin_general_help&amp;ae=admin_general_help_end'), //cpg1.4
+  array('Kulcsszó kiválasztás keresés engedélyezése','clickable_keyword_search',14, 'f=index.htm&amp;as=admin_general_keywords_start&amp;ae=admin_general_keywords_end'), //cpg1.4
+  array('Beépülők engedélyezése', 'enable_plugins', 12, 'f=index.htm&amp;as=admin_general_enable-plugins&amp;ae=admin_general_enable-plugins_end'),  //cpg1.4
+  array('Belső IP címek tiltásának engedélyezése ', 'ban_private_ip', 1,  'f=index.htm&amp;as=admin_general_private-ip&amp;ae=admin_general_private-ip_end'), //cpg1.4
+  array('Böngészhető kötegelt hozzáadás felület', 'browse_batch_add', 1, 'f=index.htm&amp;as=admin_general_browsable_batch_add&amp;ae=admin_general_browsable_batch_add_end'), //cpg1.4
+
+  'Nyelv &amp; karakterkészlet beállítás',
+  array('Nyelv', 'lang', 5, 'f=index.htm&amp;as=admin_language_language&amp;ae=admin_language_language_end'), //cpg1.4
+  array('Angol felirat használata, ha nincs lefordítva?', 'language_fallback', 1, 'f=index.htm&amp;as=admin_language_fallback&amp;ae=admin_language_fallback_end'), //cpg1.4
+  array('Karakter kódolás', 'charset', 4, 'f=index.htm&amp;as=admin_language_charset&amp;ae=admin_language_charset_end'), //cpg1.4
+  array('Mutassa a nyelvek listáját', 'language_list', 1, 'f=index.htm&amp;as=admin_language_list&amp;ae=admin_language_list_end'), //cpg1.4
+  array('Mutassa a nyelvek zászlóját', 'language_flags', 8, 'f=index.htm&amp;as=admin_language_flags&amp;ae=admin_language_flags_end&amp;top=1'), //cpg1.4
+  array('Mutassa az alapértelmezett nyelvet a nyelvi menűben', 'language_reset', 1, 'f=index.htm&amp;as=admin_language_reset&amp;ae=admin_language_reset_end&amp;top=1'), //cpg1.4
+  //array('Mutassa az elöző/következő -t a fülecskés oldalakon', 'previous_next_tab', 1), //cpg1.4
+
+  'Téma beállítások',
+  array('Témák', 'theme', 6, 'f=index.htm&amp;as=admin_theme_theme&amp;ae=admin_theme_theme_end'), //cpg1.4
+  array('Mutassa a téma választékot', 'theme_list', 1, 'f=index.htm&amp;as=admin_theme_theme_list&amp;ae=admin_theme_theme_list_end'), //cpg1.4
+  array('Mutassa az alapértelmezett témát a téma választó menüben', 'theme_reset', 1, 'f=index.htm&amp;as=admin_theme_theme_reset&amp;ae=admin_theme_theme_reset_end'), //cpg1.4
+  array('Mutassa a GYIK-ot', 'display_faq', 1, 'f=index.htm&amp;as=admin_theme_faq&amp;ae=admin_theme_faq_end'), //cpg1.4
+  array('Saját menü neve', 'custom_lnk_name', 0,'f=index.htm&amp;as=admin_theme_custom_lnk_name&amp;ae=admin_theme_custom_lnk_name_end'), //cpg1.4
+  array('Saját menü URL címe', 'custom_lnk_url', 0,'f=index.htm&amp;as=admin_language_custom_lnk_url&amp;ae=admin_language_custom_lnk_url_end'), //cpg1.4
+  array('BBCode segítség megjelenítése', 'show_bbcode_help', 1, 'f=index.htm&amp;as=admin_theme_bbcode&amp;ae=admin_theme_bbcode_end&amp;top=1'), //cpg1.4
+  array('Mutassa az XHTML vagy CSS validitásra utaló lábrészt a témában?','vanity_block',1, 'f=index.htm&amp;as=vanity_block&amp;ae=vanity_block_end'), //cpg1.4
+  array('Saját fejléc helye', 'custom_header_path', 0, 'f=index.htm&amp;as=admin_theme_include_path_start&amp;ae=admin_theme_include_path_end'), //cpg1.4
+  array('Saját lábléc helye', 'custom_footer_path', 0, 'f=index.htm&amp;as=admin_theme_include_path_start&amp;ae=admin_theme_include_path_end'), //cpg1.4
+
+  'Képalbum lista nézet',
+  array('A fő tábla szélessége (képpontban vagy % -ban)', 'main_table_width', 0, 'f=index.htm&amp;as=admin_album_table-width&amp;ae=admin_album_table-width_end'), //cpg1.4
+  array('Hány szintig mutassa a kategóriákat', 'subcat_level', 0, 'f=index.htm&amp;as=admin_album_category-levels&amp;ae=admin_album_category-levels_end'), //cpg1.4
+  array('Oldalanként hány képalbum jelenjen meg', 'albums_per_page', 0, 'f=index.htm&amp;as=admin_album_number&amp;ae=admin_album_number_end'), //cpg1.4
+  array('A képalbum lista hány oszlopból álljon', 'album_list_cols', 0, 'f=index.htm&amp;as=admin_album_columns&amp;ae=admin_album_columns_end'), //cpg1.4
+  array('Indexképek mérete képpontban', 'alb_list_thumb_size', 0, 'f=index.htm&amp;as=admin_album_thumbnail-size&amp;ae=admin_album_thumbnail-size_end'), //cpg1.4
+  array('A főoldal tartalma', 'main_page_layout', 0, 'f=index.htm&amp;as=admin_album_list_content&amp;ae=admin_album_list_content_end'), //cpg1.4
+  array('Mutassa az első szintű képalbum indexképet a kategóriában','first_level',1, 'f=index.htm&amp;as=admin_album_first-level_thumbs&amp;ae=admin_album_first-level_thumbs_end'), //cpg1.4
+  array('Kategóriák névsorba rendezése (esteleg saját rendezés használata)','categories_alpha_sort',1, 'f=index.htm&amp;as=admin_album_list_alphasort_start&amp;ae=admin_album_list_alphasort_end'), //cpg1.4
+  array('Mutassa a kapcsolt fájlok számát','link_pic_count',1, 'f=index.htm&amp;as=admin_album_linked_files_start&amp;ae=admin_album_linked_files_end'), //cpg1.4
+
+  'Indexkép nézet',
+  array('Oszlopok száma az indexkép oldalon', 'thumbcols', 0, 'f=index.htm&amp;as=admin_thumbnail_columns&amp;ae=admin_thumbnail_columns_end'), //cpg1.4
+  array('Sorok száma az indexkép oldalon', 'thumbrows', 0, 'f=index.htm&amp;as=admin_thumbnail_rows&amp;ae=admin_thumbnail_rows_end'), //cpg1.4
+  array('A fülek maximális száma', 'max_tabs', 10, 'f=index.htm&amp;as=admin_thumbnail_tabs&amp;ae=admin_thumbnail_tabs_end'), //cpg1.4
+  array('A képek feliratának megjelenítése (a címén kivül) az indexkép alatt', 'caption_in_thumbview', 1, 'f=index.htm&amp;as=admin_thumbnail_display_caption&amp;ae=admin_thumbnail_display_caption_end'), //cpg1.4
+  array('A megtekintések számának megjelenítése az indexkép alatt', 'views_in_thumbview', 1, 'f=index.htm&amp;as=admin_thumbnail_display_views&amp;ae=admin_thumbnail_display_views_end'), //cpg1.4
+  array('A hozászólások számának megjelenítése az indexkép alatt', 'display_comment_count', 1, 'f=index.htm&amp;as=admin_thumbnail_display_comments&amp;ae=admin_thumbnail_display_comments_end'), //cpg1.4
+  array('A feltöltő nevének megjelenítése az indexkép alatt', 'display_uploader', 1, 'f=index.htm&amp;as=admin_thumbnail_display_uploader&amp;ae=admin_thumbnail_display_uploader_end'), //cpg1.4
+  //array('A deltöltő Rendszergazda nevének megjelenítése az indexkép alatt ', 'display_admin_uploader', 1, 'f=index.htm&amp;as=admin_thumbnail_display_admin_uploader&amp;ae=admin_thumbnail_display_admin_uploader_end'), //cpg1.4
+  array('A fájl név megjelenítése az indexkép alatt', 'display_filename', 1, 'f=index.htm&amp;as=admin_thumbnail_display_filename&amp;ae=admin_thumbnail_display_filename_end'), //cpg1.4
+  //array('A képalbum elnevezésének megjelenítése', 'alb_desc_thumb', 1, 'f=index.htm&amp;as=admin_thumbnail_display_description&amp;ae=admin_thumbnail_display_description_end'), //cpg1.4
+  array('A képek alapértelmezett sorrendje', 'default_sort_order', 3, 'f=index.htm&amp;as=admin_thumbnail_default_sortorder&amp;ae=admin_thumbnail_default_sortorder_end'), //cpg1.4
+  array('A szükséges szavazatok száma a megjelenéshez  \'A legtöbb szavazatot kapottak\'-listájában', 'min_votes_for_rating', 0, 'f=index.htm&amp;as=admin_thumbnail_minimum_votes&amp;ae=admin_thumbnail_minimum_votes_end'), //cpg1.4
+
+  'Kép nézet', //cpg1.4
+  array('A tábla szélessége (képpontban vagy %-ban)', 'picture_table_width', 0, 'f=index.htm&amp;as=admin_image_comment_table-width&amp;ae=admin_image_comment_table-width_end'), //cpg1.4
+  array('A kép információ megjelenése alapértelmezetten', 'display_pic_info', 1, 'f=index.htm&amp;as=admin_image_comment_info_visible&amp;ae=admin_image_comment_info_visible_end'), //cpg1.4
+  array('A kép leírás maximális hossza', 'max_img_desc_length', 0, 'f=index.htm&amp;as=admin_image_comment_descr_length&amp;ae=admin_image_comment_descr_length_end'), //cpg1.4
+  array('A szavak maximális hossza', 'max_com_wlength', 0, 'f=index.htm&amp;as=admin_image_comment_chars_per_word&amp;ae=admin_image_comment_chars_per_word_end'), //cpg1.4
+  array('Filmszalag megjelenítése', 'display_film_strip', 1, 'f=index.htm&amp;as=admin_image_comment_filmstrip_toggle&amp;ae=admin_image_comment_filmstrip_toggle_end'), //cpg1.4
+  array('Fájlnév megjelenítése a filmszalag alatt', 'display_film_strip_filename', 1, 'f=index.htm&amp;as=admin_image_comment_display_film_strip_filename&amp;ae=admin_image_comment_display_film_strip_filename_end'), //cpg1.4
+  array('Elemek száma a filmszalagban', 'max_film_strip_items', 0, 'f=index.htm&amp;as=admin_image_comment_filmstrip_number&amp;ae=admin_image_comment_filmstrip_number_end'), //cpg1.4
+  array('Diavetítés időzítése ezredmásodpercben (1 mp = 1000 ezredmásodperc)', 'slideshow_interval', 0, 'f=index.htm&amp;as=admin_image_comment_slideshow_interval&amp;ae=admin_image_comment_slideshow_interval_end'), //cpg1.4
+
+  'Hozzászólás beállítások', //cpg1.4
+  array('Csúnya szavak kiszűrése', 'filter_bad_words', 1, 'f=index.htm&amp;as=admin_image_comment_bad_words&amp;ae=admin_image_comment_bad_words_end'), //cpg1.4
+  array('Szmájlik engedélyezése a hozzászólásokban', 'enable_smilies', 1, 'f=index.htm&amp;as=admin_image_comment_smilies&amp;ae=admin_image_comment_smilies_end'), //cpg1.4
+  array('Több folyamatos hozzászólás enegedélyezése egy képhez ugyanazon felhasználótól (elárasztás -flood- védelem kikapcsolása)', 'disable_comment_flood_protect', 1, 'f=index.htm&amp;as=admin_image_comment_flood&amp;ae=admin_image_comment_flood_end'), //cpg1.4
+  array('A hozzászólás sorainak maximumma', 'max_com_lines', 0, 'f=index.htm&amp;as=admin_image_comment_lines&amp;ae=admin_image_comment_lines_end'), //cpg1.4
+  array('A hozzászólás maximális hossza', 'max_com_size', 0, 'f=index.htm&amp;as=admin_image_comment_length&amp;ae=admin_image_comment_length_end'), //cpg1.4
+  array('A rendszergazda értesítése a hozzászólásról', 'email_comment_notification', 1, 'f=index.htm&amp;as=admin_image_comment_admin_notify&amp;ae=admin_image_comment_admin_notify_end'), //cpg1.4
+  array('Hozzászólások sorrendje', 'comments_sort_descending', 17, 'f=index.htm&amp;as=admin_comment_sort_start&amp;ae=admin_comment_sort_end'), //cpg1.4
+  array('Előtag a névtelen hozzászólások számára ', 'comments_anon_pfx', 0, 'f=index.htm&amp;as=comments_anon_pfx&amp;ae=comments_anon_pfx_end'), //cpg1.4
+
+  'Kép és indexkép beállítások',
+  array('A jpeg képek minősége', 'jpeg_qual', 0, 'f=index.htm&amp;as=admin_picture_thumbnail_jpeg_quality&amp;ae=admin_picture_thumbnail_jpeg_quality_end'), //cpg1.4
+  array('Az indexkép maximális mérete <a href="#notice2" class="clickable_option">**</a>', 'thumb_width', 0, 'f=index.htm&amp;as=admin_picture_thumbnail_max-dimension&amp;ae=admin_picture_thumbnail_max-dimension_end'), //cpg1.4
+  array('Méretezés (szélesség vagy magasság vagy legnagyobb nézet)<a href="#notice1" class="clickable_option">**</a>', 'thumb_use', 7, 'f=index.htm&amp;as=admin_picture_thumbnail_use-dimension&amp;ae=admin_picture_thumbnail_use-dimension_end'), //cpg1.4
+  array('Közbenső kép készítése','make_intermediate',1, 'f=index.htm&amp;as=admin_picture_thumbnail_intermediate_toggle&amp;ae=admin_picture_thumbnail_intermediate_toggle_end'), //cpg1.4
+  array('A közbenső kép vagy videó legnagyobb szélessége vagy magassága<a href="#notice2" class="clickable_option">**</a>', 'picture_width', 0, 'f=index.htm&amp;as=admin_picture_thumbnail_intermediate_dimension&amp;ae=admin_picture_thumbnail_intermediate_dimension_end'), //cpg1.4
+  array('A feltölhető fájl maximális mérete (kB)', 'max_upl_size', 0, 'f=index.htm&amp;as=admin_picture_thumbnail_max_upload_size&amp;ae=admin_picture_thumbnail_max_upload_size_end'), //cpg1.4
+  array('A feltölthető kép vagy videó legnagyobb szélessége vagy magassága (képpontban)', 'max_upl_width_height', 0, 'f=index.htm&amp;as=admin_picture_thumbnail_max_upload_dimension&amp;ae=admin_picture_thumbnail_max_upload_dimension_end'), //cpg1.4
+  array('Automatikus átméretezés, ha nagyobb mint a megengedett méret', 'auto_resize', 16, 'f=index.htm&amp;as=admin_picture_thumbnail_auto-resize&amp;ae=admin_picture_thumbnail_auto-resize_end'), //cpg1.4
+
+  'Kép és indexkép haladó beállítások',
+  array('Lehetséges magán képalbum (megjegyzés: ha átváltasz \'igen\' -ből \'nem\' -be az <i>összes</i> magán képalbum nyilvános lesz)', 'allow_private_albums', 1, 'f=index.htm&amp;as=admin_picture_thumb_advanced_private_toggle&amp;ae=admin_picture_thumb_advanced_private_toggle_end'), //cpg1.4
+  array('Magán album ikon megjelenítése látogatóknak?','show_private',1, 'f=index.htm&amp;as=admin_picture_thumb_advanced_private_icon_show&amp;ae=admin_picture_thumb_advanced_private_icon_show_end'), //cpg1.4
+  array('Nem használható karakterek a fájlnévben', 'forbiden_fname_char',0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_filename_forbidden_chars&amp;ae=admin_picture_thumb_advanced_filename_forbidden_chars_end'), //cpg1.4
+  //array('Elfogadott fájl kiterjesztések', 'allowed_file_extensions',0, 'f=index.htm&amp;as=&amp;ae=_end'), //cpg1.4
+  array('Megengedett kép formátumok', 'allowed_img_types',0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_pic_extensions&amp;ae=admin_picture_thumb_advanced_pic_extensions_end'), //cpg1.4
+  array('Megengedett videó formátumok', 'allowed_mov_types',0, 'f=index.htm&amp;as=admin_thumbs_advanced_movie&amp;ae=admin_thumbs_advanced_movie_end'), //cpg1.4
+  array('Automatikus film lejátszás', 'media_autostart',1, 'f=index.htm&amp;as=admin_movie_autoplay&amp;ae=admin_movie_autoplay_end'), //cpg1.4
+  array('Megengedett audió formátumok', 'allowed_snd_types',0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_audio_extensions&amp;ae=admin_picture_thumb_advanced_audio_extensions_end'), //cpg1.4
+  array('Megengedett dokumentum formátumok', 'allowed_doc_types',0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_doc_extensions&amp;ae=admin_picture_thumb_advanced_doc_extensions_end'), //cpg1.4
+  array('Képátméretezési eljárások','thumb_method',2, 'f=index.htm&amp;as=admin_picture_thumb_advanced_resize_method&amp;ae=admin_picture_thumb_advanced_resize_method_end'), //cpg1.4
+  array('Az ImageMagick program \'convert\' eszköz elérési útvonala (pl.: /usr/bin/X11/)', 'impath', 0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_im_path&amp;ae=admin_picture_thumb_advanced_im_path_end'), //cpg1.4
+  //array('Megengedett kép formátumok (csak az ImageMagick számára)', 'allowed_img_types',0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_allowed_imagetypes&amp;ae=admin_picture_thumb_advanced_allowed_imagetypes_end'), //cpg1.4
+  array('Parancssori opciók az ImageMagick számára', 'im_options', 0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_im_commandline&amp;ae=admin_picture_thumb_advanced_im_commandline_end'), //cpg1.4
+  array('EXIF adat olvasásása jpeg fájlban', 'read_exif_data', 13, 'f=index.htm&amp;as=admin_picture_thumb_advanced_exif&amp;ae=admin_picture_thumb_advanced_exif_end'), //cpg1.4
+  array('IPTC adat olvasásása jpeg fájlban', 'read_iptc_data', 1, 'f=index.htm&amp;as=admin_picture_thumb_advanced_iptc&amp;ae=admin_picture_thumb_advanced_iptc_end'), //cpg1.4
+  array('Album könyvtár <a href="#notice1" class="clickable_option">*</a>', 'fullpath', 0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_albums_dir&amp;ae=admin_picture_thumb_advanced_albums_dir_end'), //cpg1.4
+  array('A felhasználói fájlok könyvtára <a href="#notice1" class="clickable_option">*</a>', 'userpics', 0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_userpics_dir&amp;ae=admin_picture_thumb_advanced_userpics_dir_end'), //cpg1.4
+  array('Közbenső képek előtagja <a href="#notice1" class="clickable_option">*</a>', 'normal_pfx', 0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_intermediate_prefix&amp;ae=admin_picture_thumb_advanced_intermediate_prefix_end'), //cpg1.4
+  array('Indexképek előtagja <a href="#notice1" class="clickable_option">*</a>', 'thumb_pfx', 0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_thumbs_prefix&amp;ae=admin_picture_thumb_advanced_thumbs_prefix_end'), //cpg1.4
+  array('Alapértelmezett mód a könyvtárak számára', 'default_dir_mode', 0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_chmod_folder&amp;ae=admin_picture_thumb_advanced_chmod_folder_end'), //cpg1.4
+  array('Alapértelmezett mód a fájlok számára', 'default_file_mode', 0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_chmod_files&amp;ae=admin_picture_thumb_advanced_chmod_files_end'), //cpg1.4
+
+  'Felhasználó beállítások',
+  array('Új felhasználó regisztrációjának engedélyezése', 'allow_user_registration', 1, 'f=index.htm&amp;as=admin_allow_registration&amp;ae=admin_allow_registration_end'), //cpg1.4
+  array('Vendég hozzáférés engedélyezése', 'allow_unlogged_access', 1, 'f=index.htm&amp;as=admin_allow_unlogged_access&amp;ae=admin_allow_unlogged_access_end'), //cpg1.4
+  array('Regisztráció igazolása email-ben', 'reg_requires_valid_email', 1, 'f=index.htm&amp;as=admin_registration_verify&amp;ae=admin_registration_verify_end'), //cpg1.4
+  array('Rendszergazda értesítése email-ben a regisztrációról', 'reg_notify_admin_email', 1, 'f=index.htm&amp;as=admin_registration_notify&amp;ae=admin_registration_notify_end'), //cpg1.4
+  array('A regisztráció rendszergazdai jóváhagyása', 'admin_activation', 1, 'f=index.htm&amp;as=admin_activation&amp;ae=admin_activation_end'),  //cpg1.4
+  array('2 felhasználó azonos email címének engedélyezése', 'allow_duplicate_emails_addr', 1, 'f=index.htm&amp;as=admin_allow_duplicate_emails_addr&amp;ae=admin_allow_duplicate_emails_addr_end'), //cpg1.4
+  array('Rendszergazda értesítése a jóváhagyásra váró feltöltésekről', 'upl_notify_admin_email', 1, 'f=index.htm&amp;as=admin_approval_notify&amp;ae=admin_approval_notify_end'), //cpg1.4
+  array('Taglista megtekintése bejelentkezett felhasználóknak', 'allow_memberlist', 1, 'f=index.htm&amp;as=admin_user_memberlist&amp;ae=admin_user_memberlist_end'), //cpg1.4
+  array('A felhasználó megváltoztathatja az email címét', 'allow_email_change', 1, 'f=index.htm&amp;as=admin_user_allow_email_change&amp;ae=admin_user_allow_email_change_end'), //cpg1.4
+  array('A felhasználó kiterjesztett jogainak engélyezése a publikus képtáraiban lévő képekre', 'users_can_edit_pics', 1, 'f=index.htm&amp;as=admin_user_editpics_public_start&amp;ae=admin_user_editpics_public_end'), //cpg1.4
+  array('Hibás bejelentkezések száma, ami után ideiglenes tiltásba kerül (nyers erő támadás elleni védelem)', 'login_threshold', 0, 'f=index.htm&amp;as=admin_user_login_start&amp;ae=admin_user_login_end'), //cpg1.4
+  array('Ideiglenes tiltás időtartama', 'login_expiry', 0, 'f=index.htm&amp;as=admin_user_login_start&amp;ae=admin_user_login_end'), //cpg1.4
+  array('&quot;Jelentés a rendszergazdának&quot; engedélyezése', 'report_post', 1, 'f=index.htm&amp;as=admin_user_enable_report&amp;ae=admin_user_enable_report_end'),  //cpg1.4
+
+// custom profile fields,  //cpg1.4
+  'Saját mezők a felhasználói profilokban (hagyd üresen, ha nem használod).
+  Használd a 6. mezőt a hosszú bejegyzésekhez, például életrajzhoz.', //cpg1.4
+  array('Saját mező 1', 'user_profile1_name', 0, 'f=index.htm&amp;as=admin_custom&amp;ae=admin_custom_end'), //cpg1.4
+  array('Saját mező 2', 'user_profile2_name', 0), //cpg1.4
+  array('Saját mező 3', 'user_profile3_name', 0), //cpg1.4
+  array('Saját mező 4', 'user_profile4_name', 0), //cpg1.4
+  array('Saját mező 5', 'user_profile5_name', 0), //cpg1.4
+  array('Saját mező 6', 'user_profile6_name', 0), //cpg1.4
+
+  'Saját mezők a képek leírására (hagyd üresen, ha nem használod).',
+  array('Saját mező 1', 'user_field1_name', 0, 'f=index.htm&amp;as=admin_custom_image&amp;ae=admin_custom_image_end'), //cpg1.4
+  array('Saját mező 2', 'user_field2_name', 0),
+  array('Saját mező 3', 'user_field3_name', 0),
+  array('Saját mező 4', 'user_field4_name', 0),
+
+  'Süti beállítások',
+  array('Süti neve', 'cookie_name', 0, 'f=index.htm&amp;as=admin_cookie_name&amp;ae=admin_cookie_name_end'), //cpg1.4
+  array('Süti útvonala', 'cookie_path', 0, 'f=index.htm&amp;as=admin_cookie_path&amp;ae=admin_cookie_path_end'), //cpg1.4
+
+  'Email beállítások (rendszerint nem kell változtatni rajta; hagyj minden mezőt üresen, ha nem vagy biztos benne)', //cpg1.4
+  array('Kimenő levélkiszolgáló (smtp) , ha üres akkor a sendmail az alapértelmezett', 'smtp_host', 0, 'f=index.htm&amp;as=admin_email&amp;ae=admin_email_end'), //cpg1.4
+  array('Kimenő levélkiszolgáló felhasználó', 'smtp_username', 0), //cpg1.4
+  array('Kimenő levélkiszolgáló jelszó', 'smtp_password', 0), //cpg1.4
+
+  'Naplózás és statisztika', //cpg1.4
+  array('Naplózási mód <a href="#notice3" class="clickable_option">***</a>', 'log_mode', 11, 'f=index.htm&amp;as=admin_logging_log_mode&amp;ae=admin_logging_log_mode_end'), //cpg1.4
+  array('Képeslapok naplózása ', 'log_ecards', 1, 'f=index.htm&amp;as=admin_general_log_ecards&amp;ae=admin_general_log_ecards_end'), //cpg1.4
+  array('Részletes szavazási statisztika','vote_details',1, 'f=index.htm&amp;as=admin_logging_votedetails&amp;ae=admin_logging_votedetails_end'), //cpg1.4
+  array('Részletes találati statisztika','hit_details',1, 'f=index.htm&amp;as=admin_logging_hitdetails&amp;ae=admin_logging_hitdetails_end'), //cpg1.4
+
+  'Karbantartási beállítások', //cpg1.4
+  array('Nyomkövetési mód bekapcsolása', 'debug_mode', 9, 'f=index.htm&amp;as=debug_mode&amp;ae=debug_mode_end'), //cpg1.4
+  array('Nyomkövetési módra való figyelmesztetés', 'debug_notice', 1, 'f=index.htm&amp;as=admin_misc_debug_notices&amp;ae=admin_misc_debug_notices_end'), //cpg1.4
+  array('Képtár kikapcsolva', 'offline', 1, 'f=index.htm&amp;as=admin_general_offline&amp;ae=admin_general_offline_end'), //cpg1.4
+);
+
+
+// ------------------------------------------------------------------------- //
+// File db_ecard.php
+// ------------------------------------------------------------------------- //
+
+if (defined('DB_ECARD_PHP')) $lang_db_ecard_php = array(
+  'title' => 'Elküldött képeslapok',
+  'ecard_sender' => 'Feladó',
+  'ecard_recipient' => 'Címzett',
+  'ecard_date' => 'Dátum',
+  'ecard_display' => 'Képeslap megjelenítése',
+  'ecard_name' => 'Név',
+  'ecard_email' => 'E-mail cím',
+  'ecard_ip' => 'IP cím',
+  'ecard_ascending' => 'növekvő',
+  'ecard_descending' => 'csökkenő',
+  'ecard_sorted' => 'Rendezett',
+  'ecard_by_date' => 'Dátum szerint',
+  'ecard_by_sender_name' => 'Feladó szerint',
+  'ecard_by_sender_email' => 'Feladó email címe szerint',
+  'ecard_by_sender_ip' => 'A feladó IP címe szerint',
+  'ecard_by_recipient_name' => 'Címzett szerint',
+  'ecard_by_recipient_email' => 'Címzett email címe szerint',
+  'ecard_number' => 'Rekordok megjelenítése  %s -tól %s -ig %s -ból',
+  'ecard_goto_page' => 'Ugráss az oldalra',
+  'ecard_records_per_page' => 'Rekordok oldalanként',
+  'check_all' => 'Összes bejelölése',
+  'uncheck_all' => 'Összes bejelölés törlése',
+  'ecards_delete_selected' => 'Kiválasztott képeslapok törlése',
+  'ecards_delete_confirm' => 'Biztos törölni akarod ezeket a rekordokat? Jelöld be a négyzetet!',
+  'ecards_delete_sure' => 'Biztos',
+);
+
+
+// ------------------------------------------------------------------------- //
+// File db_input.php
+// ------------------------------------------------------------------------- //
+
+if (defined('DB_INPUT_PHP')) $lang_db_input_php = array(
+  'empty_name_or_com' => 'Szükséges megadnod a neved és a hozzászólásod',
+  'com_added' => 'Hozzászólásodat feljegyeztük',
+  'alb_need_title' => 'A képalbumnak címet kell adni!',
+  'no_udp_needed' => 'Nincs szükség frissítésre.',
+  'alb_updated' => 'A képalbumot frissítettük',
+  'unknown_album' => 'A kiválasztott képalbum nem létezik, vagy nincs jogod képet feltölteni',
+  'no_pic_uploaded' => 'Nem lett fájl feltöltve!<br /><br />Ha volt feltöltésre kiválasztott kép, akkor ellenőrizd, hogy engedélyezett a feltöltés...',
+  'err_mkdir' => 'Hiba a %s könyvtár létrehozásakor!',
+  'dest_dir_ro' => 'A cél könyvtár %s nem írható!',
+  'err_move' => 'Lehetetlen %st átmozgatni a %s könyvtárba!',
+  'err_fsize_too_large' => 'Túl nagy fájlméret (A megendett legnagyobb méret %s x %s) !', //obsolete since cpg1.3 - consider removal in cpg1.4 once upload.php has been overhauled
+  'err_imgsize_too_large' => 'Túl nagy fájlméret (A megendett legnagyobb méret %s kB) !', //obsolete since cpg1.3 - consider removal in cpg1.4 once upload.php has been overhauled
+  'err_invalid_img' => 'A feltöltött fájl nem megfelelő formátumú!',
+  'allowed_img_types' => 'Csak %s db fájlt tölthetsz fel.',
+  'err_insert_pic' => 'A \'%s\' képet nem lehet elhelyezni a képalbumba ',
+  'upload_success' => 'Sikeres feltöltés.<br /><br />Látható lesz, amint a rendszergazda jóváhagyja.',
+  'notify_admin_email_subject' => '%s - Feltöltési értesítő',
+  'notify_admin_email_body' => '%s által feltöltött kép jóváhagyásra vár. Nézd meg %s',
+  'info' => 'Információ',
+  'com_added' => 'Hozzászólás bejegyezve',
+  'alb_updated' => 'Képalbum frissítve',
+  'err_comment_empty' => 'Üres hozzászólás!',
+  'err_invalid_fext' => 'Csak a következő kiterjesztésű fájlok elfogadottak: <br /><br />%s.',
+  'no_flood' => 'Sajnálom, de te voltál az útolsó hozzászóló ehhez a képhez.<br /><br />Szerkezd újra a hozzászólásodat, ha módosítani akarsz rajta',
+  'redirect_msg' => 'Át lettél irányítva.<br /><br /><br />Kattints a \'folytatás\'-ra, ha az oldal nem frissül automatikusan',
+  'upl_success' => 'A képet sikeresen hozzáadtuk',
+  'email_comment_subject' => 'Hozzászólás érkezet a Coppermine Képtárba',
+  'email_comment_body' => 'Valaki hozzászólást küldött a képtáradba. A megtekintéshez kattints ide: ',
+  'album_not_selected' => 'Nincs kiválasztva képalbum', //cpg1.4
+  'com_author_error' => 'Ezt a nevet egy regisztrált tag használja, jelentkezz be vagy használj másik nevet.', //cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File delete.php
+// ------------------------------------------------------------------------- //
+
+if (defined('DELETE_PHP')) $lang_delete_php = array(
+  'caption' => 'Felirat',
+  'fs_pic' => 'Teljes méretű kép ',
+  'del_success' => 'Sikeresen törölve',
+  'ns_pic' => 'Normál méretű kép',
+  'err_del' => 'Nem lehet törölni',
+  'thumb_pic' => 'Indexkép',
+  'comment' => 'Hozzászólás',
+  'im_in_alb' => 'Kép az albumban',
+  'alb_del_success' => '&laquo;%s&raquo; album törölve', //cpg1.4
+  'alb_mgr' => 'Album kezelő',
+  'err_invalid_data' => 'Hibás adat \'%s\'-ban',
+  'create_alb' => 'A \'%s\'képalbum létrehozása',
+  'update_alb' => 'A \'%s\' képalbum frissítve  \'%s\' címmel és \'%s\' indexszel',
+  'del_pic' => 'Kép törlése',
+  'del_alb' => 'Album törlése',
+  'del_user' => 'Felhasználó törlése',
+  'err_unknown_user' => 'A kiválasztott felhasználó nem létezik!',
+  'err_empty_groups' => 'Nincs egyetlen csoporttábla sem vagy a csoporttábla üres!', //cpg1.4
+  'comment_deleted' => 'Hozzászólás sikeresen törölve',
+  'npic' => 'Kép', //cpg1.4
+  'pic_mgr' => 'Képkezelő', //cpg1.4
+  'update_pic' => 'A \'%s\' kép frissítve \'%s\' fájlnévvel \'%s\'és indexszel', //cpg1.4
+  'username' => 'felhasználónév', //cpg1.4
+  'anonymized_comments' => '%s Névtelen hozzászólás', //cpg1.4
+  'anonymized_uploads' => '%s Névtelen publikus feltöltés', //cpg1.4
+  'deleted_comments' => '%s Törölt hozzászólás', //cpg1.4
+  'deleted_uploads' => '%s Törölt publikus feltöltés', //cpg1.4
+  'user_deleted' => '%s felhasználó törölve', //cpg1.4
+  'activate_user' => 'Felhasználó engedélyezése', //cpg1.4
+  'user_already_active' => 'A felhasználó már engedélyezett', //cpg1.4
+  'activated' => 'Engedélyezés', //cpg1.4
+  'deactivate_user' => 'Felhasználó tiltása ', //cpg1.4
+  'user_already_inactive' => 'A felhasználó már le van tiltva', //cpg1.4
+  'deactivated' => 'tiltás', //cpg1.4
+  'reset_password' => 'Jelszó visszaállítás', //cpg1.4
+  'password_reset' => 'Jelszó beállítva %s -re', //cpg1.4
+  'change_group' => 'Elsődleges csoport választás', //cpg1.4
+  'change_group_to_group' => 'Változtatás %s -ről  %s -re', //cpg1.4
+  'add_group' => 'Másodlagogos csoport hozzáadása', //cpg1.4
+  'add_group_to_group' => 'A %s felhasználó hozzáadása %s csoporthoz. Ő most a(z)  %s elsődleges csoport tagja és %s a másodlagos csoportja.', //cpg1.4
+  'status' => 'Státusz', //cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File displayecard.php
+// ------------------------------------------------------------------------- //
+
+if (defined('DISPLAYECARD_PHP')) {
+
+$lang_displayecard_php = array(
+  'invalid_data' => 'Sérült adatok a képeslapodhoz az email kliens szerint. További információért ellenőrizd a linket.', //cpg1.4
+);
+}
+
+// ------------------------------------------------------------------------- //
+// File displayimage.php
+// ------------------------------------------------------------------------- //
+
+if (defined('DISPLAYIMAGE_PHP')){
+
+$lang_display_image_php = array(
+  'confirm_del' => 'Biztos, hogy törölni akarod ezt a képet? \\nKommentare werden ebenfalls gelöscht.',
+  'del_pic' => 'Kép törlése',
+  'size' => '%s x %s képpont',
+  'views' => '%s szor',
+  'slideshow' => 'Diavetítés indítása',
+  'stop_slideshow' => 'Dia',
+  'view_fs' => 'Kattints ide a teljes kép megtekintéséhez',
+  'edit_pic' => 'Kép információk szerkesztése', //cpg1.4
+  'crop_pic' => 'Vágás és forgatás',
+  'set_player' => 'Lejátszó választás',
+);
+
+$lang_picinfo = array(
+  'title' =>'Kép információ',
+  'Filename' => 'Fájlnév',
+  'Album name' => 'A képalbum neve',
+  'Rating' => 'Helyezés (%s szavazat)',
+  'Keywords' => 'Kulcsszavak',
+  'File Size' => 'Fájlméret',
+  'Date Added' => 'Hozzáadás dátuma', //cpg1.4
+  'Dimensions' => 'Méretek',
+  'Displayed' => 'Megjelenítve',
+  'URL' => 'URL', //cpg1.4
+  'Make' => 'Készítő', //cpg1.4
+  'Model' => 'Modell', //cpg1.4
+  'DateTime' => 'Dátum &amp; idő', //cpg1.4
+  'DateTimeOriginal' => 'Eredeti idő', //cpg1.4
+  'ISOSpeedRatings'=>'ISO', //cpg1.4
+  'MaxApertureValue' => 'Legnagyobb blende nyílás', //cpg1.4
+  'FocalLength' => 'Fókusz távolság', //cpg1.4
+  'Comment' => 'Hozzászólás',
+  'addFav'=>'Hozzáadás a kedvencekhez',
+  'addFavPhrase'=>'Kedvencek',
+  'remFav'=>'Eltávolítás a kedvencekből',
+  'iptcTitle'=>'IPTC cím',
+  'iptcCopyright'=>'IPTC copyright',
+  'iptcKeywords'=>'IPTC kulcsszavak',
+  'iptcCategory'=>'IPTC kategória',
+  'iptcSubCategories'=>'IPTC alkategóriák',
+  'ColorSpace' => 'Színtér', //cpg1.4
+  'ExposureProgram' => 'Expozíciós program', //cpg1.4
+  'Flash' => 'Vaku', //cpg1.4
+  'MeteringMode' => 'Mérési mód', //cpg1.4
+  'ExposureTime' => 'Expozíciós idő', //cpg1.4
+  'ExposureBiasValue' => 'Expozíciós előlállítás', //cpg1.4
+  'ImageDescription' => ' Kép meghatározás', //cpg1.4
+  'Orientation' => 'Orientáció', //cpg1.4
+  'xResolution' => 'x felbontás', //cpg1.4
+  'yResolution' => 'y felbontás', //cpg1.4
+  'ResolutionUnit' => 'A felbontás egysége', //cpg1.4
+  'Software' => 'Program', //cpg1.4
+  'YCbCrPositioning' => 'YCbCr pozíció', //cpg1.4
+  'ExifOffset' => 'Exif eltolás', //cpg1.4
+  'IFD1Offset' => 'IFD1 eltolás', //cpg1.4
+  'FNumber' => 'Blende', //cpg1.4
+  'ExifVersion' => 'Exif verzió', //cpg1.4
+  'DateTimeOriginal' => 'Eredeti dátum & idő', //cpg1.4
+  'DateTimedigitized' => 'Digitalizálás dátuma & ideje', //cpg1.4
+  'ComponentsConfiguration' => 'Komponens konfiguráció', //cpg1.4
+  'CompressedBitsPerPixel' => 'Tömörített bitek száma képpontonként', //cpg1.4
+  'LightSource' => 'Fényforrás', //cpg1.4
+  'ISOSetting' => 'ISO beállítás', //cpg1.4
+  'ColorMode' => 'Színmód', //cpg1.4
+  'Quality' => 'Minőség', //cpg1.4
+  'ImageSharpening' => 'Kép élesség', //cpg1.4
+  'FocusMode' => 'Fókusz mód', //cpg1.4
+  'FlashSetting' => 'Vaku beállítás', //cpg1.4
+  'ISOSelection' => 'ISO választás', //cpg1.4
+  'ImageAdjustment' => 'Képbeállítás', //cpg1.4
+  'Adapter' => 'Adapter', //cpg1.4
+  'ManualFocusDistance' => 'Kézi fókusztáv', //cpg1.4
+  'DigitalZoom' => 'Digitális zoom', //cpg1.4
+  'AFFocusPosition' => 'Autofókusz pozició', //cpg1.4
+  'Saturation' => 'Telítettség', //cpg1.4
+  'NoiseReduction' => 'Zaj csökkentés', //cpg1.4
+  'FlashPixVersion' => 'Vaku Pix verzió', //cpg1.4
+  'ExifImageWidth' => 'Exif képszélesség', //cpg1.4
+  'ExifImageHeight' => 'Exif képmagasság', //cpg1.4
+  'ExifInteroperabilityOffset' => 'Exif együttműködési ellenérték', //cpg1.4
+  'FileSource' => 'Fájl forrás', //cpg1.4
+  'SceneType' => 'Színhely típus', //cpg1.4
+  'CustomerRender' => 'Ügyfél beállítás', //cpg1.4
+  'ExposureMode' => 'Expozíciós mód', //cpg1.4
+  'WhiteBalance' => 'Fehér egyensúly', //cpg1.4
+  'DigitalZoomRatio' => 'Digitális zoom arány', //cpg1.4
+  'SceneCaptureMode' => 'Táj felvételi mód', //cpg1.4
+  'GainControl' => 'Nyereség kontroll', //cpg1.4
+  'Contrast' => 'Kontraszt', //cpg1.4
+  'Saturation' => 'Telítetség', //cpg1.4
+  'Sharpness' => 'Élesség', //cpg1.4
+  'ManageExifDisplay' => 'Exif képernyő kezelés', //cpg1.4
+  'submit' => 'Tovább', //cpg1.4
+  'success' => 'Információ sikeresen frissítve.', //cpg1.4
+  'details' => 'Részletek', //cpg1.4
+);
+
+$lang_display_comments = array(
+  'OK' => 'OK',
+  'edit_title' => 'Hozzászólás szerkesztése',
+  'confirm_delete' => 'Biztos, hogy törölni akarod ezt a hozzászólást?', //js-alert
+  'add_your_comment' => 'Hozzászólásod hozzáadása',
+  'name'=>'Név',
+  'comment'=>'Hozzászólás',
+  'your_name' => 'Saját neved',
+  'report_comment_title' => 'Jelentés a hozzászólásról a rendszergazdának', //cpg1.4
+);
+
+$lang_fullsize_popup = array(
+  'click_to_close' => 'Kattints a képre az ablak bezárásához!',
+);
+
+}
+
+// ------------------------------------------------------------------------- //
+// File ecard.php
+// ------------------------------------------------------------------------- //
+
+if (defined('ECARDS_PHP') || defined('DISPLAYECARD_PHP')) $lang_ecard_php =array(
+  'title' => 'Képeslap küldés',
+  'invalid_email' => '<b>Figyelem</b>: Hibás email cím!',
+  'ecard_title' => 'Egy képeslap neked %s -től',
+  'error_not_image' => 'Csak kép küldhető képeslapként.', //cpg1.3.0
+  'view_ecard' => 'Alternatív link, ha a kép nem jelenik meg helyesen: ',
+  'view_ecard_plaintext' => 'Hogy megtekintsd ezt a képeslapot, másold ki és illesztd be ezt az URL-t a böngésződ címsorába:', //cpg1.4
+  'view_more_pics' => 'Még több kép megtekintése!', //cpg1.4
+  'send_success' => 'A képeslapod elküldve',
+  'send_failed' => 'Sajnáljuk, de szerver nem tudta kézbesíteni a képeslapod...',
+  'from' => 'Feladó',
+  'your_name' => 'A Te neved',
+  'your_email' => 'A Te email címed',
+  'to' => 'Cimzett',
+  'rcpt_name' => 'Cimzett neve',
+  'rcpt_email' => 'Cimzett Email címe',
+  'greetings' => 'Üdvözlet', //cpg1.4
+  'message' => 'Üzenet', //cpg1.4
+  'ecards_footer' => 'Küldte: %s erről az %s IP címről %s -kor (képgaléria ideje)', //cpg1.4
+  'preview' => 'Képeslap megtekintése', //cpg1.4
+  'preview_button' => 'Megtekintés', //cpg1.4
+  'submit_button' => 'Képeslap küldése', //cpg1.4
+  'preview_view_ecard' => 'Ez egy alternatív link a képeslaphoz, ami egyszer lett legenerálva. A megtekintéshez nem fog működni.', //cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File report_file.php //cpg1.4
+// ------------------------------------------------------------------------- //
+
+if (defined('REPORT_FILE_PHP') || defined('DISPLAYREPORT_PHP')) $lang_report_php =array(
+  'title' => 'Jelentés a rendszergazdának', //cpg1.4
+  'invalid_email' => '<b>Figyelem</b>: hibás email cím!', //cpg1.4
+  'report_subject' => 'Jelentés %s -tól ezen %s Képtárról', //cpg1.4
+  'view_report' => 'Alternativ link, ha nem jelenik meg helyesen a képernyőn', //cpg1.4
+  'view_report_plaintext' => 'Hogy megtekintsd ezt a jelentést, másold ki és illesztd be ezt az URL-t a böngésződ címsorába:', //cpg1.4
+  'view_more_pics' => 'Képtár', //cpg1.4
+  'send_success' => 'A jelentés elküldve', //cpg1.4
+  'send_failed' => 'Sajnáljuk, de szerver nem tudta kézbesíteni a jelentésed...', //cpg1.4
+  'from' => 'Feladó', //cpg1.4
+  'your_name' => 'Saját neved', //cpg1.4
+  'your_email' => 'Saját email címed', //cpg1.4
+  'to' => 'Cimzett', //cpg1.4
+  'administrator' => 'Renszergazda/moderátor', //cpg1.4
+  'subject' => 'Tárgy', //cpg1.4
+  'comment_field_name' => 'Jelentés a hozzászólásról "%s"-tól', //cpg1.4
+  'reason' => 'Indíték', //cpg1.4
+  'message' => 'Üzenet', //cpg1.4
+  'report_footer' => 'Küldte: %s erről az %s IP címről %s -kor (képgaléria ideje)', //cpg1.4
+  'obscene' => 'trágár ', //cpg1.4
+  'offensive' => 'erőszakos', //cpg1.4
+  'misplaced' => 'Lezárt téma/eltévesztett', //cpg1.4
+  'missing' => 'hiányzó', //cpg1.4
+  'issue' => 'hiba/nem lehet megnézni', //cpg1.4
+  'other' => 'másik', //cpg1.4
+  'refers_to' => 'Kép jelentése', //cpg1.4
+  'reasons_list_heading' => 'A jelntés oka:', //cpg1.4
+  'no_reason_given' => 'Nincs ok megadva', //cpg1.4
+  'go_comment' => 'Ugrás a hozzászóláshoz', //cpg1.4
+  'view_comment' => 'Teljes jelentés hozzászólásokkal', //cpg1.4
+  'type_file' => 'Fájl', //cpg1.4
+  'type_comment' => 'Hozzászólás', //cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File editpics.php
+// ------------------------------------------------------------------------- //
+
+if (defined('EDITPICS_PHP')) $lang_editpics_php = array(
+  'pic_info' => 'Kép információ',
+  'album' => 'Képalbum',
+  'title' => 'Cím',
+  'filename' => 'Fájlnév', //cpg1.4
+  'desc' => 'Meghatározás',
+  'keywords' => 'Kulcsszavak',
+  'new_keyword' => 'Új kulcsszó', //cpg1.4
+  'new_keywords' => 'Új kulcsszavak keresése', //cpg1.4
+  'existing_keyword' => 'Létező kulcsszó', //cpg1.4
+  'pic_info_str' => '%sx%s - %s kB - %s x megtekintés - %s x szavazat',
+  'approve' => 'Kép jóváhagyása',
+  'postpone_app' => 'Elhalasztott jóváhagyás',
+  'del_pic' => 'Kép törlése',
+  'del_all' => 'Összes kép törlése', //cpg1.4
+  'read_exif' => 'EXIF adatok újraolvasása',
+  'reset_view_count' => 'Nézettségi számláló nullázása',
+  'reset_all_view_count' => 'Az összes nézettségi számláló nullázása', //cpg1.4
+  'reset_votes' => 'Szavazatok nullázása',
+  'reset_all_votes' => 'Összes szavazatok nullázása', //cpg1.4
+  'del_comm' => 'Hozzászólás törlése',
+  'del_all_comm' => 'Összes hozzászólás törlése', //cpg1.4
+  'upl_approval' => 'Feltöltés jóváhagyása', //cpg1.4
+  'edit_pics' => 'Kép szerkesztése',
+  'see_next' => 'A következő kép',
+  'see_prev' => 'Az előző kép',
+  'n_pic' => '%s Kép',
+  'n_of_pic_to_disp' => 'Kép oldalanként',
+  'apply' => 'Módosítások elfogadása',
+  'crop_title' => 'Coppermine képszerkesztő',
+  'preview' => 'Megtekintés',
+  'save' => 'Kép mentése',
+  'save_thumb' =>'Mentés indexképként',
+  'gallery_icon' => 'Legyen ez a képtáram ikonja', //cpg1.4
+  'sel_on_img' =>'A teljes kép kiválasztása', //js-alert
+  'album_properties' =>'Album tulajdonságok', //cpg1.4
+  'parent_category' =>'Szülő kategória', //cpg1.4
+  'thumbnail_view' =>'Indexkép nézet', //cpg1.4
+  'select_unselect' =>'Összes kiválasztása', //cpg1.4
+  'file_exists' => "A célfájl '%s' már létezik.", //cpg1.4
+  'rename_failed' => "Az átnevezés'%s'-ről '%s'-re nem sikerült.", //cpg1.4
+  'src_file_missing' => "A forrásfájl '%s' hiányzik.", // cpg 1.4
+  'mime_conv' => "Nem lehet átkonvertálni '%s'-ről '%s'-re",//cpg1.4
+  'forb_ext' => 'Tiltott fájlkiterjesztés.',//cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File faq.php
+// ------------------------------------------------------------------------- //
+
+if (defined('FAQ_PHP')) $lang_faq_php = array(
+  'faq' => 'Gyakran Ismételt Kérdések (Frequently Asked Questions)',
+  'toc' => 'Tárgymutató',
+  'question' => 'Kérdés: ',
+  'answer' => 'Válasz: ',
+);
+
+if (defined('FAQ_PHP')) $lang_faq_data = array(
+  'Általános',
+  array('Miért szükséges regisztrálni?', 'A regisztráció szükségességét a rendszergazda dönti el. A regisztrált tagok plusz funkciókat érnek el, mint pl.: képfeltöltés, kedvencek listája, kép értékelés, hozzászólások stb. ', 'allow_user_registration', '0'),
+  array('Hogy tudok regisztrálni?', 'Kattints a &quot;Registráció&quot;-ra és töltsd ki a szükséges mezőket (az opcionális mezők kitöltése nem kötelező).<br />Ha a rendszergazda engedélyezte az email aktiválást, akkor az adatok elfogadása után kapsz egy email üzenetet arra a címre , amelyet a regisztrációkor megadtál. A levél részletes utasításokat tartalmaz a regisztráció aktíválásának lépéseiről. Hogy be tudj jelentkezni, szükséges aktivált tagság.', 'allow_user_registration', '1'),
+  array('Hogy tudok bejelentkezni?', 'Kattints a &quot;Bejelentkezés&quot;-re, és add meg felhasználó neved és jelszavad, és jelöld be az &quot;Emlékezz rám&quot;opciót, hogy a képtár emlékezzen rád .<br /><b>Fontos: Hogy müködjön el kell fogadnos a sütiket erről az oldalról a böngésződben.</b>', 'offline', 0),
+  array('Miért nem tudok bejelentkezni?', 'Regisztráltál? Előfordulhat, hogy a képtár látogatása regisztrációhoz kötött. Ki lettél tiltva a képtárból (ezt egy üzenet jelzi)? Lépj kapcsolatba a webmesterrel, vagy az adminisztrátorral, hogy megtudd az okát. Ha regisztrált vagy, és nem vagy kitiltva az oldalról, akkor ellenőrizd, hogy nem gépelted-e el a nevet, vagy a jelszót. Ellenőrizd kétszer is, mivel legtöbbször ez a hiba. Ha a hiba még mindig fennáll, akkor lépj kapcsolatba az adminisztrátorral, pontosan leírva a hibajelenséget.', 'offline', 0),
+  array('Mit tegyek, ha elfelejtettem a jelszavam?', ' Ha van &quot;Elfejetettem a jelszót&quot; link, akkor használd. Más esetekben keresd meg a rendszergazdát', 'offline', 0),
+  //array('Mit tegyek ha meg akarom változtatni az Email címemet?', 'Egyszerüen jelentkezz be és menj a &quot; saját profil&quot;-ra', 'offline', 0),
+  array('Hogy vehetem fel a képet a &quot;Kedvenceim&quot; közé?', 'Kattints a képre , majd kattints a &quot;kép információ&quot;-ra (<img src="images/info.gif" width="16" height="16" border="0" alt="Kép-információ" />); menj az adatok aljára és kattints a &quot;Kedvencek hozzáadása&quot;-ra.<br />A rendszergazda engedélyezheti alapból a képinformációkat.<br />Fontos: A sütiket engedélyezned kell.', 'offline', 0),
+  array('Hogy tudom értékelni a képet?', 'Kattints az indexképre és a kép alján válassz egy helyezést.', 'offline', 0),
+  array('Hogy tudok hozzászolni a képhez?', 'Kattints az indexképre és menj az aljára, ahol be tudod írni a hozzászólásod.', 'offline', 0),
+  array('Hogy lehet képet feltölteni?', 'Kattints a &quot;Kép feltöltés&quot;-re és válassz albumot, hogy hova akarsz feltölteni.Kattints a &quot;Böngészés&quot;-re keresd meg a fájlt amit fel akarsz tölteni és kattints a &quot;megnyitás&quot; -ra. Adj neki címet és meghatározást ha akarsz, majd kattints az &quot;Elfogad&quot;-ra', 'allow_private_albums', 0),
+  array('Hova tudok képet feltölteni?', 'A saját albumaid közül bármelyikbe, amelyek a &quot;Saját képtár&quot;-adban találhatóak ', 'allow_private_albums', 0),
+  array('Milyen formátumú és méretű képet lehet feltölteni?', 'A formátumot (jpg,png stb..) és a méretet a rendszergazda határozza meg.', 'allow_private_albums', 0),
+  array('Mi az a  &quot;Saját képtár &quot;?', 'A &quot;Saját képtár&quot; az hely ahova el tudod helyezni az albumaidat.', 'allow_private_albums', 0),
+  array('Hogyan tudok létrehozni, átnevezni és törölni albumot a &quot;saját Képtár&quot;-ban?', 'Ehhez rendszergazda módban kell lenni.Menj a &quot; Saját album létrehozás/rendezés&quot;menübe és kattints az &quot;új&quot;-ra. Írd át az &quot;Új album&quot;nevet amire szeretnéd nevezni az albumodat .<br />Itt bármelyik létező albumod nevét meg tudod változtatni .<br />Kattints a &quot;Változtatások elfogadás&quot;-ára .', 'allow_private_albums', 0),
+  array('Hogy tudom módosítani az albumom tulajdonságait?', 'Ehhez rendszergazda módban kell lenni.<br />Meny a &quot; Saját album módosítása&quot; menübe. Az &quot;album frissítése&quot; listában válaszd ki a módosítani kivánt albumot.<br />Itt tudsz nevet, leírást, indexképet, megtekintés korlátozást és véleményezés korlátozást változtatni.<br />A végén kattints az  &quot;Album frissítés&quot; -re.', 'allow_private_albums', 0),
+  array('Mik azok a sütik?', 'A sütik kisméretü text fájlok , melyet a webszerver küld a számítógépednek. A sütik segítségével jegyzi meg a böngésző a felhasználó beálításait.<br /> ', 'offline', 0),
+  array('Hogyan használhatnám ezt a programot a saját weboldalomon?', 'A Coppermine egy szabadon felhasználható multimédiás képtár,mely a GNU alatt ljelent meg. Az összes szolgáltatása elérhető különböző platformokon. Láttogasd meg a  <a href="http://coppermine-gallery.net/">Coppermine weboldalát</a> további információkért és a program letöltéséhez .', 'offline', 0),
+
+  'Navigálás az oldalon',
+  array('Mi az &quot;Album lista&quot;?', 'Itt tudod megnézni az egész képtárat, minden albumhoz tartozik link. Ha nem vagy benne valamelyik képtárban akkor a képtárak listáját látod.', 'offline', 0),
+  array('Mi a  &quot;Saját képtár;?', 'Itt tud a felhasználó létrehozni saját albumot, törölni vagy módosítani már meglévőket.', 'allow_private_albums', 1), //cpg1.4
+  array('Mi a különbség az &quot;Rendszergazda mód&quot; és &quot;Felhasználó mód&quot; között?', 'Rendszergazda módban lehet módosítani a saját albumokon, képtárakon', 'allow_private_albums', 0),
+  array('Mi a &quot;Kép feltöltés&quot;?', 'Itt lehet képeket feltölteni a képtárba (méret és formátum a rendszergazda által meghatározva)', 'allow_private_albums', 0),
+  array('Mi a &quot;Legújabb feltöltések&quot;?', 'Itt lehet megnézni az utolsó feltöltéseket.', 'offline', 0),
+  array('Mi a &quot;Legújabb hozzászólások&quot;?', 'itt lehet megnézni a legújabb hozászólásokat, amelyeket a felhasználók beküldtek .', 'offline', 0),
+  array('Mi a &quot;Legtöbbet nézet&quot;?', 'Itt lehet megtekinteni a legtöbbször nézett képet az összes kép közül.', 'offline', 0),
+  array('Mi a &quot;Legtöbb szavazatot&quot;?', 'Ez a szolgáltatás mutatja a felhasználók által legjobban kedvelt képeket, megjelenítve az átlagos osztályzatot (pl. 5 néző ad  <img src="images/rating3.gif" width="65" height="14" border="0" alt="" />:-ot, akkor a kép átlagos osztályzata <img src="images/rating3.gif" width="65" height="14" border="0" alt="" /> ;Ha 5 néző osztályozza a képet  1-től 5-ig (1,2,3,4,5), akkor az átlag: <img src="images/rating3.gif" width="65" height="14" border="0" alt="" /> .)<br />A helyezés skála  <img src="images/rating5.gif" width="65" height="14" border="0" alt="" /> (legjobb)-tól a <img src="images/rating0.gif" width="65" height="14" border="0" alt="" /> (legrosszabb) -ig terjed.', 'offline', 0),
+  array('Mi a &quot;Kedvenceim&quot;?', 'Ez a szolgáltatás tárolja a felhasználó kedvenc képeit, melyet a sütiben el is küld a felhasználó számítógépére.', 'offline', 0),
+);
+
+
+// ------------------------------------------------------------------------- //
+// File forgot_passwd.php
+// ------------------------------------------------------------------------- //
+
+if (defined('FORGOT_PASSWD_PHP')) $lang_forgot_passwd_php = array(
+  'forgot_passwd' => 'Jelszó emlékeztető',
+  'err_already_logged_in' => 'Már be vagy jelentkezve!',
+  'enter_email' => 'Add meg az email címedet', //cpg1.4
+  'submit' => 'Tovább!',
+  'illegal_session' => 'Az elfelejtett jelszó időszak érvénytelen vagy lejárt.', //cpg1.4
+  'failed_sending_email' => 'Nem lehet elküldeni a jelszó emlékeztető email-t!',
+  'email_sent' => 'A felhasználó nevet és jelszót tartalmazó levelet elküldtük a(z) %s címre.', //cpg1.4
+  'verify_email_sent' => 'Az email elküldve %s címre. Kérjük, ellenőrizd a postaládádat a folyamat befejezéséhez.', //cpg1.4
+  'err_unk_user' => 'Nemlétező felhasználó!',
+  'account_verify_subject' => '%s - Új jelszót kér', //cpg1.4
+  'account_verify_body' => 'Új jelszót kértél. Ha azt akarod , hogy az új jelszót elküldjük, kattints a következő linkre:
+
+%s', //cpg1.4
+  'passwd_reset_subject' => '%s - Az új jelszavad', //cpg1.4
+  'passwd_reset_body' => 'A kért új jelszó:
+Felhasználónév: %s
+Jelszó: %s
+Kattints %s-ra, a bejelentkezéshez.', //cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File groupmgr.php
+// ------------------------------------------------------------------------- //
+
+if (defined('GROUPMGR_PHP')) $lang_groupmgr_php = array(
+  'group_name' => 'Csoport neve', //cpg1.4
+  'permissions' => 'Jogosultságok', //cpg1.4
+  'public_albums' => 'Nyilvános feltöltési album', //cpg1.4
+  'personal_gallery' => 'Személyes képtár', //cpg1.4
+  'upload_method' => 'Feltöltési módszerek', //cpg1.4
+  'disk_quota' => 'Lemezterület', //cpg1.4
+  'rating' => 'Osztályozás', //cpg1.4
+  'ecards' => 'Képeslapok', //cpg1.4
+  'comments' => 'Hozzászólások', //cpg1.4
+  'allowed' => 'Engedélyezett', //cpg1.4
+  'approval' => 'Elfogadott', //cpg1.4
+  'boxes_number' => 'Dobozok száma', //cpg1.4
+  'variable' => 'Változó', //cpg1.4
+  'fixed' => 'Állandó', //cpg1.4
+  'apply' => 'Módosítások elfogadása',
+  'create_new_group' => 'Új csoport létrehozása',
+  'del_groups' => 'Csoport(ok) törlése',
+  'confirm_del' => 'Figyelem: amikor egy csoport törlésre kerül, akkor a csoportba tartozó felhasználók át lesznek mozgatva a  \'Regisztrált felhasználók\' csoportba!\n\nBiztos, hogy ezt akarod?', //js-alert
+  'title' => 'Felhasználói csoportok kezelése',
+  'num_file_upload' => 'Kép feltöltő doboz', //cpg1.4
+  'num_URI_upload' => 'URI feltöltő doboz', //cpg1.4
+  'reset_to_default' => 'Alapértelmezett névre állítás (%s) - ajánlott!', //cpg1.4
+  'error_group_empty' => 'A csoport tábla üres!<br /><br />Az alap csoportok elkészítve, töltsd újra az oldalt', //cpg1.4
+  'explain_greyed_out_title' => 'Miért szürke ez a sor?', //cpg1.4
+  'explain_guests_greyed_out_text' => 'Nem tudod változtatni ezt a tulajdonságot, mert kikapcsoltad a  &quot;Vendég felhasználók engedélyezése&quot; opciót a Coppermine konfigurációs oldalán. A vendégek (a %s csoport tagjai) semmit sem tudnak csinálni a bejelentkezésen kivűl, tehát a csoportbeállítások nem érvényesek rájuk.', //cpg1.4
+  'explain_banned_greyed_out_text' => 'Die Eigenschaften der Gruppe %s können nicht verändert werden, da deren Mitglieder sowieso nichts tun dürfen.', //cpg1.4
+  'group_assigned_album' => 'Hozzárendelt album', //cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File index.php
+// ------------------------------------------------------------------------- //
+
+if (defined('INDEX_PHP')){
+
+$lang_index_php = array(
+  'welcome' => 'Üdvözlet !',
+);
+
+$lang_album_admin_menu = array(
+  'confirm_delete' => 'Biztos, hogy TÖRÖLNI akarod ezt az albumot? \\n Az összes kép és hozzászólás törölve lesz.',
+  'delete' => 'Törlés',
+  'modify' => 'Módosítás',
+  'edit_pics' => 'Kép szerkesztés',
+);
+
+$lang_list_categories = array(
+  'home' => 'Képtár',
+  'stat1' => '<b>[pictures]</b> kép <b>[albums]</b> albumban és <b>[cat]</b> kategoriában, <b>[comments]</b> hozzászólással, <b>[views]</b> alkalommal megtekintve',
+  'stat2' => '<b>[pictures]</b> kép <b>[albums]</b> albumban, <b>[views]</b> alkalommal megtekintve',
+  'xx_s_gallery' => '%s képtára',
+  'stat3' => '<b>[pictures]</b> kép <b>[albums]</b> albumban, <b>[comments]</b> hozzászólással, <b>[views]</b> alkalommal megtekintve'
+);
+
+$lang_list_users = array(
+  'user_list' => 'Felhasználó lista',
+  'no_user_gal' => 'Nincs felhasználó a képtárban.',
+  'n_albums' => '%s album',
+  'n_pics' => '%s kép',
+);
+
+$lang_list_albums = array(
+  'n_pictures' => '%s kép',
+  'last_added' => ', utoljára ez lett hozzáadva %s',
+  'n_link_pictures' => '%s kapcsolt kép', //cpg1.4
+  'total_pictures' => '%s kép összesen', //cpg1.4
+);
+
+}
+
+// ------------------------------------------------------------------------- //
+// File keywordmgr.php //cpg1.4
+// ------------------------------------------------------------------------- //
+
+if (defined('KEYWORDMGR_PHP')) $lang_keywordmgr_php = array(
+  'title' => 'Kulcsszavak kezelése', //cpg1.4
+  'edit' => 'szerkesztés', //cpg1.4
+  'delete' => 'törlés', //cpg1.4
+  'search' => 'keresés', //cpg1.4
+  'keyword_test_search' => 'a(z) %s keresése új ablakban', //cpg1.4
+  'keyword_del' => 'a(z) %s kulcsszó törlése', //cpg1.4
+  'confirm_delete' => 'Biztos, hogy törölni akarod a(z) %s kulcszót a képtárból?', //cpg1.4  // js-alert
+  'change_keyword' => 'Kulcsszó változtatása', //cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File login.php
+// ------------------------------------------------------------------------- //
+
+if (defined('LOGIN_PHP')) $lang_login_php = array(
+  'login' => 'Bejelentkezés (Login)',
+  'enter_login_pswd' => 'Add meg a felhasználóneved és jelszavad a bejelentkezéshez',
+  'username' => 'Felhasználó név',
+  'password' => 'Jelszó',
+  'remember_me' => 'Emlékezz rám',
+  'welcome' => 'Üdvözöllek %s ...',
+  'err_login' => '*** Nem sikerült bejelentkezned. Próbáld újra ***',
+  'err_already_logged_in' => 'Már be vagy jelentkezve!',
+  'forgot_password_link' => 'Elfelejtettem a jelszavam',
+  'cookie_warning' => 'Figyelmeztetés: a böngésződ nem fogadja el a sütiket', //cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File logout.php
+// ------------------------------------------------------------------------- //
+
+if (defined('LOGOUT_PHP')) $lang_logout_php = array(
+  'logout' => 'Kijelentkezés',
+  'bye' => 'Viszlát %s ...',
+  'err_not_loged_in' => 'Nem vagy bejelentkezve!',
+);
+
+// ------------------------------------------------------------------------- //
+// File minibrowser.php  //cpg1.4
+// ------------------------------------------------------------------------- //
+
+if (defined('MINIBROWSER_PHP')) $lang_minibrowser_php = array(
+  'close' => 'bezárás', //cpg1.4
+  'submit' => 'OK', //cpg1.4
+  'up' => 'egy szinttel feljebb', //cpg1.4
+  'current_path' => 'mostani útvonal', //cpg1.4
+  'select_directory' => 'válassz könyvtárat', //cpg1.4
+  'click_to_close' => 'Kattints a képre az ablak bezárásához',
+);
+
+// ------------------------------------------------------------------------- //
+// File modifyalb.php
+// ------------------------------------------------------------------------- //
+
+if (defined('MODIFYALB_PHP')) $lang_modifyalb_php = array(
+  'upd_alb_n' => 'A(z)%s album frissítve',
+  'general_settings' => 'Általános beállítások',
+  'alb_title' => 'Album címe',
+  'alb_cat' => 'Album kategória',
+  'alb_desc' => 'Album meghatározás',
+  'alb_keyword' => 'Album kulcsszó', //cpg1.4
+  'alb_thumb' => 'Album indexkép',
+  'alb_perm' => 'Jogosultságok erre az albumra',
+  'can_view' => 'Album megtekinthetik',
+  'can_upload' => 'Vendégek is feltölthetnek képeket',
+  'can_post_comments' => 'Vendégek is hozzászolhatnak',
+  'can_rate' => 'Vendégek is osztályozhatnak',
+  'user_gal' => 'Felhasználói képtár',
+  'no_cat' => '* nincs kategória *',
+  'alb_empty' => 'Üres album',
+  'last_uploaded' => 'utoljára feltöltött',
+  'public_alb' => 'Mindenki (nyilvános album)',
+  'me_only' => 'Csak én',
+  'owner_only' => 'Csak az album tulajdonos (%s)',
+  'groupp_only' => 'A(z) \'%s\'csoport tagjai',
+  'err_no_alb_to_modify' => 'Nincs modósítható album az adatbázisban.',
+  'update' => 'Album frissítve',
+  'reset_album' => 'Album visszaállítása', //cpg1.4
+  'reset_views' => 'Megtekintési számláló visszaállítása &quot;0&quot; -ra %s -ban', //cpg1.4
+  'reset_rating' => 'Az összes kép helyezésének alaphelyzetbe állítása a(z) %s albumban', //cpg1.4
+  'delete_comments' => 'Összes hozzászólás törlése a(z) %s albumban', //cpg1.4
+  'delete_files' => 'Az összes kép törlése %sVisszavonhatatlanul%s a(z) %s albumban', //cpg1.4
+  'views' => 'Megtekintések', //cpg1.4
+  'votes' => 'Szavazatok', //cpg1.4
+  'comments' => 'Hozzászólások', //cpg1.4
+  'files' => 'Képek', //cpg1.4
+  'submit_reset' => 'változások elfogadása', //cpg1.4
+  'reset_views_confirm' => 'Biztos vagyok benne!', //cpg1.4
+  'notice1' => '(*) függ a  %sCsoport%s beállításoktól',  //cpg1.4 //(do not translate %s!)
+  'alb_password' => 'Az album jelszava', //cpg1.4
+  'alb_password_hint' => 'Tipp album jelszóra', //cpg1.4
+  'edit_files' =>'Képek szerkesztése', //cpg1.4
+  'parent_category' =>'Szülő kategória', //cpg1.4
+  'thumbnail_view' =>'Indexkép nézet', //cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File phpinfo.php
+// ------------------------------------------------------------------------- //
+
+if (defined('PHPINFO_PHP')) $lang_phpinfo_php = array(
+  'php_info' => 'PHP információ',
+  'explanation' => 'Ez a kimenet a PHP-Funkció által lett generálva <a href="http://www.php.net/phpinfo">phpinfo()</a> A Coppermine-on belül megjelenítve.',
+  'no_link' => 'A phpinfo mások általi megtekintése biztonsági kockázatot jelent, ezért lehet csak rendszergazdaként megtekinteni.',
+);
+
+// ------------------------------------------------------------------------- //
+// File picmgr.php //cpg1.4
+// ------------------------------------------------------------------------- //
+if (defined('PICMGR_PHP')) $lang_picmgr_php = array(
+  'pic_mgr' => 'Képkezelő', //cpg1.4
+  'select_album' => 'Válassz albumot', //cpg1.4
+  'delete' => 'Törlés', //cpg1.4
+  'confirm_delete1' => 'Biztos hogy törölni akarod?', //cpg1.4
+  'confirm_delete2' => '\nA kép törlése folyamatban.', //cpg1.4
+  'apply_modifs' => 'Módosítások alkalmazása', //cpg1.4
+  'confirm_modifs' => 'Módosítások megerősítése', //cpg1.4
+  'pic_need_name' => 'A képnek kötelező nevet adni', //cpg1.4
+  'no_change' => 'Nem tudsz változtatni semmit!', //cpg1.4
+  'no_album' => '* Nincs album *', //cpg1.4
+  'explanation_header' => 'Az itt beállított egyéni sorrend csak erre a felhasználóra érvényes', //cpg1.4
+  'explanation1' => 'A rendszergazda be tudja állítani az alapértelmezett sorrendet növekvőre vagy csökkenőre (ez mindenkire vonatkozik, akinek nincs joga egyéni beállításhoz)', //cpg1.4
+  'explanation2' => 'A felhasználó választhat a növekvő vagy csökkenő sorrend között, az indexkép nézetben', //cpg1.4
+);
+
+
+// ------------------------------------------------------------------------- //
+// File pluginmgr.php //cpg1.4
+// ------------------------------------------------------------------------- //
+
+if (defined('PLUGINMGR_PHP')){
+
+$lang_pluginmgr_php = array(
+  'confirm_uninstall' => 'Biztos, hogy el akarod távolítani ezt a beépülőt (plugin)?', //cpg1.4
+  'confirm_delete' => 'Biztos, hogy törölni akarod a beépülőt?', //cpg1.4
+  'pmgr' => 'Beépülő kezelő', //cpg1.4
+  'name' => 'Név', //cpg1.4
+  'author' => 'Szerző', //cpg1.4
+  'desc' => 'leírás', //cpg1.4
+  'vers' => 'v', //cpg1.4
+  'i_plugins' => 'Telepített beépülők', //cpg1.4
+  'n_plugins' => 'Nincs telepítve beépülő', //cpg1.4
+  'none_installed' => 'Nincs telepítve semmi', //cpg1.4
+  'operation' => 'Művelet', //cpg1.4
+  'not_plugin_package' => 'A feltöltött fájl nem beépülő csomag.', //cpg1.4
+  'copy_error' => 'Hiba történt a csomag a beépülő könyvtárba másolásakor.', //cpg1.4
+  'upload' => 'Feltöltés', //cpg1.4
+  'configure_plugin' => 'Beépülő konfigurálása', //cpg1.4
+  'cleanup_plugin' => 'Beépülő takarítása', //cpg1.4
+);
+}
+
+// ------------------------------------------------------------------------- //
+// File ratepic.php
+// ------------------------------------------------------------------------- //
+
+if (defined('RATEPIC_PHP')) $lang_rate_pic_php = array(
+  'already_rated' => 'Bocsi, már osztályoztad a képet',
+  'rate_ok' => 'Szavazatod elfogadva',
+  'forbidden' => 'A saját képedet nem osztályozhatod.', //cpg1.3.0
+);
+
+// ------------------------------------------------------------------------- //
+// File register.php & profile.php
+// ------------------------------------------------------------------------- //
+
+if (defined('REGISTER_PHP') || defined('PROFILE_PHP')) {
+
+$lang_register_disclamer = <<<EOT
+ Noha a(z) {SITE_NAME} adminisztrátorai mindent megtesznek, hogy minél hamarabb eltávolítsák vagy töröljék a képtárból az általánosan kifogásolható anyagokat, lehetetlen, hogy minden egyes hozzászólást és képet átnézzenek. Ebből adódóan elfogadom, hogy a képtárban található összes hozzászólás és kép a szerző nézeteit tükrözi, és nem az adminisztrátorok, vagy a webmester álláspontját - így ők nem vállalnak felelősséget a hozzászólások és képek tartalmáért.<br />
+<br />
+Beleegyezek, hogy nem küldök sértegető, obszcén, vulgáris, rágalmazó, gyűlöletkeltő, támadó anyagot vagy bármely más olyan tartalmat, mely törvényt sért. Sem olyan anyagot, mely ellentétes az általános közízléssel, mivel ez egy nyilvános képtár. A fentiek megsértése azonnali és végleges törlést von maga után.
+Elfogadom, hogy a képtár webmesterének, az adminisztrátornak  jogában áll eltávolítani, szerkeszteni a hozzászólásaimat, vagy törölni az általam felrakott képeket, amennyiben úgy ítéli meg, hogy ez szükséges. Mint felhasználó, elfogadom, hogy néhány, általam megadott információ tárolásra kerül a képtár adatbázisában. Ezek az adatok semmilyen módon nem kerülnek ki egy harmadik félhez, de az adminisztrátorok sem tudnak felelősséget vállalni, amennyiben az adatokat harmadik fél törvénytelen eszközökkel szerzi meg (például a képtár feltörésével).<br />
+<br />
+A Képtár "cookie"-kat (sütiket) használ, hogy adatokat tároljon a felhasználó számítógépén, de egyik sem tartalmaz személyes adatokat, melyek a regisztrációnál kerültek megadásra: a sütik pusztán technikai szempontból szükségesek (például ezek segítségével jegyzi meg a böngésző az egyéni beállításokat). A megadott email cím csak a regisztráció (és új jelszó) érvényesítésénél kerül felhasználásra.
+<br />
+<br />
+Az 'Elfogadom'-ra kattintva elfogadom a fenti feltételeket.
+EOT;
+
+$lang_register_php = array(
+  'page_title' => 'Felhasználó regisztráció',
+  'term_cond' => 'Felhasználói szabályzat',
+  'i_agree' => 'Elfogadom',
+  'submit' => 'Regisztráció elfogadása',
+  'err_user_exists' => 'A megadott felhasználónév már létezik, válassz egy másikat!',
+  'err_password_mismatch' => 'A két jelszó nem egyezik, írd be újra',
+  'err_uname_short' => 'A felhasználó név legalább 2 karakter hosszú legyen',
+  'err_password_short' => 'A jelszó legalább 2 karakter hosszú legyen',
+  'err_uname_pass_diff' => 'A felhasználónév és a jelszó nem lehet azonos',
+  'err_invalid_email' => 'Nem érvényes email cím',
+  'err_duplicate_email' => 'A megadott email címmel már valaki regisztrálta magát',
+  'enter_info' => 'Add meg a regisztrációs adatokat',
+  'required_info' => 'Kötelező',
+  'optional_info' => 'Válaszható',
+  'username' => 'Felhasználónév',
+  'password' => 'Jelszó',
+  'password_again' => 'Jelszó újra',
+  'email' => 'Email cím',
+  'location' => 'Helység',
+  'interests' => 'Hobbi',
+  'website' => 'Honlap',
+  'occupation' => 'Foglalkozás',
+  'error' => 'HIBA',
+  'confirm_email_subject' => '%s - Regisztráció megerősítés',
+  'information' => 'Információ',
+  'failed_sending_email' => 'A regisztráció megerősítéséhez szükséges levél nem lett elküldve',
+  'thank_you' => 'Köszönjük a regisztrációt.<br /><br />Az emailt a felhasználói azonosító aktíválásának ismertetésével elküldtük a megadott címre.',
+  'acct_created' => 'Az azonosító elkészült, bejelentkezés a felhasználó névvel és jelszóval',
+  'acct_active' => 'Az azonosító aktiválva, bejelentkezés a felhasználó névvel és jelszóval',
+  'acct_already_act' => 'Az azonosító már aktív!', //cpg1.4
+  'acct_act_failed' => 'Az azonosító aktíválása nem lehetséges!',
+  'err_unk_user' => 'Nem létező felhasználó!',
+  'x_s_profile' => '%s felhasználói adatai',
+  'group' => 'Csoport',
+  'reg_date' => 'Regisztrálás ideje',
+  'disk_usage' => 'Lemez használat',
+  'change_pass' => 'Jelszó változtatás',
+  'current_pass' => 'Jelenlegi jelszó',
+  'new_pass' => 'Új jelszó',
+  'new_pass_again' => 'Új jelszó mégegyszer',
+  'err_curr_pass' => 'A jelenlegi jelszó hibás',
+  'apply_modif' => 'Módosítások jóváhagyása',
+  'change_pass' => 'Jelszó változtatás',
+  'update_success' => 'A felhasználói adatok frissítve',
+  'pass_chg_success' => 'A jelszavad megváltoztatva',
+  'pass_chg_error' => 'A jelszavad nem változott',
+  'notify_admin_email_subject' => '%s - Regisztrációs értesítő',
+  'last_uploads' => 'Utoljára feltöltött fájl.<br />Kattints ide az összes feltöltésének megtekintéséhez', //cpg1.4
+  'last_comments' => 'Utolsó hozzászólás.<br />Kattints ide az öszzes hozzászólás megtekintéséhez', //cpg1.4
+  'notify_admin_email_body' => 'Egy új felhasználó "%s" néven regisztrálta magát a képtáradba',
+  'pic_count' => 'Feltöltött képek', //cpg1.4
+  'notify_admin_request_email_subject' => '%s - Regisztrációs kérés', //cpg1.4
+  'thank_you_admin_activation' => 'Köszönjük.<br /><br />Az azonosító aktíválási kérelem elküldve a rendszergazdának. Email-ben értesítünk az elfogadásról.', //cpg1.4
+  'acct_active_admin_activation' => 'Az azonosító aktív, email elküldve a felhasználónak.', //cpg1.4
+  'notify_user_email_subject' => '%s - Aktíválási értesitő', //cpg1.4
+);
+
+$lang_register_confirm_email = <<<EOT
+Köszönjük, hogy regisztrált a {SITE_NAME}-ra
+
+Az Ön felhasználóneve : "{USER_NAME}"
+Az Ön jelszava : "{PASSWORD}"
+
+Az azonosító aktíválásához kattintson az alábbi linkre, vagy másolja a böngésző címsorába.
+<a href="{ACT_LINK}">{ACT_LINK}</a>
+
+Üdvözlettel:
+
+A {SITE_NAME} csapata.
+
+EOT;
+
+$lang_register_approve_email = <<<EOT
+A(z) "{USER_NAME}" nevű felhasználó regisztrálta magát a képtárban.
+
+Az azonosító aktíválásához kattintson az alábbi linkre, vagy másolja a böngésző címsorába.
+
+<a href="{ACT_LINK}">{ACT_LINK}</a>
+
+EOT;
+
+$lang_register_activated_email = <<<EOT
+A kért azonosítót elfogadtuk és aktíváltuk.
+
+A bejelentkezéshez a(z) <a href="{SITE_LINK}">{SITE_LINK}</a> oldalon használd a(z) "{USER_NAME}" felhasználónevet.
+
+
+Üdvözlettel,
+
+A(z) {SITE_NAME} csapata
+
+EOT;
+}
+
+// ------------------------------------------------------------------------- //
+// File reviewcom.php
+// ------------------------------------------------------------------------- //
+
+if (defined('REVIEWCOM_PHP')) $lang_reviewcom_php = array(
+  'title' => 'Hozzászólások megtekintése',
+  'no_comment' => 'Nincs megtekinthető hozzászólás',
+  'n_comm_del' => '%s db hozzászólás törölve',
+  'n_comm_disp' => 'A megjelenített hozzászólások száma',
+  'see_prev' => 'elöző',
+  'see_next' => 'következő',
+  'del_comm' => 'Kiválasztott hozzászólások törlése',
+  'user_name' => 'Név', //cpg1.4
+  'date' => 'Dátum', //cpg1.4
+  'comment' => 'Hozzászólás', //cpg1.4
+  'file' => 'Fájl', //cpg1.4
+  'name_a' => 'név szerint növekvő', //cpg1.4
+  'name_d' => 'név szerint csökkenő', //cpg1.4
+  'date_a' => 'Dátum szerint növekvő', //cpg1.4
+  'date_d' => 'Dátum szerint csökkenő', //cpg1.4
+  'comment_a' => 'Hozzászólás szerint növekvő', //cpg1.4
+  'comment_d' => 'Hozzászólás szerint csökkenő', //cpg1.4
+  'file_a' => 'Fájl szerint növekvő', //cpg1.4
+  'file_d' => 'Fájl szerint csökkenő', //cpg1.4
+);
+
+
+// ------------------------------------------------------------------------- //
+// File search.php                                                           //
+// ------------------------------------------------------------------------- //
+
+
+if (defined('SEARCH_PHP')){
+
+$lang_search_php = array(
+  'title' => 'Képgyüjtemény keresés', //cpg1.4
+  'submit_search' => 'keresés', //cpg1.4
+  'keyword_list_title' => 'Kulcsszavak listája', //cpg1.4
+  'keyword_msg' => 'A fenti lista nem tartalmaz mindent - nincsenek benne a képek címeinek és leírásainak szavai. Próbáld meg a keresést ateljes szövegben.',  //cpg1.4
+  'edit_keywords' => 'Kulcsszavak szerkesztése', //cpg1.4
+  'search in' => 'Keresés itt:', //cpg1.4
+  'ip_address' => 'IP-cím', //cpg1.4
+  'fields' => 'Keresési mezők', //cpg1.4
+  'age' => 'Kor', //cpg1.4
+  'newer_than' => 'újabb mint', //cpg1.4
+  'older_than' => 'régebbi mint', //cpg1.4
+  'days' => 'Napok', //cpg1.4
+  'all_words' => 'Teljes egyezés (és)', //cpg1.4
+  'any_words' => 'Részleges egyezés (vagy)', //cpg1.4
+);
+
+$lang_adv_opts = array(
+  'title' => 'Cím', //cpg1.4
+  'caption' => 'Felirat', //cpg1.4
+  'keywords' => 'Kulcsszó', //cpg1.4
+  'owner_name' => 'Tulajdonos neve', //cpg1.4
+  'filename' => 'Fájlnév', //cpg1.4
+);
+
+}
+
+// ------------------------------------------------------------------------- //
+// File searchnew.php
+// ------------------------------------------------------------------------- //
+
+if (defined('SEARCHNEW_PHP')) $lang_search_new_php = array(
+  'page_title' => 'Új képek keresése',
+  'select_dir' => 'Válassz könyvtárat',
+  'select_dir_msg' => 'Ez a szólgáltatás lehetővé teszi egynél több kép egyidejü feltöltését FTP-n keresztül.<br /><br />Válassz könyvtárat, ahová feltölteni kívánsz.', //cpg1.4
+  'no_pic_to_add' => 'Nem lett hozzáadva semmi sem',
+  'need_one_album' => 'Legalább 1 albumnak léteznie kell a szolgáltatás használatához',
+  'warning' => 'Figyelem',
+  'change_perm' => 'A program nem tud írni a könyvtárba. Meg kell változtatnod a jogosultságokat (chmod) 755-ra vagy 777-re, mielőtt fájlokat adnál hozzá!',
+  'target_album' => '<b>Tedd a  &quot;</b>%s<b>&quot; képeit </b>%s helyre',
+  'folder' => 'Könyvtár',
+  'image' => 'Kép',
+  'album' => 'Album',
+  'result' => 'Eredmény',
+  'dir_ro' => 'Nem írható',
+  'dir_cant_read' => 'Nem olvasható',
+  'insert' => 'Új kép beillesztése a képtárba',
+  'list_new_pic' => 'Új képek listája',
+  'insert_selected' => 'Kiválasztott képek beillesztése',
+  'no_pic_found' => 'Nincs új kép',
+  'be_patient' => 'Légy türelemmel, a képek hozzáadása időbe telik',
+  'no_album' => 'Nincs album kiválasztva',
+  'result_icon' => 'Kattints ide a részletekért',  //cpg1.4
+  'notes' =>  '<ul>'.
+    '<li><b>OK</b> : jelentése - a kép sikeresen hozzáadva'.
+    '<li><b>DP</b> : jelentése - a kép már szerepel az adatbázisban'.
+    '<li><b>PB</b> : Jelentése - a képet nem sikerült hozzáadni, ellenőrizd a konfigurációt és a könyvtár jogusultságokat'.
+    '<li><b>NA</b> : jelentése - nem lett album kiválasztva, kattints a \'<a href="javascript:history.back(1)">vissza</a>\' -ra és válassz egyet. Ha nincs kiválasztható album, akkor <a href="albmgr.php">hozz létre elöszőr egyet</a>.</li>'.
+    '<li>Ha OK, DP, PB \'jelek\' nem jelennek meg, kattints a törött fájlra, hogy megnézhesd a PHP által adott hibaüzenetet'.
+    '<li>Ha a böngésződ időtúllépést jelez, kattints az Újratöltés (F5) gombra'.
+    '</ul>',
+  'select_album' => 'Válassz albumot',
+  'check_all' => 'Összes kiválasztása',
+  'uncheck_all' => 'Összes kiválasztás törlése',
+  'no_folders' => 'Nincs könyvtár létrehozva az "albums" könyvtáron belül. Létre kell hoznod legalább 1 felhasználói könyvtárat az "albums" könyvtár alatt és fájlokat kell feltöltened. Tilos feltöltésre használni a "userpics" vagy az "edit" könyvtárakat, e könyvtárak fenntartva vannak belső használatra.', //cpg1.4
+   'albums_no_category' => 'Kategória nélküli albumok', //cpg1.4 // album pulldown mod, added by frogfoot
+  'personal_albums' => '* Személyes albumok', //cpg1.4 // album pulldown mod, added by frogfoot
+  'browse_batch_add' => 'Böngészhető felület (ajánlott)', //cpg1.4
+  'edit_pics' => 'Képek szerkesztése', //cpg1.4
+  'edit_properties' => 'Album tulajdonságok', //cpg1.4
+  'view_thumbs' => 'Indexkép nézet', //cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File stat_details.php //cpg1.4
+// ------------------------------------------------------------------------- //
+
+if (defined('STAT_DETAILS_PHP')) $lang_stat_details_php = array(
+  'show_hide' => 'Oszlop megjelenítése/elrejtése', //cpg1.4
+  'vote' => 'Szavazat részletei', //cpg1.4
+  'hits' => 'Találat részletei', //cpg1.4
+  'stats' => 'Szavazat statisztika', //cpg1.4
+  'sdate' => 'Dátum', //cpg1.4
+  'rating' => 'Helyezés', //cpg1.4
+  'search_phrase' => 'Kereső kifejezés', //cpg1.4
+  'referer' => 'Hivatkozás', //cpg1.4
+  'browser' => 'Böngésző', //cpg1.4
+  'os' => 'Operációs rendszer', //cpg1.4
+  'ip' => 'IP-cím', //cpg1.4
+  'sort_by_xxx' => 'Rendezés %s szerint', //cpg1.4
+  'ascending' => 'növekvő', //cpg1.4
+  'descending' => 'csökkenő', //cpg1.4
+  'internal' => 'belső', //cpg1.4
+  'close' => 'bezár', //cpg1.4
+  'hide_internal_referers' => 'belső hivatkozások elrejtése', //cpg1.4
+  'date_display' => 'Dátum formátum', //cpg1.4
+  'submit' => 'elfogad/frissít', //cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File thumbnails.php
+// ------------------------------------------------------------------------- //
+
+// Void
+
+// ------------------------------------------------------------------------- //
+// File upload.php
+// ------------------------------------------------------------------------- //
+
+if (defined('UPLOAD_PHP')) $lang_upload_php = array(
+  'title' => 'Kép feltöltése',
+  'custom_title' => 'Egyedi kérdőív',
+  'cust_instr_1' => 'Választhatsz egyedi feltölő dobozokat, de nem választhatsz többet az alábbi értékeknél.',
+  'cust_instr_2' => 'Kérhető doboz számok',
+  'cust_instr_3' => 'Kép feltöltő doboz: %s',
+  'cust_instr_4' => 'URI/URL feltöltő doboz: %s',
+  'cust_instr_5' => 'URI/URL feltöltő doboz:',
+  'cust_instr_6' => 'Kép feltöltő doboz:',
+  'cust_instr_7' => 'Töltsd ki adatokkal az itt megadott dobozokat, majd kattints a  \'tovább\'-ra.',
+  'reg_instr_1' => 'Érvénytelen művelet az űrlap létrehozásakor.',
+  'reg_instr_2' => 'Most feltöltheted a képeid a lenti dobozok használatával. A kép mérete nem lehet nagyobb %s kB-nál. Zip fájlok tömörítve kerülnek feltöltésre.',
+  'reg_instr_3' => 'Ha azt akarod, hogy a zip fájlok ki legyenek csomagolva, akkor a megfelelő feltöltő dobozt kell használnod.',
+  'reg_instr_4' => 'Ha az URI/URL feltöltő módot használod, akkor add meg a kép útvonalát pl. ilyen formában: \'http://www.sajat.hu/kepek/kepneve.jpg\'',
+  'reg_instr_5' => 'Ha végeztél a kitöltéssel, kattints a \'tovább\'-ra.',
+  'reg_instr_6' => 'Zip feltöltés:',
+  'reg_instr_7' => 'Kép feltöltés:',
+  'reg_instr_8' => 'URI/URL feltöltés:',
+  'error_report' => 'Hiba jelentés',
+  'error_instr' => 'A következő feltöltésekkel volt probléma:',
+  'file_name_url' => 'Fájlnév/URL',
+  'error_message' => 'Hibaüzenet',
+  'no_post' => 'A kép nem lett feltöltve .',
+  'forb_ext' => 'Nem megengedett kiterjesztés.',
+  'exc_php_ini' => 'A fájlméret túllépte a php.ini-ben megadott értéket.',
+  'exc_file_size' => 'A fájlméret túllépte a Coppermine konfigurációban megadottat.',
+  'partial_upload' => 'Csak részleges feltöltés.',
+  'no_upload' => 'Nem történt feltöltés.',
+  'unknown_code' => 'Ismeretlen PHP-Upload hibakód.',
+  'no_temp_name' => 'Nincs feltöltés - Nincs ideiglenes név.',
+  'no_file_size' => 'Nem tartalamaz adatot/sérült',
+  'impossible' => 'Nem lehet mozgatni.',
+  'not_image' => 'Nem kép/sérült',
+  'not_GD' => 'Nem GD kiterjesztés.',
+  'pixel_allowance' => 'Túl nagy képszélesség vagy képmagasság.',
+  'incorrect_prefix' => 'Hibás URI/URL előtag',
+  'could_not_open_URI' => 'Nem lehet kapcsolodni az URI-hoz.',
+  'unsafe_URI' => 'Nem biztonságos cím.',
+  'meta_data_failure' => 'Meta adat hiba',
+  'http_401' => '401 Nem azonosított felhasználó',
+  'http_402' => '402 Fizetés szükséges',
+  'http_403' => '403 Tiltott',
+  'http_404' => '404 Nem található',
+  'http_500' => '500 Belső hiba',
+  'http_503' => '503 A szolgáltatás nem elérhető',
+  'MIME_extraction_failure' => 'Ismeretlen MIME tartalom.',
+  'MIME_type_unknown' => 'Ismeretlen MIME típus',
+  'cant_create_write' => 'Nem lehet létrehozni az írásfájlt.',
+  'not_writable' => 'Nem lehet írni az írásfájlba.',
+  'cant_read_URI' => 'Nem lehet olvasni az  URI/URL-t',
+  'cant_open_write_file' => 'Nem lehet megnyitni az URI/URL írásfájlt.',
+  'cant_write_write_file' => 'Nem lehet írni az URI írásfájlba.',
+  'cant_unzip' => 'Nem lehet kicsomagolni.',
+  'unknown' => 'Ismeretlen hiba',
+  'succ' => 'Sikeres feltöltés',
+  'success' => '%s db feltöltés sikeres.',
+  'add' => 'Kattints a  \'tovább\'-ra, a képek albumba helyezéséhez.',
+  'failure' => 'Feltöltési hiba',
+  'f_info' => 'Fájl információ',
+  'no_place' => 'Az elöző fájl nem lett elhelyezve.',
+  'yes_place' => 'Az elöző fájl sikeresen elhelyezve.',
+  'max_fsize' => 'A megengedett legnagyobb fájlméret: %s kB',
+  'album' => 'Album',
+  'picture' => 'Kép',
+  'pic_title' => 'Kép címe',
+  'description' => 'Kép leírása',
+  'keywords' => 'Kulcsszavak (veszővel elválasztva)<br /><a href="#" onClick="return MM_openBrWindow(\'keyword_select.php\',\'selectKey\',\'width=250, height=400, scrollbars=yes,toolbar=no,status=yes,resizable=yes\')">beillesztés listából</a>', //cpg1.4
+  'keywords_sel' =>'Válassz kulcsszót', //cpg1.4
+  'err_no_alb_uploadables' => 'Sajnálom, de nincs egy album se, ahova fel tudnád tölteni a képet',
+  'place_instr_1' => 'Kérünk, most helyezd el a képet az albumban.  Minden egyes képnek add meg a lényeges adatait.',
+  'place_instr_2' => 'További fájlok elhelyezéséhez kattints a \'folytatás\'-ra!',
+  'process_complete' => 'Összes fájl sikeresen elhelyezve.',
+  'albums_no_category' => 'Album kategória nélkül', //cpg1.4. //album pulldown mod, added by frogfoot
+  'personal_albums' => '* Személyes album', //cpg1.4 //album pulldown mod, added by frogfoot
+  'select_album' => 'Válassz albumot', //cpg1.4 //album pulldown mod, added by frogfoot
+  'close' => 'bezárás', //cpg1.4
+  'no_keywords' => 'Nincs elérhető kulcsszó!', //cpg1.4
+  'regenerate_dictionary' => 'Szótár frissítése', //cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File usermgr.php
+// ------------------------------------------------------------------------- //
+
+if (defined('USERMGR_PHP')) $lang_usermgr_php = array(
+  'memberlist' => 'Tagok listája', //cpg1.4
+  'user_manager' => 'Felhasználó kezelés', //cpg1.4
+  'title' => 'Felhasználó kezelő',
+  'name_a' => 'Név szerint növekvő',
+  'name_d' => 'Név szerint csökkenő',
+  'group_a' => 'Csoport szerint növekvő',
+  'group_d' => 'Csoport szerint csökkenő',
+  'reg_a' => 'Regisztráció ideje szerint növekvő',
+  'reg_d' => 'Regisztráció ideje szerint csökkenő',
+  'pic_a' => 'Kép szám szerint növekvő',
+  'pic_d' => 'Kép szám szerint csökkenő',
+  'disku_a' => 'Lemez használat szerint növekvő',
+  'disku_d' => 'Lemez használat szerint csökkenő',
+  'lv_a' => 'Utolsó bejelentkezés szerint növekvő',
+  'lv_d' => 'Utolsó bejelentkezés szerint csökkenő',
+  'sort_by' => 'Felhasználók rendezése',
+  'err_no_users' => 'A felhasználó-tábla üres!',
+  'err_edit_self' => 'Nem tudod szerkeszteni a saját adataidat, használd erre a \'Saját adatok\' menüt!',
+  'edit' => 'szerkesztés', //cpg1.4
+  'with_selected' => 'kiválasztva:', //cpg1.4
+  'delete' => 'törlés', //cpg1.4
+  'delete_files_no' => 'tartsd meg a nyilvános képeket (de névtelenítsd)', //cpg1.4
+  'delete_files_yes' => 'a nyilvános képek törlése is', //cpg1.4
+  'delete_comments_no' => 'tartsd meg a nyilvános hozzászólásokat (de névtelenítsd)', //cpg1.4
+  'delete_comments_yes' => 'a nyilvános hozzászólások törlése is', //cpg1.4
+  'activate' => 'Bekapcsolva', //cpg1.4
+  'deactivate' => 'Kikapcsolva', //cpg1.4
+  'reset_password' => 'Jelszó alaphelyzetbe állítása', //cpg1.4
+  'change_primary_membergroup' => 'Elsődleges csoport beállítása', //cpg1.4
+  'add_secondary_membergroup' => 'Másodlagos csoport beállítása', //cpg1.4
+  'name' => 'Felhasználói név',
+  'group' => 'Csoport',
+  'inactive' => 'Inaktív',
+  'operations' => 'Művelet',
+  'pictures' => 'Képek',
+  'disk_space_used' => 'Használt lemezterület', //cpg1.4
+  'disk_space_quota' => 'Lemezkvóta', //cpg1.4
+  'registered_on' => 'Regisztráció', //cpg1.4
+  'last_visit' => 'Utolsó bejelentkezés',
+  'u_user_on_p_pages' => '%d felhasználó %d oldalon',
+  'confirm_del' => 'Biztos, hogy törlöd ezt a felhasználót? \\nAz összes fájla is törlődni fog.', //js-alert
+  'mail' => 'Levél',
+  'err_unknown_user' => 'Nem létező felhasználó!',
+  'modify_user' => 'Felhasználó módosítása',
+  'notes' => 'Megjegyzések',
+  'note_list' => '<li>Ha nem változtatsz jelszót, akkor hagyd a "Jelszó" mezőt üresen.',
+  'password' => 'Jelszó',
+  'user_active' => 'Aktív felhasználó',
+  'user_group' => 'Felhasználó csoportja',
+  'user_email' => 'Felhasználó email címe',
+  'user_web_site' => 'Felhasználó honlapja',
+  'create_new_user' => 'Új felhasználó létrehozása',
+  'user_location' => 'Helység',
+  'user_interests' => 'Hobbi/érdeklődési kör',
+  'user_occupation' => 'Foglalkozás',
+  'user_profile1' => '$user_profile1', //cpg1.4
+  'user_profile2' => '$user_profile2', //cpg1.4
+  'user_profile3' => '$user_profile3', //cpg1.4
+  'user_profile4' => '$user_profile4', //cpg1.4
+  'user_profile5' => '$user_profile5', //cpg1.4
+  'user_profile6' => '$user_profile6', //cpg1.4
+  'latest_upload' => 'Legújabb feltöltések',
+  'never' => 'Soha',
+  'search' => 'Felhasználó keresése', //cpg1.4
+  'submit' => 'Elfogad', //cpg1.4
+  'search_submit' => 'Tovább!', //cpg1.4
+  'search_result' => 'Keresés eredménye: ', //cpg1.4
+  'alert_no_selection' => 'Először válassz egy felhasználót!', //cpg1.4 //js-alert
+  'password' => 'Jelszó', //cpg1.4
+  'select_group' => 'Válassz csoportot!', //cpg1.4
+  'groups_alb_access' => 'A csoport album-jogosultságai', //cpg1.4
+  'album' => 'Album', //cpg1.4
+  'category' => 'Kategória', //cpg1.4
+  'modify' => 'Módosítod?', //cpg1.4
+  'group_no_access' => 'Ennek a csoportnak nincs speciális hozzáférése', //cpg1.4
+  'notice' => 'Értesítés', //cpg1.4
+  'group_can_access' => 'Az Album(ok)-hoz , csak "%s" férhet hozzá', //cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File util.php
+// ------------------------------------------------------------------------- //
+
+if (defined('UTIL_PHP')) {
+$lang_util_desc_php = array(
+'Címek frissítése fájlból', //cpg1.4
+'Címek törlése', //cpg1.4
+'Indexképek újragenerálása és a képek átméretezése', //cpg1.4
+'Az eredeti képek felülírása az átméretezett képekkel', //cpg1.4
+'Az eredeti és köztes képek törlése hely felszabadításhoz', //cpg1.4
+'Árva hozzászólások törlése', //cpg1.4
+'A fájlméretek újraolvasása (ha kézzel szerkesztettük a képet)', //cpg1.4
+'Megtekintési számláló nullázása', //cpg1.4
+'phpinfo megjelenítése', //cpg1.4
+'Adatbázis frissítése', //cpg1.4
+'Naplófájlok megjelenítése', //cpg1.4
+);
+$lang_util_php = array(
+  'title' => 'Rendszergazda eszközök (kép átméretezés)',
+  'what_it_does' => 'Mit csinál',
+  'file' => 'Kép',
+  'problem' => 'Hiba', //cpg1.4
+  'status' => 'Státusz', //cpg1.4
+  'title_set_to' => 'A cím beállítva erre',
+  'submit_form' => 'tovább',
+  'updated_succesfully' => 'sikeres frissítés',
+  'error_create' => 'Hibás létrehozás',
+  'continue' => 'további kép',
+  'main_success' => 'A(z) %s sikeresen használható fő fájlként',
+  'error_rename' => 'Hiba az átnevezéskor %s erről %s erre',
+  'error_not_found' => 'A(z) %s fájl nem található',
+  'back' => 'Vissza a főoldalra',
+  'thumbs_wait' => 'Indexképek frissítése vagy a a képek átméretezése folyik, türelmedet kérjük...',
+  'thumbs_continue_wait' => 'tovább a indexképek frissítéséhez vagy az átméretezéshez...',
+  'titles_wait' => 'Címek frissítése, türelmedet kérjük...',
+  'delete_wait' => 'Címek törlése, türelmedet kérjük...',
+  'replace_wait' => 'Az eredeti képek felülírása az átméretezett képekkel, türelmedet kérjük...',
+  'instruction' => 'Gyors útmutató',
+  'instruction_action' => 'Válassz műveletet',
+  'instruction_parameter' => 'Válasz paramétert',
+  'instruction_album' => 'Válasz albumot',
+  'instruction_press' => 'Kattints %s -ra',
+  'update' => 'Indexképek és átméretezett képek frissítése',
+  'update_what' => 'Mi lett frissítve',
+  'update_thumb' => 'Csak az indexkép',
+  'update_pic' => 'Csak az átméretezett kép',
+  'update_both' => 'A kép és az indexkép is',
+  'update_number' => 'Egyszerre feldolgozott képek száma',
+  'update_option' => '(Csökkentsd a számot, ha időtúllépést tapasztalsz)',
+  'filename_title' => 'Fájlnév &rArr; képcím',
+  'filename_how' => 'Mi legyen a fájnévvel',
+  'filename_remove' => 'A .jpg kiterjesztés törlése és kicserélése _ (aláhúzás)-ra',
+  'filename_euro' => '2003_11_23_13_20_20.jpg változtatása 23/11/2003 13:20 -ra',
+  'filename_us' => '2003_11_23_13_20_20.jpg változtatása 11/23/2003 13:20 -ra',
+  'filename_time' => '2003_11_23_13_20_20.jpg változtatása 13:20 -ra',
+  'delete' => 'A képcímek és eredeti képek törlése',
+  'delete_title' => 'Képcímek törlése',
+  'delete_title_explanation' => 'Az összes cím és kép törlése a megadott albumból', //cpg1.4
+  'delete_original' => 'Az eredeti képek törlése',
+  'delete_original_explanation' => 'Teljes méretű képek törlése', //cpg1.4
+  'delete_intermediate' => 'Köztes képek törlése', //cpg1.4
+  'delete_intermediate_explanation' => 'A köztes képek törlése.<br />Használd ezt a lemez terület felszabadításra, ha a \'köztes kép létrehozzása\' opció letiltva a beállításoknál.', //cpg1.4
+  'delete_replace' => 'Az eredeti képek felülírása az átméretezett képekkel',
+  'titles_deleted' => 'Az összes cím eltávolítva a megadott albumból', //cpg1.4
+  'deleting_intermediates' => 'Köztes képek törlése , türelmedet kérjük...', //cpg1.4
+  'searching_orphans' => 'Árva fájlok keresése, türelmedet kérjük...', //cpg1.4
+  'select_album' => 'Válasz albumot',
+  'delete_orphans' => 'A hiányzó képekhez tartozó hozzászólások törlése', //cpg1.4
+  'delete_orphans_explanation' => 'Ez az opció azonosítja és lehetővé teszi a képekhez nem tartozó hozzászólások törlését.<br />Az összes albumot ellenőrizd.', //cpg1.4
+  'refresh_db' => 'A fájméret és képméret adatok újraolvasása.', //cpg1.4
+  'refresh_db_explanation' => 'Az kép adatok újraolvasása. Használata ajánlott kvóta problémák esetén, vagy a kép kézi szerkesztése után..', //cpg1.4
+  'reset_views' => 'Megtekintési számláló nullázása', //cpg1.4
+  'reset_views_explanation' => 'Az összes számláló nullázása a megadott albumban.', //cpg1.4
+  'orphan_comment' => 'Árva hozzászólás található',
+  'delete' => 'törlés',
+  'delete_all' => 'mind törlése',
+  'delete_all_orphans' => 'Az összes árva hozzászólást törlöd?', //cpg1.4
+  'comment' => 'Hozzászólás: ',
+  'nonexist' => 'nem létező fájlhoz csatolva # ',
+  'phpinfo' => 'phpinfo megjelenítése',
+  'phpinfo_explanation' => 'Technikai információk megjelenítése a szerverről.', //cpg1.4
+  'update_db' => 'Adatbázis frissítése',
+  'update_db_explanation' => 'Ha visszamented a Coppermine program fájlait, vagy újabb verzióra cserélted, akkor ajánlott egyszer lefuttattni a frissítést, hogy a megfelelő táblák létrejöjjenek, illetve helyes értékeket tartalmazzanak.',
+  'view_log' => 'Naplófájl megtekintése', //cpg1.4
+  'view_log_explanation' => 'Coppermine sokféle felhasználói műveletet tud rögzíteni. A naplók között keresgélhetünk, ha a naplózás engedélyezve van a <a href="admin.php">Beállítások</a>-ban.', //cpg1.4
+  'versioncheck' => 'Verzió ellenőrzése', //cpg1.4
+  'versioncheck_explanation' => 'A fájl verzió számának ellenőrzése a coppermine program frissítése után.', //cpg1.4
+  'bridgemanager' => 'Kötés kezelő', //cpg1.4
+  'bridgemanager_explanation' => 'Az együttműködés (kötés) engedélyezése/tiltása a Coppermine és más programok (pl. fórum) közt.', //cpg1.4
+);
+}
+
+// ------------------------------------------------------------------------- //
+// File versioncheck.php //cpg1.4
+// ------------------------------------------------------------------------- //
+
+if (defined('VERSIONCHECK_PHP')) $lang_versioncheck_php = array(
+  'title' => 'Verzió ellenőrzés', //cpg1.4
+  'what_it_does' => 'Ez az oldal jelentést ad azon felhasználóknak, akik frissítették a programjukat. Ez a eljárás ellenőrzi, hogy a webszerveren található fájlok verziója megegyezik-e http://coppermine.sourceforge.net webhelyen találhatókkal. Így áttekintés kapunk a frissítés sikerességéről.<br />Pirossal azokat mutatja, melyeket muszáj cserélni újabbra. Sárgával azokat, melyeket ajánlott cserélni. Zölddel (vagy az alapértelmezett betűszínnel) azokat mutatja, amely fájlok legújabb verziójúak.<br />Kattints az ikonra a részletekért.', //cpg1.4
+  'online_repository_unable' => 'Nem lehet kapcsolódni a fájlraktárhoz', //cpg1.4
+  'online_repository_noconnect' => 'Coppermine nem tud kapcsolódni a fájlraktárhoz. Ennek két oka lehet:', //cpg1.4
+  'online_repository_reason1' => 'A Coppermine fájlraktár kikapcsolt állapotban van. Ellenőrizd, hogy megtekinthető-e ez a weboldal: %s - ha nem, akkor probálkozz később.', //cpg1.4
+  'online_repository_reason2' => 'A PHP  %s beállítás a böngésződben ki van kapcsolva (alapértelmezetten bekapcsolva van). Ha rendszergazdája vagy a webszervernek akkor kapcsold be a<i>php.ini</i>-ben (%s felülírásának engedélyezése). Ha csak webhostolt vagy, akkor bele kell törődnöd, hogy nem tudod interneten keresztül ellenőrízni a fájlok frisseségét. Ekkor az oldal csak a telepített fájlok verzióját jeleníti meg.', //cpg1.4
+  'online_repository_skipped' => 'A fájlraktárhoz való kapcsolódás kihagyva', //cpg1.4
+  'online_repository_to_local' => 'A program a jelenlegi fájl verziókat veszi alapértelmezetnek. Az adatok pontatlanokká válnak, ha a Coppermine frissítésekor nem sikerül az összes fájlt feltőlteni. Ekkor nem lesz minden fájl a megfelő kiadású.', //cpg1.4
+  'local_repository_unable' => 'Nem lehet a helyi fájlraktárhoz kapcsolódni', //cpg1.4
+  'local_repository_explanation' => 'Coppermine nem tud a(z) %s fájlraktárhoz kapcsolódni a szerveren. Ez azt jelenti, hogy a raktárkészlet fájl nem lett feltöltve. Probáld meg az oldalt újra futattni (kattits a "frissítés"-re).<br />Ha hibát jelez, akkor a webhostodon tiltottak a webelemek számára a <a href="http://www.php.net/manual/de/ref.filesystem.php">PHP fájlműveletek</a> . Ez esetben sajnáljuk, de nem használhatod ezt az eszközt.', //cpg1.4
+  'coppermine_version_header' => 'Telepített Coppermine verzió', //cpg1.4
+  'coppermine_version_info' => 'Jelenleg telepített: %s', //cpg1.4
+  'coppermine_version_explanation' => 'Ha szerinted hibás a megjelenő adat, akkor lehet, hogy nem lett feltöltve a legfrisseb adatokat tartalmazzó <i>include/init.inc.php</i> fájl', //cpg1.4
+  'version_comparison' => 'Verzió összehasonlítás', //cpg1.4
+  'folder_file' => 'Könyvtár/fájl', //cpg1.4
+  'coppermine_version' => 'cpg verzió', //cpg1.4
+  'file_version' => 'Fájl verzió', //cpg1.4
+  'webcvs' => 'web svn', //cpg1.4
+  'writable' => 'írható', //cpg1.4
+  'not_writable' => 'nem írható', //cpg1.4
+  'help' => 'Segítség', //cpg1.4
+  'help_file_not_exist_optional1' => 'Fájl/mappa nem létezik', //cpg1.4
+  'help_file_not_exist_optional2' => 'A(z) %s nem található a szerveren. Ez a fájl opciónális, a probléma megoldásához töltsd fel a szervere valamilyen FTP programot használva.', //cpg1.4
+  'help_file_not_exist_mandatory1' => 'Fájl/mappa nem létezik', //cpg1.4
+  'help_file_not_exist_mandatory2' => 'A(z) %s nem található a szerveren. Ez a fájl szükséges, a probléma megoldásához töltsd fel a szervere valamilyen FTP programot használva.', //cpg1.4
+  'help_no_local_version1' => 'Nincs lokális fájl verzió', //cpg1.4
+  'help_no_local_version2' => 'Nem lehet meghatározni a fájl verzióját. A fájl régi vagy módosítva lett, esetleg eltávolították a fejlécét. Ajánlott a frissítése', //cpg1.4
+  'help_local_version_outdated1' => 'Lejárt a fájl verziója', //cpg1.4
+  'help_local_version_outdated2' => 'Ez a fájl valószinűleg egy régebbi Coppermine verzióhoz tartozik. Bizonyosodj meg, hogy nincs-e újabb.', //cpg1.4
+  'help_local_version_na1' => 'Nem lehet meghatározni a CVS adatokat', //cpg1.4
+  'help_local_version_na2' => 'A program nem tudja eldönteni a CVS verzió adatokat a webszerver fájljairól. A fájlokat felrakhatod csomagból.', //cpg1.4
+  'help_local_version_dev1' => 'Fejlesztői verzió', //cpg1.4
+  'help_local_version_dev2' => 'A fájlok a webszerveren újabbak mint a  Coppermine verziód. Ez azért lehet, mert fejlesztői változatott használsz vagy frissítés után nem töltötted fel az include/init.inc.php fájlt.', //cpg1.4
+  'help_not_writable1' => 'Nem irható könyvtár', //cpg1.4
+  'help_not_writable2' => 'Módosítsd a jogosultságokat (CHMOD), hogy a program írni tudja %s a könyvtárat mindenki számára.', //cpg1.4
+  'help_writable1' => 'A könyvtár írható', //cpg1.4
+  'help_writable2' => 'A %s könyvtár írható. Ez felesleges biztonsági rés, a Coppermine programnak csak olvasási és futtatási jog kell.', //cpg1.4
+  'help_writable_undetermined' => 'Nem lehet meghatározni, hogy a könyvtár írható-e.', //cpg1.4
+  'your_file' => 'Saját fájl', //cpg1.4
+  'reference_file' => 'Referencia fájl', //cpg1.4
+  'summary' => 'Összefoglaló', //cpg1.4
+  'total' => 'Összes fájl/mappa ellenőrízve', //cpg1.4
+  'mandatory_files_missing' => 'Hiányzó szükséges fájlok', //cpg1.4
+  'optional_files_missing' => 'Hiányzó opcionális fájlok', //cpg1.4
+  'files_from_older_version' => 'Régebbi verziójú fájlok', //cpg1.4
+  'file_version_outdated' => 'Lejárt verziójú fájlok', //cpg1.4
+  'error_no_data' => 'A program hibázott, nem tudja meghatározni az információkat, sajnáljuk', //cpg1.4
+  'go_to_webcvs' => 'Ugrás %s -ra', //cpg1.4
+  'options' => 'Opciók', //cpg1.4
+  'show_optional_files' => 'Opciónális fájlok megjelenítése', //cpg1.4
+  'show_mandatory_files' => 'Szükséges fájlok megjelenítése', //cpg1.4
+  'show_file_versions' => 'Fájl verziók megjelenítése', //cpg1.4
+  'show_errors_only' => 'Csak a hibásak megjelenítése', //cpg1.4
+  'show_permissions' => 'Könyvtár jogosultságok', //cpg1.4
+  'show_condensed_output' => 'Tömőrített jelentés (könnyebb screenshot-ot készíteni)', //cpg1.4
+  'coppermine_in_webroot' => 'Coppermine a dokumentum gyökérbe van telepítve', //cpg1.4
+  'connect_online_repository' => 'Kapcsolódás az internetes fájlraktárhoz', //cpg1.4
+  'show_additional_information' => 'Kiegészítő adatok megjelenítése', //cpg1.4
+  'no_webcvs_link' => 'Ne mutassa a Web-CVS linkeket ', //cpg1.4
+  'stable_webcvs_link' => 'A Web-CVS linkek  megjelenítése a "végleges állapot" részben', //cpg1.4
+  'devel_webcvs_link' => 'A Web-CVSl inkek megjelenítése a "fejlesztői állapot" részben', //cpg1.4
+  'submit' => 'változások elfogadása/frissítés', //cpg1.4
+  'reset_to_defaults' => 'Visszaállítás alaphelyzetbe', //cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File view_log.php  //cpg1.4
+// ------------------------------------------------------------------------- //
+
+if (defined('VIEWLOG_PHP')) $lang_viewlog_php = array(
+  'delete_all' => 'Összes naplófájl törlése', //cpg1.4
+  'delete_this' => 'Ennek a naplónak a törlése', //cpg1.4
+  'view_logs' => 'Napló megtekintése', //cpg1.4
+  'no_logs' => 'Nem lett napló létrehozva', //cpg1.4
+);
+
+
+// ------------------------------------------------------------------------- //
+// File xp_publish.php //cpg1.4
+// ------------------------------------------------------------------------- //
+
+if (defined('XP_PUBLISH_PHP')) {
+
+$lang_xp_publish_client = <<<EOT
+<h1>XP web közététel varázsló</h1><p>Ez a modul lehetővé teszi a  <b>Windows XP</b> web közététel varázsló használatát a Coppermine Képtárral.</p><p>A kód újságcikkre alapul, beküldte:
+EOT;
+
+$lang_xp_publish_required = <<<EOT
+<h2>Mi szükséges hozzá</h2><ul><li>Windows XP, beépített varázslója.</li><li>Működő Coppermine Képtár<b> helyesen működő webes feltöltéssel</b></li></ul><h2>Mit kell telepíteni a kliens oldalon</h2><ul><li>Jobb kattintás a 
+EOT;
+
+$lang_xp_publish_select = <<<EOT
+Válaszd a &quot;Mentés másként..&quot; pontot. Mentsd le a helyi lemezre. A lementés után ellenőrízd, hogy a fájlnév  <b>cpg_###.reg</b> (A ###-időbélyeget mutat). Kattints kettőt a fájlra, hogy regisztráld a szervered a webes közététel varázsló számára.</li></ul>
+EOT;
+
+$lang_xp_publish_testing = <<<EOT
+<h2>Próba</h2><ul><li>A Windows intézőjében válassz ki néhány képet és kattints a <b>xxx közététele a weben</b> menüre a bal-panelen</li><li>Erősítsd meg a kiválasztásokat, majd kattints a <b>következő</b>-re.</li><li>A megjelenő listából válasszd ki a fotóképtárat (a neve a te képtárad neve). Ha nem látszik a listában, akkor ellenőrízd, hogy telepítve van a <b>cpg_pub_wizard.reg</b> a fent leírtak szerint.</li><li>Add meg a bejelentkezési információkat, ha szükséges.</li><li>Válassz cél albumot a képek számára vagy hoz létre újat.</li><li>Kattints a <b>tovább</b>-ra. A feltöltés elkezdődik.</li><li>Ha befejeződik a feltöltés, ellenőrizd, hogy a képek rendben bekerültek a képtárba.</li></ul>
+EOT;
+
+$lang_xp_publish_notes = <<<EOT
+<h2>Anmerkungen :</h2><ul> Ha a feltöltés elindult, akkor a program már nem tud hibaüzeneteket megjeleníteni, ezért addig nem tudod, hogy sikeres volt-e a feltöltés, amig nem nézed meg a képtárban.</li><li>Ha sikertelen volt akkor, engedélyezd a &quot;Debug-Módquot;-ot a képtár rendszergazdai oldalán, majd 1 képpel probálkoz újra, és nézd meg a hibaüzenetet a
+EOT;
+
+$lang_xp_publish_flood = <<<EOT
+A fájl, amely a szervered Coppermine könyvtárában található.</li><li>Hogy elkerüljük a képtár támadását a képfeltöltő varázslón keresztül, csak a képtár rendszergazdái, illetve azok a felhasználók használhatják ezt a funkciót, akik saját albummal rendelkeznek,</li>
+EOT;
+
+
+
+$lang_xp_publish_php = array(
+  'title' => 'Coppermine - XP Web közzététel segítő', //cpg1.4
+  'welcome' => 'Üdvözzőlek <b>%s</b>,', //cpg1.4
+  'need_login' => 'Be kell jelentkezned a képtárba a böngésződet használva, mielőtt használnád a varázslót.<p/><p>Bejelentkezéskor ne felejts el bejelölni az &quot;<b>Emlékezz rám</b>&quot; opciót.', //cpg1.4
+  'no_alb' => 'Sajnáljuk, de nincs egy album sem, ahova fel tudnál tölteni képet a varázslóval.', //cpg1.4
+  'upload' => 'Képek feltöltése létező albumra', //cpg1.4
+  'create_new' => 'Új album létrehozása a képek számára', //cpg1.4
+  'album' => 'Album', //cpg1.4
+  'category' => 'Kategória', //cpg1.4
+  'new_alb_created' => 'Az új &quot;<b>%s</b>&quot; albumod elkészítve.', //cpg1.4
+  'continue' => 'Kattints a &quot;tovább&quot;-ra, a képek feltöltésére', //cpg1.4
+  'link' => 'Ez a Link', //cpg1.4
+);
+}
 ?>
\ No newline at end of file
diff -x .svn -aruN 1.4.24.src/lang/indonesian.php 1.4.25.src/lang/indonesian.php
--- 1.4.24.src/lang/indonesian.php	2009-05-25 15:01:17.000000000 -0500
+++ 1.4.25.src/lang/indonesian.php	2009-05-26 11:25:40.000000000 -0500
@@ -10,11 +10,11 @@
   as published by the Free Software Foundation.
   
   ********************************************
-  Coppermine version: 1.4.24
+  Coppermine version: 1.4.25
   $Source: /cvsroot/coppermine/stable/lang/indonesian.php,v $
-  $Revision: 5988 $
+  $Revision: 5997 $
   $Author: gaugau $
-  $Date: 2009-05-25 22:01:41 +0200 (Mo, 25 Mai 2009) $
+  $Date: 2009-05-26 08:43:24 +0200 (Di, 26 Mai 2009) $
 **********************************************/
 
 if (!defined('IN_COPPERMINE')) { die('Not in Coppermine...');}
diff -x .svn -aruN 1.4.24.src/lang/italian.php 1.4.25.src/lang/italian.php
--- 1.4.24.src/lang/italian.php	2009-05-25 15:01:17.000000000 -0500
+++ 1.4.25.src/lang/italian.php	2009-05-26 11:25:40.000000000 -0500
@@ -1,2110 +1,2110 @@
-<?php
-/*************************
-  Coppermine Photo Gallery
-  ************************
-  Copyright (c) 2003-2009 Coppermine Dev Team
-  v1.1 originally written by Gregory DEMAR
-
-  This program is free software; you can redistribute it and/or modify
-  it under the terms of the GNU General Public License version 3
-  as published by the Free Software Foundation.
-  
-  ********************************************
-  Coppermine version: 1.4.24
-  $HeadURL: https://coppermine.svn.sourceforge.net/svnroot/coppermine/trunk/cpg1.4.x/lang/italian.php $
-  $Revision: 5988 $
-  $Author: gaugau $
-  $Date: 2009-05-25 22:01:41 +0200 (Mo, 25 Mai 2009) $
-**********************************************/
-
-if (!defined('IN_COPPERMINE')) { die('Not in Coppermine...');}
-
-// info about translators and translated language
-$lang_translation_info = array(
-  'lang_name_english' => 'Italian', //cpg1.4
-  'lang_name_native' => 'Italiano', //cpg1.4
-  'lang_country_code' => 'it', //cpg1.4
-  'trans_name'=> array('Ganesh','Ludo'),
-  'trans_email' => array('gq@gospel.bo.it', 'glrocca@tin.it'),
-  'trans_website' => array('http://www.gospel.bo.it/', 'http://vanrokken.altervista.org/'),
-  'trans_date' => '2009-05-23',
-);
-
-$lang_charset = 'utf-8';
-$lang_text_dir = 'ltr'; // ('ltr' for left to right, 'rtl' for right to left)
-
-// shortcuts for Byte, Kilo, Mega
-$lang_byte_units = array('Bytes', 'KB', 'MB');
-
-// Day of weeks and months
-$lang_day_of_week = array('Dom', 'Lun', 'Mar', 'Mer', 'Gio', 'Ven', 'Sab');
-$lang_month = array('Gen', 'Feb', 'Mar', 'Apr', 'Mag', 'Giu', 'Lug', 'Ago', 'Set', 'Ott', 'Nov', 'Dic');
-
-// Some common strings
-$lang_yes = 'Si';
-$lang_no  = 'No';
-$lang_back = 'INDIETRO';
-$lang_continue = 'CONTINUA';
-$lang_info = 'Informazione';
-$lang_error = 'Errore';
-$lang_check_uncheck_all = 'seleziona/deseleziona tutto'; //cpg1.4
-
-// The various date formats
-// See http://www.php.net/manual/en/function.strftime.php to define the variable below
-$album_date_fmt =    '%d %B %Y';
-$lastcom_date_fmt =  '%d/%m/%y, %H.%M';
-$lastup_date_fmt = '%d %B %Y';
-$register_date_fmt = '%d %B %Y';
-$lasthit_date_fmt = '%d %B %Y, %H.%M';
-$comment_date_fmt =  '%d %B %Y, %H.%M';
-$log_date_fmt = '%d %B %Y, %H.%M'; //cpg1.4
-
-// For the word censor
-$lang_bad_words = array('*cazz*', 'figa', '*culo*', 'puttan*', 'sborra*', 'stronz*', 'bastard*', 'troia*', 'minchia*');
-
-$lang_meta_album_names = array(
-  'random' => 'Immagini a caso',
-  'lastup' => 'Ultimi arrivi',
-  'lastalb'=> 'Ultimi album aggiornati',
-  'lastcom' => 'Ultimi commenti',
-  'topn' => 'Più viste',
-  'toprated' => 'Più votate',
-  'lasthits' => 'Ultimi file visti',
-  'search' => 'Risultati ricerca',
-  'favpics'=> 'File preferiti',  //cpg1.4
-);
-
-$lang_errors = array(
-  'access_denied' => 'Non possiedi i permessi necessari per accedere alla pagina.',
-  'perm_denied' => 'Non possiedi i permessi necessari per eseguire questa operazione.',
-  'param_missing' => 'Script eseguito senza i parametri necessari.',
-  'non_exist_ap' => 'Il file o l\'album non esiste !',
-  'quota_exceeded' => 'Quota disco superata<br /><br />Hai una quota disco pari a [quota]Kb ed i tuoi file occupano attualmente [space]Kb, aggiungere questo file significa superare il limite.',
-  'gd_file_type_err' => 'Usando la libreria GD i tipi di file consentiti sono solo JPEG and PNG.',
-  'invalid_image' => 'L\'immagine caricata risulta corrotta o non riesce ad essere gestita dalla libreria GD',
-  'resize_failed' => 'Impossibile creare la miniatura o l\'immagine di dimensioni intermedie.',
-  'no_img_to_display' => 'Nessuna immagine da mostrare',
-  'non_exist_cat' => 'La categoria selezionata non esiste',
-  'orphan_cat' => 'Collegamento non esistente in una categoria, utilizzare Gestione categorie per correggere il problema',
-  'directory_ro' => 'La cartella \'%s\' non è scrivibile, i file non possono essere cancellati',
-  'pic_in_invalid_album' => 'Il file risiede in un album inesistente (%s)!?',
-  'banned' => 'Al momento sei estromesso, non ti è consentito accedere al sito.',
-  'not_with_udb' => 'Questa funzione è disabilitata in Coppermine in quanto si tratta di un\'integrazione con un forum. O quello che provi a fare non viene supportato da questa configurazione, o la funzione dovrebbe essere gestita dal software del forum.',
-  'offline_title' => 'Non disponibile',
-  'offline_text' => 'La Galleria non è disponibile al momento, riprova più tardi',
-  'ecards_empty' => 'Al momento non ci sono cartoline da mostrare.',
-  'action_failed' => 'Azione fallita.  Coppermine non è in grado di gestire la tua richiesta.',
-  'no_zip' => 'Le librerie necessarie per processare i file ZIP non sono disponibili.  Contattare l\'amministratore.',
-  'zip_type' => 'Non possiedi i permessi per caricare file ZIP.',
-  'database_query' => 'Si è verificato un errore eseguendo una query al database', //cpg1.4
-  'non_exist_comment' => 'Il commento selezionato non esiste', //cpg1.4
-  'register_globals_on' => 'La direttiva PHP register_globals è abilitata sul tuo server, il che non è una buona idea in termini di sicurezza. É altamente raccomandabile impostarla ad Off. [<a href="http://forum.coppermine-gallery.net/index.php/topic,59569.0.html" rel="external" class="external">more</a>]',
-  
-);
-
-$lang_bbcode_help_title = 'Aiuto BbCode'; //cpg1.4
-$lang_bbcode_help = 'Puoi aggiungere collegamenti cliccabili ed alcune formattazioni a questo campo usando i tags bbcode: <li>[b]Grassetto[/b] =&gt; <b>Grassetto</b></li><li>[i]Corsivo[/i] =&gt; <i>Corsivo</i></li><li>[url=http://yoursite.com/]Titolo del collegamento[/url] =&gt; <a href="http://yoursite.com">Titolo del collegamento</a></li><li>[email]user@domain.com[/email] =&gt; <a href="mailto:nome@dominio.it">nome@dominio.it</a></li><li>[color=red]testo qualsiasi[/color] =&gt; <span style="color:red">testo qualsiasi</span></li><li>[img]http://coppermine-gallery.net/demo/cpg14x/images/red.gif[/img] => <img src="../images/red.gif" border="0" alt="" /></li>'; //cpg1.4
-
-// ------------------------------------------------------------------------- //
-// File theme.php
-// ------------------------------------------------------------------------- //
-
-$lang_main_menu = array(
-  'home_title' => 'Vai alla pagina iniziale',
-  'home_lnk' => 'Home',
-  'alb_list_title' => 'Vai alla lista album',
-  'alb_list_lnk' => 'Lista album',
-  'my_gal_title' => 'Vai alla galleria personale',
-  'my_gal_lnk' => 'Galleria personale',
-  'my_prof_title' => 'Vai al profilo', //cpg1.4
-  'my_prof_lnk' => 'Profilo',
-  'adm_mode_title' => 'Entra in modalità amministratore',
-  'adm_mode_lnk' => 'Modalità amministratore',
-  'usr_mode_title' => 'Entra in modalità utente',
-  'usr_mode_lnk' => 'Modalità utente',
-  'upload_pic_title' => 'Carica un file in un album',
-  'upload_pic_lnk' => 'Carica file',
-  'register_title' => 'Iscriviti al sito',
-  'register_lnk' => 'Registrati',
-  'login_title' => 'Connettiti', //cpg1.4
-  'login_lnk' => 'Login',
-  'logout_title' => 'Disconnettiti', //cpg1.4
-  'logout_lnk' => 'Logout',
-  'lastup_title' => 'Mostra foto recenti', //cpg1.4
-  'lastup_lnk' => 'Ultimi arrivi',
-  'lastcom_title' => 'Mostra gli ultimi commenti', //cpg1.4
-  'lastcom_lnk' => 'Ultimi commenti',
-  'topn_title' => 'Mostra i file più visti', //cpg1.4
-  'topn_lnk' => 'File più visti',
-  'toprated_title' => 'Mostra file più votati', //cpg1.4
-  'toprated_lnk' => 'File più votati',
-  'search_title' => 'Ricerca nella galleria', //cpg1.4
-  'search_lnk' => 'Cerca',
-  'fav_title' => 'Vai ai preferiti', //cpg1.4
-  'fav_lnk' => 'Preferiti',
-  'memberlist_title' => 'Mostra lista iscritti',
-  'memberlist_lnk' => 'Lista iscritti',
-  'faq_title' => 'Domande frequenti sulla galleria di immagini &quot;Coppermine&quot;',
-  'faq_lnk' => 'FAQ',
-);
-
-$lang_gallery_admin_menu = array(
-  'upl_app_title' => 'Approva nuovi file caricati', //cpg1.4
-  'upl_app_lnk' => 'Approvazione file',
-  'admin_title' => 'Vai alla configurazione', //cpg1.4
-  'admin_lnk' => 'Configurazione', //cpg1.4
-  'albums_title' => 'Vai alla configurazione album', //cpg1.4
-  'albums_lnk' => 'Album',
-  'categories_title' => 'Vai alla configurazione categorie', //cpg1.4
-  'categories_lnk' => 'Categorie',
-  'users_title' => 'Vai alla configurazione utenti', //cpg1.4
-  'users_lnk' => 'Utenti',
-  'groups_title' => 'Vai alla configurazione gruppi', //cpg1.4
-  'groups_lnk' => 'Gruppi',
-  'comments_title' => 'Guarda tutti i commenti', //cpg1.4
-  'comments_lnk' => 'Mostra commenti',
-  'searchnew_title' => 'Vai alla funzione per l\'aggiunta cumulativa di molteplici file', //cpg1.4
-  'searchnew_lnk' => 'Aggiunta cumulativa',
-  'util_title' => 'Vai agli strumenti di amministrazione', //cpg1.4
-  'util_lnk' => 'Strumenti di amministrazione',
-  'key_title' => 'Vai al dizionario delle parole chiave', //cpg1.4
-  'key_lnk' => 'Dizionario parole chiave', //cpg1.4
-  'ban_title' => 'Visualizza utenti estromessi', //cpg1.4
-  'ban_lnk' => 'Estrometti utenti',
-  'db_ecard_title' => 'Mostra cartoline elettroniche', //cpg1.4
-  'db_ecard_lnk' => 'Cartoline',
-  'pictures_title' => 'Ordina le immagini in galleria', //cpg1.4
-  'pictures_lnk' => 'Ordina immagini', //cpg1.4
-  'documentation_lnk' => 'Documentazione', //cpg1.4
-  'documentation_title' => 'Manuale Coppermine', //cpg1.4
-);
-
-$lang_user_admin_menu = array(
-  'albmgr_title' => 'Crea e organizza album', //cpg1.4
-  'albmgr_lnk' => 'Crea / organizza album',
-  'modifyalb_title' => 'Modifica album',  //cpg1.4
-  'modifyalb_lnk' => 'Modifica album',
-  'my_prof_title' => 'Vai al tuo profilo', //cpg1.4
-  'my_prof_lnk' => 'Profilo',
-);
-
-$lang_cat_list = array(
-  'category' => 'Categoria',
-  'albums' => 'Album',
-  'pictures' => 'File',
-);
-
-$lang_album_list = array(
-  'album_on_page' => '%d album in %d pagina(e)',
-);
-
-$lang_thumb_view = array(
-  'date' => 'DATA',
-  //Sort by filename and title
-  'name' => 'NOME FILE',
-  'title' => 'TITOLO',
-  'sort_da' => 'Ordina per data (prima i meno recenti)',
-  'sort_dd' => 'Ordina per data (prima i più recenti)',
-  'sort_na' => 'Ordina per nome (A-Z)',
-  'sort_nd' => 'Ordina per nome (Z-A)',
-  'sort_ta' => 'Ordina per titolo (A-Z)',
-  'sort_td' => 'Ordina per titolo (Z-A)',
-  'position' => 'POSIZIONE', //cpg1.4
-  'sort_pa' => 'Elenca per posizione (ascendente)', //cpg1.4
-  'sort_pd' => 'Elenca per posizione (discendente)', //cpg1.4
-  'download_zip' => 'Scarica come file ZIP',
-  'pic_on_page' => '%d file su %d pagina(e)',
-  'user_on_page' => '%d utenti su %d pagina(e)',
-  'enter_alb_pass' => 'Inserisci la password per l\'album', //cpg1.4
-  'invalid_pass' => 'Password non valida', //cpg1.4
-  'pass' => 'Password', //cpg1.4
-  'submit' => 'Invia', //cpg1.4
-);
-
-$lang_img_nav_bar = array(
-  'thumb_title' => 'Ritorna all\'elenco miniature',
-  'pic_info_title' => 'Mostra/nascondi informazioni sul file',
-  'slideshow_title' => 'Presentazione',
-  'ecard_title' => 'Invia questo file come cartolina',
-  'ecard_disabled' => 'Cartoline disabilitate',
-  'ecard_disabled_msg' => 'Non possiedi i permessi necessari per inviare cartoline', //js-alert
-  'prev_title' => 'Visualizza file precedente',
-  'next_title' => 'Visualizza file successivo',
-  'pic_pos' => 'FILE %s/%s',
-  'report_title' => 'Segnala questo file ad un amministratore', //cpg1.4
-  'go_album_end' => 'Vai alla fine', //cpg1.4
-  'go_album_start' => 'Torna all\'inizio', //cpg1.4
-  'go_back_x_items' => 'Vai indietro di %s elementi', //cpg1.4
-  'go_forward_x_items' => 'vai avanti di %s elementi', //cpg1.4
-);
-
-$lang_rate_pic = array(
-  'rate_this_pic' => 'Valuta questo file ',
-  'no_votes' => '(Nessun voto ancora)',
-  'rating' => '(valutazione attuale : %s / 5 con %s voti)',
-  'rubbish' => 'Spazzatura',
-  'poor' => 'Scadente',
-  'fair' => 'Discreta',
-  'good' => 'Buona',
-  'excellent' => 'Ottima',
-  'great' => 'Eccellente',
-);
-
-// ------------------------------------------------------------------------- //
-// File include/exif.inc.php
-// ------------------------------------------------------------------------- //
-
-// void
-
-// ------------------------------------------------------------------------- //
-// File include/functions.inc.php
-// ------------------------------------------------------------------------- //
-
-$lang_cpg_die = array(
-  INFORMATION => $lang_info,
-  ERROR => $lang_error,
-  CRITICAL_ERROR => 'Errore critico',
-  'file' => 'File: ',
-  'line' => 'Line: ',
-);
-
-$lang_display_thumbnails = array(
-  'filename' => 'Nome file=', //cpg1.4
-  'filesize' => 'Peso file=', //cpg1.4
-  'dimensions' => 'Dimensioni=', //cpg1.4
-  'date_added' => 'Data inserimento=', //cpg1.4
-);
-
-$lang_get_pic_data = array(
-  'n_comments' => '%s commenti',
-  'n_views' => '%s visite',
-  'n_votes' => '(%s voti)',
-);
-
-$lang_cpg_debug_output = array(
-  'debug_info' => 'Informazioni di debug',
-  'select_all' => 'Seleziona tutto',
-  'copy_and_paste_instructions' => 'Se stai per chiedere aiuto sul forum di supporto di Coppermine, copia e incolla questo output di debug nel vostro thread quando richiesto, insieme al messaggio di errore (se esistente). Accertati di cambiare nella query ogni password con ***** prima di postarle. <br />Nota: Questo è solo per informazione e non significa che ci sia un errore nella tua galleria.', //cpg1.4
-  'phpinfo' => 'Mostra PhPInfo',
-  'notices' => 'Avvisi', //cpg1.4
-);
-
-$lang_language_selection = array(
-  'reset_language' => 'Lingua predefinita',
-  'choose_language' => 'Seleziona lingua',
-);
-
-$lang_theme_selection = array(
-  'reset_theme' => 'Tema predefinito',
-  'choose_theme' => 'Seleziona un tema',
-);
-
-$lang_version_alert = array(
-  'version_alert' => 'Versione non supportata!', //cpg1.4
-  'no_stable_version' => 'Hai installato Coppermine %s (%s) una versione indicata ad utenti esperti - questa versione non ha nessun supporto e nessuna garanzia. Usala a tuo rischio o esegui un downgrade all\'ultima versione stabile se necessiti di supporto!', //cpg1.4
-  'gallery_offline' => 'La Galleria è al momento fuori linea, sarà visibile solo da te come amministratore. Non dimenticarti di rimetterla in linea una volta terminata la manutenzione.', //cpg1.4
-);
-
-$lang_create_tabs = array(
-  'previous' => 'Precedente', //cpg1.4
-  'next' => 'Successiva', //cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File include/init.inc.php
-// ------------------------------------------------------------------------- //
-
-// void
-
-// ------------------------------------------------------------------------- //
-// File keyword.inc.php                                                      //
-// ------------------------------------------------------------------------- //
-
-// void
-
-// ------------------------------------------------------------------------- //
-// File include/picmgmt.inc.php
-// ------------------------------------------------------------------------- //
-
-// void
-
-// ------------------------------------------------------------------------- //
-// File include/plugin_api.inc.php
-// ------------------------------------------------------------------------- //
-$lang_plugin_api = array(
-  'error_wakeup' => "Impossibile richiamare il plugin '%s'", //cpg1.4
-  'error_install' => "Impossibile installare il plugin '%s'", //cpg1.4
-  'error_uninstall' => "Impossibile disinstallare il plugin '%s'", //cpg1.4
-  'error_sleep' => "Impossibile disinstallare il plugin '%s'<br />", //cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File include/smilies.inc.php
-// ------------------------------------------------------------------------- //
-
-if (defined('SMILIES_PHP')) $lang_smilies_inc_php = array(
-  'Exclamation' => 'Esclamazione',
-  'Question' => 'Domanda',
-  'Very Happy' => 'Molto felice',
-  'Smile' => 'Sorridente',
-  'Sad' => 'Triste',
-  'Surprised' => 'Sorpreso',
-  'Shocked' => 'Scioccato',
-  'Confused' => 'Confuso',
-  'Cool' => 'Figo!',
-  'Laughing' => 'Sto ridendo',
-  'Mad' => 'Pazzo',
-  'Razz' => 'Pernacchia',
-  'Embarassed' => 'Imbarazzato',
-  'Crying or Very sad' => 'Molto triste',
-  'Evil or Very Mad' => 'Cattivo',
-  'Twisted Evil' => 'Molto cattivo',
-  'Rolling Eyes' => 'Perplesso',
-  'Wink' => 'Occhiolino',
-  'Idea' => 'Idea',
-  'Arrow' => 'Freccia',
-  'Neutral' => 'Neutrale',
-  'Mr. Green' => 'Mr. Green',
-);
-
-// ------------------------------------------------------------------------- //
-// File addpic.php
-// ------------------------------------------------------------------------- //
-
-// void
-
-// ------------------------------------------------------------------------- //
-// File mode.php //cpg1.4
-// ------------------------------------------------------------------------- //
-
-if (defined('MODE_PHP')) $lang_mode_php = array(
-  0 => 'Lascio il modo amministratore...',
-  1 => 'Entro in modo amministratore...',
-);
-
-// ------------------------------------------------------------------------- //
-// File albmgr.php
-// ------------------------------------------------------------------------- //
-
-if (defined('ALBMGR_PHP')) $lang_albmgr_php = array(
-  'alb_need_name' => 'Gli album devono avere un nome !', //js-alert
-  'confirm_modifs' => 'Sicuro di voler applicare queste modifiche ?', //js-alert
-  'no_change' => 'Nessuna modifica eseguita !', //js-alert
-  'new_album' => 'Nuovo album',
-  'confirm_delete1' => 'Sicuro di voler cancellare questo album ?', //js-alert
-  'confirm_delete2' => '\nTutti i file e i commenti contenuti andranno persi !', //js-alert
-  'select_first' => 'Seleziona un album prima', //js-alert
-  'alb_mrg' => 'Gestione album',
-  'my_gallery' => '* Galleria personale *',
-  'no_category' => '* Nessuna categoria *',
-  'delete' => 'Cancella',
-  'new' => 'Nuovo',
-  'apply_modifs' => 'Applica modifiche',
-  'select_category' => 'Seleziona categoria',
-);
-
-// ------------------------------------------------------------------------- //
-// File banning.php
-// ------------------------------------------------------------------------- //
-
-if (defined('BANNING_PHP')) $lang_banning_php = array(
-  'title' => 'Estrometti utenti', //cpg1.4
-  'user_name' => 'Nome utente', //cpg1.4
-  'ip_address' => 'Indirizzo IP', //cpg1.4
-  'expiry' => 'Scadenza (vuoto significa permanente)', //cpg1.4
-  'edit_ban' => 'Salva modifiche', //cpg1.4
-  'delete_ban' => 'Cancella', //cpg1.4
-  'add_new' => 'Aggiungi nuovo utente estromesso', //cpg1.4
-  'add_ban' => 'Aggiungi', //cpg1.4
-  'error_user' => 'Impossibile trovare utente', //cpg1.4
-  'error_specify' => 'Devi specificare o il nome utente o un indirizzo IP', //cpg1.4
-  'error_ban_id' => 'ID estromissione non valido!', //cpg1.4
-  'error_admin_ban' => 'Non puoi estrometterti da solo!', //cpg1.4
-  'error_server_ban' => 'Vuoi estromettere il tuo stesso server? Tsk tsk, non lo puoi fare...', //cpg1.4
-  'error_ip_forbidden' => 'Non puoi estromettere questo IP - si tratta di un IP non-routable (privato) comunque!<br />Se vuoi consentire il banning egli IP privati, devi cambiare le preferenze nella <a href="admin.php">Configurazione</a> (ha senso solo se Coppermine gira su una LAN).', //cpg1.4
-  'lookup_ip' => 'Verifica un indirizzo IP', //cpg1.4
-  'submit' => 'Vai!', //cpg1.4
-  'select_date' => 'seleziona data', //cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File bridgemgr.php //cpg1.4
-// ------------------------------------------------------------------------- //
-
-if (defined('BRIDGEMGR_PHP')) $lang_bridgemgr_php = array(
-  'title' => 'Integrazione guidata',
-  'warning' => 'Attenzione: usando questo procedimento guidato i dati sensibili verranno trasmessi tramite moduli html. Fallo girare solo sul tuo PC (non su macchine pubbliche come in un internet cafe), e assicurati di pulire la cache del navigatore e i file temporanei dopo aver finito, o altri potrebbero accedere ai tuoi dati!',
-  'back' => 'indietro',
-  'next' => 'avanti',
-  'start_wizard' => 'Inizia integrazione guidata',
-  'finish' => 'Finisci',
-  'hide_unused_fields' => 'Nascondi campi inutilizzati (consigliato)',
-  'clear_unused_db_fields' => 'Pulisci valori del database non validi (consigliato)',
-  'custom_bridge_file' => 'Il nome del tuo file di integrazione personalizzato (Se il nome del file di integrazione è <i>miofile.inc.php</i>, inserisci <i>miofile</i> in questo campo)',
-  'no_action_needed' => 'Nessuna azione necessaria in questo passo. Premi \'avanti\' per continuare.',
-  'reset_to_default' => 'Ripristina impostazioni predefinite',
-  'choose_bbs_app' => 'Scegli l\'applicazione con la quale integrare Coppermine',
-  'support_url' => 'Vai qui per il supporto a questa applicazione',
-  'settings_path' => 'Percorso usato dalla BBS',
-  'database_connection' => 'Connessione database',
-  'database_tables' => 'Tabelle del database',
-  'bbs_groups' => 'Gruppi della BBS',
-  'license_number' => 'Numero di licenza',
-  'license_number_explanation' => 'inserisci il tuo numero di licenza (se necessario)',
-  'db_database_name' => 'Nome del database',
-  'db_database_name_explanation' => 'Inserisci il nome del database usato dalla BBS',
-  'db_hostname' => 'Indirizzo del database',
-  'db_hostname_explanation' => 'Indirizzo dove risiede il tuo database mySQL, di solito &quot;localhost&quot;',
-  'db_username' => 'Nome utente del database',
-  'db_username_explanation' => 'Utente mySQL da usare per la connessione con la BBS',
-  'db_password' => 'Password del database',
-  'db_password_explanation' => 'Passsword per questo utente mySQL',
-  'full_forum_url' => 'URL della BBS',
-  'full_forum_url_explanation' => 'URL della BBS (incluso http:// , es. http://www.yourdomain.tld/forum)',
-  'relative_path_of_forum_from_webroot' => 'Percorso della BBS rispetto alla cartella iniziale del sito',
-  'relative_path_of_forum_from_webroot_explanation' => 'Percorso relativo della BBS rispetto alla cartella iniziale del sito web (Esempio: se la tua board risiede su http://www.yourdomain.tld/forum/, inserisci &quot;/forum/&quot; in questo campo)',
-  'relative_path_to_config_file' => 'Percorso della BBS rispetto alla cartella di Coppermine',
-  'relative_path_to_config_file_explanation' => 'Percorso relativo della BBS, partendo dalla cartella di Coppermine (es. &quot;../forum/&quot; se la tua board risiede su http://www.yourdomain.tld/forum/ e Coppermine su http://www.yourdomain.tld/gallery/)',
-  'cookie_prefix' => 'Prefisso cookie',
-  'cookie_prefix_explanation' => 'questo deve essere il nome del cookie della BBS',
-  'table_prefix' => 'Prefisso tabelle',
-  'table_prefix_explanation' => 'Deve corrispondere al prefisso scelto per la BBS.',
-  'user_table' => 'Tabella utente',
-  'user_table_explanation' => '(solitamente il valore predefinito dovrebbe andar bene, a meno che la tua installazione non sia standard)',
-  'session_table' => 'Tabella sessioni',
-  'session_table_explanation' => '(solitamente il valore predefinito dovrebbe andar bene, a meno che la tua installazione non sia standard)',
-  'group_table' => 'Tabella gruppi',
-  'group_table_explanation' => '(solitamente il valore di default dovrebbe andar bene, a meno che la tua installazione non sia standard)',
-  'group_relation_table' => 'Tabella relazioni gruppi',
-  'group_relation_table_explanation' => '(solitamente il valore predefinito dovrebbe andar bene, a meno che la tua installazione non sia standard)',
-  'group_mapping_table' => 'Tabella mappatura gruppi',
-  'group_mapping_table_explanation' => '(solitamente il valore predefinito dovrebbe andar bene, a meno che la tua installazione non sia standard)',
-  'use_standard_groups' => 'Utilizza i gruppi standard della BBS',
-  'use_standard_groups_explanation' => 'Utilizza i gruppi utente standard (consigliato). Questo annullerà ogni personalizzazione alle impostazioni dei gruppi creata in questa pagina. Disabilita questa opzione SOLO se sai veramente cosa stai facendo!',
-  'validating_group' => 'Gruppo in attesa di convalida',
-  'validating_group_explanation' => 'ID del gruppo della BBS che comprende gli account utente che richiedono di essere convalidati (solitamente il valore predefinito dovrebbe andar bene, a meno che la tua installazione non sia standard)',
-  'guest_group' => 'Gruppo Ospiti',
-  'guest_group_explanation' => 'ID del gruppo della BBS che comprende gli ospiti (utenti anonimi) (il valore predefinito dovrebbe andar bene, cambialo solo se sai cosa stai facendo)',
-  'member_group' => 'Gruppo Utenti registrati',
-  'member_group_explanation' => 'ID del gruppo della BBS che comprende gli utenti &quot;regolari&quot; (il valore predefinito dovrebbe andar bene, cambialo solo se sai cosa stai facendo)',
-  'admin_group' => 'Gruppo Amministratori',
-  'admin_group_explanation' => 'ID del gruppo della BBS che comprende gli amministratori (il valore predefinito dovrebbe andar bene, cambialo solo se sai cosa stai facendo)',
-  'banned_group' => 'Gruppo Utenti estromessi',
-  'banned_group_explanation' => 'ID del gruppo della BBS che comprende gli utenti estromessi (il valore predefinito dovrebbe andar bene, cambialo solo se sai cosa stai facendo)',
-  'global_moderators_group' => 'Gruppo Moderatori globali',
-  'global_moderators_group_explanation' => 'ID del gruppo della BBSche comprende i moderatori globali (il valore predefinito dovrebbe andar bene, cambialo solo se sai cosa stai facendo)',
-  'special_settings' => 'Impostazioni specifiche BBS',
-  'logout_flag' => 'Versione phpBB (per gestione logout)',
-  'logout_flag_explanation' => 'La versione del tuo forum phpBB (questa impostazione specifica come vengono gestiti i logouts)',
-  'use_post_based_groups' => 'Utilizzi gruppi basati sul numero di post?',
-  'logout_flag_yes' => '2.0.5 o superiore',
-  'logout_flag_no' => '2.0.4 o inferiore',
-  'use_post_based_groups_explanation' => 'Inserire anche i gruppi basati sul numero di post (consente una gestione particolareggiata dei permessi) o solo i gruppi di default (consente un livello di amministrazione semplice, consigliato)? Puoi cambiare questa impostazione anche in seguito.',
-  'use_post_based_groups_yes' => 'si',
-  'use_post_based_groups_no' => 'no',
-  'error_title' => 'Devi correggere questi errori prima di continuare. Torna alla schermata precedente.',
-  'error_specify_bbs' => 'Devi specificare con quale applicazione vuoi eseguire l\'integrazione.',
-  'error_no_blank_name' => 'Non puoi lasciare vuoto il nome del tuo file di integrazione personalizzato.',
-  'error_no_special_chars' => 'Il nome del file di integrazione non deve contenere caratteri speciali eccetto (_) e (-)!',
-  'error_bridge_file_not_exist' => 'Il file di integrazione %s non esiste sul server. Controlla di averlo caricato.',
-  'finalize' => 'abilita/disabilita integrazione con la BBS',
-  'finalize_explanation' => 'Bene, le impostazioni specificate sono state inserite nel database, ma l\'integrazione con la BBS non è stata abilitata. Puoi abilitarla/disabilitarda anche successivamente, in qualsiasi momento. Ricordati il nome utente dell\'account amministratore e la password dell\'installazione Coppermine autonoma: potrebbe servirti in seguito per effettuare modifiche. Se qualcosa non dovesse andare a buon fine, vai su  %s e disabilita l\'integrazione con la BBS, usando l\'account amministratore.',
-  'your_bridge_settings' => 'Impostazioni per l\'integrazione',
-  'title_enable' => 'Abilita integrazione con %s',
-  'bridge_enable_yes' => 'Abilita',
-  'bridge_enable_no' => 'Disabilita',
-  'error_must_not_be_empty' => 'non deve essere vuoto',
-  'error_either_be' => 'deve essere o %s o %s',
-  'error_folder_not_exist' => '%s non esiste. Correggi il valore inserito per %s',
-  'error_cookie_not_readible' => 'Coppermine non riesce a leggere un cookie chiamato %s. Correggi il valore inserito per %s, o vai sul pannello di amministrazione della tua BBS e assicurati che il percorso del cookie sia raggiungibile da Coppermine.',
-  'error_mandatory_field_empty' => 'Non puoi lasciare il campo %s vuoto: riempilo col valore appropriato.',
-  'error_no_trailing_slash' => 'Non ci deve essere una sbarra nel campo %s.',
-  'error_trailing_slash' => 'Ci deve essere una sbarra nel campo %s.',
-  'error_db_connect' => 'Impossibile connettersi al database mySQL con i parametri specificati. Di seguito la risposta del database:',
-  'error_db_name' => 'Anche se Coppermine è riuscita a connettersi, non è riuscita a trovare il database %s. Assicurati di aver specificato %s correttamente. Di seguito la risposta del database:',
-  'error_prefix_and_table' => '%s e ',
-  'error_db_table' => 'Impossibile trovare la tabella %s. Assicurati di aver specificato %s correttamente.',
-  'recovery_title' => 'Gestione integrazione: riparazione di emergenza',
-  'recovery_explanation' => 'Se sei arrivato qui per amministrare l\'integrazione della BBS con la tua galleria Coppermine, devi prima effettuare il login come amministratore. Se non puoi effettuare il login poichè il bridging non funziona correttamente, puoi disabilitare l\'integrazione in questa pagina. Inserendo utente e password non ti consentirà di effettuare il login, ma disabiliterà l\'integrazione con la BBS. Controlla la documentazione per dettagli.',
-  'username' => 'Utente',
-  'password' => 'Password',
-  'disable_submit' => 'Invia',
-  'recovery_success_title' => 'Autorizzato con successo',
-  'recovery_success_content' => 'Hai disabilitato con successo il bridging con la BBS. La tua installazione di Coppermine ora gira come autonoma.',
-  'recovery_success_advice_login' => 'Connettiti come amministratore per modificare le impostazioni di bridging e/o abilitare di nuovo l\'integrazione con la BBS.',
-  'goto_login' => 'Vai alla pagina di login',
-  'goto_bridgemgr' => 'Vai a Gestione integrazione',
-  'recovery_failure_title' => 'Autorizzazione fallita',
-  'recovery_failure_content' => 'Hai fornito credenziali non corrette. Devi fornire i dati di amministratore della versione autonoma (normalmente quelle impostate durante l\'installazione).',
-  'try_again' => 'ritenta',
-  'recovery_wait_title' => 'Aspetta, non è ancora trascorso un tempo sufficiente',
-  'recovery_wait_content' => 'Per motivi di sicurezza questo script non consente sessioni fallite di login in rapida successione, quindi devi aspettare qualche tempo prima di ritentare.',
-  'wait' => 'attendi',
-  'create_redir_file' => 'Crea file di reindirizzamento (consigliato)',
-  'create_redir_file_explanation' => 'Per reindirizzare gli utenti a Coppermine una volta effettuato il login alla BBS necessiti di un file di redirect da creare nella cartella della BBS stessa. Se selezioni questa opzione , la gestione bridging tenterà di creare questo file per te, o fornirà un codice per creare manualmente il file.',
-  'browse' => 'sfoglia',
-);
-
-// ------------------------------------------------------------------------- //
-// File calendar.php //cpg1.4
-// ------------------------------------------------------------------------- //
-
-if (defined('CALENDAR_PHP')) $lang_calendar_php = array(
-  'title' => 'Calendario', //cpg1.4
-  'close' => 'chiudi', //cpg1.4
-  'clear_date' => 'azzera data', //cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File catmgr.php
-// ------------------------------------------------------------------------- //
-
-if (defined('CATMGR_PHP')) $lang_catmgr_php = array(
-  'miss_param' => 'Parametri richiesti per l\'operazione \'%s\'non forniti !',
-  'unknown_cat' => 'La categoria selezionata non esiste nel database',
-  'usergal_cat_ro' => 'La categoria Gallerie utenti non può essere cancellata !',
-  'manage_cat' => 'Gestione categorie',
-  'confirm_delete' => 'Sicuro di voler CANCELLARE questa categoria', //js-alert
-  'category' => 'Categoria',
-  'operations' => 'Operazioni',
-  'move_into' => 'Sposta in',
-  'update_create' => 'Aggiorna/Crea categoria',
-  'parent_cat' => 'Categoria madre',
-  'cat_title' => 'Titolo categoria',
-  'cat_thumb' => 'Miniatura categoria',
-  'cat_desc' => 'Descrizione categoria',
-  'categories_alpha_sort' => 'Elenca categorie alfabeticamente (invece che in ordine personalizzato)', //cpg1.4
-  'save_cfg' => 'Salva configurazione', //cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File admin.php //cpg1.4
-// ------------------------------------------------------------------------- //
-
-if (defined('ADMIN_PHP')) $lang_admin_php = array(
-  'title' => 'Configurazione galleria', //cpg1.4
-  'manage_exif' => 'Gestione dati EXIF', //cpg1.4
-  'manage_plugins' => 'Gestione plugins', //cpg1.4
-  'manage_keyword' => 'Gestione parole chiave', //cpg1.4
-  'restore_cfg' => 'Ripristina impostazioni di sistema',
-  'save_cfg' => 'Salva nuova configurazione',
-  'notes' => 'Note',
-  'info' => 'Informazione',
-  'upd_success' => 'Configurazione di Coppermine aggiornata',
-  'restore_success' => 'Configurazione predefinita ripristinata',
-  'name_a' => 'Nome ascendente',
-  'name_d' => 'Nome discendente',
-  'title_a' => 'Titolo ascendente',
-  'title_d' => 'Titolo discendente',
-  'date_a' => 'Data ascendente',
-  'date_d' => 'Data discendente',
-  'pos_a' => 'Posizione ascendente', //cpg1.4
-  'pos_d' => 'Posizione discendente', //cpg1.4
-  'th_any' => 'Entrambe',
-  'th_ht' => 'Altezza',
-  'th_wd' => 'Larghezza',
-  'label' => 'testo',
-  'item' => 'bandiera',
-  'debug_everyone' => 'Tutti',
-  'debug_admin' => 'Solo amministratori',
-  'no_logs'=> 'Nessuno', //cpg1.4
-  'log_normal'=> 'Normali', //cpg1.4
-  'log_all' => 'Completi', //cpg1.4
-  'view_logs' => 'Guarda rapporti', //cpg1.4
-  'click_expand' => 'clicca sul nome della sezione per espandere', //cpg1.4
-  'expand_all' => 'Espandi tutto', //cpg1.4
-  'notice1' => '(*) Queste impostazioni non devono essere cambiate se hai già dei file nel database.', //cpg1.4 - (relocated)
-  'notice2' => '(**) Quando modifichi queste impostazioni, solo i file aggiunti da questo momento in poi ne saranno affetti, quindi è consigliabile non cambiare queste impostazioni se sono già presenti dei file nella galleria. Puoi comunque applicare i cambiamenti ai file esistenti con gli &quot;<a href="util.php">Strumenti di amministrazione</a> (ridimensiona immagini)&quot; dal menu Amministrazione.', //cpg1.4 - (relocated)
-  'notice3' => '(***) Tutti i file di rapporto sono in inglese.', //cpg1.4 - (relocated)
-  'bbs_disabled' => 'Funzione non abilitata nell\'integrazione BBS', //cpg1.4
-  'auto_resize_everyone' => 'Tutti', //cpg1.4
-  'auto_resize_user' => 'Solo utente', //cpg1.4
-  'ascending' => 'ascendente', //cpg1.4
-  'descending' => 'discendente', //cpg1.4
-);
-
-if (defined('ADMIN_PHP')) $lang_admin_data = array(
-  'Impostazioni generali',
-  array('Nome galleria', 'gallery_name', 0, 'f=index.htm&amp;as=admin_general_name&amp;ae=admin_general_name_end'), //cpg1.4
-  array('Descrizione galleria', 'gallery_description', 0, 'f=index.htm&amp;as=admin_general_description&amp;ae=admin_general_description_end'), //cpg1.4
-  array('Email amministratore', 'gallery_admin_email', 0, 'f=index.htm&amp;as=admin_general_email&amp;ae=admin_general_email_end'), //cpg1.4
-  array('URL della cartella web di Coppermine (no \'index.php\' o simili alla fine)', 'ecards_more_pic_target', 0, 'f=index.htm&amp;as=admin_general_coppermine-url&amp;ae=admin_general_coppermine-url_end'), //cpg1.4
-  array('URL della home page', 'home_target', 0, 'f=index.htm&amp;as=admin_general_home-url&amp;ae=admin_general_home-url_end'), //cpg1.4
-  array('Consenti di scaricare i preferiti in formato ZIP', 'enable_zipdownload', 1, 'f=index.htm&amp;as=admin_general_zip-download&amp;ae=admin_general_zip-download_end'), //cpg1.4
-  array('Fuso orario relativo al GMT (ora attuale: ' . localised_date(-1, $comment_date_fmt) . ')','time_offset',0, 'f=index.htm&amp;as=admin_general_time-offset&amp;ae=admin_general_time-offset_end&amp;top=1'), //cpg1.4
-  array('Abilita password criptate (non reversibile)','enable_encrypted_passwords',1, 'f=index.htm&amp;as=admin_general_encrypt_password_start&amp;ae=admin_general_encrypt_password_end&amp;top=1'), // cpg 1.4
-  array('Abilita icone di aiuto (disponibile solo in inglese)','enable_help',9, 'f=index.htm&amp;as=admin_general_help&amp;ae=admin_general_help_end'), //cpg1.4
-  array('Abilita parole chiave cliccabili nella ricerca','clickable_keyword_search',14, 'f=index.htm&amp;as=admin_general_keywords_start&amp;ae=admin_general_keywords_end'), //cpg1.4
-  array('Abilita plugin', 'enable_plugins', 12, 'f=index.htm&amp;as=admin_general_enable-plugins&amp;ae=admin_general_enable-plugins_end'),  //cpg1.4
-  array('Consenti estromissione degli IP non-routable (privati)', 'ban_private_ip', 1,  'f=index.htm&amp;as=admin_general_private-ip&amp;ae=admin_general_private-ip_end'), //cpg1.4
-  array('Interfaccia per l\'aggiunta cumulativa navigabile', 'browse_batch_add', 1, 'f=index.htm&amp;as=admin_general_browsable_batch_add&amp;ae=admin_general_browsable_batch_add_end'), //cpg1.4
-
-  'Lingua e impostazioni codifica caratteri',
-  array('Lingua', 'lang', 5, 'f=index.htm&amp;as=admin_language_language&amp;ae=admin_language_language_end'), //cpg1.4
-  array('Passa all\'inglese se non si trova la traduzione?', 'language_fallback', 1, 'f=index.htm&amp;as=admin_language_fallback&amp;ae=admin_language_fallback_end'), //cpg1.4
-  array('Codifica caratteri', 'charset', 4, 'f=index.htm&amp;as=admin_language_charset&amp;ae=admin_language_charset_end'), //cpg1.4
-  array('Mostra lista lingue', 'language_list', 1, 'f=index.htm&amp;as=admin_language_list&amp;ae=admin_language_list_end'), //cpg1.4
-  array('Mostra bandiere lingue', 'language_flags', 8, 'f=index.htm&amp;as=admin_language_flags&amp;ae=admin_language_flags_end&amp;top=1'), //cpg1.4
-  array('Mostra &quot;Ripristina&quot; nel menu Selezione lingua', 'language_reset', 1, 'f=index.htm&amp;as=admin_language_reset&amp;ae=admin_language_reset_end&amp;top=1'), //cpg1.4
-  //array('Display previous/next on tabbed pages', 'previous_next_tab', 1), //cpg1.4
-
-  'Impostazioni tema',
-  array('Tema', 'theme', 6, 'f=index.htm&amp;as=admin_theme_theme&amp;ae=admin_theme_theme_end'), //cpg1.4
-  array('Mostra lista temi', 'theme_list', 1, 'f=index.htm&amp;as=admin_theme_theme_list&amp;ae=admin_theme_theme_list_end'), //cpg1.4
-  array('Mostra &quot;Ripristina&quot; nel menu Selezione temi', 'theme_reset', 1, 'f=index.htm&amp;as=admin_theme_theme_reset&amp;ae=admin_theme_theme_reset_end'), //cpg1.4
-  array('Mostra FAQ', 'display_faq', 1, 'f=index.htm&amp;as=admin_theme_faq&amp;ae=admin_theme_faq_end'), //cpg1.4
-  array('Nome voce personalizzata nel menu Galleria', 'custom_lnk_name', 0,'f=index.htm&amp;as=admin_theme_custom_lnk_name&amp;ae=admin_theme_custom_lnk_name_end'), //cpg1.4
-  array('URL voce personalizzata nel menu Galleria', 'custom_lnk_url', 0,'f=index.htm&amp;as=admin_language_custom_lnk_url&amp;ae=admin_language_custom_lnk_url_end'), //cpg1.4
-  array('Mostra aiuto BBCode', 'show_bbcode_help', 1, 'f=index.htm&amp;as=admin_theme_bbcode&amp;ae=admin_theme_bbcode_end&amp;top=1'), //cpg1.4
-  array('Mostra il "blocco delle vanterie" nei temi definiti come conformi ad XHTML e CSS','vanity_block',1, 'f=index.htm&amp;as=vanity_block&amp;ae=vanity_block_end'), //cpg1.4
-  array('Percorso per intestazione pagina personalizzata', 'custom_header_path', 0, 'f=index.htm&amp;as=admin_theme_include_path_start&amp;ae=admin_theme_include_path_end'), //cpg1.4
-  array('Percorso per piè di pagina personalizzato', 'custom_footer_path', 0, 'f=index.htm&amp;as=admin_theme_include_path_start&amp;ae=admin_theme_include_path_end'), //cpg1.4
-
-  'Visualizzazione Lista album',
-  array('Larghezza della tabella principale (pixel o %)', 'main_table_width', 0, 'f=index.htm&amp;as=admin_album_table-width&amp;ae=admin_album_table-width_end'), //cpg1.4
-  array('Numero di livelli di categorie da mostrare', 'subcat_level', 0, 'f=index.htm&amp;as=admin_album_category-levels&amp;ae=admin_album_category-levels_end'), //cpg1.4
-  array('Numero di album da mostrare', 'albums_per_page', 0, 'f=index.htm&amp;as=admin_album_number&amp;ae=admin_album_number_end'), //cpg1.4
-  array('Numero di colonne per la lista album', 'album_list_cols', 0, 'f=index.htm&amp;as=admin_album_columns&amp;ae=admin_album_columns_end'), //cpg1.4
-  array('Dimensioni delle miniature in pixel', 'alb_list_thumb_size', 0, 'f=index.htm&amp;as=admin_album_thumbnail-size&amp;ae=admin_album_thumbnail-size_end'), //cpg1.4
-  array('Contenuto della pagina principale', 'main_page_layout', 0, 'f=index.htm&amp;as=admin_album_list_content&amp;ae=admin_album_list_content_end'), //cpg1.4
-  array('Mostra miniature degli album al primo livello per le categorie','first_level',1, 'f=index.htm&amp;as=admin_album_first-level_thumbs&amp;ae=admin_album_first-level_thumbs_end'), //cpg1.4
-  array('Elenca categorie alfabeticamente (invece che in ordine personalizzato)','categories_alpha_sort',1, 'f=index.htm&amp;as=admin_album_list_alphasort_start&amp;ae=admin_album_list_alphasort_end'), //cpg1.4
-  array('Mostra numero di file collegati','link_pic_count',1, 'f=index.htm&amp;as=admin_album_linked_files_start&amp;ae=admin_album_linked_files_end'), //cpg1.4
-
-  'Visualizzazione Miniature',
-  array('Numero di colonne nella pagina miniature', 'thumbcols', 0, 'f=index.htm&amp;as=admin_thumbnail_columns&amp;ae=admin_thumbnail_columns_end'), //cpg1.4
-  array('Numero di righe nella pagina miniature', 'thumbrows', 0, 'f=index.htm&amp;as=admin_thumbnail_rows&amp;ae=admin_thumbnail_rows_end'), //cpg1.4
-  array('Numero massimo di etichette con i numeri di pagina da mostrare', 'max_tabs', 10, 'f=index.htm&amp;as=admin_thumbnail_tabs&amp;ae=admin_thumbnail_tabs_end'), //cpg1.4
-  array('Mostra descrizione file (oltre al titolo) sotto la miniatura', 'caption_in_thumbview', 1, 'f=index.htm&amp;as=admin_thumbnail_display_caption&amp;ae=admin_thumbnail_display_caption_end'), //cpg1.4
-  array('Mostra numero di visite sotto la miniatura', 'views_in_thumbview', 1, 'f=index.htm&amp;as=admin_thumbnail_display_views&amp;ae=admin_thumbnail_display_views_end'), //cpg1.4
-  array('Mostra numero di commenti sotto la miniatura', 'display_comment_count', 1, 'f=index.htm&amp;as=admin_thumbnail_display_comments&amp;ae=admin_thumbnail_display_comments_end'), //cpg1.4
-  array('Mostra nome utente sotto la miniatura', 'display_uploader', 1, 'f=index.htm&amp;as=admin_thumbnail_display_uploader&amp;ae=admin_thumbnail_display_uploader_end'), //cpg1.4
-  //array('Display name of admin uploaders below the thumbnail', 'display_admin_uploader', 1, 'f=index.htm&amp;as=admin_thumbnail_display_admin_uploader&amp;ae=admin_thumbnail_display_admin_uploader_end'), //cpg1.4
-  array('Mostra nome file sotto la miniatura', 'display_filename', 1, 'f=index.htm&amp;as=admin_thumbnail_display_filename&amp;ae=admin_thumbnail_display_filename_end'), //cpg1.4
-  //array('Mostra descrizione album', 'alb_desc_thumb', 1, 'f=index.htm&amp;as=admin_thumbnail_display_description&amp;ae=admin_thumbnail_display_description_end'), //cpg1.4
-  array('Ordinamento predefinito per i file', 'default_sort_order', 3, 'f=index.htm&amp;as=admin_thumbnail_default_sortorder&amp;ae=admin_thumbnail_default_sortorder_end'), //cpg1.4
-  array('Numero minimo di voti per apparire tra i "più votati" ', 'min_votes_for_rating', 0, 'f=index.htm&amp;as=admin_thumbnail_minimum_votes&amp;ae=admin_thumbnail_minimum_votes_end'), //cpg1.4
-
-  'Visualizzazione Immagini', //cpg1.4
-  array('Larghezza della tabella per la visualizzazione (pixel o %)', 'picture_table_width', 0, 'f=index.htm&amp;as=admin_image_comment_table-width&amp;ae=admin_image_comment_table-width_end'), //cpg1.4
-  array('Informazioni file visibili in modo predefinito', 'display_pic_info', 1, 'f=index.htm&amp;as=admin_image_comment_info_visible&amp;ae=admin_image_comment_info_visible_end'), //cpg1.4
-  array('Lunghezza massima descrizione', 'max_img_desc_length', 0, 'f=index.htm&amp;as=admin_image_comment_descr_length&amp;ae=admin_image_comment_descr_length_end'), //cpg1.4
-  array('Numero massimo di caratteri in una parola', 'max_com_wlength', 0, 'f=index.htm&amp;as=admin_image_comment_chars_per_word&amp;ae=admin_image_comment_chars_per_word_end'), //cpg1.4
-  array('Mostra pellicola', 'display_film_strip', 1, 'f=index.htm&amp;as=admin_image_comment_filmstrip_toggle&amp;ae=admin_image_comment_filmstrip_toggle_end'), //cpg1.4
-  array('Mostra nome file sotto le miniature nella pellicola', 'display_film_strip_filename', 1, 'f=index.htm&amp;as=admin_image_comment_display_film_strip_filename&amp;ae=admin_image_comment_display_film_strip_filename_end'), //cpg1.4
-  array('Numero di elementi nella pellicola', 'max_film_strip_items', 0, 'f=index.htm&amp;as=admin_image_comment_filmstrip_number&amp;ae=admin_image_comment_filmstrip_number_end'), //cpg1.4
-  array('Intervallo di scorrimento presentazione in millisecondi (1 secondo = 1000 millisecondi)', 'slideshow_interval', 0, 'f=index.htm&amp;as=admin_image_comment_slideshow_interval&amp;ae=admin_image_comment_slideshow_interval_end'), //cpg1.4
-
-  'Impostazioni commenti', //cpg1.4
-  array('Filtra parolacce nei commenti', 'filter_bad_words', 1, 'f=index.htm&amp;as=admin_image_comment_bad_words&amp;ae=admin_image_comment_bad_words_end'), //cpg1.4
-  array('Consenti faccine nei commenti', 'enable_smilies', 1, 'f=index.htm&amp;as=admin_image_comment_smilies&amp;ae=admin_image_comment_smilies_end'), //cpg1.4
-  array('Consenti più commenti consecutivi dello stesso utente sul medesimo file (disabilita protezione flood)', 'disable_comment_flood_protect', 1, 'f=index.htm&amp;as=admin_image_comment_flood&amp;ae=admin_image_comment_flood_end'), //cpg1.4
-  array('Numero massimo di righe in un commento', 'max_com_lines', 0, 'f=index.htm&amp;as=admin_image_comment_lines&amp;ae=admin_image_comment_lines_end'), //cpg1.4
-  array('Lunghezza massima di un commento', 'max_com_size', 0, 'f=index.htm&amp;as=admin_image_comment_length&amp;ae=admin_image_comment_length_end'), //cpg1.4
-  array('Notifica dei commenti all\'amministratore via email', 'email_comment_notification', 1, 'f=index.htm&amp;as=admin_image_comment_admin_notify&amp;ae=admin_image_comment_admin_notify_end'), //cpg1.4
-  array('Ordinamento dei commenti', 'comments_sort_descending', 17, 'f=index.htm&amp;as=admin_comment_sort_start&amp;ae=admin_comment_sort_end'), //cpg1.4
-  array('Prefisso per autori di commenti anonimi', 'comments_anon_pfx', 0, 'f=index.htm&amp;as=comments_anon_pfx&amp;ae=comments_anon_pfx_end'), //cpg1.4
-
-  'Impostazioni file e miniature',
-  array('Qualità file JPEG', 'jpeg_qual', 0, 'f=index.htm&amp;as=admin_picture_thumbnail_jpeg_quality&amp;ae=admin_picture_thumbnail_jpeg_quality_end'), //cpg1.4
-  array('Dimensione massima (larghezza od altezza) per le miniature <a href="#notice2" class="clickable_option">**</a>', 'thumb_width', 0, 'f=index.htm&amp;as=admin_picture_thumbnail_max-dimension&amp;ae=admin_picture_thumbnail_max-dimension_end'), //cpg1.4
-  array('Applica dimensione massima a <a href="#notice2" class="clickable_option">**</a>', 'thumb_use', 7, 'f=index.htm&amp;as=admin_picture_thumbnail_use-dimension&amp;ae=admin_picture_thumbnail_use-dimension_end'), //cpg1.4
-  array('Crea immagini intermedie','make_intermediate',1, 'f=index.htm&amp;as=admin_picture_thumbnail_intermediate_toggle&amp;ae=admin_picture_thumbnail_intermediate_toggle_end'), //cpg1.4
-  array('Altezza o larghezza massime per le immagini/video intermedie <a href="#notice2" class="clickable_option">**</a>', 'picture_width', 0, 'f=index.htm&amp;as=admin_picture_thumbnail_intermediate_dimension&amp;ae=admin_picture_thumbnail_intermediate_dimension_end'), //cpg1.4
-  array('Peso massimo dei file caricabili dagli utenti (Kb)', 'max_upl_size', 0, 'f=index.htm&amp;as=admin_picture_thumbnail_max_upload_size&amp;ae=admin_picture_thumbnail_max_upload_size_end'), //cpg1.4
-  array('Dimensione massima (larghezza od altezza) per immagini/video da caricare (in pixel)', 'max_upl_width_height', 0, 'f=index.htm&amp;as=admin_picture_thumbnail_max_upload_dimension&amp;ae=admin_picture_thumbnail_max_upload_dimension_end'), //cpg1.4
-  array('Ridimensionamento automatico immagini che sforano i limiti', 'auto_resize', 16, 'f=index.htm&amp;as=admin_picture_thumbnail_auto-resize&amp;ae=admin_picture_thumbnail_auto-resize_end'), //cpg1.4
-
-  'Impostazioni avanzate file e miniature',
-  array('Gli album possono essere privati (Nota: se cambi da \'si\' a \'no\' ogni album attualmente privato diventerà pubblico)', 'allow_private_albums', 1, 'f=index.htm&amp;as=admin_picture_thumb_advanced_private_toggle&amp;ae=admin_picture_thumb_advanced_private_toggle_end'), //cpg1.4
-  array('Mostra agli ospiti un\'icona per gli album privati','show_private',1, 'f=index.htm&amp;as=admin_picture_thumb_advanced_private_icon_show&amp;ae=admin_picture_thumb_advanced_private_icon_show_end'), //cpg1.4
-  array('Caratteri proibiti nei nomi dei file', 'forbiden_fname_char',0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_filename_forbidden_chars&amp;ae=admin_picture_thumb_advanced_filename_forbidden_chars_end'), //cpg1.4
-  //array('Formati immagine consentiti per i file caricati', 'allowed_file_extensions',0, 'f=index.htm&amp;as=&amp;ae=_end'), //cpg1.4
-  array('Formati immagine consentiti', 'allowed_img_types',0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_pic_extensions&amp;ae=admin_picture_thumb_advanced_pic_extensions_end'), //cpg1.4
-  array('Formati filmato consentiti', 'allowed_mov_types',0, 'f=index.htm&amp;as=admin_thumbs_advanced_movie&amp;ae=admin_thumbs_advanced_movie_end'), //cpg1.4
-  array('Esegui automaticamente i filmati', 'media_autostart',1, 'f=index.htm&amp;as=admin_movie_autoplay&amp;ae=admin_movie_autoplay_end'), //cpg1.4
-  array('Formati file audio consentiti', 'allowed_snd_types',0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_audio_extensions&amp;ae=admin_picture_thumb_advanced_audio_extensions_end'), //cpg1.4
-  array('Formati documenti consentiti', 'allowed_doc_types',0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_doc_extensions&amp;ae=admin_picture_thumb_advanced_doc_extensions_end'), //cpg1.4
-  array('Metodo di ridimensionamento immagini','thumb_method',2, 'f=index.htm&amp;as=admin_picture_thumb_advanced_resize_method&amp;ae=admin_picture_thumb_advanced_resize_method_end'), //cpg1.4
-  array('Percorso utility ImageMagick \'convert\' (esempio /usr/bin/X11/)', 'impath', 0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_im_path&amp;ae=admin_picture_thumb_advanced_im_path_end'), //cpg1.4
-  //array('Formati immagine consentiti (valido solo per ImageMagick)', 'allowed_img_types',0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_allowed_imagetypes&amp;ae=admin_picture_thumb_advanced_allowed_imagetypes_end'), //cpg1.4
-  array('Opzioni linea di comando di ImageMagick', 'im_options', 0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_im_commandline&amp;ae=admin_picture_thumb_advanced_im_commandline_end'), //cpg1.4
-  array('Leggi dati EXIF nei file JPEG', 'read_exif_data', 13, 'f=index.htm&amp;as=admin_picture_thumb_advanced_exif&amp;ae=admin_picture_thumb_advanced_exif_end'), //cpg1.4
-  array('Leggi dati IPTC nei file JPEG', 'read_iptc_data', 1, 'f=index.htm&amp;as=admin_picture_thumb_advanced_iptc&amp;ae=admin_picture_thumb_advanced_iptc_end'), //cpg1.4
-  array('Cartella per gli album <a href="#notice1" class="clickable_option">*</a>', 'fullpath', 0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_albums_dir&amp;ae=admin_picture_thumb_advanced_albums_dir_end'), //cpg1.4
-  array('Cartella per i file caricati dagli utenti <a href="#notice1" class="clickable_option">*</a>', 'userpics', 0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_userpics_dir&amp;ae=admin_picture_thumb_advanced_userpics_dir_end'), //cpg1.4
-  array('Prefisso per le immagini intermedie <a href="#notice1" class="clickable_option">*</a>', 'normal_pfx', 0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_intermediate_prefix&amp;ae=admin_picture_thumb_advanced_intermediate_prefix_end'), //cpg1.4
-  array('Prefisso per le miniature <a href="#notice1" class="clickable_option">*</a>', 'thumb_pfx', 0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_thumbs_prefix&amp;ae=admin_picture_thumb_advanced_thumbs_prefix_end'), //cpg1.4
-  array('Permessi predefiniti per le cartelle', 'default_dir_mode', 0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_chmod_folder&amp;ae=admin_picture_thumb_advanced_chmod_folder_end'), //cpg1.4
-  array('Permessi predefiniti per i file', 'default_file_mode', 0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_chmod_files&amp;ae=admin_picture_thumb_advanced_chmod_files_end'), //cpg1.4
-
-  'Impostazioni utente',
-  array('Consenti nuove registrazioni', 'allow_user_registration', 1, 'f=index.htm&amp;as=admin_allow_registration&amp;ae=admin_allow_registration_end'), //cpg1.4
-  array('Consenti accesso ad utenti che non hanno effettuato il login (ospiti o anonimi)', 'allow_unlogged_access', 1, 'f=index.htm&amp;as=admin_allow_unlogged_access&amp;ae=admin_allow_unlogged_access_end'), //cpg1.4
-  array('Richiedi autenticazione via email per le nuove registrazioni', 'reg_requires_valid_email', 1, 'f=index.htm&amp;as=admin_registration_verify&amp;ae=admin_registration_verify_end'), //cpg1.4
-  array('Notifica all\'amministratore via email le nuove registrazioni', 'reg_notify_admin_email', 1, 'f=index.htm&amp;as=admin_registration_notify&amp;ae=admin_registration_notify_end'), //cpg1.4
-  array('Richiedi l\'attivazione delle registrazioni da parte dell\'amministratore', 'admin_activation', 1, 'f=index.htm&amp;as=admin_activation&amp;ae=admin_activation_end'),  //cpg1.4
-  array('Consenti a due utenti di condividere lo stesso indirizzo email', 'allow_duplicate_emails_addr', 1, 'f=index.htm&amp;as=admin_allow_duplicate_emails_addr&amp;ae=admin_allow_duplicate_emails_addr_end'), //cpg1.4
-  array('Notifica all\'amministratore via email i file in attesa di approvazione', 'upl_notify_admin_email', 1, 'f=index.htm&amp;as=admin_approval_notify&amp;ae=admin_approval_notify_end'), //cpg1.4
-  array('Consenti agli utenti di visualizzare la lista iscritti', 'allow_memberlist', 1, 'f=index.htm&amp;as=admin_user_memberlist&amp;ae=admin_user_memberlist_end'), //cpg1.4
-  array('Consenti agli iscritti di modificare il proprio indirizzo email nel profilo', 'allow_email_change', 1, 'f=index.htm&amp;as=admin_user_allow_email_change&amp;ae=admin_user_allow_email_change_end'), //cpg1.4
-  array('Consenti agli iscritti di mantenere il controllo delle loro immagini nelle gallerie pubbliche', 'users_can_edit_pics', 1, 'f=index.htm&amp;as=admin_user_editpics_public_start&amp;ae=admin_user_editpics_public_end'), //cpg1.4
-  array('Numero di login falliti consentiti prima dell\'estromissione temporanea (per evitare attacchi "brute force")', 'login_threshold', 0, 'f=index.htm&amp;as=admin_user_login_start&amp;ae=admin_user_login_end'), //cpg1.4
-  array('Durata estromissione temporanea dopo il fallimento del login', 'login_expiry', 0, 'f=index.htm&amp;as=admin_user_login_start&amp;ae=admin_user_login_end'), //cpg1.4
-  array('Abilita notifica all\'amministratore', 'report_post', 1, 'f=index.htm&amp;as=admin_user_enable_report&amp;ae=admin_user_enable_report_end'),  //cpg1.4
-
-// custom profile fields,  //cpg1.4
-  'Profili personalizzati per profilo utente (lasciare vuoto se inutilizzato).
-  Utilizzare Profilo 6 per descrizioni lunghe, come le biografie', //cpg1.4
-  array('Profilo 1 ', 'user_profile1_name', 0, 'f=index.htm&amp;as=admin_custom&amp;ae=admin_custom_end'), //cpg1.4
-  array('Profilo 2 ', 'user_profile2_name', 0), //cpg1.4
-  array('Profilo 3 ', 'user_profile3_name', 0), //cpg1.4
-  array('Profilo 4 ', 'user_profile4_name', 0), //cpg1.4
-  array('Profilo 5 ', 'user_profile5_name', 0), //cpg1.4
-  array('Profilo 6 ', 'user_profile6_name', 0), //cpg1.4
-
-  'Campi personalizzabili per descrizione immagine (lasciare vuoto se inutilizzato)',
-  array('Campo 1', 'user_field1_name', 0, 'f=index.htm&amp;as=admin_custom_image&amp;ae=admin_custom_image_end'), //cpg1.4
-  array('Campo 2', 'user_field2_name', 0),
-  array('Campo 3', 'user_field3_name', 0),
-  array('Campo 4', 'user_field4_name', 0),
-
-  'Impostazioni cookie',
-  array('Nome cookie', 'cookie_name', 0, 'f=index.htm&amp;as=admin_cookie_name&amp;ae=admin_cookie_name_end'), //cpg1.4
-  array('Percorso cookie', 'cookie_path', 0, 'f=index.htm&amp;as=admin_cookie_path&amp;ae=admin_cookie_path_end'), //cpg1.4
-
-  'Impostazioni Email  (di solito nulla deve essere cambiato; lasciare tutti i campi vuoti se insicuri)', //cpg1.4
-  array('Host SMTP (se lasciato vuoto verrà utilizzato sendmail)', 'smtp_host', 0, 'f=index.htm&amp;as=admin_email&amp;ae=admin_email_end'), //cpg1.4
-  array('Nome utente SMTP', 'smtp_username', 0), //cpg1.4
-  array('Password SMTP', 'smtp_password', 0), //cpg1.4
-
-  'Statistiche e rapporti', //cpg1.4
-  array('Rapporti <a href="#notice3" class="clickable_option">***</a>', 'log_mode', 11, 'f=index.htm&amp;as=admin_logging_log_mode&amp;ae=admin_logging_log_mode_end'), //cpg1.4
-  array('Includi le cartoline nei rapporti', 'log_ecards', 1, 'f=index.htm&amp;as=admin_general_log_ecards&amp;ae=admin_general_log_ecards_end'), //cpg1.4
-  array('Statistiche dettagliate per i voti','vote_details',1, 'f=index.htm&amp;as=admin_logging_votedetails&amp;ae=admin_logging_votedetails_end'), //cpg1.4
-  array('Statistiche dettagliate per le visite','hit_details',1, 'f=index.htm&amp;as=admin_logging_hitdetails&amp;ae=admin_logging_hitdetails_end'), //cpg1.4
-
-  'Impostazioni di manutenzione', //cpg1.4
-  array('Abilita modalità debug', 'debug_mode', 9, 'f=index.htm&amp;as=debug_mode&amp;ae=debug_mode_end'), //cpg1.4
-  array('Mostra avvisi PHP in modalità debug', 'debug_notice', 1, 'f=index.htm&amp;as=admin_misc_debug_notices&amp;ae=admin_misc_debug_notices_end'), //cpg1.4
-  array('La galleria è fuori linea?', 'offline', 1, 'f=index.htm&amp;as=admin_general_offline&amp;ae=admin_general_offline_end'), //cpg1.4
-);
-
-
-// ------------------------------------------------------------------------- //
-// File db_ecard.php
-// ------------------------------------------------------------------------- //
-
-if (defined('DB_ECARD_PHP')) $lang_db_ecard_php = array(
-  'title' => 'Cartoline inviate',
-  'ecard_sender' => 'Mittente',
-  'ecard_recipient' => 'Destinatario',
-  'ecard_date' => 'Data',
-  'ecard_display' => 'Mostra cartolina',
-  'ecard_name' => 'Nome',
-  'ecard_email' => 'Email',
-  'ecard_ip' => 'IP #',
-  'ecard_ascending' => 'ascendente',
-  'ecard_descending' => 'discendente',
-  'ecard_sorted' => 'Ordinamento',
-  'ecard_by_date' => 'per data',
-  'ecard_by_sender_name' => 'per nome mittente',
-  'ecard_by_sender_email' => 'per email mittente',
-  'ecard_by_sender_ip' => 'per IP mittente',
-  'ecard_by_recipient_name' => 'per nome destinatario',
-  'ecard_by_recipient_email' => 'per email destinatario',
-  'ecard_number' => 'mostra elemento %s a %s di %s',
-  'ecard_goto_page' => 'vai a pagina',
-  'ecard_records_per_page' => 'Elementi per pagina',
-  'check_all' => 'Seleziona tutti',
-  'uncheck_all' => 'Deseleziona tutti',
-  'ecards_delete_selected' => 'Elimina cartoline selezionate',
-  'ecards_delete_confirm' => 'Sei sicuro di voler cancellare questi elementi? Spunta la casella!',
-  'ecards_delete_sure' => 'Sono sicuro',
-);
-
-
-// ------------------------------------------------------------------------- //
-// File db_input.php
-// ------------------------------------------------------------------------- //
-
-if (defined('DB_INPUT_PHP')) $lang_db_input_php = array(
-  'empty_name_or_com' => 'Devi inserire il tuo nome e un commento',
-  'com_added' => 'Il tuo commento è stato inserito',
-  'alb_need_title' => 'Devi inserire un titolo per l\'album !',
-  'no_udp_needed' => 'Nessun aggiornamento necessario.',
-  'alb_updated' => 'Album aggiornato',
-  'unknown_album' => 'L\'album selezionato non esiste o non hai i permessi per caricare file in questo album',
-  'no_pic_uploaded' => 'Nessun file caricato !<br /><br />Se veramente hai selezionato un file da caricare, controlla che il server consenta il caricamento!',
-  'err_mkdir' => 'Impossibile creare la cartella %s !',
-  'dest_dir_ro' => 'La cartella di destinazione %s non è scrivibile!',
-  'err_move' => 'Impossibile spostare %s in %s !',
-  'err_fsize_too_large' => 'La dimensione del file caricato è troppo grande (il massimo consentito è %s x %s) !', //obsolete since cpg1.3 - consider removal in cpg1.4 once upload.php has been overhauled
-  'err_imgsize_too_large' => 'La dimensione del file caricato è troppo grande (il massimo consentito è %s Kb) !', //obsolete since cpg1.3 - consider removal in cpg1.4 once upload.php has been overhauled
-  'err_invalid_img' => 'Il file caricato non è un file di immagine valido!',
-  'allowed_img_types' => 'Puoi caricare solo %s immagini.',
-  'err_insert_pic' => 'Il file \'%s\' non può essere inserito nell\'album ',
-  'upload_success' => 'File caricato con successo.<br /><br />Sarà visibile dopo l\'approvazione di un amministratore.',
-  'notify_admin_email_subject' => '%s - Notifica caricamento file',
-  'notify_admin_email_body' => 'Una nuova immagine è stata inserita da %s ed è richiesta la tua approvazione. Visita %s',
-  'info' => 'Informazione',
-  'com_added' => 'Commento inserito',
-  'alb_updated' => 'Album aggiornato',
-  'err_comment_empty' => 'Il tuo commento è vuoto!',
-  'err_invalid_fext' => 'Sono ammesse solo le seguenti estensioni: <br /><br />%s.',
-  'no_flood' => 'Spiacente, ma sei l\'autore dell\'ultimo commento inserito per questo file<br /><br />Modifica il commento precedente',
-  'redirect_msg' => 'Stai per essere reindirizzato.<br /><br /><br />Clicca \'CONTINUA\' se la pagina non si aggiorna automaticamente',
-  'upl_success' => 'File aggiunto con successo',
-  'email_comment_subject' => 'Commento postato su Coppermine Photo Gallery',
-  'email_comment_body' => 'Qualcuno ha inserito un commento nella tua galleria. Vedilo su',
-  'album_not_selected' => 'Album non selezionato', //cpg1.4
-  'com_author_error' => 'Un utente registrato sta usando questo nome utente, esegui il login o usane un altro', //cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File delete.php
-// ------------------------------------------------------------------------- //
-
-if (defined('DELETE_PHP')) $lang_delete_php = array(
-  'caption' => 'Didascalia',
-  'fs_pic' => 'Immagine a grandezza piena',
-  'del_success' => 'cancellato con successo',
-  'ns_pic' => 'Immagine normale',
-  'err_del' => 'non può essere cancellato',
-  'thumb_pic' => 'miniatura',
-  'comment' => 'commento',
-  'im_in_alb' => 'immagine nell\'album',
-  'alb_del_success' => 'Album &laquo;%s&raquo; cancellato', //cpg1.4
-  'alb_mgr' => 'Gestione album',
-  'err_invalid_data' => 'Dati non validi ricevuti in \'%s\'',
-  'create_alb' => 'Creazione album \'%s\'',
-  'update_alb' => 'Aggiornamento album \'%s\' con titolo \'%s\' e indice \'%s\'',
-  'del_pic' => 'Cancella file',
-  'del_alb' => 'Cancella album',
-  'del_user' => 'Cancella utente',
-  'err_unknown_user' => 'L\'utente selezionato non esiste !',
-  'err_empty_groups' => 'Tabella del gruppo inesistente o vuota!', //cpg1.4
-  'comment_deleted' => 'Commento cancellato con successo',
-  'npic' => 'Immagine', //cpg1.4
-  'pic_mgr' => 'Modifica immagine', //cpg1.4
-  'update_pic' => 'Aggiornamento immagine \'%s\' con nome file \'%s\' e indice \'%s\'', //cpg1.4
-  'username' => 'Nome utente', //cpg1.4
-  'anonymized_comments' => '%s commento/i reso/i anonimo/i', //cpg1.4
-  'anonymized_uploads' => '%s file pubblico/i reso/i anonimo/i', //cpg1.4
-  'deleted_comments' => '%s commento/i cancellato/i', //cpg1.4
-  'deleted_uploads' => '%s file pubblico/i cancellato/i', //cpg1.4
-  'user_deleted' => 'utente %s cancellato', //cpg1.4
-  'activate_user' => 'Attiva utente', //cpg1.4
-  'user_already_active' => 'Account già attivo', //cpg1.4
-  'activated' => 'Attivato', //cpg1.4
-  'deactivate_user' => 'Disattiva utente', //cpg1.4
-  'user_already_inactive' => 'Account già disattivato', //cpg1.4
-  'deactivated' => 'Disattivato', //cpg1.4
-  'reset_password' => 'Reimposta password', //cpg1.4
-  'password_reset' => 'Password reimpostata a %s', //cpg1.4
-  'change_group' => 'Cambia gruppo principale', //cpg1.4
-  'change_group_to_group' => 'Cambiamento da %s a %s', //cpg1.4
-  'add_group' => 'Aggiungi gruppo secondario', //cpg1.4
-  'add_group_to_group' => 'Aggiunta dell\'utente %s al gruppo %s. Adesso è membro di %s come gruppo primario e di %s come secondario/i.', //cpg1.4
-  'status' => 'Stato', //cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File displayecard.php
-// ------------------------------------------------------------------------- //
-
-if (defined('DISPLAYECARD_PHP')) {
-
-$lang_displayecard_php = array(
-  'invalid_data' => 'I dati per la cartolina alla quale tenti di accedere sono stati corrotti dal programma di posta. Controlla che il collegamento sia completo.', //cpg1.4
-);
-}
-
-// ------------------------------------------------------------------------- //
-// File displayimage.php
-// ------------------------------------------------------------------------- //
-
-if (defined('DISPLAYIMAGE_PHP')){
-
-$lang_display_image_php = array(
-  'confirm_del' => 'Sicuro di voler CANCELLARE questo file ? \\nAnche i commenti saranno cancellati.', //js-alert
-  'del_pic' => 'CANCELLA FILE',
-  'size' => '%s x %s pixel',
-  'views' => '%s volte',
-  'slideshow' => 'Presentazione',
-  'stop_slideshow' => 'Ferma presentazione',
-  'view_fs' => 'Clicca per ingrandire l\'immagine',
-  'edit_pic' => 'Modifica informazioni file', //cpg1.4
-  'crop_pic' => 'Ritaglia e ruota',
-  'set_player' => 'Cambia riproduttore',
-);
-
-$lang_picinfo = array(
-  'title' =>'Informazioni file',
-  'Filename' => 'Nome file',
-  'Album name' => 'Nome album',
-  'Rating' => 'Valutazione (%s voti)',
-  'Keywords' => 'Parole chiave',
-  'File Size' => 'Dimensione file',
-  'Date Added' => 'Aggiunto il', //cpg1.4
-  'Dimensions' => 'Dimensioni',
-  'Displayed' => 'Visto',
-  'URL' => 'URL', //cpg1.4
-  'Make' => 'Marca', //cpg1.4
-  'Model' => 'Modello', //cpg1.4
-  'DateTime' => 'Ora e data', //cpg1.4
-  'DateTimeOriginal' => 'Ora e data scatto', //cpg1.4
-  'ISOSpeedRatings'=>'ISO', //cpg1.4
-  'MaxApertureValue' => 'Apertura diaframma', //cpg1.4
-  'FocalLength' => 'Lunghezza focale', //cpg1.4
-  'Comment' => 'Commento',
-  'addFav'=>'Aggiungi ai preferiti',
-  'addFavPhrase'=>'Preferiti',
-  'remFav'=>'Rimuovi dai preferiti',
-  'iptcTitle'=>'Titolo IPTC',
-  'iptcCopyright'=>'Copyright IPTC',
-  'iptcKeywords'=>'Parole chiave IPTC',
-  'iptcCategory'=>'Categoria IPTC',
-  'iptcSubCategories'=>'Sottocategoria IPTC',
-  'ColorSpace' => 'Spazio colore', //cpg1.4
-  'ExposureProgram' => 'Programma di esposizione', //cpg1.4
-  'Flash' => 'Flash', //cpg1.4
-  'MeteringMode' => 'Modalità di ripresa', //cpg1.4
-  'ExposureTime' => 'Tempo d\'esposizione', //cpg1.4
-  'ExposureBiasValue' => 'Bias esposizione', //cpg1.4
-  'ImageDescription' => ' Descrizione immagine', //cpg1.4
-  'Orientation' => 'Orientamento', //cpg1.4
-  'xResolution' => 'Risoluzione X', //cpg1.4
-  'yResolution' => 'Risoluzione Y', //cpg1.4
-  'ResolutionUnit' => 'Unità per la risoluzione', //cpg1.4
-  'Software' => 'Programma', //cpg1.4
-  'YCbCrPositioning' => 'Posizionamento YCbCr', //cpg1.4
-  'ExifOffset' => 'Offset Exif', //cpg1.4
-  'IFD1Offset' => 'Offset IFD1', //cpg1.4
-  'FNumber' => 'FNumber', //cpg1.4
-  'ExifVersion' => 'Versione Exif', //cpg1.4
-  'DateTimeOriginal' => 'Ora e data originale', //cpg1.4
-  'DateTimedigitized' => 'Ora e data digitale', //cpg1.4
-  'ComponentsConfiguration' => 'Configurazione componenti', //cpg1.4
-  'CompressedBitsPerPixel' => 'Bits compressi per pixel', //cpg1.4
-  'LightSource' => 'Sorgente luminosa', //cpg1.4
-  'ISOSetting' => 'Impostazioni ISO', //cpg1.4
-  'ColorMode' => 'Modalità colore', //cpg1.4
-  'Quality' => 'Qualità', //cpg1.4
-  'ImageSharpening' => 'Nitidezza immagine', //cpg1.4
-  'FocusMode' => 'Modalità di messa a fuoco', //cpg1.4
-  'FlashSetting' => 'Impostazioni Flash', //cpg1.4
-  'ISOSelection' => 'Selezione ISO', //cpg1.4
-  'ImageAdjustment' => 'Rifinitura immagine', //cpg1.4
-  'Adapter' => 'Adattatore', //cpg1.4
-  'ManualFocusDistance' => 'Distanza di messa a fuoco manuale', //cpg1.4
-  'DigitalZoom' => 'Zoom digitale', //cpg1.4
-  'AFFocusPosition' => 'Posizione AutoFocus', //cpg1.4
-  'Saturation' => 'Saturazione', //cpg1.4
-  'NoiseReduction' => 'Riduzione disturbo', //cpg1.4
-  'FlashPixVersion' => 'Versione FlashPix', //cpg1.4
-  'ExifImageWidth' => 'Larghezza immagine Exif', //cpg1.4
-  'ExifImageHeight' => 'Altezza immagine Exif', //cpg1.4
-  'ExifInteroperabilityOffset' => 'Interoperabilità Offset Exif', //cpg1.4
-  'FileSource' => 'Sorgente file', //cpg1.4
-  'SceneType' => 'Tipo di soggetto', //cpg1.4
-  'CustomerRender' => 'Customer Render', //cpg1.4
-  'ExposureMode' => 'Modalità di esposizione', //cpg1.4
-  'WhiteBalance' => 'Bilanciamento del bianco', //cpg1.4
-  'DigitalZoomRatio' => 'Rapporto zoom digitale', //cpg1.4
-  'SceneCaptureMode' => 'Modalità di cattura scena', //cpg1.4
-  'GainControl' => 'Controllo guadagno', //cpg1.4
-  'Contrast' => 'Contrasto', //cpg1.4
-  'Saturation' => 'Saturazione', //cpg1.4
-  'Sharpness' => 'Nitidezza', //cpg1.4
-  'ManageExifDisplay' => 'Gestione visualizzazione Exif', //cpg1.4
-  'submit' => 'Invia', //cpg1.4
-  'success' => 'Informazioni aggiornate con successo.', //cpg1.4
-  'details' => 'Dettagli', //cpg1.4
-);
-
-$lang_display_comments = array(
-  'OK' => 'OK',
-  'edit_title' => 'Modifica questo commento',
-  'confirm_delete' => 'Sicuro di voler cancellare questo commento?', //js-alert
-  'add_your_comment' => 'Aggiungi il tuo commento',
-  'name'=>'Nome',
-  'comment'=>'Commento',
-  'your_name' => 'Anonimo',
-  'report_comment_title' => 'Segnala questo commento all\'amministratore', //cpg1.4
-);
-
-$lang_fullsize_popup = array(
-  'click_to_close' => 'Clicca sull\'immagine per chiudere questa finestra',
-);
-
-}
-
-// ------------------------------------------------------------------------- //
-// File ecard.php
-// ------------------------------------------------------------------------- //
-
-if (defined('ECARDS_PHP') || defined('DISPLAYECARD_PHP')) $lang_ecard_php =array(
-  'title' => 'Invia una cartolina',
-  'invalid_email' => '<font color="red"><b>Attenzione</b></font>: indirizzo email non valido:', //cpg1.4
-  'ecard_title' => 'Una cartolina da %s per te',
-  'error_not_image' => 'Solo le immagini possono essere inviate come cartoline.',
-  'view_ecard' => 'Collegamento alternativo se la cartolina non viene visualizzata correttamente', //cpg1.4
-  'view_ecard_plaintext' => 'Per vedere la cartolina, copia e incolla questo url nella barra degli indirizzi del tuo navigatore:', //cpg1.4
-  'view_more_pics' => 'Visualizza altre immagini', //cpg1.4
-  'send_success' => 'La cartolina è stata inviata',
-  'send_failed' => 'Spiacente, ma il server non può inviare la cartolina.',
-  'from' => 'Da',
-  'your_name' => 'Il tuo nome',
-  'your_email' => 'Il tuo indirizzo email',
-  'to' => 'A',
-  'rcpt_name' => 'Nome del destinatario',
-  'rcpt_email' => 'Indirizzo email del destinatario',
-  'greetings' => 'Oggetto', //cpg1.4
-  'message' => 'Messaggio', //cpg1.4
-  'ecards_footer' => 'Inviato da %s da IP %s alle %s (ora della Galleria)', //cpg1.4
-  'preview' => 'Anteprima cartolina', //cpg1.4
-  'preview_button' => 'Anteprima', //cpg1.4
-  'submit_button' => 'Invia cartolina', //cpg1.4
-  'preview_view_ecard' => 'Collegamento alternativo alla cartolina una volta generata. Non funzionerà per le anteprime.', //cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File report_file.php //cpg1.4
-// ------------------------------------------------------------------------- //
-
-if (defined('REPORT_FILE_PHP') || defined('DISPLAYREPORT_PHP')) $lang_report_php =array(
-  'title' => 'Segnala all\'amministratore', //cpg1.4
-  'invalid_email' => '<b>Attenzione</b> : indirizzo email non valido !', //cpg1.4
-  'report_subject' => 'Segnalazione da %s nella galleria %s', //cpg1.4
-  'view_report' => 'Collegamento alternativo se la segnalazione non viene visualizzata correttamente', //cpg1.4
-  'view_report_plaintext' => 'Per vedere la segnalazione, copia e incolla questo url nella barra degli indirizzi del tuo navigatore:', //cpg1.4
-  'view_more_pics' => 'Galleria', //cpg1.4
-  'send_success' => 'Segnalazione inviata', //cpg1.4
-  'send_failed' => 'Spiacente ma il server non può inviare la tua segnalazione...', //cpg1.4
-  'from' => 'Da', //cpg1.4
-  'your_name' => 'Il tuo nome', //cpg1.4
-  'your_email' => 'Il tuo indirizzo email', //cpg1.4
-  'to' => 'A', //cpg1.4
-  'administrator' => 'Amministratore/Moderatore', //cpg1.4
-  'subject' => 'Oggetto', //cpg1.4
-  'comment_field_name' => 'Segnalazione messaggio di "%s"', //cpg1.4
-  'reason' => 'Motivo', //cpg1.4
-  'message' => 'Messaggio', //cpg1.4
-  'report_footer' => 'Inviato da %s da IP %s alle %s (ora della Galleria)', //cpg1.4
-  'obscene' => 'osceno', //cpg1.4
-  'offensive' => 'offensivo', //cpg1.4
-  'misplaced' => 'fuori tema', //cpg1.4
-  'missing' => 'mancante', //cpg1.4
-  'issue' => 'errore/impossibile visualizzare', //cpg1.4
-  'other' => 'altro', //cpg1.4
-  'refers_to' => 'La segnalazione file si riferisce a', //cpg1.4
-  'reasons_list_heading' => 'Motivo della segnalazione:', //cpg1.4
-  'no_reason_given' => 'Nessun motivo indicato', //cpg1.4
-  'go_comment' => 'Vai al commento', //cpg1.4
-  'view_comment' => 'Visualizza segnalazione completa con commento', //cpg1.4
-  'type_file' => 'file', //cpg1.4
-  'type_comment' => 'commento', //cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File editpics.php
-// ------------------------------------------------------------------------- //
-
-if (defined('EDITPICS_PHP')) $lang_editpics_php = array(
-  'pic_info' => 'Informazioni sul file',
-  'album' => 'Album',
-  'title' => 'Titolo',
-  'filename' => 'Nome file', //cpg1.4
-  'desc' => 'Descrizione',
-  'keywords' => 'Parole chiave',
-  'new_keyword' => 'Nuove parole chiave', //cpg1.4
-  'new_keywords' => 'Nuove parole chiave trovate', //cpg1.4
-  'existing_keyword' => 'Parole chiave esistenti', //cpg1.4
-  'pic_info_str' => '%s &times; %s - %s KB - %s visite - %s voti',
-  'approve' => 'Approva file',
-  'postpone_app' => 'Posticipa approvazione',
-  'del_pic' => 'Cancella file',
-  'del_all' => 'Cancella TUTTI i file', //cpg1.4
-  'read_exif' => 'Rileggi informazioni EXIF',
-  'reset_view_count' => 'Azzera contatore visite',
-  'reset_all_view_count' => 'Azzera TUTTI i contatori visite', //cpg1.4
-  'reset_votes' => 'Azzera voti',
-  'reset_all_votes' => 'Azzera TUTTI i voti', //cpg1.4
-  'del_comm' => 'Cancella commenti',
-  'del_all_comm' => 'Cancella TUTTI i commenti', //cpg1.4
-  'upl_approval' => 'Approvazione caricamento', //cpg1.4
-  'edit_pics' => 'Modifica file',
-  'see_next' => 'Visualizza file successivi',
-  'see_prev' => 'Visualizza file precedenti',
-  'n_pic' => '%s file',
-  'n_of_pic_to_disp' => 'Numero di file da visualizzare',
-  'apply' => 'Applica modifiche',
-  'crop_title' => 'Utilità di fotoritocco Coppermine',
-  'preview' => 'Anteprima',
-  'save' => 'Salva immagine',
-  'save_thumb' =>'Salva come miniatura',
-  'gallery_icon' => 'Imposta come icona personale', //cpg1.4
-  'sel_on_img' =>'la selezione deve trovarsi interamente sull\'immagine!', //js-alert
-  'album_properties' =>'Proprietà album', //cpg1.4
-  'parent_category' =>'Categoria radice', //cpg1.4
-  'thumbnail_view' =>'Vista miniature', //cpg1.4
-  'select_unselect' =>'Seleziona/Deseleziona tutti', //cpg1.4
-  'file_exists' => "Il file di destinazione '%s' esiste già.", //cpg1.4
-  'rename_failed' => "Impossibile rinominare '%s' in '%s'.", //cpg1.4
-  'src_file_missing' => "File sorgente '%s' mancante.", // cpg 1.4
-  'mime_conv' => "Impossibile convertire il file '%s' in '%s'",//cpg1.4
-  'forb_ext' => 'Estensione file non consentita.',//cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File faq.php
-// ------------------------------------------------------------------------- //
-
-if (defined('FAQ_PHP')) $lang_faq_php = array(
-  'faq' => 'Risposte a domande frequenti',
-  'toc' => 'Indice dei contenuti',
-  'question' => 'Domanda: ',
-  'answer' => 'Risposta: ',
-);
-
-if (defined('FAQ_PHP')) $lang_faq_data = array(
-  'FAQ Generiche',
-  array('Perchè mi devo registrare?', 'La registrazione potrebbe anche non essere richiesta dall\'amministratore. Fornisce ad un utente funzionalità aggiuntive quali la possibilità di caricare file, tenere una lista di file preferiti, valutare le immagini e inserire commenti, ecc.', 'allow_user_registration', '1'),
-  array('Come posso registrarmi?', 'Clicca su &quot;Registrazione&quot; e compila tutti i campi richiesti (e quelli opzionali se vuoi).<br />Se l\'amministratore ha abilitato la notifica via email, allora dopo aver inviato la registrazione dovresti ricevere un messaggio email all\'indirizzo da te indicato, con le istruzioni su come attivare l\'account. L\'account deve essere attivato per poter effettuare il login.', 'allow_user_registration', '1'), //cpg1.4
-  array('Come eseguo il login?', 'Clicca su &quot;Login&quot;, inserisci username e password e seleziona &quot;Ricordami&quot; per essere riconosciuto dal sito in seguito.<br />IMPORTANTE: Per poter usare la funzione &quot;Ricordami&quot;, i cookie devono essere abilitati e il cookie di questo sito non deve essere cancellato.', 'offline', 0),
-  array('Perchè non posso effettuare il login?', 'Ti sei registrato e hai cliccato sul collegamento ricevuto via email? Il tuo account dovrebbe essere attivo. Per altri problemi di login contattare l\'amministratore.', 'offline', 0),
-  array('Cosa fare se dimentico la password?', 'Puoi cliccare su &quot;Password dimenticata&quot;, se il collegamento è presente nel sito. Altrimenti contatta l\'amministratore per una nuova password.', 'offline', 0),
-  //array('Cosa fare nel caso io abbia cambiato indirizzo email?', 'Esegui il login e modifica il tuo indirizzo email cliccando sul collegamento &quot;Profilo&quot;', 'offline', 0),
-  array('Come salvo le immagini nei &quot;Preferiti&quot;?', 'Clicca su un\'immagine e poi sull\'icona &quot;Informazioni sul file&quot; (<img src="images/info.gif" width="16" height="16" border="0" alt="Info immagine" />); scorri verso il basso le informazioni sull\'immagine e clicca su &quot;Aggiungi ai preferiti&quot;. L\'amministratore potrebbe aver attivato le &quot;Informazioni sul file&quot; in modo predefinito.<br />IMPORTANTE: I cookie devono essere abilitati e il cookie di questo sito non deve essere cancellato.', 'offline', 0),
-  array('Come valuto un file?', 'Clicca sulla miniatura, vai in fondo e scegli una valutazione.', 'offline', 0),
-  array('Come inserisco un commento per un\'immagine?', 'Clicca su una miniatura, vai in fondo e posta un commento.', 'offline', 0),
-  array('Come aggiungo un file?', 'Clicca su &quot;Carica file&quot; e seleziona l\'album nel quale vuoi caricare il file. Clicca su &quot;Sfoglia&quot;, trova il file da caricare sul tuo PC e clicca su &quot;Apri.&quot; Se vuoi, aggiungi un titolo e una descrizione, infine clicca su &quot;Invia&quot;.<br />In alternativa, se usi <b>Windows XP</b>, puoi caricare più file contemporaneamente direttamente dai tuoi album privati mediante l\'applicazione &quot;Pubblicazione web guidata&quot;.<br />Per istruzioni su come farlo, e dove trovare il file di registro corretto, clicca <a href="xp_publish.php">qui.</a>', 'allow_private_albums', 1), //cpg1.4
-  array('Dove carico le immagini?', 'Potrai caricare un file in uno dei tuoi album nella &quot;Galleria Personale&quot;. L\'amministratore potrebbe anche consentirti di caricare un file in uno o più album della galleria principale.', 'allow_private_albums', 0),
-  array('Di che formato e di che dimensione possono essere i file caricati?', 'Le dimensioni ed il formato (jpg, png, etc.) sono a discrezione dell\'amministratore.', 'offline', 0),
-  array('Come posso creare, rinominare o cancellare un album nella &quot;Galleria Personale&quot;?', 'Dovresti già essere in &quot;Modalità amministratore&quot;<br />Clicca su &quot;Crea/Organizza album&quot; e clicca su &quot;Nuovo&quot;. Cambia &quot;Nuovo album&quot; nel nome che desideri.<br />Puoi anche rinominare qualsiasi album nella tua galleria.<br />Alla fine, clicca su &quot;Applica modifiche&quot;.', 'allow_private_albums', 0),
-  array('Come posso impedire agli utenti di visualizzare i miei album?', 'Dovresti già essere in &quot;Modalità amministratore&quot;<br />Clicca su &quot;Modifica album&quot; e, nella barra &quot;Aggiorna album&quot;, seleziona l\'album che intendi modificare.<br />Lì potrai cambiare nome, descrizione, miniatura, impedire la visualizzazione e i commenti.<br />Alla fine, clicca &quot;Aggiorna album&quot;.', 'allow_private_albums', 0),
-  array('Come visualizzo le gallerie degli altri utenti?', 'Clicca su &quot;Lista album&quot; e seleziona &quot;Gallerie utenti&quot;.', 'allow_private_albums', 0),
-  array('Cosa sono i cookie?', 'I cookie sono file di puro testo contenenti i dati inviati da un sito web al tuo computer.<br />Di solito consentono di lasciare il sito e di tornarci senza dover nuovamente eseguire il login, ed altre facilitazioni.', 'offline', 0),
-  array('Dove posso trovare questa piattaforma per il mio sito?', 'Coppermine è una galleria multimediale assolutamente libera, rilasciata sotto le licenze GNU GPL. &Egrave; ricca di funzioni e portabile su varie piattaforme. Visita la <a href="http://coppermine-gallery.net/">home page di Coppermine</a> per saperne di più o per scaricarla.', 'offline', 0),
-
-  'Navigazione del sito',
-  array('Che cos\'è la &quot;Lista album&quot;?', 'Mostra l\'intera categoria nella quale ti trovi, con un collegamento ad ogni album. Se non sei in una categoria, ti mostrerà l\'intera galleria con un collegamento ad ogni categoria. Le miniature possono essere un collegamento alle categorie.', 'offline', 0),
-  array('Che cos\'è la &quot;Galleria personale&quot;?', 'Questa funzione consente agli iscritti di creare le proprie gallerie e di creare, cancellare o modificare gli album, nonchè di caricare file negli stessi.', 'allow_private_albums', 1), //cpg1.4
-  array('Qual è la differenza tra &quot;Modalità amministratore&quot; e &quot;Modalità utente&quot;?', 'La modalità amministratore consente ad un utente di modificare le proprie gallerie (e anche quelle degli altri, se autorizzato).', 'allow_private_albums', 0),
-  array('Che cos\'è &quot;Carica file&quot;?', 'Questa funzione consente agli utenti di caricare un file (dimensioni e tipo sono fissati dall\'amministratore) in una galleria selezionata o da te o dallo stesso amministratore.', 'allow_private_albums', 0),
-  array('Che cos\'è &quot;Ultimi arrivi&quot;?', 'Questa funzione mostra gli ultimi file caricati sul sito.', 'offline', 0),
-  array('Che cos\'è &quot;Ultimi commenti&quot;?', 'Questa funzione mostra gli ultimi commenti assegnati ai file inseriti dagli utenti.', 'offline', 0),
-  array('Che cos\'è &quot;Più visti&quot;?', 'Questa funzione mostra i file maggiormente visualizzati dagli utenti (registrati o meno).', 'offline', 0),
-  array('Che cos\'è &quot;Più votati&quot;?', 'Questa funzione mostra i file maggiormente votati dagli utenti, mostrando anche la valutazione media (es. cinque utenti danno ciascuno <img src="images/rating3.gif" width="65" height="14" border="0" alt="" />: il file avrà una valutazione media di <img src="images/rating3.gif" width="65" height="14" border="0" alt="" />; cinque utenti che valutano il file da 1 a 5 (1,2,3,4,5) risulteranno in una media di <img src="images/rating3.gif" width="65" height="14" border="0" alt="" /> .)<br />Le valutazioni vanno da <img src="images/rating5.gif" width="65" height="14" border="0" alt="migliore" /> (migliore) a <img src="images/rating0.gif" width="65" height="14" border="0" alt="peggiore" /> (peggiore).', 'offline', 0),
-  array('Che cos\'è &quot;Preferiti&quot;?', 'Questa funzione consente agli utenti di memorizzare i propri file preferiti in un cookie inviato al proprio computer, e richiamato all\'occorrenza.', 'offline', 0),
-);
-
-
-// ------------------------------------------------------------------------- //
-// File forgot_passwd.php
-// ------------------------------------------------------------------------- //
-
-if (defined('FORGOT_PASSWD_PHP')) $lang_forgot_passwd_php = array(
-  'forgot_passwd' => 'Ricorda password',
-  'err_already_logged_in' => 'Hai già eseguito il login!',
-  'enter_email' => 'Inserisci il tuo indirizzo email', //cpg1.4
-  'submit' => 'Invia',
-  'illegal_session' => 'Sessione recupero password non valida o scaduta.', //cpg1.4
-  'failed_sending_email' => 'La password non può essere spedita !',
-  'email_sent' => 'Una email con il tuo nome utente e la password è stata spedita a %s', //cpg1.4
-  'verify_email_sent' => 'Impossibile inviare email a %s. Controlla il tuo indirizzo email per completare la procedura.', //cpg1.4
-  'err_unk_user' => 'L\'utente selezionato non esiste!',
-  'account_verify_subject' => '%s - Richiesta nuova password', //cpg1.4
-  'account_verify_body' => 'Hai richiesto una nuova password. Se sei intenzionato a procedere e ricevere una nuova password, clicca sul seguente collegamento:
-  %s', //cpg1.4
-  'passwd_reset_subject' => '%s - la tua nuova password', //cpg1.4
-  'passwd_reset_body' => 'Di seguito la nuova password richiesta:
-Utente: %s
-Password: %s
-Clicca %s per eseguire il login.', //cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File groupmgr.php
-// ------------------------------------------------------------------------- //
-
-if (defined('GROUPMGR_PHP')) $lang_groupmgr_php = array(
-  'group_name' => 'Gruppo', //cpg1.4
-  'permissions' => 'Permessi', //cpg1.4
-  'public_albums' => 'Caricamento negli album pubblici', //cpg1.4
-  'personal_gallery' => 'Galleria personale', //cpg1.4
-  'upload_method' => 'Modalità di caricamento', //cpg1.4
-  'disk_quota' => 'Quota disco', //cpg1.4
-  'rating' => 'Valutazione', //cpg1.4
-  'ecards' => 'Cartoline', //cpg1.4
-  'comments' => 'Commenti', //cpg1.4
-  'allowed' => 'Consentito', //cpg1.4
-  'approval' => 'Richiedi approvazione', //cpg1.4
-  'boxes_number' => 'N. di campi', //cpg1.4
-  'variable' => 'variabile', //cpg1.4
-  'fixed' => 'fisso', //cpg1.4
-  'apply' => 'Salva modifiche',
-  'create_new_group' => 'Crea nuovo gruppo',
-  'del_groups' => 'Cancella gruppo/i selezionato/i',
-  'confirm_del' => 'Attenzione: quando cancelli un gruppo, gli utenti appartenenti a tale gruppo saranno trasferiti al gruppo utenti Registrati!\n\nDesideri continuare?', //js-alert
-  'title' => 'Gestione gruppi',
-  'num_file_upload' => 'Campi per il caricamento di file', //cpg1.4
-  'num_URI_upload' => 'Campi per il caricamento di URL', //cpg1.4
-  'reset_to_default' => 'Imposta nome predefinito (%s) - consigliato!', //cpg1.4
-  'error_group_empty' => 'La tabella gruppi era vuota !<br /><br />Gruppi predefiniti creati, ricarica questa pagina', //cpg1.4
-  'explain_greyed_out_title' => 'Perchè questa riga non è visibile?', //cpg1.4
-  'explain_guests_greyed_out_text' => 'Non puoi cambiare le proprietà di questo gruppo, perchè hai impostato a &quot;No&quot; l\'opzione &quot;Consenti accesso senza il login (ospiti o anonimi)&quot; nella pagina di configurazione. Tutti gli ospiti (membri del gruppo %s) non possono fare altro che eseguire il login, quindi le impostazioni dei gruppi non valgono per loro.', //cpg1.4
-  'explain_banned_greyed_out_text' => 'Non puoi cambiare le impostazioni del gruppo %s perchè i membri che ne fanno parte non hanno alcun permesso.', //cpg1.4
-  'group_assigned_album' => 'Album consentito/i', //cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File index.php
-// ------------------------------------------------------------------------- //
-
-if (defined('INDEX_PHP')){
-
-$lang_index_php = array(
-  'welcome' => 'Benvenuto!',
-);
-
-$lang_album_admin_menu = array(
-  'confirm_delete' => 'Sei sicuro di voler cancellare questo album? \\nTutti i file e i commenti verranno cancellati.', //js-alert
-  'delete' => 'CANCELLA',
-  'modify' => 'PROPRIETÀ',
-  'edit_pics' => 'MODIFICA FILE',
-);
-
-$lang_list_categories = array(
-  'home' => 'Home page',
-  'stat1' => '<b>[pictures]</b> file in <b>[albums]</b> album e <b>[cat]</b> categorie con <b>[comments]</b> commenti, visti <b>[views]</b> volte',
-  'stat2' => '<b>[pictures]</b> file in <b>[albums]</b> album visti <b>[views]</b> volte',
-  'xx_s_gallery' => 'Galleria di %s',
-  'stat3' => '<b>[pictures]</b> file in <b>[albums]</b> album con <b>[comments]</b> commenti, visti <b>[views]</b> volte',
-);
-
-$lang_list_users = array(
-  'user_list' => 'Lista iscritti',
-  'no_user_gal' => 'Non ci sono gallerie utenti',
-  'n_albums' => '%s album',
-  'n_pics' => '%s file',
-);
-
-$lang_list_albums = array(
-  'n_pictures' => '%s file',
-  'last_added' => ', ultimo inserito il %s',
-  'n_link_pictures' => '%s file collegati', //cpg1.4
-  'total_pictures' => '%s file totali', //cpg1.4
-);
-
-}
-
-// ------------------------------------------------------------------------- //
-// File keywordmgr.php //cpg1.4
-// ------------------------------------------------------------------------- //
-
-if (defined('KEYWORDMGR_PHP')) $lang_keywordmgr_php = array(
-  'title' => 'Gestione parole chiave', //cpg1.4
-  'edit' => 'Modifica', //cpg1.4
-  'delete' => 'Cancella', //cpg1.4
-  'search' => 'Ricerca', //cpg1.4
-  'keyword_test_search' => 'Cerca %s in una nuova finestra', //cpg1.4
-  'keyword_del' => 'Cancella la parola chiave %s', //cpg1.4
-  'confirm_delete' => 'Sei sicuro di voler cancellare la parola chiave %s dalla galleria?', //cpg1.4  // js-alert
-  'change_keyword' => 'Cambia parola chiave', //cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File login.php
-// ------------------------------------------------------------------------- //
-
-if (defined('LOGIN_PHP')) $lang_login_php = array(
-  'login' => 'Login',
-  'enter_login_pswd' => 'Inserisci nome utente e password per connetterti',
-  'username' => 'Utente',
-  'password' => 'Password',
-  'remember_me' => 'Ricordami',
-  'welcome' => 'Benvenuto %s ...',
-  'err_login' => '*** Impossibile eseguire il login. Riprova ***',
-  'err_already_logged_in' => 'Hai già eseguito il login!',
-  'forgot_password_link' => 'Password dimenticata',
-  'cookie_warning' => 'Attenzione, il tuo navigatore non accetta i cookie', //cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File logout.php
-// ------------------------------------------------------------------------- //
-
-if (defined('LOGOUT_PHP')) $lang_logout_php = array(
-  'logout' => 'Logout',
-  'bye' => 'Arrivederci %s ...',
-  'err_not_loged_in' => 'Non hai eseguito il login!',
-);
-
-// ------------------------------------------------------------------------- //
-// File minibrowser.php  //cpg1.4
-// ------------------------------------------------------------------------- //
-
-if (defined('MINIBROWSER_PHP')) $lang_minibrowser_php = array(
-  'close' => 'Chiudi', //cpg1.4
-  'submit' => 'OK', //cpg1.4
-  'up' => 'Su di un livello', //cpg1.4
-  'current_path' => 'Percorso corrente', //cpg1.4
-  'select_directory' => 'Seleziona una cartella', //cpg1.4
-  'click_to_close' => 'Clicca sull\'immagine per chiudere la finestra',
-);
-
-// ------------------------------------------------------------------------- //
-// File modifyalb.php
-// ------------------------------------------------------------------------- //
-
-if (defined('MODIFYALB_PHP')) $lang_modifyalb_php = array(
-  'upd_alb_n' => 'Aggiorna album %s',
-  'general_settings' => 'Impostazioni generali',
-  'alb_title' => 'Titolo album',
-  'alb_cat' => 'Categoria album',
-  'alb_desc' => 'Descrizione album',
-  'alb_keyword' => 'Parola chiave per l\'album', //cpg1.4
-  'alb_thumb' => 'Miniatura album',
-  'alb_perm' => 'Permessi album',
-  'can_view' => 'L\'album può essere visto da',
-  'can_upload' => 'Gli utenti possono aggiungere file',
-  'can_post_comments' => 'Gli utenti possono aggiungere commenti',
-  'can_rate' => 'Gli utenti possono votare',
-  'user_gal' => 'Galleria utente',
-  'no_cat' => '* Nessuna categoria *',
-  'alb_empty' => 'Album vuoto',
-  'last_uploaded' => 'Ultimo arrivo',
-  'public_alb' => 'Tutti (album pubblico)',
-  'me_only' => 'Solo io',
-  'owner_only' => 'Solo per il proprietario (%s)',
-  'groupp_only' => 'Membri del gruppo %s',
-  'err_no_alb_to_modify' => 'Non puoi modificare nessun album nel database.',
-  'update' => 'Aggiorna album',
-  'reset_album' => 'Reimposta album', //cpg1.4
-  'reset_views' => 'Azzera contatore visite in %s', //cpg1.4
-  'reset_rating' => 'Azzera voti per tutti i file in %s', //cpg1.4
-  'delete_comments' => 'Cancella tutti i commenti inseriti in %s', //cpg1.4
-  'delete_files' => 'Cancella %sirreversibilmente%s tutti i file in %s', //cpg1.4
-  'views' => 'visite', //cpg1.4
-  'votes' => 'voti', //cpg1.4
-  'comments' => 'commenti', //cpg1.4
-  'files' => 'file', //cpg1.4
-  'submit_reset' => 'Applica modifiche', //cpg1.4
-  'reset_views_confirm' => 'Sono sicuro', //cpg1.4
-  'notice1' => '(*) dipende dalle impostazioni dei %sGruppi%s',  //cpg1.4 //(do not translate %s!)
-  'alb_password' => 'Password per l\'album', //cpg1.4
-  'alb_password_hint' => 'Suggerimento per la password', //cpg1.4
-  'edit_files' =>'Modifica file', //cpg1.4
-  'parent_category' =>'Categoria radice', //cpg1.4
-  'thumbnail_view' =>'Vista miniature', //cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File phpinfo.php
-// ------------------------------------------------------------------------- //
-
-if (defined('PHPINFO_PHP')) $lang_phpinfo_php = array(
-  'php_info' => 'Informazioni PHP',
-  'explanation' => 'Sono le informazioni generate dalla funzione PHP<a href="http://www.php.net/phpinfo">phpinfo()</a>, mostrate all\'interno di Coppermine.',
-  'no_link' => 'Permettere a tutti di visualizzare le informazioni PHP potrebbe creare un problema di sicurezza, questo è il motivo per cui questa pagina è visibile solo quando esegui il login da amministratore. Non puoi inviare collegamenti a questa pagina ad altri: gli verrebbe negato l\'accesso.',
-);
-
-// ------------------------------------------------------------------------- //
-// File picmgr.php //cpg1.4
-// ------------------------------------------------------------------------- //
-if (defined('PICMGR_PHP')) $lang_picmgr_php = array(
-  'pic_mgr' => 'Gestione immagini', //cpg1.4
-  'select_album' => 'Seleziona album', //cpg1.4
-  'delete' => 'Cancella', //cpg1.4
-  'confirm_delete1' => 'Sei sicuro di voler cancellare questa immagine?', //cpg1.4
-  'confirm_delete2' => '\nL\'immagine verrà cancellata definitivamente.', //cpg1.4
-  'apply_modifs' => 'Salva modifiche', //cpg1.4
-  'confirm_modifs' => 'Conferma modifiche', //cpg1.4
-  'pic_need_name' => 'Le immagini devono avere un nome!', //cpg1.4
-  'no_change' => 'Nessuna modifica effettuata!', //cpg1.4
-  'no_album' => '* Nessun album *', //cpg1.4
-  'explanation_header' => 'L\'ordinamento personalizzato che puoi scegliere in questa pagina sarà memorizzato per il tuo account solo se', //cpg1.4
-  'explanation1' => 'l\'amministratore ha impostato nella configurazione come "Ordinamento predefinito per i file" la "Posizione discendente" o la "Posizione ascendente" (impostazione globale per tutti gli utenti che non hanno scelto altre opzioni individualmente)', //cpg1.4
-  'explanation2' => 'l\'utente ha scelto "Posizione discendente" o "Posizione ascendente" nella pagina delle miniature (impostazione per ogni singolo utente)', //cpg1.4
-);
-
-
-// ------------------------------------------------------------------------- //
-// File pluginmgr.php //cpg1.4
-// ------------------------------------------------------------------------- //
-
-if (defined('PLUGINMGR_PHP')){
-
-$lang_pluginmgr_php = array(
-  'confirm_uninstall' => 'Sei sicuro di voler DISINSTALLARE questo plugin ?', //cpg1.4
-  'confirm_delete' => 'Sei sicuro di voler CANCELLARE questo plugin ?', //cpg1.4
-  'pmgr' => 'Gestione plugin', //cpg1.4
-  'name' => 'Nome', //cpg1.4
-  'author' => 'Autore', //cpg1.4
-  'desc' => 'Descrizione', //cpg1.4
-  'vers' => 'Versione', //cpg1.4
-  'i_plugins' => 'Plugin installati', //cpg1.4
-  'n_plugins' => 'Plugin non installati', //cpg1.4
-  'none_installed' => 'Nessun plugin installato', //cpg1.4
-  'operation' => 'Operazione', //cpg1.4
-  'not_plugin_package' => 'Il file caricato non è un pacchetto plugin valido.', //cpg1.4
-  'copy_error' => 'Si è verificato un errore copiando il pacchetto nella cartella plugins.', //cpg1.4
-  'upload' => 'Carica', //cpg1.4
-  'configure_plugin' => 'Configura plugin', //cpg1.4
-  'cleanup_plugin' => 'Reimposta plugin', //cpg1.4
-);
-}
-
-// ------------------------------------------------------------------------- //
-// File ratepic.php
-// ------------------------------------------------------------------------- //
-
-if (defined('RATEPIC_PHP')) $lang_rate_pic_php = array(
-  'already_rated' => 'Spiacente, hai già votato questo file!',
-  'rate_ok' => 'Il tuo voto è stato accettato',
-  'forbidden' => 'Non puoi votare i tuoi stessi file!',
-);
-
-// ------------------------------------------------------------------------- //
-// File register.php & profile.php
-// ------------------------------------------------------------------------- //
-
-if (defined('REGISTER_PHP') || defined('PROFILE_PHP')) {
-
-$lang_register_disclamer = <<<EOT
-Gli amministratori di {SITE_NAME} cercheranno in ogni modo di rimuovere o modificare ogni contenuto ritenuto non consono nel minor tempo possibile, ma è impossibile controllare ogni inserimento. Deve essere chiaro che tutti i testi inseriti in questo sito esprimono il punto di vista e le opinioni di chi li ha inseriti e non degli amministratori o del webmaster (eccetto che per i testi inseriti da loro stessi), quindi non ne possono essere ritenuti responsabili.
-<br />
-<br />
-Acconsenti a non postare nulla di abusivo, osceno, volgare, pornografico o ogni altro materiale che potrebbe violare qualsivoglia legge. Acconsenti a che il webmaster, gli amministratori e i moderatori di {SITE_NAME} possano rimuovere o modificare ogni contenuto in qualsiasi momento gli paia opportuno. Come utente accetti il fatto che ogni informazione inserita venga salvata in un database. Nessuna di queste informazioni verrà fornita a terzi senza il tuo consenso e gli amministratori non potranno essere considerati responsabili per tentativi di attacco al sistema che provochino perdite di dati.
-<br />
-<br />
-Questo sito utilizza i cookie per salvare informazioni sul tuo computer. I cookie servono solo per migliorare la navigazione. Il tuo indirizzo email viene utilizzato solo per la conferma della registrazione e per la password.
-<br />
-<br />
-Cliccando 'Accetto' di seguito accetti tutte le condizioni.
-EOT;
-
-$lang_register_php = array(
-  'page_title' => 'Registrazione utente',
-  'term_cond' => 'Termini e condizioni',
-  'i_agree' => 'Accetto',
-  'submit' => 'Inoltra registrazione',
-  'err_user_exists' => 'Il nome utente inserito è già utilizzato da un altro utente, scegline uno diverso',
-  'err_password_mismatch' => 'Le due password non coincidono, inseriscile nuovamente',
-  'err_uname_short' => 'Il nome utente deve contenere almeno 2 caratteri',
-  'err_password_short' => 'La password deve essere almeno di 2 caratteri',
-  'err_uname_pass_diff' => 'Nome utente e password devono essere diversi',
-  'err_invalid_email' => 'Indirizzo email non valido',
-  'err_duplicate_email' => 'Un altro utente si è già registrato con l\'indirizzo email da te inserito',
-  'enter_info' => 'Inserisci le informazioni di registrazione',
-  'required_info' => 'Informazioni richieste',
-  'optional_info' => 'Informazioni facoltative',
-  'username' => 'Nome utente',
-  'password' => 'Password',
-  'password_again' => 'Ripeti password',
-  'email' => 'Email',
-  'location' => 'Provenienza',
-  'interests' => 'Interessi',
-  'website' => 'Sito web',
-  'occupation' => 'Occupazione',
-  'error' => 'ERRORE',
-  'confirm_email_subject' => '%s - Conferma di registrazione',
-  'information' => 'Informazione',
-  'failed_sending_email' => 'Impossibile inviare l\'email di conferma!',
-  'thank_you' => 'Grazie per esserti registrato.<br /><br />Una email con le istruzioni su come attivare il tuo account è stata inviata all\'indirizzo email da te fornito.',
-  'acct_created' => 'Il tuo account è stato creato, ed ora puoi effettuare il login',
-  'acct_active' => 'Il tuo account è attivo, ed ora puoi effettuare il login',
-  'acct_already_act' => 'Account già attivo!', //cpg1.4
-  'acct_act_failed' => 'Impossibile attivare questo account!',
-  'err_unk_user' => 'Utente selezionato inesistente!',
-  'x_s_profile' => 'Profilo di %s',
-  'group' => 'Gruppo',
-  'reg_date' => 'Data di iscrizione',
-  'disk_usage' => 'Utilizzo disco',
-  'change_pass' => 'Cambia password',
-  'current_pass' => 'Password attuale',
-  'new_pass' => 'Nuova password',
-  'new_pass_again' => 'Ripeti nuova password',
-  'err_curr_pass' => 'La password attuale è sbagliata',
-  'apply_modif' => 'Salva modifiche',
-  'change_pass' => 'Cambia la password',
-  'update_success' => 'Profilo aggiornato',
-  'pass_chg_success' => 'Password cambiata',
-  'pass_chg_error' => 'Password non cambiata',
-  'notify_admin_email_subject' => '%s - Notifica registrazione',
-  'last_uploads' => 'Ultimo file inserito.<br />Clicca per vedere tutti i file inseriti da', //cpg1.4
-  'last_comments' => 'Ultimo commento.<br />Clicca per vedere tutti i commenti inseriti da', //cpg1.4
-  'notify_admin_email_body' => 'Un nuovo utente con nome utente "%s" si è appena registrato nella tua Galleria',
-  'pic_count' => 'File caricati', //cpg1.4
-  'notify_admin_request_email_subject' => '%s - Richiesta registrazione', //cpg1.4
-  'thank_you_admin_activation' => 'Grazie.<br /><br />La tua richiesta di attivazione è stata inviata all\'amministratore. Riceverai una email quando sarai approvato.', //cpg1.4
-  'acct_active_admin_activation' => 'Account attivato ed email inviata all\'utente.', //cpg1.4
-  'notify_user_email_subject' => '%s - Notifica di attivazione', //cpg1.4
-);
-
-$lang_register_confirm_email = <<<EOT
-Grazie per esserti registrato su {SITE_NAME}
-
-Per attivare il tuo account con nome utente "{USER_NAME}", devi cliccare sul collegamento seguente, o copiarlo e incollarlo nella barra degli indirizzi del tuo navigatore.
-
-<a href="{ACT_LINK}">{ACT_LINK}</a>
-
-Saluti,
-
-Amministrazione {SITE_NAME}
-
-EOT;
-
-$lang_register_approve_email = <<<EOT
-Un nuovo utente con nome utente "{USER_NAME}" si è appena registrato nella tua Galleria.
-
-Per attivare il suo account clicca sul collegamento riportato di seguito.
-
-<a href="{ACT_LINK}">{ACT_LINK}</a>
-
-EOT;
-
-$lang_register_activated_email = <<<EOT
-Il tuo account è stato approvato e attivato.
-
-Adesso puoi effettuare il login su <a href="{SITE_LINK}">{SITE_LINK}</a> utilizzando il nome utente "{USER_NAME}"
-
-
-Saluti,
-
-Amministrazione {SITE_NAME}
-
-EOT;
-}
-
-// ------------------------------------------------------------------------- //
-// File reviewcom.php
-// ------------------------------------------------------------------------- //
-
-if (defined('REVIEWCOM_PHP')) $lang_reviewcom_php = array(
-  'title' => 'Controlla commenti',
-  'no_comment' => 'Nessun commento da controllare',
-  'n_comm_del' => '%s commento/i cancellato/i',
-  'n_comm_disp' => 'Numero di commenti da mostrare',
-  'see_prev' => 'Mostra precedente',
-  'see_next' => 'Mostra successivo',
-  'del_comm' => 'Cancella commenti selezionati',
-  'user_name' => 'Nome', //cpg1.4
-  'date' => 'Data', //cpg1.4
-  'comment' => 'Commento', //cpg1.4
-  'file' => 'File', //cpg1.4
-  'name_a' => 'Nome utente ascendente', //cpg1.4
-  'name_d' => 'Nome utente discendente', //cpg1.4
-  'date_a' => 'Data ascendente', //cpg1.4
-  'date_d' => 'Data discendente', //cpg1.4
-  'comment_a' => 'Commento ascendente', //cpg1.4
-  'comment_d' => 'Commento discendente', //cpg1.4
-  'file_a' => 'File ascendente', //cpg1.4
-  'file_d' => 'File discendente', //cpg1.4
-);
-
-
-// ------------------------------------------------------------------------- //
-// File search.php                                                           //
-// ------------------------------------------------------------------------- //
-
-
-if (defined('SEARCH_PHP')){
-
-$lang_search_php = array(
-  'title' => 'Cerca nella collezione file', //cpg1.4
-  'submit_search' => 'cerca', //cpg1.4
-  'keyword_list_title' => 'Lista parole chiave', //cpg1.4
-  'keyword_msg' => 'La lista precedente non comprende tutti i dati. In particolare, non include parole contenute nei titoli delle foto o nelle descrizioni. Prova con una ricerca a tutto testo.',  //cpg1.4
-  'edit_keywords' => 'Modifica parole chiave', //cpg1.4
-  'search in' => 'Cerca in:', //cpg1.4
-  'ip_address' => 'Indirizzo IP', //cpg1.4
-  'fields' => 'Cerca in', //cpg1.4
-  'age' => 'Periodo', //cpg1.4
-  'newer_than' => 'Più nuovi di', //cpg1.4
-  'older_than' => 'Più vecchi di', //cpg1.4
-  'days' => 'giorni', //cpg1.4
-  'all_words' => 'Ogni parola deve corrispondere (AND)', //cpg1.4
-  'any_words' => 'Qualsiasi parola deve corrispondere (OR)', //cpg1.4
-);
-
-$lang_adv_opts = array(
-  'title' => 'Titolo', //cpg1.4
-  'caption' => 'Didascalia', //cpg1.4
-  'keywords' => 'Parole chiave', //cpg1.4
-  'owner_name' => 'Nome proprietario', //cpg1.4
-  'filename' => 'Nome file', //cpg1.4
-);
-
-}
-
-// ------------------------------------------------------------------------- //
-// File searchnew.php
-// ------------------------------------------------------------------------- //
-
-if (defined('SEARCHNEW_PHP')) $lang_search_new_php = array(
-  'page_title' => 'Cerca nuovi file',
-  'select_dir' => 'Seleziona cartella',
-  'select_dir_msg' => 'Questa funzione ti consente di aggiungere file che hai aggiunto al server tramite FTP.<br /><br />Seleziona la cartella in cui hai caricato i tuoi file.', //cpg1.4
-  'no_pic_to_add' => 'Nessun file da aggiungere',
-  'need_one_album' => 'Necessiti di almeno un album per usare questa funzione',
-  'warning' => 'Attenzione',
-  'change_perm' => 'Lo script non può scrivere in questa cartella, devi cambiare il CHMOD in 755 o 777 prima di aggiungere file!',
-  'target_album' => '<b>Metti i file di &quot;</b>%s<b>&quot; in </b>%s',
-  'folder' => 'Cartella',
-  'image' => 'File',
-  'album' => 'Album',
-  'result' => 'Risultato',
-  'dir_ro' => 'Non scrivibile. ',
-  'dir_cant_read' => 'Non leggibile. ',
-  'insert' => 'Aggiunta nuovi file alla galleria',
-  'list_new_pic' => 'Lista dei nuovi file',
-  'insert_selected' => 'inserisci i file selezionati',
-  'no_pic_found' => 'Nessun nuovo file trovato',
-  'be_patient' => 'Attendere prego, lo script necessita di tempo per aggiungere i file',
-  'no_album' => 'Nessun album selezionato',
-  'result_icon' => 'clicca per i dettagli o per ricaricare',  //cpg1.4
-  'notes' =>  '<ul>'.
-                          '<li><b>OK</b> : significa che il file è stato aggiunto con successo'.
-                          '<li><b>DP</b> : significa che il file è duplicato ed esiste gi&agrave nel database'.
-                          '<li><b>PB</b> : significa che il file non può essere aggiunto, controlla la tua configurazione e i permessi delle cartelle nelle quali risiedono i file'.
-                          '<li><b>NA</b> : significa che non hai selezionato un album nel quale caricare i file, clicca \'<a href="javascript:history.back(1)">indietro</a>\' e seleziona un album. Se non possiedi un album <a href="albmgr.php">creane uno prima</a></li>'.
-                          '<li>Se i \'simboli\' OK, DP, PB non appaiono clicca sull\'icona corrotta per vedere il messaggio generato da PHP'.
-                          '<li>Sei il navigatore va in timeout, premi il tasto di ricarica'.
-                          '</ul>',
-  'select_album' => 'Seleziona album',
-  'check_all' => 'Seleziona tutti',
-  'uncheck_all' => 'Deseleziona tutti',
-  'no_folders' => 'Non ci sono ancora cartelle dentro la cartella "albums". Assicurati di crearne almeno una e di caricarvi i tuoi file tramite FTP. Non devi caricare file nelle cartelle "userpics" o "edit", sono riservate per il caricamento via http.', //cpg1.4
-   'albums_no_category' => 'Album senza categoria', //cpg1.4 // album pulldown mod, added by frogfoot
-  'personal_albums' => '* Album personali', //cpg1.4 // album pulldown mod, added by frogfoot
-  'browse_batch_add' => 'Interfaccia navigabile (consigliato)', //cpg1.4
-  'edit_pics' => 'Modifica file', //cpg1.4
-  'edit_properties' => 'Proprietà album', //cpg1.4
-  'view_thumbs' => 'Vista miniature', //cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File stat_details.php //cpg1.4
-// ------------------------------------------------------------------------- //
-
-if (defined('STAT_DETAILS_PHP')) $lang_stat_details_php = array(
-  'show_hide' => 'mostra/nascondi questa colonna', //cpg1.4
-  'vote' => 'Dettagli voti', //cpg1.4
-  'hits' => 'Dettagli visite', //cpg1.4
-  'stats' => 'Statistiche voti', //cpg1.4
-  'sdate' => 'Data', //cpg1.4
-  'rating' => 'Valutazione', //cpg1.4
-  'search_phrase' => 'Chiave di ricerca', //cpg1.4
-  'referer' => 'Referenza', //cpg1.4
-  'browser' => 'Navigatore', //cpg1.4
-  'os' => 'Sistema operativo', //cpg1.4
-  'ip' => 'IP', //cpg1.4
-  'sort_by_xxx' => 'Elenca per %s', //cpg1.4
-  'ascending' => 'ascendente', //cpg1.4
-  'descending' => 'discendente', //cpg1.4
-  'internal' => 'interno', //cpg1.4
-  'close' => 'chiudi', //cpg1.4
-  'hide_internal_referers' => 'nascondi referenze interne', //cpg1.4
-  'date_display' => 'Mostra data', //cpg1.4
-  'submit' => 'Invia / Aggiorna', //cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File thumbnails.php
-// ------------------------------------------------------------------------- //
-
-// Void
-
-// ------------------------------------------------------------------------- //
-// File upload.php
-// ------------------------------------------------------------------------- //
-
-if (defined('UPLOAD_PHP')) $lang_upload_php = array(
-  'title' => 'Carica file',
-  'custom_title' => 'Campi personalizzati',
-  'cust_instr_1' => 'Puoi selezionare un numero personalizzato di campi per caricare file. Ma non puoi comunque selezionarne più del limite impostato.',
-  'cust_instr_2' => 'Numero di campi',
-  'cust_instr_3' => 'Campi per il caricamento file: %s',
-  'cust_instr_4' => 'Campi per il caricamento URI/URL: %s',
-  'cust_instr_5' => 'Campi per il caricamento URI/URL:',
-  'cust_instr_6' => 'Campi per il caricamento file:',
-  'cust_instr_7' => 'Inserisci il numero di ogni tipo di campo per il caricamento che desideri.  Quindi clicca \'Continua\'. ',
-  'reg_instr_1' => 'Azione non valida per la creazione del modulo.',
-  'reg_instr_2' => 'Da questa pagina caricare i tuoi file utilizzando i campi qui sotto. I file da caricare non devono superare i %s KB ciascuno. I file di tipo ZIP rimarranno compressi.',
-  'reg_instr_3' => 'Se desideri che il file compresso venga decompresso, devi usare il campo per il caricamento nell\'area  \'Caricamento e decompressione ZIP\'.',
-  'reg_instr_4' => 'Quando usi la funzione di caricamento URI/URL, inserisci il percorso del file in questo modo: http://www.miosito.com/immagini/esempio.jpg',
-  'reg_instr_5' => 'Una volta selezionati i file o URI/URL da caricare, clicca su \'Continua\'.',
-  'reg_instr_6' => 'Caricamento e decompressione ZIP:',
-  'reg_instr_7' => 'File caricati:',
-  'reg_instr_8' => 'URI/URL caricati:',
-  'error_report' => 'Errore',
-  'error_instr' => 'I seguenti caricamenti hanno creato errori:',
-  'file_name_url' => 'Nome/URL file',
-  'error_message' => 'Messaggio di errore',
-  'no_post' => 'File non caricato da POST.',
-  'forb_ext' => 'Estensione file proibita.',
-  'exc_php_ini' => 'Dimensione file eccedente quella consentita da PHP.',
-  'exc_file_size' => 'Dimensione file eccedente quella consentita dalla Galleria.',
-  'partial_upload' => 'Caricamento solo parziale.',
-  'no_upload' => 'Nessun file caricameto.',
-  'unknown_code' => 'Errore PHP sconosciuto nel caricamento.',
-  'no_temp_name' => 'Nessun file caricato - Nessun nome temporaneo.',
-  'no_file_size' => 'Non contiene nessun dato/Corrotto',
-  'impossible' => 'Impossibile spostare.',
-  'not_image' => 'Non è un\'immagine/corrotto',
-  'not_GD' => 'Non è un\'estensione GD.',
-  'pixel_allowance' => 'L\'altezza e la larghezza dell\'immagine caricata è maggiore di quella consentita dalla configurazione della Galleria.', //cpg1.4
-  'incorrect_prefix' => 'Prefisso URI/URL non corretto',
-  'could_not_open_URI' => 'Impossibile aprire l\'URI.',
-  'unsafe_URI' => 'Sicurezza non verificabile.',
-  'meta_data_failure' => 'Fallimento metadati',
-  'http_401' => '401 Non autorizzato',
-  'http_402' => '402 Pagamento richiesto',
-  'http_403' => '403 Proibito',
-  'http_404' => '404 Non trovato',
-  'http_500' => '500 Errore interno del server',
-  'http_503' => '503 Servizio non disponibile',
-  'MIME_extraction_failure' => 'Il tipo MIME non può essere determinato.',
-  'MIME_type_unknown' => 'Tipo MIME sconosciuto',
-  'cant_create_write' => 'Impossibile creare file di scrittura.',
-  'not_writable' => 'Impossibile scrivere sul file di scrittura.',
-  'cant_read_URI' => 'Impossibile leggere l\'URI/URL',
-  'cant_open_write_file' => 'Impossibile aprire il file di scrittura URI.',
-  'cant_write_write_file' => 'Impossibile scrivere sul file di scrittura URI.',
-  'cant_unzip' => 'Impossibile decomprimere.',
-  'unknown' => 'Errore sconosciuto',
-  'succ' => 'Caricamenti andati a buon fine',
-  'success' => '%s caricamenti sono andati a buon fine.',
-  'add' => 'Clicca \'Continua\' per aggiungere i file agli album.',
-  'failure' => 'Caricamento fallito',
-  'f_info' => 'Informazioni file',
-  'no_place' => 'Il file precedente non può essere inserito.',
-  'yes_place' => 'Il file precedente è stato inserito con successo.',
-  'max_fsize' => 'La dimensione massima consentita dei file è %s KB',
-  'album' => 'Album',
-  'picture' => 'File',
-  'pic_title' => 'Titolo file',
-  'description' => 'Descrizione file',
-  'keywords' => 'Parole chiave (separa con spazi)<br /><a href="#" onClick="return MM_openBrWindow(\'keyword_select.php\',\'selectKey\',\'width=250, height=400, scrollbars=yes,toolbar=no,status=yes,resizable=yes\')">Inserisci da una lista</a>', //cpg1.4
-  'keywords_sel' =>'Seleziona parole chiave', //cpg1.4
-  'err_no_alb_uploadables' => 'Spiacente, non hai un album nel quale sei autorizzato a caricare i file',
-  'place_instr_1' => 'Adesso inserisci i file negli album. Puoi anche inserire informazioni specifiche per ogni file.',
-  'place_instr_2' => 'Altri file necessitano di essere inseriti. Clicca \'Continua\'.',
-  'process_complete' => 'Tutti i file inseriti con successo.',
-   'albums_no_category' => 'Album senza categoria', //cpg1.4. //album pulldown mod, added by frogfoot
-  'personal_albums' => '* Album personali', //cpg1.4 //album pulldown mod, added by frogfoot
-  'select_album' => 'Seleziona album', //cpg1.4 //album pulldown mod, added by frogfoot
-  'close' => 'Chiudi', //cpg1.4
-  'no_keywords' => 'Spiacente, nessuna parola chiave disponibile!', //cpg1.4
-  'regenerate_dictionary' => 'Ricrea dizionario', //cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File usermgr.php
-// ------------------------------------------------------------------------- //
-
-if (defined('USERMGR_PHP')) $lang_usermgr_php = array(
-  'memberlist' => 'Iscritti', //cpg1.4
-  'user_manager' => 'Gestione utenti', //cpg1.4
-  'title' => 'Gestione utenti',
-  'name_a' => 'Nome ascendente',
-  'name_d' => 'Nome discenente',
-  'group_a' => 'Gruppo ascendente',
-  'group_d' => 'Gruppo discendente',
-  'reg_a' => 'Data di registrazione ascendente',
-  'reg_d' => 'Data di registrazione discendente',
-  'pic_a' => 'Numero file ascendente',
-  'pic_d' => 'Numero file discendente',
-  'disku_a' => 'Utilizzo disco ascendente',
-  'disku_d' => 'Utilizzo disco discendente',
-  'lv_a' => 'Ultima visita ascendente',
-  'lv_d' => 'Ultima visita discendente',
-  'sort_by' => 'Ordina utenti per',
-  'err_no_users' => 'La tabella utenti è vuota !',
-  'err_edit_self' => 'Non puoi modificare il tuo profilo, utilizza il collegamento \'Profilo\' ',
-  'edit' => 'Modifica', //cpg1.4
-  'with_selected' => 'Se selezionati:', //cpg1.4
-  'delete' => 'Cancella', //cpg1.4
-  'delete_files_no' => 'mantieni file pubblici (ma rendili anonimi)', //cpg1.4
-  'delete_files_yes' => 'cancella anche i file pubblici', //cpg1.4
-  'delete_comments_no' => 'Mantieni i commenti (ma rendili anonimi)', //cpg1.4
-  'delete_comments_yes' => 'cancella anche i commenti', //cpg1.4
-  'activate' => 'Attiva', //cpg1.4
-  'deactivate' => 'Disattiva', //cpg1.4
-  'reset_password' => 'Reimposta password', //cpg1.4
-  'change_primary_membergroup' => 'Cambia gruppo primario', //cpg1.4
-  'add_secondary_membergroup' => 'Aggiungi gruppo secondario', //cpg1.4
-  'name' => 'Nome utente',
-  'group' => 'Gruppo',
-  'inactive' => 'Non attivo',
-  'operations' => 'Operazioni',
-  'pictures' => 'File',
-  'disk_space_used' => 'Spazio utilizzato', //cpg1.4
-  'disk_space_quota' => 'Quota disco', //cpg1.4
-  'registered_on' => 'Registrazione', //cpg1.4
-  'last_visit' => 'Ultima visita',
-  'u_user_on_p_pages' => '%d utenti in %d pagina(e)',
-  'confirm_del' => 'Sei sicuro di voler CANCELLARE questo utente ? \\nTutti i suoi file ed album saranno cancellati.', //js-alert
-  'mail' => 'MAIL',
-  'err_unknown_user' => 'L\'utente selezionato non esiste !',
-  'modify_user' => 'Modifica utente',
-  'notes' => 'Note',
-  'note_list' => '<li>Se non vuoi cambiare la password attuale, lascia vuoto il campo "password"',
-  'password' => 'Password',
-  'user_active' => 'Utente attivo',
-  'user_group' => 'Gruppo utente',
-  'user_email' => 'Email utente',
-  'user_web_site' => 'Sito web utente',
-  'create_new_user' => 'Crea nuovo utente',
-  'user_location' => 'Provenienza utente',
-  'user_interests' => 'Interessi utente',
-  'user_occupation' => 'Occupazione utente',
-  'user_profile1' => '$user_profile1', //cpg1.4
-  'user_profile2' => '$user_profile2', //cpg1.4
-  'user_profile3' => '$user_profile3', //cpg1.4
-  'user_profile4' => '$user_profile4', //cpg1.4
-  'user_profile5' => '$user_profile5', //cpg1.4
-  'user_profile6' => '$user_profile6', //cpg1.4
-  'latest_upload' => 'File caricati di recente',
-  'never' => 'Mai',
-  'search' => 'Ricerca utenti', //cpg1.4
-  'submit' => 'Invia', //cpg1.4
-  'search_submit' => 'Vai!', //cpg1.4
-  'search_result' => 'Cerca risultati per: ', //cpg1.4
-  'alert_no_selection' => 'Devi selezionare almeno un utente prima!', //cpg1.4 //js-alert
-  'password' => 'password', //cpg1.4
-  'select_group' => 'Seleziona gruppo', //cpg1.4
-  'groups_alb_access' => 'Permessi album per gruppo', //cpg1.4
-  'album' => 'Album', //cpg1.4
-  'category' => 'Categoria', //cpg1.4
-  'modify' => 'Modifica?', //cpg1.4
-  'group_no_access' => 'Questo gruppo non gode di accesso speciale', //cpg1.4
-  'notice' => 'Nota', //cpg1.4
-  'group_can_access' => 'Album al/i quale/i solamente "%s" può accedere', //cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File util.php
-// ------------------------------------------------------------------------- //
-
-if (defined('UTIL_PHP')) {
-$lang_util_desc_php = array(
-'Aggiorna titoli dal nome del file', //cpg1.4
-'Cancella titoli', //cpg1.4
-'Ricostruisce miniature e immagini intermedie', //cpg1.4
-'Cancella le immagini a dimensioni originali e le sostituisce con le immagini intermedie', //cpg1.4
-'Cancella le immagini originali o intermedie per liberare spazio web', //cpg1.4
-'Cancella commenti orfani', //cpg1.4
-'Aggiorna le dimensioni dei file (se le hai modificate manualmente)', //cpg1.4
-'Reimposta contatore visite', //cpg1.4
-'Mostra informazioni PHP', //cpg1.4
-'Aggiorna il database', //cpg1.4
-'Mostra rapporti', //cpg1.4
-);
-$lang_util_php = array(
-  'title' => 'Strumenti di amministrazione (Ridimensiona immagini)',
-  'what_it_does' => 'Cosa fa',
-  'file' => 'File',
-  'problem' => 'Problema', //cpg1.4
-  'status' => 'Stato', //cpg1.4
-  'title_set_to' => 'Titolo impostato a',
-  'submit_form' => 'Invia',
-  'updated_succesfully' => 'Aggiornato con successo',
-  'error_create' => 'ERRORE creando',
-  'continue' => 'Processa più immagini',
-  'main_success' => 'Il file %s è stato usato con successo come file principale',
-  'error_rename' => 'Errore rinominando %s in %s',
-  'error_not_found' => 'Il file %s non è stato trovato',
-  'back' => 'Torna a principale',
-  'thumbs_wait' => 'Aggiornamento miniature e/o immagini ridimensionate, attendere prego...',
-  'thumbs_continue_wait' => 'Continuo nell\'aggiornamento delle miniature e/o immagini ridimensionate...',
-  'titles_wait' => 'Aggiornamento titoli, attendere prego...',
-  'delete_wait' => 'Cancellazione titoli, attendere prego...',
-  'replace_wait' => 'Cancellazione originali e sostituzione con le immagini ridimensionate, attendere prego...',
-  'instruction' => 'Istruzioni veloci',
-  'instruction_action' => 'Seleziona azione',
-  'instruction_parameter' => 'Imposta parametri',
-  'instruction_album' => 'Seleziona album',
-  'instruction_press' => 'Premi %s',
-  'update' => 'Aggiorna miniature e/o immagini ridimensionate',
-  'update_what' => 'Cosa deve essere aggiornato',
-  'update_thumb' => 'Solo miniature',
-  'update_pic' => 'Solo immagini ridimensionate',
-  'update_both' => 'Sia le miniature che le immagini ridimensionate',
-  'update_number' => 'Numero di immagini processate per clic',
-  'update_option' => '(Prova ad impostare questa opzione ad un parametro più basso se hai problemi di timeout)',
-  'filename_title' => 'Nome file &rArr; Titolo file',
-  'filename_how' => 'Come devonono essere rinominati i file ',
-  'filename_remove' => 'Rimuovi .jpg e rimpiazza _ (trattino basso) con spazi',
-  'filename_euro' => 'Cambia 2003_11_23_13_20_20.jpg in 23/11/2003 13:20',
-  'filename_us' => 'Cambia 2003_11_23_13_20_20.jpg in 11/23/2003 13:20',
-  'filename_time' => 'Cambia 2003_11_23_13_20_20.jpg in 13:20',
-  'delete' => 'Cancella titoli file o immagini a dimensioni originali',
-  'delete_title' => 'Cancella titoli file',
-  'delete_title_explanation' => 'Questo rimuoverà tutti i titoli dei file dell\'album specificato.', //cpg1.4
-  'delete_original' => 'Cancella le immagini a dimensione originale',
-  'delete_original_explanation' => 'Questo cancellerà le immagini a dimensione originale.', //cpg1.4
-  'delete_intermediate' => 'Cancella immagini intermedie', //cpg1.4
-  'delete_intermediate_explanation' => 'Questo cancellerà le immagini intermedie (normal).<br />Utilizza questa funzione per liberare spazio su disco se hai disabilitato l\'opzione \'Crea immagini intermedie\' nella configurazione dopo aver aggiunto immagini.', //cpg1.4
-  'delete_replace' => 'Cancella le immagini originali sostituendole con le versioni ridimensionate',
-  'titles_deleted' => 'Tutti i titoli nell\'album specificato sono stati rimossi', //cpg1.4
-  'deleting_intermediates' => 'Cancellazione immagini intermedie, attendere prego...', //cpg1.4
-  'searching_orphans' => 'Ricerca elementi orfani, attendere prego...', //cpg1.4
-  'select_album' => 'Seleziona album',
-  'delete_orphans' => 'Cancella commenti sui file mancanti', //cpg1.4
-  'delete_orphans_explanation' => 'Identifica e consente di cancellare ogni commento non più esistente nella Galleria.<br />Controlla tutti gli album.', //cpg1.4
-  'refresh_db' => 'Aggiorna dimensioni e informazioni del file', //cpg1.4
-  'refresh_db_explanation' => 'Aggiorna le dimensioni del file, sia come peso che come spazio occupato. Utilizza questo strumento se le quote disco risultano non corrette o se hai cambiato manualmente i file.', //cpg1.4
-  'reset_views' => 'Reimposta contatore visite', //cpg1.4
-  'reset_views_explanation' => 'Azzera tutte le visite nell\'album specificato.', //cpg1.4
-  'orphan_comment' => 'commenti orfani trovati',
-  'delete' => 'Cancella',
-  'delete_all' => 'Cancella tutto',
-  'delete_all_orphans' => 'Cancella tutti gli elementi orfani?', //cpg1.4
-  'comment' => 'Commento: ',
-  'nonexist' => 'collegato al file non esistente # ',
-  'phpinfo' => 'Mostra informazioni PHP',
-  'phpinfo_explanation' => 'Contiene informazioni tecniche sul tuo server.<br /> - Potresti esserne richiesto quando hai bisogno di supporto.', //cpg1.4
-  'update_db' => 'Aggiorna database',
-  'update_db_explanation' => 'Se hai cambiato o modificato i file originali di Coppermine, magari facendo un aggiornamento della Galleria, esegui almeno una volta un aggiornamento del database. Verranno create le tabelle necessarie e/o impostati i valori di configurazione nel database di Coppermine.',
-  'view_log' => 'Visualizza rapporti', //cpg1.4
-  'view_log_explanation' => 'Coppermine può tenere traccia di varie azioni eseguite dagli utenti. Puoi sfogliare questi rapporti se li hai abilitati nella <a href="admin.php">configurazione</a>.', //cpg1.4
-  'versioncheck' => 'Controllo versioni', //cpg1.4
-  'versioncheck_explanation' => 'Controlla le versioni dei tuoi file per vedere se li hai sostituiti tutti eseguendo un aggiornamento, o se sono stati aggiornati dopo il rilascio di un aggiornamento.', //cpg1.4
-  'bridgemanager' => 'Gestione integrazione', //cpg1.4
-  'bridgemanager_explanation' => 'Abilita o disabilita integrazione (bridging) di Coppermine con un\'altra applicazione (es. la tua BBS).', //cpg1.4
-);
-}
-
-// ------------------------------------------------------------------------- //
-// File versioncheck.php //cpg1.4
-// ------------------------------------------------------------------------- //
-
-if (defined('VERSIONCHECK_PHP')) $lang_versioncheck_php = array(
-  'title' => 'Controllo versione', //cpg1.4
-  'what_it_does' => 'Questa pagina serve a quegli utenti che hanno aggiornato la propria installazione di Coppermine. Lo script analizza i tuoi file sul server e cerca di determinare se la versione è la stessa di quelli situati nel deposito su http://coppermine.sourceforge.net, mostrando in questo modo quali file dovresti aggiornare.<br />Tutto ciò che sarà contrassegnato in rosso necessita di essere aggiornato. Le voci in giallo necessitano di un semplice controllo. Le voci in verde (o il tuo colore predefinito per il carattere) sono OK.<br />Clicca sulle icone di aiuto per maggiori dettagli.', //cpg1.4
-  'online_repository_unable' => 'Impossibile connettersi al deposito', //cpg1.4
-  'online_repository_noconnect' => 'Coppermine non è in grado di connettersi al deposito. Ciò può essere dovuto a due motivi:', //cpg1.4
-  'online_repository_reason1' => 'Il deposito al momento non è raggiungibile - controlla se riesci a navigare questa pagina: %s - se non riesci, prova più tardi.', //cpg1.4
-  'online_repository_reason2' => 'Il PHP sul tuo server è configurato con %s Off (per impostazione predefinita &egrav; On). Se amministri direttamente il server, modifica questa impostazione nel file <i>php.ini</i> (o almeno consenti che sia sovrascritta con %s). Se utilizzi un servizio di hosting, probabilmente devi arrenderti a non poterti collegare al deposito. Questa pagina mostrerà solo la versione dei file della tua installazione, mentre gli aggiornamenti non saranno visualizzati.', //cpg1.4
-  'online_repository_skipped' => 'Connessione al deposito saltata', //cpg1.4
-  'online_repository_to_local' => 'Lo script sta utilizzando per impostazione predefinita le copie locali dei file. I dati potrebbero essere non aggiornati, se hai aggiornato coppermine e non hai caticato tutti i file. Allo stesso modo, cambiamenti apportati ai file dopo il rilascio non saranno inseriti nell\'account.', //cpg1.4
-  'local_repository_unable' => 'Impossibile connettersi al deposito locale sul tuo server', //cpg1.4
-  'local_repository_explanation' => 'Coppermine non è stata in grado di connettersi al deposito locale del file %s sul tuo server. Questo significa che probabilmente non hai caricato il file di deposito sul tuo server. Fallo ora e riprova ad eseguire lo script (aggiornando questa pagina).<br />Se lo script fallisce di nuovo, il tuo hosting potrebbe aver disabilitato completamente parti delle <a href="http://www.php.net/manual/en/ref.filesystem.php">funzioni del filesystem PHP</a>. In questo caso, non sarai in grado di utilizzare questo strumento.', //cpg1.4
-  'coppermine_version_header' => 'Versione di Coppermine installata', //cpg1.4
-  'coppermine_version_info' => 'Hai correntemente installato: %s', //cpg1.4
-  'coppermine_version_explanation' => 'Se pensi che il dato sia sbagliato e credi di avere una versione più recente di Coppermine, probabilmente non hai caricato la versione più recente del file <i>include/init.inc.php</i>', //cpg1.4
-  'version_comparison' => 'Confronto versione', //cpg1.4
-  'folder_file' => 'cartella/file', //cpg1.4
-  'coppermine_version' => 'versione Galleria', //cpg1.4
-  'file_version' => 'versione file', //cpg1.4
-  'webcvs' => 'web svn', //cpg1.4
-  'writable' => 'scrivibile', //cpg1.4
-  'not_writable' => 'non scrivibile', //cpg1.4
-  'help' => 'Aiuto', //cpg1.4
-  'help_file_not_exist_optional1' => 'file/cartella inesistente', //cpg1.4
-  'help_file_not_exist_optional2' => 'Il/la file/cartella %s non è stato trovato/a sul server. Anche se facoltativo, dovresti caricarlo (tramite FTP) se stai incontrando dei problemi.', //cpg1.4
-  'help_file_not_exist_mandatory1' => 'file/cartella inesistente', //cpg1.4
-  'help_file_not_exist_mandatory2' => 'Il/la file/cartella %s non è stato trovato/a sul server, anche se necessario. Caricalo (tramite FTP).', //cpg1.4
-  'help_no_local_version1' => 'Nessuna versione locale del file', //cpg1.4
-  'help_no_local_version2' => 'Lo script non è in grado di estrarre la versione locale del file: il tuo file o è troppo vecchio o lo hai modificato, rimuovendo le informazioni dell\'intestazione. Aggiornare il file è raccomandato.', //cpg1.4
-  'help_local_version_outdated1' => 'Versione locale obsoleta', //cpg1.4
-  'help_local_version_outdated2' => 'La tua versione di questo file sembra essere di una vecchia versione di Coppermine (che hai probabilmente aggiornato). Assicurati di aggiornare anche questo file.', //cpg1.4
-  'help_local_version_na1' => 'Impossibile estrarre informazioni sulla versione cvs', //cpg1.4
-  'help_local_version_na2' => 'Lo script non riesce a determinare la versione cvs del file sul tuo server. Dovresti caricare la versione dal tuo pacchetto.', //cpg1.4
-  'help_local_version_dev1' => 'Versione di sviluppo', //cpg1.4
-  'help_local_version_dev2' => 'Il file sul tuo webserver sembra essere più recente della tua versione di Coppermine. O stai usando un file di sviluppo (dovresti farlo solo se sei sicuro di quel che stai facendo), o hai aggiornato Coppermine e non hai caricato include/init.inc.php', //cpg1.4
-  'help_not_writable1' => 'Cartella non scrivibile', //cpg1.4
-  'help_not_writable2' => 'Cambia i permessi file (CHMOD) per garantire allo script l\'accesso in scrittura alla cartella %s e a tutto il suo contenuto.', //cpg1.4
-  'help_writable1' => 'Cartella scrivibile', //cpg1.4
-  'help_writable2' => 'La cartella %s è scrivibile. Questo è un rischio non necessario: solo Coppermine necessita di permessi di lettura ed esecuzione.', //cpg1.4
-  'help_writable_undetermined' => 'Coppermine non è in grado di determinare se la cartella è scrivibile o meno.', //cpg1.4
-  'your_file' => 'tuo file', //cpg1.4
-  'reference_file' => 'File di riferimento', //cpg1.4
-  'summary' => 'Sommario', //cpg1.4
-  'total' => 'Totale dei file/cartelle controllati', //cpg1.4
-  'mandatory_files_missing' => 'File obbligatori mancanti', //cpg1.4
-  'optional_files_missing' => 'File facoltativi mancanti', //cpg1.4
-  'files_from_older_version' => 'File lasciati da vecchie versioni di Coppermine', //cpg1.4
-  'file_version_outdated' => 'Vecchie versioni del file', //cpg1.4
-  'error_no_data' => 'Lo script ha fallito, non &grave; stato in grado di recuperare alcuna informazione. Spiacente per l\'inconveniente.', //cpg1.4
-  'go_to_webcvs' => 'vai su %s', //cpg1.4
-  'options' => 'Opzioni', //cpg1.4
-  'show_optional_files' => 'Mostra cartelle/file facoltativi', //cpg1.4
-  'show_mandatory_files' => 'Mostra file obbligatori', //cpg1.4
-  'show_file_versions' => 'Mostra versioni file', //cpg1.4
-  'show_errors_only' => 'Mostra solo cartelle/file con errori', //cpg1.4
-  'show_permissions' => 'Mostra permessi cartella', //cpg1.4
-  'show_condensed_output' => 'Mostra output compatto (per screenshot più semplici)', //cpg1.4
-  'coppermine_in_webroot' => 'Coppermine è installata nella cartella radice dello spazio web', //cpg1.4
-  'connect_online_repository' => 'Prova a connetterti al deposito online', //cpg1.4
-  'show_additional_information' => 'Mostra informazioni aggiuntive', //cpg1.4
-  'no_webcvs_link' => 'Non mostrare collegamenti web svn', //cpg1.4
-  'stable_webcvs_link' => 'Mostra collegamenti web svn stabili', //cpg1.4
-  'devel_webcvs_link' => 'Mostra collegamenti web svn di sviluppo', //cpg1.4
-  'submit' => 'Applica modifiche / Aggiorna', //cpg1.4
-  'reset_to_defaults' => 'Ripristina impostazioni predefinite', //cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File view_log.php  //cpg1.4
-// ------------------------------------------------------------------------- //
-
-if (defined('VIEWLOG_PHP')) $lang_viewlog_php = array(
-  'delete_all' => 'Cancella tutti i rapporti', //cpg1.4
-  'delete_this' => 'Cancella questo rapporto', //cpg1.4
-  'view_logs' => 'Visualizza rapporti', //cpg1.4
-  'no_logs' => 'Nessun rapporto creato.', //cpg1.4
-);
-
-
-// ------------------------------------------------------------------------- //
-// File xp_publish.php //cpg1.4
-// ------------------------------------------------------------------------- //
-
-if (defined('XP_PUBLISH_PHP')) {
-
-$lang_xp_publish_client = <<<EOT
-<h1>Pubblicazione web guidata XP</h1><p>Questo modulo consente di usare la Pubblicazione web guidata di <b>Windows XP</b> con Coppermine.</p><p>Il codice è basato su articolo pubblicato da
-EOT;
-
-$lang_xp_publish_required = <<<EOT
-<h2>Cosa è richiesto</h2><ul><li>Windows XP in modo da avere la procedura guidata.</li><li>Una installazione funzionante di Coppermine sulla quale <b>la funzione di caricamento via web funzioni correttamente.</b></li></ul><h2>Come installare dal lato client</h2><ul><li>Clicca col tasto destro su
-EOT;
-
-$lang_xp_publish_select = <<<EOT
-Seleziona &quot;Salva destinazione con nome...&quot;. Salva il file sul tuo disco locale. Quando salvi il file, controlla che il nome proposto sia <b>cpg_###.reg</b> (### rappresenta un formato data numerico). Adegua il nome al suddetto formato se necessario (lasciando i numeri). Una volta scaricato, fai doppio clic sul file per registrare il tuo server sulla Pubblicazione web guidata.</li></ul>
-EOT;
-
-$lang_xp_publish_testing = <<<EOT
-<h2>Prove</h2><ul><li>In Esplora risorse, seleziona alcuni file e clicca su <b>Pubblica xxx sul web</b> nel pannello di sinistra.</li><li>Conferma la tua selezione. Clicca su <b>Avanti</b>.</li><li>Nella lista dei servizi che appaiono, seleziona quella per la tua galleria (ha il nome della tua galleria). Se il servizio non appare, controlla di aver installato <b>cpg_pub_wizard.reg</b> come descritto.</li><li>Inserisci le tue informazioni di login se richiesto.</li><li>Seleziona gli album di destinazione per le tue immagini o creane di nuovi.</li><li>Clicca su <b>Avanti</b>. Il caricamento dovrebbe incominciare.</li><li>Quando sarà completato, controlla la galleria per vedere se le immagini sono state aggiunte correttamente.</li></ul>
-EOT;
-
-$lang_xp_publish_notes = <<<EOT
-<h2>Note :</h2><ul><li>Una volta iniziato il caricamento, la procedura guidata non può mostrare nessun messaggio di errore da parte dello script, quindi non puoi sapere se tutto sia andato a buon fine o meno finchè non controllerai la galleria.</li><li>Se il caricamento fallisce, abilita la &quot;Modalità debug &quot; nella pagina di configurazione, tenta con una sola immagine e controlla i messaggi di errore nel file
-EOT;
-
-$lang_xp_publish_flood = <<<EOT
-che si trova nella cartella di Coppermine sul tuo server.</li><li>Per evitare che la galleria sia bombardata <i>(flooding)</i> da immagini caricate attraverso la Pubblicazione guidata, solo gli <b>amministratori</b> e <b>gli utenti che possono avere i propri album</b> possono usare questa funzione.</li>
-EOT;
-
-
-
-$lang_xp_publish_php = array(
-  'title' => 'Coppermine - Pubblicazione web guidata XP', //cpg1.4
-  'welcome' => 'Benvenuto <b>%s</b>,', //cpg1.4
-  'need_login' => 'Devi eseguire il login alla galleria usando il navigatore prima di usare la procedura guidata.<p/><p>Quando esegui il login non scordarti di selezionare l\'opzione <b>Ricordami</b> se presente.', //cpg1.4
-  'no_alb' => 'Spiacente, non esiste nessun album nel quale ti sia consentito il caricamento di immagini tramite la procedura guidata.', //cpg1.4
-  'upload' => 'Carica le tue immagini in un album esistente', //cpg1.4
-  'create_new' => 'Crea un nuovo album per le tue immagini', //cpg1.4
-  'album' => 'Album', //cpg1.4
-  'category' => 'Categoria', //cpg1.4
-  'new_alb_created' => 'Il tuo nuovo album &quot;<b>%s</b>&quot; è stato creato.', //cpg1.4
-  'continue' => 'Premi &quot;Avanti&quot; per iniziare il caricamento', //cpg1.4
-  'link' => 'questo collegamento', //cpg1.4
-);
-}
+<?php
+/*************************
+  Coppermine Photo Gallery
+  ************************
+  Copyright (c) 2003-2009 Coppermine Dev Team
+  v1.1 originally written by Gregory DEMAR
+
+  This program is free software; you can redistribute it and/or modify
+  it under the terms of the GNU General Public License version 3
+  as published by the Free Software Foundation.
+  
+  ********************************************
+  Coppermine version: 1.4.25
+  $HeadURL: https://coppermine.svn.sourceforge.net/svnroot/coppermine/trunk/cpg1.4.x/lang/italian.php $
+  $Revision: 5997 $
+  $Author: gaugau $
+  $Date: 2009-05-26 08:43:24 +0200 (Di, 26 Mai 2009) $
+**********************************************/
+
+if (!defined('IN_COPPERMINE')) { die('Not in Coppermine...');}
+
+// info about translators and translated language
+$lang_translation_info = array(
+  'lang_name_english' => 'Italian', //cpg1.4
+  'lang_name_native' => 'Italiano', //cpg1.4
+  'lang_country_code' => 'it', //cpg1.4
+  'trans_name'=> array('Ganesh','Ludo'),
+  'trans_email' => array('gq@gospel.bo.it', 'glrocca@tin.it'),
+  'trans_website' => array('http://www.gospel.bo.it/', 'http://vanrokken.altervista.org/'),
+  'trans_date' => '2009-05-23',
+);
+
+$lang_charset = 'utf-8';
+$lang_text_dir = 'ltr'; // ('ltr' for left to right, 'rtl' for right to left)
+
+// shortcuts for Byte, Kilo, Mega
+$lang_byte_units = array('Bytes', 'KB', 'MB');
+
+// Day of weeks and months
+$lang_day_of_week = array('Dom', 'Lun', 'Mar', 'Mer', 'Gio', 'Ven', 'Sab');
+$lang_month = array('Gen', 'Feb', 'Mar', 'Apr', 'Mag', 'Giu', 'Lug', 'Ago', 'Set', 'Ott', 'Nov', 'Dic');
+
+// Some common strings
+$lang_yes = 'Si';
+$lang_no  = 'No';
+$lang_back = 'INDIETRO';
+$lang_continue = 'CONTINUA';
+$lang_info = 'Informazione';
+$lang_error = 'Errore';
+$lang_check_uncheck_all = 'seleziona/deseleziona tutto'; //cpg1.4
+
+// The various date formats
+// See http://www.php.net/manual/en/function.strftime.php to define the variable below
+$album_date_fmt =    '%d %B %Y';
+$lastcom_date_fmt =  '%d/%m/%y, %H.%M';
+$lastup_date_fmt = '%d %B %Y';
+$register_date_fmt = '%d %B %Y';
+$lasthit_date_fmt = '%d %B %Y, %H.%M';
+$comment_date_fmt =  '%d %B %Y, %H.%M';
+$log_date_fmt = '%d %B %Y, %H.%M'; //cpg1.4
+
+// For the word censor
+$lang_bad_words = array('*cazz*', 'figa', '*culo*', 'puttan*', 'sborra*', 'stronz*', 'bastard*', 'troia*', 'minchia*');
+
+$lang_meta_album_names = array(
+  'random' => 'Immagini a caso',
+  'lastup' => 'Ultimi arrivi',
+  'lastalb'=> 'Ultimi album aggiornati',
+  'lastcom' => 'Ultimi commenti',
+  'topn' => 'Più viste',
+  'toprated' => 'Più votate',
+  'lasthits' => 'Ultimi file visti',
+  'search' => 'Risultati ricerca',
+  'favpics'=> 'File preferiti',  //cpg1.4
+);
+
+$lang_errors = array(
+  'access_denied' => 'Non possiedi i permessi necessari per accedere alla pagina.',
+  'perm_denied' => 'Non possiedi i permessi necessari per eseguire questa operazione.',
+  'param_missing' => 'Script eseguito senza i parametri necessari.',
+  'non_exist_ap' => 'Il file o l\'album non esiste !',
+  'quota_exceeded' => 'Quota disco superata<br /><br />Hai una quota disco pari a [quota]Kb ed i tuoi file occupano attualmente [space]Kb, aggiungere questo file significa superare il limite.',
+  'gd_file_type_err' => 'Usando la libreria GD i tipi di file consentiti sono solo JPEG and PNG.',
+  'invalid_image' => 'L\'immagine caricata risulta corrotta o non riesce ad essere gestita dalla libreria GD',
+  'resize_failed' => 'Impossibile creare la miniatura o l\'immagine di dimensioni intermedie.',
+  'no_img_to_display' => 'Nessuna immagine da mostrare',
+  'non_exist_cat' => 'La categoria selezionata non esiste',
+  'orphan_cat' => 'Collegamento non esistente in una categoria, utilizzare Gestione categorie per correggere il problema',
+  'directory_ro' => 'La cartella \'%s\' non è scrivibile, i file non possono essere cancellati',
+  'pic_in_invalid_album' => 'Il file risiede in un album inesistente (%s)!?',
+  'banned' => 'Al momento sei estromesso, non ti è consentito accedere al sito.',
+  'not_with_udb' => 'Questa funzione è disabilitata in Coppermine in quanto si tratta di un\'integrazione con un forum. O quello che provi a fare non viene supportato da questa configurazione, o la funzione dovrebbe essere gestita dal software del forum.',
+  'offline_title' => 'Non disponibile',
+  'offline_text' => 'La Galleria non è disponibile al momento, riprova più tardi',
+  'ecards_empty' => 'Al momento non ci sono cartoline da mostrare.',
+  'action_failed' => 'Azione fallita.  Coppermine non è in grado di gestire la tua richiesta.',
+  'no_zip' => 'Le librerie necessarie per processare i file ZIP non sono disponibili.  Contattare l\'amministratore.',
+  'zip_type' => 'Non possiedi i permessi per caricare file ZIP.',
+  'database_query' => 'Si è verificato un errore eseguendo una query al database', //cpg1.4
+  'non_exist_comment' => 'Il commento selezionato non esiste', //cpg1.4
+  'register_globals_on' => 'La direttiva PHP register_globals è abilitata sul tuo server, il che non è una buona idea in termini di sicurezza. É altamente raccomandabile impostarla ad Off. [<a href="http://forum.coppermine-gallery.net/index.php/topic,59569.0.html" rel="external" class="external">more</a>]',
+  
+);
+
+$lang_bbcode_help_title = 'Aiuto BbCode'; //cpg1.4
+$lang_bbcode_help = 'Puoi aggiungere collegamenti cliccabili ed alcune formattazioni a questo campo usando i tags bbcode: <li>[b]Grassetto[/b] =&gt; <b>Grassetto</b></li><li>[i]Corsivo[/i] =&gt; <i>Corsivo</i></li><li>[url=http://yoursite.com/]Titolo del collegamento[/url] =&gt; <a href="http://yoursite.com">Titolo del collegamento</a></li><li>[email]user@domain.com[/email] =&gt; <a href="mailto:nome@dominio.it">nome@dominio.it</a></li><li>[color=red]testo qualsiasi[/color] =&gt; <span style="color:red">testo qualsiasi</span></li><li>[img]http://coppermine-gallery.net/demo/cpg14x/images/red.gif[/img] => <img src="../images/red.gif" border="0" alt="" /></li>'; //cpg1.4
+
+// ------------------------------------------------------------------------- //
+// File theme.php
+// ------------------------------------------------------------------------- //
+
+$lang_main_menu = array(
+  'home_title' => 'Vai alla pagina iniziale',
+  'home_lnk' => 'Home',
+  'alb_list_title' => 'Vai alla lista album',
+  'alb_list_lnk' => 'Lista album',
+  'my_gal_title' => 'Vai alla galleria personale',
+  'my_gal_lnk' => 'Galleria personale',
+  'my_prof_title' => 'Vai al profilo', //cpg1.4
+  'my_prof_lnk' => 'Profilo',
+  'adm_mode_title' => 'Entra in modalità amministratore',
+  'adm_mode_lnk' => 'Modalità amministratore',
+  'usr_mode_title' => 'Entra in modalità utente',
+  'usr_mode_lnk' => 'Modalità utente',
+  'upload_pic_title' => 'Carica un file in un album',
+  'upload_pic_lnk' => 'Carica file',
+  'register_title' => 'Iscriviti al sito',
+  'register_lnk' => 'Registrati',
+  'login_title' => 'Connettiti', //cpg1.4
+  'login_lnk' => 'Login',
+  'logout_title' => 'Disconnettiti', //cpg1.4
+  'logout_lnk' => 'Logout',
+  'lastup_title' => 'Mostra foto recenti', //cpg1.4
+  'lastup_lnk' => 'Ultimi arrivi',
+  'lastcom_title' => 'Mostra gli ultimi commenti', //cpg1.4
+  'lastcom_lnk' => 'Ultimi commenti',
+  'topn_title' => 'Mostra i file più visti', //cpg1.4
+  'topn_lnk' => 'File più visti',
+  'toprated_title' => 'Mostra file più votati', //cpg1.4
+  'toprated_lnk' => 'File più votati',
+  'search_title' => 'Ricerca nella galleria', //cpg1.4
+  'search_lnk' => 'Cerca',
+  'fav_title' => 'Vai ai preferiti', //cpg1.4
+  'fav_lnk' => 'Preferiti',
+  'memberlist_title' => 'Mostra lista iscritti',
+  'memberlist_lnk' => 'Lista iscritti',
+  'faq_title' => 'Domande frequenti sulla galleria di immagini &quot;Coppermine&quot;',
+  'faq_lnk' => 'FAQ',
+);
+
+$lang_gallery_admin_menu = array(
+  'upl_app_title' => 'Approva nuovi file caricati', //cpg1.4
+  'upl_app_lnk' => 'Approvazione file',
+  'admin_title' => 'Vai alla configurazione', //cpg1.4
+  'admin_lnk' => 'Configurazione', //cpg1.4
+  'albums_title' => 'Vai alla configurazione album', //cpg1.4
+  'albums_lnk' => 'Album',
+  'categories_title' => 'Vai alla configurazione categorie', //cpg1.4
+  'categories_lnk' => 'Categorie',
+  'users_title' => 'Vai alla configurazione utenti', //cpg1.4
+  'users_lnk' => 'Utenti',
+  'groups_title' => 'Vai alla configurazione gruppi', //cpg1.4
+  'groups_lnk' => 'Gruppi',
+  'comments_title' => 'Guarda tutti i commenti', //cpg1.4
+  'comments_lnk' => 'Mostra commenti',
+  'searchnew_title' => 'Vai alla funzione per l\'aggiunta cumulativa di molteplici file', //cpg1.4
+  'searchnew_lnk' => 'Aggiunta cumulativa',
+  'util_title' => 'Vai agli strumenti di amministrazione', //cpg1.4
+  'util_lnk' => 'Strumenti di amministrazione',
+  'key_title' => 'Vai al dizionario delle parole chiave', //cpg1.4
+  'key_lnk' => 'Dizionario parole chiave', //cpg1.4
+  'ban_title' => 'Visualizza utenti estromessi', //cpg1.4
+  'ban_lnk' => 'Estrometti utenti',
+  'db_ecard_title' => 'Mostra cartoline elettroniche', //cpg1.4
+  'db_ecard_lnk' => 'Cartoline',
+  'pictures_title' => 'Ordina le immagini in galleria', //cpg1.4
+  'pictures_lnk' => 'Ordina immagini', //cpg1.4
+  'documentation_lnk' => 'Documentazione', //cpg1.4
+  'documentation_title' => 'Manuale Coppermine', //cpg1.4
+);
+
+$lang_user_admin_menu = array(
+  'albmgr_title' => 'Crea e organizza album', //cpg1.4
+  'albmgr_lnk' => 'Crea / organizza album',
+  'modifyalb_title' => 'Modifica album',  //cpg1.4
+  'modifyalb_lnk' => 'Modifica album',
+  'my_prof_title' => 'Vai al tuo profilo', //cpg1.4
+  'my_prof_lnk' => 'Profilo',
+);
+
+$lang_cat_list = array(
+  'category' => 'Categoria',
+  'albums' => 'Album',
+  'pictures' => 'File',
+);
+
+$lang_album_list = array(
+  'album_on_page' => '%d album in %d pagina(e)',
+);
+
+$lang_thumb_view = array(
+  'date' => 'DATA',
+  //Sort by filename and title
+  'name' => 'NOME FILE',
+  'title' => 'TITOLO',
+  'sort_da' => 'Ordina per data (prima i meno recenti)',
+  'sort_dd' => 'Ordina per data (prima i più recenti)',
+  'sort_na' => 'Ordina per nome (A-Z)',
+  'sort_nd' => 'Ordina per nome (Z-A)',
+  'sort_ta' => 'Ordina per titolo (A-Z)',
+  'sort_td' => 'Ordina per titolo (Z-A)',
+  'position' => 'POSIZIONE', //cpg1.4
+  'sort_pa' => 'Elenca per posizione (ascendente)', //cpg1.4
+  'sort_pd' => 'Elenca per posizione (discendente)', //cpg1.4
+  'download_zip' => 'Scarica come file ZIP',
+  'pic_on_page' => '%d file su %d pagina(e)',
+  'user_on_page' => '%d utenti su %d pagina(e)',
+  'enter_alb_pass' => 'Inserisci la password per l\'album', //cpg1.4
+  'invalid_pass' => 'Password non valida', //cpg1.4
+  'pass' => 'Password', //cpg1.4
+  'submit' => 'Invia', //cpg1.4
+);
+
+$lang_img_nav_bar = array(
+  'thumb_title' => 'Ritorna all\'elenco miniature',
+  'pic_info_title' => 'Mostra/nascondi informazioni sul file',
+  'slideshow_title' => 'Presentazione',
+  'ecard_title' => 'Invia questo file come cartolina',
+  'ecard_disabled' => 'Cartoline disabilitate',
+  'ecard_disabled_msg' => 'Non possiedi i permessi necessari per inviare cartoline', //js-alert
+  'prev_title' => 'Visualizza file precedente',
+  'next_title' => 'Visualizza file successivo',
+  'pic_pos' => 'FILE %s/%s',
+  'report_title' => 'Segnala questo file ad un amministratore', //cpg1.4
+  'go_album_end' => 'Vai alla fine', //cpg1.4
+  'go_album_start' => 'Torna all\'inizio', //cpg1.4
+  'go_back_x_items' => 'Vai indietro di %s elementi', //cpg1.4
+  'go_forward_x_items' => 'vai avanti di %s elementi', //cpg1.4
+);
+
+$lang_rate_pic = array(
+  'rate_this_pic' => 'Valuta questo file ',
+  'no_votes' => '(Nessun voto ancora)',
+  'rating' => '(valutazione attuale : %s / 5 con %s voti)',
+  'rubbish' => 'Spazzatura',
+  'poor' => 'Scadente',
+  'fair' => 'Discreta',
+  'good' => 'Buona',
+  'excellent' => 'Ottima',
+  'great' => 'Eccellente',
+);
+
+// ------------------------------------------------------------------------- //
+// File include/exif.inc.php
+// ------------------------------------------------------------------------- //
+
+// void
+
+// ------------------------------------------------------------------------- //
+// File include/functions.inc.php
+// ------------------------------------------------------------------------- //
+
+$lang_cpg_die = array(
+  INFORMATION => $lang_info,
+  ERROR => $lang_error,
+  CRITICAL_ERROR => 'Errore critico',
+  'file' => 'File: ',
+  'line' => 'Line: ',
+);
+
+$lang_display_thumbnails = array(
+  'filename' => 'Nome file=', //cpg1.4
+  'filesize' => 'Peso file=', //cpg1.4
+  'dimensions' => 'Dimensioni=', //cpg1.4
+  'date_added' => 'Data inserimento=', //cpg1.4
+);
+
+$lang_get_pic_data = array(
+  'n_comments' => '%s commenti',
+  'n_views' => '%s visite',
+  'n_votes' => '(%s voti)',
+);
+
+$lang_cpg_debug_output = array(
+  'debug_info' => 'Informazioni di debug',
+  'select_all' => 'Seleziona tutto',
+  'copy_and_paste_instructions' => 'Se stai per chiedere aiuto sul forum di supporto di Coppermine, copia e incolla questo output di debug nel vostro thread quando richiesto, insieme al messaggio di errore (se esistente). Accertati di cambiare nella query ogni password con ***** prima di postarle. <br />Nota: Questo è solo per informazione e non significa che ci sia un errore nella tua galleria.', //cpg1.4
+  'phpinfo' => 'Mostra PhPInfo',
+  'notices' => 'Avvisi', //cpg1.4
+);
+
+$lang_language_selection = array(
+  'reset_language' => 'Lingua predefinita',
+  'choose_language' => 'Seleziona lingua',
+);
+
+$lang_theme_selection = array(
+  'reset_theme' => 'Tema predefinito',
+  'choose_theme' => 'Seleziona un tema',
+);
+
+$lang_version_alert = array(
+  'version_alert' => 'Versione non supportata!', //cpg1.4
+  'no_stable_version' => 'Hai installato Coppermine %s (%s) una versione indicata ad utenti esperti - questa versione non ha nessun supporto e nessuna garanzia. Usala a tuo rischio o esegui un downgrade all\'ultima versione stabile se necessiti di supporto!', //cpg1.4
+  'gallery_offline' => 'La Galleria è al momento fuori linea, sarà visibile solo da te come amministratore. Non dimenticarti di rimetterla in linea una volta terminata la manutenzione.', //cpg1.4
+);
+
+$lang_create_tabs = array(
+  'previous' => 'Precedente', //cpg1.4
+  'next' => 'Successiva', //cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File include/init.inc.php
+// ------------------------------------------------------------------------- //
+
+// void
+
+// ------------------------------------------------------------------------- //
+// File keyword.inc.php                                                      //
+// ------------------------------------------------------------------------- //
+
+// void
+
+// ------------------------------------------------------------------------- //
+// File include/picmgmt.inc.php
+// ------------------------------------------------------------------------- //
+
+// void
+
+// ------------------------------------------------------------------------- //
+// File include/plugin_api.inc.php
+// ------------------------------------------------------------------------- //
+$lang_plugin_api = array(
+  'error_wakeup' => "Impossibile richiamare il plugin '%s'", //cpg1.4
+  'error_install' => "Impossibile installare il plugin '%s'", //cpg1.4
+  'error_uninstall' => "Impossibile disinstallare il plugin '%s'", //cpg1.4
+  'error_sleep' => "Impossibile disinstallare il plugin '%s'<br />", //cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File include/smilies.inc.php
+// ------------------------------------------------------------------------- //
+
+if (defined('SMILIES_PHP')) $lang_smilies_inc_php = array(
+  'Exclamation' => 'Esclamazione',
+  'Question' => 'Domanda',
+  'Very Happy' => 'Molto felice',
+  'Smile' => 'Sorridente',
+  'Sad' => 'Triste',
+  'Surprised' => 'Sorpreso',
+  'Shocked' => 'Scioccato',
+  'Confused' => 'Confuso',
+  'Cool' => 'Figo!',
+  'Laughing' => 'Sto ridendo',
+  'Mad' => 'Pazzo',
+  'Razz' => 'Pernacchia',
+  'Embarassed' => 'Imbarazzato',
+  'Crying or Very sad' => 'Molto triste',
+  'Evil or Very Mad' => 'Cattivo',
+  'Twisted Evil' => 'Molto cattivo',
+  'Rolling Eyes' => 'Perplesso',
+  'Wink' => 'Occhiolino',
+  'Idea' => 'Idea',
+  'Arrow' => 'Freccia',
+  'Neutral' => 'Neutrale',
+  'Mr. Green' => 'Mr. Green',
+);
+
+// ------------------------------------------------------------------------- //
+// File addpic.php
+// ------------------------------------------------------------------------- //
+
+// void
+
+// ------------------------------------------------------------------------- //
+// File mode.php //cpg1.4
+// ------------------------------------------------------------------------- //
+
+if (defined('MODE_PHP')) $lang_mode_php = array(
+  0 => 'Lascio il modo amministratore...',
+  1 => 'Entro in modo amministratore...',
+);
+
+// ------------------------------------------------------------------------- //
+// File albmgr.php
+// ------------------------------------------------------------------------- //
+
+if (defined('ALBMGR_PHP')) $lang_albmgr_php = array(
+  'alb_need_name' => 'Gli album devono avere un nome !', //js-alert
+  'confirm_modifs' => 'Sicuro di voler applicare queste modifiche ?', //js-alert
+  'no_change' => 'Nessuna modifica eseguita !', //js-alert
+  'new_album' => 'Nuovo album',
+  'confirm_delete1' => 'Sicuro di voler cancellare questo album ?', //js-alert
+  'confirm_delete2' => '\nTutti i file e i commenti contenuti andranno persi !', //js-alert
+  'select_first' => 'Seleziona un album prima', //js-alert
+  'alb_mrg' => 'Gestione album',
+  'my_gallery' => '* Galleria personale *',
+  'no_category' => '* Nessuna categoria *',
+  'delete' => 'Cancella',
+  'new' => 'Nuovo',
+  'apply_modifs' => 'Applica modifiche',
+  'select_category' => 'Seleziona categoria',
+);
+
+// ------------------------------------------------------------------------- //
+// File banning.php
+// ------------------------------------------------------------------------- //
+
+if (defined('BANNING_PHP')) $lang_banning_php = array(
+  'title' => 'Estrometti utenti', //cpg1.4
+  'user_name' => 'Nome utente', //cpg1.4
+  'ip_address' => 'Indirizzo IP', //cpg1.4
+  'expiry' => 'Scadenza (vuoto significa permanente)', //cpg1.4
+  'edit_ban' => 'Salva modifiche', //cpg1.4
+  'delete_ban' => 'Cancella', //cpg1.4
+  'add_new' => 'Aggiungi nuovo utente estromesso', //cpg1.4
+  'add_ban' => 'Aggiungi', //cpg1.4
+  'error_user' => 'Impossibile trovare utente', //cpg1.4
+  'error_specify' => 'Devi specificare o il nome utente o un indirizzo IP', //cpg1.4
+  'error_ban_id' => 'ID estromissione non valido!', //cpg1.4
+  'error_admin_ban' => 'Non puoi estrometterti da solo!', //cpg1.4
+  'error_server_ban' => 'Vuoi estromettere il tuo stesso server? Tsk tsk, non lo puoi fare...', //cpg1.4
+  'error_ip_forbidden' => 'Non puoi estromettere questo IP - si tratta di un IP non-routable (privato) comunque!<br />Se vuoi consentire il banning egli IP privati, devi cambiare le preferenze nella <a href="admin.php">Configurazione</a> (ha senso solo se Coppermine gira su una LAN).', //cpg1.4
+  'lookup_ip' => 'Verifica un indirizzo IP', //cpg1.4
+  'submit' => 'Vai!', //cpg1.4
+  'select_date' => 'seleziona data', //cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File bridgemgr.php //cpg1.4
+// ------------------------------------------------------------------------- //
+
+if (defined('BRIDGEMGR_PHP')) $lang_bridgemgr_php = array(
+  'title' => 'Integrazione guidata',
+  'warning' => 'Attenzione: usando questo procedimento guidato i dati sensibili verranno trasmessi tramite moduli html. Fallo girare solo sul tuo PC (non su macchine pubbliche come in un internet cafe), e assicurati di pulire la cache del navigatore e i file temporanei dopo aver finito, o altri potrebbero accedere ai tuoi dati!',
+  'back' => 'indietro',
+  'next' => 'avanti',
+  'start_wizard' => 'Inizia integrazione guidata',
+  'finish' => 'Finisci',
+  'hide_unused_fields' => 'Nascondi campi inutilizzati (consigliato)',
+  'clear_unused_db_fields' => 'Pulisci valori del database non validi (consigliato)',
+  'custom_bridge_file' => 'Il nome del tuo file di integrazione personalizzato (Se il nome del file di integrazione è <i>miofile.inc.php</i>, inserisci <i>miofile</i> in questo campo)',
+  'no_action_needed' => 'Nessuna azione necessaria in questo passo. Premi \'avanti\' per continuare.',
+  'reset_to_default' => 'Ripristina impostazioni predefinite',
+  'choose_bbs_app' => 'Scegli l\'applicazione con la quale integrare Coppermine',
+  'support_url' => 'Vai qui per il supporto a questa applicazione',
+  'settings_path' => 'Percorso usato dalla BBS',
+  'database_connection' => 'Connessione database',
+  'database_tables' => 'Tabelle del database',
+  'bbs_groups' => 'Gruppi della BBS',
+  'license_number' => 'Numero di licenza',
+  'license_number_explanation' => 'inserisci il tuo numero di licenza (se necessario)',
+  'db_database_name' => 'Nome del database',
+  'db_database_name_explanation' => 'Inserisci il nome del database usato dalla BBS',
+  'db_hostname' => 'Indirizzo del database',
+  'db_hostname_explanation' => 'Indirizzo dove risiede il tuo database mySQL, di solito &quot;localhost&quot;',
+  'db_username' => 'Nome utente del database',
+  'db_username_explanation' => 'Utente mySQL da usare per la connessione con la BBS',
+  'db_password' => 'Password del database',
+  'db_password_explanation' => 'Passsword per questo utente mySQL',
+  'full_forum_url' => 'URL della BBS',
+  'full_forum_url_explanation' => 'URL della BBS (incluso http:// , es. http://www.yourdomain.tld/forum)',
+  'relative_path_of_forum_from_webroot' => 'Percorso della BBS rispetto alla cartella iniziale del sito',
+  'relative_path_of_forum_from_webroot_explanation' => 'Percorso relativo della BBS rispetto alla cartella iniziale del sito web (Esempio: se la tua board risiede su http://www.yourdomain.tld/forum/, inserisci &quot;/forum/&quot; in questo campo)',
+  'relative_path_to_config_file' => 'Percorso della BBS rispetto alla cartella di Coppermine',
+  'relative_path_to_config_file_explanation' => 'Percorso relativo della BBS, partendo dalla cartella di Coppermine (es. &quot;../forum/&quot; se la tua board risiede su http://www.yourdomain.tld/forum/ e Coppermine su http://www.yourdomain.tld/gallery/)',
+  'cookie_prefix' => 'Prefisso cookie',
+  'cookie_prefix_explanation' => 'questo deve essere il nome del cookie della BBS',
+  'table_prefix' => 'Prefisso tabelle',
+  'table_prefix_explanation' => 'Deve corrispondere al prefisso scelto per la BBS.',
+  'user_table' => 'Tabella utente',
+  'user_table_explanation' => '(solitamente il valore predefinito dovrebbe andar bene, a meno che la tua installazione non sia standard)',
+  'session_table' => 'Tabella sessioni',
+  'session_table_explanation' => '(solitamente il valore predefinito dovrebbe andar bene, a meno che la tua installazione non sia standard)',
+  'group_table' => 'Tabella gruppi',
+  'group_table_explanation' => '(solitamente il valore di default dovrebbe andar bene, a meno che la tua installazione non sia standard)',
+  'group_relation_table' => 'Tabella relazioni gruppi',
+  'group_relation_table_explanation' => '(solitamente il valore predefinito dovrebbe andar bene, a meno che la tua installazione non sia standard)',
+  'group_mapping_table' => 'Tabella mappatura gruppi',
+  'group_mapping_table_explanation' => '(solitamente il valore predefinito dovrebbe andar bene, a meno che la tua installazione non sia standard)',
+  'use_standard_groups' => 'Utilizza i gruppi standard della BBS',
+  'use_standard_groups_explanation' => 'Utilizza i gruppi utente standard (consigliato). Questo annullerà ogni personalizzazione alle impostazioni dei gruppi creata in questa pagina. Disabilita questa opzione SOLO se sai veramente cosa stai facendo!',
+  'validating_group' => 'Gruppo in attesa di convalida',
+  'validating_group_explanation' => 'ID del gruppo della BBS che comprende gli account utente che richiedono di essere convalidati (solitamente il valore predefinito dovrebbe andar bene, a meno che la tua installazione non sia standard)',
+  'guest_group' => 'Gruppo Ospiti',
+  'guest_group_explanation' => 'ID del gruppo della BBS che comprende gli ospiti (utenti anonimi) (il valore predefinito dovrebbe andar bene, cambialo solo se sai cosa stai facendo)',
+  'member_group' => 'Gruppo Utenti registrati',
+  'member_group_explanation' => 'ID del gruppo della BBS che comprende gli utenti &quot;regolari&quot; (il valore predefinito dovrebbe andar bene, cambialo solo se sai cosa stai facendo)',
+  'admin_group' => 'Gruppo Amministratori',
+  'admin_group_explanation' => 'ID del gruppo della BBS che comprende gli amministratori (il valore predefinito dovrebbe andar bene, cambialo solo se sai cosa stai facendo)',
+  'banned_group' => 'Gruppo Utenti estromessi',
+  'banned_group_explanation' => 'ID del gruppo della BBS che comprende gli utenti estromessi (il valore predefinito dovrebbe andar bene, cambialo solo se sai cosa stai facendo)',
+  'global_moderators_group' => 'Gruppo Moderatori globali',
+  'global_moderators_group_explanation' => 'ID del gruppo della BBSche comprende i moderatori globali (il valore predefinito dovrebbe andar bene, cambialo solo se sai cosa stai facendo)',
+  'special_settings' => 'Impostazioni specifiche BBS',
+  'logout_flag' => 'Versione phpBB (per gestione logout)',
+  'logout_flag_explanation' => 'La versione del tuo forum phpBB (questa impostazione specifica come vengono gestiti i logouts)',
+  'use_post_based_groups' => 'Utilizzi gruppi basati sul numero di post?',
+  'logout_flag_yes' => '2.0.5 o superiore',
+  'logout_flag_no' => '2.0.4 o inferiore',
+  'use_post_based_groups_explanation' => 'Inserire anche i gruppi basati sul numero di post (consente una gestione particolareggiata dei permessi) o solo i gruppi di default (consente un livello di amministrazione semplice, consigliato)? Puoi cambiare questa impostazione anche in seguito.',
+  'use_post_based_groups_yes' => 'si',
+  'use_post_based_groups_no' => 'no',
+  'error_title' => 'Devi correggere questi errori prima di continuare. Torna alla schermata precedente.',
+  'error_specify_bbs' => 'Devi specificare con quale applicazione vuoi eseguire l\'integrazione.',
+  'error_no_blank_name' => 'Non puoi lasciare vuoto il nome del tuo file di integrazione personalizzato.',
+  'error_no_special_chars' => 'Il nome del file di integrazione non deve contenere caratteri speciali eccetto (_) e (-)!',
+  'error_bridge_file_not_exist' => 'Il file di integrazione %s non esiste sul server. Controlla di averlo caricato.',
+  'finalize' => 'abilita/disabilita integrazione con la BBS',
+  'finalize_explanation' => 'Bene, le impostazioni specificate sono state inserite nel database, ma l\'integrazione con la BBS non è stata abilitata. Puoi abilitarla/disabilitarda anche successivamente, in qualsiasi momento. Ricordati il nome utente dell\'account amministratore e la password dell\'installazione Coppermine autonoma: potrebbe servirti in seguito per effettuare modifiche. Se qualcosa non dovesse andare a buon fine, vai su  %s e disabilita l\'integrazione con la BBS, usando l\'account amministratore.',
+  'your_bridge_settings' => 'Impostazioni per l\'integrazione',
+  'title_enable' => 'Abilita integrazione con %s',
+  'bridge_enable_yes' => 'Abilita',
+  'bridge_enable_no' => 'Disabilita',
+  'error_must_not_be_empty' => 'non deve essere vuoto',
+  'error_either_be' => 'deve essere o %s o %s',
+  'error_folder_not_exist' => '%s non esiste. Correggi il valore inserito per %s',
+  'error_cookie_not_readible' => 'Coppermine non riesce a leggere un cookie chiamato %s. Correggi il valore inserito per %s, o vai sul pannello di amministrazione della tua BBS e assicurati che il percorso del cookie sia raggiungibile da Coppermine.',
+  'error_mandatory_field_empty' => 'Non puoi lasciare il campo %s vuoto: riempilo col valore appropriato.',
+  'error_no_trailing_slash' => 'Non ci deve essere una sbarra nel campo %s.',
+  'error_trailing_slash' => 'Ci deve essere una sbarra nel campo %s.',
+  'error_db_connect' => 'Impossibile connettersi al database mySQL con i parametri specificati. Di seguito la risposta del database:',
+  'error_db_name' => 'Anche se Coppermine è riuscita a connettersi, non è riuscita a trovare il database %s. Assicurati di aver specificato %s correttamente. Di seguito la risposta del database:',
+  'error_prefix_and_table' => '%s e ',
+  'error_db_table' => 'Impossibile trovare la tabella %s. Assicurati di aver specificato %s correttamente.',
+  'recovery_title' => 'Gestione integrazione: riparazione di emergenza',
+  'recovery_explanation' => 'Se sei arrivato qui per amministrare l\'integrazione della BBS con la tua galleria Coppermine, devi prima effettuare il login come amministratore. Se non puoi effettuare il login poichè il bridging non funziona correttamente, puoi disabilitare l\'integrazione in questa pagina. Inserendo utente e password non ti consentirà di effettuare il login, ma disabiliterà l\'integrazione con la BBS. Controlla la documentazione per dettagli.',
+  'username' => 'Utente',
+  'password' => 'Password',
+  'disable_submit' => 'Invia',
+  'recovery_success_title' => 'Autorizzato con successo',
+  'recovery_success_content' => 'Hai disabilitato con successo il bridging con la BBS. La tua installazione di Coppermine ora gira come autonoma.',
+  'recovery_success_advice_login' => 'Connettiti come amministratore per modificare le impostazioni di bridging e/o abilitare di nuovo l\'integrazione con la BBS.',
+  'goto_login' => 'Vai alla pagina di login',
+  'goto_bridgemgr' => 'Vai a Gestione integrazione',
+  'recovery_failure_title' => 'Autorizzazione fallita',
+  'recovery_failure_content' => 'Hai fornito credenziali non corrette. Devi fornire i dati di amministratore della versione autonoma (normalmente quelle impostate durante l\'installazione).',
+  'try_again' => 'ritenta',
+  'recovery_wait_title' => 'Aspetta, non è ancora trascorso un tempo sufficiente',
+  'recovery_wait_content' => 'Per motivi di sicurezza questo script non consente sessioni fallite di login in rapida successione, quindi devi aspettare qualche tempo prima di ritentare.',
+  'wait' => 'attendi',
+  'create_redir_file' => 'Crea file di reindirizzamento (consigliato)',
+  'create_redir_file_explanation' => 'Per reindirizzare gli utenti a Coppermine una volta effettuato il login alla BBS necessiti di un file di redirect da creare nella cartella della BBS stessa. Se selezioni questa opzione , la gestione bridging tenterà di creare questo file per te, o fornirà un codice per creare manualmente il file.',
+  'browse' => 'sfoglia',
+);
+
+// ------------------------------------------------------------------------- //
+// File calendar.php //cpg1.4
+// ------------------------------------------------------------------------- //
+
+if (defined('CALENDAR_PHP')) $lang_calendar_php = array(
+  'title' => 'Calendario', //cpg1.4
+  'close' => 'chiudi', //cpg1.4
+  'clear_date' => 'azzera data', //cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File catmgr.php
+// ------------------------------------------------------------------------- //
+
+if (defined('CATMGR_PHP')) $lang_catmgr_php = array(
+  'miss_param' => 'Parametri richiesti per l\'operazione \'%s\'non forniti !',
+  'unknown_cat' => 'La categoria selezionata non esiste nel database',
+  'usergal_cat_ro' => 'La categoria Gallerie utenti non può essere cancellata !',
+  'manage_cat' => 'Gestione categorie',
+  'confirm_delete' => 'Sicuro di voler CANCELLARE questa categoria', //js-alert
+  'category' => 'Categoria',
+  'operations' => 'Operazioni',
+  'move_into' => 'Sposta in',
+  'update_create' => 'Aggiorna/Crea categoria',
+  'parent_cat' => 'Categoria madre',
+  'cat_title' => 'Titolo categoria',
+  'cat_thumb' => 'Miniatura categoria',
+  'cat_desc' => 'Descrizione categoria',
+  'categories_alpha_sort' => 'Elenca categorie alfabeticamente (invece che in ordine personalizzato)', //cpg1.4
+  'save_cfg' => 'Salva configurazione', //cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File admin.php //cpg1.4
+// ------------------------------------------------------------------------- //
+
+if (defined('ADMIN_PHP')) $lang_admin_php = array(
+  'title' => 'Configurazione galleria', //cpg1.4
+  'manage_exif' => 'Gestione dati EXIF', //cpg1.4
+  'manage_plugins' => 'Gestione plugins', //cpg1.4
+  'manage_keyword' => 'Gestione parole chiave', //cpg1.4
+  'restore_cfg' => 'Ripristina impostazioni di sistema',
+  'save_cfg' => 'Salva nuova configurazione',
+  'notes' => 'Note',
+  'info' => 'Informazione',
+  'upd_success' => 'Configurazione di Coppermine aggiornata',
+  'restore_success' => 'Configurazione predefinita ripristinata',
+  'name_a' => 'Nome ascendente',
+  'name_d' => 'Nome discendente',
+  'title_a' => 'Titolo ascendente',
+  'title_d' => 'Titolo discendente',
+  'date_a' => 'Data ascendente',
+  'date_d' => 'Data discendente',
+  'pos_a' => 'Posizione ascendente', //cpg1.4
+  'pos_d' => 'Posizione discendente', //cpg1.4
+  'th_any' => 'Entrambe',
+  'th_ht' => 'Altezza',
+  'th_wd' => 'Larghezza',
+  'label' => 'testo',
+  'item' => 'bandiera',
+  'debug_everyone' => 'Tutti',
+  'debug_admin' => 'Solo amministratori',
+  'no_logs'=> 'Nessuno', //cpg1.4
+  'log_normal'=> 'Normali', //cpg1.4
+  'log_all' => 'Completi', //cpg1.4
+  'view_logs' => 'Guarda rapporti', //cpg1.4
+  'click_expand' => 'clicca sul nome della sezione per espandere', //cpg1.4
+  'expand_all' => 'Espandi tutto', //cpg1.4
+  'notice1' => '(*) Queste impostazioni non devono essere cambiate se hai già dei file nel database.', //cpg1.4 - (relocated)
+  'notice2' => '(**) Quando modifichi queste impostazioni, solo i file aggiunti da questo momento in poi ne saranno affetti, quindi è consigliabile non cambiare queste impostazioni se sono già presenti dei file nella galleria. Puoi comunque applicare i cambiamenti ai file esistenti con gli &quot;<a href="util.php">Strumenti di amministrazione</a> (ridimensiona immagini)&quot; dal menu Amministrazione.', //cpg1.4 - (relocated)
+  'notice3' => '(***) Tutti i file di rapporto sono in inglese.', //cpg1.4 - (relocated)
+  'bbs_disabled' => 'Funzione non abilitata nell\'integrazione BBS', //cpg1.4
+  'auto_resize_everyone' => 'Tutti', //cpg1.4
+  'auto_resize_user' => 'Solo utente', //cpg1.4
+  'ascending' => 'ascendente', //cpg1.4
+  'descending' => 'discendente', //cpg1.4
+);
+
+if (defined('ADMIN_PHP')) $lang_admin_data = array(
+  'Impostazioni generali',
+  array('Nome galleria', 'gallery_name', 0, 'f=index.htm&amp;as=admin_general_name&amp;ae=admin_general_name_end'), //cpg1.4
+  array('Descrizione galleria', 'gallery_description', 0, 'f=index.htm&amp;as=admin_general_description&amp;ae=admin_general_description_end'), //cpg1.4
+  array('Email amministratore', 'gallery_admin_email', 0, 'f=index.htm&amp;as=admin_general_email&amp;ae=admin_general_email_end'), //cpg1.4
+  array('URL della cartella web di Coppermine (no \'index.php\' o simili alla fine)', 'ecards_more_pic_target', 0, 'f=index.htm&amp;as=admin_general_coppermine-url&amp;ae=admin_general_coppermine-url_end'), //cpg1.4
+  array('URL della home page', 'home_target', 0, 'f=index.htm&amp;as=admin_general_home-url&amp;ae=admin_general_home-url_end'), //cpg1.4
+  array('Consenti di scaricare i preferiti in formato ZIP', 'enable_zipdownload', 1, 'f=index.htm&amp;as=admin_general_zip-download&amp;ae=admin_general_zip-download_end'), //cpg1.4
+  array('Fuso orario relativo al GMT (ora attuale: ' . localised_date(-1, $comment_date_fmt) . ')','time_offset',0, 'f=index.htm&amp;as=admin_general_time-offset&amp;ae=admin_general_time-offset_end&amp;top=1'), //cpg1.4
+  array('Abilita password criptate (non reversibile)','enable_encrypted_passwords',1, 'f=index.htm&amp;as=admin_general_encrypt_password_start&amp;ae=admin_general_encrypt_password_end&amp;top=1'), // cpg 1.4
+  array('Abilita icone di aiuto (disponibile solo in inglese)','enable_help',9, 'f=index.htm&amp;as=admin_general_help&amp;ae=admin_general_help_end'), //cpg1.4
+  array('Abilita parole chiave cliccabili nella ricerca','clickable_keyword_search',14, 'f=index.htm&amp;as=admin_general_keywords_start&amp;ae=admin_general_keywords_end'), //cpg1.4
+  array('Abilita plugin', 'enable_plugins', 12, 'f=index.htm&amp;as=admin_general_enable-plugins&amp;ae=admin_general_enable-plugins_end'),  //cpg1.4
+  array('Consenti estromissione degli IP non-routable (privati)', 'ban_private_ip', 1,  'f=index.htm&amp;as=admin_general_private-ip&amp;ae=admin_general_private-ip_end'), //cpg1.4
+  array('Interfaccia per l\'aggiunta cumulativa navigabile', 'browse_batch_add', 1, 'f=index.htm&amp;as=admin_general_browsable_batch_add&amp;ae=admin_general_browsable_batch_add_end'), //cpg1.4
+
+  'Lingua e impostazioni codifica caratteri',
+  array('Lingua', 'lang', 5, 'f=index.htm&amp;as=admin_language_language&amp;ae=admin_language_language_end'), //cpg1.4
+  array('Passa all\'inglese se non si trova la traduzione?', 'language_fallback', 1, 'f=index.htm&amp;as=admin_language_fallback&amp;ae=admin_language_fallback_end'), //cpg1.4
+  array('Codifica caratteri', 'charset', 4, 'f=index.htm&amp;as=admin_language_charset&amp;ae=admin_language_charset_end'), //cpg1.4
+  array('Mostra lista lingue', 'language_list', 1, 'f=index.htm&amp;as=admin_language_list&amp;ae=admin_language_list_end'), //cpg1.4
+  array('Mostra bandiere lingue', 'language_flags', 8, 'f=index.htm&amp;as=admin_language_flags&amp;ae=admin_language_flags_end&amp;top=1'), //cpg1.4
+  array('Mostra &quot;Ripristina&quot; nel menu Selezione lingua', 'language_reset', 1, 'f=index.htm&amp;as=admin_language_reset&amp;ae=admin_language_reset_end&amp;top=1'), //cpg1.4
+  //array('Display previous/next on tabbed pages', 'previous_next_tab', 1), //cpg1.4
+
+  'Impostazioni tema',
+  array('Tema', 'theme', 6, 'f=index.htm&amp;as=admin_theme_theme&amp;ae=admin_theme_theme_end'), //cpg1.4
+  array('Mostra lista temi', 'theme_list', 1, 'f=index.htm&amp;as=admin_theme_theme_list&amp;ae=admin_theme_theme_list_end'), //cpg1.4
+  array('Mostra &quot;Ripristina&quot; nel menu Selezione temi', 'theme_reset', 1, 'f=index.htm&amp;as=admin_theme_theme_reset&amp;ae=admin_theme_theme_reset_end'), //cpg1.4
+  array('Mostra FAQ', 'display_faq', 1, 'f=index.htm&amp;as=admin_theme_faq&amp;ae=admin_theme_faq_end'), //cpg1.4
+  array('Nome voce personalizzata nel menu Galleria', 'custom_lnk_name', 0,'f=index.htm&amp;as=admin_theme_custom_lnk_name&amp;ae=admin_theme_custom_lnk_name_end'), //cpg1.4
+  array('URL voce personalizzata nel menu Galleria', 'custom_lnk_url', 0,'f=index.htm&amp;as=admin_language_custom_lnk_url&amp;ae=admin_language_custom_lnk_url_end'), //cpg1.4
+  array('Mostra aiuto BBCode', 'show_bbcode_help', 1, 'f=index.htm&amp;as=admin_theme_bbcode&amp;ae=admin_theme_bbcode_end&amp;top=1'), //cpg1.4
+  array('Mostra il "blocco delle vanterie" nei temi definiti come conformi ad XHTML e CSS','vanity_block',1, 'f=index.htm&amp;as=vanity_block&amp;ae=vanity_block_end'), //cpg1.4
+  array('Percorso per intestazione pagina personalizzata', 'custom_header_path', 0, 'f=index.htm&amp;as=admin_theme_include_path_start&amp;ae=admin_theme_include_path_end'), //cpg1.4
+  array('Percorso per piè di pagina personalizzato', 'custom_footer_path', 0, 'f=index.htm&amp;as=admin_theme_include_path_start&amp;ae=admin_theme_include_path_end'), //cpg1.4
+
+  'Visualizzazione Lista album',
+  array('Larghezza della tabella principale (pixel o %)', 'main_table_width', 0, 'f=index.htm&amp;as=admin_album_table-width&amp;ae=admin_album_table-width_end'), //cpg1.4
+  array('Numero di livelli di categorie da mostrare', 'subcat_level', 0, 'f=index.htm&amp;as=admin_album_category-levels&amp;ae=admin_album_category-levels_end'), //cpg1.4
+  array('Numero di album da mostrare', 'albums_per_page', 0, 'f=index.htm&amp;as=admin_album_number&amp;ae=admin_album_number_end'), //cpg1.4
+  array('Numero di colonne per la lista album', 'album_list_cols', 0, 'f=index.htm&amp;as=admin_album_columns&amp;ae=admin_album_columns_end'), //cpg1.4
+  array('Dimensioni delle miniature in pixel', 'alb_list_thumb_size', 0, 'f=index.htm&amp;as=admin_album_thumbnail-size&amp;ae=admin_album_thumbnail-size_end'), //cpg1.4
+  array('Contenuto della pagina principale', 'main_page_layout', 0, 'f=index.htm&amp;as=admin_album_list_content&amp;ae=admin_album_list_content_end'), //cpg1.4
+  array('Mostra miniature degli album al primo livello per le categorie','first_level',1, 'f=index.htm&amp;as=admin_album_first-level_thumbs&amp;ae=admin_album_first-level_thumbs_end'), //cpg1.4
+  array('Elenca categorie alfabeticamente (invece che in ordine personalizzato)','categories_alpha_sort',1, 'f=index.htm&amp;as=admin_album_list_alphasort_start&amp;ae=admin_album_list_alphasort_end'), //cpg1.4
+  array('Mostra numero di file collegati','link_pic_count',1, 'f=index.htm&amp;as=admin_album_linked_files_start&amp;ae=admin_album_linked_files_end'), //cpg1.4
+
+  'Visualizzazione Miniature',
+  array('Numero di colonne nella pagina miniature', 'thumbcols', 0, 'f=index.htm&amp;as=admin_thumbnail_columns&amp;ae=admin_thumbnail_columns_end'), //cpg1.4
+  array('Numero di righe nella pagina miniature', 'thumbrows', 0, 'f=index.htm&amp;as=admin_thumbnail_rows&amp;ae=admin_thumbnail_rows_end'), //cpg1.4
+  array('Numero massimo di etichette con i numeri di pagina da mostrare', 'max_tabs', 10, 'f=index.htm&amp;as=admin_thumbnail_tabs&amp;ae=admin_thumbnail_tabs_end'), //cpg1.4
+  array('Mostra descrizione file (oltre al titolo) sotto la miniatura', 'caption_in_thumbview', 1, 'f=index.htm&amp;as=admin_thumbnail_display_caption&amp;ae=admin_thumbnail_display_caption_end'), //cpg1.4
+  array('Mostra numero di visite sotto la miniatura', 'views_in_thumbview', 1, 'f=index.htm&amp;as=admin_thumbnail_display_views&amp;ae=admin_thumbnail_display_views_end'), //cpg1.4
+  array('Mostra numero di commenti sotto la miniatura', 'display_comment_count', 1, 'f=index.htm&amp;as=admin_thumbnail_display_comments&amp;ae=admin_thumbnail_display_comments_end'), //cpg1.4
+  array('Mostra nome utente sotto la miniatura', 'display_uploader', 1, 'f=index.htm&amp;as=admin_thumbnail_display_uploader&amp;ae=admin_thumbnail_display_uploader_end'), //cpg1.4
+  //array('Display name of admin uploaders below the thumbnail', 'display_admin_uploader', 1, 'f=index.htm&amp;as=admin_thumbnail_display_admin_uploader&amp;ae=admin_thumbnail_display_admin_uploader_end'), //cpg1.4
+  array('Mostra nome file sotto la miniatura', 'display_filename', 1, 'f=index.htm&amp;as=admin_thumbnail_display_filename&amp;ae=admin_thumbnail_display_filename_end'), //cpg1.4
+  //array('Mostra descrizione album', 'alb_desc_thumb', 1, 'f=index.htm&amp;as=admin_thumbnail_display_description&amp;ae=admin_thumbnail_display_description_end'), //cpg1.4
+  array('Ordinamento predefinito per i file', 'default_sort_order', 3, 'f=index.htm&amp;as=admin_thumbnail_default_sortorder&amp;ae=admin_thumbnail_default_sortorder_end'), //cpg1.4
+  array('Numero minimo di voti per apparire tra i "più votati" ', 'min_votes_for_rating', 0, 'f=index.htm&amp;as=admin_thumbnail_minimum_votes&amp;ae=admin_thumbnail_minimum_votes_end'), //cpg1.4
+
+  'Visualizzazione Immagini', //cpg1.4
+  array('Larghezza della tabella per la visualizzazione (pixel o %)', 'picture_table_width', 0, 'f=index.htm&amp;as=admin_image_comment_table-width&amp;ae=admin_image_comment_table-width_end'), //cpg1.4
+  array('Informazioni file visibili in modo predefinito', 'display_pic_info', 1, 'f=index.htm&amp;as=admin_image_comment_info_visible&amp;ae=admin_image_comment_info_visible_end'), //cpg1.4
+  array('Lunghezza massima descrizione', 'max_img_desc_length', 0, 'f=index.htm&amp;as=admin_image_comment_descr_length&amp;ae=admin_image_comment_descr_length_end'), //cpg1.4
+  array('Numero massimo di caratteri in una parola', 'max_com_wlength', 0, 'f=index.htm&amp;as=admin_image_comment_chars_per_word&amp;ae=admin_image_comment_chars_per_word_end'), //cpg1.4
+  array('Mostra pellicola', 'display_film_strip', 1, 'f=index.htm&amp;as=admin_image_comment_filmstrip_toggle&amp;ae=admin_image_comment_filmstrip_toggle_end'), //cpg1.4
+  array('Mostra nome file sotto le miniature nella pellicola', 'display_film_strip_filename', 1, 'f=index.htm&amp;as=admin_image_comment_display_film_strip_filename&amp;ae=admin_image_comment_display_film_strip_filename_end'), //cpg1.4
+  array('Numero di elementi nella pellicola', 'max_film_strip_items', 0, 'f=index.htm&amp;as=admin_image_comment_filmstrip_number&amp;ae=admin_image_comment_filmstrip_number_end'), //cpg1.4
+  array('Intervallo di scorrimento presentazione in millisecondi (1 secondo = 1000 millisecondi)', 'slideshow_interval', 0, 'f=index.htm&amp;as=admin_image_comment_slideshow_interval&amp;ae=admin_image_comment_slideshow_interval_end'), //cpg1.4
+
+  'Impostazioni commenti', //cpg1.4
+  array('Filtra parolacce nei commenti', 'filter_bad_words', 1, 'f=index.htm&amp;as=admin_image_comment_bad_words&amp;ae=admin_image_comment_bad_words_end'), //cpg1.4
+  array('Consenti faccine nei commenti', 'enable_smilies', 1, 'f=index.htm&amp;as=admin_image_comment_smilies&amp;ae=admin_image_comment_smilies_end'), //cpg1.4
+  array('Consenti più commenti consecutivi dello stesso utente sul medesimo file (disabilita protezione flood)', 'disable_comment_flood_protect', 1, 'f=index.htm&amp;as=admin_image_comment_flood&amp;ae=admin_image_comment_flood_end'), //cpg1.4
+  array('Numero massimo di righe in un commento', 'max_com_lines', 0, 'f=index.htm&amp;as=admin_image_comment_lines&amp;ae=admin_image_comment_lines_end'), //cpg1.4
+  array('Lunghezza massima di un commento', 'max_com_size', 0, 'f=index.htm&amp;as=admin_image_comment_length&amp;ae=admin_image_comment_length_end'), //cpg1.4
+  array('Notifica dei commenti all\'amministratore via email', 'email_comment_notification', 1, 'f=index.htm&amp;as=admin_image_comment_admin_notify&amp;ae=admin_image_comment_admin_notify_end'), //cpg1.4
+  array('Ordinamento dei commenti', 'comments_sort_descending', 17, 'f=index.htm&amp;as=admin_comment_sort_start&amp;ae=admin_comment_sort_end'), //cpg1.4
+  array('Prefisso per autori di commenti anonimi', 'comments_anon_pfx', 0, 'f=index.htm&amp;as=comments_anon_pfx&amp;ae=comments_anon_pfx_end'), //cpg1.4
+
+  'Impostazioni file e miniature',
+  array('Qualità file JPEG', 'jpeg_qual', 0, 'f=index.htm&amp;as=admin_picture_thumbnail_jpeg_quality&amp;ae=admin_picture_thumbnail_jpeg_quality_end'), //cpg1.4
+  array('Dimensione massima (larghezza od altezza) per le miniature <a href="#notice2" class="clickable_option">**</a>', 'thumb_width', 0, 'f=index.htm&amp;as=admin_picture_thumbnail_max-dimension&amp;ae=admin_picture_thumbnail_max-dimension_end'), //cpg1.4
+  array('Applica dimensione massima a <a href="#notice2" class="clickable_option">**</a>', 'thumb_use', 7, 'f=index.htm&amp;as=admin_picture_thumbnail_use-dimension&amp;ae=admin_picture_thumbnail_use-dimension_end'), //cpg1.4
+  array('Crea immagini intermedie','make_intermediate',1, 'f=index.htm&amp;as=admin_picture_thumbnail_intermediate_toggle&amp;ae=admin_picture_thumbnail_intermediate_toggle_end'), //cpg1.4
+  array('Altezza o larghezza massime per le immagini/video intermedie <a href="#notice2" class="clickable_option">**</a>', 'picture_width', 0, 'f=index.htm&amp;as=admin_picture_thumbnail_intermediate_dimension&amp;ae=admin_picture_thumbnail_intermediate_dimension_end'), //cpg1.4
+  array('Peso massimo dei file caricabili dagli utenti (Kb)', 'max_upl_size', 0, 'f=index.htm&amp;as=admin_picture_thumbnail_max_upload_size&amp;ae=admin_picture_thumbnail_max_upload_size_end'), //cpg1.4
+  array('Dimensione massima (larghezza od altezza) per immagini/video da caricare (in pixel)', 'max_upl_width_height', 0, 'f=index.htm&amp;as=admin_picture_thumbnail_max_upload_dimension&amp;ae=admin_picture_thumbnail_max_upload_dimension_end'), //cpg1.4
+  array('Ridimensionamento automatico immagini che sforano i limiti', 'auto_resize', 16, 'f=index.htm&amp;as=admin_picture_thumbnail_auto-resize&amp;ae=admin_picture_thumbnail_auto-resize_end'), //cpg1.4
+
+  'Impostazioni avanzate file e miniature',
+  array('Gli album possono essere privati (Nota: se cambi da \'si\' a \'no\' ogni album attualmente privato diventerà pubblico)', 'allow_private_albums', 1, 'f=index.htm&amp;as=admin_picture_thumb_advanced_private_toggle&amp;ae=admin_picture_thumb_advanced_private_toggle_end'), //cpg1.4
+  array('Mostra agli ospiti un\'icona per gli album privati','show_private',1, 'f=index.htm&amp;as=admin_picture_thumb_advanced_private_icon_show&amp;ae=admin_picture_thumb_advanced_private_icon_show_end'), //cpg1.4
+  array('Caratteri proibiti nei nomi dei file', 'forbiden_fname_char',0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_filename_forbidden_chars&amp;ae=admin_picture_thumb_advanced_filename_forbidden_chars_end'), //cpg1.4
+  //array('Formati immagine consentiti per i file caricati', 'allowed_file_extensions',0, 'f=index.htm&amp;as=&amp;ae=_end'), //cpg1.4
+  array('Formati immagine consentiti', 'allowed_img_types',0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_pic_extensions&amp;ae=admin_picture_thumb_advanced_pic_extensions_end'), //cpg1.4
+  array('Formati filmato consentiti', 'allowed_mov_types',0, 'f=index.htm&amp;as=admin_thumbs_advanced_movie&amp;ae=admin_thumbs_advanced_movie_end'), //cpg1.4
+  array('Esegui automaticamente i filmati', 'media_autostart',1, 'f=index.htm&amp;as=admin_movie_autoplay&amp;ae=admin_movie_autoplay_end'), //cpg1.4
+  array('Formati file audio consentiti', 'allowed_snd_types',0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_audio_extensions&amp;ae=admin_picture_thumb_advanced_audio_extensions_end'), //cpg1.4
+  array('Formati documenti consentiti', 'allowed_doc_types',0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_doc_extensions&amp;ae=admin_picture_thumb_advanced_doc_extensions_end'), //cpg1.4
+  array('Metodo di ridimensionamento immagini','thumb_method',2, 'f=index.htm&amp;as=admin_picture_thumb_advanced_resize_method&amp;ae=admin_picture_thumb_advanced_resize_method_end'), //cpg1.4
+  array('Percorso utility ImageMagick \'convert\' (esempio /usr/bin/X11/)', 'impath', 0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_im_path&amp;ae=admin_picture_thumb_advanced_im_path_end'), //cpg1.4
+  //array('Formati immagine consentiti (valido solo per ImageMagick)', 'allowed_img_types',0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_allowed_imagetypes&amp;ae=admin_picture_thumb_advanced_allowed_imagetypes_end'), //cpg1.4
+  array('Opzioni linea di comando di ImageMagick', 'im_options', 0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_im_commandline&amp;ae=admin_picture_thumb_advanced_im_commandline_end'), //cpg1.4
+  array('Leggi dati EXIF nei file JPEG', 'read_exif_data', 13, 'f=index.htm&amp;as=admin_picture_thumb_advanced_exif&amp;ae=admin_picture_thumb_advanced_exif_end'), //cpg1.4
+  array('Leggi dati IPTC nei file JPEG', 'read_iptc_data', 1, 'f=index.htm&amp;as=admin_picture_thumb_advanced_iptc&amp;ae=admin_picture_thumb_advanced_iptc_end'), //cpg1.4
+  array('Cartella per gli album <a href="#notice1" class="clickable_option">*</a>', 'fullpath', 0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_albums_dir&amp;ae=admin_picture_thumb_advanced_albums_dir_end'), //cpg1.4
+  array('Cartella per i file caricati dagli utenti <a href="#notice1" class="clickable_option">*</a>', 'userpics', 0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_userpics_dir&amp;ae=admin_picture_thumb_advanced_userpics_dir_end'), //cpg1.4
+  array('Prefisso per le immagini intermedie <a href="#notice1" class="clickable_option">*</a>', 'normal_pfx', 0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_intermediate_prefix&amp;ae=admin_picture_thumb_advanced_intermediate_prefix_end'), //cpg1.4
+  array('Prefisso per le miniature <a href="#notice1" class="clickable_option">*</a>', 'thumb_pfx', 0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_thumbs_prefix&amp;ae=admin_picture_thumb_advanced_thumbs_prefix_end'), //cpg1.4
+  array('Permessi predefiniti per le cartelle', 'default_dir_mode', 0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_chmod_folder&amp;ae=admin_picture_thumb_advanced_chmod_folder_end'), //cpg1.4
+  array('Permessi predefiniti per i file', 'default_file_mode', 0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_chmod_files&amp;ae=admin_picture_thumb_advanced_chmod_files_end'), //cpg1.4
+
+  'Impostazioni utente',
+  array('Consenti nuove registrazioni', 'allow_user_registration', 1, 'f=index.htm&amp;as=admin_allow_registration&amp;ae=admin_allow_registration_end'), //cpg1.4
+  array('Consenti accesso ad utenti che non hanno effettuato il login (ospiti o anonimi)', 'allow_unlogged_access', 1, 'f=index.htm&amp;as=admin_allow_unlogged_access&amp;ae=admin_allow_unlogged_access_end'), //cpg1.4
+  array('Richiedi autenticazione via email per le nuove registrazioni', 'reg_requires_valid_email', 1, 'f=index.htm&amp;as=admin_registration_verify&amp;ae=admin_registration_verify_end'), //cpg1.4
+  array('Notifica all\'amministratore via email le nuove registrazioni', 'reg_notify_admin_email', 1, 'f=index.htm&amp;as=admin_registration_notify&amp;ae=admin_registration_notify_end'), //cpg1.4
+  array('Richiedi l\'attivazione delle registrazioni da parte dell\'amministratore', 'admin_activation', 1, 'f=index.htm&amp;as=admin_activation&amp;ae=admin_activation_end'),  //cpg1.4
+  array('Consenti a due utenti di condividere lo stesso indirizzo email', 'allow_duplicate_emails_addr', 1, 'f=index.htm&amp;as=admin_allow_duplicate_emails_addr&amp;ae=admin_allow_duplicate_emails_addr_end'), //cpg1.4
+  array('Notifica all\'amministratore via email i file in attesa di approvazione', 'upl_notify_admin_email', 1, 'f=index.htm&amp;as=admin_approval_notify&amp;ae=admin_approval_notify_end'), //cpg1.4
+  array('Consenti agli utenti di visualizzare la lista iscritti', 'allow_memberlist', 1, 'f=index.htm&amp;as=admin_user_memberlist&amp;ae=admin_user_memberlist_end'), //cpg1.4
+  array('Consenti agli iscritti di modificare il proprio indirizzo email nel profilo', 'allow_email_change', 1, 'f=index.htm&amp;as=admin_user_allow_email_change&amp;ae=admin_user_allow_email_change_end'), //cpg1.4
+  array('Consenti agli iscritti di mantenere il controllo delle loro immagini nelle gallerie pubbliche', 'users_can_edit_pics', 1, 'f=index.htm&amp;as=admin_user_editpics_public_start&amp;ae=admin_user_editpics_public_end'), //cpg1.4
+  array('Numero di login falliti consentiti prima dell\'estromissione temporanea (per evitare attacchi "brute force")', 'login_threshold', 0, 'f=index.htm&amp;as=admin_user_login_start&amp;ae=admin_user_login_end'), //cpg1.4
+  array('Durata estromissione temporanea dopo il fallimento del login', 'login_expiry', 0, 'f=index.htm&amp;as=admin_user_login_start&amp;ae=admin_user_login_end'), //cpg1.4
+  array('Abilita notifica all\'amministratore', 'report_post', 1, 'f=index.htm&amp;as=admin_user_enable_report&amp;ae=admin_user_enable_report_end'),  //cpg1.4
+
+// custom profile fields,  //cpg1.4
+  'Profili personalizzati per profilo utente (lasciare vuoto se inutilizzato).
+  Utilizzare Profilo 6 per descrizioni lunghe, come le biografie', //cpg1.4
+  array('Profilo 1 ', 'user_profile1_name', 0, 'f=index.htm&amp;as=admin_custom&amp;ae=admin_custom_end'), //cpg1.4
+  array('Profilo 2 ', 'user_profile2_name', 0), //cpg1.4
+  array('Profilo 3 ', 'user_profile3_name', 0), //cpg1.4
+  array('Profilo 4 ', 'user_profile4_name', 0), //cpg1.4
+  array('Profilo 5 ', 'user_profile5_name', 0), //cpg1.4
+  array('Profilo 6 ', 'user_profile6_name', 0), //cpg1.4
+
+  'Campi personalizzabili per descrizione immagine (lasciare vuoto se inutilizzato)',
+  array('Campo 1', 'user_field1_name', 0, 'f=index.htm&amp;as=admin_custom_image&amp;ae=admin_custom_image_end'), //cpg1.4
+  array('Campo 2', 'user_field2_name', 0),
+  array('Campo 3', 'user_field3_name', 0),
+  array('Campo 4', 'user_field4_name', 0),
+
+  'Impostazioni cookie',
+  array('Nome cookie', 'cookie_name', 0, 'f=index.htm&amp;as=admin_cookie_name&amp;ae=admin_cookie_name_end'), //cpg1.4
+  array('Percorso cookie', 'cookie_path', 0, 'f=index.htm&amp;as=admin_cookie_path&amp;ae=admin_cookie_path_end'), //cpg1.4
+
+  'Impostazioni Email  (di solito nulla deve essere cambiato; lasciare tutti i campi vuoti se insicuri)', //cpg1.4
+  array('Host SMTP (se lasciato vuoto verrà utilizzato sendmail)', 'smtp_host', 0, 'f=index.htm&amp;as=admin_email&amp;ae=admin_email_end'), //cpg1.4
+  array('Nome utente SMTP', 'smtp_username', 0), //cpg1.4
+  array('Password SMTP', 'smtp_password', 0), //cpg1.4
+
+  'Statistiche e rapporti', //cpg1.4
+  array('Rapporti <a href="#notice3" class="clickable_option">***</a>', 'log_mode', 11, 'f=index.htm&amp;as=admin_logging_log_mode&amp;ae=admin_logging_log_mode_end'), //cpg1.4
+  array('Includi le cartoline nei rapporti', 'log_ecards', 1, 'f=index.htm&amp;as=admin_general_log_ecards&amp;ae=admin_general_log_ecards_end'), //cpg1.4
+  array('Statistiche dettagliate per i voti','vote_details',1, 'f=index.htm&amp;as=admin_logging_votedetails&amp;ae=admin_logging_votedetails_end'), //cpg1.4
+  array('Statistiche dettagliate per le visite','hit_details',1, 'f=index.htm&amp;as=admin_logging_hitdetails&amp;ae=admin_logging_hitdetails_end'), //cpg1.4
+
+  'Impostazioni di manutenzione', //cpg1.4
+  array('Abilita modalità debug', 'debug_mode', 9, 'f=index.htm&amp;as=debug_mode&amp;ae=debug_mode_end'), //cpg1.4
+  array('Mostra avvisi PHP in modalità debug', 'debug_notice', 1, 'f=index.htm&amp;as=admin_misc_debug_notices&amp;ae=admin_misc_debug_notices_end'), //cpg1.4
+  array('La galleria è fuori linea?', 'offline', 1, 'f=index.htm&amp;as=admin_general_offline&amp;ae=admin_general_offline_end'), //cpg1.4
+);
+
+
+// ------------------------------------------------------------------------- //
+// File db_ecard.php
+// ------------------------------------------------------------------------- //
+
+if (defined('DB_ECARD_PHP')) $lang_db_ecard_php = array(
+  'title' => 'Cartoline inviate',
+  'ecard_sender' => 'Mittente',
+  'ecard_recipient' => 'Destinatario',
+  'ecard_date' => 'Data',
+  'ecard_display' => 'Mostra cartolina',
+  'ecard_name' => 'Nome',
+  'ecard_email' => 'Email',
+  'ecard_ip' => 'IP #',
+  'ecard_ascending' => 'ascendente',
+  'ecard_descending' => 'discendente',
+  'ecard_sorted' => 'Ordinamento',
+  'ecard_by_date' => 'per data',
+  'ecard_by_sender_name' => 'per nome mittente',
+  'ecard_by_sender_email' => 'per email mittente',
+  'ecard_by_sender_ip' => 'per IP mittente',
+  'ecard_by_recipient_name' => 'per nome destinatario',
+  'ecard_by_recipient_email' => 'per email destinatario',
+  'ecard_number' => 'mostra elemento %s a %s di %s',
+  'ecard_goto_page' => 'vai a pagina',
+  'ecard_records_per_page' => 'Elementi per pagina',
+  'check_all' => 'Seleziona tutti',
+  'uncheck_all' => 'Deseleziona tutti',
+  'ecards_delete_selected' => 'Elimina cartoline selezionate',
+  'ecards_delete_confirm' => 'Sei sicuro di voler cancellare questi elementi? Spunta la casella!',
+  'ecards_delete_sure' => 'Sono sicuro',
+);
+
+
+// ------------------------------------------------------------------------- //
+// File db_input.php
+// ------------------------------------------------------------------------- //
+
+if (defined('DB_INPUT_PHP')) $lang_db_input_php = array(
+  'empty_name_or_com' => 'Devi inserire il tuo nome e un commento',
+  'com_added' => 'Il tuo commento è stato inserito',
+  'alb_need_title' => 'Devi inserire un titolo per l\'album !',
+  'no_udp_needed' => 'Nessun aggiornamento necessario.',
+  'alb_updated' => 'Album aggiornato',
+  'unknown_album' => 'L\'album selezionato non esiste o non hai i permessi per caricare file in questo album',
+  'no_pic_uploaded' => 'Nessun file caricato !<br /><br />Se veramente hai selezionato un file da caricare, controlla che il server consenta il caricamento!',
+  'err_mkdir' => 'Impossibile creare la cartella %s !',
+  'dest_dir_ro' => 'La cartella di destinazione %s non è scrivibile!',
+  'err_move' => 'Impossibile spostare %s in %s !',
+  'err_fsize_too_large' => 'La dimensione del file caricato è troppo grande (il massimo consentito è %s x %s) !', //obsolete since cpg1.3 - consider removal in cpg1.4 once upload.php has been overhauled
+  'err_imgsize_too_large' => 'La dimensione del file caricato è troppo grande (il massimo consentito è %s Kb) !', //obsolete since cpg1.3 - consider removal in cpg1.4 once upload.php has been overhauled
+  'err_invalid_img' => 'Il file caricato non è un file di immagine valido!',
+  'allowed_img_types' => 'Puoi caricare solo %s immagini.',
+  'err_insert_pic' => 'Il file \'%s\' non può essere inserito nell\'album ',
+  'upload_success' => 'File caricato con successo.<br /><br />Sarà visibile dopo l\'approvazione di un amministratore.',
+  'notify_admin_email_subject' => '%s - Notifica caricamento file',
+  'notify_admin_email_body' => 'Una nuova immagine è stata inserita da %s ed è richiesta la tua approvazione. Visita %s',
+  'info' => 'Informazione',
+  'com_added' => 'Commento inserito',
+  'alb_updated' => 'Album aggiornato',
+  'err_comment_empty' => 'Il tuo commento è vuoto!',
+  'err_invalid_fext' => 'Sono ammesse solo le seguenti estensioni: <br /><br />%s.',
+  'no_flood' => 'Spiacente, ma sei l\'autore dell\'ultimo commento inserito per questo file<br /><br />Modifica il commento precedente',
+  'redirect_msg' => 'Stai per essere reindirizzato.<br /><br /><br />Clicca \'CONTINUA\' se la pagina non si aggiorna automaticamente',
+  'upl_success' => 'File aggiunto con successo',
+  'email_comment_subject' => 'Commento postato su Coppermine Photo Gallery',
+  'email_comment_body' => 'Qualcuno ha inserito un commento nella tua galleria. Vedilo su',
+  'album_not_selected' => 'Album non selezionato', //cpg1.4
+  'com_author_error' => 'Un utente registrato sta usando questo nome utente, esegui il login o usane un altro', //cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File delete.php
+// ------------------------------------------------------------------------- //
+
+if (defined('DELETE_PHP')) $lang_delete_php = array(
+  'caption' => 'Didascalia',
+  'fs_pic' => 'Immagine a grandezza piena',
+  'del_success' => 'cancellato con successo',
+  'ns_pic' => 'Immagine normale',
+  'err_del' => 'non può essere cancellato',
+  'thumb_pic' => 'miniatura',
+  'comment' => 'commento',
+  'im_in_alb' => 'immagine nell\'album',
+  'alb_del_success' => 'Album &laquo;%s&raquo; cancellato', //cpg1.4
+  'alb_mgr' => 'Gestione album',
+  'err_invalid_data' => 'Dati non validi ricevuti in \'%s\'',
+  'create_alb' => 'Creazione album \'%s\'',
+  'update_alb' => 'Aggiornamento album \'%s\' con titolo \'%s\' e indice \'%s\'',
+  'del_pic' => 'Cancella file',
+  'del_alb' => 'Cancella album',
+  'del_user' => 'Cancella utente',
+  'err_unknown_user' => 'L\'utente selezionato non esiste !',
+  'err_empty_groups' => 'Tabella del gruppo inesistente o vuota!', //cpg1.4
+  'comment_deleted' => 'Commento cancellato con successo',
+  'npic' => 'Immagine', //cpg1.4
+  'pic_mgr' => 'Modifica immagine', //cpg1.4
+  'update_pic' => 'Aggiornamento immagine \'%s\' con nome file \'%s\' e indice \'%s\'', //cpg1.4
+  'username' => 'Nome utente', //cpg1.4
+  'anonymized_comments' => '%s commento/i reso/i anonimo/i', //cpg1.4
+  'anonymized_uploads' => '%s file pubblico/i reso/i anonimo/i', //cpg1.4
+  'deleted_comments' => '%s commento/i cancellato/i', //cpg1.4
+  'deleted_uploads' => '%s file pubblico/i cancellato/i', //cpg1.4
+  'user_deleted' => 'utente %s cancellato', //cpg1.4
+  'activate_user' => 'Attiva utente', //cpg1.4
+  'user_already_active' => 'Account già attivo', //cpg1.4
+  'activated' => 'Attivato', //cpg1.4
+  'deactivate_user' => 'Disattiva utente', //cpg1.4
+  'user_already_inactive' => 'Account già disattivato', //cpg1.4
+  'deactivated' => 'Disattivato', //cpg1.4
+  'reset_password' => 'Reimposta password', //cpg1.4
+  'password_reset' => 'Password reimpostata a %s', //cpg1.4
+  'change_group' => 'Cambia gruppo principale', //cpg1.4
+  'change_group_to_group' => 'Cambiamento da %s a %s', //cpg1.4
+  'add_group' => 'Aggiungi gruppo secondario', //cpg1.4
+  'add_group_to_group' => 'Aggiunta dell\'utente %s al gruppo %s. Adesso è membro di %s come gruppo primario e di %s come secondario/i.', //cpg1.4
+  'status' => 'Stato', //cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File displayecard.php
+// ------------------------------------------------------------------------- //
+
+if (defined('DISPLAYECARD_PHP')) {
+
+$lang_displayecard_php = array(
+  'invalid_data' => 'I dati per la cartolina alla quale tenti di accedere sono stati corrotti dal programma di posta. Controlla che il collegamento sia completo.', //cpg1.4
+);
+}
+
+// ------------------------------------------------------------------------- //
+// File displayimage.php
+// ------------------------------------------------------------------------- //
+
+if (defined('DISPLAYIMAGE_PHP')){
+
+$lang_display_image_php = array(
+  'confirm_del' => 'Sicuro di voler CANCELLARE questo file ? \\nAnche i commenti saranno cancellati.', //js-alert
+  'del_pic' => 'CANCELLA FILE',
+  'size' => '%s x %s pixel',
+  'views' => '%s volte',
+  'slideshow' => 'Presentazione',
+  'stop_slideshow' => 'Ferma presentazione',
+  'view_fs' => 'Clicca per ingrandire l\'immagine',
+  'edit_pic' => 'Modifica informazioni file', //cpg1.4
+  'crop_pic' => 'Ritaglia e ruota',
+  'set_player' => 'Cambia riproduttore',
+);
+
+$lang_picinfo = array(
+  'title' =>'Informazioni file',
+  'Filename' => 'Nome file',
+  'Album name' => 'Nome album',
+  'Rating' => 'Valutazione (%s voti)',
+  'Keywords' => 'Parole chiave',
+  'File Size' => 'Dimensione file',
+  'Date Added' => 'Aggiunto il', //cpg1.4
+  'Dimensions' => 'Dimensioni',
+  'Displayed' => 'Visto',
+  'URL' => 'URL', //cpg1.4
+  'Make' => 'Marca', //cpg1.4
+  'Model' => 'Modello', //cpg1.4
+  'DateTime' => 'Ora e data', //cpg1.4
+  'DateTimeOriginal' => 'Ora e data scatto', //cpg1.4
+  'ISOSpeedRatings'=>'ISO', //cpg1.4
+  'MaxApertureValue' => 'Apertura diaframma', //cpg1.4
+  'FocalLength' => 'Lunghezza focale', //cpg1.4
+  'Comment' => 'Commento',
+  'addFav'=>'Aggiungi ai preferiti',
+  'addFavPhrase'=>'Preferiti',
+  'remFav'=>'Rimuovi dai preferiti',
+  'iptcTitle'=>'Titolo IPTC',
+  'iptcCopyright'=>'Copyright IPTC',
+  'iptcKeywords'=>'Parole chiave IPTC',
+  'iptcCategory'=>'Categoria IPTC',
+  'iptcSubCategories'=>'Sottocategoria IPTC',
+  'ColorSpace' => 'Spazio colore', //cpg1.4
+  'ExposureProgram' => 'Programma di esposizione', //cpg1.4
+  'Flash' => 'Flash', //cpg1.4
+  'MeteringMode' => 'Modalità di ripresa', //cpg1.4
+  'ExposureTime' => 'Tempo d\'esposizione', //cpg1.4
+  'ExposureBiasValue' => 'Bias esposizione', //cpg1.4
+  'ImageDescription' => ' Descrizione immagine', //cpg1.4
+  'Orientation' => 'Orientamento', //cpg1.4
+  'xResolution' => 'Risoluzione X', //cpg1.4
+  'yResolution' => 'Risoluzione Y', //cpg1.4
+  'ResolutionUnit' => 'Unità per la risoluzione', //cpg1.4
+  'Software' => 'Programma', //cpg1.4
+  'YCbCrPositioning' => 'Posizionamento YCbCr', //cpg1.4
+  'ExifOffset' => 'Offset Exif', //cpg1.4
+  'IFD1Offset' => 'Offset IFD1', //cpg1.4
+  'FNumber' => 'FNumber', //cpg1.4
+  'ExifVersion' => 'Versione Exif', //cpg1.4
+  'DateTimeOriginal' => 'Ora e data originale', //cpg1.4
+  'DateTimedigitized' => 'Ora e data digitale', //cpg1.4
+  'ComponentsConfiguration' => 'Configurazione componenti', //cpg1.4
+  'CompressedBitsPerPixel' => 'Bits compressi per pixel', //cpg1.4
+  'LightSource' => 'Sorgente luminosa', //cpg1.4
+  'ISOSetting' => 'Impostazioni ISO', //cpg1.4
+  'ColorMode' => 'Modalità colore', //cpg1.4
+  'Quality' => 'Qualità', //cpg1.4
+  'ImageSharpening' => 'Nitidezza immagine', //cpg1.4
+  'FocusMode' => 'Modalità di messa a fuoco', //cpg1.4
+  'FlashSetting' => 'Impostazioni Flash', //cpg1.4
+  'ISOSelection' => 'Selezione ISO', //cpg1.4
+  'ImageAdjustment' => 'Rifinitura immagine', //cpg1.4
+  'Adapter' => 'Adattatore', //cpg1.4
+  'ManualFocusDistance' => 'Distanza di messa a fuoco manuale', //cpg1.4
+  'DigitalZoom' => 'Zoom digitale', //cpg1.4
+  'AFFocusPosition' => 'Posizione AutoFocus', //cpg1.4
+  'Saturation' => 'Saturazione', //cpg1.4
+  'NoiseReduction' => 'Riduzione disturbo', //cpg1.4
+  'FlashPixVersion' => 'Versione FlashPix', //cpg1.4
+  'ExifImageWidth' => 'Larghezza immagine Exif', //cpg1.4
+  'ExifImageHeight' => 'Altezza immagine Exif', //cpg1.4
+  'ExifInteroperabilityOffset' => 'Interoperabilità Offset Exif', //cpg1.4
+  'FileSource' => 'Sorgente file', //cpg1.4
+  'SceneType' => 'Tipo di soggetto', //cpg1.4
+  'CustomerRender' => 'Customer Render', //cpg1.4
+  'ExposureMode' => 'Modalità di esposizione', //cpg1.4
+  'WhiteBalance' => 'Bilanciamento del bianco', //cpg1.4
+  'DigitalZoomRatio' => 'Rapporto zoom digitale', //cpg1.4
+  'SceneCaptureMode' => 'Modalità di cattura scena', //cpg1.4
+  'GainControl' => 'Controllo guadagno', //cpg1.4
+  'Contrast' => 'Contrasto', //cpg1.4
+  'Saturation' => 'Saturazione', //cpg1.4
+  'Sharpness' => 'Nitidezza', //cpg1.4
+  'ManageExifDisplay' => 'Gestione visualizzazione Exif', //cpg1.4
+  'submit' => 'Invia', //cpg1.4
+  'success' => 'Informazioni aggiornate con successo.', //cpg1.4
+  'details' => 'Dettagli', //cpg1.4
+);
+
+$lang_display_comments = array(
+  'OK' => 'OK',
+  'edit_title' => 'Modifica questo commento',
+  'confirm_delete' => 'Sicuro di voler cancellare questo commento?', //js-alert
+  'add_your_comment' => 'Aggiungi il tuo commento',
+  'name'=>'Nome',
+  'comment'=>'Commento',
+  'your_name' => 'Anonimo',
+  'report_comment_title' => 'Segnala questo commento all\'amministratore', //cpg1.4
+);
+
+$lang_fullsize_popup = array(
+  'click_to_close' => 'Clicca sull\'immagine per chiudere questa finestra',
+);
+
+}
+
+// ------------------------------------------------------------------------- //
+// File ecard.php
+// ------------------------------------------------------------------------- //
+
+if (defined('ECARDS_PHP') || defined('DISPLAYECARD_PHP')) $lang_ecard_php =array(
+  'title' => 'Invia una cartolina',
+  'invalid_email' => '<font color="red"><b>Attenzione</b></font>: indirizzo email non valido:', //cpg1.4
+  'ecard_title' => 'Una cartolina da %s per te',
+  'error_not_image' => 'Solo le immagini possono essere inviate come cartoline.',
+  'view_ecard' => 'Collegamento alternativo se la cartolina non viene visualizzata correttamente', //cpg1.4
+  'view_ecard_plaintext' => 'Per vedere la cartolina, copia e incolla questo url nella barra degli indirizzi del tuo navigatore:', //cpg1.4
+  'view_more_pics' => 'Visualizza altre immagini', //cpg1.4
+  'send_success' => 'La cartolina è stata inviata',
+  'send_failed' => 'Spiacente, ma il server non può inviare la cartolina.',
+  'from' => 'Da',
+  'your_name' => 'Il tuo nome',
+  'your_email' => 'Il tuo indirizzo email',
+  'to' => 'A',
+  'rcpt_name' => 'Nome del destinatario',
+  'rcpt_email' => 'Indirizzo email del destinatario',
+  'greetings' => 'Oggetto', //cpg1.4
+  'message' => 'Messaggio', //cpg1.4
+  'ecards_footer' => 'Inviato da %s da IP %s alle %s (ora della Galleria)', //cpg1.4
+  'preview' => 'Anteprima cartolina', //cpg1.4
+  'preview_button' => 'Anteprima', //cpg1.4
+  'submit_button' => 'Invia cartolina', //cpg1.4
+  'preview_view_ecard' => 'Collegamento alternativo alla cartolina una volta generata. Non funzionerà per le anteprime.', //cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File report_file.php //cpg1.4
+// ------------------------------------------------------------------------- //
+
+if (defined('REPORT_FILE_PHP') || defined('DISPLAYREPORT_PHP')) $lang_report_php =array(
+  'title' => 'Segnala all\'amministratore', //cpg1.4
+  'invalid_email' => '<b>Attenzione</b> : indirizzo email non valido !', //cpg1.4
+  'report_subject' => 'Segnalazione da %s nella galleria %s', //cpg1.4
+  'view_report' => 'Collegamento alternativo se la segnalazione non viene visualizzata correttamente', //cpg1.4
+  'view_report_plaintext' => 'Per vedere la segnalazione, copia e incolla questo url nella barra degli indirizzi del tuo navigatore:', //cpg1.4
+  'view_more_pics' => 'Galleria', //cpg1.4
+  'send_success' => 'Segnalazione inviata', //cpg1.4
+  'send_failed' => 'Spiacente ma il server non può inviare la tua segnalazione...', //cpg1.4
+  'from' => 'Da', //cpg1.4
+  'your_name' => 'Il tuo nome', //cpg1.4
+  'your_email' => 'Il tuo indirizzo email', //cpg1.4
+  'to' => 'A', //cpg1.4
+  'administrator' => 'Amministratore/Moderatore', //cpg1.4
+  'subject' => 'Oggetto', //cpg1.4
+  'comment_field_name' => 'Segnalazione messaggio di "%s"', //cpg1.4
+  'reason' => 'Motivo', //cpg1.4
+  'message' => 'Messaggio', //cpg1.4
+  'report_footer' => 'Inviato da %s da IP %s alle %s (ora della Galleria)', //cpg1.4
+  'obscene' => 'osceno', //cpg1.4
+  'offensive' => 'offensivo', //cpg1.4
+  'misplaced' => 'fuori tema', //cpg1.4
+  'missing' => 'mancante', //cpg1.4
+  'issue' => 'errore/impossibile visualizzare', //cpg1.4
+  'other' => 'altro', //cpg1.4
+  'refers_to' => 'La segnalazione file si riferisce a', //cpg1.4
+  'reasons_list_heading' => 'Motivo della segnalazione:', //cpg1.4
+  'no_reason_given' => 'Nessun motivo indicato', //cpg1.4
+  'go_comment' => 'Vai al commento', //cpg1.4
+  'view_comment' => 'Visualizza segnalazione completa con commento', //cpg1.4
+  'type_file' => 'file', //cpg1.4
+  'type_comment' => 'commento', //cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File editpics.php
+// ------------------------------------------------------------------------- //
+
+if (defined('EDITPICS_PHP')) $lang_editpics_php = array(
+  'pic_info' => 'Informazioni sul file',
+  'album' => 'Album',
+  'title' => 'Titolo',
+  'filename' => 'Nome file', //cpg1.4
+  'desc' => 'Descrizione',
+  'keywords' => 'Parole chiave',
+  'new_keyword' => 'Nuove parole chiave', //cpg1.4
+  'new_keywords' => 'Nuove parole chiave trovate', //cpg1.4
+  'existing_keyword' => 'Parole chiave esistenti', //cpg1.4
+  'pic_info_str' => '%s &times; %s - %s KB - %s visite - %s voti',
+  'approve' => 'Approva file',
+  'postpone_app' => 'Posticipa approvazione',
+  'del_pic' => 'Cancella file',
+  'del_all' => 'Cancella TUTTI i file', //cpg1.4
+  'read_exif' => 'Rileggi informazioni EXIF',
+  'reset_view_count' => 'Azzera contatore visite',
+  'reset_all_view_count' => 'Azzera TUTTI i contatori visite', //cpg1.4
+  'reset_votes' => 'Azzera voti',
+  'reset_all_votes' => 'Azzera TUTTI i voti', //cpg1.4
+  'del_comm' => 'Cancella commenti',
+  'del_all_comm' => 'Cancella TUTTI i commenti', //cpg1.4
+  'upl_approval' => 'Approvazione caricamento', //cpg1.4
+  'edit_pics' => 'Modifica file',
+  'see_next' => 'Visualizza file successivi',
+  'see_prev' => 'Visualizza file precedenti',
+  'n_pic' => '%s file',
+  'n_of_pic_to_disp' => 'Numero di file da visualizzare',
+  'apply' => 'Applica modifiche',
+  'crop_title' => 'Utilità di fotoritocco Coppermine',
+  'preview' => 'Anteprima',
+  'save' => 'Salva immagine',
+  'save_thumb' =>'Salva come miniatura',
+  'gallery_icon' => 'Imposta come icona personale', //cpg1.4
+  'sel_on_img' =>'la selezione deve trovarsi interamente sull\'immagine!', //js-alert
+  'album_properties' =>'Proprietà album', //cpg1.4
+  'parent_category' =>'Categoria radice', //cpg1.4
+  'thumbnail_view' =>'Vista miniature', //cpg1.4
+  'select_unselect' =>'Seleziona/Deseleziona tutti', //cpg1.4
+  'file_exists' => "Il file di destinazione '%s' esiste già.", //cpg1.4
+  'rename_failed' => "Impossibile rinominare '%s' in '%s'.", //cpg1.4
+  'src_file_missing' => "File sorgente '%s' mancante.", // cpg 1.4
+  'mime_conv' => "Impossibile convertire il file '%s' in '%s'",//cpg1.4
+  'forb_ext' => 'Estensione file non consentita.',//cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File faq.php
+// ------------------------------------------------------------------------- //
+
+if (defined('FAQ_PHP')) $lang_faq_php = array(
+  'faq' => 'Risposte a domande frequenti',
+  'toc' => 'Indice dei contenuti',
+  'question' => 'Domanda: ',
+  'answer' => 'Risposta: ',
+);
+
+if (defined('FAQ_PHP')) $lang_faq_data = array(
+  'FAQ Generiche',
+  array('Perchè mi devo registrare?', 'La registrazione potrebbe anche non essere richiesta dall\'amministratore. Fornisce ad un utente funzionalità aggiuntive quali la possibilità di caricare file, tenere una lista di file preferiti, valutare le immagini e inserire commenti, ecc.', 'allow_user_registration', '1'),
+  array('Come posso registrarmi?', 'Clicca su &quot;Registrazione&quot; e compila tutti i campi richiesti (e quelli opzionali se vuoi).<br />Se l\'amministratore ha abilitato la notifica via email, allora dopo aver inviato la registrazione dovresti ricevere un messaggio email all\'indirizzo da te indicato, con le istruzioni su come attivare l\'account. L\'account deve essere attivato per poter effettuare il login.', 'allow_user_registration', '1'), //cpg1.4
+  array('Come eseguo il login?', 'Clicca su &quot;Login&quot;, inserisci username e password e seleziona &quot;Ricordami&quot; per essere riconosciuto dal sito in seguito.<br />IMPORTANTE: Per poter usare la funzione &quot;Ricordami&quot;, i cookie devono essere abilitati e il cookie di questo sito non deve essere cancellato.', 'offline', 0),
+  array('Perchè non posso effettuare il login?', 'Ti sei registrato e hai cliccato sul collegamento ricevuto via email? Il tuo account dovrebbe essere attivo. Per altri problemi di login contattare l\'amministratore.', 'offline', 0),
+  array('Cosa fare se dimentico la password?', 'Puoi cliccare su &quot;Password dimenticata&quot;, se il collegamento è presente nel sito. Altrimenti contatta l\'amministratore per una nuova password.', 'offline', 0),
+  //array('Cosa fare nel caso io abbia cambiato indirizzo email?', 'Esegui il login e modifica il tuo indirizzo email cliccando sul collegamento &quot;Profilo&quot;', 'offline', 0),
+  array('Come salvo le immagini nei &quot;Preferiti&quot;?', 'Clicca su un\'immagine e poi sull\'icona &quot;Informazioni sul file&quot; (<img src="images/info.gif" width="16" height="16" border="0" alt="Info immagine" />); scorri verso il basso le informazioni sull\'immagine e clicca su &quot;Aggiungi ai preferiti&quot;. L\'amministratore potrebbe aver attivato le &quot;Informazioni sul file&quot; in modo predefinito.<br />IMPORTANTE: I cookie devono essere abilitati e il cookie di questo sito non deve essere cancellato.', 'offline', 0),
+  array('Come valuto un file?', 'Clicca sulla miniatura, vai in fondo e scegli una valutazione.', 'offline', 0),
+  array('Come inserisco un commento per un\'immagine?', 'Clicca su una miniatura, vai in fondo e posta un commento.', 'offline', 0),
+  array('Come aggiungo un file?', 'Clicca su &quot;Carica file&quot; e seleziona l\'album nel quale vuoi caricare il file. Clicca su &quot;Sfoglia&quot;, trova il file da caricare sul tuo PC e clicca su &quot;Apri.&quot; Se vuoi, aggiungi un titolo e una descrizione, infine clicca su &quot;Invia&quot;.<br />In alternativa, se usi <b>Windows XP</b>, puoi caricare più file contemporaneamente direttamente dai tuoi album privati mediante l\'applicazione &quot;Pubblicazione web guidata&quot;.<br />Per istruzioni su come farlo, e dove trovare il file di registro corretto, clicca <a href="xp_publish.php">qui.</a>', 'allow_private_albums', 1), //cpg1.4
+  array('Dove carico le immagini?', 'Potrai caricare un file in uno dei tuoi album nella &quot;Galleria Personale&quot;. L\'amministratore potrebbe anche consentirti di caricare un file in uno o più album della galleria principale.', 'allow_private_albums', 0),
+  array('Di che formato e di che dimensione possono essere i file caricati?', 'Le dimensioni ed il formato (jpg, png, etc.) sono a discrezione dell\'amministratore.', 'offline', 0),
+  array('Come posso creare, rinominare o cancellare un album nella &quot;Galleria Personale&quot;?', 'Dovresti già essere in &quot;Modalità amministratore&quot;<br />Clicca su &quot;Crea/Organizza album&quot; e clicca su &quot;Nuovo&quot;. Cambia &quot;Nuovo album&quot; nel nome che desideri.<br />Puoi anche rinominare qualsiasi album nella tua galleria.<br />Alla fine, clicca su &quot;Applica modifiche&quot;.', 'allow_private_albums', 0),
+  array('Come posso impedire agli utenti di visualizzare i miei album?', 'Dovresti già essere in &quot;Modalità amministratore&quot;<br />Clicca su &quot;Modifica album&quot; e, nella barra &quot;Aggiorna album&quot;, seleziona l\'album che intendi modificare.<br />Lì potrai cambiare nome, descrizione, miniatura, impedire la visualizzazione e i commenti.<br />Alla fine, clicca &quot;Aggiorna album&quot;.', 'allow_private_albums', 0),
+  array('Come visualizzo le gallerie degli altri utenti?', 'Clicca su &quot;Lista album&quot; e seleziona &quot;Gallerie utenti&quot;.', 'allow_private_albums', 0),
+  array('Cosa sono i cookie?', 'I cookie sono file di puro testo contenenti i dati inviati da un sito web al tuo computer.<br />Di solito consentono di lasciare il sito e di tornarci senza dover nuovamente eseguire il login, ed altre facilitazioni.', 'offline', 0),
+  array('Dove posso trovare questa piattaforma per il mio sito?', 'Coppermine è una galleria multimediale assolutamente libera, rilasciata sotto le licenze GNU GPL. &Egrave; ricca di funzioni e portabile su varie piattaforme. Visita la <a href="http://coppermine-gallery.net/">home page di Coppermine</a> per saperne di più o per scaricarla.', 'offline', 0),
+
+  'Navigazione del sito',
+  array('Che cos\'è la &quot;Lista album&quot;?', 'Mostra l\'intera categoria nella quale ti trovi, con un collegamento ad ogni album. Se non sei in una categoria, ti mostrerà l\'intera galleria con un collegamento ad ogni categoria. Le miniature possono essere un collegamento alle categorie.', 'offline', 0),
+  array('Che cos\'è la &quot;Galleria personale&quot;?', 'Questa funzione consente agli iscritti di creare le proprie gallerie e di creare, cancellare o modificare gli album, nonchè di caricare file negli stessi.', 'allow_private_albums', 1), //cpg1.4
+  array('Qual è la differenza tra &quot;Modalità amministratore&quot; e &quot;Modalità utente&quot;?', 'La modalità amministratore consente ad un utente di modificare le proprie gallerie (e anche quelle degli altri, se autorizzato).', 'allow_private_albums', 0),
+  array('Che cos\'è &quot;Carica file&quot;?', 'Questa funzione consente agli utenti di caricare un file (dimensioni e tipo sono fissati dall\'amministratore) in una galleria selezionata o da te o dallo stesso amministratore.', 'allow_private_albums', 0),
+  array('Che cos\'è &quot;Ultimi arrivi&quot;?', 'Questa funzione mostra gli ultimi file caricati sul sito.', 'offline', 0),
+  array('Che cos\'è &quot;Ultimi commenti&quot;?', 'Questa funzione mostra gli ultimi commenti assegnati ai file inseriti dagli utenti.', 'offline', 0),
+  array('Che cos\'è &quot;Più visti&quot;?', 'Questa funzione mostra i file maggiormente visualizzati dagli utenti (registrati o meno).', 'offline', 0),
+  array('Che cos\'è &quot;Più votati&quot;?', 'Questa funzione mostra i file maggiormente votati dagli utenti, mostrando anche la valutazione media (es. cinque utenti danno ciascuno <img src="images/rating3.gif" width="65" height="14" border="0" alt="" />: il file avrà una valutazione media di <img src="images/rating3.gif" width="65" height="14" border="0" alt="" />; cinque utenti che valutano il file da 1 a 5 (1,2,3,4,5) risulteranno in una media di <img src="images/rating3.gif" width="65" height="14" border="0" alt="" /> .)<br />Le valutazioni vanno da <img src="images/rating5.gif" width="65" height="14" border="0" alt="migliore" /> (migliore) a <img src="images/rating0.gif" width="65" height="14" border="0" alt="peggiore" /> (peggiore).', 'offline', 0),
+  array('Che cos\'è &quot;Preferiti&quot;?', 'Questa funzione consente agli utenti di memorizzare i propri file preferiti in un cookie inviato al proprio computer, e richiamato all\'occorrenza.', 'offline', 0),
+);
+
+
+// ------------------------------------------------------------------------- //
+// File forgot_passwd.php
+// ------------------------------------------------------------------------- //
+
+if (defined('FORGOT_PASSWD_PHP')) $lang_forgot_passwd_php = array(
+  'forgot_passwd' => 'Ricorda password',
+  'err_already_logged_in' => 'Hai già eseguito il login!',
+  'enter_email' => 'Inserisci il tuo indirizzo email', //cpg1.4
+  'submit' => 'Invia',
+  'illegal_session' => 'Sessione recupero password non valida o scaduta.', //cpg1.4
+  'failed_sending_email' => 'La password non può essere spedita !',
+  'email_sent' => 'Una email con il tuo nome utente e la password è stata spedita a %s', //cpg1.4
+  'verify_email_sent' => 'Impossibile inviare email a %s. Controlla il tuo indirizzo email per completare la procedura.', //cpg1.4
+  'err_unk_user' => 'L\'utente selezionato non esiste!',
+  'account_verify_subject' => '%s - Richiesta nuova password', //cpg1.4
+  'account_verify_body' => 'Hai richiesto una nuova password. Se sei intenzionato a procedere e ricevere una nuova password, clicca sul seguente collegamento:
+  %s', //cpg1.4
+  'passwd_reset_subject' => '%s - la tua nuova password', //cpg1.4
+  'passwd_reset_body' => 'Di seguito la nuova password richiesta:
+Utente: %s
+Password: %s
+Clicca %s per eseguire il login.', //cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File groupmgr.php
+// ------------------------------------------------------------------------- //
+
+if (defined('GROUPMGR_PHP')) $lang_groupmgr_php = array(
+  'group_name' => 'Gruppo', //cpg1.4
+  'permissions' => 'Permessi', //cpg1.4
+  'public_albums' => 'Caricamento negli album pubblici', //cpg1.4
+  'personal_gallery' => 'Galleria personale', //cpg1.4
+  'upload_method' => 'Modalità di caricamento', //cpg1.4
+  'disk_quota' => 'Quota disco', //cpg1.4
+  'rating' => 'Valutazione', //cpg1.4
+  'ecards' => 'Cartoline', //cpg1.4
+  'comments' => 'Commenti', //cpg1.4
+  'allowed' => 'Consentito', //cpg1.4
+  'approval' => 'Richiedi approvazione', //cpg1.4
+  'boxes_number' => 'N. di campi', //cpg1.4
+  'variable' => 'variabile', //cpg1.4
+  'fixed' => 'fisso', //cpg1.4
+  'apply' => 'Salva modifiche',
+  'create_new_group' => 'Crea nuovo gruppo',
+  'del_groups' => 'Cancella gruppo/i selezionato/i',
+  'confirm_del' => 'Attenzione: quando cancelli un gruppo, gli utenti appartenenti a tale gruppo saranno trasferiti al gruppo utenti Registrati!\n\nDesideri continuare?', //js-alert
+  'title' => 'Gestione gruppi',
+  'num_file_upload' => 'Campi per il caricamento di file', //cpg1.4
+  'num_URI_upload' => 'Campi per il caricamento di URL', //cpg1.4
+  'reset_to_default' => 'Imposta nome predefinito (%s) - consigliato!', //cpg1.4
+  'error_group_empty' => 'La tabella gruppi era vuota !<br /><br />Gruppi predefiniti creati, ricarica questa pagina', //cpg1.4
+  'explain_greyed_out_title' => 'Perchè questa riga non è visibile?', //cpg1.4
+  'explain_guests_greyed_out_text' => 'Non puoi cambiare le proprietà di questo gruppo, perchè hai impostato a &quot;No&quot; l\'opzione &quot;Consenti accesso senza il login (ospiti o anonimi)&quot; nella pagina di configurazione. Tutti gli ospiti (membri del gruppo %s) non possono fare altro che eseguire il login, quindi le impostazioni dei gruppi non valgono per loro.', //cpg1.4
+  'explain_banned_greyed_out_text' => 'Non puoi cambiare le impostazioni del gruppo %s perchè i membri che ne fanno parte non hanno alcun permesso.', //cpg1.4
+  'group_assigned_album' => 'Album consentito/i', //cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File index.php
+// ------------------------------------------------------------------------- //
+
+if (defined('INDEX_PHP')){
+
+$lang_index_php = array(
+  'welcome' => 'Benvenuto!',
+);
+
+$lang_album_admin_menu = array(
+  'confirm_delete' => 'Sei sicuro di voler cancellare questo album? \\nTutti i file e i commenti verranno cancellati.', //js-alert
+  'delete' => 'CANCELLA',
+  'modify' => 'PROPRIETÀ',
+  'edit_pics' => 'MODIFICA FILE',
+);
+
+$lang_list_categories = array(
+  'home' => 'Home page',
+  'stat1' => '<b>[pictures]</b> file in <b>[albums]</b> album e <b>[cat]</b> categorie con <b>[comments]</b> commenti, visti <b>[views]</b> volte',
+  'stat2' => '<b>[pictures]</b> file in <b>[albums]</b> album visti <b>[views]</b> volte',
+  'xx_s_gallery' => 'Galleria di %s',
+  'stat3' => '<b>[pictures]</b> file in <b>[albums]</b> album con <b>[comments]</b> commenti, visti <b>[views]</b> volte',
+);
+
+$lang_list_users = array(
+  'user_list' => 'Lista iscritti',
+  'no_user_gal' => 'Non ci sono gallerie utenti',
+  'n_albums' => '%s album',
+  'n_pics' => '%s file',
+);
+
+$lang_list_albums = array(
+  'n_pictures' => '%s file',
+  'last_added' => ', ultimo inserito il %s',
+  'n_link_pictures' => '%s file collegati', //cpg1.4
+  'total_pictures' => '%s file totali', //cpg1.4
+);
+
+}
+
+// ------------------------------------------------------------------------- //
+// File keywordmgr.php //cpg1.4
+// ------------------------------------------------------------------------- //
+
+if (defined('KEYWORDMGR_PHP')) $lang_keywordmgr_php = array(
+  'title' => 'Gestione parole chiave', //cpg1.4
+  'edit' => 'Modifica', //cpg1.4
+  'delete' => 'Cancella', //cpg1.4
+  'search' => 'Ricerca', //cpg1.4
+  'keyword_test_search' => 'Cerca %s in una nuova finestra', //cpg1.4
+  'keyword_del' => 'Cancella la parola chiave %s', //cpg1.4
+  'confirm_delete' => 'Sei sicuro di voler cancellare la parola chiave %s dalla galleria?', //cpg1.4  // js-alert
+  'change_keyword' => 'Cambia parola chiave', //cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File login.php
+// ------------------------------------------------------------------------- //
+
+if (defined('LOGIN_PHP')) $lang_login_php = array(
+  'login' => 'Login',
+  'enter_login_pswd' => 'Inserisci nome utente e password per connetterti',
+  'username' => 'Utente',
+  'password' => 'Password',
+  'remember_me' => 'Ricordami',
+  'welcome' => 'Benvenuto %s ...',
+  'err_login' => '*** Impossibile eseguire il login. Riprova ***',
+  'err_already_logged_in' => 'Hai già eseguito il login!',
+  'forgot_password_link' => 'Password dimenticata',
+  'cookie_warning' => 'Attenzione, il tuo navigatore non accetta i cookie', //cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File logout.php
+// ------------------------------------------------------------------------- //
+
+if (defined('LOGOUT_PHP')) $lang_logout_php = array(
+  'logout' => 'Logout',
+  'bye' => 'Arrivederci %s ...',
+  'err_not_loged_in' => 'Non hai eseguito il login!',
+);
+
+// ------------------------------------------------------------------------- //
+// File minibrowser.php  //cpg1.4
+// ------------------------------------------------------------------------- //
+
+if (defined('MINIBROWSER_PHP')) $lang_minibrowser_php = array(
+  'close' => 'Chiudi', //cpg1.4
+  'submit' => 'OK', //cpg1.4
+  'up' => 'Su di un livello', //cpg1.4
+  'current_path' => 'Percorso corrente', //cpg1.4
+  'select_directory' => 'Seleziona una cartella', //cpg1.4
+  'click_to_close' => 'Clicca sull\'immagine per chiudere la finestra',
+);
+
+// ------------------------------------------------------------------------- //
+// File modifyalb.php
+// ------------------------------------------------------------------------- //
+
+if (defined('MODIFYALB_PHP')) $lang_modifyalb_php = array(
+  'upd_alb_n' => 'Aggiorna album %s',
+  'general_settings' => 'Impostazioni generali',
+  'alb_title' => 'Titolo album',
+  'alb_cat' => 'Categoria album',
+  'alb_desc' => 'Descrizione album',
+  'alb_keyword' => 'Parola chiave per l\'album', //cpg1.4
+  'alb_thumb' => 'Miniatura album',
+  'alb_perm' => 'Permessi album',
+  'can_view' => 'L\'album può essere visto da',
+  'can_upload' => 'Gli utenti possono aggiungere file',
+  'can_post_comments' => 'Gli utenti possono aggiungere commenti',
+  'can_rate' => 'Gli utenti possono votare',
+  'user_gal' => 'Galleria utente',
+  'no_cat' => '* Nessuna categoria *',
+  'alb_empty' => 'Album vuoto',
+  'last_uploaded' => 'Ultimo arrivo',
+  'public_alb' => 'Tutti (album pubblico)',
+  'me_only' => 'Solo io',
+  'owner_only' => 'Solo per il proprietario (%s)',
+  'groupp_only' => 'Membri del gruppo %s',
+  'err_no_alb_to_modify' => 'Non puoi modificare nessun album nel database.',
+  'update' => 'Aggiorna album',
+  'reset_album' => 'Reimposta album', //cpg1.4
+  'reset_views' => 'Azzera contatore visite in %s', //cpg1.4
+  'reset_rating' => 'Azzera voti per tutti i file in %s', //cpg1.4
+  'delete_comments' => 'Cancella tutti i commenti inseriti in %s', //cpg1.4
+  'delete_files' => 'Cancella %sirreversibilmente%s tutti i file in %s', //cpg1.4
+  'views' => 'visite', //cpg1.4
+  'votes' => 'voti', //cpg1.4
+  'comments' => 'commenti', //cpg1.4
+  'files' => 'file', //cpg1.4
+  'submit_reset' => 'Applica modifiche', //cpg1.4
+  'reset_views_confirm' => 'Sono sicuro', //cpg1.4
+  'notice1' => '(*) dipende dalle impostazioni dei %sGruppi%s',  //cpg1.4 //(do not translate %s!)
+  'alb_password' => 'Password per l\'album', //cpg1.4
+  'alb_password_hint' => 'Suggerimento per la password', //cpg1.4
+  'edit_files' =>'Modifica file', //cpg1.4
+  'parent_category' =>'Categoria radice', //cpg1.4
+  'thumbnail_view' =>'Vista miniature', //cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File phpinfo.php
+// ------------------------------------------------------------------------- //
+
+if (defined('PHPINFO_PHP')) $lang_phpinfo_php = array(
+  'php_info' => 'Informazioni PHP',
+  'explanation' => 'Sono le informazioni generate dalla funzione PHP<a href="http://www.php.net/phpinfo">phpinfo()</a>, mostrate all\'interno di Coppermine.',
+  'no_link' => 'Permettere a tutti di visualizzare le informazioni PHP potrebbe creare un problema di sicurezza, questo è il motivo per cui questa pagina è visibile solo quando esegui il login da amministratore. Non puoi inviare collegamenti a questa pagina ad altri: gli verrebbe negato l\'accesso.',
+);
+
+// ------------------------------------------------------------------------- //
+// File picmgr.php //cpg1.4
+// ------------------------------------------------------------------------- //
+if (defined('PICMGR_PHP')) $lang_picmgr_php = array(
+  'pic_mgr' => 'Gestione immagini', //cpg1.4
+  'select_album' => 'Seleziona album', //cpg1.4
+  'delete' => 'Cancella', //cpg1.4
+  'confirm_delete1' => 'Sei sicuro di voler cancellare questa immagine?', //cpg1.4
+  'confirm_delete2' => '\nL\'immagine verrà cancellata definitivamente.', //cpg1.4
+  'apply_modifs' => 'Salva modifiche', //cpg1.4
+  'confirm_modifs' => 'Conferma modifiche', //cpg1.4
+  'pic_need_name' => 'Le immagini devono avere un nome!', //cpg1.4
+  'no_change' => 'Nessuna modifica effettuata!', //cpg1.4
+  'no_album' => '* Nessun album *', //cpg1.4
+  'explanation_header' => 'L\'ordinamento personalizzato che puoi scegliere in questa pagina sarà memorizzato per il tuo account solo se', //cpg1.4
+  'explanation1' => 'l\'amministratore ha impostato nella configurazione come "Ordinamento predefinito per i file" la "Posizione discendente" o la "Posizione ascendente" (impostazione globale per tutti gli utenti che non hanno scelto altre opzioni individualmente)', //cpg1.4
+  'explanation2' => 'l\'utente ha scelto "Posizione discendente" o "Posizione ascendente" nella pagina delle miniature (impostazione per ogni singolo utente)', //cpg1.4
+);
+
+
+// ------------------------------------------------------------------------- //
+// File pluginmgr.php //cpg1.4
+// ------------------------------------------------------------------------- //
+
+if (defined('PLUGINMGR_PHP')){
+
+$lang_pluginmgr_php = array(
+  'confirm_uninstall' => 'Sei sicuro di voler DISINSTALLARE questo plugin ?', //cpg1.4
+  'confirm_delete' => 'Sei sicuro di voler CANCELLARE questo plugin ?', //cpg1.4
+  'pmgr' => 'Gestione plugin', //cpg1.4
+  'name' => 'Nome', //cpg1.4
+  'author' => 'Autore', //cpg1.4
+  'desc' => 'Descrizione', //cpg1.4
+  'vers' => 'Versione', //cpg1.4
+  'i_plugins' => 'Plugin installati', //cpg1.4
+  'n_plugins' => 'Plugin non installati', //cpg1.4
+  'none_installed' => 'Nessun plugin installato', //cpg1.4
+  'operation' => 'Operazione', //cpg1.4
+  'not_plugin_package' => 'Il file caricato non è un pacchetto plugin valido.', //cpg1.4
+  'copy_error' => 'Si è verificato un errore copiando il pacchetto nella cartella plugins.', //cpg1.4
+  'upload' => 'Carica', //cpg1.4
+  'configure_plugin' => 'Configura plugin', //cpg1.4
+  'cleanup_plugin' => 'Reimposta plugin', //cpg1.4
+);
+}
+
+// ------------------------------------------------------------------------- //
+// File ratepic.php
+// ------------------------------------------------------------------------- //
+
+if (defined('RATEPIC_PHP')) $lang_rate_pic_php = array(
+  'already_rated' => 'Spiacente, hai già votato questo file!',
+  'rate_ok' => 'Il tuo voto è stato accettato',
+  'forbidden' => 'Non puoi votare i tuoi stessi file!',
+);
+
+// ------------------------------------------------------------------------- //
+// File register.php & profile.php
+// ------------------------------------------------------------------------- //
+
+if (defined('REGISTER_PHP') || defined('PROFILE_PHP')) {
+
+$lang_register_disclamer = <<<EOT
+Gli amministratori di {SITE_NAME} cercheranno in ogni modo di rimuovere o modificare ogni contenuto ritenuto non consono nel minor tempo possibile, ma è impossibile controllare ogni inserimento. Deve essere chiaro che tutti i testi inseriti in questo sito esprimono il punto di vista e le opinioni di chi li ha inseriti e non degli amministratori o del webmaster (eccetto che per i testi inseriti da loro stessi), quindi non ne possono essere ritenuti responsabili.
+<br />
+<br />
+Acconsenti a non postare nulla di abusivo, osceno, volgare, pornografico o ogni altro materiale che potrebbe violare qualsivoglia legge. Acconsenti a che il webmaster, gli amministratori e i moderatori di {SITE_NAME} possano rimuovere o modificare ogni contenuto in qualsiasi momento gli paia opportuno. Come utente accetti il fatto che ogni informazione inserita venga salvata in un database. Nessuna di queste informazioni verrà fornita a terzi senza il tuo consenso e gli amministratori non potranno essere considerati responsabili per tentativi di attacco al sistema che provochino perdite di dati.
+<br />
+<br />
+Questo sito utilizza i cookie per salvare informazioni sul tuo computer. I cookie servono solo per migliorare la navigazione. Il tuo indirizzo email viene utilizzato solo per la conferma della registrazione e per la password.
+<br />
+<br />
+Cliccando 'Accetto' di seguito accetti tutte le condizioni.
+EOT;
+
+$lang_register_php = array(
+  'page_title' => 'Registrazione utente',
+  'term_cond' => 'Termini e condizioni',
+  'i_agree' => 'Accetto',
+  'submit' => 'Inoltra registrazione',
+  'err_user_exists' => 'Il nome utente inserito è già utilizzato da un altro utente, scegline uno diverso',
+  'err_password_mismatch' => 'Le due password non coincidono, inseriscile nuovamente',
+  'err_uname_short' => 'Il nome utente deve contenere almeno 2 caratteri',
+  'err_password_short' => 'La password deve essere almeno di 2 caratteri',
+  'err_uname_pass_diff' => 'Nome utente e password devono essere diversi',
+  'err_invalid_email' => 'Indirizzo email non valido',
+  'err_duplicate_email' => 'Un altro utente si è già registrato con l\'indirizzo email da te inserito',
+  'enter_info' => 'Inserisci le informazioni di registrazione',
+  'required_info' => 'Informazioni richieste',
+  'optional_info' => 'Informazioni facoltative',
+  'username' => 'Nome utente',
+  'password' => 'Password',
+  'password_again' => 'Ripeti password',
+  'email' => 'Email',
+  'location' => 'Provenienza',
+  'interests' => 'Interessi',
+  'website' => 'Sito web',
+  'occupation' => 'Occupazione',
+  'error' => 'ERRORE',
+  'confirm_email_subject' => '%s - Conferma di registrazione',
+  'information' => 'Informazione',
+  'failed_sending_email' => 'Impossibile inviare l\'email di conferma!',
+  'thank_you' => 'Grazie per esserti registrato.<br /><br />Una email con le istruzioni su come attivare il tuo account è stata inviata all\'indirizzo email da te fornito.',
+  'acct_created' => 'Il tuo account è stato creato, ed ora puoi effettuare il login',
+  'acct_active' => 'Il tuo account è attivo, ed ora puoi effettuare il login',
+  'acct_already_act' => 'Account già attivo!', //cpg1.4
+  'acct_act_failed' => 'Impossibile attivare questo account!',
+  'err_unk_user' => 'Utente selezionato inesistente!',
+  'x_s_profile' => 'Profilo di %s',
+  'group' => 'Gruppo',
+  'reg_date' => 'Data di iscrizione',
+  'disk_usage' => 'Utilizzo disco',
+  'change_pass' => 'Cambia password',
+  'current_pass' => 'Password attuale',
+  'new_pass' => 'Nuova password',
+  'new_pass_again' => 'Ripeti nuova password',
+  'err_curr_pass' => 'La password attuale è sbagliata',
+  'apply_modif' => 'Salva modifiche',
+  'change_pass' => 'Cambia la password',
+  'update_success' => 'Profilo aggiornato',
+  'pass_chg_success' => 'Password cambiata',
+  'pass_chg_error' => 'Password non cambiata',
+  'notify_admin_email_subject' => '%s - Notifica registrazione',
+  'last_uploads' => 'Ultimo file inserito.<br />Clicca per vedere tutti i file inseriti da', //cpg1.4
+  'last_comments' => 'Ultimo commento.<br />Clicca per vedere tutti i commenti inseriti da', //cpg1.4
+  'notify_admin_email_body' => 'Un nuovo utente con nome utente "%s" si è appena registrato nella tua Galleria',
+  'pic_count' => 'File caricati', //cpg1.4
+  'notify_admin_request_email_subject' => '%s - Richiesta registrazione', //cpg1.4
+  'thank_you_admin_activation' => 'Grazie.<br /><br />La tua richiesta di attivazione è stata inviata all\'amministratore. Riceverai una email quando sarai approvato.', //cpg1.4
+  'acct_active_admin_activation' => 'Account attivato ed email inviata all\'utente.', //cpg1.4
+  'notify_user_email_subject' => '%s - Notifica di attivazione', //cpg1.4
+);
+
+$lang_register_confirm_email = <<<EOT
+Grazie per esserti registrato su {SITE_NAME}
+
+Per attivare il tuo account con nome utente "{USER_NAME}", devi cliccare sul collegamento seguente, o copiarlo e incollarlo nella barra degli indirizzi del tuo navigatore.
+
+<a href="{ACT_LINK}">{ACT_LINK}</a>
+
+Saluti,
+
+Amministrazione {SITE_NAME}
+
+EOT;
+
+$lang_register_approve_email = <<<EOT
+Un nuovo utente con nome utente "{USER_NAME}" si è appena registrato nella tua Galleria.
+
+Per attivare il suo account clicca sul collegamento riportato di seguito.
+
+<a href="{ACT_LINK}">{ACT_LINK}</a>
+
+EOT;
+
+$lang_register_activated_email = <<<EOT
+Il tuo account è stato approvato e attivato.
+
+Adesso puoi effettuare il login su <a href="{SITE_LINK}">{SITE_LINK}</a> utilizzando il nome utente "{USER_NAME}"
+
+
+Saluti,
+
+Amministrazione {SITE_NAME}
+
+EOT;
+}
+
+// ------------------------------------------------------------------------- //
+// File reviewcom.php
+// ------------------------------------------------------------------------- //
+
+if (defined('REVIEWCOM_PHP')) $lang_reviewcom_php = array(
+  'title' => 'Controlla commenti',
+  'no_comment' => 'Nessun commento da controllare',
+  'n_comm_del' => '%s commento/i cancellato/i',
+  'n_comm_disp' => 'Numero di commenti da mostrare',
+  'see_prev' => 'Mostra precedente',
+  'see_next' => 'Mostra successivo',
+  'del_comm' => 'Cancella commenti selezionati',
+  'user_name' => 'Nome', //cpg1.4
+  'date' => 'Data', //cpg1.4
+  'comment' => 'Commento', //cpg1.4
+  'file' => 'File', //cpg1.4
+  'name_a' => 'Nome utente ascendente', //cpg1.4
+  'name_d' => 'Nome utente discendente', //cpg1.4
+  'date_a' => 'Data ascendente', //cpg1.4
+  'date_d' => 'Data discendente', //cpg1.4
+  'comment_a' => 'Commento ascendente', //cpg1.4
+  'comment_d' => 'Commento discendente', //cpg1.4
+  'file_a' => 'File ascendente', //cpg1.4
+  'file_d' => 'File discendente', //cpg1.4
+);
+
+
+// ------------------------------------------------------------------------- //
+// File search.php                                                           //
+// ------------------------------------------------------------------------- //
+
+
+if (defined('SEARCH_PHP')){
+
+$lang_search_php = array(
+  'title' => 'Cerca nella collezione file', //cpg1.4
+  'submit_search' => 'cerca', //cpg1.4
+  'keyword_list_title' => 'Lista parole chiave', //cpg1.4
+  'keyword_msg' => 'La lista precedente non comprende tutti i dati. In particolare, non include parole contenute nei titoli delle foto o nelle descrizioni. Prova con una ricerca a tutto testo.',  //cpg1.4
+  'edit_keywords' => 'Modifica parole chiave', //cpg1.4
+  'search in' => 'Cerca in:', //cpg1.4
+  'ip_address' => 'Indirizzo IP', //cpg1.4
+  'fields' => 'Cerca in', //cpg1.4
+  'age' => 'Periodo', //cpg1.4
+  'newer_than' => 'Più nuovi di', //cpg1.4
+  'older_than' => 'Più vecchi di', //cpg1.4
+  'days' => 'giorni', //cpg1.4
+  'all_words' => 'Ogni parola deve corrispondere (AND)', //cpg1.4
+  'any_words' => 'Qualsiasi parola deve corrispondere (OR)', //cpg1.4
+);
+
+$lang_adv_opts = array(
+  'title' => 'Titolo', //cpg1.4
+  'caption' => 'Didascalia', //cpg1.4
+  'keywords' => 'Parole chiave', //cpg1.4
+  'owner_name' => 'Nome proprietario', //cpg1.4
+  'filename' => 'Nome file', //cpg1.4
+);
+
+}
+
+// ------------------------------------------------------------------------- //
+// File searchnew.php
+// ------------------------------------------------------------------------- //
+
+if (defined('SEARCHNEW_PHP')) $lang_search_new_php = array(
+  'page_title' => 'Cerca nuovi file',
+  'select_dir' => 'Seleziona cartella',
+  'select_dir_msg' => 'Questa funzione ti consente di aggiungere file che hai aggiunto al server tramite FTP.<br /><br />Seleziona la cartella in cui hai caricato i tuoi file.', //cpg1.4
+  'no_pic_to_add' => 'Nessun file da aggiungere',
+  'need_one_album' => 'Necessiti di almeno un album per usare questa funzione',
+  'warning' => 'Attenzione',
+  'change_perm' => 'Lo script non può scrivere in questa cartella, devi cambiare il CHMOD in 755 o 777 prima di aggiungere file!',
+  'target_album' => '<b>Metti i file di &quot;</b>%s<b>&quot; in </b>%s',
+  'folder' => 'Cartella',
+  'image' => 'File',
+  'album' => 'Album',
+  'result' => 'Risultato',
+  'dir_ro' => 'Non scrivibile. ',
+  'dir_cant_read' => 'Non leggibile. ',
+  'insert' => 'Aggiunta nuovi file alla galleria',
+  'list_new_pic' => 'Lista dei nuovi file',
+  'insert_selected' => 'inserisci i file selezionati',
+  'no_pic_found' => 'Nessun nuovo file trovato',
+  'be_patient' => 'Attendere prego, lo script necessita di tempo per aggiungere i file',
+  'no_album' => 'Nessun album selezionato',
+  'result_icon' => 'clicca per i dettagli o per ricaricare',  //cpg1.4
+  'notes' =>  '<ul>'.
+                          '<li><b>OK</b> : significa che il file è stato aggiunto con successo'.
+                          '<li><b>DP</b> : significa che il file è duplicato ed esiste gi&agrave nel database'.
+                          '<li><b>PB</b> : significa che il file non può essere aggiunto, controlla la tua configurazione e i permessi delle cartelle nelle quali risiedono i file'.
+                          '<li><b>NA</b> : significa che non hai selezionato un album nel quale caricare i file, clicca \'<a href="javascript:history.back(1)">indietro</a>\' e seleziona un album. Se non possiedi un album <a href="albmgr.php">creane uno prima</a></li>'.
+                          '<li>Se i \'simboli\' OK, DP, PB non appaiono clicca sull\'icona corrotta per vedere il messaggio generato da PHP'.
+                          '<li>Sei il navigatore va in timeout, premi il tasto di ricarica'.
+                          '</ul>',
+  'select_album' => 'Seleziona album',
+  'check_all' => 'Seleziona tutti',
+  'uncheck_all' => 'Deseleziona tutti',
+  'no_folders' => 'Non ci sono ancora cartelle dentro la cartella "albums". Assicurati di crearne almeno una e di caricarvi i tuoi file tramite FTP. Non devi caricare file nelle cartelle "userpics" o "edit", sono riservate per il caricamento via http.', //cpg1.4
+   'albums_no_category' => 'Album senza categoria', //cpg1.4 // album pulldown mod, added by frogfoot
+  'personal_albums' => '* Album personali', //cpg1.4 // album pulldown mod, added by frogfoot
+  'browse_batch_add' => 'Interfaccia navigabile (consigliato)', //cpg1.4
+  'edit_pics' => 'Modifica file', //cpg1.4
+  'edit_properties' => 'Proprietà album', //cpg1.4
+  'view_thumbs' => 'Vista miniature', //cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File stat_details.php //cpg1.4
+// ------------------------------------------------------------------------- //
+
+if (defined('STAT_DETAILS_PHP')) $lang_stat_details_php = array(
+  'show_hide' => 'mostra/nascondi questa colonna', //cpg1.4
+  'vote' => 'Dettagli voti', //cpg1.4
+  'hits' => 'Dettagli visite', //cpg1.4
+  'stats' => 'Statistiche voti', //cpg1.4
+  'sdate' => 'Data', //cpg1.4
+  'rating' => 'Valutazione', //cpg1.4
+  'search_phrase' => 'Chiave di ricerca', //cpg1.4
+  'referer' => 'Referenza', //cpg1.4
+  'browser' => 'Navigatore', //cpg1.4
+  'os' => 'Sistema operativo', //cpg1.4
+  'ip' => 'IP', //cpg1.4
+  'sort_by_xxx' => 'Elenca per %s', //cpg1.4
+  'ascending' => 'ascendente', //cpg1.4
+  'descending' => 'discendente', //cpg1.4
+  'internal' => 'interno', //cpg1.4
+  'close' => 'chiudi', //cpg1.4
+  'hide_internal_referers' => 'nascondi referenze interne', //cpg1.4
+  'date_display' => 'Mostra data', //cpg1.4
+  'submit' => 'Invia / Aggiorna', //cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File thumbnails.php
+// ------------------------------------------------------------------------- //
+
+// Void
+
+// ------------------------------------------------------------------------- //
+// File upload.php
+// ------------------------------------------------------------------------- //
+
+if (defined('UPLOAD_PHP')) $lang_upload_php = array(
+  'title' => 'Carica file',
+  'custom_title' => 'Campi personalizzati',
+  'cust_instr_1' => 'Puoi selezionare un numero personalizzato di campi per caricare file. Ma non puoi comunque selezionarne più del limite impostato.',
+  'cust_instr_2' => 'Numero di campi',
+  'cust_instr_3' => 'Campi per il caricamento file: %s',
+  'cust_instr_4' => 'Campi per il caricamento URI/URL: %s',
+  'cust_instr_5' => 'Campi per il caricamento URI/URL:',
+  'cust_instr_6' => 'Campi per il caricamento file:',
+  'cust_instr_7' => 'Inserisci il numero di ogni tipo di campo per il caricamento che desideri.  Quindi clicca \'Continua\'. ',
+  'reg_instr_1' => 'Azione non valida per la creazione del modulo.',
+  'reg_instr_2' => 'Da questa pagina caricare i tuoi file utilizzando i campi qui sotto. I file da caricare non devono superare i %s KB ciascuno. I file di tipo ZIP rimarranno compressi.',
+  'reg_instr_3' => 'Se desideri che il file compresso venga decompresso, devi usare il campo per il caricamento nell\'area  \'Caricamento e decompressione ZIP\'.',
+  'reg_instr_4' => 'Quando usi la funzione di caricamento URI/URL, inserisci il percorso del file in questo modo: http://www.miosito.com/immagini/esempio.jpg',
+  'reg_instr_5' => 'Una volta selezionati i file o URI/URL da caricare, clicca su \'Continua\'.',
+  'reg_instr_6' => 'Caricamento e decompressione ZIP:',
+  'reg_instr_7' => 'File caricati:',
+  'reg_instr_8' => 'URI/URL caricati:',
+  'error_report' => 'Errore',
+  'error_instr' => 'I seguenti caricamenti hanno creato errori:',
+  'file_name_url' => 'Nome/URL file',
+  'error_message' => 'Messaggio di errore',
+  'no_post' => 'File non caricato da POST.',
+  'forb_ext' => 'Estensione file proibita.',
+  'exc_php_ini' => 'Dimensione file eccedente quella consentita da PHP.',
+  'exc_file_size' => 'Dimensione file eccedente quella consentita dalla Galleria.',
+  'partial_upload' => 'Caricamento solo parziale.',
+  'no_upload' => 'Nessun file caricameto.',
+  'unknown_code' => 'Errore PHP sconosciuto nel caricamento.',
+  'no_temp_name' => 'Nessun file caricato - Nessun nome temporaneo.',
+  'no_file_size' => 'Non contiene nessun dato/Corrotto',
+  'impossible' => 'Impossibile spostare.',
+  'not_image' => 'Non è un\'immagine/corrotto',
+  'not_GD' => 'Non è un\'estensione GD.',
+  'pixel_allowance' => 'L\'altezza e la larghezza dell\'immagine caricata è maggiore di quella consentita dalla configurazione della Galleria.', //cpg1.4
+  'incorrect_prefix' => 'Prefisso URI/URL non corretto',
+  'could_not_open_URI' => 'Impossibile aprire l\'URI.',
+  'unsafe_URI' => 'Sicurezza non verificabile.',
+  'meta_data_failure' => 'Fallimento metadati',
+  'http_401' => '401 Non autorizzato',
+  'http_402' => '402 Pagamento richiesto',
+  'http_403' => '403 Proibito',
+  'http_404' => '404 Non trovato',
+  'http_500' => '500 Errore interno del server',
+  'http_503' => '503 Servizio non disponibile',
+  'MIME_extraction_failure' => 'Il tipo MIME non può essere determinato.',
+  'MIME_type_unknown' => 'Tipo MIME sconosciuto',
+  'cant_create_write' => 'Impossibile creare file di scrittura.',
+  'not_writable' => 'Impossibile scrivere sul file di scrittura.',
+  'cant_read_URI' => 'Impossibile leggere l\'URI/URL',
+  'cant_open_write_file' => 'Impossibile aprire il file di scrittura URI.',
+  'cant_write_write_file' => 'Impossibile scrivere sul file di scrittura URI.',
+  'cant_unzip' => 'Impossibile decomprimere.',
+  'unknown' => 'Errore sconosciuto',
+  'succ' => 'Caricamenti andati a buon fine',
+  'success' => '%s caricamenti sono andati a buon fine.',
+  'add' => 'Clicca \'Continua\' per aggiungere i file agli album.',
+  'failure' => 'Caricamento fallito',
+  'f_info' => 'Informazioni file',
+  'no_place' => 'Il file precedente non può essere inserito.',
+  'yes_place' => 'Il file precedente è stato inserito con successo.',
+  'max_fsize' => 'La dimensione massima consentita dei file è %s KB',
+  'album' => 'Album',
+  'picture' => 'File',
+  'pic_title' => 'Titolo file',
+  'description' => 'Descrizione file',
+  'keywords' => 'Parole chiave (separa con spazi)<br /><a href="#" onClick="return MM_openBrWindow(\'keyword_select.php\',\'selectKey\',\'width=250, height=400, scrollbars=yes,toolbar=no,status=yes,resizable=yes\')">Inserisci da una lista</a>', //cpg1.4
+  'keywords_sel' =>'Seleziona parole chiave', //cpg1.4
+  'err_no_alb_uploadables' => 'Spiacente, non hai un album nel quale sei autorizzato a caricare i file',
+  'place_instr_1' => 'Adesso inserisci i file negli album. Puoi anche inserire informazioni specifiche per ogni file.',
+  'place_instr_2' => 'Altri file necessitano di essere inseriti. Clicca \'Continua\'.',
+  'process_complete' => 'Tutti i file inseriti con successo.',
+   'albums_no_category' => 'Album senza categoria', //cpg1.4. //album pulldown mod, added by frogfoot
+  'personal_albums' => '* Album personali', //cpg1.4 //album pulldown mod, added by frogfoot
+  'select_album' => 'Seleziona album', //cpg1.4 //album pulldown mod, added by frogfoot
+  'close' => 'Chiudi', //cpg1.4
+  'no_keywords' => 'Spiacente, nessuna parola chiave disponibile!', //cpg1.4
+  'regenerate_dictionary' => 'Ricrea dizionario', //cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File usermgr.php
+// ------------------------------------------------------------------------- //
+
+if (defined('USERMGR_PHP')) $lang_usermgr_php = array(
+  'memberlist' => 'Iscritti', //cpg1.4
+  'user_manager' => 'Gestione utenti', //cpg1.4
+  'title' => 'Gestione utenti',
+  'name_a' => 'Nome ascendente',
+  'name_d' => 'Nome discenente',
+  'group_a' => 'Gruppo ascendente',
+  'group_d' => 'Gruppo discendente',
+  'reg_a' => 'Data di registrazione ascendente',
+  'reg_d' => 'Data di registrazione discendente',
+  'pic_a' => 'Numero file ascendente',
+  'pic_d' => 'Numero file discendente',
+  'disku_a' => 'Utilizzo disco ascendente',
+  'disku_d' => 'Utilizzo disco discendente',
+  'lv_a' => 'Ultima visita ascendente',
+  'lv_d' => 'Ultima visita discendente',
+  'sort_by' => 'Ordina utenti per',
+  'err_no_users' => 'La tabella utenti è vuota !',
+  'err_edit_self' => 'Non puoi modificare il tuo profilo, utilizza il collegamento \'Profilo\' ',
+  'edit' => 'Modifica', //cpg1.4
+  'with_selected' => 'Se selezionati:', //cpg1.4
+  'delete' => 'Cancella', //cpg1.4
+  'delete_files_no' => 'mantieni file pubblici (ma rendili anonimi)', //cpg1.4
+  'delete_files_yes' => 'cancella anche i file pubblici', //cpg1.4
+  'delete_comments_no' => 'Mantieni i commenti (ma rendili anonimi)', //cpg1.4
+  'delete_comments_yes' => 'cancella anche i commenti', //cpg1.4
+  'activate' => 'Attiva', //cpg1.4
+  'deactivate' => 'Disattiva', //cpg1.4
+  'reset_password' => 'Reimposta password', //cpg1.4
+  'change_primary_membergroup' => 'Cambia gruppo primario', //cpg1.4
+  'add_secondary_membergroup' => 'Aggiungi gruppo secondario', //cpg1.4
+  'name' => 'Nome utente',
+  'group' => 'Gruppo',
+  'inactive' => 'Non attivo',
+  'operations' => 'Operazioni',
+  'pictures' => 'File',
+  'disk_space_used' => 'Spazio utilizzato', //cpg1.4
+  'disk_space_quota' => 'Quota disco', //cpg1.4
+  'registered_on' => 'Registrazione', //cpg1.4
+  'last_visit' => 'Ultima visita',
+  'u_user_on_p_pages' => '%d utenti in %d pagina(e)',
+  'confirm_del' => 'Sei sicuro di voler CANCELLARE questo utente ? \\nTutti i suoi file ed album saranno cancellati.', //js-alert
+  'mail' => 'MAIL',
+  'err_unknown_user' => 'L\'utente selezionato non esiste !',
+  'modify_user' => 'Modifica utente',
+  'notes' => 'Note',
+  'note_list' => '<li>Se non vuoi cambiare la password attuale, lascia vuoto il campo "password"',
+  'password' => 'Password',
+  'user_active' => 'Utente attivo',
+  'user_group' => 'Gruppo utente',
+  'user_email' => 'Email utente',
+  'user_web_site' => 'Sito web utente',
+  'create_new_user' => 'Crea nuovo utente',
+  'user_location' => 'Provenienza utente',
+  'user_interests' => 'Interessi utente',
+  'user_occupation' => 'Occupazione utente',
+  'user_profile1' => '$user_profile1', //cpg1.4
+  'user_profile2' => '$user_profile2', //cpg1.4
+  'user_profile3' => '$user_profile3', //cpg1.4
+  'user_profile4' => '$user_profile4', //cpg1.4
+  'user_profile5' => '$user_profile5', //cpg1.4
+  'user_profile6' => '$user_profile6', //cpg1.4
+  'latest_upload' => 'File caricati di recente',
+  'never' => 'Mai',
+  'search' => 'Ricerca utenti', //cpg1.4
+  'submit' => 'Invia', //cpg1.4
+  'search_submit' => 'Vai!', //cpg1.4
+  'search_result' => 'Cerca risultati per: ', //cpg1.4
+  'alert_no_selection' => 'Devi selezionare almeno un utente prima!', //cpg1.4 //js-alert
+  'password' => 'password', //cpg1.4
+  'select_group' => 'Seleziona gruppo', //cpg1.4
+  'groups_alb_access' => 'Permessi album per gruppo', //cpg1.4
+  'album' => 'Album', //cpg1.4
+  'category' => 'Categoria', //cpg1.4
+  'modify' => 'Modifica?', //cpg1.4
+  'group_no_access' => 'Questo gruppo non gode di accesso speciale', //cpg1.4
+  'notice' => 'Nota', //cpg1.4
+  'group_can_access' => 'Album al/i quale/i solamente "%s" può accedere', //cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File util.php
+// ------------------------------------------------------------------------- //
+
+if (defined('UTIL_PHP')) {
+$lang_util_desc_php = array(
+'Aggiorna titoli dal nome del file', //cpg1.4
+'Cancella titoli', //cpg1.4
+'Ricostruisce miniature e immagini intermedie', //cpg1.4
+'Cancella le immagini a dimensioni originali e le sostituisce con le immagini intermedie', //cpg1.4
+'Cancella le immagini originali o intermedie per liberare spazio web', //cpg1.4
+'Cancella commenti orfani', //cpg1.4
+'Aggiorna le dimensioni dei file (se le hai modificate manualmente)', //cpg1.4
+'Reimposta contatore visite', //cpg1.4
+'Mostra informazioni PHP', //cpg1.4
+'Aggiorna il database', //cpg1.4
+'Mostra rapporti', //cpg1.4
+);
+$lang_util_php = array(
+  'title' => 'Strumenti di amministrazione (Ridimensiona immagini)',
+  'what_it_does' => 'Cosa fa',
+  'file' => 'File',
+  'problem' => 'Problema', //cpg1.4
+  'status' => 'Stato', //cpg1.4
+  'title_set_to' => 'Titolo impostato a',
+  'submit_form' => 'Invia',
+  'updated_succesfully' => 'Aggiornato con successo',
+  'error_create' => 'ERRORE creando',
+  'continue' => 'Processa più immagini',
+  'main_success' => 'Il file %s è stato usato con successo come file principale',
+  'error_rename' => 'Errore rinominando %s in %s',
+  'error_not_found' => 'Il file %s non è stato trovato',
+  'back' => 'Torna a principale',
+  'thumbs_wait' => 'Aggiornamento miniature e/o immagini ridimensionate, attendere prego...',
+  'thumbs_continue_wait' => 'Continuo nell\'aggiornamento delle miniature e/o immagini ridimensionate...',
+  'titles_wait' => 'Aggiornamento titoli, attendere prego...',
+  'delete_wait' => 'Cancellazione titoli, attendere prego...',
+  'replace_wait' => 'Cancellazione originali e sostituzione con le immagini ridimensionate, attendere prego...',
+  'instruction' => 'Istruzioni veloci',
+  'instruction_action' => 'Seleziona azione',
+  'instruction_parameter' => 'Imposta parametri',
+  'instruction_album' => 'Seleziona album',
+  'instruction_press' => 'Premi %s',
+  'update' => 'Aggiorna miniature e/o immagini ridimensionate',
+  'update_what' => 'Cosa deve essere aggiornato',
+  'update_thumb' => 'Solo miniature',
+  'update_pic' => 'Solo immagini ridimensionate',
+  'update_both' => 'Sia le miniature che le immagini ridimensionate',
+  'update_number' => 'Numero di immagini processate per clic',
+  'update_option' => '(Prova ad impostare questa opzione ad un parametro più basso se hai problemi di timeout)',
+  'filename_title' => 'Nome file &rArr; Titolo file',
+  'filename_how' => 'Come devonono essere rinominati i file ',
+  'filename_remove' => 'Rimuovi .jpg e rimpiazza _ (trattino basso) con spazi',
+  'filename_euro' => 'Cambia 2003_11_23_13_20_20.jpg in 23/11/2003 13:20',
+  'filename_us' => 'Cambia 2003_11_23_13_20_20.jpg in 11/23/2003 13:20',
+  'filename_time' => 'Cambia 2003_11_23_13_20_20.jpg in 13:20',
+  'delete' => 'Cancella titoli file o immagini a dimensioni originali',
+  'delete_title' => 'Cancella titoli file',
+  'delete_title_explanation' => 'Questo rimuoverà tutti i titoli dei file dell\'album specificato.', //cpg1.4
+  'delete_original' => 'Cancella le immagini a dimensione originale',
+  'delete_original_explanation' => 'Questo cancellerà le immagini a dimensione originale.', //cpg1.4
+  'delete_intermediate' => 'Cancella immagini intermedie', //cpg1.4
+  'delete_intermediate_explanation' => 'Questo cancellerà le immagini intermedie (normal).<br />Utilizza questa funzione per liberare spazio su disco se hai disabilitato l\'opzione \'Crea immagini intermedie\' nella configurazione dopo aver aggiunto immagini.', //cpg1.4
+  'delete_replace' => 'Cancella le immagini originali sostituendole con le versioni ridimensionate',
+  'titles_deleted' => 'Tutti i titoli nell\'album specificato sono stati rimossi', //cpg1.4
+  'deleting_intermediates' => 'Cancellazione immagini intermedie, attendere prego...', //cpg1.4
+  'searching_orphans' => 'Ricerca elementi orfani, attendere prego...', //cpg1.4
+  'select_album' => 'Seleziona album',
+  'delete_orphans' => 'Cancella commenti sui file mancanti', //cpg1.4
+  'delete_orphans_explanation' => 'Identifica e consente di cancellare ogni commento non più esistente nella Galleria.<br />Controlla tutti gli album.', //cpg1.4
+  'refresh_db' => 'Aggiorna dimensioni e informazioni del file', //cpg1.4
+  'refresh_db_explanation' => 'Aggiorna le dimensioni del file, sia come peso che come spazio occupato. Utilizza questo strumento se le quote disco risultano non corrette o se hai cambiato manualmente i file.', //cpg1.4
+  'reset_views' => 'Reimposta contatore visite', //cpg1.4
+  'reset_views_explanation' => 'Azzera tutte le visite nell\'album specificato.', //cpg1.4
+  'orphan_comment' => 'commenti orfani trovati',
+  'delete' => 'Cancella',
+  'delete_all' => 'Cancella tutto',
+  'delete_all_orphans' => 'Cancella tutti gli elementi orfani?', //cpg1.4
+  'comment' => 'Commento: ',
+  'nonexist' => 'collegato al file non esistente # ',
+  'phpinfo' => 'Mostra informazioni PHP',
+  'phpinfo_explanation' => 'Contiene informazioni tecniche sul tuo server.<br /> - Potresti esserne richiesto quando hai bisogno di supporto.', //cpg1.4
+  'update_db' => 'Aggiorna database',
+  'update_db_explanation' => 'Se hai cambiato o modificato i file originali di Coppermine, magari facendo un aggiornamento della Galleria, esegui almeno una volta un aggiornamento del database. Verranno create le tabelle necessarie e/o impostati i valori di configurazione nel database di Coppermine.',
+  'view_log' => 'Visualizza rapporti', //cpg1.4
+  'view_log_explanation' => 'Coppermine può tenere traccia di varie azioni eseguite dagli utenti. Puoi sfogliare questi rapporti se li hai abilitati nella <a href="admin.php">configurazione</a>.', //cpg1.4
+  'versioncheck' => 'Controllo versioni', //cpg1.4
+  'versioncheck_explanation' => 'Controlla le versioni dei tuoi file per vedere se li hai sostituiti tutti eseguendo un aggiornamento, o se sono stati aggiornati dopo il rilascio di un aggiornamento.', //cpg1.4
+  'bridgemanager' => 'Gestione integrazione', //cpg1.4
+  'bridgemanager_explanation' => 'Abilita o disabilita integrazione (bridging) di Coppermine con un\'altra applicazione (es. la tua BBS).', //cpg1.4
+);
+}
+
+// ------------------------------------------------------------------------- //
+// File versioncheck.php //cpg1.4
+// ------------------------------------------------------------------------- //
+
+if (defined('VERSIONCHECK_PHP')) $lang_versioncheck_php = array(
+  'title' => 'Controllo versione', //cpg1.4
+  'what_it_does' => 'Questa pagina serve a quegli utenti che hanno aggiornato la propria installazione di Coppermine. Lo script analizza i tuoi file sul server e cerca di determinare se la versione è la stessa di quelli situati nel deposito su http://coppermine.sourceforge.net, mostrando in questo modo quali file dovresti aggiornare.<br />Tutto ciò che sarà contrassegnato in rosso necessita di essere aggiornato. Le voci in giallo necessitano di un semplice controllo. Le voci in verde (o il tuo colore predefinito per il carattere) sono OK.<br />Clicca sulle icone di aiuto per maggiori dettagli.', //cpg1.4
+  'online_repository_unable' => 'Impossibile connettersi al deposito', //cpg1.4
+  'online_repository_noconnect' => 'Coppermine non è in grado di connettersi al deposito. Ciò può essere dovuto a due motivi:', //cpg1.4
+  'online_repository_reason1' => 'Il deposito al momento non è raggiungibile - controlla se riesci a navigare questa pagina: %s - se non riesci, prova più tardi.', //cpg1.4
+  'online_repository_reason2' => 'Il PHP sul tuo server è configurato con %s Off (per impostazione predefinita &egrav; On). Se amministri direttamente il server, modifica questa impostazione nel file <i>php.ini</i> (o almeno consenti che sia sovrascritta con %s). Se utilizzi un servizio di hosting, probabilmente devi arrenderti a non poterti collegare al deposito. Questa pagina mostrerà solo la versione dei file della tua installazione, mentre gli aggiornamenti non saranno visualizzati.', //cpg1.4
+  'online_repository_skipped' => 'Connessione al deposito saltata', //cpg1.4
+  'online_repository_to_local' => 'Lo script sta utilizzando per impostazione predefinita le copie locali dei file. I dati potrebbero essere non aggiornati, se hai aggiornato coppermine e non hai caticato tutti i file. Allo stesso modo, cambiamenti apportati ai file dopo il rilascio non saranno inseriti nell\'account.', //cpg1.4
+  'local_repository_unable' => 'Impossibile connettersi al deposito locale sul tuo server', //cpg1.4
+  'local_repository_explanation' => 'Coppermine non è stata in grado di connettersi al deposito locale del file %s sul tuo server. Questo significa che probabilmente non hai caricato il file di deposito sul tuo server. Fallo ora e riprova ad eseguire lo script (aggiornando questa pagina).<br />Se lo script fallisce di nuovo, il tuo hosting potrebbe aver disabilitato completamente parti delle <a href="http://www.php.net/manual/en/ref.filesystem.php">funzioni del filesystem PHP</a>. In questo caso, non sarai in grado di utilizzare questo strumento.', //cpg1.4
+  'coppermine_version_header' => 'Versione di Coppermine installata', //cpg1.4
+  'coppermine_version_info' => 'Hai correntemente installato: %s', //cpg1.4
+  'coppermine_version_explanation' => 'Se pensi che il dato sia sbagliato e credi di avere una versione più recente di Coppermine, probabilmente non hai caricato la versione più recente del file <i>include/init.inc.php</i>', //cpg1.4
+  'version_comparison' => 'Confronto versione', //cpg1.4
+  'folder_file' => 'cartella/file', //cpg1.4
+  'coppermine_version' => 'versione Galleria', //cpg1.4
+  'file_version' => 'versione file', //cpg1.4
+  'webcvs' => 'web svn', //cpg1.4
+  'writable' => 'scrivibile', //cpg1.4
+  'not_writable' => 'non scrivibile', //cpg1.4
+  'help' => 'Aiuto', //cpg1.4
+  'help_file_not_exist_optional1' => 'file/cartella inesistente', //cpg1.4
+  'help_file_not_exist_optional2' => 'Il/la file/cartella %s non è stato trovato/a sul server. Anche se facoltativo, dovresti caricarlo (tramite FTP) se stai incontrando dei problemi.', //cpg1.4
+  'help_file_not_exist_mandatory1' => 'file/cartella inesistente', //cpg1.4
+  'help_file_not_exist_mandatory2' => 'Il/la file/cartella %s non è stato trovato/a sul server, anche se necessario. Caricalo (tramite FTP).', //cpg1.4
+  'help_no_local_version1' => 'Nessuna versione locale del file', //cpg1.4
+  'help_no_local_version2' => 'Lo script non è in grado di estrarre la versione locale del file: il tuo file o è troppo vecchio o lo hai modificato, rimuovendo le informazioni dell\'intestazione. Aggiornare il file è raccomandato.', //cpg1.4
+  'help_local_version_outdated1' => 'Versione locale obsoleta', //cpg1.4
+  'help_local_version_outdated2' => 'La tua versione di questo file sembra essere di una vecchia versione di Coppermine (che hai probabilmente aggiornato). Assicurati di aggiornare anche questo file.', //cpg1.4
+  'help_local_version_na1' => 'Impossibile estrarre informazioni sulla versione cvs', //cpg1.4
+  'help_local_version_na2' => 'Lo script non riesce a determinare la versione cvs del file sul tuo server. Dovresti caricare la versione dal tuo pacchetto.', //cpg1.4
+  'help_local_version_dev1' => 'Versione di sviluppo', //cpg1.4
+  'help_local_version_dev2' => 'Il file sul tuo webserver sembra essere più recente della tua versione di Coppermine. O stai usando un file di sviluppo (dovresti farlo solo se sei sicuro di quel che stai facendo), o hai aggiornato Coppermine e non hai caricato include/init.inc.php', //cpg1.4
+  'help_not_writable1' => 'Cartella non scrivibile', //cpg1.4
+  'help_not_writable2' => 'Cambia i permessi file (CHMOD) per garantire allo script l\'accesso in scrittura alla cartella %s e a tutto il suo contenuto.', //cpg1.4
+  'help_writable1' => 'Cartella scrivibile', //cpg1.4
+  'help_writable2' => 'La cartella %s è scrivibile. Questo è un rischio non necessario: solo Coppermine necessita di permessi di lettura ed esecuzione.', //cpg1.4
+  'help_writable_undetermined' => 'Coppermine non è in grado di determinare se la cartella è scrivibile o meno.', //cpg1.4
+  'your_file' => 'tuo file', //cpg1.4
+  'reference_file' => 'File di riferimento', //cpg1.4
+  'summary' => 'Sommario', //cpg1.4
+  'total' => 'Totale dei file/cartelle controllati', //cpg1.4
+  'mandatory_files_missing' => 'File obbligatori mancanti', //cpg1.4
+  'optional_files_missing' => 'File facoltativi mancanti', //cpg1.4
+  'files_from_older_version' => 'File lasciati da vecchie versioni di Coppermine', //cpg1.4
+  'file_version_outdated' => 'Vecchie versioni del file', //cpg1.4
+  'error_no_data' => 'Lo script ha fallito, non &grave; stato in grado di recuperare alcuna informazione. Spiacente per l\'inconveniente.', //cpg1.4
+  'go_to_webcvs' => 'vai su %s', //cpg1.4
+  'options' => 'Opzioni', //cpg1.4
+  'show_optional_files' => 'Mostra cartelle/file facoltativi', //cpg1.4
+  'show_mandatory_files' => 'Mostra file obbligatori', //cpg1.4
+  'show_file_versions' => 'Mostra versioni file', //cpg1.4
+  'show_errors_only' => 'Mostra solo cartelle/file con errori', //cpg1.4
+  'show_permissions' => 'Mostra permessi cartella', //cpg1.4
+  'show_condensed_output' => 'Mostra output compatto (per screenshot più semplici)', //cpg1.4
+  'coppermine_in_webroot' => 'Coppermine è installata nella cartella radice dello spazio web', //cpg1.4
+  'connect_online_repository' => 'Prova a connetterti al deposito online', //cpg1.4
+  'show_additional_information' => 'Mostra informazioni aggiuntive', //cpg1.4
+  'no_webcvs_link' => 'Non mostrare collegamenti web svn', //cpg1.4
+  'stable_webcvs_link' => 'Mostra collegamenti web svn stabili', //cpg1.4
+  'devel_webcvs_link' => 'Mostra collegamenti web svn di sviluppo', //cpg1.4
+  'submit' => 'Applica modifiche / Aggiorna', //cpg1.4
+  'reset_to_defaults' => 'Ripristina impostazioni predefinite', //cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File view_log.php  //cpg1.4
+// ------------------------------------------------------------------------- //
+
+if (defined('VIEWLOG_PHP')) $lang_viewlog_php = array(
+  'delete_all' => 'Cancella tutti i rapporti', //cpg1.4
+  'delete_this' => 'Cancella questo rapporto', //cpg1.4
+  'view_logs' => 'Visualizza rapporti', //cpg1.4
+  'no_logs' => 'Nessun rapporto creato.', //cpg1.4
+);
+
+
+// ------------------------------------------------------------------------- //
+// File xp_publish.php //cpg1.4
+// ------------------------------------------------------------------------- //
+
+if (defined('XP_PUBLISH_PHP')) {
+
+$lang_xp_publish_client = <<<EOT
+<h1>Pubblicazione web guidata XP</h1><p>Questo modulo consente di usare la Pubblicazione web guidata di <b>Windows XP</b> con Coppermine.</p><p>Il codice è basato su articolo pubblicato da
+EOT;
+
+$lang_xp_publish_required = <<<EOT
+<h2>Cosa è richiesto</h2><ul><li>Windows XP in modo da avere la procedura guidata.</li><li>Una installazione funzionante di Coppermine sulla quale <b>la funzione di caricamento via web funzioni correttamente.</b></li></ul><h2>Come installare dal lato client</h2><ul><li>Clicca col tasto destro su
+EOT;
+
+$lang_xp_publish_select = <<<EOT
+Seleziona &quot;Salva destinazione con nome...&quot;. Salva il file sul tuo disco locale. Quando salvi il file, controlla che il nome proposto sia <b>cpg_###.reg</b> (### rappresenta un formato data numerico). Adegua il nome al suddetto formato se necessario (lasciando i numeri). Una volta scaricato, fai doppio clic sul file per registrare il tuo server sulla Pubblicazione web guidata.</li></ul>
+EOT;
+
+$lang_xp_publish_testing = <<<EOT
+<h2>Prove</h2><ul><li>In Esplora risorse, seleziona alcuni file e clicca su <b>Pubblica xxx sul web</b> nel pannello di sinistra.</li><li>Conferma la tua selezione. Clicca su <b>Avanti</b>.</li><li>Nella lista dei servizi che appaiono, seleziona quella per la tua galleria (ha il nome della tua galleria). Se il servizio non appare, controlla di aver installato <b>cpg_pub_wizard.reg</b> come descritto.</li><li>Inserisci le tue informazioni di login se richiesto.</li><li>Seleziona gli album di destinazione per le tue immagini o creane di nuovi.</li><li>Clicca su <b>Avanti</b>. Il caricamento dovrebbe incominciare.</li><li>Quando sarà completato, controlla la galleria per vedere se le immagini sono state aggiunte correttamente.</li></ul>
+EOT;
+
+$lang_xp_publish_notes = <<<EOT
+<h2>Note :</h2><ul><li>Una volta iniziato il caricamento, la procedura guidata non può mostrare nessun messaggio di errore da parte dello script, quindi non puoi sapere se tutto sia andato a buon fine o meno finchè non controllerai la galleria.</li><li>Se il caricamento fallisce, abilita la &quot;Modalità debug &quot; nella pagina di configurazione, tenta con una sola immagine e controlla i messaggi di errore nel file
+EOT;
+
+$lang_xp_publish_flood = <<<EOT
+che si trova nella cartella di Coppermine sul tuo server.</li><li>Per evitare che la galleria sia bombardata <i>(flooding)</i> da immagini caricate attraverso la Pubblicazione guidata, solo gli <b>amministratori</b> e <b>gli utenti che possono avere i propri album</b> possono usare questa funzione.</li>
+EOT;
+
+
+
+$lang_xp_publish_php = array(
+  'title' => 'Coppermine - Pubblicazione web guidata XP', //cpg1.4
+  'welcome' => 'Benvenuto <b>%s</b>,', //cpg1.4
+  'need_login' => 'Devi eseguire il login alla galleria usando il navigatore prima di usare la procedura guidata.<p/><p>Quando esegui il login non scordarti di selezionare l\'opzione <b>Ricordami</b> se presente.', //cpg1.4
+  'no_alb' => 'Spiacente, non esiste nessun album nel quale ti sia consentito il caricamento di immagini tramite la procedura guidata.', //cpg1.4
+  'upload' => 'Carica le tue immagini in un album esistente', //cpg1.4
+  'create_new' => 'Crea un nuovo album per le tue immagini', //cpg1.4
+  'album' => 'Album', //cpg1.4
+  'category' => 'Categoria', //cpg1.4
+  'new_alb_created' => 'Il tuo nuovo album &quot;<b>%s</b>&quot; è stato creato.', //cpg1.4
+  'continue' => 'Premi &quot;Avanti&quot; per iniziare il caricamento', //cpg1.4
+  'link' => 'questo collegamento', //cpg1.4
+);
+}
 ?>
\ No newline at end of file
diff -x .svn -aruN 1.4.24.src/lang/japanese.php 1.4.25.src/lang/japanese.php
--- 1.4.24.src/lang/japanese.php	2009-05-25 15:01:17.000000000 -0500
+++ 1.4.25.src/lang/japanese.php	2009-05-26 11:25:40.000000000 -0500
@@ -1,2105 +1,2105 @@
-<?php
-/*************************
-  Coppermine Photo Gallery
-  ************************
-  Copyright (c) 2003-2009 Coppermine Dev Team
-  v1.1 originally written by Gregory DEMAR
-
-  This program is free software; you can redistribute it and/or modify
-  it under the terms of the GNU General Public License version 3
-  as published by the Free Software Foundation.
-  
-  ********************************************
-  Coppermine version: 1.4.24
-  $HeadURL: https://coppermine.svn.sourceforge.net/svnroot/coppermine/trunk/cpg1.4.x/lang/japanese.php $
-  $Revision: 5988 $
-  $Author: gaugau $
-  $Date: 2009-05-25 22:01:41 +0200 (Mo, 25 Mai 2009) $
-**********************************************/
-
-if (!defined('IN_COPPERMINE')) { die('Not in Coppermine...');}
-
-// info about translators and translated language
-$lang_translation_info = array(
-  'lang_name_english' => 'Japanese',
-  'lang_name_native' => 'Japanese',
-  'lang_country_code' => 'ja',
-  'trans_name'=> 'Mitsuhiro Yoshida',
-  'trans_email' => 'mits@mitstek.com',
-  'trans_website' => 'http://mitstek.com/',
-  'trans_date' => '2005-12-1',
-);
-
-$lang_charset = 'UTF-8';
-$lang_text_dir = 'ltr'; // ('ltr' for left to right, 'rtl' for right to left)
-
-// shortcuts for Byte, Kilo, Mega
-$lang_byte_units = array('バイト', 'KB', 'MB');
-
-// Day of weeks and months
-$lang_day_of_week = array('日', '月', '火', '水', '木', '金', '土');
-$lang_month = array('01', '02', '03', '04', '05', '06', '07', '08', '09', '10', '11', '12');
-
-// Some common strings
-$lang_yes = 'Yes';
-$lang_no  = 'No';
-$lang_back = '戻る';
-$lang_continue = '続ける';
-$lang_info = '情報';
-$lang_error = 'エラー';
-$lang_check_uncheck_all = '全てをチェックする/チェックしない';
-
-// The various date formats
-// See http://www.php.net/manual/en/function.strftime.php to define the variable below
-$album_date_fmt =    '%Y年 %B月 %d日';
-$lastcom_date_fmt =  '%y/%m/%d/ %H:%M';
-$lastup_date_fmt =   '%Y年 %B月 %d日';
-$register_date_fmt = '%Y年 %B月 %d日';
-$lasthit_date_fmt =  '%Y年 %B月 %d日 %I:%M %p';
-$comment_date_fmt =  '%Y年 %B月 %d日 %I:%M %p';
-$log_date_fmt = '%Y年 %B月 %d日 %I:%M %p';
-
-// For the word censor
-$lang_bad_words = array('*fuck*', 'asshole', 'assramer', 'bitch*', 'c0ck', 'clits', 'Cock', 'cum', 'cunt*', 'dago', 'daygo', 'dego', 'dick*', 'dildo', 'fanculo', 'feces', 'foreskin', 'Fu\(*', 'fuk*', 'honkey', 'hore', 'injun', 'kike', 'lesbo', 'masturbat*', 'motherfucker', 'nazis', 'nigger*', 'nutsack', 'penis', 'phuck', 'poop', 'pussy', 'scrotum', 'shit', 'slut', 'titties', 'titty', 'twaty', 'wank*', 'whore', 'wop*');
-
-$lang_meta_album_names = array(
-  'random' => 'ランダムファイル',
-  'lastup' => '新着写真',
-  'lastalb'=> '最新アルバム',
-  'lastcom' => '最新コメント',
-  'topn' => '閲覧最多',
-  'toprated' => 'トップレート',
-  'lasthits' => '最終閲覧',
-  'search' => '検索結果',
-  'favpics'=> 'お気に入り', 
-);
-
-$lang_errors = array(
-  'access_denied' => 'このページに対するアクセス権がありません。',
-  'perm_denied' => 'この操作を行う権限がありません。',
-  'param_missing' => '必要なパラメータ無しでスクリプトが実行されました。',
-  'non_exist_ap' => '選択されたアルバムは存在しません!', 
-  'quota_exceeded' => 'ディスク使用量オーバー<br /><br />あなたが使用できるディスク容量は [quota]Kです。現在 [space]Kを使用しています。このファイルを追加するとディスク容量をオーバーします。',
-  'gd_file_type_err' => 'GDイメージライブラリーを使用する場合、JPEGとPNG形式のファイルのみ使用可能です。',
-  'invalid_image' => 'あなたがアップロードしたイメージが破損したか、GDライブラリーで処理することができません。',
-  'resize_failed' => 'イメージサイズが小さいため、サムネイルを作成できません。',
-  'no_img_to_display' => '表示するイメージはありません。',
-  'non_exist_cat' => '選択したカテゴリは存在しません。',
-  'orphan_cat' => '存在しない親カテゴリを持っています。カテゴリマネージャーを使って問題を解決してください!',
-  'directory_ro' => 'ディレクトリ「 %s 」に書込み権がありません。ファイルの削除はできません。',
-  'non_exist_comment' => '選択したコメントは存在しません。',
-  'pic_in_invalid_album' => '存在しないアルバム(%s)内にファイルがあります !?',
-  'banned' => 'あなたは現在このサイトへのアクセスを禁止されています。',
-  'not_with_udb' => 'フォーラムソフトに統合されたため、この機能はCoppermineで無効にされています。フォーラムソフトで管理されるため、この機能に関する設定は、ここでサポートされません。',
-  'offline_title' => 'オフライン', 
-  'offline_text' => '現在ギャラリーはオフラインです - もう暫くお待ちください',
-  'ecards_empty' => '表示するeカードレコードがありません。eカードを使用可能にしているか設定画面で確認してください!',
-  'action_failed' => 'エラーが発生しました。Coppermineは、処理を正常に終了できませんでした。', 
-  'no_zip' => 'ZIPファイルを生成するライブラリが使用できません。Coppermine管理者に連絡してください。', 
-  'zip_type' => 'ZIPファイルをアップロードする権限がありません。',
-  'database_query' => 'データベース参照時にエラーが発生しました。',
-  'register_globals_on' => 'The PHP setting register_globals is enabled on your server, which is a bad idea in terms of security. It\'s strongly recommended to turn it off. [<a href="http://forum.coppermine-gallery.net/index.php/topic,59569.0.html" rel="external" class="external">more</a>]',
-);
-
-$lang_bbcode_help_title = 'bbcodeヘルプ';
-$lang_bbcode_help = 'bbcode記述方法: <li>[b]<b>太字</b>[/b]</li> <li>[i]<i>斜体</i>[/i]</li> <li>[url=http://yoursite.com/]Url Text[/url]</li> <li>[email]user@domain.com[/email]</li>';
-
-// ------------------------------------------------------------------------- //
-// File theme.php
-// ------------------------------------------------------------------------- //
-
-$lang_main_menu = array(
-  'home_title' => 'ホームページへ移動',
-  'home_lnk' => 'Home',
-  'alb_list_title' => 'アルバムリストへ移動',
-  'alb_list_lnk' => 'アルバムリスト',
-  'my_gal_title' => 'パーソナルギャラリーへ移動',
-  'my_gal_lnk' => 'マイギャラリー',
-  'my_prof_title' => 'マイプロフィールへ移動',
-  'my_prof_lnk' => 'マイプロフィール',
-  'adm_mode_title' => '管理者モードに変更',
-  'adm_mode_lnk' => '管理者モード',
-  'usr_mode_title' => 'ユーザモードに変更',
-  'usr_mode_lnk' => 'ユーザモード',
-  'upload_pic_title' => 'アルバムにファイルをアップロード', 
-  'upload_pic_lnk' => 'ファイルのアップロード',
-  'register_title' => 'アカウントの作成',
-  'register_lnk' => 'ユーザ登録',
-  'login_title' => 'ログイン',
-  'login_lnk' => 'ログイン',
-  'logout_title' => 'ログアウト',
-  'logout_lnk' => 'ログアウト',
-  'lastup_title' => '最新アップロードの表示',
-  'lastup_lnk' => '最新アップロード',
-  'lastcom_title' => '最新コメントの表示',
-  'lastcom_lnk' => '最新コメント',
-  'topn_title' => '閲覧最多の表示',
-  'topn_lnk' => '閲覧最多',
-  'toprated_title' => 'トップレートの表示',
-  'toprated_lnk' => 'トップレート',
-  'search_title' => 'ギャラリーの検索',
-  'search_lnk' => '検索',
-  'fav_title' => 'お気に入りへ移動',
-  'fav_lnk' => 'お気に入り',
-  'memberlist_title' => 'メンバーリストの表示',
-  'memberlist_lnk' => 'メンバーリスト',
-  'faq_title' => '写真ギャラリー&quot;Coppermine&quot;に関するよくある質問と答え', 
-  'faq_lnk' => 'FAQ',
-);
-
-$lang_gallery_admin_menu = array(
-  'upl_app_title' => 'アップロードの承認',
-  'upl_app_lnk' => 'アップロード承認',
-  'admin_title' => '設定へ移動',
-  'admin_lnk' => '設定',
-  'albums_title' => 'アルバム設定へ移動',
-  'albums_lnk' => 'アルバム',
-  'categories_title' => 'カテゴリ設定へ移動',
-  'categories_lnk' => 'カテゴリ',
-  'users_title' => 'ユーザ設定へ移動',
-  'users_lnk' => 'ユーザ',
-  'groups_title' => 'グループ設定へ移動',
-  'groups_lnk' => 'グループ',
-  'comments_title' => '全てのコメントをレビュー',
-  'comments_lnk' => 'コメントのレビュー',
-  'searchnew_title' => 'ファイルの一括追加へ移動',
-  'searchnew_lnk' => 'ファイルの一括追加',
-  'util_title' => '管理ツールへ移動',
-  'util_lnk' => '管理ツール',
-  'key_title' => 'キーワードディレクトリへ移動',
-  'key_lnk' => 'キーワードディレクトリ',
-  'ban_title' => 'アクセス禁止ユーザへ移動',
-  'ban_lnk' => 'アクセス禁止ユーザ',
-  'db_ecard_title' => 'eカードのレビュー',
-  'db_ecard_lnk' => 'eカードの表示',
-  'pictures_title' => 'マイ アルバムの並び替え',
-  'pictures_lnk' => 'マイ アルバムの並び替え',
-  'documentation_lnk' => 'ドキュメンテーション',
-  'documentation_title' => 'Coppermineマニュアル',
-);
-
-$lang_user_admin_menu = array(
-  'albmgr_title' => 'マイアルバムの作成 / 整理',
-  'albmgr_lnk' => 'マイアルバムの作成 / 整理',
-  'modifyalb_title' => 'マイアルバムの修正へ移動', 
-  'modifyalb_lnk' => 'マイアルバムの修正',
-  'my_prof_title' => 'マイプロフィールへ移動',
-  'my_prof_lnk' => 'マイプロフィール',
-);
-
-$lang_cat_list = array(
-  'category' => 'カテゴリ',
-  'albums' => 'アルバム',
-  'pictures' => 'ファイル',
-);
-
-$lang_album_list = array(
-  'album_on_page' => 'アルバム数 %d / %dページ中'
-);
-
-$lang_thumb_view = array(
-  'date' => '日付',
-  //Sort by filename and title
-  'name' => 'ファイル名',
-  'title' => 'タイトル',
-  'sort_da' => '日付の昇順で並び替え',
-  'sort_dd' => '日付の降順で並び替え',
-  'sort_na' => 'ファイル名の昇順で並び替え',
-  'sort_nd' => 'ファイル名の降順で並び替え',
-  'sort_ta' => '写真タイトルの昇順で並び替え',
-  'sort_td' => '写真タイトルの降順で並び替え',
-  'position' => 'ポジション',
-  'sort_pa' => 'ポジションの昇順で並び替え',
-  'sort_pd' => 'ポジションの降順で並び替え',
-  'download_zip' => 'ZIPファイルとしてダウンロードする',
-  'pic_on_page' => 'ファイル数 %d / %dページ中',
-  'user_on_page' => 'ユーザ数 %d / %dページ中',
-  'enter_alb_pass' => 'アルバムパスワードの入力',
-  'invalid_pass' => 'パスワードが違います。',
-  'pass' => 'パスワード',
-  'submit' => '送信',
-);
-
-$lang_img_nav_bar = array(
-  'thumb_title' => 'サムネイルページに戻る',
-  'pic_info_title' => 'ファイル情報の表示/非表示',
-  'slideshow_title' => 'スライドショー',
-  'ecard_title' => 'この写真をeカードとして送信する',
-  'ecard_disabled' => 'eカードは送信できません。',
-  'ecard_disabled_msg' => 'eカードを送信する権限がありません。',
-  'prev_title' => '前へ',
-  'next_title' => '次へ',
-  'pic_pos' => 'ファイル %s/%s',
-  'report_title' => 'このファイルを管理者に報告',
-  'go_album_end' => '最後にスキップ',
-  'go_album_start' => '最初に戻る',
-  'go_back_x_items' => '%s アイテムへ戻る',
-  'go_forward_x_items' => '%s アイテムへ進む',
-);
-
-$lang_rate_pic = array(
-  'rate_this_pic' => 'このファイルを評価する',
-  'no_votes' => '( 未投票 )',
-  'rating' => '( 現在のレーティング: %s/5&nbsp;&nbsp;&nbsp;投票数 %s件 )',
-  'rubbish' => '酷い',
-  'poor' => '悪い',
-  'fair' => '普通',
-  'good' => '良い',
-  'excellent' => '素晴らしい',
-  'great' => '凄い',
-);
-
-// ------------------------------------------------------------------------- //
-// File include/exif.inc.php
-// ------------------------------------------------------------------------- //
-
-// void
-
-// ------------------------------------------------------------------------- //
-// File include/functions.inc.php
-// ------------------------------------------------------------------------- //
-
-$lang_cpg_die = array(
-  INFORMATION => $lang_info,
-  ERROR => $lang_error,
-  CRITICAL_ERROR => '致命的なエラー',
-  'file' => 'ファイル: ',
-  'line' => '行: ',
-);
-
-$lang_display_thumbnails = array(
-  'filename' => 'ファイル名 : ',
-  'filesize' => 'ファイルサイズ : ',
-  'dimensions' => 'ディメンション : ',
-  'date_added' => '登録日 : '
-);
-
-$lang_get_pic_data = array(
-  'n_comments' => 'コメント数 %s',
-  'n_views' => '閲覧回数 %s',
-  'n_votes' => '( 投票数 %s )'
-);
-
-$lang_cpg_debug_output = array(
-  'debug_info' => 'デバッグ情報',
-  'select_all' => '全てを選択',
-  'copy_and_paste_instructions' => 'coppermineのサポート掲示板にサポートの依頼を投稿する場合は、このデバッグ表示をコピー&ペーストしてください。投稿前にパスワードを***に書換えてください。',
-  'phpinfo' => 'phpinfoを表示',
-  'notices' => '注意',
-);
-
-$lang_language_selection = array(
-  'reset_language' => 'デフォルト言語',
-  'choose_language' => '言語を選択してください',
-);
-
-$lang_theme_selection = array(
-  'reset_theme' => 'デフォルトテーマ',
-  'choose_theme' => 'テーマを選択してください',
-);
-
-$lang_version_alert = array(
-  'version_alert' => 'サポートされていないバージョンです!',
-  'no_stable_version' => 'あなたは非常に経験豊かなユーザ用のCoppermine %s (%s) を使用しています - このバージョンにはサポートおよび保証はありません。あなたの自己責任でこのバージョンを使用するか、サポートが必要な場合は、ステイブルバージョンをダウングレードしてください!',
-  'gallery_offline' => '現在、ギャラリーはオフラインで管理者のあなたのみ見ることができます。メンテナンス終了後、忘れずにオンラインに戻してください。',
-);
-
-$lang_create_tabs = array(
-  'previous' => '前へ',
-  'next' => '次へ',
-);
-
-// ------------------------------------------------------------------------- //
-// File include/init.inc.php
-// ------------------------------------------------------------------------- //
-
-// void
-
-// ------------------------------------------------------------------------- //
-// File keyword.inc.php                                                      //
-// ------------------------------------------------------------------------- //
-
-// void
-
-// ------------------------------------------------------------------------- //
-// File include/picmgmt.inc.php
-// ------------------------------------------------------------------------- //
-
-// void
-
-// ------------------------------------------------------------------------- //
-// File include/plugin_api.inc.php
-// ------------------------------------------------------------------------- //
-$lang_plugin_api = array(
-  'error_wakeup' => "プラグイン「 %s 」を起動できません。",
-  'error_install' => "プラグイン「 %s 」をインストールできません。",
-  'error_uninstall' => "プラグイン「 %s 」をアンインストールできません。",
-  'error_sleep' => "プラグイン「 %s 」を停止できません。<br />",
-);
-
-// ------------------------------------------------------------------------- //
-// File include/smilies.inc.php
-// ------------------------------------------------------------------------- //
-
-if (defined('SMILIES_PHP')) $lang_smilies_inc_php = array(
-  'Exclamation' => 'ビックリ',
-  'Question' => '質問',
-  'Very Happy' => 'とても幸せ',
-  'Smile' => 'スマイル',
-  'Sad' => '悲しい',
-  'Surprised' => '驚き',
-  'Shocked' => 'ショック',
-  'Confused' => '混乱',
-  'Cool' => 'クール',
-  'Laughing' => '笑い',
-  'Mad' => '怒り',
-  'Razz' => '苦笑い',
-  'Embarassed' => '恥ずかしい',
-  'Crying or Very sad' => '号泣またはとても悲しい',
-  'Evil or Very Mad' => '悪いまたはとても怒った',
-  'Twisted Evil' => '意地悪い',
-  'Rolling Eyes' => '転がる目',
-  'Wink' => 'ウインク',
-  'Idea' => 'アイディア',
-  'Arrow' => '許可',
-  'Neutral' => '中立',
-  'Mr. Green' => 'ミスター・グリーン',
-);
-
-// ------------------------------------------------------------------------- //
-// File addpic.php
-// ------------------------------------------------------------------------- //
-
-// void
-
-// ------------------------------------------------------------------------- //
-// File mode.php
-// ------------------------------------------------------------------------- //
-
-if (defined('MODE_PHP')) $lang_mode_php = array(
-  0 => '管理者モードを終了中 ...',
-  1 => '管理者モードに移行中 ...',
-);
-
-// ------------------------------------------------------------------------- //
-// File albmgr.php
-// ------------------------------------------------------------------------- //
-
-if (defined('ALBMGR_PHP')) $lang_albmgr_php = array(
-  'alb_need_name' => 'アルバムにはアルバム名が必要です !',
-  'confirm_modifs' => '本当に更新してもよろしいですか ?',
-  'no_change' => '何も変更されていません !',
-  'new_album' => '新しいアルバム',
-  'confirm_delete1' => '本当にこのアルバムを削除してもよろしいですか ?',
-  'confirm_delete2' => '\nアルバムに含まれる全ての写真とコメントは削除されます !',
-  'select_first' => '最初にアルバムを選択してください。',
-  'alb_mrg' => 'アルバム管理',
-  'my_gallery' => '* マイギャラリー *',
-  'no_category' => '* カテゴリ無し *',
-  'delete' => '削除',
-  'new' => '新規作成',
-  'apply_modifs' => '更新の適用',
-  'select_category' => 'カテゴリ選択',
-);
-
-// ------------------------------------------------------------------------- //
-// File banning.php
-// ------------------------------------------------------------------------- //
-
-if (defined('BANNING_PHP')) $lang_banning_php = array(
-  'title' => 'アクセス禁止ユーザ',
-  'user_name' => 'ユーザ名',
-  'ip_address' => 'IPアドレス',
-  'expiry' => '禁止終了 ( 空白は永久 )',
-  'edit_ban' => '変更を保存',
-  'delete_ban' => '削除',
-  'add_new' => '新しい禁止ユーザを追加',
-  'add_ban' => '追加',
-  'error_user' => 'ユーザが見つかりません',
-  'error_specify' => 'ユーザ名またはIPアドレスを特定してください',
-  'error_ban_id' => 'アクセス禁止IDが違います!',
-  'error_admin_ban' => '自分自身をアクセス禁止にできません!',
-  'error_server_ban' => '自分自身のサーバをアクセス禁止にしますか? それはできません...',
-  'error_ip_forbidden' => 'このIPアドレスをアクセス禁止にできません - ルーティング出来ないIPアドレスです!',
-  'lookup_ip' => 'IPアドレスのルックアップ',
-  'submit' => 'go!',
-  'select_date' => '日付を選択',
-);
-
-// ------------------------------------------------------------------------- //
-// File bridgemgr.php
-// ------------------------------------------------------------------------- //
-
-if (defined('BRIDGEMGR_PHP')) $lang_bridgemgr_php = array(
-  'title' => 'ブリッジウィザード',
-  'warning' => '警告: このウィザードを使用する場合、htmlフォームを使用して重要なデータが送信されることを理解してください。あなたのパソコンのみ ( インターネットカフェのパソコンのような公共のクライアントでは無く ) で動作させてください。終わった後は、ブラウザキャッシュと一時ファイルを忘れずにクリアしてください。クリアしないと他の人があなたのデータにアクセスできることになります!',
-  'back' => '戻る',
-  'next' => '次へ',
-  'start_wizard' => 'ブリッジウィザードを開始',
-  'finish' => '終了',
-  'hide_unused_fields' => '未使用のフォームフィールドを隠す ( 推奨 )',
-  'clear_unused_db_fields' => '無効なデータベースエントリを消去する ( 推奨 )',
-  'custom_bridge_file' => 'あなたのカスタムブリッジファイル名 ( ブリッジファイル名が <i>myfile.inc.php</i>の場合、このフィールドに<i>myfile</i>と入力 )',
-  'no_action_needed' => 'このステップの処理はありません。続けるには「次へ」ボタンをクリックしてください。',
-  'reset_to_default' => 'デフォルト値にリセットする',
-  'choose_bbs_app' => 'coppermineとブリッジするアプリケーションを選択',
-  'support_url' => 'このアプリケーションのサポートにはここをクリック',
-  'settings_path' => 'BBSアプリケーションに使用されるパス',
-  'database_connection' => 'データベース接続',
-  'database_tables' => 'データベーステーブル',
-  'bbs_groups' => 'BBSグループ',
-  'license_number' => 'ライセンスナンバー',
-  'license_number_explanation' => 'ライセンスナンバーを入力してください ( 有効な場合 )。',
-  'db_database_name' => 'データベース名',
-  'db_database_name_explanation' => 'BBSアプリケーションが使用するデータベースのユーザ名を入力してください。',
-  'db_hostname' => 'データベースホスト',
-  'db_hostname_explanation' => 'MySQLデータベースが存在するホスト名 ( 通常は localhost) を入力してください。',
-  'db_username' => 'データベースユーザアカウント',
-  'db_username_explanation' => 'BBSとの接続に使用するMySQLユーザアカウント名を入力してください。',
-  'db_password' => 'データベースパスワード',
-  'db_password_explanation' => 'このMySQLユーザアカウントのパスワード',
-  'full_forum_url' => 'フォーラムURL',
-  'full_forum_url_explanation' => 'BBSアプリケーションへの完全なURL ( http:// を含みます。例 http://www.yourdomain.tld/forum )',
-  'relative_path_of_forum_from_webroot' => 'フォーラムの相対パス',
-  'relative_path_of_forum_from_webroot_explanation' => 'BBSアプリケーションのウェブルートからの相対パス ( 例: BBSが http://www.yourdomain.tld/forum/ にある場合、このフィールドに「 /forum 」と入力してください。)',
-  'relative_path_to_config_file' => 'BBSアプリケーションのconfigファイルへの相対パス',
-  'relative_path_to_config_file_explanation' => 'BBSアプリケーションのCoppermineフォルダからの相対パス ( 例: BBSが http://www.yourdomain.tld/forum/ にあり、Coppermineが http://www.yourdomain.tld/gallery/ にある場合、「../forum/」と入力してください。)',
-  'cookie_prefix' => 'クッキー接頭辞',
-  'cookie_prefix_explanation' => 'あなたのBBSのクッキー名を設定してください。',
-  'table_prefix' => 'テーブル接頭辞',
-  'table_prefix_explanation' => 'BBSの設定時にあなたが選択した接頭辞に合致する必要があります。',
-  'user_table' => 'ユーザテーブル',
-  'user_table_explanation' => '( BBSが標準の方法でインストールされている限り、デフォルトの値で利用できます。)',
-  'session_table' => 'セッションテーブル',
-  'session_table_explanation' => '( BBSが標準の方法でインストールされている限り、デフォルトの値で利用できます。)',
-  'group_table' => 'グループテーブル',
-  'group_table_explanation' => '( BBSが標準の方法でインストールされている限り、デフォルトの値で利用できます。)',
-  'group_relation_table' => 'グループ関連テーブル',
-  'group_relation_table_explanation' => '( BBSが標準の方法でインストールされている限り、デフォルトの値で利用できます。)',
-  'group_mapping_table' => 'グループマッピングテーブル',
-  'group_mapping_table_explanation' => '( BBSが標準の方法でインストールされている限り、デフォルトの値で利用できます。)',
-  'use_standard_groups' => '標準的なBBSユーザグループを使用する',
-  'use_standard_groups_explanation' => 'スタンダード ( ビルドイン ) ユーザグループを使用する ( 推奨 )。このページの全てのカスタムユーザグループ設定を無効にします。あなたが何をしているか本当に理解できる場合のみ、このオプションを無効にしてください!',
-  'validating_group' => 'グループ認証',
-  'validating_group_explanation' => '認証が必要なユーザアカウントが入っているBBSのグループID ( BBSが標準の方法でインストールされている限り、デフォルトの値で利用できます。)',
-  'guest_group' => 'ゲストグループ',
-  'guest_group_explanation' => 'ゲスト ( 匿名ユーザ ) が入っているBBSのグループID ( デフォルトの値で利用できます。あなたが何をしているか本当に理解できる場合のみ編集してください。)',
-  'member_group' => 'メンバグループ',
-  'member_group_explanation' => '「通常」のユーザアカウントが入っているBBSのグループID ( デフォルトの値で利用できます。あなたが何をしているか本当に理解できる場合のみ編集してください。)',
-  'admin_group' => '管理グループ',
-  'admin_group_explanation' => '管理者が入っているBBSのグループID ( デフォルトの値で利用できます。あなたが何をしているか本当に理解できる場合のみ編集してください。)',
-  'banned_group' => 'アクセス禁止グループ',
-  'banned_group_explanation' => 'アクセス禁止ユーザが入っているBBSのグループID ( デフォルトの値で利用できます。あなたが何をしているか本当に理解できる場合のみ編集してください。)',
-  'global_moderators_group' => 'グローバルモデレータグループ',
-  'global_moderators_group_explanation' => 'グローバルモデレータが入っているBBSのグループID ( デフォルトの値で利用できます。あなたが何をしているか本当に理解できる場合のみ編集してください。)',
-  'special_settings' => 'BBS詳細設定',
-  'logout_flag' => 'phpBBバージョン ( ログアウトフラグ )',
-  'logout_flag_explanation' => 'あなたのBBSバージョンは? ( この設定はログアウトがどのように処理されるか指定します。 )',
-  'use_post_based_groups' => '投稿ベースのグループを使用しますか?',
-  'logout_flag_yes' => '2.0.5 またはそれ以上',
-  'logout_flag_no' => '2.0.4 またはそれ以下',
-  'use_post_based_groups_explanation' => '投稿数で定義されたグループをBBSからアカウントに取り込む ( 粒上のパーミッション管理を許可する ) またはデフォルトグループを使用する ( 管理を簡単にします、推奨 )。後でこの設定を変更することができます。',
-  'use_post_based_groups_yes' => 'yes',
-  'use_post_based_groups_no' => 'no',
-  'error_title' => '続けるには、これらのエラーを修正してください。前の画面に戻る。',
-  'error_specify_bbs' => 'インストール済みCoppermineとブリッジしたいアプリケーションを指定してください。',
-  'error_no_blank_name' => 'カスタムブリッジファイル名を空白にはできません。',
-  'error_no_special_chars' => 'ブリッジファイル名にはアンダースコア(_)およびダッシュ(-)以外の特殊文字は使用できません!',
-  'error_bridge_file_not_exist' => 'ブリッジファイル %s がサーバに存在していません。ブリッジファイルをアップロードしたか確認してください。',
-  'finalize' => 'BBSインテグレーションのアクティベート/ディアクティベート',
-  'finalize_explanation' => '設定内容がデータベースに登録されましたが、BBSインテグレーションは有効化されていません。後でインテグレーションをon/offに切り替えることができます。後で変更する場合に必要ですので、スタンドアロンCoppermineより管理者ユーザ名およびパスワードを控えてください。正常に動作しない場合、スタンドアロン ( ブリッジ無し ) 管理者アカウント ( 通常、Coppermineインストールでセットアップしたもの ) でログインして %s でBBSインテグレーションをディアクティベートしてください。',
-  'your_bridge_settings' => 'ブリッジ設定',
-  'title_enable' => '%s とのインテグレーション/ブリッジングを有効にする',
-  'bridge_enable_yes' => '有効',
-  'bridge_enable_no' => '無効',
-  'error_must_not_be_empty' => '空白は許可されません。',
-  'error_either_be' => '%s または %s を入力してください。',
-  'error_folder_not_exist' => '%s がありません。%s で入力した値を訂正してください。',
-  'error_cookie_not_readible' => 'Coppermineがクッキー %s を読むことができません。%s のために入力した値を修正するか、BBS管理パネルでクッキーのパスをcoppermineで読むことができるか確認してください。',
-  'error_mandatory_field_empty' => 'フィールド %s は空白にできません - 適正な値を入力してください。',
-  'error_no_trailing_slash' => 'フィールド %s にトレイリング・スラッシュは不要です。',
-  'error_trailing_slash' => 'フィールド %s にトレイリング・スラッシュが必要です。',
-  'error_db_connect' => '指定されたデータでMySQLデータベースに接続することができませんでした。MySQLのメッセージ:',
-  'error_db_name' => 'Coppermineが接続を確立しましたが、データベース %s を見つけることができませんでした。%s を正しく指定したか確認してください。MySQLのメッセージ:',
-  'error_prefix_and_table' => '%s および ',
-  'error_db_table' => 'テーブル %s が見つかりません。%s を正しく指定したか確認してください。',
-  'recovery_title' => 'ブリッジマネージャー: 緊急リカバリー',
-  'recovery_explanation' => 'CoppermineギャラリーのBBSインテグレーションを管理するため、ここにアクセスした場合、最初に管理者としてログインしてください。ブリッジが期待した通りに動作せずにログインできない場合、このページでBBSインテグレーションをディアクティベートすることができます。あなたのユーザ名およびパスワード入力することでログインできなくなることはありません。BBSインテグレーションをディアクティベートするだけです。詳細はドキュメンテーションをご覧ください。',
-  'username' => 'ユーザ名',
-  'password' => 'パスワード',
-  'disable_submit' => '送信',
-  'recovery_success_title' => '認証成功',
-  'recovery_success_content' => 'BBSブリッジを正常に無効にしました。Coppermineはスタンドアロンモードで動作しています。',
-  'recovery_success_advice_login' => 'ブリッジ設定および/またはBBSインテグレーションを再度有効にするには、adminとしてログインしてください。',
-  'goto_login' => 'ログインページへ移動',
-  'goto_bridgemgr' => 'ブリッジマネージャーへ移動',
-  'recovery_failure_title' => '認証失敗',
-  'recovery_failure_content' => '提供された証明書が間違っています。スタンドアロンバージョンの管理者アカウントを提供する必要があります ( 通常、Coppermineインストール中に設定したアカウントです )。',
-  'try_again' => 'もう一度',
-  'recovery_wait_title' => '待ち時間が経過していません。',
-  'recovery_wait_content' => 'セキュリティ上の理由から、このスクリプトでは短時間でのログイン失敗が許可されていません。認証が許可されるまで、暫くの間お待ちください。',
-  'wait' => '待機',
-  'create_redir_file' => 'リダイレクションファイルの作成 ( 推奨 )',
-  'create_redir_file_explanation' => 'BBSにログインしたユーザをCoppermineにリダイレクトするには、BBSフォルダにリダイレクトファイルを作成する必要があります。このオプションがチェックされた場合、ブリッジマネージャーはこのファイルの作成を試みます。または、ファイルを手動で作成してコピー&ペーストするためのコードを作成します。',
-  'browse' => '閲覧',
-);
-
-// ------------------------------------------------------------------------- //
-// File calendar.php
-// ------------------------------------------------------------------------- //
-
-if (defined('CALENDAR_PHP')) $lang_calendar_php = array(
-  'title' => 'カレンダー',
-  'close' => '閉じる',
-  'clear_date' => '日付をクリア',
-);
-
-// ------------------------------------------------------------------------- //
-// File catmgr.php
-// ------------------------------------------------------------------------- //
-
-if (defined('CATMGR_PHP')) $lang_catmgr_php = array(
-  'miss_param' => '「 %s 」の操作に必要なパラメータが渡されていません !',
-  'unknown_cat' => '選択したカテゴリはデータベースに存在しません。',
-  'usergal_cat_ro' => 'ユーザギャラリーのカテゴリは削除できません !',
-  'manage_cat' => 'カテゴリの管理',
-  'confirm_delete' => '本当にこのカテゴリを削除してもよろしいですか ?',
-  'category' => 'カテゴリ',
-  'operations' => '操作',
-  'move_into' => '移動先',
-  'update_create' => 'カテゴリの作成/更新',
-  'parent_cat' => '親カテゴリ',
-  'cat_title' => 'カテゴリ名',
-  'cat_thumb' => 'カテゴリサムネイル',
-  'cat_desc' => 'カテゴリ説明',
-  'categories_alpha_sort' => 'カテゴリをアルファベット順に並び替え ( カスタム並び順の代わりに )',
-  'save_cfg' => '設定を保存',
-);
-
-// ------------------------------------------------------------------------- //
-// File admin.php
-// ------------------------------------------------------------------------- //
-
-if (defined('ADMIN_PHP')) $lang_admin_php = array(
-  'title' => 'ギャラリー設定',
-  'manage_exif' => 'exif情報の管理',
-  'manage_plugins' => 'プラグインの管理',
-  'manage_keyword' => 'キーワードの管理',
-  'restore_cfg' => '工場出荷時の設定のリストア',
-  'save_cfg' => '設定を保存',
-  'notes' => 'ノート',
-  'info' => '情報',
-  'upd_success' => 'Coppermine設定が更新されました。',
-  'restore_success' => 'Coppermineデフォルト設定がリストアされました。',
-  'name_a' => '名称昇順',
-  'name_d' => '名称降順',
-  'title_a' => 'タイトル昇順',
-  'title_d' => 'タイトル降順',
-  'date_a' => '日付昇順',
-  'date_d' => '日付降順',
-  'pos_a' => 'ポジション昇順',
-  'pos_d' => 'ポジション降順',
-  'th_any' => '最大アスペクト',
-  'th_ht' => '高さ',
-  'th_wd' => '幅',
-  'label' => 'ラベル',
-  'item' => 'アイテム',
-  'debug_everyone' => '全員',
-  'debug_admin' => '管理者のみ',
-  'no_logs'=> 'Off',
-  'log_normal'=> 'ノーマル',
-  'log_all' => '全て',
-  'view_logs' => 'ログの表示',
-  'click_expand' => '広げるにはセクション名をクリック',
-  'expand_all' => '全てを広げる',
-  'notice1' => '(*) データベース内に既にデータがある場合、これらの設定は変更しないでください。',
-  'notice2' => '(**) この設定を変更する場合、更新した時点以降のファイルに適用されます。ギャラリー内にファイルがある場合は、この設定を変更しないことをお勧めします。しかし、管理メニューの「<a href="util.php">管理ツール</a> ( 写真のリサイズ ) ユーティリティ」より、登録されているファイルに変更を適用することができます。',
-  'notice3' => '(***) 全てのログファイルは英語で記録されます。',
-  'bbs_disabled' => 'bbsインテグレーション使用時に機能は利用停止にされます。',
-  'auto_resize_everyone' => '全員',
-  'auto_resize_user' => 'ユーザのみ',
-  'ascending' => '昇順',
-  'descending' => '降順',
-);
-
-if (defined('ADMIN_PHP')) $lang_admin_data = array(
-  '一般設定',
-  array('ギャラリー名', 'gallery_name', 0, 'f=index.htm&amp;as=admin_general_name&amp;ae=admin_general_name_end'),
-  array('ギャラリー説明', 'gallery_description', 0, 'f=index.htm&amp;as=admin_general_description&amp;ae=admin_general_description_end'),
-  array('ギャラリー管理者メールアドレス', 'gallery_admin_email', 0, 'f=index.htm&amp;as=admin_general_email&amp;ae=admin_general_email_end'),
-  array('coppermineギャラリーフォルダのURL ( index.php または類似のファイルを末尾に付けないでください。 )', 'ecards_more_pic_target', 0, 'f=index.htm&amp;as=admin_general_coppermine-url&amp;ae=admin_general_coppermine-url_end'),
-  array('ホームページのURL', 'home_target', 0, 'f=index.htm&amp;as=admin_general_home-url&amp;ae=admin_general_home-url_end'),
-  array('お気に入りのZIPダウンロードを許可', 'enable_zipdownload', 1, 'f=index.htm&amp;as=admin_general_zip-download&amp;ae=admin_general_zip-download_end'),
-  array('GMTと比較したタイムゾーンの差 ( 現在時刻: ' . localised_date(-1, $comment_date_fmt) . ')','time_offset',0, 'f=index.htm&amp;as=admin_general_time-offset&amp;ae=admin_general_time-offset_end&amp;top=1'),
-  array('暗号化パスワードを使用 (can not be undone)','enable_encrypted_passwords',1, 'f=index.htm&amp;as=admin_general_encrypt_password_start&amp;ae=admin_general_encrypt_password_end&amp;top=1'), // cpg 1.4
-  array('ヘルプアイコンを使用 ( 英語のみ利用可 )','enable_help',9, 'f=index.htm&amp;as=admin_general_help&amp;ae=admin_general_help_end'),
-  array('検索でクリッカブル・キーワードを使用','clickable_keyword_search',14, 'f=index.htm&amp;as=admin_general_keywords_start&amp;ae=admin_general_keywords_end'),
-  array('プラグインを使用', 'enable_plugins', 12, 'f=index.htm&amp;as=admin_general_enable-plugins&amp;ae=admin_general_enable-plugins_end'), 
-  array('ノンルータブル ( プライベート ) IPアドレスの拒否を許可', 'ban_private_ip', 1,  'f=index.htm&amp;as=admin_general_private-ip&amp;ae=admin_general_private-ip_end'),
-  array('ブラウザブル一括追加インターフェース', 'browse_batch_add', 1, 'f=index.htm&amp;as=admin_general_browsable_batch_add&amp;ae=admin_general_browsable_batch_add_end'),
-
-  '言語 &amp; 文字設定',
-  array('言語', 'lang', 5, 'f=index.htm&amp;as=admin_language_language&amp;ae=admin_language_language_end'),
-  array('訳語が無い場合は英語を表示?', 'language_fallback', 1, 'f=index.htm&amp;as=admin_language_fallback&amp;ae=admin_language_fallback_end'),
-  array('キャラクタエンコーディング', 'charset', 4, 'f=index.htm&amp;as=admin_language_charset&amp;ae=admin_language_charset_end'),
-  array('言語リストを表示する', 'language_list', 1, 'f=index.htm&amp;as=admin_language_list&amp;ae=admin_language_list_end'),
-  array('言語の旗を表示する', 'language_flags', 8, 'f=index.htm&amp;as=admin_language_flags&amp;ae=admin_language_flags_end&amp;top=1'),
-  array('言語選択に「リセット」を表示する', 'language_reset', 1, 'f=index.htm&amp;as=admin_language_reset&amp;ae=admin_language_reset_end&amp;top=1'),
-  //array('前の/次のタブページを表示する', 'previous_next_tab', 1),
-
-  'テーマ設定',
-  array('テーマ', 'theme', 6, 'f=index.htm&amp;as=admin_theme_theme&amp;ae=admin_theme_theme_end'),
-  array('テーマリストの表示', 'theme_list', 1, 'f=index.htm&amp;as=admin_theme_theme_list&amp;ae=admin_theme_theme_list_end'),
-  array('「リセット」をテーマ選択一覧に表示', 'theme_reset', 1, 'f=index.htm&amp;as=admin_theme_theme_reset&amp;ae=admin_theme_theme_reset_end'),
-  array('FAQの表示', 'display_faq', 1, 'f=index.htm&amp;as=admin_theme_faq&amp;ae=admin_theme_faq_end'),
-  array('カスタムメニューリンク名', 'custom_lnk_name', 0,'f=index.htm&amp;as=admin_theme_custom_lnk_name&amp;ae=admin_theme_custom_lnk_name_end'),
-  array('カスタムメニューリンクURL', 'custom_lnk_url', 0,'f=index.htm&amp;as=admin_language_custom_lnk_url&amp;ae=admin_language_custom_lnk_url_end'),
-  array('bbcodeヘルプの表示', 'show_bbcode_help', 1, 'f=index.htm&amp;as=admin_theme_bbcode&amp;ae=admin_theme_bbcode_end&amp;top=1'),
-  array('XHTMLおよびCSS仕様により定義されたヴァニティーブロックをテーマに表示','vanity_block',1, 'f=index.htm&amp;as=vanity_block&amp;ae=vanity_block_end'),
-  array('カスタムヘッダのパス', 'custom_header_path', 0, 'f=index.htm&amp;as=admin_theme_include_path_start&amp;ae=admin_theme_include_path_end'),
-  array('カスタムフッタのパス', 'custom_footer_path', 0, 'f=index.htm&amp;as=admin_theme_include_path_start&amp;ae=admin_theme_include_path_end'),
-
-  'アルバムリストビュー',
-  array('メインテーブルの幅 ( ピクセルまたは % )', 'main_table_width', 0, 'f=index.htm&amp;as=admin_album_table-width&amp;ae=admin_album_table-width_end'),
-  array('カテゴリのレベル表示数', 'subcat_level', 0, 'f=index.htm&amp;as=admin_album_category-levels&amp;ae=admin_album_category-levels_end'),
-  array('アルバムの表示数', 'albums_per_page', 0, 'f=index.htm&amp;as=admin_album_number&amp;ae=admin_album_number_end'),
-  array('アルバムリストのカラム数', 'album_list_cols', 0, 'f=index.htm&amp;as=admin_album_columns&amp;ae=admin_album_columns_end'),
-  array('サムネイルのピクセルサイズ', 'alb_list_thumb_size', 0, 'f=index.htm&amp;as=admin_album_thumbnail-size&amp;ae=admin_album_thumbnail-size_end'),
-  array('メインページのコンテンツ', 'main_page_layout', 0, 'f=index.htm&amp;as=admin_album_list_content&amp;ae=admin_album_list_content_end'),
-  array('カテゴリに最初のレベルのアルバムサムネイルを表示する','first_level',1, 'f=index.htm&amp;as=admin_album_first-level_thumbs&amp;ae=admin_album_first-level_thumbs_end'),
-  array('カテゴリをアルファベット順に並び替える ( 特別のソート順の代わりに )','categories_alpha_sort',1, 'f=index.htm&amp;as=admin_album_list_alphasort_start&amp;ae=admin_album_list_alphasort_end'),
-  array('リンクファイル数を表示する','link_pic_count',1, 'f=index.htm&amp;as=admin_album_linked_files_start&amp;ae=admin_album_linked_files_end'),
-
-  'サムネイルビュー',
-  array('サムネイルページのカラム数', 'thumbcols', 0, 'f=index.htm&amp;as=admin_thumbnail_columns&amp;ae=admin_thumbnail_columns_end'),
-  array('サムネイルページの列数', 'thumbrows', 0, 'f=index.htm&amp;as=admin_thumbnail_rows&amp;ae=admin_thumbnail_rows_end'),
-  array('タブの最大表示数', 'max_tabs', 10, 'f=index.htm&amp;as=admin_thumbnail_tabs&amp;ae=admin_thumbnail_tabs_end'),
-  array('サムネイル下部に ( タイトルに加えて ) ファイル説明文を表示する', 'caption_in_thumbview', 1, 'f=index.htm&amp;as=admin_thumbnail_display_caption&amp;ae=admin_thumbnail_display_caption_end'),
-  array('サムネイル下部に閲覧数を表示する', 'views_in_thumbview', 1, 'f=index.htm&amp;as=admin_thumbnail_display_views&amp;ae=admin_thumbnail_display_views_end'),
-  array('サムネイル下部にコメント数を表示する', 'display_comment_count', 1, 'f=index.htm&amp;as=admin_thumbnail_display_comments&amp;ae=admin_thumbnail_display_comments_end'),
-  array('サムネイル下部にアップローダ名を表示する', 'display_uploader', 1, 'f=index.htm&amp;as=admin_thumbnail_display_uploader&amp;ae=admin_thumbnail_display_uploader_end'),
-  //array('サムネイルの下に管理者の名前を表示する', 'display_admin_uploader', 1, 'f=index.htm&amp;as=admin_thumbnail_display_admin_uploader&amp;ae=admin_thumbnail_display_admin_uploader_end'),
-  array('サムネイル下部にファイル名を表示する', 'display_filename', 1, 'f=index.htm&amp;as=admin_thumbnail_display_filename&amp;ae=admin_thumbnail_display_filename_end'),
-  array('アルバム説明を表示する', 'alb_desc_thumb', 1, 'f=index.htm&amp;as=admin_thumbnail_display_description&amp;ae=admin_thumbnail_display_description_end'),
-  array('ファイルのデフォルトのソート順', 'default_sort_order', 3, 'f=index.htm&amp;as=admin_thumbnail_default_sortorder&amp;ae=admin_thumbnail_default_sortorder_end'),
-  array('「トップレート」リストにファイルが表示されるための最小投票数', 'min_votes_for_rating', 0, 'f=index.htm&amp;as=admin_thumbnail_minimum_votes&amp;ae=admin_thumbnail_minimum_votes_end'),
-
-  'イメージビュー',
-  array('ファイル表示テーブルの幅 ( ピクセルまたは % )', 'picture_table_width', 0, 'f=index.htm&amp;as=admin_image_comment_table-width&amp;ae=admin_image_comment_table-width_end'),
-  array('デフォルトでファイル情報を表示する', 'display_pic_info', 1, 'f=index.htm&amp;as=admin_image_comment_info_visible&amp;ae=admin_image_comment_info_visible_end'),
-  array('イメージ説明の最大長', 'max_img_desc_length', 0, 'f=index.htm&amp;as=admin_image_comment_descr_length&amp;ae=admin_image_comment_descr_length_end'),
-  array('1語の最大文字数', 'max_com_wlength', 0, 'f=index.htm&amp;as=admin_image_comment_chars_per_word&amp;ae=admin_image_comment_chars_per_word_end'),
-  array('フィルム・ストリップを表示する', 'display_film_strip', 1, 'f=index.htm&amp;as=admin_image_comment_filmstrip_toggle&amp;ae=admin_image_comment_filmstrip_toggle_end'),
-  array('フィルム・ストリップサムネイル下部にファイル名を表示する', 'display_film_strip_filename', 1, 'f=index.htm&amp;as=admin_image_comment_display_film_strip_filename&amp;ae=admin_image_comment_display_film_strip_filename_end'),
-  array('フィルム・ストリップ内のアイテム数', 'max_film_strip_items', 0, 'f=index.htm&amp;as=admin_image_comment_filmstrip_number&amp;ae=admin_image_comment_filmstrip_number_end'),
-  array('スライドショー間隔 - 1000分の1秒単位 ( 1秒 = 1000ミリ秒 )', 'slideshow_interval', 0, 'f=index.htm&amp;as=admin_image_comment_slideshow_interval&amp;ae=admin_image_comment_slideshow_interval_end'),
-
-  'コメント設定',
-  array('コメント中の使用禁止用語をフィルタする', 'filter_bad_words', 1, 'f=index.htm&amp;as=admin_image_comment_bad_words&amp;ae=admin_image_comment_bad_words_end'),
-  array('コメント中のスマイりーを許可する', 'enable_smilies', 1, 'f=index.htm&amp;as=admin_image_comment_smilies&amp;ae=admin_image_comment_smilies_end'),
-  array('同一ユーザによる1つのファイルに対する連続したコメントを許可する ( フラッドプロテクションを無効 )', 'disable_comment_flood_protect', 1, 'f=index.htm&amp;as=admin_image_comment_flood&amp;ae=admin_image_comment_flood_end'),
-  array('コメントの最大行', 'max_com_lines', 0, 'f=index.htm&amp;as=admin_image_comment_lines&amp;ae=admin_image_comment_lines_end'),
-  array('コメントの最大長', 'max_com_size', 0, 'f=index.htm&amp;as=admin_image_comment_length&amp;ae=admin_image_comment_length_end'),
-  array('管理者にコメントの投稿をメール通知する', 'email_comment_notification', 1, 'f=index.htm&amp;as=admin_image_comment_admin_notify&amp;ae=admin_image_comment_admin_notify_end'),
-  array('コメントの並び順', 'comments_sort_descending', 17, 'f=index.htm&amp;as=admin_comment_sort_start&amp;ae=admin_comment_sort_end'),
-  array('匿名コメント投稿者の接頭辞', 'comments_anon_pfx', 0, 'f=index.htm&amp;as=comments_anon_pfx&amp;ae=comments_anon_pfx_end'),
-
-  'ファイルおよびサムネイル設定',
-  array('JPEGファイルのクオリティ', 'jpeg_qual', 0, 'f=index.htm&amp;as=admin_picture_thumbnail_jpeg_quality&amp;ae=admin_picture_thumbnail_jpeg_quality_end'),
-  array('サムネイルの最大長 <a href="#notice2" class="clickable_option">**</a>', 'thumb_width', 0, 'f=index.htm&amp;as=admin_picture_thumbnail_max-dimension&amp;ae=admin_picture_thumbnail_max-dimension_end'),
-  array('使用する長さ ( 幅 または 高さ または サムネイルの最大アスペクト ) <a href="#notice2" class="clickable_option">**</a>', 'thumb_use', 7, 'f=index.htm&amp;as=admin_picture_thumbnail_use-dimension&amp;ae=admin_picture_thumbnail_use-dimension_end'),
-  array('中間写真を作成する','make_intermediate',1, 'f=index.htm&amp;as=admin_picture_thumbnail_intermediate_toggle&amp;ae=admin_picture_thumbnail_intermediate_toggle_end'),
-  array('中間写真/ビデオの最大幅または高さ <a href="#notice2" class="clickable_option">**</a>', 'picture_width', 0, 'f=index.htm&amp;as=admin_picture_thumbnail_intermediate_dimension&amp;ae=admin_picture_thumbnail_intermediate_dimension_end'),
-  array('アップロードファイルの最大サイズ ( KB )', 'max_upl_size', 0, 'f=index.htm&amp;as=admin_picture_thumbnail_max_upload_size&amp;ae=admin_picture_thumbnail_max_upload_size_end'),
-  array('アップロード写真/ビデオの最大幅または高さ ( ピクセル )', 'max_upl_width_height', 0, 'f=index.htm&amp;as=admin_picture_thumbnail_max_upload_dimension&amp;ae=admin_picture_thumbnail_max_upload_dimension_end'),
-  array('最大幅または高さより大きなイメージをオートリサイズする', 'auto_resize', 16, 'f=index.htm&amp;as=admin_picture_thumbnail_auto-resize&amp;ae=admin_picture_thumbnail_auto-resize_end'),
-
-  'ファイルおよびサムネイルの高度な設定',
-  array('アルバムをプライベートにする ( 注意: 「Yes」から「No」に変更した場合、現在のプライベートアルバムは全て公開されます。)', 'allow_private_albums', 1, 'f=index.htm&amp;as=admin_picture_thumb_advanced_private_toggle&amp;ae=admin_picture_thumb_advanced_private_toggle_end'),
-  array('未登録のユーザにプライベートアルバムアイコンを表示する','show_private',1, 'f=index.htm&amp;as=admin_picture_thumb_advanced_private_icon_show&amp;ae=admin_picture_thumb_advanced_private_icon_show_end'),
-  array('ファイル名の禁止文字', 'forbiden_fname_char',0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_filename_forbidden_chars&amp;ae=admin_picture_thumb_advanced_filename_forbidden_chars_end'),
-  //array('アップロード写真に許可されたファイル拡張子', 'allowed_file_extensions',0, 'f=index.htm&amp;as=&amp;ae=_end'),
-  array('利用可能なイメージタイプ', 'allowed_img_types',0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_pic_extensions&amp;ae=admin_picture_thumb_advanced_pic_extensions_end'),
-  array('利用可能なムービータイプ', 'allowed_mov_types',0, 'f=index.htm&amp;as=admin_thumbs_advanced_movie&amp;ae=admin_thumbs_advanced_movie_end'),
-  array('ムービープレイバック自動スタート', 'media_autostart',1, 'f=index.htm&amp;as=admin_movie_autoplay&amp;ae=admin_movie_autoplay_end'),
-  array('利用可能なオーディオタイプ', 'allowed_snd_types',0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_audio_extensions&amp;ae=admin_picture_thumb_advanced_audio_extensions_end'),
-  array('利用可能なドキュメントタイプ', 'allowed_doc_types',0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_doc_extensions&amp;ae=admin_picture_thumb_advanced_doc_extensions_end'),
-  array('イメージのリサイズ方法','thumb_method',2, 'f=index.htm&amp;as=admin_picture_thumb_advanced_resize_method&amp;ae=admin_picture_thumb_advanced_resize_method_end'),
-  array('ImageMagick「コンバート」ユーティリティのパス ( 例 /usr/bin/X11/ )', 'impath', 0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_im_path&amp;ae=admin_picture_thumb_advanced_im_path_end'),
-  //array('利用可能なイメージタイプ ( ImageMagickにのみ有効 )', 'allowed_img_types',0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_allowed_imagetypes&amp;ae=admin_picture_thumb_advanced_allowed_imagetypes_end'),
-  array('ImageMagickのコマンドラインオプション', 'im_options', 0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_im_commandline&amp;ae=admin_picture_thumb_advanced_im_commandline_end'),
-  array('JPEGファイルのEXIFデータを取得する', 'read_exif_data', 13, 'f=index.htm&amp;as=admin_picture_thumb_advanced_exif&amp;ae=admin_picture_thumb_advanced_exif_end'),
-  array('JPEGファイルのIPTCデータを取得する', 'read_iptc_data', 1, 'f=index.htm&amp;as=admin_picture_thumb_advanced_iptc&amp;ae=admin_picture_thumb_advanced_iptc_end'),
-  array('アルバムディレクトリ <a href="#notice1" class="clickable_option">*</a>', 'fullpath', 0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_albums_dir&amp;ae=admin_picture_thumb_advanced_albums_dir_end'),
-  array('ユーザファイルのディレクトリ <a href="#notice1" class="clickable_option">*</a>', 'userpics', 0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_userpics_dir&amp;ae=admin_picture_thumb_advanced_userpics_dir_end'),
-  array('中間写真の接頭辞 <a href="#notice1" class="clickable_option">*</a>', 'normal_pfx', 0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_intermediate_prefix&amp;ae=admin_picture_thumb_advanced_intermediate_prefix_end'),
-  array('サムネイルの接頭辞 <a href="#notice1" class="clickable_option">*</a>', 'thumb_pfx', 0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_thumbs_prefix&amp;ae=admin_picture_thumb_advanced_thumbs_prefix_end'),
-  array('ディレクトリのデフォルトモード', 'default_dir_mode', 0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_chmod_folder&amp;ae=admin_picture_thumb_advanced_chmod_folder_end'),
-  array('ファイルのデフォルトモード', 'default_file_mode', 0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_chmod_files&amp;ae=admin_picture_thumb_advanced_chmod_files_end'),
-
-  'ユーザ設定',
-  array('新しいユーザの登録を許可する', 'allow_user_registration', 1, 'f=index.htm&amp;as=admin_allow_registration&amp;ae=admin_allow_registration_end'),
-  array('未登録ユーザ ( ゲストまたは匿名 ) のアクセスを許可する', 'allow_unlogged_access', 1, 'f=index.htm&amp;as=admin_allow_unlogged_access&amp;ae=admin_allow_unlogged_access_end'),
-  array('ユーザ登録でメール確認が必要', 'reg_requires_valid_email', 1, 'f=index.htm&amp;as=admin_registration_verify&amp;ae=admin_registration_verify_end'),
-  array('ユーザ登録を管理者にメール通知する', 'reg_notify_admin_email', 1, 'f=index.htm&amp;as=admin_registration_notify&amp;ae=admin_registration_notify_end'),
-  array('ユーザ登録の自動アクティベーション', 'admin_activation', 1, 'f=index.htm&amp;as=admin_activation&amp;ae=admin_activation_end'), 
-  array('2人のユーザが同一メールアドレスを持つことを許可する', 'allow_duplicate_emails_addr', 1, 'f=index.htm&amp;as=admin_allow_duplicate_emails_addr&amp;ae=admin_allow_duplicate_emails_addr_end'),
-  array('ユーザアップロードの認証待ち状態を管理者に通知する', 'upl_notify_admin_email', 1, 'f=index.htm&amp;as=admin_approval_notify&amp;ae=admin_approval_notify_end'),
-  array('ログインユーザにメンバリストの閲覧を許可する', 'allow_memberlist', 1, 'f=index.htm&amp;as=admin_user_memberlist&amp;ae=admin_user_memberlist_end'),
-  array('ユーザにプロフィール画面でのメールアドレス変更を許可する', 'allow_email_change', 1, 'f=index.htm&amp;as=admin_user_allow_email_change&amp;ae=admin_user_allow_email_change_end'),
-  array('ユーザにパブリックギャラリーでの写真の保持を許可する', 'users_can_edit_pics', 1, 'f=index.htm&amp;as=admin_user_editpics_public_start&amp;ae=admin_user_editpics_public_end'),
-  array('一時的な利用禁止を行うまでのログイン失敗数 ( ブルートフォースアタックを避けるため )', 'login_threshold', 0, 'f=index.htm&amp;as=admin_user_login_start&amp;ae=admin_user_login_end'),
-  array('ログイン失敗後の一時的利用禁止の継続時間', 'login_expiry', 0, 'f=index.htm&amp;as=admin_user_login_start&amp;ae=admin_user_login_end'),
-  array('アルバムへのレポートを有効にする', 'report_post', 1, 'f=index.htm&amp;as=admin_user_enable_report&amp;ae=admin_user_enable_report_end'), 
-
-// custom profile fields, 
-  'ユーザプロフィールのカスタムフィールド (使用しない場合は空白にしてください。) 
-  経歴等の長い情報はプロフィール6に入力してください。',
-  array('プロフィール1の名称', 'user_profile1_name', 0, 'f=index.htm&amp;as=admin_custom&amp;ae=admin_custom_end'),
-  array('プロフィール2の名称', 'user_profile2_name', 0),
-  array('プロフィール3の名称', 'user_profile3_name', 0),
-  array('プロフィール4の名称', 'user_profile4_name', 0),
-  array('プロフィール5の名称', 'user_profile5_name', 0),
-  array('プロフィール6の名称', 'user_profile6_name', 0),
-
-  'イメージ説明のカスタムフィールド ( 使用しない場合は空白にしてください。 )',
-  array('フィールド1の名称', 'user_field1_name', 0, 'f=index.htm&amp;as=admin_custom_image&amp;ae=admin_custom_image_end'),
-  array('フィールド2の名称', 'user_field2_name', 0),
-  array('フィールド3の名称', 'user_field3_name', 0),
-  array('フィールド4の名称', 'user_field4_name', 0),
-
-  'クッキー設定',
-  array('クッキー名', 'cookie_name', 0, 'f=index.htm&amp;as=admin_cookie_name&amp;ae=admin_cookie_name_end'),
-  array('クッキーパス', 'cookie_path', 0, 'f=index.htm&amp;as=admin_cookie_path&amp;ae=admin_cookie_path_end'),
-
-  'メール設定  ( 通常、ここを変更する必要はありません。分からない場合は、全てを空白にしてください。 )',
-  array('SMTPホスト ( 空白にした場合、sendmailが使用されます。 )', 'smtp_host', 0, 'f=index.htm&amp;as=admin_email&amp;ae=admin_email_end'),
-  array('SMTPユーザ名', 'smtp_username', 0),
-  array('SMTPパスワード', 'smtp_password', 0),
-
-  'ロギングおよび統計',
-  array('ロギングモード <a href="#notice3" class="clickable_option">***</a>', 'log_mode', 11, 'f=index.htm&amp;as=admin_logging_log_mode&amp;ae=admin_logging_log_mode_end'),
-  array('eカードのログ', 'log_ecards', 1, 'f=index.htm&amp;as=admin_general_log_ecards&amp;ae=admin_general_log_ecards_end'),
-  array('投票統計詳細を保存','vote_details',1, 'f=index.htm&amp;as=admin_logging_votedetails&amp;ae=admin_logging_votedetails_end'),
-  array('ヒット統計詳細を保存','hit_details',1, 'f=index.htm&amp;as=admin_logging_hitdetails&amp;ae=admin_logging_hitdetails_end'),
-
-  'メンテナンス設定',
-  array('デバッグモードを有効にする', 'debug_mode', 9, 'f=index.htm&amp;as=debug_mode&amp;ae=debug_mode_end'),
-  array('デバッグモードで警告を表示', 'debug_notice', 1, 'f=index.htm&amp;as=admin_misc_debug_notices&amp;ae=admin_misc_debug_notices_end'),
-  array('ギャラリーをオフラインにする', 'offline', 1, 'f=index.htm&amp;as=admin_general_offline&amp;ae=admin_general_offline_end'),
-);
-
-
-// ------------------------------------------------------------------------- //
-// File db_ecard.php
-// ------------------------------------------------------------------------- //
-
-if (defined('DB_ECARD_PHP')) $lang_db_ecard_php = array(
-  'title' => '送信済みeカード',
-  'ecard_sender' => '送信者',
-  'ecard_recipient' => '受取人',
-  'ecard_date' => '送信日時',
-  'ecard_display' => 'eカードの表示',
-  'ecard_name' => '名前',
-  'ecard_email' => 'メールアドレス',
-  'ecard_ip' => 'IP #',
-  'ecard_ascending' => '昇順',
-  'ecard_descending' => '降順',
-  'ecard_sorted' => '並び替え:',
-  'ecard_by_date' => '日付',
-  'ecard_by_sender_name' => '送信者名',
-  'ecard_by_sender_email' => '送信者メールアドレス',
-  'ecard_by_sender_ip' => '送信者IPアドレス',
-  'ecard_by_recipient_name' => '受取人名',
-  'ecard_by_recipient_email' => '受取人メールアドレス',
-  'ecard_number' => '表示レコード %s - %s (%s 件中)',
-  'ecard_goto_page' => 'ページ移動',
-  'ecard_records_per_page' => '1ページ当たりのレコード数',
-  'check_all' => '全てを選択',
-  'uncheck_all' => 'すべての選択を解除 ',
-  'ecards_delete_selected' => '選択したeカードを削除する',
-  'ecards_delete_confirm' => '本当にレコードを削除してもよろしいですか? チェックボックスをチェックしてください!',
-  'ecards_delete_sure' => '削除確認',
-);
-
-
-// ------------------------------------------------------------------------- //
-// File db_input.php
-// ------------------------------------------------------------------------- //
-
-if (defined('DB_INPUT_PHP')) $lang_db_input_php = array(
-  'empty_name_or_com' => 'お名前とコメントを入力してください。',
-  'com_added' => 'あなたのコメントは追加されました。',
-  'alb_need_title' => 'アルバム名を入力してください !',
-  'no_udp_needed' => '更新は必要ありません。',
-  'alb_updated' => 'アルバムが更新されました。',
-  'unknown_album' => '選択したアルバムが存在しない、またはこのアルバムにアップロードする権限がありません。',
-  'no_pic_uploaded' => 'ファイルはアップロードされませんでした !<br /><br />アップロードするファイルを正しく選択している場合は、サーバが</br>ファイルのアップロードを許可しているか確認してください ...',
-  'err_mkdir' => 'ディレクトリ %s の作成に失敗しました !',
-  'dest_dir_ro' => '対象ディレクトリ %s はスクリプトによる書込みができません !',
-  'err_move' => '%s を %s に移動できません !',
-  'err_fsize_too_large' => 'あなたがアップロードしたファイルのサイズは大き過ぎます ( 最大サイズは%sx%sです ) !',
-  'err_imgsize_too_large' => 'あなたがアップロードしたファイルのサイズは大き過ぎます ( 最大サイズは%sKBです ) !',
-  'err_invalid_img' => 'あなたがアップロードしたファイルは有効なイメージではありません !',
-  'allowed_img_types' => '%s のイメージのみアップロードできます。',
-  'err_insert_pic' => 'ファイル「 %s 」はアルバムに登録できません。 ',
-  'upload_success' => 'あなたのファイルは正常にアップロードされました。<br /><br />管理者の承認後に表示されます。',
-  'notify_admin_email_subject' => '%s - アップロード通知',
-  'notify_admin_email_body' => '%s によって写真がアップロードされました。認証するには、次のリンクをクリックしてください。 %s',
-  'info' => '情報',
-  'com_added' => 'コメントが追加されました。',
-  'alb_updated' => 'アルバムが更新されました。',
-  'err_comment_empty' => 'コメントが空白です !',
-  'err_invalid_fext' => '次の拡張子のファイルのみ使用できます: <br /><br />%s',
-  'no_flood' => '申し訳ございません、あなたは既にこのファイルにコメントを投稿しています。<br /><br />修正したい場合は、コメントを編集してください。',
-  'redirect_msg' => 'リダイレクトされました。<br /><br /><br />ページが自動的に更新されない場合は「続ける」をクリックしてください。',
-  'upl_success' => 'あなたのファイルが正常に登録されました。',
-  'email_comment_subject' => 'Coppermine Photo Galleryにコメントが投稿されました。',
-  'email_comment_body' => 'ギャラリーにコメントが投稿されました。こちらをご覧ください:',
-  'album_not_selected' => 'アルバムが選択されていません。',
-  'com_author_error' => '登録済みユーザがこのニックネームを使用しています。他のニックネームを使用してください。',
-);
-
-// ------------------------------------------------------------------------- //
-// File delete.php
-// ------------------------------------------------------------------------- //
-
-if (defined('DELETE_PHP')) $lang_delete_php = array(
-  'caption' => 'キャプション',
-  'fs_pic' => 'フルサイズイメージ',
-  'del_success' => '削除成功',
-  'ns_pic' => 'ノーマルサイズイメージ',
-  'err_del' => '削除不可',
-  'thumb_pic' => 'サムネイル',
-  'comment' => 'コメント',
-  'im_in_alb' => 'アルバム内のイメージ',
-  'alb_del_success' => 'アルバム「 %s 」が削除されました。',
-  'alb_mgr' => 'アルバムマネージャー',
-  'err_invalid_data' => '「 %s 」に不正なデータが発生しました。',
-  'create_alb' => 'アルバム「 %s 」の作成中',
-  'update_alb' => 'アルバム「 %s 」 アルバム名「 %s 」 インデックス「 %s 」を更新しています。',
-  'del_pic' => 'ファイルの削除',
-  'del_alb' => 'アルバムの削除',
-  'del_user' => 'ユーザの削除',
-  'err_unknown_user' => '選択したユーザは存在していません !',
-  'err_empty_groups' => 'グループテーブルが存在していません、またはグループテーブルが空です!',
-  'comment_deleted' => 'コメントが削除されました。',
-  'npic' => '写真',
-  'pic_mgr' => '写真マネージャー',
-  'update_pic' => '写真 \'%s\' を更新中 - ファイル名: 「 %s 」 インデックス: 「 %s 」',
-  'username' => 'ユーザ名',
-  'anonymized_comments' => '%s 件のコメントが匿名化されました。',
-  'anonymized_uploads' => '%s 件のパブリックアップロードが匿名化されました。',
-  'deleted_comments' => '%s 件のコメントが削除されました。',
-  'deleted_uploads' => '%s 件のパブリックアップロードが削除されました。',
-  'user_deleted' => 'ユーザ %s が削除されました。',
-  'activate_user' => 'ユーザの有効化',
-  'user_already_active' => 'アカウントは既に有効にされています。',
-  'activated' => '有効化',
-  'deactivate_user' => 'ユーザのディアクティベート',
-  'user_already_inactive' => 'アカウントは既に無効にされています。',
-  'deactivated' => 'ディアクティベート済み',
-  'reset_password' => 'パスワードのリセット',
-  'password_reset' => 'パスワードのリセット: %s',
-  'change_group' => '第1グループの変更',
-  'change_group_to_group' => '%s から %s へ変更',
-  'add_group' => '第2グループの追加',
-  'add_group_to_group' => 'ユーザ追加 - ユーザ: %s → グループ: %s 現在、第1グループ: %s  第2グループ: %s のユーザです。',
-  'status' => 'ステータス',
-);
-
-// ------------------------------------------------------------------------- //
-// File displayecard.php
-// ------------------------------------------------------------------------- //
-
-if (defined('DISPLAYECARD_PHP')) {
-
-$lang_displayecard_php = array(
-  'invalid_data' => 'あなたがアクセスしようとしたeカードのデータが、あなたのメールクライアントによって破損しています。リンクが完全なものか確認してください。',
-);
-}
-
-// ------------------------------------------------------------------------- //
-// File displayimage.php
-// ------------------------------------------------------------------------- //
-
-if (defined('DISPLAYIMAGE_PHP')){
-
-$lang_display_image_php = array(
-  'confirm_del' => '本当にこのファイルを削除してもよろしいですか ? \\n同時にコメントも削除されます。',
-  'del_pic' => 'この写真を削除',
-  'size' => '%s x %s ピクセル',
-  'views' => '%s 回',
-  'slideshow' => 'スライドショー',
-  'stop_slideshow' => 'スライドショーを停止',
-  'view_fs' => 'クリックでフルサイズのイメージを表示',
-  'edit_pic' => '説明の編集',
-  'crop_pic' => 'クロップおよび回転',
-  'set_player' => 'プレイヤーの変更',
-);
-
-$lang_picinfo = array(
-  'title' =>'ファイル情報',
-  'Filename' => 'ファイル名',
-  'Album name' => 'アルバム名',
-  'Rating' => 'レーティング ( 投票数 %s件 )',
-  'Keywords' => 'キーワード',
-  'File Size' => 'ファイルサイズ',
-  'Date Added' => '追加年月日',
-  'Dimensions' => 'ディメンション',
-  'Displayed' => '表示',
-  'URL' => 'URL',
-  'Make' => '型',
-  'Model' => 'モデル',
-  'DateTime' => '日時',
-  'DateTimeOriginal' => '撮影日時',
-  'ISOSpeedRatings'=>'ISO',
-  'MaxApertureValue' => '最大絞り',
-  'FocalLength' => '焦点距離',
-  'Comment' => 'コメント',
-  'addFav'=>'お気に入りに追加',
-  'addFavPhrase'=>'お気に入り',
-  'remFav'=>'お気に入りから削除',
-  'iptcTitle'=>'IPTCタイトル',
-  'iptcCopyright'=>'IPTCコピーライト',
-  'iptcKeywords'=>'IPTCキーワード',
-  'iptcCategory'=>'IPTCカテゴリ',
-  'iptcSubCategories'=>'IPTCサブカテゴリ',
-  'ColorSpace' => 'カラースペース',
-  'ExposureProgram' => '露出プログラム',
-  'Flash' => 'フラッシュ',
-  'MeteringMode' => '計器モード',
-  'ExposureTime' => '露出時間',
-  'ExposureBiasValue' => '露出バイアス',
-  'ImageDescription' => ' イメージ説明',
-  'Orientation' => 'オリエンテーション',
-  'xResolution' => 'X 解像度',
-  'yResolution' => 'Y 解像度',
-  'ResolutionUnit' => '解像度ユニット',
-  'Software' => 'ソフトウェア',
-  'YCbCrPositioning' => '画素構成',
-  'ExifOffset' => 'Exifオフセット',
-  'IFD1Offset' => 'IFD1オフセット',
-  'FNumber' => 'FNumber',
-  'ExifVersion' => 'Exifバージョン',
-  'DateTimeOriginal' => 'オリジナルの日時',
-  'DateTimedigitized' => 'デジタル化した日時',
-  'ComponentsConfiguration' => 'コンポーネント設定',
-  'CompressedBitsPerPixel' => 'ピクセルあたりの圧縮ビット',
-  'LightSource' => '光源',
-  'ISOSetting' => 'ISO設定',
-  'ColorMode' => 'カラーモード',
-  'Quality' => '画質',
-  'ImageSharpening' => 'イメージシャープネス',
-  'FocusMode' => 'フォーカスモード',
-  'FlashSetting' => 'フラッシュ設定',
-  'ISOSelection' => 'ISO選択',
-  'ImageAdjustment' => 'イメージアジャストメント',
-  'Adapter' => 'アダプタ',
-  'ManualFocusDistance' => 'マニュアルフォーカス距離',
-  'DigitalZoom' => 'デジタルズーム',
-  'AFFocusPosition' => 'AFフォーカスポジション',
-  'Saturation' => '彩度',
-  'NoiseReduction' => 'ノイズリダクション',
-  'FlashPixVersion' => 'Flash Pixバージョン',
-  'ExifImageWidth' => 'Exifイメージ幅',
-  'ExifImageHeight' => 'Exifイメージ高',
-  'ExifInteroperabilityOffset' => 'Exif相互接続オフセット',
-  'FileSource' => 'ファイルソース',
-  'SceneType' => 'シーンタイプ',
-  'CustomerRender' => 'カスタマレンダ',
-  'ExposureMode' => '露光モード',
-  'WhiteBalance' => 'ホワイトバランス',
-  'DigitalZoomRatio' => 'デジタルズームレシオ',
-  'SceneCaptureMode' => 'シーンキャプチャモード',
-  'GainControl' => 'ゲインコントロール',
-  'Contrast' => 'コントラスト',
-  'Saturation' => '彩度',
-  'Sharpness' => 'シャープネス',
-  'ManageExifDisplay' => 'Exif表示管理',
-  'submit' => '送信',
-  'success' => '情報が更新されました。',
-  'details' => '詳細',
-);
-
-$lang_display_comments = array(
-  'OK' => 'OK',
-  'edit_title' => 'このコメントを編集する',
-  'confirm_delete' => '本当にこのコメントを削除してもよろしいですか ?',
-  'add_your_comment' => 'コメントを追加する',
-  'name'=>'名前',
-  'comment'=>'コメント',
-  'your_name' => 'お名前',
-  'report_comment_title' => 'このコメントを管理者に報告する。',
-);
-
-$lang_fullsize_popup = array(
-  'click_to_close' => 'イメージのクリックでウインドウを閉じる',
-);
-
-}
-
-// ------------------------------------------------------------------------- //
-// File ecard.php
-// ------------------------------------------------------------------------- //
-
-if (defined('ECARDS_PHP') || defined('DISPLAYECARD_PHP')) $lang_ecard_php =array(
-  'title' => 'eカードの送信',
-  'invalid_email' => '<b>警告</b> : メールアドレスが正しくありません !',
-  'ecard_title' => '%s のeカード',
-  'error_not_image' => 'イメージ以外はeカードとして送信できません。',
-  'view_ecard' => 'eカードが正常に表示されない場合の代わりのリンク',
-  'view_ecard' => 'eカードが正常に表示されない場合は、このリンクをクリックしてください。',
-  'view_more_pics' => 'もっと写真を見る場合は、このリンクをクリックしてください !',
-  'send_success' => 'eカードが送信されました。',
-  'send_failed' => '申し訳ございません、eカードを送信できませんでした ...',
-  'from' => 'From',
-  'your_name' => '名前',
-  'your_email' => 'メールアドレス',
-  'to' => 'To',
-  'rcpt_name' => '受取人の名前',
-  'rcpt_email' => '受取人のメールアドレス',
-  'greetings' => 'あいさつ',
-  'message' => 'メッセージ',
-  'ecards_footer' => '%s によりIPアドレス %s より %s ( ギャラリー時間 ) に送信されました。',
-  'preview' => 'eカードのプレビュー',
-  'preview_button' => 'プレビュー',
-  'submit_button' => 'eカードの送信',
-  'preview_view_ecard' => 'これは、eカードが生成された後の代替的なリンクとなります。プレビューでは動作しません。',
-);
-
-// ------------------------------------------------------------------------- //
-// File report_file.php
-// ------------------------------------------------------------------------- //
-
-if (defined('REPORT_FILE_PHP') || defined('DISPLAYREPORT_PHP')) $lang_report_php =array(
-  'title' => '管理者に報告',
-  'invalid_email' => '<b>警告</b> : メールアドレスが正しくありません!',
-  'report_subject' => '%s によるレポート / ギャラリー: %s',
-  'view_report' => 'レポートが正常に表示されない場合の代替リンク',
-  'view_report_plaintext' => 'レポートを閲覧するには、このURLをブラウザのアドレスバーにコピー＆ペーストしてください:',
-  'view_more_pics' => 'ギャラリー',
-  'send_success' => 'あなたのレポートが送信されました。',
-  'send_failed' => '申し訳ございません。サーバはあなたのリクエストを送信できません ...',
-  'from' => 'From',
-  'your_name' => 'あなたの名前',
-  'your_email' => 'あなたのメールアドレス',
-  'to' => 'To',
-  'administrator' => '管理者/モデレータ',
-  'subject' => '題名',
-  'comment_field_name' => '「 %s 」によるコメントのリポート',
-  'reason' => '理由',
-  'message' => 'メッセージ',
-  'report_footer' => '送信者: %s IPアドレス: %s ギャラリー時間: %s',
-  'obscene' => '節度を欠いた',
-  'offensive' => '攻撃',
-  'misplaced' => 'オフ・トピック/場所違い',
-  'missing' => '不明',
-  'issue' => 'エラー/閲覧不可',
-  'other' => '他',
-  'refers_to' => 'ファイルレポート参照',
-  'reasons_list_heading' => 'レポートの理由:',
-  'no_reason_given' => '理由が与えられていません。',
-  'go_comment' => 'コメントへ移動',
-  'view_comment' => 'コメントのフルリポートを表示',
-  'type_file' => 'ファイル',
-  'type_comment' => 'コメント',
-);
-
-// ------------------------------------------------------------------------- //
-// File editpics.php
-// ------------------------------------------------------------------------- //
-
-if (defined('EDITPICS_PHP')) $lang_editpics_php = array(
-  'pic_info' => 'ファイル情報',
-  'album' => 'アルバム',
-  'title' => '写真名',
-  'filename' => 'ファイル名',
-  'desc' => '説明',
-  'keywords' => 'キーワード',
-  'new_keyword' => '新しいキーワード',
-  'new_keywords' => '新しいキーワードが見つかりました。',
-  'existing_keyword' => '存在するキーワード',
-  'pic_info_str' => '%s &times; %s - %s KB - 閲覧回数 %s - 投票件数 %s',
-  'approve' => 'ファイルの承認',
-  'postpone_app' => '承認の延期',
-  'del_pic' => 'ファイルの削除',
-  'del_all' => '全てのファイルを削除',
-  'read_exif' => 'EXIF情報の再取得',
-  'reset_view_count' => '閲覧カウンタをリセット',
-  'reset_all_view_count' => '全ての閲覧カウンタをリセット',
-  'reset_votes' => '投票をリセット',
-  'reset_all_votes' => '全ての投票をリセット',
-  'del_comm' => 'コメントの削除',
-  'del_all_comm' => '全てのコメントを削除',
-  'upl_approval' => 'アップロード承認',
-  'edit_pics' => 'ファイルの編集',
-  'see_next' => '前へ',
-  'see_prev' => '次へ',
-  'n_pic' => 'ファイル数 %s',
-  'n_of_pic_to_disp' => 'ファイル表示数',
-  'apply' => '修正の適用',
-  'crop_title' => 'Coppermineピクチャーエディタ',
-  'preview' => 'プレビュー',
-  'save' => '写真の保存',
-  'save_thumb' =>'サムネイルとして保存',
-  'gallery_icon' => 'この画像をマイアイコンにする',
-  'sel_on_img' =>'選択はイメージ内で行ってください!',
-  'album_properties' =>'アルバム属性',
-  'parent_category' =>'親カテゴリ',
-  'thumbnail_view' =>'サムネイルビュー',
-  'select_unselect' =>'全てを選択/選択解除',
-  'file_exists' => "ファイル「 %s 」は既に登録されています。",
-  'rename_failed' => "'%s' から '%s へのリネームが失敗しました。",
-  'src_file_missing' => "ソースファイル「 %s 」が見つかりません。",
-  'mime_conv' => "ファイルを「 %s 」から「 %s 」にコンバートできません。",
-  'forb_ext' => '使用が許可されていないファイル拡張子です。',
-);
-
-// ------------------------------------------------------------------------- //
-// File faq.php
-// ------------------------------------------------------------------------- //
-
-if (defined('FAQ_PHP')) $lang_faq_php = array(
-  'faq' => 'よくある質問と答え ',
-  'toc' => '目次',
-  'question' => '質問: ',
-  'answer' => '答え: ', 
-);
-
-if (defined('FAQ_PHP')) $lang_faq_data = array(
-  '一般的なFAQ',
-  array('なぜユーザ登録する必要がありますか?', 'ユーザ登録の要否は管理者によって決定されます。ユーザ登録することで、メンバーはファイルのアップロード、お気に入りの追加、写真の評価、コメントの投稿等の機能を使用することができます。', 'allow_user_registration', '0'),
-  array('ユーザ登録方法は?', '&quot;ユーザ登録&quot;にアクセスして必須項目フィールドに必要事項を入力してください(必要であれば任意項目も)。<br />管理者がメール承認を利用可にしている場合は個人情報を送信した後、登録メールアドレス宛にアカウントのアクティベートに関する説明が記載されたメールが送信されます。ログインするためにはアカウントのアクティベートを行ってください。', 'allow_user_registration', '1'),
-  array('ログインの方法は?', '&quot;ログイン&quot;画面にアクセスしてユーザ名とパスワードを入力してください。&quot;次回からユーザ名・パスワードの入力を省略&quot;をチェックすると以後自動的にログインすることができます。 <br /><b>重要:クッキーは利用可にしてください。&quot;次回からユーザ名・パスワードの入力を省略&quot;を使用する場合は、このサイト発行のクッキーを削除しないでください。</b>', 'offline', 0),
-  array('なぜログイン出来ないのですか?', 'ユーザ登録後に送信されるメールに記載されていたリンクをクリックしましたか? リンクをクリックすることでアカウントをアクティベートすることができます。他のログインに関するトラブルは管理者にお問合せください。', 'offline', 0),
-  array('パスワードを忘れたら?', 'このサイトに&quot;パスワードを忘れました&quot;リンクがある場合はお使いください。その他の場合はサイト管理者に新しいパスワードの発行を依頼してください。', 'offline', 0),
-  // array('普段使用しているメールアドレスを変更したら?', 'ログイン後、&quot;マイプロフィール&quot;で変更してください。', 'offline', 0),
-  array('&quot;お気に入り&quot;に写真を保存する方法は?', '写真をクリックした後、&quot;写真情報&quot;リンク(<img src="images/info.gif" width="16" height="16" border="0" alt="Picture information" />)をクリックしてください。写真情報の下方にある&quot;お気に入りに追加&quot;をクリックしてください。<br />管理者には&quot;写真情報&quot;がデフォルトで表示されています。<br /><b>重要:クッキーを使用可にして、このサイト発行のクッキーを削除しないでください。', 'offline', 0),
-  array('写真の評価方法は?', '写真のサムネイルをクリックして、下方に表示されるレーティングを選択してください。', 'offline', 0),
-  array('写真へのコメント投稿方法は?', '写真のサムネイルをクリックして、下方に表示されるコメント欄に投稿してください。', 'offline', 0),
-  array('写真のアップロード方法は?', '&quot;ファイルのアップロード&quot;にアクセスして、ファイルをアップロードしたいアルバムを選択してください。&quot;参照&quot;をクリックした後、アップロードしたいファイルを選択して&quot;開く&quot;をクリックします。(必要に応じてタイトル、説明文を付加えてください) 最後に&quot;ファイルのアップロード&quot;をクリックしてください。', 'allow_private_albums', 0),
-  array('どこに写真をアップロードすれば良いですか?', '&quot;マイギャラリー&quot;内のアルバムに写真をアップロードすることができます。管理者の設定により、メインギャラリー内のアルバムに写真をアップロードすることもできます。', 'allow_private_albums', 0),
-  array('どのような種類とサイズの写真をアップロードできますか?', 'アップロード出来るサイズと種類(jpg,gif,等)は管理者により決定されます。', 'offline', 0),
-  array('&quot;マイギャラリー&quot;内のアルバム作成・リネーム・削除方法は?', 'まず、&quot;管理者モード&quot;にしてください。<br />&quot;アルバム&quot;にアクセスして&quot;新規作成&quot;をクリックしてください。 &quot;新しいアルバム&quot;を好きな名称に変更してください。<br />ギャラリー内の全てのアルバムの名称を変更することができます。<br />&quot;更新の適用&quot;をクリックしてください。', 'allow_private_albums', 0),
-  array('マイアルバムの修正および閲覧の制限方法は?', 'まず、&quot;管理者モード&quot;にしてください。<br />&quot;アルバムの更新&quot;バーにある&quot;マイアルバムの修正&quot;にアクセスして、修正したいアルバムを選択してください。<br />ここでアルバム名、説明、サムネイル、閲覧制限、コメント/レーティングのパーミッションを変更することができます。<br />&quot;アルバムの更新&quot;をクリックしてください。', 'allow_private_albums', 0),
-  array('他のユーザのギャラリーを閲覧する方法は?', '&quot;アルバムリスト&quot;にアクセスして、&quot;ユーザギャラリー&quot;を選択してください。', 'allow_private_albums', 0),
-  array('クッキーとは?', 'クッキーは、ウェブサイトからあなたのコンピュータに保存されるプレインテキストのデータです。<br />通常、クッキーはユーザがサイトに戻って来た時に、再度ログインしなくても済むように利用されます。また、他の多くの役割を持っています。', 'offline', 0),
-  array('このプログラムの入手方法は?', 'Coppermineは、GNU GPLによりリリースされたフリーのマルチメディアギャラリーです。Coppermineは、多機能なシステムであり、様々なプラットフォームに移植されています。詳細情報の閲覧、ダウンロードは<a href="http://coppermine-gallery.net/">Coppermineホームページ</a>にアクセスして行ってください。', 'offline', 0),
-
-  'サイト運用',
-  array('&quot;アルバムリスト&quot;とは?', 'アルバムリストでは、ギャラリー全てをそれぞれのカテゴリへのリンクと共に表示します。サムネイルは、カテゴリへリンクされています。', 'offline', 0),
-  array('&quot;マイギャラリー&quot;とは?', 'マイギャラリーでは、ユーザが自身のギャラリーを作成することができます。ユーザは、写真のアップロードと同様に、アルバムの追加、削除、修正を行うことができます。', 'allow_private_albums', 0),
-  array('&quot;管理者モード&quot;と&quot;ユーザモード&quot;の違いは?', '管理者モードでは、ユーザが自分のギャラリーを(管理者が許可している場合は他の人のギャラリーも)修正することができます。', 'allow_private_albums', 0),
-  array('&quot;ファイルのアップロード&quot;とは?', 'ユーザは自分または管理者が選択したギャラリーに写真をアップロードすることができます。 (サイズと種類は管理者により設定されます)', 'allow_private_albums', 0),
-  array('&quot;最新アップロード&quot;とは?', '最新アップロードでは、サイトにアップロードされた直近のファイルが表示されます。', 'offline', 0),
-  array('&quot;最新コメント&quot;とは?', '最新コメントでは、写真に投稿された直近のコメントが表示されます。', 'offline', 0),
-  array('&quot;閲覧最多&quot;とは?', '閲覧最多では、ログインの有無に係わらず全ユーザから最も閲覧された写真が表示されます。', 'offline', 0),
-  array('&quot;トップレート&quot;とは?', 'トップレートでは、ユーザによりレーティングされたトップレートの写真が、平均レーティングと共に表示されます。(例: 5名のユーザが<img src="images/rating3.gif" width="65" height="14" border="0" alt="" />のレーティングを行った場合、写真の平均レーティングは<img src="images/rating3.gif" width="65" height="14" border="0" alt="" />となります。5名のユーザが1から5のレーティングを行った場合(1,2,3,4,5)、平均レーティングは<img src="images/rating3.gif" width="65" height="14" border="0" alt="" /> になります。)<br />レーティングの範囲は、<img src="images/rating5.gif" width="65" height="14" border="0" alt="best" /> (最高) から <img src="images/rating0.gif" width="65" height="14" border="0" alt="worst" /> (最低)の間です。', 'offline', 0),
-  array('&quot;お気に入り&quot;とは?', 'お気に入りでは、お気に入りの写真情報を、あなたのコンピュータにクッキーで保存します。', 'offline', 0),
-);
-
-
-// ------------------------------------------------------------------------- //
-// File forgot_passwd.php
-// ------------------------------------------------------------------------- //
-
-if (defined('FORGOT_PASSWD_PHP')) $lang_forgot_passwd_php = array(
-  'forgot_passwd' => 'パスワードリマインダ', 
-  'err_already_logged_in' => '既にログインしています !',
-  'enter_username_email' => 'ユーザ名またはメールアドレスを入力してください',
-  'submit' => 'go',
-  'failed_sending_email' => 'パスワードリマインダによるメールは送信できません!',
-  'email_sent' => 'ユーザ名とパスワードを記載したメールが %s 宛に送信されました。',
-  'err_unk_user' => '選択したユーザは登録されていません!',
-  'passwd_reminder_subject' => '%s - パスワードリマインダー',
-  'passwd_reminder_body' => 'ログインデータが請求されました:
-ユーザ名: %s
-パスワード: %s
-ログインはこちら %s ',
-);
-
-// ------------------------------------------------------------------------- //
-// File groupmgr.php
-// ------------------------------------------------------------------------- //
-
-if (defined('GROUPMGR_PHP')) $lang_groupmgr_php = array(
-  'group_name' => 'グループ名',
-  'permissions' => 'パーミッション',
-  'public_albums' => 'パブリックアルバムアップロード',
-  'personal_gallery' => 'パーソナルギャラリー',
-  'upload_method' => 'アップロード方法',
-  'disk_quota' => 'ディスク容量',
-  'rating' => 'レーティング',
-  'ecards' => 'Eカード',
-  'comments' => 'コメント',
-  'allowed' => '許可',
-  'approval' => '承認',
-  'boxes_number' => 'ボックスNo.',
-  'variable' => '変数',
-  'fixed' => '固定',
-  'apply' => '更新の適用',
-  'create_new_group' => '新規グループの作成',
-  'del_groups' => '選択したグループの削除',
-  'confirm_del' => '警告、グループを削除した場合、グループに属していたユーザは\'Registered\'グループに移動されます !\n\n処理を続けますか ?',
-  'title' => 'ユーザグループの管理',
-  'num_file_upload'=>'ファイルアップロードボックスの最大数',
-  'num_URI_upload'=>'URLアップロードボックスの最大数',
-  'reset_to_default' => 'デフォルト名 (%s) のリセット - 推奨!',
-  'error_group_empty' => 'グループテーブルが空です!<br /><br />デフォルトグループが作成されました。このページをリロードしてください。',
-  'explain_greyed_out_title' => 'なぜこの列がグレーになっていますか?',
-  'explain_guests_greyed_out_text' => '設定ページで「未登録ユーザ ( ゲストまたは匿名 )」オプションを「No」に設定したため、あなたはグループの属性を変更することはできません。全てのゲスト ( %s のメンバー) は、ログイン以外の処理を行うことができません。従ってグループ設定は適用されません。',
-  'explain_banned_greyed_out_text' => 'メンバーに属しているため、あなたはグループ %s の属性を変更することはできません。',
-  'group_assigned_album' => '割り当てられたアルバム',
-);
-
-// ------------------------------------------------------------------------- //
-// File index.php
-// ------------------------------------------------------------------------- //
-
-if (defined('INDEX_PHP')){
-
-$lang_index_php = array(
-  'welcome' => 'ようこそ !',
-);
-
-$lang_album_admin_menu = array(
-  'confirm_delete' => '本当にこのアルバムを削除してもよろしいですか ? \\n同時に全ての写真とコメントは削除されます。',
-  'delete' => '削除',
-  'modify' => 'プロパティ',
-  'edit_pics' => 'ファイルの編集',
-);
-
-$lang_list_categories = array(
-  'home' => 'Home',
-  'stat1' => 'カテゴリ数:<b>[cat]</b>&nbsp;&nbsp;&nbsp;アルバム数:<b>[albums]</b>&nbsp;&nbsp;&nbsp;写真枚数:<b>[pictures]</b>&nbsp;&nbsp;&nbsp;コメント数:<b>[comments]</b>&nbsp;&nbsp;&nbsp;閲覧回数:<b>[views]</b>',
-  'stat2' => 'アルバム数:<b>[albums]</b>&nbsp;&nbsp;&nbsp;写真枚数:<b>[pictures]</b>&nbsp;&nbsp;&nbsp;閲覧回数:<b>[views]</b>',
-  'xx_s_gallery' => '%sのギャラリー',
-  'stat3' => 'アルバム数:<b>[albums]</b>&nbsp;&nbsp;&nbsp;写真枚数:<b>[pictures]</b>&nbsp;&nbsp;&nbsp;コメント数:<b>[comments]</b>&nbsp;&nbsp;&nbsp;閲覧回数:<b>[views]</b>'
-);
-
-$lang_list_users = array(
-  'user_list' => 'ユーザリスト',
-  'no_user_gal' => 'ユーザギャラリーはありません。',
-  'n_albums' => 'アルバム数 %s',
-  'n_pics' => 'ファイル数 %s'
-);
-
-$lang_list_albums = array(
-  'n_pictures' => 'ファイル数:%s',
-  'last_added' => '、最終追加日:%s',
-  'n_link_pictures' => 'リンクファイル数:%s',
-  'total_pictures' => '合計ファイル数:%s',
-);
-
-}
-
-// ------------------------------------------------------------------------- //
-// File keywordmgr.php
-// ------------------------------------------------------------------------- //
-
-if (defined('KEYWORDMGR_PHP')) $lang_keywordmgr_php = array(
-  'title' => 'キーワードの管理',
-  'edit' => '編集',
-  'delete' => '削除',
-  'search' => '検索',
-  'keyword_test_search' => '新しいウインドウで %s を検索',
-  'keyword_del' => 'キーワード %s の削除',
-  'confirm_delete' => '本当にキーワード %s をギャラリー全てから削除してもよろしいですか?',  // js-alert
-  'change_keyword' => 'キーワードの変更',
-);
-
-// ------------------------------------------------------------------------- //
-// File login.php
-// ------------------------------------------------------------------------- //
-
-if (defined('LOGIN_PHP')) $lang_login_php = array(
-  'login' => 'ログイン',
-  'enter_login_pswd' => 'ユーザ名とパスワードを入力してください。',
-  'username' => 'ユーザ名',
-  'password' => 'パスワード',
-  'remember_me' => '次回からユーザ名・パスワードの入力を省略',
-  'welcome' => 'ようこそ %s さん...',
-  'err_login' => '*** ログインできませんでした。再度ログインしてください ***',
-  'err_already_logged_in' => '既にログインしています !',
-  'forgot_password_link' => 'パスワードを忘れました。',
-  'cookie_warning' => '警告: あなたのブラウザはスクリプトのクッキーを許可していません。',
-);
-
-// ------------------------------------------------------------------------- //
-// File logout.php
-// ------------------------------------------------------------------------- //
-
-if (defined('LOGOUT_PHP')) $lang_logout_php = array(
-  'logout' => 'ログアウト',
-  'bye' => '%sさん、さようなら...',
-  'err_not_loged_in' => 'ログインしていません !',
-);
-
-// ------------------------------------------------------------------------- //
-// File minibrowser.php
-// ------------------------------------------------------------------------- //
-
-if (defined('MINIBROWSER_PHP')) $lang_minibrowser_php = array(
-  'close' => '閉じる',
-  'submit' => 'OK',
-  'up' => '1レベル上へ',
-  'current_path' => 'カレントパス',
-  'select_directory' => 'ディレクトリを選択してください。',
-  'click_to_close' => 'ウインドウを閉じるにはイメージをクリックしてください。',
-);
-
-// ------------------------------------------------------------------------- //
-// File modifyalb.php
-// ------------------------------------------------------------------------- //
-
-if (defined('MODIFYALB_PHP')) $lang_modifyalb_php = array(
-  'upd_alb_n' => 'アルバムの更新 %s',
-  'general_settings' => '一般設定',
-  'alb_title' => 'アルバム名',
-  'alb_cat' => 'カテゴリ',
-  'alb_desc' => '説明',
-  'alb_keyword' => 'アルバムキーワード',
-  'alb_thumb' => 'サムネイル',
-  'alb_perm' => 'このアルバムに対するパーミッション',
-  'can_view' => 'アルバム閲覧可能',
-  'can_upload' => 'ビジターは写真をアップロード出来る',
-  'can_post_comments' => 'ビジターはコメントを投稿できる',
-  'can_rate' => 'ビジターは写真を評価出来る',
-  'user_gal' => 'ユーザギャラリー',
-  'no_cat' => '* カテゴリ無し *',
-  'alb_empty' => 'アルバムには何も入っていません',
-  'last_uploaded' => '最新アップロード',
-  'public_alb' => '全員 ( パブリックアルバム )',
-  'me_only' => '私のみ',
-  'owner_only' => 'アルバムの所有者 (%s) のみ',
-  'groupp_only' => '%s グループメンバーのみ',
-  'err_no_alb_to_modify' => '修正できるアルバムがデータベースにありません。',
-  'update' => 'アルバムの更新',
-  'reset_album' => 'アルバムのリセット',
-  'reset_views' => '%s の閲覧カウンタをゼロにリセットする。',
-  'reset_rating' => '%s の全てのファイルのレーティングをリセットする',
-  'delete_comments' => '%s の全てのコメントを削除する',
-  'delete_files' => '%s完全%s %s 内の全てのファイルを削除する',
-  'views' => '閲覧',
-  'votes' => '投票',
-  'comments' => 'コメント',
-  'files' => 'ファイル',
-  'submit_reset' => '変更を送信',
-  'reset_views_confirm' => '実行します',
-  'notice1' => '(*) %sグループ%s 設定による',
-  'alb_password' => 'アルバムパスワード',
-  'alb_password_hint' => 'アルバムパスワードヒント',
-  'edit_files' =>'ファイルの編集',
-  'parent_category' =>'親カテゴリ',
-  'thumbnail_view' =>'サムネイルビュー',
-);
-
-// ------------------------------------------------------------------------- //
-// File phpinfo.php
-// ------------------------------------------------------------------------- //
-
-if (defined('PHPINFO_PHP')) $lang_phpinfo_php = array(
-  'php_info' => 'PHP情報',
-  'explanation' => 'この内容はPHP関数<a href="http://www.php.net/phpinfo">phpinfo()</a>によって生成され、Coppermine内に表示されているものです。 ( 右側の余白をトリミングしています。)',
-  'no_link' => '他の人にphpinfoを見られることでセキュリティ上のリスクが生じます。このページは管理者としてログインした時のみ閲覧することができます。このページへのリンクを他のページに張っても、管理者としてログインしない限りアクセスは拒否されます。',
-);
-
-// ------------------------------------------------------------------------- //
-// File picmgr.php
-// ------------------------------------------------------------------------- //
-if (defined('PICMGR_PHP')) $lang_picmgr_php = array(
-  'pic_mgr' => 'ピクチャーマネージャー',
-  'select_album' => 'アルバムの選択',
-  'delete' => '削除',
-  'confirm_delete1' => '本当のこの写真を削除してもよろしいですか?',
-  'confirm_delete2' => '\n写真が完全に削除されました。',
-  'apply_modifs' => '修正の適用',
-  'confirm_modifs' => '修正の確認',
-  'pic_need_name' => '写真名をつける必要があります!',
-  'no_change' => 'あなたは変更を行っていません!',
-  'no_album' => '* アルバム無し *',
-  'explanation_header' => '特別ソート順では、管理者が「ファイルのデフォルトのソート順」設定を「ポジションの昇順で並び替え」または',
-  'explanation1' => '「ポジションの降順で並び替え」( 他のソートオプションを選択していないユーザの全体的な設定 ) に',
-  'explanation2' => '設定した場合のみ、ユーザが「ポジションの昇順で並び替え」または「ポジションの降順で並び替え」選択したものがアカウントに取り込まれます。',
-);
-
-
-// ------------------------------------------------------------------------- //
-// File pluginmgr.php
-// ------------------------------------------------------------------------- //
-
-if (defined('PLUGINMGR_PHP')){
-
-$lang_pluginmgr_php = array(
-  'confirm_uninstall' => '本当にこのプラグインをアンインストールしてもよろしいですか',
-  'confirm_delete' => '本当にこのプラグインを削除してもよろしいですか',
-  'pmgr' => 'プラグインマネージャー',
-  'name' => '名称',
-  'author' => '作者',
-  'desc' => '説明',
-  'vers' => 'v',
-  'i_plugins' => 'インストール済みプラグイン',
-  'n_plugins' => 'プラグインがインストールされていません。',
-  'none_installed' => '未インストール',
-  'operation' => '操作',
-  'not_plugin_package' => 'アップロードされたファイルはプラグインパッケージではありません。',
-  'copy_error' => 'プラグインフォルダへのパッケージのコピーにエラーが発生しました。',
-  'upload' => 'アップロード',
-  'configure_plugin' => 'プラグインの設定',
-  'cleanup_plugin' => 'プラグインのクリーンアップ',
-);
-}
-
-// ------------------------------------------------------------------------- //
-// File ratepic.php
-// ------------------------------------------------------------------------- //
-
-if (defined('RATEPIC_PHP')) $lang_rate_pic_php = array(
-  'already_rated' => '申し訳ございません、あなたは既にこのファイルを評価しています。',
-  'rate_ok' => 'あなたの投票は受理されました。',
-  'forbidden' => '自分の写真を評価することはできません。',
-);
-
-// ------------------------------------------------------------------------- //
-// File register.php & profile.php
-// ------------------------------------------------------------------------- //
-
-if (defined('REGISTER_PHP') || defined('PROFILE_PHP')) {
-
-$lang_register_disclamer = <<<EOT
-{SITE_NAME}の管理者は、一般的に好ましくない投稿を出来るだけ速やかに削除するよう試みますが、全ての投稿を閲覧することは不可能です。従って、このサイトに対する全投稿の見解が投稿者によるものであり、管理者やウェブマスターのもので無く ( これらの人々の投稿は除く )、管理者やウェブマスターに投稿の責任が無いことをあなたは認めます。
-<br />
-<br />
-あなたは、公序良俗に反する投稿や、個人への誹謗中傷の投稿、性的な投稿、その他法に反する投稿をしない事に同意します。
-あなたは、{SITE_NAME}の管理者、ウェブマスター、モデレーターがいかなる時も投稿内容を編集・削除する権利を有することに同意します。あなたは、ユーザとしてあなたが投稿した情報がデータベースに保存されることに同意します。この情報は、あなたの同意無しに管理者、ウェブマスターより第三者に開示されることはありませんが、データが流出する恐れのあるハッキング等の行為に対して管理者、ウェブマスターは責任を負うことはありません。
-<br />
-<br />
-このサイトでは、あなたのコンピュータに情報を保存するためにクッキーを使用します。クッキーはあなたの閲覧を快適にするためだけに使用されます。メールアドレスは、あなたの登録に関する詳細およびパスワードの認証のためだけに使用されます。 
-<br />
-<br />
-「同意します」をクリックすることで、あなたは上記の利用規約に同意します。
-EOT;
-
-$lang_register_php = array(
-  'page_title' => 'ユーザ登録',
-  'term_cond' => '利用規約',
-  'i_agree' => '同意します',
-  'submit' => '登録実行',
-  'err_user_exists' => '入力されたユーザ名は既に登録されています、別のユーザ名を入力してください。',
-  'err_password_mismatch' => 'パスワードが一致しません、再度入力してください。',
-  'err_uname_short' => 'ユーザ名は2文字以上にしてください。',
-  'err_password_short' => 'パスワードは2文字以上にしてください。',
-  'err_uname_pass_diff' => 'ユーザ名とパスワードは異なる必要があります。',
-  'err_invalid_email' => 'メールアドレスが正しくありません。',
-  'err_duplicate_email' => '他のユーザが既に同じメールアドレスを登録しています。',
-  'enter_info' => '登録情報を入力してください。',
-  'required_info' => '必須項目',
-  'optional_info' => '任意項目',
-  'username' => 'ユーザ名',
-  'password' => 'パスワード',
-  'password_again' => 'パスワードをもう一度',
-  'email' => 'メールアドレス',
-  'location' => '居住地',
-  'interests' => '興味のあること',
-  'website' => 'ホームページ',
-  'occupation' => '職業',
-  'error' => 'エラー',
-  'confirm_email_subject' => '%s - 登録確認',
-  'information' => '情報',
-  'failed_sending_email' => '登録確認メールが送信できません !',
-  'thank_you' => 'ご登録ありがとうございます。<br /><br />アカウントのアクティベートに関する情報が登録されたメールアドレス宛に送信されました。',
-  'acct_created' => 'あなたのアカウントが作成されました。ユーザ名とパスワードでログインできます。',
-  'acct_active' => 'あなたのアカウントがアクティベートされました。ユーザ名とパスワードでログインできます。',
-  'acct_already_act' => 'あなたのアカウントは既にアクティベートされています !',
-  'acct_act_failed' => 'このアカウントはアクティベートできません !',
-  'err_unk_user' => '選択したユーザは存在しません !',
-  'x_s_profile' => '%s のプロフィール',
-  'group' => 'グループ',
-  'reg_date' => '登録年月日',
-  'disk_usage' => 'ディスク使用量',
-  'change_pass' => 'パスワードの変更',
-  'current_pass' => '現在のパスワード',
-  'new_pass' => '新しいパスワード',
-  'new_pass_again' => '新しいパスワードをもう一度',
-  'err_curr_pass' => '現在のパスワードが正しくありません。',
-  'apply_modif' => '更新の適用',
-  'change_pass' => 'パスワードの変更',
-  'update_success' => 'プロフィールが更新されました。',
-  'pass_chg_success' => 'パスワードが変更されました。',
-  'pass_chg_error' => 'パスワードが変更されませんでした。',
-  'notify_admin_email_subject' => '%s - 登録通知',
-  'last_uploads' => '最新アップロードファイル<br />全てのアップロードファイルを見るにはクリックしてください。',
-  'last_comments' => '最新コメント<br />全てのコメントを見るにはクリックしてください。',
-  'notify_admin_email_body' => 'ギャラリーにユーザ名 "%s" の新しいユーザが登録されました',
-  'pic_count' => 'アップロードファイル',
-  'notify_admin_request_email_subject' => '%s - 登録リクエスト',
-  'thank_you_admin_activation' => 'ありがとうございます。<br /><br />あなたのアカウントアクティベートに関するリクエストが管理者に送信されました。認証された場合、あなたのメールアドレス宛にメールが送信されます。',
-  'acct_active_admin_activation' => 'アカウントがアクティベートされ、ユーザにメールが送信されました。',
-  'notify_user_email_subject' => '%s - アクティベート通知',
-);
-
-$lang_register_confirm_email = <<<EOT
-{SITE_NAME} へのご登録ありがとうございます。
-
-あなたのユーザ名は "{USER_NAME}" です。
-あなたのパスワードは "{PASSWORD}" です。
-
-アカウントのアクティベートをするには下記のリンクをクリックまたは
-ブラウザのアドレス欄にコピーしてください。
-
-{ACT_LINK}管理者
-
-{SITE_NAME}
-
-EOT;
-
-$lang_register_approve_email = <<<EOT
-新しいユーザ「 {USER_NAME} 」がギャラリーに登録されました。
-
-アカウントをアクティベートするには、下記のリンクをクリックするか、ブラウザにコピー＆ペーストしてください。
-
-<a href="{ACT_LINK}">{ACT_LINK}</a>
-
-EOT;
-
-$lang_register_activated_email = <<<EOT
-あなたのアカウントがアクティベートされました。
-
-ユーザ名「 {USER_NAME} 」を使用して <a href="{SITE_LINK}">{SITE_LINK}</a> にログインすることができます。
-
-
-{SITE_NAME} 管理者
-
-EOT;
-}
-
-// ------------------------------------------------------------------------- //
-// File reviewcom.php
-// ------------------------------------------------------------------------- //
-
-if (defined('REVIEWCOM_PHP')) $lang_reviewcom_php = array(
-  'title' => 'コメントのレビュー',
-  'no_comment' => 'レビューするコメントはありません。',
-  'n_comm_del' => '%s件のコメントが削除されました。',
-  'n_comm_disp' => '表示するコメント数',
-  'see_prev' => '前へ',
-  'see_next' => '次へ',
-  'del_comm' => '選択したコメントを削除',
-  'user_name' => '名前',
-  'date' => '登録日時',
-  'comment' => 'コメント',
-  'file' => 'ファイル',
-  'name_a' => 'ユーザ名昇順',
-  'name_d' => 'ユーザ名降順',
-  'date_a' => '日付昇順',
-  'date_d' => '日付降順',
-  'comment_a' => 'コメントメッセージ昇順',
-  'comment_d' => 'コメントメッセージ降順',
-  'file_a' => 'ファイル昇順',
-  'file_d' => 'ファイル降順',
-);
-
-
-// ------------------------------------------------------------------------- //
-// File search.php                                                           //
-// ------------------------------------------------------------------------- //
-
-
-if (defined('SEARCH_PHP')){
-
-$lang_search_php = array(
-  'title' => 'ファイルコレクションの検索',
-  'submit_search' => '検索',
-  'keyword_list_title' => 'キーワードリスト',
-  'keyword_msg' => '上記のリストは全てを含んでいません。写真のタイトルまたは説明を含んでいません。フルテキスト検索をお試しください。', 
-  'edit_keywords' => 'キーワードの編集',
-  'search in' => '検索対象:',
-  'ip_address' => 'IPアドレス',
-  'fields' => '検索対象',
-  'age' => 'エイジ',
-  'newer_than' => '新しい',
-  'older_than' => '古い',
-  'days' => '日',
-  'all_words' => 'すべて含む (AND)',
-  'any_words' => '少なくとも一つを含む (OR)',
-);
-
-$lang_adv_opts = array(
-  'title' => 'タイトル',
-  'caption' => 'キャプション',
-  'keywords' => 'キーワード',
-  'owner_name' => '所有者名',
-  'filename' => 'ファイル名',
-);
-
-}
-
-// ------------------------------------------------------------------------- //
-// File searchnew.php
-// ------------------------------------------------------------------------- //
-
-if (defined('SEARCHNEW_PHP')) $lang_search_new_php = array(
-  'page_title' => '新しいファイルの検索',
-  'select_dir' => 'ディレクトリ選択',
-  'select_dir_msg' => 'ここではFTPによりサーバにアップロードしたファイルをアルバムに一括登録します。<br /><br />ファイルをアップロードしたディレクトリを選択してください。',
-  'no_pic_to_add' => '追加するファイルはありません。',
-  'need_one_album' => 'この機能を使うためには1つ以上のアルバムが必要です。',
-  'warning' => '警告',
-  'change_perm' => 'スクリプトがこのディレクトリに書込めませんでした。ファイルを追加する前にディレクトリのパーミッションモードを755または777に変更する必要があります !',
-  'target_album' => '<b>「</b>%s<b>」内のファイルを</b>%s<b>に追加する</b>',
-  'folder' => 'フォルダ',
-  'image' => 'イメージ',
-  'album' => 'アルバム',
-  'result' => '結果',
-  'dir_ro' => '書込み権がありません。',
-  'dir_cant_read' => '読取り権がありません。',
-  'insert' => '新規ファイルのギャラリーへの追加',
-  'list_new_pic' => '新規ファイル一覧',
-  'insert_selected' => '選択したファイルの追加',
-  'no_pic_found' => '新しいファイルは見つかりませんでした。',
-  'be_patient' => '暫くお待ちください。',
-  'no_album' => 'アルバムが選択されていません',
-  'result_icon' => '詳細表示またはリロードをするには、ここをクリック', 
-  'notes' =>  '<ul>'.
-                         '<li><b>OK</b> : 正常にファイルが追加されました。'.
-                         '<li><b>DP</b> : ファイルが重複して既にデータベースに登録されています。'.
-                         '<li><b>PB</b> : ファイルを追加できませんでした、設定およびファイルが登録されるディレクトリのパーミッションを確認してください。'.
-                         '<li><b>NA</b> : ファイルを追加するアルバムが選択されていません。\'<a href="javascript:history.back(1)">戻る</a>\'をクリックしてアルバムを選択してください。アルバムを作成していない場合は、<a href="albmgr.php">最初に作成してください。</a></li>'.
-                          '<li>OK、DP、PBサインのいずれも表示されなかった場合は、PHPエラーを表示するために破損した写真をクリックしてください。'.
-                         '<li>タイムアウトが発生した場合、ブラウザの更新ボタンをクリックしてください。'.
-                         '</ul>',
-  'select_album' => 'アルバムを選択してください',
-  'check_all' => '全てを選択',
-  'uncheck_all' => '全てを選択解除',
-  'no_folders' => 'まだ「アルバム」フォルダ内にフォルダがありません。少なくとも1つのカスタムフォルダを「アルバム」フォルダに作成して、そのフォルダにファイルをアップロードしてください。httpアップロードおよび内部的な目的に使用されますので「userpics」フォルダおよび「edit」フォルダにアップロードしないでください。',
-   'albums_no_category' => 'カテゴリ無しのアルバム', // album pulldown mod, added by frogfoot
-  'personal_albums' => '* パーソナルアルバム', // album pulldown mod, added by frogfoot
-  'browse_batch_add' => '閲覧可能インターフェース ( 推奨 )',
-  'edit_pics' => 'ファイルの編集',
-  'edit_properties' => 'アルバム属性',
-  'view_thumbs' => 'サムネイルビュー',
-);
-
-// ------------------------------------------------------------------------- //
-// File stat_details.php
-// ------------------------------------------------------------------------- //
-
-if (defined('STAT_DETAILS_PHP')) $lang_stat_details_php = array(
-  'show_hide' => 'このカラムを表示/非表示',
-  'vote' => '投票詳細',
-  'hits' => 'ヒット詳細',
-  'stats' => '投票統計',
-  'sdate' => '日付',
-  'rating' => 'レーティング',
-  'search_phrase' => '検索キーワード',
-  'referer' => 'リファラ',
-  'browser' => 'ブラウザ',
-  'os' => 'オペレーティングシステム',
-  'ip' => 'IP',
-  'sort_by_xxx' => '%s による並び替え',
-  'ascending' => '昇順',
-  'descending' => '降順',
-  'internal' => 'インターナショナル',
-  'close' => '閉じる',
-  'hide_internal_referers' => 'インターナショナルリファラを隠す',
-  'date_display' => '日付表示',
-  'submit' => '送信 / リフレッシュ',
-);
-
-// ------------------------------------------------------------------------- //
-// File thumbnails.php
-// ------------------------------------------------------------------------- //
-
-// Void
-
-// ------------------------------------------------------------------------- //
-// File upload.php
-// ------------------------------------------------------------------------- //
-
-if (defined('UPLOAD_PHP')) $lang_upload_php = array(
-  'title' => 'ファイルのアップロード',
-  'custom_title' => 'カスタマイズ・リクエストフォーム',
-  'cust_instr_1' => 'アップロードボックス数を選択することができます。下記の制限値以上に選択することはできません。',
-  'cust_instr_2' => 'ボックス数リクエスト',
-  'cust_instr_3' => 'ファイルアップロードボックス: %s',
-  'cust_instr_4' => 'URI/URL アップロードボックス: %s',
-  'cust_instr_5' => 'URI/URL アップロードボックス:',
-  'cust_instr_6' => 'ファイルアップロードボックス:',
-  'cust_instr_7' => '作成したいそれぞれの種類のアップロードボックス数を入力してください。その後「続ける」をクリックしてください。 ',
-  'reg_instr_1' => 'フォームの作成に間違いがあります。',
-  'reg_instr_2' => '下記のアップロードボックスを使用してファイルをアップロードすることができます。サーバにアップロードするファイルのサイズは、%s KBを超えないようにしてください。ZIPファイルは「ファイルのアップロード」および「URI/URLのアップロード」セクションより圧縮されたままアップロードされます。',
-  'reg_instr_3' => 'ZIP圧縮されたファイルまたは圧縮されたアーカイブを展開したい場合は、ZIPファイルの展開アップロード」を使用してください。',
-  'reg_instr_4' => 'URI/URLアップロードセクションを使用するときは、http://www.mysite.com/images/example.jpg のようにファイルのパスを入力してください。',
-  'reg_instr_5' => 'フォームの入力完了後、「続ける」をクリックしてください。',
-  'reg_instr_6' => 'ZIPファイルの展開アップロード:',
-  'reg_instr_7' => 'ファイルのアップロード:',
-  'reg_instr_8' => 'URI/URLアップロード:',
-  'error_report' => 'エラーレポート',
-  'error_instr' => '次のアップロードファイルにエラーが発生しました:',
-  'file_name_url' => 'ファイル名/URL',
-  'error_message' => 'エラーメッセージ',
-  'no_post' => 'ファイルの投稿はありません。',
-  'forb_ext' => '許可されていないファイル拡張子です。',
-  'exc_php_ini' => 'php.iniで許可されているファイルサイズを超えました。',
-  'exc_file_size' => 'CPGで許可されたファイルサイズを超えました。', 
-  'partial_upload' => '一部のみアップロードされました。',
-  'no_upload' => 'アップロードされませんでした。',
-  'unknown_code' => '不明なPHPアップロードエラーコードです。',
-  'no_temp_name' => 'アップロードされませんでした - テンポラリ名称がありません。',
-  'no_file_size' => 'データがありません。',
-  'impossible' => '移動できません。',
-  'not_image' => 'イメージがありません。',
-  'not_GD' => 'GD extensionではありません。',
-  'pixel_allowance' => '許可されたピクセルの範囲を超えました。',
-  'incorrect_prefix' => '間違ったURI/URL接頭辞です。',
-  'could_not_open_URI' => 'URIをオープンできません。',
-  'unsafe_URI' => '安全性が検証できません。',
-  'meta_data_failure' => 'メタデータエラー',
-  'http_401' => '401 Unauthorized',
-  'http_402' => '402 Payment Required',
-  'http_403' => '403 Forbidden',
-  'http_404' => '404 Not Found',
-  'http_500' => '500 Internal Server Error',
-  'http_503' => '503 Service Unavailable',
-  'MIME_extraction_failure' => 'MIMEタイプを決定できません。',
-  'MIME_type_unknown' => '不明なMIMEタイプです。',
-  'cant_create_write' => '書込みファイルを作成できません。',
-  'not_writable' => '書込みファイルに書き込めません。',
-  'cant_read_URI' => 'URI/URLを読み込めません。',
-  'cant_open_write_file' => 'URI書込みファイルをオープンできません。',
-  'cant_write_write_file' => 'URI書込みファイルに書き込めません。',
-  'cant_unzip' => 'ZIPファイルの展開ができません。',
-  'unknown' => '不明なエラー',
-  'succ' => 'アップロード完了',
-  'success' => '%s のファイルアップロードが正常に完了しました。',
-  'add' => 'アルバムにファイルを追加する場合は「続ける」をクリックしてください。',
-  'failure' => 'アップロードエラー',
-  'f_info' => 'ファイル情報',
-  'no_place' => 'ファイルはアップロードされませんでした。',
-  'yes_place' => 'ファイルが正常にアップロードされました。',
-  'max_fsize' => 'アップロード可能な最大ファイルサイズは %sKB です。',
-  'album' => 'アルバム',
-  'picture' => 'ファイル',
-  'pic_title' => 'ファイル名',
-  'description' => 'ファイルの説明',
-  'keywords' => 'キーワード (半角スペースで区切る)',
-  'keywords_sel' =>'キーワードの選択',
-  'err_no_alb_uploadables' => '申し訳ございません。あなたがファイルをアップロード許可されているアルバムはありません。',
-  'place_instr_1' => 'アルバムにファイルをアップロードしてください。各ファイルに関連情報を入力することもできます。',
-  'place_instr_2' => '更にファイルをアップロードする必要があります。「続ける」をクリックしてください。',
-  'process_complete' => '全てのファイルが正常にアップロードされました。',
-   'albums_no_category' => 'カテゴリ無しのアルバム',
-  'personal_albums' => '* パーソナルアルバム',
-  'select_album' => 'アルバムの選択',
-  'close' => '閉じる',
-  'no_keywords' => '申し訳ございません。利用可能なキーワードはありません!',
-  'regenerate_dictionary' => 'ディレクトリの再作成',
-);
-
-// ------------------------------------------------------------------------- //
-// File usermgr.php
-// ------------------------------------------------------------------------- //
-
-if (defined('USERMGR_PHP')) $lang_usermgr_php = array(
-  'memberlist' => 'メンバリスト',
-  'user_manager' => 'ユーザマネージャ',
-  'title' => 'ユーザの管理',
-  'name_a' => 'ユーザ名の昇順',
-  'name_d' => 'ユーザ名の降順',
-  'group_a' => 'グループ名の昇順',
-  'group_d' => 'グループ名の降順',
-  'reg_a' => '登録日の昇順',
-  'reg_d' => '登録日の降順',
-  'pic_a' => '写真枚数の昇順',
-  'pic_d' => '写真枚数の降順',
-  'disku_a' => 'ディスク使用量の昇順',
-  'disku_d' => 'ディスク使用量の降順',
-  'lv_a' => '最終アクセスの昇順',
-  'lv_d' => '最終アクセスの降順',
-  'sort_by' => 'ユーザの並び替え',
-  'err_no_users' => 'ユーザテーブルが空です !',
-  'err_edit_self' => '自分自身のプロフィールは編集できません。「マイプロフィール」を使用してください。',
-  'edit' => '編集',
-  'with_selected' => '選択したファイル:',
-  'delete' => '削除',
-  'delete_files_no' => 'パブリックファイルを保持する ( しかし匿名にする )',
-  'delete_files_yes' => 'パブリックファイルを同様に削除する',
-  'delete_comments_no' => 'コメントを保持する ( しかし匿名にする )',
-  'delete_comments_yes' => '同様にコメントも削除する',
-  'activate' => 'アクティベート',
-  'deactivate' => 'ディアクティベート',
-  'reset_password' => 'パスワードのリセット',
-  'change_primary_membergroup' => '第1メンバーグループの変更',
-  'add_secondary_membergroup' => '第2メンバーグループの追加',
-  'name' => 'ユーザ名',
-  'group' => 'グループ',
-  'inactive' => '非活性',
-  'operations' => '操作',
-  'pictures' => 'ファイル',
-  'disk_space_used' => '使用済み容量',
-  'disk_space_quota' => 'ディスク容量',
-  'registered_on' => '登録年月日',
-  'last_visit' => '最終訪問日',
-  'u_user_on_p_pages' => '%d ユーザ/ %d ページ中',
-  'confirm_del' => '本当にこのユーザを削除してもよろしいですか ? \\ユーザに属する全てのファイルとアルバムは削除されます。',
-  'mail' => 'メール',
-  'err_unknown_user' => '選択したユーザは登録されていません!',
-  'modify_user' => 'ユーザの変更',
-  'notes' => '注意',
-  'note_list' => '<li>現在のパスワードを変更したくない場合は、「パスワード」フィールドを空白にしてください。',
-  'password' => 'パスワード',
-  'user_active' => 'ユーザをアクティベートする',
-  'user_group' => 'グループ',
-  'user_email' => 'メールアドレス',
-  'user_web_site' => 'ホームページ',
-  'create_new_user' => '新規ユーザの作成',
-  'user_location' => '居住地',
-  'user_interests' => '興味のあること',
-  'user_occupation' => '職業',
-  'user_profile1' => '$user_profile1',
-  'user_profile2' => '$user_profile2',
-  'user_profile3' => '$user_profile3',
-  'user_profile4' => '$user_profile4',
-  'user_profile5' => '$user_profile5',
-  'user_profile6' => '$user_profile6',
-  'latest_upload' => '最新アップロード',
-  'never' => '無し',
-  'search' => 'ユーザ検索',
-  'submit' => '送信',
-  'search_submit' => 'Go!',
-  'search_result' => '検索結果: ',
-  'alert_no_selection' => '最初に少なくとも1ユーザを選択してください!', //js-alert
-  'password' => 'パスワード',
-  'select_group' => 'グループの選択',
-  'groups_alb_access' => 'グループのアルバムアクセス権',
-  'album' => 'アルバム',
-  'category' => 'カテゴリ',
-  'modify' => '修正?',
-  'group_no_access' => 'このグループには特別アクセス権がありません。',
-  'notice' => 'Notice',
-  'group_can_access' => '「 %s 」のみがアクセス可能なアルバム',
-);
-
-// ------------------------------------------------------------------------- //
-// File util.php
-// ------------------------------------------------------------------------- //
-
-if (defined('UTIL_PHP')) {
-$lang_util_desc_php = array(
-'ファイル名からタイトルを更新',
-'タイトルの削除',
-'サムネイルの再構築および写真のリサイズ',
-'オリジナルサイズの写真を削除してリサイズしたバージョンと入れ替える',
-'ウェブスペースを解放するため、オリジナルまたは中間サイズの写真を削除する',
-'迷子コメントの削除',
-'ファイルサイズおよび画面サイズを再読み込みする ( 写真を手動で編集した場合 )',
-'表示カウンタをリセット',
-'phpinfoの表示',
-'データベースの更新',
-'ログファイルの表示する',
-);
-$lang_util_php = array(
-  'title' => '管理ツール ( 写真のリサイズ )',
-  'what_it_does' => '処理内容',
-  'file' => 'ファイル',
-  'problem' => '問題',
-  'status' => 'ステータス',
-  'title_set_to' => 'タイトル設定',
-  'submit_form' => '送信',
-  'updated_succesfully' => '更新完了',
-  'error_create' => '作成中にエラーが発生しました',
-  'continue' => 'さらにイメージを処理する',
-  'main_success' => 'ファイル %s がメインファイルに設定されました',
-  'error_rename' => '%s を %s にリネーム中にエラーが発生しました',
-  'error_not_found' => 'ファイル %s が見つかりませんでした',
-  'back' => 'メインに戻る',
-  'thumbs_wait' => 'サムネイルの更新 および/または 写真のリサイズを行っています、お待ちください...',
-  'thumbs_continue_wait' => 'サムネイルの更新 および/または 写真のリサイズを行っています...',
-  'titles_wait' => 'タイトルの更新を行っています、お待ちください...',
-  'delete_wait' => 'タイトルを削除しています、お待ちください...',
-  'replace_wait' => 'オリジナルサイズのイメージを削除して変更後のイメージと入れ替えを行っています、お待ちください...',
-  'instruction' => 'クイックインストラクション',
-  'instruction_action' => 'アクションの選択',
-  'instruction_parameter' => 'パラメータの設定',
-  'instruction_album' => 'アルバムの選択',
-  'instruction_press' => '%s を押す',
-  'update' => 'サムネイルの更新 および/または 写真のリサイズ',
-  'update_what' => '更新対象',
-  'update_thumb' => 'サムネイルの作成のみ',
-  'update_pic' => '写真のリサイズのみ',
-  'update_both' => 'サムネイルの作成および写真のリサイズ',
-  'update_number' => 'クリックあたりのイメージ処理数',
-  'update_option' => '( タイムアウトする場合は、この数値を低めに設定してください。 )',
-  'filename_title' => 'ファイル名 &rArr; ファイルタイトル',
-  'filename_how' => 'ファイル名の変更方法',
-  'filename_remove' => '.jpgを空白付きの _ ( アンダースコア ) に変更する。',
-  'filename_euro' => '2003_11_23_13_20_20.jpg を 23/11/2003 13:20 に変更する。',
-  'filename_us' => '2003_11_23_13_20_20.jpg を 11/23/2003 13:20 に変更する。',
-  'filename_time' => '2003_11_23_13_20_20.jpg を 13:20 に変更する。',
-  'delete' => 'ファイルタイトルまたはオリジナルサイズの写真を削除する',
-  'delete_title' => 'ファイルタイトルを削除する',
-  'delete_title_explanation' => 'あなたが指定したアルバム内にあるファイルの全てのタイトルを削除します。',
-  'delete_original' => 'オリジナルサイズの写真を削除する',
-  'delete_original_explanation' => 'フルサイズの写真を削除します。',
-  'delete_intermediate' => '中間写真を削除する',
-  'delete_intermediate_explanation' => '中間 ( ノーマル ) 写真を削除します。<br />写真を追加した後に「中間写真を作成する」設定を無効にした場合、ディスクスペースを空けるために使用してください。',
-  'delete_replace' => 'オリジナルのイメージを削除して、サイズを変更したバージョンと入れ替えます。',
-  'titles_deleted' => '指定されたアルバムの全てのタイトルが削除されました。',
-  'deleting_intermediates' => '中間ファイルを削除しています。お待ちください...',
-  'searching_orphans' => '迷子を捜しています、お待ちください ...',
-  'select_album' => 'アルバムの選択',
-  'delete_orphans' => '不明ファイルのコメントを削除する',
-  'delete_orphans_explanation' => 'もはやギャラリーに存在していないファイルを確認して関連するコメントを削除することができます。<br />全てのアルバムを確認します。',
-  'refresh_db' => 'ファイルのディメンションとサイズ情報をリロードする。',
-  'refresh_db_explanation' => 'ファイルのサイズとディメンションを再読み込みします。容量が間違っていたり、ファイルを手動で変更した場合に使用してください。',
-  'reset_views' => '表示カウンタをリセットする',
-  'reset_views_explanation' => '指定したアルバムにあるファイル全ての閲覧カウンタをゼロにします。',
-  'orphan_comment' => '不明ファイルのコメントが見つかりました。',
-  'delete' => '削除',
-  'delete_all' => '全てを削除する',
-  'delete_all_orphans' => '全ての不明ファイルのコメントを削除しますか?',
-  'comment' => 'コメント: ',
-  'nonexist' => '存在しないファイル # に割り当てられています。',
-  'phpinfo' => 'phpinfoの表示',
-  'phpinfo_explanation' => 'あなたのサーバに関するテクニカル情報を含んでいます。<br /> - サポートを必要とする場合、この情報を尋ねられる場合があります。',
-  'update_db' => 'データベースの更新',
-  'update_db_explanation' => 'coppermineの入れ替え、修正の追加、以前のバージョンよりアップグレードを行った場合は、データベースの更新を必ず1度実行してください。データベースの更新では必要なテーブルの追加およびcoppermineデータベースの設定を行います。',
-  'view_log' => 'ログファイルの表示',
-  'view_log_explanation' => 'Coppermineはユーザが行う様々な行動を記録することができます。<a href="admin.php">coppermine設定</a>でロギングを有効にしている場合、それらのログを閲覧することができます。',
-  'versioncheck' => 'バージョンのチェック',
-  'versioncheck_explanation' => 'アップグレード後に全てのファイルを入れ替えたか、パッケージのリリース後にcoppermineソースファイルが更新されたか、ファイルバージョンをチェックします。',
-  'bridgemanager' => 'ブリッジマネージャー',
-  'bridgemanager_explanation' => '別のアプリケーションとCoppermineのインテグレーション ( ブリッジング ) を有効化/無効化します ( 例 BBS )。',
-);
-}
-
-// ------------------------------------------------------------------------- //
-// File versioncheck.php
-// ------------------------------------------------------------------------- //
-
-if (defined('VERSIONCHECK_PHP')) $lang_versioncheck_php = array(
-  'title' => 'バージョンチェック',
-  'what_it_does' => 'このページは、coppermineをアップデートしたユーザのためにあります。このスクリプトは、ウェブサーバ内のファイルのバージョンがリポジトリ http://coppermine.sourceforge.net と同一であるか確認します。同様にアップデートするファイルを表示します。<br />修正が必要な部分は全て赤色で表示されます。黄色で表示されるものは調査が必要です。緑色で表示されるもの ( またはデフォルトフォント色 ) はOKです。<br />詳細はヘルプアイコンをクリックしてください。',
-  'online_repository_unable' => 'オンラインレポジトリに接続できません。',
-  'online_repository_noconnect' => 'Coppermineが、オンラインレポジトリに接続できませんでした。2つの理由が考えられます:',
-  'online_repository_reason1' => 'coppermineオンラインレポジトリは現在停止しています - このページを閲覧できるか確認してください: %s - このページにアクセス可能な場合、後程お試しください。',
-  'online_repository_reason2' => 'あなたのウェブサーバのPHPの設定は、 %s turned off ( デフォルトでは turned on ) とされています。あなたがサーバの管理者の場合、<i>php.ini</i> にあるオプションを有効にしてください ( 少なくとも %s でオーバライドできるようにしてください。)。ウェブホストを利用している場合、あなたのファイルとオンラインリポジトリを恐らく比較できないことを理解してください。この場合、このページは、あなたのディストリビューションのバージョンのみを表示することになります - アップデートは表示されません。',
-  'online_repository_skipped' => 'オンラインリポジトリへの接続をスキップしました。',
-  'online_repository_to_local' => 'スクリプトは、現在のローカルコピーのバージョンファイルに違反しています。あなたがCoppermineをアップグレードして全てのファイルをアップロードしていない場合、データは不正確な可能性があります。同様にファイルの変更は、アカウントの中に取り込まれません。',
-  'local_repository_unable' => 'あなたのサーバのリポジトリに接続できません。',
-  'local_repository_explanation' => 'Coppermineは、あなたのウェブサーバのリポジトリファイル %s に接続できませんでした。これは、恐らくウェブサーバにリポジトリファイルがアップロードされていないことを意味します。リポジトリファイルをアップロードして、このページをもう一度実行してください ( 更新ボタンをクリック )。<br />スクリプトを実行できない場合、あなたのウェブホストが <a href="http://www.php.net/manual/en/ref.filesystem.php">PHPファイルシステム関数</a> を完全に無効にしている可能性があります。この場合、このツールを使用することはできません。申し訳ございません。',
-  'coppermine_version_header' => 'インストール済みCoppermineバージョン',
-  'coppermine_version_info' => 'インストールしたバージョン: %s',
-  'coppermine_version_explanation' => 'これが完全に間違っていて、あなたが新しいバージョンのCoppermineを動作させていると考える場合、あなたは恐らく最新バージョンの <i>include/init.inc.php</i> ファイルをアップロードしていません。',
-  'version_comparison' => 'バージョン比較',
-  'folder_file' => 'フォルダ/ファイル',
-  'coppermine_version' => 'cpgバージョン',
-  'file_version' => 'ファイルバージョン',
-  'webcvs' => 'ウェブcvs',
-  'writable' => '書き込み可',
-  'not_writable' => '書き込み不可',
-  'help' => 'ヘルプ',
-  'help_file_not_exist_optional1' => 'ファイル/フォルダが存在していません。',
-  'help_file_not_exist_optional2' => 'あなたのサーバにファイル/フォルダ %s が見つかりました。問題がある場合は、任意でファイルをウェブサーバに ( FTPクライアントを使用して ) アップロードしてください。',
-  'help_file_not_exist_mandatory1' => 'ファイル/フォルダが存在していません。',
-  'help_file_not_exist_mandatory2' => 'あなたのサーバに必須のファイル/フォルダ %s が見つかりませんでした。( FTPクライアントを使用して ) ウェブサーバにファイルをアップロードしてください。',
-  'help_no_local_version1' => 'ローカルファイルバージョン無し',
-  'help_no_local_version2' => 'スクリプトはローカルファイルバージョンを展開できませんでした - あなたのファイルが古い、または途中でヘッダ情報を取り除いて修正されています。ファイルの更新をお勧めします。',
-  'help_local_version_outdated1' => '古いローカルバージョン',
-  'help_local_version_outdated2' => 'このファイルは古いバージョンのCoppermineのファイルのようです。( 恐らくアップグレードされています。) このファイルも同様に更新してください。',
-  'help_local_version_na1' => 'cvsバージョン情報を引用することができません。',
-  'help_local_version_na2' => 'あなたのサーバにどのcvsバージョンがあるのかスクリプトが判断できません。パッケージよりファイルをアップロードしてください。',
-  'help_local_version_dev1' => '開発バージョン',
-  'help_local_version_dev2' => 'ウェブサーバ内のファイルは、あなたのCoppermineバージョンより新しいようです。あなたは開発ファイルを選択したか ( あなたが自分で何をしているか理解できる場合のみ行ってください。)、Coppermineをアップグレードして include/init.inc.php ファイルをアップロードしていません。',
-  'help_not_writable1' => 'フォルダが書き込み可能ではありません。',
-  'help_not_writable2' => 'スクリプトがフォルダ %s およびフォルダ内のファイルにアクセスする許可を与えるためにファイルパーミッション (CHMOD) を変更します。',
-  'help_writable1' => 'フォルダ書き込み可能',
-  'help_writable2' => 'フォルダ %s は書き込み可能です。これは不要なリスクです。coppermineには、読み込み/実行権のみ必要です。',
-  'help_writable_undetermined' => 'Coppermineは、どのフォルダが書込み可能か判断できません。',
-  'your_file' => 'あなたのファイル',
-  'reference_file' => '参照ファイル',
-  'summary' => '要約',
-  'total' => '全てのファイル/フォルダがチェックされました。',
-  'mandatory_files_missing' => '必須ファイルが見つかりません。',
-  'optional_files_missing' => '任意ファイルが見つかりません。',
-  'files_from_older_version' => '古いCoppermineバージョンのファイルが残されています。',
-  'file_version_outdated' => '古いファイルバージョン',
-  'error_no_data' => 'スクリプトにエラーが発生したので情報を取得することができません。ご迷惑お掛け致します。',
-  'go_to_webcvs' => '%s へ移動',
-  'options' => 'オプション',
-  'show_optional_files' => '任意フォルダ/ファイルを表示する',
-  'show_mandatory_files' => '必須ファイルを表示する',
-  'show_file_versions' => 'ファイルバージョンを表示する',
-  'show_errors_only' => 'エラーのあるフォルダ/ファイルのみを表示する',
-  'show_permissions' => 'フォルダパーミッションを表示する',
-  'show_condensed_output' => '縮小表示を行う ( スクリーンショットが簡単 )',
-  'coppermine_in_webroot' => 'coppermineはウェブルートにインストールされています。',
-  'connect_online_repository' => 'オンラインリポジトリへの接続を試みる',
-  'show_additional_information' => '補足情報を表示する',
-  'no_webcvs_link' => 'ウェブCVSリンクを表示しない',
-  'stable_webcvs_link' => 'stableブランチのウェブCVSリンクを表示する',
-  'devel_webcvs_link' => 'develブランチのウェブCVSリンクを表示する',
-  'submit' => '変更を適用 / リフレッシュ',
-  'reset_to_defaults' => 'デフォルト値にリセット',
-);
-
-// ------------------------------------------------------------------------- //
-// File view_log.php 
-// ------------------------------------------------------------------------- //
-
-if (defined('VIEWLOG_PHP')) $lang_viewlog_php = array(
-  'delete_all' => '全てのログを削除',
-  'delete_this' => 'このログを削除',
-  'view_logs' => 'ログを表示',
-  'no_logs' => 'ログは作成されていません。',
-);
-
-
-// ------------------------------------------------------------------------- //
-// File xp_publish.php
-// ------------------------------------------------------------------------- //
-
-if (defined('XP_PUBLISH_PHP')) {
-
-$lang_xp_publish_client = <<<EOT
-<h1>XPウェブパブリッシング・ウィザードクライアント</h1><p>このモジュールでは、Coppermineと<b>Windows XP</b>ウェブパブリッシング・ウィザードを使用することができます。</p><p>コードは次の記事をベースにしています。投稿者:
-EOT;
-
-$lang_xp_publish_required = <<<EOT
-<h2>必要なもの</h2><ul><li>ウィザードを実行するために、Windows XPが必要です。</li><li><b>ウェブアップロード機能が正常に動作する</b>Coppermineインストレーション。</li></ul><h2>クライアントサイドでインストールするには、</h2><ul><li>右クリックして、
-EOT;
-
-$lang_xp_publish_select = <<<EOT
-「 対象をファイルに保存.. 」を選択してください。ファイルをハードディスクに保存してください。ファイルを保存した後、ファイル名が <b>cpg_###.reg</b> になっているか確認してください ( ### は数値のタイムスタンプを表します。)。 必要な場合、ファイル名を変更してください ( 数値は残したまま )。ダウンロード後、あなたのサーバをウェブパブリッシング・ウィザードで登録するためにファイルをダブルクリックしてください。</li></ul>
-EOT;
-
-$lang_xp_publish_testing = <<<EOT
-<h2>テスト</h2><ul><li>Windows Explorerではファイルを選択して、左のウインドウで <b>Publish xxx on the web</b> を選択してください。</li><li>ファイルの選択を確定してください。<b>Next</b> をクリックしてください。</li><li>表示されるサービスのリストから、あなたのフォトギャラリー用に1つ選択してください ( あなたのギャラリー名を持っています )。サービスが表示されない場合、上記に記載されている <b>cpg_pub_wizard.reg</b> がインストールされているか確認してください。</li><li>必要な場合、ログイン情報を入力してください。</li><li>あなたの写真のターゲットアルバムを選択するか、新しいアルバムを作成してください。</li><li><b>next</b> をクリックしてください。写真のアップロードが開始されます。</li><li>完了した場合、写真が適切に追加されているかギャラリーを確認してください。</li></ul>
-EOT;
-
-$lang_xp_publish_notes = <<<EOT
-<h2>注意 :</h2><ul><li>アップロードが開始すると、ウィザードはスクリプトによるエラーメッセージを表示することができませんので、あなたがギャラリーを確認するまでアップロードが失敗したか成功したか分かりません。</li><li>ファイルのアップロードが失敗した場合、Coppermine設定ページの「デバッグモードを有効にする」を有効にしてください。その後、あなたのCoppermineディレクトリの１つの写真ファイルで、
-EOT;
-
-$lang_xp_publish_flood = <<<EOT
-エラーメッセージが表示されるか確認してください。</li><li>ギャラリーがウィザードを通じた写真アップロードの<i>flood</i>を避けるため、<b>ギャラリー管理者</b> および <b>自分のアルバムを所有しているユーザ</b> のみこの機能を使用することができます。</li>
-EOT;
-
-
-
-$lang_xp_publish_php = array(
-  'title' => 'Coppermine - XPウェブパブリッシングウィザード',
-  'welcome' => 'ようこそ <b>%s</b> さん',
-  'need_login' => 'このウィザードを使用する前に、ウェブブラウザを使用してギャラリーにログインしてください。<p/><p>表示されている場合、<b>次回からユーザ名・パスワードの入力を省略</b>オプションの選択をログイン時に忘れずに行ってください。',
-  'no_alb' => '申し訳ございません。あなたがこのウィザードで写真のアップロードを許可したアルバムが存在していません。',
-  'upload' => 'あなたの写真をアルバムにアップロードする',
-  'create_new' => 'あなたの写真の新しいアルバムを作成',
-  'album' => 'アルバム',
-  'category' => 'カテゴリ',
-  'new_alb_created' => 'あなたの新しいアルバム「<b>%s</b>」が作成されました。',
-  'continue' => '写真をアップロードするには「次へ」をクリックしてください。',
-  'link' => 'このリンク',
-);
-}
+<?php
+/*************************
+  Coppermine Photo Gallery
+  ************************
+  Copyright (c) 2003-2009 Coppermine Dev Team
+  v1.1 originally written by Gregory DEMAR
+
+  This program is free software; you can redistribute it and/or modify
+  it under the terms of the GNU General Public License version 3
+  as published by the Free Software Foundation.
+  
+  ********************************************
+  Coppermine version: 1.4.25
+  $HeadURL: https://coppermine.svn.sourceforge.net/svnroot/coppermine/trunk/cpg1.4.x/lang/japanese.php $
+  $Revision: 5997 $
+  $Author: gaugau $
+  $Date: 2009-05-26 08:43:24 +0200 (Di, 26 Mai 2009) $
+**********************************************/
+
+if (!defined('IN_COPPERMINE')) { die('Not in Coppermine...');}
+
+// info about translators and translated language
+$lang_translation_info = array(
+  'lang_name_english' => 'Japanese',
+  'lang_name_native' => 'Japanese',
+  'lang_country_code' => 'ja',
+  'trans_name'=> 'Mitsuhiro Yoshida',
+  'trans_email' => 'mits@mitstek.com',
+  'trans_website' => 'http://mitstek.com/',
+  'trans_date' => '2005-12-1',
+);
+
+$lang_charset = 'UTF-8';
+$lang_text_dir = 'ltr'; // ('ltr' for left to right, 'rtl' for right to left)
+
+// shortcuts for Byte, Kilo, Mega
+$lang_byte_units = array('バイト', 'KB', 'MB');
+
+// Day of weeks and months
+$lang_day_of_week = array('日', '月', '火', '水', '木', '金', '土');
+$lang_month = array('01', '02', '03', '04', '05', '06', '07', '08', '09', '10', '11', '12');
+
+// Some common strings
+$lang_yes = 'Yes';
+$lang_no  = 'No';
+$lang_back = '戻る';
+$lang_continue = '続ける';
+$lang_info = '情報';
+$lang_error = 'エラー';
+$lang_check_uncheck_all = '全てをチェックする/チェックしない';
+
+// The various date formats
+// See http://www.php.net/manual/en/function.strftime.php to define the variable below
+$album_date_fmt =    '%Y年 %B月 %d日';
+$lastcom_date_fmt =  '%y/%m/%d/ %H:%M';
+$lastup_date_fmt =   '%Y年 %B月 %d日';
+$register_date_fmt = '%Y年 %B月 %d日';
+$lasthit_date_fmt =  '%Y年 %B月 %d日 %I:%M %p';
+$comment_date_fmt =  '%Y年 %B月 %d日 %I:%M %p';
+$log_date_fmt = '%Y年 %B月 %d日 %I:%M %p';
+
+// For the word censor
+$lang_bad_words = array('*fuck*', 'asshole', 'assramer', 'bitch*', 'c0ck', 'clits', 'Cock', 'cum', 'cunt*', 'dago', 'daygo', 'dego', 'dick*', 'dildo', 'fanculo', 'feces', 'foreskin', 'Fu\(*', 'fuk*', 'honkey', 'hore', 'injun', 'kike', 'lesbo', 'masturbat*', 'motherfucker', 'nazis', 'nigger*', 'nutsack', 'penis', 'phuck', 'poop', 'pussy', 'scrotum', 'shit', 'slut', 'titties', 'titty', 'twaty', 'wank*', 'whore', 'wop*');
+
+$lang_meta_album_names = array(
+  'random' => 'ランダムファイル',
+  'lastup' => '新着写真',
+  'lastalb'=> '最新アルバム',
+  'lastcom' => '最新コメント',
+  'topn' => '閲覧最多',
+  'toprated' => 'トップレート',
+  'lasthits' => '最終閲覧',
+  'search' => '検索結果',
+  'favpics'=> 'お気に入り', 
+);
+
+$lang_errors = array(
+  'access_denied' => 'このページに対するアクセス権がありません。',
+  'perm_denied' => 'この操作を行う権限がありません。',
+  'param_missing' => '必要なパラメータ無しでスクリプトが実行されました。',
+  'non_exist_ap' => '選択されたアルバムは存在しません!', 
+  'quota_exceeded' => 'ディスク使用量オーバー<br /><br />あなたが使用できるディスク容量は [quota]Kです。現在 [space]Kを使用しています。このファイルを追加するとディスク容量をオーバーします。',
+  'gd_file_type_err' => 'GDイメージライブラリーを使用する場合、JPEGとPNG形式のファイルのみ使用可能です。',
+  'invalid_image' => 'あなたがアップロードしたイメージが破損したか、GDライブラリーで処理することができません。',
+  'resize_failed' => 'イメージサイズが小さいため、サムネイルを作成できません。',
+  'no_img_to_display' => '表示するイメージはありません。',
+  'non_exist_cat' => '選択したカテゴリは存在しません。',
+  'orphan_cat' => '存在しない親カテゴリを持っています。カテゴリマネージャーを使って問題を解決してください!',
+  'directory_ro' => 'ディレクトリ「 %s 」に書込み権がありません。ファイルの削除はできません。',
+  'non_exist_comment' => '選択したコメントは存在しません。',
+  'pic_in_invalid_album' => '存在しないアルバム(%s)内にファイルがあります !?',
+  'banned' => 'あなたは現在このサイトへのアクセスを禁止されています。',
+  'not_with_udb' => 'フォーラムソフトに統合されたため、この機能はCoppermineで無効にされています。フォーラムソフトで管理されるため、この機能に関する設定は、ここでサポートされません。',
+  'offline_title' => 'オフライン', 
+  'offline_text' => '現在ギャラリーはオフラインです - もう暫くお待ちください',
+  'ecards_empty' => '表示するeカードレコードがありません。eカードを使用可能にしているか設定画面で確認してください!',
+  'action_failed' => 'エラーが発生しました。Coppermineは、処理を正常に終了できませんでした。', 
+  'no_zip' => 'ZIPファイルを生成するライブラリが使用できません。Coppermine管理者に連絡してください。', 
+  'zip_type' => 'ZIPファイルをアップロードする権限がありません。',
+  'database_query' => 'データベース参照時にエラーが発生しました。',
+  'register_globals_on' => 'The PHP setting register_globals is enabled on your server, which is a bad idea in terms of security. It\'s strongly recommended to turn it off. [<a href="http://forum.coppermine-gallery.net/index.php/topic,59569.0.html" rel="external" class="external">more</a>]',
+);
+
+$lang_bbcode_help_title = 'bbcodeヘルプ';
+$lang_bbcode_help = 'bbcode記述方法: <li>[b]<b>太字</b>[/b]</li> <li>[i]<i>斜体</i>[/i]</li> <li>[url=http://yoursite.com/]Url Text[/url]</li> <li>[email]user@domain.com[/email]</li>';
+
+// ------------------------------------------------------------------------- //
+// File theme.php
+// ------------------------------------------------------------------------- //
+
+$lang_main_menu = array(
+  'home_title' => 'ホームページへ移動',
+  'home_lnk' => 'Home',
+  'alb_list_title' => 'アルバムリストへ移動',
+  'alb_list_lnk' => 'アルバムリスト',
+  'my_gal_title' => 'パーソナルギャラリーへ移動',
+  'my_gal_lnk' => 'マイギャラリー',
+  'my_prof_title' => 'マイプロフィールへ移動',
+  'my_prof_lnk' => 'マイプロフィール',
+  'adm_mode_title' => '管理者モードに変更',
+  'adm_mode_lnk' => '管理者モード',
+  'usr_mode_title' => 'ユーザモードに変更',
+  'usr_mode_lnk' => 'ユーザモード',
+  'upload_pic_title' => 'アルバムにファイルをアップロード', 
+  'upload_pic_lnk' => 'ファイルのアップロード',
+  'register_title' => 'アカウントの作成',
+  'register_lnk' => 'ユーザ登録',
+  'login_title' => 'ログイン',
+  'login_lnk' => 'ログイン',
+  'logout_title' => 'ログアウト',
+  'logout_lnk' => 'ログアウト',
+  'lastup_title' => '最新アップロードの表示',
+  'lastup_lnk' => '最新アップロード',
+  'lastcom_title' => '最新コメントの表示',
+  'lastcom_lnk' => '最新コメント',
+  'topn_title' => '閲覧最多の表示',
+  'topn_lnk' => '閲覧最多',
+  'toprated_title' => 'トップレートの表示',
+  'toprated_lnk' => 'トップレート',
+  'search_title' => 'ギャラリーの検索',
+  'search_lnk' => '検索',
+  'fav_title' => 'お気に入りへ移動',
+  'fav_lnk' => 'お気に入り',
+  'memberlist_title' => 'メンバーリストの表示',
+  'memberlist_lnk' => 'メンバーリスト',
+  'faq_title' => '写真ギャラリー&quot;Coppermine&quot;に関するよくある質問と答え', 
+  'faq_lnk' => 'FAQ',
+);
+
+$lang_gallery_admin_menu = array(
+  'upl_app_title' => 'アップロードの承認',
+  'upl_app_lnk' => 'アップロード承認',
+  'admin_title' => '設定へ移動',
+  'admin_lnk' => '設定',
+  'albums_title' => 'アルバム設定へ移動',
+  'albums_lnk' => 'アルバム',
+  'categories_title' => 'カテゴリ設定へ移動',
+  'categories_lnk' => 'カテゴリ',
+  'users_title' => 'ユーザ設定へ移動',
+  'users_lnk' => 'ユーザ',
+  'groups_title' => 'グループ設定へ移動',
+  'groups_lnk' => 'グループ',
+  'comments_title' => '全てのコメントをレビュー',
+  'comments_lnk' => 'コメントのレビュー',
+  'searchnew_title' => 'ファイルの一括追加へ移動',
+  'searchnew_lnk' => 'ファイルの一括追加',
+  'util_title' => '管理ツールへ移動',
+  'util_lnk' => '管理ツール',
+  'key_title' => 'キーワードディレクトリへ移動',
+  'key_lnk' => 'キーワードディレクトリ',
+  'ban_title' => 'アクセス禁止ユーザへ移動',
+  'ban_lnk' => 'アクセス禁止ユーザ',
+  'db_ecard_title' => 'eカードのレビュー',
+  'db_ecard_lnk' => 'eカードの表示',
+  'pictures_title' => 'マイ アルバムの並び替え',
+  'pictures_lnk' => 'マイ アルバムの並び替え',
+  'documentation_lnk' => 'ドキュメンテーション',
+  'documentation_title' => 'Coppermineマニュアル',
+);
+
+$lang_user_admin_menu = array(
+  'albmgr_title' => 'マイアルバムの作成 / 整理',
+  'albmgr_lnk' => 'マイアルバムの作成 / 整理',
+  'modifyalb_title' => 'マイアルバムの修正へ移動', 
+  'modifyalb_lnk' => 'マイアルバムの修正',
+  'my_prof_title' => 'マイプロフィールへ移動',
+  'my_prof_lnk' => 'マイプロフィール',
+);
+
+$lang_cat_list = array(
+  'category' => 'カテゴリ',
+  'albums' => 'アルバム',
+  'pictures' => 'ファイル',
+);
+
+$lang_album_list = array(
+  'album_on_page' => 'アルバム数 %d / %dページ中'
+);
+
+$lang_thumb_view = array(
+  'date' => '日付',
+  //Sort by filename and title
+  'name' => 'ファイル名',
+  'title' => 'タイトル',
+  'sort_da' => '日付の昇順で並び替え',
+  'sort_dd' => '日付の降順で並び替え',
+  'sort_na' => 'ファイル名の昇順で並び替え',
+  'sort_nd' => 'ファイル名の降順で並び替え',
+  'sort_ta' => '写真タイトルの昇順で並び替え',
+  'sort_td' => '写真タイトルの降順で並び替え',
+  'position' => 'ポジション',
+  'sort_pa' => 'ポジションの昇順で並び替え',
+  'sort_pd' => 'ポジションの降順で並び替え',
+  'download_zip' => 'ZIPファイルとしてダウンロードする',
+  'pic_on_page' => 'ファイル数 %d / %dページ中',
+  'user_on_page' => 'ユーザ数 %d / %dページ中',
+  'enter_alb_pass' => 'アルバムパスワードの入力',
+  'invalid_pass' => 'パスワードが違います。',
+  'pass' => 'パスワード',
+  'submit' => '送信',
+);
+
+$lang_img_nav_bar = array(
+  'thumb_title' => 'サムネイルページに戻る',
+  'pic_info_title' => 'ファイル情報の表示/非表示',
+  'slideshow_title' => 'スライドショー',
+  'ecard_title' => 'この写真をeカードとして送信する',
+  'ecard_disabled' => 'eカードは送信できません。',
+  'ecard_disabled_msg' => 'eカードを送信する権限がありません。',
+  'prev_title' => '前へ',
+  'next_title' => '次へ',
+  'pic_pos' => 'ファイル %s/%s',
+  'report_title' => 'このファイルを管理者に報告',
+  'go_album_end' => '最後にスキップ',
+  'go_album_start' => '最初に戻る',
+  'go_back_x_items' => '%s アイテムへ戻る',
+  'go_forward_x_items' => '%s アイテムへ進む',
+);
+
+$lang_rate_pic = array(
+  'rate_this_pic' => 'このファイルを評価する',
+  'no_votes' => '( 未投票 )',
+  'rating' => '( 現在のレーティング: %s/5&nbsp;&nbsp;&nbsp;投票数 %s件 )',
+  'rubbish' => '酷い',
+  'poor' => '悪い',
+  'fair' => '普通',
+  'good' => '良い',
+  'excellent' => '素晴らしい',
+  'great' => '凄い',
+);
+
+// ------------------------------------------------------------------------- //
+// File include/exif.inc.php
+// ------------------------------------------------------------------------- //
+
+// void
+
+// ------------------------------------------------------------------------- //
+// File include/functions.inc.php
+// ------------------------------------------------------------------------- //
+
+$lang_cpg_die = array(
+  INFORMATION => $lang_info,
+  ERROR => $lang_error,
+  CRITICAL_ERROR => '致命的なエラー',
+  'file' => 'ファイル: ',
+  'line' => '行: ',
+);
+
+$lang_display_thumbnails = array(
+  'filename' => 'ファイル名 : ',
+  'filesize' => 'ファイルサイズ : ',
+  'dimensions' => 'ディメンション : ',
+  'date_added' => '登録日 : '
+);
+
+$lang_get_pic_data = array(
+  'n_comments' => 'コメント数 %s',
+  'n_views' => '閲覧回数 %s',
+  'n_votes' => '( 投票数 %s )'
+);
+
+$lang_cpg_debug_output = array(
+  'debug_info' => 'デバッグ情報',
+  'select_all' => '全てを選択',
+  'copy_and_paste_instructions' => 'coppermineのサポート掲示板にサポートの依頼を投稿する場合は、このデバッグ表示をコピー&ペーストしてください。投稿前にパスワードを***に書換えてください。',
+  'phpinfo' => 'phpinfoを表示',
+  'notices' => '注意',
+);
+
+$lang_language_selection = array(
+  'reset_language' => 'デフォルト言語',
+  'choose_language' => '言語を選択してください',
+);
+
+$lang_theme_selection = array(
+  'reset_theme' => 'デフォルトテーマ',
+  'choose_theme' => 'テーマを選択してください',
+);
+
+$lang_version_alert = array(
+  'version_alert' => 'サポートされていないバージョンです!',
+  'no_stable_version' => 'あなたは非常に経験豊かなユーザ用のCoppermine %s (%s) を使用しています - このバージョンにはサポートおよび保証はありません。あなたの自己責任でこのバージョンを使用するか、サポートが必要な場合は、ステイブルバージョンをダウングレードしてください!',
+  'gallery_offline' => '現在、ギャラリーはオフラインで管理者のあなたのみ見ることができます。メンテナンス終了後、忘れずにオンラインに戻してください。',
+);
+
+$lang_create_tabs = array(
+  'previous' => '前へ',
+  'next' => '次へ',
+);
+
+// ------------------------------------------------------------------------- //
+// File include/init.inc.php
+// ------------------------------------------------------------------------- //
+
+// void
+
+// ------------------------------------------------------------------------- //
+// File keyword.inc.php                                                      //
+// ------------------------------------------------------------------------- //
+
+// void
+
+// ------------------------------------------------------------------------- //
+// File include/picmgmt.inc.php
+// ------------------------------------------------------------------------- //
+
+// void
+
+// ------------------------------------------------------------------------- //
+// File include/plugin_api.inc.php
+// ------------------------------------------------------------------------- //
+$lang_plugin_api = array(
+  'error_wakeup' => "プラグイン「 %s 」を起動できません。",
+  'error_install' => "プラグイン「 %s 」をインストールできません。",
+  'error_uninstall' => "プラグイン「 %s 」をアンインストールできません。",
+  'error_sleep' => "プラグイン「 %s 」を停止できません。<br />",
+);
+
+// ------------------------------------------------------------------------- //
+// File include/smilies.inc.php
+// ------------------------------------------------------------------------- //
+
+if (defined('SMILIES_PHP')) $lang_smilies_inc_php = array(
+  'Exclamation' => 'ビックリ',
+  'Question' => '質問',
+  'Very Happy' => 'とても幸せ',
+  'Smile' => 'スマイル',
+  'Sad' => '悲しい',
+  'Surprised' => '驚き',
+  'Shocked' => 'ショック',
+  'Confused' => '混乱',
+  'Cool' => 'クール',
+  'Laughing' => '笑い',
+  'Mad' => '怒り',
+  'Razz' => '苦笑い',
+  'Embarassed' => '恥ずかしい',
+  'Crying or Very sad' => '号泣またはとても悲しい',
+  'Evil or Very Mad' => '悪いまたはとても怒った',
+  'Twisted Evil' => '意地悪い',
+  'Rolling Eyes' => '転がる目',
+  'Wink' => 'ウインク',
+  'Idea' => 'アイディア',
+  'Arrow' => '許可',
+  'Neutral' => '中立',
+  'Mr. Green' => 'ミスター・グリーン',
+);
+
+// ------------------------------------------------------------------------- //
+// File addpic.php
+// ------------------------------------------------------------------------- //
+
+// void
+
+// ------------------------------------------------------------------------- //
+// File mode.php
+// ------------------------------------------------------------------------- //
+
+if (defined('MODE_PHP')) $lang_mode_php = array(
+  0 => '管理者モードを終了中 ...',
+  1 => '管理者モードに移行中 ...',
+);
+
+// ------------------------------------------------------------------------- //
+// File albmgr.php
+// ------------------------------------------------------------------------- //
+
+if (defined('ALBMGR_PHP')) $lang_albmgr_php = array(
+  'alb_need_name' => 'アルバムにはアルバム名が必要です !',
+  'confirm_modifs' => '本当に更新してもよろしいですか ?',
+  'no_change' => '何も変更されていません !',
+  'new_album' => '新しいアルバム',
+  'confirm_delete1' => '本当にこのアルバムを削除してもよろしいですか ?',
+  'confirm_delete2' => '\nアルバムに含まれる全ての写真とコメントは削除されます !',
+  'select_first' => '最初にアルバムを選択してください。',
+  'alb_mrg' => 'アルバム管理',
+  'my_gallery' => '* マイギャラリー *',
+  'no_category' => '* カテゴリ無し *',
+  'delete' => '削除',
+  'new' => '新規作成',
+  'apply_modifs' => '更新の適用',
+  'select_category' => 'カテゴリ選択',
+);
+
+// ------------------------------------------------------------------------- //
+// File banning.php
+// ------------------------------------------------------------------------- //
+
+if (defined('BANNING_PHP')) $lang_banning_php = array(
+  'title' => 'アクセス禁止ユーザ',
+  'user_name' => 'ユーザ名',
+  'ip_address' => 'IPアドレス',
+  'expiry' => '禁止終了 ( 空白は永久 )',
+  'edit_ban' => '変更を保存',
+  'delete_ban' => '削除',
+  'add_new' => '新しい禁止ユーザを追加',
+  'add_ban' => '追加',
+  'error_user' => 'ユーザが見つかりません',
+  'error_specify' => 'ユーザ名またはIPアドレスを特定してください',
+  'error_ban_id' => 'アクセス禁止IDが違います!',
+  'error_admin_ban' => '自分自身をアクセス禁止にできません!',
+  'error_server_ban' => '自分自身のサーバをアクセス禁止にしますか? それはできません...',
+  'error_ip_forbidden' => 'このIPアドレスをアクセス禁止にできません - ルーティング出来ないIPアドレスです!',
+  'lookup_ip' => 'IPアドレスのルックアップ',
+  'submit' => 'go!',
+  'select_date' => '日付を選択',
+);
+
+// ------------------------------------------------------------------------- //
+// File bridgemgr.php
+// ------------------------------------------------------------------------- //
+
+if (defined('BRIDGEMGR_PHP')) $lang_bridgemgr_php = array(
+  'title' => 'ブリッジウィザード',
+  'warning' => '警告: このウィザードを使用する場合、htmlフォームを使用して重要なデータが送信されることを理解してください。あなたのパソコンのみ ( インターネットカフェのパソコンのような公共のクライアントでは無く ) で動作させてください。終わった後は、ブラウザキャッシュと一時ファイルを忘れずにクリアしてください。クリアしないと他の人があなたのデータにアクセスできることになります!',
+  'back' => '戻る',
+  'next' => '次へ',
+  'start_wizard' => 'ブリッジウィザードを開始',
+  'finish' => '終了',
+  'hide_unused_fields' => '未使用のフォームフィールドを隠す ( 推奨 )',
+  'clear_unused_db_fields' => '無効なデータベースエントリを消去する ( 推奨 )',
+  'custom_bridge_file' => 'あなたのカスタムブリッジファイル名 ( ブリッジファイル名が <i>myfile.inc.php</i>の場合、このフィールドに<i>myfile</i>と入力 )',
+  'no_action_needed' => 'このステップの処理はありません。続けるには「次へ」ボタンをクリックしてください。',
+  'reset_to_default' => 'デフォルト値にリセットする',
+  'choose_bbs_app' => 'coppermineとブリッジするアプリケーションを選択',
+  'support_url' => 'このアプリケーションのサポートにはここをクリック',
+  'settings_path' => 'BBSアプリケーションに使用されるパス',
+  'database_connection' => 'データベース接続',
+  'database_tables' => 'データベーステーブル',
+  'bbs_groups' => 'BBSグループ',
+  'license_number' => 'ライセンスナンバー',
+  'license_number_explanation' => 'ライセンスナンバーを入力してください ( 有効な場合 )。',
+  'db_database_name' => 'データベース名',
+  'db_database_name_explanation' => 'BBSアプリケーションが使用するデータベースのユーザ名を入力してください。',
+  'db_hostname' => 'データベースホスト',
+  'db_hostname_explanation' => 'MySQLデータベースが存在するホスト名 ( 通常は localhost) を入力してください。',
+  'db_username' => 'データベースユーザアカウント',
+  'db_username_explanation' => 'BBSとの接続に使用するMySQLユーザアカウント名を入力してください。',
+  'db_password' => 'データベースパスワード',
+  'db_password_explanation' => 'このMySQLユーザアカウントのパスワード',
+  'full_forum_url' => 'フォーラムURL',
+  'full_forum_url_explanation' => 'BBSアプリケーションへの完全なURL ( http:// を含みます。例 http://www.yourdomain.tld/forum )',
+  'relative_path_of_forum_from_webroot' => 'フォーラムの相対パス',
+  'relative_path_of_forum_from_webroot_explanation' => 'BBSアプリケーションのウェブルートからの相対パス ( 例: BBSが http://www.yourdomain.tld/forum/ にある場合、このフィールドに「 /forum 」と入力してください。)',
+  'relative_path_to_config_file' => 'BBSアプリケーションのconfigファイルへの相対パス',
+  'relative_path_to_config_file_explanation' => 'BBSアプリケーションのCoppermineフォルダからの相対パス ( 例: BBSが http://www.yourdomain.tld/forum/ にあり、Coppermineが http://www.yourdomain.tld/gallery/ にある場合、「../forum/」と入力してください。)',
+  'cookie_prefix' => 'クッキー接頭辞',
+  'cookie_prefix_explanation' => 'あなたのBBSのクッキー名を設定してください。',
+  'table_prefix' => 'テーブル接頭辞',
+  'table_prefix_explanation' => 'BBSの設定時にあなたが選択した接頭辞に合致する必要があります。',
+  'user_table' => 'ユーザテーブル',
+  'user_table_explanation' => '( BBSが標準の方法でインストールされている限り、デフォルトの値で利用できます。)',
+  'session_table' => 'セッションテーブル',
+  'session_table_explanation' => '( BBSが標準の方法でインストールされている限り、デフォルトの値で利用できます。)',
+  'group_table' => 'グループテーブル',
+  'group_table_explanation' => '( BBSが標準の方法でインストールされている限り、デフォルトの値で利用できます。)',
+  'group_relation_table' => 'グループ関連テーブル',
+  'group_relation_table_explanation' => '( BBSが標準の方法でインストールされている限り、デフォルトの値で利用できます。)',
+  'group_mapping_table' => 'グループマッピングテーブル',
+  'group_mapping_table_explanation' => '( BBSが標準の方法でインストールされている限り、デフォルトの値で利用できます。)',
+  'use_standard_groups' => '標準的なBBSユーザグループを使用する',
+  'use_standard_groups_explanation' => 'スタンダード ( ビルドイン ) ユーザグループを使用する ( 推奨 )。このページの全てのカスタムユーザグループ設定を無効にします。あなたが何をしているか本当に理解できる場合のみ、このオプションを無効にしてください!',
+  'validating_group' => 'グループ認証',
+  'validating_group_explanation' => '認証が必要なユーザアカウントが入っているBBSのグループID ( BBSが標準の方法でインストールされている限り、デフォルトの値で利用できます。)',
+  'guest_group' => 'ゲストグループ',
+  'guest_group_explanation' => 'ゲスト ( 匿名ユーザ ) が入っているBBSのグループID ( デフォルトの値で利用できます。あなたが何をしているか本当に理解できる場合のみ編集してください。)',
+  'member_group' => 'メンバグループ',
+  'member_group_explanation' => '「通常」のユーザアカウントが入っているBBSのグループID ( デフォルトの値で利用できます。あなたが何をしているか本当に理解できる場合のみ編集してください。)',
+  'admin_group' => '管理グループ',
+  'admin_group_explanation' => '管理者が入っているBBSのグループID ( デフォルトの値で利用できます。あなたが何をしているか本当に理解できる場合のみ編集してください。)',
+  'banned_group' => 'アクセス禁止グループ',
+  'banned_group_explanation' => 'アクセス禁止ユーザが入っているBBSのグループID ( デフォルトの値で利用できます。あなたが何をしているか本当に理解できる場合のみ編集してください。)',
+  'global_moderators_group' => 'グローバルモデレータグループ',
+  'global_moderators_group_explanation' => 'グローバルモデレータが入っているBBSのグループID ( デフォルトの値で利用できます。あなたが何をしているか本当に理解できる場合のみ編集してください。)',
+  'special_settings' => 'BBS詳細設定',
+  'logout_flag' => 'phpBBバージョン ( ログアウトフラグ )',
+  'logout_flag_explanation' => 'あなたのBBSバージョンは? ( この設定はログアウトがどのように処理されるか指定します。 )',
+  'use_post_based_groups' => '投稿ベースのグループを使用しますか?',
+  'logout_flag_yes' => '2.0.5 またはそれ以上',
+  'logout_flag_no' => '2.0.4 またはそれ以下',
+  'use_post_based_groups_explanation' => '投稿数で定義されたグループをBBSからアカウントに取り込む ( 粒上のパーミッション管理を許可する ) またはデフォルトグループを使用する ( 管理を簡単にします、推奨 )。後でこの設定を変更することができます。',
+  'use_post_based_groups_yes' => 'yes',
+  'use_post_based_groups_no' => 'no',
+  'error_title' => '続けるには、これらのエラーを修正してください。前の画面に戻る。',
+  'error_specify_bbs' => 'インストール済みCoppermineとブリッジしたいアプリケーションを指定してください。',
+  'error_no_blank_name' => 'カスタムブリッジファイル名を空白にはできません。',
+  'error_no_special_chars' => 'ブリッジファイル名にはアンダースコア(_)およびダッシュ(-)以外の特殊文字は使用できません!',
+  'error_bridge_file_not_exist' => 'ブリッジファイル %s がサーバに存在していません。ブリッジファイルをアップロードしたか確認してください。',
+  'finalize' => 'BBSインテグレーションのアクティベート/ディアクティベート',
+  'finalize_explanation' => '設定内容がデータベースに登録されましたが、BBSインテグレーションは有効化されていません。後でインテグレーションをon/offに切り替えることができます。後で変更する場合に必要ですので、スタンドアロンCoppermineより管理者ユーザ名およびパスワードを控えてください。正常に動作しない場合、スタンドアロン ( ブリッジ無し ) 管理者アカウント ( 通常、Coppermineインストールでセットアップしたもの ) でログインして %s でBBSインテグレーションをディアクティベートしてください。',
+  'your_bridge_settings' => 'ブリッジ設定',
+  'title_enable' => '%s とのインテグレーション/ブリッジングを有効にする',
+  'bridge_enable_yes' => '有効',
+  'bridge_enable_no' => '無効',
+  'error_must_not_be_empty' => '空白は許可されません。',
+  'error_either_be' => '%s または %s を入力してください。',
+  'error_folder_not_exist' => '%s がありません。%s で入力した値を訂正してください。',
+  'error_cookie_not_readible' => 'Coppermineがクッキー %s を読むことができません。%s のために入力した値を修正するか、BBS管理パネルでクッキーのパスをcoppermineで読むことができるか確認してください。',
+  'error_mandatory_field_empty' => 'フィールド %s は空白にできません - 適正な値を入力してください。',
+  'error_no_trailing_slash' => 'フィールド %s にトレイリング・スラッシュは不要です。',
+  'error_trailing_slash' => 'フィールド %s にトレイリング・スラッシュが必要です。',
+  'error_db_connect' => '指定されたデータでMySQLデータベースに接続することができませんでした。MySQLのメッセージ:',
+  'error_db_name' => 'Coppermineが接続を確立しましたが、データベース %s を見つけることができませんでした。%s を正しく指定したか確認してください。MySQLのメッセージ:',
+  'error_prefix_and_table' => '%s および ',
+  'error_db_table' => 'テーブル %s が見つかりません。%s を正しく指定したか確認してください。',
+  'recovery_title' => 'ブリッジマネージャー: 緊急リカバリー',
+  'recovery_explanation' => 'CoppermineギャラリーのBBSインテグレーションを管理するため、ここにアクセスした場合、最初に管理者としてログインしてください。ブリッジが期待した通りに動作せずにログインできない場合、このページでBBSインテグレーションをディアクティベートすることができます。あなたのユーザ名およびパスワード入力することでログインできなくなることはありません。BBSインテグレーションをディアクティベートするだけです。詳細はドキュメンテーションをご覧ください。',
+  'username' => 'ユーザ名',
+  'password' => 'パスワード',
+  'disable_submit' => '送信',
+  'recovery_success_title' => '認証成功',
+  'recovery_success_content' => 'BBSブリッジを正常に無効にしました。Coppermineはスタンドアロンモードで動作しています。',
+  'recovery_success_advice_login' => 'ブリッジ設定および/またはBBSインテグレーションを再度有効にするには、adminとしてログインしてください。',
+  'goto_login' => 'ログインページへ移動',
+  'goto_bridgemgr' => 'ブリッジマネージャーへ移動',
+  'recovery_failure_title' => '認証失敗',
+  'recovery_failure_content' => '提供された証明書が間違っています。スタンドアロンバージョンの管理者アカウントを提供する必要があります ( 通常、Coppermineインストール中に設定したアカウントです )。',
+  'try_again' => 'もう一度',
+  'recovery_wait_title' => '待ち時間が経過していません。',
+  'recovery_wait_content' => 'セキュリティ上の理由から、このスクリプトでは短時間でのログイン失敗が許可されていません。認証が許可されるまで、暫くの間お待ちください。',
+  'wait' => '待機',
+  'create_redir_file' => 'リダイレクションファイルの作成 ( 推奨 )',
+  'create_redir_file_explanation' => 'BBSにログインしたユーザをCoppermineにリダイレクトするには、BBSフォルダにリダイレクトファイルを作成する必要があります。このオプションがチェックされた場合、ブリッジマネージャーはこのファイルの作成を試みます。または、ファイルを手動で作成してコピー&ペーストするためのコードを作成します。',
+  'browse' => '閲覧',
+);
+
+// ------------------------------------------------------------------------- //
+// File calendar.php
+// ------------------------------------------------------------------------- //
+
+if (defined('CALENDAR_PHP')) $lang_calendar_php = array(
+  'title' => 'カレンダー',
+  'close' => '閉じる',
+  'clear_date' => '日付をクリア',
+);
+
+// ------------------------------------------------------------------------- //
+// File catmgr.php
+// ------------------------------------------------------------------------- //
+
+if (defined('CATMGR_PHP')) $lang_catmgr_php = array(
+  'miss_param' => '「 %s 」の操作に必要なパラメータが渡されていません !',
+  'unknown_cat' => '選択したカテゴリはデータベースに存在しません。',
+  'usergal_cat_ro' => 'ユーザギャラリーのカテゴリは削除できません !',
+  'manage_cat' => 'カテゴリの管理',
+  'confirm_delete' => '本当にこのカテゴリを削除してもよろしいですか ?',
+  'category' => 'カテゴリ',
+  'operations' => '操作',
+  'move_into' => '移動先',
+  'update_create' => 'カテゴリの作成/更新',
+  'parent_cat' => '親カテゴリ',
+  'cat_title' => 'カテゴリ名',
+  'cat_thumb' => 'カテゴリサムネイル',
+  'cat_desc' => 'カテゴリ説明',
+  'categories_alpha_sort' => 'カテゴリをアルファベット順に並び替え ( カスタム並び順の代わりに )',
+  'save_cfg' => '設定を保存',
+);
+
+// ------------------------------------------------------------------------- //
+// File admin.php
+// ------------------------------------------------------------------------- //
+
+if (defined('ADMIN_PHP')) $lang_admin_php = array(
+  'title' => 'ギャラリー設定',
+  'manage_exif' => 'exif情報の管理',
+  'manage_plugins' => 'プラグインの管理',
+  'manage_keyword' => 'キーワードの管理',
+  'restore_cfg' => '工場出荷時の設定のリストア',
+  'save_cfg' => '設定を保存',
+  'notes' => 'ノート',
+  'info' => '情報',
+  'upd_success' => 'Coppermine設定が更新されました。',
+  'restore_success' => 'Coppermineデフォルト設定がリストアされました。',
+  'name_a' => '名称昇順',
+  'name_d' => '名称降順',
+  'title_a' => 'タイトル昇順',
+  'title_d' => 'タイトル降順',
+  'date_a' => '日付昇順',
+  'date_d' => '日付降順',
+  'pos_a' => 'ポジション昇順',
+  'pos_d' => 'ポジション降順',
+  'th_any' => '最大アスペクト',
+  'th_ht' => '高さ',
+  'th_wd' => '幅',
+  'label' => 'ラベル',
+  'item' => 'アイテム',
+  'debug_everyone' => '全員',
+  'debug_admin' => '管理者のみ',
+  'no_logs'=> 'Off',
+  'log_normal'=> 'ノーマル',
+  'log_all' => '全て',
+  'view_logs' => 'ログの表示',
+  'click_expand' => '広げるにはセクション名をクリック',
+  'expand_all' => '全てを広げる',
+  'notice1' => '(*) データベース内に既にデータがある場合、これらの設定は変更しないでください。',
+  'notice2' => '(**) この設定を変更する場合、更新した時点以降のファイルに適用されます。ギャラリー内にファイルがある場合は、この設定を変更しないことをお勧めします。しかし、管理メニューの「<a href="util.php">管理ツール</a> ( 写真のリサイズ ) ユーティリティ」より、登録されているファイルに変更を適用することができます。',
+  'notice3' => '(***) 全てのログファイルは英語で記録されます。',
+  'bbs_disabled' => 'bbsインテグレーション使用時に機能は利用停止にされます。',
+  'auto_resize_everyone' => '全員',
+  'auto_resize_user' => 'ユーザのみ',
+  'ascending' => '昇順',
+  'descending' => '降順',
+);
+
+if (defined('ADMIN_PHP')) $lang_admin_data = array(
+  '一般設定',
+  array('ギャラリー名', 'gallery_name', 0, 'f=index.htm&amp;as=admin_general_name&amp;ae=admin_general_name_end'),
+  array('ギャラリー説明', 'gallery_description', 0, 'f=index.htm&amp;as=admin_general_description&amp;ae=admin_general_description_end'),
+  array('ギャラリー管理者メールアドレス', 'gallery_admin_email', 0, 'f=index.htm&amp;as=admin_general_email&amp;ae=admin_general_email_end'),
+  array('coppermineギャラリーフォルダのURL ( index.php または類似のファイルを末尾に付けないでください。 )', 'ecards_more_pic_target', 0, 'f=index.htm&amp;as=admin_general_coppermine-url&amp;ae=admin_general_coppermine-url_end'),
+  array('ホームページのURL', 'home_target', 0, 'f=index.htm&amp;as=admin_general_home-url&amp;ae=admin_general_home-url_end'),
+  array('お気に入りのZIPダウンロードを許可', 'enable_zipdownload', 1, 'f=index.htm&amp;as=admin_general_zip-download&amp;ae=admin_general_zip-download_end'),
+  array('GMTと比較したタイムゾーンの差 ( 現在時刻: ' . localised_date(-1, $comment_date_fmt) . ')','time_offset',0, 'f=index.htm&amp;as=admin_general_time-offset&amp;ae=admin_general_time-offset_end&amp;top=1'),
+  array('暗号化パスワードを使用 (can not be undone)','enable_encrypted_passwords',1, 'f=index.htm&amp;as=admin_general_encrypt_password_start&amp;ae=admin_general_encrypt_password_end&amp;top=1'), // cpg 1.4
+  array('ヘルプアイコンを使用 ( 英語のみ利用可 )','enable_help',9, 'f=index.htm&amp;as=admin_general_help&amp;ae=admin_general_help_end'),
+  array('検索でクリッカブル・キーワードを使用','clickable_keyword_search',14, 'f=index.htm&amp;as=admin_general_keywords_start&amp;ae=admin_general_keywords_end'),
+  array('プラグインを使用', 'enable_plugins', 12, 'f=index.htm&amp;as=admin_general_enable-plugins&amp;ae=admin_general_enable-plugins_end'), 
+  array('ノンルータブル ( プライベート ) IPアドレスの拒否を許可', 'ban_private_ip', 1,  'f=index.htm&amp;as=admin_general_private-ip&amp;ae=admin_general_private-ip_end'),
+  array('ブラウザブル一括追加インターフェース', 'browse_batch_add', 1, 'f=index.htm&amp;as=admin_general_browsable_batch_add&amp;ae=admin_general_browsable_batch_add_end'),
+
+  '言語 &amp; 文字設定',
+  array('言語', 'lang', 5, 'f=index.htm&amp;as=admin_language_language&amp;ae=admin_language_language_end'),
+  array('訳語が無い場合は英語を表示?', 'language_fallback', 1, 'f=index.htm&amp;as=admin_language_fallback&amp;ae=admin_language_fallback_end'),
+  array('キャラクタエンコーディング', 'charset', 4, 'f=index.htm&amp;as=admin_language_charset&amp;ae=admin_language_charset_end'),
+  array('言語リストを表示する', 'language_list', 1, 'f=index.htm&amp;as=admin_language_list&amp;ae=admin_language_list_end'),
+  array('言語の旗を表示する', 'language_flags', 8, 'f=index.htm&amp;as=admin_language_flags&amp;ae=admin_language_flags_end&amp;top=1'),
+  array('言語選択に「リセット」を表示する', 'language_reset', 1, 'f=index.htm&amp;as=admin_language_reset&amp;ae=admin_language_reset_end&amp;top=1'),
+  //array('前の/次のタブページを表示する', 'previous_next_tab', 1),
+
+  'テーマ設定',
+  array('テーマ', 'theme', 6, 'f=index.htm&amp;as=admin_theme_theme&amp;ae=admin_theme_theme_end'),
+  array('テーマリストの表示', 'theme_list', 1, 'f=index.htm&amp;as=admin_theme_theme_list&amp;ae=admin_theme_theme_list_end'),
+  array('「リセット」をテーマ選択一覧に表示', 'theme_reset', 1, 'f=index.htm&amp;as=admin_theme_theme_reset&amp;ae=admin_theme_theme_reset_end'),
+  array('FAQの表示', 'display_faq', 1, 'f=index.htm&amp;as=admin_theme_faq&amp;ae=admin_theme_faq_end'),
+  array('カスタムメニューリンク名', 'custom_lnk_name', 0,'f=index.htm&amp;as=admin_theme_custom_lnk_name&amp;ae=admin_theme_custom_lnk_name_end'),
+  array('カスタムメニューリンクURL', 'custom_lnk_url', 0,'f=index.htm&amp;as=admin_language_custom_lnk_url&amp;ae=admin_language_custom_lnk_url_end'),
+  array('bbcodeヘルプの表示', 'show_bbcode_help', 1, 'f=index.htm&amp;as=admin_theme_bbcode&amp;ae=admin_theme_bbcode_end&amp;top=1'),
+  array('XHTMLおよびCSS仕様により定義されたヴァニティーブロックをテーマに表示','vanity_block',1, 'f=index.htm&amp;as=vanity_block&amp;ae=vanity_block_end'),
+  array('カスタムヘッダのパス', 'custom_header_path', 0, 'f=index.htm&amp;as=admin_theme_include_path_start&amp;ae=admin_theme_include_path_end'),
+  array('カスタムフッタのパス', 'custom_footer_path', 0, 'f=index.htm&amp;as=admin_theme_include_path_start&amp;ae=admin_theme_include_path_end'),
+
+  'アルバムリストビュー',
+  array('メインテーブルの幅 ( ピクセルまたは % )', 'main_table_width', 0, 'f=index.htm&amp;as=admin_album_table-width&amp;ae=admin_album_table-width_end'),
+  array('カテゴリのレベル表示数', 'subcat_level', 0, 'f=index.htm&amp;as=admin_album_category-levels&amp;ae=admin_album_category-levels_end'),
+  array('アルバムの表示数', 'albums_per_page', 0, 'f=index.htm&amp;as=admin_album_number&amp;ae=admin_album_number_end'),
+  array('アルバムリストのカラム数', 'album_list_cols', 0, 'f=index.htm&amp;as=admin_album_columns&amp;ae=admin_album_columns_end'),
+  array('サムネイルのピクセルサイズ', 'alb_list_thumb_size', 0, 'f=index.htm&amp;as=admin_album_thumbnail-size&amp;ae=admin_album_thumbnail-size_end'),
+  array('メインページのコンテンツ', 'main_page_layout', 0, 'f=index.htm&amp;as=admin_album_list_content&amp;ae=admin_album_list_content_end'),
+  array('カテゴリに最初のレベルのアルバムサムネイルを表示する','first_level',1, 'f=index.htm&amp;as=admin_album_first-level_thumbs&amp;ae=admin_album_first-level_thumbs_end'),
+  array('カテゴリをアルファベット順に並び替える ( 特別のソート順の代わりに )','categories_alpha_sort',1, 'f=index.htm&amp;as=admin_album_list_alphasort_start&amp;ae=admin_album_list_alphasort_end'),
+  array('リンクファイル数を表示する','link_pic_count',1, 'f=index.htm&amp;as=admin_album_linked_files_start&amp;ae=admin_album_linked_files_end'),
+
+  'サムネイルビュー',
+  array('サムネイルページのカラム数', 'thumbcols', 0, 'f=index.htm&amp;as=admin_thumbnail_columns&amp;ae=admin_thumbnail_columns_end'),
+  array('サムネイルページの列数', 'thumbrows', 0, 'f=index.htm&amp;as=admin_thumbnail_rows&amp;ae=admin_thumbnail_rows_end'),
+  array('タブの最大表示数', 'max_tabs', 10, 'f=index.htm&amp;as=admin_thumbnail_tabs&amp;ae=admin_thumbnail_tabs_end'),
+  array('サムネイル下部に ( タイトルに加えて ) ファイル説明文を表示する', 'caption_in_thumbview', 1, 'f=index.htm&amp;as=admin_thumbnail_display_caption&amp;ae=admin_thumbnail_display_caption_end'),
+  array('サムネイル下部に閲覧数を表示する', 'views_in_thumbview', 1, 'f=index.htm&amp;as=admin_thumbnail_display_views&amp;ae=admin_thumbnail_display_views_end'),
+  array('サムネイル下部にコメント数を表示する', 'display_comment_count', 1, 'f=index.htm&amp;as=admin_thumbnail_display_comments&amp;ae=admin_thumbnail_display_comments_end'),
+  array('サムネイル下部にアップローダ名を表示する', 'display_uploader', 1, 'f=index.htm&amp;as=admin_thumbnail_display_uploader&amp;ae=admin_thumbnail_display_uploader_end'),
+  //array('サムネイルの下に管理者の名前を表示する', 'display_admin_uploader', 1, 'f=index.htm&amp;as=admin_thumbnail_display_admin_uploader&amp;ae=admin_thumbnail_display_admin_uploader_end'),
+  array('サムネイル下部にファイル名を表示する', 'display_filename', 1, 'f=index.htm&amp;as=admin_thumbnail_display_filename&amp;ae=admin_thumbnail_display_filename_end'),
+  array('アルバム説明を表示する', 'alb_desc_thumb', 1, 'f=index.htm&amp;as=admin_thumbnail_display_description&amp;ae=admin_thumbnail_display_description_end'),
+  array('ファイルのデフォルトのソート順', 'default_sort_order', 3, 'f=index.htm&amp;as=admin_thumbnail_default_sortorder&amp;ae=admin_thumbnail_default_sortorder_end'),
+  array('「トップレート」リストにファイルが表示されるための最小投票数', 'min_votes_for_rating', 0, 'f=index.htm&amp;as=admin_thumbnail_minimum_votes&amp;ae=admin_thumbnail_minimum_votes_end'),
+
+  'イメージビュー',
+  array('ファイル表示テーブルの幅 ( ピクセルまたは % )', 'picture_table_width', 0, 'f=index.htm&amp;as=admin_image_comment_table-width&amp;ae=admin_image_comment_table-width_end'),
+  array('デフォルトでファイル情報を表示する', 'display_pic_info', 1, 'f=index.htm&amp;as=admin_image_comment_info_visible&amp;ae=admin_image_comment_info_visible_end'),
+  array('イメージ説明の最大長', 'max_img_desc_length', 0, 'f=index.htm&amp;as=admin_image_comment_descr_length&amp;ae=admin_image_comment_descr_length_end'),
+  array('1語の最大文字数', 'max_com_wlength', 0, 'f=index.htm&amp;as=admin_image_comment_chars_per_word&amp;ae=admin_image_comment_chars_per_word_end'),
+  array('フィルム・ストリップを表示する', 'display_film_strip', 1, 'f=index.htm&amp;as=admin_image_comment_filmstrip_toggle&amp;ae=admin_image_comment_filmstrip_toggle_end'),
+  array('フィルム・ストリップサムネイル下部にファイル名を表示する', 'display_film_strip_filename', 1, 'f=index.htm&amp;as=admin_image_comment_display_film_strip_filename&amp;ae=admin_image_comment_display_film_strip_filename_end'),
+  array('フィルム・ストリップ内のアイテム数', 'max_film_strip_items', 0, 'f=index.htm&amp;as=admin_image_comment_filmstrip_number&amp;ae=admin_image_comment_filmstrip_number_end'),
+  array('スライドショー間隔 - 1000分の1秒単位 ( 1秒 = 1000ミリ秒 )', 'slideshow_interval', 0, 'f=index.htm&amp;as=admin_image_comment_slideshow_interval&amp;ae=admin_image_comment_slideshow_interval_end'),
+
+  'コメント設定',
+  array('コメント中の使用禁止用語をフィルタする', 'filter_bad_words', 1, 'f=index.htm&amp;as=admin_image_comment_bad_words&amp;ae=admin_image_comment_bad_words_end'),
+  array('コメント中のスマイりーを許可する', 'enable_smilies', 1, 'f=index.htm&amp;as=admin_image_comment_smilies&amp;ae=admin_image_comment_smilies_end'),
+  array('同一ユーザによる1つのファイルに対する連続したコメントを許可する ( フラッドプロテクションを無効 )', 'disable_comment_flood_protect', 1, 'f=index.htm&amp;as=admin_image_comment_flood&amp;ae=admin_image_comment_flood_end'),
+  array('コメントの最大行', 'max_com_lines', 0, 'f=index.htm&amp;as=admin_image_comment_lines&amp;ae=admin_image_comment_lines_end'),
+  array('コメントの最大長', 'max_com_size', 0, 'f=index.htm&amp;as=admin_image_comment_length&amp;ae=admin_image_comment_length_end'),
+  array('管理者にコメントの投稿をメール通知する', 'email_comment_notification', 1, 'f=index.htm&amp;as=admin_image_comment_admin_notify&amp;ae=admin_image_comment_admin_notify_end'),
+  array('コメントの並び順', 'comments_sort_descending', 17, 'f=index.htm&amp;as=admin_comment_sort_start&amp;ae=admin_comment_sort_end'),
+  array('匿名コメント投稿者の接頭辞', 'comments_anon_pfx', 0, 'f=index.htm&amp;as=comments_anon_pfx&amp;ae=comments_anon_pfx_end'),
+
+  'ファイルおよびサムネイル設定',
+  array('JPEGファイルのクオリティ', 'jpeg_qual', 0, 'f=index.htm&amp;as=admin_picture_thumbnail_jpeg_quality&amp;ae=admin_picture_thumbnail_jpeg_quality_end'),
+  array('サムネイルの最大長 <a href="#notice2" class="clickable_option">**</a>', 'thumb_width', 0, 'f=index.htm&amp;as=admin_picture_thumbnail_max-dimension&amp;ae=admin_picture_thumbnail_max-dimension_end'),
+  array('使用する長さ ( 幅 または 高さ または サムネイルの最大アスペクト ) <a href="#notice2" class="clickable_option">**</a>', 'thumb_use', 7, 'f=index.htm&amp;as=admin_picture_thumbnail_use-dimension&amp;ae=admin_picture_thumbnail_use-dimension_end'),
+  array('中間写真を作成する','make_intermediate',1, 'f=index.htm&amp;as=admin_picture_thumbnail_intermediate_toggle&amp;ae=admin_picture_thumbnail_intermediate_toggle_end'),
+  array('中間写真/ビデオの最大幅または高さ <a href="#notice2" class="clickable_option">**</a>', 'picture_width', 0, 'f=index.htm&amp;as=admin_picture_thumbnail_intermediate_dimension&amp;ae=admin_picture_thumbnail_intermediate_dimension_end'),
+  array('アップロードファイルの最大サイズ ( KB )', 'max_upl_size', 0, 'f=index.htm&amp;as=admin_picture_thumbnail_max_upload_size&amp;ae=admin_picture_thumbnail_max_upload_size_end'),
+  array('アップロード写真/ビデオの最大幅または高さ ( ピクセル )', 'max_upl_width_height', 0, 'f=index.htm&amp;as=admin_picture_thumbnail_max_upload_dimension&amp;ae=admin_picture_thumbnail_max_upload_dimension_end'),
+  array('最大幅または高さより大きなイメージをオートリサイズする', 'auto_resize', 16, 'f=index.htm&amp;as=admin_picture_thumbnail_auto-resize&amp;ae=admin_picture_thumbnail_auto-resize_end'),
+
+  'ファイルおよびサムネイルの高度な設定',
+  array('アルバムをプライベートにする ( 注意: 「Yes」から「No」に変更した場合、現在のプライベートアルバムは全て公開されます。)', 'allow_private_albums', 1, 'f=index.htm&amp;as=admin_picture_thumb_advanced_private_toggle&amp;ae=admin_picture_thumb_advanced_private_toggle_end'),
+  array('未登録のユーザにプライベートアルバムアイコンを表示する','show_private',1, 'f=index.htm&amp;as=admin_picture_thumb_advanced_private_icon_show&amp;ae=admin_picture_thumb_advanced_private_icon_show_end'),
+  array('ファイル名の禁止文字', 'forbiden_fname_char',0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_filename_forbidden_chars&amp;ae=admin_picture_thumb_advanced_filename_forbidden_chars_end'),
+  //array('アップロード写真に許可されたファイル拡張子', 'allowed_file_extensions',0, 'f=index.htm&amp;as=&amp;ae=_end'),
+  array('利用可能なイメージタイプ', 'allowed_img_types',0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_pic_extensions&amp;ae=admin_picture_thumb_advanced_pic_extensions_end'),
+  array('利用可能なムービータイプ', 'allowed_mov_types',0, 'f=index.htm&amp;as=admin_thumbs_advanced_movie&amp;ae=admin_thumbs_advanced_movie_end'),
+  array('ムービープレイバック自動スタート', 'media_autostart',1, 'f=index.htm&amp;as=admin_movie_autoplay&amp;ae=admin_movie_autoplay_end'),
+  array('利用可能なオーディオタイプ', 'allowed_snd_types',0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_audio_extensions&amp;ae=admin_picture_thumb_advanced_audio_extensions_end'),
+  array('利用可能なドキュメントタイプ', 'allowed_doc_types',0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_doc_extensions&amp;ae=admin_picture_thumb_advanced_doc_extensions_end'),
+  array('イメージのリサイズ方法','thumb_method',2, 'f=index.htm&amp;as=admin_picture_thumb_advanced_resize_method&amp;ae=admin_picture_thumb_advanced_resize_method_end'),
+  array('ImageMagick「コンバート」ユーティリティのパス ( 例 /usr/bin/X11/ )', 'impath', 0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_im_path&amp;ae=admin_picture_thumb_advanced_im_path_end'),
+  //array('利用可能なイメージタイプ ( ImageMagickにのみ有効 )', 'allowed_img_types',0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_allowed_imagetypes&amp;ae=admin_picture_thumb_advanced_allowed_imagetypes_end'),
+  array('ImageMagickのコマンドラインオプション', 'im_options', 0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_im_commandline&amp;ae=admin_picture_thumb_advanced_im_commandline_end'),
+  array('JPEGファイルのEXIFデータを取得する', 'read_exif_data', 13, 'f=index.htm&amp;as=admin_picture_thumb_advanced_exif&amp;ae=admin_picture_thumb_advanced_exif_end'),
+  array('JPEGファイルのIPTCデータを取得する', 'read_iptc_data', 1, 'f=index.htm&amp;as=admin_picture_thumb_advanced_iptc&amp;ae=admin_picture_thumb_advanced_iptc_end'),
+  array('アルバムディレクトリ <a href="#notice1" class="clickable_option">*</a>', 'fullpath', 0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_albums_dir&amp;ae=admin_picture_thumb_advanced_albums_dir_end'),
+  array('ユーザファイルのディレクトリ <a href="#notice1" class="clickable_option">*</a>', 'userpics', 0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_userpics_dir&amp;ae=admin_picture_thumb_advanced_userpics_dir_end'),
+  array('中間写真の接頭辞 <a href="#notice1" class="clickable_option">*</a>', 'normal_pfx', 0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_intermediate_prefix&amp;ae=admin_picture_thumb_advanced_intermediate_prefix_end'),
+  array('サムネイルの接頭辞 <a href="#notice1" class="clickable_option">*</a>', 'thumb_pfx', 0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_thumbs_prefix&amp;ae=admin_picture_thumb_advanced_thumbs_prefix_end'),
+  array('ディレクトリのデフォルトモード', 'default_dir_mode', 0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_chmod_folder&amp;ae=admin_picture_thumb_advanced_chmod_folder_end'),
+  array('ファイルのデフォルトモード', 'default_file_mode', 0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_chmod_files&amp;ae=admin_picture_thumb_advanced_chmod_files_end'),
+
+  'ユーザ設定',
+  array('新しいユーザの登録を許可する', 'allow_user_registration', 1, 'f=index.htm&amp;as=admin_allow_registration&amp;ae=admin_allow_registration_end'),
+  array('未登録ユーザ ( ゲストまたは匿名 ) のアクセスを許可する', 'allow_unlogged_access', 1, 'f=index.htm&amp;as=admin_allow_unlogged_access&amp;ae=admin_allow_unlogged_access_end'),
+  array('ユーザ登録でメール確認が必要', 'reg_requires_valid_email', 1, 'f=index.htm&amp;as=admin_registration_verify&amp;ae=admin_registration_verify_end'),
+  array('ユーザ登録を管理者にメール通知する', 'reg_notify_admin_email', 1, 'f=index.htm&amp;as=admin_registration_notify&amp;ae=admin_registration_notify_end'),
+  array('ユーザ登録の自動アクティベーション', 'admin_activation', 1, 'f=index.htm&amp;as=admin_activation&amp;ae=admin_activation_end'), 
+  array('2人のユーザが同一メールアドレスを持つことを許可する', 'allow_duplicate_emails_addr', 1, 'f=index.htm&amp;as=admin_allow_duplicate_emails_addr&amp;ae=admin_allow_duplicate_emails_addr_end'),
+  array('ユーザアップロードの認証待ち状態を管理者に通知する', 'upl_notify_admin_email', 1, 'f=index.htm&amp;as=admin_approval_notify&amp;ae=admin_approval_notify_end'),
+  array('ログインユーザにメンバリストの閲覧を許可する', 'allow_memberlist', 1, 'f=index.htm&amp;as=admin_user_memberlist&amp;ae=admin_user_memberlist_end'),
+  array('ユーザにプロフィール画面でのメールアドレス変更を許可する', 'allow_email_change', 1, 'f=index.htm&amp;as=admin_user_allow_email_change&amp;ae=admin_user_allow_email_change_end'),
+  array('ユーザにパブリックギャラリーでの写真の保持を許可する', 'users_can_edit_pics', 1, 'f=index.htm&amp;as=admin_user_editpics_public_start&amp;ae=admin_user_editpics_public_end'),
+  array('一時的な利用禁止を行うまでのログイン失敗数 ( ブルートフォースアタックを避けるため )', 'login_threshold', 0, 'f=index.htm&amp;as=admin_user_login_start&amp;ae=admin_user_login_end'),
+  array('ログイン失敗後の一時的利用禁止の継続時間', 'login_expiry', 0, 'f=index.htm&amp;as=admin_user_login_start&amp;ae=admin_user_login_end'),
+  array('アルバムへのレポートを有効にする', 'report_post', 1, 'f=index.htm&amp;as=admin_user_enable_report&amp;ae=admin_user_enable_report_end'), 
+
+// custom profile fields, 
+  'ユーザプロフィールのカスタムフィールド (使用しない場合は空白にしてください。) 
+  経歴等の長い情報はプロフィール6に入力してください。',
+  array('プロフィール1の名称', 'user_profile1_name', 0, 'f=index.htm&amp;as=admin_custom&amp;ae=admin_custom_end'),
+  array('プロフィール2の名称', 'user_profile2_name', 0),
+  array('プロフィール3の名称', 'user_profile3_name', 0),
+  array('プロフィール4の名称', 'user_profile4_name', 0),
+  array('プロフィール5の名称', 'user_profile5_name', 0),
+  array('プロフィール6の名称', 'user_profile6_name', 0),
+
+  'イメージ説明のカスタムフィールド ( 使用しない場合は空白にしてください。 )',
+  array('フィールド1の名称', 'user_field1_name', 0, 'f=index.htm&amp;as=admin_custom_image&amp;ae=admin_custom_image_end'),
+  array('フィールド2の名称', 'user_field2_name', 0),
+  array('フィールド3の名称', 'user_field3_name', 0),
+  array('フィールド4の名称', 'user_field4_name', 0),
+
+  'クッキー設定',
+  array('クッキー名', 'cookie_name', 0, 'f=index.htm&amp;as=admin_cookie_name&amp;ae=admin_cookie_name_end'),
+  array('クッキーパス', 'cookie_path', 0, 'f=index.htm&amp;as=admin_cookie_path&amp;ae=admin_cookie_path_end'),
+
+  'メール設定  ( 通常、ここを変更する必要はありません。分からない場合は、全てを空白にしてください。 )',
+  array('SMTPホスト ( 空白にした場合、sendmailが使用されます。 )', 'smtp_host', 0, 'f=index.htm&amp;as=admin_email&amp;ae=admin_email_end'),
+  array('SMTPユーザ名', 'smtp_username', 0),
+  array('SMTPパスワード', 'smtp_password', 0),
+
+  'ロギングおよび統計',
+  array('ロギングモード <a href="#notice3" class="clickable_option">***</a>', 'log_mode', 11, 'f=index.htm&amp;as=admin_logging_log_mode&amp;ae=admin_logging_log_mode_end'),
+  array('eカードのログ', 'log_ecards', 1, 'f=index.htm&amp;as=admin_general_log_ecards&amp;ae=admin_general_log_ecards_end'),
+  array('投票統計詳細を保存','vote_details',1, 'f=index.htm&amp;as=admin_logging_votedetails&amp;ae=admin_logging_votedetails_end'),
+  array('ヒット統計詳細を保存','hit_details',1, 'f=index.htm&amp;as=admin_logging_hitdetails&amp;ae=admin_logging_hitdetails_end'),
+
+  'メンテナンス設定',
+  array('デバッグモードを有効にする', 'debug_mode', 9, 'f=index.htm&amp;as=debug_mode&amp;ae=debug_mode_end'),
+  array('デバッグモードで警告を表示', 'debug_notice', 1, 'f=index.htm&amp;as=admin_misc_debug_notices&amp;ae=admin_misc_debug_notices_end'),
+  array('ギャラリーをオフラインにする', 'offline', 1, 'f=index.htm&amp;as=admin_general_offline&amp;ae=admin_general_offline_end'),
+);
+
+
+// ------------------------------------------------------------------------- //
+// File db_ecard.php
+// ------------------------------------------------------------------------- //
+
+if (defined('DB_ECARD_PHP')) $lang_db_ecard_php = array(
+  'title' => '送信済みeカード',
+  'ecard_sender' => '送信者',
+  'ecard_recipient' => '受取人',
+  'ecard_date' => '送信日時',
+  'ecard_display' => 'eカードの表示',
+  'ecard_name' => '名前',
+  'ecard_email' => 'メールアドレス',
+  'ecard_ip' => 'IP #',
+  'ecard_ascending' => '昇順',
+  'ecard_descending' => '降順',
+  'ecard_sorted' => '並び替え:',
+  'ecard_by_date' => '日付',
+  'ecard_by_sender_name' => '送信者名',
+  'ecard_by_sender_email' => '送信者メールアドレス',
+  'ecard_by_sender_ip' => '送信者IPアドレス',
+  'ecard_by_recipient_name' => '受取人名',
+  'ecard_by_recipient_email' => '受取人メールアドレス',
+  'ecard_number' => '表示レコード %s - %s (%s 件中)',
+  'ecard_goto_page' => 'ページ移動',
+  'ecard_records_per_page' => '1ページ当たりのレコード数',
+  'check_all' => '全てを選択',
+  'uncheck_all' => 'すべての選択を解除 ',
+  'ecards_delete_selected' => '選択したeカードを削除する',
+  'ecards_delete_confirm' => '本当にレコードを削除してもよろしいですか? チェックボックスをチェックしてください!',
+  'ecards_delete_sure' => '削除確認',
+);
+
+
+// ------------------------------------------------------------------------- //
+// File db_input.php
+// ------------------------------------------------------------------------- //
+
+if (defined('DB_INPUT_PHP')) $lang_db_input_php = array(
+  'empty_name_or_com' => 'お名前とコメントを入力してください。',
+  'com_added' => 'あなたのコメントは追加されました。',
+  'alb_need_title' => 'アルバム名を入力してください !',
+  'no_udp_needed' => '更新は必要ありません。',
+  'alb_updated' => 'アルバムが更新されました。',
+  'unknown_album' => '選択したアルバムが存在しない、またはこのアルバムにアップロードする権限がありません。',
+  'no_pic_uploaded' => 'ファイルはアップロードされませんでした !<br /><br />アップロードするファイルを正しく選択している場合は、サーバが</br>ファイルのアップロードを許可しているか確認してください ...',
+  'err_mkdir' => 'ディレクトリ %s の作成に失敗しました !',
+  'dest_dir_ro' => '対象ディレクトリ %s はスクリプトによる書込みができません !',
+  'err_move' => '%s を %s に移動できません !',
+  'err_fsize_too_large' => 'あなたがアップロードしたファイルのサイズは大き過ぎます ( 最大サイズは%sx%sです ) !',
+  'err_imgsize_too_large' => 'あなたがアップロードしたファイルのサイズは大き過ぎます ( 最大サイズは%sKBです ) !',
+  'err_invalid_img' => 'あなたがアップロードしたファイルは有効なイメージではありません !',
+  'allowed_img_types' => '%s のイメージのみアップロードできます。',
+  'err_insert_pic' => 'ファイル「 %s 」はアルバムに登録できません。 ',
+  'upload_success' => 'あなたのファイルは正常にアップロードされました。<br /><br />管理者の承認後に表示されます。',
+  'notify_admin_email_subject' => '%s - アップロード通知',
+  'notify_admin_email_body' => '%s によって写真がアップロードされました。認証するには、次のリンクをクリックしてください。 %s',
+  'info' => '情報',
+  'com_added' => 'コメントが追加されました。',
+  'alb_updated' => 'アルバムが更新されました。',
+  'err_comment_empty' => 'コメントが空白です !',
+  'err_invalid_fext' => '次の拡張子のファイルのみ使用できます: <br /><br />%s',
+  'no_flood' => '申し訳ございません、あなたは既にこのファイルにコメントを投稿しています。<br /><br />修正したい場合は、コメントを編集してください。',
+  'redirect_msg' => 'リダイレクトされました。<br /><br /><br />ページが自動的に更新されない場合は「続ける」をクリックしてください。',
+  'upl_success' => 'あなたのファイルが正常に登録されました。',
+  'email_comment_subject' => 'Coppermine Photo Galleryにコメントが投稿されました。',
+  'email_comment_body' => 'ギャラリーにコメントが投稿されました。こちらをご覧ください:',
+  'album_not_selected' => 'アルバムが選択されていません。',
+  'com_author_error' => '登録済みユーザがこのニックネームを使用しています。他のニックネームを使用してください。',
+);
+
+// ------------------------------------------------------------------------- //
+// File delete.php
+// ------------------------------------------------------------------------- //
+
+if (defined('DELETE_PHP')) $lang_delete_php = array(
+  'caption' => 'キャプション',
+  'fs_pic' => 'フルサイズイメージ',
+  'del_success' => '削除成功',
+  'ns_pic' => 'ノーマルサイズイメージ',
+  'err_del' => '削除不可',
+  'thumb_pic' => 'サムネイル',
+  'comment' => 'コメント',
+  'im_in_alb' => 'アルバム内のイメージ',
+  'alb_del_success' => 'アルバム「 %s 」が削除されました。',
+  'alb_mgr' => 'アルバムマネージャー',
+  'err_invalid_data' => '「 %s 」に不正なデータが発生しました。',
+  'create_alb' => 'アルバム「 %s 」の作成中',
+  'update_alb' => 'アルバム「 %s 」 アルバム名「 %s 」 インデックス「 %s 」を更新しています。',
+  'del_pic' => 'ファイルの削除',
+  'del_alb' => 'アルバムの削除',
+  'del_user' => 'ユーザの削除',
+  'err_unknown_user' => '選択したユーザは存在していません !',
+  'err_empty_groups' => 'グループテーブルが存在していません、またはグループテーブルが空です!',
+  'comment_deleted' => 'コメントが削除されました。',
+  'npic' => '写真',
+  'pic_mgr' => '写真マネージャー',
+  'update_pic' => '写真 \'%s\' を更新中 - ファイル名: 「 %s 」 インデックス: 「 %s 」',
+  'username' => 'ユーザ名',
+  'anonymized_comments' => '%s 件のコメントが匿名化されました。',
+  'anonymized_uploads' => '%s 件のパブリックアップロードが匿名化されました。',
+  'deleted_comments' => '%s 件のコメントが削除されました。',
+  'deleted_uploads' => '%s 件のパブリックアップロードが削除されました。',
+  'user_deleted' => 'ユーザ %s が削除されました。',
+  'activate_user' => 'ユーザの有効化',
+  'user_already_active' => 'アカウントは既に有効にされています。',
+  'activated' => '有効化',
+  'deactivate_user' => 'ユーザのディアクティベート',
+  'user_already_inactive' => 'アカウントは既に無効にされています。',
+  'deactivated' => 'ディアクティベート済み',
+  'reset_password' => 'パスワードのリセット',
+  'password_reset' => 'パスワードのリセット: %s',
+  'change_group' => '第1グループの変更',
+  'change_group_to_group' => '%s から %s へ変更',
+  'add_group' => '第2グループの追加',
+  'add_group_to_group' => 'ユーザ追加 - ユーザ: %s → グループ: %s 現在、第1グループ: %s  第2グループ: %s のユーザです。',
+  'status' => 'ステータス',
+);
+
+// ------------------------------------------------------------------------- //
+// File displayecard.php
+// ------------------------------------------------------------------------- //
+
+if (defined('DISPLAYECARD_PHP')) {
+
+$lang_displayecard_php = array(
+  'invalid_data' => 'あなたがアクセスしようとしたeカードのデータが、あなたのメールクライアントによって破損しています。リンクが完全なものか確認してください。',
+);
+}
+
+// ------------------------------------------------------------------------- //
+// File displayimage.php
+// ------------------------------------------------------------------------- //
+
+if (defined('DISPLAYIMAGE_PHP')){
+
+$lang_display_image_php = array(
+  'confirm_del' => '本当にこのファイルを削除してもよろしいですか ? \\n同時にコメントも削除されます。',
+  'del_pic' => 'この写真を削除',
+  'size' => '%s x %s ピクセル',
+  'views' => '%s 回',
+  'slideshow' => 'スライドショー',
+  'stop_slideshow' => 'スライドショーを停止',
+  'view_fs' => 'クリックでフルサイズのイメージを表示',
+  'edit_pic' => '説明の編集',
+  'crop_pic' => 'クロップおよび回転',
+  'set_player' => 'プレイヤーの変更',
+);
+
+$lang_picinfo = array(
+  'title' =>'ファイル情報',
+  'Filename' => 'ファイル名',
+  'Album name' => 'アルバム名',
+  'Rating' => 'レーティング ( 投票数 %s件 )',
+  'Keywords' => 'キーワード',
+  'File Size' => 'ファイルサイズ',
+  'Date Added' => '追加年月日',
+  'Dimensions' => 'ディメンション',
+  'Displayed' => '表示',
+  'URL' => 'URL',
+  'Make' => '型',
+  'Model' => 'モデル',
+  'DateTime' => '日時',
+  'DateTimeOriginal' => '撮影日時',
+  'ISOSpeedRatings'=>'ISO',
+  'MaxApertureValue' => '最大絞り',
+  'FocalLength' => '焦点距離',
+  'Comment' => 'コメント',
+  'addFav'=>'お気に入りに追加',
+  'addFavPhrase'=>'お気に入り',
+  'remFav'=>'お気に入りから削除',
+  'iptcTitle'=>'IPTCタイトル',
+  'iptcCopyright'=>'IPTCコピーライト',
+  'iptcKeywords'=>'IPTCキーワード',
+  'iptcCategory'=>'IPTCカテゴリ',
+  'iptcSubCategories'=>'IPTCサブカテゴリ',
+  'ColorSpace' => 'カラースペース',
+  'ExposureProgram' => '露出プログラム',
+  'Flash' => 'フラッシュ',
+  'MeteringMode' => '計器モード',
+  'ExposureTime' => '露出時間',
+  'ExposureBiasValue' => '露出バイアス',
+  'ImageDescription' => ' イメージ説明',
+  'Orientation' => 'オリエンテーション',
+  'xResolution' => 'X 解像度',
+  'yResolution' => 'Y 解像度',
+  'ResolutionUnit' => '解像度ユニット',
+  'Software' => 'ソフトウェア',
+  'YCbCrPositioning' => '画素構成',
+  'ExifOffset' => 'Exifオフセット',
+  'IFD1Offset' => 'IFD1オフセット',
+  'FNumber' => 'FNumber',
+  'ExifVersion' => 'Exifバージョン',
+  'DateTimeOriginal' => 'オリジナルの日時',
+  'DateTimedigitized' => 'デジタル化した日時',
+  'ComponentsConfiguration' => 'コンポーネント設定',
+  'CompressedBitsPerPixel' => 'ピクセルあたりの圧縮ビット',
+  'LightSource' => '光源',
+  'ISOSetting' => 'ISO設定',
+  'ColorMode' => 'カラーモード',
+  'Quality' => '画質',
+  'ImageSharpening' => 'イメージシャープネス',
+  'FocusMode' => 'フォーカスモード',
+  'FlashSetting' => 'フラッシュ設定',
+  'ISOSelection' => 'ISO選択',
+  'ImageAdjustment' => 'イメージアジャストメント',
+  'Adapter' => 'アダプタ',
+  'ManualFocusDistance' => 'マニュアルフォーカス距離',
+  'DigitalZoom' => 'デジタルズーム',
+  'AFFocusPosition' => 'AFフォーカスポジション',
+  'Saturation' => '彩度',
+  'NoiseReduction' => 'ノイズリダクション',
+  'FlashPixVersion' => 'Flash Pixバージョン',
+  'ExifImageWidth' => 'Exifイメージ幅',
+  'ExifImageHeight' => 'Exifイメージ高',
+  'ExifInteroperabilityOffset' => 'Exif相互接続オフセット',
+  'FileSource' => 'ファイルソース',
+  'SceneType' => 'シーンタイプ',
+  'CustomerRender' => 'カスタマレンダ',
+  'ExposureMode' => '露光モード',
+  'WhiteBalance' => 'ホワイトバランス',
+  'DigitalZoomRatio' => 'デジタルズームレシオ',
+  'SceneCaptureMode' => 'シーンキャプチャモード',
+  'GainControl' => 'ゲインコントロール',
+  'Contrast' => 'コントラスト',
+  'Saturation' => '彩度',
+  'Sharpness' => 'シャープネス',
+  'ManageExifDisplay' => 'Exif表示管理',
+  'submit' => '送信',
+  'success' => '情報が更新されました。',
+  'details' => '詳細',
+);
+
+$lang_display_comments = array(
+  'OK' => 'OK',
+  'edit_title' => 'このコメントを編集する',
+  'confirm_delete' => '本当にこのコメントを削除してもよろしいですか ?',
+  'add_your_comment' => 'コメントを追加する',
+  'name'=>'名前',
+  'comment'=>'コメント',
+  'your_name' => 'お名前',
+  'report_comment_title' => 'このコメントを管理者に報告する。',
+);
+
+$lang_fullsize_popup = array(
+  'click_to_close' => 'イメージのクリックでウインドウを閉じる',
+);
+
+}
+
+// ------------------------------------------------------------------------- //
+// File ecard.php
+// ------------------------------------------------------------------------- //
+
+if (defined('ECARDS_PHP') || defined('DISPLAYECARD_PHP')) $lang_ecard_php =array(
+  'title' => 'eカードの送信',
+  'invalid_email' => '<b>警告</b> : メールアドレスが正しくありません !',
+  'ecard_title' => '%s のeカード',
+  'error_not_image' => 'イメージ以外はeカードとして送信できません。',
+  'view_ecard' => 'eカードが正常に表示されない場合の代わりのリンク',
+  'view_ecard' => 'eカードが正常に表示されない場合は、このリンクをクリックしてください。',
+  'view_more_pics' => 'もっと写真を見る場合は、このリンクをクリックしてください !',
+  'send_success' => 'eカードが送信されました。',
+  'send_failed' => '申し訳ございません、eカードを送信できませんでした ...',
+  'from' => 'From',
+  'your_name' => '名前',
+  'your_email' => 'メールアドレス',
+  'to' => 'To',
+  'rcpt_name' => '受取人の名前',
+  'rcpt_email' => '受取人のメールアドレス',
+  'greetings' => 'あいさつ',
+  'message' => 'メッセージ',
+  'ecards_footer' => '%s によりIPアドレス %s より %s ( ギャラリー時間 ) に送信されました。',
+  'preview' => 'eカードのプレビュー',
+  'preview_button' => 'プレビュー',
+  'submit_button' => 'eカードの送信',
+  'preview_view_ecard' => 'これは、eカードが生成された後の代替的なリンクとなります。プレビューでは動作しません。',
+);
+
+// ------------------------------------------------------------------------- //
+// File report_file.php
+// ------------------------------------------------------------------------- //
+
+if (defined('REPORT_FILE_PHP') || defined('DISPLAYREPORT_PHP')) $lang_report_php =array(
+  'title' => '管理者に報告',
+  'invalid_email' => '<b>警告</b> : メールアドレスが正しくありません!',
+  'report_subject' => '%s によるレポート / ギャラリー: %s',
+  'view_report' => 'レポートが正常に表示されない場合の代替リンク',
+  'view_report_plaintext' => 'レポートを閲覧するには、このURLをブラウザのアドレスバーにコピー＆ペーストしてください:',
+  'view_more_pics' => 'ギャラリー',
+  'send_success' => 'あなたのレポートが送信されました。',
+  'send_failed' => '申し訳ございません。サーバはあなたのリクエストを送信できません ...',
+  'from' => 'From',
+  'your_name' => 'あなたの名前',
+  'your_email' => 'あなたのメールアドレス',
+  'to' => 'To',
+  'administrator' => '管理者/モデレータ',
+  'subject' => '題名',
+  'comment_field_name' => '「 %s 」によるコメントのリポート',
+  'reason' => '理由',
+  'message' => 'メッセージ',
+  'report_footer' => '送信者: %s IPアドレス: %s ギャラリー時間: %s',
+  'obscene' => '節度を欠いた',
+  'offensive' => '攻撃',
+  'misplaced' => 'オフ・トピック/場所違い',
+  'missing' => '不明',
+  'issue' => 'エラー/閲覧不可',
+  'other' => '他',
+  'refers_to' => 'ファイルレポート参照',
+  'reasons_list_heading' => 'レポートの理由:',
+  'no_reason_given' => '理由が与えられていません。',
+  'go_comment' => 'コメントへ移動',
+  'view_comment' => 'コメントのフルリポートを表示',
+  'type_file' => 'ファイル',
+  'type_comment' => 'コメント',
+);
+
+// ------------------------------------------------------------------------- //
+// File editpics.php
+// ------------------------------------------------------------------------- //
+
+if (defined('EDITPICS_PHP')) $lang_editpics_php = array(
+  'pic_info' => 'ファイル情報',
+  'album' => 'アルバム',
+  'title' => '写真名',
+  'filename' => 'ファイル名',
+  'desc' => '説明',
+  'keywords' => 'キーワード',
+  'new_keyword' => '新しいキーワード',
+  'new_keywords' => '新しいキーワードが見つかりました。',
+  'existing_keyword' => '存在するキーワード',
+  'pic_info_str' => '%s &times; %s - %s KB - 閲覧回数 %s - 投票件数 %s',
+  'approve' => 'ファイルの承認',
+  'postpone_app' => '承認の延期',
+  'del_pic' => 'ファイルの削除',
+  'del_all' => '全てのファイルを削除',
+  'read_exif' => 'EXIF情報の再取得',
+  'reset_view_count' => '閲覧カウンタをリセット',
+  'reset_all_view_count' => '全ての閲覧カウンタをリセット',
+  'reset_votes' => '投票をリセット',
+  'reset_all_votes' => '全ての投票をリセット',
+  'del_comm' => 'コメントの削除',
+  'del_all_comm' => '全てのコメントを削除',
+  'upl_approval' => 'アップロード承認',
+  'edit_pics' => 'ファイルの編集',
+  'see_next' => '前へ',
+  'see_prev' => '次へ',
+  'n_pic' => 'ファイル数 %s',
+  'n_of_pic_to_disp' => 'ファイル表示数',
+  'apply' => '修正の適用',
+  'crop_title' => 'Coppermineピクチャーエディタ',
+  'preview' => 'プレビュー',
+  'save' => '写真の保存',
+  'save_thumb' =>'サムネイルとして保存',
+  'gallery_icon' => 'この画像をマイアイコンにする',
+  'sel_on_img' =>'選択はイメージ内で行ってください!',
+  'album_properties' =>'アルバム属性',
+  'parent_category' =>'親カテゴリ',
+  'thumbnail_view' =>'サムネイルビュー',
+  'select_unselect' =>'全てを選択/選択解除',
+  'file_exists' => "ファイル「 %s 」は既に登録されています。",
+  'rename_failed' => "'%s' から '%s へのリネームが失敗しました。",
+  'src_file_missing' => "ソースファイル「 %s 」が見つかりません。",
+  'mime_conv' => "ファイルを「 %s 」から「 %s 」にコンバートできません。",
+  'forb_ext' => '使用が許可されていないファイル拡張子です。',
+);
+
+// ------------------------------------------------------------------------- //
+// File faq.php
+// ------------------------------------------------------------------------- //
+
+if (defined('FAQ_PHP')) $lang_faq_php = array(
+  'faq' => 'よくある質問と答え ',
+  'toc' => '目次',
+  'question' => '質問: ',
+  'answer' => '答え: ', 
+);
+
+if (defined('FAQ_PHP')) $lang_faq_data = array(
+  '一般的なFAQ',
+  array('なぜユーザ登録する必要がありますか?', 'ユーザ登録の要否は管理者によって決定されます。ユーザ登録することで、メンバーはファイルのアップロード、お気に入りの追加、写真の評価、コメントの投稿等の機能を使用することができます。', 'allow_user_registration', '0'),
+  array('ユーザ登録方法は?', '&quot;ユーザ登録&quot;にアクセスして必須項目フィールドに必要事項を入力してください(必要であれば任意項目も)。<br />管理者がメール承認を利用可にしている場合は個人情報を送信した後、登録メールアドレス宛にアカウントのアクティベートに関する説明が記載されたメールが送信されます。ログインするためにはアカウントのアクティベートを行ってください。', 'allow_user_registration', '1'),
+  array('ログインの方法は?', '&quot;ログイン&quot;画面にアクセスしてユーザ名とパスワードを入力してください。&quot;次回からユーザ名・パスワードの入力を省略&quot;をチェックすると以後自動的にログインすることができます。 <br /><b>重要:クッキーは利用可にしてください。&quot;次回からユーザ名・パスワードの入力を省略&quot;を使用する場合は、このサイト発行のクッキーを削除しないでください。</b>', 'offline', 0),
+  array('なぜログイン出来ないのですか?', 'ユーザ登録後に送信されるメールに記載されていたリンクをクリックしましたか? リンクをクリックすることでアカウントをアクティベートすることができます。他のログインに関するトラブルは管理者にお問合せください。', 'offline', 0),
+  array('パスワードを忘れたら?', 'このサイトに&quot;パスワードを忘れました&quot;リンクがある場合はお使いください。その他の場合はサイト管理者に新しいパスワードの発行を依頼してください。', 'offline', 0),
+  // array('普段使用しているメールアドレスを変更したら?', 'ログイン後、&quot;マイプロフィール&quot;で変更してください。', 'offline', 0),
+  array('&quot;お気に入り&quot;に写真を保存する方法は?', '写真をクリックした後、&quot;写真情報&quot;リンク(<img src="images/info.gif" width="16" height="16" border="0" alt="Picture information" />)をクリックしてください。写真情報の下方にある&quot;お気に入りに追加&quot;をクリックしてください。<br />管理者には&quot;写真情報&quot;がデフォルトで表示されています。<br /><b>重要:クッキーを使用可にして、このサイト発行のクッキーを削除しないでください。', 'offline', 0),
+  array('写真の評価方法は?', '写真のサムネイルをクリックして、下方に表示されるレーティングを選択してください。', 'offline', 0),
+  array('写真へのコメント投稿方法は?', '写真のサムネイルをクリックして、下方に表示されるコメント欄に投稿してください。', 'offline', 0),
+  array('写真のアップロード方法は?', '&quot;ファイルのアップロード&quot;にアクセスして、ファイルをアップロードしたいアルバムを選択してください。&quot;参照&quot;をクリックした後、アップロードしたいファイルを選択して&quot;開く&quot;をクリックします。(必要に応じてタイトル、説明文を付加えてください) 最後に&quot;ファイルのアップロード&quot;をクリックしてください。', 'allow_private_albums', 0),
+  array('どこに写真をアップロードすれば良いですか?', '&quot;マイギャラリー&quot;内のアルバムに写真をアップロードすることができます。管理者の設定により、メインギャラリー内のアルバムに写真をアップロードすることもできます。', 'allow_private_albums', 0),
+  array('どのような種類とサイズの写真をアップロードできますか?', 'アップロード出来るサイズと種類(jpg,gif,等)は管理者により決定されます。', 'offline', 0),
+  array('&quot;マイギャラリー&quot;内のアルバム作成・リネーム・削除方法は?', 'まず、&quot;管理者モード&quot;にしてください。<br />&quot;アルバム&quot;にアクセスして&quot;新規作成&quot;をクリックしてください。 &quot;新しいアルバム&quot;を好きな名称に変更してください。<br />ギャラリー内の全てのアルバムの名称を変更することができます。<br />&quot;更新の適用&quot;をクリックしてください。', 'allow_private_albums', 0),
+  array('マイアルバムの修正および閲覧の制限方法は?', 'まず、&quot;管理者モード&quot;にしてください。<br />&quot;アルバムの更新&quot;バーにある&quot;マイアルバムの修正&quot;にアクセスして、修正したいアルバムを選択してください。<br />ここでアルバム名、説明、サムネイル、閲覧制限、コメント/レーティングのパーミッションを変更することができます。<br />&quot;アルバムの更新&quot;をクリックしてください。', 'allow_private_albums', 0),
+  array('他のユーザのギャラリーを閲覧する方法は?', '&quot;アルバムリスト&quot;にアクセスして、&quot;ユーザギャラリー&quot;を選択してください。', 'allow_private_albums', 0),
+  array('クッキーとは?', 'クッキーは、ウェブサイトからあなたのコンピュータに保存されるプレインテキストのデータです。<br />通常、クッキーはユーザがサイトに戻って来た時に、再度ログインしなくても済むように利用されます。また、他の多くの役割を持っています。', 'offline', 0),
+  array('このプログラムの入手方法は?', 'Coppermineは、GNU GPLによりリリースされたフリーのマルチメディアギャラリーです。Coppermineは、多機能なシステムであり、様々なプラットフォームに移植されています。詳細情報の閲覧、ダウンロードは<a href="http://coppermine-gallery.net/">Coppermineホームページ</a>にアクセスして行ってください。', 'offline', 0),
+
+  'サイト運用',
+  array('&quot;アルバムリスト&quot;とは?', 'アルバムリストでは、ギャラリー全てをそれぞれのカテゴリへのリンクと共に表示します。サムネイルは、カテゴリへリンクされています。', 'offline', 0),
+  array('&quot;マイギャラリー&quot;とは?', 'マイギャラリーでは、ユーザが自身のギャラリーを作成することができます。ユーザは、写真のアップロードと同様に、アルバムの追加、削除、修正を行うことができます。', 'allow_private_albums', 0),
+  array('&quot;管理者モード&quot;と&quot;ユーザモード&quot;の違いは?', '管理者モードでは、ユーザが自分のギャラリーを(管理者が許可している場合は他の人のギャラリーも)修正することができます。', 'allow_private_albums', 0),
+  array('&quot;ファイルのアップロード&quot;とは?', 'ユーザは自分または管理者が選択したギャラリーに写真をアップロードすることができます。 (サイズと種類は管理者により設定されます)', 'allow_private_albums', 0),
+  array('&quot;最新アップロード&quot;とは?', '最新アップロードでは、サイトにアップロードされた直近のファイルが表示されます。', 'offline', 0),
+  array('&quot;最新コメント&quot;とは?', '最新コメントでは、写真に投稿された直近のコメントが表示されます。', 'offline', 0),
+  array('&quot;閲覧最多&quot;とは?', '閲覧最多では、ログインの有無に係わらず全ユーザから最も閲覧された写真が表示されます。', 'offline', 0),
+  array('&quot;トップレート&quot;とは?', 'トップレートでは、ユーザによりレーティングされたトップレートの写真が、平均レーティングと共に表示されます。(例: 5名のユーザが<img src="images/rating3.gif" width="65" height="14" border="0" alt="" />のレーティングを行った場合、写真の平均レーティングは<img src="images/rating3.gif" width="65" height="14" border="0" alt="" />となります。5名のユーザが1から5のレーティングを行った場合(1,2,3,4,5)、平均レーティングは<img src="images/rating3.gif" width="65" height="14" border="0" alt="" /> になります。)<br />レーティングの範囲は、<img src="images/rating5.gif" width="65" height="14" border="0" alt="best" /> (最高) から <img src="images/rating0.gif" width="65" height="14" border="0" alt="worst" /> (最低)の間です。', 'offline', 0),
+  array('&quot;お気に入り&quot;とは?', 'お気に入りでは、お気に入りの写真情報を、あなたのコンピュータにクッキーで保存します。', 'offline', 0),
+);
+
+
+// ------------------------------------------------------------------------- //
+// File forgot_passwd.php
+// ------------------------------------------------------------------------- //
+
+if (defined('FORGOT_PASSWD_PHP')) $lang_forgot_passwd_php = array(
+  'forgot_passwd' => 'パスワードリマインダ', 
+  'err_already_logged_in' => '既にログインしています !',
+  'enter_username_email' => 'ユーザ名またはメールアドレスを入力してください',
+  'submit' => 'go',
+  'failed_sending_email' => 'パスワードリマインダによるメールは送信できません!',
+  'email_sent' => 'ユーザ名とパスワードを記載したメールが %s 宛に送信されました。',
+  'err_unk_user' => '選択したユーザは登録されていません!',
+  'passwd_reminder_subject' => '%s - パスワードリマインダー',
+  'passwd_reminder_body' => 'ログインデータが請求されました:
+ユーザ名: %s
+パスワード: %s
+ログインはこちら %s ',
+);
+
+// ------------------------------------------------------------------------- //
+// File groupmgr.php
+// ------------------------------------------------------------------------- //
+
+if (defined('GROUPMGR_PHP')) $lang_groupmgr_php = array(
+  'group_name' => 'グループ名',
+  'permissions' => 'パーミッション',
+  'public_albums' => 'パブリックアルバムアップロード',
+  'personal_gallery' => 'パーソナルギャラリー',
+  'upload_method' => 'アップロード方法',
+  'disk_quota' => 'ディスク容量',
+  'rating' => 'レーティング',
+  'ecards' => 'Eカード',
+  'comments' => 'コメント',
+  'allowed' => '許可',
+  'approval' => '承認',
+  'boxes_number' => 'ボックスNo.',
+  'variable' => '変数',
+  'fixed' => '固定',
+  'apply' => '更新の適用',
+  'create_new_group' => '新規グループの作成',
+  'del_groups' => '選択したグループの削除',
+  'confirm_del' => '警告、グループを削除した場合、グループに属していたユーザは\'Registered\'グループに移動されます !\n\n処理を続けますか ?',
+  'title' => 'ユーザグループの管理',
+  'num_file_upload'=>'ファイルアップロードボックスの最大数',
+  'num_URI_upload'=>'URLアップロードボックスの最大数',
+  'reset_to_default' => 'デフォルト名 (%s) のリセット - 推奨!',
+  'error_group_empty' => 'グループテーブルが空です!<br /><br />デフォルトグループが作成されました。このページをリロードしてください。',
+  'explain_greyed_out_title' => 'なぜこの列がグレーになっていますか?',
+  'explain_guests_greyed_out_text' => '設定ページで「未登録ユーザ ( ゲストまたは匿名 )」オプションを「No」に設定したため、あなたはグループの属性を変更することはできません。全てのゲスト ( %s のメンバー) は、ログイン以外の処理を行うことができません。従ってグループ設定は適用されません。',
+  'explain_banned_greyed_out_text' => 'メンバーに属しているため、あなたはグループ %s の属性を変更することはできません。',
+  'group_assigned_album' => '割り当てられたアルバム',
+);
+
+// ------------------------------------------------------------------------- //
+// File index.php
+// ------------------------------------------------------------------------- //
+
+if (defined('INDEX_PHP')){
+
+$lang_index_php = array(
+  'welcome' => 'ようこそ !',
+);
+
+$lang_album_admin_menu = array(
+  'confirm_delete' => '本当にこのアルバムを削除してもよろしいですか ? \\n同時に全ての写真とコメントは削除されます。',
+  'delete' => '削除',
+  'modify' => 'プロパティ',
+  'edit_pics' => 'ファイルの編集',
+);
+
+$lang_list_categories = array(
+  'home' => 'Home',
+  'stat1' => 'カテゴリ数:<b>[cat]</b>&nbsp;&nbsp;&nbsp;アルバム数:<b>[albums]</b>&nbsp;&nbsp;&nbsp;写真枚数:<b>[pictures]</b>&nbsp;&nbsp;&nbsp;コメント数:<b>[comments]</b>&nbsp;&nbsp;&nbsp;閲覧回数:<b>[views]</b>',
+  'stat2' => 'アルバム数:<b>[albums]</b>&nbsp;&nbsp;&nbsp;写真枚数:<b>[pictures]</b>&nbsp;&nbsp;&nbsp;閲覧回数:<b>[views]</b>',
+  'xx_s_gallery' => '%sのギャラリー',
+  'stat3' => 'アルバム数:<b>[albums]</b>&nbsp;&nbsp;&nbsp;写真枚数:<b>[pictures]</b>&nbsp;&nbsp;&nbsp;コメント数:<b>[comments]</b>&nbsp;&nbsp;&nbsp;閲覧回数:<b>[views]</b>'
+);
+
+$lang_list_users = array(
+  'user_list' => 'ユーザリスト',
+  'no_user_gal' => 'ユーザギャラリーはありません。',
+  'n_albums' => 'アルバム数 %s',
+  'n_pics' => 'ファイル数 %s'
+);
+
+$lang_list_albums = array(
+  'n_pictures' => 'ファイル数:%s',
+  'last_added' => '、最終追加日:%s',
+  'n_link_pictures' => 'リンクファイル数:%s',
+  'total_pictures' => '合計ファイル数:%s',
+);
+
+}
+
+// ------------------------------------------------------------------------- //
+// File keywordmgr.php
+// ------------------------------------------------------------------------- //
+
+if (defined('KEYWORDMGR_PHP')) $lang_keywordmgr_php = array(
+  'title' => 'キーワードの管理',
+  'edit' => '編集',
+  'delete' => '削除',
+  'search' => '検索',
+  'keyword_test_search' => '新しいウインドウで %s を検索',
+  'keyword_del' => 'キーワード %s の削除',
+  'confirm_delete' => '本当にキーワード %s をギャラリー全てから削除してもよろしいですか?',  // js-alert
+  'change_keyword' => 'キーワードの変更',
+);
+
+// ------------------------------------------------------------------------- //
+// File login.php
+// ------------------------------------------------------------------------- //
+
+if (defined('LOGIN_PHP')) $lang_login_php = array(
+  'login' => 'ログイン',
+  'enter_login_pswd' => 'ユーザ名とパスワードを入力してください。',
+  'username' => 'ユーザ名',
+  'password' => 'パスワード',
+  'remember_me' => '次回からユーザ名・パスワードの入力を省略',
+  'welcome' => 'ようこそ %s さん...',
+  'err_login' => '*** ログインできませんでした。再度ログインしてください ***',
+  'err_already_logged_in' => '既にログインしています !',
+  'forgot_password_link' => 'パスワードを忘れました。',
+  'cookie_warning' => '警告: あなたのブラウザはスクリプトのクッキーを許可していません。',
+);
+
+// ------------------------------------------------------------------------- //
+// File logout.php
+// ------------------------------------------------------------------------- //
+
+if (defined('LOGOUT_PHP')) $lang_logout_php = array(
+  'logout' => 'ログアウト',
+  'bye' => '%sさん、さようなら...',
+  'err_not_loged_in' => 'ログインしていません !',
+);
+
+// ------------------------------------------------------------------------- //
+// File minibrowser.php
+// ------------------------------------------------------------------------- //
+
+if (defined('MINIBROWSER_PHP')) $lang_minibrowser_php = array(
+  'close' => '閉じる',
+  'submit' => 'OK',
+  'up' => '1レベル上へ',
+  'current_path' => 'カレントパス',
+  'select_directory' => 'ディレクトリを選択してください。',
+  'click_to_close' => 'ウインドウを閉じるにはイメージをクリックしてください。',
+);
+
+// ------------------------------------------------------------------------- //
+// File modifyalb.php
+// ------------------------------------------------------------------------- //
+
+if (defined('MODIFYALB_PHP')) $lang_modifyalb_php = array(
+  'upd_alb_n' => 'アルバムの更新 %s',
+  'general_settings' => '一般設定',
+  'alb_title' => 'アルバム名',
+  'alb_cat' => 'カテゴリ',
+  'alb_desc' => '説明',
+  'alb_keyword' => 'アルバムキーワード',
+  'alb_thumb' => 'サムネイル',
+  'alb_perm' => 'このアルバムに対するパーミッション',
+  'can_view' => 'アルバム閲覧可能',
+  'can_upload' => 'ビジターは写真をアップロード出来る',
+  'can_post_comments' => 'ビジターはコメントを投稿できる',
+  'can_rate' => 'ビジターは写真を評価出来る',
+  'user_gal' => 'ユーザギャラリー',
+  'no_cat' => '* カテゴリ無し *',
+  'alb_empty' => 'アルバムには何も入っていません',
+  'last_uploaded' => '最新アップロード',
+  'public_alb' => '全員 ( パブリックアルバム )',
+  'me_only' => '私のみ',
+  'owner_only' => 'アルバムの所有者 (%s) のみ',
+  'groupp_only' => '%s グループメンバーのみ',
+  'err_no_alb_to_modify' => '修正できるアルバムがデータベースにありません。',
+  'update' => 'アルバムの更新',
+  'reset_album' => 'アルバムのリセット',
+  'reset_views' => '%s の閲覧カウンタをゼロにリセットする。',
+  'reset_rating' => '%s の全てのファイルのレーティングをリセットする',
+  'delete_comments' => '%s の全てのコメントを削除する',
+  'delete_files' => '%s完全%s %s 内の全てのファイルを削除する',
+  'views' => '閲覧',
+  'votes' => '投票',
+  'comments' => 'コメント',
+  'files' => 'ファイル',
+  'submit_reset' => '変更を送信',
+  'reset_views_confirm' => '実行します',
+  'notice1' => '(*) %sグループ%s 設定による',
+  'alb_password' => 'アルバムパスワード',
+  'alb_password_hint' => 'アルバムパスワードヒント',
+  'edit_files' =>'ファイルの編集',
+  'parent_category' =>'親カテゴリ',
+  'thumbnail_view' =>'サムネイルビュー',
+);
+
+// ------------------------------------------------------------------------- //
+// File phpinfo.php
+// ------------------------------------------------------------------------- //
+
+if (defined('PHPINFO_PHP')) $lang_phpinfo_php = array(
+  'php_info' => 'PHP情報',
+  'explanation' => 'この内容はPHP関数<a href="http://www.php.net/phpinfo">phpinfo()</a>によって生成され、Coppermine内に表示されているものです。 ( 右側の余白をトリミングしています。)',
+  'no_link' => '他の人にphpinfoを見られることでセキュリティ上のリスクが生じます。このページは管理者としてログインした時のみ閲覧することができます。このページへのリンクを他のページに張っても、管理者としてログインしない限りアクセスは拒否されます。',
+);
+
+// ------------------------------------------------------------------------- //
+// File picmgr.php
+// ------------------------------------------------------------------------- //
+if (defined('PICMGR_PHP')) $lang_picmgr_php = array(
+  'pic_mgr' => 'ピクチャーマネージャー',
+  'select_album' => 'アルバムの選択',
+  'delete' => '削除',
+  'confirm_delete1' => '本当のこの写真を削除してもよろしいですか?',
+  'confirm_delete2' => '\n写真が完全に削除されました。',
+  'apply_modifs' => '修正の適用',
+  'confirm_modifs' => '修正の確認',
+  'pic_need_name' => '写真名をつける必要があります!',
+  'no_change' => 'あなたは変更を行っていません!',
+  'no_album' => '* アルバム無し *',
+  'explanation_header' => '特別ソート順では、管理者が「ファイルのデフォルトのソート順」設定を「ポジションの昇順で並び替え」または',
+  'explanation1' => '「ポジションの降順で並び替え」( 他のソートオプションを選択していないユーザの全体的な設定 ) に',
+  'explanation2' => '設定した場合のみ、ユーザが「ポジションの昇順で並び替え」または「ポジションの降順で並び替え」選択したものがアカウントに取り込まれます。',
+);
+
+
+// ------------------------------------------------------------------------- //
+// File pluginmgr.php
+// ------------------------------------------------------------------------- //
+
+if (defined('PLUGINMGR_PHP')){
+
+$lang_pluginmgr_php = array(
+  'confirm_uninstall' => '本当にこのプラグインをアンインストールしてもよろしいですか',
+  'confirm_delete' => '本当にこのプラグインを削除してもよろしいですか',
+  'pmgr' => 'プラグインマネージャー',
+  'name' => '名称',
+  'author' => '作者',
+  'desc' => '説明',
+  'vers' => 'v',
+  'i_plugins' => 'インストール済みプラグイン',
+  'n_plugins' => 'プラグインがインストールされていません。',
+  'none_installed' => '未インストール',
+  'operation' => '操作',
+  'not_plugin_package' => 'アップロードされたファイルはプラグインパッケージではありません。',
+  'copy_error' => 'プラグインフォルダへのパッケージのコピーにエラーが発生しました。',
+  'upload' => 'アップロード',
+  'configure_plugin' => 'プラグインの設定',
+  'cleanup_plugin' => 'プラグインのクリーンアップ',
+);
+}
+
+// ------------------------------------------------------------------------- //
+// File ratepic.php
+// ------------------------------------------------------------------------- //
+
+if (defined('RATEPIC_PHP')) $lang_rate_pic_php = array(
+  'already_rated' => '申し訳ございません、あなたは既にこのファイルを評価しています。',
+  'rate_ok' => 'あなたの投票は受理されました。',
+  'forbidden' => '自分の写真を評価することはできません。',
+);
+
+// ------------------------------------------------------------------------- //
+// File register.php & profile.php
+// ------------------------------------------------------------------------- //
+
+if (defined('REGISTER_PHP') || defined('PROFILE_PHP')) {
+
+$lang_register_disclamer = <<<EOT
+{SITE_NAME}の管理者は、一般的に好ましくない投稿を出来るだけ速やかに削除するよう試みますが、全ての投稿を閲覧することは不可能です。従って、このサイトに対する全投稿の見解が投稿者によるものであり、管理者やウェブマスターのもので無く ( これらの人々の投稿は除く )、管理者やウェブマスターに投稿の責任が無いことをあなたは認めます。
+<br />
+<br />
+あなたは、公序良俗に反する投稿や、個人への誹謗中傷の投稿、性的な投稿、その他法に反する投稿をしない事に同意します。
+あなたは、{SITE_NAME}の管理者、ウェブマスター、モデレーターがいかなる時も投稿内容を編集・削除する権利を有することに同意します。あなたは、ユーザとしてあなたが投稿した情報がデータベースに保存されることに同意します。この情報は、あなたの同意無しに管理者、ウェブマスターより第三者に開示されることはありませんが、データが流出する恐れのあるハッキング等の行為に対して管理者、ウェブマスターは責任を負うことはありません。
+<br />
+<br />
+このサイトでは、あなたのコンピュータに情報を保存するためにクッキーを使用します。クッキーはあなたの閲覧を快適にするためだけに使用されます。メールアドレスは、あなたの登録に関する詳細およびパスワードの認証のためだけに使用されます。 
+<br />
+<br />
+「同意します」をクリックすることで、あなたは上記の利用規約に同意します。
+EOT;
+
+$lang_register_php = array(
+  'page_title' => 'ユーザ登録',
+  'term_cond' => '利用規約',
+  'i_agree' => '同意します',
+  'submit' => '登録実行',
+  'err_user_exists' => '入力されたユーザ名は既に登録されています、別のユーザ名を入力してください。',
+  'err_password_mismatch' => 'パスワードが一致しません、再度入力してください。',
+  'err_uname_short' => 'ユーザ名は2文字以上にしてください。',
+  'err_password_short' => 'パスワードは2文字以上にしてください。',
+  'err_uname_pass_diff' => 'ユーザ名とパスワードは異なる必要があります。',
+  'err_invalid_email' => 'メールアドレスが正しくありません。',
+  'err_duplicate_email' => '他のユーザが既に同じメールアドレスを登録しています。',
+  'enter_info' => '登録情報を入力してください。',
+  'required_info' => '必須項目',
+  'optional_info' => '任意項目',
+  'username' => 'ユーザ名',
+  'password' => 'パスワード',
+  'password_again' => 'パスワードをもう一度',
+  'email' => 'メールアドレス',
+  'location' => '居住地',
+  'interests' => '興味のあること',
+  'website' => 'ホームページ',
+  'occupation' => '職業',
+  'error' => 'エラー',
+  'confirm_email_subject' => '%s - 登録確認',
+  'information' => '情報',
+  'failed_sending_email' => '登録確認メールが送信できません !',
+  'thank_you' => 'ご登録ありがとうございます。<br /><br />アカウントのアクティベートに関する情報が登録されたメールアドレス宛に送信されました。',
+  'acct_created' => 'あなたのアカウントが作成されました。ユーザ名とパスワードでログインできます。',
+  'acct_active' => 'あなたのアカウントがアクティベートされました。ユーザ名とパスワードでログインできます。',
+  'acct_already_act' => 'あなたのアカウントは既にアクティベートされています !',
+  'acct_act_failed' => 'このアカウントはアクティベートできません !',
+  'err_unk_user' => '選択したユーザは存在しません !',
+  'x_s_profile' => '%s のプロフィール',
+  'group' => 'グループ',
+  'reg_date' => '登録年月日',
+  'disk_usage' => 'ディスク使用量',
+  'change_pass' => 'パスワードの変更',
+  'current_pass' => '現在のパスワード',
+  'new_pass' => '新しいパスワード',
+  'new_pass_again' => '新しいパスワードをもう一度',
+  'err_curr_pass' => '現在のパスワードが正しくありません。',
+  'apply_modif' => '更新の適用',
+  'change_pass' => 'パスワードの変更',
+  'update_success' => 'プロフィールが更新されました。',
+  'pass_chg_success' => 'パスワードが変更されました。',
+  'pass_chg_error' => 'パスワードが変更されませんでした。',
+  'notify_admin_email_subject' => '%s - 登録通知',
+  'last_uploads' => '最新アップロードファイル<br />全てのアップロードファイルを見るにはクリックしてください。',
+  'last_comments' => '最新コメント<br />全てのコメントを見るにはクリックしてください。',
+  'notify_admin_email_body' => 'ギャラリーにユーザ名 "%s" の新しいユーザが登録されました',
+  'pic_count' => 'アップロードファイル',
+  'notify_admin_request_email_subject' => '%s - 登録リクエスト',
+  'thank_you_admin_activation' => 'ありがとうございます。<br /><br />あなたのアカウントアクティベートに関するリクエストが管理者に送信されました。認証された場合、あなたのメールアドレス宛にメールが送信されます。',
+  'acct_active_admin_activation' => 'アカウントがアクティベートされ、ユーザにメールが送信されました。',
+  'notify_user_email_subject' => '%s - アクティベート通知',
+);
+
+$lang_register_confirm_email = <<<EOT
+{SITE_NAME} へのご登録ありがとうございます。
+
+あなたのユーザ名は "{USER_NAME}" です。
+あなたのパスワードは "{PASSWORD}" です。
+
+アカウントのアクティベートをするには下記のリンクをクリックまたは
+ブラウザのアドレス欄にコピーしてください。
+
+{ACT_LINK}管理者
+
+{SITE_NAME}
+
+EOT;
+
+$lang_register_approve_email = <<<EOT
+新しいユーザ「 {USER_NAME} 」がギャラリーに登録されました。
+
+アカウントをアクティベートするには、下記のリンクをクリックするか、ブラウザにコピー＆ペーストしてください。
+
+<a href="{ACT_LINK}">{ACT_LINK}</a>
+
+EOT;
+
+$lang_register_activated_email = <<<EOT
+あなたのアカウントがアクティベートされました。
+
+ユーザ名「 {USER_NAME} 」を使用して <a href="{SITE_LINK}">{SITE_LINK}</a> にログインすることができます。
+
+
+{SITE_NAME} 管理者
+
+EOT;
+}
+
+// ------------------------------------------------------------------------- //
+// File reviewcom.php
+// ------------------------------------------------------------------------- //
+
+if (defined('REVIEWCOM_PHP')) $lang_reviewcom_php = array(
+  'title' => 'コメントのレビュー',
+  'no_comment' => 'レビューするコメントはありません。',
+  'n_comm_del' => '%s件のコメントが削除されました。',
+  'n_comm_disp' => '表示するコメント数',
+  'see_prev' => '前へ',
+  'see_next' => '次へ',
+  'del_comm' => '選択したコメントを削除',
+  'user_name' => '名前',
+  'date' => '登録日時',
+  'comment' => 'コメント',
+  'file' => 'ファイル',
+  'name_a' => 'ユーザ名昇順',
+  'name_d' => 'ユーザ名降順',
+  'date_a' => '日付昇順',
+  'date_d' => '日付降順',
+  'comment_a' => 'コメントメッセージ昇順',
+  'comment_d' => 'コメントメッセージ降順',
+  'file_a' => 'ファイル昇順',
+  'file_d' => 'ファイル降順',
+);
+
+
+// ------------------------------------------------------------------------- //
+// File search.php                                                           //
+// ------------------------------------------------------------------------- //
+
+
+if (defined('SEARCH_PHP')){
+
+$lang_search_php = array(
+  'title' => 'ファイルコレクションの検索',
+  'submit_search' => '検索',
+  'keyword_list_title' => 'キーワードリスト',
+  'keyword_msg' => '上記のリストは全てを含んでいません。写真のタイトルまたは説明を含んでいません。フルテキスト検索をお試しください。', 
+  'edit_keywords' => 'キーワードの編集',
+  'search in' => '検索対象:',
+  'ip_address' => 'IPアドレス',
+  'fields' => '検索対象',
+  'age' => 'エイジ',
+  'newer_than' => '新しい',
+  'older_than' => '古い',
+  'days' => '日',
+  'all_words' => 'すべて含む (AND)',
+  'any_words' => '少なくとも一つを含む (OR)',
+);
+
+$lang_adv_opts = array(
+  'title' => 'タイトル',
+  'caption' => 'キャプション',
+  'keywords' => 'キーワード',
+  'owner_name' => '所有者名',
+  'filename' => 'ファイル名',
+);
+
+}
+
+// ------------------------------------------------------------------------- //
+// File searchnew.php
+// ------------------------------------------------------------------------- //
+
+if (defined('SEARCHNEW_PHP')) $lang_search_new_php = array(
+  'page_title' => '新しいファイルの検索',
+  'select_dir' => 'ディレクトリ選択',
+  'select_dir_msg' => 'ここではFTPによりサーバにアップロードしたファイルをアルバムに一括登録します。<br /><br />ファイルをアップロードしたディレクトリを選択してください。',
+  'no_pic_to_add' => '追加するファイルはありません。',
+  'need_one_album' => 'この機能を使うためには1つ以上のアルバムが必要です。',
+  'warning' => '警告',
+  'change_perm' => 'スクリプトがこのディレクトリに書込めませんでした。ファイルを追加する前にディレクトリのパーミッションモードを755または777に変更する必要があります !',
+  'target_album' => '<b>「</b>%s<b>」内のファイルを</b>%s<b>に追加する</b>',
+  'folder' => 'フォルダ',
+  'image' => 'イメージ',
+  'album' => 'アルバム',
+  'result' => '結果',
+  'dir_ro' => '書込み権がありません。',
+  'dir_cant_read' => '読取り権がありません。',
+  'insert' => '新規ファイルのギャラリーへの追加',
+  'list_new_pic' => '新規ファイル一覧',
+  'insert_selected' => '選択したファイルの追加',
+  'no_pic_found' => '新しいファイルは見つかりませんでした。',
+  'be_patient' => '暫くお待ちください。',
+  'no_album' => 'アルバムが選択されていません',
+  'result_icon' => '詳細表示またはリロードをするには、ここをクリック', 
+  'notes' =>  '<ul>'.
+                         '<li><b>OK</b> : 正常にファイルが追加されました。'.
+                         '<li><b>DP</b> : ファイルが重複して既にデータベースに登録されています。'.
+                         '<li><b>PB</b> : ファイルを追加できませんでした、設定およびファイルが登録されるディレクトリのパーミッションを確認してください。'.
+                         '<li><b>NA</b> : ファイルを追加するアルバムが選択されていません。\'<a href="javascript:history.back(1)">戻る</a>\'をクリックしてアルバムを選択してください。アルバムを作成していない場合は、<a href="albmgr.php">最初に作成してください。</a></li>'.
+                          '<li>OK、DP、PBサインのいずれも表示されなかった場合は、PHPエラーを表示するために破損した写真をクリックしてください。'.
+                         '<li>タイムアウトが発生した場合、ブラウザの更新ボタンをクリックしてください。'.
+                         '</ul>',
+  'select_album' => 'アルバムを選択してください',
+  'check_all' => '全てを選択',
+  'uncheck_all' => '全てを選択解除',
+  'no_folders' => 'まだ「アルバム」フォルダ内にフォルダがありません。少なくとも1つのカスタムフォルダを「アルバム」フォルダに作成して、そのフォルダにファイルをアップロードしてください。httpアップロードおよび内部的な目的に使用されますので「userpics」フォルダおよび「edit」フォルダにアップロードしないでください。',
+   'albums_no_category' => 'カテゴリ無しのアルバム', // album pulldown mod, added by frogfoot
+  'personal_albums' => '* パーソナルアルバム', // album pulldown mod, added by frogfoot
+  'browse_batch_add' => '閲覧可能インターフェース ( 推奨 )',
+  'edit_pics' => 'ファイルの編集',
+  'edit_properties' => 'アルバム属性',
+  'view_thumbs' => 'サムネイルビュー',
+);
+
+// ------------------------------------------------------------------------- //
+// File stat_details.php
+// ------------------------------------------------------------------------- //
+
+if (defined('STAT_DETAILS_PHP')) $lang_stat_details_php = array(
+  'show_hide' => 'このカラムを表示/非表示',
+  'vote' => '投票詳細',
+  'hits' => 'ヒット詳細',
+  'stats' => '投票統計',
+  'sdate' => '日付',
+  'rating' => 'レーティング',
+  'search_phrase' => '検索キーワード',
+  'referer' => 'リファラ',
+  'browser' => 'ブラウザ',
+  'os' => 'オペレーティングシステム',
+  'ip' => 'IP',
+  'sort_by_xxx' => '%s による並び替え',
+  'ascending' => '昇順',
+  'descending' => '降順',
+  'internal' => 'インターナショナル',
+  'close' => '閉じる',
+  'hide_internal_referers' => 'インターナショナルリファラを隠す',
+  'date_display' => '日付表示',
+  'submit' => '送信 / リフレッシュ',
+);
+
+// ------------------------------------------------------------------------- //
+// File thumbnails.php
+// ------------------------------------------------------------------------- //
+
+// Void
+
+// ------------------------------------------------------------------------- //
+// File upload.php
+// ------------------------------------------------------------------------- //
+
+if (defined('UPLOAD_PHP')) $lang_upload_php = array(
+  'title' => 'ファイルのアップロード',
+  'custom_title' => 'カスタマイズ・リクエストフォーム',
+  'cust_instr_1' => 'アップロードボックス数を選択することができます。下記の制限値以上に選択することはできません。',
+  'cust_instr_2' => 'ボックス数リクエスト',
+  'cust_instr_3' => 'ファイルアップロードボックス: %s',
+  'cust_instr_4' => 'URI/URL アップロードボックス: %s',
+  'cust_instr_5' => 'URI/URL アップロードボックス:',
+  'cust_instr_6' => 'ファイルアップロードボックス:',
+  'cust_instr_7' => '作成したいそれぞれの種類のアップロードボックス数を入力してください。その後「続ける」をクリックしてください。 ',
+  'reg_instr_1' => 'フォームの作成に間違いがあります。',
+  'reg_instr_2' => '下記のアップロードボックスを使用してファイルをアップロードすることができます。サーバにアップロードするファイルのサイズは、%s KBを超えないようにしてください。ZIPファイルは「ファイルのアップロード」および「URI/URLのアップロード」セクションより圧縮されたままアップロードされます。',
+  'reg_instr_3' => 'ZIP圧縮されたファイルまたは圧縮されたアーカイブを展開したい場合は、ZIPファイルの展開アップロード」を使用してください。',
+  'reg_instr_4' => 'URI/URLアップロードセクションを使用するときは、http://www.mysite.com/images/example.jpg のようにファイルのパスを入力してください。',
+  'reg_instr_5' => 'フォームの入力完了後、「続ける」をクリックしてください。',
+  'reg_instr_6' => 'ZIPファイルの展開アップロード:',
+  'reg_instr_7' => 'ファイルのアップロード:',
+  'reg_instr_8' => 'URI/URLアップロード:',
+  'error_report' => 'エラーレポート',
+  'error_instr' => '次のアップロードファイルにエラーが発生しました:',
+  'file_name_url' => 'ファイル名/URL',
+  'error_message' => 'エラーメッセージ',
+  'no_post' => 'ファイルの投稿はありません。',
+  'forb_ext' => '許可されていないファイル拡張子です。',
+  'exc_php_ini' => 'php.iniで許可されているファイルサイズを超えました。',
+  'exc_file_size' => 'CPGで許可されたファイルサイズを超えました。', 
+  'partial_upload' => '一部のみアップロードされました。',
+  'no_upload' => 'アップロードされませんでした。',
+  'unknown_code' => '不明なPHPアップロードエラーコードです。',
+  'no_temp_name' => 'アップロードされませんでした - テンポラリ名称がありません。',
+  'no_file_size' => 'データがありません。',
+  'impossible' => '移動できません。',
+  'not_image' => 'イメージがありません。',
+  'not_GD' => 'GD extensionではありません。',
+  'pixel_allowance' => '許可されたピクセルの範囲を超えました。',
+  'incorrect_prefix' => '間違ったURI/URL接頭辞です。',
+  'could_not_open_URI' => 'URIをオープンできません。',
+  'unsafe_URI' => '安全性が検証できません。',
+  'meta_data_failure' => 'メタデータエラー',
+  'http_401' => '401 Unauthorized',
+  'http_402' => '402 Payment Required',
+  'http_403' => '403 Forbidden',
+  'http_404' => '404 Not Found',
+  'http_500' => '500 Internal Server Error',
+  'http_503' => '503 Service Unavailable',
+  'MIME_extraction_failure' => 'MIMEタイプを決定できません。',
+  'MIME_type_unknown' => '不明なMIMEタイプです。',
+  'cant_create_write' => '書込みファイルを作成できません。',
+  'not_writable' => '書込みファイルに書き込めません。',
+  'cant_read_URI' => 'URI/URLを読み込めません。',
+  'cant_open_write_file' => 'URI書込みファイルをオープンできません。',
+  'cant_write_write_file' => 'URI書込みファイルに書き込めません。',
+  'cant_unzip' => 'ZIPファイルの展開ができません。',
+  'unknown' => '不明なエラー',
+  'succ' => 'アップロード完了',
+  'success' => '%s のファイルアップロードが正常に完了しました。',
+  'add' => 'アルバムにファイルを追加する場合は「続ける」をクリックしてください。',
+  'failure' => 'アップロードエラー',
+  'f_info' => 'ファイル情報',
+  'no_place' => 'ファイルはアップロードされませんでした。',
+  'yes_place' => 'ファイルが正常にアップロードされました。',
+  'max_fsize' => 'アップロード可能な最大ファイルサイズは %sKB です。',
+  'album' => 'アルバム',
+  'picture' => 'ファイル',
+  'pic_title' => 'ファイル名',
+  'description' => 'ファイルの説明',
+  'keywords' => 'キーワード (半角スペースで区切る)',
+  'keywords_sel' =>'キーワードの選択',
+  'err_no_alb_uploadables' => '申し訳ございません。あなたがファイルをアップロード許可されているアルバムはありません。',
+  'place_instr_1' => 'アルバムにファイルをアップロードしてください。各ファイルに関連情報を入力することもできます。',
+  'place_instr_2' => '更にファイルをアップロードする必要があります。「続ける」をクリックしてください。',
+  'process_complete' => '全てのファイルが正常にアップロードされました。',
+   'albums_no_category' => 'カテゴリ無しのアルバム',
+  'personal_albums' => '* パーソナルアルバム',
+  'select_album' => 'アルバムの選択',
+  'close' => '閉じる',
+  'no_keywords' => '申し訳ございません。利用可能なキーワードはありません!',
+  'regenerate_dictionary' => 'ディレクトリの再作成',
+);
+
+// ------------------------------------------------------------------------- //
+// File usermgr.php
+// ------------------------------------------------------------------------- //
+
+if (defined('USERMGR_PHP')) $lang_usermgr_php = array(
+  'memberlist' => 'メンバリスト',
+  'user_manager' => 'ユーザマネージャ',
+  'title' => 'ユーザの管理',
+  'name_a' => 'ユーザ名の昇順',
+  'name_d' => 'ユーザ名の降順',
+  'group_a' => 'グループ名の昇順',
+  'group_d' => 'グループ名の降順',
+  'reg_a' => '登録日の昇順',
+  'reg_d' => '登録日の降順',
+  'pic_a' => '写真枚数の昇順',
+  'pic_d' => '写真枚数の降順',
+  'disku_a' => 'ディスク使用量の昇順',
+  'disku_d' => 'ディスク使用量の降順',
+  'lv_a' => '最終アクセスの昇順',
+  'lv_d' => '最終アクセスの降順',
+  'sort_by' => 'ユーザの並び替え',
+  'err_no_users' => 'ユーザテーブルが空です !',
+  'err_edit_self' => '自分自身のプロフィールは編集できません。「マイプロフィール」を使用してください。',
+  'edit' => '編集',
+  'with_selected' => '選択したファイル:',
+  'delete' => '削除',
+  'delete_files_no' => 'パブリックファイルを保持する ( しかし匿名にする )',
+  'delete_files_yes' => 'パブリックファイルを同様に削除する',
+  'delete_comments_no' => 'コメントを保持する ( しかし匿名にする )',
+  'delete_comments_yes' => '同様にコメントも削除する',
+  'activate' => 'アクティベート',
+  'deactivate' => 'ディアクティベート',
+  'reset_password' => 'パスワードのリセット',
+  'change_primary_membergroup' => '第1メンバーグループの変更',
+  'add_secondary_membergroup' => '第2メンバーグループの追加',
+  'name' => 'ユーザ名',
+  'group' => 'グループ',
+  'inactive' => '非活性',
+  'operations' => '操作',
+  'pictures' => 'ファイル',
+  'disk_space_used' => '使用済み容量',
+  'disk_space_quota' => 'ディスク容量',
+  'registered_on' => '登録年月日',
+  'last_visit' => '最終訪問日',
+  'u_user_on_p_pages' => '%d ユーザ/ %d ページ中',
+  'confirm_del' => '本当にこのユーザを削除してもよろしいですか ? \\ユーザに属する全てのファイルとアルバムは削除されます。',
+  'mail' => 'メール',
+  'err_unknown_user' => '選択したユーザは登録されていません!',
+  'modify_user' => 'ユーザの変更',
+  'notes' => '注意',
+  'note_list' => '<li>現在のパスワードを変更したくない場合は、「パスワード」フィールドを空白にしてください。',
+  'password' => 'パスワード',
+  'user_active' => 'ユーザをアクティベートする',
+  'user_group' => 'グループ',
+  'user_email' => 'メールアドレス',
+  'user_web_site' => 'ホームページ',
+  'create_new_user' => '新規ユーザの作成',
+  'user_location' => '居住地',
+  'user_interests' => '興味のあること',
+  'user_occupation' => '職業',
+  'user_profile1' => '$user_profile1',
+  'user_profile2' => '$user_profile2',
+  'user_profile3' => '$user_profile3',
+  'user_profile4' => '$user_profile4',
+  'user_profile5' => '$user_profile5',
+  'user_profile6' => '$user_profile6',
+  'latest_upload' => '最新アップロード',
+  'never' => '無し',
+  'search' => 'ユーザ検索',
+  'submit' => '送信',
+  'search_submit' => 'Go!',
+  'search_result' => '検索結果: ',
+  'alert_no_selection' => '最初に少なくとも1ユーザを選択してください!', //js-alert
+  'password' => 'パスワード',
+  'select_group' => 'グループの選択',
+  'groups_alb_access' => 'グループのアルバムアクセス権',
+  'album' => 'アルバム',
+  'category' => 'カテゴリ',
+  'modify' => '修正?',
+  'group_no_access' => 'このグループには特別アクセス権がありません。',
+  'notice' => 'Notice',
+  'group_can_access' => '「 %s 」のみがアクセス可能なアルバム',
+);
+
+// ------------------------------------------------------------------------- //
+// File util.php
+// ------------------------------------------------------------------------- //
+
+if (defined('UTIL_PHP')) {
+$lang_util_desc_php = array(
+'ファイル名からタイトルを更新',
+'タイトルの削除',
+'サムネイルの再構築および写真のリサイズ',
+'オリジナルサイズの写真を削除してリサイズしたバージョンと入れ替える',
+'ウェブスペースを解放するため、オリジナルまたは中間サイズの写真を削除する',
+'迷子コメントの削除',
+'ファイルサイズおよび画面サイズを再読み込みする ( 写真を手動で編集した場合 )',
+'表示カウンタをリセット',
+'phpinfoの表示',
+'データベースの更新',
+'ログファイルの表示する',
+);
+$lang_util_php = array(
+  'title' => '管理ツール ( 写真のリサイズ )',
+  'what_it_does' => '処理内容',
+  'file' => 'ファイル',
+  'problem' => '問題',
+  'status' => 'ステータス',
+  'title_set_to' => 'タイトル設定',
+  'submit_form' => '送信',
+  'updated_succesfully' => '更新完了',
+  'error_create' => '作成中にエラーが発生しました',
+  'continue' => 'さらにイメージを処理する',
+  'main_success' => 'ファイル %s がメインファイルに設定されました',
+  'error_rename' => '%s を %s にリネーム中にエラーが発生しました',
+  'error_not_found' => 'ファイル %s が見つかりませんでした',
+  'back' => 'メインに戻る',
+  'thumbs_wait' => 'サムネイルの更新 および/または 写真のリサイズを行っています、お待ちください...',
+  'thumbs_continue_wait' => 'サムネイルの更新 および/または 写真のリサイズを行っています...',
+  'titles_wait' => 'タイトルの更新を行っています、お待ちください...',
+  'delete_wait' => 'タイトルを削除しています、お待ちください...',
+  'replace_wait' => 'オリジナルサイズのイメージを削除して変更後のイメージと入れ替えを行っています、お待ちください...',
+  'instruction' => 'クイックインストラクション',
+  'instruction_action' => 'アクションの選択',
+  'instruction_parameter' => 'パラメータの設定',
+  'instruction_album' => 'アルバムの選択',
+  'instruction_press' => '%s を押す',
+  'update' => 'サムネイルの更新 および/または 写真のリサイズ',
+  'update_what' => '更新対象',
+  'update_thumb' => 'サムネイルの作成のみ',
+  'update_pic' => '写真のリサイズのみ',
+  'update_both' => 'サムネイルの作成および写真のリサイズ',
+  'update_number' => 'クリックあたりのイメージ処理数',
+  'update_option' => '( タイムアウトする場合は、この数値を低めに設定してください。 )',
+  'filename_title' => 'ファイル名 &rArr; ファイルタイトル',
+  'filename_how' => 'ファイル名の変更方法',
+  'filename_remove' => '.jpgを空白付きの _ ( アンダースコア ) に変更する。',
+  'filename_euro' => '2003_11_23_13_20_20.jpg を 23/11/2003 13:20 に変更する。',
+  'filename_us' => '2003_11_23_13_20_20.jpg を 11/23/2003 13:20 に変更する。',
+  'filename_time' => '2003_11_23_13_20_20.jpg を 13:20 に変更する。',
+  'delete' => 'ファイルタイトルまたはオリジナルサイズの写真を削除する',
+  'delete_title' => 'ファイルタイトルを削除する',
+  'delete_title_explanation' => 'あなたが指定したアルバム内にあるファイルの全てのタイトルを削除します。',
+  'delete_original' => 'オリジナルサイズの写真を削除する',
+  'delete_original_explanation' => 'フルサイズの写真を削除します。',
+  'delete_intermediate' => '中間写真を削除する',
+  'delete_intermediate_explanation' => '中間 ( ノーマル ) 写真を削除します。<br />写真を追加した後に「中間写真を作成する」設定を無効にした場合、ディスクスペースを空けるために使用してください。',
+  'delete_replace' => 'オリジナルのイメージを削除して、サイズを変更したバージョンと入れ替えます。',
+  'titles_deleted' => '指定されたアルバムの全てのタイトルが削除されました。',
+  'deleting_intermediates' => '中間ファイルを削除しています。お待ちください...',
+  'searching_orphans' => '迷子を捜しています、お待ちください ...',
+  'select_album' => 'アルバムの選択',
+  'delete_orphans' => '不明ファイルのコメントを削除する',
+  'delete_orphans_explanation' => 'もはやギャラリーに存在していないファイルを確認して関連するコメントを削除することができます。<br />全てのアルバムを確認します。',
+  'refresh_db' => 'ファイルのディメンションとサイズ情報をリロードする。',
+  'refresh_db_explanation' => 'ファイルのサイズとディメンションを再読み込みします。容量が間違っていたり、ファイルを手動で変更した場合に使用してください。',
+  'reset_views' => '表示カウンタをリセットする',
+  'reset_views_explanation' => '指定したアルバムにあるファイル全ての閲覧カウンタをゼロにします。',
+  'orphan_comment' => '不明ファイルのコメントが見つかりました。',
+  'delete' => '削除',
+  'delete_all' => '全てを削除する',
+  'delete_all_orphans' => '全ての不明ファイルのコメントを削除しますか?',
+  'comment' => 'コメント: ',
+  'nonexist' => '存在しないファイル # に割り当てられています。',
+  'phpinfo' => 'phpinfoの表示',
+  'phpinfo_explanation' => 'あなたのサーバに関するテクニカル情報を含んでいます。<br /> - サポートを必要とする場合、この情報を尋ねられる場合があります。',
+  'update_db' => 'データベースの更新',
+  'update_db_explanation' => 'coppermineの入れ替え、修正の追加、以前のバージョンよりアップグレードを行った場合は、データベースの更新を必ず1度実行してください。データベースの更新では必要なテーブルの追加およびcoppermineデータベースの設定を行います。',
+  'view_log' => 'ログファイルの表示',
+  'view_log_explanation' => 'Coppermineはユーザが行う様々な行動を記録することができます。<a href="admin.php">coppermine設定</a>でロギングを有効にしている場合、それらのログを閲覧することができます。',
+  'versioncheck' => 'バージョンのチェック',
+  'versioncheck_explanation' => 'アップグレード後に全てのファイルを入れ替えたか、パッケージのリリース後にcoppermineソースファイルが更新されたか、ファイルバージョンをチェックします。',
+  'bridgemanager' => 'ブリッジマネージャー',
+  'bridgemanager_explanation' => '別のアプリケーションとCoppermineのインテグレーション ( ブリッジング ) を有効化/無効化します ( 例 BBS )。',
+);
+}
+
+// ------------------------------------------------------------------------- //
+// File versioncheck.php
+// ------------------------------------------------------------------------- //
+
+if (defined('VERSIONCHECK_PHP')) $lang_versioncheck_php = array(
+  'title' => 'バージョンチェック',
+  'what_it_does' => 'このページは、coppermineをアップデートしたユーザのためにあります。このスクリプトは、ウェブサーバ内のファイルのバージョンがリポジトリ http://coppermine.sourceforge.net と同一であるか確認します。同様にアップデートするファイルを表示します。<br />修正が必要な部分は全て赤色で表示されます。黄色で表示されるものは調査が必要です。緑色で表示されるもの ( またはデフォルトフォント色 ) はOKです。<br />詳細はヘルプアイコンをクリックしてください。',
+  'online_repository_unable' => 'オンラインレポジトリに接続できません。',
+  'online_repository_noconnect' => 'Coppermineが、オンラインレポジトリに接続できませんでした。2つの理由が考えられます:',
+  'online_repository_reason1' => 'coppermineオンラインレポジトリは現在停止しています - このページを閲覧できるか確認してください: %s - このページにアクセス可能な場合、後程お試しください。',
+  'online_repository_reason2' => 'あなたのウェブサーバのPHPの設定は、 %s turned off ( デフォルトでは turned on ) とされています。あなたがサーバの管理者の場合、<i>php.ini</i> にあるオプションを有効にしてください ( 少なくとも %s でオーバライドできるようにしてください。)。ウェブホストを利用している場合、あなたのファイルとオンラインリポジトリを恐らく比較できないことを理解してください。この場合、このページは、あなたのディストリビューションのバージョンのみを表示することになります - アップデートは表示されません。',
+  'online_repository_skipped' => 'オンラインリポジトリへの接続をスキップしました。',
+  'online_repository_to_local' => 'スクリプトは、現在のローカルコピーのバージョンファイルに違反しています。あなたがCoppermineをアップグレードして全てのファイルをアップロードしていない場合、データは不正確な可能性があります。同様にファイルの変更は、アカウントの中に取り込まれません。',
+  'local_repository_unable' => 'あなたのサーバのリポジトリに接続できません。',
+  'local_repository_explanation' => 'Coppermineは、あなたのウェブサーバのリポジトリファイル %s に接続できませんでした。これは、恐らくウェブサーバにリポジトリファイルがアップロードされていないことを意味します。リポジトリファイルをアップロードして、このページをもう一度実行してください ( 更新ボタンをクリック )。<br />スクリプトを実行できない場合、あなたのウェブホストが <a href="http://www.php.net/manual/en/ref.filesystem.php">PHPファイルシステム関数</a> を完全に無効にしている可能性があります。この場合、このツールを使用することはできません。申し訳ございません。',
+  'coppermine_version_header' => 'インストール済みCoppermineバージョン',
+  'coppermine_version_info' => 'インストールしたバージョン: %s',
+  'coppermine_version_explanation' => 'これが完全に間違っていて、あなたが新しいバージョンのCoppermineを動作させていると考える場合、あなたは恐らく最新バージョンの <i>include/init.inc.php</i> ファイルをアップロードしていません。',
+  'version_comparison' => 'バージョン比較',
+  'folder_file' => 'フォルダ/ファイル',
+  'coppermine_version' => 'cpgバージョン',
+  'file_version' => 'ファイルバージョン',
+  'webcvs' => 'ウェブcvs',
+  'writable' => '書き込み可',
+  'not_writable' => '書き込み不可',
+  'help' => 'ヘルプ',
+  'help_file_not_exist_optional1' => 'ファイル/フォルダが存在していません。',
+  'help_file_not_exist_optional2' => 'あなたのサーバにファイル/フォルダ %s が見つかりました。問題がある場合は、任意でファイルをウェブサーバに ( FTPクライアントを使用して ) アップロードしてください。',
+  'help_file_not_exist_mandatory1' => 'ファイル/フォルダが存在していません。',
+  'help_file_not_exist_mandatory2' => 'あなたのサーバに必須のファイル/フォルダ %s が見つかりませんでした。( FTPクライアントを使用して ) ウェブサーバにファイルをアップロードしてください。',
+  'help_no_local_version1' => 'ローカルファイルバージョン無し',
+  'help_no_local_version2' => 'スクリプトはローカルファイルバージョンを展開できませんでした - あなたのファイルが古い、または途中でヘッダ情報を取り除いて修正されています。ファイルの更新をお勧めします。',
+  'help_local_version_outdated1' => '古いローカルバージョン',
+  'help_local_version_outdated2' => 'このファイルは古いバージョンのCoppermineのファイルのようです。( 恐らくアップグレードされています。) このファイルも同様に更新してください。',
+  'help_local_version_na1' => 'cvsバージョン情報を引用することができません。',
+  'help_local_version_na2' => 'あなたのサーバにどのcvsバージョンがあるのかスクリプトが判断できません。パッケージよりファイルをアップロードしてください。',
+  'help_local_version_dev1' => '開発バージョン',
+  'help_local_version_dev2' => 'ウェブサーバ内のファイルは、あなたのCoppermineバージョンより新しいようです。あなたは開発ファイルを選択したか ( あなたが自分で何をしているか理解できる場合のみ行ってください。)、Coppermineをアップグレードして include/init.inc.php ファイルをアップロードしていません。',
+  'help_not_writable1' => 'フォルダが書き込み可能ではありません。',
+  'help_not_writable2' => 'スクリプトがフォルダ %s およびフォルダ内のファイルにアクセスする許可を与えるためにファイルパーミッション (CHMOD) を変更します。',
+  'help_writable1' => 'フォルダ書き込み可能',
+  'help_writable2' => 'フォルダ %s は書き込み可能です。これは不要なリスクです。coppermineには、読み込み/実行権のみ必要です。',
+  'help_writable_undetermined' => 'Coppermineは、どのフォルダが書込み可能か判断できません。',
+  'your_file' => 'あなたのファイル',
+  'reference_file' => '参照ファイル',
+  'summary' => '要約',
+  'total' => '全てのファイル/フォルダがチェックされました。',
+  'mandatory_files_missing' => '必須ファイルが見つかりません。',
+  'optional_files_missing' => '任意ファイルが見つかりません。',
+  'files_from_older_version' => '古いCoppermineバージョンのファイルが残されています。',
+  'file_version_outdated' => '古いファイルバージョン',
+  'error_no_data' => 'スクリプトにエラーが発生したので情報を取得することができません。ご迷惑お掛け致します。',
+  'go_to_webcvs' => '%s へ移動',
+  'options' => 'オプション',
+  'show_optional_files' => '任意フォルダ/ファイルを表示する',
+  'show_mandatory_files' => '必須ファイルを表示する',
+  'show_file_versions' => 'ファイルバージョンを表示する',
+  'show_errors_only' => 'エラーのあるフォルダ/ファイルのみを表示する',
+  'show_permissions' => 'フォルダパーミッションを表示する',
+  'show_condensed_output' => '縮小表示を行う ( スクリーンショットが簡単 )',
+  'coppermine_in_webroot' => 'coppermineはウェブルートにインストールされています。',
+  'connect_online_repository' => 'オンラインリポジトリへの接続を試みる',
+  'show_additional_information' => '補足情報を表示する',
+  'no_webcvs_link' => 'ウェブCVSリンクを表示しない',
+  'stable_webcvs_link' => 'stableブランチのウェブCVSリンクを表示する',
+  'devel_webcvs_link' => 'develブランチのウェブCVSリンクを表示する',
+  'submit' => '変更を適用 / リフレッシュ',
+  'reset_to_defaults' => 'デフォルト値にリセット',
+);
+
+// ------------------------------------------------------------------------- //
+// File view_log.php 
+// ------------------------------------------------------------------------- //
+
+if (defined('VIEWLOG_PHP')) $lang_viewlog_php = array(
+  'delete_all' => '全てのログを削除',
+  'delete_this' => 'このログを削除',
+  'view_logs' => 'ログを表示',
+  'no_logs' => 'ログは作成されていません。',
+);
+
+
+// ------------------------------------------------------------------------- //
+// File xp_publish.php
+// ------------------------------------------------------------------------- //
+
+if (defined('XP_PUBLISH_PHP')) {
+
+$lang_xp_publish_client = <<<EOT
+<h1>XPウェブパブリッシング・ウィザードクライアント</h1><p>このモジュールでは、Coppermineと<b>Windows XP</b>ウェブパブリッシング・ウィザードを使用することができます。</p><p>コードは次の記事をベースにしています。投稿者:
+EOT;
+
+$lang_xp_publish_required = <<<EOT
+<h2>必要なもの</h2><ul><li>ウィザードを実行するために、Windows XPが必要です。</li><li><b>ウェブアップロード機能が正常に動作する</b>Coppermineインストレーション。</li></ul><h2>クライアントサイドでインストールするには、</h2><ul><li>右クリックして、
+EOT;
+
+$lang_xp_publish_select = <<<EOT
+「 対象をファイルに保存.. 」を選択してください。ファイルをハードディスクに保存してください。ファイルを保存した後、ファイル名が <b>cpg_###.reg</b> になっているか確認してください ( ### は数値のタイムスタンプを表します。)。 必要な場合、ファイル名を変更してください ( 数値は残したまま )。ダウンロード後、あなたのサーバをウェブパブリッシング・ウィザードで登録するためにファイルをダブルクリックしてください。</li></ul>
+EOT;
+
+$lang_xp_publish_testing = <<<EOT
+<h2>テスト</h2><ul><li>Windows Explorerではファイルを選択して、左のウインドウで <b>Publish xxx on the web</b> を選択してください。</li><li>ファイルの選択を確定してください。<b>Next</b> をクリックしてください。</li><li>表示されるサービスのリストから、あなたのフォトギャラリー用に1つ選択してください ( あなたのギャラリー名を持っています )。サービスが表示されない場合、上記に記載されている <b>cpg_pub_wizard.reg</b> がインストールされているか確認してください。</li><li>必要な場合、ログイン情報を入力してください。</li><li>あなたの写真のターゲットアルバムを選択するか、新しいアルバムを作成してください。</li><li><b>next</b> をクリックしてください。写真のアップロードが開始されます。</li><li>完了した場合、写真が適切に追加されているかギャラリーを確認してください。</li></ul>
+EOT;
+
+$lang_xp_publish_notes = <<<EOT
+<h2>注意 :</h2><ul><li>アップロードが開始すると、ウィザードはスクリプトによるエラーメッセージを表示することができませんので、あなたがギャラリーを確認するまでアップロードが失敗したか成功したか分かりません。</li><li>ファイルのアップロードが失敗した場合、Coppermine設定ページの「デバッグモードを有効にする」を有効にしてください。その後、あなたのCoppermineディレクトリの１つの写真ファイルで、
+EOT;
+
+$lang_xp_publish_flood = <<<EOT
+エラーメッセージが表示されるか確認してください。</li><li>ギャラリーがウィザードを通じた写真アップロードの<i>flood</i>を避けるため、<b>ギャラリー管理者</b> および <b>自分のアルバムを所有しているユーザ</b> のみこの機能を使用することができます。</li>
+EOT;
+
+
+
+$lang_xp_publish_php = array(
+  'title' => 'Coppermine - XPウェブパブリッシングウィザード',
+  'welcome' => 'ようこそ <b>%s</b> さん',
+  'need_login' => 'このウィザードを使用する前に、ウェブブラウザを使用してギャラリーにログインしてください。<p/><p>表示されている場合、<b>次回からユーザ名・パスワードの入力を省略</b>オプションの選択をログイン時に忘れずに行ってください。',
+  'no_alb' => '申し訳ございません。あなたがこのウィザードで写真のアップロードを許可したアルバムが存在していません。',
+  'upload' => 'あなたの写真をアルバムにアップロードする',
+  'create_new' => 'あなたの写真の新しいアルバムを作成',
+  'album' => 'アルバム',
+  'category' => 'カテゴリ',
+  'new_alb_created' => 'あなたの新しいアルバム「<b>%s</b>」が作成されました。',
+  'continue' => '写真をアップロードするには「次へ」をクリックしてください。',
+  'link' => 'このリンク',
+);
+}
 ?>
\ No newline at end of file
diff -x .svn -aruN 1.4.24.src/lang/korean.php 1.4.25.src/lang/korean.php
--- 1.4.24.src/lang/korean.php	2009-05-25 15:01:17.000000000 -0500
+++ 1.4.25.src/lang/korean.php	2009-05-26 11:25:40.000000000 -0500
@@ -1,2102 +1,2102 @@
-<?php
-/*************************
-  Coppermine Photo Gallery
-  ************************
-  Copyright (c) 2003-2009 Coppermine Dev Team
-  v1.1 originally written by Gregory DEMAR
-
-  This program is free software; you can redistribute it and/or modify
-  it under the terms of the GNU General Public License version 3
-  as published by the Free Software Foundation.
-  
-  ********************************************
-  Coppermine version: 1.4.24
-  $HeadURL: https://coppermine.svn.sourceforge.net/svnroot/coppermine/trunk/cpg1.4.x/lang/korean.php $
-  $Revision: 5988 $
-  $Author: gaugau $
-  $Date: 2009-05-25 22:01:41 +0200 (Mo, 25 Mai 2009) $
-**********************************************/
-
-if (!defined('IN_COPPERMINE')) { die('Not in Coppermine...');}
-
-// info about translators and translated language
-$lang_translation_info = array(
-  'lang_name_english' => 'Korean', //cpg1.4
-  'lang_name_native' => '한국어', //cpg1.4
-  'lang_country_code' => 'kr', //cpg1.4
-  'trans_name'=> 'mle21',
-  'trans_email' => '',
-  'trans_website' => '',
-  'trans_date' => '2005-08-17',
-);
-
-$lang_charset = 'euc-kr';
-$lang_text_dir = 'ltr'; // ('ltr' for left to right, 'rtl' for right to left)
-
-// shortcuts for Byte, Kilo, Mega
-$lang_byte_units = array('바이트', 'KB', 'MB');
-
-// Day of weeks and months
-$lang_day_of_week = array('일', '월', '화', '수', '목', '금', '토');
-$lang_month = array('1월', '2월', '3월', '4월', '5월', '6월', '7월', '8월', '9월', '10월', '11월', '12월');
-
-// Some common strings
-$lang_yes = '예';
-$lang_no  = '아니오';
-$lang_back = '뒤로';
-$lang_continue = '다음';
-$lang_info = '안내';
-$lang_error = '오류';
-$lang_check_uncheck_all = '모두 선택/해제 '; //cpg1.4
-
-// The various date formats
-// See http://www.php.net/manual/en/function.strftime.php to define the variable below
-$album_date_fmt =    '%B %d, %Y';
-$lastcom_date_fmt =  '%m/%d/%y @ %H:%M';
-$lastup_date_fmt = '%B %d, %Y';
-$register_date_fmt = '%B %d, %Y';
-$lasthit_date_fmt = '%B %d, %Y @ %I:%M %p';
-$comment_date_fmt =  '%B %d, %Y @ %I:%M %p';
-$log_date_fmt = '%B %d, %Y @ %I:%M %p'; //cpg1.4
-
-// For the word censor
-$lang_bad_words = array('*fuck*', 'asshole', 'assramer', 'bitch*', 'c0ck', 'clits', 'Cock', 'cum', 'cunt*', 'dago', 'daygo', 'dego', 'dick*', 'dildo', 'fanculo', 'feces', 'foreskin', 'Fu\(*', 'fuk*', 'honkey', 'hore', 'injun', 'kike', 'lesbo', 'masturbat*', 'motherfucker', 'nazis', 'nigger*', 'nutsack', 'penis', 'phuck', 'poop', 'pussy', 'scrotum', 'shit', 'slut', 'titties', 'titty', 'twaty', 'wank*', 'whore', 'wop*');
-
-$lang_meta_album_names = array(
-  'random' => '무작위 이미지',
-  'lastup' => '최근 이미지',
-  'lastalb'=> '최근 수정된 앨범',
-  'lastcom' => '최근 코멘트',
-  'topn' => '최다 조회',
-  'toprated' => '최고 평점',
-  'lasthits' => '최근 조회',
-  'search' => '검색 결과',
-  'favpics'=> '즐겨찾기 이미지',  //cpg1.4
-);
-
-$lang_errors = array(
-  'access_denied' => '회원님의 권한으로 이페이지를 볼 수 없습니다. 관리자에게 문의하세요.',
-  'perm_denied' => '회원님의 권한으로 실행할 수 없는 명령입니다.',
-  'param_missing' => '필요한 파라메타가 지정되지 않았습니다.',
-  'non_exist_ap' => '선택한 앨범/이미지가 존재하지 않습니다 !',
-  'quota_exceeded' => '디스크 할당량을 초과 사용하였습니다<br /><br /> 할당량은 [quota]K, 현재 사용량은 [space]K, 이 이미지를 추가하면 할당량을 초과합니다.',
-  'gd_file_type_err' => 'GD 이미지 라이브러리에서 지원되는 이미지 타입은 오직 JPEG 와 PNG입니다.',
-  'invalid_image' => '업로드한 이미지가 파손되었거나 혹은 GD 라이브러리가 처리할 수 없습니다. ',
-  'resize_failed' => '썸네일 혹은 이미지 크기를 바꿀 수 없습니다.',
-  'no_img_to_display' => '표시할 이미지가 없습니다.',
-  'non_exist_cat' => '선택한 카테고리는 존재하지 않습니다.',
-  'orphan_cat' => '카타고리의 상위레벨이 없습니다, 문제를 해결하기 위하여 카타고리-관리자를 수행하세요!',
-  'directory_ro' => '디렉토리 \'%s\' 가 쓰기금지 상태입니다. 이미지를 삭제할 수 없습니다.',
-  'non_exist_comment' => '선택한 코멘트가 존재하지 않습니다.',
-  'pic_in_invalid_album' => '이미지가 존재하지 않는 앨범에 있습니다 (%s)!?',
-  'banned' => '귀하는 사용금지자 명단에 들어있습니다.',
-  'not_with_udb' => '이 기능을 코퍼마인에서 사용할 수 없습니다. 이 기능은 게시판 소프트웨어에 합병되었습니다. 입력하신 기능이 현재의 설정에서는 지원되지 않거나 게시판 소프트웨어에서만 처리되는 기능입니다.',
-  'offline_title' => '오프라인',
-  'offline_text' => '갤러리는 현재 오프라인 상태입니다 - 다시 방문하여 주세요.',
-  'ecards_empty' => '현재 표시할 E-Card가 없습니다.',
-  'action_failed' => '실행실패.  코퍼마인이 더 이상의 요구를 처리할 수 없습니다.',
-  'no_zip' => 'Zip 화일을 처리하는데 필요한 라이브러리를 사용할 수 없습니다.  코퍼마인 관리자에게 연락하세요.',
-  'zip_type' => '귀하는 ZIP 화일을 업로드하는 권한이 없습니다.',
-  'database_query' => '데이타베이스 쿼리를 하는 도중에 오류가 발생하였습니다.', //cpg1.4
-  'register_globals_on' => 'The PHP setting register_globals is enabled on your server, which is a bad idea in terms of security. It\'s strongly recommended to turn it off. [<a href="http://forum.coppermine-gallery.net/index.php/topic,59569.0.html" rel="external" class="external">more</a>]',
-);
-
-$lang_bbcode_help_title = '비비코드 도움말'; //cpg1.4
-$lang_bbcode_help = '이 필드에 클릭할 수 있는 경로를 추가하거나 비비코드 태그를 이용하여 포멭팅을 할 수 있습니다. 태그: <li>[b]Bold[/b] =&gt; <b>Bold</b></li><li>[i]Italic[/i] =&gt; <i>Italic</i></li><li>[url=http://yoursite.com/]Url Text[/url] =&gt; <a href="http://yoursite.com">Url Text</a></li><li>[email]user@domain.com[/email] =&gt; <a href="mailto:user@domain.com">user@domain.com</a></li><li>[color=red]some text[/color] =&gt; <span style="color:red">some text</span></li><li>[img]http://coppermine-gallery.net/demo/cpg14x/images/red.gif[/img] => <img src="../images/red.gif" border="0" alt="" /></li>'; //cpg1.4
-
-// ------------------------------------------------------------------------- //
-// File theme.php
-// ------------------------------------------------------------------------- //
-
-$lang_main_menu = array(
-  'home_title' => '홈으로 가기',
-  'home_lnk' => '홈',
-  'alb_list_title' => '앨범목록으로 가기',
-  'alb_list_lnk' => '앨범목록',
-  'my_gal_title' => '개인갤러리로 가기',
-  'my_gal_lnk' => '개인갤러리',
-  'my_prof_title' => '개인정보로 가기', //cpg1.4
-  'my_prof_lnk' => '개인정보',
-  'adm_mode_title' => '관리자 모드로 전환',
-  'adm_mode_lnk' => '관리자 모드',
-  'usr_mode_title' => '사용자 모드로 가기',
-  'usr_mode_lnk' => '사용자 모드',
-  'upload_pic_title' => '앨범에 이미지 업로드',
-  'upload_pic_lnk' => '이미지 업로드',
-  'register_title' => '계정 만들기',
-  'register_lnk' => '회원등록',
-  'login_title' => '로그인', //cpg1.4
-  'login_lnk' => '로그인',
-  'logout_title' => '로그아웃', //cpg1.4
-  'logout_lnk' => '로그아웃',
-  'lastup_title' => '최근 이미지 보여주기', //cpg1.4
-  'lastup_lnk' => '최근 이미지',
-  'lastcom_title' => '최근 코멘트 보여주기', //cpg1.4
-  'lastcom_lnk' => '최근 코멘트',
-  'topn_title' => '최다 조회 보여주기', //cpg1.4
-  'topn_lnk' => '최다 조회',
-  'toprated_title' => '최고 평점 보여주기', //cpg1.4
-  'toprated_lnk' => '최고 평점',
-  'search_title' => '갤러리 찾기', //cpg1.4
-  'search_lnk' => '검색',
-  'fav_title' => '즐겨찾기로 가기', //cpg1.4
-  'fav_lnk' => '즐겨찾기',
-  'memberlist_title' => '회원명단 보기',
-  'memberlist_lnk' => '회원명단',
-  'faq_title' => '사진갤러리에 대한 자주 묻는 질문 &quot;코퍼마인&quot;',
-  'faq_lnk' => 'FAQ',
-);
-
-$lang_gallery_admin_menu = array(
-  'upl_app_title' => '신규 업로드 승인', //cpg1.4
-  'upl_app_lnk' => '업로드 승인',
-  'admin_title' => '설정으로 가기', //cpg1.4
-  'admin_lnk' => '설정', //cpg1.4
-  'albums_title' => '앨범설정으로 가기', //cpg1.4
-  'albums_lnk' => '앨범',
-  'categories_title' => '카타고리설정으로 가기', //cpg1.4
-  'categories_lnk' => '카타고리',
-  'users_title' => '사용자설정으로 가기', //cpg1.4
-  'users_lnk' => '사용자',
-  'groups_title' => '그룹설정으로 가기', //cpg1.4
-  'groups_lnk' => '그룹',
-  'comments_title' => '모든 코멘트 보기', //cpg1.4
-  'comments_lnk' => '코멘트 보기',
-  'searchnew_title' => '일괄 추가로 가기', //cpg1.4
-  'searchnew_lnk' => '일괄 추가 화일',
-  'util_title' => '관리자 도구로 가기', //cpg1.4
-  'util_lnk' => '관리자 도구',
-  'key_title' => '키워드 사전으로 가기', //cpg1.4
-  'key_lnk' => '키워드 사전', //cpg1.4
-  'ban_title' => '사용금지자로 가기', //cpg1.4
-  'ban_lnk' => '사용금지자',
-  'db_ecard_title' => 'E-card 리뷰', //cpg1.4
-  'db_ecard_lnk' => 'E-card 디스플레이',
-  'pictures_title' => '나의 사진 배열', //cpg1.4
-  'pictures_lnk' => '나의 사진 배열', //cpg1.4
-  'documentation_lnk' => '자료모음', //cpg1.4
-  'documentation_title' => '코퍼마인 매뉴얼', //cpg1.4
-);
-
-$lang_user_admin_menu = array(
-  'albmgr_title' => '개인앨범 생성 및 의뢰', //cpg1.4
-  'albmgr_lnk' => '개인앨범 생성/의뢰',
-  'modifyalb_title' => '개인앨범 수정으로 가기',  //cpg1.4
-  'modifyalb_lnk' => '개인앨범 수정',
-  'my_prof_title' => '개인정보로 가기', //cpg1.4
-  'my_prof_lnk' => '개인정보',
-);
-
-$lang_cat_list = array(
-  'category' => '카테고리',
-  'albums' => '앨범',
-  'pictures' => '이미지',
-);
-
-$lang_album_list = array(
-  'album_on_page' => '앨범 %d 페이지 %d',
-);
-
-$lang_thumb_view = array(
-  'date' => '일자',
-  //Sort by filename and title
-  'name' => '파일이름',
-  'title' => '제목',
-  'sort_da' => '일자별 순차배열',
-  'sort_dd' => '일자별 역순',
-  'sort_na' => '이름별 순차배열',
-  'sort_nd' => '이름별 역순',
-  'sort_ta' => '제목별 순차배열',
-  'sort_td' => '제목별 역순',
-  'position' => '위치', //cpg1.4
-  'sort_pa' => '위치별 순차배열', //cpg1.4
-  'sort_pd' => '위치별 역순', //cpg1.4
-  'download_zip' => 'Zip 파일로 다운라인',
-  'pic_on_page' => '이미지: %d  페이지: %d ',
-  'user_on_page' => '사용자: %d  페이지: %d',
-  'enter_alb_pass' => '앨범 비밀번호를 입력하세요', //cpg1.4
-  'invalid_pass' => '비밀번호 오류', //cpg1.4
-  'pass' => '비밀번호', //cpg1.4
-  'submit' => '보냄', //cpg1.4
-);
-
-$lang_img_nav_bar = array(
-  'thumb_title' => '썸네일 페이지로 돌아가기',
-  'pic_info_title' => '사진정보 보기/숨기기',
-  'slideshow_title' => '슬라이드쇼',
-  'ecard_title' => '이미지를 e-card로 보내기',
-  'ecard_disabled' => 'e-cards 사용금지',
-  'ecard_disabled_msg' => '귀하는 e-cards 보내기 권한이 없습니다', //js-alert
-  'prev_title' => '이전 이미지 보기',
-  'next_title' => '다음 이미지 보기',
-  'pic_pos' => '이미지 %s/%s',
-  'report_title' => '이 이미지를 관리자에게 보고', //cpg1.4
-  'go_album_end' => '마지막으로', //cpg1.4
-  'go_album_start' => '처음으로 돌아가기', //cpg1.4
-  'go_back_x_items' => '%s 아이템 이전으로', //cpg1.4
-  'go_forward_x_items' => '%s 아이템 앞으로', //cpg1.4
-);
-
-$lang_rate_pic = array(
-  'rate_this_pic' => '평가',
-  'no_votes' => '(평가없음)',
-  'rating' => '(현재평점 : %s / 5 평가횟수 %s 회)',
-  'rubbish' => '아주나쁨',
-  'poor' => '나쁨',
-  'fair' => '보통',
-  'good' => '좋음',
-  'excellent' => '아주좋음',
-  'great' => '최상',
-);
-
-// ------------------------------------------------------------------------- //
-// File include/exif.inc.php
-// ------------------------------------------------------------------------- //
-
-// void
-
-// ------------------------------------------------------------------------- //
-// File include/functions.inc.php
-// ------------------------------------------------------------------------- //
-
-$lang_cpg_die = array(
-  INFORMATION => $lang_info,
-  ERROR => $lang_error,
-  CRITICAL_ERROR => '심각한 오류발생',
-  'file' => '파일: ',
-  'line' => '라인: ',
-);
-
-$lang_display_thumbnails = array(
-  'filename' => '파일명=', //cpg1.4
-  'filesize' => '파일크기=', //cpg1.4
-  'dimensions' => '너비,높이=', //cpg1.4
-  'date_added' => '등록일=', //cpg1.4
-);
-
-$lang_get_pic_data = array(
-  'n_comments' => '%s 코멘트',
-  'n_views' => '%s 조회',
-  'n_votes' => '(%s 평가)',
-);
-
-$lang_cpg_debug_output = array(
-  'debug_info' => '디버그 정보',
-  'select_all' => '모두 선택',
-  'copy_and_paste_instructions' => '코퍼마인에 지원을 원하시면, 비밀번호는 *** 로 변환하여 디버그 출력과 함께 복사하여 보내주세요.  <br /> 이 메시지는 단지 정보이고, 이 갤러리에 오류가 있다는 것은 아닙니다.', //cpg1.4
-  'phpinfo' => 'phpinfo 보기',
-  'notices' => '공지사항', //cpg1.4
-);
-
-$lang_language_selection = array(
-  'reset_language' => '초기설정 언어',
-  'choose_language' => '언어를 선택하세요',
-);
-
-$lang_theme_selection = array(
-  'reset_theme' => '초기설정 테마',
-  'choose_theme' => '테마를 선택하세요',
-);
-
-$lang_version_alert = array(
-  'version_alert' => '지원하지 않는 버젼!', //cpg1.4
-  'no_stable_version' => '귀하는 코퍼마인 %s (%s) 를 사용하고 있습니다. 이것은 경험이 많은 고객용입니다. - 이 버젼은 지원과 워런티가 없습니다. 위험을 감수하며 사용을 하던가 아니면 지원이 가능한 안정된 버젼을 다운로드 하여 사용하세요.', //cpg1.4
-  'gallery_offline' => '현재 이 갤러리는 오프라인 입니다. 관리자권한으로만 보여질 수 있습니다. 작업이 완료되면 온라인으로 전환시키십시요.', //cpg1.4
-);
-
-$lang_create_tabs = array(
-  'previous' => '이전', //cpg1.4
-  'next' => '다음', //cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File include/init.inc.php
-// ------------------------------------------------------------------------- //
-
-// void
-
-// ------------------------------------------------------------------------- //
-// File keyword.inc.php                                                      //
-// ------------------------------------------------------------------------- //
-
-// void
-
-// ------------------------------------------------------------------------- //
-// File include/picmgmt.inc.php
-// ------------------------------------------------------------------------- //
-
-// void
-
-// ------------------------------------------------------------------------- //
-// File include/plugin_api.inc.php
-// ------------------------------------------------------------------------- //
-$lang_plugin_api = array(
-  'error_wakeup' => "플러그인을 기동할 수 없습니다 '%s'", //cpg1.4
-  'error_install' => "플러그인을 설치할 수 없습니다 '%s'", //cpg1.4
-  'error_uninstall' => "플러그인을 제거할 수 없습니다 '%s'", //cpg1.4
-  'error_sleep' => "플러그인을 제거할 수 없습니다 '%s'<br />", //cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File include/smilies.inc.php
-// ------------------------------------------------------------------------- //
-
-if (defined('SMILIES_PHP')) $lang_smilies_inc_php = array(
-  'Exclamation' => 'Exclamation',
-  'Question' => '궁금',
-  'Very Happy' => '아주 기쁨',
-  'Smile' => '스마일',
-  'Sad' => '슬픔',
-  'Surprised' => '놀람',
-  'Shocked' => '쇼크',
-  'Confused' => '혼란',
-  'Cool' => 'Cool',
-  'Laughing' => 'Laughing',
-  'Mad' => 'Mad',
-  'Razz' => 'Razz',
-  'Embarassed' => 'Embarassed',
-  'Crying or Very sad' => '아주 슬픔',
-  'Evil or Very Mad' => 'Evil or Very Mad',
-  'Twisted Evil' => 'Twisted Evil',
-  'Rolling Eyes' => 'Rolling Eyes',
-  'Wink' => '윙크',
-  'Idea' => 'Idea',
-  'Arrow' => 'Arrow',
-  'Neutral' => 'Neutral',
-  'Mr. Green' => 'Mr. Green',
-);
-
-// ------------------------------------------------------------------------- //
-// File addpic.php
-// ------------------------------------------------------------------------- //
-
-// void
-
-// ------------------------------------------------------------------------- //
-// File mode.php //cpg1.4
-// ------------------------------------------------------------------------- //
-
-if (defined('ADMIN_PHP')) $lang_admin_php = array(
-        0 => '사용자모드로 전환합니다...',
-        1 => '관리자모드로 전환합니다...',
-);
-
-// ------------------------------------------------------------------------- //
-// File albmgr.php
-// ------------------------------------------------------------------------- //
-
-if (defined('ALBMGR_PHP')) $lang_albmgr_php = array(
-  'alb_need_name' => '앨범명이 필요합니다 !', //js-alert
-  'confirm_modifs' => '변경사항을 적용하시겠습니까 ?', //js-alert
-  'no_change' => '변경사항이 없습니다 !', //js-alert
-  'new_album' => '새 앨범',
-  'confirm_delete1' => '앨범을 삭제하시겠습니까 ?', //js-alert
-  'confirm_delete2' => '\n앨범에 등록된 모든 이미지와 코멘트가 삭제됩니다 !', //js-alert
-  'select_first' => '먼저 앨범을 선택하세요.', //js-alert
-  'alb_mrg' => '앨범 관리자',
-  'my_gallery' => '* 개인 갤러리 *',
-  'no_category' => '* 최상위 카테고리(메인) *',
-  'delete' => '삭제',
-  'new' => '생성',
-  'apply_modifs' => '변경적용',
-  'select_category' => '카테고리 선택',
-);
-
-// ------------------------------------------------------------------------- //
-// File banning.php
-// ------------------------------------------------------------------------- //
-
-if (defined('BANNING_PHP')) $lang_banning_php = array(
-  'title' => '사용금지자', //cpg1.4
-  'user_name' => '회원아이디', //cpg1.4
-  'ip_address' => 'IP 주소', //cpg1.4
-  'expiry' => '유효기간 (공란은 영구적임)', //cpg1.4
-  'edit_ban' => '수정 저장', //cpg1.4
-  'delete_ban' => '삭제', //cpg1.4
-  'add_new' => '사용금지자 추가', //cpg1.4
-  'add_ban' => '추가', //cpg1.4
-  'error_user' => '사용자 검색 실패', //cpg1.4
-  'error_specify' => '회원아이디 혹은 IP 주소를 기술하세요', //cpg1.4
-  'error_ban_id' => '금지자 아이디 오류!', //cpg1.4
-  'error_admin_ban' => '귀하를 본인이 금지할 수 없습니다!', //cpg1.4
-  'error_server_ban' => '귀하 자신의 서버를 금지하려 합니까? ㅋ ㅋ , 불가능합니다', //cpg1.4
-  'error_ip_forbidden' => 'IP를 금지할 수 없음 - 개인용 입니다!<br />개인 IP를 금지하시려면 이것을 수정하세요 <a href="admin.php">구성</a> (쿠머마인이 LAN에서 운용될 경우).', //cpg1.4
-  'lookup_ip' => 'IP 주소 조회 ', //cpg1.4
-  'submit' => '실행!', //cpg1.4
-  'select_date' => '일자 선택', //cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File bridgemgr.php //cpg1.4
-// ------------------------------------------------------------------------- //
-
-if (defined('BRIDGEMGR_PHP')) $lang_bridgemgr_php = array(
-  'title' => '브릿지 마법사',
-  'warning' => '주의: 이 마법사를 사용하실 때 센시티브 데이타는 html 형식으로 전송 되는 것을 숙지하여야 합니다. 이것은 귀하의 PC에서만 동작이 됩니다 (인터넷 카페등과 같은 공공 클라이언트에서는 안됨), 작업후에 브라우저 캐시와 인터넷 임시파일을 삭제하세요, 그렇지 않으면 다른사람들이 귀하의 데이타를 참조할 수 있습니다!',
-  'back' => '뒤로',
-  'next' => '앞으로',
-  'start_wizard' => '브릿징 마법사 시작',
-  'finish' => '완료',
-  'hide_unused_fields' => '사용하지 않는 항목 숨기기 (권장)',
-  'clear_unused_db_fields' => '부적절 데이타베이스 엔튜리 제거 (권장)',
-  'custom_bridge_file' => '커스톰 브리지 파일명 (만일 브리지 파일명이 <i>myfile.inc.php</i> 이면 이 항목에 <i>myfile</i> 을 입력)',
-  'no_action_needed' => '이 단계에서는 다른작업이 필요하지 않습니다. 계속하시려면 \'다음\' 을 클릭하세요.',
-  'reset_to_default' => '기본설정으로 리셋',
-  'choose_bbs_app' => '코퍼마인과 연결할 어플리케이션을 선택하세요.',
-  'support_url' => '어플리케이션 지원으로 가기',
-  'settings_path' => 'BBS app 사용하는 경로',
-  'database_connection' => '데이타베이스 연결',
-  'database_tables' => '데이타베이스 테이블',
-  'bbs_groups' => 'BBS 그룹',
-  'license_number' => '라이센스 번호',
-  'license_number_explanation' => '귀하의 라이센스 번호를 입력하세요 (가능하면).',
-  'db_database_name' => '데이타베이스 명',
-  'db_database_name_explanation' => 'BBS app 사용하는 데이타베이스 명을 입력하세요.',
-  'db_hostname' => '데이타베이스 호스트',
-  'db_hostname_explanation' => 'mySQL 데이타베이스가 있는 호스트 명, 통상적으로 &quot;로칼호스트&quot;',
-  'db_username' => '데이타베이스 사용자 계정',
-  'db_username_explanation' => 'BBS에 연결하여 사용하려는 mySQL 사용자계정',
-  'db_password' => '데이타베이스 비밀번호',
-  'db_password_explanation' => 'MySQL 사용자계정 비밀번호',
-  'full_forum_url' => ' 게시판 URL',
-  'full_forum_url_explanation' => '귀하의 BBS app URL 주소 ( http:// 를 포함하여, 예: http://www.yourdomain.tld/forum)',
-  'relative_path_of_forum_from_webroot' => '상대  게시판 경로',
-  'relative_path_of_forum_from_webroot_explanation' => '웹루트에서 귀하의 BBS app 상대 경로 (예: 만일 BBS가 http://www.yourdomain.tld/forum/ 라면 , &quot;/forum/&quot; 로)',
-  'relative_path_to_config_file' => 'BBS의 설정파일의 상대 경로',
-  'relative_path_to_config_file_explanation' => '코퍼마인 폴더로 부터 귀하의 BBS로의 상대 경로 (예: &quot;../forum/&quot; 귀하의 BBS가 http://www.yourdomain.tld/forum/ 이고 코퍼마인이 http://www.yourdomain.tld/gallery/)',
-  'cookie_prefix' => '쿠기 접두어',
-  'cookie_prefix_explanation' => 'BBS 쿠키명',
-  'table_prefix' => '테이블 접두어',
-  'table_prefix_explanation' => 'BBS를 설정하기 위해서는 동일한 접두어를 사용해야 합니다.',
-  'user_table' => '사용자 테이블',
-  'user_table_explanation' => '(BBS가 표준으로 설치된 경우 대체적으로 디폴트 값이 무난)',
-  'session_table' => '세션 테이블',
-  'session_table_explanation' => '(BBS가 표준으로 설치된 경우 대체적으로 디폴트 값이 무난)',
-  'group_table' => '그룹 테이블',
-  'group_table_explanation' => '(BBS가 표준으로 설치된 경우 대체적으로 디폴트 값이 무난)',
-  'group_relation_table' => '그룹 릴레이션 테이블',
-  'group_relation_table_explanation' => '(BBS가 표준으로 설치된 경우 대체적으로 디폴트 값이 무난)',
-  'group_mapping_table' => '그룹 매핑 테이블',
-  'group_mapping_table_explanation' => '(BBS가 표준으로 설치된 경우 대체적으로 디폴트 값이 무난)',
-  'use_standard_groups' => '표준 BBS 사용자그룹을 사용하세요',
-  'use_standard_groups_explanation' => '표준 (빌트-인) 사용자그룹을 사용하세요 (권장사항). 이 페이지의 모든 커스텀 사용자 설정을 지울 것입니다. 무엇을 하는지 확실한 경우만 이 옵션을 금지하세요!',
-  'validating_group' => '그룹 검증',
-  'validating_group_explanation' => '검증을 필요로 하는 사용자계정이 있는 BBS의 그룹 아이디 (BBS가 표준으로 설치된 경우 대체적으로 디폴트 값이 무난)',
-  'guest_group' => '손님 그룹',
-  'guest_group_explanation' => '손님 (익명 사용자)이 있는 BBS의 그룹 아이디 (디폴트 값이 무난, 무엇을 하는지 확실한 경우만 편집을 하세요)',
-  'member_group' => '회원 그룹',
-  'member_group_explanation' => '&quot;일반적인&quot; 사용자가 있는 BBS의 그룹 아이디 (디폴트 값이 무난, 무엇을 하는지 확실한 경우만 편집을 하세요)',
-  'admin_group' => '관리자 그룹',
-  'admin_group_explanation' => '관리자가 있는 BBS의 그룹 아이디 (디폴트 값이 무난, 무엇을 하는지 확실한 경우만 편집을 하세요)',
-  'banned_group' => '금지자 그룹',
-  'banned_group_explanation' => '사용금지자가 있는 BBS의 그룹 아이디 (디폴트 값이 무난, 무엇을 하는지 확실한 경우만 편집을 하세요)',
-  'global_moderators_group' => '글로벌 모더래이터 그룹',
-  'global_moderators_group_explanation' => 'BBS의 글로벌 모더래이터가 있는 BBS의 그룹 아이디 (디폴트 값이 무난, 무엇을 하는지 확실한 경우만 편집을 하세요)',
-  'special_settings' => 'BBS-상세 설정',
-  'logout_flag' => 'phpBB 버젼 (로그아웃 플랙)',
-  'logout_flag_explanation' => 'BBS 버젼이 무엇입니까 (이 설정은 어떻게 로그아웃을 처리하느냐를 기술합니다)',
-  'use_post_based_groups' => 'post-based 그룹을 사용합니까?',
-  'logout_flag_yes' => '2.0.5 혹은 이상',
-  'logout_flag_no' => '2.0.4 혹은 이하',
-  'use_post_based_groups_explanation' => 'BBS에 올린 글의 양에 의하여 정의된 그룹 (입자 승인 관리를 허용) 혹은 디폴트 그룹 (권장사항: 관리가 용이). 나중에 설정을 변경할 수 있습니다.',
-  'use_post_based_groups_yes' => '예',
-  'use_post_based_groups_no' => '아니오',
-  'error_title' => '계속하기 전에 이 오류들을 교정하여야 합니다. 전번 화면으로 가세요.',
-  'error_specify_bbs' => '코퍼마인 설치와 브리지하려는 어프리케이션을 기술하여야 합니다.',
-  'error_no_blank_name' => '커스텀 브리지 파일명을 공란으로 할 수 없습니다.',
-  'error_no_special_chars' => '브리지 파일명에 언더스코어(_)와 대시(-)를 제외한 특수문자를 사용하면 안됩니다!',
-  'error_bridge_file_not_exist' => '브리지 파일 %s이 서버에 존재하지 않습니다. 실제로 업로드하였으면 확인하세요.',
-  'finalize' => 'BBS 통합 사용/사용 안함',
-  'finalize_explanation' => '기술한 내용이 데이타베이스에 기록되었습니다, 하지만 BBS 통합이 사용불가합니다. 통합기능을 언제든지 켜기/끄기 할 수 있습니다. 스탠드어론 코퍼마인 관리자 아이디와 비밀번호를 기억하세요, 나중에 수정을 하려면 필요로 합니다. 문제발생시에는 %s 로 가서 스탠드어론 (브릿지하지 않은) 관리자 계정(대체로 코퍼마인 설치시 설정한)을 사용하여 BBS 통합기능을 사용불가로 하세요.',
-  'your_bridge_settings' => '브리지 설정',
-  'title_enable' => '%s와 통합/브리징 사용 가능',
-  'bridge_enable_yes' => '사용',
-  'bridge_enable_no' => '사용안함',
-  'error_must_not_be_empty' => '공백이면 안됨',
-  'error_either_be' => '반드시 %s 혹은 %s 이어야 함',
-  'error_folder_not_exist' => '%s 존재하지 않습니다. 입력한 값 %s 을 고치세요',
-  'error_cookie_not_readible' => '코퍼마인이 쿠키명 %s을 읽을 수 없습니다. 입력한 값 %s을 교정하세요, 혹은 BBS 관리자 판넬에 가서 쿠키경로가 코퍼마인이 읽을 수 있는지 확인하세요.',
-  'error_mandatory_field_empty' => '함수 %s를 공란으로 할 수 없습니다 - 적절한 값을 입력하세요.',
-  'error_no_trailing_slash' => '함수 %s에는 슬래시가 마지막에 있으면 안됩니다.',
-  'error_trailing_slash' => '함수 %s에는 슬래시가 마지막에 있어야 합니다.',
-  'error_db_connect' => '입력한 데이타로 mySQL 데이타베이스에 연결할 수 없습니다. 다음은 mySQL이 알리는 말:',
-  'error_db_name' => '코퍼마인이 연결을 확립하였지만 데이타베이스 %s을 찾을 수 없습니다. 기술한 %s이 적절한 것인지 확인하세요. 다음은 mySQL이 알리는 말:',
-  'error_prefix_and_table' => '%s 그리고 ',
-  'error_db_table' => '테이블 %s을 찾을 수 없습니다. 기술한 %s이 정확한지 확인하세요.',
-  'recovery_title' => '브리지 관리자: 응급 복구',
-  'recovery_explanation' => '코퍼마인 갤러리의 통합을 관리하려면, 먼저 관리자로 로그인 하세요. 브리징이 작동하지 않아서 로그인 할 수 없으면, 이 페이지로 BBS 통합을 사용안함을 할 수 있습니다. 아이디와 비밀번호를 입력하면 로그인은 할 수 없지만 BBS 통합을 사용금지 합니다. 상세내용은 문서를 참조하세요.',
-  'username' => '아이디',
-  'password' => '비밀번호',
-  'disable_submit' => '보냄',
-  'recovery_success_title' => '권한취득 성공',
-  'recovery_success_content' => '성공적으로 BBS 브리징이 사용불가능하게 되었습니다. 코퍼마인 설치가 스탠드어론 모드로 수행합니다.',
-  'recovery_success_advice_login' => '브리지 설정을 편집하기 위해  그리고/혹은 BBS 통합을 다시 사용가능하게 위하여 관리자로 로그인 하세요.',
-  'goto_login' => '로그인 페이지로 가기',
-  'goto_bridgemgr' => '브리지 관리자로 가기',
-  'recovery_failure_title' => '권한취득 실패',
-  'recovery_failure_content' => '틀린 자격증서입니다. 표준 버젼의 관리자 계정 데이타를 입력하세요 (대체적으로 코퍼마인 설치시의 계정).',
-  'try_again' => '재시도 하세요',
-  'recovery_wait_title' => '대기시간이 경과하지 않았습니다',
-  'recovery_wait_content' => '보안상 이 스크립는 로그인 오류시 일정시간 대기하여야 합니다, 재시도에 대한 승인이 될 때까지 기다려야 합니다.',
-  'wait' => '기다리세요',
-  'create_redir_file' => '리디렉숀 파일 생성 (권장사항)',
-  'create_redir_file_explanation' => 'BBS에 로그인 한 후에 사용자를 코퍼마인으로 전환시키려면  BBS 폴더에 리디렉숀 파일을 생성하여야 합니다. 이 옵션이 선택되면 브리지 관리자가 이 파일을 생성하거나 파일을 수동으로 복사-붙여넣기 형식으로 만드는 코드를 제공합니다.',
-  'browse' => '보기',
-);
-
-// ------------------------------------------------------------------------- //
-// File calendar.php //cpg1.4
-// ------------------------------------------------------------------------- //
-
-if (defined('CALENDAR_PHP')) $lang_calendar_php = array(
-  'title' => '칼렌다', //cpg1.4
-  'close' => '닫기', //cpg1.4
-  'clear_date' => '일자 삭제', //cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File catmgr.php
-// ------------------------------------------------------------------------- //
-
-if (defined('CATMGR_PHP')) $lang_catmgr_php = array(
-  'miss_param' => ' \'%s\'작업에 필요한 함수가 지정되지 않았습니다 !',
-  'unknown_cat' => '선택한 카테고리가 데이타베이스에 존재하지 않습니다.',
-  'usergal_cat_ro' => '개인 갤러리 카타고리는 삭제할 수 없습니다 !',
-  'manage_cat' => '카테고리 관리',
-  'confirm_delete' => '이 카테고리를 삭제하시겠습니까?', //js-alert
-  'category' => '카테고리',
-  'operations' => '실행',
-  'move_into' => '카테고리 변경',
-  'update_create' => '카테고리 변경/생성',
-  'parent_cat' => '상위 카테고리',
-  'cat_title' => '카테고리 이름',
-  'cat_thumb' => '카테고리 썸네일',
-  'cat_desc' => '카테고리 설명',
-  'categories_alpha_sort' => '카테고리를 순차배열 (커스톰 배열 순서 대신에)', //cpg1.4
-  'save_cfg' => '시스템구성 저장', //cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File admin.php //cpg1.4
-// ------------------------------------------------------------------------- //
-
-if (defined('ADMIN_PHP')) $lang_admin_php = array(
-  'title' => '갤러리 구성', //cpg1.4
-  'manage_exif' => 'exif 표시 관리', //cpg1.4
-  'manage_plugins' => '플러그인 관리', //cpg1.4
-  'manage_keyword' => '키워드 관리', //cpg1.4
-  'restore_cfg' => '기본설정으로',
-  'save_cfg' => '변경사항 저장',
-  'notes' => '메모',
-  'info' => '알립니다',
-  'upd_success' => '변경사항이 적용되었습니다!',
-  'restore_success' => '기본설정으로 변경되었습니다',
-  'name_a' => '이름별 순차배열',
-  'name_d' => '이름별 역순',
-  'title_a' => '제목별 순차배열',
-  'title_d' => '제목별 역순',
-  'date_a' => '일자순',
-  'date_d' => '일자 역순',
-  'pos_a' => '위치별 순차배열', //cpg1.4
-  'pos_d' => '위치별 역순', //cpg1.4
-  'th_any' => '최대 애스팩',
-  'th_ht' => '높이',
-  'th_wd' => '너비',
-  'label' => '라벨',
-  'item' => '아이템',
-  'debug_everyone' => '일반용',
-  'debug_admin' => '관리자용',
-  'no_logs'=> '오프', //cpg1.4
-  'log_normal'=> '보통', //cpg1.4
-  'log_all' => '모두', //cpg1.4
-  'view_logs' => '로그 보기', //cpg1.4
-  'click_expand' => '확장할 섹션명 클릭', //cpg1.4
-  'expand_all' => '모두 확장', //cpg1.4
-  'notice1' => '(*) 데이타베이스에 이미 파일이 있으면 이 설정을 바꾸면 안됩니다.', //cpg1.4 - (relocated)
-  'notice2' => '(**) 이 설정을 바꾸면, 추후 추가된 파일에만 적용이 됩니다, 그러므로 갤러리에 이미 파일이 있으면 이 설정을 바꾸지 않는 것이 좋습니다. 존재하는 파일에 적용을 하려면 &quot;<a href="util.php">관리자 도구</a> (사진 크기 변경)&quot; 관리자 메뉴의 유틸리티를 사용하세요.', //cpg1.4 - (relocated)
-  'notice3' => '(***) 모든 로그파일은 영어로 기록됨.', //cpg1.4 - (relocated)
-  'bbs_disabled' => 'BB 통합을 하면 기능 사용못함', //cpg1.4
-  'auto_resize_everyone' => '모두에게 허용', //cpg1.4
-  'auto_resize_user' => '사용자용', //cpg1.4
-  'ascending' => '순차', //cpg1.4
-  'descending' => '역순', //cpg1.4
-);
-
-if (defined('ADMIN_PHP')) $lang_admin_data = array(
-  '일반사항 설정',
-  array('갤러리 이름', 'gallery_name', 0, 'f=index.htm&amp;as=admin_general_name&amp;ae=admin_general_name_end'), //cpg1.4
-  array('갤러리 설명', 'gallery_description', 0, 'f=index.htm&amp;as=admin_general_description&amp;ae=admin_general_description_end'), //cpg1.4
-  array('갤러리 관리자 이메일', 'gallery_admin_email', 0, 'f=index.htm&amp;as=admin_general_email&amp;ae=admin_general_email_end'), //cpg1.4
-  array('코퍼마인 갤러리 폴더의 URL (\'index.php\' 이나 끝이 비슷한 것은 안됨)', 'ecards_more_pic_target', 0, 'f=index.htm&amp;as=admin_general_coppermine-url&amp;ae=admin_general_coppermine-url_end'), //cpg1.4
-  array('홈페이지의 URL ', 'home_target', 0, 'f=index.htm&amp;as=admin_general_home-url&amp;ae=admin_general_home-url_end'), //cpg1.4
-  array('즐겨찾기의 ZIP 다운로드 허용', 'enable_zipdownload', 1, 'f=index.htm&amp;as=admin_general_zip-download&amp;ae=admin_general_zip-download_end'), //cpg1.4
-  array('GMT와의 상대적인 다른 시간대 (현재시각: ' . localised_date(-1, $comment_date_fmt) . ')','time_offset',0, 'f=index.htm&amp;as=admin_general_time-offset&amp;ae=admin_general_time-offset_end&amp;top=1'), //cpg1.4
-  array('비밀번호 암호화 가동 (예외 없음)','enable_encrypted_passwords',1, 'f=index.htm&amp;as=admin_general_encrypt_password_start&amp;ae=admin_general_encrypt_password_end&amp;top=1'), // cpg 1.4
-  array('도움 아이콘 가동 (도움말은 영어에 한함)','enable_help',9, 'f=index.htm&amp;as=admin_general_help&amp;ae=admin_general_help_end'), //cpg1.4
-  array('검색에서 클릭할 수 있는 키워드 허용','clickable_keyword_search',14, 'f=index.htm&amp;as=admin_general_keywords_start&amp;ae=admin_general_keywords_end'), //cpg1.4
-  array('플러그인 가동', 'enable_plugins', 12, 'f=index.htm&amp;as=admin_general_enable-plugins&amp;ae=admin_general_enable-plugins_end'),  //cpg1.4
-  array('라우트 하지 않는(프라이빗) IP 주소 금지 허용', 'ban_private_ip', 1,  'f=index.htm&amp;as=admin_general_private-ip&amp;ae=admin_general_private-ip_end'), //cpg1.4
-  array('일괄처리 인터페이스 보이기', 'browse_batch_add', 1, 'f=index.htm&amp;as=admin_general_browsable_batch_add&amp;ae=admin_general_browsable_batch_add_end'), //cpg1.4
-
-  '언어 &amp; 캐랙터셋 설정',
-  array('언어', 'lang', 5, 'f=index.htm&amp;as=admin_language_language&amp;ae=admin_language_language_end'), //cpg1.4
-  array('번역문을 찾을 수 없으면 영어로 돌아가기?', 'language_fallback', 1, 'f=index.htm&amp;as=admin_language_fallback&amp;ae=admin_language_fallback_end'), //cpg1.4
-  array('캐랙터 인코딩', 'charset', 4, 'f=index.htm&amp;as=admin_language_charset&amp;ae=admin_language_charset_end'), //cpg1.4
-  array('언어 목록 보기', 'language_list', 1, 'f=index.htm&amp;as=admin_language_list&amp;ae=admin_language_list_end'), //cpg1.4
-  array('언어 상징표 보기', 'language_flags', 8, 'f=index.htm&amp;as=admin_language_flags&amp;ae=admin_language_flags_end&amp;top=1'), //cpg1.4
-  array('언어선택에서 &quot;리셋&quot; 보기', 'language_reset', 1, 'f=index.htm&amp;as=admin_language_reset&amp;ae=admin_language_reset_end&amp;top=1'), //cpg1.4
-  //array('탭 페이지의 이전/다음 보기', 'previous_next_tab', 1), //cpg1.4
-
-  '테마 설정',
-  array('테마', 'theme', 6, 'f=index.htm&amp;as=admin_theme_theme&amp;ae=admin_theme_theme_end'), //cpg1.4
-  array('테마 목록 보기', 'theme_list', 1, 'f=index.htm&amp;as=admin_theme_theme_list&amp;ae=admin_theme_theme_list_end'), //cpg1.4
-  array('테마선택에서 &quot;리셋&quot; 보기', 'theme_reset', 1, 'f=index.htm&amp;as=admin_theme_theme_reset&amp;ae=admin_theme_theme_reset_end'), //cpg1.4
-  array('FAQ 보기', 'display_faq', 1, 'f=index.htm&amp;as=admin_theme_faq&amp;ae=admin_theme_faq_end'), //cpg1.4
-  array('커스톰 메뉴 링크 명', 'custom_lnk_name', 0,'f=index.htm&amp;as=admin_theme_custom_lnk_name&amp;ae=admin_theme_custom_lnk_name_end'), //cpg1.4
-  array('커스톰 메뉴 링크 URL', 'custom_lnk_url', 0,'f=index.htm&amp;as=admin_language_custom_lnk_url&amp;ae=admin_language_custom_lnk_url_end'), //cpg1.4
-  array('bbcode 도움말 보기', 'show_bbcode_help', 1, 'f=index.htm&amp;as=admin_theme_bbcode&amp;ae=admin_theme_bbcode_end&amp;top=1'), //cpg1.4
-  array('XHTML 혹은 CSS compliant로 지정된 테마의 vanity block 보기','vanity_block',1, 'f=index.htm&amp;as=vanity_block&amp;ae=vanity_block_end'), //cpg1.4
-  array('커스톰 해더 인쿠르드의 경로', 'custom_header_path', 0, 'f=index.htm&amp;as=admin_theme_include_path_start&amp;ae=admin_theme_include_path_end'), //cpg1.4
-  array('커스톰 후터 인쿠르드의 경로', 'custom_footer_path', 0, 'f=index.htm&amp;as=admin_theme_include_path_start&amp;ae=admin_theme_include_path_end'), //cpg1.4
-
-  '앨범 목록 보기',
-  array('메인 테이블의 너비 (화소수 혹은 %)', 'main_table_width', 0, 'f=index.htm&amp;as=admin_album_table-width&amp;ae=admin_album_table-width_end'), //cpg1.4
-  array('표시할 카타고리의 레벨수', 'subcat_level', 0, 'f=index.htm&amp;as=admin_album_category-levels&amp;ae=admin_album_category-levels_end'), //cpg1.4
-  array('표시할 앨범수', 'albums_per_page', 0, 'f=index.htm&amp;as=admin_album_number&amp;ae=admin_album_number_end'), //cpg1.4
-  array('앨범목록의 칼람수', 'album_list_cols', 0, 'f=index.htm&amp;as=admin_album_columns&amp;ae=admin_album_columns_end'), //cpg1.4
-  array('썸네일의 화소수', 'alb_list_thumb_size', 0, 'f=index.htm&amp;as=admin_album_thumbnail-size&amp;ae=admin_album_thumbnail-size_end'), //cpg1.4
-  array('메인 페이지의 콘텐트', 'main_page_layout', 0, 'f=index.htm&amp;as=admin_album_list_content&amp;ae=admin_album_list_content_end'), //cpg1.4
-  array('카타고리의 첫번째 레벨 앨범 썸네일 보기','first_level',1, 'f=index.htm&amp;as=admin_album_first-level_thumbs&amp;ae=admin_album_first-level_thumbs_end'), //cpg1.4
-  array('카테고리 순차배열 (커스톰 배열방식 대신에)','categories_alpha_sort',1, 'f=index.htm&amp;as=admin_album_list_alphasort_start&amp;ae=admin_album_list_alphasort_end'), //cpg1.4
-  array('링크된 파일 보기','link_pic_count',1, 'f=index.htm&amp;as=admin_album_linked_files_start&amp;ae=admin_album_linked_files_end'), //cpg1.4
-
-  '썸네일 보기',
-  array('썸네일 페이지의 칸(행)수', 'thumbcols', 0, 'f=index.htm&amp;as=admin_thumbnail_columns&amp;ae=admin_thumbnail_columns_end'), //cpg1.4
-  array('썸네일 페이지의 줄(열)수', 'thumbrows', 0, 'f=index.htm&amp;as=admin_thumbnail_rows&amp;ae=admin_thumbnail_rows_end'), //cpg1.4
-  array('표시할 최대 탶의 수', 'max_tabs', 10, 'f=index.htm&amp;as=admin_thumbnail_tabs&amp;ae=admin_thumbnail_tabs_end'), //cpg1.4
-  array('썸네일 아래 파일 캪션 보기 (제목에 덧붙여)', 'caption_in_thumbview', 1, 'f=index.htm&amp;as=admin_thumbnail_display_caption&amp;ae=admin_thumbnail_display_caption_end'), //cpg1.4
-  array('썸네일 아래 조회수 보기', 'views_in_thumbview', 1, 'f=index.htm&amp;as=admin_thumbnail_display_views&amp;ae=admin_thumbnail_display_views_end'), //cpg1.4
-  array('썸네일 아래 코멘트수 보기', 'display_comment_count', 1, 'f=index.htm&amp;as=admin_thumbnail_display_comments&amp;ae=admin_thumbnail_display_comments_end'), //cpg1.4
-  array('썸네일 아래 업로드한 회원 보기', 'display_uploader', 1, 'f=index.htm&amp;as=admin_thumbnail_display_uploader&amp;ae=admin_thumbnail_display_uploader_end'), //cpg1.4
-  //array('썸네일 아래에 업로드 관리자 이름 보기', 'display_admin_uploader', 1, 'f=index.htm&amp;as=admin_thumbnail_display_admin_uploader&amp;ae=admin_thumbnail_display_admin_uploader_end'), //cpg1.4
-  array('썸네일 아래 파일명 보기', 'display_filename', 1, 'f=index.htm&amp;as=admin_thumbnail_display_filename&amp;ae=admin_thumbnail_display_filename_end'), //cpg1.4
-  array('앨범 설명 보기', 'alb_desc_thumb', 1, 'f=index.htm&amp;as=admin_thumbnail_display_description&amp;ae=admin_thumbnail_display_description_end'), //cpg1.4
-  array('파일의 디폴트 배열방식', 'default_sort_order', 3, 'f=index.htm&amp;as=admin_thumbnail_default_sortorder&amp;ae=admin_thumbnail_default_sortorder_end'), //cpg1.4
-  array(' \'최고평점\' 목록에 포함할 파일의 최소 평가수', 'min_votes_for_rating', 0, 'f=index.htm&amp;as=admin_thumbnail_minimum_votes&amp;ae=admin_thumbnail_minimum_votes_end'), //cpg1.4
-
-  '이미지 보기', //cpg1.4
-  array('파일보기에서 테이블의 너비 (화소 or %)', 'picture_table_width', 0, 'f=index.htm&amp;as=admin_image_comment_table-width&amp;ae=admin_image_comment_table-width_end'), //cpg1.4
-  array('디폴트로 파일 정보 보여주기', 'display_pic_info', 1, 'f=index.htm&amp;as=admin_image_comment_info_visible&amp;ae=admin_image_comment_info_visible_end'), //cpg1.4
-  array('이미지설명에 대한 최대 글자수', 'max_img_desc_length', 0, 'f=index.htm&amp;as=admin_image_comment_descr_length&amp;ae=admin_image_comment_descr_length_end'), //cpg1.4
-  array('단어의 최대 글자수', 'max_com_wlength', 0, 'f=index.htm&amp;as=admin_image_comment_chars_per_word&amp;ae=admin_image_comment_chars_per_word_end'), //cpg1.4
-  array('필름 스트립 보기', 'display_film_strip', 1, 'f=index.htm&amp;as=admin_image_comment_filmstrip_toggle&amp;ae=admin_image_comment_filmstrip_toggle_end'), //cpg1.4
-  array('필름 스트립 썸네일 아래 파일명 보여주기', 'display_film_strip_filename', 1, 'f=index.htm&amp;as=admin_image_comment_display_film_strip_filename&amp;ae=admin_image_comment_display_film_strip_filename_end'), //cpg1.4
-  array('필름 스트립의 아이템 갯수', 'max_film_strip_items', 0, 'f=index.htm&amp;as=admin_image_comment_filmstrip_number&amp;ae=admin_image_comment_filmstrip_number_end'), //cpg1.4
-  array('슬라이드쇼의 간격을 밀리초로 (1 초 = 1000 밀리초)', 'slideshow_interval', 0, 'f=index.htm&amp;as=admin_image_comment_slideshow_interval&amp;ae=admin_image_comment_slideshow_interval_end'), //cpg1.4
-
-  '코멘트 설정', //cpg1.4
-  array('코멘트에 나쁜단어 걸르기', 'filter_bad_words', 1, 'f=index.htm&amp;as=admin_image_comment_bad_words&amp;ae=admin_image_comment_bad_words_end'), //cpg1.4
-  array('코멘트에 스마일 허용', 'enable_smilies', 1, 'f=index.htm&amp;as=admin_image_comment_smilies&amp;ae=admin_image_comment_smilies_end'), //cpg1.4
-  array('동일한 회원이 동일한 파일에 연달아 코멘트 달기 허용 (범람방지 기능안함)', 'disable_comment_flood_protect', 1, 'f=index.htm&amp;as=admin_image_comment_flood&amp;ae=admin_image_comment_flood_end'), //cpg1.4
-  array('코멘트의 최대 줄수', 'max_com_lines', 0, 'f=index.htm&amp;as=admin_image_comment_lines&amp;ae=admin_image_comment_lines_end'), //cpg1.4
-  array('코멘트의 최대 글자수', 'max_com_size', 0, 'f=index.htm&amp;as=admin_image_comment_length&amp;ae=admin_image_comment_length_end'), //cpg1.4
-  array('이메일로 관리자에게 코멘트 통보하기', 'email_comment_notification', 1, 'f=index.htm&amp;as=admin_image_comment_admin_notify&amp;ae=admin_image_comment_admin_notify_end'), //cpg1.4
-  array('코멘트의 배열방식', 'comments_sort_descending', 17, 'f=index.htm&amp;as=admin_comment_sort_start&amp;ae=admin_comment_sort_end'), //cpg1.4
-  array('익명 코멘트 생성자의 접두어', 'comments_anon_pfx', 0, 'f=index.htm&amp;as=comments_anon_pfx&amp;ae=comments_anon_pfx_end'), //cpg1.4
-
-  '파일 그리고 썸네일 설정',
-  array('JPEG 파일의 질', 'jpeg_qual', 0, 'f=index.htm&amp;as=admin_picture_thumbnail_jpeg_quality&amp;ae=admin_picture_thumbnail_jpeg_quality_end'), //cpg1.4
-  array('썸네일의 최대 디멘젼 <a href="#notice2" class="clickable_option">**</a>', 'thumb_width', 0, 'f=index.htm&amp;as=admin_picture_thumbnail_max-dimension&amp;ae=admin_picture_thumbnail_max-dimension_end'), //cpg1.4
-  array('디멘젼 사용 ( 너비 혹은 높이 혹은 썸네일의 최대 외관) <a href="#notice2" class="clickable_option">**</a>', 'thumb_use', 7, 'f=index.htm&amp;as=admin_picture_thumbnail_use-dimension&amp;ae=admin_picture_thumbnail_use-dimension_end'), //cpg1.4
-  array('중간 사진 생성','make_intermediate',1, 'f=index.htm&amp;as=admin_picture_thumbnail_intermediate_toggle&amp;ae=admin_picture_thumbnail_intermediate_toggle_end'), //cpg1.4
-  array('중간 사진/비디오의 최대 너비 혹은 높이 <a href="#notice2" class="clickable_option">**</a>', 'picture_width', 0, 'f=index.htm&amp;as=admin_picture_thumbnail_intermediate_dimension&amp;ae=admin_picture_thumbnail_intermediate_dimension_end'), //cpg1.4
-  array('업로드 파일의 최대 크기 (KB)', 'max_upl_size', 0, 'f=index.htm&amp;as=admin_picture_thumbnail_max_upload_size&amp;ae=admin_picture_thumbnail_max_upload_size_end'), //cpg1.4
-  array('업로드 사진/비디오의 최대 너비 혹은 높이 (화소)', 'max_upl_width_height', 0, 'f=index.htm&amp;as=admin_picture_thumbnail_max_upload_dimension&amp;ae=admin_picture_thumbnail_max_upload_dimension_end'), //cpg1.4
-  array('최대 너비 혹은 높이를 초과하면 자동으로 이미지 크기가 변환', 'auto_resize', 16, 'f=index.htm&amp;as=admin_picture_thumbnail_auto-resize&amp;ae=admin_picture_thumbnail_auto-resize_end'), //cpg1.4
-
-  '파일과 썸네일의 고급 설정',
-  array('앨범을 개인용으로 변경 (Note: 만일 \'예\' 가 \'아니오\'로 바뀌면 모든 개인앨범이 공개앨범으로 됨)', 'allow_private_albums', 1, 'f=index.htm&amp;as=admin_picture_thumb_advanced_private_toggle&amp;ae=admin_picture_thumb_advanced_private_toggle_end'), //cpg1.4
-  array('개인앨범 아이콘을 로그인하지 않은 사람에게 보여줌','show_private',1, 'f=index.htm&amp;as=admin_picture_thumb_advanced_private_icon_show&amp;ae=admin_picture_thumb_advanced_private_icon_show_end'), //cpg1.4
-  array('파일명에 사용하지 못하는 글자', 'forbiden_fname_char',0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_filename_forbidden_chars&amp;ae=admin_picture_thumb_advanced_filename_forbidden_chars_end'), //cpg1.4
-  //array('업로드 파일에 허용되는 파일 확장자', 'allowed_file_extensions',0, 'f=index.htm&amp;as=&amp;ae=_end'), //cpg1.4
-  array('허용하는 이미지 타입', 'allowed_img_types',0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_pic_extensions&amp;ae=admin_picture_thumb_advanced_pic_extensions_end'), //cpg1.4
-  array('허용하는 무비 타입', 'allowed_mov_types',0, 'f=index.htm&amp;as=admin_thumbs_advanced_movie&amp;ae=admin_thumbs_advanced_movie_end'), //cpg1.4
-  array('무비 재생시 자동시작', 'media_autostart',1, 'f=index.htm&amp;as=admin_movie_autoplay&amp;ae=admin_movie_autoplay_end'), //cpg1.4
-  array('허용하는 오디오 타입', 'allowed_snd_types',0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_audio_extensions&amp;ae=admin_picture_thumb_advanced_audio_extensions_end'), //cpg1.4
-  array('허용하는 문서 타입', 'allowed_doc_types',0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_doc_extensions&amp;ae=admin_picture_thumb_advanced_doc_extensions_end'), //cpg1.4
-  array('이미지 크기 바꾸는 방법','thumb_method',2, 'f=index.htm&amp;as=admin_picture_thumb_advanced_resize_method&amp;ae=admin_picture_thumb_advanced_resize_method_end'), //cpg1.4
-  array('ImageMagick \'변환\' 유틸리티의 경로 (예: /usr/bin/X11/)', 'impath', 0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_im_path&amp;ae=admin_picture_thumb_advanced_im_path_end'), //cpg1.4
-  //array('허용하는 이미지 타입 (ImageMagick에만 적용)', 'allowed_img_types',0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_allowed_imagetypes&amp;ae=admin_picture_thumb_advanced_allowed_imagetypes_end'), //cpg1.4
-  array('ImageMagick의 코맨드 라인 옵션', 'im_options', 0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_im_commandline&amp;ae=admin_picture_thumb_advanced_im_commandline_end'), //cpg1.4
-  array('JPEG 파일의 EXIF 데이타 읽기', 'read_exif_data', 13, 'f=index.htm&amp;as=admin_picture_thumb_advanced_exif&amp;ae=admin_picture_thumb_advanced_exif_end'), //cpg1.4
-  array('JPEG 파일의 IPTC 데이타 읽기', 'read_iptc_data', 1, 'f=index.htm&amp;as=admin_picture_thumb_advanced_iptc&amp;ae=admin_picture_thumb_advanced_iptc_end'), //cpg1.4
-  array('앨범 디렉토리 <a href="#notice1" class="clickable_option">*</a>', 'fullpath', 0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_albums_dir&amp;ae=admin_picture_thumb_advanced_albums_dir_end'), //cpg1.4
-  array('사용자 파일의 디렉토리 <a href="#notice1" class="clickable_option">*</a>', 'userpics', 0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_userpics_dir&amp;ae=admin_picture_thumb_advanced_userpics_dir_end'), //cpg1.4
-  array('중간 사진의 접두어 <a href="#notice1" class="clickable_option">*</a>', 'normal_pfx', 0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_intermediate_prefix&amp;ae=admin_picture_thumb_advanced_intermediate_prefix_end'), //cpg1.4
-  array('썸네일의 접두어 <a href="#notice1" class="clickable_option">*</a>', 'thumb_pfx', 0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_thumbs_prefix&amp;ae=admin_picture_thumb_advanced_thumbs_prefix_end'), //cpg1.4
-  array('디렉토리의 디폴트 모드', 'default_dir_mode', 0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_chmod_folder&amp;ae=admin_picture_thumb_advanced_chmod_folder_end'), //cpg1.4
-  array('파일의 디폴트  모드', 'default_file_mode', 0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_chmod_files&amp;ae=admin_picture_thumb_advanced_chmod_files_end'), //cpg1.4
-
-  '사용자 설정',
-  array('새로운 사용자 등록 허용', 'allow_user_registration', 1, 'f=index.htm&amp;as=admin_allow_registration&amp;ae=admin_allow_registration_end'), //cpg1.4
-  array('로그인 하지 않은 사람의 허용 (손님 혹은 익명인)', 'allow_unlogged_access', 1, 'f=index.htm&amp;as=admin_allow_unlogged_access&amp;ae=admin_allow_unlogged_access_end'), //cpg1.4
-  array('사용자 등록시 이메일 검사 필요', 'reg_requires_valid_email', 1, 'f=index.htm&amp;as=admin_registration_verify&amp;ae=admin_registration_verify_end'), //cpg1.4
-  array('사용자 등록을 관리자에게 이메일 통보', 'reg_notify_admin_email', 1, 'f=index.htm&amp;as=admin_registration_notify&amp;ae=admin_registration_notify_end'), //cpg1.4
-  array('등록을 관리자가 활성화', 'admin_activation', 1, 'f=index.htm&amp;as=admin_activation&amp;ae=admin_activation_end'),  //cpg1.4
-  array('두 사용자가 동일한 이메일 주소 사용 가능', 'allow_duplicate_emails_addr', 1, 'f=index.htm&amp;as=admin_allow_duplicate_emails_addr&amp;ae=admin_allow_duplicate_emails_addr_end'), //cpg1.4
-  array('승인을 기다리는 사용자 업로드를 관리자에게 통보', 'upl_notify_admin_email', 1, 'f=index.htm&amp;as=admin_approval_notify&amp;ae=admin_approval_notify_end'), //cpg1.4
-  array('로그인한 사용자의 회원명단 보기 허용', 'allow_memberlist', 1, 'f=index.htm&amp;as=admin_user_memberlist&amp;ae=admin_user_memberlist_end'), //cpg1.4
-  array('사용자가 자신의 프로파일에서 이메일 주소 변경 가능', 'allow_email_change', 1, 'f=index.htm&amp;as=admin_user_allow_email_change&amp;ae=admin_user_allow_email_change_end'), //cpg1.4
-  array('공개 갤러리에 있는 회원 본인의 사진을 변경 가능', 'users_can_edit_pics', 1, 'f=index.htm&amp;as=admin_user_editpics_public_start&amp;ae=admin_user_editpics_public_end'), //cpg1.4
-  array('로그인 실패 허용 횟수. 허용횟수를 초과하면 임시 사용제한상태로 됨 (해커 방지책)', 'login_threshold', 0, 'f=index.htm&amp;as=admin_user_login_start&amp;ae=admin_user_login_end'), //cpg1.4
-  array('로그인 실패후 임시 사용제한 기간', 'login_expiry', 0, 'f=index.htm&amp;as=admin_user_login_start&amp;ae=admin_user_login_end'), //cpg1.4
-  array('관리자에게 보고 가능', 'report_post', 1, 'f=index.htm&amp;as=admin_user_enable_report&amp;ae=admin_user_enable_report_end'),  //cpg1.4
-
-// custom profile fields,  //cpg1.4
-  '사용자 프로필의 커스톰 항목 (사용하지 않으면 공란으로).
-  일대기와 같은 내용이 긴 경우에는 프로필 6 를 사용하세요.', //cpg1.4
-  array('프로필 1 명칭', 'user_profile1_name', 0, 'f=index.htm&amp;as=admin_custom&amp;ae=admin_custom_end'), //cpg1.4
-  array('프로필 2 명칭', 'user_profile2_name', 0), //cpg1.4
-  array('프로필 3 명칭', 'user_profile3_name', 0), //cpg1.4
-  array('프로필 4 명칭', 'user_profile4_name', 0), //cpg1.4
-  array('프로필 5 명칭', 'user_profile5_name', 0), //cpg1.4
-  array('프로필 6 명칭', 'user_profile6_name', 0), //cpg1.4
-
-  '이미지 설명을 위한 커스톰 항목 (사용하지 않으면 공란으로)',
-  array('항목 1 명칭', 'user_field1_name', 0, 'f=index.htm&amp;as=admin_custom_image&amp;ae=admin_custom_image_end'), //cpg1.4
-  array('항목 2 명칭', 'user_field2_name', 0),
-  array('항목 3 명칭', 'user_field3_name', 0),
-  array('항목 4 명칭', 'user_field4_name', 0),
-
-  '쿠키 설정',
-  array('쿠키이름', 'cookie_name', 0, 'f=index.htm&amp;as=admin_cookie_name&amp;ae=admin_cookie_name_end'), //cpg1.4
-  array('쿠키경로', 'cookie_path', 0, 'f=index.htm&amp;as=admin_cookie_path&amp;ae=admin_cookie_path_end'), //cpg1.4
-
-  '이메일 설정 (대체로 이곳에서 변경될 것이 없음; 확실하지 않으면 이 필드를 공란으로 남기세요)', //cpg1.4
-  array('SMTP 호스트 (공란일 경우, 보낸메일이 사용됨)', 'smtp_host', 0, 'f=index.htm&amp;as=admin_email&amp;ae=admin_email_end'), //cpg1.4
-  array('SMTP 아이디', 'smtp_username', 0), //cpg1.4
-  array('SMTP 비밀번호', 'smtp_password', 0), //cpg1.4
-
-  '로깅과 통계', //cpg1.4
-  array('로깅 모드 <a href="#notice3" class="clickable_option">***</a>', 'log_mode', 11, 'f=index.htm&amp;as=admin_logging_log_mode&amp;ae=admin_logging_log_mode_end'), //cpg1.4
-  array('ecards 로그', 'log_ecards', 1, 'f=index.htm&amp;as=admin_general_log_ecards&amp;ae=admin_general_log_ecards_end'), //cpg1.4
-  array('상세한 평가통계 보관하기','vote_details',1, 'f=index.htm&amp;as=admin_logging_votedetails&amp;ae=admin_logging_votedetails_end'), //cpg1.4
-  array('상세한 조회통계 보관하기','hit_details',1, 'f=index.htm&amp;as=admin_logging_hitdetails&amp;ae=admin_logging_hitdetails_end'), //cpg1.4
-
-  '관리 설정', //cpg1.4
-  array('디버그 모드 작동', 'debug_mode', 9, 'f=index.htm&amp;as=debug_mode&amp;ae=debug_mode_end'), //cpg1.4
-  array('디버그모드에서 경고사항 보이기', 'debug_notice', 1, 'f=index.htm&amp;as=admin_misc_debug_notices&amp;ae=admin_misc_debug_notices_end'), //cpg1.4
-  array('갤러리가 오프라인입니다', 'offline', 1, 'f=index.htm&amp;as=admin_general_offline&amp;ae=admin_general_offline_end'), //cpg1.4
-);
-
-
-// ------------------------------------------------------------------------- //
-// File db_ecard.php
-// ------------------------------------------------------------------------- //
-
-if (defined('DB_ECARD_PHP')) $lang_db_ecard_php = array(
-  'title' => 'ecards 발송',
-  'ecard_sender' => '보낸이',
-  'ecard_recipient' => '받는이',
-  'ecard_date' => '날자',
-  'ecard_display' => 'ecard 보기',
-  'ecard_name' => '성명',
-  'ecard_email' => '이메일',
-  'ecard_ip' => 'IP 주소',
-  'ecard_ascending' => '순차배열',
-  'ecard_descending' => '역순',
-  'ecard_sorted' => '정렬을',
-  'ecard_by_date' => '일자로',
-  'ecard_by_sender_name' => '보낸이의 이름으로',
-  'ecard_by_sender_email' => '보낸이의 이메일로',
-  'ecard_by_sender_ip' => '보낸이의 IP 주소로',
-  'ecard_by_recipient_name' => '받는이의 이름으로',
-  'ecard_by_recipient_email' => '받는이의 이메일로',
-  'ecard_number' => '레코드 %s 에서 %s 까지 보기, %s 에 있는',
-  'ecard_goto_page' => '페이지로 가기',
-  'ecard_records_per_page' => '페이지당 레코드',
-  'check_all' => '모두 선택',
-  'uncheck_all' => '모두 선택해제',
-  'ecards_delete_selected' => '선택한 ecards 지우기',
-  'ecards_delete_confirm' => '정말로 레코드를 삭제하시겠습니까?? 체크박스를 선택하세요!',
-  'ecards_delete_sure' => '예! 확인합니다',
-);
-
-
-// ------------------------------------------------------------------------- //
-// File db_input.php
-// ------------------------------------------------------------------------- //
-
-if (defined('DB_INPUT_PHP')) $lang_db_input_php = array(
-  'empty_name_or_com' => '이름과 코멘드를 입력하세요.',
-  'com_added' => '코멘트가 등록되었습니다.',
-  'alb_need_title' => '앨범의 제목을 입력하세요 !',
-  'no_udp_needed' => '업데이트가 불필요합니다.',
-  'alb_updated' => '앨범이 수정되었습니다.',
-  'unknown_album' => '선택한 앨범이 존재하지 않습니다. 혹은 이 앨범에 업로드할 권한이 없습니다.',
-  'no_pic_uploaded' => '업로드된 파일이 없습니다 !<br /><br />업로드할 파일을 선택하였었다면, 서버가 파일 업로드를 허용하는지 확인하세요...',
-  'err_mkdir' => '디렉토리 %s 을 생성할 수 없습니다!',
-  'dest_dir_ro' => '스크립터에 의하여 목적지 디렉토리 %s 에 기록을 할 수 없습니다 !',
-  'err_move' => ' %s 에서 %s 로 이동할 수 없습니다!',
-  'err_fsize_too_large' => '업로드한 파일이 너무 큽니다 (최대허용량은 %s x %s) !', //obsolete since cpg1.3 - consider removal in cpg1.4 once upload.php has been overhauled
-  'err_imgsize_too_large' => '업로드한 파일이 너무 큽니다 (최대 허용치는 %s KB) !', //obsolete since cpg1.3 - consider removal in cpg1.4 once upload.php has been overhauled
-  'err_invalid_img' => '업로드한 파일이 유효한 이미지가 아닙니다 !',
-  'allowed_img_types' => '귀하는 %s 이미지만 업로드할 수 있습니다.',
-  'err_insert_pic' => '파일 \'%s\' 을 앨범에 수록될 수 없습니다.',
-  'upload_success' => '파일이 성공적으로 업로드 되었습니다.<br /><br />관리자 승인후에 볼 수 있습니다.',
-  'notify_admin_email_subject' => '%s - 업로드 통보',
-  'notify_admin_email_body' => ' %s이 업로드한 사진이 승인을 기다리고 있습니다.  %s을 방문하세요.',
-  'info' => '알려드립니다',
-  'com_added' => '코멘트 등록완료',
-  'alb_updated' => '앨범 수정완료',
-  'err_comment_empty' => '코멘트가 비어있습니다 !',
-  'err_invalid_fext' => '다음 확장자를 가진 파일만 허용합니다 : <br /><br />%s.',
-  'no_flood' => '미안합니다. 귀하는 이미 이 파일에 마지막 코멘트 작성자입니다 <br /><br />귀하의 코멘트를 변경하기를 원하시면 편집을 하세요',
-  'redirect_msg' => '리디렉렉트 중입니다.<br /><br /><br />만일 자동으로 리후레시되지 않으면 \'다음\'을 클릭하세요',
-  'upl_success' => '이미지가 추가 되었습니다.',
-  'email_comment_subject' => '코퍼마인 포토 갤러리에 코멘트가 올라왔습니다.',
-  'email_comment_body' => '혹자가 귀하의 갤러리에 코멘트를 달았습니다. 이곳에서 보세요.',
-  'album_not_selected' => '앨범이 선택되지 않았습니다.', //cpg1.4
-  'com_author_error' => '다른 회원이 이 닉네임을 사용합니다, 로그인 혹은 다른 것을 사용하세요.', //cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File delete.php
-// ------------------------------------------------------------------------- //
-
-if (defined('DELETE_PHP')) $lang_delete_php = array(
-  'caption' => '캡션',
-  'fs_pic' => '원본 이미지',
-  'del_success' => '삭제되었습니다!',
-  'ns_pic' => '보통 크기 이미지',
-  'err_del' => '삭제되지 않았습니다',
-  'thumb_pic' => '썸네일',
-  'comment' => '코멘트',
-  'im_in_alb' => '엘범에 있는 이미지',
-  'alb_del_success' => '앨범 &laquo;%s&raquo; 삭제되었슴', //cpg1.4
-  'alb_mgr' => '앨범 관리자',
-  'err_invalid_data' => ' \'%s\' 에 오류 데이타 도착',
-  'create_alb' => '\'%s\' 앨범생성',
-  'update_alb' => '앨범 \'%s\' 을 제목 \'%s\' 과 인텍스 \'%s\' 로 수정',
-  'del_pic' => '이미지 삭제',
-  'del_alb' => '앨범 삭제',
-  'del_user' => '사용자 삭제',
-  'err_unknown_user' => '선택한 사용자가 존재하지 않습니다 !',
-  'err_empty_groups' => '그룹테이블이 없습니다, 혹은 그룹테이블이 비어 있습니다!', //cpg1.4
-  'comment_deleted' => '코멘트가 삭제되었습니다.',
-  'npic' => '이미지', //cpg1.4
-  'pic_mgr' => '이미지 관리자', //cpg1.4
-  'update_pic' => '사진 수정중 \'%s\' 파일명 \'%s\' 인덱스 \'%s\'', //cpg1.4
-  'username' => '사용자', //cpg1.4
-  'anonymized_comments' => '%s 익명 코멘트', //cpg1.4
-  'anonymized_uploads' => '%s 익명 공공 업로드', //cpg1.4
-  'deleted_comments' => '%s 코멘트 삭제', //cpg1.4
-  'deleted_uploads' => '%s 공개 업로드 삭제', //cpg1.4
-  'user_deleted' => '사용자 %s 삭제', //cpg1.4
-  'activate_user' => '활성화된 회원', //cpg1.4
-  'user_already_active' => '계정이 이미 활성화중 입니다.', //cpg1.4
-  'activated' => '활성화됨', //cpg1.4
-  'deactivate_user' => '비활성화 회원', //cpg1.4
-  'user_already_inactive' => '계정이 이미 비활성화중 입니다.', //cpg1.4
-  'deactivated' => '비활성화됨', //cpg1.4
-  'reset_password' => '비밀번호 리셋', //cpg1.4
-  'password_reset' => '비밀번호를 %s 로 리셋', //cpg1.4
-  'change_group' => '1차 그룹 수정', //cpg1.4
-  'change_group_to_group' => '변경 %s 을 %s 로', //cpg1.4
-  'add_group' => '2차 그룹 추가', //cpg1.4
-  'add_group_to_group' => '사용자 %s를 그룹 %s에 추가. 이 사용자는 %s의 1차 그룹 그리고  %s의 2차그룹 회원입니다.', //cpg1.4
-  'status' => '상태', //cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File displayecard.php
-// ------------------------------------------------------------------------- //
-
-if (defined('DISPLAYECARD_PHP')) {
-
-$lang_displayecard_php = array(
-  'invalid_data' => '귀하가 참조하려는 ecard 의 자료가 메일 크라이언트에 의해 손실되었습니다. 경로를 확인하세요.', //cpg1.4
-);
-}
-
-// ------------------------------------------------------------------------- //
-// File displayimage.php
-// ------------------------------------------------------------------------- //
-
-if (defined('DISPLAYIMAGE_PHP')){
-
-$lang_display_image_php = array(
-  'confirm_del' => '파일을 삭제하시렵니까 ? \\n코멘트도 삭제됩니다.', //js-alert
-  'del_pic' => '파일 삭제',
-  'size' => '%s x %s 화소',
-  'views' => '%s 회',
-  'slideshow' => '슬라이드쇼',
-  'stop_slideshow' => '슬라이드쇼 중지',
-  'view_fs' => '클릭하여 원래 크기로 보기',
-  'edit_pic' => '사진 정보 수정', //cpg1.4
-  'crop_pic' => '추출/회전',
-  'set_player' => '플레어 변경',
-);
-
-$lang_picinfo = array(
-  'title' =>'파일 정보',
-  'Filename' => '파일명',
-  'Album name' => '앨범명',
-  'Rating' => '평점 (%s 평가)',
-  'Keywords' => '키워드',
-  'File Size' => '파일 크기',
-  'Date Added' => '입력 날자', //cpg1.4
-  'Dimensions' => '디멘죤',
-  'Displayed' => '조회수',
-  'URL' => 'URL', //cpg1.4
-  'Make' => '제조업체', //cpg1.4
-  'Model' => '제품명', //cpg1.4
-  'DateTime' => '일자 시간', //cpg1.4
-  'DateTimeOriginal' => '촬영일시', //cpg1.4
-  'ISOSpeedRatings'=>'ISO', //cpg1.4
-  'MaxApertureValue' => '최대 구경', //cpg1.4
-  'FocalLength' => '포칼 렝스', //cpg1.4
-  'Comment' => '코멘트',
-  'addFav'=>'즐겨찾기에 추가',
-  'addFavPhrase'=>'즐겨찾기',
-  'remFav'=>'즐겨찾기에서 삭제',
-  'iptcTitle'=>'IPTC 제목',
-  'iptcCopyright'=>'IPTC 저작권',
-  'iptcKeywords'=>'IPTC 키워드',
-  'iptcCategory'=>'IPTC 카테고리',
-  'iptcSubCategories'=>'IPTC 부-카테고리',
-  'ColorSpace' => '칼라 스페이스', //cpg1.4
-  'ExposureProgram' => '노출 프로그램', //cpg1.4
-  'Flash' => '플래시', //cpg1.4
-  'MeteringMode' => '메터링 모드', //cpg1.4
-  'ExposureTime' => '노출 시간', //cpg1.4
-  'ExposureBiasValue' => '노출 바이아스', //cpg1.4
-  'ImageDescription' => ' 이미지 설명', //cpg1.4
-  'Orientation' => '오리엔테이션', //cpg1.4
-  'xResolution' => 'X 해상도', //cpg1.4
-  'yResolution' => 'Y 해상도', //cpg1.4
-  'ResolutionUnit' => '해상도 단위', //cpg1.4
-  'Software' => '소프트웨어', //cpg1.4
-  'YCbCrPositioning' => 'YCbCrPositioning', //cpg1.4
-  'ExifOffset' => 'Exif 오프세트', //cpg1.4
-  'IFD1Offset' => 'IFD1 오프세트', //cpg1.4
-  'FNumber' => 'FNumber', //cpg1.4
-  'ExifVersion' => 'Exif 버젼', //cpg1.4
-  'DateTimeOriginal' => 'DateTime Original', //cpg1.4
-  'DateTimedigitized' => 'DateTime digitized', //cpg1.4
-  'ComponentsConfiguration' => 'Components Configuration', //cpg1.4
-  'CompressedBitsPerPixel' => 'Compressed Bits Per Pixel', //cpg1.4
-  'LightSource' => 'Light 소스', //cpg1.4
-  'ISOSetting' => 'ISO 설정', //cpg1.4
-  'ColorMode' => '칼라 모드', //cpg1.4
-  'Quality' => '퀄리티', //cpg1.4
-  'ImageSharpening' => 'Image Sharpening', //cpg1.4
-  'FocusMode' => '포커스 모드', //cpg1.4
-  'FlashSetting' => '플래시 설정', //cpg1.4
-  'ISOSelection' => 'ISO 선택', //cpg1.4
-  'ImageAdjustment' => '이미지 조절', //cpg1.4
-  'Adapter' => '아답터', //cpg1.4
-  'ManualFocusDistance' => '메뉴얼 포커스 거리', //cpg1.4
-  'DigitalZoom' => '디지탈 줌', //cpg1.4
-  'AFFocusPosition' => 'AF 포커스 포지션', //cpg1.4
-  'Saturation' => '채도', //cpg1.4
-  'NoiseReduction' => '노이즈 제거', //cpg1.4
-  'FlashPixVersion' => '플래쉬 픽스 버젼', //cpg1.4
-  'ExifImageWidth' => 'Exif 이미지 너비', //cpg1.4
-  'ExifImageHeight' => 'Exif 이미지 높이', //cpg1.4
-  'ExifInteroperabilityOffset' => 'Exif Interoperability Offset', //cpg1.4
-  'FileSource' => '파일 소스', //cpg1.4
-  'SceneType' => '씬 타입', //cpg1.4
-  'CustomerRender' => '커스토머 렌더', //cpg1.4
-  'ExposureMode' => '익스포져 모드', //cpg1.4
-  'WhiteBalance' => '화이트 발란스', //cpg1.4
-  'DigitalZoomRatio' => '디지탈 줌 비율', //cpg1.4
-  'SceneCaptureMode' => '씬 캪쳐 모드', //cpg1.4
-  'GainControl' => 'Gain Control', //cpg1.4
-  'Contrast' => '콘트라스트', //cpg1.4
-  'Saturation' => '채도', //cpg1.4
-  'Sharpness' => '샤프니스', //cpg1.4
-  'ManageExifDisplay' => 'Exif 보기 관리', //cpg1.4
-  'submit' => '보냄', //cpg1.4
-  'success' => '성공적으로 정보수정 완료.', //cpg1.4
-  'details' => '세부사항', //cpg1.4
-);
-
-$lang_display_comments = array(
-  'OK' => '등록',
-  'edit_title' => '코멘트 편집',
-  'confirm_delete' => '이 코멘트를 삭제하겠습니까 ?', //js-alert
-  'add_your_comment' => '코멘트 등록',
-  'name'=>'이름',
-  'comment'=>'코멘트',
-  'your_name' => '지매',
-  'report_comment_title' => '이 코메트를 관리자에게 알림', //cpg1.4
-);
-
-$lang_fullsize_popup = array(
-  'click_to_close' => '화면을 클릭하시면 창이 닫힙니다',
-);
-
-}
-
-// ------------------------------------------------------------------------- //
-// File ecard.php
-// ------------------------------------------------------------------------- //
-
-if (defined('ECARDS_PHP') || defined('DISPLAYECARD_PHP')) $lang_ecard_php =array(
-  'title' => 'e-card 보내기',
-  'invalid_email' => '<font color="red"><b>주의</b></font>: 유효하지 않은 이메일 주소:', //cpg1.4
-  'ecard_title' => '당신에게 %s가 보낸 e-card',
-  'error_not_image' => 'ecard로 이미지만 전송할 수 있습니다.',
-  'view_ecard' => 'e-card 가 정확하게 보여지지 않을 경우 교체 경로', //cpg1.4
-  'view_ecard_plaintext' => 'ecard를 미리보기 위하여, url을 브라우저의 주소창에 복사하세요:', //cpg1.4
-  'view_more_pics' => '더 많은 사진 보기 !', //cpg1.4
-  'send_success' => 'ecard가 발송되었습니다',
-  'send_failed' => '죄송합니다, 서버가 귀하의 e-card를 보낼 수 없습니다.',
-  'from' => '보낸이',
-  'your_name' => '보낸이 성명',
-  'your_email' => '보낸이 이메일 주소',
-  'to' => '받는이',
-  'rcpt_name' => '받는이 성명',
-  'rcpt_email' => '받는이 이메일 주소',
-  'greetings' => '제목', //cpg1.4
-  'message' => '메세지', //cpg1.4
-  'ecards_footer' => '보맨이 %s IP 주소 %s 시각 %s (갤러리 시각)', //cpg1.4
-  'preview' => 'ecard 미리보기', //cpg1.4
-  'preview_button' => '미리보기', //cpg1.4
-  'submit_button' => 'ecard 발송', //cpg1.4
-  'preview_view_ecard' => 'ecard가 생성이 되면 이것은 그곳으로의 교체경로가 됩니다. 미리보기에서는 작동하지 않습니다.', //cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File report_file.php //cpg1.4
-// ------------------------------------------------------------------------- //
-
-if (defined('REPORT_FILE_PHP') || defined('DISPLAYREPORT_PHP')) $lang_report_php =array(
-  'title' => '관리자에게 알리기', //cpg1.4
-  'invalid_email' => '<b>경고</b> : email 주소 오류 !', //cpg1.4
-  'report_subject' => ' %s 가 갤러리 %s에서 보낸 보고서', //cpg1.4
-  'view_report' => '리포트가 정확히 보이지 않을 때의 교체경로', //cpg1.4
-  'view_report_plaintext' => '리포트를 보시려면, 브라우저 주소창에 이 url을 잘라내어 붙이세요:', //cpg1.4
-  'view_more_pics' => '갤러리', //cpg1.4
-  'send_success' => '귀하의 보고서가 발송 되었습니다.', //cpg1.4
-  'send_failed' => '미안합니다. 서버가 귀하의 보고서를 보낼 수 없습니다...', //cpg1.4
-  'from' => '보낸이', //cpg1.4
-  'your_name' => '귀하의 성명', //cpg1.4
-  'your_email' => '귀하의 이메일 주소', //cpg1.4
-  'to' => '받는이', //cpg1.4
-  'administrator' => '관리자/모드', //cpg1.4
-  'subject' => '제목', //cpg1.4
-  'comment_field_name' => '코멘트에 "%s" 가 작성', //cpg1.4
-  'reason' => '사유', //cpg1.4
-  'message' => '메세지', //cpg1.4
-  'report_footer' => '%s가 IP %s에서 보냄 : %s (갤러리 시각)', //cpg1.4
-  'obscene' => '부도덕함', //cpg1.4
-  'offensive' => '불쾌함', //cpg1.4
-  'misplaced' => '토픽과 무관/잘못 위치선정', //cpg1.4
-  'missing' => '분실', //cpg1.4
-  'issue' => '오류/볼 수 없음', //cpg1.4
-  'other' => '기타', //cpg1.4
-  'refers_to' => '다음에 관련한 파일 리포트', //cpg1.4
-  'reasons_list_heading' => '보고 동기:', //cpg1.4
-  'no_reason_given' => '사유 없음', //cpg1.4
-  'go_comment' => '코멘트로 가기', //cpg1.4
-  'view_comment' => '코멘트와 함께 전체 보고서 보기', //cpg1.4
-  'type_file' => '파일', //cpg1.4
-  'type_comment' => '코멘트', //cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File editpics.php
-// ------------------------------------------------------------------------- //
-
-if (defined('EDITPICS_PHP')) $lang_editpics_php = array(
-  'pic_info' => '이미지 상세정보',
-  'album' => '앨범',
-  'title' => '이미지 제목',
-  'filename' => '파일명', //cpg1.4
-  'desc' => '이미지 설명',
-  'keywords' => '검색 키워드',
-  'new_keyword' => '신규 키워드', //cpg1.4
-  'new_keywords' => '신규 키워드 발견', //cpg1.4
-  'existing_keyword' => '존재하는 키워드', //cpg1.4
-  'pic_info_str' => '%s &times; %s - %s KB - %s 조회 - %s 평가',
-  'approve' => '파일 승인',
-  'postpone_app' => '승인 연기',
-  'del_pic' => '이미지 삭제',
-  'del_all' => '모든 이미지 삭제', //cpg1.4
-  'read_exif' => 'EXIF info 를 다시보기',
-  'reset_view_count' => '조회수 지우기',
-  'reset_all_view_count' => '모든 조회수 지우기', //cpg1.4
-  'reset_votes' => '평가 지우기',
-  'reset_all_votes' => '모든 평가 지우기', //cpg1.4
-  'del_comm' => '코멘트 지우기',
-  'del_all_comm' => '모든 코멘트 지우기', //cpg1.4
-  'upl_approval' => '업로드 승인', //cpg1.4
-  'edit_pics' => '이미지 편집',
-  'see_next' => '다음',
-  'see_prev' => '이전',
-  'n_pic' => '%s 이미지',
-  'n_of_pic_to_disp' => '표시할 이미지수',
-  'apply' => '변경 적용',
-  'crop_title' => '코퍼마인 사진 편집기',
-  'preview' => '미리보기',
-  'save' => '이미지 저장',
-  'save_thumb' =>'썸네일로 저장',
-  'gallery_icon' => '이것을 나의 아이콘으로 만들기', //cpg1.4
-  'sel_on_img' =>'선택은 모두 이미지 위에서 하여야 합니다!', //js-alert
-  'album_properties' =>'앨범 프로퍼티', //cpg1.4
-  'parent_category' =>'상위 카테고리', //cpg1.4
-  'thumbnail_view' =>'쎔네일 보기', //cpg1.4
-  'select_unselect' =>'모두 선택/선택해제', //cpg1.4
-  'file_exists' => "목적지 파일 '%s' 이미 존재.", //cpg1.4
-  'rename_failed' => " '%s' 을 '%s' 로 이름바꾸기 실패.", //cpg1.4
-  'src_file_missing' => "원래 파일'%s' 을 분실하였읍니다.", // cpg 1.4
-  'mime_conv' => " '%s' 을 '%s' 로 변환할 수 없습니다",//cpg1.4
-  'forb_ext' => '파일 확장 금지.',//cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File faq.php
-// ------------------------------------------------------------------------- //
-
-if (defined('FAQ_PHP')) $lang_faq_php = array(
-  'faq' => '자주 묻는 질문',
-  'toc' => '목차',
-  'question' => '질문: ',
-  'answer' => '답변: ',
-);
-
-if (defined('FAQ_PHP')) $lang_faq_data = array(
-  '일반적인 FAQ',
-  array('왜 등록을 해야하나요?', '관리자에 따라서 등록이 필요 혹은 불필요합니다. 등록을 하면 업로드, 즐겨찾기, 사진 평가 그리고 코멘트 기록등의 기능이 주어집니다.', 'allow_user_registration', '1'),
-  array('어떻게 등록을 하나요?', '&quot;회원등록&quot;으로 가서 필수 항목(원하실 경우는 선택항목포함)을 입력하세요.<br />관리자가 이메일 통보기능을 설정하였으면 귀하가 회원정보를 전송한 후에 입력한 이메일에 회원자격을 활성화하는 방법을 알려줍니다. 로그인을 하려면 회원자격이 활성화되어 있어야 합니다.', 'allow_user_registration', '1'), //cpg1.4
-  array('어떻게 로그인을 하나요?', '&quot;로그인&quot;으로 가서, 아이디와 비밀번호를 입력하고 &quot;기억하기&quot;를 선택하세요. 이 사이트를 떠나는 경우에도 다시 로그인 할 수 있습니다.<br /><b>중요: &quot;기억하기&quot;를 사용하기 위하여는 쿠키사용이 가능하여야 하고 이 사이트의 쿠키가 삭제되면 안됩니다.</b>', 'offline', 0),
-  array('왜 로그인이 되지 않나요?', '회원등록을 하고 이메일로 받은 경로를 클릭하였나요?. 그 경로로 귀하의 계정을 활성화합니다. 그외의 로그인문제는 사이트 관리자에게 연락하세요.', 'offline', 0),
-  array('비밀번호를 잊었으면 어떻하지요?', '사이트가 &quot;비밀번호 분실&quot; 경로를 갖고 있으면 그것을 사용하세요. 그렇지 않으면 관리자에게 연락을 하여 새 비밀번호를 받으세요.', 'offline', 0),
-  //array('이메일 주소가 바뀌었으면 어떻게 하나요?', '로그인하여 &quot;개인정보&quot;를 통하여 귀하의 이메일 주소를 변경하세요.', 'offline', 0),
-  array('어떻게 사진을 &quot;즐겨찾기&quot;에 저장하나요?', '이미지를 클릭하고 &quot;사진 정보&quot;경로를 클릭하세요. (<img src="images/info.gif" width="16" height="16" border="0" alt="Picture information" />); 아래에 있는 사진정보로 내려가서 &quot;즐겨찾기에 추가&quot;를 클릭하세요.<br />관리자가 &quot;파일 정보&quot; 보여주기를 디폴트로 선택하였을 수도 있습니다.<br />중요:쿠키사용이 가능하여야 하고 이 사이트의 쿠키가 삭제되면 안됩니다.', 'offline', 0),
-  array('파일을 어떻게 평가하나요?', '썸네일을 클릭하고 아래로 내려가서 평점을 선택하세요.', 'offline', 0),
-  array('어떻게 코멘트를 기록하나요?', '썸네일을 클릭하고 아래로 내려가서 코멘트를 입력하세요.', 'offline', 0),
-  array('어떻게 사진을 업로드하나요?', '&quot;이미지 업로드&quot;에 가서 업로드하려고 하는 앨범을 선택하세요. &quot;찾아보기&quot;를 클릭하여 업로드할 파일을 찾은 후에, &quot;열기.&quot;를 클릭하고 다음을 클릭하세요. 제목과 설명을 입력한 후에 &quot;다음&quot;을 클릭하세요.<br /><br />또는 <b>Windows XP</b>를 사용하는 사용자는 XP Publishing 마법사를 사용하여 개인소유의 앨범에 여러 파일을 직접 업로드 할 수 있습니다.<br />사용 방법은 <a href="xp_publish.php">여기를 클릭하세요.</a>', 'allow_private_albums', 1), //cpg1.4
-  array('어느곳에 사진을 업로드하나요?', '&quot;개인 갤러리&quot;에 있는 앨범에 파일을 업로드 할 수 있습니다. 또한 관리자는 귀하에게 메인 갤러리에 있는 앨범에 이미지를 업로드할 권한을 줄 수 있습니다.', 'allow_private_albums', 0),
-  array('업로드할 수 있는 사진의 크기와 타입은 무엇인가요?', '사진의 크기와 타입(jpg, png, 등등...)은 관리자에 의하여 결정됩니다.', 'offline', 0),
-  array('어떻게 &quot;개인 갤러리&quot;에 앨범을 생성,이름변경 그리고 삭제 할 수 있나요?', '&quot;관리자모드&quot;로 이동하세요.<br />&quot;개인앨범 생성/의뢰&quot;로 가서 &quot;생성&quot;을 클릭하세요. &quot;새 앨범&quot;을 원하는 이름으로 바꾸세요.<br />갤러리의 앨범명을 바꿀 수 있습니다.<br />&quot;변경 적용&quot;을 클릭하세요.', 'allow_private_albums', 0),
-  array('어떻게 나의 앨범을 관람하는 사용자들을 제한하고 변경하나요?', '&quot;관리자모드&quot;로 가세요.<br />&quot;개인앨범 수정으로 가세요. &quot;앨범 수정&quot; 바에서 변경하려는 앨범을 선택하세요.<br />이곳에서 이름, 설명, 썸네일 사진, 보기 제한 그리고 코멘트/평가 승락등을 바꿀 수 있습니다.<br /> &quot;앨범 수정&quot;을 클릭하세요.', 'allow_private_albums', 0),
-  array('어떻게 다른 사용자들의 갤러리를 볼 수 있나요?', '&quot;앨범 목록&quot;으로 가서 &quot;개인 갤러리&quot;를 선택하세요.', 'allow_private_albums', 0),
-  array('쿠기는 무엇인가요?', '쿠키는 웹사이트에서 보내지어 귀하의 컴퓨터에 저장되는 텍스트로 구성된 데이타입니다.<br />쿠키는 사용자가 사이트를 떠난 후에 다시 로그인 없이 되돌아 올 수 있는 등의 자질구레한 일들을 제공합니다.', 'offline', 0),
-  array('어떻게 이 프로그램을 얻을 수 있나요?', '코퍼마인은 GNU GPL 아래 제공되는 무료 멀티미디어 갤러리입니다. 다양한 기능을 갖고 있으며 여러 플래트폼에 장착을 할 수있습니다.  <a href="http://coppermine-gallery.net/">코퍼마인 홈페이지</a>를 방문하여 자세한 사항과 다운로드를 받으세요.', 'offline', 0),
-
-  '사이트 둘러보기',
-  array('&quot;앨범 목록&quot;은 무엇인가요?', '현재 위치한 모든 카타고리와 각 앨범의 경로를 보여줍니다. 귀하가 카타고리 안에 있지 않으면, 전체 갤러리와 각 카타고리의 경로를 보여줍니다. 썸네일이 카타고리의 경로일 수 있습니다.', 'offline', 0),
-  array('&quot;개인 갤러리&quot;는 무엇인가요?', '사용자가 각자의 갤러리를 생성하고 앨범을 추가, 삭제 그리고 변경할 수 있습니다. 그리고 파일을 그곳에 업로드합니다.', 'allow_private_albums', 1), //cpg1.4
-  array('&quot;관리자 모드&quot; 와 &quot;사용자 모드&quot;의 차이는 무엇인가요?', '관리자 모드일 경우 사용자가 그들의 갤러리를 변경합니다(관리자가 허용하는 경우에는 다른 것들도).', 'allow_private_albums', 0),
-  array('&quot;업로드 이미지&quot;는 무엇인가요?', '이 기능으로 사용자 혹은 관리자가가 선택한 갤러리로 사진 업로드를 수행합니다 (크기와 타입은 관리자가 설정).', 'allow_private_albums', 0),
-  array('&quot;최근 이미지&quot;는 무엇인가요?', '가장 최근에 업로드한 파일들을 보여줍니다.', 'offline', 0),
-  array('&quot;최근 코멘트&quot;는 무엇인가요?', '가장 최근에 코멘트를 기록한 파일들을 보여줍니다.', 'offline', 0),
-  array('&quot;최다 조회&quot;는 무엇인가요?', '모든 사용자(로그인에 관계 없이)로부터 가장 많이 조회한 이미지들을 보여줍니다.', 'offline', 0),
-  array('&quot;최고 평점&quot;은 무엇인가요?', '사용자가 최고 평점한 이미지들과 그들의 평균 평점을 보여줍니다(예: 다섯회원이 각기 <img src="images/rating3.gif" width="65" height="14" border="0" alt="" /> 을 주었으면: 파일의 평균 평점은 <img src="images/rating3.gif" width="65" height="14" border="0" alt="" /> 입니다 ;다섯 회원이 파일에게 1에서 5까지 (1,2,3,4,5) 평점을 주었으면 평균 <img src="images/rating3.gif" width="65" height="14" border="0" alt="" /> .)<br />평균 평점은 <img src="images/rating5.gif" width="65" height="14" border="0" alt="best" /> (최상) 에서 <img src="images/rating0.gif" width="65" height="14" border="0" alt="worst" /> (아주나쁨)까지.', 'offline', 0),
-  array('&quot;즐겨찾기&quot;는 무엇인가요?', '사용자가 선택한 즐겨찾기 파일을 쿠키에 기록하여 귀하의 컴퓨터에 전송하여 줍니다.', 'offline', 0),
-);
-
-
-// ------------------------------------------------------------------------- //
-// File forgot_passwd.php
-// ------------------------------------------------------------------------- //
-
-if (defined('FORGOT_PASSWD_PHP')) $lang_forgot_passwd_php = array(
-  'forgot_passwd' => '비밀기호 기억자',
-  'err_already_logged_in' => '이미 로그인 되었습니다 !',
-  'enter_email' => '이메일 주소를 입력하세요.', //cpg1.4
-  'submit' => '보냄',
-  'failed_sending_email' => '비밀번호 기억자 이메일로 보낼 수 없읍니다 !',
-  'email_sent' => '아이디와 비밀번호가 이메일로 %s 발송되었습니다 ',
-  'err_unk_user' => '선택한 사용자는 존재하지 않습니다!',
-  'passwd_reminder_subject' => '%s - 비밀번호 기억자',
-  'passwd_reminder_body' => '기억을 돕기 위해 다음의 로그인자료를 요청하였습니다:
-아이디: %s
-비밀번호: %s
-클릭 %s ',
-);
-
-// ------------------------------------------------------------------------- //
-// File groupmgr.php
-// ------------------------------------------------------------------------- //
-
-if (defined('GROUPMGR_PHP')) $lang_groupmgr_php = array(
-  'group_name' => '그룹', //cpg1.4
-  'permissions' => '퍼미션', //cpg1.4
-  'public_albums' => '공개 앨범 업로드', //cpg1.4
-  'personal_gallery' => '개인 갤러리', //cpg1.4
-  'upload_method' => '업로드 방법', //cpg1.4
-  'disk_quota' => '할당량', //cpg1.4
-  'rating' => '평점', //cpg1.4
-  'ecards' => 'Ecards', //cpg1.4
-  'comments' => '코멘트', //cpg1.4
-  'allowed' => '허용', //cpg1.4
-  'approval' => '승인', //cpg1.4
-  'boxes_number' => '박스 갯수', //cpg1.4
-  'variable' => '가변', //cpg1.4
-  'fixed' => '고정', //cpg1.4
-  'apply' => '변경사항 적용',
-  'create_new_group' => '새그룹 생성',
-  'del_groups' => '선택한 그룹삭제',
-  'confirm_del' => '주의, 그룹을 삭제하면 이 그룹에 속한 사용자들은 \'Registered\' 그룹으로 옮겨집니다.  !\n\n계속하시겠습니까 ?', //js-alert
-  'title' => '사용자그룹 관리',
-  'num_file_upload' => '파일 업로드 박스', //cpg1.4
-  'num_URI_upload' => 'URI 업로드 박스', //cpg1.4
-  'reset_to_default' => '디폴트 이름으로 리셋 (%s) - 권장사항!', //cpg1.4
-  'error_group_empty' => '그룹테이블이 비어 있습니다 !<br /><br />디폴트 그룹이 생성되었습니다. 이 페이지를 리로드하세요', //cpg1.4
-  'explain_greyed_out_title' => '왜 이것이 뿌옇지요?', //cpg1.4
-  'explain_guests_greyed_out_text' => '이그룹의 프로퍼티를 변경할 수 없습니다. 왜냐하면 설정에서 옵션 &quot; 로그인 하지 않은 사람의 허용 (손님 혹은 익명인)&quot; 을 &quot;아니오&quot; 로 하였기때문입니다. 모든 손님 (그룹 %s의 회원) 은 로그인 밖에는 할 수 없습니다. 그러므로 그룹설정이 그들에게 적용하지 않습니다.', //cpg1.4
-  'explain_banned_greyed_out_text' => '그룹 %s의 프로퍼티를 수정할 수 없습니다. 왜냐하면 그룹의 회원은 할 수 없기 때문입니다.', //cpg1.4
-  'group_assigned_album' => '할당된 앨범', //cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File index.php
-// ------------------------------------------------------------------------- //
-
-if (defined('INDEX_PHP')){
-
-$lang_index_php = array(
-  'welcome' => '환영합니다 !',
-);
-
-$lang_album_admin_menu = array(
-  'confirm_delete' => '앨범을 삭제하시겠습니까? \\n모든 이미지와 코멘트도 삭제됩니다.', //js-alert
-  'delete' => '삭제',
-  'modify' => '앨범설정',
-  'edit_pics' => '이미지별 정보수정 ',
-);
-
-$lang_list_categories = array(
-  'home' => '홈',
-  'stat1' => '<b>[pictures]</b> 파일 <b>[albums]</b> 앨범  <b>[cat]</b> 카테고리 <b>[comments]</b> 코멘트 조회 <b>[views]</b> 회',
-  'stat2' => '<b>[pictures]</b> 파일 <b>[albums]</b> 앨범 조회 <b>[views]</b> 회',
-  'xx_s_gallery' => '%s의 갤러리',
-  'stat3' => '<b>[pictures]</b> 파일 <b>[albums]</b> 앨범 <b>[comments]</b> 코멘트 조회 <b>[views]</b> 회',
-);
-
-$lang_list_users = array(
-  'user_list' => '사용자(회원)목록',
-  'no_user_gal' => '사용자(회원) 갤러리가 없습니다.',
-  'n_albums' => '%s 앨범',
-  'n_pics' => '%s 이미지',
-);
-
-$lang_list_albums = array(
-  'n_pictures' => '%s 이미지',
-  'last_added' => ', %s 에 업로드한 최근 이미지',
-  'n_link_pictures' => '%s 연결된 이미지', //cpg1.4
-  'total_pictures' => ' 총 %s 이미지', //cpg1.4
-);
-
-}
-
-// ------------------------------------------------------------------------- //
-// File keywordmgr.php //cpg1.4
-// ------------------------------------------------------------------------- //
-
-if (defined('KEYWORDMGR_PHP')) $lang_keywordmgr_php = array(
-  'title' => '키워드 관리', //cpg1.4
-  'edit' => '편집', //cpg1.4
-  'delete' => '삭제', //cpg1.4
-  'search' => '검색', //cpg1.4
-  'keyword_test_search' => '새창에서 %s를 검색', //cpg1.4
-  'keyword_del' => '키워드 %s를 삭제', //cpg1.4
-  'confirm_delete' => '키워드 %s를 모든 갤러리에서 삭제하시겠습니까?', //cpg1.4  // js-alert
-  'change_keyword' => '키워드 수정', //cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File login.php
-// ------------------------------------------------------------------------- //
-
-if (defined('LOGIN_PHP')) $lang_login_php = array(
-  'login' => '로그인',
-  'enter_login_pswd' => '아이디와 비밀번호를 입력하세요!',
-  'username' => '아이디',
-  'password' => '비밀번호',
-  'remember_me' => '기억하기',
-  'welcome' => '%s 님 로그인 되었습니다.',
-  'err_login' => '*** 로그인 되지 않았습니다 ***',
-  'err_already_logged_in' => '이미 로그인 되었습니다 !',
-  'forgot_password_link' => '비밀번호 분실',
-  'cookie_warning' => '귀하의 브라우저는 스크립 쿠키를 수락하지 않습니다', //cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File logout.php
-// ------------------------------------------------------------------------- //
-
-if (defined('LOGOUT_PHP')) $lang_logout_php = array(
-  'logout' => '로그아웃',
-  'bye' => '%s님 로그아웃 되었습니다 !!',
-  'err_not_loged_in' => '로그인 되지 않았습니다 !',
-);
-
-// ------------------------------------------------------------------------- //
-// File minibrowser.php  //cpg1.4
-// ------------------------------------------------------------------------- //
-
-if (defined('MINIBROWSER_PHP')) $lang_minibrowser_php = array(
-  'close' => '닫음', //cpg1.4
-  'submit' => '보냄', //cpg1.4
-  'up' => '상위 레벨로', //cpg1.4
-  'current_path' => '현재 경로', //cpg1.4
-  'select_directory' => '디렉토리를 선택하세요', //cpg1.4
-  'click_to_close' => '이창을 닫으시려면 이미지에 클릭을 하세요',
-);
-
-// ------------------------------------------------------------------------- //
-// File modifyalb.php
-// ------------------------------------------------------------------------- //
-
-if (defined('MODIFYALB_PHP')) $lang_modifyalb_php = array(
-  'upd_alb_n' => '%s님 앨범 업데이트',
-  'general_settings' => '기본설정',
-  'alb_title' => '앨범 제목',
-  'alb_cat' => '앨범 카테고리',
-  'alb_desc' => '앨범 설명',
-  'alb_keyword' => '앨범 키워드', //cpg1.4
-  'alb_thumb' => '앨범 썸네일',
-  'alb_perm' => '앨범권한 설정',
-  'can_view' => '앨범공개 설정',
-  'can_upload' => '방문자가 이미지 업로드할 수 있슴',
-  'can_post_comments' => '방문자가 코멘트 쓸 수 있슴',
-  'can_rate' => '방문자가 평가할 수 있슴',
-  'user_gal' => '사용자 갤러리',
-  'no_cat' => '* 최상위 카테고리(메인) *',
-  'alb_empty' => '앨범이 비어있습니다.',
-  'last_uploaded' => '최근 업로드',
-  'public_alb' => '모든 사람 (공개 앨범)',
-  'me_only' => '나만 보기',
-  'owner_only' => '앨범 주인 (%s) 만',
-  'groupp_only' => '\'%s\' 그룹의 회원만 ',
-  'err_no_alb_to_modify' => '귀하는 데이타베이스의 앨범을 수정할 수 없습니다.',
-  'update' => '앨범 편집',
-  'reset_album' => '앨범 리셋', //cpg1.4
-  'reset_views' => '앨범 조회수를 &quot;0&quot;  %s 에 존재하는 ', //cpg1.4
-  'reset_rating' => '%s 에 있는 모든 이미지의 평점을 리셋', //cpg1.4
-  'delete_comments' => '%s 에 있는 모든 코멘트를 삭제', //cpg1.4
-  'delete_files' => '%s복원불가능하게%s  %s에 존재하는 모든 이미지 삭제 ', //cpg1.4
-  'views' => '조회', //cpg1.4
-  'votes' => '평가', //cpg1.4
-  'comments' => '코멘트', //cpg1.4
-  'files' => '이미지', //cpg1.4
-  'submit_reset' => '변경제출', //cpg1.4
-  'reset_views_confirm' => '확인합니다', //cpg1.4
-  'notice1' => '(*) %s그룹%s 설정에 따라서 ',  //cpg1.4 //(do not translate %s!)
-  'alb_password' => '앨범 비밀번호', //cpg1.4
-  'alb_password_hint' => '앨범 비밀번호 힌트', //cpg1.4
-  'edit_files' =>'이미지 편집', //cpg1.4
-  'parent_category' =>'상위 카테고리', //cpg1.4
-  'thumbnail_view' =>'썸네일 보기', //cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File phpinfo.php
-// ------------------------------------------------------------------------- //
-
-if (defined('PHPINFO_PHP')) $lang_phpinfo_php = array(
-  'php_info' => 'PHP 정보',
-  'explanation' => '이것은 PHP-function에 의하여 생성된 결과입니다. <a href="http://www.php.net/phpinfo">phpinfo()</a>, 코퍼마인에서 표시된(오른쪽 편에 출력을 정돈).',
-  'no_link' => '다른사람이 귀하의 phpinfo를 보는 것은 위험요소가 있습니다. 그래서 귀하가 관리자로 로그인해야만 이 페이지를 볼 수 있습니다. 이 경로를 다른사람에게 보내주어도 그들은 이 페이지를 참조할 수 없습니다.',
-);
-
-// ------------------------------------------------------------------------- //
-// File picmgr.php //cpg1.4
-// ------------------------------------------------------------------------- //
-if (defined('PICMGR_PHP')) $lang_picmgr_php = array(
-  'pic_mgr' => '사진 관리자', //cpg1.4
-  'select_album' => '앨범 선택', //cpg1.4
-  'delete' => '삭제', //cpg1.4
-  'confirm_delete1' => '이 사진을 삭제하시겠습니까 ?', //cpg1.4
-  'confirm_delete2' => '\n사진이 영구적으로 삭제되었습니다.', //cpg1.4
-  'apply_modifs' => '변경 적용', //cpg1.4
-  'confirm_modifs' => '변경 확인', //cpg1.4
-  'pic_need_name' => '사진 이름이 필요합니다 !', //cpg1.4
-  'no_change' => '변동사항이 없습니다 !', //cpg1.4
-  'no_album' => '* 앨범 없음 *', //cpg1.4
-  'explanation_header' => '여기서 기술한 커스톰 배열 방식은 오직 다음과 같은 경우에 적용을 받습니다.', //cpg1.4
-  'explanation1' => '관리자가 설정에 있는 "이미지 디폴트 배열 방식"을 "위치별 역순" 혹은 "위치별 순차배열" (개별적으로 다른 배열방식을 선택하지 않은 사용자를 위한 글로벌 세팅)을 한 경우', //cpg1.4
-  'explanation2' => '사용자가 썸네일 페이지에 "위치별 역순" 혹은 "위치별 순차배열" 을 선택한 경우 (사용자 세팅별로)', //cpg1.4
-);
-
-
-// ------------------------------------------------------------------------- //
-// File pluginmgr.php //cpg1.4
-// ------------------------------------------------------------------------- //
-
-if (defined('PLUGINMGR_PHP')){
-
-$lang_pluginmgr_php = array(
-  'confirm_uninstall' => '이 플러그인을 제거하시겠습니까?', //cpg1.4
-  'confirm_delete' => '이 플러그인을 삭제하시겠습니까?', //cpg1.4
-  'pmgr' => '플러그인 관리자', //cpg1.4
-  'name' => '이름', //cpg1.4
-  'author' => '저자', //cpg1.4
-  'desc' => '설명', //cpg1.4
-  'vers' => 'v', //cpg1.4
-  'i_plugins' => '설치된 플러그인', //cpg1.4
-  'n_plugins' => '설치되지 않은 플러그인', //cpg1.4
-  'none_installed' => '설치된것 없음', //cpg1.4
-  'operation' => '운영', //cpg1.4
-  'not_plugin_package' => '이 파일 업로드는 플러그인 패케지가 아닙니다.', //cpg1.4
-  'copy_error' => '패케지를 플러그인 폴더에 복사하는데 오류가 발생하였습니다.', //cpg1.4
-  'upload' => '업로드', //cpg1.4
-  'configure_plugin' => '플러그인 설정', //cpg1.4
-  'cleanup_plugin' => '플러그인 제거', //cpg1.4
-);
-}
-
-// ------------------------------------------------------------------------- //
-// File ratepic.php
-// ------------------------------------------------------------------------- //
-
-if (defined('RATEPIC_PHP')) $lang_rate_pic_php = array(
-  'already_rated' => '이미 평가하셨습니다.',
-  'rate_ok' => '평가해 주셔서 감사합니다.',
-  'forbidden' => '본인의 이미지를 평가할 수 없습니다.',
-);
-
-// ------------------------------------------------------------------------- //
-// File register.php & profile.php
-// ------------------------------------------------------------------------- //
-
-if (defined('REGISTER_PHP') || defined('PROFILE_PHP')) {
-
-$lang_register_disclamer = <<<EOT
-{SITE_NAME} 사이트의 관리자가 문제가 제기될 만한 자료를 가능한 신속히 삭제 혹은 편집하려고 시도를 하여도 모든 것들을 검사하는 것은 불가능합니다. 그러므로 이 사이트에 올려진 자료들은 관리자나 웹마스터의 의견이 아닌(이들이 작성한 것 제외) 작성자의 관점과 의견임을 인지하여야 합니다. 그러므로 관리자나 웹마스터는 이에 대하여 책임이 없습니다.<br />
-<br />
-귀하는 욕이나 외설적이거나 야비하거나 다른사람을 비방, 증오, 위협하는 자료 혹은 법에 어긋나는 자료를 올리지 않기를 동의합니다. 귀하는 {SITE_NAME} 사이트의 관리자나 웹마스터나 사회자가 언제든지 어떤 내용이든지 적절하게 편집 혹은 수정할 권리가 있음을 동의합니다. 귀하는 회원으로서 다음에 기입할 정보들이 데이타베이스에 저장되는 것을 동의 합니다. 이 정보들은 귀하가 웹마스터나 관리자에게 승락하지 않으면 다른사람들에게 절대로 공개되지 않을 것이고, 데이타의 손상을 가져오는 해킹에 대하여는 웹마스터나 관리자에게는 책임이 없습니다.<br />
-<br />
-이 사이트는 귀하의 컴퓨터에 정보를 수록하기 위하여 쿠기를 사용합니다. 이 쿠키는 귀하의 관람의 재미를 높이기 위하여 사용됩니다. 이메일 주소는 귀하의 등록 정보와 비밀번호를 확인하기 위해서만 사용이 됩니다.<br />
-<br />
-아래의 '동의합니다'를 클릭함으로 귀하는 이 조건들에 확실히 동의합니다.
-EOT;
-
-$lang_register_php = array(
-  'page_title' => '회원등록',
-  'term_cond' => '등록약관 및 이용안내',
-  'i_agree' => '동의합니다!',
-  'submit' => '회원등록',
-  'err_user_exists' => '아이디가 이미 존재합니다, 다른 아이디를 입력하세요.',
-  'err_password_mismatch' => '비밀번호가 동일하지 않습니다, 다시 입력하세요.',
-  'err_uname_short' => '아이디는 2 글자 이상입니다.',
-  'err_password_short' => '비밀번호는 2 글자 이상입니다.',
-  'err_uname_pass_diff' => '아이디와 비밀번호는 달라야합니다.',
-  'err_invalid_email' => '이메일 주소가 무효합니다.',
-  'err_duplicate_email' => '입력한 이메일을 사용하는 기존 회원이 있습니다.',
-  'enter_info' => '등록 정보 입력',
-  'required_info' => '필수입력 항목',
-  'optional_info' => '선택입력 항목',
-  'username' => '아이디',
-  'password' => '비밀번호',
-  'password_again' => '비밀번호 재입력',
-  'email' => '이메일',
-  'location' => '지역',
-  'interests' => '관심분야',
-  'website' => '홈페이지',
-  'occupation' => '직업',
-  'error' => '오류',
-  'confirm_email_subject' => '%s - 등록 확인',
-  'information' => '안내',
-  'failed_sending_email' => '등록 확인 이메일을 보낼 수 없습니다 !',
-  'thank_you' => '등록하여 주셔서 감사합니다.<br /><br />귀하가 제공한 이메일로 계정활성화하는 방법을 발신하였습니다.',
-  'acct_created' => '계정이 생성되었습니다. 아이디와 비밀번호로 로그인을 하실 수 있습니다.',
-  'acct_active' => '귀하의 계정이 활성화 되었습니다. 아이디와 비밀번호로 로그인을 하실 수 있습니다.',
-  'acct_already_act' => '계정이 이미 활성화 되었습니다 !', //cpg1.4
-  'acct_act_failed' => '이 계정을 활성화 할 수 없습니다 !',
-  'err_unk_user' => '선택한 사용자는 존재하지 않습니다 !',
-  'x_s_profile' => '%s 의 개인정보',
-  'group' => '그룹',
-  'reg_date' => '회원가입일자',
-  'disk_usage' => '디스크 사용량',
-  'change_pass' => '비밀번호 변경',
-  'current_pass' => '현재 비밀번호',
-  'new_pass' => '새로운 비밀번호',
-  'new_pass_again' => '새 비밀번호 재입력',
-  'err_curr_pass' => '현재 비밀번호가 틀립니다.',
-  'apply_modif' => '변경사항 적용',
-  'change_pass' => '비밀번호 변경',
-  'update_success' => '개인정보가 업데이트 되었습니다.',
-  'pass_chg_success' => '비밀번호가 변경 되었습니다.',
-  'pass_chg_error' => '비밀번호가 변경 되지 않았습니다.',
-  'notify_admin_email_subject' => '%s - 등록 통보',
-  'last_uploads' => '최근 업로드 파일.<br />모든 업로드를 보기:', //cpg1.4
-  'last_comments' => '최근 코멘트.<br />모든 코멘트 보기: ', //cpg1.4
-  'notify_admin_email_body' => '갤러리에 새로운 회원 "%s" 등록하였습니다',
-  'pic_count' => '업로드 파일', //cpg1.4
-  'notify_admin_request_email_subject' => '%s - 등록 신청', //cpg1.4
-  'thank_you_admin_activation' => '감사합니다.<br /><br />계정활성화 요청이 관리자에게 통보되었습니다. 승락시에는 이메일을 통보를 보내드립니다.', //cpg1.4
-  'acct_active_admin_activation' => '계정이 활성화 되었습니다. 이메일이 회원에게 발송되었습니다.', //cpg1.4
-  'notify_user_email_subject' => '%s - 활성화 통보', //cpg1.4
-);
-
-$lang_register_confirm_email = <<<EOT
- {SITE_NAME}사이트에 가입을 하여서 감사합니다.
-
- "{USER_NAME}"사이트의 회원으로 계정을 활성화 하려면  , 귀하의 웹브라우저에 아래 링크를 복사하여 붙이세요.
-
-<a href="{ACT_LINK}">{ACT_LINK}</a>
-
-감사합니다,
-
- {SITE_NAME} 사이트 운영자 
-
-EOT;
-
-$lang_register_approve_email = <<<EOT
-새 회원 "{USER_NAME}" 갤러리에 등록하였습니다.
-
-계정을 활성화 하시려면 , 아래의 링크를 클릭하거나 귀하의 웹브라우저에 그것을 복사하여 붙이세요.
-
-<a href="{ACT_LINK}">{ACT_LINK}</a>
-
-EOT;
-
-$lang_register_activated_email = <<<EOT
-귀하의 계정은 승인이 되어 사용하실 수 있습니다.
-
-로그인 하세요 <a href="{SITE_LINK}">{SITE_LINK}</a> 회원명 "{USER_NAME}"
-
-
-감사합니다,
-
- {SITE_NAME} 운영자 
-
-EOT;
-}
-
-// ------------------------------------------------------------------------- //
-// File reviewcom.php
-// ------------------------------------------------------------------------- //
-
-if (defined('REVIEWCOM_PHP')) $lang_reviewcom_php = array(
-  'title' => '코멘트 보기',
-  'no_comment' => '리뷰할 코멘트가 없습니다',
-  'n_comm_del' => '%s 코멘트가 삭제되었음',
-  'n_comm_disp' => '표시할 코멘트 수',
-  'see_prev' => '이전 보기',
-  'see_next' => '다음 보기',
-  'del_comm' => '선택한 코멘트 삭제',
-  'user_name' => '이름', //cpg1.4
-  'date' => '일자', //cpg1.4
-  'comment' => '코멘트', //cpg1.4
-  'file' => '파일', //cpg1.4
-  'name_a' => '아이디 순차배열', //cpg1.4
-  'name_d' => '아이디 역순', //cpg1.4
-  'date_a' => '일자 순차배열', //cpg1.4
-  'date_d' => '일자 역순', //cpg1.4
-  'comment_a' => '코멘트 순차배열', //cpg1.4
-  'comment_d' => '코멘트 역순', //cpg1.4
-  'file_a' => '파일 순차배열', //cpg1.4
-  'file_d' => '파일 역순', //cpg1.4
-);
-
-
-// ------------------------------------------------------------------------- //
-// File search.php                                                           //
-// ------------------------------------------------------------------------- //
-
-
-if (defined('SEARCH_PHP')){
-
-$lang_search_php = array(
-  'title' => '파일 모으기를 위한 검색', //cpg1.4
-  'submit_search' => '검색', //cpg1.4
-  'keyword_list_title' => '키워드 목록', //cpg1.4
-  'keyword_msg' => '위의 목록은 모든 것을 포함한 것이 아닙니다. 제목이나 설명에 있는 단어를 포함하지 않습니다. full-text 검색을 하세요.',  //cpg1.4
-  'edit_keywords' => '키워드 편집', //cpg1.4
-  'search in' => '검색할 곳:', //cpg1.4
-  'ip_address' => 'IP 주소', //cpg1.4
-  'fields' => '검색 항목', //cpg1.4
-  'age' => '나이', //cpg1.4
-  'newer_than' => '이전', //cpg1.4
-  'older_than' => '이후', //cpg1.4
-  'days' => '일', //cpg1.4
-  'all_words' => '모두 매치 (AND)', //cpg1.4
-  'any_words' => '일부단어 매치(OR)', //cpg1.4
-);
-
-$lang_adv_opts = array(
-  'title' => '제목', //cpg1.4
-  'caption' => '캡션', //cpg1.4
-  'keywords' => '키워드', //cpg1.4
-  'owner_name' => '소유자명', //cpg1.4
-  'filename' => '파일명', //cpg1.4
-);
-
-}
-
-// ------------------------------------------------------------------------- //
-// File searchnew.php
-// ------------------------------------------------------------------------- //
-
-if (defined('SEARCHNEW_PHP')) $lang_search_new_php = array(
-  'page_title' => '새 이미지 검색',
-  'select_dir' => '디렉토리 지정',
-  'select_dir_msg' => '이 기능은 FTP를 이용하여 서버에 업로드된 파일을 일괄 추가하는 기능입니다.<br /><br />업로드된 파일이 존재하는 디렉토리를 선택하세요.', //cpg1.4
-  'no_pic_to_add' => '추가할 파일이 없습니다.',
-  'need_one_album' => '이 기능을 사용하려면 최소한 한 앨범이 필요합니다.',
-  'warning' => '주의',
-  'change_perm' => '스크립트가 이 디렉토리에 수록을 할 수 없습니다. 파일을 추가 하기전에 이것의 모드를 755 혹은 777로 변경하세요 !',
-  'target_album' => '<b>&quot;</b>%s<b>&quot;에 있는 파일을 </b>%s로',
-  'folder' => '폴더',
-  'image' => '이미지',
-  'album' => '앨범',
-  'result' => '결과',
-  'dir_ro' => '쓰기 권한 없습니다. ',
-  'dir_cant_read' => '읽기 권한 없습니다. ',
-  'insert' => '갤러리에 새로운 파일 추가',
-  'list_new_pic' => '새로운 파일 보기',
-  'insert_selected' => '선택한 파일 추가',
-  'no_pic_found' => '새로운 파일이 없음',
-  'be_patient' => '기다리세요. 파일을 추가하기위한 스크립은 시간을 필요로 합니다.',
-  'no_album' => '앨범을 선택하세요.',
-  'result_icon' => '상세내역/새로고침을 위하여 클릭',  //cpg1.4
-  'notes' =>  '<ul>'.
-                          '<li><b>OK</b> : 파일이 성공적으로 추가되었습니다.'.
-                          '<li><b>DP</b> : 파일이 중복되었고 이미 데이타베이스에 존재합니다.'.
-                          '<li><b>PB</b> : 파일을 추가할 수 없습니다. 설정과 파일을 위치하고자 하는 디렉토리의 승인을 확인하세요.'.
-                          '<li><b>NA</b> : 파일을 추가할 앨범을 선택하지 않았습니다. 다음을 \'<a href="javascript:history.back(1)">이전</a>\' 누른후에 앨범을 선택하세요. 앨범이 없으면 <a href="albmgr.php">앨범을 먼저 생성하세요.</a></li>'.
-                          '<li>만일 OK, DP, PB \'signs\' 이 나타나지 않으면, 부서진 파일을 클릭하여 PHP가 생성한 오류메시지를 보세요.'.
-                          '<li>만일 브라우저가 시간이 초과되면, 새로고침버튼을 누르세요.'.
-                          '</ul>',
-  'select_album' => '앨범 선택',
-  'check_all' => '모두 선택',
-  'uncheck_all' => '모두 선택해제',
-  'no_folders' => ' "albums" 폴더안에 아직 폴더가 없습니다. "albums" 폴더안에 최소 한개 이상의 커스톰 폴더을 생성했는지 확인하세요. 그리고 그곳에 FTP를 이용하여 파일을 업로드하세요. "userpics" 혹은 "edit" 폴더에 업로드하면 안됩니다. 이들은 http 업로드와 내부 사용을 위한 곳입니다.', //cpg1.4
-   'albums_no_category' => '카타고리에 속하지 않는 앨범', //cpg1.4 // album pulldown mod, added by frogfoot
-  'personal_albums' => '* 개인 앨범', //cpg1.4 // album pulldown mod, added by frogfoot
-  'browse_batch_add' => '브라우저블 인터페이스 (권장사항)', //cpg1.4
-  'edit_pics' => '이미지 수정', //cpg1.4
-  'edit_properties' => '앨범 프로퍼티', //cpg1.4
-  'view_thumbs' => '썸네일 보기', //cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File stat_details.php //cpg1.4
-// ------------------------------------------------------------------------- //
-
-if (defined('STAT_DETAILS_PHP')) $lang_stat_details_php = array(
-  'show_hide' => '이 칼럼 보기/숨기기', //cpg1.4
-  'vote' => '평가 내역', //cpg1.4
-  'hits' => '조회 내역', //cpg1.4
-  'stats' => '평가 통계', //cpg1.4
-  'sdate' => '일자', //cpg1.4
-  'rating' => '평점', //cpg1.4
-  'search_phrase' => '검색어', //cpg1.4
-  'referer' => '관람자', //cpg1.4
-  'browser' => '브라우저', //cpg1.4
-  'os' => '운영 시스텀', //cpg1.4
-  'ip' => 'IP', //cpg1.4
-  'sort_by_xxx' => '%s 로 배열', //cpg1.4
-  'ascending' => '순차배열', //cpg1.4
-  'descending' => '역순', //cpg1.4
-  'internal' => '내부', //cpg1.4
-  'close' => '닫기', //cpg1.4
-  'hide_internal_referers' => '내부 관람자 숨김', //cpg1.4
-  'date_display' => '일자 보기', //cpg1.4
-  'submit' => '보냄/ 지움', //cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File thumbnails.php
-// ------------------------------------------------------------------------- //
-
-// Void
-
-// ------------------------------------------------------------------------- //
-// File upload.php
-// ------------------------------------------------------------------------- //
-
-if (defined('UPLOAD_PHP')) $lang_upload_php = array(
-  'title' => '업로드 파일',
-  'custom_title' => '고객 요청 양식',
-  'cust_instr_1' => '업로드 박스의 커스텀 갯수를 선택할 수 있습니다. 하지만 아래 열거한 제한된 갯수 이상을 선택할 수 없습니다.',
-  'cust_instr_2' => '요청한 박스 수',
-  'cust_instr_3' => '파일 업로드 박스: %s',
-  'cust_instr_4' => 'URI/URL 업로드 박스: %s',
-  'cust_instr_5' => 'URI/URL 업로드 박스:',
-  'cust_instr_6' => '파일 업로드 박스:',
-  'cust_instr_7' => '지금 원하시는 업로드 박스의 각 타입 갯수를 입력하세요.  그리고 \'다음\'을 클릭하세요. ',
-  'reg_instr_1' => '폼 생성을 위한 유효하지 않은 액션.',
-  'reg_instr_2' => '아래의 업로드 박스를 이용하여 파일을 업로드 할 수 있습니다. 업로드 파일의 크기는 각각 %s KB 을 초과하면 안됩니다. \'파일 업로드\' 와 \'URI/URL 업로드\' 섹션의 업로드된 ZIP 파일은 압축상태로 남습니다.',
-  'reg_instr_3' => 'zip된 파일이나 어카이브의 압축을 풀려면, \'ZIP 업로드 압축풀기\' 에 있는 파일 업로드박스를 사용하세요.',
-  'reg_instr_4' => 'URI/URL 업로드 섹션을 이용하실 때, 파일에 대한 경로를 이와같이 하세요: http://www.mysite.com/images/example.jpg',
-  'reg_instr_5' => '모두 입력을 완료하였으면 \'다음\'을 클릭하세요.',
-  'reg_instr_6' => '비압축 ZIP 업로드:',
-  'reg_instr_7' => '파일 업로드:',
-  'reg_instr_8' => 'URI/URL 업로드:',
-  'error_report' => '오류 보고서',
-  'error_instr' => '다음의 업로드에 오류가 있습니다:',
-  'file_name_url' => '파일명/URL',
-  'error_message' => '오류 메시지',
-  'no_post' => '파일이 POST에 의하지 않은 업로드.',
-  'forb_ext' => '파일 확장 금지.',
-  'exc_php_ini' => '파일 크기가 php.ini에서 허용한 값을 초과.',
-  'exc_file_size' => 'CPG가 허용하는 파일크기 초과.',
-  'partial_upload' => '오직 부분 업로드.',
-  'no_upload' => '업로드가 발생하지 않았습니다.',
-  'unknown_code' => '알수 없는 PHP 업로드 오류코드.',
-  'no_temp_name' => '업로드 안됨 - 임시 명 없음.',
-  'no_file_size' => '데이타 없음/파손',
-  'impossible' => '이동할 수 없습니다.',
-  'not_image' => '이미지가 아님/파손',
-  'not_GD' => 'GD 확장자가 아닙니다.',
-  'pixel_allowance' => '업로드된 사진의 너비와 높이가 갤러리 설정에서 지정한 값을 초과하였읍니다.', //cpg1.4
-  'incorrect_prefix' => 'URI/URL 접두어가 부정확합니다.',
-  'could_not_open_URI' => 'URI을 열수 없읍니다.',
-  'unsafe_URI' => '안전 검증을 못함.',
-  'meta_data_failure' => '메타 데이타 오류',
-  'http_401' => '401 권한 없음',
-  'http_402' => '402 지불 요망',
-  'http_403' => '403 금지',
-  'http_404' => '404 찾지 못함',
-  'http_500' => '500 서버 내부 오류',
-  'http_503' => '503 서비스를 사용할 수 없음',
-  'MIME_extraction_failure' => 'MIME 을 결정할 수 없음.',
-  'MIME_type_unknown' => '알수없는 MIME 타입',
-  'cant_create_write' => '저장 파일을 생성할 수 없음.',
-  'not_writable' => '저장파일에 기록을 할 수 없음.',
-  'cant_read_URI' => 'URI/URL을 읽을 수 없음.',
-  'cant_open_write_file' => 'URI 저장 파일을 열 수 없음.',
-  'cant_write_write_file' => 'URI 저장 파일에 기록할 수 없음.',
-  'cant_unzip' => 'unzip 할수 없음',
-  'unknown' => '알수 없는 오류',
-  'succ' => '업로드 성공',
-  'success' => '%s 업로드가 완료되었습니다.',
-  'add' => ' \'다음\'을 클릭하여 이미지를 앨범에 추가하세요.',
-  'failure' => '업로드 실패',
-  'f_info' => '파일 정보',
-  'no_place' => '이전 파일을 배치할 수 없습니다.',
-  'yes_place' => '이전 파일을 배치하였습니다.',
-  'max_fsize' => '최대 허용 파일 크기는 %s KB',
-  'album' => '앨범',
-  'picture' => '이미지',
-  'pic_title' => '이미지 제목',
-  'description' => '이미지 설명',
-  'keywords' => '키워드 (콤마로 분리)<br /><a href="#" onClick="return MM_openBrWindow(\'keyword_select.php\',\'selectKey\',\'width=250, height=400, scrollbars=yes,toolbar=no,status=yes,resizable=yes\')">목록으로부터 삽입</a>', //cpg1.4
-  'keywords_sel' =>'키워드 선택', //cpg1.4
-  'err_no_alb_uploadables' => '귀하가 파일을 업로드하려고 하는 앨범이 존재하지 않습니다.',
-  'place_instr_1' => '지금 파일을 앨범에 배치하세요.  지금 각 파일에 적절한 정보를 입력하세요.',
-  'place_instr_2' => '배치할 파일이 더 있습니다. \'다음\'을 클릭하세요.',
-  'process_complete' => '모든 파일을 성공적으로 수행하였습니다.',
-   'albums_no_category' => '카테고리가 없는 앨범들', //cpg1.4. //album pulldown mod, added by frogfoot
-  'personal_albums' => '* 개인 앨범', //cpg1.4 //album pulldown mod, added by frogfoot
-  'select_album' => '앨범 선택', //cpg1.4 //album pulldown mod, added by frogfoot
-  'close' => '닫음', //cpg1.4
-  'no_keywords' => '미안합니다, 키워드가 없습니다!', //cpg1.4
-  'regenerate_dictionary' => '사전 다시 만들기', //cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File usermgr.php
-// ------------------------------------------------------------------------- //
-
-if (defined('USERMGR_PHP')) $lang_usermgr_php = array(
-  'memberlist' => '회원명단', //cpg1.4
-  'user_manager' => '회원 관리자', //cpg1.4
-  'title' => '회원 관리',
-  'name_a' => '이름 순차',
-  'name_d' => '이름 역순',
-  'group_a' => '그룹 순차',
-  'group_d' => '그룹 역순',
-  'reg_a' => '등록일 순차',
-  'reg_d' => '등록일 역순',
-  'pic_a' => '이미지 갯수 순차',
-  'pic_d' => '이미지 갯수 역순',
-  'disku_a' => '디스크 사용량 순차',
-  'disku_d' => '디스크 사용량 역순',
-  'lv_a' => '최근 방문 순차',
-  'lv_d' => '최근 방문 역순',
-  'sort_by' => '배열을 ',
-  'err_no_users' => '사용자 테이블이 공백!',
-  'err_edit_self' => '본인 자신의 프로필을 편집할 수 없습니다.  \'개인 정보\'를 이용하세요',
-  'edit' => '편집', //cpg1.4
-  'with_selected' => '선택하여:', //cpg1.4
-  'delete' => '삭제', //cpg1.4
-  'delete_files_no' => '공개파일 보존(익명으로)', //cpg1.4
-  'delete_files_yes' => '공개파일도 삭제', //cpg1.4
-  'delete_comments_no' => '코멘트 보존(익명으로)', //cpg1.4
-  'delete_comments_yes' => '코멘트도 삭제', //cpg1.4
-  'activate' => '활성화', //cpg1.4
-  'deactivate' => '비활성화', //cpg1.4
-  'reset_password' => '비밀번호 리셋', //cpg1.4
-  'change_primary_membergroup' => '1차 회원그룹 변경', //cpg1.4
-  'add_secondary_membergroup' => '2차 회원그룹 추가', //cpg1.4
-  'name' => '사용자 이름',
-  'group' => '그룹',
-  'inactive' => '비활성',
-  'operations' => '실행메뉴',
-  'pictures' => '이미지',
-  'disk_space_used' => '사용량', //cpg1.4
-  'disk_space_quota' => '할당량', //cpg1.4
-  'registered_on' => '등록', //cpg1.4
-  'last_visit' => '마지막 방문',
-  'u_user_on_p_pages' => '%d 사용자 %d 페이지',
-  'confirm_del' => '이 사용자를 삭제하시겠습니까 ? \\n사용자의 모든 이미지와 모든 앨범이 삭제됩니다.', //js-alert
-  'mail' => '메일',
-  'err_unknown_user' => '선택한 회원이 존재하지 않습니다 !',
-  'modify_user' => '회원정보 수정',
-  'notes' => '메모',
-  'note_list' => '<li>현재의 비밀번호를 바꾸지 않으시려면,  "비밀번호" 란을 공란으로 남겨두세요.',
-  'password' => '비밀번호',
-  'user_active' => '활성화된 사용자',
-  'user_group' => '사용자 그룹',
-  'user_email' => '사용자 이메일',
-  'user_web_site' => '사용자 홈페이지',
-  'create_new_user' => '새로운 사용자 생성',
-  'user_location' => '접속지',
-  'user_interests' => '관심분야',
-  'user_occupation' => '직업',
-  'user_profile1' => '$user_profile1', //cpg1.4
-  'user_profile2' => '$user_profile2', //cpg1.4
-  'user_profile3' => '$user_profile3', //cpg1.4
-  'user_profile4' => '$user_profile4', //cpg1.4
-  'user_profile5' => '$user_profile5', //cpg1.4
-  'user_profile6' => '$user_profile6', //cpg1.4
-  'latest_upload' => 'Recent uploads',
-  'never' => '없음',
-  'search' => '회원 검색', //cpg1.4
-  'submit' => '보냄', //cpg1.4
-  'search_submit' => '실행!', //cpg1.4
-  'search_result' => '검색결과: ', //cpg1.4
-  'alert_no_selection' => '최소한 한 사용자를 먼저 선택하세요!', //cpg1.4 //js-alert
-  'password' => '비밀번호', //cpg1.4
-  'select_group' => '그룹선택', //cpg1.4
-  'groups_alb_access' => '그룹별 앨범 퍼미션', //cpg1.4
-  'album' => '앨범', //cpg1.4
-  'category' => '카테고리', //cpg1.4
-  'modify' => '수정?', //cpg1.4
-  'group_no_access' => '이 그룹은 특별한 액세스가 없습니다.', //cpg1.4
-  'notice' => '알림', //cpg1.4
-  'group_can_access' => '"%s" 만을 액세스할 수 있는 앨범', //cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File util.php
-// ------------------------------------------------------------------------- //
-
-if (defined('UTIL_PHP')) {
-$lang_util_desc_php = array(
-'파일명으로 제목 수정', //cpg1.4
-'제목 삭제', //cpg1.4
-'썸네일 재작성과 사진크기 수정', //cpg1.4
-'원래크기의 사진을 삭제하고 크기를 변경한 사진으로 대체', //cpg1.4
-'웹스페이스를 확복하기 위하여 원래 혹은 중간의 사진을 삭제', //cpg1.4
-'원래 코멘트를 삭제', //cpg1.4
-'파일크기와 디멘죤을 다시 읽기 (수동으로 사진을 편집할 경우)', //cpg1.4
-'조횟수를 리셋', //cpg1.4
-'phpinfo 보기', //cpg1.4
-'데이타베이스 갱신', //cpg1.4
-'로그파일 보기', //cpg1.4
-);
-$lang_util_php = array(
-  'title' => '관리자 유틸리티 (사진크기 변경)',
-  'what_it_does' => '기능',
-  'file' => '파일',
-  'problem' => '오류', //cpg1.4
-  'status' => '상태', //cpg1.4
-  'title_set_to' => '제목설정',
-  'submit_form' => '보냄',
-  'updated_succesfully' => '수정 성공',
-  'error_create' => '오류 발생',
-  'continue' => '계속 이미지 처리',
-  'main_success' => '파일 %s 는 성공적으로 메인파일로 사용되었습니다.',
-  'error_rename' => '%s 을  %s 로 이름 변경을 하는데 오류 ',
-  'error_not_found' => '파일 %s 을 찾을 수 없습니다.',
-  'back' => '메인으로 가기',
-  'thumbs_wait' => '썸네일 혹은 사진크기 변경중입니다. 기다리세요...',
-  'thumbs_continue_wait' => '썸네일과 사진크기 변경을 수행중...',
-  'titles_wait' => '제목 수정중, 기다리세요...',
-  'delete_wait' => '제목 삭제중, 기다리세요...',
-  'replace_wait' => '원래 사진을 삭제하고 크기가 변경된 사진으로 교체중, 기다리세요..',
-  'instruction' => '빠른 지시',
-  'instruction_action' => '명령 선택',
-  'instruction_parameter' => '변수 설정',
-  'instruction_album' => '앨범 선택',
-  'instruction_press' => '%s을 누르세요',
-  'update' => '썸네일 혹은/그리고 크기변경된 사진 수정',
-  'update_what' => '무엇을 수정합니까',
-  'update_thumb' => '썸네일만',
-  'update_pic' => '크기가 변경된 사진만',
-  'update_both' => '썸네일과 크기가 변경된 사진 모두',
-  'update_number' => '한번 클릭에 처리할 이미지 수',
-  'update_option' => '(시간초과 문제가 있으면 이 옵션을 낮게 설정하세요)',
-  'filename_title' => '파일명 &rArr; 파일 제목',
-  'filename_how' => '어떻게 파일명을 바꾸겠습니까?',
-  'filename_remove' => '끝의 .jpg 을 없애고  _ (언더스코어) 공란으로 바꿈',
-  'filename_euro' => '2003_11_23_13_20_20.jpg 을 23/11/2003 13:20로 바꿈',
-  'filename_us' => '2003_11_23_13_20_20.jpg 을 11/23/2003 13:20로 바꿈',
-  'filename_time' => '2003_11_23_13_20_20.jpg 을 13:20로 바꿈',
-  'delete' => '파일제목 혹은 원래크기 사진 삭제',
-  'delete_title' => '파일제목 삭제',
-  'delete_title_explanation' => '표기한 앨범 안에 있는 모든 파일을 제거합니다.', //cpg1.4
-  'delete_original' => '원래크기의 사진을 삭제',
-  'delete_original_explanation' => '풀사이즈 사진을 삭제.', //cpg1.4
-  'delete_intermediate' => '중간크기의 사진을 삭제', //cpg1.4
-  'delete_intermediate_explanation' => '중간(노말) 사진을 지울 것입니다.<br /> 만일 설정에서 \'중간 사진 생성\'을 사용금지하였으면 사진을 추가한 후에 이것을 사용하여 디스크 스페이스를 확보할 수 있습니다.', //cpg1.4
-  'delete_replace' => '원래의 이미지를 삭제하고 이것을 크기를 수정한 버젼으로 대치함',
-  'titles_deleted' => '기술한 앨범에 있는 모든 제목이 제거 되었습니다', //cpg1.4
-  'deleting_intermediates' => '중간크기의 사진을 삭제중, 기다리세요...', //cpg1.4
-  'searching_orphans' => '오펀(고아)를 찾는 중, 기다리세요...', //cpg1.4
-  'select_album' => '앨범 선택',
-  'delete_orphans' => '실종 파일에 대한 코멘트 삭제', //cpg1.4
-  'delete_orphans_explanation' => '갤러리에 더 이상 존재하지 않는 파일과 연결된 코멘트를 발견하고 삭제합니다.<br />모든 앨범을 확인하세요.', //cpg1.4
-  'refresh_db' => '파일 디멘죤과 크기 정보를 리로드', //cpg1.4
-  'refresh_db_explanation' => '파일크기와 디멘죤을 다시 읽습니다. 할당량이 틀리거나 파일을 수동으로 변경하였으면 이것을 사용하세요.', //cpg1.4
-  'reset_views' => '조횟수 리셋', //cpg1.4
-  'reset_views_explanation' => '기술한 앨범의 파일 조횟수를 리셋', //cpg1.4
-  'orphan_comment' => '파일이 없는 코멘트 발견',
-  'delete' => '삭제',
-  'delete_all' => '모두 삭제',
-  'delete_all_orphans' => '모든 오펀을 삭제?', //cpg1.4
-  'comment' => '코멘트: ',
-  'nonexist' => '존재하지 않는 파일에 붙임 # ',
-  'phpinfo' => 'phpinfo 보기',
-  'phpinfo_explanation' => '서버에 관한 기술정보가 있습니다.<br /> - 지원요청을 할 경우 이 정보를 요구합니다.', //cpg1.4
-  'update_db' => '데이타베이스 갱신',
-  'update_db_explanation' => '코퍼마인 파일을 교체하였거나 변경사항을 추가하였거나 지난번의 코퍼마인에서 업그레이드를 하였으면, 데이타베이스 업데이트를 수행하여야 합니다. 그러면 코퍼마인 데이타베이스 안에 필요한 테이블 그리고/혹은 설정 값을 만들어 줍니다.',
-  'view_log' => '로그파일 보기', //cpg1.4
-  'view_log_explanation' => '코퍼마인은 사용자가 행한 여러가지 작업을 추적할 수 있습니다. 귀하가 <a href="admin.php">코퍼마인 설정</a>에서 로깅을 사용 가능하게 하였으면 이것들을 볼 수 있습니다.', //cpg1.4
-  'versioncheck' => '버젼 확인', //cpg1.4
-  'versioncheck_explanation' => '업그래드 후에 모든 파일을 교체하였는지 알기하기 위하여 파일 버젼을 확인하세요. 혹은 코퍼마인 소스 파일이 패케지 발표후에 수정이 되었는지 확인하세요.', //cpg1.4
-  'bridgemanager' => '브리지 관리자', //cpg1.4
-  'bridgemanager_explanation' => '코퍼마인과 다른 어플리케이션(예: BBS)과의 통합(브리징)을 사용함/사용안함.', //cpg1.4
-);
-}
-
-// ------------------------------------------------------------------------- //
-// File versioncheck.php //cpg1.4
-// ------------------------------------------------------------------------- //
-
-if (defined('VERSIONCHECK_PHP')) $lang_versioncheck_php = array(
-  'title' => 'Versioncheck', //cpg1.4
-  'what_it_does' => '이 페이지는 코퍼마인 설치를 수정하는 사용자를 위한 것 입니다. 이 스크립트는 웹서버의 파일을 통하여 서버에 있는 로칼파일의 버젼이 http://coppermine.sourceforge.net에 있는 레포지토리와의 것과 동일한지를 판단합니다. 아울러 수정해야만 하는 파일도 보여줍니다.<br />붉은 색은 고쳐야 할 것들입니다. 노란 색은 살펴야 할 것들입니다. 녹색은(혹은 디폴트 폰트 칼라)은 OK입니다.<br />더 필요한 정보는 도움 아이콘을 클릭하세요.', //cpg1.4
-  'online_repository_unable' => '온라인 리포지토리와 연결할 수 없습니다.', //cpg1.4
-  'online_repository_noconnect' => '코퍼마인이 온라인 레포지토리와 연결할 수 없습니다. 두가지 경우일 수 있습니다:', //cpg1.4
-  'online_repository_reason1' => '코퍼마인 온라인 레포지토리가 현재 다운 - 다음 페이지를 볼 수 있는지 확인: %s - 이 페이지를 처리할 수 없으면 , 다시 시도하세요.', //cpg1.4
-  'online_repository_reason2' => '웹서버에 있는 PHP의 설정에 %s가 꺼져 있습니다(기본 설정은 켜짐). 만일 귀하가 서버의 관리자이면은 이 설정을 <i>php.ini</i>에서 변경하세요 (최소한 이것을 %s로 변경). 만일 웹호스를 할 경우에는 귀하의 파일과 온라인 레포지토리와 대조를 할 수 없습니다. 그러면 이 페이지는 오직 배포된 파일 버젼만을 보여줍니다. - 수정분은 보여주지 않습니다.', //cpg1.4
-  'online_repository_skipped' => '온라인 리포지토리와의 연결이 생략됨', //cpg1.4
-  'online_repository_to_local' => '스크립이 버젼파일의 로칼 카피를 디폴트로 합니다. 만일 코퍼마인을 업그래이드하고 모든 파일을 업로드하지 않았다면 이 데이타는 부적절할 수 있습니다. 배포후의 파일에 대하여서는 수정을 하지 않습니다.', //cpg1.4
-  'local_repository_unable' => '서버의 레포지토리와 연결을 할 수 없습니다.', //cpg1.4
-  'local_repository_explanation' => '코퍼마인이 서버의 레포지토리 파일 %s와 연결을 할 수 없습니다. 서버에 레포지토리 파일을 업로드 하지 않은 것 같습니다. 업로드하고 이 페이지를 다시 한번 수행하세요(새로고침을 누르세요).<br />만일 아직도 스크맆트가 실패하면 귀하의 웹호스트가 <a href="http://www.php.net/manual/en/ref.filesystem.php">PHP의 파일시스템 기능</a> 부분을 사용금지 한 것 같습니다. 이 경우 귀하는 이 도구를 사용할 수 없습니다.', //cpg1.4
-  'coppermine_version_header' => '설치된 코퍼마인의 버젼', //cpg1.4
-  'coppermine_version_info' => '현재 설치된 버젼은: %s', //cpg1.4
-  'coppermine_version_explanation' => '이 내용이 전적으로 틀리며 더 최신의 코퍼마인의 버젼을 수행하여야 한다고 생각이 드는 경우는, 가장 최신 버젼의 파일 <i>include/init.inc.php</i>을 업로드하지 않은 것입니다.', //cpg1.4
-  'version_comparison' => '버젼 비교', //cpg1.4
-  'folder_file' => '폴더/파일', //cpg1.4
-  'coppermine_version' => 'cpg 버젼', //cpg1.4
-  'file_version' => '파일 버젼', //cpg1.4
-  'webcvs' => '웹 cvs', //cpg1.4
-  'writable' => '기록가능', //cpg1.4
-  'not_writable' => '기록불가', //cpg1.4
-  'help' => '도움', //cpg1.4
-  'help_file_not_exist_optional1' => '파일/폴더가 존재하지 않습니다.', //cpg1.4
-  'help_file_not_exist_optional2' => '선택적이지만 귀하의 서버에서 파일/폴더 %s 를 찾을 수 없습니다. 문제가 발생하면  FTP 클라이언트를 사용하여 파일을 귀하의 서버에 업로드 하세요.', //cpg1.4
-  'help_file_not_exist_mandatory1' => '파일/폴더가 존재하지 않습니다.', //cpg1.4
-  'help_file_not_exist_mandatory2' => '필수적이지만 귀하의 서버에서 파일/폴더 %s 를 찾을 수 없습니다. FTP 클라이언트를 사용하여 파일을 귀하의 서버에 업로드하세요.', //cpg1.4
-  'help_no_local_version1' => '로칼 파일 버젼이 없음', //cpg1.4
-  'help_no_local_version2' => '스크립트가 로칼 파일 버젼을 발췌할 수 없습니다 - 파일이 오래 되었거나, 수정되었거나 혹은 해더 정보가 제거되었습니다. 파일을 수정하세요.', //cpg1.4
-  'help_local_version_outdated1' => '로칼 버젼이 구식임', //cpg1.4
-  'help_local_version_outdated2' => '이 파일의 버젼이 코퍼마인의 지난번 버젼에서 비롯된 것 같습니다(코퍼마인을 업그래드 한 것 같습니다). 이파일도 수정을하였는지 확인하세요.', //cpg1.4
-  'help_local_version_na1' => 'cvs 버젼 정보를 발췌할 수 없습니다.', //cpg1.4
-  'help_local_version_na2' => '스크립트가 웹서버의 cvs 버젼을 판단할 수 없습니다. 패케지로 부터 파일을 업로드하여야 합니다.', //cpg1.4
-  'help_local_version_dev1' => '개발용 버젼', //cpg1.4
-  'help_local_version_dev2' => '웹 서버에 있는 파일이 코퍼마인 버젼보다 신형인것 같습니다. 개발용 파일(자신이 무엇을 하는지 반드시 알아야 합니다)을 사용하거나 코퍼마인 설치를 업그레이드하고 include/init.inc.php을 업로드하지 않았습니다.', //cpg1.4
-  'help_not_writable1' => '폴더가 기록금지상태', //cpg1.4
-  'help_not_writable2' => '파일 퍼미션 (CHMOD)을 수정하여 스크립터가 폴더 %s 와 그 안에 있는 모든 것의 쓰기 처리를 할 수 있게 하십시요.', //cpg1.4
-  'help_writable1' => '폴더가 기록가능한 상태', //cpg1.4
-  'help_writable2' => '폴더 %s 기록가능함. 코퍼마인은 읽기/실행 처리만 필요하므로 이것은 필요하지 않은 위험을 갖습니다.', //cpg1.4
-  'help_writable_undetermined' => '폴더가 기록가능한 상태인지 코퍼마인이 판단할 수 없습니다.', //cpg1.4
-  'your_file' => '귀하의 파일
-', //cpg1.4
-  'reference_file' => '참조 파일', //cpg1.4
-  'summary' => '요약', //cpg1.4
-  'total' => '확인된 파일/폴더 합계', //cpg1.4
-  'mandatory_files_missing' => '필수적인 파일이 없음', //cpg1.4
-  'optional_files_missing' => '선택적인 파일이 없음', //cpg1.4
-  'files_from_older_version' => '오래된 코퍼마인 버젼의 파일이 남아 있습니다.', //cpg1.4
-  'file_version_outdated' => '오래된 파일 버젼', //cpg1.4
-  'error_no_data' => '스크립트 오류, 정보를 검색할 수 없습니다. 불편을 드려서 죄송합니다.', //cpg1.4
-  'go_to_webcvs' => ' %s로 가기', //cpg1.4
-  'options' => '옵션', //cpg1.4
-  'show_optional_files' => '선택적인 폴더/파일 보기', //cpg1.4
-  'show_mandatory_files' => '필수 파일 보기', //cpg1.4
-  'show_file_versions' => '파일 버젼 보기', //cpg1.4
-  'show_errors_only' => '오류 폴더/파일만 보기', //cpg1.4
-  'show_permissions' => '폴더 퍼미션 보기', //cpg1.4
-  'show_condensed_output' => '요약된 출력 보기 (쉬운 스크린샽)', //cpg1.4
-  'coppermine_in_webroot' => '코퍼마인이 웹루트에 설치되었습니다.', //cpg1.4
-  'connect_online_repository' => '언라인 레포지토리에 연결 시도', //cpg1.4
-  'show_additional_information' => '추가 정보 보기', //cpg1.4
-  'no_webcvs_link' => 'web svn 경로 숨기기', //cpg1.4
-  'stable_webcvs_link' => '스테이블 브랜치로의 web svn 경로 보여주기', //cpg1.4
-  'devel_webcvs_link' => '데블 브랜치로의 web svn 경로 보여주기', //cpg1.4
-  'submit' => '수정 적용 / 새로고침', //cpg1.4
-  'reset_to_defaults' => '디폴트 값으로 리셋', //cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File view_log.php  //cpg1.4
-// ------------------------------------------------------------------------- //
-
-if (defined('VIEWLOG_PHP')) $lang_viewlog_php = array(
-  'delete_all' => '모든 로그 삭제', //cpg1.4
-  'delete_this' => '이 로그 삭제', //cpg1.4
-  'view_logs' => '로그 보기', //cpg1.4
-  'no_logs' => '로그가 생성되지 않았습니다.', //cpg1.4
-);
-
-
-// ------------------------------------------------------------------------- //
-// File xp_publish.php //cpg1.4
-// ------------------------------------------------------------------------- //
-
-if (defined('XP_PUBLISH_PHP')) {
-
-$lang_xp_publish_client = <<<EOT
-<h1>XP 웹 퍼블리싱 마법사 클라이언트</h1><p>이 모듈은 코퍼마인을 <b>Windows XP</b> 웹 퍼블리싱 마법사로 사용할 수 있게 해 줍니다.</p><p>코드는 다음의 순서입니다.
-EOT;
-
-$lang_xp_publish_required = <<<EOT
-<h2>필요 항목</h2><ul><li>마법사를 소지하기 위하여 Windows XP.</li><li><b>웹 업로드 작업이 정상 작동되는</b> 곳에 위치한 코퍼마인의 설치</li></ul><h2>클라이언트측 설치 방법</h2><ul><li>오른쪽 클릭
-EOT;
-
-$lang_xp_publish_select = <<<EOT
-&quot;다른이름으로 대상 저장&quot;을 선택. 하드디스크에 파일을 저장. 파일을 저장할 때 권하는 파일명이 <b>cpg_###.reg</b> (###은 시간을 나타내는 숫자)인지 확인. 필요시 이름변경(숫자는 남겨두고). 다운로드할 때 파일에 더블 클릭을 하여 웹 퍼블리싱 마법사에 서버를 등록.</li></ul>
-EOT;
-
-$lang_xp_publish_testing = <<<EOT
-<h2>테스팅</h2><ul><li>Windows 탐색기에서 어느 파일들을 선택하여 <b>Publish xxx on the web</b>의 왼쪽을 클릭.</li><li>파일 선택을 확인. <b>Next</b>를 클릭.</li><li>나타난 서비스 목록에서 포토갤러리를 선택(갤러리이름). 서비스가 나타나지 않으면, 위에서 설명한 <b>cpg_pub_wizard.reg</b>이 설치되었는지 확인.</li><li>필요하면 로그인 정보를 입력.</li><li>귀하의 사진이 있는 앨범을 선택 혹은 생성.</li><li>클릭 <b>next</b>. 사진의 업로드 시작.</li><li>완료후에 사진들이 정확히 추가 되었는지 확인.</li></ul>
-EOT;
-
-$lang_xp_publish_notes = <<<EOT
-<h2>참고 :</h2><ul><li>업로드가 시작되면 마법사는 스크립트에서 보내는 오류 메세지를 보여줄 수 없습니다. 그래서 갤러리를 확인하기 전에는 업로드가 성공하였는지 실패하였는지 알 수 없습니다.</li><li>업로드가 실패하면 코퍼마인 관리자 페이지의 &quot;디버그 모드 작동&quot;을 예로 하세요. 한 파일을 업로드하여 시험하세요.
-EOT;
-
-$lang_xp_publish_flood = <<<EOT
-(서버에 있는 코퍼마인 디렉토리에 있는 파일).</li><li>갤러리가 마법사를 통하여 업로드를 함으로 <i>범람</i>하는 경우를 피하기 위하여 <b>갤러리 관리자</b>와 <b>본인의 앨범을 소유한 회원</b>만이 이 기능을 사용할 수 있습니다.</li>
-EOT;
-
-
-
-$lang_xp_publish_php = array(
-  'title' => '코퍼마인 - XP 웹 퍼블리싱 마법사', //cpg1.4
-  'welcome' => '환영합니다 <b>%s</b>,', //cpg1.4
-  'need_login' => '이 마법사를 사용하기 전에 웹 브라우저를 사용하여 갤러리에 로그인하세요.<p/><p>로그인을 할 때에 반드시 <b>기억하기</b> 옵션이 있으면 이것을 선택하세요.', //cpg1.4
-  'no_alb' => '이 마법사로 귀하가 사진 업로드를 할 수 있는 권한이 있는 앨범이 없습니다.', //cpg1.4
-  'upload' => '현재 있는 앨범에 사진 업로드', //cpg1.4
-  'create_new' => '새 앨범 생성', //cpg1.4
-  'album' => '앨범', //cpg1.4
-  'category' => '카테고리', //cpg1.4
-  'new_alb_created' => '새 앨범 &quot;<b>%s</b>&quot; 생성되었습니다.', //cpg1.4
-  'continue' => '사진을 업로드하시려면 &quot;다음&quot; 을 누르세요', //cpg1.4
-  'link' => '이 링크', //cpg1.4
-);
-}
-?>
+<?php
+/*************************
+  Coppermine Photo Gallery
+  ************************
+  Copyright (c) 2003-2009 Coppermine Dev Team
+  v1.1 originally written by Gregory DEMAR
+
+  This program is free software; you can redistribute it and/or modify
+  it under the terms of the GNU General Public License version 3
+  as published by the Free Software Foundation.
+  
+  ********************************************
+  Coppermine version: 1.4.25
+  $HeadURL: https://coppermine.svn.sourceforge.net/svnroot/coppermine/trunk/cpg1.4.x/lang/korean.php $
+  $Revision: 5997 $
+  $Author: gaugau $
+  $Date: 2009-05-26 08:43:24 +0200 (Di, 26 Mai 2009) $
+**********************************************/
+
+if (!defined('IN_COPPERMINE')) { die('Not in Coppermine...');}
+
+// info about translators and translated language
+$lang_translation_info = array(
+  'lang_name_english' => 'Korean', //cpg1.4
+  'lang_name_native' => '한국어', //cpg1.4
+  'lang_country_code' => 'kr', //cpg1.4
+  'trans_name'=> 'mle21',
+  'trans_email' => '',
+  'trans_website' => '',
+  'trans_date' => '2005-08-17',
+);
+
+$lang_charset = 'euc-kr';
+$lang_text_dir = 'ltr'; // ('ltr' for left to right, 'rtl' for right to left)
+
+// shortcuts for Byte, Kilo, Mega
+$lang_byte_units = array('바이트', 'KB', 'MB');
+
+// Day of weeks and months
+$lang_day_of_week = array('일', '월', '화', '수', '목', '금', '토');
+$lang_month = array('1월', '2월', '3월', '4월', '5월', '6월', '7월', '8월', '9월', '10월', '11월', '12월');
+
+// Some common strings
+$lang_yes = '예';
+$lang_no  = '아니오';
+$lang_back = '뒤로';
+$lang_continue = '다음';
+$lang_info = '안내';
+$lang_error = '오류';
+$lang_check_uncheck_all = '모두 선택/해제 '; //cpg1.4
+
+// The various date formats
+// See http://www.php.net/manual/en/function.strftime.php to define the variable below
+$album_date_fmt =    '%B %d, %Y';
+$lastcom_date_fmt =  '%m/%d/%y @ %H:%M';
+$lastup_date_fmt = '%B %d, %Y';
+$register_date_fmt = '%B %d, %Y';
+$lasthit_date_fmt = '%B %d, %Y @ %I:%M %p';
+$comment_date_fmt =  '%B %d, %Y @ %I:%M %p';
+$log_date_fmt = '%B %d, %Y @ %I:%M %p'; //cpg1.4
+
+// For the word censor
+$lang_bad_words = array('*fuck*', 'asshole', 'assramer', 'bitch*', 'c0ck', 'clits', 'Cock', 'cum', 'cunt*', 'dago', 'daygo', 'dego', 'dick*', 'dildo', 'fanculo', 'feces', 'foreskin', 'Fu\(*', 'fuk*', 'honkey', 'hore', 'injun', 'kike', 'lesbo', 'masturbat*', 'motherfucker', 'nazis', 'nigger*', 'nutsack', 'penis', 'phuck', 'poop', 'pussy', 'scrotum', 'shit', 'slut', 'titties', 'titty', 'twaty', 'wank*', 'whore', 'wop*');
+
+$lang_meta_album_names = array(
+  'random' => '무작위 이미지',
+  'lastup' => '최근 이미지',
+  'lastalb'=> '최근 수정된 앨범',
+  'lastcom' => '최근 코멘트',
+  'topn' => '최다 조회',
+  'toprated' => '최고 평점',
+  'lasthits' => '최근 조회',
+  'search' => '검색 결과',
+  'favpics'=> '즐겨찾기 이미지',  //cpg1.4
+);
+
+$lang_errors = array(
+  'access_denied' => '회원님의 권한으로 이페이지를 볼 수 없습니다. 관리자에게 문의하세요.',
+  'perm_denied' => '회원님의 권한으로 실행할 수 없는 명령입니다.',
+  'param_missing' => '필요한 파라메타가 지정되지 않았습니다.',
+  'non_exist_ap' => '선택한 앨범/이미지가 존재하지 않습니다 !',
+  'quota_exceeded' => '디스크 할당량을 초과 사용하였습니다<br /><br /> 할당량은 [quota]K, 현재 사용량은 [space]K, 이 이미지를 추가하면 할당량을 초과합니다.',
+  'gd_file_type_err' => 'GD 이미지 라이브러리에서 지원되는 이미지 타입은 오직 JPEG 와 PNG입니다.',
+  'invalid_image' => '업로드한 이미지가 파손되었거나 혹은 GD 라이브러리가 처리할 수 없습니다. ',
+  'resize_failed' => '썸네일 혹은 이미지 크기를 바꿀 수 없습니다.',
+  'no_img_to_display' => '표시할 이미지가 없습니다.',
+  'non_exist_cat' => '선택한 카테고리는 존재하지 않습니다.',
+  'orphan_cat' => '카타고리의 상위레벨이 없습니다, 문제를 해결하기 위하여 카타고리-관리자를 수행하세요!',
+  'directory_ro' => '디렉토리 \'%s\' 가 쓰기금지 상태입니다. 이미지를 삭제할 수 없습니다.',
+  'non_exist_comment' => '선택한 코멘트가 존재하지 않습니다.',
+  'pic_in_invalid_album' => '이미지가 존재하지 않는 앨범에 있습니다 (%s)!?',
+  'banned' => '귀하는 사용금지자 명단에 들어있습니다.',
+  'not_with_udb' => '이 기능을 코퍼마인에서 사용할 수 없습니다. 이 기능은 게시판 소프트웨어에 합병되었습니다. 입력하신 기능이 현재의 설정에서는 지원되지 않거나 게시판 소프트웨어에서만 처리되는 기능입니다.',
+  'offline_title' => '오프라인',
+  'offline_text' => '갤러리는 현재 오프라인 상태입니다 - 다시 방문하여 주세요.',
+  'ecards_empty' => '현재 표시할 E-Card가 없습니다.',
+  'action_failed' => '실행실패.  코퍼마인이 더 이상의 요구를 처리할 수 없습니다.',
+  'no_zip' => 'Zip 화일을 처리하는데 필요한 라이브러리를 사용할 수 없습니다.  코퍼마인 관리자에게 연락하세요.',
+  'zip_type' => '귀하는 ZIP 화일을 업로드하는 권한이 없습니다.',
+  'database_query' => '데이타베이스 쿼리를 하는 도중에 오류가 발생하였습니다.', //cpg1.4
+  'register_globals_on' => 'The PHP setting register_globals is enabled on your server, which is a bad idea in terms of security. It\'s strongly recommended to turn it off. [<a href="http://forum.coppermine-gallery.net/index.php/topic,59569.0.html" rel="external" class="external">more</a>]',
+);
+
+$lang_bbcode_help_title = '비비코드 도움말'; //cpg1.4
+$lang_bbcode_help = '이 필드에 클릭할 수 있는 경로를 추가하거나 비비코드 태그를 이용하여 포멭팅을 할 수 있습니다. 태그: <li>[b]Bold[/b] =&gt; <b>Bold</b></li><li>[i]Italic[/i] =&gt; <i>Italic</i></li><li>[url=http://yoursite.com/]Url Text[/url] =&gt; <a href="http://yoursite.com">Url Text</a></li><li>[email]user@domain.com[/email] =&gt; <a href="mailto:user@domain.com">user@domain.com</a></li><li>[color=red]some text[/color] =&gt; <span style="color:red">some text</span></li><li>[img]http://coppermine-gallery.net/demo/cpg14x/images/red.gif[/img] => <img src="../images/red.gif" border="0" alt="" /></li>'; //cpg1.4
+
+// ------------------------------------------------------------------------- //
+// File theme.php
+// ------------------------------------------------------------------------- //
+
+$lang_main_menu = array(
+  'home_title' => '홈으로 가기',
+  'home_lnk' => '홈',
+  'alb_list_title' => '앨범목록으로 가기',
+  'alb_list_lnk' => '앨범목록',
+  'my_gal_title' => '개인갤러리로 가기',
+  'my_gal_lnk' => '개인갤러리',
+  'my_prof_title' => '개인정보로 가기', //cpg1.4
+  'my_prof_lnk' => '개인정보',
+  'adm_mode_title' => '관리자 모드로 전환',
+  'adm_mode_lnk' => '관리자 모드',
+  'usr_mode_title' => '사용자 모드로 가기',
+  'usr_mode_lnk' => '사용자 모드',
+  'upload_pic_title' => '앨범에 이미지 업로드',
+  'upload_pic_lnk' => '이미지 업로드',
+  'register_title' => '계정 만들기',
+  'register_lnk' => '회원등록',
+  'login_title' => '로그인', //cpg1.4
+  'login_lnk' => '로그인',
+  'logout_title' => '로그아웃', //cpg1.4
+  'logout_lnk' => '로그아웃',
+  'lastup_title' => '최근 이미지 보여주기', //cpg1.4
+  'lastup_lnk' => '최근 이미지',
+  'lastcom_title' => '최근 코멘트 보여주기', //cpg1.4
+  'lastcom_lnk' => '최근 코멘트',
+  'topn_title' => '최다 조회 보여주기', //cpg1.4
+  'topn_lnk' => '최다 조회',
+  'toprated_title' => '최고 평점 보여주기', //cpg1.4
+  'toprated_lnk' => '최고 평점',
+  'search_title' => '갤러리 찾기', //cpg1.4
+  'search_lnk' => '검색',
+  'fav_title' => '즐겨찾기로 가기', //cpg1.4
+  'fav_lnk' => '즐겨찾기',
+  'memberlist_title' => '회원명단 보기',
+  'memberlist_lnk' => '회원명단',
+  'faq_title' => '사진갤러리에 대한 자주 묻는 질문 &quot;코퍼마인&quot;',
+  'faq_lnk' => 'FAQ',
+);
+
+$lang_gallery_admin_menu = array(
+  'upl_app_title' => '신규 업로드 승인', //cpg1.4
+  'upl_app_lnk' => '업로드 승인',
+  'admin_title' => '설정으로 가기', //cpg1.4
+  'admin_lnk' => '설정', //cpg1.4
+  'albums_title' => '앨범설정으로 가기', //cpg1.4
+  'albums_lnk' => '앨범',
+  'categories_title' => '카타고리설정으로 가기', //cpg1.4
+  'categories_lnk' => '카타고리',
+  'users_title' => '사용자설정으로 가기', //cpg1.4
+  'users_lnk' => '사용자',
+  'groups_title' => '그룹설정으로 가기', //cpg1.4
+  'groups_lnk' => '그룹',
+  'comments_title' => '모든 코멘트 보기', //cpg1.4
+  'comments_lnk' => '코멘트 보기',
+  'searchnew_title' => '일괄 추가로 가기', //cpg1.4
+  'searchnew_lnk' => '일괄 추가 화일',
+  'util_title' => '관리자 도구로 가기', //cpg1.4
+  'util_lnk' => '관리자 도구',
+  'key_title' => '키워드 사전으로 가기', //cpg1.4
+  'key_lnk' => '키워드 사전', //cpg1.4
+  'ban_title' => '사용금지자로 가기', //cpg1.4
+  'ban_lnk' => '사용금지자',
+  'db_ecard_title' => 'E-card 리뷰', //cpg1.4
+  'db_ecard_lnk' => 'E-card 디스플레이',
+  'pictures_title' => '나의 사진 배열', //cpg1.4
+  'pictures_lnk' => '나의 사진 배열', //cpg1.4
+  'documentation_lnk' => '자료모음', //cpg1.4
+  'documentation_title' => '코퍼마인 매뉴얼', //cpg1.4
+);
+
+$lang_user_admin_menu = array(
+  'albmgr_title' => '개인앨범 생성 및 의뢰', //cpg1.4
+  'albmgr_lnk' => '개인앨범 생성/의뢰',
+  'modifyalb_title' => '개인앨범 수정으로 가기',  //cpg1.4
+  'modifyalb_lnk' => '개인앨범 수정',
+  'my_prof_title' => '개인정보로 가기', //cpg1.4
+  'my_prof_lnk' => '개인정보',
+);
+
+$lang_cat_list = array(
+  'category' => '카테고리',
+  'albums' => '앨범',
+  'pictures' => '이미지',
+);
+
+$lang_album_list = array(
+  'album_on_page' => '앨범 %d 페이지 %d',
+);
+
+$lang_thumb_view = array(
+  'date' => '일자',
+  //Sort by filename and title
+  'name' => '파일이름',
+  'title' => '제목',
+  'sort_da' => '일자별 순차배열',
+  'sort_dd' => '일자별 역순',
+  'sort_na' => '이름별 순차배열',
+  'sort_nd' => '이름별 역순',
+  'sort_ta' => '제목별 순차배열',
+  'sort_td' => '제목별 역순',
+  'position' => '위치', //cpg1.4
+  'sort_pa' => '위치별 순차배열', //cpg1.4
+  'sort_pd' => '위치별 역순', //cpg1.4
+  'download_zip' => 'Zip 파일로 다운라인',
+  'pic_on_page' => '이미지: %d  페이지: %d ',
+  'user_on_page' => '사용자: %d  페이지: %d',
+  'enter_alb_pass' => '앨범 비밀번호를 입력하세요', //cpg1.4
+  'invalid_pass' => '비밀번호 오류', //cpg1.4
+  'pass' => '비밀번호', //cpg1.4
+  'submit' => '보냄', //cpg1.4
+);
+
+$lang_img_nav_bar = array(
+  'thumb_title' => '썸네일 페이지로 돌아가기',
+  'pic_info_title' => '사진정보 보기/숨기기',
+  'slideshow_title' => '슬라이드쇼',
+  'ecard_title' => '이미지를 e-card로 보내기',
+  'ecard_disabled' => 'e-cards 사용금지',
+  'ecard_disabled_msg' => '귀하는 e-cards 보내기 권한이 없습니다', //js-alert
+  'prev_title' => '이전 이미지 보기',
+  'next_title' => '다음 이미지 보기',
+  'pic_pos' => '이미지 %s/%s',
+  'report_title' => '이 이미지를 관리자에게 보고', //cpg1.4
+  'go_album_end' => '마지막으로', //cpg1.4
+  'go_album_start' => '처음으로 돌아가기', //cpg1.4
+  'go_back_x_items' => '%s 아이템 이전으로', //cpg1.4
+  'go_forward_x_items' => '%s 아이템 앞으로', //cpg1.4
+);
+
+$lang_rate_pic = array(
+  'rate_this_pic' => '평가',
+  'no_votes' => '(평가없음)',
+  'rating' => '(현재평점 : %s / 5 평가횟수 %s 회)',
+  'rubbish' => '아주나쁨',
+  'poor' => '나쁨',
+  'fair' => '보통',
+  'good' => '좋음',
+  'excellent' => '아주좋음',
+  'great' => '최상',
+);
+
+// ------------------------------------------------------------------------- //
+// File include/exif.inc.php
+// ------------------------------------------------------------------------- //
+
+// void
+
+// ------------------------------------------------------------------------- //
+// File include/functions.inc.php
+// ------------------------------------------------------------------------- //
+
+$lang_cpg_die = array(
+  INFORMATION => $lang_info,
+  ERROR => $lang_error,
+  CRITICAL_ERROR => '심각한 오류발생',
+  'file' => '파일: ',
+  'line' => '라인: ',
+);
+
+$lang_display_thumbnails = array(
+  'filename' => '파일명=', //cpg1.4
+  'filesize' => '파일크기=', //cpg1.4
+  'dimensions' => '너비,높이=', //cpg1.4
+  'date_added' => '등록일=', //cpg1.4
+);
+
+$lang_get_pic_data = array(
+  'n_comments' => '%s 코멘트',
+  'n_views' => '%s 조회',
+  'n_votes' => '(%s 평가)',
+);
+
+$lang_cpg_debug_output = array(
+  'debug_info' => '디버그 정보',
+  'select_all' => '모두 선택',
+  'copy_and_paste_instructions' => '코퍼마인에 지원을 원하시면, 비밀번호는 *** 로 변환하여 디버그 출력과 함께 복사하여 보내주세요.  <br /> 이 메시지는 단지 정보이고, 이 갤러리에 오류가 있다는 것은 아닙니다.', //cpg1.4
+  'phpinfo' => 'phpinfo 보기',
+  'notices' => '공지사항', //cpg1.4
+);
+
+$lang_language_selection = array(
+  'reset_language' => '초기설정 언어',
+  'choose_language' => '언어를 선택하세요',
+);
+
+$lang_theme_selection = array(
+  'reset_theme' => '초기설정 테마',
+  'choose_theme' => '테마를 선택하세요',
+);
+
+$lang_version_alert = array(
+  'version_alert' => '지원하지 않는 버젼!', //cpg1.4
+  'no_stable_version' => '귀하는 코퍼마인 %s (%s) 를 사용하고 있습니다. 이것은 경험이 많은 고객용입니다. - 이 버젼은 지원과 워런티가 없습니다. 위험을 감수하며 사용을 하던가 아니면 지원이 가능한 안정된 버젼을 다운로드 하여 사용하세요.', //cpg1.4
+  'gallery_offline' => '현재 이 갤러리는 오프라인 입니다. 관리자권한으로만 보여질 수 있습니다. 작업이 완료되면 온라인으로 전환시키십시요.', //cpg1.4
+);
+
+$lang_create_tabs = array(
+  'previous' => '이전', //cpg1.4
+  'next' => '다음', //cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File include/init.inc.php
+// ------------------------------------------------------------------------- //
+
+// void
+
+// ------------------------------------------------------------------------- //
+// File keyword.inc.php                                                      //
+// ------------------------------------------------------------------------- //
+
+// void
+
+// ------------------------------------------------------------------------- //
+// File include/picmgmt.inc.php
+// ------------------------------------------------------------------------- //
+
+// void
+
+// ------------------------------------------------------------------------- //
+// File include/plugin_api.inc.php
+// ------------------------------------------------------------------------- //
+$lang_plugin_api = array(
+  'error_wakeup' => "플러그인을 기동할 수 없습니다 '%s'", //cpg1.4
+  'error_install' => "플러그인을 설치할 수 없습니다 '%s'", //cpg1.4
+  'error_uninstall' => "플러그인을 제거할 수 없습니다 '%s'", //cpg1.4
+  'error_sleep' => "플러그인을 제거할 수 없습니다 '%s'<br />", //cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File include/smilies.inc.php
+// ------------------------------------------------------------------------- //
+
+if (defined('SMILIES_PHP')) $lang_smilies_inc_php = array(
+  'Exclamation' => 'Exclamation',
+  'Question' => '궁금',
+  'Very Happy' => '아주 기쁨',
+  'Smile' => '스마일',
+  'Sad' => '슬픔',
+  'Surprised' => '놀람',
+  'Shocked' => '쇼크',
+  'Confused' => '혼란',
+  'Cool' => 'Cool',
+  'Laughing' => 'Laughing',
+  'Mad' => 'Mad',
+  'Razz' => 'Razz',
+  'Embarassed' => 'Embarassed',
+  'Crying or Very sad' => '아주 슬픔',
+  'Evil or Very Mad' => 'Evil or Very Mad',
+  'Twisted Evil' => 'Twisted Evil',
+  'Rolling Eyes' => 'Rolling Eyes',
+  'Wink' => '윙크',
+  'Idea' => 'Idea',
+  'Arrow' => 'Arrow',
+  'Neutral' => 'Neutral',
+  'Mr. Green' => 'Mr. Green',
+);
+
+// ------------------------------------------------------------------------- //
+// File addpic.php
+// ------------------------------------------------------------------------- //
+
+// void
+
+// ------------------------------------------------------------------------- //
+// File mode.php //cpg1.4
+// ------------------------------------------------------------------------- //
+
+if (defined('ADMIN_PHP')) $lang_admin_php = array(
+        0 => '사용자모드로 전환합니다...',
+        1 => '관리자모드로 전환합니다...',
+);
+
+// ------------------------------------------------------------------------- //
+// File albmgr.php
+// ------------------------------------------------------------------------- //
+
+if (defined('ALBMGR_PHP')) $lang_albmgr_php = array(
+  'alb_need_name' => '앨범명이 필요합니다 !', //js-alert
+  'confirm_modifs' => '변경사항을 적용하시겠습니까 ?', //js-alert
+  'no_change' => '변경사항이 없습니다 !', //js-alert
+  'new_album' => '새 앨범',
+  'confirm_delete1' => '앨범을 삭제하시겠습니까 ?', //js-alert
+  'confirm_delete2' => '\n앨범에 등록된 모든 이미지와 코멘트가 삭제됩니다 !', //js-alert
+  'select_first' => '먼저 앨범을 선택하세요.', //js-alert
+  'alb_mrg' => '앨범 관리자',
+  'my_gallery' => '* 개인 갤러리 *',
+  'no_category' => '* 최상위 카테고리(메인) *',
+  'delete' => '삭제',
+  'new' => '생성',
+  'apply_modifs' => '변경적용',
+  'select_category' => '카테고리 선택',
+);
+
+// ------------------------------------------------------------------------- //
+// File banning.php
+// ------------------------------------------------------------------------- //
+
+if (defined('BANNING_PHP')) $lang_banning_php = array(
+  'title' => '사용금지자', //cpg1.4
+  'user_name' => '회원아이디', //cpg1.4
+  'ip_address' => 'IP 주소', //cpg1.4
+  'expiry' => '유효기간 (공란은 영구적임)', //cpg1.4
+  'edit_ban' => '수정 저장', //cpg1.4
+  'delete_ban' => '삭제', //cpg1.4
+  'add_new' => '사용금지자 추가', //cpg1.4
+  'add_ban' => '추가', //cpg1.4
+  'error_user' => '사용자 검색 실패', //cpg1.4
+  'error_specify' => '회원아이디 혹은 IP 주소를 기술하세요', //cpg1.4
+  'error_ban_id' => '금지자 아이디 오류!', //cpg1.4
+  'error_admin_ban' => '귀하를 본인이 금지할 수 없습니다!', //cpg1.4
+  'error_server_ban' => '귀하 자신의 서버를 금지하려 합니까? ㅋ ㅋ , 불가능합니다', //cpg1.4
+  'error_ip_forbidden' => 'IP를 금지할 수 없음 - 개인용 입니다!<br />개인 IP를 금지하시려면 이것을 수정하세요 <a href="admin.php">구성</a> (쿠머마인이 LAN에서 운용될 경우).', //cpg1.4
+  'lookup_ip' => 'IP 주소 조회 ', //cpg1.4
+  'submit' => '실행!', //cpg1.4
+  'select_date' => '일자 선택', //cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File bridgemgr.php //cpg1.4
+// ------------------------------------------------------------------------- //
+
+if (defined('BRIDGEMGR_PHP')) $lang_bridgemgr_php = array(
+  'title' => '브릿지 마법사',
+  'warning' => '주의: 이 마법사를 사용하실 때 센시티브 데이타는 html 형식으로 전송 되는 것을 숙지하여야 합니다. 이것은 귀하의 PC에서만 동작이 됩니다 (인터넷 카페등과 같은 공공 클라이언트에서는 안됨), 작업후에 브라우저 캐시와 인터넷 임시파일을 삭제하세요, 그렇지 않으면 다른사람들이 귀하의 데이타를 참조할 수 있습니다!',
+  'back' => '뒤로',
+  'next' => '앞으로',
+  'start_wizard' => '브릿징 마법사 시작',
+  'finish' => '완료',
+  'hide_unused_fields' => '사용하지 않는 항목 숨기기 (권장)',
+  'clear_unused_db_fields' => '부적절 데이타베이스 엔튜리 제거 (권장)',
+  'custom_bridge_file' => '커스톰 브리지 파일명 (만일 브리지 파일명이 <i>myfile.inc.php</i> 이면 이 항목에 <i>myfile</i> 을 입력)',
+  'no_action_needed' => '이 단계에서는 다른작업이 필요하지 않습니다. 계속하시려면 \'다음\' 을 클릭하세요.',
+  'reset_to_default' => '기본설정으로 리셋',
+  'choose_bbs_app' => '코퍼마인과 연결할 어플리케이션을 선택하세요.',
+  'support_url' => '어플리케이션 지원으로 가기',
+  'settings_path' => 'BBS app 사용하는 경로',
+  'database_connection' => '데이타베이스 연결',
+  'database_tables' => '데이타베이스 테이블',
+  'bbs_groups' => 'BBS 그룹',
+  'license_number' => '라이센스 번호',
+  'license_number_explanation' => '귀하의 라이센스 번호를 입력하세요 (가능하면).',
+  'db_database_name' => '데이타베이스 명',
+  'db_database_name_explanation' => 'BBS app 사용하는 데이타베이스 명을 입력하세요.',
+  'db_hostname' => '데이타베이스 호스트',
+  'db_hostname_explanation' => 'mySQL 데이타베이스가 있는 호스트 명, 통상적으로 &quot;로칼호스트&quot;',
+  'db_username' => '데이타베이스 사용자 계정',
+  'db_username_explanation' => 'BBS에 연결하여 사용하려는 mySQL 사용자계정',
+  'db_password' => '데이타베이스 비밀번호',
+  'db_password_explanation' => 'MySQL 사용자계정 비밀번호',
+  'full_forum_url' => ' 게시판 URL',
+  'full_forum_url_explanation' => '귀하의 BBS app URL 주소 ( http:// 를 포함하여, 예: http://www.yourdomain.tld/forum)',
+  'relative_path_of_forum_from_webroot' => '상대  게시판 경로',
+  'relative_path_of_forum_from_webroot_explanation' => '웹루트에서 귀하의 BBS app 상대 경로 (예: 만일 BBS가 http://www.yourdomain.tld/forum/ 라면 , &quot;/forum/&quot; 로)',
+  'relative_path_to_config_file' => 'BBS의 설정파일의 상대 경로',
+  'relative_path_to_config_file_explanation' => '코퍼마인 폴더로 부터 귀하의 BBS로의 상대 경로 (예: &quot;../forum/&quot; 귀하의 BBS가 http://www.yourdomain.tld/forum/ 이고 코퍼마인이 http://www.yourdomain.tld/gallery/)',
+  'cookie_prefix' => '쿠기 접두어',
+  'cookie_prefix_explanation' => 'BBS 쿠키명',
+  'table_prefix' => '테이블 접두어',
+  'table_prefix_explanation' => 'BBS를 설정하기 위해서는 동일한 접두어를 사용해야 합니다.',
+  'user_table' => '사용자 테이블',
+  'user_table_explanation' => '(BBS가 표준으로 설치된 경우 대체적으로 디폴트 값이 무난)',
+  'session_table' => '세션 테이블',
+  'session_table_explanation' => '(BBS가 표준으로 설치된 경우 대체적으로 디폴트 값이 무난)',
+  'group_table' => '그룹 테이블',
+  'group_table_explanation' => '(BBS가 표준으로 설치된 경우 대체적으로 디폴트 값이 무난)',
+  'group_relation_table' => '그룹 릴레이션 테이블',
+  'group_relation_table_explanation' => '(BBS가 표준으로 설치된 경우 대체적으로 디폴트 값이 무난)',
+  'group_mapping_table' => '그룹 매핑 테이블',
+  'group_mapping_table_explanation' => '(BBS가 표준으로 설치된 경우 대체적으로 디폴트 값이 무난)',
+  'use_standard_groups' => '표준 BBS 사용자그룹을 사용하세요',
+  'use_standard_groups_explanation' => '표준 (빌트-인) 사용자그룹을 사용하세요 (권장사항). 이 페이지의 모든 커스텀 사용자 설정을 지울 것입니다. 무엇을 하는지 확실한 경우만 이 옵션을 금지하세요!',
+  'validating_group' => '그룹 검증',
+  'validating_group_explanation' => '검증을 필요로 하는 사용자계정이 있는 BBS의 그룹 아이디 (BBS가 표준으로 설치된 경우 대체적으로 디폴트 값이 무난)',
+  'guest_group' => '손님 그룹',
+  'guest_group_explanation' => '손님 (익명 사용자)이 있는 BBS의 그룹 아이디 (디폴트 값이 무난, 무엇을 하는지 확실한 경우만 편집을 하세요)',
+  'member_group' => '회원 그룹',
+  'member_group_explanation' => '&quot;일반적인&quot; 사용자가 있는 BBS의 그룹 아이디 (디폴트 값이 무난, 무엇을 하는지 확실한 경우만 편집을 하세요)',
+  'admin_group' => '관리자 그룹',
+  'admin_group_explanation' => '관리자가 있는 BBS의 그룹 아이디 (디폴트 값이 무난, 무엇을 하는지 확실한 경우만 편집을 하세요)',
+  'banned_group' => '금지자 그룹',
+  'banned_group_explanation' => '사용금지자가 있는 BBS의 그룹 아이디 (디폴트 값이 무난, 무엇을 하는지 확실한 경우만 편집을 하세요)',
+  'global_moderators_group' => '글로벌 모더래이터 그룹',
+  'global_moderators_group_explanation' => 'BBS의 글로벌 모더래이터가 있는 BBS의 그룹 아이디 (디폴트 값이 무난, 무엇을 하는지 확실한 경우만 편집을 하세요)',
+  'special_settings' => 'BBS-상세 설정',
+  'logout_flag' => 'phpBB 버젼 (로그아웃 플랙)',
+  'logout_flag_explanation' => 'BBS 버젼이 무엇입니까 (이 설정은 어떻게 로그아웃을 처리하느냐를 기술합니다)',
+  'use_post_based_groups' => 'post-based 그룹을 사용합니까?',
+  'logout_flag_yes' => '2.0.5 혹은 이상',
+  'logout_flag_no' => '2.0.4 혹은 이하',
+  'use_post_based_groups_explanation' => 'BBS에 올린 글의 양에 의하여 정의된 그룹 (입자 승인 관리를 허용) 혹은 디폴트 그룹 (권장사항: 관리가 용이). 나중에 설정을 변경할 수 있습니다.',
+  'use_post_based_groups_yes' => '예',
+  'use_post_based_groups_no' => '아니오',
+  'error_title' => '계속하기 전에 이 오류들을 교정하여야 합니다. 전번 화면으로 가세요.',
+  'error_specify_bbs' => '코퍼마인 설치와 브리지하려는 어프리케이션을 기술하여야 합니다.',
+  'error_no_blank_name' => '커스텀 브리지 파일명을 공란으로 할 수 없습니다.',
+  'error_no_special_chars' => '브리지 파일명에 언더스코어(_)와 대시(-)를 제외한 특수문자를 사용하면 안됩니다!',
+  'error_bridge_file_not_exist' => '브리지 파일 %s이 서버에 존재하지 않습니다. 실제로 업로드하였으면 확인하세요.',
+  'finalize' => 'BBS 통합 사용/사용 안함',
+  'finalize_explanation' => '기술한 내용이 데이타베이스에 기록되었습니다, 하지만 BBS 통합이 사용불가합니다. 통합기능을 언제든지 켜기/끄기 할 수 있습니다. 스탠드어론 코퍼마인 관리자 아이디와 비밀번호를 기억하세요, 나중에 수정을 하려면 필요로 합니다. 문제발생시에는 %s 로 가서 스탠드어론 (브릿지하지 않은) 관리자 계정(대체로 코퍼마인 설치시 설정한)을 사용하여 BBS 통합기능을 사용불가로 하세요.',
+  'your_bridge_settings' => '브리지 설정',
+  'title_enable' => '%s와 통합/브리징 사용 가능',
+  'bridge_enable_yes' => '사용',
+  'bridge_enable_no' => '사용안함',
+  'error_must_not_be_empty' => '공백이면 안됨',
+  'error_either_be' => '반드시 %s 혹은 %s 이어야 함',
+  'error_folder_not_exist' => '%s 존재하지 않습니다. 입력한 값 %s 을 고치세요',
+  'error_cookie_not_readible' => '코퍼마인이 쿠키명 %s을 읽을 수 없습니다. 입력한 값 %s을 교정하세요, 혹은 BBS 관리자 판넬에 가서 쿠키경로가 코퍼마인이 읽을 수 있는지 확인하세요.',
+  'error_mandatory_field_empty' => '함수 %s를 공란으로 할 수 없습니다 - 적절한 값을 입력하세요.',
+  'error_no_trailing_slash' => '함수 %s에는 슬래시가 마지막에 있으면 안됩니다.',
+  'error_trailing_slash' => '함수 %s에는 슬래시가 마지막에 있어야 합니다.',
+  'error_db_connect' => '입력한 데이타로 mySQL 데이타베이스에 연결할 수 없습니다. 다음은 mySQL이 알리는 말:',
+  'error_db_name' => '코퍼마인이 연결을 확립하였지만 데이타베이스 %s을 찾을 수 없습니다. 기술한 %s이 적절한 것인지 확인하세요. 다음은 mySQL이 알리는 말:',
+  'error_prefix_and_table' => '%s 그리고 ',
+  'error_db_table' => '테이블 %s을 찾을 수 없습니다. 기술한 %s이 정확한지 확인하세요.',
+  'recovery_title' => '브리지 관리자: 응급 복구',
+  'recovery_explanation' => '코퍼마인 갤러리의 통합을 관리하려면, 먼저 관리자로 로그인 하세요. 브리징이 작동하지 않아서 로그인 할 수 없으면, 이 페이지로 BBS 통합을 사용안함을 할 수 있습니다. 아이디와 비밀번호를 입력하면 로그인은 할 수 없지만 BBS 통합을 사용금지 합니다. 상세내용은 문서를 참조하세요.',
+  'username' => '아이디',
+  'password' => '비밀번호',
+  'disable_submit' => '보냄',
+  'recovery_success_title' => '권한취득 성공',
+  'recovery_success_content' => '성공적으로 BBS 브리징이 사용불가능하게 되었습니다. 코퍼마인 설치가 스탠드어론 모드로 수행합니다.',
+  'recovery_success_advice_login' => '브리지 설정을 편집하기 위해  그리고/혹은 BBS 통합을 다시 사용가능하게 위하여 관리자로 로그인 하세요.',
+  'goto_login' => '로그인 페이지로 가기',
+  'goto_bridgemgr' => '브리지 관리자로 가기',
+  'recovery_failure_title' => '권한취득 실패',
+  'recovery_failure_content' => '틀린 자격증서입니다. 표준 버젼의 관리자 계정 데이타를 입력하세요 (대체적으로 코퍼마인 설치시의 계정).',
+  'try_again' => '재시도 하세요',
+  'recovery_wait_title' => '대기시간이 경과하지 않았습니다',
+  'recovery_wait_content' => '보안상 이 스크립는 로그인 오류시 일정시간 대기하여야 합니다, 재시도에 대한 승인이 될 때까지 기다려야 합니다.',
+  'wait' => '기다리세요',
+  'create_redir_file' => '리디렉숀 파일 생성 (권장사항)',
+  'create_redir_file_explanation' => 'BBS에 로그인 한 후에 사용자를 코퍼마인으로 전환시키려면  BBS 폴더에 리디렉숀 파일을 생성하여야 합니다. 이 옵션이 선택되면 브리지 관리자가 이 파일을 생성하거나 파일을 수동으로 복사-붙여넣기 형식으로 만드는 코드를 제공합니다.',
+  'browse' => '보기',
+);
+
+// ------------------------------------------------------------------------- //
+// File calendar.php //cpg1.4
+// ------------------------------------------------------------------------- //
+
+if (defined('CALENDAR_PHP')) $lang_calendar_php = array(
+  'title' => '칼렌다', //cpg1.4
+  'close' => '닫기', //cpg1.4
+  'clear_date' => '일자 삭제', //cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File catmgr.php
+// ------------------------------------------------------------------------- //
+
+if (defined('CATMGR_PHP')) $lang_catmgr_php = array(
+  'miss_param' => ' \'%s\'작업에 필요한 함수가 지정되지 않았습니다 !',
+  'unknown_cat' => '선택한 카테고리가 데이타베이스에 존재하지 않습니다.',
+  'usergal_cat_ro' => '개인 갤러리 카타고리는 삭제할 수 없습니다 !',
+  'manage_cat' => '카테고리 관리',
+  'confirm_delete' => '이 카테고리를 삭제하시겠습니까?', //js-alert
+  'category' => '카테고리',
+  'operations' => '실행',
+  'move_into' => '카테고리 변경',
+  'update_create' => '카테고리 변경/생성',
+  'parent_cat' => '상위 카테고리',
+  'cat_title' => '카테고리 이름',
+  'cat_thumb' => '카테고리 썸네일',
+  'cat_desc' => '카테고리 설명',
+  'categories_alpha_sort' => '카테고리를 순차배열 (커스톰 배열 순서 대신에)', //cpg1.4
+  'save_cfg' => '시스템구성 저장', //cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File admin.php //cpg1.4
+// ------------------------------------------------------------------------- //
+
+if (defined('ADMIN_PHP')) $lang_admin_php = array(
+  'title' => '갤러리 구성', //cpg1.4
+  'manage_exif' => 'exif 표시 관리', //cpg1.4
+  'manage_plugins' => '플러그인 관리', //cpg1.4
+  'manage_keyword' => '키워드 관리', //cpg1.4
+  'restore_cfg' => '기본설정으로',
+  'save_cfg' => '변경사항 저장',
+  'notes' => '메모',
+  'info' => '알립니다',
+  'upd_success' => '변경사항이 적용되었습니다!',
+  'restore_success' => '기본설정으로 변경되었습니다',
+  'name_a' => '이름별 순차배열',
+  'name_d' => '이름별 역순',
+  'title_a' => '제목별 순차배열',
+  'title_d' => '제목별 역순',
+  'date_a' => '일자순',
+  'date_d' => '일자 역순',
+  'pos_a' => '위치별 순차배열', //cpg1.4
+  'pos_d' => '위치별 역순', //cpg1.4
+  'th_any' => '최대 애스팩',
+  'th_ht' => '높이',
+  'th_wd' => '너비',
+  'label' => '라벨',
+  'item' => '아이템',
+  'debug_everyone' => '일반용',
+  'debug_admin' => '관리자용',
+  'no_logs'=> '오프', //cpg1.4
+  'log_normal'=> '보통', //cpg1.4
+  'log_all' => '모두', //cpg1.4
+  'view_logs' => '로그 보기', //cpg1.4
+  'click_expand' => '확장할 섹션명 클릭', //cpg1.4
+  'expand_all' => '모두 확장', //cpg1.4
+  'notice1' => '(*) 데이타베이스에 이미 파일이 있으면 이 설정을 바꾸면 안됩니다.', //cpg1.4 - (relocated)
+  'notice2' => '(**) 이 설정을 바꾸면, 추후 추가된 파일에만 적용이 됩니다, 그러므로 갤러리에 이미 파일이 있으면 이 설정을 바꾸지 않는 것이 좋습니다. 존재하는 파일에 적용을 하려면 &quot;<a href="util.php">관리자 도구</a> (사진 크기 변경)&quot; 관리자 메뉴의 유틸리티를 사용하세요.', //cpg1.4 - (relocated)
+  'notice3' => '(***) 모든 로그파일은 영어로 기록됨.', //cpg1.4 - (relocated)
+  'bbs_disabled' => 'BB 통합을 하면 기능 사용못함', //cpg1.4
+  'auto_resize_everyone' => '모두에게 허용', //cpg1.4
+  'auto_resize_user' => '사용자용', //cpg1.4
+  'ascending' => '순차', //cpg1.4
+  'descending' => '역순', //cpg1.4
+);
+
+if (defined('ADMIN_PHP')) $lang_admin_data = array(
+  '일반사항 설정',
+  array('갤러리 이름', 'gallery_name', 0, 'f=index.htm&amp;as=admin_general_name&amp;ae=admin_general_name_end'), //cpg1.4
+  array('갤러리 설명', 'gallery_description', 0, 'f=index.htm&amp;as=admin_general_description&amp;ae=admin_general_description_end'), //cpg1.4
+  array('갤러리 관리자 이메일', 'gallery_admin_email', 0, 'f=index.htm&amp;as=admin_general_email&amp;ae=admin_general_email_end'), //cpg1.4
+  array('코퍼마인 갤러리 폴더의 URL (\'index.php\' 이나 끝이 비슷한 것은 안됨)', 'ecards_more_pic_target', 0, 'f=index.htm&amp;as=admin_general_coppermine-url&amp;ae=admin_general_coppermine-url_end'), //cpg1.4
+  array('홈페이지의 URL ', 'home_target', 0, 'f=index.htm&amp;as=admin_general_home-url&amp;ae=admin_general_home-url_end'), //cpg1.4
+  array('즐겨찾기의 ZIP 다운로드 허용', 'enable_zipdownload', 1, 'f=index.htm&amp;as=admin_general_zip-download&amp;ae=admin_general_zip-download_end'), //cpg1.4
+  array('GMT와의 상대적인 다른 시간대 (현재시각: ' . localised_date(-1, $comment_date_fmt) . ')','time_offset',0, 'f=index.htm&amp;as=admin_general_time-offset&amp;ae=admin_general_time-offset_end&amp;top=1'), //cpg1.4
+  array('비밀번호 암호화 가동 (예외 없음)','enable_encrypted_passwords',1, 'f=index.htm&amp;as=admin_general_encrypt_password_start&amp;ae=admin_general_encrypt_password_end&amp;top=1'), // cpg 1.4
+  array('도움 아이콘 가동 (도움말은 영어에 한함)','enable_help',9, 'f=index.htm&amp;as=admin_general_help&amp;ae=admin_general_help_end'), //cpg1.4
+  array('검색에서 클릭할 수 있는 키워드 허용','clickable_keyword_search',14, 'f=index.htm&amp;as=admin_general_keywords_start&amp;ae=admin_general_keywords_end'), //cpg1.4
+  array('플러그인 가동', 'enable_plugins', 12, 'f=index.htm&amp;as=admin_general_enable-plugins&amp;ae=admin_general_enable-plugins_end'),  //cpg1.4
+  array('라우트 하지 않는(프라이빗) IP 주소 금지 허용', 'ban_private_ip', 1,  'f=index.htm&amp;as=admin_general_private-ip&amp;ae=admin_general_private-ip_end'), //cpg1.4
+  array('일괄처리 인터페이스 보이기', 'browse_batch_add', 1, 'f=index.htm&amp;as=admin_general_browsable_batch_add&amp;ae=admin_general_browsable_batch_add_end'), //cpg1.4
+
+  '언어 &amp; 캐랙터셋 설정',
+  array('언어', 'lang', 5, 'f=index.htm&amp;as=admin_language_language&amp;ae=admin_language_language_end'), //cpg1.4
+  array('번역문을 찾을 수 없으면 영어로 돌아가기?', 'language_fallback', 1, 'f=index.htm&amp;as=admin_language_fallback&amp;ae=admin_language_fallback_end'), //cpg1.4
+  array('캐랙터 인코딩', 'charset', 4, 'f=index.htm&amp;as=admin_language_charset&amp;ae=admin_language_charset_end'), //cpg1.4
+  array('언어 목록 보기', 'language_list', 1, 'f=index.htm&amp;as=admin_language_list&amp;ae=admin_language_list_end'), //cpg1.4
+  array('언어 상징표 보기', 'language_flags', 8, 'f=index.htm&amp;as=admin_language_flags&amp;ae=admin_language_flags_end&amp;top=1'), //cpg1.4
+  array('언어선택에서 &quot;리셋&quot; 보기', 'language_reset', 1, 'f=index.htm&amp;as=admin_language_reset&amp;ae=admin_language_reset_end&amp;top=1'), //cpg1.4
+  //array('탭 페이지의 이전/다음 보기', 'previous_next_tab', 1), //cpg1.4
+
+  '테마 설정',
+  array('테마', 'theme', 6, 'f=index.htm&amp;as=admin_theme_theme&amp;ae=admin_theme_theme_end'), //cpg1.4
+  array('테마 목록 보기', 'theme_list', 1, 'f=index.htm&amp;as=admin_theme_theme_list&amp;ae=admin_theme_theme_list_end'), //cpg1.4
+  array('테마선택에서 &quot;리셋&quot; 보기', 'theme_reset', 1, 'f=index.htm&amp;as=admin_theme_theme_reset&amp;ae=admin_theme_theme_reset_end'), //cpg1.4
+  array('FAQ 보기', 'display_faq', 1, 'f=index.htm&amp;as=admin_theme_faq&amp;ae=admin_theme_faq_end'), //cpg1.4
+  array('커스톰 메뉴 링크 명', 'custom_lnk_name', 0,'f=index.htm&amp;as=admin_theme_custom_lnk_name&amp;ae=admin_theme_custom_lnk_name_end'), //cpg1.4
+  array('커스톰 메뉴 링크 URL', 'custom_lnk_url', 0,'f=index.htm&amp;as=admin_language_custom_lnk_url&amp;ae=admin_language_custom_lnk_url_end'), //cpg1.4
+  array('bbcode 도움말 보기', 'show_bbcode_help', 1, 'f=index.htm&amp;as=admin_theme_bbcode&amp;ae=admin_theme_bbcode_end&amp;top=1'), //cpg1.4
+  array('XHTML 혹은 CSS compliant로 지정된 테마의 vanity block 보기','vanity_block',1, 'f=index.htm&amp;as=vanity_block&amp;ae=vanity_block_end'), //cpg1.4
+  array('커스톰 해더 인쿠르드의 경로', 'custom_header_path', 0, 'f=index.htm&amp;as=admin_theme_include_path_start&amp;ae=admin_theme_include_path_end'), //cpg1.4
+  array('커스톰 후터 인쿠르드의 경로', 'custom_footer_path', 0, 'f=index.htm&amp;as=admin_theme_include_path_start&amp;ae=admin_theme_include_path_end'), //cpg1.4
+
+  '앨범 목록 보기',
+  array('메인 테이블의 너비 (화소수 혹은 %)', 'main_table_width', 0, 'f=index.htm&amp;as=admin_album_table-width&amp;ae=admin_album_table-width_end'), //cpg1.4
+  array('표시할 카타고리의 레벨수', 'subcat_level', 0, 'f=index.htm&amp;as=admin_album_category-levels&amp;ae=admin_album_category-levels_end'), //cpg1.4
+  array('표시할 앨범수', 'albums_per_page', 0, 'f=index.htm&amp;as=admin_album_number&amp;ae=admin_album_number_end'), //cpg1.4
+  array('앨범목록의 칼람수', 'album_list_cols', 0, 'f=index.htm&amp;as=admin_album_columns&amp;ae=admin_album_columns_end'), //cpg1.4
+  array('썸네일의 화소수', 'alb_list_thumb_size', 0, 'f=index.htm&amp;as=admin_album_thumbnail-size&amp;ae=admin_album_thumbnail-size_end'), //cpg1.4
+  array('메인 페이지의 콘텐트', 'main_page_layout', 0, 'f=index.htm&amp;as=admin_album_list_content&amp;ae=admin_album_list_content_end'), //cpg1.4
+  array('카타고리의 첫번째 레벨 앨범 썸네일 보기','first_level',1, 'f=index.htm&amp;as=admin_album_first-level_thumbs&amp;ae=admin_album_first-level_thumbs_end'), //cpg1.4
+  array('카테고리 순차배열 (커스톰 배열방식 대신에)','categories_alpha_sort',1, 'f=index.htm&amp;as=admin_album_list_alphasort_start&amp;ae=admin_album_list_alphasort_end'), //cpg1.4
+  array('링크된 파일 보기','link_pic_count',1, 'f=index.htm&amp;as=admin_album_linked_files_start&amp;ae=admin_album_linked_files_end'), //cpg1.4
+
+  '썸네일 보기',
+  array('썸네일 페이지의 칸(행)수', 'thumbcols', 0, 'f=index.htm&amp;as=admin_thumbnail_columns&amp;ae=admin_thumbnail_columns_end'), //cpg1.4
+  array('썸네일 페이지의 줄(열)수', 'thumbrows', 0, 'f=index.htm&amp;as=admin_thumbnail_rows&amp;ae=admin_thumbnail_rows_end'), //cpg1.4
+  array('표시할 최대 탶의 수', 'max_tabs', 10, 'f=index.htm&amp;as=admin_thumbnail_tabs&amp;ae=admin_thumbnail_tabs_end'), //cpg1.4
+  array('썸네일 아래 파일 캪션 보기 (제목에 덧붙여)', 'caption_in_thumbview', 1, 'f=index.htm&amp;as=admin_thumbnail_display_caption&amp;ae=admin_thumbnail_display_caption_end'), //cpg1.4
+  array('썸네일 아래 조회수 보기', 'views_in_thumbview', 1, 'f=index.htm&amp;as=admin_thumbnail_display_views&amp;ae=admin_thumbnail_display_views_end'), //cpg1.4
+  array('썸네일 아래 코멘트수 보기', 'display_comment_count', 1, 'f=index.htm&amp;as=admin_thumbnail_display_comments&amp;ae=admin_thumbnail_display_comments_end'), //cpg1.4
+  array('썸네일 아래 업로드한 회원 보기', 'display_uploader', 1, 'f=index.htm&amp;as=admin_thumbnail_display_uploader&amp;ae=admin_thumbnail_display_uploader_end'), //cpg1.4
+  //array('썸네일 아래에 업로드 관리자 이름 보기', 'display_admin_uploader', 1, 'f=index.htm&amp;as=admin_thumbnail_display_admin_uploader&amp;ae=admin_thumbnail_display_admin_uploader_end'), //cpg1.4
+  array('썸네일 아래 파일명 보기', 'display_filename', 1, 'f=index.htm&amp;as=admin_thumbnail_display_filename&amp;ae=admin_thumbnail_display_filename_end'), //cpg1.4
+  array('앨범 설명 보기', 'alb_desc_thumb', 1, 'f=index.htm&amp;as=admin_thumbnail_display_description&amp;ae=admin_thumbnail_display_description_end'), //cpg1.4
+  array('파일의 디폴트 배열방식', 'default_sort_order', 3, 'f=index.htm&amp;as=admin_thumbnail_default_sortorder&amp;ae=admin_thumbnail_default_sortorder_end'), //cpg1.4
+  array(' \'최고평점\' 목록에 포함할 파일의 최소 평가수', 'min_votes_for_rating', 0, 'f=index.htm&amp;as=admin_thumbnail_minimum_votes&amp;ae=admin_thumbnail_minimum_votes_end'), //cpg1.4
+
+  '이미지 보기', //cpg1.4
+  array('파일보기에서 테이블의 너비 (화소 or %)', 'picture_table_width', 0, 'f=index.htm&amp;as=admin_image_comment_table-width&amp;ae=admin_image_comment_table-width_end'), //cpg1.4
+  array('디폴트로 파일 정보 보여주기', 'display_pic_info', 1, 'f=index.htm&amp;as=admin_image_comment_info_visible&amp;ae=admin_image_comment_info_visible_end'), //cpg1.4
+  array('이미지설명에 대한 최대 글자수', 'max_img_desc_length', 0, 'f=index.htm&amp;as=admin_image_comment_descr_length&amp;ae=admin_image_comment_descr_length_end'), //cpg1.4
+  array('단어의 최대 글자수', 'max_com_wlength', 0, 'f=index.htm&amp;as=admin_image_comment_chars_per_word&amp;ae=admin_image_comment_chars_per_word_end'), //cpg1.4
+  array('필름 스트립 보기', 'display_film_strip', 1, 'f=index.htm&amp;as=admin_image_comment_filmstrip_toggle&amp;ae=admin_image_comment_filmstrip_toggle_end'), //cpg1.4
+  array('필름 스트립 썸네일 아래 파일명 보여주기', 'display_film_strip_filename', 1, 'f=index.htm&amp;as=admin_image_comment_display_film_strip_filename&amp;ae=admin_image_comment_display_film_strip_filename_end'), //cpg1.4
+  array('필름 스트립의 아이템 갯수', 'max_film_strip_items', 0, 'f=index.htm&amp;as=admin_image_comment_filmstrip_number&amp;ae=admin_image_comment_filmstrip_number_end'), //cpg1.4
+  array('슬라이드쇼의 간격을 밀리초로 (1 초 = 1000 밀리초)', 'slideshow_interval', 0, 'f=index.htm&amp;as=admin_image_comment_slideshow_interval&amp;ae=admin_image_comment_slideshow_interval_end'), //cpg1.4
+
+  '코멘트 설정', //cpg1.4
+  array('코멘트에 나쁜단어 걸르기', 'filter_bad_words', 1, 'f=index.htm&amp;as=admin_image_comment_bad_words&amp;ae=admin_image_comment_bad_words_end'), //cpg1.4
+  array('코멘트에 스마일 허용', 'enable_smilies', 1, 'f=index.htm&amp;as=admin_image_comment_smilies&amp;ae=admin_image_comment_smilies_end'), //cpg1.4
+  array('동일한 회원이 동일한 파일에 연달아 코멘트 달기 허용 (범람방지 기능안함)', 'disable_comment_flood_protect', 1, 'f=index.htm&amp;as=admin_image_comment_flood&amp;ae=admin_image_comment_flood_end'), //cpg1.4
+  array('코멘트의 최대 줄수', 'max_com_lines', 0, 'f=index.htm&amp;as=admin_image_comment_lines&amp;ae=admin_image_comment_lines_end'), //cpg1.4
+  array('코멘트의 최대 글자수', 'max_com_size', 0, 'f=index.htm&amp;as=admin_image_comment_length&amp;ae=admin_image_comment_length_end'), //cpg1.4
+  array('이메일로 관리자에게 코멘트 통보하기', 'email_comment_notification', 1, 'f=index.htm&amp;as=admin_image_comment_admin_notify&amp;ae=admin_image_comment_admin_notify_end'), //cpg1.4
+  array('코멘트의 배열방식', 'comments_sort_descending', 17, 'f=index.htm&amp;as=admin_comment_sort_start&amp;ae=admin_comment_sort_end'), //cpg1.4
+  array('익명 코멘트 생성자의 접두어', 'comments_anon_pfx', 0, 'f=index.htm&amp;as=comments_anon_pfx&amp;ae=comments_anon_pfx_end'), //cpg1.4
+
+  '파일 그리고 썸네일 설정',
+  array('JPEG 파일의 질', 'jpeg_qual', 0, 'f=index.htm&amp;as=admin_picture_thumbnail_jpeg_quality&amp;ae=admin_picture_thumbnail_jpeg_quality_end'), //cpg1.4
+  array('썸네일의 최대 디멘젼 <a href="#notice2" class="clickable_option">**</a>', 'thumb_width', 0, 'f=index.htm&amp;as=admin_picture_thumbnail_max-dimension&amp;ae=admin_picture_thumbnail_max-dimension_end'), //cpg1.4
+  array('디멘젼 사용 ( 너비 혹은 높이 혹은 썸네일의 최대 외관) <a href="#notice2" class="clickable_option">**</a>', 'thumb_use', 7, 'f=index.htm&amp;as=admin_picture_thumbnail_use-dimension&amp;ae=admin_picture_thumbnail_use-dimension_end'), //cpg1.4
+  array('중간 사진 생성','make_intermediate',1, 'f=index.htm&amp;as=admin_picture_thumbnail_intermediate_toggle&amp;ae=admin_picture_thumbnail_intermediate_toggle_end'), //cpg1.4
+  array('중간 사진/비디오의 최대 너비 혹은 높이 <a href="#notice2" class="clickable_option">**</a>', 'picture_width', 0, 'f=index.htm&amp;as=admin_picture_thumbnail_intermediate_dimension&amp;ae=admin_picture_thumbnail_intermediate_dimension_end'), //cpg1.4
+  array('업로드 파일의 최대 크기 (KB)', 'max_upl_size', 0, 'f=index.htm&amp;as=admin_picture_thumbnail_max_upload_size&amp;ae=admin_picture_thumbnail_max_upload_size_end'), //cpg1.4
+  array('업로드 사진/비디오의 최대 너비 혹은 높이 (화소)', 'max_upl_width_height', 0, 'f=index.htm&amp;as=admin_picture_thumbnail_max_upload_dimension&amp;ae=admin_picture_thumbnail_max_upload_dimension_end'), //cpg1.4
+  array('최대 너비 혹은 높이를 초과하면 자동으로 이미지 크기가 변환', 'auto_resize', 16, 'f=index.htm&amp;as=admin_picture_thumbnail_auto-resize&amp;ae=admin_picture_thumbnail_auto-resize_end'), //cpg1.4
+
+  '파일과 썸네일의 고급 설정',
+  array('앨범을 개인용으로 변경 (Note: 만일 \'예\' 가 \'아니오\'로 바뀌면 모든 개인앨범이 공개앨범으로 됨)', 'allow_private_albums', 1, 'f=index.htm&amp;as=admin_picture_thumb_advanced_private_toggle&amp;ae=admin_picture_thumb_advanced_private_toggle_end'), //cpg1.4
+  array('개인앨범 아이콘을 로그인하지 않은 사람에게 보여줌','show_private',1, 'f=index.htm&amp;as=admin_picture_thumb_advanced_private_icon_show&amp;ae=admin_picture_thumb_advanced_private_icon_show_end'), //cpg1.4
+  array('파일명에 사용하지 못하는 글자', 'forbiden_fname_char',0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_filename_forbidden_chars&amp;ae=admin_picture_thumb_advanced_filename_forbidden_chars_end'), //cpg1.4
+  //array('업로드 파일에 허용되는 파일 확장자', 'allowed_file_extensions',0, 'f=index.htm&amp;as=&amp;ae=_end'), //cpg1.4
+  array('허용하는 이미지 타입', 'allowed_img_types',0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_pic_extensions&amp;ae=admin_picture_thumb_advanced_pic_extensions_end'), //cpg1.4
+  array('허용하는 무비 타입', 'allowed_mov_types',0, 'f=index.htm&amp;as=admin_thumbs_advanced_movie&amp;ae=admin_thumbs_advanced_movie_end'), //cpg1.4
+  array('무비 재생시 자동시작', 'media_autostart',1, 'f=index.htm&amp;as=admin_movie_autoplay&amp;ae=admin_movie_autoplay_end'), //cpg1.4
+  array('허용하는 오디오 타입', 'allowed_snd_types',0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_audio_extensions&amp;ae=admin_picture_thumb_advanced_audio_extensions_end'), //cpg1.4
+  array('허용하는 문서 타입', 'allowed_doc_types',0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_doc_extensions&amp;ae=admin_picture_thumb_advanced_doc_extensions_end'), //cpg1.4
+  array('이미지 크기 바꾸는 방법','thumb_method',2, 'f=index.htm&amp;as=admin_picture_thumb_advanced_resize_method&amp;ae=admin_picture_thumb_advanced_resize_method_end'), //cpg1.4
+  array('ImageMagick \'변환\' 유틸리티의 경로 (예: /usr/bin/X11/)', 'impath', 0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_im_path&amp;ae=admin_picture_thumb_advanced_im_path_end'), //cpg1.4
+  //array('허용하는 이미지 타입 (ImageMagick에만 적용)', 'allowed_img_types',0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_allowed_imagetypes&amp;ae=admin_picture_thumb_advanced_allowed_imagetypes_end'), //cpg1.4
+  array('ImageMagick의 코맨드 라인 옵션', 'im_options', 0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_im_commandline&amp;ae=admin_picture_thumb_advanced_im_commandline_end'), //cpg1.4
+  array('JPEG 파일의 EXIF 데이타 읽기', 'read_exif_data', 13, 'f=index.htm&amp;as=admin_picture_thumb_advanced_exif&amp;ae=admin_picture_thumb_advanced_exif_end'), //cpg1.4
+  array('JPEG 파일의 IPTC 데이타 읽기', 'read_iptc_data', 1, 'f=index.htm&amp;as=admin_picture_thumb_advanced_iptc&amp;ae=admin_picture_thumb_advanced_iptc_end'), //cpg1.4
+  array('앨범 디렉토리 <a href="#notice1" class="clickable_option">*</a>', 'fullpath', 0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_albums_dir&amp;ae=admin_picture_thumb_advanced_albums_dir_end'), //cpg1.4
+  array('사용자 파일의 디렉토리 <a href="#notice1" class="clickable_option">*</a>', 'userpics', 0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_userpics_dir&amp;ae=admin_picture_thumb_advanced_userpics_dir_end'), //cpg1.4
+  array('중간 사진의 접두어 <a href="#notice1" class="clickable_option">*</a>', 'normal_pfx', 0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_intermediate_prefix&amp;ae=admin_picture_thumb_advanced_intermediate_prefix_end'), //cpg1.4
+  array('썸네일의 접두어 <a href="#notice1" class="clickable_option">*</a>', 'thumb_pfx', 0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_thumbs_prefix&amp;ae=admin_picture_thumb_advanced_thumbs_prefix_end'), //cpg1.4
+  array('디렉토리의 디폴트 모드', 'default_dir_mode', 0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_chmod_folder&amp;ae=admin_picture_thumb_advanced_chmod_folder_end'), //cpg1.4
+  array('파일의 디폴트  모드', 'default_file_mode', 0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_chmod_files&amp;ae=admin_picture_thumb_advanced_chmod_files_end'), //cpg1.4
+
+  '사용자 설정',
+  array('새로운 사용자 등록 허용', 'allow_user_registration', 1, 'f=index.htm&amp;as=admin_allow_registration&amp;ae=admin_allow_registration_end'), //cpg1.4
+  array('로그인 하지 않은 사람의 허용 (손님 혹은 익명인)', 'allow_unlogged_access', 1, 'f=index.htm&amp;as=admin_allow_unlogged_access&amp;ae=admin_allow_unlogged_access_end'), //cpg1.4
+  array('사용자 등록시 이메일 검사 필요', 'reg_requires_valid_email', 1, 'f=index.htm&amp;as=admin_registration_verify&amp;ae=admin_registration_verify_end'), //cpg1.4
+  array('사용자 등록을 관리자에게 이메일 통보', 'reg_notify_admin_email', 1, 'f=index.htm&amp;as=admin_registration_notify&amp;ae=admin_registration_notify_end'), //cpg1.4
+  array('등록을 관리자가 활성화', 'admin_activation', 1, 'f=index.htm&amp;as=admin_activation&amp;ae=admin_activation_end'),  //cpg1.4
+  array('두 사용자가 동일한 이메일 주소 사용 가능', 'allow_duplicate_emails_addr', 1, 'f=index.htm&amp;as=admin_allow_duplicate_emails_addr&amp;ae=admin_allow_duplicate_emails_addr_end'), //cpg1.4
+  array('승인을 기다리는 사용자 업로드를 관리자에게 통보', 'upl_notify_admin_email', 1, 'f=index.htm&amp;as=admin_approval_notify&amp;ae=admin_approval_notify_end'), //cpg1.4
+  array('로그인한 사용자의 회원명단 보기 허용', 'allow_memberlist', 1, 'f=index.htm&amp;as=admin_user_memberlist&amp;ae=admin_user_memberlist_end'), //cpg1.4
+  array('사용자가 자신의 프로파일에서 이메일 주소 변경 가능', 'allow_email_change', 1, 'f=index.htm&amp;as=admin_user_allow_email_change&amp;ae=admin_user_allow_email_change_end'), //cpg1.4
+  array('공개 갤러리에 있는 회원 본인의 사진을 변경 가능', 'users_can_edit_pics', 1, 'f=index.htm&amp;as=admin_user_editpics_public_start&amp;ae=admin_user_editpics_public_end'), //cpg1.4
+  array('로그인 실패 허용 횟수. 허용횟수를 초과하면 임시 사용제한상태로 됨 (해커 방지책)', 'login_threshold', 0, 'f=index.htm&amp;as=admin_user_login_start&amp;ae=admin_user_login_end'), //cpg1.4
+  array('로그인 실패후 임시 사용제한 기간', 'login_expiry', 0, 'f=index.htm&amp;as=admin_user_login_start&amp;ae=admin_user_login_end'), //cpg1.4
+  array('관리자에게 보고 가능', 'report_post', 1, 'f=index.htm&amp;as=admin_user_enable_report&amp;ae=admin_user_enable_report_end'),  //cpg1.4
+
+// custom profile fields,  //cpg1.4
+  '사용자 프로필의 커스톰 항목 (사용하지 않으면 공란으로).
+  일대기와 같은 내용이 긴 경우에는 프로필 6 를 사용하세요.', //cpg1.4
+  array('프로필 1 명칭', 'user_profile1_name', 0, 'f=index.htm&amp;as=admin_custom&amp;ae=admin_custom_end'), //cpg1.4
+  array('프로필 2 명칭', 'user_profile2_name', 0), //cpg1.4
+  array('프로필 3 명칭', 'user_profile3_name', 0), //cpg1.4
+  array('프로필 4 명칭', 'user_profile4_name', 0), //cpg1.4
+  array('프로필 5 명칭', 'user_profile5_name', 0), //cpg1.4
+  array('프로필 6 명칭', 'user_profile6_name', 0), //cpg1.4
+
+  '이미지 설명을 위한 커스톰 항목 (사용하지 않으면 공란으로)',
+  array('항목 1 명칭', 'user_field1_name', 0, 'f=index.htm&amp;as=admin_custom_image&amp;ae=admin_custom_image_end'), //cpg1.4
+  array('항목 2 명칭', 'user_field2_name', 0),
+  array('항목 3 명칭', 'user_field3_name', 0),
+  array('항목 4 명칭', 'user_field4_name', 0),
+
+  '쿠키 설정',
+  array('쿠키이름', 'cookie_name', 0, 'f=index.htm&amp;as=admin_cookie_name&amp;ae=admin_cookie_name_end'), //cpg1.4
+  array('쿠키경로', 'cookie_path', 0, 'f=index.htm&amp;as=admin_cookie_path&amp;ae=admin_cookie_path_end'), //cpg1.4
+
+  '이메일 설정 (대체로 이곳에서 변경될 것이 없음; 확실하지 않으면 이 필드를 공란으로 남기세요)', //cpg1.4
+  array('SMTP 호스트 (공란일 경우, 보낸메일이 사용됨)', 'smtp_host', 0, 'f=index.htm&amp;as=admin_email&amp;ae=admin_email_end'), //cpg1.4
+  array('SMTP 아이디', 'smtp_username', 0), //cpg1.4
+  array('SMTP 비밀번호', 'smtp_password', 0), //cpg1.4
+
+  '로깅과 통계', //cpg1.4
+  array('로깅 모드 <a href="#notice3" class="clickable_option">***</a>', 'log_mode', 11, 'f=index.htm&amp;as=admin_logging_log_mode&amp;ae=admin_logging_log_mode_end'), //cpg1.4
+  array('ecards 로그', 'log_ecards', 1, 'f=index.htm&amp;as=admin_general_log_ecards&amp;ae=admin_general_log_ecards_end'), //cpg1.4
+  array('상세한 평가통계 보관하기','vote_details',1, 'f=index.htm&amp;as=admin_logging_votedetails&amp;ae=admin_logging_votedetails_end'), //cpg1.4
+  array('상세한 조회통계 보관하기','hit_details',1, 'f=index.htm&amp;as=admin_logging_hitdetails&amp;ae=admin_logging_hitdetails_end'), //cpg1.4
+
+  '관리 설정', //cpg1.4
+  array('디버그 모드 작동', 'debug_mode', 9, 'f=index.htm&amp;as=debug_mode&amp;ae=debug_mode_end'), //cpg1.4
+  array('디버그모드에서 경고사항 보이기', 'debug_notice', 1, 'f=index.htm&amp;as=admin_misc_debug_notices&amp;ae=admin_misc_debug_notices_end'), //cpg1.4
+  array('갤러리가 오프라인입니다', 'offline', 1, 'f=index.htm&amp;as=admin_general_offline&amp;ae=admin_general_offline_end'), //cpg1.4
+);
+
+
+// ------------------------------------------------------------------------- //
+// File db_ecard.php
+// ------------------------------------------------------------------------- //
+
+if (defined('DB_ECARD_PHP')) $lang_db_ecard_php = array(
+  'title' => 'ecards 발송',
+  'ecard_sender' => '보낸이',
+  'ecard_recipient' => '받는이',
+  'ecard_date' => '날자',
+  'ecard_display' => 'ecard 보기',
+  'ecard_name' => '성명',
+  'ecard_email' => '이메일',
+  'ecard_ip' => 'IP 주소',
+  'ecard_ascending' => '순차배열',
+  'ecard_descending' => '역순',
+  'ecard_sorted' => '정렬을',
+  'ecard_by_date' => '일자로',
+  'ecard_by_sender_name' => '보낸이의 이름으로',
+  'ecard_by_sender_email' => '보낸이의 이메일로',
+  'ecard_by_sender_ip' => '보낸이의 IP 주소로',
+  'ecard_by_recipient_name' => '받는이의 이름으로',
+  'ecard_by_recipient_email' => '받는이의 이메일로',
+  'ecard_number' => '레코드 %s 에서 %s 까지 보기, %s 에 있는',
+  'ecard_goto_page' => '페이지로 가기',
+  'ecard_records_per_page' => '페이지당 레코드',
+  'check_all' => '모두 선택',
+  'uncheck_all' => '모두 선택해제',
+  'ecards_delete_selected' => '선택한 ecards 지우기',
+  'ecards_delete_confirm' => '정말로 레코드를 삭제하시겠습니까?? 체크박스를 선택하세요!',
+  'ecards_delete_sure' => '예! 확인합니다',
+);
+
+
+// ------------------------------------------------------------------------- //
+// File db_input.php
+// ------------------------------------------------------------------------- //
+
+if (defined('DB_INPUT_PHP')) $lang_db_input_php = array(
+  'empty_name_or_com' => '이름과 코멘드를 입력하세요.',
+  'com_added' => '코멘트가 등록되었습니다.',
+  'alb_need_title' => '앨범의 제목을 입력하세요 !',
+  'no_udp_needed' => '업데이트가 불필요합니다.',
+  'alb_updated' => '앨범이 수정되었습니다.',
+  'unknown_album' => '선택한 앨범이 존재하지 않습니다. 혹은 이 앨범에 업로드할 권한이 없습니다.',
+  'no_pic_uploaded' => '업로드된 파일이 없습니다 !<br /><br />업로드할 파일을 선택하였었다면, 서버가 파일 업로드를 허용하는지 확인하세요...',
+  'err_mkdir' => '디렉토리 %s 을 생성할 수 없습니다!',
+  'dest_dir_ro' => '스크립터에 의하여 목적지 디렉토리 %s 에 기록을 할 수 없습니다 !',
+  'err_move' => ' %s 에서 %s 로 이동할 수 없습니다!',
+  'err_fsize_too_large' => '업로드한 파일이 너무 큽니다 (최대허용량은 %s x %s) !', //obsolete since cpg1.3 - consider removal in cpg1.4 once upload.php has been overhauled
+  'err_imgsize_too_large' => '업로드한 파일이 너무 큽니다 (최대 허용치는 %s KB) !', //obsolete since cpg1.3 - consider removal in cpg1.4 once upload.php has been overhauled
+  'err_invalid_img' => '업로드한 파일이 유효한 이미지가 아닙니다 !',
+  'allowed_img_types' => '귀하는 %s 이미지만 업로드할 수 있습니다.',
+  'err_insert_pic' => '파일 \'%s\' 을 앨범에 수록될 수 없습니다.',
+  'upload_success' => '파일이 성공적으로 업로드 되었습니다.<br /><br />관리자 승인후에 볼 수 있습니다.',
+  'notify_admin_email_subject' => '%s - 업로드 통보',
+  'notify_admin_email_body' => ' %s이 업로드한 사진이 승인을 기다리고 있습니다.  %s을 방문하세요.',
+  'info' => '알려드립니다',
+  'com_added' => '코멘트 등록완료',
+  'alb_updated' => '앨범 수정완료',
+  'err_comment_empty' => '코멘트가 비어있습니다 !',
+  'err_invalid_fext' => '다음 확장자를 가진 파일만 허용합니다 : <br /><br />%s.',
+  'no_flood' => '미안합니다. 귀하는 이미 이 파일에 마지막 코멘트 작성자입니다 <br /><br />귀하의 코멘트를 변경하기를 원하시면 편집을 하세요',
+  'redirect_msg' => '리디렉렉트 중입니다.<br /><br /><br />만일 자동으로 리후레시되지 않으면 \'다음\'을 클릭하세요',
+  'upl_success' => '이미지가 추가 되었습니다.',
+  'email_comment_subject' => '코퍼마인 포토 갤러리에 코멘트가 올라왔습니다.',
+  'email_comment_body' => '혹자가 귀하의 갤러리에 코멘트를 달았습니다. 이곳에서 보세요.',
+  'album_not_selected' => '앨범이 선택되지 않았습니다.', //cpg1.4
+  'com_author_error' => '다른 회원이 이 닉네임을 사용합니다, 로그인 혹은 다른 것을 사용하세요.', //cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File delete.php
+// ------------------------------------------------------------------------- //
+
+if (defined('DELETE_PHP')) $lang_delete_php = array(
+  'caption' => '캡션',
+  'fs_pic' => '원본 이미지',
+  'del_success' => '삭제되었습니다!',
+  'ns_pic' => '보통 크기 이미지',
+  'err_del' => '삭제되지 않았습니다',
+  'thumb_pic' => '썸네일',
+  'comment' => '코멘트',
+  'im_in_alb' => '엘범에 있는 이미지',
+  'alb_del_success' => '앨범 &laquo;%s&raquo; 삭제되었슴', //cpg1.4
+  'alb_mgr' => '앨범 관리자',
+  'err_invalid_data' => ' \'%s\' 에 오류 데이타 도착',
+  'create_alb' => '\'%s\' 앨범생성',
+  'update_alb' => '앨범 \'%s\' 을 제목 \'%s\' 과 인텍스 \'%s\' 로 수정',
+  'del_pic' => '이미지 삭제',
+  'del_alb' => '앨범 삭제',
+  'del_user' => '사용자 삭제',
+  'err_unknown_user' => '선택한 사용자가 존재하지 않습니다 !',
+  'err_empty_groups' => '그룹테이블이 없습니다, 혹은 그룹테이블이 비어 있습니다!', //cpg1.4
+  'comment_deleted' => '코멘트가 삭제되었습니다.',
+  'npic' => '이미지', //cpg1.4
+  'pic_mgr' => '이미지 관리자', //cpg1.4
+  'update_pic' => '사진 수정중 \'%s\' 파일명 \'%s\' 인덱스 \'%s\'', //cpg1.4
+  'username' => '사용자', //cpg1.4
+  'anonymized_comments' => '%s 익명 코멘트', //cpg1.4
+  'anonymized_uploads' => '%s 익명 공공 업로드', //cpg1.4
+  'deleted_comments' => '%s 코멘트 삭제', //cpg1.4
+  'deleted_uploads' => '%s 공개 업로드 삭제', //cpg1.4
+  'user_deleted' => '사용자 %s 삭제', //cpg1.4
+  'activate_user' => '활성화된 회원', //cpg1.4
+  'user_already_active' => '계정이 이미 활성화중 입니다.', //cpg1.4
+  'activated' => '활성화됨', //cpg1.4
+  'deactivate_user' => '비활성화 회원', //cpg1.4
+  'user_already_inactive' => '계정이 이미 비활성화중 입니다.', //cpg1.4
+  'deactivated' => '비활성화됨', //cpg1.4
+  'reset_password' => '비밀번호 리셋', //cpg1.4
+  'password_reset' => '비밀번호를 %s 로 리셋', //cpg1.4
+  'change_group' => '1차 그룹 수정', //cpg1.4
+  'change_group_to_group' => '변경 %s 을 %s 로', //cpg1.4
+  'add_group' => '2차 그룹 추가', //cpg1.4
+  'add_group_to_group' => '사용자 %s를 그룹 %s에 추가. 이 사용자는 %s의 1차 그룹 그리고  %s의 2차그룹 회원입니다.', //cpg1.4
+  'status' => '상태', //cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File displayecard.php
+// ------------------------------------------------------------------------- //
+
+if (defined('DISPLAYECARD_PHP')) {
+
+$lang_displayecard_php = array(
+  'invalid_data' => '귀하가 참조하려는 ecard 의 자료가 메일 크라이언트에 의해 손실되었습니다. 경로를 확인하세요.', //cpg1.4
+);
+}
+
+// ------------------------------------------------------------------------- //
+// File displayimage.php
+// ------------------------------------------------------------------------- //
+
+if (defined('DISPLAYIMAGE_PHP')){
+
+$lang_display_image_php = array(
+  'confirm_del' => '파일을 삭제하시렵니까 ? \\n코멘트도 삭제됩니다.', //js-alert
+  'del_pic' => '파일 삭제',
+  'size' => '%s x %s 화소',
+  'views' => '%s 회',
+  'slideshow' => '슬라이드쇼',
+  'stop_slideshow' => '슬라이드쇼 중지',
+  'view_fs' => '클릭하여 원래 크기로 보기',
+  'edit_pic' => '사진 정보 수정', //cpg1.4
+  'crop_pic' => '추출/회전',
+  'set_player' => '플레어 변경',
+);
+
+$lang_picinfo = array(
+  'title' =>'파일 정보',
+  'Filename' => '파일명',
+  'Album name' => '앨범명',
+  'Rating' => '평점 (%s 평가)',
+  'Keywords' => '키워드',
+  'File Size' => '파일 크기',
+  'Date Added' => '입력 날자', //cpg1.4
+  'Dimensions' => '디멘죤',
+  'Displayed' => '조회수',
+  'URL' => 'URL', //cpg1.4
+  'Make' => '제조업체', //cpg1.4
+  'Model' => '제품명', //cpg1.4
+  'DateTime' => '일자 시간', //cpg1.4
+  'DateTimeOriginal' => '촬영일시', //cpg1.4
+  'ISOSpeedRatings'=>'ISO', //cpg1.4
+  'MaxApertureValue' => '최대 구경', //cpg1.4
+  'FocalLength' => '포칼 렝스', //cpg1.4
+  'Comment' => '코멘트',
+  'addFav'=>'즐겨찾기에 추가',
+  'addFavPhrase'=>'즐겨찾기',
+  'remFav'=>'즐겨찾기에서 삭제',
+  'iptcTitle'=>'IPTC 제목',
+  'iptcCopyright'=>'IPTC 저작권',
+  'iptcKeywords'=>'IPTC 키워드',
+  'iptcCategory'=>'IPTC 카테고리',
+  'iptcSubCategories'=>'IPTC 부-카테고리',
+  'ColorSpace' => '칼라 스페이스', //cpg1.4
+  'ExposureProgram' => '노출 프로그램', //cpg1.4
+  'Flash' => '플래시', //cpg1.4
+  'MeteringMode' => '메터링 모드', //cpg1.4
+  'ExposureTime' => '노출 시간', //cpg1.4
+  'ExposureBiasValue' => '노출 바이아스', //cpg1.4
+  'ImageDescription' => ' 이미지 설명', //cpg1.4
+  'Orientation' => '오리엔테이션', //cpg1.4
+  'xResolution' => 'X 해상도', //cpg1.4
+  'yResolution' => 'Y 해상도', //cpg1.4
+  'ResolutionUnit' => '해상도 단위', //cpg1.4
+  'Software' => '소프트웨어', //cpg1.4
+  'YCbCrPositioning' => 'YCbCrPositioning', //cpg1.4
+  'ExifOffset' => 'Exif 오프세트', //cpg1.4
+  'IFD1Offset' => 'IFD1 오프세트', //cpg1.4
+  'FNumber' => 'FNumber', //cpg1.4
+  'ExifVersion' => 'Exif 버젼', //cpg1.4
+  'DateTimeOriginal' => 'DateTime Original', //cpg1.4
+  'DateTimedigitized' => 'DateTime digitized', //cpg1.4
+  'ComponentsConfiguration' => 'Components Configuration', //cpg1.4
+  'CompressedBitsPerPixel' => 'Compressed Bits Per Pixel', //cpg1.4
+  'LightSource' => 'Light 소스', //cpg1.4
+  'ISOSetting' => 'ISO 설정', //cpg1.4
+  'ColorMode' => '칼라 모드', //cpg1.4
+  'Quality' => '퀄리티', //cpg1.4
+  'ImageSharpening' => 'Image Sharpening', //cpg1.4
+  'FocusMode' => '포커스 모드', //cpg1.4
+  'FlashSetting' => '플래시 설정', //cpg1.4
+  'ISOSelection' => 'ISO 선택', //cpg1.4
+  'ImageAdjustment' => '이미지 조절', //cpg1.4
+  'Adapter' => '아답터', //cpg1.4
+  'ManualFocusDistance' => '메뉴얼 포커스 거리', //cpg1.4
+  'DigitalZoom' => '디지탈 줌', //cpg1.4
+  'AFFocusPosition' => 'AF 포커스 포지션', //cpg1.4
+  'Saturation' => '채도', //cpg1.4
+  'NoiseReduction' => '노이즈 제거', //cpg1.4
+  'FlashPixVersion' => '플래쉬 픽스 버젼', //cpg1.4
+  'ExifImageWidth' => 'Exif 이미지 너비', //cpg1.4
+  'ExifImageHeight' => 'Exif 이미지 높이', //cpg1.4
+  'ExifInteroperabilityOffset' => 'Exif Interoperability Offset', //cpg1.4
+  'FileSource' => '파일 소스', //cpg1.4
+  'SceneType' => '씬 타입', //cpg1.4
+  'CustomerRender' => '커스토머 렌더', //cpg1.4
+  'ExposureMode' => '익스포져 모드', //cpg1.4
+  'WhiteBalance' => '화이트 발란스', //cpg1.4
+  'DigitalZoomRatio' => '디지탈 줌 비율', //cpg1.4
+  'SceneCaptureMode' => '씬 캪쳐 모드', //cpg1.4
+  'GainControl' => 'Gain Control', //cpg1.4
+  'Contrast' => '콘트라스트', //cpg1.4
+  'Saturation' => '채도', //cpg1.4
+  'Sharpness' => '샤프니스', //cpg1.4
+  'ManageExifDisplay' => 'Exif 보기 관리', //cpg1.4
+  'submit' => '보냄', //cpg1.4
+  'success' => '성공적으로 정보수정 완료.', //cpg1.4
+  'details' => '세부사항', //cpg1.4
+);
+
+$lang_display_comments = array(
+  'OK' => '등록',
+  'edit_title' => '코멘트 편집',
+  'confirm_delete' => '이 코멘트를 삭제하겠습니까 ?', //js-alert
+  'add_your_comment' => '코멘트 등록',
+  'name'=>'이름',
+  'comment'=>'코멘트',
+  'your_name' => '지매',
+  'report_comment_title' => '이 코메트를 관리자에게 알림', //cpg1.4
+);
+
+$lang_fullsize_popup = array(
+  'click_to_close' => '화면을 클릭하시면 창이 닫힙니다',
+);
+
+}
+
+// ------------------------------------------------------------------------- //
+// File ecard.php
+// ------------------------------------------------------------------------- //
+
+if (defined('ECARDS_PHP') || defined('DISPLAYECARD_PHP')) $lang_ecard_php =array(
+  'title' => 'e-card 보내기',
+  'invalid_email' => '<font color="red"><b>주의</b></font>: 유효하지 않은 이메일 주소:', //cpg1.4
+  'ecard_title' => '당신에게 %s가 보낸 e-card',
+  'error_not_image' => 'ecard로 이미지만 전송할 수 있습니다.',
+  'view_ecard' => 'e-card 가 정확하게 보여지지 않을 경우 교체 경로', //cpg1.4
+  'view_ecard_plaintext' => 'ecard를 미리보기 위하여, url을 브라우저의 주소창에 복사하세요:', //cpg1.4
+  'view_more_pics' => '더 많은 사진 보기 !', //cpg1.4
+  'send_success' => 'ecard가 발송되었습니다',
+  'send_failed' => '죄송합니다, 서버가 귀하의 e-card를 보낼 수 없습니다.',
+  'from' => '보낸이',
+  'your_name' => '보낸이 성명',
+  'your_email' => '보낸이 이메일 주소',
+  'to' => '받는이',
+  'rcpt_name' => '받는이 성명',
+  'rcpt_email' => '받는이 이메일 주소',
+  'greetings' => '제목', //cpg1.4
+  'message' => '메세지', //cpg1.4
+  'ecards_footer' => '보맨이 %s IP 주소 %s 시각 %s (갤러리 시각)', //cpg1.4
+  'preview' => 'ecard 미리보기', //cpg1.4
+  'preview_button' => '미리보기', //cpg1.4
+  'submit_button' => 'ecard 발송', //cpg1.4
+  'preview_view_ecard' => 'ecard가 생성이 되면 이것은 그곳으로의 교체경로가 됩니다. 미리보기에서는 작동하지 않습니다.', //cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File report_file.php //cpg1.4
+// ------------------------------------------------------------------------- //
+
+if (defined('REPORT_FILE_PHP') || defined('DISPLAYREPORT_PHP')) $lang_report_php =array(
+  'title' => '관리자에게 알리기', //cpg1.4
+  'invalid_email' => '<b>경고</b> : email 주소 오류 !', //cpg1.4
+  'report_subject' => ' %s 가 갤러리 %s에서 보낸 보고서', //cpg1.4
+  'view_report' => '리포트가 정확히 보이지 않을 때의 교체경로', //cpg1.4
+  'view_report_plaintext' => '리포트를 보시려면, 브라우저 주소창에 이 url을 잘라내어 붙이세요:', //cpg1.4
+  'view_more_pics' => '갤러리', //cpg1.4
+  'send_success' => '귀하의 보고서가 발송 되었습니다.', //cpg1.4
+  'send_failed' => '미안합니다. 서버가 귀하의 보고서를 보낼 수 없습니다...', //cpg1.4
+  'from' => '보낸이', //cpg1.4
+  'your_name' => '귀하의 성명', //cpg1.4
+  'your_email' => '귀하의 이메일 주소', //cpg1.4
+  'to' => '받는이', //cpg1.4
+  'administrator' => '관리자/모드', //cpg1.4
+  'subject' => '제목', //cpg1.4
+  'comment_field_name' => '코멘트에 "%s" 가 작성', //cpg1.4
+  'reason' => '사유', //cpg1.4
+  'message' => '메세지', //cpg1.4
+  'report_footer' => '%s가 IP %s에서 보냄 : %s (갤러리 시각)', //cpg1.4
+  'obscene' => '부도덕함', //cpg1.4
+  'offensive' => '불쾌함', //cpg1.4
+  'misplaced' => '토픽과 무관/잘못 위치선정', //cpg1.4
+  'missing' => '분실', //cpg1.4
+  'issue' => '오류/볼 수 없음', //cpg1.4
+  'other' => '기타', //cpg1.4
+  'refers_to' => '다음에 관련한 파일 리포트', //cpg1.4
+  'reasons_list_heading' => '보고 동기:', //cpg1.4
+  'no_reason_given' => '사유 없음', //cpg1.4
+  'go_comment' => '코멘트로 가기', //cpg1.4
+  'view_comment' => '코멘트와 함께 전체 보고서 보기', //cpg1.4
+  'type_file' => '파일', //cpg1.4
+  'type_comment' => '코멘트', //cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File editpics.php
+// ------------------------------------------------------------------------- //
+
+if (defined('EDITPICS_PHP')) $lang_editpics_php = array(
+  'pic_info' => '이미지 상세정보',
+  'album' => '앨범',
+  'title' => '이미지 제목',
+  'filename' => '파일명', //cpg1.4
+  'desc' => '이미지 설명',
+  'keywords' => '검색 키워드',
+  'new_keyword' => '신규 키워드', //cpg1.4
+  'new_keywords' => '신규 키워드 발견', //cpg1.4
+  'existing_keyword' => '존재하는 키워드', //cpg1.4
+  'pic_info_str' => '%s &times; %s - %s KB - %s 조회 - %s 평가',
+  'approve' => '파일 승인',
+  'postpone_app' => '승인 연기',
+  'del_pic' => '이미지 삭제',
+  'del_all' => '모든 이미지 삭제', //cpg1.4
+  'read_exif' => 'EXIF info 를 다시보기',
+  'reset_view_count' => '조회수 지우기',
+  'reset_all_view_count' => '모든 조회수 지우기', //cpg1.4
+  'reset_votes' => '평가 지우기',
+  'reset_all_votes' => '모든 평가 지우기', //cpg1.4
+  'del_comm' => '코멘트 지우기',
+  'del_all_comm' => '모든 코멘트 지우기', //cpg1.4
+  'upl_approval' => '업로드 승인', //cpg1.4
+  'edit_pics' => '이미지 편집',
+  'see_next' => '다음',
+  'see_prev' => '이전',
+  'n_pic' => '%s 이미지',
+  'n_of_pic_to_disp' => '표시할 이미지수',
+  'apply' => '변경 적용',
+  'crop_title' => '코퍼마인 사진 편집기',
+  'preview' => '미리보기',
+  'save' => '이미지 저장',
+  'save_thumb' =>'썸네일로 저장',
+  'gallery_icon' => '이것을 나의 아이콘으로 만들기', //cpg1.4
+  'sel_on_img' =>'선택은 모두 이미지 위에서 하여야 합니다!', //js-alert
+  'album_properties' =>'앨범 프로퍼티', //cpg1.4
+  'parent_category' =>'상위 카테고리', //cpg1.4
+  'thumbnail_view' =>'쎔네일 보기', //cpg1.4
+  'select_unselect' =>'모두 선택/선택해제', //cpg1.4
+  'file_exists' => "목적지 파일 '%s' 이미 존재.", //cpg1.4
+  'rename_failed' => " '%s' 을 '%s' 로 이름바꾸기 실패.", //cpg1.4
+  'src_file_missing' => "원래 파일'%s' 을 분실하였읍니다.", // cpg 1.4
+  'mime_conv' => " '%s' 을 '%s' 로 변환할 수 없습니다",//cpg1.4
+  'forb_ext' => '파일 확장 금지.',//cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File faq.php
+// ------------------------------------------------------------------------- //
+
+if (defined('FAQ_PHP')) $lang_faq_php = array(
+  'faq' => '자주 묻는 질문',
+  'toc' => '목차',
+  'question' => '질문: ',
+  'answer' => '답변: ',
+);
+
+if (defined('FAQ_PHP')) $lang_faq_data = array(
+  '일반적인 FAQ',
+  array('왜 등록을 해야하나요?', '관리자에 따라서 등록이 필요 혹은 불필요합니다. 등록을 하면 업로드, 즐겨찾기, 사진 평가 그리고 코멘트 기록등의 기능이 주어집니다.', 'allow_user_registration', '1'),
+  array('어떻게 등록을 하나요?', '&quot;회원등록&quot;으로 가서 필수 항목(원하실 경우는 선택항목포함)을 입력하세요.<br />관리자가 이메일 통보기능을 설정하였으면 귀하가 회원정보를 전송한 후에 입력한 이메일에 회원자격을 활성화하는 방법을 알려줍니다. 로그인을 하려면 회원자격이 활성화되어 있어야 합니다.', 'allow_user_registration', '1'), //cpg1.4
+  array('어떻게 로그인을 하나요?', '&quot;로그인&quot;으로 가서, 아이디와 비밀번호를 입력하고 &quot;기억하기&quot;를 선택하세요. 이 사이트를 떠나는 경우에도 다시 로그인 할 수 있습니다.<br /><b>중요: &quot;기억하기&quot;를 사용하기 위하여는 쿠키사용이 가능하여야 하고 이 사이트의 쿠키가 삭제되면 안됩니다.</b>', 'offline', 0),
+  array('왜 로그인이 되지 않나요?', '회원등록을 하고 이메일로 받은 경로를 클릭하였나요?. 그 경로로 귀하의 계정을 활성화합니다. 그외의 로그인문제는 사이트 관리자에게 연락하세요.', 'offline', 0),
+  array('비밀번호를 잊었으면 어떻하지요?', '사이트가 &quot;비밀번호 분실&quot; 경로를 갖고 있으면 그것을 사용하세요. 그렇지 않으면 관리자에게 연락을 하여 새 비밀번호를 받으세요.', 'offline', 0),
+  //array('이메일 주소가 바뀌었으면 어떻게 하나요?', '로그인하여 &quot;개인정보&quot;를 통하여 귀하의 이메일 주소를 변경하세요.', 'offline', 0),
+  array('어떻게 사진을 &quot;즐겨찾기&quot;에 저장하나요?', '이미지를 클릭하고 &quot;사진 정보&quot;경로를 클릭하세요. (<img src="images/info.gif" width="16" height="16" border="0" alt="Picture information" />); 아래에 있는 사진정보로 내려가서 &quot;즐겨찾기에 추가&quot;를 클릭하세요.<br />관리자가 &quot;파일 정보&quot; 보여주기를 디폴트로 선택하였을 수도 있습니다.<br />중요:쿠키사용이 가능하여야 하고 이 사이트의 쿠키가 삭제되면 안됩니다.', 'offline', 0),
+  array('파일을 어떻게 평가하나요?', '썸네일을 클릭하고 아래로 내려가서 평점을 선택하세요.', 'offline', 0),
+  array('어떻게 코멘트를 기록하나요?', '썸네일을 클릭하고 아래로 내려가서 코멘트를 입력하세요.', 'offline', 0),
+  array('어떻게 사진을 업로드하나요?', '&quot;이미지 업로드&quot;에 가서 업로드하려고 하는 앨범을 선택하세요. &quot;찾아보기&quot;를 클릭하여 업로드할 파일을 찾은 후에, &quot;열기.&quot;를 클릭하고 다음을 클릭하세요. 제목과 설명을 입력한 후에 &quot;다음&quot;을 클릭하세요.<br /><br />또는 <b>Windows XP</b>를 사용하는 사용자는 XP Publishing 마법사를 사용하여 개인소유의 앨범에 여러 파일을 직접 업로드 할 수 있습니다.<br />사용 방법은 <a href="xp_publish.php">여기를 클릭하세요.</a>', 'allow_private_albums', 1), //cpg1.4
+  array('어느곳에 사진을 업로드하나요?', '&quot;개인 갤러리&quot;에 있는 앨범에 파일을 업로드 할 수 있습니다. 또한 관리자는 귀하에게 메인 갤러리에 있는 앨범에 이미지를 업로드할 권한을 줄 수 있습니다.', 'allow_private_albums', 0),
+  array('업로드할 수 있는 사진의 크기와 타입은 무엇인가요?', '사진의 크기와 타입(jpg, png, 등등...)은 관리자에 의하여 결정됩니다.', 'offline', 0),
+  array('어떻게 &quot;개인 갤러리&quot;에 앨범을 생성,이름변경 그리고 삭제 할 수 있나요?', '&quot;관리자모드&quot;로 이동하세요.<br />&quot;개인앨범 생성/의뢰&quot;로 가서 &quot;생성&quot;을 클릭하세요. &quot;새 앨범&quot;을 원하는 이름으로 바꾸세요.<br />갤러리의 앨범명을 바꿀 수 있습니다.<br />&quot;변경 적용&quot;을 클릭하세요.', 'allow_private_albums', 0),
+  array('어떻게 나의 앨범을 관람하는 사용자들을 제한하고 변경하나요?', '&quot;관리자모드&quot;로 가세요.<br />&quot;개인앨범 수정으로 가세요. &quot;앨범 수정&quot; 바에서 변경하려는 앨범을 선택하세요.<br />이곳에서 이름, 설명, 썸네일 사진, 보기 제한 그리고 코멘트/평가 승락등을 바꿀 수 있습니다.<br /> &quot;앨범 수정&quot;을 클릭하세요.', 'allow_private_albums', 0),
+  array('어떻게 다른 사용자들의 갤러리를 볼 수 있나요?', '&quot;앨범 목록&quot;으로 가서 &quot;개인 갤러리&quot;를 선택하세요.', 'allow_private_albums', 0),
+  array('쿠기는 무엇인가요?', '쿠키는 웹사이트에서 보내지어 귀하의 컴퓨터에 저장되는 텍스트로 구성된 데이타입니다.<br />쿠키는 사용자가 사이트를 떠난 후에 다시 로그인 없이 되돌아 올 수 있는 등의 자질구레한 일들을 제공합니다.', 'offline', 0),
+  array('어떻게 이 프로그램을 얻을 수 있나요?', '코퍼마인은 GNU GPL 아래 제공되는 무료 멀티미디어 갤러리입니다. 다양한 기능을 갖고 있으며 여러 플래트폼에 장착을 할 수있습니다.  <a href="http://coppermine-gallery.net/">코퍼마인 홈페이지</a>를 방문하여 자세한 사항과 다운로드를 받으세요.', 'offline', 0),
+
+  '사이트 둘러보기',
+  array('&quot;앨범 목록&quot;은 무엇인가요?', '현재 위치한 모든 카타고리와 각 앨범의 경로를 보여줍니다. 귀하가 카타고리 안에 있지 않으면, 전체 갤러리와 각 카타고리의 경로를 보여줍니다. 썸네일이 카타고리의 경로일 수 있습니다.', 'offline', 0),
+  array('&quot;개인 갤러리&quot;는 무엇인가요?', '사용자가 각자의 갤러리를 생성하고 앨범을 추가, 삭제 그리고 변경할 수 있습니다. 그리고 파일을 그곳에 업로드합니다.', 'allow_private_albums', 1), //cpg1.4
+  array('&quot;관리자 모드&quot; 와 &quot;사용자 모드&quot;의 차이는 무엇인가요?', '관리자 모드일 경우 사용자가 그들의 갤러리를 변경합니다(관리자가 허용하는 경우에는 다른 것들도).', 'allow_private_albums', 0),
+  array('&quot;업로드 이미지&quot;는 무엇인가요?', '이 기능으로 사용자 혹은 관리자가가 선택한 갤러리로 사진 업로드를 수행합니다 (크기와 타입은 관리자가 설정).', 'allow_private_albums', 0),
+  array('&quot;최근 이미지&quot;는 무엇인가요?', '가장 최근에 업로드한 파일들을 보여줍니다.', 'offline', 0),
+  array('&quot;최근 코멘트&quot;는 무엇인가요?', '가장 최근에 코멘트를 기록한 파일들을 보여줍니다.', 'offline', 0),
+  array('&quot;최다 조회&quot;는 무엇인가요?', '모든 사용자(로그인에 관계 없이)로부터 가장 많이 조회한 이미지들을 보여줍니다.', 'offline', 0),
+  array('&quot;최고 평점&quot;은 무엇인가요?', '사용자가 최고 평점한 이미지들과 그들의 평균 평점을 보여줍니다(예: 다섯회원이 각기 <img src="images/rating3.gif" width="65" height="14" border="0" alt="" /> 을 주었으면: 파일의 평균 평점은 <img src="images/rating3.gif" width="65" height="14" border="0" alt="" /> 입니다 ;다섯 회원이 파일에게 1에서 5까지 (1,2,3,4,5) 평점을 주었으면 평균 <img src="images/rating3.gif" width="65" height="14" border="0" alt="" /> .)<br />평균 평점은 <img src="images/rating5.gif" width="65" height="14" border="0" alt="best" /> (최상) 에서 <img src="images/rating0.gif" width="65" height="14" border="0" alt="worst" /> (아주나쁨)까지.', 'offline', 0),
+  array('&quot;즐겨찾기&quot;는 무엇인가요?', '사용자가 선택한 즐겨찾기 파일을 쿠키에 기록하여 귀하의 컴퓨터에 전송하여 줍니다.', 'offline', 0),
+);
+
+
+// ------------------------------------------------------------------------- //
+// File forgot_passwd.php
+// ------------------------------------------------------------------------- //
+
+if (defined('FORGOT_PASSWD_PHP')) $lang_forgot_passwd_php = array(
+  'forgot_passwd' => '비밀기호 기억자',
+  'err_already_logged_in' => '이미 로그인 되었습니다 !',
+  'enter_email' => '이메일 주소를 입력하세요.', //cpg1.4
+  'submit' => '보냄',
+  'failed_sending_email' => '비밀번호 기억자 이메일로 보낼 수 없읍니다 !',
+  'email_sent' => '아이디와 비밀번호가 이메일로 %s 발송되었습니다 ',
+  'err_unk_user' => '선택한 사용자는 존재하지 않습니다!',
+  'passwd_reminder_subject' => '%s - 비밀번호 기억자',
+  'passwd_reminder_body' => '기억을 돕기 위해 다음의 로그인자료를 요청하였습니다:
+아이디: %s
+비밀번호: %s
+클릭 %s ',
+);
+
+// ------------------------------------------------------------------------- //
+// File groupmgr.php
+// ------------------------------------------------------------------------- //
+
+if (defined('GROUPMGR_PHP')) $lang_groupmgr_php = array(
+  'group_name' => '그룹', //cpg1.4
+  'permissions' => '퍼미션', //cpg1.4
+  'public_albums' => '공개 앨범 업로드', //cpg1.4
+  'personal_gallery' => '개인 갤러리', //cpg1.4
+  'upload_method' => '업로드 방법', //cpg1.4
+  'disk_quota' => '할당량', //cpg1.4
+  'rating' => '평점', //cpg1.4
+  'ecards' => 'Ecards', //cpg1.4
+  'comments' => '코멘트', //cpg1.4
+  'allowed' => '허용', //cpg1.4
+  'approval' => '승인', //cpg1.4
+  'boxes_number' => '박스 갯수', //cpg1.4
+  'variable' => '가변', //cpg1.4
+  'fixed' => '고정', //cpg1.4
+  'apply' => '변경사항 적용',
+  'create_new_group' => '새그룹 생성',
+  'del_groups' => '선택한 그룹삭제',
+  'confirm_del' => '주의, 그룹을 삭제하면 이 그룹에 속한 사용자들은 \'Registered\' 그룹으로 옮겨집니다.  !\n\n계속하시겠습니까 ?', //js-alert
+  'title' => '사용자그룹 관리',
+  'num_file_upload' => '파일 업로드 박스', //cpg1.4
+  'num_URI_upload' => 'URI 업로드 박스', //cpg1.4
+  'reset_to_default' => '디폴트 이름으로 리셋 (%s) - 권장사항!', //cpg1.4
+  'error_group_empty' => '그룹테이블이 비어 있습니다 !<br /><br />디폴트 그룹이 생성되었습니다. 이 페이지를 리로드하세요', //cpg1.4
+  'explain_greyed_out_title' => '왜 이것이 뿌옇지요?', //cpg1.4
+  'explain_guests_greyed_out_text' => '이그룹의 프로퍼티를 변경할 수 없습니다. 왜냐하면 설정에서 옵션 &quot; 로그인 하지 않은 사람의 허용 (손님 혹은 익명인)&quot; 을 &quot;아니오&quot; 로 하였기때문입니다. 모든 손님 (그룹 %s의 회원) 은 로그인 밖에는 할 수 없습니다. 그러므로 그룹설정이 그들에게 적용하지 않습니다.', //cpg1.4
+  'explain_banned_greyed_out_text' => '그룹 %s의 프로퍼티를 수정할 수 없습니다. 왜냐하면 그룹의 회원은 할 수 없기 때문입니다.', //cpg1.4
+  'group_assigned_album' => '할당된 앨범', //cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File index.php
+// ------------------------------------------------------------------------- //
+
+if (defined('INDEX_PHP')){
+
+$lang_index_php = array(
+  'welcome' => '환영합니다 !',
+);
+
+$lang_album_admin_menu = array(
+  'confirm_delete' => '앨범을 삭제하시겠습니까? \\n모든 이미지와 코멘트도 삭제됩니다.', //js-alert
+  'delete' => '삭제',
+  'modify' => '앨범설정',
+  'edit_pics' => '이미지별 정보수정 ',
+);
+
+$lang_list_categories = array(
+  'home' => '홈',
+  'stat1' => '<b>[pictures]</b> 파일 <b>[albums]</b> 앨범  <b>[cat]</b> 카테고리 <b>[comments]</b> 코멘트 조회 <b>[views]</b> 회',
+  'stat2' => '<b>[pictures]</b> 파일 <b>[albums]</b> 앨범 조회 <b>[views]</b> 회',
+  'xx_s_gallery' => '%s의 갤러리',
+  'stat3' => '<b>[pictures]</b> 파일 <b>[albums]</b> 앨범 <b>[comments]</b> 코멘트 조회 <b>[views]</b> 회',
+);
+
+$lang_list_users = array(
+  'user_list' => '사용자(회원)목록',
+  'no_user_gal' => '사용자(회원) 갤러리가 없습니다.',
+  'n_albums' => '%s 앨범',
+  'n_pics' => '%s 이미지',
+);
+
+$lang_list_albums = array(
+  'n_pictures' => '%s 이미지',
+  'last_added' => ', %s 에 업로드한 최근 이미지',
+  'n_link_pictures' => '%s 연결된 이미지', //cpg1.4
+  'total_pictures' => ' 총 %s 이미지', //cpg1.4
+);
+
+}
+
+// ------------------------------------------------------------------------- //
+// File keywordmgr.php //cpg1.4
+// ------------------------------------------------------------------------- //
+
+if (defined('KEYWORDMGR_PHP')) $lang_keywordmgr_php = array(
+  'title' => '키워드 관리', //cpg1.4
+  'edit' => '편집', //cpg1.4
+  'delete' => '삭제', //cpg1.4
+  'search' => '검색', //cpg1.4
+  'keyword_test_search' => '새창에서 %s를 검색', //cpg1.4
+  'keyword_del' => '키워드 %s를 삭제', //cpg1.4
+  'confirm_delete' => '키워드 %s를 모든 갤러리에서 삭제하시겠습니까?', //cpg1.4  // js-alert
+  'change_keyword' => '키워드 수정', //cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File login.php
+// ------------------------------------------------------------------------- //
+
+if (defined('LOGIN_PHP')) $lang_login_php = array(
+  'login' => '로그인',
+  'enter_login_pswd' => '아이디와 비밀번호를 입력하세요!',
+  'username' => '아이디',
+  'password' => '비밀번호',
+  'remember_me' => '기억하기',
+  'welcome' => '%s 님 로그인 되었습니다.',
+  'err_login' => '*** 로그인 되지 않았습니다 ***',
+  'err_already_logged_in' => '이미 로그인 되었습니다 !',
+  'forgot_password_link' => '비밀번호 분실',
+  'cookie_warning' => '귀하의 브라우저는 스크립 쿠키를 수락하지 않습니다', //cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File logout.php
+// ------------------------------------------------------------------------- //
+
+if (defined('LOGOUT_PHP')) $lang_logout_php = array(
+  'logout' => '로그아웃',
+  'bye' => '%s님 로그아웃 되었습니다 !!',
+  'err_not_loged_in' => '로그인 되지 않았습니다 !',
+);
+
+// ------------------------------------------------------------------------- //
+// File minibrowser.php  //cpg1.4
+// ------------------------------------------------------------------------- //
+
+if (defined('MINIBROWSER_PHP')) $lang_minibrowser_php = array(
+  'close' => '닫음', //cpg1.4
+  'submit' => '보냄', //cpg1.4
+  'up' => '상위 레벨로', //cpg1.4
+  'current_path' => '현재 경로', //cpg1.4
+  'select_directory' => '디렉토리를 선택하세요', //cpg1.4
+  'click_to_close' => '이창을 닫으시려면 이미지에 클릭을 하세요',
+);
+
+// ------------------------------------------------------------------------- //
+// File modifyalb.php
+// ------------------------------------------------------------------------- //
+
+if (defined('MODIFYALB_PHP')) $lang_modifyalb_php = array(
+  'upd_alb_n' => '%s님 앨범 업데이트',
+  'general_settings' => '기본설정',
+  'alb_title' => '앨범 제목',
+  'alb_cat' => '앨범 카테고리',
+  'alb_desc' => '앨범 설명',
+  'alb_keyword' => '앨범 키워드', //cpg1.4
+  'alb_thumb' => '앨범 썸네일',
+  'alb_perm' => '앨범권한 설정',
+  'can_view' => '앨범공개 설정',
+  'can_upload' => '방문자가 이미지 업로드할 수 있슴',
+  'can_post_comments' => '방문자가 코멘트 쓸 수 있슴',
+  'can_rate' => '방문자가 평가할 수 있슴',
+  'user_gal' => '사용자 갤러리',
+  'no_cat' => '* 최상위 카테고리(메인) *',
+  'alb_empty' => '앨범이 비어있습니다.',
+  'last_uploaded' => '최근 업로드',
+  'public_alb' => '모든 사람 (공개 앨범)',
+  'me_only' => '나만 보기',
+  'owner_only' => '앨범 주인 (%s) 만',
+  'groupp_only' => '\'%s\' 그룹의 회원만 ',
+  'err_no_alb_to_modify' => '귀하는 데이타베이스의 앨범을 수정할 수 없습니다.',
+  'update' => '앨범 편집',
+  'reset_album' => '앨범 리셋', //cpg1.4
+  'reset_views' => '앨범 조회수를 &quot;0&quot;  %s 에 존재하는 ', //cpg1.4
+  'reset_rating' => '%s 에 있는 모든 이미지의 평점을 리셋', //cpg1.4
+  'delete_comments' => '%s 에 있는 모든 코멘트를 삭제', //cpg1.4
+  'delete_files' => '%s복원불가능하게%s  %s에 존재하는 모든 이미지 삭제 ', //cpg1.4
+  'views' => '조회', //cpg1.4
+  'votes' => '평가', //cpg1.4
+  'comments' => '코멘트', //cpg1.4
+  'files' => '이미지', //cpg1.4
+  'submit_reset' => '변경제출', //cpg1.4
+  'reset_views_confirm' => '확인합니다', //cpg1.4
+  'notice1' => '(*) %s그룹%s 설정에 따라서 ',  //cpg1.4 //(do not translate %s!)
+  'alb_password' => '앨범 비밀번호', //cpg1.4
+  'alb_password_hint' => '앨범 비밀번호 힌트', //cpg1.4
+  'edit_files' =>'이미지 편집', //cpg1.4
+  'parent_category' =>'상위 카테고리', //cpg1.4
+  'thumbnail_view' =>'썸네일 보기', //cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File phpinfo.php
+// ------------------------------------------------------------------------- //
+
+if (defined('PHPINFO_PHP')) $lang_phpinfo_php = array(
+  'php_info' => 'PHP 정보',
+  'explanation' => '이것은 PHP-function에 의하여 생성된 결과입니다. <a href="http://www.php.net/phpinfo">phpinfo()</a>, 코퍼마인에서 표시된(오른쪽 편에 출력을 정돈).',
+  'no_link' => '다른사람이 귀하의 phpinfo를 보는 것은 위험요소가 있습니다. 그래서 귀하가 관리자로 로그인해야만 이 페이지를 볼 수 있습니다. 이 경로를 다른사람에게 보내주어도 그들은 이 페이지를 참조할 수 없습니다.',
+);
+
+// ------------------------------------------------------------------------- //
+// File picmgr.php //cpg1.4
+// ------------------------------------------------------------------------- //
+if (defined('PICMGR_PHP')) $lang_picmgr_php = array(
+  'pic_mgr' => '사진 관리자', //cpg1.4
+  'select_album' => '앨범 선택', //cpg1.4
+  'delete' => '삭제', //cpg1.4
+  'confirm_delete1' => '이 사진을 삭제하시겠습니까 ?', //cpg1.4
+  'confirm_delete2' => '\n사진이 영구적으로 삭제되었습니다.', //cpg1.4
+  'apply_modifs' => '변경 적용', //cpg1.4
+  'confirm_modifs' => '변경 확인', //cpg1.4
+  'pic_need_name' => '사진 이름이 필요합니다 !', //cpg1.4
+  'no_change' => '변동사항이 없습니다 !', //cpg1.4
+  'no_album' => '* 앨범 없음 *', //cpg1.4
+  'explanation_header' => '여기서 기술한 커스톰 배열 방식은 오직 다음과 같은 경우에 적용을 받습니다.', //cpg1.4
+  'explanation1' => '관리자가 설정에 있는 "이미지 디폴트 배열 방식"을 "위치별 역순" 혹은 "위치별 순차배열" (개별적으로 다른 배열방식을 선택하지 않은 사용자를 위한 글로벌 세팅)을 한 경우', //cpg1.4
+  'explanation2' => '사용자가 썸네일 페이지에 "위치별 역순" 혹은 "위치별 순차배열" 을 선택한 경우 (사용자 세팅별로)', //cpg1.4
+);
+
+
+// ------------------------------------------------------------------------- //
+// File pluginmgr.php //cpg1.4
+// ------------------------------------------------------------------------- //
+
+if (defined('PLUGINMGR_PHP')){
+
+$lang_pluginmgr_php = array(
+  'confirm_uninstall' => '이 플러그인을 제거하시겠습니까?', //cpg1.4
+  'confirm_delete' => '이 플러그인을 삭제하시겠습니까?', //cpg1.4
+  'pmgr' => '플러그인 관리자', //cpg1.4
+  'name' => '이름', //cpg1.4
+  'author' => '저자', //cpg1.4
+  'desc' => '설명', //cpg1.4
+  'vers' => 'v', //cpg1.4
+  'i_plugins' => '설치된 플러그인', //cpg1.4
+  'n_plugins' => '설치되지 않은 플러그인', //cpg1.4
+  'none_installed' => '설치된것 없음', //cpg1.4
+  'operation' => '운영', //cpg1.4
+  'not_plugin_package' => '이 파일 업로드는 플러그인 패케지가 아닙니다.', //cpg1.4
+  'copy_error' => '패케지를 플러그인 폴더에 복사하는데 오류가 발생하였습니다.', //cpg1.4
+  'upload' => '업로드', //cpg1.4
+  'configure_plugin' => '플러그인 설정', //cpg1.4
+  'cleanup_plugin' => '플러그인 제거', //cpg1.4
+);
+}
+
+// ------------------------------------------------------------------------- //
+// File ratepic.php
+// ------------------------------------------------------------------------- //
+
+if (defined('RATEPIC_PHP')) $lang_rate_pic_php = array(
+  'already_rated' => '이미 평가하셨습니다.',
+  'rate_ok' => '평가해 주셔서 감사합니다.',
+  'forbidden' => '본인의 이미지를 평가할 수 없습니다.',
+);
+
+// ------------------------------------------------------------------------- //
+// File register.php & profile.php
+// ------------------------------------------------------------------------- //
+
+if (defined('REGISTER_PHP') || defined('PROFILE_PHP')) {
+
+$lang_register_disclamer = <<<EOT
+{SITE_NAME} 사이트의 관리자가 문제가 제기될 만한 자료를 가능한 신속히 삭제 혹은 편집하려고 시도를 하여도 모든 것들을 검사하는 것은 불가능합니다. 그러므로 이 사이트에 올려진 자료들은 관리자나 웹마스터의 의견이 아닌(이들이 작성한 것 제외) 작성자의 관점과 의견임을 인지하여야 합니다. 그러므로 관리자나 웹마스터는 이에 대하여 책임이 없습니다.<br />
+<br />
+귀하는 욕이나 외설적이거나 야비하거나 다른사람을 비방, 증오, 위협하는 자료 혹은 법에 어긋나는 자료를 올리지 않기를 동의합니다. 귀하는 {SITE_NAME} 사이트의 관리자나 웹마스터나 사회자가 언제든지 어떤 내용이든지 적절하게 편집 혹은 수정할 권리가 있음을 동의합니다. 귀하는 회원으로서 다음에 기입할 정보들이 데이타베이스에 저장되는 것을 동의 합니다. 이 정보들은 귀하가 웹마스터나 관리자에게 승락하지 않으면 다른사람들에게 절대로 공개되지 않을 것이고, 데이타의 손상을 가져오는 해킹에 대하여는 웹마스터나 관리자에게는 책임이 없습니다.<br />
+<br />
+이 사이트는 귀하의 컴퓨터에 정보를 수록하기 위하여 쿠기를 사용합니다. 이 쿠키는 귀하의 관람의 재미를 높이기 위하여 사용됩니다. 이메일 주소는 귀하의 등록 정보와 비밀번호를 확인하기 위해서만 사용이 됩니다.<br />
+<br />
+아래의 '동의합니다'를 클릭함으로 귀하는 이 조건들에 확실히 동의합니다.
+EOT;
+
+$lang_register_php = array(
+  'page_title' => '회원등록',
+  'term_cond' => '등록약관 및 이용안내',
+  'i_agree' => '동의합니다!',
+  'submit' => '회원등록',
+  'err_user_exists' => '아이디가 이미 존재합니다, 다른 아이디를 입력하세요.',
+  'err_password_mismatch' => '비밀번호가 동일하지 않습니다, 다시 입력하세요.',
+  'err_uname_short' => '아이디는 2 글자 이상입니다.',
+  'err_password_short' => '비밀번호는 2 글자 이상입니다.',
+  'err_uname_pass_diff' => '아이디와 비밀번호는 달라야합니다.',
+  'err_invalid_email' => '이메일 주소가 무효합니다.',
+  'err_duplicate_email' => '입력한 이메일을 사용하는 기존 회원이 있습니다.',
+  'enter_info' => '등록 정보 입력',
+  'required_info' => '필수입력 항목',
+  'optional_info' => '선택입력 항목',
+  'username' => '아이디',
+  'password' => '비밀번호',
+  'password_again' => '비밀번호 재입력',
+  'email' => '이메일',
+  'location' => '지역',
+  'interests' => '관심분야',
+  'website' => '홈페이지',
+  'occupation' => '직업',
+  'error' => '오류',
+  'confirm_email_subject' => '%s - 등록 확인',
+  'information' => '안내',
+  'failed_sending_email' => '등록 확인 이메일을 보낼 수 없습니다 !',
+  'thank_you' => '등록하여 주셔서 감사합니다.<br /><br />귀하가 제공한 이메일로 계정활성화하는 방법을 발신하였습니다.',
+  'acct_created' => '계정이 생성되었습니다. 아이디와 비밀번호로 로그인을 하실 수 있습니다.',
+  'acct_active' => '귀하의 계정이 활성화 되었습니다. 아이디와 비밀번호로 로그인을 하실 수 있습니다.',
+  'acct_already_act' => '계정이 이미 활성화 되었습니다 !', //cpg1.4
+  'acct_act_failed' => '이 계정을 활성화 할 수 없습니다 !',
+  'err_unk_user' => '선택한 사용자는 존재하지 않습니다 !',
+  'x_s_profile' => '%s 의 개인정보',
+  'group' => '그룹',
+  'reg_date' => '회원가입일자',
+  'disk_usage' => '디스크 사용량',
+  'change_pass' => '비밀번호 변경',
+  'current_pass' => '현재 비밀번호',
+  'new_pass' => '새로운 비밀번호',
+  'new_pass_again' => '새 비밀번호 재입력',
+  'err_curr_pass' => '현재 비밀번호가 틀립니다.',
+  'apply_modif' => '변경사항 적용',
+  'change_pass' => '비밀번호 변경',
+  'update_success' => '개인정보가 업데이트 되었습니다.',
+  'pass_chg_success' => '비밀번호가 변경 되었습니다.',
+  'pass_chg_error' => '비밀번호가 변경 되지 않았습니다.',
+  'notify_admin_email_subject' => '%s - 등록 통보',
+  'last_uploads' => '최근 업로드 파일.<br />모든 업로드를 보기:', //cpg1.4
+  'last_comments' => '최근 코멘트.<br />모든 코멘트 보기: ', //cpg1.4
+  'notify_admin_email_body' => '갤러리에 새로운 회원 "%s" 등록하였습니다',
+  'pic_count' => '업로드 파일', //cpg1.4
+  'notify_admin_request_email_subject' => '%s - 등록 신청', //cpg1.4
+  'thank_you_admin_activation' => '감사합니다.<br /><br />계정활성화 요청이 관리자에게 통보되었습니다. 승락시에는 이메일을 통보를 보내드립니다.', //cpg1.4
+  'acct_active_admin_activation' => '계정이 활성화 되었습니다. 이메일이 회원에게 발송되었습니다.', //cpg1.4
+  'notify_user_email_subject' => '%s - 활성화 통보', //cpg1.4
+);
+
+$lang_register_confirm_email = <<<EOT
+ {SITE_NAME}사이트에 가입을 하여서 감사합니다.
+
+ "{USER_NAME}"사이트의 회원으로 계정을 활성화 하려면  , 귀하의 웹브라우저에 아래 링크를 복사하여 붙이세요.
+
+<a href="{ACT_LINK}">{ACT_LINK}</a>
+
+감사합니다,
+
+ {SITE_NAME} 사이트 운영자 
+
+EOT;
+
+$lang_register_approve_email = <<<EOT
+새 회원 "{USER_NAME}" 갤러리에 등록하였습니다.
+
+계정을 활성화 하시려면 , 아래의 링크를 클릭하거나 귀하의 웹브라우저에 그것을 복사하여 붙이세요.
+
+<a href="{ACT_LINK}">{ACT_LINK}</a>
+
+EOT;
+
+$lang_register_activated_email = <<<EOT
+귀하의 계정은 승인이 되어 사용하실 수 있습니다.
+
+로그인 하세요 <a href="{SITE_LINK}">{SITE_LINK}</a> 회원명 "{USER_NAME}"
+
+
+감사합니다,
+
+ {SITE_NAME} 운영자 
+
+EOT;
+}
+
+// ------------------------------------------------------------------------- //
+// File reviewcom.php
+// ------------------------------------------------------------------------- //
+
+if (defined('REVIEWCOM_PHP')) $lang_reviewcom_php = array(
+  'title' => '코멘트 보기',
+  'no_comment' => '리뷰할 코멘트가 없습니다',
+  'n_comm_del' => '%s 코멘트가 삭제되었음',
+  'n_comm_disp' => '표시할 코멘트 수',
+  'see_prev' => '이전 보기',
+  'see_next' => '다음 보기',
+  'del_comm' => '선택한 코멘트 삭제',
+  'user_name' => '이름', //cpg1.4
+  'date' => '일자', //cpg1.4
+  'comment' => '코멘트', //cpg1.4
+  'file' => '파일', //cpg1.4
+  'name_a' => '아이디 순차배열', //cpg1.4
+  'name_d' => '아이디 역순', //cpg1.4
+  'date_a' => '일자 순차배열', //cpg1.4
+  'date_d' => '일자 역순', //cpg1.4
+  'comment_a' => '코멘트 순차배열', //cpg1.4
+  'comment_d' => '코멘트 역순', //cpg1.4
+  'file_a' => '파일 순차배열', //cpg1.4
+  'file_d' => '파일 역순', //cpg1.4
+);
+
+
+// ------------------------------------------------------------------------- //
+// File search.php                                                           //
+// ------------------------------------------------------------------------- //
+
+
+if (defined('SEARCH_PHP')){
+
+$lang_search_php = array(
+  'title' => '파일 모으기를 위한 검색', //cpg1.4
+  'submit_search' => '검색', //cpg1.4
+  'keyword_list_title' => '키워드 목록', //cpg1.4
+  'keyword_msg' => '위의 목록은 모든 것을 포함한 것이 아닙니다. 제목이나 설명에 있는 단어를 포함하지 않습니다. full-text 검색을 하세요.',  //cpg1.4
+  'edit_keywords' => '키워드 편집', //cpg1.4
+  'search in' => '검색할 곳:', //cpg1.4
+  'ip_address' => 'IP 주소', //cpg1.4
+  'fields' => '검색 항목', //cpg1.4
+  'age' => '나이', //cpg1.4
+  'newer_than' => '이전', //cpg1.4
+  'older_than' => '이후', //cpg1.4
+  'days' => '일', //cpg1.4
+  'all_words' => '모두 매치 (AND)', //cpg1.4
+  'any_words' => '일부단어 매치(OR)', //cpg1.4
+);
+
+$lang_adv_opts = array(
+  'title' => '제목', //cpg1.4
+  'caption' => '캡션', //cpg1.4
+  'keywords' => '키워드', //cpg1.4
+  'owner_name' => '소유자명', //cpg1.4
+  'filename' => '파일명', //cpg1.4
+);
+
+}
+
+// ------------------------------------------------------------------------- //
+// File searchnew.php
+// ------------------------------------------------------------------------- //
+
+if (defined('SEARCHNEW_PHP')) $lang_search_new_php = array(
+  'page_title' => '새 이미지 검색',
+  'select_dir' => '디렉토리 지정',
+  'select_dir_msg' => '이 기능은 FTP를 이용하여 서버에 업로드된 파일을 일괄 추가하는 기능입니다.<br /><br />업로드된 파일이 존재하는 디렉토리를 선택하세요.', //cpg1.4
+  'no_pic_to_add' => '추가할 파일이 없습니다.',
+  'need_one_album' => '이 기능을 사용하려면 최소한 한 앨범이 필요합니다.',
+  'warning' => '주의',
+  'change_perm' => '스크립트가 이 디렉토리에 수록을 할 수 없습니다. 파일을 추가 하기전에 이것의 모드를 755 혹은 777로 변경하세요 !',
+  'target_album' => '<b>&quot;</b>%s<b>&quot;에 있는 파일을 </b>%s로',
+  'folder' => '폴더',
+  'image' => '이미지',
+  'album' => '앨범',
+  'result' => '결과',
+  'dir_ro' => '쓰기 권한 없습니다. ',
+  'dir_cant_read' => '읽기 권한 없습니다. ',
+  'insert' => '갤러리에 새로운 파일 추가',
+  'list_new_pic' => '새로운 파일 보기',
+  'insert_selected' => '선택한 파일 추가',
+  'no_pic_found' => '새로운 파일이 없음',
+  'be_patient' => '기다리세요. 파일을 추가하기위한 스크립은 시간을 필요로 합니다.',
+  'no_album' => '앨범을 선택하세요.',
+  'result_icon' => '상세내역/새로고침을 위하여 클릭',  //cpg1.4
+  'notes' =>  '<ul>'.
+                          '<li><b>OK</b> : 파일이 성공적으로 추가되었습니다.'.
+                          '<li><b>DP</b> : 파일이 중복되었고 이미 데이타베이스에 존재합니다.'.
+                          '<li><b>PB</b> : 파일을 추가할 수 없습니다. 설정과 파일을 위치하고자 하는 디렉토리의 승인을 확인하세요.'.
+                          '<li><b>NA</b> : 파일을 추가할 앨범을 선택하지 않았습니다. 다음을 \'<a href="javascript:history.back(1)">이전</a>\' 누른후에 앨범을 선택하세요. 앨범이 없으면 <a href="albmgr.php">앨범을 먼저 생성하세요.</a></li>'.
+                          '<li>만일 OK, DP, PB \'signs\' 이 나타나지 않으면, 부서진 파일을 클릭하여 PHP가 생성한 오류메시지를 보세요.'.
+                          '<li>만일 브라우저가 시간이 초과되면, 새로고침버튼을 누르세요.'.
+                          '</ul>',
+  'select_album' => '앨범 선택',
+  'check_all' => '모두 선택',
+  'uncheck_all' => '모두 선택해제',
+  'no_folders' => ' "albums" 폴더안에 아직 폴더가 없습니다. "albums" 폴더안에 최소 한개 이상의 커스톰 폴더을 생성했는지 확인하세요. 그리고 그곳에 FTP를 이용하여 파일을 업로드하세요. "userpics" 혹은 "edit" 폴더에 업로드하면 안됩니다. 이들은 http 업로드와 내부 사용을 위한 곳입니다.', //cpg1.4
+   'albums_no_category' => '카타고리에 속하지 않는 앨범', //cpg1.4 // album pulldown mod, added by frogfoot
+  'personal_albums' => '* 개인 앨범', //cpg1.4 // album pulldown mod, added by frogfoot
+  'browse_batch_add' => '브라우저블 인터페이스 (권장사항)', //cpg1.4
+  'edit_pics' => '이미지 수정', //cpg1.4
+  'edit_properties' => '앨범 프로퍼티', //cpg1.4
+  'view_thumbs' => '썸네일 보기', //cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File stat_details.php //cpg1.4
+// ------------------------------------------------------------------------- //
+
+if (defined('STAT_DETAILS_PHP')) $lang_stat_details_php = array(
+  'show_hide' => '이 칼럼 보기/숨기기', //cpg1.4
+  'vote' => '평가 내역', //cpg1.4
+  'hits' => '조회 내역', //cpg1.4
+  'stats' => '평가 통계', //cpg1.4
+  'sdate' => '일자', //cpg1.4
+  'rating' => '평점', //cpg1.4
+  'search_phrase' => '검색어', //cpg1.4
+  'referer' => '관람자', //cpg1.4
+  'browser' => '브라우저', //cpg1.4
+  'os' => '운영 시스텀', //cpg1.4
+  'ip' => 'IP', //cpg1.4
+  'sort_by_xxx' => '%s 로 배열', //cpg1.4
+  'ascending' => '순차배열', //cpg1.4
+  'descending' => '역순', //cpg1.4
+  'internal' => '내부', //cpg1.4
+  'close' => '닫기', //cpg1.4
+  'hide_internal_referers' => '내부 관람자 숨김', //cpg1.4
+  'date_display' => '일자 보기', //cpg1.4
+  'submit' => '보냄/ 지움', //cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File thumbnails.php
+// ------------------------------------------------------------------------- //
+
+// Void
+
+// ------------------------------------------------------------------------- //
+// File upload.php
+// ------------------------------------------------------------------------- //
+
+if (defined('UPLOAD_PHP')) $lang_upload_php = array(
+  'title' => '업로드 파일',
+  'custom_title' => '고객 요청 양식',
+  'cust_instr_1' => '업로드 박스의 커스텀 갯수를 선택할 수 있습니다. 하지만 아래 열거한 제한된 갯수 이상을 선택할 수 없습니다.',
+  'cust_instr_2' => '요청한 박스 수',
+  'cust_instr_3' => '파일 업로드 박스: %s',
+  'cust_instr_4' => 'URI/URL 업로드 박스: %s',
+  'cust_instr_5' => 'URI/URL 업로드 박스:',
+  'cust_instr_6' => '파일 업로드 박스:',
+  'cust_instr_7' => '지금 원하시는 업로드 박스의 각 타입 갯수를 입력하세요.  그리고 \'다음\'을 클릭하세요. ',
+  'reg_instr_1' => '폼 생성을 위한 유효하지 않은 액션.',
+  'reg_instr_2' => '아래의 업로드 박스를 이용하여 파일을 업로드 할 수 있습니다. 업로드 파일의 크기는 각각 %s KB 을 초과하면 안됩니다. \'파일 업로드\' 와 \'URI/URL 업로드\' 섹션의 업로드된 ZIP 파일은 압축상태로 남습니다.',
+  'reg_instr_3' => 'zip된 파일이나 어카이브의 압축을 풀려면, \'ZIP 업로드 압축풀기\' 에 있는 파일 업로드박스를 사용하세요.',
+  'reg_instr_4' => 'URI/URL 업로드 섹션을 이용하실 때, 파일에 대한 경로를 이와같이 하세요: http://www.mysite.com/images/example.jpg',
+  'reg_instr_5' => '모두 입력을 완료하였으면 \'다음\'을 클릭하세요.',
+  'reg_instr_6' => '비압축 ZIP 업로드:',
+  'reg_instr_7' => '파일 업로드:',
+  'reg_instr_8' => 'URI/URL 업로드:',
+  'error_report' => '오류 보고서',
+  'error_instr' => '다음의 업로드에 오류가 있습니다:',
+  'file_name_url' => '파일명/URL',
+  'error_message' => '오류 메시지',
+  'no_post' => '파일이 POST에 의하지 않은 업로드.',
+  'forb_ext' => '파일 확장 금지.',
+  'exc_php_ini' => '파일 크기가 php.ini에서 허용한 값을 초과.',
+  'exc_file_size' => 'CPG가 허용하는 파일크기 초과.',
+  'partial_upload' => '오직 부분 업로드.',
+  'no_upload' => '업로드가 발생하지 않았습니다.',
+  'unknown_code' => '알수 없는 PHP 업로드 오류코드.',
+  'no_temp_name' => '업로드 안됨 - 임시 명 없음.',
+  'no_file_size' => '데이타 없음/파손',
+  'impossible' => '이동할 수 없습니다.',
+  'not_image' => '이미지가 아님/파손',
+  'not_GD' => 'GD 확장자가 아닙니다.',
+  'pixel_allowance' => '업로드된 사진의 너비와 높이가 갤러리 설정에서 지정한 값을 초과하였읍니다.', //cpg1.4
+  'incorrect_prefix' => 'URI/URL 접두어가 부정확합니다.',
+  'could_not_open_URI' => 'URI을 열수 없읍니다.',
+  'unsafe_URI' => '안전 검증을 못함.',
+  'meta_data_failure' => '메타 데이타 오류',
+  'http_401' => '401 권한 없음',
+  'http_402' => '402 지불 요망',
+  'http_403' => '403 금지',
+  'http_404' => '404 찾지 못함',
+  'http_500' => '500 서버 내부 오류',
+  'http_503' => '503 서비스를 사용할 수 없음',
+  'MIME_extraction_failure' => 'MIME 을 결정할 수 없음.',
+  'MIME_type_unknown' => '알수없는 MIME 타입',
+  'cant_create_write' => '저장 파일을 생성할 수 없음.',
+  'not_writable' => '저장파일에 기록을 할 수 없음.',
+  'cant_read_URI' => 'URI/URL을 읽을 수 없음.',
+  'cant_open_write_file' => 'URI 저장 파일을 열 수 없음.',
+  'cant_write_write_file' => 'URI 저장 파일에 기록할 수 없음.',
+  'cant_unzip' => 'unzip 할수 없음',
+  'unknown' => '알수 없는 오류',
+  'succ' => '업로드 성공',
+  'success' => '%s 업로드가 완료되었습니다.',
+  'add' => ' \'다음\'을 클릭하여 이미지를 앨범에 추가하세요.',
+  'failure' => '업로드 실패',
+  'f_info' => '파일 정보',
+  'no_place' => '이전 파일을 배치할 수 없습니다.',
+  'yes_place' => '이전 파일을 배치하였습니다.',
+  'max_fsize' => '최대 허용 파일 크기는 %s KB',
+  'album' => '앨범',
+  'picture' => '이미지',
+  'pic_title' => '이미지 제목',
+  'description' => '이미지 설명',
+  'keywords' => '키워드 (콤마로 분리)<br /><a href="#" onClick="return MM_openBrWindow(\'keyword_select.php\',\'selectKey\',\'width=250, height=400, scrollbars=yes,toolbar=no,status=yes,resizable=yes\')">목록으로부터 삽입</a>', //cpg1.4
+  'keywords_sel' =>'키워드 선택', //cpg1.4
+  'err_no_alb_uploadables' => '귀하가 파일을 업로드하려고 하는 앨범이 존재하지 않습니다.',
+  'place_instr_1' => '지금 파일을 앨범에 배치하세요.  지금 각 파일에 적절한 정보를 입력하세요.',
+  'place_instr_2' => '배치할 파일이 더 있습니다. \'다음\'을 클릭하세요.',
+  'process_complete' => '모든 파일을 성공적으로 수행하였습니다.',
+   'albums_no_category' => '카테고리가 없는 앨범들', //cpg1.4. //album pulldown mod, added by frogfoot
+  'personal_albums' => '* 개인 앨범', //cpg1.4 //album pulldown mod, added by frogfoot
+  'select_album' => '앨범 선택', //cpg1.4 //album pulldown mod, added by frogfoot
+  'close' => '닫음', //cpg1.4
+  'no_keywords' => '미안합니다, 키워드가 없습니다!', //cpg1.4
+  'regenerate_dictionary' => '사전 다시 만들기', //cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File usermgr.php
+// ------------------------------------------------------------------------- //
+
+if (defined('USERMGR_PHP')) $lang_usermgr_php = array(
+  'memberlist' => '회원명단', //cpg1.4
+  'user_manager' => '회원 관리자', //cpg1.4
+  'title' => '회원 관리',
+  'name_a' => '이름 순차',
+  'name_d' => '이름 역순',
+  'group_a' => '그룹 순차',
+  'group_d' => '그룹 역순',
+  'reg_a' => '등록일 순차',
+  'reg_d' => '등록일 역순',
+  'pic_a' => '이미지 갯수 순차',
+  'pic_d' => '이미지 갯수 역순',
+  'disku_a' => '디스크 사용량 순차',
+  'disku_d' => '디스크 사용량 역순',
+  'lv_a' => '최근 방문 순차',
+  'lv_d' => '최근 방문 역순',
+  'sort_by' => '배열을 ',
+  'err_no_users' => '사용자 테이블이 공백!',
+  'err_edit_self' => '본인 자신의 프로필을 편집할 수 없습니다.  \'개인 정보\'를 이용하세요',
+  'edit' => '편집', //cpg1.4
+  'with_selected' => '선택하여:', //cpg1.4
+  'delete' => '삭제', //cpg1.4
+  'delete_files_no' => '공개파일 보존(익명으로)', //cpg1.4
+  'delete_files_yes' => '공개파일도 삭제', //cpg1.4
+  'delete_comments_no' => '코멘트 보존(익명으로)', //cpg1.4
+  'delete_comments_yes' => '코멘트도 삭제', //cpg1.4
+  'activate' => '활성화', //cpg1.4
+  'deactivate' => '비활성화', //cpg1.4
+  'reset_password' => '비밀번호 리셋', //cpg1.4
+  'change_primary_membergroup' => '1차 회원그룹 변경', //cpg1.4
+  'add_secondary_membergroup' => '2차 회원그룹 추가', //cpg1.4
+  'name' => '사용자 이름',
+  'group' => '그룹',
+  'inactive' => '비활성',
+  'operations' => '실행메뉴',
+  'pictures' => '이미지',
+  'disk_space_used' => '사용량', //cpg1.4
+  'disk_space_quota' => '할당량', //cpg1.4
+  'registered_on' => '등록', //cpg1.4
+  'last_visit' => '마지막 방문',
+  'u_user_on_p_pages' => '%d 사용자 %d 페이지',
+  'confirm_del' => '이 사용자를 삭제하시겠습니까 ? \\n사용자의 모든 이미지와 모든 앨범이 삭제됩니다.', //js-alert
+  'mail' => '메일',
+  'err_unknown_user' => '선택한 회원이 존재하지 않습니다 !',
+  'modify_user' => '회원정보 수정',
+  'notes' => '메모',
+  'note_list' => '<li>현재의 비밀번호를 바꾸지 않으시려면,  "비밀번호" 란을 공란으로 남겨두세요.',
+  'password' => '비밀번호',
+  'user_active' => '활성화된 사용자',
+  'user_group' => '사용자 그룹',
+  'user_email' => '사용자 이메일',
+  'user_web_site' => '사용자 홈페이지',
+  'create_new_user' => '새로운 사용자 생성',
+  'user_location' => '접속지',
+  'user_interests' => '관심분야',
+  'user_occupation' => '직업',
+  'user_profile1' => '$user_profile1', //cpg1.4
+  'user_profile2' => '$user_profile2', //cpg1.4
+  'user_profile3' => '$user_profile3', //cpg1.4
+  'user_profile4' => '$user_profile4', //cpg1.4
+  'user_profile5' => '$user_profile5', //cpg1.4
+  'user_profile6' => '$user_profile6', //cpg1.4
+  'latest_upload' => 'Recent uploads',
+  'never' => '없음',
+  'search' => '회원 검색', //cpg1.4
+  'submit' => '보냄', //cpg1.4
+  'search_submit' => '실행!', //cpg1.4
+  'search_result' => '검색결과: ', //cpg1.4
+  'alert_no_selection' => '최소한 한 사용자를 먼저 선택하세요!', //cpg1.4 //js-alert
+  'password' => '비밀번호', //cpg1.4
+  'select_group' => '그룹선택', //cpg1.4
+  'groups_alb_access' => '그룹별 앨범 퍼미션', //cpg1.4
+  'album' => '앨범', //cpg1.4
+  'category' => '카테고리', //cpg1.4
+  'modify' => '수정?', //cpg1.4
+  'group_no_access' => '이 그룹은 특별한 액세스가 없습니다.', //cpg1.4
+  'notice' => '알림', //cpg1.4
+  'group_can_access' => '"%s" 만을 액세스할 수 있는 앨범', //cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File util.php
+// ------------------------------------------------------------------------- //
+
+if (defined('UTIL_PHP')) {
+$lang_util_desc_php = array(
+'파일명으로 제목 수정', //cpg1.4
+'제목 삭제', //cpg1.4
+'썸네일 재작성과 사진크기 수정', //cpg1.4
+'원래크기의 사진을 삭제하고 크기를 변경한 사진으로 대체', //cpg1.4
+'웹스페이스를 확복하기 위하여 원래 혹은 중간의 사진을 삭제', //cpg1.4
+'원래 코멘트를 삭제', //cpg1.4
+'파일크기와 디멘죤을 다시 읽기 (수동으로 사진을 편집할 경우)', //cpg1.4
+'조횟수를 리셋', //cpg1.4
+'phpinfo 보기', //cpg1.4
+'데이타베이스 갱신', //cpg1.4
+'로그파일 보기', //cpg1.4
+);
+$lang_util_php = array(
+  'title' => '관리자 유틸리티 (사진크기 변경)',
+  'what_it_does' => '기능',
+  'file' => '파일',
+  'problem' => '오류', //cpg1.4
+  'status' => '상태', //cpg1.4
+  'title_set_to' => '제목설정',
+  'submit_form' => '보냄',
+  'updated_succesfully' => '수정 성공',
+  'error_create' => '오류 발생',
+  'continue' => '계속 이미지 처리',
+  'main_success' => '파일 %s 는 성공적으로 메인파일로 사용되었습니다.',
+  'error_rename' => '%s 을  %s 로 이름 변경을 하는데 오류 ',
+  'error_not_found' => '파일 %s 을 찾을 수 없습니다.',
+  'back' => '메인으로 가기',
+  'thumbs_wait' => '썸네일 혹은 사진크기 변경중입니다. 기다리세요...',
+  'thumbs_continue_wait' => '썸네일과 사진크기 변경을 수행중...',
+  'titles_wait' => '제목 수정중, 기다리세요...',
+  'delete_wait' => '제목 삭제중, 기다리세요...',
+  'replace_wait' => '원래 사진을 삭제하고 크기가 변경된 사진으로 교체중, 기다리세요..',
+  'instruction' => '빠른 지시',
+  'instruction_action' => '명령 선택',
+  'instruction_parameter' => '변수 설정',
+  'instruction_album' => '앨범 선택',
+  'instruction_press' => '%s을 누르세요',
+  'update' => '썸네일 혹은/그리고 크기변경된 사진 수정',
+  'update_what' => '무엇을 수정합니까',
+  'update_thumb' => '썸네일만',
+  'update_pic' => '크기가 변경된 사진만',
+  'update_both' => '썸네일과 크기가 변경된 사진 모두',
+  'update_number' => '한번 클릭에 처리할 이미지 수',
+  'update_option' => '(시간초과 문제가 있으면 이 옵션을 낮게 설정하세요)',
+  'filename_title' => '파일명 &rArr; 파일 제목',
+  'filename_how' => '어떻게 파일명을 바꾸겠습니까?',
+  'filename_remove' => '끝의 .jpg 을 없애고  _ (언더스코어) 공란으로 바꿈',
+  'filename_euro' => '2003_11_23_13_20_20.jpg 을 23/11/2003 13:20로 바꿈',
+  'filename_us' => '2003_11_23_13_20_20.jpg 을 11/23/2003 13:20로 바꿈',
+  'filename_time' => '2003_11_23_13_20_20.jpg 을 13:20로 바꿈',
+  'delete' => '파일제목 혹은 원래크기 사진 삭제',
+  'delete_title' => '파일제목 삭제',
+  'delete_title_explanation' => '표기한 앨범 안에 있는 모든 파일을 제거합니다.', //cpg1.4
+  'delete_original' => '원래크기의 사진을 삭제',
+  'delete_original_explanation' => '풀사이즈 사진을 삭제.', //cpg1.4
+  'delete_intermediate' => '중간크기의 사진을 삭제', //cpg1.4
+  'delete_intermediate_explanation' => '중간(노말) 사진을 지울 것입니다.<br /> 만일 설정에서 \'중간 사진 생성\'을 사용금지하였으면 사진을 추가한 후에 이것을 사용하여 디스크 스페이스를 확보할 수 있습니다.', //cpg1.4
+  'delete_replace' => '원래의 이미지를 삭제하고 이것을 크기를 수정한 버젼으로 대치함',
+  'titles_deleted' => '기술한 앨범에 있는 모든 제목이 제거 되었습니다', //cpg1.4
+  'deleting_intermediates' => '중간크기의 사진을 삭제중, 기다리세요...', //cpg1.4
+  'searching_orphans' => '오펀(고아)를 찾는 중, 기다리세요...', //cpg1.4
+  'select_album' => '앨범 선택',
+  'delete_orphans' => '실종 파일에 대한 코멘트 삭제', //cpg1.4
+  'delete_orphans_explanation' => '갤러리에 더 이상 존재하지 않는 파일과 연결된 코멘트를 발견하고 삭제합니다.<br />모든 앨범을 확인하세요.', //cpg1.4
+  'refresh_db' => '파일 디멘죤과 크기 정보를 리로드', //cpg1.4
+  'refresh_db_explanation' => '파일크기와 디멘죤을 다시 읽습니다. 할당량이 틀리거나 파일을 수동으로 변경하였으면 이것을 사용하세요.', //cpg1.4
+  'reset_views' => '조횟수 리셋', //cpg1.4
+  'reset_views_explanation' => '기술한 앨범의 파일 조횟수를 리셋', //cpg1.4
+  'orphan_comment' => '파일이 없는 코멘트 발견',
+  'delete' => '삭제',
+  'delete_all' => '모두 삭제',
+  'delete_all_orphans' => '모든 오펀을 삭제?', //cpg1.4
+  'comment' => '코멘트: ',
+  'nonexist' => '존재하지 않는 파일에 붙임 # ',
+  'phpinfo' => 'phpinfo 보기',
+  'phpinfo_explanation' => '서버에 관한 기술정보가 있습니다.<br /> - 지원요청을 할 경우 이 정보를 요구합니다.', //cpg1.4
+  'update_db' => '데이타베이스 갱신',
+  'update_db_explanation' => '코퍼마인 파일을 교체하였거나 변경사항을 추가하였거나 지난번의 코퍼마인에서 업그레이드를 하였으면, 데이타베이스 업데이트를 수행하여야 합니다. 그러면 코퍼마인 데이타베이스 안에 필요한 테이블 그리고/혹은 설정 값을 만들어 줍니다.',
+  'view_log' => '로그파일 보기', //cpg1.4
+  'view_log_explanation' => '코퍼마인은 사용자가 행한 여러가지 작업을 추적할 수 있습니다. 귀하가 <a href="admin.php">코퍼마인 설정</a>에서 로깅을 사용 가능하게 하였으면 이것들을 볼 수 있습니다.', //cpg1.4
+  'versioncheck' => '버젼 확인', //cpg1.4
+  'versioncheck_explanation' => '업그래드 후에 모든 파일을 교체하였는지 알기하기 위하여 파일 버젼을 확인하세요. 혹은 코퍼마인 소스 파일이 패케지 발표후에 수정이 되었는지 확인하세요.', //cpg1.4
+  'bridgemanager' => '브리지 관리자', //cpg1.4
+  'bridgemanager_explanation' => '코퍼마인과 다른 어플리케이션(예: BBS)과의 통합(브리징)을 사용함/사용안함.', //cpg1.4
+);
+}
+
+// ------------------------------------------------------------------------- //
+// File versioncheck.php //cpg1.4
+// ------------------------------------------------------------------------- //
+
+if (defined('VERSIONCHECK_PHP')) $lang_versioncheck_php = array(
+  'title' => 'Versioncheck', //cpg1.4
+  'what_it_does' => '이 페이지는 코퍼마인 설치를 수정하는 사용자를 위한 것 입니다. 이 스크립트는 웹서버의 파일을 통하여 서버에 있는 로칼파일의 버젼이 http://coppermine.sourceforge.net에 있는 레포지토리와의 것과 동일한지를 판단합니다. 아울러 수정해야만 하는 파일도 보여줍니다.<br />붉은 색은 고쳐야 할 것들입니다. 노란 색은 살펴야 할 것들입니다. 녹색은(혹은 디폴트 폰트 칼라)은 OK입니다.<br />더 필요한 정보는 도움 아이콘을 클릭하세요.', //cpg1.4
+  'online_repository_unable' => '온라인 리포지토리와 연결할 수 없습니다.', //cpg1.4
+  'online_repository_noconnect' => '코퍼마인이 온라인 레포지토리와 연결할 수 없습니다. 두가지 경우일 수 있습니다:', //cpg1.4
+  'online_repository_reason1' => '코퍼마인 온라인 레포지토리가 현재 다운 - 다음 페이지를 볼 수 있는지 확인: %s - 이 페이지를 처리할 수 없으면 , 다시 시도하세요.', //cpg1.4
+  'online_repository_reason2' => '웹서버에 있는 PHP의 설정에 %s가 꺼져 있습니다(기본 설정은 켜짐). 만일 귀하가 서버의 관리자이면은 이 설정을 <i>php.ini</i>에서 변경하세요 (최소한 이것을 %s로 변경). 만일 웹호스를 할 경우에는 귀하의 파일과 온라인 레포지토리와 대조를 할 수 없습니다. 그러면 이 페이지는 오직 배포된 파일 버젼만을 보여줍니다. - 수정분은 보여주지 않습니다.', //cpg1.4
+  'online_repository_skipped' => '온라인 리포지토리와의 연결이 생략됨', //cpg1.4
+  'online_repository_to_local' => '스크립이 버젼파일의 로칼 카피를 디폴트로 합니다. 만일 코퍼마인을 업그래이드하고 모든 파일을 업로드하지 않았다면 이 데이타는 부적절할 수 있습니다. 배포후의 파일에 대하여서는 수정을 하지 않습니다.', //cpg1.4
+  'local_repository_unable' => '서버의 레포지토리와 연결을 할 수 없습니다.', //cpg1.4
+  'local_repository_explanation' => '코퍼마인이 서버의 레포지토리 파일 %s와 연결을 할 수 없습니다. 서버에 레포지토리 파일을 업로드 하지 않은 것 같습니다. 업로드하고 이 페이지를 다시 한번 수행하세요(새로고침을 누르세요).<br />만일 아직도 스크맆트가 실패하면 귀하의 웹호스트가 <a href="http://www.php.net/manual/en/ref.filesystem.php">PHP의 파일시스템 기능</a> 부분을 사용금지 한 것 같습니다. 이 경우 귀하는 이 도구를 사용할 수 없습니다.', //cpg1.4
+  'coppermine_version_header' => '설치된 코퍼마인의 버젼', //cpg1.4
+  'coppermine_version_info' => '현재 설치된 버젼은: %s', //cpg1.4
+  'coppermine_version_explanation' => '이 내용이 전적으로 틀리며 더 최신의 코퍼마인의 버젼을 수행하여야 한다고 생각이 드는 경우는, 가장 최신 버젼의 파일 <i>include/init.inc.php</i>을 업로드하지 않은 것입니다.', //cpg1.4
+  'version_comparison' => '버젼 비교', //cpg1.4
+  'folder_file' => '폴더/파일', //cpg1.4
+  'coppermine_version' => 'cpg 버젼', //cpg1.4
+  'file_version' => '파일 버젼', //cpg1.4
+  'webcvs' => '웹 cvs', //cpg1.4
+  'writable' => '기록가능', //cpg1.4
+  'not_writable' => '기록불가', //cpg1.4
+  'help' => '도움', //cpg1.4
+  'help_file_not_exist_optional1' => '파일/폴더가 존재하지 않습니다.', //cpg1.4
+  'help_file_not_exist_optional2' => '선택적이지만 귀하의 서버에서 파일/폴더 %s 를 찾을 수 없습니다. 문제가 발생하면  FTP 클라이언트를 사용하여 파일을 귀하의 서버에 업로드 하세요.', //cpg1.4
+  'help_file_not_exist_mandatory1' => '파일/폴더가 존재하지 않습니다.', //cpg1.4
+  'help_file_not_exist_mandatory2' => '필수적이지만 귀하의 서버에서 파일/폴더 %s 를 찾을 수 없습니다. FTP 클라이언트를 사용하여 파일을 귀하의 서버에 업로드하세요.', //cpg1.4
+  'help_no_local_version1' => '로칼 파일 버젼이 없음', //cpg1.4
+  'help_no_local_version2' => '스크립트가 로칼 파일 버젼을 발췌할 수 없습니다 - 파일이 오래 되었거나, 수정되었거나 혹은 해더 정보가 제거되었습니다. 파일을 수정하세요.', //cpg1.4
+  'help_local_version_outdated1' => '로칼 버젼이 구식임', //cpg1.4
+  'help_local_version_outdated2' => '이 파일의 버젼이 코퍼마인의 지난번 버젼에서 비롯된 것 같습니다(코퍼마인을 업그래드 한 것 같습니다). 이파일도 수정을하였는지 확인하세요.', //cpg1.4
+  'help_local_version_na1' => 'cvs 버젼 정보를 발췌할 수 없습니다.', //cpg1.4
+  'help_local_version_na2' => '스크립트가 웹서버의 cvs 버젼을 판단할 수 없습니다. 패케지로 부터 파일을 업로드하여야 합니다.', //cpg1.4
+  'help_local_version_dev1' => '개발용 버젼', //cpg1.4
+  'help_local_version_dev2' => '웹 서버에 있는 파일이 코퍼마인 버젼보다 신형인것 같습니다. 개발용 파일(자신이 무엇을 하는지 반드시 알아야 합니다)을 사용하거나 코퍼마인 설치를 업그레이드하고 include/init.inc.php을 업로드하지 않았습니다.', //cpg1.4
+  'help_not_writable1' => '폴더가 기록금지상태', //cpg1.4
+  'help_not_writable2' => '파일 퍼미션 (CHMOD)을 수정하여 스크립터가 폴더 %s 와 그 안에 있는 모든 것의 쓰기 처리를 할 수 있게 하십시요.', //cpg1.4
+  'help_writable1' => '폴더가 기록가능한 상태', //cpg1.4
+  'help_writable2' => '폴더 %s 기록가능함. 코퍼마인은 읽기/실행 처리만 필요하므로 이것은 필요하지 않은 위험을 갖습니다.', //cpg1.4
+  'help_writable_undetermined' => '폴더가 기록가능한 상태인지 코퍼마인이 판단할 수 없습니다.', //cpg1.4
+  'your_file' => '귀하의 파일
+', //cpg1.4
+  'reference_file' => '참조 파일', //cpg1.4
+  'summary' => '요약', //cpg1.4
+  'total' => '확인된 파일/폴더 합계', //cpg1.4
+  'mandatory_files_missing' => '필수적인 파일이 없음', //cpg1.4
+  'optional_files_missing' => '선택적인 파일이 없음', //cpg1.4
+  'files_from_older_version' => '오래된 코퍼마인 버젼의 파일이 남아 있습니다.', //cpg1.4
+  'file_version_outdated' => '오래된 파일 버젼', //cpg1.4
+  'error_no_data' => '스크립트 오류, 정보를 검색할 수 없습니다. 불편을 드려서 죄송합니다.', //cpg1.4
+  'go_to_webcvs' => ' %s로 가기', //cpg1.4
+  'options' => '옵션', //cpg1.4
+  'show_optional_files' => '선택적인 폴더/파일 보기', //cpg1.4
+  'show_mandatory_files' => '필수 파일 보기', //cpg1.4
+  'show_file_versions' => '파일 버젼 보기', //cpg1.4
+  'show_errors_only' => '오류 폴더/파일만 보기', //cpg1.4
+  'show_permissions' => '폴더 퍼미션 보기', //cpg1.4
+  'show_condensed_output' => '요약된 출력 보기 (쉬운 스크린샽)', //cpg1.4
+  'coppermine_in_webroot' => '코퍼마인이 웹루트에 설치되었습니다.', //cpg1.4
+  'connect_online_repository' => '언라인 레포지토리에 연결 시도', //cpg1.4
+  'show_additional_information' => '추가 정보 보기', //cpg1.4
+  'no_webcvs_link' => 'web svn 경로 숨기기', //cpg1.4
+  'stable_webcvs_link' => '스테이블 브랜치로의 web svn 경로 보여주기', //cpg1.4
+  'devel_webcvs_link' => '데블 브랜치로의 web svn 경로 보여주기', //cpg1.4
+  'submit' => '수정 적용 / 새로고침', //cpg1.4
+  'reset_to_defaults' => '디폴트 값으로 리셋', //cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File view_log.php  //cpg1.4
+// ------------------------------------------------------------------------- //
+
+if (defined('VIEWLOG_PHP')) $lang_viewlog_php = array(
+  'delete_all' => '모든 로그 삭제', //cpg1.4
+  'delete_this' => '이 로그 삭제', //cpg1.4
+  'view_logs' => '로그 보기', //cpg1.4
+  'no_logs' => '로그가 생성되지 않았습니다.', //cpg1.4
+);
+
+
+// ------------------------------------------------------------------------- //
+// File xp_publish.php //cpg1.4
+// ------------------------------------------------------------------------- //
+
+if (defined('XP_PUBLISH_PHP')) {
+
+$lang_xp_publish_client = <<<EOT
+<h1>XP 웹 퍼블리싱 마법사 클라이언트</h1><p>이 모듈은 코퍼마인을 <b>Windows XP</b> 웹 퍼블리싱 마법사로 사용할 수 있게 해 줍니다.</p><p>코드는 다음의 순서입니다.
+EOT;
+
+$lang_xp_publish_required = <<<EOT
+<h2>필요 항목</h2><ul><li>마법사를 소지하기 위하여 Windows XP.</li><li><b>웹 업로드 작업이 정상 작동되는</b> 곳에 위치한 코퍼마인의 설치</li></ul><h2>클라이언트측 설치 방법</h2><ul><li>오른쪽 클릭
+EOT;
+
+$lang_xp_publish_select = <<<EOT
+&quot;다른이름으로 대상 저장&quot;을 선택. 하드디스크에 파일을 저장. 파일을 저장할 때 권하는 파일명이 <b>cpg_###.reg</b> (###은 시간을 나타내는 숫자)인지 확인. 필요시 이름변경(숫자는 남겨두고). 다운로드할 때 파일에 더블 클릭을 하여 웹 퍼블리싱 마법사에 서버를 등록.</li></ul>
+EOT;
+
+$lang_xp_publish_testing = <<<EOT
+<h2>테스팅</h2><ul><li>Windows 탐색기에서 어느 파일들을 선택하여 <b>Publish xxx on the web</b>의 왼쪽을 클릭.</li><li>파일 선택을 확인. <b>Next</b>를 클릭.</li><li>나타난 서비스 목록에서 포토갤러리를 선택(갤러리이름). 서비스가 나타나지 않으면, 위에서 설명한 <b>cpg_pub_wizard.reg</b>이 설치되었는지 확인.</li><li>필요하면 로그인 정보를 입력.</li><li>귀하의 사진이 있는 앨범을 선택 혹은 생성.</li><li>클릭 <b>next</b>. 사진의 업로드 시작.</li><li>완료후에 사진들이 정확히 추가 되었는지 확인.</li></ul>
+EOT;
+
+$lang_xp_publish_notes = <<<EOT
+<h2>참고 :</h2><ul><li>업로드가 시작되면 마법사는 스크립트에서 보내는 오류 메세지를 보여줄 수 없습니다. 그래서 갤러리를 확인하기 전에는 업로드가 성공하였는지 실패하였는지 알 수 없습니다.</li><li>업로드가 실패하면 코퍼마인 관리자 페이지의 &quot;디버그 모드 작동&quot;을 예로 하세요. 한 파일을 업로드하여 시험하세요.
+EOT;
+
+$lang_xp_publish_flood = <<<EOT
+(서버에 있는 코퍼마인 디렉토리에 있는 파일).</li><li>갤러리가 마법사를 통하여 업로드를 함으로 <i>범람</i>하는 경우를 피하기 위하여 <b>갤러리 관리자</b>와 <b>본인의 앨범을 소유한 회원</b>만이 이 기능을 사용할 수 있습니다.</li>
+EOT;
+
+
+
+$lang_xp_publish_php = array(
+  'title' => '코퍼마인 - XP 웹 퍼블리싱 마법사', //cpg1.4
+  'welcome' => '환영합니다 <b>%s</b>,', //cpg1.4
+  'need_login' => '이 마법사를 사용하기 전에 웹 브라우저를 사용하여 갤러리에 로그인하세요.<p/><p>로그인을 할 때에 반드시 <b>기억하기</b> 옵션이 있으면 이것을 선택하세요.', //cpg1.4
+  'no_alb' => '이 마법사로 귀하가 사진 업로드를 할 수 있는 권한이 있는 앨범이 없습니다.', //cpg1.4
+  'upload' => '현재 있는 앨범에 사진 업로드', //cpg1.4
+  'create_new' => '새 앨범 생성', //cpg1.4
+  'album' => '앨범', //cpg1.4
+  'category' => '카테고리', //cpg1.4
+  'new_alb_created' => '새 앨범 &quot;<b>%s</b>&quot; 생성되었습니다.', //cpg1.4
+  'continue' => '사진을 업로드하시려면 &quot;다음&quot; 을 누르세요', //cpg1.4
+  'link' => '이 링크', //cpg1.4
+);
+}
+?>
diff -x .svn -aruN 1.4.24.src/lang/latvian.php 1.4.25.src/lang/latvian.php
--- 1.4.24.src/lang/latvian.php	2009-05-25 15:01:17.000000000 -0500
+++ 1.4.25.src/lang/latvian.php	2009-05-26 11:25:40.000000000 -0500
@@ -10,7 +10,7 @@
   as published by the Free Software Foundation.
   
   ********************************************
-  Coppermine version: 1.4.24
+  Coppermine version: 1.4.25
   $Source$
   $Revision: 3966 $
   $Author: gaugau $
diff -x .svn -aruN 1.4.24.src/lang/lithuanian.php 1.4.25.src/lang/lithuanian.php
--- 1.4.24.src/lang/lithuanian.php	2009-05-25 15:01:17.000000000 -0500
+++ 1.4.25.src/lang/lithuanian.php	2009-05-26 11:25:40.000000000 -0500
@@ -10,11 +10,11 @@
   as published by the Free Software Foundation.
   
   ********************************************
-  Coppermine version: 1.4.24
+  Coppermine version: 1.4.25
   $HeadURL: https://coppermine.svn.sourceforge.net/svnroot/coppermine/trunk/cpg1.4.x/lang/lithuanian.php $
-  $Revision: 5988 $
+  $Revision: 5997 $
   $Author: gaugau $
-  $Date: 2009-05-25 22:01:41 +0200 (Mo, 25 Mai 2009) $
+  $Date: 2009-05-26 08:43:24 +0200 (Di, 26 Mai 2009) $
 **********************************************/
 
 if (!defined('IN_COPPERMINE')) { die('Ne Coppermine...');}
diff -x .svn -aruN 1.4.24.src/lang/macedonian.php 1.4.25.src/lang/macedonian.php
--- 1.4.24.src/lang/macedonian.php	2009-05-25 15:01:17.000000000 -0500
+++ 1.4.25.src/lang/macedonian.php	2009-05-26 11:25:40.000000000 -0500
@@ -10,14 +10,14 @@
   as published by the Free Software Foundation.
   
   ********************************************
-  Coppermine version: 1.4.24
+  Coppermine version: 1.4.25
   $HeadURL: https://coppermine.svn.sourceforge.net/svnroot/coppermine/trunk/cpg1.4.x/lang/macedonian.php $
-  $Revision: 5988 $
+  $Revision: 5997 $
   $Author: gaugau $
-  $Date: 2009-05-25 22:01:41 +0200 (Mo, 25 Mai 2009) $
+  $Date: 2009-05-26 08:43:24 +0200 (Di, 26 Mai 2009) $
 **********************************************/
 // ------------------------------------------------------------------------- //
-// $Id: macedonian.php 5988 2009-05-25 20:01:41Z gaugau $
+// $Id: macedonian.php 5997 2009-05-26 06:43:24Z gaugau $
 // ------------------------------------------------------------------------- //
 
 if (!defined('IN_COPPERMINE')) { die('Не во Coppermine...');}
diff -x .svn -aruN 1.4.24.src/lang/norwegian.php 1.4.25.src/lang/norwegian.php
--- 1.4.24.src/lang/norwegian.php	2009-05-25 15:01:17.000000000 -0500
+++ 1.4.25.src/lang/norwegian.php	2009-06-03 04:10:14.000000000 -0500
@@ -1,2108 +1,2108 @@
-<?php
-/*************************
-  Coppermine Photo Gallery
-  ************************
-  Copyright (c) 2003-2009 Coppermine Dev Team
-  v1.1 originally written by Gregory DEMAR
-
-  This program is free software; you can redistribute it and/or modify
-  it under the terms of the GNU General Public License version 3
-  as published by the Free Software Foundation.
-  
-  ********************************************
-  Coppermine version: 1.4.24
-  $HeadURL: https://coppermine.svn.sourceforge.net/svnroot/coppermine/trunk/cpg1.4.x/lang/norwegian.php $
-  $Revision: 5988 $
-  $Author: gaugau $
-  $Date: 2009-05-25 22:01:41 +0200 (Mo, 25 Mai 2009) $
-**********************************************/
-
-if (!defined('IN_COPPERMINE')) { die('Not in Coppermine...');}
-
-// info about translators and translated language
-$lang_translation_info = array(
-  'lang_name_english' => 'Norwegian', //cpg1.4
-  'lang_name_native' => 'Norsk', //cpg1.4
-  'lang_country_code' => 'no', //cpg1.4
-  'trans_name'=> 'johnwr',
-  'trans_email' => 'johnwr_coppermine@responseweb.net',
-  'trans_website' => '',
-  'trans_date' => '2005-05-15',
-);
-
-$lang_charset = 'utf-8';
-$lang_text_dir = 'ltr'; // ('ltr' for left to right, 'rtl' for right to left)
-
-// shortcuts for Byte, Kilo, Mega
-$lang_byte_units = array('Bytes', 'KB', 'MB');
-
-// Day of weeks and months
-$lang_day_of_week = array('Søn', 'Man', 'Tir', 'Ons', 'Tor', 'Fre', 'Lør');
-$lang_month = array('Jan', 'Feb', 'Mar', 'Apr', 'Mai', 'Jun', 'Jul', 'Aug', 'Sep', 'Okt', 'Nov', 'Des');
-
-// Some common strings
-$lang_yes = 'Ja';
-$lang_no  = 'Nei';
-$lang_back = 'TILBAKE';
-$lang_continue = 'FORTSETT';
-$lang_info = 'Informasjon';
-$lang_error = 'Feil';
-$lang_check_uncheck_all = 'merk/avmerk alle'; //cpg1.4
-
-// The various date formats
-// See http://www.php.net/manual/en/function.strftime.php to define the variable below
-$album_date_fmt =    '%d. %B, %Y';
-$lastcom_date_fmt =  '%Y-%m-%d kl. %H:%M';
-$lastup_date_fmt = '%d. %B, %Y';
-$register_date_fmt = '%d. %B, %Y';
-$lasthit_date_fmt = '%Y-%m-%d kl. %H:%M';
-$comment_date_fmt =  '%Y-%m-%d kl. %H:%M';
-$log_date_fmt = '%Y-%m-%d at %H:%M:%S'; //cpg 1.4
-
-// For the word censor
-$lang_bad_words = array('*fuck*', 'asshole', 'assramer', 'bitch*', 'c0ck', 'clits', 'Cock', 'cum', 'cunt*', 'dago', 'daygo', 'dego', 'dick*', 'dildo', 'fanculo', 'feces', 'foreskin', 'Fu\(*', 'fuk*', 'honkey', 'hore', 'injun', 'kike', 'lesbo', 'masturbat*', 'motherfucker', 'nazis', 'nigger*', 'nutsack', 'penis', 'phuck', 'poop', 'pussy', 'scrotum', 'shit', 'slut', 'titties', 'titty', 'twaty', 'wank*', 'whore', 'wop*');
-
-$lang_meta_album_names = array(
-  'random' => 'Tilfeldige filer',
-  'lastup' => 'Siste filer',
-  'lastalb'=> 'Sist oppdaterte album',
-  'lastcom' => 'Siste kommentarer',
-  'topn' => 'Mest sett',
-  'toprated' => 'Beste karakter',
-  'lasthits' => 'Siste visninger',
-  'search' => 'Søkeresultat',
-  'favpics'=> 'Favoritter',  //cpg1.4
-);
-
-$lang_errors = array(
-  'access_denied' => 'Du har ikke tilgang til denne siden.',
-  'perm_denied' => 'Du kan ikke utføre denne handlingen.',
-  'param_missing' => 'Scriptet ble kalt uten nødvendige parametere.',
-  'non_exist_ap' => 'Det valgte album/bilde eksisterer ikke!', //cpg1.3.0
-  'quota_exceeded' => 'Diskkvoten din er oppbrukt<br /><br />Du har plass til [quota]K, dine filer bruker [space]K. Legger du inn flere filer overskrider du denne kvoten.', //cpg1.3.0
-  'gd_file_type_err' => 'Albumet bruker GD Graphics- teknikk. Da er det kun tillatt å bruke JPEG eller PNG bilder.',
-  'invalid_image' => 'Bildet du lastet opp er defekt eller støttes ikke av GD.',
-  'resize_failed' => 'Kunne ikke forandre størrelsen på bildet eller opprette miniatyrbilde.',
-  'no_img_to_display' => 'Ingen filer',
-  'non_exist_cat' => 'Den valgte kategorien eksisterer ikke',
-  'orphan_cat' => 'En kategori er -foreldreløs-. Oppdater i kategoriadministrasjonen.', //cpg1.3.0
-  'directory_ro' => 'Mappen \'%s\' er skrivebeskyttet. Bildet kan ikke slettes.', //cpg1.3.0
-  'non_exist_comment' => 'Den valgte kommentaren finnes ikke.',
-  'pic_in_invalid_album' => 'Det finnes filer som er knyttet til et album som ikke eksisterer (%s)!?', //cpg1.3.0
-  'banned' => 'Du har mistet retten til å bruke dette internettstedet.',
-  'not_with_udb' => 'Funksjonen er deaktivert fordi Coppermine kjører sammen med et diskusjonsforum.',
-  'offline_title' => 'Utilgjengelig', //cpg1.3.0
-  'offline_text' => 'Galleriet er midlertidig utilgjengelig - prøv igjen senere', //cpg1.3.0
-  'ecards_empty' => 'Det er ingen ekort å vise. Sjekk at ekortlogging er aktivert!', //cpg1.3.0
-  'action_failed' => 'Handling feilet.  Coppermine kan ikke utføre denne handlingen.', //cpg1.3.0
-  'no_zip' => 'Nødvendige biblioteker for å behandle ZIPfiler mangler.  Kontakt din administrator.', //cpg1.3.0
-  'zip_type' => 'Du har ikke rettigheter til å laste opp ZIP filer.', //cpg1.3.0
-  'database_query' => 'Det oppsto en feil under spørring i databasen', //cpg1.4
-  'register_globals_on' => 'The PHP setting register_globals is enabled on your server, which is a bad idea in terms of security. It\'s strongly recommended to turn it off. [<a href="http://forum.coppermine-gallery.net/index.php/topic,59569.0.html" rel="external" class="external">more</a>]',
-);
-
-$lang_bbcode_help_title = 'Hjelp med bbkoder'; //cpg1.4
-$lang_bbcode_help = 'Du kan legge til klikkbare linker og enkel tekstformattering her ved å bruke bbkoder: <li>[b]Uthevet[/b] =&gt; <b>Uthevet</b></li><li>[i]Kursiv[/i] =&gt; <i>Kursiv</i></li><li>[url=http://yoursite.com/]Url Tekst[/url] =&gt; <a href="http://yoursite.com">Url Tekst</a></li><li>[email]user@domain.com[/email] =&gt; <a href="mailto:user@domain.com">user@domain.com</a></li><li>[color=red]Tekst[/color] =&gt; <span style="color:red">Tekst</span></li><li>[img]http://coppermine-gallery.net/demo/cpg14x/images/red.gif[/img] => <img src="../images/red.gif" border="0" alt="" /></li>'; //cpg1.4
-
-// ------------------------------------------------------------------------- //
-// File theme.php
-// ------------------------------------------------------------------------- //
-
-$lang_main_menu = array(
-  'home_title' => 'Gå til startsiden',
-  'home_lnk' => 'Startside',
-  'alb_list_title' => 'Gå til albumlisten',
-  'alb_list_lnk' => 'Albumliste',
-  'my_gal_title' => 'Gå til mitt personlige galleri',
-  'my_gal_lnk' => 'Mitt galleri',
-  'my_prof_title' => 'Gå til Min profil', //cpg1.4
-  'my_prof_lnk' => 'Min profil',
-  'adm_mode_title' => 'Bytt til adminmodus',
-  'adm_mode_lnk' => 'Adminmodus',
-  'usr_mode_title' => 'Bytt til brukermodus',
-  'usr_mode_lnk' => 'Brukermodus',
-  'upload_pic_title' => 'Last opp fil til et album',
-  'upload_pic_lnk' => 'Last opp fil',
-  'register_title' => 'Lag bruker',
-  'register_lnk' => 'Registrer',
-  'login_title' => 'Logg meg inn', //cpg1.4
-  'login_lnk' => 'Logg inn',
-  'logout_title' => 'Logg meg ut', //cpg1.4
-  'logout_lnk' => 'Logg ut',
-  'lastup_title' => 'Vis siste opplastninger', //cpg1.4
-  'lastup_lnk' => 'Siste opplastninger',
-  'lastcom_title' => 'Vis siste kommentarer', //cpg1.4
-  'lastcom_lnk' => 'Siste kommentarer',
-  'topn_title' => 'Vis mest sette filer', //cpg1.4
-  'topn_lnk' => 'Mest sett',
-  'toprated_title' => 'Vis beste karakterer', //cpg1.4
-  'toprated_lnk' => 'Beste karakter',
-  'search_title' => 'Søk i galleriet', //cpg1.4
-  'search_lnk' => 'Søk',
-  'fav_title' => 'Gå til Mine Favoritter', //cpg1.4
-  'fav_lnk' => 'Mine Favoritter',
-  'memberlist_title' => 'Vis Medlemsliste',
-  'memberlist_lnk' => 'Medlemsliste',
-  'faq_title' => 'Spørsmål og Svar om bildegalleriet &quot;Coppermine&quot;',
-  'faq_lnk' => 'FAQ',
-);
-
-$lang_gallery_admin_menu = array(
-  'upl_app_title' => 'Godkjenn nye opplastninger', //cpg1.4
-  'upl_app_lnk' => 'Godkjenning av opplastninger',
-  'admin_title' => 'Gå til konfigurasjon', //cpg1.4
-  'admin_lnk' => 'Konfigurasjon', //cpg1.4
-  'albums_title' => 'Gå til albumadministrasjon', //cpg1.4
-  'albums_lnk' => 'Album',
-  'categories_title' => 'Gå til kategoriadministrasjon', //cpg1.4
-  'categories_lnk' => 'Kategorier',
-  'users_title' => 'Gå til brukeradministrasjon', //cpg1.4
-  'users_lnk' => 'Brukere',
-  'groups_title' => 'Gå til gruppeadministrasjon', //cpg1.4
-  'groups_lnk' => 'Grupper',
-  'comments_title' => 'Godkjenn kommentarer', //cpg1.4
-  'comments_lnk' => 'Kommentarer',
-  'searchnew_title' => 'Gå til masseinnlegging av filer', //cpg1.4
-  'searchnew_lnk' => 'Masseinnlegging',
-  'util_title' => 'Gå til administrasjonsverktøy', //cpg1.4
-  'util_lnk' => 'Administrasjonsverktøy',
-  'key_title' => 'Gå til nøkkelordbok', //cpg1.4
-  'key_lnk' => 'Nøkkelordbok', //cpg1.4
-  'ban_title' => 'Gå til utviste brukere', //cpg1.4
-  'ban_lnk' => 'Utvis brukere',
-  'db_ecard_title' => 'Gå til administrasjon av ekort', //cpg1.4
-  'db_ecard_lnk' => 'Vis ekort',
-  'pictures_title' => 'Sorter mine bilder', //cpg1.4
-  'pictures_lnk' => 'Sorter mine bilder', //cpg1.4
-  'documentation_lnk' => 'Manual', //cpg1.4
-  'documentation_title' => 'Coppermine dokumentasjon', //cpg1.4
-);
-
-$lang_user_admin_menu = array(
-  'albmgr_title' => 'Opprett og ordne mine album', //cpg1.4
-  'albmgr_lnk' => 'Opprett / ordne mine album',
-  'modifyalb_title' => 'Gå til redigering av mine album',  //cpg1.4
-  'modifyalb_lnk' => 'Rediger mine album',
-  'my_prof_title' => 'Gå til min profil', //cpg1.4
-  'my_prof_lnk' => 'Min profil',
-);
-
-$lang_cat_list = array(
-  'category' => 'Kategori',
-  'albums' => 'Album',
-  'pictures' => 'Filer',
-);
-
-$lang_album_list = array(
-  'album_on_page' => '%d album over %d side(r)',
-);
-
-$lang_thumb_view = array(
-  'date' => 'DATO',
-  //Sort by filename and title
-  'name' => 'FILNAVN',
-  'title' => 'TITTEL',
-  'sort_da' => 'Sorter på dato i stigende rekkefølge',
-  'sort_dd' => 'Sorter på dato i synkende rekkefølge',
-  'sort_na' => 'Sorter på navn i stigende rekkefølge',
-  'sort_nd' => 'Sorter på navn i synkende rekkefølge',
-  'sort_ta' => 'Sorter på tittel i stigende rekkefølge',
-  'sort_td' => 'Sorter på tittel i synkende rekkefølge',
-  'position' => 'POSISJON', //cpg1.4
-  'sort_pa' => 'Sorter på posisjon i stigende rekkefølge', //cpg1.4
-  'sort_pd' => 'Sorter på posisjon i synkende rekkefølge', //cpg1.4
-  'download_zip' => 'Last ned som Zipfil',
-  'pic_on_page' => '%d filer over %d side(r)',
-  'user_on_page' => '%d brukere over %d side(r)',
-  'enter_alb_pass' => 'Skriv inn Albumpassord',
-  'invalid_pass' => 'Ugyldig passord',
-  'pass' => 'Passord', //cpg1.4
-  'submit' => 'Submit' //cpg1.4
-);
-
-$lang_img_nav_bar = array(
-  'thumb_title' => 'Tilbake til oversikt',
-  'pic_info_title' => 'Vis/skjul filinformasjon',
-  'slideshow_title' => 'Lysbildevisning',
-  'ecard_title' => 'Send denne filen som et ekort',
-  'ecard_disabled' => 'ekortfunksjonalitet er ikke tilgjengelig',
-  'ecard_disabled_msg' => 'Du har ikke tilgang til å sende ekort', //js-alert
-  'prev_title' => 'Se forrige fil',
-  'next_title' => 'Se neste fil',
-  'pic_pos' => 'FIL %s/%s',
-  'report_title' => 'Rapporter denne filen til administrator', //cpg1.4
-  'go_album_end' => 'Hopp til siste', //cpg1.4
-  'go_album_start' => 'Tilbake til start', //cpg1.4
-  'go_back_x_items' => 'gå tilbake %s filer', //cpg1.4
-  'go_forward_x_items' => 'gå frem %s filer', //cpg1.4
-);
-
-$lang_rate_pic = array(
-  'rate_this_pic' => 'Gi karakter på dette bildet ',
-  'no_votes' => '(Ingen stemmer)',
-  'rating' => '(Karakter : %s / 5 med %s stemmer)',
-  'rubbish' => 'Søppel',
-  'poor' => 'Dårlig',
-  'fair' => 'Greit nok',
-  'good' => 'Bra',
-  'excellent' => 'Veldig bra',
-  'great' => 'Topp',
-);
-
-// ------------------------------------------------------------------------- //
-// File include/exif.inc.php
-// ------------------------------------------------------------------------- //
-
-// void
-
-// ------------------------------------------------------------------------- //
-// File include/functions.inc.php
-// ------------------------------------------------------------------------- //
-
-$lang_cpg_die = array(
-  INFORMATION => $lang_info,
-  ERROR => $lang_error,
-  CRITICAL_ERROR => 'Kritisk feil',
-  'file' => 'Fil: ',
-  'line' => 'Linje: ',
-);
-
-$lang_display_thumbnails = array(
-  'filename' => 'Filnavn=', //cpg1.4
-  'filesize' => 'Filstørrelse=', //cpg1.4
-  'dimensions' => 'Dimensjoner=', //cpg1.4
-  'date_added' => 'Lagt inn dato=', //cpg1.4
-);
-
-$lang_get_pic_data = array(
-  'n_comments' => '%s kommentarer',
-  'n_views' => '%s visninger',
-  'n_votes' => '(%s stemmer)',
-);
-
-$lang_cpg_debug_output = array(
-  'debug_info' => 'Debuginformasjon',
-  'select_all' => 'Velg alle',
-  'copy_and_paste_instructions' => 'Dersom du skal be om hjelp på Coppermine support forumet må du kopiere denne teksten inn i meldingen din når det er forespurt, sammen med den eventuelle feilmeldingen. Vær oppmerksom på å eratatte eventuelle passord med *** først. <br /> Merk: Dette er kun for informasjon, og betyr ikke nødvendigvis at det er noe galt med galleriet ditt.', //cpg1.4
-  'phpinfo' => 'vis phpinfo',
-  'notices' => 'Notiser', //cpg1.4
-);
-
-$lang_language_selection = array(
-  'reset_language' => 'Standard språk',
-  'choose_language' => 'Velg ditt språk',
-);
-
-$lang_theme_selection = array(
-  'reset_theme' => 'Standard utseende',
-  'choose_theme' => 'Velg utseende',
-);
-
-$lang_version_alert = array(
-  'version_alert' => 'Ikke supportert versjon!', //cpg1.4
-  'no_stable_version' => 'Du kjører Coppermine  %s (%s) som er beregnet på svært erfarne brukere - denne versjonen kommer uten noen form for support eller garantier. Bruk den på egen risiko, eller nedgrader til siste stabile versjon dersom du trenger support!', //cpg1.4
-  'gallery_offline' => 'Galleriet er midlertidig ute av drift, og vil kun være tilgjengelig for administratorer. Ikke glem å sette det i drift igjen etter at du er ferdig med vedlikeholdet.', //cpg1.4
-);
-
-$lang_create_tabs = array(
-  'previous' => 'forrige', //cpg1.4
-  'next' => 'neste', //cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File include/init.inc.php
-// ------------------------------------------------------------------------- //
-
-// void
-
-// ------------------------------------------------------------------------- //
-// File keyword.inc.php                                                      //
-// ------------------------------------------------------------------------- //
-
-// void
-
-// ------------------------------------------------------------------------- //
-// File include/picmgmt.inc.php
-// ------------------------------------------------------------------------- //
-
-// void
-
-// ------------------------------------------------------------------------- //
-// File include/plugin_api.inc.php
-// ------------------------------------------------------------------------- //
-$lang_plugin_api = array(
-  'error_wakeup' => "Kunne ikke slå på plugin '%s'", //cpg1.4
-  'error_install' => "Kunne ikke installere plugin '%s'", //cpg1.4
-  'error_uninstall' => "Kunne ikke avinstallere plugin '%s'", //cpg1.4
-  'error_sleep' => "Kunne ikke slå av plugin '%s'<br />", //cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File include/smilies.inc.php
-// ------------------------------------------------------------------------- //
-
-if (defined('SMILIES_PHP')) $lang_smilies_inc_php = array(
-  'Exclamation' => 'Utrop',
-  'Question' => 'Spørsmål',
-  'Very Happy' => 'Veldig glad',
-  'Smile' => 'Smil',
-  'Sad' => 'Trist',
-  'Surprised' => 'Overrasket',
-  'Shocked' => 'Sjokkert',
-  'Confused' => 'Forvirret',
-  'Cool' => 'Kult',
-  'Laughing' => 'Ler',
-  'Mad' => 'Sint',
-  'Razz' => 'Fleiper',
-  'Embarassed' => 'Flau',
-  'Crying or Very sad' => 'Gråter eller veldig trist',
-  'Evil or Very Mad' => 'Ond eller veldig sint',
-  'Twisted Evil' => 'Ond',
-  'Rolling Eyes' => 'Rullende øyne',
-  'Wink' => 'Blunker lurt',
-  'Idea' => 'Ide',
-  'Arrow' => 'Pil',
-  'Neutral' => 'Nøytral',
-  'Mr. Green' => 'Herr Grønn',
-);
-
-// ------------------------------------------------------------------------- //
-// File addpic.php
-// ------------------------------------------------------------------------- //
-
-// void
-
-// ------------------------------------------------------------------------- //
-// File mode.php //cpg1.4
-// ------------------------------------------------------------------------- //
-
-if (defined('MODE_PHP')) $lang_mode_php = array(
-  0 => 'Forlater administrasjonsmodus...',
-  1 => 'Går inn i administrasjonsmodus...',
-);
-
-// ------------------------------------------------------------------------- //
-// File albmgr.php
-// ------------------------------------------------------------------------- //
-
-if (defined('ALBMGR_PHP')) $lang_albmgr_php = array(
-  'alb_need_name' => 'Album må ha et navn !', //js-alert
-  'confirm_modifs' => 'Er du sikker på at du vil lagre disse endringene ?', //js-alert
-  'no_change' => 'Du gjorde ingen endringer !', //js-alert
-  'new_album' => 'Nytt album',
-  'confirm_delete1' => 'Er du sikker på at du vil slette dette albumet?', //js-alert
-  'confirm_delete2' => '\nAlle filer og kommentarer vil forsvinne!', //js-alert
-  'select_first' => 'Velg et album først', //js-alert
-  'alb_mrg' => 'Albumadministrasjon',
-  'my_gallery' => '* Mitt galleri *',
-  'no_category' => '* Ingen kategori *',
-  'delete' => 'Slett',
-  'new' => 'Ny',
-  'apply_modifs' => 'Lagre endringer',
-  'select_category' => 'Velg kategori',
-);
-
-// ------------------------------------------------------------------------- //
-// File banning.php
-// ------------------------------------------------------------------------- //
-
-if (defined('BANNING_PHP')) $lang_banning_php = array(
-  'title' => 'Utvis brukere', //cpg1.4
-  'user_name' => 'Brukernavn', //cpg1.4
-  'ip_address' => 'IP-adresse', //cpg1.4
-  'expiry' => 'Utløper (blank er permanent)', //cpg1.4
-  'edit_ban' => 'Lagre endringer', //cpg1.4
-  'delete_ban' => 'Slett', //cpg1.4
-  'add_new' => 'Ny utvisning', //cpg1.4
-  'add_ban' => 'Utvis bruker', //cpg1.4
-  'error_user' => 'Finner ikke bruker', //cpg1.4
-  'error_specify' => 'Du må spesifisere enten et brukernavn eller en IP-adresse', //cpg1.4
-  'error_ban_id' => 'Ugyldig utvisningsID!', //cpg1.4
-  'error_admin_ban' => 'Du kan ikke utvise deg selv!', //cpg1.4
-  'error_server_ban' => 'Tenkte du å utvise din egen server? Tsk tsk...', //cpg1.4
-  'error_ip_forbidden' => 'Du kan ikke utvise denne IP - den er ikkerutbar (privat) uansett!<br />Dersom du vil tillate utvisning av private adresser, sett dette i <a href="admin.php">Konfigurasjon</a> (dette er bare aktuelt om Coppermine kjører i et LAN).', //cpg1.4
-  'lookup_ip' => 'Slå opp en IP-adresse', //cpg1.4
-  'submit' => 'OK!', //cpg1.4
-  'select_date' => 'velg dato', //cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File bridgemgr.php //cpg1.4
-// ------------------------------------------------------------------------- //
-
-if (defined('BRIDGEMGR_PHP')) $lang_bridgemgr_php = array(
-  'title' => 'Broveiviser',
-  'warning' => 'Advarsel: ved å bruke denne veiviseren må du være inneforstått med at sensitiv data blir sendt ved html skjema. Kjør den kun på din egen PC (ikke på en offentlige klienter som Internettkafeer o.l.), og forsikre deg om at nettleserens cache er tømt etterpå. Ellers kan andre få tilgang til dine data!',
-  'back' => 'tilbake',
-  'next' => 'neste',
-  'start_wizard' => 'Start Broveiviser',
-  'finish' => 'Avslutt',
-  'hide_unused_fields' => 'skjul ubrukte felter (anbefalt)',
-  'clear_unused_db_fields' => 'fjern ugyldige data fra databasen (anbefalt)',
-  'custom_bridge_file' => 'Navn på din spesialtilpassede brofil (dersom navnet er <i>myfile.inc.php</i>, skriv <i>myfile</i> i dette feltet)',
-  'no_action_needed' => 'Ingen handling er påkrevd i dette steg. Klikk \'neste\' for å fortsette.',
-  'reset_to_default' => 'Reset til standardverdi',
-  'choose_bbs_app' => 'velg program coppermine skal linkes til',
-  'support_url' => 'Gå hit for hjelp med dette programmet',
-  'settings_path' => 'filsti(er) brukt av av ditt BBSprogram',
-  'database_connection' => 'databasekobling',
-  'database_tables' => 'databasetabeller',
-  'bbs_groups' => 'BBSgrupper',
-  'license_number' => 'Lisensnummer',
-  'license_number_explanation' => 'Skriv ditt lisensnummer (om aktuelt)',
-  'db_database_name' => 'Databasenavn',
-  'db_database_name_explanation' => 'Skriv navnet på databasen ditt BBSprogram bruker',
-  'db_hostname' => 'Databasemaskin',
-  'db_hostname_explanation' => 'Maskinnavn der din mySQLdatabase kjører, som regel &quot;localhost&quot;',
-  'db_username' => 'Databasebrukernavn',
-  'db_username_explanation' => 'mySQLbrukernavn å bruke for kommunikasjon med BBS',
-  'db_password' => 'Databasepassord',
-  'db_password_explanation' => 'Passord til denne mySQLbrukeren',
-  'full_forum_url' => 'Forum URL',
-  'full_forum_url_explanation' => 'Full URL til ditt BBSprogram (inkludert http://, f.eks. http://www.yourdomain.tld/forum)',
-  'relative_path_of_forum_from_webroot' => 'Relativ forumsti',
-  'relative_path_of_forum_from_webroot_explanation' => 'Relativ sti til ditt BBSprogram fra din webroot (Eksempel: dersom din BBS er på http://www.yourdomain.tld/forum/, skriv &quot;/forum/&quot; her)',
-  'relative_path_to_config_file' => 'Relativ sti til din BBS\'s konfigurasjonsfil',
-  'relative_path_to_config_file_explanation' => 'Relativ sti til din BBS, sett fra din Copperminemappe (f.eks. &quot;../forum/&quot; dersom din BBS er på http://www.yourdomain.tld/forum/ og Coppermine er på http://www.yourdomain.tld/gallery/)',
-  'cookie_prefix' => 'Cookie prefix',
-  'cookie_prefix_explanation' => 'dette må være navnet på cookien til din BBS',
-  'table_prefix' => 'Tabellprefix',
-  'table_prefix_explanation' => 'Må stemme med prefixet du valgte for din BBS når du installerte det.',
-  'user_table' => 'Brukertabell',
-  'user_table_explanation' => '(som regel standardverdi, om du ikke har gjort endringer fra standard på din BBSinstallasjon)',
-  'session_table' => 'Sesjontabell',
-  'session_table_explanation' => '(som regel standardverdi, om du ikke har gjort endringer fra standard på din BBSinstallasjon)',
-  'group_table' => 'Gruppetabell',
-  'group_table_explanation' => '(som regel standardverdi, om du ikke har gjort endringer fra standard på din BBSinstallasjon)',
-  'group_relation_table' => 'Grupperelasjonstabell',
-  'group_relation_table_explanation' => '(som regel standardverdi, om du ikke har gjort endringer fra standard på din BBSinstallasjon)',
-  'group_mapping_table' => 'Gruppemappingtabell',
-  'group_mapping_table_explanation' => '(som regel standardverdi, om du ikke har gjort endringer fra standard på din BBSinstallasjon)',
-  'use_standard_groups' => 'Bruk standard BBS brukergrupper',
-  'use_standard_groups_explanation' => 'Bruk standard (innebygde) brukergrupper (anbefalt). Dette vil gjøre alle egendefinerte brukergrupper satt på denne siden ugyldige. Slå kun av dette om du VIRKELIG vet hva du gjør!',
-  'validating_group' => 'Godkjenningsgruppe',
-  'validating_group_explanation' => 'GruppeID fra din BBS der brukerkontoer trenger godkjenning (som regel standardverdi, om du ikke har gjort endringer fra standard på din BBSinstallasjon)',
-  'guest_group' => 'Gjestegruppe',
-  'guest_group_explanation' => 'GruppeID fra din BBS for gjester (anonyme brukere) (som regel standardverdi, gjør kun endringer om du vet hva du gjør)',
-  'member_group' => 'Medlemsgruppe',
-  'member_group_explanation' => 'GruppeID fra din BBS for &quot;vanlige&quot; brukerkontoer (som regel standardverdi, gjør kun endringer om du vet hva du gjør)',
-  'admin_group' => 'Admingruppe',
-  'admin_group_explanation' => 'GruppeID fra din BBS for administratorer (som regel standardverdi, gjør kun endringer om du vet hva du gjør)',
-  'banned_group' => 'Utestengtgruppe',
-  'banned_group_explanation' => 'GruppeID fra din BBS for utestengte brukere (som regel standardverdi, gjør kun endringer om du vet hva du gjør)',
-  'global_moderators_group' => 'Global moderatorgruppe',
-  'global_moderators_group_explanation' => 'GruppeID fra din BBS for globale moderatorer (som regel standardverdi, gjør kun endringer om du vet hva du gjør)',
-  'special_settings' => 'BBSspesifikke innstillinger',
-  'logout_flag' => 'phpBB versjon (utloggingsflagg)',
-  'logout_flag_explanation' => 'Hva er versjonen av din BBS (denne innstillingen spesifiserer hvordan utlogging skal håndteres)',
-  'use_post_based_groups' => 'Bruk meldingsbaserte grupper?',
-  'logout_flag_yes' => '2.0.5 eller nyere',
-  'logout_flag_no' => '2.0.4 eller eldre',
-  'use_post_based_groups_explanation' => 'Skal gruppene fra BBSprogrammet som er definert av antall meldinger som tas med i beregningen (allows granular permission administration) eller bare standardgruppene (gjør administrasjon lettere, anbefalt). Du kan forandre denne innstillingen senere.',
-  'use_post_based_groups_yes' => 'ja',
-  'use_post_based_groups_no' => 'nei',
-  'error_title' => 'Du må rette opp disse feilene før du kan fortsette. Gå tilbake til forrige side.',
-  'error_specify_bbs' => 'Du må spesifisere hvilket progrm du vil linke din Coppermineinstallasjon med.',
-  'error_no_blank_name' => 'Du må spesifisere et navn på den spesiallagde brofil.',
-  'error_no_special_chars' => 'Navnet på brofilen kan ikke inneholde spesialtegn untatt underscore (_) og dash (-)!',
-  'error_bridge_file_not_exist' => 'Brofilen  %s finnes ikke på serveren. Sjekk om du har lastet den opp.',
-  'finalize' => 'Slå på/av integrasjonen med BBSprogrammet',
-  'finalize_explanation' => 'Så langt har innstillingene dine blitt lagret i databasen, men integrasjon med BBSprogrammet har ikke blitt slått på. Du kan slå integrasjonen på/av senere. Husk adminbruker og passord fra Coppermineinstallasjonen, du kan trenge det senere for å gjøre endringer. Dersom noe går galt, gå til %s og slå av integrasjonen med BBSprogrammet der, med din Coppermininstallasjons adminbruker (som regel den du satte opp under installasjonen av Coppermine).',
-  'your_bridge_settings' => 'Dine integrasjonsinnstillinger',
-  'title_enable' => 'Slå på integrasjon med %s',
-  'bridge_enable_yes' => 'Slå på',
-  'bridge_enable_no' => 'Slå av',
-  'error_must_not_be_empty' => 'må spesifiseres',
-  'error_either_be' => 'må enten være %s eller %s',
-  'error_folder_not_exist' => '%s finnes ikke. Rett opp verdiene du skrev for %s',
-  'error_cookie_not_readible' => 'Coppermine kan ikke lese en cookie med navn %s. Rett opp verdien du skrev for %s, eller gå til administrasjonspanelet til din BBS og sjekk at stien til cookieen er lesbar for coppermine.',
-  'error_mandatory_field_empty' => 'Du kan ikke la feltet %s være blankt - fyll inn den riktige verdien.',
-  'error_no_trailing_slash' => 'Det kan ikke være en slash i enden av feltet %s.',
-  'error_trailing_slash' => 'Det må være en slash i enden av feltet %s.',
-  'error_db_connect' => 'Kunne ikke koble til mySQLdatabasen med dine data. Dette er hva mySQL svarte:',
-  'error_db_name' => 'Selv om Coppermine kunne opprette en kobling, ble ikke databasen %s funnet. Sjekk at du har skrevet %s riktig. Dette er hva mySQL svarte:',
-  'error_prefix_and_table' => '%s og ',
-  'error_db_table' => 'Kunne ikke finne tabellen %s. Sjekk at du har skrevet %s riktig.',
-  'recovery_title' => 'Bridge Manager: emergency recovery',
-  'recovery_explanation' => 'Dersom du kom hit for å administrere integrasjonen mellom ditt Copperminegalleri og din BBS, må du først logge inn som admin. Dersom du ikke kan logge inn fordi integrasjonen ikke virker som forventet, kan du slå av integrasjonen her. Du vil ikke bli logget inn ved å skrive brukernavn og passord her, men integrasjonen vil bli slått av. Se dokumentasjonen for detaljer.',
-  'username' => 'Brukernavn',
-  'password' => 'Passord',
-  'disable_submit' => 'submit',
-  'recovery_success_title' => 'Autorisasjon vellykket',
-  'recovery_success_content' => 'Du har slått integrasjonen mellom din Coppermineinstallasjon og ditt BBSprogram. Din Coppermineinstallasjon kjører nå alene.',
-  'recovery_success_advice_login' => 'Logg inn som admin for å endre integrasjonsinstillinger og/eller slå integrasjonen på igjen.',
-  'goto_login' => 'Gå til innloggingssiden',
-  'goto_bridgemgr' => 'Gå til bridge manager',
-  'recovery_failure_title' => 'Autorisasjon mislykket',
-  'recovery_failure_content' => 'Du skrev feil brukernavn og/eller passord. Du må bruke med adminkontoen fra Coppermine (som regel kontoen du satte opp under installeringen av Coppermine).',
-  'try_again' => 'prøv igjen',
-  'recovery_wait_title' => 'For kort tidsintervall',
-  'recovery_wait_content' => 'Av sikkerhetsgrunner tillates ikke dette skriptet kjørt i for korte tidsintervaller, derfor må du vente litt før du kan prøve igjen.',
-  'wait' => 'vent',
-  'create_redir_file' => 'Lag omdirigeringsfil (anbefalt)',
-  'create_redir_file_explanation' => 'For å omdirigere brukere tilbake til Coppermine med en gang de har logget inn på din BBS, må du lage en omdirigeringsfil i din BBSmappe. Når dette alternativet er valgt , vil denne filen bli forsøkt lagd for deg, eller gi deg kode klar til å kopiere inn i en slik fil manuelt.',
-  'browse' => 'utforsk',
-);
-
-// ------------------------------------------------------------------------- //
-// File calendar.php //cpg1.4
-// ------------------------------------------------------------------------- //
-
-if (defined('CALENDAR_PHP')) $lang_calendar_php = array(
-  'title' => 'Kalender', //cpg1.4
-  'close' => 'avslutt', //cpg1.4
-  'clear_date' => 'fjern dato', //cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File catmgr.php
-// ------------------------------------------------------------------------- //
-
-if (defined('CATMGR_PHP')) $lang_catmgr_php = array(
-  'miss_param' => 'Nødvendige parametere for \'%s\'operasjonen manglet!',
-  'unknown_cat' => 'Den valgte kategorien eksisterer ikke i databasen!',
-  'usergal_cat_ro' => 'Brukergalleri kategorien kan ikke slettes!',
-  'manage_cat' => 'Administrer kategorier',
-  'confirm_delete' => 'Er du sikker på at du ønsker og SLETTE denne kategorien?', //js-alert
-  'category' => 'Kategori',
-  'operations' => 'Handling',
-  'move_into' => 'Flytt til',
-  'update_create' => 'Oppdater/opprett kategori',
-  'parent_cat' => 'Overkategori',
-  'cat_title' => 'Kategoritittel',
-  'cat_thumb' => 'Kategoribilde', //cpg1.3.0 // Translatorcomment: There is (afaik) no good translation of "Thumbnail" in Norwegian
-  'cat_desc' => 'Kategoribeskrivelse',
-  'categories_alpha_sort' => 'Sorter kategorier alfabetisk (istedenfor selvvalgt sorteringsrekkefølge)', //cpg1.4
-  'save_cfg' => 'Lagre konfigurasjon', //cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File admin.php //cpg1.4
-// ------------------------------------------------------------------------- //
-
-if (defined('ADMIN_PHP')) $lang_admin_php = array(
-  'title' => 'Gallerikonfigurasjon', //cpg1.4
-  'manage_exif' => 'Administrer exif visning', //cpg1.4
-  'manage_plugins' => 'Administrer plugins', //cpg1.4
-  'manage_keyword' => 'Administrer nøkkelord', //cpg1.4
-  'restore_cfg' => 'Tilbakestill til fabrikkinstillinger',
-  'save_cfg' => 'Lagre ny konfigurasjon',
-  'notes' => 'Notater',
-  'info' => 'Informasjon',
-  'upd_success' => 'Konfigurasjon av Coppermine oppdatert',
-  'restore_success' => 'Tilbakestilt til Coppermine fabrikkinstillinger',
-  'name_a' => 'Navn i stigende rekkefølge',
-  'name_d' => 'Navn i synkende rekkefølge',
-  'title_a' => 'Tittel i stigende rekkefølge',
-  'title_d' => 'Tittel i synkende rekkefølge',
-  'date_a' => 'Dato i stigende rekkefølge',
-  'date_d' => 'Dato i synkende rekkefølge',
-  'pos_a' => 'Posisjon i stigende rekkefølge', //cpg1.4
-  'pos_d' => 'Posisjon i synkende rekkefølge', //cpg1.4
-  'th_any' => 'Max Aspect',
-  'th_ht' => 'Høyde',
-  'th_wd' => 'Bredde',
-  'label' => 'merkelapp',
-  'item' => 'enhet',
-  'debug_everyone' => 'Alle',
-  'debug_admin' => 'Kun admin',
-  'no_logs'=> 'Av', //cpg1.4
-  'log_normal'=> 'Normal', //cpg1.4
-  'log_all' => 'Alel', //cpg1.4
-  'view_logs' => 'Se logger', //cpg1.4
-  'click_expand' => 'klikk på seksjonsnavnet for å folde ut', //cpg1.4
-  'expand_all' => 'Fold ut alle', //cpg1.4
-  'notice1' => '(*) Disse instillingene må ikke endres om du allerede har filer i din database.', //cpg1.4 - (relocated)
-  'notice2' => '(**) Endring av denne instillingen affekterer kun filer som blir lagt til etter dette, derfor er det anbefalt å ikke endre dette om du allerede har filer i din database. Du kan imidlertid endre eksisterende filer med &quot;<a href="util.php">admin tools</a> (resize pictures)&quot; fra adminmenyen.', //cpg1.4 - (relocated)
-  'notice3' => '(***) Alle loggfiler blir skrevet på engelsk.', //cpg1.4 - (relocated)
-  'bbs_disabled' => 'Denne funksjonen er ikke aktiv ved integrasjon med BBS', //cpg1.4
-  'auto_resize_everyone' => 'Alle', //cpg1.4
-  'auto_resize_user' => 'Kun bruker', //cpg1.4
-  'ascending' => 'i stigende rekkefølge', //cpg1.4
-  'descending' => 'i synkende rekkefølge', //cpg1.4
-);
-
-if (defined('ADMIN_PHP')) $lang_admin_data = array(
-  'Hovedinstillinger',
-  array('Gallerinavn', 'gallery_name', 0, 'f=index.htm&amp;as=admin_general_name&amp;ae=admin_general_name_end'), //cpg1.4
-  array('Galleribeskrivelse', 'gallery_description', 0, 'f=index.htm&amp;as=admin_general_description&amp;ae=admin_general_description_end'), //cpg1.4
-  array('Epost til Galleriadministrator', 'gallery_admin_email', 0, 'f=index.htm&amp;as=admin_general_email&amp;ae=admin_general_email_end'), //cpg1.4
-  array('URL til din your Coppermine gallerimappe (uten \'index.php\' eller tilsvarende til slutt)', 'ecards_more_pic_target', 0, 'f=index.htm&amp;as=admin_general_coppermine-url&amp;ae=admin_general_coppermine-url_end'), //cpg1.4
-  array('URL til din hjemmeside', 'home_target', 0, 'f=index.htm&amp;as=admin_general_home-url&amp;ae=admin_general_home-url_end'), //cpg1.4
-  array('Tillat ZIP-nedlastning av favoritter', 'enable_zipdownload', 1, 'f=index.htm&amp;as=admin_general_zip-download&amp;ae=admin_general_zip-download_end'), //cpg1.4
-  array('Timezoneforskjell relativt i forhold til GMT (current time: ' . localised_date(-1, $comment_date_fmt) . ')','time_offset',0, 'f=index.htm&amp;as=admin_general_time-offset&amp;ae=admin_general_time-offset_end&amp;top=1'), //cpg1.4
-  array('Slå på krypterte passord (kan ikke slås av igjen)','enable_encrypted_passwords',1, 'f=index.htm&amp;as=admin_general_encrypt_password_start&amp;ae=admin_general_encrypt_password_end&amp;top=1'), // cpg 1.4
-  array('Slå på hjelpeikon (denne hjelpen er kun tilgjengelig på engelsk)','enable_help',9, 'f=index.htm&amp;as=admin_general_help&amp;ae=admin_general_help_end'), //cpg1.4
-  array('Slå på klikkbare nøkkelord i søk','clickable_keyword_search',14, 'f=index.htm&amp;as=admin_general_keywords_start&amp;ae=admin_general_keywords_end'), //cpg1.4
-  array('Slå på plugins', 'enable_plugins', 12, 'f=index.htm&amp;as=admin_general_enable-plugins&amp;ae=admin_general_enable-plugins_end'),  //cpg1.4
-  array('Tillat utvisning av ikke-rutbare (private) IPadresser', 'ban_private_ip', 1,  'f=index.htm&amp;as=admin_general_private-ip&amp;ae=admin_general_private-ip_end'), //cpg1.4
-  array('Browsable batch-add interface', 'browse_batch_add', 1, 'f=index.htm&amp;as=admin_general_browsable_batch_add&amp;ae=admin_general_browsable_batch_add_end'), //cpg1.4
-
-  'Språk &amp; tegnsettinstillinger',
-  array('Språk', 'lang', 5, 'f=index.htm&amp;as=admin_language_language&amp;ae=admin_language_language_end'), //cpg1.4
-  array('Fall tilbake til Engelsk hvis oversettelse ikke finnes?', 'language_fallback', 1, 'f=index.htm&amp;as=admin_language_fallback&amp;ae=admin_language_fallback_end'), //cpg1.4
-  array('Tegnsett', 'charset', 4, 'f=index.htm&amp;as=admin_language_charset&amp;ae=admin_language_charset_end'), //cpg1.4
-  array('Vis språkliste', 'language_list', 1, 'f=index.htm&amp;as=admin_language_list&amp;ae=admin_language_list_end'), //cpg1.4
-  array('Vis språkflagg', 'language_flags', 8, 'f=index.htm&amp;as=admin_language_flags&amp;ae=admin_language_flags_end&amp;top=1'), //cpg1.4
-  array('Vis &quot;tilbakestill&quot; i språkvalg', 'language_reset', 1, 'f=index.htm&amp;as=admin_language_reset&amp;ae=admin_language_reset_end&amp;top=1'), //cpg1.4
-  //array('Vis forrige/neste på sider med arkfaner', 'previous_next_tab', 1), //cpg1.4
-
-  'Utseende/stil-instillinger',
-  array('Utseende / stil', 'theme', 6, 'f=index.htm&amp;as=admin_theme_theme&amp;ae=admin_theme_theme_end'), //cpg1.4
-  array('Vis utseendeliste', 'theme_list', 1, 'f=index.htm&amp;as=admin_theme_theme_list&amp;ae=admin_theme_theme_list_end'), //cpg1.4
-  array('Vis &quot;tilbakestill&quot; i utseendevalg', 'theme_reset', 1, 'f=index.htm&amp;as=admin_theme_theme_reset&amp;ae=admin_theme_theme_reset_end'), //cpg1.4
-  array('Vis FAQ', 'display_faq', 1, 'f=index.htm&amp;as=admin_theme_faq&amp;ae=admin_theme_faq_end'), //cpg1.4
-  array('Egendefinert menylinknavn', 'custom_lnk_name', 0,'f=index.htm&amp;as=admin_theme_custom_lnk_name&amp;ae=admin_theme_custom_lnk_name_end'), //cpg1.4
-  array('Egendefinert menylinkURL', 'custom_lnk_url', 0,'f=index.htm&amp;as=admin_language_custom_lnk_url&amp;ae=admin_language_custom_lnk_url_end'), //cpg1.4
-  array('Vis bbkode hjelp', 'show_bbcode_help', 1, 'f=index.htm&amp;as=admin_theme_bbcode&amp;ae=admin_theme_bbcode_end&amp;top=1'), //cpg1.4
-  array('Vis vanity block på utseender som er definert som samsvarende med XHTML og CSS standardene','vanity_block',1, 'f=index.htm&amp;as=vanity_block&amp;ae=vanity_block_end'), //cpg1.4
-  array('Sti til egendefinert topptekstfil', 'custom_header_path', 0, 'f=index.htm&amp;as=admin_theme_include_path_start&amp;ae=admin_theme_include_path_end'), //cpg1.4
-  array('Sti til egendefinert bunntekstfil', 'custom_footer_path', 0, 'f=index.htm&amp;as=admin_theme_include_path_start&amp;ae=admin_theme_include_path_end'), //cpg1.4
-
-  'Albumlistevisning',
-  array('Bredde på hovedtabell (piksler eller %)', 'main_table_width', 0, 'f=index.htm&amp;as=admin_album_table-width&amp;ae=admin_album_table-width_end'), //cpg1.4
-  array('Antall kategorinivå å vise', 'subcat_level', 0, 'f=index.htm&amp;as=admin_album_category-levels&amp;ae=admin_album_category-levels_end'), //cpg1.4
-  array('Antall album å vise', 'albums_per_page', 0, 'f=index.htm&amp;as=admin_album_number&amp;ae=admin_album_number_end'), //cpg1.4
-  array('Antall kolonner i albumlisten', 'album_list_cols', 0, 'f=index.htm&amp;as=admin_album_columns&amp;ae=admin_album_columns_end'), //cpg1.4
-  array('Størrelse på miniatyrbilder i piksler', 'alb_list_thumb_size', 0, 'f=index.htm&amp;as=admin_album_thumbnail-size&amp;ae=admin_album_thumbnail-size_end'), //cpg1.4
-  array('Innhold på hovedsiden', 'main_page_layout', 0, 'f=index.htm&amp;as=admin_album_list_content&amp;ae=admin_album_list_content_end'), //cpg1.4
-  array('Vis miniatyrbilder til album på første nivå i kategorier','first_level',1, 'f=index.htm&amp;as=admin_album_first-level_thumbs&amp;ae=admin_album_first-level_thumbs_end'), //cpg1.4
-  array('Sorter kategorier alfabetisk (istedet for egendefinert sortering)','categories_alpha_sort',1, 'f=index.htm&amp;as=admin_album_list_alphasort_start&amp;ae=admin_album_list_alphasort_end'), //cpg1.4
-  array('Vis antall linkede filer','link_pic_count',1, 'f=index.htm&amp;as=admin_album_linked_files_start&amp;ae=admin_album_linked_files_end'), //cpg1.4
-
-  'Miniatyrbildevisning',
-  array('Antall kolonner på miniatyrbildeside', 'thumbcols', 0, 'f=index.htm&amp;as=admin_thumbnail_columns&amp;ae=admin_thumbnail_columns_end'), //cpg1.4
-  array('Antall rader på miniatyrbildeside', 'thumbrows', 0, 'f=index.htm&amp;as=admin_thumbnail_rows&amp;ae=admin_thumbnail_rows_end'), //cpg1.4
-  array('Maksimalt antall arkfaner å vise', 'max_tabs', 10, 'f=index.htm&amp;as=admin_thumbnail_tabs&amp;ae=admin_thumbnail_tabs_end'), //cpg1.4
-  array('Vis filbeskrivelse (i tillegg til tittel) under miniatyrbilde', 'caption_in_thumbview', 1, 'f=index.htm&amp;as=admin_thumbnail_display_caption&amp;ae=admin_thumbnail_display_caption_end'), //cpg1.4
-  array('Vis antall visninger under miniatyrbilde', 'views_in_thumbview', 1, 'f=index.htm&amp;as=admin_thumbnail_display_views&amp;ae=admin_thumbnail_display_views_end'), //cpg1.4
-  array('Vis antall kommentarer under miniatyrbilde', 'display_comment_count', 1, 'f=index.htm&amp;as=admin_thumbnail_display_comments&amp;ae=admin_thumbnail_display_comments_end'), //cpg1.4
-  array('Vis navn på opplaster under miniatyrbilde', 'display_uploader', 1, 'f=index.htm&amp;as=admin_thumbnail_display_uploader&amp;ae=admin_thumbnail_display_uploader_end'), //cpg1.4
-  //array('Vis navn på administratoropplaster under miniatyrbilde', 'display_admin_uploader', 1, 'f=index.htm&amp;as=admin_thumbnail_display_admin_uploader&amp;ae=admin_thumbnail_display_admin_uploader_end'), //cpg1.4
-  array('Vis filnavn under miniatyrbilde', 'display_filename', 1, 'f=index.htm&amp;as=admin_thumbnail_display_filename&amp;ae=admin_thumbnail_display_filename_end'), //cpg1.4
-  //array('Vis albumbeskrivelse', 'alb_desc_thumb', 1, 'f=index.htm&amp;as=admin_thumbnail_display_description&amp;ae=admin_thumbnail_display_description_end'), //cpg1.4
-  array('Standard sorteringsrekkefølge for filer', 'default_sort_order', 3, 'f=index.htm&amp;as=admin_thumbnail_default_sortorder&amp;ae=admin_thumbnail_default_sortorder_end'), //cpg1.4
-  array('Minimum antall stemmer før en fil kommer med i \'Beste karakter\'listen', 'min_votes_for_rating', 0, 'f=index.htm&amp;as=admin_thumbnail_minimum_votes&amp;ae=admin_thumbnail_minimum_votes_end'), //cpg1.4
-
-  'Bildevisning', //cpg1.4
-  array('Bredde på tabellen ved filvisning (piksler eller %)', 'picture_table_width', 0, 'f=index.htm&amp;as=admin_image_comment_table-width&amp;ae=admin_image_comment_table-width_end'), //cpg1.4
-  array('Filinformasjon vises som standard', 'display_pic_info', 1, 'f=index.htm&amp;as=admin_image_comment_info_visible&amp;ae=admin_image_comment_info_visible_end'), //cpg1.4
-  array('Maksimal lengde for en bildebeskrivelse', 'max_img_desc_length', 0, 'f=index.htm&amp;as=admin_image_comment_descr_length&amp;ae=admin_image_comment_descr_length_end'), //cpg1.4
-  array('Maksimalt antall tegn i et ord', 'max_com_wlength', 0, 'f=index.htm&amp;as=admin_image_comment_chars_per_word&amp;ae=admin_image_comment_chars_per_word_end'), //cpg1.4
-  array('Vis filmsekvens', 'display_film_strip', 1, 'f=index.htm&amp;as=admin_image_comment_filmstrip_toggle&amp;ae=admin_image_comment_filmstrip_toggle_end'), //cpg1.4
-  array('Vis filnavn under miniatyrbilde til filmsekvens', 'display_film_strip_filename', 1, 'f=index.htm&amp;as=admin_image_comment_display_film_strip_filename&amp;ae=admin_image_comment_display_film_strip_filename_end'), //cpg1.4
-  array('Antall deler i filmsekvens', 'max_film_strip_items', 0, 'f=index.htm&amp;as=admin_image_comment_filmstrip_number&amp;ae=admin_image_comment_filmstrip_number_end'), //cpg1.4
-  array('Intervall i millisekunder for lysbildevisning (1 sekund = 1000 millisekunder)', 'slideshow_interval', 0, 'f=index.htm&amp;as=admin_image_comment_slideshow_interval&amp;ae=admin_image_comment_slideshow_interval_end'), //cpg1.4
-
-  'Kommentarinstillinger', //cpg1.4
-  array('Filtrer ufine ord i kommentarer', 'filter_bad_words', 1, 'f=index.htm&amp;as=admin_image_comment_bad_words&amp;ae=admin_image_comment_bad_words_end'), //cpg1.4
-  array('Tillat smilefjes i kommentarer', 'enable_smilies', 1, 'f=index.htm&amp;as=admin_image_comment_smilies&amp;ae=admin_image_comment_smilies_end'), //cpg1.4
-  array('Tillat flere etterfølgende kommentarer på en fil fra samme bruker (disable flood protection)', 'disable_comment_flood_protect', 1, 'f=index.htm&amp;as=admin_image_comment_flood&amp;ae=admin_image_comment_flood_end'), //cpg1.4
-  array('Maksimalt antall linjer i en kommentar', 'max_com_lines', 0, 'f=index.htm&amp;as=admin_image_comment_lines&amp;ae=admin_image_comment_lines_end'), //cpg1.4
-  array('Maksimal lengde på en kommentar', 'max_com_size', 0, 'f=index.htm&amp;as=admin_image_comment_length&amp;ae=admin_image_comment_length_end'), //cpg1.4
-  array('Varsle administrator om kommentarer på epost', 'email_comment_notification', 1, 'f=index.htm&amp;as=admin_image_comment_admin_notify&amp;ae=admin_image_comment_admin_notify_end'), //cpg1.4
-  array('Sorteringsrekkefølge på kommentarer', 'comments_sort_descending', 17, 'f=index.htm&amp;as=admin_comment_sort_start&amp;ae=admin_comment_sort_end'), //cpg1.4
-  array('Prefix for anonyme kommentarskrivere', 'comments_anon_pfx', 0, 'f=index.htm&amp;as=comments_anon_pfx&amp;ae=comments_anon_pfx_end'), //cpg1.4
-
-  'Fil- og miniatyrbildeinnstillinger',
-  array('Kvalitet på JPEG bilder', 'jpeg_qual', 0, 'f=index.htm&amp;as=admin_picture_thumbnail_jpeg_quality&amp;ae=admin_picture_thumbnail_jpeg_quality_end'), //cpg1.4
-  array('Maksimal dimensjon på miniatyrbilde <a href="#notice2" class="clickable_option">**</a>', 'thumb_width', 0, 'f=index.htm&amp;as=admin_picture_thumbnail_max-dimension&amp;ae=admin_picture_thumbnail_max-dimension_end'), //cpg1.4
-  array('Bruk dimensjon ( bredde, høyde eller eller maks bredde/høyde for mineatyrbilder ) <a href="#notice2" class="clickable_option">**</a>', 'thumb_use', 7, 'f=index.htm&amp;as=admin_picture_thumbnail_use-dimension&amp;ae=admin_picture_thumbnail_use-dimension_end'), //cpg1.4
-  array('Opprett bilder i mellomstørrelse','make_intermediate',1, 'f=index.htm&amp;as=admin_picture_thumbnail_intermediate_toggle&amp;ae=admin_picture_thumbnail_intermediate_toggle_end'), //cpg1.4
-  array('Maksimal bredde eller høyde på bilde/video i mellomstørrelse <a href="#notice2" class="clickable_option">**</a>', 'picture_width', 0, 'f=index.htm&amp;as=admin_picture_thumbnail_intermediate_dimension&amp;ae=admin_picture_thumbnail_intermediate_dimension_end'), //cpg1.4
-  array('Maksimal filstørrelse for opplastede filer (KB)', 'max_upl_size', 0, 'f=index.htm&amp;as=admin_picture_thumbnail_max_upload_size&amp;ae=admin_picture_thumbnail_max_upload_size_end'), //cpg1.4
-  array('Maks bredde eller høyde for opplastede bilder/videoer (piksler)', 'max_upl_width_height', 0, 'f=index.htm&amp;as=admin_picture_thumbnail_max_upload_dimension&amp;ae=admin_picture_thumbnail_max_upload_dimension_end'), //cpg1.4
-  array('Automatisk reduser størrelse på bilder som er større enn maksimal bredde eller høyde', 'auto_resize', 16, 'f=index.htm&amp;as=admin_picture_thumbnail_auto-resize&amp;ae=admin_picture_thumbnail_auto-resize_end'), //cpg1.4
-
-  'Filer og miniatyrbilder avanserte innstillinger',
-  array('Album kan settes som private (NB: dersom du bytter fra \'ja\' til \'nei\' vil eksisterende private album bli tilgjengelig for alle)', 'allow_private_albums', 1, 'f=index.htm&amp;as=admin_picture_thumb_advanced_private_toggle&amp;ae=admin_picture_thumb_advanced_private_toggle_end'), //cpg1.4
-  array('Vis Ikon for private album til anonyme brukere','show_private',1, 'f=index.htm&amp;as=admin_picture_thumb_advanced_private_icon_show&amp;ae=admin_picture_thumb_advanced_private_icon_show_end'), //cpg1.4
-  array('Ulovlige tegn i filnavn', 'forbiden_fname_char',0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_filename_forbidden_chars&amp;ae=admin_picture_thumb_advanced_filename_forbidden_chars_end'), //cpg1.4
-  //array('Tillatte filtyper for opplastede bilder', 'allowed_file_extensions',0, 'f=index.htm&amp;as=&amp;ae=_end'), //cpg1.4
-  array('Tillatte bildetyper', 'allowed_img_types',0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_pic_extensions&amp;ae=admin_picture_thumb_advanced_pic_extensions_end'), //cpg1.4
-  array('Tillatte filmtyper', 'allowed_mov_types',0, 'f=index.htm&amp;as=admin_thumbs_advanced_movie&amp;ae=admin_thumbs_advanced_movie_end'), //cpg1.4
-  array('Automatisk start videovisning', 'media_autostart',1, 'f=index.htm&amp;as=admin_movie_autoplay&amp;ae=admin_movie_autoplay_end'), //cpg1.4
-  array('Tillatte lydtyper', 'allowed_snd_types',0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_audio_extensions&amp;ae=admin_picture_thumb_advanced_audio_extensions_end'), //cpg1.4
-  array('Tillatte dokumenttyper', 'allowed_doc_types',0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_doc_extensions&amp;ae=admin_picture_thumb_advanced_doc_extensions_end'), //cpg1.4
-  array('Motode for endring av bildestørrelser','thumb_method',2, 'f=index.htm&amp;as=admin_picture_thumb_advanced_resize_method&amp;ae=admin_picture_thumb_advanced_resize_method_end'), //cpg1.4
-  array('Sti til ImageMagick \'konverterings\'-program (eksempel /usr/bin/X11/)', 'impath', 0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_im_path&amp;ae=admin_picture_thumb_advanced_im_path_end'), //cpg1.4
-  //array('Tillatte bildetype (kun for ImageMagick)', 'allowed_img_types',0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_allowed_imagetypes&amp;ae=admin_picture_thumb_advanced_allowed_imagetypes_end'), //cpg1.4
-  array('Kommandolinjeparameter til ImageMagick', 'im_options', 0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_im_commandline&amp;ae=admin_picture_thumb_advanced_im_commandline_end'), //cpg1.4
-  array('Les EXIFdata i JPEGfiler', 'read_exif_data', 13, 'f=index.htm&amp;as=admin_picture_thumb_advanced_exif&amp;ae=admin_picture_thumb_advanced_exif_end'), //cpg1.4
-  array('Les IPTCdata i JPEGfiler', 'read_iptc_data', 1, 'f=index.htm&amp;as=admin_picture_thumb_advanced_iptc&amp;ae=admin_picture_thumb_advanced_iptc_end'), //cpg1.4
-  array('Albummappe <a href="#notice1" class="clickable_option">*</a>', 'fullpath', 0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_albums_dir&amp;ae=admin_picture_thumb_advanced_albums_dir_end'), //cpg1.4
-  array('Katalog for brukerfiler <a href="#notice1" class="clickable_option">*</a>', 'userpics', 0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_userpics_dir&amp;ae=admin_picture_thumb_advanced_userpics_dir_end'), //cpg1.4
-  array('Prefix for bilder i mellomstørrelse <a href="#notice1" class="clickable_option">*</a>', 'normal_pfx', 0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_intermediate_prefix&amp;ae=admin_picture_thumb_advanced_intermediate_prefix_end'), //cpg1.4
-  array('Prefix for miniatyrbilder <a href="#notice1" class="clickable_option">*</a>', 'thumb_pfx', 0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_thumbs_prefix&amp;ae=admin_picture_thumb_advanced_thumbs_prefix_end'), //cpg1.4
-  array('Standard rettighetsmodus for mapper', 'default_dir_mode', 0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_chmod_folder&amp;ae=admin_picture_thumb_advanced_chmod_folder_end'), //cpg1.4
-  array('Standard rettighetsmodus for filer', 'default_file_mode', 0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_chmod_files&amp;ae=admin_picture_thumb_advanced_chmod_files_end'), //cpg1.4
-
-  'Brukerinstillinger',
-  array('Tillat nye brukerregistreringer', 'allow_user_registration', 1, 'f=index.htm&amp;as=admin_allow_registration&amp;ae=admin_allow_registration_end'), //cpg1.4
-  array('Tillat ikke-innloggede (gjester eller anonyme) brukere', 'allow_unlogged_access', 1, 'f=index.htm&amp;as=admin_allow_unlogged_access&amp;ae=admin_allow_unlogged_access_end'), //cpg1.4
-  array('Brukerregistrering krever bekreftelse på epost', 'reg_requires_valid_email', 1, 'f=index.htm&amp;as=admin_registration_verify&amp;ae=admin_registration_verify_end'), //cpg1.4
-  array('Varsle administrator pr. epost ved nye brukerregistreringer', 'reg_notify_admin_email', 1, 'f=index.htm&amp;as=admin_registration_notify&amp;ae=admin_registration_notify_end'), //cpg1.4
-  array('Administrator må aktivere brukerregistreringer', 'admin_activation', 1, 'f=index.htm&amp;as=admin_activation&amp;ae=admin_activation_end'),  //cpg1.4
-  array('Tillat to brukere å ha samme epostadresse', 'allow_duplicate_emails_addr', 1, 'f=index.htm&amp;as=admin_allow_duplicate_emails_addr&amp;ae=admin_allow_duplicate_emails_addr_end'), //cpg1.4
-  array('Varsle administrator pr. epost når filer blir lastet opp til godkjennelse', 'upl_notify_admin_email', 1, 'f=index.htm&amp;as=admin_approval_notify&amp;ae=admin_approval_notify_end'), //cpg1.4
-  array('La innloggede brukere se medlemslisten', 'allow_memberlist', 1, 'f=index.htm&amp;as=admin_user_memberlist&amp;ae=admin_user_memberlist_end'), //cpg1.4
-  array('Tillat brukere å endre epostadresse i sin prifil', 'allow_email_change', 1, 'f=index.htm&amp;as=admin_user_allow_email_change&amp;ae=admin_user_allow_email_change_end'), //cpg1.4
-  array('La brukere ta kontroll over deres egne filer i offentlige gallerier', 'users_can_edit_pics', 1, 'f=index.htm&amp;as=admin_user_editpics_public_start&amp;ae=admin_user_editpics_public_end'), //cpg1.4
-  array('Antall mislykkede innloggingsforsøk før midlertidig utestengelse (for å unngå brute force attacks)', 'login_threshold', 0, 'f=index.htm&amp;as=admin_user_login_start&amp;ae=admin_user_login_end'), //cpg1.4
-  array('Tidsintervall for midlertidig utestengelse etter mislykkede innloggingsforsøk', 'login_expiry', 0, 'f=index.htm&amp;as=admin_user_login_start&amp;ae=admin_user_login_end'), //cpg1.4
-  array('Slå på rapportering tiladministrator', 'report_post', 1, 'f=index.htm&amp;as=admin_user_enable_report&amp;ae=admin_user_enable_report_end'),  //cpg1.4
-
-// custom profile fields,  //cpg1.4
-  'Egendefinerte felter for brukerprofil (la stå tomme om dette ikke brukes).
-  Bruk Profil 6 for lange attributter, som biografi', //cpg1.4
-  array('Navn på profil 1', 'user_profile1_name', 0, 'f=index.htm&amp;as=admin_custom&amp;ae=admin_custom_end'), //cpg1.4
-  array('Navn på profil 2', 'user_profile2_name', 0), //cpg1.4
-  array('Navn på profil 3', 'user_profile3_name', 0), //cpg1.4
-  array('Navn på profil 4', 'user_profile4_name', 0), //cpg1.4
-  array('Navn på profil 5', 'user_profile5_name', 0), //cpg1.4
-  array('Navn på profil 6', 'user_profile6_name', 0), //cpg1.4
-
-  'Egendefinerte felter for bildebeskrivelser (la stå tomme om dette ikke brukes)',
-  array('Navn på felt 1', 'user_field1_name', 0, 'f=index.htm&amp;as=admin_custom_image&amp;ae=admin_custom_image_end'), //cpg1.4
-  array('Navn på felt 2', 'user_field2_name', 0),
-  array('Navn på felt 3', 'user_field3_name', 0),
-  array('Navn på felt 4', 'user_field4_name', 0),
-
-  'Cookieinstillinger',
-  array('Cookienavn', 'cookie_name', 0, 'f=index.htm&amp;as=admin_cookie_name&amp;ae=admin_cookie_name_end'), //cpg1.4
-  array('Cookiesti', 'cookie_path', 0, 'f=index.htm&amp;as=admin_cookie_path&amp;ae=admin_cookie_path_end'), //cpg1.4
-
-  'Epostinstillinger (må som regel ikke forandres; la alle feltene stå tomme om du ikke er sikker)', //cpg1.4
-  array('SMTP maskinnavn (derom ikke spesifisert vil sendmail bli brukt)', 'smtp_host', 0, 'f=index.htm&amp;as=admin_email&amp;ae=admin_email_end'), //cpg1.4
-  array('SMTP brukernavn', 'smtp_username', 0), //cpg1.4
-  array('SMTP passord', 'smtp_password', 0), //cpg1.4
-
-  'Logging og statistikk', //cpg1.4
-  array('Loggmodus <a href="#notice3" class="clickable_option">***</a>', 'log_mode', 11, 'f=index.htm&amp;as=admin_logging_log_mode&amp;ae=admin_logging_log_mode_end'), //cpg1.4
-  array('Loggfør ekort', 'log_ecards', 1, 'f=index.htm&amp;as=admin_general_log_ecards&amp;ae=admin_general_log_ecards_end'), //cpg1.4
-  array('Spar detaljert statistikk for karaktergivning','vote_details',1, 'f=index.htm&amp;as=admin_logging_votedetails&amp;ae=admin_logging_votedetails_end'), //cpg1.4
-  array('Spar detaljert statistikk for visninger','hit_details',1, 'f=index.htm&amp;as=admin_logging_hitdetails&amp;ae=admin_logging_hitdetails_end'), //cpg1.4
-
-  'Vedlikeholdsinstillinger', //cpg1.4
-  array('Slå på avlusningsmodus', 'debug_mode', 9, 'f=index.htm&amp;as=debug_mode&amp;ae=debug_mode_end'), //cpg1.4
-  array('Vis notices i avlusningsmodus', 'debug_notice', 1, 'f=index.htm&amp;as=admin_misc_debug_notices&amp;ae=admin_misc_debug_notices_end'), //cpg1.4
-  array('Marker gallieret som offline', 'offline', 1, 'f=index.htm&amp;as=admin_general_offline&amp;ae=admin_general_offline_end'), //cpg1.4
-);
-
-
-// ------------------------------------------------------------------------- //
-// File db_ecard.php
-// ------------------------------------------------------------------------- //
-
-if (defined('DB_ECARD_PHP')) $lang_db_ecard_php = array(
-  'title' => 'Sendte ekort',
-  'ecard_sender' => 'Avsender',
-  'ecard_recipient' => 'Mottaker',
-  'ecard_date' => 'Dato',
-  'ecard_display' => 'Vis ekort',
-  'ecard_name' => 'Navn',
-  'ecard_email' => 'Epost',
-  'ecard_ip' => 'IP #',
-  'ecard_ascending' => 'i stigende rekkefølge',
-  'ecard_descending' => 'i synkende rekkefølge',
-  'ecard_sorted' => 'Sortert',
-  'ecard_by_date' => 'etter dato',
-  'ecard_by_sender_name' => 'etter avsenders navn',
-  'ecard_by_sender_email' => 'etter avsenders epost',
-  'ecard_by_sender_ip' => 'etter senders IP adresse',
-  'ecard_by_recipient_name' => 'etter mottakers name',
-  'ecard_by_recipient_email' => 'etter mottakers epost',
-  'ecard_number' => 'viser ekortnummer %s til %s av %s',
-  'ecard_goto_page' => 'gå til side',
-  'ecard_records_per_page' => 'Ekort per side',
-  'check_all' => 'Marker alle',
-  'uncheck_all' => 'Avmarker alle',
-  'ecards_delete_selected' => 'Slett valgte ekort',
-  'ecards_delete_confirm' => 'Er du sikker på at du vil slette valgte ekort? Marker avkryssningsfeltet!',
-  'ecards_delete_sure' => 'Jeg er sikker',
-);
-
-
-// ------------------------------------------------------------------------- //
-// File db_input.php
-// ------------------------------------------------------------------------- //
-
-if (defined('DB_INPUT_PHP')) $lang_db_input_php = array(
-  'empty_name_or_com' => 'Du må skrive både navn og kommentar',
-  'com_added' => 'Din kommentar er lagt inn',
-  'alb_need_title' => 'Du må legge inn en tittel på albumet!',
-  'no_udp_needed' => 'Ingen oppdatering nødvendig.',
-  'alb_updated' => 'Albumet ble oppdatert',
-  'unknown_album' => 'Det valgte albumet eksisterer ikke, eller du har ikke tillatelse til å laste opp filer i dette albumet',
-  'no_pic_uploaded' => 'Det ble ikke lastet opp noen fil!<br /><br />Hvis du virkelig valgte en fil så sjekk om serveren tillater opplasting',
-  'err_mkdir' => 'Kunne ikke lage en katalog %s !',
-  'dest_dir_ro' => 'Katalogen %s kan ikke skrives til av dette skriptet !',
-  'err_move' => 'Umulig å flytte %s til %s !',
-  'err_fsize_too_large' => 'Filen du lastet opp er for stor (maksimalt tillatt størrelse er %s x %s). !', //obsolete since cpg1.3 - consider removal in cpg1.4 once upload.php has been overhauled
-  'err_imgsize_too_large' => 'Filen du lastet opp er for stor (maksimalt tillatt størrelse er %s KB) !', //obsolete since cpg1.3 - consider removal in cpg1.4 once upload.php has been overhauled
-  'err_invalid_img' => 'Filen du har lastet opp er ikke en gyldig bildefil !',
-  'allowed_img_types' => 'Du kan bare laste opp %s filer.',
-  'err_insert_pic' => 'Bildet \'%s\' kan ikke legges inn i albumet',
-  'upload_success' => 'Opplastingen av bildet ditt var vellykket<br /><br />Det vil bli tilgjengelig etter at administrator har godkjent det.',
-  'notify_admin_email_subject' => '%s - Opplastningsvarsel',
-  'notify_admin_email_body' => 'En fil har blitt lastet opp av %s, det trenger din godkjennelse. Gå til %s',
-  'info' => 'Informasjon',
-  'com_added' => 'Kommentar tagt inn',
-  'alb_updated' => 'Album oppdatert',
-  'err_comment_empty' => 'Din kommentar er tom!',
-  'err_invalid_fext' => 'Kun disse filtypene er akseptert : <br /><br />%s.',
-  'no_flood' => 'Du er allerede den siste som har kommentert denne filen<br /><br />Vennligst rediger din forrige kommentar istedet',
-  'redirect_msg' => 'Du blir omdirigert.<br /><br /><br />Trykk \'FORTSETT\' dersom siden ikke lastes automatisk',
-  'upl_success' => 'Din fil ble lagt inn',
-  'email_comment_subject' => 'Kommentar lagt inn på Coppermine Photo Gallery',
-  'email_comment_body' => 'Noen har lagt inn en kommentar i ditt galleri. Se kommentaren på',
-  'album_not_selected' => 'Album ikke valgt', //cpg1.4
-  'com_author_error' => 'En registrert bruker har allerede dette navnet, logg inn eller bruk et annet', //cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File delete.php
-// ------------------------------------------------------------------------- //
-
-if (defined('DELETE_PHP')) $lang_delete_php = array(
-  'caption' => 'Beskrivelse',
-  'fs_pic' => 'Full størrelse',
-  'del_success' => 'slettet',
-  'ns_pic' => 'normal størrelse',
-  'err_del' => 'kan ikke slettes',
-  'thumb_pic' => 'miniatyrbilde',
-  'comment' => 'kommentar',
-  'im_in_alb' => 'bilde i album',
-  'alb_del_success' => 'Album &laquo;%s&raquo; slettet', //cpg1.4
-  'alb_mgr' => 'Albumadministrasjon',
-  'err_invalid_data' => 'Ugyldig data mottatt i \'%s\'',
-  'create_alb' => 'Oppretter album \'%s\'',
-  'update_alb' => 'Oppdaterer album \'%s\' med tittel \'%s\' og index \'%s\'',
-  'del_pic' => 'Slett fil',
-  'del_alb' => 'Slett album',
-  'del_user' => 'Slett bruker',
-  'err_unknown_user' => 'Den valgte brukeren eksisterer ikke!',
-  'err_empty_groups' => 'Det finnes ingen gruppetabell, eller gruppetabellen er tom!', //cpg1.4
-  'comment_deleted' => 'Kommentar ble slettet',
-  'npic' => 'Bilde', //cpg1.4
-  'pic_mgr' => 'Bildeadministrasjon', //cpg1.4
-  'update_pic' => 'Oppdaterer bilde \'%s\' med navn \'%s\' og index \'%s\'', //cpg1.4
-  'username' => 'Brukernavn', //cpg1.4
-  'anonymized_comments' => '%s kommentarer anonymisert', //cpg1.4
-  'anonymized_uploads' => '%s offentlige opplastninger anonymisert', //cpg1.4
-  'deleted_comments' => '%s kommentarer slettet', //cpg1.4
-  'deleted_uploads' => '%s offentlige opplastninger slettet', //cpg1.4
-  'user_deleted' => 'bruker %s slettet', //cpg1.4
-  'activate_user' => 'Aktiver bruker', //cpg1.4
-  'user_already_active' => 'Konto allerede aktiv', //cpg1.4
-  'activated' => 'Aktivert', //cpg1.4
-  'deactivate_user' => 'Deaktiver bruker', //cpg1.4
-  'user_already_inactive' => 'Konto allerede inaktiv', //cpg1.4
-  'deactivated' => 'Deaktivert', //cpg1.4
-  'reset_password' => 'Resett passord', //cpg1.4
-  'password_reset' => 'Passord resatt til %s', //cpg1.4
-  'change_group' => 'Skift primærgruppe', //cpg1.4
-  'change_group_to_group' => 'Endrer fra %s til %s', //cpg1.4
-  'add_group' => 'Legg til sekundær gruppe', //cpg1.4
-  'add_group_to_group' => 'Legger bruker %s til gruppe %s. Brukeren er nå primærmedlem av gruppen %s og sekundærmedlem av gruppen %s.', //cpg1.4
-  'status' => 'Status', //cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File displayecard.php
-// ------------------------------------------------------------------------- //
-
-if (defined('DISPLAYECARD_PHP')) {
-
-$lang_displayecard_php = array(
-  'invalid_data' => 'Dataene i ekortet du prøver å se har blitt endret av din epostleser. Sjekk om linken er hel, eller om den f.eks. har delt seg over flere linjer.', //cpg1.4
-);
-}
-
-// ------------------------------------------------------------------------- //
-// File displayimage.php
-// ------------------------------------------------------------------------- //
-
-if (defined('DISPLAYIMAGE_PHP')){
-
-$lang_display_image_php = array(
-  'confirm_del' => 'Er du sikker på at du vil slette denne filen? \\nKommentarer vil også bli slettet.', //js-alert
-  'del_pic' => 'SLETT DENNE FILEN',
-  'size' => '%s x %s piksler',
-  'views' => '%s ganger',
-  'slideshow' => 'Lysbildeshow',
-  'stop_slideshow' => 'STOPP LYSBILDESHOW',
-  'view_fs' => 'Klikk for å vise bildet i full størrelse',
-  'edit_pic' => 'Endre beskrivelse', //cpg1.4
-  'crop_pic' => 'Klipp eller roter',
-  'set_player' => 'Skift avspiller',
-);
-
-$lang_picinfo = array(
-  'title' =>'Filinformasjon',
-  'Filename' => 'Filnavn',
-  'Album name' => 'Albumnavn',
-  'Rating' => 'Karakter (%s stemmer)',
-  'Keywords' => 'Nøkkelord',
-  'File Size' => 'Filstørrelse',
-  'Date Added' => 'Dato lagt inn', //cpg1.4
-  'Dimensions' => 'Dimensjoner',
-  'Displayed' => 'Visninger',
-  'URL' => 'URL', //cpg1.4
-  'Make' => 'Make', //cpg1.4
-  'Model' => 'Modell', //cpg1.4
-  'DateTime' => 'Dato og tid', //cpg1.4
-  'DateTimeOriginal' => 'Dato tatt', //cpg1.4
-  'ISOSpeedRatings'=>'ISO', //cpg1.4
-  'MaxApertureValue' => 'Max Blenderåpning', //cpg1.4
-  'FocalLength' => 'Brennvidde', //cpg1.4
-  'Comment' => 'Kommentar',
-  'addFav'=>'Legg til favoritter',
-  'addFavPhrase'=>'Favoritter',
-  'remFav'=>'Fjern fra favoritter',
-  'iptcTitle'=>'IPTC Tittel',
-  'iptcCopyright'=>'IPTC-Opphavsrett',
-  'iptcKeywords'=>'IPTC-Nøkkelord',
-  'iptcCategory'=>'IPTC-Kategori',
-  'iptcSubCategories'=>'IPTC-Underkategori',
-  'ColorSpace' => 'Fargerom', //cpg1.4
-  'ExposureProgram' => 'Eksponeringsprogram', //cpg1.4
-  'Flash' => 'Blits', //cpg1.4
-  'MeteringMode' => 'Lysmålingsmodus', //cpg1.4
-  'ExposureTime' => 'Eksponeringstid', //cpg1.4
-  'ExposureBiasValue' => 'EksponeringsBias', //cpg1.4
-  'ImageDescription' => ' Bildebeskrivelse', //cpg1.4
-  'Orientation' => 'Orientering', //cpg1.4
-  'xResolution' => 'X oppløsning', //cpg1.4
-  'yResolution' => 'Y oppløsning', //cpg1.4
-  'ResolutionUnit' => 'Oppløsningsenhet', //cpg1.4
-  'Software' => 'Programvare', //cpg1.4
-  'YCbCrPositioning' => 'YCbCrPosisjonering', //cpg1.4
-  'ExifOffset' => 'Exif Offset', //cpg1.4
-  'IFD1Offset' => 'IFD1 Offset', //cpg1.4
-  'FNumber' => 'FNumber', //cpg1.4
-  'ExifVersion' => 'Exif Versjon', //cpg1.4
-  'DateTimeOriginal' => 'Original dato og tid', //cpg1.4
-  'DateTimedigitized' => 'Digitalisert dato og tid', //cpg1.4
-  'ComponentsConfiguration' => 'Komponentkonfigurasjon', //cpg1.4
-  'CompressedBitsPerPixel' => 'Komprimerte Bits pr piksel', //cpg1.4
-  'LightSource' => 'Lyskilde', //cpg1.4
-  'ISOSetting' => 'ISOinstilling (følsomhet)', //cpg1.4
-  'ColorMode' => 'Fargemodus', //cpg1.4
-  'Quality' => 'Kvalitet', //cpg1.4
-  'ImageSharpening' => 'Bildeskarping', //cpg1.4
-  'FocusMode' => 'Fokusmodus', //cpg1.4
-  'FlashSetting' => 'Blitssetting', //cpg1.4
-  'ISOSelection' => 'ISO Valg', //cpg1.4
-  'ImageAdjustment' => 'ildeinstilling', //cpg1.4
-  'Adapter' => 'Adapter', //cpg1.4
-  'ManualFocusDistance' => 'Manuell fokusavstand', //cpg1.4
-  'DigitalZoom' => 'Digital Zoom', //cpg1.4
-  'AFFocusPosition' => 'AF Focus Position', //cpg1.4
-  'Saturation' => 'Fargemetning', //cpg1.4
-  'NoiseReduction' => 'Støyreduksjon', //cpg1.4
-  'FlashPixVersion' => 'Blits Pixversjon', //cpg1.4
-  'ExifImageWidth' => 'Exif Bildebredde', //cpg1.4
-  'ExifImageHeight' => 'Exif Bildehøyde', //cpg1.4
-  'ExifInteroperabilityOffset' => 'Exif Interoperability Offset', //cpg1.4
-  'FileSource' => 'Filkilde', //cpg1.4
-  'SceneType' => 'Scene Type', //cpg1.4
-  'CustomerRender' => 'Customer Render', //cpg1.4
-  'ExposureMode' => 'Eksponeringsmodus', //cpg1.4
-  'WhiteBalance' => 'Hvitbalanse', //cpg1.4
-  'DigitalZoomRatio' => 'Digital Zoom Ratio', //cpg1.4
-  'SceneCaptureMode' => 'Scene Capture Mode', //cpg1.4
-  'GainControl' => 'Gainkontroll', //cpg1.4
-  'Contrast' => 'Kontrast', //cpg1.4
-  'Saturation' => 'Fargemetning', //cpg1.4
-  'Sharpness' => 'Skarping', //cpg1.4
-  'ManageExifDisplay' => 'Oppdater Exifvisning', //cpg1.4
-  'submit' => 'Send inn', //cpg1.4
-  'success' => 'Informasjonen ble oppdatert.', //cpg1.4
-  'details' => 'Detaljer', //cpg1.4
-);
-
-$lang_display_comments = array(
-  'OK' => 'OK',
-  'edit_title' => 'Rediger denne kommentaren',
-  'confirm_delete' => 'Er du sikker på at du vil slette denne kommentaren?', //js-alert
-  'add_your_comment' => 'Legg til din kommentar',
-  'name'=>'Navn',
-  'comment'=>'Kommentar',
-  'your_name' => 'Anonym',
-  'report_comment_title' => 'Rapporter denne kommentaren til administrator', //cpg1.4
-);
-
-$lang_fullsize_popup = array(
-  'click_to_close' => 'Klikk på bildet for å lukke viduet',
-);
-
-}
-
-// ------------------------------------------------------------------------- //
-// File ecard.php
-// ------------------------------------------------------------------------- //
-
-if (defined('ECARDS_PHP') || defined('DISPLAYECARD_PHP')) $lang_ecard_php =array(
-  'title' => 'Send et ekort',
-  'invalid_email' => '<font color="red"><b>Advarsel</b></font>: ugyldig epostadresse:', //cpg1.4
-  'ecard_title' => 'Et ekort fra %s til deg',
-  'error_not_image' => 'Bare bilder kan sendes som ekort.',
-  'view_ecard' => 'Hvis kortet ikke vises riktig, klikk her', //cpg1.4
-  'view_ecard_plaintext' => 'For å se ekortet, kopier denne URLen til din nettlesers adresselinje:', //cpg1.4
-  'view_more_pics' => 'Klikk på denne linken for flere bilder!', //cpg1.4
-  'send_success' => 'Ditt ekort ble sendt',
-  'send_failed' => 'Beklager, serveren kunne ikke sende Ekortet ditt...',
-  'from' => 'Fra',
-  'your_name' => 'Ditt navn',
-  'your_email' => 'Din epostadresse',
-  'to' => 'Til',
-  'rcpt_name' => 'Mottakers navn',
-  'rcpt_email' => 'Mottakers epostadresse',
-  'greetings' => 'Overskrift', //cpg1.4
-  'message' => 'Melding', //cpg1.4
-  'ecards_footer' => 'Sendt av %s fra IP %s klokken %s (Galleritid)', //cpg1.4
-  'preview' => 'Forhåndsvisning av ekort', //cpg1.4
-  'preview_button' => 'Vis', //cpg1.4
-  'submit_button' => 'Send ekort', //cpg1.4
-  'preview_view_ecard' => 'Dette vil bli den alternative linken til ekortet med en gang det er laget. Det vil ikke virke for forhåndsvisninger.', //cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File report_file.php //cpg1.4
-// ------------------------------------------------------------------------- //
-
-if (defined('REPORT_FILE_PHP') || defined('DISPLAYREPORT_PHP')) $lang_report_php =array(
-  'title' => 'Rapporter til administrator', //cpg1.4
-  'invalid_email' => '<b>Advarsel</b> : ugyldig epostadresse !', //cpg1.4
-  'report_subject' => 'En rapport fra %s på galleri %s', //cpg1.4
-  'view_report' => 'Alternativ link dersom rapporten ikke vises skikkelig', //cpg1.4
-  'view_report_plaintext' => 'For å se på rapporten, kopier denne URL til adressefeltet i din nettleser :', //cpg1.4
-  'view_more_pics' => 'Galleri', //cpg1.4
-  'send_success' => 'Din rapport ble sendt', //cpg1.4
-  'send_failed' => 'Beklager, men serveren kan ikke sende din rapport...', //cpg1.4
-  'from' => 'Fra', //cpg1.4
-  'your_name' => 'Ditt navn', //cpg1.4
-  'your_email' => 'Din epostadresse', //cpg1.4
-  'to' => 'Til', //cpg1.4
-  'administrator' => 'Administrator / Moderator', //cpg1.4
-  'subject' => 'Emne', //cpg1.4
-  'comment_field_name' => 'Rapporterer kommentar av "%s"', //cpg1.4
-  'reason' => 'Årsak', //cpg1.4
-  'message' => 'Melding', //cpg1.4
-  'report_footer' => 'Sendt av %s fra IP %s klokken %s (Galleritid)', //cpg1.4
-  'obscene' => 'uanstendig', //cpg1.4
-  'offensive' => 'støtende', //cpg1.4
-  'misplaced' => 'utenfor emne/feilplassert', //cpg1.4
-  'missing' => 'manglende', //cpg1.4
-  'issue' => 'feil/kan ikke vises', //cpg1.4
-  'other' => 'andre', //cpg1.4
-  'refers_to' => 'Filrapport refererer til', //cpg1.4
-  'reasons_list_heading' => 'årsak(er) for rapport:', //cpg1.4
-  'no_reason_given' => 'ingen årsak ble gitt', //cpg1.4
-  'go_comment' => 'Gå til kommentar', //cpg1.4
-  'view_comment' => 'Se full rapport med kommentar', //cpg1.4
-  'type_file' => 'fil', //cpg1.4
-  'type_comment' => 'kommentar', //cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File editpics.php
-// ------------------------------------------------------------------------- //
-
-if (defined('EDITPICS_PHP')) $lang_editpics_php = array(
-  'pic_info' => 'Filinformasjon',
-  'album' => 'Album',
-  'title' => 'Tittel',
-  'filename' => 'Filnavn', //cpg1.4
-  'desc' => 'Beskrivelse',
-  'keywords' => 'Nøkkelord',
-  'new_keyword' => 'Nytt nøkkelord', //cpg1.4
-  'new_keywords' => 'Nytt nøkkelord funnet', //cpg1.4
-  'existing_keyword' => 'Eksisterende nøkkelord', //cpg1.4
-  'pic_info_str' => '%s &times; %s - %s KB - %s visninger - %s stemmer',
-  'approve' => 'Godkjenn fil',
-  'postpone_app' => 'Utsett godkjenning',
-  'del_pic' => 'Slett fil',
-  'del_all' => 'Slett ALLE filer', //cpg1.4
-  'read_exif' => 'Les EXIFinformasjon på nytt',
-  'reset_view_count' => 'Resett visningsteller',
-  'reset_all_view_count' => 'Resett ALLE visningstellere', //cpg1.4
-  'reset_votes' => 'Resett stemmer',
-  'reset_all_votes' => 'Resett ALLE stemmer', //cpg1.4
-  'del_comm' => 'Slett kommentarer',
-  'del_all_comm' => 'Slett ALLE kommentarer', //cpg1.4
-  'upl_approval' => 'Godkjenning av opplastning', //cpg1.4
-  'edit_pics' => 'Endre filer',
-  'see_next' => 'Se neste filer',
-  'see_prev' => 'Se forrige filer',
-  'n_pic' => '%s filer',
-  'n_of_pic_to_disp' => 'Antall filer å vise',
-  'apply' => 'Effektuer endringer',
-  'crop_title' => 'Coppermine Picture Editor',
-  'preview' => 'Forhåndsvis',
-  'save' => 'Lagre bilde',
-  'save_thumb' =>'Lagre som miniatyrbilde',
-  'gallery_icon' => 'Gjør dette til mitt ikon', //cpg1.4
-  'sel_on_img' =>'Utsnittet må i sin helhet være en del av bildet!', //js-alert
-  'album_properties' =>'Albumegenskaper', //cpg1.4
-  'parent_category' =>'Foreldrekategori', //cpg1.4
-  'thumbnail_view' =>'Miniatyrbildevisning', //cpg1.4
-  'select_unselect' =>'marker/avmarker alle', //cpg1.4
-  'file_exists' => "Filen '%s' finnes allerede.", //cpg1.4
-  'rename_failed' => "Kunne ikke endre navn '%s' til '%s'.", //cpg1.4
-  'src_file_missing' => "Kildefilen '%s' mangler.", // cpg 1.4
-  'mime_conv' => "Kunne ikke konvertere filen fra '%s' til '%s'",//cpg1.4
-  'forb_ext' => 'Ulovlig filending.',//cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File faq.php
-// ------------------------------------------------------------------------- //
-
-if (defined('FAQ_PHP')) $lang_faq_php = array(
-  'faq' => 'Spørsmål og Svar',
-  'toc' => 'Innholdsfortegnelse',
-  'question' => 'Spørsmål: ',
-  'answer' => 'Svar: ',
-);
-
-if (defined('FAQ_PHP')) $lang_faq_data = array(
-  'Generelle Spørsmål og Svar',
-  array('Hvorfor må jeg registrere meg?', 'Registrering kan være påkrevd av administrator. Registrering gir medlemmene utvidede rettigheter som opplastning av egne filer, registrering av egne favoritter, karaktergivning og kommentering av andres filer etc.', 'allow_user_registration', '1'),
-  array('Hvordan registrerer jeg meg?', 'Gå til &quot;Registrer&quot; og fyll inn de nødvendige feltene (alle dersom du ønsker det).<br />Har Administrator aktivert funksjonen for epost aktivering skal du motta en epost til den adressen du oppga med instruksjoner om hvordan du kan aktivere medlemskapet ditt. Medlemskapet må da aktiveres før du kan logge inn.', 'allow_user_registration', '1'), //cpg1.4
-  array('Hvordan logger jeg inn?', 'Gå til &quot;Logg inn&quot;, legg inn ditt brukernavn og passord og marker &quot;Husk meg&quot; slik at du automatisk blir logget inn neste gang dersom du forlater dette nettstedet.<br /><b>VIKTIG:Cookies må være aktivert og cookien fra denne siten kan ikke slettes dersom du vil bruke &quot;Husk meg&quot; funksjonen.</b>', 'offline', 0),
-  array('Hvorfor kan jeg ikke logge inn?', 'Har du registrert deg, og klikket på linken sendt til din epostadresse?. Denne linken vil aktivere din konto. For andre innloggingsproblemer kontakt administrator.', 'offline', 0),
-  array('Hva skjer dersom jeg mister passordet mitt?', 'Dersom denne siten har en &quot;Glemt passordet?&quot; link kan du bruke den. Ellers kan du kontakte administrator for et nytt passord.', 'offline', 0),
-  //array('Hva skjer dersom jeg endrer epostadresse?', 'Bare logg inn og endre epostadressen din gjennom &quot;Min Profil&quot;', 'offline', 0),
-  array('Hvordan lagrer jeg en fil i &quot;Mine Favoritter&quot;?', 'Klikk på en fil, og klikk så på &quot;Vis/skjul filinformasjon&quot; linken (<img src="images/info.gif" width="16" height="16" border="0" alt="Filinformasjon" />); Skroll ned til filinformasjonen og klikk &quot;Legg til i favoritter&quot;.<br />Administrator kan allerede ha slått på &quot;Vis/skjul filinformasjon&quot; on by default.<br />VIKTIG:Cookies må være aktivert og cookiene fra denne sitem kan ikke slettes.', 'offline', 0),
-  array('Hvordan gir jeg karakter til en fil?', 'Klikk på et miniatyrbilde, gå nederst og velg en karakter.', 'offline', 0),
-  array('Hvordan kommenterer jeg en fil?', 'Klikk på et miniatyrbilde, gå nederst og legg inn en kommentar.', 'offline', 0),
-  array('Hvordan laster jeg opp en fil?', 'Gå til &quot;Last opp fil&quot;og velg et album du vil laste opp til, klikk på &quot;Browse,&quot; finn filen som skal lastes opp og klikk &quot;open&quot; (legg til en tittel og en beskrivelse om du vil). Klikk så &quot;Submit&quot;.<br /><br />Alternativt kan brukere med <b>Windows XP</b> laste opp flere filer direkte til deres egne album vedå bruke den innebygde Publishing wizard.<br />For instruksjoner på hvordan, hent den påkrevde registerfilen, og klikk <a href="xp_publish.php">her.</a>', 'allow_private_albums', 1), //cpg1.4
-  array('Hvor havner filene jeg laster opp?', 'Du kan laste opp en fil til en av dine album i &quot;Mitt Galleri&quot;. Administrator kan også tilllate deg å laste opp filer til en eller flere av de andre albumene i galleriet.', 'allow_private_albums', 0),
-  array('Hvilke typer filer og i hvilke størrelser kan jeg laste opp?', 'Tillatte filstørrelser og filtyper (jpg, png, etc.) bestemmes av administrator.', 'offline', 0),
-  array('Hvordan lager, endrer eller sletter jeg album i &quot;Mitt Galleri&quot;?', 'Gå til &quot;Adminmodus&quot;<br />. Gå så til &quot;Opprett / ordne mine album&quot; og klikk &quot;Ny&quot;. Endre &quot;Nytt Album&quot; til ditt nye navn.<br />Du kan endre navn på alle album i ditt galleri.<br />Klikk &quot;Lagre endringer&quot;.', 'allow_private_albums', 0),
-  array('Hvordan kan jeg endre og begrense brukere som kan se mine album?', 'Gå til &quot;Adminmodus&quot;<br /> Gå så til &quot;Endre Mine Album&quot;. På &quot;Oppdater album&quot; linjen, velg albumet du vil endre.<br />Her kan du endre navn, beskrivelse, miniatyrbilde, begrense tilgang og kommentar/karaktertillatelser.<br />Klikk &quot;Oppdater album&quot;.', 'allow_private_albums', 0),
-  array('Hvordan kan jeg se andre brukeres gallerier?', 'Gå til &quot;Albumliste&quot; og velg &quot;Brukergallerier&quot;.', 'allow_private_albums', 0),
-  array('Hva er cookies?', 'Cookies er tekstdata som blir sendt fra et nettsted som blir lagret på din datamaskin.<br />Cookies sørger normalt for at en bruker kan returnere til nettstedet uten å måtte logge inn igjen m.m.', 'offline', 0),
-  array('Hvor kan jeg finne dette programmet til mitt eget nettsted?', 'Coppermine er et gratis multimediagalleri, utgitt under GNU GPL lisens. Det er fullt av funksjoner, og har blitt oversatt til diverse andre platformer. Besøk <a href="http://coppermine-gallery.net/">Coppermines hjemmeside</a> for å finne ut mer, og for å laste ned.', 'offline', 0),
-
-  'Navigering',
-  array('Hva er &quot;Albumliste&quot;?', 'Dette vil vise deg hele kategorien du befinner deg i, med en link til hvert album. Dersom du ikke er i en kategori viser det hele galleriet med en link til hver kategori. Miniatyrbilder kan være en link til kategorien.', 'offline', 0),
-  array('Hva er &quot;Mitt Galleri&quot;?', 'Dette lar brukere lage deres egne gallerier og legge til, slette eller endre album.', 'allow_private_albums', 1), //cpg1.4
-  array('Hva er forskjellen mellom &quot;Adminmodus&quot; og &quot;Brukermodus&quot;?', 'I adminmodus las brukeren endre deres egne gallerier (eller andres dersom brukeren er en administrator).', 'allow_private_albums', 0),
-  array('Hva er &quot;Last opp fil&quot;?', 'Dette lar brukeren laste opp filer (størrelse og type er bestemt av administrator) til et galleri valgt enten av brukeren eller av administrator.', 'allow_private_albums', 0),
-  array('Hva er &quot;Siste opplastninger&quot;?', 'Dette viser galleriets sist opplastede filer.', 'offline', 0),
-  array('Hva er &quot;Siste kommentarer&quot;?', 'Dette viser de seneste filene noen brukere har lagt inn kommentar på.', 'offline', 0),
-  array('Hva er &quot;Mest sett&quot;?', 'Dette viser de filene som er mest sett av brukere (enten de er logget på eller ikke).', 'offline', 0),
-  array('Hva er &quot;Beste karakter&quot;?', 'Dette viser de filene som har fått best karakter av andre brukere. Det viser gjennomsnittelig karaktaer (f.eks: fem brukere ga <img src="images/rating3.gif" width="65" height="14" border="0" alt="" />: da ville filen ha gjennomsnittelig karakter: <img src="images/rating3.gif" width="65" height="14" border="0" alt="" /> ;Fem brukere gav filer karakter fra 1 til 5 (1,2,3,4,5), dette ville da gjennomsnittelig gi: <img src="images/rating3.gif" width="65" height="14" border="0" alt="" /> .)<br />Karakterene går fra <img src="images/rating5.gif" width="65" height="14" border="0" alt="best" /> (best) til <img src="images/rating0.gif" width="65" height="14" border="0" alt="verst" /> (verst).', 'offline', 0),
-  array('Hva er &quot;Mine Favoritter&quot;?', 'Dette gir brukerne anledning til å lagre favorittfiler i cookien som blir sendt til datamaskinen din.', 'offline', 0),
-);
-
-
-// ------------------------------------------------------------------------- //
-// File forgot_passwd.php
-// ------------------------------------------------------------------------- //
-
-if (defined('FORGOT_PASSWD_PHP')) $lang_forgot_passwd_php = array(
-  'forgot_passwd' => 'Passordpåminnelse',
-  'err_already_logged_in' => 'Du er allerede logget inn!',
-  'enter_email' => 'Skriv inn din epostadresse', //cpg1.4
-  'submit' => 'OK',
-  'illegal_session' => 'Passordpåminnelsens sesjon er ugyldig eller har utløpt.', //cpg1.4
-  'failed_sending_email' => 'Passordpåminnelsen kunne ikke sendes!',
-  'email_sent' => 'En epost med ditt brukernavn og nye passord ble sendt til %s', //cpg1.4
-  'verify_email_sent' => 'En epost har blitt sendt til %s. Sjekk din epost for å fullføre prosessen.', //cpg1.4
-  'err_unk_user' => 'Valgte bruker eksisterer ikke!',
-  'account_verify_subject' => '%s - Forespørsel om nytt passord', //cpg1.4
-  'account_verify_body' => 'Du har anmodet om et nytt passord. Om du ønsker å fortsette ved å få et nytt passord tilsendt, klikk på denne linken:
-  
-%s', //cpg1.4
-  'passwd_reset_subject' => '%s - Ditt nye passord', //cpg1.4
-  'passwd_reset_body' => 'Her er det nye passordet du anmodet:
-Brukernavn: %s
-Passord: %s
-Klikk %s for å logge inn.', //cpg1.4
-);
-
-
-// ------------------------------------------------------------------------- //
-// File groupmgr.php
-// ------------------------------------------------------------------------- //
-
-if (defined('GROUPMGR_PHP')) $lang_groupmgr_php = array(
-  'group_name' => 'Gruppenavn', //cpg1.4
-  'permissions' => 'Tillatelser', //cpg1.4
-  'public_albums' => 'Offentlige albumopplastninger', //cpg1.4
-  'personal_gallery' => 'Personlig galleri', //cpg1.4
-  'upload_method' => 'Opplastningsmetode', //cpg1.4
-  'disk_quota' => 'Diskkvote', //cpg1.4
-  'rating' => 'Karakter', //cpg1.4
-  'ecards' => 'Ekort', //cpg1.4
-  'comments' => 'Kommentarer', //cpg1.4
-  'allowed' => 'Tillatt', //cpg1.4
-  'approval' => 'Godkjenning', //cpg1.4
-  'boxes_number' => 'Antall bokser', //cpg1.4
-  'variable' => 'variabel', //cpg1.4
-  'fixed' => 'fast', //cpg1.4
-  'apply' => 'Lagre endringer',
-  'create_new_group' => 'Lag ny gruppe',
-  'del_groups' => 'Slett valgte gruppe(r)',
-  'confirm_del' => 'Advarsel, når du sletter en gruppe vil brukerne som tilhører denne gruppen bli overført til gruppen kalt \'Registered\' !\n\nVil du fortsette?', //js-alert
-  'title' => 'Administrer brukergrupper',
-  'num_file_upload' => 'Filopplastningsbokser', //cpg1.4
-  'num_URI_upload' => 'URIopplastningsbokser', //cpg1.4
-  'reset_to_default' => 'Sett tilbake til standardnavn (%s) - anbefalt!', //cpg1.4
-  'error_group_empty' => 'Gruppetabellen var tom !<br /><br />Standardgrupper ble laget, vennligst last denne siden på nytt', //cpg1.4
-  'explain_greyed_out_title' => 'Whorfor er denne raden gråmarkert?', //cpg1.4
-  'explain_guests_greyed_out_text' => 'Du kan ikke endre denne gruppens egenskaper fordi du valgte &quot;nei&quot; på &quot; Tillat ikke-innloggede (gjester eller anonyme) brukere&quot; på konfigurasjonssiden. Alle gjester (medlemmer av gruppen %s) kan ikke gjøre noe annet enn å logge inn; derfor gjelder ikke gruppesettinger for dem.', //cpg1.4
-  'explain_banned_greyed_out_text' => 'Du kan ikke endre egenskaper til gruppen %s fordi dens medlemmer ikke kan gjøre noe uansett.', //cpg1.4
-  'group_assigned_album' => 'tilordnede album', //cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File index.php
-// ------------------------------------------------------------------------- //
-
-if (defined('INDEX_PHP')){
-
-$lang_index_php = array(
-  'welcome' => 'Velkommen !',
-);
-
-$lang_album_admin_menu = array(
-  'confirm_delete' => 'Er du sikker på at du vil SLETTE dette albumet? \\nAlle filer og kommentarer vil også bli slettet.', //js-alert
-  'delete' => 'SLETT',
-  'modify' => 'EGENSKAPER',
-  'edit_pics' => 'OPPDATER FILER',
-);
-
-$lang_list_categories = array(
-  'home' => 'Hjem',
-  'stat1' => '<b>[pictures]</b> filer i <b>[albums]</b> album og <b>[cat]</b> kategorier med <b>[comments]</b> kommentarer sett <b>[views]</b> ganger',
-  'stat2' => '<b>[pictures]</b> filer i <b>[albums]</b> album sett <b>[views]</b> ganger',
-  'xx_s_gallery' => '%s\s galleri',
-  'stat3' => '<b>[pictures]</b> filer i <b>[albums]</b> album med <b>[comments]</b> kommentarer sett <b>[views]</b> ganger',
-);
-
-$lang_list_users = array(
-  'user_list' => 'Brukerliste',
-  'no_user_gal' => 'Det er ingen tilgjengelige brukergallerier',
-  'n_albums' => '%s album',
-  'n_pics' => '%s fil(er)',
-);
-
-$lang_list_albums = array(
-  'n_pictures' => '%s filer',
-  'last_added' => ', siste lagt til den %s',
-  'n_link_pictures' => '%s linkede filer', //cpg1.4
-  'total_pictures' => '%s filer totalt', //cpg1.4
-);
-
-}
-
-// ------------------------------------------------------------------------- //
-// File keywordmgr.php //cpg1.4
-// ------------------------------------------------------------------------- //
-
-if (defined('KEYWORDMGR_PHP')) $lang_keywordmgr_php = array(
-  'title' => 'Administrer nøkkelord', //cpg1.4
-  'edit' => 'endre', //cpg1.4
-  'delete' => 'slett', //cpg1.4
-  'search' => 'søk', //cpg1.4
-  'keyword_test_search' => 'søk etter %s i nytt vindu', //cpg1.4
-  'keyword_del' => 'slett nøkkelordet %s', //cpg1.4
-  'confirm_delete' => 'Er du sikker på at du vil slette nøkkelordet %s helt fra galleriet?', //cpg1.4  // js-alert
-  'change_keyword' => 'endre nøkkelord', //cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File login.php
-// ------------------------------------------------------------------------- //
-
-if (defined('LOGIN_PHP')) $lang_login_php = array(
-  'login' => 'Logg inn',
-  'enter_login_pswd' => 'Skriv brukernavn og passord for å logge inn',
-  'username' => 'Brukernavn',
-  'password' => 'Passord',
-  'remember_me' => 'Husk meg',
-  'welcome' => 'Velkommen %s ...',
-  'err_login' => '*** Kunne ikke logge deg inn. Prøv igjen ***',
-  'err_already_logged_in' => 'Du er allerede logget inn !',
-  'forgot_password_link' => 'Glemt passordet?',
-  'cookie_warning' => 'Advarsel! Din nettleser tillater ikke cookies', //cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File logout.php
-// ------------------------------------------------------------------------- //
-
-if (defined('LOGOUT_PHP')) $lang_logout_php = array(
-  'logout' => 'Logg ut',
-  'bye' => 'På gjensyn %s ...',
-  'err_not_loged_in' => 'Du er ikke logget inn !',
-);
-
-// ------------------------------------------------------------------------- //
-// File minibrowser.php  //cpg1.4
-// ------------------------------------------------------------------------- //
-
-if (defined('MINIBROWSER_PHP')) $lang_minibrowser_php = array(
-  'close' => 'lukk', //cpg1.4
-  'submit' => 'OK', //cpg1.4
-  'up' => 'opp ett nivå', //cpg1.4
-  'current_path' => 'nåværende sti', //cpg1.4
-  'select_directory' => 'velg en mappe', //cpg1.4
-  'click_to_close' => 'Klikk på bildet for å lukke vinduet',
-);
-
-// ------------------------------------------------------------------------- //
-// File modifyalb.php
-// ------------------------------------------------------------------------- //
-
-if (defined('MODIFYALB_PHP')) $lang_modifyalb_php = array(
-  'upd_alb_n' => 'Oppdater album %s',
-  'general_settings' => 'Generelle innstillinger',
-  'alb_title' => 'Albumtittel',
-  'alb_cat' => 'Albumkategori',
-  'alb_desc' => 'Albumbeskrivelse',
-  'alb_keyword' => 'Albumnøkkelord', //cpg1.4
-  'alb_thumb' => 'Miniatyrbilde for album',
-  'alb_perm' => 'Tillatelser for dette album',
-  'can_view' => 'Dette album kan ses av',
-  'can_upload' => 'Besøkende kan laste opp filer',
-  'can_post_comments' => 'Besøkende kan kommentere filer',
-  'can_rate' => 'Besøkende kan gi filer karakter',
-  'user_gal' => 'Brukergalleri',
-  'no_cat' => '* Ingen kategori *',
-  'alb_empty' => 'Album er tomt',
-  'last_uploaded' => 'Sist lastet opp',
-  'public_alb' => 'Alle (offentlig album)',
-  'me_only' => 'Kun meg',
-  'owner_only' => 'Kun albumeier (%s)',
-  'groupp_only' => 'Medlemmer av \'%s\' gruppen',
-  'err_no_alb_to_modify' => 'Det er ingen tilgjengelige album du kan redigere.',
-  'update' => 'Oppdater album',
-  'reset_album' => 'Tilbakestill album', //cpg1.4
-  'reset_views' => 'Tilbakestill visningsteller til &quot;0&quot; i %s', //cpg1.4
-  'reset_rating' => 'Tilbakestill karakterer på alle filer i %s', //cpg1.4
-  'delete_comments' => 'Slett alle kommentarer i %s', //cpg1.4
-  'delete_files' => '%sIrreversibly%s slett alle filer i %s', //cpg1.4
-  'views' => 'visninger', //cpg1.4
-  'votes' => 'stemmer', //cpg1.4
-  'comments' => 'kommentarer', //cpg1.4
-  'files' => 'filer', //cpg1.4
-  'submit_reset' => 'lagre endringer', //cpg1.4
-  'reset_views_confirm' => 'Jeg er sikker', //cpg1.4
-  'notice1' => '(*) avhengig av %sgroups%s instillinger',  //cpg1.4 //(do not translate %s!)
-  'alb_password' => 'Albumpassord', //cpg1.4
-  'alb_password_hint' => 'Albumpasword hint', //cpg1.4
-  'edit_files' =>'Endre filer', //cpg1.4
-  'parent_category' =>'Foreldrekategori', //cpg1.4
-  'thumbnail_view' =>'Miniatyrbildevisning', //cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File phpinfo.php
-// ------------------------------------------------------------------------- //
-
-if (defined('PHPINFO_PHP')) $lang_phpinfo_php = array(
-  'php_info' => 'PHP informasjon',
-  'explanation' => 'Dette er generert av PHP-funksjonen <a href="http://www.php.net/phpinfo">phpinfo()</a>, her vist inne i Coppermine (kuttet litt ved høyre side).',
-  'no_link' => 'Å la andre se din phpinfo kan være en sikkerhetsrisiko, derfor er denne siden bare mulig å se når du er logget inn som administrator. Du kan ikke sende en link til denne siden for andre, de vil bli nektet adgang.',
-);
-
-// ------------------------------------------------------------------------- //
-// File picmgr.php //cpg1.4
-// ------------------------------------------------------------------------- //
-if (defined('PICMGR_PHP')) $lang_picmgr_php = array(
-  'pic_mgr' => 'Bildeadministrator', //cpg1.4
-  'select_album' => 'Velg album', //cpg1.4
-  'delete' => 'Slett', //cpg1.4
-  'confirm_delete1' => 'Er du sikker på at du vil slette dette bildet?', //cpg1.4
-  'confirm_delete2' => '\nBildet vil bli permanent slettet.', //cpg1.4
-  'apply_modifs' => 'Lagre endringer', //cpg1.4
-  'confirm_modifs' => 'Bekreft endringer', //cpg1.4
-  'pic_need_name' => 'Bildet må ha et navn !', //cpg1.4
-  'no_change' => 'Du gjorde ingen endringer !', //cpg1.4
-  'no_album' => '* Ingen album *', //cpg1.4
-  'explanation_header' => 'Den egendefinerte sorteringsrekkefølgen du kan spesifisere på denne siden vil bare gjelde dersom', //cpg1.4
-  'explanation1' => 'Administrator har satt "Standard sorteringsrekkefølge for filer" i konfigurasjonen til "Posisjon i synkende rekkefølge" or "Posisjon i stigende rekkefølge" (global innstilling for alle brukere som ikke har valg egen sorteringsrekkefølge)', //cpg1.4
-  'explanation2' => 'Brukeren har valgt "Posisjon i synkende rekkefølge" eller "Posisjon i stigende rekkefølge" på miniatyrbildesiden (individuell brukerinstilling)', //cpg1.4
-);
-
-
-// ------------------------------------------------------------------------- //
-// File pluginmgr.php //cpg1.4
-// ------------------------------------------------------------------------- //
-
-if (defined('PLUGINMGR_PHP')){
-
-$lang_pluginmgr_php = array(
-  'confirm_uninstall' => 'Er du sikker på at du vil AVINSTALLERE denne plugin', //cpg1.4
-  'confirm_delete' => 'Er du sikker på at du vil SLETTE denne plugin', //cpg1.4
-  'pmgr' => 'Pluginadministrasjon', //cpg1.4
-  'name' => 'Navn', //cpg1.4
-  'author' => 'Forfatter', //cpg1.4
-  'desc' => 'Beskrivelse', //cpg1.4
-  'vers' => 'v', //cpg1.4
-  'i_plugins' => 'Instalerte plugin', //cpg1.4
-  'n_plugins' => 'Plugin som ikke er installert', //cpg1.4
-  'none_installed' => 'Ingen installert', //cpg1.4
-  'operation' => 'Funksjon', //cpg1.4
-  'not_plugin_package' => 'Filen som ble lastet opp er ingen pluginpakke.', //cpg1.4
-  'copy_error' => 'Det oppsto en feil ved kopiering av pakken til pluginmappen.', //cpg1.4
-  'upload' => 'Last opp', //cpg1.4
-  'configure_plugin' => 'Plugininstillinger', //cpg1.4
-  'cleanup_plugin' => 'Cleanup plugin', //cpg1.4
-);
-}
-
-// ------------------------------------------------------------------------- //
-// File ratepic.php
-// ------------------------------------------------------------------------- //
-
-if (defined('RATEPIC_PHP')) $lang_rate_pic_php = array(
-  'already_rated' => 'Beklager men du har alt gitt karakter til denne filen',
-  'rate_ok' => 'Din stemme ble lagt inn',
-  'forbidden' => 'Du kan ikke stemme på dine egne filer.',
-);
-
-// ------------------------------------------------------------------------- //
-// File register.php & profile.php
-// ------------------------------------------------------------------------- //
-
-if (defined('REGISTER_PHP') || defined('PROFILE_PHP')) {
-
-$lang_register_disclamer = <<<EOT
-Selv om administratorer av {SITE_NAME} vil prøve å så raskt som mulig å fjerne eller endre ethvert materiale som er generelt ansett innsigelser mot, kan det være umulig å revidere alle postinger. Du må derfor være klar over at alle postinger til denne siden uttrykker forfatterens synspunkter og meninger, og ikke administratorer eller webmaster (unntatt postinger gjort av disse) som derfor ikke kan bli gjort ansvarlig. <br />
-<br />
-Du forplikter deg til ikke å poste fornærmelig, uanstendig, ærekrenkende, hatende, truende, seksuelt orientert ellel annet materiale som kan bryte en gyldig straffelov. Du er inneforstått med at webmaster, administratorer og moderatorer av {SITE_NAME} når om helst kan endre eller helt fjerne hvilket som helt innhold. Som bruker er du inneforstått med at all informasjon du har skrevet over blir lagret i en database. Selv om denne informasjonen ikke vil bli gitt til noen tredje part uten din godkjennelse, kan ikke webmaster eller administratorer bli holdt ansvarlig for noe hackerforsøk e.l. som kan føre til at slik data blir kompromittert. <br />
-<br />
-Denne siden bruker cookies til å lagre informasjon på din lokale maskin. Disse cookier tjener kun for å bedre din opplevelse. Epostadressen blir kun brukt til å bekrefte dine registreringsdetaljer og passord.<br />
-<br />
-Ved å klikke 'Jeg er enig' nedenfor sier du deg enig i disse betingelsene.
-EOT;
-
-$lang_register_php = array(
-  'page_title' => 'Brukerregistrering',
-  'term_cond' => 'Betingelser',
-  'i_agree' => 'Jeg er enig',
-  'submit' => 'Send inn registrering',
-  'err_user_exists' => 'Brukernavnet du har spesifisert er allerede brukt, velg et annet',
-  'err_password_mismatch' => 'De to passordene er ulike, skriv dem på nytt',
-  'err_uname_short' => 'Brukernavnet må minst være på to tegn',
-  'err_password_short' => 'Passordet må minst være på to tegn',
-  'err_uname_pass_diff' => 'Brukernavn og passord må være ulike',
-  'err_invalid_email' => 'Epostadresse er ugyldig',
-  'err_duplicate_email' => 'En annen bruker er allerede registrert med den epostadressen',
-  'enter_info' => 'Skriv inn registreringsinformasjon',
-  'required_info' => 'Påkrevd informasjon',
-  'optional_info' => 'Ikke påkrevd informasjon',
-  'username' => 'Brukernavn',
-  'password' => 'Passord',
-  'password_again' => 'Skriv passord på nytt',
-  'email' => 'Epost',
-  'location' => 'Sted',
-  'interests' => 'Interesser',
-  'website' => 'Hjemmeside',
-  'occupation' => 'Arbeidstittel',
-  'error' => 'FEIL',
-  'confirm_email_subject' => '%s - Registreringsbekreftelse',
-  'information' => 'Informasjon',
-  'failed_sending_email' => 'Registreringsbekreftelsen kunne ikke sendes!',
-  'thank_you' => 'Takk for din registrering.<br /><br />En epost med informasjon om hvordan du kan aktivere din brukerkonto er sendt til epostadressen du oppgav.',
-  'acct_created' => 'Din brukerkonto har blitt laget og du kan nå logge inn med ditt brukernavn og passord',
-  'acct_active' => 'Din brukerkonto er nå aktiv og du kan logge inn med ditt brukernavn og passord',
-  'acct_already_act' => 'Brukerkontoen er allerede aktivert!', //cpg1.4
-  'acct_act_failed' => 'Denne brukerkontoen kan ikke aktiveres !',
-  'err_unk_user' => 'Valgte bruker eksisterer ikke !',
-  'x_s_profile' => '%s\s profil',
-  'group' => 'Gruppe',
-  'reg_date' => 'Medlem siden',
-  'disk_usage' => 'Diskbruk',
-  'change_pass' => 'Skift passord',
-  'current_pass' => 'Nåværende passord',
-  'new_pass' => 'Nytt passord',
-  'new_pass_again' => 'Nytt passord igjen',
-  'err_curr_pass' => 'Nåværende passord ikke godkjent',
-  'apply_modif' => 'Lagre endringer',
-  'change_pass' => 'Endre mitt passord',
-  'update_success' => 'Din profil ble oppdatert',
-  'pass_chg_success' => 'Ditt passord ble endret',
-  'pass_chg_error' => 'Ditt passord ble ikke endret',
-  'notify_admin_email_subject' => '%s - Registreringsmelding',
-  'last_uploads' => 'Sist opplastede fil.<br />Klikk for å se alle filer lastet opp av', //cpg1.4
-  'last_comments' => 'Siste kommentar.<br />Klikk for å se alle kommentarer av', //cpg1.4
-  'notify_admin_email_body' => 'En ny bruker med brukernavn "%s" har registrert seg i ditt galleri',
-  'pic_count' => 'Filer lastet opp', //cpg1.4
-  'notify_admin_request_email_subject' => '%s - Registreringsforespørsel', //cpg1.4
-  'thank_you_admin_activation' => 'Takk.<br /><br />Din forespørsel for brukerkontoaktivering ble sendt til administrator. Du vil motta en epost ved godkjennelse.', //cpg1.4
-  'acct_active_admin_activation' => 'Brukerkontoen er nå aktivert og en epost har blitt sendt til brukeren.', //cpg1.4
-  'notify_user_email_subject' => '%s - Registreringsmelding', //cpg1.4
-);
-
-$lang_register_confirm_email = <<<EOT
-Takk for din registrering på {SITE_NAME}
-
-For å aktivisere din brukerkonto med brukernavn "{USER_NAME}", må du klikke på linken under eller kopiere den inn i din nettleser.
-
-<a href="{ACT_LINK}">{ACT_LINK}</a>
-
-Hilsen,
-
-Administrasjonen på {SITE_NAME}
-
-EOT;
-
-$lang_register_approve_email = <<<EOT
-En ny bruker ved navn "{USER_NAME}" har registrert seg i ditt galleri.
-
-For å aktivere brukerkontoen må du klikke på linken under eller kopiere den inn i din nettleser.
-
-<a href="{ACT_LINK}">{ACT_LINK}</a>
-
-EOT;
-
-$lang_register_activated_email = <<<EOT
-Din brukerkonto har blitt godkjent og er aktivert.
-
-Du kan nå logge inn på <a href="{SITE_LINK}">{SITE_LINK}</a> med brukernavnet "{USER_NAME}"
-
-
-Hilsen,
-
-Administrasjonen på {SITE_NAME}
-
-EOT;
-}
-
-// ------------------------------------------------------------------------- //
-// File reviewcom.php
-// ------------------------------------------------------------------------- //
-
-if (defined('REVIEWCOM_PHP')) $lang_reviewcom_php = array(
-  'title' => 'Se over kommentar(er)',
-  'no_comment' => 'Ingen kommentar(er) å se over',
-  'n_comm_del' => '%s kommentar(er) slettet',
-  'n_comm_disp' => 'Antall kommentarer å vise',
-  'see_prev' => 'Se forrige',
-  'see_next' => 'Se neste',
-  'del_comm' => 'Slett valgte kommentarer',
-  'user_name' => 'Navn', //cpg1.4
-  'date' => 'Dato', //cpg1.4
-  'comment' => 'Kommentar', //cpg1.4
-  'file' => 'Fil', //cpg1.4
-  'name_a' => 'Brukernavn i stigende rekkefølge', //cpg1.4
-  'name_d' => 'Brukernavn i synkende rekkefølge', //cpg1.4
-  'date_a' => 'Dato i stigende rekkefølge', //cpg1.4
-  'date_d' => 'Dato i synkende rekkefølge', //cpg1.4
-  'comment_a' => 'Kommentarer i stigende rekkefølge', //cpg1.4
-  'comment_d' => 'Kommentarer i synkende rekkefølge', //cpg1.4
-  'file_a' => 'Fil i stigende rekkefølge', //cpg1.4
-  'file_d' => 'Fil i synkende rekkefølge', //cpg1.4
-);
-
-
-// ------------------------------------------------------------------------- //
-// File search.php                                                           //
-// ------------------------------------------------------------------------- //
-
-
-if (defined('SEARCH_PHP')){
-
-$lang_search_php = array(
-  'title' => 'Søk i filsamlingen', //cpg1.4
-  'submit_search' => 'søk', //cpg1.4
-  'keyword_list_title' => 'Nøkkelordliste', //cpg1.4
-  'keyword_msg' => 'Listen over inkluderer ikke alt. Ord fra bildetitler og beskrivelser er ikke inkludert. Prøv et fulltekstsøk.',  //cpg1.4
-  'edit_keywords' => 'Endre nøkkelord', //cpg1.4
-  'search in' => 'Søk i:', //cpg1.4
-  'ip_address' => 'IPadresse', //cpg1.4
-  'fields' => 'Søk i', //cpg1.4
-  'age' => 'Alder', //cpg1.4
-  'newer_than' => 'Nyere enn', //cpg1.4
-  'older_than' => 'Eldre enn', //cpg1.4
-  'days' => 'dager', //cpg1.4
-  'all_words' => 'Treff på alle ord (AND)', //cpg1.4
-  'any_words' => 'Treff på noen ord (OR)', //cpg1.4
-);
-
-$lang_adv_opts = array(
-  'title' => 'Tittel', //cpg1.4
-  'caption' => 'Beskrivelse', //cpg1.4
-  'keywords' => 'Nøkkelord', //cpg1.4
-  'owner_name' => 'Navn på eier', //cpg1.4
-  'filename' => 'Filnavn', //cpg1.4
-);
-
-}
-
-// ------------------------------------------------------------------------- //
-// File searchnew.php
-// ------------------------------------------------------------------------- //
-
-if (defined('SEARCHNEW_PHP')) $lang_search_new_php = array(
-  'page_title' => 'Søk nye filer',
-  'select_dir' => 'Velg mappe',
-  'select_dir_msg' => 'Denne funksjonen lar deg legge til flere filer du har lastet opp til til serveren f.eks med FTP.<br /><br />Velg den mappen du har lastet opp filene i.', //cpg1.4
-  'no_pic_to_add' => 'Ingen filer å legge til',
-  'need_one_album' => 'Du trenger minst ett album for å bruke denne funksjonen',
-  'warning' => 'Advarsel',
-  'change_perm' => 'skriptet kan ikke skrive til denne mappen, du må kjøre den skrivbar før du forsøker å legge til filene!',
-  'target_album' => '<b>Legg filene &quot;</b>%s<b>&quot; i </b>%s',
-  'folder' => 'Mappe',
-  'image' => 'fil',
-  'album' => 'Album',
-  'result' => 'Resultat',
-  'dir_ro' => 'Ikke skrivbar. ',
-  'dir_cant_read' => 'Ikke lesbar. ',
-  'insert' => 'Legger til nye filer til galleriet',
-  'list_new_pic' => 'Liste over nye filer',
-  'insert_selected' => 'Sett inn valgte filer',
-  'no_pic_found' => 'Ingen nye filer ble funnet',
-  'be_patient' => 'Vær tålmodig, skriptet trenger tid for å legge inn filene',
-  'no_album' => 'intet album valgt',
-  'result_icon' => 'klikk for detaljer, eller for å laste på nytt',  //cpg1.4
-  'notes' =>  '<ul>'.
-                          '<li><b>OK</b> : betyr at filen ble lagt inn'.
-                          '<li><b>DP</b> : betyr at filen er et duplikat av en fil som allerede finnes i databasen'.
-                          '<li><b>PB</b> : betyr at filen ikke kunne legges inn, sjekk konfigurasjon og katalogtillatelser der filene ligger'.
-                          '<li><b>NA</b> : betyr at du ikke har valgt et album filene skal legges inn i, gå \'<a href="javascript:history.back(1)">tilbake</a>\' og velg et album. Om du ikke har noe album <a href="albmgr.php">lag et først</a></li>'.
-                          '<li>Dersom OK, DP, PB \'tegnene\' ikke står, klikk på filen for å se feilmelding fra PHPlaget'.
-                          '<li>Dersom nettleser din timer ut, trykk last på nytt knappen'.
-                          '</ul>',
-  'select_album' => 'velg album',
-  'check_all' => 'Marker alle',
-  'uncheck_all' => 'Avmarker alle',
-  'no_folders' => 'Det finnes ingen mapper inne i "albums"-mappen. Lag minst en egendefinert mappe i "albums"-mappen og last opp dine filer dit. Du må ikke laste opp til "userpics" eller "edit"-mappene, de er reservert for httpopplastninger og interne mekaninsmer.', //cpg1.4
-   'albums_no_category' => 'Album(er) uten kategori', //cpg1.4 // album pulldown mod, added by frogfoot
-  'personal_albums' => '* Personlige album', //cpg1.4 // album pulldown mod, added by frogfoot
-  'browse_batch_add' => 'Browsable interface (anbefalt)', //cpg1.4
-  'edit_pics' => 'Endre filer', //cpg1.4
-  'edit_properties' => 'Albumegenskaper', //cpg1.4
-  'view_thumbs' => 'Miniatyrbildevisning', //cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File stat_details.php //cpg1.4
-// ------------------------------------------------------------------------- //
-
-if (defined('STAT_DETAILS_PHP')) $lang_stat_details_php = array(
-  'show_hide' => 'vis/gjem denne kolonnen', //cpg1.4
-  'vote' => 'Stemmedetaljer', //cpg1.4
-  'hits' => 'Treffdetaljer', //cpg1.4
-  'stats' => 'Stemmestatistikk', //cpg1.4
-  'sdate' => 'Dato', //cpg1.4
-  'rating' => 'Karakter', //cpg1.4
-  'search_phrase' => 'Søkesetning', //cpg1.4
-  'referer' => 'Referent', //cpg1.4
-  'browser' => 'Nettleser', //cpg1.4
-  'os' => 'Operativsystem', //cpg1.4
-  'ip' => 'IP', //cpg1.4
-  'sort_by_xxx' => 'Sorter på %s', //cpg1.4
-  'ascending' => 'i stigende rekkefølge', //cpg1.4
-  'descending' => 'i synkende rekkefølge', //cpg1.4
-  'internal' => 'int', //cpg1.4
-  'close' => 'lukk', //cpg1.4
-  'hide_internal_referers' => 'gjem internale referenter', //cpg1.4
-  'date_display' => 'Datovisning', //cpg1.4
-  'submit' => 'effektuer / last på nytt', //cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File thumbnails.php
-// ------------------------------------------------------------------------- //
-
-// Void
-
-// ------------------------------------------------------------------------- //
-// File upload.php
-// ------------------------------------------------------------------------- //
-
-if (defined('UPLOAD_PHP')) $lang_upload_php = array(
-  'title' => 'Last opp fil',
-  'custom_title' => 'Egendefinert Request Form',
-  'cust_instr_1' => 'Du kan velge et egendefinert antall opplastningsfelter. Du kan imidlertid ikke velge flere enn begrensningene gitt under.',
-  'cust_instr_2' => 'Box Number Requests',
-  'cust_instr_3' => 'Filopplastningsfelter: %s',
-  'cust_instr_4' => 'URI/URL opplastningsfelter: %s',
-  'cust_instr_5' => 'URI/URL opplastningsfelter:',
-  'cust_instr_6' => 'Filopplastningsfelter:',
-  'cust_instr_7' => 'Skriv inn antall opplastningsfelter du ønsker.  Trykk så \'Fortsett\'. ',
-  'reg_instr_1' => 'Ugyldig handling ved opprettelse av skjema.',
-  'reg_instr_2' => 'Nå kan du laste opp dine filer med opplastningsfeltene nedenunder. Størrelsen på filene som blir lastet opp fra din nettleser til serveren kan ikke overstige %s KB hver. ZIPfiler som blir lastet opp via \'Filopplastning\' og \'URI/URL Opplastning\' vil forbli komprimert.',
-  'reg_instr_3' => 'Dersom du vil pakke ut ZIPfilene, må du bruke opplastningsfeltet i \'Utpakkende ZIPOpplastning\' delen.',
-  'reg_instr_4' => 'Når du bruker URI/URL opplastning, skriv stien til filen slik: http://www.mysite.com/images/example.jpg',
-  'reg_instr_5' => 'Når du har fylt ut skjemaet, klikk \'Fortsett\'.',
-  'reg_instr_6' => 'Utpakkende ZIPOpplastning:',
-  'reg_instr_7' => 'Filopplastninger:',
-  'reg_instr_8' => 'URI/URL Opplastninger:',
-  'error_report' => 'Feilrapport',
-  'error_instr' => 'Disse opplastningene feilet:',
-  'file_name_url' => 'Filnavn/URL',
-  'error_message' => 'Feilmelding',
-  'no_post' => 'Fil ikke lastet opp med POST.',
-  'forb_ext' => 'Ugyldig filtype.',
-  'exc_php_ini' => 'Fil for stor for størrelse tillatt i php.ini.',
-  'exc_file_size' => 'Fil for stor for størrelse tillatt i CPG.',
-  'partial_upload' => 'Ufullstendig opplastning.',
-  'no_upload' => 'Ingen opplastning skjedde.',
-  'unknown_code' => 'Ukjent PHP opplastningsfeilkode.',
-  'no_temp_name' => 'Ingen opplastning - Ingen tempnavn.',
-  'no_file_size' => 'Inneholder ingen data/Ødelagt',
-  'impossible' => 'Umylig å flytte.',
-  'not_image' => 'Ikke en bildefil/ødelagt',
-  'not_GD' => 'Ikke en GD filtype.',
-  'pixel_allowance' => 'Høyde og/eller bredde på det opplastede bildet er større enn tillatt i gallerikonfigurasjonen.', //cpg1.4
-  'incorrect_prefix' => 'Ugyldig URI/URL prefix',
-  'could_not_open_URI' => 'Kunne ikke åpne URI.',
-  'unsafe_URI' => 'Sikkerhet ikke mulig å bekrefte.',
-  'meta_data_failure' => 'Metadatafeil',
-  'http_401' => '401 Uautorisert',
-  'http_402' => '402 Betaling påkrevd',
-  'http_403' => '403 Ikke tillatt',
-  'http_404' => '404 Ikke funnet',
-  'http_500' => '500 Intern serverfeil',
-  'http_503' => '503 Tjeneste ikke tilgjengelig',
-  'MIME_extraction_failure' => 'Kunne ikke bestemme MIME.',
-  'MIME_type_unknown' => 'Ukjent MIMEtype',
-  'cant_create_write' => 'Kan ikke lage skrivefil.',
-  'not_writable' => 'Kan ikke skrive til skrivefil.',
-  'cant_read_URI' => 'Kan ikke lese URI/URL',
-  'cant_open_write_file' => 'Kan ikke åpne URI skrivefil.',
-  'cant_write_write_file' => 'Kan ikke skrive til URI skrivefil.',
-  'cant_unzip' => 'Kan ikke pakke ut ZIPfil.',
-  'unknown' => 'Ukjent feil',
-  'succ' => 'Opplastninger fullført',
-  'success' => '%s opplastninger fullført.',
-  'add' => 'Klikk \'Fortsett\' for å legge filene i album.',
-  'failure' => 'Opplastningsfeil',
-  'f_info' => 'Filinformasjon',
-  'no_place' => 'Den forrige filen kunne ikke plasseres.',
-  'yes_place' => 'Den forrige filen ble plassert.',
-  'max_fsize' => 'Maksimal tillatte størrelse på fil er %s KB',
-  'album' => 'Album',
-  'picture' => 'Fil',
-  'pic_title' => 'Filtittel',
-  'description' => 'Filbeskrivelse',
-  'keywords' => 'Nøkkelord (skill med mellomrom)<br /><a href="#" onClick="return MM_openBrWindow(\'keyword_select.php\',\'selectKey\',\'width=250, height=400, scrollbars=yes,toolbar=no,status=yes,resizable=yes\')">Sett inn fra liste</a>', //cpg1.4
-  'keywords_sel' =>'Velg nøkkelord', //cpg1.4
-  'err_no_alb_uploadables' => 'Beklager, det finnes ingen album du kan laste opp filer til',
-  'place_instr_1' => 'Plasser filene i album.  Du kan skrive inn relevant informasjon om hver fil nå.',
-  'place_instr_2' => 'Flere filer trenger plassering. Klikk \'Fortsett\'.',
-  'process_complete' => 'Du har plassert alle filene.',
-   'albums_no_category' => 'Album utenfor kategori', //cpg1.4. //album pulldown mod, added by frogfoot
-  'personal_albums' => '* Personlige album', //cpg1.4 //album pulldown mod, added by frogfoot
-  'select_album' => 'Velg album', //cpg1.4 //album pulldown mod, added by frogfoot
-  'close' => 'Steng', //cpg1.4
-  'no_keywords' => 'Ingen tilgjengelige nøkkelord!', //cpg1.4
-  'regenerate_dictionary' => 'Bygg ordliste', //cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File usermgr.php
-// ------------------------------------------------------------------------- //
-
-if (defined('USERMGR_PHP')) $lang_usermgr_php = array(
-  'memberlist' => 'Medlems liste', //cpg1.4
-  'user_manager' => 'Brukeradministrasjon', //cpg1.4
-  'title' => 'Administrer brukere',
-  'name_a' => 'Navn i stigende rekkefølge',
-  'name_d' => 'Navn i synkende rekkefølge',
-  'group_a' => 'Grupper i stigende rekkefølge',
-  'group_d' => 'Grupper i synkende rekkefølge',
-  'reg_a' => 'Registreringsdato i stigende rekkefølge',
-  'reg_d' => 'Registreringsdato i synkende rekkefølge',
-  'pic_a' => 'Filantall i stigende rekkefølge',
-  'pic_d' => 'Filantall i synkende rekkefølge',
-  'disku_a' => 'Diskforbruk i stigende rekkefølge',
-  'disku_d' => 'Diskforbruk i synkende rekkefølge',
-  'lv_a' => 'Siste besøk i stigende rekkefølge',
-  'lv_d' => 'Siste besøk i synkende rekkefølge',
-  'sort_by' => 'Sorter brukere etter',
-  'err_no_users' => 'Brukertabellen er tom !',
-  'err_edit_self' => 'Du kan ikke endre din egen profil, bruk \'Min profil\' til det',
-  'edit' => 'Endre', //cpg1.4
-  'with_selected' => 'Med valgte:', //cpg1.4
-  'delete' => 'Slett', //cpg1.4
-  'delete_files_no' => 'behold offentlige filer (men anonymiser)', //cpg1.4
-  'delete_files_yes' => 'slett offentlige filer også', //cpg1.4
-  'delete_comments_no' => 'behold kommentarer (men anonymiser)', //cpg1.4
-  'delete_comments_yes' => 'slett kommentarer også', //cpg1.4
-  'activate' => 'Aktiver', //cpg1.4
-  'deactivate' => 'Deaktiver', //cpg1.4
-  'reset_password' => 'Sett passord', //cpg1.4
-  'change_primary_membergroup' => 'Skift primærgruppe', //cpg1.4
-  'add_secondary_membergroup' => 'Legg til sekundær gruppe', //cpg1.4
-  'name' => 'Brukernavn',
-  'group' => 'Gruppe',
-  'inactive' => 'Inaktiv',
-  'operations' => 'Handlinger',
-  'pictures' => 'Filer',
-  'disk_space_used' => 'Diskplass brukt', //cpg1.4
-  'disk_space_quota' => 'Diskkvote', //cpg1.4
-  'registered_on' => 'Registrering', //cpg1.4
-  'last_visit' => 'Siste besøk',
-  'u_user_on_p_pages' => '%d brukere på %d side(r)',
-  'confirm_del' => 'Er du sikker på at du vil SLETTE denne brukeren ? \\nAlle filer og album knyttet til denne brukeren blir også slettet.', //js-alert
-  'mail' => 'Epost',
-  'err_unknown_user' => 'Valgte bruker finnes ikke !',
-  'modify_user' => 'Endre bruker',
-  'notes' => 'Notater',
-  'note_list' => '<li>Om du ikke vil skifte nåværende passord, la passordfeltet være blankt',
-  'password' => 'Passord',
-  'user_active' => 'Bruker er aktiv',
-  'user_group' => 'Brukergruppe',
-  'user_email' => 'Brukers epost',
-  'user_web_site' => 'Brukers webside',
-  'create_new_user' => 'Lag ny bruker',
-  'user_location' => 'Brukers lokalisering',
-  'user_interests' => 'Brukers interesser',
-  'user_occupation' => 'Brukers tittel',
-  'user_profile1' => '$user_profile1', //cpg1.4
-  'user_profile2' => '$user_profile2', //cpg1.4
-  'user_profile3' => '$user_profile3', //cpg1.4
-  'user_profile4' => '$user_profile4', //cpg1.4
-  'user_profile5' => '$user_profile5', //cpg1.4
-  'user_profile6' => '$user_profile6', //cpg1.4
-  'latest_upload' => 'Siste opplastninger',
-  'never' => 'aldri',
-  'search' => 'Brukersøk', //cpg1.4
-  'submit' => 'Lagre', //cpg1.4
-  'search_submit' => 'Søk!', //cpg1.4
-  'search_result' => 'Søkeresultat for: ', //cpg1.4
-  'alert_no_selection' => ' Du må velge minst en bruker først!', //cpg1.4 //js-alert
-  'password' => 'passord', //cpg1.4
-  'select_group' => 'Velg gruppe', //cpg1.4
-  'groups_alb_access' => 'Albumtilgang med gruppe', //cpg1.4
-  'album' => 'Album', //cpg1.4
-  'category' => 'Kategori', //cpg1.4
-  'modify' => 'Endre?', //cpg1.4
-  'group_no_access' => 'Denne gruppen har ingen spesiell tilgang', //cpg1.4
-  'notice' => 'Notis', //cpg1.4
-  'group_can_access' => 'Album der kun "%s" har tilgang', //cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File util.php
-// ------------------------------------------------------------------------- //
-
-if (defined('UTIL_PHP')) {
-$lang_util_desc_php = array(
-'Oppdaterer titler fra filnavn', //cpg1.4
-'Sletter titler', //cpg1.4
-'Bygger miniatyrbilder og reduserte bildestørrelser på nytt', //cpg1.4
-'Sletter originalbilder og erstatter dem med reduserte bildestørrelser', //cpg1.4
-'Sletter original eller mellomstørrelse for å frigi diskplass', //cpg1.4
-'Sletter foreldreløse kommentarer', //cpg1.4
-'Leser inn filstørrelser og dimensjoner på nytt (om du manuelt har endret bildene)', //cpg1.4
-'Nullstill visningsteller', //cpg1.4
-'Viser phpinfo', //cpg1.4
-'Oppdaterer databasen', //cpg1.4
-'Viser loggfiler', //cpg1.4
-);
-$lang_util_php = array(
-  'title' => 'Administrasjonsverktøy (Endre størrelser på bilder)',
-  'what_it_does' => 'Hva som skjer',
-  'file' => 'Fil',
-  'problem' => 'Problem', //cpg1.4
-  'status' => 'Status', //cpg1.4
-  'title_set_to' => 'tittel satt til',
-  'submit_form' => 'lagre',
-  'updated_succesfully' => 'oppdatert',
-  'error_create' => 'FIL ved oppretting',
-  'continue' => 'Prossesser flere bilder',
-  'main_success' => 'Filen %s ble brukt som hovedfil',
-  'error_rename' => 'Feil ved navneendring fra %s til %s',
-  'error_not_found' => 'Filen %s ble ikke funnet',
-  'back' => 'tilbake til hoved',
-  'thumbs_wait' => 'Oppdaterer miniatyrbilder og/eller reduserte bildestørrelser, vennligst vent...',
-  'thumbs_continue_wait' => 'Fortsetter å oppdatere miniatyrbilder og/eller reduserte bildestørrelser...',
-  'titles_wait' => 'Oppdaterer titler, vennligst vent...',
-  'delete_wait' => 'Sletter titles, vennligst vent...',
-  'replace_wait' => 'Sletter originaler og erstatter dem med reduserte bildestørrelser, vennligst vent..',
-  'instruction' => 'Hurtiginstruksjoner',
-  'instruction_action' => 'Velg handling',
-  'instruction_parameter' => 'Sett parametre',
-  'instruction_album' => 'Velg album',
-  'instruction_press' => 'Trykk %s',
-  'update' => 'Oppdater miniatyrbilder og/eller reduserte bildestørrelser',
-  'update_what' => 'Hva bør oppdateres',
-  'update_thumb' => 'Kun miniatyrbilder',
-  'update_pic' => 'Kun reduserte bildestørrelser',
-  'update_both' => 'Både miniatyrbilder og reduserte bildestørrelser',
-  'update_number' => 'Antall prossesserte bilder pr. klikk',
-  'update_option' => '(Prøv å sette dette lavere om du får problemer med tidsavbrudd)',
-  'filename_title' => 'Filnavn &rArr; Filtittel',
-  'filename_how' => 'Hvordan bør filnavnet endres',
-  'filename_remove' => 'Fjern .jpg endingen og erstatt _ (underscore) med mellomrom',
-  'filename_euro' => 'Endre 2003_11_23_13_20_20.jpg til 23/11/2003 13:20',
-  'filename_us' => 'Endre 2003_11_23_13_20_20.jpg til 11/23/2003 13:20',
-  'filename_time' => 'Endre 2003_11_23_13_20_20.jpg til 13:20',
-  'delete' => 'Slett filtitler eller originalstørrelsen på bildene',
-  'delete_title' => 'Slett filtitler',
-  'delete_title_explanation' => 'Dette vil fjerne alle titler på filene i albumet du spesifiserer.', //cpg1.4
-  'delete_original' => 'Slett originalstørrelsen til bildene',
-  'delete_original_explanation' => 'Dette vil fjerne originalbildene.', //cpg1.4
-  'delete_intermediate' => 'Slette bilder i mellomstørrelse', //cpg1.4
-  'delete_intermediate_explanation' => 'Dette vil slette bilder i mellomstørrelse (normal).<br />Bruk dette til å frigi diskplass om du har slått av \'Opprett bilder i mellomstørrelse\' i konfigurasjonen etter at du har lagt til bilder.', //cpg1.4
-  'delete_replace' => 'Sletter originalbildene og erstatter dem med reduserte bildestørrelser',
-  'titles_deleted' => 'Alle titler i det spesifiserte album ble slettet', //cpg1.4
-  'deleting_intermediates' => 'Sletter bilder i mellomstørrelse, vennligst vent...', //cpg1.4
-  'searching_orphans' => 'Søker etter foreldreløse bilder, vennligst vent...', //cpg1.4
-  'select_album' => 'Velg album',
-  'delete_orphans' => 'Slett kommentarer på manglende filer', //cpg1.4
-  'delete_orphans_explanation' => 'Dette vil finne og la deg slette kommentarer som er knyttet til filer som ikke lenger finnes i galleriet.<br />Sjekker alle album.', //cpg1.4
-  'refresh_db' => 'Last fildimensjoner og filstørrelser på nytt', //cpg1.4
-  'refresh_db_explanation' => 'Dette vil lese inn filstørrelser og dimensjoner på nytt. Bruk dette om diskkvoter er feil eller om du har endret filene manuelt.', //cpg1.4
-  'reset_views' => 'Nullstill visningstellere', //cpg1.4
-  'reset_views_explanation' => 'Setter alle visningstellere til null på alle filer i valgte album.', //cpg1.4
-  'orphan_comment' => 'foreldreløs kommentar funnet',
-  'delete' => 'Slett',
-  'delete_all' => 'Slett alle',
-  'delete_all_orphans' => 'Slette alle foreldreløse?', //cpg1.4
-  'comment' => 'Kommentar: ',
-  'nonexist' => 'tilknyttet fil som ikke finnes # ',
-  'phpinfo' => 'Vis phpinfo',
-  'phpinfo_explanation' => 'Inneholder teknisk informasjon om din server.<br /> - Du kan bli spurt om informasjon herfra når du spør om support.', //cpg1.4
-  'update_db' => 'Oppdater database',
-  'update_db_explanation' => 'Dersom du har feilplassert copperminefiler, lagt til en modifikasjon eller oppgradert fra en tidligere versjon av coppermine, kjør databaseoppdateringen en gang. Dette vil lage nødvendige tabeller og/eller konfigurasjonsverdier i din copperminedatabase.',
-  'view_log' => 'Se loggfiler', //cpg1.4
-  'view_log_explanation' => 'Coppermine kan loggføre forskjellige handlinger brukerne utfører. Du kan se på disse loggene dersom du har slått på logging i <a href="admin.php">coppermine konfigurasjon</a>.', //cpg1.4
-  'versioncheck' => 'Sjekk versjoner', //cpg1.4
-  'versioncheck_explanation' => 'Sjekk versjoner på dine file for å finne ut om du har oppdatert alle filene ved en oppgradering, eller om copperminefiler har blitt oppdatert siden en pakke ble sluppet.', //cpg1.4
-  'bridgemanager' => 'Broadministrasjon', //cpg1.4
-  'bridgemanager_explanation' => 'Slå integrering (bro) mellom Coppermine og et annet program på eller av (f.eks. ditt BBS).', //cpg1.4
-);
-}
-
-// ------------------------------------------------------------------------- //
-// File versioncheck.php //cpg1.4
-// ------------------------------------------------------------------------- //
-
-if (defined('VERSIONCHECK_PHP')) $lang_versioncheck_php = array(
-  'title' => 'Versionsjekk', //cpg1.4
-  'what_it_does' => 'Denne siden er ment for brukere som har oppdatert sin Coppermineinstallasjon. Dette skriptet går gjennom filene på din webserver og forsøker å fastslå om dine filer har samme versjon som siste på http://coppermine.sourceforge.net. Her vises da filene du skulle oppdatere også.<br />Skriptet vil vise alt som må fikses i rødt. Oppføringer i gult må ses på. Oppføringer i grønt (eller din standard fontfarge) er OK.<br />Klikk på hjelpeikoner for å finne ut mer.', //cpg1.4
-  'online_repository_unable' => 'Ikke i stand til å koble til http://coppermine.sourceforge.net', //cpg1.4
-  'online_repository_noconnect' => 'Coppermine kunne ikke koble til http://coppermine.sourceforge.net. Dette kan ha to årsaker:', //cpg1.4
-  'online_repository_reason1' => 'http://coppermine.sourceforge.net er midlertidig nede - sjekk om du kan se denne siden: %s - dersom du ikke kan det, prøv igjen senere.', //cpg1.4
-  'online_repository_reason2' => 'PHP på din webserver har %s slått av (det er slått på som standard). Dersom du kan administrere serveren, slå dette på i <i>php.ini</i> (tillat det i det minste å bli overridden med %s). Dersom du har en webhost, må du sannsynligvis belage deg på at du ikke kan sammenligne dine filer med siste versjon. Denne siden vil da kun vise filversjonene til din distribusjon - oppdateringer vil ikke bli vist.', //cpg1.4
-  'online_repository_skipped' => 'Hoppet over kobling til http://coppermine.sourceforge.net', //cpg1.4
-  'online_repository_to_local' => 'Dette skriptet viser den lokale kopien av filene nå. Dataene kan være unøyaktige om du har oppdatert Coppermine uten å laste opp alle filene. Endringer av filene etter releasen vil heller ikke bli tatt med.', //cpg1.4
-  'local_repository_unable' => 'Kan ikke koble til din server', //cpg1.4
-  'local_repository_explanation' => 'Coppermine kan ikke koble til filen %s på din webserver. Dete betyr sannsynligvis at du ikke har lastet opp filen til din webserver. Gjør det og prøv denne siden igjen (trykk refresh).<br />Dersom skriptet fortsatt feiler har din webhost kanskje slått av deler av <a href="http://www.php.net/manual/en/ref.filesystem.php">PHPs filsystem funksjoner</a> helt. Om dette er tilfelle kan du ikke bruke dette skriptet i det hele tatt, beklager.', //cpg1.4
-  'coppermine_version_header' => 'Installert Coppermineversjon', //cpg1.4
-  'coppermine_version_info' => 'Du har installert: %s', //cpg1.4
-  'coppermine_version_explanation' => 'Dersom du tror dette er helt feil, og du skulle ha kjørt en nyere versjon av Coppermine, har du sannsynligvis ikke lastet opp siste versjon av fileen <i>include/init.inc.php</i>', //cpg1.4
-  'version_comparison' => 'Sammenligning av Versjoner', //cpg1.4
-  'folder_file' => 'mappe/fil', //cpg1.4
-  'coppermine_version' => 'cpg versjon', //cpg1.4
-  'file_version' => 'fil versjon', //cpg1.4
-  'webcvs' => 'web svn', //cpg1.4
-  'writable' => 'skrivbar', //cpg1.4
-  'not_writable' => 'ikke skrivbar', //cpg1.4
-  'help' => 'Hjelp', //cpg1.4
-  'help_file_not_exist_optional1' => 'fil/mappe finnes ikke', //cpg1.4
-  'help_file_not_exist_optional2' => 'Filen/mappen %s ble ikke funnet på din server. Selv om den ikke er påkrevd burde du laste den opp til webserveren din om du har problemer.', //cpg1.4
-  'help_file_not_exist_mandatory1' => 'fil/mappe finnes ikke', //cpg1.4
-  'help_file_not_exist_mandatory2' => 'Filen/mappen %s ble ikke funnet på din server, selv om den er påkrevd. Last opp filen til din webserver.', //cpg1.4
-  'help_no_local_version1' => 'Ingen versjonsinfo for lokal fil', //cpg1.4
-  'help_no_local_version2' => 'Skriptet kunne ikke finne versjonsinformasjon for loakl fil - filen er enten utdatert eller så har du fjernet versjonsinformasjonen når du har endret den. Det er anbefalt å oppdatere filen.', //cpg1.4
-  'help_local_version_outdated1' => 'Lokal versjon utdatert', //cpg1.4
-  'help_local_version_outdated2' => 'Din versjon av filen ser ut til å tilhøre en eldre versjon av Coppermine (du har sannsynligvis oppgradert). Oppdater denne filen også.', //cpg1.4
-  'help_local_version_na1' => 'Kunne ikke finne cvsversjon', //cpg1.4
-  'help_local_version_na2' => 'Skriptet kunne ikke finne cvsversjonen av av filen på din webserver. Du bør laste opp filen på nytt fra installasjonspakken.', //cpg1.4
-  'help_local_version_dev1' => 'Utviklingsversjon', //cpg1.4
-  'help_local_version_dev2' => 'Filen på din webserver ser ut til å være nyere enn din Coppermineversjon. Du kjører enten en utviklingsversjon (du bør kun gjøre det om du vet hva du gjør), eller så har du oppgradert din Coppermine installasjon uten å laste opp ny versjon av include/init.inc.php', //cpg1.4
-  'help_not_writable1' => 'Ikke skrivbar mappe', //cpg1.4
-  'help_not_writable2' => 'Endre filrettigheter (CHMOD) for å gi skriptet skrivetilgang til mappen %s og alt i den mappen.', //cpg1.4
-  'help_writable1' => 'Skrivbar mappe', //cpg1.4
-  'help_writable2' => 'Mappen %s er skrivbar. Dette er en unødvendig sikkerhetsrisiko, Coppermine trenger kun lese/kjøretilgang.', //cpg1.4
-  'help_writable_undetermined' => 'Coppermine kunne ikke avgjøre om mappen er skrivbar.', //cpg1.4
-  'your_file' => 'din fil', //cpg1.4
-  'reference_file' => 'referansefil', //cpg1.4
-  'summary' => 'Oppsummering', //cpg1.4
-  'total' => 'Total antall filer/mapper undersøkt', //cpg1.4
-  'mandatory_files_missing' => 'Påkrevde mapper som mangler', //cpg1.4
-  'optional_files_missing' => 'Ikke påkrevde mapper som mangler', //cpg1.4
-  'files_from_older_version' => 'Filer etterlatt fra utdaterte Coppermineversjoner', //cpg1.4
-  'file_version_outdated' => 'Utdaterte filversjoner', //cpg1.4
-  'error_no_data' => 'Skriptet gjorde en feil, det kunne ikke informasjon. Beklager.', //cpg1.4
-  'go_to_webcvs' => 'gå til %s', //cpg1.4
-  'options' => 'Opsjoner', //cpg1.4
-  'show_optional_files' => 'vis valgfrie mapper/filer', //cpg1.4
-  'show_mandatory_files' => 'vis påkrevde filer', //cpg1.4
-  'show_file_versions' => 'vis filversjoner', //cpg1.4
-  'show_errors_only' => 'vis kun mapper/filer med feil', //cpg1.4
-  'show_permissions' => 'vis tillatelser for mappe', //cpg1.4
-  'show_condensed_output' => 'vis sammenkortet (for enklere skjermdumper)', //cpg1.4
-  'coppermine_in_webroot' => 'coppermine er installert som webroot', //cpg1.4
-  'connect_online_repository' => 'prøv å koble til online repository', //cpg1.4
-  'show_additional_information' => 'vis ytterligere informasjon', //cpg1.4
-  'no_webcvs_link' => 'ikke vis webcvslinker', //cpg1.4
-  'stable_webcvs_link' => 'vis webcvslinker til stabil versjon', //cpg1.4
-  'devel_webcvs_link' => 'vis webcvslinker til utviklingsversjon', //cpg1.4
-  'submit' => 'lagre endringer / last på nytt', //cpg1.4
-  'reset_to_defaults' => 'tilbakestill til standardverdier', //cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File view_log.php  //cpg1.4
-// ------------------------------------------------------------------------- //
-
-if (defined('VIEWLOG_PHP')) $lang_viewlog_php = array(
-  'delete_all' => 'Slett alle logger', //cpg1.4
-  'delete_this' => 'Slett denne loggen', //cpg1.4
-  'view_logs' => 'Se logger', //cpg1.4
-  'no_logs' => 'Ingen logger.', //cpg1.4
-);
-
-
-// ------------------------------------------------------------------------- //
-// File xp_publish.php //cpg1.4
-// ------------------------------------------------------------------------- //
-
-if (defined('XP_PUBLISH_PHP')) {
-
-$lang_xp_publish_client = <<<EOT
-<h1>XP Web Publishing Wizard Client</h1><p>Denne modulen lar deg bruke <b>Windows XP</b> web publishing wizard med Coppermine.</p><p>Koden er basert på en melding postet av
-EOT;
-
-$lang_xp_publish_required = <<<EOT
-<h2>Hva er påkrevd</h2><ul><li>Windows XP.</li><li>En fungerende installasjon av Coppermine der <b>webopplastningsfunksjonen virker.</b></li></ul><h2>Hvordan installere på klienten</h2><ul><li>Høyreklikk på
-EOT;
-
-$lang_xp_publish_select = <<<EOT
-Velg &quot;lagre som..&quot;. Lagre filen på din maskin. Sjekk at filens navn er <b>cpg_###.reg</b> (### representerer en numerisk timestamp) når du lagrer filen. Endre navnet om nødvendig (la tallene stå). Dobbeltklikk på filen når den er lastet ferdig, for å registrere din server i webpubliseringsveiviseren.</li></ul>
-EOT;
-
-$lang_xp_publish_testing = <<<EOT
-<h2>Testing</h2><ul><li>Velg på noen filer i Windows Utforsker, og klikk <b>Publish xxx on the web</b> i venstre rute.</li><li>Bekreft ditt filvalg. Klikk på <b>Neste</b>.</li><li>I listen som kommer opp, velg ditt fotoalbum. Dersom det ikke kommer opp , sjekk at du har installert <b>cpg_pub_wizard.reg</b> som beskrevet over.</li><li>Skriv inn din innloggingsinformasjon om det behøves.</li><li>Velg et album for bildene, eller lag et nytt.</li><li>Klikk på <b>neste</b>. Opplastingen av dine bilder starter.</li><li>Når opplastningen er fullført, sjekk ditt galleri for å se om bildene er korrekt lastet opp.</li></ul>
-EOT;
-
-$lang_xp_publish_notes = <<<EOT
-<h2>Notater :</h2><ul><li>Med en gang opplastningen er startet kan ikke veiviseren vise feilmeldinger fra skriptet, så du kan ikke vite om opplastningen ble vellykket eller ikke før du sjekker galleriet.</li><li>Dersom opplastningen var mislykket, slå på &quot;Debug modus&quot; i administrasjonsverktøyet til Coppermine. Prøv med ett enkelt bilde, og sjekk feilmeldinger i loggen
-EOT;
-
-$lang_xp_publish_flood = <<<EOT
-fil i Copperminemappen på din server.</li><li>For å forhindre at galleriet ditt blir <i>flooded</i> av bilder lastet opp med veiviseren , kan kun <b>galleri administratorer</b> og <b>brukere som har egne album</b> bruke dette.</li>
-EOT;
-
-
-
-$lang_xp_publish_php = array(
-  'title' => 'Veiviser for Coppermine - XP Web Publishing', //cpg1.4
-  'welcome' => 'Velkommen <b>%s</b>,', //cpg1.4
-  'need_login' => 'Du må logge inn på galleriet med din nettleser før du kan bruke denne veiviseren.<p/><p>Når du logger inn, velg <b>husk meg</b> om den er tilgjengelig.', //cpg1.4
-  'no_alb' => 'Beklager, men det finnes ingen album du har lov til å laste opp filer med denne veiviseren.', //cpg1.4
-  'upload' => 'Last dine bilder opp i et eksisterende album', //cpg1.4
-  'create_new' => 'Lag et nytt album for dine bilder', //cpg1.4
-  'album' => 'Album', //cpg1.4
-  'category' => 'Kategori', //cpg1.4
-  'new_alb_created' => 'Ditt nye album &quot;<b>%s</b>&quot; ble opprettet.', //cpg1.4
-  'continue' => 'Trykk &quot;Neste&quot; for å laste opp dine bilder', //cpg1.4
-  'link' => 'denne linken', //cpg1.4
-);
-}
+<?php
+/*************************
+  Coppermine Photo Gallery
+  ************************
+  Copyright (c) 2003-2009 Coppermine Dev Team
+  v1.1 originally written by Gregory DEMAR
+
+  This program is free software; you can redistribute it and/or modify
+  it under the terms of the GNU General Public License version 3
+  as published by the Free Software Foundation.
+  
+  ********************************************
+  Coppermine version: 1.4.25
+  $HeadURL: https://coppermine.svn.sourceforge.net/svnroot/coppermine/trunk/cpg1.4.x/lang/norwegian.php $
+  $Revision: 6027 $
+  $Author: gaugau $
+  $Date: 2009-06-01 03:09:23 +0200 (Mo, 01 Jun 2009) $
+**********************************************/
+
+if (!defined('IN_COPPERMINE')) { die('Not in Coppermine...');}
+
+// info about translators and translated language
+$lang_translation_info = array(
+  'lang_name_english' => 'Norwegian', //cpg1.4
+  'lang_name_native' => 'Norsk', //cpg1.4
+  'lang_country_code' => 'no', //cpg1.4
+  'trans_name'=> 'johnwr',
+  'trans_email' => 'johnwr_coppermine@responseweb.net',
+  'trans_website' => '',
+  'trans_date' => '2005-05-15',
+);
+
+$lang_charset = 'utf-8';
+$lang_text_dir = 'ltr'; // ('ltr' for left to right, 'rtl' for right to left)
+
+// shortcuts for Byte, Kilo, Mega
+$lang_byte_units = array('Bytes', 'KB', 'MB');
+
+// Day of weeks and months
+$lang_day_of_week = array('Søn', 'Man', 'Tir', 'Ons', 'Tor', 'Fre', 'Lør');
+$lang_month = array('Jan', 'Feb', 'Mar', 'Apr', 'Mai', 'Jun', 'Jul', 'Aug', 'Sep', 'Okt', 'Nov', 'Des');
+
+// Some common strings
+$lang_yes = 'Ja';
+$lang_no  = 'Nei';
+$lang_back = 'TILBAKE';
+$lang_continue = 'FORTSETT';
+$lang_info = 'Informasjon';
+$lang_error = 'Feil';
+$lang_check_uncheck_all = 'merk/avmerk alle'; //cpg1.4
+
+// The various date formats
+// See http://www.php.net/manual/en/function.strftime.php to define the variable below
+$album_date_fmt =    '%d. %B, %Y';
+$lastcom_date_fmt =  '%Y-%m-%d kl. %H:%M';
+$lastup_date_fmt = '%d. %B, %Y';
+$register_date_fmt = '%d. %B, %Y';
+$lasthit_date_fmt = '%Y-%m-%d kl. %H:%M';
+$comment_date_fmt =  '%Y-%m-%d kl. %H:%M';
+$log_date_fmt = '%Y-%m-%d at %H:%M:%S'; //cpg 1.4
+
+// For the word censor
+$lang_bad_words = array('*fuck*', 'asshole', 'assramer', 'bitch*', 'c0ck', 'clits', 'Cock', 'cum', 'cunt*', 'dago', 'daygo', 'dego', 'dick*', 'dildo', 'fanculo', 'feces', 'foreskin', 'Fu\(*', 'fuk*', 'honkey', 'hore', 'injun', 'kike', 'lesbo', 'masturbat*', 'motherfucker', 'nazis', 'nigger*', 'nutsack', 'penis', 'phuck', 'poop', 'pussy', 'scrotum', 'shit', 'slut', 'titties', 'titty', 'twaty', 'wank*', 'whore', 'wop*');
+
+$lang_meta_album_names = array(
+  'random' => 'Tilfeldige filer',
+  'lastup' => 'Siste filer',
+  'lastalb'=> 'Sist oppdaterte album',
+  'lastcom' => 'Siste kommentarer',
+  'topn' => 'Mest sett',
+  'toprated' => 'Beste karakter',
+  'lasthits' => 'Siste visninger',
+  'search' => 'Søkeresultat',
+  'favpics'=> 'Favoritter',  //cpg1.4
+);
+
+$lang_errors = array(
+  'access_denied' => 'Du har ikke tilgang til denne siden.',
+  'perm_denied' => 'Du kan ikke utføre denne handlingen.',
+  'param_missing' => 'Scriptet ble kalt uten nødvendige parametere.',
+  'non_exist_ap' => 'Det valgte album/bilde eksisterer ikke!', //cpg1.3.0
+  'quota_exceeded' => 'Diskkvoten din er oppbrukt<br /><br />Du har plass til [quota]K, dine filer bruker [space]K. Legger du inn flere filer overskrider du denne kvoten.', //cpg1.3.0
+  'gd_file_type_err' => 'Albumet bruker GD Graphics- teknikk. Da er det kun tillatt å bruke JPEG eller PNG bilder.',
+  'invalid_image' => 'Bildet du lastet opp er defekt eller støttes ikke av GD.',
+  'resize_failed' => 'Kunne ikke forandre størrelsen på bildet eller opprette miniatyrbilde.',
+  'no_img_to_display' => 'Ingen filer',
+  'non_exist_cat' => 'Den valgte kategorien eksisterer ikke',
+  'orphan_cat' => 'En kategori er -foreldreløs-. Oppdater i kategoriadministrasjonen.', //cpg1.3.0
+  'directory_ro' => 'Mappen \'%s\' er skrivebeskyttet. Bildet kan ikke slettes.', //cpg1.3.0
+  'non_exist_comment' => 'Den valgte kommentaren finnes ikke.',
+  'pic_in_invalid_album' => 'Det finnes filer som er knyttet til et album som ikke eksisterer (%s)!?', //cpg1.3.0
+  'banned' => 'Du har mistet retten til å bruke dette internettstedet.',
+  'not_with_udb' => 'Funksjonen er deaktivert fordi Coppermine kjører sammen med et diskusjonsforum.',
+  'offline_title' => 'Utilgjengelig', //cpg1.3.0
+  'offline_text' => 'Galleriet er midlertidig utilgjengelig - prøv igjen senere', //cpg1.3.0
+  'ecards_empty' => 'Det er ingen ekort å vise. Sjekk at ekortlogging er aktivert!', //cpg1.3.0
+  'action_failed' => 'Handling feilet.  Coppermine kan ikke utføre denne handlingen.', //cpg1.3.0
+  'no_zip' => 'Nødvendige biblioteker for å behandle ZIPfiler mangler.  Kontakt din administrator.', //cpg1.3.0
+  'zip_type' => 'Du har ikke rettigheter til å laste opp ZIP filer.', //cpg1.3.0
+  'database_query' => 'Det oppsto en feil under spørring i databasen', //cpg1.4
+  'register_globals_on' => 'The PHP setting register_globals is enabled on your server, which is a bad idea in terms of security. It\'s strongly recommended to turn it off. [<a href="http://forum.coppermine-gallery.net/index.php/topic,59569.0.html" rel="external" class="external">more</a>]',
+);
+
+$lang_bbcode_help_title = 'Hjelp med bbkoder'; //cpg1.4
+$lang_bbcode_help = 'Du kan legge til klikkbare linker og enkel tekstformattering her ved å bruke bbkoder: <li>[b]Uthevet[/b] =&gt; <b>Uthevet</b></li><li>[i]Kursiv[/i] =&gt; <i>Kursiv</i></li><li>[url=http://yoursite.com/]Url Tekst[/url] =&gt; <a href="http://yoursite.com">Url Tekst</a></li><li>[email]user@domain.com[/email] =&gt; <a href="mailto:user@domain.com">user@domain.com</a></li><li>[color=red]Tekst[/color] =&gt; <span style="color:red">Tekst</span></li><li>[img]http://coppermine-gallery.net/demo/cpg14x/images/red.gif[/img] => <img src="../images/red.gif" border="0" alt="" /></li>'; //cpg1.4
+
+// ------------------------------------------------------------------------- //
+// File theme.php
+// ------------------------------------------------------------------------- //
+
+$lang_main_menu = array(
+  'home_title' => 'Gå til startsiden',
+  'home_lnk' => 'Startside',
+  'alb_list_title' => 'Gå til albumlisten',
+  'alb_list_lnk' => 'Albumliste',
+  'my_gal_title' => 'Gå til mitt personlige galleri',
+  'my_gal_lnk' => 'Mitt galleri',
+  'my_prof_title' => 'Gå til Min profil', //cpg1.4
+  'my_prof_lnk' => 'Min profil',
+  'adm_mode_title' => 'Bytt til adminmodus',
+  'adm_mode_lnk' => 'Adminmodus',
+  'usr_mode_title' => 'Bytt til brukermodus',
+  'usr_mode_lnk' => 'Brukermodus',
+  'upload_pic_title' => 'Last opp fil til et album',
+  'upload_pic_lnk' => 'Last opp fil',
+  'register_title' => 'Lag bruker',
+  'register_lnk' => 'Registrer',
+  'login_title' => 'Logg meg inn', //cpg1.4
+  'login_lnk' => 'Logg inn',
+  'logout_title' => 'Logg meg ut', //cpg1.4
+  'logout_lnk' => 'Logg ut',
+  'lastup_title' => 'Vis siste opplastninger', //cpg1.4
+  'lastup_lnk' => 'Siste opplastninger',
+  'lastcom_title' => 'Vis siste kommentarer', //cpg1.4
+  'lastcom_lnk' => 'Siste kommentarer',
+  'topn_title' => 'Vis mest sette filer', //cpg1.4
+  'topn_lnk' => 'Mest sett',
+  'toprated_title' => 'Vis beste karakterer', //cpg1.4
+  'toprated_lnk' => 'Beste karakter',
+  'search_title' => 'Søk i galleriet', //cpg1.4
+  'search_lnk' => 'Søk',
+  'fav_title' => 'Gå til Mine Favoritter', //cpg1.4
+  'fav_lnk' => 'Mine Favoritter',
+  'memberlist_title' => 'Vis Medlemsliste',
+  'memberlist_lnk' => 'Medlemsliste',
+  'faq_title' => 'Spørsmål og Svar om bildegalleriet &quot;Coppermine&quot;',
+  'faq_lnk' => 'FAQ',
+);
+
+$lang_gallery_admin_menu = array(
+  'upl_app_title' => 'Godkjenn nye opplastninger', //cpg1.4
+  'upl_app_lnk' => 'Godkjenning av opplastninger',
+  'admin_title' => 'Gå til konfigurasjon', //cpg1.4
+  'admin_lnk' => 'Konfigurasjon', //cpg1.4
+  'albums_title' => 'Gå til albumadministrasjon', //cpg1.4
+  'albums_lnk' => 'Album',
+  'categories_title' => 'Gå til kategoriadministrasjon', //cpg1.4
+  'categories_lnk' => 'Kategorier',
+  'users_title' => 'Gå til brukeradministrasjon', //cpg1.4
+  'users_lnk' => 'Brukere',
+  'groups_title' => 'Gå til gruppeadministrasjon', //cpg1.4
+  'groups_lnk' => 'Grupper',
+  'comments_title' => 'Godkjenn kommentarer', //cpg1.4
+  'comments_lnk' => 'Kommentarer',
+  'searchnew_title' => 'Gå til masseinnlegging av filer', //cpg1.4
+  'searchnew_lnk' => 'Masseinnlegging',
+  'util_title' => 'Gå til administrasjonsverktøy', //cpg1.4
+  'util_lnk' => 'Administrasjonsverktøy',
+  'key_title' => 'Gå til nøkkelordbok', //cpg1.4
+  'key_lnk' => 'Nøkkelordbok', //cpg1.4
+  'ban_title' => 'Gå til utviste brukere', //cpg1.4
+  'ban_lnk' => 'Utvis brukere',
+  'db_ecard_title' => 'Gå til administrasjon av ekort', //cpg1.4
+  'db_ecard_lnk' => 'Vis ekort',
+  'pictures_title' => 'Sorter mine bilder', //cpg1.4
+  'pictures_lnk' => 'Sorter mine bilder', //cpg1.4
+  'documentation_lnk' => 'Manual', //cpg1.4
+  'documentation_title' => 'Coppermine dokumentasjon', //cpg1.4
+);
+
+$lang_user_admin_menu = array(
+  'albmgr_title' => 'Opprett og ordne mine album', //cpg1.4
+  'albmgr_lnk' => 'Opprett / ordne mine album',
+  'modifyalb_title' => 'Gå til redigering av mine album',  //cpg1.4
+  'modifyalb_lnk' => 'Rediger mine album',
+  'my_prof_title' => 'Gå til min profil', //cpg1.4
+  'my_prof_lnk' => 'Min profil',
+);
+
+$lang_cat_list = array(
+  'category' => 'Kategori',
+  'albums' => 'Album',
+  'pictures' => 'Filer',
+);
+
+$lang_album_list = array(
+  'album_on_page' => '%d album over %d side(r)',
+);
+
+$lang_thumb_view = array(
+  'date' => 'DATO',
+  //Sort by filename and title
+  'name' => 'FILNAVN',
+  'title' => 'TITTEL',
+  'sort_da' => 'Sorter på dato i stigende rekkefølge',
+  'sort_dd' => 'Sorter på dato i synkende rekkefølge',
+  'sort_na' => 'Sorter på navn i stigende rekkefølge',
+  'sort_nd' => 'Sorter på navn i synkende rekkefølge',
+  'sort_ta' => 'Sorter på tittel i stigende rekkefølge',
+  'sort_td' => 'Sorter på tittel i synkende rekkefølge',
+  'position' => 'POSISJON', //cpg1.4
+  'sort_pa' => 'Sorter på posisjon i stigende rekkefølge', //cpg1.4
+  'sort_pd' => 'Sorter på posisjon i synkende rekkefølge', //cpg1.4
+  'download_zip' => 'Last ned som Zipfil',
+  'pic_on_page' => '%d filer over %d side(r)',
+  'user_on_page' => '%d brukere over %d side(r)',
+  'enter_alb_pass' => 'Skriv inn Albumpassord',
+  'invalid_pass' => 'Ugyldig passord',
+  'pass' => 'Passord', //cpg1.4
+  'submit' => 'Submit' //cpg1.4
+);
+
+$lang_img_nav_bar = array(
+  'thumb_title' => 'Tilbake til oversikt',
+  'pic_info_title' => 'Vis/skjul filinformasjon',
+  'slideshow_title' => 'Lysbildevisning',
+  'ecard_title' => 'Send denne filen som et ekort',
+  'ecard_disabled' => 'ekortfunksjonalitet er ikke tilgjengelig',
+  'ecard_disabled_msg' => 'Du har ikke tilgang til å sende ekort', //js-alert
+  'prev_title' => 'Se forrige fil',
+  'next_title' => 'Se neste fil',
+  'pic_pos' => 'FIL %s/%s',
+  'report_title' => 'Rapporter denne filen til administrator', //cpg1.4
+  'go_album_end' => 'Hopp til siste', //cpg1.4
+  'go_album_start' => 'Tilbake til start', //cpg1.4
+  'go_back_x_items' => 'gå tilbake %s filer', //cpg1.4
+  'go_forward_x_items' => 'gå frem %s filer', //cpg1.4
+);
+
+$lang_rate_pic = array(
+  'rate_this_pic' => 'Gi karakter på dette bildet ',
+  'no_votes' => '(Ingen stemmer)',
+  'rating' => '(Karakter : %s / 5 med %s stemmer)',
+  'rubbish' => 'Søppel',
+  'poor' => 'Dårlig',
+  'fair' => 'Greit nok',
+  'good' => 'Bra',
+  'excellent' => 'Veldig bra',
+  'great' => 'Topp',
+);
+
+// ------------------------------------------------------------------------- //
+// File include/exif.inc.php
+// ------------------------------------------------------------------------- //
+
+// void
+
+// ------------------------------------------------------------------------- //
+// File include/functions.inc.php
+// ------------------------------------------------------------------------- //
+
+$lang_cpg_die = array(
+  INFORMATION => $lang_info,
+  ERROR => $lang_error,
+  CRITICAL_ERROR => 'Kritisk feil',
+  'file' => 'Fil: ',
+  'line' => 'Linje: ',
+);
+
+$lang_display_thumbnails = array(
+  'filename' => 'Filnavn=', //cpg1.4
+  'filesize' => 'Filstørrelse=', //cpg1.4
+  'dimensions' => 'Dimensjoner=', //cpg1.4
+  'date_added' => 'Lagt inn dato=', //cpg1.4
+);
+
+$lang_get_pic_data = array(
+  'n_comments' => '%s kommentarer',
+  'n_views' => '%s visninger',
+  'n_votes' => '(%s stemmer)',
+);
+
+$lang_cpg_debug_output = array(
+  'debug_info' => 'Debuginformasjon',
+  'select_all' => 'Velg alle',
+  'copy_and_paste_instructions' => 'Dersom du skal be om hjelp på Coppermine support forumet må du kopiere denne teksten inn i meldingen din når det er forespurt, sammen med den eventuelle feilmeldingen. Vær oppmerksom på å eratatte eventuelle passord med *** først. <br /> Merk: Dette er kun for informasjon, og betyr ikke nødvendigvis at det er noe galt med galleriet ditt.', //cpg1.4
+  'phpinfo' => 'vis phpinfo',
+  'notices' => 'Notiser', //cpg1.4
+);
+
+$lang_language_selection = array(
+  'reset_language' => 'Standard språk',
+  'choose_language' => 'Velg ditt språk',
+);
+
+$lang_theme_selection = array(
+  'reset_theme' => 'Standard utseende',
+  'choose_theme' => 'Velg utseende',
+);
+
+$lang_version_alert = array(
+  'version_alert' => 'Ikke supportert versjon!', //cpg1.4
+  'no_stable_version' => 'Du kjører Coppermine  %s (%s) som er beregnet på svært erfarne brukere - denne versjonen kommer uten noen form for support eller garantier. Bruk den på egen risiko, eller nedgrader til siste stabile versjon dersom du trenger support!', //cpg1.4
+  'gallery_offline' => 'Galleriet er midlertidig ute av drift, og vil kun være tilgjengelig for administratorer. Ikke glem å sette det i drift igjen etter at du er ferdig med vedlikeholdet.', //cpg1.4
+);
+
+$lang_create_tabs = array(
+  'previous' => 'forrige', //cpg1.4
+  'next' => 'neste', //cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File include/init.inc.php
+// ------------------------------------------------------------------------- //
+
+// void
+
+// ------------------------------------------------------------------------- //
+// File keyword.inc.php                                                      //
+// ------------------------------------------------------------------------- //
+
+// void
+
+// ------------------------------------------------------------------------- //
+// File include/picmgmt.inc.php
+// ------------------------------------------------------------------------- //
+
+// void
+
+// ------------------------------------------------------------------------- //
+// File include/plugin_api.inc.php
+// ------------------------------------------------------------------------- //
+$lang_plugin_api = array(
+  'error_wakeup' => "Kunne ikke slå på plugin '%s'", //cpg1.4
+  'error_install' => "Kunne ikke installere plugin '%s'", //cpg1.4
+  'error_uninstall' => "Kunne ikke avinstallere plugin '%s'", //cpg1.4
+  'error_sleep' => "Kunne ikke slå av plugin '%s'<br />", //cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File include/smilies.inc.php
+// ------------------------------------------------------------------------- //
+
+if (defined('SMILIES_PHP')) $lang_smilies_inc_php = array(
+  'Exclamation' => 'Utrop',
+  'Question' => 'Spørsmål',
+  'Very Happy' => 'Veldig glad',
+  'Smile' => 'Smil',
+  'Sad' => 'Trist',
+  'Surprised' => 'Overrasket',
+  'Shocked' => 'Sjokkert',
+  'Confused' => 'Forvirret',
+  'Cool' => 'Kult',
+  'Laughing' => 'Ler',
+  'Mad' => 'Sint',
+  'Razz' => 'Fleiper',
+  'Embarassed' => 'Flau',
+  'Crying or Very sad' => 'Gråter eller veldig trist',
+  'Evil or Very Mad' => 'Ond eller veldig sint',
+  'Twisted Evil' => 'Ond',
+  'Rolling Eyes' => 'Rullende øyne',
+  'Wink' => 'Blunker lurt',
+  'Idea' => 'Ide',
+  'Arrow' => 'Pil',
+  'Neutral' => 'Nøytral',
+  'Mr. Green' => 'Herr Grønn',
+);
+
+// ------------------------------------------------------------------------- //
+// File addpic.php
+// ------------------------------------------------------------------------- //
+
+// void
+
+// ------------------------------------------------------------------------- //
+// File mode.php //cpg1.4
+// ------------------------------------------------------------------------- //
+
+if (defined('MODE_PHP')) $lang_mode_php = array(
+  0 => 'Forlater administrasjonsmodus...',
+  1 => 'Går inn i administrasjonsmodus...',
+);
+
+// ------------------------------------------------------------------------- //
+// File albmgr.php
+// ------------------------------------------------------------------------- //
+
+if (defined('ALBMGR_PHP')) $lang_albmgr_php = array(
+  'alb_need_name' => 'Album må ha et navn !', //js-alert
+  'confirm_modifs' => 'Er du sikker på at du vil lagre disse endringene ?', //js-alert
+  'no_change' => 'Du gjorde ingen endringer !', //js-alert
+  'new_album' => 'Nytt album',
+  'confirm_delete1' => 'Er du sikker på at du vil slette dette albumet?', //js-alert
+  'confirm_delete2' => '\nAlle filer og kommentarer vil forsvinne!', //js-alert
+  'select_first' => 'Velg et album først', //js-alert
+  'alb_mrg' => 'Albumadministrasjon',
+  'my_gallery' => '* Mitt galleri *',
+  'no_category' => '* Ingen kategori *',
+  'delete' => 'Slett',
+  'new' => 'Ny',
+  'apply_modifs' => 'Lagre endringer',
+  'select_category' => 'Velg kategori',
+);
+
+// ------------------------------------------------------------------------- //
+// File banning.php
+// ------------------------------------------------------------------------- //
+
+if (defined('BANNING_PHP')) $lang_banning_php = array(
+  'title' => 'Utvis brukere', //cpg1.4
+  'user_name' => 'Brukernavn', //cpg1.4
+  'ip_address' => 'IP-adresse', //cpg1.4
+  'expiry' => 'Utløper (blank er permanent)', //cpg1.4
+  'edit_ban' => 'Lagre endringer', //cpg1.4
+  'delete_ban' => 'Slett', //cpg1.4
+  'add_new' => 'Ny utvisning', //cpg1.4
+  'add_ban' => 'Utvis bruker', //cpg1.4
+  'error_user' => 'Finner ikke bruker', //cpg1.4
+  'error_specify' => 'Du må spesifisere enten et brukernavn eller en IP-adresse', //cpg1.4
+  'error_ban_id' => 'Ugyldig utvisningsID!', //cpg1.4
+  'error_admin_ban' => 'Du kan ikke utvise deg selv!', //cpg1.4
+  'error_server_ban' => 'Tenkte du å utvise din egen server? Tsk tsk...', //cpg1.4
+  'error_ip_forbidden' => 'Du kan ikke utvise denne IP - den er ikkerutbar (privat) uansett!<br />Dersom du vil tillate utvisning av private adresser, sett dette i <a href="admin.php">Konfigurasjon</a> (dette er bare aktuelt om Coppermine kjører i et LAN).', //cpg1.4
+  'lookup_ip' => 'Slå opp en IP-adresse', //cpg1.4
+  'submit' => 'OK!', //cpg1.4
+  'select_date' => 'velg dato', //cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File bridgemgr.php //cpg1.4
+// ------------------------------------------------------------------------- //
+
+if (defined('BRIDGEMGR_PHP')) $lang_bridgemgr_php = array(
+  'title' => 'Broveiviser',
+  'warning' => 'Advarsel: ved å bruke denne veiviseren må du være inneforstått med at sensitiv data blir sendt ved html skjema. Kjør den kun på din egen PC (ikke på en offentlige klienter som Internettkafeer o.l.), og forsikre deg om at nettleserens cache er tømt etterpå. Ellers kan andre få tilgang til dine data!',
+  'back' => 'tilbake',
+  'next' => 'neste',
+  'start_wizard' => 'Start Broveiviser',
+  'finish' => 'Avslutt',
+  'hide_unused_fields' => 'skjul ubrukte felter (anbefalt)',
+  'clear_unused_db_fields' => 'fjern ugyldige data fra databasen (anbefalt)',
+  'custom_bridge_file' => 'Navn på din spesialtilpassede brofil (dersom navnet er <i>myfile.inc.php</i>, skriv <i>myfile</i> i dette feltet)',
+  'no_action_needed' => 'Ingen handling er påkrevd i dette steg. Klikk \'neste\' for å fortsette.',
+  'reset_to_default' => 'Reset til standardverdi',
+  'choose_bbs_app' => 'velg program coppermine skal linkes til',
+  'support_url' => 'Gå hit for hjelp med dette programmet',
+  'settings_path' => 'filsti(er) brukt av av ditt BBSprogram',
+  'database_connection' => 'databasekobling',
+  'database_tables' => 'databasetabeller',
+  'bbs_groups' => 'BBSgrupper',
+  'license_number' => 'Lisensnummer',
+  'license_number_explanation' => 'Skriv ditt lisensnummer (om aktuelt)',
+  'db_database_name' => 'Databasenavn',
+  'db_database_name_explanation' => 'Skriv navnet på databasen ditt BBSprogram bruker',
+  'db_hostname' => 'Databasemaskin',
+  'db_hostname_explanation' => 'Maskinnavn der din mySQLdatabase kjører, som regel &quot;localhost&quot;',
+  'db_username' => 'Databasebrukernavn',
+  'db_username_explanation' => 'mySQLbrukernavn å bruke for kommunikasjon med BBS',
+  'db_password' => 'Databasepassord',
+  'db_password_explanation' => 'Passord til denne mySQLbrukeren',
+  'full_forum_url' => 'Forum URL',
+  'full_forum_url_explanation' => 'Full URL til ditt BBSprogram (inkludert http://, f.eks. http://www.yourdomain.tld/forum)',
+  'relative_path_of_forum_from_webroot' => 'Relativ forumsti',
+  'relative_path_of_forum_from_webroot_explanation' => 'Relativ sti til ditt BBSprogram fra din webroot (Eksempel: dersom din BBS er på http://www.yourdomain.tld/forum/, skriv &quot;/forum/&quot; her)',
+  'relative_path_to_config_file' => 'Relativ sti til din BBS\'s konfigurasjonsfil',
+  'relative_path_to_config_file_explanation' => 'Relativ sti til din BBS, sett fra din Copperminemappe (f.eks. &quot;../forum/&quot; dersom din BBS er på http://www.yourdomain.tld/forum/ og Coppermine er på http://www.yourdomain.tld/gallery/)',
+  'cookie_prefix' => 'Cookie prefix',
+  'cookie_prefix_explanation' => 'dette må være navnet på cookien til din BBS',
+  'table_prefix' => 'Tabellprefix',
+  'table_prefix_explanation' => 'Må stemme med prefixet du valgte for din BBS når du installerte det.',
+  'user_table' => 'Brukertabell',
+  'user_table_explanation' => '(som regel standardverdi, om du ikke har gjort endringer fra standard på din BBSinstallasjon)',
+  'session_table' => 'Sesjontabell',
+  'session_table_explanation' => '(som regel standardverdi, om du ikke har gjort endringer fra standard på din BBSinstallasjon)',
+  'group_table' => 'Gruppetabell',
+  'group_table_explanation' => '(som regel standardverdi, om du ikke har gjort endringer fra standard på din BBSinstallasjon)',
+  'group_relation_table' => 'Grupperelasjonstabell',
+  'group_relation_table_explanation' => '(som regel standardverdi, om du ikke har gjort endringer fra standard på din BBSinstallasjon)',
+  'group_mapping_table' => 'Gruppemappingtabell',
+  'group_mapping_table_explanation' => '(som regel standardverdi, om du ikke har gjort endringer fra standard på din BBSinstallasjon)',
+  'use_standard_groups' => 'Bruk standard BBS brukergrupper',
+  'use_standard_groups_explanation' => 'Bruk standard (innebygde) brukergrupper (anbefalt). Dette vil gjøre alle egendefinerte brukergrupper satt på denne siden ugyldige. Slå kun av dette om du VIRKELIG vet hva du gjør!',
+  'validating_group' => 'Godkjenningsgruppe',
+  'validating_group_explanation' => 'GruppeID fra din BBS der brukerkontoer trenger godkjenning (som regel standardverdi, om du ikke har gjort endringer fra standard på din BBSinstallasjon)',
+  'guest_group' => 'Gjestegruppe',
+  'guest_group_explanation' => 'GruppeID fra din BBS for gjester (anonyme brukere) (som regel standardverdi, gjør kun endringer om du vet hva du gjør)',
+  'member_group' => 'Medlemsgruppe',
+  'member_group_explanation' => 'GruppeID fra din BBS for &quot;vanlige&quot; brukerkontoer (som regel standardverdi, gjør kun endringer om du vet hva du gjør)',
+  'admin_group' => 'Admingruppe',
+  'admin_group_explanation' => 'GruppeID fra din BBS for administratorer (som regel standardverdi, gjør kun endringer om du vet hva du gjør)',
+  'banned_group' => 'Utestengtgruppe',
+  'banned_group_explanation' => 'GruppeID fra din BBS for utestengte brukere (som regel standardverdi, gjør kun endringer om du vet hva du gjør)',
+  'global_moderators_group' => 'Global moderatorgruppe',
+  'global_moderators_group_explanation' => 'GruppeID fra din BBS for globale moderatorer (som regel standardverdi, gjør kun endringer om du vet hva du gjør)',
+  'special_settings' => 'BBSspesifikke innstillinger',
+  'logout_flag' => 'phpBB versjon (utloggingsflagg)',
+  'logout_flag_explanation' => 'Hva er versjonen av din BBS (denne innstillingen spesifiserer hvordan utlogging skal håndteres)',
+  'use_post_based_groups' => 'Bruk meldingsbaserte grupper?',
+  'logout_flag_yes' => '2.0.5 eller nyere',
+  'logout_flag_no' => '2.0.4 eller eldre',
+  'use_post_based_groups_explanation' => 'Skal gruppene fra BBSprogrammet som er definert av antall meldinger som tas med i beregningen (allows granular permission administration) eller bare standardgruppene (gjør administrasjon lettere, anbefalt). Du kan forandre denne innstillingen senere.',
+  'use_post_based_groups_yes' => 'ja',
+  'use_post_based_groups_no' => 'nei',
+  'error_title' => 'Du må rette opp disse feilene før du kan fortsette. Gå tilbake til forrige side.',
+  'error_specify_bbs' => 'Du må spesifisere hvilket progrm du vil linke din Coppermineinstallasjon med.',
+  'error_no_blank_name' => 'Du må spesifisere et navn på den spesiallagde brofil.',
+  'error_no_special_chars' => 'Navnet på brofilen kan ikke inneholde spesialtegn untatt underscore (_) og dash (-)!',
+  'error_bridge_file_not_exist' => 'Brofilen  %s finnes ikke på serveren. Sjekk om du har lastet den opp.',
+  'finalize' => 'Slå på/av integrasjonen med BBSprogrammet',
+  'finalize_explanation' => 'Så langt har innstillingene dine blitt lagret i databasen, men integrasjon med BBSprogrammet har ikke blitt slått på. Du kan slå integrasjonen på/av senere. Husk adminbruker og passord fra Coppermineinstallasjonen, du kan trenge det senere for å gjøre endringer. Dersom noe går galt, gå til %s og slå av integrasjonen med BBSprogrammet der, med din Coppermininstallasjons adminbruker (som regel den du satte opp under installasjonen av Coppermine).',
+  'your_bridge_settings' => 'Dine integrasjonsinnstillinger',
+  'title_enable' => 'Slå på integrasjon med %s',
+  'bridge_enable_yes' => 'Slå på',
+  'bridge_enable_no' => 'Slå av',
+  'error_must_not_be_empty' => 'må spesifiseres',
+  'error_either_be' => 'må enten være %s eller %s',
+  'error_folder_not_exist' => '%s finnes ikke. Rett opp verdiene du skrev for %s',
+  'error_cookie_not_readible' => 'Coppermine kan ikke lese en cookie med navn %s. Rett opp verdien du skrev for %s, eller gå til administrasjonspanelet til din BBS og sjekk at stien til cookieen er lesbar for coppermine.',
+  'error_mandatory_field_empty' => 'Du kan ikke la feltet %s være blankt - fyll inn den riktige verdien.',
+  'error_no_trailing_slash' => 'Det kan ikke være en slash i enden av feltet %s.',
+  'error_trailing_slash' => 'Det må være en slash i enden av feltet %s.',
+  'error_db_connect' => 'Kunne ikke koble til mySQLdatabasen med dine data. Dette er hva mySQL svarte:',
+  'error_db_name' => 'Selv om Coppermine kunne opprette en kobling, ble ikke databasen %s funnet. Sjekk at du har skrevet %s riktig. Dette er hva mySQL svarte:',
+  'error_prefix_and_table' => '%s og ',
+  'error_db_table' => 'Kunne ikke finne tabellen %s. Sjekk at du har skrevet %s riktig.',
+  'recovery_title' => 'Bridge Manager: emergency recovery',
+  'recovery_explanation' => 'Dersom du kom hit for å administrere integrasjonen mellom ditt Copperminegalleri og din BBS, må du først logge inn som admin. Dersom du ikke kan logge inn fordi integrasjonen ikke virker som forventet, kan du slå av integrasjonen her. Du vil ikke bli logget inn ved å skrive brukernavn og passord her, men integrasjonen vil bli slått av. Se dokumentasjonen for detaljer.',
+  'username' => 'Brukernavn',
+  'password' => 'Passord',
+  'disable_submit' => 'submit',
+  'recovery_success_title' => 'Autorisasjon vellykket',
+  'recovery_success_content' => 'Du har slått integrasjonen mellom din Coppermineinstallasjon og ditt BBSprogram. Din Coppermineinstallasjon kjører nå alene.',
+  'recovery_success_advice_login' => 'Logg inn som admin for å endre integrasjonsinstillinger og/eller slå integrasjonen på igjen.',
+  'goto_login' => 'Gå til innloggingssiden',
+  'goto_bridgemgr' => 'Gå til bridge manager',
+  'recovery_failure_title' => 'Autorisasjon mislykket',
+  'recovery_failure_content' => 'Du skrev feil brukernavn og/eller passord. Du må bruke med adminkontoen fra Coppermine (som regel kontoen du satte opp under installeringen av Coppermine).',
+  'try_again' => 'prøv igjen',
+  'recovery_wait_title' => 'For kort tidsintervall',
+  'recovery_wait_content' => 'Av sikkerhetsgrunner tillates ikke dette skriptet kjørt i for korte tidsintervaller, derfor må du vente litt før du kan prøve igjen.',
+  'wait' => 'vent',
+  'create_redir_file' => 'Lag omdirigeringsfil (anbefalt)',
+  'create_redir_file_explanation' => 'For å omdirigere brukere tilbake til Coppermine med en gang de har logget inn på din BBS, må du lage en omdirigeringsfil i din BBSmappe. Når dette alternativet er valgt , vil denne filen bli forsøkt lagd for deg, eller gi deg kode klar til å kopiere inn i en slik fil manuelt.',
+  'browse' => 'utforsk',
+);
+
+// ------------------------------------------------------------------------- //
+// File calendar.php //cpg1.4
+// ------------------------------------------------------------------------- //
+
+if (defined('CALENDAR_PHP')) $lang_calendar_php = array(
+  'title' => 'Kalender', //cpg1.4
+  'close' => 'avslutt', //cpg1.4
+  'clear_date' => 'fjern dato', //cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File catmgr.php
+// ------------------------------------------------------------------------- //
+
+if (defined('CATMGR_PHP')) $lang_catmgr_php = array(
+  'miss_param' => 'Nødvendige parametere for \'%s\'operasjonen manglet!',
+  'unknown_cat' => 'Den valgte kategorien eksisterer ikke i databasen!',
+  'usergal_cat_ro' => 'Brukergalleri kategorien kan ikke slettes!',
+  'manage_cat' => 'Administrer kategorier',
+  'confirm_delete' => 'Er du sikker på at du ønsker og SLETTE denne kategorien?', //js-alert
+  'category' => 'Kategori',
+  'operations' => 'Handling',
+  'move_into' => 'Flytt til',
+  'update_create' => 'Oppdater/opprett kategori',
+  'parent_cat' => 'Overkategori',
+  'cat_title' => 'Kategoritittel',
+  'cat_thumb' => 'Kategoribilde', //cpg1.3.0 // Translatorcomment: There is (afaik) no good translation of "Thumbnail" in Norwegian
+  'cat_desc' => 'Kategoribeskrivelse',
+  'categories_alpha_sort' => 'Sorter kategorier alfabetisk (istedenfor selvvalgt sorteringsrekkefølge)', //cpg1.4
+  'save_cfg' => 'Lagre konfigurasjon', //cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File admin.php //cpg1.4
+// ------------------------------------------------------------------------- //
+
+if (defined('ADMIN_PHP')) $lang_admin_php = array(
+  'title' => 'Gallerikonfigurasjon', //cpg1.4
+  'manage_exif' => 'Administrer exif visning', //cpg1.4
+  'manage_plugins' => 'Administrer plugins', //cpg1.4
+  'manage_keyword' => 'Administrer nøkkelord', //cpg1.4
+  'restore_cfg' => 'Tilbakestill til fabrikkinstillinger',
+  'save_cfg' => 'Lagre ny konfigurasjon',
+  'notes' => 'Notater',
+  'info' => 'Informasjon',
+  'upd_success' => 'Konfigurasjon av Coppermine oppdatert',
+  'restore_success' => 'Tilbakestilt til Coppermine fabrikkinstillinger',
+  'name_a' => 'Navn i stigende rekkefølge',
+  'name_d' => 'Navn i synkende rekkefølge',
+  'title_a' => 'Tittel i stigende rekkefølge',
+  'title_d' => 'Tittel i synkende rekkefølge',
+  'date_a' => 'Dato i stigende rekkefølge',
+  'date_d' => 'Dato i synkende rekkefølge',
+  'pos_a' => 'Posisjon i stigende rekkefølge', //cpg1.4
+  'pos_d' => 'Posisjon i synkende rekkefølge', //cpg1.4
+  'th_any' => 'Max Aspect',
+  'th_ht' => 'Høyde',
+  'th_wd' => 'Bredde',
+  'label' => 'merkelapp',
+  'item' => 'enhet',
+  'debug_everyone' => 'Alle',
+  'debug_admin' => 'Kun admin',
+  'no_logs'=> 'Av', //cpg1.4
+  'log_normal'=> 'Normal', //cpg1.4
+  'log_all' => 'Alel', //cpg1.4
+  'view_logs' => 'Se logger', //cpg1.4
+  'click_expand' => 'klikk på seksjonsnavnet for å folde ut', //cpg1.4
+  'expand_all' => 'Fold ut alle', //cpg1.4
+  'notice1' => '(*) Disse instillingene må ikke endres om du allerede har filer i din database.', //cpg1.4 - (relocated)
+  'notice2' => '(**) Endring av denne instillingen affekterer kun filer som blir lagt til etter dette, derfor er det anbefalt å ikke endre dette om du allerede har filer i din database. Du kan imidlertid endre eksisterende filer med &quot;<a href="util.php">admin tools</a> (resize pictures)&quot; fra adminmenyen.', //cpg1.4 - (relocated)
+  'notice3' => '(***) Alle loggfiler blir skrevet på engelsk.', //cpg1.4 - (relocated)
+  'bbs_disabled' => 'Denne funksjonen er ikke aktiv ved integrasjon med BBS', //cpg1.4
+  'auto_resize_everyone' => 'Alle', //cpg1.4
+  'auto_resize_user' => 'Kun bruker', //cpg1.4
+  'ascending' => 'i stigende rekkefølge', //cpg1.4
+  'descending' => 'i synkende rekkefølge', //cpg1.4
+);
+
+if (defined('ADMIN_PHP')) $lang_admin_data = array(
+  'Hovedinstillinger',
+  array('Gallerinavn', 'gallery_name', 0, 'f=index.htm&amp;as=admin_general_name&amp;ae=admin_general_name_end'), //cpg1.4
+  array('Galleribeskrivelse', 'gallery_description', 0, 'f=index.htm&amp;as=admin_general_description&amp;ae=admin_general_description_end'), //cpg1.4
+  array('Epost til Galleriadministrator', 'gallery_admin_email', 0, 'f=index.htm&amp;as=admin_general_email&amp;ae=admin_general_email_end'), //cpg1.4
+  array('URL til din your Coppermine gallerimappe (uten \'index.php\' eller tilsvarende til slutt)', 'ecards_more_pic_target', 0, 'f=index.htm&amp;as=admin_general_coppermine-url&amp;ae=admin_general_coppermine-url_end'), //cpg1.4
+  array('URL til din hjemmeside', 'home_target', 0, 'f=index.htm&amp;as=admin_general_home-url&amp;ae=admin_general_home-url_end'), //cpg1.4
+  array('Tillat ZIP-nedlastning av favoritter', 'enable_zipdownload', 1, 'f=index.htm&amp;as=admin_general_zip-download&amp;ae=admin_general_zip-download_end'), //cpg1.4
+  array('Timezoneforskjell relativt i forhold til GMT (current time: ' . localised_date(-1, $comment_date_fmt) . ')','time_offset',0, 'f=index.htm&amp;as=admin_general_time-offset&amp;ae=admin_general_time-offset_end&amp;top=1'), //cpg1.4
+  array('Slå på krypterte passord (kan ikke slås av igjen)','enable_encrypted_passwords',1, 'f=index.htm&amp;as=admin_general_encrypt_password_start&amp;ae=admin_general_encrypt_password_end&amp;top=1'), // cpg 1.4
+  array('Slå på hjelpeikon (denne hjelpen er kun tilgjengelig på engelsk)','enable_help',9, 'f=index.htm&amp;as=admin_general_help&amp;ae=admin_general_help_end'), //cpg1.4
+  array('Slå på klikkbare nøkkelord i søk','clickable_keyword_search',14, 'f=index.htm&amp;as=admin_general_keywords_start&amp;ae=admin_general_keywords_end'), //cpg1.4
+  array('Slå på plugins', 'enable_plugins', 12, 'f=index.htm&amp;as=admin_general_enable-plugins&amp;ae=admin_general_enable-plugins_end'),  //cpg1.4
+  array('Tillat utvisning av ikke-rutbare (private) IPadresser', 'ban_private_ip', 1,  'f=index.htm&amp;as=admin_general_private-ip&amp;ae=admin_general_private-ip_end'), //cpg1.4
+  array('Browsable batch-add interface', 'browse_batch_add', 1, 'f=index.htm&amp;as=admin_general_browsable_batch_add&amp;ae=admin_general_browsable_batch_add_end'), //cpg1.4
+
+  'Språk &amp; tegnsettinstillinger',
+  array('Språk', 'lang', 5, 'f=index.htm&amp;as=admin_language_language&amp;ae=admin_language_language_end'), //cpg1.4
+  array('Fall tilbake til Engelsk hvis oversettelse ikke finnes?', 'language_fallback', 1, 'f=index.htm&amp;as=admin_language_fallback&amp;ae=admin_language_fallback_end'), //cpg1.4
+  array('Tegnsett', 'charset', 4, 'f=index.htm&amp;as=admin_language_charset&amp;ae=admin_language_charset_end'), //cpg1.4
+  array('Vis språkliste', 'language_list', 1, 'f=index.htm&amp;as=admin_language_list&amp;ae=admin_language_list_end'), //cpg1.4
+  array('Vis språkflagg', 'language_flags', 8, 'f=index.htm&amp;as=admin_language_flags&amp;ae=admin_language_flags_end&amp;top=1'), //cpg1.4
+  array('Vis &quot;tilbakestill&quot; i språkvalg', 'language_reset', 1, 'f=index.htm&amp;as=admin_language_reset&amp;ae=admin_language_reset_end&amp;top=1'), //cpg1.4
+  //array('Vis forrige/neste på sider med arkfaner', 'previous_next_tab', 1), //cpg1.4
+
+  'Utseende/stil-instillinger',
+  array('Utseende / stil', 'theme', 6, 'f=index.htm&amp;as=admin_theme_theme&amp;ae=admin_theme_theme_end'), //cpg1.4
+  array('Vis utseendeliste', 'theme_list', 1, 'f=index.htm&amp;as=admin_theme_theme_list&amp;ae=admin_theme_theme_list_end'), //cpg1.4
+  array('Vis &quot;tilbakestill&quot; i utseendevalg', 'theme_reset', 1, 'f=index.htm&amp;as=admin_theme_theme_reset&amp;ae=admin_theme_theme_reset_end'), //cpg1.4
+  array('Vis FAQ', 'display_faq', 1, 'f=index.htm&amp;as=admin_theme_faq&amp;ae=admin_theme_faq_end'), //cpg1.4
+  array('Egendefinert menylinknavn', 'custom_lnk_name', 0,'f=index.htm&amp;as=admin_theme_custom_lnk_name&amp;ae=admin_theme_custom_lnk_name_end'), //cpg1.4
+  array('Egendefinert menylinkURL', 'custom_lnk_url', 0,'f=index.htm&amp;as=admin_language_custom_lnk_url&amp;ae=admin_language_custom_lnk_url_end'), //cpg1.4
+  array('Vis bbkode hjelp', 'show_bbcode_help', 1, 'f=index.htm&amp;as=admin_theme_bbcode&amp;ae=admin_theme_bbcode_end&amp;top=1'), //cpg1.4
+  array('Vis vanity block på utseender som er definert som samsvarende med XHTML og CSS standardene','vanity_block',1, 'f=index.htm&amp;as=vanity_block&amp;ae=vanity_block_end'), //cpg1.4
+  array('Sti til egendefinert topptekstfil', 'custom_header_path', 0, 'f=index.htm&amp;as=admin_theme_include_path_start&amp;ae=admin_theme_include_path_end'), //cpg1.4
+  array('Sti til egendefinert bunntekstfil', 'custom_footer_path', 0, 'f=index.htm&amp;as=admin_theme_include_path_start&amp;ae=admin_theme_include_path_end'), //cpg1.4
+
+  'Albumlistevisning',
+  array('Bredde på hovedtabell (piksler eller %)', 'main_table_width', 0, 'f=index.htm&amp;as=admin_album_table-width&amp;ae=admin_album_table-width_end'), //cpg1.4
+  array('Antall kategorinivå å vise', 'subcat_level', 0, 'f=index.htm&amp;as=admin_album_category-levels&amp;ae=admin_album_category-levels_end'), //cpg1.4
+  array('Antall album å vise', 'albums_per_page', 0, 'f=index.htm&amp;as=admin_album_number&amp;ae=admin_album_number_end'), //cpg1.4
+  array('Antall kolonner i albumlisten', 'album_list_cols', 0, 'f=index.htm&amp;as=admin_album_columns&amp;ae=admin_album_columns_end'), //cpg1.4
+  array('Størrelse på miniatyrbilder i piksler', 'alb_list_thumb_size', 0, 'f=index.htm&amp;as=admin_album_thumbnail-size&amp;ae=admin_album_thumbnail-size_end'), //cpg1.4
+  array('Innhold på hovedsiden', 'main_page_layout', 0, 'f=index.htm&amp;as=admin_album_list_content&amp;ae=admin_album_list_content_end'), //cpg1.4
+  array('Vis miniatyrbilder til album på første nivå i kategorier','first_level',1, 'f=index.htm&amp;as=admin_album_first-level_thumbs&amp;ae=admin_album_first-level_thumbs_end'), //cpg1.4
+  array('Sorter kategorier alfabetisk (istedet for egendefinert sortering)','categories_alpha_sort',1, 'f=index.htm&amp;as=admin_album_list_alphasort_start&amp;ae=admin_album_list_alphasort_end'), //cpg1.4
+  array('Vis antall linkede filer','link_pic_count',1, 'f=index.htm&amp;as=admin_album_linked_files_start&amp;ae=admin_album_linked_files_end'), //cpg1.4
+
+  'Miniatyrbildevisning',
+  array('Antall kolonner på miniatyrbildeside', 'thumbcols', 0, 'f=index.htm&amp;as=admin_thumbnail_columns&amp;ae=admin_thumbnail_columns_end'), //cpg1.4
+  array('Antall rader på miniatyrbildeside', 'thumbrows', 0, 'f=index.htm&amp;as=admin_thumbnail_rows&amp;ae=admin_thumbnail_rows_end'), //cpg1.4
+  array('Maksimalt antall arkfaner å vise', 'max_tabs', 10, 'f=index.htm&amp;as=admin_thumbnail_tabs&amp;ae=admin_thumbnail_tabs_end'), //cpg1.4
+  array('Vis filbeskrivelse (i tillegg til tittel) under miniatyrbilde', 'caption_in_thumbview', 1, 'f=index.htm&amp;as=admin_thumbnail_display_caption&amp;ae=admin_thumbnail_display_caption_end'), //cpg1.4
+  array('Vis antall visninger under miniatyrbilde', 'views_in_thumbview', 1, 'f=index.htm&amp;as=admin_thumbnail_display_views&amp;ae=admin_thumbnail_display_views_end'), //cpg1.4
+  array('Vis antall kommentarer under miniatyrbilde', 'display_comment_count', 1, 'f=index.htm&amp;as=admin_thumbnail_display_comments&amp;ae=admin_thumbnail_display_comments_end'), //cpg1.4
+  array('Vis navn på opplaster under miniatyrbilde', 'display_uploader', 1, 'f=index.htm&amp;as=admin_thumbnail_display_uploader&amp;ae=admin_thumbnail_display_uploader_end'), //cpg1.4
+  //array('Vis navn på administratoropplaster under miniatyrbilde', 'display_admin_uploader', 1, 'f=index.htm&amp;as=admin_thumbnail_display_admin_uploader&amp;ae=admin_thumbnail_display_admin_uploader_end'), //cpg1.4
+  array('Vis filnavn under miniatyrbilde', 'display_filename', 1, 'f=index.htm&amp;as=admin_thumbnail_display_filename&amp;ae=admin_thumbnail_display_filename_end'), //cpg1.4
+  //array('Vis albumbeskrivelse', 'alb_desc_thumb', 1, 'f=index.htm&amp;as=admin_thumbnail_display_description&amp;ae=admin_thumbnail_display_description_end'), //cpg1.4
+  array('Standard sorteringsrekkefølge for filer', 'default_sort_order', 3, 'f=index.htm&amp;as=admin_thumbnail_default_sortorder&amp;ae=admin_thumbnail_default_sortorder_end'), //cpg1.4
+  array('Minimum antall stemmer før en fil kommer med i \'Beste karakter\'listen', 'min_votes_for_rating', 0, 'f=index.htm&amp;as=admin_thumbnail_minimum_votes&amp;ae=admin_thumbnail_minimum_votes_end'), //cpg1.4
+
+  'Bildevisning', //cpg1.4
+  array('Bredde på tabellen ved filvisning (piksler eller %)', 'picture_table_width', 0, 'f=index.htm&amp;as=admin_image_comment_table-width&amp;ae=admin_image_comment_table-width_end'), //cpg1.4
+  array('Filinformasjon vises som standard', 'display_pic_info', 1, 'f=index.htm&amp;as=admin_image_comment_info_visible&amp;ae=admin_image_comment_info_visible_end'), //cpg1.4
+  array('Maksimal lengde for en bildebeskrivelse', 'max_img_desc_length', 0, 'f=index.htm&amp;as=admin_image_comment_descr_length&amp;ae=admin_image_comment_descr_length_end'), //cpg1.4
+  array('Maksimalt antall tegn i et ord', 'max_com_wlength', 0, 'f=index.htm&amp;as=admin_image_comment_chars_per_word&amp;ae=admin_image_comment_chars_per_word_end'), //cpg1.4
+  array('Vis filmsekvens', 'display_film_strip', 1, 'f=index.htm&amp;as=admin_image_comment_filmstrip_toggle&amp;ae=admin_image_comment_filmstrip_toggle_end'), //cpg1.4
+  array('Vis filnavn under miniatyrbilde til filmsekvens', 'display_film_strip_filename', 1, 'f=index.htm&amp;as=admin_image_comment_display_film_strip_filename&amp;ae=admin_image_comment_display_film_strip_filename_end'), //cpg1.4
+  array('Antall deler i filmsekvens', 'max_film_strip_items', 0, 'f=index.htm&amp;as=admin_image_comment_filmstrip_number&amp;ae=admin_image_comment_filmstrip_number_end'), //cpg1.4
+  array('Intervall i millisekunder for lysbildevisning (1 sekund = 1000 millisekunder)', 'slideshow_interval', 0, 'f=index.htm&amp;as=admin_image_comment_slideshow_interval&amp;ae=admin_image_comment_slideshow_interval_end'), //cpg1.4
+
+  'Kommentarinstillinger', //cpg1.4
+  array('Filtrer ufine ord i kommentarer', 'filter_bad_words', 1, 'f=index.htm&amp;as=admin_image_comment_bad_words&amp;ae=admin_image_comment_bad_words_end'), //cpg1.4
+  array('Tillat smilefjes i kommentarer', 'enable_smilies', 1, 'f=index.htm&amp;as=admin_image_comment_smilies&amp;ae=admin_image_comment_smilies_end'), //cpg1.4
+  array('Tillat flere etterfølgende kommentarer på en fil fra samme bruker (disable flood protection)', 'disable_comment_flood_protect', 1, 'f=index.htm&amp;as=admin_image_comment_flood&amp;ae=admin_image_comment_flood_end'), //cpg1.4
+  array('Maksimalt antall linjer i en kommentar', 'max_com_lines', 0, 'f=index.htm&amp;as=admin_image_comment_lines&amp;ae=admin_image_comment_lines_end'), //cpg1.4
+  array('Maksimal lengde på en kommentar', 'max_com_size', 0, 'f=index.htm&amp;as=admin_image_comment_length&amp;ae=admin_image_comment_length_end'), //cpg1.4
+  array('Varsle administrator om kommentarer på epost', 'email_comment_notification', 1, 'f=index.htm&amp;as=admin_image_comment_admin_notify&amp;ae=admin_image_comment_admin_notify_end'), //cpg1.4
+  array('Sorteringsrekkefølge på kommentarer', 'comments_sort_descending', 17, 'f=index.htm&amp;as=admin_comment_sort_start&amp;ae=admin_comment_sort_end'), //cpg1.4
+  array('Prefix for anonyme kommentarskrivere', 'comments_anon_pfx', 0, 'f=index.htm&amp;as=comments_anon_pfx&amp;ae=comments_anon_pfx_end'), //cpg1.4
+
+  'Fil- og miniatyrbildeinnstillinger',
+  array('Kvalitet på JPEG bilder', 'jpeg_qual', 0, 'f=index.htm&amp;as=admin_picture_thumbnail_jpeg_quality&amp;ae=admin_picture_thumbnail_jpeg_quality_end'), //cpg1.4
+  array('Maksimal dimensjon på miniatyrbilde <a href="#notice2" class="clickable_option">**</a>', 'thumb_width', 0, 'f=index.htm&amp;as=admin_picture_thumbnail_max-dimension&amp;ae=admin_picture_thumbnail_max-dimension_end'), //cpg1.4
+  array('Bruk dimensjon ( bredde, høyde eller eller maks bredde/høyde for mineatyrbilder ) <a href="#notice2" class="clickable_option">**</a>', 'thumb_use', 7, 'f=index.htm&amp;as=admin_picture_thumbnail_use-dimension&amp;ae=admin_picture_thumbnail_use-dimension_end'), //cpg1.4
+  array('Opprett bilder i mellomstørrelse','make_intermediate',1, 'f=index.htm&amp;as=admin_picture_thumbnail_intermediate_toggle&amp;ae=admin_picture_thumbnail_intermediate_toggle_end'), //cpg1.4
+  array('Maksimal bredde eller høyde på bilde/video i mellomstørrelse <a href="#notice2" class="clickable_option">**</a>', 'picture_width', 0, 'f=index.htm&amp;as=admin_picture_thumbnail_intermediate_dimension&amp;ae=admin_picture_thumbnail_intermediate_dimension_end'), //cpg1.4
+  array('Maksimal filstørrelse for opplastede filer (KB)', 'max_upl_size', 0, 'f=index.htm&amp;as=admin_picture_thumbnail_max_upload_size&amp;ae=admin_picture_thumbnail_max_upload_size_end'), //cpg1.4
+  array('Maks bredde eller høyde for opplastede bilder/videoer (piksler)', 'max_upl_width_height', 0, 'f=index.htm&amp;as=admin_picture_thumbnail_max_upload_dimension&amp;ae=admin_picture_thumbnail_max_upload_dimension_end'), //cpg1.4
+  array('Automatisk reduser størrelse på bilder som er større enn maksimal bredde eller høyde', 'auto_resize', 16, 'f=index.htm&amp;as=admin_picture_thumbnail_auto-resize&amp;ae=admin_picture_thumbnail_auto-resize_end'), //cpg1.4
+
+  'Filer og miniatyrbilder avanserte innstillinger',
+  array('Album kan settes som private (NB: dersom du bytter fra \'ja\' til \'nei\' vil eksisterende private album bli tilgjengelig for alle)', 'allow_private_albums', 1, 'f=index.htm&amp;as=admin_picture_thumb_advanced_private_toggle&amp;ae=admin_picture_thumb_advanced_private_toggle_end'), //cpg1.4
+  array('Vis Ikon for private album til anonyme brukere','show_private',1, 'f=index.htm&amp;as=admin_picture_thumb_advanced_private_icon_show&amp;ae=admin_picture_thumb_advanced_private_icon_show_end'), //cpg1.4
+  array('Ulovlige tegn i filnavn', 'forbiden_fname_char',0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_filename_forbidden_chars&amp;ae=admin_picture_thumb_advanced_filename_forbidden_chars_end'), //cpg1.4
+  //array('Tillatte filtyper for opplastede bilder', 'allowed_file_extensions',0, 'f=index.htm&amp;as=&amp;ae=_end'), //cpg1.4
+  array('Tillatte bildetyper', 'allowed_img_types',0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_pic_extensions&amp;ae=admin_picture_thumb_advanced_pic_extensions_end'), //cpg1.4
+  array('Tillatte filmtyper', 'allowed_mov_types',0, 'f=index.htm&amp;as=admin_thumbs_advanced_movie&amp;ae=admin_thumbs_advanced_movie_end'), //cpg1.4
+  array('Automatisk start videovisning', 'media_autostart',1, 'f=index.htm&amp;as=admin_movie_autoplay&amp;ae=admin_movie_autoplay_end'), //cpg1.4
+  array('Tillatte lydtyper', 'allowed_snd_types',0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_audio_extensions&amp;ae=admin_picture_thumb_advanced_audio_extensions_end'), //cpg1.4
+  array('Tillatte dokumenttyper', 'allowed_doc_types',0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_doc_extensions&amp;ae=admin_picture_thumb_advanced_doc_extensions_end'), //cpg1.4
+  array('Motode for endring av bildestørrelser','thumb_method',2, 'f=index.htm&amp;as=admin_picture_thumb_advanced_resize_method&amp;ae=admin_picture_thumb_advanced_resize_method_end'), //cpg1.4
+  array('Sti til ImageMagick \'konverterings\'-program (eksempel /usr/bin/X11/)', 'impath', 0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_im_path&amp;ae=admin_picture_thumb_advanced_im_path_end'), //cpg1.4
+  //array('Tillatte bildetype (kun for ImageMagick)', 'allowed_img_types',0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_allowed_imagetypes&amp;ae=admin_picture_thumb_advanced_allowed_imagetypes_end'), //cpg1.4
+  array('Kommandolinjeparameter til ImageMagick', 'im_options', 0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_im_commandline&amp;ae=admin_picture_thumb_advanced_im_commandline_end'), //cpg1.4
+  array('Les EXIFdata i JPEGfiler', 'read_exif_data', 13, 'f=index.htm&amp;as=admin_picture_thumb_advanced_exif&amp;ae=admin_picture_thumb_advanced_exif_end'), //cpg1.4
+  array('Les IPTCdata i JPEGfiler', 'read_iptc_data', 1, 'f=index.htm&amp;as=admin_picture_thumb_advanced_iptc&amp;ae=admin_picture_thumb_advanced_iptc_end'), //cpg1.4
+  array('Albummappe <a href="#notice1" class="clickable_option">*</a>', 'fullpath', 0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_albums_dir&amp;ae=admin_picture_thumb_advanced_albums_dir_end'), //cpg1.4
+  array('Katalog for brukerfiler <a href="#notice1" class="clickable_option">*</a>', 'userpics', 0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_userpics_dir&amp;ae=admin_picture_thumb_advanced_userpics_dir_end'), //cpg1.4
+  array('Prefix for bilder i mellomstørrelse <a href="#notice1" class="clickable_option">*</a>', 'normal_pfx', 0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_intermediate_prefix&amp;ae=admin_picture_thumb_advanced_intermediate_prefix_end'), //cpg1.4
+  array('Prefix for miniatyrbilder <a href="#notice1" class="clickable_option">*</a>', 'thumb_pfx', 0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_thumbs_prefix&amp;ae=admin_picture_thumb_advanced_thumbs_prefix_end'), //cpg1.4
+  array('Standard rettighetsmodus for mapper', 'default_dir_mode', 0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_chmod_folder&amp;ae=admin_picture_thumb_advanced_chmod_folder_end'), //cpg1.4
+  array('Standard rettighetsmodus for filer', 'default_file_mode', 0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_chmod_files&amp;ae=admin_picture_thumb_advanced_chmod_files_end'), //cpg1.4
+
+  'Brukerinstillinger',
+  array('Tillat nye brukerregistreringer', 'allow_user_registration', 1, 'f=index.htm&amp;as=admin_allow_registration&amp;ae=admin_allow_registration_end'), //cpg1.4
+  array('Tillat ikke-innloggede (gjester eller anonyme) brukere', 'allow_unlogged_access', 1, 'f=index.htm&amp;as=admin_allow_unlogged_access&amp;ae=admin_allow_unlogged_access_end'), //cpg1.4
+  array('Brukerregistrering krever bekreftelse på epost', 'reg_requires_valid_email', 1, 'f=index.htm&amp;as=admin_registration_verify&amp;ae=admin_registration_verify_end'), //cpg1.4
+  array('Varsle administrator pr. epost ved nye brukerregistreringer', 'reg_notify_admin_email', 1, 'f=index.htm&amp;as=admin_registration_notify&amp;ae=admin_registration_notify_end'), //cpg1.4
+  array('Administrator må aktivere brukerregistreringer', 'admin_activation', 1, 'f=index.htm&amp;as=admin_activation&amp;ae=admin_activation_end'),  //cpg1.4
+  array('Tillat to brukere å ha samme epostadresse', 'allow_duplicate_emails_addr', 1, 'f=index.htm&amp;as=admin_allow_duplicate_emails_addr&amp;ae=admin_allow_duplicate_emails_addr_end'), //cpg1.4
+  array('Varsle administrator pr. epost når filer blir lastet opp til godkjennelse', 'upl_notify_admin_email', 1, 'f=index.htm&amp;as=admin_approval_notify&amp;ae=admin_approval_notify_end'), //cpg1.4
+  array('La innloggede brukere se medlemslisten', 'allow_memberlist', 1, 'f=index.htm&amp;as=admin_user_memberlist&amp;ae=admin_user_memberlist_end'), //cpg1.4
+  array('Tillat brukere å endre epostadresse i sin prifil', 'allow_email_change', 1, 'f=index.htm&amp;as=admin_user_allow_email_change&amp;ae=admin_user_allow_email_change_end'), //cpg1.4
+  array('La brukere ta kontroll over deres egne filer i offentlige gallerier', 'users_can_edit_pics', 1, 'f=index.htm&amp;as=admin_user_editpics_public_start&amp;ae=admin_user_editpics_public_end'), //cpg1.4
+  array('Antall mislykkede innloggingsforsøk før midlertidig utestengelse (for å unngå brute force attacks)', 'login_threshold', 0, 'f=index.htm&amp;as=admin_user_login_start&amp;ae=admin_user_login_end'), //cpg1.4
+  array('Tidsintervall for midlertidig utestengelse etter mislykkede innloggingsforsøk', 'login_expiry', 0, 'f=index.htm&amp;as=admin_user_login_start&amp;ae=admin_user_login_end'), //cpg1.4
+  array('Slå på rapportering tiladministrator', 'report_post', 1, 'f=index.htm&amp;as=admin_user_enable_report&amp;ae=admin_user_enable_report_end'),  //cpg1.4
+
+// custom profile fields,  //cpg1.4
+  'Egendefinerte felter for brukerprofil (la stå tomme om dette ikke brukes).
+  Bruk Profil 6 for lange attributter, som biografi', //cpg1.4
+  array('Navn på profil 1', 'user_profile1_name', 0, 'f=index.htm&amp;as=admin_custom&amp;ae=admin_custom_end'), //cpg1.4
+  array('Navn på profil 2', 'user_profile2_name', 0), //cpg1.4
+  array('Navn på profil 3', 'user_profile3_name', 0), //cpg1.4
+  array('Navn på profil 4', 'user_profile4_name', 0), //cpg1.4
+  array('Navn på profil 5', 'user_profile5_name', 0), //cpg1.4
+  array('Navn på profil 6', 'user_profile6_name', 0), //cpg1.4
+
+  'Egendefinerte felter for bildebeskrivelser (la stå tomme om dette ikke brukes)',
+  array('Navn på felt 1', 'user_field1_name', 0, 'f=index.htm&amp;as=admin_custom_image&amp;ae=admin_custom_image_end'), //cpg1.4
+  array('Navn på felt 2', 'user_field2_name', 0),
+  array('Navn på felt 3', 'user_field3_name', 0),
+  array('Navn på felt 4', 'user_field4_name', 0),
+
+  'Cookieinstillinger',
+  array('Cookienavn', 'cookie_name', 0, 'f=index.htm&amp;as=admin_cookie_name&amp;ae=admin_cookie_name_end'), //cpg1.4
+  array('Cookiesti', 'cookie_path', 0, 'f=index.htm&amp;as=admin_cookie_path&amp;ae=admin_cookie_path_end'), //cpg1.4
+
+  'Epostinstillinger (må som regel ikke forandres; la alle feltene stå tomme om du ikke er sikker)', //cpg1.4
+  array('SMTP maskinnavn (derom ikke spesifisert vil sendmail bli brukt)', 'smtp_host', 0, 'f=index.htm&amp;as=admin_email&amp;ae=admin_email_end'), //cpg1.4
+  array('SMTP brukernavn', 'smtp_username', 0), //cpg1.4
+  array('SMTP passord', 'smtp_password', 0), //cpg1.4
+
+  'Logging og statistikk', //cpg1.4
+  array('Loggmodus <a href="#notice3" class="clickable_option">***</a>', 'log_mode', 11, 'f=index.htm&amp;as=admin_logging_log_mode&amp;ae=admin_logging_log_mode_end'), //cpg1.4
+  array('Loggfør ekort', 'log_ecards', 1, 'f=index.htm&amp;as=admin_general_log_ecards&amp;ae=admin_general_log_ecards_end'), //cpg1.4
+  array('Spar detaljert statistikk for karaktergivning','vote_details',1, 'f=index.htm&amp;as=admin_logging_votedetails&amp;ae=admin_logging_votedetails_end'), //cpg1.4
+  array('Spar detaljert statistikk for visninger','hit_details',1, 'f=index.htm&amp;as=admin_logging_hitdetails&amp;ae=admin_logging_hitdetails_end'), //cpg1.4
+
+  'Vedlikeholdsinstillinger', //cpg1.4
+  array('Slå på avlusningsmodus', 'debug_mode', 9, 'f=index.htm&amp;as=debug_mode&amp;ae=debug_mode_end'), //cpg1.4
+  array('Vis notices i avlusningsmodus', 'debug_notice', 1, 'f=index.htm&amp;as=admin_misc_debug_notices&amp;ae=admin_misc_debug_notices_end'), //cpg1.4
+  array('Marker gallieret som offline', 'offline', 1, 'f=index.htm&amp;as=admin_general_offline&amp;ae=admin_general_offline_end'), //cpg1.4
+);
+
+
+// ------------------------------------------------------------------------- //
+// File db_ecard.php
+// ------------------------------------------------------------------------- //
+
+if (defined('DB_ECARD_PHP')) $lang_db_ecard_php = array(
+  'title' => 'Sendte ekort',
+  'ecard_sender' => 'Avsender',
+  'ecard_recipient' => 'Mottaker',
+  'ecard_date' => 'Dato',
+  'ecard_display' => 'Vis ekort',
+  'ecard_name' => 'Navn',
+  'ecard_email' => 'Epost',
+  'ecard_ip' => 'IP #',
+  'ecard_ascending' => 'i stigende rekkefølge',
+  'ecard_descending' => 'i synkende rekkefølge',
+  'ecard_sorted' => 'Sortert',
+  'ecard_by_date' => 'etter dato',
+  'ecard_by_sender_name' => 'etter avsenders navn',
+  'ecard_by_sender_email' => 'etter avsenders epost',
+  'ecard_by_sender_ip' => 'etter senders IP adresse',
+  'ecard_by_recipient_name' => 'etter mottakers name',
+  'ecard_by_recipient_email' => 'etter mottakers epost',
+  'ecard_number' => 'viser ekortnummer %s til %s av %s',
+  'ecard_goto_page' => 'gå til side',
+  'ecard_records_per_page' => 'Ekort per side',
+  'check_all' => 'Marker alle',
+  'uncheck_all' => 'Avmarker alle',
+  'ecards_delete_selected' => 'Slett valgte ekort',
+  'ecards_delete_confirm' => 'Er du sikker på at du vil slette valgte ekort? Marker avkryssningsfeltet!',
+  'ecards_delete_sure' => 'Jeg er sikker',
+);
+
+
+// ------------------------------------------------------------------------- //
+// File db_input.php
+// ------------------------------------------------------------------------- //
+
+if (defined('DB_INPUT_PHP')) $lang_db_input_php = array(
+  'empty_name_or_com' => 'Du må skrive både navn og kommentar',
+  'com_added' => 'Din kommentar er lagt inn',
+  'alb_need_title' => 'Du må legge inn en tittel på albumet!',
+  'no_udp_needed' => 'Ingen oppdatering nødvendig.',
+  'alb_updated' => 'Albumet ble oppdatert',
+  'unknown_album' => 'Det valgte albumet eksisterer ikke, eller du har ikke tillatelse til å laste opp filer i dette albumet',
+  'no_pic_uploaded' => 'Det ble ikke lastet opp noen fil!<br /><br />Hvis du virkelig valgte en fil så sjekk om serveren tillater opplasting',
+  'err_mkdir' => 'Kunne ikke lage en katalog %s !',
+  'dest_dir_ro' => 'Katalogen %s kan ikke skrives til av dette skriptet !',
+  'err_move' => 'Umulig å flytte %s til %s !',
+  'err_fsize_too_large' => 'Filen du lastet opp er for stor (maksimalt tillatt størrelse er %s x %s). !', //obsolete since cpg1.3 - consider removal in cpg1.4 once upload.php has been overhauled
+  'err_imgsize_too_large' => 'Filen du lastet opp er for stor (maksimalt tillatt størrelse er %s KB) !', //obsolete since cpg1.3 - consider removal in cpg1.4 once upload.php has been overhauled
+  'err_invalid_img' => 'Filen du har lastet opp er ikke en gyldig bildefil !',
+  'allowed_img_types' => 'Du kan bare laste opp %s filer.',
+  'err_insert_pic' => 'Bildet \'%s\' kan ikke legges inn i albumet',
+  'upload_success' => 'Opplastingen av bildet ditt var vellykket<br /><br />Det vil bli tilgjengelig etter at administrator har godkjent det.',
+  'notify_admin_email_subject' => '%s - Opplastningsvarsel',
+  'notify_admin_email_body' => 'En fil har blitt lastet opp av %s, det trenger din godkjennelse. Gå til %s',
+  'info' => 'Informasjon',
+  'com_added' => 'Kommentar lagt inn',
+  'alb_updated' => 'Album oppdatert',
+  'err_comment_empty' => 'Din kommentar er tom!',
+  'err_invalid_fext' => 'Kun disse filtypene er akseptert : <br /><br />%s.',
+  'no_flood' => 'Du er allerede den siste som har kommentert denne filen<br /><br />Vennligst rediger din forrige kommentar istedet',
+  'redirect_msg' => 'Du blir omdirigert.<br /><br /><br />Trykk \'FORTSETT\' dersom siden ikke lastes automatisk',
+  'upl_success' => 'Din fil ble lagt inn',
+  'email_comment_subject' => 'Kommentar lagt inn på Coppermine Photo Gallery',
+  'email_comment_body' => 'Noen har lagt inn en kommentar i ditt galleri. Se kommentaren på',
+  'album_not_selected' => 'Album ikke valgt', //cpg1.4
+  'com_author_error' => 'En registrert bruker har allerede dette navnet, logg inn eller bruk et annet', //cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File delete.php
+// ------------------------------------------------------------------------- //
+
+if (defined('DELETE_PHP')) $lang_delete_php = array(
+  'caption' => 'Beskrivelse',
+  'fs_pic' => 'Full størrelse',
+  'del_success' => 'slettet',
+  'ns_pic' => 'normal størrelse',
+  'err_del' => 'kan ikke slettes',
+  'thumb_pic' => 'miniatyrbilde',
+  'comment' => 'kommentar',
+  'im_in_alb' => 'bilde i album',
+  'alb_del_success' => 'Album &laquo;%s&raquo; slettet', //cpg1.4
+  'alb_mgr' => 'Albumadministrasjon',
+  'err_invalid_data' => 'Ugyldig data mottatt i \'%s\'',
+  'create_alb' => 'Oppretter album \'%s\'',
+  'update_alb' => 'Oppdaterer album \'%s\' med tittel \'%s\' og index \'%s\'',
+  'del_pic' => 'Slett fil',
+  'del_alb' => 'Slett album',
+  'del_user' => 'Slett bruker',
+  'err_unknown_user' => 'Den valgte brukeren eksisterer ikke!',
+  'err_empty_groups' => 'Det finnes ingen gruppetabell, eller gruppetabellen er tom!', //cpg1.4
+  'comment_deleted' => 'Kommentar ble slettet',
+  'npic' => 'Bilde', //cpg1.4
+  'pic_mgr' => 'Bildeadministrasjon', //cpg1.4
+  'update_pic' => 'Oppdaterer bilde \'%s\' med navn \'%s\' og index \'%s\'', //cpg1.4
+  'username' => 'Brukernavn', //cpg1.4
+  'anonymized_comments' => '%s kommentarer anonymisert', //cpg1.4
+  'anonymized_uploads' => '%s offentlige opplastninger anonymisert', //cpg1.4
+  'deleted_comments' => '%s kommentarer slettet', //cpg1.4
+  'deleted_uploads' => '%s offentlige opplastninger slettet', //cpg1.4
+  'user_deleted' => 'bruker %s slettet', //cpg1.4
+  'activate_user' => 'Aktiver bruker', //cpg1.4
+  'user_already_active' => 'Konto allerede aktiv', //cpg1.4
+  'activated' => 'Aktivert', //cpg1.4
+  'deactivate_user' => 'Deaktiver bruker', //cpg1.4
+  'user_already_inactive' => 'Konto allerede inaktiv', //cpg1.4
+  'deactivated' => 'Deaktivert', //cpg1.4
+  'reset_password' => 'Resett passord', //cpg1.4
+  'password_reset' => 'Passord resatt til %s', //cpg1.4
+  'change_group' => 'Skift primærgruppe', //cpg1.4
+  'change_group_to_group' => 'Endrer fra %s til %s', //cpg1.4
+  'add_group' => 'Legg til sekundær gruppe', //cpg1.4
+  'add_group_to_group' => 'Legger bruker %s til gruppe %s. Brukeren er nå primærmedlem av gruppen %s og sekundærmedlem av gruppen %s.', //cpg1.4
+  'status' => 'Status', //cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File displayecard.php
+// ------------------------------------------------------------------------- //
+
+if (defined('DISPLAYECARD_PHP')) {
+
+$lang_displayecard_php = array(
+  'invalid_data' => 'Dataene i ekortet du prøver å se har blitt endret av din epostleser. Sjekk om linken er hel, eller om den f.eks. har delt seg over flere linjer.', //cpg1.4
+);
+}
+
+// ------------------------------------------------------------------------- //
+// File displayimage.php
+// ------------------------------------------------------------------------- //
+
+if (defined('DISPLAYIMAGE_PHP')){
+
+$lang_display_image_php = array(
+  'confirm_del' => 'Er du sikker på at du vil slette denne filen? \\nKommentarer vil også bli slettet.', //js-alert
+  'del_pic' => 'SLETT DENNE FILEN',
+  'size' => '%s x %s piksler',
+  'views' => '%s ganger',
+  'slideshow' => 'Lysbildeshow',
+  'stop_slideshow' => 'STOPP LYSBILDESHOW',
+  'view_fs' => 'Klikk for å vise bildet i full størrelse',
+  'edit_pic' => 'Endre beskrivelse', //cpg1.4
+  'crop_pic' => 'Klipp eller roter',
+  'set_player' => 'Skift avspiller',
+);
+
+$lang_picinfo = array(
+  'title' =>'Filinformasjon',
+  'Filename' => 'Filnavn',
+  'Album name' => 'Albumnavn',
+  'Rating' => 'Karakter (%s stemmer)',
+  'Keywords' => 'Nøkkelord',
+  'File Size' => 'Filstørrelse',
+  'Date Added' => 'Dato lagt inn', //cpg1.4
+  'Dimensions' => 'Dimensjoner',
+  'Displayed' => 'Visninger',
+  'URL' => 'URL', //cpg1.4
+  'Make' => 'Make', //cpg1.4
+  'Model' => 'Modell', //cpg1.4
+  'DateTime' => 'Dato og tid', //cpg1.4
+  'DateTimeOriginal' => 'Dato tatt', //cpg1.4
+  'ISOSpeedRatings'=>'ISO', //cpg1.4
+  'MaxApertureValue' => 'Max Blenderåpning', //cpg1.4
+  'FocalLength' => 'Brennvidde', //cpg1.4
+  'Comment' => 'Kommentar',
+  'addFav'=>'Legg til favoritter',
+  'addFavPhrase'=>'Favoritter',
+  'remFav'=>'Fjern fra favoritter',
+  'iptcTitle'=>'IPTC Tittel',
+  'iptcCopyright'=>'IPTC-Opphavsrett',
+  'iptcKeywords'=>'IPTC-Nøkkelord',
+  'iptcCategory'=>'IPTC-Kategori',
+  'iptcSubCategories'=>'IPTC-Underkategori',
+  'ColorSpace' => 'Fargerom', //cpg1.4
+  'ExposureProgram' => 'Eksponeringsprogram', //cpg1.4
+  'Flash' => 'Blits', //cpg1.4
+  'MeteringMode' => 'Lysmålingsmodus', //cpg1.4
+  'ExposureTime' => 'Eksponeringstid', //cpg1.4
+  'ExposureBiasValue' => 'EksponeringsBias', //cpg1.4
+  'ImageDescription' => ' Bildebeskrivelse', //cpg1.4
+  'Orientation' => 'Orientering', //cpg1.4
+  'xResolution' => 'X oppløsning', //cpg1.4
+  'yResolution' => 'Y oppløsning', //cpg1.4
+  'ResolutionUnit' => 'Oppløsningsenhet', //cpg1.4
+  'Software' => 'Programvare', //cpg1.4
+  'YCbCrPositioning' => 'YCbCrPosisjonering', //cpg1.4
+  'ExifOffset' => 'Exif Offset', //cpg1.4
+  'IFD1Offset' => 'IFD1 Offset', //cpg1.4
+  'FNumber' => 'FNumber', //cpg1.4
+  'ExifVersion' => 'Exif Versjon', //cpg1.4
+  'DateTimeOriginal' => 'Original dato og tid', //cpg1.4
+  'DateTimedigitized' => 'Digitalisert dato og tid', //cpg1.4
+  'ComponentsConfiguration' => 'Komponentkonfigurasjon', //cpg1.4
+  'CompressedBitsPerPixel' => 'Komprimerte Bits pr piksel', //cpg1.4
+  'LightSource' => 'Lyskilde', //cpg1.4
+  'ISOSetting' => 'ISOinstilling (følsomhet)', //cpg1.4
+  'ColorMode' => 'Fargemodus', //cpg1.4
+  'Quality' => 'Kvalitet', //cpg1.4
+  'ImageSharpening' => 'Bildeskarping', //cpg1.4
+  'FocusMode' => 'Fokusmodus', //cpg1.4
+  'FlashSetting' => 'Blitssetting', //cpg1.4
+  'ISOSelection' => 'ISO Valg', //cpg1.4
+  'ImageAdjustment' => 'ildeinstilling', //cpg1.4
+  'Adapter' => 'Adapter', //cpg1.4
+  'ManualFocusDistance' => 'Manuell fokusavstand', //cpg1.4
+  'DigitalZoom' => 'Digital Zoom', //cpg1.4
+  'AFFocusPosition' => 'AF Focus Position', //cpg1.4
+  'Saturation' => 'Fargemetning', //cpg1.4
+  'NoiseReduction' => 'Støyreduksjon', //cpg1.4
+  'FlashPixVersion' => 'Blits Pixversjon', //cpg1.4
+  'ExifImageWidth' => 'Exif Bildebredde', //cpg1.4
+  'ExifImageHeight' => 'Exif Bildehøyde', //cpg1.4
+  'ExifInteroperabilityOffset' => 'Exif Interoperability Offset', //cpg1.4
+  'FileSource' => 'Filkilde', //cpg1.4
+  'SceneType' => 'Scene Type', //cpg1.4
+  'CustomerRender' => 'Customer Render', //cpg1.4
+  'ExposureMode' => 'Eksponeringsmodus', //cpg1.4
+  'WhiteBalance' => 'Hvitbalanse', //cpg1.4
+  'DigitalZoomRatio' => 'Digital Zoom Ratio', //cpg1.4
+  'SceneCaptureMode' => 'Scene Capture Mode', //cpg1.4
+  'GainControl' => 'Gainkontroll', //cpg1.4
+  'Contrast' => 'Kontrast', //cpg1.4
+  'Saturation' => 'Fargemetning', //cpg1.4
+  'Sharpness' => 'Skarping', //cpg1.4
+  'ManageExifDisplay' => 'Oppdater Exifvisning', //cpg1.4
+  'submit' => 'Send inn', //cpg1.4
+  'success' => 'Informasjonen ble oppdatert.', //cpg1.4
+  'details' => 'Detaljer', //cpg1.4
+);
+
+$lang_display_comments = array(
+  'OK' => 'OK',
+  'edit_title' => 'Rediger denne kommentaren',
+  'confirm_delete' => 'Er du sikker på at du vil slette denne kommentaren?', //js-alert
+  'add_your_comment' => 'Legg til din kommentar',
+  'name'=>'Navn',
+  'comment'=>'Kommentar',
+  'your_name' => 'Anonym',
+  'report_comment_title' => 'Rapporter denne kommentaren til administrator', //cpg1.4
+);
+
+$lang_fullsize_popup = array(
+  'click_to_close' => 'Klikk på bildet for å lukke viduet',
+);
+
+}
+
+// ------------------------------------------------------------------------- //
+// File ecard.php
+// ------------------------------------------------------------------------- //
+
+if (defined('ECARDS_PHP') || defined('DISPLAYECARD_PHP')) $lang_ecard_php =array(
+  'title' => 'Send et ekort',
+  'invalid_email' => '<font color="red"><b>Advarsel</b></font>: ugyldig epostadresse:', //cpg1.4
+  'ecard_title' => 'Et ekort fra %s til deg',
+  'error_not_image' => 'Bare bilder kan sendes som ekort.',
+  'view_ecard' => 'Hvis kortet ikke vises riktig, klikk her', //cpg1.4
+  'view_ecard_plaintext' => 'For å se ekortet, kopier denne URLen til din nettlesers adresselinje:', //cpg1.4
+  'view_more_pics' => 'Klikk på denne linken for flere bilder!', //cpg1.4
+  'send_success' => 'Ditt ekort ble sendt',
+  'send_failed' => 'Beklager, serveren kunne ikke sende Ekortet ditt...',
+  'from' => 'Fra',
+  'your_name' => 'Ditt navn',
+  'your_email' => 'Din epostadresse',
+  'to' => 'Til',
+  'rcpt_name' => 'Mottakers navn',
+  'rcpt_email' => 'Mottakers epostadresse',
+  'greetings' => 'Overskrift', //cpg1.4
+  'message' => 'Melding', //cpg1.4
+  'ecards_footer' => 'Sendt av %s fra IP %s klokken %s (Galleritid)', //cpg1.4
+  'preview' => 'Forhåndsvisning av ekort', //cpg1.4
+  'preview_button' => 'Vis', //cpg1.4
+  'submit_button' => 'Send ekort', //cpg1.4
+  'preview_view_ecard' => 'Dette vil bli den alternative linken til ekortet med en gang det er laget. Det vil ikke virke for forhåndsvisninger.', //cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File report_file.php //cpg1.4
+// ------------------------------------------------------------------------- //
+
+if (defined('REPORT_FILE_PHP') || defined('DISPLAYREPORT_PHP')) $lang_report_php =array(
+  'title' => 'Rapporter til administrator', //cpg1.4
+  'invalid_email' => '<b>Advarsel</b> : ugyldig epostadresse !', //cpg1.4
+  'report_subject' => 'En rapport fra %s på galleri %s', //cpg1.4
+  'view_report' => 'Alternativ link dersom rapporten ikke vises skikkelig', //cpg1.4
+  'view_report_plaintext' => 'For å se på rapporten, kopier denne URL til adressefeltet i din nettleser :', //cpg1.4
+  'view_more_pics' => 'Galleri', //cpg1.4
+  'send_success' => 'Din rapport ble sendt', //cpg1.4
+  'send_failed' => 'Beklager, men serveren kan ikke sende din rapport...', //cpg1.4
+  'from' => 'Fra', //cpg1.4
+  'your_name' => 'Ditt navn', //cpg1.4
+  'your_email' => 'Din epostadresse', //cpg1.4
+  'to' => 'Til', //cpg1.4
+  'administrator' => 'Administrator / Moderator', //cpg1.4
+  'subject' => 'Emne', //cpg1.4
+  'comment_field_name' => 'Rapporterer kommentar av "%s"', //cpg1.4
+  'reason' => 'Årsak', //cpg1.4
+  'message' => 'Melding', //cpg1.4
+  'report_footer' => 'Sendt av %s fra IP %s klokken %s (Galleritid)', //cpg1.4
+  'obscene' => 'uanstendig', //cpg1.4
+  'offensive' => 'støtende', //cpg1.4
+  'misplaced' => 'utenfor emne/feilplassert', //cpg1.4
+  'missing' => 'manglende', //cpg1.4
+  'issue' => 'feil/kan ikke vises', //cpg1.4
+  'other' => 'andre', //cpg1.4
+  'refers_to' => 'Filrapport refererer til', //cpg1.4
+  'reasons_list_heading' => 'årsak(er) for rapport:', //cpg1.4
+  'no_reason_given' => 'ingen årsak ble gitt', //cpg1.4
+  'go_comment' => 'Gå til kommentar', //cpg1.4
+  'view_comment' => 'Se full rapport med kommentar', //cpg1.4
+  'type_file' => 'fil', //cpg1.4
+  'type_comment' => 'kommentar', //cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File editpics.php
+// ------------------------------------------------------------------------- //
+
+if (defined('EDITPICS_PHP')) $lang_editpics_php = array(
+  'pic_info' => 'Filinformasjon',
+  'album' => 'Album',
+  'title' => 'Tittel',
+  'filename' => 'Filnavn', //cpg1.4
+  'desc' => 'Beskrivelse',
+  'keywords' => 'Nøkkelord',
+  'new_keyword' => 'Nytt nøkkelord', //cpg1.4
+  'new_keywords' => 'Nytt nøkkelord funnet', //cpg1.4
+  'existing_keyword' => 'Eksisterende nøkkelord', //cpg1.4
+  'pic_info_str' => '%s &times; %s - %s KB - %s visninger - %s stemmer',
+  'approve' => 'Godkjenn fil',
+  'postpone_app' => 'Utsett godkjenning',
+  'del_pic' => 'Slett fil',
+  'del_all' => 'Slett ALLE filer', //cpg1.4
+  'read_exif' => 'Les EXIFinformasjon på nytt',
+  'reset_view_count' => 'Resett visningsteller',
+  'reset_all_view_count' => 'Resett ALLE visningstellere', //cpg1.4
+  'reset_votes' => 'Resett stemmer',
+  'reset_all_votes' => 'Resett ALLE stemmer', //cpg1.4
+  'del_comm' => 'Slett kommentarer',
+  'del_all_comm' => 'Slett ALLE kommentarer', //cpg1.4
+  'upl_approval' => 'Godkjenning av opplastning', //cpg1.4
+  'edit_pics' => 'Endre filer',
+  'see_next' => 'Se neste filer',
+  'see_prev' => 'Se forrige filer',
+  'n_pic' => '%s filer',
+  'n_of_pic_to_disp' => 'Antall filer å vise',
+  'apply' => 'Effektuer endringer',
+  'crop_title' => 'Coppermine Picture Editor',
+  'preview' => 'Forhåndsvis',
+  'save' => 'Lagre bilde',
+  'save_thumb' =>'Lagre som miniatyrbilde',
+  'gallery_icon' => 'Gjør dette til mitt ikon', //cpg1.4
+  'sel_on_img' =>'Utsnittet må i sin helhet være en del av bildet!', //js-alert
+  'album_properties' =>'Albumegenskaper', //cpg1.4
+  'parent_category' =>'Foreldrekategori', //cpg1.4
+  'thumbnail_view' =>'Miniatyrbildevisning', //cpg1.4
+  'select_unselect' =>'marker/avmarker alle', //cpg1.4
+  'file_exists' => "Filen '%s' finnes allerede.", //cpg1.4
+  'rename_failed' => "Kunne ikke endre navn '%s' til '%s'.", //cpg1.4
+  'src_file_missing' => "Kildefilen '%s' mangler.", // cpg 1.4
+  'mime_conv' => "Kunne ikke konvertere filen fra '%s' til '%s'",//cpg1.4
+  'forb_ext' => 'Ulovlig filending.',//cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File faq.php
+// ------------------------------------------------------------------------- //
+
+if (defined('FAQ_PHP')) $lang_faq_php = array(
+  'faq' => 'Spørsmål og Svar',
+  'toc' => 'Innholdsfortegnelse',
+  'question' => 'Spørsmål: ',
+  'answer' => 'Svar: ',
+);
+
+if (defined('FAQ_PHP')) $lang_faq_data = array(
+  'Generelle Spørsmål og Svar',
+  array('Hvorfor må jeg registrere meg?', 'Registrering kan være påkrevd av administrator. Registrering gir medlemmene utvidede rettigheter som opplastning av egne filer, registrering av egne favoritter, karaktergivning og kommentering av andres filer etc.', 'allow_user_registration', '1'),
+  array('Hvordan registrerer jeg meg?', 'Gå til &quot;Registrer&quot; og fyll inn de nødvendige feltene (alle dersom du ønsker det).<br />Har Administrator aktivert funksjonen for epost aktivering skal du motta en epost til den adressen du oppga med instruksjoner om hvordan du kan aktivere medlemskapet ditt. Medlemskapet må da aktiveres før du kan logge inn.', 'allow_user_registration', '1'), //cpg1.4
+  array('Hvordan logger jeg inn?', 'Gå til &quot;Logg inn&quot;, legg inn ditt brukernavn og passord og marker &quot;Husk meg&quot; slik at du automatisk blir logget inn neste gang dersom du forlater dette nettstedet.<br /><b>VIKTIG:Cookies må være aktivert og cookien fra denne siten kan ikke slettes dersom du vil bruke &quot;Husk meg&quot; funksjonen.</b>', 'offline', 0),
+  array('Hvorfor kan jeg ikke logge inn?', 'Har du registrert deg, og klikket på linken sendt til din epostadresse?. Denne linken vil aktivere din konto. For andre innloggingsproblemer kontakt administrator.', 'offline', 0),
+  array('Hva skjer dersom jeg mister passordet mitt?', 'Dersom denne siten har en &quot;Glemt passordet?&quot; link kan du bruke den. Ellers kan du kontakte administrator for et nytt passord.', 'offline', 0),
+  //array('Hva skjer dersom jeg endrer epostadresse?', 'Bare logg inn og endre epostadressen din gjennom &quot;Min Profil&quot;', 'offline', 0),
+  array('Hvordan lagrer jeg en fil i &quot;Mine Favoritter&quot;?', 'Klikk på en fil, og klikk så på &quot;Vis/skjul filinformasjon&quot; linken (<img src="images/info.gif" width="16" height="16" border="0" alt="Filinformasjon" />); Skroll ned til filinformasjonen og klikk &quot;Legg til i favoritter&quot;.<br />Administrator kan allerede ha slått på &quot;Vis/skjul filinformasjon&quot; on by default.<br />VIKTIG:Cookies må være aktivert og cookiene fra denne sitem kan ikke slettes.', 'offline', 0),
+  array('Hvordan gir jeg karakter til en fil?', 'Klikk på et miniatyrbilde, gå nederst og velg en karakter.', 'offline', 0),
+  array('Hvordan kommenterer jeg en fil?', 'Klikk på et miniatyrbilde, gå nederst og legg inn en kommentar.', 'offline', 0),
+  array('Hvordan laster jeg opp en fil?', 'Gå til &quot;Last opp fil&quot;og velg et album du vil laste opp til, klikk på &quot;Browse,&quot; finn filen som skal lastes opp og klikk &quot;open&quot; (legg til en tittel og en beskrivelse om du vil). Klikk så &quot;Submit&quot;.<br /><br />Alternativt kan brukere med <b>Windows XP</b> laste opp flere filer direkte til deres egne album vedå bruke den innebygde Publishing wizard.<br />For instruksjoner på hvordan, hent den påkrevde registerfilen, og klikk <a href="xp_publish.php">her.</a>', 'allow_private_albums', 1), //cpg1.4
+  array('Hvor havner filene jeg laster opp?', 'Du kan laste opp en fil til en av dine album i &quot;Mitt Galleri&quot;. Administrator kan også tilllate deg å laste opp filer til en eller flere av de andre albumene i galleriet.', 'allow_private_albums', 0),
+  array('Hvilke typer filer og i hvilke størrelser kan jeg laste opp?', 'Tillatte filstørrelser og filtyper (jpg, png, etc.) bestemmes av administrator.', 'offline', 0),
+  array('Hvordan lager, endrer eller sletter jeg album i &quot;Mitt Galleri&quot;?', 'Gå til &quot;Adminmodus&quot;<br />. Gå så til &quot;Opprett / ordne mine album&quot; og klikk &quot;Ny&quot;. Endre &quot;Nytt Album&quot; til ditt nye navn.<br />Du kan endre navn på alle album i ditt galleri.<br />Klikk &quot;Lagre endringer&quot;.', 'allow_private_albums', 0),
+  array('Hvordan kan jeg endre og begrense brukere som kan se mine album?', 'Gå til &quot;Adminmodus&quot;<br /> Gå så til &quot;Endre Mine Album&quot;. På &quot;Oppdater album&quot; linjen, velg albumet du vil endre.<br />Her kan du endre navn, beskrivelse, miniatyrbilde, begrense tilgang og kommentar/karaktertillatelser.<br />Klikk &quot;Oppdater album&quot;.', 'allow_private_albums', 0),
+  array('Hvordan kan jeg se andre brukeres gallerier?', 'Gå til &quot;Albumliste&quot; og velg &quot;Brukergallerier&quot;.', 'allow_private_albums', 0),
+  array('Hva er cookies?', 'Cookies er tekstdata som blir sendt fra et nettsted som blir lagret på din datamaskin.<br />Cookies sørger normalt for at en bruker kan returnere til nettstedet uten å måtte logge inn igjen m.m.', 'offline', 0),
+  array('Hvor kan jeg finne dette programmet til mitt eget nettsted?', 'Coppermine er et gratis multimediagalleri, utgitt under GNU GPL lisens. Det er fullt av funksjoner, og har blitt oversatt til diverse andre platformer. Besøk <a href="http://coppermine-gallery.net/">Coppermines hjemmeside</a> for å finne ut mer, og for å laste ned.', 'offline', 0),
+
+  'Navigering',
+  array('Hva er &quot;Albumliste&quot;?', 'Dette vil vise deg hele kategorien du befinner deg i, med en link til hvert album. Dersom du ikke er i en kategori viser det hele galleriet med en link til hver kategori. Miniatyrbilder kan være en link til kategorien.', 'offline', 0),
+  array('Hva er &quot;Mitt Galleri&quot;?', 'Dette lar brukere lage deres egne gallerier og legge til, slette eller endre album.', 'allow_private_albums', 1), //cpg1.4
+  array('Hva er forskjellen mellom &quot;Adminmodus&quot; og &quot;Brukermodus&quot;?', 'I adminmodus las brukeren endre deres egne gallerier (eller andres dersom brukeren er en administrator).', 'allow_private_albums', 0),
+  array('Hva er &quot;Last opp fil&quot;?', 'Dette lar brukeren laste opp filer (størrelse og type er bestemt av administrator) til et galleri valgt enten av brukeren eller av administrator.', 'allow_private_albums', 0),
+  array('Hva er &quot;Siste opplastninger&quot;?', 'Dette viser galleriets sist opplastede filer.', 'offline', 0),
+  array('Hva er &quot;Siste kommentarer&quot;?', 'Dette viser de seneste filene noen brukere har lagt inn kommentar på.', 'offline', 0),
+  array('Hva er &quot;Mest sett&quot;?', 'Dette viser de filene som er mest sett av brukere (enten de er logget på eller ikke).', 'offline', 0),
+  array('Hva er &quot;Beste karakter&quot;?', 'Dette viser de filene som har fått best karakter av andre brukere. Det viser gjennomsnittelig karaktaer (f.eks: fem brukere ga <img src="images/rating3.gif" width="65" height="14" border="0" alt="" />: da ville filen ha gjennomsnittelig karakter: <img src="images/rating3.gif" width="65" height="14" border="0" alt="" /> ;Fem brukere gav filer karakter fra 1 til 5 (1,2,3,4,5), dette ville da gjennomsnittelig gi: <img src="images/rating3.gif" width="65" height="14" border="0" alt="" /> .)<br />Karakterene går fra <img src="images/rating5.gif" width="65" height="14" border="0" alt="best" /> (best) til <img src="images/rating0.gif" width="65" height="14" border="0" alt="verst" /> (verst).', 'offline', 0),
+  array('Hva er &quot;Mine Favoritter&quot;?', 'Dette gir brukerne anledning til å lagre favorittfiler i cookien som blir sendt til datamaskinen din.', 'offline', 0),
+);
+
+
+// ------------------------------------------------------------------------- //
+// File forgot_passwd.php
+// ------------------------------------------------------------------------- //
+
+if (defined('FORGOT_PASSWD_PHP')) $lang_forgot_passwd_php = array(
+  'forgot_passwd' => 'Passordpåminnelse',
+  'err_already_logged_in' => 'Du er allerede logget inn!',
+  'enter_email' => 'Skriv inn din epostadresse', //cpg1.4
+  'submit' => 'OK',
+  'illegal_session' => 'Passordpåminnelsens sesjon er ugyldig eller har utløpt.', //cpg1.4
+  'failed_sending_email' => 'Passordpåminnelsen kunne ikke sendes!',
+  'email_sent' => 'En epost med ditt brukernavn og nye passord ble sendt til %s', //cpg1.4
+  'verify_email_sent' => 'En epost har blitt sendt til %s. Sjekk din epost for å fullføre prosessen.', //cpg1.4
+  'err_unk_user' => 'Valgte bruker eksisterer ikke!',
+  'account_verify_subject' => '%s - Forespørsel om nytt passord', //cpg1.4
+  'account_verify_body' => 'Du har anmodet om et nytt passord. Om du ønsker å fortsette ved å få et nytt passord tilsendt, klikk på denne linken:
+  
+%s', //cpg1.4
+  'passwd_reset_subject' => '%s - Ditt nye passord', //cpg1.4
+  'passwd_reset_body' => 'Her er det nye passordet du anmodet:
+Brukernavn: %s
+Passord: %s
+Klikk %s for å logge inn.', //cpg1.4
+);
+
+
+// ------------------------------------------------------------------------- //
+// File groupmgr.php
+// ------------------------------------------------------------------------- //
+
+if (defined('GROUPMGR_PHP')) $lang_groupmgr_php = array(
+  'group_name' => 'Gruppenavn', //cpg1.4
+  'permissions' => 'Tillatelser', //cpg1.4
+  'public_albums' => 'Offentlige albumopplastninger', //cpg1.4
+  'personal_gallery' => 'Personlig galleri', //cpg1.4
+  'upload_method' => 'Opplastningsmetode', //cpg1.4
+  'disk_quota' => 'Diskkvote', //cpg1.4
+  'rating' => 'Karakter', //cpg1.4
+  'ecards' => 'Ekort', //cpg1.4
+  'comments' => 'Kommentarer', //cpg1.4
+  'allowed' => 'Tillatt', //cpg1.4
+  'approval' => 'Godkjenning', //cpg1.4
+  'boxes_number' => 'Antall bokser', //cpg1.4
+  'variable' => 'variabel', //cpg1.4
+  'fixed' => 'fast', //cpg1.4
+  'apply' => 'Lagre endringer',
+  'create_new_group' => 'Lag ny gruppe',
+  'del_groups' => 'Slett valgte gruppe(r)',
+  'confirm_del' => 'Advarsel, når du sletter en gruppe vil brukerne som tilhører denne gruppen bli overført til gruppen kalt \'Registered\' !\n\nVil du fortsette?', //js-alert
+  'title' => 'Administrer brukergrupper',
+  'num_file_upload' => 'Filopplastningsbokser', //cpg1.4
+  'num_URI_upload' => 'URIopplastningsbokser', //cpg1.4
+  'reset_to_default' => 'Sett tilbake til standardnavn (%s) - anbefalt!', //cpg1.4
+  'error_group_empty' => 'Gruppetabellen var tom !<br /><br />Standardgrupper ble laget, vennligst last denne siden på nytt', //cpg1.4
+  'explain_greyed_out_title' => 'Whorfor er denne raden gråmarkert?', //cpg1.4
+  'explain_guests_greyed_out_text' => 'Du kan ikke endre denne gruppens egenskaper fordi du valgte &quot;nei&quot; på &quot; Tillat ikke-innloggede (gjester eller anonyme) brukere&quot; på konfigurasjonssiden. Alle gjester (medlemmer av gruppen %s) kan ikke gjøre noe annet enn å logge inn; derfor gjelder ikke gruppesettinger for dem.', //cpg1.4
+  'explain_banned_greyed_out_text' => 'Du kan ikke endre egenskaper til gruppen %s fordi dens medlemmer ikke kan gjøre noe uansett.', //cpg1.4
+  'group_assigned_album' => 'tilordnede album', //cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File index.php
+// ------------------------------------------------------------------------- //
+
+if (defined('INDEX_PHP')){
+
+$lang_index_php = array(
+  'welcome' => 'Velkommen !',
+);
+
+$lang_album_admin_menu = array(
+  'confirm_delete' => 'Er du sikker på at du vil SLETTE dette albumet? \\nAlle filer og kommentarer vil også bli slettet.', //js-alert
+  'delete' => 'SLETT',
+  'modify' => 'EGENSKAPER',
+  'edit_pics' => 'OPPDATER FILER',
+);
+
+$lang_list_categories = array(
+  'home' => 'Hjem',
+  'stat1' => '<b>[pictures]</b> filer i <b>[albums]</b> album og <b>[cat]</b> kategorier med <b>[comments]</b> kommentarer sett <b>[views]</b> ganger',
+  'stat2' => '<b>[pictures]</b> filer i <b>[albums]</b> album sett <b>[views]</b> ganger',
+  'xx_s_gallery' => '%s\s galleri',
+  'stat3' => '<b>[pictures]</b> filer i <b>[albums]</b> album med <b>[comments]</b> kommentarer sett <b>[views]</b> ganger',
+);
+
+$lang_list_users = array(
+  'user_list' => 'Brukerliste',
+  'no_user_gal' => 'Det er ingen tilgjengelige brukergallerier',
+  'n_albums' => '%s album',
+  'n_pics' => '%s fil(er)',
+);
+
+$lang_list_albums = array(
+  'n_pictures' => '%s filer',
+  'last_added' => ', siste lagt til den %s',
+  'n_link_pictures' => '%s linkede filer', //cpg1.4
+  'total_pictures' => '%s filer totalt', //cpg1.4
+);
+
+}
+
+// ------------------------------------------------------------------------- //
+// File keywordmgr.php //cpg1.4
+// ------------------------------------------------------------------------- //
+
+if (defined('KEYWORDMGR_PHP')) $lang_keywordmgr_php = array(
+  'title' => 'Administrer nøkkelord', //cpg1.4
+  'edit' => 'endre', //cpg1.4
+  'delete' => 'slett', //cpg1.4
+  'search' => 'søk', //cpg1.4
+  'keyword_test_search' => 'søk etter %s i nytt vindu', //cpg1.4
+  'keyword_del' => 'slett nøkkelordet %s', //cpg1.4
+  'confirm_delete' => 'Er du sikker på at du vil slette nøkkelordet %s helt fra galleriet?', //cpg1.4  // js-alert
+  'change_keyword' => 'endre nøkkelord', //cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File login.php
+// ------------------------------------------------------------------------- //
+
+if (defined('LOGIN_PHP')) $lang_login_php = array(
+  'login' => 'Logg inn',
+  'enter_login_pswd' => 'Skriv brukernavn og passord for å logge inn',
+  'username' => 'Brukernavn',
+  'password' => 'Passord',
+  'remember_me' => 'Husk meg',
+  'welcome' => 'Velkommen %s ...',
+  'err_login' => '*** Kunne ikke logge deg inn. Prøv igjen ***',
+  'err_already_logged_in' => 'Du er allerede logget inn !',
+  'forgot_password_link' => 'Glemt passordet?',
+  'cookie_warning' => 'Advarsel! Din nettleser tillater ikke cookies', //cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File logout.php
+// ------------------------------------------------------------------------- //
+
+if (defined('LOGOUT_PHP')) $lang_logout_php = array(
+  'logout' => 'Logg ut',
+  'bye' => 'På gjensyn %s ...',
+  'err_not_loged_in' => 'Du er ikke logget inn !',
+);
+
+// ------------------------------------------------------------------------- //
+// File minibrowser.php  //cpg1.4
+// ------------------------------------------------------------------------- //
+
+if (defined('MINIBROWSER_PHP')) $lang_minibrowser_php = array(
+  'close' => 'lukk', //cpg1.4
+  'submit' => 'OK', //cpg1.4
+  'up' => 'opp ett nivå', //cpg1.4
+  'current_path' => 'nåværende sti', //cpg1.4
+  'select_directory' => 'velg en mappe', //cpg1.4
+  'click_to_close' => 'Klikk på bildet for å lukke vinduet',
+);
+
+// ------------------------------------------------------------------------- //
+// File modifyalb.php
+// ------------------------------------------------------------------------- //
+
+if (defined('MODIFYALB_PHP')) $lang_modifyalb_php = array(
+  'upd_alb_n' => 'Oppdater album %s',
+  'general_settings' => 'Generelle innstillinger',
+  'alb_title' => 'Albumtittel',
+  'alb_cat' => 'Albumkategori',
+  'alb_desc' => 'Albumbeskrivelse',
+  'alb_keyword' => 'Albumnøkkelord', //cpg1.4
+  'alb_thumb' => 'Miniatyrbilde for album',
+  'alb_perm' => 'Tillatelser for dette album',
+  'can_view' => 'Dette album kan ses av',
+  'can_upload' => 'Besøkende kan laste opp filer',
+  'can_post_comments' => 'Besøkende kan kommentere filer',
+  'can_rate' => 'Besøkende kan gi filer karakter',
+  'user_gal' => 'Brukergalleri',
+  'no_cat' => '* Ingen kategori *',
+  'alb_empty' => 'Album er tomt',
+  'last_uploaded' => 'Sist lastet opp',
+  'public_alb' => 'Alle (offentlig album)',
+  'me_only' => 'Kun meg',
+  'owner_only' => 'Kun albumeier (%s)',
+  'groupp_only' => 'Medlemmer av \'%s\' gruppen',
+  'err_no_alb_to_modify' => 'Det er ingen tilgjengelige album du kan redigere.',
+  'update' => 'Oppdater album',
+  'reset_album' => 'Tilbakestill album', //cpg1.4
+  'reset_views' => 'Tilbakestill visningsteller til &quot;0&quot; i %s', //cpg1.4
+  'reset_rating' => 'Tilbakestill karakterer på alle filer i %s', //cpg1.4
+  'delete_comments' => 'Slett alle kommentarer i %s', //cpg1.4
+  'delete_files' => '%sIrreversibly%s slett alle filer i %s', //cpg1.4
+  'views' => 'visninger', //cpg1.4
+  'votes' => 'stemmer', //cpg1.4
+  'comments' => 'kommentarer', //cpg1.4
+  'files' => 'filer', //cpg1.4
+  'submit_reset' => 'lagre endringer', //cpg1.4
+  'reset_views_confirm' => 'Jeg er sikker', //cpg1.4
+  'notice1' => '(*) avhengig av %sgroups%s instillinger',  //cpg1.4 //(do not translate %s!)
+  'alb_password' => 'Albumpassord', //cpg1.4
+  'alb_password_hint' => 'Albumpasword hint', //cpg1.4
+  'edit_files' =>'Endre filer', //cpg1.4
+  'parent_category' =>'Foreldrekategori', //cpg1.4
+  'thumbnail_view' =>'Miniatyrbildevisning', //cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File phpinfo.php
+// ------------------------------------------------------------------------- //
+
+if (defined('PHPINFO_PHP')) $lang_phpinfo_php = array(
+  'php_info' => 'PHP informasjon',
+  'explanation' => 'Dette er generert av PHP-funksjonen <a href="http://www.php.net/phpinfo">phpinfo()</a>, her vist inne i Coppermine (kuttet litt ved høyre side).',
+  'no_link' => 'Å la andre se din phpinfo kan være en sikkerhetsrisiko, derfor er denne siden bare mulig å se når du er logget inn som administrator. Du kan ikke sende en link til denne siden for andre, de vil bli nektet adgang.',
+);
+
+// ------------------------------------------------------------------------- //
+// File picmgr.php //cpg1.4
+// ------------------------------------------------------------------------- //
+if (defined('PICMGR_PHP')) $lang_picmgr_php = array(
+  'pic_mgr' => 'Bildeadministrator', //cpg1.4
+  'select_album' => 'Velg album', //cpg1.4
+  'delete' => 'Slett', //cpg1.4
+  'confirm_delete1' => 'Er du sikker på at du vil slette dette bildet?', //cpg1.4
+  'confirm_delete2' => '\nBildet vil bli permanent slettet.', //cpg1.4
+  'apply_modifs' => 'Lagre endringer', //cpg1.4
+  'confirm_modifs' => 'Bekreft endringer', //cpg1.4
+  'pic_need_name' => 'Bildet må ha et navn !', //cpg1.4
+  'no_change' => 'Du gjorde ingen endringer !', //cpg1.4
+  'no_album' => '* Ingen album *', //cpg1.4
+  'explanation_header' => 'Den egendefinerte sorteringsrekkefølgen du kan spesifisere på denne siden vil bare gjelde dersom', //cpg1.4
+  'explanation1' => 'Administrator har satt "Standard sorteringsrekkefølge for filer" i konfigurasjonen til "Posisjon i synkende rekkefølge" or "Posisjon i stigende rekkefølge" (global innstilling for alle brukere som ikke har valg egen sorteringsrekkefølge)', //cpg1.4
+  'explanation2' => 'Brukeren har valgt "Posisjon i synkende rekkefølge" eller "Posisjon i stigende rekkefølge" på miniatyrbildesiden (individuell brukerinstilling)', //cpg1.4
+);
+
+
+// ------------------------------------------------------------------------- //
+// File pluginmgr.php //cpg1.4
+// ------------------------------------------------------------------------- //
+
+if (defined('PLUGINMGR_PHP')){
+
+$lang_pluginmgr_php = array(
+  'confirm_uninstall' => 'Er du sikker på at du vil AVINSTALLERE denne plugin', //cpg1.4
+  'confirm_delete' => 'Er du sikker på at du vil SLETTE denne plugin', //cpg1.4
+  'pmgr' => 'Pluginadministrasjon', //cpg1.4
+  'name' => 'Navn', //cpg1.4
+  'author' => 'Forfatter', //cpg1.4
+  'desc' => 'Beskrivelse', //cpg1.4
+  'vers' => 'v', //cpg1.4
+  'i_plugins' => 'Instalerte plugin', //cpg1.4
+  'n_plugins' => 'Plugin som ikke er installert', //cpg1.4
+  'none_installed' => 'Ingen installert', //cpg1.4
+  'operation' => 'Funksjon', //cpg1.4
+  'not_plugin_package' => 'Filen som ble lastet opp er ingen pluginpakke.', //cpg1.4
+  'copy_error' => 'Det oppsto en feil ved kopiering av pakken til pluginmappen.', //cpg1.4
+  'upload' => 'Last opp', //cpg1.4
+  'configure_plugin' => 'Plugininstillinger', //cpg1.4
+  'cleanup_plugin' => 'Cleanup plugin', //cpg1.4
+);
+}
+
+// ------------------------------------------------------------------------- //
+// File ratepic.php
+// ------------------------------------------------------------------------- //
+
+if (defined('RATEPIC_PHP')) $lang_rate_pic_php = array(
+  'already_rated' => 'Beklager men du har alt gitt karakter til denne filen',
+  'rate_ok' => 'Din stemme ble lagt inn',
+  'forbidden' => 'Du kan ikke stemme på dine egne filer.',
+);
+
+// ------------------------------------------------------------------------- //
+// File register.php & profile.php
+// ------------------------------------------------------------------------- //
+
+if (defined('REGISTER_PHP') || defined('PROFILE_PHP')) {
+
+$lang_register_disclamer = <<<EOT
+Selv om administratorer av {SITE_NAME} vil prøve å så raskt som mulig å fjerne eller endre ethvert materiale som er generelt ansett innsigelser mot, kan det være umulig å revidere alle postinger. Du må derfor være klar over at alle postinger til denne siden uttrykker forfatterens synspunkter og meninger, og ikke administratorer eller webmaster (unntatt postinger gjort av disse) som derfor ikke kan bli gjort ansvarlig. <br />
+<br />
+Du forplikter deg til ikke å poste fornærmelig, uanstendig, ærekrenkende, hatende, truende, seksuelt orientert ellel annet materiale som kan bryte en gyldig straffelov. Du er inneforstått med at webmaster, administratorer og moderatorer av {SITE_NAME} når om helst kan endre eller helt fjerne hvilket som helt innhold. Som bruker er du inneforstått med at all informasjon du har skrevet over blir lagret i en database. Selv om denne informasjonen ikke vil bli gitt til noen tredje part uten din godkjennelse, kan ikke webmaster eller administratorer bli holdt ansvarlig for noe hackerforsøk e.l. som kan føre til at slik data blir kompromittert. <br />
+<br />
+Denne siden bruker cookies til å lagre informasjon på din lokale maskin. Disse cookier tjener kun for å bedre din opplevelse. Epostadressen blir kun brukt til å bekrefte dine registreringsdetaljer og passord.<br />
+<br />
+Ved å klikke 'Jeg er enig' nedenfor sier du deg enig i disse betingelsene.
+EOT;
+
+$lang_register_php = array(
+  'page_title' => 'Brukerregistrering',
+  'term_cond' => 'Betingelser',
+  'i_agree' => 'Jeg er enig',
+  'submit' => 'Send inn registrering',
+  'err_user_exists' => 'Brukernavnet du har spesifisert er allerede brukt, velg et annet',
+  'err_password_mismatch' => 'De to passordene er ulike, skriv dem på nytt',
+  'err_uname_short' => 'Brukernavnet må minst være på to tegn',
+  'err_password_short' => 'Passordet må minst være på to tegn',
+  'err_uname_pass_diff' => 'Brukernavn og passord må være ulike',
+  'err_invalid_email' => 'Epostadresse er ugyldig',
+  'err_duplicate_email' => 'En annen bruker er allerede registrert med den epostadressen',
+  'enter_info' => 'Skriv inn registreringsinformasjon',
+  'required_info' => 'Påkrevd informasjon',
+  'optional_info' => 'Ikke påkrevd informasjon',
+  'username' => 'Brukernavn',
+  'password' => 'Passord',
+  'password_again' => 'Skriv passord på nytt',
+  'email' => 'Epost',
+  'location' => 'Sted',
+  'interests' => 'Interesser',
+  'website' => 'Hjemmeside',
+  'occupation' => 'Arbeidstittel',
+  'error' => 'FEIL',
+  'confirm_email_subject' => '%s - Registreringsbekreftelse',
+  'information' => 'Informasjon',
+  'failed_sending_email' => 'Registreringsbekreftelsen kunne ikke sendes!',
+  'thank_you' => 'Takk for din registrering.<br /><br />En epost med informasjon om hvordan du kan aktivere din brukerkonto er sendt til epostadressen du oppgav.',
+  'acct_created' => 'Din brukerkonto har blitt laget og du kan nå logge inn med ditt brukernavn og passord',
+  'acct_active' => 'Din brukerkonto er nå aktiv og du kan logge inn med ditt brukernavn og passord',
+  'acct_already_act' => 'Brukerkontoen er allerede aktivert!', //cpg1.4
+  'acct_act_failed' => 'Denne brukerkontoen kan ikke aktiveres !',
+  'err_unk_user' => 'Valgte bruker eksisterer ikke !',
+  'x_s_profile' => '%s\s profil',
+  'group' => 'Gruppe',
+  'reg_date' => 'Medlem siden',
+  'disk_usage' => 'Diskbruk',
+  'change_pass' => 'Skift passord',
+  'current_pass' => 'Nåværende passord',
+  'new_pass' => 'Nytt passord',
+  'new_pass_again' => 'Nytt passord igjen',
+  'err_curr_pass' => 'Nåværende passord ikke godkjent',
+  'apply_modif' => 'Lagre endringer',
+  'change_pass' => 'Endre mitt passord',
+  'update_success' => 'Din profil ble oppdatert',
+  'pass_chg_success' => 'Ditt passord ble endret',
+  'pass_chg_error' => 'Ditt passord ble ikke endret',
+  'notify_admin_email_subject' => '%s - Registreringsmelding',
+  'last_uploads' => 'Sist opplastede fil.<br />Klikk for å se alle filer lastet opp av', //cpg1.4
+  'last_comments' => 'Siste kommentar.<br />Klikk for å se alle kommentarer av', //cpg1.4
+  'notify_admin_email_body' => 'En ny bruker med brukernavn "%s" har registrert seg i ditt galleri',
+  'pic_count' => 'Filer lastet opp', //cpg1.4
+  'notify_admin_request_email_subject' => '%s - Registreringsforespørsel', //cpg1.4
+  'thank_you_admin_activation' => 'Takk.<br /><br />Din forespørsel for brukerkontoaktivering ble sendt til administrator. Du vil motta en epost ved godkjennelse.', //cpg1.4
+  'acct_active_admin_activation' => 'Brukerkontoen er nå aktivert og en epost har blitt sendt til brukeren.', //cpg1.4
+  'notify_user_email_subject' => '%s - Registreringsmelding', //cpg1.4
+);
+
+$lang_register_confirm_email = <<<EOT
+Takk for din registrering på {SITE_NAME}
+
+For å aktivisere din brukerkonto med brukernavn "{USER_NAME}", må du klikke på linken under eller kopiere den inn i din nettleser.
+
+<a href="{ACT_LINK}">{ACT_LINK}</a>
+
+Hilsen,
+
+Administrasjonen på {SITE_NAME}
+
+EOT;
+
+$lang_register_approve_email = <<<EOT
+En ny bruker ved navn "{USER_NAME}" har registrert seg i ditt galleri.
+
+For å aktivere brukerkontoen må du klikke på linken under eller kopiere den inn i din nettleser.
+
+<a href="{ACT_LINK}">{ACT_LINK}</a>
+
+EOT;
+
+$lang_register_activated_email = <<<EOT
+Din brukerkonto har blitt godkjent og er aktivert.
+
+Du kan nå logge inn på <a href="{SITE_LINK}">{SITE_LINK}</a> med brukernavnet "{USER_NAME}"
+
+
+Hilsen,
+
+Administrasjonen på {SITE_NAME}
+
+EOT;
+}
+
+// ------------------------------------------------------------------------- //
+// File reviewcom.php
+// ------------------------------------------------------------------------- //
+
+if (defined('REVIEWCOM_PHP')) $lang_reviewcom_php = array(
+  'title' => 'Se over kommentar(er)',
+  'no_comment' => 'Ingen kommentar(er) å se over',
+  'n_comm_del' => '%s kommentar(er) slettet',
+  'n_comm_disp' => 'Antall kommentarer å vise',
+  'see_prev' => 'Se forrige',
+  'see_next' => 'Se neste',
+  'del_comm' => 'Slett valgte kommentarer',
+  'user_name' => 'Navn', //cpg1.4
+  'date' => 'Dato', //cpg1.4
+  'comment' => 'Kommentar', //cpg1.4
+  'file' => 'Fil', //cpg1.4
+  'name_a' => 'Brukernavn i stigende rekkefølge', //cpg1.4
+  'name_d' => 'Brukernavn i synkende rekkefølge', //cpg1.4
+  'date_a' => 'Dato i stigende rekkefølge', //cpg1.4
+  'date_d' => 'Dato i synkende rekkefølge', //cpg1.4
+  'comment_a' => 'Kommentarer i stigende rekkefølge', //cpg1.4
+  'comment_d' => 'Kommentarer i synkende rekkefølge', //cpg1.4
+  'file_a' => 'Fil i stigende rekkefølge', //cpg1.4
+  'file_d' => 'Fil i synkende rekkefølge', //cpg1.4
+);
+
+
+// ------------------------------------------------------------------------- //
+// File search.php                                                           //
+// ------------------------------------------------------------------------- //
+
+
+if (defined('SEARCH_PHP')){
+
+$lang_search_php = array(
+  'title' => 'Søk i filsamlingen', //cpg1.4
+  'submit_search' => 'søk', //cpg1.4
+  'keyword_list_title' => 'Nøkkelordliste', //cpg1.4
+  'keyword_msg' => 'Listen over inkluderer ikke alt. Ord fra bildetitler og beskrivelser er ikke inkludert. Prøv et fulltekstsøk.',  //cpg1.4
+  'edit_keywords' => 'Endre nøkkelord', //cpg1.4
+  'search in' => 'Søk i:', //cpg1.4
+  'ip_address' => 'IPadresse', //cpg1.4
+  'fields' => 'Søk i', //cpg1.4
+  'age' => 'Alder', //cpg1.4
+  'newer_than' => 'Nyere enn', //cpg1.4
+  'older_than' => 'Eldre enn', //cpg1.4
+  'days' => 'dager', //cpg1.4
+  'all_words' => 'Treff på alle ord (AND)', //cpg1.4
+  'any_words' => 'Treff på noen ord (OR)', //cpg1.4
+);
+
+$lang_adv_opts = array(
+  'title' => 'Tittel', //cpg1.4
+  'caption' => 'Beskrivelse', //cpg1.4
+  'keywords' => 'Nøkkelord', //cpg1.4
+  'owner_name' => 'Navn på eier', //cpg1.4
+  'filename' => 'Filnavn', //cpg1.4
+);
+
+}
+
+// ------------------------------------------------------------------------- //
+// File searchnew.php
+// ------------------------------------------------------------------------- //
+
+if (defined('SEARCHNEW_PHP')) $lang_search_new_php = array(
+  'page_title' => 'Søk nye filer',
+  'select_dir' => 'Velg mappe',
+  'select_dir_msg' => 'Denne funksjonen lar deg legge til flere filer du har lastet opp til til serveren f.eks med FTP.<br /><br />Velg den mappen du har lastet opp filene i.', //cpg1.4
+  'no_pic_to_add' => 'Ingen filer å legge til',
+  'need_one_album' => 'Du trenger minst ett album for å bruke denne funksjonen',
+  'warning' => 'Advarsel',
+  'change_perm' => 'skriptet kan ikke skrive til denne mappen, du må kjøre den skrivbar før du forsøker å legge til filene!',
+  'target_album' => '<b>Legg filene &quot;</b>%s<b>&quot; i </b>%s',
+  'folder' => 'Mappe',
+  'image' => 'fil',
+  'album' => 'Album',
+  'result' => 'Resultat',
+  'dir_ro' => 'Ikke skrivbar. ',
+  'dir_cant_read' => 'Ikke lesbar. ',
+  'insert' => 'Legger til nye filer til galleriet',
+  'list_new_pic' => 'Liste over nye filer',
+  'insert_selected' => 'Sett inn valgte filer',
+  'no_pic_found' => 'Ingen nye filer ble funnet',
+  'be_patient' => 'Vær tålmodig, skriptet trenger tid for å legge inn filene',
+  'no_album' => 'intet album valgt',
+  'result_icon' => 'klikk for detaljer, eller for å laste på nytt',  //cpg1.4
+  'notes' =>  '<ul>'.
+                          '<li><b>OK</b> : betyr at filen ble lagt inn'.
+                          '<li><b>DP</b> : betyr at filen er et duplikat av en fil som allerede finnes i databasen'.
+                          '<li><b>PB</b> : betyr at filen ikke kunne legges inn, sjekk konfigurasjon og katalogtillatelser der filene ligger'.
+                          '<li><b>NA</b> : betyr at du ikke har valgt et album filene skal legges inn i, gå \'<a href="javascript:history.back(1)">tilbake</a>\' og velg et album. Om du ikke har noe album <a href="albmgr.php">lag et først</a></li>'.
+                          '<li>Dersom OK, DP, PB \'tegnene\' ikke står, klikk på filen for å se feilmelding fra PHPlaget'.
+                          '<li>Dersom nettleser din timer ut, trykk last på nytt knappen'.
+                          '</ul>',
+  'select_album' => 'velg album',
+  'check_all' => 'Marker alle',
+  'uncheck_all' => 'Avmarker alle',
+  'no_folders' => 'Det finnes ingen mapper inne i "albums"-mappen. Lag minst en egendefinert mappe i "albums"-mappen og last opp dine filer dit. Du må ikke laste opp til "userpics" eller "edit"-mappene, de er reservert for httpopplastninger og interne mekaninsmer.', //cpg1.4
+   'albums_no_category' => 'Album(er) uten kategori', //cpg1.4 // album pulldown mod, added by frogfoot
+  'personal_albums' => '* Personlige album', //cpg1.4 // album pulldown mod, added by frogfoot
+  'browse_batch_add' => 'Browsable interface (anbefalt)', //cpg1.4
+  'edit_pics' => 'Endre filer', //cpg1.4
+  'edit_properties' => 'Albumegenskaper', //cpg1.4
+  'view_thumbs' => 'Miniatyrbildevisning', //cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File stat_details.php //cpg1.4
+// ------------------------------------------------------------------------- //
+
+if (defined('STAT_DETAILS_PHP')) $lang_stat_details_php = array(
+  'show_hide' => 'vis/gjem denne kolonnen', //cpg1.4
+  'vote' => 'Stemmedetaljer', //cpg1.4
+  'hits' => 'Treffdetaljer', //cpg1.4
+  'stats' => 'Stemmestatistikk', //cpg1.4
+  'sdate' => 'Dato', //cpg1.4
+  'rating' => 'Karakter', //cpg1.4
+  'search_phrase' => 'Søkesetning', //cpg1.4
+  'referer' => 'Referent', //cpg1.4
+  'browser' => 'Nettleser', //cpg1.4
+  'os' => 'Operativsystem', //cpg1.4
+  'ip' => 'IP', //cpg1.4
+  'sort_by_xxx' => 'Sorter på %s', //cpg1.4
+  'ascending' => 'i stigende rekkefølge', //cpg1.4
+  'descending' => 'i synkende rekkefølge', //cpg1.4
+  'internal' => 'int', //cpg1.4
+  'close' => 'lukk', //cpg1.4
+  'hide_internal_referers' => 'gjem internale referenter', //cpg1.4
+  'date_display' => 'Datovisning', //cpg1.4
+  'submit' => 'effektuer / last på nytt', //cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File thumbnails.php
+// ------------------------------------------------------------------------- //
+
+// Void
+
+// ------------------------------------------------------------------------- //
+// File upload.php
+// ------------------------------------------------------------------------- //
+
+if (defined('UPLOAD_PHP')) $lang_upload_php = array(
+  'title' => 'Last opp fil',
+  'custom_title' => 'Egendefinert Request Form',
+  'cust_instr_1' => 'Du kan velge et egendefinert antall opplastningsfelter. Du kan imidlertid ikke velge flere enn begrensningene gitt under.',
+  'cust_instr_2' => 'Box Number Requests',
+  'cust_instr_3' => 'Filopplastningsfelter: %s',
+  'cust_instr_4' => 'URI/URL opplastningsfelter: %s',
+  'cust_instr_5' => 'URI/URL opplastningsfelter:',
+  'cust_instr_6' => 'Filopplastningsfelter:',
+  'cust_instr_7' => 'Skriv inn antall opplastningsfelter du ønsker.  Trykk så \'Fortsett\'. ',
+  'reg_instr_1' => 'Ugyldig handling ved opprettelse av skjema.',
+  'reg_instr_2' => 'Nå kan du laste opp dine filer med opplastningsfeltene nedenunder. Størrelsen på filene som blir lastet opp fra din nettleser til serveren kan ikke overstige %s KB hver. ZIPfiler som blir lastet opp via \'Filopplastning\' og \'URI/URL Opplastning\' vil forbli komprimert.',
+  'reg_instr_3' => 'Dersom du vil pakke ut ZIPfilene, må du bruke opplastningsfeltet i \'Utpakkende ZIPOpplastning\' delen.',
+  'reg_instr_4' => 'Når du bruker URI/URL opplastning, skriv stien til filen slik: http://www.mysite.com/images/example.jpg',
+  'reg_instr_5' => 'Når du har fylt ut skjemaet, klikk \'Fortsett\'.',
+  'reg_instr_6' => 'Utpakkende ZIPOpplastning:',
+  'reg_instr_7' => 'Filopplastninger:',
+  'reg_instr_8' => 'URI/URL Opplastninger:',
+  'error_report' => 'Feilrapport',
+  'error_instr' => 'Disse opplastningene feilet:',
+  'file_name_url' => 'Filnavn/URL',
+  'error_message' => 'Feilmelding',
+  'no_post' => 'Fil ikke lastet opp med POST.',
+  'forb_ext' => 'Ugyldig filtype.',
+  'exc_php_ini' => 'Fil for stor for størrelse tillatt i php.ini.',
+  'exc_file_size' => 'Fil for stor for størrelse tillatt i CPG.',
+  'partial_upload' => 'Ufullstendig opplastning.',
+  'no_upload' => 'Ingen opplastning skjedde.',
+  'unknown_code' => 'Ukjent PHP opplastningsfeilkode.',
+  'no_temp_name' => 'Ingen opplastning - Ingen tempnavn.',
+  'no_file_size' => 'Inneholder ingen data/Ødelagt',
+  'impossible' => 'Umylig å flytte.',
+  'not_image' => 'Ikke en bildefil/ødelagt',
+  'not_GD' => 'Ikke en GD filtype.',
+  'pixel_allowance' => 'Høyde og/eller bredde på det opplastede bildet er større enn tillatt i gallerikonfigurasjonen.', //cpg1.4
+  'incorrect_prefix' => 'Ugyldig URI/URL prefix',
+  'could_not_open_URI' => 'Kunne ikke åpne URI.',
+  'unsafe_URI' => 'Sikkerhet ikke mulig å bekrefte.',
+  'meta_data_failure' => 'Metadatafeil',
+  'http_401' => '401 Uautorisert',
+  'http_402' => '402 Betaling påkrevd',
+  'http_403' => '403 Ikke tillatt',
+  'http_404' => '404 Ikke funnet',
+  'http_500' => '500 Intern serverfeil',
+  'http_503' => '503 Tjeneste ikke tilgjengelig',
+  'MIME_extraction_failure' => 'Kunne ikke bestemme MIME.',
+  'MIME_type_unknown' => 'Ukjent MIMEtype',
+  'cant_create_write' => 'Kan ikke lage skrivefil.',
+  'not_writable' => 'Kan ikke skrive til skrivefil.',
+  'cant_read_URI' => 'Kan ikke lese URI/URL',
+  'cant_open_write_file' => 'Kan ikke åpne URI skrivefil.',
+  'cant_write_write_file' => 'Kan ikke skrive til URI skrivefil.',
+  'cant_unzip' => 'Kan ikke pakke ut ZIPfil.',
+  'unknown' => 'Ukjent feil',
+  'succ' => 'Opplastninger fullført',
+  'success' => '%s opplastninger fullført.',
+  'add' => 'Klikk \'Fortsett\' for å legge filene i album.',
+  'failure' => 'Opplastningsfeil',
+  'f_info' => 'Filinformasjon',
+  'no_place' => 'Den forrige filen kunne ikke plasseres.',
+  'yes_place' => 'Den forrige filen ble plassert.',
+  'max_fsize' => 'Maksimal tillatte størrelse på fil er %s KB',
+  'album' => 'Album',
+  'picture' => 'Fil',
+  'pic_title' => 'Filtittel',
+  'description' => 'Filbeskrivelse',
+  'keywords' => 'Nøkkelord (skill med mellomrom)<br /><a href="#" onClick="return MM_openBrWindow(\'keyword_select.php\',\'selectKey\',\'width=250, height=400, scrollbars=yes,toolbar=no,status=yes,resizable=yes\')">Sett inn fra liste</a>', //cpg1.4
+  'keywords_sel' =>'Velg nøkkelord', //cpg1.4
+  'err_no_alb_uploadables' => 'Beklager, det finnes ingen album du kan laste opp filer til',
+  'place_instr_1' => 'Plasser filene i album.  Du kan skrive inn relevant informasjon om hver fil nå.',
+  'place_instr_2' => 'Flere filer trenger plassering. Klikk \'Fortsett\'.',
+  'process_complete' => 'Du har plassert alle filene.',
+   'albums_no_category' => 'Album utenfor kategori', //cpg1.4. //album pulldown mod, added by frogfoot
+  'personal_albums' => '* Personlige album', //cpg1.4 //album pulldown mod, added by frogfoot
+  'select_album' => 'Velg album', //cpg1.4 //album pulldown mod, added by frogfoot
+  'close' => 'Steng', //cpg1.4
+  'no_keywords' => 'Ingen tilgjengelige nøkkelord!', //cpg1.4
+  'regenerate_dictionary' => 'Bygg ordliste', //cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File usermgr.php
+// ------------------------------------------------------------------------- //
+
+if (defined('USERMGR_PHP')) $lang_usermgr_php = array(
+  'memberlist' => 'Medlems liste', //cpg1.4
+  'user_manager' => 'Brukeradministrasjon', //cpg1.4
+  'title' => 'Administrer brukere',
+  'name_a' => 'Navn i stigende rekkefølge',
+  'name_d' => 'Navn i synkende rekkefølge',
+  'group_a' => 'Grupper i stigende rekkefølge',
+  'group_d' => 'Grupper i synkende rekkefølge',
+  'reg_a' => 'Registreringsdato i stigende rekkefølge',
+  'reg_d' => 'Registreringsdato i synkende rekkefølge',
+  'pic_a' => 'Filantall i stigende rekkefølge',
+  'pic_d' => 'Filantall i synkende rekkefølge',
+  'disku_a' => 'Diskforbruk i stigende rekkefølge',
+  'disku_d' => 'Diskforbruk i synkende rekkefølge',
+  'lv_a' => 'Siste besøk i stigende rekkefølge',
+  'lv_d' => 'Siste besøk i synkende rekkefølge',
+  'sort_by' => 'Sorter brukere etter',
+  'err_no_users' => 'Brukertabellen er tom !',
+  'err_edit_self' => 'Du kan ikke endre din egen profil, bruk \'Min profil\' til det',
+  'edit' => 'Endre', //cpg1.4
+  'with_selected' => 'Med valgte:', //cpg1.4
+  'delete' => 'Slett', //cpg1.4
+  'delete_files_no' => 'behold offentlige filer (men anonymiser)', //cpg1.4
+  'delete_files_yes' => 'slett offentlige filer også', //cpg1.4
+  'delete_comments_no' => 'behold kommentarer (men anonymiser)', //cpg1.4
+  'delete_comments_yes' => 'slett kommentarer også', //cpg1.4
+  'activate' => 'Aktiver', //cpg1.4
+  'deactivate' => 'Deaktiver', //cpg1.4
+  'reset_password' => 'Sett passord', //cpg1.4
+  'change_primary_membergroup' => 'Skift primærgruppe', //cpg1.4
+  'add_secondary_membergroup' => 'Legg til sekundær gruppe', //cpg1.4
+  'name' => 'Brukernavn',
+  'group' => 'Gruppe',
+  'inactive' => 'Inaktiv',
+  'operations' => 'Handlinger',
+  'pictures' => 'Filer',
+  'disk_space_used' => 'Diskplass brukt', //cpg1.4
+  'disk_space_quota' => 'Diskkvote', //cpg1.4
+  'registered_on' => 'Registrering', //cpg1.4
+  'last_visit' => 'Siste besøk',
+  'u_user_on_p_pages' => '%d brukere på %d side(r)',
+  'confirm_del' => 'Er du sikker på at du vil SLETTE denne brukeren ? \\nAlle filer og album knyttet til denne brukeren blir også slettet.', //js-alert
+  'mail' => 'Epost',
+  'err_unknown_user' => 'Valgte bruker finnes ikke !',
+  'modify_user' => 'Endre bruker',
+  'notes' => 'Notater',
+  'note_list' => '<li>Om du ikke vil skifte nåværende passord, la passordfeltet være blankt',
+  'password' => 'Passord',
+  'user_active' => 'Bruker er aktiv',
+  'user_group' => 'Brukergruppe',
+  'user_email' => 'Brukers epost',
+  'user_web_site' => 'Brukers webside',
+  'create_new_user' => 'Lag ny bruker',
+  'user_location' => 'Brukers lokalisering',
+  'user_interests' => 'Brukers interesser',
+  'user_occupation' => 'Brukers tittel',
+  'user_profile1' => '$user_profile1', //cpg1.4
+  'user_profile2' => '$user_profile2', //cpg1.4
+  'user_profile3' => '$user_profile3', //cpg1.4
+  'user_profile4' => '$user_profile4', //cpg1.4
+  'user_profile5' => '$user_profile5', //cpg1.4
+  'user_profile6' => '$user_profile6', //cpg1.4
+  'latest_upload' => 'Siste opplastninger',
+  'never' => 'aldri',
+  'search' => 'Brukersøk', //cpg1.4
+  'submit' => 'Lagre', //cpg1.4
+  'search_submit' => 'Søk!', //cpg1.4
+  'search_result' => 'Søkeresultat for: ', //cpg1.4
+  'alert_no_selection' => ' Du må velge minst en bruker først!', //cpg1.4 //js-alert
+  'password' => 'passord', //cpg1.4
+  'select_group' => 'Velg gruppe', //cpg1.4
+  'groups_alb_access' => 'Albumtilgang med gruppe', //cpg1.4
+  'album' => 'Album', //cpg1.4
+  'category' => 'Kategori', //cpg1.4
+  'modify' => 'Endre?', //cpg1.4
+  'group_no_access' => 'Denne gruppen har ingen spesiell tilgang', //cpg1.4
+  'notice' => 'Notis', //cpg1.4
+  'group_can_access' => 'Album der kun "%s" har tilgang', //cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File util.php
+// ------------------------------------------------------------------------- //
+
+if (defined('UTIL_PHP')) {
+$lang_util_desc_php = array(
+'Oppdaterer titler fra filnavn', //cpg1.4
+'Sletter titler', //cpg1.4
+'Bygger miniatyrbilder og reduserte bildestørrelser på nytt', //cpg1.4
+'Sletter originalbilder og erstatter dem med reduserte bildestørrelser', //cpg1.4
+'Sletter original eller mellomstørrelse for å frigi diskplass', //cpg1.4
+'Sletter foreldreløse kommentarer', //cpg1.4
+'Leser inn filstørrelser og dimensjoner på nytt (om du manuelt har endret bildene)', //cpg1.4
+'Nullstill visningsteller', //cpg1.4
+'Viser phpinfo', //cpg1.4
+'Oppdaterer databasen', //cpg1.4
+'Viser loggfiler', //cpg1.4
+);
+$lang_util_php = array(
+  'title' => 'Administrasjonsverktøy (Endre størrelser på bilder)',
+  'what_it_does' => 'Hva som skjer',
+  'file' => 'Fil',
+  'problem' => 'Problem', //cpg1.4
+  'status' => 'Status', //cpg1.4
+  'title_set_to' => 'tittel satt til',
+  'submit_form' => 'lagre',
+  'updated_succesfully' => 'oppdatert',
+  'error_create' => 'FIL ved oppretting',
+  'continue' => 'Prossesser flere bilder',
+  'main_success' => 'Filen %s ble brukt som hovedfil',
+  'error_rename' => 'Feil ved navneendring fra %s til %s',
+  'error_not_found' => 'Filen %s ble ikke funnet',
+  'back' => 'tilbake til hoved',
+  'thumbs_wait' => 'Oppdaterer miniatyrbilder og/eller reduserte bildestørrelser, vennligst vent...',
+  'thumbs_continue_wait' => 'Fortsetter å oppdatere miniatyrbilder og/eller reduserte bildestørrelser...',
+  'titles_wait' => 'Oppdaterer titler, vennligst vent...',
+  'delete_wait' => 'Sletter titles, vennligst vent...',
+  'replace_wait' => 'Sletter originaler og erstatter dem med reduserte bildestørrelser, vennligst vent..',
+  'instruction' => 'Hurtiginstruksjoner',
+  'instruction_action' => 'Velg handling',
+  'instruction_parameter' => 'Sett parametre',
+  'instruction_album' => 'Velg album',
+  'instruction_press' => 'Trykk %s',
+  'update' => 'Oppdater miniatyrbilder og/eller reduserte bildestørrelser',
+  'update_what' => 'Hva bør oppdateres',
+  'update_thumb' => 'Kun miniatyrbilder',
+  'update_pic' => 'Kun reduserte bildestørrelser',
+  'update_both' => 'Både miniatyrbilder og reduserte bildestørrelser',
+  'update_number' => 'Antall prossesserte bilder pr. klikk',
+  'update_option' => '(Prøv å sette dette lavere om du får problemer med tidsavbrudd)',
+  'filename_title' => 'Filnavn &rArr; Filtittel',
+  'filename_how' => 'Hvordan bør filnavnet endres',
+  'filename_remove' => 'Fjern .jpg endingen og erstatt _ (underscore) med mellomrom',
+  'filename_euro' => 'Endre 2003_11_23_13_20_20.jpg til 23/11/2003 13:20',
+  'filename_us' => 'Endre 2003_11_23_13_20_20.jpg til 11/23/2003 13:20',
+  'filename_time' => 'Endre 2003_11_23_13_20_20.jpg til 13:20',
+  'delete' => 'Slett filtitler eller originalstørrelsen på bildene',
+  'delete_title' => 'Slett filtitler',
+  'delete_title_explanation' => 'Dette vil fjerne alle titler på filene i albumet du spesifiserer.', //cpg1.4
+  'delete_original' => 'Slett originalstørrelsen til bildene',
+  'delete_original_explanation' => 'Dette vil fjerne originalbildene.', //cpg1.4
+  'delete_intermediate' => 'Slette bilder i mellomstørrelse', //cpg1.4
+  'delete_intermediate_explanation' => 'Dette vil slette bilder i mellomstørrelse (normal).<br />Bruk dette til å frigi diskplass om du har slått av \'Opprett bilder i mellomstørrelse\' i konfigurasjonen etter at du har lagt til bilder.', //cpg1.4
+  'delete_replace' => 'Sletter originalbildene og erstatter dem med reduserte bildestørrelser',
+  'titles_deleted' => 'Alle titler i det spesifiserte album ble slettet', //cpg1.4
+  'deleting_intermediates' => 'Sletter bilder i mellomstørrelse, vennligst vent...', //cpg1.4
+  'searching_orphans' => 'Søker etter foreldreløse bilder, vennligst vent...', //cpg1.4
+  'select_album' => 'Velg album',
+  'delete_orphans' => 'Slett kommentarer på manglende filer', //cpg1.4
+  'delete_orphans_explanation' => 'Dette vil finne og la deg slette kommentarer som er knyttet til filer som ikke lenger finnes i galleriet.<br />Sjekker alle album.', //cpg1.4
+  'refresh_db' => 'Last fildimensjoner og filstørrelser på nytt', //cpg1.4
+  'refresh_db_explanation' => 'Dette vil lese inn filstørrelser og dimensjoner på nytt. Bruk dette om diskkvoter er feil eller om du har endret filene manuelt.', //cpg1.4
+  'reset_views' => 'Nullstill visningstellere', //cpg1.4
+  'reset_views_explanation' => 'Setter alle visningstellere til null på alle filer i valgte album.', //cpg1.4
+  'orphan_comment' => 'foreldreløs kommentar funnet',
+  'delete' => 'Slett',
+  'delete_all' => 'Slett alle',
+  'delete_all_orphans' => 'Slette alle foreldreløse?', //cpg1.4
+  'comment' => 'Kommentar: ',
+  'nonexist' => 'tilknyttet fil som ikke finnes # ',
+  'phpinfo' => 'Vis phpinfo',
+  'phpinfo_explanation' => 'Inneholder teknisk informasjon om din server.<br /> - Du kan bli spurt om informasjon herfra når du spør om support.', //cpg1.4
+  'update_db' => 'Oppdater database',
+  'update_db_explanation' => 'Dersom du har feilplassert copperminefiler, lagt til en modifikasjon eller oppgradert fra en tidligere versjon av coppermine, kjør databaseoppdateringen en gang. Dette vil lage nødvendige tabeller og/eller konfigurasjonsverdier i din copperminedatabase.',
+  'view_log' => 'Se loggfiler', //cpg1.4
+  'view_log_explanation' => 'Coppermine kan loggføre forskjellige handlinger brukerne utfører. Du kan se på disse loggene dersom du har slått på logging i <a href="admin.php">coppermine konfigurasjon</a>.', //cpg1.4
+  'versioncheck' => 'Sjekk versjoner', //cpg1.4
+  'versioncheck_explanation' => 'Sjekk versjoner på dine file for å finne ut om du har oppdatert alle filene ved en oppgradering, eller om copperminefiler har blitt oppdatert siden en pakke ble sluppet.', //cpg1.4
+  'bridgemanager' => 'Broadministrasjon', //cpg1.4
+  'bridgemanager_explanation' => 'Slå integrering (bro) mellom Coppermine og et annet program på eller av (f.eks. ditt BBS).', //cpg1.4
+);
+}
+
+// ------------------------------------------------------------------------- //
+// File versioncheck.php //cpg1.4
+// ------------------------------------------------------------------------- //
+
+if (defined('VERSIONCHECK_PHP')) $lang_versioncheck_php = array(
+  'title' => 'Versionsjekk', //cpg1.4
+  'what_it_does' => 'Denne siden er ment for brukere som har oppdatert sin Coppermineinstallasjon. Dette skriptet går gjennom filene på din webserver og forsøker å fastslå om dine filer har samme versjon som siste på http://coppermine.sourceforge.net. Her vises da filene du skulle oppdatere også.<br />Skriptet vil vise alt som må fikses i rødt. Oppføringer i gult må ses på. Oppføringer i grønt (eller din standard fontfarge) er OK.<br />Klikk på hjelpeikoner for å finne ut mer.', //cpg1.4
+  'online_repository_unable' => 'Ikke i stand til å koble til http://coppermine.sourceforge.net', //cpg1.4
+  'online_repository_noconnect' => 'Coppermine kunne ikke koble til http://coppermine.sourceforge.net. Dette kan ha to årsaker:', //cpg1.4
+  'online_repository_reason1' => 'http://coppermine.sourceforge.net er midlertidig nede - sjekk om du kan se denne siden: %s - dersom du ikke kan det, prøv igjen senere.', //cpg1.4
+  'online_repository_reason2' => 'PHP på din webserver har %s slått av (det er slått på som standard). Dersom du kan administrere serveren, slå dette på i <i>php.ini</i> (tillat det i det minste å bli overridden med %s). Dersom du har en webhost, må du sannsynligvis belage deg på at du ikke kan sammenligne dine filer med siste versjon. Denne siden vil da kun vise filversjonene til din distribusjon - oppdateringer vil ikke bli vist.', //cpg1.4
+  'online_repository_skipped' => 'Hoppet over kobling til http://coppermine.sourceforge.net', //cpg1.4
+  'online_repository_to_local' => 'Dette skriptet viser den lokale kopien av filene nå. Dataene kan være unøyaktige om du har oppdatert Coppermine uten å laste opp alle filene. Endringer av filene etter releasen vil heller ikke bli tatt med.', //cpg1.4
+  'local_repository_unable' => 'Kan ikke koble til din server', //cpg1.4
+  'local_repository_explanation' => 'Coppermine kan ikke koble til filen %s på din webserver. Dete betyr sannsynligvis at du ikke har lastet opp filen til din webserver. Gjør det og prøv denne siden igjen (trykk refresh).<br />Dersom skriptet fortsatt feiler har din webhost kanskje slått av deler av <a href="http://www.php.net/manual/en/ref.filesystem.php">PHPs filsystem funksjoner</a> helt. Om dette er tilfelle kan du ikke bruke dette skriptet i det hele tatt, beklager.', //cpg1.4
+  'coppermine_version_header' => 'Installert Coppermineversjon', //cpg1.4
+  'coppermine_version_info' => 'Du har installert: %s', //cpg1.4
+  'coppermine_version_explanation' => 'Dersom du tror dette er helt feil, og du skulle ha kjørt en nyere versjon av Coppermine, har du sannsynligvis ikke lastet opp siste versjon av fileen <i>include/init.inc.php</i>', //cpg1.4
+  'version_comparison' => 'Sammenligning av Versjoner', //cpg1.4
+  'folder_file' => 'mappe/fil', //cpg1.4
+  'coppermine_version' => 'cpg versjon', //cpg1.4
+  'file_version' => 'fil versjon', //cpg1.4
+  'webcvs' => 'web svn', //cpg1.4
+  'writable' => 'skrivbar', //cpg1.4
+  'not_writable' => 'ikke skrivbar', //cpg1.4
+  'help' => 'Hjelp', //cpg1.4
+  'help_file_not_exist_optional1' => 'fil/mappe finnes ikke', //cpg1.4
+  'help_file_not_exist_optional2' => 'Filen/mappen %s ble ikke funnet på din server. Selv om den ikke er påkrevd burde du laste den opp til webserveren din om du har problemer.', //cpg1.4
+  'help_file_not_exist_mandatory1' => 'fil/mappe finnes ikke', //cpg1.4
+  'help_file_not_exist_mandatory2' => 'Filen/mappen %s ble ikke funnet på din server, selv om den er påkrevd. Last opp filen til din webserver.', //cpg1.4
+  'help_no_local_version1' => 'Ingen versjonsinfo for lokal fil', //cpg1.4
+  'help_no_local_version2' => 'Skriptet kunne ikke finne versjonsinformasjon for loakl fil - filen er enten utdatert eller så har du fjernet versjonsinformasjonen når du har endret den. Det er anbefalt å oppdatere filen.', //cpg1.4
+  'help_local_version_outdated1' => 'Lokal versjon utdatert', //cpg1.4
+  'help_local_version_outdated2' => 'Din versjon av filen ser ut til å tilhøre en eldre versjon av Coppermine (du har sannsynligvis oppgradert). Oppdater denne filen også.', //cpg1.4
+  'help_local_version_na1' => 'Kunne ikke finne cvsversjon', //cpg1.4
+  'help_local_version_na2' => 'Skriptet kunne ikke finne cvsversjonen av av filen på din webserver. Du bør laste opp filen på nytt fra installasjonspakken.', //cpg1.4
+  'help_local_version_dev1' => 'Utviklingsversjon', //cpg1.4
+  'help_local_version_dev2' => 'Filen på din webserver ser ut til å være nyere enn din Coppermineversjon. Du kjører enten en utviklingsversjon (du bør kun gjøre det om du vet hva du gjør), eller så har du oppgradert din Coppermine installasjon uten å laste opp ny versjon av include/init.inc.php', //cpg1.4
+  'help_not_writable1' => 'Ikke skrivbar mappe', //cpg1.4
+  'help_not_writable2' => 'Endre filrettigheter (CHMOD) for å gi skriptet skrivetilgang til mappen %s og alt i den mappen.', //cpg1.4
+  'help_writable1' => 'Skrivbar mappe', //cpg1.4
+  'help_writable2' => 'Mappen %s er skrivbar. Dette er en unødvendig sikkerhetsrisiko, Coppermine trenger kun lese/kjøretilgang.', //cpg1.4
+  'help_writable_undetermined' => 'Coppermine kunne ikke avgjøre om mappen er skrivbar.', //cpg1.4
+  'your_file' => 'din fil', //cpg1.4
+  'reference_file' => 'referansefil', //cpg1.4
+  'summary' => 'Oppsummering', //cpg1.4
+  'total' => 'Total antall filer/mapper undersøkt', //cpg1.4
+  'mandatory_files_missing' => 'Påkrevde mapper som mangler', //cpg1.4
+  'optional_files_missing' => 'Ikke påkrevde mapper som mangler', //cpg1.4
+  'files_from_older_version' => 'Filer etterlatt fra utdaterte Coppermineversjoner', //cpg1.4
+  'file_version_outdated' => 'Utdaterte filversjoner', //cpg1.4
+  'error_no_data' => 'Skriptet gjorde en feil, det kunne ikke informasjon. Beklager.', //cpg1.4
+  'go_to_webcvs' => 'gå til %s', //cpg1.4
+  'options' => 'Opsjoner', //cpg1.4
+  'show_optional_files' => 'vis valgfrie mapper/filer', //cpg1.4
+  'show_mandatory_files' => 'vis påkrevde filer', //cpg1.4
+  'show_file_versions' => 'vis filversjoner', //cpg1.4
+  'show_errors_only' => 'vis kun mapper/filer med feil', //cpg1.4
+  'show_permissions' => 'vis tillatelser for mappe', //cpg1.4
+  'show_condensed_output' => 'vis sammenkortet (for enklere skjermdumper)', //cpg1.4
+  'coppermine_in_webroot' => 'coppermine er installert som webroot', //cpg1.4
+  'connect_online_repository' => 'prøv å koble til online repository', //cpg1.4
+  'show_additional_information' => 'vis ytterligere informasjon', //cpg1.4
+  'no_webcvs_link' => 'ikke vis webcvslinker', //cpg1.4
+  'stable_webcvs_link' => 'vis webcvslinker til stabil versjon', //cpg1.4
+  'devel_webcvs_link' => 'vis webcvslinker til utviklingsversjon', //cpg1.4
+  'submit' => 'lagre endringer / last på nytt', //cpg1.4
+  'reset_to_defaults' => 'tilbakestill til standardverdier', //cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File view_log.php  //cpg1.4
+// ------------------------------------------------------------------------- //
+
+if (defined('VIEWLOG_PHP')) $lang_viewlog_php = array(
+  'delete_all' => 'Slett alle logger', //cpg1.4
+  'delete_this' => 'Slett denne loggen', //cpg1.4
+  'view_logs' => 'Se logger', //cpg1.4
+  'no_logs' => 'Ingen logger.', //cpg1.4
+);
+
+
+// ------------------------------------------------------------------------- //
+// File xp_publish.php //cpg1.4
+// ------------------------------------------------------------------------- //
+
+if (defined('XP_PUBLISH_PHP')) {
+
+$lang_xp_publish_client = <<<EOT
+<h1>XP Web Publishing Wizard Client</h1><p>Denne modulen lar deg bruke <b>Windows XP</b> web publishing wizard med Coppermine.</p><p>Koden er basert på en melding postet av
+EOT;
+
+$lang_xp_publish_required = <<<EOT
+<h2>Hva er påkrevd</h2><ul><li>Windows XP.</li><li>En fungerende installasjon av Coppermine der <b>webopplastningsfunksjonen virker.</b></li></ul><h2>Hvordan installere på klienten</h2><ul><li>Høyreklikk på
+EOT;
+
+$lang_xp_publish_select = <<<EOT
+Velg &quot;lagre som..&quot;. Lagre filen på din maskin. Sjekk at filens navn er <b>cpg_###.reg</b> (### representerer en numerisk timestamp) når du lagrer filen. Endre navnet om nødvendig (la tallene stå). Dobbeltklikk på filen når den er lastet ferdig, for å registrere din server i webpubliseringsveiviseren.</li></ul>
+EOT;
+
+$lang_xp_publish_testing = <<<EOT
+<h2>Testing</h2><ul><li>Velg på noen filer i Windows Utforsker, og klikk <b>Publish xxx on the web</b> i venstre rute.</li><li>Bekreft ditt filvalg. Klikk på <b>Neste</b>.</li><li>I listen som kommer opp, velg ditt fotoalbum. Dersom det ikke kommer opp , sjekk at du har installert <b>cpg_pub_wizard.reg</b> som beskrevet over.</li><li>Skriv inn din innloggingsinformasjon om det behøves.</li><li>Velg et album for bildene, eller lag et nytt.</li><li>Klikk på <b>neste</b>. Opplastingen av dine bilder starter.</li><li>Når opplastningen er fullført, sjekk ditt galleri for å se om bildene er korrekt lastet opp.</li></ul>
+EOT;
+
+$lang_xp_publish_notes = <<<EOT
+<h2>Notater :</h2><ul><li>Med en gang opplastningen er startet kan ikke veiviseren vise feilmeldinger fra skriptet, så du kan ikke vite om opplastningen ble vellykket eller ikke før du sjekker galleriet.</li><li>Dersom opplastningen var mislykket, slå på &quot;Debug modus&quot; i administrasjonsverktøyet til Coppermine. Prøv med ett enkelt bilde, og sjekk feilmeldinger i loggen
+EOT;
+
+$lang_xp_publish_flood = <<<EOT
+fil i Copperminemappen på din server.</li><li>For å forhindre at galleriet ditt blir <i>flooded</i> av bilder lastet opp med veiviseren , kan kun <b>galleri administratorer</b> og <b>brukere som har egne album</b> bruke dette.</li>
+EOT;
+
+
+
+$lang_xp_publish_php = array(
+  'title' => 'Veiviser for Coppermine - XP Web Publishing', //cpg1.4
+  'welcome' => 'Velkommen <b>%s</b>,', //cpg1.4
+  'need_login' => 'Du må logge inn på galleriet med din nettleser før du kan bruke denne veiviseren.<p/><p>Når du logger inn, velg <b>husk meg</b> om den er tilgjengelig.', //cpg1.4
+  'no_alb' => 'Beklager, men det finnes ingen album du har lov til å laste opp filer med denne veiviseren.', //cpg1.4
+  'upload' => 'Last dine bilder opp i et eksisterende album', //cpg1.4
+  'create_new' => 'Lag et nytt album for dine bilder', //cpg1.4
+  'album' => 'Album', //cpg1.4
+  'category' => 'Kategori', //cpg1.4
+  'new_alb_created' => 'Ditt nye album &quot;<b>%s</b>&quot; ble opprettet.', //cpg1.4
+  'continue' => 'Trykk &quot;Neste&quot; for å laste opp dine bilder', //cpg1.4
+  'link' => 'denne linken', //cpg1.4
+);
+}
 ?>
\ No newline at end of file
diff -x .svn -aruN 1.4.24.src/lang/persian.php 1.4.25.src/lang/persian.php
--- 1.4.24.src/lang/persian.php	2009-05-25 15:01:17.000000000 -0500
+++ 1.4.25.src/lang/persian.php	2009-05-26 11:25:40.000000000 -0500
@@ -1,2109 +1,2109 @@
-<?php
-/*************************
-  Coppermine Photo Gallery
-  ************************
-  Copyright (c) 2003-2009 Coppermine Dev Team
-  v1.1 originally written by Gregory DEMAR
-
-  This program is free software; you can redistribute it and/or modify
-  it under the terms of the GNU General Public License version 3
-  as published by the Free Software Foundation.
-  
-  ********************************************
-  Coppermine version: 1.4.24
-  $HeadURL: https://coppermine.svn.sourceforge.net/svnroot/coppermine/trunk/cpg1.4.x/lang/persian.php $
-  $Revision: 5988 $
-  $Author: gaugau $
-  $Date: 2009-05-25 22:01:41 +0200 (Mo, 25 Mai 2009) $
-**********************************************/
-
-if (!defined('IN_COPPERMINE')) { die('Not in Coppermine...');}
-
-// info about translators and translated language
-$lang_translation_info = array(
-  'lang_name_english' => 'Persian',
-  'lang_name_native' => 'فارسي',
-  'lang_country_code' => 'ir',
-  'trans_name'=> 'B.Mossavari ',
-  'trans_email' => 'bmossavari@gmail.com',
-  'trans_website' => 'http://lab.kishmate.com/gallery144/',
-  'trans_date' => '2006-04-04',
-);
-
-$lang_charset = 'utf-8';
-$lang_text_dir = 'rtl'; // ('ltr' for left to right, 'rtl' for right to left)
-
-// shortcuts for Byte, Kilo, Mega
-$lang_byte_units = array('بايت', 'كيلوبايت', 'مگابايت');
-
-// Day of weeks and months
-$lang_day_of_week = array('يكشنبه', 'دوشنبه', 'سه شنبه', 'چهارشنبه', 'پنجشنبه', 'جمعه', 'شنبه');
-$lang_month = array('ژانويه', 'فوريه', 'مارس', 'آپريل', 'مي', 'جون', 'جولاي', 'آگوست', 'سبتامبر', 'اكتبر', 'نوامبر', 'دسامبر');
-
-// Some common strings
-$lang_yes = 'بله';
-$lang_no  = 'خير';
-$lang_back = 'بازگشت';
-$lang_continue = 'ادامه';
-$lang_info = 'اطلاعات';
-$lang_error = 'خطا';
-$lang_check_uncheck_all = 'انتخاب كردن/نكردن همه'; //cpg1.4
-
-// The various date formats
-// See http://www.php.net/manual/en/function.strftime.php to define the variable below
-$album_date_fmt =    '%B %d, %Y';
-$lastcom_date_fmt =  '%m/%d/%y at %H:%M'; //cpg1.3.0
-$lastup_date_fmt = '%B %d, %Y';
-$register_date_fmt = '%B %d, %Y';
-$lasthit_date_fmt = '%B %d, %Y at %I:%M %p'; //cpg1.3.0
-$comment_date_fmt =  '%B %d, %Y at %I:%M %p'; //cpg1.3.0
-$log_date_fmt = '%B %d, %Y at %I:%M %p'; //cpg1.4
-
-// For the word censor
-$lang_bad_words = array('*fuck*', 'asshole', 'assramer', 'bitch*', 'c0ck', 'clits', 'Cock', 'cum', 'cunt*', 'dago', 'daygo', 'dego', 'dick*', 'dildo', 'fanculo', 'feces', 'foreskin', 'Fu\(*', 'fuk*', 'honkey', 'hore', 'injun', 'kike', 'lesbo', 'masturbat*', 'motherfucker', 'nazis', 'nigger*', 'nutsack', 'penis', 'phuck', 'poop', 'pussy', 'scrotum', 'shit', 'slut', 'titties', 'titty', 'twaty', 'wank*', 'whore', 'wop*','كس','*كون*','كير','*جنده*','*فاحشه*','دول','دودول','*قرمساق*','*ديوس*','*قهبه*','خفه','خفه شو','بي شعور','اجمق','حمال','سگ','الاغ','خر');
-
-$lang_meta_album_names = array(
- 'random' => 'فايلهاي انتخاب شده  به صورت تصادفي',
- 'lastup' => 'آخرين ارسال شده ها',
- 'lastalb'=> 'آخرين آلبوم تغيير يافته',
- 'lastcom' => 'آخرين نظرات',
- 'topn' => 'بيشترين بازديد',
- 'toprated' => 'بالاترين امتياز',
- 'lasthits' => 'آخرين امتياز',
- 'search' => 'جستجوي نتايج',
- 'favpics'=> 'فايلهاي مورد علاقه'
-);
-
-$lang_errors = array(
-  'access_denied' => 'شما اجازه دسترسي به اين صفحه را نداريد.',
-  'perm_denied' => 'شما اجازه انجام اين عمليات را نداريد.',
-  'param_missing' => 'اطلاعات براي انجام عمليات كافي نيست.',
-  'non_exist_ap' => 'آلبوم/فايل انتخاب شده وجود ندارد!',
-  'quota_exceeded' => 'بيشتر از فضاي تخصيص داده شده<br /><br />به شما [quota]K فضا تخصيص داده شده است, فايل شما به [space]K فضا نياز دارد, با اضافه كردن اين فايل فضا استفاده شده توسط شما از فضاي تخصيص داده شده به شما بيشتر مي گردد.',
-  'gd_file_type_err' => 'در حالت استفاده از GD Library تنها فرمت هاي پذيرفته شده JPEG و PNG مي باشند.',
-  'invalid_image' => 'تصوير ارسال شده خراب است يا GD Library نمي تواند تصوير را پردازش كند.',
-  'resize_failed' => 'امكان ساخت thumbnail يا تغيير سايز تصوير نيست!',
-  'no_img_to_display' => 'چيزي وجود ندارد.',
-  'non_exist_cat' => 'موضوع انتخاب شده وجود ندارد',
-  'orphan_cat' => 'يك موضوع بدون parent وجود دارد ، مديريت موضوع را اجرا كنيد تا اشكال را برطرف كند.',
-  'directory_ro' => 'زير شاخه \'%s\' غير قابل تغيير است, نمي توانيد تصوير را پاك كنيد.',
-  'non_exist_comment' => 'نظر (Comment)انتخاب شده موجود نيست.',
-  'pic_in_invalid_album' => 'تصوير در آلبومي (%s)كه موجود نيست!?',
-  'banned' => 'متاسفانه در حال حاضر امكان دسترسي شما به سايت محدود شده.',
-  'not_with_udb' => 'بدليل مجهز شدن برنامه به فروم (يا انواع ديگر برنامه ها) اين قابليت در برنامه گالري از كار افتاده است . يا شايد قابليتي كه ميخواهيد در اين پيكربندي ارائه نشده ، يا يا اين قابليت بايد توسط نرم افزار فروم اجرا شود.',
-  'offline_title' => 'خارج از سرويس', //cpg1.3.0
-  'offline_text' => 'در حال حاضر گالري تعطيل ! است ، به زودي راه اندازي مجدد مي شود', //cpg1.3.0
-  'ecards_empty' => 'در حال حاضر هيچ كارتي براي نمايش موجود نيست.در پيكربندي  ، حفظ كارت پستال را فعال كنيد.', //cpg1.3.0
-  'action_failed' => 'درخواست رد شد،امكان اجراي در خواست شما نيست', //cpg1.3.0
-  'no_zip' => 'برنامه هاي مورد نياز براي استفاده از فايلهاي فشرده (zip) موجود نيست، با مديريت تماس بگيريد.', //cpg1.3.0
-  'zip_type' => 'شما اجازه ارسال فايل ZIP را نداريد.', //cpg1.3.0
-  'database_query' => 'خطايي در زمان اجراي دستورات بر روي ديتابيس بوجود آمده.', //cpg1.4
-  'register_globals_on' => 'The PHP setting register_globals is enabled on your server, which is a bad idea in terms of security. It\'s strongly recommended to turn it off. [<a href="http://forum.coppermine-gallery.net/index.php/topic,59569.0.html" rel="external" class="external">more</a>]',
-);
-
-$lang_bbcode_help_title = '<span dir=rtl>راهنماي bbcode<span>'; //cpg1.4
-$lang_bbcode_help = '<span dir=rtl>بوسيله اين كدها شما ميتوانيد در اين فيلد لينكهاي قابل كليك كردن و متون متنوع ايجاد كنيد:</span><span dir=ltr> <li>[b]Bold[/b] =&gt; <b>Bold</b></li><li>[i]Italic[/i] =&gt; <i>Italic</i></li><li>[url=http://yoursite.com/]متن لينك[/url] =&gt; <a href="http://yoursite.com">متن لينك</a></li><li>[email]user@domain.com[/email] =&gt; <a href="mailto:user@domain.com">user@domain.com</a></li><li>[color=red]متن شما[/color] =&gt; <span style="color:red">متن شما</span></li><li>[img]http://coppermine-gallery.net/demo/cpg14x/images/red.gif[/img] => <img src="../images/red.gif" border="0" alt="" /></li></span>'; //cpg1.4
-
-// ------------------------------------------------------------------------- //
-// File theme.php
-// ------------------------------------------------------------------------- //
-
-$lang_main_menu = array(
-  'home_title' => 'رفتن به صفحه اصلی',
-  'home_lnk' => 'صفحه اصلی',
-  'alb_list_title' => 'رفتن به ليست آلبوم',
-  'alb_list_lnk' => 'ليست آلبوم',
-  'my_gal_title' => 'رفتن به گالری شخصی',
-  'my_gal_lnk' => 'گالری شما',
-  'my_prof_title' => 'رفتن به مشخصات شخصی', //cpg1.4
-  'my_prof_lnk' => 'مشخصات شما',
-  'adm_mode_title' => 'تغيير به حالت مديريت',
-  'adm_mode_lnk' => 'محیط مدیریت',
-  'usr_mode_title' => 'تغيير به حالت كاربر',
-  'usr_mode_lnk' => 'محیط کاربری',
-  'upload_pic_title' => 'ارسال فايل به آلبوم',
-  'upload_pic_lnk' => 'ارسال فايل',
-  'register_title' => 'ايجاد كاربر جديد',
-  'register_lnk' => 'ثبت نام',
-  'login_title' => 'ورود با سايت', //cpg1.4
-  'login_lnk' => 'ورود',
-  'logout_title' => 'رفتن تو حياط براي بازی!', //cpg1.4
-  'logout_lnk' => 'خروج',
-  'lastup_title' => 'نمايش آخرين ارسال ها', //cpg1.4
-  'lastup_lnk' => 'آخرين ارسال',
-  'lastcom_title' => 'نمايش آحرين نظرات', //cpg1.4
-  'lastcom_lnk' => 'آخرين نظرات',
-  'topn_title' => 'نمايش آيتمهايی كه بيشترين بازديد را داشته اند', //cpg1.4
-  'topn_lnk' => 'بيشترين بازديد',
-  'toprated_title' => 'نمايش آيتمهايی كه بيشترين امتياز را داشته اند', //cpg1.4
-  'toprated_lnk' => 'بالاترين امتياز',
-  'search_title' => 'جستجوی گالری', //cpg1.4
-  'search_lnk' => 'جستجو',
-  'fav_title' => 'رفتن به مورد علاقه های شما', //cpg1.4
-  'fav_lnk' => 'مورد علاقه های شما',
-  'memberlist_title' => 'نمايش ليست اعضا', //cpg1.3.0
-  'memberlist_lnk' => 'ليست اعضا', //cpg1.3.0
-  'faq_title' => 'سوال های متداول پرسيده شده در "Coppermine"', //cpg1.3.0
-  'faq_lnk' => 'سوال های متداول', //cpg1.3.0
-);
-
-$lang_gallery_admin_menu = array(
-  'upl_app_title' => 'تائيد ارسال شده ها', //cpg1.4
-  'upl_app_lnk' => 'تائيد ارسال',
-  'admin_title' => 'رفتن به پيكر بندي', //cpg1.4
-  'admin_lnk' => 'پيكربندي', //cpg1.4
-  'albums_title' => 'رفتن به مديريت آلبوم', //cpg1.4
-  'albums_lnk' => 'آلبوم ها',
-  'categories_title' => 'رفتن به مديريت موضوعات', //cpg1.4
-  'categories_lnk' => 'موضوعات',
-  'users_title' => 'رفتن به مديريت كاربران', //cpg1.4
-  'users_lnk' => 'كاربرها',
-  'groups_title' => 'رفتن به مديريت گروهها', //cpg1.4
-  'groups_lnk' => 'گروه ها',
-  'comments_title' => 'بازنگري نظرات', //cpg1.4
-  'comments_lnk' => 'نظرات', //cpg1.3.0
-  'searchnew_title' => 'رفتن به سيستم اتوماتيك افزودن فايل', //cpg1.4
-  'searchnew_lnk' => 'افزودن فايل به صورت اتوماتيك', //cpg1.3.0
-  'util_title' => 'رفتن به ابزار مديريت', //cpg1.4
-  'util_lnk' => 'ابزار مديريت', //cpg1.3.0
-  'key_title' => 'رفتن به ديكشنري كلمات', //cpg1.4
-  'key_lnk' => 'ديكشنري كلمات', //cpg1.4
-  'ban_title' => 'رفتن به بخش كاربران محدود شده', //cpg1.4
-  'ban_lnk' => 'كاربرهاي محدود شده',
-  'db_ecard_title' => 'بازنگري كارتها', //cpg1.4
-  'db_ecard_lnk' => 'مشاهده كارتها', //cpg1.3.0
-  'pictures_title' => 'مرتب كردن تصویرها', //cpg1.4
-  'pictures_lnk' => 'مرتب كردن تصویرها', //cpg1.4
-  'documentation_lnk' => 'راهنما', //cpg1.4
-  'documentation_title' => 'راهنماي گالري', //cpg1.4
-);
-
-$lang_user_admin_menu = array(
-  'albmgr_title' => 'ايجاد ومرتب سازي آلبوم شما', //cpg1.4
-  'albmgr_lnk' => 'ايجاد/مرتب كردن آلبوم شما',
-  'modifyalb_title' => 'رفتن به بخش تغييرات آلبوم هاي شما',  //cpg1.4
-  'modifyalb_lnk' => 'تغيير آلبوم هاي شما',
-  'my_prof_title' => 'رفتن به مشخصات شخصي شما', //cpg1.4
-  'my_prof_lnk' => 'مشخصات شخصي شما',
-);
-
-$lang_cat_list = array(
-  'category' => 'موضوعات',
-  'albums' => 'آلبوم ها',
-  'pictures' => 'فايلها',
-);
-
-$lang_album_list = array(
-  'album_on_page' => '%d در آلبوم %d صفحه'
-);
-
-$lang_thumb_view = array(
-        'date' => 'تاريخ',
-  //Sort by filename and title
-  'name' => 'نام فايل',
-  'title' => 'عنوان',
-  'sort_da' => 'مرتب سازي بر حسب تاريخ (صعودي)',
-  'sort_dd' => 'مرتب سازي بر حسب تاريخ (نزولي)',
-  'sort_na' => 'مرتب سازي بر حسب نام (صعودي)',
-  'sort_nd' => 'مرتب سازي بر حسب نام (نزولي)',
-  'sort_ta' => 'مرتب سازي بر حسب عنوان (صعودي)',
-  'sort_td' => 'مرتب سازي بر حسب عنوان (نزولي)',
-  'position' => 'محل قرار گيري', //cpg1.4
-  'sort_pa' => 'مرتب سازي بر حسب محل (صعودي)', //cpg1.4
-  'sort_pd' => 'مرتب سازي بر حسب محل (نزولي)', //cpg1.4
-  'download_zip' => 'دريافت به صورت ZIP', //cpg1.3.0
-  'pic_on_page' => '%d فايل در %d صفحه',
-  'user_on_page' => '%d كاربر در %d صفحه', //cpg1.3.0
-  'enter_alb_pass' => 'رمز عبور آلبوم', //cpg1.4
-  'invalid_pass' => 'رمز عبور اشتباه', //cpg1.4
-  'pass' => 'رمز عبور', //cpg1.4
-  'submit' => 'ارسال', //cpg1.4
-);
-
-$lang_img_nav_bar = array(
-  'thumb_title' => 'بازگشت به ليست تصاوير',
-  'pic_info_title' => 'نمايش/عدم نمايش مشخصات فايل', //cpg1.3.0
-  'slideshow_title' => 'نمايش پشت سر هم تصاوير',
-  'ecard_title' => 'ارسال اين تصوير به صورت كارت پستال', //cpg1.3.0
-  'ecard_disabled' => 'امكان ارسال كارت پستال محدود شده است.',
-  'ecard_disabled_msg' => 'شما امكان ارسال كارت پستال نداريد.', //js-alert //cpg1.3.0
-  'prev_title' => 'مشاهده تصویر قبلي', //cpg1.3.0
-  'next_title' => 'مشاهده تصویر بعدي', //cpg1.3.0
-  'pic_pos' => 'فايل %s/%s', //cpg1.3.0
-  'report_title' => 'گزارش اين فايل به مديريت', //cpg1.4
-  'go_album_end' => 'رفتن به انتها', //cpg1.4
-  'go_album_start' => 'رفتن به ابتدا', //cpg1.4
-  'go_back_x_items' => '%s آيتم به عقب', //cpg1.4
-  'go_forward_x_items' => '%s آيتم به جلو', //cpg1.4
-);
-
-$lang_rate_pic = array(
-  'rate_this_pic' => 'چه امتيازي ميدهيد؟',
-  'no_votes' => '(هنوز امتيازي داده نشده)',
-  'rating' => '(رتبه: %s / 5 با %s راي)',
-  'rubbish' => 'بي خود',
-  'poor' => 'ضعيف',
-  'fair' => 'قابل قبول',
-  'good' => 'خوب',
-  'excellent' => 'عالي',
-  'great' => 'باور نكردني',
-);
-
-// ------------------------------------------------------------------------- //
-// File include/exif.inc.php
-// ------------------------------------------------------------------------- //
-
-// void
-
-// ------------------------------------------------------------------------- //
-// File include/functions.inc.php
-// ------------------------------------------------------------------------- //
-
-$lang_cpg_die = array(
-  INFORMATION => $lang_info,
-  ERROR => $lang_error,
-  CRITICAL_ERROR => 'خطاي سيستم',
-  'file' => 'فايل: ',
-  'line' => 'خط: ',
-);
-
-$lang_display_thumbnails = array(
-  'filename' => 'نام فايل : ',
-  'filesize' => 'حجم فايل : ',
-  'dimensions' => 'ابعاد : ',
-  'date_added' => 'تاريخ ارسال : '
-);
-
-$lang_get_pic_data = array(
-  'n_comments' => '%s نوشته(نظر)',
-  'n_views' => '%s مشاهده',
-  'n_votes' => '(%s راي)'
-);
-
-$lang_cpg_debug_output = array(
-  'debug_info' => 'اطلاعات ديباگَ', //cpg1.3.0
-  'select_all' => 'انتخاب همه', //cpg1.3.0
-  'copy_and_paste_instructions' => 'اگر از ساپورت درخواست كمك داريد اطلاعات ديباگ را در پست خود copy and paste كنيد. دقت كنيد كه تمامي رمزهاي كاربري را با علامت **** جايگزين كنيد.', //cpg1.3.0
-  'phpinfo' => 'نمايش مشخصات سرور', //cpg1.3.0
-  'notices' => 'نكته ها', //cpg1.4
-);
-
-$lang_language_selection = array(
-  'reset_language' => 'زبان پيش فرض', //cpg1.3.0
-  'choose_language' => 'انتخاب زبان', //cpg1.3.0
-);
-
-$lang_theme_selection = array(
-  'reset_theme' => 'تم پيش فرض', //cpg1.3.0
-  'choose_theme' => 'انتخاب تم', //cpg1.3.0
-);
-
-$lang_version_alert = array(
-  'version_alert' => 'نسخه حمايت نشده!', //cpg1.4
-  'security_alert' => 'پيغام امنيتي!', //cpg1.4.3
-  'relocate_exists' => 'فايل <a href="http://coppermine-gallery.net/forum/index.php?topic=24217.0">relocate_server.php</a> را از روي سرور و وب سايت خود پاك كنيد!!!',
-  'no_stable_version' => 'شما در حال اجراي يك نسخه تستي از اين نرم افزار هستيد (نسحه شما %s) - اين نسخه حمايت شده نيست و استفاده از اين نسخه توصيه نمي شود. لطفا نسخه Stable را نصب نمائيد در غير اين صورت عواقب ناشي از استفاده از اين نسخه تستي به عهده خودتان است!!!', //cpg1.4
-  'gallery_offline' => 'گالري در حال حاضر به صورت آفلاين است (غير فعال) و فقط توسط شما قابل رويت است . فراموش نكنيد كه آن را فعال كنيد', //cpg1.4
-);
-
-$lang_create_tabs = array(
-  'previous' => 'قبلي', //cpg1.4
-  'next' => 'بعدي', //cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File include/init.inc.php
-// ------------------------------------------------------------------------- //
-
-// void
-
-// ------------------------------------------------------------------------- //
-// File keyword.inc.php                                                      //
-// ------------------------------------------------------------------------- //
-
-// void
-
-// ------------------------------------------------------------------------- //
-// File include/picmgmt.inc.php
-// ------------------------------------------------------------------------- //
-
-// void
-
-// ------------------------------------------------------------------------- //
-// File include/plugin_api.inc.php
-// ------------------------------------------------------------------------- //
-$lang_plugin_api = array(
-  'error_wakeup' => "PlugIn '%s' اجرا نشد!", //cpg1.4
-  'error_install' => "PlugIn '%s' نصب نشد!", //cpg1.4
-  'error_uninstall' => "PlugIn '%s' حذف نشد!", //cpg1.4
-  'error_sleep' => "PlugIn '%s' حذف نشد!<br />", //cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File include/smilies.inc.php
-// ------------------------------------------------------------------------- //
-
-if (defined('SMILIES_PHP')) $lang_smilies_inc_php = array(
-  'Exclamation' => 'تعجب',
-  'Question' => 'سوال',
-  'Very Happy' => 'خيلي خوشحال',
-  'Smile' => 'خندان',
-  'Sad' => 'ناراحت',
-  'Surprised' => 'متعجب',
-  'Shocked' => 'ترسيده',
-  'Confused' => 'قاطي كرده',
-  'Cool' => 'جالب',
-  'Laughing' => 'مي خندد',
-  'Mad' => 'عصباني',
-  'Razz' => 'سروصدا',
-  'Embarassed' => 'تحقير شده',
-  'Crying or Very sad' => 'گريان يا خيلي ناراحت',
-  'Evil or Very Mad' => 'ديوانه يا خيلي عصباني',
-  'Twisted Evil' => 'در حال انفجار',
-  'Rolling Eyes' => 'سرگردان',
-  'Wink' => 'چشمك',
-  'Idea' => 'ايده',
-  'Arrow' => 'نشانه',
-  'Neutral' => 'عادي',
-  'Mr. Green' => 'عصبي',
-);
-
-// ------------------------------------------------------------------------- //
-// File addpic.php
-// ------------------------------------------------------------------------- //
-
-// void
-
-// ------------------------------------------------------------------------- //
-// File mode.php //cpg1.4
-// ------------------------------------------------------------------------- //
-
-if (defined('MODE_PHP')) $lang_mode_php = array(
-  0 => 'در حال خروج از حالت مديريت. . .',
-  1 => 'در حال ورود به حالت مديريت...',
-);
-
-// ------------------------------------------------------------------------- //
-// File albmgr.php
-// ------------------------------------------------------------------------- //
-
-if (defined('ALBMGR_PHP')) $lang_albmgr_php = array(
-  'alb_need_name' => 'آلبوم ها به اسم احتياج دارند! اين طور نيست!!؟',
-  'confirm_modifs' => 'مطمئنيدكه مي خواهيد اين تغييرات را انجام دهيد؟',
-  'no_change' => 'شما تغييري انجام نداديد!',
-  'new_album' => 'آلبوم جديد',
-  'confirm_delete1' => 'مطمئنيد كه مي خواهيد اين آلبوم را حذف كنيد ؟',
-  'confirm_delete2' => '\nتمامي فايلها و نظرات اين آلبوم از بين خواهد رفت !',
-  'select_first' => 'ابتدا آلبوم را انتخاب كنيد',
-  'alb_mrg' => 'مديريت آلبوم',
-  'my_gallery' => '* گالري من *',
-  'no_category' => '* موضوعي موجود نيست *',
-  'delete' => 'حذف',
-  'new' => 'جديد',
-  'apply_modifs' => 'اعمال تغييرات ',
-  'select_category' => 'انتخاب موضوع ',
-);
-
-// ------------------------------------------------------------------------- //
-// File banning.php
-// ------------------------------------------------------------------------- //
-
-if (defined('BANNING_PHP')) $lang_banning_php = array(
-  'title' => 'كاربران محدود شده',
-  'user_name' => 'نام كاربر',
-  'ip_address' => 'آدرس آي پي',
-  'expiry' => 'پايان محدوديت (خالي يعني براي هميشه)',
-  'edit_ban' => 'ثبت تغييرات',
-  'delete_ban' => 'حدف',
-  'add_new' => 'اضافه كردن محدوديت جديد',
-  'add_ban' => 'اضافه كردن',
-  'error_user' => 'كاربر پيدا نشد', //cpg1.3.0
-  'error_specify' => 'شما بايد نام كاربر يا آدري آي پي آن را وارد نمائيد', //cpg1.3.0
-  'error_ban_id' => 'مشخصات محدوديت اشتباه است!', //cpg1.3.0
-  'error_admin_ban' => 'شما نمي توانيد خودتان را محدود كنيد!', //cpg1.3.0
-  'error_server_ban' => 'شما داريد سرور خودتان را محدود ميكنيد؟!!اومجا چه خبره هوا خوبه!!!, نمي توانيد...', //cpg1.3.0
-  'error_ip_forbidden' => 'شما نمي توانيد اين آدرس آي پي را محدود كنيد - اين آدرس Routable نيست!اگر بر روي شبكه Lan گالري را نصب كرديد از طريق پيكربندي ميتوانيد آنرا اعلام كنيد', //cpg1.3.0
-  'lookup_ip' => 'بررسي آدرس آي پي(Lookup)', //cpg1.3.0
-  'submit' => 'تائيد!', //cpg1.3.0
-  'select_date' => 'انتخاب تاريخ', //cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File bridgemgr.php //cpg1.4
-// ------------------------------------------------------------------------- //
-
-if (defined('BRIDGEMGR_PHP')) $lang_bridgemgr_php = array(
-  'title' => 'ويزارد هماهنگ سازي (Bridge)',
-  'warning' => 'اخطار: اين ويزارد اطلاعات شما را از طريق فرم عاي HTML و به صورت رمزگزاري نشده ارسال ميكند بنابراين اينويزارد را فقط در كامپيوتر  شخصي خودتان  اجرا كنيد و از كامپيوترهاي عمومي استفاده نكنيد!(مثل اينترنت كافي ها) و مطمئن شويد كه پس از اتمام كار history  و  Cache كامپيوتر را پاك كرده ايد در غير اين صورت كاربران ديگر به اطلاعات شما دسترسي خواهند داشت!',
-  'back' => 'بازگشت',
-  'next' => 'بعدي',
-  'start_wizard' => 'شروع ويزارد هماهنگ سازي',
-  'finish' => 'پايان',
-  'hide_unused_fields' => 'عدم نمايش فيلدهاي بي استفاده (توصيه مي شود)',
-  'clear_unused_db_fields' => 'حذف اطلاعات اشتباه ديتابيس (توصيه مي شود)',
-  'custom_bridge_file' => 'فايل هماهنگ كننده برنامه مخصوص شما (اگر نام فايل شما <i>myfile.inc.php</i> است در اين فيلد <i>myfile</i>را وارد كنيد.)',
-  'no_action_needed' => 'در اين قسمت كار خاصي لازم نيست  فقط بر روي \'بعدي\' كليك كنيد',
-  'reset_to_default' => 'برگشت به مقدار پيش فرض',
-  'choose_bbs_app' => 'نرم افزاري را كه مي خواهيد با گالري هماهنگ كنيد انتخاب نمائيد.',
-  'support_url' => 'براي ساپورت اين نرم افزار به اينجا برويد',
-  'settings_path' => 'path(s) used by your BBS app',
-  'database_connection' => 'database connection',
-  'database_tables' => 'database tables',
-  'bbs_groups' => 'BBS groups',
-  'license_number' => 'شماره مجوز',
-  'license_number_explanation' => 'شماره مجوز خود را وارد نمائيد (اگر داريد)',
-  'db_database_name' => 'نام ديتابيس',
-  'db_database_name_explanation' => 'نام ديتابيسي كه نرم افزار BBS شما استفاده ميكند را وارد نمائيد.',
-  'db_hostname' => 'نام Host',
-  'db_hostname_explanation' => 'نام host اي كه ديتابيس Mysql شما در آن است معمولا "localhost"',
-  'db_username' => 'نام كاربر ديتابيس',
-  'db_username_explanation' => 'نام كاربري كه به ديتابيس MySql شما در نرم افزار BBS دسترسي دارد',
-  'db_password' => 'رمز عبور ديتابيس',
-  'db_password_explanation' => 'رمز عبور براي اين كاربر Mysql',
-  'full_forum_url' => 'آدرس نرم افزار',
-  'full_forum_url_explanation' => 'آدرس كامل نرم افزاري كه ميخواهيد با گالري هماهنگ كنيد (همراه با HTTP:// در ابتدا، براي مثال http://www.yourdomain.com/forum)',
-  'relative_path_of_forum_from_webroot' => 'آدرس نسبي نرم افزار',
-  'relative_path_of_forum_from_webroot_explanation' => 'آدرس نسبي نرم افزاري كه مي خواهيد با گالري هماهنگ كنيد از ريشه (براي مثال اگر نرم افزار شما در http://www.yourdomain.com/forum ، "/forum/" را وارد كنيد)',
-  'relative_path_to_config_file' => 'آدرس نسبی فایل پیکربندی BBS',
-  'relative_path_to_config_file_explanation' => 'آدرس نسبی BBS، نسبت به محل گالری شما (برای مثال اگر گالری شما در http://www.yourdomain.tld/gallery/ باشد و BBS شما در http://www.yourdomain.tld/forum/ باشد آدرسی که باید وارد کنید "../forum/" می شود)',
-  'cookie_prefix' => 'پیشوند کوکی ها (Cookie prefix)',
-  'cookie_prefix_explanation' => 'نام کوکی های BBS شما',
-  'table_prefix' => 'پیشوند جدولهای دیتابیس',
-  'table_prefix_explanation' => 'باید دقیقا با پیشوندی که هنگام نصب BBS استفاده کرده اید یکی باشد.',
-  'user_table' => 'جدول کاربران (User table)',
-  'user_table_explanation' => '(معمولا مقدار پیش فرض درست است مگر اینکه شما BBS را بصورت استاندارد معمول نصب نکرده باشید)',
-  'session_table' => 'جدول Session',
-  'session_table_explanation' => '(معمولا مقدار پیش فرض درست است مگر اینکه شما BBS را بصورت استاندارد معمول نصب نکرده باشید)',
-  'group_table' => 'جدول گروه',
-  'group_table_explanation' => '(معمولا مقدار پیش فرض درست است مگر اینکه شما BBS را بصورت استاندارد معمول نصب نکرده باشید)',
-  'group_relation_table' => 'جدول ارتباط گروه',
-  'group_relation_table_explanation' => '(معمولا مقدار پیش فرض درست است مگر اینکه شما BBS را بصورت استاندارد معمول نصب نکرده باشید)',
-  'group_mapping_table' => 'جدول Mapping گروه',
-  'group_mapping_table_explanation' => '(معمولا مقدار پیش فرض درست است مگر اینکه شما BBS را بصورت استاندارد معمول نصب نکرده باشید)',
-  'use_standard_groups' => 'استفاده از گروه کاربران استاندارد BBS',
-  'use_standard_groups_explanation' => 'استفاده از گروه کاربران استاندارد (داخلی)(توصیه می شود).این گزینه تمام تنظیمات گروههای کاربری دیگر را بی استفاده می کند.فقط در صورتیکه می دانید چه کار می کنید این گزینه را غیر فعال کنید!',
-  'validating_group' => 'تعیین صلاحیت گروه',
-  'validating_group_explanation' => 'گروهی از BBS که کاربرانی که نیاز به تائید صلاحیت دارند  در آن هستند (معمولا مقدار پیش فرض درست است مگر اینکه شما BBS را بصورت استاندارد معمول نصب نکرده باشید)',
-  'guest_group' => 'گروه میهمان',
-  'guest_group_explanation' => 'گروهی از BBS که کاربرانی که میهمان هستند در آن هستند (معمولا مقدار پیش فرض درست است مگر اینکه شما BBS را بصورت استاندارد معمول نصب نکرده باشید)',
-  'member_group' => 'کروه اعضاء',
-  'member_group_explanation' => 'گروهی از BBS که کاربرانی که عضو هستند در آن هستند (معمولا مقدار پیش فرض درست است مگر اینکه شما BBS را بصورت استاندارد معمول نصب نکرده باشید)',
-  'admin_group' => 'گروه مدیریت',
-  'admin_group_explanation' => 'گروهی از BBS که اعضای آن مدیران BBS هستند (معمولا مقدار پیش فرض درست است مگر اینکه شما BBS را بصورت استاندارد معمول نصب نکرده باشید)',
-  'banned_group' => 'گروه محدود شده ها',
-  'banned_group_explanation' => 'گروهی از BBS  که اعضای آن کاربران محدود شده BBS هستند (معمولا مقدار پیش فرض درست است مگر اینکه شما BBS را بصورت استاندارد معمول نصب نکرده باشید)',
-  'global_moderators_group' => 'گروه مدیریت عمومی',
-  'global_moderators_group_explanation' => 'گروهی از BBS که اعضای آن مدیران عمومی BBS هستند (معمولا مقدار پیش فرض درست است مگر اینکه شما BBS را بصورت استاندارد معمول نصب نکرده باشید)',
-  'special_settings' => 'تنظیمات مخصوص BBS',
-  'logout_flag' => 'نسخه phpBB(نشانه خروج)',
-  'logout_flag_explanation' => 'نسخه BBS شما چیست (این تنظیمات نحوه خورج از سیستم را تعیین می کند)',
-  'use_post_based_groups' => 'استفاده از گروههای پستی؟?',
-  'logout_flag_yes' => '2.0.5 یا بالاتر',
-  'logout_flag_no' => '2.0.4 یا پائین تر',
-  'use_post_based_groups_explanation' => 'آیا گروههای BBS که با تعداد ارسالهایشان شناخته می شوند به این اکانت انتقال پیدا کنند یا فقط گروههای پیش فرض (مدیریت را آسان می کند،توصیه شده) میتوانید در آینده این تنظیمات را تغییر دهید.',
-  'use_post_based_groups_yes' => 'بله',
-  'use_post_based_groups_no' => 'خیر',
-  'error_title' => 'باید خطای بوجود آمده را تصحیح کنید.به صفحه قبل برگردید.',
-  'error_specify_bbs' => 'باید نرم افزاری را که می خواهید با گالری هماهنگ کنید مشخص کنید!',
-  'error_no_blank_name' => 'نمی توانید فیلد نام فایل هماهنگ کننده اضافی را خالی بگذارید.',
-  'error_no_special_chars' => 'نام فایل هماهنگ کننده نمیتواند شامل کاراکتر های خاص بجز خط زیر (_) و خط فاصله (-) باشد!',
-  'error_bridge_file_not_exist' => 'فایل هماهنگ کننده %s روی سرور پیدا نشد.ممکن است آنرا نصب نکرده باشید!',
-  'finalize' => 'فعال/غیر فعال کردن سیستم هماهنگ ساز',
-  'finalize_explanation' => 'به هر حال ، تنظیمات انجام شده در دیتابیس نگهداری می شوند اما سیستم هماهنگ ساز فعال نشده. شما در هر لحظه می توانید آنرا فعال یا غیر فعال کنید. نام کاربری و رمز عبور اصلی گالری راهمیشه به خاطر داشته باشید ، زیرا برای دادن تغییرات به آن نیازمند هستید. اگر خطایی رخ داد به %s بروید و سیستم هماهنگ سازی را غیر فعال کنید البته برای این کار به نام کاربری و رمز عبور گالری (معمولا نام کاربری و رمزی که هنگام نصب گالری معین کرده اید)احتیاج دارید.',
-  'your_bridge_settings' => 'تنظیمات برنامه هماهنگ شده',
-  'title_enable' => 'فعال کردن ، تجحیز/هماهنکی با %s',
-  'bridge_enable_yes' => 'فعال',
-  'bridge_enable_no' => 'غیر فعال',
-  'error_must_not_be_empty' => 'نباید خالی باشد',
-  'error_either_be' => 'باید %s یا %s باشد',
-  'error_folder_not_exist' => '%s وجود ندارد. مقداری را که برای %s وارد نموده اید تصحیح کنید',
-  'error_cookie_not_readible' => 'گالری قادر به خواندن کوکی با نام %s نیست. مقدار وارد شده برای %s را تصحیح کنید ، یا به بخش مدیریت BBS بروید و مطمئن شوید که آدرس داده شده برای کوکی ، برای گالری قابل خواندن است.',
-  'error_mandatory_field_empty' => 'شما نمی توانید فیلد %s را خالی بگذارید. - مقدار مخصوص به این فیلد را وارد نمائید.',
-  'error_no_trailing_slash' => 'علامت اسلش در انتهای فیلد %s نباید باشد.',
-  'error_trailing_slash' => 'علامت اسلش باید در انتهای فیلد %s باشد.',
-  'error_db_connect' => 'امکان برقراری اتصال با سرور MySql با اطلاعاتی که دادید نیست. پیغام داده شده از طرف سرور این است:',
-  'error_db_name' => 'گالری ارتباط را برقرار کرده است اما قادر به پیدا کردن دیتابیس %s نیست. مطمئن شوید که تنظیمات %s را درست وارد کرده اید.پیغام سرور این است:',
-  'error_prefix_and_table' => '%s و',
-  'error_db_table' => 'جدول %s پیدا نشد. مطمئن شوید که %s درست باشد.',
-  'recovery_title' => 'مدیریت هماهنگ سازی : بازسازی حیاتی',
-  'recovery_explanation' => 'اگر برای مدیریت سیستم هماهنگ ساز اینجا آمده اید، ابتدا باید ابا دسترسی مدیریت وارد شوید. اگر نمی توانید وارد شوید احتمالا سیستم هماهنگ ساز درست کار نمی کند ، شما می توانید این سیستم را از طریق این صفحه غیر فعال کنید. ورود نام کاربری و رمز عبور شما را به سیستم وارد نمی کند ، با این کار فقط سیستم هماهنگ ساز غیر فعال می شود. برای اطلاعات بیشتر به توضیحات تکمیلی مراجعه کنید.',
-  'username' => 'نام کاربری',
-  'password' => 'رمز عبور',
-  'disable_submit' => 'ارسال',
-  'recovery_success_title' => 'شناسایی با موفقیت انجام شد',
-  'recovery_success_content' => 'سیستم هماهنگ ساز با موفقیت غیر فعال شد. گالری در خال خاضر به صورت تنها کار می کند.',
-  'recovery_success_advice_login' => 'برای تنظیم یا راه اندازی سیستم هماهنگ ساز با دسترسی مدیریت وارد شوید',
-  'goto_login' => 'رفتن به صفحه ورود',
-  'goto_bridgemgr' => 'رفتن به مدبربت هماهنگ سازی',
-  'recovery_failure_title' => 'شناسایی موفق نبود',
-  'recovery_failure_content' => 'اطلاعات وارد شده اشتباه است. شما باید اطلاعات مدیریت اصلی گالری را وارد کنید (اطلاعاتی که در هنگام نصب گالری استفاده شده).',
-  'try_again' => 'سعی مجدد',
-  'recovery_wait_title' => 'زمان انتظار هنوز تمام نشده',
-  'recovery_wait_content' => 'برای امنیت بیشتر امکان سعی مجدد پس از زمان کوتاه نیست ، باید مدتی صبر کنید تا سیستم امکان سعی مجدد به شما بدهد.',
-  'wait' => 'صبر کنید',
-  'create_redir_file' => 'ساخت فایل تغییر جهت (توصیه می شود)',
-  'create_redir_file_explanation' => 'برای تغییر جهت کاربران و برگشت آنها به گالری بعد از ورود به BBS باید ، فایلی برای تغییر جهت در زیرشاخه BBS بسازید. وقتی این گزینه انتخاب شده باشد، مدیریت هماهنگ سازی سعی در ساخت این فایل خواهد کرد و یا کدی را برای ساخت دستی این فایل به شما می دهد.',
-  'browse' => 'مرور کردن',
-);
-
-// ------------------------------------------------------------------------- //
-// File calendar.php //cpg1.4
-// ------------------------------------------------------------------------- //
-
-if (defined('CALENDAR_PHP')) $lang_calendar_php = array(
-  'title' => 'تقويم', //cpg1.4
-  'close' => 'بسته', //cpg1.4
-  'clear_date' => 'clear date', //cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File catmgr.php
-// ------------------------------------------------------------------------- //
-
-if (defined('CATMGR_PHP')) $lang_catmgr_php = array(
-  'miss_param' => 'پارامتر هاي لازم براي  \'%s\'داده نشده !',
-  'unknown_cat' => 'موضوع انتخاب شده در ديتابيس نيست!',
-  'usergal_cat_ro' => 'موضوع گالري هاي كاربر قابل حذف نيست !',
-  'manage_cat' => 'مديريت موضوعات',
-  'confirm_delete' => 'مطمئنيد كه مي خواهيد اين موضوع را حذف كنيد ?',
-  'category' => 'موضوع',
-  'operations' => 'عمليات',
-  'move_into' => 'انتقال به',
-  'update_create' => 'تغيير/تصحيح موضوع',
-  'parent_cat' => 'موضوع مادر',
-  'cat_title' => 'عنوان موضوع',
-  'cat_thumb' => 'ریز عكس(Thumbnail) موضوع', //cpg1.3.0
-  'cat_desc' => 'شرح موضوع',
-  'categories_alpha_sort' => 'مرتب سازي موضوع بر اساس حروف الفبا (بجاي مرتب سازي هاي ديگر)', //cpg1.4
-  'save_cfg' => 'ثبت پيكربندي', //cpg1.4);
-);
-
-// ------------------------------------------------------------------------- //
-// File admin.php //cpg1.4
-// ------------------------------------------------------------------------- //
-
-if (defined('ADMIN_PHP')) $lang_admin_php = array(
-  'title' => 'پيكربندي گالري', //cpg1.4
-  'manage_exif' => 'مديريت نمايش exif', //cpg1.4
-  'manage_plugins' => 'مديريت PlugIn', //cpg1.4
-  'manage_keyword' => 'مديريت كليد واژه', //cpg1.4
-  'restore_cfg' => 'بازگشت به حالت پيكربندي اوليه',
-  'save_cfg' => 'ثبت پيكربندي جديد',
-  'notes' => 'نكته ها',
-  'info' => 'اطلاعات',
-  'upd_success' => 'پيكربندي گالري به روز رساني شد',
-  'restore_success' => 'پيكربندي پيش فرض گالري بازسازي شد',
-  'name_a' => 'نام (صعودي)',
-  'name_d' => 'نام (نزولي)',
-  'title_a' => 'عنوان (صعودي)',
-  'title_d' => 'عنوان (نزولي)',
-  'date_a' => 'تاريخ (صعودي)',
-  'date_d' => 'تاريخ (نزولي)',
-  'pos_a' => 'محل (صعودي)', //cpg1.4
-  'pos_d' => 'محل (نزولي)', //cpg1.4
-  'th_any' => 'Max Aspect',
-  'th_ht' => 'ارتفاع',
-  'th_wd' => 'عرض',
-  'label' => 'نام زبان',
-  'item' => 'آيتم',
-  'debug_everyone' => 'همه',
-  'debug_admin' => 'فقط مديريت',
-  'no_logs'=> 'خاموش', //cpg1.4
-  'log_normal'=> 'عادي', //cpg1.4
-  'log_all' => 'همه', //cpg1.4
-  'view_logs' => 'نمايش گزارشها', //cpg1.4
-  'click_expand' => 'بر روي نام هر قسمت كليك كنيد تا باز شود', //cpg1.4
-  'expand_all' => 'باز كردن همه', //cpg1.4
-  'notice1' => '(*) در صورتي كه در ديتابيس شما فايلي وجود دارد هرگز اين تنظيمات را تغيير ندهيد.', //cpg1.4 - (relocated)
-  'notice2' => '(**) وقتي اين تنظيمات را تغيير مي دهيد ، تنها فايل هايي كه از اين لحظه اضافه مي گردند شامل تغييرات مي شوند ، بنابراين در صورتي كه فايلي در ديتابيس داريد بهتر است اين تنظيمات را تغيير ندهيد. شما ميتوانيد براي تغيير تنظيمات فايل هاي موجود از "<a href="util.php">ابزار مديريت</a> (resize pictures)" كه در بخش مديريت است استفاده كنيد.</div><br />', //cpg1.4 - (relocated)
-  'notice3' => '(***) همه گزارشات به زبان انگليسي ثبت ميگردند', //cpg1.4 - (relocated)
-  'bbs_disabled' => 'وقتي در حالت هماهنگ سازي با ديگر نرم افزار ها هستيد اين عمليات (فانكشن) غير فعال است', //cpg1.4
-  'auto_resize_everyone' => 'همه', //cpg1.4
-  'auto_resize_user' => 'فقط كاربر', //cpg1.4
-  'ascending' => 'صعودي', //cpg1.4
-  'descending' => 'نزولي', //cpg1.4
-);
-
-if (defined('ADMIN_PHP')) $lang_admin_data = array(
-  'تنظيمات اصلي',
-  array('نام گالري', 'gallery_name', 0, 'f=index.htm&amp;as=admin_general_name&amp;ae=admin_general_name_end'), //cpg1.4
-  array('شرح گالري', 'gallery_description', 0, 'f=index.htm&amp;as=admin_general_description&amp;ae=admin_general_description_end'), //cpg1.4
-  array('ايميل مدير گالري', 'gallery_admin_email', 0, 'f=index.htm&amp;as=admin_general_email&amp;ae=admin_general_email_end'), //cpg1.4
-  array('آدرس گالري شما (براي لينك  در كارت) براي ديدن تصویرهاي بيشتر', 'ecards_more_pic_target', 0, 'f=index.htm&amp;as=admin_general_coppermine-url&amp;ae=admin_general_coppermine-url_end'), //cpg1.4
-  array('آدرس صفحه اصلي', 'home_target', 0, 'f=index.htm&amp;as=admin_general_home-url&amp;ae=admin_general_home-url_end'), //cpg1.4
-  array('امكان دريافت فايلهاي مورد علاقه (Favorites) به صورت فشرده', 'enable_zipdownload', 1, 'f=index.htm&amp;as=admin_general_zip-download&amp;ae=admin_general_zip-download_end'), //cpg1.4
-  array('تفاوت زمان محلي مسبت به GMT (رمان جاري: ' . localised_date(-1, $comment_date_fmt) . ')','time_offset',0, 'f=index.htm&amp;as=admin_general_time-offset&amp;ae=admin_general_time-offset_end&amp;top=1'), //cpg1.4
-  array('فعال سازي كد كزدن رمز عبور (غير قابل برگشت)','enable_encrypted_passwords',1, 'f=index.htm&amp;as=admin_general_encrypt_password_start&amp;ae=admin_general_encrypt_password_end&amp;top=1'), // cpg 1.4
-  array('فعال سازي آيكون هاي راهنما (فقط در حالت انگليسي)','enable_help',9, 'f=index.htm&amp;as=admin_general_help&amp;ae=admin_general_help_end'), //cpg1.4
-  array('فعال سازي قابليت كليك كردن بر روي واژه ها در جستجو','clickable_keyword_search',14, 'f=index.htm&amp;as=admin_general_keywords_start&amp;ae=admin_general_keywords_end'), //cpg1.4
-  array('فغال سازي PlugIn ها', 'enable_plugins', 12, 'f=index.htm&amp;as=admin_general_enable-plugins&amp;ae=admin_general_enable-plugins_end'),  //cpg1.4
-  array('امكان محدود كردن آي پي هاي شخصي (آي پي هاي محلي و غير قابل روت)', 'ban_private_ip', 1,  'f=index.htm&amp;as=admin_general_private-ip&amp;ae=admin_general_private-ip_end'), //cpg1.4
-  array('امكان جستجو(Browse)در سيستم افزودن فايل اتوماتيك', 'browse_batch_add', 1, 'f=index.htm&amp;as=admin_general_browsable_batch_add&amp;ae=admin_general_browsable_batch_add_end'), //cpg1.4
-
-  'زبان و تنظيمات كاراكتر ست',
-  array('زبان', 'lang', 5, 'f=index.htm&amp;as=admin_language_language&amp;ae=admin_language_language_end'), //cpg1.4
-  array('استفاده از انگليسي در صورت عدم دسترسي به ترجمه لغت؟', 'language_fallback', 1, 'f=index.htm&amp;as=admin_language_fallback&amp;ae=admin_language_fallback_end'), //cpg1.4
-  array('سيستم كد پيج و كاراكتر ست', 'charset', 4, 'f=index.htm&amp;as=admin_language_charset&amp;ae=admin_language_charset_end'), //cpg1.4
-  array('نمايش ليست زبانها', 'language_list', 1, 'f=index.htm&amp;as=admin_language_list&amp;ae=admin_language_list_end'), //cpg1.4
-  array('نمايش پرچم زبانها', 'language_flags', 8, 'f=index.htm&amp;as=admin_language_flags&amp;ae=admin_language_flags_end&amp;top=1'), //cpg1.4
-  array('نمايش "تنظيم مجدد" در بخش زبانها', 'language_reset', 1, 'f=index.htm&amp;as=admin_language_reset&amp;ae=admin_language_reset_end&amp;top=1'), //cpg1.4
-  //array('Display previous/next on tabbed pages', 'previous_next_tab', 1), //cpg1.4
-
-  'تنظيمات تم',
-  array('تم', 'theme', 6, 'f=index.htm&amp;as=admin_theme_theme&amp;ae=admin_theme_theme_end'), //cpg1.4
-  array('نمايش ليست تم ها', 'theme_list', 1, 'f=index.htm&amp;as=admin_theme_theme_list&amp;ae=admin_theme_theme_list_end'), //cpg1.4
-  array('نمايش "تنظيم مجدد" در بخش تم ها', 'theme_reset', 1, 'f=index.htm&amp;as=admin_theme_theme_reset&amp;ae=admin_theme_theme_reset_end'), //cpg1.4
-  array('نمايش سوالات متداول', 'display_faq', 1, 'f=index.htm&amp;as=admin_theme_faq&amp;ae=admin_theme_faq_end'), //cpg1.4
-  array('نام لينكهاي اضافي در منو', 'custom_lnk_name', 0,'f=index.htm&amp;as=admin_theme_custom_lnk_name&amp;ae=admin_theme_custom_lnk_name_end'), //cpg1.4
-  array('آدرس لينكهاي اضافي در منو', 'custom_lnk_url', 0,'f=index.htm&amp;as=admin_language_custom_lnk_url&amp;ae=admin_language_custom_lnk_url_end'), //cpg1.4
-  array('نمايش راهنماي bbcode', 'show_bbcode_help', 1, 'f=index.htm&amp;as=admin_theme_bbcode&amp;ae=admin_theme_bbcode_end&amp;top=1'), //cpg1.4
-  array('نمایش بلوكی كه شامل لوگوهای تائیدW3 و همچنین PHP & Mysqlاست در حالتی كه تم قابلیت CSS و XHTML دارد.','vanity_block',1, 'f=index.htm&amp;as=vanity_block&amp;ae=vanity_block_end'), //cpg1.4
-  array('آدرس فايل Header', 'custom_header_path', 0, 'f=index.htm&amp;as=admin_theme_include_path_start&amp;ae=admin_theme_include_path_end'), //cpg1.4
-  array('آدرس فايل Footer', 'custom_footer_path', 0, 'f=index.htm&amp;as=admin_theme_include_path_start&amp;ae=admin_theme_include_path_end'), //cpg1.4
-
-  'نحوه نمايش ليست آلبوم',
-  array('عرض جدول (Table) اصلي (پيكسل يا %)', 'main_table_width', 0, 'f=index.htm&amp;as=admin_album_table-width&amp;ae=admin_album_table-width_end'), //cpg1.4
-  array('تعداد سطوح موضوعات براي نمايش', 'subcat_level', 0, 'f=index.htm&amp;as=admin_album_category-levels&amp;ae=admin_album_category-levels_end'), //cpg1.4
-  array('تعداد آلبوم ها براي نمايش', 'albums_per_page', 0, 'f=index.htm&amp;as=admin_album_number&amp;ae=admin_album_number_end'), //cpg1.4
-  array('تعداد ستونها ليست آلبوم براي نمايش', 'album_list_cols', 0, 'f=index.htm&amp;as=admin_album_columns&amp;ae=admin_album_columns_end'), //cpg1.4
-  array('ابعاد ريز عكسها (Thumbnails) به پيكسل', 'alb_list_thumb_size', 0, 'f=index.htm&amp;as=admin_album_thumbnail-size&amp;ae=admin_album_thumbnail-size_end'), //cpg1.4
-  array('محتواي صفحه اصلي', 'main_page_layout', 0, 'f=index.htm&amp;as=admin_album_list_content&amp;ae=admin_album_list_content_end'), //cpg1.4
-  array('نمايش ريز عكسهاي آلبوم سطح اول در موضوع','first_level',1, 'f=index.htm&amp;as=admin_album_first-level_thumbs&amp;ae=admin_album_first-level_thumbs_end'), //cpg1.4
-  array('مرتب سازي موضوعات بر حسب حروف الفبا (بجاي مرتب سازي هاي ديگر)','categories_alpha_sort',1, 'f=index.htm&amp;as=admin_album_list_alphasort_start&amp;ae=admin_album_list_alphasort_end'), //cpg1.4
-  array('نمايش تعداد فايلعاي لينك شده','link_pic_count',1, 'f=index.htm&amp;as=admin_album_linked_files_start&amp;ae=admin_album_linked_files_end'), //cpg1.4
-
-  'نجوه نمايش ريز عكسها (Thumbnails)',
-  array('تعداد ستونها در صفحه ريز عكسها', 'thumbcols', 0, 'f=index.htm&amp;as=admin_thumbnail_columns&amp;ae=admin_thumbnail_columns_end'), //cpg1.4
-  array('تعداد رديفها در صفحه ريز عكسها', 'thumbrows', 0, 'f=index.htm&amp;as=admin_thumbnail_rows&amp;ae=admin_thumbnail_rows_end'), //cpg1.4
-  array('بيشترين تعداد Tab براي نمايش', 'max_tabs', 10, 'f=index.htm&amp;as=admin_thumbnail_tabs&amp;ae=admin_thumbnail_tabs_end'), //cpg1.4
-  array('نمايش توضيحات تصویر(علاوه بر عنوان)زير ريزعكسها', 'caption_in_thumbview', 1, 'f=index.htm&amp;as=admin_thumbnail_display_caption&amp;ae=admin_thumbnail_display_caption_end'), //cpg1.4
-  array('نمايش دفعات مشاهده تصویر زير ريزعكسها', 'views_in_thumbview', 1, 'f=index.htm&amp;as=admin_thumbnail_display_views&amp;ae=admin_thumbnail_display_views_end'), //cpg1.4
-  array('نمايش تعداد نظرات نوشته شده زير ريزعكسها', 'display_comment_count', 1, 'f=index.htm&amp;as=admin_thumbnail_display_comments&amp;ae=admin_thumbnail_display_comments_end'), //cpg1.4
-  array('نمايش نام ارسال كننده زير ريزعكسها', 'display_uploader', 1, 'f=index.htm&amp;as=admin_thumbnail_display_uploader&amp;ae=admin_thumbnail_display_uploader_end'), //cpg1.4
-  //array('نمايش نام مدير ارسال كننده زير ريزعكسها', 'display_admin_uploader', 1, 'f=index.htm&amp;as=admin_thumbnail_display_admin_uploader&amp;ae=admin_thumbnail_display_admin_uploader_end'), //cpg1.4
-  array('نمايش نام فايل در زير ريز عكسها', 'display_filename', 1, 'f=index.htm&amp;as=admin_thumbnail_display_filename&amp;ae=admin_thumbnail_display_filename_end'), //cpg1.4
-  //array('نمايش توضيحات آلبوم', 'alb_desc_thumb', 1, 'f=index.htm&amp;as=admin_thumbnail_display_description&amp;ae=admin_thumbnail_display_description_end'), //cpg1.4
-  array('پيش فرض نحوه مرتب سازي فايلها', 'default_sort_order', 3, 'f=index.htm&amp;as=admin_thumbnail_default_sortorder&amp;ae=admin_thumbnail_default_sortorder_end'), //cpg1.4
-  array('حداقل تعداد راي براي نمايش فايل در ليست  \'بالاترين امتيازات\'', 'min_votes_for_rating', 0, 'f=index.htm&amp;as=admin_thumbnail_minimum_votes&amp;ae=admin_thumbnail_minimum_votes_end'), //cpg1.4
-
-  'نحوه نمايش تصویرها', //cpg1.4
-  array('عرض جدول نمايش فايل (به پيكسل يا %)', 'picture_table_width', 0, 'f=index.htm&amp;as=admin_image_comment_table-width&amp;ae=admin_image_comment_table-width_end'), //cpg1.4
-  array('به صورت پيش فرض اطلاعات فايل قابل مشاهده است', 'display_pic_info', 1, 'f=index.htm&amp;as=admin_image_comment_info_visible&amp;ae=admin_image_comment_info_visible_end'), //cpg1.4
-  array('جداكثر طول توضيحات فايل', 'max_img_desc_length', 0, 'f=index.htm&amp;as=admin_image_comment_descr_length&amp;ae=admin_image_comment_descr_length_end'), //cpg1.4
-  array('حداكثر تعداد حرف در يك كلمه', 'max_com_wlength', 0, 'f=index.htm&amp;as=admin_image_comment_chars_per_word&amp;ae=admin_image_comment_chars_per_word_end'), //cpg1.4
-  array('نمايش بصورت فيلم', 'display_film_strip', 1, 'f=index.htm&amp;as=admin_image_comment_filmstrip_toggle&amp;ae=admin_image_comment_filmstrip_toggle_end'), //cpg1.4
-  array('نمايش نام در زير ريز عكسها در حالت فيلم', 'display_film_strip_filename', 1, 'f=index.htm&amp;as=admin_image_comment_display_film_strip_filename&amp;ae=admin_image_comment_display_film_strip_filename_end'), //cpg1.4
-  array('تعداد آيتمها در حالت فيلم', 'max_film_strip_items', 0, 'f=index.htm&amp;as=admin_image_comment_filmstrip_number&amp;ae=admin_image_comment_filmstrip_number_end'), //cpg1.4
-  array('مكث بين هر اسلايد در حالت نمايش اسلايد پشت سر هم به ميلي ثانيه (1 ثانيه = 1000 ميلي ثانيه)', 'slideshow_interval', 0, 'f=index.htm&amp;as=admin_image_comment_slideshow_interval&amp;ae=admin_image_comment_slideshow_interval_end'), //cpg1.4
-
-  'تنظيمات نظر دهي', //cpg1.4
-  array('كلمات زشت از نظرات حذف شود', 'filter_bad_words', 1, 'f=index.htm&amp;as=admin_image_comment_bad_words&amp;ae=admin_image_comment_bad_words_end'), //cpg1.4
-  array('اجازه استفاده از شكلك در نظرات', 'enable_smilies', 1, 'f=index.htm&amp;as=admin_image_comment_smilies&amp;ae=admin_image_comment_smilies_end'), //cpg1.4
-  array('اجازه نظر دهي مجدد و مختلف به يك كاربر براي يك تصویر(از كار انداختن سيستم حفاظت نظرات)', 'disable_comment_flood_protect', 1, 'f=index.htm&amp;as=admin_image_comment_flood&amp;ae=admin_image_comment_flood_end'), //cpg1.4
-  array('حداكثر تعداد خطوط در نظر', 'max_com_lines', 0, 'f=index.htm&amp;as=admin_image_comment_lines&amp;ae=admin_image_comment_lines_end'), //cpg1.4
-  array('حداكثر تعداد كاراكتر در يك نظر', 'max_com_size', 0, 'f=index.htm&amp;as=admin_image_comment_length&amp;ae=admin_image_comment_length_end'), //cpg1.4
-  array('ارسال ايميل به مديريت در صورت نظر دهي به هر تصویر', 'email_comment_notification', 1, 'f=index.htm&amp;as=admin_image_comment_admin_notify&amp;ae=admin_image_comment_admin_notify_end'), //cpg1.4
-  array('نحوه مرتب سازي نظرات', 'comments_sort_descending', 17, 'f=index.htm&amp;as=admin_comment_sort_start&amp;ae=admin_comment_sort_end'), //cpg1.4
-  array('پيشوند براي نظر كاربران ناشناخته', 'comments_anon_pfx', 0, 'f=index.htm&amp;as=comments_anon_pfx&amp;ae=comments_anon_pfx_end'), //cpg1.4
-
-  'تنظيمات فايلها و ريز عكسها (Thumbnails)',
-  array('كيفيت فايلهاي JPEG', 'jpeg_qual', 0, 'f=index.htm&amp;as=admin_picture_thumbnail_jpeg_quality&amp;ae=admin_picture_thumbnail_jpeg_quality_end'), //cpg1.4
-  array('حداكثر اندازه ريزعكسها <a href="#notice2" class="clickable_option">**</a>', 'thumb_width', 0, 'f=index.htm&amp;as=admin_picture_thumbnail_max-dimension&amp;ae=admin_picture_thumbnail_max-dimension_end'), //cpg1.4
-  array('اندازه مورد استفاده (عرض يا ارتفاع يا نسبت عرض به ارتفاع) <a href="#notice2" class="clickable_option"><b>**</b></a>', 'thumb_use', 7, 'f=index.htm&amp;as=admin_picture_thumbnail_use-dimension&amp;ae=admin_picture_thumbnail_use-dimension_end'), //cpg1.4
-  array('ايجاد تصاوير متوسط','make_intermediate',1, 'f=index.htm&amp;as=admin_picture_thumbnail_intermediate_toggle&amp;ae=admin_picture_thumbnail_intermediate_toggle_end'), //cpg1.4
-  array('حداكثر عرض يا ارتفاع تصوير/فيلم متوسط <a href="#notice2" class="clickable_option">**</a>', 'picture_width', 0, 'f=index.htm&amp;as=admin_picture_thumbnail_intermediate_dimension&amp;ae=admin_picture_thumbnail_intermediate_dimension_end'), //cpg1.4
-  array('حداكثر حجم فايل ارسالي (كيلوبايت)', 'max_upl_size', 0, 'f=index.htm&amp;as=admin_picture_thumbnail_max_upload_size&amp;ae=admin_picture_thumbnail_max_upload_size_end'), //cpg1.4
-  array('حداكثر عرض يا ارتفاع تصوير/فيلم ارسالي ( پيكسل )', 'max_upl_width_height', 0, 'f=index.htm&amp;as=admin_picture_thumbnail_max_upload_dimension&amp;ae=admin_picture_thumbnail_max_upload_dimension_end'), //cpg1.4
-  array('تغيير اندازه اتوماتيك فايلهايي كه ابعادشان بيش از اندازه تعيين شده است', 'auto_resize', 16, 'f=index.htm&amp;as=admin_picture_thumbnail_auto-resize&amp;ae=admin_picture_thumbnail_auto-resize_end'), //cpg1.4
-
-  'تنظيمات پيشرفته فايلها و ريز عكسها',
-  array('آلبومها مي توانند خصوصي باشند (نكته:اگر از حالت \'بله\' به حالت \'خير\' برويد تمامي آلبومهاي خصوصي جاري نيز به حالت عمومي در خواهند آمد.)', 'allow_private_albums', 1, 'f=index.htm&amp;as=admin_picture_thumb_advanced_private_toggle&amp;ae=admin_picture_thumb_advanced_private_toggle_end'), //cpg1.4
-  array('نمايش آيكون آلبوم خصوصي به كاربران وارد نشده به سيستم','show_private',1, 'f=index.htm&amp;as=admin_picture_thumb_advanced_private_icon_show&amp;ae=admin_picture_thumb_advanced_private_icon_show_end'), //cpg1.4
-  array('كاركترهاي ممنوع براي نام فايل', 'forbiden_fname_char',0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_filename_forbidden_chars&amp;ae=admin_picture_thumb_advanced_filename_forbidden_chars_end'), //cpg1.4
-  //array('پسوندهاي قابل قبول براي ارسال فايل', 'allowed_file_extensions',0, 'f=index.htm&amp;as=&amp;ae=_end'), //cpg1.4
-  array('نوع تصاوير مجاز (png,jpeg,...)', 'allowed_img_types',0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_pic_extensions&amp;ae=admin_picture_thumb_advanced_pic_extensions_end'), //cpg1.4
-  array('نوع فيلمهاي مجاز', 'allowed_mov_types',0, 'f=index.htm&amp;as=admin_thumbs_advanced_movie&amp;ae=admin_thumbs_advanced_movie_end'), //cpg1.4
-  array('نمايش اتوماتيك فيلم', 'media_autostart',1, 'f=index.htm&amp;as=admin_movie_autoplay&amp;ae=admin_movie_autoplay_end'), //cpg1.4
-  array('نوع موزيك هاي مجاز', 'allowed_snd_types',0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_audio_extensions&amp;ae=admin_picture_thumb_advanced_audio_extensions_end'), //cpg1.4
-  array('نوع متنهاي مجاز', 'allowed_doc_types',0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_doc_extensions&amp;ae=admin_picture_thumb_advanced_doc_extensions_end'), //cpg1.4
-  array('روش تغيير اندازه فايل','thumb_method',2, 'f=index.htm&amp;as=admin_picture_thumb_advanced_resize_method&amp;ae=admin_picture_thumb_advanced_resize_method_end'), //cpg1.4
-  array('آدرس نرم افزار تغيير اندازه ImageMagick(اگر انتخاب شده)(مثال /usr/bin/X11/)', 'impath', 0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_im_path&amp;ae=admin_picture_thumb_advanced_im_path_end'), //cpg1.4
-  //array('Allowed image types (only valid for ImageMagick)', 'allowed_img_types',0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_allowed_imagetypes&amp;ae=admin_picture_thumb_advanced_allowed_imagetypes_end'), //cpg1.4
-  array('دستورات خط فرمان براي ImageMagick', 'im_options', 0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_im_commandline&amp;ae=admin_picture_thumb_advanced_im_commandline_end'), //cpg1.4
-  array('خواندن اطلاعات EXIF فايل هايِ JPEG', 'read_exif_data', 13, 'f=index.htm&amp;as=admin_picture_thumb_advanced_exif&amp;ae=admin_picture_thumb_advanced_exif_end'), //cpg1.4
-  array('خواندن IPTC فايل هاي JPEG', 'read_iptc_data', 1, 'f=index.htm&amp;as=admin_picture_thumb_advanced_iptc&amp;ae=admin_picture_thumb_advanced_iptc_end'), //cpg1.4
-  array('زيرشاخه براي آلبوم ها <a href="#notice1" class="clickable_option">*</a>', 'fullpath', 0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_albums_dir&amp;ae=admin_picture_thumb_advanced_albums_dir_end'), //cpg1.4
-  array('زيرشاخه براي فايل كاربران <a href="#notice1" class="clickable_option">*</a>', 'userpics', 0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_userpics_dir&amp;ae=admin_picture_thumb_advanced_userpics_dir_end'), //cpg1.4
-  array('پيشوند تصاوير متوسط <a href="#notice1" class="clickable_option">*</a>', 'normal_pfx', 0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_intermediate_prefix&amp;ae=admin_picture_thumb_advanced_intermediate_prefix_end'), //cpg1.4
-  array('پيشوند ريزعكسها <a href="#notice1" class="clickable_option">*</a>', 'thumb_pfx', 0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_thumbs_prefix&amp;ae=admin_picture_thumb_advanced_thumbs_prefix_end'), //cpg1.4
-  array('حالت پيش فرض زيرشاخه ها', 'default_dir_mode', 0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_chmod_folder&amp;ae=admin_picture_thumb_advanced_chmod_folder_end'), //cpg1.4
-  array('حالت پيش فرض فايلها', 'default_file_mode', 0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_chmod_files&amp;ae=admin_picture_thumb_advanced_chmod_files_end'), //cpg1.4
-
-  'تنظيمات كاربران',
-  array('امكان ثبت نام كاربران جديد', 'allow_user_registration', 1, 'f=index.htm&amp;as=admin_allow_registration&amp;ae=admin_allow_registration_end'), //cpg1.4
-  array('امكان دسترسي كاربران وارد نشده به سيستم', 'allow_unlogged_access', 1, 'f=index.htm&amp;as=admin_allow_unlogged_access&amp;ae=admin_allow_unlogged_access_end'), //cpg1.4
-  array('ايجاد كاربر جديد منوط به كنترل از طريق ارسال نامه الكترونيك و دريافت جواب (eMail verification)', 'reg_requires_valid_email', 1, 'f=index.htm&amp;as=admin_registration_verify&amp;ae=admin_registration_verify_end'), //cpg1.4
-  array('اطلاع به مديريت در مورد ايجاد كاربر جديد از طريق نامه الكترونيك', 'reg_notify_admin_email', 1, 'f=index.htm&amp;as=admin_registration_notify&amp;ae=admin_registration_notify_end'), //cpg1.4
-  array('تائيديه مديريت براي ثبت نام نهايي', 'admin_activation', 1, 'f=index.htm&amp;as=admin_activation&amp;ae=admin_activation_end'),  //cpg1.4
-  array('امكان استفاده دو كاربر از يك آدرس پست الكترونيك', 'allow_duplicate_emails_addr', 1, 'f=index.htm&amp;as=admin_allow_duplicate_emails_addr&amp;ae=admin_allow_duplicate_emails_addr_end'), //cpg1.4
-  array('اطلاع به مديريت در مورد فايلهاي ارسال شده و منتظر براي تائيد', 'upl_notify_admin_email', 1, 'f=index.htm&amp;as=admin_approval_notify&amp;ae=admin_approval_notify_end'), //cpg1.4
-  array('امكان ديدن ليست كاربران براي كاربران وارد شده به سيستم', 'allow_memberlist', 1, 'f=index.htm&amp;as=admin_user_memberlist&amp;ae=admin_user_memberlist_end'), //cpg1.4
-  array('امكان تغيير آدرس پست الكترونيك به كاربران در بخش مشخصات شخصي', 'allow_email_change', 1, 'f=index.htm&amp;as=admin_user_allow_email_change&amp;ae=admin_user_allow_email_change_end'), //cpg1.4
-  array('امكان دادن كنترل به كاربران در مورد تصویرهاي شخصي خودشان در گالريهاي عمومي', 'users_can_edit_pics', 1, 'f=index.htm&amp;as=admin_user_editpics_public_start&amp;ae=admin_user_editpics_public_end'), //cpg1.4
-  array('تعداد دفعات دادن رمز عبور اشتباه تا بسته شدن موقت اكانت (براي جلوگيري از حملات Brute Force)', 'login_threshold', 0, 'f=index.htm&amp;as=admin_user_login_start&amp;ae=admin_user_login_end'), //cpg1.4
-  array('مدت زمان بسته شدن موقت اكانت بعد از دادن رمز عبور اشتباه', 'login_expiry', 0, 'f=index.htm&amp;as=admin_user_login_start&amp;ae=admin_user_login_end'), //cpg1.4
-  array('ارسال گزارش به مديريت', 'report_post', 1, 'f=index.htm&amp;as=admin_user_enable_report&amp;ae=admin_user_enable_report_end'),  //cpg1.4
-
-// custom profile fields,  //cpg1.4
-  'اطلاعات اضافي براي مشخصات كاربران (در صورت عدم استفاده خالي بگذاريد)
-  از اطلاعات شخصي 6 براي اطلاعات طولاني مثل بيوگرافي استفاده كنيد', //cpg1.4
-  array('نوع اطلاعات شخصي 1', 'user_profile1_name', 0, 'f=index.htm&amp;as=admin_custom&amp;ae=admin_custom_end'), //cpg1.4
-  array('نوع اطلاعات شخصي 2', 'user_profile2_name', 0), //cpg1.4
-  array('نوع اطلاعات شخصي 3', 'user_profile3_name', 0), //cpg1.4
-  array('نوع اطلاعات شخصي 4', 'user_profile4_name', 0), //cpg1.4
-  array('نوع اطلاعات شخصي 5', 'user_profile5_name', 0), //cpg1.4
-  array('نوع اطلاعات شخصي 6', 'user_profile6_name', 0), //cpg1.4
-
-  'فيلدهاي اضافي براي مشخصات فايلها (در صورت عدم استفاده خالي بگذاريد)',
-  array('نام فيلد اول', 'user_field1_name', 0, 'f=index.htm&amp;as=admin_custom_image&amp;ae=admin_custom_image_end'), //cpg1.4
-  array('نام فيلد دوم', 'user_field2_name', 0),
-  array('نام فيلد سوم', 'user_field3_name', 0),
-  array('نام فيلد چهارم', 'user_field4_name', 0),
-
-  'تنظيمات كوكي',
-  array('نام كوكي', 'cookie_name', 0, 'f=index.htm&amp;as=admin_cookie_name&amp;ae=admin_cookie_name_end'), //cpg1.4
-  array('آدرس كوكي', 'cookie_path', 0, 'f=index.htm&amp;as=admin_cookie_path&amp;ae=admin_cookie_path_end'), //cpg1.4
-
-  'تنظيمات سرور پست الكترونيك  (معمولا هيچ تغييري داده نمي شود ، اگر مطمئن نيستيد تغييري ندهيد)', //cpg1.4
-  array('سرور SMTP (اگر خالي بگذاريد از Sendmail استفاده خواهد شد)', 'smtp_host', 0, 'f=index.htm&amp;as=admin_email&amp;ae=admin_email_end'), //cpg1.4
-  array('نام كاربري SMTP (اين نام نام مديريتي شما نيست!)', 'smtp_username', 0), //cpg1.4
-  array('رمز عبور SMTP', 'smtp_password', 0), //cpg1.4
-
-  'گزارشات و وضعيت سايت', //cpg1.4
-  array('گزارش گيري <a href="#notice3" class="clickable_option">***</a>', 'log_mode', 11, 'f=index.htm&amp;as=admin_logging_log_mode&amp;ae=admin_logging_log_mode_end'), //cpg1.4
-  array('گزارش كارتها', 'log_ecards', 1, 'f=index.htm&amp;as=admin_general_log_ecards&amp;ae=admin_general_log_ecards_end'), //cpg1.4
-  array('نگهداري وضعيت راي گيري ها','vote_details',1, 'f=index.htm&amp;as=admin_logging_votedetails&amp;ae=admin_logging_votedetails_end'), //cpg1.4
-  array('نگهداري وضعيت هيت (Hit)هاي سايت','hit_details',1, 'f=index.htm&amp;as=admin_logging_hitdetails&amp;ae=admin_logging_hitdetails_end'), //cpg1.4
-
-  'تنظيمات نگهداري و برنامه نويسي', //cpg1.4
-  array('فعال سازي حالت ديباگ', 'debug_mode', 9, 'f=index.htm&amp;as=debug_mode&amp;ae=debug_mode_end'), //cpg1.4
-  array('نمايش نكته ها در حالت ديباگ', 'debug_notice', 1, 'f=index.htm&amp;as=admin_misc_debug_notices&amp;ae=admin_misc_debug_notices_end'), //cpg1.4
-  array('گالري خارج از سرويس', 'offline', 1, 'f=index.htm&amp;as=admin_general_offline&amp;ae=admin_general_offline_end'), //cpg1.4
-);
-
-
-// ------------------------------------------------------------------------- //
-// File db_ecard.php //cpg1.3.0
-// ------------------------------------------------------------------------- //
-
-if (defined('DB_ECARD_PHP')) $lang_db_ecard_php = array(
-  'title' => 'ارسال كارت پستال الكترونيك', //cpg1.3.0
-  'ecard_sender' => 'ارسال كننده', //cpg1.3.0
-  'ecard_recipient' => 'دريافت كننده', //cpg1.3.0
-  'ecard_date' => 'تاريخ', //cpg1.3.0
-  'ecard_display' => 'نمايش كارت', //cpg1.3.0
-  'ecard_name' => 'نام', //cpg1.3.0
-  'ecard_email' => 'آدرس پست الكترونيك', //cpg1.3.0
-  'ecard_ip' => 'IP #', //cpg1.3.0
-  'ecard_ascending' => 'صعودي', //cpg1.3.0
-  'ecard_descending' => 'نزولي', //cpg1.3.0
-  'ecard_sorted' => 'ثبت شده', //cpg1.3.0
-  'ecard_by_date' => 'در تاريخ', //cpg1.3.0
-  'ecard_by_sender_name' => ' نام ارسال كننده ', //cpg1.3.0
-  'ecard_by_sender_email' => ' آدرس پست الكترونيك ارسال كننده', //cpg1.3.0
-  'ecard_by_sender_ip' => 'IP address ارسال كننده', //cpg1.3.0
-  'ecard_by_recipient_name' => 'نام دريافت كننده', //cpg1.3.0
-  'ecard_by_recipient_email' => 'آدرس پست الكترونيك دريافت كننده', //cpg1.3.0
-  'ecard_number' => 'نمايش آمار ثبتِ %s تا %s از %s', //cpg1.3.0
-  'ecard_goto_page' => 'برو به صفحه', //cpg1.3.0
-  'ecard_records_per_page' => 'تعداد آماد در هر صفحه', //cpg1.3.0
-  'check_all' => 'انتخاب همه', //cpg1.3.0
-  'uncheck_all' => 'عدم انتخاب همه', //cpg1.3.0
-  'ecards_delete_selected' => 'حذف كارت انتخاب شده', //cpg1.3.0
-  'ecards_delete_confirm' => 'مطمئنيد كه مي خواهيد كارت مورد نظر را حذف كنيد؟! چك باكس را علامت بزنيد !!', //cpg1.3.0
-  'ecards_delete_sure' => 'مطمئن هستم!', //cpg1.3.0
-);
-
-
-// ------------------------------------------------------------------------- //
-// File db_input.php
-// ------------------------------------------------------------------------- //
-
-if (defined('DB_INPUT_PHP')) $lang_db_input_php = array(
-        'empty_name_or_com' => 'لطفا نام و نظر خود را قيد بفرمائيد',
-        'com_added' => 'نظر شما ارسال شد',
-        'alb_need_title' => 'لطفا براي آلبوم عنوان ذكر كنيد !',
-        'no_udp_needed' => 'به روز رساني احتياج نيست.',
-        'alb_updated' => 'آلبوم به روز رساني شده است',
-        'unknown_album' => 'آلبوم انتخاب شده موجود نيست يا شما اجازه ارسال فايل به اين آلبوم را نداريد',
-        'no_pic_uploaded' => 'فايلي ارسال نشد!<br /><br />اگر فايلي را براي ارسال انتخاب كرده بوديد ،چك كنيد كه آيا سرور اجازه ارسال فايل را ميدهد يا خير...',
-        'err_mkdir' => 'عدم امكان ايجاد دايركتوري %s !',
-        'dest_dir_ro' => 'ودايركتوري مقصد %s براي نوشتن توسط برنامه غير قابل دسترسي است !',
-        'err_move' => 'امكان فرستادن %s به %s نيست!',
-        'err_fsize_too_large' => 'اندازه فايل ارسالي شما از حد مجاز بيشتر است (حداكثر اندازه مجاز %s x %s است) !',
-        'err_imgsize_too_large' => 'حجم فايل ارسالي شما از حد مجاز بيشتر است (حداكثر حجم مجاز %s KB است) !',
-        'err_invalid_img' => 'فايل ارسالي شما يك فايل تصويري نيست !',
-        'allowed_img_types' => 'شما فقط مي توانيد تصاوير با فرمت %s ارسال نمائيد.',
-        'err_insert_pic' => 'فايل \'%s\' نمي تواند در آلبوم قرار بگيرد ',
-        'upload_success' => 'فايل شما با موفقيت ارسال شد<br /><br />بعد از اجازه مديريت فايل شما قابل بازديد مي گردد.',
-        'notify_admin_email_subject' => '%s - نتيجه ارسال', //cpg1.3.0
-        'notify_admin_email_body' => 'تصويري توسط %s ارسال شده كه به اجازه شما براي بازديد نياز دارد. %s ببينيد', //cpg1.3.0
-        'info' => 'اطلاعات',
-        'com_added' => 'نظر اضافه شد',
-        'alb_updated' => 'آلبوم به روز رساني شد',
-        'err_comment_empty' => 'متن نظر شما خالي است !',
-        'err_invalid_fext' => 'پسوندهاي قابل قبول براي فايلهاي ارسالي : <br /><br />%s.',
-        'no_flood' => 'متاسفانه شما  آخرين نفري هستيد كه در حال حاضر نظر داده است<br /><br />ميتوانيد نظر خود را ويرايش كنيد',
-        'redirect_msg' => 'شما در حال تغيير مسير هستيد.<br /><br /><br />اگر مسير به طور اتوماتيك تغيير نكرد بر روي  \'ادامه\' كليك كنيد',
-        'upl_success' => 'فايل شما با موفقيت اضافه شد.',
-  'email_comment_subject' => 'Comment posted on Coppermine Photo Gallery', //cpg1.3.0
-  'email_comment_body' => 'Someone has posted a comment on your gallery. See it at', //cpg1.3.0
-  'album_not_selected' => 'آلبوم انتخاب نشده', //cpg1.4
-  'com_author_error' => 'اين نام قبلا ثبت شده اگر رمز عبور داريد آنرا وارد نمائيد در غير اين صورت نام ديگري وارد نمائيد', //cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File delete.php
-// ------------------------------------------------------------------------- //
-
-if (defined('DELETE_PHP')) $lang_delete_php = array(
-  'caption' => 'عنوان',
-  'fs_pic' => 'بزرگترين اندازه تصوير',
-  'del_success' => 'با موفقيت حذف شد',
-  'ns_pic' => 'انداره طبيعي تصوير',
-  'err_del' => 'امكان حدف نيست',
-  'thumb_pic' => 'ريزعكس (Thumbnail)',
-  'comment' => 'نظر',
-  'im_in_alb' => 'تصوير در آلبوم',
-  'alb_del_success' => 'آلبوم \'%s\' با موفقيت حذف شد',
-  'alb_mgr' => 'مديريت آلبوم',
-  'err_invalid_data' => 'اطلاعات اشتباه از \'%s\' دريافت شد',
-  'create_alb' => 'آلبوم \'%s\' با موفقيت ايجاد شد',
-  'update_alb' => 'به روز رساني آلبوم \'%s\' با عنوان \'%s\' و ايندكس \'%s\'',
-  'del_pic' => 'حدف فايل',
-  'del_alb' => 'حدف آلبوم',
-  'del_user' => 'حدف كاربر',
-  'err_unknown_user' => 'كاربر انتخاب شده موجود نيست !',
-  'err_empty_groups' => 'جدول گروه وجود ندارد يا خالي است!', //cpg1.4
-  'comment_deleted' => 'نظر با موفقيت حدف شد',
-  'npic' => 'تصوير', //cpg1.4
-  'pic_mgr' => 'مديريت تصوير', //cpg1.4
-  'update_pic' => 'به روزرساني تصویر \'%s\' با نام فايل \'%s\' و با ايندكس \'%s\'', //cpg1.4
-  'username' => 'نام كاربري', //cpg1.4
-  'anonymized_comments' => '%s نظر ناشناخته', //cpg1.4
-  'anonymized_uploads' => '%s ارسال عمومي ناشناخته', //cpg1.4
-  'deleted_comments' => '%s نظر حذف شد', //cpg1.4
-  'deleted_uploads' => '%s ارسال عمومي حذف شد', //cpg1.4
-  'user_deleted' => 'كاربر %s حذف شد', //cpg1.4
-  'activate_user' => 'كاربر فعال', //cpg1.4
-  'user_already_active' => 'اكانت  فعال شده است', //cpg1.4
-  'activated' => 'فعال شده', //cpg1.4
-  'deactivate_user' => 'غير فعال كردن كاربر', //cpg1.4
-  'user_already_inactive' => 'اكانت غير فعال شد', //cpg1.4
-  'deactivated' => 'غير فعال شده', //cpg1.4
-  'reset_password' => 'دوباره سازي رمز عبور(ها)', //cpg1.4
-  'password_reset' => 'رمز عبور دوباره سازي شد به %s', //cpg1.4
-  'change_group' => 'تعيير گروه اوليه', //cpg1.4
-  'change_group_to_group' => 'تغيير گروه از %s به %s انجام شد.', //cpg1.4
-  'add_group' => 'افزودن گروه ثانويه', //cpg1.4
-  'add_group_to_group' => 'كاربر %s به گروه %s افزوده شد.اين كاربر هم اكنون عضو %s  به عنوان گروه اوليه و %s به عنوان گروه ثانويه است.', //cpg1.4
-  'status' => 'وضعيت', //cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File displayecard.php
-// ------------------------------------------------------------------------- //
-
-if (defined('DISPLAYECARD_PHP')) {
-
-$lang_displayecard_php = array(
-  'invalid_data' => 'اطلاعات كارت توسط نرم افزار پست الكترونيك شما از بين رفته است،آزمايش لينك تمام شد', //cpg1.4
-);
-}
-
-// ------------------------------------------------------------------------- //
-// File displayimage.php
-// ------------------------------------------------------------------------- //
-
-if (defined('DISPLAYIMAGE_PHP')){
-
-$lang_display_image_php = array(
-  'confirm_del' => 'مطمئنيد كه مي خواهيد اين فايل را حدف كنيد؟ \\nنظرات مربوط به اين فايل نيز حدف خواهند شد', //js-alert //cpg1.3.0
-  'del_pic' => 'حذف اين فايل', //cpg1.3.0
-  'size' => '%s در %s پيكسل',
-  'views' => '%s دفعه',
-  'slideshow' => 'نمايش پيوسته ( Slideshow )',
-  'stop_slideshow' => 'توقف نمايش پيوسته',
-  'view_fs' => 'براي نمايش بزرگترين اندازه كليك كنيد',
-  'edit_pic' => 'ويرايش اطلاعات فايل', //cpg1.4
-  'edit_pic' => 'ويرايش توضيحات', //cpg1.3.0
-  'crop_pic' => 'برش و چرخاندن', //cpg1.3.0
-);
-
-$lang_picinfo = array(
-  'title' =>'مشخصات فايل',
-  'Filename' => 'نام فايل',
-  'Album name' => 'نام آلبوم',
-  'Rating' => 'رتبه (%s راي)',
-  'Keywords' => 'كلمات كليدي',
-  'File Size' => 'حجم فايل',
-  'Date Added' => 'تاريخ ارسال', //cpg1.4
-  'Dimensions' => 'ابعاد فايل ',
-  'Displayed' => 'دفعات مشاهده',
-  'URL' => 'URL', //cpg1.4
-  'Make' => 'Make', //cpg1.4
-  'Model' => 'Model', //cpg1.4
-  'DateTime' => 'Date Time', //cpg1.4
-  'ISOSpeedRatings'=>'ISO', //cpg1.4
-  'MaxApertureValue' => 'Max Aperture', //cpg1.4
-  'FocalLength' => 'Focal length', //cpg1.4
-  'Comment' => 'نظر',
-  'addFav'=>'افزودن به مورد علاقه ها',
-  'addFavPhrase'=>'مورد علاقه ها',
-  'remFav'=>'حذف از مورد علاقه ها',
-  'iptcTitle'=>'IPTC Title',
-  'iptcCopyright'=>'IPTC Copyright',
-  'iptcKeywords'=>'IPTC Keywords',
-  'iptcCategory'=>'IPTC Category',
-  'iptcSubCategories'=>'IPTC Sub Categories',
-  'ColorSpace' => 'Color Space', //cpg1.4
-  'ExposureProgram' => 'Exposure Program', //cpg1.4
-  'Flash' => 'Flash', //cpg1.4
-  'MeteringMode' => 'Metering Mode', //cpg1.4
-  'ExposureTime' => 'Exposure Time', //cpg1.4
-  'ExposureBiasValue' => 'Exposure Bias', //cpg1.4
-  'ImageDescription' => ' Image Description', //cpg1.4
-  'Orientation' => 'Orientation', //cpg1.4
-  'xResolution' => 'X Resolution', //cpg1.4
-  'yResolution' => 'Y Resolution', //cpg1.4
-  'ResolutionUnit' => 'Resolution Unit', //cpg1.4
-  'Software' => 'Software', //cpg1.4
-  'YCbCrPositioning' => 'YCbCrPositioning', //cpg1.4
-  'ExifOffset' => 'Exif Offset', //cpg1.4
-  'IFD1Offset' => 'IFD1 Offset', //cpg1.4
-  'FNumber' => 'FNumber', //cpg1.4
-  'ExifVersion' => 'Exif Version', //cpg1.4
-  'DateTimeOriginal' => 'DateTime Original', //cpg1.4
-  'DateTimedigitized' => 'DateTime digitized', //cpg1.4
-  'ComponentsConfiguration' => 'Components Configuration', //cpg1.4
-  'CompressedBitsPerPixel' => 'Compressed Bits Per Pixel', //cpg1.4
-  'LightSource' => 'Light Source', //cpg1.4
-  'ISOSetting' => 'ISO Setting', //cpg1.4
-  'ColorMode' => 'Color Mode', //cpg1.4
-  'Quality' => 'Quality', //cpg1.4
-  'ImageSharpening' => 'Image Sharpening', //cpg1.4
-  'FocusMode' => 'Focus Mode', //cpg1.4
-  'FlashSetting' => 'Flash Setting', //cpg1.4
-  'ISOSelection' => 'ISO Selection', //cpg1.4
-  'ImageAdjustment' => 'Image Adjustment', //cpg1.4
-  'Adapter' => 'Adapter', //cpg1.4
-  'ManualFocusDistance' => 'Manual Focus Distance', //cpg1.4
-  'DigitalZoom' => 'Digital Zoom', //cpg1.4
-  'AFFocusPosition' => 'AF Focus Position', //cpg1.4
-  'Saturation' => 'Saturation', //cpg1.4
-  'NoiseReduction' => 'Noise Reduction', //cpg1.4
-  'FlashPixVersion' => 'Flash Pix Version', //cpg1.4
-  'ExifImageWidth' => 'Exif Image Width', //cpg1.4
-  'ExifImageHeight' => 'Exif Image Height', //cpg1.4
-  'ExifInteroperabilityOffset' => 'Exif Interoperability Offset', //cpg1.4
-  'FileSource' => 'File Source', //cpg1.4
-  'SceneType' => 'Scene Type', //cpg1.4
-  'CustomerRender' => 'Customer Render', //cpg1.4
-  'ExposureMode' => 'Exposure Mode', //cpg1.4
-  'WhiteBalance' => 'White Balance', //cpg1.4
-  'DigitalZoomRatio' => 'Digital Zoom Ratio', //cpg1.4
-  'SceneCaptureMode' => 'Scene Capture Mode', //cpg1.4
-  'GainControl' => 'Gain Control', //cpg1.4
-  'Contrast' => 'Contrast', //cpg1.4
-  'Sharpness' => 'Sharpness', //cpg1.4
-  'ManageExifDisplay' => 'Manage Exif Display', //cpg1.4
-  'submit' => 'ارسال', //cpg1.4
-  'success' => 'اطلاعات با موفقيت به روز رساني شد.', //cpg1.4
-  'details' => 'جزئيات', //cpg1.4
-);
-
-$lang_display_comments = array(
-  'OK' => 'تائيد',
-  'edit_title' => 'ويرايش اين نظر',
-  'confirm_delete' => 'مطمئنيد كه مي خواهيد اين نظر را حدف كنيد؟',
-  'add_your_comment' => 'نظر بدهيد',
-  'name'=>'نام',
-  'comment'=>'نظر',
-  'your_name' => 'نامعلوم',
-  'report_comment_title' => 'گزارش اين نظر به مديريت', //cpg1.4
-);
-
-$lang_fullsize_popup = array(
-        'click_to_close' => 'بر روي تصوير كليك كنيد تا اين پنجره بسته شود',
-);
-
-}
-
-// ------------------------------------------------------------------------- //
-// File ecard.php
-// ------------------------------------------------------------------------- //
-
-if (defined('ECARDS_PHP') || defined('DISPLAYECARD_PHP')) $lang_ecard_php =array(
-  'title' => 'ارسال كارت پستال',
-  'invalid_email' => '<font color="red"><b>Warning</b></font> : آدرس پست الكترونيك اشتباه است :', //cpg1.4
-  'ecard_title' => 'كارت پستالي از  %s براي شما',
-  'error_not_image' => 'فقظ تصاوير را مي توان به صورت كارت پستال ارسال كرد.', //cpg1.3.0
-  'view_ecard' => 'اگر كارت پستال صحيح نمايش داده نشد اينجا كليك كنيد',
-  'view_ecard_plaintext' => 'براي مشاهده كارت لطفا اين آدرس را در قسمت آدرس بروزر خود وارد نمائيد :', //cpg1.4
-  'view_more_pics' => 'براي ديدن تصویرهاي بيشتر اينجا كليك كنيد', //cpg1.4
-  'send_success' => 'كارت شما با موفقيت ارسال شد',
-  'send_failed' => 'متاسفانه سرور نمي تواند كارت شما را ارسال نمايد...',
-  'from' => 'از',
-  'your_name' => 'نام فرستنده',
-  'your_email' => 'آدرس پست الكترونيك فرسنتده',
-  'to' => 'به',
-  'rcpt_name' => 'نام گيرنده',
-  'rcpt_email' => 'آدرس پست الكترونيك گيرنده',
-  'greetings' => 'عنوان پيام',
-  'message' => 'پيام',
-  'ecards_footer' => 'ارسال شده توسط %s از آي پي آدرس %s در %s (زمان گالري)', //cpg1.4
-  'preview' => 'پيش نمايش كارت', //cpg1.4
-  'preview_button' => 'پيش نمايش', //cpg1.4
-  'submit_button' => 'ارسال كارت', //cpg1.4
-  'preview_view_ecard' => 'اين لينك كمكي در زمان ساخت كارت توليد مي شود و براي پيش نمايش نيست', //cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File report_file.php //cpg1.4
-// ------------------------------------------------------------------------- //
-
-if (defined('REPORT_FILE_PHP') || defined('DISPLAYREPORT_PHP')) $lang_report_php =array(
-  'title' => 'گزارش به مديريت', //cpg1.4
-  'invalid_email' => '<b>اخطار</b> : آدرس پست الكترونيك اشتباه است!', //cpg1.4
-  'report_subject' => ' گزارشي از %s از گالري %s', //cpg1.4
-  'view_report' => 'لينك كمكي اگر گزارش درست نمايش داده نشد', //cpg1.4
-  'view_report_plaintext' => 'براي مشاهده گزارش اين آدرس را در قسمت آدرس بروزر خود وارد نمائيد :', //cpg1.4
-  'view_more_pics' => 'گالري', //cpg1.4
-  'send_success' => 'گزارش شما ارسال شد', //cpg1.4
-  'send_failed' => 'متاسفانه سرور نمي تواند گزارش شما را ارسال كند...', //cpg1.4
-  'from' => 'از', //cpg1.4
-  'your_name' => 'نام شما', //cpg1.4
-  'your_email' => 'آدرس پست الكترونيك شما', //cpg1.4
-  'to' => 'To', //cpg1.4
-  'administrator' => 'مديريت', //cpg1.4
-  'subject' => 'موضوع', //cpg1.4
-  'comment_field_name' => 'گزارش نظر توسط "%s"', //cpg1.4
-  'reason' => 'دليل', //cpg1.4
-  'message' => 'پيغام', //cpg1.4
-  'report_footer' => 'ارسال شده توسط %s از آي پي %s در %s (زمان گالري)', //cpg1.4
-  'obscene' => 'زشت/وقيح', //cpg1.4
-  'offensive' => 'حمله /تجاوز', //cpg1.4
-  'misplaced' => 'بي مورد/بي محل', //cpg1.4
-  'missing' => 'گم شده', //cpg1.4
-  'issue' => 'خطا/غير قابل مشاهده', //cpg1.4
-  'other' => 'ديگر', //cpg1.4
-  'refers_to' => 'گزارش بر ميگردد به', //cpg1.4
-  'reasons_list_heading' => 'دليل (هاي) گزارش :', //cpg1.4
-  'no_reason_given' => 'دليل ارائه نشد', //cpg1.4
-  'go_comment' => 'برو به نظر', //cpg1.4
-  'view_comment' => 'نمايش كامل گزارش ونظر', //cpg1.4
-  'type_file' => 'فايل', //cpg1.4
-  'type_comment' => 'نظر', //cpg1.4
-  'invalid_data' => 'اطلاعات گزارش توسط نرم افزار پست الكترونیك خراب شده است .برای دسترسی به اطلاعات از لینك استفاده كنید.', //cpg1.4
-
-);
-
-// ------------------------------------------------------------------------- //
-// File editpics.php
-// ------------------------------------------------------------------------- //
-
-if (defined('EDITPICS_PHP')) $lang_editpics_php = array(
-  'pic_info' => 'مشخصات فايل', //cpg1.3.0
-  'album' => 'آلبوم',
-  'title' => 'عنوان تصویر',
-  'filename' => 'نام فايل', //cpg1.4
-  'desc' => 'توضيحات',
-  'keywords' => 'كليد واژه ها',
-  'new_keyword' => 'كليد واژه جديد', //cpg1.4
-  'new_keywords' => 'كليد واژه هلي جديد پيدا شدند', //cpg1.4
-  'existing_keyword' => 'كليد واژه موجود', //cpg1.4
-  'pic_info_str' => '%s &times; %s - %sكيلوبايت - %s مشاهده - %s راي',
-  'approve' => 'فايل مجوز', //cpg1.3.0
-  'postpone_app' => 'منتظر مجوز',
-  'del_pic' => 'حدف فايل', //cpg1.3.0
-  'del_all' => 'حذف تمام فايلها', //cpg1.4
-  'read_exif' => 'خواندن مجدد اطلاعات EXIF ً', //cpg1.3.0
-  'reset_view_count' => 'صفر كردن شمارنده مشاهده',
-  'reset_all_view_count' => 'صفز كزدن تمام شمارنده هاي مشاهده', //cpg1.4
-  'reset_votes' => 'صفر كردن شمارنده راي',
-  'reset_all_votes' => 'صفر كردن تمام شمارنده هاي راي', //cpg1.4
-  'del_comm' => 'حدف نظرات',
-  'upl_approval' => 'مجوز ارسال',
-  'del_all_comm' => 'حذف تمامي نظرات', //cpg1.4
-  'edit_pics' => 'ويرايش فايلها', //cpg1.3.0
-  'see_next' => 'فايل بعدي', //cpg1.3.0
-  'see_prev' => 'فايل قبلي', //cpg1.3.0
-  'n_pic' => '%s فايل', //cpg1.3.0
-  'n_of_pic_to_disp' => 'تعداد نمايش تصوير', //cpg1.3.0
-  'apply' => 'اعمال تغييرات', //cpg1.3.0
-  'crop_title' => 'Main Image Editor', //cpg1.3.0
-  'preview' => 'پيش نمايش', //cpg1.3.0
-  'save' => 'ثبت تصوير', //cpg1.3.0
-  'save_thumb' =>'ثبت به صورت ريزعكس ( Thumbnail )', //cpg1.3.0
-  'gallery_icon' => 'اين را آيكون من كن', //cpg1.4
-  'sel_on_img' =>'منطقه انتخاب شده بايد كاملا داخل تصوير باشد!', //js-alert
-  'album_properties' =>'مشخصات آلبوم', //cpg1.4
-  'parent_category' =>'موضوع مادر', //cpg1.4
-  'thumbnail_view' =>'نمايش بصورت ريز عكس', //cpg1.4
-  'select_unselect' =>'انتخاب/عدم انتخاب همه', //cpg1.4
-  'file_exists' => " فايل مقصد '%s' وجود دارد!", //cpg1.4
-  'rename_failed' => "تغيير نام از %s به %s انجام نشد!", //cpg1.4
-  'src_file_missing' => "فايل مبدا '%s' پيدا نشد!", // cpg 1.4
-  'mime_conv' => "امكان تبديل فايل از '%s' به '%s' نيست!",//cpg1.4
-  'forb_ext' => 'اين پسوند فايل غير مجاز است.',//cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File faq.php //cpg1.3.0
-// ------------------------------------------------------------------------- //
-
-if (defined('FAQ_PHP')) $lang_faq_php = array(
-  'faq' => 'سئوال هاي متداول', //cpg1.3.0
-  'toc' => 'محتويات', //cpg1.3.0
-  'question' => 'سئوال: ', //cpg1.3.0
-  'answer' => 'جواب: ', //cpg1.3.0
-);
-
-if (defined('FAQ_PHP')) $lang_faq_data = array(
-  'سئوال هاي متداول اصلي', //cpg1.3.0
-  array('چرا بايد حتما ثبت نام (رجيستر) كنم؟', ' حتما لازم نيست نام نويسي كنيد اما اعضا اين گالري مي توانند از امكاناتي نظير  ارسال تصوير و داشتن ليستي از علاقمندي شخصي ، رتبه دهي به تصاوير و ارسال نظر و ...استفاده كنند.', 'allow_user_registration', '0'), //cpg1.3.0
-  array('چگونه ثبت نام كنم؟', 'بر روي لينك "كاربر جديد "، كليك كنيد و فرم مربوط را به طور كامل پر كنيد ، اگر مديريت سيستم فعال سازي با نامه الكترونيك را فعال كرده باشد ، پس از ارسال فرم نامه اي از طرف سيستم براي آدرس شما ارسال مي گردد كه در آن نحوه فعال سازي عضويت شما توضيح داده شده. عضويت شما از اولين ورود شما به سيستم شروع مي گردد.', 'allow_user_registration', '1'), //cpg1.3.0
-  array('چگونه وارد سيستم شوم؟', 'بر روي لينك "ورود"، كليك كنيد و نام كاربري و رمز ورودي كه در هنگام ثبت نام استفاده نموده ايد را وارد كنيد، اگر ميخواهيد سيستم در دفعات بعدي شما را بدون پرسيدن نام و رمز وارد كند بايد  " مرا فراموش نكن "، را تيك بزنيد <br /><b>مهم : شما بايد كوكي خود را فعال كنيد در غير اين صورت سيستم قادر به شناساي شما در دفعات بعدي نخواهد بود و همچنين نبايد كوكي سايت را از روي كامپيوتر خود حدف كنيد.</b>', 'offline', 0), //cpg1.3.0
-  array('چرا نمي توانم وارد شوم؟', 'آيا ثبت نام كرده ايد؟ شگر ثبت نام كرده ايد آيا بر روي لينكي كه توسط نامه براي شما فرستاده شده كليك كرده ايد؟ در ساير موارد با مديريت سايت ( bmossavari@gmail.com )تماس بگيريد.', 'offline', 0), //cpg1.3.0
-  array('رمز ورود را گم كرده ام چه كار كنم؟', 'اگر سايت به شما لينك "رمز فراموش شده"، را داده از آن استفاده كنيد در غير اينصورت با مديريت تماس بگيريد.', 'offline', 0), //cpg1.3.0
-  //array('What if I changed my email address?', 'Just simply login and change your email address through "Profile"', 'offline', 0), //cpg1.3.0
-  array('چگونه تصويري را در "علاقمندي هاي من"، ثبت كنم؟', 'بر روي تصوير كليك كنيد و سپس بر روي "مشخصات تصوير"(<img src="images/info.gif" width="16" height="16" border="0" alt="Picture information" />) كليك كنيد ; به پايين صفحه برويد و بر روي "به علاقمندي ها اضافه كن"، كليك كنيد<br /> مديريت بايد امكان مشخصات فايل را به صورت پيش فرض فعال كرده باشد.<br />مهم :كوكي بايد فعال باشد و حدف نشده باشد.', 'offline', 0), //cpg1.3.0
-  array('چگونه به یک فایل امتیاز بدهم؟', 'بر روی ریز عکس کلیک کنید و به انتهای صفحه بروید و امتیازبندی را انتخاب کنید.', 'offline', 0),
-  array('چگونه به یک عکس نظر بدهم؟', 'بر روی ریز عکس کلیک کنید به انتهای صفحه بروید و نظرتان را تایپ کنید.', 'offline', 0),
-  array('چگونه فایل ارسال کنم؟', 'بر روی "ارسال فایل" کلیک کنید آلبوم را انتخاب کنید. بر روی دکمه "مرور" کلیک کنید و فایل مورد نظرتان را انتخاب کنید ، بر روی "باز کردن" کلیک کنید ، تیتر و توضیح را اگر می خواهید اضافه کنید. بر روی "ارسال" کلیک کنید.<br /><br />روش دیگر ، برای کاربرانی که از ویندوز ایکس پی استفاده میکنند ، شما می توانید چند فایل هم زمان را با استفاده از XP Publishing Wizard مستقیما در زیرشاخه شخصی خودتان کپی کنید.<br />برای دریافت دستور العمل و دریافت فایل رجیستری مورد نیاز ، بر <a href="xp_publish.php">اینجا</a> کلیک کنید.', 'allow_private_albums', 1), //cpg1.4
-  array('کجا فایل را ارسال کنم؟', 'شما می توانید فایلها را به هر آلبومی در "گالری من" ارسال کنید. ممکن است مدیریت امکان ارسال فایل به آلبومهای دیگری در گالری اصلی را داده باشد.', 'allow_private_albums', 0),
-  array('چه نوع و اندازه از فایل می توانم ارسال کنم؟', 'اندزه و نوع (jpg, png, ...) فایل به مدیریت بستگی دارد.', 'offline', 0),
-  array('چگونه در "گالری من" آلبوم بسازم ، حذف کنم یا تغییر نام بدهم؟?', 'شما باید در "محیط مدیریت" باشید <br /> به قسمت " ساخت / مرتب کردن آلبومهای من" بروید و بر روی "جدید" کلیک کنید. "آلبوم جدید" را به نام دلخواه خود تغییر دهید.<br />همچنین می تونید نام آلبومهای موجود را تغییر دهید.<br />بر روی "تائید تغییرات" کلیک کنید.', 'allow_private_albums', 0),
-  array('چکونه میتوانم دسترسی کاربران را به آلبوم خودم محدود کنم؟', 'شما باید در "محیط مدیریت" باشید <br />به قسمت "تغییرات آلبوم" بروید. در بخش "به روز رسانی آلبوم" آلبومی را که می خواهید تغییر دهید انتخاب کنید.<br />در این قسمت شما می توانید نام ، توضیحات ، ریز عکس ، محدود کردن مشاهده و مجوز نظر دهی / امتیاز بندی را تعیین کنید و تغییر دهید.<br />بر روی "به روز رسانی آلبوم" کلیک کنید.', 'allow_private_albums', 1),
-  array('چگونه می توانم گالری کاربران دیگر را ببینم؟', 'به قسمت "لیست آلبوم ها" برویدو "گالری کاربران " را انتخاب کنبد.', 'allow_private_albums', 1),
-  array('کوکی چیست؟', 'کوکی اطلاعاتی متنی است که از طرف سایت بر روی رایانه شما ثبت می شود.<br />کوکی ها معمولا برای شناسایی کاربران در آینده و نگهداری اطلاعات ورود کاربر برای جلوگیری از درخواست مجدد رمز عبور  استفاده می شود.', 'offline', 0),
-  array('از کجا می توانم این برنامه را برای نصب بر روی سایت خودم تهیه کنم؟', 'این گالری به صورت کد باز تحت حمایت GNU GPL نوشته شده. این برنامه توانایی های زیادی دارد و بر روی پلتفورمهای زیادی نصب می شود. برای دریافت این برنامه از وب سایت اصلی اینجا <a href="http://coppermine-gallery.net/">Coppermine Home Page</a> کلیک کنید و برای دریافت این برنامه با توانایی های فارسی به سایت <a href="http://www.kishmate.com">KISH MATE</a> مراجعه کنید.', 'offline', 0),
-
-  'مرور در سایت',
-  array('لیست آلبوم چیست؟', 'این بخش تمام آلبومهایی را که در موضوع جاری هستند با لینک به هر آلبوم نمایش می دهد. اگر داخل یک موضوع نیستید ، این بخش تمام موضوعاتی را که در کل گالری وجود دارد را با لینک به هر موضوع نمایش می دهد. ریز عکسها به هر موضوع لینک هستند.', 'offline', 0),
-  array('گالری شما چیست؟', 'این قابلیت به کاربران امکان می دهد گالری شخصی خود را بسازند ، حذف کنند ، آلبوم ها را تغییر دهند و هم چنین فایل به آنها ارسال کنند.', 'allow_private_albums', 1), //cpg1.4
-  array('فرق "محیط مدیریت" با "محیط کاربری" چیست؟', 'در این محیط کاربر می تواند گالری خود و در صورت مجوز مدیریت گالری دیگران را تغییر دهد.', 'allow_private_albums', 0),
-  array('ارسال عکس چیست؟', 'این قابلیت به کاربر اجازه می دهد فایل به گالری ارسال کند (اندازه و نوع فایل توسط مدیریت تعیین می شود).', 'allow_private_albums', 0),
-  array('آخرین ارسال چیست؟', 'این قابلیت آخرین فایل ارسالها را به سایت نمایش می دهد.', 'offline', 0),
-  array('آخرین نظرها چیست؟', 'این قابلیت آخرین نظرهایی که به فایل ها توسط کاربران داده شده نمایش می دهد.', 'offline', 0),
-  array('بیشترین بازدید شده چیست؟', 'این قابلیت فایلهایی را که بیشترین بازدید را داشته اند نمایش می دهد (چه کاربر به سیستم وارد شده باشد یا نشده باشد).', 'offline', 0),
-  array('بالاترین امتیاز چیست؟', 'این قابلیت فایلهای با بالاترین امتیاز داده شده توسط کاربران را نمایش می دهد ، نمایش امتیاز متوسط (برای مثال : پنج کاربر هر کدام امتیاز <img src="images/rating3.gif" width="65" height="14" border="0" alt="" />:امتیاز متوسط فایل <img src="images/rating3.gif" width="65" height="14" border="0" alt="" /> خواهد بود اگر پنج کاربر به یک فایل به ترتیب امتیاز 1 تا 5 بدهند امتیاز متوسط فایل <img src="images/rating3.gif" width="65" height="14" border="0" alt="" /> خواهد بود. )<br /> امتیاز بندی بین <img src="images/rating5.gif" width="65" height="14" border="0" alt="best" /> (بهترین) تا <img src="images/rating0.gif" width="65" height="14" border="0" alt="worst" /> (بدترین) است.', 'offline', 0),
-  array('مورد علاقه های شما چیست؟', 'این قابلیت به کاربر اجازه می دهد تا فایلهای مورد علاقه خود را مشخص کند تا همیشه در دسترسش باشند ، این بخش از کوکی برای نگهداری اطلاعات استفاده می کند.', 'offline', 0),
-);
-
-
-// ------------------------------------------------------------------------- //
-// File forgot_passwd.php //cpg1.3.0
-// ------------------------------------------------------------------------- //
-
-if (defined('FORGOT_PASSWD_PHP')) $lang_forgot_passwd_php = array(
-  'forgot_passwd' => 'يادآوري رمز ورود', //cpg1.3.0
-  'err_already_logged_in' => 'شما هم اكنون وارد شده ايد !', //cpg1.3.0
-  'enter_email' => 'آدرس پست الكترونيك خود را وارد نمائيد', //cpg1.4
-  'submit' => 'ارسال', //cpg1.3.0
-  'illegal_session' => 'مدت زمان مجاز اجراي اين صفحه به پايان رسيده و يا مجوز اجرا اشتباه است', //cpg1.4
-  'failed_sending_email' => 'امكان ارسال نامه يادآوري رمز عبور نيست!', //cpg1.3.0
-  'email_sent' => 'نامه اي به همراه نام كاربري و رمز ورود شما به آدرس %s ارسال شد', //cpg1.3.0
-  'verify_email_sent' => 'نامه اي به %s ارسال شد.براي اتمام عمليات لطفا صندوق پست الكترونيك خود را مشاهده فرمائيد.', //cpg1.4
-  'err_unk_user' => 'اخطار: كاربري با اين نام موجود نيست', //cpg1.3.0
-  'account_verify_subject' => '%s - (درخواست رمز عبور جديد)New password request', //cpg1.4
-  'account_verify_body' => 'درخواست شما براي رمز عبور جديد دريافت شد.اگر ميخواهيد عمليات به اتمام برسد و رمز عبور جديد براي شما فرستاده شود بر روي لينك زير كليك كنيد:
-
-%s', //cpg1.4
-  'passwd_reset_subject' => '%s - (رمز عبور جديد شما)Your New Password', //cpg1.4
-  'passwd_reset_body' => 'رمز عبور جديدي كه درحواست كرده بوديد:
-Username: %s
-Password: %s
-براي ورود اينجا كليك كنيد %s.', //cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File groupmgr.php
-// ------------------------------------------------------------------------- //
-
-if (defined('GROUPMGR_PHP')) $lang_groupmgr_php = array(
-  'group_name' => 'گروه',
-  'permissions' => 'مجوزها', //cpg1.4
-  'public_albums' => 'ارسال به آلبوم هاي عمومي', //cpg1.4
-  'personal_gallery' => 'گالري شخصي', //cpg1.4
-  'upload_method' => 'روش ارسال', //cpg1.4
-  'disk_quota' => 'سهم فضا',
-  'rating' => 'شركت در رتبه بندي', //cpg1.4
-  'ecards' => 'ارسال كارت', //cpg1.4
-  'comments' => 'ارائه نظر', //cpg1.4
-  'allowed' => 'اجازه دارد', //cpg1.4
-  'approval' => 'تائيديه', //cpg1.4
-  'boxes_number' => 'تعداد فيلدها', //cpg1.4
-  'variable' => 'متغيير', //cpg1.4
-  'fixed' => 'ثابت', //cpg1.4
-  'apply' => 'تائيد تغييرات',
-  'create_new_group' => 'ساخت گروه جديد',
-  'del_groups' => 'حذف گروه (هاي) انتخاب شده',
-  'confirm_del' => 'اخطار : وقتي گروهي را حذف مي كنيد كاربران آن گروه به گروه \'Registered\' منتقل مي گردند!\n\n ميخواهيد ادامه دهيد؟', //js-alert
-  'title' => 'مديريت گروه كاربران',
-  'num_file_upload' => 'تعداد حداكثر/دقيق فيلدهاي ارسال فايل', //cpg1.4
-  'num_URI_upload' => 'تعداد حداكثر/دقيق فيلدهاي ارسال URI', //cpg1.4
-  'reset_to_default' => 'تغيير به نام پيش فرض اوليه (%s) - توصيه مي شود!', //cpg1.4
-  'error_group_empty' => 'جدول گروه خالي بود!<br /><br />گروه هاي پيش فرض ساخته شد ، لطفا اين صفحه را بازخواني (Refresh) كنيد', //cpg1.4
-  'explain_greyed_out_title' => 'چرا اين رديف غير فعال شده؟', //cpg1.4
-  'explain_guests_greyed_out_text' => ' شما نمي توانيد تنظيمات اين گروه را تغيير دهيد زيرا در صفحه پيكربندي گزينه \'امكان دسترسي كاربران وارد نشده به سيستم \' را \'خير\' وارد كرده ايد.هيچكدام از ميهمانان (اعضاي گروه %s) نمي توانند كاري انجام دهند بجز ورود! به هر حال تنظيمات گروه براي آنها اثري ندارد.', //cpg1.4
-  'explain_banned_greyed_out_text' => '<span dir=rtl>شما نمي توانيد تنظيمات گروه %s را تغيير دهيد زيرا اعضاي اين گروه به هر حال نمي توانند كاري انجام دهند!</span>', //cpg1.4
-  'group_assigned_album' => 'آلبوم (هاي) مربوط', //cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File index.php
-// ------------------------------------------------------------------------- //
-
-if (defined('INDEX_PHP')){
-
-$lang_index_php = array(
-  'welcome' => 'خوش آمديد !',
-);
-
-$lang_album_admin_menu = array(
-  'confirm_delete' => 'آيا مطمئنيد كه مي خواهيد اين آلبوم را حدف نماييد؟ \\nهمه تصاوير و همچنين نظرات حدف خواهند شد.',
-  'delete' => 'حدف',
-  'modify' => 'متعلقات آلبوم',
-  'edit_pics' => 'ويرايش فايل',
-);
-
-$lang_list_categories = array(
-  'home' => 'صفحه اصلي',
-  'stat1' => '<b>[pictures]</b> تصوير در <b>[albums]</b> آلبوم و <b>[cat]</b> موضوع با <b>[comments]</b> نظر <b>[views]</b> دفعه مشاهده شده',
-  'stat2' => '<b>[pictures]</b> تصوير در <b>[albums]</b> آلبوم <b>[views]</b> دفعه مشاهده شده',
-  'xx_s_gallery' => 'گالري %s',
-  'stat3' => '<b>[pictures]</b> تصوير در <b>[albums]</b> آلبوم با <b>[comments]</b> نظر <b>[views]</b>  دفعه مشاهده شده'
-);
-
-$lang_list_users = array(
-  'user_list' => 'ليست كاربران',
-  'no_user_gal' => 'گالري كاربري يافت نشد',
-  'n_albums' => '%s آلبوم',
-  'n_pics' => '%s تصوير'
-);
-
-$lang_list_albums = array(
-  'n_pictures' => '%s تصوير',
-  'last_added' => ' آخرين ارسال در %s',
-  'n_link_pictures' => '%s فايل لينك شده', //cpg1.4
-  'total_pictures' => 'در كل %s وجود دارد', //cpg1.4
-);
-
-}
-
-// ------------------------------------------------------------------------- //
-// File keywordmgr.php //cpg1.4
-// ------------------------------------------------------------------------- //
-
-if (defined('KEYWORDMGR_PHP')) $lang_keywordmgr_php = array(
-  'title' => 'مديريت كليد واژه ها', //cpg1.4
-  'edit' => 'ويرايش', //cpg1.4
-  'delete' => 'حذف', //cpg1.4
-  'search' => 'جستجو', //cpg1.4
-  'keyword_test_search' => 'جستجوي %s در پنجره جديد', //cpg1.4
-  'keyword_del' => 'حذف كليد واژه %s', //cpg1.4
-  'confirm_delete' => 'مي خواهيد كليد واژه %s را از كل گالري حذف نمائيد! مطمئن هستيد؟', //cpg1.4  // js-alert
-  'change_keyword' => 'تغيير كليد واژه', //cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File login.php
-// ------------------------------------------------------------------------- //
-
-if (defined('LOGIN_PHP')) $lang_login_php = array(
-  'login' => 'ورود',
-  'enter_login_pswd' => 'براي ورود به سايت نام كاربري و رمز عبور را وارد نماييد',
-  'username' => 'نام كاربري',
-  'password' => 'رمز عبور',
-  'remember_me' => 'مرا فراموش نكن',
-  'welcome' => '%s خوش آمدید ...',
-  'err_login' => '*** خطاي ورود ، دوباره امتحان كنيد ***',
-  'err_already_logged_in' => 'شما در حال حاضر در سايت وارد شده ايد !',
-  'forgot_password_link' => 'رمز فراموش شده', //cpg1.3.0
-  'cookie_warning' => 'اخطار ! بروزر شما از Cookie ها حمايت نميكند', //cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File logout.php
-// ------------------------------------------------------------------------- //
-
-if (defined('LOGOUT_PHP')) $lang_logout_php = array(
-        'logout' => 'خروج',
-        'bye' => 'خداحافظ %s ...',
-        'err_not_loged_in' => 'شما وارد سايت نشده ايد !',
-);
-
-// ------------------------------------------------------------------------- //
-// File minibrowser.php  //cpg1.4
-// ------------------------------------------------------------------------- //
-
-if (defined('MINIBROWSER_PHP')) $lang_minibrowser_php = array(
-  'close' => 'بسته', //cpg1.4
-  'submit' => 'تائيد', //cpg1.4
-  'up' => 'يك سطح بالاتر', //cpg1.4
-  'current_path' => 'آدرس جاري', //cpg1.4
-  'select_directory' => 'لطفا يك زير شاخه انتخاب نمائيد.', //cpg1.4
-  'click_to_close' => 'براي بستن اين پنجره بر روي تصویر كليك كنيد.',
-);
-
-// ------------------------------------------------------------------------- //
-// File modifyalb.php
-// ------------------------------------------------------------------------- //
-
-if (defined('MODIFYALB_PHP')) $lang_modifyalb_php = array(
-  'upd_alb_n' => 'به روز رساني آلبوم %s',
-  'general_settings' => 'تنظيمات اصلي',
-  'alb_title' => 'عنوان آلبوم',
-  'alb_cat' => 'موضوع آلبوم',
-  'alb_desc' => 'شرح آلبوم',
-  'alb_keyword' => 'كلید واژه آلبوم', //cpg1.4
-  'alb_thumb' => 'ريزعكس آلبوم',
-  'alb_perm' => 'سطح دسترسي آلبوم',
-  'can_view' => 'آلبوم قابل مشاهده است براي',
-  'can_upload' => 'بيننده ها مي توانند فايل ارسال كنند',
-  'can_post_comments' => 'بيننده ها مي توانند نظر بدهند',
-  'can_rate' => 'بيننده ها مي توانند به اين فايل راي بدهند',
-  'user_gal' => 'گالري كاربران',
-  'no_cat' => '* بدون موضوع *',
-  'alb_empty' => 'آلبوم خالي است',
-  'last_uploaded' => 'آخرين ارسال',
-  'public_alb' => 'همه (آلبوم عمومي)',
-  'me_only' => 'فقط براي من',
-  'owner_only' => 'صاحب آلبوم (%s) فقط',
-  'groupp_only' => 'اعضا گروه \'%s\'',
-  'err_no_alb_to_modify' => 'آلبومي براي ويرايش توسط شما در ديتابيس موجود نيست.',
-  'update' => 'به روز رساني آلبوم', //cpg1.3.0
-  'reset_album' => 'بازسازی مجدد آلبوم', //cpg1.4
-  'reset_views' => 'صفر كردن شمارنده نمایشها در %s', //cpg1.4
-  'reset_rating' => 'صفر كردن رتبه بندی همه فایلها در %s', //cpg1.4
-  'delete_comments' => 'حذف تمام نظرات داده شده به %s', //cpg1.4
-  'delete_files' => ' %sبدون بازگشت%s حذف تمام فایلهای %s', //cpg1.4
-  'views' => 'دفعات مشاهده', //cpg1.4
-  'votes' => 'آرا', //cpg1.4
-  'comments' => 'نظرات', //cpg1.4
-  'files' => 'فایلها', //cpg1.4
-  'submit_reset' => 'ارسال تغییرات', //cpg1.4
-  'reset_views_confirm' => 'مطمئن هستم', //cpg1.4
-  'notice1' => '(*)وابسته به تنظیمات %sگروه%s',  //cpg1.4 //(do not translate %s!)
-  'alb_password' => 'رمز عبور آلبوم', //cpg1.4
-  'alb_password_hint' => 'كلمه كمكی رمز عبور', //cpg1.4
-  'edit_files' =>'ویرایش فایلها', //cpg1.4
-  'parent_category' =>'موضوع مادر', //cpg1.4
-  'thumbnail_view' =>'نمایش به صورت ریز عكس', //cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File phpinfo.php //cpg1.3.0
-// ------------------------------------------------------------------------- //
-
-if (defined('PHPINFO_PHP')) $lang_phpinfo_php = array(
-  'php_info' => 'PHP info', //cpg1.3.0
-  'explanation' => 'This is the output generated by the PHP-function <a href="http://www.php.net/phpinfo">phpinfo()</a>, displayed within Copermine (trimming the output at the right corner).', //cpg1.3.0
-  'no_link' => 'Having others see your phpinfo can be a security risk, that\'s why this page is only visible when you\'re logged in as admin. You can not post a link to this page for others, they will be denied access.', //cpg1.3.0
-);
-
-// ------------------------------------------------------------------------- //
-// File picmgr.php //cpg1.4
-// ------------------------------------------------------------------------- //
-if (defined('PICMGR_PHP')) $lang_picmgr_php = array(
-  'pic_mgr' => 'مدیریت تصاویر', //cpg1.4
-  'select_album' => 'انتخاب آلبوم', //cpg1.4
-  'delete' => 'حذف', //cpg1.4
-  'confirm_delete1' => 'میحواهید این تصویر را حذف كنید! مطمئن هستید؟', //cpg1.4
-  'confirm_delete2' => '\nتصویر به صورت كامل وبدون بازگشت حذف خواهد شد.', //cpg1.4
-  'apply_modifs' => 'اعمال تغییرات', //cpg1.4
-  'confirm_modifs' => 'تائید تغییرات', //cpg1.4
-  'pic_need_name' => 'تصویر بی نام كه نمی شود!!!؟', //cpg1.4
-  'no_change' => 'شما تغییری انجام ندادید!!!', //cpg1.4
-  'no_album' => '* آلبومی نيست *', //cpg1.4
-  'explanation_header' => 'نحوه مرتب سازی که در این بخش تعیین می کنید فقط در صورتی اعمال می شود که', //cpg1.4
-  'explanation1' => 'مدیریت نحوه مرتب سازی پیش فرض را در پیکربندی "پیش فرض مرتب سازی برای فایلها" را "محل قرارگیری صعودی" یا محل قرارگیری نزولی" تعیین کرده باشد.(تنظیمات کلی برای کاربرانی که نحوه مرتب سازی را مشخص نکرده اند)', //cpg1.4
-  'explanation2' => 'کاربر "محل قرارگیری صعودی" یا "محل قرارگیری نزولی" را در صفحه ریز عکسها انتخاب کرده باشد.(تنمظیمات شخصی کاربر)', //cpg1.4
-);
-
-
-// ------------------------------------------------------------------------- //
-// File pluginmgr.php //cpg1.4
-// ------------------------------------------------------------------------- //
-
-if (defined('PLUGINMGR_PHP')){
-
-$lang_pluginmgr_php = array(
-  'confirm_uninstall' => 'می خواهید PlugIn را از حالت نصب خارج كنید ، مطمئنید؟', //cpg1.4
-  'confirm_delete' => 'می خواهید این PlugIn را حذف كنید، مطمئنید؟', //cpg1.4
-  'pmgr' => 'مدیریت PlugIn', //cpg1.4
-  'name' => 'نام', //cpg1.4
-  'author' => 'نویسنده', //cpg1.4
-  'desc' => 'شرح', //cpg1.4
-  'vers' => 'v', //cpg1.4
-  'i_plugins' => 'PlugIn های نصب شده', //cpg1.4
-  'n_plugins' => 'PlugIn های نصب نشده', //cpg1.4
-  'none_installed' => 'هیچی نصب نشده', //cpg1.4
-  'operation' => 'عملبات', //cpg1.4
-  'not_plugin_package' => 'فایل ارسال شده PlugIn نیست!!!', //cpg1.4
-  'copy_error' => 'خطایی در زمان ارسال این PlugIn به زیر شاخه Plugins رخ داده!', //cpg1.4
-  'upload' => 'ارسال', //cpg1.4
-  'configure_plugin' => 'تنظیمات PlugIn', //cpg1.4
-  'cleanup_plugin' => 'پاكسازی PlugIn', //cpg1.4
-);
-}
-
-// ------------------------------------------------------------------------- //
-// File ratepic.php
-// ------------------------------------------------------------------------- //
-
-if (defined('RATEPIC_PHP')) $lang_rate_pic_php = array(
-        'already_rated' => 'متاسفانه شما همين الان به فايل راي داديد',
-        'rate_ok' => 'راي شما پذيرفته شد',
-  'forbidden' => 'شما نمي توانيد به فايل هاي خودتان راي بدهيد!', //cpg1.3.0
-);
-
-// ------------------------------------------------------------------------- //
-// File register.php & profile.php
-// ------------------------------------------------------------------------- //
-
-if (defined('REGISTER_PHP') || defined('PROFILE_PHP')) {
-
-$lang_register_disclamer = <<<EOT
-مديريت {SITE_NAME} حق هرگونه تغيير يا حذف مطالب را براي خود محفوظ نگه داشته و در زمان تغييرات مشاهده تمامي ارسالها غير ممكن خواهد بود. همچنين مسئوليت استفاده غير قانوني از اين سايت به عهده استفاده كننده ميباشد و هر گونه عمل غير قانوني به مراجع ذي صلاح ارجاع داده مي شود.<br />
-<br />
-به عنوان كاربر شما تعهد ميكنيد كه هيچگونه فايل سكسي ، ترسناك ، تحريك كننده به خشونت ، آزار دهنده ، شخصي(مربوط به ديگران بدون رضايت شخص)و هر گونه اطلاعاتي كه خلاف قوانين دولتي باشد به سايت ارسال نكنيد و شما مي پذيريد كه مديريت {SITE_NAME} حق حذف يا ويرايش هر گونه از اين نوع مطالب را دارد.به عنوان كاربر شما مي پذيريد كه اطلاعات شما در ديتابيس {SITE_NAME} ثبت و نگهداري گردد و  اين اطلاعات مگر در موارد ذكر شده قبلي به شخص سومي داده نخواهد شد، البته اين سايت مسئوليتي در قبال حملات هكري قبول نميكند.<br />
-<br />
-اين سايت براي نگهداري اطلاعات شما از كوكي استفاده مي نمايد. همچنين از آدرس پست الكترونيك شما تنها جهت فعال سازي نام كاربري و ارسال رمز فراموش شده استفاده خواهد شد.<br />
-<br />
-با كليك كردن بر روي دكمه 'مي پذيرم' شما كليه موارد بالا را قبول ميكنيد.
-EOT;
-
-$lang_register_php = array(
-  'page_title' => 'ثبت نام كاربران',
-  'term_cond' => 'قوانين و مقررات سايت',
-  'i_agree' => 'مي پذيرم',
-  'submit' => 'ارسال فرم ثبت نام',
-  'err_user_exists' => 'لطفا نام كاربري ديگري انتخاب كنيد اين نام قبلا استفاده شده',
-  'err_password_mismatch' => 'لطفا مجددا پسورد را وارد نماييد ، دو پسورد مشابه هم نيستند',
-  'err_uname_short' => 'نام كاربري حداقل بايد 2 حرف داشته باشد',
-  'err_password_short' => 'رمز ورود حداقل بايد 2 حرف داشته باشد',
-  'err_uname_pass_diff' => 'نام كاربري و رمز عبور بايد متفاوت باشند',
-  'err_invalid_email' => 'آدرس پست الكترونيك اشتباه است',
-  'err_duplicate_email' => 'با اين آدرس پست الكترونيك ، كاربر ديگري ثبت نام كرده',
-  'enter_info' => 'ورود اطلاعات ثبت نام',
-  'required_info' => 'اطلاعات مورد نياز',
-  'optional_info' => 'اطلاعات اختياري',
-  'username' => 'نام كاربري',
-  'password' => 'رمز ورود',
-  'password_again' => 'تكرار مجدد رمز عبور',
-  'email' => 'آدرس پست الكترونيك',
-  'location' => 'محل اقامت',
-  'interests' => 'علاقمنديها',
-  'website' => 'وب سايت',
-  'occupation' => 'شغل',
-  'error' => 'خطا',
-  'confirm_email_subject' => '%s - اطلاعات ثبت نام تائيد شد',
-  'information' => 'اطلاعات',
-  'failed_sending_email' => 'امكان ارسال نامه ثبت نام نيست !',
-  'thank_you' => 'از ثبت نام شما متشكريم.<br /><br />نامه اي به آدرس شما ارسال شد كه در آن نحوه فعال سازي اشتراك شما اعلام گرديده.',
-  'acct_created' => 'اشتراك شما ايجاد شد و شما مي توانيد با ورود نام كاربري و دادن رمز ورود به سايت وارد شويد.',
-  'acct_active' => 'اشتراك شما فعال شد و شما مي توانيد با ورود نام كاربري و دادن رمز ورود به سايت وارد شويد.',
-  'acct_already_act' => 'اشتراك شما قبلا فعال شده است !',
-  'acct_act_failed' => 'اين اشتراك قابل فعال سازي نيست !',
-  'err_unk_user' => 'كاربر انتخاب شده وجود ندارد !',
-  'x_s_profile' => 'مشخصات شخصي %s',
-  'group' => 'گروه',
-  'reg_date' => 'عضو شده در',
-  'disk_usage' => 'فضاي استفاده شده',
-  'change_pass' => 'تغيير رمز ورود',
-  'current_pass' => 'رمز ورود سابق',
-  'new_pass' => 'رمز ورود جديد',
-  'new_pass_again' => 'تكرار مجدد رمز ورود جديد',
-  'err_curr_pass' => 'پسورد سابق اشتباه است',
-  'apply_modif' => 'تغييرات انجام شد',
-  'change_pass' => 'تغيير رمز ورود من',
-  'update_success' => 'اطلاعات شخسي شما به روز رساني شد',
-  'pass_chg_success' => 'رمز ورود شما تغيير يافت',
-  'pass_chg_error' => 'رمز ورود شما تغيير نيافت',
-  'notify_admin_email_subject' => '%s - خطاي ثبت نام', //cpg1.3.0
-  'last_uploads' => 'آخرین فایل ارسال شده.<br />برای دیدن كلیك كنید، تمام ارسالهای', //cpg1.4
-  'last_comments' => 'آخرین نظر.<br />برای دیدن كلیك كنید،تمام نظرات', //cpg1.4
-  'notify_admin_email_body' => 'يك كاربر جديد با نام  "%s" به گالري شما اضافه شد.', //cpg1.3.0
-  'pic_count' => 'فایلها ارسال شدند', //cpg1.4
-  'notify_admin_request_email_subject' => '%s - درخواست ثبت نام', //cpg1.4
-  'thank_you_admin_activation' => 'از شما متشكریم.<br /><br />درخواست شما برای فعال سازی اشتراكتان برای مدیریت ارسال شد.به زودی نامه تائیدیه برای شما ارسال می گردد.', //cpg1.4
-  'acct_active_admin_activation' => 'اشتراك فعال شد و یك نامه الكترونیك برای كاربر ارسال گردید.', //cpg1.4
-  'notify_user_email_subject' => '%s - اعلام فعال سازی', //cpg1.4
-);
-
-$lang_register_confirm_email = <<<EOT
-Thank you for registering at {SITE_NAME}
-In order to activate your account, you need to click on the link below
-or copy and paste it in your web browser.
-
-<a href="{ACT_LINK}">{ACT_LINK}</a>
-
-Regards,
-The management of {SITE_NAME}
-
-in Persian:
-از اینكه در سایت {SITE_NAME} ثبت نام نموده اید ممنونیم
- برای فعال سازی اشتراك خود با نام كاربری "{USER_NAME}" ابتدا باید بر روی لینك زیر كلیك كنید یا آنرا در قسمت آدرس مرورگر خودكپی نمائید و دكمه go را بزنید.
-
-<a href="{ACT_LINK}">{ACT_LINK}</a>
-
-مدیریت سایت {SITE_NAME}
-با تشكر
-EOT;
-
-$lang_register_activated_email = <<<EOT
-Your account has been approved and activated.
-You can now log in at <a href="{SITE_LINK}">{SITE_LINK}</a> using the username "{USER_NAME}"
-
-Regards,
-The management of {SITE_NAME}
-
-In Persian:
-اشتراك شما تائید و فعال شد.
-شما می توانید با استفاده از نام كاربری "{USER_NAME}" وارد سایت <a href="{SITE_LINK}">{SITE_LINK}</a> شوید.
-با تشكر
-مدیریت سایت {SITE_NAME}
-EOT;
-}
-
-// ------------------------------------------------------------------------- //
-// File reviewcom.php
-// ------------------------------------------------------------------------- //
-
-if (defined('REVIEWCOM_PHP')) $lang_reviewcom_php = array(
-  'title' => 'بازنگري نظرات',
-  'no_comment' => 'نظري براي بازنگري وجود ندارد',
-  'n_comm_del' => '%s نظر حدف شد',
-  'n_comm_disp' => 'تعداد نظرات براي نمايش',
-  'see_prev' => 'قبلي',
-  'see_next' => 'بعدي',
-  'del_comm' => 'حدف نظرات انتخاب شده',
-  'user_name' => 'نام', //cpg1.4
-  'date' => 'تاریخ', //cpg1.4
-  'comment' => 'نظر', //cpg1.4
-  'file' => 'فایل', //cpg1.4
-  'name_a' => 'نام كاربر صعودی', //cpg1.4
-  'name_d' => 'نام كاربر نزولی', //cpg1.4
-  'date_a' => 'تاریخ صعودی', //cpg1.4
-  'date_d' => 'تاریخ نزولی', //cpg1.4
-  'comment_a' => 'نظر صعودی', //cpg1.4
-  'comment_d' => 'نظر نزولی', //cpg1.4
-  'file_a' => 'فایل صعودی', //cpg1.4
-  'file_d' => 'فایل نزولی', //cpg1.4
-);
-
-
-// ------------------------------------------------------------------------- //
-// File search.php - OK
-// ------------------------------------------------------------------------- //
-
-
-if (defined('SEARCH_PHP')) {
-
-$lang_search_php = array(
-  'title' => 'جستجوی مجموعه فایلها', //cpg1.4
-  'submit_search' => 'جستجو', //cpg1.4
-  'keyword_list_title' => 'لیست كلید واژه ها', //cpg1.4
-  'keyword_msg' => 'لیست بالا كامل نیست.كلمات تیتر و شرح عكس در لیست بالا نیست، برای جستجوی آنها از جستجوی دقیق كلمات استفاده كنید.',  //cpg1.4
-  'edit_keywords' => 'ویرایش كلید واژه ها', //cpg1.4
-  'search in' => 'جستجو در:', //cpg1.4
-  'ip_address' => 'آدرس آی پی', //cpg1.4
-  'fields' => 'جستجو در', //cpg1.4
-  'age' => 'سن', //cpg1.4
-  'newer_than' => 'جدید تر از', //cpg1.4
-  'older_than' => 'قدیمی تر از', //cpg1.4
-  'days' => 'روز', //cpg1.4
-  'all_words' => 'تطابق كامل با تمام كلمه ها (AND)', //cpg1.4
-  'any_words' => 'تطابق كامل با هر كدام از كلمات (OR)', //cpg1.4
-);
-
-$lang_adv_opts = array(
-  'title' => 'تیتر', //cpg1.4
-  'caption' => 'عنوان', //cpg1.4
-  'keywords' => 'كلید واژه ها', //cpg1.4
-  'owner_name' => 'نام مالك', //cpg1.4
-  'filename' => 'نام فایل', //cpg1.4
-);
-
-}
-
-// ------------------------------------------------------------------------- //
-// File searchnew.php
-// ------------------------------------------------------------------------- //
-
-if (defined('SEARCHNEW_PHP')) $lang_search_new_php = array(
-  'page_title' => 'جستجوي فايل جديد',
-  'select_dir' => 'انتخاب زير شاخه',
-  'select_dir_msg' => 'اين گزينه به شما اجازه مي دهد تا فايلهايي را كه از طريق FTP بروي سرور خود ارسال كرده ايد، اضافه كنيد.<br /><br />زيرشاخه اي كه فايل ها در آن هستند را انتخاب كنبد',
-  'no_pic_to_add' => 'فايلي براي اضافه نمودن وجود ندارد.',
-  'need_one_album' => 'شما حداقل به يك آلبوم براي اجراي اين گزينه احتياج داريد',
-  'warning' => 'اخطار',
-  'change_perm' => 'برنامه نمي تواند بر روي زيرشاخه بنويسد لطفا زيرشاخه را از حالت 755 به 777 تغيير دهيد و مجددا سعي نمائيد. !',
-  'target_album' => '<b>فرستادن فايل هاي "</b>%s<b>" به </b>%s',
-  'folder' => 'زيرشاخه',
-  'image' => 'تصوير',
-  'album' => 'آلبوم',
-  'result' => 'نتايج',
-  'dir_ro' => 'غير قابل نوشتن! ',
-  'dir_cant_read' => 'غير قابل خواندن! ',
-  'insert' => 'اضافه كردن فايل هاي جديد به گالري',
-  'list_new_pic' => 'ليست فايل هاي جديد',
-  'insert_selected' => 'ورود فايل هاي انتخاب شده',
-  'no_pic_found' => 'فايل جديدي پيدا نشد',
-  'be_patient' => 'برنامه براي اضافه نمودن فايل ها به زمان نياز دارد، صبر كنيد ...',
-  'no_album' => 'آلبومي انتخاب نشد',  //cpg1.3.0
-  'result_icon' => 'برای دیدن ریز مشخصات و یا بارگزاری مجدد كلیك كنید.',  //cpg1.4
-  'notes' =>  '<ul>'.
-                                '<li><b>OK</b> : يعني فايل با موفقيت اضافه شد'.
-                                '<li><b>DP</b> : يعني فايل قبلا در ديتابيس موجود بوده'.
-                                '<li><b>PB</b> : يعني فايل نمي تواند اضافه شود ، تنظيمات خود و سطح دسترسي زيرشاخه حاوي فايل ها را بررسي كنيد'.
-                        		'<li><b>NA</b> : يعني آلبومي كه فايل ها بايد به آن اضافه شوند مشحص نشده , بر روي \'<a href="javascript:history.back(1)">بازگشت</a>\' كليك كنيد و آلبوم را انتخاب نمائيد. اگر آلبوم نداريد <a href="albmgr.php"> آلبوم بسازيد </a></li>'.
-                                '<li>اگر پيام هاي OK, DP, PB نمايش داده نشد بر روي فايل خراب شده كليك كنيد تا پيغام PHP را ببينيد'.
-                                '<li>اگر پيغام Timeout دريافت نموديد يك بار ديگر صفحه را Reload كنيد'.
-                          '</ul>', //cpg1.3.0
-  'select_album' => 'انتخاب آلبوم', //cpg1.3.0
-  'check_all' => 'انتخاب همه', //cpg1.3.0
-  'uncheck_all' => 'عدم انتخاب همه', //cpg1.3.0
-  'no_folders' => '<span dir=rtl>هنوز زیر شاخه ای در زیر شاخه "albums" وجود ندارد.مطمئن شوید كه حتما یك زیر شاخه در زیر شاخه "albums" ساخته اید و فایلهای خود را از طریق FTP در این زیر شاخه كپی كرده اید.هرگز فایلی در زیر شاخه "userpics" كپی نكنید ، همچنین آنرا ویرایش نكنید این زیر شاخه ها برای ارسال از طریق http طراحی شده اند ونباید تغییری در آنها اعمال گردد.</span>', //cpg1.4
-  'albums_no_category' => 'آلبومهای طبقه بندی نشده', //cpg1.4 // album pulldown mod, added by frogfoot
-  'personal_albums' => '* آلبومها شخصی', //cpg1.4 // album pulldown mod, added by frogfoot
-  'browse_batch_add' => 'قابلیت مرور در زیرشاخه ها (توصیه شده)', //cpg1.4
-  'edit_pics' => 'ویرایش فایلها', //cpg1.4
-  'edit_properties' => 'تنظیمات آلبوم', //cpg1.4
-  'view_thumbs' => 'نمایش بصورت ریز عكس', //cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File stat_details.php //cpg1.4
-// ------------------------------------------------------------------------- //
-
-if (defined('STAT_DETAILS_PHP')) $lang_stat_details_php = array(
-  'show_hide' => 'نمایش/عدم نمایش این ستون', //cpg1.4
-  'vote' => 'اطلاعات آراء', //cpg1.4
-  'hits' => 'اطلاعات بازدیدها', //cpg1.4
-  'stats' => 'مشخصات آراء', //cpg1.4
-  'sdate' => 'تاریخ', //cpg1.4
-  'rating' => 'امتیاز', //cpg1.4
-  'search_phrase' => 'عبارات جستجو شده', //cpg1.4
-  'referer' => 'توصیه كننده ها', //cpg1.4
-  'browser' => 'مرورگر', //cpg1.4
-  'os' => 'سیستم هامل', //cpg1.4
-  'ip' => 'آی پی', //cpg1.4
-  'sort_by_xxx' => 'مرتب شده بر حسب %s', //cpg1.4
-  'ascending' => 'صعودی', //cpg1.4
-  'descending' => 'نزولی', //cpg1.4
-  'internal' => 'داخلی', //cpg1.4
-  'close' => 'بسته', //cpg1.4
-  'hide_internal_referers' => 'توصیه كنندگان داخلی را نمایش نده', //cpg1.4
-  'date_display' => 'نمایش تاریخ', //cpg1.4
-  'submit' => 'ارسال/بارگزاری مجدد', //cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File thumbnails.php
-// ------------------------------------------------------------------------- //
-
-// Void
-
-// ------------------------------------------------------------------------- //
-// File upload.php
-// ------------------------------------------------------------------------- //
-
-if (defined('UPLOAD_PHP')) $lang_upload_php = array(
-  'title' => 'ارسال فايل', //cpg1.3.0
-  'custom_title' => 'تنظیم فرم ارسال', //cpg1.3.0
-  'cust_instr_1' => 'شما ميتوانيد تعداد فايل هاي ارسالي همزمان را مشخص كنيد. اما به هر حال, بيشتر از تعداد زير اجازه ارسال همزمان نداريد.', //cpg1.3.0
-  'cust_instr_2' => 'تعداد درخواست ارسال همزمان', //cpg1.3.0
-  'cust_instr_3' => 'تعداد ارسال همزمان فايل: %s', //cpg1.3.0
-  'cust_instr_4' => '‌‌‌‌‌‌‌‌تعداد ارسال همزمان ‌اينتر فيس ‌:‌ ‌‌%s‌‌', //cpg1.3.0
-  'cust_instr_5' => 'تعداد در خواست ارسال همزمان ‌اينتر فيس:', //cpg1.3.0
-  'cust_instr_6' => 'تعداد درخواست ارسال همزمان فايل:', //cpg1.3.0
-  'cust_instr_7' => 'لطفا تعداد درخواست ارسال همزمان خود را ذكر كنيد.  سپس بر روي \'ادامه\' كليك كنيد. ', //cpg1.3.0
-  'reg_instr_1' => 'عمل خطا در ايجاد فرم.', //cpg1.3.0
-  'reg_instr_2' => 'شما مي توانيد در زير فايل خود را ارسال نمائيد. حجم هر كدام از فايل هاي ارسالي شما نبايد از %s KB بيشتر باشد. فايل هاي ZIP ارسالي به صورت فشرده باقي خواهند ماند.', //cpg1.3.0
-  'reg_instr_3' => 'اگر مي خواهيد فايل فشرده خود را باز كنيد از بخش باز كننده فايل فشرده استفاده نمائيد.', //cpg1.3.0
-  'reg_instr_4' => 'وقتي از قسمت ارسال URI/URL uاستفاده مي كنيد, لطفا آدرس را به صورت: http://www.mysite.com/images/example.jpg وارد نمائيد', //cpg1.3.0
-  'reg_instr_5' => 'هنگامي مه فرم تكميل شد ،لطفا بر روي \'ادامه\' كليك كنيد.', //cpg1.3.0
-  'reg_instr_6' => 'باز كردن فايل فشرده ارسالي:', //cpg1.3.0
-  'reg_instr_7' => 'فايل هاي ارسالي:', //cpg1.3.0
-  'reg_instr_8' => 'ارسال URI/URL :', //cpg1.3.0
-  'error_report' => 'گزارش دهي خطا', //cpg1.3.0
-  'error_instr' => 'ارسال هاي مشروحه داراي خطا هستند:', //cpg1.3.0
-  'file_name_url' => 'نام فايل/URL', //cpg1.3.0
-  'error_message' => 'پيغام خطا', //cpg1.3.0
-  'no_post' => 'فايل بوسيله پست ارسال نشده.', //cpg1.3.0
-  'forb_ext' => 'فايل با اين پسوند قابل قبول نيست.', //cpg1.3.0
-  'exc_php_ini' => 'ارسال فايلي با بيش از حجم اعلام شده در php.ini.', //cpg1.3.0
-  'exc_file_size' => 'ارسال فايلي با بيش از حجم اعلام شده در تنظيمات.', //cpg1.3.0
-  'partial_upload' => 'Only a partial upload.', //cpg1.3.0
-  'no_upload' => 'ارسالي اتفاق نيفتاد.', //cpg1.3.0
-  'unknown_code' => 'خطاي نامشخص PHPدر ارسال.', //cpg1.3.0
-  'no_temp_name' => 'عدم ارسال - عدم نام موقت.', //cpg1.3.0
-  'no_file_size' => 'شامل اطلاعات نيست/خراب است', //cpg1.3.0
-  'impossible' => 'غير قابل حركت.', //cpg1.3.0
-  'not_image' => 'تصوير نيست/خراب شده', //cpg1.3.0
-  'not_GD' => 'پسوند يك GD نيست.', //cpg1.3.0
-  'pixel_allowance' => 'بيشتر از حداكثر پيكسل قابل قبول.', //cpg1.3.0
-  'incorrect_prefix' => 'URI/URL اشتباه', //cpg1.3.0
-  'could_not_open_URI' => 'نمي توان URI را باز كرد.', //cpg1.3.0
-  'unsafe_URI' => 'امنيت قابل بررسي نيست.', //cpg1.3.0
-  'meta_data_failure' => 'خرابي اطلاعات سر خط', //cpg1.3.0
-  'http_401' => '401 Unauthorized', //cpg1.3.0
-  'http_402' => '402 Payment Required', //cpg1.3.0
-  'http_403' => '403 Forbidden', //cpg1.3.0
-  'http_404' => '404 Not Found', //cpg1.3.0
-  'http_500' => '500 Internal Server Error', //cpg1.3.0
-  'http_503' => '503 Service Unavailable', //cpg1.3.0
-  'MIME_extraction_failure' => 'MIME could not be determined.', //cpg1.3.0
-  'MIME_type_unknown' => 'Unknown MIME type', //cpg1.3.0
-  'cant_create_write' => 'Cannot create write file.', //cpg1.3.0
-  'not_writable' => 'Cannot write to write file.', //cpg1.3.0
-  'cant_read_URI' => 'Cannot read URI/URL', //cpg1.3.0
-  'cant_open_write_file' => 'Cannot open URI write file.', //cpg1.3.0
-  'cant_write_write_file' => 'Cannot write to URI write file.', //cpg1.3.0
-  'cant_unzip' => 'عدم توانايي در باز كردن.', //cpg1.3.0
-  'unknown' => 'خطاي ناشناخته', //cpg1.3.0
-  'succ' => 'ارسال با موفقيت انجام شد', //cpg1.3.0
-  'success' => '%s ارسال با موفقيت انجام شدند.', //cpg1.3.0
-  'add' => 'لطفا بر روي \'ادامه\' كليك كنيد تا فايل ها به آلبوم اضافه گردند.', //cpg1.3.0
-  'failure' => 'خطاي ارسال', //cpg1.3.0
-  'f_info' => 'اطلاعات فايل', //cpg1.3.0
-  'no_place' => 'فايل قبلي نتوانسته در جاي خود قرار بگيرد.', //cpg1.3.0
-  'yes_place' => 'فايل قبلي با موفقيت مستقر شد.', //cpg1.3.0
-  'max_fsize' => 'حداكثر حجم اجازه داده شده %s KB',
-  'album' => 'آلبوم',
-  'picture' => 'فايل', //cpg1.3.0
-  'pic_title' => 'عنوان فايل', //cpg1.3.0
-  'description' => 'شرح فايل', //cpg1.3.0
-  'keywords' => 'كلید واژه ها (با جاي خالي جداسازي كنيد)<a href="#" onClick="return MM_openBrWindow(\'keyword_select.php\',\'selectKey\',\'width=250, height=400, scrollbars=yes,toolbar=no,status=yes,resizable=yes\')">افزودن از لیست</a>', //cpg1.4
-  'keywords_sel' =>'یك كلید واژه انتخاب كنید', //cpg1.4
-  'err_no_alb_uploadables' => 'متاسفانه آلبومی وحود ندارد كه شما اجازه ارسال در آن داشته باشيد', //cpg1.3.0
-  'place_instr_1' => 'لطفا حالا فايل ها را در اين آلبوم قرار دهيد و اطلاعات مربوط به هر فايل را وارد كنيد.', //cpg1.3.0
-  'place_instr_2' => 'فايل بيشتری احتياج به اسقرار دارد. لطفا بر روی \'ادامه\'كليك كنيد.', //cpg1.3.0
-  'process_complete' => 'تمامي فايل ها با موفقيت مستقر شدند.', //cpg1.3.0
-  'albums_no_category' => 'آلبومهای طبقه بندی نشده', //cpg1.4. //album pulldown mod, added by frogfoot
-  'personal_albums' => '* آلبومهای شخصی', //cpg1.4 //album pulldown mod, added by frogfoot
-  'select_album' => 'انتخاب آلبوم', //cpg1.4 //album pulldown mod, added by frogfoot
-  'close' => 'بستن', //cpg1.4
-  'no_keywords' => 'متاسفانه كلید واژه ای وجود ندارد', //cpg1.4
-  'regenerate_dictionary' => 'باز سازی مجدد دیكشنری', //cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File usermgr.php
-// ------------------------------------------------------------------------- //
-
-if (defined('USERMGR_PHP')) $lang_usermgr_php = array(
-  'memberlist' => 'لیست اعضا', //cpg1.4
-  'user_manager' => 'سیستم مدیریت كاربران', //cpg1.4
-  'title' => 'مديريت كاربران',
-  'name_a' => 'نام(صعودي)',
-  'name_d' => 'نام(نزولي)',
-  'group_a' => 'گروه(صعودي)',
-  'group_d' => 'گروه(نزولي)',
-  'reg_a' => 'تاريخ ثبت نام(صعودي)',
-  'reg_d' => 'تاريخ ثبت نام(نزولي)',
-  'pic_a' => 'تعداد تصوير(صعودي)',
-  'pic_d' => 'تعداد تصوير(نزولي)',
-  'disku_a' => 'ميزان استفاده از فضا(صعودي)',
-  'disku_d' => 'ميزان استفاده از فضا(نزولي)',
-  'lv_a' => 'آخرين بار مشاهده(صعودي)', //cpg1.3.0
-  'lv_d' => 'آخرين بار مشاهده(نزولي)', //cpg1.3.0
-  'sort_by' => 'مرتب سازي كاربران بر حسب',
-  'err_no_users' => 'جدول كاربران خالي است !',
-  'err_edit_self' => 'شما نمي توانيد مشخصات شخصي خود را از اينجا ويرايش كنيد از \'مشخصات شخصي\' استفاده كنيد',
-  'edit' => 'ويرايش',
-  'with_selected' => 'با انتخاب:', //cpg1.4
-  'delete' => 'حذف', //cpg1.4
-  'delete_files_no' => 'نگهداشتن فايلهای عمومی (اما بصورت ناشناس)', //cpg1.4
-  'delete_files_yes' => 'فايلهای عمومی را هم حذف كن', //cpg1.4
-  'delete_comments_no' => 'نگهداشتن نظرات (اما بصورت ناشناس)', //cpg1.4
-  'delete_comments_yes' => 'نظرات را هم حذف كن', //cpg1.4
-  'activate' => 'فعال سازی', //cpg1.4
-  'deactivate' => 'از كار انداختن', //cpg1.4
-  'reset_password' => 'باز سازی رمز عبور', //cpg1.4
-  'change_primary_membergroup' => 'تغییر عضویت اوليه', //cpg1.4
-  'add_secondary_membergroup' => 'افزودن عضویت ثانويه', //cpg1.4
-  'name' => 'نام كاربري',
-  'group' => 'گروه',
-  'inactive' => 'در حال فعالیت',
-  'operations' => 'عمليات',
-  'pictures' => 'فايل ها', //cpg1.3.0
-  'disk_space_used' => 'فضای استفاده شده', //cpg1.4
-  'disk_space_quota' => 'فضای اختصاص داده شده', //cpg1.4
-  'registered_on' => 'ثبت نام', //cpg1.4
-  'last_visit' => 'آحرين مشاهده در', //cpg1.3.0
-  'u_user_on_p_pages' => '%d كاربر در %d صفحه',
-  'confirm_del' => 'شما مطمئنيد كه مي خواهيد اين كاربر را حدف نمائيد؟ \\nتمامي فايل ها و آلبوم هاي وي نيز حدف خواهند شد.',
-  'mail' => 'نامه',
-  'err_unknown_user' => 'كاربر انتخاب شده وجود ندارد !',
-  'modify_user' => 'تغييرات كاربر',
-  'notes' => 'ملاحظات',
-  'note_list' => '<li>اگر نمي خواهيد رمز ورود را تغيير دهيد آن را خالي بگذاريد',
-  'password' => 'رمز ورود',
-  'user_active' => 'كاربر فعال است',
-  'user_group' => 'گروه كاربر',
-  'user_email' => 'آدرس پست الكترونيك كاربر',
-  'user_web_site' => 'آدرس وب سايت كاربر',
-  'create_new_user' => 'ايجاد كاربر جديد',
-  'user_location' => 'محل زندگي كاربر',
-  'user_interests' => 'علايق كاربر',
-  'user_occupation' => 'شغل كاربر',
-  'user_profile1' => '$user_profile1', //cpg1.4
-  'user_profile2' => '$user_profile2', //cpg1.4
-  'user_profile3' => '$user_profile3', //cpg1.4
-  'user_profile4' => '$user_profile4', //cpg1.4
-  'user_profile5' => '$user_profile5', //cpg1.4
-  'user_profile6' => '$user_profile6', //cpg1.4
-  'latest_upload' => 'ارسال هاي تازه', //cpg1.3.0
-  'never' => 'هرگز', //cpg1.3.0
-  'search' => 'جستجوی كاربر', //cpg1.4
-  'submit' => 'ارسال', //cpg1.4
-  'search_submit' => 'جستجو', //cpg1.4
-  'search_result' => 'نتایج جستجو برای: ', //cpg1.4
-  'alert_no_selection' => 'حداقل باید یك كاربر را انتخاب كنید', //cpg1.4 //js-alert
-  'password' => 'رمز عبور', //cpg1.4
-  'select_group' => 'انتخاب گروه', //cpg1.4
-  'groups_alb_access' => 'مجوزهای آلبوم بر اساس گروه', //cpg1.4
-  'album' => 'آلبوم', //cpg1.4
-  'category' => 'موضوع', //cpg1.4
-  'modify' => 'میخواهید تغییر بدهید؟', //cpg1.4
-  'group_no_access' => 'این گروه دسترسی خواصی ندارد.', //cpg1.4
-  'notice' => 'نكته', //cpg1.4
-  'group_can_access' => 'آلبوم(هایی) كه فقط "%s" اجازه دسترسی دارند', //cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File util.php
-// ------------------------------------------------------------------------- //
-
-if (defined('UTIL_PHP')) {
-$lang_util_desc_php = array(
-'بروز رسانی تیترها با استفاده از نام فایل', //cpg1.4
-'حذف تیترها', //cpg1.4
-'باز سازی مجدد ریز عكسها و تغییر اندازه عكسها', //cpg1.4
-'حذف عكسهای با اندازه اصلی و جایگزینی آنها با عكسهای تغییر اندازه داده شده', //cpg1.4
-'حذف عكسهای اصلی و یا دوباره تغییر داده شده برای پاكسازی فضای وب', //cpg1.4
-'حذف نظرات یتیم!(بی نام نشان)', //cpg1.4
-'بازخوانی ابعاد و اندازه فایل (اگر تصویر را بصورت دستی ویرایش كرده اید', //cpg1.4
-'صفر كردن شمارنده بازدیدها', //cpg1.4
-'نمایش مشخصات سرور PHP', //cpg1.4
-'به روز رسانی دیتابیس', //cpg1.4
-'نمایش فایل گزارشها', //cpg1.4
-);
-if (defined('UTIL_PHP')) $lang_util_php = array(
-  'title' => 'مديريت ابزار (تغيير اندازه تصاوير)', //cpg1.3.0
-  'what_it_does' => 'چگونگي كار با ابزار',
-  'file' => 'فايل',
-  'problem' => 'مشكل', //cpg1.4
-  'status' => 'وضعیت', //cpg1.4
-  'title_set_to' => 'عنوان مخدود به',
-  'submit_form' => 'ارسال',
-  'updated_succesfully' => 'به روز رساني با موفقيت انجام شد',
-  'error_create' => 'در حال ايجاد خطا',
-  'continue' => 'پردازش تصاوير بيشتر',
-  'main_success' => 'فايل %s با موفقيت به عنوان فايل اصلي استفاده شد',
-  'error_rename' => 'خطا در تغيير نام از %s به %s',
-  'error_not_found' => 'فايل %s موجود نيست',
-  'back' => 'بازگشت به اصلي',
-  'thumbs_wait' => 'در حال به روز رساني ريزعكسها/ويا تغيير اندازه تصاوير، لطفا كمي صبر كنيد...',
-  'thumbs_continue_wait' => 'به روز رساني ريز عكسها/ويا تغيير اندازه تصاوير ادامه دارد ...',
-  'titles_wait' => 'به روز رساني عناوين، لطفا كمي صبر كنيد...',
-  'delete_wait' => 'حذف يك عنوان، لطفا كمي صبر كنيد...',
-  'replace_wait' => 'حذف فايل اصلي و جايگزيني تصوير تغيير اندازه يافته به جاي اصلي، لطفا كمي صبر كنيد..',
-  'instruction' => 'توضيحات سريع',
-  'instruction_action' => 'نوع عمل را انتخاب كنيد',
-  'instruction_parameter' => 'آيتم ها را ست كنيد',
-  'instruction_album' => 'آلبوم را انتخاب كنيد',
-  'instruction_press' => '%s را فشار دهيد',
-  'update' => 'به روز رساني ريزعكسها/ويا تغيير اندازه تصاوير',
-  'update_what' => 'چه چيزي بايد به روز رساني شود',
-  'update_thumb' => 'فقط ريزعكسها',
-  'update_pic' => 'فقط تصاوير تغيير اندازه يافته',
-  'update_both' => 'ريزعكسها و تصاوير تغيير اندازه يافته',
-  'update_number' => 'تعداد تصاوير پردازش شده در هر كليك',
-  'update_option' => '(در صورتي كه با خطاي اتمام زمان پردازش مواجه شديد اين مقدار را كمتر كنيد )',
-  'filename_title' => 'نام قايل &rArr; عنوان فايل',
-  'filename_how' => 'چه تغييري در نام فايل ميدهيد',
-  'filename_remove' => 'برداشتن .jpg از انتها و تبديل _ (خط فاصله زير) به جاي خالي',
-  'filename_euro' => 'تبديل 2003_11_23_13_20_20.jpg به 23/11/2003 13:20',
-  'filename_us' => 'تبديل  2003_11_23_13_20_20.jpg به  11/23/2003 13:20',
-  'filename_time' => 'تبديل  2003_11_23_13_20_20.jpg به 13:20',
-  'delete' => 'حدف عنوان فايل يا فايل با اندازه اصلي',
-  'delete_title' => 'حدف عنوان فايل',
-  'delete_title_explanation' => 'حذف تمام تيترها از فايلهای موجود در آلبوم انتخاب شده.', //cpg1.4
-  'delete_original' => 'حدف فايل با اندازه اصلي',
-  'delete_original_explanation' => 'حذف تمام عكسهای با ابعاد كامل(Full size)', //cpg1.4
-  'delete_intermediate' => 'حذف عكسهای اصلی ارسال شده', //cpg1.4
-  'delete_intermediate_explanation' => 'این عملیات عكسهای اولیه و ابتدایی را كه برای ساخت عكس نهایی ارسال شده اند حذف می كند.<br />اگر گزینه \'ايجاد تصاوير متوسط\' را در بخش پیكربندی غیر فعال كرده اید از این عملیات استفاده كنید تا فضای وب اشغال شده شما پاك سازی گردد.', //cpg1.4
-  'delete_replace' => 'حدف فايل اصلي و جايگزين كردن فايل تغيير اندازه يافته',
-  'titles_deleted' => 'تمام تیترهای آلبوم انتخاب شده حذف شد', //cpg1.4
-  'deleting_intermediates' => 'در حال حذف عكسهای متوسط ، لطفا صبر كنید...', //cpg1.4
-  'searching_orphans' => 'در حال جستجو برای سرگردانها ، لطفا صبر كنید', //cpg1.4
-  'select_album' => 'انتخاب آلبوم',
-  'delete_orphans' => 'حذف نظرات فایلهای گم شده', //cpg1.4
-  'delete_orphans_explanation' => 'این روش به شما امكان می دهد تا تمام نظراتی را كه به فایلهای گم شده داده شده اند پیدا و حذف كنید.<br />همه آلبومها را چك كن.', //cpg1.4
-  'refresh_db' => 'بازخوانی مجدد اندازه و ابعاد فایل', //cpg1.4
-  'refresh_db_explanation' => 'این روش اندازه و ابعاد فایل را مجددا می خواند.وقتی فایلی را بصورت دستی تغییر میدهید و یا فضای تخصیص داده شده اشتباه است از این روش استفاده كنید.', //cpg1.4
-  'reset_views' => 'صفر كردن شمارنده بازدیدها', //cpg1.4
-  'reset_views_explanation' => 'شمارنده تمام فایلهای یك آلبوم را صفر میكند.', //cpg1.4
-  'orphan_comment' => 'نظر سرگردان پيدا شد', //cpg1.3.0
-  'delete' => 'حذف', //cpg1.3.0
-  'delete_all' => 'حدف همه', //cpg1.3.0
-  'delete_all_orphans' => 'تمام نظرات سرگردان را حذف میكنید؟', //cpg1.4
-  'comment' => 'نظر: ', //cpg1.3.0
-  'nonexist' => 'مربوط به فايلي كه موجود نيست # ', //cpg1.3.0
-  'phpinfo' => 'مشاهده مشخصات php', //cpg1.3.0
-  'phpinfo_explanation' => 'نمایش مشخصات تكنیكی سرور.<br /> - وقتی درخواست كمك میكنید ممكن است این اطلاعات از شما خواسته شود.', //cpg1.4
-  'update_db' => 'به روز رساني ديتابيس', //cpg1.3.0
-  'update_db_explanation' => ' اگر تغييري در فايلهاي اصلي برنامه داده ايد و يا نرم افزار را به نسخه بالاتري ارتقاء داده ايد حتما ديتابيس را به روز رساني كنيد چون با اين كار جداول ديتابيس ساخته و يا به روز رساني مي شوند.', //cpg1.3.0
-  'view_log' => 'نمایش گزارشات و وقایع', //cpg1.4
-  'view_log_explanation' => 'گالری میتواند فعالیتهايی را كه یك كاربر انجام میدهد تحت نظر بگیرد.شما میتوانید این گزارشها را مرور كنید اگر سیستم گزارشگیری و ثبت وقایع را در <a href="admin.php">پیكربندی گالری </a>فعال كرده باشید.', //cpg1.4
-  'versioncheck' => 'كنترل نسخه نرم افزار', //cpg1.4
-  'versioncheck_explanation' => 'نسخه فایلهای خود را كنترل كنید.ممكن است بعد از ارتقا نسخه و یا حتی بعد از نصب نرم افزار نسخه جدیدتری وجود داشته باشد.', //cpg1.4
-  'bridgemanager' => 'مدیریت هماهنگ سازی (Bridge)', //cpg1.4
-  'bridgemanager_explanation' => 'فعال كردن / از كار انداختن سیستم پیشرفته هماهنگ سازی (bridging) گالری با نرم افزارهای دیگر (برای مثال BBS ها).', //cpg1.4
-);
-}
-
-// ------------------------------------------------------------------------- //
-// File versioncheck.php //cpg1.4
-// ------------------------------------------------------------------------- //
-
-if (defined('VERSIONCHECK_PHP')) $lang_versioncheck_php = array(
-  'title' => 'كنترل نسخه', //cpg1.4
-  'what_it_does' => '<span dir=rtl>برای به روز رسانی نسخه نصب شده از این صفحه استفاده كنید. این برنامه با مقایسه نسخه فایلهای نصب شده بر روی سرور شما با نسخه جاری موجود در منبع گالری (http://coppermine.sourceforge.net) اختلاف میان آنها را به شما نشان می دهد، در این روش برنامه فایلهایی را كه باید به روز رسانی شوند مشخص میكند.<br />آن فایلهایی كه نیاز به به روز رسانی داشته باشند قرمز ، آنهایی كه نیاز به بازدید داشته باشند زرد و آنهایی كه مشكلی ندارند سبز نمایش داده می شوند.<br />برای اطلاعات بیشتر بر روی آیكون راهنما كلیك كنید.</span>', //cpg1.4
-  'online_repository_unable' => 'امكان اتصال به منبع آنلاین نیست!', //cpg1.4
-  'online_repository_noconnect' => ' دو دلیل برای عدم موفقیت در برقراری اتصال بین منبع و گالری شما وجود دارد:', //cpg1.4
-  'online_repository_reason1' => 'منبع آنلاین در حال حاضر فعال نیست - برای اطمینان از این موضوع آدرس:%s را كنترل كنید ، اگر قابل مشاهده نیست بعدا كنترل كنید.', //cpg1.4
-  'online_repository_reason2' => 'سرور PHP شما در  پیكربندی خود %s را غیر فعال كرده است (به صورت پیش فرض فعال است).اگر این سرور را خودتان مدیریت می كنید از طریق فایل <i>php.ini</i> این گزینه را فعال كنید  (حداقل اجازه بدهید تا توسط %s بازنویسی شود).اگر از امكانات اجاره فضا برای گالری خود استفاده می كنید از مدیریت فضای وب خود بخواهید این گزینه را فعال كند ، در صورتیكه مدیریت فضای وب شما این امر را نپذیرد شما نمی توانید از امكان كنترل نسخه این صفحه استفاده كنید و تنها نسخه برنامه نصب شده شما نمایش داده خواهد شد - نسخه های به روز رسانی ها نمایش داده نمی شوند.', //cpg1.4
-  'online_repository_skipped' => 'اتصال به منبع آنلاین قطع شد', //cpg1.4
-  'online_repository_to_local' => 'برنامه برای مقایسه از نسخه موجود بر روی سرور (local) استفاده میكند.اگر در هنگام ارتقاء تمام فایلها را ارسال نكرده اید ، اطلاعات نمایش داده شده دقیق نیست. تغییراتی كه بعد از انتشار این نسخه در فایلها بوجود آمده است در این صفحه نمایش داده نمی شوند.', //cpg1.4
-  'local_repository_unable' => 'امكان اتصال به منبع بر روی سرور شما نیست', //cpg1.4
-  'local_repository_explanation' => 'گالری قادر به بر قراری اتصال با فایل منبع %s بر روی سرور شما نیست. ممكن است شما این فایل را بر روی سرور خود ارسال نكرده باشید. این فایل را نصب كنید و دوباره این صفحه را فراخوانی كنید (refresh را بزنید).<br />اگر برنامه هنوز خطا نشان میدهد ، شركت اجاره دهنده فضای شما بخشی از <a href="http://www.php.net/manual/en/ref.filesystem.php">توابع سیستمی PHP</a> را غیر فعال نموده است. در این حالت متاسفانه شما نمیتوانید از این برنامه استفاده كنید.', //cpg1.4
-  'coppermine_version_header' => 'نسخه نصب شده گالری', //cpg1.4
-  'coppermine_version_info' => 'نسخه نصب شده شما : %s', //cpg1.4
-  'coppermine_version_explanation' => 'اگر فكر میكنید نسخه ای كه نصب كرده اید این نیست ، به احتمال زیاد آخرین نسخه فایل <i>include/init.inc.php</i> را ارسال نكرده اید.', //cpg1.4
-  'version_comparison' => 'مقایسه نسخه ها', //cpg1.4
-  'folder_file' => 'فایل/زیرشاخه', //cpg1.4
-  'coppermine_version' => 'نسخه گالری', //cpg1.4
-  'file_version' => 'نسخه فایل', //cpg1.4
-  'webcvs' => 'web svn', //cpg1.4
-  'writable' => 'قابل نوشتن', //cpg1.4
-  'not_writable' => 'غیر قابل نوشتن', //cpg1.4
-  'help' => 'كمك', //cpg1.4
-  'help_file_not_exist_optional1' => 'فایل/زیرشاخه وجود ندارد', //cpg1.4
-  'help_file_not_exist_optional2' => '<span dir=rtl>فایل/زیرشاخه %s بر روی سرور شما پیدا نشد! در حقیقت در صورت بروز مشكل شما باید این فایل را بر روی سرور خود ارسال كنید(توسط نرم افزار FTP).</span>', //cpg1.4
-  'help_file_not_exist_mandatory1' => 'فایل/زیرشاخه وجود ندارد', //cpg1.4
-  'help_file_not_exist_mandatory2' => '<span dir=rtl>فایل/زیرشاخه %s بر روی سرور شما پیدا نشد! شما باید حتما این فایل را بر روی سرور خود ارسال كنید(توسط نرم افزار FTP).</span>', //cpg1.4
-  'help_no_local_version1' => 'فایل محلی نسخه ها پیدا نشد!', //cpg1.4
-  'help_no_local_version2' => 'برنامه قادر به تشخیص نسخه فایلهای محلی - فایلهای شما یا از تاریخ گذشته اند یا شما آنها را تغییر داده اید، و اطلاعات سرآیند را حذف كرده اید. به روز رسانی فایل توصیه می شود.', //cpg1.4
-  'help_local_version_outdated1' => 'نسخه های محلی موجود خارج از تاریخ است', //cpg1.4
-  'help_local_version_outdated2' => 'بنظر می رسد كه این فایل مربوط به نسخه های قدیمی گالری باشد(احتمالا شما نسخه گالری خود را ارتقاء داده اید) اطمینان پیدا كنید كه این فایل را هم ارتقاء داده اید.', //cpg1.4
-  'help_local_version_na1' => 'امكان پیدا كردن اطلاعات نسخه CVS نیست', //cpg1.4
-  'help_local_version_na2' => 'برنامه قادر به تشخیص نسخه cvs موجود بر روی سرور شما نیست. شما باید فایلهای اصلی را بر روی سرور خود ارسال كنید.', //cpg1.4
-  'help_local_version_dev1' => 'نسخه در حال گسترش (آزمایشی)', //cpg1.4
-  'help_local_version_dev2' => 'فایلهای موجود بر روی سرور شما جدیدتر از نسخه گالری شما هستند!!! شما یا در حال استفاده از یك نسخه در حال گسترش وآزمایشی هستید(فقط در صورتی این كار را انجام دهید كه بدانید چه كاری می كنید!) و یا گالری خود را ارتقاء داده اید و فایل include/init.inc.php را ارسال نكرده اید.', //cpg1.4
-  'help_not_writable1' => 'زیرشاخه قابل نوشتن نیست', //cpg1.4
-  'help_not_writable2' => 'مجوز های دسترسی فایل را تغییر دهید(CHMOD) تا به برنامه اجازه دسترسی نوشتن بر روی زیرشاخه %s و تمام زیر مجموعه های آن داده شود.', //cpg1.4
-  'help_writable1' => 'زیر شاخه قابل نوشتن است', //cpg1.4
-  'help_writable2' => 'زیرشاخه %s قابل نوشتن است!این زیرشاخه احتیاجی به مجوز نوشتن ندارد ، گالری فقط احتیاج به مجوز خواندن/اجرا دارد.', //cpg1.4
-  'help_writable_undetermined' => 'گالری موفق به تشخیص اینكه آیا زیرشاخه قابل نوشتن است نشد!', //cpg1.4
-  'your_file' => 'فایل شما', //cpg1.4
-  'reference_file' => 'فایل مبداء', //cpg1.4
-  'summary' => 'خلاصه', //cpg1.4
-  'total' => 'كل فایلها/زیرشاخه های كنترل شده', //cpg1.4
-  'mandatory_files_missing' => 'فایل سیستمی گم شده', //cpg1.4
-  'optional_files_missing' => 'فایل عادی گم شده', //cpg1.4
-  'files_from_older_version' => 'فایلهای كنار گذاشته شده از نسخه های از تاریخ گذشته', //cpg1.4
-  'file_version_outdated' => 'فایلهای از تاریخ گذشته', //cpg1.4
-  'error_no_data' => 'در برنامه خطایی بوجود آمده ، برنامه امكان دادن اطلاعات بیشتری ندارد.از مشكل پیش آمده متاسفیم!', //cpg1.4
-  'go_to_webcvs' => 'برو به %s', //cpg1.4
-  'options' => 'انتخابها', //cpg1.4
-  'show_optional_files' => 'نمایش فایلها/زیرشاخه های عادی', //cpg1.4
-  'show_mandatory_files' => 'نمایش فایلهای سیستمی', //cpg1.4
-  'show_file_versions' => 'نمایش نسخه فایل', //cpg1.4
-  'show_errors_only' => 'نمایش فقط زیرشاخه ها /فایلهای دارای خطا', //cpg1.4
-  'show_permissions' => 'نمایش مجوزهای زیرشاخه', //cpg1.4
-  'show_condensed_output' => 'نمایش خروجی به صورت فشرده (برای سهولت در گرفتن نسخه چاپی از صفحه نمایش)', //cpg1.4
-  'coppermine_in_webroot' => 'گالری در ریشه اصلی نصب شده', //cpg1.4
-  'connect_online_repository' => 'سعی در برقراری ارتباط با منبع آنلاین', //cpg1.4
-  'show_additional_information' => 'نمایش اطلاعات اضافی', //cpg1.4
-  'no_webcvs_link' => 'عدم نمایش لینكهای cvs', //cpg1.4
-  'stable_webcvs_link' => 'نمایش لینك cvs به شاخه های ایستا تر (stable)', //cpg1.4
-  'devel_webcvs_link' => 'نمایش لینك cvs به شاخه های در حال گسترش', //cpg1.4
-  'submit' => 'تائید تغییرات / فراخوانی مجدد(Refresh)', //cpg1.4
-  'reset_to_defaults' => 'بازگشت به مشخصات پیش فرض', //cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File view_log.php  //cpg1.4
-// ------------------------------------------------------------------------- //
-
-if (defined('VIEWLOG_PHP')) $lang_viewlog_php = array(
-  'delete_all' => 'حذف همه گزارش ها', //cpg1.4
-  'delete_this' => 'حذف این گزارش', //cpg1.4
-  'view_logs' => 'نمایش گزارش ها', //cpg1.4
-  'no_logs' => 'گزارشی ساخته نشد.', //cpg1.4
-);
-
-
-// ------------------------------------------------------------------------- //
-// File xp_publish.php //cpg1.4
-// ------------------------------------------------------------------------- //
-
-if (defined('XP_PUBLISH_PHP')) {
-
-$lang_xp_publish_client = <<<EOT
-<h1>XP Web Publishing Wizard Client</h1><p>این ماژول اجازه میدهد تا از ویزارد انتشار در وب <b>Windows XP</b> برای گالری استفاده کنید.</p><p>کد استفاده شده در این بخش از مقاله ای گرفته شده ، نام نویسنده مقاله:
-EOT;
-
-$lang_xp_publish_required = <<<EOT
-<h2>چه چیزی مورد نیاز است</h2><ul><li>برای استفاده از ویزارد به Windows XP احتیاج دارید.</li><li>یک نسخه نصب شده از گالری تا <b>تابع ارسال به وب درست کار کند.</b></li></ul><h2>چگونه در طرف مشتری (client side) نصب می شود</h2><ul><li>کلیک راست بر روی
-EOT;
-
-$lang_xp_publish_select = <<<EOT
-"save target as.." را اتخاب کنید. فایل را بر روی سخت دیسک خود ظبط نمائید. در هنگام ظبط شدن دقت کنید که نام فایل به شکل <b>cpg_###.reg</b> (### نشان دهنده اعداد تاریخ هستند )باشد. اگر احتیاج بود نام را تغییر دهید (اعداد را نگه دارید). وقتی دریافت تمام شد ، برای ثبت سرورتان در ویزارد انتشار وب بر روی فایل دوبار کلیک کنید.</li></ul>
-EOT;
-
-$lang_xp_publish_testing = <<<EOT
-<h2>آزمایش</h2><ul><li>در مرورگر ویندوز، چند فایل را انتخاب کنید و بر روی<b>Publish xxx on the web</b> در قسمت چپ کلیک کنید.</li><li>تائید انتخاب فایل. بر روی <b>Next</b>کلیک کنید.</li><li>در لیست ظاهر شده از سرویسها ، یکی از گالری های عکس را انتخاب نمائید (هم نام گالری شما خواهد بود). اگر سرویس نمایش داده نشد، کنترل کنید که <b>cpg_pub_wizard.reg</b> با توجه به توضیحات بالا نصب شده باشد.</li><li>مشخصات ورود خود را در صورت نیاز وارد نمائید.</li><li>آلبوم مقصد را مشخص نمائید یا بسازید.</li><li>بر روی<b>next</b> کلیک کنید. ارسال عکسهای شما شروع خواهد شد.</li><li>وقتی تمام شد ، گالری را کنترل کنید و مطمئن شوید که عکسها درست اضافه شده اند.</li></ul>
-EOT;
-
-$lang_xp_publish_notes = <<<EOT
-<h2>نکته:</h2><ul><li>از لحظه ای که ارسال شروع شود ، ویزارد نمی تواند خطا های بوجود آمده و ارسال شده توسط اسکریپت را نمایش دهد بنابراین برای اطلاع از صحت ارسال باید گالری را کنترل کنید.</li><li>اگر ارسال  فایل با اشکال مواجه شد ، "حالت دیباگ" را فعال کنید و با ارسال یک عکس پیغام خطا را کنترل کنید در
-EOT;
-
-$lang_xp_publish_flood = <<<EOT
-فایلی در زیرشاخه گالری در سرور شما.</li><li>برای جلوگیری از <i>سر ریز</i> گالری از عکس های ارسال شده توسط ویزارد ، فقط <b>مدیریت گالری</b> و <b>کاربرانی که اجازه داشتن گالری شخصی</b> دارند می توانند از این قابلیت استفاده کنند.</li>
-EOT;
-
-
-
-$lang_xp_publish_php = array(
-  'title' => 'ویزارد انتشار وب XP-گالری', //cpg1.4
-  'welcome' => 'خوش آمدید <b>%s</b>,', //cpg1.4
-  'need_login' => 'قبل از استفاده از این ویزارد شما باید بوسیله مرورگر خود به گالری وارد شوید (با استفاده از نام كاربری و رمز عبور خودتان).<p/><p>در هنگام ورود فراموش نكنید كه در صورتیكه گزینه </b>مرا بخاطر بسپار <b> وجود دارد آنرا انتخاب كنید.', //cpg1.4
-  'no_alb' => 'متاسفانه آلبومی كه شما مجوز ارسال فایل از طریق این ویزارد به آن داشته باشید وجود ندارد.', //cpg1.4
-  'upload' => 'ارسال عكس به آلبوم های موجود', //cpg1.4
-  'create_new' => 'ساخت آلبوم جدید برای عكسها', //cpg1.4
-  'album' => 'آلبوم', //cpg1.4
-  'category' => 'موضوع', //cpg1.4
-  'new_alb_created' => 'آلبوم جدید شما "<b>%s</b>" ساخته شد.', //cpg1.4
-  'continue' => 'برای شروع ارسال عكسها دكمه "بعدی" را فشار دهید', //cpg1.4
-  'link' => 'this link', //cpg1.4
-);
-}
+<?php
+/*************************
+  Coppermine Photo Gallery
+  ************************
+  Copyright (c) 2003-2009 Coppermine Dev Team
+  v1.1 originally written by Gregory DEMAR
+
+  This program is free software; you can redistribute it and/or modify
+  it under the terms of the GNU General Public License version 3
+  as published by the Free Software Foundation.
+  
+  ********************************************
+  Coppermine version: 1.4.25
+  $HeadURL: https://coppermine.svn.sourceforge.net/svnroot/coppermine/trunk/cpg1.4.x/lang/persian.php $
+  $Revision: 5997 $
+  $Author: gaugau $
+  $Date: 2009-05-26 08:43:24 +0200 (Di, 26 Mai 2009) $
+**********************************************/
+
+if (!defined('IN_COPPERMINE')) { die('Not in Coppermine...');}
+
+// info about translators and translated language
+$lang_translation_info = array(
+  'lang_name_english' => 'Persian',
+  'lang_name_native' => 'فارسي',
+  'lang_country_code' => 'ir',
+  'trans_name'=> 'B.Mossavari ',
+  'trans_email' => 'bmossavari@gmail.com',
+  'trans_website' => 'http://lab.kishmate.com/gallery144/',
+  'trans_date' => '2006-04-04',
+);
+
+$lang_charset = 'utf-8';
+$lang_text_dir = 'rtl'; // ('ltr' for left to right, 'rtl' for right to left)
+
+// shortcuts for Byte, Kilo, Mega
+$lang_byte_units = array('بايت', 'كيلوبايت', 'مگابايت');
+
+// Day of weeks and months
+$lang_day_of_week = array('يكشنبه', 'دوشنبه', 'سه شنبه', 'چهارشنبه', 'پنجشنبه', 'جمعه', 'شنبه');
+$lang_month = array('ژانويه', 'فوريه', 'مارس', 'آپريل', 'مي', 'جون', 'جولاي', 'آگوست', 'سبتامبر', 'اكتبر', 'نوامبر', 'دسامبر');
+
+// Some common strings
+$lang_yes = 'بله';
+$lang_no  = 'خير';
+$lang_back = 'بازگشت';
+$lang_continue = 'ادامه';
+$lang_info = 'اطلاعات';
+$lang_error = 'خطا';
+$lang_check_uncheck_all = 'انتخاب كردن/نكردن همه'; //cpg1.4
+
+// The various date formats
+// See http://www.php.net/manual/en/function.strftime.php to define the variable below
+$album_date_fmt =    '%B %d, %Y';
+$lastcom_date_fmt =  '%m/%d/%y at %H:%M'; //cpg1.3.0
+$lastup_date_fmt = '%B %d, %Y';
+$register_date_fmt = '%B %d, %Y';
+$lasthit_date_fmt = '%B %d, %Y at %I:%M %p'; //cpg1.3.0
+$comment_date_fmt =  '%B %d, %Y at %I:%M %p'; //cpg1.3.0
+$log_date_fmt = '%B %d, %Y at %I:%M %p'; //cpg1.4
+
+// For the word censor
+$lang_bad_words = array('*fuck*', 'asshole', 'assramer', 'bitch*', 'c0ck', 'clits', 'Cock', 'cum', 'cunt*', 'dago', 'daygo', 'dego', 'dick*', 'dildo', 'fanculo', 'feces', 'foreskin', 'Fu\(*', 'fuk*', 'honkey', 'hore', 'injun', 'kike', 'lesbo', 'masturbat*', 'motherfucker', 'nazis', 'nigger*', 'nutsack', 'penis', 'phuck', 'poop', 'pussy', 'scrotum', 'shit', 'slut', 'titties', 'titty', 'twaty', 'wank*', 'whore', 'wop*','كس','*كون*','كير','*جنده*','*فاحشه*','دول','دودول','*قرمساق*','*ديوس*','*قهبه*','خفه','خفه شو','بي شعور','اجمق','حمال','سگ','الاغ','خر');
+
+$lang_meta_album_names = array(
+ 'random' => 'فايلهاي انتخاب شده  به صورت تصادفي',
+ 'lastup' => 'آخرين ارسال شده ها',
+ 'lastalb'=> 'آخرين آلبوم تغيير يافته',
+ 'lastcom' => 'آخرين نظرات',
+ 'topn' => 'بيشترين بازديد',
+ 'toprated' => 'بالاترين امتياز',
+ 'lasthits' => 'آخرين امتياز',
+ 'search' => 'جستجوي نتايج',
+ 'favpics'=> 'فايلهاي مورد علاقه'
+);
+
+$lang_errors = array(
+  'access_denied' => 'شما اجازه دسترسي به اين صفحه را نداريد.',
+  'perm_denied' => 'شما اجازه انجام اين عمليات را نداريد.',
+  'param_missing' => 'اطلاعات براي انجام عمليات كافي نيست.',
+  'non_exist_ap' => 'آلبوم/فايل انتخاب شده وجود ندارد!',
+  'quota_exceeded' => 'بيشتر از فضاي تخصيص داده شده<br /><br />به شما [quota]K فضا تخصيص داده شده است, فايل شما به [space]K فضا نياز دارد, با اضافه كردن اين فايل فضا استفاده شده توسط شما از فضاي تخصيص داده شده به شما بيشتر مي گردد.',
+  'gd_file_type_err' => 'در حالت استفاده از GD Library تنها فرمت هاي پذيرفته شده JPEG و PNG مي باشند.',
+  'invalid_image' => 'تصوير ارسال شده خراب است يا GD Library نمي تواند تصوير را پردازش كند.',
+  'resize_failed' => 'امكان ساخت thumbnail يا تغيير سايز تصوير نيست!',
+  'no_img_to_display' => 'چيزي وجود ندارد.',
+  'non_exist_cat' => 'موضوع انتخاب شده وجود ندارد',
+  'orphan_cat' => 'يك موضوع بدون parent وجود دارد ، مديريت موضوع را اجرا كنيد تا اشكال را برطرف كند.',
+  'directory_ro' => 'زير شاخه \'%s\' غير قابل تغيير است, نمي توانيد تصوير را پاك كنيد.',
+  'non_exist_comment' => 'نظر (Comment)انتخاب شده موجود نيست.',
+  'pic_in_invalid_album' => 'تصوير در آلبومي (%s)كه موجود نيست!?',
+  'banned' => 'متاسفانه در حال حاضر امكان دسترسي شما به سايت محدود شده.',
+  'not_with_udb' => 'بدليل مجهز شدن برنامه به فروم (يا انواع ديگر برنامه ها) اين قابليت در برنامه گالري از كار افتاده است . يا شايد قابليتي كه ميخواهيد در اين پيكربندي ارائه نشده ، يا يا اين قابليت بايد توسط نرم افزار فروم اجرا شود.',
+  'offline_title' => 'خارج از سرويس', //cpg1.3.0
+  'offline_text' => 'در حال حاضر گالري تعطيل ! است ، به زودي راه اندازي مجدد مي شود', //cpg1.3.0
+  'ecards_empty' => 'در حال حاضر هيچ كارتي براي نمايش موجود نيست.در پيكربندي  ، حفظ كارت پستال را فعال كنيد.', //cpg1.3.0
+  'action_failed' => 'درخواست رد شد،امكان اجراي در خواست شما نيست', //cpg1.3.0
+  'no_zip' => 'برنامه هاي مورد نياز براي استفاده از فايلهاي فشرده (zip) موجود نيست، با مديريت تماس بگيريد.', //cpg1.3.0
+  'zip_type' => 'شما اجازه ارسال فايل ZIP را نداريد.', //cpg1.3.0
+  'database_query' => 'خطايي در زمان اجراي دستورات بر روي ديتابيس بوجود آمده.', //cpg1.4
+  'register_globals_on' => 'The PHP setting register_globals is enabled on your server, which is a bad idea in terms of security. It\'s strongly recommended to turn it off. [<a href="http://forum.coppermine-gallery.net/index.php/topic,59569.0.html" rel="external" class="external">more</a>]',
+);
+
+$lang_bbcode_help_title = '<span dir=rtl>راهنماي bbcode<span>'; //cpg1.4
+$lang_bbcode_help = '<span dir=rtl>بوسيله اين كدها شما ميتوانيد در اين فيلد لينكهاي قابل كليك كردن و متون متنوع ايجاد كنيد:</span><span dir=ltr> <li>[b]Bold[/b] =&gt; <b>Bold</b></li><li>[i]Italic[/i] =&gt; <i>Italic</i></li><li>[url=http://yoursite.com/]متن لينك[/url] =&gt; <a href="http://yoursite.com">متن لينك</a></li><li>[email]user@domain.com[/email] =&gt; <a href="mailto:user@domain.com">user@domain.com</a></li><li>[color=red]متن شما[/color] =&gt; <span style="color:red">متن شما</span></li><li>[img]http://coppermine-gallery.net/demo/cpg14x/images/red.gif[/img] => <img src="../images/red.gif" border="0" alt="" /></li></span>'; //cpg1.4
+
+// ------------------------------------------------------------------------- //
+// File theme.php
+// ------------------------------------------------------------------------- //
+
+$lang_main_menu = array(
+  'home_title' => 'رفتن به صفحه اصلی',
+  'home_lnk' => 'صفحه اصلی',
+  'alb_list_title' => 'رفتن به ليست آلبوم',
+  'alb_list_lnk' => 'ليست آلبوم',
+  'my_gal_title' => 'رفتن به گالری شخصی',
+  'my_gal_lnk' => 'گالری شما',
+  'my_prof_title' => 'رفتن به مشخصات شخصی', //cpg1.4
+  'my_prof_lnk' => 'مشخصات شما',
+  'adm_mode_title' => 'تغيير به حالت مديريت',
+  'adm_mode_lnk' => 'محیط مدیریت',
+  'usr_mode_title' => 'تغيير به حالت كاربر',
+  'usr_mode_lnk' => 'محیط کاربری',
+  'upload_pic_title' => 'ارسال فايل به آلبوم',
+  'upload_pic_lnk' => 'ارسال فايل',
+  'register_title' => 'ايجاد كاربر جديد',
+  'register_lnk' => 'ثبت نام',
+  'login_title' => 'ورود با سايت', //cpg1.4
+  'login_lnk' => 'ورود',
+  'logout_title' => 'رفتن تو حياط براي بازی!', //cpg1.4
+  'logout_lnk' => 'خروج',
+  'lastup_title' => 'نمايش آخرين ارسال ها', //cpg1.4
+  'lastup_lnk' => 'آخرين ارسال',
+  'lastcom_title' => 'نمايش آحرين نظرات', //cpg1.4
+  'lastcom_lnk' => 'آخرين نظرات',
+  'topn_title' => 'نمايش آيتمهايی كه بيشترين بازديد را داشته اند', //cpg1.4
+  'topn_lnk' => 'بيشترين بازديد',
+  'toprated_title' => 'نمايش آيتمهايی كه بيشترين امتياز را داشته اند', //cpg1.4
+  'toprated_lnk' => 'بالاترين امتياز',
+  'search_title' => 'جستجوی گالری', //cpg1.4
+  'search_lnk' => 'جستجو',
+  'fav_title' => 'رفتن به مورد علاقه های شما', //cpg1.4
+  'fav_lnk' => 'مورد علاقه های شما',
+  'memberlist_title' => 'نمايش ليست اعضا', //cpg1.3.0
+  'memberlist_lnk' => 'ليست اعضا', //cpg1.3.0
+  'faq_title' => 'سوال های متداول پرسيده شده در "Coppermine"', //cpg1.3.0
+  'faq_lnk' => 'سوال های متداول', //cpg1.3.0
+);
+
+$lang_gallery_admin_menu = array(
+  'upl_app_title' => 'تائيد ارسال شده ها', //cpg1.4
+  'upl_app_lnk' => 'تائيد ارسال',
+  'admin_title' => 'رفتن به پيكر بندي', //cpg1.4
+  'admin_lnk' => 'پيكربندي', //cpg1.4
+  'albums_title' => 'رفتن به مديريت آلبوم', //cpg1.4
+  'albums_lnk' => 'آلبوم ها',
+  'categories_title' => 'رفتن به مديريت موضوعات', //cpg1.4
+  'categories_lnk' => 'موضوعات',
+  'users_title' => 'رفتن به مديريت كاربران', //cpg1.4
+  'users_lnk' => 'كاربرها',
+  'groups_title' => 'رفتن به مديريت گروهها', //cpg1.4
+  'groups_lnk' => 'گروه ها',
+  'comments_title' => 'بازنگري نظرات', //cpg1.4
+  'comments_lnk' => 'نظرات', //cpg1.3.0
+  'searchnew_title' => 'رفتن به سيستم اتوماتيك افزودن فايل', //cpg1.4
+  'searchnew_lnk' => 'افزودن فايل به صورت اتوماتيك', //cpg1.3.0
+  'util_title' => 'رفتن به ابزار مديريت', //cpg1.4
+  'util_lnk' => 'ابزار مديريت', //cpg1.3.0
+  'key_title' => 'رفتن به ديكشنري كلمات', //cpg1.4
+  'key_lnk' => 'ديكشنري كلمات', //cpg1.4
+  'ban_title' => 'رفتن به بخش كاربران محدود شده', //cpg1.4
+  'ban_lnk' => 'كاربرهاي محدود شده',
+  'db_ecard_title' => 'بازنگري كارتها', //cpg1.4
+  'db_ecard_lnk' => 'مشاهده كارتها', //cpg1.3.0
+  'pictures_title' => 'مرتب كردن تصویرها', //cpg1.4
+  'pictures_lnk' => 'مرتب كردن تصویرها', //cpg1.4
+  'documentation_lnk' => 'راهنما', //cpg1.4
+  'documentation_title' => 'راهنماي گالري', //cpg1.4
+);
+
+$lang_user_admin_menu = array(
+  'albmgr_title' => 'ايجاد ومرتب سازي آلبوم شما', //cpg1.4
+  'albmgr_lnk' => 'ايجاد/مرتب كردن آلبوم شما',
+  'modifyalb_title' => 'رفتن به بخش تغييرات آلبوم هاي شما',  //cpg1.4
+  'modifyalb_lnk' => 'تغيير آلبوم هاي شما',
+  'my_prof_title' => 'رفتن به مشخصات شخصي شما', //cpg1.4
+  'my_prof_lnk' => 'مشخصات شخصي شما',
+);
+
+$lang_cat_list = array(
+  'category' => 'موضوعات',
+  'albums' => 'آلبوم ها',
+  'pictures' => 'فايلها',
+);
+
+$lang_album_list = array(
+  'album_on_page' => '%d در آلبوم %d صفحه'
+);
+
+$lang_thumb_view = array(
+        'date' => 'تاريخ',
+  //Sort by filename and title
+  'name' => 'نام فايل',
+  'title' => 'عنوان',
+  'sort_da' => 'مرتب سازي بر حسب تاريخ (صعودي)',
+  'sort_dd' => 'مرتب سازي بر حسب تاريخ (نزولي)',
+  'sort_na' => 'مرتب سازي بر حسب نام (صعودي)',
+  'sort_nd' => 'مرتب سازي بر حسب نام (نزولي)',
+  'sort_ta' => 'مرتب سازي بر حسب عنوان (صعودي)',
+  'sort_td' => 'مرتب سازي بر حسب عنوان (نزولي)',
+  'position' => 'محل قرار گيري', //cpg1.4
+  'sort_pa' => 'مرتب سازي بر حسب محل (صعودي)', //cpg1.4
+  'sort_pd' => 'مرتب سازي بر حسب محل (نزولي)', //cpg1.4
+  'download_zip' => 'دريافت به صورت ZIP', //cpg1.3.0
+  'pic_on_page' => '%d فايل در %d صفحه',
+  'user_on_page' => '%d كاربر در %d صفحه', //cpg1.3.0
+  'enter_alb_pass' => 'رمز عبور آلبوم', //cpg1.4
+  'invalid_pass' => 'رمز عبور اشتباه', //cpg1.4
+  'pass' => 'رمز عبور', //cpg1.4
+  'submit' => 'ارسال', //cpg1.4
+);
+
+$lang_img_nav_bar = array(
+  'thumb_title' => 'بازگشت به ليست تصاوير',
+  'pic_info_title' => 'نمايش/عدم نمايش مشخصات فايل', //cpg1.3.0
+  'slideshow_title' => 'نمايش پشت سر هم تصاوير',
+  'ecard_title' => 'ارسال اين تصوير به صورت كارت پستال', //cpg1.3.0
+  'ecard_disabled' => 'امكان ارسال كارت پستال محدود شده است.',
+  'ecard_disabled_msg' => 'شما امكان ارسال كارت پستال نداريد.', //js-alert //cpg1.3.0
+  'prev_title' => 'مشاهده تصویر قبلي', //cpg1.3.0
+  'next_title' => 'مشاهده تصویر بعدي', //cpg1.3.0
+  'pic_pos' => 'فايل %s/%s', //cpg1.3.0
+  'report_title' => 'گزارش اين فايل به مديريت', //cpg1.4
+  'go_album_end' => 'رفتن به انتها', //cpg1.4
+  'go_album_start' => 'رفتن به ابتدا', //cpg1.4
+  'go_back_x_items' => '%s آيتم به عقب', //cpg1.4
+  'go_forward_x_items' => '%s آيتم به جلو', //cpg1.4
+);
+
+$lang_rate_pic = array(
+  'rate_this_pic' => 'چه امتيازي ميدهيد؟',
+  'no_votes' => '(هنوز امتيازي داده نشده)',
+  'rating' => '(رتبه: %s / 5 با %s راي)',
+  'rubbish' => 'بي خود',
+  'poor' => 'ضعيف',
+  'fair' => 'قابل قبول',
+  'good' => 'خوب',
+  'excellent' => 'عالي',
+  'great' => 'باور نكردني',
+);
+
+// ------------------------------------------------------------------------- //
+// File include/exif.inc.php
+// ------------------------------------------------------------------------- //
+
+// void
+
+// ------------------------------------------------------------------------- //
+// File include/functions.inc.php
+// ------------------------------------------------------------------------- //
+
+$lang_cpg_die = array(
+  INFORMATION => $lang_info,
+  ERROR => $lang_error,
+  CRITICAL_ERROR => 'خطاي سيستم',
+  'file' => 'فايل: ',
+  'line' => 'خط: ',
+);
+
+$lang_display_thumbnails = array(
+  'filename' => 'نام فايل : ',
+  'filesize' => 'حجم فايل : ',
+  'dimensions' => 'ابعاد : ',
+  'date_added' => 'تاريخ ارسال : '
+);
+
+$lang_get_pic_data = array(
+  'n_comments' => '%s نوشته(نظر)',
+  'n_views' => '%s مشاهده',
+  'n_votes' => '(%s راي)'
+);
+
+$lang_cpg_debug_output = array(
+  'debug_info' => 'اطلاعات ديباگَ', //cpg1.3.0
+  'select_all' => 'انتخاب همه', //cpg1.3.0
+  'copy_and_paste_instructions' => 'اگر از ساپورت درخواست كمك داريد اطلاعات ديباگ را در پست خود copy and paste كنيد. دقت كنيد كه تمامي رمزهاي كاربري را با علامت **** جايگزين كنيد.', //cpg1.3.0
+  'phpinfo' => 'نمايش مشخصات سرور', //cpg1.3.0
+  'notices' => 'نكته ها', //cpg1.4
+);
+
+$lang_language_selection = array(
+  'reset_language' => 'زبان پيش فرض', //cpg1.3.0
+  'choose_language' => 'انتخاب زبان', //cpg1.3.0
+);
+
+$lang_theme_selection = array(
+  'reset_theme' => 'تم پيش فرض', //cpg1.3.0
+  'choose_theme' => 'انتخاب تم', //cpg1.3.0
+);
+
+$lang_version_alert = array(
+  'version_alert' => 'نسخه حمايت نشده!', //cpg1.4
+  'security_alert' => 'پيغام امنيتي!', //cpg1.4.3
+  'relocate_exists' => 'فايل <a href="http://coppermine-gallery.net/forum/index.php?topic=24217.0">relocate_server.php</a> را از روي سرور و وب سايت خود پاك كنيد!!!',
+  'no_stable_version' => 'شما در حال اجراي يك نسخه تستي از اين نرم افزار هستيد (نسحه شما %s) - اين نسخه حمايت شده نيست و استفاده از اين نسخه توصيه نمي شود. لطفا نسخه Stable را نصب نمائيد در غير اين صورت عواقب ناشي از استفاده از اين نسخه تستي به عهده خودتان است!!!', //cpg1.4
+  'gallery_offline' => 'گالري در حال حاضر به صورت آفلاين است (غير فعال) و فقط توسط شما قابل رويت است . فراموش نكنيد كه آن را فعال كنيد', //cpg1.4
+);
+
+$lang_create_tabs = array(
+  'previous' => 'قبلي', //cpg1.4
+  'next' => 'بعدي', //cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File include/init.inc.php
+// ------------------------------------------------------------------------- //
+
+// void
+
+// ------------------------------------------------------------------------- //
+// File keyword.inc.php                                                      //
+// ------------------------------------------------------------------------- //
+
+// void
+
+// ------------------------------------------------------------------------- //
+// File include/picmgmt.inc.php
+// ------------------------------------------------------------------------- //
+
+// void
+
+// ------------------------------------------------------------------------- //
+// File include/plugin_api.inc.php
+// ------------------------------------------------------------------------- //
+$lang_plugin_api = array(
+  'error_wakeup' => "PlugIn '%s' اجرا نشد!", //cpg1.4
+  'error_install' => "PlugIn '%s' نصب نشد!", //cpg1.4
+  'error_uninstall' => "PlugIn '%s' حذف نشد!", //cpg1.4
+  'error_sleep' => "PlugIn '%s' حذف نشد!<br />", //cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File include/smilies.inc.php
+// ------------------------------------------------------------------------- //
+
+if (defined('SMILIES_PHP')) $lang_smilies_inc_php = array(
+  'Exclamation' => 'تعجب',
+  'Question' => 'سوال',
+  'Very Happy' => 'خيلي خوشحال',
+  'Smile' => 'خندان',
+  'Sad' => 'ناراحت',
+  'Surprised' => 'متعجب',
+  'Shocked' => 'ترسيده',
+  'Confused' => 'قاطي كرده',
+  'Cool' => 'جالب',
+  'Laughing' => 'مي خندد',
+  'Mad' => 'عصباني',
+  'Razz' => 'سروصدا',
+  'Embarassed' => 'تحقير شده',
+  'Crying or Very sad' => 'گريان يا خيلي ناراحت',
+  'Evil or Very Mad' => 'ديوانه يا خيلي عصباني',
+  'Twisted Evil' => 'در حال انفجار',
+  'Rolling Eyes' => 'سرگردان',
+  'Wink' => 'چشمك',
+  'Idea' => 'ايده',
+  'Arrow' => 'نشانه',
+  'Neutral' => 'عادي',
+  'Mr. Green' => 'عصبي',
+);
+
+// ------------------------------------------------------------------------- //
+// File addpic.php
+// ------------------------------------------------------------------------- //
+
+// void
+
+// ------------------------------------------------------------------------- //
+// File mode.php //cpg1.4
+// ------------------------------------------------------------------------- //
+
+if (defined('MODE_PHP')) $lang_mode_php = array(
+  0 => 'در حال خروج از حالت مديريت. . .',
+  1 => 'در حال ورود به حالت مديريت...',
+);
+
+// ------------------------------------------------------------------------- //
+// File albmgr.php
+// ------------------------------------------------------------------------- //
+
+if (defined('ALBMGR_PHP')) $lang_albmgr_php = array(
+  'alb_need_name' => 'آلبوم ها به اسم احتياج دارند! اين طور نيست!!؟',
+  'confirm_modifs' => 'مطمئنيدكه مي خواهيد اين تغييرات را انجام دهيد؟',
+  'no_change' => 'شما تغييري انجام نداديد!',
+  'new_album' => 'آلبوم جديد',
+  'confirm_delete1' => 'مطمئنيد كه مي خواهيد اين آلبوم را حذف كنيد ؟',
+  'confirm_delete2' => '\nتمامي فايلها و نظرات اين آلبوم از بين خواهد رفت !',
+  'select_first' => 'ابتدا آلبوم را انتخاب كنيد',
+  'alb_mrg' => 'مديريت آلبوم',
+  'my_gallery' => '* گالري من *',
+  'no_category' => '* موضوعي موجود نيست *',
+  'delete' => 'حذف',
+  'new' => 'جديد',
+  'apply_modifs' => 'اعمال تغييرات ',
+  'select_category' => 'انتخاب موضوع ',
+);
+
+// ------------------------------------------------------------------------- //
+// File banning.php
+// ------------------------------------------------------------------------- //
+
+if (defined('BANNING_PHP')) $lang_banning_php = array(
+  'title' => 'كاربران محدود شده',
+  'user_name' => 'نام كاربر',
+  'ip_address' => 'آدرس آي پي',
+  'expiry' => 'پايان محدوديت (خالي يعني براي هميشه)',
+  'edit_ban' => 'ثبت تغييرات',
+  'delete_ban' => 'حدف',
+  'add_new' => 'اضافه كردن محدوديت جديد',
+  'add_ban' => 'اضافه كردن',
+  'error_user' => 'كاربر پيدا نشد', //cpg1.3.0
+  'error_specify' => 'شما بايد نام كاربر يا آدري آي پي آن را وارد نمائيد', //cpg1.3.0
+  'error_ban_id' => 'مشخصات محدوديت اشتباه است!', //cpg1.3.0
+  'error_admin_ban' => 'شما نمي توانيد خودتان را محدود كنيد!', //cpg1.3.0
+  'error_server_ban' => 'شما داريد سرور خودتان را محدود ميكنيد؟!!اومجا چه خبره هوا خوبه!!!, نمي توانيد...', //cpg1.3.0
+  'error_ip_forbidden' => 'شما نمي توانيد اين آدرس آي پي را محدود كنيد - اين آدرس Routable نيست!اگر بر روي شبكه Lan گالري را نصب كرديد از طريق پيكربندي ميتوانيد آنرا اعلام كنيد', //cpg1.3.0
+  'lookup_ip' => 'بررسي آدرس آي پي(Lookup)', //cpg1.3.0
+  'submit' => 'تائيد!', //cpg1.3.0
+  'select_date' => 'انتخاب تاريخ', //cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File bridgemgr.php //cpg1.4
+// ------------------------------------------------------------------------- //
+
+if (defined('BRIDGEMGR_PHP')) $lang_bridgemgr_php = array(
+  'title' => 'ويزارد هماهنگ سازي (Bridge)',
+  'warning' => 'اخطار: اين ويزارد اطلاعات شما را از طريق فرم عاي HTML و به صورت رمزگزاري نشده ارسال ميكند بنابراين اينويزارد را فقط در كامپيوتر  شخصي خودتان  اجرا كنيد و از كامپيوترهاي عمومي استفاده نكنيد!(مثل اينترنت كافي ها) و مطمئن شويد كه پس از اتمام كار history  و  Cache كامپيوتر را پاك كرده ايد در غير اين صورت كاربران ديگر به اطلاعات شما دسترسي خواهند داشت!',
+  'back' => 'بازگشت',
+  'next' => 'بعدي',
+  'start_wizard' => 'شروع ويزارد هماهنگ سازي',
+  'finish' => 'پايان',
+  'hide_unused_fields' => 'عدم نمايش فيلدهاي بي استفاده (توصيه مي شود)',
+  'clear_unused_db_fields' => 'حذف اطلاعات اشتباه ديتابيس (توصيه مي شود)',
+  'custom_bridge_file' => 'فايل هماهنگ كننده برنامه مخصوص شما (اگر نام فايل شما <i>myfile.inc.php</i> است در اين فيلد <i>myfile</i>را وارد كنيد.)',
+  'no_action_needed' => 'در اين قسمت كار خاصي لازم نيست  فقط بر روي \'بعدي\' كليك كنيد',
+  'reset_to_default' => 'برگشت به مقدار پيش فرض',
+  'choose_bbs_app' => 'نرم افزاري را كه مي خواهيد با گالري هماهنگ كنيد انتخاب نمائيد.',
+  'support_url' => 'براي ساپورت اين نرم افزار به اينجا برويد',
+  'settings_path' => 'path(s) used by your BBS app',
+  'database_connection' => 'database connection',
+  'database_tables' => 'database tables',
+  'bbs_groups' => 'BBS groups',
+  'license_number' => 'شماره مجوز',
+  'license_number_explanation' => 'شماره مجوز خود را وارد نمائيد (اگر داريد)',
+  'db_database_name' => 'نام ديتابيس',
+  'db_database_name_explanation' => 'نام ديتابيسي كه نرم افزار BBS شما استفاده ميكند را وارد نمائيد.',
+  'db_hostname' => 'نام Host',
+  'db_hostname_explanation' => 'نام host اي كه ديتابيس Mysql شما در آن است معمولا "localhost"',
+  'db_username' => 'نام كاربر ديتابيس',
+  'db_username_explanation' => 'نام كاربري كه به ديتابيس MySql شما در نرم افزار BBS دسترسي دارد',
+  'db_password' => 'رمز عبور ديتابيس',
+  'db_password_explanation' => 'رمز عبور براي اين كاربر Mysql',
+  'full_forum_url' => 'آدرس نرم افزار',
+  'full_forum_url_explanation' => 'آدرس كامل نرم افزاري كه ميخواهيد با گالري هماهنگ كنيد (همراه با HTTP:// در ابتدا، براي مثال http://www.yourdomain.com/forum)',
+  'relative_path_of_forum_from_webroot' => 'آدرس نسبي نرم افزار',
+  'relative_path_of_forum_from_webroot_explanation' => 'آدرس نسبي نرم افزاري كه مي خواهيد با گالري هماهنگ كنيد از ريشه (براي مثال اگر نرم افزار شما در http://www.yourdomain.com/forum ، "/forum/" را وارد كنيد)',
+  'relative_path_to_config_file' => 'آدرس نسبی فایل پیکربندی BBS',
+  'relative_path_to_config_file_explanation' => 'آدرس نسبی BBS، نسبت به محل گالری شما (برای مثال اگر گالری شما در http://www.yourdomain.tld/gallery/ باشد و BBS شما در http://www.yourdomain.tld/forum/ باشد آدرسی که باید وارد کنید "../forum/" می شود)',
+  'cookie_prefix' => 'پیشوند کوکی ها (Cookie prefix)',
+  'cookie_prefix_explanation' => 'نام کوکی های BBS شما',
+  'table_prefix' => 'پیشوند جدولهای دیتابیس',
+  'table_prefix_explanation' => 'باید دقیقا با پیشوندی که هنگام نصب BBS استفاده کرده اید یکی باشد.',
+  'user_table' => 'جدول کاربران (User table)',
+  'user_table_explanation' => '(معمولا مقدار پیش فرض درست است مگر اینکه شما BBS را بصورت استاندارد معمول نصب نکرده باشید)',
+  'session_table' => 'جدول Session',
+  'session_table_explanation' => '(معمولا مقدار پیش فرض درست است مگر اینکه شما BBS را بصورت استاندارد معمول نصب نکرده باشید)',
+  'group_table' => 'جدول گروه',
+  'group_table_explanation' => '(معمولا مقدار پیش فرض درست است مگر اینکه شما BBS را بصورت استاندارد معمول نصب نکرده باشید)',
+  'group_relation_table' => 'جدول ارتباط گروه',
+  'group_relation_table_explanation' => '(معمولا مقدار پیش فرض درست است مگر اینکه شما BBS را بصورت استاندارد معمول نصب نکرده باشید)',
+  'group_mapping_table' => 'جدول Mapping گروه',
+  'group_mapping_table_explanation' => '(معمولا مقدار پیش فرض درست است مگر اینکه شما BBS را بصورت استاندارد معمول نصب نکرده باشید)',
+  'use_standard_groups' => 'استفاده از گروه کاربران استاندارد BBS',
+  'use_standard_groups_explanation' => 'استفاده از گروه کاربران استاندارد (داخلی)(توصیه می شود).این گزینه تمام تنظیمات گروههای کاربری دیگر را بی استفاده می کند.فقط در صورتیکه می دانید چه کار می کنید این گزینه را غیر فعال کنید!',
+  'validating_group' => 'تعیین صلاحیت گروه',
+  'validating_group_explanation' => 'گروهی از BBS که کاربرانی که نیاز به تائید صلاحیت دارند  در آن هستند (معمولا مقدار پیش فرض درست است مگر اینکه شما BBS را بصورت استاندارد معمول نصب نکرده باشید)',
+  'guest_group' => 'گروه میهمان',
+  'guest_group_explanation' => 'گروهی از BBS که کاربرانی که میهمان هستند در آن هستند (معمولا مقدار پیش فرض درست است مگر اینکه شما BBS را بصورت استاندارد معمول نصب نکرده باشید)',
+  'member_group' => 'کروه اعضاء',
+  'member_group_explanation' => 'گروهی از BBS که کاربرانی که عضو هستند در آن هستند (معمولا مقدار پیش فرض درست است مگر اینکه شما BBS را بصورت استاندارد معمول نصب نکرده باشید)',
+  'admin_group' => 'گروه مدیریت',
+  'admin_group_explanation' => 'گروهی از BBS که اعضای آن مدیران BBS هستند (معمولا مقدار پیش فرض درست است مگر اینکه شما BBS را بصورت استاندارد معمول نصب نکرده باشید)',
+  'banned_group' => 'گروه محدود شده ها',
+  'banned_group_explanation' => 'گروهی از BBS  که اعضای آن کاربران محدود شده BBS هستند (معمولا مقدار پیش فرض درست است مگر اینکه شما BBS را بصورت استاندارد معمول نصب نکرده باشید)',
+  'global_moderators_group' => 'گروه مدیریت عمومی',
+  'global_moderators_group_explanation' => 'گروهی از BBS که اعضای آن مدیران عمومی BBS هستند (معمولا مقدار پیش فرض درست است مگر اینکه شما BBS را بصورت استاندارد معمول نصب نکرده باشید)',
+  'special_settings' => 'تنظیمات مخصوص BBS',
+  'logout_flag' => 'نسخه phpBB(نشانه خروج)',
+  'logout_flag_explanation' => 'نسخه BBS شما چیست (این تنظیمات نحوه خورج از سیستم را تعیین می کند)',
+  'use_post_based_groups' => 'استفاده از گروههای پستی؟?',
+  'logout_flag_yes' => '2.0.5 یا بالاتر',
+  'logout_flag_no' => '2.0.4 یا پائین تر',
+  'use_post_based_groups_explanation' => 'آیا گروههای BBS که با تعداد ارسالهایشان شناخته می شوند به این اکانت انتقال پیدا کنند یا فقط گروههای پیش فرض (مدیریت را آسان می کند،توصیه شده) میتوانید در آینده این تنظیمات را تغییر دهید.',
+  'use_post_based_groups_yes' => 'بله',
+  'use_post_based_groups_no' => 'خیر',
+  'error_title' => 'باید خطای بوجود آمده را تصحیح کنید.به صفحه قبل برگردید.',
+  'error_specify_bbs' => 'باید نرم افزاری را که می خواهید با گالری هماهنگ کنید مشخص کنید!',
+  'error_no_blank_name' => 'نمی توانید فیلد نام فایل هماهنگ کننده اضافی را خالی بگذارید.',
+  'error_no_special_chars' => 'نام فایل هماهنگ کننده نمیتواند شامل کاراکتر های خاص بجز خط زیر (_) و خط فاصله (-) باشد!',
+  'error_bridge_file_not_exist' => 'فایل هماهنگ کننده %s روی سرور پیدا نشد.ممکن است آنرا نصب نکرده باشید!',
+  'finalize' => 'فعال/غیر فعال کردن سیستم هماهنگ ساز',
+  'finalize_explanation' => 'به هر حال ، تنظیمات انجام شده در دیتابیس نگهداری می شوند اما سیستم هماهنگ ساز فعال نشده. شما در هر لحظه می توانید آنرا فعال یا غیر فعال کنید. نام کاربری و رمز عبور اصلی گالری راهمیشه به خاطر داشته باشید ، زیرا برای دادن تغییرات به آن نیازمند هستید. اگر خطایی رخ داد به %s بروید و سیستم هماهنگ سازی را غیر فعال کنید البته برای این کار به نام کاربری و رمز عبور گالری (معمولا نام کاربری و رمزی که هنگام نصب گالری معین کرده اید)احتیاج دارید.',
+  'your_bridge_settings' => 'تنظیمات برنامه هماهنگ شده',
+  'title_enable' => 'فعال کردن ، تجحیز/هماهنکی با %s',
+  'bridge_enable_yes' => 'فعال',
+  'bridge_enable_no' => 'غیر فعال',
+  'error_must_not_be_empty' => 'نباید خالی باشد',
+  'error_either_be' => 'باید %s یا %s باشد',
+  'error_folder_not_exist' => '%s وجود ندارد. مقداری را که برای %s وارد نموده اید تصحیح کنید',
+  'error_cookie_not_readible' => 'گالری قادر به خواندن کوکی با نام %s نیست. مقدار وارد شده برای %s را تصحیح کنید ، یا به بخش مدیریت BBS بروید و مطمئن شوید که آدرس داده شده برای کوکی ، برای گالری قابل خواندن است.',
+  'error_mandatory_field_empty' => 'شما نمی توانید فیلد %s را خالی بگذارید. - مقدار مخصوص به این فیلد را وارد نمائید.',
+  'error_no_trailing_slash' => 'علامت اسلش در انتهای فیلد %s نباید باشد.',
+  'error_trailing_slash' => 'علامت اسلش باید در انتهای فیلد %s باشد.',
+  'error_db_connect' => 'امکان برقراری اتصال با سرور MySql با اطلاعاتی که دادید نیست. پیغام داده شده از طرف سرور این است:',
+  'error_db_name' => 'گالری ارتباط را برقرار کرده است اما قادر به پیدا کردن دیتابیس %s نیست. مطمئن شوید که تنظیمات %s را درست وارد کرده اید.پیغام سرور این است:',
+  'error_prefix_and_table' => '%s و',
+  'error_db_table' => 'جدول %s پیدا نشد. مطمئن شوید که %s درست باشد.',
+  'recovery_title' => 'مدیریت هماهنگ سازی : بازسازی حیاتی',
+  'recovery_explanation' => 'اگر برای مدیریت سیستم هماهنگ ساز اینجا آمده اید، ابتدا باید ابا دسترسی مدیریت وارد شوید. اگر نمی توانید وارد شوید احتمالا سیستم هماهنگ ساز درست کار نمی کند ، شما می توانید این سیستم را از طریق این صفحه غیر فعال کنید. ورود نام کاربری و رمز عبور شما را به سیستم وارد نمی کند ، با این کار فقط سیستم هماهنگ ساز غیر فعال می شود. برای اطلاعات بیشتر به توضیحات تکمیلی مراجعه کنید.',
+  'username' => 'نام کاربری',
+  'password' => 'رمز عبور',
+  'disable_submit' => 'ارسال',
+  'recovery_success_title' => 'شناسایی با موفقیت انجام شد',
+  'recovery_success_content' => 'سیستم هماهنگ ساز با موفقیت غیر فعال شد. گالری در خال خاضر به صورت تنها کار می کند.',
+  'recovery_success_advice_login' => 'برای تنظیم یا راه اندازی سیستم هماهنگ ساز با دسترسی مدیریت وارد شوید',
+  'goto_login' => 'رفتن به صفحه ورود',
+  'goto_bridgemgr' => 'رفتن به مدبربت هماهنگ سازی',
+  'recovery_failure_title' => 'شناسایی موفق نبود',
+  'recovery_failure_content' => 'اطلاعات وارد شده اشتباه است. شما باید اطلاعات مدیریت اصلی گالری را وارد کنید (اطلاعاتی که در هنگام نصب گالری استفاده شده).',
+  'try_again' => 'سعی مجدد',
+  'recovery_wait_title' => 'زمان انتظار هنوز تمام نشده',
+  'recovery_wait_content' => 'برای امنیت بیشتر امکان سعی مجدد پس از زمان کوتاه نیست ، باید مدتی صبر کنید تا سیستم امکان سعی مجدد به شما بدهد.',
+  'wait' => 'صبر کنید',
+  'create_redir_file' => 'ساخت فایل تغییر جهت (توصیه می شود)',
+  'create_redir_file_explanation' => 'برای تغییر جهت کاربران و برگشت آنها به گالری بعد از ورود به BBS باید ، فایلی برای تغییر جهت در زیرشاخه BBS بسازید. وقتی این گزینه انتخاب شده باشد، مدیریت هماهنگ سازی سعی در ساخت این فایل خواهد کرد و یا کدی را برای ساخت دستی این فایل به شما می دهد.',
+  'browse' => 'مرور کردن',
+);
+
+// ------------------------------------------------------------------------- //
+// File calendar.php //cpg1.4
+// ------------------------------------------------------------------------- //
+
+if (defined('CALENDAR_PHP')) $lang_calendar_php = array(
+  'title' => 'تقويم', //cpg1.4
+  'close' => 'بسته', //cpg1.4
+  'clear_date' => 'clear date', //cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File catmgr.php
+// ------------------------------------------------------------------------- //
+
+if (defined('CATMGR_PHP')) $lang_catmgr_php = array(
+  'miss_param' => 'پارامتر هاي لازم براي  \'%s\'داده نشده !',
+  'unknown_cat' => 'موضوع انتخاب شده در ديتابيس نيست!',
+  'usergal_cat_ro' => 'موضوع گالري هاي كاربر قابل حذف نيست !',
+  'manage_cat' => 'مديريت موضوعات',
+  'confirm_delete' => 'مطمئنيد كه مي خواهيد اين موضوع را حذف كنيد ?',
+  'category' => 'موضوع',
+  'operations' => 'عمليات',
+  'move_into' => 'انتقال به',
+  'update_create' => 'تغيير/تصحيح موضوع',
+  'parent_cat' => 'موضوع مادر',
+  'cat_title' => 'عنوان موضوع',
+  'cat_thumb' => 'ریز عكس(Thumbnail) موضوع', //cpg1.3.0
+  'cat_desc' => 'شرح موضوع',
+  'categories_alpha_sort' => 'مرتب سازي موضوع بر اساس حروف الفبا (بجاي مرتب سازي هاي ديگر)', //cpg1.4
+  'save_cfg' => 'ثبت پيكربندي', //cpg1.4);
+);
+
+// ------------------------------------------------------------------------- //
+// File admin.php //cpg1.4
+// ------------------------------------------------------------------------- //
+
+if (defined('ADMIN_PHP')) $lang_admin_php = array(
+  'title' => 'پيكربندي گالري', //cpg1.4
+  'manage_exif' => 'مديريت نمايش exif', //cpg1.4
+  'manage_plugins' => 'مديريت PlugIn', //cpg1.4
+  'manage_keyword' => 'مديريت كليد واژه', //cpg1.4
+  'restore_cfg' => 'بازگشت به حالت پيكربندي اوليه',
+  'save_cfg' => 'ثبت پيكربندي جديد',
+  'notes' => 'نكته ها',
+  'info' => 'اطلاعات',
+  'upd_success' => 'پيكربندي گالري به روز رساني شد',
+  'restore_success' => 'پيكربندي پيش فرض گالري بازسازي شد',
+  'name_a' => 'نام (صعودي)',
+  'name_d' => 'نام (نزولي)',
+  'title_a' => 'عنوان (صعودي)',
+  'title_d' => 'عنوان (نزولي)',
+  'date_a' => 'تاريخ (صعودي)',
+  'date_d' => 'تاريخ (نزولي)',
+  'pos_a' => 'محل (صعودي)', //cpg1.4
+  'pos_d' => 'محل (نزولي)', //cpg1.4
+  'th_any' => 'Max Aspect',
+  'th_ht' => 'ارتفاع',
+  'th_wd' => 'عرض',
+  'label' => 'نام زبان',
+  'item' => 'آيتم',
+  'debug_everyone' => 'همه',
+  'debug_admin' => 'فقط مديريت',
+  'no_logs'=> 'خاموش', //cpg1.4
+  'log_normal'=> 'عادي', //cpg1.4
+  'log_all' => 'همه', //cpg1.4
+  'view_logs' => 'نمايش گزارشها', //cpg1.4
+  'click_expand' => 'بر روي نام هر قسمت كليك كنيد تا باز شود', //cpg1.4
+  'expand_all' => 'باز كردن همه', //cpg1.4
+  'notice1' => '(*) در صورتي كه در ديتابيس شما فايلي وجود دارد هرگز اين تنظيمات را تغيير ندهيد.', //cpg1.4 - (relocated)
+  'notice2' => '(**) وقتي اين تنظيمات را تغيير مي دهيد ، تنها فايل هايي كه از اين لحظه اضافه مي گردند شامل تغييرات مي شوند ، بنابراين در صورتي كه فايلي در ديتابيس داريد بهتر است اين تنظيمات را تغيير ندهيد. شما ميتوانيد براي تغيير تنظيمات فايل هاي موجود از "<a href="util.php">ابزار مديريت</a> (resize pictures)" كه در بخش مديريت است استفاده كنيد.</div><br />', //cpg1.4 - (relocated)
+  'notice3' => '(***) همه گزارشات به زبان انگليسي ثبت ميگردند', //cpg1.4 - (relocated)
+  'bbs_disabled' => 'وقتي در حالت هماهنگ سازي با ديگر نرم افزار ها هستيد اين عمليات (فانكشن) غير فعال است', //cpg1.4
+  'auto_resize_everyone' => 'همه', //cpg1.4
+  'auto_resize_user' => 'فقط كاربر', //cpg1.4
+  'ascending' => 'صعودي', //cpg1.4
+  'descending' => 'نزولي', //cpg1.4
+);
+
+if (defined('ADMIN_PHP')) $lang_admin_data = array(
+  'تنظيمات اصلي',
+  array('نام گالري', 'gallery_name', 0, 'f=index.htm&amp;as=admin_general_name&amp;ae=admin_general_name_end'), //cpg1.4
+  array('شرح گالري', 'gallery_description', 0, 'f=index.htm&amp;as=admin_general_description&amp;ae=admin_general_description_end'), //cpg1.4
+  array('ايميل مدير گالري', 'gallery_admin_email', 0, 'f=index.htm&amp;as=admin_general_email&amp;ae=admin_general_email_end'), //cpg1.4
+  array('آدرس گالري شما (براي لينك  در كارت) براي ديدن تصویرهاي بيشتر', 'ecards_more_pic_target', 0, 'f=index.htm&amp;as=admin_general_coppermine-url&amp;ae=admin_general_coppermine-url_end'), //cpg1.4
+  array('آدرس صفحه اصلي', 'home_target', 0, 'f=index.htm&amp;as=admin_general_home-url&amp;ae=admin_general_home-url_end'), //cpg1.4
+  array('امكان دريافت فايلهاي مورد علاقه (Favorites) به صورت فشرده', 'enable_zipdownload', 1, 'f=index.htm&amp;as=admin_general_zip-download&amp;ae=admin_general_zip-download_end'), //cpg1.4
+  array('تفاوت زمان محلي مسبت به GMT (رمان جاري: ' . localised_date(-1, $comment_date_fmt) . ')','time_offset',0, 'f=index.htm&amp;as=admin_general_time-offset&amp;ae=admin_general_time-offset_end&amp;top=1'), //cpg1.4
+  array('فعال سازي كد كزدن رمز عبور (غير قابل برگشت)','enable_encrypted_passwords',1, 'f=index.htm&amp;as=admin_general_encrypt_password_start&amp;ae=admin_general_encrypt_password_end&amp;top=1'), // cpg 1.4
+  array('فعال سازي آيكون هاي راهنما (فقط در حالت انگليسي)','enable_help',9, 'f=index.htm&amp;as=admin_general_help&amp;ae=admin_general_help_end'), //cpg1.4
+  array('فعال سازي قابليت كليك كردن بر روي واژه ها در جستجو','clickable_keyword_search',14, 'f=index.htm&amp;as=admin_general_keywords_start&amp;ae=admin_general_keywords_end'), //cpg1.4
+  array('فغال سازي PlugIn ها', 'enable_plugins', 12, 'f=index.htm&amp;as=admin_general_enable-plugins&amp;ae=admin_general_enable-plugins_end'),  //cpg1.4
+  array('امكان محدود كردن آي پي هاي شخصي (آي پي هاي محلي و غير قابل روت)', 'ban_private_ip', 1,  'f=index.htm&amp;as=admin_general_private-ip&amp;ae=admin_general_private-ip_end'), //cpg1.4
+  array('امكان جستجو(Browse)در سيستم افزودن فايل اتوماتيك', 'browse_batch_add', 1, 'f=index.htm&amp;as=admin_general_browsable_batch_add&amp;ae=admin_general_browsable_batch_add_end'), //cpg1.4
+
+  'زبان و تنظيمات كاراكتر ست',
+  array('زبان', 'lang', 5, 'f=index.htm&amp;as=admin_language_language&amp;ae=admin_language_language_end'), //cpg1.4
+  array('استفاده از انگليسي در صورت عدم دسترسي به ترجمه لغت؟', 'language_fallback', 1, 'f=index.htm&amp;as=admin_language_fallback&amp;ae=admin_language_fallback_end'), //cpg1.4
+  array('سيستم كد پيج و كاراكتر ست', 'charset', 4, 'f=index.htm&amp;as=admin_language_charset&amp;ae=admin_language_charset_end'), //cpg1.4
+  array('نمايش ليست زبانها', 'language_list', 1, 'f=index.htm&amp;as=admin_language_list&amp;ae=admin_language_list_end'), //cpg1.4
+  array('نمايش پرچم زبانها', 'language_flags', 8, 'f=index.htm&amp;as=admin_language_flags&amp;ae=admin_language_flags_end&amp;top=1'), //cpg1.4
+  array('نمايش "تنظيم مجدد" در بخش زبانها', 'language_reset', 1, 'f=index.htm&amp;as=admin_language_reset&amp;ae=admin_language_reset_end&amp;top=1'), //cpg1.4
+  //array('Display previous/next on tabbed pages', 'previous_next_tab', 1), //cpg1.4
+
+  'تنظيمات تم',
+  array('تم', 'theme', 6, 'f=index.htm&amp;as=admin_theme_theme&amp;ae=admin_theme_theme_end'), //cpg1.4
+  array('نمايش ليست تم ها', 'theme_list', 1, 'f=index.htm&amp;as=admin_theme_theme_list&amp;ae=admin_theme_theme_list_end'), //cpg1.4
+  array('نمايش "تنظيم مجدد" در بخش تم ها', 'theme_reset', 1, 'f=index.htm&amp;as=admin_theme_theme_reset&amp;ae=admin_theme_theme_reset_end'), //cpg1.4
+  array('نمايش سوالات متداول', 'display_faq', 1, 'f=index.htm&amp;as=admin_theme_faq&amp;ae=admin_theme_faq_end'), //cpg1.4
+  array('نام لينكهاي اضافي در منو', 'custom_lnk_name', 0,'f=index.htm&amp;as=admin_theme_custom_lnk_name&amp;ae=admin_theme_custom_lnk_name_end'), //cpg1.4
+  array('آدرس لينكهاي اضافي در منو', 'custom_lnk_url', 0,'f=index.htm&amp;as=admin_language_custom_lnk_url&amp;ae=admin_language_custom_lnk_url_end'), //cpg1.4
+  array('نمايش راهنماي bbcode', 'show_bbcode_help', 1, 'f=index.htm&amp;as=admin_theme_bbcode&amp;ae=admin_theme_bbcode_end&amp;top=1'), //cpg1.4
+  array('نمایش بلوكی كه شامل لوگوهای تائیدW3 و همچنین PHP & Mysqlاست در حالتی كه تم قابلیت CSS و XHTML دارد.','vanity_block',1, 'f=index.htm&amp;as=vanity_block&amp;ae=vanity_block_end'), //cpg1.4
+  array('آدرس فايل Header', 'custom_header_path', 0, 'f=index.htm&amp;as=admin_theme_include_path_start&amp;ae=admin_theme_include_path_end'), //cpg1.4
+  array('آدرس فايل Footer', 'custom_footer_path', 0, 'f=index.htm&amp;as=admin_theme_include_path_start&amp;ae=admin_theme_include_path_end'), //cpg1.4
+
+  'نحوه نمايش ليست آلبوم',
+  array('عرض جدول (Table) اصلي (پيكسل يا %)', 'main_table_width', 0, 'f=index.htm&amp;as=admin_album_table-width&amp;ae=admin_album_table-width_end'), //cpg1.4
+  array('تعداد سطوح موضوعات براي نمايش', 'subcat_level', 0, 'f=index.htm&amp;as=admin_album_category-levels&amp;ae=admin_album_category-levels_end'), //cpg1.4
+  array('تعداد آلبوم ها براي نمايش', 'albums_per_page', 0, 'f=index.htm&amp;as=admin_album_number&amp;ae=admin_album_number_end'), //cpg1.4
+  array('تعداد ستونها ليست آلبوم براي نمايش', 'album_list_cols', 0, 'f=index.htm&amp;as=admin_album_columns&amp;ae=admin_album_columns_end'), //cpg1.4
+  array('ابعاد ريز عكسها (Thumbnails) به پيكسل', 'alb_list_thumb_size', 0, 'f=index.htm&amp;as=admin_album_thumbnail-size&amp;ae=admin_album_thumbnail-size_end'), //cpg1.4
+  array('محتواي صفحه اصلي', 'main_page_layout', 0, 'f=index.htm&amp;as=admin_album_list_content&amp;ae=admin_album_list_content_end'), //cpg1.4
+  array('نمايش ريز عكسهاي آلبوم سطح اول در موضوع','first_level',1, 'f=index.htm&amp;as=admin_album_first-level_thumbs&amp;ae=admin_album_first-level_thumbs_end'), //cpg1.4
+  array('مرتب سازي موضوعات بر حسب حروف الفبا (بجاي مرتب سازي هاي ديگر)','categories_alpha_sort',1, 'f=index.htm&amp;as=admin_album_list_alphasort_start&amp;ae=admin_album_list_alphasort_end'), //cpg1.4
+  array('نمايش تعداد فايلعاي لينك شده','link_pic_count',1, 'f=index.htm&amp;as=admin_album_linked_files_start&amp;ae=admin_album_linked_files_end'), //cpg1.4
+
+  'نجوه نمايش ريز عكسها (Thumbnails)',
+  array('تعداد ستونها در صفحه ريز عكسها', 'thumbcols', 0, 'f=index.htm&amp;as=admin_thumbnail_columns&amp;ae=admin_thumbnail_columns_end'), //cpg1.4
+  array('تعداد رديفها در صفحه ريز عكسها', 'thumbrows', 0, 'f=index.htm&amp;as=admin_thumbnail_rows&amp;ae=admin_thumbnail_rows_end'), //cpg1.4
+  array('بيشترين تعداد Tab براي نمايش', 'max_tabs', 10, 'f=index.htm&amp;as=admin_thumbnail_tabs&amp;ae=admin_thumbnail_tabs_end'), //cpg1.4
+  array('نمايش توضيحات تصویر(علاوه بر عنوان)زير ريزعكسها', 'caption_in_thumbview', 1, 'f=index.htm&amp;as=admin_thumbnail_display_caption&amp;ae=admin_thumbnail_display_caption_end'), //cpg1.4
+  array('نمايش دفعات مشاهده تصویر زير ريزعكسها', 'views_in_thumbview', 1, 'f=index.htm&amp;as=admin_thumbnail_display_views&amp;ae=admin_thumbnail_display_views_end'), //cpg1.4
+  array('نمايش تعداد نظرات نوشته شده زير ريزعكسها', 'display_comment_count', 1, 'f=index.htm&amp;as=admin_thumbnail_display_comments&amp;ae=admin_thumbnail_display_comments_end'), //cpg1.4
+  array('نمايش نام ارسال كننده زير ريزعكسها', 'display_uploader', 1, 'f=index.htm&amp;as=admin_thumbnail_display_uploader&amp;ae=admin_thumbnail_display_uploader_end'), //cpg1.4
+  //array('نمايش نام مدير ارسال كننده زير ريزعكسها', 'display_admin_uploader', 1, 'f=index.htm&amp;as=admin_thumbnail_display_admin_uploader&amp;ae=admin_thumbnail_display_admin_uploader_end'), //cpg1.4
+  array('نمايش نام فايل در زير ريز عكسها', 'display_filename', 1, 'f=index.htm&amp;as=admin_thumbnail_display_filename&amp;ae=admin_thumbnail_display_filename_end'), //cpg1.4
+  //array('نمايش توضيحات آلبوم', 'alb_desc_thumb', 1, 'f=index.htm&amp;as=admin_thumbnail_display_description&amp;ae=admin_thumbnail_display_description_end'), //cpg1.4
+  array('پيش فرض نحوه مرتب سازي فايلها', 'default_sort_order', 3, 'f=index.htm&amp;as=admin_thumbnail_default_sortorder&amp;ae=admin_thumbnail_default_sortorder_end'), //cpg1.4
+  array('حداقل تعداد راي براي نمايش فايل در ليست  \'بالاترين امتيازات\'', 'min_votes_for_rating', 0, 'f=index.htm&amp;as=admin_thumbnail_minimum_votes&amp;ae=admin_thumbnail_minimum_votes_end'), //cpg1.4
+
+  'نحوه نمايش تصویرها', //cpg1.4
+  array('عرض جدول نمايش فايل (به پيكسل يا %)', 'picture_table_width', 0, 'f=index.htm&amp;as=admin_image_comment_table-width&amp;ae=admin_image_comment_table-width_end'), //cpg1.4
+  array('به صورت پيش فرض اطلاعات فايل قابل مشاهده است', 'display_pic_info', 1, 'f=index.htm&amp;as=admin_image_comment_info_visible&amp;ae=admin_image_comment_info_visible_end'), //cpg1.4
+  array('جداكثر طول توضيحات فايل', 'max_img_desc_length', 0, 'f=index.htm&amp;as=admin_image_comment_descr_length&amp;ae=admin_image_comment_descr_length_end'), //cpg1.4
+  array('حداكثر تعداد حرف در يك كلمه', 'max_com_wlength', 0, 'f=index.htm&amp;as=admin_image_comment_chars_per_word&amp;ae=admin_image_comment_chars_per_word_end'), //cpg1.4
+  array('نمايش بصورت فيلم', 'display_film_strip', 1, 'f=index.htm&amp;as=admin_image_comment_filmstrip_toggle&amp;ae=admin_image_comment_filmstrip_toggle_end'), //cpg1.4
+  array('نمايش نام در زير ريز عكسها در حالت فيلم', 'display_film_strip_filename', 1, 'f=index.htm&amp;as=admin_image_comment_display_film_strip_filename&amp;ae=admin_image_comment_display_film_strip_filename_end'), //cpg1.4
+  array('تعداد آيتمها در حالت فيلم', 'max_film_strip_items', 0, 'f=index.htm&amp;as=admin_image_comment_filmstrip_number&amp;ae=admin_image_comment_filmstrip_number_end'), //cpg1.4
+  array('مكث بين هر اسلايد در حالت نمايش اسلايد پشت سر هم به ميلي ثانيه (1 ثانيه = 1000 ميلي ثانيه)', 'slideshow_interval', 0, 'f=index.htm&amp;as=admin_image_comment_slideshow_interval&amp;ae=admin_image_comment_slideshow_interval_end'), //cpg1.4
+
+  'تنظيمات نظر دهي', //cpg1.4
+  array('كلمات زشت از نظرات حذف شود', 'filter_bad_words', 1, 'f=index.htm&amp;as=admin_image_comment_bad_words&amp;ae=admin_image_comment_bad_words_end'), //cpg1.4
+  array('اجازه استفاده از شكلك در نظرات', 'enable_smilies', 1, 'f=index.htm&amp;as=admin_image_comment_smilies&amp;ae=admin_image_comment_smilies_end'), //cpg1.4
+  array('اجازه نظر دهي مجدد و مختلف به يك كاربر براي يك تصویر(از كار انداختن سيستم حفاظت نظرات)', 'disable_comment_flood_protect', 1, 'f=index.htm&amp;as=admin_image_comment_flood&amp;ae=admin_image_comment_flood_end'), //cpg1.4
+  array('حداكثر تعداد خطوط در نظر', 'max_com_lines', 0, 'f=index.htm&amp;as=admin_image_comment_lines&amp;ae=admin_image_comment_lines_end'), //cpg1.4
+  array('حداكثر تعداد كاراكتر در يك نظر', 'max_com_size', 0, 'f=index.htm&amp;as=admin_image_comment_length&amp;ae=admin_image_comment_length_end'), //cpg1.4
+  array('ارسال ايميل به مديريت در صورت نظر دهي به هر تصویر', 'email_comment_notification', 1, 'f=index.htm&amp;as=admin_image_comment_admin_notify&amp;ae=admin_image_comment_admin_notify_end'), //cpg1.4
+  array('نحوه مرتب سازي نظرات', 'comments_sort_descending', 17, 'f=index.htm&amp;as=admin_comment_sort_start&amp;ae=admin_comment_sort_end'), //cpg1.4
+  array('پيشوند براي نظر كاربران ناشناخته', 'comments_anon_pfx', 0, 'f=index.htm&amp;as=comments_anon_pfx&amp;ae=comments_anon_pfx_end'), //cpg1.4
+
+  'تنظيمات فايلها و ريز عكسها (Thumbnails)',
+  array('كيفيت فايلهاي JPEG', 'jpeg_qual', 0, 'f=index.htm&amp;as=admin_picture_thumbnail_jpeg_quality&amp;ae=admin_picture_thumbnail_jpeg_quality_end'), //cpg1.4
+  array('حداكثر اندازه ريزعكسها <a href="#notice2" class="clickable_option">**</a>', 'thumb_width', 0, 'f=index.htm&amp;as=admin_picture_thumbnail_max-dimension&amp;ae=admin_picture_thumbnail_max-dimension_end'), //cpg1.4
+  array('اندازه مورد استفاده (عرض يا ارتفاع يا نسبت عرض به ارتفاع) <a href="#notice2" class="clickable_option"><b>**</b></a>', 'thumb_use', 7, 'f=index.htm&amp;as=admin_picture_thumbnail_use-dimension&amp;ae=admin_picture_thumbnail_use-dimension_end'), //cpg1.4
+  array('ايجاد تصاوير متوسط','make_intermediate',1, 'f=index.htm&amp;as=admin_picture_thumbnail_intermediate_toggle&amp;ae=admin_picture_thumbnail_intermediate_toggle_end'), //cpg1.4
+  array('حداكثر عرض يا ارتفاع تصوير/فيلم متوسط <a href="#notice2" class="clickable_option">**</a>', 'picture_width', 0, 'f=index.htm&amp;as=admin_picture_thumbnail_intermediate_dimension&amp;ae=admin_picture_thumbnail_intermediate_dimension_end'), //cpg1.4
+  array('حداكثر حجم فايل ارسالي (كيلوبايت)', 'max_upl_size', 0, 'f=index.htm&amp;as=admin_picture_thumbnail_max_upload_size&amp;ae=admin_picture_thumbnail_max_upload_size_end'), //cpg1.4
+  array('حداكثر عرض يا ارتفاع تصوير/فيلم ارسالي ( پيكسل )', 'max_upl_width_height', 0, 'f=index.htm&amp;as=admin_picture_thumbnail_max_upload_dimension&amp;ae=admin_picture_thumbnail_max_upload_dimension_end'), //cpg1.4
+  array('تغيير اندازه اتوماتيك فايلهايي كه ابعادشان بيش از اندازه تعيين شده است', 'auto_resize', 16, 'f=index.htm&amp;as=admin_picture_thumbnail_auto-resize&amp;ae=admin_picture_thumbnail_auto-resize_end'), //cpg1.4
+
+  'تنظيمات پيشرفته فايلها و ريز عكسها',
+  array('آلبومها مي توانند خصوصي باشند (نكته:اگر از حالت \'بله\' به حالت \'خير\' برويد تمامي آلبومهاي خصوصي جاري نيز به حالت عمومي در خواهند آمد.)', 'allow_private_albums', 1, 'f=index.htm&amp;as=admin_picture_thumb_advanced_private_toggle&amp;ae=admin_picture_thumb_advanced_private_toggle_end'), //cpg1.4
+  array('نمايش آيكون آلبوم خصوصي به كاربران وارد نشده به سيستم','show_private',1, 'f=index.htm&amp;as=admin_picture_thumb_advanced_private_icon_show&amp;ae=admin_picture_thumb_advanced_private_icon_show_end'), //cpg1.4
+  array('كاركترهاي ممنوع براي نام فايل', 'forbiden_fname_char',0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_filename_forbidden_chars&amp;ae=admin_picture_thumb_advanced_filename_forbidden_chars_end'), //cpg1.4
+  //array('پسوندهاي قابل قبول براي ارسال فايل', 'allowed_file_extensions',0, 'f=index.htm&amp;as=&amp;ae=_end'), //cpg1.4
+  array('نوع تصاوير مجاز (png,jpeg,...)', 'allowed_img_types',0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_pic_extensions&amp;ae=admin_picture_thumb_advanced_pic_extensions_end'), //cpg1.4
+  array('نوع فيلمهاي مجاز', 'allowed_mov_types',0, 'f=index.htm&amp;as=admin_thumbs_advanced_movie&amp;ae=admin_thumbs_advanced_movie_end'), //cpg1.4
+  array('نمايش اتوماتيك فيلم', 'media_autostart',1, 'f=index.htm&amp;as=admin_movie_autoplay&amp;ae=admin_movie_autoplay_end'), //cpg1.4
+  array('نوع موزيك هاي مجاز', 'allowed_snd_types',0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_audio_extensions&amp;ae=admin_picture_thumb_advanced_audio_extensions_end'), //cpg1.4
+  array('نوع متنهاي مجاز', 'allowed_doc_types',0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_doc_extensions&amp;ae=admin_picture_thumb_advanced_doc_extensions_end'), //cpg1.4
+  array('روش تغيير اندازه فايل','thumb_method',2, 'f=index.htm&amp;as=admin_picture_thumb_advanced_resize_method&amp;ae=admin_picture_thumb_advanced_resize_method_end'), //cpg1.4
+  array('آدرس نرم افزار تغيير اندازه ImageMagick(اگر انتخاب شده)(مثال /usr/bin/X11/)', 'impath', 0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_im_path&amp;ae=admin_picture_thumb_advanced_im_path_end'), //cpg1.4
+  //array('Allowed image types (only valid for ImageMagick)', 'allowed_img_types',0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_allowed_imagetypes&amp;ae=admin_picture_thumb_advanced_allowed_imagetypes_end'), //cpg1.4
+  array('دستورات خط فرمان براي ImageMagick', 'im_options', 0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_im_commandline&amp;ae=admin_picture_thumb_advanced_im_commandline_end'), //cpg1.4
+  array('خواندن اطلاعات EXIF فايل هايِ JPEG', 'read_exif_data', 13, 'f=index.htm&amp;as=admin_picture_thumb_advanced_exif&amp;ae=admin_picture_thumb_advanced_exif_end'), //cpg1.4
+  array('خواندن IPTC فايل هاي JPEG', 'read_iptc_data', 1, 'f=index.htm&amp;as=admin_picture_thumb_advanced_iptc&amp;ae=admin_picture_thumb_advanced_iptc_end'), //cpg1.4
+  array('زيرشاخه براي آلبوم ها <a href="#notice1" class="clickable_option">*</a>', 'fullpath', 0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_albums_dir&amp;ae=admin_picture_thumb_advanced_albums_dir_end'), //cpg1.4
+  array('زيرشاخه براي فايل كاربران <a href="#notice1" class="clickable_option">*</a>', 'userpics', 0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_userpics_dir&amp;ae=admin_picture_thumb_advanced_userpics_dir_end'), //cpg1.4
+  array('پيشوند تصاوير متوسط <a href="#notice1" class="clickable_option">*</a>', 'normal_pfx', 0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_intermediate_prefix&amp;ae=admin_picture_thumb_advanced_intermediate_prefix_end'), //cpg1.4
+  array('پيشوند ريزعكسها <a href="#notice1" class="clickable_option">*</a>', 'thumb_pfx', 0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_thumbs_prefix&amp;ae=admin_picture_thumb_advanced_thumbs_prefix_end'), //cpg1.4
+  array('حالت پيش فرض زيرشاخه ها', 'default_dir_mode', 0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_chmod_folder&amp;ae=admin_picture_thumb_advanced_chmod_folder_end'), //cpg1.4
+  array('حالت پيش فرض فايلها', 'default_file_mode', 0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_chmod_files&amp;ae=admin_picture_thumb_advanced_chmod_files_end'), //cpg1.4
+
+  'تنظيمات كاربران',
+  array('امكان ثبت نام كاربران جديد', 'allow_user_registration', 1, 'f=index.htm&amp;as=admin_allow_registration&amp;ae=admin_allow_registration_end'), //cpg1.4
+  array('امكان دسترسي كاربران وارد نشده به سيستم', 'allow_unlogged_access', 1, 'f=index.htm&amp;as=admin_allow_unlogged_access&amp;ae=admin_allow_unlogged_access_end'), //cpg1.4
+  array('ايجاد كاربر جديد منوط به كنترل از طريق ارسال نامه الكترونيك و دريافت جواب (eMail verification)', 'reg_requires_valid_email', 1, 'f=index.htm&amp;as=admin_registration_verify&amp;ae=admin_registration_verify_end'), //cpg1.4
+  array('اطلاع به مديريت در مورد ايجاد كاربر جديد از طريق نامه الكترونيك', 'reg_notify_admin_email', 1, 'f=index.htm&amp;as=admin_registration_notify&amp;ae=admin_registration_notify_end'), //cpg1.4
+  array('تائيديه مديريت براي ثبت نام نهايي', 'admin_activation', 1, 'f=index.htm&amp;as=admin_activation&amp;ae=admin_activation_end'),  //cpg1.4
+  array('امكان استفاده دو كاربر از يك آدرس پست الكترونيك', 'allow_duplicate_emails_addr', 1, 'f=index.htm&amp;as=admin_allow_duplicate_emails_addr&amp;ae=admin_allow_duplicate_emails_addr_end'), //cpg1.4
+  array('اطلاع به مديريت در مورد فايلهاي ارسال شده و منتظر براي تائيد', 'upl_notify_admin_email', 1, 'f=index.htm&amp;as=admin_approval_notify&amp;ae=admin_approval_notify_end'), //cpg1.4
+  array('امكان ديدن ليست كاربران براي كاربران وارد شده به سيستم', 'allow_memberlist', 1, 'f=index.htm&amp;as=admin_user_memberlist&amp;ae=admin_user_memberlist_end'), //cpg1.4
+  array('امكان تغيير آدرس پست الكترونيك به كاربران در بخش مشخصات شخصي', 'allow_email_change', 1, 'f=index.htm&amp;as=admin_user_allow_email_change&amp;ae=admin_user_allow_email_change_end'), //cpg1.4
+  array('امكان دادن كنترل به كاربران در مورد تصویرهاي شخصي خودشان در گالريهاي عمومي', 'users_can_edit_pics', 1, 'f=index.htm&amp;as=admin_user_editpics_public_start&amp;ae=admin_user_editpics_public_end'), //cpg1.4
+  array('تعداد دفعات دادن رمز عبور اشتباه تا بسته شدن موقت اكانت (براي جلوگيري از حملات Brute Force)', 'login_threshold', 0, 'f=index.htm&amp;as=admin_user_login_start&amp;ae=admin_user_login_end'), //cpg1.4
+  array('مدت زمان بسته شدن موقت اكانت بعد از دادن رمز عبور اشتباه', 'login_expiry', 0, 'f=index.htm&amp;as=admin_user_login_start&amp;ae=admin_user_login_end'), //cpg1.4
+  array('ارسال گزارش به مديريت', 'report_post', 1, 'f=index.htm&amp;as=admin_user_enable_report&amp;ae=admin_user_enable_report_end'),  //cpg1.4
+
+// custom profile fields,  //cpg1.4
+  'اطلاعات اضافي براي مشخصات كاربران (در صورت عدم استفاده خالي بگذاريد)
+  از اطلاعات شخصي 6 براي اطلاعات طولاني مثل بيوگرافي استفاده كنيد', //cpg1.4
+  array('نوع اطلاعات شخصي 1', 'user_profile1_name', 0, 'f=index.htm&amp;as=admin_custom&amp;ae=admin_custom_end'), //cpg1.4
+  array('نوع اطلاعات شخصي 2', 'user_profile2_name', 0), //cpg1.4
+  array('نوع اطلاعات شخصي 3', 'user_profile3_name', 0), //cpg1.4
+  array('نوع اطلاعات شخصي 4', 'user_profile4_name', 0), //cpg1.4
+  array('نوع اطلاعات شخصي 5', 'user_profile5_name', 0), //cpg1.4
+  array('نوع اطلاعات شخصي 6', 'user_profile6_name', 0), //cpg1.4
+
+  'فيلدهاي اضافي براي مشخصات فايلها (در صورت عدم استفاده خالي بگذاريد)',
+  array('نام فيلد اول', 'user_field1_name', 0, 'f=index.htm&amp;as=admin_custom_image&amp;ae=admin_custom_image_end'), //cpg1.4
+  array('نام فيلد دوم', 'user_field2_name', 0),
+  array('نام فيلد سوم', 'user_field3_name', 0),
+  array('نام فيلد چهارم', 'user_field4_name', 0),
+
+  'تنظيمات كوكي',
+  array('نام كوكي', 'cookie_name', 0, 'f=index.htm&amp;as=admin_cookie_name&amp;ae=admin_cookie_name_end'), //cpg1.4
+  array('آدرس كوكي', 'cookie_path', 0, 'f=index.htm&amp;as=admin_cookie_path&amp;ae=admin_cookie_path_end'), //cpg1.4
+
+  'تنظيمات سرور پست الكترونيك  (معمولا هيچ تغييري داده نمي شود ، اگر مطمئن نيستيد تغييري ندهيد)', //cpg1.4
+  array('سرور SMTP (اگر خالي بگذاريد از Sendmail استفاده خواهد شد)', 'smtp_host', 0, 'f=index.htm&amp;as=admin_email&amp;ae=admin_email_end'), //cpg1.4
+  array('نام كاربري SMTP (اين نام نام مديريتي شما نيست!)', 'smtp_username', 0), //cpg1.4
+  array('رمز عبور SMTP', 'smtp_password', 0), //cpg1.4
+
+  'گزارشات و وضعيت سايت', //cpg1.4
+  array('گزارش گيري <a href="#notice3" class="clickable_option">***</a>', 'log_mode', 11, 'f=index.htm&amp;as=admin_logging_log_mode&amp;ae=admin_logging_log_mode_end'), //cpg1.4
+  array('گزارش كارتها', 'log_ecards', 1, 'f=index.htm&amp;as=admin_general_log_ecards&amp;ae=admin_general_log_ecards_end'), //cpg1.4
+  array('نگهداري وضعيت راي گيري ها','vote_details',1, 'f=index.htm&amp;as=admin_logging_votedetails&amp;ae=admin_logging_votedetails_end'), //cpg1.4
+  array('نگهداري وضعيت هيت (Hit)هاي سايت','hit_details',1, 'f=index.htm&amp;as=admin_logging_hitdetails&amp;ae=admin_logging_hitdetails_end'), //cpg1.4
+
+  'تنظيمات نگهداري و برنامه نويسي', //cpg1.4
+  array('فعال سازي حالت ديباگ', 'debug_mode', 9, 'f=index.htm&amp;as=debug_mode&amp;ae=debug_mode_end'), //cpg1.4
+  array('نمايش نكته ها در حالت ديباگ', 'debug_notice', 1, 'f=index.htm&amp;as=admin_misc_debug_notices&amp;ae=admin_misc_debug_notices_end'), //cpg1.4
+  array('گالري خارج از سرويس', 'offline', 1, 'f=index.htm&amp;as=admin_general_offline&amp;ae=admin_general_offline_end'), //cpg1.4
+);
+
+
+// ------------------------------------------------------------------------- //
+// File db_ecard.php //cpg1.3.0
+// ------------------------------------------------------------------------- //
+
+if (defined('DB_ECARD_PHP')) $lang_db_ecard_php = array(
+  'title' => 'ارسال كارت پستال الكترونيك', //cpg1.3.0
+  'ecard_sender' => 'ارسال كننده', //cpg1.3.0
+  'ecard_recipient' => 'دريافت كننده', //cpg1.3.0
+  'ecard_date' => 'تاريخ', //cpg1.3.0
+  'ecard_display' => 'نمايش كارت', //cpg1.3.0
+  'ecard_name' => 'نام', //cpg1.3.0
+  'ecard_email' => 'آدرس پست الكترونيك', //cpg1.3.0
+  'ecard_ip' => 'IP #', //cpg1.3.0
+  'ecard_ascending' => 'صعودي', //cpg1.3.0
+  'ecard_descending' => 'نزولي', //cpg1.3.0
+  'ecard_sorted' => 'ثبت شده', //cpg1.3.0
+  'ecard_by_date' => 'در تاريخ', //cpg1.3.0
+  'ecard_by_sender_name' => ' نام ارسال كننده ', //cpg1.3.0
+  'ecard_by_sender_email' => ' آدرس پست الكترونيك ارسال كننده', //cpg1.3.0
+  'ecard_by_sender_ip' => 'IP address ارسال كننده', //cpg1.3.0
+  'ecard_by_recipient_name' => 'نام دريافت كننده', //cpg1.3.0
+  'ecard_by_recipient_email' => 'آدرس پست الكترونيك دريافت كننده', //cpg1.3.0
+  'ecard_number' => 'نمايش آمار ثبتِ %s تا %s از %s', //cpg1.3.0
+  'ecard_goto_page' => 'برو به صفحه', //cpg1.3.0
+  'ecard_records_per_page' => 'تعداد آماد در هر صفحه', //cpg1.3.0
+  'check_all' => 'انتخاب همه', //cpg1.3.0
+  'uncheck_all' => 'عدم انتخاب همه', //cpg1.3.0
+  'ecards_delete_selected' => 'حذف كارت انتخاب شده', //cpg1.3.0
+  'ecards_delete_confirm' => 'مطمئنيد كه مي خواهيد كارت مورد نظر را حذف كنيد؟! چك باكس را علامت بزنيد !!', //cpg1.3.0
+  'ecards_delete_sure' => 'مطمئن هستم!', //cpg1.3.0
+);
+
+
+// ------------------------------------------------------------------------- //
+// File db_input.php
+// ------------------------------------------------------------------------- //
+
+if (defined('DB_INPUT_PHP')) $lang_db_input_php = array(
+        'empty_name_or_com' => 'لطفا نام و نظر خود را قيد بفرمائيد',
+        'com_added' => 'نظر شما ارسال شد',
+        'alb_need_title' => 'لطفا براي آلبوم عنوان ذكر كنيد !',
+        'no_udp_needed' => 'به روز رساني احتياج نيست.',
+        'alb_updated' => 'آلبوم به روز رساني شده است',
+        'unknown_album' => 'آلبوم انتخاب شده موجود نيست يا شما اجازه ارسال فايل به اين آلبوم را نداريد',
+        'no_pic_uploaded' => 'فايلي ارسال نشد!<br /><br />اگر فايلي را براي ارسال انتخاب كرده بوديد ،چك كنيد كه آيا سرور اجازه ارسال فايل را ميدهد يا خير...',
+        'err_mkdir' => 'عدم امكان ايجاد دايركتوري %s !',
+        'dest_dir_ro' => 'ودايركتوري مقصد %s براي نوشتن توسط برنامه غير قابل دسترسي است !',
+        'err_move' => 'امكان فرستادن %s به %s نيست!',
+        'err_fsize_too_large' => 'اندازه فايل ارسالي شما از حد مجاز بيشتر است (حداكثر اندازه مجاز %s x %s است) !',
+        'err_imgsize_too_large' => 'حجم فايل ارسالي شما از حد مجاز بيشتر است (حداكثر حجم مجاز %s KB است) !',
+        'err_invalid_img' => 'فايل ارسالي شما يك فايل تصويري نيست !',
+        'allowed_img_types' => 'شما فقط مي توانيد تصاوير با فرمت %s ارسال نمائيد.',
+        'err_insert_pic' => 'فايل \'%s\' نمي تواند در آلبوم قرار بگيرد ',
+        'upload_success' => 'فايل شما با موفقيت ارسال شد<br /><br />بعد از اجازه مديريت فايل شما قابل بازديد مي گردد.',
+        'notify_admin_email_subject' => '%s - نتيجه ارسال', //cpg1.3.0
+        'notify_admin_email_body' => 'تصويري توسط %s ارسال شده كه به اجازه شما براي بازديد نياز دارد. %s ببينيد', //cpg1.3.0
+        'info' => 'اطلاعات',
+        'com_added' => 'نظر اضافه شد',
+        'alb_updated' => 'آلبوم به روز رساني شد',
+        'err_comment_empty' => 'متن نظر شما خالي است !',
+        'err_invalid_fext' => 'پسوندهاي قابل قبول براي فايلهاي ارسالي : <br /><br />%s.',
+        'no_flood' => 'متاسفانه شما  آخرين نفري هستيد كه در حال حاضر نظر داده است<br /><br />ميتوانيد نظر خود را ويرايش كنيد',
+        'redirect_msg' => 'شما در حال تغيير مسير هستيد.<br /><br /><br />اگر مسير به طور اتوماتيك تغيير نكرد بر روي  \'ادامه\' كليك كنيد',
+        'upl_success' => 'فايل شما با موفقيت اضافه شد.',
+  'email_comment_subject' => 'Comment posted on Coppermine Photo Gallery', //cpg1.3.0
+  'email_comment_body' => 'Someone has posted a comment on your gallery. See it at', //cpg1.3.0
+  'album_not_selected' => 'آلبوم انتخاب نشده', //cpg1.4
+  'com_author_error' => 'اين نام قبلا ثبت شده اگر رمز عبور داريد آنرا وارد نمائيد در غير اين صورت نام ديگري وارد نمائيد', //cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File delete.php
+// ------------------------------------------------------------------------- //
+
+if (defined('DELETE_PHP')) $lang_delete_php = array(
+  'caption' => 'عنوان',
+  'fs_pic' => 'بزرگترين اندازه تصوير',
+  'del_success' => 'با موفقيت حذف شد',
+  'ns_pic' => 'انداره طبيعي تصوير',
+  'err_del' => 'امكان حدف نيست',
+  'thumb_pic' => 'ريزعكس (Thumbnail)',
+  'comment' => 'نظر',
+  'im_in_alb' => 'تصوير در آلبوم',
+  'alb_del_success' => 'آلبوم \'%s\' با موفقيت حذف شد',
+  'alb_mgr' => 'مديريت آلبوم',
+  'err_invalid_data' => 'اطلاعات اشتباه از \'%s\' دريافت شد',
+  'create_alb' => 'آلبوم \'%s\' با موفقيت ايجاد شد',
+  'update_alb' => 'به روز رساني آلبوم \'%s\' با عنوان \'%s\' و ايندكس \'%s\'',
+  'del_pic' => 'حدف فايل',
+  'del_alb' => 'حدف آلبوم',
+  'del_user' => 'حدف كاربر',
+  'err_unknown_user' => 'كاربر انتخاب شده موجود نيست !',
+  'err_empty_groups' => 'جدول گروه وجود ندارد يا خالي است!', //cpg1.4
+  'comment_deleted' => 'نظر با موفقيت حدف شد',
+  'npic' => 'تصوير', //cpg1.4
+  'pic_mgr' => 'مديريت تصوير', //cpg1.4
+  'update_pic' => 'به روزرساني تصویر \'%s\' با نام فايل \'%s\' و با ايندكس \'%s\'', //cpg1.4
+  'username' => 'نام كاربري', //cpg1.4
+  'anonymized_comments' => '%s نظر ناشناخته', //cpg1.4
+  'anonymized_uploads' => '%s ارسال عمومي ناشناخته', //cpg1.4
+  'deleted_comments' => '%s نظر حذف شد', //cpg1.4
+  'deleted_uploads' => '%s ارسال عمومي حذف شد', //cpg1.4
+  'user_deleted' => 'كاربر %s حذف شد', //cpg1.4
+  'activate_user' => 'كاربر فعال', //cpg1.4
+  'user_already_active' => 'اكانت  فعال شده است', //cpg1.4
+  'activated' => 'فعال شده', //cpg1.4
+  'deactivate_user' => 'غير فعال كردن كاربر', //cpg1.4
+  'user_already_inactive' => 'اكانت غير فعال شد', //cpg1.4
+  'deactivated' => 'غير فعال شده', //cpg1.4
+  'reset_password' => 'دوباره سازي رمز عبور(ها)', //cpg1.4
+  'password_reset' => 'رمز عبور دوباره سازي شد به %s', //cpg1.4
+  'change_group' => 'تعيير گروه اوليه', //cpg1.4
+  'change_group_to_group' => 'تغيير گروه از %s به %s انجام شد.', //cpg1.4
+  'add_group' => 'افزودن گروه ثانويه', //cpg1.4
+  'add_group_to_group' => 'كاربر %s به گروه %s افزوده شد.اين كاربر هم اكنون عضو %s  به عنوان گروه اوليه و %s به عنوان گروه ثانويه است.', //cpg1.4
+  'status' => 'وضعيت', //cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File displayecard.php
+// ------------------------------------------------------------------------- //
+
+if (defined('DISPLAYECARD_PHP')) {
+
+$lang_displayecard_php = array(
+  'invalid_data' => 'اطلاعات كارت توسط نرم افزار پست الكترونيك شما از بين رفته است،آزمايش لينك تمام شد', //cpg1.4
+);
+}
+
+// ------------------------------------------------------------------------- //
+// File displayimage.php
+// ------------------------------------------------------------------------- //
+
+if (defined('DISPLAYIMAGE_PHP')){
+
+$lang_display_image_php = array(
+  'confirm_del' => 'مطمئنيد كه مي خواهيد اين فايل را حدف كنيد؟ \\nنظرات مربوط به اين فايل نيز حدف خواهند شد', //js-alert //cpg1.3.0
+  'del_pic' => 'حذف اين فايل', //cpg1.3.0
+  'size' => '%s در %s پيكسل',
+  'views' => '%s دفعه',
+  'slideshow' => 'نمايش پيوسته ( Slideshow )',
+  'stop_slideshow' => 'توقف نمايش پيوسته',
+  'view_fs' => 'براي نمايش بزرگترين اندازه كليك كنيد',
+  'edit_pic' => 'ويرايش اطلاعات فايل', //cpg1.4
+  'edit_pic' => 'ويرايش توضيحات', //cpg1.3.0
+  'crop_pic' => 'برش و چرخاندن', //cpg1.3.0
+);
+
+$lang_picinfo = array(
+  'title' =>'مشخصات فايل',
+  'Filename' => 'نام فايل',
+  'Album name' => 'نام آلبوم',
+  'Rating' => 'رتبه (%s راي)',
+  'Keywords' => 'كلمات كليدي',
+  'File Size' => 'حجم فايل',
+  'Date Added' => 'تاريخ ارسال', //cpg1.4
+  'Dimensions' => 'ابعاد فايل ',
+  'Displayed' => 'دفعات مشاهده',
+  'URL' => 'URL', //cpg1.4
+  'Make' => 'Make', //cpg1.4
+  'Model' => 'Model', //cpg1.4
+  'DateTime' => 'Date Time', //cpg1.4
+  'ISOSpeedRatings'=>'ISO', //cpg1.4
+  'MaxApertureValue' => 'Max Aperture', //cpg1.4
+  'FocalLength' => 'Focal length', //cpg1.4
+  'Comment' => 'نظر',
+  'addFav'=>'افزودن به مورد علاقه ها',
+  'addFavPhrase'=>'مورد علاقه ها',
+  'remFav'=>'حذف از مورد علاقه ها',
+  'iptcTitle'=>'IPTC Title',
+  'iptcCopyright'=>'IPTC Copyright',
+  'iptcKeywords'=>'IPTC Keywords',
+  'iptcCategory'=>'IPTC Category',
+  'iptcSubCategories'=>'IPTC Sub Categories',
+  'ColorSpace' => 'Color Space', //cpg1.4
+  'ExposureProgram' => 'Exposure Program', //cpg1.4
+  'Flash' => 'Flash', //cpg1.4
+  'MeteringMode' => 'Metering Mode', //cpg1.4
+  'ExposureTime' => 'Exposure Time', //cpg1.4
+  'ExposureBiasValue' => 'Exposure Bias', //cpg1.4
+  'ImageDescription' => ' Image Description', //cpg1.4
+  'Orientation' => 'Orientation', //cpg1.4
+  'xResolution' => 'X Resolution', //cpg1.4
+  'yResolution' => 'Y Resolution', //cpg1.4
+  'ResolutionUnit' => 'Resolution Unit', //cpg1.4
+  'Software' => 'Software', //cpg1.4
+  'YCbCrPositioning' => 'YCbCrPositioning', //cpg1.4
+  'ExifOffset' => 'Exif Offset', //cpg1.4
+  'IFD1Offset' => 'IFD1 Offset', //cpg1.4
+  'FNumber' => 'FNumber', //cpg1.4
+  'ExifVersion' => 'Exif Version', //cpg1.4
+  'DateTimeOriginal' => 'DateTime Original', //cpg1.4
+  'DateTimedigitized' => 'DateTime digitized', //cpg1.4
+  'ComponentsConfiguration' => 'Components Configuration', //cpg1.4
+  'CompressedBitsPerPixel' => 'Compressed Bits Per Pixel', //cpg1.4
+  'LightSource' => 'Light Source', //cpg1.4
+  'ISOSetting' => 'ISO Setting', //cpg1.4
+  'ColorMode' => 'Color Mode', //cpg1.4
+  'Quality' => 'Quality', //cpg1.4
+  'ImageSharpening' => 'Image Sharpening', //cpg1.4
+  'FocusMode' => 'Focus Mode', //cpg1.4
+  'FlashSetting' => 'Flash Setting', //cpg1.4
+  'ISOSelection' => 'ISO Selection', //cpg1.4
+  'ImageAdjustment' => 'Image Adjustment', //cpg1.4
+  'Adapter' => 'Adapter', //cpg1.4
+  'ManualFocusDistance' => 'Manual Focus Distance', //cpg1.4
+  'DigitalZoom' => 'Digital Zoom', //cpg1.4
+  'AFFocusPosition' => 'AF Focus Position', //cpg1.4
+  'Saturation' => 'Saturation', //cpg1.4
+  'NoiseReduction' => 'Noise Reduction', //cpg1.4
+  'FlashPixVersion' => 'Flash Pix Version', //cpg1.4
+  'ExifImageWidth' => 'Exif Image Width', //cpg1.4
+  'ExifImageHeight' => 'Exif Image Height', //cpg1.4
+  'ExifInteroperabilityOffset' => 'Exif Interoperability Offset', //cpg1.4
+  'FileSource' => 'File Source', //cpg1.4
+  'SceneType' => 'Scene Type', //cpg1.4
+  'CustomerRender' => 'Customer Render', //cpg1.4
+  'ExposureMode' => 'Exposure Mode', //cpg1.4
+  'WhiteBalance' => 'White Balance', //cpg1.4
+  'DigitalZoomRatio' => 'Digital Zoom Ratio', //cpg1.4
+  'SceneCaptureMode' => 'Scene Capture Mode', //cpg1.4
+  'GainControl' => 'Gain Control', //cpg1.4
+  'Contrast' => 'Contrast', //cpg1.4
+  'Sharpness' => 'Sharpness', //cpg1.4
+  'ManageExifDisplay' => 'Manage Exif Display', //cpg1.4
+  'submit' => 'ارسال', //cpg1.4
+  'success' => 'اطلاعات با موفقيت به روز رساني شد.', //cpg1.4
+  'details' => 'جزئيات', //cpg1.4
+);
+
+$lang_display_comments = array(
+  'OK' => 'تائيد',
+  'edit_title' => 'ويرايش اين نظر',
+  'confirm_delete' => 'مطمئنيد كه مي خواهيد اين نظر را حدف كنيد؟',
+  'add_your_comment' => 'نظر بدهيد',
+  'name'=>'نام',
+  'comment'=>'نظر',
+  'your_name' => 'نامعلوم',
+  'report_comment_title' => 'گزارش اين نظر به مديريت', //cpg1.4
+);
+
+$lang_fullsize_popup = array(
+        'click_to_close' => 'بر روي تصوير كليك كنيد تا اين پنجره بسته شود',
+);
+
+}
+
+// ------------------------------------------------------------------------- //
+// File ecard.php
+// ------------------------------------------------------------------------- //
+
+if (defined('ECARDS_PHP') || defined('DISPLAYECARD_PHP')) $lang_ecard_php =array(
+  'title' => 'ارسال كارت پستال',
+  'invalid_email' => '<font color="red"><b>Warning</b></font> : آدرس پست الكترونيك اشتباه است :', //cpg1.4
+  'ecard_title' => 'كارت پستالي از  %s براي شما',
+  'error_not_image' => 'فقظ تصاوير را مي توان به صورت كارت پستال ارسال كرد.', //cpg1.3.0
+  'view_ecard' => 'اگر كارت پستال صحيح نمايش داده نشد اينجا كليك كنيد',
+  'view_ecard_plaintext' => 'براي مشاهده كارت لطفا اين آدرس را در قسمت آدرس بروزر خود وارد نمائيد :', //cpg1.4
+  'view_more_pics' => 'براي ديدن تصویرهاي بيشتر اينجا كليك كنيد', //cpg1.4
+  'send_success' => 'كارت شما با موفقيت ارسال شد',
+  'send_failed' => 'متاسفانه سرور نمي تواند كارت شما را ارسال نمايد...',
+  'from' => 'از',
+  'your_name' => 'نام فرستنده',
+  'your_email' => 'آدرس پست الكترونيك فرسنتده',
+  'to' => 'به',
+  'rcpt_name' => 'نام گيرنده',
+  'rcpt_email' => 'آدرس پست الكترونيك گيرنده',
+  'greetings' => 'عنوان پيام',
+  'message' => 'پيام',
+  'ecards_footer' => 'ارسال شده توسط %s از آي پي آدرس %s در %s (زمان گالري)', //cpg1.4
+  'preview' => 'پيش نمايش كارت', //cpg1.4
+  'preview_button' => 'پيش نمايش', //cpg1.4
+  'submit_button' => 'ارسال كارت', //cpg1.4
+  'preview_view_ecard' => 'اين لينك كمكي در زمان ساخت كارت توليد مي شود و براي پيش نمايش نيست', //cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File report_file.php //cpg1.4
+// ------------------------------------------------------------------------- //
+
+if (defined('REPORT_FILE_PHP') || defined('DISPLAYREPORT_PHP')) $lang_report_php =array(
+  'title' => 'گزارش به مديريت', //cpg1.4
+  'invalid_email' => '<b>اخطار</b> : آدرس پست الكترونيك اشتباه است!', //cpg1.4
+  'report_subject' => ' گزارشي از %s از گالري %s', //cpg1.4
+  'view_report' => 'لينك كمكي اگر گزارش درست نمايش داده نشد', //cpg1.4
+  'view_report_plaintext' => 'براي مشاهده گزارش اين آدرس را در قسمت آدرس بروزر خود وارد نمائيد :', //cpg1.4
+  'view_more_pics' => 'گالري', //cpg1.4
+  'send_success' => 'گزارش شما ارسال شد', //cpg1.4
+  'send_failed' => 'متاسفانه سرور نمي تواند گزارش شما را ارسال كند...', //cpg1.4
+  'from' => 'از', //cpg1.4
+  'your_name' => 'نام شما', //cpg1.4
+  'your_email' => 'آدرس پست الكترونيك شما', //cpg1.4
+  'to' => 'To', //cpg1.4
+  'administrator' => 'مديريت', //cpg1.4
+  'subject' => 'موضوع', //cpg1.4
+  'comment_field_name' => 'گزارش نظر توسط "%s"', //cpg1.4
+  'reason' => 'دليل', //cpg1.4
+  'message' => 'پيغام', //cpg1.4
+  'report_footer' => 'ارسال شده توسط %s از آي پي %s در %s (زمان گالري)', //cpg1.4
+  'obscene' => 'زشت/وقيح', //cpg1.4
+  'offensive' => 'حمله /تجاوز', //cpg1.4
+  'misplaced' => 'بي مورد/بي محل', //cpg1.4
+  'missing' => 'گم شده', //cpg1.4
+  'issue' => 'خطا/غير قابل مشاهده', //cpg1.4
+  'other' => 'ديگر', //cpg1.4
+  'refers_to' => 'گزارش بر ميگردد به', //cpg1.4
+  'reasons_list_heading' => 'دليل (هاي) گزارش :', //cpg1.4
+  'no_reason_given' => 'دليل ارائه نشد', //cpg1.4
+  'go_comment' => 'برو به نظر', //cpg1.4
+  'view_comment' => 'نمايش كامل گزارش ونظر', //cpg1.4
+  'type_file' => 'فايل', //cpg1.4
+  'type_comment' => 'نظر', //cpg1.4
+  'invalid_data' => 'اطلاعات گزارش توسط نرم افزار پست الكترونیك خراب شده است .برای دسترسی به اطلاعات از لینك استفاده كنید.', //cpg1.4
+
+);
+
+// ------------------------------------------------------------------------- //
+// File editpics.php
+// ------------------------------------------------------------------------- //
+
+if (defined('EDITPICS_PHP')) $lang_editpics_php = array(
+  'pic_info' => 'مشخصات فايل', //cpg1.3.0
+  'album' => 'آلبوم',
+  'title' => 'عنوان تصویر',
+  'filename' => 'نام فايل', //cpg1.4
+  'desc' => 'توضيحات',
+  'keywords' => 'كليد واژه ها',
+  'new_keyword' => 'كليد واژه جديد', //cpg1.4
+  'new_keywords' => 'كليد واژه هلي جديد پيدا شدند', //cpg1.4
+  'existing_keyword' => 'كليد واژه موجود', //cpg1.4
+  'pic_info_str' => '%s &times; %s - %sكيلوبايت - %s مشاهده - %s راي',
+  'approve' => 'فايل مجوز', //cpg1.3.0
+  'postpone_app' => 'منتظر مجوز',
+  'del_pic' => 'حدف فايل', //cpg1.3.0
+  'del_all' => 'حذف تمام فايلها', //cpg1.4
+  'read_exif' => 'خواندن مجدد اطلاعات EXIF ً', //cpg1.3.0
+  'reset_view_count' => 'صفر كردن شمارنده مشاهده',
+  'reset_all_view_count' => 'صفز كزدن تمام شمارنده هاي مشاهده', //cpg1.4
+  'reset_votes' => 'صفر كردن شمارنده راي',
+  'reset_all_votes' => 'صفر كردن تمام شمارنده هاي راي', //cpg1.4
+  'del_comm' => 'حدف نظرات',
+  'upl_approval' => 'مجوز ارسال',
+  'del_all_comm' => 'حذف تمامي نظرات', //cpg1.4
+  'edit_pics' => 'ويرايش فايلها', //cpg1.3.0
+  'see_next' => 'فايل بعدي', //cpg1.3.0
+  'see_prev' => 'فايل قبلي', //cpg1.3.0
+  'n_pic' => '%s فايل', //cpg1.3.0
+  'n_of_pic_to_disp' => 'تعداد نمايش تصوير', //cpg1.3.0
+  'apply' => 'اعمال تغييرات', //cpg1.3.0
+  'crop_title' => 'Main Image Editor', //cpg1.3.0
+  'preview' => 'پيش نمايش', //cpg1.3.0
+  'save' => 'ثبت تصوير', //cpg1.3.0
+  'save_thumb' =>'ثبت به صورت ريزعكس ( Thumbnail )', //cpg1.3.0
+  'gallery_icon' => 'اين را آيكون من كن', //cpg1.4
+  'sel_on_img' =>'منطقه انتخاب شده بايد كاملا داخل تصوير باشد!', //js-alert
+  'album_properties' =>'مشخصات آلبوم', //cpg1.4
+  'parent_category' =>'موضوع مادر', //cpg1.4
+  'thumbnail_view' =>'نمايش بصورت ريز عكس', //cpg1.4
+  'select_unselect' =>'انتخاب/عدم انتخاب همه', //cpg1.4
+  'file_exists' => " فايل مقصد '%s' وجود دارد!", //cpg1.4
+  'rename_failed' => "تغيير نام از %s به %s انجام نشد!", //cpg1.4
+  'src_file_missing' => "فايل مبدا '%s' پيدا نشد!", // cpg 1.4
+  'mime_conv' => "امكان تبديل فايل از '%s' به '%s' نيست!",//cpg1.4
+  'forb_ext' => 'اين پسوند فايل غير مجاز است.',//cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File faq.php //cpg1.3.0
+// ------------------------------------------------------------------------- //
+
+if (defined('FAQ_PHP')) $lang_faq_php = array(
+  'faq' => 'سئوال هاي متداول', //cpg1.3.0
+  'toc' => 'محتويات', //cpg1.3.0
+  'question' => 'سئوال: ', //cpg1.3.0
+  'answer' => 'جواب: ', //cpg1.3.0
+);
+
+if (defined('FAQ_PHP')) $lang_faq_data = array(
+  'سئوال هاي متداول اصلي', //cpg1.3.0
+  array('چرا بايد حتما ثبت نام (رجيستر) كنم؟', ' حتما لازم نيست نام نويسي كنيد اما اعضا اين گالري مي توانند از امكاناتي نظير  ارسال تصوير و داشتن ليستي از علاقمندي شخصي ، رتبه دهي به تصاوير و ارسال نظر و ...استفاده كنند.', 'allow_user_registration', '0'), //cpg1.3.0
+  array('چگونه ثبت نام كنم؟', 'بر روي لينك "كاربر جديد "، كليك كنيد و فرم مربوط را به طور كامل پر كنيد ، اگر مديريت سيستم فعال سازي با نامه الكترونيك را فعال كرده باشد ، پس از ارسال فرم نامه اي از طرف سيستم براي آدرس شما ارسال مي گردد كه در آن نحوه فعال سازي عضويت شما توضيح داده شده. عضويت شما از اولين ورود شما به سيستم شروع مي گردد.', 'allow_user_registration', '1'), //cpg1.3.0
+  array('چگونه وارد سيستم شوم؟', 'بر روي لينك "ورود"، كليك كنيد و نام كاربري و رمز ورودي كه در هنگام ثبت نام استفاده نموده ايد را وارد كنيد، اگر ميخواهيد سيستم در دفعات بعدي شما را بدون پرسيدن نام و رمز وارد كند بايد  " مرا فراموش نكن "، را تيك بزنيد <br /><b>مهم : شما بايد كوكي خود را فعال كنيد در غير اين صورت سيستم قادر به شناساي شما در دفعات بعدي نخواهد بود و همچنين نبايد كوكي سايت را از روي كامپيوتر خود حدف كنيد.</b>', 'offline', 0), //cpg1.3.0
+  array('چرا نمي توانم وارد شوم؟', 'آيا ثبت نام كرده ايد؟ شگر ثبت نام كرده ايد آيا بر روي لينكي كه توسط نامه براي شما فرستاده شده كليك كرده ايد؟ در ساير موارد با مديريت سايت ( bmossavari@gmail.com )تماس بگيريد.', 'offline', 0), //cpg1.3.0
+  array('رمز ورود را گم كرده ام چه كار كنم؟', 'اگر سايت به شما لينك "رمز فراموش شده"، را داده از آن استفاده كنيد در غير اينصورت با مديريت تماس بگيريد.', 'offline', 0), //cpg1.3.0
+  //array('What if I changed my email address?', 'Just simply login and change your email address through "Profile"', 'offline', 0), //cpg1.3.0
+  array('چگونه تصويري را در "علاقمندي هاي من"، ثبت كنم؟', 'بر روي تصوير كليك كنيد و سپس بر روي "مشخصات تصوير"(<img src="images/info.gif" width="16" height="16" border="0" alt="Picture information" />) كليك كنيد ; به پايين صفحه برويد و بر روي "به علاقمندي ها اضافه كن"، كليك كنيد<br /> مديريت بايد امكان مشخصات فايل را به صورت پيش فرض فعال كرده باشد.<br />مهم :كوكي بايد فعال باشد و حدف نشده باشد.', 'offline', 0), //cpg1.3.0
+  array('چگونه به یک فایل امتیاز بدهم؟', 'بر روی ریز عکس کلیک کنید و به انتهای صفحه بروید و امتیازبندی را انتخاب کنید.', 'offline', 0),
+  array('چگونه به یک عکس نظر بدهم؟', 'بر روی ریز عکس کلیک کنید به انتهای صفحه بروید و نظرتان را تایپ کنید.', 'offline', 0),
+  array('چگونه فایل ارسال کنم؟', 'بر روی "ارسال فایل" کلیک کنید آلبوم را انتخاب کنید. بر روی دکمه "مرور" کلیک کنید و فایل مورد نظرتان را انتخاب کنید ، بر روی "باز کردن" کلیک کنید ، تیتر و توضیح را اگر می خواهید اضافه کنید. بر روی "ارسال" کلیک کنید.<br /><br />روش دیگر ، برای کاربرانی که از ویندوز ایکس پی استفاده میکنند ، شما می توانید چند فایل هم زمان را با استفاده از XP Publishing Wizard مستقیما در زیرشاخه شخصی خودتان کپی کنید.<br />برای دریافت دستور العمل و دریافت فایل رجیستری مورد نیاز ، بر <a href="xp_publish.php">اینجا</a> کلیک کنید.', 'allow_private_albums', 1), //cpg1.4
+  array('کجا فایل را ارسال کنم؟', 'شما می توانید فایلها را به هر آلبومی در "گالری من" ارسال کنید. ممکن است مدیریت امکان ارسال فایل به آلبومهای دیگری در گالری اصلی را داده باشد.', 'allow_private_albums', 0),
+  array('چه نوع و اندازه از فایل می توانم ارسال کنم؟', 'اندزه و نوع (jpg, png, ...) فایل به مدیریت بستگی دارد.', 'offline', 0),
+  array('چگونه در "گالری من" آلبوم بسازم ، حذف کنم یا تغییر نام بدهم؟?', 'شما باید در "محیط مدیریت" باشید <br /> به قسمت " ساخت / مرتب کردن آلبومهای من" بروید و بر روی "جدید" کلیک کنید. "آلبوم جدید" را به نام دلخواه خود تغییر دهید.<br />همچنین می تونید نام آلبومهای موجود را تغییر دهید.<br />بر روی "تائید تغییرات" کلیک کنید.', 'allow_private_albums', 0),
+  array('چکونه میتوانم دسترسی کاربران را به آلبوم خودم محدود کنم؟', 'شما باید در "محیط مدیریت" باشید <br />به قسمت "تغییرات آلبوم" بروید. در بخش "به روز رسانی آلبوم" آلبومی را که می خواهید تغییر دهید انتخاب کنید.<br />در این قسمت شما می توانید نام ، توضیحات ، ریز عکس ، محدود کردن مشاهده و مجوز نظر دهی / امتیاز بندی را تعیین کنید و تغییر دهید.<br />بر روی "به روز رسانی آلبوم" کلیک کنید.', 'allow_private_albums', 1),
+  array('چگونه می توانم گالری کاربران دیگر را ببینم؟', 'به قسمت "لیست آلبوم ها" برویدو "گالری کاربران " را انتخاب کنبد.', 'allow_private_albums', 1),
+  array('کوکی چیست؟', 'کوکی اطلاعاتی متنی است که از طرف سایت بر روی رایانه شما ثبت می شود.<br />کوکی ها معمولا برای شناسایی کاربران در آینده و نگهداری اطلاعات ورود کاربر برای جلوگیری از درخواست مجدد رمز عبور  استفاده می شود.', 'offline', 0),
+  array('از کجا می توانم این برنامه را برای نصب بر روی سایت خودم تهیه کنم؟', 'این گالری به صورت کد باز تحت حمایت GNU GPL نوشته شده. این برنامه توانایی های زیادی دارد و بر روی پلتفورمهای زیادی نصب می شود. برای دریافت این برنامه از وب سایت اصلی اینجا <a href="http://coppermine-gallery.net/">Coppermine Home Page</a> کلیک کنید و برای دریافت این برنامه با توانایی های فارسی به سایت <a href="http://www.kishmate.com">KISH MATE</a> مراجعه کنید.', 'offline', 0),
+
+  'مرور در سایت',
+  array('لیست آلبوم چیست؟', 'این بخش تمام آلبومهایی را که در موضوع جاری هستند با لینک به هر آلبوم نمایش می دهد. اگر داخل یک موضوع نیستید ، این بخش تمام موضوعاتی را که در کل گالری وجود دارد را با لینک به هر موضوع نمایش می دهد. ریز عکسها به هر موضوع لینک هستند.', 'offline', 0),
+  array('گالری شما چیست؟', 'این قابلیت به کاربران امکان می دهد گالری شخصی خود را بسازند ، حذف کنند ، آلبوم ها را تغییر دهند و هم چنین فایل به آنها ارسال کنند.', 'allow_private_albums', 1), //cpg1.4
+  array('فرق "محیط مدیریت" با "محیط کاربری" چیست؟', 'در این محیط کاربر می تواند گالری خود و در صورت مجوز مدیریت گالری دیگران را تغییر دهد.', 'allow_private_albums', 0),
+  array('ارسال عکس چیست؟', 'این قابلیت به کاربر اجازه می دهد فایل به گالری ارسال کند (اندازه و نوع فایل توسط مدیریت تعیین می شود).', 'allow_private_albums', 0),
+  array('آخرین ارسال چیست؟', 'این قابلیت آخرین فایل ارسالها را به سایت نمایش می دهد.', 'offline', 0),
+  array('آخرین نظرها چیست؟', 'این قابلیت آخرین نظرهایی که به فایل ها توسط کاربران داده شده نمایش می دهد.', 'offline', 0),
+  array('بیشترین بازدید شده چیست؟', 'این قابلیت فایلهایی را که بیشترین بازدید را داشته اند نمایش می دهد (چه کاربر به سیستم وارد شده باشد یا نشده باشد).', 'offline', 0),
+  array('بالاترین امتیاز چیست؟', 'این قابلیت فایلهای با بالاترین امتیاز داده شده توسط کاربران را نمایش می دهد ، نمایش امتیاز متوسط (برای مثال : پنج کاربر هر کدام امتیاز <img src="images/rating3.gif" width="65" height="14" border="0" alt="" />:امتیاز متوسط فایل <img src="images/rating3.gif" width="65" height="14" border="0" alt="" /> خواهد بود اگر پنج کاربر به یک فایل به ترتیب امتیاز 1 تا 5 بدهند امتیاز متوسط فایل <img src="images/rating3.gif" width="65" height="14" border="0" alt="" /> خواهد بود. )<br /> امتیاز بندی بین <img src="images/rating5.gif" width="65" height="14" border="0" alt="best" /> (بهترین) تا <img src="images/rating0.gif" width="65" height="14" border="0" alt="worst" /> (بدترین) است.', 'offline', 0),
+  array('مورد علاقه های شما چیست؟', 'این قابلیت به کاربر اجازه می دهد تا فایلهای مورد علاقه خود را مشخص کند تا همیشه در دسترسش باشند ، این بخش از کوکی برای نگهداری اطلاعات استفاده می کند.', 'offline', 0),
+);
+
+
+// ------------------------------------------------------------------------- //
+// File forgot_passwd.php //cpg1.3.0
+// ------------------------------------------------------------------------- //
+
+if (defined('FORGOT_PASSWD_PHP')) $lang_forgot_passwd_php = array(
+  'forgot_passwd' => 'يادآوري رمز ورود', //cpg1.3.0
+  'err_already_logged_in' => 'شما هم اكنون وارد شده ايد !', //cpg1.3.0
+  'enter_email' => 'آدرس پست الكترونيك خود را وارد نمائيد', //cpg1.4
+  'submit' => 'ارسال', //cpg1.3.0
+  'illegal_session' => 'مدت زمان مجاز اجراي اين صفحه به پايان رسيده و يا مجوز اجرا اشتباه است', //cpg1.4
+  'failed_sending_email' => 'امكان ارسال نامه يادآوري رمز عبور نيست!', //cpg1.3.0
+  'email_sent' => 'نامه اي به همراه نام كاربري و رمز ورود شما به آدرس %s ارسال شد', //cpg1.3.0
+  'verify_email_sent' => 'نامه اي به %s ارسال شد.براي اتمام عمليات لطفا صندوق پست الكترونيك خود را مشاهده فرمائيد.', //cpg1.4
+  'err_unk_user' => 'اخطار: كاربري با اين نام موجود نيست', //cpg1.3.0
+  'account_verify_subject' => '%s - (درخواست رمز عبور جديد)New password request', //cpg1.4
+  'account_verify_body' => 'درخواست شما براي رمز عبور جديد دريافت شد.اگر ميخواهيد عمليات به اتمام برسد و رمز عبور جديد براي شما فرستاده شود بر روي لينك زير كليك كنيد:
+
+%s', //cpg1.4
+  'passwd_reset_subject' => '%s - (رمز عبور جديد شما)Your New Password', //cpg1.4
+  'passwd_reset_body' => 'رمز عبور جديدي كه درحواست كرده بوديد:
+Username: %s
+Password: %s
+براي ورود اينجا كليك كنيد %s.', //cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File groupmgr.php
+// ------------------------------------------------------------------------- //
+
+if (defined('GROUPMGR_PHP')) $lang_groupmgr_php = array(
+  'group_name' => 'گروه',
+  'permissions' => 'مجوزها', //cpg1.4
+  'public_albums' => 'ارسال به آلبوم هاي عمومي', //cpg1.4
+  'personal_gallery' => 'گالري شخصي', //cpg1.4
+  'upload_method' => 'روش ارسال', //cpg1.4
+  'disk_quota' => 'سهم فضا',
+  'rating' => 'شركت در رتبه بندي', //cpg1.4
+  'ecards' => 'ارسال كارت', //cpg1.4
+  'comments' => 'ارائه نظر', //cpg1.4
+  'allowed' => 'اجازه دارد', //cpg1.4
+  'approval' => 'تائيديه', //cpg1.4
+  'boxes_number' => 'تعداد فيلدها', //cpg1.4
+  'variable' => 'متغيير', //cpg1.4
+  'fixed' => 'ثابت', //cpg1.4
+  'apply' => 'تائيد تغييرات',
+  'create_new_group' => 'ساخت گروه جديد',
+  'del_groups' => 'حذف گروه (هاي) انتخاب شده',
+  'confirm_del' => 'اخطار : وقتي گروهي را حذف مي كنيد كاربران آن گروه به گروه \'Registered\' منتقل مي گردند!\n\n ميخواهيد ادامه دهيد؟', //js-alert
+  'title' => 'مديريت گروه كاربران',
+  'num_file_upload' => 'تعداد حداكثر/دقيق فيلدهاي ارسال فايل', //cpg1.4
+  'num_URI_upload' => 'تعداد حداكثر/دقيق فيلدهاي ارسال URI', //cpg1.4
+  'reset_to_default' => 'تغيير به نام پيش فرض اوليه (%s) - توصيه مي شود!', //cpg1.4
+  'error_group_empty' => 'جدول گروه خالي بود!<br /><br />گروه هاي پيش فرض ساخته شد ، لطفا اين صفحه را بازخواني (Refresh) كنيد', //cpg1.4
+  'explain_greyed_out_title' => 'چرا اين رديف غير فعال شده؟', //cpg1.4
+  'explain_guests_greyed_out_text' => ' شما نمي توانيد تنظيمات اين گروه را تغيير دهيد زيرا در صفحه پيكربندي گزينه \'امكان دسترسي كاربران وارد نشده به سيستم \' را \'خير\' وارد كرده ايد.هيچكدام از ميهمانان (اعضاي گروه %s) نمي توانند كاري انجام دهند بجز ورود! به هر حال تنظيمات گروه براي آنها اثري ندارد.', //cpg1.4
+  'explain_banned_greyed_out_text' => '<span dir=rtl>شما نمي توانيد تنظيمات گروه %s را تغيير دهيد زيرا اعضاي اين گروه به هر حال نمي توانند كاري انجام دهند!</span>', //cpg1.4
+  'group_assigned_album' => 'آلبوم (هاي) مربوط', //cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File index.php
+// ------------------------------------------------------------------------- //
+
+if (defined('INDEX_PHP')){
+
+$lang_index_php = array(
+  'welcome' => 'خوش آمديد !',
+);
+
+$lang_album_admin_menu = array(
+  'confirm_delete' => 'آيا مطمئنيد كه مي خواهيد اين آلبوم را حدف نماييد؟ \\nهمه تصاوير و همچنين نظرات حدف خواهند شد.',
+  'delete' => 'حدف',
+  'modify' => 'متعلقات آلبوم',
+  'edit_pics' => 'ويرايش فايل',
+);
+
+$lang_list_categories = array(
+  'home' => 'صفحه اصلي',
+  'stat1' => '<b>[pictures]</b> تصوير در <b>[albums]</b> آلبوم و <b>[cat]</b> موضوع با <b>[comments]</b> نظر <b>[views]</b> دفعه مشاهده شده',
+  'stat2' => '<b>[pictures]</b> تصوير در <b>[albums]</b> آلبوم <b>[views]</b> دفعه مشاهده شده',
+  'xx_s_gallery' => 'گالري %s',
+  'stat3' => '<b>[pictures]</b> تصوير در <b>[albums]</b> آلبوم با <b>[comments]</b> نظر <b>[views]</b>  دفعه مشاهده شده'
+);
+
+$lang_list_users = array(
+  'user_list' => 'ليست كاربران',
+  'no_user_gal' => 'گالري كاربري يافت نشد',
+  'n_albums' => '%s آلبوم',
+  'n_pics' => '%s تصوير'
+);
+
+$lang_list_albums = array(
+  'n_pictures' => '%s تصوير',
+  'last_added' => ' آخرين ارسال در %s',
+  'n_link_pictures' => '%s فايل لينك شده', //cpg1.4
+  'total_pictures' => 'در كل %s وجود دارد', //cpg1.4
+);
+
+}
+
+// ------------------------------------------------------------------------- //
+// File keywordmgr.php //cpg1.4
+// ------------------------------------------------------------------------- //
+
+if (defined('KEYWORDMGR_PHP')) $lang_keywordmgr_php = array(
+  'title' => 'مديريت كليد واژه ها', //cpg1.4
+  'edit' => 'ويرايش', //cpg1.4
+  'delete' => 'حذف', //cpg1.4
+  'search' => 'جستجو', //cpg1.4
+  'keyword_test_search' => 'جستجوي %s در پنجره جديد', //cpg1.4
+  'keyword_del' => 'حذف كليد واژه %s', //cpg1.4
+  'confirm_delete' => 'مي خواهيد كليد واژه %s را از كل گالري حذف نمائيد! مطمئن هستيد؟', //cpg1.4  // js-alert
+  'change_keyword' => 'تغيير كليد واژه', //cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File login.php
+// ------------------------------------------------------------------------- //
+
+if (defined('LOGIN_PHP')) $lang_login_php = array(
+  'login' => 'ورود',
+  'enter_login_pswd' => 'براي ورود به سايت نام كاربري و رمز عبور را وارد نماييد',
+  'username' => 'نام كاربري',
+  'password' => 'رمز عبور',
+  'remember_me' => 'مرا فراموش نكن',
+  'welcome' => '%s خوش آمدید ...',
+  'err_login' => '*** خطاي ورود ، دوباره امتحان كنيد ***',
+  'err_already_logged_in' => 'شما در حال حاضر در سايت وارد شده ايد !',
+  'forgot_password_link' => 'رمز فراموش شده', //cpg1.3.0
+  'cookie_warning' => 'اخطار ! بروزر شما از Cookie ها حمايت نميكند', //cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File logout.php
+// ------------------------------------------------------------------------- //
+
+if (defined('LOGOUT_PHP')) $lang_logout_php = array(
+        'logout' => 'خروج',
+        'bye' => 'خداحافظ %s ...',
+        'err_not_loged_in' => 'شما وارد سايت نشده ايد !',
+);
+
+// ------------------------------------------------------------------------- //
+// File minibrowser.php  //cpg1.4
+// ------------------------------------------------------------------------- //
+
+if (defined('MINIBROWSER_PHP')) $lang_minibrowser_php = array(
+  'close' => 'بسته', //cpg1.4
+  'submit' => 'تائيد', //cpg1.4
+  'up' => 'يك سطح بالاتر', //cpg1.4
+  'current_path' => 'آدرس جاري', //cpg1.4
+  'select_directory' => 'لطفا يك زير شاخه انتخاب نمائيد.', //cpg1.4
+  'click_to_close' => 'براي بستن اين پنجره بر روي تصویر كليك كنيد.',
+);
+
+// ------------------------------------------------------------------------- //
+// File modifyalb.php
+// ------------------------------------------------------------------------- //
+
+if (defined('MODIFYALB_PHP')) $lang_modifyalb_php = array(
+  'upd_alb_n' => 'به روز رساني آلبوم %s',
+  'general_settings' => 'تنظيمات اصلي',
+  'alb_title' => 'عنوان آلبوم',
+  'alb_cat' => 'موضوع آلبوم',
+  'alb_desc' => 'شرح آلبوم',
+  'alb_keyword' => 'كلید واژه آلبوم', //cpg1.4
+  'alb_thumb' => 'ريزعكس آلبوم',
+  'alb_perm' => 'سطح دسترسي آلبوم',
+  'can_view' => 'آلبوم قابل مشاهده است براي',
+  'can_upload' => 'بيننده ها مي توانند فايل ارسال كنند',
+  'can_post_comments' => 'بيننده ها مي توانند نظر بدهند',
+  'can_rate' => 'بيننده ها مي توانند به اين فايل راي بدهند',
+  'user_gal' => 'گالري كاربران',
+  'no_cat' => '* بدون موضوع *',
+  'alb_empty' => 'آلبوم خالي است',
+  'last_uploaded' => 'آخرين ارسال',
+  'public_alb' => 'همه (آلبوم عمومي)',
+  'me_only' => 'فقط براي من',
+  'owner_only' => 'صاحب آلبوم (%s) فقط',
+  'groupp_only' => 'اعضا گروه \'%s\'',
+  'err_no_alb_to_modify' => 'آلبومي براي ويرايش توسط شما در ديتابيس موجود نيست.',
+  'update' => 'به روز رساني آلبوم', //cpg1.3.0
+  'reset_album' => 'بازسازی مجدد آلبوم', //cpg1.4
+  'reset_views' => 'صفر كردن شمارنده نمایشها در %s', //cpg1.4
+  'reset_rating' => 'صفر كردن رتبه بندی همه فایلها در %s', //cpg1.4
+  'delete_comments' => 'حذف تمام نظرات داده شده به %s', //cpg1.4
+  'delete_files' => ' %sبدون بازگشت%s حذف تمام فایلهای %s', //cpg1.4
+  'views' => 'دفعات مشاهده', //cpg1.4
+  'votes' => 'آرا', //cpg1.4
+  'comments' => 'نظرات', //cpg1.4
+  'files' => 'فایلها', //cpg1.4
+  'submit_reset' => 'ارسال تغییرات', //cpg1.4
+  'reset_views_confirm' => 'مطمئن هستم', //cpg1.4
+  'notice1' => '(*)وابسته به تنظیمات %sگروه%s',  //cpg1.4 //(do not translate %s!)
+  'alb_password' => 'رمز عبور آلبوم', //cpg1.4
+  'alb_password_hint' => 'كلمه كمكی رمز عبور', //cpg1.4
+  'edit_files' =>'ویرایش فایلها', //cpg1.4
+  'parent_category' =>'موضوع مادر', //cpg1.4
+  'thumbnail_view' =>'نمایش به صورت ریز عكس', //cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File phpinfo.php //cpg1.3.0
+// ------------------------------------------------------------------------- //
+
+if (defined('PHPINFO_PHP')) $lang_phpinfo_php = array(
+  'php_info' => 'PHP info', //cpg1.3.0
+  'explanation' => 'This is the output generated by the PHP-function <a href="http://www.php.net/phpinfo">phpinfo()</a>, displayed within Copermine (trimming the output at the right corner).', //cpg1.3.0
+  'no_link' => 'Having others see your phpinfo can be a security risk, that\'s why this page is only visible when you\'re logged in as admin. You can not post a link to this page for others, they will be denied access.', //cpg1.3.0
+);
+
+// ------------------------------------------------------------------------- //
+// File picmgr.php //cpg1.4
+// ------------------------------------------------------------------------- //
+if (defined('PICMGR_PHP')) $lang_picmgr_php = array(
+  'pic_mgr' => 'مدیریت تصاویر', //cpg1.4
+  'select_album' => 'انتخاب آلبوم', //cpg1.4
+  'delete' => 'حذف', //cpg1.4
+  'confirm_delete1' => 'میحواهید این تصویر را حذف كنید! مطمئن هستید؟', //cpg1.4
+  'confirm_delete2' => '\nتصویر به صورت كامل وبدون بازگشت حذف خواهد شد.', //cpg1.4
+  'apply_modifs' => 'اعمال تغییرات', //cpg1.4
+  'confirm_modifs' => 'تائید تغییرات', //cpg1.4
+  'pic_need_name' => 'تصویر بی نام كه نمی شود!!!؟', //cpg1.4
+  'no_change' => 'شما تغییری انجام ندادید!!!', //cpg1.4
+  'no_album' => '* آلبومی نيست *', //cpg1.4
+  'explanation_header' => 'نحوه مرتب سازی که در این بخش تعیین می کنید فقط در صورتی اعمال می شود که', //cpg1.4
+  'explanation1' => 'مدیریت نحوه مرتب سازی پیش فرض را در پیکربندی "پیش فرض مرتب سازی برای فایلها" را "محل قرارگیری صعودی" یا محل قرارگیری نزولی" تعیین کرده باشد.(تنظیمات کلی برای کاربرانی که نحوه مرتب سازی را مشخص نکرده اند)', //cpg1.4
+  'explanation2' => 'کاربر "محل قرارگیری صعودی" یا "محل قرارگیری نزولی" را در صفحه ریز عکسها انتخاب کرده باشد.(تنمظیمات شخصی کاربر)', //cpg1.4
+);
+
+
+// ------------------------------------------------------------------------- //
+// File pluginmgr.php //cpg1.4
+// ------------------------------------------------------------------------- //
+
+if (defined('PLUGINMGR_PHP')){
+
+$lang_pluginmgr_php = array(
+  'confirm_uninstall' => 'می خواهید PlugIn را از حالت نصب خارج كنید ، مطمئنید؟', //cpg1.4
+  'confirm_delete' => 'می خواهید این PlugIn را حذف كنید، مطمئنید؟', //cpg1.4
+  'pmgr' => 'مدیریت PlugIn', //cpg1.4
+  'name' => 'نام', //cpg1.4
+  'author' => 'نویسنده', //cpg1.4
+  'desc' => 'شرح', //cpg1.4
+  'vers' => 'v', //cpg1.4
+  'i_plugins' => 'PlugIn های نصب شده', //cpg1.4
+  'n_plugins' => 'PlugIn های نصب نشده', //cpg1.4
+  'none_installed' => 'هیچی نصب نشده', //cpg1.4
+  'operation' => 'عملبات', //cpg1.4
+  'not_plugin_package' => 'فایل ارسال شده PlugIn نیست!!!', //cpg1.4
+  'copy_error' => 'خطایی در زمان ارسال این PlugIn به زیر شاخه Plugins رخ داده!', //cpg1.4
+  'upload' => 'ارسال', //cpg1.4
+  'configure_plugin' => 'تنظیمات PlugIn', //cpg1.4
+  'cleanup_plugin' => 'پاكسازی PlugIn', //cpg1.4
+);
+}
+
+// ------------------------------------------------------------------------- //
+// File ratepic.php
+// ------------------------------------------------------------------------- //
+
+if (defined('RATEPIC_PHP')) $lang_rate_pic_php = array(
+        'already_rated' => 'متاسفانه شما همين الان به فايل راي داديد',
+        'rate_ok' => 'راي شما پذيرفته شد',
+  'forbidden' => 'شما نمي توانيد به فايل هاي خودتان راي بدهيد!', //cpg1.3.0
+);
+
+// ------------------------------------------------------------------------- //
+// File register.php & profile.php
+// ------------------------------------------------------------------------- //
+
+if (defined('REGISTER_PHP') || defined('PROFILE_PHP')) {
+
+$lang_register_disclamer = <<<EOT
+مديريت {SITE_NAME} حق هرگونه تغيير يا حذف مطالب را براي خود محفوظ نگه داشته و در زمان تغييرات مشاهده تمامي ارسالها غير ممكن خواهد بود. همچنين مسئوليت استفاده غير قانوني از اين سايت به عهده استفاده كننده ميباشد و هر گونه عمل غير قانوني به مراجع ذي صلاح ارجاع داده مي شود.<br />
+<br />
+به عنوان كاربر شما تعهد ميكنيد كه هيچگونه فايل سكسي ، ترسناك ، تحريك كننده به خشونت ، آزار دهنده ، شخصي(مربوط به ديگران بدون رضايت شخص)و هر گونه اطلاعاتي كه خلاف قوانين دولتي باشد به سايت ارسال نكنيد و شما مي پذيريد كه مديريت {SITE_NAME} حق حذف يا ويرايش هر گونه از اين نوع مطالب را دارد.به عنوان كاربر شما مي پذيريد كه اطلاعات شما در ديتابيس {SITE_NAME} ثبت و نگهداري گردد و  اين اطلاعات مگر در موارد ذكر شده قبلي به شخص سومي داده نخواهد شد، البته اين سايت مسئوليتي در قبال حملات هكري قبول نميكند.<br />
+<br />
+اين سايت براي نگهداري اطلاعات شما از كوكي استفاده مي نمايد. همچنين از آدرس پست الكترونيك شما تنها جهت فعال سازي نام كاربري و ارسال رمز فراموش شده استفاده خواهد شد.<br />
+<br />
+با كليك كردن بر روي دكمه 'مي پذيرم' شما كليه موارد بالا را قبول ميكنيد.
+EOT;
+
+$lang_register_php = array(
+  'page_title' => 'ثبت نام كاربران',
+  'term_cond' => 'قوانين و مقررات سايت',
+  'i_agree' => 'مي پذيرم',
+  'submit' => 'ارسال فرم ثبت نام',
+  'err_user_exists' => 'لطفا نام كاربري ديگري انتخاب كنيد اين نام قبلا استفاده شده',
+  'err_password_mismatch' => 'لطفا مجددا پسورد را وارد نماييد ، دو پسورد مشابه هم نيستند',
+  'err_uname_short' => 'نام كاربري حداقل بايد 2 حرف داشته باشد',
+  'err_password_short' => 'رمز ورود حداقل بايد 2 حرف داشته باشد',
+  'err_uname_pass_diff' => 'نام كاربري و رمز عبور بايد متفاوت باشند',
+  'err_invalid_email' => 'آدرس پست الكترونيك اشتباه است',
+  'err_duplicate_email' => 'با اين آدرس پست الكترونيك ، كاربر ديگري ثبت نام كرده',
+  'enter_info' => 'ورود اطلاعات ثبت نام',
+  'required_info' => 'اطلاعات مورد نياز',
+  'optional_info' => 'اطلاعات اختياري',
+  'username' => 'نام كاربري',
+  'password' => 'رمز ورود',
+  'password_again' => 'تكرار مجدد رمز عبور',
+  'email' => 'آدرس پست الكترونيك',
+  'location' => 'محل اقامت',
+  'interests' => 'علاقمنديها',
+  'website' => 'وب سايت',
+  'occupation' => 'شغل',
+  'error' => 'خطا',
+  'confirm_email_subject' => '%s - اطلاعات ثبت نام تائيد شد',
+  'information' => 'اطلاعات',
+  'failed_sending_email' => 'امكان ارسال نامه ثبت نام نيست !',
+  'thank_you' => 'از ثبت نام شما متشكريم.<br /><br />نامه اي به آدرس شما ارسال شد كه در آن نحوه فعال سازي اشتراك شما اعلام گرديده.',
+  'acct_created' => 'اشتراك شما ايجاد شد و شما مي توانيد با ورود نام كاربري و دادن رمز ورود به سايت وارد شويد.',
+  'acct_active' => 'اشتراك شما فعال شد و شما مي توانيد با ورود نام كاربري و دادن رمز ورود به سايت وارد شويد.',
+  'acct_already_act' => 'اشتراك شما قبلا فعال شده است !',
+  'acct_act_failed' => 'اين اشتراك قابل فعال سازي نيست !',
+  'err_unk_user' => 'كاربر انتخاب شده وجود ندارد !',
+  'x_s_profile' => 'مشخصات شخصي %s',
+  'group' => 'گروه',
+  'reg_date' => 'عضو شده در',
+  'disk_usage' => 'فضاي استفاده شده',
+  'change_pass' => 'تغيير رمز ورود',
+  'current_pass' => 'رمز ورود سابق',
+  'new_pass' => 'رمز ورود جديد',
+  'new_pass_again' => 'تكرار مجدد رمز ورود جديد',
+  'err_curr_pass' => 'پسورد سابق اشتباه است',
+  'apply_modif' => 'تغييرات انجام شد',
+  'change_pass' => 'تغيير رمز ورود من',
+  'update_success' => 'اطلاعات شخسي شما به روز رساني شد',
+  'pass_chg_success' => 'رمز ورود شما تغيير يافت',
+  'pass_chg_error' => 'رمز ورود شما تغيير نيافت',
+  'notify_admin_email_subject' => '%s - خطاي ثبت نام', //cpg1.3.0
+  'last_uploads' => 'آخرین فایل ارسال شده.<br />برای دیدن كلیك كنید، تمام ارسالهای', //cpg1.4
+  'last_comments' => 'آخرین نظر.<br />برای دیدن كلیك كنید،تمام نظرات', //cpg1.4
+  'notify_admin_email_body' => 'يك كاربر جديد با نام  "%s" به گالري شما اضافه شد.', //cpg1.3.0
+  'pic_count' => 'فایلها ارسال شدند', //cpg1.4
+  'notify_admin_request_email_subject' => '%s - درخواست ثبت نام', //cpg1.4
+  'thank_you_admin_activation' => 'از شما متشكریم.<br /><br />درخواست شما برای فعال سازی اشتراكتان برای مدیریت ارسال شد.به زودی نامه تائیدیه برای شما ارسال می گردد.', //cpg1.4
+  'acct_active_admin_activation' => 'اشتراك فعال شد و یك نامه الكترونیك برای كاربر ارسال گردید.', //cpg1.4
+  'notify_user_email_subject' => '%s - اعلام فعال سازی', //cpg1.4
+);
+
+$lang_register_confirm_email = <<<EOT
+Thank you for registering at {SITE_NAME}
+In order to activate your account, you need to click on the link below
+or copy and paste it in your web browser.
+
+<a href="{ACT_LINK}">{ACT_LINK}</a>
+
+Regards,
+The management of {SITE_NAME}
+
+in Persian:
+از اینكه در سایت {SITE_NAME} ثبت نام نموده اید ممنونیم
+ برای فعال سازی اشتراك خود با نام كاربری "{USER_NAME}" ابتدا باید بر روی لینك زیر كلیك كنید یا آنرا در قسمت آدرس مرورگر خودكپی نمائید و دكمه go را بزنید.
+
+<a href="{ACT_LINK}">{ACT_LINK}</a>
+
+مدیریت سایت {SITE_NAME}
+با تشكر
+EOT;
+
+$lang_register_activated_email = <<<EOT
+Your account has been approved and activated.
+You can now log in at <a href="{SITE_LINK}">{SITE_LINK}</a> using the username "{USER_NAME}"
+
+Regards,
+The management of {SITE_NAME}
+
+In Persian:
+اشتراك شما تائید و فعال شد.
+شما می توانید با استفاده از نام كاربری "{USER_NAME}" وارد سایت <a href="{SITE_LINK}">{SITE_LINK}</a> شوید.
+با تشكر
+مدیریت سایت {SITE_NAME}
+EOT;
+}
+
+// ------------------------------------------------------------------------- //
+// File reviewcom.php
+// ------------------------------------------------------------------------- //
+
+if (defined('REVIEWCOM_PHP')) $lang_reviewcom_php = array(
+  'title' => 'بازنگري نظرات',
+  'no_comment' => 'نظري براي بازنگري وجود ندارد',
+  'n_comm_del' => '%s نظر حدف شد',
+  'n_comm_disp' => 'تعداد نظرات براي نمايش',
+  'see_prev' => 'قبلي',
+  'see_next' => 'بعدي',
+  'del_comm' => 'حدف نظرات انتخاب شده',
+  'user_name' => 'نام', //cpg1.4
+  'date' => 'تاریخ', //cpg1.4
+  'comment' => 'نظر', //cpg1.4
+  'file' => 'فایل', //cpg1.4
+  'name_a' => 'نام كاربر صعودی', //cpg1.4
+  'name_d' => 'نام كاربر نزولی', //cpg1.4
+  'date_a' => 'تاریخ صعودی', //cpg1.4
+  'date_d' => 'تاریخ نزولی', //cpg1.4
+  'comment_a' => 'نظر صعودی', //cpg1.4
+  'comment_d' => 'نظر نزولی', //cpg1.4
+  'file_a' => 'فایل صعودی', //cpg1.4
+  'file_d' => 'فایل نزولی', //cpg1.4
+);
+
+
+// ------------------------------------------------------------------------- //
+// File search.php - OK
+// ------------------------------------------------------------------------- //
+
+
+if (defined('SEARCH_PHP')) {
+
+$lang_search_php = array(
+  'title' => 'جستجوی مجموعه فایلها', //cpg1.4
+  'submit_search' => 'جستجو', //cpg1.4
+  'keyword_list_title' => 'لیست كلید واژه ها', //cpg1.4
+  'keyword_msg' => 'لیست بالا كامل نیست.كلمات تیتر و شرح عكس در لیست بالا نیست، برای جستجوی آنها از جستجوی دقیق كلمات استفاده كنید.',  //cpg1.4
+  'edit_keywords' => 'ویرایش كلید واژه ها', //cpg1.4
+  'search in' => 'جستجو در:', //cpg1.4
+  'ip_address' => 'آدرس آی پی', //cpg1.4
+  'fields' => 'جستجو در', //cpg1.4
+  'age' => 'سن', //cpg1.4
+  'newer_than' => 'جدید تر از', //cpg1.4
+  'older_than' => 'قدیمی تر از', //cpg1.4
+  'days' => 'روز', //cpg1.4
+  'all_words' => 'تطابق كامل با تمام كلمه ها (AND)', //cpg1.4
+  'any_words' => 'تطابق كامل با هر كدام از كلمات (OR)', //cpg1.4
+);
+
+$lang_adv_opts = array(
+  'title' => 'تیتر', //cpg1.4
+  'caption' => 'عنوان', //cpg1.4
+  'keywords' => 'كلید واژه ها', //cpg1.4
+  'owner_name' => 'نام مالك', //cpg1.4
+  'filename' => 'نام فایل', //cpg1.4
+);
+
+}
+
+// ------------------------------------------------------------------------- //
+// File searchnew.php
+// ------------------------------------------------------------------------- //
+
+if (defined('SEARCHNEW_PHP')) $lang_search_new_php = array(
+  'page_title' => 'جستجوي فايل جديد',
+  'select_dir' => 'انتخاب زير شاخه',
+  'select_dir_msg' => 'اين گزينه به شما اجازه مي دهد تا فايلهايي را كه از طريق FTP بروي سرور خود ارسال كرده ايد، اضافه كنيد.<br /><br />زيرشاخه اي كه فايل ها در آن هستند را انتخاب كنبد',
+  'no_pic_to_add' => 'فايلي براي اضافه نمودن وجود ندارد.',
+  'need_one_album' => 'شما حداقل به يك آلبوم براي اجراي اين گزينه احتياج داريد',
+  'warning' => 'اخطار',
+  'change_perm' => 'برنامه نمي تواند بر روي زيرشاخه بنويسد لطفا زيرشاخه را از حالت 755 به 777 تغيير دهيد و مجددا سعي نمائيد. !',
+  'target_album' => '<b>فرستادن فايل هاي "</b>%s<b>" به </b>%s',
+  'folder' => 'زيرشاخه',
+  'image' => 'تصوير',
+  'album' => 'آلبوم',
+  'result' => 'نتايج',
+  'dir_ro' => 'غير قابل نوشتن! ',
+  'dir_cant_read' => 'غير قابل خواندن! ',
+  'insert' => 'اضافه كردن فايل هاي جديد به گالري',
+  'list_new_pic' => 'ليست فايل هاي جديد',
+  'insert_selected' => 'ورود فايل هاي انتخاب شده',
+  'no_pic_found' => 'فايل جديدي پيدا نشد',
+  'be_patient' => 'برنامه براي اضافه نمودن فايل ها به زمان نياز دارد، صبر كنيد ...',
+  'no_album' => 'آلبومي انتخاب نشد',  //cpg1.3.0
+  'result_icon' => 'برای دیدن ریز مشخصات و یا بارگزاری مجدد كلیك كنید.',  //cpg1.4
+  'notes' =>  '<ul>'.
+                                '<li><b>OK</b> : يعني فايل با موفقيت اضافه شد'.
+                                '<li><b>DP</b> : يعني فايل قبلا در ديتابيس موجود بوده'.
+                                '<li><b>PB</b> : يعني فايل نمي تواند اضافه شود ، تنظيمات خود و سطح دسترسي زيرشاخه حاوي فايل ها را بررسي كنيد'.
+                        		'<li><b>NA</b> : يعني آلبومي كه فايل ها بايد به آن اضافه شوند مشحص نشده , بر روي \'<a href="javascript:history.back(1)">بازگشت</a>\' كليك كنيد و آلبوم را انتخاب نمائيد. اگر آلبوم نداريد <a href="albmgr.php"> آلبوم بسازيد </a></li>'.
+                                '<li>اگر پيام هاي OK, DP, PB نمايش داده نشد بر روي فايل خراب شده كليك كنيد تا پيغام PHP را ببينيد'.
+                                '<li>اگر پيغام Timeout دريافت نموديد يك بار ديگر صفحه را Reload كنيد'.
+                          '</ul>', //cpg1.3.0
+  'select_album' => 'انتخاب آلبوم', //cpg1.3.0
+  'check_all' => 'انتخاب همه', //cpg1.3.0
+  'uncheck_all' => 'عدم انتخاب همه', //cpg1.3.0
+  'no_folders' => '<span dir=rtl>هنوز زیر شاخه ای در زیر شاخه "albums" وجود ندارد.مطمئن شوید كه حتما یك زیر شاخه در زیر شاخه "albums" ساخته اید و فایلهای خود را از طریق FTP در این زیر شاخه كپی كرده اید.هرگز فایلی در زیر شاخه "userpics" كپی نكنید ، همچنین آنرا ویرایش نكنید این زیر شاخه ها برای ارسال از طریق http طراحی شده اند ونباید تغییری در آنها اعمال گردد.</span>', //cpg1.4
+  'albums_no_category' => 'آلبومهای طبقه بندی نشده', //cpg1.4 // album pulldown mod, added by frogfoot
+  'personal_albums' => '* آلبومها شخصی', //cpg1.4 // album pulldown mod, added by frogfoot
+  'browse_batch_add' => 'قابلیت مرور در زیرشاخه ها (توصیه شده)', //cpg1.4
+  'edit_pics' => 'ویرایش فایلها', //cpg1.4
+  'edit_properties' => 'تنظیمات آلبوم', //cpg1.4
+  'view_thumbs' => 'نمایش بصورت ریز عكس', //cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File stat_details.php //cpg1.4
+// ------------------------------------------------------------------------- //
+
+if (defined('STAT_DETAILS_PHP')) $lang_stat_details_php = array(
+  'show_hide' => 'نمایش/عدم نمایش این ستون', //cpg1.4
+  'vote' => 'اطلاعات آراء', //cpg1.4
+  'hits' => 'اطلاعات بازدیدها', //cpg1.4
+  'stats' => 'مشخصات آراء', //cpg1.4
+  'sdate' => 'تاریخ', //cpg1.4
+  'rating' => 'امتیاز', //cpg1.4
+  'search_phrase' => 'عبارات جستجو شده', //cpg1.4
+  'referer' => 'توصیه كننده ها', //cpg1.4
+  'browser' => 'مرورگر', //cpg1.4
+  'os' => 'سیستم هامل', //cpg1.4
+  'ip' => 'آی پی', //cpg1.4
+  'sort_by_xxx' => 'مرتب شده بر حسب %s', //cpg1.4
+  'ascending' => 'صعودی', //cpg1.4
+  'descending' => 'نزولی', //cpg1.4
+  'internal' => 'داخلی', //cpg1.4
+  'close' => 'بسته', //cpg1.4
+  'hide_internal_referers' => 'توصیه كنندگان داخلی را نمایش نده', //cpg1.4
+  'date_display' => 'نمایش تاریخ', //cpg1.4
+  'submit' => 'ارسال/بارگزاری مجدد', //cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File thumbnails.php
+// ------------------------------------------------------------------------- //
+
+// Void
+
+// ------------------------------------------------------------------------- //
+// File upload.php
+// ------------------------------------------------------------------------- //
+
+if (defined('UPLOAD_PHP')) $lang_upload_php = array(
+  'title' => 'ارسال فايل', //cpg1.3.0
+  'custom_title' => 'تنظیم فرم ارسال', //cpg1.3.0
+  'cust_instr_1' => 'شما ميتوانيد تعداد فايل هاي ارسالي همزمان را مشخص كنيد. اما به هر حال, بيشتر از تعداد زير اجازه ارسال همزمان نداريد.', //cpg1.3.0
+  'cust_instr_2' => 'تعداد درخواست ارسال همزمان', //cpg1.3.0
+  'cust_instr_3' => 'تعداد ارسال همزمان فايل: %s', //cpg1.3.0
+  'cust_instr_4' => '‌‌‌‌‌‌‌‌تعداد ارسال همزمان ‌اينتر فيس ‌:‌ ‌‌%s‌‌', //cpg1.3.0
+  'cust_instr_5' => 'تعداد در خواست ارسال همزمان ‌اينتر فيس:', //cpg1.3.0
+  'cust_instr_6' => 'تعداد درخواست ارسال همزمان فايل:', //cpg1.3.0
+  'cust_instr_7' => 'لطفا تعداد درخواست ارسال همزمان خود را ذكر كنيد.  سپس بر روي \'ادامه\' كليك كنيد. ', //cpg1.3.0
+  'reg_instr_1' => 'عمل خطا در ايجاد فرم.', //cpg1.3.0
+  'reg_instr_2' => 'شما مي توانيد در زير فايل خود را ارسال نمائيد. حجم هر كدام از فايل هاي ارسالي شما نبايد از %s KB بيشتر باشد. فايل هاي ZIP ارسالي به صورت فشرده باقي خواهند ماند.', //cpg1.3.0
+  'reg_instr_3' => 'اگر مي خواهيد فايل فشرده خود را باز كنيد از بخش باز كننده فايل فشرده استفاده نمائيد.', //cpg1.3.0
+  'reg_instr_4' => 'وقتي از قسمت ارسال URI/URL uاستفاده مي كنيد, لطفا آدرس را به صورت: http://www.mysite.com/images/example.jpg وارد نمائيد', //cpg1.3.0
+  'reg_instr_5' => 'هنگامي مه فرم تكميل شد ،لطفا بر روي \'ادامه\' كليك كنيد.', //cpg1.3.0
+  'reg_instr_6' => 'باز كردن فايل فشرده ارسالي:', //cpg1.3.0
+  'reg_instr_7' => 'فايل هاي ارسالي:', //cpg1.3.0
+  'reg_instr_8' => 'ارسال URI/URL :', //cpg1.3.0
+  'error_report' => 'گزارش دهي خطا', //cpg1.3.0
+  'error_instr' => 'ارسال هاي مشروحه داراي خطا هستند:', //cpg1.3.0
+  'file_name_url' => 'نام فايل/URL', //cpg1.3.0
+  'error_message' => 'پيغام خطا', //cpg1.3.0
+  'no_post' => 'فايل بوسيله پست ارسال نشده.', //cpg1.3.0
+  'forb_ext' => 'فايل با اين پسوند قابل قبول نيست.', //cpg1.3.0
+  'exc_php_ini' => 'ارسال فايلي با بيش از حجم اعلام شده در php.ini.', //cpg1.3.0
+  'exc_file_size' => 'ارسال فايلي با بيش از حجم اعلام شده در تنظيمات.', //cpg1.3.0
+  'partial_upload' => 'Only a partial upload.', //cpg1.3.0
+  'no_upload' => 'ارسالي اتفاق نيفتاد.', //cpg1.3.0
+  'unknown_code' => 'خطاي نامشخص PHPدر ارسال.', //cpg1.3.0
+  'no_temp_name' => 'عدم ارسال - عدم نام موقت.', //cpg1.3.0
+  'no_file_size' => 'شامل اطلاعات نيست/خراب است', //cpg1.3.0
+  'impossible' => 'غير قابل حركت.', //cpg1.3.0
+  'not_image' => 'تصوير نيست/خراب شده', //cpg1.3.0
+  'not_GD' => 'پسوند يك GD نيست.', //cpg1.3.0
+  'pixel_allowance' => 'بيشتر از حداكثر پيكسل قابل قبول.', //cpg1.3.0
+  'incorrect_prefix' => 'URI/URL اشتباه', //cpg1.3.0
+  'could_not_open_URI' => 'نمي توان URI را باز كرد.', //cpg1.3.0
+  'unsafe_URI' => 'امنيت قابل بررسي نيست.', //cpg1.3.0
+  'meta_data_failure' => 'خرابي اطلاعات سر خط', //cpg1.3.0
+  'http_401' => '401 Unauthorized', //cpg1.3.0
+  'http_402' => '402 Payment Required', //cpg1.3.0
+  'http_403' => '403 Forbidden', //cpg1.3.0
+  'http_404' => '404 Not Found', //cpg1.3.0
+  'http_500' => '500 Internal Server Error', //cpg1.3.0
+  'http_503' => '503 Service Unavailable', //cpg1.3.0
+  'MIME_extraction_failure' => 'MIME could not be determined.', //cpg1.3.0
+  'MIME_type_unknown' => 'Unknown MIME type', //cpg1.3.0
+  'cant_create_write' => 'Cannot create write file.', //cpg1.3.0
+  'not_writable' => 'Cannot write to write file.', //cpg1.3.0
+  'cant_read_URI' => 'Cannot read URI/URL', //cpg1.3.0
+  'cant_open_write_file' => 'Cannot open URI write file.', //cpg1.3.0
+  'cant_write_write_file' => 'Cannot write to URI write file.', //cpg1.3.0
+  'cant_unzip' => 'عدم توانايي در باز كردن.', //cpg1.3.0
+  'unknown' => 'خطاي ناشناخته', //cpg1.3.0
+  'succ' => 'ارسال با موفقيت انجام شد', //cpg1.3.0
+  'success' => '%s ارسال با موفقيت انجام شدند.', //cpg1.3.0
+  'add' => 'لطفا بر روي \'ادامه\' كليك كنيد تا فايل ها به آلبوم اضافه گردند.', //cpg1.3.0
+  'failure' => 'خطاي ارسال', //cpg1.3.0
+  'f_info' => 'اطلاعات فايل', //cpg1.3.0
+  'no_place' => 'فايل قبلي نتوانسته در جاي خود قرار بگيرد.', //cpg1.3.0
+  'yes_place' => 'فايل قبلي با موفقيت مستقر شد.', //cpg1.3.0
+  'max_fsize' => 'حداكثر حجم اجازه داده شده %s KB',
+  'album' => 'آلبوم',
+  'picture' => 'فايل', //cpg1.3.0
+  'pic_title' => 'عنوان فايل', //cpg1.3.0
+  'description' => 'شرح فايل', //cpg1.3.0
+  'keywords' => 'كلید واژه ها (با جاي خالي جداسازي كنيد)<a href="#" onClick="return MM_openBrWindow(\'keyword_select.php\',\'selectKey\',\'width=250, height=400, scrollbars=yes,toolbar=no,status=yes,resizable=yes\')">افزودن از لیست</a>', //cpg1.4
+  'keywords_sel' =>'یك كلید واژه انتخاب كنید', //cpg1.4
+  'err_no_alb_uploadables' => 'متاسفانه آلبومی وحود ندارد كه شما اجازه ارسال در آن داشته باشيد', //cpg1.3.0
+  'place_instr_1' => 'لطفا حالا فايل ها را در اين آلبوم قرار دهيد و اطلاعات مربوط به هر فايل را وارد كنيد.', //cpg1.3.0
+  'place_instr_2' => 'فايل بيشتری احتياج به اسقرار دارد. لطفا بر روی \'ادامه\'كليك كنيد.', //cpg1.3.0
+  'process_complete' => 'تمامي فايل ها با موفقيت مستقر شدند.', //cpg1.3.0
+  'albums_no_category' => 'آلبومهای طبقه بندی نشده', //cpg1.4. //album pulldown mod, added by frogfoot
+  'personal_albums' => '* آلبومهای شخصی', //cpg1.4 //album pulldown mod, added by frogfoot
+  'select_album' => 'انتخاب آلبوم', //cpg1.4 //album pulldown mod, added by frogfoot
+  'close' => 'بستن', //cpg1.4
+  'no_keywords' => 'متاسفانه كلید واژه ای وجود ندارد', //cpg1.4
+  'regenerate_dictionary' => 'باز سازی مجدد دیكشنری', //cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File usermgr.php
+// ------------------------------------------------------------------------- //
+
+if (defined('USERMGR_PHP')) $lang_usermgr_php = array(
+  'memberlist' => 'لیست اعضا', //cpg1.4
+  'user_manager' => 'سیستم مدیریت كاربران', //cpg1.4
+  'title' => 'مديريت كاربران',
+  'name_a' => 'نام(صعودي)',
+  'name_d' => 'نام(نزولي)',
+  'group_a' => 'گروه(صعودي)',
+  'group_d' => 'گروه(نزولي)',
+  'reg_a' => 'تاريخ ثبت نام(صعودي)',
+  'reg_d' => 'تاريخ ثبت نام(نزولي)',
+  'pic_a' => 'تعداد تصوير(صعودي)',
+  'pic_d' => 'تعداد تصوير(نزولي)',
+  'disku_a' => 'ميزان استفاده از فضا(صعودي)',
+  'disku_d' => 'ميزان استفاده از فضا(نزولي)',
+  'lv_a' => 'آخرين بار مشاهده(صعودي)', //cpg1.3.0
+  'lv_d' => 'آخرين بار مشاهده(نزولي)', //cpg1.3.0
+  'sort_by' => 'مرتب سازي كاربران بر حسب',
+  'err_no_users' => 'جدول كاربران خالي است !',
+  'err_edit_self' => 'شما نمي توانيد مشخصات شخصي خود را از اينجا ويرايش كنيد از \'مشخصات شخصي\' استفاده كنيد',
+  'edit' => 'ويرايش',
+  'with_selected' => 'با انتخاب:', //cpg1.4
+  'delete' => 'حذف', //cpg1.4
+  'delete_files_no' => 'نگهداشتن فايلهای عمومی (اما بصورت ناشناس)', //cpg1.4
+  'delete_files_yes' => 'فايلهای عمومی را هم حذف كن', //cpg1.4
+  'delete_comments_no' => 'نگهداشتن نظرات (اما بصورت ناشناس)', //cpg1.4
+  'delete_comments_yes' => 'نظرات را هم حذف كن', //cpg1.4
+  'activate' => 'فعال سازی', //cpg1.4
+  'deactivate' => 'از كار انداختن', //cpg1.4
+  'reset_password' => 'باز سازی رمز عبور', //cpg1.4
+  'change_primary_membergroup' => 'تغییر عضویت اوليه', //cpg1.4
+  'add_secondary_membergroup' => 'افزودن عضویت ثانويه', //cpg1.4
+  'name' => 'نام كاربري',
+  'group' => 'گروه',
+  'inactive' => 'در حال فعالیت',
+  'operations' => 'عمليات',
+  'pictures' => 'فايل ها', //cpg1.3.0
+  'disk_space_used' => 'فضای استفاده شده', //cpg1.4
+  'disk_space_quota' => 'فضای اختصاص داده شده', //cpg1.4
+  'registered_on' => 'ثبت نام', //cpg1.4
+  'last_visit' => 'آحرين مشاهده در', //cpg1.3.0
+  'u_user_on_p_pages' => '%d كاربر در %d صفحه',
+  'confirm_del' => 'شما مطمئنيد كه مي خواهيد اين كاربر را حدف نمائيد؟ \\nتمامي فايل ها و آلبوم هاي وي نيز حدف خواهند شد.',
+  'mail' => 'نامه',
+  'err_unknown_user' => 'كاربر انتخاب شده وجود ندارد !',
+  'modify_user' => 'تغييرات كاربر',
+  'notes' => 'ملاحظات',
+  'note_list' => '<li>اگر نمي خواهيد رمز ورود را تغيير دهيد آن را خالي بگذاريد',
+  'password' => 'رمز ورود',
+  'user_active' => 'كاربر فعال است',
+  'user_group' => 'گروه كاربر',
+  'user_email' => 'آدرس پست الكترونيك كاربر',
+  'user_web_site' => 'آدرس وب سايت كاربر',
+  'create_new_user' => 'ايجاد كاربر جديد',
+  'user_location' => 'محل زندگي كاربر',
+  'user_interests' => 'علايق كاربر',
+  'user_occupation' => 'شغل كاربر',
+  'user_profile1' => '$user_profile1', //cpg1.4
+  'user_profile2' => '$user_profile2', //cpg1.4
+  'user_profile3' => '$user_profile3', //cpg1.4
+  'user_profile4' => '$user_profile4', //cpg1.4
+  'user_profile5' => '$user_profile5', //cpg1.4
+  'user_profile6' => '$user_profile6', //cpg1.4
+  'latest_upload' => 'ارسال هاي تازه', //cpg1.3.0
+  'never' => 'هرگز', //cpg1.3.0
+  'search' => 'جستجوی كاربر', //cpg1.4
+  'submit' => 'ارسال', //cpg1.4
+  'search_submit' => 'جستجو', //cpg1.4
+  'search_result' => 'نتایج جستجو برای: ', //cpg1.4
+  'alert_no_selection' => 'حداقل باید یك كاربر را انتخاب كنید', //cpg1.4 //js-alert
+  'password' => 'رمز عبور', //cpg1.4
+  'select_group' => 'انتخاب گروه', //cpg1.4
+  'groups_alb_access' => 'مجوزهای آلبوم بر اساس گروه', //cpg1.4
+  'album' => 'آلبوم', //cpg1.4
+  'category' => 'موضوع', //cpg1.4
+  'modify' => 'میخواهید تغییر بدهید؟', //cpg1.4
+  'group_no_access' => 'این گروه دسترسی خواصی ندارد.', //cpg1.4
+  'notice' => 'نكته', //cpg1.4
+  'group_can_access' => 'آلبوم(هایی) كه فقط "%s" اجازه دسترسی دارند', //cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File util.php
+// ------------------------------------------------------------------------- //
+
+if (defined('UTIL_PHP')) {
+$lang_util_desc_php = array(
+'بروز رسانی تیترها با استفاده از نام فایل', //cpg1.4
+'حذف تیترها', //cpg1.4
+'باز سازی مجدد ریز عكسها و تغییر اندازه عكسها', //cpg1.4
+'حذف عكسهای با اندازه اصلی و جایگزینی آنها با عكسهای تغییر اندازه داده شده', //cpg1.4
+'حذف عكسهای اصلی و یا دوباره تغییر داده شده برای پاكسازی فضای وب', //cpg1.4
+'حذف نظرات یتیم!(بی نام نشان)', //cpg1.4
+'بازخوانی ابعاد و اندازه فایل (اگر تصویر را بصورت دستی ویرایش كرده اید', //cpg1.4
+'صفر كردن شمارنده بازدیدها', //cpg1.4
+'نمایش مشخصات سرور PHP', //cpg1.4
+'به روز رسانی دیتابیس', //cpg1.4
+'نمایش فایل گزارشها', //cpg1.4
+);
+if (defined('UTIL_PHP')) $lang_util_php = array(
+  'title' => 'مديريت ابزار (تغيير اندازه تصاوير)', //cpg1.3.0
+  'what_it_does' => 'چگونگي كار با ابزار',
+  'file' => 'فايل',
+  'problem' => 'مشكل', //cpg1.4
+  'status' => 'وضعیت', //cpg1.4
+  'title_set_to' => 'عنوان مخدود به',
+  'submit_form' => 'ارسال',
+  'updated_succesfully' => 'به روز رساني با موفقيت انجام شد',
+  'error_create' => 'در حال ايجاد خطا',
+  'continue' => 'پردازش تصاوير بيشتر',
+  'main_success' => 'فايل %s با موفقيت به عنوان فايل اصلي استفاده شد',
+  'error_rename' => 'خطا در تغيير نام از %s به %s',
+  'error_not_found' => 'فايل %s موجود نيست',
+  'back' => 'بازگشت به اصلي',
+  'thumbs_wait' => 'در حال به روز رساني ريزعكسها/ويا تغيير اندازه تصاوير، لطفا كمي صبر كنيد...',
+  'thumbs_continue_wait' => 'به روز رساني ريز عكسها/ويا تغيير اندازه تصاوير ادامه دارد ...',
+  'titles_wait' => 'به روز رساني عناوين، لطفا كمي صبر كنيد...',
+  'delete_wait' => 'حذف يك عنوان، لطفا كمي صبر كنيد...',
+  'replace_wait' => 'حذف فايل اصلي و جايگزيني تصوير تغيير اندازه يافته به جاي اصلي، لطفا كمي صبر كنيد..',
+  'instruction' => 'توضيحات سريع',
+  'instruction_action' => 'نوع عمل را انتخاب كنيد',
+  'instruction_parameter' => 'آيتم ها را ست كنيد',
+  'instruction_album' => 'آلبوم را انتخاب كنيد',
+  'instruction_press' => '%s را فشار دهيد',
+  'update' => 'به روز رساني ريزعكسها/ويا تغيير اندازه تصاوير',
+  'update_what' => 'چه چيزي بايد به روز رساني شود',
+  'update_thumb' => 'فقط ريزعكسها',
+  'update_pic' => 'فقط تصاوير تغيير اندازه يافته',
+  'update_both' => 'ريزعكسها و تصاوير تغيير اندازه يافته',
+  'update_number' => 'تعداد تصاوير پردازش شده در هر كليك',
+  'update_option' => '(در صورتي كه با خطاي اتمام زمان پردازش مواجه شديد اين مقدار را كمتر كنيد )',
+  'filename_title' => 'نام قايل &rArr; عنوان فايل',
+  'filename_how' => 'چه تغييري در نام فايل ميدهيد',
+  'filename_remove' => 'برداشتن .jpg از انتها و تبديل _ (خط فاصله زير) به جاي خالي',
+  'filename_euro' => 'تبديل 2003_11_23_13_20_20.jpg به 23/11/2003 13:20',
+  'filename_us' => 'تبديل  2003_11_23_13_20_20.jpg به  11/23/2003 13:20',
+  'filename_time' => 'تبديل  2003_11_23_13_20_20.jpg به 13:20',
+  'delete' => 'حدف عنوان فايل يا فايل با اندازه اصلي',
+  'delete_title' => 'حدف عنوان فايل',
+  'delete_title_explanation' => 'حذف تمام تيترها از فايلهای موجود در آلبوم انتخاب شده.', //cpg1.4
+  'delete_original' => 'حدف فايل با اندازه اصلي',
+  'delete_original_explanation' => 'حذف تمام عكسهای با ابعاد كامل(Full size)', //cpg1.4
+  'delete_intermediate' => 'حذف عكسهای اصلی ارسال شده', //cpg1.4
+  'delete_intermediate_explanation' => 'این عملیات عكسهای اولیه و ابتدایی را كه برای ساخت عكس نهایی ارسال شده اند حذف می كند.<br />اگر گزینه \'ايجاد تصاوير متوسط\' را در بخش پیكربندی غیر فعال كرده اید از این عملیات استفاده كنید تا فضای وب اشغال شده شما پاك سازی گردد.', //cpg1.4
+  'delete_replace' => 'حدف فايل اصلي و جايگزين كردن فايل تغيير اندازه يافته',
+  'titles_deleted' => 'تمام تیترهای آلبوم انتخاب شده حذف شد', //cpg1.4
+  'deleting_intermediates' => 'در حال حذف عكسهای متوسط ، لطفا صبر كنید...', //cpg1.4
+  'searching_orphans' => 'در حال جستجو برای سرگردانها ، لطفا صبر كنید', //cpg1.4
+  'select_album' => 'انتخاب آلبوم',
+  'delete_orphans' => 'حذف نظرات فایلهای گم شده', //cpg1.4
+  'delete_orphans_explanation' => 'این روش به شما امكان می دهد تا تمام نظراتی را كه به فایلهای گم شده داده شده اند پیدا و حذف كنید.<br />همه آلبومها را چك كن.', //cpg1.4
+  'refresh_db' => 'بازخوانی مجدد اندازه و ابعاد فایل', //cpg1.4
+  'refresh_db_explanation' => 'این روش اندازه و ابعاد فایل را مجددا می خواند.وقتی فایلی را بصورت دستی تغییر میدهید و یا فضای تخصیص داده شده اشتباه است از این روش استفاده كنید.', //cpg1.4
+  'reset_views' => 'صفر كردن شمارنده بازدیدها', //cpg1.4
+  'reset_views_explanation' => 'شمارنده تمام فایلهای یك آلبوم را صفر میكند.', //cpg1.4
+  'orphan_comment' => 'نظر سرگردان پيدا شد', //cpg1.3.0
+  'delete' => 'حذف', //cpg1.3.0
+  'delete_all' => 'حدف همه', //cpg1.3.0
+  'delete_all_orphans' => 'تمام نظرات سرگردان را حذف میكنید؟', //cpg1.4
+  'comment' => 'نظر: ', //cpg1.3.0
+  'nonexist' => 'مربوط به فايلي كه موجود نيست # ', //cpg1.3.0
+  'phpinfo' => 'مشاهده مشخصات php', //cpg1.3.0
+  'phpinfo_explanation' => 'نمایش مشخصات تكنیكی سرور.<br /> - وقتی درخواست كمك میكنید ممكن است این اطلاعات از شما خواسته شود.', //cpg1.4
+  'update_db' => 'به روز رساني ديتابيس', //cpg1.3.0
+  'update_db_explanation' => ' اگر تغييري در فايلهاي اصلي برنامه داده ايد و يا نرم افزار را به نسخه بالاتري ارتقاء داده ايد حتما ديتابيس را به روز رساني كنيد چون با اين كار جداول ديتابيس ساخته و يا به روز رساني مي شوند.', //cpg1.3.0
+  'view_log' => 'نمایش گزارشات و وقایع', //cpg1.4
+  'view_log_explanation' => 'گالری میتواند فعالیتهايی را كه یك كاربر انجام میدهد تحت نظر بگیرد.شما میتوانید این گزارشها را مرور كنید اگر سیستم گزارشگیری و ثبت وقایع را در <a href="admin.php">پیكربندی گالری </a>فعال كرده باشید.', //cpg1.4
+  'versioncheck' => 'كنترل نسخه نرم افزار', //cpg1.4
+  'versioncheck_explanation' => 'نسخه فایلهای خود را كنترل كنید.ممكن است بعد از ارتقا نسخه و یا حتی بعد از نصب نرم افزار نسخه جدیدتری وجود داشته باشد.', //cpg1.4
+  'bridgemanager' => 'مدیریت هماهنگ سازی (Bridge)', //cpg1.4
+  'bridgemanager_explanation' => 'فعال كردن / از كار انداختن سیستم پیشرفته هماهنگ سازی (bridging) گالری با نرم افزارهای دیگر (برای مثال BBS ها).', //cpg1.4
+);
+}
+
+// ------------------------------------------------------------------------- //
+// File versioncheck.php //cpg1.4
+// ------------------------------------------------------------------------- //
+
+if (defined('VERSIONCHECK_PHP')) $lang_versioncheck_php = array(
+  'title' => 'كنترل نسخه', //cpg1.4
+  'what_it_does' => '<span dir=rtl>برای به روز رسانی نسخه نصب شده از این صفحه استفاده كنید. این برنامه با مقایسه نسخه فایلهای نصب شده بر روی سرور شما با نسخه جاری موجود در منبع گالری (http://coppermine.sourceforge.net) اختلاف میان آنها را به شما نشان می دهد، در این روش برنامه فایلهایی را كه باید به روز رسانی شوند مشخص میكند.<br />آن فایلهایی كه نیاز به به روز رسانی داشته باشند قرمز ، آنهایی كه نیاز به بازدید داشته باشند زرد و آنهایی كه مشكلی ندارند سبز نمایش داده می شوند.<br />برای اطلاعات بیشتر بر روی آیكون راهنما كلیك كنید.</span>', //cpg1.4
+  'online_repository_unable' => 'امكان اتصال به منبع آنلاین نیست!', //cpg1.4
+  'online_repository_noconnect' => ' دو دلیل برای عدم موفقیت در برقراری اتصال بین منبع و گالری شما وجود دارد:', //cpg1.4
+  'online_repository_reason1' => 'منبع آنلاین در حال حاضر فعال نیست - برای اطمینان از این موضوع آدرس:%s را كنترل كنید ، اگر قابل مشاهده نیست بعدا كنترل كنید.', //cpg1.4
+  'online_repository_reason2' => 'سرور PHP شما در  پیكربندی خود %s را غیر فعال كرده است (به صورت پیش فرض فعال است).اگر این سرور را خودتان مدیریت می كنید از طریق فایل <i>php.ini</i> این گزینه را فعال كنید  (حداقل اجازه بدهید تا توسط %s بازنویسی شود).اگر از امكانات اجاره فضا برای گالری خود استفاده می كنید از مدیریت فضای وب خود بخواهید این گزینه را فعال كند ، در صورتیكه مدیریت فضای وب شما این امر را نپذیرد شما نمی توانید از امكان كنترل نسخه این صفحه استفاده كنید و تنها نسخه برنامه نصب شده شما نمایش داده خواهد شد - نسخه های به روز رسانی ها نمایش داده نمی شوند.', //cpg1.4
+  'online_repository_skipped' => 'اتصال به منبع آنلاین قطع شد', //cpg1.4
+  'online_repository_to_local' => 'برنامه برای مقایسه از نسخه موجود بر روی سرور (local) استفاده میكند.اگر در هنگام ارتقاء تمام فایلها را ارسال نكرده اید ، اطلاعات نمایش داده شده دقیق نیست. تغییراتی كه بعد از انتشار این نسخه در فایلها بوجود آمده است در این صفحه نمایش داده نمی شوند.', //cpg1.4
+  'local_repository_unable' => 'امكان اتصال به منبع بر روی سرور شما نیست', //cpg1.4
+  'local_repository_explanation' => 'گالری قادر به بر قراری اتصال با فایل منبع %s بر روی سرور شما نیست. ممكن است شما این فایل را بر روی سرور خود ارسال نكرده باشید. این فایل را نصب كنید و دوباره این صفحه را فراخوانی كنید (refresh را بزنید).<br />اگر برنامه هنوز خطا نشان میدهد ، شركت اجاره دهنده فضای شما بخشی از <a href="http://www.php.net/manual/en/ref.filesystem.php">توابع سیستمی PHP</a> را غیر فعال نموده است. در این حالت متاسفانه شما نمیتوانید از این برنامه استفاده كنید.', //cpg1.4
+  'coppermine_version_header' => 'نسخه نصب شده گالری', //cpg1.4
+  'coppermine_version_info' => 'نسخه نصب شده شما : %s', //cpg1.4
+  'coppermine_version_explanation' => 'اگر فكر میكنید نسخه ای كه نصب كرده اید این نیست ، به احتمال زیاد آخرین نسخه فایل <i>include/init.inc.php</i> را ارسال نكرده اید.', //cpg1.4
+  'version_comparison' => 'مقایسه نسخه ها', //cpg1.4
+  'folder_file' => 'فایل/زیرشاخه', //cpg1.4
+  'coppermine_version' => 'نسخه گالری', //cpg1.4
+  'file_version' => 'نسخه فایل', //cpg1.4
+  'webcvs' => 'web svn', //cpg1.4
+  'writable' => 'قابل نوشتن', //cpg1.4
+  'not_writable' => 'غیر قابل نوشتن', //cpg1.4
+  'help' => 'كمك', //cpg1.4
+  'help_file_not_exist_optional1' => 'فایل/زیرشاخه وجود ندارد', //cpg1.4
+  'help_file_not_exist_optional2' => '<span dir=rtl>فایل/زیرشاخه %s بر روی سرور شما پیدا نشد! در حقیقت در صورت بروز مشكل شما باید این فایل را بر روی سرور خود ارسال كنید(توسط نرم افزار FTP).</span>', //cpg1.4
+  'help_file_not_exist_mandatory1' => 'فایل/زیرشاخه وجود ندارد', //cpg1.4
+  'help_file_not_exist_mandatory2' => '<span dir=rtl>فایل/زیرشاخه %s بر روی سرور شما پیدا نشد! شما باید حتما این فایل را بر روی سرور خود ارسال كنید(توسط نرم افزار FTP).</span>', //cpg1.4
+  'help_no_local_version1' => 'فایل محلی نسخه ها پیدا نشد!', //cpg1.4
+  'help_no_local_version2' => 'برنامه قادر به تشخیص نسخه فایلهای محلی - فایلهای شما یا از تاریخ گذشته اند یا شما آنها را تغییر داده اید، و اطلاعات سرآیند را حذف كرده اید. به روز رسانی فایل توصیه می شود.', //cpg1.4
+  'help_local_version_outdated1' => 'نسخه های محلی موجود خارج از تاریخ است', //cpg1.4
+  'help_local_version_outdated2' => 'بنظر می رسد كه این فایل مربوط به نسخه های قدیمی گالری باشد(احتمالا شما نسخه گالری خود را ارتقاء داده اید) اطمینان پیدا كنید كه این فایل را هم ارتقاء داده اید.', //cpg1.4
+  'help_local_version_na1' => 'امكان پیدا كردن اطلاعات نسخه CVS نیست', //cpg1.4
+  'help_local_version_na2' => 'برنامه قادر به تشخیص نسخه cvs موجود بر روی سرور شما نیست. شما باید فایلهای اصلی را بر روی سرور خود ارسال كنید.', //cpg1.4
+  'help_local_version_dev1' => 'نسخه در حال گسترش (آزمایشی)', //cpg1.4
+  'help_local_version_dev2' => 'فایلهای موجود بر روی سرور شما جدیدتر از نسخه گالری شما هستند!!! شما یا در حال استفاده از یك نسخه در حال گسترش وآزمایشی هستید(فقط در صورتی این كار را انجام دهید كه بدانید چه كاری می كنید!) و یا گالری خود را ارتقاء داده اید و فایل include/init.inc.php را ارسال نكرده اید.', //cpg1.4
+  'help_not_writable1' => 'زیرشاخه قابل نوشتن نیست', //cpg1.4
+  'help_not_writable2' => 'مجوز های دسترسی فایل را تغییر دهید(CHMOD) تا به برنامه اجازه دسترسی نوشتن بر روی زیرشاخه %s و تمام زیر مجموعه های آن داده شود.', //cpg1.4
+  'help_writable1' => 'زیر شاخه قابل نوشتن است', //cpg1.4
+  'help_writable2' => 'زیرشاخه %s قابل نوشتن است!این زیرشاخه احتیاجی به مجوز نوشتن ندارد ، گالری فقط احتیاج به مجوز خواندن/اجرا دارد.', //cpg1.4
+  'help_writable_undetermined' => 'گالری موفق به تشخیص اینكه آیا زیرشاخه قابل نوشتن است نشد!', //cpg1.4
+  'your_file' => 'فایل شما', //cpg1.4
+  'reference_file' => 'فایل مبداء', //cpg1.4
+  'summary' => 'خلاصه', //cpg1.4
+  'total' => 'كل فایلها/زیرشاخه های كنترل شده', //cpg1.4
+  'mandatory_files_missing' => 'فایل سیستمی گم شده', //cpg1.4
+  'optional_files_missing' => 'فایل عادی گم شده', //cpg1.4
+  'files_from_older_version' => 'فایلهای كنار گذاشته شده از نسخه های از تاریخ گذشته', //cpg1.4
+  'file_version_outdated' => 'فایلهای از تاریخ گذشته', //cpg1.4
+  'error_no_data' => 'در برنامه خطایی بوجود آمده ، برنامه امكان دادن اطلاعات بیشتری ندارد.از مشكل پیش آمده متاسفیم!', //cpg1.4
+  'go_to_webcvs' => 'برو به %s', //cpg1.4
+  'options' => 'انتخابها', //cpg1.4
+  'show_optional_files' => 'نمایش فایلها/زیرشاخه های عادی', //cpg1.4
+  'show_mandatory_files' => 'نمایش فایلهای سیستمی', //cpg1.4
+  'show_file_versions' => 'نمایش نسخه فایل', //cpg1.4
+  'show_errors_only' => 'نمایش فقط زیرشاخه ها /فایلهای دارای خطا', //cpg1.4
+  'show_permissions' => 'نمایش مجوزهای زیرشاخه', //cpg1.4
+  'show_condensed_output' => 'نمایش خروجی به صورت فشرده (برای سهولت در گرفتن نسخه چاپی از صفحه نمایش)', //cpg1.4
+  'coppermine_in_webroot' => 'گالری در ریشه اصلی نصب شده', //cpg1.4
+  'connect_online_repository' => 'سعی در برقراری ارتباط با منبع آنلاین', //cpg1.4
+  'show_additional_information' => 'نمایش اطلاعات اضافی', //cpg1.4
+  'no_webcvs_link' => 'عدم نمایش لینكهای cvs', //cpg1.4
+  'stable_webcvs_link' => 'نمایش لینك cvs به شاخه های ایستا تر (stable)', //cpg1.4
+  'devel_webcvs_link' => 'نمایش لینك cvs به شاخه های در حال گسترش', //cpg1.4
+  'submit' => 'تائید تغییرات / فراخوانی مجدد(Refresh)', //cpg1.4
+  'reset_to_defaults' => 'بازگشت به مشخصات پیش فرض', //cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File view_log.php  //cpg1.4
+// ------------------------------------------------------------------------- //
+
+if (defined('VIEWLOG_PHP')) $lang_viewlog_php = array(
+  'delete_all' => 'حذف همه گزارش ها', //cpg1.4
+  'delete_this' => 'حذف این گزارش', //cpg1.4
+  'view_logs' => 'نمایش گزارش ها', //cpg1.4
+  'no_logs' => 'گزارشی ساخته نشد.', //cpg1.4
+);
+
+
+// ------------------------------------------------------------------------- //
+// File xp_publish.php //cpg1.4
+// ------------------------------------------------------------------------- //
+
+if (defined('XP_PUBLISH_PHP')) {
+
+$lang_xp_publish_client = <<<EOT
+<h1>XP Web Publishing Wizard Client</h1><p>این ماژول اجازه میدهد تا از ویزارد انتشار در وب <b>Windows XP</b> برای گالری استفاده کنید.</p><p>کد استفاده شده در این بخش از مقاله ای گرفته شده ، نام نویسنده مقاله:
+EOT;
+
+$lang_xp_publish_required = <<<EOT
+<h2>چه چیزی مورد نیاز است</h2><ul><li>برای استفاده از ویزارد به Windows XP احتیاج دارید.</li><li>یک نسخه نصب شده از گالری تا <b>تابع ارسال به وب درست کار کند.</b></li></ul><h2>چگونه در طرف مشتری (client side) نصب می شود</h2><ul><li>کلیک راست بر روی
+EOT;
+
+$lang_xp_publish_select = <<<EOT
+"save target as.." را اتخاب کنید. فایل را بر روی سخت دیسک خود ظبط نمائید. در هنگام ظبط شدن دقت کنید که نام فایل به شکل <b>cpg_###.reg</b> (### نشان دهنده اعداد تاریخ هستند )باشد. اگر احتیاج بود نام را تغییر دهید (اعداد را نگه دارید). وقتی دریافت تمام شد ، برای ثبت سرورتان در ویزارد انتشار وب بر روی فایل دوبار کلیک کنید.</li></ul>
+EOT;
+
+$lang_xp_publish_testing = <<<EOT
+<h2>آزمایش</h2><ul><li>در مرورگر ویندوز، چند فایل را انتخاب کنید و بر روی<b>Publish xxx on the web</b> در قسمت چپ کلیک کنید.</li><li>تائید انتخاب فایل. بر روی <b>Next</b>کلیک کنید.</li><li>در لیست ظاهر شده از سرویسها ، یکی از گالری های عکس را انتخاب نمائید (هم نام گالری شما خواهد بود). اگر سرویس نمایش داده نشد، کنترل کنید که <b>cpg_pub_wizard.reg</b> با توجه به توضیحات بالا نصب شده باشد.</li><li>مشخصات ورود خود را در صورت نیاز وارد نمائید.</li><li>آلبوم مقصد را مشخص نمائید یا بسازید.</li><li>بر روی<b>next</b> کلیک کنید. ارسال عکسهای شما شروع خواهد شد.</li><li>وقتی تمام شد ، گالری را کنترل کنید و مطمئن شوید که عکسها درست اضافه شده اند.</li></ul>
+EOT;
+
+$lang_xp_publish_notes = <<<EOT
+<h2>نکته:</h2><ul><li>از لحظه ای که ارسال شروع شود ، ویزارد نمی تواند خطا های بوجود آمده و ارسال شده توسط اسکریپت را نمایش دهد بنابراین برای اطلاع از صحت ارسال باید گالری را کنترل کنید.</li><li>اگر ارسال  فایل با اشکال مواجه شد ، "حالت دیباگ" را فعال کنید و با ارسال یک عکس پیغام خطا را کنترل کنید در
+EOT;
+
+$lang_xp_publish_flood = <<<EOT
+فایلی در زیرشاخه گالری در سرور شما.</li><li>برای جلوگیری از <i>سر ریز</i> گالری از عکس های ارسال شده توسط ویزارد ، فقط <b>مدیریت گالری</b> و <b>کاربرانی که اجازه داشتن گالری شخصی</b> دارند می توانند از این قابلیت استفاده کنند.</li>
+EOT;
+
+
+
+$lang_xp_publish_php = array(
+  'title' => 'ویزارد انتشار وب XP-گالری', //cpg1.4
+  'welcome' => 'خوش آمدید <b>%s</b>,', //cpg1.4
+  'need_login' => 'قبل از استفاده از این ویزارد شما باید بوسیله مرورگر خود به گالری وارد شوید (با استفاده از نام كاربری و رمز عبور خودتان).<p/><p>در هنگام ورود فراموش نكنید كه در صورتیكه گزینه </b>مرا بخاطر بسپار <b> وجود دارد آنرا انتخاب كنید.', //cpg1.4
+  'no_alb' => 'متاسفانه آلبومی كه شما مجوز ارسال فایل از طریق این ویزارد به آن داشته باشید وجود ندارد.', //cpg1.4
+  'upload' => 'ارسال عكس به آلبوم های موجود', //cpg1.4
+  'create_new' => 'ساخت آلبوم جدید برای عكسها', //cpg1.4
+  'album' => 'آلبوم', //cpg1.4
+  'category' => 'موضوع', //cpg1.4
+  'new_alb_created' => 'آلبوم جدید شما "<b>%s</b>" ساخته شد.', //cpg1.4
+  'continue' => 'برای شروع ارسال عكسها دكمه "بعدی" را فشار دهید', //cpg1.4
+  'link' => 'this link', //cpg1.4
+);
+}
 ?>
\ No newline at end of file
diff -x .svn -aruN 1.4.24.src/lang/polish.php 1.4.25.src/lang/polish.php
--- 1.4.24.src/lang/polish.php	2009-05-25 15:01:17.000000000 -0500
+++ 1.4.25.src/lang/polish.php	2009-05-26 11:25:40.000000000 -0500
@@ -1,2113 +1,2113 @@
-<?php
-/*************************
-Coppermine Photo Gallery
-************************
-Copyright (c) 2003-2009 Coppermine Dev Team
-v1.1 originally written by Gregory DEMAR
-
-This program is free software; you can redistribute it and/or modify
-it under the terms of the GNU General Public License version 3
-as published by the Free Software Foundation.
-
-********************************************
-Coppermine version: 1.4.24
-$HeadURL: https://coppermine.svn.sourceforge.net/svnroot/coppermine/trunk/cpg1.4.x/lang/polish.php $
-$Revision: 5988 $
-$Author: gaugau $
-$Date: 2009-05-25 22:01:41 +0200 (Mo, 25 Mai 2009) $
-**********************************************/
-// ------------------------------------------------------------------------- //
-// $Id: polish.php 5988 2009-05-25 20:01:41Z gaugau $
-// ------------------------------------------------------------------------- //
-
-$lang_translation_info = array(
-  'lang_name_english' => 'Polish',
-  'lang_name_native' => 'Polski',
-  'lang_country_code' => 'pl',
-  'trans_name'=> 'Radosław Pawłowski, Bartłomiej Szczudło, Jacek Domoń',
-  'trans_email' => 'b.szczudlo@doomni.net',
-  'trans_email2' => 'ilovemycity@tlen.pl',
-  'trans_email3' => 'plusz@plusz.net',
-  'trans_website' => 'http://www.toruniak.prv.pl',
-  'trans_website2' => 'http://klugg.ath.cx',
-  'trans_website3' => 'http://www.plusz.net',
-  'trans_date' => '2005-12-15',
-  'trans_date2' => '2006-01-30',
-  'trans_date3' => '2006-06-16',
-  );
-
-$lang_charset = 'utf-8';
-$lang_text_dir = 'ltr'; // ('ltr' for left to right, 'rtl' for right to left)
-
-// shortcuts for Byte, Kilo, Mega
-$lang_byte_units = array('Bajtów', 'KB', 'MB');
-
-// Day of weeks and months
-$lang_day_of_week = array('Nd', 'Pn', 'Wt', 'Śr', 'Czw', 'Pt', 'Sob');
-$lang_month = array('stycznia', 'lutego', 'marca', 'kwietnia', 'maja', 'czerwca', 'lipca', 'sierpnia', 'września', 'października', 'listopada', 'grudnia');
-
-// Some common strings
-$lang_yes = 'Tak';
-$lang_no  = 'Nie';
-$lang_back = 'Wstecz';
-$lang_continue = 'Kontynuuj';
-$lang_info = 'Informacje';
-$lang_error = 'Błąd';
-$lang_check_uncheck_all = 'Zaznacz/Odznacz wszystko'; //cpg1.4
-
-// The various date formats
-// See http://www.php.net/manual/en/function.strftime.php to define the variable below
-$album_date_fmt =    '%d %B %Y';
-$lastcom_date_fmt =  '%d/%m/%y,  %H:%M';
-$lastup_date_fmt = '%d %B %Y';
-$register_date_fmt = '%d %B %Y';
-$lasthit_date_fmt = '%d %B %Y, %H:%M';
-$comment_date_fmt =  '%d %B %Y, %H:%M';
-$log_date_fmt = '%d %B %Y, %H:%M'; //cpg1.4
-
-// For the word censor
-$lang_bad_words = array('*fuck*', 'asshole', 'assramer', 'bitch*', 'c0ck', 
-  'clits', 'Cock', 'cum', 'cunt*', 'dago', 'daygo', 'dego', 'dick*', 'dildo', 
-  'fanculo', 'feces', 'foreskin', 'Fu\(*', 'fuk*', 'honkey', 'hore', 'injun', 
-  'kike', 'lesbo', 'masturbat*', 'motherfucker', 'nazis', 'nigger*', 'nutsack', 
-  'penis', 'phuck', 'poop', 'pussy', 'scrotum', 'shit', 'slut', 'titties', 
-  'titty', 'twaty', 'wank*', 'whore', 'wop*',
-  '*chuj*', '*jebi*', '*cipa', '*pierdol*', '*jeba*'
-  );
-
-$lang_meta_album_names = array(
-  'random' => 'Losowo',
-  'lastup' => 'Ostatnio dodane',
-  'lastalb'=> 'Ostatnie albumy',
-  'lastcom' => 'Komentarze',
-  'topn' => 'Najczęściej oglądane',
-  'toprated' => 'Najwyżej oceniane',
-  'lasthits' => 'Ostatnio oglądane',
-  'search' => 'Szukaj',
-  'favpics'=> 'Ulubione',  //cpg1.4
-);
-
-$lang_errors = array(
-  'access_denied' => 'Nie masz uprawnień aby oglądać tę stronę.',
-  'perm_denied' => 'Nie masz uprawnień aby wykonać tę operację.',
-  'param_missing' => 'Skrypt został wywołany bez wymaganego parametru.',
-  'non_exist_ap' => 'Wybrany plik lub album nie istnieje!',
-  'quota_exceeded' => 'Przekroczono limit miejsca. <br /><br />Twój przydział: [quota]K, Twoje pliki używają obecnie: [space]K. Dodanie wybranego pliku spowoduje przekroczenie limitu.', //cpg1.3.0
-  'gd_file_type_err' => 'Jeżeli w użyciu jest biblioteka GD, dozwolone formaty zdjęć to wyłącznie JPEG i PNG.',
-  'invalid_image' => 'Zdjęcie które przesłano nie może być obsłużone przez bibliotekę GD.',
-  'resize_failed' => 'Nie można stworzyć miniatury lub zdjęcia pośredniego.',  
-  'no_img_to_display' => 'Brak pliku do wyświetlenia',
-  'non_exist_cat' => 'Wybrana kategoria nie istnieje',
-  'orphan_cat' => 'Kategoria nie ma gałęzi nadrzędnej, uruchom menedżera kategorii aby rozwiązać ten problem.', //cpg1.3.0
-  'directory_ro' => 'Katalog \'%s\' jest zabezpieczony przed zapisem. Pliki nie mogą być skasowane.', //cpg1.3.0
-  'non_exist_comment' => 'Wybrany komentarz nie istnieje.',
-  'pic_in_invalid_album' => 'Plik znajduje się w nieistniejącym albumie (%s)!?', //cpg1.3.0
-  'banned' => 'Twój dostęp do strony jest obecnie zablokowany.',
-  'not_with_udb' => 'Wybrana funkcja nie jest dostępna, ponieważ jest zintegrowana z oprogramowaniem forum. Czynność którą chcesz wykonać nie jest wspierana w tej konfiguracji, bądź powinna być obsłużona przez oprogramowanie forum.',
-  'offline_title' => 'Offline', //cpg1.3.0
-  'offline_text' => 'Galeria jest obecnie wyłączona - spróbuj ponownie później', //cpg1.3.0
-  'ecards_empty' => 'Nie ma obecnie żadnych zapisów dotyczących e-kartek. Sprawdź, czy włączyłeś logowanie e-kartek w konfiguracji Coppermine!', //cpg1.3.0
-  'action_failed' => 'Działanie nie powiodło się. Coppermine nie może przetworzyć Twojego żądania.', //cpg1.3.0
-  'no_zip' => 'Biblioteki do obsługi archiwów ZIP nie są obecnie dostępne. Skontaktuj się z administratorem Coppermine.', //cpg1.3.0
-  'zip_type' => 'Nie masz uprawnień by przesyłać archiwa ZIP.', //cpg1.3.0
-  'database_query' => 'Wystąpił błąd podczas przetwarzania bazy danych', //cpg1.4
-  'register_globals_on' => 'The PHP setting register_globals is enabled on your server, which is a bad idea in terms of security. It\'s strongly recommended to turn it off. [<a href="http://forum.coppermine-gallery.net/index.php/topic,59569.0.html" rel="external" class="external">more</a>]',
-);
-
-$lang_bbcode_help_title = 'Pomoc - bbcode'; //cpg1.4
-$lang_bbcode_help = 'Możesz użyć następujących kodów: <li>[b]Pogrubienie[/b] =&gt; <b>Pogrubienie</b></li><li>[i]Kursywa[/i] =&gt; <i>Kursywa</i></li><li>[url=http://twojastrona.com/]Adres URL[/url] =&gt; <a href="http://twojastrona.com">Tekst URL</a></li><li>[email]uzytkownik@domena.com[/email] =&gt; <a href="mailto:uzytkownik@domena.com">uzytkownik@domena.com</a></li><li>[color=red]kolorowy tekst[/color] =&gt; <span style="color:red">kolorowy tekst</span></li><li>[img]http://coppermine-gallery.net/demo/cpg14x/images/red.gif[/img] => <img src="../images/red.gif" border="0" alt="" /></li>'; //cpg1.4
-
-// ------------------------------------------------------------------------- //
-// File theme.php
-// ------------------------------------------------------------------------- //
-
-$lang_main_menu = array(
-  'home_title' => 'Idź do strony głównej',
-  'home_lnk' => 'Strona główna',
-  'alb_list_title' => 'Idź do listy albumów',
-  'alb_list_lnk' => 'Lista albumów',
-  'my_gal_title' => 'Idź do Moje Albumy',
-  'my_gal_lnk' => 'Moje albumy',
-  'my_prof_title' => 'Przeglądaj swój profil', //cpg1.4
-  'my_prof_lnk' => 'Mój profil',
-  'adm_mode_title' => 'Przełącz do trybu Administratora',
-  'adm_mode_lnk' => 'Tryb Administratora',
-  'usr_mode_title' => 'Przełącz na tryb użytkownika',
-  'usr_mode_lnk' => 'Tryb użytkownika',
-  'upload_pic_title' => 'Dodaj pliki do albumów',
-  'upload_pic_lnk' => 'Dodaj pliki',
-  'register_title' => 'Utwórz nowe konto',
-  'register_lnk' => 'Zarejestruj się',
-  'login_title' => 'Zaloguj mnie', //cpg1.4
-  'login_lnk' => 'Zaloguj się',
-  'logout_title' => 'Wyloguj mnie', //cpg1.4
-  'logout_lnk' => 'Wyloguj',
-  'lastup_title' => 'Pokaż ostatnio dodane pliki', //cpg1.4
-  'lastup_lnk' => 'Ostatnio przesłane',
-  'lastcom_title' => 'Pokaż ostatnio dodane komentarze', //cpg1.4
-  'lastcom_lnk' => 'Komentarze',
-  'topn_title' => 'Pokaż najpopularniejsze pliki', //cpg1.4
-  'topn_lnk' => 'Popularne',
-  'toprated_title' => 'Pokaż najwyżej oceniane pliki', //cpg1.4
-  'toprated_lnk' => 'Najlepiej oceniane',
-  'search_title' => 'Przeszukaj galerię', //cpg1.4
-  'search_lnk' => 'Szukaj',
-  'fav_title' => 'Idź do ulubionych', //cpg1.4
-  'fav_lnk' => 'Ulubione',
-  'memberlist_title' => 'Członkowie galerii',
-  'memberlist_lnk' => 'Członkowie galerii',
-  'faq_title' => 'Najczęściej zadawane pytania w galerii &quot;Coppermine&quot;',
-  'faq_lnk' => 'FAQ',
-);
-
-$lang_gallery_admin_menu = array(
-  'upl_app_title' => 'Akceptuj przesłane pliki', //cpg1.4
-  'upl_app_lnk' => 'Akceptuj przesłane pliki',
-  'admin_title' => 'Ustawienia galerii', //cpg1.4
-  'admin_lnk' => 'Ustawienia', //cpg1.4
-  'albums_title' => 'Zarządzaj albumami', //cpg1.4
-  'albums_lnk' => 'Albumy',
-  'categories_title' => 'Zarządzaj kategoriami', //cpg1.4
-  'categories_lnk' => 'Kategorie',
-  'users_title' => 'Zarządzaj użytkownikami', //cpg1.4
-  'users_lnk' => 'Użytkownicy',
-  'groups_title' => 'Ustawienia grup', //cpg1.4
-  'groups_lnk' => 'Grupy',
-  'comments_title' => 'Przeglądaj wszystkie komentarze', //cpg1.4
-  'comments_lnk' => 'Komentarze',
-  'searchnew_title' => 'Wsadowe dodawanie plików', //cpg1.4
-  'searchnew_lnk' => 'Wsadowe dodawanie plików',
-  'util_title' => 'Zarządzaj poprzez narzędzia Administratora', //cpg1.4
-  'util_lnk' => 'Narzędzia Administratora',
-  'key_title' => 'Słownik kluczowych słów', //cpg1.4
-  'key_lnk' => 'Słowa kluczowe', //cpg1.4
-  'ban_title' => 'Blokowanie użytkowników', //cpg1.4
-  'ban_lnk' => 'Blokowanie',
-  'db_ecard_title' => 'Przejrzyj e-kartki', //cpg1.4
-  'db_ecard_lnk' => 'e-kartki',
-  'pictures_title' => 'Posortuj zdjęcia w albumach', //cpg1.4
-  'pictures_lnk' => 'Sortowanie zdjęć', //cpg1.4
-  'documentation_lnk' => 'Dokumentacja', //cpg1.4
-  'documentation_title' => 'Dokumentacja galerii', //cpg1.4
-);
-
-$lang_user_admin_menu = array(
-  'albmgr_title' => 'Utwórz i uporządkuj moje albumy', //cpg1.4
-  'albmgr_lnk' => 'Utwórz / Uporządkuj moje albumy',
-  'modifyalb_title' => 'Modyfikuj moje albumy',  //cpg1.4
-  'modifyalb_lnk' => 'Modyfikacja albumów',
-  'my_prof_title' => 'Zobacz mój profil', //cpg1.4
-  'my_prof_lnk' => 'Mój profil',
-);
-
-$lang_cat_list = array(
-  'category' => 'Kategorie',
-  'albums' => 'Albumy',
-  'pictures' => 'Pliki',
-);
-
-$lang_album_list = array(
-  'album_on_page' => ' albumów: %d stron: %d',
-);
-
-$lang_thumb_view = array(
-  'date' => 'Data',
-  //Sort by filename and title
-  'name' => 'Nazwa pliku',
-  'title' => 'Tytuł',
-  'sort_da' => 'Sortuj według daty rosnąco',
-  'sort_dd' => 'Sortuj według daty malejąco',
-  'sort_na' => 'Sortuj według nazwy rosnąco',
-  'sort_nd' => 'Sortuj według nazwy malejąco',
-  'sort_ta' => 'Sortuj według tytułu rosnąco',
-  'sort_td' => 'Sortuj według tytułu malejąco',
-  'position' => 'POZYCJA', //cpg1.4
-  'sort_pa' => 'Sortuj według pozycji rosnąco', //cpg1.4
-  'sort_pd' => 'Sortuj według pozycji malejąco', //cpg1.4
-  'download_zip' => 'Pobierz jako plik ZIP',
-  'pic_on_page' => 'plików: %d, stron: %d',
-  'user_on_page' => '%d użytkowników na %d stronie (stronach)',
-  'enter_alb_pass' => 'Wpisz hasło do albumy', //cpg1.4
-  'invalid_pass' => 'Nieprawidłowe hasło', //cpg1.4
-  'pass' => 'Hasło', //cpg1.4
-  'submit' => 'Akceptuj', //cpg1.4
-);
-
-$lang_img_nav_bar = array(
-  'thumb_title' => 'Powrót do widoku miniatur',
-  'pic_info_title' => 'Pokaż/Ukryj informację o plikach',
-  'slideshow_title' => 'Pokaz Slajdów',
-  'ecard_title' => 'Wyślij ten plik jako e-kartkę',
-  'ecard_disabled' => 'Wysyłanie e-kartek jest zablokowane.',
-  'ecard_disabled_msg' => 'Nie masz uprawnień do wysyłania e-kartek.', //js-alert
-  'prev_title' => 'Zobacz poprzedni plik',
-  'next_title' => 'Zobacz następny plik',
-  'pic_pos' => 'Plik %s/%s',
-  'report_title' => 'Zgłoś ten plik do administratora', //cpg1.4
-  'go_album_end' => 'Idź na koniec', //cpg1.4
-  'go_album_start' => 'Idź do początku', //cpg1.4
-  'go_back_x_items' => 'Wstecz o %s', //cpg1.4
-  'go_forward_x_items' => 'Do przodu o %s', //cpg1.4
-);
-
-$lang_rate_pic = array(
-  'rate_this_pic' => 'Oceń ten plik ',
-  'no_votes' => '(Jeszcze nie głosowano)',
-  'rating' => '(Aktualna ocena : %s / 5 przy ilości głosów: %s)',
-  'rubbish' => 'Wyczyść',
-  'poor' => 'Słabe',
-  'fair' => 'Znośne',
-  'good' => 'Dobre',
-  'excellent' => 'Doskonałe',
-  'great' => 'Świetne',
-);
-
-// ------------------------------------------------------------------------- //
-// File include/exif.inc.php
-// ------------------------------------------------------------------------- //
-
-// void
-
-// ------------------------------------------------------------------------- //
-// File include/functions.inc.php
-// ------------------------------------------------------------------------- //
-
-$lang_cpg_die = array(
-  INFORMATION => $lang_info,
-  ERROR => $lang_error,
-  CRITICAL_ERROR => 'Błąd krytyczny',
-  'file' => 'Plik: ',
-  'line' => 'Linia: ',
-);
-
-$lang_display_thumbnails = array(
-  'filename' => 'Nazwa pliku=', //cpg1.4
-  'filesize' => 'Rozmiar=', //cpg1.4
-  'dimensions' => 'Rozmiar=', //cpg1.4
-  'date_added' => 'Data dodania=', //cpg1.4
-);
-
-$lang_get_pic_data = array(
-  'n_comments' => '%s komentarzy',
-  'n_views' => '%s odsłon',
-  'n_votes' => '(%s głosów)',
-);
-
-$lang_cpg_debug_output = array(
-  'debug_info' => 'Informacje o błędach',
-  'select_all' => 'Zaznacz wszystko',
-  'copy_and_paste_instructions' => 'Aby otrzymać pomoc na forum wsparcia technicznego coppermine, skopiuj i wklej te informacje debuggera do swojego postu. Pamiętaj aby zastąpić wszelkie hasła ciągiem ***, przed zamieszczeniem postu.', //cpg1.4
-  'phpinfo' => 'Wyświetl PHPinfo',
-  'notices' => 'Uwagi', //cpg1.4
-);
-
-$lang_language_selection = array(
-  'reset_language' => 'Domyślny język',
-  'choose_language' => 'Wybierz język',
-);
-
-$lang_theme_selection = array(
-  'reset_theme' => 'Domyślny motyw',
-  'choose_theme' => 'Wybierz motyw',
-);
-
-$lang_version_alert = array(
-  'version_alert' => 'Nieobsługiwana wersja!', //cpg1.4
-  'no_stable_version' => 'Uruchomiona została galeria Coppermine %s (%s), która jest przeznaczona jedynie dla bardzo zaawansowanych użytkowników - ta wersja nie ma wsparcia technicznego oraz gwarancji. Używasz jej na własne ryzyko. Jeśli potrzebujesz wsparcia technicznego, zainstaluj starszą, stabilną wersję!', //cpg1.4
-  'gallery_offline' => 'Galeria jest w tym momencie wyłączona i będzie dostępna wyłącznie dla Ciebie jako Administratora. Nie zapomnij włączyć galerii po dokonaniu niezbędnych zmian', //cpg1.4
-);
-
-$lang_create_tabs = array(
-  'previous' => 'Wstecz', //cpg1.4
-  'next' => 'Dalej', //cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File include/init.inc.php
-// ------------------------------------------------------------------------- //
-
-// void
-
-// ------------------------------------------------------------------------- //
-// File keyword.inc.php                                                      //
-// ------------------------------------------------------------------------- //
-
-// void
-
-// ------------------------------------------------------------------------- //
-// File include/picmgmt.inc.php
-// ------------------------------------------------------------------------- //
-
-// void
-
-// ------------------------------------------------------------------------- //
-// File include/plugin_api.inc.php
-// ------------------------------------------------------------------------- //
-$lang_plugin_api = array(
-  'error_wakeup' => "Nie można uruchomić plugina '%s'", //cpg1.4
-  'error_install' => "Nie można zainstalować plugina '%s'", //cpg1.4
-  'error_uninstall' => "Nie można odinstalować plugina '%s'", //cpg1.4
-  'error_sleep' => "Nie można odinstalować plugina '%s'<br />", //cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File include/smilies.inc.php
-// ------------------------------------------------------------------------- //
-
-if (defined('SMILIES_PHP')) $lang_smilies_inc_php = array(
-  'Exclamation' => 'Okrzyk',
-  'Question' => 'Pytanie',
-  'Very Happy' => 'Bardzo szczęśliwy',
-  'Smile' => 'Uśmiech',
-  'Sad' => 'Smutek',
-  'Surprised' => 'Zaskoczony',
-  'Shocked' => 'Zszokowany',
-  'Confused' => 'Zakręcony',
-  'Cool' => 'Cool',
-  'Laughing' => 'Śmiech',
-  'Mad' => 'Zły',
-  'Razz' => 'Nabijam się',
-  'Embarassed' => 'Zawstydzony',
-  'Crying or Very sad' => 'Płaczę, jest mi bardzo smutno',
-  'Evil or Very Mad' => 'Bardzo zły',
-  'Twisted Evil' => 'Zakręcony diabełek',
-  'Rolling Eyes' => 'Przewracanie oczami',
-  'Wink' => 'Puszczać oczko',
-  'Idea' => 'Pomysł',
-  'Arrow' => 'Strzałka',
-  'Neutral' => 'Neutralny',
-  'Mr. Green' => 'Zielony',
-);
-
-// ------------------------------------------------------------------------- //
-// File addpic.php
-// ------------------------------------------------------------------------- //
-
-// void
-
-// ------------------------------------------------------------------------- //
-// File mode.php //cpg1.4
-// ------------------------------------------------------------------------- //
-
-if (defined('MODE_PHP')) $lang_mode_php = array(
-  0 => 'Wychodzisz z trybu Administratora...',
-  1 => 'Wchodzisz w tryb Administratora...',
-);
-
-// ------------------------------------------------------------------------- //
-// File albmgr.php
-// ------------------------------------------------------------------------- //
-
-if (defined('ALBMGR_PHP')) $lang_albmgr_php = array(
-  'alb_need_name' => 'Album musi mieć nazwę!', //js-alert
-  'confirm_modifs' => 'Jesteś pewien, że chcesz dokonać tych zmian?', //js-alert
-  'no_change' => 'Nie dokonałeś żadnych zmian!', //js-alert
-  'new_album' => 'Nowy album',
-  'confirm_delete1' => 'Jesteś pewien, że chcesz dokonać usunięcia?', //js-alert
-  'confirm_delete2' => '\nWszystkie pliki i komentarze również zostaną usunięte!', //js-alert
-  'select_first' => 'Najpierw wybierz album', //js-alert
-  'alb_mrg' => 'Menedżer albumów',
-  'my_gallery' => '* Moja galeria *',
-  'no_category' => '* Brak kategorii *',
-  'delete' => 'Usuń',
-  'new' => 'Nowy',
-  'apply_modifs' => 'Zastosuj zmiany',
-  'select_category' => 'Wybierz kategorię',
-);
-
-// ------------------------------------------------------------------------- //
-// File banning.php
-// ------------------------------------------------------------------------- //
-
-if (defined('BANNING_PHP')) $lang_banning_php = array(
-  'title' => 'Blokuj użytkowników', //cpg1.4
-  'user_name' => 'Nazwa', //cpg1.4
-  'ip_address' => 'Adres IP', //cpg1.4
-  'expiry' => 'Wygasa (zostaw puste jeśli nigdy)', //cpg1.4
-  'edit_ban' => 'Zapisz zmiany', //cpg1.4
-  'delete_ban' => 'Usuń', //cpg1.4
-  'add_new' => 'Dodaj nowy zakaz', //cpg1.4
-  'add_ban' => 'Dodaj', //cpg1.4
-  'error_user' => 'Nie można znaleźć użytkownika', //cpg1.4
-  'error_specify' => 'Musisz określić nazwę lub IP użytkownika', //cpg1.4
-  'error_ban_id' => 'Złe ID zakazu!', //cpg1.4
-  'error_admin_ban' => 'Nie możesz blokować siebie!', //cpg1.4
-  'error_server_ban' => 'Zamierzasz zablokować swój własny serwer? Nie można tego dokonać...', //cpg1.4
-  'error_ip_forbidden' => 'Nie możesz zablokować tego IP - jest nierutowalny!<br />Jeśli chcesz zezwalać na blokowanie prywatnych IP, zmień to w <a href="admin.php">Ustawieniach Galerii</a>).', //cpg1.4
-  'lookup_ip' => 'Szukaj adresu IP', //cpg1.4
-  'submit' => 'Dalej!', //cpg1.4
-  'select_date' => 'Wybierz datę', //cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File bridgemgr.php //cpg1.4
-// ------------------------------------------------------------------------- //
-
-if (defined('BRIDGEMGR_PHP')) $lang_bridgemgr_php = array(
-  'title' => 'Kreator integracji',
-  'warning' => 'Uwaga: używając tego kreatora musisz brać pod uwagę fakt, że niektóre istotne dane są przesyłane jako treść formularzy html. Uruchom go tylko na swoim własnym komputerze (nie na publicznym, np. w kafejce) i nie zapomnij wyczyścić pamięci podręcznej przeglądarki oraz plików tymczasowych po zakończeniu pracy, w przeciwnym przypadku postronne osoby mogą uzyskać dostęp do twoich danych!',
-  'back' => 'wstecz',
-  'next' => 'dalej',
-  'start_wizard' => 'Rozpocznij kreatora integracji',
-  'finish' => 'Zakończ',
-  'hide_unused_fields' => 'ukryj nieużywane pola formularza (rekomendowane)',
-  'clear_unused_db_fields' => 'ukryj niewłaściwe wpisy w bazie danych (rekomendowane)',
-  'custom_bridge_file' => 'nazwa twojego spersonalizowanego pliku połączenia (jeśli nazwa pliku połączenia to <i>myfile.inc.php</i>, wpisz <i>myfile</i> do tego pola)',
-  'no_action_needed' => 'W tym kroku wystarczy kliknąć \'dalej\' aby kontynuować.',
-  'reset_to_default' => 'Przywróć wartość domyślną',
-  'choose_bbs_app' => 'wybierz instalację z którą chcesz zintegrować galerię coppermine',
-  'support_url' => 'Przejdź tutaj aby uzyskać wsparcie dotyczące tej aplikacji',
-  'settings_path' => 'ścieżka(ścieżki) używane przez twoją instalację BBS',
-  'database_connection' => 'połączenie do bazy danych',
-  'database_tables' => 'tabele bazy danych',
-  'bbs_groups' => 'grupy BBS',
-  'license_number' => 'Numer licencji',
-  'license_number_explanation' => 'wprowadź numer licencji (jeśli to konieczne)',
-  'db_database_name' => 'Nazwa bazy danych',
-  'db_database_name_explanation' => 'Wprowadź nazwę bazy danych, z której korzysta Twoja aplikacja BBS',
-  'db_hostname' => 'Host bazy danych',
-  'db_hostname_explanation' => 'Nazwa komputera na którym zainstalowano twoją bazę danych mySQL, zazwyczaj: &quot;localhost&quot;',
-  'db_username' => 'Użytkownik bazy danych',
-  'db_username_explanation' => 'nazwa użytkownika bazy mySQL używane do połączenia z BBS',
-  'db_password' => 'Hasło bazy danych',
-  'db_password_explanation' => 'Hasło dla wybranego użytkownika bazy danych mySQL',
-  'full_forum_url' => 'Adres URL forum',
-  'full_forum_url_explanation' => 'Pełny adres URL Twojej instalacji BBS (włączając http:// bit, np. http://www.twojadomena.com/forum)',
-  'relative_path_of_forum_from_webroot' => 'Ścieżka względna do forum',
-  'relative_path_of_forum_from_webroot_explanation' => 'Ścieżka względna do Twojej aplikacji BBS z katalogu webroot (Przykład: jeśli Twój BBS jest zlokalizowany pod adresem http://www.twojadomena.com/forum/, wpisz &quot;/forum/&quot; w to pole)',
-  'relative_path_to_config_file' => 'Ścieżka względna do pliku konfiguracyjnego Twojego BBS',
-  'relative_path_to_config_file_explanation' => 'Ścieżka względna do Twojej instalacji BBS, widziana z katalogu Twojej instalacji Coppermine (np. &quot;../forum/&quot; jeśli Twój BBS znajduje się pod adresem http://www.twojadomena.com/forum/ a galeria Coppermine pod adresem http://www.twojadomena.com/galeria/)',
-  'cookie_prefix' => 'Prefiks Cookie',
-  'cookie_prefix_explanation' => 'musi być to nazwa identyczna z nazwą Cookie generowaną przez Twoją instalację BBS',
-  'table_prefix' => 'Prefiks tabeli',
-  'table_prefix_explanation' => 'Musi być to nazwa zgodna z prefiksem jaki wybrałeś podczas konfiguracji BBS.',
-  'user_table' => 'Tabela użytkowników',
-  'user_table_explanation' => '(zazwyczaj wartość domyślna powinna być poprawna, chyba, że Twoja instalacja BBS jest niestandardowa)',
-  'session_table' => 'Tabela sesji',
-  'session_table_explanation' => '(zazwyczaj wartość domyślna powinna być poprawna, chyba, że Twoja instalacja BBS jest niestandardowa)',
-  'group_table' => 'Tabela grup',
-  'group_table_explanation' => '(zazwyczaj wartość domyślna powinna być poprawna, chyba, że Twoja instalacja BBS jest niestandardowa)',
-  'group_relation_table' => 'Tabela relacji grup',
-  'group_relation_table_explanation' => '(zazwyczaj wartość domyślna powinna być poprawna, chyba, że Twoja instalacja BBS jest niestandardowa)',
-  'group_mapping_table' => 'Tabela mapowania grup',
-  'group_mapping_table_explanation' => '(zazwyczaj wartość domyślna powinna być poprawna, chyba, że Twoja instalacja BBS jest niestandardowa)',
-  'use_standard_groups' => 'Użyj standardowych grup użytkowników BBS',
-  'use_standard_groups_explanation' => 'Użyj standardowych (wbudowanych) grup użytkowników (rekomendowane). To sprawi że wszystkie spersonalizowane grupy użytkowników na tej stronie zostaną pominięte. Wyłącz tę opcję TYLKO jeśli naprawdę wiesz co robisz!',
-  'validating_group' => 'Grupa walidacyjna',
-  'validating_group_explanation' => 'ID grupy w której znajdują się konta użytkowników wymagające walidacji (zazwyczaj wartość domyślna powinna być poprawna, chyba, że Twoja instalacja BBS jest niestandardowa)',
-  'guest_group' => 'Grupa gości',
-  'guest_group_explanation' => 'ID grupy w której znajdują się goście (użytkownicy anonimowi) (zazwyczaj wartość domyślna powinna być poprawna, chyba, że Twoja instalacja BBS jest niestandardowa)',
-  'member_group' => 'Grupa członków',
-  'member_group_explanation' => 'ID grupy w której znajdują się konta &quot;zwykłych&quot; użytkowników (zazwyczaj wartość domyślna powinna być poprawna, chyba, że Twoja instalacja BBS jest niestandardowa)',
-  'admin_group' => 'Grupa adminów',
-  'admin_group_explanation' => ' ID grupy w której znajdują się konta administratorów (zazwyczaj wartość domyślna powinna być poprawna, chyba, że Twoja instalacja BBS jest niestandardowa)',
-  'banned_group' => 'Grupa zabronionych',
-  'banned_group_explanation' => 'ID grupy w której znajdują się konta użytkowników zabronionych (zazwyczaj wartość domyślna powinna być poprawna, chyba, że Twoja instalacja BBS jest niestandardowa)',
-  'global_moderators_group' => 'Grupa globalnych moderatorów',
-  'global_moderators_group_explanation' => 'ID grupy w której znajdują się konta globalnych moderatorów BBS (zazwyczaj wartość domyślna powinna być poprawna, chyba, że Twoja instalacja BBS jest niestandardowa)',
-  'special_settings' => 'specyficzne ustawienia BBS',
-  'logout_flag' => 'wersja phpBB (logout flag)',
-  'logout_flag_explanation' => ' Twoja wersja BBS (to ustawienie specyfikuje w jaki sposób będą obsługiwane wylogowania)',
-  'use_post_based_groups' => 'Użyć grup na bazie postów?',
-  'logout_flag_yes' => '2.0.5 lub wyższa',
-  'logout_flag_no' => '2.0.4 lub niższa',
-  'use_post_based_groups_explanation' => 'Czy mają zostać wzięte pod uwagę grupy zdefiniowane przez ilość postów (pozwala na granulacyjne zarządzanie uprawnieniami), czy też może tylko grupy domyślne (czyni administrację łatwiejszą, rekomendowane). Możesz również zmienić to ustawienie później.',
-  'use_post_based_groups_yes' => 'tak',
-  'use_post_based_groups_no' => 'nie',
-  'error_title' => 'Musisz poprawić te błędy zanim będzie można kontynuować. Przejdź do poprzedniego ekranu.',
-  'error_specify_bbs' => 'Musisz ustalić z jaką aplikacją chcesz zintegrować galerię Coppermine.',
-  'error_no_blank_name' => 'Nie można pozostawić pustym nazwy pola twojego spersonalizowanego pliku integracji.',
-  'error_no_special_chars' => 'Nazwa pliku integracji nie może zawierać żadnych znaków specjalnych poza podkreśleniem (_) i myślnikiem (-)!',
-  'error_bridge_file_not_exist' => 'Plik integracji nie istnieje na serwerze. Sprawdź czy go przesłałeś.',
-  'finalize' => 'włącz/wyłącz integrację BBS',
-  'finalize_explanation' => 'Ustawienia które ustaliłeś zostały zapisane w bazie danych, ale integracja BBS nie została włączona. Możesz zmienić to ustawienie później w dowolnym czasie. Zapamiętaj nazwę użytkownika i hasło Twojej osobnej instalacji Coppermine, może Ci być potrzebne później abyś mógł dokonać zmian. Jeśli coś pójdzie źle, przejdź do %s i wyłącz integrację BBS, używając Twojego osobnego (nie połaczonego) konta administratora (zazwyczaj ustalonego podczas instalacji Coppermine).',
-  'your_bridge_settings' => 'Twoje ustawienia integracji',
-  'title_enable' => 'Włącz integrację z %s',
-  'bridge_enable_yes' => 'włącz',
-  'bridge_enable_no' => 'wyłącz',
-  'error_must_not_be_empty' => 'nie może być puste',
-  'error_either_be' => 'musi być %s lub %s',
-  'error_folder_not_exist' => '%s nie istnieje. Popraw wartość którą wprowadziłeś dla %s',
-  'error_cookie_not_readible' => 'Coppermine nie może odczytywać plików Cookiem o nazwie %s. Popraw nazwę cookie wprowadzoną dla %s, lub przejdź do panelu administracji Twojego BBS i upewnij się, że taka ścieżka jest odczytywana przez coppermine.',
-  'error_mandatory_field_empty' => 'Nie możesz zostawić pustym pola %s – wypełnij właściwą wartość.',
-  'error_no_trailing_slash' => 'Nie może być kończącego slasha w polu %s.',
-  'error_trailing_slash' => 'W polu %s musi być kończący slash.',
-  'error_db_connect' => 'Nie można połączyć się z serwerem bazy danych mySQL przy użyciu podanych przez Ciebie danych. Oto co zwrócił mySQL:',
-  'error_db_name' => 'Pomimo ustanowienia połączenia z serwerem, Coppermine nie mógł znaleźć bazy danych. Upewnij się, że podałeś poprawną nazwę. Oto co zwrócił mySQL:',
-  'error_prefix_and_table' => '%s i ',
-  'error_db_table' => 'Nie odnaleziono tabeli %s. Upewnij się, że podałeś nazwę %s poprawnie.',
-  'recovery_title' => 'Menedżer Integracji: odzyskiwanie awaryjne',
-  'recovery_explanation' => 'Jeśli chcesz administrować integracją Twojej galerii Coppermine, musisz najpierw zalogować się jako administrator. Jeśli nie możesz zalogować się, ponieważ integracja nie zadziałała tak jak tego oczekiwano, możesz ją wyłączyć. Wprowadzenie nazwy Twojego użytkownika i hasła nie spowoduje zalogowania, a jedynie wyłączy integrację. Sprawdź dokumentację aby uzyskać więcej informacji.',
-  'username' => 'Użytkownik',
-  'password' => 'Hasło',
-  'disable_submit' => 'prześlij',
-  'recovery_success_title' => 'Autoryzacja udana',
-  'recovery_success_content' => 'Integracja BBS wyłączona. Instalacja Coppermine działa od tej pory w trybie standardowym.',
-  'recovery_success_advice_login' => 'Aby zarządzać ustawieniami integracji i włączyć ją lub wyłączyć, zaloguj się jako administrator.',
-  'goto_login' => 'Przejdź do strony logowania',
-  'goto_bridgemgr' => 'Przejdź do menedżera integracji',
-  'recovery_failure_title' => 'Nieudana autoryzacja',
-  'recovery_failure_content' => 'Podałeś niewłaściwe dane logowania. Będziesz musiał podać dane konta administratora instalacji standardowej (zazwyczaj jest to konto które stworzyłeś w czasie instalacji galerii Coppermine).',
-  'try_again' => 'spróbuj ponownie',
-  'recovery_wait_title' => 'Czas oczekiwania jeszcze nie minął',
-  'recovery_wait_content' => 'Ze względów bezpieczeństwa, niniejszy skrypt nie pozwala na ponowne logowanie w krótkim okresie czasu po nieudanym logowaniu, należy poczekać na ponowną możliwość autoryzacji.',
-  'wait' => 'czekaj',
-  'create_redir_file' => 'Tworzenie pliku przekierowania (rekomendowane)',
-  'create_redir_file_explanation' => 'Aby przekierować użytkowników do galerii Coppermine po zalogowaniu do Twojego BBS, potrzebujesz pliku przekierowania w folderze BBS. Po wybraniu tej opcji, menedżer integracji spróbuje utworzyć ten plik, lub wygeneruje kod który należy skopiować i wkleić, jeśli trzeba będzie stworzyć ten plik ręcznie..',
-  'browse' => 'przeglądaj',
-);
-
-// ------------------------------------------------------------------------- //
-// File calendar.php //cpg1.4
-// ------------------------------------------------------------------------- //
-
-if (defined('CALENDAR_PHP')) $lang_calendar_php = array(
-  'title' => 'Kalendarz', //cpg1.4
-  'close' => 'Zamknij', //cpg1.4
-  'clear_date' => 'Usuń datę', //cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File catmgr.php
-// ------------------------------------------------------------------------- //
-
-if (defined('CATMGR_PHP')) $lang_catmgr_php = array(
-  'miss_param' => 'Określ parametry \'%s\' operacja niewykonana !',
-  'unknown_cat' => 'Wybrana kategoria nie istnieje w bazie danych',
-  'usergal_cat_ro' => 'Kategorie użytkowników galerii nie mogą zostać wykasowane!',
-  'manage_cat' => 'Zarządzaj kategoriami',
-  'confirm_delete' => 'Jesteś pewien, że chcesz USUNĄĆ tę kategorię?', //js-alert
-  'category' => 'Kategoria',
-  'operations' => 'Operacje',
-  'move_into' => 'Przesuń do',
-  'update_create' => 'Uaktualnij/Utwórz kategorię',
-  'parent_cat' => 'Kategoria "matka"',
-  'cat_title' => 'Nazwa kategorii',
-  'cat_thumb' => 'Category thumbnail',
-  'cat_desc' => 'Opis kategorii',
-  'categories_alpha_sort' => 'Posortuj kategorie alfabetycznie', //cpg1.4
-  'save_cfg' => 'Zapisz zmiany', //cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File admin.php //cpg1.4
-// ------------------------------------------------------------------------- //
-
-if (defined('ADMIN_PHP')) $lang_admin_php = array(
-  'title' => 'Ustawienia Galerii', //cpg1.4
-  'manage_exif' => 'Wyświetlanie informacji EXIF', //cpg1.4
-  'manage_plugins' => 'Zarządzaj pluginami', //cpg1.4
-  'manage_keyword' => 'Słowa kluczowe', //cpg1.4
-  'restore_cfg' => 'Przywróć ustawienia fabryczne',
-  'save_cfg' => 'Zapamiętaj nowe ustawienia',
-  'notes' => 'Informacje dodatkowe',
-  'info' => 'Information',
-  'upd_success' => 'Ustawienia galerii zostały zaktualizowane',
-  'restore_success' => 'Ustawienia fabryczne galerii zostały przywrócone',
-  'name_a' => 'Nazwy rosnąco',
-  'name_d' => 'Nazwy malejąco',
-  'title_a' => 'Tytuły rosnąco',
-  'title_d' => 'Tytuły malejąco',
-  'date_a' => 'Data rosnąco',
-  'date_d' => 'Data malejąco',
-  'pos_a' => 'Pozycja rosnąco', //cpg1.4
-  'pos_d' => 'Pozycja malejąco', //cpg1.4
-  'th_any' => 'Max stosunek szerokości do wysokości',
-  'th_ht' => 'Wysokość',
-  'th_wd' => 'Szerokość',
-  'label' => 'Etykieta',
-  'item' => 'Element',
-  'debug_everyone' => 'Wszyscy',
-  'debug_admin' => 'Tylko Admininistrator',
-  'no_logs'=> 'Wyłączone', //cpg1.4
-  'log_normal'=> 'Normalne', //cpg1.4
-  'log_all' => 'Wszystko', //cpg1.4
-   'view_logs' => 'Pokaż logi', //cpg1.4
-  'click_expand' => 'Kliknj nazwę sekcji aby rozwinąć', //cpg1.4
-  'expand_all' => 'Rozwiń wszystkie ', //cpg1.4
-  'notice1' => '(*) Te ustawienia nie mogą być zmieniane jeżeli masz już pliki w bazie danych.', //cpg1.4 - (relocated)
-  'notice2' => '(**) Gdy zmienisz te ustawienia, to tylko pliki dodane od tego momentu będą obięte zmianami. Nie zaleca się zmiany tych ustawień jeśli w bazie danych są już pliki. Jednakże  możesz dokonać zmian w już istniejących plikach poprzez &quot;<a href="util.php">Ustawienia Administratora</a> (zmiana rozmiaru plików)&quot;.', //cpg1.4 - (relocated)
-  'notice3' => '(***) Wszystkie logi są zapisywane w języku angielskim.', //cpg1.4 - (relocated)
-  'bbs_disabled' => 'Funkcja wyłączona ze względu na zintegrowanie z forum', //cpg1.4
-  'auto_resize_everyone' => 'Wszyscy', //cpg1.4
-  'auto_resize_user' => 'Tylko użytkownik', //cpg1.4
-  'ascending' => 'rosnąco', //cpg1.4
-  'descending' => 'malejąco', //cpg1.4
-);
-
-if (defined('ADMIN_PHP')) $lang_admin_data = array(
-  'Główne ustawienia',
-  array('Nazwa galerii', 'gallery_name', 0, 'f=index.htm&amp;as=admin_general_name&amp;ae=admin_general_name_end'), //cpg1.4
-  array('Opis galerii', 'gallery_description', 0, 'f=index.htm&amp;as=admin_general_description&amp;ae=admin_general_description_end'), //cpg1.4
-  array('Email Administratora galerii', 'gallery_admin_email', 0, 'f=index.htm&amp;as=admin_general_email&amp;ae=admin_general_email_end'), //cpg1.4
-  array('Adres URL galerii (bez \'index.php\' lub podobnych na końcu)', 'ecards_more_pic_target', 0, 'f=index.htm&amp;as=admin_general_coppermine-url&amp;ae=admin_general_coppermine-url_end'), //cpg1.4
-  array('Adres URL strony głównej', 'home_target', 0, 'f=index.htm&amp;as=admin_general_home-url&amp;ae=admin_general_home-url_end'), //cpg1.4
-  array('Zezwól na pobieranie ulubionych w formacie ZIP', 'enable_zipdownload', 1, 'f=index.htm&amp;as=admin_general_zip-download&amp;ae=admin_general_zip-download_end'), //cpg1.4
-  array('Różnica czasu w odniesieniu do GMT (Aktualny czas: ' . localised_date(-1, $comment_date_fmt) . ')','time_offset',0, 'f=index.htm&amp;as=admin_general_time-offset&amp;ae=admin_general_time-offset_end&amp;top=1'), //cpg1.4
-  array('Włącz szyfrowanie haseł (tej operacji nie można cofnąć)','enable_encrypted_passwords',1, 'f=index.htm&amp;as=admin_general_encrypt_password_start&amp;ae=admin_general_encrypt_password_end&amp;top=1'), // cpg 1.4
-  array('Włącz ikony pomocy (pomoc dostępna tylko po angielsku)','enable_help',9, 'f=index.htm&amp;as=admin_general_help&amp;ae=admin_general_help_end'), //cpg1.4
-  array('Włącz aktywne słowa kluczowe w wyszukiwaniu','clickable_keyword_search',14, 'f=index.htm&amp;as=admin_general_keywords_start&amp;ae=admin_general_keywords_end'), //cpg1.4
-  array('Uruchom pluginy', 'enable_plugins', 12, 'f=index.htm&amp;as=admin_general_enable-plugins&amp;ae=admin_general_enable-plugins_end'),  //cpg1.4
-  array('Zezwól na blokowanie nieroutowalnych adresów IP', 'ban_private_ip', 1,  'f=index.htm&amp;as=admin_general_private-ip&amp;ae=admin_general_private-ip_end'), //cpg1.4
-  array('Nowy interfejs we wsadowym dodawaniu plików', 'browse_batch_add', 1, 'f=index.htm&amp;as=admin_general_browsable_batch_add&amp;ae=admin_general_browsable_batch_add_end'), //cpg1.4
-
-  'Ustawienia języka &amp; kodowania',
-  array('Język', 'lang', 5, 'f=index.htm&amp;as=admin_language_language&amp;ae=admin_language_language_end'), //cpg1.4
-  array('Przełączyć na angielski gdy tłumaczenie nie zostanie odnalezione?', 'language_fallback', 1, 'f=index.htm&amp;as=admin_language_fallback&amp;ae=admin_language_fallback_end'), //cpg1.4
-  array('Kodowanie znaków', 'charset', 4, 'f=index.htm&amp;as=admin_language_charset&amp;ae=admin_language_charset_end'), //cpg1.4
-  array('Wyświetl listę języków', 'language_list', 1, 'f=index.htm&amp;as=admin_language_list&amp;ae=admin_language_list_end'), //cpg1.4
-  array('Wyświetl flagi', 'language_flags', 8, 'f=index.htm&amp;as=admin_language_flags&amp;ae=admin_language_flags_end&amp;top=1'), //cpg1.4
-  array('Wyświetl &quot;reset&quot; wybierając język', 'language_reset', 1, 'f=index.htm&amp;as=admin_language_reset&amp;ae=admin_language_reset_end&amp;top=1'), //cpg1.4
-  //array('Display previous/next on tabbed pages', 'previous_next_tab', 1), //cpg1.4
-
-  'Ustawienia motywów',
-  array('Motyw', 'theme', 6, 'f=index.htm&amp;as=admin_theme_theme&amp;ae=admin_theme_theme_end'), //cpg1.4
-  array('Wyświetl listę motywów', 'theme_list', 1, 'f=index.htm&amp;as=admin_theme_theme_list&amp;ae=admin_theme_theme_list_end'), //cpg1.4
-  array('Wyświetl &quot;reset&quot; wybierając motyw', 'theme_reset', 1, 'f=index.htm&amp;as=admin_theme_theme_reset&amp;ae=admin_theme_theme_reset_end'), //cpg1.4
-  array('Pokaż FAQ', 'display_faq', 1, 'f=index.htm&amp;as=admin_theme_faq&amp;ae=admin_theme_faq_end'), //cpg1.4
-  array('Nazwa własnego menu', 'custom_lnk_name', 0,'f=index.htm&amp;as=admin_theme_custom_lnk_name&amp;ae=admin_theme_custom_lnk_name_end'), //cpg1.4
-  array('Adres URL własngo menu', 'custom_lnk_url', 0,'f=index.htm&amp;as=admin_language_custom_lnk_url&amp;ae=admin_language_custom_lnk_url_end'), //cpg1.4
-  array('Pokaż pomoc bbcode', 'show_bbcode_help', 1, 'f=index.htm&amp;as=admin_theme_bbcode&amp;ae=admin_theme_bbcode_end&amp;top=1'), //cpg1.4
-  array('Pokaż sygnaturę informacyjną w tematach określonych jako zgodne z XHTML i CSS','vanity_block',1, 'f=index.htm&amp;as=vanity_block&amp;ae=vanity_block_end'), //cpg1.4
-  array('Ścieżka do własnego nagłówka na stronie', 'custom_header_path', 0, 'f=index.htm&amp;as=admin_theme_include_path_start&amp;ae=admin_theme_include_path_end'), //cpg1.4
-  array('Ścieżka do własnej stopki na stronie', 'custom_footer_path', 0, 'f=index.htm&amp;as=admin_theme_include_path_start&amp;ae=admin_theme_include_path_end'), //cpg1.4
-
-  'Przeglądanie listy albumów',
-  array('Szerokość głównej tabeli (piksele lub %)', 'main_table_width', 0, 'f=index.htm&amp;as=admin_album_table-width&amp;ae=admin_album_table-width_end'), //cpg1.4
-  array('Liczba poziomów kategorii do wyświetlenia', 'subcat_level', 0, 'f=index.htm&amp;as=admin_album_category-levels&amp;ae=admin_album_category-levels_end'), //cpg1.4
-  array('Liczba albumów do wyświetlenia', 'albums_per_page', 0, 'f=index.htm&amp;as=admin_album_number&amp;ae=admin_album_number_end'), //cpg1.4
-  array('Liczba kolumn w liście albumów', 'album_list_cols', 0, 'f=index.htm&amp;as=admin_album_columns&amp;ae=admin_album_columns_end'), //cpg1.4
-  array('Rozmiar miniaturek (w pikselach)', 'alb_list_thumb_size', 0, 'f=index.htm&amp;as=admin_album_thumbnail-size&amp;ae=admin_album_thumbnail-size_end'), //cpg1.4
-  array('Zawartość strony głównej', 'main_page_layout', 0, 'f=index.htm&amp;as=admin_album_list_content&amp;ae=admin_album_list_content_end'), //cpg1.4
-  array('Pokazuj miniaturki pierwszego poziomu w sekcji kategorii','first_level',1, 'f=index.htm&amp;as=admin_album_first-level_thumbs&amp;ae=admin_album_first-level_thumbs_end'), //cpg1.4
-  array('Sortuj kategorie alfabetycznie','categories_alpha_sort',1, 'f=index.htm&amp;as=admin_album_list_alphasort_start&amp;ae=admin_album_list_alphasort_end'), //cpg1.4
-  array('Pokaż liczbę dołączonych plików','link_pic_count',1, 'f=index.htm&amp;as=admin_album_linked_files_start&amp;ae=admin_album_linked_files_end'), //cpg1.4
-
-  'Wyświetlanie miniaturek',
-  array('Liczba kolumn w widoku miniaturek', 'thumbcols', 0, 'f=index.htm&amp;as=admin_thumbnail_columns&amp;ae=admin_thumbnail_columns_end'), //cpg1.4
-  array('Liczba wierszy w widoku miniaturek', 'thumbrows', 0, 'f=index.htm&amp;as=admin_thumbnail_rows&amp;ae=admin_thumbnail_rows_end'), //cpg1.4
-  array('Maksymalna ilość pasków do wyświetlenia', 'max_tabs', 10, 'f=index.htm&amp;as=admin_thumbnail_tabs&amp;ae=admin_thumbnail_tabs_end'), //cpg1.4
-  array('Wyświetl opis pliku (oprócz tytułu) poniżej miniatury', 'caption_in_thumbview', 1, 'f=index.htm&amp;as=admin_thumbnail_display_caption&amp;ae=admin_thumbnail_display_caption_end'), //cpg1.4
-  array('Wyświetl ilość odsłon pod miniaturką', 'views_in_thumbview', 1, 'f=index.htm&amp;as=admin_thumbnail_display_views&amp;ae=admin_thumbnail_display_views_end'), //cpg1.4
-  array('Wyświetl ilość komentarzy pod miniaturką', 'display_comment_count', 1, 'f=index.htm&amp;as=admin_thumbnail_display_comments&amp;ae=admin_thumbnail_display_comments_end'), //cpg1.4
-  array('Wyświetl nazwę przesyłającego pod miniaturką', 'display_uploader', 1, 'f=index.htm&amp;as=admin_thumbnail_display_uploader&amp;ae=admin_thumbnail_display_uploader_end'), //cpg1.4
-  //array('Display name of admin uploaders below the thumbnail', 'display_admin_uploader', 1, 'f=index.htm&amp;as=admin_thumbnail_display_admin_uploader&amp;ae=admin_thumbnail_display_admin_uploader_end'), //cpg1.4
-  array('Wyświetl nazwę pliku pod miniaturką', 'display_filename', 1, 'f=index.htm&amp;as=admin_thumbnail_display_filename&amp;ae=admin_thumbnail_display_filename_end'), //cpg1.4
-  //array('Wyświetl opis albumu', 'alb_desc_thumb', 1, 'f=index.htm&amp;as=admin_thumbnail_display_description&amp;ae=admin_thumbnail_display_description_end'), //cpg1.4
-  array('Domyślne sortowanie dla plików:', 'default_sort_order', 3, 'f=index.htm&amp;as=admin_thumbnail_default_sortorder&amp;ae=admin_thumbnail_default_sortorder_end'), //cpg1.4
-  array('Minimalna ilość głosów niezbędna do umieszczenia pliku w kategorii \'Top Lista\'', 'min_votes_for_rating', 0, 'f=index.htm&amp;as=admin_thumbnail_minimum_votes&amp;ae=admin_thumbnail_minimum_votes_end'), //cpg1.4
-
-  'Przeglądanie zdjęć', //cpg1.4
-  array('Szerokość głównej tabeli wyświetlającej zdjęcia (piksele lub %)', 'picture_table_width', 0, 'f=index.htm&amp;as=admin_image_comment_table-width&amp;ae=admin_image_comment_table-width_end'), //cpg1.4
-  array('Domyślne pokazywanie informacji o pliku', 'display_pic_info', 1, 'f=index.htm&amp;as=admin_image_comment_info_visible&amp;ae=admin_image_comment_info_visible_end'), //cpg1.4
-  array('Maksymalna długość opisu pliku', 'max_img_desc_length', 0, 'f=index.htm&amp;as=admin_image_comment_descr_length&amp;ae=admin_image_comment_descr_length_end'), //cpg1.4
-  array('Maksymalna liczba znaków w słowie', 'max_com_wlength', 0, 'f=index.htm&amp;as=admin_image_comment_chars_per_word&amp;ae=admin_image_comment_chars_per_word_end'), //cpg1.4
-  array('Pokaż "Pasek Filmu" z miniaturami', 'display_film_strip', 1, 'f=index.htm&amp;as=admin_image_comment_filmstrip_toggle&amp;ae=admin_image_comment_filmstrip_toggle_end'), //cpg1.4
-  array('Wyświetl nazwę pliku poniżej "Paska Filmu"', 'display_film_strip_filename', 1, 'f=index.htm&amp;as=admin_image_comment_display_film_strip_filename&amp;ae=admin_image_comment_display_film_strip_filename_end'), //cpg1.4
-  array('Liczba elementów w "Pasku Filmu"', 'max_film_strip_items', 0, 'f=index.htm&amp;as=admin_image_comment_filmstrip_number&amp;ae=admin_image_comment_filmstrip_number_end'), //cpg1.4
-  array('Czas wyświetlania zdjęcia w pokazie slajdów w milisekundach (1 sekunda = 1000 milisekund)', 'slideshow_interval', 0, 'f=index.htm&amp;as=admin_image_comment_slideshow_interval&amp;ae=admin_image_comment_slideshow_interval_end'), //cpg1.4
-
-  'Ustawienia komentarzy', //cpg1.4
-  array('Blokowanie słów z "listy zakazanych" w komentarzach', 'filter_bad_words', 1, 'f=index.htm&amp;as=admin_image_comment_bad_words&amp;ae=admin_image_comment_bad_words_end'), //cpg1.4
-  array('Wyświetlanie emotikon w komentarzach', 'enable_smilies', 1, 'f=index.htm&amp;as=admin_image_comment_smilies&amp;ae=admin_image_comment_smilies_end'), //cpg1.4
-  array('Zezwól na kilka następujących po sobie komentarzy jednego użytkownika do tego samego pliku', 'disable_comment_flood_protect', 1, 'f=index.htm&amp;as=admin_image_comment_flood&amp;ae=admin_image_comment_flood_end'), //cpg1.4
-  array('Maksymalna liczna wierszy w komenmtarzach', 'max_com_lines', 0, 'f=index.htm&amp;as=admin_image_comment_lines&amp;ae=admin_image_comment_lines_end'), //cpg1.4
-  array('Maksymalna długość komentarza', 'max_com_size', 0, 'f=index.htm&amp;as=admin_image_comment_length&amp;ae=admin_image_comment_length_end'), //cpg1.4
-  array('Powiadom Administratora o komentarzu e-mailem', 'email_comment_notification', 1, 'f=index.htm&amp;as=admin_image_comment_admin_notify&amp;ae=admin_image_comment_admin_notify_end'), //cpg1.4
-  array('Kierunek sortowania dla komentarzy', 'comments_sort_descending', 17, 'f=index.htm&amp;as=admin_comment_sort_start&amp;ae=admin_comment_sort_end'), //cpg1.4
-  array('Prefiks dla anonimowych "komentatorów"', 'comments_anon_pfx', 0, 'f=index.htm&amp;as=comments_anon_pfx&amp;ae=comments_anon_pfx_end'), //cpg1.4
-
-  'Ustawienia plików i miniaturek',
-  array('Jakość dla plików JPEG', 'jpeg_qual', 0, 'f=index.htm&amp;as=admin_picture_thumbnail_jpeg_quality&amp;ae=admin_picture_thumbnail_jpeg_quality_end'), //cpg1.4
-  array('Maksymalny rozmiar dla miniaturki <a href="#notice2" class="clickable_option">**</a>', 'thumb_width', 0, 'f=index.htm&amp;as=admin_picture_thumbnail_max-dimension&amp;ae=admin_picture_thumbnail_max-dimension_end'), //cpg1.4
-  array('Użyj wymiaru (szerokość, wysokość lub maksymalny widok dla miniaturki) <a href="#notice2" class="clickable_option">**</a>', 'thumb_use', 7, 'f=index.htm&amp;as=admin_picture_thumbnail_use-dimension&amp;ae=admin_picture_thumbnail_use-dimension_end'), //cpg1.4
-  array('Twórz zdjęcia pośrednie','make_intermediate',1, 'f=index.htm&amp;as=admin_picture_thumbnail_intermediate_toggle&amp;ae=admin_picture_thumbnail_intermediate_toggle_end'), //cpg1.4
-  array('Maksymalna szerokość pośredniego zdjęcia lub video <a href="#notice2" class="clickable_option">**</a>', 'picture_width', 0, 'f=index.htm&amp;as=admin_picture_thumbnail_intermediate_dimension&amp;ae=admin_picture_thumbnail_intermediate_dimension_end'), //cpg1.4
-  array('Maksymalny rozmiar przesyłanych plików (KB)', 'max_upl_size', 0, 'f=index.htm&amp;as=admin_picture_thumbnail_max_upload_size&amp;ae=admin_picture_thumbnail_max_upload_size_end'), //cpg1.4
-  array('Maksymana wysokość lub szerokość przesyłanych zdjęć (w pikselach)', 'max_upl_width_height', 0, 'f=index.htm&amp;as=admin_picture_thumbnail_max_upload_dimension&amp;ae=admin_picture_thumbnail_max_upload_dimension_end'), //cpg1.4
-  array('Automatyczna zmiana rozmiaru plików które są większe niż określono wyżej', 'auto_resize', 16, 'f=index.htm&amp;as=admin_picture_thumbnail_auto-resize&amp;ae=admin_picture_thumbnail_auto-resize_end'), //cpg1.4
-
-  'Zaawansowane ustawienia plików i miniatur',
-  array('Zezwól na prywatne albumy (Uwaga: jeśli zmienisz z "TAK" na "NIE" to aktualne prywatne albumy staną się publiczne)', 'allow_private_albums', 1, 'f=index.htm&amp;as=admin_picture_thumb_advanced_private_toggle&amp;ae=admin_picture_thumb_advanced_private_toggle_end'), //cpg1.4
-  array('Wyświetlanie ikon albumów prywatnych niezalogowanemu użytkownikowi','show_private',1, 'f=index.htm&amp;as=admin_picture_thumb_advanced_private_icon_show&amp;ae=admin_picture_thumb_advanced_private_icon_show_end'), //cpg1.4
-  array('Znaki zakazane w nazwach plików', 'forbiden_fname_char',0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_filename_forbidden_chars&amp;ae=admin_picture_thumb_advanced_filename_forbidden_chars_end'), //cpg1.4
-  //array('Accepted file extensions for uploaded pictures', 'allowed_file_extensions',0, 'f=index.htm&amp;as=&amp;ae=_end'), //cpg1.4
-  array('Akceptowane typy obrazów', 'allowed_img_types',0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_pic_extensions&amp;ae=admin_picture_thumb_advanced_pic_extensions_end'), //cpg1.4
-  array('Akceptowane typy filmów', 'allowed_mov_types',0, 'f=index.htm&amp;as=admin_thumbs_advanced_movie&amp;ae=admin_thumbs_advanced_movie_end'), //cpg1.4
-  array('Automatyczne wyświetlanie filmu', 'media_autostart',1, 'f=index.htm&amp;as=admin_movie_autoplay&amp;ae=admin_movie_autoplay_end'), //cpg1.4
-  array('Akceptowane typy plików audio', 'allowed_snd_types',0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_audio_extensions&amp;ae=admin_picture_thumb_advanced_audio_extensions_end'), //cpg1.4
-  array('Akceptowane typy dokumentów', 'allowed_doc_types',0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_doc_extensions&amp;ae=admin_picture_thumb_advanced_doc_extensions_end'), //cpg1.4
-  array('Metoda skalowania obrazów','thumb_method',2, 'f=index.htm&amp;as=admin_picture_thumb_advanced_resize_method&amp;ae=admin_picture_thumb_advanced_resize_method_end'), //cpg1.4
-  array('Ścieżka do narzędzia konwertującego - ImageMagick (Przykład /usr/bin/X11/)', 'impath', 0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_im_path&amp;ae=admin_picture_thumb_advanced_im_path_end'), //cpg1.4
-  //array('Allowed image types (only valid for ImageMagick)', 'allowed_img_types',0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_allowed_imagetypes&amp;ae=admin_picture_thumb_advanced_allowed_imagetypes_end'), //cpg1.4
-  array('Komendy lini poleceń dla ImageMagick', 'im_options', 0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_im_commandline&amp;ae=admin_picture_thumb_advanced_im_commandline_end'), //cpg1.4
-  array('Czytaj EXIF z plików JPEG', 'read_exif_data', 13, 'f=index.htm&amp;as=admin_picture_thumb_advanced_exif&amp;ae=admin_picture_thumb_advanced_exif_end'), //cpg1.4
-  array('Czytaj IPTC z plików JPEG', 'read_iptc_data', 1, 'f=index.htm&amp;as=admin_picture_thumb_advanced_iptc&amp;ae=admin_picture_thumb_advanced_iptc_end'), //cpg1.4
-  array('Katalog albumów <a href="#notice1" class="clickable_option">*</a>', 'fullpath', 0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_albums_dir&amp;ae=admin_picture_thumb_advanced_albums_dir_end'), //cpg1.4
-  array('Katalog plików uzytkowników <a href="#notice1" class="clickable_option">*</a>', 'userpics', 0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_userpics_dir&amp;ae=admin_picture_thumb_advanced_userpics_dir_end'), //cpg1.4
-  array('Prefiks dla zdjęć pośrednich <a href="#notice1" class="clickable_option">*</a>', 'normal_pfx', 0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_intermediate_prefix&amp;ae=admin_picture_thumb_advanced_intermediate_prefix_end'), //cpg1.4
-  array('Prefiks dla miniaturek <a href="#notice1" class="clickable_option">*</a>', 'thumb_pfx', 0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_thumbs_prefix&amp;ae=admin_picture_thumb_advanced_thumbs_prefix_end'), //cpg1.4
-  array('Domyślne uprawnienia katalogów', 'default_dir_mode', 0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_chmod_folder&amp;ae=admin_picture_thumb_advanced_chmod_folder_end'), //cpg1.4
-  array('Domyslne uprawnienia plików', 'default_file_mode', 0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_chmod_files&amp;ae=admin_picture_thumb_advanced_chmod_files_end'), //cpg1.4
-
-  'Ustawienia użytkowników',
-  array('Pozwól na rejestrację nowych użytkowników', 'allow_user_registration', 1, 'f=index.htm&amp;as=admin_allow_registration&amp;ae=admin_allow_registration_end'), //cpg1.4
-  array('Pozwól na dostęp niezalogowanych użytkowników (goście lub anonimowi)', 'allow_unlogged_access', 1, 'f=index.htm&amp;as=admin_allow_unlogged_access&amp;ae=admin_allow_unlogged_access_end'), //cpg1.4
-  array('Rejestracja użytkownika wymaga potwierdzenia poprzez e-mail', 'reg_requires_valid_email', 1, 'f=index.htm&amp;as=admin_registration_verify&amp;ae=admin_registration_verify_end'), //cpg1.4
-  array('Powiadom Administratora o rejestracji (wyślij e-mail)', 'reg_notify_admin_email', 1, 'f=index.htm&amp;as=admin_registration_notify&amp;ae=admin_registration_notify_end'), //cpg1.4
-  array('Administrator aktywuje nowozarejestrowanych', 'admin_activation', 1, 'f=index.htm&amp;as=admin_activation&amp;ae=admin_activation_end'),  //cpg1.4
-  array('Dwóch użytkowników może mieć ten sam adres e-mail', 'allow_duplicate_emails_addr', 1, 'f=index.htm&amp;as=admin_allow_duplicate_emails_addr&amp;ae=admin_allow_duplicate_emails_addr_end'), //cpg1.4
-  array('Powiadom Administratora o plikach oczekujących na akceptację', 'upl_notify_admin_email', 1, 'f=index.htm&amp;as=admin_approval_notify&amp;ae=admin_approval_notify_end'), //cpg1.4
-  array('Pozwól zalogowanym uzytkownikom na przeglądanie listy użytkowników', 'allow_memberlist', 1, 'f=index.htm&amp;as=admin_user_memberlist&amp;ae=admin_user_memberlist_end'), //cpg1.4
-  array('Pozwól użytkownikom zmieniać swoje adresy e-mail', 'allow_email_change', 1, 'f=index.htm&amp;as=admin_user_allow_email_change&amp;ae=admin_user_allow_email_change_end'), //cpg1.4
-  array('Pozwól użytkownikom mieć kontrolę nad swoimi plikami w publicznych galeriach', 'users_can_edit_pics', 1, 'f=index.htm&amp;as=admin_user_editpics_public_start&amp;ae=admin_user_editpics_public_end'), //cpg1.4
-  array('Liczba nieudanych logowań do tymczasowego zablokowania (aby uniknąć prób wlamań)', 'login_threshold', 0, 'f=index.htm&amp;as=admin_user_login_start&amp;ae=admin_user_login_end'), //cpg1.4
-  array('Czas tymczasowego zablokowania', 'login_expiry', 0, 'f=index.htm&amp;as=admin_user_login_start&amp;ae=admin_user_login_end'), //cpg1.4
-  array('Wysyłaj raport do Administratora', 'report_post', 1, 'f=index.htm&amp;as=admin_user_enable_report&amp;ae=admin_user_enable_report_end'),  //cpg1.4
-
-// custom profile fields,  //cpg1.4
-  'Własne pola w profilu użytkownika (pozostaw puste jeśli nieużywane).
-  Użyj pola nr 6 do dłuższych wpisów takich jak "Coś o sobie"', //cpg1.4
-  array('Pole nr 1', 'user_profile1_name', 0, 'f=index.htm&amp;as=admin_custom&amp;ae=admin_custom_end'), //cpg1.4
-  array('Pole nr 2', 'user_profile2_name', 0), //cpg1.4
-  array('Pole nr 3', 'user_profile3_name', 0), //cpg1.4
-  array('Pole nr 4', 'user_profile4_name', 0), //cpg1.4
-  array('Pole nr 5', 'user_profile5_name', 0), //cpg1.4
-  array('Pole nr 6', 'user_profile6_name', 0), //cpg1.4
-
-  'Własne pola do opisu obrazów (pozostaw puste jeśli nieużywane)',
-  array('Pole nr 1', 'user_field1_name', 0, 'f=index.htm&amp;as=admin_custom_image&amp;ae=admin_custom_image_end'), //cpg1.4
-  array('Pole nr 2', 'user_field2_name', 0),
-  array('Pole nr 3', 'user_field3_name', 0),
-  array('Pole nr 4', 'user_field4_name', 0),
-
-  'Ustawienia ciasteczek',
-  array('Nazwa ciasteczek', 'cookie_name', 0, 'f=index.htm&amp;as=admin_cookie_name&amp;ae=admin_cookie_name_end'), //cpg1.4
-  array('Ścieżka do ciasteczek', 'cookie_path', 0, 'f=index.htm&amp;as=admin_cookie_path&amp;ae=admin_cookie_path_end'), //cpg1.4
-
-  'Ustawienia e-mail  (zwykle nic tu nie trzeba zmieniać; gdy nie jesteś pewien, pozostaw pola puste)', //cpg1.4
-  array('Serwer SMTP (jeśli puste, zostanie użyty sendmail)', 'smtp_host', 0, 'f=index.htm&amp;as=admin_email&amp;ae=admin_email_end'), //cpg1.4
-  array('Nazwa użytkownika SMTP', 'smtp_username', 0), //cpg1.4
-  array('Hasło SMTP', 'smtp_password', 0), //cpg1.4
-
-  'Statystyki i logi', //cpg1.4
-  array('Tryb zapisywania logów <a href="#notice3" class="clickable_option">***</a>', 'log_mode', 11, 'f=index.htm&amp;as=admin_logging_log_mode&amp;ae=admin_logging_log_mode_end'), //cpg1.4
-  array('Zapisuj e-kartki', 'log_ecards', 1, 'f=index.htm&amp;as=admin_general_log_ecards&amp;ae=admin_general_log_ecards_end'), //cpg1.4
-  array('Szczegółowe statystyki głosowania','vote_details',1, 'f=index.htm&amp;as=admin_logging_votedetails&amp;ae=admin_logging_votedetails_end'), //cpg1.4
-  array('Szczegółowe statystyki odsłon','hit_details',1, 'f=index.htm&amp;as=admin_logging_hitdetails&amp;ae=admin_logging_hitdetails_end'), //cpg1.4
-
-  'Ustawienia debugowania i wyłączanie Galerii', //cpg1.4
-  array('Włącz tryb debugowania', 'debug_mode', 9, 'f=index.htm&amp;as=debug_mode&amp;ae=debug_mode_end'), //cpg1.4
-  array('Wyświetlaj powiadomienia w trybie debugowania', 'debug_notice', 1, 'f=index.htm&amp;as=admin_misc_debug_notices&amp;ae=admin_misc_debug_notices_end'), //cpg1.4
-  array('Galeria jest wyłączona', 'offline', 1, 'f=index.htm&amp;as=admin_general_offline&amp;ae=admin_general_offline_end'), //cpg1.4
-);
-
-
-// ------------------------------------------------------------------------- //
-// File db_ecard.php
-// ------------------------------------------------------------------------- //
-
-if (defined('DB_ECARD_PHP')) $lang_db_ecard_php = array(
-  'title' => 'Wyślij e-kartkę',
-  'ecard_sender' => 'Nadawca',
-  'ecard_recipient' => 'Odbiorca',
-  'ecard_date' => 'Data',
-  'ecard_display' => 'Pokaż e-kartkę',
-  'ecard_name' => 'Imię',
-  'ecard_email' => 'E-mail',
-  'ecard_ip' => 'IP #',
-  'ecard_ascending' => 'rosnąco',
-  'ecard_descending' => 'malejąco',
-  'ecard_sorted' => 'Posortowane',
-  'ecard_by_date' => 'według daty',
-  'ecard_by_sender_name' => 'wedlug nazwy nadawcy',
-  'ecard_by_sender_email' => 'według adresu nadawcy',
-  'ecard_by_sender_ip' => 'według IP nadawcy',
-  'ecard_by_recipient_name' => 'według odbiorcy',
-  'ecard_by_recipient_email' => 'według adresu odbiorcy',
-  'ecard_number' => 'Wyświetl rejestr %s do %s z %s',
-  'ecard_goto_page' => 'Idź do strony',
-  'ecard_records_per_page' => 'Rekordów na stronę',
-  'check_all' => 'Zaznacz wszystkie',
-  'uncheck_all' => 'Odznacz wszystkie',
-  'ecards_delete_selected' => 'Skasuj wybrane e-kartki',
-  'ecards_delete_confirm' => 'Jesteś pewien, że chcesz usunąć te rekordy? Zaznacz "TAK"!',
-  'ecards_delete_sure' => 'Jestem pewny?',
-);
-
-
-// ------------------------------------------------------------------------- //
-// File db_input.php
-// ------------------------------------------------------------------------- //
-
-if (defined('DB_INPUT_PHP')) $lang_db_input_php = array(
-  'empty_name_or_com' => 'Musisz wpisać imię lub pseudonim oraz komentarz!',
-  'com_added' => 'Twój komentarz został dodany',
-  'alb_need_title' => 'Musisz podać tytuł albumu!',
-  'no_udp_needed' => 'Nie dokonano zmian.',
-  'alb_updated' => 'Album został zaktualizowany',
-  'unknown_album' => 'Wybrany album nie istnieje lub nie masz wystarczających uprawnień by dodawać pliki do tego albumu',
-  'no_pic_uploaded' => 'Nie wysłano pliku!<br /><br />Jeżeli naprawdę został wybrany plik do wysłania, sprawdź, czy serwer zezwala na wysyłkę...',
-  'err_mkdir' => 'Nie udało się utworzyć katalogu %s!',
-  'dest_dir_ro' => 'Skrypt nie może zapisywać do katalogu docelowego %s!',
-  'err_move' => 'Nie można przenieść %s do %s!',
-  'err_fsize_too_large' => 'Przesłany plik jest zbyt duży (maksymalny rozmiar to %s x %s) !', //obsolete since cpg1.3 - consider removal in cpg1.4 once upload.php has been overhauled
-  'err_imgsize_too_large' => 'Przesłany plik jest zbyt duży (dopuszczalne maksimum to %s KB) !', //obsolete since cpg1.3 - consider removal in cpg1.4 once upload.php has been overhauled
-  'err_invalid_img' => 'Przesłany plik nie jest prawidłowym obrazem!',
-  'allowed_img_types' => 'Możesz przesłać jedynie %s obrazów.',
-  'err_insert_pic' => 'Plik \'%s\' nie może zostać umieszczony w albumie.',
-  'upload_success' => 'Plik został pomyślnie przesłany.<br /><br />Będzie widoczny po akceptacji przez administratorów.',
-  'notify_admin_email_subject' => '%s - Informacja o nadesłaniu pliku',
-  'notify_admin_email_body' => 'Nadesłano plik przez użytkownika %s, wymagający akceptacji. Zobacz %s',
-  'info' => 'Informacja',
-  'com_added' => 'Dodano komentarz',
-  'alb_updated' => 'Album został zaktualizowany',
-  'err_comment_empty' => 'Komentarz jest pusty!',
-  'err_invalid_fext' => 'Pliki o poniższych rozszerzeniach są akceptowane:<br /><br />%s.',
-  'no_flood' => 'Przepraszamy, ale jesteś autorem ostatniego komentarza dla tego pliku.<br /><br />Edytuj swój komentarz jeśli chcesz go zmienić.',
-  'redirect_msg' => 'Nastąpi przekierowanie.<br /><br /><br />Kliknij \'CONTINUE\' jeśli nie zostaniesz przekierowany automatycznie',
-  'upl_success' => 'Twój plik został dodany.',
-  'email_comment_subject' => 'Ukazał się komentarz w Coppermine Photo Gallery',
-  'email_comment_body' => 'Ktoś napisał komentarz do zdjęcia w twojej galerii. Przejdź do ',
-  'album_not_selected' => 'Nie wybrano albumu', //cpg1.4
-  'com_author_error' => 'Istnieje już użytkownik o tej nazwie, wybierz inny pseudonim', //cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File delete.php
-// ------------------------------------------------------------------------- //
-
-if (defined('DELETE_PHP')) $lang_delete_php = array(
-  'caption' => 'Podpis',
-  'fs_pic' => 'obraz w pełnym rozmiarze',
-  'del_success' => 'pomyślnie usunięty',
-  'ns_pic' => 'normalny rozmiar obrazu',
-  'err_del' => 'nie może być usunięty',
-  'thumb_pic' => 'miniaturka',
-  'comment' => 'komentarz',
-  'im_in_alb' => 'obraz w albumie',
-  'alb_del_success' => 'Usunięto album &laquo;%s&raquo;.', //cpg1.4
-  'alb_mgr' => 'Menedżer albumów',
-  'err_invalid_data' => 'Odebrano nieprawidłowe dane w \'%s\'',
-  'create_alb' => 'Tworzę album \'%s\'',
-  'update_alb' => 'Aktualizacja albumu \'%s\' o tytule \'%s\' i indeksie \'%s\'',
-  'del_pic' => 'Usuń plik',
-  'del_alb' => 'Usuń album',
-  'del_user' => 'Usuń użytkownika',
-  'err_unknown_user' => 'Wybrany użytkownik nie istnieje!',
-  'err_empty_groups' => 'Nie ma tabeli grup, lub brak wpisów w tabeli grup!', //cpg1.4
-  'comment_deleted' => 'Pomyślnie usunięto komentarz',
-  'npic' => 'Obraz', //cpg1.4
-  'pic_mgr' => 'Menedżer obrazów', //cpg1.4
-  'update_pic' => 'Aktualizuję obraz \'%s\' o nazwie \'%s\' i indeksie \'%s\'', //cpg1.4
-  'username' => 'Nazwa użytkownika', //cpg1.4
-  'anonymized_comments' => 'anonimowe komentarze: %s ', //cpg1.4
-  'anonymized_uploads' => 'pliki przesłane anonimowo: %s ', //cpg1.4
-  'deleted_comments' => 'usunięte komentarze: %s ', //cpg1.4
-  'deleted_uploads' => 'usunięte przesłane pliki: %s ', //cpg1.4
-  'user_deleted' => 'użytkownik %s usunięty', //cpg1.4
-  'activate_user' => 'Aktywuj konto użytkownika', //cpg1.4
-  'user_already_active' => 'Konto już było aktywne', //cpg1.4
-  'activated' => 'Aktywowano', //cpg1.4
-  'deactivate_user' => 'Zdezaktywuj użytkownika', //cpg1.4
-  'user_already_inactive' => 'Konto już było nieaktywne', //cpg1.4
-  'deactivated' => 'Zdezaktywowany', //cpg1.4
-  'reset_password' => 'Wyzeruj hasło / hasła', //cpg1.4
-  'password_reset' => 'Hasło zmienione na %s', //cpg1.4
-  'change_group' => 'Zmień główną grupę', //cpg1.4
-  'change_group_to_group' => 'Zmieniam z %s na %s', //cpg1.4
-  'add_group' => 'Dodaj podrzędną grupę', //cpg1.4
-  'add_group_to_group' => 'Dodaję użytkownika %s do grupy %s. Jest obecnie członkiem %s jako grupy głównej oraz %s jako grupy podrzędnej.', //cpg1.4
-  'status' => 'Stan', //cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File displayecard.php
-// ------------------------------------------------------------------------- //
-
-if (defined('DISPLAYECARD_PHP')) {
-
-$lang_displayecard_php = array(
-  'invalid_data' => 'Dane kartki którą próbujesz odebrać zostały zniszczone przez twój program e-mail. Sprawdź czy odnośnik jest pełny.', //cpg1.4
-);
-}
-
-// ------------------------------------------------------------------------- //
-// File displayimage.php
-// ------------------------------------------------------------------------- //
-
-if (defined('DISPLAYIMAGE_PHP')){
-
-$lang_display_image_php = array(
-  'confirm_del' => 'Czy jesteś pewien że chcesz USUNĄĆ ten plik?\\nKomentarze również zostaną usunięte.', //js-alert
-  'del_pic' => 'USUŃ TEN PLIK',
-  'size' => '%s x %s pikseli',
-  'views' => '%s',
-  'slideshow' => 'Pokaz slajdów',
-  'stop_slideshow' => 'ZATRZYMAJ POKAZ SLAJDÓW',
-  'view_fs' => 'Kliknij aby obejrzeć w pełnym rozmiarze',
-  'edit_pic' => 'Edytuj informacje o pliku', //cpg1.4
-  'crop_pic' => 'Przytnij i obróć',
-  'set_player' => 'Zmień odtwarzacz',
-);
-
-$lang_picinfo = array(
-  'title' =>'Informacje o pliku',
-  'Filename' => 'Nazwa pliku',
-  'Album name' => 'Nazwa albumu',
-  'Rating' => 'Ocena (głosów %s)',
-  'Keywords' => 'Słowa kluczowe',
-  'File Size' => 'Rozmiar pliku',
-  'Date Added' => 'Data dodania', //cpg1.4
-  'Dimensions' => 'Wymiary',
-  'Displayed' => 'Wyświetleń',
-  'URL' => 'URL', //cpg1.4
-  'Make' => 'Producent', //cpg1.4
-  'Model' => 'Model', //cpg1.4
-  'DateTime' => 'Data i czas', //cpg1.4
-  'DateTimeOriginal' => 'Data wykonania zdjęcia', //cpg1.4
-  'ISOSpeedRatings'=>'Czułość ISO', //cpg1.4
-  'MaxApertureValue' => 'Przesłona', //cpg1.4
-  'FocalLength' => 'Ogniskowa', //cpg1.4
-  'Comment' => 'Komentarz',
-  'addFav'=>'Dodaj do ulubionych',
-  'addFavPhrase'=>'Ulubione',
-  'remFav'=>'Usuń z ulubionych',
-  'iptcTitle'=>'Tytuł IPTC',
-  'iptcCopyright'=>'Prawa autorskie IPTC',
-  'iptcKeywords'=>'Słowa kluczowe IPTC',
-  'iptcCategory'=>'Kategoria IPTC',
-  'iptcSubCategories'=>'Podkategorie IPTC',
-  'ColorSpace' => 'Przestrzeń kolorów', //cpg1.4
-  'ExposureProgram' => 'Program ekspozycji', //cpg1.4
-  'Flash' => 'Lampa błyskowa', //cpg1.4
-  'MeteringMode' => 'Tryb pomiaru', //cpg1.4
-  'ExposureTime' => 'Czas naświetlania', //cpg1.4
-  'ExposureBiasValue' => 'Korekta ekspozycji', //cpg1.4
-  'ImageDescription' => 'Opis obrazu', //cpg1.4
-  'Orientation' => 'Orientacja', //cpg1.4
-  'xResolution' => 'Rozdzielczość X', //cpg1.4
-  'yResolution' => 'Rozdzielczość Y', //cpg1.4
-  'ResolutionUnit' => 'Jednostka rozdzielczości', //cpg1.4
-  'Software' => 'Oprogramowanie', //cpg1.4
-  'YCbCrPositioning' => 'Pozycjonowanie YCbCr', //cpg1.4
-  'ExifOffset' => 'Offset Exif', //cpg1.4
-  'IFD1Offset' => 'Offset IFD1', //cpg1.4
-  'FNumber' => 'FNumber', //cpg1.4
-  'ExifVersion' => 'Wersja Exif', //cpg1.4
-  'DateTimeOriginal' => 'Oryginalna data i czas', //cpg1.4
-  'DateTimedigitized' => 'Data i czas digitalizacji', //cpg1.4
-  'ComponentsConfiguration' => 'Konfiguracja komponentów', //cpg1.4
-  'CompressedBitsPerPixel' => 'Bity na piksel', //cpg1.4
-  'LightSource' => 'Źródło światła', //cpg1.4
-  'ISOSetting' => 'Ustawienie ISO', //cpg1.4
-  'ColorMode' => 'Tryb koloru', //cpg1.4
-  'Quality' => 'Jakość', //cpg1.4
-  'ImageSharpening' => 'Wyostrzanie obrazu', //cpg1.4
-  'FocusMode' => 'Tryb ogniskowania', //cpg1.4
-  'FlashSetting' => 'Ustawienie błysku', //cpg1.4
-  'ISOSelection' => 'Wybór ISO', //cpg1.4
-  'ImageAdjustment' => 'Dostosowanie obrazu', //cpg1.4
-  'Adapter' => 'Adapter', //cpg1.4
-  'ManualFocusDistance' => 'Ręczna ogniskowa', //cpg1.4
-  'DigitalZoom' => 'Zoom cyfrowy', //cpg1.4
-  'AFFocusPosition' => 'Pozycja AF ogniskowej', //cpg1.4
-  'Saturation' => 'Nasycenie', //cpg1.4
-  'NoiseReduction' => 'Redukcja szumów', //cpg1.4
-  'FlashPixVersion' => 'Wersja Flash Pix', //cpg1.4
-  'ExifImageWidth' => 'Szerkość obrazu wg. Exif', //cpg1.4
-  'ExifImageHeight' => 'Wysokość obrazu wg. Exif', //cpg1.4
-  'ExifInteroperabilityOffset' => 'Przesunięcie Exif', //cpg1.4
-  'FileSource' => 'Źródło pliku', //cpg1.4
-  'SceneType' => 'Typ sceny', //cpg1.4
-  'CustomerRender' => 'Zobrazowanie własne', //cpg1.4
-  'ExposureMode' => 'Tryb ekspozycji', //cpg1.4
-  'WhiteBalance' => 'Balans bieli', //cpg1.4
-  'DigitalZoomRatio' => 'Cyfrowe powiększenie', //cpg1.4
-  'SceneCaptureMode' => 'Tryb ujęcia', //cpg1.4
-  'GainControl' => 'Gain Control', //cpg1.4
-  'Contrast' => 'Kontrast', //cpg1.4
-  'Saturation' => 'Nasycenie', //cpg1.4
-  'Sharpness' => 'Ostrość', //cpg1.4
-  'ManageExifDisplay' => 'Zarządzanie wyświetlaniem Exif', //cpg1.4
-  'submit' => 'Wyślij', //cpg1.4
-  'success' => 'Informacje pomyślnie zaktualizowane.', //cpg1.4
-  'details' => 'Szczegóły', //cpg1.4
-);
-
-$lang_display_comments = array(
-  'OK' => 'OK',
-  'edit_title' => 'Edytuj ten komentarz',
-  'confirm_delete' => 'Czy na pewno chcesz usunąć ten komentarz?', //js-alert
-  'add_your_comment' => 'Dodaj komentarz',
-  'name'=>'Imię',
-  'comment'=>'Komentarz',
-  'your_name' => 'Anonim',
-  'report_comment_title' => 'Powiadom administratora o tym komentarzu', //cpg1.4
-);
-
-$lang_fullsize_popup = array(
-  'click_to_close' => 'Kliknij na obrazie aby zamknąć okno',
-);
-
-}
-
-// ------------------------------------------------------------------------- //
-// File ecard.php
-// ------------------------------------------------------------------------- //
-
-if (defined('ECARDS_PHP') || defined('DISPLAYECARD_PHP')) $lang_ecard_php = array(
-  'title' => 'Wyślij e-kartkę',
-  'invalid_email' => '<span style="color: red"><b>Uwaga</b></span>: nieprawidłowy adres e-mail:', //cpg1.4
-  'ecard_title' => '%s wysyła Ci e-kartkę',
-  'error_not_image' => 'Tylko obrazki mogą być wysłane jako e-kartka.',
-  'view_ecard' => 'Kliknij na ten odnośnik jeśli e-kartka nie wyświetla się prawidłowo', //cpg1.4
-  'view_ecard_plaintext' => 'Aby obejrzeć tę e-kartkę wpisz poniższy odnośnik do swojej przeglądarki:', //cpg1.4
-  'view_more_pics' => 'Obejrzyj więcej obrazów!', //cpg1.4
-  'send_success' => 'Twoja e-kartka została wysłana.',
-  'send_failed' => 'Przepraszamy. Serwer nie może wysłać twojej e-kartki...',
-  'from' => 'Od',
-  'your_name' => 'Twoje imię',
-  'your_email' => 'Twój adres e-mail',
-  'to' => 'Do',
-  'rcpt_name' => 'Imię odbiorcy',
-  'rcpt_email' => 'Adres e-mail odbiorcy',
-  'greetings' => 'Nagłówek', //cpg1.4
-  'message' => 'Wiadomość', //cpg1.4
-  'ecards_footer' => 'Wysłane przez użytkownika %s o adresie IP %s o godzinie %s (wg czasu Galerii)', //cpg1.4
-  'preview' => 'Podgląd e-kartki', //cpg1.4
-  'preview_button' => 'Podgląd', //cpg1.4
-  'submit_button' => 'Wyślij e-kartkę', //cpg1.4
-  'preview_view_ecard' => 'To będzie alternatywny odnośnik do e-kartki, kiedy zostanie utworzona. Nie będzie on działał dla podglądu.', //cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File report_file.php //cpg1.4
-// ------------------------------------------------------------------------- //
-
-if (defined('REPORT_FILE_PHP') || defined('DISPLAYREPORT_PHP')) $lang_report_php =array(
-  'title' => 'Zgłoszenie do administratora', //cpg1.4
-  'invalid_email' => '<b>Uwaga</b>: nieprawidłowy adres e-mail!', //cpg1.4
-  'report_subject' => 'Zgłoszenie od użytkownika %s dotyczące galerii %s', //cpg1.4
-  'view_report' => 'Alternatywny odnośnik dla raportu, który nie wyświetla się prawidłowo', //cpg1.4
-  'view_report_plaintext' => 'Aby obejrzeć raport wklej poniższy odnośnik w pasek adresu przeglądarki:', //cpg1.4
-  'view_more_pics' => 'Galeria', //cpg1.4
-  'send_success' => 'Twoje zgłoszenie zostało wysłane', //cpg1.4
-  'send_failed' => 'Przepraszamy. Serwer nie może wysłać raportu...', //cpg1.4
-  'from' => 'Od', //cpg1.4
-  'your_name' => 'Twoje imię', //cpg1.4
-  'your_email' => 'Twój adres e-mail', //cpg1.4
-  'to' => 'Do', //cpg1.4
-  'administrator' => 'Administrator/Moderator', //cpg1.4
-  'subject' => 'Temat', //cpg1.4
-  'comment_field_name' => 'Zgłoszenie dotyczące komentarza, którego autorem jest "%s"', //cpg1.4
-  'reason' => 'Powód', //cpg1.4
-  'message' => 'Wiadomość', //cpg1.4
-  'report_footer' => 'Wysłano od użytkownika %s o IP %s o godzinie %s (wg czasu Galerii)', //cpg1.4
-  'obscene' => 'obsceniczny', //cpg1.4
-  'offensive' => 'agresywny', //cpg1.4
-  'misplaced' => 'nie na temat', //cpg1.4
-  'missing' => 'brak', //cpg1.4
-  'issue' => 'błąd / nie wyświetla się', //cpg1.4
-  'other' => 'inny', //cpg1.4
-  'refers_to' => 'Zgłoszenie pliku odnosi się do', //cpg1.4
-  'reasons_list_heading' => 'powody zgłoszenia:', //cpg1.4
-  'no_reason_given' => 'nie podano powodu', //cpg1.4
-  'go_comment' => 'Przejdź do komentarza', //cpg1.4
-  'view_comment' => 'Zobacz pełny raport z komentarzem', //cpg1.4
-  'type_file' => 'plik', //cpg1.4
-  'type_comment' => 'komentarz', //cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File editpics.php
-// ------------------------------------------------------------------------- //
-
-if (defined('EDITPICS_PHP')) $lang_editpics_php = array(
-  'pic_info' => 'Informacje o pliku',
-  'album' => 'Album',
-  'title' => 'Tytuł',
-  'filename' => 'Nazwa pliku', //cpg1.4
-  'desc' => 'Opis',
-  'keywords' => 'Słowa kluczowe',
-  'new_keyword' => 'Nowe słowo kluczowe', //cpg1.4
-  'new_keywords' => 'Znaleziono nowe słowa kluczowe', //cpg1.4
-  'existing_keyword' => 'Istniejące słowa kluczowe', //cpg1.4
-  'pic_info_str' => '%s x %s - %s KB - %s wyświetleń - %s głosów',
-  'approve' => 'Akceptuj',
-  'postpone_app' => 'Odłóż akceptację na później',
-  'del_pic' => 'Usuń plik',
-  'del_all' => 'Usuń WSZYSTKIE pliki', //cpg1.4
-  'read_exif' => 'Odczytaj ponownie informacje EXIF',
-  'reset_view_count' => 'Wyzeruj licznik wyświetleń',
-  'reset_all_view_count' => 'Wyzeruj WSZYSTKIE liczniki wyświetleń', //cpg1.4
-  'reset_votes' => 'Usuń głosy',
-  'reset_all_votes' => 'Usuń WSZYSTKIE głosy', //cpg1.4
-  'del_comm' => 'Usuń komentarze',
-  'del_all_comm' => 'Usuń WSZYSTKIE komentarze', //cpg1.4
-  'upl_approval' => 'Akceptowanie nadesłanych', //cpg1.4
-  'edit_pics' => 'Edytuj pliki',
-  'see_next' => 'Zobacz następne pliki',
-  'see_prev' => 'Zobacz poprzednie pliki',
-  'n_pic' => '%s plików',
-  'n_of_pic_to_disp' => 'Liczba wyświetlanych plików',
-  'apply' => 'Zatwierdź zmiany',
-  'crop_title' => 'Coppermine Picture Editor',
-  'preview' => 'Podgląd',
-  'save' => 'Zapisz obraz',
-  'save_thumb' =>'Zapisz jako miniaturkę',
-  'gallery_icon' => 'Ustaw jako moją ikonę', //cpg1.4
-  'sel_on_img' =>'Zaznaczenie musi w całości znajdować się na obrazku!', //js-alert
-  'album_properties' =>'Właściwości albumu', //cpg1.4
-  'parent_category' =>'Kategoria nadrzędna', //cpg1.4
-  'thumbnail_view' =>'Widok miniatur', //cpg1.4
-  'select_unselect' =>'Zaznacz/odznacz wszystko', //cpg1.4
-  'file_exists' => "Docelowy plik '%s' już istnieje.", //cpg1.4
-  'rename_failed' => "Nie udało się zmienić nazwy z '%s' na '%s'.", //cpg1.4
-  'src_file_missing' => "Źródłowy plik '%s' nie istnieje.", // cpg 1.4
-  'mime_conv' => "Nie da się przekonwertować pliku z '%s' na '%s'",//cpg1.4
-  'forb_ext' => 'Niedopuszczalne rozszerzenie pliku.',//cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File faq.php
-// ------------------------------------------------------------------------- //
-
-if (defined('FAQ_PHP')) $lang_faq_php = array(
-  'faq' => 'Często zadawane pytania',
-  'toc' => 'Spis treści',
-  'question' => 'Pytanie: ',
-  'answer' => 'Odpowiedź: ',
-);
-
-if (defined('FAQ_PHP')) $lang_faq_data = array(
-  'Ogólne pytania',
-  array('Dlaczego muszę się zarejestrować?', ' Rejestracja może być wymagana przez administratora serwisu. Zarejestrowanie się daje użytkownikowi dodatkowe możliwości, takie jak przesyłanie własnych plików, tworzenie listy ulubionych, ocenianie zdjęć, zamieszczanie komentarzy itp.', 'allow_user_registration', '1'),
-  array('Jak się zarejestrować?', 'Przejdź do sekcji &quot;Rejestracja&quot; i wypełnij wymagane pola (ew. także pola opcjonalne).<br />Jeżeli Administrator włączył opcję aktywacji przez e-mail, po wypełnieniu formularza rejestracji, na podany tam adres pocztowy otrzymasz e-mail zawierający instrukcje w jaki sposób aktywować konto. Aktywacja jest wymagana przed pierwszym logowaniem.', 'allow_user_registration', '1'), //cpg1.4
-  array('Jak się logować?', 'Przejdź do sekcji &quot;Logowanie&quot;, Wprowadź swoją nazwę użytkownika i hasło. Możesz także wybrać opcję &quot;Pamiętaj mnie&quot; abyś nie musiał logować się przy ponownym wejściu na stronę.<br /><b>WAŻNE: aby ta funkcja serwisu działała, należy włączyć obsługę plików cookie i nie kasować plików cookie generowanych przez serwis.</b>', 'offline', 0),
-  array('Dlaczego nie mogę się zalogować?', 'Czy zarejestrowałeś się już i kliknąłeś na łącze z wysłanego do Ciebie e-mail\'a? Łącze to pozwoli na aktywowanie Twojego konta. W przypadku innych kłopotów skontaktuj się z administratorem serwisu.', 'offline', 0),
-  array('Co mam zrobić jeżeli zapomnę hasła?', 'Jeżeli serwis udostępnia link &quot;Zapomniałem hasła&quot;, użyj go. W innym wypadku skontaktuj się z administratorem i poproś go o nowe hasło.', 'offline', 0),
-  //array('Co mam zrobić, jeżeli zmienił mi się adres e-mail?', 'Zaloguj się i zmień swój e-mail w &quot;Profilu&quot;', 'offline', 0),
-  array('Jak zapisać plik do &quot;Moich ulubionych&quot;?', 'Kliknij na pliku, a następnie na łączu &quot;informacji o zdjęciu&quot; (<img src="images/info.gif" width="16" height="16" border="0" alt="Picture information" />); przejdź na dół i kliknij &quot;Dodaj do ulubionych&quot;.<br />Możliwe, że administrator włączył opcję domyślnego pokazywania informacji o pliku.<br />WAŻNE: Należy włączyć obsługę plików cookie z tego serwisu i nie kasować ich.', 'offline', 0),
-  array('Jak ocenić plik?', 'Kliknij na miniaturze, przejdź na dół strony i wybierz odpowiednią ocenę.', 'offline', 0),
-  array('Jak zamieścić komentarz do pliku?', 'Kliknij na miniaturze, przejdź na dół i w odpowiednim polu wpisz komentarz.', 'offline', 0),
-  array('Jak przesłać plik?', 'Przejdź do &quot;Przesyłania zdjęć&quot; i wybierz album do którego chcesz przesłać plik, kliknij &quot;Przeglądaj&quot; znajdź plik który chcesz przesłać, wybierz &quot;Otwórz&quot; (dodaj opis, jeżeli chcesz) i kliknij &quot;Prześlij&quot;.<br /><br />Alternatywnie, użytkownicy <b>Windows XP</b>, mogą przesyłać większą ilość plików jednorazowo, bezpośrednio do albumów prywatnych, używając systemowego Kreatora Publikacji w sieci WWW.<br />Aby uzyskać informacje jak pobrać odpowiedni wpis do rejestru, kliknij <a href="xp_publish.php">tutaj.</a>', 'allow_private_albums', 1), //cpg1.4
-  array('Gdzie mogę przesłać plik?', 'Pliki można przesyłać do jednego z albumów w Twojej Galerii. Administrator może także zezwolić Ci na przesyłanie zdjęć do albumów w Galerii Głównej.', 'allow_private_albums', 0),
-  array('Jakie pliki można przesyłać? W jakiej wielkości?', 'Typ i rodzaj przesyłanych plików (jpg, png, etc.) określa administrator serwisu', 'offline', 0),
-  array(' W jaki sposób tworzyć, kasować i zmieniać nazwy albumów w &quot;Mojej Galerii&quot;?', 'Powinieneś przejść do &quot;Trybu Administracyjnego&quot;<br />Przejdź do &quot;Tworzenie/Porządkowanie albumów&quot;i kliknij &quot;Nowy&quot;. Zmień domyślną nazwę &quot;Nowy Album&quot; na wybraną przez siebie.<br />Możesz także modyfikować dowolny album ze swojej galerii.<br />Następnie kliknij &quot;Zastosuj zmiany&quot;.', 'allow_private_albums', 0),
-  array(' W jaki sposób zezwalać i odbierać zezwolenia na oglądanie moich albumów?', 'Przejdź do &quot;Trybu Administracyjnego&quot;<br />i sekcji &quot;Modyfikuj moje albumy. Na pasku &quot;Aktualizuj Album&quot; wybierz album, który chcesz zmodyfikować. <br />Możesz zmienić jego nazwę, opis, miniaturę, ustawić zezwolenia na oglądanie i komentowanie/ocenianie jego zawartości.<br />Następnie kliknij &quot;Aktualizuj album&quot;.', 'allow_private_albums', 0),
-  array('Co zrobić by móc obejrzeć galerie innych użytkowników?', 'Przejdź do &quot;Listy Albumów&quot; i wybierz &quot;Galerie użytkowników&quot;.', 'allow_private_albums', 0),
-  array('Co to takiego pliki cookie?', 'Pliki cookie zawierają dane tekstowe zapisywane przez stronę internetową na Twoim komputerze. <br />Zazwyczaj pozwalają użytkownikowi opuścić stronę i wejść na nią ponownie bez konieczności ponownego logowania.', 'offline', 0),
-  array('Skąd mogę pobrać ten program aby umieścić go we własnym serwisie?', 'Galeria Coppermine jest darmową galerią multimediów, rozpowszechnianą na licencji GNU GPL. Zawiera rozbudowaną funkcjonalność i została przygotowana na różne platformy. Odwiedź <a href="http://coppermine-gallery.net/">stronę domową Coppermine</a> by dowiedzieć się więcej i ściągnąć najnowszą wersję programu.', 'offline', 0),
-
-  'Nawigowanie po stronie',
-  array('Co to jest &quot;Lista albumów&quot;?', 'Lista albumów pokazuje całą kategorię, w której obecnie się znajdujesz wraz z łączami do każdego albumu. Jeżeli nie znajdujesz się obecnie w żadnej kategorii, lista albumów wyświetli całą zawartość galerii wraz z łączami do kategorii, które zawiera. Miniatury mogą być także łączami do kategorii.', 'offline', 0),
-  array('Czym jest &quot;Moja Galeria&quot;?', 'Opcja ta umożliwia użytkownikowi serwisu tworzenie własnej galerii, dodawanie, kasowanie i modyfikowanie albumów, oraz przesyłanie do nich plików.', 1), //cpg1.4
-  array('Czym różni się &quot;Tryb Administracyjny&quot; od &quot;Trybu użytkownika&quot;?', 'Tryb administracyjny umożliwia zarządzanie albumami znajdującymi się w Twojej prywatnej galerii (a także innymi albumami - jeżeli zezwolił na to administrator).', 'allow_private_albums', 0),
-  array('Co to jest &quot;Przesłanie pliku&quot;?', 'To możliwość przesłania pliku (jego rodzaj i wielkość są określone przez administratora) do wybranych albumów.', 'allow_private_albums', 0),
-  array('Co to są &quot;Ostatnie aktualizacje&quot;?', 'Umożliwiają przejrzenie ostatnio dodanych do strony plików.', 'offline', 0),
-  array('Co to są &quot;Ostatnie komentarze&quot;?', 'Ta opcja pokazuje ostatnio dodane przez użytkowników komentarze, oraz pliki których dotyczą.', 'offline', 0),
-  array('Czym jest opcja &quot;Popularne&quot;?', 'Opcja ta pokazuje najczęściej oglądane pliki (dotyczy wszystkich użytkowników - zarówno tych zalogowanych jak i niezalogowanych).', 'offline', 0),
-  array('Co to jest &quot;Top Lista&quot;?', 'Top lista zawiera listę najwyżej ocenianych plików wraz z ich średnią oceną (np. pięciu użytkowników głosuje z oceną <img src="images/rating3.gif" width="65" height="14" border="0" alt="" />: plikowi zostanie przyznana ocena <img src="images/rating3.gif" width="65" height="14" border="0" alt="" /> ;lub wśród pięciu innych użytkowników każdy daje plikowi ocenę od 1 do 5 (1,2,3,4,5) co spowoduje przyznanie plikowi średniej oceny <img src="images/rating3.gif" width="65" height="14" border="0" alt="" /> .)<br />Klasyfikacja przedstawia się następująco: od <img src="images/rating5.gif" width="65" height="14" border="0" alt="najlepsze" /> (najlepsze) do <img src="images/rating0.gif" width="65" height="14" border="0" alt="najgorsze" /> (najgorsze).', 'offline', 0),
-  array('Czym są &quot;Ulubione&quot;?', 'Ta opcja pozwala użytkownikowi przechowywać odnośniki do ulubionych plików z galerii w pliku cookie zapisywanym przez przeglądarkę.', 'offline', 0),
-);
-
-
-// ------------------------------------------------------------------------- //
-// File forgot_passwd.php
-// ------------------------------------------------------------------------- //
-
-if (defined('FORGOT_PASSWD_PHP')) $lang_forgot_passwd_php = array(
-  'forgot_passwd' => 'Przypominanie hasła',
-  'err_already_logged_in' => 'Jesteś już zalogowany!',
-  'enter_email' => 'Wpisz swój adres e-mail', //cpg1.4
-  'submit' => 'Dalej',
-  'illegal_session' => 'Błąd sesji. Zacznij jeszcze raz.', //cpg1.4
-  'failed_sending_email' => 'Nie udało się wysłać e-maila z przypomnieniem hasła!',
-  'email_sent' => 'E-mail z twoją nazwą użytkownika i hasłem został wysłany na adres %s', //cpg1.4
-  'verify_email_sent' => 'Wysłano e-mail na adres %s. Sprawdź swoją skrzynkę pocztową aby dokończyć rejestrację.', //cpg1.4
-  'err_unk_user' => 'Wybrany użytkownik nie istnieje!',
-  'account_verify_subject' => '%s - Żądanie nowego hasła', //cpg1.4
-  'account_verify_body' => 'Zażądałeś nowego hasła. Jeśli chcesz, aby nowe hasło zostało przysłane na twój adres, otwórz poniższy odnośnik:
-
-%s', //cpg1.4
-  'passwd_reset_subject' => '%s - Twoje nowe hasło', //cpg1.4
-  'passwd_reset_body' => 'Oto nowe hasło zgodnie z żądaniem:
-Nazwa użytkownika: %s
-Hasło: %s
-Kliknij na %s aby się zalogować.', //cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File groupmgr.php
-// ------------------------------------------------------------------------- //
-
-if (defined('GROUPMGR_PHP')) $lang_groupmgr_php = array(
-  'group_name' => 'Grupa', //cpg1.4
-  'permissions' => 'Uprawnienia', //cpg1.4
-  'public_albums' => 'Wysyłanie do albumów publicznych', //cpg1.4
-  'personal_gallery' => 'Galeria osobista', //cpg1.4
-  'upload_method' => 'Metoda przesyłania', //cpg1.4
-  'disk_quota' => 'Quota', //cpg1.4
-  'rating' => 'Oceny', //cpg1.4
-  'ecards' => 'E-kartki', //cpg1.4
-  'comments' => 'Komentarze', //cpg1.4
-  'allowed' => 'Dozwolone', //cpg1.4
-  'approval' => 'Akceptowanie', //cpg1.4
-  'boxes_number' => 'Liczba pól', //cpg1.4
-  'variable' => 'zmienna', //cpg1.4
-  'fixed' => 'stała', //cpg1.4
-  'apply' => 'Zapisz zmiany',
-  'create_new_group' => 'Utwórz nową grupę',
-  'del_groups' => 'Usuń wybraną grupę / grupy',
-  'confirm_del' => 'Uwaga, po usunięciu grupy użytkownicy do niej należący zostaną przeniesieni do grupy "Zarejestrowani"! Czy chcesz kontynuować?', //js-alert
-  'title' => 'Zarządzanie grupami użytkowników',
-  'num_file_upload' => 'Pola wysyłania plików', //cpg1.4
-  'num_URI_upload' => 'Pola wysyłania adresów', //cpg1.4
-  'reset_to_default' => 'Zmień na domyślną nazwę (%s) - zalecane!', //cpg1.4
-  'error_group_empty' => 'Tabela grup była pusta!<br /><br />Utworzono domyślne grupy, proszę odświeżyć stronę', //cpg1.4
-  'explain_greyed_out_title' => 'Dlaczego ten wiersz jest wyszarzony?', //cpg1.4
-  'explain_guests_greyed_out_text' => 'Nie możesz zmienić ustawień tej grupy, ponieważ ustawiona jest opcja &quot;Zezwól niezalogowanym użytkownikom (anonimowym lub gościom) na dostęp&quot; na &quot;Nie&quot; na stronie konfiguracyjnej. Wszyscy goście (członkowie grupy %s) mogą się co najwyżej zalogować; w związku z tym ustawienia grup ich nie dotyczą.', //cpg1.4
-  'explain_banned_greyed_out_text' => 'Nie możesz zmienić ustawień grupy %s, ponieważ jej członkowie nie mogą i tak nic robić.', //cpg1.4
-  'group_assigned_album' => 'przydzielone albumy', //cpg1.4
-);// ------------------------------------------------------------------------- //
-// File index.php
-// ------------------------------------------------------------------------- //
-
-if (defined('INDEX_PHP')){
-
-$lang_index_php = array(
-  'welcome' => 'Witaj!',
-);
-
-$lang_album_admin_menu = array(
-  'confirm_delete' => 'Czy na pewno chcesz USUNĄĆ ten album?\\nWszystkie pliki i komentarze również zostaną usunięte.', //js-alert
-  'delete' => 'USUŃ',
-  'modify' => 'WŁAŚCIWOŚCI',
-  'edit_pics' => 'EDYTUJ PLIKI',
-);
-
-$lang_list_categories = array(
-  'home' => 'Strona główna',
-  'stat1' => '<b>[pictures]</b> plików w <b>[albums]</b> albumach i <b>[cat]</b> kategoriach z <b>[comments]</b> komentarzami - wyświetlono <b>[views]</b> razy',
-  'stat2' => '<b>[pictures]</b> plików w <b>[albums]</b> albumach wyświetlono <b>[views]</b> razy',
-  'xx_s_gallery' => '%s - Galeria użytkownika',
-  'stat3' => '<b>[pictures]</b> plików w <b>[albums]</b> albumach z <b>[comments]</b> komentarzami wyświetlono<b>[views]</b> razy',
-);
-
-$lang_list_users = array(
-  'user_list' => 'Lista użytkowników',
-  'no_user_gal' => 'Nie ma galerii użytkowników',
-  'n_albums' => '%s albumów',
-  'n_pics' => '%s plików',
-);
-
-$lang_list_albums = array(
-  'n_pictures' => '%s plików',
-  'last_added' => ', ostatni dodany %s',
-  'n_link_pictures' => '%s dołączonych plików', //cpg1.4
-  'total_pictures' => 'łącznie %s plików', //cpg1.4
-);
-
-}
-
-// ------------------------------------------------------------------------- //
-// File keywordmgr.php //cpg1.4
-// ------------------------------------------------------------------------- //
-
-if (defined('KEYWORDMGR_PHP')) $lang_keywordmgr_php = array(
-  'title' => 'Zarządzanie słowami kluczowymi', //cpg1.4
-  'edit' => 'edytuj', //cpg1.4
-  'delete' => 'usuń', //cpg1.4
-  'search' => 'szukaj', //cpg1.4
-  'keyword_test_search' => 'szukaj słowa %s w nowym oknie', //cpg1.4
-  'keyword_del' => 'usuń słowo kluczowe %s', //cpg1.4
-  'confirm_delete' => 'Czy na pewno chcesz usunąć słowo kluczowe %s z galerii?', //cpg1.4  // js-alert
-  'change_keyword' => 'zmień słowo kluczowe', //cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File login.php
-// ------------------------------------------------------------------------- //
-
-if (defined('LOGIN_PHP')) $lang_login_php = array(
-  'login' => 'Login',
-  'enter_login_pswd' => 'Wpisz swój login i hasło',
-  'username' => 'Login',
-  'password' => 'Hasło',
-  'remember_me' => 'Pamiętaj mnie',
-  'welcome' => 'Witaj %s ...',
-  'err_login' => '*** Nie możesz się zalogować, spróbuj jeszcze raz ***',
-  'err_already_logged_in' => 'Jesteś już zalogowany !',
-  'forgot_password_link' => 'Zapomniałem hasła',
-  'cookie_warning' => 'Uwaga, Twoja przeglądarka nie obsługuje ciasteczek', //cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File logout.php
-// ------------------------------------------------------------------------- //
-
-if (defined('LOGOUT_PHP')) $lang_logout_php = array(
-  'logout' => 'Wyloguj się',
-  'bye' => 'Pa pa %s...',
-  'err_not_loged_in' => 'Nie jesteś zalogowany !',
-);
-
-// ------------------------------------------------------------------------- //
-// File minibrowser.php  //cpg1.4
-// ------------------------------------------------------------------------- //
-
-if (defined('MINIBROWSER_PHP')) $lang_minibrowser_php = array(
-  'close' => 'Zamknij', //cpg1.4
-  'submit' => 'OK', //cpg1.4
-  'up' => 'Wyżej o jeden ', //cpg1.4
-  'current_path' => 'bieżąca ścieżka', //cpg1.4
-  'select_directory' => 'proszę wybrać katalog', //cpg1.4
-  'click_to_close' => 'Kliknij na obrazie by zamknąć okno',
-);
-
-// ------------------------------------------------------------------------- //
-// File modifyalb.php
-// ------------------------------------------------------------------------- //
-
-if (defined('MODIFYALB_PHP')) $lang_modifyalb_php = array(
-  'upd_alb_n' => 'Aktualizuj album %s',
-  'general_settings' => 'Ogólne ustawienia',
-  'alb_title' => 'Tytuł albumu',
-  'alb_cat' => 'Kategoria albumu',
-  'alb_desc' => 'Opis albumu',
-  'alb_keyword' => 'Słowo kluczowe albumu', //cpg1.4
-  'alb_thumb' => 'Miniaturka albumu',
-  'alb_perm' => 'Uprawnienia dla tego albumu',
-  'can_view' => 'Album mogą przeglądać',
-  'can_upload' => 'Odwiedzający mogą dodawać pliki',
-  'can_post_comments' => 'Odwiedzający mogą pisać komentarze',
-  'can_rate' => 'Odwiedzający mogą oceniać obrazy',
-  'user_gal' => 'Galeria użytkownika',
-  'no_cat' => '* Brak kategorii *',
-  'alb_empty' => 'Album jest pusty',
-  'last_uploaded' => 'Ostatnio dodane',
-  'public_alb' => 'Wszyscy (album publiczny)',
-  'me_only' => 'Tylko ja',
-  'owner_only' => 'Tylko właściciel (%s) albumu',
-  'groupp_only' => 'Członkowie grupy \'%s\'',
-  'err_no_alb_to_modify' => 'W bazie danych nie ma albumu który mógłbyś zmienić.',
-  'update' => 'Aktualizuj album',
-  'reset_album' => 'Resetuj album', //cpg1.4
-  'reset_views' => 'Ustaw licznik wyświetleń na &quot;0&quot; dla %s', //cpg1.4
-  'reset_rating' => 'Ustaw oceny wszystkich plików na %s', //cpg1.4
-  'delete_comments' => 'Usuń wszystkie komentarze w %s', //cpg1.4
-  'delete_files' => '%sNieodwracalnie%s usuń wszystkie pliki w %s', //cpg1.4
-  'views' => 'wyświetleń', //cpg1.4
-  'votes' => 'głosów', //cpg1.4
-  'comments' => 'komentarzy', //cpg1.4
-  'files' => 'plików', //cpg1.4
-  'submit_reset' => 'zapisz zmiany', //cpg1.4
-  'reset_views_confirm' => 'Na pewno', //cpg1.4
-  'notice1' => '(*) w zależności od ustawień %sgrup%s ',  //cpg1.4 //(do not translate %s!)
-  'alb_password' => 'Hasło albumu', //cpg1.4
-  'alb_password_hint' => 'Podpowiedź do hasła albumu', //cpg1.4
-  'edit_files' =>'Edytuj pliki', //cpg1.4
-  'parent_category' =>'Kategoria nadrzędna', //cpg1.4
-  'thumbnail_view' =>'Widok miniatur', //cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File phpinfo.php
-// ------------------------------------------------------------------------- //
-
-if (defined('PHPINFO_PHP')) $lang_phpinfo_php = array(
-  'php_info' => 'PHP info',
-  'explanation' => 'This is the output generated by the PHP-function <a href="http://www.php.net/phpinfo">phpinfo()</a>, displayed within Coppermine (trimming the output at the right side).',
-  'no_link' => 'Having others see your phpinfo can be a security risk, that\'s why this page is only visible when you\'re logged in as admin. You can not post a link to this page for others, they will be denied access.',
-);
-
-// ------------------------------------------------------------------------- //
-// File picmgr.php //cpg1.4
-// ------------------------------------------------------------------------- //
-if (defined('PICMGR_PHP')) $lang_picmgr_php = array(
-  'pic_mgr' => 'Picture Manager', //cpg1.4
-  'select_album' => 'Select Album', //cpg1.4
-  'delete' => 'Delete', //cpg1.4
-  'confirm_delete1' => 'Are you sure you want to delete this picture ?', //cpg1.4
-  'confirm_delete2' => '\nPicture will be permanently deleted.', //cpg1.4
-  'apply_modifs' => 'Apply modifications', //cpg1.4
-  'confirm_modifs' => 'Confirm modifications', //cpg1.4
-  'pic_need_name' => 'Picture needs to have a name !', //cpg1.4
-  'no_change' => 'You did not make any change !', //cpg1.4
-  'no_album' => '* No album *', //cpg1.4
-  'explanation_header' => 'The custom sort order you can specify on this page will only be taken into account if', //cpg1.4
-  'explanation1' => 'the admin has set the "Default sort order for files" in the config to "Position descending" or "Position ascending" (global setting for all users who haven\'t chosen another sort option individually)', //cpg1.4
-  'explanation2' => 'the user has chosen "Position descending" or "Position ascending" on the thumbail page (per user setting)', //cpg1.4
-);
-
-
-// ------------------------------------------------------------------------- //
-// File pluginmgr.php //cpg1.4
-// ------------------------------------------------------------------------- //
-
-if (defined('PLUGINMGR_PHP')){
-
-$lang_pluginmgr_php = array(
-  'confirm_uninstall' => 'Czy na pewno chcesz ODINSTALOWAĆ tę wtyczkę?', //cpg1.4
-  'confirm_delete' => 'Czy na pewno chcesz USUNĄĆ tę wtyczkę?', //cpg1.4
-  'pmgr' => 'Zarządzanie wtyczkami', //cpg1.4
-  'name' => 'Nazwa', //cpg1.4
-  'author' => 'Autor', //cpg1.4
-  'desc' => 'Opis', //cpg1.4
-  'vers' => 'v', //cpg1.4
-  'i_plugins' => 'Zainstalowane wtyczki', //cpg1.4
-  'n_plugins' => 'Niezainstalowane wtyczki', //cpg1.4
-  'none_installed' => 'Niczego nie zainstalowano', //cpg1.4
-  'operation' => 'Operacja', //cpg1.4
-  'not_plugin_package' => 'Nadesłany plik nie jest pakietem wtyczki.', //cpg1.4
-  'copy_error' => 'Wystąpił błąd przy kopiowaniu pakietu do katalogu wtyczek.', //cpg1.4
-  'upload' => 'Wyślij', //cpg1.4
-  'configure_plugin' => 'Konfiguruj wtyczkę', //cpg1.4
-  'cleanup_plugin' => 'Przeczyść wtyczkę', //cpg1.4
-);
-}
-
-// ------------------------------------------------------------------------- //
-// File ratepic.php
-// ------------------------------------------------------------------------- //
-
-if (defined('RATEPIC_PHP')) $lang_rate_pic_php = array(
-  'already_rated' => 'Już oceniłeś ten plik.',
-  'rate_ok' => 'Twoja ocena została przyjęta',
-  'forbidden' => 'Nie możesz oceniać swoich własnych plików.',
-);
-
-// ------------------------------------------------------------------------- //
-// File register.php & profile.php
-// ------------------------------------------------------------------------- //
-
-if (defined('REGISTER_PHP') || defined('PROFILE_PHP')) {
-
-$lang_register_disclamer = <<<EOT
-Administratorzy serwisu {SITE_NAME} dokładają wszelkich starań by usuwać lub zmieniać publikowane przez użytkowników treści ogólnie przyjęte za obraźliwe, łamiące prawo, lub obsceniczne, jest jednak niemożliwe by przejrzeć każdy post. Dlatego musisz zobowiązać się, że wszelkie opinie, materiały i komentarze jakie zamieścisz na stronach serwisu reprezentują wyłącznie Twoje poglądy, a nie poglądy osób zarządzających serwisem.<br />
-<br />
-Niniejszym zobowiązujesz się, by nie zamieszczać na stronach serwisu {SITE_NAME} materiałów obraźliwych, obscenicznych, wulgarnych, pornograficznych, nawołujących do użycia przemocy, stanowiących zagrożenie dla bezpieczeństwa publicznego, oraz innych materiałów, których przedstawienie na stronach serwisu mogłoby stanowić złamanie obowiązującego prawa. Przyjmujesz do wiadomości, że administrator lub moderatorzy serwisu {SITE_NAME} mają prawo do edycji i usuwania dowolnych zamieszczonych przez Ciebie treści niezgodnych z tym regulaminem. Jako użytkownik serwisu zgadzasz się na przechowywanie informacji niezbędnych do obsługi Twojego konta w bazie danych serwisu, oraz otrzymujesz prawo do ich modyfikacji oraz usunięcia w dowolnej chwili. W tym celu należy skontaktować się z administratorem serwisu. Informacje te nie będą przekazywane osobom trzecim bez Twojej zgody, jednakże administratorzy serwisu nie mogą ponoszą odpowiedzialności za kradzież tych informacji w wypadku działań osób nieuprawnionych.<br />
-<br />
-Serwis {SITE_NAME} używa plików cookie do przechowywania informacji na Twoim komputerze. Służą one jedynie do poprawienia komfortu przeglądania zawartości serwisu. Twój adres e-mail jest używany jedynie do wysyłania potwierdzeń dotyczących rejestracji w serwisie. <br />
-<br />
-Kliknięcie znajdującego się poniżej przycisku 'Zgadzam się' oznacza zgodę na przedstawiony wyżej regulamin serwisu.
-EOT;
-
-$lang_register_php = array(
-  'page_title' => 'Rejestracja nowego użytkownika',
-  'term_cond' => 'Warunki rejestracji',
-  'i_agree' => 'Zgadzam się',
-  'submit' => 'Kontynuuj rejestrację',
-  'err_user_exists' => 'Użytkownik o takiej nazwie już istnieje. Wybierz inną nazwę',
-  'err_password_mismatch' => 'Potwierdzenie hasła nie zgadza się z hasłem',
-  'err_uname_short' => 'Nazwa użytkownika musi mieć co najmniej 2 litery',
-  'err_password_short' => 'Hasło musi mieć co najmniej 2 litery',
-  'err_uname_pass_diff' => 'Login i hasło nie mogą być identyczne',
-  'err_invalid_email' => 'Nieprawidłowy adres e-mail',
-  'err_duplicate_email' => 'Inny zarejestrowany uzytkownik użył już tego adresu e-amil. Użyj innego adresu.',
-  'enter_info' => 'Wprowadź informacje potrzebne do rejestracji',
-  'required_info' => 'Wymagane informacje',
-  'optional_info' => 'Informacje dodatkowe',
-  'username' => 'Użytkownik',
-  'password' => 'Hasło',
-  'password_again' => 'Powtórz hasło',
-  'email' => 'E-mail',
-  'location' => 'Miasto',
-  'interests' => 'Zainteresowania',
-  'website' => 'Strona www',
-  'occupation' => 'Zawód',
-  'error' => 'Błąd',
-  'confirm_email_subject' => '%s - Informacja o rejestracji',
-  'information' => 'Informacja',
-  'failed_sending_email' => 'E-mail z potwierdzeniem rejestracji nie mógł zostać wysłany !',
-  'thank_you' => 'Dziękujemy za zarejestrowanie się.<br /><br />Wiadomość z informacją jak aktywować konto została wysłana na Twój adres podany przy rejestracji.',
-  'acct_created' => 'Twoje konto zostało utworzone. Możesz zalogować się używając swojego loginu i hasła.',
-  'acct_active' => 'Twoje konto jest już aktywne. Możesz zalogować się używając swojego loginu i hasła',
-  'acct_already_act' => 'Konto jest już aktywne!', //cpg1.4
-  'acct_act_failed' => 'To konto nie może być aktywowane!',
-  'err_unk_user' => 'Wybrany użytkownik nie istnieje!',
-  'x_s_profile' => '%s - profil użytkownika',
-  'group' => 'Grupa',
-  'reg_date' => 'Dołączył',
-  'disk_usage' => 'Miejsce na serwerze',
-  'change_pass' => 'Zmień hasło',
-  'current_pass' => 'Aktualne hasło',
-  'new_pass' => 'Nowe hasło',
-  'new_pass_again' => 'Powtórz nowe hasło',
-  'err_curr_pass' => 'Aktualne hasło jest nieprawidłowe',
-  'apply_modif' => 'Zastosuj zmiany',
-  'change_pass' => 'Zmiana hasła',
-  'update_success' => 'Twój profil został uaktualniony',
-  'pass_chg_success' => 'Twoje hasło zostało zmienione',
-  'pass_chg_error' => 'Twoje hasło nie zostało zmienione',
-  'notify_admin_email_subject' => 'Powiadomienie o nowej rejestracji w {SITE_NAME}',
-  'last_uploads' => 'Ostatnio dodany plik.<br />Kliknij żeby zobaczyć wszystkie przesłane pliki', //cpg1.4
-  'last_comments' => 'Ostatni komentarz.<br />Kliknj żeby zobaczyć wszystkie komentarze', //cpg1.4
-  'notify_admin_email_body' => 'Nowy użytkownik o nazwie "%s" właśnie zarejestrował się w Twojej Galerii',
-  'pic_count' => 'Plików przesłanych', //cpg1.4
-  'notify_admin_request_email_subject' => 'Powiadomienie o nowej rejestracji w Galerii', //cpg1.4
-  'thank_you_admin_activation' => 'Dziękujemy.<br /><br />Twoja prośba o aktywację konta w Galerii została przesłana do Administratora. Otrzymasz e-mail z informacją o aktywacji (lub nie).', //cpg1.4
-  'acct_active_admin_activation' => 'Konto jest akywne. Powiadomienie zostało wysłane do użytkownika.', //cpg1.4
-  'notify_user_email_subject' => '{SITE_NAME} - powiadomienie o aktywacji', //cpg1.4
-);
-
-$lang_register_confirm_email = <<<EOT
-Dziekujemy za rejestracje w {SITE_NAME}
-
-Aby dokończyć aktywację Twojego konta "{USER_NAME}", kliknij w link poniżej lub skopiuj go i wklej do paska adresu swojej przeglądarki internetowej.
-
-<a href="{ACT_LINK}">{ACT_LINK}</a>
-
-Aministratorzy {SITE_NAME}
-
-EOT;
-
-$lang_register_approve_email = <<<EOT
-Nowy użytkownik o nazwie "{USER_NAME}" właśnie zarejestrował się w Twojej Galerii.
-
-Aby dokończyc aktywację konta, kliknij w link poniżej lub skopiuj go i wklej do paska adresu swojej przeglądarki internetowej.
-
-<a href="{ACT_LINK}">{ACT_LINK}</a>
-
-EOT;
-
-$lang_register_activated_email = <<<EOT
-Twoje konto zostało zatwierdzone i jest już aktywne.
-
-Możesz zalogować się na <a href="{SITE_LINK}">{SITE_LINK}</a> używając "{USER_NAME}" jako nazwy użytkownika.
-
-Aministratorzy {SITE_NAME}
-
-EOT;
-}
-
-// ------------------------------------------------------------------------- //
-// File reviewcom.php
-// ------------------------------------------------------------------------- //
-
-if (defined('REVIEWCOM_PHP')) $lang_reviewcom_php = array(
-  'title' => 'Akceptowanie komentarzy',
-  'no_comment' => 'Nie ma komentarzy do akceptacji',
-  'n_comm_del' => 'usunięto %s komentarzy',
-  'n_comm_disp' => 'Liczba wyświetlanych komentarzy',
-  'see_prev' => 'Zobacz poprzedni',
-  'see_next' => 'Zobacz następny',
-  'del_comm' => 'Usuń wybrane komentarze',
-  'user_name' => 'Użytkownik', //cpg1.4
-  'date' => 'Data', //cpg1.4
-  'comment' => 'Komentarz', //cpg1.4
-  'file' => 'Plik', //cpg1.4
-  'name_a' => 'Wg nazwy użytkownika rosnąco', //cpg1.4
-  'name_d' => 'Wg nazwy użytkownika malejąco', //cpg1.4
-  'date_a' => 'Wg daty rosnąco', //cpg1.4
-  'date_d' => 'Wg daty malejąco', //cpg1.4
-  'comment_a' => 'Wg treści komentarza rosnąco', //cpg1.4
-  'comment_d' => 'Wg treści komentarza malejąco', //cpg1.4
-  'file_a' => 'Wg pliku rosnąco', //cpg1.4
-  'file_d' => 'Wg pliku malejąco', //cpg1.4
-);
-
-
-// ------------------------------------------------------------------------- //
-// File search.php                                                           //
-// ------------------------------------------------------------------------- //
-
-
-if (defined('SEARCH_PHP')){
-
-$lang_search_php = array(
-  'title' => 'Przeszukiwanie listy plików', //cpg1.4
-  'submit_search' => 'szukaj', //cpg1.4
-  'keyword_list_title' => 'Lista słów kluczowych', //cpg1.4
-  'keyword_msg' => 'Powyższa lista nie jest ostateczna. Nie zawiera słów zawartych w tytułach lub opisach zdjęć. Spróbuj wyszukiwania pełnotekstowego.',  //cpg1.4
-  'edit_keywords' => 'Edytuj słowa kluczowe', //cpg1.4
-  'search in' => 'Szukaj w:', //cpg1.4
-  'ip_address' => 'adres IP', //cpg1.4
-  'fields' => 'Szukaj w:', //cpg1.4
-  'age' => 'Wiek', //cpg1.4
-  'newer_than' => 'Nowsze niż', //cpg1.4
-  'older_than' => 'Starsze niż', //cpg1.4
-  'days' => 'dni', //cpg1.4
-  'all_words' => 'Wszystkie słowa (AND)', //cpg1.4
-  'any_words' => 'Dowolne ze słów (OR)', //cpg1.4
-);
-
-$lang_adv_opts = array(
-  'title' => 'Tytuł', //cpg1.4
-  'caption' => 'Nagłówek', //cpg1.4
-  'keywords' => 'Słowa kluczowe', //cpg1.4
-  'owner_name' => 'Właściciel', //cpg1.4
-  'filename' => 'Nazwa pliku', //cpg1.4
-);
-
-}
-
-// ------------------------------------------------------------------------- //
-// File searchnew.php
-// ------------------------------------------------------------------------- //
-
-if (defined('SEARCHNEW_PHP')) $lang_search_new_php = array(
-  'page_title' => 'Szukaj nowych plików',
-  'select_dir' => 'Wybierz katalog',
-  'select_dir_msg' => 'Ta funkcja pozwala na dodawanie grupy plików które przesłałeś na serwer poprzez FTP.<br /><br />Wybierz katalog, do którego nadesłałeś swoje pliki.', //cpg1.4
-  'no_pic_to_add' => 'Nie ma pliku do dodania',
-  'need_one_album' => 'Musisz mieć co najmniej jeden album aby użyć tej funkcji',
-  'warning' => 'Uwaga',
-  'change_perm' => 'skrypt nie może pisać w tym katalogu, musisz zmienić jego uprawnienia na 755 lub 777 zanim dodasz pliki!',
-  'target_album' => '<b>Umieść pliki z &quot;</b>%s<b>&quot; w albumie </b>%s',
-  'folder' => 'Folder',
-  'image' => 'plik',
-  'album' => 'Album',
-  'result' => 'Rezultat',
-  'dir_ro' => 'Tylko do odczytu. ',
-  'dir_cant_read' => 'Brak praw odczytu. ',
-  'insert' => 'Dodawanie nowych plików do galerii',
-  'list_new_pic' => 'Lista nowych plików',
-  'insert_selected' => 'Wstaw wybrane pliki',
-  'no_pic_found' => 'Brak nowych plików',
-  'be_patient' => 'Proszę czekać, dodawanie plików może zająć dłuższą chwilę.',
-  'no_album' => 'nie wybrano albumu',
-  'result_icon' => 'kliknij aby uzyskać szczegółowe informacje lub odświeżyć',  //cpg1.4
-  'notes' =>  '<ul>'.
-                          '<li><b>OK</b>: oznacza, że plik został pomyślnie dodany'.
-                          '<li><b>DP</b>: oznacza, że plik jest kopią innego, znajdującego się już w bazie danych'.
-                          '<li><b>PB</b>: oznacza, że plik nie mógł zostać dodany, sprawdź ustawienia i uprawnienia katalogów, w których znajdują się pliki'.
-                          '<li><b>NA</b>: oznacza, że nie wybrałeś albumu, do którego powinny zostać dodane zdjęcia. Kliknij \'<a href="javascript:history.back(1)">wstecz</a>\' i wybierz album. Jeśli nie masz albumu, <a href="albmgr.php">utwórz go</a></li>'.
-                          '<li>Jeżeli nie pojawiają się ikony OK, DP, PB, kliknij na obrazek zastępczy aby zobaczyć komunikat o ewentualnych błędach'.
-                          '<li>Jeżeli twoja przeglądarka przerwie oczekiwanie, wciśnij "Odśwież"'.
-                          '</ul>',
-  'select_album' => 'wybierz album',
-  'check_all' => 'Zaznacz wszystko',
-  'uncheck_all' => 'Odznacz wszystko',
-  'no_folders' => 'Nie ma jeszcze podkatalogów w katalogu "albumy". Pamiętaj aby utworzyć co najmniej jeden katalog podrzędny w katalogu "albumy" i tam przesyłać pliki. Nie powinieneś przesyłać plików do katalogów "userpics" lub "edit", są przeznaczone do przesyłania przez http oraz celów własnych galerii.', //cpg1.4
-   'albums_no_category' => 'Albumy bez kategorii', //cpg1.4 // album pulldown mod, added by frogfoot
-  'personal_albums' => '* Albumy osobiste', //cpg1.4 // album pulldown mod, added by frogfoot
-  'browse_batch_add' => 'Interfejs z podglądem (zalecany)', //cpg1.4
-  'edit_pics' => 'Edytuj pliki', //cpg1.4
-  'edit_properties' => 'Ustawienia albumu', //cpg1.4
-  'view_thumbs' => 'Podgląd miniatur', //cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File stat_details.php //cpg1.4
-// ------------------------------------------------------------------------- //
-
-if (defined('STAT_DETAILS_PHP')) $lang_stat_details_php = array(
-  'show_hide' => 'pokaż/ukryj tę kolumnę', //cpg1.4
-  'vote' => 'Szczegóły głosowania', //cpg1.4
-  'hits' => 'Szczegóły wyświetleń', //cpg1.4
-  'stats' => 'Statystyki głosowania', //cpg1.4
-  'sdate' => 'Data', //cpg1.4
-  'rating' => 'Ocena', //cpg1.4
-  'search_phrase' => 'Fraza wyszukiwana', //cpg1.4
-  'referer' => 'Odsyłający', //cpg1.4
-  'browser' => 'Przeglądarka', //cpg1.4
-  'os' => 'System operacyjny', //cpg1.4
-  'ip' => 'IP', //cpg1.4
-  'sort_by_xxx' => 'Sortuj wg: %s', //cpg1.4
-  'ascending' => 'rosnąco', //cpg1.4
-  'descending' => 'malejąco', //cpg1.4
-  'internal' => 'wewn', //cpg1.4
-  'close' => 'zamknij', //cpg1.4
-  'hide_internal_referers' => 'ukryj własnych odsyłających', //cpg1.4
-  'date_display' => 'Data wyświetlenia', //cpg1.4
-  'submit' => 'wyślij / odśwież', //cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File thumbnails.php
-// ------------------------------------------------------------------------- //
-
-// Void
-
-// ------------------------------------------------------------------------- //
-// File upload.php
-// ------------------------------------------------------------------------- //
-
-if (defined('UPLOAD_PHP')) $lang_upload_php = array(
-  'title' => 'Prześlij plik',
-  'custom_title' => 'Dostosowany formularz wysyłki',
-  'cust_instr_1' => 'Możesz wybrać własną liczbę pól wysyłki. Nie możesz jednak wybrać więcej niż wynosi podany poniżej limit.',
-  'cust_instr_2' => 'Wybór liczby pól',
-  'cust_instr_3' => 'Pola przesyłu plików: %s',
-  'cust_instr_4' => 'Pola przesyłu adresów URL: %s',
-  'cust_instr_5' => 'Pola przesyłu adresów URL:',
-  'cust_instr_6' => 'Pola przesyłu plików:',
-  'cust_instr_7' => 'Proszę wpisać odpowiednią liczbę pól każdego typu przesyłu, a następnie kliknąć \'Dalej\'. ',
-  'reg_instr_1' => 'Nieprawidłowe działanie przy tworzeniu formularza.',
-  'reg_instr_2' => 'Możesz teraz przesłać pliki używając poniższych pól formularza. Rozmiar każdego z nadesłanych plików nie powinien przekraczać %s KB. Pliki wysłane w sekcjach \'Wysyłanie plików\' i \'Wysyłanie adresów URL\' nie zostaną rozpakowane.',
-  'reg_instr_3' => 'Jeśli chcesz aby przesłane pliki zostały rozpakowane, musisz użyć pola wysyłki umieszczonego w sekcji \'Wysyłanie plików ZIP z rozpakowaniem\'.',
-  'reg_instr_4' => 'Używając sekcji przesyłu adresów URL wpisz ścieżkę do pliku w postaci: http://www.mysite.com/images/example.jpg',
-  'reg_instr_5' => 'Kiedy skończysz wypełniać formularz, kliknij \'Dalej\'.',
-  'reg_instr_6' => 'Wysyłanie plików ZIP z rozpakowaniem:',
-  'reg_instr_7' => 'Wysyłanie plików:',
-  'reg_instr_8' => 'Wysyłanie adresów URL:',
-  'error_report' => 'Raport o błędach',
-  'error_instr' => 'Następujące pliki napotkały na problemy przy przesyłaniu:',
-  'file_name_url' => 'Nazwa pliku/adres URL',
-  'error_message' => 'Treść błędu',
-  'no_post' => 'Plik nie wysłany metodą POST.',
-  'forb_ext' => 'Niedozwolone rozszerzenie pliku.',
-  'exc_php_ini' => 'Przekroczono rozmiar pliku dozwolony w php.ini.',
-  'exc_file_size' => 'Przekroczono rozmiar pliku dozwolony przez CPG.',
-  'partial_upload' => 'Częściowa wysyłka.',
-  'no_upload' => 'Nie nastąpiła wysyłka.',
-  'unknown_code' => 'Nieznany błąd przesyłu PHP.',
-  'no_temp_name' => 'Brak wysyłu - brak nazwy tymczasowej.',
-  'no_file_size' => 'Nie zawiera danych/uszkodzony',
-  'impossible' => 'Przeniesienie niemożliwe.',
-  'not_image' => 'To nie jest plik obrazu/uszkodzony',
-  'not_GD' => 'Plik nieobsługiwany przez GD.',
-  'pixel_allowance' => 'Wysokość i/lub szerokość nadesłanego obrazu jest większa niż wymiary określone przez galerię.', //cpg1.4
-  'incorrect_prefix' => 'Nieprawidłowy przedrostek adresu URL',
-  'could_not_open_URI' => 'Nie udało się połączyć z adresem URI.',
-  'unsafe_URI' => 'Bezpieczeństwo niemożliwe do zweryfikowania.',
-  'meta_data_failure' => 'Błąd metadanych',
-  'http_401' => '401 Brak autoryzacji',
-  'http_402' => '402 Wymagana płatność',
-  'http_403' => '403 Dostęp zabroniony',
-  'http_404' => '404 Nie znaleziono',
-  'http_500' => '500 Wewnętrzny błąd serwera',
-  'http_503' => '503 Usługa niedostępna',
-  'MIME_extraction_failure' => 'Nie udało się określić typu MIME.',
-  'MIME_type_unknown' => 'Nieznany typ MIME',
-  'cant_create_write' => 'Nie udało się utworzyć/zapisać pliku.',
-  'not_writable' => 'Nie udało się zapisać do pliku.',
-  'cant_read_URI' => 'Nie udało się odczytać adresu URI/URL',
-  'cant_open_write_file' => 'Nie można było otworzyć pliku zapisu dla adresu URL.',
-  'cant_write_write_file' => 'Nie można pisać do pliku zapisu dla adresu URL.',
-  'cant_unzip' => 'Nie udało się rozpakować.',
-  'unknown' => 'Nieznany błąd',
-  'succ' => 'Prawidłowo przesłane',
-  'success' => '%s prawidłowo przesłanych plików.',
-  'add' => 'Proszę kliknąć na \'Dalej\' aby dodać pliki do albumów.',
-  'failure' => 'Błąd przesyłu',
-  'f_info' => 'Informacja o pliku',
-  'no_place' => 'Poprzedni plik nie został prawidłowo umieszczony.',
-  'yes_place' => 'Poprzedni plik został prawidłowo umieszczony.',
-  'max_fsize' => 'Maksymalny dopuszczalny rozmiar pliku to %s KB',
-  'album' => 'Album',
-  'picture' => 'Plik',
-  'pic_title' => 'Tytuł pliku',
-  'description' => 'Opis pliku',
-  'keywords' => 'Słowa kluczowe (oddzielaj spacjami)<br /><a href="#" onClick="return MM_openBrWindow(\'keyword_select.php\',\'selectKey\',\'width=250, height=400, scrollbars=yes,toolbar=no,status=yes,resizable=yes\')">Wstaw z listy</a>', //cpg1.4
-  'keywords_sel' =>'Wybierz słowo kluczowe', //cpg1.4
-  'err_no_alb_uploadables' => 'Przepraszamy. Nie możesz wysyłać plików do żadnego albumu',
-  'place_instr_1' => 'Proszę teraz umieścić pliki w albumach. Możesz również podać istotne informacje o każdym z nich.',
-  'place_instr_2' => 'Więcej plików czeka na rozmieszczenie w albumach. Proszę kliknąć \'Dalej\'.',
-  'process_complete' => 'Wstawianie plików do albumów zakończyło się powodzeniem.',
-   'albums_no_category' => 'Albumy bez kategorii', //cpg1.4. //album pulldown mod, added by frogfoot
-  'personal_albums' => '* Albumy osobiste', //cpg1.4 //album pulldown mod, added by frogfoot
-  'select_album' => 'Wybierz album', //cpg1.4 //album pulldown mod, added by frogfoot
-  'close' => 'Zamknij', //cpg1.4
-  'no_keywords' => 'Brak dostępnych słów kluczowych!', //cpg1.4
-  'regenerate_dictionary' => 'Zbuduj ponownie słownik', //cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File usermgr.php
-// ------------------------------------------------------------------------- //
-
-if (defined('USERMGR_PHP')) $lang_usermgr_php = array(
-  'memberlist' => 'Lista użytkowników', //cpg1.4
-  'user_manager' => 'Opcję użytkowników', //cpg1.4
-  'title' => 'Zarządzaj użytkownikami',
-  'name_a' => 'Imiona rosnąco',
-  'name_d' => 'Imiona malejąco',
-  'group_a' => 'Grupy rosnąco',
-  'group_d' => 'Grupy malejąco',
-  'reg_a' => 'Data rejestracji rosnąco',
-  'reg_d' => 'Data rejestracji malejąco',
-  'pic_a' => 'Pliki rosnąco',
-  'pic_d' => 'Pliki malejąco',
-  'disku_a' => 'Miejsce na serwerze rosnąco',
-  'disku_d' => 'Miejsce na serwerze malejąco',
-  'lv_a' => 'Ostatnia wizyta rosnąco',
-  'lv_d' => 'Ostatnia wizyta malejąco',
-  'sort_by' => 'Sortuj użytkowników wg.',
-  'err_no_users' => 'Tabela użytkowników jest pusta !',
-  'err_edit_self' => 'Nie możesz edytować swojego profilu, użyj "Mój profil" na stronie głównej',
-  'edit' => 'Edycja', //cpg1.4
-  'with_selected' => 'Wybrane:', //cpg1.4
-  'delete' => 'Usuń', //cpg1.4
-  'delete_files_no' => 'zachowaj publiczne pliki (ale jako anonimowe)', //cpg1.4
-  'delete_files_yes' => 'usuń również publiczne pliki', //cpg1.4
-  'delete_comments_no' => 'zachowaj komentarze (ale jako anonimowe)', //cpg1.4
-  'delete_comments_yes' => 'usuń również komentarze', //cpg1.4
-  'activate' => 'Aktywacja', //cpg1.4
-  'deactivate' => 'Deaktywacja', //cpg1.4
-  'reset_password' => 'Zresetuj hasło', //cpg1.4
-  'change_primary_membergroup' => 'Usuń główną grupę', //cpg1.4
-  'add_secondary_membergroup' => 'Dodaj grupę', //cpg1.4
-  'name' => 'Nazwa',
-  'group' => 'Grupa',
-  'inactive' => 'Nieaktywny',
-  'operations' => 'Operacje',
-  'pictures' => 'Pliki',
-  'disk_space_used' => 'Użyte miejsce', //cpg1.4
-  'disk_space_quota' => 'Miejsce', //cpg1.4
-  'registered_on' => 'Rejestracja', //cpg1.4
-  'last_visit' => 'Ostatnia wizyta',
-  'u_user_on_p_pages' => '%d użytkowników na %d stronach',
-  'confirm_del' => 'Jesteś pewien, że chcesz USUNĄĆ tego użytkownika ? \\nWszystkie jego pliki i albumy również zostaną usunięte.', //js-alert
-  'mail' => 'MAIL',
-  'err_unknown_user' => 'Wybrany użytkownik nie istnieje !',
-  'modify_user' => 'Uaktualnij dane o użytkowniku',
-  'notes' => 'Notki',
-  'note_list' => '<li>Jeśli nie chcesz zmieniać aktualnego hasła pozostaw pole "Hasło" puste"',
-  'password' => 'Hasło',
-  'user_active' => 'Użytkownik jest aktywny',
-  'user_group' => 'Grupa użytkowników',
-  'user_email' => 'e-Mail użytkownika',
-  'user_web_site' => 'Strona WWW',
-  'create_new_user' => 'Dodaj konto',
-  'user_location' => 'Lokalizacja',
-  'user_interests' => 'Zainteresowania',
-  'user_occupation' => 'Zajęcie',
-  'user_profile1' => '$user_profile1', //cpg1.4
-  'user_profile2' => '$user_profile2', //cpg1.4
-  'user_profile3' => '$user_profile3', //cpg1.4
-  'user_profile4' => '$user_profile4', //cpg1.4
-  'user_profile5' => '$user_profile5', //cpg1.4
-  'user_profile6' => '$user_profile6', //cpg1.4
-  'latest_upload' => 'Ostatnio dodane pliki',
-  'never' => 'Nigdy',
-  'search' => 'Szukanie użytkowników', //cpg1.4
-  'submit' => 'Potwierdź', //cpg1.4
-  'search_submit' => 'Dalej!', //cpg1.4
-  'search_result' => 'Szukaj wśród wyników: ', //cpg1.4
-  'alert_no_selection' => 'Musisz wybrać najpierw co najmniej jednego użytkownika!', //cpg1.4 //js-alert
-  'password' => 'Hasło', //cpg1.4
-  'select_group' => 'Wybierz grupę', //cpg1.4
-  'groups_alb_access' => 'Dostęp do albumów', //cpg1.4
-  'album' => 'Album', //cpg1.4
-  'category' => 'Kategoria', //cpg1.4
-  'modify' => 'Zmienić?', //cpg1.4
-  'group_no_access' => 'Ta grupa nie ma dostępu', //cpg1.4
-  'notice' => 'Notka', //cpg1.4
-  'group_can_access' => 'Album(y) do którego ma dostęp tylko grupa "%s" ', //cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File util.php
-// ------------------------------------------------------------------------- //
-
-if (defined('UTIL_PHP')) {
-$lang_util_desc_php = array(
-'Pobiera tytuły plików z ich nazw', //cpg1.4
-'Usuwa tytuły', //cpg1.4
-'Odbudowuje miniatury i pomniejszone zdjęcia', //cpg1.4
-'Usuwa oryginalne obrazy i zastępuje je zmniejszonymi wersjami', //cpg1.4
-'Usuwa oryginalne lub pomniejszone obrazy w celu zwolnienia miejsca', //cpg1.4
-'Usuwa komentarze nie posiadające autora', //cpg1.4
-'Odczytuje ponownie rozmiary plików (jeśli były edytowane ręcznie)', //cpg1.4
-'Zeruje liczniki wyświetleń', //cpg1.4
-'Wyświetla phpinfo', //cpg1.4
-'Aktualizuje bazę danych', //cpg1.4
-'Wyświetla pliki logów', //cpg1.4
-);
-$lang_util_php = array(
-  'title' => 'Narzędzia administracyjne (zmiana wielkości obrazów)',
-  'what_it_does' => 'Przeznaczenie',
-  'file' => 'Plik',
-  'problem' => 'Problem', //cpg1.4
-  'status' => 'Stan', //cpg1.4
-  'title_set_to' => 'tytuł zmieniony na',
-  'submit_form' => 'wyślij',
-  'updated_succesfully' => 'aktualizowany pomyślnie',
-  'error_create' => 'BŁĄD przy tworzeniu',
-  'continue' => 'Przetwórz więcej obrazów',
-  'main_success' => 'Plik %s został pomyślnie użyty jako plik główny',
-  'error_rename' => 'Błąd przy zmianie nazwy z %s na %s',
-  'error_not_found' => 'Nie odnaleziono pliku %s',
-  'back' => 'powrót',
-  'thumbs_wait' => 'Aktualizuję miniatury i pomniejszone zdjęcia, proszę czekać...',
-  'thumbs_continue_wait' => 'Kontynuacja aktualizacji miniatur i/lub pomniejszonych zdjęć...',
-  'titles_wait' => 'Aktualizacja tytułów, proszę czekać...',
-  'delete_wait' => 'Usuwanie tytułów, proszę czekać...',
-  'replace_wait' => 'Usuwanie oryginalnych zdjęć i zastępowanie ich pomniejszonymi obrazami, proszę czekać...',
-  'instruction' => 'Szybka instrukcja',
-  'instruction_action' => 'Wybierz działanie',
-  'instruction_parameter' => 'Ustaw parametry',
-  'instruction_album' => 'Wybierz album',
-  'instruction_press' => 'Naciśnij %s',
-  'update' => 'Aktualizuj miniatury i/lub pomniejszone zdjęcia',
-  'update_what' => 'Co powinno zostać zaktualizowane',
-  'update_thumb' => 'Tylko miniatury',
-  'update_pic' => 'Tylko pomniejszone zdjęcia',
-  'update_both' => 'Miniatury i pomniejszone zdjęcia',
-  'update_number' => 'Liczba obrazów do przetworzenia na 1 kliknięcie',
-  'update_option' => '(Spróbuj ustawić mniejszą wartość jeśli napotkasz na problemy z przekroczeniem czasu oczekiwania)',
-  'filename_title' => 'Nazwa pliku &rArr; Tytuł obrazu ',
-  'filename_how' => 'Jak przetworzyć nazwę pliku',
-  'filename_remove' => 'Usuń rozszerzenie .jpg i zastąp znaki _ (podkreślenia) spacjami',
-  'filename_euro' => 'Zmień 2003_11_23_13_20_20.jpg na 23/11/2003 13:20',
-  'filename_us' => 'Zmień 2003_11_23_13_20_20.jpg na 11/23/2003 13:20',
-  'filename_time' => 'Zmień 2003_11_23_13_20_20.jpg na 13:20',
-  'delete' => 'Usuń tytuły plików lub oryginalne obrazy',
-  'delete_title' => 'Usuń tytuły plików',
-  'delete_title_explanation' => 'Zostaną usunięte wszystkie tytuły plików w wybranym albumie.', //cpg1.4
-  'delete_original' => 'Usuń oryginalne obrazy',
-  'delete_original_explanation' => 'Zostaną usunięte oryginalne (duże) obrazy.', //cpg1.4
-  'delete_intermediate' => 'Usuń pośrednie obrazy', //cpg1.4
-  'delete_intermediate_explanation' => 'Zostaną usunięte pośrednie (zwykłe) zdjęcia.<br />Użyj tej opcji aby zwolnić miejsce na dysku jeśli wyłączyłeś \'Twórz pośrednie obrazy\' w pliku konfiguracyjnym po dodaniu zdjęć.', //cpg1.4
-  'delete_replace' => 'Usuwa oryginalne obrazy zastępując je pomniejszonymi wersjami',
-  'titles_deleted' => 'Usunięto wszystkie tytuły w wybranym albumie', //cpg1.4
-  'deleting_intermediates' => 'Usuwanie pośrednich obrazów, proszę czekać...', //cpg1.4
-  'searching_orphans' => 'Trwa wyszukiwanie opuszczonych elementów, proszę czekać...', //cpg1.4
-  'select_album' => 'Wybierz album',
-  'delete_orphans' => 'Usuń komentarze do nieistniejących plików', //cpg1.4
-  'delete_orphans_explanation' => 'Ta opcja pozwoli zidentyfikować i usunąć komentarze przypisane do plików które już nie znajdują się w galerii.<br />Sprawdza wszystkie albumy.', //cpg1.4
-  'refresh_db' => 'Pobierz ponownie wymiary obrazu i rozmiar pliku', //cpg1.4
-  'refresh_db_explanation' => 'Ta opcja pozwala odczytać ponownie informacje o rozmiarach plików. Użyj jej, jeśli zauważysz, że nieprawidłowo obliczany jest limit miejsca (np. po ręcznej edycji plików).', //cpg1.4
-  'reset_views' => 'Zeruj liczniki wyświetleń', //cpg1.4
-  'reset_views_explanation' => 'Ustawia wszystkie liczniki wyświetleń na zero w wybranym albumie.', //cpg1.4
-  'orphan_comment' => 'Znaleziono opuszczone komentarze',
-  'delete' => 'Usuń',
-  'delete_all' => 'Usuń wszystkie',
-  'delete_all_orphans' => 'Usunąć wszystkie?', //cpg1.4
-  'comment' => 'Komentarz: ',
-  'nonexist' => 'przypisany do nieistniejącego pliku # ',
-  'phpinfo' => 'Pokaż phpinfo',
-  'phpinfo_explanation' => 'Zawiera techniczne informacje dotyczące serwera.<br /> - Możesz zostać poproszony o podanie tej informacji, gdy będziesz zwracać się o pomoc.', //cpg1.4
-  'update_db' => 'Aktualizuj bazę danych',
-  'update_db_explanation' => 'Jeśli podmieniłeś pliki Coppermine, dodałeś modyfikację lub aktualizowałeś z poprzedniej wersji, uruchom aktualizację bazy danych. Pozwoli to na utworzenie koniecznych tabel oraz ustawień konfiguracyjnych w twojej bazie danych coppermine.',
-  'view_log' => 'Zobacz pliki logów', //cpg1.4
-  'view_log_explanation' => 'Coppermine może śledzić poczynania użytkowników. Możesz przeglądać te logi jeśli włączyłeś logowanie w <a href="admin.php">konfiguracji coppermine</a>.', //cpg1.4
-  'versioncheck' => 'Sprawdź wersje', //cpg1.4
-  'versioncheck_explanation' => 'Sprawdza wersje plików, aby stwerdzić czy wszystkie zostały podmienione podczas aktualizacji, lub jeśli pliki źródłowe coppermine zostały aktualizowane już po wypuszczeniu bieżącej wersji.', //cpg1.4
-  'bridgemanager' => 'Menedżer Integracji', //cpg1.4
-  'bridgemanager_explanation' => 'Włącza/wyłącza integrację (mostkowanie) Coppermine z inną aplikacją (np. forum).', //cpg1.4
-);
-}
-
-// ------------------------------------------------------------------------- //
-// File versioncheck.php //cpg1.4
-// ------------------------------------------------------------------------- //
-
-if (defined('VERSIONCHECK_PHP')) $lang_versioncheck_php = array(
-  'title' => 'Versioncheck', //cpg1.4
-  'what_it_does' => 'Ta strona jest przeznaczona dla użytkowników, którzy aktualizowali swoją instalację Coppermine. Ten skrypt czyta kolejno wszystkie pliki na twoim serwerze i próbuje ustalić, czy lokalne wersje pokrywają się z tymi, któe znajdują się w archiwum http://coppermine.sourceforge.net, zaznaczając pliki, które tak czy siak powinieneś aktualizować.<br />Na czerwono zostaną zaznaczone wszystkie pliki wymagające interwencji. Wpisy w kolorze żółtym będą potrzebowały przejrzenia. Wpisy zielone (lub też w twoim domyślnym kolorze czcionki) są w porządku.<br />Kliknij na ikonach pomocy, by dowiedzieć się więcej.', //cpg1.4
-  'online_repository_unable' => 'Nie udało się połączyć z archiwum Coppermine', //cpg1.4
-  'online_repository_noconnect' => 'Coppermine nie był w stanie połączyć się z archiwum online. Mogą być dwa powody zaistnienia takiej sytuacji:', //cpg1.4
-  'online_repository_reason1' => 'Archiwum online jest obecnie nieczynne - sprawdź, czy możesz otworzyć tę stronę: %s - jeśli nie, spróbuj ponownie później.', //cpg1.4
-  'online_repository_reason2' => 'PHP na twoim serwerze ma wyłączoną opcję %s (domyślnie jest ona włączona). Jeśli jesteś administratorem tego serwera, włącz tę opcję w <i>php.ini</i> (lub chociaż pozwól na jej obejście poprzez %s). Jeśli dzierżawisz miejsce na serwerze, będziesz niestety musiał żyć z faktem, że nie jesteś w stanie porównać swoich plików z tymi, które są w archiwum Coppermine. Ta strona będzie zatem jedynie wyświetlać wersje plików, które zostały umieszczone w twojej dystrybucji - aktualizacje nie zostaną pokazane.', //cpg1.4
-  'online_repository_skipped' => 'Pomijam połączenie z archiwum online', //cpg1.4
-  'online_repository_to_local' => 'Skrypt uznaje za domyślne bieżące wersje plików na twoim serwerze. Dane mogą być błędne, jeśli aktualizowałeś Coppermine i nie przesłałeś wszystkich plików. Zmiany w plikach, które nastąpiły już po wypuszczeniu bieżącej wersji również nie będą brane pod uwagę.', //cpg1.4
-  'local_repository_unable' => 'Nie udało się połączyć z archiwum na twoim serwerze.', //cpg1.4
-  'local_repository_explanation' => 'Coppermine nie był w stanie połączyć się z plikiem %s z archiwum na twoim serwerze. Oznacza to prawdopodobnie, że nie przesłałeś tego pliku na serwer. Spróbuj wykonać to teraz i uruchomić tę stronę jeszcze raz (naciśnij "Odśwież").<br />Jeżeli skrypt nadal sobie nie będzie radził, może to oznaczać, że twój administrator serwera wyłączył niektóre <a href="http://www.php.net/manual/pl/ref.filesystem.php">funkcje systemu plików PHP</a>. W takim przypadku nie będziesz po prostu w stanie używać tego narzędzia, za co przepraszamy.', //cpg1.4
-  'coppermine_version_header' => 'Zainstalowana wersja Coppermine', //cpg1.4
-  'coppermine_version_info' => 'Masz obecnie zainstalowane: %s', //cpg1.4
-  'coppermine_version_explanation' => 'Jeśli uważasz, że jest to zupełne nieporozumienie, ponieważ masz uruchomioną wyższą wersję Coppermine, prawdopodobnie nie przesłałeś najnowszej wersji pliku <i>include/init.inc.php</i>', //cpg1.4
-  'version_comparison' => 'Porównanie wersji', //cpg1.4
-  'folder_file' => 'katalog/plik', //cpg1.4
-  'coppermine_version' => 'wersja cpg', //cpg1.4
-  'file_version' => 'wersja pliku', //cpg1.4
-  'webcvs' => 'web svn', //cpg1.4
-  'writable' => 'zapisywalny', //cpg1.4
-  'not_writable' => 'niezapisywalny', //cpg1.4
-  'help' => 'Pomoc', //cpg1.4
-  'help_file_not_exist_optional1' => 'plik/katalog nie istnieje', //cpg1.4
-  'help_file_not_exist_optional2' => 'Plik/katalog %s nie został znaleziony na twoim serwerze. Mimo, że nie jest to bezwzględnie wymagane, powinieneś go przesłać (za pomocą klienta FTP) na serwer, jeśli zauważyłeś problemy.', //cpg1.4
-  'help_file_not_exist_mandatory1' => 'plik/katalog nie istnieje', //cpg1.4
-  'help_file_not_exist_mandatory2' => 'Plik/katalog %s nie został znaleziony na twoim serserze, mimo że jest on wymagany. Prześlij ten plik na serwer (za pomocą klienta FTP).', //cpg1.4
-  'help_no_local_version1' => 'Brak lokalnej wersji pliku', //cpg1.4
-  'help_no_local_version2' => 'Skrypt nie był w stanie stwierdzić lokalnej wersji pliku - twój plik jest prawdopodobnie zupełnie nieaktualny, lub też zmodyfikowałeś go, usuwając z nagłówka informacje. Sugerujemy aktualizację tego pliku.', //cpg1.4
-  'help_local_version_outdated1' => 'Lokalna wersja przestarzała', //cpg1.4
-  'help_local_version_outdated2' => 'Twoja wersja tego pliku pochodzi prawdopodobnie ze starszej edycji Coppermine (prawdopodobnie uaktualniałeś). Upewnij się, że uaktualnisz również ten plik.', //cpg1.4
-  'help_local_version_na1' => 'Skrypt nie jest w stanie ustalić informacji o wersji cvs.', //cpg1.4
-  'help_local_version_na2' => 'Skrypt nie byłw stanie ustalić która wersja cvs pliku znajduje się na twoim serwerze. Powinieneś przesłać ten plik ze swojego pakietu.', //cpg1.4
-  'help_local_version_dev1' => 'Wersja rozwojowa', //cpg1.4
-  'help_local_version_dev2' => 'Plik na serwerze wydaje się być nowszy niż edycja Coppermine. Albo używasz wersji rozwojowej (powinieneś tak robić tylko mając pewność, że wiesz co robisz), albo też aktualizowałeś swoją instalację Coppermine i nie przesłałeś pliku include/init.inc.php', //cpg1.4
-  'help_not_writable1' => 'Nie można zapisywać w katalogu', //cpg1.4
-  'help_not_writable2' => 'Zmień uprawnienia katalogu (CHMOD) aby zapewnić skryptowi możliwość zapisu do katalogu %s.', //cpg1.4
-  'help_writable1' => 'Katalog ma prawa do zapisu', //cpg1.4
-  'help_writable2' => 'W katalogu %s można dokonywać zapisu. Jest to niepotrzebne ryzyko, coppermine potrzebuje jedynie prawa odczytu/wykonywania.', //cpg1.4
-  'help_writable_undetermined' => 'Coppermine nie był w stanie ustalić praw zapisu do katalogu.', //cpg1.4
-  'your_file' => 'twój plik', //cpg1.4
-  'reference_file' => 'plik wzorcowy', //cpg1.4
-  'summary' => 'Podsumowanie', //cpg1.4
-  'total' => 'Łączna liczba sprawdzonych plików/katalogów', //cpg1.4
-  'mandatory_files_missing' => 'Brakujące niezbędne pliki', //cpg1.4
-  'optional_files_missing' => 'Brakujące opcjonalne pliki', //cpg1.4
-  'files_from_older_version' => 'Pliki pozostałe ze starej wersji Coppermine', //cpg1.4
-  'file_version_outdated' => 'Nieaktualne wersje plików', //cpg1.4
-  'error_no_data' => 'Skrypt napotkał na błąd i nie był w stanie pobrać żadnych informacji. Przepraszamy za tę niedogodność.', //cpg1.4
-  'go_to_webcvs' => 'przejdź do %s', //cpg1.4
-  'options' => 'Opcje', //cpg1.4
-  'show_optional_files' => 'pokaż opcjonalne pliki/katalogi', //cpg1.4
-  'show_mandatory_files' => 'pokaż niezbędne pliki', //cpg1.4
-  'show_file_versions' => 'pokaż wersje plików', //cpg1.4
-  'show_errors_only' => 'pokaż tylko problematyczne pliki/katalogi', //cpg1.4
-  'show_permissions' => 'pokaż uprawnienia katalogów', //cpg1.4
-  'show_condensed_output' => 'pokaż informacje w formie skondensowanej (ułatwia zrzuty ekranu)', //cpg1.4
-  'coppermine_in_webroot' => 'coppermine jest zainstalowany w katalogu głównym', //cpg1.4
-  'connect_online_repository' => 'spróbuj połączyć się z archiwum online', //cpg1.4
-  'show_additional_information' => 'pokaż dodatkowe informacje', //cpg1.4
-  'no_webcvs_link' => 'nie wyświetlaj odnośnika do cvs', //cpg1.4
-  'stable_webcvs_link' => 'wyświetl odnośnik cvs do stabilnej gałęzi', //cpg1.4
-  'devel_webcvs_link' => 'wyświetl odnośnik cvs do rozwojowej gałęzi', //cpg1.4
-  'submit' => 'zastosuj zmiany / odśwież', //cpg1.4
-  'reset_to_defaults' => 'ustaw domyślne wartości', //cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File view_log.php  //cpg1.4
-// ------------------------------------------------------------------------- //
-
-if (defined('VIEWLOG_PHP')) $lang_viewlog_php = array(
-  'delete_all' => 'Usuń wszystkie logi', //cpg1.4
-  'delete_this' => 'Usuń ten log', //cpg1.4
-  'view_logs' => 'Pokaż logi', //cpg1.4
-  'no_logs' => 'Brak logów.', //cpg1.4
-);
-
-
-// ------------------------------------------------------------------------- //
-// File xp_publish.php //cpg1.4
-// ------------------------------------------------------------------------- //
-
-if (defined('XP_PUBLISH_PHP')) {
-
-$lang_xp_publish_client = <<<EOT
-<h1>Kreator Publikacji w Sieci Web</h1><p>Ten moduł pozwala używać kreatora publikacji w sieci web systemu <b>Windows XP</b> z galerią Coppermine.</p><p>Kod jest oparty na artykule napisanym przez
-EOT;
-
-$lang_xp_publish_required = <<<EOT
-<h2>Wymagania</h2><ul><li>Windows XP, żeby w ogóle mieć kreatora.</li><li>Działająca instalacja Coppermine <b>z działającą funkcją przesyłania plików.</b></li></ul><h2>Jak zainstalować kreatora na komputerze</h2><ul><li>Kliknij prawym 
-EOT;
-
-$lang_xp_publish_select = <<<EOT
-Wybierz &quot;zapisz jako...&quot;. Zapisz plik na dysku twardym. Przy zapisie zwróć uwagę, żeby nazwa pliku miała postać <b>cpg_###.reg</b> ( ### oznacza liczbową sygnaturę czasową). Zmień nazwę jeśli zajdzie taka potrzeba (ale zostaw numery). Kiedy skończysz pobieranie, kliknij dwa razy na pliku w celu zarejestrowania swojego serwera w kreatorze sieci web.</li></ul>
-EOT;
-
-$lang_xp_publish_testing = <<<EOT
-<h2>Testowanie</h2><ul><li>W Eksploratorze Windows wybierz kilka plików i kliknij na <b>Opublikuj xxx w sieci web</b> w lewym panelu.</li><li>Potwierdź wybór plików. Kliknij <b>Dalej</b>.</li><li>Na liście usługodawców wybierz tę pozycję, któa odpowiada twojej galerii (ma nazwę twojej galerii). Jeśli usługa się nie pojawia, sprawdź, czy zainstalowałeś <b>cpg_pub_wizard.reg</b> jak podano wyżej.</li><li>Wpisz swoje informacje logowania jeśli zostaniesz o nie poproszony.</li><li>Wybierz docelowy album dla swoich zdjęć lub utwórz nowy.</li><li>Kliknij <b>dalej</b>. Rozpocznie się przesyłanie twoich obrazów.</li><li>Kiedy się skończy, sprawdź w galerii, czy obrazy zostały poprawnie dodane.</li></ul>
-EOT;
-
-$lang_xp_publish_notes = <<<EOT
-<h2>Uwagi :</h2><ul><li>Po rozpoczęciu wysyłki kreator nie jest w stanie wyświetlić żadnych komunikatów o błędach zwracanych przez skrypt, więc nie będziesz wiedzieć, czy wysyłka się powiodła, dopóki nie zajrzysz do galerii.</li><li>Jeżeli przesyłka się nie powiedzie, włącz &quot;tryb debugowania&quot; na stronie administracji Coppermine, spróbuj przesłać jeden obraz i sprawdź komunikat o błędzie w
-EOT;
-
-$lang_xp_publish_flood = <<<EOT
-pliku, który jest umieszczony w katalogu Coppermine na twoim serwerze.</li><li>W celu uniknięcia zalania galerii obrazami wysyłanymi poprzez kreator, jedynie <b>administratorzy galerii</b> i <b>użytkownicy mający własne albumy</b> mogą użyć tego narzędzia.</li>
-EOT;
-
-
-
-$lang_xp_publish_php = array(
-  'title' => 'Coppermine - Kreator publikacji w sieci web', //cpg1.4
-  'welcome' => 'Witaj, <b>%s</b>,', //cpg1.4
-  'need_login' => 'Musisz zalogować się w galerii za pomocą przeglądarki zanim będziesz mógł użyć tego kreatora.<p/><p>Kiedy będziesz się logować, nie zapomnij ustawić opcji <b>Pamiętaj mnie</b> jeśli jest dostępna.', //cpg1.4
-  'no_alb' => 'Niestety nie ma albumu, do którego miałbyś prawo wysyłania plików za pomocą tego kreatora.', //cpg1.4
-  'upload' => 'Prześlij obrazy do istniejącego albumu', //cpg1.4
-  'create_new' => 'Utwórz nowy album dla swoich obrazów', //cpg1.4
-  'album' => 'Album', //cpg1.4
-  'category' => 'Kategoria', //cpg1.4
-  'new_alb_created' => 'Twój nowy album &quot;<b>%s</b>&quot; został utworzony.', //cpg1.4
-  'continue' => 'Naciśnij &quot;Dalej&quot; aby rozpocząć przesyłanie obrazów', //cpg1.4
-  'link' => 'ten odnośnik', //cpg1.4
-);
-}
-?>
+<?php
+/*************************
+Coppermine Photo Gallery
+************************
+Copyright (c) 2003-2009 Coppermine Dev Team
+v1.1 originally written by Gregory DEMAR
+
+This program is free software; you can redistribute it and/or modify
+it under the terms of the GNU General Public License version 3
+as published by the Free Software Foundation.
+
+********************************************
+Coppermine version: 1.4.25
+$HeadURL: https://coppermine.svn.sourceforge.net/svnroot/coppermine/trunk/cpg1.4.x/lang/polish.php $
+$Revision: 5997 $
+$Author: gaugau $
+$Date: 2009-05-26 08:43:24 +0200 (Di, 26 Mai 2009) $
+**********************************************/
+// ------------------------------------------------------------------------- //
+// $Id: polish.php 5997 2009-05-26 06:43:24Z gaugau $
+// ------------------------------------------------------------------------- //
+
+$lang_translation_info = array(
+  'lang_name_english' => 'Polish',
+  'lang_name_native' => 'Polski',
+  'lang_country_code' => 'pl',
+  'trans_name'=> 'Radosław Pawłowski, Bartłomiej Szczudło, Jacek Domoń',
+  'trans_email' => 'b.szczudlo@doomni.net',
+  'trans_email2' => 'ilovemycity@tlen.pl',
+  'trans_email3' => 'plusz@plusz.net',
+  'trans_website' => 'http://www.toruniak.prv.pl',
+  'trans_website2' => 'http://klugg.ath.cx',
+  'trans_website3' => 'http://www.plusz.net',
+  'trans_date' => '2005-12-15',
+  'trans_date2' => '2006-01-30',
+  'trans_date3' => '2006-06-16',
+  );
+
+$lang_charset = 'utf-8';
+$lang_text_dir = 'ltr'; // ('ltr' for left to right, 'rtl' for right to left)
+
+// shortcuts for Byte, Kilo, Mega
+$lang_byte_units = array('Bajtów', 'KB', 'MB');
+
+// Day of weeks and months
+$lang_day_of_week = array('Nd', 'Pn', 'Wt', 'Śr', 'Czw', 'Pt', 'Sob');
+$lang_month = array('stycznia', 'lutego', 'marca', 'kwietnia', 'maja', 'czerwca', 'lipca', 'sierpnia', 'września', 'października', 'listopada', 'grudnia');
+
+// Some common strings
+$lang_yes = 'Tak';
+$lang_no  = 'Nie';
+$lang_back = 'Wstecz';
+$lang_continue = 'Kontynuuj';
+$lang_info = 'Informacje';
+$lang_error = 'Błąd';
+$lang_check_uncheck_all = 'Zaznacz/Odznacz wszystko'; //cpg1.4
+
+// The various date formats
+// See http://www.php.net/manual/en/function.strftime.php to define the variable below
+$album_date_fmt =    '%d %B %Y';
+$lastcom_date_fmt =  '%d/%m/%y,  %H:%M';
+$lastup_date_fmt = '%d %B %Y';
+$register_date_fmt = '%d %B %Y';
+$lasthit_date_fmt = '%d %B %Y, %H:%M';
+$comment_date_fmt =  '%d %B %Y, %H:%M';
+$log_date_fmt = '%d %B %Y, %H:%M'; //cpg1.4
+
+// For the word censor
+$lang_bad_words = array('*fuck*', 'asshole', 'assramer', 'bitch*', 'c0ck', 
+  'clits', 'Cock', 'cum', 'cunt*', 'dago', 'daygo', 'dego', 'dick*', 'dildo', 
+  'fanculo', 'feces', 'foreskin', 'Fu\(*', 'fuk*', 'honkey', 'hore', 'injun', 
+  'kike', 'lesbo', 'masturbat*', 'motherfucker', 'nazis', 'nigger*', 'nutsack', 
+  'penis', 'phuck', 'poop', 'pussy', 'scrotum', 'shit', 'slut', 'titties', 
+  'titty', 'twaty', 'wank*', 'whore', 'wop*',
+  '*chuj*', '*jebi*', '*cipa', '*pierdol*', '*jeba*'
+  );
+
+$lang_meta_album_names = array(
+  'random' => 'Losowo',
+  'lastup' => 'Ostatnio dodane',
+  'lastalb'=> 'Ostatnie albumy',
+  'lastcom' => 'Komentarze',
+  'topn' => 'Najczęściej oglądane',
+  'toprated' => 'Najwyżej oceniane',
+  'lasthits' => 'Ostatnio oglądane',
+  'search' => 'Szukaj',
+  'favpics'=> 'Ulubione',  //cpg1.4
+);
+
+$lang_errors = array(
+  'access_denied' => 'Nie masz uprawnień aby oglądać tę stronę.',
+  'perm_denied' => 'Nie masz uprawnień aby wykonać tę operację.',
+  'param_missing' => 'Skrypt został wywołany bez wymaganego parametru.',
+  'non_exist_ap' => 'Wybrany plik lub album nie istnieje!',
+  'quota_exceeded' => 'Przekroczono limit miejsca. <br /><br />Twój przydział: [quota]K, Twoje pliki używają obecnie: [space]K. Dodanie wybranego pliku spowoduje przekroczenie limitu.', //cpg1.3.0
+  'gd_file_type_err' => 'Jeżeli w użyciu jest biblioteka GD, dozwolone formaty zdjęć to wyłącznie JPEG i PNG.',
+  'invalid_image' => 'Zdjęcie które przesłano nie może być obsłużone przez bibliotekę GD.',
+  'resize_failed' => 'Nie można stworzyć miniatury lub zdjęcia pośredniego.',  
+  'no_img_to_display' => 'Brak pliku do wyświetlenia',
+  'non_exist_cat' => 'Wybrana kategoria nie istnieje',
+  'orphan_cat' => 'Kategoria nie ma gałęzi nadrzędnej, uruchom menedżera kategorii aby rozwiązać ten problem.', //cpg1.3.0
+  'directory_ro' => 'Katalog \'%s\' jest zabezpieczony przed zapisem. Pliki nie mogą być skasowane.', //cpg1.3.0
+  'non_exist_comment' => 'Wybrany komentarz nie istnieje.',
+  'pic_in_invalid_album' => 'Plik znajduje się w nieistniejącym albumie (%s)!?', //cpg1.3.0
+  'banned' => 'Twój dostęp do strony jest obecnie zablokowany.',
+  'not_with_udb' => 'Wybrana funkcja nie jest dostępna, ponieważ jest zintegrowana z oprogramowaniem forum. Czynność którą chcesz wykonać nie jest wspierana w tej konfiguracji, bądź powinna być obsłużona przez oprogramowanie forum.',
+  'offline_title' => 'Offline', //cpg1.3.0
+  'offline_text' => 'Galeria jest obecnie wyłączona - spróbuj ponownie później', //cpg1.3.0
+  'ecards_empty' => 'Nie ma obecnie żadnych zapisów dotyczących e-kartek. Sprawdź, czy włączyłeś logowanie e-kartek w konfiguracji Coppermine!', //cpg1.3.0
+  'action_failed' => 'Działanie nie powiodło się. Coppermine nie może przetworzyć Twojego żądania.', //cpg1.3.0
+  'no_zip' => 'Biblioteki do obsługi archiwów ZIP nie są obecnie dostępne. Skontaktuj się z administratorem Coppermine.', //cpg1.3.0
+  'zip_type' => 'Nie masz uprawnień by przesyłać archiwa ZIP.', //cpg1.3.0
+  'database_query' => 'Wystąpił błąd podczas przetwarzania bazy danych', //cpg1.4
+  'register_globals_on' => 'The PHP setting register_globals is enabled on your server, which is a bad idea in terms of security. It\'s strongly recommended to turn it off. [<a href="http://forum.coppermine-gallery.net/index.php/topic,59569.0.html" rel="external" class="external">more</a>]',
+);
+
+$lang_bbcode_help_title = 'Pomoc - bbcode'; //cpg1.4
+$lang_bbcode_help = 'Możesz użyć następujących kodów: <li>[b]Pogrubienie[/b] =&gt; <b>Pogrubienie</b></li><li>[i]Kursywa[/i] =&gt; <i>Kursywa</i></li><li>[url=http://twojastrona.com/]Adres URL[/url] =&gt; <a href="http://twojastrona.com">Tekst URL</a></li><li>[email]uzytkownik@domena.com[/email] =&gt; <a href="mailto:uzytkownik@domena.com">uzytkownik@domena.com</a></li><li>[color=red]kolorowy tekst[/color] =&gt; <span style="color:red">kolorowy tekst</span></li><li>[img]http://coppermine-gallery.net/demo/cpg14x/images/red.gif[/img] => <img src="../images/red.gif" border="0" alt="" /></li>'; //cpg1.4
+
+// ------------------------------------------------------------------------- //
+// File theme.php
+// ------------------------------------------------------------------------- //
+
+$lang_main_menu = array(
+  'home_title' => 'Idź do strony głównej',
+  'home_lnk' => 'Strona główna',
+  'alb_list_title' => 'Idź do listy albumów',
+  'alb_list_lnk' => 'Lista albumów',
+  'my_gal_title' => 'Idź do Moje Albumy',
+  'my_gal_lnk' => 'Moje albumy',
+  'my_prof_title' => 'Przeglądaj swój profil', //cpg1.4
+  'my_prof_lnk' => 'Mój profil',
+  'adm_mode_title' => 'Przełącz do trybu Administratora',
+  'adm_mode_lnk' => 'Tryb Administratora',
+  'usr_mode_title' => 'Przełącz na tryb użytkownika',
+  'usr_mode_lnk' => 'Tryb użytkownika',
+  'upload_pic_title' => 'Dodaj pliki do albumów',
+  'upload_pic_lnk' => 'Dodaj pliki',
+  'register_title' => 'Utwórz nowe konto',
+  'register_lnk' => 'Zarejestruj się',
+  'login_title' => 'Zaloguj mnie', //cpg1.4
+  'login_lnk' => 'Zaloguj się',
+  'logout_title' => 'Wyloguj mnie', //cpg1.4
+  'logout_lnk' => 'Wyloguj',
+  'lastup_title' => 'Pokaż ostatnio dodane pliki', //cpg1.4
+  'lastup_lnk' => 'Ostatnio przesłane',
+  'lastcom_title' => 'Pokaż ostatnio dodane komentarze', //cpg1.4
+  'lastcom_lnk' => 'Komentarze',
+  'topn_title' => 'Pokaż najpopularniejsze pliki', //cpg1.4
+  'topn_lnk' => 'Popularne',
+  'toprated_title' => 'Pokaż najwyżej oceniane pliki', //cpg1.4
+  'toprated_lnk' => 'Najlepiej oceniane',
+  'search_title' => 'Przeszukaj galerię', //cpg1.4
+  'search_lnk' => 'Szukaj',
+  'fav_title' => 'Idź do ulubionych', //cpg1.4
+  'fav_lnk' => 'Ulubione',
+  'memberlist_title' => 'Członkowie galerii',
+  'memberlist_lnk' => 'Członkowie galerii',
+  'faq_title' => 'Najczęściej zadawane pytania w galerii &quot;Coppermine&quot;',
+  'faq_lnk' => 'FAQ',
+);
+
+$lang_gallery_admin_menu = array(
+  'upl_app_title' => 'Akceptuj przesłane pliki', //cpg1.4
+  'upl_app_lnk' => 'Akceptuj przesłane pliki',
+  'admin_title' => 'Ustawienia galerii', //cpg1.4
+  'admin_lnk' => 'Ustawienia', //cpg1.4
+  'albums_title' => 'Zarządzaj albumami', //cpg1.4
+  'albums_lnk' => 'Albumy',
+  'categories_title' => 'Zarządzaj kategoriami', //cpg1.4
+  'categories_lnk' => 'Kategorie',
+  'users_title' => 'Zarządzaj użytkownikami', //cpg1.4
+  'users_lnk' => 'Użytkownicy',
+  'groups_title' => 'Ustawienia grup', //cpg1.4
+  'groups_lnk' => 'Grupy',
+  'comments_title' => 'Przeglądaj wszystkie komentarze', //cpg1.4
+  'comments_lnk' => 'Komentarze',
+  'searchnew_title' => 'Wsadowe dodawanie plików', //cpg1.4
+  'searchnew_lnk' => 'Wsadowe dodawanie plików',
+  'util_title' => 'Zarządzaj poprzez narzędzia Administratora', //cpg1.4
+  'util_lnk' => 'Narzędzia Administratora',
+  'key_title' => 'Słownik kluczowych słów', //cpg1.4
+  'key_lnk' => 'Słowa kluczowe', //cpg1.4
+  'ban_title' => 'Blokowanie użytkowników', //cpg1.4
+  'ban_lnk' => 'Blokowanie',
+  'db_ecard_title' => 'Przejrzyj e-kartki', //cpg1.4
+  'db_ecard_lnk' => 'e-kartki',
+  'pictures_title' => 'Posortuj zdjęcia w albumach', //cpg1.4
+  'pictures_lnk' => 'Sortowanie zdjęć', //cpg1.4
+  'documentation_lnk' => 'Dokumentacja', //cpg1.4
+  'documentation_title' => 'Dokumentacja galerii', //cpg1.4
+);
+
+$lang_user_admin_menu = array(
+  'albmgr_title' => 'Utwórz i uporządkuj moje albumy', //cpg1.4
+  'albmgr_lnk' => 'Utwórz / Uporządkuj moje albumy',
+  'modifyalb_title' => 'Modyfikuj moje albumy',  //cpg1.4
+  'modifyalb_lnk' => 'Modyfikacja albumów',
+  'my_prof_title' => 'Zobacz mój profil', //cpg1.4
+  'my_prof_lnk' => 'Mój profil',
+);
+
+$lang_cat_list = array(
+  'category' => 'Kategorie',
+  'albums' => 'Albumy',
+  'pictures' => 'Pliki',
+);
+
+$lang_album_list = array(
+  'album_on_page' => ' albumów: %d stron: %d',
+);
+
+$lang_thumb_view = array(
+  'date' => 'Data',
+  //Sort by filename and title
+  'name' => 'Nazwa pliku',
+  'title' => 'Tytuł',
+  'sort_da' => 'Sortuj według daty rosnąco',
+  'sort_dd' => 'Sortuj według daty malejąco',
+  'sort_na' => 'Sortuj według nazwy rosnąco',
+  'sort_nd' => 'Sortuj według nazwy malejąco',
+  'sort_ta' => 'Sortuj według tytułu rosnąco',
+  'sort_td' => 'Sortuj według tytułu malejąco',
+  'position' => 'POZYCJA', //cpg1.4
+  'sort_pa' => 'Sortuj według pozycji rosnąco', //cpg1.4
+  'sort_pd' => 'Sortuj według pozycji malejąco', //cpg1.4
+  'download_zip' => 'Pobierz jako plik ZIP',
+  'pic_on_page' => 'plików: %d, stron: %d',
+  'user_on_page' => '%d użytkowników na %d stronie (stronach)',
+  'enter_alb_pass' => 'Wpisz hasło do albumy', //cpg1.4
+  'invalid_pass' => 'Nieprawidłowe hasło', //cpg1.4
+  'pass' => 'Hasło', //cpg1.4
+  'submit' => 'Akceptuj', //cpg1.4
+);
+
+$lang_img_nav_bar = array(
+  'thumb_title' => 'Powrót do widoku miniatur',
+  'pic_info_title' => 'Pokaż/Ukryj informację o plikach',
+  'slideshow_title' => 'Pokaz Slajdów',
+  'ecard_title' => 'Wyślij ten plik jako e-kartkę',
+  'ecard_disabled' => 'Wysyłanie e-kartek jest zablokowane.',
+  'ecard_disabled_msg' => 'Nie masz uprawnień do wysyłania e-kartek.', //js-alert
+  'prev_title' => 'Zobacz poprzedni plik',
+  'next_title' => 'Zobacz następny plik',
+  'pic_pos' => 'Plik %s/%s',
+  'report_title' => 'Zgłoś ten plik do administratora', //cpg1.4
+  'go_album_end' => 'Idź na koniec', //cpg1.4
+  'go_album_start' => 'Idź do początku', //cpg1.4
+  'go_back_x_items' => 'Wstecz o %s', //cpg1.4
+  'go_forward_x_items' => 'Do przodu o %s', //cpg1.4
+);
+
+$lang_rate_pic = array(
+  'rate_this_pic' => 'Oceń ten plik ',
+  'no_votes' => '(Jeszcze nie głosowano)',
+  'rating' => '(Aktualna ocena : %s / 5 przy ilości głosów: %s)',
+  'rubbish' => 'Wyczyść',
+  'poor' => 'Słabe',
+  'fair' => 'Znośne',
+  'good' => 'Dobre',
+  'excellent' => 'Doskonałe',
+  'great' => 'Świetne',
+);
+
+// ------------------------------------------------------------------------- //
+// File include/exif.inc.php
+// ------------------------------------------------------------------------- //
+
+// void
+
+// ------------------------------------------------------------------------- //
+// File include/functions.inc.php
+// ------------------------------------------------------------------------- //
+
+$lang_cpg_die = array(
+  INFORMATION => $lang_info,
+  ERROR => $lang_error,
+  CRITICAL_ERROR => 'Błąd krytyczny',
+  'file' => 'Plik: ',
+  'line' => 'Linia: ',
+);
+
+$lang_display_thumbnails = array(
+  'filename' => 'Nazwa pliku=', //cpg1.4
+  'filesize' => 'Rozmiar=', //cpg1.4
+  'dimensions' => 'Rozmiar=', //cpg1.4
+  'date_added' => 'Data dodania=', //cpg1.4
+);
+
+$lang_get_pic_data = array(
+  'n_comments' => '%s komentarzy',
+  'n_views' => '%s odsłon',
+  'n_votes' => '(%s głosów)',
+);
+
+$lang_cpg_debug_output = array(
+  'debug_info' => 'Informacje o błędach',
+  'select_all' => 'Zaznacz wszystko',
+  'copy_and_paste_instructions' => 'Aby otrzymać pomoc na forum wsparcia technicznego coppermine, skopiuj i wklej te informacje debuggera do swojego postu. Pamiętaj aby zastąpić wszelkie hasła ciągiem ***, przed zamieszczeniem postu.', //cpg1.4
+  'phpinfo' => 'Wyświetl PHPinfo',
+  'notices' => 'Uwagi', //cpg1.4
+);
+
+$lang_language_selection = array(
+  'reset_language' => 'Domyślny język',
+  'choose_language' => 'Wybierz język',
+);
+
+$lang_theme_selection = array(
+  'reset_theme' => 'Domyślny motyw',
+  'choose_theme' => 'Wybierz motyw',
+);
+
+$lang_version_alert = array(
+  'version_alert' => 'Nieobsługiwana wersja!', //cpg1.4
+  'no_stable_version' => 'Uruchomiona została galeria Coppermine %s (%s), która jest przeznaczona jedynie dla bardzo zaawansowanych użytkowników - ta wersja nie ma wsparcia technicznego oraz gwarancji. Używasz jej na własne ryzyko. Jeśli potrzebujesz wsparcia technicznego, zainstaluj starszą, stabilną wersję!', //cpg1.4
+  'gallery_offline' => 'Galeria jest w tym momencie wyłączona i będzie dostępna wyłącznie dla Ciebie jako Administratora. Nie zapomnij włączyć galerii po dokonaniu niezbędnych zmian', //cpg1.4
+);
+
+$lang_create_tabs = array(
+  'previous' => 'Wstecz', //cpg1.4
+  'next' => 'Dalej', //cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File include/init.inc.php
+// ------------------------------------------------------------------------- //
+
+// void
+
+// ------------------------------------------------------------------------- //
+// File keyword.inc.php                                                      //
+// ------------------------------------------------------------------------- //
+
+// void
+
+// ------------------------------------------------------------------------- //
+// File include/picmgmt.inc.php
+// ------------------------------------------------------------------------- //
+
+// void
+
+// ------------------------------------------------------------------------- //
+// File include/plugin_api.inc.php
+// ------------------------------------------------------------------------- //
+$lang_plugin_api = array(
+  'error_wakeup' => "Nie można uruchomić plugina '%s'", //cpg1.4
+  'error_install' => "Nie można zainstalować plugina '%s'", //cpg1.4
+  'error_uninstall' => "Nie można odinstalować plugina '%s'", //cpg1.4
+  'error_sleep' => "Nie można odinstalować plugina '%s'<br />", //cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File include/smilies.inc.php
+// ------------------------------------------------------------------------- //
+
+if (defined('SMILIES_PHP')) $lang_smilies_inc_php = array(
+  'Exclamation' => 'Okrzyk',
+  'Question' => 'Pytanie',
+  'Very Happy' => 'Bardzo szczęśliwy',
+  'Smile' => 'Uśmiech',
+  'Sad' => 'Smutek',
+  'Surprised' => 'Zaskoczony',
+  'Shocked' => 'Zszokowany',
+  'Confused' => 'Zakręcony',
+  'Cool' => 'Cool',
+  'Laughing' => 'Śmiech',
+  'Mad' => 'Zły',
+  'Razz' => 'Nabijam się',
+  'Embarassed' => 'Zawstydzony',
+  'Crying or Very sad' => 'Płaczę, jest mi bardzo smutno',
+  'Evil or Very Mad' => 'Bardzo zły',
+  'Twisted Evil' => 'Zakręcony diabełek',
+  'Rolling Eyes' => 'Przewracanie oczami',
+  'Wink' => 'Puszczać oczko',
+  'Idea' => 'Pomysł',
+  'Arrow' => 'Strzałka',
+  'Neutral' => 'Neutralny',
+  'Mr. Green' => 'Zielony',
+);
+
+// ------------------------------------------------------------------------- //
+// File addpic.php
+// ------------------------------------------------------------------------- //
+
+// void
+
+// ------------------------------------------------------------------------- //
+// File mode.php //cpg1.4
+// ------------------------------------------------------------------------- //
+
+if (defined('MODE_PHP')) $lang_mode_php = array(
+  0 => 'Wychodzisz z trybu Administratora...',
+  1 => 'Wchodzisz w tryb Administratora...',
+);
+
+// ------------------------------------------------------------------------- //
+// File albmgr.php
+// ------------------------------------------------------------------------- //
+
+if (defined('ALBMGR_PHP')) $lang_albmgr_php = array(
+  'alb_need_name' => 'Album musi mieć nazwę!', //js-alert
+  'confirm_modifs' => 'Jesteś pewien, że chcesz dokonać tych zmian?', //js-alert
+  'no_change' => 'Nie dokonałeś żadnych zmian!', //js-alert
+  'new_album' => 'Nowy album',
+  'confirm_delete1' => 'Jesteś pewien, że chcesz dokonać usunięcia?', //js-alert
+  'confirm_delete2' => '\nWszystkie pliki i komentarze również zostaną usunięte!', //js-alert
+  'select_first' => 'Najpierw wybierz album', //js-alert
+  'alb_mrg' => 'Menedżer albumów',
+  'my_gallery' => '* Moja galeria *',
+  'no_category' => '* Brak kategorii *',
+  'delete' => 'Usuń',
+  'new' => 'Nowy',
+  'apply_modifs' => 'Zastosuj zmiany',
+  'select_category' => 'Wybierz kategorię',
+);
+
+// ------------------------------------------------------------------------- //
+// File banning.php
+// ------------------------------------------------------------------------- //
+
+if (defined('BANNING_PHP')) $lang_banning_php = array(
+  'title' => 'Blokuj użytkowników', //cpg1.4
+  'user_name' => 'Nazwa', //cpg1.4
+  'ip_address' => 'Adres IP', //cpg1.4
+  'expiry' => 'Wygasa (zostaw puste jeśli nigdy)', //cpg1.4
+  'edit_ban' => 'Zapisz zmiany', //cpg1.4
+  'delete_ban' => 'Usuń', //cpg1.4
+  'add_new' => 'Dodaj nowy zakaz', //cpg1.4
+  'add_ban' => 'Dodaj', //cpg1.4
+  'error_user' => 'Nie można znaleźć użytkownika', //cpg1.4
+  'error_specify' => 'Musisz określić nazwę lub IP użytkownika', //cpg1.4
+  'error_ban_id' => 'Złe ID zakazu!', //cpg1.4
+  'error_admin_ban' => 'Nie możesz blokować siebie!', //cpg1.4
+  'error_server_ban' => 'Zamierzasz zablokować swój własny serwer? Nie można tego dokonać...', //cpg1.4
+  'error_ip_forbidden' => 'Nie możesz zablokować tego IP - jest nierutowalny!<br />Jeśli chcesz zezwalać na blokowanie prywatnych IP, zmień to w <a href="admin.php">Ustawieniach Galerii</a>).', //cpg1.4
+  'lookup_ip' => 'Szukaj adresu IP', //cpg1.4
+  'submit' => 'Dalej!', //cpg1.4
+  'select_date' => 'Wybierz datę', //cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File bridgemgr.php //cpg1.4
+// ------------------------------------------------------------------------- //
+
+if (defined('BRIDGEMGR_PHP')) $lang_bridgemgr_php = array(
+  'title' => 'Kreator integracji',
+  'warning' => 'Uwaga: używając tego kreatora musisz brać pod uwagę fakt, że niektóre istotne dane są przesyłane jako treść formularzy html. Uruchom go tylko na swoim własnym komputerze (nie na publicznym, np. w kafejce) i nie zapomnij wyczyścić pamięci podręcznej przeglądarki oraz plików tymczasowych po zakończeniu pracy, w przeciwnym przypadku postronne osoby mogą uzyskać dostęp do twoich danych!',
+  'back' => 'wstecz',
+  'next' => 'dalej',
+  'start_wizard' => 'Rozpocznij kreatora integracji',
+  'finish' => 'Zakończ',
+  'hide_unused_fields' => 'ukryj nieużywane pola formularza (rekomendowane)',
+  'clear_unused_db_fields' => 'ukryj niewłaściwe wpisy w bazie danych (rekomendowane)',
+  'custom_bridge_file' => 'nazwa twojego spersonalizowanego pliku połączenia (jeśli nazwa pliku połączenia to <i>myfile.inc.php</i>, wpisz <i>myfile</i> do tego pola)',
+  'no_action_needed' => 'W tym kroku wystarczy kliknąć \'dalej\' aby kontynuować.',
+  'reset_to_default' => 'Przywróć wartość domyślną',
+  'choose_bbs_app' => 'wybierz instalację z którą chcesz zintegrować galerię coppermine',
+  'support_url' => 'Przejdź tutaj aby uzyskać wsparcie dotyczące tej aplikacji',
+  'settings_path' => 'ścieżka(ścieżki) używane przez twoją instalację BBS',
+  'database_connection' => 'połączenie do bazy danych',
+  'database_tables' => 'tabele bazy danych',
+  'bbs_groups' => 'grupy BBS',
+  'license_number' => 'Numer licencji',
+  'license_number_explanation' => 'wprowadź numer licencji (jeśli to konieczne)',
+  'db_database_name' => 'Nazwa bazy danych',
+  'db_database_name_explanation' => 'Wprowadź nazwę bazy danych, z której korzysta Twoja aplikacja BBS',
+  'db_hostname' => 'Host bazy danych',
+  'db_hostname_explanation' => 'Nazwa komputera na którym zainstalowano twoją bazę danych mySQL, zazwyczaj: &quot;localhost&quot;',
+  'db_username' => 'Użytkownik bazy danych',
+  'db_username_explanation' => 'nazwa użytkownika bazy mySQL używane do połączenia z BBS',
+  'db_password' => 'Hasło bazy danych',
+  'db_password_explanation' => 'Hasło dla wybranego użytkownika bazy danych mySQL',
+  'full_forum_url' => 'Adres URL forum',
+  'full_forum_url_explanation' => 'Pełny adres URL Twojej instalacji BBS (włączając http:// bit, np. http://www.twojadomena.com/forum)',
+  'relative_path_of_forum_from_webroot' => 'Ścieżka względna do forum',
+  'relative_path_of_forum_from_webroot_explanation' => 'Ścieżka względna do Twojej aplikacji BBS z katalogu webroot (Przykład: jeśli Twój BBS jest zlokalizowany pod adresem http://www.twojadomena.com/forum/, wpisz &quot;/forum/&quot; w to pole)',
+  'relative_path_to_config_file' => 'Ścieżka względna do pliku konfiguracyjnego Twojego BBS',
+  'relative_path_to_config_file_explanation' => 'Ścieżka względna do Twojej instalacji BBS, widziana z katalogu Twojej instalacji Coppermine (np. &quot;../forum/&quot; jeśli Twój BBS znajduje się pod adresem http://www.twojadomena.com/forum/ a galeria Coppermine pod adresem http://www.twojadomena.com/galeria/)',
+  'cookie_prefix' => 'Prefiks Cookie',
+  'cookie_prefix_explanation' => 'musi być to nazwa identyczna z nazwą Cookie generowaną przez Twoją instalację BBS',
+  'table_prefix' => 'Prefiks tabeli',
+  'table_prefix_explanation' => 'Musi być to nazwa zgodna z prefiksem jaki wybrałeś podczas konfiguracji BBS.',
+  'user_table' => 'Tabela użytkowników',
+  'user_table_explanation' => '(zazwyczaj wartość domyślna powinna być poprawna, chyba, że Twoja instalacja BBS jest niestandardowa)',
+  'session_table' => 'Tabela sesji',
+  'session_table_explanation' => '(zazwyczaj wartość domyślna powinna być poprawna, chyba, że Twoja instalacja BBS jest niestandardowa)',
+  'group_table' => 'Tabela grup',
+  'group_table_explanation' => '(zazwyczaj wartość domyślna powinna być poprawna, chyba, że Twoja instalacja BBS jest niestandardowa)',
+  'group_relation_table' => 'Tabela relacji grup',
+  'group_relation_table_explanation' => '(zazwyczaj wartość domyślna powinna być poprawna, chyba, że Twoja instalacja BBS jest niestandardowa)',
+  'group_mapping_table' => 'Tabela mapowania grup',
+  'group_mapping_table_explanation' => '(zazwyczaj wartość domyślna powinna być poprawna, chyba, że Twoja instalacja BBS jest niestandardowa)',
+  'use_standard_groups' => 'Użyj standardowych grup użytkowników BBS',
+  'use_standard_groups_explanation' => 'Użyj standardowych (wbudowanych) grup użytkowników (rekomendowane). To sprawi że wszystkie spersonalizowane grupy użytkowników na tej stronie zostaną pominięte. Wyłącz tę opcję TYLKO jeśli naprawdę wiesz co robisz!',
+  'validating_group' => 'Grupa walidacyjna',
+  'validating_group_explanation' => 'ID grupy w której znajdują się konta użytkowników wymagające walidacji (zazwyczaj wartość domyślna powinna być poprawna, chyba, że Twoja instalacja BBS jest niestandardowa)',
+  'guest_group' => 'Grupa gości',
+  'guest_group_explanation' => 'ID grupy w której znajdują się goście (użytkownicy anonimowi) (zazwyczaj wartość domyślna powinna być poprawna, chyba, że Twoja instalacja BBS jest niestandardowa)',
+  'member_group' => 'Grupa członków',
+  'member_group_explanation' => 'ID grupy w której znajdują się konta &quot;zwykłych&quot; użytkowników (zazwyczaj wartość domyślna powinna być poprawna, chyba, że Twoja instalacja BBS jest niestandardowa)',
+  'admin_group' => 'Grupa adminów',
+  'admin_group_explanation' => ' ID grupy w której znajdują się konta administratorów (zazwyczaj wartość domyślna powinna być poprawna, chyba, że Twoja instalacja BBS jest niestandardowa)',
+  'banned_group' => 'Grupa zabronionych',
+  'banned_group_explanation' => 'ID grupy w której znajdują się konta użytkowników zabronionych (zazwyczaj wartość domyślna powinna być poprawna, chyba, że Twoja instalacja BBS jest niestandardowa)',
+  'global_moderators_group' => 'Grupa globalnych moderatorów',
+  'global_moderators_group_explanation' => 'ID grupy w której znajdują się konta globalnych moderatorów BBS (zazwyczaj wartość domyślna powinna być poprawna, chyba, że Twoja instalacja BBS jest niestandardowa)',
+  'special_settings' => 'specyficzne ustawienia BBS',
+  'logout_flag' => 'wersja phpBB (logout flag)',
+  'logout_flag_explanation' => ' Twoja wersja BBS (to ustawienie specyfikuje w jaki sposób będą obsługiwane wylogowania)',
+  'use_post_based_groups' => 'Użyć grup na bazie postów?',
+  'logout_flag_yes' => '2.0.5 lub wyższa',
+  'logout_flag_no' => '2.0.4 lub niższa',
+  'use_post_based_groups_explanation' => 'Czy mają zostać wzięte pod uwagę grupy zdefiniowane przez ilość postów (pozwala na granulacyjne zarządzanie uprawnieniami), czy też może tylko grupy domyślne (czyni administrację łatwiejszą, rekomendowane). Możesz również zmienić to ustawienie później.',
+  'use_post_based_groups_yes' => 'tak',
+  'use_post_based_groups_no' => 'nie',
+  'error_title' => 'Musisz poprawić te błędy zanim będzie można kontynuować. Przejdź do poprzedniego ekranu.',
+  'error_specify_bbs' => 'Musisz ustalić z jaką aplikacją chcesz zintegrować galerię Coppermine.',
+  'error_no_blank_name' => 'Nie można pozostawić pustym nazwy pola twojego spersonalizowanego pliku integracji.',
+  'error_no_special_chars' => 'Nazwa pliku integracji nie może zawierać żadnych znaków specjalnych poza podkreśleniem (_) i myślnikiem (-)!',
+  'error_bridge_file_not_exist' => 'Plik integracji nie istnieje na serwerze. Sprawdź czy go przesłałeś.',
+  'finalize' => 'włącz/wyłącz integrację BBS',
+  'finalize_explanation' => 'Ustawienia które ustaliłeś zostały zapisane w bazie danych, ale integracja BBS nie została włączona. Możesz zmienić to ustawienie później w dowolnym czasie. Zapamiętaj nazwę użytkownika i hasło Twojej osobnej instalacji Coppermine, może Ci być potrzebne później abyś mógł dokonać zmian. Jeśli coś pójdzie źle, przejdź do %s i wyłącz integrację BBS, używając Twojego osobnego (nie połaczonego) konta administratora (zazwyczaj ustalonego podczas instalacji Coppermine).',
+  'your_bridge_settings' => 'Twoje ustawienia integracji',
+  'title_enable' => 'Włącz integrację z %s',
+  'bridge_enable_yes' => 'włącz',
+  'bridge_enable_no' => 'wyłącz',
+  'error_must_not_be_empty' => 'nie może być puste',
+  'error_either_be' => 'musi być %s lub %s',
+  'error_folder_not_exist' => '%s nie istnieje. Popraw wartość którą wprowadziłeś dla %s',
+  'error_cookie_not_readible' => 'Coppermine nie może odczytywać plików Cookiem o nazwie %s. Popraw nazwę cookie wprowadzoną dla %s, lub przejdź do panelu administracji Twojego BBS i upewnij się, że taka ścieżka jest odczytywana przez coppermine.',
+  'error_mandatory_field_empty' => 'Nie możesz zostawić pustym pola %s – wypełnij właściwą wartość.',
+  'error_no_trailing_slash' => 'Nie może być kończącego slasha w polu %s.',
+  'error_trailing_slash' => 'W polu %s musi być kończący slash.',
+  'error_db_connect' => 'Nie można połączyć się z serwerem bazy danych mySQL przy użyciu podanych przez Ciebie danych. Oto co zwrócił mySQL:',
+  'error_db_name' => 'Pomimo ustanowienia połączenia z serwerem, Coppermine nie mógł znaleźć bazy danych. Upewnij się, że podałeś poprawną nazwę. Oto co zwrócił mySQL:',
+  'error_prefix_and_table' => '%s i ',
+  'error_db_table' => 'Nie odnaleziono tabeli %s. Upewnij się, że podałeś nazwę %s poprawnie.',
+  'recovery_title' => 'Menedżer Integracji: odzyskiwanie awaryjne',
+  'recovery_explanation' => 'Jeśli chcesz administrować integracją Twojej galerii Coppermine, musisz najpierw zalogować się jako administrator. Jeśli nie możesz zalogować się, ponieważ integracja nie zadziałała tak jak tego oczekiwano, możesz ją wyłączyć. Wprowadzenie nazwy Twojego użytkownika i hasła nie spowoduje zalogowania, a jedynie wyłączy integrację. Sprawdź dokumentację aby uzyskać więcej informacji.',
+  'username' => 'Użytkownik',
+  'password' => 'Hasło',
+  'disable_submit' => 'prześlij',
+  'recovery_success_title' => 'Autoryzacja udana',
+  'recovery_success_content' => 'Integracja BBS wyłączona. Instalacja Coppermine działa od tej pory w trybie standardowym.',
+  'recovery_success_advice_login' => 'Aby zarządzać ustawieniami integracji i włączyć ją lub wyłączyć, zaloguj się jako administrator.',
+  'goto_login' => 'Przejdź do strony logowania',
+  'goto_bridgemgr' => 'Przejdź do menedżera integracji',
+  'recovery_failure_title' => 'Nieudana autoryzacja',
+  'recovery_failure_content' => 'Podałeś niewłaściwe dane logowania. Będziesz musiał podać dane konta administratora instalacji standardowej (zazwyczaj jest to konto które stworzyłeś w czasie instalacji galerii Coppermine).',
+  'try_again' => 'spróbuj ponownie',
+  'recovery_wait_title' => 'Czas oczekiwania jeszcze nie minął',
+  'recovery_wait_content' => 'Ze względów bezpieczeństwa, niniejszy skrypt nie pozwala na ponowne logowanie w krótkim okresie czasu po nieudanym logowaniu, należy poczekać na ponowną możliwość autoryzacji.',
+  'wait' => 'czekaj',
+  'create_redir_file' => 'Tworzenie pliku przekierowania (rekomendowane)',
+  'create_redir_file_explanation' => 'Aby przekierować użytkowników do galerii Coppermine po zalogowaniu do Twojego BBS, potrzebujesz pliku przekierowania w folderze BBS. Po wybraniu tej opcji, menedżer integracji spróbuje utworzyć ten plik, lub wygeneruje kod który należy skopiować i wkleić, jeśli trzeba będzie stworzyć ten plik ręcznie..',
+  'browse' => 'przeglądaj',
+);
+
+// ------------------------------------------------------------------------- //
+// File calendar.php //cpg1.4
+// ------------------------------------------------------------------------- //
+
+if (defined('CALENDAR_PHP')) $lang_calendar_php = array(
+  'title' => 'Kalendarz', //cpg1.4
+  'close' => 'Zamknij', //cpg1.4
+  'clear_date' => 'Usuń datę', //cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File catmgr.php
+// ------------------------------------------------------------------------- //
+
+if (defined('CATMGR_PHP')) $lang_catmgr_php = array(
+  'miss_param' => 'Określ parametry \'%s\' operacja niewykonana !',
+  'unknown_cat' => 'Wybrana kategoria nie istnieje w bazie danych',
+  'usergal_cat_ro' => 'Kategorie użytkowników galerii nie mogą zostać wykasowane!',
+  'manage_cat' => 'Zarządzaj kategoriami',
+  'confirm_delete' => 'Jesteś pewien, że chcesz USUNĄĆ tę kategorię?', //js-alert
+  'category' => 'Kategoria',
+  'operations' => 'Operacje',
+  'move_into' => 'Przesuń do',
+  'update_create' => 'Uaktualnij/Utwórz kategorię',
+  'parent_cat' => 'Kategoria "matka"',
+  'cat_title' => 'Nazwa kategorii',
+  'cat_thumb' => 'Category thumbnail',
+  'cat_desc' => 'Opis kategorii',
+  'categories_alpha_sort' => 'Posortuj kategorie alfabetycznie', //cpg1.4
+  'save_cfg' => 'Zapisz zmiany', //cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File admin.php //cpg1.4
+// ------------------------------------------------------------------------- //
+
+if (defined('ADMIN_PHP')) $lang_admin_php = array(
+  'title' => 'Ustawienia Galerii', //cpg1.4
+  'manage_exif' => 'Wyświetlanie informacji EXIF', //cpg1.4
+  'manage_plugins' => 'Zarządzaj pluginami', //cpg1.4
+  'manage_keyword' => 'Słowa kluczowe', //cpg1.4
+  'restore_cfg' => 'Przywróć ustawienia fabryczne',
+  'save_cfg' => 'Zapamiętaj nowe ustawienia',
+  'notes' => 'Informacje dodatkowe',
+  'info' => 'Information',
+  'upd_success' => 'Ustawienia galerii zostały zaktualizowane',
+  'restore_success' => 'Ustawienia fabryczne galerii zostały przywrócone',
+  'name_a' => 'Nazwy rosnąco',
+  'name_d' => 'Nazwy malejąco',
+  'title_a' => 'Tytuły rosnąco',
+  'title_d' => 'Tytuły malejąco',
+  'date_a' => 'Data rosnąco',
+  'date_d' => 'Data malejąco',
+  'pos_a' => 'Pozycja rosnąco', //cpg1.4
+  'pos_d' => 'Pozycja malejąco', //cpg1.4
+  'th_any' => 'Max stosunek szerokości do wysokości',
+  'th_ht' => 'Wysokość',
+  'th_wd' => 'Szerokość',
+  'label' => 'Etykieta',
+  'item' => 'Element',
+  'debug_everyone' => 'Wszyscy',
+  'debug_admin' => 'Tylko Admininistrator',
+  'no_logs'=> 'Wyłączone', //cpg1.4
+  'log_normal'=> 'Normalne', //cpg1.4
+  'log_all' => 'Wszystko', //cpg1.4
+   'view_logs' => 'Pokaż logi', //cpg1.4
+  'click_expand' => 'Kliknj nazwę sekcji aby rozwinąć', //cpg1.4
+  'expand_all' => 'Rozwiń wszystkie ', //cpg1.4
+  'notice1' => '(*) Te ustawienia nie mogą być zmieniane jeżeli masz już pliki w bazie danych.', //cpg1.4 - (relocated)
+  'notice2' => '(**) Gdy zmienisz te ustawienia, to tylko pliki dodane od tego momentu będą obięte zmianami. Nie zaleca się zmiany tych ustawień jeśli w bazie danych są już pliki. Jednakże  możesz dokonać zmian w już istniejących plikach poprzez &quot;<a href="util.php">Ustawienia Administratora</a> (zmiana rozmiaru plików)&quot;.', //cpg1.4 - (relocated)
+  'notice3' => '(***) Wszystkie logi są zapisywane w języku angielskim.', //cpg1.4 - (relocated)
+  'bbs_disabled' => 'Funkcja wyłączona ze względu na zintegrowanie z forum', //cpg1.4
+  'auto_resize_everyone' => 'Wszyscy', //cpg1.4
+  'auto_resize_user' => 'Tylko użytkownik', //cpg1.4
+  'ascending' => 'rosnąco', //cpg1.4
+  'descending' => 'malejąco', //cpg1.4
+);
+
+if (defined('ADMIN_PHP')) $lang_admin_data = array(
+  'Główne ustawienia',
+  array('Nazwa galerii', 'gallery_name', 0, 'f=index.htm&amp;as=admin_general_name&amp;ae=admin_general_name_end'), //cpg1.4
+  array('Opis galerii', 'gallery_description', 0, 'f=index.htm&amp;as=admin_general_description&amp;ae=admin_general_description_end'), //cpg1.4
+  array('Email Administratora galerii', 'gallery_admin_email', 0, 'f=index.htm&amp;as=admin_general_email&amp;ae=admin_general_email_end'), //cpg1.4
+  array('Adres URL galerii (bez \'index.php\' lub podobnych na końcu)', 'ecards_more_pic_target', 0, 'f=index.htm&amp;as=admin_general_coppermine-url&amp;ae=admin_general_coppermine-url_end'), //cpg1.4
+  array('Adres URL strony głównej', 'home_target', 0, 'f=index.htm&amp;as=admin_general_home-url&amp;ae=admin_general_home-url_end'), //cpg1.4
+  array('Zezwól na pobieranie ulubionych w formacie ZIP', 'enable_zipdownload', 1, 'f=index.htm&amp;as=admin_general_zip-download&amp;ae=admin_general_zip-download_end'), //cpg1.4
+  array('Różnica czasu w odniesieniu do GMT (Aktualny czas: ' . localised_date(-1, $comment_date_fmt) . ')','time_offset',0, 'f=index.htm&amp;as=admin_general_time-offset&amp;ae=admin_general_time-offset_end&amp;top=1'), //cpg1.4
+  array('Włącz szyfrowanie haseł (tej operacji nie można cofnąć)','enable_encrypted_passwords',1, 'f=index.htm&amp;as=admin_general_encrypt_password_start&amp;ae=admin_general_encrypt_password_end&amp;top=1'), // cpg 1.4
+  array('Włącz ikony pomocy (pomoc dostępna tylko po angielsku)','enable_help',9, 'f=index.htm&amp;as=admin_general_help&amp;ae=admin_general_help_end'), //cpg1.4
+  array('Włącz aktywne słowa kluczowe w wyszukiwaniu','clickable_keyword_search',14, 'f=index.htm&amp;as=admin_general_keywords_start&amp;ae=admin_general_keywords_end'), //cpg1.4
+  array('Uruchom pluginy', 'enable_plugins', 12, 'f=index.htm&amp;as=admin_general_enable-plugins&amp;ae=admin_general_enable-plugins_end'),  //cpg1.4
+  array('Zezwól na blokowanie nieroutowalnych adresów IP', 'ban_private_ip', 1,  'f=index.htm&amp;as=admin_general_private-ip&amp;ae=admin_general_private-ip_end'), //cpg1.4
+  array('Nowy interfejs we wsadowym dodawaniu plików', 'browse_batch_add', 1, 'f=index.htm&amp;as=admin_general_browsable_batch_add&amp;ae=admin_general_browsable_batch_add_end'), //cpg1.4
+
+  'Ustawienia języka &amp; kodowania',
+  array('Język', 'lang', 5, 'f=index.htm&amp;as=admin_language_language&amp;ae=admin_language_language_end'), //cpg1.4
+  array('Przełączyć na angielski gdy tłumaczenie nie zostanie odnalezione?', 'language_fallback', 1, 'f=index.htm&amp;as=admin_language_fallback&amp;ae=admin_language_fallback_end'), //cpg1.4
+  array('Kodowanie znaków', 'charset', 4, 'f=index.htm&amp;as=admin_language_charset&amp;ae=admin_language_charset_end'), //cpg1.4
+  array('Wyświetl listę języków', 'language_list', 1, 'f=index.htm&amp;as=admin_language_list&amp;ae=admin_language_list_end'), //cpg1.4
+  array('Wyświetl flagi', 'language_flags', 8, 'f=index.htm&amp;as=admin_language_flags&amp;ae=admin_language_flags_end&amp;top=1'), //cpg1.4
+  array('Wyświetl &quot;reset&quot; wybierając język', 'language_reset', 1, 'f=index.htm&amp;as=admin_language_reset&amp;ae=admin_language_reset_end&amp;top=1'), //cpg1.4
+  //array('Display previous/next on tabbed pages', 'previous_next_tab', 1), //cpg1.4
+
+  'Ustawienia motywów',
+  array('Motyw', 'theme', 6, 'f=index.htm&amp;as=admin_theme_theme&amp;ae=admin_theme_theme_end'), //cpg1.4
+  array('Wyświetl listę motywów', 'theme_list', 1, 'f=index.htm&amp;as=admin_theme_theme_list&amp;ae=admin_theme_theme_list_end'), //cpg1.4
+  array('Wyświetl &quot;reset&quot; wybierając motyw', 'theme_reset', 1, 'f=index.htm&amp;as=admin_theme_theme_reset&amp;ae=admin_theme_theme_reset_end'), //cpg1.4
+  array('Pokaż FAQ', 'display_faq', 1, 'f=index.htm&amp;as=admin_theme_faq&amp;ae=admin_theme_faq_end'), //cpg1.4
+  array('Nazwa własnego menu', 'custom_lnk_name', 0,'f=index.htm&amp;as=admin_theme_custom_lnk_name&amp;ae=admin_theme_custom_lnk_name_end'), //cpg1.4
+  array('Adres URL własngo menu', 'custom_lnk_url', 0,'f=index.htm&amp;as=admin_language_custom_lnk_url&amp;ae=admin_language_custom_lnk_url_end'), //cpg1.4
+  array('Pokaż pomoc bbcode', 'show_bbcode_help', 1, 'f=index.htm&amp;as=admin_theme_bbcode&amp;ae=admin_theme_bbcode_end&amp;top=1'), //cpg1.4
+  array('Pokaż sygnaturę informacyjną w tematach określonych jako zgodne z XHTML i CSS','vanity_block',1, 'f=index.htm&amp;as=vanity_block&amp;ae=vanity_block_end'), //cpg1.4
+  array('Ścieżka do własnego nagłówka na stronie', 'custom_header_path', 0, 'f=index.htm&amp;as=admin_theme_include_path_start&amp;ae=admin_theme_include_path_end'), //cpg1.4
+  array('Ścieżka do własnej stopki na stronie', 'custom_footer_path', 0, 'f=index.htm&amp;as=admin_theme_include_path_start&amp;ae=admin_theme_include_path_end'), //cpg1.4
+
+  'Przeglądanie listy albumów',
+  array('Szerokość głównej tabeli (piksele lub %)', 'main_table_width', 0, 'f=index.htm&amp;as=admin_album_table-width&amp;ae=admin_album_table-width_end'), //cpg1.4
+  array('Liczba poziomów kategorii do wyświetlenia', 'subcat_level', 0, 'f=index.htm&amp;as=admin_album_category-levels&amp;ae=admin_album_category-levels_end'), //cpg1.4
+  array('Liczba albumów do wyświetlenia', 'albums_per_page', 0, 'f=index.htm&amp;as=admin_album_number&amp;ae=admin_album_number_end'), //cpg1.4
+  array('Liczba kolumn w liście albumów', 'album_list_cols', 0, 'f=index.htm&amp;as=admin_album_columns&amp;ae=admin_album_columns_end'), //cpg1.4
+  array('Rozmiar miniaturek (w pikselach)', 'alb_list_thumb_size', 0, 'f=index.htm&amp;as=admin_album_thumbnail-size&amp;ae=admin_album_thumbnail-size_end'), //cpg1.4
+  array('Zawartość strony głównej', 'main_page_layout', 0, 'f=index.htm&amp;as=admin_album_list_content&amp;ae=admin_album_list_content_end'), //cpg1.4
+  array('Pokazuj miniaturki pierwszego poziomu w sekcji kategorii','first_level',1, 'f=index.htm&amp;as=admin_album_first-level_thumbs&amp;ae=admin_album_first-level_thumbs_end'), //cpg1.4
+  array('Sortuj kategorie alfabetycznie','categories_alpha_sort',1, 'f=index.htm&amp;as=admin_album_list_alphasort_start&amp;ae=admin_album_list_alphasort_end'), //cpg1.4
+  array('Pokaż liczbę dołączonych plików','link_pic_count',1, 'f=index.htm&amp;as=admin_album_linked_files_start&amp;ae=admin_album_linked_files_end'), //cpg1.4
+
+  'Wyświetlanie miniaturek',
+  array('Liczba kolumn w widoku miniaturek', 'thumbcols', 0, 'f=index.htm&amp;as=admin_thumbnail_columns&amp;ae=admin_thumbnail_columns_end'), //cpg1.4
+  array('Liczba wierszy w widoku miniaturek', 'thumbrows', 0, 'f=index.htm&amp;as=admin_thumbnail_rows&amp;ae=admin_thumbnail_rows_end'), //cpg1.4
+  array('Maksymalna ilość pasków do wyświetlenia', 'max_tabs', 10, 'f=index.htm&amp;as=admin_thumbnail_tabs&amp;ae=admin_thumbnail_tabs_end'), //cpg1.4
+  array('Wyświetl opis pliku (oprócz tytułu) poniżej miniatury', 'caption_in_thumbview', 1, 'f=index.htm&amp;as=admin_thumbnail_display_caption&amp;ae=admin_thumbnail_display_caption_end'), //cpg1.4
+  array('Wyświetl ilość odsłon pod miniaturką', 'views_in_thumbview', 1, 'f=index.htm&amp;as=admin_thumbnail_display_views&amp;ae=admin_thumbnail_display_views_end'), //cpg1.4
+  array('Wyświetl ilość komentarzy pod miniaturką', 'display_comment_count', 1, 'f=index.htm&amp;as=admin_thumbnail_display_comments&amp;ae=admin_thumbnail_display_comments_end'), //cpg1.4
+  array('Wyświetl nazwę przesyłającego pod miniaturką', 'display_uploader', 1, 'f=index.htm&amp;as=admin_thumbnail_display_uploader&amp;ae=admin_thumbnail_display_uploader_end'), //cpg1.4
+  //array('Display name of admin uploaders below the thumbnail', 'display_admin_uploader', 1, 'f=index.htm&amp;as=admin_thumbnail_display_admin_uploader&amp;ae=admin_thumbnail_display_admin_uploader_end'), //cpg1.4
+  array('Wyświetl nazwę pliku pod miniaturką', 'display_filename', 1, 'f=index.htm&amp;as=admin_thumbnail_display_filename&amp;ae=admin_thumbnail_display_filename_end'), //cpg1.4
+  //array('Wyświetl opis albumu', 'alb_desc_thumb', 1, 'f=index.htm&amp;as=admin_thumbnail_display_description&amp;ae=admin_thumbnail_display_description_end'), //cpg1.4
+  array('Domyślne sortowanie dla plików:', 'default_sort_order', 3, 'f=index.htm&amp;as=admin_thumbnail_default_sortorder&amp;ae=admin_thumbnail_default_sortorder_end'), //cpg1.4
+  array('Minimalna ilość głosów niezbędna do umieszczenia pliku w kategorii \'Top Lista\'', 'min_votes_for_rating', 0, 'f=index.htm&amp;as=admin_thumbnail_minimum_votes&amp;ae=admin_thumbnail_minimum_votes_end'), //cpg1.4
+
+  'Przeglądanie zdjęć', //cpg1.4
+  array('Szerokość głównej tabeli wyświetlającej zdjęcia (piksele lub %)', 'picture_table_width', 0, 'f=index.htm&amp;as=admin_image_comment_table-width&amp;ae=admin_image_comment_table-width_end'), //cpg1.4
+  array('Domyślne pokazywanie informacji o pliku', 'display_pic_info', 1, 'f=index.htm&amp;as=admin_image_comment_info_visible&amp;ae=admin_image_comment_info_visible_end'), //cpg1.4
+  array('Maksymalna długość opisu pliku', 'max_img_desc_length', 0, 'f=index.htm&amp;as=admin_image_comment_descr_length&amp;ae=admin_image_comment_descr_length_end'), //cpg1.4
+  array('Maksymalna liczba znaków w słowie', 'max_com_wlength', 0, 'f=index.htm&amp;as=admin_image_comment_chars_per_word&amp;ae=admin_image_comment_chars_per_word_end'), //cpg1.4
+  array('Pokaż "Pasek Filmu" z miniaturami', 'display_film_strip', 1, 'f=index.htm&amp;as=admin_image_comment_filmstrip_toggle&amp;ae=admin_image_comment_filmstrip_toggle_end'), //cpg1.4
+  array('Wyświetl nazwę pliku poniżej "Paska Filmu"', 'display_film_strip_filename', 1, 'f=index.htm&amp;as=admin_image_comment_display_film_strip_filename&amp;ae=admin_image_comment_display_film_strip_filename_end'), //cpg1.4
+  array('Liczba elementów w "Pasku Filmu"', 'max_film_strip_items', 0, 'f=index.htm&amp;as=admin_image_comment_filmstrip_number&amp;ae=admin_image_comment_filmstrip_number_end'), //cpg1.4
+  array('Czas wyświetlania zdjęcia w pokazie slajdów w milisekundach (1 sekunda = 1000 milisekund)', 'slideshow_interval', 0, 'f=index.htm&amp;as=admin_image_comment_slideshow_interval&amp;ae=admin_image_comment_slideshow_interval_end'), //cpg1.4
+
+  'Ustawienia komentarzy', //cpg1.4
+  array('Blokowanie słów z "listy zakazanych" w komentarzach', 'filter_bad_words', 1, 'f=index.htm&amp;as=admin_image_comment_bad_words&amp;ae=admin_image_comment_bad_words_end'), //cpg1.4
+  array('Wyświetlanie emotikon w komentarzach', 'enable_smilies', 1, 'f=index.htm&amp;as=admin_image_comment_smilies&amp;ae=admin_image_comment_smilies_end'), //cpg1.4
+  array('Zezwól na kilka następujących po sobie komentarzy jednego użytkownika do tego samego pliku', 'disable_comment_flood_protect', 1, 'f=index.htm&amp;as=admin_image_comment_flood&amp;ae=admin_image_comment_flood_end'), //cpg1.4
+  array('Maksymalna liczna wierszy w komenmtarzach', 'max_com_lines', 0, 'f=index.htm&amp;as=admin_image_comment_lines&amp;ae=admin_image_comment_lines_end'), //cpg1.4
+  array('Maksymalna długość komentarza', 'max_com_size', 0, 'f=index.htm&amp;as=admin_image_comment_length&amp;ae=admin_image_comment_length_end'), //cpg1.4
+  array('Powiadom Administratora o komentarzu e-mailem', 'email_comment_notification', 1, 'f=index.htm&amp;as=admin_image_comment_admin_notify&amp;ae=admin_image_comment_admin_notify_end'), //cpg1.4
+  array('Kierunek sortowania dla komentarzy', 'comments_sort_descending', 17, 'f=index.htm&amp;as=admin_comment_sort_start&amp;ae=admin_comment_sort_end'), //cpg1.4
+  array('Prefiks dla anonimowych "komentatorów"', 'comments_anon_pfx', 0, 'f=index.htm&amp;as=comments_anon_pfx&amp;ae=comments_anon_pfx_end'), //cpg1.4
+
+  'Ustawienia plików i miniaturek',
+  array('Jakość dla plików JPEG', 'jpeg_qual', 0, 'f=index.htm&amp;as=admin_picture_thumbnail_jpeg_quality&amp;ae=admin_picture_thumbnail_jpeg_quality_end'), //cpg1.4
+  array('Maksymalny rozmiar dla miniaturki <a href="#notice2" class="clickable_option">**</a>', 'thumb_width', 0, 'f=index.htm&amp;as=admin_picture_thumbnail_max-dimension&amp;ae=admin_picture_thumbnail_max-dimension_end'), //cpg1.4
+  array('Użyj wymiaru (szerokość, wysokość lub maksymalny widok dla miniaturki) <a href="#notice2" class="clickable_option">**</a>', 'thumb_use', 7, 'f=index.htm&amp;as=admin_picture_thumbnail_use-dimension&amp;ae=admin_picture_thumbnail_use-dimension_end'), //cpg1.4
+  array('Twórz zdjęcia pośrednie','make_intermediate',1, 'f=index.htm&amp;as=admin_picture_thumbnail_intermediate_toggle&amp;ae=admin_picture_thumbnail_intermediate_toggle_end'), //cpg1.4
+  array('Maksymalna szerokość pośredniego zdjęcia lub video <a href="#notice2" class="clickable_option">**</a>', 'picture_width', 0, 'f=index.htm&amp;as=admin_picture_thumbnail_intermediate_dimension&amp;ae=admin_picture_thumbnail_intermediate_dimension_end'), //cpg1.4
+  array('Maksymalny rozmiar przesyłanych plików (KB)', 'max_upl_size', 0, 'f=index.htm&amp;as=admin_picture_thumbnail_max_upload_size&amp;ae=admin_picture_thumbnail_max_upload_size_end'), //cpg1.4
+  array('Maksymana wysokość lub szerokość przesyłanych zdjęć (w pikselach)', 'max_upl_width_height', 0, 'f=index.htm&amp;as=admin_picture_thumbnail_max_upload_dimension&amp;ae=admin_picture_thumbnail_max_upload_dimension_end'), //cpg1.4
+  array('Automatyczna zmiana rozmiaru plików które są większe niż określono wyżej', 'auto_resize', 16, 'f=index.htm&amp;as=admin_picture_thumbnail_auto-resize&amp;ae=admin_picture_thumbnail_auto-resize_end'), //cpg1.4
+
+  'Zaawansowane ustawienia plików i miniatur',
+  array('Zezwól na prywatne albumy (Uwaga: jeśli zmienisz z "TAK" na "NIE" to aktualne prywatne albumy staną się publiczne)', 'allow_private_albums', 1, 'f=index.htm&amp;as=admin_picture_thumb_advanced_private_toggle&amp;ae=admin_picture_thumb_advanced_private_toggle_end'), //cpg1.4
+  array('Wyświetlanie ikon albumów prywatnych niezalogowanemu użytkownikowi','show_private',1, 'f=index.htm&amp;as=admin_picture_thumb_advanced_private_icon_show&amp;ae=admin_picture_thumb_advanced_private_icon_show_end'), //cpg1.4
+  array('Znaki zakazane w nazwach plików', 'forbiden_fname_char',0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_filename_forbidden_chars&amp;ae=admin_picture_thumb_advanced_filename_forbidden_chars_end'), //cpg1.4
+  //array('Accepted file extensions for uploaded pictures', 'allowed_file_extensions',0, 'f=index.htm&amp;as=&amp;ae=_end'), //cpg1.4
+  array('Akceptowane typy obrazów', 'allowed_img_types',0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_pic_extensions&amp;ae=admin_picture_thumb_advanced_pic_extensions_end'), //cpg1.4
+  array('Akceptowane typy filmów', 'allowed_mov_types',0, 'f=index.htm&amp;as=admin_thumbs_advanced_movie&amp;ae=admin_thumbs_advanced_movie_end'), //cpg1.4
+  array('Automatyczne wyświetlanie filmu', 'media_autostart',1, 'f=index.htm&amp;as=admin_movie_autoplay&amp;ae=admin_movie_autoplay_end'), //cpg1.4
+  array('Akceptowane typy plików audio', 'allowed_snd_types',0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_audio_extensions&amp;ae=admin_picture_thumb_advanced_audio_extensions_end'), //cpg1.4
+  array('Akceptowane typy dokumentów', 'allowed_doc_types',0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_doc_extensions&amp;ae=admin_picture_thumb_advanced_doc_extensions_end'), //cpg1.4
+  array('Metoda skalowania obrazów','thumb_method',2, 'f=index.htm&amp;as=admin_picture_thumb_advanced_resize_method&amp;ae=admin_picture_thumb_advanced_resize_method_end'), //cpg1.4
+  array('Ścieżka do narzędzia konwertującego - ImageMagick (Przykład /usr/bin/X11/)', 'impath', 0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_im_path&amp;ae=admin_picture_thumb_advanced_im_path_end'), //cpg1.4
+  //array('Allowed image types (only valid for ImageMagick)', 'allowed_img_types',0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_allowed_imagetypes&amp;ae=admin_picture_thumb_advanced_allowed_imagetypes_end'), //cpg1.4
+  array('Komendy lini poleceń dla ImageMagick', 'im_options', 0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_im_commandline&amp;ae=admin_picture_thumb_advanced_im_commandline_end'), //cpg1.4
+  array('Czytaj EXIF z plików JPEG', 'read_exif_data', 13, 'f=index.htm&amp;as=admin_picture_thumb_advanced_exif&amp;ae=admin_picture_thumb_advanced_exif_end'), //cpg1.4
+  array('Czytaj IPTC z plików JPEG', 'read_iptc_data', 1, 'f=index.htm&amp;as=admin_picture_thumb_advanced_iptc&amp;ae=admin_picture_thumb_advanced_iptc_end'), //cpg1.4
+  array('Katalog albumów <a href="#notice1" class="clickable_option">*</a>', 'fullpath', 0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_albums_dir&amp;ae=admin_picture_thumb_advanced_albums_dir_end'), //cpg1.4
+  array('Katalog plików uzytkowników <a href="#notice1" class="clickable_option">*</a>', 'userpics', 0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_userpics_dir&amp;ae=admin_picture_thumb_advanced_userpics_dir_end'), //cpg1.4
+  array('Prefiks dla zdjęć pośrednich <a href="#notice1" class="clickable_option">*</a>', 'normal_pfx', 0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_intermediate_prefix&amp;ae=admin_picture_thumb_advanced_intermediate_prefix_end'), //cpg1.4
+  array('Prefiks dla miniaturek <a href="#notice1" class="clickable_option">*</a>', 'thumb_pfx', 0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_thumbs_prefix&amp;ae=admin_picture_thumb_advanced_thumbs_prefix_end'), //cpg1.4
+  array('Domyślne uprawnienia katalogów', 'default_dir_mode', 0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_chmod_folder&amp;ae=admin_picture_thumb_advanced_chmod_folder_end'), //cpg1.4
+  array('Domyslne uprawnienia plików', 'default_file_mode', 0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_chmod_files&amp;ae=admin_picture_thumb_advanced_chmod_files_end'), //cpg1.4
+
+  'Ustawienia użytkowników',
+  array('Pozwól na rejestrację nowych użytkowników', 'allow_user_registration', 1, 'f=index.htm&amp;as=admin_allow_registration&amp;ae=admin_allow_registration_end'), //cpg1.4
+  array('Pozwól na dostęp niezalogowanych użytkowników (goście lub anonimowi)', 'allow_unlogged_access', 1, 'f=index.htm&amp;as=admin_allow_unlogged_access&amp;ae=admin_allow_unlogged_access_end'), //cpg1.4
+  array('Rejestracja użytkownika wymaga potwierdzenia poprzez e-mail', 'reg_requires_valid_email', 1, 'f=index.htm&amp;as=admin_registration_verify&amp;ae=admin_registration_verify_end'), //cpg1.4
+  array('Powiadom Administratora o rejestracji (wyślij e-mail)', 'reg_notify_admin_email', 1, 'f=index.htm&amp;as=admin_registration_notify&amp;ae=admin_registration_notify_end'), //cpg1.4
+  array('Administrator aktywuje nowozarejestrowanych', 'admin_activation', 1, 'f=index.htm&amp;as=admin_activation&amp;ae=admin_activation_end'),  //cpg1.4
+  array('Dwóch użytkowników może mieć ten sam adres e-mail', 'allow_duplicate_emails_addr', 1, 'f=index.htm&amp;as=admin_allow_duplicate_emails_addr&amp;ae=admin_allow_duplicate_emails_addr_end'), //cpg1.4
+  array('Powiadom Administratora o plikach oczekujących na akceptację', 'upl_notify_admin_email', 1, 'f=index.htm&amp;as=admin_approval_notify&amp;ae=admin_approval_notify_end'), //cpg1.4
+  array('Pozwól zalogowanym uzytkownikom na przeglądanie listy użytkowników', 'allow_memberlist', 1, 'f=index.htm&amp;as=admin_user_memberlist&amp;ae=admin_user_memberlist_end'), //cpg1.4
+  array('Pozwól użytkownikom zmieniać swoje adresy e-mail', 'allow_email_change', 1, 'f=index.htm&amp;as=admin_user_allow_email_change&amp;ae=admin_user_allow_email_change_end'), //cpg1.4
+  array('Pozwól użytkownikom mieć kontrolę nad swoimi plikami w publicznych galeriach', 'users_can_edit_pics', 1, 'f=index.htm&amp;as=admin_user_editpics_public_start&amp;ae=admin_user_editpics_public_end'), //cpg1.4
+  array('Liczba nieudanych logowań do tymczasowego zablokowania (aby uniknąć prób wlamań)', 'login_threshold', 0, 'f=index.htm&amp;as=admin_user_login_start&amp;ae=admin_user_login_end'), //cpg1.4
+  array('Czas tymczasowego zablokowania', 'login_expiry', 0, 'f=index.htm&amp;as=admin_user_login_start&amp;ae=admin_user_login_end'), //cpg1.4
+  array('Wysyłaj raport do Administratora', 'report_post', 1, 'f=index.htm&amp;as=admin_user_enable_report&amp;ae=admin_user_enable_report_end'),  //cpg1.4
+
+// custom profile fields,  //cpg1.4
+  'Własne pola w profilu użytkownika (pozostaw puste jeśli nieużywane).
+  Użyj pola nr 6 do dłuższych wpisów takich jak "Coś o sobie"', //cpg1.4
+  array('Pole nr 1', 'user_profile1_name', 0, 'f=index.htm&amp;as=admin_custom&amp;ae=admin_custom_end'), //cpg1.4
+  array('Pole nr 2', 'user_profile2_name', 0), //cpg1.4
+  array('Pole nr 3', 'user_profile3_name', 0), //cpg1.4
+  array('Pole nr 4', 'user_profile4_name', 0), //cpg1.4
+  array('Pole nr 5', 'user_profile5_name', 0), //cpg1.4
+  array('Pole nr 6', 'user_profile6_name', 0), //cpg1.4
+
+  'Własne pola do opisu obrazów (pozostaw puste jeśli nieużywane)',
+  array('Pole nr 1', 'user_field1_name', 0, 'f=index.htm&amp;as=admin_custom_image&amp;ae=admin_custom_image_end'), //cpg1.4
+  array('Pole nr 2', 'user_field2_name', 0),
+  array('Pole nr 3', 'user_field3_name', 0),
+  array('Pole nr 4', 'user_field4_name', 0),
+
+  'Ustawienia ciasteczek',
+  array('Nazwa ciasteczek', 'cookie_name', 0, 'f=index.htm&amp;as=admin_cookie_name&amp;ae=admin_cookie_name_end'), //cpg1.4
+  array('Ścieżka do ciasteczek', 'cookie_path', 0, 'f=index.htm&amp;as=admin_cookie_path&amp;ae=admin_cookie_path_end'), //cpg1.4
+
+  'Ustawienia e-mail  (zwykle nic tu nie trzeba zmieniać; gdy nie jesteś pewien, pozostaw pola puste)', //cpg1.4
+  array('Serwer SMTP (jeśli puste, zostanie użyty sendmail)', 'smtp_host', 0, 'f=index.htm&amp;as=admin_email&amp;ae=admin_email_end'), //cpg1.4
+  array('Nazwa użytkownika SMTP', 'smtp_username', 0), //cpg1.4
+  array('Hasło SMTP', 'smtp_password', 0), //cpg1.4
+
+  'Statystyki i logi', //cpg1.4
+  array('Tryb zapisywania logów <a href="#notice3" class="clickable_option">***</a>', 'log_mode', 11, 'f=index.htm&amp;as=admin_logging_log_mode&amp;ae=admin_logging_log_mode_end'), //cpg1.4
+  array('Zapisuj e-kartki', 'log_ecards', 1, 'f=index.htm&amp;as=admin_general_log_ecards&amp;ae=admin_general_log_ecards_end'), //cpg1.4
+  array('Szczegółowe statystyki głosowania','vote_details',1, 'f=index.htm&amp;as=admin_logging_votedetails&amp;ae=admin_logging_votedetails_end'), //cpg1.4
+  array('Szczegółowe statystyki odsłon','hit_details',1, 'f=index.htm&amp;as=admin_logging_hitdetails&amp;ae=admin_logging_hitdetails_end'), //cpg1.4
+
+  'Ustawienia debugowania i wyłączanie Galerii', //cpg1.4
+  array('Włącz tryb debugowania', 'debug_mode', 9, 'f=index.htm&amp;as=debug_mode&amp;ae=debug_mode_end'), //cpg1.4
+  array('Wyświetlaj powiadomienia w trybie debugowania', 'debug_notice', 1, 'f=index.htm&amp;as=admin_misc_debug_notices&amp;ae=admin_misc_debug_notices_end'), //cpg1.4
+  array('Galeria jest wyłączona', 'offline', 1, 'f=index.htm&amp;as=admin_general_offline&amp;ae=admin_general_offline_end'), //cpg1.4
+);
+
+
+// ------------------------------------------------------------------------- //
+// File db_ecard.php
+// ------------------------------------------------------------------------- //
+
+if (defined('DB_ECARD_PHP')) $lang_db_ecard_php = array(
+  'title' => 'Wyślij e-kartkę',
+  'ecard_sender' => 'Nadawca',
+  'ecard_recipient' => 'Odbiorca',
+  'ecard_date' => 'Data',
+  'ecard_display' => 'Pokaż e-kartkę',
+  'ecard_name' => 'Imię',
+  'ecard_email' => 'E-mail',
+  'ecard_ip' => 'IP #',
+  'ecard_ascending' => 'rosnąco',
+  'ecard_descending' => 'malejąco',
+  'ecard_sorted' => 'Posortowane',
+  'ecard_by_date' => 'według daty',
+  'ecard_by_sender_name' => 'wedlug nazwy nadawcy',
+  'ecard_by_sender_email' => 'według adresu nadawcy',
+  'ecard_by_sender_ip' => 'według IP nadawcy',
+  'ecard_by_recipient_name' => 'według odbiorcy',
+  'ecard_by_recipient_email' => 'według adresu odbiorcy',
+  'ecard_number' => 'Wyświetl rejestr %s do %s z %s',
+  'ecard_goto_page' => 'Idź do strony',
+  'ecard_records_per_page' => 'Rekordów na stronę',
+  'check_all' => 'Zaznacz wszystkie',
+  'uncheck_all' => 'Odznacz wszystkie',
+  'ecards_delete_selected' => 'Skasuj wybrane e-kartki',
+  'ecards_delete_confirm' => 'Jesteś pewien, że chcesz usunąć te rekordy? Zaznacz "TAK"!',
+  'ecards_delete_sure' => 'Jestem pewny?',
+);
+
+
+// ------------------------------------------------------------------------- //
+// File db_input.php
+// ------------------------------------------------------------------------- //
+
+if (defined('DB_INPUT_PHP')) $lang_db_input_php = array(
+  'empty_name_or_com' => 'Musisz wpisać imię lub pseudonim oraz komentarz!',
+  'com_added' => 'Twój komentarz został dodany',
+  'alb_need_title' => 'Musisz podać tytuł albumu!',
+  'no_udp_needed' => 'Nie dokonano zmian.',
+  'alb_updated' => 'Album został zaktualizowany',
+  'unknown_album' => 'Wybrany album nie istnieje lub nie masz wystarczających uprawnień by dodawać pliki do tego albumu',
+  'no_pic_uploaded' => 'Nie wysłano pliku!<br /><br />Jeżeli naprawdę został wybrany plik do wysłania, sprawdź, czy serwer zezwala na wysyłkę...',
+  'err_mkdir' => 'Nie udało się utworzyć katalogu %s!',
+  'dest_dir_ro' => 'Skrypt nie może zapisywać do katalogu docelowego %s!',
+  'err_move' => 'Nie można przenieść %s do %s!',
+  'err_fsize_too_large' => 'Przesłany plik jest zbyt duży (maksymalny rozmiar to %s x %s) !', //obsolete since cpg1.3 - consider removal in cpg1.4 once upload.php has been overhauled
+  'err_imgsize_too_large' => 'Przesłany plik jest zbyt duży (dopuszczalne maksimum to %s KB) !', //obsolete since cpg1.3 - consider removal in cpg1.4 once upload.php has been overhauled
+  'err_invalid_img' => 'Przesłany plik nie jest prawidłowym obrazem!',
+  'allowed_img_types' => 'Możesz przesłać jedynie %s obrazów.',
+  'err_insert_pic' => 'Plik \'%s\' nie może zostać umieszczony w albumie.',
+  'upload_success' => 'Plik został pomyślnie przesłany.<br /><br />Będzie widoczny po akceptacji przez administratorów.',
+  'notify_admin_email_subject' => '%s - Informacja o nadesłaniu pliku',
+  'notify_admin_email_body' => 'Nadesłano plik przez użytkownika %s, wymagający akceptacji. Zobacz %s',
+  'info' => 'Informacja',
+  'com_added' => 'Dodano komentarz',
+  'alb_updated' => 'Album został zaktualizowany',
+  'err_comment_empty' => 'Komentarz jest pusty!',
+  'err_invalid_fext' => 'Pliki o poniższych rozszerzeniach są akceptowane:<br /><br />%s.',
+  'no_flood' => 'Przepraszamy, ale jesteś autorem ostatniego komentarza dla tego pliku.<br /><br />Edytuj swój komentarz jeśli chcesz go zmienić.',
+  'redirect_msg' => 'Nastąpi przekierowanie.<br /><br /><br />Kliknij \'CONTINUE\' jeśli nie zostaniesz przekierowany automatycznie',
+  'upl_success' => 'Twój plik został dodany.',
+  'email_comment_subject' => 'Ukazał się komentarz w Coppermine Photo Gallery',
+  'email_comment_body' => 'Ktoś napisał komentarz do zdjęcia w twojej galerii. Przejdź do ',
+  'album_not_selected' => 'Nie wybrano albumu', //cpg1.4
+  'com_author_error' => 'Istnieje już użytkownik o tej nazwie, wybierz inny pseudonim', //cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File delete.php
+// ------------------------------------------------------------------------- //
+
+if (defined('DELETE_PHP')) $lang_delete_php = array(
+  'caption' => 'Podpis',
+  'fs_pic' => 'obraz w pełnym rozmiarze',
+  'del_success' => 'pomyślnie usunięty',
+  'ns_pic' => 'normalny rozmiar obrazu',
+  'err_del' => 'nie może być usunięty',
+  'thumb_pic' => 'miniaturka',
+  'comment' => 'komentarz',
+  'im_in_alb' => 'obraz w albumie',
+  'alb_del_success' => 'Usunięto album &laquo;%s&raquo;.', //cpg1.4
+  'alb_mgr' => 'Menedżer albumów',
+  'err_invalid_data' => 'Odebrano nieprawidłowe dane w \'%s\'',
+  'create_alb' => 'Tworzę album \'%s\'',
+  'update_alb' => 'Aktualizacja albumu \'%s\' o tytule \'%s\' i indeksie \'%s\'',
+  'del_pic' => 'Usuń plik',
+  'del_alb' => 'Usuń album',
+  'del_user' => 'Usuń użytkownika',
+  'err_unknown_user' => 'Wybrany użytkownik nie istnieje!',
+  'err_empty_groups' => 'Nie ma tabeli grup, lub brak wpisów w tabeli grup!', //cpg1.4
+  'comment_deleted' => 'Pomyślnie usunięto komentarz',
+  'npic' => 'Obraz', //cpg1.4
+  'pic_mgr' => 'Menedżer obrazów', //cpg1.4
+  'update_pic' => 'Aktualizuję obraz \'%s\' o nazwie \'%s\' i indeksie \'%s\'', //cpg1.4
+  'username' => 'Nazwa użytkownika', //cpg1.4
+  'anonymized_comments' => 'anonimowe komentarze: %s ', //cpg1.4
+  'anonymized_uploads' => 'pliki przesłane anonimowo: %s ', //cpg1.4
+  'deleted_comments' => 'usunięte komentarze: %s ', //cpg1.4
+  'deleted_uploads' => 'usunięte przesłane pliki: %s ', //cpg1.4
+  'user_deleted' => 'użytkownik %s usunięty', //cpg1.4
+  'activate_user' => 'Aktywuj konto użytkownika', //cpg1.4
+  'user_already_active' => 'Konto już było aktywne', //cpg1.4
+  'activated' => 'Aktywowano', //cpg1.4
+  'deactivate_user' => 'Zdezaktywuj użytkownika', //cpg1.4
+  'user_already_inactive' => 'Konto już było nieaktywne', //cpg1.4
+  'deactivated' => 'Zdezaktywowany', //cpg1.4
+  'reset_password' => 'Wyzeruj hasło / hasła', //cpg1.4
+  'password_reset' => 'Hasło zmienione na %s', //cpg1.4
+  'change_group' => 'Zmień główną grupę', //cpg1.4
+  'change_group_to_group' => 'Zmieniam z %s na %s', //cpg1.4
+  'add_group' => 'Dodaj podrzędną grupę', //cpg1.4
+  'add_group_to_group' => 'Dodaję użytkownika %s do grupy %s. Jest obecnie członkiem %s jako grupy głównej oraz %s jako grupy podrzędnej.', //cpg1.4
+  'status' => 'Stan', //cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File displayecard.php
+// ------------------------------------------------------------------------- //
+
+if (defined('DISPLAYECARD_PHP')) {
+
+$lang_displayecard_php = array(
+  'invalid_data' => 'Dane kartki którą próbujesz odebrać zostały zniszczone przez twój program e-mail. Sprawdź czy odnośnik jest pełny.', //cpg1.4
+);
+}
+
+// ------------------------------------------------------------------------- //
+// File displayimage.php
+// ------------------------------------------------------------------------- //
+
+if (defined('DISPLAYIMAGE_PHP')){
+
+$lang_display_image_php = array(
+  'confirm_del' => 'Czy jesteś pewien że chcesz USUNĄĆ ten plik?\\nKomentarze również zostaną usunięte.', //js-alert
+  'del_pic' => 'USUŃ TEN PLIK',
+  'size' => '%s x %s pikseli',
+  'views' => '%s',
+  'slideshow' => 'Pokaz slajdów',
+  'stop_slideshow' => 'ZATRZYMAJ POKAZ SLAJDÓW',
+  'view_fs' => 'Kliknij aby obejrzeć w pełnym rozmiarze',
+  'edit_pic' => 'Edytuj informacje o pliku', //cpg1.4
+  'crop_pic' => 'Przytnij i obróć',
+  'set_player' => 'Zmień odtwarzacz',
+);
+
+$lang_picinfo = array(
+  'title' =>'Informacje o pliku',
+  'Filename' => 'Nazwa pliku',
+  'Album name' => 'Nazwa albumu',
+  'Rating' => 'Ocena (głosów %s)',
+  'Keywords' => 'Słowa kluczowe',
+  'File Size' => 'Rozmiar pliku',
+  'Date Added' => 'Data dodania', //cpg1.4
+  'Dimensions' => 'Wymiary',
+  'Displayed' => 'Wyświetleń',
+  'URL' => 'URL', //cpg1.4
+  'Make' => 'Producent', //cpg1.4
+  'Model' => 'Model', //cpg1.4
+  'DateTime' => 'Data i czas', //cpg1.4
+  'DateTimeOriginal' => 'Data wykonania zdjęcia', //cpg1.4
+  'ISOSpeedRatings'=>'Czułość ISO', //cpg1.4
+  'MaxApertureValue' => 'Przesłona', //cpg1.4
+  'FocalLength' => 'Ogniskowa', //cpg1.4
+  'Comment' => 'Komentarz',
+  'addFav'=>'Dodaj do ulubionych',
+  'addFavPhrase'=>'Ulubione',
+  'remFav'=>'Usuń z ulubionych',
+  'iptcTitle'=>'Tytuł IPTC',
+  'iptcCopyright'=>'Prawa autorskie IPTC',
+  'iptcKeywords'=>'Słowa kluczowe IPTC',
+  'iptcCategory'=>'Kategoria IPTC',
+  'iptcSubCategories'=>'Podkategorie IPTC',
+  'ColorSpace' => 'Przestrzeń kolorów', //cpg1.4
+  'ExposureProgram' => 'Program ekspozycji', //cpg1.4
+  'Flash' => 'Lampa błyskowa', //cpg1.4
+  'MeteringMode' => 'Tryb pomiaru', //cpg1.4
+  'ExposureTime' => 'Czas naświetlania', //cpg1.4
+  'ExposureBiasValue' => 'Korekta ekspozycji', //cpg1.4
+  'ImageDescription' => 'Opis obrazu', //cpg1.4
+  'Orientation' => 'Orientacja', //cpg1.4
+  'xResolution' => 'Rozdzielczość X', //cpg1.4
+  'yResolution' => 'Rozdzielczość Y', //cpg1.4
+  'ResolutionUnit' => 'Jednostka rozdzielczości', //cpg1.4
+  'Software' => 'Oprogramowanie', //cpg1.4
+  'YCbCrPositioning' => 'Pozycjonowanie YCbCr', //cpg1.4
+  'ExifOffset' => 'Offset Exif', //cpg1.4
+  'IFD1Offset' => 'Offset IFD1', //cpg1.4
+  'FNumber' => 'FNumber', //cpg1.4
+  'ExifVersion' => 'Wersja Exif', //cpg1.4
+  'DateTimeOriginal' => 'Oryginalna data i czas', //cpg1.4
+  'DateTimedigitized' => 'Data i czas digitalizacji', //cpg1.4
+  'ComponentsConfiguration' => 'Konfiguracja komponentów', //cpg1.4
+  'CompressedBitsPerPixel' => 'Bity na piksel', //cpg1.4
+  'LightSource' => 'Źródło światła', //cpg1.4
+  'ISOSetting' => 'Ustawienie ISO', //cpg1.4
+  'ColorMode' => 'Tryb koloru', //cpg1.4
+  'Quality' => 'Jakość', //cpg1.4
+  'ImageSharpening' => 'Wyostrzanie obrazu', //cpg1.4
+  'FocusMode' => 'Tryb ogniskowania', //cpg1.4
+  'FlashSetting' => 'Ustawienie błysku', //cpg1.4
+  'ISOSelection' => 'Wybór ISO', //cpg1.4
+  'ImageAdjustment' => 'Dostosowanie obrazu', //cpg1.4
+  'Adapter' => 'Adapter', //cpg1.4
+  'ManualFocusDistance' => 'Ręczna ogniskowa', //cpg1.4
+  'DigitalZoom' => 'Zoom cyfrowy', //cpg1.4
+  'AFFocusPosition' => 'Pozycja AF ogniskowej', //cpg1.4
+  'Saturation' => 'Nasycenie', //cpg1.4
+  'NoiseReduction' => 'Redukcja szumów', //cpg1.4
+  'FlashPixVersion' => 'Wersja Flash Pix', //cpg1.4
+  'ExifImageWidth' => 'Szerkość obrazu wg. Exif', //cpg1.4
+  'ExifImageHeight' => 'Wysokość obrazu wg. Exif', //cpg1.4
+  'ExifInteroperabilityOffset' => 'Przesunięcie Exif', //cpg1.4
+  'FileSource' => 'Źródło pliku', //cpg1.4
+  'SceneType' => 'Typ sceny', //cpg1.4
+  'CustomerRender' => 'Zobrazowanie własne', //cpg1.4
+  'ExposureMode' => 'Tryb ekspozycji', //cpg1.4
+  'WhiteBalance' => 'Balans bieli', //cpg1.4
+  'DigitalZoomRatio' => 'Cyfrowe powiększenie', //cpg1.4
+  'SceneCaptureMode' => 'Tryb ujęcia', //cpg1.4
+  'GainControl' => 'Gain Control', //cpg1.4
+  'Contrast' => 'Kontrast', //cpg1.4
+  'Saturation' => 'Nasycenie', //cpg1.4
+  'Sharpness' => 'Ostrość', //cpg1.4
+  'ManageExifDisplay' => 'Zarządzanie wyświetlaniem Exif', //cpg1.4
+  'submit' => 'Wyślij', //cpg1.4
+  'success' => 'Informacje pomyślnie zaktualizowane.', //cpg1.4
+  'details' => 'Szczegóły', //cpg1.4
+);
+
+$lang_display_comments = array(
+  'OK' => 'OK',
+  'edit_title' => 'Edytuj ten komentarz',
+  'confirm_delete' => 'Czy na pewno chcesz usunąć ten komentarz?', //js-alert
+  'add_your_comment' => 'Dodaj komentarz',
+  'name'=>'Imię',
+  'comment'=>'Komentarz',
+  'your_name' => 'Anonim',
+  'report_comment_title' => 'Powiadom administratora o tym komentarzu', //cpg1.4
+);
+
+$lang_fullsize_popup = array(
+  'click_to_close' => 'Kliknij na obrazie aby zamknąć okno',
+);
+
+}
+
+// ------------------------------------------------------------------------- //
+// File ecard.php
+// ------------------------------------------------------------------------- //
+
+if (defined('ECARDS_PHP') || defined('DISPLAYECARD_PHP')) $lang_ecard_php = array(
+  'title' => 'Wyślij e-kartkę',
+  'invalid_email' => '<span style="color: red"><b>Uwaga</b></span>: nieprawidłowy adres e-mail:', //cpg1.4
+  'ecard_title' => '%s wysyła Ci e-kartkę',
+  'error_not_image' => 'Tylko obrazki mogą być wysłane jako e-kartka.',
+  'view_ecard' => 'Kliknij na ten odnośnik jeśli e-kartka nie wyświetla się prawidłowo', //cpg1.4
+  'view_ecard_plaintext' => 'Aby obejrzeć tę e-kartkę wpisz poniższy odnośnik do swojej przeglądarki:', //cpg1.4
+  'view_more_pics' => 'Obejrzyj więcej obrazów!', //cpg1.4
+  'send_success' => 'Twoja e-kartka została wysłana.',
+  'send_failed' => 'Przepraszamy. Serwer nie może wysłać twojej e-kartki...',
+  'from' => 'Od',
+  'your_name' => 'Twoje imię',
+  'your_email' => 'Twój adres e-mail',
+  'to' => 'Do',
+  'rcpt_name' => 'Imię odbiorcy',
+  'rcpt_email' => 'Adres e-mail odbiorcy',
+  'greetings' => 'Nagłówek', //cpg1.4
+  'message' => 'Wiadomość', //cpg1.4
+  'ecards_footer' => 'Wysłane przez użytkownika %s o adresie IP %s o godzinie %s (wg czasu Galerii)', //cpg1.4
+  'preview' => 'Podgląd e-kartki', //cpg1.4
+  'preview_button' => 'Podgląd', //cpg1.4
+  'submit_button' => 'Wyślij e-kartkę', //cpg1.4
+  'preview_view_ecard' => 'To będzie alternatywny odnośnik do e-kartki, kiedy zostanie utworzona. Nie będzie on działał dla podglądu.', //cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File report_file.php //cpg1.4
+// ------------------------------------------------------------------------- //
+
+if (defined('REPORT_FILE_PHP') || defined('DISPLAYREPORT_PHP')) $lang_report_php =array(
+  'title' => 'Zgłoszenie do administratora', //cpg1.4
+  'invalid_email' => '<b>Uwaga</b>: nieprawidłowy adres e-mail!', //cpg1.4
+  'report_subject' => 'Zgłoszenie od użytkownika %s dotyczące galerii %s', //cpg1.4
+  'view_report' => 'Alternatywny odnośnik dla raportu, który nie wyświetla się prawidłowo', //cpg1.4
+  'view_report_plaintext' => 'Aby obejrzeć raport wklej poniższy odnośnik w pasek adresu przeglądarki:', //cpg1.4
+  'view_more_pics' => 'Galeria', //cpg1.4
+  'send_success' => 'Twoje zgłoszenie zostało wysłane', //cpg1.4
+  'send_failed' => 'Przepraszamy. Serwer nie może wysłać raportu...', //cpg1.4
+  'from' => 'Od', //cpg1.4
+  'your_name' => 'Twoje imię', //cpg1.4
+  'your_email' => 'Twój adres e-mail', //cpg1.4
+  'to' => 'Do', //cpg1.4
+  'administrator' => 'Administrator/Moderator', //cpg1.4
+  'subject' => 'Temat', //cpg1.4
+  'comment_field_name' => 'Zgłoszenie dotyczące komentarza, którego autorem jest "%s"', //cpg1.4
+  'reason' => 'Powód', //cpg1.4
+  'message' => 'Wiadomość', //cpg1.4
+  'report_footer' => 'Wysłano od użytkownika %s o IP %s o godzinie %s (wg czasu Galerii)', //cpg1.4
+  'obscene' => 'obsceniczny', //cpg1.4
+  'offensive' => 'agresywny', //cpg1.4
+  'misplaced' => 'nie na temat', //cpg1.4
+  'missing' => 'brak', //cpg1.4
+  'issue' => 'błąd / nie wyświetla się', //cpg1.4
+  'other' => 'inny', //cpg1.4
+  'refers_to' => 'Zgłoszenie pliku odnosi się do', //cpg1.4
+  'reasons_list_heading' => 'powody zgłoszenia:', //cpg1.4
+  'no_reason_given' => 'nie podano powodu', //cpg1.4
+  'go_comment' => 'Przejdź do komentarza', //cpg1.4
+  'view_comment' => 'Zobacz pełny raport z komentarzem', //cpg1.4
+  'type_file' => 'plik', //cpg1.4
+  'type_comment' => 'komentarz', //cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File editpics.php
+// ------------------------------------------------------------------------- //
+
+if (defined('EDITPICS_PHP')) $lang_editpics_php = array(
+  'pic_info' => 'Informacje o pliku',
+  'album' => 'Album',
+  'title' => 'Tytuł',
+  'filename' => 'Nazwa pliku', //cpg1.4
+  'desc' => 'Opis',
+  'keywords' => 'Słowa kluczowe',
+  'new_keyword' => 'Nowe słowo kluczowe', //cpg1.4
+  'new_keywords' => 'Znaleziono nowe słowa kluczowe', //cpg1.4
+  'existing_keyword' => 'Istniejące słowa kluczowe', //cpg1.4
+  'pic_info_str' => '%s x %s - %s KB - %s wyświetleń - %s głosów',
+  'approve' => 'Akceptuj',
+  'postpone_app' => 'Odłóż akceptację na później',
+  'del_pic' => 'Usuń plik',
+  'del_all' => 'Usuń WSZYSTKIE pliki', //cpg1.4
+  'read_exif' => 'Odczytaj ponownie informacje EXIF',
+  'reset_view_count' => 'Wyzeruj licznik wyświetleń',
+  'reset_all_view_count' => 'Wyzeruj WSZYSTKIE liczniki wyświetleń', //cpg1.4
+  'reset_votes' => 'Usuń głosy',
+  'reset_all_votes' => 'Usuń WSZYSTKIE głosy', //cpg1.4
+  'del_comm' => 'Usuń komentarze',
+  'del_all_comm' => 'Usuń WSZYSTKIE komentarze', //cpg1.4
+  'upl_approval' => 'Akceptowanie nadesłanych', //cpg1.4
+  'edit_pics' => 'Edytuj pliki',
+  'see_next' => 'Zobacz następne pliki',
+  'see_prev' => 'Zobacz poprzednie pliki',
+  'n_pic' => '%s plików',
+  'n_of_pic_to_disp' => 'Liczba wyświetlanych plików',
+  'apply' => 'Zatwierdź zmiany',
+  'crop_title' => 'Coppermine Picture Editor',
+  'preview' => 'Podgląd',
+  'save' => 'Zapisz obraz',
+  'save_thumb' =>'Zapisz jako miniaturkę',
+  'gallery_icon' => 'Ustaw jako moją ikonę', //cpg1.4
+  'sel_on_img' =>'Zaznaczenie musi w całości znajdować się na obrazku!', //js-alert
+  'album_properties' =>'Właściwości albumu', //cpg1.4
+  'parent_category' =>'Kategoria nadrzędna', //cpg1.4
+  'thumbnail_view' =>'Widok miniatur', //cpg1.4
+  'select_unselect' =>'Zaznacz/odznacz wszystko', //cpg1.4
+  'file_exists' => "Docelowy plik '%s' już istnieje.", //cpg1.4
+  'rename_failed' => "Nie udało się zmienić nazwy z '%s' na '%s'.", //cpg1.4
+  'src_file_missing' => "Źródłowy plik '%s' nie istnieje.", // cpg 1.4
+  'mime_conv' => "Nie da się przekonwertować pliku z '%s' na '%s'",//cpg1.4
+  'forb_ext' => 'Niedopuszczalne rozszerzenie pliku.',//cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File faq.php
+// ------------------------------------------------------------------------- //
+
+if (defined('FAQ_PHP')) $lang_faq_php = array(
+  'faq' => 'Często zadawane pytania',
+  'toc' => 'Spis treści',
+  'question' => 'Pytanie: ',
+  'answer' => 'Odpowiedź: ',
+);
+
+if (defined('FAQ_PHP')) $lang_faq_data = array(
+  'Ogólne pytania',
+  array('Dlaczego muszę się zarejestrować?', ' Rejestracja może być wymagana przez administratora serwisu. Zarejestrowanie się daje użytkownikowi dodatkowe możliwości, takie jak przesyłanie własnych plików, tworzenie listy ulubionych, ocenianie zdjęć, zamieszczanie komentarzy itp.', 'allow_user_registration', '1'),
+  array('Jak się zarejestrować?', 'Przejdź do sekcji &quot;Rejestracja&quot; i wypełnij wymagane pola (ew. także pola opcjonalne).<br />Jeżeli Administrator włączył opcję aktywacji przez e-mail, po wypełnieniu formularza rejestracji, na podany tam adres pocztowy otrzymasz e-mail zawierający instrukcje w jaki sposób aktywować konto. Aktywacja jest wymagana przed pierwszym logowaniem.', 'allow_user_registration', '1'), //cpg1.4
+  array('Jak się logować?', 'Przejdź do sekcji &quot;Logowanie&quot;, Wprowadź swoją nazwę użytkownika i hasło. Możesz także wybrać opcję &quot;Pamiętaj mnie&quot; abyś nie musiał logować się przy ponownym wejściu na stronę.<br /><b>WAŻNE: aby ta funkcja serwisu działała, należy włączyć obsługę plików cookie i nie kasować plików cookie generowanych przez serwis.</b>', 'offline', 0),
+  array('Dlaczego nie mogę się zalogować?', 'Czy zarejestrowałeś się już i kliknąłeś na łącze z wysłanego do Ciebie e-mail\'a? Łącze to pozwoli na aktywowanie Twojego konta. W przypadku innych kłopotów skontaktuj się z administratorem serwisu.', 'offline', 0),
+  array('Co mam zrobić jeżeli zapomnę hasła?', 'Jeżeli serwis udostępnia link &quot;Zapomniałem hasła&quot;, użyj go. W innym wypadku skontaktuj się z administratorem i poproś go o nowe hasło.', 'offline', 0),
+  //array('Co mam zrobić, jeżeli zmienił mi się adres e-mail?', 'Zaloguj się i zmień swój e-mail w &quot;Profilu&quot;', 'offline', 0),
+  array('Jak zapisać plik do &quot;Moich ulubionych&quot;?', 'Kliknij na pliku, a następnie na łączu &quot;informacji o zdjęciu&quot; (<img src="images/info.gif" width="16" height="16" border="0" alt="Picture information" />); przejdź na dół i kliknij &quot;Dodaj do ulubionych&quot;.<br />Możliwe, że administrator włączył opcję domyślnego pokazywania informacji o pliku.<br />WAŻNE: Należy włączyć obsługę plików cookie z tego serwisu i nie kasować ich.', 'offline', 0),
+  array('Jak ocenić plik?', 'Kliknij na miniaturze, przejdź na dół strony i wybierz odpowiednią ocenę.', 'offline', 0),
+  array('Jak zamieścić komentarz do pliku?', 'Kliknij na miniaturze, przejdź na dół i w odpowiednim polu wpisz komentarz.', 'offline', 0),
+  array('Jak przesłać plik?', 'Przejdź do &quot;Przesyłania zdjęć&quot; i wybierz album do którego chcesz przesłać plik, kliknij &quot;Przeglądaj&quot; znajdź plik który chcesz przesłać, wybierz &quot;Otwórz&quot; (dodaj opis, jeżeli chcesz) i kliknij &quot;Prześlij&quot;.<br /><br />Alternatywnie, użytkownicy <b>Windows XP</b>, mogą przesyłać większą ilość plików jednorazowo, bezpośrednio do albumów prywatnych, używając systemowego Kreatora Publikacji w sieci WWW.<br />Aby uzyskać informacje jak pobrać odpowiedni wpis do rejestru, kliknij <a href="xp_publish.php">tutaj.</a>', 'allow_private_albums', 1), //cpg1.4
+  array('Gdzie mogę przesłać plik?', 'Pliki można przesyłać do jednego z albumów w Twojej Galerii. Administrator może także zezwolić Ci na przesyłanie zdjęć do albumów w Galerii Głównej.', 'allow_private_albums', 0),
+  array('Jakie pliki można przesyłać? W jakiej wielkości?', 'Typ i rodzaj przesyłanych plików (jpg, png, etc.) określa administrator serwisu', 'offline', 0),
+  array(' W jaki sposób tworzyć, kasować i zmieniać nazwy albumów w &quot;Mojej Galerii&quot;?', 'Powinieneś przejść do &quot;Trybu Administracyjnego&quot;<br />Przejdź do &quot;Tworzenie/Porządkowanie albumów&quot;i kliknij &quot;Nowy&quot;. Zmień domyślną nazwę &quot;Nowy Album&quot; na wybraną przez siebie.<br />Możesz także modyfikować dowolny album ze swojej galerii.<br />Następnie kliknij &quot;Zastosuj zmiany&quot;.', 'allow_private_albums', 0),
+  array(' W jaki sposób zezwalać i odbierać zezwolenia na oglądanie moich albumów?', 'Przejdź do &quot;Trybu Administracyjnego&quot;<br />i sekcji &quot;Modyfikuj moje albumy. Na pasku &quot;Aktualizuj Album&quot; wybierz album, który chcesz zmodyfikować. <br />Możesz zmienić jego nazwę, opis, miniaturę, ustawić zezwolenia na oglądanie i komentowanie/ocenianie jego zawartości.<br />Następnie kliknij &quot;Aktualizuj album&quot;.', 'allow_private_albums', 0),
+  array('Co zrobić by móc obejrzeć galerie innych użytkowników?', 'Przejdź do &quot;Listy Albumów&quot; i wybierz &quot;Galerie użytkowników&quot;.', 'allow_private_albums', 0),
+  array('Co to takiego pliki cookie?', 'Pliki cookie zawierają dane tekstowe zapisywane przez stronę internetową na Twoim komputerze. <br />Zazwyczaj pozwalają użytkownikowi opuścić stronę i wejść na nią ponownie bez konieczności ponownego logowania.', 'offline', 0),
+  array('Skąd mogę pobrać ten program aby umieścić go we własnym serwisie?', 'Galeria Coppermine jest darmową galerią multimediów, rozpowszechnianą na licencji GNU GPL. Zawiera rozbudowaną funkcjonalność i została przygotowana na różne platformy. Odwiedź <a href="http://coppermine-gallery.net/">stronę domową Coppermine</a> by dowiedzieć się więcej i ściągnąć najnowszą wersję programu.', 'offline', 0),
+
+  'Nawigowanie po stronie',
+  array('Co to jest &quot;Lista albumów&quot;?', 'Lista albumów pokazuje całą kategorię, w której obecnie się znajdujesz wraz z łączami do każdego albumu. Jeżeli nie znajdujesz się obecnie w żadnej kategorii, lista albumów wyświetli całą zawartość galerii wraz z łączami do kategorii, które zawiera. Miniatury mogą być także łączami do kategorii.', 'offline', 0),
+  array('Czym jest &quot;Moja Galeria&quot;?', 'Opcja ta umożliwia użytkownikowi serwisu tworzenie własnej galerii, dodawanie, kasowanie i modyfikowanie albumów, oraz przesyłanie do nich plików.', 1), //cpg1.4
+  array('Czym różni się &quot;Tryb Administracyjny&quot; od &quot;Trybu użytkownika&quot;?', 'Tryb administracyjny umożliwia zarządzanie albumami znajdującymi się w Twojej prywatnej galerii (a także innymi albumami - jeżeli zezwolił na to administrator).', 'allow_private_albums', 0),
+  array('Co to jest &quot;Przesłanie pliku&quot;?', 'To możliwość przesłania pliku (jego rodzaj i wielkość są określone przez administratora) do wybranych albumów.', 'allow_private_albums', 0),
+  array('Co to są &quot;Ostatnie aktualizacje&quot;?', 'Umożliwiają przejrzenie ostatnio dodanych do strony plików.', 'offline', 0),
+  array('Co to są &quot;Ostatnie komentarze&quot;?', 'Ta opcja pokazuje ostatnio dodane przez użytkowników komentarze, oraz pliki których dotyczą.', 'offline', 0),
+  array('Czym jest opcja &quot;Popularne&quot;?', 'Opcja ta pokazuje najczęściej oglądane pliki (dotyczy wszystkich użytkowników - zarówno tych zalogowanych jak i niezalogowanych).', 'offline', 0),
+  array('Co to jest &quot;Top Lista&quot;?', 'Top lista zawiera listę najwyżej ocenianych plików wraz z ich średnią oceną (np. pięciu użytkowników głosuje z oceną <img src="images/rating3.gif" width="65" height="14" border="0" alt="" />: plikowi zostanie przyznana ocena <img src="images/rating3.gif" width="65" height="14" border="0" alt="" /> ;lub wśród pięciu innych użytkowników każdy daje plikowi ocenę od 1 do 5 (1,2,3,4,5) co spowoduje przyznanie plikowi średniej oceny <img src="images/rating3.gif" width="65" height="14" border="0" alt="" /> .)<br />Klasyfikacja przedstawia się następująco: od <img src="images/rating5.gif" width="65" height="14" border="0" alt="najlepsze" /> (najlepsze) do <img src="images/rating0.gif" width="65" height="14" border="0" alt="najgorsze" /> (najgorsze).', 'offline', 0),
+  array('Czym są &quot;Ulubione&quot;?', 'Ta opcja pozwala użytkownikowi przechowywać odnośniki do ulubionych plików z galerii w pliku cookie zapisywanym przez przeglądarkę.', 'offline', 0),
+);
+
+
+// ------------------------------------------------------------------------- //
+// File forgot_passwd.php
+// ------------------------------------------------------------------------- //
+
+if (defined('FORGOT_PASSWD_PHP')) $lang_forgot_passwd_php = array(
+  'forgot_passwd' => 'Przypominanie hasła',
+  'err_already_logged_in' => 'Jesteś już zalogowany!',
+  'enter_email' => 'Wpisz swój adres e-mail', //cpg1.4
+  'submit' => 'Dalej',
+  'illegal_session' => 'Błąd sesji. Zacznij jeszcze raz.', //cpg1.4
+  'failed_sending_email' => 'Nie udało się wysłać e-maila z przypomnieniem hasła!',
+  'email_sent' => 'E-mail z twoją nazwą użytkownika i hasłem został wysłany na adres %s', //cpg1.4
+  'verify_email_sent' => 'Wysłano e-mail na adres %s. Sprawdź swoją skrzynkę pocztową aby dokończyć rejestrację.', //cpg1.4
+  'err_unk_user' => 'Wybrany użytkownik nie istnieje!',
+  'account_verify_subject' => '%s - Żądanie nowego hasła', //cpg1.4
+  'account_verify_body' => 'Zażądałeś nowego hasła. Jeśli chcesz, aby nowe hasło zostało przysłane na twój adres, otwórz poniższy odnośnik:
+
+%s', //cpg1.4
+  'passwd_reset_subject' => '%s - Twoje nowe hasło', //cpg1.4
+  'passwd_reset_body' => 'Oto nowe hasło zgodnie z żądaniem:
+Nazwa użytkownika: %s
+Hasło: %s
+Kliknij na %s aby się zalogować.', //cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File groupmgr.php
+// ------------------------------------------------------------------------- //
+
+if (defined('GROUPMGR_PHP')) $lang_groupmgr_php = array(
+  'group_name' => 'Grupa', //cpg1.4
+  'permissions' => 'Uprawnienia', //cpg1.4
+  'public_albums' => 'Wysyłanie do albumów publicznych', //cpg1.4
+  'personal_gallery' => 'Galeria osobista', //cpg1.4
+  'upload_method' => 'Metoda przesyłania', //cpg1.4
+  'disk_quota' => 'Quota', //cpg1.4
+  'rating' => 'Oceny', //cpg1.4
+  'ecards' => 'E-kartki', //cpg1.4
+  'comments' => 'Komentarze', //cpg1.4
+  'allowed' => 'Dozwolone', //cpg1.4
+  'approval' => 'Akceptowanie', //cpg1.4
+  'boxes_number' => 'Liczba pól', //cpg1.4
+  'variable' => 'zmienna', //cpg1.4
+  'fixed' => 'stała', //cpg1.4
+  'apply' => 'Zapisz zmiany',
+  'create_new_group' => 'Utwórz nową grupę',
+  'del_groups' => 'Usuń wybraną grupę / grupy',
+  'confirm_del' => 'Uwaga, po usunięciu grupy użytkownicy do niej należący zostaną przeniesieni do grupy "Zarejestrowani"! Czy chcesz kontynuować?', //js-alert
+  'title' => 'Zarządzanie grupami użytkowników',
+  'num_file_upload' => 'Pola wysyłania plików', //cpg1.4
+  'num_URI_upload' => 'Pola wysyłania adresów', //cpg1.4
+  'reset_to_default' => 'Zmień na domyślną nazwę (%s) - zalecane!', //cpg1.4
+  'error_group_empty' => 'Tabela grup była pusta!<br /><br />Utworzono domyślne grupy, proszę odświeżyć stronę', //cpg1.4
+  'explain_greyed_out_title' => 'Dlaczego ten wiersz jest wyszarzony?', //cpg1.4
+  'explain_guests_greyed_out_text' => 'Nie możesz zmienić ustawień tej grupy, ponieważ ustawiona jest opcja &quot;Zezwól niezalogowanym użytkownikom (anonimowym lub gościom) na dostęp&quot; na &quot;Nie&quot; na stronie konfiguracyjnej. Wszyscy goście (członkowie grupy %s) mogą się co najwyżej zalogować; w związku z tym ustawienia grup ich nie dotyczą.', //cpg1.4
+  'explain_banned_greyed_out_text' => 'Nie możesz zmienić ustawień grupy %s, ponieważ jej członkowie nie mogą i tak nic robić.', //cpg1.4
+  'group_assigned_album' => 'przydzielone albumy', //cpg1.4
+);// ------------------------------------------------------------------------- //
+// File index.php
+// ------------------------------------------------------------------------- //
+
+if (defined('INDEX_PHP')){
+
+$lang_index_php = array(
+  'welcome' => 'Witaj!',
+);
+
+$lang_album_admin_menu = array(
+  'confirm_delete' => 'Czy na pewno chcesz USUNĄĆ ten album?\\nWszystkie pliki i komentarze również zostaną usunięte.', //js-alert
+  'delete' => 'USUŃ',
+  'modify' => 'WŁAŚCIWOŚCI',
+  'edit_pics' => 'EDYTUJ PLIKI',
+);
+
+$lang_list_categories = array(
+  'home' => 'Strona główna',
+  'stat1' => '<b>[pictures]</b> plików w <b>[albums]</b> albumach i <b>[cat]</b> kategoriach z <b>[comments]</b> komentarzami - wyświetlono <b>[views]</b> razy',
+  'stat2' => '<b>[pictures]</b> plików w <b>[albums]</b> albumach wyświetlono <b>[views]</b> razy',
+  'xx_s_gallery' => '%s - Galeria użytkownika',
+  'stat3' => '<b>[pictures]</b> plików w <b>[albums]</b> albumach z <b>[comments]</b> komentarzami wyświetlono<b>[views]</b> razy',
+);
+
+$lang_list_users = array(
+  'user_list' => 'Lista użytkowników',
+  'no_user_gal' => 'Nie ma galerii użytkowników',
+  'n_albums' => '%s albumów',
+  'n_pics' => '%s plików',
+);
+
+$lang_list_albums = array(
+  'n_pictures' => '%s plików',
+  'last_added' => ', ostatni dodany %s',
+  'n_link_pictures' => '%s dołączonych plików', //cpg1.4
+  'total_pictures' => 'łącznie %s plików', //cpg1.4
+);
+
+}
+
+// ------------------------------------------------------------------------- //
+// File keywordmgr.php //cpg1.4
+// ------------------------------------------------------------------------- //
+
+if (defined('KEYWORDMGR_PHP')) $lang_keywordmgr_php = array(
+  'title' => 'Zarządzanie słowami kluczowymi', //cpg1.4
+  'edit' => 'edytuj', //cpg1.4
+  'delete' => 'usuń', //cpg1.4
+  'search' => 'szukaj', //cpg1.4
+  'keyword_test_search' => 'szukaj słowa %s w nowym oknie', //cpg1.4
+  'keyword_del' => 'usuń słowo kluczowe %s', //cpg1.4
+  'confirm_delete' => 'Czy na pewno chcesz usunąć słowo kluczowe %s z galerii?', //cpg1.4  // js-alert
+  'change_keyword' => 'zmień słowo kluczowe', //cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File login.php
+// ------------------------------------------------------------------------- //
+
+if (defined('LOGIN_PHP')) $lang_login_php = array(
+  'login' => 'Login',
+  'enter_login_pswd' => 'Wpisz swój login i hasło',
+  'username' => 'Login',
+  'password' => 'Hasło',
+  'remember_me' => 'Pamiętaj mnie',
+  'welcome' => 'Witaj %s ...',
+  'err_login' => '*** Nie możesz się zalogować, spróbuj jeszcze raz ***',
+  'err_already_logged_in' => 'Jesteś już zalogowany !',
+  'forgot_password_link' => 'Zapomniałem hasła',
+  'cookie_warning' => 'Uwaga, Twoja przeglądarka nie obsługuje ciasteczek', //cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File logout.php
+// ------------------------------------------------------------------------- //
+
+if (defined('LOGOUT_PHP')) $lang_logout_php = array(
+  'logout' => 'Wyloguj się',
+  'bye' => 'Pa pa %s...',
+  'err_not_loged_in' => 'Nie jesteś zalogowany !',
+);
+
+// ------------------------------------------------------------------------- //
+// File minibrowser.php  //cpg1.4
+// ------------------------------------------------------------------------- //
+
+if (defined('MINIBROWSER_PHP')) $lang_minibrowser_php = array(
+  'close' => 'Zamknij', //cpg1.4
+  'submit' => 'OK', //cpg1.4
+  'up' => 'Wyżej o jeden ', //cpg1.4
+  'current_path' => 'bieżąca ścieżka', //cpg1.4
+  'select_directory' => 'proszę wybrać katalog', //cpg1.4
+  'click_to_close' => 'Kliknij na obrazie by zamknąć okno',
+);
+
+// ------------------------------------------------------------------------- //
+// File modifyalb.php
+// ------------------------------------------------------------------------- //
+
+if (defined('MODIFYALB_PHP')) $lang_modifyalb_php = array(
+  'upd_alb_n' => 'Aktualizuj album %s',
+  'general_settings' => 'Ogólne ustawienia',
+  'alb_title' => 'Tytuł albumu',
+  'alb_cat' => 'Kategoria albumu',
+  'alb_desc' => 'Opis albumu',
+  'alb_keyword' => 'Słowo kluczowe albumu', //cpg1.4
+  'alb_thumb' => 'Miniaturka albumu',
+  'alb_perm' => 'Uprawnienia dla tego albumu',
+  'can_view' => 'Album mogą przeglądać',
+  'can_upload' => 'Odwiedzający mogą dodawać pliki',
+  'can_post_comments' => 'Odwiedzający mogą pisać komentarze',
+  'can_rate' => 'Odwiedzający mogą oceniać obrazy',
+  'user_gal' => 'Galeria użytkownika',
+  'no_cat' => '* Brak kategorii *',
+  'alb_empty' => 'Album jest pusty',
+  'last_uploaded' => 'Ostatnio dodane',
+  'public_alb' => 'Wszyscy (album publiczny)',
+  'me_only' => 'Tylko ja',
+  'owner_only' => 'Tylko właściciel (%s) albumu',
+  'groupp_only' => 'Członkowie grupy \'%s\'',
+  'err_no_alb_to_modify' => 'W bazie danych nie ma albumu który mógłbyś zmienić.',
+  'update' => 'Aktualizuj album',
+  'reset_album' => 'Resetuj album', //cpg1.4
+  'reset_views' => 'Ustaw licznik wyświetleń na &quot;0&quot; dla %s', //cpg1.4
+  'reset_rating' => 'Ustaw oceny wszystkich plików na %s', //cpg1.4
+  'delete_comments' => 'Usuń wszystkie komentarze w %s', //cpg1.4
+  'delete_files' => '%sNieodwracalnie%s usuń wszystkie pliki w %s', //cpg1.4
+  'views' => 'wyświetleń', //cpg1.4
+  'votes' => 'głosów', //cpg1.4
+  'comments' => 'komentarzy', //cpg1.4
+  'files' => 'plików', //cpg1.4
+  'submit_reset' => 'zapisz zmiany', //cpg1.4
+  'reset_views_confirm' => 'Na pewno', //cpg1.4
+  'notice1' => '(*) w zależności od ustawień %sgrup%s ',  //cpg1.4 //(do not translate %s!)
+  'alb_password' => 'Hasło albumu', //cpg1.4
+  'alb_password_hint' => 'Podpowiedź do hasła albumu', //cpg1.4
+  'edit_files' =>'Edytuj pliki', //cpg1.4
+  'parent_category' =>'Kategoria nadrzędna', //cpg1.4
+  'thumbnail_view' =>'Widok miniatur', //cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File phpinfo.php
+// ------------------------------------------------------------------------- //
+
+if (defined('PHPINFO_PHP')) $lang_phpinfo_php = array(
+  'php_info' => 'PHP info',
+  'explanation' => 'This is the output generated by the PHP-function <a href="http://www.php.net/phpinfo">phpinfo()</a>, displayed within Coppermine (trimming the output at the right side).',
+  'no_link' => 'Having others see your phpinfo can be a security risk, that\'s why this page is only visible when you\'re logged in as admin. You can not post a link to this page for others, they will be denied access.',
+);
+
+// ------------------------------------------------------------------------- //
+// File picmgr.php //cpg1.4
+// ------------------------------------------------------------------------- //
+if (defined('PICMGR_PHP')) $lang_picmgr_php = array(
+  'pic_mgr' => 'Picture Manager', //cpg1.4
+  'select_album' => 'Select Album', //cpg1.4
+  'delete' => 'Delete', //cpg1.4
+  'confirm_delete1' => 'Are you sure you want to delete this picture ?', //cpg1.4
+  'confirm_delete2' => '\nPicture will be permanently deleted.', //cpg1.4
+  'apply_modifs' => 'Apply modifications', //cpg1.4
+  'confirm_modifs' => 'Confirm modifications', //cpg1.4
+  'pic_need_name' => 'Picture needs to have a name !', //cpg1.4
+  'no_change' => 'You did not make any change !', //cpg1.4
+  'no_album' => '* No album *', //cpg1.4
+  'explanation_header' => 'The custom sort order you can specify on this page will only be taken into account if', //cpg1.4
+  'explanation1' => 'the admin has set the "Default sort order for files" in the config to "Position descending" or "Position ascending" (global setting for all users who haven\'t chosen another sort option individually)', //cpg1.4
+  'explanation2' => 'the user has chosen "Position descending" or "Position ascending" on the thumbail page (per user setting)', //cpg1.4
+);
+
+
+// ------------------------------------------------------------------------- //
+// File pluginmgr.php //cpg1.4
+// ------------------------------------------------------------------------- //
+
+if (defined('PLUGINMGR_PHP')){
+
+$lang_pluginmgr_php = array(
+  'confirm_uninstall' => 'Czy na pewno chcesz ODINSTALOWAĆ tę wtyczkę?', //cpg1.4
+  'confirm_delete' => 'Czy na pewno chcesz USUNĄĆ tę wtyczkę?', //cpg1.4
+  'pmgr' => 'Zarządzanie wtyczkami', //cpg1.4
+  'name' => 'Nazwa', //cpg1.4
+  'author' => 'Autor', //cpg1.4
+  'desc' => 'Opis', //cpg1.4
+  'vers' => 'v', //cpg1.4
+  'i_plugins' => 'Zainstalowane wtyczki', //cpg1.4
+  'n_plugins' => 'Niezainstalowane wtyczki', //cpg1.4
+  'none_installed' => 'Niczego nie zainstalowano', //cpg1.4
+  'operation' => 'Operacja', //cpg1.4
+  'not_plugin_package' => 'Nadesłany plik nie jest pakietem wtyczki.', //cpg1.4
+  'copy_error' => 'Wystąpił błąd przy kopiowaniu pakietu do katalogu wtyczek.', //cpg1.4
+  'upload' => 'Wyślij', //cpg1.4
+  'configure_plugin' => 'Konfiguruj wtyczkę', //cpg1.4
+  'cleanup_plugin' => 'Przeczyść wtyczkę', //cpg1.4
+);
+}
+
+// ------------------------------------------------------------------------- //
+// File ratepic.php
+// ------------------------------------------------------------------------- //
+
+if (defined('RATEPIC_PHP')) $lang_rate_pic_php = array(
+  'already_rated' => 'Już oceniłeś ten plik.',
+  'rate_ok' => 'Twoja ocena została przyjęta',
+  'forbidden' => 'Nie możesz oceniać swoich własnych plików.',
+);
+
+// ------------------------------------------------------------------------- //
+// File register.php & profile.php
+// ------------------------------------------------------------------------- //
+
+if (defined('REGISTER_PHP') || defined('PROFILE_PHP')) {
+
+$lang_register_disclamer = <<<EOT
+Administratorzy serwisu {SITE_NAME} dokładają wszelkich starań by usuwać lub zmieniać publikowane przez użytkowników treści ogólnie przyjęte za obraźliwe, łamiące prawo, lub obsceniczne, jest jednak niemożliwe by przejrzeć każdy post. Dlatego musisz zobowiązać się, że wszelkie opinie, materiały i komentarze jakie zamieścisz na stronach serwisu reprezentują wyłącznie Twoje poglądy, a nie poglądy osób zarządzających serwisem.<br />
+<br />
+Niniejszym zobowiązujesz się, by nie zamieszczać na stronach serwisu {SITE_NAME} materiałów obraźliwych, obscenicznych, wulgarnych, pornograficznych, nawołujących do użycia przemocy, stanowiących zagrożenie dla bezpieczeństwa publicznego, oraz innych materiałów, których przedstawienie na stronach serwisu mogłoby stanowić złamanie obowiązującego prawa. Przyjmujesz do wiadomości, że administrator lub moderatorzy serwisu {SITE_NAME} mają prawo do edycji i usuwania dowolnych zamieszczonych przez Ciebie treści niezgodnych z tym regulaminem. Jako użytkownik serwisu zgadzasz się na przechowywanie informacji niezbędnych do obsługi Twojego konta w bazie danych serwisu, oraz otrzymujesz prawo do ich modyfikacji oraz usunięcia w dowolnej chwili. W tym celu należy skontaktować się z administratorem serwisu. Informacje te nie będą przekazywane osobom trzecim bez Twojej zgody, jednakże administratorzy serwisu nie mogą ponoszą odpowiedzialności za kradzież tych informacji w wypadku działań osób nieuprawnionych.<br />
+<br />
+Serwis {SITE_NAME} używa plików cookie do przechowywania informacji na Twoim komputerze. Służą one jedynie do poprawienia komfortu przeglądania zawartości serwisu. Twój adres e-mail jest używany jedynie do wysyłania potwierdzeń dotyczących rejestracji w serwisie. <br />
+<br />
+Kliknięcie znajdującego się poniżej przycisku 'Zgadzam się' oznacza zgodę na przedstawiony wyżej regulamin serwisu.
+EOT;
+
+$lang_register_php = array(
+  'page_title' => 'Rejestracja nowego użytkownika',
+  'term_cond' => 'Warunki rejestracji',
+  'i_agree' => 'Zgadzam się',
+  'submit' => 'Kontynuuj rejestrację',
+  'err_user_exists' => 'Użytkownik o takiej nazwie już istnieje. Wybierz inną nazwę',
+  'err_password_mismatch' => 'Potwierdzenie hasła nie zgadza się z hasłem',
+  'err_uname_short' => 'Nazwa użytkownika musi mieć co najmniej 2 litery',
+  'err_password_short' => 'Hasło musi mieć co najmniej 2 litery',
+  'err_uname_pass_diff' => 'Login i hasło nie mogą być identyczne',
+  'err_invalid_email' => 'Nieprawidłowy adres e-mail',
+  'err_duplicate_email' => 'Inny zarejestrowany uzytkownik użył już tego adresu e-amil. Użyj innego adresu.',
+  'enter_info' => 'Wprowadź informacje potrzebne do rejestracji',
+  'required_info' => 'Wymagane informacje',
+  'optional_info' => 'Informacje dodatkowe',
+  'username' => 'Użytkownik',
+  'password' => 'Hasło',
+  'password_again' => 'Powtórz hasło',
+  'email' => 'E-mail',
+  'location' => 'Miasto',
+  'interests' => 'Zainteresowania',
+  'website' => 'Strona www',
+  'occupation' => 'Zawód',
+  'error' => 'Błąd',
+  'confirm_email_subject' => '%s - Informacja o rejestracji',
+  'information' => 'Informacja',
+  'failed_sending_email' => 'E-mail z potwierdzeniem rejestracji nie mógł zostać wysłany !',
+  'thank_you' => 'Dziękujemy za zarejestrowanie się.<br /><br />Wiadomość z informacją jak aktywować konto została wysłana na Twój adres podany przy rejestracji.',
+  'acct_created' => 'Twoje konto zostało utworzone. Możesz zalogować się używając swojego loginu i hasła.',
+  'acct_active' => 'Twoje konto jest już aktywne. Możesz zalogować się używając swojego loginu i hasła',
+  'acct_already_act' => 'Konto jest już aktywne!', //cpg1.4
+  'acct_act_failed' => 'To konto nie może być aktywowane!',
+  'err_unk_user' => 'Wybrany użytkownik nie istnieje!',
+  'x_s_profile' => '%s - profil użytkownika',
+  'group' => 'Grupa',
+  'reg_date' => 'Dołączył',
+  'disk_usage' => 'Miejsce na serwerze',
+  'change_pass' => 'Zmień hasło',
+  'current_pass' => 'Aktualne hasło',
+  'new_pass' => 'Nowe hasło',
+  'new_pass_again' => 'Powtórz nowe hasło',
+  'err_curr_pass' => 'Aktualne hasło jest nieprawidłowe',
+  'apply_modif' => 'Zastosuj zmiany',
+  'change_pass' => 'Zmiana hasła',
+  'update_success' => 'Twój profil został uaktualniony',
+  'pass_chg_success' => 'Twoje hasło zostało zmienione',
+  'pass_chg_error' => 'Twoje hasło nie zostało zmienione',
+  'notify_admin_email_subject' => 'Powiadomienie o nowej rejestracji w {SITE_NAME}',
+  'last_uploads' => 'Ostatnio dodany plik.<br />Kliknij żeby zobaczyć wszystkie przesłane pliki', //cpg1.4
+  'last_comments' => 'Ostatni komentarz.<br />Kliknj żeby zobaczyć wszystkie komentarze', //cpg1.4
+  'notify_admin_email_body' => 'Nowy użytkownik o nazwie "%s" właśnie zarejestrował się w Twojej Galerii',
+  'pic_count' => 'Plików przesłanych', //cpg1.4
+  'notify_admin_request_email_subject' => 'Powiadomienie o nowej rejestracji w Galerii', //cpg1.4
+  'thank_you_admin_activation' => 'Dziękujemy.<br /><br />Twoja prośba o aktywację konta w Galerii została przesłana do Administratora. Otrzymasz e-mail z informacją o aktywacji (lub nie).', //cpg1.4
+  'acct_active_admin_activation' => 'Konto jest akywne. Powiadomienie zostało wysłane do użytkownika.', //cpg1.4
+  'notify_user_email_subject' => '{SITE_NAME} - powiadomienie o aktywacji', //cpg1.4
+);
+
+$lang_register_confirm_email = <<<EOT
+Dziekujemy za rejestracje w {SITE_NAME}
+
+Aby dokończyć aktywację Twojego konta "{USER_NAME}", kliknij w link poniżej lub skopiuj go i wklej do paska adresu swojej przeglądarki internetowej.
+
+<a href="{ACT_LINK}">{ACT_LINK}</a>
+
+Aministratorzy {SITE_NAME}
+
+EOT;
+
+$lang_register_approve_email = <<<EOT
+Nowy użytkownik o nazwie "{USER_NAME}" właśnie zarejestrował się w Twojej Galerii.
+
+Aby dokończyc aktywację konta, kliknij w link poniżej lub skopiuj go i wklej do paska adresu swojej przeglądarki internetowej.
+
+<a href="{ACT_LINK}">{ACT_LINK}</a>
+
+EOT;
+
+$lang_register_activated_email = <<<EOT
+Twoje konto zostało zatwierdzone i jest już aktywne.
+
+Możesz zalogować się na <a href="{SITE_LINK}">{SITE_LINK}</a> używając "{USER_NAME}" jako nazwy użytkownika.
+
+Aministratorzy {SITE_NAME}
+
+EOT;
+}
+
+// ------------------------------------------------------------------------- //
+// File reviewcom.php
+// ------------------------------------------------------------------------- //
+
+if (defined('REVIEWCOM_PHP')) $lang_reviewcom_php = array(
+  'title' => 'Akceptowanie komentarzy',
+  'no_comment' => 'Nie ma komentarzy do akceptacji',
+  'n_comm_del' => 'usunięto %s komentarzy',
+  'n_comm_disp' => 'Liczba wyświetlanych komentarzy',
+  'see_prev' => 'Zobacz poprzedni',
+  'see_next' => 'Zobacz następny',
+  'del_comm' => 'Usuń wybrane komentarze',
+  'user_name' => 'Użytkownik', //cpg1.4
+  'date' => 'Data', //cpg1.4
+  'comment' => 'Komentarz', //cpg1.4
+  'file' => 'Plik', //cpg1.4
+  'name_a' => 'Wg nazwy użytkownika rosnąco', //cpg1.4
+  'name_d' => 'Wg nazwy użytkownika malejąco', //cpg1.4
+  'date_a' => 'Wg daty rosnąco', //cpg1.4
+  'date_d' => 'Wg daty malejąco', //cpg1.4
+  'comment_a' => 'Wg treści komentarza rosnąco', //cpg1.4
+  'comment_d' => 'Wg treści komentarza malejąco', //cpg1.4
+  'file_a' => 'Wg pliku rosnąco', //cpg1.4
+  'file_d' => 'Wg pliku malejąco', //cpg1.4
+);
+
+
+// ------------------------------------------------------------------------- //
+// File search.php                                                           //
+// ------------------------------------------------------------------------- //
+
+
+if (defined('SEARCH_PHP')){
+
+$lang_search_php = array(
+  'title' => 'Przeszukiwanie listy plików', //cpg1.4
+  'submit_search' => 'szukaj', //cpg1.4
+  'keyword_list_title' => 'Lista słów kluczowych', //cpg1.4
+  'keyword_msg' => 'Powyższa lista nie jest ostateczna. Nie zawiera słów zawartych w tytułach lub opisach zdjęć. Spróbuj wyszukiwania pełnotekstowego.',  //cpg1.4
+  'edit_keywords' => 'Edytuj słowa kluczowe', //cpg1.4
+  'search in' => 'Szukaj w:', //cpg1.4
+  'ip_address' => 'adres IP', //cpg1.4
+  'fields' => 'Szukaj w:', //cpg1.4
+  'age' => 'Wiek', //cpg1.4
+  'newer_than' => 'Nowsze niż', //cpg1.4
+  'older_than' => 'Starsze niż', //cpg1.4
+  'days' => 'dni', //cpg1.4
+  'all_words' => 'Wszystkie słowa (AND)', //cpg1.4
+  'any_words' => 'Dowolne ze słów (OR)', //cpg1.4
+);
+
+$lang_adv_opts = array(
+  'title' => 'Tytuł', //cpg1.4
+  'caption' => 'Nagłówek', //cpg1.4
+  'keywords' => 'Słowa kluczowe', //cpg1.4
+  'owner_name' => 'Właściciel', //cpg1.4
+  'filename' => 'Nazwa pliku', //cpg1.4
+);
+
+}
+
+// ------------------------------------------------------------------------- //
+// File searchnew.php
+// ------------------------------------------------------------------------- //
+
+if (defined('SEARCHNEW_PHP')) $lang_search_new_php = array(
+  'page_title' => 'Szukaj nowych plików',
+  'select_dir' => 'Wybierz katalog',
+  'select_dir_msg' => 'Ta funkcja pozwala na dodawanie grupy plików które przesłałeś na serwer poprzez FTP.<br /><br />Wybierz katalog, do którego nadesłałeś swoje pliki.', //cpg1.4
+  'no_pic_to_add' => 'Nie ma pliku do dodania',
+  'need_one_album' => 'Musisz mieć co najmniej jeden album aby użyć tej funkcji',
+  'warning' => 'Uwaga',
+  'change_perm' => 'skrypt nie może pisać w tym katalogu, musisz zmienić jego uprawnienia na 755 lub 777 zanim dodasz pliki!',
+  'target_album' => '<b>Umieść pliki z &quot;</b>%s<b>&quot; w albumie </b>%s',
+  'folder' => 'Folder',
+  'image' => 'plik',
+  'album' => 'Album',
+  'result' => 'Rezultat',
+  'dir_ro' => 'Tylko do odczytu. ',
+  'dir_cant_read' => 'Brak praw odczytu. ',
+  'insert' => 'Dodawanie nowych plików do galerii',
+  'list_new_pic' => 'Lista nowych plików',
+  'insert_selected' => 'Wstaw wybrane pliki',
+  'no_pic_found' => 'Brak nowych plików',
+  'be_patient' => 'Proszę czekać, dodawanie plików może zająć dłuższą chwilę.',
+  'no_album' => 'nie wybrano albumu',
+  'result_icon' => 'kliknij aby uzyskać szczegółowe informacje lub odświeżyć',  //cpg1.4
+  'notes' =>  '<ul>'.
+                          '<li><b>OK</b>: oznacza, że plik został pomyślnie dodany'.
+                          '<li><b>DP</b>: oznacza, że plik jest kopią innego, znajdującego się już w bazie danych'.
+                          '<li><b>PB</b>: oznacza, że plik nie mógł zostać dodany, sprawdź ustawienia i uprawnienia katalogów, w których znajdują się pliki'.
+                          '<li><b>NA</b>: oznacza, że nie wybrałeś albumu, do którego powinny zostać dodane zdjęcia. Kliknij \'<a href="javascript:history.back(1)">wstecz</a>\' i wybierz album. Jeśli nie masz albumu, <a href="albmgr.php">utwórz go</a></li>'.
+                          '<li>Jeżeli nie pojawiają się ikony OK, DP, PB, kliknij na obrazek zastępczy aby zobaczyć komunikat o ewentualnych błędach'.
+                          '<li>Jeżeli twoja przeglądarka przerwie oczekiwanie, wciśnij "Odśwież"'.
+                          '</ul>',
+  'select_album' => 'wybierz album',
+  'check_all' => 'Zaznacz wszystko',
+  'uncheck_all' => 'Odznacz wszystko',
+  'no_folders' => 'Nie ma jeszcze podkatalogów w katalogu "albumy". Pamiętaj aby utworzyć co najmniej jeden katalog podrzędny w katalogu "albumy" i tam przesyłać pliki. Nie powinieneś przesyłać plików do katalogów "userpics" lub "edit", są przeznaczone do przesyłania przez http oraz celów własnych galerii.', //cpg1.4
+   'albums_no_category' => 'Albumy bez kategorii', //cpg1.4 // album pulldown mod, added by frogfoot
+  'personal_albums' => '* Albumy osobiste', //cpg1.4 // album pulldown mod, added by frogfoot
+  'browse_batch_add' => 'Interfejs z podglądem (zalecany)', //cpg1.4
+  'edit_pics' => 'Edytuj pliki', //cpg1.4
+  'edit_properties' => 'Ustawienia albumu', //cpg1.4
+  'view_thumbs' => 'Podgląd miniatur', //cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File stat_details.php //cpg1.4
+// ------------------------------------------------------------------------- //
+
+if (defined('STAT_DETAILS_PHP')) $lang_stat_details_php = array(
+  'show_hide' => 'pokaż/ukryj tę kolumnę', //cpg1.4
+  'vote' => 'Szczegóły głosowania', //cpg1.4
+  'hits' => 'Szczegóły wyświetleń', //cpg1.4
+  'stats' => 'Statystyki głosowania', //cpg1.4
+  'sdate' => 'Data', //cpg1.4
+  'rating' => 'Ocena', //cpg1.4
+  'search_phrase' => 'Fraza wyszukiwana', //cpg1.4
+  'referer' => 'Odsyłający', //cpg1.4
+  'browser' => 'Przeglądarka', //cpg1.4
+  'os' => 'System operacyjny', //cpg1.4
+  'ip' => 'IP', //cpg1.4
+  'sort_by_xxx' => 'Sortuj wg: %s', //cpg1.4
+  'ascending' => 'rosnąco', //cpg1.4
+  'descending' => 'malejąco', //cpg1.4
+  'internal' => 'wewn', //cpg1.4
+  'close' => 'zamknij', //cpg1.4
+  'hide_internal_referers' => 'ukryj własnych odsyłających', //cpg1.4
+  'date_display' => 'Data wyświetlenia', //cpg1.4
+  'submit' => 'wyślij / odśwież', //cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File thumbnails.php
+// ------------------------------------------------------------------------- //
+
+// Void
+
+// ------------------------------------------------------------------------- //
+// File upload.php
+// ------------------------------------------------------------------------- //
+
+if (defined('UPLOAD_PHP')) $lang_upload_php = array(
+  'title' => 'Prześlij plik',
+  'custom_title' => 'Dostosowany formularz wysyłki',
+  'cust_instr_1' => 'Możesz wybrać własną liczbę pól wysyłki. Nie możesz jednak wybrać więcej niż wynosi podany poniżej limit.',
+  'cust_instr_2' => 'Wybór liczby pól',
+  'cust_instr_3' => 'Pola przesyłu plików: %s',
+  'cust_instr_4' => 'Pola przesyłu adresów URL: %s',
+  'cust_instr_5' => 'Pola przesyłu adresów URL:',
+  'cust_instr_6' => 'Pola przesyłu plików:',
+  'cust_instr_7' => 'Proszę wpisać odpowiednią liczbę pól każdego typu przesyłu, a następnie kliknąć \'Dalej\'. ',
+  'reg_instr_1' => 'Nieprawidłowe działanie przy tworzeniu formularza.',
+  'reg_instr_2' => 'Możesz teraz przesłać pliki używając poniższych pól formularza. Rozmiar każdego z nadesłanych plików nie powinien przekraczać %s KB. Pliki wysłane w sekcjach \'Wysyłanie plików\' i \'Wysyłanie adresów URL\' nie zostaną rozpakowane.',
+  'reg_instr_3' => 'Jeśli chcesz aby przesłane pliki zostały rozpakowane, musisz użyć pola wysyłki umieszczonego w sekcji \'Wysyłanie plików ZIP z rozpakowaniem\'.',
+  'reg_instr_4' => 'Używając sekcji przesyłu adresów URL wpisz ścieżkę do pliku w postaci: http://www.mysite.com/images/example.jpg',
+  'reg_instr_5' => 'Kiedy skończysz wypełniać formularz, kliknij \'Dalej\'.',
+  'reg_instr_6' => 'Wysyłanie plików ZIP z rozpakowaniem:',
+  'reg_instr_7' => 'Wysyłanie plików:',
+  'reg_instr_8' => 'Wysyłanie adresów URL:',
+  'error_report' => 'Raport o błędach',
+  'error_instr' => 'Następujące pliki napotkały na problemy przy przesyłaniu:',
+  'file_name_url' => 'Nazwa pliku/adres URL',
+  'error_message' => 'Treść błędu',
+  'no_post' => 'Plik nie wysłany metodą POST.',
+  'forb_ext' => 'Niedozwolone rozszerzenie pliku.',
+  'exc_php_ini' => 'Przekroczono rozmiar pliku dozwolony w php.ini.',
+  'exc_file_size' => 'Przekroczono rozmiar pliku dozwolony przez CPG.',
+  'partial_upload' => 'Częściowa wysyłka.',
+  'no_upload' => 'Nie nastąpiła wysyłka.',
+  'unknown_code' => 'Nieznany błąd przesyłu PHP.',
+  'no_temp_name' => 'Brak wysyłu - brak nazwy tymczasowej.',
+  'no_file_size' => 'Nie zawiera danych/uszkodzony',
+  'impossible' => 'Przeniesienie niemożliwe.',
+  'not_image' => 'To nie jest plik obrazu/uszkodzony',
+  'not_GD' => 'Plik nieobsługiwany przez GD.',
+  'pixel_allowance' => 'Wysokość i/lub szerokość nadesłanego obrazu jest większa niż wymiary określone przez galerię.', //cpg1.4
+  'incorrect_prefix' => 'Nieprawidłowy przedrostek adresu URL',
+  'could_not_open_URI' => 'Nie udało się połączyć z adresem URI.',
+  'unsafe_URI' => 'Bezpieczeństwo niemożliwe do zweryfikowania.',
+  'meta_data_failure' => 'Błąd metadanych',
+  'http_401' => '401 Brak autoryzacji',
+  'http_402' => '402 Wymagana płatność',
+  'http_403' => '403 Dostęp zabroniony',
+  'http_404' => '404 Nie znaleziono',
+  'http_500' => '500 Wewnętrzny błąd serwera',
+  'http_503' => '503 Usługa niedostępna',
+  'MIME_extraction_failure' => 'Nie udało się określić typu MIME.',
+  'MIME_type_unknown' => 'Nieznany typ MIME',
+  'cant_create_write' => 'Nie udało się utworzyć/zapisać pliku.',
+  'not_writable' => 'Nie udało się zapisać do pliku.',
+  'cant_read_URI' => 'Nie udało się odczytać adresu URI/URL',
+  'cant_open_write_file' => 'Nie można było otworzyć pliku zapisu dla adresu URL.',
+  'cant_write_write_file' => 'Nie można pisać do pliku zapisu dla adresu URL.',
+  'cant_unzip' => 'Nie udało się rozpakować.',
+  'unknown' => 'Nieznany błąd',
+  'succ' => 'Prawidłowo przesłane',
+  'success' => '%s prawidłowo przesłanych plików.',
+  'add' => 'Proszę kliknąć na \'Dalej\' aby dodać pliki do albumów.',
+  'failure' => 'Błąd przesyłu',
+  'f_info' => 'Informacja o pliku',
+  'no_place' => 'Poprzedni plik nie został prawidłowo umieszczony.',
+  'yes_place' => 'Poprzedni plik został prawidłowo umieszczony.',
+  'max_fsize' => 'Maksymalny dopuszczalny rozmiar pliku to %s KB',
+  'album' => 'Album',
+  'picture' => 'Plik',
+  'pic_title' => 'Tytuł pliku',
+  'description' => 'Opis pliku',
+  'keywords' => 'Słowa kluczowe (oddzielaj spacjami)<br /><a href="#" onClick="return MM_openBrWindow(\'keyword_select.php\',\'selectKey\',\'width=250, height=400, scrollbars=yes,toolbar=no,status=yes,resizable=yes\')">Wstaw z listy</a>', //cpg1.4
+  'keywords_sel' =>'Wybierz słowo kluczowe', //cpg1.4
+  'err_no_alb_uploadables' => 'Przepraszamy. Nie możesz wysyłać plików do żadnego albumu',
+  'place_instr_1' => 'Proszę teraz umieścić pliki w albumach. Możesz również podać istotne informacje o każdym z nich.',
+  'place_instr_2' => 'Więcej plików czeka na rozmieszczenie w albumach. Proszę kliknąć \'Dalej\'.',
+  'process_complete' => 'Wstawianie plików do albumów zakończyło się powodzeniem.',
+   'albums_no_category' => 'Albumy bez kategorii', //cpg1.4. //album pulldown mod, added by frogfoot
+  'personal_albums' => '* Albumy osobiste', //cpg1.4 //album pulldown mod, added by frogfoot
+  'select_album' => 'Wybierz album', //cpg1.4 //album pulldown mod, added by frogfoot
+  'close' => 'Zamknij', //cpg1.4
+  'no_keywords' => 'Brak dostępnych słów kluczowych!', //cpg1.4
+  'regenerate_dictionary' => 'Zbuduj ponownie słownik', //cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File usermgr.php
+// ------------------------------------------------------------------------- //
+
+if (defined('USERMGR_PHP')) $lang_usermgr_php = array(
+  'memberlist' => 'Lista użytkowników', //cpg1.4
+  'user_manager' => 'Opcję użytkowników', //cpg1.4
+  'title' => 'Zarządzaj użytkownikami',
+  'name_a' => 'Imiona rosnąco',
+  'name_d' => 'Imiona malejąco',
+  'group_a' => 'Grupy rosnąco',
+  'group_d' => 'Grupy malejąco',
+  'reg_a' => 'Data rejestracji rosnąco',
+  'reg_d' => 'Data rejestracji malejąco',
+  'pic_a' => 'Pliki rosnąco',
+  'pic_d' => 'Pliki malejąco',
+  'disku_a' => 'Miejsce na serwerze rosnąco',
+  'disku_d' => 'Miejsce na serwerze malejąco',
+  'lv_a' => 'Ostatnia wizyta rosnąco',
+  'lv_d' => 'Ostatnia wizyta malejąco',
+  'sort_by' => 'Sortuj użytkowników wg.',
+  'err_no_users' => 'Tabela użytkowników jest pusta !',
+  'err_edit_self' => 'Nie możesz edytować swojego profilu, użyj "Mój profil" na stronie głównej',
+  'edit' => 'Edycja', //cpg1.4
+  'with_selected' => 'Wybrane:', //cpg1.4
+  'delete' => 'Usuń', //cpg1.4
+  'delete_files_no' => 'zachowaj publiczne pliki (ale jako anonimowe)', //cpg1.4
+  'delete_files_yes' => 'usuń również publiczne pliki', //cpg1.4
+  'delete_comments_no' => 'zachowaj komentarze (ale jako anonimowe)', //cpg1.4
+  'delete_comments_yes' => 'usuń również komentarze', //cpg1.4
+  'activate' => 'Aktywacja', //cpg1.4
+  'deactivate' => 'Deaktywacja', //cpg1.4
+  'reset_password' => 'Zresetuj hasło', //cpg1.4
+  'change_primary_membergroup' => 'Usuń główną grupę', //cpg1.4
+  'add_secondary_membergroup' => 'Dodaj grupę', //cpg1.4
+  'name' => 'Nazwa',
+  'group' => 'Grupa',
+  'inactive' => 'Nieaktywny',
+  'operations' => 'Operacje',
+  'pictures' => 'Pliki',
+  'disk_space_used' => 'Użyte miejsce', //cpg1.4
+  'disk_space_quota' => 'Miejsce', //cpg1.4
+  'registered_on' => 'Rejestracja', //cpg1.4
+  'last_visit' => 'Ostatnia wizyta',
+  'u_user_on_p_pages' => '%d użytkowników na %d stronach',
+  'confirm_del' => 'Jesteś pewien, że chcesz USUNĄĆ tego użytkownika ? \\nWszystkie jego pliki i albumy również zostaną usunięte.', //js-alert
+  'mail' => 'MAIL',
+  'err_unknown_user' => 'Wybrany użytkownik nie istnieje !',
+  'modify_user' => 'Uaktualnij dane o użytkowniku',
+  'notes' => 'Notki',
+  'note_list' => '<li>Jeśli nie chcesz zmieniać aktualnego hasła pozostaw pole "Hasło" puste"',
+  'password' => 'Hasło',
+  'user_active' => 'Użytkownik jest aktywny',
+  'user_group' => 'Grupa użytkowników',
+  'user_email' => 'e-Mail użytkownika',
+  'user_web_site' => 'Strona WWW',
+  'create_new_user' => 'Dodaj konto',
+  'user_location' => 'Lokalizacja',
+  'user_interests' => 'Zainteresowania',
+  'user_occupation' => 'Zajęcie',
+  'user_profile1' => '$user_profile1', //cpg1.4
+  'user_profile2' => '$user_profile2', //cpg1.4
+  'user_profile3' => '$user_profile3', //cpg1.4
+  'user_profile4' => '$user_profile4', //cpg1.4
+  'user_profile5' => '$user_profile5', //cpg1.4
+  'user_profile6' => '$user_profile6', //cpg1.4
+  'latest_upload' => 'Ostatnio dodane pliki',
+  'never' => 'Nigdy',
+  'search' => 'Szukanie użytkowników', //cpg1.4
+  'submit' => 'Potwierdź', //cpg1.4
+  'search_submit' => 'Dalej!', //cpg1.4
+  'search_result' => 'Szukaj wśród wyników: ', //cpg1.4
+  'alert_no_selection' => 'Musisz wybrać najpierw co najmniej jednego użytkownika!', //cpg1.4 //js-alert
+  'password' => 'Hasło', //cpg1.4
+  'select_group' => 'Wybierz grupę', //cpg1.4
+  'groups_alb_access' => 'Dostęp do albumów', //cpg1.4
+  'album' => 'Album', //cpg1.4
+  'category' => 'Kategoria', //cpg1.4
+  'modify' => 'Zmienić?', //cpg1.4
+  'group_no_access' => 'Ta grupa nie ma dostępu', //cpg1.4
+  'notice' => 'Notka', //cpg1.4
+  'group_can_access' => 'Album(y) do którego ma dostęp tylko grupa "%s" ', //cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File util.php
+// ------------------------------------------------------------------------- //
+
+if (defined('UTIL_PHP')) {
+$lang_util_desc_php = array(
+'Pobiera tytuły plików z ich nazw', //cpg1.4
+'Usuwa tytuły', //cpg1.4
+'Odbudowuje miniatury i pomniejszone zdjęcia', //cpg1.4
+'Usuwa oryginalne obrazy i zastępuje je zmniejszonymi wersjami', //cpg1.4
+'Usuwa oryginalne lub pomniejszone obrazy w celu zwolnienia miejsca', //cpg1.4
+'Usuwa komentarze nie posiadające autora', //cpg1.4
+'Odczytuje ponownie rozmiary plików (jeśli były edytowane ręcznie)', //cpg1.4
+'Zeruje liczniki wyświetleń', //cpg1.4
+'Wyświetla phpinfo', //cpg1.4
+'Aktualizuje bazę danych', //cpg1.4
+'Wyświetla pliki logów', //cpg1.4
+);
+$lang_util_php = array(
+  'title' => 'Narzędzia administracyjne (zmiana wielkości obrazów)',
+  'what_it_does' => 'Przeznaczenie',
+  'file' => 'Plik',
+  'problem' => 'Problem', //cpg1.4
+  'status' => 'Stan', //cpg1.4
+  'title_set_to' => 'tytuł zmieniony na',
+  'submit_form' => 'wyślij',
+  'updated_succesfully' => 'aktualizowany pomyślnie',
+  'error_create' => 'BŁĄD przy tworzeniu',
+  'continue' => 'Przetwórz więcej obrazów',
+  'main_success' => 'Plik %s został pomyślnie użyty jako plik główny',
+  'error_rename' => 'Błąd przy zmianie nazwy z %s na %s',
+  'error_not_found' => 'Nie odnaleziono pliku %s',
+  'back' => 'powrót',
+  'thumbs_wait' => 'Aktualizuję miniatury i pomniejszone zdjęcia, proszę czekać...',
+  'thumbs_continue_wait' => 'Kontynuacja aktualizacji miniatur i/lub pomniejszonych zdjęć...',
+  'titles_wait' => 'Aktualizacja tytułów, proszę czekać...',
+  'delete_wait' => 'Usuwanie tytułów, proszę czekać...',
+  'replace_wait' => 'Usuwanie oryginalnych zdjęć i zastępowanie ich pomniejszonymi obrazami, proszę czekać...',
+  'instruction' => 'Szybka instrukcja',
+  'instruction_action' => 'Wybierz działanie',
+  'instruction_parameter' => 'Ustaw parametry',
+  'instruction_album' => 'Wybierz album',
+  'instruction_press' => 'Naciśnij %s',
+  'update' => 'Aktualizuj miniatury i/lub pomniejszone zdjęcia',
+  'update_what' => 'Co powinno zostać zaktualizowane',
+  'update_thumb' => 'Tylko miniatury',
+  'update_pic' => 'Tylko pomniejszone zdjęcia',
+  'update_both' => 'Miniatury i pomniejszone zdjęcia',
+  'update_number' => 'Liczba obrazów do przetworzenia na 1 kliknięcie',
+  'update_option' => '(Spróbuj ustawić mniejszą wartość jeśli napotkasz na problemy z przekroczeniem czasu oczekiwania)',
+  'filename_title' => 'Nazwa pliku &rArr; Tytuł obrazu ',
+  'filename_how' => 'Jak przetworzyć nazwę pliku',
+  'filename_remove' => 'Usuń rozszerzenie .jpg i zastąp znaki _ (podkreślenia) spacjami',
+  'filename_euro' => 'Zmień 2003_11_23_13_20_20.jpg na 23/11/2003 13:20',
+  'filename_us' => 'Zmień 2003_11_23_13_20_20.jpg na 11/23/2003 13:20',
+  'filename_time' => 'Zmień 2003_11_23_13_20_20.jpg na 13:20',
+  'delete' => 'Usuń tytuły plików lub oryginalne obrazy',
+  'delete_title' => 'Usuń tytuły plików',
+  'delete_title_explanation' => 'Zostaną usunięte wszystkie tytuły plików w wybranym albumie.', //cpg1.4
+  'delete_original' => 'Usuń oryginalne obrazy',
+  'delete_original_explanation' => 'Zostaną usunięte oryginalne (duże) obrazy.', //cpg1.4
+  'delete_intermediate' => 'Usuń pośrednie obrazy', //cpg1.4
+  'delete_intermediate_explanation' => 'Zostaną usunięte pośrednie (zwykłe) zdjęcia.<br />Użyj tej opcji aby zwolnić miejsce na dysku jeśli wyłączyłeś \'Twórz pośrednie obrazy\' w pliku konfiguracyjnym po dodaniu zdjęć.', //cpg1.4
+  'delete_replace' => 'Usuwa oryginalne obrazy zastępując je pomniejszonymi wersjami',
+  'titles_deleted' => 'Usunięto wszystkie tytuły w wybranym albumie', //cpg1.4
+  'deleting_intermediates' => 'Usuwanie pośrednich obrazów, proszę czekać...', //cpg1.4
+  'searching_orphans' => 'Trwa wyszukiwanie opuszczonych elementów, proszę czekać...', //cpg1.4
+  'select_album' => 'Wybierz album',
+  'delete_orphans' => 'Usuń komentarze do nieistniejących plików', //cpg1.4
+  'delete_orphans_explanation' => 'Ta opcja pozwoli zidentyfikować i usunąć komentarze przypisane do plików które już nie znajdują się w galerii.<br />Sprawdza wszystkie albumy.', //cpg1.4
+  'refresh_db' => 'Pobierz ponownie wymiary obrazu i rozmiar pliku', //cpg1.4
+  'refresh_db_explanation' => 'Ta opcja pozwala odczytać ponownie informacje o rozmiarach plików. Użyj jej, jeśli zauważysz, że nieprawidłowo obliczany jest limit miejsca (np. po ręcznej edycji plików).', //cpg1.4
+  'reset_views' => 'Zeruj liczniki wyświetleń', //cpg1.4
+  'reset_views_explanation' => 'Ustawia wszystkie liczniki wyświetleń na zero w wybranym albumie.', //cpg1.4
+  'orphan_comment' => 'Znaleziono opuszczone komentarze',
+  'delete' => 'Usuń',
+  'delete_all' => 'Usuń wszystkie',
+  'delete_all_orphans' => 'Usunąć wszystkie?', //cpg1.4
+  'comment' => 'Komentarz: ',
+  'nonexist' => 'przypisany do nieistniejącego pliku # ',
+  'phpinfo' => 'Pokaż phpinfo',
+  'phpinfo_explanation' => 'Zawiera techniczne informacje dotyczące serwera.<br /> - Możesz zostać poproszony o podanie tej informacji, gdy będziesz zwracać się o pomoc.', //cpg1.4
+  'update_db' => 'Aktualizuj bazę danych',
+  'update_db_explanation' => 'Jeśli podmieniłeś pliki Coppermine, dodałeś modyfikację lub aktualizowałeś z poprzedniej wersji, uruchom aktualizację bazy danych. Pozwoli to na utworzenie koniecznych tabel oraz ustawień konfiguracyjnych w twojej bazie danych coppermine.',
+  'view_log' => 'Zobacz pliki logów', //cpg1.4
+  'view_log_explanation' => 'Coppermine może śledzić poczynania użytkowników. Możesz przeglądać te logi jeśli włączyłeś logowanie w <a href="admin.php">konfiguracji coppermine</a>.', //cpg1.4
+  'versioncheck' => 'Sprawdź wersje', //cpg1.4
+  'versioncheck_explanation' => 'Sprawdza wersje plików, aby stwerdzić czy wszystkie zostały podmienione podczas aktualizacji, lub jeśli pliki źródłowe coppermine zostały aktualizowane już po wypuszczeniu bieżącej wersji.', //cpg1.4
+  'bridgemanager' => 'Menedżer Integracji', //cpg1.4
+  'bridgemanager_explanation' => 'Włącza/wyłącza integrację (mostkowanie) Coppermine z inną aplikacją (np. forum).', //cpg1.4
+);
+}
+
+// ------------------------------------------------------------------------- //
+// File versioncheck.php //cpg1.4
+// ------------------------------------------------------------------------- //
+
+if (defined('VERSIONCHECK_PHP')) $lang_versioncheck_php = array(
+  'title' => 'Versioncheck', //cpg1.4
+  'what_it_does' => 'Ta strona jest przeznaczona dla użytkowników, którzy aktualizowali swoją instalację Coppermine. Ten skrypt czyta kolejno wszystkie pliki na twoim serwerze i próbuje ustalić, czy lokalne wersje pokrywają się z tymi, któe znajdują się w archiwum http://coppermine.sourceforge.net, zaznaczając pliki, które tak czy siak powinieneś aktualizować.<br />Na czerwono zostaną zaznaczone wszystkie pliki wymagające interwencji. Wpisy w kolorze żółtym będą potrzebowały przejrzenia. Wpisy zielone (lub też w twoim domyślnym kolorze czcionki) są w porządku.<br />Kliknij na ikonach pomocy, by dowiedzieć się więcej.', //cpg1.4
+  'online_repository_unable' => 'Nie udało się połączyć z archiwum Coppermine', //cpg1.4
+  'online_repository_noconnect' => 'Coppermine nie był w stanie połączyć się z archiwum online. Mogą być dwa powody zaistnienia takiej sytuacji:', //cpg1.4
+  'online_repository_reason1' => 'Archiwum online jest obecnie nieczynne - sprawdź, czy możesz otworzyć tę stronę: %s - jeśli nie, spróbuj ponownie później.', //cpg1.4
+  'online_repository_reason2' => 'PHP na twoim serwerze ma wyłączoną opcję %s (domyślnie jest ona włączona). Jeśli jesteś administratorem tego serwera, włącz tę opcję w <i>php.ini</i> (lub chociaż pozwól na jej obejście poprzez %s). Jeśli dzierżawisz miejsce na serwerze, będziesz niestety musiał żyć z faktem, że nie jesteś w stanie porównać swoich plików z tymi, które są w archiwum Coppermine. Ta strona będzie zatem jedynie wyświetlać wersje plików, które zostały umieszczone w twojej dystrybucji - aktualizacje nie zostaną pokazane.', //cpg1.4
+  'online_repository_skipped' => 'Pomijam połączenie z archiwum online', //cpg1.4
+  'online_repository_to_local' => 'Skrypt uznaje za domyślne bieżące wersje plików na twoim serwerze. Dane mogą być błędne, jeśli aktualizowałeś Coppermine i nie przesłałeś wszystkich plików. Zmiany w plikach, które nastąpiły już po wypuszczeniu bieżącej wersji również nie będą brane pod uwagę.', //cpg1.4
+  'local_repository_unable' => 'Nie udało się połączyć z archiwum na twoim serwerze.', //cpg1.4
+  'local_repository_explanation' => 'Coppermine nie był w stanie połączyć się z plikiem %s z archiwum na twoim serwerze. Oznacza to prawdopodobnie, że nie przesłałeś tego pliku na serwer. Spróbuj wykonać to teraz i uruchomić tę stronę jeszcze raz (naciśnij "Odśwież").<br />Jeżeli skrypt nadal sobie nie będzie radził, może to oznaczać, że twój administrator serwera wyłączył niektóre <a href="http://www.php.net/manual/pl/ref.filesystem.php">funkcje systemu plików PHP</a>. W takim przypadku nie będziesz po prostu w stanie używać tego narzędzia, za co przepraszamy.', //cpg1.4
+  'coppermine_version_header' => 'Zainstalowana wersja Coppermine', //cpg1.4
+  'coppermine_version_info' => 'Masz obecnie zainstalowane: %s', //cpg1.4
+  'coppermine_version_explanation' => 'Jeśli uważasz, że jest to zupełne nieporozumienie, ponieważ masz uruchomioną wyższą wersję Coppermine, prawdopodobnie nie przesłałeś najnowszej wersji pliku <i>include/init.inc.php</i>', //cpg1.4
+  'version_comparison' => 'Porównanie wersji', //cpg1.4
+  'folder_file' => 'katalog/plik', //cpg1.4
+  'coppermine_version' => 'wersja cpg', //cpg1.4
+  'file_version' => 'wersja pliku', //cpg1.4
+  'webcvs' => 'web svn', //cpg1.4
+  'writable' => 'zapisywalny', //cpg1.4
+  'not_writable' => 'niezapisywalny', //cpg1.4
+  'help' => 'Pomoc', //cpg1.4
+  'help_file_not_exist_optional1' => 'plik/katalog nie istnieje', //cpg1.4
+  'help_file_not_exist_optional2' => 'Plik/katalog %s nie został znaleziony na twoim serwerze. Mimo, że nie jest to bezwzględnie wymagane, powinieneś go przesłać (za pomocą klienta FTP) na serwer, jeśli zauważyłeś problemy.', //cpg1.4
+  'help_file_not_exist_mandatory1' => 'plik/katalog nie istnieje', //cpg1.4
+  'help_file_not_exist_mandatory2' => 'Plik/katalog %s nie został znaleziony na twoim serserze, mimo że jest on wymagany. Prześlij ten plik na serwer (za pomocą klienta FTP).', //cpg1.4
+  'help_no_local_version1' => 'Brak lokalnej wersji pliku', //cpg1.4
+  'help_no_local_version2' => 'Skrypt nie był w stanie stwierdzić lokalnej wersji pliku - twój plik jest prawdopodobnie zupełnie nieaktualny, lub też zmodyfikowałeś go, usuwając z nagłówka informacje. Sugerujemy aktualizację tego pliku.', //cpg1.4
+  'help_local_version_outdated1' => 'Lokalna wersja przestarzała', //cpg1.4
+  'help_local_version_outdated2' => 'Twoja wersja tego pliku pochodzi prawdopodobnie ze starszej edycji Coppermine (prawdopodobnie uaktualniałeś). Upewnij się, że uaktualnisz również ten plik.', //cpg1.4
+  'help_local_version_na1' => 'Skrypt nie jest w stanie ustalić informacji o wersji cvs.', //cpg1.4
+  'help_local_version_na2' => 'Skrypt nie byłw stanie ustalić która wersja cvs pliku znajduje się na twoim serwerze. Powinieneś przesłać ten plik ze swojego pakietu.', //cpg1.4
+  'help_local_version_dev1' => 'Wersja rozwojowa', //cpg1.4
+  'help_local_version_dev2' => 'Plik na serwerze wydaje się być nowszy niż edycja Coppermine. Albo używasz wersji rozwojowej (powinieneś tak robić tylko mając pewność, że wiesz co robisz), albo też aktualizowałeś swoją instalację Coppermine i nie przesłałeś pliku include/init.inc.php', //cpg1.4
+  'help_not_writable1' => 'Nie można zapisywać w katalogu', //cpg1.4
+  'help_not_writable2' => 'Zmień uprawnienia katalogu (CHMOD) aby zapewnić skryptowi możliwość zapisu do katalogu %s.', //cpg1.4
+  'help_writable1' => 'Katalog ma prawa do zapisu', //cpg1.4
+  'help_writable2' => 'W katalogu %s można dokonywać zapisu. Jest to niepotrzebne ryzyko, coppermine potrzebuje jedynie prawa odczytu/wykonywania.', //cpg1.4
+  'help_writable_undetermined' => 'Coppermine nie był w stanie ustalić praw zapisu do katalogu.', //cpg1.4
+  'your_file' => 'twój plik', //cpg1.4
+  'reference_file' => 'plik wzorcowy', //cpg1.4
+  'summary' => 'Podsumowanie', //cpg1.4
+  'total' => 'Łączna liczba sprawdzonych plików/katalogów', //cpg1.4
+  'mandatory_files_missing' => 'Brakujące niezbędne pliki', //cpg1.4
+  'optional_files_missing' => 'Brakujące opcjonalne pliki', //cpg1.4
+  'files_from_older_version' => 'Pliki pozostałe ze starej wersji Coppermine', //cpg1.4
+  'file_version_outdated' => 'Nieaktualne wersje plików', //cpg1.4
+  'error_no_data' => 'Skrypt napotkał na błąd i nie był w stanie pobrać żadnych informacji. Przepraszamy za tę niedogodność.', //cpg1.4
+  'go_to_webcvs' => 'przejdź do %s', //cpg1.4
+  'options' => 'Opcje', //cpg1.4
+  'show_optional_files' => 'pokaż opcjonalne pliki/katalogi', //cpg1.4
+  'show_mandatory_files' => 'pokaż niezbędne pliki', //cpg1.4
+  'show_file_versions' => 'pokaż wersje plików', //cpg1.4
+  'show_errors_only' => 'pokaż tylko problematyczne pliki/katalogi', //cpg1.4
+  'show_permissions' => 'pokaż uprawnienia katalogów', //cpg1.4
+  'show_condensed_output' => 'pokaż informacje w formie skondensowanej (ułatwia zrzuty ekranu)', //cpg1.4
+  'coppermine_in_webroot' => 'coppermine jest zainstalowany w katalogu głównym', //cpg1.4
+  'connect_online_repository' => 'spróbuj połączyć się z archiwum online', //cpg1.4
+  'show_additional_information' => 'pokaż dodatkowe informacje', //cpg1.4
+  'no_webcvs_link' => 'nie wyświetlaj odnośnika do cvs', //cpg1.4
+  'stable_webcvs_link' => 'wyświetl odnośnik cvs do stabilnej gałęzi', //cpg1.4
+  'devel_webcvs_link' => 'wyświetl odnośnik cvs do rozwojowej gałęzi', //cpg1.4
+  'submit' => 'zastosuj zmiany / odśwież', //cpg1.4
+  'reset_to_defaults' => 'ustaw domyślne wartości', //cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File view_log.php  //cpg1.4
+// ------------------------------------------------------------------------- //
+
+if (defined('VIEWLOG_PHP')) $lang_viewlog_php = array(
+  'delete_all' => 'Usuń wszystkie logi', //cpg1.4
+  'delete_this' => 'Usuń ten log', //cpg1.4
+  'view_logs' => 'Pokaż logi', //cpg1.4
+  'no_logs' => 'Brak logów.', //cpg1.4
+);
+
+
+// ------------------------------------------------------------------------- //
+// File xp_publish.php //cpg1.4
+// ------------------------------------------------------------------------- //
+
+if (defined('XP_PUBLISH_PHP')) {
+
+$lang_xp_publish_client = <<<EOT
+<h1>Kreator Publikacji w Sieci Web</h1><p>Ten moduł pozwala używać kreatora publikacji w sieci web systemu <b>Windows XP</b> z galerią Coppermine.</p><p>Kod jest oparty na artykule napisanym przez
+EOT;
+
+$lang_xp_publish_required = <<<EOT
+<h2>Wymagania</h2><ul><li>Windows XP, żeby w ogóle mieć kreatora.</li><li>Działająca instalacja Coppermine <b>z działającą funkcją przesyłania plików.</b></li></ul><h2>Jak zainstalować kreatora na komputerze</h2><ul><li>Kliknij prawym 
+EOT;
+
+$lang_xp_publish_select = <<<EOT
+Wybierz &quot;zapisz jako...&quot;. Zapisz plik na dysku twardym. Przy zapisie zwróć uwagę, żeby nazwa pliku miała postać <b>cpg_###.reg</b> ( ### oznacza liczbową sygnaturę czasową). Zmień nazwę jeśli zajdzie taka potrzeba (ale zostaw numery). Kiedy skończysz pobieranie, kliknij dwa razy na pliku w celu zarejestrowania swojego serwera w kreatorze sieci web.</li></ul>
+EOT;
+
+$lang_xp_publish_testing = <<<EOT
+<h2>Testowanie</h2><ul><li>W Eksploratorze Windows wybierz kilka plików i kliknij na <b>Opublikuj xxx w sieci web</b> w lewym panelu.</li><li>Potwierdź wybór plików. Kliknij <b>Dalej</b>.</li><li>Na liście usługodawców wybierz tę pozycję, któa odpowiada twojej galerii (ma nazwę twojej galerii). Jeśli usługa się nie pojawia, sprawdź, czy zainstalowałeś <b>cpg_pub_wizard.reg</b> jak podano wyżej.</li><li>Wpisz swoje informacje logowania jeśli zostaniesz o nie poproszony.</li><li>Wybierz docelowy album dla swoich zdjęć lub utwórz nowy.</li><li>Kliknij <b>dalej</b>. Rozpocznie się przesyłanie twoich obrazów.</li><li>Kiedy się skończy, sprawdź w galerii, czy obrazy zostały poprawnie dodane.</li></ul>
+EOT;
+
+$lang_xp_publish_notes = <<<EOT
+<h2>Uwagi :</h2><ul><li>Po rozpoczęciu wysyłki kreator nie jest w stanie wyświetlić żadnych komunikatów o błędach zwracanych przez skrypt, więc nie będziesz wiedzieć, czy wysyłka się powiodła, dopóki nie zajrzysz do galerii.</li><li>Jeżeli przesyłka się nie powiedzie, włącz &quot;tryb debugowania&quot; na stronie administracji Coppermine, spróbuj przesłać jeden obraz i sprawdź komunikat o błędzie w
+EOT;
+
+$lang_xp_publish_flood = <<<EOT
+pliku, który jest umieszczony w katalogu Coppermine na twoim serwerze.</li><li>W celu uniknięcia zalania galerii obrazami wysyłanymi poprzez kreator, jedynie <b>administratorzy galerii</b> i <b>użytkownicy mający własne albumy</b> mogą użyć tego narzędzia.</li>
+EOT;
+
+
+
+$lang_xp_publish_php = array(
+  'title' => 'Coppermine - Kreator publikacji w sieci web', //cpg1.4
+  'welcome' => 'Witaj, <b>%s</b>,', //cpg1.4
+  'need_login' => 'Musisz zalogować się w galerii za pomocą przeglądarki zanim będziesz mógł użyć tego kreatora.<p/><p>Kiedy będziesz się logować, nie zapomnij ustawić opcji <b>Pamiętaj mnie</b> jeśli jest dostępna.', //cpg1.4
+  'no_alb' => 'Niestety nie ma albumu, do którego miałbyś prawo wysyłania plików za pomocą tego kreatora.', //cpg1.4
+  'upload' => 'Prześlij obrazy do istniejącego albumu', //cpg1.4
+  'create_new' => 'Utwórz nowy album dla swoich obrazów', //cpg1.4
+  'album' => 'Album', //cpg1.4
+  'category' => 'Kategoria', //cpg1.4
+  'new_alb_created' => 'Twój nowy album &quot;<b>%s</b>&quot; został utworzony.', //cpg1.4
+  'continue' => 'Naciśnij &quot;Dalej&quot; aby rozpocząć przesyłanie obrazów', //cpg1.4
+  'link' => 'ten odnośnik', //cpg1.4
+);
+}
+?>
diff -x .svn -aruN 1.4.24.src/lang/portuguese.php 1.4.25.src/lang/portuguese.php
--- 1.4.24.src/lang/portuguese.php	2009-05-25 15:01:17.000000000 -0500
+++ 1.4.25.src/lang/portuguese.php	2009-05-26 11:25:40.000000000 -0500
@@ -1,2111 +1,2111 @@
-<?php
-/*************************
-  Coppermine Photo Gallery
-  ************************
-  Copyright (c) 2003-2009 Coppermine Dev Team
-  v1.1 originally written by Gregory DEMAR
-
-  This program is free software; you can redistribute it and/or modify
-  it under the terms of the GNU General Public License version 3
-  as published by the Free Software Foundation.
-  
-  ********************************************
-  Coppermine version: 1.4.24
-  $HeadURL: https://coppermine.svn.sourceforge.net/svnroot/coppermine/trunk/cpg1.4.x/lang/portuguese.php $
-  $Revision: 5988 $
-  $Author: gaugau $
-  $Date: 2009-05-25 22:01:41 +0200 (Mo, 25 Mai 2009) $
-**********************************************/
-
-if (!defined('IN_COPPERMINE')) { die('Not in Coppermine...');}
-
-// info about translators and translated language
-$lang_translation_info = array(
-  'lang_name_english' => 'Portuguese', //cpg1.4
-  'lang_name_native' => 'Português', //cpg1.4
-  'lang_country_code' => 'pt', //cpg1.4
-  'trans_name'=> 'Pedro Cotter',
-  'trans_email' => 'pcotter@pcotter.com',
-  'trans_website' => 'http://www.pcotter.com/',
-  'trans_date' => '2006.01.06',
-);
-
-$lang_charset = 'utf-8';
-$lang_text_dir = 'ltr'; // ('ltr' for left to right, 'rtl' for right to left)
-
-// shortcuts for Byte, Kilo, Mega
-$lang_byte_units = array('Bytes', 'KB', 'MB');
-
-
-// Day of weeks and months
-$lang_day_of_week = array('Dom', 'Seg', 'Ter', 'Qua', 'Qui', 'Sex', 'Sab');
-$lang_month = array('Jan', 'Fev', 'Mar', 'Abr', 'Mai', 'Jun', 'Jul', 'Ago', 'Set', 'Out', 'Nov', 'Dez');
-
-// Some common strings
-$lang_yes = 'Sim';
-$lang_no  = 'Não';
-$lang_back = 'VOLTAR';
-$lang_continue = 'CONTINUAR';
-$lang_info = 'Informação';
-$lang_error = 'Erro';
-$lang_check_uncheck_all = 'marcar/desmarcar tudo'; //cpg1.4
-
-// The various date formats
-// See http://www.php.net/manual/en/function.strftime.php to define the variable below
-$album_date_fmt =    '%B %d, %Y';
-$lastcom_date_fmt =  '%m/%d/%y at %H:%M';
-$lastup_date_fmt = '%B %d, %Y';
-$register_date_fmt = '%B %d, %Y';
-$lasthit_date_fmt = '%B %d, %Y at %I:%M %p';
-$comment_date_fmt =  '%B %d, %Y at %I:%M %p';
-$log_date_fmt = '%B %d, %Y at %I:%M %p'; //cpg1.4
-
-// For the word censor
-$lang_bad_words = array('*fuck*', 'asshole', 'assramer', 'bitch*', 'c0ck', 'clits', 'Cock', 'cum', 'cunt*', 'dago', 'daygo', 'dego', 'dick*', 'dildo', 'fanculo', 'feces', 'foreskin', 'Fu\(*', 'fuk*', 'honkey', 'hore', 'injun', 'kike', 'lesbo', 'masturbat*', 'motherfucker', 'nazis', 'nigger*', 'nutsack', 'penis', 'phuck', 'poop', 'pussy', 'scrotum', 'shit', 'slut', 'titties', 'titty', 'twaty', 'wank*', 'whore', 'wop*','foda*', 'cu', 'otario', 'bicha', 'caralho', 'kct*', 'rola', 'porra', 'merda', 'idiota', 'otario', 'tabacudo', 'rola', 'buceta','tabacuda', 'fuck', 'lesbica', 'gay', 'bixa', 'frango', 'burro');
-
-$lang_meta_album_names = array(
-  'random' => 'Imagens Aleatórias',
-	'lastup' => 'Últimas Imagens Adicionadas',
-	'lastalb'=> 'Últimos Álbuns Actualizados',
-	'lastcom' => 'Últimos Comentários',
-	'topn' => 'Fotos Mais Vistas',
-	'toprated' => 'Imagens mais Populares',
-	'lasthits' => 'Últimas Imagens Vistas',
-	'search' => 'Resultado da Pesquisa',
-	'favpics'=> 'Imagens Favoritas',  //cpg1.4
-);
-
-$lang_errors = array(
-  'access_denied' => 'Não tem permissão para visualizar esta página.',
-  'perm_denied' => 'Não tem permissão para executar esta operação.',
-  'param_missing' => 'Script executado com falta de parâmentos.',
-  'non_exist_ap' => 'O álbum ou foto que seleccionou não foi encontrado!',
-  'quota_exceeded' => 'A quota de espaço para armazenamento excedeu o limite<br /><br />Possui [quota]KB de espaço e as suas fotos actualmente utilizam [space]KB, se adicionar este ficheiro irá ultrapassar o limite.',
-  'gd_file_type_err' => 'Estamos a usar um sistema que só permite fotos JPEG e PNG.',
-  'invalid_image' => 'A foto que enviou está corrompida ou não pode ser 
-interpretada pela biblioteca GD',
-  'resize_failed' => 'Não foi possível criar a miniatura ou redimensionar a foto.',
-  'no_img_to_display' => 'Sem fotos para exibir',
-  'non_exist_cat' => 'A categoria seleccionada não existe',
-  'orphan_cat' => 'A categoria tem um parâmento que não existe, vá para ao gestor de categorias e corrija o problema!',
-  'directory_ro' => 'O Diretório \'%s\' não é gravável, as fotos não podem ser apagadas',
-  'non_exist_comment' => 'O comentário seleccionado não existe.',
-  'pic_in_invalid_album' => 'Foto num álbum inexistente (%s)!?',
-  'banned' => 'Esta presentemente expulso deste site.',
-  'not_with_udb' => 'Função desactivada na Galeria. O que está a tentar fazer não é suportado na presente configuração.',
-  'offline_title' => 'Offline',
-  'offline_text' => 'A Galeria está de momento offline - tente novamente mais tarde!',
-  'ecards_empty' => 'Não há nenhum registo de ecards para visualizar!',
-  'action_failed' => 'Erro! Não foi possivel processar o seu pedido.',
-  'no_zip' => 'As bibliotecas necessárias para processar os arquivos em ZIP não estão disponiveis. Por favor contacte o Administrador.',
-  'zip_type' => 'Não tem permissão para enviar arquivos ZIP.',
-  'database_query' => 'Erro ao processar um pedido ha Base de Dados!', //cpg1.4
-  'register_globals_on' => 'The PHP setting register_globals is enabled on your server, which is a bad idea in terms of security. It\'s strongly recommended to turn it off. [<a href="http://forum.coppermine-gallery.net/index.php/topic,59569.0.html" rel="external" class="external">more</a>]',
-);
-
-$lang_bbcode_help_title = 'Ajuda bbcode'; //cpg1.4
-$lang_bbcode_help = 'Pode adicionar links clicaveis e alguma formatação de texto, utilizando bbcode tags : <li>[b]Bold[/b] =&gt; <b>Bold</b></li><li>[i]Italic[/i] =&gt; <i>Italic</i></li><li>[url=http://oseusite.com/]Url Text[/url] =&gt; <a href="http://oseusite.com">Url Text</a></li><li>[email]user@dominio.com[/email] =&gt; <a href="mailto:user@dominio.com">user@dominio.com</a></li><li>[color=red]seu texto[/color] =&gt; <span style="color:red">seu texto</span></li><li>[img]http://coppermine-gallery.net/demo/cpg14x/images/red.gif[/img] => <img src="../images/red.gif" border="0" alt="" /></li>'; //cpg1.4
-
-// ------------------------------------------------------------------------- //
-// File theme.php
-// ------------------------------------------------------------------------- //
-
-$lang_main_menu = array(
-  'home_title' => 'Ir para página inicial',
-  'home_lnk' => 'Página Principal',
-  'alb_list_title' => 'Ir para a lista de álbuns',
-  'alb_list_lnk' => 'Lista de Álbuns',
-  'my_gal_title' => 'Ir para Galeria Pessoal',
-  'my_gal_lnk' => 'Minha Galeria',
-  'my_prof_title' => 'Ir para Meus Dados', //cpg1.4
-  'my_prof_lnk' => 'Os Meus Dados',
-  'adm_mode_title' => 'Mudar para modo Admin',
-  'adm_mode_lnk' => 'MODO ADMIN',
-  'usr_mode_title' => 'Mudar para modo Utilizador',
-  'usr_mode_lnk' => 'Modo utilizador',
-  'upload_pic_title' => 'Enviar imagem para um álbum',
-  'upload_pic_lnk' => 'Enviar Imagem',
-  'register_title' => 'Criar uma conta',
-  'register_lnk' => 'Clique para se Registar',
-  'login_title' => 'Fazer o Login', //cpg1.4
-  'login_lnk' => 'Login',
-  'logout_title' => 'Fazer o Logout', //cpg1.4
-  'logout_lnk' => 'Logout',
-  'lastup_title' => 'Mostrar as últimas imagens inseridas', //cpg1.4
-  'lastup_lnk' => 'Últimas Imagens',
-  'lastcom_title' => 'Mostrar os últimos comentários inseridos', //cpg1.4
-  'lastcom_lnk' => 'Últimos Comentários',
-  'topn_title' => 'Mostrar as imagens mais visualizadas', //cpg1.4
-  'topn_lnk' => 'Mais Visualizadas',
-  'toprated_title' => 'Mostar imagens mais Populares', //cpg1.4
-  'toprated_lnk' => 'Mais Populares',
-  'search_title' => 'Pesquisar a Galeria', //cpg1.4
-  'search_lnk' => 'Pesquisar',
-  'fav_title' => 'ir para Minhas Favoritas', //cpg1.4
-  'fav_lnk' => 'Minhas Favoritas',
-  'memberlist_title' => 'Mostrar a Lista de Membros',
-  'memberlist_lnk' => 'Lista de Membros',
-  'faq_title' => 'Questões mais Frequentes sobre a Galeria(Frequently Asked Questions) &quot;Coppermine&quot;',
-  'faq_lnk' => 'FAQ',
-);
-
-$lang_gallery_admin_menu = array(
-  'upl_app_title' => 'Aprovar novos envios', //cpg1.4
-  'upl_app_lnk' => 'Aprovar Fotos Enviadas',
-  'admin_title' => 'Ir para Config', //cpg1.4
-  'admin_lnk' => 'Config', //cpg1.4
-  'albums_title' => 'Ir para configuração de Álbuns', //cpg1.4
-  'albums_lnk' => 'Álbuns',
-  'categories_title' => 'Ir para Configuração de Categorias', //cpg1.4
-  'categories_lnk' => 'Categorias',
-  'users_title' => 'Ir para Configuração de Utilizadores', //cpg1.4
-  'users_lnk' => 'Utilizadores',
-  'groups_title' => 'Ir para Configuração de Grupos', //cpg1.4
-  'groups_lnk' => 'Grupos',
-  'comments_title' => 'Ver todos comentários', //cpg1.4
-  'comments_lnk' => 'Ver comentários',
-  'searchnew_title' => 'Ir para Adicionar fotos em Lote', //cpg1.4
-  'searchnew_lnk' => 'FTP=>',
-  'util_title' => 'Ir para Ferramentas de Administração', //cpg1.4
-  'util_lnk' => 'Ferramentas de Administração',
-  'key_title' => 'Ir para Dicionário de Palavras Chave', //cpg1.4
-  'key_lnk' => 'Dicionário de Palavras Chave', //cpg1.4
-  'ban_title' => 'Ir para Excluir utilizadores', //cpg1.4
-  'ban_lnk' => 'Excluir utilizadores',
-  'db_ecard_title' => 'Visualizar Ecards', //cpg1.4
-  'db_ecard_lnk' => 'Visualizar Ecards',
-  'pictures_title' => 'Ordenar as Minhas Imagens', //cpg1.4
-  'pictures_lnk' => 'Ordenar as Minhas Imagens', //cpg1.4
-  'documentation_lnk' => 'Documentação', //cpg1.4
-  'documentation_title' => 'Coppermine manual', //cpg1.4
-);
-
-$lang_user_admin_menu = array(
-  'albmgr_title' => 'Criar/ordenar os meus álbuns', //cpg1.4
-  'albmgr_lnk' => 'Criar/ordenar os meus álbuns',
-  'modifyalb_title' => 'Ir para Modificar os meus álbuns',  //cpg1.4
-  'modifyalb_lnk' => 'Modificar os meus álbuns',
-  'my_prof_title' => 'Ir para os Meus Dados', //cpg1.4
-  'my_prof_lnk' => 'Os Meus Dados',
-);
-
-$lang_cat_list = array(
-  	'category' => 'Categoria',
-	'albums' => 'Álbuns',
-	'pictures' => 'Imagens',
-);
-
-$lang_album_list = array(
-  'album_on_page' => '%d álbun(s) na(s) %d página(s)',
-);
-
-$lang_thumb_view = array(
-  'date' => 'DATA',
-	//Ordenar por arquivo e titulo
-  'name' => 'NOME DO FICHEIRO',
-  'title' => 'TITLE',
-  'title' => 'TÍTULO',
-	'sort_da' => 'Ordenar por data crescente',
-	'sort_dd' => 'Ordenar por data decrescente',
-	'sort_na' => 'Ordenar por nome ascendente',
-	'sort_nd' => 'Ordenar por nome descendente',
-	'sort_ta' => 'Ordenar por título ascendente',
-	'sort_td' => 'Ordenar por título descendente',
-  'position' => 'POSIÇÃO', //cpg1.4
-  'sort_pa' => 'Ordenar por posição ascendente', //cpg1.4
-  'sort_pd' => 'Ordenar por posição descendente', //cpg1.4
-  'download_zip' => 'Download como ficheiro Zip',
-  'pic_on_page' => '%d imagen(s) na(s) %d página(s)',
-	'user_on_page' => '%d utilizador(es) na(s) %d página(s)',
-  'enter_alb_pass' => 'Introduza senha do álbum', //cpg1.4
-  'invalid_pass' => 'Password Inválida!', //cpg1.4
-  'pass' => 'Password', //cpg1.4
-  'submit' => 'Submeter', //cpg1.4
-);
-
-$lang_img_nav_bar = array(
-  'thumb_title' => 'Voltar para a página de miniaturas',
-	'pic_info_title' => 'Mostrar/Esconder informações do ficheiro',
-	'slideshow_title' => 'SlideShow',
-	'ecard_title' => 'enviar esta imagem como e-card',
-  'ecard_disabled' => 'os e-cards estão desactivados',
-  'ecard_disabled_msg' => 'Não tem permissão para enviar e-cards', //js-alert
-  'prev_title' => 'Ver imagem anterior',
-  'next_title' => 'Ver próxima imagem',
-  'pic_pos' => 'IMAGEM %s/%s',
-  'report_title' => 'Enviar comentário sobre esta imagem ao Administrador', //cpg1.4
-  'go_album_end' => 'Saltar para última', //cpg1.4
-  'go_album_start' => 'Inicio', //cpg1.4
-  'go_back_x_items' => 'para trás %s items', //cpg1.4
-  'go_forward_x_items' => 'para frente %s items', //cpg1.4
-);
-
-$lang_rate_pic = array(
-  'rate_this_pic' => 'Classifique esta imagem ',
-	'no_votes' => '(Nenhum voto até o momento)',
-	'rating' => '(Média de votos : %s / 5 dos %s votos)',
-	'rubbish' => 'Péssima',
-	'poor' => 'Pobre',
-	'fair' => 'Satisfatória',
-	'good' => 'Boa',
-	'excellent' => 'Excelente',
-	'great' => 'Espectacular',
-);
-
-// ------------------------------------------------------------------------- //
-// File include/exif.inc.php
-// ------------------------------------------------------------------------- //
-
-// void
-
-// ------------------------------------------------------------------------- //
-// File include/functions.inc.php
-// ------------------------------------------------------------------------- //
-
-$lang_cpg_die = array(
-  INFORMATION => $lang_info,
-  ERROR => $lang_error,
-  CRITICAL_ERROR => 'ERRO CRÍTICO!!!',
-  'file' => 'Ficheiro: ',
-  'line' => 'Linha: ',
-);
-
-$lang_display_thumbnails = array(
-  'filename' => 'Ficheiro=', //cpg1.4
-  'filesize' => 'Tamanho=', //cpg1.4
-  'dimensions' => 'Dimensões=', //cpg1.4
-  'date_added' => 'Data de envio=', //cpg1.4
-);
-
-$lang_get_pic_data = array(
-  'n_comments' => '%s comentários',
-  'n_views' => '%s visualizações',
-  'n_votes' => '(%s votos)',
-);
-
-$lang_cpg_debug_output = array(
-  'debug_info' => 'Debug Info',
-  'select_all' => 'Seleccionar tudo',
-  'copy_and_paste_instructions' => 'Se pedir ajuda ao suporte do Coppermine, copie e cole este Debug com as mensagens de erro que surgirem no seu pedido de ajuda. Certifique-se de ter substituido qualquer password com ***, antes de colocar o post.<br />Nota: Serve apenas para informar e não significa que exista erro com a sua Galeria!', //cpg1.4
-  'phpinfo' => 'mostrar phpinfo',
-  'notices' => 'Notificações', //cpg1.4
-);
-
-$lang_language_selection = array(
-  'reset_language' => 'Idioma Padrão',
-  'choose_language' => 'Escolha o seu Idioma',
-);
-
-$lang_theme_selection = array(
-  'reset_theme' => 'Tema Padrão',
-  'choose_theme' => 'Escolha um tema',
-);
-
-$lang_version_alert = array(
-  'version_alert' => 'Versão não suportada!', //cpg1.4
-  'security_alert' => 'Alerta de Segurança!', //cpg1.4.3
-  'relocate_exists' => 'Remove the <a href="http://coppermine-gallery.net/forum/index.php?topic=24217.0">relocate_server.php</a> file from your website!',
-  'no_stable_version' => 'You are running Coppermine %s (%s) which is only meant for very experienced users - this version comes without support nor any warranties. Use it at your own risk or downgrade to the latest stable version if you need support!', //cpg1.4
-  'gallery_offline' => 'A Galeria está de momento OFFLINE e acessivel apenas por si (ADMIN)! Não se esqueça de a colocar ONLINE após o termino da manutenção!', //cpg1.4
-);
-
-$lang_create_tabs = array(
-  'previous' => 'anterior', //cpg1.4
-  'next' => 'próxima', //cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File include/init.inc.php
-// ------------------------------------------------------------------------- //
-
-// void
-
-// ------------------------------------------------------------------------- //
-// File keyword.inc.php                                                      //
-// ------------------------------------------------------------------------- //
-
-// void
-
-// ------------------------------------------------------------------------- //
-// File include/picmgmt.inc.php
-// ------------------------------------------------------------------------- //
-
-// void
-
-// ------------------------------------------------------------------------- //
-// File include/plugin_api.inc.php
-// ------------------------------------------------------------------------- //
-$lang_plugin_api = array(
-  'error_wakeup' => "Não foi possível despertar o plugin '%s'", //cpg1.4
-  'error_install' => "Não foi possível instalar o plugin '%s'", //cpg1.4
-  'error_uninstall' => "Não foi possível desinstalar o plugin '%s'", //cpg1.4
-  'error_sleep' => "Não foi possível desinstalar o plugin '%s'<br />", //cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File include/smilies.inc.php
-// ------------------------------------------------------------------------- //
-
-if (defined('SMILIES_PHP')) $lang_smilies_inc_php = array(
-  'Exclamation' => 'Exclamação',
-	'Question' => 'Questão',
-	'Very Happy' => 'Muito Feliz',
-	'Smile' => 'Sorriso',
-	'Sad' => 'Triste',
-	'Surprised' => 'Surpreendido',
-	'Shocked' => 'Chocado',
-	'Confused' => 'Confuso',
-	'Cool' => 'Legal',
-	'Laughing' => 'Risonho',
-	'Mad' => 'Louco',
-	'Razz' => 'Razz',
-	'Embarassed' => 'Embaraçado',
-	'Crying or Very sad' => 'Chorar/Muito triste',
-	'Evil or Very Mad' => 'Mau/Muito Furioso',
-	'Twisted Evil' => 'Demonio louco',
-	'Rolling Eyes' => 'Rolando os olhos',
-	'Wink' => 'Piscando',
-	'Idea' => 'Ideia',
-	'Arrow' => 'Seta',
-	'Neutral' => 'Neutro',
-	'Mr. Green' => 'Mr. Green',
-);
-
-// ------------------------------------------------------------------------- //
-// File addpic.php
-// ------------------------------------------------------------------------- //
-
-// void
-
-// ------------------------------------------------------------------------- //
-// File mode.php //cpg1.4
-// ------------------------------------------------------------------------- //
-
-if (defined('MODE_PHP')) $lang_mode_php = array(
-  0 => 'A Sair da Administração...',
-  1 => 'A Entrar na Administração...',
-);
-
-// ------------------------------------------------------------------------- //
-// File albmgr.php
-// ------------------------------------------------------------------------- //
-
-if (defined('ALBMGR_PHP')) $lang_albmgr_php = array(
-  'alb_need_name' => 'Os Álbuns precisam de ter um nome !', //js-alert
-  'confirm_modifs' => 'Tem certeza que deseja realizar as modificações ?', //js-alert
-  'no_change' => 'Não realizou nenhuma mudança !', //js-alert
-  'new_album' => 'Novo álbum',
-  'confirm_delete1' => 'Tem certeza que deseja remover este álbum ?', //js-alert
-  'confirm_delete2' => 'Nem todas as fotos e comentários serão perdidos !', //js-alert
-  'select_first' => 'Primeiro seleccione um álbum', //js-alert
-  'alb_mrg' => 'Gestor de álbuns',
-  'my_gallery' => '* A Minha Galeria *',
-  'no_category' => '* Sem categoria *',
-  'delete' => 'Apagar',
-  'new' => 'Novo',
-  'apply_modifs' => 'Aplicar modificações',
-  'select_category' => '- Selecione categoria -',
-);
-
-// ------------------------------------------------------------------------- //
-// File banning.php
-// ------------------------------------------------------------------------- //
-
-if (defined('BANNING_PHP')) $lang_banning_php = array(
-  'title' => 'Excluir Utilizadores', //cpg1.4
-  'user_name' => 'Nome do utilizador', //cpg1.4
-  'ip_address' => 'Endereço IP ', //cpg1.4
-  'expiry' => 'Expira em (em branco significa que é permanente)', //cpg1.4
-  'edit_ban' => 'Gravar modificações', //cpg1.4
-  'delete_ban' => 'Apagar', //cpg1.4
-  'add_new' => 'Adicionar nova exclusão', //cpg1.4
-  'add_ban' => 'Adicionar', //cpg1.4
-  'error_user' => 'Não é possível encontrar utilizador', //cpg1.4
-  'error_specify' => 'Precisa especificar um utilizador ou IP', //cpg1.4
-  'error_ban_id' => 'ID de exclusão inválido!', //cpg1.4
-  'error_admin_ban' => 'Não se pode excluir!', //cpg1.4
-  'error_server_ban' => 'Queria excluir o seu próprio servidor? Han han!!!Não pode ser...', //cpg1.4
-  'error_ip_forbidden' => 'Não pode excluir este IP - De qualquer maneira ele é non-routable (privado) !<br />Se deseja permitir a exclusão de IPs privados, altere isto <a href="admin.php">Config</a> (só faz sentido quando o Coppermine é usado numa LAN).', //cpg1.4
-  'lookup_ip' => 'Procurar um IP ', //cpg1.4
-  'submit' => 'vai!', //cpg1.4
-  'select_date' => 'Seleccionar uma data', //cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File bridgemgr.php //cpg1.4
-// ------------------------------------------------------------------------- //
-
-if (defined('BRIDGEMGR_PHP')) $lang_bridgemgr_php = array(
-  'title' => 'Bridge Wizard',
-  'warning' => 'AVISO:Ao usar este assistente tenha a consciência de que dados com informação sensivel estão a ser enviados usando formulários html. Corra-o apenas no seu computador (não numa máquina pública como Internet Cafés), e certifique-se de limpar a cache do browser e ficheiros temporários depois de ter concluído, ou terceiros poderão ter acesso aos seus dados!',
-  'back' => 'Retrocede',
-  'next' => 'Seguinte',
-  'start_wizard' => 'Inicia o assistente de enlaces',
-  'finish' => 'Finalizar',
-  'hide_unused_fields' => 'Ocultar campos do formulário não usados (recomendado)',
-  'clear_unused_db_fields' => 'Limpar entradas inválidas da base de dados (recomendado)',
-  'custom_bridge_file' => 'nome do ficheiro de enlaces (se o nome é <i>exemplo.inc.php</i>, introduza <i>exemplo</i> neste campo)',
-  'no_action_needed' => 'Não é necessária quaisquer acção neste passo. Clique em \'seguinte\' para continuar.',
-  'reset_to_default' => 'Restaurar pré-definições',
-  'choose_bbs_app' => 'escolha a aplicação para enlaçar o Cooppermine',
-  'support_url' => 'Vá aqui para o suporte sobre esta aplicação',
-  'settings_path' => 'caminho(s) usado pela aplicação BBS',
-  'database_connection' => 'coneção à base de dados',
-  'database_tables' => 'tabelas da base de dados',
-  'bbs_groups' => 'grupos BBS ',
-  'license_number' => 'Número de Licença',
-  'license_number_explanation' => 'Insira o número da licença (se necessário)',
-  'db_database_name' => 'Nome da Base de Dados',
-  'db_database_name_explanation' => 'Insira o nome da Base de Dados que o BBS utiliza',
-  'db_hostname' => 'Servidor da Base de Dados',
-  'db_hostname_explanation' => 'Nome do servidor onde a sua Base de Dados MySQL reside, normalmente &quot;localhost&quot;',
-  'db_username' => 'Utilizador da Base de Dados',
-  'db_username_explanation' => 'o utilizador mySQL a usar para se conectar com a aplicação BBS',
-  'db_password' => 'Senha da Base de Dados',
-  'db_password_explanation' => 'Password este utilizador mySQL',
-  'full_forum_url' => 'URL do Forum',
-  'full_forum_url_explanation' => 'URL completo da sua aplicação BBS (incluindo http:// bit, http://www.seudominio.tld/forum)',
-  'relative_path_of_forum_from_webroot' => 'Caminho relativo do forum',
-  'relative_path_of_forum_from_webroot_explanation' => 'O caminho para a aplicação BBS desde o webroot (Exemplo: se o caminho do seu BBS é http://www.seudominio.tld/forum/, digite &quot;/forum/&quot; neste campo)',
-  'relative_path_to_config_file' => 'Caminho relativo do ficheiro de configuração do BBS',
-  'relative_path_to_config_file_explanation' => 'Caminho relativo do BBS, visto pelo Coppermine (exemplo: &quot;../forum/&quot; se o BBS está em http://www.seudominio.tld/forum/ e o Coppermine em http://www.seudominio.tld/gallery/)',
-  'cookie_prefix' => 'prefixo de Cookie',
-  'cookie_prefix_explanation' => 'tem se ser o nome do cookie do seu BBS',
-  'table_prefix' => 'Prefixo de Tabelas',
-  'table_prefix_explanation' => 'Tem de coincidir com o prefixo que definiu ao configurar o seu BBS.',
-  'user_table' => 'Tabela de utilizadores',
-  'user_table_explanation' => '(Normalmente o valor por defeito deverá funcionar, a não ser que use uma instalação não standard do BBS)',
-  'session_table' => 'Tabela de sessões',
-  'session_table_explanation' => '(Normalmente o valor por defeito deverá funcionar, a não ser que use uma instalação não standard do BBS)',
-  'group_table' => 'Tabela de grupos',
-  'group_table_explanation' => '(Normalmente o valor por defeito deverá funcionar, a não ser que use uma instalação não standard do BBS)',
-  'group_relation_table' => 'Tabela de relação de grupos',
-  'group_relation_table_explanation' => '(Normalmente o valor por defeito deverá funcionar, a não ser que use uma instalação não standard do BBS)',
-  'group_mapping_table' => 'Tabela de mapeamento de grupos',
-  'group_mapping_table_explanation' => '(Normalmente o valor por defeito deverá funcionar, a não ser que use uma instalação não standard do BBS)',
-  'use_standard_groups' => 'Usar os grupos de utilizador standard do BBS',
-  'use_standard_groups_explanation' => 'Usar os Grupos de Utilizador (incorporado e recomendado). Isto fará com que as definições personalizadas feitas nesta página se tornem nulas. Desactive esta opção apenas se realmente souber o que está a fazer!',
-  'validating_group' => 'Validação de Grupos',
-  'validating_group_explanation' => 'O ID do grupo do seu BBS onde se encontram as contas dos utilizadores que necessitam de validação (Normalmente o valor por defeito deverá funcionar, a não ser que use uma instalação não standard do BBS)',
-  'guest_group' => 'Grupo de convidados (Guest)',
-  'guest_group_explanation' => 'O ID do grupo no seu BBS onde se encontram os utilizadores convidados (utilizadores anónimos) (definição por defeito deverá funcionar, edite apenas se souber o que está a fazer!)',
-  'member_group' => 'Grupo de Membros',
-  'member_group_explanation' => 'O ID do Grupo do seu BBS, onde se encontram os utilizadores &quot;regulares&quot; (definição por defeito deverá funcionar, edite apenas se souber o que está a fazer!',
-  'admin_group' => 'Grupo Administração',
-  'admin_group_explanation' => 'O ID do Grupo do seu BBS, onde se encontram os Administradores (definição por defeito deverá funcionar, edite apenas se souber o que está a fazer!)',
-  'banned_group' => 'Grupo de Excluidos',
-  'banned_group_explanation' => 'O ID do grupo onde se encontram os utilizadores excluidos (definição por defeito deverá funcionar, edite apenas se souber o que está a fazer)',
-  'global_moderators_group' => 'Grupo Moderadores Globais',
-  'global_moderators_group_explanation' => 'O ID do Grupo onde se encontram os utilizadores Moderadores Globais do seu BBS (definição por defeito deverá funcionar, edite apenas se souber o que está a fazer)',
-  'special_settings' => 'BBS-definições especificas',
-  'logout_flag' => 'Versão phpBB (indicador de fecho de sessão)',
-  'logout_flag_explanation' => 'Qual a versão do seu BBS (para saber como tratar os fechos de sessão (logouts))',
-  'use_post_based_groups' => 'usar grupos baseados em POST?',
-  'logout_flag_yes' => '2.0.5 ou maior',
-  'logout_flag_no' => '2.0.4 ou menor',
-  'use_post_based_groups_explanation' => 'Devem os grupos da BBS que estão definidos pelo número de postes serem levados em conta (permite uma administração de permissões granular) ou apenas os grupos por defeito (torna a administração mais fácil, recomendado). Pode alterar esta definição mais tarde.',
-  'use_post_based_groups_yes' => 'yes',
-  'use_post_based_groups_no' => 'no',
-  'error_title' => 'You need to correct these errors before you can continue. Go to the previous screen.',
-  'error_specify_bbs' => 'You have to specify what application you want to bridge your Coppermine install with.',
-  'error_no_blank_name' => 'You can\'t leave the name of your custom bridge file blank.',
-  'error_no_special_chars' => 'The bridge file name mustn\'t contain any special chars except underscore (_) and dash (-)!',
-  'error_bridge_file_not_exist' => 'The bridge file %s doesn\'t exist on the server. Check if you have actually uploaded it.',
-  'finalize' => 'enable/disable BBS integration',
-  'finalize_explanation' => 'So far, the settings you specified have been written into the database, but BBS integration hasn\'t been enabled. You can switch integration on/off later at any time. Make sure to remember the admin username and password from standalone Coppermine, you might need it later to be able to make any changes. If anything goes wrong, go to %s and disable BBS integration there, using your standalone (unbridged) admin account (usually the one you set up during Coppermine install).',
-  'your_bridge_settings' => 'Your bridge settings',
-  'title_enable' => 'Enable integration/bridging with %s',
-  'bridge_enable_yes' => 'enable',
-  'bridge_enable_no' => 'disable',
-  'error_must_not_be_empty' => 'must not be empty',
-  'error_either_be' => 'must either be %s or %s',
-  'error_folder_not_exist' => '%s doesn\'t exist. Correct the value you entered for %s',
-  'error_cookie_not_readible' => 'Coppermine can\'t read a cookie named %s. Correct the value you entered for %s, or go to your BBS administration panel and make sure that the cookie path is readible for coppermine.',
-  'error_mandatory_field_empty' => 'You can not leave the field %s blank - fill in the proper value.',
-  'error_no_trailing_slash' => 'There mustn\'t be a trailing slash in the field %s.',
-  'error_trailing_slash' => 'There must be a trailing slash in the field %s.',
-  'error_db_connect' => 'Could not connect to the mySQL database with the data you specified. Here\'s what mySQL said:',
-  'error_db_name' => 'Although Coppermine could establish a connection, it wasn\'t able to find the database %s. Make sure you have specified %s properly. Here\'s what mySQL said:',
-  'error_prefix_and_table' => '%s and ',
-  'error_db_table' => 'Could not find the table %s. Make sure you have specified %s correctly.',
-  'recovery_title' => 'Bridge Manager: emergency recovery',
-  'recovery_explanation' => 'If you came here to administer the BBS integration of your Coppermine gallery, you have to log in first as admin. If you can not log in because bridging doesn\'t work as expected, you can disable BBS integration with this page. Entering your username and password will not log you in, it will only disable BBS integration. Refer to the documentation for details.',
-  'username' => 'Username',
-  'password' => 'Password',
-  'disable_submit' => 'submit',
-  'recovery_success_title' => 'Authorization successful',
-  'recovery_success_content' => 'You have successfully disabled BBS bridging. Your Coppermine install runs now in standalone mode.',
-  'recovery_success_advice_login' => 'Log in as admin to edit your bridge settings and/or enable BBS integration again.',
-  'goto_login' => 'Go to login page',
-  'goto_bridgemgr' => 'Go to bridge manager',
-  'recovery_failure_title' => 'Authorization failed',
-  'recovery_failure_content' => 'You supplied the wrong credentials. You will have to supply the admin account data of the standalone version (usually the account you set up during Coppermine install).',
-  'try_again' => 'try again',
-  'recovery_wait_title' => 'Wait time has not elapsed',
-  'recovery_wait_content' => 'For security reasons this script does not allow failed logons in short succession, so you will have to wait a bit untill you\'re allowed to try to authenticate.',
-  'wait' => 'wait',
-  'create_redir_file' => 'Create redirection file (recommended)',
-  'create_redir_file_explanation' => 'To redirect users back to Coppermine once they logged into your BBS, you need a redirection file to be created within your BBS folder. When this option is checked, the bridge manager will attempt to create this file for you, or give you code ready to copy-and-paste to create the file manually.',
-  'browse' => 'browse',
-);
-
-// ------------------------------------------------------------------------- //
-// File calendar.php //cpg1.4
-// ------------------------------------------------------------------------- //
-
-if (defined('CALENDAR_PHP')) $lang_calendar_php = array(
-  'title' => 'Calendário', //cpg1.4
-  'close' => 'fechar', //cpg1.4
-  'clear_date' => 'limpar data', //cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File catmgr.php
-// ------------------------------------------------------------------------- //
-
-if (defined('CATMGR_PHP')) $lang_catmgr_php = array(
-  'miss_param' => 'Os parâmetros requeridos para a operação \'%s\'não foram fornecidos !',
-  'unknown_cat' => 'A categoria selecionada não existe na base de dados',
-  'usergal_cat_ro' => 'A categoria galerias do utilizador nãao podem ser apagadas !',
-  'manage_cat' => 'Administração de Categorias',
-  'confirm_delete' => 'Tem a certeza de que quer APAGAR esta categoria ?', //js-alert
-  'category' => 'Categoria',
-  'operations' => 'Operações',
-  'move_into' => 'Transferir para',
-  'update_create' => 'Actualiza/cria categoria',
-  'parent_cat' => 'Categoria mãe',
-  'cat_title' => 'Título da categoria',
-  'cat_thumb' => 'Imagem miniatura da categoria',
-  'cat_desc' => 'Descrição da categoria',
-  'categories_alpha_sort' => 'Ordenar as categorias alfabéticamente (em vez de ordem por ajuste)', //cpg1.4
-  'save_cfg' => 'Save configuration', //cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File admin.php //cpg1.4
-// ------------------------------------------------------------------------- //
-
-if (defined('ADMIN_PHP')) $lang_admin_php = array(
-  'title' => 'Gallery Configuration', //cpg1.4
-  'manage_exif' => 'Manage exif display', //cpg1.4
-  'manage_plugins' => 'Manage plugins', //cpg1.4
-  'manage_keyword' => 'Manage keywords', //cpg1.4
-  'restore_cfg' => 'Restore factory defaults',
-  'save_cfg' => 'Save new configuration',
-  'notes' => 'Notes',
-  'info' => 'Information',
-  'upd_success' => 'Configuração foi actualizada!',
-  'restore_success' => 'Coppermine default configuration restored',
-  'name_a' => 'Name ascending',
-  'name_d' => 'Name descending',
-  'title_a' => 'Title ascending',
-  'title_d' => 'Title descending',
-  'date_a' => 'Date ascending',
-  'date_d' => 'Date descending',
-  'pos_a' => 'Position ascending', //cpg1.4
-  'pos_d' => 'Position descending', //cpg1.4
-  'th_any' => 'Max Aspect',
-  'th_ht' => 'Height',
-  'th_wd' => 'Width',
-  'label' => 'label',
-  'item' => 'item',
-  'debug_everyone' => 'Everyone',
-  'debug_admin' => 'Admin only',
-  'no_logs'=> 'Off', //cpg1.4
-  'log_normal'=> 'Normal', //cpg1.4
-  'log_all' => 'All', //cpg1.4
-  'view_logs' => 'View logs', //cpg1.4
-  'click_expand' => 'click section name to expand', //cpg1.4
-  'expand_all' => 'Expand All', //cpg1.4
-  'notice1' => '(*) These settings mustn\'t be changed if you already have files in your database.', //cpg1.4 - (relocated)
-  'notice2' => '(**) When changing this setting, only the files that are added from that point on are affected, so it is advisable that this setting must not be changed if there are already files in the gallery. You can, however, apply the changes to the existing files with the &quot;<a href="util.php">admin tools</a> (resize pictures)&quot; utility from the admin menu.', //cpg1.4 - (relocated)
-  'notice3' => '(***) All log files are written in english.', //cpg1.4 - (relocated)
-  'bbs_disabled' => 'Function disabled when using bb integration', //cpg1.4
-  'auto_resize_everyone' => 'Everyone', //cpg1.4
-  'auto_resize_user' => 'User only', //cpg1.4
-  'ascending' => 'ascending', //cpg1.4
-  'descending' => 'descending', //cpg1.4
-);
-
-if (defined('ADMIN_PHP')) $lang_admin_data = array(
-  'General settings',
-  array('Gallery name', 'gallery_name', 0, 'f=index.htm&amp;as=admin_general_name&amp;ae=admin_general_name_end'), //cpg1.4
-  array('Gallery description', 'gallery_description', 0, 'f=index.htm&amp;as=admin_general_description&amp;ae=admin_general_description_end'), //cpg1.4
-  array('Gallery administrator email', 'gallery_admin_email', 0, 'f=index.htm&amp;as=admin_general_email&amp;ae=admin_general_email_end'), //cpg1.4
-  array('URL of your coppermine gallery folder (no \'index.php\' or similar at the end)', 'ecards_more_pic_target', 0, 'f=index.htm&amp;as=admin_general_coppermine-url&amp;ae=admin_general_coppermine-url_end'), //cpg1.4
-  array('URL of your home page', 'home_target', 0, 'f=index.htm&amp;as=admin_general_home-url&amp;ae=admin_general_home-url_end'), //cpg1.4
-  array('Allow ZIP-download of favorites', 'enable_zipdownload', 1, 'f=index.htm&amp;as=admin_general_zip-download&amp;ae=admin_general_zip-download_end'), //cpg1.4
-  array('Timezone difference relative to GMT (current time: ' . localised_date(-1, $comment_date_fmt) . ')','time_offset',0, 'f=index.htm&amp;as=admin_general_time-offset&amp;ae=admin_general_time-offset_end&amp;top=1'), //cpg1.4
-  array('Enable encrypted passwords (can not be undone)','enable_encrypted_passwords',1, 'f=index.htm&amp;as=admin_general_encrypt_password_start&amp;ae=admin_general_encrypt_password_end&amp;top=1'), // cpg 1.4
-  array('Enable help-icons (help available in English only)','enable_help',9, 'f=index.htm&amp;as=admin_general_help&amp;ae=admin_general_help_end'), //cpg1.4
-  array('Enable clickable keywords in search','clickable_keyword_search',14, 'f=index.htm&amp;as=admin_general_keywords_start&amp;ae=admin_general_keywords_end'), //cpg1.4
-  array('Enable plugins', 'enable_plugins', 12, 'f=index.htm&amp;as=admin_general_enable-plugins&amp;ae=admin_general_enable-plugins_end'),  //cpg1.4
-  array('Allow banning of non-routable (private) IP addresses', 'ban_private_ip', 1,  'f=index.htm&amp;as=admin_general_private-ip&amp;ae=admin_general_private-ip_end'), //cpg1.4
-  array('Browsable batch-add interface', 'browse_batch_add', 1, 'f=index.htm&amp;as=admin_general_browsable_batch_add&amp;ae=admin_general_browsable_batch_add_end'), //cpg1.4
-
-  'Language &amp; Charset settings',
-  array('Language', 'lang', 5, 'f=index.htm&amp;as=admin_language_language&amp;ae=admin_language_language_end'), //cpg1.4
-  array('Fallback to English if translated phrase not found?', 'language_fallback', 1, 'f=index.htm&amp;as=admin_language_fallback&amp;ae=admin_language_fallback_end'), //cpg1.4
-  array('Character encoding', 'charset', 4, 'f=index.htm&amp;as=admin_language_charset&amp;ae=admin_language_charset_end'), //cpg1.4
-  array('Display language list', 'language_list', 1, 'f=index.htm&amp;as=admin_language_list&amp;ae=admin_language_list_end'), //cpg1.4
-  array('Display language flags', 'language_flags', 8, 'f=index.htm&amp;as=admin_language_flags&amp;ae=admin_language_flags_end&amp;top=1'), //cpg1.4
-  array('Display &quot;reset&quot; in language selection', 'language_reset', 1, 'f=index.htm&amp;as=admin_language_reset&amp;ae=admin_language_reset_end&amp;top=1'), //cpg1.4
-  //array('Display previous/next on tabbed pages', 'previous_next_tab', 1), //cpg1.4
-
-  'Themes settings',
-  array('Theme', 'theme', 6, 'f=index.htm&amp;as=admin_theme_theme&amp;ae=admin_theme_theme_end'), //cpg1.4
-  array('Display theme list', 'theme_list', 1, 'f=index.htm&amp;as=admin_theme_theme_list&amp;ae=admin_theme_theme_list_end'), //cpg1.4
-  array('Display &quot;reset&quot; in theme selection', 'theme_reset', 1, 'f=index.htm&amp;as=admin_theme_theme_reset&amp;ae=admin_theme_theme_reset_end'), //cpg1.4
-  array('Display FAQ', 'display_faq', 1, 'f=index.htm&amp;as=admin_theme_faq&amp;ae=admin_theme_faq_end'), //cpg1.4
-  array('Custom menu link name', 'custom_lnk_name', 0,'f=index.htm&amp;as=admin_theme_custom_lnk_name&amp;ae=admin_theme_custom_lnk_name_end'), //cpg1.4
-  array('Custom menu link URL', 'custom_lnk_url', 0,'f=index.htm&amp;as=admin_language_custom_lnk_url&amp;ae=admin_language_custom_lnk_url_end'), //cpg1.4
-  array('Display bbcode help', 'show_bbcode_help', 1, 'f=index.htm&amp;as=admin_theme_bbcode&amp;ae=admin_theme_bbcode_end&amp;top=1'), //cpg1.4
-  array('Show the vanity block on themes that are defined as XHTML and CSS compliant','vanity_block',1, 'f=index.htm&amp;as=vanity_block&amp;ae=vanity_block_end'), //cpg1.4
-  array('Path to custom header include', 'custom_header_path', 0, 'f=index.htm&amp;as=admin_theme_include_path_start&amp;ae=admin_theme_include_path_end'), //cpg1.4
-  array('Path to custom footer include', 'custom_footer_path', 0, 'f=index.htm&amp;as=admin_theme_include_path_start&amp;ae=admin_theme_include_path_end'), //cpg1.4
-
-  'Album list view',
-  array('Width of the main table (pixels or %)', 'main_table_width', 0, 'f=index.htm&amp;as=admin_album_table-width&amp;ae=admin_album_table-width_end'), //cpg1.4
-  array('Number of levels of categories to display', 'subcat_level', 0, 'f=index.htm&amp;as=admin_album_category-levels&amp;ae=admin_album_category-levels_end'), //cpg1.4
-  array('Number of albums to display', 'albums_per_page', 0, 'f=index.htm&amp;as=admin_album_number&amp;ae=admin_album_number_end'), //cpg1.4
-  array('Number of columns for the album list', 'album_list_cols', 0, 'f=index.htm&amp;as=admin_album_columns&amp;ae=admin_album_columns_end'), //cpg1.4
-  array('Size of thumbnails in pixels', 'alb_list_thumb_size', 0, 'f=index.htm&amp;as=admin_album_thumbnail-size&amp;ae=admin_album_thumbnail-size_end'), //cpg1.4
-  array('The content of the main page', 'main_page_layout', 0, 'f=index.htm&amp;as=admin_album_list_content&amp;ae=admin_album_list_content_end'), //cpg1.4
-  array('Show first level album thumbnails in categories','first_level',1, 'f=index.htm&amp;as=admin_album_first-level_thumbs&amp;ae=admin_album_first-level_thumbs_end'), //cpg1.4
-  array('Sort categories alphabetically (instead of custom sort order)','categories_alpha_sort',1, 'f=index.htm&amp;as=admin_album_list_alphasort_start&amp;ae=admin_album_list_alphasort_end'), //cpg1.4
-  array('Show number of linked files','link_pic_count',1, 'f=index.htm&amp;as=admin_album_linked_files_start&amp;ae=admin_album_linked_files_end'), //cpg1.4
-
-  'Thumbnail view',
-  array('Number of columns on thumbnail page', 'thumbcols', 0, 'f=index.htm&amp;as=admin_thumbnail_columns&amp;ae=admin_thumbnail_columns_end'), //cpg1.4
-  array('Number of rows on thumbnail page', 'thumbrows', 0, 'f=index.htm&amp;as=admin_thumbnail_rows&amp;ae=admin_thumbnail_rows_end'), //cpg1.4
-  array('Maximum number of tabs to display', 'max_tabs', 10, 'f=index.htm&amp;as=admin_thumbnail_tabs&amp;ae=admin_thumbnail_tabs_end'), //cpg1.4
-  array('Display file caption (in addition to title) below the thumbnail', 'caption_in_thumbview', 1, 'f=index.htm&amp;as=admin_thumbnail_display_caption&amp;ae=admin_thumbnail_display_caption_end'), //cpg1.4
-  array('Display number of views below the thumbnail', 'views_in_thumbview', 1, 'f=index.htm&amp;as=admin_thumbnail_display_views&amp;ae=admin_thumbnail_display_views_end'), //cpg1.4
-  array('Display number of comments below the thumbnail', 'display_comment_count', 1, 'f=index.htm&amp;as=admin_thumbnail_display_comments&amp;ae=admin_thumbnail_display_comments_end'), //cpg1.4
-  array('Display uploader name below the thumbnail', 'display_uploader', 1, 'f=index.htm&amp;as=admin_thumbnail_display_uploader&amp;ae=admin_thumbnail_display_uploader_end'), //cpg1.4
-  //array('Display name of admin uploaders below the thumbnail', 'display_admin_uploader', 1, 'f=index.htm&amp;as=admin_thumbnail_display_admin_uploader&amp;ae=admin_thumbnail_display_admin_uploader_end'), //cpg1.4
-  array('Display file name below the thumbnail', 'display_filename', 1, 'f=index.htm&amp;as=admin_thumbnail_display_filename&amp;ae=admin_thumbnail_display_filename_end'), //cpg1.4
-  //array('Display album description', 'alb_desc_thumb', 1, 'f=index.htm&amp;as=admin_thumbnail_display_description&amp;ae=admin_thumbnail_display_description_end'), //cpg1.4
-  array('Default sort order for files', 'default_sort_order', 3, 'f=index.htm&amp;as=admin_thumbnail_default_sortorder&amp;ae=admin_thumbnail_default_sortorder_end'), //cpg1.4
-  array('Minimum number of votes for a file to appear in the \'top-rated\' list', 'min_votes_for_rating', 0, 'f=index.htm&amp;as=admin_thumbnail_minimum_votes&amp;ae=admin_thumbnail_minimum_votes_end'), //cpg1.4
-
-  'Image view', //cpg1.4
-  array('Width of the table for file display (pixels or %)', 'picture_table_width', 0, 'f=index.htm&amp;as=admin_image_comment_table-width&amp;ae=admin_image_comment_table-width_end'), //cpg1.4
-  array('File information is visible by default', 'display_pic_info', 1, 'f=index.htm&amp;as=admin_image_comment_info_visible&amp;ae=admin_image_comment_info_visible_end'), //cpg1.4
-  array('Max length for an image description', 'max_img_desc_length', 0, 'f=index.htm&amp;as=admin_image_comment_descr_length&amp;ae=admin_image_comment_descr_length_end'), //cpg1.4
-  array('Max number of characters in a word', 'max_com_wlength', 0, 'f=index.htm&amp;as=admin_image_comment_chars_per_word&amp;ae=admin_image_comment_chars_per_word_end'), //cpg1.4
-  array('Show film strip', 'display_film_strip', 1, 'f=index.htm&amp;as=admin_image_comment_filmstrip_toggle&amp;ae=admin_image_comment_filmstrip_toggle_end'), //cpg1.4
-  array('Display file name under film strip thumbnail', 'display_film_strip_filename', 1, 'f=index.htm&amp;as=admin_image_comment_display_film_strip_filename&amp;ae=admin_image_comment_display_film_strip_filename_end'), //cpg1.4
-  array('Number of items in film strip', 'max_film_strip_items', 0, 'f=index.htm&amp;as=admin_image_comment_filmstrip_number&amp;ae=admin_image_comment_filmstrip_number_end'), //cpg1.4
-  array('Slideshow interval in milliseconds (1 second = 1000 milliseconds)', 'slideshow_interval', 0, 'f=index.htm&amp;as=admin_image_comment_slideshow_interval&amp;ae=admin_image_comment_slideshow_interval_end'), //cpg1.4
-
-  'Comment settings', //cpg1.4
-  array('Filter bad words in comments', 'filter_bad_words', 1, 'f=index.htm&amp;as=admin_image_comment_bad_words&amp;ae=admin_image_comment_bad_words_end'), //cpg1.4
-  array('Allow smiles in comments', 'enable_smilies', 1, 'f=index.htm&amp;as=admin_image_comment_smilies&amp;ae=admin_image_comment_smilies_end'), //cpg1.4
-  array('Allow several consecutive comments on one file from the same user (disable flood protection)', 'disable_comment_flood_protect', 1, 'f=index.htm&amp;as=admin_image_comment_flood&amp;ae=admin_image_comment_flood_end'), //cpg1.4
-  array('Max number of lines in a comment', 'max_com_lines', 0, 'f=index.htm&amp;as=admin_image_comment_lines&amp;ae=admin_image_comment_lines_end'), //cpg1.4
-  array('Maximum length of a comment', 'max_com_size', 0, 'f=index.htm&amp;as=admin_image_comment_length&amp;ae=admin_image_comment_length_end'), //cpg1.4
-  array('Notify admin of comments by email', 'email_comment_notification', 1, 'f=index.htm&amp;as=admin_image_comment_admin_notify&amp;ae=admin_image_comment_admin_notify_end'), //cpg1.4
-  array('Sort order of comments', 'comments_sort_descending', 17, 'f=index.htm&amp;as=admin_comment_sort_start&amp;ae=admin_comment_sort_end'), //cpg1.4
-  array('Prefix for anonymous comments authors', 'comments_anon_pfx', 0, 'f=index.htm&amp;as=comments_anon_pfx&amp;ae=comments_anon_pfx_end'), //cpg1.4
-
-  'Files and thumbnails settings',
-  array('Quality for JPEG files', 'jpeg_qual', 0, 'f=index.htm&amp;as=admin_picture_thumbnail_jpeg_quality&amp;ae=admin_picture_thumbnail_jpeg_quality_end'), //cpg1.4
-  array('Max dimension of a thumbnail <a href="#notice2" class="clickable_option">**</a>', 'thumb_width', 0, 'f=index.htm&amp;as=admin_picture_thumbnail_max-dimension&amp;ae=admin_picture_thumbnail_max-dimension_end'), //cpg1.4
-  array('Use dimension ( width or height or Max aspect for thumbnail ) <a href="#notice2" class="clickable_option">**</a>', 'thumb_use', 7, 'f=index.htm&amp;as=admin_picture_thumbnail_use-dimension&amp;ae=admin_picture_thumbnail_use-dimension_end'), //cpg1.4
-  array('Create intermediate pictures','make_intermediate',1, 'f=index.htm&amp;as=admin_picture_thumbnail_intermediate_toggle&amp;ae=admin_picture_thumbnail_intermediate_toggle_end'), //cpg1.4
-  array('Max width or height of an intermediate picture/video <a href="#notice2" class="clickable_option">**</a>', 'picture_width', 0, 'f=index.htm&amp;as=admin_picture_thumbnail_intermediate_dimension&amp;ae=admin_picture_thumbnail_intermediate_dimension_end'), //cpg1.4
-  array('Max size for uploaded files (KB)', 'max_upl_size', 0, 'f=index.htm&amp;as=admin_picture_thumbnail_max_upload_size&amp;ae=admin_picture_thumbnail_max_upload_size_end'), //cpg1.4
-  array('Max width or height for uploaded pictures/videos (pixels)', 'max_upl_width_height', 0, 'f=index.htm&amp;as=admin_picture_thumbnail_max_upload_dimension&amp;ae=admin_picture_thumbnail_max_upload_dimension_end'), //cpg1.4
-  array('Auto resize images that are larger than max width or height', 'auto_resize', 16, 'f=index.htm&amp;as=admin_picture_thumbnail_auto-resize&amp;ae=admin_picture_thumbnail_auto-resize_end'), //cpg1.4
-
-  'Files and thumbnails advanced settings',
-  array('Albums can be private (Note: if you switch from \'yes\' to \'no\' any current private albums will become public)', 'allow_private_albums', 1, 'f=index.htm&amp;as=admin_picture_thumb_advanced_private_toggle&amp;ae=admin_picture_thumb_advanced_private_toggle_end'), //cpg1.4
-  array('Show private album Icon to unlogged user','show_private',1, 'f=index.htm&amp;as=admin_picture_thumb_advanced_private_icon_show&amp;ae=admin_picture_thumb_advanced_private_icon_show_end'), //cpg1.4
-  array('Characters forbidden in filenames', 'forbiden_fname_char',0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_filename_forbidden_chars&amp;ae=admin_picture_thumb_advanced_filename_forbidden_chars_end'), //cpg1.4
-  //array('Accepted file extensions for uploaded pictures', 'allowed_file_extensions',0, 'f=index.htm&amp;as=&amp;ae=_end'), //cpg1.4
-  array('Allowed image types', 'allowed_img_types',0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_pic_extensions&amp;ae=admin_picture_thumb_advanced_pic_extensions_end'), //cpg1.4
-  array('Allowed movie types', 'allowed_mov_types',0, 'f=index.htm&amp;as=admin_thumbs_advanced_movie&amp;ae=admin_thumbs_advanced_movie_end'), //cpg1.4
-  array('Movie Playback Autostart', 'media_autostart',1, 'f=index.htm&amp;as=admin_movie_autoplay&amp;ae=admin_movie_autoplay_end'), //cpg1.4
-  array('Allowed audio types', 'allowed_snd_types',0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_audio_extensions&amp;ae=admin_picture_thumb_advanced_audio_extensions_end'), //cpg1.4
-  array('Allowed document types', 'allowed_doc_types',0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_doc_extensions&amp;ae=admin_picture_thumb_advanced_doc_extensions_end'), //cpg1.4
-  array('Method for resizing images','thumb_method',2, 'f=index.htm&amp;as=admin_picture_thumb_advanced_resize_method&amp;ae=admin_picture_thumb_advanced_resize_method_end'), //cpg1.4
-  array('Path to ImageMagick \'convert\' utility (example /usr/bin/X11/)', 'impath', 0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_im_path&amp;ae=admin_picture_thumb_advanced_im_path_end'), //cpg1.4
-  //array('Allowed image types (only valid for ImageMagick)', 'allowed_img_types',0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_allowed_imagetypes&amp;ae=admin_picture_thumb_advanced_allowed_imagetypes_end'), //cpg1.4
-  array('Command line options for ImageMagick', 'im_options', 0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_im_commandline&amp;ae=admin_picture_thumb_advanced_im_commandline_end'), //cpg1.4
-  array('Read EXIF data in JPEG files', 'read_exif_data', 13, 'f=index.htm&amp;as=admin_picture_thumb_advanced_exif&amp;ae=admin_picture_thumb_advanced_exif_end'), //cpg1.4
-  array('Read IPTC data in JPEG files', 'read_iptc_data', 1, 'f=index.htm&amp;as=admin_picture_thumb_advanced_iptc&amp;ae=admin_picture_thumb_advanced_iptc_end'), //cpg1.4
-  array('The album directory <a href="#notice1" class="clickable_option">*</a>', 'fullpath', 0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_albums_dir&amp;ae=admin_picture_thumb_advanced_albums_dir_end'), //cpg1.4
-  array('The directory for user files <a href="#notice1" class="clickable_option">*</a>', 'userpics', 0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_userpics_dir&amp;ae=admin_picture_thumb_advanced_userpics_dir_end'), //cpg1.4
-  array('The prefix for intermediate pictures <a href="#notice1" class="clickable_option">*</a>', 'normal_pfx', 0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_intermediate_prefix&amp;ae=admin_picture_thumb_advanced_intermediate_prefix_end'), //cpg1.4
-  array('The prefix for thumbnails <a href="#notice1" class="clickable_option">*</a>', 'thumb_pfx', 0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_thumbs_prefix&amp;ae=admin_picture_thumb_advanced_thumbs_prefix_end'), //cpg1.4
-  array('Default mode for directories', 'default_dir_mode', 0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_chmod_folder&amp;ae=admin_picture_thumb_advanced_chmod_folder_end'), //cpg1.4
-  array('Default mode for files', 'default_file_mode', 0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_chmod_files&amp;ae=admin_picture_thumb_advanced_chmod_files_end'), //cpg1.4
-
-  'User settings',
-  array('Allow new user registrations', 'allow_user_registration', 1, 'f=index.htm&amp;as=admin_allow_registration&amp;ae=admin_allow_registration_end'), //cpg1.4
-  array('Allow unlogged users (guest or anonymous) access', 'allow_unlogged_access', 1, 'f=index.htm&amp;as=admin_allow_unlogged_access&amp;ae=admin_allow_unlogged_access_end'), //cpg1.4
-  array('User registration requires email verification', 'reg_requires_valid_email', 1, 'f=index.htm&amp;as=admin_registration_verify&amp;ae=admin_registration_verify_end'), //cpg1.4
-  array('Notify admin of user registration by email', 'reg_notify_admin_email', 1, 'f=index.htm&amp;as=admin_registration_notify&amp;ae=admin_registration_notify_end'), //cpg1.4
-  array('Admin activation of registrations', 'admin_activation', 1, 'f=index.htm&amp;as=admin_activation&amp;ae=admin_activation_end'),  //cpg1.4
-  array('Allow two users to have the same email address', 'allow_duplicate_emails_addr', 1, 'f=index.htm&amp;as=admin_allow_duplicate_emails_addr&amp;ae=admin_allow_duplicate_emails_addr_end'), //cpg1.4
-  array('Notify admin of user upload awaiting approval', 'upl_notify_admin_email', 1, 'f=index.htm&amp;as=admin_approval_notify&amp;ae=admin_approval_notify_end'), //cpg1.4
-  array('Allow logged in users to view memberlist', 'allow_memberlist', 1, 'f=index.htm&amp;as=admin_user_memberlist&amp;ae=admin_user_memberlist_end'), //cpg1.4
-  array('Allow users to change their email address in profile', 'allow_email_change', 1, 'f=index.htm&amp;as=admin_user_allow_email_change&amp;ae=admin_user_allow_email_change_end'), //cpg1.4
-  array('Allow users to retain control over their pics in public galleries', 'users_can_edit_pics', 1, 'f=index.htm&amp;as=admin_user_editpics_public_start&amp;ae=admin_user_editpics_public_end'), //cpg1.4
-  array('Number of failed login attempts until temporary ban (to avoid brute force attacks)', 'login_threshold', 0, 'f=index.htm&amp;as=admin_user_login_start&amp;ae=admin_user_login_end'), //cpg1.4
-  array('Duration of a temporary ban after failed logins', 'login_expiry', 0, 'f=index.htm&amp;as=admin_user_login_start&amp;ae=admin_user_login_end'), //cpg1.4
-  array('Enable Report to Admin', 'report_post', 1, 'f=index.htm&amp;as=admin_user_enable_report&amp;ae=admin_user_enable_report_end'),  //cpg1.4
-
-// custom profile fields,  //cpg1.4
-  'Custom fields for user profile (leave blank if unused).
-  Use Profile 6 for long entries, such as biographies', //cpg1.4
-  array('Profile 1 name', 'user_profile1_name', 0, 'f=index.htm&amp;as=admin_custom&amp;ae=admin_custom_end'), //cpg1.4
-  array('Profile 2 name', 'user_profile2_name', 0), //cpg1.4
-  array('Profile 3 name', 'user_profile3_name', 0), //cpg1.4
-  array('Profile 4 name', 'user_profile4_name', 0), //cpg1.4
-  array('Profile 5 name', 'user_profile5_name', 0), //cpg1.4
-  array('Profile 6 name', 'user_profile6_name', 0), //cpg1.4
-
-  'Custom fields for image description (leave blank if unused)',
-  array('Field 1 name', 'user_field1_name', 0, 'f=index.htm&amp;as=admin_custom_image&amp;ae=admin_custom_image_end'), //cpg1.4
-  array('Field 2 name', 'user_field2_name', 0),
-  array('Field 3 name', 'user_field3_name', 0),
-  array('Field 4 name', 'user_field4_name', 0),
-
-  'Cookies settings',
-  array('Cookie name', 'cookie_name', 0, 'f=index.htm&amp;as=admin_cookie_name&amp;ae=admin_cookie_name_end'), //cpg1.4
-  array('Cookie path', 'cookie_path', 0, 'f=index.htm&amp;as=admin_cookie_path&amp;ae=admin_cookie_path_end'), //cpg1.4
-
-  'Email settings  (usually nothing has to be changed here; leave all fields blank when not sure)', //cpg1.4
-  array('SMTP Host (when left blank, sendmail will be used)', 'smtp_host', 0, 'f=index.htm&amp;as=admin_email&amp;ae=admin_email_end'), //cpg1.4
-  array('SMTP Username', 'smtp_username', 0), //cpg1.4
-  array('SMTP Password', 'smtp_password', 0), //cpg1.4
-
-  'Logging and statistics', //cpg1.4
-  array('Logging mode <a href="#notice3" class="clickable_option">***</a>', 'log_mode', 11, 'f=index.htm&amp;as=admin_logging_log_mode&amp;ae=admin_logging_log_mode_end'), //cpg1.4
-  array('Log ecards', 'log_ecards', 1, 'f=index.htm&amp;as=admin_general_log_ecards&amp;ae=admin_general_log_ecards_end'), //cpg1.4
-  array('Keep detailed vote statistics','vote_details',1, 'f=index.htm&amp;as=admin_logging_votedetails&amp;ae=admin_logging_votedetails_end'), //cpg1.4
-  array('Keep detailed hit statistics','hit_details',1, 'f=index.htm&amp;as=admin_logging_hitdetails&amp;ae=admin_logging_hitdetails_end'), //cpg1.4
-
-  'Maintenance settings', //cpg1.4
-  array('Enable debug mode', 'debug_mode', 9, 'f=index.htm&amp;as=debug_mode&amp;ae=debug_mode_end'), //cpg1.4
-  array('Display notices in debug mode', 'debug_notice', 1, 'f=index.htm&amp;as=admin_misc_debug_notices&amp;ae=admin_misc_debug_notices_end'), //cpg1.4
-  array('Gallery is offline', 'offline', 1, 'f=index.htm&amp;as=admin_general_offline&amp;ae=admin_general_offline_end'), //cpg1.4
-);
-
-
-// ------------------------------------------------------------------------- //
-// File db_ecard.php
-// ------------------------------------------------------------------------- //
-
-if (defined('DB_ECARD_PHP')) $lang_db_ecard_php = array(
-  'title' => 'Sent ecards',
-  'ecard_sender' => 'Sender',
-  'ecard_recipient' => 'Recipient',
-  'ecard_date' => 'Date',
-  'ecard_display' => 'Display ecard',
-  'ecard_name' => 'Name',
-  'ecard_email' => 'Email',
-  'ecard_ip' => 'IP #',
-  'ecard_ascending' => 'ascending',
-  'ecard_descending' => 'descending',
-  'ecard_sorted' => 'Sorted',
-  'ecard_by_date' => 'by date',
-  'ecard_by_sender_name' => 'by sender\'s name',
-  'ecard_by_sender_email' => 'by sender\'s email',
-  'ecard_by_sender_ip' => 'by sender\'s IP address',
-  'ecard_by_recipient_name' => 'by recipient\'s name',
-  'ecard_by_recipient_email' => 'by recipient\'s email',
-  'ecard_number' => 'displaying record %s to %s of %s',
-  'ecard_goto_page' => 'go to page',
-  'ecard_records_per_page' => 'Records per page',
-  'check_all' => 'Check All',
-  'uncheck_all' => 'Uncheck All',
-  'ecards_delete_selected' => 'Delete selected ecards',
-  'ecards_delete_confirm' => 'Are you sure you want to delete the records? Tick the checkbox!',
-  'ecards_delete_sure' => 'I\'m sure',
-);
-
-
-// ------------------------------------------------------------------------- //
-// File db_input.php
-// ------------------------------------------------------------------------- //
-
-if (defined('DB_INPUT_PHP')) $lang_db_input_php = array(
-  'empty_name_or_com' => 'You need to type your name and a comment',
-  'com_added' => 'Your comment was added',
-  'alb_need_title' => 'You have to provide a title for the album !',
-  'no_udp_needed' => 'No update needed.',
-  'alb_updated' => 'The album was updated',
-  'unknown_album' => 'Selected album does not exist or you don\'t have permission to upload in this album',
-  'no_pic_uploaded' => 'No file was uploaded !<br /><br />If you have really selected a file to upload, check that the server allows file uploads...',
-  'err_mkdir' => 'Failed to create directory %s !',
-  'dest_dir_ro' => 'Destination directory %s is not writable by the script !',
-  'err_move' => 'Impossible to move %s to %s !',
-  'err_fsize_too_large' => 'The size of file you have uploaded is too large (maximum allowed is %s x %s) !', //obsolete since cpg1.3 - consider removal in cpg1.4 once upload.php has been overhauled
-  'err_imgsize_too_large' => 'The size of the file you have uploaded is too large (maximum allowed is %s KB) !', //obsolete since cpg1.3 - consider removal in cpg1.4 once upload.php has been overhauled
-  'err_invalid_img' => 'The file you have uploaded is not a valid image !',
-  'allowed_img_types' => 'You can only upload %s images.',
-  'err_insert_pic' => 'The file \'%s\' can\'t be inserted in the album ',
-  'upload_success' => 'Your file was uploaded successfully.<br /><br />It will be visible after admin approval.',
-  'notify_admin_email_subject' => '%s - Upload notification',
-  'notify_admin_email_body' => 'A picture has been uploaded by %s that needs your approval. Visit %s',
-  'info' => 'Information',
-  'com_added' => 'Comment added',
-  'alb_updated' => 'Album updated',
-  'err_comment_empty' => 'Your comment is empty !',
-  'err_invalid_fext' => 'Only files with the following extensions are accepted : <br /><br />%s.',
-  'no_flood' => 'Sorry but you are already the author of the last comment posted for this file<br /><br />Edit the comment you have posted if you want to modify it',
-  'redirect_msg' => 'You are being redirected.<br /><br /><br />Click \'CONTINUE\' if the page does not refresh automatically',
-  'upl_success' => 'Your file was successfully added',
-  'email_comment_subject' => 'Comment posted on Coppermine Photo Gallery',
-  'email_comment_body' => 'Someone has posted a comment on your gallery. See it at',
-  'album_not_selected' => 'Album not selected', //cpg1.4
-  'com_author_error' => 'A registered user is using this nickname, login or use another one', //cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File delete.php
-// ------------------------------------------------------------------------- //
-
-if (defined('DELETE_PHP')) $lang_delete_php = array(
-  'caption' => 'Caption',
-  'fs_pic' => 'full size image',
-  'del_success' => 'successfully deleted',
-  'ns_pic' => 'normal size image',
-  'err_del' => 'can\'t be deleted',
-  'thumb_pic' => 'thumbnail',
-  'comment' => 'comment',
-  'im_in_alb' => 'image in album',
-  'alb_del_success' => 'Album &laquo;%s&raquo; deleted', //cpg1.4
-  'alb_mgr' => 'Album Manager',
-  'err_invalid_data' => 'Invalid data received in \'%s\'',
-  'create_alb' => 'A criar o álbum \'%s\'',
-  'update_alb' => 'Actualizando o álbum \'%s\' com o título \'%s\' e índice \'%s\'',
-  'del_pic' => 'Apagar ficheiro',
-  'del_alb' => 'Apagar álbum',
-  'del_user' => 'Apagar utilizador',
-  'err_unknown_user' => 'The selected user does not exist !',
-  'err_empty_groups' => 'There\'s no group table, or the group table is empty!', //cpg1.4
-  'comment_deleted' => 'Comment was succesfully deleted',
-  'npic' => 'Picture', //cpg1.4
-  'pic_mgr' => 'Picture Manager', //cpg1.4
-  'update_pic' => 'Updating picture \'%s\' with filename \'%s\' and index \'%s\'', //cpg1.4
-  'username' => 'utilizador', //cpg1.4
-  'anonymized_comments' => '%s comment(s) anonymized', //cpg1.4
-  'anonymized_uploads' => '%s public upload(s) anonymized', //cpg1.4
-  'deleted_comments' => '%s comment(s) deleted', //cpg1.4
-  'deleted_uploads' => '%s public upload(s) deleted', //cpg1.4
-  'user_deleted' => 'user %s deleted', //cpg1.4
-  'activate_user' => 'Activate user', //cpg1.4
-  'user_already_active' => 'Account has already been active', //cpg1.4
-  'activated' => 'Activated', //cpg1.4
-  'deactivate_user' => 'Deactivate user', //cpg1.4
-  'user_already_inactive' => 'Account has already been inactive', //cpg1.4
-  'deactivated' => 'Deactivated', //cpg1.4
-  'reset_password' => 'Reset password(s)', //cpg1.4
-  'password_reset' => 'Password reset to %s', //cpg1.4
-  'change_group' => 'Change primary group', //cpg1.4
-  'change_group_to_group' => 'Changing from %s to %s', //cpg1.4
-  'add_group' => 'Add secondary group', //cpg1.4
-  'add_group_to_group' => 'Adding user %s to group %s. He\'s now member of %s as primary and of %s as secondary membergroup(s).', //cpg1.4
-  'status' => 'Status', //cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File displayecard.php
-// ------------------------------------------------------------------------- //
-
-if (defined('DISPLAYECARD_PHP')) {
-
-$lang_displayecard_php = array(
-  'invalid_data' => 'Os dados de acesso ao conteúdo do Ecard foram corrompidos pelo seu programa de email! Verifique se o link está completo!', //cpg1.4
-);
-}
-
-// ------------------------------------------------------------------------- //
-// File displayimage.php
-// ------------------------------------------------------------------------- //
-
-if (defined('DISPLAYIMAGE_PHP')){
-
-$lang_display_image_php = array(
-  'confirm_del' => 'Are you sure you want to DELETE this file ? \\nComments will also be deleted.', //js-alert
-  'del_pic' => 'DELETE THIS FILE',
-  'size' => '%s x %s pixels',
-  'views' => '%s times',
-  'slideshow' => 'Slideshow',
-  'stop_slideshow' => 'STOP SLIDESHOW',
-  'view_fs' => 'Click to view full size image',
-  'edit_pic' => 'Edit file information', //cpg1.4
-  'crop_pic' => 'Crop and Rotate',
-  'set_player' => 'Change player',
-);
-
-$lang_picinfo = array(
-  'title' =>'File information',
-  'Filename' => 'Filename',
-  'Album name' => 'Album name',
-  'Rating' => 'Rating (%s votes)',
-  'Keywords' => 'Keywords',
-  'File Size' => 'File Size',
-  'Date Added' => 'Date added', //cpg1.4
-  'Dimensions' => 'Dimensions',
-  'Displayed' => 'Displayed',
-  'URL' => 'URL', //cpg1.4
-  'Make' => 'Make', //cpg1.4
-  'Model' => 'Model', //cpg1.4
-  'DateTime' => 'Date Time', //cpg1.4
-  'ISOSpeedRatings'=>'ISO', //cpg1.4
-  'MaxApertureValue' => 'Max Aperture', //cpg1.4
-  'FocalLength' => 'Focal length', //cpg1.4
-  'Comment' => 'Comment',
-  'addFav'=>'Add to Favorites',
-  'addFavPhrase'=>'Favorites',
-  'remFav'=>'Remove from Favorites',
-  'iptcTitle'=>'IPTC Title',
-  'iptcCopyright'=>'IPTC Copyright',
-  'iptcKeywords'=>'IPTC Keywords',
-  'iptcCategory'=>'IPTC Category',
-  'iptcSubCategories'=>'IPTC Sub Categories',
-  'ColorSpace' => 'Color Space', //cpg1.4
-  'ExposureProgram' => 'Exposure Program', //cpg1.4
-  'Flash' => 'Flash', //cpg1.4
-  'MeteringMode' => 'Metering Mode', //cpg1.4
-  'ExposureTime' => 'Exposure Time', //cpg1.4
-  'ExposureBiasValue' => 'Exposure Bias', //cpg1.4
-  'ImageDescription' => ' Image Description', //cpg1.4
-  'Orientation' => 'Orientation', //cpg1.4
-  'xResolution' => 'X Resolution', //cpg1.4
-  'yResolution' => 'Y Resolution', //cpg1.4
-  'ResolutionUnit' => 'Resolution Unit', //cpg1.4
-  'Software' => 'Software', //cpg1.4
-  'YCbCrPositioning' => 'YCbCrPositioning', //cpg1.4
-  'ExifOffset' => 'Exif Offset', //cpg1.4
-  'IFD1Offset' => 'IFD1 Offset', //cpg1.4
-  'FNumber' => 'FNumber', //cpg1.4
-  'ExifVersion' => 'Exif Version', //cpg1.4
-  'DateTimeOriginal' => 'DateTime Original', //cpg1.4
-  'DateTimedigitized' => 'DateTime digitized', //cpg1.4
-  'ComponentsConfiguration' => 'Components Configuration', //cpg1.4
-  'CompressedBitsPerPixel' => 'Compressed Bits Per Pixel', //cpg1.4
-  'LightSource' => 'Light Source', //cpg1.4
-  'ISOSetting' => 'ISO Setting', //cpg1.4
-  'ColorMode' => 'Color Mode', //cpg1.4
-  'Quality' => 'Quality', //cpg1.4
-  'ImageSharpening' => 'Image Sharpening', //cpg1.4
-  'FocusMode' => 'Focus Mode', //cpg1.4
-  'FlashSetting' => 'Flash Setting', //cpg1.4
-  'ISOSelection' => 'ISO Selection', //cpg1.4
-  'ImageAdjustment' => 'Image Adjustment', //cpg1.4
-  'Adapter' => 'Adapter', //cpg1.4
-  'ManualFocusDistance' => 'Manual Focus Distance', //cpg1.4
-  'DigitalZoom' => 'Digital Zoom', //cpg1.4
-  'AFFocusPosition' => 'AF Focus Position', //cpg1.4
-  'Saturation' => 'Saturation', //cpg1.4
-  'NoiseReduction' => 'Noise Reduction', //cpg1.4
-  'FlashPixVersion' => 'Flash Pix Version', //cpg1.4
-  'ExifImageWidth' => 'Exif Image Width', //cpg1.4
-  'ExifImageHeight' => 'Exif Image Height', //cpg1.4
-  'ExifInteroperabilityOffset' => 'Exif Interoperability Offset', //cpg1.4
-  'FileSource' => 'File Source', //cpg1.4
-  'SceneType' => 'Scene Type', //cpg1.4
-  'CustomerRender' => 'Customer Render', //cpg1.4
-  'ExposureMode' => 'Exposure Mode', //cpg1.4
-  'WhiteBalance' => 'White Balance', //cpg1.4
-  'DigitalZoomRatio' => 'Digital Zoom Ratio', //cpg1.4
-  'SceneCaptureMode' => 'Scene Capture Mode', //cpg1.4
-  'GainControl' => 'Gain Control', //cpg1.4
-  'Contrast' => 'Contrast', //cpg1.4
-  'Sharpness' => 'Sharpness', //cpg1.4
-  'ManageExifDisplay' => 'Manage Exif Display', //cpg1.4
-  'submit' => 'Submit', //cpg1.4
-  'success' => 'Information updated successfully.', //cpg1.4
-  'details' => 'Details', //cpg1.4
-);
-
-$lang_display_comments = array(
-  'OK' => 'OK',
-  'edit_title' => 'Edit this comment',
-  'confirm_delete' => 'Are you sure you want to delete this comment ?', //js-alert
-  'add_your_comment' => 'Add your comment',
-  'name'=>'Name',
-  'comment'=>'Comment',
-  'your_name' => 'Anon',
-  'report_comment_title' => 'Report this comment to the administrator', //cpg1.4
-);
-
-$lang_fullsize_popup = array(
-  'click_to_close' => 'Click image to close this window',
-);
-
-}
-
-// ------------------------------------------------------------------------- //
-// File ecard.php
-// ------------------------------------------------------------------------- //
-
-if (defined('ECARDS_PHP') || defined('DISPLAYECARD_PHP')) $lang_ecard_php =array(
-  'title' => 'Send an e-card',
-  'invalid_email' => '<font color="red"><b>Warning</b></font>: invalid email address:', //cpg1.4
-  'ecard_title' => 'An e-card from %s for you',
-  'error_not_image' => 'Only images can be sent as an ecard.',
-  'view_ecard' => 'Alternate link if the e-card does not display correctly', //cpg1.4
-  'view_ecard_plaintext' => 'To view the ecard, copy and paste this url into your browser\'s address bar:', //cpg1.4
-  'view_more_pics' => 'View more pictures !', //cpg1.4
-  'send_success' => 'Your ecard was sent',
-  'send_failed' => 'Sorry but the server can\'t send your e-card...',
-  'from' => 'From',
-  'your_name' => 'Your name',
-  'your_email' => 'Your email address',
-  'to' => 'To',
-  'rcpt_name' => 'Recipient name',
-  'rcpt_email' => 'Recipient email address',
-  'greetings' => 'Heading', //cpg1.4
-  'message' => 'Message', //cpg1.4
-  'ecards_footer' => 'Sent by %s from IP %s at %s (Gallery time)', //cpg1.4
-  'preview' => 'Preview of the ecard', //cpg1.4
-  'preview_button' => 'Preview', //cpg1.4
-  'submit_button' => 'Send ecard', //cpg1.4
-  'preview_view_ecard' => 'This will be the alternate link to the ecard once it gets generated. It won\'t work for previews.', //cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File report_file.php //cpg1.4
-// ------------------------------------------------------------------------- //
-
-if (defined('REPORT_FILE_PHP') || defined('DISPLAYREPORT_PHP')) $lang_report_php =array(
-  'title' => 'Report to administrator', //cpg1.4
-  'invalid_email' => '<b>Warning</b> : invalid email address !', //cpg1.4
-  'report_subject' => 'A report from %s on a gallery %s', //cpg1.4
-  'view_report' => 'Alternate link if the report does not display correctly', //cpg1.4
-  'view_report_plaintext' => 'To view the report, copy and paste this url into your browser\'s address bar:', //cpg1.4
-  'view_more_pics' => 'Gallery', //cpg1.4
-  'send_success' => 'Your report was sent', //cpg1.4
-  'send_failed' => 'Sorry but the server can\'t send your report...', //cpg1.4
-  'from' => 'From', //cpg1.4
-  'your_name' => 'Your name', //cpg1.4
-  'your_email' => 'Your email address', //cpg1.4
-  'to' => 'To', //cpg1.4
-  'administrator' => 'Administrator/Mod', //cpg1.4
-  'subject' => 'Subject', //cpg1.4
-  'comment_field_name' => 'Reporting on Comment by "%s"', //cpg1.4
-  'reason' => 'Reason', //cpg1.4
-  'message' => 'Message', //cpg1.4
-  'report_footer' => 'Sent by %s from IP %s at %s (Gallery time)', //cpg1.4
-  'obscene' => 'obscene', //cpg1.4
-  'offensive' => 'offensive', //cpg1.4
-  'misplaced' => 'off-topic/misplaced', //cpg1.4
-  'missing' => 'missing', //cpg1.4
-  'issue' => 'error/cannot view', //cpg1.4
-  'other' => 'other', //cpg1.4
-  'refers_to' => 'File report refers to', //cpg1.4
-  'reasons_list_heading' => 'reason(s) for report:', //cpg1.4
-  'no_reason_given' => 'no reason was given', //cpg1.4
-  'go_comment' => 'Go to comment', //cpg1.4
-  'view_comment' => 'View full report with comment', //cpg1.4
-  'type_file' => 'file', //cpg1.4
-  'type_comment' => 'comment', //cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File editpics.php
-// ------------------------------------------------------------------------- //
-
-if (defined('EDITPICS_PHP')) $lang_editpics_php = array(
-  'pic_info' => 'File info',
-  'album' => 'Album',
-  'title' => 'Title',
-  'filename' => 'Filename', //cpg1.4
-  'desc' => 'Description',
-  'keywords' => 'Keywords',
-  'new_keyword' => 'New keyword', //cpg1.4
-  'new_keywords' => 'New keywords found', //cpg1.4
-  'existing_keyword' => 'Existing keyword', //cpg1.4
-  'pic_info_str' => '%s &times; %s - %s KB - %s views - %s votes',
-  'approve' => 'Approve file',
-  'postpone_app' => 'Postpone approval',
-  'del_pic' => 'Delete file',
-  'del_all' => 'Delete ALL files', //cpg1.4
-  'read_exif' => 'Read EXIF info again',
-  'reset_view_count' => 'Reset view counter',
-  'reset_all_view_count' => 'Reset ALL view counters', //cpg1.4
-  'reset_votes' => 'Reset votes',
-  'reset_all_votes' => 'Reset ALL votes', //cpg1.4
-  'del_comm' => 'Delete comments',
-  'del_all_comm' => 'Delete ALL comments', //cpg1.4
-  'upl_approval' => 'Upload approval', //cpg1.4
-  'edit_pics' => 'Edit files',
-  'see_next' => 'See next files',
-  'see_prev' => 'See previous files',
-  'n_pic' => '%s files',
-  'n_of_pic_to_disp' => 'Number of files to display',
-  'apply' => 'Apply modifications',
-  'crop_title' => 'Coppermine Picture Editor',
-  'preview' => 'Preview',
-  'save' => 'Save picture',
-  'save_thumb' =>'Save as thumbnail',
-  'gallery_icon' => 'Make this my icon', //cpg1.4
-  'sel_on_img' =>'The selection has to be entirely on the image!', //js-alert
-  'album_properties' =>'Album properties', //cpg1.4
-  'parent_category' =>'Parent category', //cpg1.4
-  'thumbnail_view' =>'Thumbnail view', //cpg1.4
-  'select_unselect' =>'select/unselect all', //cpg1.4
-  'file_exists' => "Destination file '%s' already exists.", //cpg1.4
-  'rename_failed' => "Failed to rename '%s' to '%s'.", //cpg1.4
-  'src_file_missing' => "Source file '%s' is missing.", // cpg 1.4
-  'mime_conv' => "Cannot convert file from '%s' to '%s'",//cpg1.4
-  'forb_ext' => 'Forbidden file extension.',//cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File faq.php
-// ------------------------------------------------------------------------- //
-
-if (defined('FAQ_PHP')) $lang_faq_php = array(
-  'faq' => 'Frequently Asked Questions',
-  'toc' => 'Table of contents',
-  'question' => 'Question: ',
-  'answer' => 'Answer: ',
-);
-
-if (defined('FAQ_PHP')) $lang_faq_data = array(
-  'General FAQ',
-  array('Why do I need to register?', 'Registration may or may not be required by the administrator. Registration gives a member additional features such as uploading, having a favorite list, rating pictures and posting comments etc.', 'allow_user_registration', '1'),
-  array('How do I register?', 'Go to &quot;Register&quot; and fill out the required fields (and the optional ones if you want to).<br />If the Administrator has Email Activation enabled, then after submitting your information you should recieve an email message at the address that you have submitted while registering, giving you instructions on how to activate your membership. Your membership must be activated in order for you to login.', 'allow_user_registration', '1'), //cpg1.4
-  array('How Do I login?', 'Go to &quot;Login&quot;, submit your username and password and check &quot;Remember Me&quot; so you will be logged in on the site if you should leave it.<br /><b>IMPORTANT:Cookies must be enabled and the cookie from this site must not be deleted in order to use &quot;Remember Me&quot;.</b>', 'offline', 0),
-  array('Why can I not login?', 'Did you register and click the link that was sent to you via email?. The link will activate your account. For other login problems contact the site administrator.', 'offline', 0),
-  array('What if I forgot my password?', 'If this site has a &quot;Forgot password&quot; link then use it. Other than that contact the site administrator for a new password.', 'offline', 0),
-  //array('What if I changed my email address?', 'Just simply login and change your email address through &quot;Profile&quot;', 'offline', 0),
-  array('How do I save a picture to &quot;My Favorites&quot;?', 'Click on a picture and click on the &quot;picture info&quot; link (<img src="images/info.gif" width="16" height="16" border="0" alt="Picture information" />); scroll down to the picture information set and click &quot;Add to fav&quot;.<br />The administrator may have the &quot;picture information&quot; on by default.<br />IMPORTANT:Cookies must be enabled and the cookie from this site must not be deleted.', 'offline', 0),
-  array('How do I rate a file?', 'Click on a thumbnail and go to the bottom and choose a rating.', 'offline', 0),
-  array('How do I post a comment for a picture?', 'Click on a thumbnail and go to the bottom and post a comment.', 'offline', 0),
-  array('How do I upload a file?', 'Go to &quot;Upload&quot;and select the album that you want to upload to. Click &quot;Browse,&quot; find the file to upload, and click &quot;open.&quot; Add a title and description if you want. Click &quot;Submit&quot;.<br /><br />Alternatively, for those users using <b>Windows XP</b>, you can upload multiple files directly to your own private albums using the XP Publishing wizard.<br />For instructions on how, and to get the required registry file, click <a href="xp_publish.php">here.</a>', 'allow_private_albums', 1), //cpg1.4
-  array('Where do I upload a picture to?', 'You will be able to upload a file to one of your albums in &quot;My Gallery&quot;. The Administrator may also allow you to upload a file to one or more of the albums in the Main Gallery.', 'allow_private_albums', 0),
-  array('What type and size of a file can I upload?', 'The size and type (jpg, png, etc.) is up to the administrator.', 'offline', 0),
-  array('How do I create, rename or delete an album in &quot;My Gallery&quot;?', 'You should already be in &quot;Admin-Mode&quot;<br />Go to &quot;Create/Order My Albums&quot;and click &quot;New&quot;. Change &quot;New Album&quot; to your desired name.<br />You can also rename any of the albums in your gallery.<br />Click &quot;Apply Modifications&quot;.', 'allow_private_albums', 0),
-  array('How can I modify and restrict users from viewing my albums?', 'You should already be in &quot;Admin Mode&quot;<br />Go to &quot;Modify My Albums. On the &quot;Update Album&quot; bar, select the album that you want to modify.<br />Here, you can change the name, description, thumbnail picture, restrict viewing and comment/rating permissions.<br />Click &quot;Update Album&quot;.', 'allow_private_albums', 0),
-  array('How can I view other users\' galleries?', 'Go to &quot;Album List&quot; and select &quot;User Galleries&quot;.', 'allow_private_albums', 0),
-  array('What are cookies?', 'Cookies are a plain text piece of data that is sent from a website and is put on to your computer.<br />Cookies usually allow a user to leave and return to the site without having to login again and other various chores.', 'offline', 0),
-  array('Where can I get this program for my site?', 'Coppermine is a free Multimedia Gallery, released under GNU GPL. It is full of features and has been ported to various platforms. Visit the <a href="http://coppermine-gallery.net/">Coppermine Home Page</a> to find out more or download it.', 'offline', 0),
-
-  'Navigating the Site',
-  array('What\'s &quot;Album List&quot;?', 'This will show you the entire category you are currently in, with a link to each album. If you are not in a category, it will show you the entire gallery with a link to each category. Thumbnails may be a link to the category.', 'offline', 0),
-  array('What\'s &quot;My Gallery&quot;?', 'This feature lets users create their own galleries and add, delete or modify albums as well as upload to them.', 'allow_private_albums', 1), //cpg1.4
-  array('What\'s the difference between &quot;Admin Mode&quot; and &quot;User Mode&quot;?', 'This feature, when in admin-mode, allows a user to modify their gallery (as well as others if allowed by the administrator).', 'allow_private_albums', 0),
-  array('What\'s &quot;Upload Picture&quot;?', 'This feature allows a user to upload a file (size and type is set by the site administrator) to a gallery selected by either you or the administrator.', 'allow_private_albums', 0),
-  array('What\'s &quot;Last Uploads&quot;?', 'This feature shows the last uploads to the site.', 'offline', 0),
-  array('What\'s &quot;Last Comments&quot;?', 'This feature shows the last comments along with the files posted by users.', 'offline', 0),
-  array('What\'s &quot;Most Viewed&quot;?', 'This feature shows the most viewed files by all users (whether logged in or not).', 'offline', 0),
-  array('What\'s &quot;Top Rated&quot;?', 'This feature shows the top rated files rated by the users, showing the average rating (e.g: five users each gave a <img src="images/rating3.gif" width="65" height="14" border="0" alt="" />: the file would have an average rating of <img src="images/rating3.gif" width="65" height="14" border="0" alt="" /> ;Five users rated the file from 1 to 5 (1,2,3,4,5) would result in an average <img src="images/rating3.gif" width="65" height="14" border="0" alt="" /> .)<br />The ratings go from <img src="images/rating5.gif" width="65" height="14" border="0" alt="best" /> (best) to <img src="images/rating0.gif" width="65" height="14" border="0" alt="worst" /> (worst).', 'offline', 0),
-  array('What\'s &quot;My Favorites&quot;?', 'This feature will let a user store a favorite file in the cookie that was sent to your computer.', 'offline', 0),
-);
-
-
-// ------------------------------------------------------------------------- //
-// File forgot_passwd.php
-// ------------------------------------------------------------------------- //
-
-if (defined('FORGOT_PASSWD_PHP')) $lang_forgot_passwd_php = array(
-  'forgot_passwd' => 'Password reminder',
-  'err_already_logged_in' => 'You are already logged in !',
-  'enter_email' => 'Enter your email address', //cpg1.4
-  'submit' => 'go',
-  'illegal_session' => 'Forgot password session invalid or has expired.', //cpg1.4
-  'failed_sending_email' => 'The password reminder email can\'t be sent !',
-  'email_sent' => 'An email with your username and new password was sent to %s', //cpg1.4
-  'verify_email_sent' => 'An email has been sent to %s. Please check your email to complete the process.', //cpg1.4
-  'err_unk_user' => 'Selected user does not exist!',
-  'account_verify_subject' => '%s - New password request', //cpg1.4
-  'account_verify_body' => 'You have requested to a new password. If you would like to proceed with having a new password sent to you, click on the following link:
-
-%s', //cpg1.4
-  'passwd_reset_subject' => '%s - Your New Password', //cpg1.4
-  'passwd_reset_body' => 'Here is the new password you requested:
-Username: %s
-Password: %s
-Click %s to log in.', //cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File groupmgr.php
-// ------------------------------------------------------------------------- //
-
-if (defined('GROUPMGR_PHP')) $lang_groupmgr_php = array(
-  'group_name' => 'Grupo', //cpg1.4
-  'permissions' => 'Previlégios', //cpg1.4
-  'public_albums' => 'Adicionar ficheiros em álbuns públicos', //cpg1.4
-  'personal_gallery' => 'Galeria pessoal', //cpg1.4
-  'upload_method' => 'método de envio', //cpg1.4
-  'disk_quota' => 'Quota', //cpg1.4
-  'rating' => 'Avaliar', //cpg1.4
-  'ecards' => 'Ecards', //cpg1.4
-  'comments' => 'Comentar', //cpg1.4
-  'allowed' => 'Permitido', //cpg1.4
-  'approval' => 'Aprovação', //cpg1.4
-  'boxes_number' => 'No. de caixas', //cpg1.4
-  'variable' => 'variável', //cpg1.4
-  'fixed' => 'fixo', //cpg1.4
-  'apply' => 'Aplicar modificações',
-  'create_new_group' => 'Criar novo grupo',
-  'del_groups' => 'Apagar grupo(s) selecionado(s)',
-  'confirm_del' => 'Aviso: Quando apaga um grupo, os seus utilizadores são transferidos para o grupo \'Registados\' !\n\nDeseja continuar ?', //js-alert
-  'title' => 'Administração grupo de utilizadores',
-  'num_file_upload' => 'Caixas de envio de ficheiros', //cpg1.4
-  'num_URI_upload' => 'Caixas de envio URI', //cpg1.4
-  'reset_to_default' => 'Restabelece o nome por defeito (%s) - recomendado!', //cpg1.4
-  'error_group_empty' => 'A tabela de grupos estava vazia !<br /><br />Foram criados os grupos por defeito, por favor recarregue esta página', //cpg1.4
-  'explain_greyed_out_title' => 'Porque está esta fila a cizento(desactivada)?', //cpg1.4
-  'explain_guests_greyed_out_text' => 'Não pode alterar as propriedades deste grupo porque activou a opção &quot; Permitir acesso a utilizadores não validados(convidados ou anónimos)&quot; para &quot;No&quot; na página de configuração. Os convidados (membros do grupo %s) não têm outro previlégio senão o de se validar(iniciar sessão); Então as definições de grupo não são aplicáveis a estes utilizadores.', //cpg1.4
-  'explain_banned_greyed_out_text' => 'Não pode alterar as propriedades do grupo %s porque de qualquer forma, os seus membros não podem fazer nada.', //cpg1.4
-  'group_assigned_album' => 'álbun(s) atribuidos', //cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File index.php
-// ------------------------------------------------------------------------- //
-
-if (defined('INDEX_PHP')){
-
-$lang_index_php = array(
-  'welcome' => 'Seja Bem Vindo !',
-);
-
-$lang_album_admin_menu = array(
-  'confirm_delete' => 'Tem certeza que deseja APAGAR este álbum ? \\nTodas as imagens e comentários serão também apagados.', //js-alert
-  'delete' => 'APAGAR',
-  'modify' => 'PROPRIEDADES',
-  'edit_pics' => 'EDITAR',
-);
-
-$lang_list_categories = array(
-  'home' => 'Início',
-  'stat1' => '<b>[pictures]</b> imagens em <b>[albums]</b> álbuns e <b>[cat]</b> categorias com <b>[comments]</b> comentários visualizado <b>[views]</b> vezes',
-  'stat2' => '<b>[pictures]</b> imagens em <b>[albums]</b> álbuns visualizados <b>[views]</b> vezes',
-  'xx_s_gallery' => 'Galeria de %s',
-  'stat3' => '<b>[pictures]</b> imagens em <b>[albums]</b> álbuns com <b>[comments]</b> comentários visualizados <b>[views]</b> vezes',
-);
-
-$lang_list_users = array(
-  'user_list' => 'Lista de Utilizadores',
-  'no_user_gal' => 'Não existem Utilizadores com Galeria',
-  'n_albums' => '%s álbun(s)',
-  'n_pics' => '%s imagem(s)',
-);
-
-$lang_list_albums = array(
-  'n_pictures' => '%s imagens',
-  'last_added' => ', última adicionada %s',
-  'n_link_pictures' => '%s imagens ligadas', //cpg1.4
-  'total_pictures' => '%s total de imagens', //cpg1.4
-);
-
-}
-
-// ------------------------------------------------------------------------- //
-// File keywordmgr.php //cpg1.4
-// ------------------------------------------------------------------------- //
-
-if (defined('KEYWORDMGR_PHP')) $lang_keywordmgr_php = array(
-  'title' => 'Manage keywords', //cpg1.4
-  'edit' => 'edit', //cpg1.4
-  'delete' => 'delete', //cpg1.4
-  'search' => 'search', //cpg1.4
-  'keyword_test_search' => 'search for %s in new window', //cpg1.4
-  'keyword_del' => 'delete the keyword %s', //cpg1.4
-  'confirm_delete' => 'Are you sure you want to delete the keyword %s from the whole gallery?', //cpg1.4  // js-alert
-  'change_keyword' => 'change keyword', //cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File login.php
-// ------------------------------------------------------------------------- //
-
-if (defined('LOGIN_PHP')) $lang_login_php = array(
-  'login' => 'Login',
-  'enter_login_pswd' => 'Insira nome de utilizador e senha para entrar',
-  'username' => 'Utilizador',
-  'password' => 'Senha',
-  'remember_me' => 'Gravar Senha',
-  'welcome' => 'Seja Bem Vindo(a) %s ...',
-  'err_login' => '*** Não foi possivel validar. Tente novamente ***',
-  'err_already_logged_in' => 'Já se encontra validado !',
-  'forgot_password_link' => 'Esqueci-me da senha',
-  'cookie_warning' => 'AVISO: O seu browser não aceita scripts (cookies)', //cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File logout.php
-// ------------------------------------------------------------------------- //
-
-if (defined('LOGOUT_PHP')) $lang_logout_php = array(
-  'logout' => 'Logout',
-  'bye' => 'Volte sempre %s ...',
-  'err_not_loged_in' => 'Não se encontra validado !',
-);
-
-// ------------------------------------------------------------------------- //
-// File minibrowser.php  //cpg1.4
-// ------------------------------------------------------------------------- //
-
-if (defined('MINIBROWSER_PHP')) $lang_minibrowser_php = array(
-  'close' => 'close', //cpg1.4
-  'submit' => 'OK', //cpg1.4
-  'up' => 'up one level', //cpg1.4
-  'current_path' => 'current path', //cpg1.4
-  'select_directory' => 'please select a directory', //cpg1.4
-  'click_to_close' => 'Click image to close this window',
-);
-
-// ------------------------------------------------------------------------- //
-// File modifyalb.php
-// ------------------------------------------------------------------------- //
-
-if (defined('MODIFYALB_PHP')) $lang_modifyalb_php = array(
-  'upd_alb_n' => 'Actualizar álbum %s',
-  'general_settings' => 'Definições Gerais',
-  'alb_title' => 'Título do álbum',
-  'alb_cat' => 'Categoria do álbum',
-  'alb_desc' => 'Descrição do álbum',
-  'alb_keyword' => 'Palavra chave do álbum', //cpg1.4
-  'alb_thumb' => 'Miniatura do Álbum',
-  'alb_perm' => 'Permissões para este álbum',
-  'can_view' => 'O álbum pode ser visualizado por',
-  'can_upload' => 'Visitantes podem enviar imagens',
-  'can_post_comments' => 'Visitantes podem deixar comentários',
-  'can_rate' => 'visitantes podem classificar imagens',
-  'user_gal' => 'Galeria do Utilizador',
-  'no_cat' => '* Sem categoria *',
-  'alb_empty' => 'O álbum está vazio',
-  'last_uploaded' => 'Última enviada',
-  'public_alb' => 'Todos (álbum público)',
-  'me_only' => 'Apenas eu',
-  'owner_only' => 'Apenas o dono do álbum (%s)',
-  'groupp_only' => 'Membros do grupo \'%s\'',
-  'err_no_alb_to_modify' => 'Não existe álbum na base de dados que possa modificar.',
-  'update' => 'Actualizar álbum',
-  'reset_album' => 'Restabelecer álbum', //cpg1.4
-  'reset_views' => 'Restabelecer contador de visualizações a &quot;0&quot; em %s', //cpg1.4
-  'reset_rating' => 'Restabelecer classificações de todas as imagens em %s', //cpg1.4
-  'delete_comments' => 'Apagar todos os comentários deixados em %s', //cpg1.4
-  'delete_files' => 'Apagar %sIrreversivelmente%s todas as imagens em %s', //cpg1.4
-  'views' => 'visualizaçoes', //cpg1.4
-  'votes' => 'votos', //cpg1.4
-  'comments' => 'comentários', //cpg1.4
-  'files' => 'ficheiros', //cpg1.4
-  'submit_reset' => 'submeter alterações', //cpg1.4
-  'reset_views_confirm' => 'Tenho a certeza', //cpg1.4
-  'notice1' => '(*) dependente da configuração dos %sgrupos%s',  //cpg1.4 //(do not translate %s!)
-  'alb_password' => 'Senha do álbum', //cpg1.4
-  'alb_password_hint' => 'Pista para senha do álbum', //cpg1.4
-  'edit_files' =>'Edição de ficheiros', //cpg1.4
-  'parent_category' =>'Categoria mãe', //cpg1.4
-  'thumbnail_view' =>'Vista de miniatura', //cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File phpinfo.php
-// ------------------------------------------------------------------------- //
-
-if (defined('PHPINFO_PHP')) $lang_phpinfo_php = array(
-  'php_info' => 'PHP info',
-  'explanation' => 'This is the output generated by the PHP-function <a href="http://www.php.net/phpinfo">phpinfo()</a>, displayed within Coppermine (trimming the output at the right side).',
-  'no_link' => 'Having others see your phpinfo can be a security risk, that\'s why this page is only visible when you\'re logged in as admin. You can not post a link to this page for others, they will be denied access.',
-);
-
-// ------------------------------------------------------------------------- //
-// File picmgr.php //cpg1.4
-// ------------------------------------------------------------------------- //
-if (defined('PICMGR_PHP')) $lang_picmgr_php = array(
-  'pic_mgr' => 'Gestor de Imagens', //cpg1.4
-  'select_album' => 'Selecione Álbum', //cpg1.4
-  'delete' => 'Apagar', //cpg1.4
-  'confirm_delete1' => 'Tem a certeza de que quer apagar esta imagem ?', //cpg1.4
-  'confirm_delete2' => '\nA imagem será permanentemente apagada.', //cpg1.4
-  'apply_modifs' => 'Aplicar modificações', //cpg1.4
-  'confirm_modifs' => 'Confirmar modificações', //cpg1.4
-  'pic_need_name' => 'A imagem necessita de ter um nome !', //cpg1.4
-  'no_change' => 'Não fez qualquer alteração !', //cpg1.4
-  'no_album' => '* Nenhum álbum *', //cpg1.4
-  'explanation_header' => 'A ordem personalizada que você pode especificar nesta página só será levada em conta se', //cpg1.4
-  'explanation1' => 'o administrador selecionou na "Ordem de ficheiros por defeito" na configuração o valor "Posição descendente" ou "Posição ascendente" (configuração global para todos os utilizadores sem definições pessoais)', //cpg1.4
-  'explanation2' => 'o utilizador definiu "Posição descendente" ou "Posição ascendente" na página de miniaturas (configuração por utilizador)', //cpg1.4
-);
-
-
-// ------------------------------------------------------------------------- //
-// File pluginmgr.php //cpg1.4
-// ------------------------------------------------------------------------- //
-
-if (defined('PLUGINMGR_PHP')){
-
-$lang_pluginmgr_php = array(
-  'confirm_uninstall' => 'Are you sure you want to UNINSTALL this plugin', //cpg1.4
-  'confirm_delete' => 'Are you sure you want to DELETE this plugin', //cpg1.4
-  'pmgr' => 'Plugin Manager', //cpg1.4
-  'name' => 'Name', //cpg1.4
-  'author' => 'Author', //cpg1.4
-  'desc' => 'Description', //cpg1.4
-  'vers' => 'v', //cpg1.4
-  'i_plugins' => 'Installed Plugins', //cpg1.4
-  'n_plugins' => 'Plugins Not installed', //cpg1.4
-  'none_installed' => 'None Installed', //cpg1.4
-  'operation' => 'Operation', //cpg1.4
-  'not_plugin_package' => 'The file uploaded is not a plugin package.', //cpg1.4
-  'copy_error' => 'There was an error copying the package to the plugins folder.', //cpg1.4
-  'upload' => 'Upload', //cpg1.4
-  'configure_plugin' => 'Configure plugin', //cpg1.4
-  'cleanup_plugin' => 'Cleanup plugin', //cpg1.4
-);
-}
-
-// ------------------------------------------------------------------------- //
-// File ratepic.php
-// ------------------------------------------------------------------------- //
-
-if (defined('RATEPIC_PHP')) $lang_rate_pic_php = array(
-  'already_rated' => 'Sorry but you have already rated this file',
-  'rate_ok' => 'Your vote was accepted',
-  'forbidden' => 'You can not rate your own files.',
-);
-
-// ------------------------------------------------------------------------- //
-// File register.php & profile.php
-// ------------------------------------------------------------------------- //
-
-if (defined('REGISTER_PHP') || defined('PROFILE_PHP')) {
-
-$lang_register_disclamer = <<<EOT
-While the administrators of {SITE_NAME} will attempt to remove or edit any generally objectionable material as quickly as possible, it is impossible to review every post. Therefore you acknowledge that all posts made to this site express the views and opinions of the author and not the administrators or webmaster (except for posts by these people) and hence will not be held liable.<br />
-<br />
-You agree not to post any abusive, obscene, vulgar, slanderous, hateful, threatening, sexually-orientated or any other material that may violate any applicable laws. You agree that the webmaster, administrator and moderators of {SITE_NAME} have the right to remove or edit any content at any time should they see fit. As a user you agree to any information you have entered above being stored in a database. While this information will not be disclosed to any third party without your consent the webmaster and administrator cannot be held responsible for any hacking attempt that may lead to the data being compromised.<br />
-<br />
-This site uses cookies to store information on your local computer. These cookies serve only to improve your viewing pleasure. The email address is used only for confirming your registration details and password.<br />
-<br />
-By clicking 'I agree' below you agree to be bound by these conditions.
-EOT;
-
-$lang_register_php = array(
-  'page_title' => 'User registration',
-  'term_cond' => 'Terms and conditions',
-  'i_agree' => 'I agree',
-  'submit' => 'Submit registration',
-  'err_user_exists' => 'The username you have entered already exist, please choose a different one',
-  'err_password_mismatch' => 'The two passwords does not match, please input them again',
-  'err_uname_short' => 'Username must be 2 characters long minimum',
-  'err_password_short' => 'Password must be 2 characters long minimum',
-  'err_uname_pass_diff' => 'Username and password must be different',
-  'err_invalid_email' => 'Email address is invalid',
-  'err_duplicate_email' => 'Another user has already registered with the email address you entered',
-  'enter_info' => 'Input registration information',
-  'required_info' => 'Required information',
-  'optional_info' => 'Optional information',
-  'username' => 'Username',
-  'password' => 'Password',
-  'password_again' => 'Re-enter password',
-  'email' => 'Email',
-  'location' => 'Location',
-  'interests' => 'Interests',
-  'website' => 'Home page',
-  'occupation' => 'Occupation',
-  'error' => 'ERROR',
-  'confirm_email_subject' => '%s - Registration confirmation',
-  'information' => 'Information',
-  'failed_sending_email' => 'The registration confirmation email can\'t be send !',
-  'thank_you' => 'Thank you for registering.<br /><br />An email with information on how to activate your account was sent to the email address you provided.',
-  'acct_created' => 'Your account has been created and you can now login with your username and password',
-  'acct_active' => 'Your account is now active and you can login with your username and password',
-  'acct_already_act' => 'Account is already active!', //cpg1.4
-  'acct_act_failed' => 'This account can\'t be activated !',
-  'err_unk_user' => 'Selected user does not exist !',
-  'x_s_profile' => '%s\'s profile',
-  'group' => 'Group',
-  'reg_date' => 'Joined',
-  'disk_usage' => 'Disk usage',
-  'change_pass' => 'Change password',
-  'current_pass' => 'Current password',
-  'new_pass' => 'New password',
-  'new_pass_again' => 'New password again',
-  'err_curr_pass' => 'Current password is incorrect',
-  'apply_modif' => 'Apply modifications',
-  'change_pass' => 'Change my password',
-  'update_success' => 'Your profile was updated',
-  'pass_chg_success' => 'Your password was changed',
-  'pass_chg_error' => 'Your password was not changed',
-  'notify_admin_email_subject' => '%s - Registration notification',
-  'last_uploads' => 'Last uploaded file.<br />Click to see all uploads by', //cpg1.4
-  'last_comments' => 'Last comment.<br />Click to see all comments made by', //cpg1.4
-  'notify_admin_email_body' => 'A new user with the username "%s" has registered in your gallery',
-  'pic_count' => 'Files uploaded', //cpg1.4
-  'notify_admin_request_email_subject' => '%s - Registration request', //cpg1.4
-  'thank_you_admin_activation' => 'Thank you.<br /><br />Your request for account activation was sent to the admin. You will receive an email if approved.', //cpg1.4
-  'acct_active_admin_activation' => 'The account is now active and an email has been sent to the user.', //cpg1.4
-  'notify_user_email_subject' => '%s - Activation notification', //cpg1.4
-);
-
-$lang_register_confirm_email = <<<EOT
-Thank you for registering at {SITE_NAME}
-
-In order to activate your account with username "{USER_NAME}", you need to click on the link below or copy and paste it in your web browser.
-
-<a href="{ACT_LINK}">{ACT_LINK}</a>
-
-Regards,
-
-The management of {SITE_NAME}
-
-EOT;
-
-$lang_register_approve_email = <<<EOT
-A new user with the username "{USER_NAME}" has registered in your gallery.
-
-In order to activate the account, you need to click on the link below or copy and paste it in your web browser.
-
-<a href="{ACT_LINK}">{ACT_LINK}</a>
-
-EOT;
-
-$lang_register_activated_email = <<<EOT
-Your account has been approved and activated.
-
-You can now log in at <a href="{SITE_LINK}">{SITE_LINK}</a> using the username "{USER_NAME}"
-
-
-Regards,
-
-The management of {SITE_NAME}
-
-EOT;
-}
-
-// ------------------------------------------------------------------------- //
-// File reviewcom.php
-// ------------------------------------------------------------------------- //
-
-if (defined('REVIEWCOM_PHP')) $lang_reviewcom_php = array(
-  'title' => 'Examinar comentários',
-  'no_comment' => 'Não existem comentários para examinar',
-  'n_comm_del' => '%s comentários(s) apagado(s)',
-  'n_comm_disp' => 'Número de comentários a exibir',
-  'see_prev' => 'Ver anterior',
-  'see_next' => 'Ver próximo',
-  'del_comm' => 'Apagar comentários selecionados',
-  'user_name' => 'Nome', //cpg1.4
-  'date' => 'Data', //cpg1.4
-  'comment' => 'Comentário', //cpg1.4
-  'file' => 'Ficheiro', //cpg1.4
-  'name_a' => 'nome utilizador ascendente', //cpg1.4
-  'name_d' => 'nome utilizador descendente', //cpg1.4
-  'date_a' => 'Data ascendente', //cpg1.4
-  'date_d' => 'Data descendente', //cpg1.4
-  'comment_a' => 'Comentário ascendente', //cpg1.4
-  'comment_d' => 'Comentário descendente', //cpg1.4
-  'file_a' => 'Ficheiro ascendente', //cpg1.4
-  'file_d' => 'Ficheiro descendente', //cpg1.4
-);
-
-
-// ------------------------------------------------------------------------- //
-// File search.php                                                           //
-// ------------------------------------------------------------------------- //
-
-
-if (defined('SEARCH_PHP')){
-
-$lang_search_php = array(
-  'title' => 'Pesquisar toda a Galeria', //cpg1.4
-  'submit_search' => 'pesquisa', //cpg1.4
-  'keyword_list_title' => 'Lista de palavras chave', //cpg1.4
-  'keyword_msg' => 'Esta lista não é inclusiva. Não inclui palavras de títulos de imagens ou descrições. Tente pequisar usando frases completas.',  //cpg1.4
-  'edit_keywords' => 'Editar palavras chave', //cpg1.4
-  'search in' => 'Pesquisar em:', //cpg1.4
-  'ip_address' => 'Endereço IP', //cpg1.4
-  'fields' => 'Pesquisar por', //cpg1.4
-  'age' => 'Idade', //cpg1.4
-  'newer_than' => 'Mais nova que', //cpg1.4
-  'older_than' => 'Mais antiga que', //cpg1.4
-  'days' => 'days', //cpg1.4
-  'all_words' => 'Combina todas palavras (AND)', //cpg1.4
-  'any_words' => 'Combina qualquer palavra (OR)', //cpg1.4
-);
-
-$lang_adv_opts = array(
-  'title' => 'Título', //cpg1.4
-  'caption' => 'Legenda', //cpg1.4
-  'keywords' => 'Palavra chave', //cpg1.4
-  'owner_name' => 'Nome do proprietário', //cpg1.4
-  'filename' => 'Nome do ficheiro', //cpg1.4
-);
-
-}
-
-// ------------------------------------------------------------------------- //
-// File searchnew.php
-// ------------------------------------------------------------------------- //
-
-if (defined('SEARCHNEW_PHP')) $lang_search_new_php = array(
-  'page_title' => 'Search new files',
-  'select_dir' => 'Select directory',
-  'select_dir_msg' => 'This function allows you to add a batch of files that your have uploaded to your server by FTP.<br /><br />Select the directory where you have uploaded your files.', //cpg1.4
-  'no_pic_to_add' => 'There is no file to add',
-  'need_one_album' => 'You need at least one album to use this function',
-  'warning' => 'Warning',
-  'change_perm' => 'the script can\'t write in this directory, you need to change its mode to 755 or 777 before trying to add the files !',
-  'target_album' => '<b>Put files of &quot;</b>%s<b>&quot; into </b>%s',
-  'folder' => 'Folder',
-  'image' => 'file',
-  'album' => 'Album',
-  'result' => 'Result',
-  'dir_ro' => 'Not writable. ',
-  'dir_cant_read' => 'Not readable. ',
-  'insert' => 'Adding new files to the gallery',
-  'list_new_pic' => 'List of new files',
-  'insert_selected' => 'Insert selected files',
-  'no_pic_found' => 'No new file was found',
-  'be_patient' => 'Please be patient, the script needs time to add the files',
-  'no_album' => 'no album selected',
-  'result_icon' => 'click for details or to reload',  //cpg1.4
-  'notes' =>  '<ul>'.
-                          '<li><b>OK</b> : means that the file was succesfully added'.
-                          '<li><b>DP</b> : means that the file is a duplicate and is already in the database'.
-                          '<li><b>PB</b> : means that the file could not be added, check your configuration and the permission of directories where the files are located'.
-                          '<li><b>NA</b> : means that you haven\'t selected an album the files should go to, hit \'<a href="javascript:history.back(1)">back</a>\' and select an album. If you don\'t have an album <a href="albmgr.php">create one first</a></li>'.
-                          '<li>If the OK, DP, PB \'signs\' does not appear click on the broken file to see any error message produced by PHP'.
-                          '<li>If your browser timeouts, hit the reload button'.
-                          '</ul>',
-  'select_album' => 'select album',
-  'check_all' => 'Check All',
-  'uncheck_all' => 'Uncheck All',
-  'no_folders' => 'There are no folders inside the "albums" folder yet. Make sure to create at least one custom folder within "albums" folder and ftp-upload your files there. You mustn\'t upload to the "userpics" nor "edit" folders, they are reserved for http uploads and internal purposes.', //cpg1.4
-   'albums_no_category' => 'Albums with no category', //cpg1.4 // album pulldown mod, added by frogfoot
-  'personal_albums' => '* Personal albums', //cpg1.4 // album pulldown mod, added by frogfoot
-  'browse_batch_add' => 'Browsable interface (recommended)', //cpg1.4
-  'edit_pics' => 'Edit files', //cpg1.4
-  'edit_properties' => 'Album properties', //cpg1.4
-  'view_thumbs' => 'Thumbnail view', //cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File stat_details.php //cpg1.4
-// ------------------------------------------------------------------------- //
-
-if (defined('STAT_DETAILS_PHP')) $lang_stat_details_php = array(
-  'show_hide' => 'show/hide this column', //cpg1.4
-  'vote' => 'Vote Details', //cpg1.4
-  'hits' => 'Hit Details', //cpg1.4
-  'stats' => 'Vote Statistics', //cpg1.4
-  'sdate' => 'Date', //cpg1.4
-  'rating' => 'Rating', //cpg1.4
-  'search_phrase' => 'Search phrase', //cpg1.4
-  'referer' => 'Referer', //cpg1.4
-  'browser' => 'Browser', //cpg1.4
-  'os' => 'Operating System', //cpg1.4
-  'ip' => 'IP', //cpg1.4
-  'sort_by_xxx' => 'Sort by %s', //cpg1.4
-  'ascending' => 'ascending', //cpg1.4
-  'descending' => 'descending', //cpg1.4
-  'internal' => 'int', //cpg1.4
-  'close' => 'close', //cpg1.4
-  'hide_internal_referers' => 'hide internal referers', //cpg1.4
-  'date_display' => 'Date display', //cpg1.4
-  'submit' => 'submit / refresh', //cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File thumbnails.php
-// ------------------------------------------------------------------------- //
-
-// Void
-
-// ------------------------------------------------------------------------- //
-// File upload.php
-// ------------------------------------------------------------------------- //
-
-if (defined('UPLOAD_PHP')) $lang_upload_php = array(
-  'title' => 'Enviar Imagens',
-  'custom_title' => 'Pedido de formulário personalizado',
-  'cust_instr_1' => 'Pode selecionar um número de caixas de envio personalizado, porém não pode excedr os limites abaixo listados.',
-  'cust_instr_2' => 'Box Number Requests',
-  'cust_instr_3' => 'File upload boxes: %s',
-  'cust_instr_4' => 'URI/URL upload boxes: %s',
-  'cust_instr_5' => 'URI/URL upload boxes:',
-  'cust_instr_6' => 'File upload boxes:',
-  'cust_instr_7' => 'Please enter the number of each type of upload box you desire at this time.  Then click \'Continue\'. ',
-  'reg_instr_1' => 'Invalid action for form creation.',
-  'reg_instr_2' => 'Now you may upload your files using the upload boxes below. The size of files uploaded from your client to the server should not exceed %s KB each. ZIP files uploaded in the \'File Upload\' and \'URI/URL Upload\' sections will remain compressed.',
-  'reg_instr_3' => 'If you want the zipped file or archive to be decompressed, you must use the file upload box provided in the \'Decompressive ZIP Upload\' area.',
-  'reg_instr_4' => 'When using the URI/URL upload section, please enter the path to the file like so: http://www.mysite.com/images/example.jpg',
-  'reg_instr_5' => 'When you have completed the form, please click \'Continue\'.',
-  'reg_instr_6' => 'Decompressive ZIP Uploads:',
-  'reg_instr_7' => 'File Uploads:',
-  'reg_instr_8' => 'URI/URL Uploads:',
-  'error_report' => 'Error Report',
-  'error_instr' => 'The following uploads encountered errors:',
-  'file_name_url' => 'File Name/URL',
-  'error_message' => 'Error Message',
-  'no_post' => 'File not uploaded by POST.',
-  'forb_ext' => 'Forbidden file extension.',
-  'exc_php_ini' => 'Exceeded filesize allowed in php.ini.',
-  'exc_file_size' => 'Exceeded filesize permitted by CPG.',
-  'partial_upload' => 'Only a partial upload.',
-  'no_upload' => 'No upload occurred.',
-  'unknown_code' => 'Unknown PHP upload error code.',
-  'no_temp_name' => 'No upload - No temp name.',
-  'no_file_size' => 'Contains no data/Corrupted',
-  'impossible' => 'Impossible to move.',
-  'not_image' => 'Not an image/corrupt',
-  'not_GD' => 'Not a GD extension.',
-  'pixel_allowance' => 'The height and or width of the uploaded picture is more than that allowed by the gallery config.', //cpg1.4
-  'incorrect_prefix' => 'Incorrect URI/URL prefix',
-  'could_not_open_URI' => 'Could not open URI.',
-  'unsafe_URI' => 'Safety not verifiable.',
-  'meta_data_failure' => 'Meta data failure',
-  'http_401' => '401 Unauthorized',
-  'http_402' => '402 Payment Required',
-  'http_403' => '403 Forbidden',
-  'http_404' => '404 Not Found',
-  'http_500' => '500 Internal Server Error',
-  'http_503' => '503 Service Unavailable',
-  'MIME_extraction_failure' => 'MIME could not be determined.',
-  'MIME_type_unknown' => 'Unknown MIME type',
-  'cant_create_write' => 'Cannot create write file.',
-  'not_writable' => 'Cannot write to write file.',
-  'cant_read_URI' => 'Cannot read URI/URL',
-  'cant_open_write_file' => 'Cannot open URI write file.',
-  'cant_write_write_file' => 'Cannot write to URI write file.',
-  'cant_unzip' => 'Cannot unzip.',
-  'unknown' => 'Unknown error',
-  'succ' => 'Successful Uploads',
-  'success' => '%s uploads were successful.',
-  'add' => 'Please click \'Continue\' to add the files to albums.',
-  'failure' => 'Upload Failure',
-  'f_info' => 'File Information',
-  'no_place' => 'The previous file could not be placed.',
-  'yes_place' => 'The previous file was placed successfully.',
-  'max_fsize' => 'Maximum allowed file size is %s KB',
-  'album' => 'Album',
-  'picture' => 'File',
-  'pic_title' => 'File title',
-  'description' => 'File description',
-  'keywords' => 'Keywords (separate with spaces)<br /><a href="#" onClick="return MM_openBrWindow(\'keyword_select.php\',\'selectKey\',\'width=250, height=400, scrollbars=yes,toolbar=no,status=yes,resizable=yes\')">Insert from list</a>', //cpg1.4
-  'keywords_sel' =>'Select a Keyword', //cpg1.4
-  'err_no_alb_uploadables' => 'Sorry there is no album where you are allowed to upload files',
-  'place_instr_1' => 'Please place the files in albums at this time.  You may also enter relevant information about each file now.',
-  'place_instr_2' => 'More files need placement. Please click \'Continue\'.',
-  'process_complete' => 'You have successfully placed all the files.',
-   'albums_no_category' => 'Albums with no category', //cpg1.4. //album pulldown mod, added by frogfoot
-  'personal_albums' => '* Personal albums', //cpg1.4 //album pulldown mod, added by frogfoot
-  'select_album' => 'Select album', //cpg1.4 //album pulldown mod, added by frogfoot
-  'close' => 'Close', //cpg1.4
-  'no_keywords' => 'Sorry, no keywords available!', //cpg1.4
-  'regenerate_dictionary' => 'Regenerate Dictionary', //cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File usermgr.php
-// ------------------------------------------------------------------------- //
-
-if (defined('USERMGR_PHP')) $lang_usermgr_php = array(
-  'memberlist' => 'Lista de membros', //cpg1.4
-  'user_manager' => 'Gestor de Utilizadores', //cpg1.4
-  'title' => 'Gerir utilizadores',
-  'name_a' => 'Nome Ascendente',
-  'name_d' => 'Nome Descendente',
-  'group_a' => 'Grupo Ascendente',
-  'group_d' => 'Grupo Descendente',
-  'reg_a' => 'Data de reg. Ascendente',
-  'reg_d' => 'Data de reg. Descendente',
-  'pic_a' => 'Contagem de imag. ascendente',
-  'pic_d' => 'Contagem de imag. descendente',
-  'disku_a' => 'Uso de disco ascendente',
-  'disku_d' => 'Uso de disco descendente',
-  'lv_a' => 'Última visita Ascendente',
-  'lv_d' => 'Última visita Descendente',
-  'sort_by' => 'Listar utilizadores por',
-  'err_no_users' => 'A Tabela de utilizadores está vazia !',
-  'err_edit_self' => 'Não pode alterar seu dados \'pessoais\', use o 
-link \'Os meus dados\' para isso',
-  'edit' => 'Editar', //cpg1.4
-  'with_selected' => 'Com seleção:', //cpg1.4
-  'delete' => 'Apagar', //cpg1.4
-  'delete_files_no' => 'manter imagens públicas (mas como anónimo)', //cpg1.4
-  'delete_files_yes' => 'apagar também imagens públicas', //cpg1.4
-  'delete_comments_no' => 'mantém comentários (mas como anónimo)', //cpg1.4
-  'delete_comments_yes' => 'apagar também comentários', //cpg1.4
-  'activate' => 'Activar', //cpg1.4
-  'deactivate' => 'Desactivar', //cpg1.4
-  'reset_password' => 'Redefinir Senha', //cpg1.4
-  'change_primary_membergroup' => 'Alterar o grupo de membro primário', //cpg1.4
-  'add_secondary_membergroup' => 'Adicionar um grupo de membros secundário', //cpg1.4
-  'name' => 'Nome de utilizador',
-  'group' => 'Grupo',
-  'inactive' => 'Inactivo',
-  'operations' => 'Operações',
-  'pictures' => 'Imagens',
-  'disk_space_used' => 'Espaço usado', //cpg1.4
-  'disk_space_quota' => 'Quota de disco', //cpg1.4
-  'registered_on' => 'Registo', //cpg1.4
-  'last_visit' => 'Última visita',
-  'u_user_on_p_pages' => '%d utilizadores em %d pagina(s)',
-  'confirm_del' => 'Tem a certeza de que deseja APAGAR este utilizador ? \\nTodas as suas imagens e álbuns serão também apagados.', //js-alert
-  'mail' => 'CORREIO',
-  'err_unknown_user' => 'O utilizador seleccionado não existe !',
-  'modify_user' => 'Modificar utilizador',
-  'notes' => 'Notas',
-  'note_list' => '<li>se não deseja modificar a presente Senha, deixe o campo "Senha" em branco',
-  'password' => 'Senha',
-  'user_active' => 'Utilizador está activo',
-  'user_group' => 'Grupo do utilizador',
-  'user_email' => 'Email do utilizador',
-  'user_web_site' => 'Web site do utilizador',
-  'create_new_user' => 'Criar novo utilizador',
-  'user_location' => 'Local do utilizador',
-  'user_interests' => 'Interesses do utilizador',
-  'user_occupation' => 'Ocupação do utilizador',
-  'user_profile1' => '$user_profile1', //cpg1.4
-  'user_profile2' => '$user_profile2', //cpg1.4
-  'user_profile3' => '$user_profile3', //cpg1.4
-  'user_profile4' => '$user_profile4', //cpg1.4
-  'user_profile5' => '$user_profile5', //cpg1.4
-  'user_profile6' => '$user_profile6', //cpg1.4
-  'latest_upload' => 'Envios Recentes',
-  'never' => 'nunca',
-  'search' => 'Pesquisa de utilizadores', //cpg1.4
-  'submit' => 'Submeter', //cpg1.4
-  'search_submit' => 'OK!', //cpg1.4
-  'search_result' => 'Pesquisa resultados para: ', //cpg1.4
-  'alert_no_selection' => 'Tem de seleccionar primeiro, pelo menos um utilizador!', //cpg1.4 //js-alert
-  'password' => 'senha', //cpg1.4
-  'select_group' => 'Selecione grupo', //cpg1.4
-  'groups_alb_access' => 'Permissões de álbum por grupo', //cpg1.4
-  'album' => 'Álbum', //cpg1.4
-  'category' => 'Categoria', //cpg1.4
-  'modify' => 'Modifica?', //cpg1.4
-  'group_no_access' => 'Este grupo não tem acesso especial', //cpg1.4
-  'notice' => 'Notificação', //cpg1.4
-  'group_can_access' => 'Álbun(s) que apenas "%s" pode aceder', //cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File util.php
-// ------------------------------------------------------------------------- //
-
-if (defined('UTIL_PHP')) {
-$lang_util_desc_php = array(
-'Actualiza títulos do ficheiro', //cpg1.4
-'Apaga títulos', //cpg1.4
-'Reconstroi miniaturas e fotos redimensionadas', //cpg1.4
-'Apaga fotos com o seu tamanho original substituindo-as com a versão redimensionada', //cpg1.4
-'Apaga fotos com dimensões originais ou intermediarias para libertar espaço no disco do servidor', //cpg1.4
-'Apaga comentários órfãos', //cpg1.4
-'Relê tamanho e dimensões de imagens (se as editou manualmente)', //cpg1.4
-'Restabelece o contador de visualizações', //cpg1.4
-'Exibe phpinfo', //cpg1.4
-'Actualiza a Base de Dados', //cpg1.4
-'Exibe o diário de bordo', //cpg1.4
-);
-$lang_util_php = array(
-  'title' => 'Ferramentas de Administração (Redimensionar imagens)',
-  'what_it_does' => 'As suas funções',
-  'file' => 'Ficheiro',
-  'problem' => 'Problema', //cpg1.4
-  'status' => 'Estado', //cpg1.4
-  'title_set_to' => 'titulo a dar',
-  'submit_form' => 'submeter',
-  'updated_succesfully' => 'actualização com êxito',
-  'error_create' => 'ERRO criando',
-  'continue' => 'Processar mais imagens',
-  'main_success' => 'O ficheiro %s foi usado como ficheiro principal com êxito',
-  'error_rename' => 'Erro ao renomear %s para %s',
-  'error_not_found' => 'O ficheiro %s não foi encontrado',
-  'back' => 'regressar ao inicio',
-  'thumbs_wait' => 'Actualizando miniaturas e/ou imagens redimensionadas, por favor espere...',
-  'thumbs_continue_wait' => 'A continuar a actualização de miniaturas e/ou imagens redimensionadas...',
-  'titles_wait' => 'Actualizando titulos, por favor espere...',
-  'delete_wait' => 'Apagando titulos, por favor espere...',
-  'replace_wait' => 'Apagando originais e substituindo-as pelas imagens redimensionadas, por favor espere...',
-  'instruction' => 'Instruções rápidas',
-  'instruction_action' => 'Selecione a acção',
-  'instruction_parameter' => 'Eleja parâmeteros',
-  'instruction_album' => 'Escolha o álbum',
-  'instruction_press' => 'pressione %s',
-  'update' => 'Actualiza miniaturas e/ou fotos redimensionadas',
-  'update_what' => 'O que deve ser actualizado',
-  'update_thumb' => 'Apenas miniaturas',
-  'update_pic' => 'Apenas imagens redimensionadas',
-  'update_both' => 'Miniaturas e imagens redimensionadas',
-  'update_number' => 'Número de imagens processadas por cada click',
-  'update_option' => '(Tente fixar esta opção com um número mais baixo se tiver problemas de timeout)',
-  'filename_title' => 'Nome do ficheiro &rArr; Titulo do ficheiro',
-  'filename_how' => 'Como deve o nome do ficheiro ser modificado',
-  'filename_remove' => 'Remova o .jpg do final e substitua _ (underscore) com espaços',
-  'filename_euro' => 'Altere 2003_11_23_13_20_20.jpg para 23/11/2003 13:20',
-  'filename_us' => 'Altere 2003_11_23_13_20_20.jpg para 11/23/2003 13:20',
-  'filename_time' => 'Altere 2003_11_23_13_20_20.jpg para 13:20',
-  'delete' => 'Apagar títulos de ficheiros ou imagens de tamanho original',
-  'delete_title' => 'Apagar títulos de ficheiros',
-  'delete_title_explanation' => 'Remove todos os títulos das imagens no álbum que especificar.', //cpg1.4
-  'delete_original' => 'Apagar as fotos com o tamanho original',
-  'delete_original_explanation' => 'Elimina o tamanho original das imagens.', //cpg1.4
-  'delete_intermediate' => 'Apagar imagens intermediarias', //cpg1.4
-  'delete_intermediate_explanation' => 'Apaga as imagens intermediarias (normais).<br />Use para libertar espaço em disco, se desactivou \'Criar imagens intermediarias\' no CONFIG, após ter adicionado imagens.', //cpg1.4
-  'delete_replace' => 'Apagar imagens originais substituindo-as pelas versões redimensionadas',
-  'titles_deleted' => 'Todos os títulos no álbum especificado foram removidos', //cpg1.4
-  'deleting_intermediates' => 'A apagar imagens intermediarias, por favor espere...', //cpg1.4
-  'searching_orphans' => 'A pesquisar por órfãos, por vafor espere...', //cpg1.4
-  'select_album' => 'Seleccione o álbum',
-  'delete_orphans' => 'Apagar comentários de imagens inexistentes', //cpg1.4
-  'delete_orphans_explanation' => 'Procura e permite que apague comentários associados a imagens inexistentes na galeria.<br />Procura todos os álbuns.', //cpg1.4
-  'refresh_db' => 'Relê as dimensões e tamanho das imagens', //cpg1.4
-  'refresh_db_explanation' => 'Isto fará a releitura das dimensões e tamanho das imagens. Use se as quotas estão incorrectas, ou se alterou as imagens manualmente.', //cpg1.4
-  'reset_views' => 'Restabelecer os contadores de visualizações', //cpg1.4
-  'reset_views_explanation' => 'Estabelece o número da contagem de visualizações para zero no álbum especificado.', //cpg1.4
-  'orphan_comment' => 'comentários órfãos encontrados',
-  'delete' => 'Apagar',
-  'delete_all' => 'Apagar tudo',
-  'delete_all_orphans' => 'Apagar todos os órfãos?', //cpg1.4
-  'comment' => 'Comentário: ',
-  'nonexist' => 'ligado ao ficheiro não existente # ',
-  'phpinfo' => 'Exibe phpinfo',
-  'phpinfo_explanation' => 'Contém informção técnica sobre o seu servidor.<br /> - Pode-lhe ser pedida informação daqui ao pedir ajuda.', //cpg1.4
-  'update_db' => 'Actualizar Base de Dados',
-  'update_db_explanation' => 'Se substituiu ficheiros do Coppermine, adicionou modificações ou actualizou uma versão antiga do Coppermine, certifique-se de correr a actualização da base de dados uma vez. Isto criará as tabelas necessárias e/ou valores configurativos na sua base de dados Coppermine.',
-  'view_log' => 'Ver diário de bordo', //cpg1.4
-  'view_log_explanation' => 'O Coppermine pode seguir as várias acções dos utilizadores.Pode visualizar estes registos se activou o diário de bordo na <a href="admin.php">configuração do coppermine</a>.', //cpg1.4
-  'versioncheck' => 'Confirmar versões', //cpg1.4
-  'versioncheck_explanation' => 'Veja a versão dos ficheiros para confirmar que os substituiu após uma actualização, ou verifique se existem novas versões Coppermine.', //cpg1.4
-  'bridgemanager' => 'Administração de Enlaces', //cpg1.4
-  'bridgemanager_explanation' => 'Activa/desactiva a integração (enlace) do Coppermine com outra aplicação (ex. o seu BBS).', //cpg1.4
-);
-}
-
-// ------------------------------------------------------------------------- //
-// File versioncheck.php //cpg1.4
-// ------------------------------------------------------------------------- //
-
-if (defined('VERSIONCHECK_PHP')) $lang_versioncheck_php = array(
-  'title' => 'Versioncheck', //cpg1.4
-  'what_it_does' => 'This page is meant for users who have updated their coppermine install. This script goes through the files on your webserver and tries to determine if your local file versions on the webserver are the same as the ones from the repository at http://coppermine.sourceforge.net, this way displaying the files you were meant to update as well.<br />It will show everything in red that needs to be fixed. Entries in yellow need looking into. Entries in green (or your default font color) are OK.<br />Click on the help icons to find out more.', //cpg1.4
-  'online_repository_unable' => 'Unable to connect to online repository', //cpg1.4
-  'online_repository_noconnect' => 'Coppermine was unable to connect to the online repository. This can have two reasons:', //cpg1.4
-  'online_repository_reason1' => 'the coppermine online repository is currently down - check if you can browse this page: %s - if you can\'t access this page, try again later.', //cpg1.4
-  'online_repository_reason2' => 'PHP on your webserver is configured with %s turned off (by default, it\'s turned on). If the server is yours to administer, turn this option on in <i>php.ini</i> (at least allow it to be overridden with %s). If you\'re webhosted, you will probably have to live with the fact that you can\'t compare your files to the online repository. This page will then only display the file versions that came with your distribution - updates will not be displayed.', //cpg1.4
-  'online_repository_skipped' => 'Connection to online repository skipped', //cpg1.4
-  'online_repository_to_local' => 'The script is defaulting to the local copy of the version-files now. The data may be inacurate if you have upgraded Coppermine and you haven\'t uploaded all files. Changes to the files after the release won\'t be taken into account as well.', //cpg1.4
-  'local_repository_unable' => 'Unable to connect to the repository on your server', //cpg1.4
-  'local_repository_explanation' => 'Coppermine was unable to connect to the repository file %s on your webserver. This probably means that you haven\'t uploaded the repository file to your webserver. Do so now and then try to run this page once more (hit refresh).<br />If the script still fails, your webhost might have disabled parts of <a href="http://www.php.net/manual/en/ref.filesystem.php">PHP\'s filesystem functions</a> completely. In this case, you simply won\'t be able to use this tool at all, sorry.', //cpg1.4
-  'coppermine_version_header' => 'Installed Coppermine version', //cpg1.4
-  'coppermine_version_info' => 'You have currently installed: %s', //cpg1.4
-  'coppermine_version_explanation' => 'If you think this is entirely wrong and you\'re supposed to be running a higher version of Coppermine, you probably haven\'t uploaded the most recent version of the file <i>include/init.inc.php</i>', //cpg1.4
-  'version_comparison' => 'Version comparison', //cpg1.4
-  'folder_file' => 'folder/file', //cpg1.4
-  'coppermine_version' => 'cpg version', //cpg1.4
-  'file_version' => 'file version', //cpg1.4
-  'webcvs' => 'web svn', //cpg1.4
-  'writable' => 'writable', //cpg1.4
-  'not_writable' => 'not writable', //cpg1.4
-  'help' => 'Help', //cpg1.4
-  'help_file_not_exist_optional1' => 'file/folder does not exist', //cpg1.4
-  'help_file_not_exist_optional2' => 'The file/folder %s has not been found on your server. Although it is optional you should upload it (using your FTP client) to your webserver if you are experiencing problems.', //cpg1.4
-  'help_file_not_exist_mandatory1' => 'file/folder does not exist', //cpg1.4
-  'help_file_not_exist_mandatory2' => 'The file/folder %s has not been found on your server, although it is mandatory. Upload the file to your webserver (using your FTP client).', //cpg1.4
-  'help_no_local_version1' => 'No local file version', //cpg1.4
-  'help_no_local_version2' => 'The script was unable to extract a local file version - your file is either outdated or you have modified it, removing the header information on the way. Updating the file is recommended.', //cpg1.4
-  'help_local_version_outdated1' => 'Local version outdated', //cpg1.4
-  'help_local_version_outdated2' => 'Your version of this file seems to be from an older version of Coppermine (you probably upgraded). Make sure to update this file as well.', //cpg1.4
-  'help_local_version_na1' => 'Unable to extract cvs version info', //cpg1.4
-  'help_local_version_na2' => 'The script could not determine what cvs version the file on your webserver is. You should upload the file from your package.', //cpg1.4
-  'help_local_version_dev1' => 'Development version', //cpg1.4
-  'help_local_version_dev2' => 'The file on your webserver seems to be newer than your Coppermine version. You are either using a development file (you should only do so if you know what you are doing), or you have upgraded your Coppermine install and not uploaded include/init.inc.php', //cpg1.4
-  'help_not_writable1' => 'Folder not writable', //cpg1.4
-  'help_not_writable2' => 'Change file permissions (CHMOD) to grant the script write access to the folder %s and everything within it.', //cpg1.4
-  'help_writable1' => 'Folder writable', //cpg1.4
-  'help_writable2' => 'The folder %s is writable. This is an unnecessary risk, coppermine only needs read/execute access.', //cpg1.4
-  'help_writable_undetermined' => 'Coppermine was not able to determine wether the folder is writable.', //cpg1.4
-  'your_file' => 'your file', //cpg1.4
-  'reference_file' => 'reference file', //cpg1.4
-  'summary' => 'Summary', //cpg1.4
-  'total' => 'Total files/folders checked', //cpg1.4
-  'mandatory_files_missing' => 'Mandatory files missing', //cpg1.4
-  'optional_files_missing' => 'Optional files missing', //cpg1.4
-  'files_from_older_version' => 'Files left over from outdated Coppermine version', //cpg1.4
-  'file_version_outdated' => 'Outdated file versions', //cpg1.4
-  'error_no_data' => 'The script made a boo, it was not able to retrieve any information. Sorry for the inconvenience.', //cpg1.4
-  'go_to_webcvs' => 'go to %s', //cpg1.4
-  'options' => 'Options', //cpg1.4
-  'show_optional_files' => 'show optional folders/files', //cpg1.4
-  'show_mandatory_files' => 'show mandatory files', //cpg1.4
-  'show_file_versions' => 'show file versions', //cpg1.4
-  'show_errors_only' => 'show folders/files with errors only', //cpg1.4
-  'show_permissions' => 'show folder permissions', //cpg1.4
-  'show_condensed_output' => 'show condensed ouput (for easier screenshots)', //cpg1.4
-  'coppermine_in_webroot' => 'coppermine is installed in the webroot', //cpg1.4
-  'connect_online_repository' => 'try connecting to the online repository', //cpg1.4
-  'show_additional_information' => 'show additional information', //cpg1.4
-  'no_webcvs_link' => 'don\'t display web svn link', //cpg1.4
-  'stable_webcvs_link' => 'display web svn link to stable branch', //cpg1.4
-  'devel_webcvs_link' => 'display web svn link to devel branch', //cpg1.4
-  'submit' => 'apply changes / refresh', //cpg1.4
-  'reset_to_defaults' => 'reset to default values', //cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File view_log.php  //cpg1.4
-// ------------------------------------------------------------------------- //
-
-if (defined('VIEWLOG_PHP')) $lang_viewlog_php = array(
-  'delete_all' => 'Apagar todos os diários', //cpg1.4
-  'delete_this' => 'Apagar este diário', //cpg1.4
-  'view_logs' => 'Ver diários', //cpg1.4
-  'no_logs' => 'Não existem diários criados.', //cpg1.4
-);
-
-
-// ------------------------------------------------------------------------- //
-// File xp_publish.php //cpg1.4
-// ------------------------------------------------------------------------- //
-
-if (defined('XP_PUBLISH_PHP')) {
-
-$lang_xp_publish_client = <<<EOT
-<h1>XP Web Publishing Wizard Client</h1><p>This module allows to use <b>Windows XP</b> web publishing wizard with Coppermine.</p><p>Code is based on article posted by
-EOT;
-
-$lang_xp_publish_required = <<<EOT
-<h2>What is required</h2><ul><li>Windows XP in order to have the wizard.</li><li>A working installation of Coppermine on which <b>the web upload function works properly.</b></li></ul><h2>How to install on client side</h2><ul><li>Right click on
-EOT;
-
-$lang_xp_publish_select = <<<EOT
-Select &quot;save target as..&quot;. Save the file on your hard drive. When saving the file, check that the proposed file name is <b>cpg_###.reg</b> (the ### represents a numerical timestamp). Change it to that name if necessary (leave the numbers). When downloaded, double click on the file in order to register your server with the web publishing wizard.</li></ul>
-EOT;
-
-$lang_xp_publish_testing = <<<EOT
-<h2>Testing</h2><ul><li>In Windows Explorer, select some files and click on <b>Publish xxx on the web</b> in the left pane.</li><li>Confirm your file selection. Click on <b>Next</b>.</li><li>In the list of services that appear, select the one for your photo gallery (it has the name of your gallery). If the service does not appear, check that you have installed <b>cpg_pub_wizard.reg</b> as described above.</li><li>Input your login information if required.</li><li>Select the target album for your pictures or create a new one.</li><li>Click on <b>next</b>. The upload of your pictures starts.</li><li>When it is completed, check your gallery to see if pictures have been properly added.</li></ul>
-EOT;
-
-$lang_xp_publish_notes = <<<EOT
-<h2>Notes :</h2><ul><li>Once the upload has started, the wizard can't display any error message returned by the script so you can't know if the upload failed or succeeded until you check your gallery.</li><li>If the upload fails, enable &quot;Debug mode&quot; on the Coppermine admin page, try with one single picture and check error messages in the
-EOT;
-
-$lang_xp_publish_flood = <<<EOT
-file that is located in Coppermine directory on your server.</li><li>In order to avoid that the gallery be <i>flooded</i> by pictures uploaded through the wizard, only the <b>gallery admins</b> and <b>users that can have their own albums</b> can use this feature.</li>
-EOT;
-
-
-
-$lang_xp_publish_php = array(
-  'title' => 'Coppermine - XP Web Publishing Wizard', //cpg1.4
-  'welcome' => 'Welcome <b>%s</b>,', //cpg1.4
-  'need_login' => 'You need to login to the gallery using your web browser before you can use this wizard.<p/><p>When you login don\'t forget to select the <b>remember me</b> option if it is present.', //cpg1.4
-  'no_alb' => 'Sorry but there is no album where you are allowed to upload pictures with this wizard.', //cpg1.4
-  'upload' => 'Upload your pictures into an existing album', //cpg1.4
-  'create_new' => 'Create a new album for your pictures', //cpg1.4
-  'album' => 'Album', //cpg1.4
-  'category' => 'Category', //cpg1.4
-  'new_alb_created' => 'Your new album &quot;<b>%s</b>&quot; was created.', //cpg1.4
-  'continue' => 'Press &quot;Next&quot; to start to upload your pictures', //cpg1.4
-  'link' => 'this link', //cpg1.4
-);
-}
+<?php
+/*************************
+  Coppermine Photo Gallery
+  ************************
+  Copyright (c) 2003-2009 Coppermine Dev Team
+  v1.1 originally written by Gregory DEMAR
+
+  This program is free software; you can redistribute it and/or modify
+  it under the terms of the GNU General Public License version 3
+  as published by the Free Software Foundation.
+  
+  ********************************************
+  Coppermine version: 1.4.25
+  $HeadURL: https://coppermine.svn.sourceforge.net/svnroot/coppermine/trunk/cpg1.4.x/lang/portuguese.php $
+  $Revision: 5997 $
+  $Author: gaugau $
+  $Date: 2009-05-26 08:43:24 +0200 (Di, 26 Mai 2009) $
+**********************************************/
+
+if (!defined('IN_COPPERMINE')) { die('Not in Coppermine...');}
+
+// info about translators and translated language
+$lang_translation_info = array(
+  'lang_name_english' => 'Portuguese', //cpg1.4
+  'lang_name_native' => 'Português', //cpg1.4
+  'lang_country_code' => 'pt', //cpg1.4
+  'trans_name'=> 'Pedro Cotter',
+  'trans_email' => 'pcotter@pcotter.com',
+  'trans_website' => 'http://www.pcotter.com/',
+  'trans_date' => '2006.01.06',
+);
+
+$lang_charset = 'utf-8';
+$lang_text_dir = 'ltr'; // ('ltr' for left to right, 'rtl' for right to left)
+
+// shortcuts for Byte, Kilo, Mega
+$lang_byte_units = array('Bytes', 'KB', 'MB');
+
+
+// Day of weeks and months
+$lang_day_of_week = array('Dom', 'Seg', 'Ter', 'Qua', 'Qui', 'Sex', 'Sab');
+$lang_month = array('Jan', 'Fev', 'Mar', 'Abr', 'Mai', 'Jun', 'Jul', 'Ago', 'Set', 'Out', 'Nov', 'Dez');
+
+// Some common strings
+$lang_yes = 'Sim';
+$lang_no  = 'Não';
+$lang_back = 'VOLTAR';
+$lang_continue = 'CONTINUAR';
+$lang_info = 'Informação';
+$lang_error = 'Erro';
+$lang_check_uncheck_all = 'marcar/desmarcar tudo'; //cpg1.4
+
+// The various date formats
+// See http://www.php.net/manual/en/function.strftime.php to define the variable below
+$album_date_fmt =    '%B %d, %Y';
+$lastcom_date_fmt =  '%m/%d/%y at %H:%M';
+$lastup_date_fmt = '%B %d, %Y';
+$register_date_fmt = '%B %d, %Y';
+$lasthit_date_fmt = '%B %d, %Y at %I:%M %p';
+$comment_date_fmt =  '%B %d, %Y at %I:%M %p';
+$log_date_fmt = '%B %d, %Y at %I:%M %p'; //cpg1.4
+
+// For the word censor
+$lang_bad_words = array('*fuck*', 'asshole', 'assramer', 'bitch*', 'c0ck', 'clits', 'Cock', 'cum', 'cunt*', 'dago', 'daygo', 'dego', 'dick*', 'dildo', 'fanculo', 'feces', 'foreskin', 'Fu\(*', 'fuk*', 'honkey', 'hore', 'injun', 'kike', 'lesbo', 'masturbat*', 'motherfucker', 'nazis', 'nigger*', 'nutsack', 'penis', 'phuck', 'poop', 'pussy', 'scrotum', 'shit', 'slut', 'titties', 'titty', 'twaty', 'wank*', 'whore', 'wop*','foda*', 'cu', 'otario', 'bicha', 'caralho', 'kct*', 'rola', 'porra', 'merda', 'idiota', 'otario', 'tabacudo', 'rola', 'buceta','tabacuda', 'fuck', 'lesbica', 'gay', 'bixa', 'frango', 'burro');
+
+$lang_meta_album_names = array(
+  'random' => 'Imagens Aleatórias',
+	'lastup' => 'Últimas Imagens Adicionadas',
+	'lastalb'=> 'Últimos Álbuns Actualizados',
+	'lastcom' => 'Últimos Comentários',
+	'topn' => 'Fotos Mais Vistas',
+	'toprated' => 'Imagens mais Populares',
+	'lasthits' => 'Últimas Imagens Vistas',
+	'search' => 'Resultado da Pesquisa',
+	'favpics'=> 'Imagens Favoritas',  //cpg1.4
+);
+
+$lang_errors = array(
+  'access_denied' => 'Não tem permissão para visualizar esta página.',
+  'perm_denied' => 'Não tem permissão para executar esta operação.',
+  'param_missing' => 'Script executado com falta de parâmentos.',
+  'non_exist_ap' => 'O álbum ou foto que seleccionou não foi encontrado!',
+  'quota_exceeded' => 'A quota de espaço para armazenamento excedeu o limite<br /><br />Possui [quota]KB de espaço e as suas fotos actualmente utilizam [space]KB, se adicionar este ficheiro irá ultrapassar o limite.',
+  'gd_file_type_err' => 'Estamos a usar um sistema que só permite fotos JPEG e PNG.',
+  'invalid_image' => 'A foto que enviou está corrompida ou não pode ser 
+interpretada pela biblioteca GD',
+  'resize_failed' => 'Não foi possível criar a miniatura ou redimensionar a foto.',
+  'no_img_to_display' => 'Sem fotos para exibir',
+  'non_exist_cat' => 'A categoria seleccionada não existe',
+  'orphan_cat' => 'A categoria tem um parâmento que não existe, vá para ao gestor de categorias e corrija o problema!',
+  'directory_ro' => 'O Diretório \'%s\' não é gravável, as fotos não podem ser apagadas',
+  'non_exist_comment' => 'O comentário seleccionado não existe.',
+  'pic_in_invalid_album' => 'Foto num álbum inexistente (%s)!?',
+  'banned' => 'Esta presentemente expulso deste site.',
+  'not_with_udb' => 'Função desactivada na Galeria. O que está a tentar fazer não é suportado na presente configuração.',
+  'offline_title' => 'Offline',
+  'offline_text' => 'A Galeria está de momento offline - tente novamente mais tarde!',
+  'ecards_empty' => 'Não há nenhum registo de ecards para visualizar!',
+  'action_failed' => 'Erro! Não foi possivel processar o seu pedido.',
+  'no_zip' => 'As bibliotecas necessárias para processar os arquivos em ZIP não estão disponiveis. Por favor contacte o Administrador.',
+  'zip_type' => 'Não tem permissão para enviar arquivos ZIP.',
+  'database_query' => 'Erro ao processar um pedido ha Base de Dados!', //cpg1.4
+  'register_globals_on' => 'The PHP setting register_globals is enabled on your server, which is a bad idea in terms of security. It\'s strongly recommended to turn it off. [<a href="http://forum.coppermine-gallery.net/index.php/topic,59569.0.html" rel="external" class="external">more</a>]',
+);
+
+$lang_bbcode_help_title = 'Ajuda bbcode'; //cpg1.4
+$lang_bbcode_help = 'Pode adicionar links clicaveis e alguma formatação de texto, utilizando bbcode tags : <li>[b]Bold[/b] =&gt; <b>Bold</b></li><li>[i]Italic[/i] =&gt; <i>Italic</i></li><li>[url=http://oseusite.com/]Url Text[/url] =&gt; <a href="http://oseusite.com">Url Text</a></li><li>[email]user@dominio.com[/email] =&gt; <a href="mailto:user@dominio.com">user@dominio.com</a></li><li>[color=red]seu texto[/color] =&gt; <span style="color:red">seu texto</span></li><li>[img]http://coppermine-gallery.net/demo/cpg14x/images/red.gif[/img] => <img src="../images/red.gif" border="0" alt="" /></li>'; //cpg1.4
+
+// ------------------------------------------------------------------------- //
+// File theme.php
+// ------------------------------------------------------------------------- //
+
+$lang_main_menu = array(
+  'home_title' => 'Ir para página inicial',
+  'home_lnk' => 'Página Principal',
+  'alb_list_title' => 'Ir para a lista de álbuns',
+  'alb_list_lnk' => 'Lista de Álbuns',
+  'my_gal_title' => 'Ir para Galeria Pessoal',
+  'my_gal_lnk' => 'Minha Galeria',
+  'my_prof_title' => 'Ir para Meus Dados', //cpg1.4
+  'my_prof_lnk' => 'Os Meus Dados',
+  'adm_mode_title' => 'Mudar para modo Admin',
+  'adm_mode_lnk' => 'MODO ADMIN',
+  'usr_mode_title' => 'Mudar para modo Utilizador',
+  'usr_mode_lnk' => 'Modo utilizador',
+  'upload_pic_title' => 'Enviar imagem para um álbum',
+  'upload_pic_lnk' => 'Enviar Imagem',
+  'register_title' => 'Criar uma conta',
+  'register_lnk' => 'Clique para se Registar',
+  'login_title' => 'Fazer o Login', //cpg1.4
+  'login_lnk' => 'Login',
+  'logout_title' => 'Fazer o Logout', //cpg1.4
+  'logout_lnk' => 'Logout',
+  'lastup_title' => 'Mostrar as últimas imagens inseridas', //cpg1.4
+  'lastup_lnk' => 'Últimas Imagens',
+  'lastcom_title' => 'Mostrar os últimos comentários inseridos', //cpg1.4
+  'lastcom_lnk' => 'Últimos Comentários',
+  'topn_title' => 'Mostrar as imagens mais visualizadas', //cpg1.4
+  'topn_lnk' => 'Mais Visualizadas',
+  'toprated_title' => 'Mostar imagens mais Populares', //cpg1.4
+  'toprated_lnk' => 'Mais Populares',
+  'search_title' => 'Pesquisar a Galeria', //cpg1.4
+  'search_lnk' => 'Pesquisar',
+  'fav_title' => 'ir para Minhas Favoritas', //cpg1.4
+  'fav_lnk' => 'Minhas Favoritas',
+  'memberlist_title' => 'Mostrar a Lista de Membros',
+  'memberlist_lnk' => 'Lista de Membros',
+  'faq_title' => 'Questões mais Frequentes sobre a Galeria(Frequently Asked Questions) &quot;Coppermine&quot;',
+  'faq_lnk' => 'FAQ',
+);
+
+$lang_gallery_admin_menu = array(
+  'upl_app_title' => 'Aprovar novos envios', //cpg1.4
+  'upl_app_lnk' => 'Aprovar Fotos Enviadas',
+  'admin_title' => 'Ir para Config', //cpg1.4
+  'admin_lnk' => 'Config', //cpg1.4
+  'albums_title' => 'Ir para configuração de Álbuns', //cpg1.4
+  'albums_lnk' => 'Álbuns',
+  'categories_title' => 'Ir para Configuração de Categorias', //cpg1.4
+  'categories_lnk' => 'Categorias',
+  'users_title' => 'Ir para Configuração de Utilizadores', //cpg1.4
+  'users_lnk' => 'Utilizadores',
+  'groups_title' => 'Ir para Configuração de Grupos', //cpg1.4
+  'groups_lnk' => 'Grupos',
+  'comments_title' => 'Ver todos comentários', //cpg1.4
+  'comments_lnk' => 'Ver comentários',
+  'searchnew_title' => 'Ir para Adicionar fotos em Lote', //cpg1.4
+  'searchnew_lnk' => 'FTP=>',
+  'util_title' => 'Ir para Ferramentas de Administração', //cpg1.4
+  'util_lnk' => 'Ferramentas de Administração',
+  'key_title' => 'Ir para Dicionário de Palavras Chave', //cpg1.4
+  'key_lnk' => 'Dicionário de Palavras Chave', //cpg1.4
+  'ban_title' => 'Ir para Excluir utilizadores', //cpg1.4
+  'ban_lnk' => 'Excluir utilizadores',
+  'db_ecard_title' => 'Visualizar Ecards', //cpg1.4
+  'db_ecard_lnk' => 'Visualizar Ecards',
+  'pictures_title' => 'Ordenar as Minhas Imagens', //cpg1.4
+  'pictures_lnk' => 'Ordenar as Minhas Imagens', //cpg1.4
+  'documentation_lnk' => 'Documentação', //cpg1.4
+  'documentation_title' => 'Coppermine manual', //cpg1.4
+);
+
+$lang_user_admin_menu = array(
+  'albmgr_title' => 'Criar/ordenar os meus álbuns', //cpg1.4
+  'albmgr_lnk' => 'Criar/ordenar os meus álbuns',
+  'modifyalb_title' => 'Ir para Modificar os meus álbuns',  //cpg1.4
+  'modifyalb_lnk' => 'Modificar os meus álbuns',
+  'my_prof_title' => 'Ir para os Meus Dados', //cpg1.4
+  'my_prof_lnk' => 'Os Meus Dados',
+);
+
+$lang_cat_list = array(
+  	'category' => 'Categoria',
+	'albums' => 'Álbuns',
+	'pictures' => 'Imagens',
+);
+
+$lang_album_list = array(
+  'album_on_page' => '%d álbun(s) na(s) %d página(s)',
+);
+
+$lang_thumb_view = array(
+  'date' => 'DATA',
+	//Ordenar por arquivo e titulo
+  'name' => 'NOME DO FICHEIRO',
+  'title' => 'TITLE',
+  'title' => 'TÍTULO',
+	'sort_da' => 'Ordenar por data crescente',
+	'sort_dd' => 'Ordenar por data decrescente',
+	'sort_na' => 'Ordenar por nome ascendente',
+	'sort_nd' => 'Ordenar por nome descendente',
+	'sort_ta' => 'Ordenar por título ascendente',
+	'sort_td' => 'Ordenar por título descendente',
+  'position' => 'POSIÇÃO', //cpg1.4
+  'sort_pa' => 'Ordenar por posição ascendente', //cpg1.4
+  'sort_pd' => 'Ordenar por posição descendente', //cpg1.4
+  'download_zip' => 'Download como ficheiro Zip',
+  'pic_on_page' => '%d imagen(s) na(s) %d página(s)',
+	'user_on_page' => '%d utilizador(es) na(s) %d página(s)',
+  'enter_alb_pass' => 'Introduza senha do álbum', //cpg1.4
+  'invalid_pass' => 'Password Inválida!', //cpg1.4
+  'pass' => 'Password', //cpg1.4
+  'submit' => 'Submeter', //cpg1.4
+);
+
+$lang_img_nav_bar = array(
+  'thumb_title' => 'Voltar para a página de miniaturas',
+	'pic_info_title' => 'Mostrar/Esconder informações do ficheiro',
+	'slideshow_title' => 'SlideShow',
+	'ecard_title' => 'enviar esta imagem como e-card',
+  'ecard_disabled' => 'os e-cards estão desactivados',
+  'ecard_disabled_msg' => 'Não tem permissão para enviar e-cards', //js-alert
+  'prev_title' => 'Ver imagem anterior',
+  'next_title' => 'Ver próxima imagem',
+  'pic_pos' => 'IMAGEM %s/%s',
+  'report_title' => 'Enviar comentário sobre esta imagem ao Administrador', //cpg1.4
+  'go_album_end' => 'Saltar para última', //cpg1.4
+  'go_album_start' => 'Inicio', //cpg1.4
+  'go_back_x_items' => 'para trás %s items', //cpg1.4
+  'go_forward_x_items' => 'para frente %s items', //cpg1.4
+);
+
+$lang_rate_pic = array(
+  'rate_this_pic' => 'Classifique esta imagem ',
+	'no_votes' => '(Nenhum voto até o momento)',
+	'rating' => '(Média de votos : %s / 5 dos %s votos)',
+	'rubbish' => 'Péssima',
+	'poor' => 'Pobre',
+	'fair' => 'Satisfatória',
+	'good' => 'Boa',
+	'excellent' => 'Excelente',
+	'great' => 'Espectacular',
+);
+
+// ------------------------------------------------------------------------- //
+// File include/exif.inc.php
+// ------------------------------------------------------------------------- //
+
+// void
+
+// ------------------------------------------------------------------------- //
+// File include/functions.inc.php
+// ------------------------------------------------------------------------- //
+
+$lang_cpg_die = array(
+  INFORMATION => $lang_info,
+  ERROR => $lang_error,
+  CRITICAL_ERROR => 'ERRO CRÍTICO!!!',
+  'file' => 'Ficheiro: ',
+  'line' => 'Linha: ',
+);
+
+$lang_display_thumbnails = array(
+  'filename' => 'Ficheiro=', //cpg1.4
+  'filesize' => 'Tamanho=', //cpg1.4
+  'dimensions' => 'Dimensões=', //cpg1.4
+  'date_added' => 'Data de envio=', //cpg1.4
+);
+
+$lang_get_pic_data = array(
+  'n_comments' => '%s comentários',
+  'n_views' => '%s visualizações',
+  'n_votes' => '(%s votos)',
+);
+
+$lang_cpg_debug_output = array(
+  'debug_info' => 'Debug Info',
+  'select_all' => 'Seleccionar tudo',
+  'copy_and_paste_instructions' => 'Se pedir ajuda ao suporte do Coppermine, copie e cole este Debug com as mensagens de erro que surgirem no seu pedido de ajuda. Certifique-se de ter substituido qualquer password com ***, antes de colocar o post.<br />Nota: Serve apenas para informar e não significa que exista erro com a sua Galeria!', //cpg1.4
+  'phpinfo' => 'mostrar phpinfo',
+  'notices' => 'Notificações', //cpg1.4
+);
+
+$lang_language_selection = array(
+  'reset_language' => 'Idioma Padrão',
+  'choose_language' => 'Escolha o seu Idioma',
+);
+
+$lang_theme_selection = array(
+  'reset_theme' => 'Tema Padrão',
+  'choose_theme' => 'Escolha um tema',
+);
+
+$lang_version_alert = array(
+  'version_alert' => 'Versão não suportada!', //cpg1.4
+  'security_alert' => 'Alerta de Segurança!', //cpg1.4.3
+  'relocate_exists' => 'Remove the <a href="http://coppermine-gallery.net/forum/index.php?topic=24217.0">relocate_server.php</a> file from your website!',
+  'no_stable_version' => 'You are running Coppermine %s (%s) which is only meant for very experienced users - this version comes without support nor any warranties. Use it at your own risk or downgrade to the latest stable version if you need support!', //cpg1.4
+  'gallery_offline' => 'A Galeria está de momento OFFLINE e acessivel apenas por si (ADMIN)! Não se esqueça de a colocar ONLINE após o termino da manutenção!', //cpg1.4
+);
+
+$lang_create_tabs = array(
+  'previous' => 'anterior', //cpg1.4
+  'next' => 'próxima', //cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File include/init.inc.php
+// ------------------------------------------------------------------------- //
+
+// void
+
+// ------------------------------------------------------------------------- //
+// File keyword.inc.php                                                      //
+// ------------------------------------------------------------------------- //
+
+// void
+
+// ------------------------------------------------------------------------- //
+// File include/picmgmt.inc.php
+// ------------------------------------------------------------------------- //
+
+// void
+
+// ------------------------------------------------------------------------- //
+// File include/plugin_api.inc.php
+// ------------------------------------------------------------------------- //
+$lang_plugin_api = array(
+  'error_wakeup' => "Não foi possível despertar o plugin '%s'", //cpg1.4
+  'error_install' => "Não foi possível instalar o plugin '%s'", //cpg1.4
+  'error_uninstall' => "Não foi possível desinstalar o plugin '%s'", //cpg1.4
+  'error_sleep' => "Não foi possível desinstalar o plugin '%s'<br />", //cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File include/smilies.inc.php
+// ------------------------------------------------------------------------- //
+
+if (defined('SMILIES_PHP')) $lang_smilies_inc_php = array(
+  'Exclamation' => 'Exclamação',
+	'Question' => 'Questão',
+	'Very Happy' => 'Muito Feliz',
+	'Smile' => 'Sorriso',
+	'Sad' => 'Triste',
+	'Surprised' => 'Surpreendido',
+	'Shocked' => 'Chocado',
+	'Confused' => 'Confuso',
+	'Cool' => 'Legal',
+	'Laughing' => 'Risonho',
+	'Mad' => 'Louco',
+	'Razz' => 'Razz',
+	'Embarassed' => 'Embaraçado',
+	'Crying or Very sad' => 'Chorar/Muito triste',
+	'Evil or Very Mad' => 'Mau/Muito Furioso',
+	'Twisted Evil' => 'Demonio louco',
+	'Rolling Eyes' => 'Rolando os olhos',
+	'Wink' => 'Piscando',
+	'Idea' => 'Ideia',
+	'Arrow' => 'Seta',
+	'Neutral' => 'Neutro',
+	'Mr. Green' => 'Mr. Green',
+);
+
+// ------------------------------------------------------------------------- //
+// File addpic.php
+// ------------------------------------------------------------------------- //
+
+// void
+
+// ------------------------------------------------------------------------- //
+// File mode.php //cpg1.4
+// ------------------------------------------------------------------------- //
+
+if (defined('MODE_PHP')) $lang_mode_php = array(
+  0 => 'A Sair da Administração...',
+  1 => 'A Entrar na Administração...',
+);
+
+// ------------------------------------------------------------------------- //
+// File albmgr.php
+// ------------------------------------------------------------------------- //
+
+if (defined('ALBMGR_PHP')) $lang_albmgr_php = array(
+  'alb_need_name' => 'Os Álbuns precisam de ter um nome !', //js-alert
+  'confirm_modifs' => 'Tem certeza que deseja realizar as modificações ?', //js-alert
+  'no_change' => 'Não realizou nenhuma mudança !', //js-alert
+  'new_album' => 'Novo álbum',
+  'confirm_delete1' => 'Tem certeza que deseja remover este álbum ?', //js-alert
+  'confirm_delete2' => 'Nem todas as fotos e comentários serão perdidos !', //js-alert
+  'select_first' => 'Primeiro seleccione um álbum', //js-alert
+  'alb_mrg' => 'Gestor de álbuns',
+  'my_gallery' => '* A Minha Galeria *',
+  'no_category' => '* Sem categoria *',
+  'delete' => 'Apagar',
+  'new' => 'Novo',
+  'apply_modifs' => 'Aplicar modificações',
+  'select_category' => '- Selecione categoria -',
+);
+
+// ------------------------------------------------------------------------- //
+// File banning.php
+// ------------------------------------------------------------------------- //
+
+if (defined('BANNING_PHP')) $lang_banning_php = array(
+  'title' => 'Excluir Utilizadores', //cpg1.4
+  'user_name' => 'Nome do utilizador', //cpg1.4
+  'ip_address' => 'Endereço IP ', //cpg1.4
+  'expiry' => 'Expira em (em branco significa que é permanente)', //cpg1.4
+  'edit_ban' => 'Gravar modificações', //cpg1.4
+  'delete_ban' => 'Apagar', //cpg1.4
+  'add_new' => 'Adicionar nova exclusão', //cpg1.4
+  'add_ban' => 'Adicionar', //cpg1.4
+  'error_user' => 'Não é possível encontrar utilizador', //cpg1.4
+  'error_specify' => 'Precisa especificar um utilizador ou IP', //cpg1.4
+  'error_ban_id' => 'ID de exclusão inválido!', //cpg1.4
+  'error_admin_ban' => 'Não se pode excluir!', //cpg1.4
+  'error_server_ban' => 'Queria excluir o seu próprio servidor? Han han!!!Não pode ser...', //cpg1.4
+  'error_ip_forbidden' => 'Não pode excluir este IP - De qualquer maneira ele é non-routable (privado) !<br />Se deseja permitir a exclusão de IPs privados, altere isto <a href="admin.php">Config</a> (só faz sentido quando o Coppermine é usado numa LAN).', //cpg1.4
+  'lookup_ip' => 'Procurar um IP ', //cpg1.4
+  'submit' => 'vai!', //cpg1.4
+  'select_date' => 'Seleccionar uma data', //cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File bridgemgr.php //cpg1.4
+// ------------------------------------------------------------------------- //
+
+if (defined('BRIDGEMGR_PHP')) $lang_bridgemgr_php = array(
+  'title' => 'Bridge Wizard',
+  'warning' => 'AVISO:Ao usar este assistente tenha a consciência de que dados com informação sensivel estão a ser enviados usando formulários html. Corra-o apenas no seu computador (não numa máquina pública como Internet Cafés), e certifique-se de limpar a cache do browser e ficheiros temporários depois de ter concluído, ou terceiros poderão ter acesso aos seus dados!',
+  'back' => 'Retrocede',
+  'next' => 'Seguinte',
+  'start_wizard' => 'Inicia o assistente de enlaces',
+  'finish' => 'Finalizar',
+  'hide_unused_fields' => 'Ocultar campos do formulário não usados (recomendado)',
+  'clear_unused_db_fields' => 'Limpar entradas inválidas da base de dados (recomendado)',
+  'custom_bridge_file' => 'nome do ficheiro de enlaces (se o nome é <i>exemplo.inc.php</i>, introduza <i>exemplo</i> neste campo)',
+  'no_action_needed' => 'Não é necessária quaisquer acção neste passo. Clique em \'seguinte\' para continuar.',
+  'reset_to_default' => 'Restaurar pré-definições',
+  'choose_bbs_app' => 'escolha a aplicação para enlaçar o Cooppermine',
+  'support_url' => 'Vá aqui para o suporte sobre esta aplicação',
+  'settings_path' => 'caminho(s) usado pela aplicação BBS',
+  'database_connection' => 'coneção à base de dados',
+  'database_tables' => 'tabelas da base de dados',
+  'bbs_groups' => 'grupos BBS ',
+  'license_number' => 'Número de Licença',
+  'license_number_explanation' => 'Insira o número da licença (se necessário)',
+  'db_database_name' => 'Nome da Base de Dados',
+  'db_database_name_explanation' => 'Insira o nome da Base de Dados que o BBS utiliza',
+  'db_hostname' => 'Servidor da Base de Dados',
+  'db_hostname_explanation' => 'Nome do servidor onde a sua Base de Dados MySQL reside, normalmente &quot;localhost&quot;',
+  'db_username' => 'Utilizador da Base de Dados',
+  'db_username_explanation' => 'o utilizador mySQL a usar para se conectar com a aplicação BBS',
+  'db_password' => 'Senha da Base de Dados',
+  'db_password_explanation' => 'Password este utilizador mySQL',
+  'full_forum_url' => 'URL do Forum',
+  'full_forum_url_explanation' => 'URL completo da sua aplicação BBS (incluindo http:// bit, http://www.seudominio.tld/forum)',
+  'relative_path_of_forum_from_webroot' => 'Caminho relativo do forum',
+  'relative_path_of_forum_from_webroot_explanation' => 'O caminho para a aplicação BBS desde o webroot (Exemplo: se o caminho do seu BBS é http://www.seudominio.tld/forum/, digite &quot;/forum/&quot; neste campo)',
+  'relative_path_to_config_file' => 'Caminho relativo do ficheiro de configuração do BBS',
+  'relative_path_to_config_file_explanation' => 'Caminho relativo do BBS, visto pelo Coppermine (exemplo: &quot;../forum/&quot; se o BBS está em http://www.seudominio.tld/forum/ e o Coppermine em http://www.seudominio.tld/gallery/)',
+  'cookie_prefix' => 'prefixo de Cookie',
+  'cookie_prefix_explanation' => 'tem se ser o nome do cookie do seu BBS',
+  'table_prefix' => 'Prefixo de Tabelas',
+  'table_prefix_explanation' => 'Tem de coincidir com o prefixo que definiu ao configurar o seu BBS.',
+  'user_table' => 'Tabela de utilizadores',
+  'user_table_explanation' => '(Normalmente o valor por defeito deverá funcionar, a não ser que use uma instalação não standard do BBS)',
+  'session_table' => 'Tabela de sessões',
+  'session_table_explanation' => '(Normalmente o valor por defeito deverá funcionar, a não ser que use uma instalação não standard do BBS)',
+  'group_table' => 'Tabela de grupos',
+  'group_table_explanation' => '(Normalmente o valor por defeito deverá funcionar, a não ser que use uma instalação não standard do BBS)',
+  'group_relation_table' => 'Tabela de relação de grupos',
+  'group_relation_table_explanation' => '(Normalmente o valor por defeito deverá funcionar, a não ser que use uma instalação não standard do BBS)',
+  'group_mapping_table' => 'Tabela de mapeamento de grupos',
+  'group_mapping_table_explanation' => '(Normalmente o valor por defeito deverá funcionar, a não ser que use uma instalação não standard do BBS)',
+  'use_standard_groups' => 'Usar os grupos de utilizador standard do BBS',
+  'use_standard_groups_explanation' => 'Usar os Grupos de Utilizador (incorporado e recomendado). Isto fará com que as definições personalizadas feitas nesta página se tornem nulas. Desactive esta opção apenas se realmente souber o que está a fazer!',
+  'validating_group' => 'Validação de Grupos',
+  'validating_group_explanation' => 'O ID do grupo do seu BBS onde se encontram as contas dos utilizadores que necessitam de validação (Normalmente o valor por defeito deverá funcionar, a não ser que use uma instalação não standard do BBS)',
+  'guest_group' => 'Grupo de convidados (Guest)',
+  'guest_group_explanation' => 'O ID do grupo no seu BBS onde se encontram os utilizadores convidados (utilizadores anónimos) (definição por defeito deverá funcionar, edite apenas se souber o que está a fazer!)',
+  'member_group' => 'Grupo de Membros',
+  'member_group_explanation' => 'O ID do Grupo do seu BBS, onde se encontram os utilizadores &quot;regulares&quot; (definição por defeito deverá funcionar, edite apenas se souber o que está a fazer!',
+  'admin_group' => 'Grupo Administração',
+  'admin_group_explanation' => 'O ID do Grupo do seu BBS, onde se encontram os Administradores (definição por defeito deverá funcionar, edite apenas se souber o que está a fazer!)',
+  'banned_group' => 'Grupo de Excluidos',
+  'banned_group_explanation' => 'O ID do grupo onde se encontram os utilizadores excluidos (definição por defeito deverá funcionar, edite apenas se souber o que está a fazer)',
+  'global_moderators_group' => 'Grupo Moderadores Globais',
+  'global_moderators_group_explanation' => 'O ID do Grupo onde se encontram os utilizadores Moderadores Globais do seu BBS (definição por defeito deverá funcionar, edite apenas se souber o que está a fazer)',
+  'special_settings' => 'BBS-definições especificas',
+  'logout_flag' => 'Versão phpBB (indicador de fecho de sessão)',
+  'logout_flag_explanation' => 'Qual a versão do seu BBS (para saber como tratar os fechos de sessão (logouts))',
+  'use_post_based_groups' => 'usar grupos baseados em POST?',
+  'logout_flag_yes' => '2.0.5 ou maior',
+  'logout_flag_no' => '2.0.4 ou menor',
+  'use_post_based_groups_explanation' => 'Devem os grupos da BBS que estão definidos pelo número de postes serem levados em conta (permite uma administração de permissões granular) ou apenas os grupos por defeito (torna a administração mais fácil, recomendado). Pode alterar esta definição mais tarde.',
+  'use_post_based_groups_yes' => 'yes',
+  'use_post_based_groups_no' => 'no',
+  'error_title' => 'You need to correct these errors before you can continue. Go to the previous screen.',
+  'error_specify_bbs' => 'You have to specify what application you want to bridge your Coppermine install with.',
+  'error_no_blank_name' => 'You can\'t leave the name of your custom bridge file blank.',
+  'error_no_special_chars' => 'The bridge file name mustn\'t contain any special chars except underscore (_) and dash (-)!',
+  'error_bridge_file_not_exist' => 'The bridge file %s doesn\'t exist on the server. Check if you have actually uploaded it.',
+  'finalize' => 'enable/disable BBS integration',
+  'finalize_explanation' => 'So far, the settings you specified have been written into the database, but BBS integration hasn\'t been enabled. You can switch integration on/off later at any time. Make sure to remember the admin username and password from standalone Coppermine, you might need it later to be able to make any changes. If anything goes wrong, go to %s and disable BBS integration there, using your standalone (unbridged) admin account (usually the one you set up during Coppermine install).',
+  'your_bridge_settings' => 'Your bridge settings',
+  'title_enable' => 'Enable integration/bridging with %s',
+  'bridge_enable_yes' => 'enable',
+  'bridge_enable_no' => 'disable',
+  'error_must_not_be_empty' => 'must not be empty',
+  'error_either_be' => 'must either be %s or %s',
+  'error_folder_not_exist' => '%s doesn\'t exist. Correct the value you entered for %s',
+  'error_cookie_not_readible' => 'Coppermine can\'t read a cookie named %s. Correct the value you entered for %s, or go to your BBS administration panel and make sure that the cookie path is readible for coppermine.',
+  'error_mandatory_field_empty' => 'You can not leave the field %s blank - fill in the proper value.',
+  'error_no_trailing_slash' => 'There mustn\'t be a trailing slash in the field %s.',
+  'error_trailing_slash' => 'There must be a trailing slash in the field %s.',
+  'error_db_connect' => 'Could not connect to the mySQL database with the data you specified. Here\'s what mySQL said:',
+  'error_db_name' => 'Although Coppermine could establish a connection, it wasn\'t able to find the database %s. Make sure you have specified %s properly. Here\'s what mySQL said:',
+  'error_prefix_and_table' => '%s and ',
+  'error_db_table' => 'Could not find the table %s. Make sure you have specified %s correctly.',
+  'recovery_title' => 'Bridge Manager: emergency recovery',
+  'recovery_explanation' => 'If you came here to administer the BBS integration of your Coppermine gallery, you have to log in first as admin. If you can not log in because bridging doesn\'t work as expected, you can disable BBS integration with this page. Entering your username and password will not log you in, it will only disable BBS integration. Refer to the documentation for details.',
+  'username' => 'Username',
+  'password' => 'Password',
+  'disable_submit' => 'submit',
+  'recovery_success_title' => 'Authorization successful',
+  'recovery_success_content' => 'You have successfully disabled BBS bridging. Your Coppermine install runs now in standalone mode.',
+  'recovery_success_advice_login' => 'Log in as admin to edit your bridge settings and/or enable BBS integration again.',
+  'goto_login' => 'Go to login page',
+  'goto_bridgemgr' => 'Go to bridge manager',
+  'recovery_failure_title' => 'Authorization failed',
+  'recovery_failure_content' => 'You supplied the wrong credentials. You will have to supply the admin account data of the standalone version (usually the account you set up during Coppermine install).',
+  'try_again' => 'try again',
+  'recovery_wait_title' => 'Wait time has not elapsed',
+  'recovery_wait_content' => 'For security reasons this script does not allow failed logons in short succession, so you will have to wait a bit untill you\'re allowed to try to authenticate.',
+  'wait' => 'wait',
+  'create_redir_file' => 'Create redirection file (recommended)',
+  'create_redir_file_explanation' => 'To redirect users back to Coppermine once they logged into your BBS, you need a redirection file to be created within your BBS folder. When this option is checked, the bridge manager will attempt to create this file for you, or give you code ready to copy-and-paste to create the file manually.',
+  'browse' => 'browse',
+);
+
+// ------------------------------------------------------------------------- //
+// File calendar.php //cpg1.4
+// ------------------------------------------------------------------------- //
+
+if (defined('CALENDAR_PHP')) $lang_calendar_php = array(
+  'title' => 'Calendário', //cpg1.4
+  'close' => 'fechar', //cpg1.4
+  'clear_date' => 'limpar data', //cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File catmgr.php
+// ------------------------------------------------------------------------- //
+
+if (defined('CATMGR_PHP')) $lang_catmgr_php = array(
+  'miss_param' => 'Os parâmetros requeridos para a operação \'%s\'não foram fornecidos !',
+  'unknown_cat' => 'A categoria selecionada não existe na base de dados',
+  'usergal_cat_ro' => 'A categoria galerias do utilizador nãao podem ser apagadas !',
+  'manage_cat' => 'Administração de Categorias',
+  'confirm_delete' => 'Tem a certeza de que quer APAGAR esta categoria ?', //js-alert
+  'category' => 'Categoria',
+  'operations' => 'Operações',
+  'move_into' => 'Transferir para',
+  'update_create' => 'Actualiza/cria categoria',
+  'parent_cat' => 'Categoria mãe',
+  'cat_title' => 'Título da categoria',
+  'cat_thumb' => 'Imagem miniatura da categoria',
+  'cat_desc' => 'Descrição da categoria',
+  'categories_alpha_sort' => 'Ordenar as categorias alfabéticamente (em vez de ordem por ajuste)', //cpg1.4
+  'save_cfg' => 'Save configuration', //cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File admin.php //cpg1.4
+// ------------------------------------------------------------------------- //
+
+if (defined('ADMIN_PHP')) $lang_admin_php = array(
+  'title' => 'Gallery Configuration', //cpg1.4
+  'manage_exif' => 'Manage exif display', //cpg1.4
+  'manage_plugins' => 'Manage plugins', //cpg1.4
+  'manage_keyword' => 'Manage keywords', //cpg1.4
+  'restore_cfg' => 'Restore factory defaults',
+  'save_cfg' => 'Save new configuration',
+  'notes' => 'Notes',
+  'info' => 'Information',
+  'upd_success' => 'Configuração foi actualizada!',
+  'restore_success' => 'Coppermine default configuration restored',
+  'name_a' => 'Name ascending',
+  'name_d' => 'Name descending',
+  'title_a' => 'Title ascending',
+  'title_d' => 'Title descending',
+  'date_a' => 'Date ascending',
+  'date_d' => 'Date descending',
+  'pos_a' => 'Position ascending', //cpg1.4
+  'pos_d' => 'Position descending', //cpg1.4
+  'th_any' => 'Max Aspect',
+  'th_ht' => 'Height',
+  'th_wd' => 'Width',
+  'label' => 'label',
+  'item' => 'item',
+  'debug_everyone' => 'Everyone',
+  'debug_admin' => 'Admin only',
+  'no_logs'=> 'Off', //cpg1.4
+  'log_normal'=> 'Normal', //cpg1.4
+  'log_all' => 'All', //cpg1.4
+  'view_logs' => 'View logs', //cpg1.4
+  'click_expand' => 'click section name to expand', //cpg1.4
+  'expand_all' => 'Expand All', //cpg1.4
+  'notice1' => '(*) These settings mustn\'t be changed if you already have files in your database.', //cpg1.4 - (relocated)
+  'notice2' => '(**) When changing this setting, only the files that are added from that point on are affected, so it is advisable that this setting must not be changed if there are already files in the gallery. You can, however, apply the changes to the existing files with the &quot;<a href="util.php">admin tools</a> (resize pictures)&quot; utility from the admin menu.', //cpg1.4 - (relocated)
+  'notice3' => '(***) All log files are written in english.', //cpg1.4 - (relocated)
+  'bbs_disabled' => 'Function disabled when using bb integration', //cpg1.4
+  'auto_resize_everyone' => 'Everyone', //cpg1.4
+  'auto_resize_user' => 'User only', //cpg1.4
+  'ascending' => 'ascending', //cpg1.4
+  'descending' => 'descending', //cpg1.4
+);
+
+if (defined('ADMIN_PHP')) $lang_admin_data = array(
+  'General settings',
+  array('Gallery name', 'gallery_name', 0, 'f=index.htm&amp;as=admin_general_name&amp;ae=admin_general_name_end'), //cpg1.4
+  array('Gallery description', 'gallery_description', 0, 'f=index.htm&amp;as=admin_general_description&amp;ae=admin_general_description_end'), //cpg1.4
+  array('Gallery administrator email', 'gallery_admin_email', 0, 'f=index.htm&amp;as=admin_general_email&amp;ae=admin_general_email_end'), //cpg1.4
+  array('URL of your coppermine gallery folder (no \'index.php\' or similar at the end)', 'ecards_more_pic_target', 0, 'f=index.htm&amp;as=admin_general_coppermine-url&amp;ae=admin_general_coppermine-url_end'), //cpg1.4
+  array('URL of your home page', 'home_target', 0, 'f=index.htm&amp;as=admin_general_home-url&amp;ae=admin_general_home-url_end'), //cpg1.4
+  array('Allow ZIP-download of favorites', 'enable_zipdownload', 1, 'f=index.htm&amp;as=admin_general_zip-download&amp;ae=admin_general_zip-download_end'), //cpg1.4
+  array('Timezone difference relative to GMT (current time: ' . localised_date(-1, $comment_date_fmt) . ')','time_offset',0, 'f=index.htm&amp;as=admin_general_time-offset&amp;ae=admin_general_time-offset_end&amp;top=1'), //cpg1.4
+  array('Enable encrypted passwords (can not be undone)','enable_encrypted_passwords',1, 'f=index.htm&amp;as=admin_general_encrypt_password_start&amp;ae=admin_general_encrypt_password_end&amp;top=1'), // cpg 1.4
+  array('Enable help-icons (help available in English only)','enable_help',9, 'f=index.htm&amp;as=admin_general_help&amp;ae=admin_general_help_end'), //cpg1.4
+  array('Enable clickable keywords in search','clickable_keyword_search',14, 'f=index.htm&amp;as=admin_general_keywords_start&amp;ae=admin_general_keywords_end'), //cpg1.4
+  array('Enable plugins', 'enable_plugins', 12, 'f=index.htm&amp;as=admin_general_enable-plugins&amp;ae=admin_general_enable-plugins_end'),  //cpg1.4
+  array('Allow banning of non-routable (private) IP addresses', 'ban_private_ip', 1,  'f=index.htm&amp;as=admin_general_private-ip&amp;ae=admin_general_private-ip_end'), //cpg1.4
+  array('Browsable batch-add interface', 'browse_batch_add', 1, 'f=index.htm&amp;as=admin_general_browsable_batch_add&amp;ae=admin_general_browsable_batch_add_end'), //cpg1.4
+
+  'Language &amp; Charset settings',
+  array('Language', 'lang', 5, 'f=index.htm&amp;as=admin_language_language&amp;ae=admin_language_language_end'), //cpg1.4
+  array('Fallback to English if translated phrase not found?', 'language_fallback', 1, 'f=index.htm&amp;as=admin_language_fallback&amp;ae=admin_language_fallback_end'), //cpg1.4
+  array('Character encoding', 'charset', 4, 'f=index.htm&amp;as=admin_language_charset&amp;ae=admin_language_charset_end'), //cpg1.4
+  array('Display language list', 'language_list', 1, 'f=index.htm&amp;as=admin_language_list&amp;ae=admin_language_list_end'), //cpg1.4
+  array('Display language flags', 'language_flags', 8, 'f=index.htm&amp;as=admin_language_flags&amp;ae=admin_language_flags_end&amp;top=1'), //cpg1.4
+  array('Display &quot;reset&quot; in language selection', 'language_reset', 1, 'f=index.htm&amp;as=admin_language_reset&amp;ae=admin_language_reset_end&amp;top=1'), //cpg1.4
+  //array('Display previous/next on tabbed pages', 'previous_next_tab', 1), //cpg1.4
+
+  'Themes settings',
+  array('Theme', 'theme', 6, 'f=index.htm&amp;as=admin_theme_theme&amp;ae=admin_theme_theme_end'), //cpg1.4
+  array('Display theme list', 'theme_list', 1, 'f=index.htm&amp;as=admin_theme_theme_list&amp;ae=admin_theme_theme_list_end'), //cpg1.4
+  array('Display &quot;reset&quot; in theme selection', 'theme_reset', 1, 'f=index.htm&amp;as=admin_theme_theme_reset&amp;ae=admin_theme_theme_reset_end'), //cpg1.4
+  array('Display FAQ', 'display_faq', 1, 'f=index.htm&amp;as=admin_theme_faq&amp;ae=admin_theme_faq_end'), //cpg1.4
+  array('Custom menu link name', 'custom_lnk_name', 0,'f=index.htm&amp;as=admin_theme_custom_lnk_name&amp;ae=admin_theme_custom_lnk_name_end'), //cpg1.4
+  array('Custom menu link URL', 'custom_lnk_url', 0,'f=index.htm&amp;as=admin_language_custom_lnk_url&amp;ae=admin_language_custom_lnk_url_end'), //cpg1.4
+  array('Display bbcode help', 'show_bbcode_help', 1, 'f=index.htm&amp;as=admin_theme_bbcode&amp;ae=admin_theme_bbcode_end&amp;top=1'), //cpg1.4
+  array('Show the vanity block on themes that are defined as XHTML and CSS compliant','vanity_block',1, 'f=index.htm&amp;as=vanity_block&amp;ae=vanity_block_end'), //cpg1.4
+  array('Path to custom header include', 'custom_header_path', 0, 'f=index.htm&amp;as=admin_theme_include_path_start&amp;ae=admin_theme_include_path_end'), //cpg1.4
+  array('Path to custom footer include', 'custom_footer_path', 0, 'f=index.htm&amp;as=admin_theme_include_path_start&amp;ae=admin_theme_include_path_end'), //cpg1.4
+
+  'Album list view',
+  array('Width of the main table (pixels or %)', 'main_table_width', 0, 'f=index.htm&amp;as=admin_album_table-width&amp;ae=admin_album_table-width_end'), //cpg1.4
+  array('Number of levels of categories to display', 'subcat_level', 0, 'f=index.htm&amp;as=admin_album_category-levels&amp;ae=admin_album_category-levels_end'), //cpg1.4
+  array('Number of albums to display', 'albums_per_page', 0, 'f=index.htm&amp;as=admin_album_number&amp;ae=admin_album_number_end'), //cpg1.4
+  array('Number of columns for the album list', 'album_list_cols', 0, 'f=index.htm&amp;as=admin_album_columns&amp;ae=admin_album_columns_end'), //cpg1.4
+  array('Size of thumbnails in pixels', 'alb_list_thumb_size', 0, 'f=index.htm&amp;as=admin_album_thumbnail-size&amp;ae=admin_album_thumbnail-size_end'), //cpg1.4
+  array('The content of the main page', 'main_page_layout', 0, 'f=index.htm&amp;as=admin_album_list_content&amp;ae=admin_album_list_content_end'), //cpg1.4
+  array('Show first level album thumbnails in categories','first_level',1, 'f=index.htm&amp;as=admin_album_first-level_thumbs&amp;ae=admin_album_first-level_thumbs_end'), //cpg1.4
+  array('Sort categories alphabetically (instead of custom sort order)','categories_alpha_sort',1, 'f=index.htm&amp;as=admin_album_list_alphasort_start&amp;ae=admin_album_list_alphasort_end'), //cpg1.4
+  array('Show number of linked files','link_pic_count',1, 'f=index.htm&amp;as=admin_album_linked_files_start&amp;ae=admin_album_linked_files_end'), //cpg1.4
+
+  'Thumbnail view',
+  array('Number of columns on thumbnail page', 'thumbcols', 0, 'f=index.htm&amp;as=admin_thumbnail_columns&amp;ae=admin_thumbnail_columns_end'), //cpg1.4
+  array('Number of rows on thumbnail page', 'thumbrows', 0, 'f=index.htm&amp;as=admin_thumbnail_rows&amp;ae=admin_thumbnail_rows_end'), //cpg1.4
+  array('Maximum number of tabs to display', 'max_tabs', 10, 'f=index.htm&amp;as=admin_thumbnail_tabs&amp;ae=admin_thumbnail_tabs_end'), //cpg1.4
+  array('Display file caption (in addition to title) below the thumbnail', 'caption_in_thumbview', 1, 'f=index.htm&amp;as=admin_thumbnail_display_caption&amp;ae=admin_thumbnail_display_caption_end'), //cpg1.4
+  array('Display number of views below the thumbnail', 'views_in_thumbview', 1, 'f=index.htm&amp;as=admin_thumbnail_display_views&amp;ae=admin_thumbnail_display_views_end'), //cpg1.4
+  array('Display number of comments below the thumbnail', 'display_comment_count', 1, 'f=index.htm&amp;as=admin_thumbnail_display_comments&amp;ae=admin_thumbnail_display_comments_end'), //cpg1.4
+  array('Display uploader name below the thumbnail', 'display_uploader', 1, 'f=index.htm&amp;as=admin_thumbnail_display_uploader&amp;ae=admin_thumbnail_display_uploader_end'), //cpg1.4
+  //array('Display name of admin uploaders below the thumbnail', 'display_admin_uploader', 1, 'f=index.htm&amp;as=admin_thumbnail_display_admin_uploader&amp;ae=admin_thumbnail_display_admin_uploader_end'), //cpg1.4
+  array('Display file name below the thumbnail', 'display_filename', 1, 'f=index.htm&amp;as=admin_thumbnail_display_filename&amp;ae=admin_thumbnail_display_filename_end'), //cpg1.4
+  //array('Display album description', 'alb_desc_thumb', 1, 'f=index.htm&amp;as=admin_thumbnail_display_description&amp;ae=admin_thumbnail_display_description_end'), //cpg1.4
+  array('Default sort order for files', 'default_sort_order', 3, 'f=index.htm&amp;as=admin_thumbnail_default_sortorder&amp;ae=admin_thumbnail_default_sortorder_end'), //cpg1.4
+  array('Minimum number of votes for a file to appear in the \'top-rated\' list', 'min_votes_for_rating', 0, 'f=index.htm&amp;as=admin_thumbnail_minimum_votes&amp;ae=admin_thumbnail_minimum_votes_end'), //cpg1.4
+
+  'Image view', //cpg1.4
+  array('Width of the table for file display (pixels or %)', 'picture_table_width', 0, 'f=index.htm&amp;as=admin_image_comment_table-width&amp;ae=admin_image_comment_table-width_end'), //cpg1.4
+  array('File information is visible by default', 'display_pic_info', 1, 'f=index.htm&amp;as=admin_image_comment_info_visible&amp;ae=admin_image_comment_info_visible_end'), //cpg1.4
+  array('Max length for an image description', 'max_img_desc_length', 0, 'f=index.htm&amp;as=admin_image_comment_descr_length&amp;ae=admin_image_comment_descr_length_end'), //cpg1.4
+  array('Max number of characters in a word', 'max_com_wlength', 0, 'f=index.htm&amp;as=admin_image_comment_chars_per_word&amp;ae=admin_image_comment_chars_per_word_end'), //cpg1.4
+  array('Show film strip', 'display_film_strip', 1, 'f=index.htm&amp;as=admin_image_comment_filmstrip_toggle&amp;ae=admin_image_comment_filmstrip_toggle_end'), //cpg1.4
+  array('Display file name under film strip thumbnail', 'display_film_strip_filename', 1, 'f=index.htm&amp;as=admin_image_comment_display_film_strip_filename&amp;ae=admin_image_comment_display_film_strip_filename_end'), //cpg1.4
+  array('Number of items in film strip', 'max_film_strip_items', 0, 'f=index.htm&amp;as=admin_image_comment_filmstrip_number&amp;ae=admin_image_comment_filmstrip_number_end'), //cpg1.4
+  array('Slideshow interval in milliseconds (1 second = 1000 milliseconds)', 'slideshow_interval', 0, 'f=index.htm&amp;as=admin_image_comment_slideshow_interval&amp;ae=admin_image_comment_slideshow_interval_end'), //cpg1.4
+
+  'Comment settings', //cpg1.4
+  array('Filter bad words in comments', 'filter_bad_words', 1, 'f=index.htm&amp;as=admin_image_comment_bad_words&amp;ae=admin_image_comment_bad_words_end'), //cpg1.4
+  array('Allow smiles in comments', 'enable_smilies', 1, 'f=index.htm&amp;as=admin_image_comment_smilies&amp;ae=admin_image_comment_smilies_end'), //cpg1.4
+  array('Allow several consecutive comments on one file from the same user (disable flood protection)', 'disable_comment_flood_protect', 1, 'f=index.htm&amp;as=admin_image_comment_flood&amp;ae=admin_image_comment_flood_end'), //cpg1.4
+  array('Max number of lines in a comment', 'max_com_lines', 0, 'f=index.htm&amp;as=admin_image_comment_lines&amp;ae=admin_image_comment_lines_end'), //cpg1.4
+  array('Maximum length of a comment', 'max_com_size', 0, 'f=index.htm&amp;as=admin_image_comment_length&amp;ae=admin_image_comment_length_end'), //cpg1.4
+  array('Notify admin of comments by email', 'email_comment_notification', 1, 'f=index.htm&amp;as=admin_image_comment_admin_notify&amp;ae=admin_image_comment_admin_notify_end'), //cpg1.4
+  array('Sort order of comments', 'comments_sort_descending', 17, 'f=index.htm&amp;as=admin_comment_sort_start&amp;ae=admin_comment_sort_end'), //cpg1.4
+  array('Prefix for anonymous comments authors', 'comments_anon_pfx', 0, 'f=index.htm&amp;as=comments_anon_pfx&amp;ae=comments_anon_pfx_end'), //cpg1.4
+
+  'Files and thumbnails settings',
+  array('Quality for JPEG files', 'jpeg_qual', 0, 'f=index.htm&amp;as=admin_picture_thumbnail_jpeg_quality&amp;ae=admin_picture_thumbnail_jpeg_quality_end'), //cpg1.4
+  array('Max dimension of a thumbnail <a href="#notice2" class="clickable_option">**</a>', 'thumb_width', 0, 'f=index.htm&amp;as=admin_picture_thumbnail_max-dimension&amp;ae=admin_picture_thumbnail_max-dimension_end'), //cpg1.4
+  array('Use dimension ( width or height or Max aspect for thumbnail ) <a href="#notice2" class="clickable_option">**</a>', 'thumb_use', 7, 'f=index.htm&amp;as=admin_picture_thumbnail_use-dimension&amp;ae=admin_picture_thumbnail_use-dimension_end'), //cpg1.4
+  array('Create intermediate pictures','make_intermediate',1, 'f=index.htm&amp;as=admin_picture_thumbnail_intermediate_toggle&amp;ae=admin_picture_thumbnail_intermediate_toggle_end'), //cpg1.4
+  array('Max width or height of an intermediate picture/video <a href="#notice2" class="clickable_option">**</a>', 'picture_width', 0, 'f=index.htm&amp;as=admin_picture_thumbnail_intermediate_dimension&amp;ae=admin_picture_thumbnail_intermediate_dimension_end'), //cpg1.4
+  array('Max size for uploaded files (KB)', 'max_upl_size', 0, 'f=index.htm&amp;as=admin_picture_thumbnail_max_upload_size&amp;ae=admin_picture_thumbnail_max_upload_size_end'), //cpg1.4
+  array('Max width or height for uploaded pictures/videos (pixels)', 'max_upl_width_height', 0, 'f=index.htm&amp;as=admin_picture_thumbnail_max_upload_dimension&amp;ae=admin_picture_thumbnail_max_upload_dimension_end'), //cpg1.4
+  array('Auto resize images that are larger than max width or height', 'auto_resize', 16, 'f=index.htm&amp;as=admin_picture_thumbnail_auto-resize&amp;ae=admin_picture_thumbnail_auto-resize_end'), //cpg1.4
+
+  'Files and thumbnails advanced settings',
+  array('Albums can be private (Note: if you switch from \'yes\' to \'no\' any current private albums will become public)', 'allow_private_albums', 1, 'f=index.htm&amp;as=admin_picture_thumb_advanced_private_toggle&amp;ae=admin_picture_thumb_advanced_private_toggle_end'), //cpg1.4
+  array('Show private album Icon to unlogged user','show_private',1, 'f=index.htm&amp;as=admin_picture_thumb_advanced_private_icon_show&amp;ae=admin_picture_thumb_advanced_private_icon_show_end'), //cpg1.4
+  array('Characters forbidden in filenames', 'forbiden_fname_char',0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_filename_forbidden_chars&amp;ae=admin_picture_thumb_advanced_filename_forbidden_chars_end'), //cpg1.4
+  //array('Accepted file extensions for uploaded pictures', 'allowed_file_extensions',0, 'f=index.htm&amp;as=&amp;ae=_end'), //cpg1.4
+  array('Allowed image types', 'allowed_img_types',0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_pic_extensions&amp;ae=admin_picture_thumb_advanced_pic_extensions_end'), //cpg1.4
+  array('Allowed movie types', 'allowed_mov_types',0, 'f=index.htm&amp;as=admin_thumbs_advanced_movie&amp;ae=admin_thumbs_advanced_movie_end'), //cpg1.4
+  array('Movie Playback Autostart', 'media_autostart',1, 'f=index.htm&amp;as=admin_movie_autoplay&amp;ae=admin_movie_autoplay_end'), //cpg1.4
+  array('Allowed audio types', 'allowed_snd_types',0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_audio_extensions&amp;ae=admin_picture_thumb_advanced_audio_extensions_end'), //cpg1.4
+  array('Allowed document types', 'allowed_doc_types',0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_doc_extensions&amp;ae=admin_picture_thumb_advanced_doc_extensions_end'), //cpg1.4
+  array('Method for resizing images','thumb_method',2, 'f=index.htm&amp;as=admin_picture_thumb_advanced_resize_method&amp;ae=admin_picture_thumb_advanced_resize_method_end'), //cpg1.4
+  array('Path to ImageMagick \'convert\' utility (example /usr/bin/X11/)', 'impath', 0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_im_path&amp;ae=admin_picture_thumb_advanced_im_path_end'), //cpg1.4
+  //array('Allowed image types (only valid for ImageMagick)', 'allowed_img_types',0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_allowed_imagetypes&amp;ae=admin_picture_thumb_advanced_allowed_imagetypes_end'), //cpg1.4
+  array('Command line options for ImageMagick', 'im_options', 0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_im_commandline&amp;ae=admin_picture_thumb_advanced_im_commandline_end'), //cpg1.4
+  array('Read EXIF data in JPEG files', 'read_exif_data', 13, 'f=index.htm&amp;as=admin_picture_thumb_advanced_exif&amp;ae=admin_picture_thumb_advanced_exif_end'), //cpg1.4
+  array('Read IPTC data in JPEG files', 'read_iptc_data', 1, 'f=index.htm&amp;as=admin_picture_thumb_advanced_iptc&amp;ae=admin_picture_thumb_advanced_iptc_end'), //cpg1.4
+  array('The album directory <a href="#notice1" class="clickable_option">*</a>', 'fullpath', 0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_albums_dir&amp;ae=admin_picture_thumb_advanced_albums_dir_end'), //cpg1.4
+  array('The directory for user files <a href="#notice1" class="clickable_option">*</a>', 'userpics', 0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_userpics_dir&amp;ae=admin_picture_thumb_advanced_userpics_dir_end'), //cpg1.4
+  array('The prefix for intermediate pictures <a href="#notice1" class="clickable_option">*</a>', 'normal_pfx', 0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_intermediate_prefix&amp;ae=admin_picture_thumb_advanced_intermediate_prefix_end'), //cpg1.4
+  array('The prefix for thumbnails <a href="#notice1" class="clickable_option">*</a>', 'thumb_pfx', 0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_thumbs_prefix&amp;ae=admin_picture_thumb_advanced_thumbs_prefix_end'), //cpg1.4
+  array('Default mode for directories', 'default_dir_mode', 0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_chmod_folder&amp;ae=admin_picture_thumb_advanced_chmod_folder_end'), //cpg1.4
+  array('Default mode for files', 'default_file_mode', 0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_chmod_files&amp;ae=admin_picture_thumb_advanced_chmod_files_end'), //cpg1.4
+
+  'User settings',
+  array('Allow new user registrations', 'allow_user_registration', 1, 'f=index.htm&amp;as=admin_allow_registration&amp;ae=admin_allow_registration_end'), //cpg1.4
+  array('Allow unlogged users (guest or anonymous) access', 'allow_unlogged_access', 1, 'f=index.htm&amp;as=admin_allow_unlogged_access&amp;ae=admin_allow_unlogged_access_end'), //cpg1.4
+  array('User registration requires email verification', 'reg_requires_valid_email', 1, 'f=index.htm&amp;as=admin_registration_verify&amp;ae=admin_registration_verify_end'), //cpg1.4
+  array('Notify admin of user registration by email', 'reg_notify_admin_email', 1, 'f=index.htm&amp;as=admin_registration_notify&amp;ae=admin_registration_notify_end'), //cpg1.4
+  array('Admin activation of registrations', 'admin_activation', 1, 'f=index.htm&amp;as=admin_activation&amp;ae=admin_activation_end'),  //cpg1.4
+  array('Allow two users to have the same email address', 'allow_duplicate_emails_addr', 1, 'f=index.htm&amp;as=admin_allow_duplicate_emails_addr&amp;ae=admin_allow_duplicate_emails_addr_end'), //cpg1.4
+  array('Notify admin of user upload awaiting approval', 'upl_notify_admin_email', 1, 'f=index.htm&amp;as=admin_approval_notify&amp;ae=admin_approval_notify_end'), //cpg1.4
+  array('Allow logged in users to view memberlist', 'allow_memberlist', 1, 'f=index.htm&amp;as=admin_user_memberlist&amp;ae=admin_user_memberlist_end'), //cpg1.4
+  array('Allow users to change their email address in profile', 'allow_email_change', 1, 'f=index.htm&amp;as=admin_user_allow_email_change&amp;ae=admin_user_allow_email_change_end'), //cpg1.4
+  array('Allow users to retain control over their pics in public galleries', 'users_can_edit_pics', 1, 'f=index.htm&amp;as=admin_user_editpics_public_start&amp;ae=admin_user_editpics_public_end'), //cpg1.4
+  array('Number of failed login attempts until temporary ban (to avoid brute force attacks)', 'login_threshold', 0, 'f=index.htm&amp;as=admin_user_login_start&amp;ae=admin_user_login_end'), //cpg1.4
+  array('Duration of a temporary ban after failed logins', 'login_expiry', 0, 'f=index.htm&amp;as=admin_user_login_start&amp;ae=admin_user_login_end'), //cpg1.4
+  array('Enable Report to Admin', 'report_post', 1, 'f=index.htm&amp;as=admin_user_enable_report&amp;ae=admin_user_enable_report_end'),  //cpg1.4
+
+// custom profile fields,  //cpg1.4
+  'Custom fields for user profile (leave blank if unused).
+  Use Profile 6 for long entries, such as biographies', //cpg1.4
+  array('Profile 1 name', 'user_profile1_name', 0, 'f=index.htm&amp;as=admin_custom&amp;ae=admin_custom_end'), //cpg1.4
+  array('Profile 2 name', 'user_profile2_name', 0), //cpg1.4
+  array('Profile 3 name', 'user_profile3_name', 0), //cpg1.4
+  array('Profile 4 name', 'user_profile4_name', 0), //cpg1.4
+  array('Profile 5 name', 'user_profile5_name', 0), //cpg1.4
+  array('Profile 6 name', 'user_profile6_name', 0), //cpg1.4
+
+  'Custom fields for image description (leave blank if unused)',
+  array('Field 1 name', 'user_field1_name', 0, 'f=index.htm&amp;as=admin_custom_image&amp;ae=admin_custom_image_end'), //cpg1.4
+  array('Field 2 name', 'user_field2_name', 0),
+  array('Field 3 name', 'user_field3_name', 0),
+  array('Field 4 name', 'user_field4_name', 0),
+
+  'Cookies settings',
+  array('Cookie name', 'cookie_name', 0, 'f=index.htm&amp;as=admin_cookie_name&amp;ae=admin_cookie_name_end'), //cpg1.4
+  array('Cookie path', 'cookie_path', 0, 'f=index.htm&amp;as=admin_cookie_path&amp;ae=admin_cookie_path_end'), //cpg1.4
+
+  'Email settings  (usually nothing has to be changed here; leave all fields blank when not sure)', //cpg1.4
+  array('SMTP Host (when left blank, sendmail will be used)', 'smtp_host', 0, 'f=index.htm&amp;as=admin_email&amp;ae=admin_email_end'), //cpg1.4
+  array('SMTP Username', 'smtp_username', 0), //cpg1.4
+  array('SMTP Password', 'smtp_password', 0), //cpg1.4
+
+  'Logging and statistics', //cpg1.4
+  array('Logging mode <a href="#notice3" class="clickable_option">***</a>', 'log_mode', 11, 'f=index.htm&amp;as=admin_logging_log_mode&amp;ae=admin_logging_log_mode_end'), //cpg1.4
+  array('Log ecards', 'log_ecards', 1, 'f=index.htm&amp;as=admin_general_log_ecards&amp;ae=admin_general_log_ecards_end'), //cpg1.4
+  array('Keep detailed vote statistics','vote_details',1, 'f=index.htm&amp;as=admin_logging_votedetails&amp;ae=admin_logging_votedetails_end'), //cpg1.4
+  array('Keep detailed hit statistics','hit_details',1, 'f=index.htm&amp;as=admin_logging_hitdetails&amp;ae=admin_logging_hitdetails_end'), //cpg1.4
+
+  'Maintenance settings', //cpg1.4
+  array('Enable debug mode', 'debug_mode', 9, 'f=index.htm&amp;as=debug_mode&amp;ae=debug_mode_end'), //cpg1.4
+  array('Display notices in debug mode', 'debug_notice', 1, 'f=index.htm&amp;as=admin_misc_debug_notices&amp;ae=admin_misc_debug_notices_end'), //cpg1.4
+  array('Gallery is offline', 'offline', 1, 'f=index.htm&amp;as=admin_general_offline&amp;ae=admin_general_offline_end'), //cpg1.4
+);
+
+
+// ------------------------------------------------------------------------- //
+// File db_ecard.php
+// ------------------------------------------------------------------------- //
+
+if (defined('DB_ECARD_PHP')) $lang_db_ecard_php = array(
+  'title' => 'Sent ecards',
+  'ecard_sender' => 'Sender',
+  'ecard_recipient' => 'Recipient',
+  'ecard_date' => 'Date',
+  'ecard_display' => 'Display ecard',
+  'ecard_name' => 'Name',
+  'ecard_email' => 'Email',
+  'ecard_ip' => 'IP #',
+  'ecard_ascending' => 'ascending',
+  'ecard_descending' => 'descending',
+  'ecard_sorted' => 'Sorted',
+  'ecard_by_date' => 'by date',
+  'ecard_by_sender_name' => 'by sender\'s name',
+  'ecard_by_sender_email' => 'by sender\'s email',
+  'ecard_by_sender_ip' => 'by sender\'s IP address',
+  'ecard_by_recipient_name' => 'by recipient\'s name',
+  'ecard_by_recipient_email' => 'by recipient\'s email',
+  'ecard_number' => 'displaying record %s to %s of %s',
+  'ecard_goto_page' => 'go to page',
+  'ecard_records_per_page' => 'Records per page',
+  'check_all' => 'Check All',
+  'uncheck_all' => 'Uncheck All',
+  'ecards_delete_selected' => 'Delete selected ecards',
+  'ecards_delete_confirm' => 'Are you sure you want to delete the records? Tick the checkbox!',
+  'ecards_delete_sure' => 'I\'m sure',
+);
+
+
+// ------------------------------------------------------------------------- //
+// File db_input.php
+// ------------------------------------------------------------------------- //
+
+if (defined('DB_INPUT_PHP')) $lang_db_input_php = array(
+  'empty_name_or_com' => 'You need to type your name and a comment',
+  'com_added' => 'Your comment was added',
+  'alb_need_title' => 'You have to provide a title for the album !',
+  'no_udp_needed' => 'No update needed.',
+  'alb_updated' => 'The album was updated',
+  'unknown_album' => 'Selected album does not exist or you don\'t have permission to upload in this album',
+  'no_pic_uploaded' => 'No file was uploaded !<br /><br />If you have really selected a file to upload, check that the server allows file uploads...',
+  'err_mkdir' => 'Failed to create directory %s !',
+  'dest_dir_ro' => 'Destination directory %s is not writable by the script !',
+  'err_move' => 'Impossible to move %s to %s !',
+  'err_fsize_too_large' => 'The size of file you have uploaded is too large (maximum allowed is %s x %s) !', //obsolete since cpg1.3 - consider removal in cpg1.4 once upload.php has been overhauled
+  'err_imgsize_too_large' => 'The size of the file you have uploaded is too large (maximum allowed is %s KB) !', //obsolete since cpg1.3 - consider removal in cpg1.4 once upload.php has been overhauled
+  'err_invalid_img' => 'The file you have uploaded is not a valid image !',
+  'allowed_img_types' => 'You can only upload %s images.',
+  'err_insert_pic' => 'The file \'%s\' can\'t be inserted in the album ',
+  'upload_success' => 'Your file was uploaded successfully.<br /><br />It will be visible after admin approval.',
+  'notify_admin_email_subject' => '%s - Upload notification',
+  'notify_admin_email_body' => 'A picture has been uploaded by %s that needs your approval. Visit %s',
+  'info' => 'Information',
+  'com_added' => 'Comment added',
+  'alb_updated' => 'Album updated',
+  'err_comment_empty' => 'Your comment is empty !',
+  'err_invalid_fext' => 'Only files with the following extensions are accepted : <br /><br />%s.',
+  'no_flood' => 'Sorry but you are already the author of the last comment posted for this file<br /><br />Edit the comment you have posted if you want to modify it',
+  'redirect_msg' => 'You are being redirected.<br /><br /><br />Click \'CONTINUE\' if the page does not refresh automatically',
+  'upl_success' => 'Your file was successfully added',
+  'email_comment_subject' => 'Comment posted on Coppermine Photo Gallery',
+  'email_comment_body' => 'Someone has posted a comment on your gallery. See it at',
+  'album_not_selected' => 'Album not selected', //cpg1.4
+  'com_author_error' => 'A registered user is using this nickname, login or use another one', //cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File delete.php
+// ------------------------------------------------------------------------- //
+
+if (defined('DELETE_PHP')) $lang_delete_php = array(
+  'caption' => 'Caption',
+  'fs_pic' => 'full size image',
+  'del_success' => 'successfully deleted',
+  'ns_pic' => 'normal size image',
+  'err_del' => 'can\'t be deleted',
+  'thumb_pic' => 'thumbnail',
+  'comment' => 'comment',
+  'im_in_alb' => 'image in album',
+  'alb_del_success' => 'Album &laquo;%s&raquo; deleted', //cpg1.4
+  'alb_mgr' => 'Album Manager',
+  'err_invalid_data' => 'Invalid data received in \'%s\'',
+  'create_alb' => 'A criar o álbum \'%s\'',
+  'update_alb' => 'Actualizando o álbum \'%s\' com o título \'%s\' e índice \'%s\'',
+  'del_pic' => 'Apagar ficheiro',
+  'del_alb' => 'Apagar álbum',
+  'del_user' => 'Apagar utilizador',
+  'err_unknown_user' => 'The selected user does not exist !',
+  'err_empty_groups' => 'There\'s no group table, or the group table is empty!', //cpg1.4
+  'comment_deleted' => 'Comment was succesfully deleted',
+  'npic' => 'Picture', //cpg1.4
+  'pic_mgr' => 'Picture Manager', //cpg1.4
+  'update_pic' => 'Updating picture \'%s\' with filename \'%s\' and index \'%s\'', //cpg1.4
+  'username' => 'utilizador', //cpg1.4
+  'anonymized_comments' => '%s comment(s) anonymized', //cpg1.4
+  'anonymized_uploads' => '%s public upload(s) anonymized', //cpg1.4
+  'deleted_comments' => '%s comment(s) deleted', //cpg1.4
+  'deleted_uploads' => '%s public upload(s) deleted', //cpg1.4
+  'user_deleted' => 'user %s deleted', //cpg1.4
+  'activate_user' => 'Activate user', //cpg1.4
+  'user_already_active' => 'Account has already been active', //cpg1.4
+  'activated' => 'Activated', //cpg1.4
+  'deactivate_user' => 'Deactivate user', //cpg1.4
+  'user_already_inactive' => 'Account has already been inactive', //cpg1.4
+  'deactivated' => 'Deactivated', //cpg1.4
+  'reset_password' => 'Reset password(s)', //cpg1.4
+  'password_reset' => 'Password reset to %s', //cpg1.4
+  'change_group' => 'Change primary group', //cpg1.4
+  'change_group_to_group' => 'Changing from %s to %s', //cpg1.4
+  'add_group' => 'Add secondary group', //cpg1.4
+  'add_group_to_group' => 'Adding user %s to group %s. He\'s now member of %s as primary and of %s as secondary membergroup(s).', //cpg1.4
+  'status' => 'Status', //cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File displayecard.php
+// ------------------------------------------------------------------------- //
+
+if (defined('DISPLAYECARD_PHP')) {
+
+$lang_displayecard_php = array(
+  'invalid_data' => 'Os dados de acesso ao conteúdo do Ecard foram corrompidos pelo seu programa de email! Verifique se o link está completo!', //cpg1.4
+);
+}
+
+// ------------------------------------------------------------------------- //
+// File displayimage.php
+// ------------------------------------------------------------------------- //
+
+if (defined('DISPLAYIMAGE_PHP')){
+
+$lang_display_image_php = array(
+  'confirm_del' => 'Are you sure you want to DELETE this file ? \\nComments will also be deleted.', //js-alert
+  'del_pic' => 'DELETE THIS FILE',
+  'size' => '%s x %s pixels',
+  'views' => '%s times',
+  'slideshow' => 'Slideshow',
+  'stop_slideshow' => 'STOP SLIDESHOW',
+  'view_fs' => 'Click to view full size image',
+  'edit_pic' => 'Edit file information', //cpg1.4
+  'crop_pic' => 'Crop and Rotate',
+  'set_player' => 'Change player',
+);
+
+$lang_picinfo = array(
+  'title' =>'File information',
+  'Filename' => 'Filename',
+  'Album name' => 'Album name',
+  'Rating' => 'Rating (%s votes)',
+  'Keywords' => 'Keywords',
+  'File Size' => 'File Size',
+  'Date Added' => 'Date added', //cpg1.4
+  'Dimensions' => 'Dimensions',
+  'Displayed' => 'Displayed',
+  'URL' => 'URL', //cpg1.4
+  'Make' => 'Make', //cpg1.4
+  'Model' => 'Model', //cpg1.4
+  'DateTime' => 'Date Time', //cpg1.4
+  'ISOSpeedRatings'=>'ISO', //cpg1.4
+  'MaxApertureValue' => 'Max Aperture', //cpg1.4
+  'FocalLength' => 'Focal length', //cpg1.4
+  'Comment' => 'Comment',
+  'addFav'=>'Add to Favorites',
+  'addFavPhrase'=>'Favorites',
+  'remFav'=>'Remove from Favorites',
+  'iptcTitle'=>'IPTC Title',
+  'iptcCopyright'=>'IPTC Copyright',
+  'iptcKeywords'=>'IPTC Keywords',
+  'iptcCategory'=>'IPTC Category',
+  'iptcSubCategories'=>'IPTC Sub Categories',
+  'ColorSpace' => 'Color Space', //cpg1.4
+  'ExposureProgram' => 'Exposure Program', //cpg1.4
+  'Flash' => 'Flash', //cpg1.4
+  'MeteringMode' => 'Metering Mode', //cpg1.4
+  'ExposureTime' => 'Exposure Time', //cpg1.4
+  'ExposureBiasValue' => 'Exposure Bias', //cpg1.4
+  'ImageDescription' => ' Image Description', //cpg1.4
+  'Orientation' => 'Orientation', //cpg1.4
+  'xResolution' => 'X Resolution', //cpg1.4
+  'yResolution' => 'Y Resolution', //cpg1.4
+  'ResolutionUnit' => 'Resolution Unit', //cpg1.4
+  'Software' => 'Software', //cpg1.4
+  'YCbCrPositioning' => 'YCbCrPositioning', //cpg1.4
+  'ExifOffset' => 'Exif Offset', //cpg1.4
+  'IFD1Offset' => 'IFD1 Offset', //cpg1.4
+  'FNumber' => 'FNumber', //cpg1.4
+  'ExifVersion' => 'Exif Version', //cpg1.4
+  'DateTimeOriginal' => 'DateTime Original', //cpg1.4
+  'DateTimedigitized' => 'DateTime digitized', //cpg1.4
+  'ComponentsConfiguration' => 'Components Configuration', //cpg1.4
+  'CompressedBitsPerPixel' => 'Compressed Bits Per Pixel', //cpg1.4
+  'LightSource' => 'Light Source', //cpg1.4
+  'ISOSetting' => 'ISO Setting', //cpg1.4
+  'ColorMode' => 'Color Mode', //cpg1.4
+  'Quality' => 'Quality', //cpg1.4
+  'ImageSharpening' => 'Image Sharpening', //cpg1.4
+  'FocusMode' => 'Focus Mode', //cpg1.4
+  'FlashSetting' => 'Flash Setting', //cpg1.4
+  'ISOSelection' => 'ISO Selection', //cpg1.4
+  'ImageAdjustment' => 'Image Adjustment', //cpg1.4
+  'Adapter' => 'Adapter', //cpg1.4
+  'ManualFocusDistance' => 'Manual Focus Distance', //cpg1.4
+  'DigitalZoom' => 'Digital Zoom', //cpg1.4
+  'AFFocusPosition' => 'AF Focus Position', //cpg1.4
+  'Saturation' => 'Saturation', //cpg1.4
+  'NoiseReduction' => 'Noise Reduction', //cpg1.4
+  'FlashPixVersion' => 'Flash Pix Version', //cpg1.4
+  'ExifImageWidth' => 'Exif Image Width', //cpg1.4
+  'ExifImageHeight' => 'Exif Image Height', //cpg1.4
+  'ExifInteroperabilityOffset' => 'Exif Interoperability Offset', //cpg1.4
+  'FileSource' => 'File Source', //cpg1.4
+  'SceneType' => 'Scene Type', //cpg1.4
+  'CustomerRender' => 'Customer Render', //cpg1.4
+  'ExposureMode' => 'Exposure Mode', //cpg1.4
+  'WhiteBalance' => 'White Balance', //cpg1.4
+  'DigitalZoomRatio' => 'Digital Zoom Ratio', //cpg1.4
+  'SceneCaptureMode' => 'Scene Capture Mode', //cpg1.4
+  'GainControl' => 'Gain Control', //cpg1.4
+  'Contrast' => 'Contrast', //cpg1.4
+  'Sharpness' => 'Sharpness', //cpg1.4
+  'ManageExifDisplay' => 'Manage Exif Display', //cpg1.4
+  'submit' => 'Submit', //cpg1.4
+  'success' => 'Information updated successfully.', //cpg1.4
+  'details' => 'Details', //cpg1.4
+);
+
+$lang_display_comments = array(
+  'OK' => 'OK',
+  'edit_title' => 'Edit this comment',
+  'confirm_delete' => 'Are you sure you want to delete this comment ?', //js-alert
+  'add_your_comment' => 'Add your comment',
+  'name'=>'Name',
+  'comment'=>'Comment',
+  'your_name' => 'Anon',
+  'report_comment_title' => 'Report this comment to the administrator', //cpg1.4
+);
+
+$lang_fullsize_popup = array(
+  'click_to_close' => 'Click image to close this window',
+);
+
+}
+
+// ------------------------------------------------------------------------- //
+// File ecard.php
+// ------------------------------------------------------------------------- //
+
+if (defined('ECARDS_PHP') || defined('DISPLAYECARD_PHP')) $lang_ecard_php =array(
+  'title' => 'Send an e-card',
+  'invalid_email' => '<font color="red"><b>Warning</b></font>: invalid email address:', //cpg1.4
+  'ecard_title' => 'An e-card from %s for you',
+  'error_not_image' => 'Only images can be sent as an ecard.',
+  'view_ecard' => 'Alternate link if the e-card does not display correctly', //cpg1.4
+  'view_ecard_plaintext' => 'To view the ecard, copy and paste this url into your browser\'s address bar:', //cpg1.4
+  'view_more_pics' => 'View more pictures !', //cpg1.4
+  'send_success' => 'Your ecard was sent',
+  'send_failed' => 'Sorry but the server can\'t send your e-card...',
+  'from' => 'From',
+  'your_name' => 'Your name',
+  'your_email' => 'Your email address',
+  'to' => 'To',
+  'rcpt_name' => 'Recipient name',
+  'rcpt_email' => 'Recipient email address',
+  'greetings' => 'Heading', //cpg1.4
+  'message' => 'Message', //cpg1.4
+  'ecards_footer' => 'Sent by %s from IP %s at %s (Gallery time)', //cpg1.4
+  'preview' => 'Preview of the ecard', //cpg1.4
+  'preview_button' => 'Preview', //cpg1.4
+  'submit_button' => 'Send ecard', //cpg1.4
+  'preview_view_ecard' => 'This will be the alternate link to the ecard once it gets generated. It won\'t work for previews.', //cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File report_file.php //cpg1.4
+// ------------------------------------------------------------------------- //
+
+if (defined('REPORT_FILE_PHP') || defined('DISPLAYREPORT_PHP')) $lang_report_php =array(
+  'title' => 'Report to administrator', //cpg1.4
+  'invalid_email' => '<b>Warning</b> : invalid email address !', //cpg1.4
+  'report_subject' => 'A report from %s on a gallery %s', //cpg1.4
+  'view_report' => 'Alternate link if the report does not display correctly', //cpg1.4
+  'view_report_plaintext' => 'To view the report, copy and paste this url into your browser\'s address bar:', //cpg1.4
+  'view_more_pics' => 'Gallery', //cpg1.4
+  'send_success' => 'Your report was sent', //cpg1.4
+  'send_failed' => 'Sorry but the server can\'t send your report...', //cpg1.4
+  'from' => 'From', //cpg1.4
+  'your_name' => 'Your name', //cpg1.4
+  'your_email' => 'Your email address', //cpg1.4
+  'to' => 'To', //cpg1.4
+  'administrator' => 'Administrator/Mod', //cpg1.4
+  'subject' => 'Subject', //cpg1.4
+  'comment_field_name' => 'Reporting on Comment by "%s"', //cpg1.4
+  'reason' => 'Reason', //cpg1.4
+  'message' => 'Message', //cpg1.4
+  'report_footer' => 'Sent by %s from IP %s at %s (Gallery time)', //cpg1.4
+  'obscene' => 'obscene', //cpg1.4
+  'offensive' => 'offensive', //cpg1.4
+  'misplaced' => 'off-topic/misplaced', //cpg1.4
+  'missing' => 'missing', //cpg1.4
+  'issue' => 'error/cannot view', //cpg1.4
+  'other' => 'other', //cpg1.4
+  'refers_to' => 'File report refers to', //cpg1.4
+  'reasons_list_heading' => 'reason(s) for report:', //cpg1.4
+  'no_reason_given' => 'no reason was given', //cpg1.4
+  'go_comment' => 'Go to comment', //cpg1.4
+  'view_comment' => 'View full report with comment', //cpg1.4
+  'type_file' => 'file', //cpg1.4
+  'type_comment' => 'comment', //cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File editpics.php
+// ------------------------------------------------------------------------- //
+
+if (defined('EDITPICS_PHP')) $lang_editpics_php = array(
+  'pic_info' => 'File info',
+  'album' => 'Album',
+  'title' => 'Title',
+  'filename' => 'Filename', //cpg1.4
+  'desc' => 'Description',
+  'keywords' => 'Keywords',
+  'new_keyword' => 'New keyword', //cpg1.4
+  'new_keywords' => 'New keywords found', //cpg1.4
+  'existing_keyword' => 'Existing keyword', //cpg1.4
+  'pic_info_str' => '%s &times; %s - %s KB - %s views - %s votes',
+  'approve' => 'Approve file',
+  'postpone_app' => 'Postpone approval',
+  'del_pic' => 'Delete file',
+  'del_all' => 'Delete ALL files', //cpg1.4
+  'read_exif' => 'Read EXIF info again',
+  'reset_view_count' => 'Reset view counter',
+  'reset_all_view_count' => 'Reset ALL view counters', //cpg1.4
+  'reset_votes' => 'Reset votes',
+  'reset_all_votes' => 'Reset ALL votes', //cpg1.4
+  'del_comm' => 'Delete comments',
+  'del_all_comm' => 'Delete ALL comments', //cpg1.4
+  'upl_approval' => 'Upload approval', //cpg1.4
+  'edit_pics' => 'Edit files',
+  'see_next' => 'See next files',
+  'see_prev' => 'See previous files',
+  'n_pic' => '%s files',
+  'n_of_pic_to_disp' => 'Number of files to display',
+  'apply' => 'Apply modifications',
+  'crop_title' => 'Coppermine Picture Editor',
+  'preview' => 'Preview',
+  'save' => 'Save picture',
+  'save_thumb' =>'Save as thumbnail',
+  'gallery_icon' => 'Make this my icon', //cpg1.4
+  'sel_on_img' =>'The selection has to be entirely on the image!', //js-alert
+  'album_properties' =>'Album properties', //cpg1.4
+  'parent_category' =>'Parent category', //cpg1.4
+  'thumbnail_view' =>'Thumbnail view', //cpg1.4
+  'select_unselect' =>'select/unselect all', //cpg1.4
+  'file_exists' => "Destination file '%s' already exists.", //cpg1.4
+  'rename_failed' => "Failed to rename '%s' to '%s'.", //cpg1.4
+  'src_file_missing' => "Source file '%s' is missing.", // cpg 1.4
+  'mime_conv' => "Cannot convert file from '%s' to '%s'",//cpg1.4
+  'forb_ext' => 'Forbidden file extension.',//cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File faq.php
+// ------------------------------------------------------------------------- //
+
+if (defined('FAQ_PHP')) $lang_faq_php = array(
+  'faq' => 'Frequently Asked Questions',
+  'toc' => 'Table of contents',
+  'question' => 'Question: ',
+  'answer' => 'Answer: ',
+);
+
+if (defined('FAQ_PHP')) $lang_faq_data = array(
+  'General FAQ',
+  array('Why do I need to register?', 'Registration may or may not be required by the administrator. Registration gives a member additional features such as uploading, having a favorite list, rating pictures and posting comments etc.', 'allow_user_registration', '1'),
+  array('How do I register?', 'Go to &quot;Register&quot; and fill out the required fields (and the optional ones if you want to).<br />If the Administrator has Email Activation enabled, then after submitting your information you should recieve an email message at the address that you have submitted while registering, giving you instructions on how to activate your membership. Your membership must be activated in order for you to login.', 'allow_user_registration', '1'), //cpg1.4
+  array('How Do I login?', 'Go to &quot;Login&quot;, submit your username and password and check &quot;Remember Me&quot; so you will be logged in on the site if you should leave it.<br /><b>IMPORTANT:Cookies must be enabled and the cookie from this site must not be deleted in order to use &quot;Remember Me&quot;.</b>', 'offline', 0),
+  array('Why can I not login?', 'Did you register and click the link that was sent to you via email?. The link will activate your account. For other login problems contact the site administrator.', 'offline', 0),
+  array('What if I forgot my password?', 'If this site has a &quot;Forgot password&quot; link then use it. Other than that contact the site administrator for a new password.', 'offline', 0),
+  //array('What if I changed my email address?', 'Just simply login and change your email address through &quot;Profile&quot;', 'offline', 0),
+  array('How do I save a picture to &quot;My Favorites&quot;?', 'Click on a picture and click on the &quot;picture info&quot; link (<img src="images/info.gif" width="16" height="16" border="0" alt="Picture information" />); scroll down to the picture information set and click &quot;Add to fav&quot;.<br />The administrator may have the &quot;picture information&quot; on by default.<br />IMPORTANT:Cookies must be enabled and the cookie from this site must not be deleted.', 'offline', 0),
+  array('How do I rate a file?', 'Click on a thumbnail and go to the bottom and choose a rating.', 'offline', 0),
+  array('How do I post a comment for a picture?', 'Click on a thumbnail and go to the bottom and post a comment.', 'offline', 0),
+  array('How do I upload a file?', 'Go to &quot;Upload&quot;and select the album that you want to upload to. Click &quot;Browse,&quot; find the file to upload, and click &quot;open.&quot; Add a title and description if you want. Click &quot;Submit&quot;.<br /><br />Alternatively, for those users using <b>Windows XP</b>, you can upload multiple files directly to your own private albums using the XP Publishing wizard.<br />For instructions on how, and to get the required registry file, click <a href="xp_publish.php">here.</a>', 'allow_private_albums', 1), //cpg1.4
+  array('Where do I upload a picture to?', 'You will be able to upload a file to one of your albums in &quot;My Gallery&quot;. The Administrator may also allow you to upload a file to one or more of the albums in the Main Gallery.', 'allow_private_albums', 0),
+  array('What type and size of a file can I upload?', 'The size and type (jpg, png, etc.) is up to the administrator.', 'offline', 0),
+  array('How do I create, rename or delete an album in &quot;My Gallery&quot;?', 'You should already be in &quot;Admin-Mode&quot;<br />Go to &quot;Create/Order My Albums&quot;and click &quot;New&quot;. Change &quot;New Album&quot; to your desired name.<br />You can also rename any of the albums in your gallery.<br />Click &quot;Apply Modifications&quot;.', 'allow_private_albums', 0),
+  array('How can I modify and restrict users from viewing my albums?', 'You should already be in &quot;Admin Mode&quot;<br />Go to &quot;Modify My Albums. On the &quot;Update Album&quot; bar, select the album that you want to modify.<br />Here, you can change the name, description, thumbnail picture, restrict viewing and comment/rating permissions.<br />Click &quot;Update Album&quot;.', 'allow_private_albums', 0),
+  array('How can I view other users\' galleries?', 'Go to &quot;Album List&quot; and select &quot;User Galleries&quot;.', 'allow_private_albums', 0),
+  array('What are cookies?', 'Cookies are a plain text piece of data that is sent from a website and is put on to your computer.<br />Cookies usually allow a user to leave and return to the site without having to login again and other various chores.', 'offline', 0),
+  array('Where can I get this program for my site?', 'Coppermine is a free Multimedia Gallery, released under GNU GPL. It is full of features and has been ported to various platforms. Visit the <a href="http://coppermine-gallery.net/">Coppermine Home Page</a> to find out more or download it.', 'offline', 0),
+
+  'Navigating the Site',
+  array('What\'s &quot;Album List&quot;?', 'This will show you the entire category you are currently in, with a link to each album. If you are not in a category, it will show you the entire gallery with a link to each category. Thumbnails may be a link to the category.', 'offline', 0),
+  array('What\'s &quot;My Gallery&quot;?', 'This feature lets users create their own galleries and add, delete or modify albums as well as upload to them.', 'allow_private_albums', 1), //cpg1.4
+  array('What\'s the difference between &quot;Admin Mode&quot; and &quot;User Mode&quot;?', 'This feature, when in admin-mode, allows a user to modify their gallery (as well as others if allowed by the administrator).', 'allow_private_albums', 0),
+  array('What\'s &quot;Upload Picture&quot;?', 'This feature allows a user to upload a file (size and type is set by the site administrator) to a gallery selected by either you or the administrator.', 'allow_private_albums', 0),
+  array('What\'s &quot;Last Uploads&quot;?', 'This feature shows the last uploads to the site.', 'offline', 0),
+  array('What\'s &quot;Last Comments&quot;?', 'This feature shows the last comments along with the files posted by users.', 'offline', 0),
+  array('What\'s &quot;Most Viewed&quot;?', 'This feature shows the most viewed files by all users (whether logged in or not).', 'offline', 0),
+  array('What\'s &quot;Top Rated&quot;?', 'This feature shows the top rated files rated by the users, showing the average rating (e.g: five users each gave a <img src="images/rating3.gif" width="65" height="14" border="0" alt="" />: the file would have an average rating of <img src="images/rating3.gif" width="65" height="14" border="0" alt="" /> ;Five users rated the file from 1 to 5 (1,2,3,4,5) would result in an average <img src="images/rating3.gif" width="65" height="14" border="0" alt="" /> .)<br />The ratings go from <img src="images/rating5.gif" width="65" height="14" border="0" alt="best" /> (best) to <img src="images/rating0.gif" width="65" height="14" border="0" alt="worst" /> (worst).', 'offline', 0),
+  array('What\'s &quot;My Favorites&quot;?', 'This feature will let a user store a favorite file in the cookie that was sent to your computer.', 'offline', 0),
+);
+
+
+// ------------------------------------------------------------------------- //
+// File forgot_passwd.php
+// ------------------------------------------------------------------------- //
+
+if (defined('FORGOT_PASSWD_PHP')) $lang_forgot_passwd_php = array(
+  'forgot_passwd' => 'Password reminder',
+  'err_already_logged_in' => 'You are already logged in !',
+  'enter_email' => 'Enter your email address', //cpg1.4
+  'submit' => 'go',
+  'illegal_session' => 'Forgot password session invalid or has expired.', //cpg1.4
+  'failed_sending_email' => 'The password reminder email can\'t be sent !',
+  'email_sent' => 'An email with your username and new password was sent to %s', //cpg1.4
+  'verify_email_sent' => 'An email has been sent to %s. Please check your email to complete the process.', //cpg1.4
+  'err_unk_user' => 'Selected user does not exist!',
+  'account_verify_subject' => '%s - New password request', //cpg1.4
+  'account_verify_body' => 'You have requested to a new password. If you would like to proceed with having a new password sent to you, click on the following link:
+
+%s', //cpg1.4
+  'passwd_reset_subject' => '%s - Your New Password', //cpg1.4
+  'passwd_reset_body' => 'Here is the new password you requested:
+Username: %s
+Password: %s
+Click %s to log in.', //cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File groupmgr.php
+// ------------------------------------------------------------------------- //
+
+if (defined('GROUPMGR_PHP')) $lang_groupmgr_php = array(
+  'group_name' => 'Grupo', //cpg1.4
+  'permissions' => 'Previlégios', //cpg1.4
+  'public_albums' => 'Adicionar ficheiros em álbuns públicos', //cpg1.4
+  'personal_gallery' => 'Galeria pessoal', //cpg1.4
+  'upload_method' => 'método de envio', //cpg1.4
+  'disk_quota' => 'Quota', //cpg1.4
+  'rating' => 'Avaliar', //cpg1.4
+  'ecards' => 'Ecards', //cpg1.4
+  'comments' => 'Comentar', //cpg1.4
+  'allowed' => 'Permitido', //cpg1.4
+  'approval' => 'Aprovação', //cpg1.4
+  'boxes_number' => 'No. de caixas', //cpg1.4
+  'variable' => 'variável', //cpg1.4
+  'fixed' => 'fixo', //cpg1.4
+  'apply' => 'Aplicar modificações',
+  'create_new_group' => 'Criar novo grupo',
+  'del_groups' => 'Apagar grupo(s) selecionado(s)',
+  'confirm_del' => 'Aviso: Quando apaga um grupo, os seus utilizadores são transferidos para o grupo \'Registados\' !\n\nDeseja continuar ?', //js-alert
+  'title' => 'Administração grupo de utilizadores',
+  'num_file_upload' => 'Caixas de envio de ficheiros', //cpg1.4
+  'num_URI_upload' => 'Caixas de envio URI', //cpg1.4
+  'reset_to_default' => 'Restabelece o nome por defeito (%s) - recomendado!', //cpg1.4
+  'error_group_empty' => 'A tabela de grupos estava vazia !<br /><br />Foram criados os grupos por defeito, por favor recarregue esta página', //cpg1.4
+  'explain_greyed_out_title' => 'Porque está esta fila a cizento(desactivada)?', //cpg1.4
+  'explain_guests_greyed_out_text' => 'Não pode alterar as propriedades deste grupo porque activou a opção &quot; Permitir acesso a utilizadores não validados(convidados ou anónimos)&quot; para &quot;No&quot; na página de configuração. Os convidados (membros do grupo %s) não têm outro previlégio senão o de se validar(iniciar sessão); Então as definições de grupo não são aplicáveis a estes utilizadores.', //cpg1.4
+  'explain_banned_greyed_out_text' => 'Não pode alterar as propriedades do grupo %s porque de qualquer forma, os seus membros não podem fazer nada.', //cpg1.4
+  'group_assigned_album' => 'álbun(s) atribuidos', //cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File index.php
+// ------------------------------------------------------------------------- //
+
+if (defined('INDEX_PHP')){
+
+$lang_index_php = array(
+  'welcome' => 'Seja Bem Vindo !',
+);
+
+$lang_album_admin_menu = array(
+  'confirm_delete' => 'Tem certeza que deseja APAGAR este álbum ? \\nTodas as imagens e comentários serão também apagados.', //js-alert
+  'delete' => 'APAGAR',
+  'modify' => 'PROPRIEDADES',
+  'edit_pics' => 'EDITAR',
+);
+
+$lang_list_categories = array(
+  'home' => 'Início',
+  'stat1' => '<b>[pictures]</b> imagens em <b>[albums]</b> álbuns e <b>[cat]</b> categorias com <b>[comments]</b> comentários visualizado <b>[views]</b> vezes',
+  'stat2' => '<b>[pictures]</b> imagens em <b>[albums]</b> álbuns visualizados <b>[views]</b> vezes',
+  'xx_s_gallery' => 'Galeria de %s',
+  'stat3' => '<b>[pictures]</b> imagens em <b>[albums]</b> álbuns com <b>[comments]</b> comentários visualizados <b>[views]</b> vezes',
+);
+
+$lang_list_users = array(
+  'user_list' => 'Lista de Utilizadores',
+  'no_user_gal' => 'Não existem Utilizadores com Galeria',
+  'n_albums' => '%s álbun(s)',
+  'n_pics' => '%s imagem(s)',
+);
+
+$lang_list_albums = array(
+  'n_pictures' => '%s imagens',
+  'last_added' => ', última adicionada %s',
+  'n_link_pictures' => '%s imagens ligadas', //cpg1.4
+  'total_pictures' => '%s total de imagens', //cpg1.4
+);
+
+}
+
+// ------------------------------------------------------------------------- //
+// File keywordmgr.php //cpg1.4
+// ------------------------------------------------------------------------- //
+
+if (defined('KEYWORDMGR_PHP')) $lang_keywordmgr_php = array(
+  'title' => 'Manage keywords', //cpg1.4
+  'edit' => 'edit', //cpg1.4
+  'delete' => 'delete', //cpg1.4
+  'search' => 'search', //cpg1.4
+  'keyword_test_search' => 'search for %s in new window', //cpg1.4
+  'keyword_del' => 'delete the keyword %s', //cpg1.4
+  'confirm_delete' => 'Are you sure you want to delete the keyword %s from the whole gallery?', //cpg1.4  // js-alert
+  'change_keyword' => 'change keyword', //cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File login.php
+// ------------------------------------------------------------------------- //
+
+if (defined('LOGIN_PHP')) $lang_login_php = array(
+  'login' => 'Login',
+  'enter_login_pswd' => 'Insira nome de utilizador e senha para entrar',
+  'username' => 'Utilizador',
+  'password' => 'Senha',
+  'remember_me' => 'Gravar Senha',
+  'welcome' => 'Seja Bem Vindo(a) %s ...',
+  'err_login' => '*** Não foi possivel validar. Tente novamente ***',
+  'err_already_logged_in' => 'Já se encontra validado !',
+  'forgot_password_link' => 'Esqueci-me da senha',
+  'cookie_warning' => 'AVISO: O seu browser não aceita scripts (cookies)', //cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File logout.php
+// ------------------------------------------------------------------------- //
+
+if (defined('LOGOUT_PHP')) $lang_logout_php = array(
+  'logout' => 'Logout',
+  'bye' => 'Volte sempre %s ...',
+  'err_not_loged_in' => 'Não se encontra validado !',
+);
+
+// ------------------------------------------------------------------------- //
+// File minibrowser.php  //cpg1.4
+// ------------------------------------------------------------------------- //
+
+if (defined('MINIBROWSER_PHP')) $lang_minibrowser_php = array(
+  'close' => 'close', //cpg1.4
+  'submit' => 'OK', //cpg1.4
+  'up' => 'up one level', //cpg1.4
+  'current_path' => 'current path', //cpg1.4
+  'select_directory' => 'please select a directory', //cpg1.4
+  'click_to_close' => 'Click image to close this window',
+);
+
+// ------------------------------------------------------------------------- //
+// File modifyalb.php
+// ------------------------------------------------------------------------- //
+
+if (defined('MODIFYALB_PHP')) $lang_modifyalb_php = array(
+  'upd_alb_n' => 'Actualizar álbum %s',
+  'general_settings' => 'Definições Gerais',
+  'alb_title' => 'Título do álbum',
+  'alb_cat' => 'Categoria do álbum',
+  'alb_desc' => 'Descrição do álbum',
+  'alb_keyword' => 'Palavra chave do álbum', //cpg1.4
+  'alb_thumb' => 'Miniatura do Álbum',
+  'alb_perm' => 'Permissões para este álbum',
+  'can_view' => 'O álbum pode ser visualizado por',
+  'can_upload' => 'Visitantes podem enviar imagens',
+  'can_post_comments' => 'Visitantes podem deixar comentários',
+  'can_rate' => 'visitantes podem classificar imagens',
+  'user_gal' => 'Galeria do Utilizador',
+  'no_cat' => '* Sem categoria *',
+  'alb_empty' => 'O álbum está vazio',
+  'last_uploaded' => 'Última enviada',
+  'public_alb' => 'Todos (álbum público)',
+  'me_only' => 'Apenas eu',
+  'owner_only' => 'Apenas o dono do álbum (%s)',
+  'groupp_only' => 'Membros do grupo \'%s\'',
+  'err_no_alb_to_modify' => 'Não existe álbum na base de dados que possa modificar.',
+  'update' => 'Actualizar álbum',
+  'reset_album' => 'Restabelecer álbum', //cpg1.4
+  'reset_views' => 'Restabelecer contador de visualizações a &quot;0&quot; em %s', //cpg1.4
+  'reset_rating' => 'Restabelecer classificações de todas as imagens em %s', //cpg1.4
+  'delete_comments' => 'Apagar todos os comentários deixados em %s', //cpg1.4
+  'delete_files' => 'Apagar %sIrreversivelmente%s todas as imagens em %s', //cpg1.4
+  'views' => 'visualizaçoes', //cpg1.4
+  'votes' => 'votos', //cpg1.4
+  'comments' => 'comentários', //cpg1.4
+  'files' => 'ficheiros', //cpg1.4
+  'submit_reset' => 'submeter alterações', //cpg1.4
+  'reset_views_confirm' => 'Tenho a certeza', //cpg1.4
+  'notice1' => '(*) dependente da configuração dos %sgrupos%s',  //cpg1.4 //(do not translate %s!)
+  'alb_password' => 'Senha do álbum', //cpg1.4
+  'alb_password_hint' => 'Pista para senha do álbum', //cpg1.4
+  'edit_files' =>'Edição de ficheiros', //cpg1.4
+  'parent_category' =>'Categoria mãe', //cpg1.4
+  'thumbnail_view' =>'Vista de miniatura', //cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File phpinfo.php
+// ------------------------------------------------------------------------- //
+
+if (defined('PHPINFO_PHP')) $lang_phpinfo_php = array(
+  'php_info' => 'PHP info',
+  'explanation' => 'This is the output generated by the PHP-function <a href="http://www.php.net/phpinfo">phpinfo()</a>, displayed within Coppermine (trimming the output at the right side).',
+  'no_link' => 'Having others see your phpinfo can be a security risk, that\'s why this page is only visible when you\'re logged in as admin. You can not post a link to this page for others, they will be denied access.',
+);
+
+// ------------------------------------------------------------------------- //
+// File picmgr.php //cpg1.4
+// ------------------------------------------------------------------------- //
+if (defined('PICMGR_PHP')) $lang_picmgr_php = array(
+  'pic_mgr' => 'Gestor de Imagens', //cpg1.4
+  'select_album' => 'Selecione Álbum', //cpg1.4
+  'delete' => 'Apagar', //cpg1.4
+  'confirm_delete1' => 'Tem a certeza de que quer apagar esta imagem ?', //cpg1.4
+  'confirm_delete2' => '\nA imagem será permanentemente apagada.', //cpg1.4
+  'apply_modifs' => 'Aplicar modificações', //cpg1.4
+  'confirm_modifs' => 'Confirmar modificações', //cpg1.4
+  'pic_need_name' => 'A imagem necessita de ter um nome !', //cpg1.4
+  'no_change' => 'Não fez qualquer alteração !', //cpg1.4
+  'no_album' => '* Nenhum álbum *', //cpg1.4
+  'explanation_header' => 'A ordem personalizada que você pode especificar nesta página só será levada em conta se', //cpg1.4
+  'explanation1' => 'o administrador selecionou na "Ordem de ficheiros por defeito" na configuração o valor "Posição descendente" ou "Posição ascendente" (configuração global para todos os utilizadores sem definições pessoais)', //cpg1.4
+  'explanation2' => 'o utilizador definiu "Posição descendente" ou "Posição ascendente" na página de miniaturas (configuração por utilizador)', //cpg1.4
+);
+
+
+// ------------------------------------------------------------------------- //
+// File pluginmgr.php //cpg1.4
+// ------------------------------------------------------------------------- //
+
+if (defined('PLUGINMGR_PHP')){
+
+$lang_pluginmgr_php = array(
+  'confirm_uninstall' => 'Are you sure you want to UNINSTALL this plugin', //cpg1.4
+  'confirm_delete' => 'Are you sure you want to DELETE this plugin', //cpg1.4
+  'pmgr' => 'Plugin Manager', //cpg1.4
+  'name' => 'Name', //cpg1.4
+  'author' => 'Author', //cpg1.4
+  'desc' => 'Description', //cpg1.4
+  'vers' => 'v', //cpg1.4
+  'i_plugins' => 'Installed Plugins', //cpg1.4
+  'n_plugins' => 'Plugins Not installed', //cpg1.4
+  'none_installed' => 'None Installed', //cpg1.4
+  'operation' => 'Operation', //cpg1.4
+  'not_plugin_package' => 'The file uploaded is not a plugin package.', //cpg1.4
+  'copy_error' => 'There was an error copying the package to the plugins folder.', //cpg1.4
+  'upload' => 'Upload', //cpg1.4
+  'configure_plugin' => 'Configure plugin', //cpg1.4
+  'cleanup_plugin' => 'Cleanup plugin', //cpg1.4
+);
+}
+
+// ------------------------------------------------------------------------- //
+// File ratepic.php
+// ------------------------------------------------------------------------- //
+
+if (defined('RATEPIC_PHP')) $lang_rate_pic_php = array(
+  'already_rated' => 'Sorry but you have already rated this file',
+  'rate_ok' => 'Your vote was accepted',
+  'forbidden' => 'You can not rate your own files.',
+);
+
+// ------------------------------------------------------------------------- //
+// File register.php & profile.php
+// ------------------------------------------------------------------------- //
+
+if (defined('REGISTER_PHP') || defined('PROFILE_PHP')) {
+
+$lang_register_disclamer = <<<EOT
+While the administrators of {SITE_NAME} will attempt to remove or edit any generally objectionable material as quickly as possible, it is impossible to review every post. Therefore you acknowledge that all posts made to this site express the views and opinions of the author and not the administrators or webmaster (except for posts by these people) and hence will not be held liable.<br />
+<br />
+You agree not to post any abusive, obscene, vulgar, slanderous, hateful, threatening, sexually-orientated or any other material that may violate any applicable laws. You agree that the webmaster, administrator and moderators of {SITE_NAME} have the right to remove or edit any content at any time should they see fit. As a user you agree to any information you have entered above being stored in a database. While this information will not be disclosed to any third party without your consent the webmaster and administrator cannot be held responsible for any hacking attempt that may lead to the data being compromised.<br />
+<br />
+This site uses cookies to store information on your local computer. These cookies serve only to improve your viewing pleasure. The email address is used only for confirming your registration details and password.<br />
+<br />
+By clicking 'I agree' below you agree to be bound by these conditions.
+EOT;
+
+$lang_register_php = array(
+  'page_title' => 'User registration',
+  'term_cond' => 'Terms and conditions',
+  'i_agree' => 'I agree',
+  'submit' => 'Submit registration',
+  'err_user_exists' => 'The username you have entered already exist, please choose a different one',
+  'err_password_mismatch' => 'The two passwords does not match, please input them again',
+  'err_uname_short' => 'Username must be 2 characters long minimum',
+  'err_password_short' => 'Password must be 2 characters long minimum',
+  'err_uname_pass_diff' => 'Username and password must be different',
+  'err_invalid_email' => 'Email address is invalid',
+  'err_duplicate_email' => 'Another user has already registered with the email address you entered',
+  'enter_info' => 'Input registration information',
+  'required_info' => 'Required information',
+  'optional_info' => 'Optional information',
+  'username' => 'Username',
+  'password' => 'Password',
+  'password_again' => 'Re-enter password',
+  'email' => 'Email',
+  'location' => 'Location',
+  'interests' => 'Interests',
+  'website' => 'Home page',
+  'occupation' => 'Occupation',
+  'error' => 'ERROR',
+  'confirm_email_subject' => '%s - Registration confirmation',
+  'information' => 'Information',
+  'failed_sending_email' => 'The registration confirmation email can\'t be send !',
+  'thank_you' => 'Thank you for registering.<br /><br />An email with information on how to activate your account was sent to the email address you provided.',
+  'acct_created' => 'Your account has been created and you can now login with your username and password',
+  'acct_active' => 'Your account is now active and you can login with your username and password',
+  'acct_already_act' => 'Account is already active!', //cpg1.4
+  'acct_act_failed' => 'This account can\'t be activated !',
+  'err_unk_user' => 'Selected user does not exist !',
+  'x_s_profile' => '%s\'s profile',
+  'group' => 'Group',
+  'reg_date' => 'Joined',
+  'disk_usage' => 'Disk usage',
+  'change_pass' => 'Change password',
+  'current_pass' => 'Current password',
+  'new_pass' => 'New password',
+  'new_pass_again' => 'New password again',
+  'err_curr_pass' => 'Current password is incorrect',
+  'apply_modif' => 'Apply modifications',
+  'change_pass' => 'Change my password',
+  'update_success' => 'Your profile was updated',
+  'pass_chg_success' => 'Your password was changed',
+  'pass_chg_error' => 'Your password was not changed',
+  'notify_admin_email_subject' => '%s - Registration notification',
+  'last_uploads' => 'Last uploaded file.<br />Click to see all uploads by', //cpg1.4
+  'last_comments' => 'Last comment.<br />Click to see all comments made by', //cpg1.4
+  'notify_admin_email_body' => 'A new user with the username "%s" has registered in your gallery',
+  'pic_count' => 'Files uploaded', //cpg1.4
+  'notify_admin_request_email_subject' => '%s - Registration request', //cpg1.4
+  'thank_you_admin_activation' => 'Thank you.<br /><br />Your request for account activation was sent to the admin. You will receive an email if approved.', //cpg1.4
+  'acct_active_admin_activation' => 'The account is now active and an email has been sent to the user.', //cpg1.4
+  'notify_user_email_subject' => '%s - Activation notification', //cpg1.4
+);
+
+$lang_register_confirm_email = <<<EOT
+Thank you for registering at {SITE_NAME}
+
+In order to activate your account with username "{USER_NAME}", you need to click on the link below or copy and paste it in your web browser.
+
+<a href="{ACT_LINK}">{ACT_LINK}</a>
+
+Regards,
+
+The management of {SITE_NAME}
+
+EOT;
+
+$lang_register_approve_email = <<<EOT
+A new user with the username "{USER_NAME}" has registered in your gallery.
+
+In order to activate the account, you need to click on the link below or copy and paste it in your web browser.
+
+<a href="{ACT_LINK}">{ACT_LINK}</a>
+
+EOT;
+
+$lang_register_activated_email = <<<EOT
+Your account has been approved and activated.
+
+You can now log in at <a href="{SITE_LINK}">{SITE_LINK}</a> using the username "{USER_NAME}"
+
+
+Regards,
+
+The management of {SITE_NAME}
+
+EOT;
+}
+
+// ------------------------------------------------------------------------- //
+// File reviewcom.php
+// ------------------------------------------------------------------------- //
+
+if (defined('REVIEWCOM_PHP')) $lang_reviewcom_php = array(
+  'title' => 'Examinar comentários',
+  'no_comment' => 'Não existem comentários para examinar',
+  'n_comm_del' => '%s comentários(s) apagado(s)',
+  'n_comm_disp' => 'Número de comentários a exibir',
+  'see_prev' => 'Ver anterior',
+  'see_next' => 'Ver próximo',
+  'del_comm' => 'Apagar comentários selecionados',
+  'user_name' => 'Nome', //cpg1.4
+  'date' => 'Data', //cpg1.4
+  'comment' => 'Comentário', //cpg1.4
+  'file' => 'Ficheiro', //cpg1.4
+  'name_a' => 'nome utilizador ascendente', //cpg1.4
+  'name_d' => 'nome utilizador descendente', //cpg1.4
+  'date_a' => 'Data ascendente', //cpg1.4
+  'date_d' => 'Data descendente', //cpg1.4
+  'comment_a' => 'Comentário ascendente', //cpg1.4
+  'comment_d' => 'Comentário descendente', //cpg1.4
+  'file_a' => 'Ficheiro ascendente', //cpg1.4
+  'file_d' => 'Ficheiro descendente', //cpg1.4
+);
+
+
+// ------------------------------------------------------------------------- //
+// File search.php                                                           //
+// ------------------------------------------------------------------------- //
+
+
+if (defined('SEARCH_PHP')){
+
+$lang_search_php = array(
+  'title' => 'Pesquisar toda a Galeria', //cpg1.4
+  'submit_search' => 'pesquisa', //cpg1.4
+  'keyword_list_title' => 'Lista de palavras chave', //cpg1.4
+  'keyword_msg' => 'Esta lista não é inclusiva. Não inclui palavras de títulos de imagens ou descrições. Tente pequisar usando frases completas.',  //cpg1.4
+  'edit_keywords' => 'Editar palavras chave', //cpg1.4
+  'search in' => 'Pesquisar em:', //cpg1.4
+  'ip_address' => 'Endereço IP', //cpg1.4
+  'fields' => 'Pesquisar por', //cpg1.4
+  'age' => 'Idade', //cpg1.4
+  'newer_than' => 'Mais nova que', //cpg1.4
+  'older_than' => 'Mais antiga que', //cpg1.4
+  'days' => 'days', //cpg1.4
+  'all_words' => 'Combina todas palavras (AND)', //cpg1.4
+  'any_words' => 'Combina qualquer palavra (OR)', //cpg1.4
+);
+
+$lang_adv_opts = array(
+  'title' => 'Título', //cpg1.4
+  'caption' => 'Legenda', //cpg1.4
+  'keywords' => 'Palavra chave', //cpg1.4
+  'owner_name' => 'Nome do proprietário', //cpg1.4
+  'filename' => 'Nome do ficheiro', //cpg1.4
+);
+
+}
+
+// ------------------------------------------------------------------------- //
+// File searchnew.php
+// ------------------------------------------------------------------------- //
+
+if (defined('SEARCHNEW_PHP')) $lang_search_new_php = array(
+  'page_title' => 'Search new files',
+  'select_dir' => 'Select directory',
+  'select_dir_msg' => 'This function allows you to add a batch of files that your have uploaded to your server by FTP.<br /><br />Select the directory where you have uploaded your files.', //cpg1.4
+  'no_pic_to_add' => 'There is no file to add',
+  'need_one_album' => 'You need at least one album to use this function',
+  'warning' => 'Warning',
+  'change_perm' => 'the script can\'t write in this directory, you need to change its mode to 755 or 777 before trying to add the files !',
+  'target_album' => '<b>Put files of &quot;</b>%s<b>&quot; into </b>%s',
+  'folder' => 'Folder',
+  'image' => 'file',
+  'album' => 'Album',
+  'result' => 'Result',
+  'dir_ro' => 'Not writable. ',
+  'dir_cant_read' => 'Not readable. ',
+  'insert' => 'Adding new files to the gallery',
+  'list_new_pic' => 'List of new files',
+  'insert_selected' => 'Insert selected files',
+  'no_pic_found' => 'No new file was found',
+  'be_patient' => 'Please be patient, the script needs time to add the files',
+  'no_album' => 'no album selected',
+  'result_icon' => 'click for details or to reload',  //cpg1.4
+  'notes' =>  '<ul>'.
+                          '<li><b>OK</b> : means that the file was succesfully added'.
+                          '<li><b>DP</b> : means that the file is a duplicate and is already in the database'.
+                          '<li><b>PB</b> : means that the file could not be added, check your configuration and the permission of directories where the files are located'.
+                          '<li><b>NA</b> : means that you haven\'t selected an album the files should go to, hit \'<a href="javascript:history.back(1)">back</a>\' and select an album. If you don\'t have an album <a href="albmgr.php">create one first</a></li>'.
+                          '<li>If the OK, DP, PB \'signs\' does not appear click on the broken file to see any error message produced by PHP'.
+                          '<li>If your browser timeouts, hit the reload button'.
+                          '</ul>',
+  'select_album' => 'select album',
+  'check_all' => 'Check All',
+  'uncheck_all' => 'Uncheck All',
+  'no_folders' => 'There are no folders inside the "albums" folder yet. Make sure to create at least one custom folder within "albums" folder and ftp-upload your files there. You mustn\'t upload to the "userpics" nor "edit" folders, they are reserved for http uploads and internal purposes.', //cpg1.4
+   'albums_no_category' => 'Albums with no category', //cpg1.4 // album pulldown mod, added by frogfoot
+  'personal_albums' => '* Personal albums', //cpg1.4 // album pulldown mod, added by frogfoot
+  'browse_batch_add' => 'Browsable interface (recommended)', //cpg1.4
+  'edit_pics' => 'Edit files', //cpg1.4
+  'edit_properties' => 'Album properties', //cpg1.4
+  'view_thumbs' => 'Thumbnail view', //cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File stat_details.php //cpg1.4
+// ------------------------------------------------------------------------- //
+
+if (defined('STAT_DETAILS_PHP')) $lang_stat_details_php = array(
+  'show_hide' => 'show/hide this column', //cpg1.4
+  'vote' => 'Vote Details', //cpg1.4
+  'hits' => 'Hit Details', //cpg1.4
+  'stats' => 'Vote Statistics', //cpg1.4
+  'sdate' => 'Date', //cpg1.4
+  'rating' => 'Rating', //cpg1.4
+  'search_phrase' => 'Search phrase', //cpg1.4
+  'referer' => 'Referer', //cpg1.4
+  'browser' => 'Browser', //cpg1.4
+  'os' => 'Operating System', //cpg1.4
+  'ip' => 'IP', //cpg1.4
+  'sort_by_xxx' => 'Sort by %s', //cpg1.4
+  'ascending' => 'ascending', //cpg1.4
+  'descending' => 'descending', //cpg1.4
+  'internal' => 'int', //cpg1.4
+  'close' => 'close', //cpg1.4
+  'hide_internal_referers' => 'hide internal referers', //cpg1.4
+  'date_display' => 'Date display', //cpg1.4
+  'submit' => 'submit / refresh', //cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File thumbnails.php
+// ------------------------------------------------------------------------- //
+
+// Void
+
+// ------------------------------------------------------------------------- //
+// File upload.php
+// ------------------------------------------------------------------------- //
+
+if (defined('UPLOAD_PHP')) $lang_upload_php = array(
+  'title' => 'Enviar Imagens',
+  'custom_title' => 'Pedido de formulário personalizado',
+  'cust_instr_1' => 'Pode selecionar um número de caixas de envio personalizado, porém não pode excedr os limites abaixo listados.',
+  'cust_instr_2' => 'Box Number Requests',
+  'cust_instr_3' => 'File upload boxes: %s',
+  'cust_instr_4' => 'URI/URL upload boxes: %s',
+  'cust_instr_5' => 'URI/URL upload boxes:',
+  'cust_instr_6' => 'File upload boxes:',
+  'cust_instr_7' => 'Please enter the number of each type of upload box you desire at this time.  Then click \'Continue\'. ',
+  'reg_instr_1' => 'Invalid action for form creation.',
+  'reg_instr_2' => 'Now you may upload your files using the upload boxes below. The size of files uploaded from your client to the server should not exceed %s KB each. ZIP files uploaded in the \'File Upload\' and \'URI/URL Upload\' sections will remain compressed.',
+  'reg_instr_3' => 'If you want the zipped file or archive to be decompressed, you must use the file upload box provided in the \'Decompressive ZIP Upload\' area.',
+  'reg_instr_4' => 'When using the URI/URL upload section, please enter the path to the file like so: http://www.mysite.com/images/example.jpg',
+  'reg_instr_5' => 'When you have completed the form, please click \'Continue\'.',
+  'reg_instr_6' => 'Decompressive ZIP Uploads:',
+  'reg_instr_7' => 'File Uploads:',
+  'reg_instr_8' => 'URI/URL Uploads:',
+  'error_report' => 'Error Report',
+  'error_instr' => 'The following uploads encountered errors:',
+  'file_name_url' => 'File Name/URL',
+  'error_message' => 'Error Message',
+  'no_post' => 'File not uploaded by POST.',
+  'forb_ext' => 'Forbidden file extension.',
+  'exc_php_ini' => 'Exceeded filesize allowed in php.ini.',
+  'exc_file_size' => 'Exceeded filesize permitted by CPG.',
+  'partial_upload' => 'Only a partial upload.',
+  'no_upload' => 'No upload occurred.',
+  'unknown_code' => 'Unknown PHP upload error code.',
+  'no_temp_name' => 'No upload - No temp name.',
+  'no_file_size' => 'Contains no data/Corrupted',
+  'impossible' => 'Impossible to move.',
+  'not_image' => 'Not an image/corrupt',
+  'not_GD' => 'Not a GD extension.',
+  'pixel_allowance' => 'The height and or width of the uploaded picture is more than that allowed by the gallery config.', //cpg1.4
+  'incorrect_prefix' => 'Incorrect URI/URL prefix',
+  'could_not_open_URI' => 'Could not open URI.',
+  'unsafe_URI' => 'Safety not verifiable.',
+  'meta_data_failure' => 'Meta data failure',
+  'http_401' => '401 Unauthorized',
+  'http_402' => '402 Payment Required',
+  'http_403' => '403 Forbidden',
+  'http_404' => '404 Not Found',
+  'http_500' => '500 Internal Server Error',
+  'http_503' => '503 Service Unavailable',
+  'MIME_extraction_failure' => 'MIME could not be determined.',
+  'MIME_type_unknown' => 'Unknown MIME type',
+  'cant_create_write' => 'Cannot create write file.',
+  'not_writable' => 'Cannot write to write file.',
+  'cant_read_URI' => 'Cannot read URI/URL',
+  'cant_open_write_file' => 'Cannot open URI write file.',
+  'cant_write_write_file' => 'Cannot write to URI write file.',
+  'cant_unzip' => 'Cannot unzip.',
+  'unknown' => 'Unknown error',
+  'succ' => 'Successful Uploads',
+  'success' => '%s uploads were successful.',
+  'add' => 'Please click \'Continue\' to add the files to albums.',
+  'failure' => 'Upload Failure',
+  'f_info' => 'File Information',
+  'no_place' => 'The previous file could not be placed.',
+  'yes_place' => 'The previous file was placed successfully.',
+  'max_fsize' => 'Maximum allowed file size is %s KB',
+  'album' => 'Album',
+  'picture' => 'File',
+  'pic_title' => 'File title',
+  'description' => 'File description',
+  'keywords' => 'Keywords (separate with spaces)<br /><a href="#" onClick="return MM_openBrWindow(\'keyword_select.php\',\'selectKey\',\'width=250, height=400, scrollbars=yes,toolbar=no,status=yes,resizable=yes\')">Insert from list</a>', //cpg1.4
+  'keywords_sel' =>'Select a Keyword', //cpg1.4
+  'err_no_alb_uploadables' => 'Sorry there is no album where you are allowed to upload files',
+  'place_instr_1' => 'Please place the files in albums at this time.  You may also enter relevant information about each file now.',
+  'place_instr_2' => 'More files need placement. Please click \'Continue\'.',
+  'process_complete' => 'You have successfully placed all the files.',
+   'albums_no_category' => 'Albums with no category', //cpg1.4. //album pulldown mod, added by frogfoot
+  'personal_albums' => '* Personal albums', //cpg1.4 //album pulldown mod, added by frogfoot
+  'select_album' => 'Select album', //cpg1.4 //album pulldown mod, added by frogfoot
+  'close' => 'Close', //cpg1.4
+  'no_keywords' => 'Sorry, no keywords available!', //cpg1.4
+  'regenerate_dictionary' => 'Regenerate Dictionary', //cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File usermgr.php
+// ------------------------------------------------------------------------- //
+
+if (defined('USERMGR_PHP')) $lang_usermgr_php = array(
+  'memberlist' => 'Lista de membros', //cpg1.4
+  'user_manager' => 'Gestor de Utilizadores', //cpg1.4
+  'title' => 'Gerir utilizadores',
+  'name_a' => 'Nome Ascendente',
+  'name_d' => 'Nome Descendente',
+  'group_a' => 'Grupo Ascendente',
+  'group_d' => 'Grupo Descendente',
+  'reg_a' => 'Data de reg. Ascendente',
+  'reg_d' => 'Data de reg. Descendente',
+  'pic_a' => 'Contagem de imag. ascendente',
+  'pic_d' => 'Contagem de imag. descendente',
+  'disku_a' => 'Uso de disco ascendente',
+  'disku_d' => 'Uso de disco descendente',
+  'lv_a' => 'Última visita Ascendente',
+  'lv_d' => 'Última visita Descendente',
+  'sort_by' => 'Listar utilizadores por',
+  'err_no_users' => 'A Tabela de utilizadores está vazia !',
+  'err_edit_self' => 'Não pode alterar seu dados \'pessoais\', use o 
+link \'Os meus dados\' para isso',
+  'edit' => 'Editar', //cpg1.4
+  'with_selected' => 'Com seleção:', //cpg1.4
+  'delete' => 'Apagar', //cpg1.4
+  'delete_files_no' => 'manter imagens públicas (mas como anónimo)', //cpg1.4
+  'delete_files_yes' => 'apagar também imagens públicas', //cpg1.4
+  'delete_comments_no' => 'mantém comentários (mas como anónimo)', //cpg1.4
+  'delete_comments_yes' => 'apagar também comentários', //cpg1.4
+  'activate' => 'Activar', //cpg1.4
+  'deactivate' => 'Desactivar', //cpg1.4
+  'reset_password' => 'Redefinir Senha', //cpg1.4
+  'change_primary_membergroup' => 'Alterar o grupo de membro primário', //cpg1.4
+  'add_secondary_membergroup' => 'Adicionar um grupo de membros secundário', //cpg1.4
+  'name' => 'Nome de utilizador',
+  'group' => 'Grupo',
+  'inactive' => 'Inactivo',
+  'operations' => 'Operações',
+  'pictures' => 'Imagens',
+  'disk_space_used' => 'Espaço usado', //cpg1.4
+  'disk_space_quota' => 'Quota de disco', //cpg1.4
+  'registered_on' => 'Registo', //cpg1.4
+  'last_visit' => 'Última visita',
+  'u_user_on_p_pages' => '%d utilizadores em %d pagina(s)',
+  'confirm_del' => 'Tem a certeza de que deseja APAGAR este utilizador ? \\nTodas as suas imagens e álbuns serão também apagados.', //js-alert
+  'mail' => 'CORREIO',
+  'err_unknown_user' => 'O utilizador seleccionado não existe !',
+  'modify_user' => 'Modificar utilizador',
+  'notes' => 'Notas',
+  'note_list' => '<li>se não deseja modificar a presente Senha, deixe o campo "Senha" em branco',
+  'password' => 'Senha',
+  'user_active' => 'Utilizador está activo',
+  'user_group' => 'Grupo do utilizador',
+  'user_email' => 'Email do utilizador',
+  'user_web_site' => 'Web site do utilizador',
+  'create_new_user' => 'Criar novo utilizador',
+  'user_location' => 'Local do utilizador',
+  'user_interests' => 'Interesses do utilizador',
+  'user_occupation' => 'Ocupação do utilizador',
+  'user_profile1' => '$user_profile1', //cpg1.4
+  'user_profile2' => '$user_profile2', //cpg1.4
+  'user_profile3' => '$user_profile3', //cpg1.4
+  'user_profile4' => '$user_profile4', //cpg1.4
+  'user_profile5' => '$user_profile5', //cpg1.4
+  'user_profile6' => '$user_profile6', //cpg1.4
+  'latest_upload' => 'Envios Recentes',
+  'never' => 'nunca',
+  'search' => 'Pesquisa de utilizadores', //cpg1.4
+  'submit' => 'Submeter', //cpg1.4
+  'search_submit' => 'OK!', //cpg1.4
+  'search_result' => 'Pesquisa resultados para: ', //cpg1.4
+  'alert_no_selection' => 'Tem de seleccionar primeiro, pelo menos um utilizador!', //cpg1.4 //js-alert
+  'password' => 'senha', //cpg1.4
+  'select_group' => 'Selecione grupo', //cpg1.4
+  'groups_alb_access' => 'Permissões de álbum por grupo', //cpg1.4
+  'album' => 'Álbum', //cpg1.4
+  'category' => 'Categoria', //cpg1.4
+  'modify' => 'Modifica?', //cpg1.4
+  'group_no_access' => 'Este grupo não tem acesso especial', //cpg1.4
+  'notice' => 'Notificação', //cpg1.4
+  'group_can_access' => 'Álbun(s) que apenas "%s" pode aceder', //cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File util.php
+// ------------------------------------------------------------------------- //
+
+if (defined('UTIL_PHP')) {
+$lang_util_desc_php = array(
+'Actualiza títulos do ficheiro', //cpg1.4
+'Apaga títulos', //cpg1.4
+'Reconstroi miniaturas e fotos redimensionadas', //cpg1.4
+'Apaga fotos com o seu tamanho original substituindo-as com a versão redimensionada', //cpg1.4
+'Apaga fotos com dimensões originais ou intermediarias para libertar espaço no disco do servidor', //cpg1.4
+'Apaga comentários órfãos', //cpg1.4
+'Relê tamanho e dimensões de imagens (se as editou manualmente)', //cpg1.4
+'Restabelece o contador de visualizações', //cpg1.4
+'Exibe phpinfo', //cpg1.4
+'Actualiza a Base de Dados', //cpg1.4
+'Exibe o diário de bordo', //cpg1.4
+);
+$lang_util_php = array(
+  'title' => 'Ferramentas de Administração (Redimensionar imagens)',
+  'what_it_does' => 'As suas funções',
+  'file' => 'Ficheiro',
+  'problem' => 'Problema', //cpg1.4
+  'status' => 'Estado', //cpg1.4
+  'title_set_to' => 'titulo a dar',
+  'submit_form' => 'submeter',
+  'updated_succesfully' => 'actualização com êxito',
+  'error_create' => 'ERRO criando',
+  'continue' => 'Processar mais imagens',
+  'main_success' => 'O ficheiro %s foi usado como ficheiro principal com êxito',
+  'error_rename' => 'Erro ao renomear %s para %s',
+  'error_not_found' => 'O ficheiro %s não foi encontrado',
+  'back' => 'regressar ao inicio',
+  'thumbs_wait' => 'Actualizando miniaturas e/ou imagens redimensionadas, por favor espere...',
+  'thumbs_continue_wait' => 'A continuar a actualização de miniaturas e/ou imagens redimensionadas...',
+  'titles_wait' => 'Actualizando titulos, por favor espere...',
+  'delete_wait' => 'Apagando titulos, por favor espere...',
+  'replace_wait' => 'Apagando originais e substituindo-as pelas imagens redimensionadas, por favor espere...',
+  'instruction' => 'Instruções rápidas',
+  'instruction_action' => 'Selecione a acção',
+  'instruction_parameter' => 'Eleja parâmeteros',
+  'instruction_album' => 'Escolha o álbum',
+  'instruction_press' => 'pressione %s',
+  'update' => 'Actualiza miniaturas e/ou fotos redimensionadas',
+  'update_what' => 'O que deve ser actualizado',
+  'update_thumb' => 'Apenas miniaturas',
+  'update_pic' => 'Apenas imagens redimensionadas',
+  'update_both' => 'Miniaturas e imagens redimensionadas',
+  'update_number' => 'Número de imagens processadas por cada click',
+  'update_option' => '(Tente fixar esta opção com um número mais baixo se tiver problemas de timeout)',
+  'filename_title' => 'Nome do ficheiro &rArr; Titulo do ficheiro',
+  'filename_how' => 'Como deve o nome do ficheiro ser modificado',
+  'filename_remove' => 'Remova o .jpg do final e substitua _ (underscore) com espaços',
+  'filename_euro' => 'Altere 2003_11_23_13_20_20.jpg para 23/11/2003 13:20',
+  'filename_us' => 'Altere 2003_11_23_13_20_20.jpg para 11/23/2003 13:20',
+  'filename_time' => 'Altere 2003_11_23_13_20_20.jpg para 13:20',
+  'delete' => 'Apagar títulos de ficheiros ou imagens de tamanho original',
+  'delete_title' => 'Apagar títulos de ficheiros',
+  'delete_title_explanation' => 'Remove todos os títulos das imagens no álbum que especificar.', //cpg1.4
+  'delete_original' => 'Apagar as fotos com o tamanho original',
+  'delete_original_explanation' => 'Elimina o tamanho original das imagens.', //cpg1.4
+  'delete_intermediate' => 'Apagar imagens intermediarias', //cpg1.4
+  'delete_intermediate_explanation' => 'Apaga as imagens intermediarias (normais).<br />Use para libertar espaço em disco, se desactivou \'Criar imagens intermediarias\' no CONFIG, após ter adicionado imagens.', //cpg1.4
+  'delete_replace' => 'Apagar imagens originais substituindo-as pelas versões redimensionadas',
+  'titles_deleted' => 'Todos os títulos no álbum especificado foram removidos', //cpg1.4
+  'deleting_intermediates' => 'A apagar imagens intermediarias, por favor espere...', //cpg1.4
+  'searching_orphans' => 'A pesquisar por órfãos, por vafor espere...', //cpg1.4
+  'select_album' => 'Seleccione o álbum',
+  'delete_orphans' => 'Apagar comentários de imagens inexistentes', //cpg1.4
+  'delete_orphans_explanation' => 'Procura e permite que apague comentários associados a imagens inexistentes na galeria.<br />Procura todos os álbuns.', //cpg1.4
+  'refresh_db' => 'Relê as dimensões e tamanho das imagens', //cpg1.4
+  'refresh_db_explanation' => 'Isto fará a releitura das dimensões e tamanho das imagens. Use se as quotas estão incorrectas, ou se alterou as imagens manualmente.', //cpg1.4
+  'reset_views' => 'Restabelecer os contadores de visualizações', //cpg1.4
+  'reset_views_explanation' => 'Estabelece o número da contagem de visualizações para zero no álbum especificado.', //cpg1.4
+  'orphan_comment' => 'comentários órfãos encontrados',
+  'delete' => 'Apagar',
+  'delete_all' => 'Apagar tudo',
+  'delete_all_orphans' => 'Apagar todos os órfãos?', //cpg1.4
+  'comment' => 'Comentário: ',
+  'nonexist' => 'ligado ao ficheiro não existente # ',
+  'phpinfo' => 'Exibe phpinfo',
+  'phpinfo_explanation' => 'Contém informção técnica sobre o seu servidor.<br /> - Pode-lhe ser pedida informação daqui ao pedir ajuda.', //cpg1.4
+  'update_db' => 'Actualizar Base de Dados',
+  'update_db_explanation' => 'Se substituiu ficheiros do Coppermine, adicionou modificações ou actualizou uma versão antiga do Coppermine, certifique-se de correr a actualização da base de dados uma vez. Isto criará as tabelas necessárias e/ou valores configurativos na sua base de dados Coppermine.',
+  'view_log' => 'Ver diário de bordo', //cpg1.4
+  'view_log_explanation' => 'O Coppermine pode seguir as várias acções dos utilizadores.Pode visualizar estes registos se activou o diário de bordo na <a href="admin.php">configuração do coppermine</a>.', //cpg1.4
+  'versioncheck' => 'Confirmar versões', //cpg1.4
+  'versioncheck_explanation' => 'Veja a versão dos ficheiros para confirmar que os substituiu após uma actualização, ou verifique se existem novas versões Coppermine.', //cpg1.4
+  'bridgemanager' => 'Administração de Enlaces', //cpg1.4
+  'bridgemanager_explanation' => 'Activa/desactiva a integração (enlace) do Coppermine com outra aplicação (ex. o seu BBS).', //cpg1.4
+);
+}
+
+// ------------------------------------------------------------------------- //
+// File versioncheck.php //cpg1.4
+// ------------------------------------------------------------------------- //
+
+if (defined('VERSIONCHECK_PHP')) $lang_versioncheck_php = array(
+  'title' => 'Versioncheck', //cpg1.4
+  'what_it_does' => 'This page is meant for users who have updated their coppermine install. This script goes through the files on your webserver and tries to determine if your local file versions on the webserver are the same as the ones from the repository at http://coppermine.sourceforge.net, this way displaying the files you were meant to update as well.<br />It will show everything in red that needs to be fixed. Entries in yellow need looking into. Entries in green (or your default font color) are OK.<br />Click on the help icons to find out more.', //cpg1.4
+  'online_repository_unable' => 'Unable to connect to online repository', //cpg1.4
+  'online_repository_noconnect' => 'Coppermine was unable to connect to the online repository. This can have two reasons:', //cpg1.4
+  'online_repository_reason1' => 'the coppermine online repository is currently down - check if you can browse this page: %s - if you can\'t access this page, try again later.', //cpg1.4
+  'online_repository_reason2' => 'PHP on your webserver is configured with %s turned off (by default, it\'s turned on). If the server is yours to administer, turn this option on in <i>php.ini</i> (at least allow it to be overridden with %s). If you\'re webhosted, you will probably have to live with the fact that you can\'t compare your files to the online repository. This page will then only display the file versions that came with your distribution - updates will not be displayed.', //cpg1.4
+  'online_repository_skipped' => 'Connection to online repository skipped', //cpg1.4
+  'online_repository_to_local' => 'The script is defaulting to the local copy of the version-files now. The data may be inacurate if you have upgraded Coppermine and you haven\'t uploaded all files. Changes to the files after the release won\'t be taken into account as well.', //cpg1.4
+  'local_repository_unable' => 'Unable to connect to the repository on your server', //cpg1.4
+  'local_repository_explanation' => 'Coppermine was unable to connect to the repository file %s on your webserver. This probably means that you haven\'t uploaded the repository file to your webserver. Do so now and then try to run this page once more (hit refresh).<br />If the script still fails, your webhost might have disabled parts of <a href="http://www.php.net/manual/en/ref.filesystem.php">PHP\'s filesystem functions</a> completely. In this case, you simply won\'t be able to use this tool at all, sorry.', //cpg1.4
+  'coppermine_version_header' => 'Installed Coppermine version', //cpg1.4
+  'coppermine_version_info' => 'You have currently installed: %s', //cpg1.4
+  'coppermine_version_explanation' => 'If you think this is entirely wrong and you\'re supposed to be running a higher version of Coppermine, you probably haven\'t uploaded the most recent version of the file <i>include/init.inc.php</i>', //cpg1.4
+  'version_comparison' => 'Version comparison', //cpg1.4
+  'folder_file' => 'folder/file', //cpg1.4
+  'coppermine_version' => 'cpg version', //cpg1.4
+  'file_version' => 'file version', //cpg1.4
+  'webcvs' => 'web svn', //cpg1.4
+  'writable' => 'writable', //cpg1.4
+  'not_writable' => 'not writable', //cpg1.4
+  'help' => 'Help', //cpg1.4
+  'help_file_not_exist_optional1' => 'file/folder does not exist', //cpg1.4
+  'help_file_not_exist_optional2' => 'The file/folder %s has not been found on your server. Although it is optional you should upload it (using your FTP client) to your webserver if you are experiencing problems.', //cpg1.4
+  'help_file_not_exist_mandatory1' => 'file/folder does not exist', //cpg1.4
+  'help_file_not_exist_mandatory2' => 'The file/folder %s has not been found on your server, although it is mandatory. Upload the file to your webserver (using your FTP client).', //cpg1.4
+  'help_no_local_version1' => 'No local file version', //cpg1.4
+  'help_no_local_version2' => 'The script was unable to extract a local file version - your file is either outdated or you have modified it, removing the header information on the way. Updating the file is recommended.', //cpg1.4
+  'help_local_version_outdated1' => 'Local version outdated', //cpg1.4
+  'help_local_version_outdated2' => 'Your version of this file seems to be from an older version of Coppermine (you probably upgraded). Make sure to update this file as well.', //cpg1.4
+  'help_local_version_na1' => 'Unable to extract cvs version info', //cpg1.4
+  'help_local_version_na2' => 'The script could not determine what cvs version the file on your webserver is. You should upload the file from your package.', //cpg1.4
+  'help_local_version_dev1' => 'Development version', //cpg1.4
+  'help_local_version_dev2' => 'The file on your webserver seems to be newer than your Coppermine version. You are either using a development file (you should only do so if you know what you are doing), or you have upgraded your Coppermine install and not uploaded include/init.inc.php', //cpg1.4
+  'help_not_writable1' => 'Folder not writable', //cpg1.4
+  'help_not_writable2' => 'Change file permissions (CHMOD) to grant the script write access to the folder %s and everything within it.', //cpg1.4
+  'help_writable1' => 'Folder writable', //cpg1.4
+  'help_writable2' => 'The folder %s is writable. This is an unnecessary risk, coppermine only needs read/execute access.', //cpg1.4
+  'help_writable_undetermined' => 'Coppermine was not able to determine wether the folder is writable.', //cpg1.4
+  'your_file' => 'your file', //cpg1.4
+  'reference_file' => 'reference file', //cpg1.4
+  'summary' => 'Summary', //cpg1.4
+  'total' => 'Total files/folders checked', //cpg1.4
+  'mandatory_files_missing' => 'Mandatory files missing', //cpg1.4
+  'optional_files_missing' => 'Optional files missing', //cpg1.4
+  'files_from_older_version' => 'Files left over from outdated Coppermine version', //cpg1.4
+  'file_version_outdated' => 'Outdated file versions', //cpg1.4
+  'error_no_data' => 'The script made a boo, it was not able to retrieve any information. Sorry for the inconvenience.', //cpg1.4
+  'go_to_webcvs' => 'go to %s', //cpg1.4
+  'options' => 'Options', //cpg1.4
+  'show_optional_files' => 'show optional folders/files', //cpg1.4
+  'show_mandatory_files' => 'show mandatory files', //cpg1.4
+  'show_file_versions' => 'show file versions', //cpg1.4
+  'show_errors_only' => 'show folders/files with errors only', //cpg1.4
+  'show_permissions' => 'show folder permissions', //cpg1.4
+  'show_condensed_output' => 'show condensed ouput (for easier screenshots)', //cpg1.4
+  'coppermine_in_webroot' => 'coppermine is installed in the webroot', //cpg1.4
+  'connect_online_repository' => 'try connecting to the online repository', //cpg1.4
+  'show_additional_information' => 'show additional information', //cpg1.4
+  'no_webcvs_link' => 'don\'t display web svn link', //cpg1.4
+  'stable_webcvs_link' => 'display web svn link to stable branch', //cpg1.4
+  'devel_webcvs_link' => 'display web svn link to devel branch', //cpg1.4
+  'submit' => 'apply changes / refresh', //cpg1.4
+  'reset_to_defaults' => 'reset to default values', //cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File view_log.php  //cpg1.4
+// ------------------------------------------------------------------------- //
+
+if (defined('VIEWLOG_PHP')) $lang_viewlog_php = array(
+  'delete_all' => 'Apagar todos os diários', //cpg1.4
+  'delete_this' => 'Apagar este diário', //cpg1.4
+  'view_logs' => 'Ver diários', //cpg1.4
+  'no_logs' => 'Não existem diários criados.', //cpg1.4
+);
+
+
+// ------------------------------------------------------------------------- //
+// File xp_publish.php //cpg1.4
+// ------------------------------------------------------------------------- //
+
+if (defined('XP_PUBLISH_PHP')) {
+
+$lang_xp_publish_client = <<<EOT
+<h1>XP Web Publishing Wizard Client</h1><p>This module allows to use <b>Windows XP</b> web publishing wizard with Coppermine.</p><p>Code is based on article posted by
+EOT;
+
+$lang_xp_publish_required = <<<EOT
+<h2>What is required</h2><ul><li>Windows XP in order to have the wizard.</li><li>A working installation of Coppermine on which <b>the web upload function works properly.</b></li></ul><h2>How to install on client side</h2><ul><li>Right click on
+EOT;
+
+$lang_xp_publish_select = <<<EOT
+Select &quot;save target as..&quot;. Save the file on your hard drive. When saving the file, check that the proposed file name is <b>cpg_###.reg</b> (the ### represents a numerical timestamp). Change it to that name if necessary (leave the numbers). When downloaded, double click on the file in order to register your server with the web publishing wizard.</li></ul>
+EOT;
+
+$lang_xp_publish_testing = <<<EOT
+<h2>Testing</h2><ul><li>In Windows Explorer, select some files and click on <b>Publish xxx on the web</b> in the left pane.</li><li>Confirm your file selection. Click on <b>Next</b>.</li><li>In the list of services that appear, select the one for your photo gallery (it has the name of your gallery). If the service does not appear, check that you have installed <b>cpg_pub_wizard.reg</b> as described above.</li><li>Input your login information if required.</li><li>Select the target album for your pictures or create a new one.</li><li>Click on <b>next</b>. The upload of your pictures starts.</li><li>When it is completed, check your gallery to see if pictures have been properly added.</li></ul>
+EOT;
+
+$lang_xp_publish_notes = <<<EOT
+<h2>Notes :</h2><ul><li>Once the upload has started, the wizard can't display any error message returned by the script so you can't know if the upload failed or succeeded until you check your gallery.</li><li>If the upload fails, enable &quot;Debug mode&quot; on the Coppermine admin page, try with one single picture and check error messages in the
+EOT;
+
+$lang_xp_publish_flood = <<<EOT
+file that is located in Coppermine directory on your server.</li><li>In order to avoid that the gallery be <i>flooded</i> by pictures uploaded through the wizard, only the <b>gallery admins</b> and <b>users that can have their own albums</b> can use this feature.</li>
+EOT;
+
+
+
+$lang_xp_publish_php = array(
+  'title' => 'Coppermine - XP Web Publishing Wizard', //cpg1.4
+  'welcome' => 'Welcome <b>%s</b>,', //cpg1.4
+  'need_login' => 'You need to login to the gallery using your web browser before you can use this wizard.<p/><p>When you login don\'t forget to select the <b>remember me</b> option if it is present.', //cpg1.4
+  'no_alb' => 'Sorry but there is no album where you are allowed to upload pictures with this wizard.', //cpg1.4
+  'upload' => 'Upload your pictures into an existing album', //cpg1.4
+  'create_new' => 'Create a new album for your pictures', //cpg1.4
+  'album' => 'Album', //cpg1.4
+  'category' => 'Category', //cpg1.4
+  'new_alb_created' => 'Your new album &quot;<b>%s</b>&quot; was created.', //cpg1.4
+  'continue' => 'Press &quot;Next&quot; to start to upload your pictures', //cpg1.4
+  'link' => 'this link', //cpg1.4
+);
+}
 ?>
\ No newline at end of file
diff -x .svn -aruN 1.4.24.src/lang/romanian.php 1.4.25.src/lang/romanian.php
--- 1.4.24.src/lang/romanian.php	2009-05-25 15:01:17.000000000 -0500
+++ 1.4.25.src/lang/romanian.php	2009-05-26 11:25:40.000000000 -0500
@@ -10,11 +10,11 @@
   as published by the Free Software Foundation.
  
   ********************************************
-  Coppermine version: 1.4.24
+  Coppermine version: 1.4.25
   $HeadURL: https://coppermine.svn.sourceforge.net/svnroot/coppermine/trunk/cpg1.4.x/lang/romanian.php $
-  $Revision: 5988 $
+  $Revision: 5997 $
   $Author: gaugau $
-  $Date: 2009-05-25 22:01:41 +0200 (Mo, 25 Mai 2009) $
+  $Date: 2009-05-26 08:43:24 +0200 (Di, 26 Mai 2009) $
 **********************************************/
 
 if (!defined('IN_COPPERMINE')) { die('Not in Coppermine...');}
diff -x .svn -aruN 1.4.24.src/lang/russian.php 1.4.25.src/lang/russian.php
--- 1.4.24.src/lang/russian.php	2009-05-25 15:01:17.000000000 -0500
+++ 1.4.25.src/lang/russian.php	2009-05-26 11:25:40.000000000 -0500
@@ -1,2109 +1,2109 @@
-<?php
-/*************************
-  Coppermine Photo Gallery
-  ************************
-  Copyright (c) 2003-2009 Coppermine Dev Team
-  v1.1 originally written by Gregory DEMAR
-
-  This program is free software; you can redistribute it and/or modify
-  it under the terms of the GNU General Public License version 3
-  as published by the Free Software Foundation.
-  
-  ********************************************
-  Coppermine version: 1.4.24
-  $HeadURL: https://coppermine.svn.sourceforge.net/svnroot/coppermine/trunk/cpg1.4.x/lang/russian.php $
-  $Revision: 5988 $
-  $Author: gaugau $
-  $Date: 2009-05-25 22:01:41 +0200 (Mo, 25 Mai 2009) $
-**********************************************/
-
-if (!defined('IN_COPPERMINE')) { die('Not in Coppermine...');}
-
-// info about translators and translated language
-$lang_translation_info = array(
-  'lang_name_english' => 'Russian', //cpg1.4
-  'lang_name_native' => 'Русский', //cpg1.4
-  'lang_country_code' => 'ru', //cpg1.4
-  'trans_name'=> 'Makc666',
-  'trans_email' => 'makc666@yahoo.com',
-  'trans_website' => 'http://makc666.com',
-  'trans_date' => '2009-05-25',
-);
-
-$lang_charset = 'utf-8';
-$lang_text_dir = 'ltr'; // ('ltr' for left to right, 'rtl' for right to left)
-
-// shortcuts for Byte, Kilo, Mega
-$lang_byte_units = array('Байты', 'КБ', 'МБ');
-
-// Day of weeks and months
-$lang_day_of_week = array('Вс', 'Пн', 'Вт', 'Ср', 'Чт', 'Пт', 'Сб');
-$lang_month = array('Янв', 'Фев', 'Март', 'Апр', 'Май', 'Июнь', 'Июль', 'Авг', 'Сент', 'Окт', 'Нояб', 'Дек');
-
-// Some common strings
-$lang_yes = 'Да';
-$lang_no  = 'Нет';
-$lang_back = 'НАЗАД';
-$lang_continue = 'ПРОДОЛЖИТЬ';
-$lang_info = 'Информация';
-$lang_error = 'Ошибка';
-$lang_check_uncheck_all = 'отметить/снять выделение'; //cpg1.4
-
-// The various date formats
-// See http://www.php.net/manual/en/function.strftime.php to define the variable below
-$album_date_fmt =    '%B %d, %Y';
-$lastcom_date_fmt =  '%m/%d/%y в %H:%M';
-$lastup_date_fmt = '%B %d, %Y';
-$register_date_fmt = '%B %d, %Y';
-$lasthit_date_fmt = '%B %d, %Y в %H:%M';
-$comment_date_fmt =  '%B %d, %Y в %H:%M';
-$log_date_fmt = '%B %d, %Y в %H:%M'; //cpg1.4
-
-// For the word censor
-$lang_bad_words = array('*fuck*', 'asshole', 'assramer', 'bitch*', 'c0ck', 'clits', 'Cock', 'cum', 'cunt*', 'dago', 'daygo', 'dego', 'dick*', 'dildo', 'fanculo', 'feces', 'foreskin', 'Fu\(*', 'fuk*', 'honkey', 'hore', 'injun', 'kike', 'lesbo', 'masturbat*', 'motherfucker', 'nazis', 'nigger*', 'nutsack', 'penis', 'phuck', 'poop', 'pussy', 'scrotum', 'shit', 'slut', 'titties', 'titty', 'twaty', 'wank*', 'whore', 'wop*');
-
-$lang_meta_album_names = array(
-  'random' => 'Случайные файлы',
-  'lastup' => 'Последние добавления',
-  'lastalb'=> 'Последнее изменения альбомов',
-  'lastcom' => 'Последние комментарии',
-  'topn' => 'Часто просматриваемые',
-  'toprated' => 'Лучшие по рейтингу',
-  'lasthits' => 'Последние просмотренные',
-  'search' => 'Результаты поиска',
-  'favpics'=> 'Избранные файлы',  //cpg1.4
-);
-
-$lang_errors = array(
-  'access_denied' => 'У Вас нет прав для просмотра этой страницы.',
-  'perm_denied' => 'У Вас нет прав на выполнение этой операции.',
-  'param_missing' => 'Скрипт вызван без требуемых параметров.',
-  'non_exist_ap' => 'Выбранный альбом/фото не существует!',
-  'quota_exceeded' => 'Дисковая квота превышена<br /><br />Для Вас дисковая квота составляет [quota]К, Ваши файлы сейчас занимают [space]К, добавление этого файла приведет к превышению Вашей квоты.',
-  'gd_file_type_err' => 'Когда используется библиотека GD, разрешенные типы файлов только JPEG и PNG.',
-  'invalid_image' => 'Изображение, которое Вы загрузили, повреждено или не может быть обработано библиотекой GD',
-  'resize_failed' => 'Не могу создать миниатюру или уменьшить размер изображения.',
-  'no_img_to_display' => 'Нет фото',
-  'non_exist_cat' => 'Выбранная категория не существует',
-  'orphan_cat' => 'У категории нет соответствующей категории верхнего уровня, запустите менеджер категорий, чтобы исправить эту проблему!',
-  'directory_ro' => 'Директория \'%s\' не имеет прав на запись, файлы не могут быть удалены',
-  'non_exist_comment' => 'Выбранный комментарий не существует.',
-  'pic_in_invalid_album' => 'Файл находится в несуществующем альбоме (%s)!?',
-  'banned' => 'В данный момент Вы забанены на данном сайте.',
-  'not_with_udb' => 'Эта функция отключена в Coppermine, потому что она интегрирована с движком форума. То, что Вы пытаетесь сделать, или недоступно в данной конфигурации, или должно изменяться с помощью движка форума.',
-  'offline_title' => 'Отключена',
-  'offline_text' => 'Галерея в настоящее время отключена - попробуйте зайти позже',
-  'ecards_empty' => 'В данный момент отсутствуют открытки занесенные в логи. Проверьте, что Вы включили лог открыток в настройках сайта!',
-  'action_failed' => 'Действие не удалось. Coppermine не смог выполнить Ваш запрос.',
-  'no_zip' => 'Необходимые библиотеки для обработки ZIP файлов недоступны. Пожалуйста, свяжитесь с администрацией сайта.',
-  'zip_type' => 'У вас нет прав для загрузки ZIP файлов.',
-  'database_query' => 'Произошла ошибка при обращении к базе данных', //cpg1.4
-  'register_globals_on' => 'На вашем сервере включена опция PHP register_globals, что является плохой идеей с точки зрения безопасности. Настоятельно рекомендуется её выключить. [<a href="http://forum.coppermine-gallery.net/index.php/topic,59569.0.html" rel="external" class="external">подробнее</a>]',
-);
-
-$lang_bbcode_help_title = 'помощь по bbcode'; //cpg1.4
-$lang_bbcode_help = 'Вы можете добавлять ссылки и форматирование в этом поле, использую тэги bbcode: <li>[b]Жирный[/b] =&gt; <b>Жирный</b></li><li>[i]Курсив[/i] =&gt; <i>Курсив</i></li><li>[url=http://вашсайт.ru/]Описание ссылки[/url] =&gt; <a href="http://вашсайт.ru">Описание ссылки</a></li><li>[email]пользователь@сайт.ru[/email] =&gt; <a href="mailto:пользователь@сайт.ru">пользователь@сайт.ru</a></li><li>[color=red]любой текст[/color] =&gt; <span style="color:red">любой текст</span></li><li>[img]http://coppermine-gallery.net/demo/cpg14x/images/red.gif[/img] => <img src="../images/red.gif" border="0" alt="" /></li>'; //cpg1.4
-
-// ------------------------------------------------------------------------- //
-// File theme.php
-// ------------------------------------------------------------------------- //
-
-$lang_main_menu = array(
-'home_title' => 'Перейти на домашнюю страницу',
-'home_lnk' => 'Домой',
-  'alb_list_title' => 'Перейти к списку альбомов',
-  'alb_list_lnk' => 'Список альбомов',
-  'my_gal_title' => 'В персональную галерею',
-  'my_gal_lnk' => 'Моя галерея',
-  'my_prof_title' => 'Перейти к своему профилю', //cpg1.4
-  'my_prof_lnk' => 'Мой профиль',
-  'adm_mode_title' => 'Переключиться в режим администратора',
-  'adm_mode_lnk' => 'Режим администратора',
-  'usr_mode_title' => 'Переключиться в режим пользователя',
-  'usr_mode_lnk' => 'Режим пользователя',
-  'upload_pic_title' => 'Загрузить файл в альбом',
-  'upload_pic_lnk' => 'Загрузить файл',
-  'register_title' => 'Создать учётную запись',
-  'register_lnk' => 'Регистрация',
-  'login_title' => 'Войти на сайт', //cpg1.4
-  'login_lnk' => 'Вход',
-  'logout_title' => 'Выйти с сайта', //cpg1.4
-  'logout_lnk' => 'Выход',
-  'lastup_title' => 'Показать последние добавления', //cpg1.4
-  'lastup_lnk' => 'Последние добавления',
-  'lastcom_title' => 'Показать последние комментарии', //cpg1.4
-  'lastcom_lnk' => 'Последние комментарии',
-  'topn_title' => 'Показать часто просматриваемые', //cpg1.4
-  'topn_lnk' => 'Часто просматриваемые',
-  'toprated_title' => 'Показать лучшие по рейтингу', //cpg1.4
-  'toprated_lnk' => 'Лучшие по рейтингу',
-  'search_title' => 'Поиск по сайту', //cpg1.4
-  'search_lnk' => 'Поиск',
-  'fav_title' => 'Перейти в Избранные', //cpg1.4
-  'fav_lnk' => 'Избранные',
-  'memberlist_title' => 'Показать список пользователей',
-  'memberlist_lnk' => 'Пользователи',
-  'faq_title' => 'Часто задаваемые вопросы о галерее &quot;Coppermine&quot;',
-  'faq_lnk' => 'FAQ',
-);
-
-$lang_gallery_admin_menu = array(
-  'upl_app_title' => 'Подтвердить новые закачки', //cpg1.4
-  'upl_app_lnk' => 'Подтверждение закачки',
-  'admin_title' => 'Перейти к настройкам сайта', //cpg1.4
-  'admin_lnk' => 'Конфиг', //cpg1.4
-  'albums_title' => 'Перейти к настройкам альбомов', //cpg1.4
-  'albums_lnk' => 'Альбомы',
-  'categories_title' => 'Перейти к настройкам категорий', //cpg1.4
-  'categories_lnk' => 'Категории',
-  'users_title' => 'Перейти к настройкам пользователей', //cpg1.4
-  'users_lnk' => 'Пользователи',
-  'groups_title' => 'Перейти к настройкам групп', //cpg1.4
-  'groups_lnk' => 'Группы',
-  'comments_title' => 'Просмотр всех комментариев', //cpg1.4
-  'comments_lnk' => 'Просмотр комментариев',
-  'searchnew_title' => 'Перейти к групповому добавлению файлов', //cpg1.4
-  'searchnew_lnk' => 'Групповое добавление файлов',
-  'util_title' => 'Перейти в инструменты администратора', //cpg1.4
-  'util_lnk' => 'Инструменты администратора',
-  'key_title' => 'Перейти к словарю ключевых слов', //cpg1.4
-  'key_lnk' => 'Словарь ключевых слов', //cpg1.4
-  'ban_title' => 'Перейти к блокировке пользователей', //cpg1.4
-  'ban_lnk' => 'Бан пользователей',
-  'db_ecard_title' => 'Просмотр созданных открыток', //cpg1.4
-  'db_ecard_lnk' => 'Показать открытки',
-  'pictures_title' => 'Сортировать мои изображения', //cpg1.4
-  'pictures_lnk' => 'Сортировать мои изображения', //cpg1.4
-  'documentation_lnk' => 'Документация', //cpg1.4
-  'documentation_title' => 'Руководство по Coppermine', //cpg1.4
-);
-
-$lang_user_admin_menu = array(
-  'albmgr_title' => 'Создать и упорядочить мои альбомы', //cpg1.4
-  'albmgr_lnk' => 'Создать и упорядочить мои альбомы',
-  'modifyalb_title' => 'Перейти к изменению моих альбомов',  //cpg1.4
-  'modifyalb_lnk' => 'Изменить мои альбомы',
-  'my_prof_title' => 'Перейти в личный профиль', //cpg1.4
-  'my_prof_lnk' => 'Профиль',
-);
-
-$lang_cat_list = array(
-  'category' => 'Категория',
-  'albums' => 'Альбомы',
-  'pictures' => 'Файлы',
-);
-
-$lang_album_list = array(
-  'album_on_page' => 'Альбомов: %d / Страниц: %d',
-);
-
-$lang_thumb_view = array(
-  'date' => 'ДАТА',
-  //Sort by filename and title
-  'name' => 'ИМЯ ФАЙЛА',
-  'title' => 'НАЗВАНИЕ',
-  'sort_da' => 'Сортировать по дате [возрастание]',
-  'sort_dd' => 'Сортировать по дате [убывание]',
-  'sort_na' => 'Сортировать по имени [возрастание]',
-  'sort_nd' => 'Сортировать по имени [убывание]',
-  'sort_ta' => 'Сортировать по названию [возрастание]',
-  'sort_td' => 'Сортировать по названию [убывание]',
-  'position' => 'ПОЗИЦИЯ', //cpg1.4
-  'sort_pa' => 'Сортировать по позиции [возрастание]', //cpg1.4
-  'sort_pd' => 'Сортировать по позиции [убывание]', //cpg1.4
-  'download_zip' => 'Скачать как Zip файл',
-  'pic_on_page' => 'Файлов: %d / Страниц: %d',
-  'user_on_page' => '%d пользователей на %d страницах',
-  'enter_alb_pass' => 'Введите пароль альбома', //cpg1.4
-  'invalid_pass' => 'Неправильный пароль', //cpg1.4
-  'pass' => 'Пароль', //cpg1.4
-  'submit' => 'Продолжить', //cpg1.4
-);
-
-$lang_img_nav_bar = array(
-  'thumb_title' => 'Вернуться на страницу с миниатюрами',
-  'pic_info_title' => 'Показать/спрятать информацию о файле',
-  'slideshow_title' => 'Слайд-шоу',
-  'ecard_title' => 'Послать этот файл как открытку',
-  'ecard_disabled' => 'Открытки отключены',
-  'ecard_disabled_msg' => 'У Вас нет прав на отправку открыток', //js-alert
-  'prev_title' => 'Смотреть предыдущий файл',
-  'next_title' => 'Смотреть следующий файл',
-  'pic_pos' => 'ФАЙЛОВ %s/%s',
-  'report_title' => 'Пожаловаться модератору на этот файл', //cpg1.4
-  'go_album_end' => 'Перейти в конец', //cpg1.4
-  'go_album_start' => 'Вернуться в начало', //cpg1.4
-  'go_back_x_items' => 'перейти назад на %s файлов', //cpg1.4
-  'go_forward_x_items' => 'перейти вперед на %s файлов', //cpg1.4
-);
-
-$lang_rate_pic = array(
-  'rate_this_pic' => 'Оценить этот файл ',
-  'no_votes' => '(Голосов ещё нет)',
-  'rating' => '(текущий рейтинг: %s / 5 - Голосов: %s)',
-  'rubbish' => 'Мусор',
-  'poor' => 'Плохо',
-  'fair' => 'Средне',
-  'good' => 'Хорошо',
-  'excellent' => 'Отлично',
-  'great' => 'Супер',
-);
-
-// ------------------------------------------------------------------------- //
-// File include/exif.inc.php
-// ------------------------------------------------------------------------- //
-
-// void
-
-// ------------------------------------------------------------------------- //
-// File include/functions.inc.php
-// ------------------------------------------------------------------------- //
-
-$lang_cpg_die = array(
-  INFORMATION => $lang_info,
-  ERROR => $lang_error,
-  CRITICAL_ERROR => 'Критическая ошибка',
-  'file' => 'Файл: ',
-  'line' => 'Строка: ',
-);
-
-$lang_display_thumbnails = array(
-  'filename' => 'Файл=', //cpg1.4
-  'filesize' => 'Объём=', //cpg1.4
-  'dimensions' => 'Размеры=', //cpg1.4
-  'date_added' => 'Дата=', //cpg1.4
-);
-
-$lang_get_pic_data = array(
-  'n_comments' => 'Комментариев: %s ',
-  'n_views' => 'Просмотров: %s',
-  'n_votes' => '(%s голосов)',
-);
-
-$lang_cpg_debug_output = array(
-  'debug_info' => 'Отладочная информация',
-  'select_all' => 'Выбрать всё',
-  'copy_and_paste_instructions' => 'Если Вы собираетесь просить о помощи на форумах Coppermine, скопируйте и вставьте эту отладочную информацию в Ваше сообщение вместе с сообщение об ошибке (если она есть). Убедитесь, что Вы заменили все пароли на ***, перед созданием своего сообщения. <br />Внимание: Это информационное сообщение и оно не означает, что в Вашей галерее содержится ошибка.', //cpg1.4
-  'phpinfo' => 'отобразить phpinfo',
-  'notices' => 'Заметки', //cpg1.4
-);
-
-$lang_language_selection = array(
-  'reset_language' => 'Язык по умолчанию',
-  'choose_language' => 'Выберите Ваш язык',
-);
-
-$lang_theme_selection = array(
-  'reset_theme' => 'Тема по умолчанию',
-  'choose_theme' => 'Выберите тему',
-);
-
-$lang_version_alert = array(
-  'version_alert' => 'Неподдерживаемая версия!', //cpg1.4
-  'security_alert' => 'Предупреждение об опасности!', //cpg1.4.3
-  'relocate_exists' => 'Удалите файл <a href="http://coppermine-gallery.net/forum/index.php?topic=24217.0">relocate_server.php</a> с вашего сайта!',
-  'no_stable_version' => 'Вы используете версию Coppermine %s (%s), которая предназначена только для продвинутых пользователей - данная версия предоставляется без поддержки и каких-либо гарантий со стороны разработчиков. Используйте её на Ваш страх и риск или установите последнюю стабильную версию, чтобы получить поддержку!', //cpg1.4
-  'gallery_offline' => 'Галерея в данный момент отключена и будет доступна только Вам в качестве администратора. Не забудьте включить галерею обратно после завершения всех запланированных работ.', //cpg1.4
-);
-
-$lang_create_tabs = array(
-  'previous' => 'предыдущий', //cpg1.4
-  'next' => 'следующий', //cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File include/init.inc.php
-// ------------------------------------------------------------------------- //
-
-// void
-
-// ------------------------------------------------------------------------- //
-// File keyword.inc.php                                                      //
-// ------------------------------------------------------------------------- //
-
-// void
-
-// ------------------------------------------------------------------------- //
-// File include/picmgmt.inc.php
-// ------------------------------------------------------------------------- //
-
-// void
-
-// ------------------------------------------------------------------------- //
-// File include/plugin_api.inc.php
-// ------------------------------------------------------------------------- //
-$lang_plugin_api = array(
-  'error_wakeup' => "Не могу включить плугин '%s'", //cpg1.4
-  'error_install' => "Не могу установить плугин '%s'", //cpg1.4
-  'error_uninstall' => "Не могу удалить плугин '%s'", //cpg1.4
-  'error_sleep' => "Не могу отключить плугин '%s'<br />", //cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File include/smilies.inc.php
-// ------------------------------------------------------------------------- //
-
-if (defined('SMILIES_PHP')) $lang_smilies_inc_php = array(
-  'Exclamation' => 'Exclamation',
-  'Question' => 'Question',
-  'Very Happy' => 'Very Happy',
-  'Smile' => 'Smile',
-  'Sad' => 'Sad',
-  'Surprised' => 'Surprised',
-  'Shocked' => 'Shocked',
-  'Confused' => 'Confused',
-  'Cool' => 'Cool',
-  'Laughing' => 'Laughing',
-  'Mad' => 'Mad',
-  'Razz' => 'Razz',
-  'Embarassed' => 'Embarassed',
-  'Crying or Very sad' => 'Crying or Very sad',
-  'Evil or Very Mad' => 'Evil or Very Mad',
-  'Twisted Evil' => 'Twisted Evil',
-  'Rolling Eyes' => 'Rolling Eyes',
-  'Wink' => 'Wink',
-  'Idea' => 'Idea',
-  'Arrow' => 'Arrow',
-  'Neutral' => 'Neutral',
-  'Mr. Green' => 'Mr. Green',
-);
-
-// ------------------------------------------------------------------------- //
-// File addpic.php
-// ------------------------------------------------------------------------- //
-
-// void
-
-// ------------------------------------------------------------------------- //
-// File mode.php //cpg1.4
-// ------------------------------------------------------------------------- //
-
-if (defined('MODE_PHP')) $lang_mode_php = array(
-  0 => 'Покидаю режим администратора...',
-  1 => 'Вхожу в режим администратора...',
-);
-
-// ------------------------------------------------------------------------- //
-// File albmgr.php
-// ------------------------------------------------------------------------- //
-
-if (defined('ALBMGR_PHP')) $lang_albmgr_php = array(
-  'alb_need_name' => 'Альбомы должны иметь название!', //js-alert
-  'confirm_modifs' => 'Вы уверены, что хотите сделать эти изменения?', //js-alert
-  'no_change' => 'Вы не сделали никаких изменений!', //js-alert
-  'new_album' => 'Новый альбом',
-  'confirm_delete1' => 'Вы уверены, что хотите удалить этот альбом?', //js-alert
-  'confirm_delete2' => '\nВсе файлы и комментарии к ним будут утеряны!', //js-alert
-  'select_first' => 'Сначала выберите альбом', //js-alert
-  'alb_mrg' => 'Менеджер альбомов',
-  'my_gallery' => '* Моя галерея *',
-  'no_category' => '* Нет категории *',
-  'delete' => 'Удалить',
-  'new' => 'Новый',
-  'apply_modifs' => 'Применить изменения',
-  'select_category' => 'Выберите категорию',
-);
-
-// ------------------------------------------------------------------------- //
-// File banning.php
-// ------------------------------------------------------------------------- //
-
-if (defined('BANNING_PHP')) $lang_banning_php = array(
-  'title' => 'Бан пользователей', //cpg1.4
-  'user_name' => 'Имя пользователя', //cpg1.4
-  'ip_address' => 'IP адрес', //cpg1.4
-  'expiry' => 'Истекает (пустой = навсегда)', //cpg1.4
-  'edit_ban' => 'Сохранить изменения', //cpg1.4
-  'delete_ban' => 'Удалить', //cpg1.4
-  'add_new' => 'Добавить новый бан', //cpg1.4
-  'add_ban' => 'Добавить', //cpg1.4
-  'error_user' => 'Не могу найти пользователя', //cpg1.4
-  'error_specify' => 'Вам нужно указать или имя пользователя, или IP адрес', //cpg1.4
-  'error_ban_id' => 'Неправильный ID бана!', //cpg1.4
-  'error_admin_ban' => 'Вы не можете забанить самого себя!', //cpg1.4
-  'error_server_ban' => 'Вы собираетесь забанить свой личный сервер? Не могу сделать этого...', //cpg1.4
-  'error_ip_forbidden' => 'Вы не можете забанить этот IP адрес - он используется только в локальных сетях!<br />Если Вы хотите разрешить бан для локальных IP адресов, измените соответствующую настройку в <a href="admin.php">Конфигурации галереи</a> (играет роль, только когда Coppermine используется в локальных сетях).', //cpg1.4
-  'lookup_ip' => 'WHOIS для IP адреса', //cpg1.4
-  'submit' => 'Выполнить!', //cpg1.4
-  'select_date' => 'выберите дату', //cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File bridgemgr.php //cpg1.4
-// ------------------------------------------------------------------------- //
-
-if (defined('BRIDGEMGR_PHP')) $lang_bridgemgr_php = array(
-  'title' => 'Менеджер интеграции',
-  'warning' => 'Внимание: используя этот менеджер, Вы должны понимать, что приватная информация посылается через html формы. Запускайте данный менеджер только у себя на компьютере (не на публичных компьютерах, например в интернет кафе), и убедитесь, что Вы очистили кэш браузера и временные файлы после того, как завершили Вашу работу с данным менеджером, иначе посторонние могут получить доступ к Вашим данным!',
-  'back' => 'назад',
-  'next' => 'дальше',
-  'start_wizard' => 'Запустить менеджер интеграции',
-  'finish' => 'Закончить',
-  'hide_unused_fields' => 'спрятать неиспользуемые поля (рекомендуется)',
-  'clear_unused_db_fields' => 'очистить неверные записи в базе данных (рекомендуется)',
-  'custom_bridge_file' => 'Ваш собственный файл интеграции (если имя файла <i>myfile.inc.php</i>, введите <i>myfile</i> в данное поле)',
-  'no_action_needed' => 'Нет необходимых действий на этом шаге. Нажмите \'дальше\', чтобы продолжить.',
-  'reset_to_default' => 'Сбросить на значения по умолчанию',
-  'choose_bbs_app' => 'выберите приложение для интеграции Coppermine с',
-  'support_url' => 'Перейти за помощью для данного приложения',
-  'settings_path' => 'путь используемый Вашим приложением',
-  'database_connection' => 'соединение с базой данных',
-  'database_tables' => 'таблицы базы данных',
-  'bbs_groups' => 'группы форумов',
-  'license_number' => 'Номер лицензии',
-  'license_number_explanation' => 'введите номер Вашей лицензии (если доступна)',
-  'db_database_name' => 'Имя базы данных',
-  'db_database_name_explanation' => 'Введите имя базы данных, используемое Вашим приложением',
-  'db_hostname' => 'Сервер базы данных',
-  'db_hostname_explanation' => 'Сервер, где расположена Ваша база данных mySQL, обычно &quot;localhost&quot;',
-  'db_username' => 'Учетная запись пользователя базы данных',
-  'db_username_explanation' => 'Имя пользователя используемое для подключения к базе данных mySQL приложения',
-  'db_password' => 'Пароль базы данных',
-  'db_password_explanation' => 'Пароль базы данных mySQL к учетной записи пользователя',
-  'full_forum_url' => 'Ссылка форума',
-  'full_forum_url_explanation' => 'Полная ссылка Вашего приложения (включаю тег http:// в начале, к примеру http://www.yourdomain.tld/forum)',
-  'relative_path_of_forum_from_webroot' => 'Относительный путь форума',
-  'relative_path_of_forum_from_webroot_explanation' => 'Относительный путь к Вашему форуму от корня сайта (Пример: если Ваш форум находится на http://www.yourdomain.tld/forum/, введите &quot;/forum/&quot; в данное поле)',
-  'relative_path_to_config_file' => 'Относительный путь к файлу конфигурации Вашего форума',
-  'relative_path_to_config_file_explanation' => 'Относительный путь к Вашему форуму, исходя из папки Coppermine (например &quot;../forum/&quot; если Ваш форум находится по адресу http://www.yourdomain.tld/forum/ и Coppermine галерея по адресу http://www.yourdomain.tld/gallery/)',
-  'cookie_prefix' => 'Префикс Cookie',
-  'cookie_prefix_explanation' => 'Тут должно быть имя cookie Вашего форума',
-  'table_prefix' => 'Префикс таблицы',
-  'table_prefix_explanation' => 'Должен совпадать с префиксом, который Вы выбрали во время установки Вашего форума.',
-  'user_table' => 'Таблица пользователей',
-  'user_table_explanation' => '(обычно подходит значение по умолчанию, если только установка Вашего форума не является стандартной)',
-  'session_table' => 'Таблица сессии',
-  'session_table_explanation' => '(обычно подходит значение по умолчанию, если только установка Вашего форума не является стандартной)',
-  'group_table' => 'Таблица группы',
-  'group_table_explanation' => '(обычно подходит значение по умолчанию, если только установка Вашего форума не является стандартной)',
-  'group_relation_table' => 'Таблица связанных групп',
-  'group_relation_table_explanation' => '(обычно подходит значение по умолчанию, если только установка Вашего форума не является стандартной)',
-  'group_mapping_table' => 'Таблица помеченных групп',
-  'group_mapping_table_explanation' => '(обычно подходит значение по умолчанию, если только установка Вашего форума не является стандартной)',
-  'use_standard_groups' => 'Использовать стандартные группы форума',
-  'use_standard_groups_explanation' => 'Использовать стандартные (встроенные) группы (рекомендуется). Аннулирует все настройки дополнительных групп на этой странице. Отключайте эту опцию, только если Вы действительно знаете, что делаете!',
-  'validating_group' => 'Группа ожидающая активации',
-  'validating_group_explanation' => 'ID группы на Вашем форуме, где находятся учетные записи пользователей, которые требуют активации (обычно подходит значение по умолчанию, если только установка Вашего форума не является стандартной)',
-  'guest_group' => 'Группа анонимных пользователей',
-  'guest_group_explanation' => 'ID группы на Вашем форуме, где находятся учетные записи гостей (анонимных пользователей) (обычно подходит значение по умолчанию, изменяйте только, если Вы знаете, что делаете)',
-  'member_group' => 'Группа постоянных участников',
-  'member_group_explanation' => 'ID группы на Вашем форуме, где находятся учетные записи &quot;постоянных участников&quot; (обычно подходит значение по умолчанию, изменяйте только, если Вы знаете, что делаете)',
-  'admin_group' => 'Группа администраторов',
-  'admin_group_explanation' => 'ID группы на Вашем форуме, где находятся учетные записи администраторов (обычно подходит значение по умолчанию, изменяйте только, если Вы знаете, что делаете)',
-  'banned_group' => 'Группа забаненных пользователей',
-  'banned_group_explanation' => 'ID группы на Вашем форуме, где находятся учетные записи забаненных пользователей (обычно подходит значение по умолчанию, изменяйте только, если Вы знаете, что делаете)',
-  'global_moderators_group' => 'Группа модераторов',
-  'global_moderators_group_explanation' => 'ID группы на Вашем форуме, где находятся учетные записи модераторов (обычно подходит значение по умолчанию, изменяйте только, если Вы знаете, что делаете)',
-  'special_settings' => 'Специфические настройки форума',
-  'logout_flag' => 'версия phpBB (тип выхода)',
-  'logout_flag_explanation' => 'Какая у Вас версия форума (данная настройка определяет механизм осуществления выхода с форума)',
-  'use_post_based_groups' => 'Использовать группы, основанные на постах пользователей?',
-  'logout_flag_yes' => '2.0.5 или выше',
-  'logout_flag_no' => '2.0.4 или ниже',
-  'use_post_based_groups_explanation' => 'Должны ли использоваться группы с форума, которые определяются количеством постов, набранных пользователями (позволяет частичное управление группами) или только группы по умолчанию (делает администрирование легче, рекомендуется). Также, Вы можете изменить данную настройку позже.',
-  'use_post_based_groups_yes' => 'да',
-  'use_post_based_groups_no' => 'нет',
-  'error_title' => 'Вы должны исправить данные ошибки, прежде чем продолжить. Перейдите на предыдущую страницу.',
-  'error_specify_bbs' => 'Вы должны указать, с каким приложением Вы хотите интегрировать Ваш Coppermine.',
-  'error_no_blank_name' => 'Вы не можете оставить имя файла Вашей собственной интеграции пустым.',
-  'error_no_special_chars' => 'Имя файла интеграции недолжно содержать никаких специальных символов кроме подчеркивания (_) и черты (-)!',
-  'error_bridge_file_not_exist' => 'Файл интеграции %s отсутствует на сервере. Проверьте, действительно ли Вы загрузили его.',
-  'finalize' => 'включить/выключить интеграцию',
-  'finalize_explanation' => 'Настройки, которые Вы указали, были записаны в базу данных, но интеграция не была включена. Вы можете включать/выключать интеграцию позже в любое время. Убедитесь, что Вы не забудете имя учетной записи администратора и её пароль от самой галереи Coppermine, он может потребоваться Вам позже, чтобы вносить нужные изменения. Если что-то пошло не так, перейдите %s и отключите интеграцию, использую Вашу учетную запись администратора основной галереи (обычно ту, что Вы указали во время установки Coppermine галереи).',
-  'your_bridge_settings' => 'Ваши настройки интеграции',
-  'title_enable' => 'Включить интеграцию с %s',
-  'bridge_enable_yes' => 'включить',
-  'bridge_enable_no' => 'выключить',
-  'error_must_not_be_empty' => 'не должно быть пустым',
-  'error_either_be' => 'должно быть или %s, или %s',
-  'error_folder_not_exist' => '%s не существует. Исправьте значение введенное для %s',
-  'error_cookie_not_readible' => 'Coppermine не может прочитать cookie с именем %s. Исправьте значение, которое Вы ввели для %s или перейдите в администраторскую панель Вашего приложения и убедитесь, что путь cookie доступен для чтения Coppermine.',
-  'error_mandatory_field_empty' => 'Вы не можете оставить поля %s пустыми - заполните их правильными значениями.',
-  'error_no_trailing_slash' => 'Недолжно быть слеша в поле %s.',
-  'error_trailing_slash' => 'Должен быть слеш в поле %s.',
-  'error_db_connect' => 'Не могу подключиться к базе данных mySQL с указанными Вами данными. Вот что сообщает mySQL:',
-  'error_db_name' => 'Coppermine не смог установить соединение, он не смог найти базу данных %s. Убедитесь, что Вы указали %s правильно. Вот что сообщает mySQL:',
-  'error_prefix_and_table' => '%s и ',
-  'error_db_table' => 'Не могу найти таблицу %s. Убедитесь, что Вы указали %s правильно.',
-  'recovery_title' => 'Менеджер интеграции: экстренное восстановление',
-  'recovery_explanation' => 'Если Вы пришли сюда, чтобы управлять интеграцией Coppermine галереи, Вы должны сначала войти в галерею в качестве администратора. Если Вы не можете войти, потому что интеграция не работает так, как ожидалось, Вы можете отключить интеграцию на этой странице. Ввод Вашего имя пользователя и пароля не позволит войти Вам в систему, он лишь отключить интеграцию. Обратитесь к документации за подробностями.',
-  'username' => 'Имя пользователя',
-  'password' => 'Пароль',
-  'disable_submit' => 'выполнить',
-  'recovery_success_title' => 'Авторизация прошла успешно',
-  'recovery_success_content' => 'Вы успешно отключили интеграцию. Ваша галерея Coppermine теперь работает в независимом режиме.',
-  'recovery_success_advice_login' => 'Войдите в галерею в качестве администратора, чтобы изменить настройки Вашей интеграции и/или включить интеграцию снова.',
-  'goto_login' => 'Перейти на страницу входа',
-  'goto_bridgemgr' => 'Перейти к менеджеру интеграции',
-  'recovery_failure_title' => 'Авторизация провалилась',
-  'recovery_failure_content' => 'Вы указали неверные данный авторизации. Вы должны указать данные учетной записи администратора Вашей независимой версии галереи (обычно данные учетной записи, которые Вы указывали во время установки Coppermine).',
-  'try_again' => 'попытайтесь снова',
-  'recovery_wait_title' => 'Время ожидания ещё не прошло',
-  'recovery_wait_content' => 'Из соображений безопасности данный скрипт не позволяет повторять неудавшуюся авторизацию через такой короткий промежуток времени, Вам придется подождать некоторое время, пока Вам снова не разрешать попытаться произвести авторизацию.',
-  'wait' => 'подождите',
-  'create_redir_file' => 'Создать файл перенаправления (рекомендуется)',
-  'create_redir_file_explanation' => 'Чтобы перенаправлять пользователей после того как они вошли на Ваш форум, Вам нужно создать файл перенаправления в папке Вашего форума. Когда данная опция отмечена, менеджер интеграции попытается создаться данный файл для Вас или предоставит Вам готовый код данного файла, чтобы Вы могли создать его вручную.',
-  'browse' => 'просмотр',
-);
-
-// ------------------------------------------------------------------------- //
-// File calendar.php //cpg1.4
-// ------------------------------------------------------------------------- //
-
-if (defined('CALENDAR_PHP')) $lang_calendar_php = array(
-  'title' => 'Календарь', //cpg1.4
-  'close' => 'закрыть', //cpg1.4
-  'clear_date' => 'очистить дату', //cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File catmgr.php
-// ------------------------------------------------------------------------- //
-
-if (defined('CATMGR_PHP')) $lang_catmgr_php = array(
-  'miss_param' => 'Параметры, требуемые для выполнения операции \'%s\', не предоставлены!',
-  'unknown_cat' => 'Выбранная категория не существует в базе',
-  'usergal_cat_ro' => 'Категория альбомов пользователей не может быть удалена!',
-  'manage_cat' => 'Управление категориями',
-  'confirm_delete' => 'Вы уверены, что хотите УДАЛИТЬ эту категорию?', //js-alert
-  'category' => 'Категория',
-  'operations' => 'Операции',
-  'move_into' => 'Перенести в',
-  'update_create' => 'Обновить/Создать категорию',
-  'parent_cat' => 'Категория верхнего уровня',
-  'cat_title' => 'Название категории',
-  'cat_thumb' => 'Миниатюра категории',
-  'cat_desc' => 'Описание категории',
-  'categories_alpha_sort' => 'Сортировать категории по алфавиту (вместо выбранного порядка сортировки)', //cpg1.4
-  'save_cfg' => 'Сохранить конфигурацию', //cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File admin.php //cpg1.4
-// ------------------------------------------------------------------------- //
-
-if (defined('ADMIN_PHP')) $lang_admin_php = array(
-  'title' => 'Конфигурация галереи', //cpg1.4
-  'manage_exif' => 'Управлять отображением Exif информации', //cpg1.4
-  'manage_plugins' => 'Управлять плугинами', //cpg1.4
-  'manage_keyword' => 'Управлять ключевыми словами', //cpg1.4
-  'restore_cfg' => 'Восстановить настройки по умолчанию',
-  'save_cfg' => 'Сохранить новую конфигурацию',
-  'notes' => 'Заметки',
-  'info' => 'Информация',
-  'upd_success' => 'Конфигурация галереи была обновлена',
-  'restore_success' => 'Настройки галереи по умолчанию были восстановлены',
-  'name_a' => 'Имя [возрастание]',
-  'name_d' => 'Имя [убывание]',
-  'title_a' => 'Название [возрастание]',
-  'title_d' => 'Название [убывание]',
-  'date_a' => 'Дата [возрастание]',
-  'date_d' => 'Дата [убывание]',
-  'pos_a' => 'Позиция [возрастание]', //cpg1.4
-  'pos_d' => 'Позиция [убывание]', //cpg1.4
-  'th_any' => 'Макс. размер',
-  'th_ht' => 'Высота',
-  'th_wd' => 'Ширина',
-  'label' => 'описание',
-  'item' => 'флаг',
-  'debug_everyone' => 'Всем',
-  'debug_admin' => 'Только админы',
-  'no_logs'=> 'Выключен', //cpg1.4
-  'log_normal'=> 'Стандартный', //cpg1.4
-  'log_all' => 'Все', //cpg1.4
-  'view_logs' => 'Просмотр логов', //cpg1.4
-  'click_expand' => 'кликните на секцию, чтобы развернуть', //cpg1.4
-  'expand_all' => 'Развернуть все', //cpg1.4
-  'notice1' => '(*) Эти настройки недолжны изменяться, если у Вас уже есть файлы в базе данных.', //cpg1.4 - (relocated)
-  'notice2' => '(**) Когда изменяете эти настройки, то будут затронуты файлы, добавленные после данного изменения, поэтому не рекомендуется изменять эти настройки, если у Вас уже есть файлы в галерее. Несмотря на это Вы можете применить изменения к существующим файлам с помощью &quot;<a href="util.php">Инструмент администратора</a>&quot;.', //cpg1.4 - (relocated)
-  'notice3' => '(***) Все лог файлы ведутся на английском языке.', //cpg1.4 - (relocated)
-  'bbs_disabled' => 'Функция недоступна, когда используется интеграция', //cpg1.4
-  'auto_resize_everyone' => 'Все', //cpg1.4
-  'auto_resize_user' => 'Только пользователи', //cpg1.4
-  'ascending' => 'возрастание', //cpg1.4
-  'descending' => 'убывание', //cpg1.4
-);
-
-if (defined('ADMIN_PHP')) $lang_admin_data = array(
-  'Общий настройки',
-  array('Название галереи', 'gallery_name', 0, 'f=index.htm&amp;as=admin_general_name&amp;ae=admin_general_name_end'), //cpg1.4
-  array('Описание галереи', 'gallery_description', 0, 'f=index.htm&amp;as=admin_general_description&amp;ae=admin_general_description_end'), //cpg1.4
-  array('Email адрес администратора', 'gallery_admin_email', 0, 'f=index.htm&amp;as=admin_general_email&amp;ae=admin_general_email_end'), //cpg1.4
-  array('Ссылка на папку Вашей галереи (никаких \'index.php\' или что-то подобного на конце ссылки)<br /><font size="-7">Ранее пункт назывался: Начальный адрес для ссылки \'Посмотреть остальные картинки!\' в открытках</font>', 'ecards_more_pic_target', 0, 'f=index.htm&amp;as=admin_general_coppermine-url&amp;ae=admin_general_coppermine-url_end'), //cpg1.4
-  array('Ссылка на Вашу домашнюю страницу', 'home_target', 0, 'f=index.htm&amp;as=admin_general_home-url&amp;ae=admin_general_home-url_end'), //cpg1.4
-  array('Включить ZIP-скачивание в избранном', 'enable_zipdownload', 1, 'f=index.htm&amp;as=admin_general_zip-download&amp;ae=admin_general_zip-download_end'), //cpg1.4
-  array('Разница во времени относительно GMT (текущее время: ' . localised_date(-1, $comment_date_fmt) . ')','time_offset',0, 'f=index.htm&amp;as=admin_general_time-offset&amp;ae=admin_general_time-offset_end&amp;top=1'), //cpg1.4
-  array('Включить шифрование паролей (нельзя отменить)','enable_encrypted_passwords',1, 'f=index.htm&amp;as=admin_general_encrypt_password_start&amp;ae=admin_general_encrypt_password_end&amp;top=1'), // cpg 1.4
-  array('Включить иконки помощи (помощь доступна только на английском языке)','enable_help',9, 'f=index.htm&amp;as=admin_general_help&amp;ae=admin_general_help_end'), //cpg1.4
-  array('Включить кликабельность ключевых слов в поиске','clickable_keyword_search',14, 'f=index.htm&amp;as=admin_general_keywords_start&amp;ae=admin_general_keywords_end'), //cpg1.4
-  array('Включить плугины', 'enable_plugins', 12, 'f=index.htm&amp;as=admin_general_enable-plugins&amp;ae=admin_general_enable-plugins_end'),  //cpg1.4
-  array('Разрешить бан локальных IP адресов', 'ban_private_ip', 1,  'f=index.htm&amp;as=admin_general_private-ip&amp;ae=admin_general_private-ip_end'), //cpg1.4
-  array('Встроенный проводник в групповом добавление файлов', 'browse_batch_add', 1, 'f=index.htm&amp;as=admin_general_browsable_batch_add&amp;ae=admin_general_browsable_batch_add_end'), //cpg1.4
-
-  'Язык &amp; Настройка кодировки',
-  array('Язык', 'lang', 5, 'f=index.htm&amp;as=admin_language_language&amp;ae=admin_language_language_end'), //cpg1.4
-  array('Использовать английский вариант, если фраза не найдена?', 'language_fallback', 1, 'f=index.htm&amp;as=admin_language_fallback&amp;ae=admin_language_fallback_end'), //cpg1.4
-  array('Кодировка символов', 'charset', 4, 'f=index.htm&amp;as=admin_language_charset&amp;ae=admin_language_charset_end'), //cpg1.4
-  array('Отображать список языков', 'language_list', 1, 'f=index.htm&amp;as=admin_language_list&amp;ae=admin_language_list_end'), //cpg1.4
-  array('Отображать флаги языков', 'language_flags', 8, 'f=index.htm&amp;as=admin_language_flags&amp;ae=admin_language_flags_end&amp;top=1'), //cpg1.4
-  array('Отображать &quot;Язык по умолчанию&quot; в выборе языков', 'language_reset', 1, 'f=index.htm&amp;as=admin_language_reset&amp;ae=admin_language_reset_end&amp;top=1'), //cpg1.4
-  //array('Отображать предыдущий/следующий на закладках', 'previous_next_tab', 1), //cpg1.4
-
-  'Настройки тем',
-  array('Тема', 'theme', 6, 'f=index.htm&amp;as=admin_theme_theme&amp;ae=admin_theme_theme_end'), //cpg1.4
-  array('Отображать список тем', 'theme_list', 1, 'f=index.htm&amp;as=admin_theme_theme_list&amp;ae=admin_theme_theme_list_end'), //cpg1.4
-  array('Отображать &quot;Тема по умолчанию&quot; в выборе тем', 'theme_reset', 1, 'f=index.htm&amp;as=admin_theme_theme_reset&amp;ae=admin_theme_theme_reset_end'), //cpg1.4
-  array('Отображать FAQ', 'display_faq', 1, 'f=index.htm&amp;as=admin_theme_faq&amp;ae=admin_theme_faq_end'), //cpg1.4
-  array('Название дополнительной ссылки в меню', 'custom_lnk_name', 0,'f=index.htm&amp;as=admin_theme_custom_lnk_name&amp;ae=admin_theme_custom_lnk_name_end'), //cpg1.4
-  array('Адрес дополнительной ссылки в меню', 'custom_lnk_url', 0,'f=index.htm&amp;as=admin_language_custom_lnk_url&amp;ae=admin_language_custom_lnk_url_end'), //cpg1.4
-  array('Отображать помощь по bbcode', 'show_bbcode_help', 1, 'f=index.htm&amp;as=admin_theme_bbcode&amp;ae=admin_theme_bbcode_end&amp;top=1'), //cpg1.4
-  array('Отображать иконки совместимости внизу страницы для тем, которые поддерживают XHTML и CSS','vanity_block',1, 'f=index.htm&amp;as=vanity_block&amp;ae=vanity_block_end'), //cpg1.4
-  array('Путь к дополнительному файлу верхней части галереи', 'custom_header_path', 0, 'f=index.htm&amp;as=admin_theme_include_path_start&amp;ae=admin_theme_include_path_end'), //cpg1.4
-  array('Путь к дополнительному файлу нижней части галереи', 'custom_footer_path', 0, 'f=index.htm&amp;as=admin_theme_include_path_start&amp;ae=admin_theme_include_path_end'), //cpg1.4
-
-  'Отображение списка альбомов',
-  array('Ширина главной таблицы (пиксели или %)', 'main_table_width', 0, 'f=index.htm&amp;as=admin_album_table-width&amp;ae=admin_album_table-width_end'), //cpg1.4
-  array('Количество отображаемых уровней категорий', 'subcat_level', 0, 'f=index.htm&amp;as=admin_album_category-levels&amp;ae=admin_album_category-levels_end'), //cpg1.4
-  array('Количество отображаемых альбомов', 'albums_per_page', 0, 'f=index.htm&amp;as=admin_album_number&amp;ae=admin_album_number_end'), //cpg1.4
-  array('Количество колонок для списка альбомов', 'album_list_cols', 0, 'f=index.htm&amp;as=admin_album_columns&amp;ae=admin_album_columns_end'), //cpg1.4
-  array('Размер миниатюр в пикселях', 'alb_list_thumb_size', 0, 'f=index.htm&amp;as=admin_album_thumbnail-size&amp;ae=admin_album_thumbnail-size_end'), //cpg1.4
-  array('Содержание главной страницы', 'main_page_layout', 0, 'f=index.htm&amp;as=admin_album_list_content&amp;ae=admin_album_list_content_end'), //cpg1.4
-  array('Отображать миниатюры альбомов первого уровня в категориях','first_level',1, 'f=index.htm&amp;as=admin_album_first-level_thumbs&amp;ae=admin_album_first-level_thumbs_end'), //cpg1.4
-  array('Сортировать категории по алфавиту (вместо выбранного порядка сортировки)','categories_alpha_sort',1, 'f=index.htm&amp;as=admin_album_list_alphasort_start&amp;ae=admin_album_list_alphasort_end'), //cpg1.4
-  array('Отображать число присоединенных файлов','link_pic_count',1, 'f=index.htm&amp;as=admin_album_linked_files_start&amp;ae=admin_album_linked_files_end'), //cpg1.4
-
-  'Отображение миниатюр',
-  array('Количество колонок на странице с миниатюрами', 'thumbcols', 0, 'f=index.htm&amp;as=admin_thumbnail_columns&amp;ae=admin_thumbnail_columns_end'), //cpg1.4
-  array('Количество строк на странице с миниатюрами', 'thumbrows', 0, 'f=index.htm&amp;as=admin_thumbnail_rows&amp;ae=admin_thumbnail_rows_end'), //cpg1.4
-  array('Максимальное количество отображаемых вкладок', 'max_tabs', 10, 'f=index.htm&amp;as=admin_thumbnail_tabs&amp;ae=admin_thumbnail_tabs_end'), //cpg1.4
-  array('Отображать под миниатюрой описание файла (в дополнение к названию)', 'caption_in_thumbview', 1, 'f=index.htm&amp;as=admin_thumbnail_display_caption&amp;ae=admin_thumbnail_display_caption_end'), //cpg1.4
-  array('Отображать под миниатюрой количество просмотров', 'views_in_thumbview', 1, 'f=index.htm&amp;as=admin_thumbnail_display_views&amp;ae=admin_thumbnail_display_views_end'), //cpg1.4
-  array('Отображать под миниатюрой количество комментариев', 'display_comment_count', 1, 'f=index.htm&amp;as=admin_thumbnail_display_comments&amp;ae=admin_thumbnail_display_comments_end'), //cpg1.4
-  array('Отображать под миниатюрой имя пользователя загрузившего файл', 'display_uploader', 1, 'f=index.htm&amp;as=admin_thumbnail_display_uploader&amp;ae=admin_thumbnail_display_uploader_end'), //cpg1.4
-  //array('Отображать под миниатюрой имена админов загрузивших файл', 'display_admin_uploader', 1, 'f=index.htm&amp;as=admin_thumbnail_display_admin_uploader&amp;ae=admin_thumbnail_display_admin_uploader_end'), //cpg1.4
-  array('Отображать под миниатюрой имя файла', 'display_filename', 1, 'f=index.htm&amp;as=admin_thumbnail_display_filename&amp;ae=admin_thumbnail_display_filename_end'), //cpg1.4
-  //array('Отображать описание альбома', 'alb_desc_thumb', 1, 'f=index.htm&amp;as=admin_thumbnail_display_description&amp;ae=admin_thumbnail_display_description_end'), //cpg1.4
-  array('Порядок сортировки файлов по умолчанию', 'default_sort_order', 3, 'f=index.htm&amp;as=admin_thumbnail_default_sortorder&amp;ae=admin_thumbnail_default_sortorder_end'), //cpg1.4
-  array('Минимальное количество голосов для файла, чтобы он появился в списке \'Лучшие по рейтингу\'', 'min_votes_for_rating', 0, 'f=index.htm&amp;as=admin_thumbnail_minimum_votes&amp;ae=admin_thumbnail_minimum_votes_end'), //cpg1.4
-
-  'Отображение изображений', //cpg1.4
-  array('Ширина таблицы для отображения файла (пиксели или %)', 'picture_table_width', 0, 'f=index.htm&amp;as=admin_image_comment_table-width&amp;ae=admin_image_comment_table-width_end'), //cpg1.4
-  array('Информация о файле видна по умолчанию', 'display_pic_info', 1, 'f=index.htm&amp;as=admin_image_comment_info_visible&amp;ae=admin_image_comment_info_visible_end'), //cpg1.4
-  array('Максимальная длина описания файла', 'max_img_desc_length', 0, 'f=index.htm&amp;as=admin_image_comment_descr_length&amp;ae=admin_image_comment_descr_length_end'), //cpg1.4
-  array('Максимальное количество символов в слове', 'max_com_wlength', 0, 'f=index.htm&amp;as=admin_image_comment_chars_per_word&amp;ae=admin_image_comment_chars_per_word_end'), //cpg1.4
-  array('Показывать диафильм', 'display_film_strip', 1, 'f=index.htm&amp;as=admin_image_comment_filmstrip_toggle&amp;ae=admin_image_comment_filmstrip_toggle_end'), //cpg1.4
-  array('Отображать имена файлов под кадрами диафильма', 'display_film_strip_filename', 1, 'f=index.htm&amp;as=admin_image_comment_display_film_strip_filename&amp;ae=admin_image_comment_display_film_strip_filename_end'), //cpg1.4
-  array('Количество кадров в диафильме', 'max_film_strip_items', 0, 'f=index.htm&amp;as=admin_image_comment_filmstrip_number&amp;ae=admin_image_comment_filmstrip_number_end'), //cpg1.4
-  array('Интервал слайд-шой в миллисекундах (1 секунда = 1000 миллисекунд)', 'slideshow_interval', 0, 'f=index.htm&amp;as=admin_image_comment_slideshow_interval&amp;ae=admin_image_comment_slideshow_interval_end'), //cpg1.4
-
-  'Настройки комментариев', //cpg1.4
-  array('Фильтровать плохие слова в комментариях', 'filter_bad_words', 1, 'f=index.htm&amp;as=admin_image_comment_bad_words&amp;ae=admin_image_comment_bad_words_end'), //cpg1.4
-  array('Разрешить смайлы в комментариях', 'enable_smilies', 1, 'f=index.htm&amp;as=admin_image_comment_smilies&amp;ae=admin_image_comment_smilies_end'), //cpg1.4
-  array('Разрешить несколько последовательных комментариев к одному файлу от одного и того же пользователя (отключить защиту от флуда)', 'disable_comment_flood_protect', 1, 'f=index.htm&amp;as=admin_image_comment_flood&amp;ae=admin_image_comment_flood_end'), //cpg1.4
-  array('Максимальное количество строк в комментарии', 'max_com_lines', 0, 'f=index.htm&amp;as=admin_image_comment_lines&amp;ae=admin_image_comment_lines_end'), //cpg1.4
-  array('Максимальная длина комментария', 'max_com_size', 0, 'f=index.htm&amp;as=admin_image_comment_length&amp;ae=admin_image_comment_length_end'), //cpg1.4
-  array('Уведомлять админа по email о добавленных комментариях', 'email_comment_notification', 1, 'f=index.htm&amp;as=admin_image_comment_admin_notify&amp;ae=admin_image_comment_admin_notify_end'), //cpg1.4
-  array('Порядок сортировки комментариев', 'comments_sort_descending', 17, 'f=index.htm&amp;as=admin_comment_sort_start&amp;ae=admin_comment_sort_end'), //cpg1.4
-  array('Префикс для комментариев анонимных пользователей', 'comments_anon_pfx', 0, 'f=index.htm&amp;as=comments_anon_pfx&amp;ae=comments_anon_pfx_end'), //cpg1.4
-
-  'Настройки файлов и миниатюр',
-  array('Качество для JPEG файлов (в %)', 'jpeg_qual', 0, 'f=index.htm&amp;as=admin_picture_thumbnail_jpeg_quality&amp;ae=admin_picture_thumbnail_jpeg_quality_end'), //cpg1.4
-  array('Максимальный размер миниатюры <a href="#notice2" class="clickable_option">**</a>', 'thumb_width', 0, 'f=index.htm&amp;as=admin_picture_thumbnail_max-dimension&amp;ae=admin_picture_thumbnail_max-dimension_end'), //cpg1.4
-  array('Использовать размер (ширина или высота или максимальный размер для миниатюры) <a href="#notice2" class="clickable_option">**</a>', 'thumb_use', 7, 'f=index.htm&amp;as=admin_picture_thumbnail_use-dimension&amp;ae=admin_picture_thumbnail_use-dimension_end'), //cpg1.4
-  array('Создавать промежуточные изображения','make_intermediate',1, 'f=index.htm&amp;as=admin_picture_thumbnail_intermediate_toggle&amp;ae=admin_picture_thumbnail_intermediate_toggle_end'), //cpg1.4
-  array('Максимальная ширина или высота для промежуточных изображений/видео (пиксели) <a href="#notice2" class="clickable_option">**</a>', 'picture_width', 0, 'f=index.htm&amp;as=admin_picture_thumbnail_intermediate_dimension&amp;ae=admin_picture_thumbnail_intermediate_dimension_end'), //cpg1.4
-  array('Максимальных размер загружаемых файлов (KB)', 'max_upl_size', 0, 'f=index.htm&amp;as=admin_picture_thumbnail_max_upload_size&amp;ae=admin_picture_thumbnail_max_upload_size_end'), //cpg1.4
-  array('Максимальная ширина или высота для загруженных изображений/видео (пиксели)', 'max_upl_width_height', 0, 'f=index.htm&amp;as=admin_picture_thumbnail_max_upload_dimension&amp;ae=admin_picture_thumbnail_max_upload_dimension_end'), //cpg1.4
-  array('Автоматически изменять размер изображений, которые больше чем макс. ширина или высота', 'auto_resize', 16, 'f=index.htm&amp;as=admin_picture_thumbnail_auto-resize&amp;ae=admin_picture_thumbnail_auto-resize_end'), //cpg1.4
-
-  'Дополнительные настройки файлов и миниатюр',
-  array('Пользователи могут иметь приватные альбомы (Внимание: если Вы переключите с \'Да\' на \'Нет\', текущие приватные альбомы станут публичными)', 'allow_private_albums', 1, 'f=index.htm&amp;as=admin_picture_thumb_advanced_private_toggle&amp;ae=admin_picture_thumb_advanced_private_toggle_end'), //cpg1.4
-  array('Показывать иконку приватного альбома для гостя','show_private',1, 'f=index.htm&amp;as=admin_picture_thumb_advanced_private_icon_show&amp;ae=admin_picture_thumb_advanced_private_icon_show_end'), //cpg1.4
-  array('Символы, запрещенные в именах файлов', 'forbiden_fname_char',0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_filename_forbidden_chars&amp;ae=admin_picture_thumb_advanced_filename_forbidden_chars_end'), //cpg1.4
-  //array('Разрешенные типы файлов для загрузки картинок', 'allowed_file_extensions',0, 'f=index.htm&amp;as=&amp;ae=_end'), //cpg1.4
-  array('Разрешенные типы изображений', 'allowed_img_types',0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_pic_extensions&amp;ae=admin_picture_thumb_advanced_pic_extensions_end'), //cpg1.4
-  array('Разрешенные типы видео файлов', 'allowed_mov_types',0, 'f=index.htm&amp;as=admin_thumbs_advanced_movie&amp;ae=admin_thumbs_advanced_movie_end'), //cpg1.4
-  array('Автоматический просмотр видео', 'media_autostart',1, 'f=index.htm&amp;as=admin_movie_autoplay&amp;ae=admin_movie_autoplay_end'), //cpg1.4
-  array('Разрешенные типы аудио файлов', 'allowed_snd_types',0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_audio_extensions&amp;ae=admin_picture_thumb_advanced_audio_extensions_end'), //cpg1.4
-  array('Разрешенные типы документов', 'allowed_doc_types',0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_doc_extensions&amp;ae=admin_picture_thumb_advanced_doc_extensions_end'), //cpg1.4
-  array('Метод изменения размеров изображений','thumb_method',2, 'f=index.htm&amp;as=admin_picture_thumb_advanced_resize_method&amp;ae=admin_picture_thumb_advanced_resize_method_end'), //cpg1.4
-  array('Путь к утилите ImageMagick \'convert\' (пример /usr/bin/X11/)', 'impath', 0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_im_path&amp;ae=admin_picture_thumb_advanced_im_path_end'), //cpg1.4
-  //array('Разрешенные типы изображений (действительно только для ImageMagick)', 'allowed_img_types',0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_allowed_imagetypes&amp;ae=admin_picture_thumb_advanced_allowed_imagetypes_end'), //cpg1.4
-  array('Параметры командной строки для ImageMagick', 'im_options', 0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_im_commandline&amp;ae=admin_picture_thumb_advanced_im_commandline_end'), //cpg1.4
-  array('Считывать EXIF информацию в JPEG файлах', 'read_exif_data', 13, 'f=index.htm&amp;as=admin_picture_thumb_advanced_exif&amp;ae=admin_picture_thumb_advanced_exif_end'), //cpg1.4
-  array('Считывать IPTC информацию в JPEG файлах', 'read_iptc_data', 1, 'f=index.htm&amp;as=admin_picture_thumb_advanced_iptc&amp;ae=admin_picture_thumb_advanced_iptc_end'), //cpg1.4
-  array('Директория альбома <a href="#notice1" class="clickable_option">*</a>', 'fullpath', 0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_albums_dir&amp;ae=admin_picture_thumb_advanced_albums_dir_end'), //cpg1.4
-  array('Директория для файлов пользователей <a href="#notice1" class="clickable_option">*</a>', 'userpics', 0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_userpics_dir&amp;ae=admin_picture_thumb_advanced_userpics_dir_end'), //cpg1.4
-  array('Префикс для промежуточных изображений <a href="#notice1" class="clickable_option">*</a>', 'normal_pfx', 0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_intermediate_prefix&amp;ae=admin_picture_thumb_advanced_intermediate_prefix_end'), //cpg1.4
-  array('Префикс для миниатюр <a href="#notice1" class="clickable_option">*</a>', 'thumb_pfx', 0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_thumbs_prefix&amp;ae=admin_picture_thumb_advanced_thumbs_prefix_end'), //cpg1.4
-  array('Режим по умолчанию для директорий', 'default_dir_mode', 0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_chmod_folder&amp;ae=admin_picture_thumb_advanced_chmod_folder_end'), //cpg1.4
-  array('Режим по умолчанию для файлов', 'default_file_mode', 0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_chmod_files&amp;ae=admin_picture_thumb_advanced_chmod_files_end'), //cpg1.4
-
-  'Настройки пользователей',
-  array('Разрешить регистрацию новых пользователей', 'allow_user_registration', 1, 'f=index.htm&amp;as=admin_allow_registration&amp;ae=admin_allow_registration_end'), //cpg1.4
-  array('Разрешить анонимный доступ (гости или анонимные пользователи)', 'allow_unlogged_access', 1, 'f=index.htm&amp;as=admin_allow_unlogged_access&amp;ae=admin_allow_unlogged_access_end'), //cpg1.4
-  array('Регистрация требует проверку подлинности через email', 'reg_requires_valid_email', 1, 'f=index.htm&amp;as=admin_registration_verify&amp;ae=admin_registration_verify_end'), //cpg1.4
-  array('Уведомлять админа о регистрации нового пользователя по email', 'reg_notify_admin_email', 1, 'f=index.htm&amp;as=admin_registration_notify&amp;ae=admin_registration_notify_end'), //cpg1.4
-  array('Активация регистрации пользователей админом', 'admin_activation', 1, 'f=index.htm&amp;as=admin_activation&amp;ae=admin_activation_end'),  //cpg1.4
-  array('Разрешить двум пользователям иметь один и тот же email адрес', 'allow_duplicate_emails_addr', 1, 'f=index.htm&amp;as=admin_allow_duplicate_emails_addr&amp;ae=admin_allow_duplicate_emails_addr_end'), //cpg1.4
-  array('Уведомлять админа об ожидании пользователем подтверждения загрузки', 'upl_notify_admin_email', 1, 'f=index.htm&amp;as=admin_approval_notify&amp;ae=admin_approval_notify_end'), //cpg1.4
-  array('Разрешить вошедшим пользователям просматривать список пользователей', 'allow_memberlist', 1, 'f=index.htm&amp;as=admin_user_memberlist&amp;ae=admin_user_memberlist_end'), //cpg1.4
-  array('Разрешить пользователям изменять их email адрес в профиле', 'allow_email_change', 1, 'f=index.htm&amp;as=admin_user_allow_email_change&amp;ae=admin_user_allow_email_change_end'), //cpg1.4
-  array('Разрешить пользователям вносить изменения в их файлы в публичных галереях', 'users_can_edit_pics', 1, 'f=index.htm&amp;as=admin_user_editpics_public_start&amp;ae=admin_user_editpics_public_end'), //cpg1.4
-  array('Количество неудавшихся попыток входа в галерею для получения временного бана (чтобы избежать попыток подбора паролей)', 'login_threshold', 0, 'f=index.htm&amp;as=admin_user_login_start&amp;ae=admin_user_login_end'), //cpg1.4
-  array('Продолжительность временного бана (в минутах)', 'login_expiry', 0, 'f=index.htm&amp;as=admin_user_login_start&amp;ae=admin_user_login_end'), //cpg1.4
-  array('Включить уведомление администратора', 'report_post', 1, 'f=index.htm&amp;as=admin_user_enable_report&amp;ae=admin_user_enable_report_end'),  //cpg1.4
-
-// custom profile fields,  //cpg1.4
-  'Дополнительные поля для профиля пользователя (оставьте пустыми, если не хотите использовать)<br />
-  Используйте поле 6 для длинных описаний, к примеру, для биографии', //cpg1.4
-  array('Имя поля 1', 'user_profile1_name', 0, 'f=index.htm&amp;as=admin_custom&amp;ae=admin_custom_end'), //cpg1.4
-  array('Имя поля 2', 'user_profile2_name', 0), //cpg1.4
-  array('Имя поля 3', 'user_profile3_name', 0), //cpg1.4
-  array('Имя поля 4', 'user_profile4_name', 0), //cpg1.4
-  array('Имя поля 5', 'user_profile5_name', 0), //cpg1.4
-  array('Имя поля 6', 'user_profile6_name', 0), //cpg1.4
-
-  'Дополнительные поля для описания изображений (оставьте пустыми, если не хотите использовать)',
-  array('Имя поля 1', 'user_field1_name', 0, 'f=index.htm&amp;as=admin_custom_image&amp;ae=admin_custom_image_end'), //cpg1.4
-  array('Имя поля 2', 'user_field2_name', 0),
-  array('Имя поля 3', 'user_field3_name', 0),
-  array('Имя поля 4', 'user_field4_name', 0),
-
-  'Настройки cookie',
-  array('Имя куки', 'cookie_name', 0, 'f=index.htm&amp;as=admin_cookie_name&amp;ae=admin_cookie_name_end'), //cpg1.4
-  array('Путь куки', 'cookie_path', 0, 'f=index.htm&amp;as=admin_cookie_path&amp;ae=admin_cookie_path_end'), //cpg1.4
-
-  'Настройки email (обычно ничего изменять не нужно; оставьте все поля пустыми, если не уверены в настройках)', //cpg1.4
-  array('Адрес сервера SMTP (если пусто, будет использоваться sendmail)', 'smtp_host', 0, 'f=index.htm&amp;as=admin_email&amp;ae=admin_email_end'), //cpg1.4
-  array('Имя пользователя для SMTP', 'smtp_username', 0), //cpg1.4
-  array('Пароль для SMTP', 'smtp_password', 0), //cpg1.4
-
-  'Логи и статистика', //cpg1.4
-  array('Режим ведения логов <a href="#notice3" class="clickable_option">***</a>', 'log_mode', 11, 'f=index.htm&amp;as=admin_logging_log_mode&amp;ae=admin_logging_log_mode_end'), //cpg1.4
-  array('Вести логи для открыток', 'log_ecards', 1, 'f=index.htm&amp;as=admin_general_log_ecards&amp;ae=admin_general_log_ecards_end'), //cpg1.4
-  array('Вести детализированную статистику голосования','vote_details',1, 'f=index.htm&amp;as=admin_logging_votedetails&amp;ae=admin_logging_votedetails_end'), //cpg1.4
-  array('Вести детализированную статистику хитов','hit_details',1, 'f=index.htm&amp;as=admin_logging_hitdetails&amp;ae=admin_logging_hitdetails_end'), //cpg1.4
-
-  'Настройки для отладочных работ', //cpg1.4
-  array('Включить режим отладки', 'debug_mode', 9, 'f=index.htm&amp;as=debug_mode&amp;ae=debug_mode_end'), //cpg1.4
-  array('Отображать сообщения в режиме отладки', 'debug_notice', 1, 'f=index.htm&amp;as=admin_misc_debug_notices&amp;ae=admin_misc_debug_notices_end'), //cpg1.4
-  array('Галерея отключена', 'offline', 1, 'f=index.htm&amp;as=admin_general_offline&amp;ae=admin_general_offline_end'), //cpg1.4
-);
-
-
-// ------------------------------------------------------------------------- //
-// File db_ecard.php
-// ------------------------------------------------------------------------- //
-
-if (defined('DB_ECARD_PHP')) $lang_db_ecard_php = array(
-  'title' => 'Послать открытки',
-  'ecard_sender' => 'Отправитель',
-  'ecard_recipient' => 'Получатель',
-  'ecard_date' => 'Дата',
-  'ecard_display' => 'Показать открытку',
-  'ecard_name' => 'Имя',
-  'ecard_email' => 'Email',
-  'ecard_ip' => 'IP #',
-  'ecard_ascending' => '[по возрастанию]',
-  'ecard_descending' => '[по убыванию]',
-  'ecard_sorted' => 'Отсортированы',
-  'ecard_by_date' => 'по дате',
-  'ecard_by_sender_name' => 'по имени отправителя',
-  'ecard_by_sender_email' => 'по email отправителя',
-  'ecard_by_sender_ip' => 'по IP отправителя',
-  'ecard_by_recipient_name' => 'по имени получателя',
-  'ecard_by_recipient_email' => 'по email получателя',
-  'ecard_number' => 'отображаю записи от %s до %s из %s',
-  'ecard_goto_page' => 'перейти на страницу',
-  'ecard_records_per_page' => 'Записей на странице',
-  'check_all' => 'Отметить все',
-  'uncheck_all' => 'Снять отметки',
-  'ecards_delete_selected' => 'Удалить выбранные открытки',
-  'ecards_delete_confirm' => 'Вы уверены, что хотите удалить записи? Отметьте галкой!',
-  'ecards_delete_sure' => 'Я уверен',
-);
-
-
-// ------------------------------------------------------------------------- //
-// File db_input.php
-// ------------------------------------------------------------------------- //
-
-if (defined('DB_INPUT_PHP')) $lang_db_input_php = array(
-  'empty_name_or_com' => 'Вы должны ввести своё имя и комментарий',
-  'com_added' => 'Ваш комментарий был добавлен',
-  'alb_need_title' => 'Вы должны задать название альбому!',
-  'no_udp_needed' => 'Обновление не требуется.',
-  'alb_updated' => 'Альбом был обновлен',
-  'unknown_album' => 'Выбранный альбом не существует или у Вас нет прав добавлять в этот альбом',
-  'no_pic_uploaded' => 'Ни один файл не был загружен!<br /><br />Если Вы действительно выбрали файл для закачки, проверьте, разрешает ли сервер производить закачки...',
-  'err_mkdir' => 'Ошибка в создании директории %s !',
-  'dest_dir_ro' => 'Указанная директория %s не имеет прав на запись!',
-  'err_move' => 'Не могу перенести %s в %s !',
-  'err_fsize_too_large' => 'Размер файла, который Вы загрузили, слишком большой (максимально разрешено %s x %s) !', //obsolete since cpg1.3 - consider removal in cpg1.4 once upload.php has been overhauled
-  'err_imgsize_too_large' => 'Размер файла, который Вы загрузили, слишком большой (максимально разрешено %s КБ) !', //obsolete since cpg1.3 - consider removal in cpg1.4 once upload.php has been overhauled
-  'err_invalid_img' => 'Файл, который Вы загрузили, не является правильным изображением!',
-  'allowed_img_types' => 'Вы можете загружать только %s изображения.',
-  'err_insert_pic' => 'Файл \'%s\' не может быть добавлен в альбом ',
-  'upload_success' => 'Ваш файл был успешно добавлен.<br /><br />Он станет доступным после подтверждения администрацией сайта.',
-  'notify_admin_email_subject' => '%s - Уведомление о загрузке файла',
-  'notify_admin_email_body' => 'Было загружено изображение пользователем %s, которое трубует подтверждения. Посетите %s',
-  'info' => 'Информация',
-  'com_added' => 'Добавлен комментарий',
-  'alb_updated' => 'Альбом обновлен',
-  'err_comment_empty' => 'Ваш комментарий пуст!',
-  'err_invalid_fext' => 'Разрешены только файлы с расширениями: <br /><br />%s.',
-  'no_flood' => 'Простите, но Вы являетесь автором последнего комментария для данного файла.<br /><br />Отредактируйте Ваш комментарий, если Вы хотите его изменить.',
-  'redirect_msg' => 'Вы перенаправляетесь.<br /><br /><br />Нажмите \'ПРОДОЛЖИТЬ\', если страница не обновится автоматически.',
-  'upl_success' => 'Ваш файл был успешно добавлен',
-  'email_comment_subject' => 'Добавлен комментарий в Coppermine Photo Gallery',
-  'email_comment_body' => 'Кто-то разместил комментарий в Вашей галерее. Просмотрите его.',
-  'album_not_selected' => 'Альбом не выбран', //cpg1.4
-  'com_author_error' => 'Зарегистрированный пользователь использует это имя, войдите или используйте другое имя', //cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File delete.php
-// ------------------------------------------------------------------------- //
-
-if (defined('DELETE_PHP')) $lang_delete_php = array(
-  'caption' => 'Описание',
-  'fs_pic' => 'полный размер изображения',
-  'del_success' => 'успешно удалено',
-  'ns_pic' => 'нормальный размер изображения',
-  'err_del' => 'не может быть удалено',
-  'thumb_pic' => 'миниатюра',
-  'comment' => 'комментарий',
-  'im_in_alb' => 'изображение в альбоме',
-  'alb_del_success' => 'Альбом &laquo;%s&raquo; удален', //cpg1.4
-  'alb_mgr' => 'Менеджер альбомов',
-  'err_invalid_data' => 'Получена неправильная информация в \'%s\'',
-  'create_alb' => 'Создаю альбом \'%s\'',
-  'update_alb' => 'Обновляю альбом \'%s\' с названием \'%s\' и индексом \'%s\'',
-  'del_pic' => 'Удалить файл',
-  'del_alb' => 'Удалить альбом',
-  'del_user' => 'Удалить пользователя',
-  'err_unknown_user' => 'Выбранный пользователь не существует!',
-  'err_empty_groups' => 'Отсутствует таблица группы или таблица группы пуста!', //cpg1.4
-  'comment_deleted' => 'Комментарий был успешно удален',
-  'npic' => 'Изображение', //cpg1.4
-  'pic_mgr' => 'Менеджер изображений', //cpg1.4
-  'update_pic' => 'Обновляю изображение \'%s\' с именем файла \'%s\' и индексом \'%s\'', //cpg1.4
-  'username' => 'Имя пользователя', //cpg1.4
-  'anonymized_comments' => '%s комментариев стали анонимными', //cpg1.4
-  'anonymized_uploads' => '%s публичных загрузок стали анонимными', //cpg1.4
-  'deleted_comments' => 'Удалено комментариев: %s', //cpg1.4
-  'deleted_uploads' => 'Удалено публичных загрузок: %s', //cpg1.4
-  'user_deleted' => 'пользователь %s удален', //cpg1.4
-  'activate_user' => 'Активировать пользователя', //cpg1.4
-  'user_already_active' => 'Учетная запись уже была активирована', //cpg1.4
-  'activated' => 'Активирован', //cpg1.4
-  'deactivate_user' => 'Деактивировать пользователя', //cpg1.4
-  'user_already_inactive' => 'Учетная запись уже была деактивирована', //cpg1.4
-  'deactivated' => 'Деактивирован', //cpg1.4
-  'reset_password' => 'Сбросить пароль', //cpg1.4
-  'password_reset' => 'Пароль сброшен для %s', //cpg1.4
-  'change_group' => 'Изменить основную группу', //cpg1.4
-  'change_group_to_group' => 'Изменение с %s на %s', //cpg1.4
-  'add_group' => 'Добавить вторичную группу', //cpg1.4
-  'add_group_to_group' => 'Добавляю пользователя %s в группу %s. Теперь он входит в основную группу %s и вторичную группу %s.', //cpg1.4
-  'status' => 'Статус', //cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File displayecard.php
-// ------------------------------------------------------------------------- //
-
-if (defined('DISPLAYECARD_PHP')) {
-
-$lang_displayecard_php = array(
-  'invalid_data' => 'Служебная информация для открытки, которую Вы пытаетесь просмотреть, была повреждена Вашей почтовой программой. Проверьте правильность ссылки.', //cpg1.4
-);
-}
-
-// ------------------------------------------------------------------------- //
-// File displayimage.php
-// ------------------------------------------------------------------------- //
-
-if (defined('DISPLAYIMAGE_PHP')){
-
-$lang_display_image_php = array(
-  'confirm_del' => 'Вы уверены что хотите УДАЛИТЬ этот файл?\\nКомментарии тоже будут удалены.', //js-alert
-  'del_pic' => 'УДАЛИТЬ ЭТОТ ФАЙЛ',
-  'size' => '%s x %s пикселей',
-  'views' => '%s раз(а)',
-  'slideshow' => 'Слайд-шоу',
-  'stop_slideshow' => 'ОСТАНОВИТЬ СЛАЙД-ШОУ',
-  'view_fs' => 'Нажмите, чтобы посмотреть в полный размер',
-  'edit_pic' => 'Изменить свойства файла', //cpg1.4
-  'crop_pic' => 'Обрезать и Повернуть',
-  'set_player' => 'Изменить проигрыватель', //cpg1.4
-);
-
-$lang_picinfo = array(
-  'title' =>'Информация о файле',
-  'Filename' => 'Имя файла',
-  'Album name' => 'Альбом',
-  'Rating' => 'Рейтинг (голосов: %s)',
-  'Keywords' => 'Ключевые слова',
-  'File Size' => 'Размер файла',
-  'Date Added' => 'Добавлен', //cpg1.4
-  'Dimensions' => 'Размеры',
-  'Displayed' => 'Просмотрен',
-  'URL' => 'Ссылка', //cpg1.4
-  'Make' => 'Производитель камеры', //cpg1.4
-  'Model' => 'Модель', //cpg1.4
-  'DateTime' => 'Дата Время', //cpg1.4
-  'ISOSpeedRatings'=>'ISO', //cpg1.4
-  'MaxApertureValue' => 'Макс. апертура', //cpg1.4
-  'FocalLength' => 'Фокусное расстояние', //cpg1.4
-  'Comment' => 'Комментарий',
-  'addFav'=>'Добавить в Избранное',
-  'addFavPhrase'=>'Избранные',
-  'remFav'=>'Удалить из Избранного',
-  'iptcTitle'=>'IPTC название',
-  'iptcCopyright'=>'IPTC авторское право',
-  'iptcKeywords'=>'IPTC ключевые слова',
-  'iptcCategory'=>'IPTC категория',
-  'iptcSubCategories'=>'IPTC под категория',
-  'ColorSpace' => 'Цветовое пространство', //cpg1.4
-  'ExposureProgram' => 'Режим выдержки', //cpg1.4
-  'Flash' => 'Вспышка', //cpg1.4
-  'MeteringMode' => 'Режим измерения', //cpg1.4
-  'ExposureTime' => 'Выдержка', //cpg1.4
-  'ExposureBiasValue' => 'Компенсация экспозиции', //cpg1.4
-  'ImageDescription' => 'Описание изображения', //cpg1.4
-  'Orientation' => 'Ориентация', //cpg1.4
-  'xResolution' => 'X разрешение', //cpg1.4
-  'yResolution' => 'Y разрешение', //cpg1.4
-  'ResolutionUnit' => 'Единица длины', //cpg1.4
-  'Software' => 'Программа', //cpg1.4
-  'YCbCrPositioning' => 'Положение точки в ячейке YСbCr', //cpg1.4
-  'ExifOffset' => 'сдвиг Exif', //cpg1.4
-  'IFD1Offset' => 'сдвиг IFD1', //cpg1.4
-  'FNumber' => 'Число диафрагмы', //cpg1.4
-  'ExifVersion' => 'Версия Exif', //cpg1.4
-  'DateTimeOriginal' => 'Время съемки', //cpg1.4
-  'DateTimedigitized' => 'Время создания цифрового файла', //cpg1.4
-  'ComponentsConfiguration' => 'Формат представления данных', //cpg1.4
-  'CompressedBitsPerPixel' => 'Средняя степень компрессии JPEG', //cpg1.4
-  'LightSource' => 'Источник света', //cpg1.4
-  'ISOSetting' => 'Режим ISO', //cpg1.4
-  'ColorMode' => 'Режим цвета', //cpg1.4
-  'Quality' => 'Качество', //cpg1.4
-  'ImageSharpening' => 'Резкость изображения', //cpg1.4
-  'FocusMode' => 'Режим фокуса', //cpg1.4
-  'FlashSetting' => 'Настройки вспышки', //cpg1.4
-  'ISOSelection' => 'Установленный ISO', //cpg1.4
-  'ImageAdjustment' => 'Контрастность изображения', //cpg1.4
-  'Adapter' => 'Адаптер', //cpg1.4
-  'ManualFocusDistance' => 'Дистанция ручного фокуса', //cpg1.4
-  'DigitalZoom' => 'Цифровой зум', //cpg1.4
-  'AFFocusPosition' => 'Выбор зоны фокусировки', //cpg1.4
-  'Saturation' => 'Насыщенность', //cpg1.4
-  'NoiseReduction' => 'Подавление шума', //cpg1.4
-  'FlashPixVersion' => 'Формат FlashPix', //cpg1.4
-  'ExifImageWidth' => 'Ширина изображения', //cpg1.4
-  'ExifImageHeight' => 'Высота изображения', //cpg1.4
-  'ExifInteroperabilityOffset' => 'Положение блока изображения', //cpg1.4
-  'FileSource' => 'Источник файла', //cpg1.4
-  'SceneType' => 'Тип сюжета', //cpg1.4
-  'CustomerRender' => 'Обработка изображения', //cpg1.4
-  'ExposureMode' => 'Режим выдержки', //cpg1.4
-  'WhiteBalance' => 'Баланс белого', //cpg1.4
-  'DigitalZoomRatio' => 'Коэффициент цифрового зума', //cpg1.4
-  'SceneCaptureMode' => 'Режим сюжетной программы', //cpg1.4
-  'GainControl' => 'Коэффициент усиления', //cpg1.4
-  'Contrast' => 'Контраст', //cpg1.4 
-  'Sharpness' => 'Резкость', //cpg1.4
-  'ManageExifDisplay' => 'Настроить отображение Exif', //cpg1.4
-  'submit' => 'Отправить', //cpg1.4
-  'success' => 'Информация успешно обновлена.', //cpg1.4
-  'details' => 'Детали', //cpg1.4
-);
-
-$lang_display_comments = array(
-  'OK' => 'OK',
-  'edit_title' => 'Изменить этот комментарий',
-  'confirm_delete' => 'Вы уверены, что хотите удалить этот комментарий?', //js-alert
-  'add_your_comment' => 'Добавить Ваш комментарий',
-  'name'=>'Имя',
-  'comment'=>'Комментарий',
-  'your_name' => 'Гость',
-  'report_comment_title' => 'Пожаловаться администратору на этот комментарий', //cpg1.4
-);
-
-$lang_fullsize_popup = array(
-  'click_to_close' => 'Нажмите на изображение, чтобы закрыть окно',
-);
-
-}
-
-// ------------------------------------------------------------------------- //
-// File ecard.php
-// ------------------------------------------------------------------------- //
-
-if (defined('ECARDS_PHP') || defined('DISPLAYECARD_PHP')) $lang_ecard_php =array(
-  'title' => 'Послать открытку',
-  'invalid_email' => '<font color="red"><b>Внимание</b></font>: неправильный формат email адреса!', //cpg1.4
-  'ecard_title' => 'Для Вас есть открытка от %s',
-  'error_not_image' => 'Только изображения могут быть посланы в качестве открытки.',
-  'view_ecard' => 'Если открытка не отображается корректно, пройдите по этой ссылке', //cpg1.4
-  'view_ecard_plaintext' => 'Чтобы просмотреть открытку, скопируйте и вставьте в Ваш браузер эту ссылку:', //cpg1.4
-  'view_more_pics' => 'Посмотреть остальные картинки!', //cpg1.4
-  'send_success' => 'Ваша открытка была отправлена',
-  'send_failed' => 'Извините, но сервер не может отправить Вашу открытку...',
-  'from' => 'От',
-  'your_name' => 'Ваше имя',
-  'your_email' => 'Ваш email адрес',
-  'to' => 'Кому',
-  'rcpt_name' => 'Имя получателя',
-  'rcpt_email' => 'Email адрес получателя',
-  'greetings' => 'Приветствие', //cpg1.4
-  'message' => 'Сообщение', //cpg1.4
-  'ecards_footer' => 'Отправлено %s с IP %s от %s (время галереи)', //cpg1.4
-  'preview' => 'Предварительный просмотр открытки', //cpg1.4
-  'preview_button' => 'Предварительный просмотр', //cpg1.4
-  'submit_button' => 'Отправить открытку', //cpg1.4
-  'preview_view_ecard' => 'Это будет дополнительная ссылка на открытку после её отправки. Ссылка не будет работать для предварительного просмотра.', //cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File report_file.php //cpg1.4
-// ------------------------------------------------------------------------- //
-
-if (defined('REPORT_FILE_PHP') || defined('DISPLAYREPORT_PHP')) $lang_report_php =array(
-  'title' => 'Сообщить администратору', //cpg1.4
-  'invalid_email' => '<b>Внимание</b>: неправильный email адрес!', //cpg1.4
-  'report_subject' => 'Жалоба от %s на %s в галерее', //cpg1.4
-  'view_report' => 'Дополнительная ссылка, если сообщение не отображается корректно', //cpg1.4
-  'view_report_plaintext' => 'Чтобы просмотреть сообщение, скопируйте и вставьте в Ваш браузер эту ссылку:', //cpg1.4
-  'view_more_pics' => 'Галерея', //cpg1.4
-  'send_success' => 'Ваше сообщение было отправлено', //cpg1.4
-  'send_failed' => 'Извините, но сервер не может отправить Ваше сообщение...', //cpg1.4
-  'from' => 'От', //cpg1.4
-  'your_name' => 'Ваше имя', //cpg1.4
-  'your_email' => 'Ваш email адрес', //cpg1.4
-  'to' => 'Кому', //cpg1.4
-  'administrator' => 'Администратор', //cpg1.4
-  'subject' => 'Тема', //cpg1.4
-  'comment_field_name' => 'Жалоба на комментарии "%s"', //cpg1.4
-  'reason' => 'Причина', //cpg1.4
-  'message' => 'Сообщение', //cpg1.4
-  'report_footer' => 'Отправлено %s с IP %s от %s (время галереи)', //cpg1.4
-  'obscene' => 'неприличный', //cpg1.4
-  'offensive' => 'оскорбление', //cpg1.4
-  'misplaced' => 'флуд/не в том месте', //cpg1.4
-  'missing' => 'потерявшийся', //cpg1.4
-  'issue' => 'ошибка/нельзя просмотреть', //cpg1.4
-  'other' => 'другое', //cpg1.4
-  'refers_to' => 'Жалоба на файл', //cpg1.4
-  'reasons_list_heading' => 'причина для сообщения:', //cpg1.4
-  'no_reason_given' => 'причина не указана', //cpg1.4
-  'go_comment' => 'Перейти к комментарию', //cpg1.4
-  'view_comment' => 'Просмотреть полный отчёт с комментарием', //cpg1.4
-  'type_file' => 'файл', //cpg1.4
-  'type_comment' => 'комментарий', //cpg1.4
-  'invalid_data' => 'Служебная информация для сообщения, которую Вы пытаетесь просмотреть, была повреждена Вашей почтовой программой. Проверьте правильность ссылки.', //cpg1.4
-
-);
-
-// ------------------------------------------------------------------------- //
-// File editpics.php
-// ------------------------------------------------------------------------- //
-
-if (defined('EDITPICS_PHP')) $lang_editpics_php = array(
-  'pic_info' => 'Информация',
-  'album' => 'Альбом',
-  'title' => 'Название',
-  'filename' => 'Имя файла', //cpg1.4
-  'desc' => 'Описание',
-  'keywords' => 'Ключевые слова',
-  'new_keyword' => 'Новое ключевое слово', //cpg1.4
-  'new_keywords' => 'Найдено новое ключевое слово', //cpg1.4
-  'existing_keyword' => 'Имеющееся ключевое слово', //cpg1.4
-  'pic_info_str' => '%s &times; %s - %s КБ - просмотров %s - голосов %s',
-  'approve' => 'Одобрить файл',
-  'postpone_app' => 'Отложить одобрение',
-  'del_pic' => 'Удалить файл',
-  'del_all' => 'Удалить ВСЕ файлы', //cpg1.4
-  'read_exif' => 'Считать EXIF данные снова',
-  'reset_view_count' => 'Сбросить счетчик просмотров',
-  'reset_all_view_count' => 'Сбросить ВСЕ счетчики просмотров', //cpg1.4
-  'reset_votes' => 'Сбросить голоса',
-  'reset_all_votes' => 'Сбросить ВСЕ голоса', //cpg1.4
-  'del_comm' => 'Удалить комментарии',
-  'del_all_comm' => 'Удалить ВСЕ комментарии', //cpg1.4
-  'upl_approval' => 'Одобрение загрузки', //cpg1.4
-  'edit_pics' => 'Изменить файлы',
-  'see_next' => 'Посмотреть следующие файлы',
-  'see_prev' => 'Посмотреть предыдущие файлы',
-  'n_pic' => 'файлов %s',
-  'n_of_pic_to_disp' => 'Количество файлов для просмотра',
-  'apply' => 'Применить изменения',
-  'crop_title' => 'Coppermine Редактор Изображений',
-  'preview' => 'Предварительный просмотр',
-  'save' => 'Сохранить изображение',
-  'save_thumb' =>'Сохранить как миниатюру',
-  'gallery_icon' => 'Сделать это моей иконкой', //cpg1.4
-  'sel_on_img' =>'Выбор должен быть целиком расположен на изображении!', //js-alert
-  'album_properties' =>'Свойства альбома', //cpg1.4
-  'parent_category' =>'Родительская категория', //cpg1.4
-  'thumbnail_view' =>'Отображение миниатюр', //cpg1.4
-  'select_unselect' =>'выбрать всё/снять выделение', //cpg1.4
-  'file_exists' => "Такой файл '%s' уже существует.", //cpg1.4
-  'rename_failed' => "Ошибка переименования '%s' в '%s'.", //cpg1.4
-  'src_file_missing' => "Исходный файл '%s' отсутствует.", // cpg 1.4
-  'mime_conv' => "Не могу конвертировать файл из '%s' в '%s'",//cpg1.4
-  'forb_ext' => 'Запрещенное расширение файла.',//cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File faq.php
-// ------------------------------------------------------------------------- //
-
-if (defined('FAQ_PHP')) $lang_faq_php = array(
-  'faq' => 'Часто Задаваемые Вопросы',
-  'toc' => 'Оглавление',
-  'question' => 'Вопрос: ',
-  'answer' => 'Ответ: ',
-);
-
-if (defined('FAQ_PHP')) $lang_faq_data = array(
-  'Основной FAQ',
-  array('Почему я должен регистрироваться?', 'Регистрация может быть затребована или нет администрацией сайта. Регистрация предоставляет пользователю дополнительные возможности: загрузка файлов, свой список избранных файлов, возможность оценивать изображения, оставлять к ним комментарии и т.п.', 'allow_user_registration', '1'),
-  array('Как я могу зарегистрироваться?', 'Пройдите в пункт &quot;Регистрация&quot; и заполните необходимые данные (также, если хотите, можете заполнить дополнительную информацию о себе).<br />Если Администрация требует подтверждения регистрации через email, то после заполнения Вашей информации, Вы должны получить электронное письмо на указанный при регистрации в Ваших данных email адрес с инструкциями как активизировать Вашу учётную запись на сайте. Ваша учётная запись должна быть активирована, чтобы Вы могли войти на сайт.', 'allow_user_registration', '1'), //cpg1.4
-  array('Как осуществить вход?', 'Пройдите в пункт &quot;Вход&quot;, введите Ваше имя пользователя и пароль и, если хотите, отметьте &quot;Автоматически входить при каждом посещении&quot;, чтобы Вам не приходилось каждый раз заново вводить имя пользователя и пароль при входе на сайт.<br /><b>ВАЖНО: У Вас должны быть включены cookies/куки для данного сайта. И впоследствии cookies/куки с данного сайта не должны удаляться, чтобы Вы могли использовать эту возможность &quot;Автоматически входить при каждом посещении&quot;.</b>', 'offline', 0),
-  array('Почему я не могу войти?', 'Вы зарегистрировались и открыли ссылку присланную вам по email?. Данная ссылка активирует Вашу учётную запись. В случае других проблем входа на сайт свяжитесь с администрацией сайта.', 'offline', 0),
-  array('Что делать, если я забыл пароль?', 'Если при входе на сайт по ссылке (&quot;Вход&quot;) есть ссылка &quot;Забыли пароль?&quot;, тогда воспользуйтесь ей. В противном случае свяжитесь с администрацией сайта для получения нового пароля.', 'offline', 0),
-  //array('Чтобы будет, если я изменю адрес email?', 'Просто войдите на сайт и измените Ваш email адрес через кнопку &quot;Профиль&quot;. Вы должны находиться в режиме администратора.', 'offline', 0),
-  array('Как я могу добавить картинку в &quot;Избранные&quot;?', 'Кликните на изображение, затем на значок-ссылку &quot;Показать/спрятать информацию о файле&quot; (<img src="images/info.gif" width="16" height="16" border="0" alt="Показать/спрятать информацию о файле" />), прокрутите информацию об изображении вниз и выберите &quot;Добавить в Избранное&quot;.<br />Администрация может включить отображение информации о файл с самого начала, тогда вам не нужно будет нажимать этот значок-ссылку.<br /><b>ВАЖНО: У Вас должны быть включены cookies/куки для данного сайта. И впоследствии cookies/куки с данного сайта не должны удаляться, так как в них будет хранится информация о тех файлах, которые Вы добавили в избранное.</b>', 'offline', 0),
-  array('Как оценить файл (рейтинг)?', 'Кликните по миниатюре, проследуйте вниз изображения и выберите желаемую оценку/рейтинг.', 'offline', 0),
-  array('Как добавить комментарий к изображению?', 'Кликните по миниатюре, проследуйте вниз изображения и добавьте комментарий.', 'offline', 0),
-  array('Как загрузить файл?', 'Пройдите в пункт &quot;Загрузить файл&quot;, нажмите &quot;Browse&quot;, найдите необходимый для загрузки файл, нажмите &quot;Открыть&quot; и нажмите &quot;ПРОДОЛЖИТЬ&quot;. После предварительной загрузки выберите альбом, куда Вы хотите загрузить файл, и нажмите &quot;ПРОДОЛЖИТЬ&quot;. Также при желании можете добавить название и описание.<br /><br />Допольнительно, для тех пользователей, которые используют <b>Windows XP</b>: Вы можете загружать сразу несколько файлов напрямую в Ваши приватные альбомы, используя помощник веб публикации (XP Publishing wizard).<br />Для получения необходимых инструкций и файла, для внесения нужных изменений в реестр, <a href="xp_publish.php">нажмите здесь.</a>', 'offline', 0), //cpg1.4
-  array('Куда я должен загружать изображения?', 'Вы можете загружать файлы в Ваши альбомы в &quot;Моя галерея&quot;. Также Администрация можете разрешить Вам загружать файлы в один или несколько альбомов Основной Галереи.', 'offline', 0),
-  array('Какие типы и размер файлов я могу загружать?', 'Какой размер и тип файлов (jpg, png, и т.д.) можно загружать решает администратор.', 'offline', 0),
-  array('Как я могу создавать, переименовывать или удалять альбомы в &quot;Моя галерея&quot;?', 'Вы должны перейти в &quot;Режим администратора&quot;.<br />Пройдите в &quot;Создать / упорядочить мои альбомы&quot; и нажать &quot;Новый&quot;. Измените в списке &quot;Новый альбом&quot; на желаемое название.<br />Вы также можете переименовать любой альбом в Вашей галерее.<br />Нажмите &quot;Применить изменения&quot;.', 'allow_private_albums', 1),
-  array('Как я могу изменять и ограничивать пользователей от просмотра моих альбомов?', 'Вы должны перейти в &quot;Режим администратора&quot;.<br />Пройдите в &quot;Изменить мои альбомы&quot;. На панели &quot;Обновить альбом&quot; выберите нужный альбом.<br />Теперь Вы можете изменить название, описание, миниатюру альбома. Ограничить пользователей от просмотра, оставления комментариев и оценки файлов.<br />Нажмите &quot;Обновить альбом&quot;.', 'allow_private_albums', 1),
-  array('Как я могу просмотреть галереи других пользователей?', 'Перейдите в корневую часть сайта, нажмите &quot;Список альбомов&quot; и выберите &quot;Галереи пользователей&quot;.', 'allow_private_albums', 1),
-  array('Что такое cookies/куки?', 'Cookies/куки - это кусок текста с данными, который посылается с сайта и сохраняется у вас на компьютере.<br />Cookies/куки обычно позволяют пользователю покидать и возвращаться на сайт без необходимости каждый раз вводить логин и пароль, плюс некоторые другие возможности.', 'offline', 0),
-  array('Где я могу взять эту программу для своего сайта?', 'Coppermine - это бесплатная Мультимедийная Галерея, распространяемая по GNU GPL лицензии. В ней много разнообразных функций и она была портирована на различные платформы. Посетите <a href="http://coppermine-gallery.net/">домашнюю страницу Coppermine</a>, чтобы узнать больше или скачать данную галерею.', 'offline', 0),
-
-  'Управление сайтом',
-  array('Что такое &quot;Список альбомов&quot;?', 'При нажатии &quot;Список альбомов&quot; в той категории, в которой Вы находились в данный момент, открывается основная страница категории со ссылками на каждый альбом. Если Вы не находитесь в какой-либо категории, Вы попадете на основную страницу галереи со ссылками на категории. Миниатюры могут являться ссылками в категории.', 'offline', 0),
-  array('Что такое &quot;Моя галерея&quot;?', 'Эта возможность позволяет пользователю создавать свою галерею - добавлять, удалять или изменять альбомы по своему усмотрению и загружать в них файлы.', 'allow_private_albums', 1), //cpg1.4
-  array('Какая разница между &quot;Режим администратора&quot; и &quot;Режим пользователя&quot;?', 'Находясь в режиме администратора, Вы можете изменять Вашу галерею (также можете изменять галереи других пользователей, если это разрешено администратором).', 'allow_private_albums', 1),
-  array('Что такое &quot;Загрузить файл&quot;?', 'При нажатии позволяет пользователю загрузить файл в галерею выбранную им или администратором сайта. Размер и тип файлов устанавливается администратором.', 'offline', 0),
-  array('Что такое &quot;Последние добавления&quot;?', 'При нажатии отображает последние загруженные файлы на сайт.', 'offline', 0),
-  array('Что такое &quot;Последние комментарии&quot;?', 'При нажатии отображает последние добавленные комментарии и файлы, к которым они были добавлены.', 'offline', 0),
-  array('Что такое &quot;Часто просматриваемые&quot;?', 'При нажатии отображает наиболее просматриваемые файлы всеми пользователями на сайте (в независимости от того, вошли они на сайт или нет).', 'offline', 0),
-  array('Что такое &quot;Лучшие по рейтингу&quot;?', 'При нажатии отображает самые высокие по рейтингу/оценке пользователей файлы. Также отображает средний рейтинг/оценку.<br />К примеру, пять пользователей оценили файл по <img src="images/rating4.gif" width="65" height="14" border="0" alt="" />: файл будет иметь рейтинг/оценку <img src="images/rating4.gif" width="65" height="14" border="0" alt="" />.<br />Или пять пользователей оценили файл от 1 до 5 (1,2,3,4,5), тогда общий рейтинг/оценка файла будет <img src="images/rating3.gif" width="65" height="14" border="0" alt="" />. 1+2+3+4+5=15 15/5=3<br />Значение рейтинга/оценки идёт от <img src="images/rating5.gif" width="65" height="14" border="0" alt="best" /> (самая лучшая) к <img src="images/rating0.gif" width="65" height="14" border="0" alt="worst" /> (самая плохая).', 'offline', 0),
-  array('Что такое &quot;Избранные&quot;?', 'При нажатии отображает те файлы, которые пользователь добавил в избранное на данном компьютере.<br /><b>ВАЖНО: Так как записи об избранных файлах сохраняются в cookie/куки текущего компьютера пользователя, то на другом компьютере Вы не сможете увидеть те файлы, которые Вы добавили в избранное на первом компьютере.', 'offline', 0),
-);
-
-
-// ------------------------------------------------------------------------- //
-// File forgot_passwd.php
-// ------------------------------------------------------------------------- //
-
-if (defined('FORGOT_PASSWD_PHP')) $lang_forgot_passwd_php = array(
-  'forgot_passwd' => 'Напомнить пароль',
-  'err_already_logged_in' => 'Вы уже вошли в систему!',
-  'enter_email' => 'Введите Ваш email адрес', //cpg1.4
-  'submit' => 'Выполнить',
-  'illegal_session' => 'Сессия восстановления пароля неправильная или истекла.', //cpg1.4
-  'failed_sending_email' => 'Письмо с напоминанием пароля не может быть послано!',
-  'email_sent' => 'Письмо с Вашим именем пользователя и новым паролем было послано на %s', //cpg1.4
-  'verify_email_sent' => 'Письмо было послано на %s. Пожалуйста, проверьте Вашу почту, чтобы завершить процесс.', //cpg1.4
-  'err_unk_user' => 'Выбранный пользователь не существует!',
-  'account_verify_subject' => '%s - Запрос нового пароля', //cpg1.4
-  'account_verify_body' => 'Вы запросили новый пароль. Если Вы хотите, чтобы Вам был послан новый пароль, пройдите по следующей ссылке:
-
-%s', //cpg1.4
-  'passwd_reset_subject' => '%s - Ваш новый пароль', //cpg1.4
-  'passwd_reset_body' => 'Ваш новый пароль:
-==============================
-   Имя: %s
-Пароль: %s
-==============================
-
-Нажмите %s, чтобы войти в галерею.', //cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File groupmgr.php
-// ------------------------------------------------------------------------- //
-
-if (defined('GROUPMGR_PHP')) $lang_groupmgr_php = array(
-  'group_name' => 'Имя группы', //cpg1.4
-  'permissions' => 'Разрешения', //cpg1.4
-  'public_albums' => 'Загрузка в публичные альбомы', //cpg1.4
-  'personal_gallery' => 'Персональная галерея', //cpg1.4
-  'upload_method' => 'Метод загрузки', //cpg1.4
-  'disk_quota' => 'Дисковая квота', //cpg1.4
-  'rating' => 'Голосование', //cpg1.4
-  'ecards' => 'Открытки', //cpg1.4
-  'comments' => 'Комментарии', //cpg1.4
-  'allowed' => 'Разрешено', //cpg1.4
-  'approval' => 'Подтверждение', //cpg1.4
-  'boxes_number' => 'Количество полей', //cpg1.4
-  'variable' => 'изменяемо', //cpg1.4
-  'fixed' => 'фиксировано', //cpg1.4
-  'apply' => 'Применить изменения',
-  'create_new_group' => 'Создать новую группу',
-  'del_groups' => 'Удалить выбранные группы',
-  'confirm_del' => 'Внимание, когда Вы удаляете группу, пользователи из этой группы будут автоматически переведены в группу \'Registered\'!\n\nВы хотите продолжить?', //js-alert
-  'title' => 'Управлять группами',
-  'num_file_upload' => 'Полей для загрузки файлов', //cpg1.4
-  'num_URI_upload' => 'Полей для загрузки ссылок', //cpg1.4
-  'reset_to_default' => 'Установить имя по умолчанию (%s) - рекомендуется!', //cpg1.4
-  'error_group_empty' => 'Таблица группы была пустая!<br /><br />Были созданы группы по умолчанию, пожалуйста, перезагрузите эту страницу', //cpg1.4
-  'explain_greyed_out_title' => 'Почему эта опция выделена серым?', //cpg1.4
-  'explain_guests_greyed_out_text' => 'Вы не можете изменять свойства этой группы, потому что Вы установили опцию &quot;Разрешить анонимный доступ (гости или анонимные пользователи)&quot; в положение &quot;Нет&quot; на странице конфигурации. Все гости (члены группы %s) ничего не могут делать, даже входить в галерею; поэтому настройки группы не влияют на них.', //cpg1.4
-  'explain_banned_greyed_out_text' => 'Вы не можете изменять свойства группы %s, потому что её пользователи и так ничего не могут делать.', //cpg1.4
-  'group_assigned_album' => 'назначенные альбомы', //cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File index.php
-// ------------------------------------------------------------------------- //
-
-if (defined('INDEX_PHP')){
-
-$lang_index_php = array(
-  'welcome' => 'Добро пожаловать!',
-);
-
-$lang_album_admin_menu = array(
-  'confirm_delete' => 'Вы уверены, что хотите УДАЛИТЬ этот альбом? \\nВсе файлы и комментарии также будут удалены.', //js-alert
-  'delete' => 'УДАЛИТЬ',
-  'modify' => 'СВОЙСТВА',
-  'edit_pics' => 'РЕДАКТИРОВАТЬ ФАЙЛЫ',
-);
-
-$lang_list_categories = array(
-  'home' => 'Главная',
-  'stat1' => '<b>[pictures]</b> файлов в <b>[albums]</b> альбомах и <b>[cat]</b> категориях просмотренных <b>[views]</b> раз / комментариев всего <b>[comments]</b> ',
-  'stat2' => '<b>[pictures]</b> файлов в <b>[albums]</b> альбомах просмотренных <b>[views]</b> раз',
-  'xx_s_gallery' => '%s\'s Gallery',
-  'stat3' => '<b>[pictures]</b> файлов в <b>[albums]</b> альбомах с <b>[comments]</b> комментариями просмотренных <b>[views]</b> раз',
-);
-
-$lang_list_users = array(
-  'user_list' => 'Список пользователей',
-  'no_user_gal' => 'Отсутствуют галереи пользователей',
-  'n_albums' => 'Альбомов: %s',
-  'n_pics' => 'Файлов: %s',
-);
-
-$lang_list_albums = array(
-  'n_pictures' => 'Файлов: %s',
-  'last_added' => '. Последний добавлен: %s',
-  'n_link_pictures' => '%s прикрепленных файлов', //cpg1.4
-  'total_pictures' => '%s всего файлов', //cpg1.4
-);
-
-}
-
-// ------------------------------------------------------------------------- //
-// File keywordmgr.php //cpg1.4
-// ------------------------------------------------------------------------- //
-
-if (defined('KEYWORDMGR_PHP')) $lang_keywordmgr_php = array(
-  'title' => 'Менеджер ключевых слов', //cpg1.4
-  'edit' => 'редактировать', //cpg1.4
-  'delete' => 'удалить', //cpg1.4
-  'search' => 'искать', //cpg1.4
-  'keyword_test_search' => 'искать %s в новом окне', //cpg1.4
-  'keyword_del' => 'удалить ключевое слово %s', //cpg1.4
-  'confirm_delete' => 'Вы уверены, что хотите удалить ключевое слово %s во всей галерее?', //cpg1.4  // js-alert
-  'change_keyword' => 'изменить ключевое слово', //cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File login.php
-// ------------------------------------------------------------------------- //
-
-if (defined('LOGIN_PHP')) $lang_login_php = array(
-  'login' => 'Вход',
-  'enter_login_pswd' => 'Введите имя пользователя и пароль для входа',
-  'username' => 'Имя (ник)',
-  'password' => 'Пароль',
-  'remember_me' => 'Автоматически входить при каждом посещении',
-  'welcome' => 'Добро пожаловать, %s',
-  'err_login' => 'Вы ввели неверное/неактивное имя пользователя или неверный пароль.<br />Попробуйте снова.',
-  'err_already_logged_in' => 'Вы уже осуществили вход в систему!',
-  'forgot_password_link' => 'Забыли пароль?',
-  'cookie_warning' => 'Внимание! Ваш браузер не принимает cookies/куки', //cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File logout.php
-// ------------------------------------------------------------------------- //
-
-if (defined('LOGOUT_PHP')) $lang_logout_php = array(
-  'logout' => 'Выйти',
-  'bye' => 'До свидания, %s',
-  'err_not_loged_in' => 'Вы не осуществили вход в систему!',
-);
-
-// ------------------------------------------------------------------------- //
-// File minibrowser.php  //cpg1.4
-// ------------------------------------------------------------------------- //
-
-if (defined('MINIBROWSER_PHP')) $lang_minibrowser_php = array(
-  'close' => 'закрыть', //cpg1.4
-  'submit' => 'OK', //cpg1.4
-  'up' => 'на один уровень вверх', //cpg1.4
-  'current_path' => 'текущий путь', //cpg1.4
-  'select_directory' => 'пожалуйста, выберите директорию', //cpg1.4
-  'click_to_close' => 'Нажмите на изображение, чтобы закрыть окно',
-);
-
-// ------------------------------------------------------------------------- //
-// File modifyalb.php
-// ------------------------------------------------------------------------- //
-
-if (defined('MODIFYALB_PHP')) $lang_modifyalb_php = array(
-  'upd_alb_n' => 'Обновление альбома -> %s',
-  'general_settings' => 'Общие настройки',
-  'alb_title' => 'Название альбома',
-  'alb_cat' => 'Категория альбома',
-  'alb_desc' => 'Описание альбома',
-  'alb_keyword' => 'Ключевые слова альбома', //cpg1.4
-  'alb_thumb' => 'Миниатюра альбома',
-  'alb_perm' => 'Права доступа для данного альбома',
-  'can_view' => 'Альбом могут просматривать',
-  'can_upload' => 'Посетители могут загружать файлы',
-  'can_post_comments' => 'Посетители могу делать комментарии',
-  'can_rate' => 'Посетители могут голосовать',
-  'user_gal' => 'Галерея пользователя',
-  'no_cat' => '* Нет категории *',
-  'alb_empty' => 'Альбом пуст',
-  'last_uploaded' => 'Последний загруженный файл',
-  'public_alb' => 'Все (публичный альбом)',
-  'me_only' => 'Только я',
-  'owner_only' => 'Только владелец альбома (%s)',
-  'groupp_only' => 'Участники группы \'%s\'',
-  'err_no_alb_to_modify' => 'Нет альбомов в базе данных, которые Вы можете изменять.',
-  'update' => 'Обновить альбом',
-  'reset_album' => 'Сбросить альбом', //cpg1.4
-  'reset_views' => 'Сбросить счетчик просмотров на &quot;0&quot; в %s', //cpg1.4
-  'reset_rating' => 'Сбросить голоса для всех файлов в %s', //cpg1.4
-  'delete_comments' => 'Удалить все комментарии сделанные в %s', //cpg1.4
-  'delete_files' => '%sБезвозвратно%s удалить все файлы в %s', //cpg1.4
-  'views' => 'просмотры', //cpg1.4
-  'votes' => 'голоса', //cpg1.4
-  'comments' => 'комментарии', //cpg1.4
-  'files' => 'файлы', //cpg1.4
-  'submit_reset' => 'применить изменения', //cpg1.4
-  'reset_views_confirm' => 'Я уверен', //cpg1.4
-  'notice1' => '(*) в зависимости от настроек %sгрупп%s', //cpg1.4 //(do not translate %s!)
-  'alb_password' => 'Пароль альбома', //cpg1.4
-  'alb_password_hint' => 'Подсказка к паролю альбома', //cpg1.4
-  'edit_files' =>'Редактировать файлы', //cpg1.4
-  'parent_category' =>'Родительская категория', //cpg1.4
-  'thumbnail_view' =>'Отображение миниатюр', //cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File phpinfo.php
-// ------------------------------------------------------------------------- //
-
-if (defined('PHPINFO_PHP')) $lang_phpinfo_php = array(
-  'php_info' => 'PHP информация',
-  'explanation' => 'Это страница сгенерирована функцией PHP <a href="http://www.php.net/phpinfo">phpinfo()</a> и отображается внутри Coppermine.',
-  'no_link' => 'Просмотр информации phpinfo другими людьми может быть очень опасным, поэтому данная страница видима только для Вас и только в момент, когда Вы вошли в систему в качестве администратора. Передавать ссылку на эту страницу кому-либо ещё бесполезно. Они всё равно получат отказ при попытке просмотреть данную страницу.',
-);
-
-// ------------------------------------------------------------------------- //
-// File picmgr.php //cpg1.4
-// ------------------------------------------------------------------------- //
-if (defined('PICMGR_PHP')) $lang_picmgr_php = array(
-  'pic_mgr' => 'Менеджер изображений', //cpg1.4
-  'select_album' => 'Выберите альбом', //cpg1.4
-  'delete' => 'Удалить', //cpg1.4
-  'confirm_delete1' => 'Вы уверены, что хотите удалить это изображение?', //cpg1.4
-  'confirm_delete2' => '\nИзображение будет удалено навсегда.', //cpg1.4
-  'apply_modifs' => 'Применить изменения', //cpg1.4
-  'confirm_modifs' => 'Подтвердить изменения', //cpg1.4
-  'pic_need_name' => 'Изображения должно иметь имя!', //cpg1.4
-  'no_change' => 'Вы не внесли никаких изменений!', //cpg1.4
-  'no_album' => '* Нет альбома *', //cpg1.4
-  'explanation_header' => 'Выборочный режим сортировки, который Вы можете использовать на данной странице, будет работать, только если', //cpg1.4
-  'explanation1' => 'администратор установил в настройках галереи опцию "Порядок сортировки файлов по умолчанию" в положение "Позиция [убывание]" или "Позиция [возрастание]" (настройки по умолчанию для тех пользователей, которые не выбрали режим сортировки самостоятельно)', //cpg1.4
-  'explanation2' => 'пользователь выбрал "Позиция [убывание]" или "Позиция [возрастание]" на странице миниатюр (индивидуальная настройка для каждого пользователя)', //cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File pluginmgr.php //cpg1.4
-// ------------------------------------------------------------------------- //
-
-if (defined('PLUGINMGR_PHP')){
-
-$lang_pluginmgr_php = array(
-  'confirm_uninstall' => 'Вы уверены, что хотите ОТКЛЮЧИТЬ этот плугин', //cpg1.4
-  'confirm_delete' => 'Вы уверены, что хотите УДАЛИТЬ этот плугин', //cpg1.4
-  'pmgr' => 'Менеджер плугинов', //cpg1.4
-  'name' => 'Имя', //cpg1.4
-  'author' => 'Автор', //cpg1.4
-  'desc' => 'Описание', //cpg1.4
-  'vers' => 'v', //cpg1.4
-  'i_plugins' => 'Установленные плугины', //cpg1.4
-  'n_plugins' => 'Не установленные плугины', //cpg1.4
-  'none_installed' => 'Ничего не установлено', //cpg1.4
-  'operation' => 'Операция', //cpg1.4
-  'not_plugin_package' => 'Загруженный файл не является файлом плугина.', //cpg1.4
-  'copy_error' => 'Произошла ошибка при копировании плугина в папку плугинов.', //cpg1.4
-  'upload' => 'Загрузить', //cpg1.4
-  'configure_plugin' => 'Настроить плугин', //cpg1.4
-  'cleanup_plugin' => 'Очистить плугин', //cpg1.4
-);
-}
-
-// ------------------------------------------------------------------------- //
-// File ratepic.php
-// ------------------------------------------------------------------------- //
-
-if (defined('RATEPIC_PHP')) $lang_rate_pic_php = array(
-  'already_rated' => 'Простите, но Вы уже проголосовали за этот файл',
-  'rate_ok' => 'Ваш голос был учтен',
-  'forbidden' => 'Вы не можете голосовать за свои файлы.',
-);
-
-// ------------------------------------------------------------------------- //
-// File register.php & profile.php
-// ------------------------------------------------------------------------- //
-
-if (defined('REGISTER_PHP') || defined('PROFILE_PHP')) {
-
-$lang_register_disclamer = <<<EOT
-Хотя администраторы {SITE_NAME} стараются удалять или редактировать неприемлемую информацию как можно быстрее, все сообщения просмотреть невозможно. Таким образом Вы признаёте, что сообщения на этом сайте отражают точки зрения и мнения их авторов, а не администрации сайта (кроме сообщений, размещённых её представителями) и администрация не может быть ответственна за их содержание.<br />
-<br />
-Вы соглашаетесь не размещать оскорбительных, угрожающих, клеветнических, порнографических и прочих материалов, а также призывов к национальной розни, способных нарушить соответствующие законы. Попытки размещения таких материалов могут привести к Вашему немедленному отключению от сайта (при этом Ваш провайдер будет поставлен в известность). IP адреса всех сообщений сохраняются для возможности проведения такой политики. Вы соглашаетесь с тем, что администраторы {SITE_NAME} имеют право удалить, отредактировать, перенести или закрыть любую информацию в любое время по своему усмотрению. Как пользователь Вы согласны с тем, что введённая вами информация будет храниться в базе данных. Хотя эта информация не будет открыта третьим лицам без Вашего разрешения, администрация сайта не может быть ответственна за действия хакеров, которые могут привести к несанкционированному доступу к ней.<br />
-<br />
-Этот сайт использует cookies/куки для хранения информации на Вашем компьютере. Эти cookies/куки не содержат никакой информации из введённой вами и служат лишь для улучшения качества работы сайта.<br /><br />Ваш email адрес используется лишь для подтверждения Вашей регистрации и для высылки нового пароля, если вы забудете текущий.<br />
-<br />
-Нажимая 'Я согласен', Вы соглашаетесь быть ограниченными этими условиями.
-EOT;
-
-$lang_register_php = array(
-  'page_title' => 'Регистрация пользователей',
-  'term_cond' => 'Условия регистрации',
-  'i_agree' => 'Я согласен',
-  'submit' => 'Подтвердить регистрацию',
-  'err_user_exists' => 'Имя (ник) пользователя, которое Вы выбрали, уже существует, пожалуйста, выберите другое',
-  'err_password_mismatch' => 'Пароли не совпадают, пожалуйста, введите их ещё раз.',
-  'err_uname_short' => 'Имя (ник) пользователя должно быть более двух символов длиной',
-  'err_password_short' => 'Пароль должен быть более двух символов длиной',
-  'err_uname_pass_diff' => 'Имя (ник) пользователя и пароль должны быть разные',
-  'err_invalid_email' => 'Неправильный email адрес',
-  'err_duplicate_email' => 'Этот адрес email уже занят другим пользователем',
-  'enter_info' => 'Регистрационная информация',
-  'required_info' => 'Поля обязательные к заполнению',
-  'optional_info' => 'Поля необязательные к заполнению',
-  'username' => 'Имя (ник) пользователя',
-  'password' => 'Пароль',
-  'password_again' => 'Подтвердите пароль',
-  'email' => 'Email',
-  'location' => 'Откуда',
-  'interests' => 'Интересы',
-  'website' => 'Домашняя страница',
-  'occupation' => 'Род занятий',
-  'error' => 'ОШИБКА',
-  'confirm_email_subject' => '%s - Подтверждение регистрации',
-  'information' => 'Информация',
-  'failed_sending_email' => 'Email с подтверждением регистрации не может быть отправлен!',
-  'thank_you' => 'Спасибо за регистрацию.<br /><br />Письмо с информацией, как активировать Вашу учётную запись, было отправлено по указанному Вами email адресу.',
-  'acct_created' => 'Ваша учётная запись была создана. Вы можете войти в систему, используя Ваше имя и пароль.',
-  'acct_active' => 'Ваша учётная запись была активизирована. Вы можете войти в систему, используя Ваше имя и пароль.',
-  'acct_already_act' => 'Учётная запись уже активирована!', //cpg1.4
-  'acct_act_failed' => 'Эта учётная запись не может быть активирована!',
-  'err_unk_user' => 'Выбранный пользователь не существует!',
-  'x_s_profile' => 'Профиль пользователя %s',
-  'group' => 'Группа',
-  'reg_date' => 'Зарегистрирован',
-  'disk_usage' => 'Использование места',
-  'change_pass' => 'Изменить пароль',
-  'current_pass' => 'Текущий пароль',
-  'new_pass' => 'Новый пароль',
-  'new_pass_again' => 'Подтвердите новый пароль',
-  'err_curr_pass' => 'Текущий пароль неправильный',
-  'apply_modif' => 'Применить изменения',
-  'change_pass' => 'Изменить мой пароль',
-  'update_success' => 'Ваш профиль был изменён',
-  'pass_chg_success' => 'Ваш пароль был изменен',
-  'pass_chg_error' => 'Ваш пароль не был изменен',
-  'notify_admin_email_subject' => '%s - Уведомление о регистрации',
-  'last_uploads' => 'Последний загруженный файл.<br />Нажмите, чтобы увидеть все файлы загруженные', //cpg1.4
-  'last_comments' => 'Последний комментарий.<br />Нажмите, чтобы увидеть все комментарии оставленные', //cpg1.4
-  'notify_admin_email_body' => 'Новый пользователь "%s" зарегистрировался в Вашей галерее',
-  'pic_count' => 'Файлы загружены', //cpg1.4
-  'notify_admin_request_email_subject' => '%s - Запрос на регистрацию', //cpg1.4
-  'thank_you_admin_activation' => 'Спасибо.<br /><br />Ваш запрос на регистрацию был отправлен администрации сайта. Вы получите письмо, если регистрация будет разрешена.', //cpg1.4
-  'acct_active_admin_activation' => 'Учетная запись активирована. Письмо с уведомлением было послано пользователю.', //cpg1.4
-  'notify_user_email_subject' => '%s - Уведомление об активации', //cpg1.4
-);
-
-$lang_register_confirm_email = <<<EOT
-Спасибо за регистрацию на сайте {SITE_NAME}
-
-Чтобы активировать Вашу учётную запись "{USER_NAME}", Вам нужно перейти по ссылке ниже или скопировать её в Ваш браузер.
-
-<a href="{ACT_LINK}">{ACT_LINK}</a>
-
-С уважением,
-
-Администрация {SITE_NAME}
-
-EOT;
-
-$lang_register_approve_email = <<<EOT
-В Вашей галерее была создана новая учётная запись "{USER_NAME}".
-
-Чтобы активировать учётную запись, Вам нужно перейти по ссылке ниже или скопировать её в Ваш браузер.
-
-<a href="{ACT_LINK}">{ACT_LINK}</a>
-
-EOT;
-
-$lang_register_activated_email = <<<EOT
-Ваша учётная запись была одобрена и активирована.
-
-Теперь Вы можете войти на сайт <a href="{SITE_LINK}">{SITE_LINK}</a> использую учётную запись "{USER_NAME}"
-
-
-С уважением,
-
-Администрация {SITE_NAME}
-
-EOT;
-}
-
-// ------------------------------------------------------------------------- //
-// File reviewcom.php
-// ------------------------------------------------------------------------- //
-
-if (defined('REVIEWCOM_PHP')) $lang_reviewcom_php = array(
-  'title' => 'Просмотреть комментарии',
-  'no_comment' => 'Отсутствуют комментарии для просмотра',
-  'n_comm_del' => 'Комментариев удалено: %s',
-  'n_comm_disp' => 'Количество комментариев для отображения',
-  'see_prev' => 'Посмотреть предыдущий',
-  'see_next' => 'Посмотреть следующий',
-  'del_comm' => 'Удалить выбранные комментарии',
-  'user_name' => 'Имя', //cpg1.4
-  'date' => 'Дата', //cpg1.4
-  'comment' => 'Комментарий', //cpg1.4
-  'file' => 'Файл', //cpg1.4
-  'name_a' => 'Имя [возрастание]', //cpg1.4
-  'name_d' => 'Имя [убывание]', //cpg1.4
-  'date_a' => 'Дата [возрастание]', //cpg1.4
-  'date_d' => 'Дата [убывание]', //cpg1.4
-  'comment_a' => 'Комментарий [возрастание]', //cpg1.4
-  'comment_d' => 'Комментарий [убывание]', //cpg1.4
-  'file_a' => 'Файл [возрастание]', //cpg1.4
-  'file_d' => 'Файл [убывание]', //cpg1.4
-);
-
-
-// ------------------------------------------------------------------------- //
-// File search.php
-// ------------------------------------------------------------------------- //
-
-
-if (defined('SEARCH_PHP')){
-
-$lang_search_php = array(
-  'title' => 'Поиск по коллекции файлов', //cpg1.4
-  'submit_search' => 'поиск', //cpg1.4
-  'keyword_list_title' => 'Список ключевых слов', //cpg1.4
-  'keyword_msg' => 'Данный список не включает все слова. Он не включает слова из заголовков изображений и их описаний. Попробуйте использовать полноценный поиск.',  //cpg1.4
-  'edit_keywords' => 'Редактировать список ключевых слов', //cpg1.4
-  'search in' => 'Искать в:', //cpg1.4
-  'ip_address' => 'IP адрес', //cpg1.4
-  'fields' => 'Искать в', //cpg1.4
-  'age' => 'Возраст', //cpg1.4
-  'newer_than' => 'Новее чем', //cpg1.4
-  'older_than' => 'Старее чем', //cpg1.4
-  'days' => 'дней', //cpg1.4
-  'all_words' => 'Искать все слова (AND)', //cpg1.4
-  'any_words' => 'Искать любые слова (OR)', //cpg1.4
-);
-
-$lang_adv_opts = array(
-  'title' => 'Название', //cpg1.4
-  'caption' => 'Описание', //cpg1.4
-  'keywords' => 'Ключевые слова', //cpg1.4
-  'owner_name' => 'Имя владельца', //cpg1.4
-  'filename' => 'Имя файла', //cpg1.4
-);
-
-}
-
-// ------------------------------------------------------------------------- //
-// File searchnew.php
-// ------------------------------------------------------------------------- //
-
-if (defined('SEARCHNEW_PHP')) $lang_search_new_php = array(
-  'page_title' => 'Искать новые файлы',
-  'select_dir' => 'Выберите директорию',
-  'select_dir_msg' => 'Эта функция позволяет Вам добавлять группу файлов, которую Вы закачали на Ваш сервер по FTP протоколу.<br /><br />Выберите директорию, куда Вы закачали Ваши файлы.', //cpg1.4
-  'no_pic_to_add' => 'Отсутствуют файлы для добавления',
-  'need_one_album' => 'Вам необходим хотя бы один альбом, чтобы использовать эту функцию',
-  'warning' => 'Внимание',
-  'change_perm' => 'скрипт не может записать в эту директорию, Вам нужно изменить её права на 755 или 777, чтобы добавить файлы!',
-  'target_album' => '<b>Поместить файлы из &quot;</b>%s<b>&quot; в </b>%s',
-  'folder' => 'Папка',
-  'image' => 'Файл',
-  'album' => 'Альбом',
-  'result' => 'Результат',
-  'dir_ro' => 'Нет прав на запись. ',
-  'dir_cant_read' => 'Нет прав на чтение. ',
-  'insert' => 'Идёт добавление новых файлов в галерею',
-  'list_new_pic' => 'Список новых файлов',
-  'insert_selected' => 'Вставить выбранные файлы',
-  'no_pic_found' => 'Новые файлы не найдены',
-  'be_patient' => 'Пожалуйста, подождите, скрипту нужно время, чтобы добавить файлы',
-  'no_album' => 'не выбран альбом',
-  'result_icon' => 'нажмите для подробностей или для перезагрузки',  //cpg1.4
-  'notes' =>  '<ul>'.
-                          '<li><b>OK</b> : означает что файл успешно добавлен'.
-                          '<li><b>DP</b> : означает что файл дубликат и уже есть в базе данных'.
-                          '<li><b>PB</b> : означает что файл не был добавлен, проверьте Ваши настройки и права директории, где расположены файлы'.
-                          '<li><b>NA</b> : означает что Вы не выбрали альбом для файлов, нажмите \'<a href="javascript:history.back(1)">назад</a>\' и выберите альбом. Если у вас нет альбома, <a href="albmgr.php">сначала создайте хотя бы один</a></li>'.
-                          '<li>Если OK, DP, PB \'значки\' не появились, нажмите на сломанном файле, чтобы увидеть сообщение об ошибке выдаваемое PHP'.
-                          '<li>Если Ваш браузер показал таймаут, нажмите кнопку обновить'.
-                          '</ul>',
-  'select_album' => 'выберите альбом',
-  'check_all' => 'Отметить все',
-  'uncheck_all' => 'Снять выделение',
-  'no_folders' => 'В папке "albums" отсутствуют созданные Вами папки.<br />Убедитесь, что Вы создали хотя бы одну свою папку внутри папки "albums" и загрузили в неё по FTP свои файлы.<br />Вы недолжны ничего загружать в папки "userpics" и "edit", они зарезервированы для http загрузок и внутренних нужд.', //cpg1.4
-   'albums_no_category' => 'Альбомы без категорий', //cpg1.4 // album pulldown mod, added by frogfoot
-  'personal_albums' => '* Персональные альбомы', //cpg1.4 // album pulldown mod, added by frogfoot
-  'browse_batch_add' => 'Встроенный проводник (рекомендуется)', //cpg1.4
-  'edit_pics' => 'Редактировать файлы', //cpg1.4
-  'edit_properties' => 'Свойства альбома', //cpg1.4
-  'view_thumbs' => 'Отображение миниатюр', //cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File stat_details.php //cpg1.4
-// ------------------------------------------------------------------------- //
-
-if (defined('STAT_DETAILS_PHP')) $lang_stat_details_php = array(
-  'show_hide' => 'показать/спрятать эту колонку', //cpg1.4
-  'vote' => 'Детали голосования', //cpg1.4
-  'hits' => 'Детали просмотров', //cpg1.4
-  'stats' => 'Статистика голосования', //cpg1.4
-  'sdate' => 'Дата', //cpg1.4
-  'rating' => 'Рейтинг', //cpg1.4
-  'search_phrase' => 'Поисковая фраза', //cpg1.4
-  'referer' => 'Реферер', //cpg1.4
-  'browser' => 'Браузер', //cpg1.4
-  'os' => 'Операционная система', //cpg1.4
-  'ip' => 'IP', //cpg1.4
-  'sort_by_xxx' => 'Сортировать %s', //cpg1.4
-  'ascending' => '[возрастание]', //cpg1.4
-  'descending' => '[убывание]', //cpg1.4
-  'internal' => 'внутренний', //cpg1.4
-  'close' => 'закрыть', //cpg1.4
-  'hide_internal_referers' => 'Спрятать внутренние рефереры', //cpg1.4
-  'date_display' => 'Отображение даты', //cpg1.4
-  'submit' => 'выполнить / обновить', //cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File thumbnails.php
-// ------------------------------------------------------------------------- //
-
-// Void
-
-// ------------------------------------------------------------------------- //
-// File upload.php
-// ------------------------------------------------------------------------- //
-
-if (defined('UPLOAD_PHP')) $lang_upload_php = array(
-  'title' => 'Загрузить файл',
-  'custom_title' => 'Изменяемая форма запроса',
-  'cust_instr_1' => 'Вы можете выбрать изменяемое число строк для загрузки файлов.<br />Тем не менее, Вы не можете выбирать больше, чем лимиты указанные ниже.',
-  'cust_instr_2' => 'Запрос количества строк',
-  'cust_instr_3' => 'Строк для загрузки файлов: %s',
-  'cust_instr_4' => 'Строк для загрузки ссылок: %s',
-  'cust_instr_5' => 'Загрузка ссылок:',
-  'cust_instr_6' => 'Загрузка файлов:',
-  'cust_instr_7' => 'Пожалуйста, введите количество строк для каждого типа необходимое Вам на этот раз. Потом нажмите \'ПРОДОЛЖИТЬ\'. ',
-  'reg_instr_1' => 'Неправильное действие для создания формы.',
-  'reg_instr_2' => 'Теперь Вы можете загрузить файлы, используя соответствующие строчки ниже. Объем файлов загружаемых из под Вашего пользователя на сервер не должен превышать %s КБ каждый. ZIP файлы загруженные в \'Загрузка файлов\' и \'Загрузка ссылок\' секции останутся запакованными.',
-  'reg_instr_3' => 'Если Вы хотите, чтобы ZIP файлы или архивы была распакованы после загрузки, Вы должны использовать строчки для загрузки в секции \'ZIP загрузки для распаковки\'.',
-  'reg_instr_4' => 'Когда используете загрузку ссылок, пожалуйста, указывайте путь к файлу в виде: http://www.mysite.com/images/example.jpg',
-  'reg_instr_5' => 'Когда Вы заполнили форму, пожалуйста, нажмите \'ПРОДОЛЖИТЬ\'.',
-  'reg_instr_6' => 'ZIP загрузки для распаковки:',
-  'reg_instr_7' => 'Загрузка файлов:',
-  'reg_instr_8' => 'Загрузка ссылок:',
-  'error_report' => 'Отчет об ошибке',
-  'error_instr' => 'Следующие загрузки вызвали ошибки:',
-  'file_name_url' => 'Имя файла/Ссылка',
-  'error_message' => 'Сообщение об ошибке',
-  'no_post' => 'Файл не был загружен с POST.',
-  'forb_ext' => 'Запрещенное расширение файла.',
-  'exc_php_ini' => 'Превышен разрешенный размер для файлов в php.ini.',
-  'exc_file_size' => 'Превышен разрешенный размер для файлов в галерее.',
-  'partial_upload' => 'Неполная загрузка.',
-  'no_upload' => 'Загрузка не удалась.',
-  'unknown_code' => 'Неизвестный код ошибки PHP.',
-  'no_temp_name' => 'Нет загрузки - Нет временного названия.',
-  'no_file_size' => 'Не содержит данных/Поврежден',
-  'impossible' => 'Невозможно переместить.',
-  'not_image' => 'Не изображение/поврежден',
-  'not_GD' => 'Не GD расширение.',
-  'pixel_allowance' => 'Высота или ширина загруженного изображения больше, чем разрешено в настройках галереи.', //cpg1.4
-  'incorrect_prefix' => 'Неправильный префикс ссылки',
-  'could_not_open_URI' => 'Не могу открыть ссылку URI.',
-  'unsafe_URI' => 'Безопасность не поддаётся проверке.',
-  'meta_data_failure' => 'Ошибка мета данных',
-  'http_401' => '401 Unauthorized',
-  'http_402' => '402 Payment Required',
-  'http_403' => '403 Forbidden',
-  'http_404' => '404 Not Found',
-  'http_500' => '500 Internal Server Error',
-  'http_503' => '503 Service Unavailable',
-  'MIME_extraction_failure' => 'Тип MIME не может быть определен.',
-  'MIME_type_unknown' => 'Неизвестный тип MIME',
-  'cant_create_write' => 'Не могу создать записываемый файл.',
-  'not_writable' => 'Не могу записать в обрабатываемый файл.',
-  'cant_read_URI' => 'Не могу прочитать ссылку',
-  'cant_open_write_file' => 'Не могу открыть URI записываемый файл.',
-  'cant_write_write_file' => 'Не могу записать в URI записываемый файл.',
-  'cant_unzip' => 'Не могу распаковать.',
-  'unknown' => 'Неизвестная ошибка',
-  'succ' => 'Удачная загрузка',
-  'success' => 'Удачных загрузок: %s.',
-  'add' => 'Пожалуйста, нажмите \'ПРОДОЛЖИТЬ\', чтобы добавить файлы в альбомы.',
-  'failure' => 'Загрузка не удалась',
-  'f_info' => 'Информация о файле',
-  'no_place' => 'Предыдущий файл не может быть добавлен.',
-  'yes_place' => 'Предыдущий файл успешно добавлен.',
-  'max_fsize' => 'Максимально разрешенный объем %s КБ',
-  'album' => 'Альбом',
-  'picture' => 'Файл',
-  'pic_title' => 'Название файла',
-  'description' => 'Описание файла',
-  'keywords' => 'Ключевые слова (отделяются пробелами)<br /><a href="#" onClick="return MM_openBrWindow(\'keyword_select.php\',\'selectKey\',\'width=250, height=400, scrollbars=yes,toolbar=no,status=yes,resizable=yes\')">Вставить из списка</a>', //cpg1.4
-  'keywords_sel' =>'Выберите ключевое слово', //cpg1.4
-  'err_no_alb_uploadables' => 'Извините, но нет ни одного альбома, куда Вам разрешено загружать файлы',
-  'place_instr_1' => 'Пожалуйста, расположите файлы по альбомам. Вы также можете заполнить соответствующую информацию для каждого файла.',
-  'place_instr_2' => 'Есть ещё файлы, которые требуют размещения. Пожалуйста, нажмите \'ПРОДОЛЖИТЬ\'.',
-  'process_complete' => 'Вы успешно разместили все файлы.',
-   'albums_no_category' => 'Альбомы без категорий', //cpg1.4. //album pulldown mod, added by frogfoot
-  'personal_albums' => '* Персональные альбомы', //cpg1.4 //album pulldown mod, added by frogfoot
-  'select_album' => 'Выберите альбом', //cpg1.4 //album pulldown mod, added by frogfoot
-  'close' => 'Закрыть', //cpg1.4
-  'no_keywords' => 'Простите, доступные ключевые слова отсутствуют!', //cpg1.4
-  'regenerate_dictionary' => 'Пересобрать Словарь', //cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File usermgr.php
-// ------------------------------------------------------------------------- //
-
-if (defined('USERMGR_PHP')) $lang_usermgr_php = array(
-  'memberlist' => 'Список пользователей', //cpg1.4
-  'user_manager' => 'Менеджер пользователей', //cpg1.4
-  'title' => 'Управление пользователями',
-  'name_a' => 'Имя [возрастание]',
-  'name_d' => 'Имя [убывание]',
-  'group_a' => 'Группа [возрастание]',
-  'group_d' => 'Группа [убывание]',
-  'reg_a' => 'Дата регистрации [возрастание]',
-  'reg_d' => 'Дата регистрации [убывание]',
-  'pic_a' => 'Количество файлов [возрастание]',
-  'pic_d' => 'Количество файлов [убывание]',
-  'disku_a' => 'Использование места [возрастание]',
-  'disku_d' => 'Использование места [убывание]',
-  'lv_a' => 'Последний визит [возрастание]',
-  'lv_d' => 'Последний визит [убывание]',
-  'sort_by' => 'Сортировать пользователей',
-  'err_no_users' => 'Таблица пользователей пуста!',
-  'err_edit_self' => 'Вы не можете изменять Ваш личный профиль, используйте ссылку \'Профиль\' для этого',
-  'edit' => 'РЕДАКТИРОВАТЬ', //cpg1.4
-  'with_selected' => 'С выбранными:', //cpg1.4
-  'delete' => 'УДАЛИТЬ', //cpg1.4
-  'delete_files_no' => 'сохранить публичные файлы (но сделать их анонимными)', //cpg1.4
-  'delete_files_yes' => 'удалить публичные файлы тоже', //cpg1.4
-  'delete_comments_no' => 'сохранить комментарии (но сделать их анонимными)', //cpg1.4
-  'delete_comments_yes' => 'удалить комментарии тоже', //cpg1.4
-  'activate' => 'Активировать', //cpg1.4
-  'deactivate' => 'Деактивировать', //cpg1.4
-  'reset_password' => 'Сбросить пароль', //cpg1.4
-  'change_primary_membergroup' => 'Изменить основную группу', //cpg1.4
-  'add_secondary_membergroup' => 'Добавить вторичную группу', //cpg1.4
-  'name' => 'Имя пользователя',
-  'group' => 'Группа',
-  'inactive' => 'Неактивен',
-  'operations' => 'Действия',
-  'pictures' => 'Файлы',
-  'disk_space_used' => 'Использовано места', //cpg1.4
-  'disk_space_quota' => 'Доступно места', //cpg1.4
-  'registered_on' => 'Регистрация', //cpg1.4
-  'last_visit' => 'Последний визит',
-  'u_user_on_p_pages' => 'Пользователей: %d / Страниц: %d',
-  'confirm_del' => 'Вы уверены, что хотите УДАЛИТЬ этого пользователя? \\nВсе его файлы и альбомы также будут удалены.', //js-alert
-  'mail' => 'MAIL',
-  'err_unknown_user' => 'Выбранный пользователь не существует',
-  'modify_user' => 'Изменить пользователя',
-  'notes' => 'Заметки',
-  'note_list' => '<li>Если Вы не хотите изменять текущий пароль, оставьте поле "Пароль" пустым',
-  'password' => 'Пароль',
-  'user_active' => 'Пользователь активен',
-  'user_group' => 'Группа пользователя',
-  'user_email' => 'Email пользователя',
-  'user_web_site' => 'Домашняя страница',
-  'create_new_user' => 'Создать нового пользователя',
-  'user_location' => 'Расположение пользователя',
-  'user_interests' => 'Интересы пользователя',
-  'user_occupation' => 'Род занятий пользователя',
-  'user_profile1' => '$user_profile1', //cpg1.4
-  'user_profile2' => '$user_profile2', //cpg1.4
-  'user_profile3' => '$user_profile3', //cpg1.4
-  'user_profile4' => '$user_profile4', //cpg1.4
-  'user_profile5' => '$user_profile5', //cpg1.4
-  'user_profile6' => '$user_profile6', //cpg1.4
-  'latest_upload' => 'Последние добавления',
-  'never' => 'никогда',
-  'search' => 'Поиск пользователя', //cpg1.4
-  'submit' => 'Выполнить', //cpg1.4
-  'search_submit' => 'Искать!', //cpg1.4
-  'search_result' => 'Результат поиска для: ', //cpg1.4
-  'alert_no_selection' => 'Вы должны выбрать хотя бы одного пользователя!', //cpg1.4 //js-alert
-  'password' => 'Пароль', //cpg1.4
-  'select_group' => 'Выберите группу', //cpg1.4
-  'groups_alb_access' => 'Права альбома по группам', //cpg1.4
-  'album' => 'Альбом', //cpg1.4
-  'category' => 'Категория', //cpg1.4
-  'modify' => 'Изменить?', //cpg1.4
-  'group_no_access' => 'У данной группы нет специального доступа', //cpg1.4
-  'notice' => 'Внимание', //cpg1.4
-  'group_can_access' => 'Альбомы, к которым имеют доступ только "%s"', //cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File util.php
-// ------------------------------------------------------------------------- //
-
-if (defined('UTIL_PHP')) {
-$lang_util_desc_php = array(
-'Обновляет названия файлов из имен файлов', //cpg1.4
-'Удаляет названия файлов', //cpg1.4
-'Восстанавливает миниатюры и изменяет размеры изображений', //cpg1.4
-'Удаляет оригинальные изображения, заменяя их измененными в размерах версиями', //cpg1.4
-'Удаляет оригинальные изображения или промежуточные, чтобы освободить дисковое пространство', //cpg1.4
-'Удаляет осиротевшие комментарии', //cpg1.4
-'Пересчитывает объем и размеры файлов (если Вы вручную изменяли изображения)', //cpg1.4
-'Сбрасывает счетчик просмотров', //cpg1.4
-'Отобржает phpinfo', //cpg1.4
-'Обновляет базу данных', //cpg1.4
-'Отображает лог файлы', //cpg1.4
-);
-$lang_util_php = array(
-  'title' => 'Утилита администратора (Изменение размера изображений)',
-  'what_it_does' => 'Что она делает',
-  'file' => 'Файл',
-  'problem' => 'Проблема', //cpg1.4
-  'status' => 'Статус', //cpg1.4
-  'title_set_to' => 'установить название на',
-  'submit_form' => 'выполнить',
-  'updated_succesfully' => 'обновлено успешно',
-  'error_create' => 'ОШИБКА при создании',
-  'continue' => 'Обработать изображения дальше',
-  'main_success' => 'Файл %s был успешно использован как главный файл',
-  'error_rename' => 'Ошибка при переименовании %s в %s',
-  'error_not_found' => 'Файл %s не был найден',
-  'back' => 'назад на главную',
-  'thumbs_wait' => 'Обновляю миниатюры и/или измененные изображения, пожалуйста, подождите...',
-  'thumbs_continue_wait' => 'Продолжаю обновлять миниатюры и/или измененные изображения...',
-  'titles_wait' => 'Обновляю название, пожалуйста, подождите...',
-  'delete_wait' => 'Удаляю файлы, пожалуйста, подождите...',
-  'replace_wait' => 'Удаляю оригинальные файлы и заменяю их на измененные изображение, пожалуйста, подождите...',
-  'instruction' => 'Быстрые инструкции',
-  'instruction_action' => 'Выберите действие',
-  'instruction_parameter' => 'Установите параметры',
-  'instruction_album' => 'Выберите альбом',
-  'instruction_press' => 'Нажмите %s',
-  'update' => 'Обновить миниатюры и/или измененные изображения',
-  'update_what' => 'Что должно быть заменено',
-  'update_thumb' => 'Только миниатюры',
-  'update_pic' => 'Только измененные изображения',
-  'update_both' => 'Как миниатюры, так и измененные изображения',
-  'update_number' => 'Количество обрабатываемых изображений по одному клику',
-  'update_option' => '(Попробуйте установить это значение ниже, если возникают проблемы с таймаутами)',
-  'filename_title' => 'Имя файла -&gt; Название файла',
-  'filename_how' => 'Как должен быть изменен заголовок файла',
-  'filename_remove' => 'Удалить окончание .jpg и заменить _ (подчеркивание) на пробелы',
-  'filename_euro' => 'Изменить 2003_11_23_13_20_20.jpg на 23/11/2003 13:20',
-  'filename_us' => 'Изменить 2003_11_23_13_20_20.jpg на 11/23/2003 13:20',
-  'filename_time' => 'Изменить 2003_11_23_13_20_20.jpg на 13:20',
-  'delete' => 'Удалить названия файлов или изображения исходного размера',
-  'delete_title' => 'Удалить названия файлов',
-  'delete_title_explanation' => 'Удалит все названия файлов в указанном Вами альбоме.', //cpg1.4
-  'delete_original' => 'Удалить изображения исходного размера',
-  'delete_original_explanation' => 'Удалит изображения исходного размера.', //cpg1.4
-  'delete_intermediate' => 'Удалить промежуточные изображения', //cpg1.4
-  'delete_intermediate_explanation' => 'Удалит промежуточные изображения.<br />Используйте, чтобы освободить место на диске, если Вы отключили в настройках \'Создавать промежуточные изображения\' после того, как Вы уже добавили файлы в галерею.', //cpg1.4
-  'delete_replace' => 'Удалить оригинальные изображения, заменяя их на измененные версии',
-  'titles_deleted' => 'Все названия в указанном альбоме удалены', //cpg1.4
-  'deleting_intermediates' => 'Удаляю промежуточные изображения, пожалуйста, подождите...', //cpg1.4
-  'searching_orphans' => 'Идёт поиск осиротевших комментариев, пожалуйста, подождите...', //cpg1.4
-  'select_album' => 'Выберите альбом',
-  'delete_orphans' => 'Удалить осиротевшие комментарии',
-  'delete_orphans_explanation' => 'Позволит найти и удалить комментарии к файлам, которых уже нет в галерее.<br />Ищет во всех альбомах.', //cpg1.4
-  'refresh_db' => 'Перезагрузить информацию о размере и объеме файлов', //cpg1.4
-  'refresh_db_explanation' => 'Перечитает информацию о размере и объеме файлов. Используйте это, если дисковая квота отображается неверно или если Вы изменяли файлы вручную.', //cpg1.4
-  'reset_views' => 'Сбросить счетчики просмотров', //cpg1.4
-  'reset_views_explanation' => 'Установить количество просмотров файлов равное нулю в указанном альбоме.', //cpg1.4
-  'orphan_comment' => 'осиротевших комментариев найдено',
-  'delete' => 'Удалить',
-  'delete_all' => 'Удалить все',
-  'delete_all_orphans' => 'Удалить все осиротевшие комментарии?', //cpg1.4
-  'comment' => 'Комментарий: ',
-  'nonexist' => 'прикреплен к несуществующему файлу # ',
-  'phpinfo' => 'Отобразить phpinfo',
-  'phpinfo_explanation' => 'Содержит техническую информацию о Вашем сервере.<br /> - Вас могут попросить предоставить эту информацию, если Вы будите просить оказать помощь по галерее.', //cpg1.4
-  'update_db' => 'Обновить базу данных',
-  'update_db_explanation' => 'Если Вы заменили системные файлы галереи, добавили модификации или обновили старую версию галереи на новую, убедитесь, что Вы обновили базу данных один раз. Это создаст необходимые таблицы и/или значения настроек в базе данных галереи.',
-  'view_log' => 'Просмотр лог файлов', //cpg1.4
-  'view_log_explanation' => 'Coppermine может следить за различными действиями, которые совершают пользователи. Вы можете просматривать эти логи, если Вы включили запись логов в <a href="admin.php">конфигурации галереи</a>.', //cpg1.4
-  'versioncheck' => 'Проверить версии файлов', //cpg1.4
-  'versioncheck_explanation' => 'Проверить версии файлов, чтобы определить, заменили ли Вы все файлы после обновления, или исходные файлы Coppermine были обновлены после выхода данной версии.', //cpg1.4
-  'bridgemanager' => 'Менеджер интеграции', //cpg1.4
-  'bridgemanager_explanation' => 'Включает/выключает интеграцию (bridging) Coppermine галереи с другими приложениями (например Вашим форумом).', //cpg1.4
-);
-}
-
-// ------------------------------------------------------------------------- //
-// File versioncheck.php //cpg1.4
-// ------------------------------------------------------------------------- //
-
-if (defined('VERSIONCHECK_PHP')) $lang_versioncheck_php = array(
-  'title' => 'Проверка версии файлов', //cpg1.4
-  'what_it_does' => 'Данная страница предназначена для пользователей, которые обновили установку Coppermine. Данный скрипт обрабатывает файлы на Вашем сервере и пытается определить, является ли Ваша локальная версия файлов на сервере такой же, как на сайте http://coppermine.sourceforge.net, таким образом, давая Вам понять, какие файлы требуют обновления.<br />Скрипт отобразит красным те данные, которые нужно исправить. Данный отображенные желтым цветом требуют, чтобы на них обратили внимание. Данные отображенные зеленым цветом (или Вашим цветом по умолчанию) находятся в порядке.<br />Нажмите на иконки помощи, чтобы получить дополнительную информацию.', //cpg1.4
-  'online_repository_unable' => 'Не могу подключиться к удаленному сайту', //cpg1.4
-  'online_repository_noconnect' => 'Coppermine не смог подключиться к удаленному сайту. Может быть две причины:', //cpg1.4
-  'online_repository_reason1' => 'удаленный сайт в данный момент не работает - проверьте, можете ли Вы открыть данную страницу в Вашем браузере: %s - если не можете, попытайтесь позже.', //cpg1.4
-  'online_repository_reason2' => 'PHP на Вашем сервере настроен с отключенным %s (по умолчанию, он включен). Если сервер находится под Вашим контролем, включите данную опцию в <i>php.ini</i> (по крайней мере разрешите ей быть замещенным %s). Если Вы пользуетесь удаленным хостингом, всего скорее Вам придется смириться с мыслью, что Вы не сможете сравнивать файлы через удаленный сайт. Данная страница тогда будет отображать только версии файлов, которые находятся в текущей установке сайта - обновления отображаться не будут.', //cpg1.4
-  'online_repository_skipped' => 'Соединение с удаленным сайтом пропущено', //cpg1.4
-  'online_repository_to_local' => 'Скрипт сравнивает с локальной копией файлов эталонов. Данные могут быть неточные, если Вы обновили Coppermine и не загрузили все файлы. Изменения в файлах после релиза не будут приниматься во внимание.', //cpg1.4
-  'local_repository_unable' => 'Не могу подключиться к данным сравнения на Вашем сайте', //cpg1.4
-  'local_repository_explanation' => 'Coppermine не смог подключится к данным сравнения %s на Вашем сервер. Всего скорее это означает, что Вы не загрузили файлы для сравнения на Ваш сервер. Сделайте это и затем откройте эту страницу снова (нажмите обновить).<br />Если скрипт по прежнему выдаёт ошибку, возможно Ваш хостинг полностью отключил <a href="http://www.php.net/manual/ru/ref.filesystem.php">функции для работы с файловой системой PHP</a>. В этом случае Вы не сможете использовать данную утили вообще, извините.', //cpg1.4
-  'coppermine_version_header' => 'Установленная версия Coppermine', //cpg1.4
-  'coppermine_version_info' => 'У Вас установлена: %s', //cpg1.4
-  'coppermine_version_explanation' => 'Если Вы считаете, что данная информация в корне неверна и Вы используете версию Coppermine старше, всего скорее Вы не загрузили самую последнюю версию файла <i>include/init.inc.php</i>', //cpg1.4
-  'version_comparison' => 'Сравнение версий', //cpg1.4
-  'folder_file' => 'папка/файл', //cpg1.4
-  'coppermine_version' => 'cpg версия', //cpg1.4
-  'file_version' => 'версия файла', //cpg1.4
-  'webcvs' => 'web svn', //cpg1.4
-  'writable' => 'есть права на запись', //cpg1.4
-  'not_writable' => 'нет прав на запись', //cpg1.4
-  'help' => 'Помощь', //cpg1.4
-  'help_file_not_exist_optional1' => 'файл/папка не существует', //cpg1.4
-  'help_file_not_exist_optional2' => 'Файл/папка %s не найден на Вашем сервере. Вы можете загрузить его (используя FTP клиент) на Ваш сервер, если Вы испытываете проблемы.', //cpg1.4
-  'help_file_not_exist_mandatory1' => 'файл/папка не существует', //cpg1.4
-  'help_file_not_exist_mandatory2' => 'Файл/папка %s не найден на Вашем сервере, несмотря на то, что он обязателен к наличию. Загрузите файл на Ваш сервер (используя FTP клиент).', //cpg1.4
-  'help_no_local_version1' => 'Нет локальной версии файла', //cpg1.4
-  'help_no_local_version2' => 'Скрипт не смог извлечь версию локального файла - Ваш файл или устарел, или был модифицирован путём удаления информации в заголовке файла. Рекомендуется обновить файл.', //cpg1.4
-  'help_local_version_outdated1' => 'Локальная версия устарела', //cpg1.4
-  'help_local_version_outdated2' => 'Похоже, что Ваша версия данного файла из старой версии Coppermine (возможно Вы недавно обновлялись). Убедитесь, что Вы также обновили этот файл.', //cpg1.4
-  'help_local_version_na1' => 'Не могу извлечь информацию о версии svn', //cpg1.4
-  'help_local_version_na2' => 'Скрипт не смог определить svn версию файла на Вашем сервере. Вы должны загрузить файл из Вашего архива.', //cpg1.4
-  'help_local_version_dev1' => 'Разрабатываемая версия', //cpg1.4
-  'help_local_version_dev2' => 'Похоже, что файл на Вашем сервере новее, чем Ваша версия Coppermine. Вы или используете разрабатываемую версию файла (Вы должны так поступать, если действительно знаете, что делаете), или Вы обновили Вашу версию Coppermine и не загрузили файл include/init.inc.php', //cpg1.4
-  'help_not_writable1' => 'Папка не имеет прав на запись', //cpg1.4
-  'help_not_writable2' => 'Изменить права (CHMOD), чтобы дать скрипту права на запись в папку %s и всё что находится внутри неё.', //cpg1.4
-  'help_writable1' => 'Папка имеет права на запись', //cpg1.4
-  'help_writable2' => 'Папка %s имеет права на запись. Это неоправданный риск, Coppermine требуются только права на чтение/выполнение.', //cpg1.4
-  'help_writable_undetermined' => 'Coppermine не смог определить, имеет ли папка права на запись.', //cpg1.4
-  'your_file' => 'Ваш файл', //cpg1.4
-  'reference_file' => 'файл сравнения', //cpg1.4
-  'summary' => 'Итог', //cpg1.4
-  'total' => 'Всего файлов/папок отмечено', //cpg1.4
-  'mandatory_files_missing' => 'Отсутствует обязательных файлов', //cpg1.4
-  'optional_files_missing' => 'Отсутствует необязательных файлов', //cpg1.4
-  'files_from_older_version' => 'Файлов осталось от старой версии Coppermine', //cpg1.4
-  'file_version_outdated' => 'Устаревших файлов', //cpg1.4
-  'error_no_data' => 'Этот скрипт ничего не сделал и не смог получить никакую информацию. Простите за беспокойство.', //cpg1.4
-  'go_to_webcvs' => 'перейти к %s', //cpg1.4
-  'options' => 'Настройки', //cpg1.4
-  'show_optional_files' => 'показать необязательные папки/файлы', //cpg1.4
-  'show_mandatory_files' => 'показать обязательные папки/файлы', //cpg1.4
-  'show_file_versions' => 'показать версии файлов', //cpg1.4
-  'show_errors_only' => 'показать только папки/файлы с ошибками', //cpg1.4
-  'show_permissions' => 'показать права папок', //cpg1.4
-  'show_condensed_output' => 'показать сокращенный вариант (для снятия скриншотов)', //cpg1.4
-  'coppermine_in_webroot' => 'Coppermine установлен в корне сайта', //cpg1.4
-  'connect_online_repository' => 'попытка подключения к онлайн сайту', //cpg1.4
-  'show_additional_information' => 'показать дополнительную информацию', //cpg1.4
-  'no_webcvs_link' => 'не отображать интернет ссылки на svn', //cpg1.4
-  'stable_webcvs_link' => 'отображать интернет ссылку на стабильную версию svn', //cpg1.4
-  'devel_webcvs_link' => 'отображать интернет ссылку на разрабатываемую версию svn', //cpg1.4
-  'submit' => 'применить изменения / обновить', //cpg1.4
-  'reset_to_defaults' => 'сбросить на значения по умолчанию', //cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File view_log.php  //cpg1.4
-// ------------------------------------------------------------------------- //
-
-if (defined('VIEWLOG_PHP')) $lang_viewlog_php = array(
-  'delete_all' => 'Удалить все логи', //cpg1.4
-  'delete_this' => 'Удалить этот лог', //cpg1.4
-  'view_logs' => 'Просмотр логов', //cpg1.4
-  'no_logs' => 'Логи не созданы.', //cpg1.4
-);
-
-
-// ------------------------------------------------------------------------- //
-// File xp_publish.php //cpg1.4
-// ------------------------------------------------------------------------- //
-
-if (defined('XP_PUBLISH_PHP')) {
-
-$lang_xp_publish_client = <<<EOT
-<h1>Помощник веб публикации (XP Web Publishing)</h1><p>Данный модуль позволяет использовать механизм веб публикации <b>Windows XP</b> с Coppermine.</p><p>Код основан на статье опубликованной
-EOT;
-
-$lang_xp_publish_required = <<<EOT
-<h2>Что необходимо</h2><ul><li>Windows XP, чтобы был в наличии сам помощник.</li><li>Работающая версия Coppermine, в которой <b>корректно работает механизм веб загрузки.</b></li></ul><h2>Как установить клиентскую часть</h2><ul><li>Правый клик на
-EOT;
-
-$lang_xp_publish_select = <<<EOT
-Выберите &quot;Сохранить объект как...&quot;. Сохраните файл на Вашем компьютере. Во время сохранения проверьте, что предлагаемое имя файла <b>cpg_###.reg</b> (где ### представляет из себя цифровой набор времени). Измените его на указанное имя в случае необходимости (в ### должны быть только цифры). Когда файл загружен, сделайте по нему двойной щелчок, чтобы зарегистрировать Ваш сервер в помощнике веб публикаций.</li></ul>
-EOT;
-
-$lang_xp_publish_testing = <<<EOT
-<h2>Тестирование</h2><ul><li>В Проводнике Windows, выберите любые файлы и кликните по <b>Опубликовать выбранные объекты в вебе</b> в левой части панели Проводника.</li><li>Подтвердите Ваш выбор файлов. Нажмите <b>Далее</b>.</li><li>В появившемся списке служб, выберите службу для Вашей фото галереи (служба называется также, как Ваша галерея). Если служба не появилась, проверьте, установили ли Вы <b>cpg_pub_wizard.reg</b> как описано выше.</li><li>Введите информацию Вашей учетной записи, если потребуется.</li><li>Выберите альбом для Ваших изображений или создайте новый.</li><li>Нажмите <b>Далее</b>. Начнется загрузка Ваших изображений.</li><li>Когда загрузка завершится, проверьте Вашу галерею, чтобы убедится, что изображения были добавлены правильно.</li></ul>
-EOT;
-
-$lang_xp_publish_notes = <<<EOT
-<h2>Замечаения</h2><ul><li>После начала загрузки, помощник не отображать никакие сообщения об ошибка, передаваемых скриптом, поэтому Вы не сможете узнать, правильно ли добавились Ваши изображения или нет, до тех пор, пока не посетите Вашу галерею.</li><li>Если процесс загрузки будет неудачным, выберите &quot;Включить режим отладки&quot; в конфигурации Coppermine и попытайтесь загрузить одно единственное изображение, а затем проверьте сообщения об ошибках в файле
-EOT;
-
-$lang_xp_publish_flood = <<<EOT
-, который расположен в директории Coppermine Вашего сервера.</li><li>Чтобы избежать загромождения галереи <i>ненужными</i> изображениями, загруженными через помощника, только <b>администраторы галереи</b> и <b>пользователи, которые могут иметь собственные альбомы</b>, могут использовать данный модуль.</li>
-EOT;
-
-$lang_xp_publish_php = array(
-  'title' => 'Coppermine - Помощник веб публикации XP', //cpg1.4
-  'welcome' => 'Добро пожаловать, <b>%s</b>', //cpg1.4
-  'need_login' => 'Вы должны войти в галерею, используя Ваш веб браузер, прежде чем Вы сможете использовать данный помощник.<p/><p>Когда входите в галерею, не забудьте отметить опцию <b>Автоматически входить при каждом посещении</b>, если она присутствует.', //cpg1.4
-  'no_alb' => 'Извините, но нет ни одного доступного альбома, куда Вам разрешено загружать изображения с помощью данного помощника.', //cpg1.4
-  'upload' => 'Загрузите Ваши изображения в существующий альбом', //cpg1.4
-  'create_new' => 'Создайте новый альбом для Ваших изображений', //cpg1.4
-  'album' => 'Альбом', //cpg1.4
-  'category' => 'Категория', //cpg1.4
-  'new_alb_created' => 'Ваш новый альбом &quot;<b>%s</b>&quot; был создан.', //cpg1.4
-  'continue' => 'Нажмите &quot;Далее&quot;, чтобы начать загрузку Ваших изображений', //cpg1.4
-  'link' => 'эту ссылку', //cpg1.4
-);
-}
+<?php
+/*************************
+  Coppermine Photo Gallery
+  ************************
+  Copyright (c) 2003-2009 Coppermine Dev Team
+  v1.1 originally written by Gregory DEMAR
+
+  This program is free software; you can redistribute it and/or modify
+  it under the terms of the GNU General Public License version 3
+  as published by the Free Software Foundation.
+  
+  ********************************************
+  Coppermine version: 1.4.25
+  $HeadURL: https://coppermine.svn.sourceforge.net/svnroot/coppermine/trunk/cpg1.4.x/lang/russian.php $
+  $Revision: 5997 $
+  $Author: gaugau $
+  $Date: 2009-05-26 08:43:24 +0200 (Di, 26 Mai 2009) $
+**********************************************/
+
+if (!defined('IN_COPPERMINE')) { die('Not in Coppermine...');}
+
+// info about translators and translated language
+$lang_translation_info = array(
+  'lang_name_english' => 'Russian', //cpg1.4
+  'lang_name_native' => 'Русский', //cpg1.4
+  'lang_country_code' => 'ru', //cpg1.4
+  'trans_name'=> 'Makc666',
+  'trans_email' => 'makc666@yahoo.com',
+  'trans_website' => 'http://makc666.com',
+  'trans_date' => '2009-05-25',
+);
+
+$lang_charset = 'utf-8';
+$lang_text_dir = 'ltr'; // ('ltr' for left to right, 'rtl' for right to left)
+
+// shortcuts for Byte, Kilo, Mega
+$lang_byte_units = array('Байты', 'КБ', 'МБ');
+
+// Day of weeks and months
+$lang_day_of_week = array('Вс', 'Пн', 'Вт', 'Ср', 'Чт', 'Пт', 'Сб');
+$lang_month = array('Янв', 'Фев', 'Март', 'Апр', 'Май', 'Июнь', 'Июль', 'Авг', 'Сент', 'Окт', 'Нояб', 'Дек');
+
+// Some common strings
+$lang_yes = 'Да';
+$lang_no  = 'Нет';
+$lang_back = 'НАЗАД';
+$lang_continue = 'ПРОДОЛЖИТЬ';
+$lang_info = 'Информация';
+$lang_error = 'Ошибка';
+$lang_check_uncheck_all = 'отметить/снять выделение'; //cpg1.4
+
+// The various date formats
+// See http://www.php.net/manual/en/function.strftime.php to define the variable below
+$album_date_fmt =    '%B %d, %Y';
+$lastcom_date_fmt =  '%m/%d/%y в %H:%M';
+$lastup_date_fmt = '%B %d, %Y';
+$register_date_fmt = '%B %d, %Y';
+$lasthit_date_fmt = '%B %d, %Y в %H:%M';
+$comment_date_fmt =  '%B %d, %Y в %H:%M';
+$log_date_fmt = '%B %d, %Y в %H:%M'; //cpg1.4
+
+// For the word censor
+$lang_bad_words = array('*fuck*', 'asshole', 'assramer', 'bitch*', 'c0ck', 'clits', 'Cock', 'cum', 'cunt*', 'dago', 'daygo', 'dego', 'dick*', 'dildo', 'fanculo', 'feces', 'foreskin', 'Fu\(*', 'fuk*', 'honkey', 'hore', 'injun', 'kike', 'lesbo', 'masturbat*', 'motherfucker', 'nazis', 'nigger*', 'nutsack', 'penis', 'phuck', 'poop', 'pussy', 'scrotum', 'shit', 'slut', 'titties', 'titty', 'twaty', 'wank*', 'whore', 'wop*');
+
+$lang_meta_album_names = array(
+  'random' => 'Случайные файлы',
+  'lastup' => 'Последние добавления',
+  'lastalb'=> 'Последнее изменения альбомов',
+  'lastcom' => 'Последние комментарии',
+  'topn' => 'Часто просматриваемые',
+  'toprated' => 'Лучшие по рейтингу',
+  'lasthits' => 'Последние просмотренные',
+  'search' => 'Результаты поиска',
+  'favpics'=> 'Избранные файлы',  //cpg1.4
+);
+
+$lang_errors = array(
+  'access_denied' => 'У Вас нет прав для просмотра этой страницы.',
+  'perm_denied' => 'У Вас нет прав на выполнение этой операции.',
+  'param_missing' => 'Скрипт вызван без требуемых параметров.',
+  'non_exist_ap' => 'Выбранный альбом/фото не существует!',
+  'quota_exceeded' => 'Дисковая квота превышена<br /><br />Для Вас дисковая квота составляет [quota]К, Ваши файлы сейчас занимают [space]К, добавление этого файла приведет к превышению Вашей квоты.',
+  'gd_file_type_err' => 'Когда используется библиотека GD, разрешенные типы файлов только JPEG и PNG.',
+  'invalid_image' => 'Изображение, которое Вы загрузили, повреждено или не может быть обработано библиотекой GD',
+  'resize_failed' => 'Не могу создать миниатюру или уменьшить размер изображения.',
+  'no_img_to_display' => 'Нет фото',
+  'non_exist_cat' => 'Выбранная категория не существует',
+  'orphan_cat' => 'У категории нет соответствующей категории верхнего уровня, запустите менеджер категорий, чтобы исправить эту проблему!',
+  'directory_ro' => 'Директория \'%s\' не имеет прав на запись, файлы не могут быть удалены',
+  'non_exist_comment' => 'Выбранный комментарий не существует.',
+  'pic_in_invalid_album' => 'Файл находится в несуществующем альбоме (%s)!?',
+  'banned' => 'В данный момент Вы забанены на данном сайте.',
+  'not_with_udb' => 'Эта функция отключена в Coppermine, потому что она интегрирована с движком форума. То, что Вы пытаетесь сделать, или недоступно в данной конфигурации, или должно изменяться с помощью движка форума.',
+  'offline_title' => 'Отключена',
+  'offline_text' => 'Галерея в настоящее время отключена - попробуйте зайти позже',
+  'ecards_empty' => 'В данный момент отсутствуют открытки занесенные в логи. Проверьте, что Вы включили лог открыток в настройках сайта!',
+  'action_failed' => 'Действие не удалось. Coppermine не смог выполнить Ваш запрос.',
+  'no_zip' => 'Необходимые библиотеки для обработки ZIP файлов недоступны. Пожалуйста, свяжитесь с администрацией сайта.',
+  'zip_type' => 'У вас нет прав для загрузки ZIP файлов.',
+  'database_query' => 'Произошла ошибка при обращении к базе данных', //cpg1.4
+  'register_globals_on' => 'На вашем сервере включена опция PHP register_globals, что является плохой идеей с точки зрения безопасности. Настоятельно рекомендуется её выключить. [<a href="http://forum.coppermine-gallery.net/index.php/topic,59569.0.html" rel="external" class="external">подробнее</a>]',
+);
+
+$lang_bbcode_help_title = 'помощь по bbcode'; //cpg1.4
+$lang_bbcode_help = 'Вы можете добавлять ссылки и форматирование в этом поле, использую тэги bbcode: <li>[b]Жирный[/b] =&gt; <b>Жирный</b></li><li>[i]Курсив[/i] =&gt; <i>Курсив</i></li><li>[url=http://вашсайт.ru/]Описание ссылки[/url] =&gt; <a href="http://вашсайт.ru">Описание ссылки</a></li><li>[email]пользователь@сайт.ru[/email] =&gt; <a href="mailto:пользователь@сайт.ru">пользователь@сайт.ru</a></li><li>[color=red]любой текст[/color] =&gt; <span style="color:red">любой текст</span></li><li>[img]http://coppermine-gallery.net/demo/cpg14x/images/red.gif[/img] => <img src="../images/red.gif" border="0" alt="" /></li>'; //cpg1.4
+
+// ------------------------------------------------------------------------- //
+// File theme.php
+// ------------------------------------------------------------------------- //
+
+$lang_main_menu = array(
+'home_title' => 'Перейти на домашнюю страницу',
+'home_lnk' => 'Домой',
+  'alb_list_title' => 'Перейти к списку альбомов',
+  'alb_list_lnk' => 'Список альбомов',
+  'my_gal_title' => 'В персональную галерею',
+  'my_gal_lnk' => 'Моя галерея',
+  'my_prof_title' => 'Перейти к своему профилю', //cpg1.4
+  'my_prof_lnk' => 'Мой профиль',
+  'adm_mode_title' => 'Переключиться в режим администратора',
+  'adm_mode_lnk' => 'Режим администратора',
+  'usr_mode_title' => 'Переключиться в режим пользователя',
+  'usr_mode_lnk' => 'Режим пользователя',
+  'upload_pic_title' => 'Загрузить файл в альбом',
+  'upload_pic_lnk' => 'Загрузить файл',
+  'register_title' => 'Создать учётную запись',
+  'register_lnk' => 'Регистрация',
+  'login_title' => 'Войти на сайт', //cpg1.4
+  'login_lnk' => 'Вход',
+  'logout_title' => 'Выйти с сайта', //cpg1.4
+  'logout_lnk' => 'Выход',
+  'lastup_title' => 'Показать последние добавления', //cpg1.4
+  'lastup_lnk' => 'Последние добавления',
+  'lastcom_title' => 'Показать последние комментарии', //cpg1.4
+  'lastcom_lnk' => 'Последние комментарии',
+  'topn_title' => 'Показать часто просматриваемые', //cpg1.4
+  'topn_lnk' => 'Часто просматриваемые',
+  'toprated_title' => 'Показать лучшие по рейтингу', //cpg1.4
+  'toprated_lnk' => 'Лучшие по рейтингу',
+  'search_title' => 'Поиск по сайту', //cpg1.4
+  'search_lnk' => 'Поиск',
+  'fav_title' => 'Перейти в Избранные', //cpg1.4
+  'fav_lnk' => 'Избранные',
+  'memberlist_title' => 'Показать список пользователей',
+  'memberlist_lnk' => 'Пользователи',
+  'faq_title' => 'Часто задаваемые вопросы о галерее &quot;Coppermine&quot;',
+  'faq_lnk' => 'FAQ',
+);
+
+$lang_gallery_admin_menu = array(
+  'upl_app_title' => 'Подтвердить новые закачки', //cpg1.4
+  'upl_app_lnk' => 'Подтверждение закачки',
+  'admin_title' => 'Перейти к настройкам сайта', //cpg1.4
+  'admin_lnk' => 'Конфиг', //cpg1.4
+  'albums_title' => 'Перейти к настройкам альбомов', //cpg1.4
+  'albums_lnk' => 'Альбомы',
+  'categories_title' => 'Перейти к настройкам категорий', //cpg1.4
+  'categories_lnk' => 'Категории',
+  'users_title' => 'Перейти к настройкам пользователей', //cpg1.4
+  'users_lnk' => 'Пользователи',
+  'groups_title' => 'Перейти к настройкам групп', //cpg1.4
+  'groups_lnk' => 'Группы',
+  'comments_title' => 'Просмотр всех комментариев', //cpg1.4
+  'comments_lnk' => 'Просмотр комментариев',
+  'searchnew_title' => 'Перейти к групповому добавлению файлов', //cpg1.4
+  'searchnew_lnk' => 'Групповое добавление файлов',
+  'util_title' => 'Перейти в инструменты администратора', //cpg1.4
+  'util_lnk' => 'Инструменты администратора',
+  'key_title' => 'Перейти к словарю ключевых слов', //cpg1.4
+  'key_lnk' => 'Словарь ключевых слов', //cpg1.4
+  'ban_title' => 'Перейти к блокировке пользователей', //cpg1.4
+  'ban_lnk' => 'Бан пользователей',
+  'db_ecard_title' => 'Просмотр созданных открыток', //cpg1.4
+  'db_ecard_lnk' => 'Показать открытки',
+  'pictures_title' => 'Сортировать мои изображения', //cpg1.4
+  'pictures_lnk' => 'Сортировать мои изображения', //cpg1.4
+  'documentation_lnk' => 'Документация', //cpg1.4
+  'documentation_title' => 'Руководство по Coppermine', //cpg1.4
+);
+
+$lang_user_admin_menu = array(
+  'albmgr_title' => 'Создать и упорядочить мои альбомы', //cpg1.4
+  'albmgr_lnk' => 'Создать и упорядочить мои альбомы',
+  'modifyalb_title' => 'Перейти к изменению моих альбомов',  //cpg1.4
+  'modifyalb_lnk' => 'Изменить мои альбомы',
+  'my_prof_title' => 'Перейти в личный профиль', //cpg1.4
+  'my_prof_lnk' => 'Профиль',
+);
+
+$lang_cat_list = array(
+  'category' => 'Категория',
+  'albums' => 'Альбомы',
+  'pictures' => 'Файлы',
+);
+
+$lang_album_list = array(
+  'album_on_page' => 'Альбомов: %d / Страниц: %d',
+);
+
+$lang_thumb_view = array(
+  'date' => 'ДАТА',
+  //Sort by filename and title
+  'name' => 'ИМЯ ФАЙЛА',
+  'title' => 'НАЗВАНИЕ',
+  'sort_da' => 'Сортировать по дате [возрастание]',
+  'sort_dd' => 'Сортировать по дате [убывание]',
+  'sort_na' => 'Сортировать по имени [возрастание]',
+  'sort_nd' => 'Сортировать по имени [убывание]',
+  'sort_ta' => 'Сортировать по названию [возрастание]',
+  'sort_td' => 'Сортировать по названию [убывание]',
+  'position' => 'ПОЗИЦИЯ', //cpg1.4
+  'sort_pa' => 'Сортировать по позиции [возрастание]', //cpg1.4
+  'sort_pd' => 'Сортировать по позиции [убывание]', //cpg1.4
+  'download_zip' => 'Скачать как Zip файл',
+  'pic_on_page' => 'Файлов: %d / Страниц: %d',
+  'user_on_page' => '%d пользователей на %d страницах',
+  'enter_alb_pass' => 'Введите пароль альбома', //cpg1.4
+  'invalid_pass' => 'Неправильный пароль', //cpg1.4
+  'pass' => 'Пароль', //cpg1.4
+  'submit' => 'Продолжить', //cpg1.4
+);
+
+$lang_img_nav_bar = array(
+  'thumb_title' => 'Вернуться на страницу с миниатюрами',
+  'pic_info_title' => 'Показать/спрятать информацию о файле',
+  'slideshow_title' => 'Слайд-шоу',
+  'ecard_title' => 'Послать этот файл как открытку',
+  'ecard_disabled' => 'Открытки отключены',
+  'ecard_disabled_msg' => 'У Вас нет прав на отправку открыток', //js-alert
+  'prev_title' => 'Смотреть предыдущий файл',
+  'next_title' => 'Смотреть следующий файл',
+  'pic_pos' => 'ФАЙЛОВ %s/%s',
+  'report_title' => 'Пожаловаться модератору на этот файл', //cpg1.4
+  'go_album_end' => 'Перейти в конец', //cpg1.4
+  'go_album_start' => 'Вернуться в начало', //cpg1.4
+  'go_back_x_items' => 'перейти назад на %s файлов', //cpg1.4
+  'go_forward_x_items' => 'перейти вперед на %s файлов', //cpg1.4
+);
+
+$lang_rate_pic = array(
+  'rate_this_pic' => 'Оценить этот файл ',
+  'no_votes' => '(Голосов ещё нет)',
+  'rating' => '(текущий рейтинг: %s / 5 - Голосов: %s)',
+  'rubbish' => 'Мусор',
+  'poor' => 'Плохо',
+  'fair' => 'Средне',
+  'good' => 'Хорошо',
+  'excellent' => 'Отлично',
+  'great' => 'Супер',
+);
+
+// ------------------------------------------------------------------------- //
+// File include/exif.inc.php
+// ------------------------------------------------------------------------- //
+
+// void
+
+// ------------------------------------------------------------------------- //
+// File include/functions.inc.php
+// ------------------------------------------------------------------------- //
+
+$lang_cpg_die = array(
+  INFORMATION => $lang_info,
+  ERROR => $lang_error,
+  CRITICAL_ERROR => 'Критическая ошибка',
+  'file' => 'Файл: ',
+  'line' => 'Строка: ',
+);
+
+$lang_display_thumbnails = array(
+  'filename' => 'Файл=', //cpg1.4
+  'filesize' => 'Объём=', //cpg1.4
+  'dimensions' => 'Размеры=', //cpg1.4
+  'date_added' => 'Дата=', //cpg1.4
+);
+
+$lang_get_pic_data = array(
+  'n_comments' => 'Комментариев: %s ',
+  'n_views' => 'Просмотров: %s',
+  'n_votes' => '(%s голосов)',
+);
+
+$lang_cpg_debug_output = array(
+  'debug_info' => 'Отладочная информация',
+  'select_all' => 'Выбрать всё',
+  'copy_and_paste_instructions' => 'Если Вы собираетесь просить о помощи на форумах Coppermine, скопируйте и вставьте эту отладочную информацию в Ваше сообщение вместе с сообщение об ошибке (если она есть). Убедитесь, что Вы заменили все пароли на ***, перед созданием своего сообщения. <br />Внимание: Это информационное сообщение и оно не означает, что в Вашей галерее содержится ошибка.', //cpg1.4
+  'phpinfo' => 'отобразить phpinfo',
+  'notices' => 'Заметки', //cpg1.4
+);
+
+$lang_language_selection = array(
+  'reset_language' => 'Язык по умолчанию',
+  'choose_language' => 'Выберите Ваш язык',
+);
+
+$lang_theme_selection = array(
+  'reset_theme' => 'Тема по умолчанию',
+  'choose_theme' => 'Выберите тему',
+);
+
+$lang_version_alert = array(
+  'version_alert' => 'Неподдерживаемая версия!', //cpg1.4
+  'security_alert' => 'Предупреждение об опасности!', //cpg1.4.3
+  'relocate_exists' => 'Удалите файл <a href="http://coppermine-gallery.net/forum/index.php?topic=24217.0">relocate_server.php</a> с вашего сайта!',
+  'no_stable_version' => 'Вы используете версию Coppermine %s (%s), которая предназначена только для продвинутых пользователей - данная версия предоставляется без поддержки и каких-либо гарантий со стороны разработчиков. Используйте её на Ваш страх и риск или установите последнюю стабильную версию, чтобы получить поддержку!', //cpg1.4
+  'gallery_offline' => 'Галерея в данный момент отключена и будет доступна только Вам в качестве администратора. Не забудьте включить галерею обратно после завершения всех запланированных работ.', //cpg1.4
+);
+
+$lang_create_tabs = array(
+  'previous' => 'предыдущий', //cpg1.4
+  'next' => 'следующий', //cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File include/init.inc.php
+// ------------------------------------------------------------------------- //
+
+// void
+
+// ------------------------------------------------------------------------- //
+// File keyword.inc.php                                                      //
+// ------------------------------------------------------------------------- //
+
+// void
+
+// ------------------------------------------------------------------------- //
+// File include/picmgmt.inc.php
+// ------------------------------------------------------------------------- //
+
+// void
+
+// ------------------------------------------------------------------------- //
+// File include/plugin_api.inc.php
+// ------------------------------------------------------------------------- //
+$lang_plugin_api = array(
+  'error_wakeup' => "Не могу включить плугин '%s'", //cpg1.4
+  'error_install' => "Не могу установить плугин '%s'", //cpg1.4
+  'error_uninstall' => "Не могу удалить плугин '%s'", //cpg1.4
+  'error_sleep' => "Не могу отключить плугин '%s'<br />", //cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File include/smilies.inc.php
+// ------------------------------------------------------------------------- //
+
+if (defined('SMILIES_PHP')) $lang_smilies_inc_php = array(
+  'Exclamation' => 'Exclamation',
+  'Question' => 'Question',
+  'Very Happy' => 'Very Happy',
+  'Smile' => 'Smile',
+  'Sad' => 'Sad',
+  'Surprised' => 'Surprised',
+  'Shocked' => 'Shocked',
+  'Confused' => 'Confused',
+  'Cool' => 'Cool',
+  'Laughing' => 'Laughing',
+  'Mad' => 'Mad',
+  'Razz' => 'Razz',
+  'Embarassed' => 'Embarassed',
+  'Crying or Very sad' => 'Crying or Very sad',
+  'Evil or Very Mad' => 'Evil or Very Mad',
+  'Twisted Evil' => 'Twisted Evil',
+  'Rolling Eyes' => 'Rolling Eyes',
+  'Wink' => 'Wink',
+  'Idea' => 'Idea',
+  'Arrow' => 'Arrow',
+  'Neutral' => 'Neutral',
+  'Mr. Green' => 'Mr. Green',
+);
+
+// ------------------------------------------------------------------------- //
+// File addpic.php
+// ------------------------------------------------------------------------- //
+
+// void
+
+// ------------------------------------------------------------------------- //
+// File mode.php //cpg1.4
+// ------------------------------------------------------------------------- //
+
+if (defined('MODE_PHP')) $lang_mode_php = array(
+  0 => 'Покидаю режим администратора...',
+  1 => 'Вхожу в режим администратора...',
+);
+
+// ------------------------------------------------------------------------- //
+// File albmgr.php
+// ------------------------------------------------------------------------- //
+
+if (defined('ALBMGR_PHP')) $lang_albmgr_php = array(
+  'alb_need_name' => 'Альбомы должны иметь название!', //js-alert
+  'confirm_modifs' => 'Вы уверены, что хотите сделать эти изменения?', //js-alert
+  'no_change' => 'Вы не сделали никаких изменений!', //js-alert
+  'new_album' => 'Новый альбом',
+  'confirm_delete1' => 'Вы уверены, что хотите удалить этот альбом?', //js-alert
+  'confirm_delete2' => '\nВсе файлы и комментарии к ним будут утеряны!', //js-alert
+  'select_first' => 'Сначала выберите альбом', //js-alert
+  'alb_mrg' => 'Менеджер альбомов',
+  'my_gallery' => '* Моя галерея *',
+  'no_category' => '* Нет категории *',
+  'delete' => 'Удалить',
+  'new' => 'Новый',
+  'apply_modifs' => 'Применить изменения',
+  'select_category' => 'Выберите категорию',
+);
+
+// ------------------------------------------------------------------------- //
+// File banning.php
+// ------------------------------------------------------------------------- //
+
+if (defined('BANNING_PHP')) $lang_banning_php = array(
+  'title' => 'Бан пользователей', //cpg1.4
+  'user_name' => 'Имя пользователя', //cpg1.4
+  'ip_address' => 'IP адрес', //cpg1.4
+  'expiry' => 'Истекает (пустой = навсегда)', //cpg1.4
+  'edit_ban' => 'Сохранить изменения', //cpg1.4
+  'delete_ban' => 'Удалить', //cpg1.4
+  'add_new' => 'Добавить новый бан', //cpg1.4
+  'add_ban' => 'Добавить', //cpg1.4
+  'error_user' => 'Не могу найти пользователя', //cpg1.4
+  'error_specify' => 'Вам нужно указать или имя пользователя, или IP адрес', //cpg1.4
+  'error_ban_id' => 'Неправильный ID бана!', //cpg1.4
+  'error_admin_ban' => 'Вы не можете забанить самого себя!', //cpg1.4
+  'error_server_ban' => 'Вы собираетесь забанить свой личный сервер? Не могу сделать этого...', //cpg1.4
+  'error_ip_forbidden' => 'Вы не можете забанить этот IP адрес - он используется только в локальных сетях!<br />Если Вы хотите разрешить бан для локальных IP адресов, измените соответствующую настройку в <a href="admin.php">Конфигурации галереи</a> (играет роль, только когда Coppermine используется в локальных сетях).', //cpg1.4
+  'lookup_ip' => 'WHOIS для IP адреса', //cpg1.4
+  'submit' => 'Выполнить!', //cpg1.4
+  'select_date' => 'выберите дату', //cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File bridgemgr.php //cpg1.4
+// ------------------------------------------------------------------------- //
+
+if (defined('BRIDGEMGR_PHP')) $lang_bridgemgr_php = array(
+  'title' => 'Менеджер интеграции',
+  'warning' => 'Внимание: используя этот менеджер, Вы должны понимать, что приватная информация посылается через html формы. Запускайте данный менеджер только у себя на компьютере (не на публичных компьютерах, например в интернет кафе), и убедитесь, что Вы очистили кэш браузера и временные файлы после того, как завершили Вашу работу с данным менеджером, иначе посторонние могут получить доступ к Вашим данным!',
+  'back' => 'назад',
+  'next' => 'дальше',
+  'start_wizard' => 'Запустить менеджер интеграции',
+  'finish' => 'Закончить',
+  'hide_unused_fields' => 'спрятать неиспользуемые поля (рекомендуется)',
+  'clear_unused_db_fields' => 'очистить неверные записи в базе данных (рекомендуется)',
+  'custom_bridge_file' => 'Ваш собственный файл интеграции (если имя файла <i>myfile.inc.php</i>, введите <i>myfile</i> в данное поле)',
+  'no_action_needed' => 'Нет необходимых действий на этом шаге. Нажмите \'дальше\', чтобы продолжить.',
+  'reset_to_default' => 'Сбросить на значения по умолчанию',
+  'choose_bbs_app' => 'выберите приложение для интеграции Coppermine с',
+  'support_url' => 'Перейти за помощью для данного приложения',
+  'settings_path' => 'путь используемый Вашим приложением',
+  'database_connection' => 'соединение с базой данных',
+  'database_tables' => 'таблицы базы данных',
+  'bbs_groups' => 'группы форумов',
+  'license_number' => 'Номер лицензии',
+  'license_number_explanation' => 'введите номер Вашей лицензии (если доступна)',
+  'db_database_name' => 'Имя базы данных',
+  'db_database_name_explanation' => 'Введите имя базы данных, используемое Вашим приложением',
+  'db_hostname' => 'Сервер базы данных',
+  'db_hostname_explanation' => 'Сервер, где расположена Ваша база данных mySQL, обычно &quot;localhost&quot;',
+  'db_username' => 'Учетная запись пользователя базы данных',
+  'db_username_explanation' => 'Имя пользователя используемое для подключения к базе данных mySQL приложения',
+  'db_password' => 'Пароль базы данных',
+  'db_password_explanation' => 'Пароль базы данных mySQL к учетной записи пользователя',
+  'full_forum_url' => 'Ссылка форума',
+  'full_forum_url_explanation' => 'Полная ссылка Вашего приложения (включаю тег http:// в начале, к примеру http://www.yourdomain.tld/forum)',
+  'relative_path_of_forum_from_webroot' => 'Относительный путь форума',
+  'relative_path_of_forum_from_webroot_explanation' => 'Относительный путь к Вашему форуму от корня сайта (Пример: если Ваш форум находится на http://www.yourdomain.tld/forum/, введите &quot;/forum/&quot; в данное поле)',
+  'relative_path_to_config_file' => 'Относительный путь к файлу конфигурации Вашего форума',
+  'relative_path_to_config_file_explanation' => 'Относительный путь к Вашему форуму, исходя из папки Coppermine (например &quot;../forum/&quot; если Ваш форум находится по адресу http://www.yourdomain.tld/forum/ и Coppermine галерея по адресу http://www.yourdomain.tld/gallery/)',
+  'cookie_prefix' => 'Префикс Cookie',
+  'cookie_prefix_explanation' => 'Тут должно быть имя cookie Вашего форума',
+  'table_prefix' => 'Префикс таблицы',
+  'table_prefix_explanation' => 'Должен совпадать с префиксом, который Вы выбрали во время установки Вашего форума.',
+  'user_table' => 'Таблица пользователей',
+  'user_table_explanation' => '(обычно подходит значение по умолчанию, если только установка Вашего форума не является стандартной)',
+  'session_table' => 'Таблица сессии',
+  'session_table_explanation' => '(обычно подходит значение по умолчанию, если только установка Вашего форума не является стандартной)',
+  'group_table' => 'Таблица группы',
+  'group_table_explanation' => '(обычно подходит значение по умолчанию, если только установка Вашего форума не является стандартной)',
+  'group_relation_table' => 'Таблица связанных групп',
+  'group_relation_table_explanation' => '(обычно подходит значение по умолчанию, если только установка Вашего форума не является стандартной)',
+  'group_mapping_table' => 'Таблица помеченных групп',
+  'group_mapping_table_explanation' => '(обычно подходит значение по умолчанию, если только установка Вашего форума не является стандартной)',
+  'use_standard_groups' => 'Использовать стандартные группы форума',
+  'use_standard_groups_explanation' => 'Использовать стандартные (встроенные) группы (рекомендуется). Аннулирует все настройки дополнительных групп на этой странице. Отключайте эту опцию, только если Вы действительно знаете, что делаете!',
+  'validating_group' => 'Группа ожидающая активации',
+  'validating_group_explanation' => 'ID группы на Вашем форуме, где находятся учетные записи пользователей, которые требуют активации (обычно подходит значение по умолчанию, если только установка Вашего форума не является стандартной)',
+  'guest_group' => 'Группа анонимных пользователей',
+  'guest_group_explanation' => 'ID группы на Вашем форуме, где находятся учетные записи гостей (анонимных пользователей) (обычно подходит значение по умолчанию, изменяйте только, если Вы знаете, что делаете)',
+  'member_group' => 'Группа постоянных участников',
+  'member_group_explanation' => 'ID группы на Вашем форуме, где находятся учетные записи &quot;постоянных участников&quot; (обычно подходит значение по умолчанию, изменяйте только, если Вы знаете, что делаете)',
+  'admin_group' => 'Группа администраторов',
+  'admin_group_explanation' => 'ID группы на Вашем форуме, где находятся учетные записи администраторов (обычно подходит значение по умолчанию, изменяйте только, если Вы знаете, что делаете)',
+  'banned_group' => 'Группа забаненных пользователей',
+  'banned_group_explanation' => 'ID группы на Вашем форуме, где находятся учетные записи забаненных пользователей (обычно подходит значение по умолчанию, изменяйте только, если Вы знаете, что делаете)',
+  'global_moderators_group' => 'Группа модераторов',
+  'global_moderators_group_explanation' => 'ID группы на Вашем форуме, где находятся учетные записи модераторов (обычно подходит значение по умолчанию, изменяйте только, если Вы знаете, что делаете)',
+  'special_settings' => 'Специфические настройки форума',
+  'logout_flag' => 'версия phpBB (тип выхода)',
+  'logout_flag_explanation' => 'Какая у Вас версия форума (данная настройка определяет механизм осуществления выхода с форума)',
+  'use_post_based_groups' => 'Использовать группы, основанные на постах пользователей?',
+  'logout_flag_yes' => '2.0.5 или выше',
+  'logout_flag_no' => '2.0.4 или ниже',
+  'use_post_based_groups_explanation' => 'Должны ли использоваться группы с форума, которые определяются количеством постов, набранных пользователями (позволяет частичное управление группами) или только группы по умолчанию (делает администрирование легче, рекомендуется). Также, Вы можете изменить данную настройку позже.',
+  'use_post_based_groups_yes' => 'да',
+  'use_post_based_groups_no' => 'нет',
+  'error_title' => 'Вы должны исправить данные ошибки, прежде чем продолжить. Перейдите на предыдущую страницу.',
+  'error_specify_bbs' => 'Вы должны указать, с каким приложением Вы хотите интегрировать Ваш Coppermine.',
+  'error_no_blank_name' => 'Вы не можете оставить имя файла Вашей собственной интеграции пустым.',
+  'error_no_special_chars' => 'Имя файла интеграции недолжно содержать никаких специальных символов кроме подчеркивания (_) и черты (-)!',
+  'error_bridge_file_not_exist' => 'Файл интеграции %s отсутствует на сервере. Проверьте, действительно ли Вы загрузили его.',
+  'finalize' => 'включить/выключить интеграцию',
+  'finalize_explanation' => 'Настройки, которые Вы указали, были записаны в базу данных, но интеграция не была включена. Вы можете включать/выключать интеграцию позже в любое время. Убедитесь, что Вы не забудете имя учетной записи администратора и её пароль от самой галереи Coppermine, он может потребоваться Вам позже, чтобы вносить нужные изменения. Если что-то пошло не так, перейдите %s и отключите интеграцию, использую Вашу учетную запись администратора основной галереи (обычно ту, что Вы указали во время установки Coppermine галереи).',
+  'your_bridge_settings' => 'Ваши настройки интеграции',
+  'title_enable' => 'Включить интеграцию с %s',
+  'bridge_enable_yes' => 'включить',
+  'bridge_enable_no' => 'выключить',
+  'error_must_not_be_empty' => 'не должно быть пустым',
+  'error_either_be' => 'должно быть или %s, или %s',
+  'error_folder_not_exist' => '%s не существует. Исправьте значение введенное для %s',
+  'error_cookie_not_readible' => 'Coppermine не может прочитать cookie с именем %s. Исправьте значение, которое Вы ввели для %s или перейдите в администраторскую панель Вашего приложения и убедитесь, что путь cookie доступен для чтения Coppermine.',
+  'error_mandatory_field_empty' => 'Вы не можете оставить поля %s пустыми - заполните их правильными значениями.',
+  'error_no_trailing_slash' => 'Недолжно быть слеша в поле %s.',
+  'error_trailing_slash' => 'Должен быть слеш в поле %s.',
+  'error_db_connect' => 'Не могу подключиться к базе данных mySQL с указанными Вами данными. Вот что сообщает mySQL:',
+  'error_db_name' => 'Coppermine не смог установить соединение, он не смог найти базу данных %s. Убедитесь, что Вы указали %s правильно. Вот что сообщает mySQL:',
+  'error_prefix_and_table' => '%s и ',
+  'error_db_table' => 'Не могу найти таблицу %s. Убедитесь, что Вы указали %s правильно.',
+  'recovery_title' => 'Менеджер интеграции: экстренное восстановление',
+  'recovery_explanation' => 'Если Вы пришли сюда, чтобы управлять интеграцией Coppermine галереи, Вы должны сначала войти в галерею в качестве администратора. Если Вы не можете войти, потому что интеграция не работает так, как ожидалось, Вы можете отключить интеграцию на этой странице. Ввод Вашего имя пользователя и пароля не позволит войти Вам в систему, он лишь отключить интеграцию. Обратитесь к документации за подробностями.',
+  'username' => 'Имя пользователя',
+  'password' => 'Пароль',
+  'disable_submit' => 'выполнить',
+  'recovery_success_title' => 'Авторизация прошла успешно',
+  'recovery_success_content' => 'Вы успешно отключили интеграцию. Ваша галерея Coppermine теперь работает в независимом режиме.',
+  'recovery_success_advice_login' => 'Войдите в галерею в качестве администратора, чтобы изменить настройки Вашей интеграции и/или включить интеграцию снова.',
+  'goto_login' => 'Перейти на страницу входа',
+  'goto_bridgemgr' => 'Перейти к менеджеру интеграции',
+  'recovery_failure_title' => 'Авторизация провалилась',
+  'recovery_failure_content' => 'Вы указали неверные данный авторизации. Вы должны указать данные учетной записи администратора Вашей независимой версии галереи (обычно данные учетной записи, которые Вы указывали во время установки Coppermine).',
+  'try_again' => 'попытайтесь снова',
+  'recovery_wait_title' => 'Время ожидания ещё не прошло',
+  'recovery_wait_content' => 'Из соображений безопасности данный скрипт не позволяет повторять неудавшуюся авторизацию через такой короткий промежуток времени, Вам придется подождать некоторое время, пока Вам снова не разрешать попытаться произвести авторизацию.',
+  'wait' => 'подождите',
+  'create_redir_file' => 'Создать файл перенаправления (рекомендуется)',
+  'create_redir_file_explanation' => 'Чтобы перенаправлять пользователей после того как они вошли на Ваш форум, Вам нужно создать файл перенаправления в папке Вашего форума. Когда данная опция отмечена, менеджер интеграции попытается создаться данный файл для Вас или предоставит Вам готовый код данного файла, чтобы Вы могли создать его вручную.',
+  'browse' => 'просмотр',
+);
+
+// ------------------------------------------------------------------------- //
+// File calendar.php //cpg1.4
+// ------------------------------------------------------------------------- //
+
+if (defined('CALENDAR_PHP')) $lang_calendar_php = array(
+  'title' => 'Календарь', //cpg1.4
+  'close' => 'закрыть', //cpg1.4
+  'clear_date' => 'очистить дату', //cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File catmgr.php
+// ------------------------------------------------------------------------- //
+
+if (defined('CATMGR_PHP')) $lang_catmgr_php = array(
+  'miss_param' => 'Параметры, требуемые для выполнения операции \'%s\', не предоставлены!',
+  'unknown_cat' => 'Выбранная категория не существует в базе',
+  'usergal_cat_ro' => 'Категория альбомов пользователей не может быть удалена!',
+  'manage_cat' => 'Управление категориями',
+  'confirm_delete' => 'Вы уверены, что хотите УДАЛИТЬ эту категорию?', //js-alert
+  'category' => 'Категория',
+  'operations' => 'Операции',
+  'move_into' => 'Перенести в',
+  'update_create' => 'Обновить/Создать категорию',
+  'parent_cat' => 'Категория верхнего уровня',
+  'cat_title' => 'Название категории',
+  'cat_thumb' => 'Миниатюра категории',
+  'cat_desc' => 'Описание категории',
+  'categories_alpha_sort' => 'Сортировать категории по алфавиту (вместо выбранного порядка сортировки)', //cpg1.4
+  'save_cfg' => 'Сохранить конфигурацию', //cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File admin.php //cpg1.4
+// ------------------------------------------------------------------------- //
+
+if (defined('ADMIN_PHP')) $lang_admin_php = array(
+  'title' => 'Конфигурация галереи', //cpg1.4
+  'manage_exif' => 'Управлять отображением Exif информации', //cpg1.4
+  'manage_plugins' => 'Управлять плугинами', //cpg1.4
+  'manage_keyword' => 'Управлять ключевыми словами', //cpg1.4
+  'restore_cfg' => 'Восстановить настройки по умолчанию',
+  'save_cfg' => 'Сохранить новую конфигурацию',
+  'notes' => 'Заметки',
+  'info' => 'Информация',
+  'upd_success' => 'Конфигурация галереи была обновлена',
+  'restore_success' => 'Настройки галереи по умолчанию были восстановлены',
+  'name_a' => 'Имя [возрастание]',
+  'name_d' => 'Имя [убывание]',
+  'title_a' => 'Название [возрастание]',
+  'title_d' => 'Название [убывание]',
+  'date_a' => 'Дата [возрастание]',
+  'date_d' => 'Дата [убывание]',
+  'pos_a' => 'Позиция [возрастание]', //cpg1.4
+  'pos_d' => 'Позиция [убывание]', //cpg1.4
+  'th_any' => 'Макс. размер',
+  'th_ht' => 'Высота',
+  'th_wd' => 'Ширина',
+  'label' => 'описание',
+  'item' => 'флаг',
+  'debug_everyone' => 'Всем',
+  'debug_admin' => 'Только админы',
+  'no_logs'=> 'Выключен', //cpg1.4
+  'log_normal'=> 'Стандартный', //cpg1.4
+  'log_all' => 'Все', //cpg1.4
+  'view_logs' => 'Просмотр логов', //cpg1.4
+  'click_expand' => 'кликните на секцию, чтобы развернуть', //cpg1.4
+  'expand_all' => 'Развернуть все', //cpg1.4
+  'notice1' => '(*) Эти настройки недолжны изменяться, если у Вас уже есть файлы в базе данных.', //cpg1.4 - (relocated)
+  'notice2' => '(**) Когда изменяете эти настройки, то будут затронуты файлы, добавленные после данного изменения, поэтому не рекомендуется изменять эти настройки, если у Вас уже есть файлы в галерее. Несмотря на это Вы можете применить изменения к существующим файлам с помощью &quot;<a href="util.php">Инструмент администратора</a>&quot;.', //cpg1.4 - (relocated)
+  'notice3' => '(***) Все лог файлы ведутся на английском языке.', //cpg1.4 - (relocated)
+  'bbs_disabled' => 'Функция недоступна, когда используется интеграция', //cpg1.4
+  'auto_resize_everyone' => 'Все', //cpg1.4
+  'auto_resize_user' => 'Только пользователи', //cpg1.4
+  'ascending' => 'возрастание', //cpg1.4
+  'descending' => 'убывание', //cpg1.4
+);
+
+if (defined('ADMIN_PHP')) $lang_admin_data = array(
+  'Общий настройки',
+  array('Название галереи', 'gallery_name', 0, 'f=index.htm&amp;as=admin_general_name&amp;ae=admin_general_name_end'), //cpg1.4
+  array('Описание галереи', 'gallery_description', 0, 'f=index.htm&amp;as=admin_general_description&amp;ae=admin_general_description_end'), //cpg1.4
+  array('Email адрес администратора', 'gallery_admin_email', 0, 'f=index.htm&amp;as=admin_general_email&amp;ae=admin_general_email_end'), //cpg1.4
+  array('Ссылка на папку Вашей галереи (никаких \'index.php\' или что-то подобного на конце ссылки)<br /><font size="-7">Ранее пункт назывался: Начальный адрес для ссылки \'Посмотреть остальные картинки!\' в открытках</font>', 'ecards_more_pic_target', 0, 'f=index.htm&amp;as=admin_general_coppermine-url&amp;ae=admin_general_coppermine-url_end'), //cpg1.4
+  array('Ссылка на Вашу домашнюю страницу', 'home_target', 0, 'f=index.htm&amp;as=admin_general_home-url&amp;ae=admin_general_home-url_end'), //cpg1.4
+  array('Включить ZIP-скачивание в избранном', 'enable_zipdownload', 1, 'f=index.htm&amp;as=admin_general_zip-download&amp;ae=admin_general_zip-download_end'), //cpg1.4
+  array('Разница во времени относительно GMT (текущее время: ' . localised_date(-1, $comment_date_fmt) . ')','time_offset',0, 'f=index.htm&amp;as=admin_general_time-offset&amp;ae=admin_general_time-offset_end&amp;top=1'), //cpg1.4
+  array('Включить шифрование паролей (нельзя отменить)','enable_encrypted_passwords',1, 'f=index.htm&amp;as=admin_general_encrypt_password_start&amp;ae=admin_general_encrypt_password_end&amp;top=1'), // cpg 1.4
+  array('Включить иконки помощи (помощь доступна только на английском языке)','enable_help',9, 'f=index.htm&amp;as=admin_general_help&amp;ae=admin_general_help_end'), //cpg1.4
+  array('Включить кликабельность ключевых слов в поиске','clickable_keyword_search',14, 'f=index.htm&amp;as=admin_general_keywords_start&amp;ae=admin_general_keywords_end'), //cpg1.4
+  array('Включить плугины', 'enable_plugins', 12, 'f=index.htm&amp;as=admin_general_enable-plugins&amp;ae=admin_general_enable-plugins_end'),  //cpg1.4
+  array('Разрешить бан локальных IP адресов', 'ban_private_ip', 1,  'f=index.htm&amp;as=admin_general_private-ip&amp;ae=admin_general_private-ip_end'), //cpg1.4
+  array('Встроенный проводник в групповом добавление файлов', 'browse_batch_add', 1, 'f=index.htm&amp;as=admin_general_browsable_batch_add&amp;ae=admin_general_browsable_batch_add_end'), //cpg1.4
+
+  'Язык &amp; Настройка кодировки',
+  array('Язык', 'lang', 5, 'f=index.htm&amp;as=admin_language_language&amp;ae=admin_language_language_end'), //cpg1.4
+  array('Использовать английский вариант, если фраза не найдена?', 'language_fallback', 1, 'f=index.htm&amp;as=admin_language_fallback&amp;ae=admin_language_fallback_end'), //cpg1.4
+  array('Кодировка символов', 'charset', 4, 'f=index.htm&amp;as=admin_language_charset&amp;ae=admin_language_charset_end'), //cpg1.4
+  array('Отображать список языков', 'language_list', 1, 'f=index.htm&amp;as=admin_language_list&amp;ae=admin_language_list_end'), //cpg1.4
+  array('Отображать флаги языков', 'language_flags', 8, 'f=index.htm&amp;as=admin_language_flags&amp;ae=admin_language_flags_end&amp;top=1'), //cpg1.4
+  array('Отображать &quot;Язык по умолчанию&quot; в выборе языков', 'language_reset', 1, 'f=index.htm&amp;as=admin_language_reset&amp;ae=admin_language_reset_end&amp;top=1'), //cpg1.4
+  //array('Отображать предыдущий/следующий на закладках', 'previous_next_tab', 1), //cpg1.4
+
+  'Настройки тем',
+  array('Тема', 'theme', 6, 'f=index.htm&amp;as=admin_theme_theme&amp;ae=admin_theme_theme_end'), //cpg1.4
+  array('Отображать список тем', 'theme_list', 1, 'f=index.htm&amp;as=admin_theme_theme_list&amp;ae=admin_theme_theme_list_end'), //cpg1.4
+  array('Отображать &quot;Тема по умолчанию&quot; в выборе тем', 'theme_reset', 1, 'f=index.htm&amp;as=admin_theme_theme_reset&amp;ae=admin_theme_theme_reset_end'), //cpg1.4
+  array('Отображать FAQ', 'display_faq', 1, 'f=index.htm&amp;as=admin_theme_faq&amp;ae=admin_theme_faq_end'), //cpg1.4
+  array('Название дополнительной ссылки в меню', 'custom_lnk_name', 0,'f=index.htm&amp;as=admin_theme_custom_lnk_name&amp;ae=admin_theme_custom_lnk_name_end'), //cpg1.4
+  array('Адрес дополнительной ссылки в меню', 'custom_lnk_url', 0,'f=index.htm&amp;as=admin_language_custom_lnk_url&amp;ae=admin_language_custom_lnk_url_end'), //cpg1.4
+  array('Отображать помощь по bbcode', 'show_bbcode_help', 1, 'f=index.htm&amp;as=admin_theme_bbcode&amp;ae=admin_theme_bbcode_end&amp;top=1'), //cpg1.4
+  array('Отображать иконки совместимости внизу страницы для тем, которые поддерживают XHTML и CSS','vanity_block',1, 'f=index.htm&amp;as=vanity_block&amp;ae=vanity_block_end'), //cpg1.4
+  array('Путь к дополнительному файлу верхней части галереи', 'custom_header_path', 0, 'f=index.htm&amp;as=admin_theme_include_path_start&amp;ae=admin_theme_include_path_end'), //cpg1.4
+  array('Путь к дополнительному файлу нижней части галереи', 'custom_footer_path', 0, 'f=index.htm&amp;as=admin_theme_include_path_start&amp;ae=admin_theme_include_path_end'), //cpg1.4
+
+  'Отображение списка альбомов',
+  array('Ширина главной таблицы (пиксели или %)', 'main_table_width', 0, 'f=index.htm&amp;as=admin_album_table-width&amp;ae=admin_album_table-width_end'), //cpg1.4
+  array('Количество отображаемых уровней категорий', 'subcat_level', 0, 'f=index.htm&amp;as=admin_album_category-levels&amp;ae=admin_album_category-levels_end'), //cpg1.4
+  array('Количество отображаемых альбомов', 'albums_per_page', 0, 'f=index.htm&amp;as=admin_album_number&amp;ae=admin_album_number_end'), //cpg1.4
+  array('Количество колонок для списка альбомов', 'album_list_cols', 0, 'f=index.htm&amp;as=admin_album_columns&amp;ae=admin_album_columns_end'), //cpg1.4
+  array('Размер миниатюр в пикселях', 'alb_list_thumb_size', 0, 'f=index.htm&amp;as=admin_album_thumbnail-size&amp;ae=admin_album_thumbnail-size_end'), //cpg1.4
+  array('Содержание главной страницы', 'main_page_layout', 0, 'f=index.htm&amp;as=admin_album_list_content&amp;ae=admin_album_list_content_end'), //cpg1.4
+  array('Отображать миниатюры альбомов первого уровня в категориях','first_level',1, 'f=index.htm&amp;as=admin_album_first-level_thumbs&amp;ae=admin_album_first-level_thumbs_end'), //cpg1.4
+  array('Сортировать категории по алфавиту (вместо выбранного порядка сортировки)','categories_alpha_sort',1, 'f=index.htm&amp;as=admin_album_list_alphasort_start&amp;ae=admin_album_list_alphasort_end'), //cpg1.4
+  array('Отображать число присоединенных файлов','link_pic_count',1, 'f=index.htm&amp;as=admin_album_linked_files_start&amp;ae=admin_album_linked_files_end'), //cpg1.4
+
+  'Отображение миниатюр',
+  array('Количество колонок на странице с миниатюрами', 'thumbcols', 0, 'f=index.htm&amp;as=admin_thumbnail_columns&amp;ae=admin_thumbnail_columns_end'), //cpg1.4
+  array('Количество строк на странице с миниатюрами', 'thumbrows', 0, 'f=index.htm&amp;as=admin_thumbnail_rows&amp;ae=admin_thumbnail_rows_end'), //cpg1.4
+  array('Максимальное количество отображаемых вкладок', 'max_tabs', 10, 'f=index.htm&amp;as=admin_thumbnail_tabs&amp;ae=admin_thumbnail_tabs_end'), //cpg1.4
+  array('Отображать под миниатюрой описание файла (в дополнение к названию)', 'caption_in_thumbview', 1, 'f=index.htm&amp;as=admin_thumbnail_display_caption&amp;ae=admin_thumbnail_display_caption_end'), //cpg1.4
+  array('Отображать под миниатюрой количество просмотров', 'views_in_thumbview', 1, 'f=index.htm&amp;as=admin_thumbnail_display_views&amp;ae=admin_thumbnail_display_views_end'), //cpg1.4
+  array('Отображать под миниатюрой количество комментариев', 'display_comment_count', 1, 'f=index.htm&amp;as=admin_thumbnail_display_comments&amp;ae=admin_thumbnail_display_comments_end'), //cpg1.4
+  array('Отображать под миниатюрой имя пользователя загрузившего файл', 'display_uploader', 1, 'f=index.htm&amp;as=admin_thumbnail_display_uploader&amp;ae=admin_thumbnail_display_uploader_end'), //cpg1.4
+  //array('Отображать под миниатюрой имена админов загрузивших файл', 'display_admin_uploader', 1, 'f=index.htm&amp;as=admin_thumbnail_display_admin_uploader&amp;ae=admin_thumbnail_display_admin_uploader_end'), //cpg1.4
+  array('Отображать под миниатюрой имя файла', 'display_filename', 1, 'f=index.htm&amp;as=admin_thumbnail_display_filename&amp;ae=admin_thumbnail_display_filename_end'), //cpg1.4
+  //array('Отображать описание альбома', 'alb_desc_thumb', 1, 'f=index.htm&amp;as=admin_thumbnail_display_description&amp;ae=admin_thumbnail_display_description_end'), //cpg1.4
+  array('Порядок сортировки файлов по умолчанию', 'default_sort_order', 3, 'f=index.htm&amp;as=admin_thumbnail_default_sortorder&amp;ae=admin_thumbnail_default_sortorder_end'), //cpg1.4
+  array('Минимальное количество голосов для файла, чтобы он появился в списке \'Лучшие по рейтингу\'', 'min_votes_for_rating', 0, 'f=index.htm&amp;as=admin_thumbnail_minimum_votes&amp;ae=admin_thumbnail_minimum_votes_end'), //cpg1.4
+
+  'Отображение изображений', //cpg1.4
+  array('Ширина таблицы для отображения файла (пиксели или %)', 'picture_table_width', 0, 'f=index.htm&amp;as=admin_image_comment_table-width&amp;ae=admin_image_comment_table-width_end'), //cpg1.4
+  array('Информация о файле видна по умолчанию', 'display_pic_info', 1, 'f=index.htm&amp;as=admin_image_comment_info_visible&amp;ae=admin_image_comment_info_visible_end'), //cpg1.4
+  array('Максимальная длина описания файла', 'max_img_desc_length', 0, 'f=index.htm&amp;as=admin_image_comment_descr_length&amp;ae=admin_image_comment_descr_length_end'), //cpg1.4
+  array('Максимальное количество символов в слове', 'max_com_wlength', 0, 'f=index.htm&amp;as=admin_image_comment_chars_per_word&amp;ae=admin_image_comment_chars_per_word_end'), //cpg1.4
+  array('Показывать диафильм', 'display_film_strip', 1, 'f=index.htm&amp;as=admin_image_comment_filmstrip_toggle&amp;ae=admin_image_comment_filmstrip_toggle_end'), //cpg1.4
+  array('Отображать имена файлов под кадрами диафильма', 'display_film_strip_filename', 1, 'f=index.htm&amp;as=admin_image_comment_display_film_strip_filename&amp;ae=admin_image_comment_display_film_strip_filename_end'), //cpg1.4
+  array('Количество кадров в диафильме', 'max_film_strip_items', 0, 'f=index.htm&amp;as=admin_image_comment_filmstrip_number&amp;ae=admin_image_comment_filmstrip_number_end'), //cpg1.4
+  array('Интервал слайд-шой в миллисекундах (1 секунда = 1000 миллисекунд)', 'slideshow_interval', 0, 'f=index.htm&amp;as=admin_image_comment_slideshow_interval&amp;ae=admin_image_comment_slideshow_interval_end'), //cpg1.4
+
+  'Настройки комментариев', //cpg1.4
+  array('Фильтровать плохие слова в комментариях', 'filter_bad_words', 1, 'f=index.htm&amp;as=admin_image_comment_bad_words&amp;ae=admin_image_comment_bad_words_end'), //cpg1.4
+  array('Разрешить смайлы в комментариях', 'enable_smilies', 1, 'f=index.htm&amp;as=admin_image_comment_smilies&amp;ae=admin_image_comment_smilies_end'), //cpg1.4
+  array('Разрешить несколько последовательных комментариев к одному файлу от одного и того же пользователя (отключить защиту от флуда)', 'disable_comment_flood_protect', 1, 'f=index.htm&amp;as=admin_image_comment_flood&amp;ae=admin_image_comment_flood_end'), //cpg1.4
+  array('Максимальное количество строк в комментарии', 'max_com_lines', 0, 'f=index.htm&amp;as=admin_image_comment_lines&amp;ae=admin_image_comment_lines_end'), //cpg1.4
+  array('Максимальная длина комментария', 'max_com_size', 0, 'f=index.htm&amp;as=admin_image_comment_length&amp;ae=admin_image_comment_length_end'), //cpg1.4
+  array('Уведомлять админа по email о добавленных комментариях', 'email_comment_notification', 1, 'f=index.htm&amp;as=admin_image_comment_admin_notify&amp;ae=admin_image_comment_admin_notify_end'), //cpg1.4
+  array('Порядок сортировки комментариев', 'comments_sort_descending', 17, 'f=index.htm&amp;as=admin_comment_sort_start&amp;ae=admin_comment_sort_end'), //cpg1.4
+  array('Префикс для комментариев анонимных пользователей', 'comments_anon_pfx', 0, 'f=index.htm&amp;as=comments_anon_pfx&amp;ae=comments_anon_pfx_end'), //cpg1.4
+
+  'Настройки файлов и миниатюр',
+  array('Качество для JPEG файлов (в %)', 'jpeg_qual', 0, 'f=index.htm&amp;as=admin_picture_thumbnail_jpeg_quality&amp;ae=admin_picture_thumbnail_jpeg_quality_end'), //cpg1.4
+  array('Максимальный размер миниатюры <a href="#notice2" class="clickable_option">**</a>', 'thumb_width', 0, 'f=index.htm&amp;as=admin_picture_thumbnail_max-dimension&amp;ae=admin_picture_thumbnail_max-dimension_end'), //cpg1.4
+  array('Использовать размер (ширина или высота или максимальный размер для миниатюры) <a href="#notice2" class="clickable_option">**</a>', 'thumb_use', 7, 'f=index.htm&amp;as=admin_picture_thumbnail_use-dimension&amp;ae=admin_picture_thumbnail_use-dimension_end'), //cpg1.4
+  array('Создавать промежуточные изображения','make_intermediate',1, 'f=index.htm&amp;as=admin_picture_thumbnail_intermediate_toggle&amp;ae=admin_picture_thumbnail_intermediate_toggle_end'), //cpg1.4
+  array('Максимальная ширина или высота для промежуточных изображений/видео (пиксели) <a href="#notice2" class="clickable_option">**</a>', 'picture_width', 0, 'f=index.htm&amp;as=admin_picture_thumbnail_intermediate_dimension&amp;ae=admin_picture_thumbnail_intermediate_dimension_end'), //cpg1.4
+  array('Максимальных размер загружаемых файлов (KB)', 'max_upl_size', 0, 'f=index.htm&amp;as=admin_picture_thumbnail_max_upload_size&amp;ae=admin_picture_thumbnail_max_upload_size_end'), //cpg1.4
+  array('Максимальная ширина или высота для загруженных изображений/видео (пиксели)', 'max_upl_width_height', 0, 'f=index.htm&amp;as=admin_picture_thumbnail_max_upload_dimension&amp;ae=admin_picture_thumbnail_max_upload_dimension_end'), //cpg1.4
+  array('Автоматически изменять размер изображений, которые больше чем макс. ширина или высота', 'auto_resize', 16, 'f=index.htm&amp;as=admin_picture_thumbnail_auto-resize&amp;ae=admin_picture_thumbnail_auto-resize_end'), //cpg1.4
+
+  'Дополнительные настройки файлов и миниатюр',
+  array('Пользователи могут иметь приватные альбомы (Внимание: если Вы переключите с \'Да\' на \'Нет\', текущие приватные альбомы станут публичными)', 'allow_private_albums', 1, 'f=index.htm&amp;as=admin_picture_thumb_advanced_private_toggle&amp;ae=admin_picture_thumb_advanced_private_toggle_end'), //cpg1.4
+  array('Показывать иконку приватного альбома для гостя','show_private',1, 'f=index.htm&amp;as=admin_picture_thumb_advanced_private_icon_show&amp;ae=admin_picture_thumb_advanced_private_icon_show_end'), //cpg1.4
+  array('Символы, запрещенные в именах файлов', 'forbiden_fname_char',0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_filename_forbidden_chars&amp;ae=admin_picture_thumb_advanced_filename_forbidden_chars_end'), //cpg1.4
+  //array('Разрешенные типы файлов для загрузки картинок', 'allowed_file_extensions',0, 'f=index.htm&amp;as=&amp;ae=_end'), //cpg1.4
+  array('Разрешенные типы изображений', 'allowed_img_types',0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_pic_extensions&amp;ae=admin_picture_thumb_advanced_pic_extensions_end'), //cpg1.4
+  array('Разрешенные типы видео файлов', 'allowed_mov_types',0, 'f=index.htm&amp;as=admin_thumbs_advanced_movie&amp;ae=admin_thumbs_advanced_movie_end'), //cpg1.4
+  array('Автоматический просмотр видео', 'media_autostart',1, 'f=index.htm&amp;as=admin_movie_autoplay&amp;ae=admin_movie_autoplay_end'), //cpg1.4
+  array('Разрешенные типы аудио файлов', 'allowed_snd_types',0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_audio_extensions&amp;ae=admin_picture_thumb_advanced_audio_extensions_end'), //cpg1.4
+  array('Разрешенные типы документов', 'allowed_doc_types',0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_doc_extensions&amp;ae=admin_picture_thumb_advanced_doc_extensions_end'), //cpg1.4
+  array('Метод изменения размеров изображений','thumb_method',2, 'f=index.htm&amp;as=admin_picture_thumb_advanced_resize_method&amp;ae=admin_picture_thumb_advanced_resize_method_end'), //cpg1.4
+  array('Путь к утилите ImageMagick \'convert\' (пример /usr/bin/X11/)', 'impath', 0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_im_path&amp;ae=admin_picture_thumb_advanced_im_path_end'), //cpg1.4
+  //array('Разрешенные типы изображений (действительно только для ImageMagick)', 'allowed_img_types',0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_allowed_imagetypes&amp;ae=admin_picture_thumb_advanced_allowed_imagetypes_end'), //cpg1.4
+  array('Параметры командной строки для ImageMagick', 'im_options', 0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_im_commandline&amp;ae=admin_picture_thumb_advanced_im_commandline_end'), //cpg1.4
+  array('Считывать EXIF информацию в JPEG файлах', 'read_exif_data', 13, 'f=index.htm&amp;as=admin_picture_thumb_advanced_exif&amp;ae=admin_picture_thumb_advanced_exif_end'), //cpg1.4
+  array('Считывать IPTC информацию в JPEG файлах', 'read_iptc_data', 1, 'f=index.htm&amp;as=admin_picture_thumb_advanced_iptc&amp;ae=admin_picture_thumb_advanced_iptc_end'), //cpg1.4
+  array('Директория альбома <a href="#notice1" class="clickable_option">*</a>', 'fullpath', 0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_albums_dir&amp;ae=admin_picture_thumb_advanced_albums_dir_end'), //cpg1.4
+  array('Директория для файлов пользователей <a href="#notice1" class="clickable_option">*</a>', 'userpics', 0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_userpics_dir&amp;ae=admin_picture_thumb_advanced_userpics_dir_end'), //cpg1.4
+  array('Префикс для промежуточных изображений <a href="#notice1" class="clickable_option">*</a>', 'normal_pfx', 0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_intermediate_prefix&amp;ae=admin_picture_thumb_advanced_intermediate_prefix_end'), //cpg1.4
+  array('Префикс для миниатюр <a href="#notice1" class="clickable_option">*</a>', 'thumb_pfx', 0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_thumbs_prefix&amp;ae=admin_picture_thumb_advanced_thumbs_prefix_end'), //cpg1.4
+  array('Режим по умолчанию для директорий', 'default_dir_mode', 0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_chmod_folder&amp;ae=admin_picture_thumb_advanced_chmod_folder_end'), //cpg1.4
+  array('Режим по умолчанию для файлов', 'default_file_mode', 0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_chmod_files&amp;ae=admin_picture_thumb_advanced_chmod_files_end'), //cpg1.4
+
+  'Настройки пользователей',
+  array('Разрешить регистрацию новых пользователей', 'allow_user_registration', 1, 'f=index.htm&amp;as=admin_allow_registration&amp;ae=admin_allow_registration_end'), //cpg1.4
+  array('Разрешить анонимный доступ (гости или анонимные пользователи)', 'allow_unlogged_access', 1, 'f=index.htm&amp;as=admin_allow_unlogged_access&amp;ae=admin_allow_unlogged_access_end'), //cpg1.4
+  array('Регистрация требует проверку подлинности через email', 'reg_requires_valid_email', 1, 'f=index.htm&amp;as=admin_registration_verify&amp;ae=admin_registration_verify_end'), //cpg1.4
+  array('Уведомлять админа о регистрации нового пользователя по email', 'reg_notify_admin_email', 1, 'f=index.htm&amp;as=admin_registration_notify&amp;ae=admin_registration_notify_end'), //cpg1.4
+  array('Активация регистрации пользователей админом', 'admin_activation', 1, 'f=index.htm&amp;as=admin_activation&amp;ae=admin_activation_end'),  //cpg1.4
+  array('Разрешить двум пользователям иметь один и тот же email адрес', 'allow_duplicate_emails_addr', 1, 'f=index.htm&amp;as=admin_allow_duplicate_emails_addr&amp;ae=admin_allow_duplicate_emails_addr_end'), //cpg1.4
+  array('Уведомлять админа об ожидании пользователем подтверждения загрузки', 'upl_notify_admin_email', 1, 'f=index.htm&amp;as=admin_approval_notify&amp;ae=admin_approval_notify_end'), //cpg1.4
+  array('Разрешить вошедшим пользователям просматривать список пользователей', 'allow_memberlist', 1, 'f=index.htm&amp;as=admin_user_memberlist&amp;ae=admin_user_memberlist_end'), //cpg1.4
+  array('Разрешить пользователям изменять их email адрес в профиле', 'allow_email_change', 1, 'f=index.htm&amp;as=admin_user_allow_email_change&amp;ae=admin_user_allow_email_change_end'), //cpg1.4
+  array('Разрешить пользователям вносить изменения в их файлы в публичных галереях', 'users_can_edit_pics', 1, 'f=index.htm&amp;as=admin_user_editpics_public_start&amp;ae=admin_user_editpics_public_end'), //cpg1.4
+  array('Количество неудавшихся попыток входа в галерею для получения временного бана (чтобы избежать попыток подбора паролей)', 'login_threshold', 0, 'f=index.htm&amp;as=admin_user_login_start&amp;ae=admin_user_login_end'), //cpg1.4
+  array('Продолжительность временного бана (в минутах)', 'login_expiry', 0, 'f=index.htm&amp;as=admin_user_login_start&amp;ae=admin_user_login_end'), //cpg1.4
+  array('Включить уведомление администратора', 'report_post', 1, 'f=index.htm&amp;as=admin_user_enable_report&amp;ae=admin_user_enable_report_end'),  //cpg1.4
+
+// custom profile fields,  //cpg1.4
+  'Дополнительные поля для профиля пользователя (оставьте пустыми, если не хотите использовать)<br />
+  Используйте поле 6 для длинных описаний, к примеру, для биографии', //cpg1.4
+  array('Имя поля 1', 'user_profile1_name', 0, 'f=index.htm&amp;as=admin_custom&amp;ae=admin_custom_end'), //cpg1.4
+  array('Имя поля 2', 'user_profile2_name', 0), //cpg1.4
+  array('Имя поля 3', 'user_profile3_name', 0), //cpg1.4
+  array('Имя поля 4', 'user_profile4_name', 0), //cpg1.4
+  array('Имя поля 5', 'user_profile5_name', 0), //cpg1.4
+  array('Имя поля 6', 'user_profile6_name', 0), //cpg1.4
+
+  'Дополнительные поля для описания изображений (оставьте пустыми, если не хотите использовать)',
+  array('Имя поля 1', 'user_field1_name', 0, 'f=index.htm&amp;as=admin_custom_image&amp;ae=admin_custom_image_end'), //cpg1.4
+  array('Имя поля 2', 'user_field2_name', 0),
+  array('Имя поля 3', 'user_field3_name', 0),
+  array('Имя поля 4', 'user_field4_name', 0),
+
+  'Настройки cookie',
+  array('Имя куки', 'cookie_name', 0, 'f=index.htm&amp;as=admin_cookie_name&amp;ae=admin_cookie_name_end'), //cpg1.4
+  array('Путь куки', 'cookie_path', 0, 'f=index.htm&amp;as=admin_cookie_path&amp;ae=admin_cookie_path_end'), //cpg1.4
+
+  'Настройки email (обычно ничего изменять не нужно; оставьте все поля пустыми, если не уверены в настройках)', //cpg1.4
+  array('Адрес сервера SMTP (если пусто, будет использоваться sendmail)', 'smtp_host', 0, 'f=index.htm&amp;as=admin_email&amp;ae=admin_email_end'), //cpg1.4
+  array('Имя пользователя для SMTP', 'smtp_username', 0), //cpg1.4
+  array('Пароль для SMTP', 'smtp_password', 0), //cpg1.4
+
+  'Логи и статистика', //cpg1.4
+  array('Режим ведения логов <a href="#notice3" class="clickable_option">***</a>', 'log_mode', 11, 'f=index.htm&amp;as=admin_logging_log_mode&amp;ae=admin_logging_log_mode_end'), //cpg1.4
+  array('Вести логи для открыток', 'log_ecards', 1, 'f=index.htm&amp;as=admin_general_log_ecards&amp;ae=admin_general_log_ecards_end'), //cpg1.4
+  array('Вести детализированную статистику голосования','vote_details',1, 'f=index.htm&amp;as=admin_logging_votedetails&amp;ae=admin_logging_votedetails_end'), //cpg1.4
+  array('Вести детализированную статистику хитов','hit_details',1, 'f=index.htm&amp;as=admin_logging_hitdetails&amp;ae=admin_logging_hitdetails_end'), //cpg1.4
+
+  'Настройки для отладочных работ', //cpg1.4
+  array('Включить режим отладки', 'debug_mode', 9, 'f=index.htm&amp;as=debug_mode&amp;ae=debug_mode_end'), //cpg1.4
+  array('Отображать сообщения в режиме отладки', 'debug_notice', 1, 'f=index.htm&amp;as=admin_misc_debug_notices&amp;ae=admin_misc_debug_notices_end'), //cpg1.4
+  array('Галерея отключена', 'offline', 1, 'f=index.htm&amp;as=admin_general_offline&amp;ae=admin_general_offline_end'), //cpg1.4
+);
+
+
+// ------------------------------------------------------------------------- //
+// File db_ecard.php
+// ------------------------------------------------------------------------- //
+
+if (defined('DB_ECARD_PHP')) $lang_db_ecard_php = array(
+  'title' => 'Послать открытки',
+  'ecard_sender' => 'Отправитель',
+  'ecard_recipient' => 'Получатель',
+  'ecard_date' => 'Дата',
+  'ecard_display' => 'Показать открытку',
+  'ecard_name' => 'Имя',
+  'ecard_email' => 'Email',
+  'ecard_ip' => 'IP #',
+  'ecard_ascending' => '[по возрастанию]',
+  'ecard_descending' => '[по убыванию]',
+  'ecard_sorted' => 'Отсортированы',
+  'ecard_by_date' => 'по дате',
+  'ecard_by_sender_name' => 'по имени отправителя',
+  'ecard_by_sender_email' => 'по email отправителя',
+  'ecard_by_sender_ip' => 'по IP отправителя',
+  'ecard_by_recipient_name' => 'по имени получателя',
+  'ecard_by_recipient_email' => 'по email получателя',
+  'ecard_number' => 'отображаю записи от %s до %s из %s',
+  'ecard_goto_page' => 'перейти на страницу',
+  'ecard_records_per_page' => 'Записей на странице',
+  'check_all' => 'Отметить все',
+  'uncheck_all' => 'Снять отметки',
+  'ecards_delete_selected' => 'Удалить выбранные открытки',
+  'ecards_delete_confirm' => 'Вы уверены, что хотите удалить записи? Отметьте галкой!',
+  'ecards_delete_sure' => 'Я уверен',
+);
+
+
+// ------------------------------------------------------------------------- //
+// File db_input.php
+// ------------------------------------------------------------------------- //
+
+if (defined('DB_INPUT_PHP')) $lang_db_input_php = array(
+  'empty_name_or_com' => 'Вы должны ввести своё имя и комментарий',
+  'com_added' => 'Ваш комментарий был добавлен',
+  'alb_need_title' => 'Вы должны задать название альбому!',
+  'no_udp_needed' => 'Обновление не требуется.',
+  'alb_updated' => 'Альбом был обновлен',
+  'unknown_album' => 'Выбранный альбом не существует или у Вас нет прав добавлять в этот альбом',
+  'no_pic_uploaded' => 'Ни один файл не был загружен!<br /><br />Если Вы действительно выбрали файл для закачки, проверьте, разрешает ли сервер производить закачки...',
+  'err_mkdir' => 'Ошибка в создании директории %s !',
+  'dest_dir_ro' => 'Указанная директория %s не имеет прав на запись!',
+  'err_move' => 'Не могу перенести %s в %s !',
+  'err_fsize_too_large' => 'Размер файла, который Вы загрузили, слишком большой (максимально разрешено %s x %s) !', //obsolete since cpg1.3 - consider removal in cpg1.4 once upload.php has been overhauled
+  'err_imgsize_too_large' => 'Размер файла, который Вы загрузили, слишком большой (максимально разрешено %s КБ) !', //obsolete since cpg1.3 - consider removal in cpg1.4 once upload.php has been overhauled
+  'err_invalid_img' => 'Файл, который Вы загрузили, не является правильным изображением!',
+  'allowed_img_types' => 'Вы можете загружать только %s изображения.',
+  'err_insert_pic' => 'Файл \'%s\' не может быть добавлен в альбом ',
+  'upload_success' => 'Ваш файл был успешно добавлен.<br /><br />Он станет доступным после подтверждения администрацией сайта.',
+  'notify_admin_email_subject' => '%s - Уведомление о загрузке файла',
+  'notify_admin_email_body' => 'Было загружено изображение пользователем %s, которое трубует подтверждения. Посетите %s',
+  'info' => 'Информация',
+  'com_added' => 'Добавлен комментарий',
+  'alb_updated' => 'Альбом обновлен',
+  'err_comment_empty' => 'Ваш комментарий пуст!',
+  'err_invalid_fext' => 'Разрешены только файлы с расширениями: <br /><br />%s.',
+  'no_flood' => 'Простите, но Вы являетесь автором последнего комментария для данного файла.<br /><br />Отредактируйте Ваш комментарий, если Вы хотите его изменить.',
+  'redirect_msg' => 'Вы перенаправляетесь.<br /><br /><br />Нажмите \'ПРОДОЛЖИТЬ\', если страница не обновится автоматически.',
+  'upl_success' => 'Ваш файл был успешно добавлен',
+  'email_comment_subject' => 'Добавлен комментарий в Coppermine Photo Gallery',
+  'email_comment_body' => 'Кто-то разместил комментарий в Вашей галерее. Просмотрите его.',
+  'album_not_selected' => 'Альбом не выбран', //cpg1.4
+  'com_author_error' => 'Зарегистрированный пользователь использует это имя, войдите или используйте другое имя', //cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File delete.php
+// ------------------------------------------------------------------------- //
+
+if (defined('DELETE_PHP')) $lang_delete_php = array(
+  'caption' => 'Описание',
+  'fs_pic' => 'полный размер изображения',
+  'del_success' => 'успешно удалено',
+  'ns_pic' => 'нормальный размер изображения',
+  'err_del' => 'не может быть удалено',
+  'thumb_pic' => 'миниатюра',
+  'comment' => 'комментарий',
+  'im_in_alb' => 'изображение в альбоме',
+  'alb_del_success' => 'Альбом &laquo;%s&raquo; удален', //cpg1.4
+  'alb_mgr' => 'Менеджер альбомов',
+  'err_invalid_data' => 'Получена неправильная информация в \'%s\'',
+  'create_alb' => 'Создаю альбом \'%s\'',
+  'update_alb' => 'Обновляю альбом \'%s\' с названием \'%s\' и индексом \'%s\'',
+  'del_pic' => 'Удалить файл',
+  'del_alb' => 'Удалить альбом',
+  'del_user' => 'Удалить пользователя',
+  'err_unknown_user' => 'Выбранный пользователь не существует!',
+  'err_empty_groups' => 'Отсутствует таблица группы или таблица группы пуста!', //cpg1.4
+  'comment_deleted' => 'Комментарий был успешно удален',
+  'npic' => 'Изображение', //cpg1.4
+  'pic_mgr' => 'Менеджер изображений', //cpg1.4
+  'update_pic' => 'Обновляю изображение \'%s\' с именем файла \'%s\' и индексом \'%s\'', //cpg1.4
+  'username' => 'Имя пользователя', //cpg1.4
+  'anonymized_comments' => '%s комментариев стали анонимными', //cpg1.4
+  'anonymized_uploads' => '%s публичных загрузок стали анонимными', //cpg1.4
+  'deleted_comments' => 'Удалено комментариев: %s', //cpg1.4
+  'deleted_uploads' => 'Удалено публичных загрузок: %s', //cpg1.4
+  'user_deleted' => 'пользователь %s удален', //cpg1.4
+  'activate_user' => 'Активировать пользователя', //cpg1.4
+  'user_already_active' => 'Учетная запись уже была активирована', //cpg1.4
+  'activated' => 'Активирован', //cpg1.4
+  'deactivate_user' => 'Деактивировать пользователя', //cpg1.4
+  'user_already_inactive' => 'Учетная запись уже была деактивирована', //cpg1.4
+  'deactivated' => 'Деактивирован', //cpg1.4
+  'reset_password' => 'Сбросить пароль', //cpg1.4
+  'password_reset' => 'Пароль сброшен для %s', //cpg1.4
+  'change_group' => 'Изменить основную группу', //cpg1.4
+  'change_group_to_group' => 'Изменение с %s на %s', //cpg1.4
+  'add_group' => 'Добавить вторичную группу', //cpg1.4
+  'add_group_to_group' => 'Добавляю пользователя %s в группу %s. Теперь он входит в основную группу %s и вторичную группу %s.', //cpg1.4
+  'status' => 'Статус', //cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File displayecard.php
+// ------------------------------------------------------------------------- //
+
+if (defined('DISPLAYECARD_PHP')) {
+
+$lang_displayecard_php = array(
+  'invalid_data' => 'Служебная информация для открытки, которую Вы пытаетесь просмотреть, была повреждена Вашей почтовой программой. Проверьте правильность ссылки.', //cpg1.4
+);
+}
+
+// ------------------------------------------------------------------------- //
+// File displayimage.php
+// ------------------------------------------------------------------------- //
+
+if (defined('DISPLAYIMAGE_PHP')){
+
+$lang_display_image_php = array(
+  'confirm_del' => 'Вы уверены что хотите УДАЛИТЬ этот файл?\\nКомментарии тоже будут удалены.', //js-alert
+  'del_pic' => 'УДАЛИТЬ ЭТОТ ФАЙЛ',
+  'size' => '%s x %s пикселей',
+  'views' => '%s раз(а)',
+  'slideshow' => 'Слайд-шоу',
+  'stop_slideshow' => 'ОСТАНОВИТЬ СЛАЙД-ШОУ',
+  'view_fs' => 'Нажмите, чтобы посмотреть в полный размер',
+  'edit_pic' => 'Изменить свойства файла', //cpg1.4
+  'crop_pic' => 'Обрезать и Повернуть',
+  'set_player' => 'Изменить проигрыватель', //cpg1.4
+);
+
+$lang_picinfo = array(
+  'title' =>'Информация о файле',
+  'Filename' => 'Имя файла',
+  'Album name' => 'Альбом',
+  'Rating' => 'Рейтинг (голосов: %s)',
+  'Keywords' => 'Ключевые слова',
+  'File Size' => 'Размер файла',
+  'Date Added' => 'Добавлен', //cpg1.4
+  'Dimensions' => 'Размеры',
+  'Displayed' => 'Просмотрен',
+  'URL' => 'Ссылка', //cpg1.4
+  'Make' => 'Производитель камеры', //cpg1.4
+  'Model' => 'Модель', //cpg1.4
+  'DateTime' => 'Дата Время', //cpg1.4
+  'ISOSpeedRatings'=>'ISO', //cpg1.4
+  'MaxApertureValue' => 'Макс. апертура', //cpg1.4
+  'FocalLength' => 'Фокусное расстояние', //cpg1.4
+  'Comment' => 'Комментарий',
+  'addFav'=>'Добавить в Избранное',
+  'addFavPhrase'=>'Избранные',
+  'remFav'=>'Удалить из Избранного',
+  'iptcTitle'=>'IPTC название',
+  'iptcCopyright'=>'IPTC авторское право',
+  'iptcKeywords'=>'IPTC ключевые слова',
+  'iptcCategory'=>'IPTC категория',
+  'iptcSubCategories'=>'IPTC под категория',
+  'ColorSpace' => 'Цветовое пространство', //cpg1.4
+  'ExposureProgram' => 'Режим выдержки', //cpg1.4
+  'Flash' => 'Вспышка', //cpg1.4
+  'MeteringMode' => 'Режим измерения', //cpg1.4
+  'ExposureTime' => 'Выдержка', //cpg1.4
+  'ExposureBiasValue' => 'Компенсация экспозиции', //cpg1.4
+  'ImageDescription' => 'Описание изображения', //cpg1.4
+  'Orientation' => 'Ориентация', //cpg1.4
+  'xResolution' => 'X разрешение', //cpg1.4
+  'yResolution' => 'Y разрешение', //cpg1.4
+  'ResolutionUnit' => 'Единица длины', //cpg1.4
+  'Software' => 'Программа', //cpg1.4
+  'YCbCrPositioning' => 'Положение точки в ячейке YСbCr', //cpg1.4
+  'ExifOffset' => 'сдвиг Exif', //cpg1.4
+  'IFD1Offset' => 'сдвиг IFD1', //cpg1.4
+  'FNumber' => 'Число диафрагмы', //cpg1.4
+  'ExifVersion' => 'Версия Exif', //cpg1.4
+  'DateTimeOriginal' => 'Время съемки', //cpg1.4
+  'DateTimedigitized' => 'Время создания цифрового файла', //cpg1.4
+  'ComponentsConfiguration' => 'Формат представления данных', //cpg1.4
+  'CompressedBitsPerPixel' => 'Средняя степень компрессии JPEG', //cpg1.4
+  'LightSource' => 'Источник света', //cpg1.4
+  'ISOSetting' => 'Режим ISO', //cpg1.4
+  'ColorMode' => 'Режим цвета', //cpg1.4
+  'Quality' => 'Качество', //cpg1.4
+  'ImageSharpening' => 'Резкость изображения', //cpg1.4
+  'FocusMode' => 'Режим фокуса', //cpg1.4
+  'FlashSetting' => 'Настройки вспышки', //cpg1.4
+  'ISOSelection' => 'Установленный ISO', //cpg1.4
+  'ImageAdjustment' => 'Контрастность изображения', //cpg1.4
+  'Adapter' => 'Адаптер', //cpg1.4
+  'ManualFocusDistance' => 'Дистанция ручного фокуса', //cpg1.4
+  'DigitalZoom' => 'Цифровой зум', //cpg1.4
+  'AFFocusPosition' => 'Выбор зоны фокусировки', //cpg1.4
+  'Saturation' => 'Насыщенность', //cpg1.4
+  'NoiseReduction' => 'Подавление шума', //cpg1.4
+  'FlashPixVersion' => 'Формат FlashPix', //cpg1.4
+  'ExifImageWidth' => 'Ширина изображения', //cpg1.4
+  'ExifImageHeight' => 'Высота изображения', //cpg1.4
+  'ExifInteroperabilityOffset' => 'Положение блока изображения', //cpg1.4
+  'FileSource' => 'Источник файла', //cpg1.4
+  'SceneType' => 'Тип сюжета', //cpg1.4
+  'CustomerRender' => 'Обработка изображения', //cpg1.4
+  'ExposureMode' => 'Режим выдержки', //cpg1.4
+  'WhiteBalance' => 'Баланс белого', //cpg1.4
+  'DigitalZoomRatio' => 'Коэффициент цифрового зума', //cpg1.4
+  'SceneCaptureMode' => 'Режим сюжетной программы', //cpg1.4
+  'GainControl' => 'Коэффициент усиления', //cpg1.4
+  'Contrast' => 'Контраст', //cpg1.4 
+  'Sharpness' => 'Резкость', //cpg1.4
+  'ManageExifDisplay' => 'Настроить отображение Exif', //cpg1.4
+  'submit' => 'Отправить', //cpg1.4
+  'success' => 'Информация успешно обновлена.', //cpg1.4
+  'details' => 'Детали', //cpg1.4
+);
+
+$lang_display_comments = array(
+  'OK' => 'OK',
+  'edit_title' => 'Изменить этот комментарий',
+  'confirm_delete' => 'Вы уверены, что хотите удалить этот комментарий?', //js-alert
+  'add_your_comment' => 'Добавить Ваш комментарий',
+  'name'=>'Имя',
+  'comment'=>'Комментарий',
+  'your_name' => 'Гость',
+  'report_comment_title' => 'Пожаловаться администратору на этот комментарий', //cpg1.4
+);
+
+$lang_fullsize_popup = array(
+  'click_to_close' => 'Нажмите на изображение, чтобы закрыть окно',
+);
+
+}
+
+// ------------------------------------------------------------------------- //
+// File ecard.php
+// ------------------------------------------------------------------------- //
+
+if (defined('ECARDS_PHP') || defined('DISPLAYECARD_PHP')) $lang_ecard_php =array(
+  'title' => 'Послать открытку',
+  'invalid_email' => '<font color="red"><b>Внимание</b></font>: неправильный формат email адреса!', //cpg1.4
+  'ecard_title' => 'Для Вас есть открытка от %s',
+  'error_not_image' => 'Только изображения могут быть посланы в качестве открытки.',
+  'view_ecard' => 'Если открытка не отображается корректно, пройдите по этой ссылке', //cpg1.4
+  'view_ecard_plaintext' => 'Чтобы просмотреть открытку, скопируйте и вставьте в Ваш браузер эту ссылку:', //cpg1.4
+  'view_more_pics' => 'Посмотреть остальные картинки!', //cpg1.4
+  'send_success' => 'Ваша открытка была отправлена',
+  'send_failed' => 'Извините, но сервер не может отправить Вашу открытку...',
+  'from' => 'От',
+  'your_name' => 'Ваше имя',
+  'your_email' => 'Ваш email адрес',
+  'to' => 'Кому',
+  'rcpt_name' => 'Имя получателя',
+  'rcpt_email' => 'Email адрес получателя',
+  'greetings' => 'Приветствие', //cpg1.4
+  'message' => 'Сообщение', //cpg1.4
+  'ecards_footer' => 'Отправлено %s с IP %s от %s (время галереи)', //cpg1.4
+  'preview' => 'Предварительный просмотр открытки', //cpg1.4
+  'preview_button' => 'Предварительный просмотр', //cpg1.4
+  'submit_button' => 'Отправить открытку', //cpg1.4
+  'preview_view_ecard' => 'Это будет дополнительная ссылка на открытку после её отправки. Ссылка не будет работать для предварительного просмотра.', //cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File report_file.php //cpg1.4
+// ------------------------------------------------------------------------- //
+
+if (defined('REPORT_FILE_PHP') || defined('DISPLAYREPORT_PHP')) $lang_report_php =array(
+  'title' => 'Сообщить администратору', //cpg1.4
+  'invalid_email' => '<b>Внимание</b>: неправильный email адрес!', //cpg1.4
+  'report_subject' => 'Жалоба от %s на %s в галерее', //cpg1.4
+  'view_report' => 'Дополнительная ссылка, если сообщение не отображается корректно', //cpg1.4
+  'view_report_plaintext' => 'Чтобы просмотреть сообщение, скопируйте и вставьте в Ваш браузер эту ссылку:', //cpg1.4
+  'view_more_pics' => 'Галерея', //cpg1.4
+  'send_success' => 'Ваше сообщение было отправлено', //cpg1.4
+  'send_failed' => 'Извините, но сервер не может отправить Ваше сообщение...', //cpg1.4
+  'from' => 'От', //cpg1.4
+  'your_name' => 'Ваше имя', //cpg1.4
+  'your_email' => 'Ваш email адрес', //cpg1.4
+  'to' => 'Кому', //cpg1.4
+  'administrator' => 'Администратор', //cpg1.4
+  'subject' => 'Тема', //cpg1.4
+  'comment_field_name' => 'Жалоба на комментарии "%s"', //cpg1.4
+  'reason' => 'Причина', //cpg1.4
+  'message' => 'Сообщение', //cpg1.4
+  'report_footer' => 'Отправлено %s с IP %s от %s (время галереи)', //cpg1.4
+  'obscene' => 'неприличный', //cpg1.4
+  'offensive' => 'оскорбление', //cpg1.4
+  'misplaced' => 'флуд/не в том месте', //cpg1.4
+  'missing' => 'потерявшийся', //cpg1.4
+  'issue' => 'ошибка/нельзя просмотреть', //cpg1.4
+  'other' => 'другое', //cpg1.4
+  'refers_to' => 'Жалоба на файл', //cpg1.4
+  'reasons_list_heading' => 'причина для сообщения:', //cpg1.4
+  'no_reason_given' => 'причина не указана', //cpg1.4
+  'go_comment' => 'Перейти к комментарию', //cpg1.4
+  'view_comment' => 'Просмотреть полный отчёт с комментарием', //cpg1.4
+  'type_file' => 'файл', //cpg1.4
+  'type_comment' => 'комментарий', //cpg1.4
+  'invalid_data' => 'Служебная информация для сообщения, которую Вы пытаетесь просмотреть, была повреждена Вашей почтовой программой. Проверьте правильность ссылки.', //cpg1.4
+
+);
+
+// ------------------------------------------------------------------------- //
+// File editpics.php
+// ------------------------------------------------------------------------- //
+
+if (defined('EDITPICS_PHP')) $lang_editpics_php = array(
+  'pic_info' => 'Информация',
+  'album' => 'Альбом',
+  'title' => 'Название',
+  'filename' => 'Имя файла', //cpg1.4
+  'desc' => 'Описание',
+  'keywords' => 'Ключевые слова',
+  'new_keyword' => 'Новое ключевое слово', //cpg1.4
+  'new_keywords' => 'Найдено новое ключевое слово', //cpg1.4
+  'existing_keyword' => 'Имеющееся ключевое слово', //cpg1.4
+  'pic_info_str' => '%s &times; %s - %s КБ - просмотров %s - голосов %s',
+  'approve' => 'Одобрить файл',
+  'postpone_app' => 'Отложить одобрение',
+  'del_pic' => 'Удалить файл',
+  'del_all' => 'Удалить ВСЕ файлы', //cpg1.4
+  'read_exif' => 'Считать EXIF данные снова',
+  'reset_view_count' => 'Сбросить счетчик просмотров',
+  'reset_all_view_count' => 'Сбросить ВСЕ счетчики просмотров', //cpg1.4
+  'reset_votes' => 'Сбросить голоса',
+  'reset_all_votes' => 'Сбросить ВСЕ голоса', //cpg1.4
+  'del_comm' => 'Удалить комментарии',
+  'del_all_comm' => 'Удалить ВСЕ комментарии', //cpg1.4
+  'upl_approval' => 'Одобрение загрузки', //cpg1.4
+  'edit_pics' => 'Изменить файлы',
+  'see_next' => 'Посмотреть следующие файлы',
+  'see_prev' => 'Посмотреть предыдущие файлы',
+  'n_pic' => 'файлов %s',
+  'n_of_pic_to_disp' => 'Количество файлов для просмотра',
+  'apply' => 'Применить изменения',
+  'crop_title' => 'Coppermine Редактор Изображений',
+  'preview' => 'Предварительный просмотр',
+  'save' => 'Сохранить изображение',
+  'save_thumb' =>'Сохранить как миниатюру',
+  'gallery_icon' => 'Сделать это моей иконкой', //cpg1.4
+  'sel_on_img' =>'Выбор должен быть целиком расположен на изображении!', //js-alert
+  'album_properties' =>'Свойства альбома', //cpg1.4
+  'parent_category' =>'Родительская категория', //cpg1.4
+  'thumbnail_view' =>'Отображение миниатюр', //cpg1.4
+  'select_unselect' =>'выбрать всё/снять выделение', //cpg1.4
+  'file_exists' => "Такой файл '%s' уже существует.", //cpg1.4
+  'rename_failed' => "Ошибка переименования '%s' в '%s'.", //cpg1.4
+  'src_file_missing' => "Исходный файл '%s' отсутствует.", // cpg 1.4
+  'mime_conv' => "Не могу конвертировать файл из '%s' в '%s'",//cpg1.4
+  'forb_ext' => 'Запрещенное расширение файла.',//cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File faq.php
+// ------------------------------------------------------------------------- //
+
+if (defined('FAQ_PHP')) $lang_faq_php = array(
+  'faq' => 'Часто Задаваемые Вопросы',
+  'toc' => 'Оглавление',
+  'question' => 'Вопрос: ',
+  'answer' => 'Ответ: ',
+);
+
+if (defined('FAQ_PHP')) $lang_faq_data = array(
+  'Основной FAQ',
+  array('Почему я должен регистрироваться?', 'Регистрация может быть затребована или нет администрацией сайта. Регистрация предоставляет пользователю дополнительные возможности: загрузка файлов, свой список избранных файлов, возможность оценивать изображения, оставлять к ним комментарии и т.п.', 'allow_user_registration', '1'),
+  array('Как я могу зарегистрироваться?', 'Пройдите в пункт &quot;Регистрация&quot; и заполните необходимые данные (также, если хотите, можете заполнить дополнительную информацию о себе).<br />Если Администрация требует подтверждения регистрации через email, то после заполнения Вашей информации, Вы должны получить электронное письмо на указанный при регистрации в Ваших данных email адрес с инструкциями как активизировать Вашу учётную запись на сайте. Ваша учётная запись должна быть активирована, чтобы Вы могли войти на сайт.', 'allow_user_registration', '1'), //cpg1.4
+  array('Как осуществить вход?', 'Пройдите в пункт &quot;Вход&quot;, введите Ваше имя пользователя и пароль и, если хотите, отметьте &quot;Автоматически входить при каждом посещении&quot;, чтобы Вам не приходилось каждый раз заново вводить имя пользователя и пароль при входе на сайт.<br /><b>ВАЖНО: У Вас должны быть включены cookies/куки для данного сайта. И впоследствии cookies/куки с данного сайта не должны удаляться, чтобы Вы могли использовать эту возможность &quot;Автоматически входить при каждом посещении&quot;.</b>', 'offline', 0),
+  array('Почему я не могу войти?', 'Вы зарегистрировались и открыли ссылку присланную вам по email?. Данная ссылка активирует Вашу учётную запись. В случае других проблем входа на сайт свяжитесь с администрацией сайта.', 'offline', 0),
+  array('Что делать, если я забыл пароль?', 'Если при входе на сайт по ссылке (&quot;Вход&quot;) есть ссылка &quot;Забыли пароль?&quot;, тогда воспользуйтесь ей. В противном случае свяжитесь с администрацией сайта для получения нового пароля.', 'offline', 0),
+  //array('Чтобы будет, если я изменю адрес email?', 'Просто войдите на сайт и измените Ваш email адрес через кнопку &quot;Профиль&quot;. Вы должны находиться в режиме администратора.', 'offline', 0),
+  array('Как я могу добавить картинку в &quot;Избранные&quot;?', 'Кликните на изображение, затем на значок-ссылку &quot;Показать/спрятать информацию о файле&quot; (<img src="images/info.gif" width="16" height="16" border="0" alt="Показать/спрятать информацию о файле" />), прокрутите информацию об изображении вниз и выберите &quot;Добавить в Избранное&quot;.<br />Администрация может включить отображение информации о файл с самого начала, тогда вам не нужно будет нажимать этот значок-ссылку.<br /><b>ВАЖНО: У Вас должны быть включены cookies/куки для данного сайта. И впоследствии cookies/куки с данного сайта не должны удаляться, так как в них будет хранится информация о тех файлах, которые Вы добавили в избранное.</b>', 'offline', 0),
+  array('Как оценить файл (рейтинг)?', 'Кликните по миниатюре, проследуйте вниз изображения и выберите желаемую оценку/рейтинг.', 'offline', 0),
+  array('Как добавить комментарий к изображению?', 'Кликните по миниатюре, проследуйте вниз изображения и добавьте комментарий.', 'offline', 0),
+  array('Как загрузить файл?', 'Пройдите в пункт &quot;Загрузить файл&quot;, нажмите &quot;Browse&quot;, найдите необходимый для загрузки файл, нажмите &quot;Открыть&quot; и нажмите &quot;ПРОДОЛЖИТЬ&quot;. После предварительной загрузки выберите альбом, куда Вы хотите загрузить файл, и нажмите &quot;ПРОДОЛЖИТЬ&quot;. Также при желании можете добавить название и описание.<br /><br />Допольнительно, для тех пользователей, которые используют <b>Windows XP</b>: Вы можете загружать сразу несколько файлов напрямую в Ваши приватные альбомы, используя помощник веб публикации (XP Publishing wizard).<br />Для получения необходимых инструкций и файла, для внесения нужных изменений в реестр, <a href="xp_publish.php">нажмите здесь.</a>', 'offline', 0), //cpg1.4
+  array('Куда я должен загружать изображения?', 'Вы можете загружать файлы в Ваши альбомы в &quot;Моя галерея&quot;. Также Администрация можете разрешить Вам загружать файлы в один или несколько альбомов Основной Галереи.', 'offline', 0),
+  array('Какие типы и размер файлов я могу загружать?', 'Какой размер и тип файлов (jpg, png, и т.д.) можно загружать решает администратор.', 'offline', 0),
+  array('Как я могу создавать, переименовывать или удалять альбомы в &quot;Моя галерея&quot;?', 'Вы должны перейти в &quot;Режим администратора&quot;.<br />Пройдите в &quot;Создать / упорядочить мои альбомы&quot; и нажать &quot;Новый&quot;. Измените в списке &quot;Новый альбом&quot; на желаемое название.<br />Вы также можете переименовать любой альбом в Вашей галерее.<br />Нажмите &quot;Применить изменения&quot;.', 'allow_private_albums', 1),
+  array('Как я могу изменять и ограничивать пользователей от просмотра моих альбомов?', 'Вы должны перейти в &quot;Режим администратора&quot;.<br />Пройдите в &quot;Изменить мои альбомы&quot;. На панели &quot;Обновить альбом&quot; выберите нужный альбом.<br />Теперь Вы можете изменить название, описание, миниатюру альбома. Ограничить пользователей от просмотра, оставления комментариев и оценки файлов.<br />Нажмите &quot;Обновить альбом&quot;.', 'allow_private_albums', 1),
+  array('Как я могу просмотреть галереи других пользователей?', 'Перейдите в корневую часть сайта, нажмите &quot;Список альбомов&quot; и выберите &quot;Галереи пользователей&quot;.', 'allow_private_albums', 1),
+  array('Что такое cookies/куки?', 'Cookies/куки - это кусок текста с данными, который посылается с сайта и сохраняется у вас на компьютере.<br />Cookies/куки обычно позволяют пользователю покидать и возвращаться на сайт без необходимости каждый раз вводить логин и пароль, плюс некоторые другие возможности.', 'offline', 0),
+  array('Где я могу взять эту программу для своего сайта?', 'Coppermine - это бесплатная Мультимедийная Галерея, распространяемая по GNU GPL лицензии. В ней много разнообразных функций и она была портирована на различные платформы. Посетите <a href="http://coppermine-gallery.net/">домашнюю страницу Coppermine</a>, чтобы узнать больше или скачать данную галерею.', 'offline', 0),
+
+  'Управление сайтом',
+  array('Что такое &quot;Список альбомов&quot;?', 'При нажатии &quot;Список альбомов&quot; в той категории, в которой Вы находились в данный момент, открывается основная страница категории со ссылками на каждый альбом. Если Вы не находитесь в какой-либо категории, Вы попадете на основную страницу галереи со ссылками на категории. Миниатюры могут являться ссылками в категории.', 'offline', 0),
+  array('Что такое &quot;Моя галерея&quot;?', 'Эта возможность позволяет пользователю создавать свою галерею - добавлять, удалять или изменять альбомы по своему усмотрению и загружать в них файлы.', 'allow_private_albums', 1), //cpg1.4
+  array('Какая разница между &quot;Режим администратора&quot; и &quot;Режим пользователя&quot;?', 'Находясь в режиме администратора, Вы можете изменять Вашу галерею (также можете изменять галереи других пользователей, если это разрешено администратором).', 'allow_private_albums', 1),
+  array('Что такое &quot;Загрузить файл&quot;?', 'При нажатии позволяет пользователю загрузить файл в галерею выбранную им или администратором сайта. Размер и тип файлов устанавливается администратором.', 'offline', 0),
+  array('Что такое &quot;Последние добавления&quot;?', 'При нажатии отображает последние загруженные файлы на сайт.', 'offline', 0),
+  array('Что такое &quot;Последние комментарии&quot;?', 'При нажатии отображает последние добавленные комментарии и файлы, к которым они были добавлены.', 'offline', 0),
+  array('Что такое &quot;Часто просматриваемые&quot;?', 'При нажатии отображает наиболее просматриваемые файлы всеми пользователями на сайте (в независимости от того, вошли они на сайт или нет).', 'offline', 0),
+  array('Что такое &quot;Лучшие по рейтингу&quot;?', 'При нажатии отображает самые высокие по рейтингу/оценке пользователей файлы. Также отображает средний рейтинг/оценку.<br />К примеру, пять пользователей оценили файл по <img src="images/rating4.gif" width="65" height="14" border="0" alt="" />: файл будет иметь рейтинг/оценку <img src="images/rating4.gif" width="65" height="14" border="0" alt="" />.<br />Или пять пользователей оценили файл от 1 до 5 (1,2,3,4,5), тогда общий рейтинг/оценка файла будет <img src="images/rating3.gif" width="65" height="14" border="0" alt="" />. 1+2+3+4+5=15 15/5=3<br />Значение рейтинга/оценки идёт от <img src="images/rating5.gif" width="65" height="14" border="0" alt="best" /> (самая лучшая) к <img src="images/rating0.gif" width="65" height="14" border="0" alt="worst" /> (самая плохая).', 'offline', 0),
+  array('Что такое &quot;Избранные&quot;?', 'При нажатии отображает те файлы, которые пользователь добавил в избранное на данном компьютере.<br /><b>ВАЖНО: Так как записи об избранных файлах сохраняются в cookie/куки текущего компьютера пользователя, то на другом компьютере Вы не сможете увидеть те файлы, которые Вы добавили в избранное на первом компьютере.', 'offline', 0),
+);
+
+
+// ------------------------------------------------------------------------- //
+// File forgot_passwd.php
+// ------------------------------------------------------------------------- //
+
+if (defined('FORGOT_PASSWD_PHP')) $lang_forgot_passwd_php = array(
+  'forgot_passwd' => 'Напомнить пароль',
+  'err_already_logged_in' => 'Вы уже вошли в систему!',
+  'enter_email' => 'Введите Ваш email адрес', //cpg1.4
+  'submit' => 'Выполнить',
+  'illegal_session' => 'Сессия восстановления пароля неправильная или истекла.', //cpg1.4
+  'failed_sending_email' => 'Письмо с напоминанием пароля не может быть послано!',
+  'email_sent' => 'Письмо с Вашим именем пользователя и новым паролем было послано на %s', //cpg1.4
+  'verify_email_sent' => 'Письмо было послано на %s. Пожалуйста, проверьте Вашу почту, чтобы завершить процесс.', //cpg1.4
+  'err_unk_user' => 'Выбранный пользователь не существует!',
+  'account_verify_subject' => '%s - Запрос нового пароля', //cpg1.4
+  'account_verify_body' => 'Вы запросили новый пароль. Если Вы хотите, чтобы Вам был послан новый пароль, пройдите по следующей ссылке:
+
+%s', //cpg1.4
+  'passwd_reset_subject' => '%s - Ваш новый пароль', //cpg1.4
+  'passwd_reset_body' => 'Ваш новый пароль:
+==============================
+   Имя: %s
+Пароль: %s
+==============================
+
+Нажмите %s, чтобы войти в галерею.', //cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File groupmgr.php
+// ------------------------------------------------------------------------- //
+
+if (defined('GROUPMGR_PHP')) $lang_groupmgr_php = array(
+  'group_name' => 'Имя группы', //cpg1.4
+  'permissions' => 'Разрешения', //cpg1.4
+  'public_albums' => 'Загрузка в публичные альбомы', //cpg1.4
+  'personal_gallery' => 'Персональная галерея', //cpg1.4
+  'upload_method' => 'Метод загрузки', //cpg1.4
+  'disk_quota' => 'Дисковая квота', //cpg1.4
+  'rating' => 'Голосование', //cpg1.4
+  'ecards' => 'Открытки', //cpg1.4
+  'comments' => 'Комментарии', //cpg1.4
+  'allowed' => 'Разрешено', //cpg1.4
+  'approval' => 'Подтверждение', //cpg1.4
+  'boxes_number' => 'Количество полей', //cpg1.4
+  'variable' => 'изменяемо', //cpg1.4
+  'fixed' => 'фиксировано', //cpg1.4
+  'apply' => 'Применить изменения',
+  'create_new_group' => 'Создать новую группу',
+  'del_groups' => 'Удалить выбранные группы',
+  'confirm_del' => 'Внимание, когда Вы удаляете группу, пользователи из этой группы будут автоматически переведены в группу \'Registered\'!\n\nВы хотите продолжить?', //js-alert
+  'title' => 'Управлять группами',
+  'num_file_upload' => 'Полей для загрузки файлов', //cpg1.4
+  'num_URI_upload' => 'Полей для загрузки ссылок', //cpg1.4
+  'reset_to_default' => 'Установить имя по умолчанию (%s) - рекомендуется!', //cpg1.4
+  'error_group_empty' => 'Таблица группы была пустая!<br /><br />Были созданы группы по умолчанию, пожалуйста, перезагрузите эту страницу', //cpg1.4
+  'explain_greyed_out_title' => 'Почему эта опция выделена серым?', //cpg1.4
+  'explain_guests_greyed_out_text' => 'Вы не можете изменять свойства этой группы, потому что Вы установили опцию &quot;Разрешить анонимный доступ (гости или анонимные пользователи)&quot; в положение &quot;Нет&quot; на странице конфигурации. Все гости (члены группы %s) ничего не могут делать, даже входить в галерею; поэтому настройки группы не влияют на них.', //cpg1.4
+  'explain_banned_greyed_out_text' => 'Вы не можете изменять свойства группы %s, потому что её пользователи и так ничего не могут делать.', //cpg1.4
+  'group_assigned_album' => 'назначенные альбомы', //cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File index.php
+// ------------------------------------------------------------------------- //
+
+if (defined('INDEX_PHP')){
+
+$lang_index_php = array(
+  'welcome' => 'Добро пожаловать!',
+);
+
+$lang_album_admin_menu = array(
+  'confirm_delete' => 'Вы уверены, что хотите УДАЛИТЬ этот альбом? \\nВсе файлы и комментарии также будут удалены.', //js-alert
+  'delete' => 'УДАЛИТЬ',
+  'modify' => 'СВОЙСТВА',
+  'edit_pics' => 'РЕДАКТИРОВАТЬ ФАЙЛЫ',
+);
+
+$lang_list_categories = array(
+  'home' => 'Главная',
+  'stat1' => '<b>[pictures]</b> файлов в <b>[albums]</b> альбомах и <b>[cat]</b> категориях просмотренных <b>[views]</b> раз / комментариев всего <b>[comments]</b> ',
+  'stat2' => '<b>[pictures]</b> файлов в <b>[albums]</b> альбомах просмотренных <b>[views]</b> раз',
+  'xx_s_gallery' => '%s\'s Gallery',
+  'stat3' => '<b>[pictures]</b> файлов в <b>[albums]</b> альбомах с <b>[comments]</b> комментариями просмотренных <b>[views]</b> раз',
+);
+
+$lang_list_users = array(
+  'user_list' => 'Список пользователей',
+  'no_user_gal' => 'Отсутствуют галереи пользователей',
+  'n_albums' => 'Альбомов: %s',
+  'n_pics' => 'Файлов: %s',
+);
+
+$lang_list_albums = array(
+  'n_pictures' => 'Файлов: %s',
+  'last_added' => '. Последний добавлен: %s',
+  'n_link_pictures' => '%s прикрепленных файлов', //cpg1.4
+  'total_pictures' => '%s всего файлов', //cpg1.4
+);
+
+}
+
+// ------------------------------------------------------------------------- //
+// File keywordmgr.php //cpg1.4
+// ------------------------------------------------------------------------- //
+
+if (defined('KEYWORDMGR_PHP')) $lang_keywordmgr_php = array(
+  'title' => 'Менеджер ключевых слов', //cpg1.4
+  'edit' => 'редактировать', //cpg1.4
+  'delete' => 'удалить', //cpg1.4
+  'search' => 'искать', //cpg1.4
+  'keyword_test_search' => 'искать %s в новом окне', //cpg1.4
+  'keyword_del' => 'удалить ключевое слово %s', //cpg1.4
+  'confirm_delete' => 'Вы уверены, что хотите удалить ключевое слово %s во всей галерее?', //cpg1.4  // js-alert
+  'change_keyword' => 'изменить ключевое слово', //cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File login.php
+// ------------------------------------------------------------------------- //
+
+if (defined('LOGIN_PHP')) $lang_login_php = array(
+  'login' => 'Вход',
+  'enter_login_pswd' => 'Введите имя пользователя и пароль для входа',
+  'username' => 'Имя (ник)',
+  'password' => 'Пароль',
+  'remember_me' => 'Автоматически входить при каждом посещении',
+  'welcome' => 'Добро пожаловать, %s',
+  'err_login' => 'Вы ввели неверное/неактивное имя пользователя или неверный пароль.<br />Попробуйте снова.',
+  'err_already_logged_in' => 'Вы уже осуществили вход в систему!',
+  'forgot_password_link' => 'Забыли пароль?',
+  'cookie_warning' => 'Внимание! Ваш браузер не принимает cookies/куки', //cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File logout.php
+// ------------------------------------------------------------------------- //
+
+if (defined('LOGOUT_PHP')) $lang_logout_php = array(
+  'logout' => 'Выйти',
+  'bye' => 'До свидания, %s',
+  'err_not_loged_in' => 'Вы не осуществили вход в систему!',
+);
+
+// ------------------------------------------------------------------------- //
+// File minibrowser.php  //cpg1.4
+// ------------------------------------------------------------------------- //
+
+if (defined('MINIBROWSER_PHP')) $lang_minibrowser_php = array(
+  'close' => 'закрыть', //cpg1.4
+  'submit' => 'OK', //cpg1.4
+  'up' => 'на один уровень вверх', //cpg1.4
+  'current_path' => 'текущий путь', //cpg1.4
+  'select_directory' => 'пожалуйста, выберите директорию', //cpg1.4
+  'click_to_close' => 'Нажмите на изображение, чтобы закрыть окно',
+);
+
+// ------------------------------------------------------------------------- //
+// File modifyalb.php
+// ------------------------------------------------------------------------- //
+
+if (defined('MODIFYALB_PHP')) $lang_modifyalb_php = array(
+  'upd_alb_n' => 'Обновление альбома -> %s',
+  'general_settings' => 'Общие настройки',
+  'alb_title' => 'Название альбома',
+  'alb_cat' => 'Категория альбома',
+  'alb_desc' => 'Описание альбома',
+  'alb_keyword' => 'Ключевые слова альбома', //cpg1.4
+  'alb_thumb' => 'Миниатюра альбома',
+  'alb_perm' => 'Права доступа для данного альбома',
+  'can_view' => 'Альбом могут просматривать',
+  'can_upload' => 'Посетители могут загружать файлы',
+  'can_post_comments' => 'Посетители могу делать комментарии',
+  'can_rate' => 'Посетители могут голосовать',
+  'user_gal' => 'Галерея пользователя',
+  'no_cat' => '* Нет категории *',
+  'alb_empty' => 'Альбом пуст',
+  'last_uploaded' => 'Последний загруженный файл',
+  'public_alb' => 'Все (публичный альбом)',
+  'me_only' => 'Только я',
+  'owner_only' => 'Только владелец альбома (%s)',
+  'groupp_only' => 'Участники группы \'%s\'',
+  'err_no_alb_to_modify' => 'Нет альбомов в базе данных, которые Вы можете изменять.',
+  'update' => 'Обновить альбом',
+  'reset_album' => 'Сбросить альбом', //cpg1.4
+  'reset_views' => 'Сбросить счетчик просмотров на &quot;0&quot; в %s', //cpg1.4
+  'reset_rating' => 'Сбросить голоса для всех файлов в %s', //cpg1.4
+  'delete_comments' => 'Удалить все комментарии сделанные в %s', //cpg1.4
+  'delete_files' => '%sБезвозвратно%s удалить все файлы в %s', //cpg1.4
+  'views' => 'просмотры', //cpg1.4
+  'votes' => 'голоса', //cpg1.4
+  'comments' => 'комментарии', //cpg1.4
+  'files' => 'файлы', //cpg1.4
+  'submit_reset' => 'применить изменения', //cpg1.4
+  'reset_views_confirm' => 'Я уверен', //cpg1.4
+  'notice1' => '(*) в зависимости от настроек %sгрупп%s', //cpg1.4 //(do not translate %s!)
+  'alb_password' => 'Пароль альбома', //cpg1.4
+  'alb_password_hint' => 'Подсказка к паролю альбома', //cpg1.4
+  'edit_files' =>'Редактировать файлы', //cpg1.4
+  'parent_category' =>'Родительская категория', //cpg1.4
+  'thumbnail_view' =>'Отображение миниатюр', //cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File phpinfo.php
+// ------------------------------------------------------------------------- //
+
+if (defined('PHPINFO_PHP')) $lang_phpinfo_php = array(
+  'php_info' => 'PHP информация',
+  'explanation' => 'Это страница сгенерирована функцией PHP <a href="http://www.php.net/phpinfo">phpinfo()</a> и отображается внутри Coppermine.',
+  'no_link' => 'Просмотр информации phpinfo другими людьми может быть очень опасным, поэтому данная страница видима только для Вас и только в момент, когда Вы вошли в систему в качестве администратора. Передавать ссылку на эту страницу кому-либо ещё бесполезно. Они всё равно получат отказ при попытке просмотреть данную страницу.',
+);
+
+// ------------------------------------------------------------------------- //
+// File picmgr.php //cpg1.4
+// ------------------------------------------------------------------------- //
+if (defined('PICMGR_PHP')) $lang_picmgr_php = array(
+  'pic_mgr' => 'Менеджер изображений', //cpg1.4
+  'select_album' => 'Выберите альбом', //cpg1.4
+  'delete' => 'Удалить', //cpg1.4
+  'confirm_delete1' => 'Вы уверены, что хотите удалить это изображение?', //cpg1.4
+  'confirm_delete2' => '\nИзображение будет удалено навсегда.', //cpg1.4
+  'apply_modifs' => 'Применить изменения', //cpg1.4
+  'confirm_modifs' => 'Подтвердить изменения', //cpg1.4
+  'pic_need_name' => 'Изображения должно иметь имя!', //cpg1.4
+  'no_change' => 'Вы не внесли никаких изменений!', //cpg1.4
+  'no_album' => '* Нет альбома *', //cpg1.4
+  'explanation_header' => 'Выборочный режим сортировки, который Вы можете использовать на данной странице, будет работать, только если', //cpg1.4
+  'explanation1' => 'администратор установил в настройках галереи опцию "Порядок сортировки файлов по умолчанию" в положение "Позиция [убывание]" или "Позиция [возрастание]" (настройки по умолчанию для тех пользователей, которые не выбрали режим сортировки самостоятельно)', //cpg1.4
+  'explanation2' => 'пользователь выбрал "Позиция [убывание]" или "Позиция [возрастание]" на странице миниатюр (индивидуальная настройка для каждого пользователя)', //cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File pluginmgr.php //cpg1.4
+// ------------------------------------------------------------------------- //
+
+if (defined('PLUGINMGR_PHP')){
+
+$lang_pluginmgr_php = array(
+  'confirm_uninstall' => 'Вы уверены, что хотите ОТКЛЮЧИТЬ этот плугин', //cpg1.4
+  'confirm_delete' => 'Вы уверены, что хотите УДАЛИТЬ этот плугин', //cpg1.4
+  'pmgr' => 'Менеджер плугинов', //cpg1.4
+  'name' => 'Имя', //cpg1.4
+  'author' => 'Автор', //cpg1.4
+  'desc' => 'Описание', //cpg1.4
+  'vers' => 'v', //cpg1.4
+  'i_plugins' => 'Установленные плугины', //cpg1.4
+  'n_plugins' => 'Не установленные плугины', //cpg1.4
+  'none_installed' => 'Ничего не установлено', //cpg1.4
+  'operation' => 'Операция', //cpg1.4
+  'not_plugin_package' => 'Загруженный файл не является файлом плугина.', //cpg1.4
+  'copy_error' => 'Произошла ошибка при копировании плугина в папку плугинов.', //cpg1.4
+  'upload' => 'Загрузить', //cpg1.4
+  'configure_plugin' => 'Настроить плугин', //cpg1.4
+  'cleanup_plugin' => 'Очистить плугин', //cpg1.4
+);
+}
+
+// ------------------------------------------------------------------------- //
+// File ratepic.php
+// ------------------------------------------------------------------------- //
+
+if (defined('RATEPIC_PHP')) $lang_rate_pic_php = array(
+  'already_rated' => 'Простите, но Вы уже проголосовали за этот файл',
+  'rate_ok' => 'Ваш голос был учтен',
+  'forbidden' => 'Вы не можете голосовать за свои файлы.',
+);
+
+// ------------------------------------------------------------------------- //
+// File register.php & profile.php
+// ------------------------------------------------------------------------- //
+
+if (defined('REGISTER_PHP') || defined('PROFILE_PHP')) {
+
+$lang_register_disclamer = <<<EOT
+Хотя администраторы {SITE_NAME} стараются удалять или редактировать неприемлемую информацию как можно быстрее, все сообщения просмотреть невозможно. Таким образом Вы признаёте, что сообщения на этом сайте отражают точки зрения и мнения их авторов, а не администрации сайта (кроме сообщений, размещённых её представителями) и администрация не может быть ответственна за их содержание.<br />
+<br />
+Вы соглашаетесь не размещать оскорбительных, угрожающих, клеветнических, порнографических и прочих материалов, а также призывов к национальной розни, способных нарушить соответствующие законы. Попытки размещения таких материалов могут привести к Вашему немедленному отключению от сайта (при этом Ваш провайдер будет поставлен в известность). IP адреса всех сообщений сохраняются для возможности проведения такой политики. Вы соглашаетесь с тем, что администраторы {SITE_NAME} имеют право удалить, отредактировать, перенести или закрыть любую информацию в любое время по своему усмотрению. Как пользователь Вы согласны с тем, что введённая вами информация будет храниться в базе данных. Хотя эта информация не будет открыта третьим лицам без Вашего разрешения, администрация сайта не может быть ответственна за действия хакеров, которые могут привести к несанкционированному доступу к ней.<br />
+<br />
+Этот сайт использует cookies/куки для хранения информации на Вашем компьютере. Эти cookies/куки не содержат никакой информации из введённой вами и служат лишь для улучшения качества работы сайта.<br /><br />Ваш email адрес используется лишь для подтверждения Вашей регистрации и для высылки нового пароля, если вы забудете текущий.<br />
+<br />
+Нажимая 'Я согласен', Вы соглашаетесь быть ограниченными этими условиями.
+EOT;
+
+$lang_register_php = array(
+  'page_title' => 'Регистрация пользователей',
+  'term_cond' => 'Условия регистрации',
+  'i_agree' => 'Я согласен',
+  'submit' => 'Подтвердить регистрацию',
+  'err_user_exists' => 'Имя (ник) пользователя, которое Вы выбрали, уже существует, пожалуйста, выберите другое',
+  'err_password_mismatch' => 'Пароли не совпадают, пожалуйста, введите их ещё раз.',
+  'err_uname_short' => 'Имя (ник) пользователя должно быть более двух символов длиной',
+  'err_password_short' => 'Пароль должен быть более двух символов длиной',
+  'err_uname_pass_diff' => 'Имя (ник) пользователя и пароль должны быть разные',
+  'err_invalid_email' => 'Неправильный email адрес',
+  'err_duplicate_email' => 'Этот адрес email уже занят другим пользователем',
+  'enter_info' => 'Регистрационная информация',
+  'required_info' => 'Поля обязательные к заполнению',
+  'optional_info' => 'Поля необязательные к заполнению',
+  'username' => 'Имя (ник) пользователя',
+  'password' => 'Пароль',
+  'password_again' => 'Подтвердите пароль',
+  'email' => 'Email',
+  'location' => 'Откуда',
+  'interests' => 'Интересы',
+  'website' => 'Домашняя страница',
+  'occupation' => 'Род занятий',
+  'error' => 'ОШИБКА',
+  'confirm_email_subject' => '%s - Подтверждение регистрации',
+  'information' => 'Информация',
+  'failed_sending_email' => 'Email с подтверждением регистрации не может быть отправлен!',
+  'thank_you' => 'Спасибо за регистрацию.<br /><br />Письмо с информацией, как активировать Вашу учётную запись, было отправлено по указанному Вами email адресу.',
+  'acct_created' => 'Ваша учётная запись была создана. Вы можете войти в систему, используя Ваше имя и пароль.',
+  'acct_active' => 'Ваша учётная запись была активизирована. Вы можете войти в систему, используя Ваше имя и пароль.',
+  'acct_already_act' => 'Учётная запись уже активирована!', //cpg1.4
+  'acct_act_failed' => 'Эта учётная запись не может быть активирована!',
+  'err_unk_user' => 'Выбранный пользователь не существует!',
+  'x_s_profile' => 'Профиль пользователя %s',
+  'group' => 'Группа',
+  'reg_date' => 'Зарегистрирован',
+  'disk_usage' => 'Использование места',
+  'change_pass' => 'Изменить пароль',
+  'current_pass' => 'Текущий пароль',
+  'new_pass' => 'Новый пароль',
+  'new_pass_again' => 'Подтвердите новый пароль',
+  'err_curr_pass' => 'Текущий пароль неправильный',
+  'apply_modif' => 'Применить изменения',
+  'change_pass' => 'Изменить мой пароль',
+  'update_success' => 'Ваш профиль был изменён',
+  'pass_chg_success' => 'Ваш пароль был изменен',
+  'pass_chg_error' => 'Ваш пароль не был изменен',
+  'notify_admin_email_subject' => '%s - Уведомление о регистрации',
+  'last_uploads' => 'Последний загруженный файл.<br />Нажмите, чтобы увидеть все файлы загруженные', //cpg1.4
+  'last_comments' => 'Последний комментарий.<br />Нажмите, чтобы увидеть все комментарии оставленные', //cpg1.4
+  'notify_admin_email_body' => 'Новый пользователь "%s" зарегистрировался в Вашей галерее',
+  'pic_count' => 'Файлы загружены', //cpg1.4
+  'notify_admin_request_email_subject' => '%s - Запрос на регистрацию', //cpg1.4
+  'thank_you_admin_activation' => 'Спасибо.<br /><br />Ваш запрос на регистрацию был отправлен администрации сайта. Вы получите письмо, если регистрация будет разрешена.', //cpg1.4
+  'acct_active_admin_activation' => 'Учетная запись активирована. Письмо с уведомлением было послано пользователю.', //cpg1.4
+  'notify_user_email_subject' => '%s - Уведомление об активации', //cpg1.4
+);
+
+$lang_register_confirm_email = <<<EOT
+Спасибо за регистрацию на сайте {SITE_NAME}
+
+Чтобы активировать Вашу учётную запись "{USER_NAME}", Вам нужно перейти по ссылке ниже или скопировать её в Ваш браузер.
+
+<a href="{ACT_LINK}">{ACT_LINK}</a>
+
+С уважением,
+
+Администрация {SITE_NAME}
+
+EOT;
+
+$lang_register_approve_email = <<<EOT
+В Вашей галерее была создана новая учётная запись "{USER_NAME}".
+
+Чтобы активировать учётную запись, Вам нужно перейти по ссылке ниже или скопировать её в Ваш браузер.
+
+<a href="{ACT_LINK}">{ACT_LINK}</a>
+
+EOT;
+
+$lang_register_activated_email = <<<EOT
+Ваша учётная запись была одобрена и активирована.
+
+Теперь Вы можете войти на сайт <a href="{SITE_LINK}">{SITE_LINK}</a> использую учётную запись "{USER_NAME}"
+
+
+С уважением,
+
+Администрация {SITE_NAME}
+
+EOT;
+}
+
+// ------------------------------------------------------------------------- //
+// File reviewcom.php
+// ------------------------------------------------------------------------- //
+
+if (defined('REVIEWCOM_PHP')) $lang_reviewcom_php = array(
+  'title' => 'Просмотреть комментарии',
+  'no_comment' => 'Отсутствуют комментарии для просмотра',
+  'n_comm_del' => 'Комментариев удалено: %s',
+  'n_comm_disp' => 'Количество комментариев для отображения',
+  'see_prev' => 'Посмотреть предыдущий',
+  'see_next' => 'Посмотреть следующий',
+  'del_comm' => 'Удалить выбранные комментарии',
+  'user_name' => 'Имя', //cpg1.4
+  'date' => 'Дата', //cpg1.4
+  'comment' => 'Комментарий', //cpg1.4
+  'file' => 'Файл', //cpg1.4
+  'name_a' => 'Имя [возрастание]', //cpg1.4
+  'name_d' => 'Имя [убывание]', //cpg1.4
+  'date_a' => 'Дата [возрастание]', //cpg1.4
+  'date_d' => 'Дата [убывание]', //cpg1.4
+  'comment_a' => 'Комментарий [возрастание]', //cpg1.4
+  'comment_d' => 'Комментарий [убывание]', //cpg1.4
+  'file_a' => 'Файл [возрастание]', //cpg1.4
+  'file_d' => 'Файл [убывание]', //cpg1.4
+);
+
+
+// ------------------------------------------------------------------------- //
+// File search.php
+// ------------------------------------------------------------------------- //
+
+
+if (defined('SEARCH_PHP')){
+
+$lang_search_php = array(
+  'title' => 'Поиск по коллекции файлов', //cpg1.4
+  'submit_search' => 'поиск', //cpg1.4
+  'keyword_list_title' => 'Список ключевых слов', //cpg1.4
+  'keyword_msg' => 'Данный список не включает все слова. Он не включает слова из заголовков изображений и их описаний. Попробуйте использовать полноценный поиск.',  //cpg1.4
+  'edit_keywords' => 'Редактировать список ключевых слов', //cpg1.4
+  'search in' => 'Искать в:', //cpg1.4
+  'ip_address' => 'IP адрес', //cpg1.4
+  'fields' => 'Искать в', //cpg1.4
+  'age' => 'Возраст', //cpg1.4
+  'newer_than' => 'Новее чем', //cpg1.4
+  'older_than' => 'Старее чем', //cpg1.4
+  'days' => 'дней', //cpg1.4
+  'all_words' => 'Искать все слова (AND)', //cpg1.4
+  'any_words' => 'Искать любые слова (OR)', //cpg1.4
+);
+
+$lang_adv_opts = array(
+  'title' => 'Название', //cpg1.4
+  'caption' => 'Описание', //cpg1.4
+  'keywords' => 'Ключевые слова', //cpg1.4
+  'owner_name' => 'Имя владельца', //cpg1.4
+  'filename' => 'Имя файла', //cpg1.4
+);
+
+}
+
+// ------------------------------------------------------------------------- //
+// File searchnew.php
+// ------------------------------------------------------------------------- //
+
+if (defined('SEARCHNEW_PHP')) $lang_search_new_php = array(
+  'page_title' => 'Искать новые файлы',
+  'select_dir' => 'Выберите директорию',
+  'select_dir_msg' => 'Эта функция позволяет Вам добавлять группу файлов, которую Вы закачали на Ваш сервер по FTP протоколу.<br /><br />Выберите директорию, куда Вы закачали Ваши файлы.', //cpg1.4
+  'no_pic_to_add' => 'Отсутствуют файлы для добавления',
+  'need_one_album' => 'Вам необходим хотя бы один альбом, чтобы использовать эту функцию',
+  'warning' => 'Внимание',
+  'change_perm' => 'скрипт не может записать в эту директорию, Вам нужно изменить её права на 755 или 777, чтобы добавить файлы!',
+  'target_album' => '<b>Поместить файлы из &quot;</b>%s<b>&quot; в </b>%s',
+  'folder' => 'Папка',
+  'image' => 'Файл',
+  'album' => 'Альбом',
+  'result' => 'Результат',
+  'dir_ro' => 'Нет прав на запись. ',
+  'dir_cant_read' => 'Нет прав на чтение. ',
+  'insert' => 'Идёт добавление новых файлов в галерею',
+  'list_new_pic' => 'Список новых файлов',
+  'insert_selected' => 'Вставить выбранные файлы',
+  'no_pic_found' => 'Новые файлы не найдены',
+  'be_patient' => 'Пожалуйста, подождите, скрипту нужно время, чтобы добавить файлы',
+  'no_album' => 'не выбран альбом',
+  'result_icon' => 'нажмите для подробностей или для перезагрузки',  //cpg1.4
+  'notes' =>  '<ul>'.
+                          '<li><b>OK</b> : означает что файл успешно добавлен'.
+                          '<li><b>DP</b> : означает что файл дубликат и уже есть в базе данных'.
+                          '<li><b>PB</b> : означает что файл не был добавлен, проверьте Ваши настройки и права директории, где расположены файлы'.
+                          '<li><b>NA</b> : означает что Вы не выбрали альбом для файлов, нажмите \'<a href="javascript:history.back(1)">назад</a>\' и выберите альбом. Если у вас нет альбома, <a href="albmgr.php">сначала создайте хотя бы один</a></li>'.
+                          '<li>Если OK, DP, PB \'значки\' не появились, нажмите на сломанном файле, чтобы увидеть сообщение об ошибке выдаваемое PHP'.
+                          '<li>Если Ваш браузер показал таймаут, нажмите кнопку обновить'.
+                          '</ul>',
+  'select_album' => 'выберите альбом',
+  'check_all' => 'Отметить все',
+  'uncheck_all' => 'Снять выделение',
+  'no_folders' => 'В папке "albums" отсутствуют созданные Вами папки.<br />Убедитесь, что Вы создали хотя бы одну свою папку внутри папки "albums" и загрузили в неё по FTP свои файлы.<br />Вы недолжны ничего загружать в папки "userpics" и "edit", они зарезервированы для http загрузок и внутренних нужд.', //cpg1.4
+   'albums_no_category' => 'Альбомы без категорий', //cpg1.4 // album pulldown mod, added by frogfoot
+  'personal_albums' => '* Персональные альбомы', //cpg1.4 // album pulldown mod, added by frogfoot
+  'browse_batch_add' => 'Встроенный проводник (рекомендуется)', //cpg1.4
+  'edit_pics' => 'Редактировать файлы', //cpg1.4
+  'edit_properties' => 'Свойства альбома', //cpg1.4
+  'view_thumbs' => 'Отображение миниатюр', //cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File stat_details.php //cpg1.4
+// ------------------------------------------------------------------------- //
+
+if (defined('STAT_DETAILS_PHP')) $lang_stat_details_php = array(
+  'show_hide' => 'показать/спрятать эту колонку', //cpg1.4
+  'vote' => 'Детали голосования', //cpg1.4
+  'hits' => 'Детали просмотров', //cpg1.4
+  'stats' => 'Статистика голосования', //cpg1.4
+  'sdate' => 'Дата', //cpg1.4
+  'rating' => 'Рейтинг', //cpg1.4
+  'search_phrase' => 'Поисковая фраза', //cpg1.4
+  'referer' => 'Реферер', //cpg1.4
+  'browser' => 'Браузер', //cpg1.4
+  'os' => 'Операционная система', //cpg1.4
+  'ip' => 'IP', //cpg1.4
+  'sort_by_xxx' => 'Сортировать %s', //cpg1.4
+  'ascending' => '[возрастание]', //cpg1.4
+  'descending' => '[убывание]', //cpg1.4
+  'internal' => 'внутренний', //cpg1.4
+  'close' => 'закрыть', //cpg1.4
+  'hide_internal_referers' => 'Спрятать внутренние рефереры', //cpg1.4
+  'date_display' => 'Отображение даты', //cpg1.4
+  'submit' => 'выполнить / обновить', //cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File thumbnails.php
+// ------------------------------------------------------------------------- //
+
+// Void
+
+// ------------------------------------------------------------------------- //
+// File upload.php
+// ------------------------------------------------------------------------- //
+
+if (defined('UPLOAD_PHP')) $lang_upload_php = array(
+  'title' => 'Загрузить файл',
+  'custom_title' => 'Изменяемая форма запроса',
+  'cust_instr_1' => 'Вы можете выбрать изменяемое число строк для загрузки файлов.<br />Тем не менее, Вы не можете выбирать больше, чем лимиты указанные ниже.',
+  'cust_instr_2' => 'Запрос количества строк',
+  'cust_instr_3' => 'Строк для загрузки файлов: %s',
+  'cust_instr_4' => 'Строк для загрузки ссылок: %s',
+  'cust_instr_5' => 'Загрузка ссылок:',
+  'cust_instr_6' => 'Загрузка файлов:',
+  'cust_instr_7' => 'Пожалуйста, введите количество строк для каждого типа необходимое Вам на этот раз. Потом нажмите \'ПРОДОЛЖИТЬ\'. ',
+  'reg_instr_1' => 'Неправильное действие для создания формы.',
+  'reg_instr_2' => 'Теперь Вы можете загрузить файлы, используя соответствующие строчки ниже. Объем файлов загружаемых из под Вашего пользователя на сервер не должен превышать %s КБ каждый. ZIP файлы загруженные в \'Загрузка файлов\' и \'Загрузка ссылок\' секции останутся запакованными.',
+  'reg_instr_3' => 'Если Вы хотите, чтобы ZIP файлы или архивы была распакованы после загрузки, Вы должны использовать строчки для загрузки в секции \'ZIP загрузки для распаковки\'.',
+  'reg_instr_4' => 'Когда используете загрузку ссылок, пожалуйста, указывайте путь к файлу в виде: http://www.mysite.com/images/example.jpg',
+  'reg_instr_5' => 'Когда Вы заполнили форму, пожалуйста, нажмите \'ПРОДОЛЖИТЬ\'.',
+  'reg_instr_6' => 'ZIP загрузки для распаковки:',
+  'reg_instr_7' => 'Загрузка файлов:',
+  'reg_instr_8' => 'Загрузка ссылок:',
+  'error_report' => 'Отчет об ошибке',
+  'error_instr' => 'Следующие загрузки вызвали ошибки:',
+  'file_name_url' => 'Имя файла/Ссылка',
+  'error_message' => 'Сообщение об ошибке',
+  'no_post' => 'Файл не был загружен с POST.',
+  'forb_ext' => 'Запрещенное расширение файла.',
+  'exc_php_ini' => 'Превышен разрешенный размер для файлов в php.ini.',
+  'exc_file_size' => 'Превышен разрешенный размер для файлов в галерее.',
+  'partial_upload' => 'Неполная загрузка.',
+  'no_upload' => 'Загрузка не удалась.',
+  'unknown_code' => 'Неизвестный код ошибки PHP.',
+  'no_temp_name' => 'Нет загрузки - Нет временного названия.',
+  'no_file_size' => 'Не содержит данных/Поврежден',
+  'impossible' => 'Невозможно переместить.',
+  'not_image' => 'Не изображение/поврежден',
+  'not_GD' => 'Не GD расширение.',
+  'pixel_allowance' => 'Высота или ширина загруженного изображения больше, чем разрешено в настройках галереи.', //cpg1.4
+  'incorrect_prefix' => 'Неправильный префикс ссылки',
+  'could_not_open_URI' => 'Не могу открыть ссылку URI.',
+  'unsafe_URI' => 'Безопасность не поддаётся проверке.',
+  'meta_data_failure' => 'Ошибка мета данных',
+  'http_401' => '401 Unauthorized',
+  'http_402' => '402 Payment Required',
+  'http_403' => '403 Forbidden',
+  'http_404' => '404 Not Found',
+  'http_500' => '500 Internal Server Error',
+  'http_503' => '503 Service Unavailable',
+  'MIME_extraction_failure' => 'Тип MIME не может быть определен.',
+  'MIME_type_unknown' => 'Неизвестный тип MIME',
+  'cant_create_write' => 'Не могу создать записываемый файл.',
+  'not_writable' => 'Не могу записать в обрабатываемый файл.',
+  'cant_read_URI' => 'Не могу прочитать ссылку',
+  'cant_open_write_file' => 'Не могу открыть URI записываемый файл.',
+  'cant_write_write_file' => 'Не могу записать в URI записываемый файл.',
+  'cant_unzip' => 'Не могу распаковать.',
+  'unknown' => 'Неизвестная ошибка',
+  'succ' => 'Удачная загрузка',
+  'success' => 'Удачных загрузок: %s.',
+  'add' => 'Пожалуйста, нажмите \'ПРОДОЛЖИТЬ\', чтобы добавить файлы в альбомы.',
+  'failure' => 'Загрузка не удалась',
+  'f_info' => 'Информация о файле',
+  'no_place' => 'Предыдущий файл не может быть добавлен.',
+  'yes_place' => 'Предыдущий файл успешно добавлен.',
+  'max_fsize' => 'Максимально разрешенный объем %s КБ',
+  'album' => 'Альбом',
+  'picture' => 'Файл',
+  'pic_title' => 'Название файла',
+  'description' => 'Описание файла',
+  'keywords' => 'Ключевые слова (отделяются пробелами)<br /><a href="#" onClick="return MM_openBrWindow(\'keyword_select.php\',\'selectKey\',\'width=250, height=400, scrollbars=yes,toolbar=no,status=yes,resizable=yes\')">Вставить из списка</a>', //cpg1.4
+  'keywords_sel' =>'Выберите ключевое слово', //cpg1.4
+  'err_no_alb_uploadables' => 'Извините, но нет ни одного альбома, куда Вам разрешено загружать файлы',
+  'place_instr_1' => 'Пожалуйста, расположите файлы по альбомам. Вы также можете заполнить соответствующую информацию для каждого файла.',
+  'place_instr_2' => 'Есть ещё файлы, которые требуют размещения. Пожалуйста, нажмите \'ПРОДОЛЖИТЬ\'.',
+  'process_complete' => 'Вы успешно разместили все файлы.',
+   'albums_no_category' => 'Альбомы без категорий', //cpg1.4. //album pulldown mod, added by frogfoot
+  'personal_albums' => '* Персональные альбомы', //cpg1.4 //album pulldown mod, added by frogfoot
+  'select_album' => 'Выберите альбом', //cpg1.4 //album pulldown mod, added by frogfoot
+  'close' => 'Закрыть', //cpg1.4
+  'no_keywords' => 'Простите, доступные ключевые слова отсутствуют!', //cpg1.4
+  'regenerate_dictionary' => 'Пересобрать Словарь', //cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File usermgr.php
+// ------------------------------------------------------------------------- //
+
+if (defined('USERMGR_PHP')) $lang_usermgr_php = array(
+  'memberlist' => 'Список пользователей', //cpg1.4
+  'user_manager' => 'Менеджер пользователей', //cpg1.4
+  'title' => 'Управление пользователями',
+  'name_a' => 'Имя [возрастание]',
+  'name_d' => 'Имя [убывание]',
+  'group_a' => 'Группа [возрастание]',
+  'group_d' => 'Группа [убывание]',
+  'reg_a' => 'Дата регистрации [возрастание]',
+  'reg_d' => 'Дата регистрации [убывание]',
+  'pic_a' => 'Количество файлов [возрастание]',
+  'pic_d' => 'Количество файлов [убывание]',
+  'disku_a' => 'Использование места [возрастание]',
+  'disku_d' => 'Использование места [убывание]',
+  'lv_a' => 'Последний визит [возрастание]',
+  'lv_d' => 'Последний визит [убывание]',
+  'sort_by' => 'Сортировать пользователей',
+  'err_no_users' => 'Таблица пользователей пуста!',
+  'err_edit_self' => 'Вы не можете изменять Ваш личный профиль, используйте ссылку \'Профиль\' для этого',
+  'edit' => 'РЕДАКТИРОВАТЬ', //cpg1.4
+  'with_selected' => 'С выбранными:', //cpg1.4
+  'delete' => 'УДАЛИТЬ', //cpg1.4
+  'delete_files_no' => 'сохранить публичные файлы (но сделать их анонимными)', //cpg1.4
+  'delete_files_yes' => 'удалить публичные файлы тоже', //cpg1.4
+  'delete_comments_no' => 'сохранить комментарии (но сделать их анонимными)', //cpg1.4
+  'delete_comments_yes' => 'удалить комментарии тоже', //cpg1.4
+  'activate' => 'Активировать', //cpg1.4
+  'deactivate' => 'Деактивировать', //cpg1.4
+  'reset_password' => 'Сбросить пароль', //cpg1.4
+  'change_primary_membergroup' => 'Изменить основную группу', //cpg1.4
+  'add_secondary_membergroup' => 'Добавить вторичную группу', //cpg1.4
+  'name' => 'Имя пользователя',
+  'group' => 'Группа',
+  'inactive' => 'Неактивен',
+  'operations' => 'Действия',
+  'pictures' => 'Файлы',
+  'disk_space_used' => 'Использовано места', //cpg1.4
+  'disk_space_quota' => 'Доступно места', //cpg1.4
+  'registered_on' => 'Регистрация', //cpg1.4
+  'last_visit' => 'Последний визит',
+  'u_user_on_p_pages' => 'Пользователей: %d / Страниц: %d',
+  'confirm_del' => 'Вы уверены, что хотите УДАЛИТЬ этого пользователя? \\nВсе его файлы и альбомы также будут удалены.', //js-alert
+  'mail' => 'MAIL',
+  'err_unknown_user' => 'Выбранный пользователь не существует',
+  'modify_user' => 'Изменить пользователя',
+  'notes' => 'Заметки',
+  'note_list' => '<li>Если Вы не хотите изменять текущий пароль, оставьте поле "Пароль" пустым',
+  'password' => 'Пароль',
+  'user_active' => 'Пользователь активен',
+  'user_group' => 'Группа пользователя',
+  'user_email' => 'Email пользователя',
+  'user_web_site' => 'Домашняя страница',
+  'create_new_user' => 'Создать нового пользователя',
+  'user_location' => 'Расположение пользователя',
+  'user_interests' => 'Интересы пользователя',
+  'user_occupation' => 'Род занятий пользователя',
+  'user_profile1' => '$user_profile1', //cpg1.4
+  'user_profile2' => '$user_profile2', //cpg1.4
+  'user_profile3' => '$user_profile3', //cpg1.4
+  'user_profile4' => '$user_profile4', //cpg1.4
+  'user_profile5' => '$user_profile5', //cpg1.4
+  'user_profile6' => '$user_profile6', //cpg1.4
+  'latest_upload' => 'Последние добавления',
+  'never' => 'никогда',
+  'search' => 'Поиск пользователя', //cpg1.4
+  'submit' => 'Выполнить', //cpg1.4
+  'search_submit' => 'Искать!', //cpg1.4
+  'search_result' => 'Результат поиска для: ', //cpg1.4
+  'alert_no_selection' => 'Вы должны выбрать хотя бы одного пользователя!', //cpg1.4 //js-alert
+  'password' => 'Пароль', //cpg1.4
+  'select_group' => 'Выберите группу', //cpg1.4
+  'groups_alb_access' => 'Права альбома по группам', //cpg1.4
+  'album' => 'Альбом', //cpg1.4
+  'category' => 'Категория', //cpg1.4
+  'modify' => 'Изменить?', //cpg1.4
+  'group_no_access' => 'У данной группы нет специального доступа', //cpg1.4
+  'notice' => 'Внимание', //cpg1.4
+  'group_can_access' => 'Альбомы, к которым имеют доступ только "%s"', //cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File util.php
+// ------------------------------------------------------------------------- //
+
+if (defined('UTIL_PHP')) {
+$lang_util_desc_php = array(
+'Обновляет названия файлов из имен файлов', //cpg1.4
+'Удаляет названия файлов', //cpg1.4
+'Восстанавливает миниатюры и изменяет размеры изображений', //cpg1.4
+'Удаляет оригинальные изображения, заменяя их измененными в размерах версиями', //cpg1.4
+'Удаляет оригинальные изображения или промежуточные, чтобы освободить дисковое пространство', //cpg1.4
+'Удаляет осиротевшие комментарии', //cpg1.4
+'Пересчитывает объем и размеры файлов (если Вы вручную изменяли изображения)', //cpg1.4
+'Сбрасывает счетчик просмотров', //cpg1.4
+'Отобржает phpinfo', //cpg1.4
+'Обновляет базу данных', //cpg1.4
+'Отображает лог файлы', //cpg1.4
+);
+$lang_util_php = array(
+  'title' => 'Утилита администратора (Изменение размера изображений)',
+  'what_it_does' => 'Что она делает',
+  'file' => 'Файл',
+  'problem' => 'Проблема', //cpg1.4
+  'status' => 'Статус', //cpg1.4
+  'title_set_to' => 'установить название на',
+  'submit_form' => 'выполнить',
+  'updated_succesfully' => 'обновлено успешно',
+  'error_create' => 'ОШИБКА при создании',
+  'continue' => 'Обработать изображения дальше',
+  'main_success' => 'Файл %s был успешно использован как главный файл',
+  'error_rename' => 'Ошибка при переименовании %s в %s',
+  'error_not_found' => 'Файл %s не был найден',
+  'back' => 'назад на главную',
+  'thumbs_wait' => 'Обновляю миниатюры и/или измененные изображения, пожалуйста, подождите...',
+  'thumbs_continue_wait' => 'Продолжаю обновлять миниатюры и/или измененные изображения...',
+  'titles_wait' => 'Обновляю название, пожалуйста, подождите...',
+  'delete_wait' => 'Удаляю файлы, пожалуйста, подождите...',
+  'replace_wait' => 'Удаляю оригинальные файлы и заменяю их на измененные изображение, пожалуйста, подождите...',
+  'instruction' => 'Быстрые инструкции',
+  'instruction_action' => 'Выберите действие',
+  'instruction_parameter' => 'Установите параметры',
+  'instruction_album' => 'Выберите альбом',
+  'instruction_press' => 'Нажмите %s',
+  'update' => 'Обновить миниатюры и/или измененные изображения',
+  'update_what' => 'Что должно быть заменено',
+  'update_thumb' => 'Только миниатюры',
+  'update_pic' => 'Только измененные изображения',
+  'update_both' => 'Как миниатюры, так и измененные изображения',
+  'update_number' => 'Количество обрабатываемых изображений по одному клику',
+  'update_option' => '(Попробуйте установить это значение ниже, если возникают проблемы с таймаутами)',
+  'filename_title' => 'Имя файла -&gt; Название файла',
+  'filename_how' => 'Как должен быть изменен заголовок файла',
+  'filename_remove' => 'Удалить окончание .jpg и заменить _ (подчеркивание) на пробелы',
+  'filename_euro' => 'Изменить 2003_11_23_13_20_20.jpg на 23/11/2003 13:20',
+  'filename_us' => 'Изменить 2003_11_23_13_20_20.jpg на 11/23/2003 13:20',
+  'filename_time' => 'Изменить 2003_11_23_13_20_20.jpg на 13:20',
+  'delete' => 'Удалить названия файлов или изображения исходного размера',
+  'delete_title' => 'Удалить названия файлов',
+  'delete_title_explanation' => 'Удалит все названия файлов в указанном Вами альбоме.', //cpg1.4
+  'delete_original' => 'Удалить изображения исходного размера',
+  'delete_original_explanation' => 'Удалит изображения исходного размера.', //cpg1.4
+  'delete_intermediate' => 'Удалить промежуточные изображения', //cpg1.4
+  'delete_intermediate_explanation' => 'Удалит промежуточные изображения.<br />Используйте, чтобы освободить место на диске, если Вы отключили в настройках \'Создавать промежуточные изображения\' после того, как Вы уже добавили файлы в галерею.', //cpg1.4
+  'delete_replace' => 'Удалить оригинальные изображения, заменяя их на измененные версии',
+  'titles_deleted' => 'Все названия в указанном альбоме удалены', //cpg1.4
+  'deleting_intermediates' => 'Удаляю промежуточные изображения, пожалуйста, подождите...', //cpg1.4
+  'searching_orphans' => 'Идёт поиск осиротевших комментариев, пожалуйста, подождите...', //cpg1.4
+  'select_album' => 'Выберите альбом',
+  'delete_orphans' => 'Удалить осиротевшие комментарии',
+  'delete_orphans_explanation' => 'Позволит найти и удалить комментарии к файлам, которых уже нет в галерее.<br />Ищет во всех альбомах.', //cpg1.4
+  'refresh_db' => 'Перезагрузить информацию о размере и объеме файлов', //cpg1.4
+  'refresh_db_explanation' => 'Перечитает информацию о размере и объеме файлов. Используйте это, если дисковая квота отображается неверно или если Вы изменяли файлы вручную.', //cpg1.4
+  'reset_views' => 'Сбросить счетчики просмотров', //cpg1.4
+  'reset_views_explanation' => 'Установить количество просмотров файлов равное нулю в указанном альбоме.', //cpg1.4
+  'orphan_comment' => 'осиротевших комментариев найдено',
+  'delete' => 'Удалить',
+  'delete_all' => 'Удалить все',
+  'delete_all_orphans' => 'Удалить все осиротевшие комментарии?', //cpg1.4
+  'comment' => 'Комментарий: ',
+  'nonexist' => 'прикреплен к несуществующему файлу # ',
+  'phpinfo' => 'Отобразить phpinfo',
+  'phpinfo_explanation' => 'Содержит техническую информацию о Вашем сервере.<br /> - Вас могут попросить предоставить эту информацию, если Вы будите просить оказать помощь по галерее.', //cpg1.4
+  'update_db' => 'Обновить базу данных',
+  'update_db_explanation' => 'Если Вы заменили системные файлы галереи, добавили модификации или обновили старую версию галереи на новую, убедитесь, что Вы обновили базу данных один раз. Это создаст необходимые таблицы и/или значения настроек в базе данных галереи.',
+  'view_log' => 'Просмотр лог файлов', //cpg1.4
+  'view_log_explanation' => 'Coppermine может следить за различными действиями, которые совершают пользователи. Вы можете просматривать эти логи, если Вы включили запись логов в <a href="admin.php">конфигурации галереи</a>.', //cpg1.4
+  'versioncheck' => 'Проверить версии файлов', //cpg1.4
+  'versioncheck_explanation' => 'Проверить версии файлов, чтобы определить, заменили ли Вы все файлы после обновления, или исходные файлы Coppermine были обновлены после выхода данной версии.', //cpg1.4
+  'bridgemanager' => 'Менеджер интеграции', //cpg1.4
+  'bridgemanager_explanation' => 'Включает/выключает интеграцию (bridging) Coppermine галереи с другими приложениями (например Вашим форумом).', //cpg1.4
+);
+}
+
+// ------------------------------------------------------------------------- //
+// File versioncheck.php //cpg1.4
+// ------------------------------------------------------------------------- //
+
+if (defined('VERSIONCHECK_PHP')) $lang_versioncheck_php = array(
+  'title' => 'Проверка версии файлов', //cpg1.4
+  'what_it_does' => 'Данная страница предназначена для пользователей, которые обновили установку Coppermine. Данный скрипт обрабатывает файлы на Вашем сервере и пытается определить, является ли Ваша локальная версия файлов на сервере такой же, как на сайте http://coppermine.sourceforge.net, таким образом, давая Вам понять, какие файлы требуют обновления.<br />Скрипт отобразит красным те данные, которые нужно исправить. Данный отображенные желтым цветом требуют, чтобы на них обратили внимание. Данные отображенные зеленым цветом (или Вашим цветом по умолчанию) находятся в порядке.<br />Нажмите на иконки помощи, чтобы получить дополнительную информацию.', //cpg1.4
+  'online_repository_unable' => 'Не могу подключиться к удаленному сайту', //cpg1.4
+  'online_repository_noconnect' => 'Coppermine не смог подключиться к удаленному сайту. Может быть две причины:', //cpg1.4
+  'online_repository_reason1' => 'удаленный сайт в данный момент не работает - проверьте, можете ли Вы открыть данную страницу в Вашем браузере: %s - если не можете, попытайтесь позже.', //cpg1.4
+  'online_repository_reason2' => 'PHP на Вашем сервере настроен с отключенным %s (по умолчанию, он включен). Если сервер находится под Вашим контролем, включите данную опцию в <i>php.ini</i> (по крайней мере разрешите ей быть замещенным %s). Если Вы пользуетесь удаленным хостингом, всего скорее Вам придется смириться с мыслью, что Вы не сможете сравнивать файлы через удаленный сайт. Данная страница тогда будет отображать только версии файлов, которые находятся в текущей установке сайта - обновления отображаться не будут.', //cpg1.4
+  'online_repository_skipped' => 'Соединение с удаленным сайтом пропущено', //cpg1.4
+  'online_repository_to_local' => 'Скрипт сравнивает с локальной копией файлов эталонов. Данные могут быть неточные, если Вы обновили Coppermine и не загрузили все файлы. Изменения в файлах после релиза не будут приниматься во внимание.', //cpg1.4
+  'local_repository_unable' => 'Не могу подключиться к данным сравнения на Вашем сайте', //cpg1.4
+  'local_repository_explanation' => 'Coppermine не смог подключится к данным сравнения %s на Вашем сервер. Всего скорее это означает, что Вы не загрузили файлы для сравнения на Ваш сервер. Сделайте это и затем откройте эту страницу снова (нажмите обновить).<br />Если скрипт по прежнему выдаёт ошибку, возможно Ваш хостинг полностью отключил <a href="http://www.php.net/manual/ru/ref.filesystem.php">функции для работы с файловой системой PHP</a>. В этом случае Вы не сможете использовать данную утили вообще, извините.', //cpg1.4
+  'coppermine_version_header' => 'Установленная версия Coppermine', //cpg1.4
+  'coppermine_version_info' => 'У Вас установлена: %s', //cpg1.4
+  'coppermine_version_explanation' => 'Если Вы считаете, что данная информация в корне неверна и Вы используете версию Coppermine старше, всего скорее Вы не загрузили самую последнюю версию файла <i>include/init.inc.php</i>', //cpg1.4
+  'version_comparison' => 'Сравнение версий', //cpg1.4
+  'folder_file' => 'папка/файл', //cpg1.4
+  'coppermine_version' => 'cpg версия', //cpg1.4
+  'file_version' => 'версия файла', //cpg1.4
+  'webcvs' => 'web svn', //cpg1.4
+  'writable' => 'есть права на запись', //cpg1.4
+  'not_writable' => 'нет прав на запись', //cpg1.4
+  'help' => 'Помощь', //cpg1.4
+  'help_file_not_exist_optional1' => 'файл/папка не существует', //cpg1.4
+  'help_file_not_exist_optional2' => 'Файл/папка %s не найден на Вашем сервере. Вы можете загрузить его (используя FTP клиент) на Ваш сервер, если Вы испытываете проблемы.', //cpg1.4
+  'help_file_not_exist_mandatory1' => 'файл/папка не существует', //cpg1.4
+  'help_file_not_exist_mandatory2' => 'Файл/папка %s не найден на Вашем сервере, несмотря на то, что он обязателен к наличию. Загрузите файл на Ваш сервер (используя FTP клиент).', //cpg1.4
+  'help_no_local_version1' => 'Нет локальной версии файла', //cpg1.4
+  'help_no_local_version2' => 'Скрипт не смог извлечь версию локального файла - Ваш файл или устарел, или был модифицирован путём удаления информации в заголовке файла. Рекомендуется обновить файл.', //cpg1.4
+  'help_local_version_outdated1' => 'Локальная версия устарела', //cpg1.4
+  'help_local_version_outdated2' => 'Похоже, что Ваша версия данного файла из старой версии Coppermine (возможно Вы недавно обновлялись). Убедитесь, что Вы также обновили этот файл.', //cpg1.4
+  'help_local_version_na1' => 'Не могу извлечь информацию о версии svn', //cpg1.4
+  'help_local_version_na2' => 'Скрипт не смог определить svn версию файла на Вашем сервере. Вы должны загрузить файл из Вашего архива.', //cpg1.4
+  'help_local_version_dev1' => 'Разрабатываемая версия', //cpg1.4
+  'help_local_version_dev2' => 'Похоже, что файл на Вашем сервере новее, чем Ваша версия Coppermine. Вы или используете разрабатываемую версию файла (Вы должны так поступать, если действительно знаете, что делаете), или Вы обновили Вашу версию Coppermine и не загрузили файл include/init.inc.php', //cpg1.4
+  'help_not_writable1' => 'Папка не имеет прав на запись', //cpg1.4
+  'help_not_writable2' => 'Изменить права (CHMOD), чтобы дать скрипту права на запись в папку %s и всё что находится внутри неё.', //cpg1.4
+  'help_writable1' => 'Папка имеет права на запись', //cpg1.4
+  'help_writable2' => 'Папка %s имеет права на запись. Это неоправданный риск, Coppermine требуются только права на чтение/выполнение.', //cpg1.4
+  'help_writable_undetermined' => 'Coppermine не смог определить, имеет ли папка права на запись.', //cpg1.4
+  'your_file' => 'Ваш файл', //cpg1.4
+  'reference_file' => 'файл сравнения', //cpg1.4
+  'summary' => 'Итог', //cpg1.4
+  'total' => 'Всего файлов/папок отмечено', //cpg1.4
+  'mandatory_files_missing' => 'Отсутствует обязательных файлов', //cpg1.4
+  'optional_files_missing' => 'Отсутствует необязательных файлов', //cpg1.4
+  'files_from_older_version' => 'Файлов осталось от старой версии Coppermine', //cpg1.4
+  'file_version_outdated' => 'Устаревших файлов', //cpg1.4
+  'error_no_data' => 'Этот скрипт ничего не сделал и не смог получить никакую информацию. Простите за беспокойство.', //cpg1.4
+  'go_to_webcvs' => 'перейти к %s', //cpg1.4
+  'options' => 'Настройки', //cpg1.4
+  'show_optional_files' => 'показать необязательные папки/файлы', //cpg1.4
+  'show_mandatory_files' => 'показать обязательные папки/файлы', //cpg1.4
+  'show_file_versions' => 'показать версии файлов', //cpg1.4
+  'show_errors_only' => 'показать только папки/файлы с ошибками', //cpg1.4
+  'show_permissions' => 'показать права папок', //cpg1.4
+  'show_condensed_output' => 'показать сокращенный вариант (для снятия скриншотов)', //cpg1.4
+  'coppermine_in_webroot' => 'Coppermine установлен в корне сайта', //cpg1.4
+  'connect_online_repository' => 'попытка подключения к онлайн сайту', //cpg1.4
+  'show_additional_information' => 'показать дополнительную информацию', //cpg1.4
+  'no_webcvs_link' => 'не отображать интернет ссылки на svn', //cpg1.4
+  'stable_webcvs_link' => 'отображать интернет ссылку на стабильную версию svn', //cpg1.4
+  'devel_webcvs_link' => 'отображать интернет ссылку на разрабатываемую версию svn', //cpg1.4
+  'submit' => 'применить изменения / обновить', //cpg1.4
+  'reset_to_defaults' => 'сбросить на значения по умолчанию', //cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File view_log.php  //cpg1.4
+// ------------------------------------------------------------------------- //
+
+if (defined('VIEWLOG_PHP')) $lang_viewlog_php = array(
+  'delete_all' => 'Удалить все логи', //cpg1.4
+  'delete_this' => 'Удалить этот лог', //cpg1.4
+  'view_logs' => 'Просмотр логов', //cpg1.4
+  'no_logs' => 'Логи не созданы.', //cpg1.4
+);
+
+
+// ------------------------------------------------------------------------- //
+// File xp_publish.php //cpg1.4
+// ------------------------------------------------------------------------- //
+
+if (defined('XP_PUBLISH_PHP')) {
+
+$lang_xp_publish_client = <<<EOT
+<h1>Помощник веб публикации (XP Web Publishing)</h1><p>Данный модуль позволяет использовать механизм веб публикации <b>Windows XP</b> с Coppermine.</p><p>Код основан на статье опубликованной
+EOT;
+
+$lang_xp_publish_required = <<<EOT
+<h2>Что необходимо</h2><ul><li>Windows XP, чтобы был в наличии сам помощник.</li><li>Работающая версия Coppermine, в которой <b>корректно работает механизм веб загрузки.</b></li></ul><h2>Как установить клиентскую часть</h2><ul><li>Правый клик на
+EOT;
+
+$lang_xp_publish_select = <<<EOT
+Выберите &quot;Сохранить объект как...&quot;. Сохраните файл на Вашем компьютере. Во время сохранения проверьте, что предлагаемое имя файла <b>cpg_###.reg</b> (где ### представляет из себя цифровой набор времени). Измените его на указанное имя в случае необходимости (в ### должны быть только цифры). Когда файл загружен, сделайте по нему двойной щелчок, чтобы зарегистрировать Ваш сервер в помощнике веб публикаций.</li></ul>
+EOT;
+
+$lang_xp_publish_testing = <<<EOT
+<h2>Тестирование</h2><ul><li>В Проводнике Windows, выберите любые файлы и кликните по <b>Опубликовать выбранные объекты в вебе</b> в левой части панели Проводника.</li><li>Подтвердите Ваш выбор файлов. Нажмите <b>Далее</b>.</li><li>В появившемся списке служб, выберите службу для Вашей фото галереи (служба называется также, как Ваша галерея). Если служба не появилась, проверьте, установили ли Вы <b>cpg_pub_wizard.reg</b> как описано выше.</li><li>Введите информацию Вашей учетной записи, если потребуется.</li><li>Выберите альбом для Ваших изображений или создайте новый.</li><li>Нажмите <b>Далее</b>. Начнется загрузка Ваших изображений.</li><li>Когда загрузка завершится, проверьте Вашу галерею, чтобы убедится, что изображения были добавлены правильно.</li></ul>
+EOT;
+
+$lang_xp_publish_notes = <<<EOT
+<h2>Замечаения</h2><ul><li>После начала загрузки, помощник не отображать никакие сообщения об ошибка, передаваемых скриптом, поэтому Вы не сможете узнать, правильно ли добавились Ваши изображения или нет, до тех пор, пока не посетите Вашу галерею.</li><li>Если процесс загрузки будет неудачным, выберите &quot;Включить режим отладки&quot; в конфигурации Coppermine и попытайтесь загрузить одно единственное изображение, а затем проверьте сообщения об ошибках в файле
+EOT;
+
+$lang_xp_publish_flood = <<<EOT
+, который расположен в директории Coppermine Вашего сервера.</li><li>Чтобы избежать загромождения галереи <i>ненужными</i> изображениями, загруженными через помощника, только <b>администраторы галереи</b> и <b>пользователи, которые могут иметь собственные альбомы</b>, могут использовать данный модуль.</li>
+EOT;
+
+$lang_xp_publish_php = array(
+  'title' => 'Coppermine - Помощник веб публикации XP', //cpg1.4
+  'welcome' => 'Добро пожаловать, <b>%s</b>', //cpg1.4
+  'need_login' => 'Вы должны войти в галерею, используя Ваш веб браузер, прежде чем Вы сможете использовать данный помощник.<p/><p>Когда входите в галерею, не забудьте отметить опцию <b>Автоматически входить при каждом посещении</b>, если она присутствует.', //cpg1.4
+  'no_alb' => 'Извините, но нет ни одного доступного альбома, куда Вам разрешено загружать изображения с помощью данного помощника.', //cpg1.4
+  'upload' => 'Загрузите Ваши изображения в существующий альбом', //cpg1.4
+  'create_new' => 'Создайте новый альбом для Ваших изображений', //cpg1.4
+  'album' => 'Альбом', //cpg1.4
+  'category' => 'Категория', //cpg1.4
+  'new_alb_created' => 'Ваш новый альбом &quot;<b>%s</b>&quot; был создан.', //cpg1.4
+  'continue' => 'Нажмите &quot;Далее&quot;, чтобы начать загрузку Ваших изображений', //cpg1.4
+  'link' => 'эту ссылку', //cpg1.4
+);
+}
 ?>
\ No newline at end of file
diff -x .svn -aruN 1.4.24.src/lang/serbian_cy.php 1.4.25.src/lang/serbian_cy.php
--- 1.4.24.src/lang/serbian_cy.php	2009-05-25 15:01:17.000000000 -0500
+++ 1.4.25.src/lang/serbian_cy.php	2009-05-26 11:25:40.000000000 -0500
@@ -10,7 +10,7 @@
   as published by the Free Software Foundation.
 
   ********************************************
-  Coppermine version: 1.4.24
+  Coppermine version: 1.4.25
   $Source$
   $Revision: 3966 $
   $Author: gaugau $
diff -x .svn -aruN 1.4.24.src/lang/serbian.php 1.4.25.src/lang/serbian.php
--- 1.4.24.src/lang/serbian.php	2009-05-25 15:01:17.000000000 -0500
+++ 1.4.25.src/lang/serbian.php	2009-05-26 11:25:40.000000000 -0500
@@ -10,11 +10,11 @@
   as published by the Free Software Foundation.
 
   ********************************************
-  Coppermine version: 1.4.24
+  Coppermine version: 1.4.25
   $Source$
-  $Revision: 5988 $
+  $Revision: 5997 $
   $Author: gaugau $
-  $Date: 2009-05-25 22:01:41 +0200 (Mo, 25 Mai 2009) $
+  $Date: 2009-05-26 08:43:24 +0200 (Di, 26 Mai 2009) $
 **********************************************/
 
 if (!defined('IN_COPPERMINE')) { die('Not in Coppermine...');}
diff -x .svn -aruN 1.4.24.src/lang/slovak.php 1.4.25.src/lang/slovak.php
--- 1.4.24.src/lang/slovak.php	2009-05-25 15:01:17.000000000 -0500
+++ 1.4.25.src/lang/slovak.php	2009-05-26 11:25:40.000000000 -0500
@@ -1,2145 +1,2145 @@
-<?php
-/*************************
-  Coppermine Photo Gallery
-  ************************
-  Copyright (c) 2003-2009 Coppermine Dev Team
-  v1.1 originally written by Gregory DEMAR
-
-  This program is free software; you can redistribute it and/or modify
-  it under the terms of the GNU General Public License version 3
-  as published by the Free Software Foundation.
-  
-  ********************************************
-  Coppermine version: 1.4.24
-  $HeadURL: https://coppermine.svn.sourceforge.net/svnroot/coppermine/trunk/cpg1.4.x/lang/slovak.php $
-  $Revision: 5988 $
-  $Author: gaugau $
-  $Date: 2009-05-25 22:01:41 +0200 (Mo, 25 Mai 2009) $
-**********************************************/
-
-if (!defined('IN_COPPERMINE')) { die('Not in Coppermine...');}
-
-// info about translators and translated language
-$lang_translation_info = array(
-  'lang_name_english' => 'Slovak', //cpg1.4
-  'lang_name_native' => 'Slovensky', //cpg1.4
-  'lang_country_code' => 'sk', //cpg1.4
-  'trans_name'=> 'Piranha',
-  'trans_email' => 'rc@rc.sk',
-  'trans_website' => 'http://www.kravata.sk',
-  'trans_date' => '2006-02-02',
-);
-
-$lang_charset = 'utf-8';
-$lang_text_dir = 'ltr'; // ('ltr' for left to right, 'rtl' for right to left)
-
-// shortcuts for Byte, Kilo, Mega
-$lang_byte_units = array('Bytov', 'KB', 'MB');
-
-// Day of weeks and months
-$lang_day_of_week = array('Ne', 'Po', 'Ut', 'St', 'Št', 'Pi', 'So');
-$lang_month = array('Január', 'Február', 'Marec', 'Apríl', 'Máj', 'Jún', 'Júl', 'August', 'September', 'Október', 'November', 'December');
-
-// Some common strings
-$lang_yes = 'Áno';
-$lang_no  = 'Nie';
-$lang_back = 'SPÄŤ';
-$lang_continue = 'POKRAČOVAŤ';
-$lang_info = 'Informácia';
-$lang_error = 'Chyba';
-$lang_check_uncheck_all = 'označ/odznač všetko'; //cpg1.4
-
-// The various date formats
-// See http://www.php.net/manual/en/function.strftime.php to define the variable below
-$album_date_fmt =    '%B %d, %Y';
-$lastcom_date_fmt =  '%m/%d/%y at %H:%M';
-$lastup_date_fmt = '%B %d, %Y';
-$register_date_fmt = '%B %d, %Y';
-$lasthit_date_fmt = '%B %d, %Y at %I:%M %p';
-$comment_date_fmt =  '%B %d, %Y at %I:%M %p';
-$log_date_fmt = '%B %d, %Y at %I:%M %p'; //cpg1.4
-
-// For the word censor
-$lang_bad_words = array('*fuck*', 'asshole', 'assramer', 'bitch*', 'c0ck', 'clits', 'Cock', 'cum', 'cunt*', 'dago', 'daygo', 'dego', 'dick*', 'dildo', 'fanculo', 'feces', 'foreskin', 'Fu\(*', 'fuk*', 'honkey', 'hore', 'injun', 'kike', 'lesbo', 'masturbat*', 'motherfucker', 'nazis', 'nigger*', 'nutsack', 'penis', 'phuck', 'poop', 'pussy', 'scrotum', 'shit', 'slut', 'titties', 'titty', 'twaty', 'wank*', 'whore', 'wop*', 'piča', 'hovno', '*fuck*', 'prdel', 'čurák', 'bitch*', 'c0ck', 'clits', 'Cock', 'cum', 'cunt*', 'dago', 'daygo', 'dego', 'dick*', 'dildo', 'fanculo', 'feces', 'foreskin', 'Fu\(*', 'fuk*', 'honkey', 'hore', 'injun', 'kike', 'lesbo', 'masturbat*', 'motherfucker', 'nazis', 'nigger*', 'nutsack', 'penis', 'phuck', 'poop', 'pussy', 'scrotum', 'shit', 'slut', 'titties', 'titty', 'twaty', 'wank*', 'whore', 'wop*', 'kokot');
-
-$lang_meta_album_names = array(
-  'random' => 'Náhodné súbory',
-  'lastup' => 'Najnovšie pridané',
-  'lastalb'=> 'Naposledy aktualizovaná galéria',
-  'lastcom' => 'Najnovšie komentáre',
-  'topn' => 'Najprezeranejšie',
-  'toprated' => 'Najvyššie hodnotené',
-  'lasthits' => 'Naposledy zobrazené',
-  'search' => 'Výsledky hľadania',
-  'favpics'=> 'Obľúbené súbory',  //cpg1.4
-);
-
-$lang_errors = array(
-  'access_denied' => 'Nemáte oprávnenie pre vstup na túto stránku.',
-  'perm_denied' => 'Nemáte oprávnenie vykonať túto operáciu.',
-  'param_missing' => 'Skript vyvolaný bez potrebných parametrov.',
-  'non_exist_ap' => 'Zvolený album/súbor neexistuje !',
-  'quota_exceeded' => 'Vyčerpali ste miesto na disku.<br /><br />Vaša kvóta je[quota]K, Vaše súbory zaberajú [space]K, pridaním tohto súboru by ste svoju kvótu prekročili.',
-  'gd_file_type_err' => 'Ak používate GD knižnicu sú podporované len obrázky JPG a PNG.',
-  'invalid_image' => 'Tento obrázok je poškodený/porušený alebo GD knihovňa s ním nemôže pracovať.',
-  'resize_failed' => 'Nemožno vytvoriť náhľad alebo zmenšený obrázok.',
-  'no_img_to_display' => 'Žiadny obrázok k zobrazeniu',
-  'non_exist_cat' => 'Zvolená kategória neexistuje',
-  'orphan_cat' => 'Táto kategória nemá nadradenú kategóriu. Problém opravte cez nastavenie kategorií!',
-  'directory_ro' => 'Do adresára \'%s\' nemožno zapisovať, súbor nemožno zmazať.',
-  'non_exist_comment' => 'Zvolený komentár neexistuje.',
-  'pic_in_invalid_album' => 'Súbor je v neexistujúcom albume (%s)!?',
-  'banned' => 'Momentálne máte zakázaný prístup k týmto stránkam.',
-  'not_with_udb' => 'Táto funkcia je vypnutá pretože je integrovaná vo fóre. Buď nie je požadovaná fukcia dostupná na tomto systéme, alebo túto funkciu plní fórum..',
-  'offline_title' => 'Odpojené',
-  'offline_text' => 'Galéria je momentálne nedostupná - skúste neskôr.',
-  'ecards_empty' => 'Teraz nie sú žiadne e-pohľadnice k zobrazeniu.',
-  'action_failed' => 'Akcia zlyhala. Galéria nie je schopná vašu požiadavku vykonať.',
-  'no_zip' => 'Knižnice potrebné pre zpracovanie ZIP súborov nie sú dostupné.  Prosím kontaktujte Vášho administrátora galérie.',
-  'zip_type' => 'Nemáte oprávnenie pridávať ZIP súbory.',
-  'database_query' => 'Vyskytla sa chyba pri spracovávaní databázovej požiadavky.', //cpg1.4
-  'register_globals_on' => 'The PHP setting register_globals is enabled on your server, which is a bad idea in terms of security. It\'s strongly recommended to turn it off. [<a href="http://forum.coppermine-gallery.net/index.php/topic,59569.0.html" rel="external" class="external">more</a>]',
-);
-
-$lang_bbcode_help_title = 'bbcode pomoc'; //cpg1.4
-$lang_bbcode_help = 'Môžete pridať klikateľné linky a formátovanie použitím bbcode tagov: <li>[b]Bold[/b] =&gt; <b>Bold</b></li><li>[i]Italic[/i] =&gt; <i>Italic</i></li><li>[url=http://yoursite.com/]Url Text[/url] =&gt; <a href="http://yoursite.com">Url Text</a></li><li>[email]user@domain.com[/email] =&gt; <a href="mailto:user@domain.com">user@domain.com</a></li><li>[color=red]some text[/color] =&gt; <span style="color:red">some text</span></li><li>[img]http://coppermine-gallery.net/demo/cpg14x/images/red.gif[/img] => <img src="../images/red.gif" border="0" alt="" /></li>'; //cpg1.4
-
-// ------------------------------------------------------------------------- //
-// File theme.php
-// ------------------------------------------------------------------------- //
-
-$lang_main_menu = array(
-  'home_title' => 'Choď na hlavnú stránku',
-  'home_lnk' => 'Domov',
-  'alb_list_title' => 'Choď na zoznam albumov',
-  'alb_list_lnk' => 'Zoznam albumov',
-  'my_gal_title' => 'Choď do osobnej galérie',
-  'my_gal_lnk' => 'Moja galéria',
-  'my_prof_title' => 'Choď na môj profil', //cpg1.4
-  'my_prof_lnk' => 'Môj profil',
-  'adm_mode_title' => 'Prepnúť do admin módu',
-  'adm_mode_lnk' => 'Admin mód',
-  'usr_mode_title' => 'Prepnúť do užívateľského módu',
-  'usr_mode_lnk' => 'Užívateľský mód',
-  'upload_pic_title' => 'Pridať súbor do albumu',
-  'upload_pic_lnk' => 'Pridať súbor',
-  'register_title' => 'Vytvoriť účet',
-  'register_lnk' => 'Registruj',
-  'login_title' => 'Prihlás ma', //cpg1.4
-  'login_lnk' => 'Prihlásiť',
-  'logout_title' => 'Odhlás ma', //cpg1.4
-  'logout_lnk' => 'Odhlásiť',
-  'lastup_title' => 'Zobraz najnovšie pridané', //cpg1.4
-  'lastup_lnk' => 'Najnovšie pridané',
-  'lastcom_title' => 'Zobraz najnovšie komentáre', //cpg1.4
-  'lastcom_lnk' => 'Najnovšie komentáre',
-  'topn_title' => 'Zobraz najprezeranejšie', //cpg1.4
-  'topn_lnk' => 'Najprezeranejšie',
-  'toprated_title' => 'Zobraz najvyššie hodnotené', //cpg1.4
-  'toprated_lnk' => 'Najvyššie hodnotené',
-  'search_title' => 'Hľadaj v galérii', //cpg1.4
-  'search_lnk' => 'Hľadať',
-  'fav_title' => 'Choď do mojich obľúbených', //cpg1.4
-  'fav_lnk' => 'Moje obľúbené',
-  'memberlist_title' => 'Zobraz členov',
-  'memberlist_lnk' => 'Zoznam členov',
-  'faq_title' => 'Často kladené otázky na galériu &quot;Coppermine&quot;',
-  'faq_lnk' => 'FAQ',
-);
-
-$lang_gallery_admin_menu = array(
-  'upl_app_title' => 'Schváliť pridanie súboru', //cpg1.4
-  'upl_app_lnk' => 'Potvrdiť pridanie',
-  'admin_title' => 'Choď do konfigurácie galérie', //cpg1.4
-  'admin_lnk' => 'Konfigurácia', //cpg1.4
-  'albums_title' => 'Choď do konfigurácie albumov', //cpg1.4
-  'albums_lnk' => 'Albumy',
-  'categories_title' => 'Choď do konfigurácie kategórií', //cpg1.4
-  'categories_lnk' => 'Kategórie',
-  'users_title' => 'Choď do konfigurácie členov', //cpg1.4
-  'users_lnk' => 'Členovia',
-  'groups_title' => 'Choď do konfigurácie skupín', //cpg1.4
-  'groups_lnk' => 'Skupiny',
-  'comments_title' => 'Prezerať komentáre', //cpg1.4
-  'comments_lnk' => 'Prezerať komentáre',
-  'searchnew_title' => 'Choď na hromadné pridanie súborov', //cpg1.4
-  'searchnew_lnk' => 'Hromadné pridanie',
-  'util_title' => 'Choď do administračného menu', //cpg1.4
-  'util_lnk' => 'Administrácia',
-  'key_title' => 'Choď do zoznamu kľúčových slov', //cpg1.4
-  'key_lnk' => 'Kľúčové slová', //cpg1.4
-  'ban_title' => 'Choď do zoznamu zakázaných členov', //cpg1.4
-  'ban_lnk' => 'Zakáž člena',
-  'db_ecard_title' => 'Prezrieť e-pohľadnice', //cpg1.4
-  'db_ecard_lnk' => 'Zobraziť e-pohľadnice',
-  'pictures_title' => 'Usporiadať moje obrázky', //cpg1.4
-  'pictures_lnk' => 'Usporiadať obrázky', //cpg1.4
-  'documentation_lnk' => 'Dokumentácia', //cpg1.4
-  'documentation_title' => 'Coppermine manuál', //cpg1.4
-);
-
-$lang_user_admin_menu = array(
-  'albmgr_title' => 'Vytvoriť a usporiadať albumy', //cpg1.4
-  'albmgr_lnk' => 'Vytvoriť/usporiadať albumy',
-  'modifyalb_title' => 'Choď na úpravu albumov',  //cpg1.4
-  'modifyalb_lnk' => 'Úprava albumov',
-  'my_prof_title' => 'Choď na úpravu môjho profilu', //cpg1.4
-  'my_prof_lnk' => 'Môj profil',
-);
-
-$lang_cat_list = array(
-  'category' => 'Kategórie',
-  'albums' => 'Albumy',
-  'pictures' => 'Súbory',
-);
-
-$lang_album_list = array(
-  'album_on_page' => '%d albumov na %d stránkach',
-);
-
-$lang_thumb_view = array(
-  'date' => 'DÁTUM',
-  //Sort by filename and title
-  'name' => 'MENO SÚBORU',
-  'title' => 'NADPIS',
-  'sort_da' => 'Zoradiť vzostupne podľa dátumu',
-    'sort_dd' => 'Zoradiť zostupne podľa dátumu',
-    'sort_na' => 'Zoradiť vzostupne podľa mena',
-    'sort_nd' => 'Zoradiť zostupne podľa mena',
-    'sort_ta' => 'Zoradiť vzostupne podľa nadpisu',
-    'sort_td' => 'Zoradiť zostupne podľa nadpisu',
-  'position' => 'UMIESTNENIE', //cpg1.4
-  'sort_pa' => 'Zoradiť vzostupne podľa umiestnenia', //cpg1.4
-  'sort_pd' => 'Zoradiť zostupne podľa umiestnenia', //cpg1.4
-  'download_zip' => 'Stiahnuť ako Zip súbor',
-  'pic_on_page' => '%d súborov na %d stránkach',
-  'user_on_page' => '%d užívateľov na %d stránkach',
-  'enter_alb_pass' => 'Zadajte heslo pre album', //cpg1.4
-  'invalid_pass' => 'Neplatné heslo', //cpg1.4
-  'pass' => 'Heslo', //cpg1.4
-  'submit' => 'Potvrdiť', //cpg1.4
-);
-
-$lang_img_nav_bar = array(
-  'thumb_title' => 'Návrat na stránku náhľadov',
-  'pic_info_title' => 'Zobraziť/schovať informácie o súbore',
-  'slideshow_title' => 'Slideshow - automatické posúvanie obrázkov',
-  'ecard_title' => 'Pošli súbor ako e-pohľadnicu ',
-  'ecard_disabled' => 'zasielanie e-pohľadníc je vypnuté',
-  'ecard_disabled_msg' => 'Nemáte oprávnenie na posielanie e-pohľadníc', //js-alert
-  'prev_title' => 'Pozri predchádzajúci súbor',
-  'next_title' => 'Pozri ďaľší súbor',
-  'pic_pos' => 'SÚBOR %s/%s',
-  'report_title' => 'Upozorni administrátora na tento súbor', //cpg1.4
-  'go_album_end' => 'Skoč na koniec', //cpg1.4
-  'go_album_start' => 'Skoč na začiatok', //cpg1.4
-  'go_back_x_items' => 'choď späť o %s položku/y', //cpg1.4
-  'go_forward_x_items' => 'choď vpred o %s položku/y', //cpg1.4
-);
-
-$lang_rate_pic = array(
-  'rate_this_pic' => 'Hodnotiť tento súbor ',
-  'no_votes' => '(zatiaľ nehodnotené)',
-  'rating' => '(Aktuálne hodnotenie : %s / 5 hlasované %s krát)',
-  'rubbish' => 'Odpad',
-  'poor' => 'Slabý',
-  'fair' => 'Dá sa vydržať',
-  'good' => 'Dobrý',
-  'excellent' => 'Výborný',
-  'great' => 'Dokonalý',
-);
-
-// ------------------------------------------------------------------------- //
-// File include/exif.inc.php
-// ------------------------------------------------------------------------- //
-
-// void
-
-// ------------------------------------------------------------------------- //
-// File include/functions.inc.php
-// ------------------------------------------------------------------------- //
-
-$lang_cpg_die = array(
-  INFORMATION => $lang_info,
-  ERROR => $lang_error,
-  CRITICAL_ERROR => 'Kritická chyba',
-  'file' => 'Súbor: ',
-  'line' => 'Riadok: ',
-);
-
-$lang_display_thumbnails = array(
-  'filename' => 'Meno súboru=', //cpg1.4
-  'filesize' => 'Veľkost súboru=', //cpg1.4
-  'dimensions' => 'Rozmery=', //cpg1.4
-  'date_added' => 'Dátum pridania=', //cpg1.4
-);
-
-$lang_get_pic_data = array(
-  'n_comments' => '%s komentár(ov)',
-  'n_views' => '%s zobrazení',
-  'n_votes' => '(%s hlas(ov))',
-);
-
-$lang_cpg_debug_output = array(
-  'debug_info' => 'Informácia o chybách',
-  'select_all' => 'Vybrať všetko',
-  'copy_and_paste_instructions' => 'Pokiaľ sa chystáte požadovať pomoc u podpory coppermine, vložte tento ladiaci výstup do vášho príspevku. Pred takýmto vložením sa uistite, že ste všetky vaše heslá z tohto textu nahradili pomocou "***". <br /> Toto je len informácia, neznamená to chybu vo Vašej galérii.', //cpg1.4
-  'phpinfo' => 'zobraziť phpinfo',
-  'notices' => 'Oznamy', //cpg1.4
-);
-
-$lang_language_selection = array(
-  'reset_language' => 'Prednastavený jazyk',
-  'choose_language' => 'Vyberte si Váš jazyk',
-);
-
-$lang_theme_selection = array(
-  'reset_theme' => 'Prednastavená téma',
-  'choose_theme' => 'Vyberte tému',
-);
-
-$lang_version_alert = array(
-  'version_alert' => 'Nepodporovaná verzia!', //cpg1.4
-  'security_alert' => 'Bezpečnostná výstraha!', //cpg1.4.3
-  'relocate_exists' => 'Odstráňte <a href="http://coppermine-gallery.net/forum/index.php?topic=24217.0">relocate_server.php</a> z vašich stránok!',
-  'no_stable_version' => 'Prevádzkujete verziu Coppermine %s (%s) ,ktorá je len pre veľmi skúsených užívateľov - táto verzia je bez podpory a záruky. použitie je na vlastnú zodpovednosť a nebezpečie!', //cpg1.4
-  'gallery_offline' => 'Galéria je momentálne offline a je viditeľná len pre administrátorov. Nezabudnite ju pripojiť online po ukončení údržby.', //cpg1.4
-);
-
-$lang_create_tabs = array(
-  'previous' => 'predchádzajúci', //cpg1.4
-  'next' => 'ďaľší', //cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File include/init.inc.php
-// ------------------------------------------------------------------------- //
-
-// void
-
-// ------------------------------------------------------------------------- //
-// File keyword.inc.php                                                      //
-// ------------------------------------------------------------------------- //
-
-// void
-
-// ------------------------------------------------------------------------- //
-// File include/picmgmt.inc.php
-// ------------------------------------------------------------------------- //
-
-// void
-
-// ------------------------------------------------------------------------- //
-// File include/plugin_api.inc.php
-// ------------------------------------------------------------------------- //
-$lang_plugin_api = array(
-  'error_wakeup' => "Nemôžem použiť zásuvný modul '%s'", //cpg1.4
-  'error_install' => "Nemôžem inštalovať zásuvný modul '%s'", //cpg1.4
-  'error_uninstall' => "Nemôžem odinštalovať zásuvný modul '%s'", //cpg1.4
-  'error_sleep' => "Nemôžem odinštalovať zásuvný modul '%s'<br />", //cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File include/smilies.inc.php
-// ------------------------------------------------------------------------- //
-
-if (defined('SMILIES_PHP')) $lang_smilies_inc_php = array(
-  'Exclamation' => 'Exclamation',
-  'Question' => 'Question',
-  'Very Happy' => 'Very Happy',
-  'Smile' => 'Smile',
-  'Sad' => 'Sad',
-  'Surprised' => 'Surprised',
-  'Shocked' => 'Shocked',
-  'Confused' => 'Confused',
-  'Cool' => 'Cool',
-  'Laughing' => 'Laughing',
-  'Mad' => 'Mad',
-  'Razz' => 'Razz',
-  'Embarassed' => 'Embarassed',
-  'Crying or Very sad' => 'Crying or Very sad',
-  'Evil or Very Mad' => 'Evil or Very Mad',
-  'Twisted Evil' => 'Twisted Evil',
-  'Rolling Eyes' => 'Rolling Eyes',
-  'Wink' => 'Wink',
-  'Idea' => 'Idea',
-  'Arrow' => 'Arrow',
-  'Neutral' => 'Neutral',
-  'Mr. Green' => 'Mr. Green',
-);
-
-// ------------------------------------------------------------------------- //
-// File addpic.php
-// ------------------------------------------------------------------------- //
-
-// void
-
-// ------------------------------------------------------------------------- //
-// File mode.php //cpg1.4
-// ------------------------------------------------------------------------- //
-
-if (defined('MODE_PHP')) $lang_mode_php = array(
-  0 => 'Opúšťam admin mód ...',
-  1 => 'Aktivujem admin mód...',
-);
-
-// ------------------------------------------------------------------------- //
-// File albmgr.php
-// ------------------------------------------------------------------------- //
-
-if (defined('ALBMGR_PHP')) $lang_albmgr_php = array(
-  'alb_need_name' => 'Album musí mať meno !', //js-alert
-  'confirm_modifs' => 'Chcete vykonať tieto zmeny ?', //js-alert
-  'no_change' => 'Nevykonali sa žiadne zmeny !', //js-alert
-  'new_album' => 'Nový album',
-  'confirm_delete1' => 'Určite chcete zmazať tento album ?', //js-alert
-  'confirm_delete2' => '\nVšetky súbory a komentáre budú stratené !', //js-alert
-  'select_first' => 'Najprv vyberte album', //js-alert
-  'alb_mrg' => 'Správca albumov',
-  'my_gallery' => '* Moja galéria *',
-  'no_category' => '* Žiadna kategória *',
-  'delete' => 'Odstrániť',
-  'new' => 'Nový',
-  'apply_modifs' => 'Vykonať zmeny',
-  'select_category' => 'Vybrať kategóriu',
-);
-
-// ------------------------------------------------------------------------- //
-// File banning.php
-// ------------------------------------------------------------------------- //
-
-if (defined('BANNING_PHP')) $lang_banning_php = array(
-  'title' => 'Zakáž člena', //cpg1.4
-  'user_name' => 'Meno', //cpg1.4
-  'ip_address' => 'IP Adresa', //cpg1.4
-  'expiry' => 'Expiruje (prázdne znamená nastálo)', //cpg1.4
-  'edit_ban' => 'Ulož zmeny', //cpg1.4
-  'delete_ban' => 'Zmazať', //cpg1.4
-  'add_new' => 'Pridaj nový zákaz', //cpg1.4
-  'add_ban' => 'Pridaj', //cpg1.4
-  'error_user' => 'Nemožno nájsť člena', //cpg1.4
-  'error_specify' => 'Je nutné zadať meno člena alebo IP Adresu', //cpg1.4
-  'error_ban_id' => 'Nesprávne ID!', //cpg1.4
-  'error_admin_ban' => 'Nemožno zakázať sám seba!', //cpg1.4
-  'error_server_ban' => 'Chcete zakázať vlastný server? To sa nedá ...', //cpg1.4
-  'error_ip_forbidden' => 'Nemožno zakázať túto IP - určite nie je trasovateľna !<br />If you want to allow banning for private IPs, change this in your <a href="admin.php">Config</a> (only makes sense when Coppermine runs on a LAN).', //cpg1.4
-  'lookup_ip' => 'Vyhľadávanie IP adresy', //cpg1.4
-  'submit' => 'vykonať!', //cpg1.4
-  'select_date' => 'vybrať dátum', //cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File bridgemgr.php //cpg1.4
-// ------------------------------------------------------------------------- //
-
-if (defined('BRIDGEMGR_PHP')) $lang_bridgemgr_php = array(
-  'title' => 'Bridge Wizard',
-  'warning' => 'Warning: when using this wizard you have to understand that sensitive data is being sent using html forms. Only run it on your own PC (not on a public client like an internet cafe), and make sure to clear the browser cache and temporary files after you have finished, or others might be able to access your data!',
-  'back' => 'back',
-  'next' => 'next',
-  'start_wizard' => 'Start bridging wizard',
-  'finish' => 'Finish',
-  'hide_unused_fields' => 'hide unused form fields (recommended)',
-  'clear_unused_db_fields' => 'clear invalid database entries (recommended)',
-  'custom_bridge_file' => 'your custom bridge file\'s name (if the bridge file\'s name is <i>myfile.inc.php</i>, enter <i>myfile</i> into this field)',
-  'no_action_needed' => 'No action needed in this step. Just click \'next\' to continue.',
-  'reset_to_default' => 'Reset to default value',
-  'choose_bbs_app' => 'choose application to bridge coppermine with',
-  'support_url' => 'Go here for support on this application',
-  'settings_path' => 'path(s) used by your BBS app',
-  'database_connection' => 'database connection',
-  'database_tables' => 'database tables',
-  'bbs_groups' => 'BBS groups',
-  'license_number' => 'License number',
-  'license_number_explanation' => 'enter your license number (if applicable)',
-  'db_database_name' => 'Database name',
-  'db_database_name_explanation' => 'Enter the name of the database your BBS app uses',
-  'db_hostname' => 'Database host',
-  'db_hostname_explanation' => 'Hostname where your mySQL database resides, usually &quot;localhost&quot;',
-  'db_username' => 'Database user account',
-  'db_username_explanation' => 'mySQL user account to use for connection with BBS',
-  'db_password' => 'Database passsword',
-  'db_password_explanation' => 'Passsword for this mySQL user account',
-  'full_forum_url' => 'Forum URL',
-  'full_forum_url_explanation' => 'Full URL of your BBS app (including the leading http:// bit, e.g. http://www.yourdomain.tld/forum)',
-  'relative_path_of_forum_from_webroot' => 'Relative forum path',
-  'relative_path_of_forum_from_webroot_explanation' => 'Relative path to your BBS app from the webroot (Example: if your BBS is at http://www.yourdomain.tld/forum/, enter &quot;/forum/&quot; into this field)',
-  'relative_path_to_config_file' => 'Relative path to your BBS\'s config file',
-  'relative_path_to_config_file_explanation' => 'Relative path to your BBS, seen from your Coppermine folder (e.g. &quot;../forum/&quot; if your BBS is at http://www.yourdomain.tld/forum/ and Coppermine at http://www.yourdomain.tld/gallery/)',
-  'cookie_prefix' => 'Cookie prefix',
-  'cookie_prefix_explanation' => 'this has to be your BBS\'s cookie name',
-  'table_prefix' => 'Table prefix',
-  'table_prefix_explanation' => 'Must match the prefix you chose for your BBS when setting it up.',
-  'user_table' => 'User table',
-  'user_table_explanation' => '(usually default value should be OK, unless your BBS install isn\'t standard)',
-  'session_table' => 'Session table',
-  'session_table_explanation' => '(usually default value should be OK, unless your BBS install isn\'t standard)',
-  'group_table' => 'Group table',
-  'group_table_explanation' => '(usually default value should be OK, unless your BBS install isn\'t standard)',
-  'group_relation_table' => 'Group relation table',
-  'group_relation_table_explanation' => '(usually default value should be OK, unless your BBS install isn\'t standard)',
-  'group_mapping_table' => 'Group mapping table',
-  'group_mapping_table_explanation' => '(usually default value should be OK, unless your BBS install isn\'t standard)',
-  'use_standard_groups' => 'Use standard BBS usergroups',
-  'use_standard_groups_explanation' => 'Use standard (built-in) usergroups (recommended). This will make all custom usergroups settings made on this page become void. Only disable this option if you REALLY know what you\'re doing!',
-  'validating_group' => 'Validating group',
-  'validating_group_explanation' => 'The group ID of your BBS where users accounts that need validation are in (usually default value should be OK, unless your BBS install isn\'t standard)',
-  'guest_group' => 'Guest group',
-  'guest_group_explanation' => 'Group ID of your BBS where guests (anonymous users) are in (default value should be OK, only edit if you know what you\'re doing)',
-  'member_group' => 'Member group',
-  'member_group_explanation' => 'Group ID of your BBS where &quot;regular&quot; users accounts are in (default value should be OK, only edit if you know what you\'re doing)',
-  'admin_group' => 'Admin group',
-  'admin_group_explanation' => 'Group ID of your BBS where admins are in (default value should be OK, only edit if you know what you\'re doing)',
-  'banned_group' => 'Banned group',
-  'banned_group_explanation' => 'Group ID of your BBS where banned users are in (default value should be OK, only edit if you know what you\'re doing)',
-  'global_moderators_group' => 'Global moderators group',
-  'global_moderators_group_explanation' => 'Group ID of your BBS where global moderators of your BBS are in (default value should be OK, only edit if you know what you\'re doing)',
-  'special_settings' => 'BBS-specific settings',
-  'logout_flag' => 'phpBB version (logout flag)',
-  'logout_flag_explanation' => 'What\'s your BBS version (this setting specifies how logouts are being handled)',
-  'use_post_based_groups' => 'Use post-based groups?',
-  'logout_flag_yes' => '2.0.5 or higher',
-  'logout_flag_no' => '2.0.4 or lower',
-  'use_post_based_groups_explanation' => 'Should the groups from the BBS that are defined by the number of posts be taken into account (allows a granular permissions management) or just the default groups (makes administration easier, recommended). You can change this setting later as well.',
-  'use_post_based_groups_yes' => 'yes',
-  'use_post_based_groups_no' => 'no',
-  'error_title' => 'You need to correct these errors before you can continue. Go to the previous screen.',
-  'error_specify_bbs' => 'You have to specify what application you want to bridge your Coppermine install with.',
-  'error_no_blank_name' => 'You can\'t leave the name of your custom bridge file blank.',
-  'error_no_special_chars' => 'The bridge file name mustn\'t contain any special chars except underscore (_) and dash (-)!',
-  'error_bridge_file_not_exist' => 'The bridge file %s doesn\'t exist on the server. Check if you have actually uploaded it.',
-  'finalize' => 'enable/disable BBS integration',
-  'finalize_explanation' => 'So far, the settings you specified have been written into the database, but BBS integration hasn\'t been enabled. You can switch integration on/off later at any time. Make sure to remember the admin username and password from standalone Coppermine, you might need it later to be able to make any changes. If anything goes wrong, go to %s and disable BBS integration there, using your standalone (unbridged) admin account (usually the one you set up during Coppermine install).',
-  'your_bridge_settings' => 'Your bridge settings',
-  'title_enable' => 'Enable integration/bridging with %s',
-  'bridge_enable_yes' => 'enable',
-  'bridge_enable_no' => 'disable',
-  'error_must_not_be_empty' => 'must not be empty',
-  'error_either_be' => 'must either be %s or %s',
-  'error_folder_not_exist' => '%s doesn\'t exist. Correct the value you entered for %s',
-  'error_cookie_not_readible' => 'Coppermine can\'t read a cookie named %s. Correct the value you entered for %s, or go to your BBS administration panel and make sure that the cookie path is readible for coppermine.',
-  'error_mandatory_field_empty' => 'You can not leave the field %s blank - fill in the proper value.',
-  'error_no_trailing_slash' => 'There mustn\'t be a trailing slash in the field %s.',
-  'error_trailing_slash' => 'There must be a trailing slash in the field %s.',
-  'error_db_connect' => 'Could not connect to the mySQL database with the data you specified. Here\'s what mySQL said:',
-  'error_db_name' => 'Although Coppermine could establish a connection, it wasn\'t able to find the database %s. Make sure you have specified %s properly. Here\'s what mySQL said:',
-  'error_prefix_and_table' => '%s and ',
-  'error_db_table' => 'Could not find the table %s. Make sure you have specified %s correctly.',
-  'recovery_title' => 'Bridge Manager: emergency recovery',
-  'recovery_explanation' => 'If you came here to administer the BBS integration of your Coppermine gallery, you have to log in first as admin. If you can not log in because bridging doesn\'t work as expected, you can disable BBS integration with this page. Entering your username and password will not log you in, it will only disable BBS integration. Refer to the documentation for details.',
-  'username' => 'Username',
-  'password' => 'Password',
-  'disable_submit' => 'submit',
-  'recovery_success_title' => 'Authorization successful',
-  'recovery_success_content' => 'You have successfully disabled BBS bridging. Your Coppermine install runs now in standalone mode.',
-  'recovery_success_advice_login' => 'Log in as admin to edit your bridge settings and/or enable BBS integration again.',
-  'goto_login' => 'Go to login page',
-  'goto_bridgemgr' => 'Go to bridge manager',
-  'recovery_failure_title' => 'Authorization failed',
-  'recovery_failure_content' => 'You supplied the wrong credentials. You will have to supply the admin account data of the standalone version (usually the account you set up during Coppermine install).',
-  'try_again' => 'try again',
-  'recovery_wait_title' => 'Wait time has not elapsed',
-  'recovery_wait_content' => 'For security reasons this script does not allow failed logons in short succession, so you will have to wait a bit untill you\'re allowed to try to authenticate.',
-  'wait' => 'wait',
-  'create_redir_file' => 'Create redirection file (recommended)',
-  'create_redir_file_explanation' => 'To redirect users back to Coppermine once they logged into your BBS, you need a redirection file to be created within your BBS folder. When this option is checked, the bridge manager will attempt to create this file for you, or give you code ready to copy-and-paste to create the file manually.',
-  'browse' => 'browse',
-);
-
-// ------------------------------------------------------------------------- //
-// File calendar.php //cpg1.4
-// ------------------------------------------------------------------------- //
-
-if (defined('CALENDAR_PHP')) $lang_calendar_php = array(
-  'title' => 'Kalendár', //cpg1.4
-  'close' => 'zatvoriť', //cpg1.4
-  'clear_date' => 'vymazať dátum', //cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File catmgr.php
-// ------------------------------------------------------------------------- //
-
-if (defined('CATMGR_PHP')) $lang_catmgr_php = array(
-  'miss_param' => 'Parametre potrebné pre \'%s\'operáciu nie su dostupné !',
-  'unknown_cat' => 'Vybraná kategória v databáze neexistuje',
-  'usergal_cat_ro' => 'Uživateľské kategórie nie je možné zmazať !',
-  'manage_cat' => 'Upraviť kategórie',
-  'confirm_delete' => 'Naozaj chcete VYMAZAŤ túto kategóriu', //js-alert
-  'category' => 'Kategória',
-  'operations' => 'Operácie',
-  'move_into' => 'Presunúť do',
-  'update_create' => 'Aktualizovať/Vytvoriť kategóriu',
-  'parent_cat' => 'Nadradená kategória',
-  'cat_title' => 'Názov kategórie',
-  'cat_thumb' => 'Miniatúra kategórie',
-  'cat_desc' => 'Popis kategórie',
-  'categories_alpha_sort' => 'Usporiadať kategórie abecedne (namiesto voliteľného)', //cpg1.4
-  'save_cfg' => 'Uložiť konfiguráciu', //cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File admin.php //cpg1.4
-// ------------------------------------------------------------------------- //
-
-if (defined('ADMIN_PHP')) $lang_admin_php = array(
-  'title' => 'Konfigurácia galérie', //cpg1.4
-  'manage_exif' => 'Spravuj Exif zobrazenie', //cpg1.4
-  'manage_plugins' => 'Spravuj zásuvné moduly', //cpg1.4
-  'manage_keyword' => 'Spravuj kľúčové slová', //cpg1.4
-  'restore_cfg' => 'Obnoviť východzie nastavenia',
-  'save_cfg' => 'Uložiť novú konfiguráciu',
-  'notes' => 'Poznámky',
-  'info' => 'Oznam',
-  'upd_success' => 'Konfigurácia bola aktualizovaná',
-  'restore_success' => 'Východzie nastavenia boli obnovené',
-  'name_a' => 'Meno vzostupne',
-  'name_d' => 'Meno zostupne',
-  'title_a' => 'Nadpis vzostupne',
-  'title_d' => 'Nadpis zostupne',
-  'date_a' => 'Dátum vzostupne',
-  'date_d' => 'Dátum zostupne',
-  'pos_a' => 'Pozícia vzostupne', //cpg1.4
-  'pos_d' => 'Pozícia zostupne', //cpg1.4
-  'th_any' => 'Max pomer',
-  'th_ht' => 'Výška',
-  'th_wd' => 'Šírka',
-  'label' => 'návesť',
-  'item' => 'vlajočky',
-  'debug_everyone' => 'Každý',
-  'debug_admin' => 'iba Admin',
-  'no_logs'=> 'Vyp.', //cpg1.4
-  'log_normal'=> 'Normal', //cpg1.4
-  'log_all' => 'Všetko', //cpg1.4
-  'view_logs' => 'Ukáž logy', //cpg1.4
-  'click_expand' => 'klikni pre rozbalenie', //cpg1.4
-  'expand_all' => 'Rozbaliť všetko', //cpg1.4
-  'notice1' => '(*) Tieto nastavenia netreba meniť ak už máte súbory uložené v databáze .', //cpg1.4 - (relocated)
-  'notice2' => '(**) Meniť tieto nastavenia má význam len pred pridávaním súborov do databázy. Existujúce súbory upravíte pomocou &quot;<a href="util.php">administrácie</a> (administračné nástroje)&quot; .', //cpg1.4 - (relocated)
-  'notice3' => '(***) Všetky logy sú v anglickom jazyku.', //cpg1.4 - (relocated)
-  'bbs_disabled' => 'Funkcia je vypnutá ak je použitá bb integrácia', //cpg1.4
-  'auto_resize_everyone' => 'Každý', //cpg1.4
-  'auto_resize_user' => 'Len užívateľ', //cpg1.4
-  'ascending' => 'vzostupne', //cpg1.4
-  'descending' => 'zostupne', //cpg1.4
-);
-
-if (defined('ADMIN_PHP')) $lang_admin_data = array(
-  'Obecné nastavenia',
-  array('Názov galérie', 'gallery_name', 0, 'f=index.htm&amp;as=admin_general_name&amp;ae=admin_general_name_end'), //cpg1.4
-  array('Popis galérie', 'gallery_description', 0, 'f=index.htm&amp;as=admin_general_description&amp;ae=admin_general_description_end'), //cpg1.4
-  array('Adminov email', 'gallery_admin_email', 0, 'f=index.htm&amp;as=admin_general_email&amp;ae=admin_general_email_end'), //cpg1.4
-  array('URL adresára galérie (neuvádzajte tu \'index.php\' alebo podobné na konci)', 'ecards_more_pic_target', 0, 'f=index.htm&amp;as=admin_general_coppermine-url&amp;ae=admin_general_coppermine-url_end'), //cpg1.4
-  array('URL Vašej domácej stránky', 'home_target', 0, 'f=index.htm&amp;as=admin_general_home-url&amp;ae=admin_general_home-url_end'), //cpg1.4
-  array('Povoliť ZIP-download z obľúbených', 'enable_zipdownload', 1, 'f=index.htm&amp;as=admin_general_zip-download&amp;ae=admin_general_zip-download_end'), //cpg1.4
-  array('Časový posun proti GMT (aktuálny čas: ' . localised_date(-1, $comment_date_fmt) . ')','time_offset',0, 'f=index.htm&amp;as=admin_general_time-offset&amp;ae=admin_general_time-offset_end&amp;top=1'), //cpg1.4
-  array('Zapnúť kryptované heslá (nedá sa vrátiť)','enable_encrypted_passwords',1, 'f=index.htm&amp;as=admin_general_encrypt_password_start&amp;ae=admin_general_encrypt_password_end&amp;top=1'), // cpg 1.4
-  array('Zapnúť help-ikony (help iba v angličtine)','enable_help',9, 'f=index.htm&amp;as=admin_general_help&amp;ae=admin_general_help_end'), //cpg1.4
-  array('Zapnúť klikateľné kľúčové slová vo vyhľadávaní','clickable_keyword_search',14, 'f=index.htm&amp;as=admin_general_keywords_start&amp;ae=admin_general_keywords_end'), //cpg1.4
-  array('Zapnúť zásuvné moduly', 'enable_plugins', 12, 'f=index.htm&amp;as=admin_general_enable-plugins&amp;ae=admin_general_enable-plugins_end'),  //cpg1.4
-  array('Povoliť zakazovanie netrasovateľných IP adries ', 'ban_private_ip', 1,  'f=index.htm&amp;as=admin_general_private-ip&amp;ae=admin_general_private-ip_end'), //cpg1.4
-  array('Vizuálne rozhranie hromadného pridávania súborov', 'browse_batch_add', 1, 'f=index.htm&amp;as=admin_general_browsable_batch_add&amp;ae=admin_general_browsable_batch_add_end'), //cpg1.4
-
-  'Jazyky &amp; Znakové sady(kódovanie)',
-  array('Jazyk', 'lang', 5, 'f=index.htm&amp;as=admin_language_language&amp;ae=admin_language_language_end'), //cpg1.4
-  array('Prepnúť na angličtinu ak sa preklad nenájde?', 'language_fallback', 1, 'f=index.htm&amp;as=admin_language_fallback&amp;ae=admin_language_fallback_end'), //cpg1.4
-  array('Kódovanie - Znakové sady', 'charset', 4, 'f=index.htm&amp;as=admin_language_charset&amp;ae=admin_language_charset_end'), //cpg1.4
-  array('Zobraziť zoznam jazykov', 'language_list', 1, 'f=index.htm&amp;as=admin_language_list&amp;ae=admin_language_list_end'), //cpg1.4
-  array('Zobraziť vlajočky jazykov', 'language_flags', 8, 'f=index.htm&amp;as=admin_language_flags&amp;ae=admin_language_flags_end&amp;top=1'), //cpg1.4
-  array('Zobraziť &quot;reset&quot; vo voľbe jazykov', 'language_reset', 1, 'f=index.htm&amp;as=admin_language_reset&amp;ae=admin_language_reset_end&amp;top=1'), //cpg1.4
-  //array('Display previous/next on tabbed pages', 'previous_next_tab', 1), //cpg1.4
-
-  'Nastavenia vzhľadu',
-  array('Vzhľad', 'theme', 6, 'f=index.htm&amp;as=admin_theme_theme&amp;ae=admin_theme_theme_end'), //cpg1.4
-  array('Zobraziť zoznam vzhľadov', 'theme_list', 1, 'f=index.htm&amp;as=admin_theme_theme_list&amp;ae=admin_theme_theme_list_end'), //cpg1.4
-  array('Zobraziť &quot;reset&quot; v zozname vzhľadov', 'theme_reset', 1, 'f=index.htm&amp;as=admin_theme_theme_reset&amp;ae=admin_theme_theme_reset_end'), //cpg1.4
-  array('Zobraziť FAQ', 'display_faq', 1, 'f=index.htm&amp;as=admin_theme_faq&amp;ae=admin_theme_faq_end'), //cpg1.4
-  array('Názov vlastnej linky v menu', 'custom_lnk_name', 0,'f=index.htm&amp;as=admin_theme_custom_lnk_name&amp;ae=admin_theme_custom_lnk_name_end'), //cpg1.4
-  array('URL vlastnej linky v menu', 'custom_lnk_url', 0,'f=index.htm&amp;as=admin_language_custom_lnk_url&amp;ae=admin_language_custom_lnk_url_end'), //cpg1.4
-  array('Zobrazovať bbcode help', 'show_bbcode_help', 1, 'f=index.htm&amp;as=admin_theme_bbcode&amp;ae=admin_theme_bbcode_end&amp;top=1'), //cpg1.4
-  array('Zobraziť Vanity Block ktorý je definavaný v súlade s XHTML a CSS','vanity_block',1, 'f=index.htm&amp;as=vanity_block&amp;ae=vanity_block_end'), //cpg1.4
-  array('Cesta pre zákaznícky header include', 'custom_header_path', 0, 'f=index.htm&amp;as=admin_theme_include_path_start&amp;ae=admin_theme_include_path_end'), //cpg1.4
-  array('Cesta pre zákaznícky footer include', 'custom_footer_path', 0, 'f=index.htm&amp;as=admin_theme_include_path_start&amp;ae=admin_theme_include_path_end'), //cpg1.4
-
-  'Zobrazovanie zoznamu albumov',
-  array('Šírka hlavnej tabuľky (pixely alebo %)', 'main_table_width', 0, 'f=index.htm&amp;as=admin_album_table-width&amp;ae=admin_album_table-width_end'), //cpg1.4
-  array('Počet úrovní kategórií k zobrazeniu', 'subcat_level', 0, 'f=index.htm&amp;as=admin_album_category-levels&amp;ae=admin_album_category-levels_end'), //cpg1.4
-  array('Počet albumov k zobrazeniu', 'albums_per_page', 0, 'f=index.htm&amp;as=admin_album_number&amp;ae=admin_album_number_end'), //cpg1.4
-  array('Počet stĺpcov pre zoznam albumov', 'album_list_cols', 0, 'f=index.htm&amp;as=admin_album_columns&amp;ae=admin_album_columns_end'), //cpg1.4
-  array('Veľkosť náhľadu v pixeloch', 'alb_list_thumb_size', 0, 'f=index.htm&amp;as=admin_album_thumbnail-size&amp;ae=admin_album_thumbnail-size_end'), //cpg1.4
-  array('Obsah hlavnej stánky', 'main_page_layout', 0, 'f=index.htm&amp;as=admin_album_list_content&amp;ae=admin_album_list_content_end'), //cpg1.4
-  array('Zobraziť náhľady z albumu prvej úrovne v kategórii','first_level',1, 'f=index.htm&amp;as=admin_album_first-level_thumbs&amp;ae=admin_album_first-level_thumbs_end'), //cpg1.4
-  array('Triediť kategórie abecedne (namiesto užívateľského)','categories_alpha_sort',1, 'f=index.htm&amp;as=admin_album_list_alphasort_start&amp;ae=admin_album_list_alphasort_end'), //cpg1.4
-  array('Zobraziť počet linkovaných súborov','link_pic_count',1, 'f=index.htm&amp;as=admin_album_linked_files_start&amp;ae=admin_album_linked_files_end'), //cpg1.4
-
-  'Zobrazovanie náhľadov',
-  array('Počet stĺpcov na stránke náhľadov', 'thumbcols', 0, 'f=index.htm&amp;as=admin_thumbnail_columns&amp;ae=admin_thumbnail_columns_end'), //cpg1.4
-  array('Počet riadkov na stránke náhľadov', 'thumbrows', 0, 'f=index.htm&amp;as=admin_thumbnail_rows&amp;ae=admin_thumbnail_rows_end'), //cpg1.4
-  array('Maximum pre zobrazenie Tabs', 'max_tabs', 10, 'f=index.htm&amp;as=admin_thumbnail_tabs&amp;ae=admin_thumbnail_tabs_end'), //cpg1.4
-  array('Zobraziť popis súboru pod náhľadom', 'caption_in_thumbview', 1, 'f=index.htm&amp;as=admin_thumbnail_display_caption&amp;ae=admin_thumbnail_display_caption_end'), //cpg1.4
-  array('Zobraziť počet zobrazení pod náhľadom', 'views_in_thumbview', 1, 'f=index.htm&amp;as=admin_thumbnail_display_views&amp;ae=admin_thumbnail_display_views_end'), //cpg1.4
-  array('Zobraziť počet komentárov pod náhľadom', 'display_comment_count', 1, 'f=index.htm&amp;as=admin_thumbnail_display_comments&amp;ae=admin_thumbnail_display_comments_end'), //cpg1.4
-  array('Zobraziť meno pridávajúceho člena pod náhľadom', 'display_uploader', 1, 'f=index.htm&amp;as=admin_thumbnail_display_uploader&amp;ae=admin_thumbnail_display_uploader_end'), //cpg1.4
-  //array('Display name of admin uploaders below the thumbnail', 'display_admin_uploader', 1, 'f=index.htm&amp;as=admin_thumbnail_display_admin_uploader&amp;ae=admin_thumbnail_display_admin_uploader_end'), //cpg1.4
-  array('Zobraziť meno súboru pod náhľadom', 'display_filename', 1, 'f=index.htm&amp;as=admin_thumbnail_display_filename&amp;ae=admin_thumbnail_display_filename_end'), //cpg1.4
-  //array('Zobraziť popis albumu', 'alb_desc_thumb', 1, 'f=index.htm&amp;as=admin_thumbnail_display_description&amp;ae=admin_thumbnail_display_description_end'), //cpg1.4
-  array('Východzie zoradenie súborov', 'default_sort_order', 3, 'f=index.htm&amp;as=admin_thumbnail_default_sortorder&amp;ae=admin_thumbnail_default_sortorder_end'), //cpg1.4
-  array('Minimum počet hlasov pre zaradenie do zoznamu \'top-hodnotený\'', 'min_votes_for_rating', 0, 'f=index.htm&amp;as=admin_thumbnail_minimum_votes&amp;ae=admin_thumbnail_minimum_votes_end'), //cpg1.4
-
-  'Zobrazovanie obrázkov', //cpg1.4
-  array('Šírka hlavnej tabuľky (pixely alebo %)', 'picture_table_width', 0, 'f=index.htm&amp;as=admin_image_comment_table-width&amp;ae=admin_image_comment_table-width_end'), //cpg1.4
-  array('Informácie o súbore sú viditeľné súčasne s obrázkom', 'display_pic_info', 1, 'f=index.htm&amp;as=admin_image_comment_info_visible&amp;ae=admin_image_comment_info_visible_end'), //cpg1.4
-  array('Maximálny počet znakov pre popis obrázku', 'max_img_desc_length', 0, 'f=index.htm&amp;as=admin_image_comment_descr_length&amp;ae=admin_image_comment_descr_length_end'), //cpg1.4
-  array('Maximálny počet znakov v slove', 'max_com_wlength', 0, 'f=index.htm&amp;as=admin_image_comment_chars_per_word&amp;ae=admin_image_comment_chars_per_word_end'), //cpg1.4
-  array('Zobrazovať prúžok filmu', 'display_film_strip', 1, 'f=index.htm&amp;as=admin_image_comment_filmstrip_toggle&amp;ae=admin_image_comment_filmstrip_toggle_end'), //cpg1.4
-  array('Zobrazovať názov súboru pod prúžkom filmu', 'display_film_strip_filename', 1, 'f=index.htm&amp;as=admin_image_comment_display_film_strip_filename&amp;ae=admin_image_comment_display_film_strip_filename_end'), //cpg1.4
-  array('Počet náhľadov v prúžku filmu', 'max_film_strip_items', 0, 'f=index.htm&amp;as=admin_image_comment_filmstrip_number&amp;ae=admin_image_comment_filmstrip_number_end'), //cpg1.4
-  array('Slideshow interval v milisekundách (1 s = 1000 ms)', 'slideshow_interval', 0, 'f=index.htm&amp;as=admin_image_comment_slideshow_interval&amp;ae=admin_image_comment_slideshow_interval_end'), //cpg1.4
-
-  'Nastavenia komentárov', //cpg1.4
-  array('Filter nevhodných slov v komentároch', 'filter_bad_words', 1, 'f=index.htm&amp;as=admin_image_comment_bad_words&amp;ae=admin_image_comment_bad_words_end'), //cpg1.4
-  array('Povoliť smajlíkov', 'enable_smilies', 1, 'f=index.htm&amp;as=admin_image_comment_smilies&amp;ae=admin_image_comment_smilies_end'), //cpg1.4
-  array('Povoliť ďašie komentáre k jednému súboru od rovnakého člena (odporúčame:NIE)', 'disable_comment_flood_protect', 1, 'f=index.htm&amp;as=admin_image_comment_flood&amp;ae=admin_image_comment_flood_end'), //cpg1.4
-  array('Maximálny počet riadkov', 'max_com_lines', 0, 'f=index.htm&amp;as=admin_image_comment_lines&amp;ae=admin_image_comment_lines_end'), //cpg1.4
-  array('Maximálny počet znakov pre komentár', 'max_com_size', 0, 'f=index.htm&amp;as=admin_image_comment_length&amp;ae=admin_image_comment_length_end'), //cpg1.4
-  array('Upozorniť admina emailom na nový komentár', 'email_comment_notification', 1, 'f=index.htm&amp;as=admin_image_comment_admin_notify&amp;ae=admin_image_comment_admin_notify_end'), //cpg1.4
-  array('Usporiadanie zoznamu', 'comments_sort_descending', 17, 'f=index.htm&amp;as=admin_comment_sort_start&amp;ae=admin_comment_sort_end'), //cpg1.4
-  array('Prefix pre anonymov', 'comments_anon_pfx', 0, 'f=index.htm&amp;as=comments_anon_pfx&amp;ae=comments_anon_pfx_end'), //cpg1.4
-
-  'Nastavenia pre súbory a náhľady',
-  array('Kvalita pre JPEG súbory', 'jpeg_qual', 0, 'f=index.htm&amp;as=admin_picture_thumbnail_jpeg_quality&amp;ae=admin_picture_thumbnail_jpeg_quality_end'), //cpg1.4
-  array('Maximálny rozmer náhľadu <a href="#notice2" class="clickable_option">**</a>', 'thumb_width', 0, 'f=index.htm&amp;as=admin_picture_thumbnail_max-dimension&amp;ae=admin_picture_thumbnail_max-dimension_end'), //cpg1.4
-  array('Použi rozmer pre náhľad <a href="#notice2" class="clickable_option">**</a>', 'thumb_use', 7, 'f=index.htm&amp;as=admin_picture_thumbnail_use-dimension&amp;ae=admin_picture_thumbnail_use-dimension_end'), //cpg1.4
-  array('Vytvárať stredné obrázky ','make_intermediate',1, 'f=index.htm&amp;as=admin_picture_thumbnail_intermediate_toggle&amp;ae=admin_picture_thumbnail_intermediate_toggle_end'), //cpg1.4
-  array('Max šírka alebo výška pre stredný obrázok/video <a href="#notice2" class="clickable_option">**</a>', 'picture_width', 0, 'f=index.htm&amp;as=admin_picture_thumbnail_intermediate_dimension&amp;ae=admin_picture_thumbnail_intermediate_dimension_end'), //cpg1.4
-  array('Max veľkosť pre pridávaný súbor (KB)', 'max_upl_size', 0, 'f=index.htm&amp;as=admin_picture_thumbnail_max_upload_size&amp;ae=admin_picture_thumbnail_max_upload_size_end'), //cpg1.4
-  array('Max šírka alebo výška pre pridávaný obrázok/video (pixely)', 'max_upl_width_height', 0, 'f=index.htm&amp;as=admin_picture_thumbnail_max_upload_dimension&amp;ae=admin_picture_thumbnail_max_upload_dimension_end'), //cpg1.4
-  array('Automaticky zmenšiť pridávané obrázky (ak sú väčšie ako povolené maximá)', 'auto_resize', 16, 'f=index.htm&amp;as=admin_picture_thumbnail_auto-resize&amp;ae=admin_picture_thumbnail_auto-resize_end'), //cpg1.4
-
-  'Nastavenia (rozšírené) pre súbory a náhľady',
-  array('Povoliť privátne albumy ', 'allow_private_albums', 1, 'f=index.htm&amp;as=admin_picture_thumb_advanced_private_toggle&amp;ae=admin_picture_thumb_advanced_private_toggle_end'), //cpg1.4
-  array('Zobraziť ikonu privatnych albumov pre neprihlásených','show_private',1, 'f=index.htm&amp;as=admin_picture_thumb_advanced_private_icon_show&amp;ae=admin_picture_thumb_advanced_private_icon_show_end'), //cpg1.4
-  array('Nepovolené znaky v názvoch', 'forbiden_fname_char',0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_filename_forbidden_chars&amp;ae=admin_picture_thumb_advanced_filename_forbidden_chars_end'), //cpg1.4
-  //array('Accepted file extensions for uploaded pictures', 'allowed_file_extensions',0, 'f=index.htm&amp;as=&amp;ae=_end'), //cpg1.4
-  array('Povolené typy obrázkov', 'allowed_img_types',0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_pic_extensions&amp;ae=admin_picture_thumb_advanced_pic_extensions_end'), //cpg1.4
-  array('Povolené typy videa', 'allowed_mov_types',0, 'f=index.htm&amp;as=admin_thumbs_advanced_movie&amp;ae=admin_thumbs_advanced_movie_end'), //cpg1.4
-  array('Automaticky prehrať video', 'media_autostart',1, 'f=index.htm&amp;as=admin_movie_autoplay&amp;ae=admin_movie_autoplay_end'), //cpg1.4
-  array('Povolené typy pre audio', 'allowed_snd_types',0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_audio_extensions&amp;ae=admin_picture_thumb_advanced_audio_extensions_end'), //cpg1.4
-  array('Povolené typy dokumentov', 'allowed_doc_types',0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_doc_extensions&amp;ae=admin_picture_thumb_advanced_doc_extensions_end'), //cpg1.4
-  array('Metóda spracovania obrázkov','thumb_method',2, 'f=index.htm&amp;as=admin_picture_thumb_advanced_resize_method&amp;ae=admin_picture_thumb_advanced_resize_method_end'), //cpg1.4
-  array('Cesta pre ImageMagick \'convert\' utility (napr. /usr/bin/X11/)', 'impath', 0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_im_path&amp;ae=admin_picture_thumb_advanced_im_path_end'), //cpg1.4
-  //array('Allowed image types (only valid for ImageMagick)', 'allowed_img_types',0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_allowed_imagetypes&amp;ae=admin_picture_thumb_advanced_allowed_imagetypes_end'), //cpg1.4
-  array('Príkazový riadok pre ImageMagick', 'im_options', 0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_im_commandline&amp;ae=admin_picture_thumb_advanced_im_commandline_end'), //cpg1.4
-  array('Čítať EXIF dáta z JPEG ', 'read_exif_data', 13, 'f=index.htm&amp;as=admin_picture_thumb_advanced_exif&amp;ae=admin_picture_thumb_advanced_exif_end'), //cpg1.4
-  array('Čítať IPTC dáta z JPEG', 'read_iptc_data', 1, 'f=index.htm&amp;as=admin_picture_thumb_advanced_iptc&amp;ae=admin_picture_thumb_advanced_iptc_end'), //cpg1.4
-  array('Adresár albumov <a href="#notice1" class="clickable_option">*</a>', 'fullpath', 0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_albums_dir&amp;ae=admin_picture_thumb_advanced_albums_dir_end'), //cpg1.4
-  array('Adresár užívateľských súborov <a href="#notice1" class="clickable_option">*</a>', 'userpics', 0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_userpics_dir&amp;ae=admin_picture_thumb_advanced_userpics_dir_end'), //cpg1.4
-  array('Prefix pre stredné obrázky <a href="#notice1" class="clickable_option">*</a>', 'normal_pfx', 0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_intermediate_prefix&amp;ae=admin_picture_thumb_advanced_intermediate_prefix_end'), //cpg1.4
-  array('Prefix pre náhľady <a href="#notice1" class="clickable_option">*</a>', 'thumb_pfx', 0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_thumbs_prefix&amp;ae=admin_picture_thumb_advanced_thumbs_prefix_end'), //cpg1.4
-  array('Default mód pre adresáre', 'default_dir_mode', 0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_chmod_folder&amp;ae=admin_picture_thumb_advanced_chmod_folder_end'), //cpg1.4
-  array('Default mód pre súbory', 'default_file_mode', 0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_chmod_files&amp;ae=admin_picture_thumb_advanced_chmod_files_end'), //cpg1.4
-
-  'Nastavenia užívateľov',
-  array('Povoliť návštevníkom registráciu', 'allow_user_registration', 1, 'f=index.htm&amp;as=admin_allow_registration&amp;ae=admin_allow_registration_end'), //cpg1.4
-  array('Povoliť prístup neprihláseným', 'allow_unlogged_access', 1, 'f=index.htm&amp;as=admin_allow_unlogged_access&amp;ae=admin_allow_unlogged_access_end'), //cpg1.4
-  array('Aktivácia registrácie emailom', 'reg_requires_valid_email', 1, 'f=index.htm&amp;as=admin_registration_verify&amp;ae=admin_registration_verify_end'), //cpg1.4
-  array('Upozorni admina na novú registráciu', 'reg_notify_admin_email', 1, 'f=index.htm&amp;as=admin_registration_notify&amp;ae=admin_registration_notify_end'), //cpg1.4
-  array('Admin aktivuje registrácie', 'admin_activation', 1, 'f=index.htm&amp;as=admin_activation&amp;ae=admin_activation_end'),  //cpg1.4
-  array('Povoliť dvom užívateľom použiť rovnaký email', 'allow_duplicate_emails_addr', 1, 'f=index.htm&amp;as=admin_allow_duplicate_emails_addr&amp;ae=admin_allow_duplicate_emails_addr_end'), //cpg1.4
-  array('Upozorniť admina na schválenie užívateľského pridania súborov', 'upl_notify_admin_email', 1, 'f=index.htm&amp;as=admin_approval_notify&amp;ae=admin_approval_notify_end'), //cpg1.4
-  array('Umožniť prihláseným vidieť zoznam členov', 'allow_memberlist', 1, 'f=index.htm&amp;as=admin_user_memberlist&amp;ae=admin_user_memberlist_end'), //cpg1.4
-  array('Umožniť členom meniť svoj email', 'allow_email_change', 1, 'f=index.htm&amp;as=admin_user_allow_email_change&amp;ae=admin_user_allow_email_change_end'), //cpg1.4
-  array('Umožniť členom kontrolu nad ich obr. vo verejných albumoch', 'users_can_edit_pics', 1, 'f=index.htm&amp;as=admin_user_editpics_public_start&amp;ae=admin_user_editpics_public_end'), //cpg1.4
-  array('Počet neplatných prihlásení pred dočasným zakázaním', 'login_threshold', 0, 'f=index.htm&amp;as=admin_user_login_start&amp;ae=admin_user_login_end'), //cpg1.4
-  array('Trvanie dočasného zakázania', 'login_expiry', 0, 'f=index.htm&amp;as=admin_user_login_start&amp;ae=admin_user_login_end'), //cpg1.4
-  array('Zapnúť hlásenia adminovi', 'report_post', 1, 'f=index.htm&amp;as=admin_user_enable_report&amp;ae=admin_user_enable_report_end'),  //cpg1.4
-
-// custom profile fields,  //cpg1.4
-  'Vlastné názvy vstupných užív. profilov (môže byť prázdne).
-  Profile 6 je pre dlhé texty.', //cpg1.4
-  array('Profil 1 názov', 'user_profile1_name', 0, 'f=index.htm&amp;as=admin_custom&amp;ae=admin_custom_end'), //cpg1.4
-  array('Profil 2 názov', 'user_profile2_name', 0), //cpg1.4
-  array('Profil 3 názov', 'user_profile3_name', 0), //cpg1.4
-  array('Profil 4 názov', 'user_profile4_name', 0), //cpg1.4
-  array('Profil 5 názov', 'user_profile5_name', 0), //cpg1.4
-  array('Profil 6 názov', 'user_profile6_name', 0), //cpg1.4
-
-  'Vlastné názvy vstupných políčiek popisu obrázkov (môže byť prázdne)',
-  array('Políčko 1 názov', 'user_field1_name', 0, 'f=index.htm&amp;as=admin_custom_image&amp;ae=admin_custom_image_end'), //cpg1.4
-  array('Políčko 2 názov', 'user_field2_name', 0),
-  array('Políčko 3 názov', 'user_field3_name', 0),
-  array('Políčko 4 názov', 'user_field4_name', 0),
-
-  'Nastavenia Cookies',
-  array('Cookie názov', 'cookie_name', 0, 'f=index.htm&amp;as=admin_cookie_name&amp;ae=admin_cookie_name_end'), //cpg1.4
-  array('Cookie cesta', 'cookie_path', 0, 'f=index.htm&amp;as=admin_cookie_path&amp;ae=admin_cookie_path_end'), //cpg1.4
-
-  'Nastavenia Emailu (nechať prázdne, ak ste si nie istý)', //cpg1.4
-  array('SMTP Host (when left blank, sendmail will be used)', 'smtp_host', 0, 'f=index.htm&amp;as=admin_email&amp;ae=admin_email_end'), //cpg1.4
-  array('SMTP Username', 'smtp_username', 0), //cpg1.4
-  array('SMTP Password', 'smtp_password', 0), //cpg1.4
-
-  'Logging a štatistiky', //cpg1.4
-  array('Logging mód <a href="#notice3" class="clickable_option">***</a>', 'log_mode', 11, 'f=index.htm&amp;as=admin_logging_log_mode&amp;ae=admin_logging_log_mode_end'), //cpg1.4
-  array('Loguj e-pohľadnice', 'log_ecards', 1, 'f=index.htm&amp;as=admin_general_log_ecards&amp;ae=admin_general_log_ecards_end'), //cpg1.4
-  array('Udržiavať detailnú štatistiku hlasovaní','vote_details',1, 'f=index.htm&amp;as=admin_logging_votedetails&amp;ae=admin_logging_votedetails_end'), //cpg1.4
-  array('Udržiavať detailnú štatistiku prehliadania','hit_details',1, 'f=index.htm&amp;as=admin_logging_hitdetails&amp;ae=admin_logging_hitdetails_end'), //cpg1.4
-
-  'Nastavenia údržbárske (pre skúsených)', //cpg1.4
-  array('Zapnúť debug mód', 'debug_mode', 9, 'f=index.htm&amp;as=debug_mode&amp;ae=debug_mode_end'), //cpg1.4
-  array('Zobrazovať poznámky v debug móde', 'debug_notice', 1, 'f=index.htm&amp;as=admin_misc_debug_notices&amp;ae=admin_misc_debug_notices_end'), //cpg1.4
-  array('Galéria je OFFLINE (neprístupná)', 'offline', 1, 'f=index.htm&amp;as=admin_general_offline&amp;ae=admin_general_offline_end'), //cpg1.4
-);
-
-
-// ------------------------------------------------------------------------- //
-// File db_ecard.php
-// ------------------------------------------------------------------------- //
-
-if (defined('DB_ECARD_PHP')) $lang_db_ecard_php = array(
-  'title' => 'Poslať e-pohľadnicu',
-  'ecard_sender' => 'Odosielateľ',
-  'ecard_recipient' => 'Príjemca',
-  'ecard_date' => 'Dátum',
-  'ecard_display' => 'Zobraziť e-pohľadnicu',
-  'ecard_name' => 'Meno',
-  'ecard_email' => 'Email',
-  'ecard_ip' => 'IP #',
-  'ecard_ascending' => 'vzostupne',
-  'ecard_descending' => 'zostupne',
-  'ecard_sorted' => 'Zotriedené',
-  'ecard_by_date' => 'podľa dátumu',
-  'ecard_by_sender_name' => 'podľa mena odosielateľa',
-  'ecard_by_sender_email' => 'podľa emailu odesielateľa',
-  'ecard_by_sender_ip' => 'podľa IP addressy odesielateľa',
-  'ecard_by_recipient_name' => 'podľa mena príjemcu',
-  'ecard_by_recipient_email' => 'podľa emailu príjemcu',
-  'ecard_number' => 'zobrazenie záznamu %s až %s z %s',
-  'ecard_goto_page' => 'choď na stranu',
-  'ecard_records_per_page' => 'Záznamov na strane',
-  'check_all' => 'Označit všetko',
-  'uncheck_all' => 'Odznačit všetko',
-  'ecards_delete_selected' => 'Zmazať vybrané e-pohľadnice',
-  'ecards_delete_confirm' => 'Ste si istý, že chcete zmazať záznamy? Označte kontrolné okienko!',
-  'ecards_delete_sure' => 'Som si istý.',
-);
-
-
-// ------------------------------------------------------------------------- //
-// File db_input.php
-// ------------------------------------------------------------------------- //
-
-if (defined('DB_INPUT_PHP')) $lang_db_input_php = array(
-  'empty_name_or_com' => 'Vložte Vaše meno a Váš komentár',
-  'com_added' => 'Váš komentár bol pridaný',
-  'alb_need_title' => 'Zadajte názov pre album !',
-  'no_udp_needed' => 'Aktualizácia nie je potrebná.',
-  'alb_updated' => 'Album bol aktualizovaný',
-  'unknown_album' => 'Vybraný album neexistuje alebo nemáte práva pre pridávanie do tejto galérie',
-  'no_pic_uploaded' => 'Žiadny súbor nebol pridaný !<br /><br />Skontrlujte, či server podporuje pridávanie súborov...',
-  'err_mkdir' => 'Vytvorenie adresára %s zlyhalo!',
-  'dest_dir_ro' => 'Do adresára %s nemôže skript zapisovať !',
-  'err_move' => 'Nemožno presunúť %s do %s !',
-  'err_fsize_too_large' => 'Veľkosť súboru bola prekročená (maximum je %s x %s) !', //obsolete since cpg1.3 - consider removal in cpg1.4 once upload.php has been overhauled
-  'err_imgsize_too_large' => 'Veľkosť súboru bola prekročená (maximum je %s KB) !', //obsolete since cpg1.3 - consider removal in cpg1.4 once upload.php has been overhauled
-  'err_invalid_img' => 'Súbor nie je povolený obrázok !',
-  'allowed_img_types' => 'Môžete pridať iba %s obrázkov.',
-  'err_insert_pic' => 'Obrázok \'%s\' nie je možné vložiť do albumu ',
-  'upload_success' => 'Váš súbor bol pridaný.<br /><br />Bude viditeľný po schválení administrátorom.',
-  'notify_admin_email_subject' => '%s - Hlásenie pridania',
-  'notify_admin_email_body' => 'Člen %s pridal súbor, ktorý vyžaduje autorizáciu. Navštívte %s',
-  'info' => 'Informácia',
-  'com_added' => 'Komentár pridaný',
-  'alb_updated' => 'Album aktualizovaný',
-  'err_comment_empty' => 'Váš komentár je prázdny !',
-  'err_invalid_fext' => 'Iba súbory s následujúcimi koncovkami sú podporované : <br /><br />%s.',
-  'no_flood' => 'Prepáčte, ale ste autor posledného komentára k tomuto súboru.<br /><br />Použite voľbu na úpravu komentára',
-  'redirect_msg' => 'Práve ste boli presmerovaný.<br /><br /><br />Kliknite na \'POKRAČOVAT\' pokiaľ sa stránka nepresmeruje sama',
-  'upl_success' => 'Váš súbor bol v poriadku pridaný',
-  'email_comment_subject' => 'Komentár bol pridaný do Coppermine Photo Gallery',
-  'email_comment_body' => 'Niekto pridal komentár do Vašej galérie. Prezrite si ho na',
-  'album_not_selected' => 'Album nebol vybraný', //cpg1.4
-  'com_author_error' => 'Registrovaný člen už používa túto prezývku, login or use another one', //cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File delete.php
-// ------------------------------------------------------------------------- //
-
-if (defined('DELETE_PHP')) $lang_delete_php = array(
-  'caption' => 'Záhlavie',
-  'fs_pic' => 'plná veľkosť obrázku',
-  'del_success' => 'úspešne zmazané',
-  'ns_pic' => 'normálna veľkosť obrázku',
-  'err_del' => 'nemožno zmazať',
-  'thumb_pic' => 'náhľad',
-  'comment' => 'komentár',
-  'im_in_alb' => 'obrázok v albume',
-  'alb_del_success' => 'Album &laquo;%s&raquo; zmazaný', //cpg1.4
-  'alb_mgr' => 'Správca albumov',
-  'err_invalid_data' => 'Chybné dáta prijaté v \'%s\'',
-  'create_alb' => 'Vytváram album \'%s\'',
-  'update_alb' => 'Aktualizujem album \'%s\' s nadpisom \'%s\' a zoznamom \'%s\'',
-  'del_pic' => 'Zmazať obrázok',
-  'del_alb' => 'Zmazať album',
-  'del_user' => 'Zmazať člena',
-  'err_unknown_user' => 'Vybraný člen neexistuje !',
-  'err_empty_groups' => 'Neexistuje tabuľka skupiny, alebo tabuľka nie je prázdna!', //cpg1.4
-  'comment_deleted' => 'Komentár bol úspešne zmazaný',
-  'npic' => 'Obrázok', //cpg1.4
-  'pic_mgr' => 'Správca obrázkov', //cpg1.4
-  'update_pic' => 'Aktualizujem obrázok \'%s\' s názvom \'%s\' a indexom \'%s\'', //cpg1.4
-  'username' => 'Meno člena', //cpg1.4
-  'anonymized_comments' => '%s komentár anonymizovaný', //cpg1.4
-  'anonymized_uploads' => '%s verejné pridanie anonymizované', //cpg1.4
-  'deleted_comments' => '%s komentár zmazaný', //cpg1.4
-  'deleted_uploads' => '%s verejné pridanie zmazané', //cpg1.4
-  'user_deleted' => 'člen %s zmazaný', //cpg1.4
-  'activate_user' => 'Aktivovať člena', //cpg1.4
-  'user_already_active' => 'Účet už je aktívny', //cpg1.4
-  'activated' => 'Aktivované', //cpg1.4
-  'deactivate_user' => 'Deaktivovať člena', //cpg1.4
-  'user_already_inactive' => 'Účet už je neaktívny', //cpg1.4
-  'deactivated' => 'Deaktivované', //cpg1.4
-  'reset_password' => 'Resetovať heslo', //cpg1.4
-  'password_reset' => 'Heslo resetované na %s', //cpg1.4
-  'change_group' => 'Zmeniť primárnu skupinu', //cpg1.4
-  'change_group_to_group' => 'Zmeniť z %s na %s', //cpg1.4
-  'add_group' => 'Pridať sekundárnu skupinu', //cpg1.4
-  'add_group_to_group' => 'Pridávanie člena %s do skupiny %s. Teraz je členom %s ako primárnej a členom %s ako sekundárnej skupiny členov.', //cpg1.4
-  'status' => 'Stav', //cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File displayecard.php
-// ------------------------------------------------------------------------- //
-
-if (defined('DISPLAYECARD_PHP')) {
-
-$lang_displayecard_php = array(
-  'invalid_data' => 'The data for the ecard you are trying to access has been corrupted by your mail client. Check the link is complete.', //cpg1.4
-);
-}
-
-// ------------------------------------------------------------------------- //
-// File displayimage.php
-// ------------------------------------------------------------------------- //
-
-if (defined('DISPLAYIMAGE_PHP')){
-
-$lang_display_image_php = array(
-  'confirm_del' => 'Ste si istý, že chcete ZMAZAŤ tento súbor? \\nPriložené komentáre budú tiež zmazané.', //js-alert
-  'del_pic' => 'ZMAZAŤ TENTO SÚBOR',
-  'size' => '%s x %s pixelov',
-  'views' => '%s krát',
-  'slideshow' => 'Automatické prezeranie',
-  'stop_slideshow' => 'ZASTAVIŤ PREZERANIE',
-  'view_fs' => 'Kliknite pre zobrazenie v plnom rozlíšení',
-  'edit_pic' => 'Edituj info o súbore', //cpg1.4
-  'crop_pic' => 'Orezať/Otočiť',
-  'set_player' => 'Zmeniť prehrávač',
-);
-
-$lang_picinfo = array(
-  'title' =>'Informácie o súbore',
-  'Filename' => 'Názov súboru',
-  'Album name' => 'Názov albumu',
-  'Rating' => 'Hodnotenie (%s hlasov)',
-  'Keywords' => 'Kľúčové slová',
-  'File Size' => 'Veľkosť súboru',
-  'Date Added' => 'Dátum pridania', //cpg1.4
-  'Dimensions' => 'Rozmery',
-  'Displayed' => 'Zobrazené',
-  'URL' => 'URL', //cpg1.4
-  'Make' => 'Vytvorené', //cpg1.4
-  'Model' => 'Model', //cpg1.4
-  'DateTime' => 'Dátum Čas', //cpg1.4
-  'ISOSpeedRatings'=>'ISO', //cpg1.4
-  'MaxApertureValue' => 'Max. clona', //cpg1.4
-  'FocalLength' => 'Ohnisková vzdialenosť', //cpg1.4
-  'Comment' => 'Komentár',
-  'addFav'=>'Pridať k obľúbeným',
-  'addFavPhrase'=>'Obľúbené',
-  'remFav'=>'Odobrať z obľúbených',
-  'iptcTitle'=>'IPTC Title',
-  'iptcCopyright'=>'IPTC Copyright',
-  'iptcKeywords'=>'IPTC Keywords',
-  'iptcCategory'=>'IPTC Category',
-  'iptcSubCategories'=>'IPTC Sub Categories',
-  'ColorSpace' => 'Farebný priestor', //cpg1.4
-  'ExposureProgram' => 'Expozičný program', //cpg1.4
-  'Flash' => 'Blesk', //cpg1.4
-  'MeteringMode' => 'Mód merania', //cpg1.4
-  'ExposureTime' => 'Expozičný čas', //cpg1.4
-  'ExposureBiasValue' => 'Korekcia expozície', //cpg1.4
-  'ImageDescription' => 'Popis obrázku', //cpg1.4
-  'Orientation' => 'Orientácia', //cpg1.4
-  'xResolution' => 'X Rozlíšenie', //cpg1.4
-  'yResolution' => 'Y Rozlíšenie', //cpg1.4
-  'ResolutionUnit' => 'Jednotka rozlíšenia', //cpg1.4
-  'Software' => 'Software', //cpg1.4
-  'YCbCrPositioning' => 'YCbCrPositioning', //cpg1.4
-  'ExifOffset' => 'Exif Offset', //cpg1.4
-  'IFD1Offset' => 'IFD1 Offset', //cpg1.4
-  'FNumber' => 'F číslo', //cpg1.4
-  'ExifVersion' => 'Exif verzia', //cpg1.4
-  'DateTimeOriginal' => 'Dátum/Čas Original', //cpg1.4
-  'DateTimedigitized' => 'Dátum/Čas digitalizácie', //cpg1.4
-  'ComponentsConfiguration' => 'Components Configuration', //cpg1.4
-  'CompressedBitsPerPixel' => 'Kompresia Bitov na Pixel', //cpg1.4
-  'LightSource' => 'Zdroj svetla', //cpg1.4
-  'ISOSetting' => 'ISO nastavenie', //cpg1.4
-  'ColorMode' => 'Farebný mód', //cpg1.4
-  'Quality' => 'Kvalita', //cpg1.4
-  'ImageSharpening' => 'Doostrenie', //cpg1.4
-  'FocusMode' => 'Fokus mód', //cpg1.4
-  'FlashSetting' => 'Nastavenie blesku', //cpg1.4
-  'ISOSelection' => 'ISO voľba', //cpg1.4
-  'ImageAdjustment' => 'Upravenie obrázku', //cpg1.4
-  'Adapter' => 'Adaptér', //cpg1.4
-  'ManualFocusDistance' => 'Manual Fokus vzdialenosť', //cpg1.4
-  'DigitalZoom' => 'Digital Zoom', //cpg1.4
-  'AFFocusPosition' => 'AF Focus pozícia', //cpg1.4
-  'Saturation' => 'Saturácia', //cpg1.4
-  'NoiseReduction' => 'Redukcia šumu', //cpg1.4
-  'FlashPixVersion' => 'Flash Pix Version', //cpg1.4
-  'ExifImageWidth' => 'Exif šírka', //cpg1.4
-  'ExifImageHeight' => 'Exif výška', //cpg1.4
-  'ExifInteroperabilityOffset' => 'Exif Interoperability Offset', //cpg1.4
-  'FileSource' => 'Zdroj', //cpg1.4
-  'SceneType' => 'Typ scény', //cpg1.4
-  'CustomerRender' => 'Customer Render', //cpg1.4
-  'ExposureMode' => 'Expozičný mód', //cpg1.4
-  'WhiteBalance' => 'Vyváženie bielej', //cpg1.4
-  'DigitalZoomRatio' => 'Digital Zoom pomer', //cpg1.4
-  'SceneCaptureMode' => 'Scene Capture Mode', //cpg1.4
-  'GainControl' => 'Citlivosť', //cpg1.4
-  'Contrast' => 'Kontrast', //cpg1.4
-  'Sharpness' => 'Doostrenie', //cpg1.4
-  'ManageExifDisplay' => 'Vybrať Exif položky k zobrazeniu', //cpg1.4
-  'submit' => 'Odoslať', //cpg1.4
-  'success' => 'Informácia úspešne aktualizovaná.', //cpg1.4
-  'details' => 'Detaily', //cpg1.4
-);
-
-$lang_display_comments = array(
-  'OK' => 'OK',
-  'edit_title' => 'Upraviť tento komentár',
-  'confirm_delete' => 'Ste si istý, že chcete zmazať tento komentár ?', //js-alert
-  'add_your_comment' => 'Pridať komentár',
-  'name'=>'Meno',
-  'comment'=>'Komentár',
-  'your_name' => 'Anonym',
-  'report_comment_title' => 'Upozorni administrátora na tento príspevok', //cpg1.4
-);
-
-$lang_fullsize_popup = array(
-  'click_to_close' => 'Kliknutím na obrázok zatvoríte okno.',
-);
-
-}
-
-// ------------------------------------------------------------------------- //
-// File ecard.php
-// ------------------------------------------------------------------------- //
-
-if (defined('ECARDS_PHP') || defined('DISPLAYECARD_PHP')) $lang_ecard_php =array(
-  'title' => 'Pošli e-pohľadnicu',
-  'invalid_email' => '<font color="red"><b>Warning</b></font>: neplatná emailová adresa:', //cpg1.4
-  'ecard_title' => 'Pohľadnica od %s pre Teba',
-  'error_not_image' => 'Iba obrázky môžu byť poslané ako e-pohľadnica.',
-  'view_ecard' => 'Alternatívna linka ak sa pohľadnica nezobrazila správne.', //cpg1.4
-  'view_ecard_plaintext' => 'Pre zobrazenie pohľadnice, kopíruj a vlož túto url do adresného riadku prehliadača:', //cpg1.4
-  'view_more_pics' => 'Ďaľšie obrázky tu!', //cpg1.4
-  'send_success' => 'Pohľadnica bola odoslaná',
-  'send_failed' => 'Prepáčte, ale server nemohol odoslať Vašu pohľadnicu...',
-  'from' => 'Od',
-  'your_name' => 'Vaše meno',
-  'your_email' => 'Váš email',
-  'to' => 'Komu',
-  'rcpt_name' => 'Meno príjemcu',
-  'rcpt_email' => 'Email príjemcu',
-  'greetings' => 'Záhlavie', //cpg1.4
-  'message' => 'Správa', //cpg1.4
-  'ecards_footer' => 'Poslal %s s IP %s o %s (Gallery time)', //cpg1.4
-  'preview' => 'Náhľad pohľadnice', //cpg1.4
-  'preview_button' => 'Náhľad', //cpg1.4
-  'submit_button' => 'Pošli pohľadnicu', //cpg1.4
-  'preview_view_ecard' => 'Toto je alternatívna linka k pohľadnici ak bola skutočne vygenerovaná, neslúži ako náhľad.', //cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File report_file.php //cpg1.4
-// ------------------------------------------------------------------------- //
-
-if (defined('REPORT_FILE_PHP') || defined('DISPLAYREPORT_PHP')) $lang_report_php =array(
-  'title' => 'Upozornenie pre administrátora', //cpg1.4
-  'invalid_email' => '<b>Varovanie</b> : neplatná emailová adresa !', //cpg1.4
-  'report_subject' => 'Hlásenie od %s z galérie %s', //cpg1.4
-  'view_report' => 'Náhradná linka ak sa hlásenie nezobrazilo správne', //cpg1.4
-  'view_report_plaintext' => 'Pre zobrazenie komentára, kopíruj a vlož túto url do adresného riadku prehliadača:', //cpg1.4
-  'view_more_pics' => 'Galéria', //cpg1.4
-  'send_success' => 'Hlásenie bolo odoslané', //cpg1.4
-  'send_failed' => 'Server nemôže odoslať Vaše hlásenie...', //cpg1.4
-  'from' => 'Od', //cpg1.4
-  'your_name' => 'Vaše meno', //cpg1.4
-  'your_email' => 'Váš email', //cpg1.4
-  'to' => 'Komu', //cpg1.4
-  'administrator' => 'Admonistrátor/Mod', //cpg1.4
-  'subject' => 'Predmet', //cpg1.4
-  'comment_field_name' => 'Hlásenie ku komentáru od "%s"', //cpg1.4
-  'reason' => 'Dôvod', //cpg1.4
-  'message' => 'Správa', //cpg1.4
-  'report_footer' => 'Odoslal %s z IP %s o %s (Gallery time)', //cpg1.4
-  'obscene' => 'obscénne', //cpg1.4
-  'offensive' => 'útočné', //cpg1.4
-  'misplaced' => 'zle zaradené', //cpg1.4
-  'missing' => 'chýbajúce', //cpg1.4
-  'issue' => 'chyba/nezobrazuje sa', //cpg1.4
-  'other' => 'iné', //cpg1.4
-  'refers_to' => 'Hlásenie o súbore odkazuje na', //cpg1.4
-  'reasons_list_heading' => 'dôvod hlásenia:', //cpg1.4
-  'no_reason_given' => 'dôvod neudaný', //cpg1.4
-  'go_comment' => 'Choď do komentárov', //cpg1.4
-  'view_comment' => 'Zobraziť celé hlásenie', //cpg1.4
-  'type_file' => 'súbor', //cpg1.4
-  'type_comment' => 'komentár', //cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File editpics.php
-// ------------------------------------------------------------------------- //
-
-if (defined('EDITPICS_PHP')) $lang_editpics_php = array(
-  'pic_info' => 'Info o súbore',
-  'album' => 'Album',
-  'title' => 'Nadpis',
-  'filename' => 'Meno súboru', //cpg1.4
-  'desc' => 'Popis',
-  'keywords' => 'Kľúčové slová',
-  'new_keyword' => 'Nové kľúčové slovo', //cpg1.4
-  'new_keywords' => 'Nové kľúčové slová nájdené', //cpg1.4
-  'existing_keyword' => 'Existujúce kľúčové slovo ', //cpg1.4
-  'pic_info_str' => '%s &krát; %s - %s KB - %s zobrazení - %s hlasov',
-  'approve' => 'Schváliť súbor',
-  'postpone_app' => 'Odložiť schválenie',
-  'del_pic' => 'Zmazať súbor',
-  'del_all' => 'Zmazať všetky súbory', //cpg1.4
-  'read_exif' => 'Načítať EXIF info znova',
-  'reset_view_count' => 'Vynulovať počítadlo zobrazení',
-  'reset_all_view_count' => 'Vynulovať všetky počítadlá zobrazení', //cpg1.4
-  'reset_votes' => 'Nulovať hlasovania',
-  'reset_all_votes' => 'Nulovať všetky hlasovania', //cpg1.4
-  'del_comm' => 'Vymazať komentáre',
-  'del_all_comm' => 'Vymazať všetky komentáre', //cpg1.4
-  'upl_approval' => 'Schválenie pridania', //cpg1.4
-  'edit_pics' => 'Upraviť súbory',
-  'see_next' => 'Ukáž ďaľšie súbory',
-  'see_prev' => 'Ukáž predchádzajúce súbory',
-  'n_pic' => '%s súborov',
-  'n_of_pic_to_disp' => 'Počet súborov na zobrazenie',
-  'apply' => 'Vykonaj modifikácie',
-  'crop_title' => 'Coppermine Picture Editor',
-  'preview' => 'Náhľad',
-  'save' => 'Uložiť obrázok',
-  'save_thumb' =>'Uložiť ako náhľad',
-  'gallery_icon' => 'Ulož ako moju ikonu', //cpg1.4
-  'sel_on_img' =>'Výber musí celý ležať vo vnútri obrázku!', //js-alert
-  'album_properties' =>'Vlastnosti albumov', //cpg1.4
-  'parent_category' =>'Nadradená kategória', //cpg1.4
-  'thumbnail_view' =>'Náhľadové zobrazenie', //cpg1.4
-  'select_unselect' =>'označ/odznač všetko', //cpg1.4
-  'file_exists' => "Súbor '%s' už existuje.", //cpg1.4
-  'rename_failed' => "Nemožno premenovať '%s' na '%s'.", //cpg1.4
-  'src_file_missing' => "Zdrojový súbor '%s' chýba.", // cpg 1.4
-  'mime_conv' => "Nemožno konvertovať z '%s' na '%s'",//cpg1.4
-  'forb_ext' => 'Nepovolená prípona súboru.',//cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File faq.php
-// ------------------------------------------------------------------------- //
-
-if (defined('FAQ_PHP')) $lang_faq_php = array(
-  'faq' => 'Často kladené otázky',
-  'toc' => 'Obsah',
-  'question' => 'Otázka: ',
-  'answer' => 'Odpoveď: ',
-);
-// FAQ translation : Willant Zoltán - KONTACT : http://kontakt.sturovo.com
-if (defined('FAQ_PHP')) $lang_faq_data = array(
-  'Všeobecné otázky FAQ.',
-  array('Prečo by som sa mal registrovať?', 'Registrácie sú schvaľované mailom alebo samotným administrátorom. Registrácia dáva členovi rozšírené možnosti, ako pridávanie fotiek, obľúbený zoznam, hodnotenia a možnosť komentovať jednotlivé obrázky.', '1'),
-  array('Ako sa môžem registrovať?', 'Kliknite na hore na odkaz <B>"Registruj"</B>. Ak sa chcete registrovať musíte najprv súhlasiť s pravidlami fotofóra. <br /> Kliknite dole na odkaz "Súhlasím". Vyplňte požadované údaje. Povinné údaje musíte vyplniť. Musíte zadať platnú e-mail adresu na ktorú vám príde odkaz. Po kliknutí na tento odkaz aktivujete vašu registráciu. Ak sa takto nestane tak vašu registráciu musí schváliť administrátor tohto fotofóra.', 'allow_user_registration', '1'), //cpg1.4
-  array('Ako sa môžem prihlásiť do systému?', 'Kliknite na hore na odkaz <B>"Prihlásiť"</B>.<br /> Zadajte vaše meno a heslo. 
-Ak označíte " Pamätaj si ma" Tak ostanete prihlásený aj keď zatvoríte okno vášho prehliadača.<b><br /> Dôležité: pre správne fungovanie prihlásenia musíte mať povolené ukladanie  súborov COOKIES!
-</b>', 'offline', 0),
-  array('Prečo sa neviem prihlásiť ?', 'Vyplnili ste povinné údaje?  Zadali ste platnú e-mail adresu?<br /> Dostali ste mail? Klikli ste na odkaz aktivácie? Ak problém naďalej pretrváva napíšte administrátorovi.
-Možno vám poskytne vysvetlenie.
-', 'offline', 0),
-  array('Čo keď som zabudol heslo?', 'Po nesprávnom prihlásení sa zobrazí ponuka <B>"Pripomenutie hesla"</B>.<br /> Zadajte Vašu emailovú adresu a heslo vám bude automaticky odoslané a zároveň vám systém pridelí toto nové heslo. Administrátori nijako nevedia zmeniť vaše heslo. (heslo je zašifrované v MySQL databáze.)<br /> <FONT SIZE="" COLOR="#CC0000"><B>Administrátori alebo iný správcovia od vás NIKDY nebudú žiadať heslo!
-Ak ste dostali takýto list ignorujte ho!</B></FONT>
-', 'offline', 0),
-  //array('What if I changed my email address?', 'Just simply login and change your email address through &quot;Profile&quot;', 'offline', 0),
-  array('Ako môžem vytvárať "Moje obľúbené"?', 'Túto funkciu môžete použiť len keď ste prihlásený. Kliknite na hociktorí obrázok.
-Zobrazí sa vám tzv. stredný náhľad, ak sa presuniete na dolný koniec stránky nájdete tam časť Informácie o súbore. Ak táto informácia chýba najprv úplne hore kliknite na obrázok.<img src="images/info.gif" width="16" height="16" border="0" alt="Picture information" /><br />(podrobné info. zobraz/skryť)<br />V tejto sekcii je riadok : Obľúbené a za ním je odkaz <B>"Pridať k obľúbeným"</B> už stačí len kliknúť. Prehľad vašich obľúbených obrázkov nájdete ak si 
-zvolíte v hornom menu <B>"Moje obľúbené"</B>. Ak si potom na tu zobrazený obrázok kliknete, na tom istom mieste kde bol odkaz "Pridať k obľúbeným" nájdete teraz odkaz <B>"Odobrať z obľúbených"</B>.<br />Ak máte povolené cookies a po vypnutí vášho PC ich neodstránite alebo inak nevymažete táto funkcia je dostupná aj pre neregistrovaných užívateľov.
-', 'offline', 0),
-  array('Ako môžem hodnotiť jednotlivé obrázky?', 'Kliknite na miniatúru obrázku, zobrazí sa vám tzv. stredný náhľad. Tam nájdete
-<B>"Hodnotiť tento súbor"</B> Tam si zvoľte počet hviezdičiek a kliknutím na ne ohodnotíte obrázok.
-', 'offline', 0),
-  array('Ako môžem pridať komentár k obrázku?', 'Kliknite na miniatúru obrázku, zobrazí sa vám tzv. stredný náhľad, ak sa presuniete na dolný koniec stránky s obrázkom nájdete tam časť <B>"Pridať komentár"</B>
-Prosím uvedomte si že počet slov alebo dĺžka komentáru je závislá na administrátorských nastaveniach. Ak by sa stalo že váš komentár sa nedá odoslať je pravdepodobne príliš dlhý. 
-', 'offline', 0),
-  array('Ako môžem pridať obrázok do galérie?', 'Kliknite na hore na odkaz <B>"Pridať súbor"</B> Zobrazí sa vám stránka Pridanie súborov. Pomocou boxov dole môžete na server nahrať súbory. Veľkosť a druh jednotlivých povolených súborov k odosielaniu je závislá na administrátorských nastaveniach.
-Návod ako exportovať v systéme <B>Windows XP</B> hromadne do svojich albumov viac súborov na raz nájdete
-<a href="xp_publish.php">tu.(návod je po anglicky)</a>', 'allow_private_albums', 1), //cpg1.4
-  array('Kde budem odosielať obrázok?', 'V prvom rade do svojej galérie ktorú si musíte vytvoriť.
-Ak máte povolenie posielať do spoločných môžete aj tam.
-Kto, alebo kde sa dajú pridávať jednotlivé obrázky záleží na nastaveniach  jednotlivých albumov. Niektoré albumy môžu byť len pre registrovaných užívateľov, iné môžu byť chránené heslom len pre určitých návštevníkov.
-', 'allow_private_albums', 0),
-  array('Aký typ a veľkosť súboru môžem odoslať?', 'Veľkosť a typ povolených súborov je závislí na administrátorských nastaveniach.', 'offline', 0),
-  array('Ako môžem vytvárať premenovať a vymazať albumy?', 'Na toto slúži odkaz <B>"Albumy"</B> po kliknutí na tento odkaz uvidíte nadpis <B>"Vybrať kategóriu"</B> v rozbalovacom menu si zvoľte <B>"* Moja Galéria *"</B> kliknite na tlačítko NOVÝ.
-Potom pomenujte vašu novú galériu.
-Nakoniec použite tlačítko <B>"Vykonať zmeny"</B>
-Na tomto mieste môžete aj odstraňovať nepotrebné albumy.
-Zasahovať do úpravy spoločných albumov môže len administrátor alebo osoba tým poverená.
-', 'allow_private_albums', 0),
-  array('Ako upraviť prístupové práva a nastavenia albumov?', 'Musíte sa najprv prihlásiť.
-Môžete meniť len vlastné albumy, zasahovať do úpravy spoločných albumov môže len administrátor alebo osoba tým poverená.
-Po zobrazení albumov kliknite prosím na tlačítko <B>VLASTNOSTI</B>.
-V Základných nastaveniach môžete zmeniť nadpis, popis albumu a zobrazenie náhľadového obrázku.
-V Oprávneniach pre album môžete zmeniť kto môže vaše album vidieť, pridať vstup len na heslo, povoliť alebo zakázať hodnotenia a komentáre.
-<B>Nastavenie hodnotení a komentárov je závislé aj od globálnej konfigurácie fóra a a prístupových práv jednotlivých skupín (Administrators Registered Banned Guests) prípadne iné.</B>
-', 'allow_private_albums', 0),
-  array('Ako si viem pozrieť galérie ostatných užívateľov?', 'Kliknite na odkaz "Galérie užívateľov" Táto kategória obsahuje albumy užívateľov tejto fotogalérie.', 'allow_private_albums', 0),
-  array('Čo sú cookies?', 'Cookies sú malé kusy textových  údajov posielané na vaše PC do špecifického adresára.<br /> Tento súbor je odoslaný zo stránky ktorú prezeráte lebo nastavujete. Do tohto súboru sa ukladajú vaše nastavenia a pri ďalšom prezeraní alebo návšteve tejto stránky sú tieto údaje znova načítané z vášho PC.', 'offline', 0),
-  array('Kde môžem získať takúto vynikajúcu fotogalériu?', 'Coppermine je voľne šírená Multimediálna Galéria licencovaná pod GNU GPL. Je prispôsobená pre všetky platformy a operačné systémy.  Navštívte prosím <a href="http://coppermine-gallery.net/"><B>Coppermine hlavnú stránku</B></a> a zistite si viac podrobností a stiahnite si túto aplikáciu.', 'offline', 0),
-
-  'Navigácia na týchto stránkach.',
-  array('Čo je Zoznam albumov?', 'Tento odkaz vám ukáže všetky kategórie. Je to vlastne hlavná stránka fotogalérie kde sú potom ďalej rozdelené jednotlivé albumy s ich zmenšenými úvodnými obrázkami.
-Najvyššie sú galérie jednotlivých užívateľov a nižšie sú spoločné hlavné kategórie.
-Kto, alebo kde sa dajú pridávať jednotlivé obrázky záleží na nastaveniach  jednotlivých albumov. Niektoré albumy môžu byť len pre registrovaných užívateľov, iné môžu byť chránené heslom a sú len pre určitých návštevníkov.
-', 'offline', 0),
-  array('Čo je Moja galéria?', 'To je vaša galéria do ktorej si môžete poslať obrázky alebo súbory. Môžete pridávať albumy mazať súbory modifikovať premenovať.<br /> Prosím uvedomte si že každý užívateľ má limitovanú kapacitu. Štandardne je to 20 MB. Toto nastavenie môže zmeniť administrátor fóra.', 'allow_private_albums', 1), //cpg1.4
-  array('Aký je rozdiel medzi administratívnym a užívateľským režimom?', 'Administrátor má takmer neobmedzené možnosti.
-Môže vytvárať upravovať mazať jednotlivé obrázky a galérie. Môže odstrániť hlasovania alebo komentáre. V prípade potreby zablokovať užívateľa alebo ho aj vyhodiť.
-Administrátor ale nemôže meniť vaše heslo a mailovú adresu. Taktiež nijakým spôsobom nevie zistiť vaše heslo. Nevie prebrať vlastníctvo vašich obrázkov alebo súborov.
-Užívateľ má obmedzené oprávnenia. Limitovaný priestor pre ukladanie, môže si vytvárať len svoje albumy. Pridávanie do spoločných albumov je riadené skupinovými oprávneniami.
-Môže komentovať a hlasovať. Všetko ale záleží na globálnych nastaveniach skupiny.   
-', 'allow_private_albums', 0),
-  array('Čo je to Pridať súbor?', 'Kliknite na hore na odkaz <B>"Pridať súbor"</B> Zobrazí sa vám stránka Pridanie súborov. Pomocou boxov dole môžete na server nahrať súbory.', 'allow_private_albums', 0),
-  array('Čo je to Najnovšie pridané?', 'Po kliknutí na tento odkaz sa vám zobrazia najnovšie poslané súbory a obrázky galérie.', 'offline', 0),
-  array('Čo sú Najnovšie komentáre?', 'Po kliknutí na tento odkaz sa vám zobrazia najnovšie komentáre spolu s obrázkami jednotlivých užívateľov.', 'offline', 0),
-  array('Čo je to Najprezeranejšie?', 'Po kliknutí na tento odkaz sa vám zobrazia najviac prezerané (najpopulárnejšie) obrázky s počtom pozretí, nezávisle na dátume odoslania.', 'offline', 0),
-  array('Čo je to Najvyššie hodnotené?', 'Po kliknutí na tento odkaz sa vám zobrazia najlepšie ohodnotené  obrázky jednotlivými užívateľmi. Toto hodnotenie je priemerné. To znamená že jednotlivé body hodnotiacich sa spočítavajú podľa toho koľko tzv. hviezdičiek <img src="images/rating5.gif" width="65" height="14" border="0" alt="best" /> udelili návštevníci týchto stránok fotografiám.<br /> Hodnoty sú od 1 do 5 jedna hviezdička až 5 hviezdičiek.
-<B>5 hviezdičiek zodpovedá najlepšiemu hodnoteniu.</B>', 'offline', 0),
-  array(' Čo je to Moje obľúbené?', 'Po kliknutí na tento odkaz sa vám zobrazia vaše uložené najobľúbenejšie obrázky.
-Táto funkcia je dostupná len po registrácii.<br />Ak máte povolené cookies a po vypnutí vášho PC ich neodstránite alebo inak nevymažete táto funkcia je dostupná aj pre neregistrovaných užívateľov.<br />FAQ  preložil 15.5.2008 : Willant Zoltán - <A HREF="http://kontakt.sturovo.com">http://kontakt.sturovo.com</A>', 'offline', 0),
-);
-
-
-// ------------------------------------------------------------------------- //
-// File forgot_passwd.php
-// ------------------------------------------------------------------------- //
-
-if (defined('FORGOT_PASSWD_PHP')) $lang_forgot_passwd_php = array(
-  'forgot_passwd' => 'Pripomenutie hesla',
-  'err_already_logged_in' => 'Už ste prihlásený !',
-  'enter_email' => 'Zadajte Vašu emailovú adresu', //cpg1.4
-  'submit' => 'go',
-  'illegal_session' => 'Akcia zaslania zabudnutého hesla zlyhala alebo expirovala.', //cpg1.4
-  'failed_sending_email' => 'Email s heslom nemohol byť zaslaný !',
-  'email_sent' => 'Email s prístupovými údajmi bol zaslaný pre %s', //cpg1.4
-  'verify_email_sent' => 'Email bol zaslaný pre %s. Skontrolujte si Vašu emailovú schránku pre kompletnosť procesu.', //cpg1.4
-  'err_unk_user' => 'Vybraný člen neexistuje!',
-  'account_verify_subject' => '%s - Vyžiadanie nového hesla.', //cpg1.4
-  'account_verify_body' => 'Požiadali ste o nové heslo. Ak si prajet pokračovať vo vyžiadaní kliknite na nasl. link:
-
-%s', //cpg1.4
-  'passwd_reset_subject' => '%s - Vaše nové heslo', //cpg1.4
-  'passwd_reset_body' => 'Tu sú nové prihlasovacie údaje:
-Meno: %s
-Heslo: %s
-Kliknúť na %s pre prihlásenie.', //cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File groupmgr.php
-// ------------------------------------------------------------------------- //
-
-if (defined('GROUPMGR_PHP')) $lang_groupmgr_php = array(
-  'group_name' => 'Meno skupiny', //cpg1.4
-  'permissions' => 'Oprávnenia', //cpg1.4
-  'public_albums' => 'Pridávanie do verejných albumov', //cpg1.4
-  'personal_gallery' => 'Osobná galéria', //cpg1.4
-  'upload_method' => 'Metóda pridávania', //cpg1.4
-  'disk_quota' => 'Limit', //cpg1.4
-  'rating' => 'Hodnotenia', //cpg1.4
-  'ecards' => 'Pohľadnice', //cpg1.4
-  'comments' => 'Komentáre', //cpg1.4
-  'allowed' => 'Dovolené', //cpg1.4
-  'approval' => 'Overenie', //cpg1.4
-  'boxes_number' => 'Počet boxov', //cpg1.4
-  'variable' => 'premenné', //cpg1.4
-  'fixed' => 'pevné', //cpg1.4
-  'apply' => 'Potvrď zmeny',
-  'create_new_group' => 'Vytvoriť novú skupinu',
-  'del_groups' => 'Vymazať označené skupiny',
-  'confirm_del' => 'Pokiaľ zmažete túto skupinu, všetci užívatelia, patriaci do tejto skupiny budú presunutí do skupiny \'Registered\' !\n\nPrajete si pokračovať ?', //js-alert
-  'title' => 'Spravovať užívateľské skupiny',
-  'num_file_upload' => 'Boxy pre pridávanie súborov', //cpg1.4
-  'num_URI_upload' => 'Boxy pre pridávanie URI', //cpg1.4
-  'reset_to_default' => 'Obnoviť predvolené meno (%s) - odporúčané!', //cpg1.4
-  'error_group_empty' => 'Tabuľka skupín je prázdna !<br /><br />Predvolené skupiny vytvorené, načítajte znovu túto stránku', //cpg1.4
-  'explain_greyed_out_title' => 'Prečo je tonto riadok sivý?', //cpg1.4
-  'explain_guests_greyed_out_text' => 'Nemožno meniť vlastnosti tejto skupiny, pretože ste zvoli možnosť &quot; Allow unlogged users (guest or anonymous) access&quot; to &quot;No&quot; on the config page. All guest (members of the group %s) can\'t do anything but login; therefor group settings don\'t apply for them.', //cpg1.4
-  'explain_banned_greyed_out_text' => 'Nemožno meniť vlastnosti tejto skupiny, pretože aj tak nič nemôžu robiť.', //cpg1.4
-  'group_assigned_album' => 'priradené albumy', //cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File index.php
-// ------------------------------------------------------------------------- //
-
-if (defined('INDEX_PHP')){
-
-$lang_index_php = array(
-  'welcome' => 'Welcome !',
-);
-
-$lang_album_admin_menu = array(
-  'confirm_delete' => 'Ste si istý, že chcete zmazať tento album ? \\nVšetky súbory a komentáre budú tiež zmazané.', //js-alert
-  'delete' => 'ZMAZAŤ',
-  'modify' => 'VLASTNOSTI',
-  'edit_pics' => 'UPRAVIŤ SÚBOR',
-);
-
-$lang_list_categories = array(
-  'home' => 'Home',
-  'stat1' => '<b>[pictures]</b> súborov v <b>[albums]</b> albumoch a <b>[cat]</b> kategóriách s <b>[comments]</b> komentármi zobrazené <b>[views]</b> krát',
-  'stat2' => '<b>[pictures]</b> súborov v <b>[albums]</b> albumoch zobrazených <b>[views]</b> krát',
-  'xx_s_gallery' => '%s\'s galérií',
-  'stat3' => '<b>[pictures]</b> súborov v <b>[albums]</b> albumoch s <b>[comments]</b> komentármi zobrazené <b>[views]</b> krát',
-);
-
-$lang_list_users = array(
-  'user_list' => 'Zoznam užívateľov',
-  'no_user_gal' => 'Nie sú žiadne užívateľské galérie',
-  'n_albums' => '%s album(ov)',
-  'n_pics' => '%s súbor(ov)',
-);
-
-$lang_list_albums = array(
-  'n_pictures' => '%s súborov',
-  'last_added' => ', posledný pridaný do %s',
-  'n_link_pictures' => '%s vzdialené súbory', //cpg1.4
-  'total_pictures' => '%s súborov celkom', //cpg1.4
-);
-
-}
-
-// ------------------------------------------------------------------------- //
-// File keywordmgr.php //cpg1.4
-// ------------------------------------------------------------------------- //
-
-if (defined('KEYWORDMGR_PHP')) $lang_keywordmgr_php = array(
-  'title' => 'Spravuj kľúčové slová', //cpg1.4
-  'edit' => 'upraviť', //cpg1.4
-  'delete' => 'zmazať', //cpg1.4
-  'search' => 'hľadať', //cpg1.4
-  'keyword_test_search' => 'hľadať %s v novom okne', //cpg1.4
-  'keyword_del' => 'zmazať kľúčové slovo %s', //cpg1.4
-  'confirm_delete' => 'Chcete skutočne zmazať kľúčové slovo %s z celej galérie?', //cpg1.4  // js-alert
-  'change_keyword' => 'zmeniť kľúčové slovo', //cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File login.php
-// ------------------------------------------------------------------------- //
-
-if (defined('LOGIN_PHP')) $lang_login_php = array(
-  'login' => 'Prihlásenie',
-  'enter_login_pswd' => 'Zadajte Vaše meno a heslo pre prihlásenie',
-  'username' => 'Meno',
-  'password' => 'Heslo',
-  'remember_me' => 'Pamätaj si ma',
-  'welcome' => 'Vítame Vás, %s ...',
-  'err_login' => '*** Chyba pri prihlásení. Skúste to znova! ***',
-  'err_already_logged_in' => 'Už ste prihlásený !',
-  'forgot_password_link' => 'Zabudol som svoje heslo',
-  'cookie_warning' => 'Upozornenie, Váš prehliadač neakceptuje cookies.', //cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File logout.php
-// ------------------------------------------------------------------------- //
-
-if (defined('LOGOUT_PHP')) $lang_logout_php = array(
-  'logout' => 'Odhlásiť',
-  'bye' => 'Ďakujeme za návštevu %s ...',
-  'err_not_loged_in' => 'Nie ste prihlásený !',
-);
-
-// ------------------------------------------------------------------------- //
-// File minibrowser.php  //cpg1.4
-// ------------------------------------------------------------------------- //
-
-if (defined('MINIBROWSER_PHP')) $lang_minibrowser_php = array(
-  'close' => 'zatvoriť', //cpg1.4
-  'submit' => 'OK', //cpg1.4
-  'up' => 'hore o jednu úroveň', //cpg1.4
-  'current_path' => 'súčasná cesta', //cpg1.4
-  'select_directory' => 'zvoľte adresár', //cpg1.4
-  'click_to_close' => 'Kliknutím na obrázok zatvoríte okno',
-);
-
-// ------------------------------------------------------------------------- //
-// File modifyalb.php
-// ------------------------------------------------------------------------- //
-
-if (defined('MODIFYALB_PHP')) $lang_modifyalb_php = array(
-  'upd_alb_n' => 'Aktualizovať album %s',
-  'general_settings' => 'Základné nastavenia',
-  'alb_title' => 'Nadpis albumu',
-  'alb_cat' => 'Kategória albumu',
-  'alb_desc' => 'Popis albumu',
-  'alb_keyword' => 'Kľúčové slovo pre album', //cpg1.4
-  'alb_thumb' => 'Náhľad albumu',
-  'alb_perm' => 'Oprávnenia pre album',
-  'can_view' => 'Album môžu vidieť',
-  'can_upload' => 'Návštevníci môžu pridávať súbory',
-  'can_post_comments' => 'Návštevníci môžu pridávať komentáre',
-  'can_rate' => 'Návštevníci môžu hodnotiť súbory',
-  'user_gal' => 'Užívateľská galéria',
-  'no_cat' => '* Žiadna kategória *',
-  'alb_empty' => 'Album je prázdny',
-  'last_uploaded' => 'Naposledy pridané',
-  'public_alb' => 'Každý (verejný album)',
-  'me_only' => 'Len ja',
-  'owner_only' => 'Vlastník albumu (%s) len',
-  'groupp_only' => 'Členovia skupiny \'%s\'',
-  'err_no_alb_to_modify' => 'žiadny album k modifikácii.',
-  'update' => 'Aktualizovať album',
-  'reset_album' => 'Reset album', //cpg1.4
-  'reset_views' => 'Resetovať počítadlo zobrazení na &quot;0&quot; v %s', //cpg1.4
-  'reset_rating' => 'Resetovať hodnotenia súborov v %s', //cpg1.4
-  'delete_comments' => 'Zmazať všetky komentáre v %s', //cpg1.4
-  'delete_files' => '%sNEZVRATNÉ%s zmazanie všetkých súborov v %s', //cpg1.4
-  'views' => 'zobrazení', //cpg1.4
-  'votes' => 'hlasov', //cpg1.4
-  'comments' => 'komentárov', //cpg1.4
-  'files' => 'súborov', //cpg1.4
-  'submit_reset' => 'Odoslať zmeny', //cpg1.4
-  'reset_views_confirm' => 'Súhlasím', //cpg1.4
-  'notice1' => '(*) závislé od nastavenia %sskupín%s ',  //cpg1.4 //(do not translate %s!)
-  'alb_password' => 'Heslo pre album', //cpg1.4
-  'alb_password_hint' => 'Heslo pre album - naznačenie', //cpg1.4
-  'edit_files' =>'Upraviť súbory', //cpg1.4
-  'parent_category' =>'Nadradená kategória', //cpg1.4
-  'thumbnail_view' =>'Zobrazenie náhľadov', //cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File phpinfo.php
-// ------------------------------------------------------------------------- //
-
-if (defined('PHPINFO_PHP')) $lang_phpinfo_php = array(
-  'php_info' => 'PHP info',
-  'explanation' => 'This is the output generated by the PHP-function <a href="http://www.php.net/phpinfo">phpinfo()</a>, displayed within Coppermine (trimming the output at the right side).',
-  'no_link' => 'Having others see your phpinfo can be a security risk, that\'s why this page is only visible when you\'re logged in as admin. You can not post a link to this page for others, they will be denied access.',
-);
-
-// ------------------------------------------------------------------------- //
-// File picmgr.php //cpg1.4
-// ------------------------------------------------------------------------- //
-if (defined('PICMGR_PHP')) $lang_picmgr_php = array(
-  'pic_mgr' => 'Správca obrázkov', //cpg1.4
-  'select_album' => 'Vybrať album', //cpg1.4
-  'delete' => 'Zmazať', //cpg1.4
-  'confirm_delete1' => 'Určite chcete zmazať tento obrázok ?', //cpg1.4
-  'confirm_delete2' => '\nObrázok bude navždy zmazaný.', //cpg1.4
-  'apply_modifs' => 'Vykonať zmeny', //cpg1.4
-  'confirm_modifs' => 'Potvrdiť zmeny', //cpg1.4
-  'pic_need_name' => 'Obrázok musí mať meno !', //cpg1.4
-  'no_change' => 'Nemôžete robiť žiadne zmeny !', //cpg1.4
-  'no_album' => '* Žiadny album *', //cpg1.4
-  'explanation_header' => 'Užívateľsky môžete usporadúvať súbory iba ak', //cpg1.4
-  'explanation1' => 'administrátor nastavil východzie usporiadanie podľa pozície', //cpg1.4
-  'explanation2' => 'užívateľ nastavil usporiadanie podľa pozície na stránke náhľadov', //cpg1.4
-);
-
-
-// ------------------------------------------------------------------------- //
-// File pluginmgr.php //cpg1.4
-// ------------------------------------------------------------------------- //
-
-if (defined('PLUGINMGR_PHP')){
-
-$lang_pluginmgr_php = array(
-  'confirm_uninstall' => 'Určite chcete odinštalovať tento zásuvný modul', //cpg1.4
-  'confirm_delete' => 'Určite chcete zmazať tento zásuvný modul', //cpg1.4
-  'pmgr' => 'Správca zásuvných modulov', //cpg1.4
-  'name' => 'Meno', //cpg1.4
-  'author' => 'Autor', //cpg1.4
-  'desc' => 'Popis', //cpg1.4
-  'vers' => 'ver.', //cpg1.4
-  'i_plugins' => 'Inštalované zásuvné moduly', //cpg1.4
-  'n_plugins' => 'Neinštalované zásuvné moduly', //cpg1.4
-  'none_installed' => 'Nič nenainštalované', //cpg1.4
-  'operation' => 'Operácia', //cpg1.4
-  'not_plugin_package' => 'Súbor nie je zásuvný modul.', //cpg1.4
-  'copy_error' => 'Chyba pri kopírovaní do adresára.', //cpg1.4
-  'upload' => 'Pridať', //cpg1.4
-  'configure_plugin' => 'Konfigurovať zásuvný modul.', //cpg1.4
-  'cleanup_plugin' => 'Odstrániť zásuvný modul.', //cpg1.4
-);
-}
-
-// ------------------------------------------------------------------------- //
-// File ratepic.php
-// ------------------------------------------------------------------------- //
-
-if (defined('RATEPIC_PHP')) $lang_rate_pic_php = array(
-  'already_rated' => 'Tento súbor ste už hodnotili',
-  'rate_ok' => 'Váš hlas bol prijatý. Ďakujeme.',
-  'forbidden' => 'YNemôžete hodnotiť vlastný súbor.',
-);
-
-// ------------------------------------------------------------------------- //
-// File register.php & profile.php
-// ------------------------------------------------------------------------- //
-
-if (defined('REGISTER_PHP') || defined('PROFILE_PHP')) {
-
-$lang_register_disclamer = <<<EOT
-Aj keď správca {SITE_NAME} bude opravovať prípadne odstraňovať nepríjemný materiál čo najskôr, nie je možné recenzovať každé podanie ihneď. Preto týmto priznávate zodpovednosť za pridávaný materiál v plnej miere, vlastným menom. Nie všetci členovia majú možnosť pridávať súbory, komentáre, hodnotenia na týchto stránkach. Autor pridania prehlasuje, že neporušuje autorské práva tretej strany.<br />
-<br />
-Vy súhlasíte, že nebudete pridávať nijaký hrubý, odporný, nevychovaný, ohováračský, výhražný, nábožensky alebo sexuálne-orientovaný alebo každý iný materiál, ktorý porušuje nejaké platné práva v ktorejkoľvek krajine. Správca má právo odstrániť akýkoľvek príspevok (súbor,hodnotenie,komentár) podľa vlastného uváženia kedykoľvek to uzná za vhodné. Správca nie je povinný schváliť Vašu registráciu, pri porušovaní pravidiel prípadne autorských práv  môže Vašu registráciu zrušiť, či prípadne úplne zakázať prístup k stránkam {SITE_NAME}. Všetky dáta uložené v databáze sú použité výhradne pre chod galérie a nie sú nijak inak spracovávané. Pokiaľ nie je uvedené inak, všetky obrázky zverejnené v albumoch {SITE_NAME} sú chránené autorským právom a nie je dovolené ich kopírovať, upravovať, šíriť ďalej, komerčne využívať či inak reprodukovať. <br />
-<br />
-Tieto stránky používajú cookies k ukladaniu informácií do Vášho počítača. Tieto cookies zlepšujú potešenie z prehliadania. E-mail je použitý iba na zaslanie aktivačných údajov a hesiel.<br />
-<br />
-Stlačením tlačidla 'Súhlasím' potvrdzujete porozumenie s týmito podmienkami.
-EOT;
-
-$lang_register_php = array(
-  'page_title' => 'Registrácia nového užívateľa',
-  'term_cond' => 'Podmienky a pravidlá',
-  'i_agree' => 'Súhlasím',
-  'submit' => 'Odoslať registráciu',
-  'err_user_exists' => 'Zadané užívateľské meno už existuje vyberte si prosím iné',
-  'err_password_mismatch' => 'Zadané heslo sa musí zhodovať v oboch riadkoch, zadajte znova',
-  'err_uname_short' => 'Minimálna dĺžka uživateľskeho mena je 2 znaky',
-  'err_password_short' => 'Minimálna dĺžka hesla je 2 znaky',
-  'err_uname_pass_diff' => 'Meno a heslo se nesmie zhodovať',
-  'err_invalid_email' => 'Bola zadaná neplatná emailová adresa',
-  'err_duplicate_email' => 'Táto emailová adresa je už ragistrovaná, zadajte inú.',
-  'enter_info' => 'Zadať registračné informácie',
-  'required_info' => 'Povinné údaje',
-  'optional_info' => 'Voliteľné údaje',
-  'username' => 'Meno',
-  'password' => 'Heslo',
-  'password_again' => 'Zopakuj heslo',
-  'email' => 'Email',
-  'location' => 'Miesto',
-  'interests' => 'Záujmy',
-  'website' => 'www',
-  'occupation' => 'Zamestnanie',
-  'error' => 'CHYBA',
-  'confirm_email_subject' => '%s - Potvrdenie registrácie',
-  'information' => 'Informácia',
-  'failed_sending_email' => 'Nie je možné odoslať email o potvrdení registrácie !',
-  'thank_you' => 'Ďakujeme za registráciu.<br /><br />Na email adresu zadanú pri registrácii Vám budú doručené informácie o aktiváci vášho účtu.',
-  'acct_created' => 'Váš užívateľský účet bol úspešne vytvorený. Teraz sa môžete prihláste pomocou vášho mena a hesla',
-  'acct_active' => 'Váš užívateľský účet je odteraz aktívny a Vy sa môžete prihlásiť pomocou vášho mena a hesla ',
-  'acct_already_act' => 'Váš účet je už aktivny!', //cpg1.4
-  'acct_act_failed' => 'Tento účet nemôže byť aktivovaný !',
-  'err_unk_user' => 'Vybraný užívateľ neexistuje !',
-  'x_s_profile' => '%s\'s profil',
-  'group' => 'Skupina',
-  'reg_date' => 'Pripojený',
-  'disk_usage' => 'Využitie disku',
-  'change_pass' => 'Zmeniť heslo',
-  'current_pass' => 'Súčasné heslo',
-  'new_pass' => 'Nové heslo',
-  'new_pass_again' => 'Nové heslo znova',
-  'err_curr_pass' => 'Súčasné heslo je nesprávne',
-  'apply_modif' => 'Vykonať zmeny',
-  'change_pass' => 'Zmeniť moje heslo',
-  'update_success' => 'Váš profil bol aktualizovaný',
-  'pass_chg_success' => 'Vaše heslo bolo zmenené',
-  'pass_chg_error' => 'Vaše heslo nebolo zmenené',
-  'notify_admin_email_subject' => '%s - Upozornenie na registráciu',
-  'last_uploads' => 'Posledný pridaný súbor.<br />Klikni pre zobrazenie všetkých pridaní od', //cpg1.4
-  'last_comments' => 'Posledný komentár.<br />Klikni pre zobrazenie všetkých komentárov od', //cpg1.4
-  'notify_admin_email_body' => 'Nový užívateľ "%s" zaregistrovaný v galérii',
-  'pic_count' => 'Súborov pridaných', //cpg1.4
-  'notify_admin_request_email_subject' => '%s - Požiadavka registrácie.', //cpg1.4
-  'thank_you_admin_activation' => 'Ďakujeme.<br /><br />Vaša požiadavka o registráciu bolo odoslaná administrátorovi. Čoskoro obdržíte email.', //cpg1.4
-  'acct_active_admin_activation' => 'ˇUčet bol vytvorený a email bol zaslaný užívateľovi.', //cpg1.4
-  'notify_user_email_subject' => '%s - Oznámenie o aktivácii', //cpg1.4
-);
-
-$lang_register_confirm_email = <<<EOT
-Ďakujeme za registráciu na {SITE_NAME}
-
-Pre aktiváciu účtu užívateľa "{USER_NAME}", treba kliknúť na link ďalej alebo skopírovať do prehliadača.
-
-<a href="{ACT_LINK}">{ACT_LINK}</a>
-
-S pozdravom,
-
-Administrátor od {SITE_NAME}
-
-EOT;
-
-$lang_register_approve_email = <<<EOT
-Nový užívateľ "{USER_NAME}" sa zaregistroval v galérii.
-
-Pre aktiváciu účtu užívateľa, treba kliknúť na link ďalej alebo skopírovať do prehliadača.
-
-<a href="{ACT_LINK}">{ACT_LINK}</a>
-
-EOT;
-
-$lang_register_activated_email = <<<EOT
-Váš účet bol vytvorený a aktivovaný
-Teraz sa môžete prihlásiť na  <a href="{SITE_LINK}">{SITE_LINK}</a> použitím mena "{USER_NAME}"
-
-
-S pozdravom,
-
-Administrátor od {SITE_NAME}
-
-EOT;
-}
-
-// ------------------------------------------------------------------------- //
-// File reviewcom.php
-// ------------------------------------------------------------------------- //
-
-if (defined('REVIEWCOM_PHP')) $lang_reviewcom_php = array(
-  'title' => 'Kontrola komentárov',
-  'no_comment' => 'Nie sú žiadne komentáre na kontrolu',
-  'n_comm_del' => '%s komentárov zmazaných',
-  'n_comm_disp' => 'Počet komentárov k zobrazeniu',
-  'see_prev' => 'Predchádzajúci',
-  'see_next' => 'Ďaľší',
-  'del_comm' => 'Zmazať vybrané komentáre',
-  'user_name' => 'Meno', //cpg1.4
-  'date' => 'Dátum', //cpg1.4
-  'comment' => 'Komentár', //cpg1.4
-  'file' => 'Súbor', //cpg1.4
-  'name_a' => 'Užívatelia vzostupne', //cpg1.4
-  'name_d' => 'Užívatelia zostupne', //cpg1.4
-  'date_a' => 'Dátum vzostupne', //cpg1.4
-  'date_d' => 'Dátum zostupne', //cpg1.4
-  'comment_a' => 'Komentáre vzostupne', //cpg1.4
-  'comment_d' => 'Komentáre zostupne', //cpg1.4
-  'file_a' => 'Súbory vzostupne', //cpg1.4
-  'file_d' => 'Súbory zostupne', //cpg1.4
-);
-
-
-// ------------------------------------------------------------------------- //
-// File search.php                                                           //
-// ------------------------------------------------------------------------- //
-
-
-if (defined('SEARCH_PHP')){
-
-$lang_search_php = array(
-  'title' => 'Vyhľadávanie v albumoch', //cpg1.4
-  'submit_search' => 'hľadať', //cpg1.4
-  'keyword_list_title' => 'Zoznam kľúčových slov', //cpg1.4
-  'keyword_msg' => 'Uvedený list neobsahuje všetko.  Skúste full-textové vyhľadávanie.',  //cpg1.4
-  'edit_keywords' => 'Upraviť kľúčové slovo', //cpg1.4
-  'search in' => 'Hľadať v:', //cpg1.4
-  'ip_address' => 'IP adresa', //cpg1.4
-  'fields' => 'Hľadať v', //cpg1.4
-  'age' => 'Vek súboru', //cpg1.4
-  'newer_than' => 'Mladší ako', //cpg1.4
-  'older_than' => 'Starší ako', //cpg1.4
-  'days' => 'dní', //cpg1.4
-  'all_words' => 'Zhodné všetky výrazy (A)', //cpg1.4
-  'any_words' => 'Zhodné niektoré výrazy (ALEBO)', //cpg1.4
-);
-
-$lang_adv_opts = array(
-  'title' => 'Nadpis', //cpg1.4
-  'caption' => 'Záhlavie', //cpg1.4
-  'keywords' => 'Kľúčové slovo', //cpg1.4
-  'owner_name' => 'Vlastník', //cpg1.4
-  'filename' => 'Názov súboru', //cpg1.4
-);
-
-}
-
-// ------------------------------------------------------------------------- //
-// File searchnew.php
-// ------------------------------------------------------------------------- //
-
-if (defined('SEARCHNEW_PHP')) $lang_search_new_php = array(
-  'page_title' => 'Hľadať nové súbory',
-  'select_dir' => 'Zvoliť adresár',
-  'select_dir_msg' => 'Táto funkcia vám umožní dávkovo pridať obrázky nahrané na server cez FTP.<br /><br />Vyberte adresár kam boli uložené súbory', //cpg1.4
-  'no_pic_to_add' => 'Žiadne súbory na pridanie',
-  'need_one_album' => 'Je potrebné, aby ste mali aspoň jeden album',
-  'warning' => 'Upozornenie',
-  'change_perm' => 'Skript nemôže zapisovať do tohto adresára, musíte nastaviť na CHMOD 755 alebo 777 pred pridaním súborov!',
-  'target_album' => '<b>Vložiť súbory z &quot;</b>%s<b>&quot; do </b>%s',
-  'folder' => 'Zložka',
-  'image' => 'súbor',
-  'album' => 'Album',
-  'result' => 'Result',
-  'dir_ro' => 'Nezapisovateľná. ',
-  'dir_cant_read' => 'Nečitateľná. ',
-  'insert' => 'Pridávanie nových súborov do galérie',
-  'list_new_pic' => 'Zoznam nových súborov',
-  'insert_selected' => 'Vložiť vybrané súbory',
-  'no_pic_found' => 'Žiadne nové súbory',
-  'be_patient' => 'Buďte trpezlivý, skript potrebuje trocha času na spracovanie...',
-  'no_album' => 'žiadny album vybraný',
-  'result_icon' => 'klikni pre detaily alebo znovunačítanie',  //cpg1.4
-  'notes' =>  '<ul>'.
-                          '<li><b>OK</b> : súbor bol pridaný'.
-                          '<li><b>DP</b> : súbor je duplikát a už je v galérii'.
-                          '<li><b>PB</b> : súbor nemohol byť pridaný, zkontrolujte konfiguráciu a oprávnenia'.
-                          '<li><b>NA</b> : nebol vybraný cieľový album, klikni \'<a href="javascript:history.back(1)">späť</a>\' a vyber existujúci album.</li>'.
-                          '<li>Ak sa neukáže \'označenie\' OK, DP, PB klepnite na súbor a uvidíte chybovú hlášku generovanú PHP, ktorá Vám pomôže zistiť príčinu problému'.
-                          '<li>Ak prehliadaču vypršal čas. limit, obnovte stránku'.
-                          '</ul>',
-  'select_album' => 'zvoľte album',
-  'check_all' => 'Označiť všetko',
-  'uncheck_all' => 'Odznačiť všetko',
-  'no_folders' => 'Žiadny adresár v adresári "albums". Vytvorte aspoň jeden adresár v adresári "albums" a pridajte doň svoje súbory pomocou FTP. Nepoužívajte adresáre "userpics" alebo "edit".', //cpg1.4
-   'albums_no_category' => 'Albumy bez kategórie', //cpg1.4 // album pulldown mod, added by frogfoot
-  'personal_albums' => '* Súkromné albumy', //cpg1.4 // album pulldown mod, added by frogfoot
-  'browse_batch_add' => 'Rozhranie s prehliadaním (odporúčame)', //cpg1.4
-  'edit_pics' => 'Uprav súbory', //cpg1.4
-  'edit_properties' => 'Vlastnosti albumu', //cpg1.4
-  'view_thumbs' => 'Náhľady', //cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File stat_details.php //cpg1.4
-// ------------------------------------------------------------------------- //
-
-if (defined('STAT_DETAILS_PHP')) $lang_stat_details_php = array(
-  'show_hide' => 'ukáž/schovaj tento stĺpec', //cpg1.4
-  'vote' => 'Detaily hlasovania', //cpg1.4
-  'hits' => 'Detaily videní', //cpg1.4
-  'stats' => 'Štatistika hlasovania', //cpg1.4
-  'sdate' => 'Dátum', //cpg1.4
-  'rating' => 'Hodnotenie', //cpg1.4
-  'search_phrase' => 'Hľadaný výraz', //cpg1.4
-  'referer' => 'Odkazavač', //cpg1.4
-  'browser' => 'Prehliadač', //cpg1.4
-  'os' => 'Operačný systém', //cpg1.4
-  'ip' => 'IP', //cpg1.4
-  'sort_by_xxx' => 'Usporiadať podľa %s', //cpg1.4
-  'ascending' => 'vzostupne', //cpg1.4
-  'descending' => 'zostupne', //cpg1.4
-  'internal' => 'int', //cpg1.4
-  'close' => 'zatvoriť', //cpg1.4
-  'hide_internal_referers' => 'skryť interné odkazovače', //cpg1.4
-  'date_display' => 'Dátum', //cpg1.4
-  'submit' => 'odoslať/vykonať', //cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File thumbnails.php
-// ------------------------------------------------------------------------- //
-
-// Void
-
-// ------------------------------------------------------------------------- //
-// File upload.php
-// ------------------------------------------------------------------------- //
-
-if (defined('UPLOAD_PHP')) $lang_upload_php = array(
-  'title' => 'Upload file',
-  'custom_title' => 'Upravený Formulár',
-  'cust_instr_1' => 'Môžete zvoliť požadovaný počet vstupných boxov. Nie je možné prekročiť maximum uvedené nižšie.',
-  'cust_instr_2' => 'Požiadavka na boxy',
-  'cust_instr_3' => 'Boxy pre súbory: %s',
-  'cust_instr_4' => 'Boxy pre URI/URL: %s',
-  'cust_instr_5' => 'Boxy pre URI/URL:',
-  'cust_instr_6' => 'Boxy pre súbory:',
-  'cust_instr_7' => 'Prosím zadajte požadovaný počet boxov ku každému typu. Potom stlačte \'Pokračovať\'. ',
-  'reg_instr_1' => 'Neplatná akcia pre vytváranie formulára.',
-  'reg_instr_2' => 'Pomocou boxov dole môžete na server nahrať súbory. Veľkosť jednotlivých nahrávaných súborov pri uploade na server by nemala presiahnuť %s KB. Súbory ZIP nahrané pomocou sekcií \'Pridanie súborov\' alebo \'URI/URL pridanie\' zostanú zkomprimované ako jeden súbor aj po nahraní na server.',
-  'reg_instr_3' => 'Ak chcete, aby súbory zbalené v archíve ZIP boli rozbalené, musíte použiť pre zadanie súboru políčko v sekci \'Pridanie ZIP s rozbalením\'.',
-  'reg_instr_4' => 'Ak používate sekciu URI/URL pridanie, prosím zadávajte cestu k súboru takto: http://www.mojadomena.sk/obrazky/priklad.jpg',
-  'reg_instr_5' => 'Po vyplnení formulára stlačte tlačídlo \'Pokračovať\'.',
-  'reg_instr_6' => 'Pridanie ZIP s rozbalením:',
-  'reg_instr_7' => 'Pridanie súborov:',
-  'reg_instr_8' => 'URI/URL pridanie:',
-  'error_report' => 'Chybové hlásenie',
-  'error_instr' => 'Toto vykazuje chyby:',
-  'file_name_url' => 'Súbor meno/URL',
-  'error_message' => 'Chybová správa',
-  'no_post' => 'Súbor nebol pridaný cez POST.',
-  'forb_ext' => 'Nepovolená prípona súboru.',
-  'exc_php_ini' => 'Prekročená veľkosť súboru povolená v php.ini.',
-  'exc_file_size' => 'Prekročená veľkosť súboru povolená konfiguráciou.',
-  'partial_upload' => 'Iba čiastočné pridanie.',
-  'no_upload' => 'Nevykonalo sa žiadne pridanie.',
-  'unknown_code' => 'Neznáma PHP chyba.',
-  'no_temp_name' => 'Žiadne pridanie - žiadne dočasné meno.',
-  'no_file_size' => 'Neobsahuje dáta/poškodené',
-  'impossible' => 'Nemožno presunúť.',
-  'not_image' => 'Neobsahuje obrázok/poškodené',
-  'not_GD' => 'Chýba GD.',
-  'pixel_allowance' => 'Prekročená šírka alebo výška obrázku povolená konfiguráciou.', //cpg1.4
-  'incorrect_prefix' => 'Neplatný URI/URL prefix',
-  'could_not_open_URI' => 'Nemožno otvoriť URI.',
-  'unsafe_URI' => 'Neoverená bezpečnosť.',
-  'meta_data_failure' => 'Chyba v meta dátach',
-  'http_401' => '401 Neautorizovaný prístup',
-  'http_402' => '402 Požadovaná platba',
-  'http_403' => '403 Zakázaný prístup',
-  'http_404' => '404 Nebolo nájdené',
-  'http_500' => '500 Interná chyba serveru',
-  'http_503' => '503 Služba je nedostupná',
-  'MIME_extraction_failure' => 'MIME nebolo rozpoznané.',
-  'MIME_type_unknown' => 'Neznámy MIME typ',
-  'cant_create_write' => 'Nemožno vytvoriť súbor pre zápis.',
-  'not_writable' => 'Nemožno zapisovať do súboru pre zápis.',
-  'cant_read_URI' => 'Nemožno čítať URI/URL',
-  'cant_open_write_file' => 'Nebolo možné otvoriť súbor URI.',
-  'cant_write_write_file' => 'Nebolo možné zapisovať do súboru URI.',
-  'cant_unzip' => 'Nemožno rozbaliť.',
-  'unknown' => 'Neznámá chyba',
-  'succ' => 'Úspešné pridanie',
-  'success' => '%s pridaní bolo úspešných.',
-  'add' => 'Prosím stlačte \'Pokračovať\' pre pridanie súborov do galérie.',
-  'failure' => 'Chyba pridania',
-  'f_info' => 'Informácie o súbore',
-  'no_place' => 'Predchádzajúci súbor nie je možné umiestniť.',
-  'yes_place' => 'Predchádzajúci súbor bol úspešne umiestnený.',
-  'max_fsize' => 'Max. veľkosť súboru je %s KB',
-  'album' => 'Album',
-  'picture' => 'Súbor',
-  'pic_title' => 'Nadpis súboru',
-  'description' => 'Popis súboru',
-  'keywords' => 'Kľúčové slová ( oddelené medzerami)<br /><a href="#" onClick="return MM_openBrWindow(\'keyword_select.php\',\'selectKey\',\'width=250, height=400, scrollbars=yes,toolbar=no,status=yes,resizable=yes\')">Vložiť zo zoznamu</a>', //cpg1.4
-  'keywords_sel' =>'Vybrať kľúčové slovo', //cpg1.4
-  'err_no_alb_uploadables' => 'Tu sa nenachádza album do ktorého môžete pridávať',
-  'place_instr_1' => 'Prosím umiestnite teraz súbory do albumov. Môžete tiež zadať informácie týkajúce sa jednotlivých súborov.',
-  'place_instr_2' => 'Viac súborov je potreba umiestniť. Prosím stlačte \'Pokračovať\'.',
-  'process_complete' => 'Úspešne ste umiestnili všetky súbory.',
-   'albums_no_category' => 'Albumy bez kategórie', //cpg1.4. //album pulldown mod, added by frogfoot
-  'personal_albums' => '* Osobný album', //cpg1.4 //album pulldown mod, added by frogfoot
-  'select_album' => 'Vybrať album', //cpg1.4 //album pulldown mod, added by frogfoot
-  'close' => 'Zatvoriť', //cpg1.4
-  'no_keywords' => 'Žiadne kľúčové slová k výberu!', //cpg1.4
-  'regenerate_dictionary' => 'Obnoviť adresár', //cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File usermgr.php
-// ------------------------------------------------------------------------- //
-
-if (defined('USERMGR_PHP')) $lang_usermgr_php = array(
-  'memberlist' => 'Zoznam členov', //cpg1.4
-  'user_manager' => 'Správca užívateľov', //cpg1.4
-  'title' => 'Spravuj užívateľov',
-  'name_a' => 'Meno vzostupne',
-  'name_d' => 'Meno zostupne',
-  'group_a' => 'Skupina vzostupne',
-  'group_d' => 'Skupina zostupne',
-  'reg_a' => 'Reg. dátum vzostupne',
-  'reg_d' => 'Reg. dátum zostupne',
-  'pic_a' => 'Počet súborov vzostupne',
-  'pic_d' => 'Počet súborov zostupne',
-  'disku_a' => 'Priestor vzostupne',
-  'disku_d' => 'Priestor zostupne',
-  'lv_a' => 'Posledná návšteva vzostupne',
-  'lv_d' => 'Posledná návšteva zostupne',
-  'sort_by' => 'Triediť užívateľov podľa:',
-  'err_no_users' => 'Tabuľka užívateľov je prázdna !',
-  'err_edit_self' => 'Na úpravu vlastného profilu použite link \'Môj profil\'',
-  'edit' => 'Upraviť', //cpg1.4
-  'with_selected' => 'Akcia pre označených:', //cpg1.4
-  'delete' => 'Vymazať', //cpg1.4
-  'delete_files_no' => 'ponechať verejné súbory (ale anonymizovať)', //cpg1.4
-  'delete_files_yes' => 'zmazať verejné súbory', //cpg1.4
-  'delete_comments_no' => 'ponechať komentáre (ale anonymizovať)', //cpg1.4
-  'delete_comments_yes' => 'zmazať verejné komentáre', //cpg1.4
-  'activate' => 'Aktivovať', //cpg1.4
-  'deactivate' => 'Deaktivovať', //cpg1.4
-  'reset_password' => 'Resetovať heslo', //cpg1.4
-  'change_primary_membergroup' => 'Zmeniť primárnu skupinu', //cpg1.4
-  'add_secondary_membergroup' => 'Zmeniť sekundárnu skupinu', //cpg1.4
-  'name' => 'Užívateľské meno',
-  'group' => 'Skupina',
-  'inactive' => 'Neaktívny',
-  'operations' => 'Operácie',
-  'pictures' => 'Súbory',
-  'disk_space_used' => 'Priestor(využitie)', //cpg1.4
-  'disk_space_quota' => 'Priestor(limit)', //cpg1.4
-  'registered_on' => 'Registrácia', //cpg1.4
-  'last_visit' => 'Posledná návšt.',
-  'u_user_on_p_pages' => '%d užívateľov na %d str.',
-  'confirm_del' => 'Naozaj chcete zmazať tohoto užívateľa? \\nVšetky jeho albumy a súbory budú tiež zmazané.', //js-alert
-  'mail' => 'MAIL',
-  'err_unknown_user' => 'Vybraný užívateľ neexistuje !',
-  'modify_user' => 'Upraviť užívateľa',
-  'notes' => 'Pozn.',
-  'note_list' => '<li>Pokiaľ nechcete zmeniť heslo ponechajte políčko pre heslo prázdne',
-  'password' => 'Password',
-  'user_active' => 'Užívateľ je aktívny',
-  'user_group' => 'Užív. skupina',
-  'user_email' => 'Užív. email',
-  'user_web_site' => 'Užív. www',
-  'create_new_user' => 'Vytvoriť užívateľa',
-  'user_location' => 'Užív. mesto',
-  'user_interests' => 'Užív. záujmy',
-  'user_occupation' => 'Užív. práca',
-  'user_profile1' => '$user_profile1', //cpg1.4
-  'user_profile2' => '$user_profile2', //cpg1.4
-  'user_profile3' => '$user_profile3', //cpg1.4
-  'user_profile4' => '$user_profile4', //cpg1.4
-  'user_profile5' => '$user_profile5', //cpg1.4
-  'user_profile6' => '$user_profile6', //cpg1.4
-  'latest_upload' => 'Čerstvé pridanie',
-  'never' => 'nikdy',
-  'search' => 'Vyhľadaj člena', //cpg1.4
-  'submit' => 'Odošli', //cpg1.4
-  'search_submit' => 'Choď!', //cpg1.4
-  'search_result' => 'Hľadaj výsledky pre: ', //cpg1.4
-  'alert_no_selection' => 'Najprvtreba aspoň jedného člena označiť!', //cpg1.4 //js-alert
-  'password' => 'Heslo', //cpg1.4
-  'select_group' => 'Vyber skupinu', //cpg1.4
-  'groups_alb_access' => 'Obmedzenia albumu podľa skupiny', //cpg1.4
-  'album' => 'Album', //cpg1.4
-  'category' => 'Kategória', //cpg1.4
-  'modify' => 'Zmeniť?', //cpg1.4
-  'group_no_access' => 'Táto skupina nemá špeciálny prístup', //cpg1.4
-  'notice' => 'Oznam', //cpg1.4
-  'group_can_access' => 'Album do ktorého len "%s" má vstup', //cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File util.php
-// ------------------------------------------------------------------------- //
-
-if (defined('UTIL_PHP')) {
-$lang_util_desc_php = array(
-'Aktualizovať nadpisy z názvu súboru', //cpg1.4
-'Vymazať nadpisy', //cpg1.4
-'Obnoviť náhľady a zmenšené obrázky', //cpg1.4
-'Vymazať originálne obrázky a nahradiť zmenšenými', //cpg1.4
-'Vymazať originálne a dočasné obrázky kvôli úspore web miesta', //cpg1.4
-'Vymazať osamelé komentáre', //cpg1.4
-'Znovu načítať veľkosť a rozmery obrázkov', //cpg1.4
-'Resetovať počítadlá zobrazení', //cpg1.4
-'Zobraziť phpinfo', //cpg1.4
-'Aktualizovať databázu', //cpg1.4
-'Zobraziť log súbory', //cpg1.4
-);
-$lang_util_php = array(
-  'title' => 'Administračné nástroje',
-  'what_it_does' => 'Čo robia',
-  'file' => 'Súbor',
-  'problem' => 'Problém', //cpg1.4
-  'status' => 'Stav', //cpg1.4
-  'title_set_to' => 'nadpis nastaviť na',
-  'submit_form' => 'poslať',
-  'updated_succesfully' => 'aktualizované',
-  'error_create' => 'ERROR vytvorenie',
-  'continue' => 'Spracovať viac obrázkov',
-  'main_success' => 'Súbor %s bol úspešne použitý ako hlavný',
-  'error_rename' => 'Chybné premenovanie %s na %s',
-  'error_not_found' => 'Súbor nebol %s nenájdený',
-  'back' => 'späť',
-  'thumbs_wait' => 'Aktualizujem, počkajte chvíľu...',
-  'thumbs_continue_wait' => 'Pokračujem v aktualizácii...',
-  'titles_wait' => 'Aktualizujem nadpisy, počkajte chvíľu...',
-  'delete_wait' => 'Mažem nadpisy, počkajte chvíľu...',
-  'replace_wait' => 'Vymazávam originálne obrázky a nahrádzam zmenšenými, počkajte chvíľu...',
-  'instruction' => 'Návod',
-  'instruction_action' => 'Zvoľte akciu',
-  'instruction_parameter' => 'Nastavte parametre',
-  'instruction_album' => 'Vyberte album',
-  'instruction_press' => 'Stlačte %s',
-  'update' => 'Aktualizovať náhľady a/alebo zmenšeniny',
-  'update_what' => 'Čo sa bude aktualizovať',
-  'update_thumb' => 'Len náhľady',
-  'update_pic' => 'Len zmenšeniny',
-  'update_both' => 'Aj náhľady aj zmenšeniny',
-  'update_number' => 'Počet obrázkov na klik ',
-  'update_option' => '(Nastavte menej, ak dochádza k časovým výpadkom prehliadača)',
-  'filename_title' => 'Názov súboru &rArr; Nadpis súboru',
-  'filename_how' => 'Ako vytvoriť nadpis súboru z názvu súboru',
-  'filename_remove' => 'Odobrať .jpg príponu a nahradiť _ (podčiarnik) medzerou',
-  'filename_euro' => 'Zmeniť 2003_11_23_13_20_20.jpg na 23/11/2003 13:20',
-  'filename_us' => 'Zmeniť 2003_11_23_13_20_20.jpg na 11/23/2003 13:20',
-  'filename_time' => 'Zmeniť 2003_11_23_13_20_20.jpg na 13:20',
-  'delete' => 'Vymazať nadpisy alebo originál súbory',
-  'delete_title' => 'Vymazať nadpisy',
-  'delete_title_explanation' => 'Vymaže všetky nadpisy vo zvolenom albume.', //cpg1.4
-  'delete_original' => 'Vymazať originál súbory',
-  'delete_original_explanation' => 'Vymaže všetky originál súbory vo zvolenom albume.', //cpg1.4
-  'delete_intermediate' => 'Zmazať pomocné obrázky', //cpg1.4
-  'delete_intermediate_explanation' => 'Vymaže všetky pomocné (normal) obrázky vo zvolenom albume.<br />Použiť na uvoľnenie miesta, ak je v konfigurácii vypnutá funkcia \'Vytvoriť pomocné obrázky\' (po pridaní súborov).', //cpg1.4
-  'delete_replace' => 'Vymaže originálne obrázky a nahradí zmenšenými',
-  'titles_deleted' => 'Všetky nadpisy vo zvolenom albume odobraté', //cpg1.4
-  'deleting_intermediates' => 'Mažem pomocné obrázky, počkajte chvíľu...', //cpg1.4
-  'searching_orphans' => 'Hľadám osamotené, počkajte chvíľu...', //cpg1.4
-  'select_album' => 'Vybrať album',
-  'delete_orphans' => 'Vymazať komentáre k chýbajúcim súborom', //cpg1.4
-  'delete_orphans_explanation' => 'Vymaže komentáre k chýbajúcim súborom, ktoré už nie sú v galérii.<br />Skontrolujte všetky albumy.', //cpg1.4
-  'refresh_db' => 'Znovunačítanie veľkostí a rozmerov súborov', //cpg1.4
-  'refresh_db_explanation' => 'Znovunačítanie veľkostí a rozmerov súborov použite na korkciu správnosti veľkosti priestoru.', //cpg1.4
-  'reset_views' => 'Nulovať počítadlá zobrazení', //cpg1.4
-  'reset_views_explanation' => 'Vo vybranom albume vynuluje počítadlá zobrazení.', //cpg1.4
-  'orphan_comment' => 'osamotený komentár nájdený',
-  'delete' => 'Zmazať',
-  'delete_all' => 'Zmazať všetko',
-  'delete_all_orphans' => 'Zmazať všetky osamotené?', //cpg1.4
-  'comment' => 'Komentár: ',
-  'nonexist' => 'priložiť k neexistujúcemu súboru # ',
-  'phpinfo' => 'Zobraziť phpinfo',
-  'phpinfo_explanation' => 'Technické info o Vašom serveri.<br /> - Zobrazí sa iba ak hosting povoľuje.', //cpg1.4
-  'update_db' => 'Aktualizovať databázu',
-  'update_db_explanation' => 'Použiť pri aktualizácii galérie, pri pridaní systémových súborov, zmene verzie CPG atd. Funkcia pre systémových inštalátorov.',
-  'view_log' => 'Zobraziť log súbory', //cpg1.4
-  'view_log_explanation' => 'Prehľad logov nastavených v <a href="admin.php">konfigurácii</a>.', //cpg1.4
-  'versioncheck' => 'Skontrolovať verzie', //cpg1.4
-  'versioncheck_explanation' => 'Kontrola správnosti a aktuálnosti systémových súborov galérie. Funkcia pre systémových inštalátorov.', //cpg1.4
-  'bridgemanager' => 'Správca prepojenia', //cpg1.4
-  'bridgemanager_explanation' => 'Zapína/vypína integráciu CPG galérie do prostredia inej aplikácie.', //cpg1.4
-);
-}
-
-// ------------------------------------------------------------------------- //
-// File versioncheck.php //cpg1.4
-// ------------------------------------------------------------------------- //
-
-if (defined('VERSIONCHECK_PHP')) $lang_versioncheck_php = array(
-  'title' => 'Versioncheck', //cpg1.4
-  'what_it_does' => 'This page is meant for users who have updated their coppermine install. This script goes through the files on your webserver and tries to determine if your local file versions on the webserver are the same as the ones from the repository at http://coppermine.sourceforge.net, this way displaying the files you were meant to update as well.<br />It will show everything in red that needs to be fixed. Entries in yellow need looking into. Entries in green (or your default font color) are OK.<br />Click on the help icons to find out more.', //cpg1.4
-  'online_repository_unable' => 'Unable to connect to online repository', //cpg1.4
-  'online_repository_noconnect' => 'Coppermine was unable to connect to the online repository. This can have two reasons:', //cpg1.4
-  'online_repository_reason1' => 'the coppermine online repository is currently down - check if you can browse this page: %s - if you can\'t access this page, try again later.', //cpg1.4
-  'online_repository_reason2' => 'PHP on your webserver is configured with %s turned off (by default, it\'s turned on). If the server is yours to administer, turn this option on in <i>php.ini</i> (at least allow it to be overridden with %s). If you\'re webhosted, you will probably have to live with the fact that you can\'t compare your files to the online repository. This page will then only display the file versions that came with your distribution - updates will not be displayed.', //cpg1.4
-  'online_repository_skipped' => 'Connection to online repository skipped', //cpg1.4
-  'online_repository_to_local' => 'The script is defaulting to the local copy of the version-files now. The data may be inacurate if you have upgraded Coppermine and you haven\'t uploaded all files. Changes to the files after the release won\'t be taken into account as well.', //cpg1.4
-  'local_repository_unable' => 'Unable to connect to the repository on your server', //cpg1.4
-  'local_repository_explanation' => 'Coppermine was unable to connect to the repository file %s on your webserver. This probably means that you haven\'t uploaded the repository file to your webserver. Do so now and then try to run this page once more (hit refresh).<br />If the script still fails, your webhost might have disabled parts of <a href="http://www.php.net/manual/en/ref.filesystem.php">PHP\'s filesystem functions</a> completely. In this case, you simply won\'t be able to use this tool at all, sorry.', //cpg1.4
-  'coppermine_version_header' => 'Installed Coppermine version', //cpg1.4
-  'coppermine_version_info' => 'You have currently installed: %s', //cpg1.4
-  'coppermine_version_explanation' => 'If you think this is entirely wrong and you\'re supposed to be running a higher version of Coppermine, you probably haven\'t uploaded the most recent version of the file <i>include/init.inc.php</i>', //cpg1.4
-  'version_comparison' => 'Version comparison', //cpg1.4
-  'folder_file' => 'folder/file', //cpg1.4
-  'coppermine_version' => 'cpg version', //cpg1.4
-  'file_version' => 'file version', //cpg1.4
-  'webcvs' => 'web svn', //cpg1.4
-  'writable' => 'writable', //cpg1.4
-  'not_writable' => 'not writable', //cpg1.4
-  'help' => 'Help', //cpg1.4
-  'help_file_not_exist_optional1' => 'file/folder does not exist', //cpg1.4
-  'help_file_not_exist_optional2' => 'The file/folder %s has not been found on your server. Although it is optional you should upload it (using your FTP client) to your webserver if you are experiencing problems.', //cpg1.4
-  'help_file_not_exist_mandatory1' => 'file/folder does not exist', //cpg1.4
-  'help_file_not_exist_mandatory2' => 'The file/folder %s has not been found on your server, although it is mandatory. Upload the file to your webserver (using your FTP client).', //cpg1.4
-  'help_no_local_version1' => 'No local file version', //cpg1.4
-  'help_no_local_version2' => 'The script was unable to extract a local file version - your file is either outdated or you have modified it, removing the header information on the way. Updating the file is recommended.', //cpg1.4
-  'help_local_version_outdated1' => 'Local version outdated', //cpg1.4
-  'help_local_version_outdated2' => 'Your version of this file seems to be from an older version of Coppermine (you probably upgraded). Make sure to update this file as well.', //cpg1.4
-  'help_local_version_na1' => 'Unable to extract cvs version info', //cpg1.4
-  'help_local_version_na2' => 'The script could not determine what cvs version the file on your webserver is. You should upload the file from your package.', //cpg1.4
-  'help_local_version_dev1' => 'Development version', //cpg1.4
-  'help_local_version_dev2' => 'The file on your webserver seems to be newer than your Coppermine version. You are either using a development file (you should only do so if you know what you are doing), or you have upgraded your Coppermine install and not uploaded include/init.inc.php', //cpg1.4
-  'help_not_writable1' => 'Folder not writable', //cpg1.4
-  'help_not_writable2' => 'Change file permissions (CHMOD) to grant the script write access to the folder %s and everything within it.', //cpg1.4
-  'help_writable1' => 'Folder writable', //cpg1.4
-  'help_writable2' => 'The folder %s is writable. This is an unnecessary risk, coppermine only needs read/execute access.', //cpg1.4
-  'help_writable_undetermined' => 'Coppermine was not able to determine wether the folder is writable.', //cpg1.4
-  'your_file' => 'your file', //cpg1.4
-  'reference_file' => 'reference file', //cpg1.4
-  'summary' => 'Summary', //cpg1.4
-  'total' => 'Total files/folders checked', //cpg1.4
-  'mandatory_files_missing' => 'Mandatory files missing', //cpg1.4
-  'optional_files_missing' => 'Optional files missing', //cpg1.4
-  'files_from_older_version' => 'Files left over from outdated Coppermine version', //cpg1.4
-  'file_version_outdated' => 'Outdated file versions', //cpg1.4
-  'error_no_data' => 'The script made a boo, it was not able to retrieve any information. Sorry for the inconvenience.', //cpg1.4
-  'go_to_webcvs' => 'go to %s', //cpg1.4
-  'options' => 'Options', //cpg1.4
-  'show_optional_files' => 'show optional folders/files', //cpg1.4
-  'show_mandatory_files' => 'show mandatory files', //cpg1.4
-  'show_file_versions' => 'show file versions', //cpg1.4
-  'show_errors_only' => 'show folders/files with errors only', //cpg1.4
-  'show_permissions' => 'show folder permissions', //cpg1.4
-  'show_condensed_output' => 'show condensed ouput (for easier screenshots)', //cpg1.4
-  'coppermine_in_webroot' => 'coppermine is installed in the webroot', //cpg1.4
-  'connect_online_repository' => 'try connecting to the online repository', //cpg1.4
-  'show_additional_information' => 'show additional information', //cpg1.4
-  'no_webcvs_link' => 'don\'t display web svn link', //cpg1.4
-  'stable_webcvs_link' => 'display web svn link to stable branch', //cpg1.4
-  'devel_webcvs_link' => 'display web svn link to devel branch', //cpg1.4
-  'submit' => 'apply changes / refresh', //cpg1.4
-  'reset_to_defaults' => 'reset to default values', //cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File view_log.php  //cpg1.4
-// ------------------------------------------------------------------------- //
-
-if (defined('VIEWLOG_PHP')) $lang_viewlog_php = array(
-  'delete_all' => 'Vymazať všetky logy', //cpg1.4
-  'delete_this' => 'Vymazať tento log', //cpg1.4
-  'view_logs' => 'Zobraziť logy', //cpg1.4
-  'no_logs' => 'Nie sú žiadne logy vytvorené.', //cpg1.4
-);
-
-
-// ------------------------------------------------------------------------- //
-// File xp_publish.php //cpg1.4
-// ------------------------------------------------------------------------- //
-
-if (defined('XP_PUBLISH_PHP')) {
-
-$lang_xp_publish_client = <<<EOT
-<h1>XP Web Publishing Wizard Client</h1><p>This module allows to use <b>Windows XP</b> web publishing wizard with Coppermine.</p><p>Code is based on article posted by
-EOT;
-
-$lang_xp_publish_required = <<<EOT
-<h2>What is required</h2><ul><li>Windows XP in order to have the wizard.</li><li>A working installation of Coppermine on which <b>the web upload function works properly.</b></li></ul><h2>How to install on client side</h2><ul><li>Right click on
-EOT;
-
-$lang_xp_publish_select = <<<EOT
-Select &quot;save target as..&quot;. Save the file on your hard drive. When saving the file, check that the proposed file name is <b>cpg_###.reg</b> (the ### represents a numerical timestamp). Change it to that name if necessary (leave the numbers). When downloaded, double click on the file in order to register your server with the web publishing wizard.</li></ul>
-EOT;
-
-$lang_xp_publish_testing = <<<EOT
-<h2>Testing</h2><ul><li>In Windows Explorer, select some files and click on <b>Publish xxx on the web</b> in the left pane.</li><li>Confirm your file selection. Click on <b>Next</b>.</li><li>In the list of services that appear, select the one for your photo gallery (it has the name of your gallery). If the service does not appear, check that you have installed <b>cpg_pub_wizard.reg</b> as described above.</li><li>Input your login information if required.</li><li>Select the target album for your pictures or create a new one.</li><li>Click on <b>next</b>. The upload of your pictures starts.</li><li>When it is completed, check your gallery to see if pictures have been properly added.</li></ul>
-EOT;
-
-$lang_xp_publish_notes = <<<EOT
-<h2>Notes :</h2><ul><li>Once the upload has started, the wizard can't display any error message returned by the script so you can't know if the upload failed or succeeded until you check your gallery.</li><li>If the upload fails, enable &quot;Debug mode&quot; on the Coppermine admin page, try with one single picture and check error messages in the
-EOT;
-
-$lang_xp_publish_flood = <<<EOT
-file that is located in Coppermine directory on your server.</li><li>In order to avoid that the gallery be <i>flooded</i> by pictures uploaded through the wizard, only the <b>gallery admins</b> and <b>users that can have their own albums</b> can use this feature.</li>
-EOT;
-
-
-
-$lang_xp_publish_php = array(
-  'title' => 'Coppermine - XP Web Publishing Wizard', //cpg1.4
-  'welcome' => 'Welcome <b>%s</b>,', //cpg1.4
-  'need_login' => 'You need to login to the gallery using your web browser before you can use this wizard.<p/><p>When you login don\'t forget to select the <b>remember me</b> option if it is present.', //cpg1.4
-  'no_alb' => 'Sorry but there is no album where you are allowed to upload pictures with this wizard.', //cpg1.4
-  'upload' => 'Upload your pictures into an existing album', //cpg1.4
-  'create_new' => 'Create a new album for your pictures', //cpg1.4
-  'album' => 'Album', //cpg1.4
-  'category' => 'Category', //cpg1.4
-  'new_alb_created' => 'Your new album &quot;<b>%s</b>&quot; was created.', //cpg1.4
-  'continue' => 'Press &quot;Next&quot; to start to upload your pictures', //cpg1.4
-  'link' => 'this link', //cpg1.4
-);
-}
+<?php
+/*************************
+  Coppermine Photo Gallery
+  ************************
+  Copyright (c) 2003-2009 Coppermine Dev Team
+  v1.1 originally written by Gregory DEMAR
+
+  This program is free software; you can redistribute it and/or modify
+  it under the terms of the GNU General Public License version 3
+  as published by the Free Software Foundation.
+  
+  ********************************************
+  Coppermine version: 1.4.25
+  $HeadURL: https://coppermine.svn.sourceforge.net/svnroot/coppermine/trunk/cpg1.4.x/lang/slovak.php $
+  $Revision: 5997 $
+  $Author: gaugau $
+  $Date: 2009-05-26 08:43:24 +0200 (Di, 26 Mai 2009) $
+**********************************************/
+
+if (!defined('IN_COPPERMINE')) { die('Not in Coppermine...');}
+
+// info about translators and translated language
+$lang_translation_info = array(
+  'lang_name_english' => 'Slovak', //cpg1.4
+  'lang_name_native' => 'Slovensky', //cpg1.4
+  'lang_country_code' => 'sk', //cpg1.4
+  'trans_name'=> 'Piranha',
+  'trans_email' => 'rc@rc.sk',
+  'trans_website' => 'http://www.kravata.sk',
+  'trans_date' => '2006-02-02',
+);
+
+$lang_charset = 'utf-8';
+$lang_text_dir = 'ltr'; // ('ltr' for left to right, 'rtl' for right to left)
+
+// shortcuts for Byte, Kilo, Mega
+$lang_byte_units = array('Bytov', 'KB', 'MB');
+
+// Day of weeks and months
+$lang_day_of_week = array('Ne', 'Po', 'Ut', 'St', 'Št', 'Pi', 'So');
+$lang_month = array('Január', 'Február', 'Marec', 'Apríl', 'Máj', 'Jún', 'Júl', 'August', 'September', 'Október', 'November', 'December');
+
+// Some common strings
+$lang_yes = 'Áno';
+$lang_no  = 'Nie';
+$lang_back = 'SPÄŤ';
+$lang_continue = 'POKRAČOVAŤ';
+$lang_info = 'Informácia';
+$lang_error = 'Chyba';
+$lang_check_uncheck_all = 'označ/odznač všetko'; //cpg1.4
+
+// The various date formats
+// See http://www.php.net/manual/en/function.strftime.php to define the variable below
+$album_date_fmt =    '%B %d, %Y';
+$lastcom_date_fmt =  '%m/%d/%y at %H:%M';
+$lastup_date_fmt = '%B %d, %Y';
+$register_date_fmt = '%B %d, %Y';
+$lasthit_date_fmt = '%B %d, %Y at %I:%M %p';
+$comment_date_fmt =  '%B %d, %Y at %I:%M %p';
+$log_date_fmt = '%B %d, %Y at %I:%M %p'; //cpg1.4
+
+// For the word censor
+$lang_bad_words = array('*fuck*', 'asshole', 'assramer', 'bitch*', 'c0ck', 'clits', 'Cock', 'cum', 'cunt*', 'dago', 'daygo', 'dego', 'dick*', 'dildo', 'fanculo', 'feces', 'foreskin', 'Fu\(*', 'fuk*', 'honkey', 'hore', 'injun', 'kike', 'lesbo', 'masturbat*', 'motherfucker', 'nazis', 'nigger*', 'nutsack', 'penis', 'phuck', 'poop', 'pussy', 'scrotum', 'shit', 'slut', 'titties', 'titty', 'twaty', 'wank*', 'whore', 'wop*', 'piča', 'hovno', '*fuck*', 'prdel', 'čurák', 'bitch*', 'c0ck', 'clits', 'Cock', 'cum', 'cunt*', 'dago', 'daygo', 'dego', 'dick*', 'dildo', 'fanculo', 'feces', 'foreskin', 'Fu\(*', 'fuk*', 'honkey', 'hore', 'injun', 'kike', 'lesbo', 'masturbat*', 'motherfucker', 'nazis', 'nigger*', 'nutsack', 'penis', 'phuck', 'poop', 'pussy', 'scrotum', 'shit', 'slut', 'titties', 'titty', 'twaty', 'wank*', 'whore', 'wop*', 'kokot');
+
+$lang_meta_album_names = array(
+  'random' => 'Náhodné súbory',
+  'lastup' => 'Najnovšie pridané',
+  'lastalb'=> 'Naposledy aktualizovaná galéria',
+  'lastcom' => 'Najnovšie komentáre',
+  'topn' => 'Najprezeranejšie',
+  'toprated' => 'Najvyššie hodnotené',
+  'lasthits' => 'Naposledy zobrazené',
+  'search' => 'Výsledky hľadania',
+  'favpics'=> 'Obľúbené súbory',  //cpg1.4
+);
+
+$lang_errors = array(
+  'access_denied' => 'Nemáte oprávnenie pre vstup na túto stránku.',
+  'perm_denied' => 'Nemáte oprávnenie vykonať túto operáciu.',
+  'param_missing' => 'Skript vyvolaný bez potrebných parametrov.',
+  'non_exist_ap' => 'Zvolený album/súbor neexistuje !',
+  'quota_exceeded' => 'Vyčerpali ste miesto na disku.<br /><br />Vaša kvóta je[quota]K, Vaše súbory zaberajú [space]K, pridaním tohto súboru by ste svoju kvótu prekročili.',
+  'gd_file_type_err' => 'Ak používate GD knižnicu sú podporované len obrázky JPG a PNG.',
+  'invalid_image' => 'Tento obrázok je poškodený/porušený alebo GD knihovňa s ním nemôže pracovať.',
+  'resize_failed' => 'Nemožno vytvoriť náhľad alebo zmenšený obrázok.',
+  'no_img_to_display' => 'Žiadny obrázok k zobrazeniu',
+  'non_exist_cat' => 'Zvolená kategória neexistuje',
+  'orphan_cat' => 'Táto kategória nemá nadradenú kategóriu. Problém opravte cez nastavenie kategorií!',
+  'directory_ro' => 'Do adresára \'%s\' nemožno zapisovať, súbor nemožno zmazať.',
+  'non_exist_comment' => 'Zvolený komentár neexistuje.',
+  'pic_in_invalid_album' => 'Súbor je v neexistujúcom albume (%s)!?',
+  'banned' => 'Momentálne máte zakázaný prístup k týmto stránkam.',
+  'not_with_udb' => 'Táto funkcia je vypnutá pretože je integrovaná vo fóre. Buď nie je požadovaná fukcia dostupná na tomto systéme, alebo túto funkciu plní fórum..',
+  'offline_title' => 'Odpojené',
+  'offline_text' => 'Galéria je momentálne nedostupná - skúste neskôr.',
+  'ecards_empty' => 'Teraz nie sú žiadne e-pohľadnice k zobrazeniu.',
+  'action_failed' => 'Akcia zlyhala. Galéria nie je schopná vašu požiadavku vykonať.',
+  'no_zip' => 'Knižnice potrebné pre zpracovanie ZIP súborov nie sú dostupné.  Prosím kontaktujte Vášho administrátora galérie.',
+  'zip_type' => 'Nemáte oprávnenie pridávať ZIP súbory.',
+  'database_query' => 'Vyskytla sa chyba pri spracovávaní databázovej požiadavky.', //cpg1.4
+  'register_globals_on' => 'The PHP setting register_globals is enabled on your server, which is a bad idea in terms of security. It\'s strongly recommended to turn it off. [<a href="http://forum.coppermine-gallery.net/index.php/topic,59569.0.html" rel="external" class="external">more</a>]',
+);
+
+$lang_bbcode_help_title = 'bbcode pomoc'; //cpg1.4
+$lang_bbcode_help = 'Môžete pridať klikateľné linky a formátovanie použitím bbcode tagov: <li>[b]Bold[/b] =&gt; <b>Bold</b></li><li>[i]Italic[/i] =&gt; <i>Italic</i></li><li>[url=http://yoursite.com/]Url Text[/url] =&gt; <a href="http://yoursite.com">Url Text</a></li><li>[email]user@domain.com[/email] =&gt; <a href="mailto:user@domain.com">user@domain.com</a></li><li>[color=red]some text[/color] =&gt; <span style="color:red">some text</span></li><li>[img]http://coppermine-gallery.net/demo/cpg14x/images/red.gif[/img] => <img src="../images/red.gif" border="0" alt="" /></li>'; //cpg1.4
+
+// ------------------------------------------------------------------------- //
+// File theme.php
+// ------------------------------------------------------------------------- //
+
+$lang_main_menu = array(
+  'home_title' => 'Choď na hlavnú stránku',
+  'home_lnk' => 'Domov',
+  'alb_list_title' => 'Choď na zoznam albumov',
+  'alb_list_lnk' => 'Zoznam albumov',
+  'my_gal_title' => 'Choď do osobnej galérie',
+  'my_gal_lnk' => 'Moja galéria',
+  'my_prof_title' => 'Choď na môj profil', //cpg1.4
+  'my_prof_lnk' => 'Môj profil',
+  'adm_mode_title' => 'Prepnúť do admin módu',
+  'adm_mode_lnk' => 'Admin mód',
+  'usr_mode_title' => 'Prepnúť do užívateľského módu',
+  'usr_mode_lnk' => 'Užívateľský mód',
+  'upload_pic_title' => 'Pridať súbor do albumu',
+  'upload_pic_lnk' => 'Pridať súbor',
+  'register_title' => 'Vytvoriť účet',
+  'register_lnk' => 'Registruj',
+  'login_title' => 'Prihlás ma', //cpg1.4
+  'login_lnk' => 'Prihlásiť',
+  'logout_title' => 'Odhlás ma', //cpg1.4
+  'logout_lnk' => 'Odhlásiť',
+  'lastup_title' => 'Zobraz najnovšie pridané', //cpg1.4
+  'lastup_lnk' => 'Najnovšie pridané',
+  'lastcom_title' => 'Zobraz najnovšie komentáre', //cpg1.4
+  'lastcom_lnk' => 'Najnovšie komentáre',
+  'topn_title' => 'Zobraz najprezeranejšie', //cpg1.4
+  'topn_lnk' => 'Najprezeranejšie',
+  'toprated_title' => 'Zobraz najvyššie hodnotené', //cpg1.4
+  'toprated_lnk' => 'Najvyššie hodnotené',
+  'search_title' => 'Hľadaj v galérii', //cpg1.4
+  'search_lnk' => 'Hľadať',
+  'fav_title' => 'Choď do mojich obľúbených', //cpg1.4
+  'fav_lnk' => 'Moje obľúbené',
+  'memberlist_title' => 'Zobraz členov',
+  'memberlist_lnk' => 'Zoznam členov',
+  'faq_title' => 'Často kladené otázky na galériu &quot;Coppermine&quot;',
+  'faq_lnk' => 'FAQ',
+);
+
+$lang_gallery_admin_menu = array(
+  'upl_app_title' => 'Schváliť pridanie súboru', //cpg1.4
+  'upl_app_lnk' => 'Potvrdiť pridanie',
+  'admin_title' => 'Choď do konfigurácie galérie', //cpg1.4
+  'admin_lnk' => 'Konfigurácia', //cpg1.4
+  'albums_title' => 'Choď do konfigurácie albumov', //cpg1.4
+  'albums_lnk' => 'Albumy',
+  'categories_title' => 'Choď do konfigurácie kategórií', //cpg1.4
+  'categories_lnk' => 'Kategórie',
+  'users_title' => 'Choď do konfigurácie členov', //cpg1.4
+  'users_lnk' => 'Členovia',
+  'groups_title' => 'Choď do konfigurácie skupín', //cpg1.4
+  'groups_lnk' => 'Skupiny',
+  'comments_title' => 'Prezerať komentáre', //cpg1.4
+  'comments_lnk' => 'Prezerať komentáre',
+  'searchnew_title' => 'Choď na hromadné pridanie súborov', //cpg1.4
+  'searchnew_lnk' => 'Hromadné pridanie',
+  'util_title' => 'Choď do administračného menu', //cpg1.4
+  'util_lnk' => 'Administrácia',
+  'key_title' => 'Choď do zoznamu kľúčových slov', //cpg1.4
+  'key_lnk' => 'Kľúčové slová', //cpg1.4
+  'ban_title' => 'Choď do zoznamu zakázaných členov', //cpg1.4
+  'ban_lnk' => 'Zakáž člena',
+  'db_ecard_title' => 'Prezrieť e-pohľadnice', //cpg1.4
+  'db_ecard_lnk' => 'Zobraziť e-pohľadnice',
+  'pictures_title' => 'Usporiadať moje obrázky', //cpg1.4
+  'pictures_lnk' => 'Usporiadať obrázky', //cpg1.4
+  'documentation_lnk' => 'Dokumentácia', //cpg1.4
+  'documentation_title' => 'Coppermine manuál', //cpg1.4
+);
+
+$lang_user_admin_menu = array(
+  'albmgr_title' => 'Vytvoriť a usporiadať albumy', //cpg1.4
+  'albmgr_lnk' => 'Vytvoriť/usporiadať albumy',
+  'modifyalb_title' => 'Choď na úpravu albumov',  //cpg1.4
+  'modifyalb_lnk' => 'Úprava albumov',
+  'my_prof_title' => 'Choď na úpravu môjho profilu', //cpg1.4
+  'my_prof_lnk' => 'Môj profil',
+);
+
+$lang_cat_list = array(
+  'category' => 'Kategórie',
+  'albums' => 'Albumy',
+  'pictures' => 'Súbory',
+);
+
+$lang_album_list = array(
+  'album_on_page' => '%d albumov na %d stránkach',
+);
+
+$lang_thumb_view = array(
+  'date' => 'DÁTUM',
+  //Sort by filename and title
+  'name' => 'MENO SÚBORU',
+  'title' => 'NADPIS',
+  'sort_da' => 'Zoradiť vzostupne podľa dátumu',
+    'sort_dd' => 'Zoradiť zostupne podľa dátumu',
+    'sort_na' => 'Zoradiť vzostupne podľa mena',
+    'sort_nd' => 'Zoradiť zostupne podľa mena',
+    'sort_ta' => 'Zoradiť vzostupne podľa nadpisu',
+    'sort_td' => 'Zoradiť zostupne podľa nadpisu',
+  'position' => 'UMIESTNENIE', //cpg1.4
+  'sort_pa' => 'Zoradiť vzostupne podľa umiestnenia', //cpg1.4
+  'sort_pd' => 'Zoradiť zostupne podľa umiestnenia', //cpg1.4
+  'download_zip' => 'Stiahnuť ako Zip súbor',
+  'pic_on_page' => '%d súborov na %d stránkach',
+  'user_on_page' => '%d užívateľov na %d stránkach',
+  'enter_alb_pass' => 'Zadajte heslo pre album', //cpg1.4
+  'invalid_pass' => 'Neplatné heslo', //cpg1.4
+  'pass' => 'Heslo', //cpg1.4
+  'submit' => 'Potvrdiť', //cpg1.4
+);
+
+$lang_img_nav_bar = array(
+  'thumb_title' => 'Návrat na stránku náhľadov',
+  'pic_info_title' => 'Zobraziť/schovať informácie o súbore',
+  'slideshow_title' => 'Slideshow - automatické posúvanie obrázkov',
+  'ecard_title' => 'Pošli súbor ako e-pohľadnicu ',
+  'ecard_disabled' => 'zasielanie e-pohľadníc je vypnuté',
+  'ecard_disabled_msg' => 'Nemáte oprávnenie na posielanie e-pohľadníc', //js-alert
+  'prev_title' => 'Pozri predchádzajúci súbor',
+  'next_title' => 'Pozri ďaľší súbor',
+  'pic_pos' => 'SÚBOR %s/%s',
+  'report_title' => 'Upozorni administrátora na tento súbor', //cpg1.4
+  'go_album_end' => 'Skoč na koniec', //cpg1.4
+  'go_album_start' => 'Skoč na začiatok', //cpg1.4
+  'go_back_x_items' => 'choď späť o %s položku/y', //cpg1.4
+  'go_forward_x_items' => 'choď vpred o %s položku/y', //cpg1.4
+);
+
+$lang_rate_pic = array(
+  'rate_this_pic' => 'Hodnotiť tento súbor ',
+  'no_votes' => '(zatiaľ nehodnotené)',
+  'rating' => '(Aktuálne hodnotenie : %s / 5 hlasované %s krát)',
+  'rubbish' => 'Odpad',
+  'poor' => 'Slabý',
+  'fair' => 'Dá sa vydržať',
+  'good' => 'Dobrý',
+  'excellent' => 'Výborný',
+  'great' => 'Dokonalý',
+);
+
+// ------------------------------------------------------------------------- //
+// File include/exif.inc.php
+// ------------------------------------------------------------------------- //
+
+// void
+
+// ------------------------------------------------------------------------- //
+// File include/functions.inc.php
+// ------------------------------------------------------------------------- //
+
+$lang_cpg_die = array(
+  INFORMATION => $lang_info,
+  ERROR => $lang_error,
+  CRITICAL_ERROR => 'Kritická chyba',
+  'file' => 'Súbor: ',
+  'line' => 'Riadok: ',
+);
+
+$lang_display_thumbnails = array(
+  'filename' => 'Meno súboru=', //cpg1.4
+  'filesize' => 'Veľkost súboru=', //cpg1.4
+  'dimensions' => 'Rozmery=', //cpg1.4
+  'date_added' => 'Dátum pridania=', //cpg1.4
+);
+
+$lang_get_pic_data = array(
+  'n_comments' => '%s komentár(ov)',
+  'n_views' => '%s zobrazení',
+  'n_votes' => '(%s hlas(ov))',
+);
+
+$lang_cpg_debug_output = array(
+  'debug_info' => 'Informácia o chybách',
+  'select_all' => 'Vybrať všetko',
+  'copy_and_paste_instructions' => 'Pokiaľ sa chystáte požadovať pomoc u podpory coppermine, vložte tento ladiaci výstup do vášho príspevku. Pred takýmto vložením sa uistite, že ste všetky vaše heslá z tohto textu nahradili pomocou "***". <br /> Toto je len informácia, neznamená to chybu vo Vašej galérii.', //cpg1.4
+  'phpinfo' => 'zobraziť phpinfo',
+  'notices' => 'Oznamy', //cpg1.4
+);
+
+$lang_language_selection = array(
+  'reset_language' => 'Prednastavený jazyk',
+  'choose_language' => 'Vyberte si Váš jazyk',
+);
+
+$lang_theme_selection = array(
+  'reset_theme' => 'Prednastavená téma',
+  'choose_theme' => 'Vyberte tému',
+);
+
+$lang_version_alert = array(
+  'version_alert' => 'Nepodporovaná verzia!', //cpg1.4
+  'security_alert' => 'Bezpečnostná výstraha!', //cpg1.4.3
+  'relocate_exists' => 'Odstráňte <a href="http://coppermine-gallery.net/forum/index.php?topic=24217.0">relocate_server.php</a> z vašich stránok!',
+  'no_stable_version' => 'Prevádzkujete verziu Coppermine %s (%s) ,ktorá je len pre veľmi skúsených užívateľov - táto verzia je bez podpory a záruky. použitie je na vlastnú zodpovednosť a nebezpečie!', //cpg1.4
+  'gallery_offline' => 'Galéria je momentálne offline a je viditeľná len pre administrátorov. Nezabudnite ju pripojiť online po ukončení údržby.', //cpg1.4
+);
+
+$lang_create_tabs = array(
+  'previous' => 'predchádzajúci', //cpg1.4
+  'next' => 'ďaľší', //cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File include/init.inc.php
+// ------------------------------------------------------------------------- //
+
+// void
+
+// ------------------------------------------------------------------------- //
+// File keyword.inc.php                                                      //
+// ------------------------------------------------------------------------- //
+
+// void
+
+// ------------------------------------------------------------------------- //
+// File include/picmgmt.inc.php
+// ------------------------------------------------------------------------- //
+
+// void
+
+// ------------------------------------------------------------------------- //
+// File include/plugin_api.inc.php
+// ------------------------------------------------------------------------- //
+$lang_plugin_api = array(
+  'error_wakeup' => "Nemôžem použiť zásuvný modul '%s'", //cpg1.4
+  'error_install' => "Nemôžem inštalovať zásuvný modul '%s'", //cpg1.4
+  'error_uninstall' => "Nemôžem odinštalovať zásuvný modul '%s'", //cpg1.4
+  'error_sleep' => "Nemôžem odinštalovať zásuvný modul '%s'<br />", //cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File include/smilies.inc.php
+// ------------------------------------------------------------------------- //
+
+if (defined('SMILIES_PHP')) $lang_smilies_inc_php = array(
+  'Exclamation' => 'Exclamation',
+  'Question' => 'Question',
+  'Very Happy' => 'Very Happy',
+  'Smile' => 'Smile',
+  'Sad' => 'Sad',
+  'Surprised' => 'Surprised',
+  'Shocked' => 'Shocked',
+  'Confused' => 'Confused',
+  'Cool' => 'Cool',
+  'Laughing' => 'Laughing',
+  'Mad' => 'Mad',
+  'Razz' => 'Razz',
+  'Embarassed' => 'Embarassed',
+  'Crying or Very sad' => 'Crying or Very sad',
+  'Evil or Very Mad' => 'Evil or Very Mad',
+  'Twisted Evil' => 'Twisted Evil',
+  'Rolling Eyes' => 'Rolling Eyes',
+  'Wink' => 'Wink',
+  'Idea' => 'Idea',
+  'Arrow' => 'Arrow',
+  'Neutral' => 'Neutral',
+  'Mr. Green' => 'Mr. Green',
+);
+
+// ------------------------------------------------------------------------- //
+// File addpic.php
+// ------------------------------------------------------------------------- //
+
+// void
+
+// ------------------------------------------------------------------------- //
+// File mode.php //cpg1.4
+// ------------------------------------------------------------------------- //
+
+if (defined('MODE_PHP')) $lang_mode_php = array(
+  0 => 'Opúšťam admin mód ...',
+  1 => 'Aktivujem admin mód...',
+);
+
+// ------------------------------------------------------------------------- //
+// File albmgr.php
+// ------------------------------------------------------------------------- //
+
+if (defined('ALBMGR_PHP')) $lang_albmgr_php = array(
+  'alb_need_name' => 'Album musí mať meno !', //js-alert
+  'confirm_modifs' => 'Chcete vykonať tieto zmeny ?', //js-alert
+  'no_change' => 'Nevykonali sa žiadne zmeny !', //js-alert
+  'new_album' => 'Nový album',
+  'confirm_delete1' => 'Určite chcete zmazať tento album ?', //js-alert
+  'confirm_delete2' => '\nVšetky súbory a komentáre budú stratené !', //js-alert
+  'select_first' => 'Najprv vyberte album', //js-alert
+  'alb_mrg' => 'Správca albumov',
+  'my_gallery' => '* Moja galéria *',
+  'no_category' => '* Žiadna kategória *',
+  'delete' => 'Odstrániť',
+  'new' => 'Nový',
+  'apply_modifs' => 'Vykonať zmeny',
+  'select_category' => 'Vybrať kategóriu',
+);
+
+// ------------------------------------------------------------------------- //
+// File banning.php
+// ------------------------------------------------------------------------- //
+
+if (defined('BANNING_PHP')) $lang_banning_php = array(
+  'title' => 'Zakáž člena', //cpg1.4
+  'user_name' => 'Meno', //cpg1.4
+  'ip_address' => 'IP Adresa', //cpg1.4
+  'expiry' => 'Expiruje (prázdne znamená nastálo)', //cpg1.4
+  'edit_ban' => 'Ulož zmeny', //cpg1.4
+  'delete_ban' => 'Zmazať', //cpg1.4
+  'add_new' => 'Pridaj nový zákaz', //cpg1.4
+  'add_ban' => 'Pridaj', //cpg1.4
+  'error_user' => 'Nemožno nájsť člena', //cpg1.4
+  'error_specify' => 'Je nutné zadať meno člena alebo IP Adresu', //cpg1.4
+  'error_ban_id' => 'Nesprávne ID!', //cpg1.4
+  'error_admin_ban' => 'Nemožno zakázať sám seba!', //cpg1.4
+  'error_server_ban' => 'Chcete zakázať vlastný server? To sa nedá ...', //cpg1.4
+  'error_ip_forbidden' => 'Nemožno zakázať túto IP - určite nie je trasovateľna !<br />If you want to allow banning for private IPs, change this in your <a href="admin.php">Config</a> (only makes sense when Coppermine runs on a LAN).', //cpg1.4
+  'lookup_ip' => 'Vyhľadávanie IP adresy', //cpg1.4
+  'submit' => 'vykonať!', //cpg1.4
+  'select_date' => 'vybrať dátum', //cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File bridgemgr.php //cpg1.4
+// ------------------------------------------------------------------------- //
+
+if (defined('BRIDGEMGR_PHP')) $lang_bridgemgr_php = array(
+  'title' => 'Bridge Wizard',
+  'warning' => 'Warning: when using this wizard you have to understand that sensitive data is being sent using html forms. Only run it on your own PC (not on a public client like an internet cafe), and make sure to clear the browser cache and temporary files after you have finished, or others might be able to access your data!',
+  'back' => 'back',
+  'next' => 'next',
+  'start_wizard' => 'Start bridging wizard',
+  'finish' => 'Finish',
+  'hide_unused_fields' => 'hide unused form fields (recommended)',
+  'clear_unused_db_fields' => 'clear invalid database entries (recommended)',
+  'custom_bridge_file' => 'your custom bridge file\'s name (if the bridge file\'s name is <i>myfile.inc.php</i>, enter <i>myfile</i> into this field)',
+  'no_action_needed' => 'No action needed in this step. Just click \'next\' to continue.',
+  'reset_to_default' => 'Reset to default value',
+  'choose_bbs_app' => 'choose application to bridge coppermine with',
+  'support_url' => 'Go here for support on this application',
+  'settings_path' => 'path(s) used by your BBS app',
+  'database_connection' => 'database connection',
+  'database_tables' => 'database tables',
+  'bbs_groups' => 'BBS groups',
+  'license_number' => 'License number',
+  'license_number_explanation' => 'enter your license number (if applicable)',
+  'db_database_name' => 'Database name',
+  'db_database_name_explanation' => 'Enter the name of the database your BBS app uses',
+  'db_hostname' => 'Database host',
+  'db_hostname_explanation' => 'Hostname where your mySQL database resides, usually &quot;localhost&quot;',
+  'db_username' => 'Database user account',
+  'db_username_explanation' => 'mySQL user account to use for connection with BBS',
+  'db_password' => 'Database passsword',
+  'db_password_explanation' => 'Passsword for this mySQL user account',
+  'full_forum_url' => 'Forum URL',
+  'full_forum_url_explanation' => 'Full URL of your BBS app (including the leading http:// bit, e.g. http://www.yourdomain.tld/forum)',
+  'relative_path_of_forum_from_webroot' => 'Relative forum path',
+  'relative_path_of_forum_from_webroot_explanation' => 'Relative path to your BBS app from the webroot (Example: if your BBS is at http://www.yourdomain.tld/forum/, enter &quot;/forum/&quot; into this field)',
+  'relative_path_to_config_file' => 'Relative path to your BBS\'s config file',
+  'relative_path_to_config_file_explanation' => 'Relative path to your BBS, seen from your Coppermine folder (e.g. &quot;../forum/&quot; if your BBS is at http://www.yourdomain.tld/forum/ and Coppermine at http://www.yourdomain.tld/gallery/)',
+  'cookie_prefix' => 'Cookie prefix',
+  'cookie_prefix_explanation' => 'this has to be your BBS\'s cookie name',
+  'table_prefix' => 'Table prefix',
+  'table_prefix_explanation' => 'Must match the prefix you chose for your BBS when setting it up.',
+  'user_table' => 'User table',
+  'user_table_explanation' => '(usually default value should be OK, unless your BBS install isn\'t standard)',
+  'session_table' => 'Session table',
+  'session_table_explanation' => '(usually default value should be OK, unless your BBS install isn\'t standard)',
+  'group_table' => 'Group table',
+  'group_table_explanation' => '(usually default value should be OK, unless your BBS install isn\'t standard)',
+  'group_relation_table' => 'Group relation table',
+  'group_relation_table_explanation' => '(usually default value should be OK, unless your BBS install isn\'t standard)',
+  'group_mapping_table' => 'Group mapping table',
+  'group_mapping_table_explanation' => '(usually default value should be OK, unless your BBS install isn\'t standard)',
+  'use_standard_groups' => 'Use standard BBS usergroups',
+  'use_standard_groups_explanation' => 'Use standard (built-in) usergroups (recommended). This will make all custom usergroups settings made on this page become void. Only disable this option if you REALLY know what you\'re doing!',
+  'validating_group' => 'Validating group',
+  'validating_group_explanation' => 'The group ID of your BBS where users accounts that need validation are in (usually default value should be OK, unless your BBS install isn\'t standard)',
+  'guest_group' => 'Guest group',
+  'guest_group_explanation' => 'Group ID of your BBS where guests (anonymous users) are in (default value should be OK, only edit if you know what you\'re doing)',
+  'member_group' => 'Member group',
+  'member_group_explanation' => 'Group ID of your BBS where &quot;regular&quot; users accounts are in (default value should be OK, only edit if you know what you\'re doing)',
+  'admin_group' => 'Admin group',
+  'admin_group_explanation' => 'Group ID of your BBS where admins are in (default value should be OK, only edit if you know what you\'re doing)',
+  'banned_group' => 'Banned group',
+  'banned_group_explanation' => 'Group ID of your BBS where banned users are in (default value should be OK, only edit if you know what you\'re doing)',
+  'global_moderators_group' => 'Global moderators group',
+  'global_moderators_group_explanation' => 'Group ID of your BBS where global moderators of your BBS are in (default value should be OK, only edit if you know what you\'re doing)',
+  'special_settings' => 'BBS-specific settings',
+  'logout_flag' => 'phpBB version (logout flag)',
+  'logout_flag_explanation' => 'What\'s your BBS version (this setting specifies how logouts are being handled)',
+  'use_post_based_groups' => 'Use post-based groups?',
+  'logout_flag_yes' => '2.0.5 or higher',
+  'logout_flag_no' => '2.0.4 or lower',
+  'use_post_based_groups_explanation' => 'Should the groups from the BBS that are defined by the number of posts be taken into account (allows a granular permissions management) or just the default groups (makes administration easier, recommended). You can change this setting later as well.',
+  'use_post_based_groups_yes' => 'yes',
+  'use_post_based_groups_no' => 'no',
+  'error_title' => 'You need to correct these errors before you can continue. Go to the previous screen.',
+  'error_specify_bbs' => 'You have to specify what application you want to bridge your Coppermine install with.',
+  'error_no_blank_name' => 'You can\'t leave the name of your custom bridge file blank.',
+  'error_no_special_chars' => 'The bridge file name mustn\'t contain any special chars except underscore (_) and dash (-)!',
+  'error_bridge_file_not_exist' => 'The bridge file %s doesn\'t exist on the server. Check if you have actually uploaded it.',
+  'finalize' => 'enable/disable BBS integration',
+  'finalize_explanation' => 'So far, the settings you specified have been written into the database, but BBS integration hasn\'t been enabled. You can switch integration on/off later at any time. Make sure to remember the admin username and password from standalone Coppermine, you might need it later to be able to make any changes. If anything goes wrong, go to %s and disable BBS integration there, using your standalone (unbridged) admin account (usually the one you set up during Coppermine install).',
+  'your_bridge_settings' => 'Your bridge settings',
+  'title_enable' => 'Enable integration/bridging with %s',
+  'bridge_enable_yes' => 'enable',
+  'bridge_enable_no' => 'disable',
+  'error_must_not_be_empty' => 'must not be empty',
+  'error_either_be' => 'must either be %s or %s',
+  'error_folder_not_exist' => '%s doesn\'t exist. Correct the value you entered for %s',
+  'error_cookie_not_readible' => 'Coppermine can\'t read a cookie named %s. Correct the value you entered for %s, or go to your BBS administration panel and make sure that the cookie path is readible for coppermine.',
+  'error_mandatory_field_empty' => 'You can not leave the field %s blank - fill in the proper value.',
+  'error_no_trailing_slash' => 'There mustn\'t be a trailing slash in the field %s.',
+  'error_trailing_slash' => 'There must be a trailing slash in the field %s.',
+  'error_db_connect' => 'Could not connect to the mySQL database with the data you specified. Here\'s what mySQL said:',
+  'error_db_name' => 'Although Coppermine could establish a connection, it wasn\'t able to find the database %s. Make sure you have specified %s properly. Here\'s what mySQL said:',
+  'error_prefix_and_table' => '%s and ',
+  'error_db_table' => 'Could not find the table %s. Make sure you have specified %s correctly.',
+  'recovery_title' => 'Bridge Manager: emergency recovery',
+  'recovery_explanation' => 'If you came here to administer the BBS integration of your Coppermine gallery, you have to log in first as admin. If you can not log in because bridging doesn\'t work as expected, you can disable BBS integration with this page. Entering your username and password will not log you in, it will only disable BBS integration. Refer to the documentation for details.',
+  'username' => 'Username',
+  'password' => 'Password',
+  'disable_submit' => 'submit',
+  'recovery_success_title' => 'Authorization successful',
+  'recovery_success_content' => 'You have successfully disabled BBS bridging. Your Coppermine install runs now in standalone mode.',
+  'recovery_success_advice_login' => 'Log in as admin to edit your bridge settings and/or enable BBS integration again.',
+  'goto_login' => 'Go to login page',
+  'goto_bridgemgr' => 'Go to bridge manager',
+  'recovery_failure_title' => 'Authorization failed',
+  'recovery_failure_content' => 'You supplied the wrong credentials. You will have to supply the admin account data of the standalone version (usually the account you set up during Coppermine install).',
+  'try_again' => 'try again',
+  'recovery_wait_title' => 'Wait time has not elapsed',
+  'recovery_wait_content' => 'For security reasons this script does not allow failed logons in short succession, so you will have to wait a bit untill you\'re allowed to try to authenticate.',
+  'wait' => 'wait',
+  'create_redir_file' => 'Create redirection file (recommended)',
+  'create_redir_file_explanation' => 'To redirect users back to Coppermine once they logged into your BBS, you need a redirection file to be created within your BBS folder. When this option is checked, the bridge manager will attempt to create this file for you, or give you code ready to copy-and-paste to create the file manually.',
+  'browse' => 'browse',
+);
+
+// ------------------------------------------------------------------------- //
+// File calendar.php //cpg1.4
+// ------------------------------------------------------------------------- //
+
+if (defined('CALENDAR_PHP')) $lang_calendar_php = array(
+  'title' => 'Kalendár', //cpg1.4
+  'close' => 'zatvoriť', //cpg1.4
+  'clear_date' => 'vymazať dátum', //cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File catmgr.php
+// ------------------------------------------------------------------------- //
+
+if (defined('CATMGR_PHP')) $lang_catmgr_php = array(
+  'miss_param' => 'Parametre potrebné pre \'%s\'operáciu nie su dostupné !',
+  'unknown_cat' => 'Vybraná kategória v databáze neexistuje',
+  'usergal_cat_ro' => 'Uživateľské kategórie nie je možné zmazať !',
+  'manage_cat' => 'Upraviť kategórie',
+  'confirm_delete' => 'Naozaj chcete VYMAZAŤ túto kategóriu', //js-alert
+  'category' => 'Kategória',
+  'operations' => 'Operácie',
+  'move_into' => 'Presunúť do',
+  'update_create' => 'Aktualizovať/Vytvoriť kategóriu',
+  'parent_cat' => 'Nadradená kategória',
+  'cat_title' => 'Názov kategórie',
+  'cat_thumb' => 'Miniatúra kategórie',
+  'cat_desc' => 'Popis kategórie',
+  'categories_alpha_sort' => 'Usporiadať kategórie abecedne (namiesto voliteľného)', //cpg1.4
+  'save_cfg' => 'Uložiť konfiguráciu', //cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File admin.php //cpg1.4
+// ------------------------------------------------------------------------- //
+
+if (defined('ADMIN_PHP')) $lang_admin_php = array(
+  'title' => 'Konfigurácia galérie', //cpg1.4
+  'manage_exif' => 'Spravuj Exif zobrazenie', //cpg1.4
+  'manage_plugins' => 'Spravuj zásuvné moduly', //cpg1.4
+  'manage_keyword' => 'Spravuj kľúčové slová', //cpg1.4
+  'restore_cfg' => 'Obnoviť východzie nastavenia',
+  'save_cfg' => 'Uložiť novú konfiguráciu',
+  'notes' => 'Poznámky',
+  'info' => 'Oznam',
+  'upd_success' => 'Konfigurácia bola aktualizovaná',
+  'restore_success' => 'Východzie nastavenia boli obnovené',
+  'name_a' => 'Meno vzostupne',
+  'name_d' => 'Meno zostupne',
+  'title_a' => 'Nadpis vzostupne',
+  'title_d' => 'Nadpis zostupne',
+  'date_a' => 'Dátum vzostupne',
+  'date_d' => 'Dátum zostupne',
+  'pos_a' => 'Pozícia vzostupne', //cpg1.4
+  'pos_d' => 'Pozícia zostupne', //cpg1.4
+  'th_any' => 'Max pomer',
+  'th_ht' => 'Výška',
+  'th_wd' => 'Šírka',
+  'label' => 'návesť',
+  'item' => 'vlajočky',
+  'debug_everyone' => 'Každý',
+  'debug_admin' => 'iba Admin',
+  'no_logs'=> 'Vyp.', //cpg1.4
+  'log_normal'=> 'Normal', //cpg1.4
+  'log_all' => 'Všetko', //cpg1.4
+  'view_logs' => 'Ukáž logy', //cpg1.4
+  'click_expand' => 'klikni pre rozbalenie', //cpg1.4
+  'expand_all' => 'Rozbaliť všetko', //cpg1.4
+  'notice1' => '(*) Tieto nastavenia netreba meniť ak už máte súbory uložené v databáze .', //cpg1.4 - (relocated)
+  'notice2' => '(**) Meniť tieto nastavenia má význam len pred pridávaním súborov do databázy. Existujúce súbory upravíte pomocou &quot;<a href="util.php">administrácie</a> (administračné nástroje)&quot; .', //cpg1.4 - (relocated)
+  'notice3' => '(***) Všetky logy sú v anglickom jazyku.', //cpg1.4 - (relocated)
+  'bbs_disabled' => 'Funkcia je vypnutá ak je použitá bb integrácia', //cpg1.4
+  'auto_resize_everyone' => 'Každý', //cpg1.4
+  'auto_resize_user' => 'Len užívateľ', //cpg1.4
+  'ascending' => 'vzostupne', //cpg1.4
+  'descending' => 'zostupne', //cpg1.4
+);
+
+if (defined('ADMIN_PHP')) $lang_admin_data = array(
+  'Obecné nastavenia',
+  array('Názov galérie', 'gallery_name', 0, 'f=index.htm&amp;as=admin_general_name&amp;ae=admin_general_name_end'), //cpg1.4
+  array('Popis galérie', 'gallery_description', 0, 'f=index.htm&amp;as=admin_general_description&amp;ae=admin_general_description_end'), //cpg1.4
+  array('Adminov email', 'gallery_admin_email', 0, 'f=index.htm&amp;as=admin_general_email&amp;ae=admin_general_email_end'), //cpg1.4
+  array('URL adresára galérie (neuvádzajte tu \'index.php\' alebo podobné na konci)', 'ecards_more_pic_target', 0, 'f=index.htm&amp;as=admin_general_coppermine-url&amp;ae=admin_general_coppermine-url_end'), //cpg1.4
+  array('URL Vašej domácej stránky', 'home_target', 0, 'f=index.htm&amp;as=admin_general_home-url&amp;ae=admin_general_home-url_end'), //cpg1.4
+  array('Povoliť ZIP-download z obľúbených', 'enable_zipdownload', 1, 'f=index.htm&amp;as=admin_general_zip-download&amp;ae=admin_general_zip-download_end'), //cpg1.4
+  array('Časový posun proti GMT (aktuálny čas: ' . localised_date(-1, $comment_date_fmt) . ')','time_offset',0, 'f=index.htm&amp;as=admin_general_time-offset&amp;ae=admin_general_time-offset_end&amp;top=1'), //cpg1.4
+  array('Zapnúť kryptované heslá (nedá sa vrátiť)','enable_encrypted_passwords',1, 'f=index.htm&amp;as=admin_general_encrypt_password_start&amp;ae=admin_general_encrypt_password_end&amp;top=1'), // cpg 1.4
+  array('Zapnúť help-ikony (help iba v angličtine)','enable_help',9, 'f=index.htm&amp;as=admin_general_help&amp;ae=admin_general_help_end'), //cpg1.4
+  array('Zapnúť klikateľné kľúčové slová vo vyhľadávaní','clickable_keyword_search',14, 'f=index.htm&amp;as=admin_general_keywords_start&amp;ae=admin_general_keywords_end'), //cpg1.4
+  array('Zapnúť zásuvné moduly', 'enable_plugins', 12, 'f=index.htm&amp;as=admin_general_enable-plugins&amp;ae=admin_general_enable-plugins_end'),  //cpg1.4
+  array('Povoliť zakazovanie netrasovateľných IP adries ', 'ban_private_ip', 1,  'f=index.htm&amp;as=admin_general_private-ip&amp;ae=admin_general_private-ip_end'), //cpg1.4
+  array('Vizuálne rozhranie hromadného pridávania súborov', 'browse_batch_add', 1, 'f=index.htm&amp;as=admin_general_browsable_batch_add&amp;ae=admin_general_browsable_batch_add_end'), //cpg1.4
+
+  'Jazyky &amp; Znakové sady(kódovanie)',
+  array('Jazyk', 'lang', 5, 'f=index.htm&amp;as=admin_language_language&amp;ae=admin_language_language_end'), //cpg1.4
+  array('Prepnúť na angličtinu ak sa preklad nenájde?', 'language_fallback', 1, 'f=index.htm&amp;as=admin_language_fallback&amp;ae=admin_language_fallback_end'), //cpg1.4
+  array('Kódovanie - Znakové sady', 'charset', 4, 'f=index.htm&amp;as=admin_language_charset&amp;ae=admin_language_charset_end'), //cpg1.4
+  array('Zobraziť zoznam jazykov', 'language_list', 1, 'f=index.htm&amp;as=admin_language_list&amp;ae=admin_language_list_end'), //cpg1.4
+  array('Zobraziť vlajočky jazykov', 'language_flags', 8, 'f=index.htm&amp;as=admin_language_flags&amp;ae=admin_language_flags_end&amp;top=1'), //cpg1.4
+  array('Zobraziť &quot;reset&quot; vo voľbe jazykov', 'language_reset', 1, 'f=index.htm&amp;as=admin_language_reset&amp;ae=admin_language_reset_end&amp;top=1'), //cpg1.4
+  //array('Display previous/next on tabbed pages', 'previous_next_tab', 1), //cpg1.4
+
+  'Nastavenia vzhľadu',
+  array('Vzhľad', 'theme', 6, 'f=index.htm&amp;as=admin_theme_theme&amp;ae=admin_theme_theme_end'), //cpg1.4
+  array('Zobraziť zoznam vzhľadov', 'theme_list', 1, 'f=index.htm&amp;as=admin_theme_theme_list&amp;ae=admin_theme_theme_list_end'), //cpg1.4
+  array('Zobraziť &quot;reset&quot; v zozname vzhľadov', 'theme_reset', 1, 'f=index.htm&amp;as=admin_theme_theme_reset&amp;ae=admin_theme_theme_reset_end'), //cpg1.4
+  array('Zobraziť FAQ', 'display_faq', 1, 'f=index.htm&amp;as=admin_theme_faq&amp;ae=admin_theme_faq_end'), //cpg1.4
+  array('Názov vlastnej linky v menu', 'custom_lnk_name', 0,'f=index.htm&amp;as=admin_theme_custom_lnk_name&amp;ae=admin_theme_custom_lnk_name_end'), //cpg1.4
+  array('URL vlastnej linky v menu', 'custom_lnk_url', 0,'f=index.htm&amp;as=admin_language_custom_lnk_url&amp;ae=admin_language_custom_lnk_url_end'), //cpg1.4
+  array('Zobrazovať bbcode help', 'show_bbcode_help', 1, 'f=index.htm&amp;as=admin_theme_bbcode&amp;ae=admin_theme_bbcode_end&amp;top=1'), //cpg1.4
+  array('Zobraziť Vanity Block ktorý je definavaný v súlade s XHTML a CSS','vanity_block',1, 'f=index.htm&amp;as=vanity_block&amp;ae=vanity_block_end'), //cpg1.4
+  array('Cesta pre zákaznícky header include', 'custom_header_path', 0, 'f=index.htm&amp;as=admin_theme_include_path_start&amp;ae=admin_theme_include_path_end'), //cpg1.4
+  array('Cesta pre zákaznícky footer include', 'custom_footer_path', 0, 'f=index.htm&amp;as=admin_theme_include_path_start&amp;ae=admin_theme_include_path_end'), //cpg1.4
+
+  'Zobrazovanie zoznamu albumov',
+  array('Šírka hlavnej tabuľky (pixely alebo %)', 'main_table_width', 0, 'f=index.htm&amp;as=admin_album_table-width&amp;ae=admin_album_table-width_end'), //cpg1.4
+  array('Počet úrovní kategórií k zobrazeniu', 'subcat_level', 0, 'f=index.htm&amp;as=admin_album_category-levels&amp;ae=admin_album_category-levels_end'), //cpg1.4
+  array('Počet albumov k zobrazeniu', 'albums_per_page', 0, 'f=index.htm&amp;as=admin_album_number&amp;ae=admin_album_number_end'), //cpg1.4
+  array('Počet stĺpcov pre zoznam albumov', 'album_list_cols', 0, 'f=index.htm&amp;as=admin_album_columns&amp;ae=admin_album_columns_end'), //cpg1.4
+  array('Veľkosť náhľadu v pixeloch', 'alb_list_thumb_size', 0, 'f=index.htm&amp;as=admin_album_thumbnail-size&amp;ae=admin_album_thumbnail-size_end'), //cpg1.4
+  array('Obsah hlavnej stánky', 'main_page_layout', 0, 'f=index.htm&amp;as=admin_album_list_content&amp;ae=admin_album_list_content_end'), //cpg1.4
+  array('Zobraziť náhľady z albumu prvej úrovne v kategórii','first_level',1, 'f=index.htm&amp;as=admin_album_first-level_thumbs&amp;ae=admin_album_first-level_thumbs_end'), //cpg1.4
+  array('Triediť kategórie abecedne (namiesto užívateľského)','categories_alpha_sort',1, 'f=index.htm&amp;as=admin_album_list_alphasort_start&amp;ae=admin_album_list_alphasort_end'), //cpg1.4
+  array('Zobraziť počet linkovaných súborov','link_pic_count',1, 'f=index.htm&amp;as=admin_album_linked_files_start&amp;ae=admin_album_linked_files_end'), //cpg1.4
+
+  'Zobrazovanie náhľadov',
+  array('Počet stĺpcov na stránke náhľadov', 'thumbcols', 0, 'f=index.htm&amp;as=admin_thumbnail_columns&amp;ae=admin_thumbnail_columns_end'), //cpg1.4
+  array('Počet riadkov na stránke náhľadov', 'thumbrows', 0, 'f=index.htm&amp;as=admin_thumbnail_rows&amp;ae=admin_thumbnail_rows_end'), //cpg1.4
+  array('Maximum pre zobrazenie Tabs', 'max_tabs', 10, 'f=index.htm&amp;as=admin_thumbnail_tabs&amp;ae=admin_thumbnail_tabs_end'), //cpg1.4
+  array('Zobraziť popis súboru pod náhľadom', 'caption_in_thumbview', 1, 'f=index.htm&amp;as=admin_thumbnail_display_caption&amp;ae=admin_thumbnail_display_caption_end'), //cpg1.4
+  array('Zobraziť počet zobrazení pod náhľadom', 'views_in_thumbview', 1, 'f=index.htm&amp;as=admin_thumbnail_display_views&amp;ae=admin_thumbnail_display_views_end'), //cpg1.4
+  array('Zobraziť počet komentárov pod náhľadom', 'display_comment_count', 1, 'f=index.htm&amp;as=admin_thumbnail_display_comments&amp;ae=admin_thumbnail_display_comments_end'), //cpg1.4
+  array('Zobraziť meno pridávajúceho člena pod náhľadom', 'display_uploader', 1, 'f=index.htm&amp;as=admin_thumbnail_display_uploader&amp;ae=admin_thumbnail_display_uploader_end'), //cpg1.4
+  //array('Display name of admin uploaders below the thumbnail', 'display_admin_uploader', 1, 'f=index.htm&amp;as=admin_thumbnail_display_admin_uploader&amp;ae=admin_thumbnail_display_admin_uploader_end'), //cpg1.4
+  array('Zobraziť meno súboru pod náhľadom', 'display_filename', 1, 'f=index.htm&amp;as=admin_thumbnail_display_filename&amp;ae=admin_thumbnail_display_filename_end'), //cpg1.4
+  //array('Zobraziť popis albumu', 'alb_desc_thumb', 1, 'f=index.htm&amp;as=admin_thumbnail_display_description&amp;ae=admin_thumbnail_display_description_end'), //cpg1.4
+  array('Východzie zoradenie súborov', 'default_sort_order', 3, 'f=index.htm&amp;as=admin_thumbnail_default_sortorder&amp;ae=admin_thumbnail_default_sortorder_end'), //cpg1.4
+  array('Minimum počet hlasov pre zaradenie do zoznamu \'top-hodnotený\'', 'min_votes_for_rating', 0, 'f=index.htm&amp;as=admin_thumbnail_minimum_votes&amp;ae=admin_thumbnail_minimum_votes_end'), //cpg1.4
+
+  'Zobrazovanie obrázkov', //cpg1.4
+  array('Šírka hlavnej tabuľky (pixely alebo %)', 'picture_table_width', 0, 'f=index.htm&amp;as=admin_image_comment_table-width&amp;ae=admin_image_comment_table-width_end'), //cpg1.4
+  array('Informácie o súbore sú viditeľné súčasne s obrázkom', 'display_pic_info', 1, 'f=index.htm&amp;as=admin_image_comment_info_visible&amp;ae=admin_image_comment_info_visible_end'), //cpg1.4
+  array('Maximálny počet znakov pre popis obrázku', 'max_img_desc_length', 0, 'f=index.htm&amp;as=admin_image_comment_descr_length&amp;ae=admin_image_comment_descr_length_end'), //cpg1.4
+  array('Maximálny počet znakov v slove', 'max_com_wlength', 0, 'f=index.htm&amp;as=admin_image_comment_chars_per_word&amp;ae=admin_image_comment_chars_per_word_end'), //cpg1.4
+  array('Zobrazovať prúžok filmu', 'display_film_strip', 1, 'f=index.htm&amp;as=admin_image_comment_filmstrip_toggle&amp;ae=admin_image_comment_filmstrip_toggle_end'), //cpg1.4
+  array('Zobrazovať názov súboru pod prúžkom filmu', 'display_film_strip_filename', 1, 'f=index.htm&amp;as=admin_image_comment_display_film_strip_filename&amp;ae=admin_image_comment_display_film_strip_filename_end'), //cpg1.4
+  array('Počet náhľadov v prúžku filmu', 'max_film_strip_items', 0, 'f=index.htm&amp;as=admin_image_comment_filmstrip_number&amp;ae=admin_image_comment_filmstrip_number_end'), //cpg1.4
+  array('Slideshow interval v milisekundách (1 s = 1000 ms)', 'slideshow_interval', 0, 'f=index.htm&amp;as=admin_image_comment_slideshow_interval&amp;ae=admin_image_comment_slideshow_interval_end'), //cpg1.4
+
+  'Nastavenia komentárov', //cpg1.4
+  array('Filter nevhodných slov v komentároch', 'filter_bad_words', 1, 'f=index.htm&amp;as=admin_image_comment_bad_words&amp;ae=admin_image_comment_bad_words_end'), //cpg1.4
+  array('Povoliť smajlíkov', 'enable_smilies', 1, 'f=index.htm&amp;as=admin_image_comment_smilies&amp;ae=admin_image_comment_smilies_end'), //cpg1.4
+  array('Povoliť ďašie komentáre k jednému súboru od rovnakého člena (odporúčame:NIE)', 'disable_comment_flood_protect', 1, 'f=index.htm&amp;as=admin_image_comment_flood&amp;ae=admin_image_comment_flood_end'), //cpg1.4
+  array('Maximálny počet riadkov', 'max_com_lines', 0, 'f=index.htm&amp;as=admin_image_comment_lines&amp;ae=admin_image_comment_lines_end'), //cpg1.4
+  array('Maximálny počet znakov pre komentár', 'max_com_size', 0, 'f=index.htm&amp;as=admin_image_comment_length&amp;ae=admin_image_comment_length_end'), //cpg1.4
+  array('Upozorniť admina emailom na nový komentár', 'email_comment_notification', 1, 'f=index.htm&amp;as=admin_image_comment_admin_notify&amp;ae=admin_image_comment_admin_notify_end'), //cpg1.4
+  array('Usporiadanie zoznamu', 'comments_sort_descending', 17, 'f=index.htm&amp;as=admin_comment_sort_start&amp;ae=admin_comment_sort_end'), //cpg1.4
+  array('Prefix pre anonymov', 'comments_anon_pfx', 0, 'f=index.htm&amp;as=comments_anon_pfx&amp;ae=comments_anon_pfx_end'), //cpg1.4
+
+  'Nastavenia pre súbory a náhľady',
+  array('Kvalita pre JPEG súbory', 'jpeg_qual', 0, 'f=index.htm&amp;as=admin_picture_thumbnail_jpeg_quality&amp;ae=admin_picture_thumbnail_jpeg_quality_end'), //cpg1.4
+  array('Maximálny rozmer náhľadu <a href="#notice2" class="clickable_option">**</a>', 'thumb_width', 0, 'f=index.htm&amp;as=admin_picture_thumbnail_max-dimension&amp;ae=admin_picture_thumbnail_max-dimension_end'), //cpg1.4
+  array('Použi rozmer pre náhľad <a href="#notice2" class="clickable_option">**</a>', 'thumb_use', 7, 'f=index.htm&amp;as=admin_picture_thumbnail_use-dimension&amp;ae=admin_picture_thumbnail_use-dimension_end'), //cpg1.4
+  array('Vytvárať stredné obrázky ','make_intermediate',1, 'f=index.htm&amp;as=admin_picture_thumbnail_intermediate_toggle&amp;ae=admin_picture_thumbnail_intermediate_toggle_end'), //cpg1.4
+  array('Max šírka alebo výška pre stredný obrázok/video <a href="#notice2" class="clickable_option">**</a>', 'picture_width', 0, 'f=index.htm&amp;as=admin_picture_thumbnail_intermediate_dimension&amp;ae=admin_picture_thumbnail_intermediate_dimension_end'), //cpg1.4
+  array('Max veľkosť pre pridávaný súbor (KB)', 'max_upl_size', 0, 'f=index.htm&amp;as=admin_picture_thumbnail_max_upload_size&amp;ae=admin_picture_thumbnail_max_upload_size_end'), //cpg1.4
+  array('Max šírka alebo výška pre pridávaný obrázok/video (pixely)', 'max_upl_width_height', 0, 'f=index.htm&amp;as=admin_picture_thumbnail_max_upload_dimension&amp;ae=admin_picture_thumbnail_max_upload_dimension_end'), //cpg1.4
+  array('Automaticky zmenšiť pridávané obrázky (ak sú väčšie ako povolené maximá)', 'auto_resize', 16, 'f=index.htm&amp;as=admin_picture_thumbnail_auto-resize&amp;ae=admin_picture_thumbnail_auto-resize_end'), //cpg1.4
+
+  'Nastavenia (rozšírené) pre súbory a náhľady',
+  array('Povoliť privátne albumy ', 'allow_private_albums', 1, 'f=index.htm&amp;as=admin_picture_thumb_advanced_private_toggle&amp;ae=admin_picture_thumb_advanced_private_toggle_end'), //cpg1.4
+  array('Zobraziť ikonu privatnych albumov pre neprihlásených','show_private',1, 'f=index.htm&amp;as=admin_picture_thumb_advanced_private_icon_show&amp;ae=admin_picture_thumb_advanced_private_icon_show_end'), //cpg1.4
+  array('Nepovolené znaky v názvoch', 'forbiden_fname_char',0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_filename_forbidden_chars&amp;ae=admin_picture_thumb_advanced_filename_forbidden_chars_end'), //cpg1.4
+  //array('Accepted file extensions for uploaded pictures', 'allowed_file_extensions',0, 'f=index.htm&amp;as=&amp;ae=_end'), //cpg1.4
+  array('Povolené typy obrázkov', 'allowed_img_types',0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_pic_extensions&amp;ae=admin_picture_thumb_advanced_pic_extensions_end'), //cpg1.4
+  array('Povolené typy videa', 'allowed_mov_types',0, 'f=index.htm&amp;as=admin_thumbs_advanced_movie&amp;ae=admin_thumbs_advanced_movie_end'), //cpg1.4
+  array('Automaticky prehrať video', 'media_autostart',1, 'f=index.htm&amp;as=admin_movie_autoplay&amp;ae=admin_movie_autoplay_end'), //cpg1.4
+  array('Povolené typy pre audio', 'allowed_snd_types',0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_audio_extensions&amp;ae=admin_picture_thumb_advanced_audio_extensions_end'), //cpg1.4
+  array('Povolené typy dokumentov', 'allowed_doc_types',0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_doc_extensions&amp;ae=admin_picture_thumb_advanced_doc_extensions_end'), //cpg1.4
+  array('Metóda spracovania obrázkov','thumb_method',2, 'f=index.htm&amp;as=admin_picture_thumb_advanced_resize_method&amp;ae=admin_picture_thumb_advanced_resize_method_end'), //cpg1.4
+  array('Cesta pre ImageMagick \'convert\' utility (napr. /usr/bin/X11/)', 'impath', 0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_im_path&amp;ae=admin_picture_thumb_advanced_im_path_end'), //cpg1.4
+  //array('Allowed image types (only valid for ImageMagick)', 'allowed_img_types',0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_allowed_imagetypes&amp;ae=admin_picture_thumb_advanced_allowed_imagetypes_end'), //cpg1.4
+  array('Príkazový riadok pre ImageMagick', 'im_options', 0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_im_commandline&amp;ae=admin_picture_thumb_advanced_im_commandline_end'), //cpg1.4
+  array('Čítať EXIF dáta z JPEG ', 'read_exif_data', 13, 'f=index.htm&amp;as=admin_picture_thumb_advanced_exif&amp;ae=admin_picture_thumb_advanced_exif_end'), //cpg1.4
+  array('Čítať IPTC dáta z JPEG', 'read_iptc_data', 1, 'f=index.htm&amp;as=admin_picture_thumb_advanced_iptc&amp;ae=admin_picture_thumb_advanced_iptc_end'), //cpg1.4
+  array('Adresár albumov <a href="#notice1" class="clickable_option">*</a>', 'fullpath', 0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_albums_dir&amp;ae=admin_picture_thumb_advanced_albums_dir_end'), //cpg1.4
+  array('Adresár užívateľských súborov <a href="#notice1" class="clickable_option">*</a>', 'userpics', 0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_userpics_dir&amp;ae=admin_picture_thumb_advanced_userpics_dir_end'), //cpg1.4
+  array('Prefix pre stredné obrázky <a href="#notice1" class="clickable_option">*</a>', 'normal_pfx', 0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_intermediate_prefix&amp;ae=admin_picture_thumb_advanced_intermediate_prefix_end'), //cpg1.4
+  array('Prefix pre náhľady <a href="#notice1" class="clickable_option">*</a>', 'thumb_pfx', 0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_thumbs_prefix&amp;ae=admin_picture_thumb_advanced_thumbs_prefix_end'), //cpg1.4
+  array('Default mód pre adresáre', 'default_dir_mode', 0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_chmod_folder&amp;ae=admin_picture_thumb_advanced_chmod_folder_end'), //cpg1.4
+  array('Default mód pre súbory', 'default_file_mode', 0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_chmod_files&amp;ae=admin_picture_thumb_advanced_chmod_files_end'), //cpg1.4
+
+  'Nastavenia užívateľov',
+  array('Povoliť návštevníkom registráciu', 'allow_user_registration', 1, 'f=index.htm&amp;as=admin_allow_registration&amp;ae=admin_allow_registration_end'), //cpg1.4
+  array('Povoliť prístup neprihláseným', 'allow_unlogged_access', 1, 'f=index.htm&amp;as=admin_allow_unlogged_access&amp;ae=admin_allow_unlogged_access_end'), //cpg1.4
+  array('Aktivácia registrácie emailom', 'reg_requires_valid_email', 1, 'f=index.htm&amp;as=admin_registration_verify&amp;ae=admin_registration_verify_end'), //cpg1.4
+  array('Upozorni admina na novú registráciu', 'reg_notify_admin_email', 1, 'f=index.htm&amp;as=admin_registration_notify&amp;ae=admin_registration_notify_end'), //cpg1.4
+  array('Admin aktivuje registrácie', 'admin_activation', 1, 'f=index.htm&amp;as=admin_activation&amp;ae=admin_activation_end'),  //cpg1.4
+  array('Povoliť dvom užívateľom použiť rovnaký email', 'allow_duplicate_emails_addr', 1, 'f=index.htm&amp;as=admin_allow_duplicate_emails_addr&amp;ae=admin_allow_duplicate_emails_addr_end'), //cpg1.4
+  array('Upozorniť admina na schválenie užívateľského pridania súborov', 'upl_notify_admin_email', 1, 'f=index.htm&amp;as=admin_approval_notify&amp;ae=admin_approval_notify_end'), //cpg1.4
+  array('Umožniť prihláseným vidieť zoznam členov', 'allow_memberlist', 1, 'f=index.htm&amp;as=admin_user_memberlist&amp;ae=admin_user_memberlist_end'), //cpg1.4
+  array('Umožniť členom meniť svoj email', 'allow_email_change', 1, 'f=index.htm&amp;as=admin_user_allow_email_change&amp;ae=admin_user_allow_email_change_end'), //cpg1.4
+  array('Umožniť členom kontrolu nad ich obr. vo verejných albumoch', 'users_can_edit_pics', 1, 'f=index.htm&amp;as=admin_user_editpics_public_start&amp;ae=admin_user_editpics_public_end'), //cpg1.4
+  array('Počet neplatných prihlásení pred dočasným zakázaním', 'login_threshold', 0, 'f=index.htm&amp;as=admin_user_login_start&amp;ae=admin_user_login_end'), //cpg1.4
+  array('Trvanie dočasného zakázania', 'login_expiry', 0, 'f=index.htm&amp;as=admin_user_login_start&amp;ae=admin_user_login_end'), //cpg1.4
+  array('Zapnúť hlásenia adminovi', 'report_post', 1, 'f=index.htm&amp;as=admin_user_enable_report&amp;ae=admin_user_enable_report_end'),  //cpg1.4
+
+// custom profile fields,  //cpg1.4
+  'Vlastné názvy vstupných užív. profilov (môže byť prázdne).
+  Profile 6 je pre dlhé texty.', //cpg1.4
+  array('Profil 1 názov', 'user_profile1_name', 0, 'f=index.htm&amp;as=admin_custom&amp;ae=admin_custom_end'), //cpg1.4
+  array('Profil 2 názov', 'user_profile2_name', 0), //cpg1.4
+  array('Profil 3 názov', 'user_profile3_name', 0), //cpg1.4
+  array('Profil 4 názov', 'user_profile4_name', 0), //cpg1.4
+  array('Profil 5 názov', 'user_profile5_name', 0), //cpg1.4
+  array('Profil 6 názov', 'user_profile6_name', 0), //cpg1.4
+
+  'Vlastné názvy vstupných políčiek popisu obrázkov (môže byť prázdne)',
+  array('Políčko 1 názov', 'user_field1_name', 0, 'f=index.htm&amp;as=admin_custom_image&amp;ae=admin_custom_image_end'), //cpg1.4
+  array('Políčko 2 názov', 'user_field2_name', 0),
+  array('Políčko 3 názov', 'user_field3_name', 0),
+  array('Políčko 4 názov', 'user_field4_name', 0),
+
+  'Nastavenia Cookies',
+  array('Cookie názov', 'cookie_name', 0, 'f=index.htm&amp;as=admin_cookie_name&amp;ae=admin_cookie_name_end'), //cpg1.4
+  array('Cookie cesta', 'cookie_path', 0, 'f=index.htm&amp;as=admin_cookie_path&amp;ae=admin_cookie_path_end'), //cpg1.4
+
+  'Nastavenia Emailu (nechať prázdne, ak ste si nie istý)', //cpg1.4
+  array('SMTP Host (when left blank, sendmail will be used)', 'smtp_host', 0, 'f=index.htm&amp;as=admin_email&amp;ae=admin_email_end'), //cpg1.4
+  array('SMTP Username', 'smtp_username', 0), //cpg1.4
+  array('SMTP Password', 'smtp_password', 0), //cpg1.4
+
+  'Logging a štatistiky', //cpg1.4
+  array('Logging mód <a href="#notice3" class="clickable_option">***</a>', 'log_mode', 11, 'f=index.htm&amp;as=admin_logging_log_mode&amp;ae=admin_logging_log_mode_end'), //cpg1.4
+  array('Loguj e-pohľadnice', 'log_ecards', 1, 'f=index.htm&amp;as=admin_general_log_ecards&amp;ae=admin_general_log_ecards_end'), //cpg1.4
+  array('Udržiavať detailnú štatistiku hlasovaní','vote_details',1, 'f=index.htm&amp;as=admin_logging_votedetails&amp;ae=admin_logging_votedetails_end'), //cpg1.4
+  array('Udržiavať detailnú štatistiku prehliadania','hit_details',1, 'f=index.htm&amp;as=admin_logging_hitdetails&amp;ae=admin_logging_hitdetails_end'), //cpg1.4
+
+  'Nastavenia údržbárske (pre skúsených)', //cpg1.4
+  array('Zapnúť debug mód', 'debug_mode', 9, 'f=index.htm&amp;as=debug_mode&amp;ae=debug_mode_end'), //cpg1.4
+  array('Zobrazovať poznámky v debug móde', 'debug_notice', 1, 'f=index.htm&amp;as=admin_misc_debug_notices&amp;ae=admin_misc_debug_notices_end'), //cpg1.4
+  array('Galéria je OFFLINE (neprístupná)', 'offline', 1, 'f=index.htm&amp;as=admin_general_offline&amp;ae=admin_general_offline_end'), //cpg1.4
+);
+
+
+// ------------------------------------------------------------------------- //
+// File db_ecard.php
+// ------------------------------------------------------------------------- //
+
+if (defined('DB_ECARD_PHP')) $lang_db_ecard_php = array(
+  'title' => 'Poslať e-pohľadnicu',
+  'ecard_sender' => 'Odosielateľ',
+  'ecard_recipient' => 'Príjemca',
+  'ecard_date' => 'Dátum',
+  'ecard_display' => 'Zobraziť e-pohľadnicu',
+  'ecard_name' => 'Meno',
+  'ecard_email' => 'Email',
+  'ecard_ip' => 'IP #',
+  'ecard_ascending' => 'vzostupne',
+  'ecard_descending' => 'zostupne',
+  'ecard_sorted' => 'Zotriedené',
+  'ecard_by_date' => 'podľa dátumu',
+  'ecard_by_sender_name' => 'podľa mena odosielateľa',
+  'ecard_by_sender_email' => 'podľa emailu odesielateľa',
+  'ecard_by_sender_ip' => 'podľa IP addressy odesielateľa',
+  'ecard_by_recipient_name' => 'podľa mena príjemcu',
+  'ecard_by_recipient_email' => 'podľa emailu príjemcu',
+  'ecard_number' => 'zobrazenie záznamu %s až %s z %s',
+  'ecard_goto_page' => 'choď na stranu',
+  'ecard_records_per_page' => 'Záznamov na strane',
+  'check_all' => 'Označit všetko',
+  'uncheck_all' => 'Odznačit všetko',
+  'ecards_delete_selected' => 'Zmazať vybrané e-pohľadnice',
+  'ecards_delete_confirm' => 'Ste si istý, že chcete zmazať záznamy? Označte kontrolné okienko!',
+  'ecards_delete_sure' => 'Som si istý.',
+);
+
+
+// ------------------------------------------------------------------------- //
+// File db_input.php
+// ------------------------------------------------------------------------- //
+
+if (defined('DB_INPUT_PHP')) $lang_db_input_php = array(
+  'empty_name_or_com' => 'Vložte Vaše meno a Váš komentár',
+  'com_added' => 'Váš komentár bol pridaný',
+  'alb_need_title' => 'Zadajte názov pre album !',
+  'no_udp_needed' => 'Aktualizácia nie je potrebná.',
+  'alb_updated' => 'Album bol aktualizovaný',
+  'unknown_album' => 'Vybraný album neexistuje alebo nemáte práva pre pridávanie do tejto galérie',
+  'no_pic_uploaded' => 'Žiadny súbor nebol pridaný !<br /><br />Skontrlujte, či server podporuje pridávanie súborov...',
+  'err_mkdir' => 'Vytvorenie adresára %s zlyhalo!',
+  'dest_dir_ro' => 'Do adresára %s nemôže skript zapisovať !',
+  'err_move' => 'Nemožno presunúť %s do %s !',
+  'err_fsize_too_large' => 'Veľkosť súboru bola prekročená (maximum je %s x %s) !', //obsolete since cpg1.3 - consider removal in cpg1.4 once upload.php has been overhauled
+  'err_imgsize_too_large' => 'Veľkosť súboru bola prekročená (maximum je %s KB) !', //obsolete since cpg1.3 - consider removal in cpg1.4 once upload.php has been overhauled
+  'err_invalid_img' => 'Súbor nie je povolený obrázok !',
+  'allowed_img_types' => 'Môžete pridať iba %s obrázkov.',
+  'err_insert_pic' => 'Obrázok \'%s\' nie je možné vložiť do albumu ',
+  'upload_success' => 'Váš súbor bol pridaný.<br /><br />Bude viditeľný po schválení administrátorom.',
+  'notify_admin_email_subject' => '%s - Hlásenie pridania',
+  'notify_admin_email_body' => 'Člen %s pridal súbor, ktorý vyžaduje autorizáciu. Navštívte %s',
+  'info' => 'Informácia',
+  'com_added' => 'Komentár pridaný',
+  'alb_updated' => 'Album aktualizovaný',
+  'err_comment_empty' => 'Váš komentár je prázdny !',
+  'err_invalid_fext' => 'Iba súbory s následujúcimi koncovkami sú podporované : <br /><br />%s.',
+  'no_flood' => 'Prepáčte, ale ste autor posledného komentára k tomuto súboru.<br /><br />Použite voľbu na úpravu komentára',
+  'redirect_msg' => 'Práve ste boli presmerovaný.<br /><br /><br />Kliknite na \'POKRAČOVAT\' pokiaľ sa stránka nepresmeruje sama',
+  'upl_success' => 'Váš súbor bol v poriadku pridaný',
+  'email_comment_subject' => 'Komentár bol pridaný do Coppermine Photo Gallery',
+  'email_comment_body' => 'Niekto pridal komentár do Vašej galérie. Prezrite si ho na',
+  'album_not_selected' => 'Album nebol vybraný', //cpg1.4
+  'com_author_error' => 'Registrovaný člen už používa túto prezývku, login or use another one', //cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File delete.php
+// ------------------------------------------------------------------------- //
+
+if (defined('DELETE_PHP')) $lang_delete_php = array(
+  'caption' => 'Záhlavie',
+  'fs_pic' => 'plná veľkosť obrázku',
+  'del_success' => 'úspešne zmazané',
+  'ns_pic' => 'normálna veľkosť obrázku',
+  'err_del' => 'nemožno zmazať',
+  'thumb_pic' => 'náhľad',
+  'comment' => 'komentár',
+  'im_in_alb' => 'obrázok v albume',
+  'alb_del_success' => 'Album &laquo;%s&raquo; zmazaný', //cpg1.4
+  'alb_mgr' => 'Správca albumov',
+  'err_invalid_data' => 'Chybné dáta prijaté v \'%s\'',
+  'create_alb' => 'Vytváram album \'%s\'',
+  'update_alb' => 'Aktualizujem album \'%s\' s nadpisom \'%s\' a zoznamom \'%s\'',
+  'del_pic' => 'Zmazať obrázok',
+  'del_alb' => 'Zmazať album',
+  'del_user' => 'Zmazať člena',
+  'err_unknown_user' => 'Vybraný člen neexistuje !',
+  'err_empty_groups' => 'Neexistuje tabuľka skupiny, alebo tabuľka nie je prázdna!', //cpg1.4
+  'comment_deleted' => 'Komentár bol úspešne zmazaný',
+  'npic' => 'Obrázok', //cpg1.4
+  'pic_mgr' => 'Správca obrázkov', //cpg1.4
+  'update_pic' => 'Aktualizujem obrázok \'%s\' s názvom \'%s\' a indexom \'%s\'', //cpg1.4
+  'username' => 'Meno člena', //cpg1.4
+  'anonymized_comments' => '%s komentár anonymizovaný', //cpg1.4
+  'anonymized_uploads' => '%s verejné pridanie anonymizované', //cpg1.4
+  'deleted_comments' => '%s komentár zmazaný', //cpg1.4
+  'deleted_uploads' => '%s verejné pridanie zmazané', //cpg1.4
+  'user_deleted' => 'člen %s zmazaný', //cpg1.4
+  'activate_user' => 'Aktivovať člena', //cpg1.4
+  'user_already_active' => 'Účet už je aktívny', //cpg1.4
+  'activated' => 'Aktivované', //cpg1.4
+  'deactivate_user' => 'Deaktivovať člena', //cpg1.4
+  'user_already_inactive' => 'Účet už je neaktívny', //cpg1.4
+  'deactivated' => 'Deaktivované', //cpg1.4
+  'reset_password' => 'Resetovať heslo', //cpg1.4
+  'password_reset' => 'Heslo resetované na %s', //cpg1.4
+  'change_group' => 'Zmeniť primárnu skupinu', //cpg1.4
+  'change_group_to_group' => 'Zmeniť z %s na %s', //cpg1.4
+  'add_group' => 'Pridať sekundárnu skupinu', //cpg1.4
+  'add_group_to_group' => 'Pridávanie člena %s do skupiny %s. Teraz je členom %s ako primárnej a členom %s ako sekundárnej skupiny členov.', //cpg1.4
+  'status' => 'Stav', //cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File displayecard.php
+// ------------------------------------------------------------------------- //
+
+if (defined('DISPLAYECARD_PHP')) {
+
+$lang_displayecard_php = array(
+  'invalid_data' => 'The data for the ecard you are trying to access has been corrupted by your mail client. Check the link is complete.', //cpg1.4
+);
+}
+
+// ------------------------------------------------------------------------- //
+// File displayimage.php
+// ------------------------------------------------------------------------- //
+
+if (defined('DISPLAYIMAGE_PHP')){
+
+$lang_display_image_php = array(
+  'confirm_del' => 'Ste si istý, že chcete ZMAZAŤ tento súbor? \\nPriložené komentáre budú tiež zmazané.', //js-alert
+  'del_pic' => 'ZMAZAŤ TENTO SÚBOR',
+  'size' => '%s x %s pixelov',
+  'views' => '%s krát',
+  'slideshow' => 'Automatické prezeranie',
+  'stop_slideshow' => 'ZASTAVIŤ PREZERANIE',
+  'view_fs' => 'Kliknite pre zobrazenie v plnom rozlíšení',
+  'edit_pic' => 'Edituj info o súbore', //cpg1.4
+  'crop_pic' => 'Orezať/Otočiť',
+  'set_player' => 'Zmeniť prehrávač',
+);
+
+$lang_picinfo = array(
+  'title' =>'Informácie o súbore',
+  'Filename' => 'Názov súboru',
+  'Album name' => 'Názov albumu',
+  'Rating' => 'Hodnotenie (%s hlasov)',
+  'Keywords' => 'Kľúčové slová',
+  'File Size' => 'Veľkosť súboru',
+  'Date Added' => 'Dátum pridania', //cpg1.4
+  'Dimensions' => 'Rozmery',
+  'Displayed' => 'Zobrazené',
+  'URL' => 'URL', //cpg1.4
+  'Make' => 'Vytvorené', //cpg1.4
+  'Model' => 'Model', //cpg1.4
+  'DateTime' => 'Dátum Čas', //cpg1.4
+  'ISOSpeedRatings'=>'ISO', //cpg1.4
+  'MaxApertureValue' => 'Max. clona', //cpg1.4
+  'FocalLength' => 'Ohnisková vzdialenosť', //cpg1.4
+  'Comment' => 'Komentár',
+  'addFav'=>'Pridať k obľúbeným',
+  'addFavPhrase'=>'Obľúbené',
+  'remFav'=>'Odobrať z obľúbených',
+  'iptcTitle'=>'IPTC Title',
+  'iptcCopyright'=>'IPTC Copyright',
+  'iptcKeywords'=>'IPTC Keywords',
+  'iptcCategory'=>'IPTC Category',
+  'iptcSubCategories'=>'IPTC Sub Categories',
+  'ColorSpace' => 'Farebný priestor', //cpg1.4
+  'ExposureProgram' => 'Expozičný program', //cpg1.4
+  'Flash' => 'Blesk', //cpg1.4
+  'MeteringMode' => 'Mód merania', //cpg1.4
+  'ExposureTime' => 'Expozičný čas', //cpg1.4
+  'ExposureBiasValue' => 'Korekcia expozície', //cpg1.4
+  'ImageDescription' => 'Popis obrázku', //cpg1.4
+  'Orientation' => 'Orientácia', //cpg1.4
+  'xResolution' => 'X Rozlíšenie', //cpg1.4
+  'yResolution' => 'Y Rozlíšenie', //cpg1.4
+  'ResolutionUnit' => 'Jednotka rozlíšenia', //cpg1.4
+  'Software' => 'Software', //cpg1.4
+  'YCbCrPositioning' => 'YCbCrPositioning', //cpg1.4
+  'ExifOffset' => 'Exif Offset', //cpg1.4
+  'IFD1Offset' => 'IFD1 Offset', //cpg1.4
+  'FNumber' => 'F číslo', //cpg1.4
+  'ExifVersion' => 'Exif verzia', //cpg1.4
+  'DateTimeOriginal' => 'Dátum/Čas Original', //cpg1.4
+  'DateTimedigitized' => 'Dátum/Čas digitalizácie', //cpg1.4
+  'ComponentsConfiguration' => 'Components Configuration', //cpg1.4
+  'CompressedBitsPerPixel' => 'Kompresia Bitov na Pixel', //cpg1.4
+  'LightSource' => 'Zdroj svetla', //cpg1.4
+  'ISOSetting' => 'ISO nastavenie', //cpg1.4
+  'ColorMode' => 'Farebný mód', //cpg1.4
+  'Quality' => 'Kvalita', //cpg1.4
+  'ImageSharpening' => 'Doostrenie', //cpg1.4
+  'FocusMode' => 'Fokus mód', //cpg1.4
+  'FlashSetting' => 'Nastavenie blesku', //cpg1.4
+  'ISOSelection' => 'ISO voľba', //cpg1.4
+  'ImageAdjustment' => 'Upravenie obrázku', //cpg1.4
+  'Adapter' => 'Adaptér', //cpg1.4
+  'ManualFocusDistance' => 'Manual Fokus vzdialenosť', //cpg1.4
+  'DigitalZoom' => 'Digital Zoom', //cpg1.4
+  'AFFocusPosition' => 'AF Focus pozícia', //cpg1.4
+  'Saturation' => 'Saturácia', //cpg1.4
+  'NoiseReduction' => 'Redukcia šumu', //cpg1.4
+  'FlashPixVersion' => 'Flash Pix Version', //cpg1.4
+  'ExifImageWidth' => 'Exif šírka', //cpg1.4
+  'ExifImageHeight' => 'Exif výška', //cpg1.4
+  'ExifInteroperabilityOffset' => 'Exif Interoperability Offset', //cpg1.4
+  'FileSource' => 'Zdroj', //cpg1.4
+  'SceneType' => 'Typ scény', //cpg1.4
+  'CustomerRender' => 'Customer Render', //cpg1.4
+  'ExposureMode' => 'Expozičný mód', //cpg1.4
+  'WhiteBalance' => 'Vyváženie bielej', //cpg1.4
+  'DigitalZoomRatio' => 'Digital Zoom pomer', //cpg1.4
+  'SceneCaptureMode' => 'Scene Capture Mode', //cpg1.4
+  'GainControl' => 'Citlivosť', //cpg1.4
+  'Contrast' => 'Kontrast', //cpg1.4
+  'Sharpness' => 'Doostrenie', //cpg1.4
+  'ManageExifDisplay' => 'Vybrať Exif položky k zobrazeniu', //cpg1.4
+  'submit' => 'Odoslať', //cpg1.4
+  'success' => 'Informácia úspešne aktualizovaná.', //cpg1.4
+  'details' => 'Detaily', //cpg1.4
+);
+
+$lang_display_comments = array(
+  'OK' => 'OK',
+  'edit_title' => 'Upraviť tento komentár',
+  'confirm_delete' => 'Ste si istý, že chcete zmazať tento komentár ?', //js-alert
+  'add_your_comment' => 'Pridať komentár',
+  'name'=>'Meno',
+  'comment'=>'Komentár',
+  'your_name' => 'Anonym',
+  'report_comment_title' => 'Upozorni administrátora na tento príspevok', //cpg1.4
+);
+
+$lang_fullsize_popup = array(
+  'click_to_close' => 'Kliknutím na obrázok zatvoríte okno.',
+);
+
+}
+
+// ------------------------------------------------------------------------- //
+// File ecard.php
+// ------------------------------------------------------------------------- //
+
+if (defined('ECARDS_PHP') || defined('DISPLAYECARD_PHP')) $lang_ecard_php =array(
+  'title' => 'Pošli e-pohľadnicu',
+  'invalid_email' => '<font color="red"><b>Warning</b></font>: neplatná emailová adresa:', //cpg1.4
+  'ecard_title' => 'Pohľadnica od %s pre Teba',
+  'error_not_image' => 'Iba obrázky môžu byť poslané ako e-pohľadnica.',
+  'view_ecard' => 'Alternatívna linka ak sa pohľadnica nezobrazila správne.', //cpg1.4
+  'view_ecard_plaintext' => 'Pre zobrazenie pohľadnice, kopíruj a vlož túto url do adresného riadku prehliadača:', //cpg1.4
+  'view_more_pics' => 'Ďaľšie obrázky tu!', //cpg1.4
+  'send_success' => 'Pohľadnica bola odoslaná',
+  'send_failed' => 'Prepáčte, ale server nemohol odoslať Vašu pohľadnicu...',
+  'from' => 'Od',
+  'your_name' => 'Vaše meno',
+  'your_email' => 'Váš email',
+  'to' => 'Komu',
+  'rcpt_name' => 'Meno príjemcu',
+  'rcpt_email' => 'Email príjemcu',
+  'greetings' => 'Záhlavie', //cpg1.4
+  'message' => 'Správa', //cpg1.4
+  'ecards_footer' => 'Poslal %s s IP %s o %s (Gallery time)', //cpg1.4
+  'preview' => 'Náhľad pohľadnice', //cpg1.4
+  'preview_button' => 'Náhľad', //cpg1.4
+  'submit_button' => 'Pošli pohľadnicu', //cpg1.4
+  'preview_view_ecard' => 'Toto je alternatívna linka k pohľadnici ak bola skutočne vygenerovaná, neslúži ako náhľad.', //cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File report_file.php //cpg1.4
+// ------------------------------------------------------------------------- //
+
+if (defined('REPORT_FILE_PHP') || defined('DISPLAYREPORT_PHP')) $lang_report_php =array(
+  'title' => 'Upozornenie pre administrátora', //cpg1.4
+  'invalid_email' => '<b>Varovanie</b> : neplatná emailová adresa !', //cpg1.4
+  'report_subject' => 'Hlásenie od %s z galérie %s', //cpg1.4
+  'view_report' => 'Náhradná linka ak sa hlásenie nezobrazilo správne', //cpg1.4
+  'view_report_plaintext' => 'Pre zobrazenie komentára, kopíruj a vlož túto url do adresného riadku prehliadača:', //cpg1.4
+  'view_more_pics' => 'Galéria', //cpg1.4
+  'send_success' => 'Hlásenie bolo odoslané', //cpg1.4
+  'send_failed' => 'Server nemôže odoslať Vaše hlásenie...', //cpg1.4
+  'from' => 'Od', //cpg1.4
+  'your_name' => 'Vaše meno', //cpg1.4
+  'your_email' => 'Váš email', //cpg1.4
+  'to' => 'Komu', //cpg1.4
+  'administrator' => 'Admonistrátor/Mod', //cpg1.4
+  'subject' => 'Predmet', //cpg1.4
+  'comment_field_name' => 'Hlásenie ku komentáru od "%s"', //cpg1.4
+  'reason' => 'Dôvod', //cpg1.4
+  'message' => 'Správa', //cpg1.4
+  'report_footer' => 'Odoslal %s z IP %s o %s (Gallery time)', //cpg1.4
+  'obscene' => 'obscénne', //cpg1.4
+  'offensive' => 'útočné', //cpg1.4
+  'misplaced' => 'zle zaradené', //cpg1.4
+  'missing' => 'chýbajúce', //cpg1.4
+  'issue' => 'chyba/nezobrazuje sa', //cpg1.4
+  'other' => 'iné', //cpg1.4
+  'refers_to' => 'Hlásenie o súbore odkazuje na', //cpg1.4
+  'reasons_list_heading' => 'dôvod hlásenia:', //cpg1.4
+  'no_reason_given' => 'dôvod neudaný', //cpg1.4
+  'go_comment' => 'Choď do komentárov', //cpg1.4
+  'view_comment' => 'Zobraziť celé hlásenie', //cpg1.4
+  'type_file' => 'súbor', //cpg1.4
+  'type_comment' => 'komentár', //cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File editpics.php
+// ------------------------------------------------------------------------- //
+
+if (defined('EDITPICS_PHP')) $lang_editpics_php = array(
+  'pic_info' => 'Info o súbore',
+  'album' => 'Album',
+  'title' => 'Nadpis',
+  'filename' => 'Meno súboru', //cpg1.4
+  'desc' => 'Popis',
+  'keywords' => 'Kľúčové slová',
+  'new_keyword' => 'Nové kľúčové slovo', //cpg1.4
+  'new_keywords' => 'Nové kľúčové slová nájdené', //cpg1.4
+  'existing_keyword' => 'Existujúce kľúčové slovo ', //cpg1.4
+  'pic_info_str' => '%s &krát; %s - %s KB - %s zobrazení - %s hlasov',
+  'approve' => 'Schváliť súbor',
+  'postpone_app' => 'Odložiť schválenie',
+  'del_pic' => 'Zmazať súbor',
+  'del_all' => 'Zmazať všetky súbory', //cpg1.4
+  'read_exif' => 'Načítať EXIF info znova',
+  'reset_view_count' => 'Vynulovať počítadlo zobrazení',
+  'reset_all_view_count' => 'Vynulovať všetky počítadlá zobrazení', //cpg1.4
+  'reset_votes' => 'Nulovať hlasovania',
+  'reset_all_votes' => 'Nulovať všetky hlasovania', //cpg1.4
+  'del_comm' => 'Vymazať komentáre',
+  'del_all_comm' => 'Vymazať všetky komentáre', //cpg1.4
+  'upl_approval' => 'Schválenie pridania', //cpg1.4
+  'edit_pics' => 'Upraviť súbory',
+  'see_next' => 'Ukáž ďaľšie súbory',
+  'see_prev' => 'Ukáž predchádzajúce súbory',
+  'n_pic' => '%s súborov',
+  'n_of_pic_to_disp' => 'Počet súborov na zobrazenie',
+  'apply' => 'Vykonaj modifikácie',
+  'crop_title' => 'Coppermine Picture Editor',
+  'preview' => 'Náhľad',
+  'save' => 'Uložiť obrázok',
+  'save_thumb' =>'Uložiť ako náhľad',
+  'gallery_icon' => 'Ulož ako moju ikonu', //cpg1.4
+  'sel_on_img' =>'Výber musí celý ležať vo vnútri obrázku!', //js-alert
+  'album_properties' =>'Vlastnosti albumov', //cpg1.4
+  'parent_category' =>'Nadradená kategória', //cpg1.4
+  'thumbnail_view' =>'Náhľadové zobrazenie', //cpg1.4
+  'select_unselect' =>'označ/odznač všetko', //cpg1.4
+  'file_exists' => "Súbor '%s' už existuje.", //cpg1.4
+  'rename_failed' => "Nemožno premenovať '%s' na '%s'.", //cpg1.4
+  'src_file_missing' => "Zdrojový súbor '%s' chýba.", // cpg 1.4
+  'mime_conv' => "Nemožno konvertovať z '%s' na '%s'",//cpg1.4
+  'forb_ext' => 'Nepovolená prípona súboru.',//cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File faq.php
+// ------------------------------------------------------------------------- //
+
+if (defined('FAQ_PHP')) $lang_faq_php = array(
+  'faq' => 'Často kladené otázky',
+  'toc' => 'Obsah',
+  'question' => 'Otázka: ',
+  'answer' => 'Odpoveď: ',
+);
+// FAQ translation : Willant Zoltán - KONTACT : http://kontakt.sturovo.com
+if (defined('FAQ_PHP')) $lang_faq_data = array(
+  'Všeobecné otázky FAQ.',
+  array('Prečo by som sa mal registrovať?', 'Registrácie sú schvaľované mailom alebo samotným administrátorom. Registrácia dáva členovi rozšírené možnosti, ako pridávanie fotiek, obľúbený zoznam, hodnotenia a možnosť komentovať jednotlivé obrázky.', '1'),
+  array('Ako sa môžem registrovať?', 'Kliknite na hore na odkaz <B>"Registruj"</B>. Ak sa chcete registrovať musíte najprv súhlasiť s pravidlami fotofóra. <br /> Kliknite dole na odkaz "Súhlasím". Vyplňte požadované údaje. Povinné údaje musíte vyplniť. Musíte zadať platnú e-mail adresu na ktorú vám príde odkaz. Po kliknutí na tento odkaz aktivujete vašu registráciu. Ak sa takto nestane tak vašu registráciu musí schváliť administrátor tohto fotofóra.', 'allow_user_registration', '1'), //cpg1.4
+  array('Ako sa môžem prihlásiť do systému?', 'Kliknite na hore na odkaz <B>"Prihlásiť"</B>.<br /> Zadajte vaše meno a heslo. 
+Ak označíte " Pamätaj si ma" Tak ostanete prihlásený aj keď zatvoríte okno vášho prehliadača.<b><br /> Dôležité: pre správne fungovanie prihlásenia musíte mať povolené ukladanie  súborov COOKIES!
+</b>', 'offline', 0),
+  array('Prečo sa neviem prihlásiť ?', 'Vyplnili ste povinné údaje?  Zadali ste platnú e-mail adresu?<br /> Dostali ste mail? Klikli ste na odkaz aktivácie? Ak problém naďalej pretrváva napíšte administrátorovi.
+Možno vám poskytne vysvetlenie.
+', 'offline', 0),
+  array('Čo keď som zabudol heslo?', 'Po nesprávnom prihlásení sa zobrazí ponuka <B>"Pripomenutie hesla"</B>.<br /> Zadajte Vašu emailovú adresu a heslo vám bude automaticky odoslané a zároveň vám systém pridelí toto nové heslo. Administrátori nijako nevedia zmeniť vaše heslo. (heslo je zašifrované v MySQL databáze.)<br /> <FONT SIZE="" COLOR="#CC0000"><B>Administrátori alebo iný správcovia od vás NIKDY nebudú žiadať heslo!
+Ak ste dostali takýto list ignorujte ho!</B></FONT>
+', 'offline', 0),
+  //array('What if I changed my email address?', 'Just simply login and change your email address through &quot;Profile&quot;', 'offline', 0),
+  array('Ako môžem vytvárať "Moje obľúbené"?', 'Túto funkciu môžete použiť len keď ste prihlásený. Kliknite na hociktorí obrázok.
+Zobrazí sa vám tzv. stredný náhľad, ak sa presuniete na dolný koniec stránky nájdete tam časť Informácie o súbore. Ak táto informácia chýba najprv úplne hore kliknite na obrázok.<img src="images/info.gif" width="16" height="16" border="0" alt="Picture information" /><br />(podrobné info. zobraz/skryť)<br />V tejto sekcii je riadok : Obľúbené a za ním je odkaz <B>"Pridať k obľúbeným"</B> už stačí len kliknúť. Prehľad vašich obľúbených obrázkov nájdete ak si 
+zvolíte v hornom menu <B>"Moje obľúbené"</B>. Ak si potom na tu zobrazený obrázok kliknete, na tom istom mieste kde bol odkaz "Pridať k obľúbeným" nájdete teraz odkaz <B>"Odobrať z obľúbených"</B>.<br />Ak máte povolené cookies a po vypnutí vášho PC ich neodstránite alebo inak nevymažete táto funkcia je dostupná aj pre neregistrovaných užívateľov.
+', 'offline', 0),
+  array('Ako môžem hodnotiť jednotlivé obrázky?', 'Kliknite na miniatúru obrázku, zobrazí sa vám tzv. stredný náhľad. Tam nájdete
+<B>"Hodnotiť tento súbor"</B> Tam si zvoľte počet hviezdičiek a kliknutím na ne ohodnotíte obrázok.
+', 'offline', 0),
+  array('Ako môžem pridať komentár k obrázku?', 'Kliknite na miniatúru obrázku, zobrazí sa vám tzv. stredný náhľad, ak sa presuniete na dolný koniec stránky s obrázkom nájdete tam časť <B>"Pridať komentár"</B>
+Prosím uvedomte si že počet slov alebo dĺžka komentáru je závislá na administrátorských nastaveniach. Ak by sa stalo že váš komentár sa nedá odoslať je pravdepodobne príliš dlhý. 
+', 'offline', 0),
+  array('Ako môžem pridať obrázok do galérie?', 'Kliknite na hore na odkaz <B>"Pridať súbor"</B> Zobrazí sa vám stránka Pridanie súborov. Pomocou boxov dole môžete na server nahrať súbory. Veľkosť a druh jednotlivých povolených súborov k odosielaniu je závislá na administrátorských nastaveniach.
+Návod ako exportovať v systéme <B>Windows XP</B> hromadne do svojich albumov viac súborov na raz nájdete
+<a href="xp_publish.php">tu.(návod je po anglicky)</a>', 'allow_private_albums', 1), //cpg1.4
+  array('Kde budem odosielať obrázok?', 'V prvom rade do svojej galérie ktorú si musíte vytvoriť.
+Ak máte povolenie posielať do spoločných môžete aj tam.
+Kto, alebo kde sa dajú pridávať jednotlivé obrázky záleží na nastaveniach  jednotlivých albumov. Niektoré albumy môžu byť len pre registrovaných užívateľov, iné môžu byť chránené heslom len pre určitých návštevníkov.
+', 'allow_private_albums', 0),
+  array('Aký typ a veľkosť súboru môžem odoslať?', 'Veľkosť a typ povolených súborov je závislí na administrátorských nastaveniach.', 'offline', 0),
+  array('Ako môžem vytvárať premenovať a vymazať albumy?', 'Na toto slúži odkaz <B>"Albumy"</B> po kliknutí na tento odkaz uvidíte nadpis <B>"Vybrať kategóriu"</B> v rozbalovacom menu si zvoľte <B>"* Moja Galéria *"</B> kliknite na tlačítko NOVÝ.
+Potom pomenujte vašu novú galériu.
+Nakoniec použite tlačítko <B>"Vykonať zmeny"</B>
+Na tomto mieste môžete aj odstraňovať nepotrebné albumy.
+Zasahovať do úpravy spoločných albumov môže len administrátor alebo osoba tým poverená.
+', 'allow_private_albums', 0),
+  array('Ako upraviť prístupové práva a nastavenia albumov?', 'Musíte sa najprv prihlásiť.
+Môžete meniť len vlastné albumy, zasahovať do úpravy spoločných albumov môže len administrátor alebo osoba tým poverená.
+Po zobrazení albumov kliknite prosím na tlačítko <B>VLASTNOSTI</B>.
+V Základných nastaveniach môžete zmeniť nadpis, popis albumu a zobrazenie náhľadového obrázku.
+V Oprávneniach pre album môžete zmeniť kto môže vaše album vidieť, pridať vstup len na heslo, povoliť alebo zakázať hodnotenia a komentáre.
+<B>Nastavenie hodnotení a komentárov je závislé aj od globálnej konfigurácie fóra a a prístupových práv jednotlivých skupín (Administrators Registered Banned Guests) prípadne iné.</B>
+', 'allow_private_albums', 0),
+  array('Ako si viem pozrieť galérie ostatných užívateľov?', 'Kliknite na odkaz "Galérie užívateľov" Táto kategória obsahuje albumy užívateľov tejto fotogalérie.', 'allow_private_albums', 0),
+  array('Čo sú cookies?', 'Cookies sú malé kusy textových  údajov posielané na vaše PC do špecifického adresára.<br /> Tento súbor je odoslaný zo stránky ktorú prezeráte lebo nastavujete. Do tohto súboru sa ukladajú vaše nastavenia a pri ďalšom prezeraní alebo návšteve tejto stránky sú tieto údaje znova načítané z vášho PC.', 'offline', 0),
+  array('Kde môžem získať takúto vynikajúcu fotogalériu?', 'Coppermine je voľne šírená Multimediálna Galéria licencovaná pod GNU GPL. Je prispôsobená pre všetky platformy a operačné systémy.  Navštívte prosím <a href="http://coppermine-gallery.net/"><B>Coppermine hlavnú stránku</B></a> a zistite si viac podrobností a stiahnite si túto aplikáciu.', 'offline', 0),
+
+  'Navigácia na týchto stránkach.',
+  array('Čo je Zoznam albumov?', 'Tento odkaz vám ukáže všetky kategórie. Je to vlastne hlavná stránka fotogalérie kde sú potom ďalej rozdelené jednotlivé albumy s ich zmenšenými úvodnými obrázkami.
+Najvyššie sú galérie jednotlivých užívateľov a nižšie sú spoločné hlavné kategórie.
+Kto, alebo kde sa dajú pridávať jednotlivé obrázky záleží na nastaveniach  jednotlivých albumov. Niektoré albumy môžu byť len pre registrovaných užívateľov, iné môžu byť chránené heslom a sú len pre určitých návštevníkov.
+', 'offline', 0),
+  array('Čo je Moja galéria?', 'To je vaša galéria do ktorej si môžete poslať obrázky alebo súbory. Môžete pridávať albumy mazať súbory modifikovať premenovať.<br /> Prosím uvedomte si že každý užívateľ má limitovanú kapacitu. Štandardne je to 20 MB. Toto nastavenie môže zmeniť administrátor fóra.', 'allow_private_albums', 1), //cpg1.4
+  array('Aký je rozdiel medzi administratívnym a užívateľským režimom?', 'Administrátor má takmer neobmedzené možnosti.
+Môže vytvárať upravovať mazať jednotlivé obrázky a galérie. Môže odstrániť hlasovania alebo komentáre. V prípade potreby zablokovať užívateľa alebo ho aj vyhodiť.
+Administrátor ale nemôže meniť vaše heslo a mailovú adresu. Taktiež nijakým spôsobom nevie zistiť vaše heslo. Nevie prebrať vlastníctvo vašich obrázkov alebo súborov.
+Užívateľ má obmedzené oprávnenia. Limitovaný priestor pre ukladanie, môže si vytvárať len svoje albumy. Pridávanie do spoločných albumov je riadené skupinovými oprávneniami.
+Môže komentovať a hlasovať. Všetko ale záleží na globálnych nastaveniach skupiny.   
+', 'allow_private_albums', 0),
+  array('Čo je to Pridať súbor?', 'Kliknite na hore na odkaz <B>"Pridať súbor"</B> Zobrazí sa vám stránka Pridanie súborov. Pomocou boxov dole môžete na server nahrať súbory.', 'allow_private_albums', 0),
+  array('Čo je to Najnovšie pridané?', 'Po kliknutí na tento odkaz sa vám zobrazia najnovšie poslané súbory a obrázky galérie.', 'offline', 0),
+  array('Čo sú Najnovšie komentáre?', 'Po kliknutí na tento odkaz sa vám zobrazia najnovšie komentáre spolu s obrázkami jednotlivých užívateľov.', 'offline', 0),
+  array('Čo je to Najprezeranejšie?', 'Po kliknutí na tento odkaz sa vám zobrazia najviac prezerané (najpopulárnejšie) obrázky s počtom pozretí, nezávisle na dátume odoslania.', 'offline', 0),
+  array('Čo je to Najvyššie hodnotené?', 'Po kliknutí na tento odkaz sa vám zobrazia najlepšie ohodnotené  obrázky jednotlivými užívateľmi. Toto hodnotenie je priemerné. To znamená že jednotlivé body hodnotiacich sa spočítavajú podľa toho koľko tzv. hviezdičiek <img src="images/rating5.gif" width="65" height="14" border="0" alt="best" /> udelili návštevníci týchto stránok fotografiám.<br /> Hodnoty sú od 1 do 5 jedna hviezdička až 5 hviezdičiek.
+<B>5 hviezdičiek zodpovedá najlepšiemu hodnoteniu.</B>', 'offline', 0),
+  array(' Čo je to Moje obľúbené?', 'Po kliknutí na tento odkaz sa vám zobrazia vaše uložené najobľúbenejšie obrázky.
+Táto funkcia je dostupná len po registrácii.<br />Ak máte povolené cookies a po vypnutí vášho PC ich neodstránite alebo inak nevymažete táto funkcia je dostupná aj pre neregistrovaných užívateľov.<br />FAQ  preložil 15.5.2008 : Willant Zoltán - <A HREF="http://kontakt.sturovo.com">http://kontakt.sturovo.com</A>', 'offline', 0),
+);
+
+
+// ------------------------------------------------------------------------- //
+// File forgot_passwd.php
+// ------------------------------------------------------------------------- //
+
+if (defined('FORGOT_PASSWD_PHP')) $lang_forgot_passwd_php = array(
+  'forgot_passwd' => 'Pripomenutie hesla',
+  'err_already_logged_in' => 'Už ste prihlásený !',
+  'enter_email' => 'Zadajte Vašu emailovú adresu', //cpg1.4
+  'submit' => 'go',
+  'illegal_session' => 'Akcia zaslania zabudnutého hesla zlyhala alebo expirovala.', //cpg1.4
+  'failed_sending_email' => 'Email s heslom nemohol byť zaslaný !',
+  'email_sent' => 'Email s prístupovými údajmi bol zaslaný pre %s', //cpg1.4
+  'verify_email_sent' => 'Email bol zaslaný pre %s. Skontrolujte si Vašu emailovú schránku pre kompletnosť procesu.', //cpg1.4
+  'err_unk_user' => 'Vybraný člen neexistuje!',
+  'account_verify_subject' => '%s - Vyžiadanie nového hesla.', //cpg1.4
+  'account_verify_body' => 'Požiadali ste o nové heslo. Ak si prajet pokračovať vo vyžiadaní kliknite na nasl. link:
+
+%s', //cpg1.4
+  'passwd_reset_subject' => '%s - Vaše nové heslo', //cpg1.4
+  'passwd_reset_body' => 'Tu sú nové prihlasovacie údaje:
+Meno: %s
+Heslo: %s
+Kliknúť na %s pre prihlásenie.', //cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File groupmgr.php
+// ------------------------------------------------------------------------- //
+
+if (defined('GROUPMGR_PHP')) $lang_groupmgr_php = array(
+  'group_name' => 'Meno skupiny', //cpg1.4
+  'permissions' => 'Oprávnenia', //cpg1.4
+  'public_albums' => 'Pridávanie do verejných albumov', //cpg1.4
+  'personal_gallery' => 'Osobná galéria', //cpg1.4
+  'upload_method' => 'Metóda pridávania', //cpg1.4
+  'disk_quota' => 'Limit', //cpg1.4
+  'rating' => 'Hodnotenia', //cpg1.4
+  'ecards' => 'Pohľadnice', //cpg1.4
+  'comments' => 'Komentáre', //cpg1.4
+  'allowed' => 'Dovolené', //cpg1.4
+  'approval' => 'Overenie', //cpg1.4
+  'boxes_number' => 'Počet boxov', //cpg1.4
+  'variable' => 'premenné', //cpg1.4
+  'fixed' => 'pevné', //cpg1.4
+  'apply' => 'Potvrď zmeny',
+  'create_new_group' => 'Vytvoriť novú skupinu',
+  'del_groups' => 'Vymazať označené skupiny',
+  'confirm_del' => 'Pokiaľ zmažete túto skupinu, všetci užívatelia, patriaci do tejto skupiny budú presunutí do skupiny \'Registered\' !\n\nPrajete si pokračovať ?', //js-alert
+  'title' => 'Spravovať užívateľské skupiny',
+  'num_file_upload' => 'Boxy pre pridávanie súborov', //cpg1.4
+  'num_URI_upload' => 'Boxy pre pridávanie URI', //cpg1.4
+  'reset_to_default' => 'Obnoviť predvolené meno (%s) - odporúčané!', //cpg1.4
+  'error_group_empty' => 'Tabuľka skupín je prázdna !<br /><br />Predvolené skupiny vytvorené, načítajte znovu túto stránku', //cpg1.4
+  'explain_greyed_out_title' => 'Prečo je tonto riadok sivý?', //cpg1.4
+  'explain_guests_greyed_out_text' => 'Nemožno meniť vlastnosti tejto skupiny, pretože ste zvoli možnosť &quot; Allow unlogged users (guest or anonymous) access&quot; to &quot;No&quot; on the config page. All guest (members of the group %s) can\'t do anything but login; therefor group settings don\'t apply for them.', //cpg1.4
+  'explain_banned_greyed_out_text' => 'Nemožno meniť vlastnosti tejto skupiny, pretože aj tak nič nemôžu robiť.', //cpg1.4
+  'group_assigned_album' => 'priradené albumy', //cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File index.php
+// ------------------------------------------------------------------------- //
+
+if (defined('INDEX_PHP')){
+
+$lang_index_php = array(
+  'welcome' => 'Welcome !',
+);
+
+$lang_album_admin_menu = array(
+  'confirm_delete' => 'Ste si istý, že chcete zmazať tento album ? \\nVšetky súbory a komentáre budú tiež zmazané.', //js-alert
+  'delete' => 'ZMAZAŤ',
+  'modify' => 'VLASTNOSTI',
+  'edit_pics' => 'UPRAVIŤ SÚBOR',
+);
+
+$lang_list_categories = array(
+  'home' => 'Home',
+  'stat1' => '<b>[pictures]</b> súborov v <b>[albums]</b> albumoch a <b>[cat]</b> kategóriách s <b>[comments]</b> komentármi zobrazené <b>[views]</b> krát',
+  'stat2' => '<b>[pictures]</b> súborov v <b>[albums]</b> albumoch zobrazených <b>[views]</b> krát',
+  'xx_s_gallery' => '%s\'s galérií',
+  'stat3' => '<b>[pictures]</b> súborov v <b>[albums]</b> albumoch s <b>[comments]</b> komentármi zobrazené <b>[views]</b> krát',
+);
+
+$lang_list_users = array(
+  'user_list' => 'Zoznam užívateľov',
+  'no_user_gal' => 'Nie sú žiadne užívateľské galérie',
+  'n_albums' => '%s album(ov)',
+  'n_pics' => '%s súbor(ov)',
+);
+
+$lang_list_albums = array(
+  'n_pictures' => '%s súborov',
+  'last_added' => ', posledný pridaný do %s',
+  'n_link_pictures' => '%s vzdialené súbory', //cpg1.4
+  'total_pictures' => '%s súborov celkom', //cpg1.4
+);
+
+}
+
+// ------------------------------------------------------------------------- //
+// File keywordmgr.php //cpg1.4
+// ------------------------------------------------------------------------- //
+
+if (defined('KEYWORDMGR_PHP')) $lang_keywordmgr_php = array(
+  'title' => 'Spravuj kľúčové slová', //cpg1.4
+  'edit' => 'upraviť', //cpg1.4
+  'delete' => 'zmazať', //cpg1.4
+  'search' => 'hľadať', //cpg1.4
+  'keyword_test_search' => 'hľadať %s v novom okne', //cpg1.4
+  'keyword_del' => 'zmazať kľúčové slovo %s', //cpg1.4
+  'confirm_delete' => 'Chcete skutočne zmazať kľúčové slovo %s z celej galérie?', //cpg1.4  // js-alert
+  'change_keyword' => 'zmeniť kľúčové slovo', //cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File login.php
+// ------------------------------------------------------------------------- //
+
+if (defined('LOGIN_PHP')) $lang_login_php = array(
+  'login' => 'Prihlásenie',
+  'enter_login_pswd' => 'Zadajte Vaše meno a heslo pre prihlásenie',
+  'username' => 'Meno',
+  'password' => 'Heslo',
+  'remember_me' => 'Pamätaj si ma',
+  'welcome' => 'Vítame Vás, %s ...',
+  'err_login' => '*** Chyba pri prihlásení. Skúste to znova! ***',
+  'err_already_logged_in' => 'Už ste prihlásený !',
+  'forgot_password_link' => 'Zabudol som svoje heslo',
+  'cookie_warning' => 'Upozornenie, Váš prehliadač neakceptuje cookies.', //cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File logout.php
+// ------------------------------------------------------------------------- //
+
+if (defined('LOGOUT_PHP')) $lang_logout_php = array(
+  'logout' => 'Odhlásiť',
+  'bye' => 'Ďakujeme za návštevu %s ...',
+  'err_not_loged_in' => 'Nie ste prihlásený !',
+);
+
+// ------------------------------------------------------------------------- //
+// File minibrowser.php  //cpg1.4
+// ------------------------------------------------------------------------- //
+
+if (defined('MINIBROWSER_PHP')) $lang_minibrowser_php = array(
+  'close' => 'zatvoriť', //cpg1.4
+  'submit' => 'OK', //cpg1.4
+  'up' => 'hore o jednu úroveň', //cpg1.4
+  'current_path' => 'súčasná cesta', //cpg1.4
+  'select_directory' => 'zvoľte adresár', //cpg1.4
+  'click_to_close' => 'Kliknutím na obrázok zatvoríte okno',
+);
+
+// ------------------------------------------------------------------------- //
+// File modifyalb.php
+// ------------------------------------------------------------------------- //
+
+if (defined('MODIFYALB_PHP')) $lang_modifyalb_php = array(
+  'upd_alb_n' => 'Aktualizovať album %s',
+  'general_settings' => 'Základné nastavenia',
+  'alb_title' => 'Nadpis albumu',
+  'alb_cat' => 'Kategória albumu',
+  'alb_desc' => 'Popis albumu',
+  'alb_keyword' => 'Kľúčové slovo pre album', //cpg1.4
+  'alb_thumb' => 'Náhľad albumu',
+  'alb_perm' => 'Oprávnenia pre album',
+  'can_view' => 'Album môžu vidieť',
+  'can_upload' => 'Návštevníci môžu pridávať súbory',
+  'can_post_comments' => 'Návštevníci môžu pridávať komentáre',
+  'can_rate' => 'Návštevníci môžu hodnotiť súbory',
+  'user_gal' => 'Užívateľská galéria',
+  'no_cat' => '* Žiadna kategória *',
+  'alb_empty' => 'Album je prázdny',
+  'last_uploaded' => 'Naposledy pridané',
+  'public_alb' => 'Každý (verejný album)',
+  'me_only' => 'Len ja',
+  'owner_only' => 'Vlastník albumu (%s) len',
+  'groupp_only' => 'Členovia skupiny \'%s\'',
+  'err_no_alb_to_modify' => 'žiadny album k modifikácii.',
+  'update' => 'Aktualizovať album',
+  'reset_album' => 'Reset album', //cpg1.4
+  'reset_views' => 'Resetovať počítadlo zobrazení na &quot;0&quot; v %s', //cpg1.4
+  'reset_rating' => 'Resetovať hodnotenia súborov v %s', //cpg1.4
+  'delete_comments' => 'Zmazať všetky komentáre v %s', //cpg1.4
+  'delete_files' => '%sNEZVRATNÉ%s zmazanie všetkých súborov v %s', //cpg1.4
+  'views' => 'zobrazení', //cpg1.4
+  'votes' => 'hlasov', //cpg1.4
+  'comments' => 'komentárov', //cpg1.4
+  'files' => 'súborov', //cpg1.4
+  'submit_reset' => 'Odoslať zmeny', //cpg1.4
+  'reset_views_confirm' => 'Súhlasím', //cpg1.4
+  'notice1' => '(*) závislé od nastavenia %sskupín%s ',  //cpg1.4 //(do not translate %s!)
+  'alb_password' => 'Heslo pre album', //cpg1.4
+  'alb_password_hint' => 'Heslo pre album - naznačenie', //cpg1.4
+  'edit_files' =>'Upraviť súbory', //cpg1.4
+  'parent_category' =>'Nadradená kategória', //cpg1.4
+  'thumbnail_view' =>'Zobrazenie náhľadov', //cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File phpinfo.php
+// ------------------------------------------------------------------------- //
+
+if (defined('PHPINFO_PHP')) $lang_phpinfo_php = array(
+  'php_info' => 'PHP info',
+  'explanation' => 'This is the output generated by the PHP-function <a href="http://www.php.net/phpinfo">phpinfo()</a>, displayed within Coppermine (trimming the output at the right side).',
+  'no_link' => 'Having others see your phpinfo can be a security risk, that\'s why this page is only visible when you\'re logged in as admin. You can not post a link to this page for others, they will be denied access.',
+);
+
+// ------------------------------------------------------------------------- //
+// File picmgr.php //cpg1.4
+// ------------------------------------------------------------------------- //
+if (defined('PICMGR_PHP')) $lang_picmgr_php = array(
+  'pic_mgr' => 'Správca obrázkov', //cpg1.4
+  'select_album' => 'Vybrať album', //cpg1.4
+  'delete' => 'Zmazať', //cpg1.4
+  'confirm_delete1' => 'Určite chcete zmazať tento obrázok ?', //cpg1.4
+  'confirm_delete2' => '\nObrázok bude navždy zmazaný.', //cpg1.4
+  'apply_modifs' => 'Vykonať zmeny', //cpg1.4
+  'confirm_modifs' => 'Potvrdiť zmeny', //cpg1.4
+  'pic_need_name' => 'Obrázok musí mať meno !', //cpg1.4
+  'no_change' => 'Nemôžete robiť žiadne zmeny !', //cpg1.4
+  'no_album' => '* Žiadny album *', //cpg1.4
+  'explanation_header' => 'Užívateľsky môžete usporadúvať súbory iba ak', //cpg1.4
+  'explanation1' => 'administrátor nastavil východzie usporiadanie podľa pozície', //cpg1.4
+  'explanation2' => 'užívateľ nastavil usporiadanie podľa pozície na stránke náhľadov', //cpg1.4
+);
+
+
+// ------------------------------------------------------------------------- //
+// File pluginmgr.php //cpg1.4
+// ------------------------------------------------------------------------- //
+
+if (defined('PLUGINMGR_PHP')){
+
+$lang_pluginmgr_php = array(
+  'confirm_uninstall' => 'Určite chcete odinštalovať tento zásuvný modul', //cpg1.4
+  'confirm_delete' => 'Určite chcete zmazať tento zásuvný modul', //cpg1.4
+  'pmgr' => 'Správca zásuvných modulov', //cpg1.4
+  'name' => 'Meno', //cpg1.4
+  'author' => 'Autor', //cpg1.4
+  'desc' => 'Popis', //cpg1.4
+  'vers' => 'ver.', //cpg1.4
+  'i_plugins' => 'Inštalované zásuvné moduly', //cpg1.4
+  'n_plugins' => 'Neinštalované zásuvné moduly', //cpg1.4
+  'none_installed' => 'Nič nenainštalované', //cpg1.4
+  'operation' => 'Operácia', //cpg1.4
+  'not_plugin_package' => 'Súbor nie je zásuvný modul.', //cpg1.4
+  'copy_error' => 'Chyba pri kopírovaní do adresára.', //cpg1.4
+  'upload' => 'Pridať', //cpg1.4
+  'configure_plugin' => 'Konfigurovať zásuvný modul.', //cpg1.4
+  'cleanup_plugin' => 'Odstrániť zásuvný modul.', //cpg1.4
+);
+}
+
+// ------------------------------------------------------------------------- //
+// File ratepic.php
+// ------------------------------------------------------------------------- //
+
+if (defined('RATEPIC_PHP')) $lang_rate_pic_php = array(
+  'already_rated' => 'Tento súbor ste už hodnotili',
+  'rate_ok' => 'Váš hlas bol prijatý. Ďakujeme.',
+  'forbidden' => 'YNemôžete hodnotiť vlastný súbor.',
+);
+
+// ------------------------------------------------------------------------- //
+// File register.php & profile.php
+// ------------------------------------------------------------------------- //
+
+if (defined('REGISTER_PHP') || defined('PROFILE_PHP')) {
+
+$lang_register_disclamer = <<<EOT
+Aj keď správca {SITE_NAME} bude opravovať prípadne odstraňovať nepríjemný materiál čo najskôr, nie je možné recenzovať každé podanie ihneď. Preto týmto priznávate zodpovednosť za pridávaný materiál v plnej miere, vlastným menom. Nie všetci členovia majú možnosť pridávať súbory, komentáre, hodnotenia na týchto stránkach. Autor pridania prehlasuje, že neporušuje autorské práva tretej strany.<br />
+<br />
+Vy súhlasíte, že nebudete pridávať nijaký hrubý, odporný, nevychovaný, ohováračský, výhražný, nábožensky alebo sexuálne-orientovaný alebo každý iný materiál, ktorý porušuje nejaké platné práva v ktorejkoľvek krajine. Správca má právo odstrániť akýkoľvek príspevok (súbor,hodnotenie,komentár) podľa vlastného uváženia kedykoľvek to uzná za vhodné. Správca nie je povinný schváliť Vašu registráciu, pri porušovaní pravidiel prípadne autorských práv  môže Vašu registráciu zrušiť, či prípadne úplne zakázať prístup k stránkam {SITE_NAME}. Všetky dáta uložené v databáze sú použité výhradne pre chod galérie a nie sú nijak inak spracovávané. Pokiaľ nie je uvedené inak, všetky obrázky zverejnené v albumoch {SITE_NAME} sú chránené autorským právom a nie je dovolené ich kopírovať, upravovať, šíriť ďalej, komerčne využívať či inak reprodukovať. <br />
+<br />
+Tieto stránky používajú cookies k ukladaniu informácií do Vášho počítača. Tieto cookies zlepšujú potešenie z prehliadania. E-mail je použitý iba na zaslanie aktivačných údajov a hesiel.<br />
+<br />
+Stlačením tlačidla 'Súhlasím' potvrdzujete porozumenie s týmito podmienkami.
+EOT;
+
+$lang_register_php = array(
+  'page_title' => 'Registrácia nového užívateľa',
+  'term_cond' => 'Podmienky a pravidlá',
+  'i_agree' => 'Súhlasím',
+  'submit' => 'Odoslať registráciu',
+  'err_user_exists' => 'Zadané užívateľské meno už existuje vyberte si prosím iné',
+  'err_password_mismatch' => 'Zadané heslo sa musí zhodovať v oboch riadkoch, zadajte znova',
+  'err_uname_short' => 'Minimálna dĺžka uživateľskeho mena je 2 znaky',
+  'err_password_short' => 'Minimálna dĺžka hesla je 2 znaky',
+  'err_uname_pass_diff' => 'Meno a heslo se nesmie zhodovať',
+  'err_invalid_email' => 'Bola zadaná neplatná emailová adresa',
+  'err_duplicate_email' => 'Táto emailová adresa je už ragistrovaná, zadajte inú.',
+  'enter_info' => 'Zadať registračné informácie',
+  'required_info' => 'Povinné údaje',
+  'optional_info' => 'Voliteľné údaje',
+  'username' => 'Meno',
+  'password' => 'Heslo',
+  'password_again' => 'Zopakuj heslo',
+  'email' => 'Email',
+  'location' => 'Miesto',
+  'interests' => 'Záujmy',
+  'website' => 'www',
+  'occupation' => 'Zamestnanie',
+  'error' => 'CHYBA',
+  'confirm_email_subject' => '%s - Potvrdenie registrácie',
+  'information' => 'Informácia',
+  'failed_sending_email' => 'Nie je možné odoslať email o potvrdení registrácie !',
+  'thank_you' => 'Ďakujeme za registráciu.<br /><br />Na email adresu zadanú pri registrácii Vám budú doručené informácie o aktiváci vášho účtu.',
+  'acct_created' => 'Váš užívateľský účet bol úspešne vytvorený. Teraz sa môžete prihláste pomocou vášho mena a hesla',
+  'acct_active' => 'Váš užívateľský účet je odteraz aktívny a Vy sa môžete prihlásiť pomocou vášho mena a hesla ',
+  'acct_already_act' => 'Váš účet je už aktivny!', //cpg1.4
+  'acct_act_failed' => 'Tento účet nemôže byť aktivovaný !',
+  'err_unk_user' => 'Vybraný užívateľ neexistuje !',
+  'x_s_profile' => '%s\'s profil',
+  'group' => 'Skupina',
+  'reg_date' => 'Pripojený',
+  'disk_usage' => 'Využitie disku',
+  'change_pass' => 'Zmeniť heslo',
+  'current_pass' => 'Súčasné heslo',
+  'new_pass' => 'Nové heslo',
+  'new_pass_again' => 'Nové heslo znova',
+  'err_curr_pass' => 'Súčasné heslo je nesprávne',
+  'apply_modif' => 'Vykonať zmeny',
+  'change_pass' => 'Zmeniť moje heslo',
+  'update_success' => 'Váš profil bol aktualizovaný',
+  'pass_chg_success' => 'Vaše heslo bolo zmenené',
+  'pass_chg_error' => 'Vaše heslo nebolo zmenené',
+  'notify_admin_email_subject' => '%s - Upozornenie na registráciu',
+  'last_uploads' => 'Posledný pridaný súbor.<br />Klikni pre zobrazenie všetkých pridaní od', //cpg1.4
+  'last_comments' => 'Posledný komentár.<br />Klikni pre zobrazenie všetkých komentárov od', //cpg1.4
+  'notify_admin_email_body' => 'Nový užívateľ "%s" zaregistrovaný v galérii',
+  'pic_count' => 'Súborov pridaných', //cpg1.4
+  'notify_admin_request_email_subject' => '%s - Požiadavka registrácie.', //cpg1.4
+  'thank_you_admin_activation' => 'Ďakujeme.<br /><br />Vaša požiadavka o registráciu bolo odoslaná administrátorovi. Čoskoro obdržíte email.', //cpg1.4
+  'acct_active_admin_activation' => 'ˇUčet bol vytvorený a email bol zaslaný užívateľovi.', //cpg1.4
+  'notify_user_email_subject' => '%s - Oznámenie o aktivácii', //cpg1.4
+);
+
+$lang_register_confirm_email = <<<EOT
+Ďakujeme za registráciu na {SITE_NAME}
+
+Pre aktiváciu účtu užívateľa "{USER_NAME}", treba kliknúť na link ďalej alebo skopírovať do prehliadača.
+
+<a href="{ACT_LINK}">{ACT_LINK}</a>
+
+S pozdravom,
+
+Administrátor od {SITE_NAME}
+
+EOT;
+
+$lang_register_approve_email = <<<EOT
+Nový užívateľ "{USER_NAME}" sa zaregistroval v galérii.
+
+Pre aktiváciu účtu užívateľa, treba kliknúť na link ďalej alebo skopírovať do prehliadača.
+
+<a href="{ACT_LINK}">{ACT_LINK}</a>
+
+EOT;
+
+$lang_register_activated_email = <<<EOT
+Váš účet bol vytvorený a aktivovaný
+Teraz sa môžete prihlásiť na  <a href="{SITE_LINK}">{SITE_LINK}</a> použitím mena "{USER_NAME}"
+
+
+S pozdravom,
+
+Administrátor od {SITE_NAME}
+
+EOT;
+}
+
+// ------------------------------------------------------------------------- //
+// File reviewcom.php
+// ------------------------------------------------------------------------- //
+
+if (defined('REVIEWCOM_PHP')) $lang_reviewcom_php = array(
+  'title' => 'Kontrola komentárov',
+  'no_comment' => 'Nie sú žiadne komentáre na kontrolu',
+  'n_comm_del' => '%s komentárov zmazaných',
+  'n_comm_disp' => 'Počet komentárov k zobrazeniu',
+  'see_prev' => 'Predchádzajúci',
+  'see_next' => 'Ďaľší',
+  'del_comm' => 'Zmazať vybrané komentáre',
+  'user_name' => 'Meno', //cpg1.4
+  'date' => 'Dátum', //cpg1.4
+  'comment' => 'Komentár', //cpg1.4
+  'file' => 'Súbor', //cpg1.4
+  'name_a' => 'Užívatelia vzostupne', //cpg1.4
+  'name_d' => 'Užívatelia zostupne', //cpg1.4
+  'date_a' => 'Dátum vzostupne', //cpg1.4
+  'date_d' => 'Dátum zostupne', //cpg1.4
+  'comment_a' => 'Komentáre vzostupne', //cpg1.4
+  'comment_d' => 'Komentáre zostupne', //cpg1.4
+  'file_a' => 'Súbory vzostupne', //cpg1.4
+  'file_d' => 'Súbory zostupne', //cpg1.4
+);
+
+
+// ------------------------------------------------------------------------- //
+// File search.php                                                           //
+// ------------------------------------------------------------------------- //
+
+
+if (defined('SEARCH_PHP')){
+
+$lang_search_php = array(
+  'title' => 'Vyhľadávanie v albumoch', //cpg1.4
+  'submit_search' => 'hľadať', //cpg1.4
+  'keyword_list_title' => 'Zoznam kľúčových slov', //cpg1.4
+  'keyword_msg' => 'Uvedený list neobsahuje všetko.  Skúste full-textové vyhľadávanie.',  //cpg1.4
+  'edit_keywords' => 'Upraviť kľúčové slovo', //cpg1.4
+  'search in' => 'Hľadať v:', //cpg1.4
+  'ip_address' => 'IP adresa', //cpg1.4
+  'fields' => 'Hľadať v', //cpg1.4
+  'age' => 'Vek súboru', //cpg1.4
+  'newer_than' => 'Mladší ako', //cpg1.4
+  'older_than' => 'Starší ako', //cpg1.4
+  'days' => 'dní', //cpg1.4
+  'all_words' => 'Zhodné všetky výrazy (A)', //cpg1.4
+  'any_words' => 'Zhodné niektoré výrazy (ALEBO)', //cpg1.4
+);
+
+$lang_adv_opts = array(
+  'title' => 'Nadpis', //cpg1.4
+  'caption' => 'Záhlavie', //cpg1.4
+  'keywords' => 'Kľúčové slovo', //cpg1.4
+  'owner_name' => 'Vlastník', //cpg1.4
+  'filename' => 'Názov súboru', //cpg1.4
+);
+
+}
+
+// ------------------------------------------------------------------------- //
+// File searchnew.php
+// ------------------------------------------------------------------------- //
+
+if (defined('SEARCHNEW_PHP')) $lang_search_new_php = array(
+  'page_title' => 'Hľadať nové súbory',
+  'select_dir' => 'Zvoliť adresár',
+  'select_dir_msg' => 'Táto funkcia vám umožní dávkovo pridať obrázky nahrané na server cez FTP.<br /><br />Vyberte adresár kam boli uložené súbory', //cpg1.4
+  'no_pic_to_add' => 'Žiadne súbory na pridanie',
+  'need_one_album' => 'Je potrebné, aby ste mali aspoň jeden album',
+  'warning' => 'Upozornenie',
+  'change_perm' => 'Skript nemôže zapisovať do tohto adresára, musíte nastaviť na CHMOD 755 alebo 777 pred pridaním súborov!',
+  'target_album' => '<b>Vložiť súbory z &quot;</b>%s<b>&quot; do </b>%s',
+  'folder' => 'Zložka',
+  'image' => 'súbor',
+  'album' => 'Album',
+  'result' => 'Result',
+  'dir_ro' => 'Nezapisovateľná. ',
+  'dir_cant_read' => 'Nečitateľná. ',
+  'insert' => 'Pridávanie nových súborov do galérie',
+  'list_new_pic' => 'Zoznam nových súborov',
+  'insert_selected' => 'Vložiť vybrané súbory',
+  'no_pic_found' => 'Žiadne nové súbory',
+  'be_patient' => 'Buďte trpezlivý, skript potrebuje trocha času na spracovanie...',
+  'no_album' => 'žiadny album vybraný',
+  'result_icon' => 'klikni pre detaily alebo znovunačítanie',  //cpg1.4
+  'notes' =>  '<ul>'.
+                          '<li><b>OK</b> : súbor bol pridaný'.
+                          '<li><b>DP</b> : súbor je duplikát a už je v galérii'.
+                          '<li><b>PB</b> : súbor nemohol byť pridaný, zkontrolujte konfiguráciu a oprávnenia'.
+                          '<li><b>NA</b> : nebol vybraný cieľový album, klikni \'<a href="javascript:history.back(1)">späť</a>\' a vyber existujúci album.</li>'.
+                          '<li>Ak sa neukáže \'označenie\' OK, DP, PB klepnite na súbor a uvidíte chybovú hlášku generovanú PHP, ktorá Vám pomôže zistiť príčinu problému'.
+                          '<li>Ak prehliadaču vypršal čas. limit, obnovte stránku'.
+                          '</ul>',
+  'select_album' => 'zvoľte album',
+  'check_all' => 'Označiť všetko',
+  'uncheck_all' => 'Odznačiť všetko',
+  'no_folders' => 'Žiadny adresár v adresári "albums". Vytvorte aspoň jeden adresár v adresári "albums" a pridajte doň svoje súbory pomocou FTP. Nepoužívajte adresáre "userpics" alebo "edit".', //cpg1.4
+   'albums_no_category' => 'Albumy bez kategórie', //cpg1.4 // album pulldown mod, added by frogfoot
+  'personal_albums' => '* Súkromné albumy', //cpg1.4 // album pulldown mod, added by frogfoot
+  'browse_batch_add' => 'Rozhranie s prehliadaním (odporúčame)', //cpg1.4
+  'edit_pics' => 'Uprav súbory', //cpg1.4
+  'edit_properties' => 'Vlastnosti albumu', //cpg1.4
+  'view_thumbs' => 'Náhľady', //cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File stat_details.php //cpg1.4
+// ------------------------------------------------------------------------- //
+
+if (defined('STAT_DETAILS_PHP')) $lang_stat_details_php = array(
+  'show_hide' => 'ukáž/schovaj tento stĺpec', //cpg1.4
+  'vote' => 'Detaily hlasovania', //cpg1.4
+  'hits' => 'Detaily videní', //cpg1.4
+  'stats' => 'Štatistika hlasovania', //cpg1.4
+  'sdate' => 'Dátum', //cpg1.4
+  'rating' => 'Hodnotenie', //cpg1.4
+  'search_phrase' => 'Hľadaný výraz', //cpg1.4
+  'referer' => 'Odkazavač', //cpg1.4
+  'browser' => 'Prehliadač', //cpg1.4
+  'os' => 'Operačný systém', //cpg1.4
+  'ip' => 'IP', //cpg1.4
+  'sort_by_xxx' => 'Usporiadať podľa %s', //cpg1.4
+  'ascending' => 'vzostupne', //cpg1.4
+  'descending' => 'zostupne', //cpg1.4
+  'internal' => 'int', //cpg1.4
+  'close' => 'zatvoriť', //cpg1.4
+  'hide_internal_referers' => 'skryť interné odkazovače', //cpg1.4
+  'date_display' => 'Dátum', //cpg1.4
+  'submit' => 'odoslať/vykonať', //cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File thumbnails.php
+// ------------------------------------------------------------------------- //
+
+// Void
+
+// ------------------------------------------------------------------------- //
+// File upload.php
+// ------------------------------------------------------------------------- //
+
+if (defined('UPLOAD_PHP')) $lang_upload_php = array(
+  'title' => 'Upload file',
+  'custom_title' => 'Upravený Formulár',
+  'cust_instr_1' => 'Môžete zvoliť požadovaný počet vstupných boxov. Nie je možné prekročiť maximum uvedené nižšie.',
+  'cust_instr_2' => 'Požiadavka na boxy',
+  'cust_instr_3' => 'Boxy pre súbory: %s',
+  'cust_instr_4' => 'Boxy pre URI/URL: %s',
+  'cust_instr_5' => 'Boxy pre URI/URL:',
+  'cust_instr_6' => 'Boxy pre súbory:',
+  'cust_instr_7' => 'Prosím zadajte požadovaný počet boxov ku každému typu. Potom stlačte \'Pokračovať\'. ',
+  'reg_instr_1' => 'Neplatná akcia pre vytváranie formulára.',
+  'reg_instr_2' => 'Pomocou boxov dole môžete na server nahrať súbory. Veľkosť jednotlivých nahrávaných súborov pri uploade na server by nemala presiahnuť %s KB. Súbory ZIP nahrané pomocou sekcií \'Pridanie súborov\' alebo \'URI/URL pridanie\' zostanú zkomprimované ako jeden súbor aj po nahraní na server.',
+  'reg_instr_3' => 'Ak chcete, aby súbory zbalené v archíve ZIP boli rozbalené, musíte použiť pre zadanie súboru políčko v sekci \'Pridanie ZIP s rozbalením\'.',
+  'reg_instr_4' => 'Ak používate sekciu URI/URL pridanie, prosím zadávajte cestu k súboru takto: http://www.mojadomena.sk/obrazky/priklad.jpg',
+  'reg_instr_5' => 'Po vyplnení formulára stlačte tlačídlo \'Pokračovať\'.',
+  'reg_instr_6' => 'Pridanie ZIP s rozbalením:',
+  'reg_instr_7' => 'Pridanie súborov:',
+  'reg_instr_8' => 'URI/URL pridanie:',
+  'error_report' => 'Chybové hlásenie',
+  'error_instr' => 'Toto vykazuje chyby:',
+  'file_name_url' => 'Súbor meno/URL',
+  'error_message' => 'Chybová správa',
+  'no_post' => 'Súbor nebol pridaný cez POST.',
+  'forb_ext' => 'Nepovolená prípona súboru.',
+  'exc_php_ini' => 'Prekročená veľkosť súboru povolená v php.ini.',
+  'exc_file_size' => 'Prekročená veľkosť súboru povolená konfiguráciou.',
+  'partial_upload' => 'Iba čiastočné pridanie.',
+  'no_upload' => 'Nevykonalo sa žiadne pridanie.',
+  'unknown_code' => 'Neznáma PHP chyba.',
+  'no_temp_name' => 'Žiadne pridanie - žiadne dočasné meno.',
+  'no_file_size' => 'Neobsahuje dáta/poškodené',
+  'impossible' => 'Nemožno presunúť.',
+  'not_image' => 'Neobsahuje obrázok/poškodené',
+  'not_GD' => 'Chýba GD.',
+  'pixel_allowance' => 'Prekročená šírka alebo výška obrázku povolená konfiguráciou.', //cpg1.4
+  'incorrect_prefix' => 'Neplatný URI/URL prefix',
+  'could_not_open_URI' => 'Nemožno otvoriť URI.',
+  'unsafe_URI' => 'Neoverená bezpečnosť.',
+  'meta_data_failure' => 'Chyba v meta dátach',
+  'http_401' => '401 Neautorizovaný prístup',
+  'http_402' => '402 Požadovaná platba',
+  'http_403' => '403 Zakázaný prístup',
+  'http_404' => '404 Nebolo nájdené',
+  'http_500' => '500 Interná chyba serveru',
+  'http_503' => '503 Služba je nedostupná',
+  'MIME_extraction_failure' => 'MIME nebolo rozpoznané.',
+  'MIME_type_unknown' => 'Neznámy MIME typ',
+  'cant_create_write' => 'Nemožno vytvoriť súbor pre zápis.',
+  'not_writable' => 'Nemožno zapisovať do súboru pre zápis.',
+  'cant_read_URI' => 'Nemožno čítať URI/URL',
+  'cant_open_write_file' => 'Nebolo možné otvoriť súbor URI.',
+  'cant_write_write_file' => 'Nebolo možné zapisovať do súboru URI.',
+  'cant_unzip' => 'Nemožno rozbaliť.',
+  'unknown' => 'Neznámá chyba',
+  'succ' => 'Úspešné pridanie',
+  'success' => '%s pridaní bolo úspešných.',
+  'add' => 'Prosím stlačte \'Pokračovať\' pre pridanie súborov do galérie.',
+  'failure' => 'Chyba pridania',
+  'f_info' => 'Informácie o súbore',
+  'no_place' => 'Predchádzajúci súbor nie je možné umiestniť.',
+  'yes_place' => 'Predchádzajúci súbor bol úspešne umiestnený.',
+  'max_fsize' => 'Max. veľkosť súboru je %s KB',
+  'album' => 'Album',
+  'picture' => 'Súbor',
+  'pic_title' => 'Nadpis súboru',
+  'description' => 'Popis súboru',
+  'keywords' => 'Kľúčové slová ( oddelené medzerami)<br /><a href="#" onClick="return MM_openBrWindow(\'keyword_select.php\',\'selectKey\',\'width=250, height=400, scrollbars=yes,toolbar=no,status=yes,resizable=yes\')">Vložiť zo zoznamu</a>', //cpg1.4
+  'keywords_sel' =>'Vybrať kľúčové slovo', //cpg1.4
+  'err_no_alb_uploadables' => 'Tu sa nenachádza album do ktorého môžete pridávať',
+  'place_instr_1' => 'Prosím umiestnite teraz súbory do albumov. Môžete tiež zadať informácie týkajúce sa jednotlivých súborov.',
+  'place_instr_2' => 'Viac súborov je potreba umiestniť. Prosím stlačte \'Pokračovať\'.',
+  'process_complete' => 'Úspešne ste umiestnili všetky súbory.',
+   'albums_no_category' => 'Albumy bez kategórie', //cpg1.4. //album pulldown mod, added by frogfoot
+  'personal_albums' => '* Osobný album', //cpg1.4 //album pulldown mod, added by frogfoot
+  'select_album' => 'Vybrať album', //cpg1.4 //album pulldown mod, added by frogfoot
+  'close' => 'Zatvoriť', //cpg1.4
+  'no_keywords' => 'Žiadne kľúčové slová k výberu!', //cpg1.4
+  'regenerate_dictionary' => 'Obnoviť adresár', //cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File usermgr.php
+// ------------------------------------------------------------------------- //
+
+if (defined('USERMGR_PHP')) $lang_usermgr_php = array(
+  'memberlist' => 'Zoznam členov', //cpg1.4
+  'user_manager' => 'Správca užívateľov', //cpg1.4
+  'title' => 'Spravuj užívateľov',
+  'name_a' => 'Meno vzostupne',
+  'name_d' => 'Meno zostupne',
+  'group_a' => 'Skupina vzostupne',
+  'group_d' => 'Skupina zostupne',
+  'reg_a' => 'Reg. dátum vzostupne',
+  'reg_d' => 'Reg. dátum zostupne',
+  'pic_a' => 'Počet súborov vzostupne',
+  'pic_d' => 'Počet súborov zostupne',
+  'disku_a' => 'Priestor vzostupne',
+  'disku_d' => 'Priestor zostupne',
+  'lv_a' => 'Posledná návšteva vzostupne',
+  'lv_d' => 'Posledná návšteva zostupne',
+  'sort_by' => 'Triediť užívateľov podľa:',
+  'err_no_users' => 'Tabuľka užívateľov je prázdna !',
+  'err_edit_self' => 'Na úpravu vlastného profilu použite link \'Môj profil\'',
+  'edit' => 'Upraviť', //cpg1.4
+  'with_selected' => 'Akcia pre označených:', //cpg1.4
+  'delete' => 'Vymazať', //cpg1.4
+  'delete_files_no' => 'ponechať verejné súbory (ale anonymizovať)', //cpg1.4
+  'delete_files_yes' => 'zmazať verejné súbory', //cpg1.4
+  'delete_comments_no' => 'ponechať komentáre (ale anonymizovať)', //cpg1.4
+  'delete_comments_yes' => 'zmazať verejné komentáre', //cpg1.4
+  'activate' => 'Aktivovať', //cpg1.4
+  'deactivate' => 'Deaktivovať', //cpg1.4
+  'reset_password' => 'Resetovať heslo', //cpg1.4
+  'change_primary_membergroup' => 'Zmeniť primárnu skupinu', //cpg1.4
+  'add_secondary_membergroup' => 'Zmeniť sekundárnu skupinu', //cpg1.4
+  'name' => 'Užívateľské meno',
+  'group' => 'Skupina',
+  'inactive' => 'Neaktívny',
+  'operations' => 'Operácie',
+  'pictures' => 'Súbory',
+  'disk_space_used' => 'Priestor(využitie)', //cpg1.4
+  'disk_space_quota' => 'Priestor(limit)', //cpg1.4
+  'registered_on' => 'Registrácia', //cpg1.4
+  'last_visit' => 'Posledná návšt.',
+  'u_user_on_p_pages' => '%d užívateľov na %d str.',
+  'confirm_del' => 'Naozaj chcete zmazať tohoto užívateľa? \\nVšetky jeho albumy a súbory budú tiež zmazané.', //js-alert
+  'mail' => 'MAIL',
+  'err_unknown_user' => 'Vybraný užívateľ neexistuje !',
+  'modify_user' => 'Upraviť užívateľa',
+  'notes' => 'Pozn.',
+  'note_list' => '<li>Pokiaľ nechcete zmeniť heslo ponechajte políčko pre heslo prázdne',
+  'password' => 'Password',
+  'user_active' => 'Užívateľ je aktívny',
+  'user_group' => 'Užív. skupina',
+  'user_email' => 'Užív. email',
+  'user_web_site' => 'Užív. www',
+  'create_new_user' => 'Vytvoriť užívateľa',
+  'user_location' => 'Užív. mesto',
+  'user_interests' => 'Užív. záujmy',
+  'user_occupation' => 'Užív. práca',
+  'user_profile1' => '$user_profile1', //cpg1.4
+  'user_profile2' => '$user_profile2', //cpg1.4
+  'user_profile3' => '$user_profile3', //cpg1.4
+  'user_profile4' => '$user_profile4', //cpg1.4
+  'user_profile5' => '$user_profile5', //cpg1.4
+  'user_profile6' => '$user_profile6', //cpg1.4
+  'latest_upload' => 'Čerstvé pridanie',
+  'never' => 'nikdy',
+  'search' => 'Vyhľadaj člena', //cpg1.4
+  'submit' => 'Odošli', //cpg1.4
+  'search_submit' => 'Choď!', //cpg1.4
+  'search_result' => 'Hľadaj výsledky pre: ', //cpg1.4
+  'alert_no_selection' => 'Najprvtreba aspoň jedného člena označiť!', //cpg1.4 //js-alert
+  'password' => 'Heslo', //cpg1.4
+  'select_group' => 'Vyber skupinu', //cpg1.4
+  'groups_alb_access' => 'Obmedzenia albumu podľa skupiny', //cpg1.4
+  'album' => 'Album', //cpg1.4
+  'category' => 'Kategória', //cpg1.4
+  'modify' => 'Zmeniť?', //cpg1.4
+  'group_no_access' => 'Táto skupina nemá špeciálny prístup', //cpg1.4
+  'notice' => 'Oznam', //cpg1.4
+  'group_can_access' => 'Album do ktorého len "%s" má vstup', //cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File util.php
+// ------------------------------------------------------------------------- //
+
+if (defined('UTIL_PHP')) {
+$lang_util_desc_php = array(
+'Aktualizovať nadpisy z názvu súboru', //cpg1.4
+'Vymazať nadpisy', //cpg1.4
+'Obnoviť náhľady a zmenšené obrázky', //cpg1.4
+'Vymazať originálne obrázky a nahradiť zmenšenými', //cpg1.4
+'Vymazať originálne a dočasné obrázky kvôli úspore web miesta', //cpg1.4
+'Vymazať osamelé komentáre', //cpg1.4
+'Znovu načítať veľkosť a rozmery obrázkov', //cpg1.4
+'Resetovať počítadlá zobrazení', //cpg1.4
+'Zobraziť phpinfo', //cpg1.4
+'Aktualizovať databázu', //cpg1.4
+'Zobraziť log súbory', //cpg1.4
+);
+$lang_util_php = array(
+  'title' => 'Administračné nástroje',
+  'what_it_does' => 'Čo robia',
+  'file' => 'Súbor',
+  'problem' => 'Problém', //cpg1.4
+  'status' => 'Stav', //cpg1.4
+  'title_set_to' => 'nadpis nastaviť na',
+  'submit_form' => 'poslať',
+  'updated_succesfully' => 'aktualizované',
+  'error_create' => 'ERROR vytvorenie',
+  'continue' => 'Spracovať viac obrázkov',
+  'main_success' => 'Súbor %s bol úspešne použitý ako hlavný',
+  'error_rename' => 'Chybné premenovanie %s na %s',
+  'error_not_found' => 'Súbor nebol %s nenájdený',
+  'back' => 'späť',
+  'thumbs_wait' => 'Aktualizujem, počkajte chvíľu...',
+  'thumbs_continue_wait' => 'Pokračujem v aktualizácii...',
+  'titles_wait' => 'Aktualizujem nadpisy, počkajte chvíľu...',
+  'delete_wait' => 'Mažem nadpisy, počkajte chvíľu...',
+  'replace_wait' => 'Vymazávam originálne obrázky a nahrádzam zmenšenými, počkajte chvíľu...',
+  'instruction' => 'Návod',
+  'instruction_action' => 'Zvoľte akciu',
+  'instruction_parameter' => 'Nastavte parametre',
+  'instruction_album' => 'Vyberte album',
+  'instruction_press' => 'Stlačte %s',
+  'update' => 'Aktualizovať náhľady a/alebo zmenšeniny',
+  'update_what' => 'Čo sa bude aktualizovať',
+  'update_thumb' => 'Len náhľady',
+  'update_pic' => 'Len zmenšeniny',
+  'update_both' => 'Aj náhľady aj zmenšeniny',
+  'update_number' => 'Počet obrázkov na klik ',
+  'update_option' => '(Nastavte menej, ak dochádza k časovým výpadkom prehliadača)',
+  'filename_title' => 'Názov súboru &rArr; Nadpis súboru',
+  'filename_how' => 'Ako vytvoriť nadpis súboru z názvu súboru',
+  'filename_remove' => 'Odobrať .jpg príponu a nahradiť _ (podčiarnik) medzerou',
+  'filename_euro' => 'Zmeniť 2003_11_23_13_20_20.jpg na 23/11/2003 13:20',
+  'filename_us' => 'Zmeniť 2003_11_23_13_20_20.jpg na 11/23/2003 13:20',
+  'filename_time' => 'Zmeniť 2003_11_23_13_20_20.jpg na 13:20',
+  'delete' => 'Vymazať nadpisy alebo originál súbory',
+  'delete_title' => 'Vymazať nadpisy',
+  'delete_title_explanation' => 'Vymaže všetky nadpisy vo zvolenom albume.', //cpg1.4
+  'delete_original' => 'Vymazať originál súbory',
+  'delete_original_explanation' => 'Vymaže všetky originál súbory vo zvolenom albume.', //cpg1.4
+  'delete_intermediate' => 'Zmazať pomocné obrázky', //cpg1.4
+  'delete_intermediate_explanation' => 'Vymaže všetky pomocné (normal) obrázky vo zvolenom albume.<br />Použiť na uvoľnenie miesta, ak je v konfigurácii vypnutá funkcia \'Vytvoriť pomocné obrázky\' (po pridaní súborov).', //cpg1.4
+  'delete_replace' => 'Vymaže originálne obrázky a nahradí zmenšenými',
+  'titles_deleted' => 'Všetky nadpisy vo zvolenom albume odobraté', //cpg1.4
+  'deleting_intermediates' => 'Mažem pomocné obrázky, počkajte chvíľu...', //cpg1.4
+  'searching_orphans' => 'Hľadám osamotené, počkajte chvíľu...', //cpg1.4
+  'select_album' => 'Vybrať album',
+  'delete_orphans' => 'Vymazať komentáre k chýbajúcim súborom', //cpg1.4
+  'delete_orphans_explanation' => 'Vymaže komentáre k chýbajúcim súborom, ktoré už nie sú v galérii.<br />Skontrolujte všetky albumy.', //cpg1.4
+  'refresh_db' => 'Znovunačítanie veľkostí a rozmerov súborov', //cpg1.4
+  'refresh_db_explanation' => 'Znovunačítanie veľkostí a rozmerov súborov použite na korkciu správnosti veľkosti priestoru.', //cpg1.4
+  'reset_views' => 'Nulovať počítadlá zobrazení', //cpg1.4
+  'reset_views_explanation' => 'Vo vybranom albume vynuluje počítadlá zobrazení.', //cpg1.4
+  'orphan_comment' => 'osamotený komentár nájdený',
+  'delete' => 'Zmazať',
+  'delete_all' => 'Zmazať všetko',
+  'delete_all_orphans' => 'Zmazať všetky osamotené?', //cpg1.4
+  'comment' => 'Komentár: ',
+  'nonexist' => 'priložiť k neexistujúcemu súboru # ',
+  'phpinfo' => 'Zobraziť phpinfo',
+  'phpinfo_explanation' => 'Technické info o Vašom serveri.<br /> - Zobrazí sa iba ak hosting povoľuje.', //cpg1.4
+  'update_db' => 'Aktualizovať databázu',
+  'update_db_explanation' => 'Použiť pri aktualizácii galérie, pri pridaní systémových súborov, zmene verzie CPG atd. Funkcia pre systémových inštalátorov.',
+  'view_log' => 'Zobraziť log súbory', //cpg1.4
+  'view_log_explanation' => 'Prehľad logov nastavených v <a href="admin.php">konfigurácii</a>.', //cpg1.4
+  'versioncheck' => 'Skontrolovať verzie', //cpg1.4
+  'versioncheck_explanation' => 'Kontrola správnosti a aktuálnosti systémových súborov galérie. Funkcia pre systémových inštalátorov.', //cpg1.4
+  'bridgemanager' => 'Správca prepojenia', //cpg1.4
+  'bridgemanager_explanation' => 'Zapína/vypína integráciu CPG galérie do prostredia inej aplikácie.', //cpg1.4
+);
+}
+
+// ------------------------------------------------------------------------- //
+// File versioncheck.php //cpg1.4
+// ------------------------------------------------------------------------- //
+
+if (defined('VERSIONCHECK_PHP')) $lang_versioncheck_php = array(
+  'title' => 'Versioncheck', //cpg1.4
+  'what_it_does' => 'This page is meant for users who have updated their coppermine install. This script goes through the files on your webserver and tries to determine if your local file versions on the webserver are the same as the ones from the repository at http://coppermine.sourceforge.net, this way displaying the files you were meant to update as well.<br />It will show everything in red that needs to be fixed. Entries in yellow need looking into. Entries in green (or your default font color) are OK.<br />Click on the help icons to find out more.', //cpg1.4
+  'online_repository_unable' => 'Unable to connect to online repository', //cpg1.4
+  'online_repository_noconnect' => 'Coppermine was unable to connect to the online repository. This can have two reasons:', //cpg1.4
+  'online_repository_reason1' => 'the coppermine online repository is currently down - check if you can browse this page: %s - if you can\'t access this page, try again later.', //cpg1.4
+  'online_repository_reason2' => 'PHP on your webserver is configured with %s turned off (by default, it\'s turned on). If the server is yours to administer, turn this option on in <i>php.ini</i> (at least allow it to be overridden with %s). If you\'re webhosted, you will probably have to live with the fact that you can\'t compare your files to the online repository. This page will then only display the file versions that came with your distribution - updates will not be displayed.', //cpg1.4
+  'online_repository_skipped' => 'Connection to online repository skipped', //cpg1.4
+  'online_repository_to_local' => 'The script is defaulting to the local copy of the version-files now. The data may be inacurate if you have upgraded Coppermine and you haven\'t uploaded all files. Changes to the files after the release won\'t be taken into account as well.', //cpg1.4
+  'local_repository_unable' => 'Unable to connect to the repository on your server', //cpg1.4
+  'local_repository_explanation' => 'Coppermine was unable to connect to the repository file %s on your webserver. This probably means that you haven\'t uploaded the repository file to your webserver. Do so now and then try to run this page once more (hit refresh).<br />If the script still fails, your webhost might have disabled parts of <a href="http://www.php.net/manual/en/ref.filesystem.php">PHP\'s filesystem functions</a> completely. In this case, you simply won\'t be able to use this tool at all, sorry.', //cpg1.4
+  'coppermine_version_header' => 'Installed Coppermine version', //cpg1.4
+  'coppermine_version_info' => 'You have currently installed: %s', //cpg1.4
+  'coppermine_version_explanation' => 'If you think this is entirely wrong and you\'re supposed to be running a higher version of Coppermine, you probably haven\'t uploaded the most recent version of the file <i>include/init.inc.php</i>', //cpg1.4
+  'version_comparison' => 'Version comparison', //cpg1.4
+  'folder_file' => 'folder/file', //cpg1.4
+  'coppermine_version' => 'cpg version', //cpg1.4
+  'file_version' => 'file version', //cpg1.4
+  'webcvs' => 'web svn', //cpg1.4
+  'writable' => 'writable', //cpg1.4
+  'not_writable' => 'not writable', //cpg1.4
+  'help' => 'Help', //cpg1.4
+  'help_file_not_exist_optional1' => 'file/folder does not exist', //cpg1.4
+  'help_file_not_exist_optional2' => 'The file/folder %s has not been found on your server. Although it is optional you should upload it (using your FTP client) to your webserver if you are experiencing problems.', //cpg1.4
+  'help_file_not_exist_mandatory1' => 'file/folder does not exist', //cpg1.4
+  'help_file_not_exist_mandatory2' => 'The file/folder %s has not been found on your server, although it is mandatory. Upload the file to your webserver (using your FTP client).', //cpg1.4
+  'help_no_local_version1' => 'No local file version', //cpg1.4
+  'help_no_local_version2' => 'The script was unable to extract a local file version - your file is either outdated or you have modified it, removing the header information on the way. Updating the file is recommended.', //cpg1.4
+  'help_local_version_outdated1' => 'Local version outdated', //cpg1.4
+  'help_local_version_outdated2' => 'Your version of this file seems to be from an older version of Coppermine (you probably upgraded). Make sure to update this file as well.', //cpg1.4
+  'help_local_version_na1' => 'Unable to extract cvs version info', //cpg1.4
+  'help_local_version_na2' => 'The script could not determine what cvs version the file on your webserver is. You should upload the file from your package.', //cpg1.4
+  'help_local_version_dev1' => 'Development version', //cpg1.4
+  'help_local_version_dev2' => 'The file on your webserver seems to be newer than your Coppermine version. You are either using a development file (you should only do so if you know what you are doing), or you have upgraded your Coppermine install and not uploaded include/init.inc.php', //cpg1.4
+  'help_not_writable1' => 'Folder not writable', //cpg1.4
+  'help_not_writable2' => 'Change file permissions (CHMOD) to grant the script write access to the folder %s and everything within it.', //cpg1.4
+  'help_writable1' => 'Folder writable', //cpg1.4
+  'help_writable2' => 'The folder %s is writable. This is an unnecessary risk, coppermine only needs read/execute access.', //cpg1.4
+  'help_writable_undetermined' => 'Coppermine was not able to determine wether the folder is writable.', //cpg1.4
+  'your_file' => 'your file', //cpg1.4
+  'reference_file' => 'reference file', //cpg1.4
+  'summary' => 'Summary', //cpg1.4
+  'total' => 'Total files/folders checked', //cpg1.4
+  'mandatory_files_missing' => 'Mandatory files missing', //cpg1.4
+  'optional_files_missing' => 'Optional files missing', //cpg1.4
+  'files_from_older_version' => 'Files left over from outdated Coppermine version', //cpg1.4
+  'file_version_outdated' => 'Outdated file versions', //cpg1.4
+  'error_no_data' => 'The script made a boo, it was not able to retrieve any information. Sorry for the inconvenience.', //cpg1.4
+  'go_to_webcvs' => 'go to %s', //cpg1.4
+  'options' => 'Options', //cpg1.4
+  'show_optional_files' => 'show optional folders/files', //cpg1.4
+  'show_mandatory_files' => 'show mandatory files', //cpg1.4
+  'show_file_versions' => 'show file versions', //cpg1.4
+  'show_errors_only' => 'show folders/files with errors only', //cpg1.4
+  'show_permissions' => 'show folder permissions', //cpg1.4
+  'show_condensed_output' => 'show condensed ouput (for easier screenshots)', //cpg1.4
+  'coppermine_in_webroot' => 'coppermine is installed in the webroot', //cpg1.4
+  'connect_online_repository' => 'try connecting to the online repository', //cpg1.4
+  'show_additional_information' => 'show additional information', //cpg1.4
+  'no_webcvs_link' => 'don\'t display web svn link', //cpg1.4
+  'stable_webcvs_link' => 'display web svn link to stable branch', //cpg1.4
+  'devel_webcvs_link' => 'display web svn link to devel branch', //cpg1.4
+  'submit' => 'apply changes / refresh', //cpg1.4
+  'reset_to_defaults' => 'reset to default values', //cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File view_log.php  //cpg1.4
+// ------------------------------------------------------------------------- //
+
+if (defined('VIEWLOG_PHP')) $lang_viewlog_php = array(
+  'delete_all' => 'Vymazať všetky logy', //cpg1.4
+  'delete_this' => 'Vymazať tento log', //cpg1.4
+  'view_logs' => 'Zobraziť logy', //cpg1.4
+  'no_logs' => 'Nie sú žiadne logy vytvorené.', //cpg1.4
+);
+
+
+// ------------------------------------------------------------------------- //
+// File xp_publish.php //cpg1.4
+// ------------------------------------------------------------------------- //
+
+if (defined('XP_PUBLISH_PHP')) {
+
+$lang_xp_publish_client = <<<EOT
+<h1>XP Web Publishing Wizard Client</h1><p>This module allows to use <b>Windows XP</b> web publishing wizard with Coppermine.</p><p>Code is based on article posted by
+EOT;
+
+$lang_xp_publish_required = <<<EOT
+<h2>What is required</h2><ul><li>Windows XP in order to have the wizard.</li><li>A working installation of Coppermine on which <b>the web upload function works properly.</b></li></ul><h2>How to install on client side</h2><ul><li>Right click on
+EOT;
+
+$lang_xp_publish_select = <<<EOT
+Select &quot;save target as..&quot;. Save the file on your hard drive. When saving the file, check that the proposed file name is <b>cpg_###.reg</b> (the ### represents a numerical timestamp). Change it to that name if necessary (leave the numbers). When downloaded, double click on the file in order to register your server with the web publishing wizard.</li></ul>
+EOT;
+
+$lang_xp_publish_testing = <<<EOT
+<h2>Testing</h2><ul><li>In Windows Explorer, select some files and click on <b>Publish xxx on the web</b> in the left pane.</li><li>Confirm your file selection. Click on <b>Next</b>.</li><li>In the list of services that appear, select the one for your photo gallery (it has the name of your gallery). If the service does not appear, check that you have installed <b>cpg_pub_wizard.reg</b> as described above.</li><li>Input your login information if required.</li><li>Select the target album for your pictures or create a new one.</li><li>Click on <b>next</b>. The upload of your pictures starts.</li><li>When it is completed, check your gallery to see if pictures have been properly added.</li></ul>
+EOT;
+
+$lang_xp_publish_notes = <<<EOT
+<h2>Notes :</h2><ul><li>Once the upload has started, the wizard can't display any error message returned by the script so you can't know if the upload failed or succeeded until you check your gallery.</li><li>If the upload fails, enable &quot;Debug mode&quot; on the Coppermine admin page, try with one single picture and check error messages in the
+EOT;
+
+$lang_xp_publish_flood = <<<EOT
+file that is located in Coppermine directory on your server.</li><li>In order to avoid that the gallery be <i>flooded</i> by pictures uploaded through the wizard, only the <b>gallery admins</b> and <b>users that can have their own albums</b> can use this feature.</li>
+EOT;
+
+
+
+$lang_xp_publish_php = array(
+  'title' => 'Coppermine - XP Web Publishing Wizard', //cpg1.4
+  'welcome' => 'Welcome <b>%s</b>,', //cpg1.4
+  'need_login' => 'You need to login to the gallery using your web browser before you can use this wizard.<p/><p>When you login don\'t forget to select the <b>remember me</b> option if it is present.', //cpg1.4
+  'no_alb' => 'Sorry but there is no album where you are allowed to upload pictures with this wizard.', //cpg1.4
+  'upload' => 'Upload your pictures into an existing album', //cpg1.4
+  'create_new' => 'Create a new album for your pictures', //cpg1.4
+  'album' => 'Album', //cpg1.4
+  'category' => 'Category', //cpg1.4
+  'new_alb_created' => 'Your new album &quot;<b>%s</b>&quot; was created.', //cpg1.4
+  'continue' => 'Press &quot;Next&quot; to start to upload your pictures', //cpg1.4
+  'link' => 'this link', //cpg1.4
+);
+}
 ?>
\ No newline at end of file
diff -x .svn -aruN 1.4.24.src/lang/slovenian.php 1.4.25.src/lang/slovenian.php
--- 1.4.24.src/lang/slovenian.php	2009-05-25 15:01:17.000000000 -0500
+++ 1.4.25.src/lang/slovenian.php	2009-05-26 11:25:40.000000000 -0500
@@ -1,2111 +1,2111 @@
-<?php
-/*************************
-  Coppermine Photo Gallery
-  ************************
-  Copyright (c) 2003-2009 Coppermine Dev Team
-  v1.1 originally written by Gregory DEMAR
-
-  This program is free software; you can redistribute it and/or modify
-  it under the terms of the GNU General Public License version 3
-  as published by the Free Software Foundation.
-  
-  ********************************************
-  Coppermine version: 1.4.24
-  $HeadURL: https://coppermine.svn.sourceforge.net/svnroot/coppermine/trunk/cpg1.4.x/lang/slovenian.php $
-  $Revision: 5988 $
-  $Author: gaugau $
-  $Date: 2009-05-25 22:01:41 +0200 (Mo, 25 Mai 2009) $
-**********************************************/
-
-if (!defined('IN_COPPERMINE')) { die('Not in Coppermine...');}
-
-// info about translators and translated language
-$lang_translation_info = array(
-  'lang_name_english' => 'Slovenian', //cpg1.4
-  'lang_name_native' => 'Slovenščina', //cpg1.4
-  'lang_country_code' => 'si', //cpg1.4
-  'trans_name'=> 'S55HH',
-  'trans_email' => 's55hh@prekmurje.com',
-  'trans_website' => 'http://prekmurje.com/',
-  'trans_date' => '2006-05-24',
-);
-
-$lang_charset = 'utf-8';
-$lang_text_dir = 'ltr'; // ('ltr' for left to right, 'rtl' for right to left)
-
-// shortcuts for Byte, Kilo, Mega
-$lang_byte_units = array('Bajtov', 'KB', 'MB');
-
-// Day of weeks and months
-$lang_day_of_week = array('Ne', 'Po', 'To', 'Sr', 'Če', 'Pe', 'So');
-$lang_month = array('Jan', 'Feb', 'Mar', 'Apr', 'Maj', 'Jun', 'Jul', 'Avg', 'Sep', 'Okt', 'Nov', 'Dec');
-
-// Some common strings
-$lang_yes = 'Da';
-$lang_no  = 'Ne';
-$lang_back = 'NAZAJ';
-$lang_continue = 'NAPREJ';
-$lang_info = 'Informacija';
-$lang_error = 'Napaka';
-$lang_check_uncheck_all = 'označi/odznači vse'; //cpg1.4
-
-// The various date formats
-// See http://www.php.net/manual/en/function.strftime.php to define the variable below
-$album_date_fmt =    '%d.%m.%Y';
-$lastcom_date_fmt =  '%d.%m.%Y ob %H:%M';
-$lastup_date_fmt = '%d.%m.%Y';
-$register_date_fmt = '%d.%m.%Y';
-$lasthit_date_fmt = '%d.%m.%Y ob %I:%M %p';
-$comment_date_fmt =  '%d.%m.%Y ob %I:%M %p';
-$log_date_fmt = '%B %d, %Y ob %I:%M %p'; //cpg1.4
-
-// For the word censor
-$lang_bad_words = array('*fuck*', 'asshole', 'assramer', 'bitch*', 'c0ck', 'clits', 'Cock', 'cum', 'cunt*', 'dago', 'daygo', 'dego', 'dick*', 'dildo', 'fanculo', 'feces', 'foreskin', 'Fu\(*', 'fuk*', 'honkey', 'hore', 'injun', 'kike', 'lesbo', 'masturbat*', 'motherfucker', 'nazis', 'nigger*', 'nutsack', 'penis', 'phuck', 'poop', 'pussy', 'scrotum', 'shit', 'slut', 'titties', 'titty', 'twaty', 'wank*', 'whore', 'wop*');
-
-$lang_meta_album_names = array(
-  'random' => 'Naključne slike',
-  'lastup' => 'Najnovejše slike',
-  'lastalb'=> 'Zadnji dodani albumi',
-  'lastcom' => 'Zadnji komentarji',
-  'topn' => 'Največ ogledov',
-  'toprated' => 'Najbolje ocenjene',
-  'lasthits' => 'Zadnji ogledi',
-  'search' => 'Rezultati iskanja',
-  'favpics'=> 'Moje najljubše slike',  //cpg1.4
-);
-
-$lang_errors = array(
-  'access_denied' => 'Nimate pravic za dostop do te strani.',
-  'perm_denied' => 'Nimate pravic za izvedbo tega ukaza.',
-  'param_missing' => 'Manjkajo podatki za izvedbo...',
-  'non_exist_ap' => 'Izbrani album/slika ne obstaja!',
-  'quota_exceeded' => 'Disk je poln<br /><br />Na razpolago imate [quota]KB, vaše slike pa trenutno zasedajo [space]KB. Če bi dodali še to sliko, bi prekoračili vaš prostor na disku.',
-  'gd_file_type_err' => 'Pri uporabi GD knjižnice lahko uporabite samo JPEG in PNG slike.',
-  'invalid_image' => 'Poslana slika je poškodovana ali pa ni v pravilnem formatu za GD knjižnico.',
-  'resize_failed' => 'Ne morem narediti ikone ali pomanjšane slike.',
-  'no_img_to_display' => 'Trenutno brez slik',
-  'non_exist_cat' => 'Izbrana kategorija ne obstaja',
-  'orphan_cat' => 'Kategorija ima določeno neobstoječo nadrejeno kategorijo. Popravite napako v nastavitvah.',
-  'directory_ro' => 'Direktorij \'%s\' ne dopušča pisanja, slik ni možno pobrisati',
-  'non_exist_comment' => 'Izbrani komentar ne obstaja.',
-  'pic_in_invalid_album' => 'Slika je v neobstoječem albumu (%s)!?',
-  'banned' => 'Trenutno imate prepoved dostopa do teh strani.',
-  'not_with_udb' => 'Ta ukaz je onemogočen, ker je premaknjen v forum. Kar želite narediti, ni omogočeno v nastavitvah ali pa je predvideno za izvedbo v forumu.',
-  'offline_title' => 'Izklopljeno',
-  'offline_text' => 'Galerija je trenutno zaradi vzdrževanja izklopljena - obiščite nas čez nekaj ur...',
-  'ecards_empty' => 'Trenutno brez zapisov o poslanih e-razglednicah.',
-  'action_failed' => 'Vašega ukaza ni bilo možno izvesti.',
-  'no_zip' => 'Potrebna knjižnica za obdelavo ZIP datotek ni nameščena. Obvestite administratorja galerije.',
-  'zip_type' => 'Za nalaganje ZIP datotek nimate dovoljenj.',
-  'database_query' => 'Pri poizvedbi v podatkovni bazi je prišlo do napake', //cpg1.4
-  'register_globals_on' => 'The PHP setting register_globals is enabled on your server, which is a bad idea in terms of security. It\'s strongly recommended to turn it off. [<a href="http://forum.coppermine-gallery.net/index.php/topic,59569.0.html" rel="external" class="external">more</a>]',
-);
-
-$lang_bbcode_help_title = 'Pomoč za bbcode'; //cpg1.4
-$lang_bbcode_help = 'Dodajate lahko povezave in uporabite oblikovanje s pomočjo bbcode oznak: <li>[b]Poudarjeno[/b] =&gt; <b>Poudarjeno</b></li><li>[i]Poševno[/i] =&gt; <i>Poševno</i></li><li>[url=http://vasastran.com/]To je moja stran...[/url] =&gt; <a href="http://vasastran.com">To je moja stran...</a></li><li>[email]user@domain.com[/email] =&gt; <a href="mailto:user@domain.com">user@domain.com</a></li><li>[color=red]besedilo...[/color] =&gt; <span style="color:red">besedilo...</span></li><li>[img]http://coppermine-gallery.net/demo/cpg14x/images/red.gif[/img] => <img src="../images/red.gif" border="0" alt="" /></li>'; //cpg1.4
-
-// -------------------------povezavo in ne------------------------------------------------ //
-// File theme.php
-// ------------------------------------------------------------------------- //
-
-$lang_main_menu = array(
-  'home_title' => 'Nazaj na domačo stran',
-  'home_lnk' => 'Domov',
-  'alb_list_title' => 'Pojdi na seznam albumov',
-  'alb_list_lnk' => 'Seznam albumov',
-  'my_gal_title' => 'Pojdi v mojo osebno galerijo',
-  'my_gal_lnk' => 'Moja galerija',
-  'my_prof_title' => 'Pojdi na moje nastavitve', //cpg1.4
-  'my_prof_lnk' => 'Moj profil',
-  'adm_mode_title' => 'Preklop v administracijo',
-  'adm_mode_lnk' => 'Administracija',
-  'usr_mode_title' => 'Preklop v uporabniški način',
-  'usr_mode_lnk' => 'Uporabniški način',
-  'upload_pic_title' => 'Dodajanje slik v album',
-  'upload_pic_lnk' => 'Dodajanje slik',
-  'register_title' => 'Ustvari račun',
-  'register_lnk' => 'Registracija',
-  'login_title' => 'Prijavi me', //cpg1.4
-  'login_lnk' => 'Prijava',
-  'logout_title' => 'Odjavi me', //cpg1.4
-  'logout_lnk' => 'Odjava',
-  'lastup_title' => 'Prikaži zadnje dodane slike', //cpg1.4
-  'lastup_lnk' => 'Zadnje dodane slike',
-  'lastcom_title' => 'Prikaži zadnje komentarje', //cpg1.4
-  'lastcom_lnk' => 'Zadnji komentarji',
-  'topn_title' => 'Prikaži slike z največ ogledi', //cpg1.4
-  'topn_lnk' => 'Največ ogledov',
-  'toprated_title' => 'Prikaži slike z naj ocenami', //cpg1.4
-  'toprated_lnk' => 'Najbolje ocenjeno',
-  'search_title' => 'Iskanje po galeriji', //cpg1.4
-  'search_lnk' => 'Iskanje',
-  'fav_title' => 'Pojdi na moje najljubše slike', //cpg1.4
-  'fav_lnk' => 'Moje najljubše',
-  'memberlist_title' => 'Prikaz seznama članov',
-  'memberlist_lnk' => 'Seznam članov',
-  'faq_title' => 'Pogosto zastavljana vprašanja',
-  'faq_lnk' => 'PZV',
-);
-
-$lang_gallery_admin_menu = array(
-  'upl_app_title' => 'Odobritev novih vsebin', //cpg1.4
-  'upl_app_lnk' => 'Odobritev',
-  'admin_title' => 'Pojdi na nastavitve', //cpg1.4
-  'admin_lnk' => 'Nastavitve', //cpg1.4
-  'albums_title' => 'Pojdi na nastavitve albumov', //cpg1.4
-  'albums_lnk' => 'Albumi',
-  'categories_title' => 'Pojdi na nastavitve kategorij', //cpg1.4
-  'categories_lnk' => 'Kategorije',
-  'users_title' => 'Pojdi na nastavitve uporabnikov', //cpg1.4
-  'users_lnk' => 'Uporabniki',
-  'groups_title' => 'Pojdi na nastavitve skupin', //cpg1.4
-  'groups_lnk' => 'Skupine',
-  'comments_title' => 'Ogled vseh komentarjev', //cpg1.4
-  'comments_lnk' => 'Komentarji',
-  'searchnew_title' => 'Pojdi na paketno dodajanje poslanih vsebin', //cpg1.4
-  'searchnew_lnk' => 'Paketno nalaganje',
-  'util_title' => 'Pojdi na administrativna orodja', //cpg1.4
-  'util_lnk' => 'Orodja',
-  'key_title' => 'Pojdi na slovar ključnih besed', //cpg1.4
-  'key_lnk' => 'Ključne besede', //cpg1.4
-  'ban_title' => 'Pojdi na seznam zavrnitev', //cpg1.4
-  'ban_lnk' => 'Prepoved dostopa',
-  'db_ecard_title' => 'Ogled razglednic', //cpg1.4
-  'db_ecard_lnk' => 'Prikaži e-razglednice',
-  'pictures_title' => 'Razvrščanje slik', //cpg1.4
-  'pictures_lnk' => 'Razvrščanje slik', //cpg1.4
-  'documentation_lnk' => 'Dokumentacija', //cpg1.4
-  'documentation_title' => 'Coppermine navodila', //cpg1.4
-);
-
-$lang_user_admin_menu = array(
-  'albmgr_title' => 'Kreiranje in naročanje svojih albumov', //cpg1.4
-  'albmgr_lnk' => 'Ustvari/naroči svoj album',
-  'modifyalb_title' => 'Pojdi na urejanje mojih lastnih albumov',  //cpg1.4
-  'modifyalb_lnk' => 'Urejanje svojih albumov',
-  'my_prof_title' => 'Pojdi na urejanje mojega profila', //cpg1.4
-  'my_prof_lnk' => 'Moj profil',
-);
-
-$lang_cat_list = array(
-  'category' => 'Kategorija',
-  'albums' => 'Albumi',
-  'pictures' => 'Slike',
-);
-
-$lang_album_list = array(
-  'album_on_page' => 'Št. albumov:%d (št. strani:%d)',
-);
-
-$lang_thumb_view = array(
-  'date' => 'DATUM',
-  //Sort by filename and title
-  'name' => 'Datoteka',
-  'title' => 'Naslov',
-  'sort_da' => 'Razvrsti po datumu naraščajoče',
-  'sort_dd' => 'Razvrsti po datumu padajoče',
-  'sort_na' => 'Razvrsti po imenu datoteke naraščajoče',
-  'sort_nd' => 'Razvrsti po imenu datoteke padajoče',
-  'sort_ta' => 'Razvrsti po naslovu naraščajoče',
-  'sort_td' => 'Razvrsti po naslovu padajoče',
-  'position' => 'POZICIJA', //cpg1.4
-  'sort_pa' => 'Razvrsti po poziciji naraščajoče', //cpg1.4
-  'sort_pd' => 'Razvrsti po poziciji padajoče', //cpg1.4
-  'download_zip' => 'Presnami kot ZIP datoteko',
-  'pic_on_page' => 'Št. slik:%d (št. strani:%d)',
-  'user_on_page' => 'Št. uporabnikov:%d (št. strani:%d)',
-  'enter_alb_pass' => 'Vpišite geslo za ta album', //cpg1.4
-  'invalid_pass' => 'Napačno geslo', //cpg1.4
-  'pass' => 'Geslo', //cpg1.4
-  'submit' => 'Pošlji', //cpg1.4
-);
-
-$lang_img_nav_bar = array(
-  'thumb_title' => 'Nazaj na stran z ikonami',
-  'pic_info_title' => 'Prikaži/skrij podatke o sliki',
-  'slideshow_title' => 'Samodejno predvajanje',
-  'ecard_title' => 'Pošlji sliko kot e-razglednico',
-  'ecard_disabled' => 'Pošiljanje e-razglednic ni dovoljeno',
-  'ecard_disabled_msg' => 'Nimate pravic za pošiljanje e-razglednic', //js-alert
-  'prev_title' => 'Predhodna slika',
-  'next_title' => 'Naslednja slika',
-  'pic_pos' => 'Slika %s/%s',
-  'report_title' => 'Obvesti administratorja o tej sliki', //cpg1.4
-  'go_album_end' => 'Na konec', //cpg1.4
-  'go_album_start' => 'Na začetek', //cpg1.4
-  'go_back_x_items' => 'nazaj za %s slik', //cpg1.4
-  'go_forward_x_items' => 'naprej za %s slik', //cpg1.4
-);
-
-$lang_rate_pic = array(
-  'rate_this_pic' => 'Ocenite to sliko ',
-  'no_votes' => '(trenutno še brez ocen)',
-  'rating' => '(trenutna ocena:%s / 5 z %s ocenami)',
-  'rubbish' => 'Zanič',
-  'poor' => 'Slabo',
-  'fair' => 'Dobro',
-  'good' => 'Še kar',
-  'excellent' => 'Lepo',
-  'great' => 'Odlično',
-);
-
-// ------------------------------------------------------------------------- //
-// File include/exif.inc.php
-// ------------------------------------------------------------------------- //
-
-// void
-
-// ------------------------------------------------------------------------- //
-// File include/functions.inc.php
-// ------------------------------------------------------------------------- //
-
-$lang_cpg_die = array(
-  INFORMATION => $lang_info,
-  ERROR => $lang_error,
-  CRITICAL_ERROR => 'Kritična napaka',
-  'file' => 'Datoteka: ',
-  'line' => 'Vrstica: ',
-);
-
-$lang_display_thumbnails = array(
-  'filename' => 'Ime datoteke=', //cpg1.4
-  'filesize' => 'Velikost datoteke=', //cpg1.4
-  'dimensions' => 'Dimenzija=', //cpg1.4
-  'date_added' => 'Datum objave=', //cpg1.4
-);
-
-$lang_get_pic_data = array(
-  'n_comments' => 'Št. komentarjev:%s',
-  'n_views' => 'Št. ogledov:%s',
-  'n_votes' => '(št. ocen:%s)',
-);
-
-$lang_cpg_debug_output = array(
-  'debug_info' => 'Debug Info',
-  'select_all' => 'Izberi vse',
-  'copy_and_paste_instructions' => 'Če želite poiskati pomoč v forumu galerije Coppermine, označite in prekopirajte poročilo o napaki v svoje sporočilo na forumu. Prepričajte se, da ste zamenjali gesla z zvezdicami pred pošiljanjem. <br />Opomba: to je samo informacija in ni nujno, da je z vašo galerijo kaj narobe.', //cpg1.4
-  'phpinfo' => 'Prikaži phpinfo',
-  'notices' => 'Zaznamki', //cpg1.4
-);
-
-$lang_language_selection = array(
-  'reset_language' => 'Privzeti jezik',
-  'choose_language' => 'Izberite jezik',
-);
-
-$lang_theme_selection = array(
-  'reset_theme' => 'Privzeti videz',
-  'choose_theme' => 'Izberite videz',
-);
-
-$lang_version_alert = array(
-  'version_alert' => 'Nepodprta verzija!', //cpg1.4
-  'security_alert' => 'Varnostno opozorilo!', //cpg1.4.3
-  'relocate_exists' => 'Odstranite <a href="http://coppermine-gallery.net/forum/index.php?topic=24217.0">relocate_server.php</a> datoteko s strežnika!',
-  'no_stable_version' => 'Uporabljate Coppermine %s (%s), ki je namenjena samo izkušenim uporabnikom - ta verzija je eksperimentalne narave in ne vključuje podpore s strani razvijalcev. Uporabljate jo na lastno odgovornost. Če želite podporo, namestite stabilno različico galerije!', //cpg1.4
-  'gallery_offline' => 'Galerija je trenutno izklopljena in je vidna samo vam, kot administratorju. Ne pozabite je ponovno vključiti, ko končate z vzdrževanjem.', //cpg1.4
-);
-
-$lang_create_tabs = array(
-  'previous' => 'nazaj', //cpg1.4
-  'next' => 'naprej', //cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File include/init.inc.php
-// ------------------------------------------------------------------------- //
-
-// void
-
-// ------------------------------------------------------------------------- //
-// File keyword.inc.php                                                      //
-// ------------------------------------------------------------------------- //
-
-// void
-
-// ------------------------------------------------------------------------- //
-// File include/picmgmt.inc.php
-// ------------------------------------------------------------------------- //
-
-// void
-
-// ------------------------------------------------------------------------- //
-// File include/plugin_api.inc.php
-// ------------------------------------------------------------------------- //
-$lang_plugin_api = array(
-  'error_wakeup' => "Dodatka '%s' ni možno aktivirati.", //cpg1.4
-  'error_install' => "Namestitev dodatka '%s' ni uspela.", //cpg1.4
-  'error_uninstall' => "Odstranitev dodatka '%s' ni uspela.", //cpg1.4
-  'error_sleep' => "Neuspešna odstranitev dodatka '%s'<br />", //cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File include/smilies.inc.php
-// ------------------------------------------------------------------------- //
-
-if (defined('SMILIES_PHP')) $lang_smilies_inc_php = array(
-  'Exclamation' => 'Vzklik',
-  'Question' => 'Vprašanje',
-  'Very Happy' => 'Zelo srečen',
-  'Smile' => 'Smeško',
-  'Sad' => 'Žalosten',
-  'Surprised' => 'Presenečen',
-  'Shocked' => 'V šoku',
-  'Confused' => 'Zmeden',
-  'Cool' => 'Hladen',
-  'Laughing' => 'Nasmejan',
-  'Mad' => 'Nor',
-  'Razz' => 'Nagajiv',
-  'Embarassed' => 'Zbegan',
-  'Crying or Very sad' => 'Jokajoč ali žalosten',
-  'Evil or Very Mad' => 'Hudoben ali zloben',
-  'Twisted Evil' => 'Slepar',
-  'Rolling Eyes' => 'Zavijanje z očmi',
-  'Wink' => 'Mežikanje',
-  'Idea' => 'Ideja',
-  'Arrow' => 'Puščica',
-  'Neutral' => 'Nevtralen',
-  'Mr. Green' => 'Gospod Zelenko',
-);
-
-// ------------------------------------------------------------------------- //
-// File addpic.php
-// ------------------------------------------------------------------------- //
-
-// void
-
-// ------------------------------------------------------------------------- //
-// File mode.php //cpg1.4
-// ------------------------------------------------------------------------- //
-
-if (defined('MODE_PHP')) $lang_mode_php = array(
-  0 => 'Zapuščam administracijo...',
-  1 => 'Vstop v administracijo...',
-);
-
-// ------------------------------------------------------------------------- //
-// File albmgr.php
-// ------------------------------------------------------------------------- //
-
-if (defined('ALBMGR_PHP')) $lang_albmgr_php = array(
-  'alb_need_name' => 'Album mora imeti ime!', //js-alert
-  'confirm_modifs' => 'Res želite izvesti te spremembe?', //js-alert
-  'no_change' => 'Nobenih sprememb niste naredili!', //js-alert
-  'new_album' => 'Novi album',
-  'confirm_delete1' => 'Želite resnično pobrisati ta album?', //js-alert
-  'confirm_delete2' => '\nVse slike in vsi komentarji bodo prav tako pobrisani!', //js-alert
-  'select_first' => 'Najprej izberite album', //js-alert
-  'alb_mrg' => 'Urejanje albumov',
-  'my_gallery' => '* Moja galerija *',
-  'no_category' => '* Brez kategorij *',
-  'delete' => 'Brisanje',
-  'new' => 'Novo',
-  'apply_modifs' => 'Izvedi spremembe',
-  'select_category' => 'Izberite kategorijo',
-);
-
-// ------------------------------------------------------------------------- //
-// File banning.php
-// ------------------------------------------------------------------------- //
-
-if (defined('BANNING_PHP')) $lang_banning_php = array(
-  'title' => 'Zavrnitev uporabnikov', //cpg1.4
-  'user_name' => 'Uporabniško ime', //cpg1.4
-  'ip_address' => 'IP naslov', //cpg1.4
-  'expiry' => 'Veljavnost (prazno je za trajno)', //cpg1.4
-  'edit_ban' => 'Shrani spremembe', //cpg1.4
-  'delete_ban' => 'Briši', //cpg1.4
-  'add_new' => 'Dodaj novo prepoved', //cpg1.4
-  'add_ban' => 'Dodaj', //cpg1.4
-  'error_user' => 'Ne najdem uporabnika', //cpg1.4
-  'error_specify' => 'Vpisati morate uporabnika ali IP naslov', //cpg1.4
-  'error_ban_id' => 'Napačen IP naslov!', //cpg1.4
-  'error_admin_ban' => 'Sebe ne morete odstraniti!', //cpg1.4
-  'error_server_ban' => 'Želite prepovedati dostop lastnemu strežniku? Napaka, to pa ne bo mogoče ...', //cpg1.4
-  'error_ip_forbidden' => 'Tega IP naslova ne morete prepovedati!<br />Če želite prepovedati zasebne IP naslove, spremenite to v <a href="admin.php">Nastavitvah</a> (smiselno samo v primeru lokalnega omrežja).', //cpg1.4
-  'lookup_ip' => 'Poizvedba po IP naslovu', //cpg1.4
-  'submit' => 'Naprej!', //cpg1.4
-  'select_date' => 'izberite datum', //cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File bridgemgr.php //cpg1.4
-// ------------------------------------------------------------------------- //
-
-if (defined('BRIDGEMGR_PHP')) $lang_bridgemgr_php = array(
-  'title' => 'Bridge Wizard',
-  'warning' => 'Warning: when using this wizard you have to understand that sensitive data is being sent using html forms. Only run it on your own PC (not on a public client like an internet cafe), and make sure to clear the browser cache and temporary files after you have finished, or others might be able to access your data!',
-  'back' => 'back',
-  'next' => 'next',
-  'start_wizard' => 'Start bridging wizard',
-  'finish' => 'Finish',
-  'hide_unused_fields' => 'hide unused form fields (recommended)',
-  'clear_unused_db_fields' => 'clear invalid database entries (recommended)',
-  'custom_bridge_file' => 'your custom bridge file\'s name (if the bridge file\'s name is <i>myfile.inc.php</i>, enter <i>myfile</i> into this field)',
-  'no_action_needed' => 'No action needed in this step. Just click \'next\' to continue.',
-  'reset_to_default' => 'Reset to default value',
-  'choose_bbs_app' => 'choose application to bridge coppermine with',
-  'support_url' => 'Go here for support on this application',
-  'settings_path' => 'path(s) used by your BBS app',
-  'database_connection' => 'database connection',
-  'database_tables' => 'database tables',
-  'bbs_groups' => 'BBS groups',
-  'license_number' => 'License number',
-  'license_number_explanation' => 'enter your license number (if applicable)',
-  'db_database_name' => 'Database name',
-  'db_database_name_explanation' => 'Enter the name of the database your BBS app uses',
-  'db_hostname' => 'Database host',
-  'db_hostname_explanation' => 'Hostname where your mySQL database resides, usually &quot;localhost&quot;',
-  'db_username' => 'Database user account',
-  'db_username_explanation' => 'mySQL user account to use for connection with BBS',
-  'db_password' => 'Database passsword',
-  'db_password_explanation' => 'Passsword for this mySQL user account',
-  'full_forum_url' => 'Forum URL',
-  'full_forum_url_explanation' => 'Full URL of your BBS app (including the leading http:// bit, e.g. http://www.yourdomain.tld/forum)',
-  'relative_path_of_forum_from_webroot' => 'Relative forum path',
-  'relative_path_of_forum_from_webroot_explanation' => 'Relative path to your BBS app from the webroot (Example: if your BBS is at http://www.yourdomain.tld/forum/, enter &quot;/forum/&quot; into this field)',
-  'relative_path_to_config_file' => 'Relative path to your BBS\'s config file',
-  'relative_path_to_config_file_explanation' => 'Relative path to your BBS, seen from your Coppermine folder (e.g. &quot;../forum/&quot; if your BBS is at http://www.yourdomain.tld/forum/ and Coppermine at http://www.yourdomain.tld/gallery/)',
-  'cookie_prefix' => 'Cookie prefix',
-  'cookie_prefix_explanation' => 'this has to be your BBS\'s cookie name',
-  'table_prefix' => 'Table prefix',
-  'table_prefix_explanation' => 'Must match the prefix you chose for your BBS when setting it up.',
-  'user_table' => 'User table',
-  'user_table_explanation' => '(usually default value should be OK, unless your BBS install isn\'t standard)',
-  'session_table' => 'Session table',
-  'session_table_explanation' => '(usually default value should be OK, unless your BBS install isn\'t standard)',
-  'group_table' => 'Group table',
-  'group_table_explanation' => '(usually default value should be OK, unless your BBS install isn\'t standard)',
-  'group_relation_table' => 'Group relation table',
-  'group_relation_table_explanation' => '(usually default value should be OK, unless your BBS install isn\'t standard)',
-  'group_mapping_table' => 'Group mapping table',
-  'group_mapping_table_explanation' => '(usually default value should be OK, unless your BBS install isn\'t standard)',
-  'use_standard_groups' => 'Use standard BBS usergroups',
-  'use_standard_groups_explanation' => 'Use standard (built-in) usergroups (recommended). This will make all custom usergroups settings made on this page become void. Only disable this option if you REALLY know what you\'re doing!',
-  'validating_group' => 'Validating group',
-  'validating_group_explanation' => 'The group ID of your BBS where users accounts that need validation are in (usually default value should be OK, unless your BBS install isn\'t standard)',
-  'guest_group' => 'Guest group',
-  'guest_group_explanation' => 'Group ID of your BBS where guests (anonymous users) are in (default value should be OK, only edit if you know what you\'re doing)',
-  'member_group' => 'Member group',
-  'member_group_explanation' => 'Group ID of your BBS where &quot;regular&quot; users accounts are in (default value should be OK, only edit if you know what you\'re doing)',
-  'admin_group' => 'Admin group',
-  'admin_group_explanation' => 'Group ID of your BBS where admins are in (default value should be OK, only edit if you know what you\'re doing)',
-  'banned_group' => 'Banned group',
-  'banned_group_explanation' => 'Group ID of your BBS where banned users are in (default value should be OK, only edit if you know what you\'re doing)',
-  'global_moderators_group' => 'Global moderators group',
-  'global_moderators_group_explanation' => 'Group ID of your BBS where global moderators of your BBS are in (default value should be OK, only edit if you know what you\'re doing)',
-  'special_settings' => 'BBS-specific settings',
-  'logout_flag' => 'phpBB version (logout flag)',
-  'logout_flag_explanation' => 'What\'s your BBS version (this setting specifies how logouts are being handled)',
-  'use_post_based_groups' => 'Use post-based groups?',
-  'logout_flag_yes' => '2.0.5 or higher',
-  'logout_flag_no' => '2.0.4 or lower',
-  'use_post_based_groups_explanation' => 'Should the groups from the BBS that are defined by the number of posts be taken into account (allows a granular permissions management) or just the default groups (makes administration easier, recommended). You can change this setting later as well.',
-  'use_post_based_groups_yes' => 'yes',
-  'use_post_based_groups_no' => 'no',
-  'error_title' => 'You need to correct these errors before you can continue. Go to the previous screen.',
-  'error_specify_bbs' => 'You have to specify what application you want to bridge your Coppermine install with.',
-  'error_no_blank_name' => 'You can\'t leave the name of your custom bridge file blank.',
-  'error_no_special_chars' => 'The bridge file name mustn\'t contain any special chars except underscore (_) and dash (-)!',
-  'error_bridge_file_not_exist' => 'The bridge file %s doesn\'t exist on the server. Check if you have actually uploaded it.',
-  'finalize' => 'enable/disable BBS integration',
-  'finalize_explanation' => 'So far, the settings you specified have been written into the database, but BBS integration hasn\'t been enabled. You can switch integration on/off later at any time. Make sure to remember the admin username and password from standalone Coppermine, you might need it later to be able to make any changes. If anything goes wrong, go to %s and disable BBS integration there, using your standalone (unbridged) admin account (usually the one you set up during Coppermine install).',
-  'your_bridge_settings' => 'Your bridge settings',
-  'title_enable' => 'Enable integration/bridging with %s',
-  'bridge_enable_yes' => 'enable',
-  'bridge_enable_no' => 'disable',
-  'error_must_not_be_empty' => 'must not be empty',
-  'error_either_be' => 'must either be %s or %s',
-  'error_folder_not_exist' => '%s doesn\'t exist. Correct the value you entered for %s',
-  'error_cookie_not_readible' => 'Coppermine can\'t read a cookie named %s. Correct the value you entered for %s, or go to your BBS administration panel and make sure that the cookie path is readible for coppermine.',
-  'error_mandatory_field_empty' => 'You can not leave the field %s blank - fill in the proper value.',
-  'error_no_trailing_slash' => 'There mustn\'t be a trailing slash in the field %s.',
-  'error_trailing_slash' => 'There must be a trailing slash in the field %s.',
-  'error_db_connect' => 'Could not connect to the mySQL database with the data you specified. Here\'s what mySQL said:',
-  'error_db_name' => 'Although Coppermine could establish a connection, it wasn\'t able to find the database %s. Make sure you have specified %s properly. Here\'s what mySQL said:',
-  'error_prefix_and_table' => '%s and ',
-  'error_db_table' => 'Could not find the table %s. Make sure you have specified %s correctly.',
-  'recovery_title' => 'Bridge Manager: emergency recovery',
-  'recovery_explanation' => 'If you came here to administer the BBS integration of your Coppermine gallery, you have to log in first as admin. If you can not log in because bridging doesn\'t work as expected, you can disable BBS integration with this page. Entering your username and password will not log you in, it will only disable BBS integration. Refer to the documentation for details.',
-  'username' => 'Username',
-  'password' => 'Password',
-  'disable_submit' => 'submit',
-  'recovery_success_title' => 'Authorization successfull',
-  'recovery_success_content' => 'You have successfully disabled BBS bridging. Your Coppermine install runs now in standalone mode.',
-  'recovery_success_advice_login' => 'Log in as admin to edit your bridge settings and/or enable BBS integration again.',
-  'goto_login' => 'Go to login page',
-  'goto_bridgemgr' => 'Go to bridge manager',
-  'recovery_failure_title' => 'Authorization failed',
-  'recovery_failure_content' => 'You supplied the wrong credentials. You will have to supply the admin account data of the standalone version (usually the account you set up during Coppermine install).',
-  'try_again' => 'try again',
-  'recovery_wait_title' => 'Wait time has not elapsed',
-  'recovery_wait_content' => 'For security reasons this script does not allow failed logons in short succession, so you will have to wait a bit untill you\'re allowed to try to authenticate.',
-  'wait' => 'wait',
-  'create_redir_file' => 'Create redirection file (recommended)',
-  'create_redir_file_explanation' => 'To redirect users back to Coppermine once they logged into your BBS, you need a redirection file to be created within your BBS folder. When this option is checked, the bridge manager will attempt to create this file for you, or give you code ready to copy-and-paste to create the file manually.',
-  'browse' => 'browse',
-);
-
-// ------------------------------------------------------------------------- //
-// File calendar.php //cpg1.4
-// ------------------------------------------------------------------------- //
-
-if (defined('CALENDAR_PHP')) $lang_calendar_php = array(
-  'title' => 'Koledar', //cpg1.4
-  'close' => 'zapri', //cpg1.4
-  'clear_date' => 'pobriši datum', //cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File catmgr.php
-// ------------------------------------------------------------------------- //
-
-if (defined('CATMGR_PHP')) $lang_catmgr_php = array(
-  'miss_param' => 'Parameter, potreben za \'%s\'operacijo, ni vpisan!',
-  'unknown_cat' => 'Izbrana kategorija ne obstaja v bazi',
-  'usergal_cat_ro' => 'Brisanje kategorije uporabniških galerij ni možno!',
-  'manage_cat' => 'Urejanje kategorij',
-  'confirm_delete' => 'Resnično želite pobrisati to kategorijo?', //js-alert
-  'category' => 'Kategorija',
-  'operations' => 'Operacija',
-  'move_into' => 'Premakni v',
-  'update_create' => 'Posodobi/ustvari kategorijo',
-  'parent_cat' => 'Nadrejena kategorija',
-  'cat_title' => 'Ime kategorije',
-  'cat_thumb' => 'Ikona kategorije',
-  'cat_desc' => 'Opis kategorije',
-  'categories_alpha_sort' => 'Razvrsti kategorije po abecedi (namesto uporabniško določenega načina)', //cpg1.4
-  'save_cfg' => 'Shrani nastavitve', //cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File admin.php //cpg1.4
-// ------------------------------------------------------------------------- //
-
-if (defined('ADMIN_PHP')) $lang_admin_php = array(
-  'title' => 'Nastavitve', //cpg1.4
-  'manage_exif' => 'Urejanje prikaza exif podatkov', //cpg1.4
-  'manage_plugins' => 'Urejanje dodatkov', //cpg1.4
-  'manage_keyword' => 'Urejanje ključnih besed', //cpg1.4
-  'restore_cfg' => 'Povrni osnovne nastavitve',
-  'save_cfg' => 'Shrani nove nastavitve',
-  'notes' => 'Opombe',
-  'info' => 'Informacija',
-  'upd_success' => 'Nastavitve galerije so bile uspešno posodobljene',
-  'restore_success' => 'Povrnjene so bile osnovne nastavitve galerije',
-  'name_a' => 'Ime naraščajoče',
-  'name_d' => 'Ime padajoče',
-  'title_a' => 'Naslov naraščajoče',
-  'title_d' => 'Naslov padajoče',
-  'date_a' => 'Datum naraščajoče',
-  'date_d' => 'Datum padajoče',
-  'pos_a' => 'Pozicija naraščajoče', //cpg1.4
-  'pos_d' => 'Pozicija padajoče', //cpg1.4
-  'th_any' => 'Večjo med njima',
-  'th_ht' => 'Višina',
-  'th_wd' => 'Širina',
-  'label' => 'oznaka',
-  'item' => 'predmet',
-  'debug_everyone' => 'Vsi',
-  'debug_admin' => 'Samo administrator',
-  'no_logs'=> 'Izklopljeno', //cpg1.4
-  'log_normal'=> 'Normalno', //cpg1.4
-  'log_all' => 'Vse', //cpg1.4
-  'view_logs' => 'Prikaz zgodovine', //cpg1.4
-  'click_expand' => 'kliknite na ime za več podatkov', //cpg1.4
-  'expand_all' => 'Razširi vse', //cpg1.4
-  'notice1' => '(*) Teh nastavitev ne smete spreminjati, če so slike že v galeriji.', //cpg1.4 - (relocated)
-  'notice2' => '(**) Če spremenite te nastavitve, bo to vplivalo samo na slike, ki jih dodate od spremembe naprej. <br> Spremembe pa lahko izvedete tudi na obstoječih slikah, z uporabo &quot;<a href="util.php">Orodja</a> (sprememba velikosti...)&quot; v administrativnem meniju.', //cpg1.4 - (relocated)
-  'notice3' => '(***) Log podatki se zapisujejo v angleščini.', //cpg1.4 - (relocated)
-  'bbs_disabled' => 'Funkcija je izklopljena, če se uporablja forum', //cpg1.4
-  'auto_resize_everyone' => 'Vsi', //cpg1.4
-  'auto_resize_user' => 'Samo uporabniki', //cpg1.4
-  'ascending' => 'naraščajoče', //cpg1.4
-  'descending' => 'padajoče', //cpg1.4
-);
-
-if (defined('ADMIN_PHP')) $lang_admin_data = array(
-  'Osnovne nastavitve',
-  array('Ime galerije', 'gallery_name', 0, 'f=index.htm&amp;as=admin_general_name&amp;ae=admin_general_name_end'), //cpg1.4
-  array('Opis galerije', 'gallery_description', 0, 'f=index.htm&amp;as=admin_general_description&amp;ae=admin_general_description_end'), //cpg1.4
-  array('Administratorjeva e-pošta', 'gallery_admin_email', 0, 'f=index.htm&amp;as=admin_general_email&amp;ae=admin_general_email_end'), //cpg1.4
-  array('Naslov za povezavo v e-razglednicah (Poglej si več slik), brez \'index.php\' ali podobnega na koncu', 'ecards_more_pic_target', 0, 'f=index.htm&amp;as=admin_general_coppermine-url&amp;ae=admin_general_coppermine-url_end'), //cpg1.4
-  array('Naslov za začetno stran', 'home_target', 0, 'f=index.htm&amp;as=admin_general_home-url&amp;ae=admin_general_home-url_end'), //cpg1.4
-  array('Omogoči snemanje stisnjenih (ZIP) najljubših slik', 'enable_zipdownload', 1, 'f=index.htm&amp;as=admin_general_zip-download&amp;ae=admin_general_zip-download_end'), //cpg1.4
-  array('Časovni pas glede na GMT (Trenutni čas: ' . localised_date(-1, $comment_date_fmt) . ')','time_offset',0, 'f=index.htm&amp;as=admin_general_time-offset&amp;ae=admin_general_time-offset_end&amp;top=1'), //cpg1.4
-  array('Omogoči šifrirana gesla (poti nazaj ni)','enable_encrypted_passwords',1, 'f=index.htm&amp;as=admin_general_encrypt_password_start&amp;ae=admin_general_encrypt_password_end&amp;top=1'), // cpg 1.4
-  array('Prikaz ikone za pomoč (pomoč samo v angleščini)','enable_help',9, 'f=index.htm&amp;as=admin_general_help&amp;ae=admin_general_help_end'), //cpg1.4
-  array('Omogoči klik na ključne besede pri iskanju','clickable_keyword_search',14, 'f=index.htm&amp;as=admin_general_keywords_start&amp;ae=admin_general_keywords_end'), //cpg1.4
-  array('Omogoči dodatke', 'enable_plugins', 12, 'f=index.htm&amp;as=admin_general_enable-plugins&amp;ae=admin_general_enable-plugins_end'),  //cpg1.4
-  array('Dovoli prepoved zasebnih (non-routable) IP naslovov', 'ban_private_ip', 1,  'f=index.htm&amp;as=admin_general_private-ip&amp;ae=admin_general_private-ip_end'), //cpg1.4
-  array('Brskalni vmesnik pri paketnem dodajanju slik', 'browse_batch_add', 1, 'f=index.htm&amp;as=admin_general_browsable_batch_add&amp;ae=admin_general_browsable_batch_add_end'), //cpg1.4
-
-  'Jezik in kodiranje znakov',
-  array('Jezik', 'lang', 5, 'f=index.htm&amp;as=admin_language_language&amp;ae=admin_language_language_end'), //cpg1.4
-  array('Uporabim angleški izraz, če ni prevoda?', 'language_fallback', 1, 'f=index.htm&amp;as=admin_language_fallback&amp;ae=admin_language_fallback_end'), //cpg1.4
-  array('Kodna tabela', 'charset', 4, 'f=index.htm&amp;as=admin_language_charset&amp;ae=admin_language_charset_end'), //cpg1.4
-  array('Prikaz seznama jezikov', 'language_list', 1, 'f=index.htm&amp;as=admin_language_list&amp;ae=admin_language_list_end'), //cpg1.4
-  array('Prikaz zastavic za izbor jezika', 'language_flags', 8, 'f=index.htm&amp;as=admin_language_flags&amp;ae=admin_language_flags_end&amp;top=1'), //cpg1.4
-  array('Prikaži tipko &quot;ponastavi jezik&quot; pri izbiri jezikov', 'language_reset', 1, 'f=index.htm&amp;as=admin_language_reset&amp;ae=admin_language_reset_end&amp;top=1'), //cpg1.4
-  //array('Display previous/next on tabbed pages', 'previous_next_tab', 1), //cpg1.4
-
-  'Nastavitev izgleda galerije - teme',
-  array('Izgled galerije', 'theme', 6, 'f=index.htm&amp;as=admin_theme_theme&amp;ae=admin_theme_theme_end'), //cpg1.4
-  array('Prikaži seznam tem', 'theme_list', 1, 'f=index.htm&amp;as=admin_theme_theme_list&amp;ae=admin_theme_theme_list_end'), //cpg1.4
-  array('Prikaži tipko &quot;ponastavi videz&quot; pri izbiri tem', 'theme_reset', 1, 'f=index.htm&amp;as=admin_theme_theme_reset&amp;ae=admin_theme_theme_reset_end'), //cpg1.4
-  array('Prikaži PZS (vprašanja in odgovori)', 'display_faq', 1, 'f=index.htm&amp;as=admin_theme_faq&amp;ae=admin_theme_faq_end'), //cpg1.4
-  array('Ime uporabniške povezave v meniju (dodatne)', 'custom_lnk_name', 0,'f=index.htm&amp;as=admin_theme_custom_lnk_name&amp;ae=admin_theme_custom_lnk_name_end'), //cpg1.4
-  array('Naslov od dodatne povezave v meniju', 'custom_lnk_url', 0,'f=index.htm&amp;as=admin_language_custom_lnk_url&amp;ae=admin_language_custom_lnk_url_end'), //cpg1.4
-  array('Prikaži pomoč za bbcode', 'show_bbcode_help', 1, 'f=index.htm&amp;as=admin_theme_bbcode&amp;ae=admin_theme_bbcode_end&amp;top=1'), //cpg1.4
-  array('Označi teme, ki so definirane kot XHTML in CSS','vanity_block',1, 'f=index.htm&amp;as=vanity_block&amp;ae=vanity_block_end'), //cpg1.4
-  array('Pot do glave po meri uporabnika', 'custom_header_path', 0, 'f=index.htm&amp;as=admin_theme_include_path_start&amp;ae=admin_theme_include_path_end'), //cpg1.4
-  array('Pot do nog po meri uporabnika', 'custom_footer_path', 0, 'f=index.htm&amp;as=admin_theme_include_path_start&amp;ae=admin_theme_include_path_end'), //cpg1.4
-
-  'Nastavitve za prikaz albumov',
-  array('Širina glavne tabele (piksli ali %)', 'main_table_width', 0, 'f=index.htm&amp;as=admin_album_table-width&amp;ae=admin_album_table-width_end'), //cpg1.4
-  array('Število nivojev za prikaz kategorij', 'subcat_level', 0, 'f=index.htm&amp;as=admin_album_category-levels&amp;ae=admin_album_category-levels_end'), //cpg1.4
-  array('Število albumov na strani', 'albums_per_page', 0, 'f=index.htm&amp;as=admin_album_number&amp;ae=admin_album_number_end'), //cpg1.4
-  array('Število stolpcev za prikaz albumov', 'album_list_cols', 0, 'f=index.htm&amp;as=admin_album_columns&amp;ae=admin_album_columns_end'), //cpg1.4
-  array('Velikost ikon v pikslih', 'alb_list_thumb_size', 0, 'f=index.htm&amp;as=admin_album_thumbnail-size&amp;ae=admin_album_thumbnail-size_end'), //cpg1.4
-  array('Vsebina na glavni strani', 'main_page_layout', 0, 'f=index.htm&amp;as=admin_album_list_content&amp;ae=admin_album_list_content_end'), //cpg1.4
-  array('Prikaz ikon albumov za prvi nivo kategorij','first_level',1, 'f=index.htm&amp;as=admin_album_first-level_thumbs&amp;ae=admin_album_first-level_thumbs_end'), //cpg1.4
-  array('Razvrščanje kategorij po abecedi','categories_alpha_sort',1, 'f=index.htm&amp;as=admin_album_list_alphasort_start&amp;ae=admin_album_list_alphasort_end'), //cpg1.4
-  array('Prikaz števila povezanih slik','link_pic_count',1, 'f=index.htm&amp;as=admin_album_linked_files_start&amp;ae=admin_album_linked_files_end'), //cpg1.4
-
-  'Nastavitve za prikaz ikon',
-  array('Število stolpcev na strani z ikonami', 'thumbcols', 0, 'f=index.htm&amp;as=admin_thumbnail_columns&amp;ae=admin_thumbnail_columns_end'), //cpg1.4
-  array('Število vrstic na strani z ikonami', 'thumbrows', 0, 'f=index.htm&amp;as=admin_thumbnail_rows&amp;ae=admin_thumbnail_rows_end'), //cpg1.4
-  array('Število zavihkov na strani', 'max_tabs', 10, 'f=index.htm&amp;as=admin_thumbnail_tabs&amp;ae=admin_thumbnail_tabs_end'), //cpg1.4
-  array('Prikaži opis slike (zraven imena) pod ikono', 'caption_in_thumbview', 1, 'f=index.htm&amp;as=admin_thumbnail_display_caption&amp;ae=admin_thumbnail_display_caption_end'), //cpg1.4
-  array('Prikaži število ogledov pod ikono', 'views_in_thumbview', 1, 'f=index.htm&amp;as=admin_thumbnail_display_views&amp;ae=admin_thumbnail_display_views_end'), //cpg1.4
-  array('Prikaži število komentarjev pod ikono', 'display_comment_count', 1, 'f=index.htm&amp;as=admin_thumbnail_display_comments&amp;ae=admin_thumbnail_display_comments_end'), //cpg1.4
-  array('Prikaži ime pošiljatelja pod ikono', 'display_uploader', 1, 'f=index.htm&amp;as=admin_thumbnail_display_uploader&amp;ae=admin_thumbnail_display_uploader_end'), //cpg1.4
-  //array('Display name of admin uploaders below the thumbnail', 'display_admin_uploader', 1, 'f=index.htm&amp;as=admin_thumbnail_display_admin_uploader&amp;ae=admin_thumbnail_display_admin_uploader_end'), //cpg1.4
-  array('Prikaži ime datoteke pod ikono', 'display_filename', 1, 'f=index.htm&amp;as=admin_thumbnail_display_filename&amp;ae=admin_thumbnail_display_filename_end'), //cpg1.4
-  //array('Prikaži opis albuma pod ikono', 'alb_desc_thumb', 1, 'f=index.htm&amp;as=admin_thumbnail_display_description&amp;ae=admin_thumbnail_display_description_end'), //cpg1.4
-  array('Privzeto razvrščanje slik', 'default_sort_order', 3, 'f=index.htm&amp;as=admin_thumbnail_default_sortorder&amp;ae=admin_thumbnail_default_sortorder_end'), //cpg1.4
-  array('Najmanjše število ocen za sliko, da se uvrsti na seznam \'naj-ocene\'', 'min_votes_for_rating', 0, 'f=index.htm&amp;as=admin_thumbnail_minimum_votes&amp;ae=admin_thumbnail_minimum_votes_end'), //cpg1.4
-
-  'Prikaz slik', //cpg1.4
-  array('Širina tabele za prikaz slik (piksli ali %)', 'picture_table_width', 0, 'f=index.htm&amp;as=admin_image_comment_table-width&amp;ae=admin_image_comment_table-width_end'), //cpg1.4
-  array('Informacija o sliki je privzeto vidna', 'display_pic_info', 1, 'f=index.htm&amp;as=admin_image_comment_info_visible&amp;ae=admin_image_comment_info_visible_end'), //cpg1.4
-  array('Največja velikost opisa slike', 'max_img_desc_length', 0, 'f=index.htm&amp;as=admin_image_comment_descr_length&amp;ae=admin_image_comment_descr_length_end'), //cpg1.4
-  array('Največje število znakov v posamezni besedi', 'max_com_wlength', 0, 'f=index.htm&amp;as=admin_image_comment_chars_per_word&amp;ae=admin_image_comment_chars_per_word_end'), //cpg1.4
-  array('Prikaži filmski trak z ikonami', 'display_film_strip', 1, 'f=index.htm&amp;as=admin_image_comment_filmstrip_toggle&amp;ae=admin_image_comment_filmstrip_toggle_end'), //cpg1.4
-  array('Prikaži ime datoteke pod filmskim trakom', 'display_film_strip_filename', 1, 'f=index.htm&amp;as=admin_image_comment_display_film_strip_filename&amp;ae=admin_image_comment_display_film_strip_filename_end'), //cpg1.4
-  array('Št. ikon na traku', 'max_film_strip_items', 0, 'f=index.htm&amp;as=admin_image_comment_filmstrip_number&amp;ae=admin_image_comment_filmstrip_number_end'), //cpg1.4
-  array('Interval pri samodejnem predvajanju v mili sekundah (1 sekunda = 1000 mili sekund)', 'slideshow_interval', 0, 'f=index.htm&amp;as=admin_image_comment_slideshow_interval&amp;ae=admin_image_comment_slideshow_interval_end'), //cpg1.4
-
-  'Nastavitve za komentarje', //cpg1.4
-  array('Odstrani prepovedane besede v komentarjih', 'filter_bad_words', 1, 'f=index.htm&amp;as=admin_image_comment_bad_words&amp;ae=admin_image_comment_bad_words_end'), //cpg1.4
-  array('Dovoli smeškote v komentarjih', 'enable_smilies', 1, 'f=index.htm&amp;as=admin_image_comment_smilies&amp;ae=admin_image_comment_smilies_end'), //cpg1.4
-  array('Dovoli več zaporednih komentarjev istega uporabnika k isti sliki', 'disable_comment_flood_protect', 1, 'f=index.htm&amp;as=admin_image_comment_flood&amp;ae=admin_image_comment_flood_end'), //cpg1.4
-  array('Največje število vrstic komentarja', 'max_com_lines', 0, 'f=index.htm&amp;as=admin_image_comment_lines&amp;ae=admin_image_comment_lines_end'), //cpg1.4
-  array('Največja velikost komentarja', 'max_com_size', 0, 'f=index.htm&amp;as=admin_image_comment_length&amp;ae=admin_image_comment_length_end'), //cpg1.4
-  array('Obvesti administratorja o novem komentarju', 'email_comment_notification', 1, 'f=index.htm&amp;as=admin_image_comment_admin_notify&amp;ae=admin_image_comment_admin_notify_end'), //cpg1.4
-  array('Razvrščanje komentarjev', 'comments_sort_descending', 17, 'f=index.htm&amp;as=admin_comment_sort_start&amp;ae=admin_comment_sort_end'), //cpg1.4
-  array('Oznaka za anonimni komentar', 'comments_anon_pfx', 0, 'f=index.htm&amp;as=comments_anon_pfx&amp;ae=comments_anon_pfx_end'), //cpg1.4
-
-  'Nastavitve za datoteke in ikone',
-  array('Kakovost JPEG datotek', 'jpeg_qual', 0, 'f=index.htm&amp;as=admin_picture_thumbnail_jpeg_quality&amp;ae=admin_picture_thumbnail_jpeg_quality_end'), //cpg1.4
-  array('Največja mera ikone <a href="#notice2" class="clickable_option">**</a>', 'thumb_width', 0, 'f=index.htm&amp;as=admin_picture_thumbnail_max-dimension&amp;ae=admin_picture_thumbnail_max-dimension_end'), //cpg1.4
-  array('Katero mero uporabiti za ikono (širino, višino ali večjo od obeh)? <a href="#notice2" class="clickable_option">**</a>', 'thumb_use', 7, 'f=index.htm&amp;as=admin_picture_thumbnail_use-dimension&amp;ae=admin_picture_thumbnail_use-dimension_end'), //cpg1.4
-  array('Ustvari vmesne slike','make_intermediate',1, 'f=index.htm&amp;as=admin_picture_thumbnail_intermediate_toggle&amp;ae=admin_picture_thumbnail_intermediate_toggle_end'), //cpg1.4
-  array('Največja širina ali višina vmesnih slik/videa <a href="#notice2" class="clickable_option">**</a>', 'picture_width', 0, 'f=index.htm&amp;as=admin_picture_thumbnail_intermediate_dimension&amp;ae=admin_picture_thumbnail_intermediate_dimension_end'), //cpg1.4
-  array('Največja velikost datotek/slik (KB)', 'max_upl_size', 0, 'f=index.htm&amp;as=admin_picture_thumbnail_max_upload_size&amp;ae=admin_picture_thumbnail_max_upload_size_end'), //cpg1.4
-  array('Največja širina ali višina dodanih slik (piksli)', 'max_upl_width_height', 0, 'f=index.htm&amp;as=admin_picture_thumbnail_max_upload_dimension&amp;ae=admin_picture_thumbnail_max_upload_dimension_end'), //cpg1.4
-  array('Samodejno zmanjšaj slike, ki presegajo največjo dovoljeno širino ali višino', 'auto_resize', 16, 'f=index.htm&amp;as=admin_picture_thumbnail_auto-resize&amp;ae=admin_picture_thumbnail_auto-resize_end'), //cpg1.4
-
-  'Dodatne nastavitve za datoteke in ikone',
-  array('Albumi so lahko tudi zasebni (Opomba: če preklopite z DA na NE, bodo vsi obstoječi zasebni albumi postali javni)', 'allow_private_albums', 1, 'f=index.htm&amp;as=admin_picture_thumb_advanced_private_toggle&amp;ae=admin_picture_thumb_advanced_private_toggle_end'), //cpg1.4
-  array('Prikaži ikone zasebnih albumov tudi neprijavljenim uporabnikom','show_private',1, 'f=index.htm&amp;as=admin_picture_thumb_advanced_private_icon_show&amp;ae=admin_picture_thumb_advanced_private_icon_show_end'), //cpg1.4
-  array('Prepovedani znaki v imenih datotek', 'forbiden_fname_char',0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_filename_forbidden_chars&amp;ae=admin_picture_thumb_advanced_filename_forbidden_chars_end'), //cpg1.4
-  //array('Dopustne končnice imen datotek za naložene slike', 'allowed_file_extensions',0, 'f=index.htm&amp;as=&amp;ae=_end'), //cpg1.4
-  array('Dovoljene vrste foto datotek', 'allowed_img_types',0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_pic_extensions&amp;ae=admin_picture_thumb_advanced_pic_extensions_end'), //cpg1.4
-  array('Dovoljene vrste video datotek', 'allowed_mov_types',0, 'f=index.htm&amp;as=admin_thumbs_advanced_movie&amp;ae=admin_thumbs_advanced_movie_end'), //cpg1.4
-  array('Samodejno predvajanje filmov', 'media_autostart',1, 'f=index.htm&amp;as=admin_movie_autoplay&amp;ae=admin_movie_autoplay_end'), //cpg1.4
-  array('Dovoljene vrste avdio datotek', 'allowed_snd_types',0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_audio_extensions&amp;ae=admin_picture_thumb_advanced_audio_extensions_end'), //cpg1.4
-  array('Dovoljene vrste dokumentov (txt...)', 'allowed_doc_types',0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_doc_extensions&amp;ae=admin_picture_thumb_advanced_doc_extensions_end'), //cpg1.4
-  array('Način za spreminjanje velikosti slik','thumb_method',2, 'f=index.htm&amp;as=admin_picture_thumb_advanced_resize_method&amp;ae=admin_picture_thumb_advanced_resize_method_end'), //cpg1.4
-  array('Pot do programa ImageMagick (primer: /usr/bin/X11/)', 'impath', 0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_im_path&amp;ae=admin_picture_thumb_advanced_im_path_end'), //cpg1.4
-  //array('Allowed image types (only valid for ImageMagick)', 'allowed_img_types',0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_allowed_imagetypes&amp;ae=admin_picture_thumb_advanced_allowed_imagetypes_end'), //cpg1.4
-  array('Ukazna vrstica za ImageMagick', 'im_options', 0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_im_commandline&amp;ae=admin_picture_thumb_advanced_im_commandline_end'), //cpg1.4
-  array('Preberi EXIF podatke v JPEG datotekah', 'read_exif_data', 13, 'f=index.htm&amp;as=admin_picture_thumb_advanced_exif&amp;ae=admin_picture_thumb_advanced_exif_end'), //cpg1.4
-  array('Preberi IPTC podatke v JPEG datotekah', 'read_iptc_data', 1, 'f=index.htm&amp;as=admin_picture_thumb_advanced_iptc&amp;ae=admin_picture_thumb_advanced_iptc_end'), //cpg1.4
-  array('Direktorij za albume <a href="#notice1" class="clickable_option">*</a>', 'fullpath', 0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_albums_dir&amp;ae=admin_picture_thumb_advanced_albums_dir_end'), //cpg1.4
-  array('Mapa za slike uporabnikov <a href="#notice1" class="clickable_option">*</a>', 'userpics', 0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_userpics_dir&amp;ae=admin_picture_thumb_advanced_userpics_dir_end'), //cpg1.4
-  array('Predpona za vmesne slike <a href="#notice1" class="clickable_option">*</a>', 'normal_pfx', 0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_intermediate_prefix&amp;ae=admin_picture_thumb_advanced_intermediate_prefix_end'), //cpg1.4
-  array('Predpona za ikone <a href="#notice1" class="clickable_option">*</a>', 'thumb_pfx', 0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_thumbs_prefix&amp;ae=admin_picture_thumb_advanced_thumbs_prefix_end'), //cpg1.4
-  array('Privzete pravice za mape', 'default_dir_mode', 0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_chmod_folder&amp;ae=admin_picture_thumb_advanced_chmod_folder_end'), //cpg1.4
-  array('Privzete pravice za datoteke', 'default_file_mode', 0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_chmod_files&amp;ae=admin_picture_thumb_advanced_chmod_files_end'), //cpg1.4
-
-  'Nastavitve uporabnikov',
-  array('Dovoli registriranje novih uporabnikov', 'allow_user_registration', 1, 'f=index.htm&amp;as=admin_allow_registration&amp;ae=admin_allow_registration_end'), //cpg1.4
-  array('Dovoli neprijavljenim uporabnikom dostop', 'allow_unlogged_access', 1, 'f=index.htm&amp;as=admin_allow_unlogged_access&amp;ae=admin_allow_unlogged_access_end'), //cpg1.4
-  array('Registracija zahteva preverjanje naslova e-pošte', 'reg_requires_valid_email', 1, 'f=index.htm&amp;as=admin_registration_verify&amp;ae=admin_registration_verify_end'), //cpg1.4
-  array('Obvesti administratorja o novi registraciji', 'reg_notify_admin_email', 1, 'f=index.htm&amp;as=admin_registration_notify&amp;ae=admin_registration_notify_end'), //cpg1.4
-  array('Registracija zahteva odobritev administratorja', 'admin_activation', 1, 'f=index.htm&amp;as=admin_activation&amp;ae=admin_activation_end'),  //cpg1.4
-  array('Dva uporabnika smeta imeti enak e-poštni naslov', 'allow_duplicate_emails_addr', 1, 'f=index.htm&amp;as=admin_allow_duplicate_emails_addr&amp;ae=admin_allow_duplicate_emails_addr_end'), //cpg1.4
-  array('Obvesti administratorja o čakajočih slikah za odobritev', 'upl_notify_admin_email', 1, 'f=index.htm&amp;as=admin_approval_notify&amp;ae=admin_approval_notify_end'), //cpg1.4
-  array('Prijavljeni uporabniki lahko vidijo seznam članov', 'allow_memberlist', 1, 'f=index.htm&amp;as=admin_user_memberlist&amp;ae=admin_user_memberlist_end'), //cpg1.4
-  array('Uporabniki lahko spremenijo e-poštni naslov v svojih nastavitvah', 'allow_email_change', 1, 'f=index.htm&amp;as=admin_user_allow_email_change&amp;ae=admin_user_allow_email_change_end'), //cpg1.4
-  array('Uporabniki lahko imajo nadzor nad svojimi slikami v javnih albumih', 'users_can_edit_pics', 1, 'f=index.htm&amp;as=admin_user_editpics_public_start&amp;ae=admin_user_editpics_public_end'), //cpg1.4
-  array('Število napačnih prijav pred nastopom prepovedi prijave (za zaščito pred poskusi vdora)', 'login_threshold', 0, 'f=index.htm&amp;as=admin_user_login_start&amp;ae=admin_user_login_end'), //cpg1.4
-  array('Čas trajanja prepovedi dostopa po neuspešni prijavi in zavrnitvi', 'login_expiry', 0, 'f=index.htm&amp;as=admin_user_login_start&amp;ae=admin_user_login_end'), //cpg1.4
-  array('Pošlji poročilo administratorju', 'report_post', 1, 'f=index.htm&amp;as=admin_user_enable_report&amp;ae=admin_user_enable_report_end'),  //cpg1.4
-
-// custom profile fields,  //cpg1.4
-  'Dodatna polja za opis uporabnikov (pustite prazno, če ni potrebno).
-  Uporabi Profil 6 za dolge vnose kot npr. življenjepis', //cpg1.4
-  array('Profil 1', 'user_profile1_name', 0, 'f=index.htm&amp;as=admin_custom&amp;ae=admin_custom_end'), //cpg1.4
-  array('Profil 2', 'user_profile2_name', 0), //cpg1.4
-  array('Profil 3', 'user_profile3_name', 0), //cpg1.4
-  array('Profil 4', 'user_profile4_name', 0), //cpg1.4
-  array('Profil 5', 'user_profile5_name', 0), //cpg1.4
-  array('Profil 6', 'user_profile6_name', 0), //cpg1.4
-
-  'Dodatna polja za vpis informacij o sliki (pustite prazno, če ne uporabljate)',
-  array('Polje 1', 'user_field1_name', 0, 'f=index.htm&amp;as=admin_custom_image&amp;ae=admin_custom_image_end'), //cpg1.4
-  array('Polje 2', 'user_field2_name', 0),
-  array('Polje 3', 'user_field3_name', 0),
-  array('Polje 4', 'user_field4_name', 0),
-
-  'Nastavitve piškotkov',
-  array('Ime za piškotke', 'cookie_name', 0, 'f=index.htm&amp;as=admin_cookie_name&amp;ae=admin_cookie_name_end'), //cpg1.4
-  array('Pot do piškotkov', 'cookie_path', 0, 'f=index.htm&amp;as=admin_cookie_path&amp;ae=admin_cookie_path_end'), //cpg1.4
-
-  'E-poštne nastavitve  (običajno tukaj ničesar ne spreminjate. Pustite prazno, če niste prepričani o tem, kaj vpisujete)', //cpg1.4
-  array('SMTP gostitelj (če je prazno, se uporablja sendmail)', 'smtp_host', 0, 'f=index.htm&amp;as=admin_email&amp;ae=admin_email_end'), //cpg1.4
-  array('SMTP uporabniško ime', 'smtp_username', 0), //cpg1.4
-  array('SMTP geslo', 'smtp_password', 0), //cpg1.4
-
-  'Zgodovina in statistika', //cpg1.4
-  array('Način beleženja zgodovine <a href="#notice3" class="clickable_option">***</a>', 'log_mode', 11, 'f=index.htm&amp;as=admin_logging_log_mode&amp;ae=admin_logging_log_mode_end'), //cpg1.4
-  array('Beleženje pošiljanja e-razglednic', 'log_ecards', 1, 'f=index.htm&amp;as=admin_general_log_ecards&amp;ae=admin_general_log_ecards_end'), //cpg1.4
-  array('Spremljaj podrobno statistiko o glasovanju','vote_details',1, 'f=index.htm&amp;as=admin_logging_votedetails&amp;ae=admin_logging_votedetails_end'), //cpg1.4
-  array('Spremljaj podrobno statistiko o ogledih','hit_details',1, 'f=index.htm&amp;as=admin_logging_hitdetails&amp;ae=admin_logging_hitdetails_end'), //cpg1.4
-
-  'Vzdrževanje galerije', //cpg1.4
-  array('Omogoči razhroščevanje', 'debug_mode', 9, 'f=index.htm&amp;as=debug_mode&amp;ae=debug_mode_end'), //cpg1.4
-  array('Prikaži opombe v načinu razhroščevanja', 'debug_notice', 1, 'f=index.htm&amp;as=admin_misc_debug_notices&amp;ae=admin_misc_debug_notices_end'), //cpg1.4
-  array('Galerija je izklopljena', 'offline', 1, 'f=index.htm&amp;as=admin_general_offline&amp;ae=admin_general_offline_end'), //cpg1.4
-);
-
-
-// ------------------------------------------------------------------------- //
-// File db_ecard.php
-// ------------------------------------------------------------------------- //
-
-if (defined('DB_ECARD_PHP')) $lang_db_ecard_php = array(
-  'title' => 'Pošiljanje e-razglednic',
-  'ecard_sender' => 'Pošiljatelj',
-  'ecard_recipient' => 'Naslovnik',
-  'ecard_date' => 'Datum',
-  'ecard_display' => 'Prikaži e-razglednico',
-  'ecard_name' => 'Ime',
-  'ecard_email' => 'e-pošta',
-  'ecard_ip' => 'IP #',
-  'ecard_ascending' => 'naraščajoče',
-  'ecard_descending' => 'padajoče',
-  'ecard_sorted' => 'Razvrsti',
-  'ecard_by_date' => 'po datumu',
-  'ecard_by_sender_name' => 'po pošiljatelju',
-  'ecard_by_sender_email' => 'po pošiljateljevem e-poštnem naslovu',
-  'ecard_by_sender_ip' => 'po pošiljateljevem IP naslovu',
-  'ecard_by_recipient_name' => 'po naslovniku',
-  'ecard_by_recipient_email' => 'po naslovnikovem e-poštnem naslovu',
-  'ecard_number' => 'prikazani zapisi od %s do %s od %s',
-  'ecard_goto_page' => 'pojdi na stran',
-  'ecard_records_per_page' => 'Zapisov na strani',
-  'check_all' => 'Označi vse',
-  'uncheck_all' => 'Odznači vse',
-  'ecards_delete_selected' => 'Briši označene e-razglednice',
-  'ecards_delete_confirm' => 'Ste prepričani, da želite pobrisati te zapise? Označite okvirček!',
-  'ecards_delete_sure' => 'Prepričan sem',
-);
-
-
-// ------------------------------------------------------------------------- //
-// File db_input.php
-// ------------------------------------------------------------------------- //
-
-if (defined('DB_INPUT_PHP')) $lang_db_input_php = array(
-  'empty_name_or_com' => 'Vpisati morate ime in komentar',
-  'com_added' => 'Komentar je bil dodan',
-  'alb_need_title' => 'Vpisati morate ime za album!',
-  'no_udp_needed' => 'Posodobitve niso potrebne.',
-  'alb_updated' => 'Album je bil posodobljen',
-  'unknown_album' => 'Izbrani album ne obstaja ali pa nimate pravic za nalaganje slik vanj',
-  'no_pic_uploaded' => 'Nobena slika ni bila dodana!<br /><br />Če ste resnično poslali sliko, preverite ali je to sploh dovoljeno...',
-  'err_mkdir' => 'Kreiranje mape %s ni bilo uspešno!',
-  'dest_dir_ro' => 'Ciljna mapa %s ne omogoča pisanja - pravice!',
-  'err_move' => 'Nemogoče je premakniti %s v %s!',
-  'err_fsize_too_large' => 'Dimenzije slike so prevelike (dovoljeno je %s x %s) !', //obsolete since cpg1.3 - consider removal in cpg1.4 once upload.php has been overhauled
-  'err_imgsize_too_large' => 'Velikost datoteke presega limit (dovoljeno je %s KB) !', //obsolete since cpg1.3 - consider removal in cpg1.4 once upload.php has been overhauled
-  'err_invalid_img' => 'Poslana slika ni v pravilnem formatu!',
-  'allowed_img_types' => 'Dodate lahko samo %s slike.',
-  'err_insert_pic' => 'Slike \'%s\' ni mogoče dodati v album ',
-  'upload_success' => 'Vaša slika je bila dodana.<br /><br />Vidna bo takoj po administratorjevi odobritvi.',
-  'notify_admin_email_subject' => '%s - Obvestilo o poslani sliki',
-  'notify_admin_email_body' => 'Na odobritev čaka slika, ki jo je dodal(a) %s. Obiščite %s',
-  'info' => 'Informacija',
-  'com_added' => 'Komentar dodan',
-  'alb_updated' => 'Album posodobljen',
-  'err_comment_empty' => 'Komentar je prazen!',
-  'err_invalid_fext' => 'Veljavne so samo datoteke z naslednjimi končnicami: <br /><br />%s.',
-  'no_flood' => 'Oprostite, toda vi ste že avtor zadnjega komentarja k tej sliki<br /><br />Izberite urejanje, če ga želite spremeniti',
-  'redirect_msg' => 'Prestavljeni boste na novo stran.<br /><br /><br />Kliknite \'NAPREJ\', če se stran samodejno ne zamenja',
-  'upl_success' => 'Vaše slike so bile uspešno dodane',
-  'email_comment_subject' => 'Dodani komentar v galerijo',
-  'email_comment_body' => 'Nekdo je vpisal nov komentar. Vidite ga lahko na ',
-  'album_not_selected' => 'Album ni izbran', //cpg1.4
-  'com_author_error' => 'Registrirani uporabnik uporablja ta vzdevek. Prijavite se ali uporabite drugega', //cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File delete.php
-// ------------------------------------------------------------------------- //
-
-if (defined('DELETE_PHP')) $lang_delete_php = array(
-  'caption' => 'Naslov',
-  'fs_pic' => 'velika slika',
-  'del_success' => 'Uspešno pobrisano',
-  'ns_pic' => 'normalna velikost slike',
-  'err_del' => 'brisanje ni možno',
-  'thumb_pic' => 'ikona',
-  'comment' => 'komentar',
-  'im_in_alb' => 'slika v albumu',
-  'alb_del_success' => 'Album \'%s\' pobrisan', //cpg1.4
-  'alb_mgr' => 'Urejanje albumov',
-  'err_invalid_data' => 'Napačni podatki v \'%s\'',
-  'create_alb' => 'Kreiram album \'%s\'',
-  'update_alb' => 'Posodabljam album \'%s\' z naslovom \'%s\' in indeksom \'%s\'',
-  'del_pic' => 'Pobriši sliko',
-  'del_alb' => 'Pobriši album',
-  'del_user' => 'Pobriši uporabnika',
-  'err_unknown_user' => 'Izbrani uporabnik ne obstaja!',
-  'err_empty_groups' => 'Skupina ne obstaja ali pa je prazna!', //cpg1.4
-  'comment_deleted' => 'Komentar uspešno pobrisan',
-  'npic' => 'Slike', //cpg1.4
-  'pic_mgr' => 'Urejanje slik', //cpg1.4
-  'update_pic' => 'Posodabljam sliko \'%s\' z imenom \'%s\' in indeksom \'%s\'', //cpg1.4
-  'username' => 'Uporabniško ime', //cpg1.4
-  'anonymized_comments' => '%s anonimnih komentarjev', //cpg1.4
-  'anonymized_uploads' => '%s anonimnih poslanih slik', //cpg1.4
-  'deleted_comments' => '%s pobrisanih komentarjev', //cpg1.4
-  'deleted_uploads' => '%s poslanih slik pobrisanih', //cpg1.4
-  'user_deleted' => 'uporabnik %s pobrisan', //cpg1.4
-  'activate_user' => 'Aktiviraj uporabnika', //cpg1.4
-  'user_already_active' => 'Račun je že aktiviran', //cpg1.4
-  'activated' => 'Aktiviran', //cpg1.4
-  'deactivate_user' => 'Deaktiviraj uporabnika', //cpg1.4
-  'user_already_inactive' => 'Račun je že bil deaktiviran', //cpg1.4
-  'deactivated' => 'Deaktiviran', //cpg1.4
-  'reset_password' => 'Ponastavitev gesla', //cpg1.4
-  'password_reset' => 'Geslo spremenjeno v %s', //cpg1.4
-  'change_group' => 'Spremeni osnovno skupino', //cpg1.4
-  'change_group_to_group' => 'Spreminjam iz %s v %s', //cpg1.4
-  'add_group' => 'Dodaj sekundarno skupino', //cpg1.4
-  'add_group_to_group' => 'Dodajanje uporabnika %s v skupino %s. Uporabnik je sedaj član primarne skupine %s in član sekundarne skupine %s.', //cpg1.4
-  'status' => 'Status', //cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File displayecard.php
-// ------------------------------------------------------------------------- //
-
-if (defined('DISPLAYECARD_PHP')) {
-
-$lang_displayecard_php = array(
-  'invalid_data' => 'Podatki za prikaz e-razglednice so bili poškodovani s strani vašega e-poštnega programa.', //cpg1.4
-);
-}
-
-// ------------------------------------------------------------------------- //
-// File displayimage.php
-// ------------------------------------------------------------------------- //
-
-if (defined('DISPLAYIMAGE_PHP')){
-
-$lang_display_image_php = array(
-  'confirm_del' => 'Res želite pobrisati to sliko? \\nTudi komentarji o njej bodo pobrisani.', //js-alert
-  'del_pic' => 'POBRIŠI TO SLIKO',
-  'size' => '%s x %s pikslov',
-  'views' => '%s krat',
-  'slideshow' => 'Samodejno predvajanje',
-  'stop_slideshow' => 'Ustavi predvajanje',
-  'view_fs' => 'Kliknite za ogled večje slike',
-  'edit_pic' => 'Uredi podatke', //cpg1.4
-  'crop_pic' => 'Obreži in zavrti',
-  'set_player' => 'Spremeni predvajalnik',
-);
-
-$lang_picinfo = array(
-  'title' =>'Podatki o sliki',
-  'Filename' => 'Ime datoteke',
-  'Album name' => 'Ime albuma',
-  'Rating' => 'Ocena (št. glasov:%s)',
-  'Keywords' => 'Ključne besede',
-  'File Size' => 'Velikost datoteke',
-  'Date Added' => 'Datum nalaganja', //cpg1.4
-  'Dimensions' => 'Mere',
-  'Displayed' => 'Prikazano',
-  'URL' => 'URL', //cpg1.4
-  'Make' => 'Proizvajalec', //cpg1.4
-  'Model' => 'Model fotoaparata', //cpg1.4
-  'DateTime' => 'Datum in čas', //cpg1.4
-  'DateTimeOriginal' => 'Datum posnetka', //cpg1.4
-  'ISOSpeedRatings'=>'Ocena ISO-hitrosti', //cpg1.4
-  'MaxApertureValue' => 'Maks. zaslonka', //cpg1.4
-  'FocalLength' => 'Goriščnica', //cpg1.4
-  'Comment' => 'Komentar',
-  'addFav'=>'Dodaj med priljubljene',
-  'addFavPhrase'=>'Priljubljene',
-  'remFav'=>'Odstrani od priljubljenih',
-  'iptcTitle'=>'IPTC naslov',
-  'iptcCopyright'=>'IPTC Copyright',
-  'iptcKeywords'=>'IPTC ključne besede',
-  'iptcCategory'=>'IPTC kategorija',
-  'iptcSubCategories'=>'IPTC podkategorija',
-  'ColorSpace' => 'Barvni prostor', //cpg1.4
-  'ExposureProgram' => 'Program osvetlitve', //cpg1.4
-  'Flash' => 'Bliskavica', //cpg1.4
-  'MeteringMode' => 'Način meritve', //cpg1.4
-  'ExposureTime' => 'Čas osvetlitve', //cpg1.4
-  'ExposureBiasValue' => 'Nastavitev osvetlitve', //cpg1.4
-  'ImageDescription' => ' Opis slike', //cpg1.4
-  'Orientation' => 'Usmeritev', //cpg1.4
-  'xResolution' => 'Ločljivost X', //cpg1.4
-  'yResolution' => 'Ločljivost Y', //cpg1.4
-  'ResolutionUnit' => 'Enota ločljivosti', //cpg1.4
-  'Software' => 'Softver', //cpg1.4
-  'YCbCrPositioning' => 'Položaj YCbCr', //cpg1.4
-  'ExifOffset' => 'Exif Offset', //cpg1.4
-  'IFD1Offset' => 'IFD1 Offset', //cpg1.4
-  'FNumber' => 'Zaslonsko število', //cpg1.4
-  'ExifVersion' => 'Verzija Exif', //cpg1.4
-  'DateTimeOriginal' => 'Datum in čas posnetka', //cpg1.4
-  'DateTimedigitized' => 'Datum in čas digitalizacije', //cpg1.4
-  'ComponentsConfiguration' => 'Sestava komponent', //cpg1.4
-  'CompressedBitsPerPixel' => 'Stisnjeno bitov na piksel', //cpg1.4
-  'LightSource' => 'Vir svetlobe', //cpg1.4
-  'ISOSetting' => 'Nastavitev ISO', //cpg1.4
-  'ColorMode' => 'Način barv', //cpg1.4
-  'Quality' => 'Kakovost', //cpg1.4
-  'ImageSharpening' => 'Ostrenje slike', //cpg1.4
-  'FocusMode' => 'Način ostrenja', //cpg1.4
-  'FlashSetting' => 'Nastavitev bliskavice', //cpg1.4
-  'ISOSelection' => 'Izbor ISO', //cpg1.4
-  'ImageAdjustment' => 'Poravnava slike', //cpg1.4
-  'Adapter' => 'Adapter', //cpg1.4
-  'ManualFocusDistance' => 'Ročna goriščna razdalja', //cpg1.4
-  'DigitalZoom' => 'Digitalni Zoom', //cpg1.4
-  'AFFocusPosition' => 'Položaj samodejnega ostrenja', //cpg1.4
-  'Saturation' => 'Zasičenje', //cpg1.4
-  'NoiseReduction' => 'Zmanjšanje šuma', //cpg1.4
-  'FlashPixVersion' => 'Flash Pix Version', //cpg1.4
-  'ExifImageWidth' => 'Exif širina slike', //cpg1.4
-  'ExifImageHeight' => 'Exif višina slike', //cpg1.4
-  'ExifInteroperabilityOffset' => 'Exif Interoperability Offset', //cpg1.4
-  'FileSource' => 'Izvorna datoteka', //cpg1.4
-  'SceneType' => 'Tip scene', //cpg1.4
-  'CustomerRender' => 'Customer Render', //cpg1.4
-  'ExposureMode' => 'Način osvetlitve', //cpg1.4
-  'WhiteBalance' => 'Uravnava beline', //cpg1.4
-  'DigitalZoomRatio' => 'Digital Zoom Ratio', //cpg1.4
-  'SceneCaptureMode' => 'Scene Capture Mode', //cpg1.4
-  'GainControl' => 'Gain Control', //cpg1.4
-  'Contrast' => 'Kontrast', //cpg1.4
-  'Saturation' => 'Zasičenje', //cpg1.4
-  'Sharpness' => 'Ostrina', //cpg1.4
-  'ManageExifDisplay' => 'Urejanje prikaza Exif', //cpg1.4
-  'submit' => 'Pošlji', //cpg1.4
-  'success' => 'Posodobitve uspešno shranjene.', //cpg1.4
-  'details' => 'Podrobnosti', //cpg1.4
-);
-
-$lang_display_comments = array(
-  'OK' => 'V redu',
-  'edit_title' => 'Uredi komentar',
-  'confirm_delete' => 'Res želite pobrisati komentar?', //js-alert
-  'add_your_comment' => 'Dodaj komentar',
-  'name'=>'Ime',
-  'comment'=>'Komentar',
-  'your_name' => 'Anonimnež',
-  'report_comment_title' => 'Obvesti administratorja o tem komentarju', //cpg1.4
-);
-
-$lang_fullsize_popup = array(
-  'click_to_close' => 'Kliknite na sliko, da zaprete to okno',
-);
-
-}
-
-// ------------------------------------------------------------------------- //
-// File ecard.php
-// ------------------------------------------------------------------------- //
-
-if (defined('ECARDS_PHP') || defined('DISPLAYECARD_PHP')) $lang_ecard_php =array(
-  'title' => 'Pošlji e-razglednico',
-  'invalid_email' => '<font color="red"><b>Opozorilo</b></font>: napačen e-poštni naslov:', //cpg1.4
-  'ecard_title' => 'To je e-razglednica od %s zate',
-  'error_not_image' => 'Samo slike je mogoče pošiljati kot e-razglednice.',
-  'view_ecard' => 'Če razglednice ne vidite pravilno, kliknite na to povezavo', //cpg1.4
-  'view_ecard_plaintext' => 'Za ogled razglednice označite in prekopirajte ta naslov v naslovno vrstico vašega spletnega brskalnika:', //cpg1.4
-  'view_more_pics' => 'Za ogled več slik kliknite sem!', //cpg1.4
-  'send_success' => 'Razglednica je bila poslana',
-  'send_failed' => 'Oprostite, strežnik ne omogoča pošiljanja razglednic...',
-  'from' => 'Od',
-  'your_name' => 'Vaše ime',
-  'your_email' => 'Vaš e-poštni naslov',
-  'to' => 'Za',
-  'rcpt_name' => 'Prejemnikovo ime',
-  'rcpt_email' => 'Prejemnikov e-poštni naslov',
-  'greetings' => 'Pozdrav', //cpg1.4
-  'message' => 'Sporočilo', //cpg1.4
-  'ecards_footer' => 'Poslano od %s z IP %s ob %s', //cpg1.4
-  'preview' => 'Predogled e-razglednice', //cpg1.4
-  'preview_button' => 'Predogled', //cpg1.4
-  'submit_button' => 'Pošlji', //cpg1.4
-  'preview_view_ecard' => 'To je nadomestna povezava za ogled razglednice - ni uporabna pri predogledu.', //cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File report_file.php //cpg1.4
-// ------------------------------------------------------------------------- //
-
-if (defined('REPORT_FILE_PHP') || defined('DISPLAYREPORT_PHP')) $lang_report_php =array(
-  'title' => 'Poročilo administratorju', //cpg1.4
-  'invalid_email' => '<b>Opozorilo</b>: napačen e-poštni naslov!', //cpg1.4
-  'report_subject' => 'Poročilo %s o galeriji %s', //cpg1.4
-  'view_report' => 'Nadomestna povezava, če poročilo ni pravilno prikazano', //cpg1.4
-  'view_report_plaintext' => 'Za ogled poročila prekopirajte to povezavo v naslovno vrstico vašega brskalnika:', //cpg1.4
-  'view_more_pics' => 'Galerija', //cpg1.4
-  'send_success' => 'Vaše poročilo je bilo poslano', //cpg1.4
-  'send_failed' => 'Oprostite, strežnik ne more poslati vašega poročila...', //cpg1.4
-  'from' => 'Od', //cpg1.4
-  'your_name' => 'Vaše ime', //cpg1.4
-  'your_email' => 'Vaš e-poštni naslov', //cpg1.4
-  'to' => 'Za', //cpg1.4
-  'administrator' => 'Administrator/Mod', //cpg1.4
-  'subject' => 'Zadeva', //cpg1.4
-  'comment_field_name' => 'Poročilo o komentarju od "%s"', //cpg1.4
-  'reason' => 'Razlog', //cpg1.4
-  'message' => 'Sporočilo', //cpg1.4
-  'report_footer' => 'Poslano od %s z IP %s ob %s (čas na strežniku)', //cpg1.4
-  'obscene' => 'nespodobno', //cpg1.4
-  'offensive' => 'žaljivo', //cpg1.4
-  'misplaced' => 'ni povezano s temo/napačen vpis', //cpg1.4
-  'missing' => 'manjka', //cpg1.4
-  'issue' => 'napaka/ni možen ogled', //cpg1.4
-  'other' => 'ostalo', //cpg1.4
-  'refers_to' => 'Datoteka s poročilom se nanaša na', //cpg1.4
-  'reasons_list_heading' => 'razlog za poročilo:', //cpg1.4
-  'no_reason_given' => 'razlog ni naveden', //cpg1.4
-  'go_comment' => 'Pojdite na komentar', //cpg1.4
-  'view_comment' => 'Ogled poročila s komentarjem', //cpg1.4
-  'type_file' => 'datoteka', //cpg1.4
-  'type_comment' => 'komentar', //cpg1.4
-  'invalid_data' => 'Podatki o poročilu so bili poškodovani s strani programa za sprejem e-poštnih sporočil. Preverite ali je povezava kompletna.', //cpg1.4
-
-  );
-
-// ------------------------------------------------------------------------- //
-// File editpics.php
-// ------------------------------------------------------------------------- //
-
-if (defined('EDITPICS_PHP')) $lang_editpics_php = array(
-  'pic_info' => 'Informacija o sliki',
-  'album' => 'Album',
-  'title' => 'Naslov',
-  'filename' => 'Ime datoteke', //cpg1.4
-  'desc' => 'Opis',
-  'keywords' => 'Ključne besede',
-  'new_keyword' => 'Nova ključna beseda', //cpg1.4
-  'new_keywords' => 'Najdene nove ključne besede', //cpg1.4
-  'existing_keyword' => 'Obstoječe ključne besede', //cpg1.4
-  'pic_info_str' => '%sx%s - %sKB - %s ogledov - %s ocen',
-  'approve' => 'Odobri sliko',
-  'postpone_app' => 'Preloži odobritev',
-  'del_pic' => 'Pobriši sliko',
-  'del_all' => 'Pobriši vse slike', //cpg1.4
-  'read_exif' => 'Ponovno preberi podatke EXIF',
-  'reset_view_count' => 'Ponastavi števec ogledov',
-  'reset_all_view_count' => 'Ponastavi vse števce ogledov', //cpg1.4
-  'reset_votes' => 'Ponastavi ocene',
-  'reset_all_votes' => 'Ponastavi vse ocene', //cpg1.4
-  'del_comm' => 'Pobriši komentarje',
-  'del_all_comm' => 'Pobriši vse komentarje', //cpg1.4
-  'upl_approval' => 'Odobritev poslanega gradiva', //cpg1.4
-  'edit_pics' => 'Uredi sliko',
-  'see_next' => 'Naslednja slika',
-  'see_prev' => 'Predhodna slika',
-  'n_pic' => '%s slik',
-  'n_of_pic_to_disp' => 'Število slik za prikaz',
-  'apply' => 'Izvedi spremembe',
-  'crop_title' => 'Coppermineov urejevalnik slik',
-  'preview' => 'Predogled',
-  'save' => 'Shrani sliko',
-  'save_thumb' =>'Shrani kot ikono',
-  'gallery_icon' => 'Naredi iz te slike mojo uporabniško ikono', //cpg1.4
-  'sel_on_img' =>'Izbor je mogoč samo znotraj slike!', //js-alert
-  'album_properties' =>'Lastnosti albuma', //cpg1.4
-  'parent_category' =>'Nadrejena kategorija', //cpg1.4
-  'thumbnail_view' =>'Prikaz ikon', //cpg1.4
-  'select_unselect' =>'označi/odznači vse', //cpg1.4
-  'file_exists' => "Ciljna datoteka '%s' že obstaja.", //cpg1.4
-  'rename_failed' => "Preimenovanje '%s' v '%s' ni uspelo.", //cpg1.4
-  'src_file_missing' => "Manjka izvorna datoteka '%s'.", // cpg 1.4
-  'mime_conv' => "Ne morem pretvoriti '%s' v '%s'",//cpg1.4
-  'forb_ext' => 'Prepovedana končnica datoteke.',//cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File faq.php
-// ------------------------------------------------------------------------- //
-
-if (defined('FAQ_PHP')) $lang_faq_php = array(
-  'faq' => 'Pogosto zastavljana vprašanja',
-  'toc' => 'Kazalo',
-  'question' => 'Vprašanje: ',
-  'answer' => 'Odgovor: ',
-);
-
-if (defined('FAQ_PHP')) $lang_faq_data = array(
-  'Splošna vprašanja',
-  array('Zakaj se moram registrirati?', 'Registracija da ali ne - to določi administrator. Registrirani uporabniki imajo nekaj dodatnih možnosti, kot je dodajanje slik, komentarjev, ocenjevanje, lastni albumi...', 'allow_user_registration', '1'),
-  array('Kako se lahko registriram?', 'Kliknite na &quot;Registracija&quot; in izpolnite vsa potrebna polja (lahko tudi dodatna, če to želite).<br />Če je administrator določil aktiviranje računa preko e-pošte, boste po takoj, ko pošljete izpolnjen obrazec, na vneseni e-poštni naslov prejeli sporočilo z navodili za aktiviranje vaše registracije. Aktiviranje je potrebno pred prijavo.', 'allow_user_registration', '1'), //cpg1.4
-  array('Kako se prijavim?', 'Kliknite na &quot;Prijava&quot;, vpišite svoje uporabniško ime in geslo ter označite polje pred &quot;Zapomni si me&quot;.<br /><b>POMEMBNO:Omogočene morate imeti piškotke in le-ti ne smejo biti pobrisani, če želite uporabiti opcijo &quot;Zapomni si me&quot;.</b>', 'offline', 0),
-  array('Zakaj se ne morem prijaviti?', 'Ste se registrirali in kliknili na povezavo, ki ste jo prejeli na vpisan e-poštni naslov?. Ta povezava aktivira vašo registracijo. Če je temu tako, vam ostane še kontaktiranje administratorja.', 'offline', 0),
-  array('Kaj če pozabim geslo?', 'Uporabite povezavo &quot;Pozabil sem geslo&quot;, lahko pa tudi pošljete sporočilo administratorju, ki vam bo pomagal.', 'offline', 0),
-  //array('What if I changed my email address?', 'Just simply login and change your email address through &quot;Profile&quot;', 'offline', 0),
-  array('Kako lahko shranim slike med &quot;Moje najljubše&quot;?', 'Pri ogledu slike kliknite na ikono &quot;informacije o sliki&quot; (<img src="images/info.gif" width="16" height="16" border="0" alt="Informacije o sliki" />); premaknite se navzdol po strani in pri prikazu podatkov o sliki kliknite na &quot;Dodaj med priljubljene&quot;.<br />V nastavitvah galerije je možno, da so informacije o sliki že privzeto vidne.<br />POMEMBNO:piškotki morajo biti omogočeni, ne smete pa jih tudi brisati, če želite, da bo ta funkcija delovala.', 'offline', 0),
-  array('Kako lahko ocenim sliko?', 'Kliknite na eno od ocen pod njo (več zvezdic pomeni boljšo oceno). Ocenjevanje lahko administrator omeji samo na prijavljene uporabnike.', 'offline', 0),
-  array('Kako lahko dodam komentar?', 'Če je omogočeno, vpišite svoj komentar pod fotografijo. Lahko ga tudi popravljate. Možnost komentarjev lahko administrator omeji samo na prijavljene uporabnike.', 'offline', 0),
-  array('Kako lahko dodam sliko?', 'Kliknite na &quot;Dodajanje slik&quot; (če je to omogočeno), prebrskajte lokalni disk in izberite slike, ki jih želite dodati. Dodajte ime in/ali opis slike, izberite še album in kliknite na &quot;NAPREJ&quot;.<br /><br />Lahko pa uporabite tudi čarovnika za dodajanje slik - <b>Windows XP čarovnik za dodajanje</b>.<br />Kako to naredite je opisano <a href="xp_publish.php">TUKAJ.</a>', 'allow_private_albums', 1), //cpg1.4
-  array('Kam vse lahko dodam slike?', 'Slike lahko dodate v enega od svojih albumov v &quot;Moji galeriji&quot;. Administrator lahko omogoči dodajanje še v druge albume.', 'allow_private_albums', 0),
-  array('Kako velike slike lahko dodam?', 'Velikost in vrsta slik (jpg, png, itd.) je določena s strani administratorja.', 'offline', 0),
-  array('Kako lahko kreiram, preimenujem ali pobrišem albume v &quot;Moji galeriji&quot;?', 'Po prijavi ste že v  &quot;Administraciji&quot;<br />Kliknite na &quot;Kreiraj/naroči album&quot; in kliknite na &quot;Novo&quot;. Spremenite &quot;Novo&quot; v ime po vaši izbiri.<br />Album lahko na ta način tudi preimenujete.<br />Kliknite na  &quot;Izvedi spremembe&quot;.', 'allow_private_albums', 0),
-  array('Kako lahko spremenim in onemogočim ostalim, da vidijo moje albume?', 'Po prijavi ste že v &quot;Administraciji&quot;<br />Kliknite na &quot;Urejanje svojih albumov&quot; izberite album, ki ga želite urejati.<br />Tukaj lahko spremenite vse lastnosti albuma. Na koncu kliknite še na &quot;Posodobi album&quot;.', 'allow_private_albums', 0),
-  array('Kako lahko vidim galerije ostalih uporabnikov?', 'Kliknite na &quot;Seznam albumov&quot; in izberite &quot;Uporabniške galerije&quot;.', 'allow_private_albums', 0),
-  array('Kaj so piškotki?', 'Piškotki so majhne tekstovne datoteke, ki jih spletno mesto shrani na vašem računalniku.<br />Piškotki omogočajo prijavo in odjavo na strani galerije.', 'offline', 0),
-  array('Kje lahko najdem to galerijo še za svojo spletno stran?', 'Coppermine je prosta multimedijska galerija, ki je dostopna pod pogoji GNU GPL. Vsebuje obilico možnosti in obstaja za različne platforme. Obiščite <a href="http://coppermine-gallery.net/">spletišče Coppermine</a>, kjer si jo lahko presnamete.', 'offline', 0),
-
-  'Sprehod po galeriji',
-  array('Kaj pomeni &quot;Seznam albumov&quot;?', 'Ta povezava prikaže celotno galerijo, v kateri se trenutno nahajate, vključno s povezavami do vseh albumov. Če se ne nahajate v eni od kategorij, boste videli tudi povezave do posameznih kategorij. Ikone so lahko povezave do posamezne kategorije.', 'offline', 0),
-  array('Kaj pomeni &quot;Moja galerija&quot;?', 'Ta opcija omogoča uporabnikom, da si sami ustvarijo svojo galerijo in dodajajo albume in slike vanje.', 'allow_private_albums', 1), //cpg1.4
-  array('Kakšna je razlika med &quot;Administracija&quot; in &quot;Uporabniški način&quot;?', 'Ta opcija omogoča uporabnikom urejanje svojih galerij in ostalega, če je to seveda omogočeno s strani administratorja.', 'allow_private_albums', 0),
-  array('Kaj pomeni &quot;Dodajanje slik&quot;?', 'Uporabnikom omogoča dodajanje slik v lastne albume oz. albume, določene s strani administratorja.', 'allow_private_albums', 0),
-  array('Kaj pomeni &quot;Zadnje dodane slike&quot;?', 'Prikaže seznam slik, ki so bile dodane kot zadnje - to so nove slike v galeriji.', 'offline', 0),
-  array('Kaj pomeni &quot;Zadnji komentarji&quot;?', 'Tukaj najdete najnovejše komentarje (prijavljenih) uporabnikov k slikam v galeriji.', 'offline', 0),
-  array('Kaj pomeni &quot;Največ ogledov&quot;?', 'To je seznam slik, ki so jih uporabniki (prijavljeni ali anonimni) največkrat pogledali, razvrščen po številu ogledov.', 'offline', 0),
-  array('Kaj pomeni &quot;Najbolje ocenjeno&quot;?', 'To je prikaz slik, ki imajo najvišjo povprečno oceno,  dobljeno s strani (prijavljenih) obiskovalcev (primer: pet uporabnikov, vsak je dal oceno <img src="images/rating3.gif" width="65" height="14" border="0" alt="" />: slika bo imela povprečno oceno <img src="images/rating3.gif" width="65" height="14" border="0" alt="" /> ;pet obiskovalcev oceni fotografijo od 1 do 5 (1,2,3,4,5) - rezultat je povprečje <img src="images/rating3.gif" width="65" height="14" border="0" alt="" /> .)<br />Ocene gredo od <img src="images/rating5.gif" width="65" height="14" border="0" alt="odlično" /> (odlično) do <img src="images/rating0.gif" width="65" height="14" border="0" alt="zanič" /> (zanič).', 'offline', 0),
-  array('Kaj pomeni &quot;Moje najljubše&quot;?', 'Ta izbira omogoča, da si uporabniki shranijo seznam svojih najljubših fotografij v piškotek, ki ga prejmejo v brskalnik svojega računalnika.', 'offline', 0),
-);
-
-
-// ------------------------------------------------------------------------- //
-// File forgot_passwd.php
-// ------------------------------------------------------------------------- //
-
-if (defined('FORGOT_PASSWD_PHP')) $lang_forgot_passwd_php = array(
-  'forgot_passwd' => 'Obnovitev gesla',
-  'err_already_logged_in' => 'Ste že prijavljeni!',
-  'enter_email' => 'Vpišite svoj e-poštni naslov', //cpg1.4
-  'submit' => 'Naprej',
-  'illegal_session' => 'Seja za obnovo gesla je potekla ali je pa napačna.', //cpg1.4
-  'failed_sending_email' => 'Sporočila za obnovitev gesla ni bilo možno poslati!',
-  'email_sent' => 'Sporočilo z uporabniškim imenom in geslom je bilo poslano %s',
-  'verify_email_sent' => 'Sporočilo je bilo poslano k %s. Prosimo, preverite prejeto e-poštno sporočilo za nadaljevanje obnove gesla.', //cpg1.4
-  'err_unk_user' => 'Izbrani uporabnik ne obstaja!',
-  'account_verify_subject' => '%s - zahtevek za novo geslo', //cpg1.4
-  'account_verify_body' => 'Zaprosili ste za novo geslo. Če želite nadaljevati, kliknite na naslednjo povezavo:
-
-%s', //cpg1.4
-  'passwd_reminder_subject' => '%s - obnovitev gesla',
-  'passwd_reminder_body' => 'Prosili ste za svoje podatke, potrebne za prijavo :
-Uporabniško ime: %s
-Geslo: %s
-Kliknite %s za prijavo.',
-);
-
-// ------------------------------------------------------------------------- //
-// File groupmgr.php
-// ------------------------------------------------------------------------- //
-
-if (defined('GROUPMGR_PHP')) $lang_groupmgr_php = array(
-  'group_name' => 'Ime skupine', //cpg1.4
-  'permissions' => 'Dovoljenja', //cpg1.4
-  'public_albums' => 'Dodajanje v javne albume', //cpg1.4
-  'personal_gallery' => 'Osebne galerije', //cpg1.4
-  'upload_method' => 'Način pošiljanja fotografij', //cpg1.4
-  'disk_quota' => 'Disk', //cpg1.4
-  'rating' => 'Ocenjevanje', //cpg1.4
-  'ecards' => 'Razglednice', //cpg1.4
-  'comments' => 'Komentarji', //cpg1.4
-  'allowed' => 'Dovoljeno', //cpg1.4
-  'approval' => 'Odobritev', //cpg1.4
-  'boxes_number' => 'Št. polj', //cpg1.4
-  'variable' => 'sprem.', //cpg1.4
-  'fixed' => 'fiksno', //cpg1.4
-  'apply' => 'Izvedi spremembe',
-  'create_new_group' => 'Dodaj novo skupino',
-  'del_groups' => 'Briši označene skupine',
-  'confirm_del' => 'Opozorilo: če pobrišete skupino, bodo vsi njeni uporabniki premeščeni v skupino \'Registered\'!\n\nŽelite nadaljevati?', //js-alert
-  'title' => 'Urejanje uporabniških skupin',
-  'num_file_upload' => 'Polja pri nalaganju datotek', //cpg1.4
-  'num_URI_upload' => 'Polja pri nalaganju URI', //cpg1.4
-  'reset_to_default' => 'Ponastavi na privzeto ime (%s) - priporočeno!', //cpg1.4
-  'error_group_empty' => 'Tabela skupin je bila prazna!<br /><br />Kreirane so bile privzete skupine, prosimo osvežite prikaz te strani', //cpg1.4
-  'explain_greyed_out_title' => 'Zakaj je ta vrstica siva?', //cpg1.4
-  'explain_guests_greyed_out_text' => 'Ne morete spreminjati lastnosti te skupine, ker ste nastavili opcijo &quot; Dovoli neprijavljenim uporabnikom (gost ali anonimnež) dostop&quot; na &quot;NE&quot; na strani z nastavitvami. Vsi člani skupine %s se lahko samo prijavijo, drugega pa ne smejo početi. Zaradi tega nastavitve skupine na njih nimajo vpliva.', //cpg1.4
-  'explain_banned_greyed_out_text' => 'Ne morete spreminjati lastnosti skupine %s, ker njeni člani tako ali tako ne smejo početi ničesar.', //cpg1.4
-  'group_assigned_album' => 'pripadajoči album(i)', //cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File index.php
-// ------------------------------------------------------------------------- //
-
-if (defined('INDEX_PHP')){
-
-$lang_index_php = array(
-  'welcome' => 'Dobrodošli!',
-);
-
-$lang_album_admin_menu = array(
-  'confirm_delete' => 'Resnično želite pobrisati ta album? \\nVse fotografije in komentarji bodo pobriani.', //js-alert
-  'delete' => 'BRISANJE',
-  'modify' => 'LASTNOSTI',
-  'edit_pics' => 'UREJANJE',
-);
-
-$lang_list_categories = array(
-  'home' => 'Domov',
-        'stat1' => 'Št. slik:<b>[pictures]</b> - št. albumov:<b>[albums]</b> - št. kategorij:<b>[cat]</b>  - št. komentarjev:<b>[comments]</b> - št. ogledov:<b>[views]</b>',
-        'stat2' => 'Št. slik:<b>[pictures]</b> - št. albumov:<b>[albums]</b> - št. ogledov<b>[views]</b>',
-        'xx_s_gallery' => 'Galerija od %s',
-        'stat3' => 'Št. slik:<b>[pictures]</b> - št. albumov:<b>[albums]</b> - št. komentarjev:<b>[comments]</b>  - št. ogledov:<b>[views]</b>'
-);
-
-$lang_list_users = array(
-  'user_list' => 'Seznam uporabnikov',
-  'no_user_gal' => 'Brez uporabniških galerij',
-  'n_albums' => 'Št. albumov:%s',
-  'n_pics' => 'Št. slik:%s',
-);
-
-$lang_list_albums = array(
-  'n_pictures' => 'Št. slik:%s',
-  'last_added' => ', zadnja dodana %s',
-  'n_link_pictures' => '%s povezanih slik', //cpg1.4
-  'total_pictures' => 'Skupaj slik:%s', //cpg1.4
-);
-
-}
-
-// ------------------------------------------------------------------------- //
-// File keywordmgr.php //cpg1.4
-// ------------------------------------------------------------------------- //
-
-if (defined('KEYWORDMGR_PHP')) $lang_keywordmgr_php = array(
-  'title' => 'Urejanje ključnih besed', //cpg1.4
-  'edit' => 'uredi', //cpg1.4
-  'delete' => 'briši', //cpg1.4
-  'search' => 'išči', //cpg1.4
-  'keyword_test_search' => 'išči %s v novem oknu', //cpg1.4
-  'keyword_del' => 'briši ključno besedo %s', //cpg1.4
-  'confirm_delete' => 'Ste prepričani, da želite pobrisati ključno besedo %s v celotni galeriji?', //cpg1.4  // js-alert
-  'change_keyword' => 'spremeni ključno besedo', //cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File login.php
-// ------------------------------------------------------------------------- //
-
-if (defined('LOGIN_PHP')) $lang_login_php = array(
-  'login' => 'Prijava',
-  'enter_login_pswd' => 'Vpišite uporabniško ime in geslo za prijavo',
-  'username' => 'Uporabniško ime',
-  'password' => 'Geslo',
-  'remember_me' => 'Zapomni si me',
-  'welcome' => 'Pozdravljeni, %s ...',
-  'err_login' => '*** Prijava ni uspela. Poskusite znova ***',
-  'err_already_logged_in' => 'Ste že prijavljeni!',
-  'forgot_password_link' => 'Pozabil sem geslo',
-  'cookie_warning' => 'Opozorilo: vaš brskalnik ne omogoča uporabe piškotkov', //cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File logout.php
-// ------------------------------------------------------------------------- //
-
-if (defined('LOGOUT_PHP')) $lang_logout_php = array(
-  'logout' => 'Odjava',
-  'bye' => 'Lepo pozdravljeni, %s ...',
-  'err_not_loged_in' => 'Niste prijavljeni!',
-);
-
-// ------------------------------------------------------------------------- //
-// File minibrowser.php  //cpg1.4
-// ------------------------------------------------------------------------- //
-
-if (defined('MINIBROWSER_PHP')) $lang_minibrowser_php = array(
-  'close' => 'zapri', //cpg1.4
-  'submit' => 'Naprej', //cpg1.4
-  'up' => 'gor za en nivo', //cpg1.4
-  'current_path' => 'trenutna pot', //cpg1.4
-  'select_directory' => 'Izberite mapo', //cpg1.4
-  'click_to_close' => 'Kliknite na sliko, da zaprete okno',
-); 
-
-// ------------------------------------------------------------------------- //
-// File modifyalb.php
-// ------------------------------------------------------------------------- //
-
-if (defined('MODIFYALB_PHP')) $lang_modifyalb_php = array(
-  'upd_alb_n' => 'Posodobi album %s',
-  'general_settings' => 'Splošne nastavitve',
-  'alb_title' => 'Ime albuma',
-  'alb_cat' => 'Kategorija od albuma',
-  'alb_desc' => 'Opis albuma',
-  'alb_keyword' => 'Ključna beseda za album', //cpg1.4
-  'alb_thumb' => 'Ikona albuma',
-  'alb_perm' => 'Pravice za ta album',
-  'can_view' => 'Album lahko vidijo',
-  'can_upload' => 'Obiskovalci lahko dodajajo slike',
-  'can_post_comments' => 'Obiskovalci lahko dodajajo komentarje',
-  'can_rate' => 'Obiskovalci lahko ocenjujejo slike',
-  'user_gal' => 'Uporabniška galerija',
-  'no_cat' => '* Brez kategorije *',
-  'alb_empty' => 'Album je prazen',
-  'last_uploaded' => 'Zadnje dodano...',
-  'public_alb' => 'Vsi (javni album)',
-  'me_only' => 'Samo jaz',
-  'owner_only' => 'Lastnik albuma (%s)',
-  'groupp_only' => 'Člani skupine \'%s\'',
-  'err_no_alb_to_modify' => 'V bazi ni albumov, ki bi jih lahko urejali.',
-  'update' => 'Posodobi album',
-  'reset_album' => 'Reset album', //cpg1.4
-  'reset_views' => 'Nastavi števec ogledov na &quot;0&quot; v %s', //cpg1.4
-  'reset_rating' => 'Pobriši ocene vseh slik v %s', //cpg1.4
-  'delete_comments' => 'Pobriši vse komentarje v %s', //cpg1.4
-  'delete_files' => '%sNepovratno briše vse slike v %s', //cpg1.4
-  'views' => 'ogledov', //cpg1.4
-  'votes' => 'glasov', //cpg1.4
-  'comments' => 'komentarjev', //cpg1.4
-  'files' => 'datotek', //cpg1.4
-  'submit_reset' => 'pošlji spremembe', //cpg1.4
-  'reset_views_confirm' => 'Prepričan sem', //cpg1.4
-  'notice1' => '(*) odvisno od nastavitev %sgroups%s ',  //cpg1.4 //(do not translate %s!)
-  'alb_password' => 'Geslo za album', //cpg1.4
-  'alb_password_hint' => 'Namig za geslo za album', //cpg1.4
-  'edit_files' =>'Urejanje datotek', //cpg1.4
-  'parent_category' =>'Nadrejena kategorija', //cpg1.4
-  'thumbnail_view' =>'Pogled ikon', //cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File phpinfo.php
-// ------------------------------------------------------------------------- //
-
-if (defined('PHPINFO_PHP')) $lang_phpinfo_php = array(
-  'php_info' => 'PHP info',
-  'explanation' => 'To je rezultat izvedbe PHP funkcije <a href="http://www.php.net/phpinfo">phpinfo()</a>, prikazan v okviru galerije.',
-  'no_link' => 'Ni preveč pametno, da bi te podatke videl še kdo razen vas. Prikazani so tudi podatki, ki so pomembni za varnost delovanja vaše galerije. Tudi zaradi tega lahko te podatke vidi samo administrator (tudi, če komu pošljete povezavo do te strani, podatkov ne bo videl).',
-);
-
-// ------------------------------------------------------------------------- //
-// File picmgr.php //cpg1.4
-// ------------------------------------------------------------------------- //
-if (defined('PICMGR_PHP')) $lang_picmgr_php = array(
-  'pic_mgr' => 'Urejanje fotografij', //cpg1.4
-  'select_album' => 'Izberite album', //cpg1.4
-  'delete' => 'Briši', //cpg1.4
-  'confirm_delete1' => 'Ste prepričani, da želite pobrisati to sliko?', //cpg1.4
-  'confirm_delete2' => '\nSlika bo trajno pobrisana.', //cpg1.4
-  'apply_modifs' => 'Izvedi spremembe', //cpg1.4
-  'confirm_modifs' => 'Potrdite spremembe', //cpg1.4
-  'pic_need_name' => 'Slika mora imeti ime!', //cpg1.4
-  'no_change' => 'Niste naredili nobene spremembe!', //cpg1.4
-  'no_album' => '* Brez albuma *', //cpg1.4
-  'explanation_header' => 'Nastavljeno razvrščanje na tej strani bo upoštevano samo v naslednjih primerih', //cpg1.4
-  'explanation1' => 'administrator je nastavil v nastavitvah razvrščanje na "pozicija naraščajoče" ali "pozicija padajoče", kar je privzeto za vse uporabnike, ki si niso sami nastavili razvrščanja slik', //cpg1.4
-  'explanation2' => 'uporabnik ima nastavljeno razvrščanje na "pozicija naraščajoče" ali "pozicija padajoče" strani z ikonami', //cpg1.4
-);
-
-
-// ------------------------------------------------------------------------- //
-// File pluginmgr.php //cpg1.4
-// ------------------------------------------------------------------------- //
-
-if (defined('PLUGINMGR_PHP')){
-
-$lang_pluginmgr_php = array(
-  'confirm_uninstall' => 'Ste prepričani, da želite odstraniti ta dodatek', //cpg1.4
-  'confirm_delete' => 'Ste prepričani, da želite pobrisati ta dodatek', //cpg1.4
-  'pmgr' => 'Urejanje dodatkov', //cpg1.4
-  'name' => 'Ime', //cpg1.4
-  'author' => 'Avtor', //cpg1.4
-  'desc' => 'Opis', //cpg1.4
-  'vers' => 'v', //cpg1.4
-  'i_plugins' => 'Nameščeni dodatki', //cpg1.4
-  'n_plugins' => 'Dodatki, ki še niso aktivni', //cpg1.4
-  'none_installed' => 'Brez dodatkov', //cpg1.4
-  'operation' => 'Operacija', //cpg1.4
-  'not_plugin_package' => 'Datoteka, ki ste jo naložili, NI veljavni dodatek za galerijo.', //cpg1.4
-  'copy_error' => 'Pri kopiranju dodatka v mapo z dodatki je prišlo do napake.', //cpg1.4
-  'upload' => 'Nalaganje', //cpg1.4
-  'configure_plugin' => 'Uredi dodatek', //cpg1.4
-  'cleanup_plugin' => 'Počisti dodatek', //cpg1.4
-);
-}
-
-// ------------------------------------------------------------------------- //
-// File ratepic.php
-// ------------------------------------------------------------------------- //
-
-if (defined('RATEPIC_PHP')) $lang_rate_pic_php = array(
-  'already_rated' => 'Oprostite, to sliko ste že ocenili',
-  'rate_ok' => 'Vaša ocena je bila shranjena',
-  'forbidden' => 'Svojih slik ne morete ocenjevati.',
-);
-
-// ------------------------------------------------------------------------- //
-// File register.php & profile.php
-// ------------------------------------------------------------------------- //
-
-if (defined('REGISTER_PHP') || defined('PROFILE_PHP')) {
-
-$lang_register_disclamer = <<<EOT
-Čeprav bodo administratorji {SITE_NAME} poskušali popraviti ali odstraniti vsako sporno vsebino, ki je ponujena v objavo v galeriji, je vse nemogoče podrobno pregledati. Zavedati se morate, da vse objavljeno na tem spletišču predstavlja stališče in mnenje avtorja, ne pa administratorjev oz. vzdrževalcev spletišča (razen tistega, kar bi slednji objavili sami), zato za objave tudi ne morejo biti odgovorni.<br />
-<br />
-S sodelovanjem na tem spletišču se tudi strinjate, da ne boste objavljali nobenih opolzkih, prostaških, žaljivih, spolno usmerjenih, sovražnih, rasno nestrpnih in ostalih vsebin, ki so v nasprotju z veljavno zakonodajo in splošnimi moralnimi normami. Strinjate se tudi, da imajo aministratorji in/ali moderatorji posameznih vsebin na {SITE_NAME} pravico v kateremkoli trenutku odstraniti ali popraviti po njihovem mnenju sporen objavljeni prispevek. Kot uporabnik se strinjate, da je  vaše poslano gradivo shranjeno v bazi podatkov. Čeprav ti podatki ne bodo posredovani nobeni tretji stranki, administratorji oziroma skrbniki teh strani ne odgovarjajo za izgubljene podatke v primeru hekerskega napada.<br />
-<br />
-To spletišče uporablja piškotke (cookies) za shranjevanje podatkov na vašem računalniku. Ti podatki so namenjeni izključno temu, da vam olajšajo brskanje na teh straneh. Vaš e-poštni naslov pa je uporabljen samo za to, da vam lahko posredujemo geslo za prijavo.<br />
-<br />
-S klikom na 'STRINJAM SE' potrjujete, da sprejemate pogoje sodelovanje na spletišču {SITE_NAME}.
-EOT;
-
-$lang_register_php = array(
-  'page_title' => 'Registracija',
-  'term_cond' => 'Navodila in pogoji za sodelovanje',
-  'i_agree' => 'STRINJAM SE',
-  'submit' => 'Pošlji registracijo',
-  'err_user_exists' => 'To uporabniško ime že obstaja, izberite si drugo',
-  'err_password_mismatch' => 'Gesli se ne ujemata - ponovite vpis',
-  'err_uname_short' => 'Uporabniško ime mora imeti vsaj dva znaka',
-  'err_password_short' => 'Geslo mora biti dolgo vsaj dva znaka',
-  'err_uname_pass_diff' => 'Uporabniško ime in geslo morata biti različna',
-  'err_invalid_email' => 'Napačen e-poštni naslov!',
-  'err_duplicate_email' => 'Ta e-poštni naslov je nekdo že uporabil',
-  'enter_info' => 'Vpis podatkov za registracijo',
-  'required_info' => 'Obvezni podatki',
-  'optional_info' => 'Neobvezni vpis',
-  'username' => 'Uporabniško ime',
-  'password' => 'Geslo',
-  'password_again' => 'Ponovite geslo',
-  'email' => 'e-pošta',
-  'location' => 'Kraj',
-  'interests' => 'Zanimanja, konjički',
-  'website' => 'Spletna stran',
-  'occupation' => 'Poklic, zaposlitev',
-  'error' => 'NAPAKA',
-  'confirm_email_subject' => '%s - registracija potrjena',
-  'information' => 'Informacija',
-  'failed_sending_email' => 'Ne morem poslati e-poštnega sporočila s podatki o registraciji!',
-  'thank_you' => 'Hvala za registracijo.<br /><br />Navodila za aktiviranje računa so bila poslana na vpisani e-poštni naslov.',
-  'acct_created' => 'Vaš račun je bil ustvarjen - lahko se prijavite s svojim uporabniškim imenom in geslom',
-  'acct_active' => 'Vaš račun je aktiven in se lahko prijavite',
-  'acct_already_act' => 'Vaš račun je že aktiven!', //cpg1.4
-  'acct_act_failed' => 'Tega računa ni možno aktivirati!',
-  'err_unk_user' => 'Izbrani uporabnik ne obstaja!',
-  'x_s_profile' => 'Profil %s',
-  'group' => 'Skupina',
-  'reg_date' => 'Datum pristopa',
-  'disk_usage' => 'Velikost diska',
-  'change_pass' => 'Spremeni geslo',
-  'current_pass' => 'Staro geslo',
-  'new_pass' => 'Novo geslo',
-  'new_pass_again' => 'Novo geslo ponovno',
-  'err_curr_pass' => 'Staro geslo ni pravilno',
-  'apply_modif' => 'Izvedi spremembe',
-  'change_pass' => 'Spremeni moje geslo',
-  'update_success' => 'Profil je bil posodobljen',
-  'pass_chg_success' => 'Geslo je bilo spremenjeno',
-  'pass_chg_error' => 'Geslo ni bilo spremenjeno',
-  'notify_admin_email_subject' => '%s - Obvestilo o registraciji',
-  'last_uploads' => 'Zadnje dodane datoteke.<br />Kliknite za ogled vseh datotek', //cpg1.4
-  'last_comments' => 'Zadnji komentarji.<br />Kliknite za ogled vseh komentarjev', //cpg1.4
-  'notify_admin_email_body' => 'Registriral se je nov uporabnik z imenom "%s"',
-  'pic_count' => 'Dodanih datotek', //cpg1.4
-  'notify_admin_request_email_subject' => '%s - zahtevek za registracijo', //cpg1.4
-  'thank_you_admin_activation' => 'Hvala za registracijo.<br /><br />Vaš zahtevek za aktiviranje uporabniškega računa je bil poslan administratorju. Ko bo vaš račun odobren, prejmete po e-pošti sporočilo z obvestilom o aktiviranju.', //cpg1.4
-  'acct_active_admin_activation' => 'Uporabniški račun je aktiviran, uporabniku je bilo poslano sporočilo z obvestilom o aktiviranju.', //cpg1.4
-  'notify_user_email_subject' => '%s - obvestilo o aktiviranju računa', //cpg1.4
-);
-
-$lang_register_confirm_email = <<<EOT
-Hvala za registracijo pri: {SITE_NAME}
-
-Če želite aktivirati svoj uporabniški račun (uporabniško ime: {USER_NAME} ),kliknite na spodnjo povezavo ali pa jo prekopirajte v naslovno vrstico spletnega brskalnika.
-
-<a href="{ACT_LINK}">{ACT_LINK}</a>
-
-Lep pozdrav,
-
-administrator{SITE_NAME}
-
-EOT;
-
-$lang_register_approve_email = <<<EOT
-Nov uporabnik z uporabniškim imenom "{USER_NAME}" se je registriral v galeriji.
-
-Da aktivirate njegov uporabniški račun, morate klikniti na spodnjo povezavo.
-
-<a href="{ACT_LINK}">{ACT_LINK}</a>
-
-EOT;
-
-$lang_register_activated_email = <<<EOT
-Vaš uporabniški račun je bil odobren in aktiviran.
-
-Lahko se prijavite na <a href="{SITE_LINK}">{SITE_LINK}</a> s svojim uporabniškim imenom "{USER_NAME}"
-
-
-Lepo pozdravljeni,
-
-urednik SITE_NAME}
-
-EOT;
-}
-
-// ------------------------------------------------------------------------- //
-// File reviewcom.php
-// ------------------------------------------------------------------------- //
-
-if (defined('REVIEWCOM_PHP')) $lang_reviewcom_php = array(
-  'title' => 'Pregled komentarjev',
-  'no_comment' => 'Ni komentarjev za pregled',
-  'n_comm_del' => 'Št. pobrisanih komentarjev:%s',
-  'n_comm_disp' => 'Št. prikazanih komentarjev',
-  'see_prev' => 'Prikaz predhodnih',
-  'see_next' => 'Prikaz naslednjih',
-  'del_comm' => 'Pobriši izbrane komentarje',
-  'user_name' => 'Ime', //cpg1.4
-  'date' => 'Datum', //cpg1.4
-  'comment' => 'Komentar', //cpg1.4
-  'file' => 'Datoteka', //cpg1.4
-  'name_a' => 'Uporabniško ime naraščajoče', //cpg1.4
-  'name_d' => 'Uporabniško ime padajoče', //cpg1.4
-  'date_a' => 'Datum naraščajoče', //cpg1.4
-  'date_d' => 'Datum padajoče', //cpg1.4
-  'comment_a' => 'Komentar naraščajoče', //cpg1.4
-  'comment_d' => 'Komentar padajoče', //cpg1.4
-  'file_a' => 'Datoteka naraščajoče', //cpg1.4
-  'file_d' => 'Datoteka padajoče', //cpg1.4
-);
-
-
-// ------------------------------------------------------------------------- //
-// File search.php                                                           //
-// ------------------------------------------------------------------------- //
-
-
-if (defined('SEARCH_PHP')){
-
-$lang_search_php = array(
-  'title' => 'Iskanje po galeriji', //cpg1.4
-  'submit_search' => 'Najdi', //cpg1.4
-  'keyword_list_title' => 'Seznam ključnih besed', //cpg1.4
-  'keyword_msg' => 'Zgornji seznam ni popoln. Ne vključuje besed iz naslovov slik ali njihovih opisov. Poskusite z razširjenim iskanjem.',  //cpg1.4
-  'edit_keywords' => 'Uredi ključne besede', //cpg1.4
-  'search in' => 'Išči v:', //cpg1.4
-  'ip_address' => 'IP naslov', //cpg1.4
-  'fields' => 'Išči v', //cpg1.4
-  'age' => 'Starost', //cpg1.4
-  'newer_than' => 'Novejše od', //cpg1.4
-  'older_than' => 'Starejše od', //cpg1.4
-  'days' => 'dni', //cpg1.4
-  'all_words' => 'Vse besede (IN)', //cpg1.4
-  'any_words' => 'Poljubna (ALI)', //cpg1.4
-);
-
-$lang_adv_opts = array(
-  'title' => 'Naslov', //cpg1.4
-  'caption' => 'Opis', //cpg1.4
-  'keywords' => 'Ključne besede', //cpg1.4
-  'owner_name' => 'Ime lastnika', //cpg1.4
-  'filename' => 'Ime datoteke', //cpg1.4
-);
-
-}
-
-// ------------------------------------------------------------------------- //
-// File searchnew.php
-// ------------------------------------------------------------------------- //
-
-if (defined('SEARCHNEW_PHP')) $lang_search_new_php = array(
-  'page_title' => 'Iskanje novih slik',
-  'select_dir' => 'Izberite mapo',
-  'select_dir_msg' => 'Ta ukaz vam omogoča dodajanje paketa slik, ki ste jih naložili na strežnik s protokolom FTP.<br /><br />Izberite mapo, v katero ste naložili slike', //cpg1.4
-  'no_pic_to_add' => 'Tu ni nobenih slik za dodajanje',
-  'need_one_album' => 'Za uporabo te funkcije morate imeti vsaj en album',
-  'warning' => 'Opozorilo',
-  'change_perm' => 'pisanje v mapo ni omogočeno, spremenite pravice v 755 ali 777 pred ponovnim poskusom dodajanja slik!',
-  'target_album' => '<b>Dodaj slike &quot;</b>%s<b>&quot; v </b>%s',
-  'folder' => 'Mapa',
-  'image' => 'slika',
-  'album' => 'Album',
-  'result' => 'Rezultat',
-  'dir_ro' => 'Pisanje onemogočeno. ',
-  'dir_cant_read' => 'Branje onemogočeno. ',
-  'insert' => 'Dodajanje novih slik v galerijo',
-  'list_new_pic' => 'Seznam novih slik',
-  'insert_selected' => 'Dodaj izbrane slike',
-  'no_pic_found' => 'Brez novih slik',
-  'be_patient' => 'Potrpite, prosim, dodajanje traja nekaj časa',
-  'no_album' => 'album ni bil izbran',
-  'result_icon' => 'kliknite za podrobnosti ali osvežite prikaz strani',  //cpg1.4
-  'notes' =>  '<ul>'.
-                          '<li><b>OK</b> : pomeni, da so slike uspešno dodane'.
-                          '<li><b>DP</b> : pomeni, da je slika dvojnik in je že v bazi'.
-                          '<li><b>PB</b> : pomeni, da slike ni mogoče dodati. Preverite nastavitve in pravice za mapo, v katerem se nahajajo'.
-                          '<li><b>NA</b> : pomeni, da niste izbrali albuma, v katerega želite dodati slike, kliknite gumb \'<a href="javascript:history.back(1)">nazaj</a>\' in izberite n album. Če albuma še nimate, ga najprej <a href="albmgr.php">kreirajte</a></li>'.
-                          '<li>Če ne vidite oznak OK, DP ali PB, kliknite na manjkajočo slikico za prikaz napake, ki jo generira PHP'.
-                          '<li>Za osvežitev prikaza pritisnite tipko za ponovno nalaganje v svojem brskalniku'.
-                          '</ul>',
-  'select_album' => 'Izberite album',
-  'check_all' => 'Označi vse',
-  'uncheck_all' => 'Odznači vse',
-  'no_folders' => 'V mapi "albums" ni nobene mape. Naredite vsaj en uporabniški album v mapi"albums" in s FTP protokolom naložite slike vanj. S FTP-jem ne smete nalagati slik v mapo"userpics" ali "edit", ker sta rezervirani za http dodajanje in interne namene.', //cpg1.4
-   'albums_no_category' => 'Albumi brez kategorij', //cpg1.4 // album pulldown mod, added by frogfoot
-  'personal_albums' => '* Osebni albumi', //cpg1.4 // album pulldown mod, added by frogfoot
-  'browse_batch_add' => 'vmesnik za brskanje (priporočeno)', //cpg1.4
-  'edit_pics' => 'Urejanje slik', //cpg1.4
-  'edit_properties' => 'Lastnosti albuma', //cpg1.4
-  'view_thumbs' => 'Prikaz ikon', //cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File stat_details.php //cpg1.4
-// ------------------------------------------------------------------------- //
-
-if (defined('STAT_DETAILS_PHP')) $lang_stat_details_php = array(
-  'show_hide' => 'prikaži/skrij to kolono', //cpg1.4
-  'vote' => 'Podrobnosti glasovanja', //cpg1.4
-  'hits' => 'Podrobnosti ogledov', //cpg1.4
-  'stats' => 'Statistika glasovanja', //cpg1.4
-  'sdate' => 'Datum', //cpg1.4
-  'rating' => 'Ocena', //cpg1.4
-  'search_phrase' => 'Iskana beseda', //cpg1.4
-  'referer' => 'Napotitelj', //cpg1.4
-  'browser' => 'Brskalnik', //cpg1.4
-  'os' => 'Operacijski sistem', //cpg1.4
-  'ip' => 'IP', //cpg1.4
-  'sort_by_xxx' => 'Razvrsti po %s', //cpg1.4
-  'ascending' => 'naraščajoče', //cpg1.4
-  'descending' => 'padajoče', //cpg1.4
-  'internal' => 'int', //cpg1.4
-  'close' => 'zapri', //cpg1.4
-  'hide_internal_referers' => 'skrij interne napotitelje', //cpg1.4
-  'date_display' => 'Prikaz datuma', //cpg1.4
-  'submit' => 'pošlji/osveži', //cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File thumbnails.php
-// ------------------------------------------------------------------------- //
-
-// Void
-
-// ------------------------------------------------------------------------- //
-// File upload.php
-// ------------------------------------------------------------------------- //
-
-if (defined('UPLOAD_PHP')) $lang_upload_php = array(
-  'title' => 'Dodajanje slik',
-  'custom_title' => 'Kreiranje obrazca za dodajanje slik',
-  'cust_instr_1' => 'Nastavite si lahko poljubno število polj na obrazcu za dodajanje slik, le da ne presežete spodnjih mejnih vrednosti.',
-  'cust_instr_2' => 'Zahtevek za kreiranje obrazca',
-  'cust_instr_3' => 'Polja za lokalne slike: %s',
-  'cust_instr_4' => 'URI/URL polja: %s',
-  'cust_instr_5' => 'URI/URL polja:',
-  'cust_instr_6' => 'Polja za lokalne slike:',
-  'cust_instr_7' => 'Vpišite število polj za posamezno vrsto in kliknite na \'NAPREJ\'. ',
-  'reg_instr_1' => 'Napačen ukaz pri kreiranju obrazca.',
-  'reg_instr_2' => 'Z uporabo spodnjega obrazca lahko zdaj dodate slike. Velikost posamezne datoteke, ki jo želite dodati, ne sme preseči %s KB. Stisnjene (ZIP) datoteke, ki jih boste dodali (neglede na opcijo dodajanja lokalnih datotek ali preko URL naslova), bodo ostale nerazpakirane.',
-  'reg_instr_3' => 'Če želite razpakirati zip datoteke, uporabite obrazec za dodajanje v \'Nalaganje ZIP z razpakiranjem\' področju.',
-  'reg_instr_4' => 'Če uporabite opcijo URI/URL za dodajanje slik, vpišite pot do njih na naslednji način: http://www.mojastran.com/slike/deteljica.jpg',
-  'reg_instr_5' => 'Ko izpolnite obrazec, kliknite \'NAPREJ\'.',
-  'reg_instr_6' => 'Nalaganje ZIP z razpakiranjem:',
-  'reg_instr_7' => 'Dodajanje slik z diska:',
-  'reg_instr_8' => 'Dodajanje slik z URI/URL:',
-  'error_report' => 'Poročilo o napaki',
-  'error_instr' => 'Pri naslednjih datotekah je prišlo do napake:',
-  'file_name_url' => 'Ime datoteke/URL',
-  'error_message' => 'Sporočilo o napaki',
-  'no_post' => 'Slike niso bile poslane.',
-  'forb_ext' => 'Napačna končnica datoteke.',
-  'exc_php_ini' => 'Presežena velikost datoteke glede na dovoljeno v php.ini.',
-  'exc_file_size' => 'Presežena velikost datoteke glede na dovoljeno v nastavitvah galerije.',
-  'partial_upload' => 'Dodajanje je samo delno uspelo.',
-  'no_upload' => 'Dodajanje ni bilo izvedeno.',
-  'unknown_code' => 'Neznana PHP napaka...',
-  'no_temp_name' => 'Nalaganje neuspešno, ker ni začasnega imena.',
-  'no_file_size' => 'Datoteka ne vsebuje podatkov/poškodovana',
-  'impossible' => 'Tega ni moč premakniti.',
-  'not_image' => 'Datoteka ni slika/pokvarjena',
-  'not_GD' => 'Slika ni dovoljena za GD knjižnico (gif,jpg).',
-  'pixel_allowance' => 'Višina in/ali širina slike je večja kot je dovoljeno v nastavitvah galerije.', //cpg1.4
-  'incorrect_prefix' => 'Napačna URI/URL predpona',
-  'could_not_open_URI' => 'Ne morem odpreti URI.',
-  'unsafe_URI' => 'Varnosti ni možno preveriti.',
-  'meta_data_failure' => 'Manjkajo metapodatki',
-  'http_401' => '401 Dostop samo z geslom',
-  'http_402' => '402 Potrebno predhodno plačilo',
-  'http_403' => '403 Prepovedano',
-  'http_404' => '404 Ni najdeno',
-  'http_500' => '500 Napaka na strežniku',
-  'http_503' => '503 Storitev ni na voljo',
-  'MIME_extraction_failure' => 'MIME tip ni prepoznan.',
-  'MIME_type_unknown' => 'Neznani MIME tip',
-  'cant_create_write' => 'Datoteke za pisanje ni mogoče ustvariti.',
-  'not_writable' => 'Pisanje v datoteko ni možno.',
-  'cant_read_URI' => 'Ne morem prebrati naslova URI/URL',
-  'cant_open_write_file' => 'Ni mogoče odpreti URI datoteke za pisanje.',
-  'cant_write_write_file' => 'Ni mogoče pisati v URI datoteko za pisanje.',
-  'cant_unzip' => 'Razpakiranje datoteke ni možno.',
-  'unknown' => 'Neznana napaka',
-  'succ' => 'Uspešno dodano',
-  'success' => 'Št. uspešno dodanih datotek:%s',
-  'add' => 'Prosimo, kliknite \'NAPREJ\' za dodajanje slik v albume.',
-  'failure' => 'Dodajanje ni uspelo',
-  'f_info' => 'Podatki o datoteki',
-  'no_place' => 'Predhodna slika ni mogla biti nameščena.',
-  'yes_place' => 'Predhodna slika je bila uspešno nameščena.',
-  'max_fsize' => 'Največja velikost datotek/slik je %s KB',
-  'album' => 'Album',
-  'picture' => 'Slika',
-  'pic_title' => 'Ime slike',
-  'description' => 'Opis slike',
-  'keywords' => 'Ključne besede (ločite jih s presledki)<br /><a href="#" onClick="return MM_openBrWindow(\'keyword_select.php\',\'selectKey\',\'width=250, height=400, scrollbars=yes,toolbar=no,status=yes,resizable=yes\')">Izberite s seznama</a>', //cpg1.4
-  'keywords_sel' =>'Izberite ključno besedo', //cpg1.4
-  'err_no_alb_uploadables' => 'Žal trenutno noben album ne omogoča dodajanja slik',
-  'place_instr_1' => 'Zdaj lahko dodate vse slike. Vpišete lahko tudi podatke o njih.',
-  'place_instr_2' => 'Na dodajanje čaka še več slik. Kliknite na \'Nadaljuj\'.',
-  'process_complete' => 'Uspešno ste dodali vse slike.',
-   'albums_no_category' => 'Albumi brez kategorij', //cpg1.4. //album pulldown mod, added by frogfoot
-  'personal_albums' => '* osebni albumi', //cpg1.4 //album pulldown mod, added by frogfoot
-  'select_album' => 'Izberite album', //cpg1.4 //album pulldown mod, added by frogfoot
-  'close' => 'Zapri', //cpg1.4
-  'no_keywords' => 'Oprostite, nobenih ključnih besed ni na voljo!', //cpg1.4
-  'regenerate_dictionary' => 'Osveži slovar', //cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File usermgr.php
-// ------------------------------------------------------------------------- //
-
-if (defined('USERMGR_PHP')) $lang_usermgr_php = array(
-  'memberlist' => 'Seznam uporabnikov', //cpg1.4
-  'user_manager' => 'Urejanje uporabnikov', //cpg1.4
-  'title' => 'Urejanje uporabnikov',
-  'name_a' => 'Ime naraščajoče',
-  'name_d' => 'Ime padajoče',
-  'group_a' => 'Skupina naraščajoče',
-  'group_d' => 'Skupina padajoče',
-  'reg_a' => 'Datum reg. naraščajoče',
-  'reg_d' => 'Datum reg. padajoče',
-  'pic_a' => 'Št. fotogr. naraščajoče',
-  'pic_d' => 'Št. fotogr. padajoče',
-  'disku_a' => 'Poraba diska naraščajoče',
-  'disku_d' => 'Poraba diska padajoče',
-  'lv_a' => 'Zadnji obisk naraščajoče',
-  'lv_d' => 'Zadnji obisk padajoče',
-  'sort_by' => 'Razvrsti uporabnike po',
-  'err_no_users' => 'Tabela s podatki je prazna!',
-  'err_edit_self' => 'Svojega profila ne morete spremeniti. Uporabite povezavo \'Moj profil\'',
-  'edit' => 'Urejanje', //cpg1.4
-  'with_selected' => 'Z označenim:', //cpg1.4
-  'delete' => 'Brisanje', //cpg1.4
-  'delete_files_no' => 'obdrži slike (označi kot anonimni prispevek)', //cpg1.4
-  'delete_files_yes' => 'pobriši javne slike', //cpg1.4
-  'delete_comments_no' => 'zadrži komentarje (označi kot anonimne vpise)', //cpg1.4
-  'delete_comments_yes' => 'pobriši komentarje', //cpg1.4
-  'activate' => 'Vklopi', //cpg1.4
-  'deactivate' => 'Izklopi', //cpg1.4
-  'reset_password' => 'Ponastavi geslo', //cpg1.4
-  'change_primary_membergroup' => 'Spremeni osnovno skupino', //cpg1.4
-  'add_secondary_membergroup' => 'Dodaj sekundarno skupino', //cpg1.4
-  'name' => 'Uporabniško ime',
-  'group' => 'Skupina',
-  'inactive' => 'Neaktivni',
-  'operations' => 'Operacije',
-  'pictures' => 'Slik',
-  'disk_space_used' => 'Porabljen prostor', //cpg1.4
-  'disk_space_quota' => 'Dodeljen prostor', //cpg1.4
-  'registered_on' => 'Registracija', //cpg1.4
-  'last_visit' => 'Zadnji obisk',
-  'u_user_on_p_pages' => 'Št. uporabnikov: %d (št. strani: %d)',
-  'confirm_del' => 'Želite pobrisati tega uporabnika? \\nVsi njegovi albumi in slike bodo pobrisani.', //js-alert
-  'mail' => 'Pošta',
-  'err_unknown_user' => 'Izbrani uporabnik ne obstaja!',
-  'modify_user' => 'Uredi uporabnika',
-  'notes' => 'Opombe',
-  'note_list' => '<li>Če gesla ne želite spreminjati, pustite polje za geslo prazno',
-  'password' => 'Geslo',
-  'user_active' => 'Uporabnik je aktiven',
-  'user_group' => 'Skupina uporabnika',
-  'user_email' => 'e-pošta uporabnika',
-  'user_web_site' => 'Spletna stran uporabnika',
-  'create_new_user' => 'Dodaj novega uporabnika',
-  'user_location' => 'Kraj uporabnika',
-  'user_interests' => 'Hobiji uporabnika',
-  'user_occupation' => 'Zaposlitev uporabnika',
-  'user_profile1' => '$user_profile1', //cpg1.4
-  'user_profile2' => '$user_profile2', //cpg1.4
-  'user_profile3' => '$user_profile3', //cpg1.4
-  'user_profile4' => '$user_profile4', //cpg1.4
-  'user_profile5' => '$user_profile5', //cpg1.4
-  'user_profile6' => '$user_profile6', //cpg1.4
-  'latest_upload' => 'Zadnja nalaganja',
-  'never' => 'nikoli',
-  'search' => 'Iskanje uporabnika', //cpg1.4
-  'submit' => 'Pošlji', //cpg1.4
-  'search_submit' => 'Naprej!', //cpg1.4
-  'search_result' => 'Rezultati iskanja: ', //cpg1.4
-  'alert_no_selection' => 'Izbrati morate vsaj enega uporabnika!', //cpg1.4 //js-alert
-  'password' => 'geslo', //cpg1.4
-  'select_group' => 'Izberite skupino', //cpg1.4
-  'groups_alb_access' => 'Pravice skupine na albumu', //cpg1.4
-  'album' => 'Album', //cpg1.4
-  'category' => 'Kategorija', //cpg1.4
-  'modify' => 'Spremembe?', //cpg1.4
-  'group_no_access' => 'Ta skupina nima posebnih pravic', //cpg1.4
-  'notice' => 'Opombe', //cpg1.4
-  'group_can_access' => 'Album(i), do katerih lahko dostopa samo "%s"', //cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File util.php
-// ------------------------------------------------------------------------- //
-
-if (defined('UTIL_PHP')) {
-$lang_util_desc_php = array(
-'Ustvari imena slik iz imen datotek', //cpg1.4
-'Brisanje imen', //cpg1.4
-'Ponastavi ikone in spremeni velikost slik', //cpg1.4
-'Pobriše originalne slike in jih nadomesti z novimi', //cpg1.4
-'Briše originalne ali vmesne fotografije, da sprosti prostor na disku', //cpg1.4
-'Briše komentarje brez pripadajočih fotografij', //cpg1.4
-'Ponovno preveri dimenzije in velikost fotografij (če so bile pred tem ročno spremenjene)', //cpg1.4
-'Resetira števec ogledov', //cpg1.4
-'Prikaže phpinfo', //cpg1.4
-'Posodobi podatkovno bazo', //cpg1.4
-'Prikaže zabeležko z zgodovino', //cpg1.4
-);
-$lang_util_php = array(
-  'title' => 'Administratorjeva orodja',
-  'what_it_does' => 'Kaj vse lahko naredijo',
-  'file' => 'Datoteka',
-  'problem' => 'Problem', //cpg1.4
-  'status' => 'Status', //cpg1.4
-  'title_set_to' => 'naslov, spremenjen v',
-  'submit_form' => 'pošlji',
-  'updated_succesfully' => 'uspešno posodobljeno',
-  'error_create' => 'NAPAKA pri kreiranju',
-  'continue' => 'Obdelam več slik',
-  'main_success' => 'Datoteka %s je bila uspešno uporabljena za izhodišče',
-  'error_rename' => 'Napaka pri preimenovanju %s v %s',
-  'error_not_found' => 'Datoteke %s ni možno najti',
-  'back' => 'nazaj na osnovno stran',
-  'thumbs_wait' => 'Posodabljam ikone in/ali spreminjam velikosti fotografij...',
-  'thumbs_continue_wait' => 'Nadaljujem s posodabljanjem ikon in/ali spreminjanjem velikosti fotografij...',
-  'titles_wait' => 'Posodabljam naslove, počakajte prosim...',
-  'delete_wait' => 'Brišem naslove, počakajte prosim...',
-  'replace_wait' => 'Brišem originalne fotografije in jih nadomeščam s spremenjenimi, počakajte prosim...',
-  'instruction' => 'Kratka navodila',
-  'instruction_action' => 'Izberite akcijo',
-  'instruction_parameter' => 'Nastavite parametre',
-  'instruction_album' => 'Izberite album',
-  'instruction_press' => 'Pritisnite %s',
-  'update' => 'Posodabljanje ikon in/ali spremenjenih fotografij',
-  'update_what' => 'Kaj naj bo posodobljeno',
-  'update_thumb' => 'Samo ikone',
-  'update_pic' => 'Samo spremenjene fotografije',
-  'update_both' => 'Oboje, ikone in spremenjene fotografije',
-  'update_number' => 'Število fotografij, ki bodo spremenjene po vsakem kliku',
-  'update_option' => '(poskusite z nižjo vrednostjo, če pri obdelavi pride do izteka časa na strežniku)',
-  'filename_title' => 'Ime datoteke &rArr; Naslov slike',
-  'filename_how' => 'Kako naj spremenim ime datoteke',
-  'filename_remove' => 'Odstrani končnico .jpg in nadomesti _ (podčrtaje) s presledki',
-  'filename_euro' => 'Spremeni 2003_11_23_13_20_20.jpg v 23/11/2003 13:20',
-  'filename_us' => 'Spremeni 2003_11_23_13_20_20.jpg v 11/23/2003 13:20',
-  'filename_time' => 'Spremeni 2003_11_23_13_20_20.jpg v 13:20',
-  'delete' => 'Briši naslove fotografij ali fotografije originalne velikosti',
-  'delete_title' => 'Brisanje naslovov fotografij',
-  'delete_title_explanation' => 'Pobrisani bodo naslovi vseh fotografij v izbranem albumu.', //cpg1.4
-  'delete_original' => 'Brisanje fotografij originalnih velikosti',
-  'delete_original_explanation' => 'Pobrisane bodo vse VELIKE fotografije.', //cpg1.4
-  'delete_intermediate' => 'Brisanje vmesnih fotografij', //cpg1.4
-  'delete_intermediate_explanation' => 'Pobrisane bodo vse fotografije vmesnih velikosti.<br />Uporabite za sproščanje prostora na disku, če ste izklopili vmesne fotografije, potem ko ste jih že dodali v galerijo.', //cpg1.4
-  'delete_replace' => 'Briše originalne fotografije in jih nadomesti s spremenjenimi',
-  'titles_deleted' => 'Vsi naslovi v navedenem albumu so bili odstranjeni', //cpg1.4
-  'deleting_intermediates' => 'Brišem vmesne fotografije, počakajte...', //cpg1.4
-  'searching_orphans' => 'Iskanje sirot, počakajte...', //cpg1.4
-  'select_album' => 'Izberite album',
-  'delete_orphans' => 'Brisanje komentarjev, ki nimajo pripadajočih fotografij', //cpg1.4
-  'delete_orphans_explanation' => 'Poiskani bodo vsi komentarji brez pripadajočih slik, ki jih boste lahko pobrisali.<br />Označite vse albume.', //cpg1.4
-  'refresh_db' => 'Osvežitev podatkov o merah in velikosti fotografij', //cpg1.4
-  'refresh_db_explanation' => 'S tem bodo ponovno prebrani podatki o merah in velikosti datotek/fotografij. Uporabite, če je napačno javljena velikost prostora na disku ali ste ročno spremenili datoteke/fotografije.', //cpg1.4
-  'reset_views' => 'Brisanje števca ogledov', //cpg1.4
-  'reset_views_explanation' => 'V izbranem albumu bo vsem fotografijam nastavljen števec ogledov na 0.', //cpg1.4
-  'orphan_comment' => 'najden komentar-sirota',
-  'delete' => 'Briši',
-  'delete_all' => 'Briši vse',
-  'delete_all_orphans' => 'Brišem vse sirote?', //cpg1.4
-  'comment' => 'Komentar: ',
-  'nonexist' => 'priključen k neobstoječi fotografiji # ',
-  'phpinfo' => 'Prikaži phpinfo',
-  'phpinfo_explanation' => 'Prikaže tehnične podatke o strežniku.<br />Te podatke boste morda potrebovali, ko boste iskali pomoč za delovanje galerije.', //cpg1.4
-  'update_db' => 'Posodabljanje podatkovne baze',
-  'update_db_explanation' => 'Izvedite ta ukaz potem, ko ste zamenjali katero od datotek v aplikaciji, izvedli spremembe ali nadgradnjo na novejšo različico. Na ta način bodo posodobljene vse tabele in nastavljene pravilne vrednosti za delovanje galerije.',
-  'view_log' => 'Prikaz zabeležk z zgodovino', //cpg1.4
-  'view_log_explanation' => 'Galerija lahko beleži različne aktivnosti uporabnikov, ki jih lahko tukaj pregledujete. Beleženje dogodkov morate vklopiti v <a href="admin.php">nastavitvah galerije</a>.', //cpg1.4
-  'versioncheck' => 'Preverjanje verzije galerije', //cpg1.4
-  'versioncheck_explanation' => 'Preveri verzijo vseh datotek. Na ta način je zagotovljeno, da so zamenjane vse datoteke po nadgradnji ali izdaji nove različice.', //cpg1.4
-  'bridgemanager' => 'Povezovanje galerije', //cpg1.4
-  'bridgemanager_explanation' => 'Vklop/izklop povezovanja/integriranja galerije z ostalimi aplikacijami (forumi, cms,...).', //cpg1.4
-);
-}
-
-// ------------------------------------------------------------------------- //
-	
-// ------------------------------------------------------------------------- //
-
-if (defined('VERSIONCHECK_PHP')) $lang_versioncheck_php = array(
-  'title' => 'Preverjanje verzije galerije', //cpg1.4
-  'what_it_does' => 'Ta stran je namenjena vsem, ki ste nadgradili svojo galerijo. Program bo poskušal primerjati vse datoteke na vašem strežniku s tistimi na http://coppermine.sourceforge.net. Na ta način bodo najdene vse datoteke, ki so potrebne zamenjave z novejšo različico.<br />Datoteke, ki bodo označene z rdečo barvo, je potrebno zamenjati, datoteke, označene z rumeno, je potrebno preveriti (in po potrebi zamenjati). Datoteke, označene z zeleno barvo (ali z vašo privzeto barvo pisave), so pravilne in jih ni potrebno spreminjati.<br />S klikom na ikonico za pomoč lahko izveste še več podrobnosti.', //cpg1.4
-  'online_repository_unable' => 'Povezava z domačo stranjo galerije ni uspela', //cpg1.4
-  'online_repository_noconnect' => 'Galerija Coppermine se ni uspela povezati z matično spletno stranjo. Možna sta dva razloga:', //cpg1.4
-  'online_repository_reason1' => 'domača stran za preverjanje je trenutno izklopljena - preverite, če lahko dostopate do te strani: %s - če to ni možno, poskusite pozneje.', //cpg1.4
-  'online_repository_reason2' => 'PHP na vašem strežniku ima nastavljeno %s na OFF (privzeto je to nastavljeno na ON). Če je strežnik vaš, lahko to nastavite na ON v php.ini datoteki (ali vsaj omogočite, da bo dostopno z %s). Če gostujete s svojimi stranmi drugje, pa boste verjetno morali živeti z zavestjo, da ne morete izvesti primerjave v živo. Na tej strani bodo tako prikazani samo podatki o datotekah v vaši distribuciji galerije.', //cpg1.4
-  'online_repository_skipped' => 'Povezava do domače strani galerije je bila preskočena', //cpg1.4
-  'online_repository_to_local' => 'Program privzeto kaže na lokalno kopijo datotek za prikaz verzije. Podatki so mogoče netočni, če ste izvedli nadgradnjo galerije in niste naložili čisto vseh datotek. Spremembe, narejene po nadgradnji, sploh ne bodo prikazane.', //cpg1.4
-  'local_repository_unable' => 'Povezava do podatkov na vašem strežniku ni uspela', //cpg1.4
-  'local_repository_explanation' => 'Coppermine se ni uspela povezati do podatkov %s na vašem strežniku. To verjetno pomeni, da niste naložili vseh podatkov na strežnik. To lahko naredite sedaj in osvežite prikaz te strani.<br />Če programu še vedno ne bo uspelo prikazati podatkov, je verjetno vaš gostitelj izklopil en del <a href="http://www.php.net/manual/en/ref.filesystem.php">PHP funkcij za delo z datotečnim sistemom</a>. V tem primeru tega orodja sploh ne boste mogli uporabljati.', //cpg1.4
-  'coppermine_version_header' => 'Nameščena verzija galerije', //cpg1.4
-  'coppermine_version_info' => 'Trenutno uporabljate različico %s', //cpg1.4
-  'coppermine_version_explanation' => 'Če mislite, da je to narobe in uporabljate višjo verzijo, ste verjetno pozabili naložiti zadnjo verzijo datoteke <i>include/init.inc.php</i>', //cpg1.4
-  'version_comparison' => 'Primerjava verzij', //cpg1.4
-  'folder_file' => 'mapa/datoteka', //cpg1.4
-  'coppermine_version' => 'verzija cpg', //cpg1.4
-  'file_version' => 'verzija datoteke', //cpg1.4
-  'webcvs' => 'web svn', //cpg1.4
-  'writable' => 'omogoča pisanje', //cpg1.4
-  'not_writable' => 'ne omogoča pisanja', //cpg1.4
-  'help' => 'Pomoč', //cpg1.4
-  'help_file_not_exist_optional1' => 'datoteka/mapa ne obstaja', //cpg1.4
-  'help_file_not_exist_optional2' => 'Datoteke/mape %s ni možno najti na vašem strežniku. Dodate jo lahko s pomočjo FTP protokola (ni pa nujno) - če ugotavljate probleme pri delovanju galerije.', //cpg1.4
-  'help_file_not_exist_mandatory1' => 'datoteka/mapa ne obstaja', //cpg1.4
-  'help_file_not_exist_mandatory2' => 'Datoteke/mape %s ni možno najti na vašem strežniku. Ti podatki so nujno potrebni za pravilno delovanje in jih morate naložiti na strežnik (uporabite FTP prenos).', //cpg1.4
-  'help_no_local_version1' => 'Ni lokalne verzije datoteke', //cpg1.4
-  'help_no_local_version2' => 'Programu ni uspelo preveriti verzije lokalne datoteke. Datoteka je ali zastarela ali pa ste jo spreminjali in odstranili podatke, zapisane v zaglavju datoteke. Priporočamo posodobitev datoteke.', //cpg1.4
-  'help_local_version_outdated1' => 'Lokalna verzija je zastarela', //cpg1.4
-  'help_local_version_outdated2' => 'Vaša datoteka je iz starejše verzije galerije (verjetno ste izvedli nadgradnjo). Posodobite/zamenjajte to datoteko.', //cpg1.4
-  'help_local_version_na1' => 'Preverjanje cvs verzije ni uspelo', //cpg1.4
-  'help_local_version_na2' => 'Programu ni uspelo preveriti, katero verzijo galerije uporabljate. Priporočamo, da ponovno naložite galerijo iz paketa, ki ste ga presneli.', //cpg1.4
-  'help_local_version_dev1' => 'Razvojna verzija', //cpg1.4
-  'help_local_version_dev2' => 'Datoteka na vašem strežniku izgleda novejša kot pa je trenutna verzija galerije. Verjetno uporabljate razvojno različico (priporočljivo samo, če veste kaj delate), ali pa ste izvedli nadgradnjo in niste naložili datoteke include/init.inc.php', //cpg1.4
-  'help_not_writable1' => 'Mapa ne omogoča pisanja', //cpg1.4
-  'help_not_writable2' => 'Spremenite pravice (CHMOD) in omogočite pisanje v mapo %s in v vse kar je v njej.', //cpg1.4
-  'help_writable1' => 'Mapa omogoča pisanje', //cpg1.4
-  'help_writable2' => 'Mapa %s omogoča pisanje. To je nepotrebno in predstavlja varnostno luknjo. Galerija potrebuje samo pravice za branje in izvajanje na tem mestu.', //cpg1.4
-  'help_writable_undetermined' => 'Aplikacija ni mogla ugotoviti, če je pisanje v mapo dovoljeno.', //cpg1.4
-  'your_file' => 'vaša datoteka', //cpg1.4
-  'reference_file' => 'referenčna datoteka', //cpg1.4
-  'summary' => 'Povzetek', //cpg1.4
-  'total' => 'Skupaj preverjenih datotek/map', //cpg1.4
-  'mandatory_files_missing' => 'Manjkajoče obvezne datoteke', //cpg1.4
-  'optional_files_missing' => 'Manjkajoče neobvezne datoteke', //cpg1.4
-  'files_from_older_version' => 'Datoteke, ostale od prejšnjih verzij', //cpg1.4
-  'file_version_outdated' => 'Zastarele datoteke', //cpg1.4
-  'error_no_data' => 'Skripti (program) ni mu uspelo razbrati želenih informacij. Oprostite za nevšečnost.', //cpg1.4
-  'go_to_webcvs' => 'pojdi na %s', //cpg1.4
-  'options' => 'Opcije', //cpg1.4
-  'show_optional_files' => 'prikaži neobvezne mape/datoteke', //cpg1.4
-  'show_mandatory_files' => 'prikaži obvezne datoteke', //cpg1.4
-  'show_file_versions' => 'prikaži verzijo datotek', //cpg1.4
-  'show_errors_only' => 'prikaži samo mape/datoteke z napakami', //cpg1.4
-  'show_permissions' => 'prikaži dovoljenja na mapah', //cpg1.4
-  'show_condensed_output' => 'prikaži zgoščene podatke (za lažji ogled)', //cpg1.4
-  'coppermine_in_webroot' => 'galerija je nameščena na spletnem izhodišču', //cpg1.4
-  'connect_online_repository' => 'poskusi se povezati do online vira podatkov', //cpg1.4
-  'show_additional_information' => 'prikaži dodatne informacije', //cpg1.4
-  'no_webcvs_link' => 'ne prikaži web svn povezave', //cpg1.4
-  'stable_webcvs_link' => 'prikaži web svn povezavo do stabilne verzije', //cpg1.4
-  'devel_webcvs_link' => 'prikaži web svn povezavo do razvojne verzije', //cpg1.4
-  'submit' => 'izvedi spremembe/osveži', //cpg1.4
-  'reset_to_defaults' => 'ponastavi privzete vrednosti', //cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File view_log.php  //cpg1.4
-// ------------------------------------------------------------------------- //
-
-if (defined('VIEWLOG_PHP')) $lang_viewlog_php = array(
-  'delete_all' => 'Briši vse dnevnike', //cpg1.4
-  'delete_this' => 'Briši ta dnevnik', //cpg1.4
-  'view_logs' => 'Ogled dnevnikov', //cpg1.4
-  'no_logs' => 'Ni dnevnikov.', //cpg1.4
-);
-
-
-// ------------------------------------------------------------------------- //
-// File xp_publish.php //cpg1.4
-// ------------------------------------------------------------------------- //
-
-if (defined('XP_PUBLISH_PHP')) {
-
-$lang_xp_publish_client = <<<EOT
-<h1>XP Web čarovnik za objavljanje</h1><p>Ta modul omogoča uporabo čarovnika <b>Windows XP</b> za prenos datotek na strežnik z vašo galerijo.</p><p>Koda temelji na članku, ki ga je poslal
-EOT;
-
-$lang_xp_publish_required = <<<EOT
-<h2>Kaj je potrebno</h2><ul><li>Windows XP, da lahko uporabite čarovnika.</li><li>Delujoča galerija, v kateri <b>pravilno deluje funkcija za objavljanje preko spletnega vmesnika.</b></li></ul><h2>kako namestiti odjemalca za to</h2><ul><li>kliknite z desno tipko na miški na
-EOT;
-
-$lang_xp_publish_select = <<<EOT
-Izberite &quot;shrani cilj kot..&quot;. Shranite datoteko na vaš trdi disk. Pri shranjevanju se prepričajte, da je ime datoteke <b>cpg_###.reg</b> (### predstavlja časovno oznako). Spremenite, če je potrebno, ime v to obliko (pustite pa številke). Po download-u 2x kliknite na datoteko, da registrirate vaš strežnik s čarovnikom za objavljanje.</li></ul>
-EOT;
-
-$lang_xp_publish_testing = <<<EOT
-<h2>Preizkus</h2><ul><li>V raziskovalcu izberite katero od datotek in kliknite na <b>Objavi xxx na spletu</b> v levem okencu.</li><li>Potrdite izbiro datoteke. Kliknite <b>Naprej</b>.</li><li>Na seznamu izberite storitev za vašo galerijo (ima ime vaše galerije). Če te storitve ni na seznamu, preverite, ali ste namestili  <b>cpg_pub_wizard.reg</b> kot je opisano zgoraj.</li><li>Vpišite podatke za prijavo, če je to zahtevano.</li><li>Izberite ciljni album za vaše fotografije ali kreirajte novega.</li><li>Kliknite <b>naprej</b>. Začel se bo prenos fotografij.</li><li>Ko je prenos končan, preverite v galeriji, ali so fotografije pravilno dodane.</li></ul>
-EOT;
-
-$lang_xp_publish_notes = <<<EOT
-<h2>Opombe :</h2><ul><li>Ko se prenos enkrat začne, čarovnik ne more sporočiti nobene napake s strani galerije. Tako pred končanjem procesa ne morete preveriti, ali so bile fotografije pravilno dodane - to lahko preverite samo sami v galeriji.</li><li>Če prenos ni uspel, vklopite &quot;način za odkrivanje napak&quot; v nastavitvah galerije, poskusite dodati samo eno fotografijo in preverite sporočilo o generirani napaki v zabeležki.</li></ul>
-EOT;
-
-$lang_xp_publish_flood = <<<EOT
-datoteki, ki je v mapi galerije na strežniku.</li><li>Da preprečite <i>poplavo fotografij</i>, dodanih s čarovnikom, lahko to funkcijo uporabijo samo <b>administratorji</b> in <b>uporabniki, ki imajo lahko lastne albume</b>.</li>
-EOT;
-
-
-
-$lang_xp_publish_php = array(
-  'title' => 'Coppermine - XP Web čarovnik', //cpg1.4
-  'welcome' => 'Pozdravljeni, <b>%s</b>,', //cpg1.4
-  'need_login' => 'Preden lahko začnete uporabljati čarovnika, se morate prijaviti.<p/><p>Po prijavi ne pozabite označiti polja <b>zapomni si me</b>, če je ta možnost prisotna.', //cpg1.4
-  'no_alb' => 'Oprostite, tukaj ni albumov, v katere bi lahko dodajali fotografije s čarovnikom.', //cpg1.4
-  'upload' => 'Dodajanje fotografij v obstoječi album', //cpg1.4
-  'create_new' => 'Kreiranje novega albuma', //cpg1.4
-  'album' => 'Album', //cpg1.4
-  'category' => 'Kategorija', //cpg1.4
-  'new_alb_created' => 'Vaš novi album &quot;<b>%s</b>&quot; je bil kreiran.', //cpg1.4
-  'continue' => 'Pritisnite &quot;NAPREJ&quot; za začetek dodajanja fotografij', //cpg1.4
-  'link' => 'ta povezava', //cpg1.4
-);
-}
+<?php
+/*************************
+  Coppermine Photo Gallery
+  ************************
+  Copyright (c) 2003-2009 Coppermine Dev Team
+  v1.1 originally written by Gregory DEMAR
+
+  This program is free software; you can redistribute it and/or modify
+  it under the terms of the GNU General Public License version 3
+  as published by the Free Software Foundation.
+  
+  ********************************************
+  Coppermine version: 1.4.25
+  $HeadURL: https://coppermine.svn.sourceforge.net/svnroot/coppermine/trunk/cpg1.4.x/lang/slovenian.php $
+  $Revision: 5997 $
+  $Author: gaugau $
+  $Date: 2009-05-26 08:43:24 +0200 (Di, 26 Mai 2009) $
+**********************************************/
+
+if (!defined('IN_COPPERMINE')) { die('Not in Coppermine...');}
+
+// info about translators and translated language
+$lang_translation_info = array(
+  'lang_name_english' => 'Slovenian', //cpg1.4
+  'lang_name_native' => 'Slovenščina', //cpg1.4
+  'lang_country_code' => 'si', //cpg1.4
+  'trans_name'=> 'S55HH',
+  'trans_email' => 's55hh@prekmurje.com',
+  'trans_website' => 'http://prekmurje.com/',
+  'trans_date' => '2006-05-24',
+);
+
+$lang_charset = 'utf-8';
+$lang_text_dir = 'ltr'; // ('ltr' for left to right, 'rtl' for right to left)
+
+// shortcuts for Byte, Kilo, Mega
+$lang_byte_units = array('Bajtov', 'KB', 'MB');
+
+// Day of weeks and months
+$lang_day_of_week = array('Ne', 'Po', 'To', 'Sr', 'Če', 'Pe', 'So');
+$lang_month = array('Jan', 'Feb', 'Mar', 'Apr', 'Maj', 'Jun', 'Jul', 'Avg', 'Sep', 'Okt', 'Nov', 'Dec');
+
+// Some common strings
+$lang_yes = 'Da';
+$lang_no  = 'Ne';
+$lang_back = 'NAZAJ';
+$lang_continue = 'NAPREJ';
+$lang_info = 'Informacija';
+$lang_error = 'Napaka';
+$lang_check_uncheck_all = 'označi/odznači vse'; //cpg1.4
+
+// The various date formats
+// See http://www.php.net/manual/en/function.strftime.php to define the variable below
+$album_date_fmt =    '%d.%m.%Y';
+$lastcom_date_fmt =  '%d.%m.%Y ob %H:%M';
+$lastup_date_fmt = '%d.%m.%Y';
+$register_date_fmt = '%d.%m.%Y';
+$lasthit_date_fmt = '%d.%m.%Y ob %I:%M %p';
+$comment_date_fmt =  '%d.%m.%Y ob %I:%M %p';
+$log_date_fmt = '%B %d, %Y ob %I:%M %p'; //cpg1.4
+
+// For the word censor
+$lang_bad_words = array('*fuck*', 'asshole', 'assramer', 'bitch*', 'c0ck', 'clits', 'Cock', 'cum', 'cunt*', 'dago', 'daygo', 'dego', 'dick*', 'dildo', 'fanculo', 'feces', 'foreskin', 'Fu\(*', 'fuk*', 'honkey', 'hore', 'injun', 'kike', 'lesbo', 'masturbat*', 'motherfucker', 'nazis', 'nigger*', 'nutsack', 'penis', 'phuck', 'poop', 'pussy', 'scrotum', 'shit', 'slut', 'titties', 'titty', 'twaty', 'wank*', 'whore', 'wop*');
+
+$lang_meta_album_names = array(
+  'random' => 'Naključne slike',
+  'lastup' => 'Najnovejše slike',
+  'lastalb'=> 'Zadnji dodani albumi',
+  'lastcom' => 'Zadnji komentarji',
+  'topn' => 'Največ ogledov',
+  'toprated' => 'Najbolje ocenjene',
+  'lasthits' => 'Zadnji ogledi',
+  'search' => 'Rezultati iskanja',
+  'favpics'=> 'Moje najljubše slike',  //cpg1.4
+);
+
+$lang_errors = array(
+  'access_denied' => 'Nimate pravic za dostop do te strani.',
+  'perm_denied' => 'Nimate pravic za izvedbo tega ukaza.',
+  'param_missing' => 'Manjkajo podatki za izvedbo...',
+  'non_exist_ap' => 'Izbrani album/slika ne obstaja!',
+  'quota_exceeded' => 'Disk je poln<br /><br />Na razpolago imate [quota]KB, vaše slike pa trenutno zasedajo [space]KB. Če bi dodali še to sliko, bi prekoračili vaš prostor na disku.',
+  'gd_file_type_err' => 'Pri uporabi GD knjižnice lahko uporabite samo JPEG in PNG slike.',
+  'invalid_image' => 'Poslana slika je poškodovana ali pa ni v pravilnem formatu za GD knjižnico.',
+  'resize_failed' => 'Ne morem narediti ikone ali pomanjšane slike.',
+  'no_img_to_display' => 'Trenutno brez slik',
+  'non_exist_cat' => 'Izbrana kategorija ne obstaja',
+  'orphan_cat' => 'Kategorija ima določeno neobstoječo nadrejeno kategorijo. Popravite napako v nastavitvah.',
+  'directory_ro' => 'Direktorij \'%s\' ne dopušča pisanja, slik ni možno pobrisati',
+  'non_exist_comment' => 'Izbrani komentar ne obstaja.',
+  'pic_in_invalid_album' => 'Slika je v neobstoječem albumu (%s)!?',
+  'banned' => 'Trenutno imate prepoved dostopa do teh strani.',
+  'not_with_udb' => 'Ta ukaz je onemogočen, ker je premaknjen v forum. Kar želite narediti, ni omogočeno v nastavitvah ali pa je predvideno za izvedbo v forumu.',
+  'offline_title' => 'Izklopljeno',
+  'offline_text' => 'Galerija je trenutno zaradi vzdrževanja izklopljena - obiščite nas čez nekaj ur...',
+  'ecards_empty' => 'Trenutno brez zapisov o poslanih e-razglednicah.',
+  'action_failed' => 'Vašega ukaza ni bilo možno izvesti.',
+  'no_zip' => 'Potrebna knjižnica za obdelavo ZIP datotek ni nameščena. Obvestite administratorja galerije.',
+  'zip_type' => 'Za nalaganje ZIP datotek nimate dovoljenj.',
+  'database_query' => 'Pri poizvedbi v podatkovni bazi je prišlo do napake', //cpg1.4
+  'register_globals_on' => 'The PHP setting register_globals is enabled on your server, which is a bad idea in terms of security. It\'s strongly recommended to turn it off. [<a href="http://forum.coppermine-gallery.net/index.php/topic,59569.0.html" rel="external" class="external">more</a>]',
+);
+
+$lang_bbcode_help_title = 'Pomoč za bbcode'; //cpg1.4
+$lang_bbcode_help = 'Dodajate lahko povezave in uporabite oblikovanje s pomočjo bbcode oznak: <li>[b]Poudarjeno[/b] =&gt; <b>Poudarjeno</b></li><li>[i]Poševno[/i] =&gt; <i>Poševno</i></li><li>[url=http://vasastran.com/]To je moja stran...[/url] =&gt; <a href="http://vasastran.com">To je moja stran...</a></li><li>[email]user@domain.com[/email] =&gt; <a href="mailto:user@domain.com">user@domain.com</a></li><li>[color=red]besedilo...[/color] =&gt; <span style="color:red">besedilo...</span></li><li>[img]http://coppermine-gallery.net/demo/cpg14x/images/red.gif[/img] => <img src="../images/red.gif" border="0" alt="" /></li>'; //cpg1.4
+
+// -------------------------povezavo in ne------------------------------------------------ //
+// File theme.php
+// ------------------------------------------------------------------------- //
+
+$lang_main_menu = array(
+  'home_title' => 'Nazaj na domačo stran',
+  'home_lnk' => 'Domov',
+  'alb_list_title' => 'Pojdi na seznam albumov',
+  'alb_list_lnk' => 'Seznam albumov',
+  'my_gal_title' => 'Pojdi v mojo osebno galerijo',
+  'my_gal_lnk' => 'Moja galerija',
+  'my_prof_title' => 'Pojdi na moje nastavitve', //cpg1.4
+  'my_prof_lnk' => 'Moj profil',
+  'adm_mode_title' => 'Preklop v administracijo',
+  'adm_mode_lnk' => 'Administracija',
+  'usr_mode_title' => 'Preklop v uporabniški način',
+  'usr_mode_lnk' => 'Uporabniški način',
+  'upload_pic_title' => 'Dodajanje slik v album',
+  'upload_pic_lnk' => 'Dodajanje slik',
+  'register_title' => 'Ustvari račun',
+  'register_lnk' => 'Registracija',
+  'login_title' => 'Prijavi me', //cpg1.4
+  'login_lnk' => 'Prijava',
+  'logout_title' => 'Odjavi me', //cpg1.4
+  'logout_lnk' => 'Odjava',
+  'lastup_title' => 'Prikaži zadnje dodane slike', //cpg1.4
+  'lastup_lnk' => 'Zadnje dodane slike',
+  'lastcom_title' => 'Prikaži zadnje komentarje', //cpg1.4
+  'lastcom_lnk' => 'Zadnji komentarji',
+  'topn_title' => 'Prikaži slike z največ ogledi', //cpg1.4
+  'topn_lnk' => 'Največ ogledov',
+  'toprated_title' => 'Prikaži slike z naj ocenami', //cpg1.4
+  'toprated_lnk' => 'Najbolje ocenjeno',
+  'search_title' => 'Iskanje po galeriji', //cpg1.4
+  'search_lnk' => 'Iskanje',
+  'fav_title' => 'Pojdi na moje najljubše slike', //cpg1.4
+  'fav_lnk' => 'Moje najljubše',
+  'memberlist_title' => 'Prikaz seznama članov',
+  'memberlist_lnk' => 'Seznam članov',
+  'faq_title' => 'Pogosto zastavljana vprašanja',
+  'faq_lnk' => 'PZV',
+);
+
+$lang_gallery_admin_menu = array(
+  'upl_app_title' => 'Odobritev novih vsebin', //cpg1.4
+  'upl_app_lnk' => 'Odobritev',
+  'admin_title' => 'Pojdi na nastavitve', //cpg1.4
+  'admin_lnk' => 'Nastavitve', //cpg1.4
+  'albums_title' => 'Pojdi na nastavitve albumov', //cpg1.4
+  'albums_lnk' => 'Albumi',
+  'categories_title' => 'Pojdi na nastavitve kategorij', //cpg1.4
+  'categories_lnk' => 'Kategorije',
+  'users_title' => 'Pojdi na nastavitve uporabnikov', //cpg1.4
+  'users_lnk' => 'Uporabniki',
+  'groups_title' => 'Pojdi na nastavitve skupin', //cpg1.4
+  'groups_lnk' => 'Skupine',
+  'comments_title' => 'Ogled vseh komentarjev', //cpg1.4
+  'comments_lnk' => 'Komentarji',
+  'searchnew_title' => 'Pojdi na paketno dodajanje poslanih vsebin', //cpg1.4
+  'searchnew_lnk' => 'Paketno nalaganje',
+  'util_title' => 'Pojdi na administrativna orodja', //cpg1.4
+  'util_lnk' => 'Orodja',
+  'key_title' => 'Pojdi na slovar ključnih besed', //cpg1.4
+  'key_lnk' => 'Ključne besede', //cpg1.4
+  'ban_title' => 'Pojdi na seznam zavrnitev', //cpg1.4
+  'ban_lnk' => 'Prepoved dostopa',
+  'db_ecard_title' => 'Ogled razglednic', //cpg1.4
+  'db_ecard_lnk' => 'Prikaži e-razglednice',
+  'pictures_title' => 'Razvrščanje slik', //cpg1.4
+  'pictures_lnk' => 'Razvrščanje slik', //cpg1.4
+  'documentation_lnk' => 'Dokumentacija', //cpg1.4
+  'documentation_title' => 'Coppermine navodila', //cpg1.4
+);
+
+$lang_user_admin_menu = array(
+  'albmgr_title' => 'Kreiranje in naročanje svojih albumov', //cpg1.4
+  'albmgr_lnk' => 'Ustvari/naroči svoj album',
+  'modifyalb_title' => 'Pojdi na urejanje mojih lastnih albumov',  //cpg1.4
+  'modifyalb_lnk' => 'Urejanje svojih albumov',
+  'my_prof_title' => 'Pojdi na urejanje mojega profila', //cpg1.4
+  'my_prof_lnk' => 'Moj profil',
+);
+
+$lang_cat_list = array(
+  'category' => 'Kategorija',
+  'albums' => 'Albumi',
+  'pictures' => 'Slike',
+);
+
+$lang_album_list = array(
+  'album_on_page' => 'Št. albumov:%d (št. strani:%d)',
+);
+
+$lang_thumb_view = array(
+  'date' => 'DATUM',
+  //Sort by filename and title
+  'name' => 'Datoteka',
+  'title' => 'Naslov',
+  'sort_da' => 'Razvrsti po datumu naraščajoče',
+  'sort_dd' => 'Razvrsti po datumu padajoče',
+  'sort_na' => 'Razvrsti po imenu datoteke naraščajoče',
+  'sort_nd' => 'Razvrsti po imenu datoteke padajoče',
+  'sort_ta' => 'Razvrsti po naslovu naraščajoče',
+  'sort_td' => 'Razvrsti po naslovu padajoče',
+  'position' => 'POZICIJA', //cpg1.4
+  'sort_pa' => 'Razvrsti po poziciji naraščajoče', //cpg1.4
+  'sort_pd' => 'Razvrsti po poziciji padajoče', //cpg1.4
+  'download_zip' => 'Presnami kot ZIP datoteko',
+  'pic_on_page' => 'Št. slik:%d (št. strani:%d)',
+  'user_on_page' => 'Št. uporabnikov:%d (št. strani:%d)',
+  'enter_alb_pass' => 'Vpišite geslo za ta album', //cpg1.4
+  'invalid_pass' => 'Napačno geslo', //cpg1.4
+  'pass' => 'Geslo', //cpg1.4
+  'submit' => 'Pošlji', //cpg1.4
+);
+
+$lang_img_nav_bar = array(
+  'thumb_title' => 'Nazaj na stran z ikonami',
+  'pic_info_title' => 'Prikaži/skrij podatke o sliki',
+  'slideshow_title' => 'Samodejno predvajanje',
+  'ecard_title' => 'Pošlji sliko kot e-razglednico',
+  'ecard_disabled' => 'Pošiljanje e-razglednic ni dovoljeno',
+  'ecard_disabled_msg' => 'Nimate pravic za pošiljanje e-razglednic', //js-alert
+  'prev_title' => 'Predhodna slika',
+  'next_title' => 'Naslednja slika',
+  'pic_pos' => 'Slika %s/%s',
+  'report_title' => 'Obvesti administratorja o tej sliki', //cpg1.4
+  'go_album_end' => 'Na konec', //cpg1.4
+  'go_album_start' => 'Na začetek', //cpg1.4
+  'go_back_x_items' => 'nazaj za %s slik', //cpg1.4
+  'go_forward_x_items' => 'naprej za %s slik', //cpg1.4
+);
+
+$lang_rate_pic = array(
+  'rate_this_pic' => 'Ocenite to sliko ',
+  'no_votes' => '(trenutno še brez ocen)',
+  'rating' => '(trenutna ocena:%s / 5 z %s ocenami)',
+  'rubbish' => 'Zanič',
+  'poor' => 'Slabo',
+  'fair' => 'Dobro',
+  'good' => 'Še kar',
+  'excellent' => 'Lepo',
+  'great' => 'Odlično',
+);
+
+// ------------------------------------------------------------------------- //
+// File include/exif.inc.php
+// ------------------------------------------------------------------------- //
+
+// void
+
+// ------------------------------------------------------------------------- //
+// File include/functions.inc.php
+// ------------------------------------------------------------------------- //
+
+$lang_cpg_die = array(
+  INFORMATION => $lang_info,
+  ERROR => $lang_error,
+  CRITICAL_ERROR => 'Kritična napaka',
+  'file' => 'Datoteka: ',
+  'line' => 'Vrstica: ',
+);
+
+$lang_display_thumbnails = array(
+  'filename' => 'Ime datoteke=', //cpg1.4
+  'filesize' => 'Velikost datoteke=', //cpg1.4
+  'dimensions' => 'Dimenzija=', //cpg1.4
+  'date_added' => 'Datum objave=', //cpg1.4
+);
+
+$lang_get_pic_data = array(
+  'n_comments' => 'Št. komentarjev:%s',
+  'n_views' => 'Št. ogledov:%s',
+  'n_votes' => '(št. ocen:%s)',
+);
+
+$lang_cpg_debug_output = array(
+  'debug_info' => 'Debug Info',
+  'select_all' => 'Izberi vse',
+  'copy_and_paste_instructions' => 'Če želite poiskati pomoč v forumu galerije Coppermine, označite in prekopirajte poročilo o napaki v svoje sporočilo na forumu. Prepričajte se, da ste zamenjali gesla z zvezdicami pred pošiljanjem. <br />Opomba: to je samo informacija in ni nujno, da je z vašo galerijo kaj narobe.', //cpg1.4
+  'phpinfo' => 'Prikaži phpinfo',
+  'notices' => 'Zaznamki', //cpg1.4
+);
+
+$lang_language_selection = array(
+  'reset_language' => 'Privzeti jezik',
+  'choose_language' => 'Izberite jezik',
+);
+
+$lang_theme_selection = array(
+  'reset_theme' => 'Privzeti videz',
+  'choose_theme' => 'Izberite videz',
+);
+
+$lang_version_alert = array(
+  'version_alert' => 'Nepodprta verzija!', //cpg1.4
+  'security_alert' => 'Varnostno opozorilo!', //cpg1.4.3
+  'relocate_exists' => 'Odstranite <a href="http://coppermine-gallery.net/forum/index.php?topic=24217.0">relocate_server.php</a> datoteko s strežnika!',
+  'no_stable_version' => 'Uporabljate Coppermine %s (%s), ki je namenjena samo izkušenim uporabnikom - ta verzija je eksperimentalne narave in ne vključuje podpore s strani razvijalcev. Uporabljate jo na lastno odgovornost. Če želite podporo, namestite stabilno različico galerije!', //cpg1.4
+  'gallery_offline' => 'Galerija je trenutno izklopljena in je vidna samo vam, kot administratorju. Ne pozabite je ponovno vključiti, ko končate z vzdrževanjem.', //cpg1.4
+);
+
+$lang_create_tabs = array(
+  'previous' => 'nazaj', //cpg1.4
+  'next' => 'naprej', //cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File include/init.inc.php
+// ------------------------------------------------------------------------- //
+
+// void
+
+// ------------------------------------------------------------------------- //
+// File keyword.inc.php                                                      //
+// ------------------------------------------------------------------------- //
+
+// void
+
+// ------------------------------------------------------------------------- //
+// File include/picmgmt.inc.php
+// ------------------------------------------------------------------------- //
+
+// void
+
+// ------------------------------------------------------------------------- //
+// File include/plugin_api.inc.php
+// ------------------------------------------------------------------------- //
+$lang_plugin_api = array(
+  'error_wakeup' => "Dodatka '%s' ni možno aktivirati.", //cpg1.4
+  'error_install' => "Namestitev dodatka '%s' ni uspela.", //cpg1.4
+  'error_uninstall' => "Odstranitev dodatka '%s' ni uspela.", //cpg1.4
+  'error_sleep' => "Neuspešna odstranitev dodatka '%s'<br />", //cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File include/smilies.inc.php
+// ------------------------------------------------------------------------- //
+
+if (defined('SMILIES_PHP')) $lang_smilies_inc_php = array(
+  'Exclamation' => 'Vzklik',
+  'Question' => 'Vprašanje',
+  'Very Happy' => 'Zelo srečen',
+  'Smile' => 'Smeško',
+  'Sad' => 'Žalosten',
+  'Surprised' => 'Presenečen',
+  'Shocked' => 'V šoku',
+  'Confused' => 'Zmeden',
+  'Cool' => 'Hladen',
+  'Laughing' => 'Nasmejan',
+  'Mad' => 'Nor',
+  'Razz' => 'Nagajiv',
+  'Embarassed' => 'Zbegan',
+  'Crying or Very sad' => 'Jokajoč ali žalosten',
+  'Evil or Very Mad' => 'Hudoben ali zloben',
+  'Twisted Evil' => 'Slepar',
+  'Rolling Eyes' => 'Zavijanje z očmi',
+  'Wink' => 'Mežikanje',
+  'Idea' => 'Ideja',
+  'Arrow' => 'Puščica',
+  'Neutral' => 'Nevtralen',
+  'Mr. Green' => 'Gospod Zelenko',
+);
+
+// ------------------------------------------------------------------------- //
+// File addpic.php
+// ------------------------------------------------------------------------- //
+
+// void
+
+// ------------------------------------------------------------------------- //
+// File mode.php //cpg1.4
+// ------------------------------------------------------------------------- //
+
+if (defined('MODE_PHP')) $lang_mode_php = array(
+  0 => 'Zapuščam administracijo...',
+  1 => 'Vstop v administracijo...',
+);
+
+// ------------------------------------------------------------------------- //
+// File albmgr.php
+// ------------------------------------------------------------------------- //
+
+if (defined('ALBMGR_PHP')) $lang_albmgr_php = array(
+  'alb_need_name' => 'Album mora imeti ime!', //js-alert
+  'confirm_modifs' => 'Res želite izvesti te spremembe?', //js-alert
+  'no_change' => 'Nobenih sprememb niste naredili!', //js-alert
+  'new_album' => 'Novi album',
+  'confirm_delete1' => 'Želite resnično pobrisati ta album?', //js-alert
+  'confirm_delete2' => '\nVse slike in vsi komentarji bodo prav tako pobrisani!', //js-alert
+  'select_first' => 'Najprej izberite album', //js-alert
+  'alb_mrg' => 'Urejanje albumov',
+  'my_gallery' => '* Moja galerija *',
+  'no_category' => '* Brez kategorij *',
+  'delete' => 'Brisanje',
+  'new' => 'Novo',
+  'apply_modifs' => 'Izvedi spremembe',
+  'select_category' => 'Izberite kategorijo',
+);
+
+// ------------------------------------------------------------------------- //
+// File banning.php
+// ------------------------------------------------------------------------- //
+
+if (defined('BANNING_PHP')) $lang_banning_php = array(
+  'title' => 'Zavrnitev uporabnikov', //cpg1.4
+  'user_name' => 'Uporabniško ime', //cpg1.4
+  'ip_address' => 'IP naslov', //cpg1.4
+  'expiry' => 'Veljavnost (prazno je za trajno)', //cpg1.4
+  'edit_ban' => 'Shrani spremembe', //cpg1.4
+  'delete_ban' => 'Briši', //cpg1.4
+  'add_new' => 'Dodaj novo prepoved', //cpg1.4
+  'add_ban' => 'Dodaj', //cpg1.4
+  'error_user' => 'Ne najdem uporabnika', //cpg1.4
+  'error_specify' => 'Vpisati morate uporabnika ali IP naslov', //cpg1.4
+  'error_ban_id' => 'Napačen IP naslov!', //cpg1.4
+  'error_admin_ban' => 'Sebe ne morete odstraniti!', //cpg1.4
+  'error_server_ban' => 'Želite prepovedati dostop lastnemu strežniku? Napaka, to pa ne bo mogoče ...', //cpg1.4
+  'error_ip_forbidden' => 'Tega IP naslova ne morete prepovedati!<br />Če želite prepovedati zasebne IP naslove, spremenite to v <a href="admin.php">Nastavitvah</a> (smiselno samo v primeru lokalnega omrežja).', //cpg1.4
+  'lookup_ip' => 'Poizvedba po IP naslovu', //cpg1.4
+  'submit' => 'Naprej!', //cpg1.4
+  'select_date' => 'izberite datum', //cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File bridgemgr.php //cpg1.4
+// ------------------------------------------------------------------------- //
+
+if (defined('BRIDGEMGR_PHP')) $lang_bridgemgr_php = array(
+  'title' => 'Bridge Wizard',
+  'warning' => 'Warning: when using this wizard you have to understand that sensitive data is being sent using html forms. Only run it on your own PC (not on a public client like an internet cafe), and make sure to clear the browser cache and temporary files after you have finished, or others might be able to access your data!',
+  'back' => 'back',
+  'next' => 'next',
+  'start_wizard' => 'Start bridging wizard',
+  'finish' => 'Finish',
+  'hide_unused_fields' => 'hide unused form fields (recommended)',
+  'clear_unused_db_fields' => 'clear invalid database entries (recommended)',
+  'custom_bridge_file' => 'your custom bridge file\'s name (if the bridge file\'s name is <i>myfile.inc.php</i>, enter <i>myfile</i> into this field)',
+  'no_action_needed' => 'No action needed in this step. Just click \'next\' to continue.',
+  'reset_to_default' => 'Reset to default value',
+  'choose_bbs_app' => 'choose application to bridge coppermine with',
+  'support_url' => 'Go here for support on this application',
+  'settings_path' => 'path(s) used by your BBS app',
+  'database_connection' => 'database connection',
+  'database_tables' => 'database tables',
+  'bbs_groups' => 'BBS groups',
+  'license_number' => 'License number',
+  'license_number_explanation' => 'enter your license number (if applicable)',
+  'db_database_name' => 'Database name',
+  'db_database_name_explanation' => 'Enter the name of the database your BBS app uses',
+  'db_hostname' => 'Database host',
+  'db_hostname_explanation' => 'Hostname where your mySQL database resides, usually &quot;localhost&quot;',
+  'db_username' => 'Database user account',
+  'db_username_explanation' => 'mySQL user account to use for connection with BBS',
+  'db_password' => 'Database passsword',
+  'db_password_explanation' => 'Passsword for this mySQL user account',
+  'full_forum_url' => 'Forum URL',
+  'full_forum_url_explanation' => 'Full URL of your BBS app (including the leading http:// bit, e.g. http://www.yourdomain.tld/forum)',
+  'relative_path_of_forum_from_webroot' => 'Relative forum path',
+  'relative_path_of_forum_from_webroot_explanation' => 'Relative path to your BBS app from the webroot (Example: if your BBS is at http://www.yourdomain.tld/forum/, enter &quot;/forum/&quot; into this field)',
+  'relative_path_to_config_file' => 'Relative path to your BBS\'s config file',
+  'relative_path_to_config_file_explanation' => 'Relative path to your BBS, seen from your Coppermine folder (e.g. &quot;../forum/&quot; if your BBS is at http://www.yourdomain.tld/forum/ and Coppermine at http://www.yourdomain.tld/gallery/)',
+  'cookie_prefix' => 'Cookie prefix',
+  'cookie_prefix_explanation' => 'this has to be your BBS\'s cookie name',
+  'table_prefix' => 'Table prefix',
+  'table_prefix_explanation' => 'Must match the prefix you chose for your BBS when setting it up.',
+  'user_table' => 'User table',
+  'user_table_explanation' => '(usually default value should be OK, unless your BBS install isn\'t standard)',
+  'session_table' => 'Session table',
+  'session_table_explanation' => '(usually default value should be OK, unless your BBS install isn\'t standard)',
+  'group_table' => 'Group table',
+  'group_table_explanation' => '(usually default value should be OK, unless your BBS install isn\'t standard)',
+  'group_relation_table' => 'Group relation table',
+  'group_relation_table_explanation' => '(usually default value should be OK, unless your BBS install isn\'t standard)',
+  'group_mapping_table' => 'Group mapping table',
+  'group_mapping_table_explanation' => '(usually default value should be OK, unless your BBS install isn\'t standard)',
+  'use_standard_groups' => 'Use standard BBS usergroups',
+  'use_standard_groups_explanation' => 'Use standard (built-in) usergroups (recommended). This will make all custom usergroups settings made on this page become void. Only disable this option if you REALLY know what you\'re doing!',
+  'validating_group' => 'Validating group',
+  'validating_group_explanation' => 'The group ID of your BBS where users accounts that need validation are in (usually default value should be OK, unless your BBS install isn\'t standard)',
+  'guest_group' => 'Guest group',
+  'guest_group_explanation' => 'Group ID of your BBS where guests (anonymous users) are in (default value should be OK, only edit if you know what you\'re doing)',
+  'member_group' => 'Member group',
+  'member_group_explanation' => 'Group ID of your BBS where &quot;regular&quot; users accounts are in (default value should be OK, only edit if you know what you\'re doing)',
+  'admin_group' => 'Admin group',
+  'admin_group_explanation' => 'Group ID of your BBS where admins are in (default value should be OK, only edit if you know what you\'re doing)',
+  'banned_group' => 'Banned group',
+  'banned_group_explanation' => 'Group ID of your BBS where banned users are in (default value should be OK, only edit if you know what you\'re doing)',
+  'global_moderators_group' => 'Global moderators group',
+  'global_moderators_group_explanation' => 'Group ID of your BBS where global moderators of your BBS are in (default value should be OK, only edit if you know what you\'re doing)',
+  'special_settings' => 'BBS-specific settings',
+  'logout_flag' => 'phpBB version (logout flag)',
+  'logout_flag_explanation' => 'What\'s your BBS version (this setting specifies how logouts are being handled)',
+  'use_post_based_groups' => 'Use post-based groups?',
+  'logout_flag_yes' => '2.0.5 or higher',
+  'logout_flag_no' => '2.0.4 or lower',
+  'use_post_based_groups_explanation' => 'Should the groups from the BBS that are defined by the number of posts be taken into account (allows a granular permissions management) or just the default groups (makes administration easier, recommended). You can change this setting later as well.',
+  'use_post_based_groups_yes' => 'yes',
+  'use_post_based_groups_no' => 'no',
+  'error_title' => 'You need to correct these errors before you can continue. Go to the previous screen.',
+  'error_specify_bbs' => 'You have to specify what application you want to bridge your Coppermine install with.',
+  'error_no_blank_name' => 'You can\'t leave the name of your custom bridge file blank.',
+  'error_no_special_chars' => 'The bridge file name mustn\'t contain any special chars except underscore (_) and dash (-)!',
+  'error_bridge_file_not_exist' => 'The bridge file %s doesn\'t exist on the server. Check if you have actually uploaded it.',
+  'finalize' => 'enable/disable BBS integration',
+  'finalize_explanation' => 'So far, the settings you specified have been written into the database, but BBS integration hasn\'t been enabled. You can switch integration on/off later at any time. Make sure to remember the admin username and password from standalone Coppermine, you might need it later to be able to make any changes. If anything goes wrong, go to %s and disable BBS integration there, using your standalone (unbridged) admin account (usually the one you set up during Coppermine install).',
+  'your_bridge_settings' => 'Your bridge settings',
+  'title_enable' => 'Enable integration/bridging with %s',
+  'bridge_enable_yes' => 'enable',
+  'bridge_enable_no' => 'disable',
+  'error_must_not_be_empty' => 'must not be empty',
+  'error_either_be' => 'must either be %s or %s',
+  'error_folder_not_exist' => '%s doesn\'t exist. Correct the value you entered for %s',
+  'error_cookie_not_readible' => 'Coppermine can\'t read a cookie named %s. Correct the value you entered for %s, or go to your BBS administration panel and make sure that the cookie path is readible for coppermine.',
+  'error_mandatory_field_empty' => 'You can not leave the field %s blank - fill in the proper value.',
+  'error_no_trailing_slash' => 'There mustn\'t be a trailing slash in the field %s.',
+  'error_trailing_slash' => 'There must be a trailing slash in the field %s.',
+  'error_db_connect' => 'Could not connect to the mySQL database with the data you specified. Here\'s what mySQL said:',
+  'error_db_name' => 'Although Coppermine could establish a connection, it wasn\'t able to find the database %s. Make sure you have specified %s properly. Here\'s what mySQL said:',
+  'error_prefix_and_table' => '%s and ',
+  'error_db_table' => 'Could not find the table %s. Make sure you have specified %s correctly.',
+  'recovery_title' => 'Bridge Manager: emergency recovery',
+  'recovery_explanation' => 'If you came here to administer the BBS integration of your Coppermine gallery, you have to log in first as admin. If you can not log in because bridging doesn\'t work as expected, you can disable BBS integration with this page. Entering your username and password will not log you in, it will only disable BBS integration. Refer to the documentation for details.',
+  'username' => 'Username',
+  'password' => 'Password',
+  'disable_submit' => 'submit',
+  'recovery_success_title' => 'Authorization successfull',
+  'recovery_success_content' => 'You have successfully disabled BBS bridging. Your Coppermine install runs now in standalone mode.',
+  'recovery_success_advice_login' => 'Log in as admin to edit your bridge settings and/or enable BBS integration again.',
+  'goto_login' => 'Go to login page',
+  'goto_bridgemgr' => 'Go to bridge manager',
+  'recovery_failure_title' => 'Authorization failed',
+  'recovery_failure_content' => 'You supplied the wrong credentials. You will have to supply the admin account data of the standalone version (usually the account you set up during Coppermine install).',
+  'try_again' => 'try again',
+  'recovery_wait_title' => 'Wait time has not elapsed',
+  'recovery_wait_content' => 'For security reasons this script does not allow failed logons in short succession, so you will have to wait a bit untill you\'re allowed to try to authenticate.',
+  'wait' => 'wait',
+  'create_redir_file' => 'Create redirection file (recommended)',
+  'create_redir_file_explanation' => 'To redirect users back to Coppermine once they logged into your BBS, you need a redirection file to be created within your BBS folder. When this option is checked, the bridge manager will attempt to create this file for you, or give you code ready to copy-and-paste to create the file manually.',
+  'browse' => 'browse',
+);
+
+// ------------------------------------------------------------------------- //
+// File calendar.php //cpg1.4
+// ------------------------------------------------------------------------- //
+
+if (defined('CALENDAR_PHP')) $lang_calendar_php = array(
+  'title' => 'Koledar', //cpg1.4
+  'close' => 'zapri', //cpg1.4
+  'clear_date' => 'pobriši datum', //cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File catmgr.php
+// ------------------------------------------------------------------------- //
+
+if (defined('CATMGR_PHP')) $lang_catmgr_php = array(
+  'miss_param' => 'Parameter, potreben za \'%s\'operacijo, ni vpisan!',
+  'unknown_cat' => 'Izbrana kategorija ne obstaja v bazi',
+  'usergal_cat_ro' => 'Brisanje kategorije uporabniških galerij ni možno!',
+  'manage_cat' => 'Urejanje kategorij',
+  'confirm_delete' => 'Resnično želite pobrisati to kategorijo?', //js-alert
+  'category' => 'Kategorija',
+  'operations' => 'Operacija',
+  'move_into' => 'Premakni v',
+  'update_create' => 'Posodobi/ustvari kategorijo',
+  'parent_cat' => 'Nadrejena kategorija',
+  'cat_title' => 'Ime kategorije',
+  'cat_thumb' => 'Ikona kategorije',
+  'cat_desc' => 'Opis kategorije',
+  'categories_alpha_sort' => 'Razvrsti kategorije po abecedi (namesto uporabniško določenega načina)', //cpg1.4
+  'save_cfg' => 'Shrani nastavitve', //cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File admin.php //cpg1.4
+// ------------------------------------------------------------------------- //
+
+if (defined('ADMIN_PHP')) $lang_admin_php = array(
+  'title' => 'Nastavitve', //cpg1.4
+  'manage_exif' => 'Urejanje prikaza exif podatkov', //cpg1.4
+  'manage_plugins' => 'Urejanje dodatkov', //cpg1.4
+  'manage_keyword' => 'Urejanje ključnih besed', //cpg1.4
+  'restore_cfg' => 'Povrni osnovne nastavitve',
+  'save_cfg' => 'Shrani nove nastavitve',
+  'notes' => 'Opombe',
+  'info' => 'Informacija',
+  'upd_success' => 'Nastavitve galerije so bile uspešno posodobljene',
+  'restore_success' => 'Povrnjene so bile osnovne nastavitve galerije',
+  'name_a' => 'Ime naraščajoče',
+  'name_d' => 'Ime padajoče',
+  'title_a' => 'Naslov naraščajoče',
+  'title_d' => 'Naslov padajoče',
+  'date_a' => 'Datum naraščajoče',
+  'date_d' => 'Datum padajoče',
+  'pos_a' => 'Pozicija naraščajoče', //cpg1.4
+  'pos_d' => 'Pozicija padajoče', //cpg1.4
+  'th_any' => 'Večjo med njima',
+  'th_ht' => 'Višina',
+  'th_wd' => 'Širina',
+  'label' => 'oznaka',
+  'item' => 'predmet',
+  'debug_everyone' => 'Vsi',
+  'debug_admin' => 'Samo administrator',
+  'no_logs'=> 'Izklopljeno', //cpg1.4
+  'log_normal'=> 'Normalno', //cpg1.4
+  'log_all' => 'Vse', //cpg1.4
+  'view_logs' => 'Prikaz zgodovine', //cpg1.4
+  'click_expand' => 'kliknite na ime za več podatkov', //cpg1.4
+  'expand_all' => 'Razširi vse', //cpg1.4
+  'notice1' => '(*) Teh nastavitev ne smete spreminjati, če so slike že v galeriji.', //cpg1.4 - (relocated)
+  'notice2' => '(**) Če spremenite te nastavitve, bo to vplivalo samo na slike, ki jih dodate od spremembe naprej. <br> Spremembe pa lahko izvedete tudi na obstoječih slikah, z uporabo &quot;<a href="util.php">Orodja</a> (sprememba velikosti...)&quot; v administrativnem meniju.', //cpg1.4 - (relocated)
+  'notice3' => '(***) Log podatki se zapisujejo v angleščini.', //cpg1.4 - (relocated)
+  'bbs_disabled' => 'Funkcija je izklopljena, če se uporablja forum', //cpg1.4
+  'auto_resize_everyone' => 'Vsi', //cpg1.4
+  'auto_resize_user' => 'Samo uporabniki', //cpg1.4
+  'ascending' => 'naraščajoče', //cpg1.4
+  'descending' => 'padajoče', //cpg1.4
+);
+
+if (defined('ADMIN_PHP')) $lang_admin_data = array(
+  'Osnovne nastavitve',
+  array('Ime galerije', 'gallery_name', 0, 'f=index.htm&amp;as=admin_general_name&amp;ae=admin_general_name_end'), //cpg1.4
+  array('Opis galerije', 'gallery_description', 0, 'f=index.htm&amp;as=admin_general_description&amp;ae=admin_general_description_end'), //cpg1.4
+  array('Administratorjeva e-pošta', 'gallery_admin_email', 0, 'f=index.htm&amp;as=admin_general_email&amp;ae=admin_general_email_end'), //cpg1.4
+  array('Naslov za povezavo v e-razglednicah (Poglej si več slik), brez \'index.php\' ali podobnega na koncu', 'ecards_more_pic_target', 0, 'f=index.htm&amp;as=admin_general_coppermine-url&amp;ae=admin_general_coppermine-url_end'), //cpg1.4
+  array('Naslov za začetno stran', 'home_target', 0, 'f=index.htm&amp;as=admin_general_home-url&amp;ae=admin_general_home-url_end'), //cpg1.4
+  array('Omogoči snemanje stisnjenih (ZIP) najljubših slik', 'enable_zipdownload', 1, 'f=index.htm&amp;as=admin_general_zip-download&amp;ae=admin_general_zip-download_end'), //cpg1.4
+  array('Časovni pas glede na GMT (Trenutni čas: ' . localised_date(-1, $comment_date_fmt) . ')','time_offset',0, 'f=index.htm&amp;as=admin_general_time-offset&amp;ae=admin_general_time-offset_end&amp;top=1'), //cpg1.4
+  array('Omogoči šifrirana gesla (poti nazaj ni)','enable_encrypted_passwords',1, 'f=index.htm&amp;as=admin_general_encrypt_password_start&amp;ae=admin_general_encrypt_password_end&amp;top=1'), // cpg 1.4
+  array('Prikaz ikone za pomoč (pomoč samo v angleščini)','enable_help',9, 'f=index.htm&amp;as=admin_general_help&amp;ae=admin_general_help_end'), //cpg1.4
+  array('Omogoči klik na ključne besede pri iskanju','clickable_keyword_search',14, 'f=index.htm&amp;as=admin_general_keywords_start&amp;ae=admin_general_keywords_end'), //cpg1.4
+  array('Omogoči dodatke', 'enable_plugins', 12, 'f=index.htm&amp;as=admin_general_enable-plugins&amp;ae=admin_general_enable-plugins_end'),  //cpg1.4
+  array('Dovoli prepoved zasebnih (non-routable) IP naslovov', 'ban_private_ip', 1,  'f=index.htm&amp;as=admin_general_private-ip&amp;ae=admin_general_private-ip_end'), //cpg1.4
+  array('Brskalni vmesnik pri paketnem dodajanju slik', 'browse_batch_add', 1, 'f=index.htm&amp;as=admin_general_browsable_batch_add&amp;ae=admin_general_browsable_batch_add_end'), //cpg1.4
+
+  'Jezik in kodiranje znakov',
+  array('Jezik', 'lang', 5, 'f=index.htm&amp;as=admin_language_language&amp;ae=admin_language_language_end'), //cpg1.4
+  array('Uporabim angleški izraz, če ni prevoda?', 'language_fallback', 1, 'f=index.htm&amp;as=admin_language_fallback&amp;ae=admin_language_fallback_end'), //cpg1.4
+  array('Kodna tabela', 'charset', 4, 'f=index.htm&amp;as=admin_language_charset&amp;ae=admin_language_charset_end'), //cpg1.4
+  array('Prikaz seznama jezikov', 'language_list', 1, 'f=index.htm&amp;as=admin_language_list&amp;ae=admin_language_list_end'), //cpg1.4
+  array('Prikaz zastavic za izbor jezika', 'language_flags', 8, 'f=index.htm&amp;as=admin_language_flags&amp;ae=admin_language_flags_end&amp;top=1'), //cpg1.4
+  array('Prikaži tipko &quot;ponastavi jezik&quot; pri izbiri jezikov', 'language_reset', 1, 'f=index.htm&amp;as=admin_language_reset&amp;ae=admin_language_reset_end&amp;top=1'), //cpg1.4
+  //array('Display previous/next on tabbed pages', 'previous_next_tab', 1), //cpg1.4
+
+  'Nastavitev izgleda galerije - teme',
+  array('Izgled galerije', 'theme', 6, 'f=index.htm&amp;as=admin_theme_theme&amp;ae=admin_theme_theme_end'), //cpg1.4
+  array('Prikaži seznam tem', 'theme_list', 1, 'f=index.htm&amp;as=admin_theme_theme_list&amp;ae=admin_theme_theme_list_end'), //cpg1.4
+  array('Prikaži tipko &quot;ponastavi videz&quot; pri izbiri tem', 'theme_reset', 1, 'f=index.htm&amp;as=admin_theme_theme_reset&amp;ae=admin_theme_theme_reset_end'), //cpg1.4
+  array('Prikaži PZS (vprašanja in odgovori)', 'display_faq', 1, 'f=index.htm&amp;as=admin_theme_faq&amp;ae=admin_theme_faq_end'), //cpg1.4
+  array('Ime uporabniške povezave v meniju (dodatne)', 'custom_lnk_name', 0,'f=index.htm&amp;as=admin_theme_custom_lnk_name&amp;ae=admin_theme_custom_lnk_name_end'), //cpg1.4
+  array('Naslov od dodatne povezave v meniju', 'custom_lnk_url', 0,'f=index.htm&amp;as=admin_language_custom_lnk_url&amp;ae=admin_language_custom_lnk_url_end'), //cpg1.4
+  array('Prikaži pomoč za bbcode', 'show_bbcode_help', 1, 'f=index.htm&amp;as=admin_theme_bbcode&amp;ae=admin_theme_bbcode_end&amp;top=1'), //cpg1.4
+  array('Označi teme, ki so definirane kot XHTML in CSS','vanity_block',1, 'f=index.htm&amp;as=vanity_block&amp;ae=vanity_block_end'), //cpg1.4
+  array('Pot do glave po meri uporabnika', 'custom_header_path', 0, 'f=index.htm&amp;as=admin_theme_include_path_start&amp;ae=admin_theme_include_path_end'), //cpg1.4
+  array('Pot do nog po meri uporabnika', 'custom_footer_path', 0, 'f=index.htm&amp;as=admin_theme_include_path_start&amp;ae=admin_theme_include_path_end'), //cpg1.4
+
+  'Nastavitve za prikaz albumov',
+  array('Širina glavne tabele (piksli ali %)', 'main_table_width', 0, 'f=index.htm&amp;as=admin_album_table-width&amp;ae=admin_album_table-width_end'), //cpg1.4
+  array('Število nivojev za prikaz kategorij', 'subcat_level', 0, 'f=index.htm&amp;as=admin_album_category-levels&amp;ae=admin_album_category-levels_end'), //cpg1.4
+  array('Število albumov na strani', 'albums_per_page', 0, 'f=index.htm&amp;as=admin_album_number&amp;ae=admin_album_number_end'), //cpg1.4
+  array('Število stolpcev za prikaz albumov', 'album_list_cols', 0, 'f=index.htm&amp;as=admin_album_columns&amp;ae=admin_album_columns_end'), //cpg1.4
+  array('Velikost ikon v pikslih', 'alb_list_thumb_size', 0, 'f=index.htm&amp;as=admin_album_thumbnail-size&amp;ae=admin_album_thumbnail-size_end'), //cpg1.4
+  array('Vsebina na glavni strani', 'main_page_layout', 0, 'f=index.htm&amp;as=admin_album_list_content&amp;ae=admin_album_list_content_end'), //cpg1.4
+  array('Prikaz ikon albumov za prvi nivo kategorij','first_level',1, 'f=index.htm&amp;as=admin_album_first-level_thumbs&amp;ae=admin_album_first-level_thumbs_end'), //cpg1.4
+  array('Razvrščanje kategorij po abecedi','categories_alpha_sort',1, 'f=index.htm&amp;as=admin_album_list_alphasort_start&amp;ae=admin_album_list_alphasort_end'), //cpg1.4
+  array('Prikaz števila povezanih slik','link_pic_count',1, 'f=index.htm&amp;as=admin_album_linked_files_start&amp;ae=admin_album_linked_files_end'), //cpg1.4
+
+  'Nastavitve za prikaz ikon',
+  array('Število stolpcev na strani z ikonami', 'thumbcols', 0, 'f=index.htm&amp;as=admin_thumbnail_columns&amp;ae=admin_thumbnail_columns_end'), //cpg1.4
+  array('Število vrstic na strani z ikonami', 'thumbrows', 0, 'f=index.htm&amp;as=admin_thumbnail_rows&amp;ae=admin_thumbnail_rows_end'), //cpg1.4
+  array('Število zavihkov na strani', 'max_tabs', 10, 'f=index.htm&amp;as=admin_thumbnail_tabs&amp;ae=admin_thumbnail_tabs_end'), //cpg1.4
+  array('Prikaži opis slike (zraven imena) pod ikono', 'caption_in_thumbview', 1, 'f=index.htm&amp;as=admin_thumbnail_display_caption&amp;ae=admin_thumbnail_display_caption_end'), //cpg1.4
+  array('Prikaži število ogledov pod ikono', 'views_in_thumbview', 1, 'f=index.htm&amp;as=admin_thumbnail_display_views&amp;ae=admin_thumbnail_display_views_end'), //cpg1.4
+  array('Prikaži število komentarjev pod ikono', 'display_comment_count', 1, 'f=index.htm&amp;as=admin_thumbnail_display_comments&amp;ae=admin_thumbnail_display_comments_end'), //cpg1.4
+  array('Prikaži ime pošiljatelja pod ikono', 'display_uploader', 1, 'f=index.htm&amp;as=admin_thumbnail_display_uploader&amp;ae=admin_thumbnail_display_uploader_end'), //cpg1.4
+  //array('Display name of admin uploaders below the thumbnail', 'display_admin_uploader', 1, 'f=index.htm&amp;as=admin_thumbnail_display_admin_uploader&amp;ae=admin_thumbnail_display_admin_uploader_end'), //cpg1.4
+  array('Prikaži ime datoteke pod ikono', 'display_filename', 1, 'f=index.htm&amp;as=admin_thumbnail_display_filename&amp;ae=admin_thumbnail_display_filename_end'), //cpg1.4
+  //array('Prikaži opis albuma pod ikono', 'alb_desc_thumb', 1, 'f=index.htm&amp;as=admin_thumbnail_display_description&amp;ae=admin_thumbnail_display_description_end'), //cpg1.4
+  array('Privzeto razvrščanje slik', 'default_sort_order', 3, 'f=index.htm&amp;as=admin_thumbnail_default_sortorder&amp;ae=admin_thumbnail_default_sortorder_end'), //cpg1.4
+  array('Najmanjše število ocen za sliko, da se uvrsti na seznam \'naj-ocene\'', 'min_votes_for_rating', 0, 'f=index.htm&amp;as=admin_thumbnail_minimum_votes&amp;ae=admin_thumbnail_minimum_votes_end'), //cpg1.4
+
+  'Prikaz slik', //cpg1.4
+  array('Širina tabele za prikaz slik (piksli ali %)', 'picture_table_width', 0, 'f=index.htm&amp;as=admin_image_comment_table-width&amp;ae=admin_image_comment_table-width_end'), //cpg1.4
+  array('Informacija o sliki je privzeto vidna', 'display_pic_info', 1, 'f=index.htm&amp;as=admin_image_comment_info_visible&amp;ae=admin_image_comment_info_visible_end'), //cpg1.4
+  array('Največja velikost opisa slike', 'max_img_desc_length', 0, 'f=index.htm&amp;as=admin_image_comment_descr_length&amp;ae=admin_image_comment_descr_length_end'), //cpg1.4
+  array('Največje število znakov v posamezni besedi', 'max_com_wlength', 0, 'f=index.htm&amp;as=admin_image_comment_chars_per_word&amp;ae=admin_image_comment_chars_per_word_end'), //cpg1.4
+  array('Prikaži filmski trak z ikonami', 'display_film_strip', 1, 'f=index.htm&amp;as=admin_image_comment_filmstrip_toggle&amp;ae=admin_image_comment_filmstrip_toggle_end'), //cpg1.4
+  array('Prikaži ime datoteke pod filmskim trakom', 'display_film_strip_filename', 1, 'f=index.htm&amp;as=admin_image_comment_display_film_strip_filename&amp;ae=admin_image_comment_display_film_strip_filename_end'), //cpg1.4
+  array('Št. ikon na traku', 'max_film_strip_items', 0, 'f=index.htm&amp;as=admin_image_comment_filmstrip_number&amp;ae=admin_image_comment_filmstrip_number_end'), //cpg1.4
+  array('Interval pri samodejnem predvajanju v mili sekundah (1 sekunda = 1000 mili sekund)', 'slideshow_interval', 0, 'f=index.htm&amp;as=admin_image_comment_slideshow_interval&amp;ae=admin_image_comment_slideshow_interval_end'), //cpg1.4
+
+  'Nastavitve za komentarje', //cpg1.4
+  array('Odstrani prepovedane besede v komentarjih', 'filter_bad_words', 1, 'f=index.htm&amp;as=admin_image_comment_bad_words&amp;ae=admin_image_comment_bad_words_end'), //cpg1.4
+  array('Dovoli smeškote v komentarjih', 'enable_smilies', 1, 'f=index.htm&amp;as=admin_image_comment_smilies&amp;ae=admin_image_comment_smilies_end'), //cpg1.4
+  array('Dovoli več zaporednih komentarjev istega uporabnika k isti sliki', 'disable_comment_flood_protect', 1, 'f=index.htm&amp;as=admin_image_comment_flood&amp;ae=admin_image_comment_flood_end'), //cpg1.4
+  array('Največje število vrstic komentarja', 'max_com_lines', 0, 'f=index.htm&amp;as=admin_image_comment_lines&amp;ae=admin_image_comment_lines_end'), //cpg1.4
+  array('Največja velikost komentarja', 'max_com_size', 0, 'f=index.htm&amp;as=admin_image_comment_length&amp;ae=admin_image_comment_length_end'), //cpg1.4
+  array('Obvesti administratorja o novem komentarju', 'email_comment_notification', 1, 'f=index.htm&amp;as=admin_image_comment_admin_notify&amp;ae=admin_image_comment_admin_notify_end'), //cpg1.4
+  array('Razvrščanje komentarjev', 'comments_sort_descending', 17, 'f=index.htm&amp;as=admin_comment_sort_start&amp;ae=admin_comment_sort_end'), //cpg1.4
+  array('Oznaka za anonimni komentar', 'comments_anon_pfx', 0, 'f=index.htm&amp;as=comments_anon_pfx&amp;ae=comments_anon_pfx_end'), //cpg1.4
+
+  'Nastavitve za datoteke in ikone',
+  array('Kakovost JPEG datotek', 'jpeg_qual', 0, 'f=index.htm&amp;as=admin_picture_thumbnail_jpeg_quality&amp;ae=admin_picture_thumbnail_jpeg_quality_end'), //cpg1.4
+  array('Največja mera ikone <a href="#notice2" class="clickable_option">**</a>', 'thumb_width', 0, 'f=index.htm&amp;as=admin_picture_thumbnail_max-dimension&amp;ae=admin_picture_thumbnail_max-dimension_end'), //cpg1.4
+  array('Katero mero uporabiti za ikono (širino, višino ali večjo od obeh)? <a href="#notice2" class="clickable_option">**</a>', 'thumb_use', 7, 'f=index.htm&amp;as=admin_picture_thumbnail_use-dimension&amp;ae=admin_picture_thumbnail_use-dimension_end'), //cpg1.4
+  array('Ustvari vmesne slike','make_intermediate',1, 'f=index.htm&amp;as=admin_picture_thumbnail_intermediate_toggle&amp;ae=admin_picture_thumbnail_intermediate_toggle_end'), //cpg1.4
+  array('Največja širina ali višina vmesnih slik/videa <a href="#notice2" class="clickable_option">**</a>', 'picture_width', 0, 'f=index.htm&amp;as=admin_picture_thumbnail_intermediate_dimension&amp;ae=admin_picture_thumbnail_intermediate_dimension_end'), //cpg1.4
+  array('Največja velikost datotek/slik (KB)', 'max_upl_size', 0, 'f=index.htm&amp;as=admin_picture_thumbnail_max_upload_size&amp;ae=admin_picture_thumbnail_max_upload_size_end'), //cpg1.4
+  array('Največja širina ali višina dodanih slik (piksli)', 'max_upl_width_height', 0, 'f=index.htm&amp;as=admin_picture_thumbnail_max_upload_dimension&amp;ae=admin_picture_thumbnail_max_upload_dimension_end'), //cpg1.4
+  array('Samodejno zmanjšaj slike, ki presegajo največjo dovoljeno širino ali višino', 'auto_resize', 16, 'f=index.htm&amp;as=admin_picture_thumbnail_auto-resize&amp;ae=admin_picture_thumbnail_auto-resize_end'), //cpg1.4
+
+  'Dodatne nastavitve za datoteke in ikone',
+  array('Albumi so lahko tudi zasebni (Opomba: če preklopite z DA na NE, bodo vsi obstoječi zasebni albumi postali javni)', 'allow_private_albums', 1, 'f=index.htm&amp;as=admin_picture_thumb_advanced_private_toggle&amp;ae=admin_picture_thumb_advanced_private_toggle_end'), //cpg1.4
+  array('Prikaži ikone zasebnih albumov tudi neprijavljenim uporabnikom','show_private',1, 'f=index.htm&amp;as=admin_picture_thumb_advanced_private_icon_show&amp;ae=admin_picture_thumb_advanced_private_icon_show_end'), //cpg1.4
+  array('Prepovedani znaki v imenih datotek', 'forbiden_fname_char',0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_filename_forbidden_chars&amp;ae=admin_picture_thumb_advanced_filename_forbidden_chars_end'), //cpg1.4
+  //array('Dopustne končnice imen datotek za naložene slike', 'allowed_file_extensions',0, 'f=index.htm&amp;as=&amp;ae=_end'), //cpg1.4
+  array('Dovoljene vrste foto datotek', 'allowed_img_types',0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_pic_extensions&amp;ae=admin_picture_thumb_advanced_pic_extensions_end'), //cpg1.4
+  array('Dovoljene vrste video datotek', 'allowed_mov_types',0, 'f=index.htm&amp;as=admin_thumbs_advanced_movie&amp;ae=admin_thumbs_advanced_movie_end'), //cpg1.4
+  array('Samodejno predvajanje filmov', 'media_autostart',1, 'f=index.htm&amp;as=admin_movie_autoplay&amp;ae=admin_movie_autoplay_end'), //cpg1.4
+  array('Dovoljene vrste avdio datotek', 'allowed_snd_types',0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_audio_extensions&amp;ae=admin_picture_thumb_advanced_audio_extensions_end'), //cpg1.4
+  array('Dovoljene vrste dokumentov (txt...)', 'allowed_doc_types',0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_doc_extensions&amp;ae=admin_picture_thumb_advanced_doc_extensions_end'), //cpg1.4
+  array('Način za spreminjanje velikosti slik','thumb_method',2, 'f=index.htm&amp;as=admin_picture_thumb_advanced_resize_method&amp;ae=admin_picture_thumb_advanced_resize_method_end'), //cpg1.4
+  array('Pot do programa ImageMagick (primer: /usr/bin/X11/)', 'impath', 0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_im_path&amp;ae=admin_picture_thumb_advanced_im_path_end'), //cpg1.4
+  //array('Allowed image types (only valid for ImageMagick)', 'allowed_img_types',0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_allowed_imagetypes&amp;ae=admin_picture_thumb_advanced_allowed_imagetypes_end'), //cpg1.4
+  array('Ukazna vrstica za ImageMagick', 'im_options', 0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_im_commandline&amp;ae=admin_picture_thumb_advanced_im_commandline_end'), //cpg1.4
+  array('Preberi EXIF podatke v JPEG datotekah', 'read_exif_data', 13, 'f=index.htm&amp;as=admin_picture_thumb_advanced_exif&amp;ae=admin_picture_thumb_advanced_exif_end'), //cpg1.4
+  array('Preberi IPTC podatke v JPEG datotekah', 'read_iptc_data', 1, 'f=index.htm&amp;as=admin_picture_thumb_advanced_iptc&amp;ae=admin_picture_thumb_advanced_iptc_end'), //cpg1.4
+  array('Direktorij za albume <a href="#notice1" class="clickable_option">*</a>', 'fullpath', 0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_albums_dir&amp;ae=admin_picture_thumb_advanced_albums_dir_end'), //cpg1.4
+  array('Mapa za slike uporabnikov <a href="#notice1" class="clickable_option">*</a>', 'userpics', 0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_userpics_dir&amp;ae=admin_picture_thumb_advanced_userpics_dir_end'), //cpg1.4
+  array('Predpona za vmesne slike <a href="#notice1" class="clickable_option">*</a>', 'normal_pfx', 0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_intermediate_prefix&amp;ae=admin_picture_thumb_advanced_intermediate_prefix_end'), //cpg1.4
+  array('Predpona za ikone <a href="#notice1" class="clickable_option">*</a>', 'thumb_pfx', 0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_thumbs_prefix&amp;ae=admin_picture_thumb_advanced_thumbs_prefix_end'), //cpg1.4
+  array('Privzete pravice za mape', 'default_dir_mode', 0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_chmod_folder&amp;ae=admin_picture_thumb_advanced_chmod_folder_end'), //cpg1.4
+  array('Privzete pravice za datoteke', 'default_file_mode', 0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_chmod_files&amp;ae=admin_picture_thumb_advanced_chmod_files_end'), //cpg1.4
+
+  'Nastavitve uporabnikov',
+  array('Dovoli registriranje novih uporabnikov', 'allow_user_registration', 1, 'f=index.htm&amp;as=admin_allow_registration&amp;ae=admin_allow_registration_end'), //cpg1.4
+  array('Dovoli neprijavljenim uporabnikom dostop', 'allow_unlogged_access', 1, 'f=index.htm&amp;as=admin_allow_unlogged_access&amp;ae=admin_allow_unlogged_access_end'), //cpg1.4
+  array('Registracija zahteva preverjanje naslova e-pošte', 'reg_requires_valid_email', 1, 'f=index.htm&amp;as=admin_registration_verify&amp;ae=admin_registration_verify_end'), //cpg1.4
+  array('Obvesti administratorja o novi registraciji', 'reg_notify_admin_email', 1, 'f=index.htm&amp;as=admin_registration_notify&amp;ae=admin_registration_notify_end'), //cpg1.4
+  array('Registracija zahteva odobritev administratorja', 'admin_activation', 1, 'f=index.htm&amp;as=admin_activation&amp;ae=admin_activation_end'),  //cpg1.4
+  array('Dva uporabnika smeta imeti enak e-poštni naslov', 'allow_duplicate_emails_addr', 1, 'f=index.htm&amp;as=admin_allow_duplicate_emails_addr&amp;ae=admin_allow_duplicate_emails_addr_end'), //cpg1.4
+  array('Obvesti administratorja o čakajočih slikah za odobritev', 'upl_notify_admin_email', 1, 'f=index.htm&amp;as=admin_approval_notify&amp;ae=admin_approval_notify_end'), //cpg1.4
+  array('Prijavljeni uporabniki lahko vidijo seznam članov', 'allow_memberlist', 1, 'f=index.htm&amp;as=admin_user_memberlist&amp;ae=admin_user_memberlist_end'), //cpg1.4
+  array('Uporabniki lahko spremenijo e-poštni naslov v svojih nastavitvah', 'allow_email_change', 1, 'f=index.htm&amp;as=admin_user_allow_email_change&amp;ae=admin_user_allow_email_change_end'), //cpg1.4
+  array('Uporabniki lahko imajo nadzor nad svojimi slikami v javnih albumih', 'users_can_edit_pics', 1, 'f=index.htm&amp;as=admin_user_editpics_public_start&amp;ae=admin_user_editpics_public_end'), //cpg1.4
+  array('Število napačnih prijav pred nastopom prepovedi prijave (za zaščito pred poskusi vdora)', 'login_threshold', 0, 'f=index.htm&amp;as=admin_user_login_start&amp;ae=admin_user_login_end'), //cpg1.4
+  array('Čas trajanja prepovedi dostopa po neuspešni prijavi in zavrnitvi', 'login_expiry', 0, 'f=index.htm&amp;as=admin_user_login_start&amp;ae=admin_user_login_end'), //cpg1.4
+  array('Pošlji poročilo administratorju', 'report_post', 1, 'f=index.htm&amp;as=admin_user_enable_report&amp;ae=admin_user_enable_report_end'),  //cpg1.4
+
+// custom profile fields,  //cpg1.4
+  'Dodatna polja za opis uporabnikov (pustite prazno, če ni potrebno).
+  Uporabi Profil 6 za dolge vnose kot npr. življenjepis', //cpg1.4
+  array('Profil 1', 'user_profile1_name', 0, 'f=index.htm&amp;as=admin_custom&amp;ae=admin_custom_end'), //cpg1.4
+  array('Profil 2', 'user_profile2_name', 0), //cpg1.4
+  array('Profil 3', 'user_profile3_name', 0), //cpg1.4
+  array('Profil 4', 'user_profile4_name', 0), //cpg1.4
+  array('Profil 5', 'user_profile5_name', 0), //cpg1.4
+  array('Profil 6', 'user_profile6_name', 0), //cpg1.4
+
+  'Dodatna polja za vpis informacij o sliki (pustite prazno, če ne uporabljate)',
+  array('Polje 1', 'user_field1_name', 0, 'f=index.htm&amp;as=admin_custom_image&amp;ae=admin_custom_image_end'), //cpg1.4
+  array('Polje 2', 'user_field2_name', 0),
+  array('Polje 3', 'user_field3_name', 0),
+  array('Polje 4', 'user_field4_name', 0),
+
+  'Nastavitve piškotkov',
+  array('Ime za piškotke', 'cookie_name', 0, 'f=index.htm&amp;as=admin_cookie_name&amp;ae=admin_cookie_name_end'), //cpg1.4
+  array('Pot do piškotkov', 'cookie_path', 0, 'f=index.htm&amp;as=admin_cookie_path&amp;ae=admin_cookie_path_end'), //cpg1.4
+
+  'E-poštne nastavitve  (običajno tukaj ničesar ne spreminjate. Pustite prazno, če niste prepričani o tem, kaj vpisujete)', //cpg1.4
+  array('SMTP gostitelj (če je prazno, se uporablja sendmail)', 'smtp_host', 0, 'f=index.htm&amp;as=admin_email&amp;ae=admin_email_end'), //cpg1.4
+  array('SMTP uporabniško ime', 'smtp_username', 0), //cpg1.4
+  array('SMTP geslo', 'smtp_password', 0), //cpg1.4
+
+  'Zgodovina in statistika', //cpg1.4
+  array('Način beleženja zgodovine <a href="#notice3" class="clickable_option">***</a>', 'log_mode', 11, 'f=index.htm&amp;as=admin_logging_log_mode&amp;ae=admin_logging_log_mode_end'), //cpg1.4
+  array('Beleženje pošiljanja e-razglednic', 'log_ecards', 1, 'f=index.htm&amp;as=admin_general_log_ecards&amp;ae=admin_general_log_ecards_end'), //cpg1.4
+  array('Spremljaj podrobno statistiko o glasovanju','vote_details',1, 'f=index.htm&amp;as=admin_logging_votedetails&amp;ae=admin_logging_votedetails_end'), //cpg1.4
+  array('Spremljaj podrobno statistiko o ogledih','hit_details',1, 'f=index.htm&amp;as=admin_logging_hitdetails&amp;ae=admin_logging_hitdetails_end'), //cpg1.4
+
+  'Vzdrževanje galerije', //cpg1.4
+  array('Omogoči razhroščevanje', 'debug_mode', 9, 'f=index.htm&amp;as=debug_mode&amp;ae=debug_mode_end'), //cpg1.4
+  array('Prikaži opombe v načinu razhroščevanja', 'debug_notice', 1, 'f=index.htm&amp;as=admin_misc_debug_notices&amp;ae=admin_misc_debug_notices_end'), //cpg1.4
+  array('Galerija je izklopljena', 'offline', 1, 'f=index.htm&amp;as=admin_general_offline&amp;ae=admin_general_offline_end'), //cpg1.4
+);
+
+
+// ------------------------------------------------------------------------- //
+// File db_ecard.php
+// ------------------------------------------------------------------------- //
+
+if (defined('DB_ECARD_PHP')) $lang_db_ecard_php = array(
+  'title' => 'Pošiljanje e-razglednic',
+  'ecard_sender' => 'Pošiljatelj',
+  'ecard_recipient' => 'Naslovnik',
+  'ecard_date' => 'Datum',
+  'ecard_display' => 'Prikaži e-razglednico',
+  'ecard_name' => 'Ime',
+  'ecard_email' => 'e-pošta',
+  'ecard_ip' => 'IP #',
+  'ecard_ascending' => 'naraščajoče',
+  'ecard_descending' => 'padajoče',
+  'ecard_sorted' => 'Razvrsti',
+  'ecard_by_date' => 'po datumu',
+  'ecard_by_sender_name' => 'po pošiljatelju',
+  'ecard_by_sender_email' => 'po pošiljateljevem e-poštnem naslovu',
+  'ecard_by_sender_ip' => 'po pošiljateljevem IP naslovu',
+  'ecard_by_recipient_name' => 'po naslovniku',
+  'ecard_by_recipient_email' => 'po naslovnikovem e-poštnem naslovu',
+  'ecard_number' => 'prikazani zapisi od %s do %s od %s',
+  'ecard_goto_page' => 'pojdi na stran',
+  'ecard_records_per_page' => 'Zapisov na strani',
+  'check_all' => 'Označi vse',
+  'uncheck_all' => 'Odznači vse',
+  'ecards_delete_selected' => 'Briši označene e-razglednice',
+  'ecards_delete_confirm' => 'Ste prepričani, da želite pobrisati te zapise? Označite okvirček!',
+  'ecards_delete_sure' => 'Prepričan sem',
+);
+
+
+// ------------------------------------------------------------------------- //
+// File db_input.php
+// ------------------------------------------------------------------------- //
+
+if (defined('DB_INPUT_PHP')) $lang_db_input_php = array(
+  'empty_name_or_com' => 'Vpisati morate ime in komentar',
+  'com_added' => 'Komentar je bil dodan',
+  'alb_need_title' => 'Vpisati morate ime za album!',
+  'no_udp_needed' => 'Posodobitve niso potrebne.',
+  'alb_updated' => 'Album je bil posodobljen',
+  'unknown_album' => 'Izbrani album ne obstaja ali pa nimate pravic za nalaganje slik vanj',
+  'no_pic_uploaded' => 'Nobena slika ni bila dodana!<br /><br />Če ste resnično poslali sliko, preverite ali je to sploh dovoljeno...',
+  'err_mkdir' => 'Kreiranje mape %s ni bilo uspešno!',
+  'dest_dir_ro' => 'Ciljna mapa %s ne omogoča pisanja - pravice!',
+  'err_move' => 'Nemogoče je premakniti %s v %s!',
+  'err_fsize_too_large' => 'Dimenzije slike so prevelike (dovoljeno je %s x %s) !', //obsolete since cpg1.3 - consider removal in cpg1.4 once upload.php has been overhauled
+  'err_imgsize_too_large' => 'Velikost datoteke presega limit (dovoljeno je %s KB) !', //obsolete since cpg1.3 - consider removal in cpg1.4 once upload.php has been overhauled
+  'err_invalid_img' => 'Poslana slika ni v pravilnem formatu!',
+  'allowed_img_types' => 'Dodate lahko samo %s slike.',
+  'err_insert_pic' => 'Slike \'%s\' ni mogoče dodati v album ',
+  'upload_success' => 'Vaša slika je bila dodana.<br /><br />Vidna bo takoj po administratorjevi odobritvi.',
+  'notify_admin_email_subject' => '%s - Obvestilo o poslani sliki',
+  'notify_admin_email_body' => 'Na odobritev čaka slika, ki jo je dodal(a) %s. Obiščite %s',
+  'info' => 'Informacija',
+  'com_added' => 'Komentar dodan',
+  'alb_updated' => 'Album posodobljen',
+  'err_comment_empty' => 'Komentar je prazen!',
+  'err_invalid_fext' => 'Veljavne so samo datoteke z naslednjimi končnicami: <br /><br />%s.',
+  'no_flood' => 'Oprostite, toda vi ste že avtor zadnjega komentarja k tej sliki<br /><br />Izberite urejanje, če ga želite spremeniti',
+  'redirect_msg' => 'Prestavljeni boste na novo stran.<br /><br /><br />Kliknite \'NAPREJ\', če se stran samodejno ne zamenja',
+  'upl_success' => 'Vaše slike so bile uspešno dodane',
+  'email_comment_subject' => 'Dodani komentar v galerijo',
+  'email_comment_body' => 'Nekdo je vpisal nov komentar. Vidite ga lahko na ',
+  'album_not_selected' => 'Album ni izbran', //cpg1.4
+  'com_author_error' => 'Registrirani uporabnik uporablja ta vzdevek. Prijavite se ali uporabite drugega', //cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File delete.php
+// ------------------------------------------------------------------------- //
+
+if (defined('DELETE_PHP')) $lang_delete_php = array(
+  'caption' => 'Naslov',
+  'fs_pic' => 'velika slika',
+  'del_success' => 'Uspešno pobrisano',
+  'ns_pic' => 'normalna velikost slike',
+  'err_del' => 'brisanje ni možno',
+  'thumb_pic' => 'ikona',
+  'comment' => 'komentar',
+  'im_in_alb' => 'slika v albumu',
+  'alb_del_success' => 'Album \'%s\' pobrisan', //cpg1.4
+  'alb_mgr' => 'Urejanje albumov',
+  'err_invalid_data' => 'Napačni podatki v \'%s\'',
+  'create_alb' => 'Kreiram album \'%s\'',
+  'update_alb' => 'Posodabljam album \'%s\' z naslovom \'%s\' in indeksom \'%s\'',
+  'del_pic' => 'Pobriši sliko',
+  'del_alb' => 'Pobriši album',
+  'del_user' => 'Pobriši uporabnika',
+  'err_unknown_user' => 'Izbrani uporabnik ne obstaja!',
+  'err_empty_groups' => 'Skupina ne obstaja ali pa je prazna!', //cpg1.4
+  'comment_deleted' => 'Komentar uspešno pobrisan',
+  'npic' => 'Slike', //cpg1.4
+  'pic_mgr' => 'Urejanje slik', //cpg1.4
+  'update_pic' => 'Posodabljam sliko \'%s\' z imenom \'%s\' in indeksom \'%s\'', //cpg1.4
+  'username' => 'Uporabniško ime', //cpg1.4
+  'anonymized_comments' => '%s anonimnih komentarjev', //cpg1.4
+  'anonymized_uploads' => '%s anonimnih poslanih slik', //cpg1.4
+  'deleted_comments' => '%s pobrisanih komentarjev', //cpg1.4
+  'deleted_uploads' => '%s poslanih slik pobrisanih', //cpg1.4
+  'user_deleted' => 'uporabnik %s pobrisan', //cpg1.4
+  'activate_user' => 'Aktiviraj uporabnika', //cpg1.4
+  'user_already_active' => 'Račun je že aktiviran', //cpg1.4
+  'activated' => 'Aktiviran', //cpg1.4
+  'deactivate_user' => 'Deaktiviraj uporabnika', //cpg1.4
+  'user_already_inactive' => 'Račun je že bil deaktiviran', //cpg1.4
+  'deactivated' => 'Deaktiviran', //cpg1.4
+  'reset_password' => 'Ponastavitev gesla', //cpg1.4
+  'password_reset' => 'Geslo spremenjeno v %s', //cpg1.4
+  'change_group' => 'Spremeni osnovno skupino', //cpg1.4
+  'change_group_to_group' => 'Spreminjam iz %s v %s', //cpg1.4
+  'add_group' => 'Dodaj sekundarno skupino', //cpg1.4
+  'add_group_to_group' => 'Dodajanje uporabnika %s v skupino %s. Uporabnik je sedaj član primarne skupine %s in član sekundarne skupine %s.', //cpg1.4
+  'status' => 'Status', //cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File displayecard.php
+// ------------------------------------------------------------------------- //
+
+if (defined('DISPLAYECARD_PHP')) {
+
+$lang_displayecard_php = array(
+  'invalid_data' => 'Podatki za prikaz e-razglednice so bili poškodovani s strani vašega e-poštnega programa.', //cpg1.4
+);
+}
+
+// ------------------------------------------------------------------------- //
+// File displayimage.php
+// ------------------------------------------------------------------------- //
+
+if (defined('DISPLAYIMAGE_PHP')){
+
+$lang_display_image_php = array(
+  'confirm_del' => 'Res želite pobrisati to sliko? \\nTudi komentarji o njej bodo pobrisani.', //js-alert
+  'del_pic' => 'POBRIŠI TO SLIKO',
+  'size' => '%s x %s pikslov',
+  'views' => '%s krat',
+  'slideshow' => 'Samodejno predvajanje',
+  'stop_slideshow' => 'Ustavi predvajanje',
+  'view_fs' => 'Kliknite za ogled večje slike',
+  'edit_pic' => 'Uredi podatke', //cpg1.4
+  'crop_pic' => 'Obreži in zavrti',
+  'set_player' => 'Spremeni predvajalnik',
+);
+
+$lang_picinfo = array(
+  'title' =>'Podatki o sliki',
+  'Filename' => 'Ime datoteke',
+  'Album name' => 'Ime albuma',
+  'Rating' => 'Ocena (št. glasov:%s)',
+  'Keywords' => 'Ključne besede',
+  'File Size' => 'Velikost datoteke',
+  'Date Added' => 'Datum nalaganja', //cpg1.4
+  'Dimensions' => 'Mere',
+  'Displayed' => 'Prikazano',
+  'URL' => 'URL', //cpg1.4
+  'Make' => 'Proizvajalec', //cpg1.4
+  'Model' => 'Model fotoaparata', //cpg1.4
+  'DateTime' => 'Datum in čas', //cpg1.4
+  'DateTimeOriginal' => 'Datum posnetka', //cpg1.4
+  'ISOSpeedRatings'=>'Ocena ISO-hitrosti', //cpg1.4
+  'MaxApertureValue' => 'Maks. zaslonka', //cpg1.4
+  'FocalLength' => 'Goriščnica', //cpg1.4
+  'Comment' => 'Komentar',
+  'addFav'=>'Dodaj med priljubljene',
+  'addFavPhrase'=>'Priljubljene',
+  'remFav'=>'Odstrani od priljubljenih',
+  'iptcTitle'=>'IPTC naslov',
+  'iptcCopyright'=>'IPTC Copyright',
+  'iptcKeywords'=>'IPTC ključne besede',
+  'iptcCategory'=>'IPTC kategorija',
+  'iptcSubCategories'=>'IPTC podkategorija',
+  'ColorSpace' => 'Barvni prostor', //cpg1.4
+  'ExposureProgram' => 'Program osvetlitve', //cpg1.4
+  'Flash' => 'Bliskavica', //cpg1.4
+  'MeteringMode' => 'Način meritve', //cpg1.4
+  'ExposureTime' => 'Čas osvetlitve', //cpg1.4
+  'ExposureBiasValue' => 'Nastavitev osvetlitve', //cpg1.4
+  'ImageDescription' => ' Opis slike', //cpg1.4
+  'Orientation' => 'Usmeritev', //cpg1.4
+  'xResolution' => 'Ločljivost X', //cpg1.4
+  'yResolution' => 'Ločljivost Y', //cpg1.4
+  'ResolutionUnit' => 'Enota ločljivosti', //cpg1.4
+  'Software' => 'Softver', //cpg1.4
+  'YCbCrPositioning' => 'Položaj YCbCr', //cpg1.4
+  'ExifOffset' => 'Exif Offset', //cpg1.4
+  'IFD1Offset' => 'IFD1 Offset', //cpg1.4
+  'FNumber' => 'Zaslonsko število', //cpg1.4
+  'ExifVersion' => 'Verzija Exif', //cpg1.4
+  'DateTimeOriginal' => 'Datum in čas posnetka', //cpg1.4
+  'DateTimedigitized' => 'Datum in čas digitalizacije', //cpg1.4
+  'ComponentsConfiguration' => 'Sestava komponent', //cpg1.4
+  'CompressedBitsPerPixel' => 'Stisnjeno bitov na piksel', //cpg1.4
+  'LightSource' => 'Vir svetlobe', //cpg1.4
+  'ISOSetting' => 'Nastavitev ISO', //cpg1.4
+  'ColorMode' => 'Način barv', //cpg1.4
+  'Quality' => 'Kakovost', //cpg1.4
+  'ImageSharpening' => 'Ostrenje slike', //cpg1.4
+  'FocusMode' => 'Način ostrenja', //cpg1.4
+  'FlashSetting' => 'Nastavitev bliskavice', //cpg1.4
+  'ISOSelection' => 'Izbor ISO', //cpg1.4
+  'ImageAdjustment' => 'Poravnava slike', //cpg1.4
+  'Adapter' => 'Adapter', //cpg1.4
+  'ManualFocusDistance' => 'Ročna goriščna razdalja', //cpg1.4
+  'DigitalZoom' => 'Digitalni Zoom', //cpg1.4
+  'AFFocusPosition' => 'Položaj samodejnega ostrenja', //cpg1.4
+  'Saturation' => 'Zasičenje', //cpg1.4
+  'NoiseReduction' => 'Zmanjšanje šuma', //cpg1.4
+  'FlashPixVersion' => 'Flash Pix Version', //cpg1.4
+  'ExifImageWidth' => 'Exif širina slike', //cpg1.4
+  'ExifImageHeight' => 'Exif višina slike', //cpg1.4
+  'ExifInteroperabilityOffset' => 'Exif Interoperability Offset', //cpg1.4
+  'FileSource' => 'Izvorna datoteka', //cpg1.4
+  'SceneType' => 'Tip scene', //cpg1.4
+  'CustomerRender' => 'Customer Render', //cpg1.4
+  'ExposureMode' => 'Način osvetlitve', //cpg1.4
+  'WhiteBalance' => 'Uravnava beline', //cpg1.4
+  'DigitalZoomRatio' => 'Digital Zoom Ratio', //cpg1.4
+  'SceneCaptureMode' => 'Scene Capture Mode', //cpg1.4
+  'GainControl' => 'Gain Control', //cpg1.4
+  'Contrast' => 'Kontrast', //cpg1.4
+  'Saturation' => 'Zasičenje', //cpg1.4
+  'Sharpness' => 'Ostrina', //cpg1.4
+  'ManageExifDisplay' => 'Urejanje prikaza Exif', //cpg1.4
+  'submit' => 'Pošlji', //cpg1.4
+  'success' => 'Posodobitve uspešno shranjene.', //cpg1.4
+  'details' => 'Podrobnosti', //cpg1.4
+);
+
+$lang_display_comments = array(
+  'OK' => 'V redu',
+  'edit_title' => 'Uredi komentar',
+  'confirm_delete' => 'Res želite pobrisati komentar?', //js-alert
+  'add_your_comment' => 'Dodaj komentar',
+  'name'=>'Ime',
+  'comment'=>'Komentar',
+  'your_name' => 'Anonimnež',
+  'report_comment_title' => 'Obvesti administratorja o tem komentarju', //cpg1.4
+);
+
+$lang_fullsize_popup = array(
+  'click_to_close' => 'Kliknite na sliko, da zaprete to okno',
+);
+
+}
+
+// ------------------------------------------------------------------------- //
+// File ecard.php
+// ------------------------------------------------------------------------- //
+
+if (defined('ECARDS_PHP') || defined('DISPLAYECARD_PHP')) $lang_ecard_php =array(
+  'title' => 'Pošlji e-razglednico',
+  'invalid_email' => '<font color="red"><b>Opozorilo</b></font>: napačen e-poštni naslov:', //cpg1.4
+  'ecard_title' => 'To je e-razglednica od %s zate',
+  'error_not_image' => 'Samo slike je mogoče pošiljati kot e-razglednice.',
+  'view_ecard' => 'Če razglednice ne vidite pravilno, kliknite na to povezavo', //cpg1.4
+  'view_ecard_plaintext' => 'Za ogled razglednice označite in prekopirajte ta naslov v naslovno vrstico vašega spletnega brskalnika:', //cpg1.4
+  'view_more_pics' => 'Za ogled več slik kliknite sem!', //cpg1.4
+  'send_success' => 'Razglednica je bila poslana',
+  'send_failed' => 'Oprostite, strežnik ne omogoča pošiljanja razglednic...',
+  'from' => 'Od',
+  'your_name' => 'Vaše ime',
+  'your_email' => 'Vaš e-poštni naslov',
+  'to' => 'Za',
+  'rcpt_name' => 'Prejemnikovo ime',
+  'rcpt_email' => 'Prejemnikov e-poštni naslov',
+  'greetings' => 'Pozdrav', //cpg1.4
+  'message' => 'Sporočilo', //cpg1.4
+  'ecards_footer' => 'Poslano od %s z IP %s ob %s', //cpg1.4
+  'preview' => 'Predogled e-razglednice', //cpg1.4
+  'preview_button' => 'Predogled', //cpg1.4
+  'submit_button' => 'Pošlji', //cpg1.4
+  'preview_view_ecard' => 'To je nadomestna povezava za ogled razglednice - ni uporabna pri predogledu.', //cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File report_file.php //cpg1.4
+// ------------------------------------------------------------------------- //
+
+if (defined('REPORT_FILE_PHP') || defined('DISPLAYREPORT_PHP')) $lang_report_php =array(
+  'title' => 'Poročilo administratorju', //cpg1.4
+  'invalid_email' => '<b>Opozorilo</b>: napačen e-poštni naslov!', //cpg1.4
+  'report_subject' => 'Poročilo %s o galeriji %s', //cpg1.4
+  'view_report' => 'Nadomestna povezava, če poročilo ni pravilno prikazano', //cpg1.4
+  'view_report_plaintext' => 'Za ogled poročila prekopirajte to povezavo v naslovno vrstico vašega brskalnika:', //cpg1.4
+  'view_more_pics' => 'Galerija', //cpg1.4
+  'send_success' => 'Vaše poročilo je bilo poslano', //cpg1.4
+  'send_failed' => 'Oprostite, strežnik ne more poslati vašega poročila...', //cpg1.4
+  'from' => 'Od', //cpg1.4
+  'your_name' => 'Vaše ime', //cpg1.4
+  'your_email' => 'Vaš e-poštni naslov', //cpg1.4
+  'to' => 'Za', //cpg1.4
+  'administrator' => 'Administrator/Mod', //cpg1.4
+  'subject' => 'Zadeva', //cpg1.4
+  'comment_field_name' => 'Poročilo o komentarju od "%s"', //cpg1.4
+  'reason' => 'Razlog', //cpg1.4
+  'message' => 'Sporočilo', //cpg1.4
+  'report_footer' => 'Poslano od %s z IP %s ob %s (čas na strežniku)', //cpg1.4
+  'obscene' => 'nespodobno', //cpg1.4
+  'offensive' => 'žaljivo', //cpg1.4
+  'misplaced' => 'ni povezano s temo/napačen vpis', //cpg1.4
+  'missing' => 'manjka', //cpg1.4
+  'issue' => 'napaka/ni možen ogled', //cpg1.4
+  'other' => 'ostalo', //cpg1.4
+  'refers_to' => 'Datoteka s poročilom se nanaša na', //cpg1.4
+  'reasons_list_heading' => 'razlog za poročilo:', //cpg1.4
+  'no_reason_given' => 'razlog ni naveden', //cpg1.4
+  'go_comment' => 'Pojdite na komentar', //cpg1.4
+  'view_comment' => 'Ogled poročila s komentarjem', //cpg1.4
+  'type_file' => 'datoteka', //cpg1.4
+  'type_comment' => 'komentar', //cpg1.4
+  'invalid_data' => 'Podatki o poročilu so bili poškodovani s strani programa za sprejem e-poštnih sporočil. Preverite ali je povezava kompletna.', //cpg1.4
+
+  );
+
+// ------------------------------------------------------------------------- //
+// File editpics.php
+// ------------------------------------------------------------------------- //
+
+if (defined('EDITPICS_PHP')) $lang_editpics_php = array(
+  'pic_info' => 'Informacija o sliki',
+  'album' => 'Album',
+  'title' => 'Naslov',
+  'filename' => 'Ime datoteke', //cpg1.4
+  'desc' => 'Opis',
+  'keywords' => 'Ključne besede',
+  'new_keyword' => 'Nova ključna beseda', //cpg1.4
+  'new_keywords' => 'Najdene nove ključne besede', //cpg1.4
+  'existing_keyword' => 'Obstoječe ključne besede', //cpg1.4
+  'pic_info_str' => '%sx%s - %sKB - %s ogledov - %s ocen',
+  'approve' => 'Odobri sliko',
+  'postpone_app' => 'Preloži odobritev',
+  'del_pic' => 'Pobriši sliko',
+  'del_all' => 'Pobriši vse slike', //cpg1.4
+  'read_exif' => 'Ponovno preberi podatke EXIF',
+  'reset_view_count' => 'Ponastavi števec ogledov',
+  'reset_all_view_count' => 'Ponastavi vse števce ogledov', //cpg1.4
+  'reset_votes' => 'Ponastavi ocene',
+  'reset_all_votes' => 'Ponastavi vse ocene', //cpg1.4
+  'del_comm' => 'Pobriši komentarje',
+  'del_all_comm' => 'Pobriši vse komentarje', //cpg1.4
+  'upl_approval' => 'Odobritev poslanega gradiva', //cpg1.4
+  'edit_pics' => 'Uredi sliko',
+  'see_next' => 'Naslednja slika',
+  'see_prev' => 'Predhodna slika',
+  'n_pic' => '%s slik',
+  'n_of_pic_to_disp' => 'Število slik za prikaz',
+  'apply' => 'Izvedi spremembe',
+  'crop_title' => 'Coppermineov urejevalnik slik',
+  'preview' => 'Predogled',
+  'save' => 'Shrani sliko',
+  'save_thumb' =>'Shrani kot ikono',
+  'gallery_icon' => 'Naredi iz te slike mojo uporabniško ikono', //cpg1.4
+  'sel_on_img' =>'Izbor je mogoč samo znotraj slike!', //js-alert
+  'album_properties' =>'Lastnosti albuma', //cpg1.4
+  'parent_category' =>'Nadrejena kategorija', //cpg1.4
+  'thumbnail_view' =>'Prikaz ikon', //cpg1.4
+  'select_unselect' =>'označi/odznači vse', //cpg1.4
+  'file_exists' => "Ciljna datoteka '%s' že obstaja.", //cpg1.4
+  'rename_failed' => "Preimenovanje '%s' v '%s' ni uspelo.", //cpg1.4
+  'src_file_missing' => "Manjka izvorna datoteka '%s'.", // cpg 1.4
+  'mime_conv' => "Ne morem pretvoriti '%s' v '%s'",//cpg1.4
+  'forb_ext' => 'Prepovedana končnica datoteke.',//cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File faq.php
+// ------------------------------------------------------------------------- //
+
+if (defined('FAQ_PHP')) $lang_faq_php = array(
+  'faq' => 'Pogosto zastavljana vprašanja',
+  'toc' => 'Kazalo',
+  'question' => 'Vprašanje: ',
+  'answer' => 'Odgovor: ',
+);
+
+if (defined('FAQ_PHP')) $lang_faq_data = array(
+  'Splošna vprašanja',
+  array('Zakaj se moram registrirati?', 'Registracija da ali ne - to določi administrator. Registrirani uporabniki imajo nekaj dodatnih možnosti, kot je dodajanje slik, komentarjev, ocenjevanje, lastni albumi...', 'allow_user_registration', '1'),
+  array('Kako se lahko registriram?', 'Kliknite na &quot;Registracija&quot; in izpolnite vsa potrebna polja (lahko tudi dodatna, če to želite).<br />Če je administrator določil aktiviranje računa preko e-pošte, boste po takoj, ko pošljete izpolnjen obrazec, na vneseni e-poštni naslov prejeli sporočilo z navodili za aktiviranje vaše registracije. Aktiviranje je potrebno pred prijavo.', 'allow_user_registration', '1'), //cpg1.4
+  array('Kako se prijavim?', 'Kliknite na &quot;Prijava&quot;, vpišite svoje uporabniško ime in geslo ter označite polje pred &quot;Zapomni si me&quot;.<br /><b>POMEMBNO:Omogočene morate imeti piškotke in le-ti ne smejo biti pobrisani, če želite uporabiti opcijo &quot;Zapomni si me&quot;.</b>', 'offline', 0),
+  array('Zakaj se ne morem prijaviti?', 'Ste se registrirali in kliknili na povezavo, ki ste jo prejeli na vpisan e-poštni naslov?. Ta povezava aktivira vašo registracijo. Če je temu tako, vam ostane še kontaktiranje administratorja.', 'offline', 0),
+  array('Kaj če pozabim geslo?', 'Uporabite povezavo &quot;Pozabil sem geslo&quot;, lahko pa tudi pošljete sporočilo administratorju, ki vam bo pomagal.', 'offline', 0),
+  //array('What if I changed my email address?', 'Just simply login and change your email address through &quot;Profile&quot;', 'offline', 0),
+  array('Kako lahko shranim slike med &quot;Moje najljubše&quot;?', 'Pri ogledu slike kliknite na ikono &quot;informacije o sliki&quot; (<img src="images/info.gif" width="16" height="16" border="0" alt="Informacije o sliki" />); premaknite se navzdol po strani in pri prikazu podatkov o sliki kliknite na &quot;Dodaj med priljubljene&quot;.<br />V nastavitvah galerije je možno, da so informacije o sliki že privzeto vidne.<br />POMEMBNO:piškotki morajo biti omogočeni, ne smete pa jih tudi brisati, če želite, da bo ta funkcija delovala.', 'offline', 0),
+  array('Kako lahko ocenim sliko?', 'Kliknite na eno od ocen pod njo (več zvezdic pomeni boljšo oceno). Ocenjevanje lahko administrator omeji samo na prijavljene uporabnike.', 'offline', 0),
+  array('Kako lahko dodam komentar?', 'Če je omogočeno, vpišite svoj komentar pod fotografijo. Lahko ga tudi popravljate. Možnost komentarjev lahko administrator omeji samo na prijavljene uporabnike.', 'offline', 0),
+  array('Kako lahko dodam sliko?', 'Kliknite na &quot;Dodajanje slik&quot; (če je to omogočeno), prebrskajte lokalni disk in izberite slike, ki jih želite dodati. Dodajte ime in/ali opis slike, izberite še album in kliknite na &quot;NAPREJ&quot;.<br /><br />Lahko pa uporabite tudi čarovnika za dodajanje slik - <b>Windows XP čarovnik za dodajanje</b>.<br />Kako to naredite je opisano <a href="xp_publish.php">TUKAJ.</a>', 'allow_private_albums', 1), //cpg1.4
+  array('Kam vse lahko dodam slike?', 'Slike lahko dodate v enega od svojih albumov v &quot;Moji galeriji&quot;. Administrator lahko omogoči dodajanje še v druge albume.', 'allow_private_albums', 0),
+  array('Kako velike slike lahko dodam?', 'Velikost in vrsta slik (jpg, png, itd.) je določena s strani administratorja.', 'offline', 0),
+  array('Kako lahko kreiram, preimenujem ali pobrišem albume v &quot;Moji galeriji&quot;?', 'Po prijavi ste že v  &quot;Administraciji&quot;<br />Kliknite na &quot;Kreiraj/naroči album&quot; in kliknite na &quot;Novo&quot;. Spremenite &quot;Novo&quot; v ime po vaši izbiri.<br />Album lahko na ta način tudi preimenujete.<br />Kliknite na  &quot;Izvedi spremembe&quot;.', 'allow_private_albums', 0),
+  array('Kako lahko spremenim in onemogočim ostalim, da vidijo moje albume?', 'Po prijavi ste že v &quot;Administraciji&quot;<br />Kliknite na &quot;Urejanje svojih albumov&quot; izberite album, ki ga želite urejati.<br />Tukaj lahko spremenite vse lastnosti albuma. Na koncu kliknite še na &quot;Posodobi album&quot;.', 'allow_private_albums', 0),
+  array('Kako lahko vidim galerije ostalih uporabnikov?', 'Kliknite na &quot;Seznam albumov&quot; in izberite &quot;Uporabniške galerije&quot;.', 'allow_private_albums', 0),
+  array('Kaj so piškotki?', 'Piškotki so majhne tekstovne datoteke, ki jih spletno mesto shrani na vašem računalniku.<br />Piškotki omogočajo prijavo in odjavo na strani galerije.', 'offline', 0),
+  array('Kje lahko najdem to galerijo še za svojo spletno stran?', 'Coppermine je prosta multimedijska galerija, ki je dostopna pod pogoji GNU GPL. Vsebuje obilico možnosti in obstaja za različne platforme. Obiščite <a href="http://coppermine-gallery.net/">spletišče Coppermine</a>, kjer si jo lahko presnamete.', 'offline', 0),
+
+  'Sprehod po galeriji',
+  array('Kaj pomeni &quot;Seznam albumov&quot;?', 'Ta povezava prikaže celotno galerijo, v kateri se trenutno nahajate, vključno s povezavami do vseh albumov. Če se ne nahajate v eni od kategorij, boste videli tudi povezave do posameznih kategorij. Ikone so lahko povezave do posamezne kategorije.', 'offline', 0),
+  array('Kaj pomeni &quot;Moja galerija&quot;?', 'Ta opcija omogoča uporabnikom, da si sami ustvarijo svojo galerijo in dodajajo albume in slike vanje.', 'allow_private_albums', 1), //cpg1.4
+  array('Kakšna je razlika med &quot;Administracija&quot; in &quot;Uporabniški način&quot;?', 'Ta opcija omogoča uporabnikom urejanje svojih galerij in ostalega, če je to seveda omogočeno s strani administratorja.', 'allow_private_albums', 0),
+  array('Kaj pomeni &quot;Dodajanje slik&quot;?', 'Uporabnikom omogoča dodajanje slik v lastne albume oz. albume, določene s strani administratorja.', 'allow_private_albums', 0),
+  array('Kaj pomeni &quot;Zadnje dodane slike&quot;?', 'Prikaže seznam slik, ki so bile dodane kot zadnje - to so nove slike v galeriji.', 'offline', 0),
+  array('Kaj pomeni &quot;Zadnji komentarji&quot;?', 'Tukaj najdete najnovejše komentarje (prijavljenih) uporabnikov k slikam v galeriji.', 'offline', 0),
+  array('Kaj pomeni &quot;Največ ogledov&quot;?', 'To je seznam slik, ki so jih uporabniki (prijavljeni ali anonimni) največkrat pogledali, razvrščen po številu ogledov.', 'offline', 0),
+  array('Kaj pomeni &quot;Najbolje ocenjeno&quot;?', 'To je prikaz slik, ki imajo najvišjo povprečno oceno,  dobljeno s strani (prijavljenih) obiskovalcev (primer: pet uporabnikov, vsak je dal oceno <img src="images/rating3.gif" width="65" height="14" border="0" alt="" />: slika bo imela povprečno oceno <img src="images/rating3.gif" width="65" height="14" border="0" alt="" /> ;pet obiskovalcev oceni fotografijo od 1 do 5 (1,2,3,4,5) - rezultat je povprečje <img src="images/rating3.gif" width="65" height="14" border="0" alt="" /> .)<br />Ocene gredo od <img src="images/rating5.gif" width="65" height="14" border="0" alt="odlično" /> (odlično) do <img src="images/rating0.gif" width="65" height="14" border="0" alt="zanič" /> (zanič).', 'offline', 0),
+  array('Kaj pomeni &quot;Moje najljubše&quot;?', 'Ta izbira omogoča, da si uporabniki shranijo seznam svojih najljubših fotografij v piškotek, ki ga prejmejo v brskalnik svojega računalnika.', 'offline', 0),
+);
+
+
+// ------------------------------------------------------------------------- //
+// File forgot_passwd.php
+// ------------------------------------------------------------------------- //
+
+if (defined('FORGOT_PASSWD_PHP')) $lang_forgot_passwd_php = array(
+  'forgot_passwd' => 'Obnovitev gesla',
+  'err_already_logged_in' => 'Ste že prijavljeni!',
+  'enter_email' => 'Vpišite svoj e-poštni naslov', //cpg1.4
+  'submit' => 'Naprej',
+  'illegal_session' => 'Seja za obnovo gesla je potekla ali je pa napačna.', //cpg1.4
+  'failed_sending_email' => 'Sporočila za obnovitev gesla ni bilo možno poslati!',
+  'email_sent' => 'Sporočilo z uporabniškim imenom in geslom je bilo poslano %s',
+  'verify_email_sent' => 'Sporočilo je bilo poslano k %s. Prosimo, preverite prejeto e-poštno sporočilo za nadaljevanje obnove gesla.', //cpg1.4
+  'err_unk_user' => 'Izbrani uporabnik ne obstaja!',
+  'account_verify_subject' => '%s - zahtevek za novo geslo', //cpg1.4
+  'account_verify_body' => 'Zaprosili ste za novo geslo. Če želite nadaljevati, kliknite na naslednjo povezavo:
+
+%s', //cpg1.4
+  'passwd_reminder_subject' => '%s - obnovitev gesla',
+  'passwd_reminder_body' => 'Prosili ste za svoje podatke, potrebne za prijavo :
+Uporabniško ime: %s
+Geslo: %s
+Kliknite %s za prijavo.',
+);
+
+// ------------------------------------------------------------------------- //
+// File groupmgr.php
+// ------------------------------------------------------------------------- //
+
+if (defined('GROUPMGR_PHP')) $lang_groupmgr_php = array(
+  'group_name' => 'Ime skupine', //cpg1.4
+  'permissions' => 'Dovoljenja', //cpg1.4
+  'public_albums' => 'Dodajanje v javne albume', //cpg1.4
+  'personal_gallery' => 'Osebne galerije', //cpg1.4
+  'upload_method' => 'Način pošiljanja fotografij', //cpg1.4
+  'disk_quota' => 'Disk', //cpg1.4
+  'rating' => 'Ocenjevanje', //cpg1.4
+  'ecards' => 'Razglednice', //cpg1.4
+  'comments' => 'Komentarji', //cpg1.4
+  'allowed' => 'Dovoljeno', //cpg1.4
+  'approval' => 'Odobritev', //cpg1.4
+  'boxes_number' => 'Št. polj', //cpg1.4
+  'variable' => 'sprem.', //cpg1.4
+  'fixed' => 'fiksno', //cpg1.4
+  'apply' => 'Izvedi spremembe',
+  'create_new_group' => 'Dodaj novo skupino',
+  'del_groups' => 'Briši označene skupine',
+  'confirm_del' => 'Opozorilo: če pobrišete skupino, bodo vsi njeni uporabniki premeščeni v skupino \'Registered\'!\n\nŽelite nadaljevati?', //js-alert
+  'title' => 'Urejanje uporabniških skupin',
+  'num_file_upload' => 'Polja pri nalaganju datotek', //cpg1.4
+  'num_URI_upload' => 'Polja pri nalaganju URI', //cpg1.4
+  'reset_to_default' => 'Ponastavi na privzeto ime (%s) - priporočeno!', //cpg1.4
+  'error_group_empty' => 'Tabela skupin je bila prazna!<br /><br />Kreirane so bile privzete skupine, prosimo osvežite prikaz te strani', //cpg1.4
+  'explain_greyed_out_title' => 'Zakaj je ta vrstica siva?', //cpg1.4
+  'explain_guests_greyed_out_text' => 'Ne morete spreminjati lastnosti te skupine, ker ste nastavili opcijo &quot; Dovoli neprijavljenim uporabnikom (gost ali anonimnež) dostop&quot; na &quot;NE&quot; na strani z nastavitvami. Vsi člani skupine %s se lahko samo prijavijo, drugega pa ne smejo početi. Zaradi tega nastavitve skupine na njih nimajo vpliva.', //cpg1.4
+  'explain_banned_greyed_out_text' => 'Ne morete spreminjati lastnosti skupine %s, ker njeni člani tako ali tako ne smejo početi ničesar.', //cpg1.4
+  'group_assigned_album' => 'pripadajoči album(i)', //cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File index.php
+// ------------------------------------------------------------------------- //
+
+if (defined('INDEX_PHP')){
+
+$lang_index_php = array(
+  'welcome' => 'Dobrodošli!',
+);
+
+$lang_album_admin_menu = array(
+  'confirm_delete' => 'Resnično želite pobrisati ta album? \\nVse fotografije in komentarji bodo pobriani.', //js-alert
+  'delete' => 'BRISANJE',
+  'modify' => 'LASTNOSTI',
+  'edit_pics' => 'UREJANJE',
+);
+
+$lang_list_categories = array(
+  'home' => 'Domov',
+        'stat1' => 'Št. slik:<b>[pictures]</b> - št. albumov:<b>[albums]</b> - št. kategorij:<b>[cat]</b>  - št. komentarjev:<b>[comments]</b> - št. ogledov:<b>[views]</b>',
+        'stat2' => 'Št. slik:<b>[pictures]</b> - št. albumov:<b>[albums]</b> - št. ogledov<b>[views]</b>',
+        'xx_s_gallery' => 'Galerija od %s',
+        'stat3' => 'Št. slik:<b>[pictures]</b> - št. albumov:<b>[albums]</b> - št. komentarjev:<b>[comments]</b>  - št. ogledov:<b>[views]</b>'
+);
+
+$lang_list_users = array(
+  'user_list' => 'Seznam uporabnikov',
+  'no_user_gal' => 'Brez uporabniških galerij',
+  'n_albums' => 'Št. albumov:%s',
+  'n_pics' => 'Št. slik:%s',
+);
+
+$lang_list_albums = array(
+  'n_pictures' => 'Št. slik:%s',
+  'last_added' => ', zadnja dodana %s',
+  'n_link_pictures' => '%s povezanih slik', //cpg1.4
+  'total_pictures' => 'Skupaj slik:%s', //cpg1.4
+);
+
+}
+
+// ------------------------------------------------------------------------- //
+// File keywordmgr.php //cpg1.4
+// ------------------------------------------------------------------------- //
+
+if (defined('KEYWORDMGR_PHP')) $lang_keywordmgr_php = array(
+  'title' => 'Urejanje ključnih besed', //cpg1.4
+  'edit' => 'uredi', //cpg1.4
+  'delete' => 'briši', //cpg1.4
+  'search' => 'išči', //cpg1.4
+  'keyword_test_search' => 'išči %s v novem oknu', //cpg1.4
+  'keyword_del' => 'briši ključno besedo %s', //cpg1.4
+  'confirm_delete' => 'Ste prepričani, da želite pobrisati ključno besedo %s v celotni galeriji?', //cpg1.4  // js-alert
+  'change_keyword' => 'spremeni ključno besedo', //cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File login.php
+// ------------------------------------------------------------------------- //
+
+if (defined('LOGIN_PHP')) $lang_login_php = array(
+  'login' => 'Prijava',
+  'enter_login_pswd' => 'Vpišite uporabniško ime in geslo za prijavo',
+  'username' => 'Uporabniško ime',
+  'password' => 'Geslo',
+  'remember_me' => 'Zapomni si me',
+  'welcome' => 'Pozdravljeni, %s ...',
+  'err_login' => '*** Prijava ni uspela. Poskusite znova ***',
+  'err_already_logged_in' => 'Ste že prijavljeni!',
+  'forgot_password_link' => 'Pozabil sem geslo',
+  'cookie_warning' => 'Opozorilo: vaš brskalnik ne omogoča uporabe piškotkov', //cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File logout.php
+// ------------------------------------------------------------------------- //
+
+if (defined('LOGOUT_PHP')) $lang_logout_php = array(
+  'logout' => 'Odjava',
+  'bye' => 'Lepo pozdravljeni, %s ...',
+  'err_not_loged_in' => 'Niste prijavljeni!',
+);
+
+// ------------------------------------------------------------------------- //
+// File minibrowser.php  //cpg1.4
+// ------------------------------------------------------------------------- //
+
+if (defined('MINIBROWSER_PHP')) $lang_minibrowser_php = array(
+  'close' => 'zapri', //cpg1.4
+  'submit' => 'Naprej', //cpg1.4
+  'up' => 'gor za en nivo', //cpg1.4
+  'current_path' => 'trenutna pot', //cpg1.4
+  'select_directory' => 'Izberite mapo', //cpg1.4
+  'click_to_close' => 'Kliknite na sliko, da zaprete okno',
+); 
+
+// ------------------------------------------------------------------------- //
+// File modifyalb.php
+// ------------------------------------------------------------------------- //
+
+if (defined('MODIFYALB_PHP')) $lang_modifyalb_php = array(
+  'upd_alb_n' => 'Posodobi album %s',
+  'general_settings' => 'Splošne nastavitve',
+  'alb_title' => 'Ime albuma',
+  'alb_cat' => 'Kategorija od albuma',
+  'alb_desc' => 'Opis albuma',
+  'alb_keyword' => 'Ključna beseda za album', //cpg1.4
+  'alb_thumb' => 'Ikona albuma',
+  'alb_perm' => 'Pravice za ta album',
+  'can_view' => 'Album lahko vidijo',
+  'can_upload' => 'Obiskovalci lahko dodajajo slike',
+  'can_post_comments' => 'Obiskovalci lahko dodajajo komentarje',
+  'can_rate' => 'Obiskovalci lahko ocenjujejo slike',
+  'user_gal' => 'Uporabniška galerija',
+  'no_cat' => '* Brez kategorije *',
+  'alb_empty' => 'Album je prazen',
+  'last_uploaded' => 'Zadnje dodano...',
+  'public_alb' => 'Vsi (javni album)',
+  'me_only' => 'Samo jaz',
+  'owner_only' => 'Lastnik albuma (%s)',
+  'groupp_only' => 'Člani skupine \'%s\'',
+  'err_no_alb_to_modify' => 'V bazi ni albumov, ki bi jih lahko urejali.',
+  'update' => 'Posodobi album',
+  'reset_album' => 'Reset album', //cpg1.4
+  'reset_views' => 'Nastavi števec ogledov na &quot;0&quot; v %s', //cpg1.4
+  'reset_rating' => 'Pobriši ocene vseh slik v %s', //cpg1.4
+  'delete_comments' => 'Pobriši vse komentarje v %s', //cpg1.4
+  'delete_files' => '%sNepovratno briše vse slike v %s', //cpg1.4
+  'views' => 'ogledov', //cpg1.4
+  'votes' => 'glasov', //cpg1.4
+  'comments' => 'komentarjev', //cpg1.4
+  'files' => 'datotek', //cpg1.4
+  'submit_reset' => 'pošlji spremembe', //cpg1.4
+  'reset_views_confirm' => 'Prepričan sem', //cpg1.4
+  'notice1' => '(*) odvisno od nastavitev %sgroups%s ',  //cpg1.4 //(do not translate %s!)
+  'alb_password' => 'Geslo za album', //cpg1.4
+  'alb_password_hint' => 'Namig za geslo za album', //cpg1.4
+  'edit_files' =>'Urejanje datotek', //cpg1.4
+  'parent_category' =>'Nadrejena kategorija', //cpg1.4
+  'thumbnail_view' =>'Pogled ikon', //cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File phpinfo.php
+// ------------------------------------------------------------------------- //
+
+if (defined('PHPINFO_PHP')) $lang_phpinfo_php = array(
+  'php_info' => 'PHP info',
+  'explanation' => 'To je rezultat izvedbe PHP funkcije <a href="http://www.php.net/phpinfo">phpinfo()</a>, prikazan v okviru galerije.',
+  'no_link' => 'Ni preveč pametno, da bi te podatke videl še kdo razen vas. Prikazani so tudi podatki, ki so pomembni za varnost delovanja vaše galerije. Tudi zaradi tega lahko te podatke vidi samo administrator (tudi, če komu pošljete povezavo do te strani, podatkov ne bo videl).',
+);
+
+// ------------------------------------------------------------------------- //
+// File picmgr.php //cpg1.4
+// ------------------------------------------------------------------------- //
+if (defined('PICMGR_PHP')) $lang_picmgr_php = array(
+  'pic_mgr' => 'Urejanje fotografij', //cpg1.4
+  'select_album' => 'Izberite album', //cpg1.4
+  'delete' => 'Briši', //cpg1.4
+  'confirm_delete1' => 'Ste prepričani, da želite pobrisati to sliko?', //cpg1.4
+  'confirm_delete2' => '\nSlika bo trajno pobrisana.', //cpg1.4
+  'apply_modifs' => 'Izvedi spremembe', //cpg1.4
+  'confirm_modifs' => 'Potrdite spremembe', //cpg1.4
+  'pic_need_name' => 'Slika mora imeti ime!', //cpg1.4
+  'no_change' => 'Niste naredili nobene spremembe!', //cpg1.4
+  'no_album' => '* Brez albuma *', //cpg1.4
+  'explanation_header' => 'Nastavljeno razvrščanje na tej strani bo upoštevano samo v naslednjih primerih', //cpg1.4
+  'explanation1' => 'administrator je nastavil v nastavitvah razvrščanje na "pozicija naraščajoče" ali "pozicija padajoče", kar je privzeto za vse uporabnike, ki si niso sami nastavili razvrščanja slik', //cpg1.4
+  'explanation2' => 'uporabnik ima nastavljeno razvrščanje na "pozicija naraščajoče" ali "pozicija padajoče" strani z ikonami', //cpg1.4
+);
+
+
+// ------------------------------------------------------------------------- //
+// File pluginmgr.php //cpg1.4
+// ------------------------------------------------------------------------- //
+
+if (defined('PLUGINMGR_PHP')){
+
+$lang_pluginmgr_php = array(
+  'confirm_uninstall' => 'Ste prepričani, da želite odstraniti ta dodatek', //cpg1.4
+  'confirm_delete' => 'Ste prepričani, da želite pobrisati ta dodatek', //cpg1.4
+  'pmgr' => 'Urejanje dodatkov', //cpg1.4
+  'name' => 'Ime', //cpg1.4
+  'author' => 'Avtor', //cpg1.4
+  'desc' => 'Opis', //cpg1.4
+  'vers' => 'v', //cpg1.4
+  'i_plugins' => 'Nameščeni dodatki', //cpg1.4
+  'n_plugins' => 'Dodatki, ki še niso aktivni', //cpg1.4
+  'none_installed' => 'Brez dodatkov', //cpg1.4
+  'operation' => 'Operacija', //cpg1.4
+  'not_plugin_package' => 'Datoteka, ki ste jo naložili, NI veljavni dodatek za galerijo.', //cpg1.4
+  'copy_error' => 'Pri kopiranju dodatka v mapo z dodatki je prišlo do napake.', //cpg1.4
+  'upload' => 'Nalaganje', //cpg1.4
+  'configure_plugin' => 'Uredi dodatek', //cpg1.4
+  'cleanup_plugin' => 'Počisti dodatek', //cpg1.4
+);
+}
+
+// ------------------------------------------------------------------------- //
+// File ratepic.php
+// ------------------------------------------------------------------------- //
+
+if (defined('RATEPIC_PHP')) $lang_rate_pic_php = array(
+  'already_rated' => 'Oprostite, to sliko ste že ocenili',
+  'rate_ok' => 'Vaša ocena je bila shranjena',
+  'forbidden' => 'Svojih slik ne morete ocenjevati.',
+);
+
+// ------------------------------------------------------------------------- //
+// File register.php & profile.php
+// ------------------------------------------------------------------------- //
+
+if (defined('REGISTER_PHP') || defined('PROFILE_PHP')) {
+
+$lang_register_disclamer = <<<EOT
+Čeprav bodo administratorji {SITE_NAME} poskušali popraviti ali odstraniti vsako sporno vsebino, ki je ponujena v objavo v galeriji, je vse nemogoče podrobno pregledati. Zavedati se morate, da vse objavljeno na tem spletišču predstavlja stališče in mnenje avtorja, ne pa administratorjev oz. vzdrževalcev spletišča (razen tistega, kar bi slednji objavili sami), zato za objave tudi ne morejo biti odgovorni.<br />
+<br />
+S sodelovanjem na tem spletišču se tudi strinjate, da ne boste objavljali nobenih opolzkih, prostaških, žaljivih, spolno usmerjenih, sovražnih, rasno nestrpnih in ostalih vsebin, ki so v nasprotju z veljavno zakonodajo in splošnimi moralnimi normami. Strinjate se tudi, da imajo aministratorji in/ali moderatorji posameznih vsebin na {SITE_NAME} pravico v kateremkoli trenutku odstraniti ali popraviti po njihovem mnenju sporen objavljeni prispevek. Kot uporabnik se strinjate, da je  vaše poslano gradivo shranjeno v bazi podatkov. Čeprav ti podatki ne bodo posredovani nobeni tretji stranki, administratorji oziroma skrbniki teh strani ne odgovarjajo za izgubljene podatke v primeru hekerskega napada.<br />
+<br />
+To spletišče uporablja piškotke (cookies) za shranjevanje podatkov na vašem računalniku. Ti podatki so namenjeni izključno temu, da vam olajšajo brskanje na teh straneh. Vaš e-poštni naslov pa je uporabljen samo za to, da vam lahko posredujemo geslo za prijavo.<br />
+<br />
+S klikom na 'STRINJAM SE' potrjujete, da sprejemate pogoje sodelovanje na spletišču {SITE_NAME}.
+EOT;
+
+$lang_register_php = array(
+  'page_title' => 'Registracija',
+  'term_cond' => 'Navodila in pogoji za sodelovanje',
+  'i_agree' => 'STRINJAM SE',
+  'submit' => 'Pošlji registracijo',
+  'err_user_exists' => 'To uporabniško ime že obstaja, izberite si drugo',
+  'err_password_mismatch' => 'Gesli se ne ujemata - ponovite vpis',
+  'err_uname_short' => 'Uporabniško ime mora imeti vsaj dva znaka',
+  'err_password_short' => 'Geslo mora biti dolgo vsaj dva znaka',
+  'err_uname_pass_diff' => 'Uporabniško ime in geslo morata biti različna',
+  'err_invalid_email' => 'Napačen e-poštni naslov!',
+  'err_duplicate_email' => 'Ta e-poštni naslov je nekdo že uporabil',
+  'enter_info' => 'Vpis podatkov za registracijo',
+  'required_info' => 'Obvezni podatki',
+  'optional_info' => 'Neobvezni vpis',
+  'username' => 'Uporabniško ime',
+  'password' => 'Geslo',
+  'password_again' => 'Ponovite geslo',
+  'email' => 'e-pošta',
+  'location' => 'Kraj',
+  'interests' => 'Zanimanja, konjički',
+  'website' => 'Spletna stran',
+  'occupation' => 'Poklic, zaposlitev',
+  'error' => 'NAPAKA',
+  'confirm_email_subject' => '%s - registracija potrjena',
+  'information' => 'Informacija',
+  'failed_sending_email' => 'Ne morem poslati e-poštnega sporočila s podatki o registraciji!',
+  'thank_you' => 'Hvala za registracijo.<br /><br />Navodila za aktiviranje računa so bila poslana na vpisani e-poštni naslov.',
+  'acct_created' => 'Vaš račun je bil ustvarjen - lahko se prijavite s svojim uporabniškim imenom in geslom',
+  'acct_active' => 'Vaš račun je aktiven in se lahko prijavite',
+  'acct_already_act' => 'Vaš račun je že aktiven!', //cpg1.4
+  'acct_act_failed' => 'Tega računa ni možno aktivirati!',
+  'err_unk_user' => 'Izbrani uporabnik ne obstaja!',
+  'x_s_profile' => 'Profil %s',
+  'group' => 'Skupina',
+  'reg_date' => 'Datum pristopa',
+  'disk_usage' => 'Velikost diska',
+  'change_pass' => 'Spremeni geslo',
+  'current_pass' => 'Staro geslo',
+  'new_pass' => 'Novo geslo',
+  'new_pass_again' => 'Novo geslo ponovno',
+  'err_curr_pass' => 'Staro geslo ni pravilno',
+  'apply_modif' => 'Izvedi spremembe',
+  'change_pass' => 'Spremeni moje geslo',
+  'update_success' => 'Profil je bil posodobljen',
+  'pass_chg_success' => 'Geslo je bilo spremenjeno',
+  'pass_chg_error' => 'Geslo ni bilo spremenjeno',
+  'notify_admin_email_subject' => '%s - Obvestilo o registraciji',
+  'last_uploads' => 'Zadnje dodane datoteke.<br />Kliknite za ogled vseh datotek', //cpg1.4
+  'last_comments' => 'Zadnji komentarji.<br />Kliknite za ogled vseh komentarjev', //cpg1.4
+  'notify_admin_email_body' => 'Registriral se je nov uporabnik z imenom "%s"',
+  'pic_count' => 'Dodanih datotek', //cpg1.4
+  'notify_admin_request_email_subject' => '%s - zahtevek za registracijo', //cpg1.4
+  'thank_you_admin_activation' => 'Hvala za registracijo.<br /><br />Vaš zahtevek za aktiviranje uporabniškega računa je bil poslan administratorju. Ko bo vaš račun odobren, prejmete po e-pošti sporočilo z obvestilom o aktiviranju.', //cpg1.4
+  'acct_active_admin_activation' => 'Uporabniški račun je aktiviran, uporabniku je bilo poslano sporočilo z obvestilom o aktiviranju.', //cpg1.4
+  'notify_user_email_subject' => '%s - obvestilo o aktiviranju računa', //cpg1.4
+);
+
+$lang_register_confirm_email = <<<EOT
+Hvala za registracijo pri: {SITE_NAME}
+
+Če želite aktivirati svoj uporabniški račun (uporabniško ime: {USER_NAME} ),kliknite na spodnjo povezavo ali pa jo prekopirajte v naslovno vrstico spletnega brskalnika.
+
+<a href="{ACT_LINK}">{ACT_LINK}</a>
+
+Lep pozdrav,
+
+administrator{SITE_NAME}
+
+EOT;
+
+$lang_register_approve_email = <<<EOT
+Nov uporabnik z uporabniškim imenom "{USER_NAME}" se je registriral v galeriji.
+
+Da aktivirate njegov uporabniški račun, morate klikniti na spodnjo povezavo.
+
+<a href="{ACT_LINK}">{ACT_LINK}</a>
+
+EOT;
+
+$lang_register_activated_email = <<<EOT
+Vaš uporabniški račun je bil odobren in aktiviran.
+
+Lahko se prijavite na <a href="{SITE_LINK}">{SITE_LINK}</a> s svojim uporabniškim imenom "{USER_NAME}"
+
+
+Lepo pozdravljeni,
+
+urednik SITE_NAME}
+
+EOT;
+}
+
+// ------------------------------------------------------------------------- //
+// File reviewcom.php
+// ------------------------------------------------------------------------- //
+
+if (defined('REVIEWCOM_PHP')) $lang_reviewcom_php = array(
+  'title' => 'Pregled komentarjev',
+  'no_comment' => 'Ni komentarjev za pregled',
+  'n_comm_del' => 'Št. pobrisanih komentarjev:%s',
+  'n_comm_disp' => 'Št. prikazanih komentarjev',
+  'see_prev' => 'Prikaz predhodnih',
+  'see_next' => 'Prikaz naslednjih',
+  'del_comm' => 'Pobriši izbrane komentarje',
+  'user_name' => 'Ime', //cpg1.4
+  'date' => 'Datum', //cpg1.4
+  'comment' => 'Komentar', //cpg1.4
+  'file' => 'Datoteka', //cpg1.4
+  'name_a' => 'Uporabniško ime naraščajoče', //cpg1.4
+  'name_d' => 'Uporabniško ime padajoče', //cpg1.4
+  'date_a' => 'Datum naraščajoče', //cpg1.4
+  'date_d' => 'Datum padajoče', //cpg1.4
+  'comment_a' => 'Komentar naraščajoče', //cpg1.4
+  'comment_d' => 'Komentar padajoče', //cpg1.4
+  'file_a' => 'Datoteka naraščajoče', //cpg1.4
+  'file_d' => 'Datoteka padajoče', //cpg1.4
+);
+
+
+// ------------------------------------------------------------------------- //
+// File search.php                                                           //
+// ------------------------------------------------------------------------- //
+
+
+if (defined('SEARCH_PHP')){
+
+$lang_search_php = array(
+  'title' => 'Iskanje po galeriji', //cpg1.4
+  'submit_search' => 'Najdi', //cpg1.4
+  'keyword_list_title' => 'Seznam ključnih besed', //cpg1.4
+  'keyword_msg' => 'Zgornji seznam ni popoln. Ne vključuje besed iz naslovov slik ali njihovih opisov. Poskusite z razširjenim iskanjem.',  //cpg1.4
+  'edit_keywords' => 'Uredi ključne besede', //cpg1.4
+  'search in' => 'Išči v:', //cpg1.4
+  'ip_address' => 'IP naslov', //cpg1.4
+  'fields' => 'Išči v', //cpg1.4
+  'age' => 'Starost', //cpg1.4
+  'newer_than' => 'Novejše od', //cpg1.4
+  'older_than' => 'Starejše od', //cpg1.4
+  'days' => 'dni', //cpg1.4
+  'all_words' => 'Vse besede (IN)', //cpg1.4
+  'any_words' => 'Poljubna (ALI)', //cpg1.4
+);
+
+$lang_adv_opts = array(
+  'title' => 'Naslov', //cpg1.4
+  'caption' => 'Opis', //cpg1.4
+  'keywords' => 'Ključne besede', //cpg1.4
+  'owner_name' => 'Ime lastnika', //cpg1.4
+  'filename' => 'Ime datoteke', //cpg1.4
+);
+
+}
+
+// ------------------------------------------------------------------------- //
+// File searchnew.php
+// ------------------------------------------------------------------------- //
+
+if (defined('SEARCHNEW_PHP')) $lang_search_new_php = array(
+  'page_title' => 'Iskanje novih slik',
+  'select_dir' => 'Izberite mapo',
+  'select_dir_msg' => 'Ta ukaz vam omogoča dodajanje paketa slik, ki ste jih naložili na strežnik s protokolom FTP.<br /><br />Izberite mapo, v katero ste naložili slike', //cpg1.4
+  'no_pic_to_add' => 'Tu ni nobenih slik za dodajanje',
+  'need_one_album' => 'Za uporabo te funkcije morate imeti vsaj en album',
+  'warning' => 'Opozorilo',
+  'change_perm' => 'pisanje v mapo ni omogočeno, spremenite pravice v 755 ali 777 pred ponovnim poskusom dodajanja slik!',
+  'target_album' => '<b>Dodaj slike &quot;</b>%s<b>&quot; v </b>%s',
+  'folder' => 'Mapa',
+  'image' => 'slika',
+  'album' => 'Album',
+  'result' => 'Rezultat',
+  'dir_ro' => 'Pisanje onemogočeno. ',
+  'dir_cant_read' => 'Branje onemogočeno. ',
+  'insert' => 'Dodajanje novih slik v galerijo',
+  'list_new_pic' => 'Seznam novih slik',
+  'insert_selected' => 'Dodaj izbrane slike',
+  'no_pic_found' => 'Brez novih slik',
+  'be_patient' => 'Potrpite, prosim, dodajanje traja nekaj časa',
+  'no_album' => 'album ni bil izbran',
+  'result_icon' => 'kliknite za podrobnosti ali osvežite prikaz strani',  //cpg1.4
+  'notes' =>  '<ul>'.
+                          '<li><b>OK</b> : pomeni, da so slike uspešno dodane'.
+                          '<li><b>DP</b> : pomeni, da je slika dvojnik in je že v bazi'.
+                          '<li><b>PB</b> : pomeni, da slike ni mogoče dodati. Preverite nastavitve in pravice za mapo, v katerem se nahajajo'.
+                          '<li><b>NA</b> : pomeni, da niste izbrali albuma, v katerega želite dodati slike, kliknite gumb \'<a href="javascript:history.back(1)">nazaj</a>\' in izberite n album. Če albuma še nimate, ga najprej <a href="albmgr.php">kreirajte</a></li>'.
+                          '<li>Če ne vidite oznak OK, DP ali PB, kliknite na manjkajočo slikico za prikaz napake, ki jo generira PHP'.
+                          '<li>Za osvežitev prikaza pritisnite tipko za ponovno nalaganje v svojem brskalniku'.
+                          '</ul>',
+  'select_album' => 'Izberite album',
+  'check_all' => 'Označi vse',
+  'uncheck_all' => 'Odznači vse',
+  'no_folders' => 'V mapi "albums" ni nobene mape. Naredite vsaj en uporabniški album v mapi"albums" in s FTP protokolom naložite slike vanj. S FTP-jem ne smete nalagati slik v mapo"userpics" ali "edit", ker sta rezervirani za http dodajanje in interne namene.', //cpg1.4
+   'albums_no_category' => 'Albumi brez kategorij', //cpg1.4 // album pulldown mod, added by frogfoot
+  'personal_albums' => '* Osebni albumi', //cpg1.4 // album pulldown mod, added by frogfoot
+  'browse_batch_add' => 'vmesnik za brskanje (priporočeno)', //cpg1.4
+  'edit_pics' => 'Urejanje slik', //cpg1.4
+  'edit_properties' => 'Lastnosti albuma', //cpg1.4
+  'view_thumbs' => 'Prikaz ikon', //cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File stat_details.php //cpg1.4
+// ------------------------------------------------------------------------- //
+
+if (defined('STAT_DETAILS_PHP')) $lang_stat_details_php = array(
+  'show_hide' => 'prikaži/skrij to kolono', //cpg1.4
+  'vote' => 'Podrobnosti glasovanja', //cpg1.4
+  'hits' => 'Podrobnosti ogledov', //cpg1.4
+  'stats' => 'Statistika glasovanja', //cpg1.4
+  'sdate' => 'Datum', //cpg1.4
+  'rating' => 'Ocena', //cpg1.4
+  'search_phrase' => 'Iskana beseda', //cpg1.4
+  'referer' => 'Napotitelj', //cpg1.4
+  'browser' => 'Brskalnik', //cpg1.4
+  'os' => 'Operacijski sistem', //cpg1.4
+  'ip' => 'IP', //cpg1.4
+  'sort_by_xxx' => 'Razvrsti po %s', //cpg1.4
+  'ascending' => 'naraščajoče', //cpg1.4
+  'descending' => 'padajoče', //cpg1.4
+  'internal' => 'int', //cpg1.4
+  'close' => 'zapri', //cpg1.4
+  'hide_internal_referers' => 'skrij interne napotitelje', //cpg1.4
+  'date_display' => 'Prikaz datuma', //cpg1.4
+  'submit' => 'pošlji/osveži', //cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File thumbnails.php
+// ------------------------------------------------------------------------- //
+
+// Void
+
+// ------------------------------------------------------------------------- //
+// File upload.php
+// ------------------------------------------------------------------------- //
+
+if (defined('UPLOAD_PHP')) $lang_upload_php = array(
+  'title' => 'Dodajanje slik',
+  'custom_title' => 'Kreiranje obrazca za dodajanje slik',
+  'cust_instr_1' => 'Nastavite si lahko poljubno število polj na obrazcu za dodajanje slik, le da ne presežete spodnjih mejnih vrednosti.',
+  'cust_instr_2' => 'Zahtevek za kreiranje obrazca',
+  'cust_instr_3' => 'Polja za lokalne slike: %s',
+  'cust_instr_4' => 'URI/URL polja: %s',
+  'cust_instr_5' => 'URI/URL polja:',
+  'cust_instr_6' => 'Polja za lokalne slike:',
+  'cust_instr_7' => 'Vpišite število polj za posamezno vrsto in kliknite na \'NAPREJ\'. ',
+  'reg_instr_1' => 'Napačen ukaz pri kreiranju obrazca.',
+  'reg_instr_2' => 'Z uporabo spodnjega obrazca lahko zdaj dodate slike. Velikost posamezne datoteke, ki jo želite dodati, ne sme preseči %s KB. Stisnjene (ZIP) datoteke, ki jih boste dodali (neglede na opcijo dodajanja lokalnih datotek ali preko URL naslova), bodo ostale nerazpakirane.',
+  'reg_instr_3' => 'Če želite razpakirati zip datoteke, uporabite obrazec za dodajanje v \'Nalaganje ZIP z razpakiranjem\' področju.',
+  'reg_instr_4' => 'Če uporabite opcijo URI/URL za dodajanje slik, vpišite pot do njih na naslednji način: http://www.mojastran.com/slike/deteljica.jpg',
+  'reg_instr_5' => 'Ko izpolnite obrazec, kliknite \'NAPREJ\'.',
+  'reg_instr_6' => 'Nalaganje ZIP z razpakiranjem:',
+  'reg_instr_7' => 'Dodajanje slik z diska:',
+  'reg_instr_8' => 'Dodajanje slik z URI/URL:',
+  'error_report' => 'Poročilo o napaki',
+  'error_instr' => 'Pri naslednjih datotekah je prišlo do napake:',
+  'file_name_url' => 'Ime datoteke/URL',
+  'error_message' => 'Sporočilo o napaki',
+  'no_post' => 'Slike niso bile poslane.',
+  'forb_ext' => 'Napačna končnica datoteke.',
+  'exc_php_ini' => 'Presežena velikost datoteke glede na dovoljeno v php.ini.',
+  'exc_file_size' => 'Presežena velikost datoteke glede na dovoljeno v nastavitvah galerije.',
+  'partial_upload' => 'Dodajanje je samo delno uspelo.',
+  'no_upload' => 'Dodajanje ni bilo izvedeno.',
+  'unknown_code' => 'Neznana PHP napaka...',
+  'no_temp_name' => 'Nalaganje neuspešno, ker ni začasnega imena.',
+  'no_file_size' => 'Datoteka ne vsebuje podatkov/poškodovana',
+  'impossible' => 'Tega ni moč premakniti.',
+  'not_image' => 'Datoteka ni slika/pokvarjena',
+  'not_GD' => 'Slika ni dovoljena za GD knjižnico (gif,jpg).',
+  'pixel_allowance' => 'Višina in/ali širina slike je večja kot je dovoljeno v nastavitvah galerije.', //cpg1.4
+  'incorrect_prefix' => 'Napačna URI/URL predpona',
+  'could_not_open_URI' => 'Ne morem odpreti URI.',
+  'unsafe_URI' => 'Varnosti ni možno preveriti.',
+  'meta_data_failure' => 'Manjkajo metapodatki',
+  'http_401' => '401 Dostop samo z geslom',
+  'http_402' => '402 Potrebno predhodno plačilo',
+  'http_403' => '403 Prepovedano',
+  'http_404' => '404 Ni najdeno',
+  'http_500' => '500 Napaka na strežniku',
+  'http_503' => '503 Storitev ni na voljo',
+  'MIME_extraction_failure' => 'MIME tip ni prepoznan.',
+  'MIME_type_unknown' => 'Neznani MIME tip',
+  'cant_create_write' => 'Datoteke za pisanje ni mogoče ustvariti.',
+  'not_writable' => 'Pisanje v datoteko ni možno.',
+  'cant_read_URI' => 'Ne morem prebrati naslova URI/URL',
+  'cant_open_write_file' => 'Ni mogoče odpreti URI datoteke za pisanje.',
+  'cant_write_write_file' => 'Ni mogoče pisati v URI datoteko za pisanje.',
+  'cant_unzip' => 'Razpakiranje datoteke ni možno.',
+  'unknown' => 'Neznana napaka',
+  'succ' => 'Uspešno dodano',
+  'success' => 'Št. uspešno dodanih datotek:%s',
+  'add' => 'Prosimo, kliknite \'NAPREJ\' za dodajanje slik v albume.',
+  'failure' => 'Dodajanje ni uspelo',
+  'f_info' => 'Podatki o datoteki',
+  'no_place' => 'Predhodna slika ni mogla biti nameščena.',
+  'yes_place' => 'Predhodna slika je bila uspešno nameščena.',
+  'max_fsize' => 'Največja velikost datotek/slik je %s KB',
+  'album' => 'Album',
+  'picture' => 'Slika',
+  'pic_title' => 'Ime slike',
+  'description' => 'Opis slike',
+  'keywords' => 'Ključne besede (ločite jih s presledki)<br /><a href="#" onClick="return MM_openBrWindow(\'keyword_select.php\',\'selectKey\',\'width=250, height=400, scrollbars=yes,toolbar=no,status=yes,resizable=yes\')">Izberite s seznama</a>', //cpg1.4
+  'keywords_sel' =>'Izberite ključno besedo', //cpg1.4
+  'err_no_alb_uploadables' => 'Žal trenutno noben album ne omogoča dodajanja slik',
+  'place_instr_1' => 'Zdaj lahko dodate vse slike. Vpišete lahko tudi podatke o njih.',
+  'place_instr_2' => 'Na dodajanje čaka še več slik. Kliknite na \'Nadaljuj\'.',
+  'process_complete' => 'Uspešno ste dodali vse slike.',
+   'albums_no_category' => 'Albumi brez kategorij', //cpg1.4. //album pulldown mod, added by frogfoot
+  'personal_albums' => '* osebni albumi', //cpg1.4 //album pulldown mod, added by frogfoot
+  'select_album' => 'Izberite album', //cpg1.4 //album pulldown mod, added by frogfoot
+  'close' => 'Zapri', //cpg1.4
+  'no_keywords' => 'Oprostite, nobenih ključnih besed ni na voljo!', //cpg1.4
+  'regenerate_dictionary' => 'Osveži slovar', //cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File usermgr.php
+// ------------------------------------------------------------------------- //
+
+if (defined('USERMGR_PHP')) $lang_usermgr_php = array(
+  'memberlist' => 'Seznam uporabnikov', //cpg1.4
+  'user_manager' => 'Urejanje uporabnikov', //cpg1.4
+  'title' => 'Urejanje uporabnikov',
+  'name_a' => 'Ime naraščajoče',
+  'name_d' => 'Ime padajoče',
+  'group_a' => 'Skupina naraščajoče',
+  'group_d' => 'Skupina padajoče',
+  'reg_a' => 'Datum reg. naraščajoče',
+  'reg_d' => 'Datum reg. padajoče',
+  'pic_a' => 'Št. fotogr. naraščajoče',
+  'pic_d' => 'Št. fotogr. padajoče',
+  'disku_a' => 'Poraba diska naraščajoče',
+  'disku_d' => 'Poraba diska padajoče',
+  'lv_a' => 'Zadnji obisk naraščajoče',
+  'lv_d' => 'Zadnji obisk padajoče',
+  'sort_by' => 'Razvrsti uporabnike po',
+  'err_no_users' => 'Tabela s podatki je prazna!',
+  'err_edit_self' => 'Svojega profila ne morete spremeniti. Uporabite povezavo \'Moj profil\'',
+  'edit' => 'Urejanje', //cpg1.4
+  'with_selected' => 'Z označenim:', //cpg1.4
+  'delete' => 'Brisanje', //cpg1.4
+  'delete_files_no' => 'obdrži slike (označi kot anonimni prispevek)', //cpg1.4
+  'delete_files_yes' => 'pobriši javne slike', //cpg1.4
+  'delete_comments_no' => 'zadrži komentarje (označi kot anonimne vpise)', //cpg1.4
+  'delete_comments_yes' => 'pobriši komentarje', //cpg1.4
+  'activate' => 'Vklopi', //cpg1.4
+  'deactivate' => 'Izklopi', //cpg1.4
+  'reset_password' => 'Ponastavi geslo', //cpg1.4
+  'change_primary_membergroup' => 'Spremeni osnovno skupino', //cpg1.4
+  'add_secondary_membergroup' => 'Dodaj sekundarno skupino', //cpg1.4
+  'name' => 'Uporabniško ime',
+  'group' => 'Skupina',
+  'inactive' => 'Neaktivni',
+  'operations' => 'Operacije',
+  'pictures' => 'Slik',
+  'disk_space_used' => 'Porabljen prostor', //cpg1.4
+  'disk_space_quota' => 'Dodeljen prostor', //cpg1.4
+  'registered_on' => 'Registracija', //cpg1.4
+  'last_visit' => 'Zadnji obisk',
+  'u_user_on_p_pages' => 'Št. uporabnikov: %d (št. strani: %d)',
+  'confirm_del' => 'Želite pobrisati tega uporabnika? \\nVsi njegovi albumi in slike bodo pobrisani.', //js-alert
+  'mail' => 'Pošta',
+  'err_unknown_user' => 'Izbrani uporabnik ne obstaja!',
+  'modify_user' => 'Uredi uporabnika',
+  'notes' => 'Opombe',
+  'note_list' => '<li>Če gesla ne želite spreminjati, pustite polje za geslo prazno',
+  'password' => 'Geslo',
+  'user_active' => 'Uporabnik je aktiven',
+  'user_group' => 'Skupina uporabnika',
+  'user_email' => 'e-pošta uporabnika',
+  'user_web_site' => 'Spletna stran uporabnika',
+  'create_new_user' => 'Dodaj novega uporabnika',
+  'user_location' => 'Kraj uporabnika',
+  'user_interests' => 'Hobiji uporabnika',
+  'user_occupation' => 'Zaposlitev uporabnika',
+  'user_profile1' => '$user_profile1', //cpg1.4
+  'user_profile2' => '$user_profile2', //cpg1.4
+  'user_profile3' => '$user_profile3', //cpg1.4
+  'user_profile4' => '$user_profile4', //cpg1.4
+  'user_profile5' => '$user_profile5', //cpg1.4
+  'user_profile6' => '$user_profile6', //cpg1.4
+  'latest_upload' => 'Zadnja nalaganja',
+  'never' => 'nikoli',
+  'search' => 'Iskanje uporabnika', //cpg1.4
+  'submit' => 'Pošlji', //cpg1.4
+  'search_submit' => 'Naprej!', //cpg1.4
+  'search_result' => 'Rezultati iskanja: ', //cpg1.4
+  'alert_no_selection' => 'Izbrati morate vsaj enega uporabnika!', //cpg1.4 //js-alert
+  'password' => 'geslo', //cpg1.4
+  'select_group' => 'Izberite skupino', //cpg1.4
+  'groups_alb_access' => 'Pravice skupine na albumu', //cpg1.4
+  'album' => 'Album', //cpg1.4
+  'category' => 'Kategorija', //cpg1.4
+  'modify' => 'Spremembe?', //cpg1.4
+  'group_no_access' => 'Ta skupina nima posebnih pravic', //cpg1.4
+  'notice' => 'Opombe', //cpg1.4
+  'group_can_access' => 'Album(i), do katerih lahko dostopa samo "%s"', //cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File util.php
+// ------------------------------------------------------------------------- //
+
+if (defined('UTIL_PHP')) {
+$lang_util_desc_php = array(
+'Ustvari imena slik iz imen datotek', //cpg1.4
+'Brisanje imen', //cpg1.4
+'Ponastavi ikone in spremeni velikost slik', //cpg1.4
+'Pobriše originalne slike in jih nadomesti z novimi', //cpg1.4
+'Briše originalne ali vmesne fotografije, da sprosti prostor na disku', //cpg1.4
+'Briše komentarje brez pripadajočih fotografij', //cpg1.4
+'Ponovno preveri dimenzije in velikost fotografij (če so bile pred tem ročno spremenjene)', //cpg1.4
+'Resetira števec ogledov', //cpg1.4
+'Prikaže phpinfo', //cpg1.4
+'Posodobi podatkovno bazo', //cpg1.4
+'Prikaže zabeležko z zgodovino', //cpg1.4
+);
+$lang_util_php = array(
+  'title' => 'Administratorjeva orodja',
+  'what_it_does' => 'Kaj vse lahko naredijo',
+  'file' => 'Datoteka',
+  'problem' => 'Problem', //cpg1.4
+  'status' => 'Status', //cpg1.4
+  'title_set_to' => 'naslov, spremenjen v',
+  'submit_form' => 'pošlji',
+  'updated_succesfully' => 'uspešno posodobljeno',
+  'error_create' => 'NAPAKA pri kreiranju',
+  'continue' => 'Obdelam več slik',
+  'main_success' => 'Datoteka %s je bila uspešno uporabljena za izhodišče',
+  'error_rename' => 'Napaka pri preimenovanju %s v %s',
+  'error_not_found' => 'Datoteke %s ni možno najti',
+  'back' => 'nazaj na osnovno stran',
+  'thumbs_wait' => 'Posodabljam ikone in/ali spreminjam velikosti fotografij...',
+  'thumbs_continue_wait' => 'Nadaljujem s posodabljanjem ikon in/ali spreminjanjem velikosti fotografij...',
+  'titles_wait' => 'Posodabljam naslove, počakajte prosim...',
+  'delete_wait' => 'Brišem naslove, počakajte prosim...',
+  'replace_wait' => 'Brišem originalne fotografije in jih nadomeščam s spremenjenimi, počakajte prosim...',
+  'instruction' => 'Kratka navodila',
+  'instruction_action' => 'Izberite akcijo',
+  'instruction_parameter' => 'Nastavite parametre',
+  'instruction_album' => 'Izberite album',
+  'instruction_press' => 'Pritisnite %s',
+  'update' => 'Posodabljanje ikon in/ali spremenjenih fotografij',
+  'update_what' => 'Kaj naj bo posodobljeno',
+  'update_thumb' => 'Samo ikone',
+  'update_pic' => 'Samo spremenjene fotografije',
+  'update_both' => 'Oboje, ikone in spremenjene fotografije',
+  'update_number' => 'Število fotografij, ki bodo spremenjene po vsakem kliku',
+  'update_option' => '(poskusite z nižjo vrednostjo, če pri obdelavi pride do izteka časa na strežniku)',
+  'filename_title' => 'Ime datoteke &rArr; Naslov slike',
+  'filename_how' => 'Kako naj spremenim ime datoteke',
+  'filename_remove' => 'Odstrani končnico .jpg in nadomesti _ (podčrtaje) s presledki',
+  'filename_euro' => 'Spremeni 2003_11_23_13_20_20.jpg v 23/11/2003 13:20',
+  'filename_us' => 'Spremeni 2003_11_23_13_20_20.jpg v 11/23/2003 13:20',
+  'filename_time' => 'Spremeni 2003_11_23_13_20_20.jpg v 13:20',
+  'delete' => 'Briši naslove fotografij ali fotografije originalne velikosti',
+  'delete_title' => 'Brisanje naslovov fotografij',
+  'delete_title_explanation' => 'Pobrisani bodo naslovi vseh fotografij v izbranem albumu.', //cpg1.4
+  'delete_original' => 'Brisanje fotografij originalnih velikosti',
+  'delete_original_explanation' => 'Pobrisane bodo vse VELIKE fotografije.', //cpg1.4
+  'delete_intermediate' => 'Brisanje vmesnih fotografij', //cpg1.4
+  'delete_intermediate_explanation' => 'Pobrisane bodo vse fotografije vmesnih velikosti.<br />Uporabite za sproščanje prostora na disku, če ste izklopili vmesne fotografije, potem ko ste jih že dodali v galerijo.', //cpg1.4
+  'delete_replace' => 'Briše originalne fotografije in jih nadomesti s spremenjenimi',
+  'titles_deleted' => 'Vsi naslovi v navedenem albumu so bili odstranjeni', //cpg1.4
+  'deleting_intermediates' => 'Brišem vmesne fotografije, počakajte...', //cpg1.4
+  'searching_orphans' => 'Iskanje sirot, počakajte...', //cpg1.4
+  'select_album' => 'Izberite album',
+  'delete_orphans' => 'Brisanje komentarjev, ki nimajo pripadajočih fotografij', //cpg1.4
+  'delete_orphans_explanation' => 'Poiskani bodo vsi komentarji brez pripadajočih slik, ki jih boste lahko pobrisali.<br />Označite vse albume.', //cpg1.4
+  'refresh_db' => 'Osvežitev podatkov o merah in velikosti fotografij', //cpg1.4
+  'refresh_db_explanation' => 'S tem bodo ponovno prebrani podatki o merah in velikosti datotek/fotografij. Uporabite, če je napačno javljena velikost prostora na disku ali ste ročno spremenili datoteke/fotografije.', //cpg1.4
+  'reset_views' => 'Brisanje števca ogledov', //cpg1.4
+  'reset_views_explanation' => 'V izbranem albumu bo vsem fotografijam nastavljen števec ogledov na 0.', //cpg1.4
+  'orphan_comment' => 'najden komentar-sirota',
+  'delete' => 'Briši',
+  'delete_all' => 'Briši vse',
+  'delete_all_orphans' => 'Brišem vse sirote?', //cpg1.4
+  'comment' => 'Komentar: ',
+  'nonexist' => 'priključen k neobstoječi fotografiji # ',
+  'phpinfo' => 'Prikaži phpinfo',
+  'phpinfo_explanation' => 'Prikaže tehnične podatke o strežniku.<br />Te podatke boste morda potrebovali, ko boste iskali pomoč za delovanje galerije.', //cpg1.4
+  'update_db' => 'Posodabljanje podatkovne baze',
+  'update_db_explanation' => 'Izvedite ta ukaz potem, ko ste zamenjali katero od datotek v aplikaciji, izvedli spremembe ali nadgradnjo na novejšo različico. Na ta način bodo posodobljene vse tabele in nastavljene pravilne vrednosti za delovanje galerije.',
+  'view_log' => 'Prikaz zabeležk z zgodovino', //cpg1.4
+  'view_log_explanation' => 'Galerija lahko beleži različne aktivnosti uporabnikov, ki jih lahko tukaj pregledujete. Beleženje dogodkov morate vklopiti v <a href="admin.php">nastavitvah galerije</a>.', //cpg1.4
+  'versioncheck' => 'Preverjanje verzije galerije', //cpg1.4
+  'versioncheck_explanation' => 'Preveri verzijo vseh datotek. Na ta način je zagotovljeno, da so zamenjane vse datoteke po nadgradnji ali izdaji nove različice.', //cpg1.4
+  'bridgemanager' => 'Povezovanje galerije', //cpg1.4
+  'bridgemanager_explanation' => 'Vklop/izklop povezovanja/integriranja galerije z ostalimi aplikacijami (forumi, cms,...).', //cpg1.4
+);
+}
+
+// ------------------------------------------------------------------------- //
+	
+// ------------------------------------------------------------------------- //
+
+if (defined('VERSIONCHECK_PHP')) $lang_versioncheck_php = array(
+  'title' => 'Preverjanje verzije galerije', //cpg1.4
+  'what_it_does' => 'Ta stran je namenjena vsem, ki ste nadgradili svojo galerijo. Program bo poskušal primerjati vse datoteke na vašem strežniku s tistimi na http://coppermine.sourceforge.net. Na ta način bodo najdene vse datoteke, ki so potrebne zamenjave z novejšo različico.<br />Datoteke, ki bodo označene z rdečo barvo, je potrebno zamenjati, datoteke, označene z rumeno, je potrebno preveriti (in po potrebi zamenjati). Datoteke, označene z zeleno barvo (ali z vašo privzeto barvo pisave), so pravilne in jih ni potrebno spreminjati.<br />S klikom na ikonico za pomoč lahko izveste še več podrobnosti.', //cpg1.4
+  'online_repository_unable' => 'Povezava z domačo stranjo galerije ni uspela', //cpg1.4
+  'online_repository_noconnect' => 'Galerija Coppermine se ni uspela povezati z matično spletno stranjo. Možna sta dva razloga:', //cpg1.4
+  'online_repository_reason1' => 'domača stran za preverjanje je trenutno izklopljena - preverite, če lahko dostopate do te strani: %s - če to ni možno, poskusite pozneje.', //cpg1.4
+  'online_repository_reason2' => 'PHP na vašem strežniku ima nastavljeno %s na OFF (privzeto je to nastavljeno na ON). Če je strežnik vaš, lahko to nastavite na ON v php.ini datoteki (ali vsaj omogočite, da bo dostopno z %s). Če gostujete s svojimi stranmi drugje, pa boste verjetno morali živeti z zavestjo, da ne morete izvesti primerjave v živo. Na tej strani bodo tako prikazani samo podatki o datotekah v vaši distribuciji galerije.', //cpg1.4
+  'online_repository_skipped' => 'Povezava do domače strani galerije je bila preskočena', //cpg1.4
+  'online_repository_to_local' => 'Program privzeto kaže na lokalno kopijo datotek za prikaz verzije. Podatki so mogoče netočni, če ste izvedli nadgradnjo galerije in niste naložili čisto vseh datotek. Spremembe, narejene po nadgradnji, sploh ne bodo prikazane.', //cpg1.4
+  'local_repository_unable' => 'Povezava do podatkov na vašem strežniku ni uspela', //cpg1.4
+  'local_repository_explanation' => 'Coppermine se ni uspela povezati do podatkov %s na vašem strežniku. To verjetno pomeni, da niste naložili vseh podatkov na strežnik. To lahko naredite sedaj in osvežite prikaz te strani.<br />Če programu še vedno ne bo uspelo prikazati podatkov, je verjetno vaš gostitelj izklopil en del <a href="http://www.php.net/manual/en/ref.filesystem.php">PHP funkcij za delo z datotečnim sistemom</a>. V tem primeru tega orodja sploh ne boste mogli uporabljati.', //cpg1.4
+  'coppermine_version_header' => 'Nameščena verzija galerije', //cpg1.4
+  'coppermine_version_info' => 'Trenutno uporabljate različico %s', //cpg1.4
+  'coppermine_version_explanation' => 'Če mislite, da je to narobe in uporabljate višjo verzijo, ste verjetno pozabili naložiti zadnjo verzijo datoteke <i>include/init.inc.php</i>', //cpg1.4
+  'version_comparison' => 'Primerjava verzij', //cpg1.4
+  'folder_file' => 'mapa/datoteka', //cpg1.4
+  'coppermine_version' => 'verzija cpg', //cpg1.4
+  'file_version' => 'verzija datoteke', //cpg1.4
+  'webcvs' => 'web svn', //cpg1.4
+  'writable' => 'omogoča pisanje', //cpg1.4
+  'not_writable' => 'ne omogoča pisanja', //cpg1.4
+  'help' => 'Pomoč', //cpg1.4
+  'help_file_not_exist_optional1' => 'datoteka/mapa ne obstaja', //cpg1.4
+  'help_file_not_exist_optional2' => 'Datoteke/mape %s ni možno najti na vašem strežniku. Dodate jo lahko s pomočjo FTP protokola (ni pa nujno) - če ugotavljate probleme pri delovanju galerije.', //cpg1.4
+  'help_file_not_exist_mandatory1' => 'datoteka/mapa ne obstaja', //cpg1.4
+  'help_file_not_exist_mandatory2' => 'Datoteke/mape %s ni možno najti na vašem strežniku. Ti podatki so nujno potrebni za pravilno delovanje in jih morate naložiti na strežnik (uporabite FTP prenos).', //cpg1.4
+  'help_no_local_version1' => 'Ni lokalne verzije datoteke', //cpg1.4
+  'help_no_local_version2' => 'Programu ni uspelo preveriti verzije lokalne datoteke. Datoteka je ali zastarela ali pa ste jo spreminjali in odstranili podatke, zapisane v zaglavju datoteke. Priporočamo posodobitev datoteke.', //cpg1.4
+  'help_local_version_outdated1' => 'Lokalna verzija je zastarela', //cpg1.4
+  'help_local_version_outdated2' => 'Vaša datoteka je iz starejše verzije galerije (verjetno ste izvedli nadgradnjo). Posodobite/zamenjajte to datoteko.', //cpg1.4
+  'help_local_version_na1' => 'Preverjanje cvs verzije ni uspelo', //cpg1.4
+  'help_local_version_na2' => 'Programu ni uspelo preveriti, katero verzijo galerije uporabljate. Priporočamo, da ponovno naložite galerijo iz paketa, ki ste ga presneli.', //cpg1.4
+  'help_local_version_dev1' => 'Razvojna verzija', //cpg1.4
+  'help_local_version_dev2' => 'Datoteka na vašem strežniku izgleda novejša kot pa je trenutna verzija galerije. Verjetno uporabljate razvojno različico (priporočljivo samo, če veste kaj delate), ali pa ste izvedli nadgradnjo in niste naložili datoteke include/init.inc.php', //cpg1.4
+  'help_not_writable1' => 'Mapa ne omogoča pisanja', //cpg1.4
+  'help_not_writable2' => 'Spremenite pravice (CHMOD) in omogočite pisanje v mapo %s in v vse kar je v njej.', //cpg1.4
+  'help_writable1' => 'Mapa omogoča pisanje', //cpg1.4
+  'help_writable2' => 'Mapa %s omogoča pisanje. To je nepotrebno in predstavlja varnostno luknjo. Galerija potrebuje samo pravice za branje in izvajanje na tem mestu.', //cpg1.4
+  'help_writable_undetermined' => 'Aplikacija ni mogla ugotoviti, če je pisanje v mapo dovoljeno.', //cpg1.4
+  'your_file' => 'vaša datoteka', //cpg1.4
+  'reference_file' => 'referenčna datoteka', //cpg1.4
+  'summary' => 'Povzetek', //cpg1.4
+  'total' => 'Skupaj preverjenih datotek/map', //cpg1.4
+  'mandatory_files_missing' => 'Manjkajoče obvezne datoteke', //cpg1.4
+  'optional_files_missing' => 'Manjkajoče neobvezne datoteke', //cpg1.4
+  'files_from_older_version' => 'Datoteke, ostale od prejšnjih verzij', //cpg1.4
+  'file_version_outdated' => 'Zastarele datoteke', //cpg1.4
+  'error_no_data' => 'Skripti (program) ni mu uspelo razbrati želenih informacij. Oprostite za nevšečnost.', //cpg1.4
+  'go_to_webcvs' => 'pojdi na %s', //cpg1.4
+  'options' => 'Opcije', //cpg1.4
+  'show_optional_files' => 'prikaži neobvezne mape/datoteke', //cpg1.4
+  'show_mandatory_files' => 'prikaži obvezne datoteke', //cpg1.4
+  'show_file_versions' => 'prikaži verzijo datotek', //cpg1.4
+  'show_errors_only' => 'prikaži samo mape/datoteke z napakami', //cpg1.4
+  'show_permissions' => 'prikaži dovoljenja na mapah', //cpg1.4
+  'show_condensed_output' => 'prikaži zgoščene podatke (za lažji ogled)', //cpg1.4
+  'coppermine_in_webroot' => 'galerija je nameščena na spletnem izhodišču', //cpg1.4
+  'connect_online_repository' => 'poskusi se povezati do online vira podatkov', //cpg1.4
+  'show_additional_information' => 'prikaži dodatne informacije', //cpg1.4
+  'no_webcvs_link' => 'ne prikaži web svn povezave', //cpg1.4
+  'stable_webcvs_link' => 'prikaži web svn povezavo do stabilne verzije', //cpg1.4
+  'devel_webcvs_link' => 'prikaži web svn povezavo do razvojne verzije', //cpg1.4
+  'submit' => 'izvedi spremembe/osveži', //cpg1.4
+  'reset_to_defaults' => 'ponastavi privzete vrednosti', //cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File view_log.php  //cpg1.4
+// ------------------------------------------------------------------------- //
+
+if (defined('VIEWLOG_PHP')) $lang_viewlog_php = array(
+  'delete_all' => 'Briši vse dnevnike', //cpg1.4
+  'delete_this' => 'Briši ta dnevnik', //cpg1.4
+  'view_logs' => 'Ogled dnevnikov', //cpg1.4
+  'no_logs' => 'Ni dnevnikov.', //cpg1.4
+);
+
+
+// ------------------------------------------------------------------------- //
+// File xp_publish.php //cpg1.4
+// ------------------------------------------------------------------------- //
+
+if (defined('XP_PUBLISH_PHP')) {
+
+$lang_xp_publish_client = <<<EOT
+<h1>XP Web čarovnik za objavljanje</h1><p>Ta modul omogoča uporabo čarovnika <b>Windows XP</b> za prenos datotek na strežnik z vašo galerijo.</p><p>Koda temelji na članku, ki ga je poslal
+EOT;
+
+$lang_xp_publish_required = <<<EOT
+<h2>Kaj je potrebno</h2><ul><li>Windows XP, da lahko uporabite čarovnika.</li><li>Delujoča galerija, v kateri <b>pravilno deluje funkcija za objavljanje preko spletnega vmesnika.</b></li></ul><h2>kako namestiti odjemalca za to</h2><ul><li>kliknite z desno tipko na miški na
+EOT;
+
+$lang_xp_publish_select = <<<EOT
+Izberite &quot;shrani cilj kot..&quot;. Shranite datoteko na vaš trdi disk. Pri shranjevanju se prepričajte, da je ime datoteke <b>cpg_###.reg</b> (### predstavlja časovno oznako). Spremenite, če je potrebno, ime v to obliko (pustite pa številke). Po download-u 2x kliknite na datoteko, da registrirate vaš strežnik s čarovnikom za objavljanje.</li></ul>
+EOT;
+
+$lang_xp_publish_testing = <<<EOT
+<h2>Preizkus</h2><ul><li>V raziskovalcu izberite katero od datotek in kliknite na <b>Objavi xxx na spletu</b> v levem okencu.</li><li>Potrdite izbiro datoteke. Kliknite <b>Naprej</b>.</li><li>Na seznamu izberite storitev za vašo galerijo (ima ime vaše galerije). Če te storitve ni na seznamu, preverite, ali ste namestili  <b>cpg_pub_wizard.reg</b> kot je opisano zgoraj.</li><li>Vpišite podatke za prijavo, če je to zahtevano.</li><li>Izberite ciljni album za vaše fotografije ali kreirajte novega.</li><li>Kliknite <b>naprej</b>. Začel se bo prenos fotografij.</li><li>Ko je prenos končan, preverite v galeriji, ali so fotografije pravilno dodane.</li></ul>
+EOT;
+
+$lang_xp_publish_notes = <<<EOT
+<h2>Opombe :</h2><ul><li>Ko se prenos enkrat začne, čarovnik ne more sporočiti nobene napake s strani galerije. Tako pred končanjem procesa ne morete preveriti, ali so bile fotografije pravilno dodane - to lahko preverite samo sami v galeriji.</li><li>Če prenos ni uspel, vklopite &quot;način za odkrivanje napak&quot; v nastavitvah galerije, poskusite dodati samo eno fotografijo in preverite sporočilo o generirani napaki v zabeležki.</li></ul>
+EOT;
+
+$lang_xp_publish_flood = <<<EOT
+datoteki, ki je v mapi galerije na strežniku.</li><li>Da preprečite <i>poplavo fotografij</i>, dodanih s čarovnikom, lahko to funkcijo uporabijo samo <b>administratorji</b> in <b>uporabniki, ki imajo lahko lastne albume</b>.</li>
+EOT;
+
+
+
+$lang_xp_publish_php = array(
+  'title' => 'Coppermine - XP Web čarovnik', //cpg1.4
+  'welcome' => 'Pozdravljeni, <b>%s</b>,', //cpg1.4
+  'need_login' => 'Preden lahko začnete uporabljati čarovnika, se morate prijaviti.<p/><p>Po prijavi ne pozabite označiti polja <b>zapomni si me</b>, če je ta možnost prisotna.', //cpg1.4
+  'no_alb' => 'Oprostite, tukaj ni albumov, v katere bi lahko dodajali fotografije s čarovnikom.', //cpg1.4
+  'upload' => 'Dodajanje fotografij v obstoječi album', //cpg1.4
+  'create_new' => 'Kreiranje novega albuma', //cpg1.4
+  'album' => 'Album', //cpg1.4
+  'category' => 'Kategorija', //cpg1.4
+  'new_alb_created' => 'Vaš novi album &quot;<b>%s</b>&quot; je bil kreiran.', //cpg1.4
+  'continue' => 'Pritisnite &quot;NAPREJ&quot; za začetek dodajanja fotografij', //cpg1.4
+  'link' => 'ta povezava', //cpg1.4
+);
+}
 ?>
\ No newline at end of file
diff -x .svn -aruN 1.4.24.src/lang/spanish.php 1.4.25.src/lang/spanish.php
--- 1.4.24.src/lang/spanish.php	2009-05-25 15:01:17.000000000 -0500
+++ 1.4.25.src/lang/spanish.php	2009-05-26 11:25:40.000000000 -0500
@@ -1,2116 +1,2116 @@
-<?php
-/*************************
-  Coppermine Photo Gallery
-  ************************
-  Copyright (c) 2003-2009 Coppermine Dev Team
-  v1.1 originally written by Gregory DEMAR
-
-  This program is free software; you can redistribute it and/or modify
-  it under the terms of the GNU General Public License version 3
-  as published by the Free Software Foundation.
-  
-  ********************************************
-  Coppermine version: 1.4.24
-  $HeadURL: https://coppermine.svn.sourceforge.net/svnroot/coppermine/trunk/cpg1.4.x/lang/spanish.php $
-  $Revision: 5988 $
-  $Author: gaugau $
-  $Date: 2009-05-25 22:01:41 +0200 (Mo, 25 Mai 2009) $
-**********************************************/
-// ------------------------------------------------------------------------- //
-// $Id: spanish.php 5988 2009-05-25 20:01:41Z gaugau $
-// ------------------------------------------------------------------------- //
-
-if (!defined('IN_COPPERMINE')) { die('Not in Coppermine...');}
-
-// info about translators and translated language
-$lang_translation_info = array(
-'lang_name_english' => 'Spanish',  
-'lang_name_native' => 'Español',
-'lang_country_code' => 'es', 
-'trans_name'=> 'Daniel Villoldo (Grumpywolf), Jorge Escribens (Kemmotar)', //the name of the translator - can be a nickname
-'trans_email' => 'daniel@grumpywolf.net', //translator's email address (optional)
-'trans_website' => 'http://grumpywolf.net/', //translator's website (optional)
-'trans_date' => '2004-03-22', //the date the translation was created / last modified
-);
-
-$lang_charset = 'utf-8';
-$lang_text_dir = 'ltr'; // ('ltr' for left to right, 'rtl' for right to left)
-
-// shortcuts for Byte, Kilo, Mega
-$lang_byte_units = array('Bytes', 'KB', 'MB');
-
-// Day of weeks and months
-$lang_day_of_week = array('Dom', 'Lun', 'Mar', 'Mie', 'Jue', 'Vie', 'Sab');
-$lang_month = array('Ene', 'Feb', 'Mar', 'Abr', 'May', 'Jun', 'Jul', 'Ago', 'Sep', 'Oct', 'Nov', 'Dic');
-
-// Some common strings
-$lang_yes = 'Si';
-$lang_no  = 'No';
-$lang_back = 'ATRAS';
-$lang_continue = 'CONTINUAR';
-$lang_info = 'Información';
-$lang_error = 'Error';
-$lang_check_uncheck_all = 'Marcar/Desmarcar todos'; //cpg1.4
-
-// The various date formats
-// See http://www.php.net/manual/en/function.strftime.php to define the variable below
-$album_date_fmt =    '%d de %B de %Y';
-$lastcom_date_fmt =  '%d/%m/%y a las %H:%M';
-$lastup_date_fmt = '%d de %B de %Y';
-$register_date_fmt = '%d de %B de %Y';
-$lasthit_date_fmt = '%d de %B de %Y a las %I:%M %p';
-$comment_date_fmt =  '%d de %B de %Y a las %I:%M %p';
-$log_date_fmt = '%d de %B de %Y a las %I:%M %p'; //cpg1.4
-
-// For the word censor
-$lang_bad_words = array('joder', 'carajo', 'culeador', '*puta', 'pincho', 'concha', 'Pincho', 'eyacular', 'concha*', 'dago', 'daygo', 'dego', 'pinga*', 'consolador', 'fanculo', 'Heces', 'foreskin', 'Jode\(*', 'Jode*', 'honkey', 'hore', 'injun', 'kike', 'lesbo', 'masturbac*', 'hijo de puta', 'nazis', 'negro*', 'nutsack', 'pene', 'phuck', 'poop', 'vagina', 'scrotum', 'mierda', 'prostituta', 'tetas', 'teta', 'twaty', 'wank*', 'perra', 'wop*');
-
-$lang_meta_album_names = array(
-	'random' => 'Imágenes Al azar',
-	'lastup' => 'Ultimas imágenes',
-	'lastalb'=> 'Últimos álbumes modificados',
-	'lastcom' => 'Últimos comentarios',
-	'topn' => 'Más vistas',
-	'toprated' => 'Más valoradas',
-	'lasthits' => 'Ultimas vistas',
-	'search' => 'Resultado de la búsqueda',
-	'favpics'=> 'Favoritos'
-);
-
-$lang_errors = array(
-	'access_denied' => 'No tienes permisos para acceder a esta página.',
-	'perm_denied' => 'No tienes permisos para realizar esta operación.',
-	'param_missing' => 'Llamada a Script sin los parámetros requeridos.',
-	'non_exist_ap' => '¡El álbum/fichero seleccionado no existe!',
-	'quota_exceeded' => 'Cuota de disco excedida<br /><br />Tienes una cuota de disco de [quota]K, tus archivos actualmente ocupan [space]K, y añadiendo este archivo excederías la cuota.',
-	'gd_file_type_err' => 'Cuando se usa la librería de imagen GD solamente están permitidos los tipos JPEG y PNG.',
-	'invalid_image' => 'La imagen que has añadido está corrupta o no puede ser tratada por la librería GD.',
-	'resize_failed' => 'Incapaz de crear miniatura o imagen de tamaño reducido.',
-	'no_img_to_display' => 'Ninguna imagen que enseñar.',
-	'non_exist_cat' => 'La categoría seleccionada no existe.',
-	'orphan_cat' => 'Una categoría no tiene padre, ejecuta la utilidad de categorías para corregir el problema.',
-	'directory_ro' => 'El directorio \'%s\' no tiene permisos de escritura, los archivos no pueden ser borrados.',
-	'non_exist_comment' => 'El comentario seleccionado no existe.',
-	'pic_in_invalid_album' => '¿¡El archivo está en un álbum que no existe (%s)!?',
-	'banned' => 'Actualmente estás expulsado respecto al uso de esta web.',
-	'not_with_udb' => 'Esta función está desactivada en Coppermine porque está integrada con un software de foros. Lo que fuese que estás intentando hacer no está soportado en esta configuración, o la función debe ser manejada por el software de foros.',
-	'offline_title' => 'Desactivada', //cpg1.3.0
-	'offline_text' => 'La galería está actualmente desactivada, por poco tiempo - ¡vuelve pronto!', //cpg1.3.0
-	'ecards_empty' => 'Actualmente no hay registro de postales para mostrar. ¡Chequea que has activado guardar las postales en la configuración!', //cpg1.3.0
-	'action_failed' => 'Acción no realizada.  Coppermine no es capaz de procesar tu petición.', //cpg1.3.0
-	'no_zip' => 'Las librerías necesarias para procesar ficheros ZIP no están disponibles. Contacta con el administrador de este álbum.', //cpg1.3.0
-	'zip_type' => 'No tienes permisos para añadir ficheros ZIP.', //cpg1.3.0
-	'database_query' => 'Hubo un error al procesar la consulta', //cpg1.4
-'register_globals_on' => 'The PHP setting register_globals is enabled on your server, which is a bad idea in terms of security. It\'s strongly recommended to turn it off. [<a href="http://forum.coppermine-gallery.net/index.php/topic,59569.0.html" rel="external" class="external">more</a>]',
-);
-
-$lang_bbcode_help_title = 'Ayuda de los códigos'; //cpg1.4
-$lang_bbcode_help = 'Los siguientes códigos te pueden ser de utilidad: <li>[b]<b>Negrita</b>[/b]</li> <li>[i]<i>Itálica</i>[/i]</li> <li>[url=http://tusitio.com/]Texto de Web[/url]</li> <li>[email]usuario@dominio.com[/email]</li>'; //cpg1.3.0
-
-// ------------------------------------------------------------------------- //
-// File theme.php
-// ------------------------------------------------------------------------- //
-
-$lang_main_menu = array(
-	'home_title' => 'Ir a la página principal',
-  	'home_lnk' => 'Página Principal',
-	'alb_list_title' => 'Ir a la lista de álbumes',
-	'alb_list_lnk' => 'Lista de albums',
-	'my_gal_title' => 'Ir a mi galería personal',
-	'my_gal_lnk' => 'Mi galería',
-	'my_prof_title' => 'Ir a mi perfil de usuario', //cpg1.4
-	'my_prof_lnk' => 'Mi perfil de usuario',
-	'adm_mode_title' => 'Ir a modo administrador',
-	'adm_mode_lnk' => 'Modo administrador',
-	'usr_mode_title' => 'Ir a modo usuario',
-	'usr_mode_lnk' => 'Modo usuario',
-	'upload_pic_title' => 'Añadir archivo en un álbum',
-	'upload_pic_lnk' => 'Añadir fichero',
-	'register_title' => 'Crear un usuario',
-	'register_lnk' => 'Registrarse',
-  	'login_title' => 'Iniciar sesión', //cpg1.4	
-	'login_lnk' => 'Ingresar',
-	'logout_title' => 'Cerrar sesión', //cpg1.4
-	'logout_lnk' => 'Salir',
-	'lastup_title' => 'Mostrar los últimos archivos', //cpg1.4
-	'lastup_lnk' => 'Últimos archivos',
-  	'lastcom_title' => 'Mostrar los últimos comentarios', //cpg1.4
-	'lastcom_lnk' => 'Últimos comentarios',
-  	'topn_title' => 'Mostrar los mas vistos', //cpg1.4
-	'topn_lnk' => 'Más vistos',
-  	'toprated_title' => 'Mostrar los mas valorados', //cpg1.4
-	'toprated_lnk' => 'Más valorados',
-  	'search_title' => 'Buscar en la galería', //cpg1.4
-	'search_lnk' => 'Buscar',
-  	'fav_title' => 'Ir a mis favoritos', //cpg1.4
-	'fav_lnk' => 'Mis favoritos',
-	'memberlist_title' => 'Mostrar lista de miembros', //cpg1.3.0
-	'memberlist_lnk' => 'Lista de miembros', //cpg1.3.0
-	'faq_title' => 'Preguntas frecuentes sobre la galería de imágenes &quot;Coppermine&quot;', //cpg1.3.0
-	'faq_lnk' => 'FAQ', //cpg1.3.0
-);
-
-$lang_gallery_admin_menu = array(
- 	'upl_app_title' => 'Aprobar nuevos archivos', //cpg1.4
- 	'upl_app_lnk' => 'Aprobar archivos',
-	'admin_title' => 'Ir a la configuración', //cpg1.4
-  	'admin_lnk' => 'Configuración', //cpg1.4
-  	'albums_title' => 'Ir a la configuración de álbumes', //cpg1.4
-	'albums_lnk' => 'Álbumes',
-	'config_lnk' => 'Configuración',
-  	'categories_title' => 'Ir a la configuración de categorías', //cpg1.4
-	'categories_lnk' => 'Categorías',
-  	'users_title' => 'Ir a la configuración de usuarios', //cpg1.4
-	'users_lnk' => 'Usuarios',
-  	'groups_title' => 'Ir a la configuración de grupos', //cpg1.4
-	'groups_lnk' => 'Grupos',
-  	'comments_title' => 'Revisar todos los comentarios', //cpg1.4
-	'comments_lnk' => 'Revisar comentarios',
-  	'searchnew_title' => 'Ir a añadir ficheros (Batch)', //cpg1.4
-	'searchnew_lnk' => 'Añadir ficheros (Batch)',
-  	'util_title' => 'Ir a las herramientas administrativas', //cpg1.4
-	'util_lnk' => 'Herramientas administrativas',
-  	'key_title' => 'Ir al diccionario de palabras claves', //cpg1.4
-  	'key_lnk' => 'Diccionario de palabras claves', //cpg1.4
-  	'ban_title' => 'Ir a los expulsar usuarios', //cpg1.4
-	'ban_lnk' => 'Expulsar usuarios',
-  	'db_ecard_title' => 'Revisar postales', //cpg1.4
-	'db_ecard_lnk' => 'Mostrar postales', //cpg1.3.0
-  	'pictures_title' => 'Ordenar mis imágenes', //cpg1.4
-  	'pictures_lnk' => 'Ordenar mis imágenes', //cpg1.4
-  	'documentation_lnk' => 'Documentación', //cpg1.4
-  	'documentation_title' => 'Manual de Coppermine', //cpg1.4
-);
-
-$lang_user_admin_menu = array(
-  	'albmgr_title' => 'Crear y ordenar mis álbumes', //cpg1.4
-	'albmgr_lnk' => 'Crear / ordenar álbumes',
-  	'modifyalb_title' => 'Ir a modificar mis álbumes',  //cpg1.4
-	'modifyalb_lnk' => 'Modificar mis álbumes',
-  	'my_prof_title' => 'Ir a mi perfil', //cpg1.4
-	'my_prof_lnk' => 'Mi perfil',
-);
-
-$lang_cat_list = array(
-	'category' => 'Categoría',
-	'albums' => 'álbumes',
-	'pictures' => 'Ficheros',
-);
-
-$lang_album_list = array(
-	'album_on_page' => '%d álbumes en %d página(s)'
-);
-
-$lang_thumb_view = array(
-	'date' => 'FECHA',
-	//Sort by filename and title
-	'name' => 'NOMBRE',
-	'title' => 'TITULO',
-	'sort_da' => 'Ordenado por fecha ascendente',
-	'sort_dd' => 'Ordenado por fecha descendente',
-	'sort_na' => 'Ordenado por nombre ascendente',
-	'sort_nd' => 'Ordenado por nombre descendente',
-	'sort_ta' => 'Ordenado por título ascendente',
-	'sort_td' => 'Ordenado por título descendente',
-  	'position' => 'POSICION', //cpg1.4
-  	'sort_pa' => 'Ordenado por posición ascendente', //cpg1.4
-  	'sort_pd' => 'Ordenado por posición descendente', //cpg1.4
-	'download_zip' => 'Descargar como fichero Zip', //cpg1.3.0
-	'pic_on_page' => '%d archivos en %d página(s)',
-	'user_on_page' => '%d usuarios en %d página(s)',
-  	'enter_alb_pass' => 'Ingrese la contraseña del álbum', //cpg1.4
-  	'invalid_pass' => 'Contraseña equivocada', //cpg1.4
-  	'pass' => 'Contraseña', //cpg1.4
-  	'submit' => 'Enviar', //cpg1.4
-);
-
-$lang_img_nav_bar = array(
-	'thumb_title' => 'Volver al índice del album',
-	'pic_info_title' => 'Mostrar/ocultar información del fichero',
-	'slideshow_title' => 'Slideshow',
-	'ecard_title' => 'Enviar una postal con esta imagen',
-	'ecard_disabled' => 'Envio de postales deshabilitado',
-	'ecard_disabled_msg' => 'No tienes permisos para enviar postales',
-	'prev_title' => 'Ver fichero anterior',
-	'next_title' => 'Ver fichero siguiente',
-	'pic_pos' => 'FICHERO %s/%s',
-  	'report_title' => 'Reportar este archivo al administradór', //cpg1.4
-  	'go_album_end' => 'Saltar al final', //cpg1.4
-  	'go_album_start' => 'Volver al principio', //cpg1.4
-  	'go_back_x_items' => 'retroceder %s elementos', //cpg1.4
-  	'go_forward_x_items' => 'avanzar %s elementos', //cpg1.4
-);
-
-$lang_rate_pic = array(
-	'rate_this_pic' => 'Valorar este archivo ',
-	'no_votes' => '(No hay votos)',
-	'rating' => '(valoración actual : %s / 5 con %s votos)',
-	'rubbish' => 'Malo',
-	'poor' => 'Regular',
-	'fair' => 'Normal',
-	'good' => 'Bueno',
-	'excellent' => 'Excelente',
-	'great' => 'Genial',
-);
-
-// ------------------------------------------------------------------------- //
-// File include/exif.inc.php
-// ------------------------------------------------------------------------- //
-
-// void
-
-// ------------------------------------------------------------------------- //
-// File include/functions.inc.php
-// ------------------------------------------------------------------------- //
-
-$lang_cpg_die = array(
-	INFORMATION => $lang_info,
-	ERROR => $lang_error,
-	CRITICAL_ERROR => 'Error crítico',
-	'file' => 'Fichero: ',
-	'line' => 'Línea: ',
-);
-
-$lang_display_thumbnails = array(
-	'filename' => 'Fichero: ',
-	'filesize' => 'Tamaño: ',
-	'dimensions' => 'Dimensiones: ',
-	'date_added' => 'Fecha de alta: ',
-);
-
-$lang_get_pic_data = array(
-	'n_comments' => '%s comentarios',
-	'n_views' => '%s veces vista',
-	'n_votes' => '(%s votos)'
-);
-
-$lang_cpg_debug_output = array(
-  'debug_info' => 'Información de Debug', //cpg1.3.0
-  'select_all' => 'Seleccionar Todo', //cpg1.3.0
-  'copy_and_paste_instructions' => 'Si vas a pedir ayuda en el foro de soporte de coppermine, copia y pega esta información de debug en tu mensaje. Asegúrate de reemplazar cualquier contraseña de la consulta con *** (asteriscos) antes de enviarlo.', //cpg1.3.0
-  'phpinfo' => 'mostrar phpinfo', //cpg1.3.0
-  'notices' => 'Alertas', //cpg1.4
-);
-
-$lang_language_selection = array(
-  'reset_language' => 'Lenguaje por defecto', //cpg1.3.0
-  'choose_language' => 'Elije tu lenguaje', //cpg1.3.0
-);
-
-$lang_theme_selection = array(
-  'reset_theme' => 'Tema por defecto', //cpg1.3.0
-  'choose_theme' => 'Elige tu tema (aspecto)', //cpg1.3.0
-);
-
-$lang_version_alert = array(
-  'version_alert' => '¡Versión no soportada!', //cpg1.4
-  'no_stable_version' => 'Estas ejecutando Coppermine %s (%s) que solo es recomendado para usuarios experimentados - esta versión no viene con ninguna garantía o suporte. ¡Úsala bajo tu propio riesgo o instala la ultima versión estable si necesitas soporte!', //cpg1.4
-  'gallery_offline' => 'La galería se encuentra fuera de línea y solo será visible para ti como administrador. No te olvides de ponerla en línea después de terminar el mantenimiento.', //cpg1.4
-);
-
-$lang_create_tabs = array(
-  'previous' => 'anterior', //cpg1.4
-  'next' => 'siguiente', //cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File include/init.inc.php
-// ------------------------------------------------------------------------- //
-
-// void
-
-// ------------------------------------------------------------------------- //
-// File include/picmgmt.inc.php
-// ------------------------------------------------------------------------- //
-
-// void
-
-// ------------------------------------------------------------------------- //
-// File keyword.inc.php                                                      //
-// ------------------------------------------------------------------------- //
-
-// void
-
-// ------------------------------------------------------------------------- //
-// File include/plugin_api.inc.php
-// ------------------------------------------------------------------------- //
-$lang_plugin_api = array(
-  'error_wakeup' => "No se pudo iniciar el plugin '%s'", //cpg1.4
-  'error_install' => "No se pudo instalar el plugin '%s'", //cpg1.4
-  'error_uninstall' => "No se pudo desinstalar el plugin '%s'", //cpg1.4
-  'error_sleep' => "No se pudo pausar el plugin '%s'<br />", //cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File include/smilies.inc.php
-// ------------------------------------------------------------------------- //
-
-if (defined('SMILIES_PHP')) $lang_smilies_inc_php = array(
-	'Exclamation' => 'Exclamación',
-	'Question' => 'Pregunta',
-	'Very Happy' => 'Muy feliz',
-	'Smile' => 'Sonrisa',
-	'Sad' => 'Triste',
-	'Surprised' => 'Sorprendido',
-	'Shocked' => 'Conmocionado',
-	'Confused' => 'Confundido',
-	'Cool' => 'Genial',
-	'Laughing' => 'Riéndose',
-	'Mad' => 'Molesto',
-	'Razz' => 'Razz?',
-	'Embarassed' > 'Avergonzado',
-	'Crying or Very sad' => 'Llorando o muy triste',
-	'Evil or Very Mad' => 'Malo o muy molesto',
-	'Twisted Evil' => 'Malvado retorcido',
-	'Rolling Eyes' => 'Ojitos girando',
-	'Wink' => 'Guiño',
-	'Idea' => 'Idea',
-	'Arrow' => 'Flecha',
-	'Neutral' => 'Neutral',
-	'Mr. Green' => 'Sr. Verde',
-);
-
-// ------------------------------------------------------------------------- //
-// File addpic.php
-// ------------------------------------------------------------------------- //
-
-// void
-
-// ------------------------------------------------------------------------- //
-// File mode.php
-// ------------------------------------------------------------------------- //
-
-if (defined('MODE_PHP')) $lang_admin_php = array(
-	0 => 'Saliendo del modo administrador...',
-	1 => 'Entrando al modo administrador...',
-);
-
-// ------------------------------------------------------------------------- //
-// File albmgr.php
-// ------------------------------------------------------------------------- //
-
-if (defined('ALBMGR_PHP')) $lang_albmgr_php = array(
-	'alb_need_name' => '¡Los álbumes deben tener un nombre!', //js-alert
-	'confirm_modifs' => '¿Estás seguro de querer aplicar las modificaciones?', //js-alert
-	'no_change' => '¡No se hizo ningún cambio!', //js-alert
-	'new_album' => 'Nuevo álbum',
-	'confirm_delete1' => '¿Estás seguro de querer borrar este álbum?', //js-alert
-	'confirm_delete2' => '\n¡Todos las archivos y comentarios que contiene se perderán!', //js-alert
-	'select_first' => 'Selecciona un álbum primero',
-	'alb_mrg' => 'Administrador de Albums',
-	'my_gallery' => '* Mi galería *',
-	'no_category' => '* Sin categoría *',
-	'delete' => 'Borrar',
-	'new' => 'Nuevo',
-	'apply_modifs' => 'Aplicar modificaciones',
-	'select_category' => 'Seleccionar categoría',
-);
-
-// ------------------------------------------------------------------------- //
-// File banning.php
-// ------------------------------------------------------------------------- //
-
-if (defined('BANNING_PHP')) $lang_banning_php = array(
-  'title' => 'Expulsar usuarios', //cpg1.4
-  'user_name' => 'Nombre de usuario', //cpg1.4
-  'ip_address' => 'Dirección IP', //cpg1.4
-  'expiry' => 'Expira (déjelo en blanco para hacerlo permanente)', //cpg1.4
-  'edit_ban' => 'Guardar Cambios', //cpg1.4
-  'delete_ban' => 'Borrar', //cpg1.4
-  'add_new' => 'Añadir nuevo', //cpg1.4
-  'add_ban' => 'Añadir', //cpg1.4
-  'error_user' => 'No se puede encontrar al usuario', //cpg1.4
-  'error_specify' => 'Necesita especificar un nombre de usuario o una dirección IP', //cpg1.4
-  'error_ban_id' => '¡ID Invalido!', //cpg1.4
-  'error_admin_ban' => '¡No se puede expulsar Ud mismo!', //cpg1.4
-  'error_server_ban' => '¿Va a expulsar su propio servidor? Tsk tsk, no puede hacer eso...', //cpg1.4
-  'error_ip_forbidden' => 'No puede expulsar esta IP - ¡igual no es ruteable (privada)!<br />si desea permitir la expulsión de IPs privadas, cambie esto en su <a href="admin.php">archivo de configuración</a> (solo tiene sentido si Coppermine se ejecuta en una LAN).', //cpg1.4
-  'lookup_ip' => 'Buscar una IP', //cpg1.4
-  'submit' => 've!', //cpg1.4
-  'select_date' => 'Seleccionar una fecha', //cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File bridgemgr.php //cpg1.4
-// ------------------------------------------------------------------------- //
-
-if (defined('BRIDGEMGR_PHP')) $lang_bridgemgr_php = array(
-  'title' => 'Asistente de Enlaces',
-  'warning' => 'Advertencia: al utilizar este asistente debe entender que la información importante es enviada usando formularios HTML. Ejecútelo solo en su computador personal (no en una cabina de Internet), y asegúrese de borrar el cache y los archivos temporales del explorador después de terminar, u otras personas podrán acceder a su información!',
-  'back' => 'retroceder',
-  'next' => 'siguiente',
-  'start_wizard' => 'Iniciando del asistente de enlaces',
-  'finish' => 'Finalizar',
-  'hide_unused_fields' => 'ocultar campos del formulario no utilizados (recomendado)',
-  'clear_unused_db_fields' => 'limpiar entradas en la base de datos no usadas (recomendado)',
-  'custom_bridge_file' => 'nombre del archivo de enlaces (si el archivo de enlace es <i>miarchivo.inc.php</i>, introduzca <i>miarchivo</i> en este campo)',
-  'no_action_needed' => 'No se requieren acciones en este paso. Solo presione \'siguiente\' para continuar.',
-  'reset_to_default' => 'Restaurar predeterminados',
-  'choose_bbs_app' => 'escoja la aplicación para enlazar con Coppermine',
-  'support_url' => 'Ir aquí para soporte sobre la aplicación',
-  'settings_path' => 'ruta usada por su aplicación BBS',
-  'database_connection' => 'conexión a la base de datos',
-  'database_tables' => 'tablas de la base de datos',
-  'bbs_groups' => 'grupos BBS',
-  'license_number' => 'Numero de Licencia',
-  'license_number_explanation' => 'ingrese su numero de licencia (si aplica)',
-  'db_database_name' => 'Nombre de la base de datos',
-  'db_database_name_explanation' => 'Ingrese el nombre de la base de datos que su aplicación BBS usa',
-  'db_hostname' => 'Servidor de Base de datos',
-  'db_hostname_explanation' => 'Nombre del servidor donde su base de datos mySQL se encuentra, usualmente &quot;localhost&quot;',
-  'db_username' => 'Usuario de la base de datos',
-  'db_username_explanation' => 'Usuario de mySQL para usar en la conexión con su aplicación BBS',
-  'db_password' => 'Contraseña de la base de datos',
-  'db_password_explanation' => 'Contraseña para este usuario mySQL ',
-  'full_forum_url' => 'URL del foro',
-  'full_forum_url_explanation' => ' URL completa de su aplicación BBS (incluyendo http:// bit, e.g. http://www.tudominio.tld/foro)',
-  'relative_path_of_forum_from_webroot' => 'Ruta relativa del foro',
-  'relative_path_of_forum_from_webroot_explanation' => 'Ruta relativa de su aplicación BBS (Ejemplo: Si su  BBS se encuentra en http://www.tudominio.tld/foro/, ingrese &quot;/foro/&quot; en este campo)',
-  'relative_path_to_config_file' => 'ruta relativa de su archivo de configuración de la aplicación BBS\'s',
-  'relative_path_to_config_file_explanation' => 'Ruta relativa de su aplicación BBS, vista desde el directorio de Coppermine (e.g. &quot;../foro/&quot; si su  BBS esta en http://www.tudominio.tld/foro/ y Coppermine en http://www.tudominio.tld/gallery/)',
-  'cookie_prefix' => 'Prefijo de la cookie',
-  'cookie_prefix_explanation' => 'esto tiene que ser en nombre de la cookie de su aplicación BBS\'s',
-  'table_prefix' => 'Prefijo de las tablas',
-  'table_prefix_explanation' => 'Tiene que coincidir con el prefijo que escogió al configurar su BBS.',
-  'user_table' => 'Tabla de Usuarios',
-  'user_table_explanation' => '(usualmente el valor por defecto debería estar bien, a menos que la instalación de su aplicación no esa estándar)',
-  'session_table' => 'Tabla de sesiones',
-  'session_table_explanation' => '(usualmente el valor por defecto debería estar bien, a menos que la instalación de su aplicación no esa estándar)',
-  'group_table' => 'Tabla de grupos',
-  'group_table_explanation' => '(usualmente el valor por defecto debería estar bien, a menos que la instalación de su aplicación no esa estándar)',
-  'group_relation_table' => 'Tabla de relaciones de grupos',
-  'group_relation_table_explanation' => '(usualmente el valor por defecto debería estar bien, a menos que la instalación de su aplicación no esa estándar)',
-  'group_mapping_table' => 'Tabla de mapeo de grupos',
-  'group_mapping_table_explanation' => '(usualmente el valor por defecto debería estar bien, a menos que la instalación de su aplicación no esa estándar)',
-  'use_standard_groups' => 'Usar grupos de usuarios estándar de su BBS',
-  'use_standard_groups_explanation' => 'Usar grupos de usuarios estándar (incorporados) (recomendado). Esto hará que todas las configuraciones de los grupos de usuarios personalizados hechos en esta pagina sean nulos. ¡Solo deshabilita esta opción si realmente sabes lo que estas haciendo!',
-  'validating_group' => 'Validación de grupos',
-  'validating_group_explanation' => 'El ID del grupo en su aplicación BBS donde las cuentas de usuario que necesitan validación se encuentran (usualmente el valor por defecto debería estar bien, a menos que la instalación de su aplicación no esa estándar)',
-  'guest_group' => 'Grupo invitado',
-  'guest_group_explanation' => 'ID del grupo en su aplicación BBS donde los usuarios invitados (anónimos) se encuentran (usualmente el valor por defecto debería estar bien, solo edítelo si realmente sabe lo que esta haciendo)',
-  'member_group' => 'Grupo de miembros',
-  'member_group_explanation' => 'ID del grupo de su aplicación BBS donde las cuentas de los usuarios &quot;regulares&quot; se encuentran (usualmente el valor por defecto debería estar bien, solo edítelo si realmente sabe lo que esta haciendo)',
-  'admin_group' => 'Grupo administrador',
-  'admin_group_explanation' => 'ID del grupo de su aplicación BBS donde las cuentas de los administradores se encuentran (usualmente el valor por defecto debería estar bien, solo edítelo si realmente sabe lo que esta haciendo)',
-  'banned_group' => 'Grupo de expulsados',
-  'banned_group_explanation' => 'ID del grupo de su aplicación BBS donde las cuentas de los expulsados se encuentran (usualmente el valor por defecto debería estar bien, solo edítelo si realmente sabe lo que esta haciendo)',
-  'global_moderators_group' => 'Grupo de Moderadores globales',
-  'global_moderators_group_explanation' => 'ID del grupo de su aplicación BBS donde las cuentas de los moderadores globales se encuentran (usualmente el valor por defecto debería estar bien, solo edítelo si realmente sabe lo que esta haciendo)',
-  'special_settings' => 'Configuraciones especificas de su BBS',
-  'logout_flag' => 'versión de phpBB (indicador de cierre de sesión)',
-  'logout_flag_explanation' => '¿Cual es la versión de su BBS? (para conocer como se trabaja con los cierres de sesión)',
-  'use_post_based_groups' => '¿Usar grupos basados en POST?',
-  'logout_flag_yes' => '¿2.0.5 o mayor?',
-  'logout_flag_no' => '¿2.0.4 o menor?',
-  'use_post_based_groups_explanation' => '¿Deberán ser tomados en consideración los grupos de su BBS que son definidos por su numero de &quot;POSTS&quot;? (permitir un manejo de permisos granular) o solo los grupos por defecto (mas fácil para el administrador, recomendado). Puede ser cambiado luego.',
-  'use_post_based_groups_yes' => 'si',
-  'use_post_based_groups_no' => 'no',
-  'error_title' => 'Necesita corregir estos errores antes de continuar. Vaya a ala pantalla anterior.',
-  'error_specify_bbs' => 'Necesita definir la aplicación a enlazar con la instalación de Coppermine.',
-  'error_no_blank_name' => 'No puede dejar el nombre de su archivo de enlace personalizado en blanco.',
-  'error_no_special_chars' => 'El archivo de enlace no puede contener ningún carácter extraño excepto guión bajo (_) y guión (-)!',
-  'error_bridge_file_not_exist' => 'El archivo de enlace %s no existe en este servidor. Verifique que lo halla subido.',
-  'finalize' => 'habilitar/deshabilitar la integración con BBS',
-  'finalize_explanation' => 'Hasta ahora, la configuración especificada ha sido escrita en la base de datos, pero la integración con BBS no esta habilitada. Puede iniciar/detener la integración en cualquier momento. asegúrese de recordar la contraseña de administrador del Coppermine independiente, puede necesitarlo luego para hacer algunos cambios. Si algo sale mal, vaya a %s y deshabilite la integración con BBS, usando tu cuanta de administrador independiente (no enlazado)(usualmente la que se introdujo al instalar Coppermine).',
-  'your_bridge_settings' => 'configuración de enlace',
-  'title_enable' => 'Habilitar/deshabilitar integración con %s',
-  'bridge_enable_yes' => 'habilitado',
-  'bridge_enable_no' => 'deshabilitado',
-  'error_must_not_be_empty' => 'no debe de estar vació',
-  'error_either_be' => 'debe ser %s o %s',
-  'error_folder_not_exist' => '%s no existe. Corrija el valor ingresado por %s',
-  'error_cookie_not_readible' => 'Coppermine no puede leer la cookie llamada %s. Corrija el valor ingresado por %s, o vaya al panel de administración de su BBS y asegúrese que la ruta de la cookie es leíble por coppermine.',
-  'error_mandatory_field_empty' => 'No puede dejar el campo %s vació - llene el valor apropiado.',
-  'error_no_trailing_slash' => 'No debe haber un "slash" en el campo %s.',
-  'error_trailing_slash' => 'Debe haber un "slash" en el campo %s.',
-  'error_db_connect' => 'No se pudo conectar a la base de datos MySQL con la información proporcionada. Esto es lo que MySQL reporta: ',
-  'error_db_name' => 'Aunque Coppermine pudo conectarse con la base de datos, no pudo encontrar la base de datos %s. asegúrese que ha especificado %s propiamente. Esto es lo que MySQL reporta:',
-  'error_prefix_and_table' => '%s y ',
-  'error_db_table' => 'No se pudo encontrar la tabla %s. asegúrese que ha especificado %s correctamente.',
-  'recovery_title' => 'Administrador de enlace: recuperación de emergencia',
-  'recovery_explanation' => 'Si ha entrado aquí para administrar la integración de su BBS con su galería Coppermine, primero debe iniciar sesión como administrador. Si no puede iniciar sesión porque el enlace no esta funcionando como se esperaba, puede deshabilitar la integración en esta página. Ingresando su usuario y contraseña no iniciara sesión, solo deshabilitara la integración con su BBS. Refiérase a la documentación para detalles.',
-  'username' => 'Usuario',
-  'password' => 'Contraseña',
-  'disable_submit' => 'enviar',
-  'recovery_success_title' => 'Autenticación exitosa',
-  'recovery_success_content' => 'Ha deshabilitado exitosamente la integración con su BBS. Su instalación de Coppermine se esta ejecutando en modo independiente.',
-  'recovery_success_advice_login' => 'Inicia sesión como administrador para editar su configuración de enlace y/o activar la integración con su BBS nuevamente.',
-  'goto_login' => 'Ir a la pagina de Inicio de Sesión',
-  'goto_bridgemgr' => 'Ir al administrador de enlaces',
-  'recovery_failure_title' => 'Autenticación fallida',
-  'recovery_failure_content' => 'Ha suplido las credenciales equivocadas. Deberá suplir la información de la cuenta de administrador de la versión independiente (usualmente la cuenta que suplió al instalar Coppermine).',
-  'try_again' => 'inténtelo de nuevo',
-  'recovery_wait_title' => 'El tiempo de espera no ha terminado',
-  'recovery_wait_content' => 'Por motivos de seguridad no se permiten intentos fallidos consecutivos el intentar iniciar sesión, por lo que tendrá que esperar un poco antes de poder volver a intentar autenticarse nuevamente.',
-  'wait' => 'espere',
-  'create_redir_file' => 'Crear archivo de redirección (recomendado)',
-  'create_redir_file_explanation' => 'Para redirigir usuarios de nuevo al Coppermine luego de que hallan cerrado sesión en su BBS, necesita que un archivo de redirección sea creado en la carpeta de su BBS. Cuando esta opción es activada, el administrado de enlaces intentara crear este archivo por Usted, o darle un código listo para copiar y pegar para crear el archivo manualmente.',
-  'browse' => 'navegar',
-);
-
-// ------------------------------------------------------------------------- //
-// File calendar.php //cpg1.4
-// ------------------------------------------------------------------------- //
-
-if (defined('CALENDAR_PHP')) $lang_calendar_php = array(
-  'title' => 'Calendario', //cpg1.4
-  'close' => 'cerrar', //cpg1.4
-  'clear_date' => 'limpiar fecha', //cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File catmgr.php
-// ------------------------------------------------------------------------- //
-
-if (defined('CATMGR_PHP')) $lang_catmgr_php = array(
-	'miss_param' => '¡Los parámetros requeridos para la operación: \'%s\' no han sido suministrados!',
-	'unknown_cat' => 'La categoría seleccionada no existe en la base da datos',
-	'usergal_cat_ro' => '¡Las categorías de galerías de usuario no pueden ser borradas!',
-	'manage_cat' => 'Organizador de categorías',
-	'confirm_delete' => 'Estás seguro de querer BORRAR esta categoría',
-	'category' => 'Categoría',
-	'operations' => 'Operaciones',
-	'move_into' => 'Mover hacia',
-	'update_create' => 'Modificar/Crear categoría',
-	'parent_cat' => 'Categoría padre',
-	'cat_title' => 'Título de la categoría',
-	'cat_thumb' => 'Imagen miniatura de la categoría', //cpg1.3.0
-	'cat_desc' => 'Descripción de la categoría',
-  	'categories_alpha_sort' => 'Ordenar categorías alfabéticamente (en lugar del orden por defecto)', //cpg1.4
-  	'save_cfg' => 'Salvar configuración', //cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File admin.php //cpg1.4
-// ------------------------------------------------------------------------- //
-
-if (defined('ADMIN_PHP')) $lang_admin_php = array(
-	'title' => 'Configuración',
-  	'manage_exif' => 'Manejo del mostrado de EXIF', //cpg1.4
-  	'manage_plugins' => 'Manejo de plugins', //cpg1.4
-  	'manage_keyword' => 'Manejo de palabras clave', //cpg1.4
-	'restore_cfg' => 'Restaurar valores por defecto',
-	'save_cfg' => 'Guardar la nueva configuración',
-	'notes' => 'Notas',
-	'info' => 'Información',
-	'upd_success' => 'La configuración de Coppermine ha sido actualizada',
-	'restore_success' => 'Valores por defecto de Coppermine restaurados',
-	'name_a' => 'Ascendente por nombre',
-	'name_d' => 'Descendente por nombre',
-	'title_a' => 'Ascendente por título',
-	'title_d' => 'Descendente por título',
-	'date_a' => 'Ascendente por fecha',
-	'date_d' => 'Descendente por fecha',
-  	'pos_a' => 'Posición ascendente', //cpg1.4
-  	'pos_d' => 'Posición descendente', //cpg1.4
-	'th_any' => 'Máximo alto/ancho',
-	'th_ht' => 'Altura',
-	'th_wd' => 'Anchura',
-	'label' => 'etiqueta', //cpg1.3.0
-	'item' => 'gráfico', //cpg1.3.0
-	'debug_everyone' => 'Para todos', //cpg1.3.0
-	'debug_admin' => 'Administradores solamente', //cpg1.3.0
-  	'no_logs'=> 'Desactivado', //cpg1.4
-  	'log_normal'=> 'Normal', //cpg1.4
-  	'log_all' => 'Todo', //cpg1.4
-  	'view_logs' => 'Ver logs', //cpg1.4
-  	'click_expand' => 'click en el nombre de la sección para expandir', //cpg1.4
-  	'expand_all' => 'Expandir todo', //cpg1.4
-	'bbs_disabled' => 'Función deshabilitada cuando se usa la integración con bb', //cpg1.4
-  	'auto_resize_everyone' => 'Todos', //cpg1.4
-  	'auto_resize_user' => 'Solo el usuario', //cpg1.4
-  	'ascending' => 'ascendente', //cpg1.4
-  	'descending' => 'descendente', //cpg1.4
-        );
-
-if (defined('ADMIN_PHP')) $lang_admin_data = array(
-	'Parámetros generales',
-	array('Nombre de la galería', 'gallery_name', 0, 'f=index.htm&amp;as=admin_general_name&amp;ae=admin_general_name_end'),
-	array('Descripción de la galería', 'gallery_description', 0, 'f=index.htm&amp;as=admin_general_description&amp;ae=admin_general_description_end'),
-	array('Correo electrónico del administrador', 'gallery_admin_email', 0, 'f=index.htm&amp;as=admin_general_email&amp;ae=admin_general_email_end'),
-  	array('URL del fólder de tu galería coppermine (no \'index.php\' o similar al final)', 'ecards_more_pic_target', 0, 'f=index.htm&amp;as=admin_general_coppermine-url&amp;ae=admin_general_coppermine-url_end'), //cpg1.4
-  	array('URL de tu pagina de inicio', 'home_target', 0, 'f=index.htm&amp;as=admin_general_home-url&amp;ae=admin_general_home-url_end'), //cpg1.4
-	array('Permitir descargas de favoritos en formato ZIP', 'enable_zipdownload', 1, 'f=index.htm&amp;as=admin_general_zip-download&amp;ae=admin_general_zip-download_end'), //cpg1.3.0
-  	array('Diferencia horaria relativa a GMT (Hora actual: ' . localised_date(-1, $comment_date_fmt) . ')','time_offset',0, 'f=index.htm&amp;as=admin_general_time-offset&amp;ae=admin_general_time-offset_end&amp;top=1'), //cpg1.4
-  	array('Permitir contraseñas encriptadas (no pude ser revertido)','enable_encrypted_passwords',1, 'f=index.htm&amp;as=admin_general_encrypt_password_start&amp;ae=admin_general_encrypt_password_end&amp;top=1'), // cpg 1.4
-  	array('Habilitar iconos de ayuda (la ayuda esta disponible solo en ingles)','enable_help',9, 'f=index.htm&amp;as=admin_general_help&amp;ae=admin_general_help_end'), //cpg1.4
-  	array('Habilitar click sobre las palabras en la búsqueda','clickable_keyword_search',14, 'f=index.htm&amp;as=admin_general_keywords_start&amp;ae=admin_general_keywords_end'), //cpg1.4
-  	array('Habilitar plugins', 'enable_plugins', 12, 'f=index.htm&amp;as=admin_general_enable-plugins&amp;ae=admin_general_enable-plugins_end'),  //cpg1.4
-  	array('Permitir expulsión de IP no-ruteables (Privadas)', 'ban_private_ip', 1,  'f=index.htm&amp;as=admin_general_private-ip&amp;ae=admin_general_private-ip_end'), //cpg1.4
-  	array('Interfase de búsqueda de archivos batch', 'browse_batch_add', 1, 'f=index.htm&amp;as=admin_general_browsable_batch_add&amp;ae=admin_general_browsable_batch_add_end'), //cpg1.4
-
-	'Idioma, temas (aspecto) y juego de caracteres',
-	array('Idioma', 'lang', 5, 'f=index.htm&amp;as=admin_language_language&amp;ae=admin_language_language_end'),
-	array('Mostrar lista de idiomas', 'language_list', 1, 'f=index.htm&amp;as=admin_language_list&amp;ae=admin_language_list_end'), //cpg1.3.0
-	array('Mostrar banderas de idiomas', 'language_flags', 8, 'f=index.htm&amp;as=admin_language_flags&amp;ae=admin_language_flags_end&amp;top=1'), //cpg1.3.0
-	array('Mostrar &quot;reset&quot; en selección de idiomas', 'language_reset', 1, 'f=index.htm&amp;as=admin_language_reset&amp;ae=admin_language_reset_end&amp;top=1'), //cpg1.3.0
-  	array('¿Regresar a Ingles si el archivo de lenguaje no fue encontrado?', 'language_fallback', 1, 'f=index.htm&amp;as=admin_language_fallback&amp;ae=admin_language_fallback_end'), //cpg1.4
-  	array('Juego de caracteres', 'charset', 4, 'f=index.htm&amp;as=admin_language_charset&amp;ae=admin_language_charset_end'), //cpg1.4
-  	//array('Mostrar anterior/siguiente en las paginas tabuladas', 'previous_next_tab', 1), //cpg1.4
-	
-	'Configuración de temas',
-  	array('Tema (Aspecto)', 'theme', 6, 'f=index.htm&amp;as=admin_theme_theme&amp;ae=admin_theme_theme_end'),
-  	array('Mostrar lista de temas (aspecto)', 'theme_list', 1, 'f=index.htm&amp;as=admin_theme_theme_list&amp;ae=admin_theme_theme_list_end'), //cpg1.4
-  	array('Mostrar &quot;reset&quot; en selección de temas', 'theme_reset', 1, 'f=index.htm&amp;as=admin_theme_theme_reset&amp;ae=admin_theme_theme_reset_end'), //cpg1.3.0
-  	array('Mostrar FAQ (preguntas frecuentes)', 'display_faq', 1, 'f=index.htm&amp;as=admin_theme_faq&amp;ae=admin_theme_faq_end'), //cpg1.3.0
-  	array('Nombre del enlace del menú personalizado', 'custom_lnk_name', 0,'f=index.htm&amp;as=admin_theme_custom_lnk_name&amp;ae=admin_theme_custom_lnk_name_end'), //cpg1.4
-  	array('URL del link del menú personalizado', 'custom_lnk_url', 0,'f=index.htm&amp;as=admin_language_custom_lnk_url&amp;ae=admin_language_custom_lnk_url_end'), //cpg1.4
-	array('Mostrar ayuda sobre bbcode', 'show_bbcode_help', 1, 'f=index.htm&amp;as=admin_theme_bbcode&amp;ae=admin_theme_bbcode_end&amp;top=1'), //cpg1.3.0
-  	array('Mostrar el &quot;vaniti block&quot; en temas que han sido definidos como compilados para XHTML y CSS','vanity_block',1, 'f=index.htm&amp;as=vanity_block&amp;ae=vanity_block_end'), //cpg1.4
-  	array('Ruta de inserción de la cabecera personalizada', 'custom_header_path', 0, 'f=index.htm&amp;as=admin_theme_include_path_start&amp;ae=admin_theme_include_path_end'), //cpg1.4
-  	array('Ruta de inserción del pie de página personalizado', 'custom_footer_path', 0, 'f=index.htm&amp;as=admin_theme_include_path_start&amp;ae=admin_theme_include_path_end'), //cpg1.4
-	
-	'Aspecto de la lista de álbumes',
-  	array('Anchura de la tabla principal (pixels o %)', 'main_table_width', 0, 'f=index.htm&amp;as=admin_album_table-width&amp;ae=admin_album_table-width_end'),
-	array('Número de niveles de categorías a mostrar', 'subcat_level', 0, 'f=index.htm&amp;as=admin_album_category-levels&amp;ae=admin_album_category-levels_end'),
-  	array('Número de álbumes a mostrar', 'albums_per_page', 0, 'f=index.htm&amp;as=admin_album_number&amp;ae=admin_album_number_end'),
-	array('Número de columnas en la lista de álbumes', 'album_list_cols', 0, 'f=index.htm&amp;as=admin_album_columns&amp;ae=admin_album_columns_end'),
-  	array('Tamaño de las imágenes miniatura en pixels', 'alb_list_thumb_size', 0, 'f=index.htm&amp;as=admin_album_thumbnail-size&amp;ae=admin_album_thumbnail-size_end'),
-  	array('Contenido de la página principal', 'main_page_layout', 0, 'f=index.htm&amp;as=admin_album_list_content&amp;ae=admin_album_list_content_end'),
-	array('Mostrar imagen miniatura de álbumes de primer nivel en categorías','first_level',1, 'f=index.htm&amp;as=admin_album_first-level_thumbs&amp;ae=admin_album_first-level_thumbs_end'),
-  	array('Organizar categoría alfabéticamente (en lugar del orden predefinida)','categories_alpha_sort',1, 'f=index.htm&amp;as=admin_album_list_alphasort_start&amp;ae=admin_album_list_alphasort_end'), //cpg1.4
-  	array('Mostrar numero de archivos enlazados','link_pic_count',1, 'f=index.htm&amp;as=admin_album_linked_files_start&amp;ae=admin_album_linked_files_end'), //cpg1.4
-
-	'Aspecto de la vista de miniaturas',
-	array('Número de columnas en la página de imágenes miniatura', 'thumbcols', 0, 'f=index.htm&amp;as=admin_thumbnail_columns&amp;ae=admin_thumbnail_columns_end'),
-	array('Número de filas en la página de imágenes miniatura', 'thumbrows', 0, 'f=index.htm&amp;as=admin_thumbnail_rows&amp;ae=admin_thumbnail_rows_end'),
-	array('Máximo número de pestañas (tabs) a mostrar', 'max_tabs', 10, 'f=index.htm&amp;as=admin_thumbnail_tabs&amp;ae=admin_thumbnail_tabs_end'),
-	array('Mostrar file caption (además del título) debajo de la imagen miniatura', 'caption_in_thumbview', 1, 'f=index.htm&amp;as=admin_thumbnail_display_caption&amp;ae=admin_thumbnail_display_caption_end'),
-	array('Mostrar número de veces vista debajo de la imagen miniatura', 'views_in_thumbview', 1, 'f=index.htm&amp;as=admin_thumbnail_display_views&amp;ae=admin_thumbnail_display_views_end'), //cpg1.3.0
-	array('Mostrar número de comentarios debajo de la imagen miniatura', 'display_comment_count', 1, 'f=index.htm&amp;as=admin_thumbnail_display_comments&amp;ae=admin_thumbnail_display_comments_end'),
-	array('Mostrar nombre del usuario que añadió el archivo debajo de la imagen miniatura', 'display_uploader', 1, 'f=index.htm&amp;as=admin_thumbnail_display_uploader&amp;ae=admin_thumbnail_display_uploader_end'), //cpg1.3.0
-  	//array('Mostrar el nombre de los administrador que subieron el archivo debajo del nombre', 'display_admin_uploader', 1, 'f=index.htm&amp;as=admin_thumbnail_display_admin_uploader&amp;ae=admin_thumbnail_display_admin_uploader_end'), //cpg1.4
-	array('Orden por defecto de las imágenes', 'default_sort_order', 3, 'f=index.htm&amp;as=admin_thumbnail_default_sortorder&amp;ae=admin_thumbnail_default_sortorder_end'),
-	array('Mínimo número de votos para que una foto aparezca el la lista de \'Más Valoradas\'', 'min_votes_for_rating', 0, 'f=index.htm&amp;as=admin_thumbnail_minimum_votes&amp;ae=admin_thumbnail_minimum_votes_end'), //cpg1.3.0
-  	array('Mostrar nombre de la imagen miniatura', 'display_filename', 1, 'f=index.htm&amp;as=admin_thumbnail_display_filename&amp;ae=admin_thumbnail_display_filename_end'), //cpg1.4
-	//array('Mostrar descripción del álbum', 'alb_desc_thumb', 1, 'f=index.htm&amp;as=admin_thumbnail_display_description&amp;ae=admin_thumbnail_display_description_end'), //cpg1.4
-
-	'Vista de imágenes',
-	array('Anchura de la tabla donde mostrar la imagen (pixels o %)', 'picture_table_width', 0, 'f=index.htm&amp;as=admin_image_comment_table-width&amp;ae=admin_image_comment_table-width_end'),
-	array('Información del fichero visible por defecto', 'display_pic_info', 1, 'f=index.htm&amp;as=admin_image_comment_info_visible&amp;ae=admin_image_comment_info_visible_end'),
-	array('Máxima longitud para la descripción de una imagen', 'max_img_desc_length', 0, 'f=index.htm&amp;as=admin_image_comment_descr_length&amp;ae=admin_image_comment_descr_length_end'),
-	array('Máximo número de caracteres en una palabra', 'max_com_wlength', 0, 'f=index.htm&amp;as=admin_image_comment_chars_per_word&amp;ae=admin_image_comment_chars_per_word_end'),
-	array('Mostrar tira de película', 'display_film_strip', 1, 'f=index.htm&amp;as=admin_image_comment_filmstrip_toggle&amp;ae=admin_image_comment_filmstrip_toggle_end'),
-	array('Número de objetos en tira de película', 'max_film_strip_items', 0, 'f=index.htm&amp;as=admin_image_comment_filmstrip_number&amp;ae=admin_image_comment_filmstrip_number_end'),
-	array('Intervalo de tiempo entre imágenes en el Slideshow en milisegundos (1 segundo = 1000 milisegundos)', 'slideshow_interval', 0, 'f=index.htm&amp;as=admin_image_comment_slideshow_interval&amp;ae=admin_image_comment_slideshow_interval_end'), //cpg1.3.0
-  	array('Mostrar nombre de archivo debajo de la imagen miniatura de la tira de película', 'display_film_strip_filename', 1, 'f=index.htm&amp;as=admin_image_comment_display_film_strip_filename&amp;ae=admin_image_comment_display_film_strip_filename_end'), //cpg1.4
-
-  	'Configuración de comentarios', //cpg1.4
-	array('Filtrar palabras malsonantes en los comentarios', 'filter_bad_words', 1, 'f=index.htm&amp;as=admin_image_comment_bad_words&amp;ae=admin_image_comment_bad_words_end'),
-	array('Permitir emoticons en los comentarios', 'enable_smilies', 1, 'f=index.htm&amp;as=admin_image_comment_smilies&amp;ae=admin_image_comment_smilies_end'),
-	array('Permitir varios comentarios consecutivos del mismo usuario en una imagen (deshabilitar protección contra flood)', 'disable_comment_flood_protect', 1, 'f=index.htm&amp;as=admin_image_comment_flood&amp;ae=admin_image_comment_flood_end'), //cpg1.3.0
-	array('Máximo número de líneas en un comentario', 'max_com_lines', 0, 'f=index.htm&amp;as=admin_image_comment_lines&amp;ae=admin_image_comment_lines_end'),
-	array('Máxima longitud de un comentario', 'max_com_size', 0, 'f=index.htm&amp;as=admin_image_comment_length&amp;ae=admin_image_comment_length_end'),
-	array('Notificar al administrador por email de los comentarios', 'email_comment_notification', 1, 'f=index.htm&amp;as=admin_image_comment_admin_notify&amp;ae=admin_image_comment_admin_notify_end'), //cpg1.3.0
-  	array('Ordenar los comentarios', 'comments_sort_descending', 17, 'f=index.htm&amp;as=admin_comment_sort_start&amp;ae=admin_comment_sort_end'), //cpg1.4
-  	array('Prefijo para autores anónimos', 'comments_anon_pfx', 0, 'f=index.htm&amp;as=comments_anon_pfx&amp;ae=comments_anon_pfx_end'), //cpg1.4
-
-	'Configuración de archivos e imágenes miniatura',
-	array('Calidad para los ficheros JPEG', 'jpeg_qual', 0, 'f=index.htm&amp;as=admin_picture_thumbnail_jpeg_quality&amp;ae=admin_picture_thumbnail_jpeg_quality_end'),
-	array('Máxima anchura o altura de las imágenes miniatura <b>*</b>', 'thumb_width', 0, 'f=index.htm&amp;as=admin_picture_thumbnail_max-dimension&amp;ae=admin_picture_thumbnail_max-dimension_end'),
-	array('Usar dimensión ( anchura, altura o máximo para las imágenes miniatura )<b>**</b>', 'thumb_use', 7, 'f=index.htm&amp;as=admin_picture_thumbnail_use-dimension&amp;ae=admin_picture_thumbnail_use-dimension_end'),
-	array('Crear imágenes de tamaño intermedio','make_intermediate',1, 'f=index.htm&amp;as=admin_picture_thumbnail_intermediate_toggle&amp;ae=admin_picture_thumbnail_intermediate_toggle_end'),
-	array('Máxima anchura o altura de las imágenes de tamaño intermedio <b>*</b>', 'picture_width', 0, 'f=index.htm&amp;as=admin_picture_thumbnail_intermediate_dimension&amp;ae=admin_picture_thumbnail_intermediate_dimension_end'),
-	array('Máximo tamaño de los ficheros añadidos por los usuarios (KB)', 'max_upl_size', 0, 'f=index.htm&amp;as=admin_picture_thumbnail_max_upload_size&amp;ae=admin_picture_thumbnail_max_upload_size_end'),
-	array('Máxima anchura o altura de las imágenes/videos añadidos (pixels)', 'max_upl_width_height', 0, 'f=index.htm&amp;as=admin_picture_thumbnail_max_upload_dimension&amp;ae=admin_picture_thumbnail_max_upload_dimension_end'),
-	array('Escalar automáticamente imágenes que son mas grandes que el máximo alto o ancho', 'auto_resize', 16, 'f=index.htm&amp;as=admin_picture_thumbnail_auto-resize&amp;ae=admin_picture_thumbnail_auto-resize_end'), //cpg1.4
-	
-	'Configuración avanzada de archivos e imágenes miniatura', //cpg1.3.0
-	array('Mostrar icono de álbum privado a usuarios no registrados','show_private',1, 'f=index.htm&amp;as=admin_picture_thumb_advanced_private_icon_show&amp;ae=admin_picture_thumb_advanced_private_icon_show_end'), //cpg1.3.0
-	array('Caracteres prohibidos en los nombres de archivos', 'forbiden_fname_char',0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_filename_forbidden_chars&amp;ae=admin_picture_thumb_advanced_filename_forbidden_chars_end'), //cpg1.3.0
-	//array('Extensiones admitidas al añadir archivos', 'allowed_file_extensions',0, 'f=index.htm&amp;as=&amp;ae=_end'), //cpg1.3.0
- 	array('Tipos de imágenes admitidas', 'allowed_img_types',0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_pic_extensions&amp;ae=admin_picture_thumb_advanced_pic_extensions_end'), //cpg1.3.0
-	array('Tipos de archivos de video admitidos', 'allowed_mov_types',0, 'f=index.htm&amp;as=admin_thumbs_advanced_movie&amp;ae=admin_thumbs_advanced_movie_end'), //cpg1.3.0
-	array('Tipos de archivos de sonido admitidos', 'allowed_snd_types',0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_audio_extensions&amp;ae=admin_picture_thumb_advanced_audio_extensions_end'), //cpg1.3.0
-	array('Tipos de documentos admitidos', 'allowed_doc_types',0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_doc_extensions&amp;ae=admin_picture_thumb_advanced_doc_extensions_end'), //cpg1.3.0
-	array('Método para el reescalado de imágenes','thumb_method',2, 'f=index.htm&amp;as=admin_picture_thumb_advanced_resize_method&amp;ae=admin_picture_thumb_advanced_resize_method_end'), //cpg1.3.0
-	array('Ruta a la utilidad \'convert\' de ImageMagick (por ejemplo /usr/bin/X11/)', 'impath', 0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_im_path&amp;ae=admin_picture_thumb_advanced_im_path_end'), //cpg1.3.0
-	//array('Tipos de archivo admitidos (solo válidos con ImageMagick)', 'allowed_img_types',0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_allowed_imagetypes&amp;ae=admin_picture_thumb_advanced_allowed_imagetypes_end'), //cpg1.3.0
-	array('Comandos de línea para ImageMagick', 'im_options', 0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_im_commandline&amp;ae=admin_picture_thumb_advanced_im_commandline_end'), //cpg1.3.0
-	array('Leer datos EXIF en los archivos JPEG', 'read_exif_data', 1, 'f=index.htm&amp;as=admin_picture_thumb_advanced_exif&amp;ae=admin_picture_thumb_advanced_exif_end'), //cpg1.3.0
-	array('Leer datos IPTC en los archivos JPEG', 'read_iptc_data', 1, 'f=index.htm&amp;as=admin_picture_thumb_advanced_iptc&amp;ae=admin_picture_thumb_advanced_iptc_end'), //cpg1.3.0
-	array('Directorio base de los álbumes <a href="#notice1" class="clickable_option">*</a>', 'fullpath', 0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_albums_dir&amp;ae=admin_picture_thumb_advanced_albums_dir_end'), //cpg1.3.0
-	array('Directorio para los archivos de los usuarios <a href="#notice1" class="clickable_option">*</a>', 'userpics', 0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_userpics_dir&amp;ae=admin_picture_thumb_advanced_userpics_dir_end'), //cpg1.3.0
-	array('Prefijo para las imágenes intermedias <a href="#notice1" class="clickable_option">*</a>', 'normal_pfx', 0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_intermediate_prefix&amp;ae=admin_picture_thumb_advanced_intermediate_prefix_end'), //cpg1.3.0
-	array('Prefijo para las imágenes miniatura <a href="#notice1" class="clickable_option">*</a>', 'thumb_pfx', 0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_thumbs_prefix&amp;ae=admin_picture_thumb_advanced_thumbs_prefix_end'), //cpg1.3.0
-	array('Modo por defecto para los directorios', 'default_dir_mode', 0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_chmod_folder&amp;ae=admin_picture_thumb_advanced_chmod_folder_end'), //cpg1.3.0
-	array('Modo por defecto para los archivos', 'default_file_mode', 0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_chmod_files&amp;ae=admin_picture_thumb_advanced_chmod_files_end'), //cpg1.3.0
-  	array('Autoinicio de Peliculas', 'media_autostart',1, 'f=index.htm&amp;as=admin_movie_autoplay&amp;ae=admin_movie_autoplay_end'), //cpg1.4
-	array('Los usuarios pueden tener álbumes privados (Nota: si cambias de \'si\' a \'no\' todos los álbumes privados que existan se convertirán en públicos)', 'allow_private_albums', 1), //cpg1.3.0
-
-	'Configuración de usuarios',
-	array('Permitir el registro de nuevos usuarios', 'allow_user_registration', 1, 'f=index.htm&amp;as=admin_allow_registration&amp;ae=admin_allow_registration_end'),
-	array('Registro de usuarios requiere verificación de email', 'reg_requires_valid_email', 1, 'f=index.htm&amp;as=admin_registration_verify&amp;ae=admin_registration_verify_end'),
-	array('Notificar por email al administrador del registro de nuevos usuarios', 'reg_notify_admin_email', 1, 'f=index.htm&amp;as=admin_registration_notify&amp;ae=admin_registration_notify_end'), //cpg1.3.0
-  	array('Permitir a dos usuarios tener el mismo email', 'allow_duplicate_emails_addr', 1, 'f=index.htm&amp;as=admin_allow_duplicate_emails_addr&amp;ae=admin_allow_duplicate_emails_addr_end'),
-	array('Notificar al administrador de archivos añadidos esperando autorización', 'upl_notify_admin_email', 1, 'f=index.htm&amp;as=admin_approval_notify&amp;ae=admin_approval_notify_end'), //cpg1.3.0
-	array('Permitir a los usuarios validados ver la lista de miembros', 'allow_memberlist', 1, 'f=index.htm&amp;as=admin_user_memberlist&amp;ae=admin_user_memberlist_end'), //cpg1.3.0
-  	array('Permitir accesos de usuarios no logueados (invitados o anónimos)', 'allow_unlogged_access', 1, 'f=index.htm&amp;as=admin_allow_unlogged_access&amp;ae=admin_allow_unlogged_access_end'), //cpg1.4
-  	array('Activación del registro por el administrador', 'admin_activation', 1, 'f=index.htm&amp;as=admin_activation&amp;ae=admin_activation_end'),  //cpg1.4
-  	array('Permitir a los usuarios cambiar su correo en su perfil', 'allow_email_change', 1, 'f=index.htm&amp;as=admin_user_allow_email_change&amp;ae=admin_user_allow_email_change_end'), //cpg1.4
-  	array('Permitir a los usuarios tener control sobre sus archivos en galerias publicas', 'users_can_edit_pics', 1, 'f=index.htm&amp;as=admin_user_editpics_public_start&amp;ae=admin_user_editpics_public_end'), //cpg1.4
-  	array('Numero de intentos fallidos de autentificación antes de proceder a la expulsión (para evitar ataques de fuerza bruta)', 'login_threshold', 0, 'f=index.htm&amp;as=admin_user_login_start&amp;ae=admin_user_login_end'), //cpg1.4
-  	array('Duración de la expulsión luego de los intentos fallidos', 'login_expiry', 0, 'f=index.htm&amp;as=admin_user_login_start&amp;ae=admin_user_login_end'), //cpg1.4
-  	array('Activar reporte al administrador', 'report_post', 1, 'f=index.htm&amp;as=admin_user_enable_report&amp;ae=admin_user_enable_report_end'),  //cpg1.4
-
-// custom profile fields,  //cpg1.4
-  	'Campos personalizados para perfiles de usuarios (déjelo en blanco si no se usa).
-  	Utilice el Perfil 6 para entradas largas, como biografías', //cpg1.4
-  	array('Nombre del Perfil 1', 'user_profile1_name', 0, 'f=index.htm&amp;as=admin_custom&amp;ae=admin_custom_end'), //cpg1.4
-  	array('Nombre del Perfil 2', 'user_profile2_name', 0), //cpg1.4
-  	array('Nombre del Perfil 3', 'user_profile3_name', 0), //cpg1.4
-  	array('Nombre del Perfil 4', 'user_profile4_name', 0), //cpg1.4
-  	array('Nombre del Perfil 5', 'user_profile5_name', 0), //cpg1.4
-  	array('Nombre del Perfil 6', 'user_profile6_name', 0), //cpg1.4
-
-	'Campos extra para descripción de imágenes (dejar en blanco si no se usan)',
-	array('Nombre del campo 1', 'user_field1_name', 0, 'f=index.htm&amp;as=admin_custom_image&amp;ae=admin_custom_image_end'),
-	array('Nombre del campo 2', 'user_field2_name', 0),
-	array('Nombre del campo 3', 'user_field3_name', 0),
-	array('Nombre del campo 4', 'user_field4_name', 0),
-  	
-	'Configuración de cookies',
-	array('Nombre de la cookie usada por el script (cuando se use junto con foros, tener cuidado de que sea diferente de la cookie de los foros)', 'cookie_name', 0, 'f=index.htm&amp;as=admin_cookie_name&amp;ae=admin_cookie_name_end'),
-	array('Ruta de la cookie usada por el script', 'cookie_path', 0, 'f=index.htm&amp;as=admin_cookie_path&amp;ae=admin_cookie_path_end'),
-
-  	'configuración de correo (usualmente no requiere cambios, deje los campos en blanco si no esta seguro)', //cpg1.4
-  	array('Servidor SMTP (si se deja en blanco se usara sendmail)', 'smtp_host', 0, 'f=index.htm&amp;as=admin_email&amp;ae=admin_email_end'), //cpg1.4
-  	array('Usuario SMTP', 'smtp_username', 0), //cpg1.4
-  	array('Contraseña SMTP', 'smtp_password', 0), //cpg1.4
-
-  	'Registro de Sucesos (Log) y estadísticas', //cpg1.4
-  	array('Modo de Registro de sucesos <a href="#notice3" class="clickable_option">***</a>', 'log_mode', 11, 'f=index.htm&amp;as=admin_logging_log_mode&amp;ae=admin_logging_log_mode_end'), //cpg1.4
-  	array('Registrar los sucesos de postales', 'log_ecards', 1, 'f=index.htm&amp;as=admin_general_log_ecards&amp;ae=admin_general_log_ecards_end'), //cpg1.4
-  	array('Mantener estadísticas detalladas de los votos','vote_details',1, 'f=index.htm&amp;as=admin_logging_votedetails&amp;ae=admin_logging_votedetails_end'), //cpg1.4
-  	array('Mantener estadísticas detalladas de los hits','hit_details',1, 'f=index.htm&amp;as=admin_logging_hitdetails&amp;ae=admin_logging_hitdetails_end'), //cpg1.4
-	
-	'Configuraciones de Mantenimiento', //cpg1.4
-	array('Activar modo debug', 'debug_mode', 9, 'f=index.htm&amp;as=debug_mode&amp;ae=debug_mode_end'), //cpg1.3.0
-	array('Mostrar avisos en modo debug', 'debug_notice', 1, 'f=index.htm&amp;as=admin_misc_debug_notices&amp;ae=admin_misc_debug_notices_end'), //cpg1.3.0
-	array('Galería desactivada', 'offline', 1, 'f=index.htm&amp;as=admin_general_offline&amp;ae=admin_general_offline_end'), //cpg1.3.0
-	'<br /><div align="left"><a name="notice1"></a>(*) Estos valores no deben ser cambiados si ya existen archivos en la base de datos.<br />
-	<a name="notice2"></a>(**) Si se cambian estos valores, solamente afectará a los archivos que se añadan desde este momento, por lo que es recomendable no cambiarlos si ya hay imágenes en la galería. Puedes, sin embargo, hacer los cambios sobre imágenes existentes con la utilidad &quot;<a href="util.php">Cambiar tamaños</a>&quot; del menú de administración.<br />
-	<a name="notice3"></a>(***) Todos los archivos de registro de sucesos son escritos en ingles.</div><br />', //cpg1.3.0
-);
-
-// ------------------------------------------------------------------------- //
-// File db_ecard.php //cpg1.3.0
-// ------------------------------------------------------------------------- //
-
-if (defined('DB_ECARD_PHP')) $lang_db_ecard_php = array(
-  'title' => 'Postales enviadas', //cpg1.3.0
-  'ecard_sender' => 'Remitente', //cpg1.3.0
-  'ecard_recipient' => 'Destinatario', //cpg1.3.0
-  'ecard_date' => 'Fecha', //cpg1.3.0
-  'ecard_display' => 'Mostrar postal', //cpg1.3.0
-  'ecard_name' => 'Nombre', //cpg1.3.0
-  'ecard_email' => 'Email', //cpg1.3.0
-  'ecard_ip' => 'IP #', //cpg1.3.0
-  'ecard_ascending' => 'ascendente', //cpg1.3.0
-  'ecard_descending' => 'descendente', //cpg1.3.0
-  'ecard_sorted' => 'Orden', //cpg1.3.0
-  'ecard_by_date' => 'por fecha', //cpg1.3.0
-  'ecard_by_sender_name' => 'por nombre del remitente', //cpg1.3.0
-  'ecard_by_sender_email' => 'por email del remitente', //cpg1.3.0
-  'ecard_by_sender_ip' => 'por dirección IP del remitente', //cpg1.3.0
-  'ecard_by_recipient_name' => 'por nombre del destinatario', //cpg1.3.0
-  'ecard_by_recipient_email' => 'por email del destinatario', //cpg1.3.0
-  'ecard_number' => 'mostrando registros %s al %s de %s', //cpg1.3.0
-  'ecard_goto_page' => 'ir a la página', //cpg1.3.0
-  'ecard_records_per_page' => 'Registros por página', //cpg1.3.0
-  'check_all' => 'Marcar todos', //cpg1.3.0
-  'uncheck_all' => 'Desmarcar todos', //cpg1.3.0
-  'ecards_delete_selected' => 'Borrar postales seleccionadas', //cpg1.3.0
-  'ecards_delete_confirm' => '¿Estás seguro de querer borrar estos registros? ¡Marca la checkbox!', //cpg1.3.0
-  'ecards_delete_sure' => 'Estoy seguro', //cpg1.3.0
-);
-
-
-// ------------------------------------------------------------------------- //
-// File db_input.php
-// ------------------------------------------------------------------------- //
-
-if (defined('DB_INPUT_PHP')) $lang_db_input_php = array(
-	'empty_name_or_com' => 'Debes introducir tu nombre y un comentario',
-	'com_added' => 'Tu comentario ha sido añadido',
-	'alb_need_title' => '¡Debes de introducir un título para el álbum!',
-	'no_udp_needed' => 'No se requiere ningún cambio',
-	'alb_updated' => 'El álbum ha sido actualizado',
-	'unknown_album' => 'El álbum seleccionado no existe o no tienes permisos para añadir fotos en este álbum',
-	'no_pic_uploaded' => '¡Ningún fichero fue añadido!<br /><br />Si habías seleccionado una foto para añadir, comprueba que el servidor admite subir ficheros...',
-	'err_mkdir' => '¡Fallo al crear el directorio %s!',
-	'dest_dir_ro' => '¡El directorio destino %s no tiene permisos de escritura!',
-	'err_move' => '¡Imposible mover %s a %s !',
-	'err_fsize_too_large' => 'El fichero que quieres añadir es demasiado grande (el máximo permitido es de %s x %s)',
-	'err_imgsize_too_large' => 'El fichero que quieres añadir es demasiado grande (el máximo permitido es de %s KB)',
-	'err_invalid_img' => 'El fichero que quieres añadir no es una imagen válida',
-	'allowed_img_types' => 'Puedes insertar solamente %s imágenes.',
-	'err_insert_pic' => 'El fichero \'%s\' no puede ser dado de alta en el álbum ',
-	'upload_success' => 'El fichero ha sido insertado correctamente<br /><br />Será visible tras la aprobación de los administradores.',
-	'notify_admin_email_subject' => '%s - Notificación de fichero añadido', //cpg1.3.0
-	'notify_admin_email_body' => 'Una imagen ha sido añadida por %s que necesita tu aprobación. Visita %s', //cpg1.3.0
-	'info' => 'Información',
-	'com_added' => 'Comentario añadido',
-	'alb_updated' => 'Álbum actualizado',
-	'err_comment_empty' => '¡El comentario está vació!',
-	'err_invalid_fext' => 'Solamente se admiten ficheros con las siguientes extensiones : <br /><br />%s.',
-	'no_flood' => 'Perdona pero eres el autor/a del último comentario introducido para este archivo<br /><br />Puedes editar el comentario que has puesto si es que quieres modificarlo',
-	'redirect_msg' => 'Estás siendo redirigido.<br /><br /><br />Pulsa \'CONTINUAR\' si la página no se refresca automáticamente',
-	'upl_success' => 'El fichero se ha añadido correctamente',
-	'email_comment_subject' => 'Comentario añadido en la Galería Coppermine', //cpg1.3.0
-	'email_comment_body' => 'Alguien ha añadido un comentario en tu galería. Puedes verlo en', //cpg1.3.0
-  	'album_not_selected' => 'Álbum no seleccionado', //cpg1.4
-  	'com_author_error' => 'Un usuario registrado esta usando este nombre, inicie sesión o utilice otro', //cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File delete.php
-// ------------------------------------------------------------------------- //
-
-if (defined('DELETE_PHP')) $lang_delete_php = array(
-	'caption' => 'Título',
-	'fs_pic' => 'imagen tamaño completo',
-	'del_success' => 'borrado correctamente',
-	'ns_pic' => 'imagen tamaño normal',
-	'err_del' => 'no puede ser borrado',
-	'thumb_pic' => 'Imagen miniatura',
-	'comment' => 'comentario',
-	'im_in_alb' => 'imágenes en el álbum',
-	'alb_del_success' => 'Álbum \'%s\' borrado',
-	'alb_mgr' => 'Organizador de álbumes',
-	'err_invalid_data' => 'Datos inválidos recibidos en \'%s\'',
-	'create_alb' => 'Creando el álbum \'%s\'',
-	'update_alb' => 'Actualizando el álbum \'%s\' con el título \'%s\' y el índice \'%s\'',
-	'del_pic' => 'Borrar fichero',
-	'del_alb' => 'Borrar álbum',
-	'del_user' => 'Borrar usuario',
-	'err_unknown_user' => '¡El usuario seleccionado no existe!',
-  	'err_empty_groups' => 'No hay tabla de grupos, ¡o la tabla de grupos esta vacía!', //cpg1.4
-	'comment_deleted' => 'El comentario ha sido borrado',
-  	'npic' => 'Imagen', //cpg1.4
-  	'pic_mgr' => 'Administrador de Imágenes', //cpg1.4
-  	'update_pic' => 'Actualizando imagen \'%s\' con el archivo \'%s\' y el índice \'%s\'', //cpg1.4
-  	'username' => 'Nombre de usuario', //cpg1.4
-  	'anonymized_comments' => 'Los comentario(s) %s son ahora anónimos', //cpg1.4
-  	'anonymized_uploads' => 'Los archivo(s) publico(s) %s son ahora anónimos', //cpg1.4
-  	'deleted_comments' => '%s comentario(s) borrado', //cpg1.4
-  	'deleted_uploads' => '%s archivo(s) publico(s) borrado', //cpg1.4
-  	'user_deleted' => 'usuario %s borrado', //cpg1.4
-  	'activate_user' => 'Activar usuario', //cpg1.4
-  	'user_already_active' => 'La cuenta se encuentra activa', //cpg1.4
-  	'activated' => 'Activado', //cpg1.4
-  	'deactivate_user' => 'Desactivar usuario', //cpg1.4
-  	'user_already_inactive' => 'La cuanta se encuentra inactiva', //cpg1.4
-  	'deactivated' => 'Desactivado', //cpg1.4
-  	'reset_password' => 'Limpiar contraseña(s)', //cpg1.4
-  	'password_reset' => 'Contraseña cambiada a %s', //cpg1.4
-  	'change_group' => 'Cambiar grupo primario', //cpg1.4
-  	'change_group_to_group' => 'Cambiando de %s a %s', //cpg1.4
-  	'add_group' => 'Añadir grupo secundario', //cpg1.4
-  	'add_group_to_group' => 'Añadiendo el usuario %s al grupo %s. Ahora es miembro del grupo primario %s y del grupo(s) secundario(s) %s.', //cpg1.4
-  	'status' => 'Estado', //cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File displayecard.php
-// ------------------------------------------------------------------------- //
-
-if (defined('DISPLAYECARD_PHP')) {
-
-$lang_displayecard_php = array(
-  	'invalid_data' => 'La información de la postal que esta tratando de acceder ha sido corrompida por su cliente de correo. Verifique que el link este completo.', //cpg1.4
-);
-}
-
-// ------------------------------------------------------------------------- //
-// File displayimage.php
-// ------------------------------------------------------------------------- //
-
-if (defined('DISPLAYIMAGE_PHP')){
-
-$lang_display_image_php = array(
-	'confirm_del' => '¿Estás seguro de querer BORRAR este fichero? \\nLos comentarios serán también borrados.',
-	'del_pic' => 'BORRAR ESTE FICHERO',
-	'size' => '%s x %s pixels',
-	'views' => '%s veces',
-	'slideshow' => 'Slideshow',
-	'stop_slideshow' => 'DETENER SLIDESHOW',
-	'view_fs' => 'Pulsa aquí para ver la imagen a tamaño completo',
-	'edit_pic' => 'Editar la descripción', //cpg1.3.0
-	'crop_pic' => 'Recortar y Rotar', //cpg1.3.0
-  	'set_player' => 'Cambiar reproductor',
-);
-
-$lang_picinfo = array(
-	'title' =>'Información del fichero',
-	'Filename' => 'Nombre del fichero',
-	'Album name' => 'Nombre del álbum',
-	'Rating' => 'Valoración (%s votos)',
-	'Keywords' => 'Palabras clave',
-	'File Size' => 'Tamaño del fichero',
-  	'Date Added' => 'Fecha de creación', //cpg1.4
-	'Dimensions' => 'Dimensiones',
-	'Displayed' => 'Se ha visto',
-  	'URL' => 'URL', //cpg1.4
-  	'Make' => 'Hecho', //cpg1.4
-  	'Model' => 'Modelo', //cpg1.4
-  	'DateTime' => 'Fecha y Hora', //cpg1.4
-  	'DateTimeOriginal' => 'Fecha de la captura', //cpg1.4
-  	'ISOSpeedRatings'=>'ISO', //cpg1.4
-  	'MaxApertureValue' => 'Máxima Apertura', //cpg1.4
-	'Focal length' => 'Longitud del foco',
-	'Comment' => 'Comentario',
-	'addFav'=>'Añadir a Favoritos',
-	'addFavPhrase'=>'Favoritos',
-	'remFav'=>'Quitar de Favoritos',
-	'iptcTitle'=>'IPTC - Título', //cpg1.3.0
-	'iptcCopyright'=>'IPTC - Copyright', //cpg1.3.0
-	'iptcKeywords'=>'IPTC - Palabras clave', //cpg1.3.0
-	'iptcCategory'=>'IPTC - Categoría', //cpg1.3.0
-	'iptcSubCategories'=>'IPTC - Sub-Categorías', //cpg1.3.0
-  	'ColorSpace' => 'Espacio del color', //cpg1.4
-  	'ExposureProgram' => 'Programa de exposición', //cpg1.4
-  	'Flash' => 'Flash', //cpg1.4
-  	'MeteringMode' => 'Modo métrico', //cpg1.4
-  	'ExposureTime' => 'Tiempo de exposición', //cpg1.4
-  	'ExposureBiasValue' => 'Bias de exposición', //cpg1.4
-  	'ImageDescription' => ' Descripción de la imagen', //cpg1.4
-  	'Orientation' => 'Orientación', //cpg1.4
-  	'xResolution' => 'Resolución en X', //cpg1.4
-  	'yResolution' => 'Resolución en Y', //cpg1.4
-  	'ResolutionUnit' => 'Unidades de Resolución', //cpg1.4
-  	'Software' => 'Software', //cpg1.4
-  	'YCbCrPositioning' => 'YCbCrPositioning', //cpg1.4
-  	'ExifOffset' => 'Exif Offset', //cpg1.4
-  	'IFD1Offset' => 'IFD1 Offset', //cpg1.4
-  	'FNumber' => 'FNumber', //cpg1.4
-  	'ExifVersion' => 'versión de Exif ', //cpg1.4
-  	'DateTimeOriginal' => 'Fecha y hora original', //cpg1.4
-  	'DateTimedigitized' => 'Fecha y hora digitalizado', //cpg1.4
-  	'ComponentsConfiguration' => 'Configuración de los Componentes', //cpg1.4
-  	'CompressedBitsPerPixel' => 'Compresión de los Bits Por Pixel', //cpg1.4
-  	'LightSource' => 'Fuente de luz', //cpg1.4
-  	'ISOSetting' => 'Configuración ISO', //cpg1.4
-  	'ColorMode' => 'Modo de color', //cpg1.4
-  	'Quality' => 'Calidad', //cpg1.4
-  	'ImageSharpening' => 'Sharpening de la imagen', //cpg1.4
-  	'FocusMode' => 'Modo de enfocamiento', //cpg1.4
-  	'FlashSetting' => 'Configuración del Flash', //cpg1.4
-  	'ISOSelection' => 'Selección ISO', //cpg1.4
-  	'ImageAdjustment' => 'Ajuste de la Imagen', //cpg1.4
-  	'Adapter' => 'Adaptador', //cpg1.4
-  	'ManualFocusDistance' => 'Distancia de enfoque manual', //cpg1.4
-  	'DigitalZoom' => 'Acercamiento digital', //cpg1.4
-  	'AFFocusPosition' => 'posición del enfoque AF', //cpg1.4
-  	'Saturation' => 'Saturación', //cpg1.4
-  	'NoiseReduction' => 'Reducción de Ruido', //cpg1.4
-  	'FlashPixVersion' => 'versión de Flash Pix', //cpg1.4
-  	'ExifImageWidth' => 'Ancho de imagen por Exif', //cpg1.4
-  	'ExifImageHeight' => 'Alto de imagen por Exif', //cpg1.4
-  	'ExifInteroperabilityOffset' => 'Desviación de Interoperabilidad de Exif', //cpg1.4
-  	'FileSource' => 'Fuente del Archivo', //cpg1.4
-  	'SceneType' => 'Tipo de escena', //cpg1.4
-  	'CustomerRender' => 'Renderizado personalizado', //cpg1.4
-  	'ExposureMode' => ' Modo de Exposición', //cpg1.4
-  	'WhiteBalance' => 'Balance Blanco', //cpg1.4
-  	'DigitalZoomRatio' => 'Ratio de acercamiento digital', //cpg1.4
-  	'SceneCaptureMode' => 'Modo de captura de escenas', //cpg1.4
-  	'GainControl' => 'Control de ganancia', //cpg1.4
-  	'Contrast' => 'Contraste', //cpg1.4
-  	'Saturation' => 'Saturación', //cpg1.4
-  	'Sharpness' => 'Sharpness', //cpg1.4
-  	'ManageExifDisplay' => 'Administrar despliegue de Exif', //cpg1.4
-  	'submit' => 'Enviar', //cpg1.4
-  	'success' => 'información actualizada exitosamente.', //cpg1.4
-  	'details' => 'Detalles', //cpg1.4
-);
-
-$lang_display_comments = array(
-	'OK' => 'OK',
-	'edit_title' => 'Editar el comentario',
-	'confirm_delete' => '¿Estás seguro de querer borrar el comentario?',
-	'add_your_comment' => 'Añadir un comentario',
-	'name'=>'Nombre',
-	'comment'=>'Comentario',
-	'your_name' => 'Anónimo',
-  	'report_comment_title' => 'Reportar este comentario al administrador', //cpg1.4
-);
-
-$lang_fullsize_popup = array(
-	'click_to_close' => 'Pulsa en la imagen para cerrar esta ventana',
-);
-
-}
-
-// ------------------------------------------------------------------------- //
-// File ecard.php
-// ------------------------------------------------------------------------- //
-
-if (defined('ECARDS_PHP') || defined('DISPLAYECARD_PHP')) $lang_ecard_php =array(
-	'title' => 'Enviar una postal',
-	'invalid_email' => '<b>Atención</b> : ¡dirección email incorrecta!',
-	'ecard_title' => 'Una postal de %s para ti',
-	'error_not_image' => 'Solo se pueden crear postales con imágenes.', //cpg1.3.0
-	'view_ecard' => 'Si la imagen no se ve correctamente, pulsa en este enlace',
-  	'view_ecard_plaintext' => 'Para ver la postal, copie y pegue esta URL en la barra de direcciones de su navegador:', //cpg1.4
-	'view_more_pics' => '¡Pulsa aquí para ver más imágenes!',
-	'send_success' => 'La postal ha sido enviada',
-	'send_failed' => 'Disculpa, pero el servidor no puede enviar la postal...',
-	'from' => 'De',
-	'your_name' => 'Tu nombre',
-	'your_email' => 'Tu dirección de email',
-	'to' => 'A',
-	'rcpt_name' => 'Nombre del destinatario',
-	'rcpt_email' => 'Dirección email del destinatario',
-	'greetings' => 'Título del mensaje',
-	'message' => 'Mensaje',
-  	'ecards_footer' => 'Enviado por %s desde la IP %s a las %s (Hora de la galería)', //cpg1.4
-  	'preview' => 'Vista preliminar de la postal', //cpg1.4
-  	'preview_button' => 'Vista preliminar', //cpg1.4
-  	'submit_button' => 'Enviar postal', //cpg1.4
-  	'preview_view_ecard' => 'Este es el enlace alternativo a la postal una vez sea generada. No funciona en vista preliminar.', //cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File report_file.php //cpg1.4
-// ------------------------------------------------------------------------- //
-
-if (defined('REPORT_FILE_PHP') || defined('DISPLAYREPORT_PHP')) $lang_report_php =array(
-  	'title' => 'Reportar al administrador', //cpg1.4
-  	'invalid_email' => '<b>Advertencia</b> : Dirección de correo electrónico invalida!', //cpg1.4
-  	'report_subject' => 'Un reporte de %s en la galería %s', //cpg1.4
-  	'view_report' => 'Enlace alterno si el reporte no se ve correctamente', //cpg1.4
-	'view_report_plaintext' => 'Para ver el reporte, copie y pegue este URL en la barra de direcciones de su navegador:', //cpg1.4
-  	'view_more_pics' => 'galería', //cpg1.4
-  	'send_success' => 'Su reporte fue enviado con éxito', //cpg1.4
-  	'send_failed' => 'Lo sentimos pero el servidor no puede enviar su reporte...', //cpg1.4
-  	'from' => 'De', //cpg1.4
-  	'your_name' => 'Su nombre', //cpg1.4
-  	'your_email' => 'Su dirección de correo', //cpg1.4
-  	'to' => 'Para', //cpg1.4
-  	'administrator' => 'Administrador/Moderador', //cpg1.4
-  	'subject' => 'Asunto', //cpg1.4
-  	'comment_field_name' => 'Reportando un comentario por "%s"', //cpg1.4
-  	'reason' => 'Razón', //cpg1.4
-  	'message' => 'Mensaje', //cpg1.4
-  	'report_footer' => 'Enviado por %s desde la IP %s a las %s (Hora de la galería)', //cpg1.4
-  	'obscene' => 'obsceno', //cpg1.4
-  	'offensive' => 'ofensivo', //cpg1.4
-  	'misplaced' => 'fuera de lugar/mal ubicado', //cpg1.4
-  	'missing' => 'perdido', //cpg1.4
-  	'issue' => 'error/no se puede ver', //cpg1.4
-  	'other' => 'otro', //cpg1.4
-  	'refers_to' => 'El archivo de reporte se refiere a', //cpg1.4
-  	'reasons_list_heading' => 'razón(es) para el reporte:', //cpg1.4
-  	'no_reason_given' => 'no se dieron razón(es)', //cpg1.4
-  	'go_comment' => 'Ir al comentario', //cpg1.4
-  	'view_comment' => 'Ver reporte completo incluyendo comentario', //cpg1.4
-  	'type_file' => 'archivo', //cpg1.4
-  	'type_comment' => 'comentario', //cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File editpics.php
-// ------------------------------------------------------------------------- //
-
-if (defined('EDITPICS_PHP')) $lang_editpics_php = array(
-	'pic_info' => 'Información',
-	'album' => 'Album',
-	'title' => 'Título',
-  	'filename' => 'Nombre de archivo', //cpg1.4
-	'desc' => 'Descripción',
-	'keywords' => 'Palabras clave',
-  	'new_keyword' => 'Nueva palabra clave', //cpg1.4
-  	'new_keywords' => 'Nueva palabra clave encontrada', //cpg1.4
-  	'existing_keyword' => 'Palabra clave existente', //cpg1.4
-	'pic_info_str' => '%sx%s - %sKB - %s veces vista - %s votos',
-	'approve' => 'Aprobar el fichero',
-	'postpone_app' => 'Posponer la aprobación',
-	'del_pic' => 'Borrar el fichero',
-  	'del_all' => 'Borrar TODOS los archivos', //cpg1.4
-	'read_exif' => 'Leer los datos EXIF de nuevo', //cpg1.3.0
-	'reset_view_count' => 'Poner a cero el contador de veces que se ha visto',
-  	'reset_all_view_count' => 'Poner a cero TODOS los contadores de veces que se ha visto', //cpg1.4
-	'reset_votes' => 'Poner a cero los votos',
-  	'reset_all_votes' => 'Poner a cero TODOS los votos', //cpg1.4
-	'del_comm' => 'Borrar comentarios',
-  	'del_all_comm' => 'Borrar TODOS los comentarios', //cpg1.4
-	'upl_approval' => 'Aprobar ficheros añadidos',
-	'edit_pics' => 'Editar imágenes',
-	'see_next' => 'Ver los ficheros siguientes',
-	'see_prev' => 'Ver los ficheros anteriores',
-	'n_pic' => '%s fichero/s',
-	'n_of_pic_to_disp' => 'Número de ficheros a mostrar',
-	'apply' => 'Validar los cambios',
-	'crop_title' => 'Editor de Imágenes Coppermine', //cpg1.3.0
-	'preview' => 'Previsualizar', //cpg1.3.0
-	'save' => 'Guardar imagen', //cpg1.3.0
-	'save_thumb' =>'Guardar como imagen miniatura', //cpg1.3.0
-  	'gallery_icon' => 'Establecer como mi Icono', //cpg1.4
-	'sel_on_img' =>'¡La selección tiene que estar enteramente en la imagen!', //js-alert //cpg1.3.0
-  	'album_properties' =>'Propiedades del Album', //cpg1.4
-  	'parent_category' =>'categoría Padre', //cpg1.4
-  	'thumbnail_view' =>'Vista en miniatura', //cpg1.4
-  	'select_unselect' =>'seleccionar/deseleccionar todos', //cpg1.4
-  	'file_exists' => "El archivo de destino '%s' ya existe.", //cpg1.4
-  	'rename_failed' => "No se puede renombrar '%s' a '%s'.", //cpg1.4
-  	'src_file_missing' => "Archivo original '%s' no se encuentra.", // cpg 1.4
-  	'mime_conv' => "No se pude convertir el archivo de '%s' a '%s'",//cpg1.4
-	'forb_ext' => 'Extensión de archivo prohibida.',//cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File faq.php //cpg1.3.0
-// ------------------------------------------------------------------------- //
-
-if (defined('FAQ_PHP')) $lang_faq_php = array(
-  'faq' => 'Preguntas Frecuentes', //cpg1.3.0
-  'toc' => 'índice de contenidos', //cpg1.3.0
-  'question' => 'Pregunta: ', //cpg1.3.0
-  'answer' => 'Respuesta: ', //cpg1.3.0
-);
-
-if (defined('FAQ_PHP')) $lang_faq_data = array(
-  'Cuestiones Generales', //cpg1.3.0
-  array('¿Porqué debería registrarme?', 'El registro puede o no ser requerido por el administrador. El registro facilita características adicionales tales como poder añadir ficheros, tener una lista de favoritos, puntuar imágenes, añadir comentarios, etc.', 'allow_user_registration', '0'), //cpg1.3.0
-  array('¿Cómo puedo registrarme?', 'Pulsa en &quot;Registrarse&quot; y rellena todos los campos requeridos (y los opcionales si quieres también).<br />Si el administrador tiene activada la validación de email ,tras completar y enviar los datos recibirás un mensaje en la dirección que has indicado durante el registro, en el cual se explica cómo activar tu cuenta (solo pulsando un enlace). Hasta que no actives la cuenta no podrás validarte como usuario registrado.', 'allow_user_registration', '1'), //cpg1.3.0
-  array('¿Cómo puedo hacer login (validarme)?', 'Pulsa en &quot;Login&quot;, rellena tu nombre de usuario y contraseña, y marca &quot;Recordarme&quot; con ello consigues estar validado la próxima vez que nos visites.<br /><b>IMPORTANTE: Las cookies deben estar activadas en el navegador y la cookie de este sitio no debe ser borrada si quieres que funcione la opción &quot;Recordarme&quot;.</b>', 'offline', 0), //cpg1.3.0
-  array('¿Porqué no puedo hacer login?', '¿Te has registrado y pulsado en el enlace del email de confirmación que se te envió?. Esto debería haber activado tu cuenta. Si no es así, contacta con el administrador del sistema.', 'offline', 0), //cpg1.3.0
-  array('¿Qué pasa si olvido mi contraseña?', 'Si la web tiene opción de &quot;He olvidado mi contraseña&quot; tendrás que acceder a la recuperación de la misma. Si no, deberás contactar con el administrador para que te cree una nueva contraseña.', 'offline', 0), //cpg1.3.0
-  //array('¿Qué pasa si he cambiado mi dirección de email?', 'Simplemente haz login y cambia tu dirección de email desde &quot;Mi Perfil&quot;', 'offline', 0), //cpg1.3.0
-  array('¿Cómo puedo guardar una imagen en &quot;Mis Favoritos&quot;?', 'Pulsa primero en la imagen y luego el icono de &quot;mostrar información de fichero&quot; (<img src="images/info.gif" width="16" height="16" border="0" alt="Mostrar información de fichero" />); baja hasta donde ha aparecido dicha información y pulsa en &quot;Añadir a Favoritos&quot;.<br />El administrador podría tener activado &quot;mostrar información de fichero&quot; por defecto.<br />IMPORTANTE: Las cookies deben estar activadas en el navegador y la cookie de esta web no debe ser borrada.', 'offline', 0), //cpg1.3.0
-  array('¿Cómo puedo valorar una imagen?', 'Pulsa en la miniatura de la imagen, mira debajo de ella y elige la puntuación.', 'offline', 0), //cpg1.3.0
-  array('¿Cómo puedo enviar un comentario a una imagen?', 'Pulsa en la miniatura de la imagen y mira debajo de ella. Ahí puedes insertar tu comentario.', 'offline', 0), //cpg1.3.0
-  array('¿Cómo puedo añadir una imagen?', 'Pulsa en &quot;Añadir fichero&quot; y elige el album en el que quieres añadir la imagen, pulsa &quot;Browse&quot; y elige la imagen que quieres de tu disco duro, pulsando el botón &quot;Abrir&quot; (añade título y descripción si quieres), pulsando finalmente en &quot;Añadir nuevo fichero&quot;', 'allow_private_albums', 0), //cpg1.3.0
-  array('¿En dónde puedo añadir una imagen?', 'Puedes añadir una imagen a uno de tus álbumes de &quot;Mi galería&quot;. El Administrador puede haber permitido el añadir imágenes en uno o más de los álbumes de la Galería principal.', 'allow_private_albums', 0), //cpg1.3.0
-  array('¿Qué tipos y tamaños de imágenes puedo añadir?', 'Los tipos (jpg,gif,..etc.) y tamaños los decide el administrador.', 'offline', 0), //cpg1.3.0
-  array('¿Cómo puedo crear, renombrar o borrar un album en &quot;Mi galería&quot;?', 'Debes entrar en &quot;Modo administrador&quot;<br />Pulsa en &quot;Crear/ordenar albums&quot; y luego en &quot;Nuevo&quot;. Cambia &quot;Nuevo álbum&quot; por el nombre que quieras.<br />Puedes también renombrar cualquiera de los álbumes de tu galería.<br />Pulsa &quot;Aplicar modificaciones&quot;.', 'allow_private_albums', 0), //cpg1.3.0
-  array('¿Cómo puedo modificar y restringir a otros usuarios el ver mi álbumes?', 'Debes entrar en &quot;Modo administrador&quot;<br />Pulsa en &quot;Modificar mis albums&quot;. En la barra de &quot;Modificar album&quot;, elige el album que quieres modificar.<br />Desde aquí puedes cambiar el nombre, descripción, miniatura de la imagen, y restringir quién puede ver o poner comentarios en el album.<br />Pulsa &quot;Modificar album&quot; para guardar los cambios.', 'allow_private_albums', 0), //cpg1.3.0
-  array('?Cómo puedo ver galerías de otros usuarios?', 'Vete a la &quot;Lista de álbums&quot; y elige &quot;Galerías de usuario&quot;.', 'allow_private_albums', 0), //cpg1.3.0
-  array('¿Qué son las cookies?', 'Las cookies son unos pequeños textos que se envían desde la web y se almacenan en tu ordenador.<br />Normalmente las cookies sirven para "recordar" al usuario cuando éste vuelva de nuevo, y para otros varios usos.', 'offline', 0), //cpg1.3.0
-  array('¿Dónde puedo conseguir este programa para ponerlo en mi web?', 'Coppermine es una Galería Multimedia gratuita, publicada bajo licencia GNU GPL. Está repleta de características y ha sido adaptada a distintas plataformas y sistemas de contenido. Visita la <a href="http://coppermine-gallery.net/">Web de Coppermine</a> para saber más y poder descargar el programa.', 'offline', 0), //cpg1.3.0
-
-  'Navegando por Coppermine', //cpg1.3.0
-  array('¿Qué es la &quot;Lista de álbums&quot;?', 'Desde aquí puedes ver la galería completa, con un enlace a cada categoría. Las miniaturas de imágenes pueden ser enlaces directos a las categorías.', 'offline', 0), //cpg1.3.0
-  array('¿Qué es &quot;Mi galería&quot;?', 'Esta característica permite al usuario crear su propia galería y añadir, borrar o modificar álbumes así como añadir nuevos ficheros en ellos.', 'allow_private_albums', 0), //cpg1.3.0
-  array('¿Cuáles son las diferencias entre &quot;Modo adminsitrador&quot; y &quot;Modo usuario&quot;?', 'Cuando se está en modo administrador, el usuario puede modificar su galería (así como otras si se lo ha permitido el administrador).', 'allow_private_albums', 0), //cpg1.3.0
-  array('¿Qué es &quot;Añadir fichero&quot;?', 'Esta característica permite al usuario añadir una imagen (tamaño y tipos definidos por el administrador) en una galería seleccionada por el usuario o bien por el administrator.', 'allow_private_albums', 0), //cpg1.3.0
-  array('¿Qué es &quot;últimos archivos&quot;?', 'Muestra los últimos ficheros / imágenes añadidos a la galería.', 'offline', 0), //cpg1.3.0
-  array('¿Qué es &quot;últimos comentarios&quot;?', 'Muestra los últimos comentarios añadidos por los usuarios, junto con las imágenes comentadas.', 'offline', 0), //cpg1.3.0
-  array('¿Qué es &quot;Más vistos&quot;?', 'Muestra las imágenes más vistas por todos los usuarios (registrados y visitantes).', 'offline', 0), //cpg1.3.0
-  array('¿Qué es &quot;Más valorados&quot;?', 'Muestra las imágenes mejor valoradas por los usuarios, junto con la media de puntuación (por ejemplo: cinco usuarios han dado un <img src="images/rating3.gif" width="65" height="14" border="0" alt="" />: la imagen tendrá una puntuación media de <img src="images/rating3.gif" width="65" height="14" border="0" alt="" /> ; si cinco usuarios han puntuado de 1 a 5 (1,2,3,4,5) la media resultante será <img src="images/rating3.gif" width="65" height="14" border="0" alt="" /> .)<br />Las puntuaciones van desde <img src="images/rating5.gif" width="65" height="14" border="0" alt="mejor" /> (mejor) hasta <img src="images/rating0.gif" width="65" height="14" border="0" alt="peor" /> (peor).', 'offline', 0), //cpg1.3.0
-  array('¿Qué es &quot;Mis favoritos&quot;?', 'Esta característica permite a un usuario guardar una imagen favorita en la cookie que es enviada a su ordenador.', 'offline', 0), //cpg1.3.0
-);
-
-
-// ------------------------------------------------------------------------- //
-// File forgot_passwd.php //cpg1.3.0
-// ------------------------------------------------------------------------- //
-
-if (defined('FORGOT_PASSWD_PHP')) $lang_forgot_passwd_php = array(
-  	'forgot_passwd' => 'Recuperación de contraseña', //cpg1.3.0
-  	'err_already_logged_in' => '¡Ya estás validado como usuario!', //cpg1.3.0
-  	'enter_email' => 'Introduce dirección email', //cpg1.4
-  	'submit' => 'buscar contraseña', //cpg1.3.0
-  	'illegal_session' => 'Sesión de Olvide mi contraseña invalida o ha expirado.', //cpg1.4
-  	'failed_sending_email' => '¡El email con la contraseña no ha podido ser enviado!', //cpg1.3.0
-  	'email_sent' => 'Un email con su Usuario y su nueva contraseña ha sido enviado a %s', //cpg1.4
-  	'verify_email_sent' => 'Se ha enviado un email a %s. Por favor verifique su email para completar el proceso.', //cpg1.4
-  	'err_unk_user' => '¡El usuario seleccionado no existe!',
-  	'account_verify_subject' => '%s - Recuperación de Contraseña', //cpg1.4
-  	'account_verify_body' => 'Ha solicitado la recuperación de contraseña . SI desea proseguir con tener una nueva contraseña enviada a Ud, haga click en el siguiente enlace:
-
-%s', //cpg1.4
-  	'passwd_reset_subject' => '%s - Su nueva contraseña', //cpg1.4
-  	'passwd_reset_body' => 'aquí esta las contraseñas que solicito:
-Usuario: %s
-Contraseña: %s
-Pulsa %s para validarte.', //cpg1.3.0
-);
-
-// ------------------------------------------------------------------------- //
-// File groupmgr.php
-// ------------------------------------------------------------------------- //
-
-if (defined('GROUPMGR_PHP')) $lang_groupmgr_php = array(
-	'group_name' => 'Nombre del grupo',
-  	'permissions' => 'Permisos', //cpg1.4
-  	'public_albums' => 'Añadir ficheros a álbumes públicos', //cpg1.4
-  	'personal_gallery' => 'galería Personal', //cpg1.4
-  	'upload_method' => 'Método para subir archivos', //cpg1.4
-	'disk_quota' => 'Cuota de disco',
-  	'rating' => 'Valoración', //cpg1.4
-  	'ecards' => 'Postales', //cpg1.4
-  	'comments' => 'Comentarios', //cpg1.4
-  	'allowed' => 'Permitido', //cpg1.4
-  	'approval' => 'Aprobación', //cpg1.4
-  	'boxes_number' => 'No. de cajas', //cpg1.4
-  	'variable' => 'variable', //cpg1.4
-  	'fixed' => 'fijo', //cpg1.4
-	'apply' => 'Validar los cambios',
-	'create_new_group' => 'Crear nuevo grupo',
-	'del_groups' => 'Borrar el/los grupo(s) seleccionados',
-	'confirm_del' => '¡Atención, cuando borras un grupo, los usuarios que pertenecen a ese grupo serán transferidos al grupo \'Registered\'!\n\n¿Deseas continuar?',
-	'title' => 'Configurar grupos de usuarios',
-	'num_file_upload'=>'Número máximo/exacto de cajas de upload', //cpg1.3.0
-	'num_URI_upload'=>'Número máximo/exacto de cajas de URI upload', //cpg1.3.0
-  	'reset_to_default' => 'Regresar al nombre predeterminado (%s) - ¡recomendado!', //cpg1.4
-  	'error_group_empty' => '¡Tabla del grupo vacia!<br /><br />Grupos predeterminados creados, porfavor recargue esta página', //cpg1.4
-  	'explain_greyed_out_title' => '¿Porque esta fila esta deshabilitada?', //cpg1.4
-  	'explain_guests_greyed_out_text' => 'No puedes cambiar la configuración de este grupo porque habilitaste la opción &quot; Permitir acceso a usuarios sin iniciar sesión (invitados o anónimos)&quot; a &quot;No&quot; en la pagina de configuración. Todos los invitados (miembros del grupo %s) no pueden hacer nada excepto iniciar sesión; por lo que las configuraciones de grupo no se les aplica.', //cpg1.4
-  	'explain_banned_greyed_out_text' => 'No puede cambiar la configuración del grupo %s porque los miembros no pueden hacer nada.', //cpg1.4
-  	'group_assigned_album' => 'album(s) asignados', //cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File index.php
-// ------------------------------------------------------------------------- //
-
-if (defined('INDEX_PHP')){
-
-$lang_index_php = array(
-	'welcome' => '¡Bienvenido!'
-);
-
-$lang_album_admin_menu = array(
-	'confirm_delete' => '¿Estás seguro de querer BORRAR este album ? \\nTodas las fotos y comentarios serán también borrados.',
-	'delete' => 'Borrar',
-	'modify' => 'Modificar',
-	'edit_pics' => 'Editar imágenes',
-);
-
-$lang_list_categories = array(
-	'home' => 'Inicio',
-	'stat1' => '<b>[pictures]</b> ficheros en <b>[albums]</b> albums y <b>[cat]</b> categorías con <b>[comments]</b> comentarios, vistas <b>[views]</b> veces',
-	'stat2' => '<b>[pictures]</b> ficheros en <b>[albums]</b> albums, vistas <b>[views]</b> veces',
-	'xx_s_gallery' => 'Galería de %s',
-	'stat3' => '<b>[pictures]</b> ficheros en <b>[albums]</b> albums con <b>[comments]</b> comentarios, vistas <b>[views]</b> veces'
-);
-
-$lang_list_users = array(
-	'user_list' => 'Lista de usuarios',
-	'no_user_gal' => 'No existen usuarios con permisos para tener albums',
-	'n_albums' => '%s album(s)',
-	'n_pics' => '%s fichero(s)'
-);
-
-$lang_list_albums = array(
-	'n_pictures' => '%s ficheros',
-	'last_added' => ', último añadido el %s',
-  	'n_link_pictures' => '%s ficheros enlazados', //cpg1.4
-  	'total_pictures' => '%s ficheros en total', //cpg1.4
-);
-
-}
-
-// ------------------------------------------------------------------------- //
-// File keywordmgr.php //cpg1.4
-// ------------------------------------------------------------------------- //
-
-if (defined('KEYWORDMGR_PHP')) $lang_keywordmgr_php = array(
-  'title' => 'Manejar Palabras claves', //cpg1.4
-  'edit' => 'editar', //cpg1.4
-  'delete' => 'eliminar', //cpg1.4
-  'search' => 'buscar', //cpg1.4
-  'keyword_test_search' => 'buscar %s en una nueva ventana', //cpg1.4
-  'keyword_del' => 'eliminar la palabra %s', //cpg1.4
-  'confirm_delete' => '¿esta seguro que desea eliminar la palabra clave %s de toda la galería?', //cpg1.4  // js-alert
-  'change_keyword' => 'cambiar palabra', //cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File login.php
-// ------------------------------------------------------------------------- //
-
-if (defined('LOGIN_PHP')) $lang_login_php = array(
-	'login' => 'Iniciar Sesión',
-	'enter_login_pswd' => 'introduzca nombre de usuario y contraseña',
-	'username' => 'Nombre de usuario',
-	'password' => 'Contraseña',
-	'remember_me' => 'Recordarme',
-	'welcome' => 'Bienvenido %s ...',
-	'err_login' => '*** Inicio de sesión incorrecto. Inténtelo de nuevo ***',
-	'err_already_logged_in' => '¡Ya estaba validado en el sistema!',
-	'forgot_password_link' => 'He olvidado mi contraseña', //cpg1.3.0
-  	'cookie_warning' => 'Advertencia su navegador no acepta cookies', //cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File logout.php
-// ------------------------------------------------------------------------- //
-
-if (defined('LOGOUT_PHP')) $lang_logout_php = array(
-	'logout' => 'Salir',
-	'bye' => 'Hasta luego, %s ...',
-	'err_not_loged_in' => '¡No está validado en el sistema!',
-);
-
-// ------------------------------------------------------------------------- //
-// File minibrowser.php  //cpg1.4
-// ------------------------------------------------------------------------- //
-
-if (defined('MINIBROWSER_PHP')) $lang_minibrowser_php = array(
-  	'close' => 'cerrar', //cpg1.4
-  	'submit' => 'OK', //cpg1.4
-  	'up' => 'subir un nivel', //cpg1.4
-  	'current_path' => 'ruta actual', //cpg1.4
-  	'select_directory' => 'porfavor seleccione un directorio', //cpg1.4
-  	'click_to_close' => 'Click sobre la imagen para cerrar esta ventana',
-);
-
-// ------------------------------------------------------------------------- //
-// File modifyalb.php
-// ------------------------------------------------------------------------- //
-
-if (defined('MODIFYALB_PHP')) $lang_modifyalb_php = array(
-	'upd_alb_n' => 'Modificar álbum %s',
-	'general_settings' => 'Configuración general',
-	'alb_title' => 'Título del álbum',
-	'alb_cat' => 'Categoría del álbum',
-	'alb_desc' => 'Descripción del álbum',
-  	'alb_keyword' => 'Palabra Clave del álbum', //cpg1.4
-	'alb_thumb' => 'Imagen miniatura del álbum',
-	'alb_perm' => 'Permisos para este álbum',
-	'can_view' => 'Este álbum puede ser visto por',
-	'can_upload' => 'Los visitantes pueden añadir fotos',
-	'can_post_comments' => 'Los visitantes pueden añadir comentarios',
-	'can_rate' => 'Los visitantes pueden valorar las fotos',
-	'user_gal' => 'Galería de usuario',
-	'no_cat' => '* Sin categoría *',
-	'alb_empty' => 'El álbum está vacío',
-	'last_uploaded' => 'Ultima imagen añadida',
-	'public_alb' => 'Todos (álbum público)',
-	'me_only' => 'Solamente yo',
-	'owner_only' => 'Solamente el dueño del álbum (%s)',
-	'groupp_only' => 'Miembros del grupo \'%s\'',
-	'err_no_alb_to_modify' => 'No puedes modificar ningún álbum en la base de datos.',
-	'update' => 'Modificar álbum',
-  	'reset_album' => 'Resetear álbum', //cpg1.4
-  	'reset_views' => 'Regresar los contadores de veces vista a &quot;0&quot; en %s', //cpg1.4
-  	'reset_rating' => 'Resetear los votos en todos los archivos en %s', //cpg1.4
-  	'delete_comments' => 'Borrar todos los comentarios hechos en %s', //cpg1.4
-  	'delete_files' => 'Irrebersible %s borrar todos los archivos en %s', //cpg1.4
-  	'views' => 'Veces vista', //cpg1.4
-  	'votes' => 'votos', //cpg1.4
-  	'comments' => 'comentarios', //cpg1.4
-  	'files' => 'archivos', //cpg1.4
-  	'submit_reset' => 'Grabar cambios', //cpg1.4
-  	'reset_views_confirm' => 'Estoy seguro', //cpg1.4
-	'notice1' => '(*) dependiendo de la configuración de %sgrupos%s', //cpg1.3.0 (do not translate %s!)
-  	'alb_password' => 'Contraseña del álbum', //cpg1.4
-  	'alb_password_hint' => 'Recordatorio de contraseña del álbum', //cpg1.4
-  	'edit_files' =>'Editar archivos', //cpg1.4
-  	'parent_category' =>'categoría padre', //cpg1.4
-  	'thumbnail_view' =>'Vista en miniatura', //cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File phpinfo.php //cpg1.3.0
-// ------------------------------------------------------------------------- //
-
-if (defined('PHPINFO_PHP')) $lang_phpinfo_php = array(
-  	'php_info' => 'PHP info', //cpg1.3.0
-  	'explanation' => 'Esto es lo que la función <a href="http://www.php.net/phpinfo">phpinfo()</a> muestra, utilizando Coppermine (cortando el texto en la esquina derecha).', //cpg1.3.0
-  	'no_link' => 'Que otros puedan ver tu información de PHP es un riesgo de seguridad, por eso esta pagina solo es visible si has iniciado sesión como administrador. No puedes publicar un link a esta pagina para los demás, ellos tendrán un acceso denegado.', //cpg1.3.0
-);
-
-// ------------------------------------------------------------------------- //
-// File picmgr.php //cpg1.4
-// ------------------------------------------------------------------------- //
-if (defined('PICMGR_PHP')) $lang_picmgr_php = array(
-  	'pic_mgr' => 'Administrador de imágenes', //cpg1.4
-  	'select_album' => 'Seleccione album', //cpg1.4
-  	'delete' => 'Eliminar', //cpg1.4
-  	'confirm_delete1' => '¿Esta seguro que desea eliminar esta imagen?', //cpg1.4
-  	'confirm_delete2' => '\nLa imagen será permanentemente borrada.', //cpg1.4
-  	'apply_modifs' => 'Aplicar modificaciones', //cpg1.4
-  	'confirm_modifs' => 'Confirmar modificaciones', //cpg1.4
-  	'pic_need_name' => '¡Las imágenes necesitan tener un titulo !', //cpg1.4
-  	'no_change' => '¡No ha hecho ningún cambio !', //cpg1.4
-  	'no_album' => '* No album *', //cpg1.4
-  	'explanation_header' => 'El Ordenamiento personalizado que puede especificar en esta pagina solo será tomado en cuenta si ', //cpg1.4
-  	'explanation1' => 'el administrador ha marcado la opción "Orden predeterminado de archivos" en la configuración a "Descendente" or "Ascendente" (configuración global para todos los usuarios que no han escogido otra opción)', //cpg1.4
-  	'explanation2' => 'el usuario ha escogido "Descendente" or "Ascendente" en la pagina de vistas en miniatura (por configuración de usuario)', //cpg1.4
-);
-
-
-// ------------------------------------------------------------------------- //
-// File pluginmgr.php //cpg1.4
-// ------------------------------------------------------------------------- //
-
-if (defined('PLUGINMGR_PHP')){
-
-$lang_pluginmgr_php = array(
-  	'confirm_uninstall' => 'Esta seguro que desea DESINSTALAR este plugin', //cpg1.4
-  	'confirm_delete' => 'Esta seguro que desea ELIMINAR este plugin', //cpg1.4
-  	'pmgr' => 'Administrador de Plugins', //cpg1.4
-  	'name' => 'Nombre', //cpg1.4
-  	'author' => 'Autor', //cpg1.4
-  	'desc' => 'Descripción', //cpg1.4
-  	'vers' => 'v', //cpg1.4
-  	'i_plugins' => 'Plugins instalados', //cpg1.4
-  	'n_plugins' => 'Plugins No instalados', //cpg1.4
-  	'none_installed' => 'Ninguno instalado', //cpg1.4
-  	'operation' => 'Operación', //cpg1.4
-  	'not_plugin_package' => 'El archivo subido no es un paquete de plugins.', //cpg1.4
-  	'copy_error' => 'Hubo un error al copiar al fólder de plugins.', //cpg1.4
-  	'upload' => 'Subir', //cpg1.4
-  	'configure_plugin' => 'Configurar plugin', //cpg1.4
-  	'cleanup_plugin' => 'Limpiar plugin', //cpg1.4
-);
-}
-
-// ------------------------------------------------------------------------- //
-// File ratepic.php
-// ------------------------------------------------------------------------- //
-
-if (defined('RATEPIC_PHP')) $lang_rate_pic_php = array(
-	'already_rated' => 'Perdona pero ya has votado anteriormente a este fichero',
-	'rate_ok' => 'Tu voto ha sido contabilizado',
-	'forbidden' => 'No puedes votar a tus propias imágenes.', //cpg1.3.0
-);
-
-// ------------------------------------------------------------------------- //
-// File register.php & profile.php
-// ------------------------------------------------------------------------- //
-
-if (defined('REGISTER_PHP') || defined('PROFILE_PHP')) {
-
-$lang_register_disclamer = <<<EOT
-A pesar de que los administradores de {SITE_NAME} intentarán eliminar o editar cualquier material desagradable tan pronto como puedan, resulta imposible revisar todos los envíos que se realizan. Por lo tanto debes tener en cuenta que todos los envíos hechos hacia esta web expresan el punto de vista y opiniones de sus autores y no los de los administradores o webmasters (excepto los añadidos por ellos mismos).<br />
-<br />
-Usted acuerda no añadir ningún material abusivo, obsceno, vulgar, escandaloso, odioso, amenazador, de orientación sexual, o ningún otro que pueda violar cualquier ley aplicable. Usted está de acuerdo con que el webmaster, el administrador y los asesores de { SITE_NAME } tienen el derecho de quitar o de corregir cualquier contenido en cualquier momento si lo consideran necesario. Como usuario, accede a que cualquier información añadida será almacenada en una base de datos. Así mismo, esta información no será divulgada a terceros sin su consentimiento. El webmaster y el administrador no se pueden hacer responsables de ningún intento de destrucción de la base de datos que pueda conducir a la pérdida de la misma.<br />
-<br />
-Este sitio utiliza cookies para almacenar la información en su ordenador. Estas cookies sirven para mejorar la navegación en este sitio. La dirección de email se utiliza solamente para confirmar sus detalles y contraseña del registro.<br />
-<br />
-Pulsando 'estoy de acuerdo' expresas tu conformidad con estas condiciones.
-EOT;
-
-$lang_register_php = array(
-	'page_title' => 'Registro de nuevo usuario',
-	'term_cond' => 'Términos y condiciones',
-	'i_agree' => 'Estoy de acuerdo',
-	'submit' => 'Enviar solicitud de registro',
-	'err_user_exists' => 'El nombre de usuario elegido ya existe, por favor elige otro diferente',
-	'err_password_mismatch' => 'Las dos contraseñas no son iguales, por favor vuelve a introducirlas',
-	'err_uname_short' => 'El nombre de usuario debe ser de 2 caracteres de longitud como mínimo',
-	'err_password_short' => 'La contraseña debe ser de 2 caracteres de longitud como mínimo',
-	'err_uname_pass_diff' => 'El nombre de usuario y la contraseña deben ser diferentes',
-	'err_invalid_email' => 'La dirección de email no es válida',
-	'err_duplicate_email' => 'Otro usuario se ha registrado anteriormente con la dirección de email suministrada',
-	'enter_info' => 'Introduce la información de registro',
-	'required_info' => 'Información requerida',
-	'optional_info' => 'Información opcional',
-	'username' => 'Nombre de usuario',
-	'password' => 'Contraseña',
-	'password_again' => 'Reescribir contraseña',
-	'email' => 'Email',
-	'location' => 'Localidad',
-	'interests' => 'Intereses',
-	'website' => 'Página web',
-	'occupation' => 'Ocupación',
-	'error' => 'ERROR',
-	'confirm_email_subject' => '%s - Confirmación de registro',
-	'information' => 'Información',
-	'failed_sending_email' => '¡El email de confirmación de registro no ha podido ser enviado!',
-	'thank_you' => 'Gracias por registrarte.<br /><br />Hemos enviado un email con información sobre la activación de tu cuenta a la dirección de email que nos has facilitado.',
-	'acct_created' => 'Tu cuenta de usuario ha sido creada y ahora puedes acceder al sistema con tu nombre de usuario y contraseña',
-	'acct_active' => 'Tu cuenta de usuario está ya activa y ahora puedes acceder al sistema con tu nombre de usuario y contraseña',
-	'acct_already_act' => '¡Tu cuenta ya estaba activa!',
-	'acct_act_failed' => '¡Esta cuenta no puede ser activada!',
-	'err_unk_user' => '¡El usuario seleccionado no existe!',
-	'x_s_profile' => 'Perfil de %s',
-	'group' => 'Grupo',
-	'reg_date' => 'Fecha de alta',
-	'disk_usage' => 'Uso de disco',
-	'change_pass' => 'Cambiar contraseña',
-	'current_pass' => 'Contraseña actual',
-	'new_pass' => 'Nueva contraseña',
-	'new_pass_again' => 'Reescribir nueva contraseña',
-	'err_curr_pass' => 'La contraseña actual es incorrecta',
-	'apply_modif' => 'Guardar los cambios',
-	'change_pass' => 'Cambiar mi contraseña',
-	'update_success' => 'Tu perfil ha sido actualizado',
-	'pass_chg_success' => 'Tu contraseña ha sido cambiada',
-	'pass_chg_error' => 'Tu contraseña no ha sido cambiada',
-	'notify_admin_email_subject' => '%s - Notificación de registro', //cpg1.3.0
-  	'last_uploads' => 'Ultimo archivo subido.<br />Click para ver todos los archivos subidos por', //cpg1.4
-  	'last_comments' => 'Ultimo comentario.<br />Click para ver todos los comentarios hechos por', //cpg1.4
-	'notify_admin_email_body' => 'Un nuevo usuario se ha registrado en tu galería con el nombre "%s"', //cpg1.3.0
-  	'pic_count' => 'Archivos subidos', //cpg1.4
-  	'notify_admin_request_email_subject' => '%s - Petición de registro', //cpg1.4
-  	'thank_you_admin_activation' => 'Gracias.<br /><br />Su pedido para la activación de su cuenta ha sido enviado al administrador. Usted recibirá un email si es aprobado.', //cpg1.4
-  	'acct_active_admin_activation' => 'La cuenta esta ahora activa y un email ha sido enviado al usuario.', //cpg1.4
-  	'notify_user_email_subject' => '%s - Notificación de activación', //cpg1.4
-);
-
-$lang_register_confirm_email = <<<EOT
-Gracias por registrarte en {SITE_NAME}, Tu nombre de usuario es: "{USER_NAME}", Tu contraseña es: "{PASSWORD}"
-
-Para terminar de activar tu cuenta, debes pulsar sobre el enlace que aparece debajo o copiarlo y pegarlo en tu navegador de InterNet.
-
-<a href="{ACT_LINK}">{ACT_LINK}</a>
-
-Saludos.
-
-Los administradores de {SITE_NAME}
-
-EOT;
-
-$lang_register_approve_email = <<<EOT
-Un nuevo usuario con el nombre "{USER_NAME}" se ha registrado en tu galería.
-
-Para terminar de activar tu cuenta, debes pulsar sobre el enlace que aparece debajo o copiarlo y pegarlo en tu navegador de InterNet.
-
-<a href="{ACT_LINK}">{ACT_LINK}</a>
-
-EOT;
-
-$lang_register_activated_email = <<<EOT
-Tu cuenta ha sido aprobada y activada.
-
-Ahora puedes iniciar sesión en <a href="{SITE_LINK}">{SITE_LINK}</a> usando el nombre e usuario: "{USER_NAME}"
-
-
-Saludos.
-
-Los administradores de {SITE_NAME}
-
-EOT;
-}
-
-// ------------------------------------------------------------------------- //
-// File reviewcom.php
-// ------------------------------------------------------------------------- //
-
-if (defined('REVIEWCOM_PHP')) $lang_reviewcom_php = array(
-	'title' => 'Revisar comentarios',
-	'no_comment' => 'No existen comentarios que mostrar',
-	'n_comm_del' => '%s comentario(s) borrado(s)',
-	'n_comm_disp' => 'Número de comentarios a mostrar',
-	'see_prev' => 'Ver el anterior',
-	'see_next' => 'Ver el siguiente',
-	'del_comm' => 'Borrar comentarios seleccionados',
-  	'user_name' => 'Nombre', //cpg1.4
-  	'date' => 'Fecha', //cpg1.4
-  	'comment' => 'Comentario', //cpg1.4
-  	'file' => 'Fichero', //cpg1.4
-  	'name_a' => 'Nombre de Usuario ascendente', //cpg1.4
-  	'name_d' => 'Nombre de Usuario descendente', //cpg1.4
-  	'date_a' => 'Fecha Ascendente', //cpg1.4
-  	'date_d' => 'Fecha Descendente', //cpg1.4
-  	'comment_a' => 'Comentario Ascendente', //cpg1.4
-  	'comment_d' => 'Comentario Descendente', //cpg1.4
-  	'file_a' => 'Ficheros Ascendente', //cpg1.4
-  	'file_d' => 'Ficheros Descendente', //cpg1.4
-);
-
-
-// ------------------------------------------------------------------------- //
-// File search.php - OK
-// ------------------------------------------------------------------------- //
-
-
-if (defined('SEARCH_PHP')) {
-
-$lang_search_php = array(
-  	'title' => 'Buscar en toda la galería', //cpg1.4
-  	'submit_search' => 'buscar', //cpg1.4
-  	'keyword_list_title' => 'Listado de palabras claves', //cpg1.4
-  	'keyword_msg' => 'La lista superior no es inclusiva. No incluye las palabras de los títulos de las fotos o de sus descripciones. Intente una búsqueda de texto completo.',  //cpg1.4
-  	'edit_keywords' => 'Editar palabras claves', //cpg1.4
-  	'search in' => 'Buscar en:', //cpg1.4
-  	'ip_address' => 'Dirección IP', //cpg1.4
-  	'fields' => 'Buscar en', //cpg1.4
-  	'age' => 'Edad', //cpg1.4
-  	'newer_than' => 'Mas nuevo que', //cpg1.4
-  	'older_than' => 'Mas antiguo que', //cpg1.4
-  	'days' => 'días', //cpg1.4
-  	'all_words' => 'Coinciden todas las palabras (AND)', //cpg1.4
-  	'any_words' => 'Coincide cualquier palabra (OR)', //cpg1.4
-);
-
-$lang_adv_opts = array(
-  	'title' => 'Titulo', //cpg1.4
-  	'caption' => 'Subtitulo', //cpg1.4
-  	'keywords' => 'Palabras claves', //cpg1.4
-  	'owner_name' => 'Nombre del Propietario', //cpg1.4
-  	'filename' => 'Nombre de Archivo', //cpg1.4
-);
-
-}
-
-// ------------------------------------------------------------------------- //
-// File searchnew.php
-// ------------------------------------------------------------------------- //
-
-if (defined('SEARCHNEW_PHP')) $lang_search_new_php = array(
-	'page_title' => 'Buscar nuevos ficheros',
-	'select_dir' => 'Selecciona directorio',
-	'select_dir_msg' => 'Esta función te permite añadir de forma automática los ficheros que hayas subido a tu servidor mediante FTP.<br /><br />Selecciona el directorio donde has subido tus ficheros',
-	'no_pic_to_add' => 'No hay ningún fichero para añadir',
-	'need_one_album' => 'Necesitas al menos un album para utilizar esta función',
-	'warning' => 'Atención',
-	'change_perm' => '¡El script no puede escribir en este directorio, necesitas cambiar sus permisos a modo 755 o 777 antes de intentarlo de nuevo!',
-	'target_album' => '<b>Colocar los ficheros del directorio &quot;</b>%s<b>&quot; en el album </b>%s',
-	'fólder' => 'Carpeta',
-	'image' => 'Imagen',
-	'album' => 'Album',
-	'result' => 'Resultado',
-	'dir_ro' => 'No se puede escribir. ',
-	'dir_cant_read' => 'No se puede leer. ',
-	'insert' => 'Añadiendo nuevos ficheros a la galería',
-	'list_new_pic' => 'Listado de nuevos ficheros',
-	'insert_selected' => 'Añadir los ficheros seleccionados',
-	'no_pic_found' => 'No se encontró ningún fichero nuevo',
-	'be_patient' => 'Por favor, se paciente, el script necesita tiempo para añadir los ficheros',
-	'no_album' => 'ningún album seleccionado',  //cpg1.3.0
-  	'result_icon' => 'Haga click para los detalles o para recargar',  //cpg1.4
-	'notes' =>  '<ul>'.
-				'<li><b>OK</b> : significa que el fichero fue añadido sin problemas'.
-				'<li><b>DP</b> : significa que el fichero es un duplicado y ya existe en la base de datos'.
-				'<li><b>PB</b> : significa que el fichero no puede ser añadido, por favor comprueba la configuración y los permisos de los directorios donde están los ficheros'.
-				'<li><b>NA</b> : significa que no has seleccionado un album en el que insertar los ficheros, pulsa \'<a href="javascript:history.back(1)">atrás</a>\' y selecciona un album. Si no dispones de album <a href="albmgr.php">crea uno primero</a></li>'.
-				'<li>Si los iconos OK, DP, PB no aparecen, pulsa sobre el icono de imagen no cargada para ver el error producido por PHP'.
-				'<li>Si el navegador produce un timeout, pulsa el icono de Actualizar'.
-				'</ul>',
-	'select_album' => 'selecciona un album', //cpg1.3.0
-	'check_all' => 'Marcar todos', //cpg1.3.0
-	'uncheck_all' => 'Desmarcar todos', //cpg1.3.0
-  	'no_folders' => 'No hay fólderes dentro del fólder "albums" aun. asegúrese de crear al menos un fólder personal dentro del fólder "albums" y suba por ftp sus archivos ahí. No deberá subir los fólder "imágenes de usuarios (userpics)" o "editar(edit)", estas están reservadas para los archivos subidos por HTTP y para trabajo interno del programa.', //cpg1.4
-  	'albums_no_category' => 'Álbumes sin categoría', //cpg1.4 // album pulldown mod, added by frogfoot
-  	'personal_albums' => '*  Álbumes personales', //cpg1.4 // album pulldown mod, added by frogfoot
-  	'browse_batch_add' => 'Interfase Navegable (recomendado)', //cpg1.4
-  	'edit_pics' => 'Editar ficheros', //cpg1.4
-  	'edit_properties' => 'Propiedades del Album', //cpg1.4
-  	'view_thumbs' => 'Vista en miniatura', //cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File stat_details.php //cpg1.4
-// ------------------------------------------------------------------------- //
-
-if (defined('STAT_DETAILS_PHP')) $lang_stat_details_php = array(
-  	'show_hide' => 'mostrar/ocultar esta columna', //cpg1.4
-  	'vote' => 'Detalles de Votos', //cpg1.4
-  	'hits' => 'Detalles de veces que se vio la imagen', //cpg1.4
-  	'stats' => 'Estadísticas de Votos', //cpg1.4
-  	'sdate' => 'Fecha', //cpg1.4
-  	'rating' => 'Calificación', //cpg1.4
-  	'search_phrase' => 'Buscar frase', //cpg1.4
-  	'referer' => 'Referido', //cpg1.4
-  	'browser' => 'Navegador', //cpg1.4
-  	'os' => 'Sistema Operativo', //cpg1.4
-  	'ip' => 'IP', //cpg1.4
-  	'sort_by_xxx' => 'Ordenar por %s', //cpg1.4
-  	'ascending' => 'ascendente', //cpg1.4
-  	'descending' => 'descendente', //cpg1.4
-  	'internal' => 'interno', //cpg1.4
-  	'close' => 'cerrar', //cpg1.4
-  	'hide_internal_referers' => 'ocultar referencias internas', //cpg1.4
-  	'date_display' => 'Mostrar fecha', //cpg1.4
-  	'submit' => 'enviar / refrescar', //cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File thumbnails.php
-// ------------------------------------------------------------------------- //
-
-// Void
-
-// ------------------------------------------------------------------------- //
-// File upload.php
-// ------------------------------------------------------------------------- //
-
-if (defined('UPLOAD_PHP')) $lang_upload_php = array(
-	'title' => 'Añadir nuevo fichero',
-	'custom_title' => 'Formulario de Petición personalizado', //cpg1.3.0
-	'cust_instr_1' => 'Debe seleccionar un numero personalizado de cajas para subir archivos. Sin embargo, no debe seleccionar mas que los limites listados debajo.', //cpg1.3.0
-	'cust_instr_2' => 'Numero de cajas de petición', //cpg1.3.0
-	'cust_instr_3' => 'Numero de cajas para subir archivos: %s', //cpg1.3.0
-	'cust_instr_4' => 'Cajas para subir URI/URL: %s', //cpg1.3.0
-	'cust_instr_5' => 'Cajas para subir URI/URL:', //cpg1.3.0
-	'cust_instr_6' => 'Cajas para subir archivos:', //cpg1.3.0
-	'cust_instr_7' => 'Por favor ingrese en numero de cada tipo de cajas para subir archivos que usted desea en este momento. Luego presione \'Continuar\'. ', //cpg1.3.0
-	'reg_instr_1' => 'Acción invalida para la creación de formularios.', //cpg1.3.0
-	'reg_instr_2' => 'Ahora debe subir sus archivos usando las cajas que se encuentran debajo. El tamaño de los archivos subidos desde su cliente al servidor no debe exceder los %s KB cada uno. Archivos ZIP subidos en las secciones \'Subir Archivos\' y \'Subir URI/URL\' se mantendran comprimidos.', //cpg1.3.0
-	'reg_instr_3' => 'Si desea que el archivo comprimido sea descomprimido, debe usar la caja de subir archivos que se provee en el área \'Subir archivos ZIP y descomprimirlos\' área.', //cpg1.3.0
-	'reg_instr_4' => 'CUando use la sección de subir URI/URL, porfavor ingrese la ruta del archivo de la siguiente manera: http://www.mysite.com/images/example.jpg', //cpg1.3.0
-	'reg_instr_5' => 'CUando haya terminado con el formulario, presione \'Continuar\'.', //cpg1.3.0
-	'reg_instr_6' => 'Subir archivos ZIP y descomprimirlos:', //cpg1.3.0
-	'reg_instr_7' => 'Subir archivos:', //cpg1.3.0
-	'reg_instr_8' => 'Subir URI/URL:', //cpg1.3.0
-	'error_report' => 'Reporte de errores', //cpg1.3.0
-	'error_instr' => 'Los siguientes archivos se encontraron con errores:', //cpg1.3.0
-	'file_name_url' => 'Nombre/URL del archivo', //cpg1.3.0
-	'error_message' => 'Mensaje de Error', //cpg1.3.0
-	'no_post' => 'Archivo no subido por POST.', //cpg1.3.0
-	'forb_ext' => 'Extensión de archivo prohibida.', //cpg1.3.0
-	'exc_php_ini' => 'Se excedió del tamaño de archivo permitido por el php.ini.', //cpg1.3.0
-	'exc_file_size' => 'Se excedió del tamaño de archivo permitido por el  CPG.', //cpg1.3.0
-	'partial_upload' => 'Solo una subida parcial.', //cpg1.3.0
-	'no_upload' => 'No se pudo subir.', //cpg1.3.0
-	'unknown_code' => 'código de error del PHP desconocido.', //cpg1.3.0
-	'no_temp_name' => 'No se subió - No hay nombre del temporal.', //cpg1.3.0
-	'no_file_size' => 'No contiene información/Corrupta', //cpg1.3.0
-	'impossible' => 'Imposible mover.', //cpg1.3.0
-	'not_image' => 'No es una imagen/corrupto', //cpg1.3.0
-	'not_GD' => 'No es una extensión GD.', //cpg1.3.0
-	'pixel_allowance' => 'Se excedió los píxeles permitidos.', //cpg1.3.0
-	'incorrect_prefix' => 'Prefijo URI/URL incorrecto', //cpg1.3.0
-	'could_not_open_URI' => 'No se pudo abrir URI.', //cpg1.3.0
-	'unsafe_URI' => 'No se puede verificar la seguridad.', //cpg1.3.0
-	'meta_data_failure' => 'Falla de la meta-data', //cpg1.3.0
-	'http_401' => '401 No autorizado', //cpg1.3.0
-	'http_402' => '402 Pago requerido', //cpg1.3.0
-	'http_403' => '403 Prohibido', //cpg1.3.0
-	'http_404' => '404 No encontrado', //cpg1.3.0
-	'http_500' => '500 Error interno de servidor', //cpg1.3.0
-	'http_503' => '503 Servicio no disponible', //cpg1.3.0
-	'MIME_extraction_failure' => 'No se pudo determinar el MIME.', //cpg1.3.0
-	'MIME_type_unknown' => 'Desconocido tipo MIME', //cpg1.3.0
-	'cant_create_write' => 'No se puede crear el archivo a escribir.', //cpg1.3.0
-	'not_writable' => 'No tiene permiso de escritura para grabar el archivo.', //cpg1.3.0
-	'cant_read_URI' => 'No se puede leer la URI/URL del archivo', //cpg1.3.0
-	'cant_open_write_file' => 'No se puede abrir la URI para escribir el archivo.', //cpg1.3.0
-	'cant_write_write_file' => 'No se pude escribir en la URI del archivo.', //cpg1.3.0
-	'cant_unzip' => 'No se puede descomprimir.', //cpg1.3.0
-	'unknown' => 'Error desconocido', //cpg1.3.0
-	'succ' => 'Se subió el archivo exitosamente', //cpg1.3.0
-	'success' => '%s de archivos subidos exitosamente.', //cpg1.3.0
-	'add' => 'Por favor presione \'Continuar\' para añadir los archivos al album.', //cpg1.3.0
-	'failure' => 'Falla en la subida de archivos', //cpg1.3.0
-	'f_info' => 'información del archivo', //cpg1.3.0
-	'no_place' => 'El archivo anterior no pudo ser colocado.', //cpg1.3.0
-	'yes_place' => 'El archivo anterior fue colocado exitosamente.', //cpg1.3.0
-	'max_fsize' => 'El tamaño máximo de fichero admitido es de %s KB',
-	'album' => 'Álbum',
-	'picture' => 'Fichero',
-	'pic_title' => 'Título del fichero',
-	'description' => 'Descripción del fichero',
-	'keywords' => 'Palabras clave (separadas por espacios)',
-  	'keywords_sel' =>'Seleccione una palabra clave', //cpg1.4
-	'err_no_alb_uploadables' => 'Perdona pero no hay ningún album donde esté permitido insertar nuevos ficheros',
-	'place_instr_1' => 'Por favor coloque los archivos en los albums en este momento. Igualmente ingrese información relevante de cada archivo ahora.', //cpg1.3.0
-	'place_instr_2' => 'Mas archivos necesitan ser colocados. Por favor presione \'Continuar\'.', //cpg1.3.0
-	'process_complete' => 'Ha colocado todos los archivos exitosamente.', //cpg1.3.0
-  	'albums_no_category' => 'Albums sin categoría', //cpg1.4. //album pulldown mod, added by frogfoot
-  	'personal_albums' => '* Albums personales', //cpg1.4 //album pulldown mod, added by frogfoot
-  	'select_album' => 'Seleccionar album', //cpg1.4 //album pulldown mod, added by frogfoot
-  	'close' => 'Cerrar', //cpg1.4
-  	'no_keywords' => '¡Lo sentimos, palabra clave no disponible!', //cpg1.4
-  	'regenerate_dictionary' => 'Regenerar Diccionario', //cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File usermgr.php
-// ------------------------------------------------------------------------- //
-
-if (defined('USERMGR_PHP')) $lang_usermgr_php = array(
-  	'memberlist' => 'Lista de miembros', //cpg1.4
-  	'user_manager' => 'Administrador de usuarios', //cpg1.4
-	'title' => 'Administrar usuarios',
-	'name_a' => 'Ascendente por nombre',
-	'name_d' => 'Descendente por nombre',
-	'group_a' => 'Ascendente por grupo',
-	'group_d' => 'Descendente por grupo',
-	'reg_a' => 'Ascendente por fecha de alta',
-	'reg_d' => 'Descendente por fecha de alta',
-	'pic_a' => 'Ascendente por total de fotos',
-	'pic_d' => 'Descendente por total de fotos',
-	'disku_a' => 'Ascendente por uso de disco',
-	'disku_d' => 'Descendente por uso de disco',
-	'lv_a' => 'Ascendente por última visita', //cpg1.3.0
-	'lv_d' => 'Descendente por última visita', //cpg1.3.0
-	'sort_by' => 'Ordenar usuarios por',
-	'err_no_users' => '¡La tabla de usuarios está vacía!',
-	'err_edit_self' => 'No puedes editar tu propio perfil, usa la opción \'Mi perfil de usuario\' para eso',
-	'edit' => 'EDITAR',
-  	'with_selected' => 'Seleccionado:', //cpg1.4
-	'delete' => 'BORRAR',
-  	'delete_files_no' => 'mantener archivos públicos (pero serán pasados a anónimos)', //cpg1.4
-  	'delete_files_yes' => 'también borrar archivos públicos', //cpg1.4
-  	'delete_comments_no' => 'mantener comentarios (pero serán pasados a anónimos)', //cpg1.4
-  	'delete_comments_yes' => 'también borrar comentarios', //cpg1.4
-  	'activate' => 'Activar', //cpg1.4
-  	'deactivate' => 'Desactivar', //cpg1.4
-  	'reset_password' => 'Volver a la contraseña predeterminada', //cpg1.4
-  	'change_primary_membergroup' => 'Cambiar membresía de grupo primario', //cpg1.4
-  	'add_secondary_membergroup' => 'Añadir membresía de grupo secundario', //cpg1.4
-	'name' => 'Nombre de usuario',
-	'group' => 'Grupo',
-	'inactive' => 'Inactivo',
-	'operations' => 'Operaciones',
-	'pictures' => 'Ficheros',
-	'disk_space' => 'Espacio usado',
-	'disk_space_quota' => 'Espacio de Cuota', //cpg1.4
-	'registered_on' => 'Registrado el día',
-	'last_visit' => 'última Visita', //cpg1.3.0
-	'u_user_on_p_pages' => '%d usuarios en %d página(s)',
-	'confirm_del' => '¿Estás seguro de querer BORRAR este usuario? \\nTodas sus fotos y albums serán también borrados.',
-	'mail' => 'MAIL',
-	'err_unknown_user' => '¡El usuario seleccionado no existe!',
-	'modify_user' => 'Modificar usuario',
-	'notes' => 'Notas',
-	'note_list' => '<li>Si no quieres cambiar la contraseña actual, deja el campo "contraseña" vacío',
-	'password' => 'Contraseña',
-	'user_active' => 'El usuario está activo',
-	'user_group' => 'Grupo de usuarios',
-	'user_email' => 'Email del usuario',
-	'user_web_site' => 'Página web del usuario',
-	'create_new_user' => 'Crear nuevo usuario',
-	'user_location' => 'Localidad del usuario',
-	'user_interests' => 'Intereses del usuario',
-	'user_occupation' => 'Ocupación del usuario',
-  	'user_profile1' => '$user_profile1', //cpg1.4
-  	'user_profile2' => '$user_profile2', //cpg1.4
-  	'user_profile3' => '$user_profile3', //cpg1.4
-  	'user_profile4' => '$user_profile4', //cpg1.4
-  	'user_profile5' => '$user_profile5', //cpg1.4
-  	'user_profile6' => '$user_profile6', //cpg1.4
-	'latest_upload' => 'últimos uploads', //cpg1.3.0
-	'never' => 'nunca', //cpg1.3.0
-  	'search' => 'búsqueda del usuario', //cpg1.4
-  	'submit' => 'Enviar', //cpg1.4
-  	'search_submit' => 'Ir!', //cpg1.4
-  	'search_result' => 'Resultados de la búsqueda para: ', //cpg1.4
-  	'alert_no_selection' => '¡Tiene que seleccionar al menos un usuario primero!', //cpg1.4 //js-alert
-  	'password' => 'contraseña', //cpg1.4
-  	'select_group' => 'Seleccione grupo', //cpg1.4
-  	'groups_alb_access' => 'Permisos de albums por grupo', //cpg1.4
-  	'album' => 'Album', //cpg1.4
-  	'category' => 'categoría', //cpg1.4
-  	'modify' => '¿Modificar?', //cpg1.4
-  	'group_no_access' => 'Este grupo no tiene acceso especial', //cpg1.4
-  	'notice' => 'Nota', //cpg1.4
-  	'group_can_access' => 'Album(s) que solo "%s" puede acceder', //cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File util.php
-// ------------------------------------------------------------------------- //
-
-if (defined('UTIL_PHP')) {
-$lang_util_desc_php = array(
-	'Actualizar títulos desde nombre de archivo', //cpg1.4
-	'Borrar títulos', //cpg1.4
-	'Reconstruir vistas en miniatura e imágenes reescaladas', //cpg1.4
-	'Borrar fotos de tamaño original remplazándolas con la versión reescalada', //cpg1.4
-	'Borrar fotos originales o intermedias para liberar espacio', //cpg1.4
-	'Borrar comentarios huérfanos', //cpg1.4
-	'Releer tamaño de archivos y dimensiones (si las ha editado manualmente)', //cpg1.4
-	'Volver a cero los contadores de las mas vistas', //cpg1.4
-	'Mostrar phpinfo', //cpg1.4
-	'Actualizar la base de datos', //cpg1.4
-	'Mostrar archivos de Registro de sucesos', //cpg1.4
-);
-$lang_util_php = array(
-	'title' => 'Cambiar tamaño a las imágenes',
-	'what_it_does' => 'Qué hace',
-	'file' => 'Fichero',
-  	'problem' => 'Problema', //cpg1.4
-  	'status' => 'Estatus', //cpg1.4
-	'title_set_to' => 'título a poner',
-	'submit_form' => 'enviar',
-	'updated_succesfully' => 'actualizado con éxito',
-	'error_create' => 'ERROR al crear',
-	'continue' => 'Procesar más imágenes',
-	'main_success' => 'El fichero %s ha sido usado como imagen principal con éxito',
-	'error_rename' => 'Error renombrando %s a %s',
-	'error_not_found' => 'No se encuentra el fichero %s',
-	'back' => 'volver al inicio',
-	'thumbs_wait' => 'Actualizando miniaturas y/o tamaños de imágenes, por favor espere...',
-	'thumbs_continue_wait' => 'Continuando la actualización de miniaturas y/o tamaños de imágenes...',
-	'titles_wait' => 'Actualizando títulos, por favor espere...',
-	'delete_wait' => 'Borrando títulos, por favor espere...',
-	'replace_wait' => 'Borrando originales y reemplazándolos con las imágenes de nuevo tamaño, por favor espere...',
-	'instruction' => 'Instrucciones rápidas',
-	'instruction_action' => 'Seleccionar acción',
-	'instruction_parameter' => 'Elegir los parámetros',
-	'instruction_album' => 'Seleccionar el album',
-	'instruction_press' => 'Pulsar %s',
-	'update' => 'Actualizar miniaturas y/o tamaños de imágenes',
-	'update_what' => 'Qué debe ser actualizado',
-	'update_thumb' => 'Solo Miniaturas',
-	'update_pic' => 'Solo tamaños de imágenes',
-	'update_both' => 'Thumbnails y tamaños de imágenes (ambos)',
-	'update_number' => 'Número de imágenes procesadas por cada click',
-	'update_option' => '(Prueba a poner un número menor si experimentas problemas de timeout)',
-	'filename_title' => 'Fichero &rArr; Título del fichero',
-	'filename_how' => 'Cómo debe ser el fichero modificado',
-	'filename_remove' => 'Quitar .jpg del final y reemplazar _ (underscore) con espacios',
-	'filename_euro' => 'Cambiar 2003_11_23_13_20_20.jpg a 23/11/2003 13:20',
-	'filename_us' => 'Cambiar 2003_11_23_13_20_20.jpg a 11/23/2003 13:20',
-	'filename_time' => 'Cambiar 2003_11_23_13_20_20.jpg a 13:20',
-	'delete' => 'Borrar títulos de ficheros o imágenes de tamaño original',
-	'delete_title' => 'Borrar títulos de ficheros',
-  	'delete_title_explanation' => 'Esto removerá todos los títulos de los archivos en el album especificado.', //cpg1.4
-	'delete_original' => 'Borrar imágenes de tamaño original',
-  	'delete_original_explanation' => 'Esto removerá las imágenes de tamaño original.', //cpg1.4
-  	'delete_intermediate' => 'Borrar imágenes intermedias', //cpg1.4
-  	'delete_intermediate_explanation' => 'Esto borrara las imágenes de tamaño intermedio (normal).<br />Utilícelo para liberar espacio si ha deshabilitado \'Hacer imágenes intermedias\' en la configuración luego de añadir imágenes.', //cpg1.4
-	'delete_replace' => 'Borra las imágenes originales, reemplazándolas con otras de tamaño nuevo',
-  	'titles_deleted' => 'Todos los títulos en el album especificado han sido removidos', //cpg1.4
-  	'deleting_intermediates' => 'Borrando imágenes intermedias, porfavor espere...', //cpg1.4
-  	'searching_orphans' => 'Buscando huérfanos, porfavor espere...', //cpg1.4
-	'select_album' => 'Selecciona album',
-	'delete_orphans' => 'Borrar comentarios huérfanos (funciona en todos los albums)', //cpg1.3.0
-  	'delete_orphans_explanation' => 'Esto identificara y permitirá borrar cualquier comentario asociado a archivos que ya no se encuentran en la galería.<br />Verificar todos los albums.', //cpg1.4
-  	'refresh_db' => 'Recargar la información sobre dimensiones y tamaño', //cpg1.4
-  	'refresh_db_explanation' => 'Esto volverá a leer los tamaños de archivos y las dimensiones. Utilice si las cuotas son incorrectas o ha cambiado los archivos manualmente.', //cpg1.4
-  	'reset_views' => 'Volver a cero los contadores de mas vistas', //cpg1.4
-  	'reset_views_explanation' => 'Pone en cero los contadores de visitas para el album especificado.', //cpg1.4
-	'orphan_comment' => 'comentarios huérfanos encontrados', //cpg1.3.0
-	'delete' => 'Borrar', //cpg1.3.0
-	'delete_all' => 'Borrar todos', //cpg1.3.0
-  	'delete_all_orphans' => '¿Borrar huérfanos?', //cpg1.4
-	'comment' => 'Comentario: ', //cpg1.3.0
-	'nonexist' => 'asociado a un fichero no existente # ', //cpg1.3.0
-	'phpinfo' => 'Mostrar phpinfo', //cpg1.3.0
-  	'phpinfo_explanation' => 'Contiene información técnica sobre su servidor.<br /> - Puede ser que sea requerido que de información de aquí cuando se hace un pedido de soporte técnico.', //cpg1.4
-	'update_db' => 'Actualizar base de datos', //cpg1.3.0
-	'update_db_explanation' => 'Si has reemplazado los ficheros de coppermine, añadido modificaciones o actualizado de una versión previa de coppermine, deberías ejecutar la actualización de base de datos. Esta acción creará las tablas necesarias y/o valores de configuración en la base de datos de  coppermine.', //cpg1.3.0
-  	'view_log' => 'Ver registro de sucesos', //cpg1.4
-  	'view_log_explanation' => 'Coppermine puede seguir varias de las acciones que un usuario realiza. Puede revisar estos registros si ha activado Registrar sucesos en <a href="admin.php">configuración de Coppermine</a>.', //cpg1.4
-  	'versioncheck' => 'Verificar versión', //cpg1.4
-  	'versioncheck_explanation' => 'Revisa el archivo de versión para verificar si ha remplazado todos los archivos luego de hacer la actualización, o si los archivos fuente de coppermine han sido actualizados luego de la aparición de un paquete.', //cpg1.4
-  	'bridgemanager' => 'Administrador de Enlaces', //cpg1.4
-  	'bridgemanager_explanation' => 'Activa/Desactiva la integración (enlace) de Coppermine con otra aplicación (ej. su BBS).', //cpg1.4
-);
-}
-
-// ------------------------------------------------------------------------- //
-// File versioncheck.php //cpg1.4
-// ------------------------------------------------------------------------- //
-
-if (defined('VERSIONCHECK_PHP')) $lang_versioncheck_php = array(
-  	'title' => 'Revisión de Versión', //cpg1.4
-  	'what_it_does' => 'Esta pagina esta diseñada para usuarios que han actualizado su instalación de Coppermine. Este script va recorriendo los archivos en tu servidor web y trata de determinar si las versiones locales de tus archivos y las versiones en el servidor web http://coppermine.sourceforge.net son iguales, de esta manera se muestran los archivos que deberías actualizar.<br />Muestra todo lo que es necesario actualizar en rojo. Las entradas en amarillo necesitan ser revisadas. Las entradas en verde (o tu color de fuente predeterminado) están OK.<br />Has click en los iconos de ayuda para saber más.', //cpg1.4
-  	'online_repository_unable' => 'No es posible comunicarse con el repositorio en línea', //cpg1.4
-  	'online_repository_noconnect' => 'Coppermine no se puede conectar al  repositorio en línea. Puede ser por dos razones:', //cpg1.4
-  	'online_repository_reason1' => 'el repositorio de coppermine en línea se encuentra abajo - revise si puede navegar en esta pagina: %s - si no puede acceder a esta pagina, inténtelo de nuevo mas tarde.', //cpg1.4
-  	'online_repository_reason2' => 'El PHP de su servidor esta configurado con %s deshabilitado (predeterminado es habilitado). Si el servidor es suyo para administrar, active esta opción en el <i>php.ini</i> (al menos permita que sea sobreescribible con %s). Si tienes tus archivos en un host de Internet, probablemente no le sea posible comparar sus archivos con el repositorio en línea. Esta pagina solo muestra los archivos de su distribución - las actualizaciones no se mostraran.', //cpg1.4
-  	'online_repository_skipped' => 'Se salteo la conexión al repositorio en línea', //cpg1.4
-	'online_repository_to_local' => 'Este script esta predeterminado a la versión local de sus archivos. La información puede no ser precisa si ha actualizado Coppermine y no ha subido sus archivos. Cambios a sus archivos luego de esta liberación de versión no serán tomados en consideración.', //cpg1.4
-  	'local_repository_unable' => 'No es posible conectarse al repositorio en su servidor', //cpg1.4
-  	'local_repository_explanation' => 'Coppermine no se pudo conectar al repositorio de archivos %s en su servidor. Esto posiblemente signifique que no ha subido el repositorio de archivos a su servidor. Hágalo ahora y de ahí intente correr esta pagina nuevamente (presione refresh).<br />Si el script falla, su servidor web puede haber deshabilitado partes de <a href="http://www.php.net/manual/es/ref.filesystem.php">Funciones del sistema de archivos de PHP</a> completamente. En ese caso, no pude utilizar esta herramienta del todo, lo sentimos.', //cpg1.4
-  	'coppermine_version_header' => 'versión de Coppermine instalada', //cpg1.4
-  	'coppermine_version_info' => 'Actualmente tiene instalada la versión: %s', //cpg1.4
-  	'coppermine_version_explanation' => 'Si cree que esto esta equivocado y supone que debería estar corriendo una versión superior de Coppermine, posiblemente no ha subido la versión mas reciente del archivo<i>include/init.inc.php</i>', //cpg1.4
-  	'version_comparison' => 'Comparación de versiones', //cpg1.4
-  	'folder_file' => 'fólder/Archivo', //cpg1.4
-  	'coppermine_version' => 'versión de cpg', //cpg1.4
-  	'file_version' => 'versión de archivo', //cpg1.4
-  	'webcvs' => 'svn de web', //cpg1.4
-  	'writable' => 'escribible', //cpg1.4
-  	'not_writable' => 'no escribible', //cpg1.4
-  	'help' => 'Ayuda', //cpg1.4
-  	'help_file_not_exist_optional1' => 'El Archivo/fólder no existe', //cpg1.4
-  	'help_file_not_exist_optional2' => 'El Archivo/fólder %s no ha sido encontrado en su servidor. A pesar que es opcional puede subirlo a su servidor web (usando su cliente FTP) si esta experimentando problemas.', //cpg1.4
-  	'help_file_not_exist_mandatory1' => 'El Archivo/fólder no existe', //cpg1.4
-  	'help_file_not_exist_mandatory2' => 'El Archivo/fólder %s no ha sido encontrado en su servidor, sin embargo es obligatorio. Suba el archivo a su servidor web (usando su cliente FTP).', //cpg1.4
-  	'help_no_local_version1' => 'No hay versión local del archivo', //cpg1.4
-  	'help_no_local_version2' => 'El script no fue capaz de extraer una versión local del archivo - su archivo es muy antiguo o usted lo ha modificado, removiendo la información de la cabecera en el proceso. Se recomienda actualizar el archivo.', //cpg1.4
-  	'help_local_version_outdated1' => 'Versión local desactualizada', //cpg1.4
-  	'help_local_version_outdated2' => 'La versión de este archivo parece de una versión antigua de Coppermine (probablemente lo ha actualizado). Asegúrese de actualizar este archivo también.', //cpg1.4
-  	'help_local_version_na1' => 'No se pudo extraer la información de la versión de SVN', //cpg1.4
-  	'help_local_version_na2' => 'El script no pudo determinar a que versión de SVN pertenece el archivo en su servidor web. debería subir el archivo de su paquete.', //cpg1.4
-  	'help_local_version_dev1' => 'versión de desarrollo', //cpg1.4
-  	'help_local_version_dev2' => 'El archivo en su servidor web parece mas nuevo que su versión de Coppermine. Se encuentra usando una versión en desarrollo (solo debe hacer eso si esta seguro de lo que hace), o ha actualizado su versión de Coppermine y no ha subido el archivo include/init.inc.php', //cpg1.4
-  	'help_not_writable1' => 'El fólder no es escribible', //cpg1.4
-  	'help_not_writable2' => 'Cambie los permisos (CHMOD) del archivo para darle al script acceso de escritura al fólder %s y todo su contenido.', //cpg1.4
-  	'help_writable1' => 'El fólder es escribible', //cpg1.4
-  	'help_writable2' => 'El fólder %s es escribible. Este es un riesgo innecesario, coppermine solo necesita acceso de lectura/escritura.', //cpg1.4
-  	'help_writable_undetermined' => 'Coppermine no puede determinar si el fólder es escribible.', //cpg1.4
-  	'your_file' => 'su archivo', //cpg1.4
-  	'reference_file' => 'archivo de referencia', //cpg1.4
-  	'summary' => 'Resumen', //cpg1.4
-  	'total' => 'Total de archivos/fólderes revisados', //cpg1.4
-  	'mandatory_files_missing' => 'Faltan archivos obligatorios', //cpg1.4
-  	'optional_files_missing' => 'Faltan archivos opcionales', //cpg1.4
-  	'files_from_older_version' => 'Archivos que quedaron de una versión desactualizada de Coppermine', //cpg1.4
-  	'file_version_outdated' => 'Versiones de archivos desactualizadas', //cpg1.4
-  	'error_no_data' => 'El script hizo buu, no fue posible recopilar información. Lamentamos los inconvenientes.', //cpg1.4
-  	'go_to_webcvs' => 'ir a %s', //cpg1.4
-  	'options' => 'Opciones', //cpg1.4
-  	'show_optional_files' => 'mostrar fólderes/archivos opcionales', //cpg1.4
-  	'show_mandatory_files' => 'mostrar archivos obligatorios ', //cpg1.4
-  	'show_file_versions' => 'mostrar versiones de archivos', //cpg1.4
-  	'show_errors_only' => 'mostrar solo fólderes/archivos con errores', //cpg1.4
-  	'show_permissions' => 'mostrar permisos de fólderes', //cpg1.4
-  	'show_condensed_output' => 'mostrar resultado condensado (para capturas de pantalla mas fáciles)', //cpg1.4
-  	'coppermine_in_webroot' => 'coppermine esta instalado en la raíz del servidor web', //cpg1.4
-  	'connect_online_repository' => 'tratando de conectar al repositorio en línea', //cpg1.4
-  	'show_additional_information' => 'mostrar información adicional', //cpg1.4
-  	'no_webcvs_link' => 'no mostrar el link al SVN', //cpg1.4
-  	'stable_webcvs_link' => 'mostrar el link al SVN web a la rama estable', //cpg1.4
-  	'devel_webcvs_link' => 'mostrar el link al SVN web a la rama de desarrollo', //cpg1.4
-  	'submit' => 'aplicar cambios / refrescar', //cpg1.4
-  	'reset_to_defaults' => 'regresar a los valores predeterminados', //cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File view_log.php  //cpg1.4
-// ------------------------------------------------------------------------- //
-
-if (defined('VIEWLOG_PHP')) $lang_viewlog_php = array(
-  	'delete_all' => 'Borrar todos los registros de sucesos', //cpg1.4
-  	'delete_this' => 'Borrar este registro de suceso', //cpg1.4
-  	'view_logs' => 'Ver registro de sucesos', //cpg1.4
-  	'no_logs' => 'No hay registro de sucesos creados.', //cpg1.4
-);
-
-
-// ------------------------------------------------------------------------- //
-// File xp_publish.php //cpg1.4
-// ------------------------------------------------------------------------- //
-
-if (defined('XP_PUBLISH_PHP')) {
-
-$lang_xp_publish_client = <<<EOT
-<h1>Cliente del Asistente de Publicación Web de XP</h1><p>Este modulo le permite usar el asistente de Publicación Web de <b>Windows XP</b> con Coppermine.</p><p>El código esta basado en un articulo publicado por
-EOT;
-
-$lang_xp_publish_required = <<<EOT
-<h2>Que es requerido</h2><ul><li>Windows XP para poder tener el asistente.</li><li>Una instalación funcional de Coppermine<b>la función de subida funcionando propiamente.</b></li></ul><h2>Como instalar en el lado del cliente</h2><ul><li>Click derecho en 
-EOT;
-
-$lang_xp_publish_select = <<<EOT
-Seleccione &quot;guardar archivo como..&quot;. Grabe el archivo en su disco duro. Cuando salve el archivo , revise que el nombre propuesto es <b>cpg_###.reg</b> (los ### representan una estampa de tiempo numérica (timestamp)). Cámbielo a ese nombre de ser necesario (deje los números). Cuando este descargado, doble click para registrar su servidor con el asistente de publicación Web.</li></ul>
-EOT;
-
-$lang_xp_publish_testing = <<<EOT
-<h2>Probando</h2><ul><li>En el explorador de windows, seleccione algún archivo y de click en <b>Publicar xxx en la web</b> en el panel izquierdo.</li><li>Confirme la selección del archivo. Haga click en <b>Siguiente</b>.</li><li>En el listado de servicios que aparece, seleccione el que pertenece a su galería (tiene el nombre de su galería). Si el servicio no aparece, verifique que tiene instalado <b>cpg_pub_wizard.reg</b> como se describe arriba.</li><li>Ingrese su información de inicio de sesión si es requerido.</li><li>selección el álbum de destino o cree uno nuevo.</li><li>Presione <b>siguiente</b>. La carga de su archivo comienza.</li><li>Cuando termine, verifique su galería para ver si las imágenes han sido correctamente añadidas.</li></ul>
-EOT;
-
-$lang_xp_publish_notes = <<<EOT
-<h2>Notas :</h2><ul><li>Una vez que la carga haya empezado, el asistente no puede mostrar ningún mensaje de error enviando por el script por lo que no puede saber si la carga ha fallado o fue exitosa hasta que revise su galería.</li><li>Si la carga falla, habilite el &quot;Modo de depuración&quot; en la pagina de administración de Coppermine, intente con una sola imagen y vea los mensajes de error en 
-EOT;
-
-$lang_xp_publish_flood = <<<EOT
-archivo que esta ubicado en el directorio de Coppermine en su servidor.</li><li>Para evitar que la galería se <i>sature</i> por imágenes siendo cargadas por el asistente, solo los <b>administrador de la galería</b> y los <b>usuarios que pueden tener sus albums propios</b> pueden usar esta herramienta.</li>
-EOT;
-
-
-
-$lang_xp_publish_php = array(
-  	'title' => 'Coppermine - Asistente de Publicación Web de XP', //cpg1.4
-  	'welcome' => 'Bienvenido <b>%s</b>,', //cpg1.4
-	'need_login' => 'Necesita iniciar sesión en la galería usando su navegador antes de poder usar este asistente.<p/><p>Cuando inicia sesión no se olvide de seleccionar la opción <b>recordarme</b> si esta presente.', //cpg1.4
-  	'no_alb' => 'Lo sentimos pero no hay album alguno en el cual este permitido que cargue sus archivos por medio de este asistente.', //cpg1.4
-  	'upload' => 'Subir sus imágenes a un album existente', //cpg1.4
-  	'create_new' => 'Crear un nuevo album para sus imágenes', //cpg1.4
-  	'album' => 'Album', //cpg1.4
-  	'category' => 'categoría', //cpg1.4
-  	'new_alb_created' => 'Su nuevo album &quot;<b>%s</b>&quot; ha sido creado.', //cpg1.4
-  	'continue' => 'Presione &quot;Siguiente&quot; para iniciar la carga de sus imágenes', //cpg1.4
-  	'link' => 'este enlace', //cpg1.4
-);
-}
-
-//This ones i don't found it in the english file, originaly placed in util.php but the new english file has new estructure so...... ...........well i left it here
-$missing=array('what_update_titles' => 'Actualiza los nombres de fichero',
-	'what_delete_title' => 'Borra los títulos',
-	'what_rebuild' => 'Vuelve a crear las imágenes miniatura y otros tamaños de las imágenes',
-	'what_delete_originals' => 'Borra las imágenes originales reemplazándolas con versiones de nuevo tamaño');
+<?php
+/*************************
+  Coppermine Photo Gallery
+  ************************
+  Copyright (c) 2003-2009 Coppermine Dev Team
+  v1.1 originally written by Gregory DEMAR
+
+  This program is free software; you can redistribute it and/or modify
+  it under the terms of the GNU General Public License version 3
+  as published by the Free Software Foundation.
+  
+  ********************************************
+  Coppermine version: 1.4.25
+  $HeadURL: https://coppermine.svn.sourceforge.net/svnroot/coppermine/trunk/cpg1.4.x/lang/spanish.php $
+  $Revision: 5997 $
+  $Author: gaugau $
+  $Date: 2009-05-26 08:43:24 +0200 (Di, 26 Mai 2009) $
+**********************************************/
+// ------------------------------------------------------------------------- //
+// $Id: spanish.php 5997 2009-05-26 06:43:24Z gaugau $
+// ------------------------------------------------------------------------- //
+
+if (!defined('IN_COPPERMINE')) { die('Not in Coppermine...');}
+
+// info about translators and translated language
+$lang_translation_info = array(
+'lang_name_english' => 'Spanish',  
+'lang_name_native' => 'Español',
+'lang_country_code' => 'es', 
+'trans_name'=> 'Daniel Villoldo (Grumpywolf), Jorge Escribens (Kemmotar)', //the name of the translator - can be a nickname
+'trans_email' => 'daniel@grumpywolf.net', //translator's email address (optional)
+'trans_website' => 'http://grumpywolf.net/', //translator's website (optional)
+'trans_date' => '2004-03-22', //the date the translation was created / last modified
+);
+
+$lang_charset = 'utf-8';
+$lang_text_dir = 'ltr'; // ('ltr' for left to right, 'rtl' for right to left)
+
+// shortcuts for Byte, Kilo, Mega
+$lang_byte_units = array('Bytes', 'KB', 'MB');
+
+// Day of weeks and months
+$lang_day_of_week = array('Dom', 'Lun', 'Mar', 'Mie', 'Jue', 'Vie', 'Sab');
+$lang_month = array('Ene', 'Feb', 'Mar', 'Abr', 'May', 'Jun', 'Jul', 'Ago', 'Sep', 'Oct', 'Nov', 'Dic');
+
+// Some common strings
+$lang_yes = 'Si';
+$lang_no  = 'No';
+$lang_back = 'ATRAS';
+$lang_continue = 'CONTINUAR';
+$lang_info = 'Información';
+$lang_error = 'Error';
+$lang_check_uncheck_all = 'Marcar/Desmarcar todos'; //cpg1.4
+
+// The various date formats
+// See http://www.php.net/manual/en/function.strftime.php to define the variable below
+$album_date_fmt =    '%d de %B de %Y';
+$lastcom_date_fmt =  '%d/%m/%y a las %H:%M';
+$lastup_date_fmt = '%d de %B de %Y';
+$register_date_fmt = '%d de %B de %Y';
+$lasthit_date_fmt = '%d de %B de %Y a las %I:%M %p';
+$comment_date_fmt =  '%d de %B de %Y a las %I:%M %p';
+$log_date_fmt = '%d de %B de %Y a las %I:%M %p'; //cpg1.4
+
+// For the word censor
+$lang_bad_words = array('joder', 'carajo', 'culeador', '*puta', 'pincho', 'concha', 'Pincho', 'eyacular', 'concha*', 'dago', 'daygo', 'dego', 'pinga*', 'consolador', 'fanculo', 'Heces', 'foreskin', 'Jode\(*', 'Jode*', 'honkey', 'hore', 'injun', 'kike', 'lesbo', 'masturbac*', 'hijo de puta', 'nazis', 'negro*', 'nutsack', 'pene', 'phuck', 'poop', 'vagina', 'scrotum', 'mierda', 'prostituta', 'tetas', 'teta', 'twaty', 'wank*', 'perra', 'wop*');
+
+$lang_meta_album_names = array(
+	'random' => 'Imágenes Al azar',
+	'lastup' => 'Ultimas imágenes',
+	'lastalb'=> 'Últimos álbumes modificados',
+	'lastcom' => 'Últimos comentarios',
+	'topn' => 'Más vistas',
+	'toprated' => 'Más valoradas',
+	'lasthits' => 'Ultimas vistas',
+	'search' => 'Resultado de la búsqueda',
+	'favpics'=> 'Favoritos'
+);
+
+$lang_errors = array(
+	'access_denied' => 'No tienes permisos para acceder a esta página.',
+	'perm_denied' => 'No tienes permisos para realizar esta operación.',
+	'param_missing' => 'Llamada a Script sin los parámetros requeridos.',
+	'non_exist_ap' => '¡El álbum/fichero seleccionado no existe!',
+	'quota_exceeded' => 'Cuota de disco excedida<br /><br />Tienes una cuota de disco de [quota]K, tus archivos actualmente ocupan [space]K, y añadiendo este archivo excederías la cuota.',
+	'gd_file_type_err' => 'Cuando se usa la librería de imagen GD solamente están permitidos los tipos JPEG y PNG.',
+	'invalid_image' => 'La imagen que has añadido está corrupta o no puede ser tratada por la librería GD.',
+	'resize_failed' => 'Incapaz de crear miniatura o imagen de tamaño reducido.',
+	'no_img_to_display' => 'Ninguna imagen que enseñar.',
+	'non_exist_cat' => 'La categoría seleccionada no existe.',
+	'orphan_cat' => 'Una categoría no tiene padre, ejecuta la utilidad de categorías para corregir el problema.',
+	'directory_ro' => 'El directorio \'%s\' no tiene permisos de escritura, los archivos no pueden ser borrados.',
+	'non_exist_comment' => 'El comentario seleccionado no existe.',
+	'pic_in_invalid_album' => '¿¡El archivo está en un álbum que no existe (%s)!?',
+	'banned' => 'Actualmente estás expulsado respecto al uso de esta web.',
+	'not_with_udb' => 'Esta función está desactivada en Coppermine porque está integrada con un software de foros. Lo que fuese que estás intentando hacer no está soportado en esta configuración, o la función debe ser manejada por el software de foros.',
+	'offline_title' => 'Desactivada', //cpg1.3.0
+	'offline_text' => 'La galería está actualmente desactivada, por poco tiempo - ¡vuelve pronto!', //cpg1.3.0
+	'ecards_empty' => 'Actualmente no hay registro de postales para mostrar. ¡Chequea que has activado guardar las postales en la configuración!', //cpg1.3.0
+	'action_failed' => 'Acción no realizada.  Coppermine no es capaz de procesar tu petición.', //cpg1.3.0
+	'no_zip' => 'Las librerías necesarias para procesar ficheros ZIP no están disponibles. Contacta con el administrador de este álbum.', //cpg1.3.0
+	'zip_type' => 'No tienes permisos para añadir ficheros ZIP.', //cpg1.3.0
+	'database_query' => 'Hubo un error al procesar la consulta', //cpg1.4
+'register_globals_on' => 'The PHP setting register_globals is enabled on your server, which is a bad idea in terms of security. It\'s strongly recommended to turn it off. [<a href="http://forum.coppermine-gallery.net/index.php/topic,59569.0.html" rel="external" class="external">more</a>]',
+);
+
+$lang_bbcode_help_title = 'Ayuda de los códigos'; //cpg1.4
+$lang_bbcode_help = 'Los siguientes códigos te pueden ser de utilidad: <li>[b]<b>Negrita</b>[/b]</li> <li>[i]<i>Itálica</i>[/i]</li> <li>[url=http://tusitio.com/]Texto de Web[/url]</li> <li>[email]usuario@dominio.com[/email]</li>'; //cpg1.3.0
+
+// ------------------------------------------------------------------------- //
+// File theme.php
+// ------------------------------------------------------------------------- //
+
+$lang_main_menu = array(
+	'home_title' => 'Ir a la página principal',
+  	'home_lnk' => 'Página Principal',
+	'alb_list_title' => 'Ir a la lista de álbumes',
+	'alb_list_lnk' => 'Lista de albums',
+	'my_gal_title' => 'Ir a mi galería personal',
+	'my_gal_lnk' => 'Mi galería',
+	'my_prof_title' => 'Ir a mi perfil de usuario', //cpg1.4
+	'my_prof_lnk' => 'Mi perfil de usuario',
+	'adm_mode_title' => 'Ir a modo administrador',
+	'adm_mode_lnk' => 'Modo administrador',
+	'usr_mode_title' => 'Ir a modo usuario',
+	'usr_mode_lnk' => 'Modo usuario',
+	'upload_pic_title' => 'Añadir archivo en un álbum',
+	'upload_pic_lnk' => 'Añadir fichero',
+	'register_title' => 'Crear un usuario',
+	'register_lnk' => 'Registrarse',
+  	'login_title' => 'Iniciar sesión', //cpg1.4	
+	'login_lnk' => 'Ingresar',
+	'logout_title' => 'Cerrar sesión', //cpg1.4
+	'logout_lnk' => 'Salir',
+	'lastup_title' => 'Mostrar los últimos archivos', //cpg1.4
+	'lastup_lnk' => 'Últimos archivos',
+  	'lastcom_title' => 'Mostrar los últimos comentarios', //cpg1.4
+	'lastcom_lnk' => 'Últimos comentarios',
+  	'topn_title' => 'Mostrar los mas vistos', //cpg1.4
+	'topn_lnk' => 'Más vistos',
+  	'toprated_title' => 'Mostrar los mas valorados', //cpg1.4
+	'toprated_lnk' => 'Más valorados',
+  	'search_title' => 'Buscar en la galería', //cpg1.4
+	'search_lnk' => 'Buscar',
+  	'fav_title' => 'Ir a mis favoritos', //cpg1.4
+	'fav_lnk' => 'Mis favoritos',
+	'memberlist_title' => 'Mostrar lista de miembros', //cpg1.3.0
+	'memberlist_lnk' => 'Lista de miembros', //cpg1.3.0
+	'faq_title' => 'Preguntas frecuentes sobre la galería de imágenes &quot;Coppermine&quot;', //cpg1.3.0
+	'faq_lnk' => 'FAQ', //cpg1.3.0
+);
+
+$lang_gallery_admin_menu = array(
+ 	'upl_app_title' => 'Aprobar nuevos archivos', //cpg1.4
+ 	'upl_app_lnk' => 'Aprobar archivos',
+	'admin_title' => 'Ir a la configuración', //cpg1.4
+  	'admin_lnk' => 'Configuración', //cpg1.4
+  	'albums_title' => 'Ir a la configuración de álbumes', //cpg1.4
+	'albums_lnk' => 'Álbumes',
+	'config_lnk' => 'Configuración',
+  	'categories_title' => 'Ir a la configuración de categorías', //cpg1.4
+	'categories_lnk' => 'Categorías',
+  	'users_title' => 'Ir a la configuración de usuarios', //cpg1.4
+	'users_lnk' => 'Usuarios',
+  	'groups_title' => 'Ir a la configuración de grupos', //cpg1.4
+	'groups_lnk' => 'Grupos',
+  	'comments_title' => 'Revisar todos los comentarios', //cpg1.4
+	'comments_lnk' => 'Revisar comentarios',
+  	'searchnew_title' => 'Ir a añadir ficheros (Batch)', //cpg1.4
+	'searchnew_lnk' => 'Añadir ficheros (Batch)',
+  	'util_title' => 'Ir a las herramientas administrativas', //cpg1.4
+	'util_lnk' => 'Herramientas administrativas',
+  	'key_title' => 'Ir al diccionario de palabras claves', //cpg1.4
+  	'key_lnk' => 'Diccionario de palabras claves', //cpg1.4
+  	'ban_title' => 'Ir a los expulsar usuarios', //cpg1.4
+	'ban_lnk' => 'Expulsar usuarios',
+  	'db_ecard_title' => 'Revisar postales', //cpg1.4
+	'db_ecard_lnk' => 'Mostrar postales', //cpg1.3.0
+  	'pictures_title' => 'Ordenar mis imágenes', //cpg1.4
+  	'pictures_lnk' => 'Ordenar mis imágenes', //cpg1.4
+  	'documentation_lnk' => 'Documentación', //cpg1.4
+  	'documentation_title' => 'Manual de Coppermine', //cpg1.4
+);
+
+$lang_user_admin_menu = array(
+  	'albmgr_title' => 'Crear y ordenar mis álbumes', //cpg1.4
+	'albmgr_lnk' => 'Crear / ordenar álbumes',
+  	'modifyalb_title' => 'Ir a modificar mis álbumes',  //cpg1.4
+	'modifyalb_lnk' => 'Modificar mis álbumes',
+  	'my_prof_title' => 'Ir a mi perfil', //cpg1.4
+	'my_prof_lnk' => 'Mi perfil',
+);
+
+$lang_cat_list = array(
+	'category' => 'Categoría',
+	'albums' => 'álbumes',
+	'pictures' => 'Ficheros',
+);
+
+$lang_album_list = array(
+	'album_on_page' => '%d álbumes en %d página(s)'
+);
+
+$lang_thumb_view = array(
+	'date' => 'FECHA',
+	//Sort by filename and title
+	'name' => 'NOMBRE',
+	'title' => 'TITULO',
+	'sort_da' => 'Ordenado por fecha ascendente',
+	'sort_dd' => 'Ordenado por fecha descendente',
+	'sort_na' => 'Ordenado por nombre ascendente',
+	'sort_nd' => 'Ordenado por nombre descendente',
+	'sort_ta' => 'Ordenado por título ascendente',
+	'sort_td' => 'Ordenado por título descendente',
+  	'position' => 'POSICION', //cpg1.4
+  	'sort_pa' => 'Ordenado por posición ascendente', //cpg1.4
+  	'sort_pd' => 'Ordenado por posición descendente', //cpg1.4
+	'download_zip' => 'Descargar como fichero Zip', //cpg1.3.0
+	'pic_on_page' => '%d archivos en %d página(s)',
+	'user_on_page' => '%d usuarios en %d página(s)',
+  	'enter_alb_pass' => 'Ingrese la contraseña del álbum', //cpg1.4
+  	'invalid_pass' => 'Contraseña equivocada', //cpg1.4
+  	'pass' => 'Contraseña', //cpg1.4
+  	'submit' => 'Enviar', //cpg1.4
+);
+
+$lang_img_nav_bar = array(
+	'thumb_title' => 'Volver al índice del album',
+	'pic_info_title' => 'Mostrar/ocultar información del fichero',
+	'slideshow_title' => 'Slideshow',
+	'ecard_title' => 'Enviar una postal con esta imagen',
+	'ecard_disabled' => 'Envio de postales deshabilitado',
+	'ecard_disabled_msg' => 'No tienes permisos para enviar postales',
+	'prev_title' => 'Ver fichero anterior',
+	'next_title' => 'Ver fichero siguiente',
+	'pic_pos' => 'FICHERO %s/%s',
+  	'report_title' => 'Reportar este archivo al administradór', //cpg1.4
+  	'go_album_end' => 'Saltar al final', //cpg1.4
+  	'go_album_start' => 'Volver al principio', //cpg1.4
+  	'go_back_x_items' => 'retroceder %s elementos', //cpg1.4
+  	'go_forward_x_items' => 'avanzar %s elementos', //cpg1.4
+);
+
+$lang_rate_pic = array(
+	'rate_this_pic' => 'Valorar este archivo ',
+	'no_votes' => '(No hay votos)',
+	'rating' => '(valoración actual : %s / 5 con %s votos)',
+	'rubbish' => 'Malo',
+	'poor' => 'Regular',
+	'fair' => 'Normal',
+	'good' => 'Bueno',
+	'excellent' => 'Excelente',
+	'great' => 'Genial',
+);
+
+// ------------------------------------------------------------------------- //
+// File include/exif.inc.php
+// ------------------------------------------------------------------------- //
+
+// void
+
+// ------------------------------------------------------------------------- //
+// File include/functions.inc.php
+// ------------------------------------------------------------------------- //
+
+$lang_cpg_die = array(
+	INFORMATION => $lang_info,
+	ERROR => $lang_error,
+	CRITICAL_ERROR => 'Error crítico',
+	'file' => 'Fichero: ',
+	'line' => 'Línea: ',
+);
+
+$lang_display_thumbnails = array(
+	'filename' => 'Fichero: ',
+	'filesize' => 'Tamaño: ',
+	'dimensions' => 'Dimensiones: ',
+	'date_added' => 'Fecha de alta: ',
+);
+
+$lang_get_pic_data = array(
+	'n_comments' => '%s comentarios',
+	'n_views' => '%s veces vista',
+	'n_votes' => '(%s votos)'
+);
+
+$lang_cpg_debug_output = array(
+  'debug_info' => 'Información de Debug', //cpg1.3.0
+  'select_all' => 'Seleccionar Todo', //cpg1.3.0
+  'copy_and_paste_instructions' => 'Si vas a pedir ayuda en el foro de soporte de coppermine, copia y pega esta información de debug en tu mensaje. Asegúrate de reemplazar cualquier contraseña de la consulta con *** (asteriscos) antes de enviarlo.', //cpg1.3.0
+  'phpinfo' => 'mostrar phpinfo', //cpg1.3.0
+  'notices' => 'Alertas', //cpg1.4
+);
+
+$lang_language_selection = array(
+  'reset_language' => 'Lenguaje por defecto', //cpg1.3.0
+  'choose_language' => 'Elije tu lenguaje', //cpg1.3.0
+);
+
+$lang_theme_selection = array(
+  'reset_theme' => 'Tema por defecto', //cpg1.3.0
+  'choose_theme' => 'Elige tu tema (aspecto)', //cpg1.3.0
+);
+
+$lang_version_alert = array(
+  'version_alert' => '¡Versión no soportada!', //cpg1.4
+  'no_stable_version' => 'Estas ejecutando Coppermine %s (%s) que solo es recomendado para usuarios experimentados - esta versión no viene con ninguna garantía o suporte. ¡Úsala bajo tu propio riesgo o instala la ultima versión estable si necesitas soporte!', //cpg1.4
+  'gallery_offline' => 'La galería se encuentra fuera de línea y solo será visible para ti como administrador. No te olvides de ponerla en línea después de terminar el mantenimiento.', //cpg1.4
+);
+
+$lang_create_tabs = array(
+  'previous' => 'anterior', //cpg1.4
+  'next' => 'siguiente', //cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File include/init.inc.php
+// ------------------------------------------------------------------------- //
+
+// void
+
+// ------------------------------------------------------------------------- //
+// File include/picmgmt.inc.php
+// ------------------------------------------------------------------------- //
+
+// void
+
+// ------------------------------------------------------------------------- //
+// File keyword.inc.php                                                      //
+// ------------------------------------------------------------------------- //
+
+// void
+
+// ------------------------------------------------------------------------- //
+// File include/plugin_api.inc.php
+// ------------------------------------------------------------------------- //
+$lang_plugin_api = array(
+  'error_wakeup' => "No se pudo iniciar el plugin '%s'", //cpg1.4
+  'error_install' => "No se pudo instalar el plugin '%s'", //cpg1.4
+  'error_uninstall' => "No se pudo desinstalar el plugin '%s'", //cpg1.4
+  'error_sleep' => "No se pudo pausar el plugin '%s'<br />", //cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File include/smilies.inc.php
+// ------------------------------------------------------------------------- //
+
+if (defined('SMILIES_PHP')) $lang_smilies_inc_php = array(
+	'Exclamation' => 'Exclamación',
+	'Question' => 'Pregunta',
+	'Very Happy' => 'Muy feliz',
+	'Smile' => 'Sonrisa',
+	'Sad' => 'Triste',
+	'Surprised' => 'Sorprendido',
+	'Shocked' => 'Conmocionado',
+	'Confused' => 'Confundido',
+	'Cool' => 'Genial',
+	'Laughing' => 'Riéndose',
+	'Mad' => 'Molesto',
+	'Razz' => 'Razz?',
+	'Embarassed' > 'Avergonzado',
+	'Crying or Very sad' => 'Llorando o muy triste',
+	'Evil or Very Mad' => 'Malo o muy molesto',
+	'Twisted Evil' => 'Malvado retorcido',
+	'Rolling Eyes' => 'Ojitos girando',
+	'Wink' => 'Guiño',
+	'Idea' => 'Idea',
+	'Arrow' => 'Flecha',
+	'Neutral' => 'Neutral',
+	'Mr. Green' => 'Sr. Verde',
+);
+
+// ------------------------------------------------------------------------- //
+// File addpic.php
+// ------------------------------------------------------------------------- //
+
+// void
+
+// ------------------------------------------------------------------------- //
+// File mode.php
+// ------------------------------------------------------------------------- //
+
+if (defined('MODE_PHP')) $lang_admin_php = array(
+	0 => 'Saliendo del modo administrador...',
+	1 => 'Entrando al modo administrador...',
+);
+
+// ------------------------------------------------------------------------- //
+// File albmgr.php
+// ------------------------------------------------------------------------- //
+
+if (defined('ALBMGR_PHP')) $lang_albmgr_php = array(
+	'alb_need_name' => '¡Los álbumes deben tener un nombre!', //js-alert
+	'confirm_modifs' => '¿Estás seguro de querer aplicar las modificaciones?', //js-alert
+	'no_change' => '¡No se hizo ningún cambio!', //js-alert
+	'new_album' => 'Nuevo álbum',
+	'confirm_delete1' => '¿Estás seguro de querer borrar este álbum?', //js-alert
+	'confirm_delete2' => '\n¡Todos las archivos y comentarios que contiene se perderán!', //js-alert
+	'select_first' => 'Selecciona un álbum primero',
+	'alb_mrg' => 'Administrador de Albums',
+	'my_gallery' => '* Mi galería *',
+	'no_category' => '* Sin categoría *',
+	'delete' => 'Borrar',
+	'new' => 'Nuevo',
+	'apply_modifs' => 'Aplicar modificaciones',
+	'select_category' => 'Seleccionar categoría',
+);
+
+// ------------------------------------------------------------------------- //
+// File banning.php
+// ------------------------------------------------------------------------- //
+
+if (defined('BANNING_PHP')) $lang_banning_php = array(
+  'title' => 'Expulsar usuarios', //cpg1.4
+  'user_name' => 'Nombre de usuario', //cpg1.4
+  'ip_address' => 'Dirección IP', //cpg1.4
+  'expiry' => 'Expira (déjelo en blanco para hacerlo permanente)', //cpg1.4
+  'edit_ban' => 'Guardar Cambios', //cpg1.4
+  'delete_ban' => 'Borrar', //cpg1.4
+  'add_new' => 'Añadir nuevo', //cpg1.4
+  'add_ban' => 'Añadir', //cpg1.4
+  'error_user' => 'No se puede encontrar al usuario', //cpg1.4
+  'error_specify' => 'Necesita especificar un nombre de usuario o una dirección IP', //cpg1.4
+  'error_ban_id' => '¡ID Invalido!', //cpg1.4
+  'error_admin_ban' => '¡No se puede expulsar Ud mismo!', //cpg1.4
+  'error_server_ban' => '¿Va a expulsar su propio servidor? Tsk tsk, no puede hacer eso...', //cpg1.4
+  'error_ip_forbidden' => 'No puede expulsar esta IP - ¡igual no es ruteable (privada)!<br />si desea permitir la expulsión de IPs privadas, cambie esto en su <a href="admin.php">archivo de configuración</a> (solo tiene sentido si Coppermine se ejecuta en una LAN).', //cpg1.4
+  'lookup_ip' => 'Buscar una IP', //cpg1.4
+  'submit' => 've!', //cpg1.4
+  'select_date' => 'Seleccionar una fecha', //cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File bridgemgr.php //cpg1.4
+// ------------------------------------------------------------------------- //
+
+if (defined('BRIDGEMGR_PHP')) $lang_bridgemgr_php = array(
+  'title' => 'Asistente de Enlaces',
+  'warning' => 'Advertencia: al utilizar este asistente debe entender que la información importante es enviada usando formularios HTML. Ejecútelo solo en su computador personal (no en una cabina de Internet), y asegúrese de borrar el cache y los archivos temporales del explorador después de terminar, u otras personas podrán acceder a su información!',
+  'back' => 'retroceder',
+  'next' => 'siguiente',
+  'start_wizard' => 'Iniciando del asistente de enlaces',
+  'finish' => 'Finalizar',
+  'hide_unused_fields' => 'ocultar campos del formulario no utilizados (recomendado)',
+  'clear_unused_db_fields' => 'limpiar entradas en la base de datos no usadas (recomendado)',
+  'custom_bridge_file' => 'nombre del archivo de enlaces (si el archivo de enlace es <i>miarchivo.inc.php</i>, introduzca <i>miarchivo</i> en este campo)',
+  'no_action_needed' => 'No se requieren acciones en este paso. Solo presione \'siguiente\' para continuar.',
+  'reset_to_default' => 'Restaurar predeterminados',
+  'choose_bbs_app' => 'escoja la aplicación para enlazar con Coppermine',
+  'support_url' => 'Ir aquí para soporte sobre la aplicación',
+  'settings_path' => 'ruta usada por su aplicación BBS',
+  'database_connection' => 'conexión a la base de datos',
+  'database_tables' => 'tablas de la base de datos',
+  'bbs_groups' => 'grupos BBS',
+  'license_number' => 'Numero de Licencia',
+  'license_number_explanation' => 'ingrese su numero de licencia (si aplica)',
+  'db_database_name' => 'Nombre de la base de datos',
+  'db_database_name_explanation' => 'Ingrese el nombre de la base de datos que su aplicación BBS usa',
+  'db_hostname' => 'Servidor de Base de datos',
+  'db_hostname_explanation' => 'Nombre del servidor donde su base de datos mySQL se encuentra, usualmente &quot;localhost&quot;',
+  'db_username' => 'Usuario de la base de datos',
+  'db_username_explanation' => 'Usuario de mySQL para usar en la conexión con su aplicación BBS',
+  'db_password' => 'Contraseña de la base de datos',
+  'db_password_explanation' => 'Contraseña para este usuario mySQL ',
+  'full_forum_url' => 'URL del foro',
+  'full_forum_url_explanation' => ' URL completa de su aplicación BBS (incluyendo http:// bit, e.g. http://www.tudominio.tld/foro)',
+  'relative_path_of_forum_from_webroot' => 'Ruta relativa del foro',
+  'relative_path_of_forum_from_webroot_explanation' => 'Ruta relativa de su aplicación BBS (Ejemplo: Si su  BBS se encuentra en http://www.tudominio.tld/foro/, ingrese &quot;/foro/&quot; en este campo)',
+  'relative_path_to_config_file' => 'ruta relativa de su archivo de configuración de la aplicación BBS\'s',
+  'relative_path_to_config_file_explanation' => 'Ruta relativa de su aplicación BBS, vista desde el directorio de Coppermine (e.g. &quot;../foro/&quot; si su  BBS esta en http://www.tudominio.tld/foro/ y Coppermine en http://www.tudominio.tld/gallery/)',
+  'cookie_prefix' => 'Prefijo de la cookie',
+  'cookie_prefix_explanation' => 'esto tiene que ser en nombre de la cookie de su aplicación BBS\'s',
+  'table_prefix' => 'Prefijo de las tablas',
+  'table_prefix_explanation' => 'Tiene que coincidir con el prefijo que escogió al configurar su BBS.',
+  'user_table' => 'Tabla de Usuarios',
+  'user_table_explanation' => '(usualmente el valor por defecto debería estar bien, a menos que la instalación de su aplicación no esa estándar)',
+  'session_table' => 'Tabla de sesiones',
+  'session_table_explanation' => '(usualmente el valor por defecto debería estar bien, a menos que la instalación de su aplicación no esa estándar)',
+  'group_table' => 'Tabla de grupos',
+  'group_table_explanation' => '(usualmente el valor por defecto debería estar bien, a menos que la instalación de su aplicación no esa estándar)',
+  'group_relation_table' => 'Tabla de relaciones de grupos',
+  'group_relation_table_explanation' => '(usualmente el valor por defecto debería estar bien, a menos que la instalación de su aplicación no esa estándar)',
+  'group_mapping_table' => 'Tabla de mapeo de grupos',
+  'group_mapping_table_explanation' => '(usualmente el valor por defecto debería estar bien, a menos que la instalación de su aplicación no esa estándar)',
+  'use_standard_groups' => 'Usar grupos de usuarios estándar de su BBS',
+  'use_standard_groups_explanation' => 'Usar grupos de usuarios estándar (incorporados) (recomendado). Esto hará que todas las configuraciones de los grupos de usuarios personalizados hechos en esta pagina sean nulos. ¡Solo deshabilita esta opción si realmente sabes lo que estas haciendo!',
+  'validating_group' => 'Validación de grupos',
+  'validating_group_explanation' => 'El ID del grupo en su aplicación BBS donde las cuentas de usuario que necesitan validación se encuentran (usualmente el valor por defecto debería estar bien, a menos que la instalación de su aplicación no esa estándar)',
+  'guest_group' => 'Grupo invitado',
+  'guest_group_explanation' => 'ID del grupo en su aplicación BBS donde los usuarios invitados (anónimos) se encuentran (usualmente el valor por defecto debería estar bien, solo edítelo si realmente sabe lo que esta haciendo)',
+  'member_group' => 'Grupo de miembros',
+  'member_group_explanation' => 'ID del grupo de su aplicación BBS donde las cuentas de los usuarios &quot;regulares&quot; se encuentran (usualmente el valor por defecto debería estar bien, solo edítelo si realmente sabe lo que esta haciendo)',
+  'admin_group' => 'Grupo administrador',
+  'admin_group_explanation' => 'ID del grupo de su aplicación BBS donde las cuentas de los administradores se encuentran (usualmente el valor por defecto debería estar bien, solo edítelo si realmente sabe lo que esta haciendo)',
+  'banned_group' => 'Grupo de expulsados',
+  'banned_group_explanation' => 'ID del grupo de su aplicación BBS donde las cuentas de los expulsados se encuentran (usualmente el valor por defecto debería estar bien, solo edítelo si realmente sabe lo que esta haciendo)',
+  'global_moderators_group' => 'Grupo de Moderadores globales',
+  'global_moderators_group_explanation' => 'ID del grupo de su aplicación BBS donde las cuentas de los moderadores globales se encuentran (usualmente el valor por defecto debería estar bien, solo edítelo si realmente sabe lo que esta haciendo)',
+  'special_settings' => 'Configuraciones especificas de su BBS',
+  'logout_flag' => 'versión de phpBB (indicador de cierre de sesión)',
+  'logout_flag_explanation' => '¿Cual es la versión de su BBS? (para conocer como se trabaja con los cierres de sesión)',
+  'use_post_based_groups' => '¿Usar grupos basados en POST?',
+  'logout_flag_yes' => '¿2.0.5 o mayor?',
+  'logout_flag_no' => '¿2.0.4 o menor?',
+  'use_post_based_groups_explanation' => '¿Deberán ser tomados en consideración los grupos de su BBS que son definidos por su numero de &quot;POSTS&quot;? (permitir un manejo de permisos granular) o solo los grupos por defecto (mas fácil para el administrador, recomendado). Puede ser cambiado luego.',
+  'use_post_based_groups_yes' => 'si',
+  'use_post_based_groups_no' => 'no',
+  'error_title' => 'Necesita corregir estos errores antes de continuar. Vaya a ala pantalla anterior.',
+  'error_specify_bbs' => 'Necesita definir la aplicación a enlazar con la instalación de Coppermine.',
+  'error_no_blank_name' => 'No puede dejar el nombre de su archivo de enlace personalizado en blanco.',
+  'error_no_special_chars' => 'El archivo de enlace no puede contener ningún carácter extraño excepto guión bajo (_) y guión (-)!',
+  'error_bridge_file_not_exist' => 'El archivo de enlace %s no existe en este servidor. Verifique que lo halla subido.',
+  'finalize' => 'habilitar/deshabilitar la integración con BBS',
+  'finalize_explanation' => 'Hasta ahora, la configuración especificada ha sido escrita en la base de datos, pero la integración con BBS no esta habilitada. Puede iniciar/detener la integración en cualquier momento. asegúrese de recordar la contraseña de administrador del Coppermine independiente, puede necesitarlo luego para hacer algunos cambios. Si algo sale mal, vaya a %s y deshabilite la integración con BBS, usando tu cuanta de administrador independiente (no enlazado)(usualmente la que se introdujo al instalar Coppermine).',
+  'your_bridge_settings' => 'configuración de enlace',
+  'title_enable' => 'Habilitar/deshabilitar integración con %s',
+  'bridge_enable_yes' => 'habilitado',
+  'bridge_enable_no' => 'deshabilitado',
+  'error_must_not_be_empty' => 'no debe de estar vació',
+  'error_either_be' => 'debe ser %s o %s',
+  'error_folder_not_exist' => '%s no existe. Corrija el valor ingresado por %s',
+  'error_cookie_not_readible' => 'Coppermine no puede leer la cookie llamada %s. Corrija el valor ingresado por %s, o vaya al panel de administración de su BBS y asegúrese que la ruta de la cookie es leíble por coppermine.',
+  'error_mandatory_field_empty' => 'No puede dejar el campo %s vació - llene el valor apropiado.',
+  'error_no_trailing_slash' => 'No debe haber un "slash" en el campo %s.',
+  'error_trailing_slash' => 'Debe haber un "slash" en el campo %s.',
+  'error_db_connect' => 'No se pudo conectar a la base de datos MySQL con la información proporcionada. Esto es lo que MySQL reporta: ',
+  'error_db_name' => 'Aunque Coppermine pudo conectarse con la base de datos, no pudo encontrar la base de datos %s. asegúrese que ha especificado %s propiamente. Esto es lo que MySQL reporta:',
+  'error_prefix_and_table' => '%s y ',
+  'error_db_table' => 'No se pudo encontrar la tabla %s. asegúrese que ha especificado %s correctamente.',
+  'recovery_title' => 'Administrador de enlace: recuperación de emergencia',
+  'recovery_explanation' => 'Si ha entrado aquí para administrar la integración de su BBS con su galería Coppermine, primero debe iniciar sesión como administrador. Si no puede iniciar sesión porque el enlace no esta funcionando como se esperaba, puede deshabilitar la integración en esta página. Ingresando su usuario y contraseña no iniciara sesión, solo deshabilitara la integración con su BBS. Refiérase a la documentación para detalles.',
+  'username' => 'Usuario',
+  'password' => 'Contraseña',
+  'disable_submit' => 'enviar',
+  'recovery_success_title' => 'Autenticación exitosa',
+  'recovery_success_content' => 'Ha deshabilitado exitosamente la integración con su BBS. Su instalación de Coppermine se esta ejecutando en modo independiente.',
+  'recovery_success_advice_login' => 'Inicia sesión como administrador para editar su configuración de enlace y/o activar la integración con su BBS nuevamente.',
+  'goto_login' => 'Ir a la pagina de Inicio de Sesión',
+  'goto_bridgemgr' => 'Ir al administrador de enlaces',
+  'recovery_failure_title' => 'Autenticación fallida',
+  'recovery_failure_content' => 'Ha suplido las credenciales equivocadas. Deberá suplir la información de la cuenta de administrador de la versión independiente (usualmente la cuenta que suplió al instalar Coppermine).',
+  'try_again' => 'inténtelo de nuevo',
+  'recovery_wait_title' => 'El tiempo de espera no ha terminado',
+  'recovery_wait_content' => 'Por motivos de seguridad no se permiten intentos fallidos consecutivos el intentar iniciar sesión, por lo que tendrá que esperar un poco antes de poder volver a intentar autenticarse nuevamente.',
+  'wait' => 'espere',
+  'create_redir_file' => 'Crear archivo de redirección (recomendado)',
+  'create_redir_file_explanation' => 'Para redirigir usuarios de nuevo al Coppermine luego de que hallan cerrado sesión en su BBS, necesita que un archivo de redirección sea creado en la carpeta de su BBS. Cuando esta opción es activada, el administrado de enlaces intentara crear este archivo por Usted, o darle un código listo para copiar y pegar para crear el archivo manualmente.',
+  'browse' => 'navegar',
+);
+
+// ------------------------------------------------------------------------- //
+// File calendar.php //cpg1.4
+// ------------------------------------------------------------------------- //
+
+if (defined('CALENDAR_PHP')) $lang_calendar_php = array(
+  'title' => 'Calendario', //cpg1.4
+  'close' => 'cerrar', //cpg1.4
+  'clear_date' => 'limpiar fecha', //cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File catmgr.php
+// ------------------------------------------------------------------------- //
+
+if (defined('CATMGR_PHP')) $lang_catmgr_php = array(
+	'miss_param' => '¡Los parámetros requeridos para la operación: \'%s\' no han sido suministrados!',
+	'unknown_cat' => 'La categoría seleccionada no existe en la base da datos',
+	'usergal_cat_ro' => '¡Las categorías de galerías de usuario no pueden ser borradas!',
+	'manage_cat' => 'Organizador de categorías',
+	'confirm_delete' => 'Estás seguro de querer BORRAR esta categoría',
+	'category' => 'Categoría',
+	'operations' => 'Operaciones',
+	'move_into' => 'Mover hacia',
+	'update_create' => 'Modificar/Crear categoría',
+	'parent_cat' => 'Categoría padre',
+	'cat_title' => 'Título de la categoría',
+	'cat_thumb' => 'Imagen miniatura de la categoría', //cpg1.3.0
+	'cat_desc' => 'Descripción de la categoría',
+  	'categories_alpha_sort' => 'Ordenar categorías alfabéticamente (en lugar del orden por defecto)', //cpg1.4
+  	'save_cfg' => 'Salvar configuración', //cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File admin.php //cpg1.4
+// ------------------------------------------------------------------------- //
+
+if (defined('ADMIN_PHP')) $lang_admin_php = array(
+	'title' => 'Configuración',
+  	'manage_exif' => 'Manejo del mostrado de EXIF', //cpg1.4
+  	'manage_plugins' => 'Manejo de plugins', //cpg1.4
+  	'manage_keyword' => 'Manejo de palabras clave', //cpg1.4
+	'restore_cfg' => 'Restaurar valores por defecto',
+	'save_cfg' => 'Guardar la nueva configuración',
+	'notes' => 'Notas',
+	'info' => 'Información',
+	'upd_success' => 'La configuración de Coppermine ha sido actualizada',
+	'restore_success' => 'Valores por defecto de Coppermine restaurados',
+	'name_a' => 'Ascendente por nombre',
+	'name_d' => 'Descendente por nombre',
+	'title_a' => 'Ascendente por título',
+	'title_d' => 'Descendente por título',
+	'date_a' => 'Ascendente por fecha',
+	'date_d' => 'Descendente por fecha',
+  	'pos_a' => 'Posición ascendente', //cpg1.4
+  	'pos_d' => 'Posición descendente', //cpg1.4
+	'th_any' => 'Máximo alto/ancho',
+	'th_ht' => 'Altura',
+	'th_wd' => 'Anchura',
+	'label' => 'etiqueta', //cpg1.3.0
+	'item' => 'gráfico', //cpg1.3.0
+	'debug_everyone' => 'Para todos', //cpg1.3.0
+	'debug_admin' => 'Administradores solamente', //cpg1.3.0
+  	'no_logs'=> 'Desactivado', //cpg1.4
+  	'log_normal'=> 'Normal', //cpg1.4
+  	'log_all' => 'Todo', //cpg1.4
+  	'view_logs' => 'Ver logs', //cpg1.4
+  	'click_expand' => 'click en el nombre de la sección para expandir', //cpg1.4
+  	'expand_all' => 'Expandir todo', //cpg1.4
+	'bbs_disabled' => 'Función deshabilitada cuando se usa la integración con bb', //cpg1.4
+  	'auto_resize_everyone' => 'Todos', //cpg1.4
+  	'auto_resize_user' => 'Solo el usuario', //cpg1.4
+  	'ascending' => 'ascendente', //cpg1.4
+  	'descending' => 'descendente', //cpg1.4
+        );
+
+if (defined('ADMIN_PHP')) $lang_admin_data = array(
+	'Parámetros generales',
+	array('Nombre de la galería', 'gallery_name', 0, 'f=index.htm&amp;as=admin_general_name&amp;ae=admin_general_name_end'),
+	array('Descripción de la galería', 'gallery_description', 0, 'f=index.htm&amp;as=admin_general_description&amp;ae=admin_general_description_end'),
+	array('Correo electrónico del administrador', 'gallery_admin_email', 0, 'f=index.htm&amp;as=admin_general_email&amp;ae=admin_general_email_end'),
+  	array('URL del fólder de tu galería coppermine (no \'index.php\' o similar al final)', 'ecards_more_pic_target', 0, 'f=index.htm&amp;as=admin_general_coppermine-url&amp;ae=admin_general_coppermine-url_end'), //cpg1.4
+  	array('URL de tu pagina de inicio', 'home_target', 0, 'f=index.htm&amp;as=admin_general_home-url&amp;ae=admin_general_home-url_end'), //cpg1.4
+	array('Permitir descargas de favoritos en formato ZIP', 'enable_zipdownload', 1, 'f=index.htm&amp;as=admin_general_zip-download&amp;ae=admin_general_zip-download_end'), //cpg1.3.0
+  	array('Diferencia horaria relativa a GMT (Hora actual: ' . localised_date(-1, $comment_date_fmt) . ')','time_offset',0, 'f=index.htm&amp;as=admin_general_time-offset&amp;ae=admin_general_time-offset_end&amp;top=1'), //cpg1.4
+  	array('Permitir contraseñas encriptadas (no pude ser revertido)','enable_encrypted_passwords',1, 'f=index.htm&amp;as=admin_general_encrypt_password_start&amp;ae=admin_general_encrypt_password_end&amp;top=1'), // cpg 1.4
+  	array('Habilitar iconos de ayuda (la ayuda esta disponible solo en ingles)','enable_help',9, 'f=index.htm&amp;as=admin_general_help&amp;ae=admin_general_help_end'), //cpg1.4
+  	array('Habilitar click sobre las palabras en la búsqueda','clickable_keyword_search',14, 'f=index.htm&amp;as=admin_general_keywords_start&amp;ae=admin_general_keywords_end'), //cpg1.4
+  	array('Habilitar plugins', 'enable_plugins', 12, 'f=index.htm&amp;as=admin_general_enable-plugins&amp;ae=admin_general_enable-plugins_end'),  //cpg1.4
+  	array('Permitir expulsión de IP no-ruteables (Privadas)', 'ban_private_ip', 1,  'f=index.htm&amp;as=admin_general_private-ip&amp;ae=admin_general_private-ip_end'), //cpg1.4
+  	array('Interfase de búsqueda de archivos batch', 'browse_batch_add', 1, 'f=index.htm&amp;as=admin_general_browsable_batch_add&amp;ae=admin_general_browsable_batch_add_end'), //cpg1.4
+
+	'Idioma, temas (aspecto) y juego de caracteres',
+	array('Idioma', 'lang', 5, 'f=index.htm&amp;as=admin_language_language&amp;ae=admin_language_language_end'),
+	array('Mostrar lista de idiomas', 'language_list', 1, 'f=index.htm&amp;as=admin_language_list&amp;ae=admin_language_list_end'), //cpg1.3.0
+	array('Mostrar banderas de idiomas', 'language_flags', 8, 'f=index.htm&amp;as=admin_language_flags&amp;ae=admin_language_flags_end&amp;top=1'), //cpg1.3.0
+	array('Mostrar &quot;reset&quot; en selección de idiomas', 'language_reset', 1, 'f=index.htm&amp;as=admin_language_reset&amp;ae=admin_language_reset_end&amp;top=1'), //cpg1.3.0
+  	array('¿Regresar a Ingles si el archivo de lenguaje no fue encontrado?', 'language_fallback', 1, 'f=index.htm&amp;as=admin_language_fallback&amp;ae=admin_language_fallback_end'), //cpg1.4
+  	array('Juego de caracteres', 'charset', 4, 'f=index.htm&amp;as=admin_language_charset&amp;ae=admin_language_charset_end'), //cpg1.4
+  	//array('Mostrar anterior/siguiente en las paginas tabuladas', 'previous_next_tab', 1), //cpg1.4
+	
+	'Configuración de temas',
+  	array('Tema (Aspecto)', 'theme', 6, 'f=index.htm&amp;as=admin_theme_theme&amp;ae=admin_theme_theme_end'),
+  	array('Mostrar lista de temas (aspecto)', 'theme_list', 1, 'f=index.htm&amp;as=admin_theme_theme_list&amp;ae=admin_theme_theme_list_end'), //cpg1.4
+  	array('Mostrar &quot;reset&quot; en selección de temas', 'theme_reset', 1, 'f=index.htm&amp;as=admin_theme_theme_reset&amp;ae=admin_theme_theme_reset_end'), //cpg1.3.0
+  	array('Mostrar FAQ (preguntas frecuentes)', 'display_faq', 1, 'f=index.htm&amp;as=admin_theme_faq&amp;ae=admin_theme_faq_end'), //cpg1.3.0
+  	array('Nombre del enlace del menú personalizado', 'custom_lnk_name', 0,'f=index.htm&amp;as=admin_theme_custom_lnk_name&amp;ae=admin_theme_custom_lnk_name_end'), //cpg1.4
+  	array('URL del link del menú personalizado', 'custom_lnk_url', 0,'f=index.htm&amp;as=admin_language_custom_lnk_url&amp;ae=admin_language_custom_lnk_url_end'), //cpg1.4
+	array('Mostrar ayuda sobre bbcode', 'show_bbcode_help', 1, 'f=index.htm&amp;as=admin_theme_bbcode&amp;ae=admin_theme_bbcode_end&amp;top=1'), //cpg1.3.0
+  	array('Mostrar el &quot;vaniti block&quot; en temas que han sido definidos como compilados para XHTML y CSS','vanity_block',1, 'f=index.htm&amp;as=vanity_block&amp;ae=vanity_block_end'), //cpg1.4
+  	array('Ruta de inserción de la cabecera personalizada', 'custom_header_path', 0, 'f=index.htm&amp;as=admin_theme_include_path_start&amp;ae=admin_theme_include_path_end'), //cpg1.4
+  	array('Ruta de inserción del pie de página personalizado', 'custom_footer_path', 0, 'f=index.htm&amp;as=admin_theme_include_path_start&amp;ae=admin_theme_include_path_end'), //cpg1.4
+	
+	'Aspecto de la lista de álbumes',
+  	array('Anchura de la tabla principal (pixels o %)', 'main_table_width', 0, 'f=index.htm&amp;as=admin_album_table-width&amp;ae=admin_album_table-width_end'),
+	array('Número de niveles de categorías a mostrar', 'subcat_level', 0, 'f=index.htm&amp;as=admin_album_category-levels&amp;ae=admin_album_category-levels_end'),
+  	array('Número de álbumes a mostrar', 'albums_per_page', 0, 'f=index.htm&amp;as=admin_album_number&amp;ae=admin_album_number_end'),
+	array('Número de columnas en la lista de álbumes', 'album_list_cols', 0, 'f=index.htm&amp;as=admin_album_columns&amp;ae=admin_album_columns_end'),
+  	array('Tamaño de las imágenes miniatura en pixels', 'alb_list_thumb_size', 0, 'f=index.htm&amp;as=admin_album_thumbnail-size&amp;ae=admin_album_thumbnail-size_end'),
+  	array('Contenido de la página principal', 'main_page_layout', 0, 'f=index.htm&amp;as=admin_album_list_content&amp;ae=admin_album_list_content_end'),
+	array('Mostrar imagen miniatura de álbumes de primer nivel en categorías','first_level',1, 'f=index.htm&amp;as=admin_album_first-level_thumbs&amp;ae=admin_album_first-level_thumbs_end'),
+  	array('Organizar categoría alfabéticamente (en lugar del orden predefinida)','categories_alpha_sort',1, 'f=index.htm&amp;as=admin_album_list_alphasort_start&amp;ae=admin_album_list_alphasort_end'), //cpg1.4
+  	array('Mostrar numero de archivos enlazados','link_pic_count',1, 'f=index.htm&amp;as=admin_album_linked_files_start&amp;ae=admin_album_linked_files_end'), //cpg1.4
+
+	'Aspecto de la vista de miniaturas',
+	array('Número de columnas en la página de imágenes miniatura', 'thumbcols', 0, 'f=index.htm&amp;as=admin_thumbnail_columns&amp;ae=admin_thumbnail_columns_end'),
+	array('Número de filas en la página de imágenes miniatura', 'thumbrows', 0, 'f=index.htm&amp;as=admin_thumbnail_rows&amp;ae=admin_thumbnail_rows_end'),
+	array('Máximo número de pestañas (tabs) a mostrar', 'max_tabs', 10, 'f=index.htm&amp;as=admin_thumbnail_tabs&amp;ae=admin_thumbnail_tabs_end'),
+	array('Mostrar file caption (además del título) debajo de la imagen miniatura', 'caption_in_thumbview', 1, 'f=index.htm&amp;as=admin_thumbnail_display_caption&amp;ae=admin_thumbnail_display_caption_end'),
+	array('Mostrar número de veces vista debajo de la imagen miniatura', 'views_in_thumbview', 1, 'f=index.htm&amp;as=admin_thumbnail_display_views&amp;ae=admin_thumbnail_display_views_end'), //cpg1.3.0
+	array('Mostrar número de comentarios debajo de la imagen miniatura', 'display_comment_count', 1, 'f=index.htm&amp;as=admin_thumbnail_display_comments&amp;ae=admin_thumbnail_display_comments_end'),
+	array('Mostrar nombre del usuario que añadió el archivo debajo de la imagen miniatura', 'display_uploader', 1, 'f=index.htm&amp;as=admin_thumbnail_display_uploader&amp;ae=admin_thumbnail_display_uploader_end'), //cpg1.3.0
+  	//array('Mostrar el nombre de los administrador que subieron el archivo debajo del nombre', 'display_admin_uploader', 1, 'f=index.htm&amp;as=admin_thumbnail_display_admin_uploader&amp;ae=admin_thumbnail_display_admin_uploader_end'), //cpg1.4
+	array('Orden por defecto de las imágenes', 'default_sort_order', 3, 'f=index.htm&amp;as=admin_thumbnail_default_sortorder&amp;ae=admin_thumbnail_default_sortorder_end'),
+	array('Mínimo número de votos para que una foto aparezca el la lista de \'Más Valoradas\'', 'min_votes_for_rating', 0, 'f=index.htm&amp;as=admin_thumbnail_minimum_votes&amp;ae=admin_thumbnail_minimum_votes_end'), //cpg1.3.0
+  	array('Mostrar nombre de la imagen miniatura', 'display_filename', 1, 'f=index.htm&amp;as=admin_thumbnail_display_filename&amp;ae=admin_thumbnail_display_filename_end'), //cpg1.4
+	//array('Mostrar descripción del álbum', 'alb_desc_thumb', 1, 'f=index.htm&amp;as=admin_thumbnail_display_description&amp;ae=admin_thumbnail_display_description_end'), //cpg1.4
+
+	'Vista de imágenes',
+	array('Anchura de la tabla donde mostrar la imagen (pixels o %)', 'picture_table_width', 0, 'f=index.htm&amp;as=admin_image_comment_table-width&amp;ae=admin_image_comment_table-width_end'),
+	array('Información del fichero visible por defecto', 'display_pic_info', 1, 'f=index.htm&amp;as=admin_image_comment_info_visible&amp;ae=admin_image_comment_info_visible_end'),
+	array('Máxima longitud para la descripción de una imagen', 'max_img_desc_length', 0, 'f=index.htm&amp;as=admin_image_comment_descr_length&amp;ae=admin_image_comment_descr_length_end'),
+	array('Máximo número de caracteres en una palabra', 'max_com_wlength', 0, 'f=index.htm&amp;as=admin_image_comment_chars_per_word&amp;ae=admin_image_comment_chars_per_word_end'),
+	array('Mostrar tira de película', 'display_film_strip', 1, 'f=index.htm&amp;as=admin_image_comment_filmstrip_toggle&amp;ae=admin_image_comment_filmstrip_toggle_end'),
+	array('Número de objetos en tira de película', 'max_film_strip_items', 0, 'f=index.htm&amp;as=admin_image_comment_filmstrip_number&amp;ae=admin_image_comment_filmstrip_number_end'),
+	array('Intervalo de tiempo entre imágenes en el Slideshow en milisegundos (1 segundo = 1000 milisegundos)', 'slideshow_interval', 0, 'f=index.htm&amp;as=admin_image_comment_slideshow_interval&amp;ae=admin_image_comment_slideshow_interval_end'), //cpg1.3.0
+  	array('Mostrar nombre de archivo debajo de la imagen miniatura de la tira de película', 'display_film_strip_filename', 1, 'f=index.htm&amp;as=admin_image_comment_display_film_strip_filename&amp;ae=admin_image_comment_display_film_strip_filename_end'), //cpg1.4
+
+  	'Configuración de comentarios', //cpg1.4
+	array('Filtrar palabras malsonantes en los comentarios', 'filter_bad_words', 1, 'f=index.htm&amp;as=admin_image_comment_bad_words&amp;ae=admin_image_comment_bad_words_end'),
+	array('Permitir emoticons en los comentarios', 'enable_smilies', 1, 'f=index.htm&amp;as=admin_image_comment_smilies&amp;ae=admin_image_comment_smilies_end'),
+	array('Permitir varios comentarios consecutivos del mismo usuario en una imagen (deshabilitar protección contra flood)', 'disable_comment_flood_protect', 1, 'f=index.htm&amp;as=admin_image_comment_flood&amp;ae=admin_image_comment_flood_end'), //cpg1.3.0
+	array('Máximo número de líneas en un comentario', 'max_com_lines', 0, 'f=index.htm&amp;as=admin_image_comment_lines&amp;ae=admin_image_comment_lines_end'),
+	array('Máxima longitud de un comentario', 'max_com_size', 0, 'f=index.htm&amp;as=admin_image_comment_length&amp;ae=admin_image_comment_length_end'),
+	array('Notificar al administrador por email de los comentarios', 'email_comment_notification', 1, 'f=index.htm&amp;as=admin_image_comment_admin_notify&amp;ae=admin_image_comment_admin_notify_end'), //cpg1.3.0
+  	array('Ordenar los comentarios', 'comments_sort_descending', 17, 'f=index.htm&amp;as=admin_comment_sort_start&amp;ae=admin_comment_sort_end'), //cpg1.4
+  	array('Prefijo para autores anónimos', 'comments_anon_pfx', 0, 'f=index.htm&amp;as=comments_anon_pfx&amp;ae=comments_anon_pfx_end'), //cpg1.4
+
+	'Configuración de archivos e imágenes miniatura',
+	array('Calidad para los ficheros JPEG', 'jpeg_qual', 0, 'f=index.htm&amp;as=admin_picture_thumbnail_jpeg_quality&amp;ae=admin_picture_thumbnail_jpeg_quality_end'),
+	array('Máxima anchura o altura de las imágenes miniatura <b>*</b>', 'thumb_width', 0, 'f=index.htm&amp;as=admin_picture_thumbnail_max-dimension&amp;ae=admin_picture_thumbnail_max-dimension_end'),
+	array('Usar dimensión ( anchura, altura o máximo para las imágenes miniatura )<b>**</b>', 'thumb_use', 7, 'f=index.htm&amp;as=admin_picture_thumbnail_use-dimension&amp;ae=admin_picture_thumbnail_use-dimension_end'),
+	array('Crear imágenes de tamaño intermedio','make_intermediate',1, 'f=index.htm&amp;as=admin_picture_thumbnail_intermediate_toggle&amp;ae=admin_picture_thumbnail_intermediate_toggle_end'),
+	array('Máxima anchura o altura de las imágenes de tamaño intermedio <b>*</b>', 'picture_width', 0, 'f=index.htm&amp;as=admin_picture_thumbnail_intermediate_dimension&amp;ae=admin_picture_thumbnail_intermediate_dimension_end'),
+	array('Máximo tamaño de los ficheros añadidos por los usuarios (KB)', 'max_upl_size', 0, 'f=index.htm&amp;as=admin_picture_thumbnail_max_upload_size&amp;ae=admin_picture_thumbnail_max_upload_size_end'),
+	array('Máxima anchura o altura de las imágenes/videos añadidos (pixels)', 'max_upl_width_height', 0, 'f=index.htm&amp;as=admin_picture_thumbnail_max_upload_dimension&amp;ae=admin_picture_thumbnail_max_upload_dimension_end'),
+	array('Escalar automáticamente imágenes que son mas grandes que el máximo alto o ancho', 'auto_resize', 16, 'f=index.htm&amp;as=admin_picture_thumbnail_auto-resize&amp;ae=admin_picture_thumbnail_auto-resize_end'), //cpg1.4
+	
+	'Configuración avanzada de archivos e imágenes miniatura', //cpg1.3.0
+	array('Mostrar icono de álbum privado a usuarios no registrados','show_private',1, 'f=index.htm&amp;as=admin_picture_thumb_advanced_private_icon_show&amp;ae=admin_picture_thumb_advanced_private_icon_show_end'), //cpg1.3.0
+	array('Caracteres prohibidos en los nombres de archivos', 'forbiden_fname_char',0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_filename_forbidden_chars&amp;ae=admin_picture_thumb_advanced_filename_forbidden_chars_end'), //cpg1.3.0
+	//array('Extensiones admitidas al añadir archivos', 'allowed_file_extensions',0, 'f=index.htm&amp;as=&amp;ae=_end'), //cpg1.3.0
+ 	array('Tipos de imágenes admitidas', 'allowed_img_types',0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_pic_extensions&amp;ae=admin_picture_thumb_advanced_pic_extensions_end'), //cpg1.3.0
+	array('Tipos de archivos de video admitidos', 'allowed_mov_types',0, 'f=index.htm&amp;as=admin_thumbs_advanced_movie&amp;ae=admin_thumbs_advanced_movie_end'), //cpg1.3.0
+	array('Tipos de archivos de sonido admitidos', 'allowed_snd_types',0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_audio_extensions&amp;ae=admin_picture_thumb_advanced_audio_extensions_end'), //cpg1.3.0
+	array('Tipos de documentos admitidos', 'allowed_doc_types',0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_doc_extensions&amp;ae=admin_picture_thumb_advanced_doc_extensions_end'), //cpg1.3.0
+	array('Método para el reescalado de imágenes','thumb_method',2, 'f=index.htm&amp;as=admin_picture_thumb_advanced_resize_method&amp;ae=admin_picture_thumb_advanced_resize_method_end'), //cpg1.3.0
+	array('Ruta a la utilidad \'convert\' de ImageMagick (por ejemplo /usr/bin/X11/)', 'impath', 0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_im_path&amp;ae=admin_picture_thumb_advanced_im_path_end'), //cpg1.3.0
+	//array('Tipos de archivo admitidos (solo válidos con ImageMagick)', 'allowed_img_types',0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_allowed_imagetypes&amp;ae=admin_picture_thumb_advanced_allowed_imagetypes_end'), //cpg1.3.0
+	array('Comandos de línea para ImageMagick', 'im_options', 0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_im_commandline&amp;ae=admin_picture_thumb_advanced_im_commandline_end'), //cpg1.3.0
+	array('Leer datos EXIF en los archivos JPEG', 'read_exif_data', 1, 'f=index.htm&amp;as=admin_picture_thumb_advanced_exif&amp;ae=admin_picture_thumb_advanced_exif_end'), //cpg1.3.0
+	array('Leer datos IPTC en los archivos JPEG', 'read_iptc_data', 1, 'f=index.htm&amp;as=admin_picture_thumb_advanced_iptc&amp;ae=admin_picture_thumb_advanced_iptc_end'), //cpg1.3.0
+	array('Directorio base de los álbumes <a href="#notice1" class="clickable_option">*</a>', 'fullpath', 0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_albums_dir&amp;ae=admin_picture_thumb_advanced_albums_dir_end'), //cpg1.3.0
+	array('Directorio para los archivos de los usuarios <a href="#notice1" class="clickable_option">*</a>', 'userpics', 0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_userpics_dir&amp;ae=admin_picture_thumb_advanced_userpics_dir_end'), //cpg1.3.0
+	array('Prefijo para las imágenes intermedias <a href="#notice1" class="clickable_option">*</a>', 'normal_pfx', 0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_intermediate_prefix&amp;ae=admin_picture_thumb_advanced_intermediate_prefix_end'), //cpg1.3.0
+	array('Prefijo para las imágenes miniatura <a href="#notice1" class="clickable_option">*</a>', 'thumb_pfx', 0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_thumbs_prefix&amp;ae=admin_picture_thumb_advanced_thumbs_prefix_end'), //cpg1.3.0
+	array('Modo por defecto para los directorios', 'default_dir_mode', 0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_chmod_folder&amp;ae=admin_picture_thumb_advanced_chmod_folder_end'), //cpg1.3.0
+	array('Modo por defecto para los archivos', 'default_file_mode', 0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_chmod_files&amp;ae=admin_picture_thumb_advanced_chmod_files_end'), //cpg1.3.0
+  	array('Autoinicio de Peliculas', 'media_autostart',1, 'f=index.htm&amp;as=admin_movie_autoplay&amp;ae=admin_movie_autoplay_end'), //cpg1.4
+	array('Los usuarios pueden tener álbumes privados (Nota: si cambias de \'si\' a \'no\' todos los álbumes privados que existan se convertirán en públicos)', 'allow_private_albums', 1), //cpg1.3.0
+
+	'Configuración de usuarios',
+	array('Permitir el registro de nuevos usuarios', 'allow_user_registration', 1, 'f=index.htm&amp;as=admin_allow_registration&amp;ae=admin_allow_registration_end'),
+	array('Registro de usuarios requiere verificación de email', 'reg_requires_valid_email', 1, 'f=index.htm&amp;as=admin_registration_verify&amp;ae=admin_registration_verify_end'),
+	array('Notificar por email al administrador del registro de nuevos usuarios', 'reg_notify_admin_email', 1, 'f=index.htm&amp;as=admin_registration_notify&amp;ae=admin_registration_notify_end'), //cpg1.3.0
+  	array('Permitir a dos usuarios tener el mismo email', 'allow_duplicate_emails_addr', 1, 'f=index.htm&amp;as=admin_allow_duplicate_emails_addr&amp;ae=admin_allow_duplicate_emails_addr_end'),
+	array('Notificar al administrador de archivos añadidos esperando autorización', 'upl_notify_admin_email', 1, 'f=index.htm&amp;as=admin_approval_notify&amp;ae=admin_approval_notify_end'), //cpg1.3.0
+	array('Permitir a los usuarios validados ver la lista de miembros', 'allow_memberlist', 1, 'f=index.htm&amp;as=admin_user_memberlist&amp;ae=admin_user_memberlist_end'), //cpg1.3.0
+  	array('Permitir accesos de usuarios no logueados (invitados o anónimos)', 'allow_unlogged_access', 1, 'f=index.htm&amp;as=admin_allow_unlogged_access&amp;ae=admin_allow_unlogged_access_end'), //cpg1.4
+  	array('Activación del registro por el administrador', 'admin_activation', 1, 'f=index.htm&amp;as=admin_activation&amp;ae=admin_activation_end'),  //cpg1.4
+  	array('Permitir a los usuarios cambiar su correo en su perfil', 'allow_email_change', 1, 'f=index.htm&amp;as=admin_user_allow_email_change&amp;ae=admin_user_allow_email_change_end'), //cpg1.4
+  	array('Permitir a los usuarios tener control sobre sus archivos en galerias publicas', 'users_can_edit_pics', 1, 'f=index.htm&amp;as=admin_user_editpics_public_start&amp;ae=admin_user_editpics_public_end'), //cpg1.4
+  	array('Numero de intentos fallidos de autentificación antes de proceder a la expulsión (para evitar ataques de fuerza bruta)', 'login_threshold', 0, 'f=index.htm&amp;as=admin_user_login_start&amp;ae=admin_user_login_end'), //cpg1.4
+  	array('Duración de la expulsión luego de los intentos fallidos', 'login_expiry', 0, 'f=index.htm&amp;as=admin_user_login_start&amp;ae=admin_user_login_end'), //cpg1.4
+  	array('Activar reporte al administrador', 'report_post', 1, 'f=index.htm&amp;as=admin_user_enable_report&amp;ae=admin_user_enable_report_end'),  //cpg1.4
+
+// custom profile fields,  //cpg1.4
+  	'Campos personalizados para perfiles de usuarios (déjelo en blanco si no se usa).
+  	Utilice el Perfil 6 para entradas largas, como biografías', //cpg1.4
+  	array('Nombre del Perfil 1', 'user_profile1_name', 0, 'f=index.htm&amp;as=admin_custom&amp;ae=admin_custom_end'), //cpg1.4
+  	array('Nombre del Perfil 2', 'user_profile2_name', 0), //cpg1.4
+  	array('Nombre del Perfil 3', 'user_profile3_name', 0), //cpg1.4
+  	array('Nombre del Perfil 4', 'user_profile4_name', 0), //cpg1.4
+  	array('Nombre del Perfil 5', 'user_profile5_name', 0), //cpg1.4
+  	array('Nombre del Perfil 6', 'user_profile6_name', 0), //cpg1.4
+
+	'Campos extra para descripción de imágenes (dejar en blanco si no se usan)',
+	array('Nombre del campo 1', 'user_field1_name', 0, 'f=index.htm&amp;as=admin_custom_image&amp;ae=admin_custom_image_end'),
+	array('Nombre del campo 2', 'user_field2_name', 0),
+	array('Nombre del campo 3', 'user_field3_name', 0),
+	array('Nombre del campo 4', 'user_field4_name', 0),
+  	
+	'Configuración de cookies',
+	array('Nombre de la cookie usada por el script (cuando se use junto con foros, tener cuidado de que sea diferente de la cookie de los foros)', 'cookie_name', 0, 'f=index.htm&amp;as=admin_cookie_name&amp;ae=admin_cookie_name_end'),
+	array('Ruta de la cookie usada por el script', 'cookie_path', 0, 'f=index.htm&amp;as=admin_cookie_path&amp;ae=admin_cookie_path_end'),
+
+  	'configuración de correo (usualmente no requiere cambios, deje los campos en blanco si no esta seguro)', //cpg1.4
+  	array('Servidor SMTP (si se deja en blanco se usara sendmail)', 'smtp_host', 0, 'f=index.htm&amp;as=admin_email&amp;ae=admin_email_end'), //cpg1.4
+  	array('Usuario SMTP', 'smtp_username', 0), //cpg1.4
+  	array('Contraseña SMTP', 'smtp_password', 0), //cpg1.4
+
+  	'Registro de Sucesos (Log) y estadísticas', //cpg1.4
+  	array('Modo de Registro de sucesos <a href="#notice3" class="clickable_option">***</a>', 'log_mode', 11, 'f=index.htm&amp;as=admin_logging_log_mode&amp;ae=admin_logging_log_mode_end'), //cpg1.4
+  	array('Registrar los sucesos de postales', 'log_ecards', 1, 'f=index.htm&amp;as=admin_general_log_ecards&amp;ae=admin_general_log_ecards_end'), //cpg1.4
+  	array('Mantener estadísticas detalladas de los votos','vote_details',1, 'f=index.htm&amp;as=admin_logging_votedetails&amp;ae=admin_logging_votedetails_end'), //cpg1.4
+  	array('Mantener estadísticas detalladas de los hits','hit_details',1, 'f=index.htm&amp;as=admin_logging_hitdetails&amp;ae=admin_logging_hitdetails_end'), //cpg1.4
+	
+	'Configuraciones de Mantenimiento', //cpg1.4
+	array('Activar modo debug', 'debug_mode', 9, 'f=index.htm&amp;as=debug_mode&amp;ae=debug_mode_end'), //cpg1.3.0
+	array('Mostrar avisos en modo debug', 'debug_notice', 1, 'f=index.htm&amp;as=admin_misc_debug_notices&amp;ae=admin_misc_debug_notices_end'), //cpg1.3.0
+	array('Galería desactivada', 'offline', 1, 'f=index.htm&amp;as=admin_general_offline&amp;ae=admin_general_offline_end'), //cpg1.3.0
+	'<br /><div align="left"><a name="notice1"></a>(*) Estos valores no deben ser cambiados si ya existen archivos en la base de datos.<br />
+	<a name="notice2"></a>(**) Si se cambian estos valores, solamente afectará a los archivos que se añadan desde este momento, por lo que es recomendable no cambiarlos si ya hay imágenes en la galería. Puedes, sin embargo, hacer los cambios sobre imágenes existentes con la utilidad &quot;<a href="util.php">Cambiar tamaños</a>&quot; del menú de administración.<br />
+	<a name="notice3"></a>(***) Todos los archivos de registro de sucesos son escritos en ingles.</div><br />', //cpg1.3.0
+);
+
+// ------------------------------------------------------------------------- //
+// File db_ecard.php //cpg1.3.0
+// ------------------------------------------------------------------------- //
+
+if (defined('DB_ECARD_PHP')) $lang_db_ecard_php = array(
+  'title' => 'Postales enviadas', //cpg1.3.0
+  'ecard_sender' => 'Remitente', //cpg1.3.0
+  'ecard_recipient' => 'Destinatario', //cpg1.3.0
+  'ecard_date' => 'Fecha', //cpg1.3.0
+  'ecard_display' => 'Mostrar postal', //cpg1.3.0
+  'ecard_name' => 'Nombre', //cpg1.3.0
+  'ecard_email' => 'Email', //cpg1.3.0
+  'ecard_ip' => 'IP #', //cpg1.3.0
+  'ecard_ascending' => 'ascendente', //cpg1.3.0
+  'ecard_descending' => 'descendente', //cpg1.3.0
+  'ecard_sorted' => 'Orden', //cpg1.3.0
+  'ecard_by_date' => 'por fecha', //cpg1.3.0
+  'ecard_by_sender_name' => 'por nombre del remitente', //cpg1.3.0
+  'ecard_by_sender_email' => 'por email del remitente', //cpg1.3.0
+  'ecard_by_sender_ip' => 'por dirección IP del remitente', //cpg1.3.0
+  'ecard_by_recipient_name' => 'por nombre del destinatario', //cpg1.3.0
+  'ecard_by_recipient_email' => 'por email del destinatario', //cpg1.3.0
+  'ecard_number' => 'mostrando registros %s al %s de %s', //cpg1.3.0
+  'ecard_goto_page' => 'ir a la página', //cpg1.3.0
+  'ecard_records_per_page' => 'Registros por página', //cpg1.3.0
+  'check_all' => 'Marcar todos', //cpg1.3.0
+  'uncheck_all' => 'Desmarcar todos', //cpg1.3.0
+  'ecards_delete_selected' => 'Borrar postales seleccionadas', //cpg1.3.0
+  'ecards_delete_confirm' => '¿Estás seguro de querer borrar estos registros? ¡Marca la checkbox!', //cpg1.3.0
+  'ecards_delete_sure' => 'Estoy seguro', //cpg1.3.0
+);
+
+
+// ------------------------------------------------------------------------- //
+// File db_input.php
+// ------------------------------------------------------------------------- //
+
+if (defined('DB_INPUT_PHP')) $lang_db_input_php = array(
+	'empty_name_or_com' => 'Debes introducir tu nombre y un comentario',
+	'com_added' => 'Tu comentario ha sido añadido',
+	'alb_need_title' => '¡Debes de introducir un título para el álbum!',
+	'no_udp_needed' => 'No se requiere ningún cambio',
+	'alb_updated' => 'El álbum ha sido actualizado',
+	'unknown_album' => 'El álbum seleccionado no existe o no tienes permisos para añadir fotos en este álbum',
+	'no_pic_uploaded' => '¡Ningún fichero fue añadido!<br /><br />Si habías seleccionado una foto para añadir, comprueba que el servidor admite subir ficheros...',
+	'err_mkdir' => '¡Fallo al crear el directorio %s!',
+	'dest_dir_ro' => '¡El directorio destino %s no tiene permisos de escritura!',
+	'err_move' => '¡Imposible mover %s a %s !',
+	'err_fsize_too_large' => 'El fichero que quieres añadir es demasiado grande (el máximo permitido es de %s x %s)',
+	'err_imgsize_too_large' => 'El fichero que quieres añadir es demasiado grande (el máximo permitido es de %s KB)',
+	'err_invalid_img' => 'El fichero que quieres añadir no es una imagen válida',
+	'allowed_img_types' => 'Puedes insertar solamente %s imágenes.',
+	'err_insert_pic' => 'El fichero \'%s\' no puede ser dado de alta en el álbum ',
+	'upload_success' => 'El fichero ha sido insertado correctamente<br /><br />Será visible tras la aprobación de los administradores.',
+	'notify_admin_email_subject' => '%s - Notificación de fichero añadido', //cpg1.3.0
+	'notify_admin_email_body' => 'Una imagen ha sido añadida por %s que necesita tu aprobación. Visita %s', //cpg1.3.0
+	'info' => 'Información',
+	'com_added' => 'Comentario añadido',
+	'alb_updated' => 'Álbum actualizado',
+	'err_comment_empty' => '¡El comentario está vació!',
+	'err_invalid_fext' => 'Solamente se admiten ficheros con las siguientes extensiones : <br /><br />%s.',
+	'no_flood' => 'Perdona pero eres el autor/a del último comentario introducido para este archivo<br /><br />Puedes editar el comentario que has puesto si es que quieres modificarlo',
+	'redirect_msg' => 'Estás siendo redirigido.<br /><br /><br />Pulsa \'CONTINUAR\' si la página no se refresca automáticamente',
+	'upl_success' => 'El fichero se ha añadido correctamente',
+	'email_comment_subject' => 'Comentario añadido en la Galería Coppermine', //cpg1.3.0
+	'email_comment_body' => 'Alguien ha añadido un comentario en tu galería. Puedes verlo en', //cpg1.3.0
+  	'album_not_selected' => 'Álbum no seleccionado', //cpg1.4
+  	'com_author_error' => 'Un usuario registrado esta usando este nombre, inicie sesión o utilice otro', //cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File delete.php
+// ------------------------------------------------------------------------- //
+
+if (defined('DELETE_PHP')) $lang_delete_php = array(
+	'caption' => 'Título',
+	'fs_pic' => 'imagen tamaño completo',
+	'del_success' => 'borrado correctamente',
+	'ns_pic' => 'imagen tamaño normal',
+	'err_del' => 'no puede ser borrado',
+	'thumb_pic' => 'Imagen miniatura',
+	'comment' => 'comentario',
+	'im_in_alb' => 'imágenes en el álbum',
+	'alb_del_success' => 'Álbum \'%s\' borrado',
+	'alb_mgr' => 'Organizador de álbumes',
+	'err_invalid_data' => 'Datos inválidos recibidos en \'%s\'',
+	'create_alb' => 'Creando el álbum \'%s\'',
+	'update_alb' => 'Actualizando el álbum \'%s\' con el título \'%s\' y el índice \'%s\'',
+	'del_pic' => 'Borrar fichero',
+	'del_alb' => 'Borrar álbum',
+	'del_user' => 'Borrar usuario',
+	'err_unknown_user' => '¡El usuario seleccionado no existe!',
+  	'err_empty_groups' => 'No hay tabla de grupos, ¡o la tabla de grupos esta vacía!', //cpg1.4
+	'comment_deleted' => 'El comentario ha sido borrado',
+  	'npic' => 'Imagen', //cpg1.4
+  	'pic_mgr' => 'Administrador de Imágenes', //cpg1.4
+  	'update_pic' => 'Actualizando imagen \'%s\' con el archivo \'%s\' y el índice \'%s\'', //cpg1.4
+  	'username' => 'Nombre de usuario', //cpg1.4
+  	'anonymized_comments' => 'Los comentario(s) %s son ahora anónimos', //cpg1.4
+  	'anonymized_uploads' => 'Los archivo(s) publico(s) %s son ahora anónimos', //cpg1.4
+  	'deleted_comments' => '%s comentario(s) borrado', //cpg1.4
+  	'deleted_uploads' => '%s archivo(s) publico(s) borrado', //cpg1.4
+  	'user_deleted' => 'usuario %s borrado', //cpg1.4
+  	'activate_user' => 'Activar usuario', //cpg1.4
+  	'user_already_active' => 'La cuenta se encuentra activa', //cpg1.4
+  	'activated' => 'Activado', //cpg1.4
+  	'deactivate_user' => 'Desactivar usuario', //cpg1.4
+  	'user_already_inactive' => 'La cuanta se encuentra inactiva', //cpg1.4
+  	'deactivated' => 'Desactivado', //cpg1.4
+  	'reset_password' => 'Limpiar contraseña(s)', //cpg1.4
+  	'password_reset' => 'Contraseña cambiada a %s', //cpg1.4
+  	'change_group' => 'Cambiar grupo primario', //cpg1.4
+  	'change_group_to_group' => 'Cambiando de %s a %s', //cpg1.4
+  	'add_group' => 'Añadir grupo secundario', //cpg1.4
+  	'add_group_to_group' => 'Añadiendo el usuario %s al grupo %s. Ahora es miembro del grupo primario %s y del grupo(s) secundario(s) %s.', //cpg1.4
+  	'status' => 'Estado', //cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File displayecard.php
+// ------------------------------------------------------------------------- //
+
+if (defined('DISPLAYECARD_PHP')) {
+
+$lang_displayecard_php = array(
+  	'invalid_data' => 'La información de la postal que esta tratando de acceder ha sido corrompida por su cliente de correo. Verifique que el link este completo.', //cpg1.4
+);
+}
+
+// ------------------------------------------------------------------------- //
+// File displayimage.php
+// ------------------------------------------------------------------------- //
+
+if (defined('DISPLAYIMAGE_PHP')){
+
+$lang_display_image_php = array(
+	'confirm_del' => '¿Estás seguro de querer BORRAR este fichero? \\nLos comentarios serán también borrados.',
+	'del_pic' => 'BORRAR ESTE FICHERO',
+	'size' => '%s x %s pixels',
+	'views' => '%s veces',
+	'slideshow' => 'Slideshow',
+	'stop_slideshow' => 'DETENER SLIDESHOW',
+	'view_fs' => 'Pulsa aquí para ver la imagen a tamaño completo',
+	'edit_pic' => 'Editar la descripción', //cpg1.3.0
+	'crop_pic' => 'Recortar y Rotar', //cpg1.3.0
+  	'set_player' => 'Cambiar reproductor',
+);
+
+$lang_picinfo = array(
+	'title' =>'Información del fichero',
+	'Filename' => 'Nombre del fichero',
+	'Album name' => 'Nombre del álbum',
+	'Rating' => 'Valoración (%s votos)',
+	'Keywords' => 'Palabras clave',
+	'File Size' => 'Tamaño del fichero',
+  	'Date Added' => 'Fecha de creación', //cpg1.4
+	'Dimensions' => 'Dimensiones',
+	'Displayed' => 'Se ha visto',
+  	'URL' => 'URL', //cpg1.4
+  	'Make' => 'Hecho', //cpg1.4
+  	'Model' => 'Modelo', //cpg1.4
+  	'DateTime' => 'Fecha y Hora', //cpg1.4
+  	'DateTimeOriginal' => 'Fecha de la captura', //cpg1.4
+  	'ISOSpeedRatings'=>'ISO', //cpg1.4
+  	'MaxApertureValue' => 'Máxima Apertura', //cpg1.4
+	'Focal length' => 'Longitud del foco',
+	'Comment' => 'Comentario',
+	'addFav'=>'Añadir a Favoritos',
+	'addFavPhrase'=>'Favoritos',
+	'remFav'=>'Quitar de Favoritos',
+	'iptcTitle'=>'IPTC - Título', //cpg1.3.0
+	'iptcCopyright'=>'IPTC - Copyright', //cpg1.3.0
+	'iptcKeywords'=>'IPTC - Palabras clave', //cpg1.3.0
+	'iptcCategory'=>'IPTC - Categoría', //cpg1.3.0
+	'iptcSubCategories'=>'IPTC - Sub-Categorías', //cpg1.3.0
+  	'ColorSpace' => 'Espacio del color', //cpg1.4
+  	'ExposureProgram' => 'Programa de exposición', //cpg1.4
+  	'Flash' => 'Flash', //cpg1.4
+  	'MeteringMode' => 'Modo métrico', //cpg1.4
+  	'ExposureTime' => 'Tiempo de exposición', //cpg1.4
+  	'ExposureBiasValue' => 'Bias de exposición', //cpg1.4
+  	'ImageDescription' => ' Descripción de la imagen', //cpg1.4
+  	'Orientation' => 'Orientación', //cpg1.4
+  	'xResolution' => 'Resolución en X', //cpg1.4
+  	'yResolution' => 'Resolución en Y', //cpg1.4
+  	'ResolutionUnit' => 'Unidades de Resolución', //cpg1.4
+  	'Software' => 'Software', //cpg1.4
+  	'YCbCrPositioning' => 'YCbCrPositioning', //cpg1.4
+  	'ExifOffset' => 'Exif Offset', //cpg1.4
+  	'IFD1Offset' => 'IFD1 Offset', //cpg1.4
+  	'FNumber' => 'FNumber', //cpg1.4
+  	'ExifVersion' => 'versión de Exif ', //cpg1.4
+  	'DateTimeOriginal' => 'Fecha y hora original', //cpg1.4
+  	'DateTimedigitized' => 'Fecha y hora digitalizado', //cpg1.4
+  	'ComponentsConfiguration' => 'Configuración de los Componentes', //cpg1.4
+  	'CompressedBitsPerPixel' => 'Compresión de los Bits Por Pixel', //cpg1.4
+  	'LightSource' => 'Fuente de luz', //cpg1.4
+  	'ISOSetting' => 'Configuración ISO', //cpg1.4
+  	'ColorMode' => 'Modo de color', //cpg1.4
+  	'Quality' => 'Calidad', //cpg1.4
+  	'ImageSharpening' => 'Sharpening de la imagen', //cpg1.4
+  	'FocusMode' => 'Modo de enfocamiento', //cpg1.4
+  	'FlashSetting' => 'Configuración del Flash', //cpg1.4
+  	'ISOSelection' => 'Selección ISO', //cpg1.4
+  	'ImageAdjustment' => 'Ajuste de la Imagen', //cpg1.4
+  	'Adapter' => 'Adaptador', //cpg1.4
+  	'ManualFocusDistance' => 'Distancia de enfoque manual', //cpg1.4
+  	'DigitalZoom' => 'Acercamiento digital', //cpg1.4
+  	'AFFocusPosition' => 'posición del enfoque AF', //cpg1.4
+  	'Saturation' => 'Saturación', //cpg1.4
+  	'NoiseReduction' => 'Reducción de Ruido', //cpg1.4
+  	'FlashPixVersion' => 'versión de Flash Pix', //cpg1.4
+  	'ExifImageWidth' => 'Ancho de imagen por Exif', //cpg1.4
+  	'ExifImageHeight' => 'Alto de imagen por Exif', //cpg1.4
+  	'ExifInteroperabilityOffset' => 'Desviación de Interoperabilidad de Exif', //cpg1.4
+  	'FileSource' => 'Fuente del Archivo', //cpg1.4
+  	'SceneType' => 'Tipo de escena', //cpg1.4
+  	'CustomerRender' => 'Renderizado personalizado', //cpg1.4
+  	'ExposureMode' => ' Modo de Exposición', //cpg1.4
+  	'WhiteBalance' => 'Balance Blanco', //cpg1.4
+  	'DigitalZoomRatio' => 'Ratio de acercamiento digital', //cpg1.4
+  	'SceneCaptureMode' => 'Modo de captura de escenas', //cpg1.4
+  	'GainControl' => 'Control de ganancia', //cpg1.4
+  	'Contrast' => 'Contraste', //cpg1.4
+  	'Saturation' => 'Saturación', //cpg1.4
+  	'Sharpness' => 'Sharpness', //cpg1.4
+  	'ManageExifDisplay' => 'Administrar despliegue de Exif', //cpg1.4
+  	'submit' => 'Enviar', //cpg1.4
+  	'success' => 'información actualizada exitosamente.', //cpg1.4
+  	'details' => 'Detalles', //cpg1.4
+);
+
+$lang_display_comments = array(
+	'OK' => 'OK',
+	'edit_title' => 'Editar el comentario',
+	'confirm_delete' => '¿Estás seguro de querer borrar el comentario?',
+	'add_your_comment' => 'Añadir un comentario',
+	'name'=>'Nombre',
+	'comment'=>'Comentario',
+	'your_name' => 'Anónimo',
+  	'report_comment_title' => 'Reportar este comentario al administrador', //cpg1.4
+);
+
+$lang_fullsize_popup = array(
+	'click_to_close' => 'Pulsa en la imagen para cerrar esta ventana',
+);
+
+}
+
+// ------------------------------------------------------------------------- //
+// File ecard.php
+// ------------------------------------------------------------------------- //
+
+if (defined('ECARDS_PHP') || defined('DISPLAYECARD_PHP')) $lang_ecard_php =array(
+	'title' => 'Enviar una postal',
+	'invalid_email' => '<b>Atención</b> : ¡dirección email incorrecta!',
+	'ecard_title' => 'Una postal de %s para ti',
+	'error_not_image' => 'Solo se pueden crear postales con imágenes.', //cpg1.3.0
+	'view_ecard' => 'Si la imagen no se ve correctamente, pulsa en este enlace',
+  	'view_ecard_plaintext' => 'Para ver la postal, copie y pegue esta URL en la barra de direcciones de su navegador:', //cpg1.4
+	'view_more_pics' => '¡Pulsa aquí para ver más imágenes!',
+	'send_success' => 'La postal ha sido enviada',
+	'send_failed' => 'Disculpa, pero el servidor no puede enviar la postal...',
+	'from' => 'De',
+	'your_name' => 'Tu nombre',
+	'your_email' => 'Tu dirección de email',
+	'to' => 'A',
+	'rcpt_name' => 'Nombre del destinatario',
+	'rcpt_email' => 'Dirección email del destinatario',
+	'greetings' => 'Título del mensaje',
+	'message' => 'Mensaje',
+  	'ecards_footer' => 'Enviado por %s desde la IP %s a las %s (Hora de la galería)', //cpg1.4
+  	'preview' => 'Vista preliminar de la postal', //cpg1.4
+  	'preview_button' => 'Vista preliminar', //cpg1.4
+  	'submit_button' => 'Enviar postal', //cpg1.4
+  	'preview_view_ecard' => 'Este es el enlace alternativo a la postal una vez sea generada. No funciona en vista preliminar.', //cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File report_file.php //cpg1.4
+// ------------------------------------------------------------------------- //
+
+if (defined('REPORT_FILE_PHP') || defined('DISPLAYREPORT_PHP')) $lang_report_php =array(
+  	'title' => 'Reportar al administrador', //cpg1.4
+  	'invalid_email' => '<b>Advertencia</b> : Dirección de correo electrónico invalida!', //cpg1.4
+  	'report_subject' => 'Un reporte de %s en la galería %s', //cpg1.4
+  	'view_report' => 'Enlace alterno si el reporte no se ve correctamente', //cpg1.4
+	'view_report_plaintext' => 'Para ver el reporte, copie y pegue este URL en la barra de direcciones de su navegador:', //cpg1.4
+  	'view_more_pics' => 'galería', //cpg1.4
+  	'send_success' => 'Su reporte fue enviado con éxito', //cpg1.4
+  	'send_failed' => 'Lo sentimos pero el servidor no puede enviar su reporte...', //cpg1.4
+  	'from' => 'De', //cpg1.4
+  	'your_name' => 'Su nombre', //cpg1.4
+  	'your_email' => 'Su dirección de correo', //cpg1.4
+  	'to' => 'Para', //cpg1.4
+  	'administrator' => 'Administrador/Moderador', //cpg1.4
+  	'subject' => 'Asunto', //cpg1.4
+  	'comment_field_name' => 'Reportando un comentario por "%s"', //cpg1.4
+  	'reason' => 'Razón', //cpg1.4
+  	'message' => 'Mensaje', //cpg1.4
+  	'report_footer' => 'Enviado por %s desde la IP %s a las %s (Hora de la galería)', //cpg1.4
+  	'obscene' => 'obsceno', //cpg1.4
+  	'offensive' => 'ofensivo', //cpg1.4
+  	'misplaced' => 'fuera de lugar/mal ubicado', //cpg1.4
+  	'missing' => 'perdido', //cpg1.4
+  	'issue' => 'error/no se puede ver', //cpg1.4
+  	'other' => 'otro', //cpg1.4
+  	'refers_to' => 'El archivo de reporte se refiere a', //cpg1.4
+  	'reasons_list_heading' => 'razón(es) para el reporte:', //cpg1.4
+  	'no_reason_given' => 'no se dieron razón(es)', //cpg1.4
+  	'go_comment' => 'Ir al comentario', //cpg1.4
+  	'view_comment' => 'Ver reporte completo incluyendo comentario', //cpg1.4
+  	'type_file' => 'archivo', //cpg1.4
+  	'type_comment' => 'comentario', //cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File editpics.php
+// ------------------------------------------------------------------------- //
+
+if (defined('EDITPICS_PHP')) $lang_editpics_php = array(
+	'pic_info' => 'Información',
+	'album' => 'Album',
+	'title' => 'Título',
+  	'filename' => 'Nombre de archivo', //cpg1.4
+	'desc' => 'Descripción',
+	'keywords' => 'Palabras clave',
+  	'new_keyword' => 'Nueva palabra clave', //cpg1.4
+  	'new_keywords' => 'Nueva palabra clave encontrada', //cpg1.4
+  	'existing_keyword' => 'Palabra clave existente', //cpg1.4
+	'pic_info_str' => '%sx%s - %sKB - %s veces vista - %s votos',
+	'approve' => 'Aprobar el fichero',
+	'postpone_app' => 'Posponer la aprobación',
+	'del_pic' => 'Borrar el fichero',
+  	'del_all' => 'Borrar TODOS los archivos', //cpg1.4
+	'read_exif' => 'Leer los datos EXIF de nuevo', //cpg1.3.0
+	'reset_view_count' => 'Poner a cero el contador de veces que se ha visto',
+  	'reset_all_view_count' => 'Poner a cero TODOS los contadores de veces que se ha visto', //cpg1.4
+	'reset_votes' => 'Poner a cero los votos',
+  	'reset_all_votes' => 'Poner a cero TODOS los votos', //cpg1.4
+	'del_comm' => 'Borrar comentarios',
+  	'del_all_comm' => 'Borrar TODOS los comentarios', //cpg1.4
+	'upl_approval' => 'Aprobar ficheros añadidos',
+	'edit_pics' => 'Editar imágenes',
+	'see_next' => 'Ver los ficheros siguientes',
+	'see_prev' => 'Ver los ficheros anteriores',
+	'n_pic' => '%s fichero/s',
+	'n_of_pic_to_disp' => 'Número de ficheros a mostrar',
+	'apply' => 'Validar los cambios',
+	'crop_title' => 'Editor de Imágenes Coppermine', //cpg1.3.0
+	'preview' => 'Previsualizar', //cpg1.3.0
+	'save' => 'Guardar imagen', //cpg1.3.0
+	'save_thumb' =>'Guardar como imagen miniatura', //cpg1.3.0
+  	'gallery_icon' => 'Establecer como mi Icono', //cpg1.4
+	'sel_on_img' =>'¡La selección tiene que estar enteramente en la imagen!', //js-alert //cpg1.3.0
+  	'album_properties' =>'Propiedades del Album', //cpg1.4
+  	'parent_category' =>'categoría Padre', //cpg1.4
+  	'thumbnail_view' =>'Vista en miniatura', //cpg1.4
+  	'select_unselect' =>'seleccionar/deseleccionar todos', //cpg1.4
+  	'file_exists' => "El archivo de destino '%s' ya existe.", //cpg1.4
+  	'rename_failed' => "No se puede renombrar '%s' a '%s'.", //cpg1.4
+  	'src_file_missing' => "Archivo original '%s' no se encuentra.", // cpg 1.4
+  	'mime_conv' => "No se pude convertir el archivo de '%s' a '%s'",//cpg1.4
+	'forb_ext' => 'Extensión de archivo prohibida.',//cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File faq.php //cpg1.3.0
+// ------------------------------------------------------------------------- //
+
+if (defined('FAQ_PHP')) $lang_faq_php = array(
+  'faq' => 'Preguntas Frecuentes', //cpg1.3.0
+  'toc' => 'índice de contenidos', //cpg1.3.0
+  'question' => 'Pregunta: ', //cpg1.3.0
+  'answer' => 'Respuesta: ', //cpg1.3.0
+);
+
+if (defined('FAQ_PHP')) $lang_faq_data = array(
+  'Cuestiones Generales', //cpg1.3.0
+  array('¿Porqué debería registrarme?', 'El registro puede o no ser requerido por el administrador. El registro facilita características adicionales tales como poder añadir ficheros, tener una lista de favoritos, puntuar imágenes, añadir comentarios, etc.', 'allow_user_registration', '0'), //cpg1.3.0
+  array('¿Cómo puedo registrarme?', 'Pulsa en &quot;Registrarse&quot; y rellena todos los campos requeridos (y los opcionales si quieres también).<br />Si el administrador tiene activada la validación de email ,tras completar y enviar los datos recibirás un mensaje en la dirección que has indicado durante el registro, en el cual se explica cómo activar tu cuenta (solo pulsando un enlace). Hasta que no actives la cuenta no podrás validarte como usuario registrado.', 'allow_user_registration', '1'), //cpg1.3.0
+  array('¿Cómo puedo hacer login (validarme)?', 'Pulsa en &quot;Login&quot;, rellena tu nombre de usuario y contraseña, y marca &quot;Recordarme&quot; con ello consigues estar validado la próxima vez que nos visites.<br /><b>IMPORTANTE: Las cookies deben estar activadas en el navegador y la cookie de este sitio no debe ser borrada si quieres que funcione la opción &quot;Recordarme&quot;.</b>', 'offline', 0), //cpg1.3.0
+  array('¿Porqué no puedo hacer login?', '¿Te has registrado y pulsado en el enlace del email de confirmación que se te envió?. Esto debería haber activado tu cuenta. Si no es así, contacta con el administrador del sistema.', 'offline', 0), //cpg1.3.0
+  array('¿Qué pasa si olvido mi contraseña?', 'Si la web tiene opción de &quot;He olvidado mi contraseña&quot; tendrás que acceder a la recuperación de la misma. Si no, deberás contactar con el administrador para que te cree una nueva contraseña.', 'offline', 0), //cpg1.3.0
+  //array('¿Qué pasa si he cambiado mi dirección de email?', 'Simplemente haz login y cambia tu dirección de email desde &quot;Mi Perfil&quot;', 'offline', 0), //cpg1.3.0
+  array('¿Cómo puedo guardar una imagen en &quot;Mis Favoritos&quot;?', 'Pulsa primero en la imagen y luego el icono de &quot;mostrar información de fichero&quot; (<img src="images/info.gif" width="16" height="16" border="0" alt="Mostrar información de fichero" />); baja hasta donde ha aparecido dicha información y pulsa en &quot;Añadir a Favoritos&quot;.<br />El administrador podría tener activado &quot;mostrar información de fichero&quot; por defecto.<br />IMPORTANTE: Las cookies deben estar activadas en el navegador y la cookie de esta web no debe ser borrada.', 'offline', 0), //cpg1.3.0
+  array('¿Cómo puedo valorar una imagen?', 'Pulsa en la miniatura de la imagen, mira debajo de ella y elige la puntuación.', 'offline', 0), //cpg1.3.0
+  array('¿Cómo puedo enviar un comentario a una imagen?', 'Pulsa en la miniatura de la imagen y mira debajo de ella. Ahí puedes insertar tu comentario.', 'offline', 0), //cpg1.3.0
+  array('¿Cómo puedo añadir una imagen?', 'Pulsa en &quot;Añadir fichero&quot; y elige el album en el que quieres añadir la imagen, pulsa &quot;Browse&quot; y elige la imagen que quieres de tu disco duro, pulsando el botón &quot;Abrir&quot; (añade título y descripción si quieres), pulsando finalmente en &quot;Añadir nuevo fichero&quot;', 'allow_private_albums', 0), //cpg1.3.0
+  array('¿En dónde puedo añadir una imagen?', 'Puedes añadir una imagen a uno de tus álbumes de &quot;Mi galería&quot;. El Administrador puede haber permitido el añadir imágenes en uno o más de los álbumes de la Galería principal.', 'allow_private_albums', 0), //cpg1.3.0
+  array('¿Qué tipos y tamaños de imágenes puedo añadir?', 'Los tipos (jpg,gif,..etc.) y tamaños los decide el administrador.', 'offline', 0), //cpg1.3.0
+  array('¿Cómo puedo crear, renombrar o borrar un album en &quot;Mi galería&quot;?', 'Debes entrar en &quot;Modo administrador&quot;<br />Pulsa en &quot;Crear/ordenar albums&quot; y luego en &quot;Nuevo&quot;. Cambia &quot;Nuevo álbum&quot; por el nombre que quieras.<br />Puedes también renombrar cualquiera de los álbumes de tu galería.<br />Pulsa &quot;Aplicar modificaciones&quot;.', 'allow_private_albums', 0), //cpg1.3.0
+  array('¿Cómo puedo modificar y restringir a otros usuarios el ver mi álbumes?', 'Debes entrar en &quot;Modo administrador&quot;<br />Pulsa en &quot;Modificar mis albums&quot;. En la barra de &quot;Modificar album&quot;, elige el album que quieres modificar.<br />Desde aquí puedes cambiar el nombre, descripción, miniatura de la imagen, y restringir quién puede ver o poner comentarios en el album.<br />Pulsa &quot;Modificar album&quot; para guardar los cambios.', 'allow_private_albums', 0), //cpg1.3.0
+  array('?Cómo puedo ver galerías de otros usuarios?', 'Vete a la &quot;Lista de álbums&quot; y elige &quot;Galerías de usuario&quot;.', 'allow_private_albums', 0), //cpg1.3.0
+  array('¿Qué son las cookies?', 'Las cookies son unos pequeños textos que se envían desde la web y se almacenan en tu ordenador.<br />Normalmente las cookies sirven para "recordar" al usuario cuando éste vuelva de nuevo, y para otros varios usos.', 'offline', 0), //cpg1.3.0
+  array('¿Dónde puedo conseguir este programa para ponerlo en mi web?', 'Coppermine es una Galería Multimedia gratuita, publicada bajo licencia GNU GPL. Está repleta de características y ha sido adaptada a distintas plataformas y sistemas de contenido. Visita la <a href="http://coppermine-gallery.net/">Web de Coppermine</a> para saber más y poder descargar el programa.', 'offline', 0), //cpg1.3.0
+
+  'Navegando por Coppermine', //cpg1.3.0
+  array('¿Qué es la &quot;Lista de álbums&quot;?', 'Desde aquí puedes ver la galería completa, con un enlace a cada categoría. Las miniaturas de imágenes pueden ser enlaces directos a las categorías.', 'offline', 0), //cpg1.3.0
+  array('¿Qué es &quot;Mi galería&quot;?', 'Esta característica permite al usuario crear su propia galería y añadir, borrar o modificar álbumes así como añadir nuevos ficheros en ellos.', 'allow_private_albums', 0), //cpg1.3.0
+  array('¿Cuáles son las diferencias entre &quot;Modo adminsitrador&quot; y &quot;Modo usuario&quot;?', 'Cuando se está en modo administrador, el usuario puede modificar su galería (así como otras si se lo ha permitido el administrador).', 'allow_private_albums', 0), //cpg1.3.0
+  array('¿Qué es &quot;Añadir fichero&quot;?', 'Esta característica permite al usuario añadir una imagen (tamaño y tipos definidos por el administrador) en una galería seleccionada por el usuario o bien por el administrator.', 'allow_private_albums', 0), //cpg1.3.0
+  array('¿Qué es &quot;últimos archivos&quot;?', 'Muestra los últimos ficheros / imágenes añadidos a la galería.', 'offline', 0), //cpg1.3.0
+  array('¿Qué es &quot;últimos comentarios&quot;?', 'Muestra los últimos comentarios añadidos por los usuarios, junto con las imágenes comentadas.', 'offline', 0), //cpg1.3.0
+  array('¿Qué es &quot;Más vistos&quot;?', 'Muestra las imágenes más vistas por todos los usuarios (registrados y visitantes).', 'offline', 0), //cpg1.3.0
+  array('¿Qué es &quot;Más valorados&quot;?', 'Muestra las imágenes mejor valoradas por los usuarios, junto con la media de puntuación (por ejemplo: cinco usuarios han dado un <img src="images/rating3.gif" width="65" height="14" border="0" alt="" />: la imagen tendrá una puntuación media de <img src="images/rating3.gif" width="65" height="14" border="0" alt="" /> ; si cinco usuarios han puntuado de 1 a 5 (1,2,3,4,5) la media resultante será <img src="images/rating3.gif" width="65" height="14" border="0" alt="" /> .)<br />Las puntuaciones van desde <img src="images/rating5.gif" width="65" height="14" border="0" alt="mejor" /> (mejor) hasta <img src="images/rating0.gif" width="65" height="14" border="0" alt="peor" /> (peor).', 'offline', 0), //cpg1.3.0
+  array('¿Qué es &quot;Mis favoritos&quot;?', 'Esta característica permite a un usuario guardar una imagen favorita en la cookie que es enviada a su ordenador.', 'offline', 0), //cpg1.3.0
+);
+
+
+// ------------------------------------------------------------------------- //
+// File forgot_passwd.php //cpg1.3.0
+// ------------------------------------------------------------------------- //
+
+if (defined('FORGOT_PASSWD_PHP')) $lang_forgot_passwd_php = array(
+  	'forgot_passwd' => 'Recuperación de contraseña', //cpg1.3.0
+  	'err_already_logged_in' => '¡Ya estás validado como usuario!', //cpg1.3.0
+  	'enter_email' => 'Introduce dirección email', //cpg1.4
+  	'submit' => 'buscar contraseña', //cpg1.3.0
+  	'illegal_session' => 'Sesión de Olvide mi contraseña invalida o ha expirado.', //cpg1.4
+  	'failed_sending_email' => '¡El email con la contraseña no ha podido ser enviado!', //cpg1.3.0
+  	'email_sent' => 'Un email con su Usuario y su nueva contraseña ha sido enviado a %s', //cpg1.4
+  	'verify_email_sent' => 'Se ha enviado un email a %s. Por favor verifique su email para completar el proceso.', //cpg1.4
+  	'err_unk_user' => '¡El usuario seleccionado no existe!',
+  	'account_verify_subject' => '%s - Recuperación de Contraseña', //cpg1.4
+  	'account_verify_body' => 'Ha solicitado la recuperación de contraseña . SI desea proseguir con tener una nueva contraseña enviada a Ud, haga click en el siguiente enlace:
+
+%s', //cpg1.4
+  	'passwd_reset_subject' => '%s - Su nueva contraseña', //cpg1.4
+  	'passwd_reset_body' => 'aquí esta las contraseñas que solicito:
+Usuario: %s
+Contraseña: %s
+Pulsa %s para validarte.', //cpg1.3.0
+);
+
+// ------------------------------------------------------------------------- //
+// File groupmgr.php
+// ------------------------------------------------------------------------- //
+
+if (defined('GROUPMGR_PHP')) $lang_groupmgr_php = array(
+	'group_name' => 'Nombre del grupo',
+  	'permissions' => 'Permisos', //cpg1.4
+  	'public_albums' => 'Añadir ficheros a álbumes públicos', //cpg1.4
+  	'personal_gallery' => 'galería Personal', //cpg1.4
+  	'upload_method' => 'Método para subir archivos', //cpg1.4
+	'disk_quota' => 'Cuota de disco',
+  	'rating' => 'Valoración', //cpg1.4
+  	'ecards' => 'Postales', //cpg1.4
+  	'comments' => 'Comentarios', //cpg1.4
+  	'allowed' => 'Permitido', //cpg1.4
+  	'approval' => 'Aprobación', //cpg1.4
+  	'boxes_number' => 'No. de cajas', //cpg1.4
+  	'variable' => 'variable', //cpg1.4
+  	'fixed' => 'fijo', //cpg1.4
+	'apply' => 'Validar los cambios',
+	'create_new_group' => 'Crear nuevo grupo',
+	'del_groups' => 'Borrar el/los grupo(s) seleccionados',
+	'confirm_del' => '¡Atención, cuando borras un grupo, los usuarios que pertenecen a ese grupo serán transferidos al grupo \'Registered\'!\n\n¿Deseas continuar?',
+	'title' => 'Configurar grupos de usuarios',
+	'num_file_upload'=>'Número máximo/exacto de cajas de upload', //cpg1.3.0
+	'num_URI_upload'=>'Número máximo/exacto de cajas de URI upload', //cpg1.3.0
+  	'reset_to_default' => 'Regresar al nombre predeterminado (%s) - ¡recomendado!', //cpg1.4
+  	'error_group_empty' => '¡Tabla del grupo vacia!<br /><br />Grupos predeterminados creados, porfavor recargue esta página', //cpg1.4
+  	'explain_greyed_out_title' => '¿Porque esta fila esta deshabilitada?', //cpg1.4
+  	'explain_guests_greyed_out_text' => 'No puedes cambiar la configuración de este grupo porque habilitaste la opción &quot; Permitir acceso a usuarios sin iniciar sesión (invitados o anónimos)&quot; a &quot;No&quot; en la pagina de configuración. Todos los invitados (miembros del grupo %s) no pueden hacer nada excepto iniciar sesión; por lo que las configuraciones de grupo no se les aplica.', //cpg1.4
+  	'explain_banned_greyed_out_text' => 'No puede cambiar la configuración del grupo %s porque los miembros no pueden hacer nada.', //cpg1.4
+  	'group_assigned_album' => 'album(s) asignados', //cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File index.php
+// ------------------------------------------------------------------------- //
+
+if (defined('INDEX_PHP')){
+
+$lang_index_php = array(
+	'welcome' => '¡Bienvenido!'
+);
+
+$lang_album_admin_menu = array(
+	'confirm_delete' => '¿Estás seguro de querer BORRAR este album ? \\nTodas las fotos y comentarios serán también borrados.',
+	'delete' => 'Borrar',
+	'modify' => 'Modificar',
+	'edit_pics' => 'Editar imágenes',
+);
+
+$lang_list_categories = array(
+	'home' => 'Inicio',
+	'stat1' => '<b>[pictures]</b> ficheros en <b>[albums]</b> albums y <b>[cat]</b> categorías con <b>[comments]</b> comentarios, vistas <b>[views]</b> veces',
+	'stat2' => '<b>[pictures]</b> ficheros en <b>[albums]</b> albums, vistas <b>[views]</b> veces',
+	'xx_s_gallery' => 'Galería de %s',
+	'stat3' => '<b>[pictures]</b> ficheros en <b>[albums]</b> albums con <b>[comments]</b> comentarios, vistas <b>[views]</b> veces'
+);
+
+$lang_list_users = array(
+	'user_list' => 'Lista de usuarios',
+	'no_user_gal' => 'No existen usuarios con permisos para tener albums',
+	'n_albums' => '%s album(s)',
+	'n_pics' => '%s fichero(s)'
+);
+
+$lang_list_albums = array(
+	'n_pictures' => '%s ficheros',
+	'last_added' => ', último añadido el %s',
+  	'n_link_pictures' => '%s ficheros enlazados', //cpg1.4
+  	'total_pictures' => '%s ficheros en total', //cpg1.4
+);
+
+}
+
+// ------------------------------------------------------------------------- //
+// File keywordmgr.php //cpg1.4
+// ------------------------------------------------------------------------- //
+
+if (defined('KEYWORDMGR_PHP')) $lang_keywordmgr_php = array(
+  'title' => 'Manejar Palabras claves', //cpg1.4
+  'edit' => 'editar', //cpg1.4
+  'delete' => 'eliminar', //cpg1.4
+  'search' => 'buscar', //cpg1.4
+  'keyword_test_search' => 'buscar %s en una nueva ventana', //cpg1.4
+  'keyword_del' => 'eliminar la palabra %s', //cpg1.4
+  'confirm_delete' => '¿esta seguro que desea eliminar la palabra clave %s de toda la galería?', //cpg1.4  // js-alert
+  'change_keyword' => 'cambiar palabra', //cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File login.php
+// ------------------------------------------------------------------------- //
+
+if (defined('LOGIN_PHP')) $lang_login_php = array(
+	'login' => 'Iniciar Sesión',
+	'enter_login_pswd' => 'introduzca nombre de usuario y contraseña',
+	'username' => 'Nombre de usuario',
+	'password' => 'Contraseña',
+	'remember_me' => 'Recordarme',
+	'welcome' => 'Bienvenido %s ...',
+	'err_login' => '*** Inicio de sesión incorrecto. Inténtelo de nuevo ***',
+	'err_already_logged_in' => '¡Ya estaba validado en el sistema!',
+	'forgot_password_link' => 'He olvidado mi contraseña', //cpg1.3.0
+  	'cookie_warning' => 'Advertencia su navegador no acepta cookies', //cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File logout.php
+// ------------------------------------------------------------------------- //
+
+if (defined('LOGOUT_PHP')) $lang_logout_php = array(
+	'logout' => 'Salir',
+	'bye' => 'Hasta luego, %s ...',
+	'err_not_loged_in' => '¡No está validado en el sistema!',
+);
+
+// ------------------------------------------------------------------------- //
+// File minibrowser.php  //cpg1.4
+// ------------------------------------------------------------------------- //
+
+if (defined('MINIBROWSER_PHP')) $lang_minibrowser_php = array(
+  	'close' => 'cerrar', //cpg1.4
+  	'submit' => 'OK', //cpg1.4
+  	'up' => 'subir un nivel', //cpg1.4
+  	'current_path' => 'ruta actual', //cpg1.4
+  	'select_directory' => 'porfavor seleccione un directorio', //cpg1.4
+  	'click_to_close' => 'Click sobre la imagen para cerrar esta ventana',
+);
+
+// ------------------------------------------------------------------------- //
+// File modifyalb.php
+// ------------------------------------------------------------------------- //
+
+if (defined('MODIFYALB_PHP')) $lang_modifyalb_php = array(
+	'upd_alb_n' => 'Modificar álbum %s',
+	'general_settings' => 'Configuración general',
+	'alb_title' => 'Título del álbum',
+	'alb_cat' => 'Categoría del álbum',
+	'alb_desc' => 'Descripción del álbum',
+  	'alb_keyword' => 'Palabra Clave del álbum', //cpg1.4
+	'alb_thumb' => 'Imagen miniatura del álbum',
+	'alb_perm' => 'Permisos para este álbum',
+	'can_view' => 'Este álbum puede ser visto por',
+	'can_upload' => 'Los visitantes pueden añadir fotos',
+	'can_post_comments' => 'Los visitantes pueden añadir comentarios',
+	'can_rate' => 'Los visitantes pueden valorar las fotos',
+	'user_gal' => 'Galería de usuario',
+	'no_cat' => '* Sin categoría *',
+	'alb_empty' => 'El álbum está vacío',
+	'last_uploaded' => 'Ultima imagen añadida',
+	'public_alb' => 'Todos (álbum público)',
+	'me_only' => 'Solamente yo',
+	'owner_only' => 'Solamente el dueño del álbum (%s)',
+	'groupp_only' => 'Miembros del grupo \'%s\'',
+	'err_no_alb_to_modify' => 'No puedes modificar ningún álbum en la base de datos.',
+	'update' => 'Modificar álbum',
+  	'reset_album' => 'Resetear álbum', //cpg1.4
+  	'reset_views' => 'Regresar los contadores de veces vista a &quot;0&quot; en %s', //cpg1.4
+  	'reset_rating' => 'Resetear los votos en todos los archivos en %s', //cpg1.4
+  	'delete_comments' => 'Borrar todos los comentarios hechos en %s', //cpg1.4
+  	'delete_files' => 'Irrebersible %s borrar todos los archivos en %s', //cpg1.4
+  	'views' => 'Veces vista', //cpg1.4
+  	'votes' => 'votos', //cpg1.4
+  	'comments' => 'comentarios', //cpg1.4
+  	'files' => 'archivos', //cpg1.4
+  	'submit_reset' => 'Grabar cambios', //cpg1.4
+  	'reset_views_confirm' => 'Estoy seguro', //cpg1.4
+	'notice1' => '(*) dependiendo de la configuración de %sgrupos%s', //cpg1.3.0 (do not translate %s!)
+  	'alb_password' => 'Contraseña del álbum', //cpg1.4
+  	'alb_password_hint' => 'Recordatorio de contraseña del álbum', //cpg1.4
+  	'edit_files' =>'Editar archivos', //cpg1.4
+  	'parent_category' =>'categoría padre', //cpg1.4
+  	'thumbnail_view' =>'Vista en miniatura', //cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File phpinfo.php //cpg1.3.0
+// ------------------------------------------------------------------------- //
+
+if (defined('PHPINFO_PHP')) $lang_phpinfo_php = array(
+  	'php_info' => 'PHP info', //cpg1.3.0
+  	'explanation' => 'Esto es lo que la función <a href="http://www.php.net/phpinfo">phpinfo()</a> muestra, utilizando Coppermine (cortando el texto en la esquina derecha).', //cpg1.3.0
+  	'no_link' => 'Que otros puedan ver tu información de PHP es un riesgo de seguridad, por eso esta pagina solo es visible si has iniciado sesión como administrador. No puedes publicar un link a esta pagina para los demás, ellos tendrán un acceso denegado.', //cpg1.3.0
+);
+
+// ------------------------------------------------------------------------- //
+// File picmgr.php //cpg1.4
+// ------------------------------------------------------------------------- //
+if (defined('PICMGR_PHP')) $lang_picmgr_php = array(
+  	'pic_mgr' => 'Administrador de imágenes', //cpg1.4
+  	'select_album' => 'Seleccione album', //cpg1.4
+  	'delete' => 'Eliminar', //cpg1.4
+  	'confirm_delete1' => '¿Esta seguro que desea eliminar esta imagen?', //cpg1.4
+  	'confirm_delete2' => '\nLa imagen será permanentemente borrada.', //cpg1.4
+  	'apply_modifs' => 'Aplicar modificaciones', //cpg1.4
+  	'confirm_modifs' => 'Confirmar modificaciones', //cpg1.4
+  	'pic_need_name' => '¡Las imágenes necesitan tener un titulo !', //cpg1.4
+  	'no_change' => '¡No ha hecho ningún cambio !', //cpg1.4
+  	'no_album' => '* No album *', //cpg1.4
+  	'explanation_header' => 'El Ordenamiento personalizado que puede especificar en esta pagina solo será tomado en cuenta si ', //cpg1.4
+  	'explanation1' => 'el administrador ha marcado la opción "Orden predeterminado de archivos" en la configuración a "Descendente" or "Ascendente" (configuración global para todos los usuarios que no han escogido otra opción)', //cpg1.4
+  	'explanation2' => 'el usuario ha escogido "Descendente" or "Ascendente" en la pagina de vistas en miniatura (por configuración de usuario)', //cpg1.4
+);
+
+
+// ------------------------------------------------------------------------- //
+// File pluginmgr.php //cpg1.4
+// ------------------------------------------------------------------------- //
+
+if (defined('PLUGINMGR_PHP')){
+
+$lang_pluginmgr_php = array(
+  	'confirm_uninstall' => 'Esta seguro que desea DESINSTALAR este plugin', //cpg1.4
+  	'confirm_delete' => 'Esta seguro que desea ELIMINAR este plugin', //cpg1.4
+  	'pmgr' => 'Administrador de Plugins', //cpg1.4
+  	'name' => 'Nombre', //cpg1.4
+  	'author' => 'Autor', //cpg1.4
+  	'desc' => 'Descripción', //cpg1.4
+  	'vers' => 'v', //cpg1.4
+  	'i_plugins' => 'Plugins instalados', //cpg1.4
+  	'n_plugins' => 'Plugins No instalados', //cpg1.4
+  	'none_installed' => 'Ninguno instalado', //cpg1.4
+  	'operation' => 'Operación', //cpg1.4
+  	'not_plugin_package' => 'El archivo subido no es un paquete de plugins.', //cpg1.4
+  	'copy_error' => 'Hubo un error al copiar al fólder de plugins.', //cpg1.4
+  	'upload' => 'Subir', //cpg1.4
+  	'configure_plugin' => 'Configurar plugin', //cpg1.4
+  	'cleanup_plugin' => 'Limpiar plugin', //cpg1.4
+);
+}
+
+// ------------------------------------------------------------------------- //
+// File ratepic.php
+// ------------------------------------------------------------------------- //
+
+if (defined('RATEPIC_PHP')) $lang_rate_pic_php = array(
+	'already_rated' => 'Perdona pero ya has votado anteriormente a este fichero',
+	'rate_ok' => 'Tu voto ha sido contabilizado',
+	'forbidden' => 'No puedes votar a tus propias imágenes.', //cpg1.3.0
+);
+
+// ------------------------------------------------------------------------- //
+// File register.php & profile.php
+// ------------------------------------------------------------------------- //
+
+if (defined('REGISTER_PHP') || defined('PROFILE_PHP')) {
+
+$lang_register_disclamer = <<<EOT
+A pesar de que los administradores de {SITE_NAME} intentarán eliminar o editar cualquier material desagradable tan pronto como puedan, resulta imposible revisar todos los envíos que se realizan. Por lo tanto debes tener en cuenta que todos los envíos hechos hacia esta web expresan el punto de vista y opiniones de sus autores y no los de los administradores o webmasters (excepto los añadidos por ellos mismos).<br />
+<br />
+Usted acuerda no añadir ningún material abusivo, obsceno, vulgar, escandaloso, odioso, amenazador, de orientación sexual, o ningún otro que pueda violar cualquier ley aplicable. Usted está de acuerdo con que el webmaster, el administrador y los asesores de { SITE_NAME } tienen el derecho de quitar o de corregir cualquier contenido en cualquier momento si lo consideran necesario. Como usuario, accede a que cualquier información añadida será almacenada en una base de datos. Así mismo, esta información no será divulgada a terceros sin su consentimiento. El webmaster y el administrador no se pueden hacer responsables de ningún intento de destrucción de la base de datos que pueda conducir a la pérdida de la misma.<br />
+<br />
+Este sitio utiliza cookies para almacenar la información en su ordenador. Estas cookies sirven para mejorar la navegación en este sitio. La dirección de email se utiliza solamente para confirmar sus detalles y contraseña del registro.<br />
+<br />
+Pulsando 'estoy de acuerdo' expresas tu conformidad con estas condiciones.
+EOT;
+
+$lang_register_php = array(
+	'page_title' => 'Registro de nuevo usuario',
+	'term_cond' => 'Términos y condiciones',
+	'i_agree' => 'Estoy de acuerdo',
+	'submit' => 'Enviar solicitud de registro',
+	'err_user_exists' => 'El nombre de usuario elegido ya existe, por favor elige otro diferente',
+	'err_password_mismatch' => 'Las dos contraseñas no son iguales, por favor vuelve a introducirlas',
+	'err_uname_short' => 'El nombre de usuario debe ser de 2 caracteres de longitud como mínimo',
+	'err_password_short' => 'La contraseña debe ser de 2 caracteres de longitud como mínimo',
+	'err_uname_pass_diff' => 'El nombre de usuario y la contraseña deben ser diferentes',
+	'err_invalid_email' => 'La dirección de email no es válida',
+	'err_duplicate_email' => 'Otro usuario se ha registrado anteriormente con la dirección de email suministrada',
+	'enter_info' => 'Introduce la información de registro',
+	'required_info' => 'Información requerida',
+	'optional_info' => 'Información opcional',
+	'username' => 'Nombre de usuario',
+	'password' => 'Contraseña',
+	'password_again' => 'Reescribir contraseña',
+	'email' => 'Email',
+	'location' => 'Localidad',
+	'interests' => 'Intereses',
+	'website' => 'Página web',
+	'occupation' => 'Ocupación',
+	'error' => 'ERROR',
+	'confirm_email_subject' => '%s - Confirmación de registro',
+	'information' => 'Información',
+	'failed_sending_email' => '¡El email de confirmación de registro no ha podido ser enviado!',
+	'thank_you' => 'Gracias por registrarte.<br /><br />Hemos enviado un email con información sobre la activación de tu cuenta a la dirección de email que nos has facilitado.',
+	'acct_created' => 'Tu cuenta de usuario ha sido creada y ahora puedes acceder al sistema con tu nombre de usuario y contraseña',
+	'acct_active' => 'Tu cuenta de usuario está ya activa y ahora puedes acceder al sistema con tu nombre de usuario y contraseña',
+	'acct_already_act' => '¡Tu cuenta ya estaba activa!',
+	'acct_act_failed' => '¡Esta cuenta no puede ser activada!',
+	'err_unk_user' => '¡El usuario seleccionado no existe!',
+	'x_s_profile' => 'Perfil de %s',
+	'group' => 'Grupo',
+	'reg_date' => 'Fecha de alta',
+	'disk_usage' => 'Uso de disco',
+	'change_pass' => 'Cambiar contraseña',
+	'current_pass' => 'Contraseña actual',
+	'new_pass' => 'Nueva contraseña',
+	'new_pass_again' => 'Reescribir nueva contraseña',
+	'err_curr_pass' => 'La contraseña actual es incorrecta',
+	'apply_modif' => 'Guardar los cambios',
+	'change_pass' => 'Cambiar mi contraseña',
+	'update_success' => 'Tu perfil ha sido actualizado',
+	'pass_chg_success' => 'Tu contraseña ha sido cambiada',
+	'pass_chg_error' => 'Tu contraseña no ha sido cambiada',
+	'notify_admin_email_subject' => '%s - Notificación de registro', //cpg1.3.0
+  	'last_uploads' => 'Ultimo archivo subido.<br />Click para ver todos los archivos subidos por', //cpg1.4
+  	'last_comments' => 'Ultimo comentario.<br />Click para ver todos los comentarios hechos por', //cpg1.4
+	'notify_admin_email_body' => 'Un nuevo usuario se ha registrado en tu galería con el nombre "%s"', //cpg1.3.0
+  	'pic_count' => 'Archivos subidos', //cpg1.4
+  	'notify_admin_request_email_subject' => '%s - Petición de registro', //cpg1.4
+  	'thank_you_admin_activation' => 'Gracias.<br /><br />Su pedido para la activación de su cuenta ha sido enviado al administrador. Usted recibirá un email si es aprobado.', //cpg1.4
+  	'acct_active_admin_activation' => 'La cuenta esta ahora activa y un email ha sido enviado al usuario.', //cpg1.4
+  	'notify_user_email_subject' => '%s - Notificación de activación', //cpg1.4
+);
+
+$lang_register_confirm_email = <<<EOT
+Gracias por registrarte en {SITE_NAME}, Tu nombre de usuario es: "{USER_NAME}", Tu contraseña es: "{PASSWORD}"
+
+Para terminar de activar tu cuenta, debes pulsar sobre el enlace que aparece debajo o copiarlo y pegarlo en tu navegador de InterNet.
+
+<a href="{ACT_LINK}">{ACT_LINK}</a>
+
+Saludos.
+
+Los administradores de {SITE_NAME}
+
+EOT;
+
+$lang_register_approve_email = <<<EOT
+Un nuevo usuario con el nombre "{USER_NAME}" se ha registrado en tu galería.
+
+Para terminar de activar tu cuenta, debes pulsar sobre el enlace que aparece debajo o copiarlo y pegarlo en tu navegador de InterNet.
+
+<a href="{ACT_LINK}">{ACT_LINK}</a>
+
+EOT;
+
+$lang_register_activated_email = <<<EOT
+Tu cuenta ha sido aprobada y activada.
+
+Ahora puedes iniciar sesión en <a href="{SITE_LINK}">{SITE_LINK}</a> usando el nombre e usuario: "{USER_NAME}"
+
+
+Saludos.
+
+Los administradores de {SITE_NAME}
+
+EOT;
+}
+
+// ------------------------------------------------------------------------- //
+// File reviewcom.php
+// ------------------------------------------------------------------------- //
+
+if (defined('REVIEWCOM_PHP')) $lang_reviewcom_php = array(
+	'title' => 'Revisar comentarios',
+	'no_comment' => 'No existen comentarios que mostrar',
+	'n_comm_del' => '%s comentario(s) borrado(s)',
+	'n_comm_disp' => 'Número de comentarios a mostrar',
+	'see_prev' => 'Ver el anterior',
+	'see_next' => 'Ver el siguiente',
+	'del_comm' => 'Borrar comentarios seleccionados',
+  	'user_name' => 'Nombre', //cpg1.4
+  	'date' => 'Fecha', //cpg1.4
+  	'comment' => 'Comentario', //cpg1.4
+  	'file' => 'Fichero', //cpg1.4
+  	'name_a' => 'Nombre de Usuario ascendente', //cpg1.4
+  	'name_d' => 'Nombre de Usuario descendente', //cpg1.4
+  	'date_a' => 'Fecha Ascendente', //cpg1.4
+  	'date_d' => 'Fecha Descendente', //cpg1.4
+  	'comment_a' => 'Comentario Ascendente', //cpg1.4
+  	'comment_d' => 'Comentario Descendente', //cpg1.4
+  	'file_a' => 'Ficheros Ascendente', //cpg1.4
+  	'file_d' => 'Ficheros Descendente', //cpg1.4
+);
+
+
+// ------------------------------------------------------------------------- //
+// File search.php - OK
+// ------------------------------------------------------------------------- //
+
+
+if (defined('SEARCH_PHP')) {
+
+$lang_search_php = array(
+  	'title' => 'Buscar en toda la galería', //cpg1.4
+  	'submit_search' => 'buscar', //cpg1.4
+  	'keyword_list_title' => 'Listado de palabras claves', //cpg1.4
+  	'keyword_msg' => 'La lista superior no es inclusiva. No incluye las palabras de los títulos de las fotos o de sus descripciones. Intente una búsqueda de texto completo.',  //cpg1.4
+  	'edit_keywords' => 'Editar palabras claves', //cpg1.4
+  	'search in' => 'Buscar en:', //cpg1.4
+  	'ip_address' => 'Dirección IP', //cpg1.4
+  	'fields' => 'Buscar en', //cpg1.4
+  	'age' => 'Edad', //cpg1.4
+  	'newer_than' => 'Mas nuevo que', //cpg1.4
+  	'older_than' => 'Mas antiguo que', //cpg1.4
+  	'days' => 'días', //cpg1.4
+  	'all_words' => 'Coinciden todas las palabras (AND)', //cpg1.4
+  	'any_words' => 'Coincide cualquier palabra (OR)', //cpg1.4
+);
+
+$lang_adv_opts = array(
+  	'title' => 'Titulo', //cpg1.4
+  	'caption' => 'Subtitulo', //cpg1.4
+  	'keywords' => 'Palabras claves', //cpg1.4
+  	'owner_name' => 'Nombre del Propietario', //cpg1.4
+  	'filename' => 'Nombre de Archivo', //cpg1.4
+);
+
+}
+
+// ------------------------------------------------------------------------- //
+// File searchnew.php
+// ------------------------------------------------------------------------- //
+
+if (defined('SEARCHNEW_PHP')) $lang_search_new_php = array(
+	'page_title' => 'Buscar nuevos ficheros',
+	'select_dir' => 'Selecciona directorio',
+	'select_dir_msg' => 'Esta función te permite añadir de forma automática los ficheros que hayas subido a tu servidor mediante FTP.<br /><br />Selecciona el directorio donde has subido tus ficheros',
+	'no_pic_to_add' => 'No hay ningún fichero para añadir',
+	'need_one_album' => 'Necesitas al menos un album para utilizar esta función',
+	'warning' => 'Atención',
+	'change_perm' => '¡El script no puede escribir en este directorio, necesitas cambiar sus permisos a modo 755 o 777 antes de intentarlo de nuevo!',
+	'target_album' => '<b>Colocar los ficheros del directorio &quot;</b>%s<b>&quot; en el album </b>%s',
+	'fólder' => 'Carpeta',
+	'image' => 'Imagen',
+	'album' => 'Album',
+	'result' => 'Resultado',
+	'dir_ro' => 'No se puede escribir. ',
+	'dir_cant_read' => 'No se puede leer. ',
+	'insert' => 'Añadiendo nuevos ficheros a la galería',
+	'list_new_pic' => 'Listado de nuevos ficheros',
+	'insert_selected' => 'Añadir los ficheros seleccionados',
+	'no_pic_found' => 'No se encontró ningún fichero nuevo',
+	'be_patient' => 'Por favor, se paciente, el script necesita tiempo para añadir los ficheros',
+	'no_album' => 'ningún album seleccionado',  //cpg1.3.0
+  	'result_icon' => 'Haga click para los detalles o para recargar',  //cpg1.4
+	'notes' =>  '<ul>'.
+				'<li><b>OK</b> : significa que el fichero fue añadido sin problemas'.
+				'<li><b>DP</b> : significa que el fichero es un duplicado y ya existe en la base de datos'.
+				'<li><b>PB</b> : significa que el fichero no puede ser añadido, por favor comprueba la configuración y los permisos de los directorios donde están los ficheros'.
+				'<li><b>NA</b> : significa que no has seleccionado un album en el que insertar los ficheros, pulsa \'<a href="javascript:history.back(1)">atrás</a>\' y selecciona un album. Si no dispones de album <a href="albmgr.php">crea uno primero</a></li>'.
+				'<li>Si los iconos OK, DP, PB no aparecen, pulsa sobre el icono de imagen no cargada para ver el error producido por PHP'.
+				'<li>Si el navegador produce un timeout, pulsa el icono de Actualizar'.
+				'</ul>',
+	'select_album' => 'selecciona un album', //cpg1.3.0
+	'check_all' => 'Marcar todos', //cpg1.3.0
+	'uncheck_all' => 'Desmarcar todos', //cpg1.3.0
+  	'no_folders' => 'No hay fólderes dentro del fólder "albums" aun. asegúrese de crear al menos un fólder personal dentro del fólder "albums" y suba por ftp sus archivos ahí. No deberá subir los fólder "imágenes de usuarios (userpics)" o "editar(edit)", estas están reservadas para los archivos subidos por HTTP y para trabajo interno del programa.', //cpg1.4
+  	'albums_no_category' => 'Álbumes sin categoría', //cpg1.4 // album pulldown mod, added by frogfoot
+  	'personal_albums' => '*  Álbumes personales', //cpg1.4 // album pulldown mod, added by frogfoot
+  	'browse_batch_add' => 'Interfase Navegable (recomendado)', //cpg1.4
+  	'edit_pics' => 'Editar ficheros', //cpg1.4
+  	'edit_properties' => 'Propiedades del Album', //cpg1.4
+  	'view_thumbs' => 'Vista en miniatura', //cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File stat_details.php //cpg1.4
+// ------------------------------------------------------------------------- //
+
+if (defined('STAT_DETAILS_PHP')) $lang_stat_details_php = array(
+  	'show_hide' => 'mostrar/ocultar esta columna', //cpg1.4
+  	'vote' => 'Detalles de Votos', //cpg1.4
+  	'hits' => 'Detalles de veces que se vio la imagen', //cpg1.4
+  	'stats' => 'Estadísticas de Votos', //cpg1.4
+  	'sdate' => 'Fecha', //cpg1.4
+  	'rating' => 'Calificación', //cpg1.4
+  	'search_phrase' => 'Buscar frase', //cpg1.4
+  	'referer' => 'Referido', //cpg1.4
+  	'browser' => 'Navegador', //cpg1.4
+  	'os' => 'Sistema Operativo', //cpg1.4
+  	'ip' => 'IP', //cpg1.4
+  	'sort_by_xxx' => 'Ordenar por %s', //cpg1.4
+  	'ascending' => 'ascendente', //cpg1.4
+  	'descending' => 'descendente', //cpg1.4
+  	'internal' => 'interno', //cpg1.4
+  	'close' => 'cerrar', //cpg1.4
+  	'hide_internal_referers' => 'ocultar referencias internas', //cpg1.4
+  	'date_display' => 'Mostrar fecha', //cpg1.4
+  	'submit' => 'enviar / refrescar', //cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File thumbnails.php
+// ------------------------------------------------------------------------- //
+
+// Void
+
+// ------------------------------------------------------------------------- //
+// File upload.php
+// ------------------------------------------------------------------------- //
+
+if (defined('UPLOAD_PHP')) $lang_upload_php = array(
+	'title' => 'Añadir nuevo fichero',
+	'custom_title' => 'Formulario de Petición personalizado', //cpg1.3.0
+	'cust_instr_1' => 'Debe seleccionar un numero personalizado de cajas para subir archivos. Sin embargo, no debe seleccionar mas que los limites listados debajo.', //cpg1.3.0
+	'cust_instr_2' => 'Numero de cajas de petición', //cpg1.3.0
+	'cust_instr_3' => 'Numero de cajas para subir archivos: %s', //cpg1.3.0
+	'cust_instr_4' => 'Cajas para subir URI/URL: %s', //cpg1.3.0
+	'cust_instr_5' => 'Cajas para subir URI/URL:', //cpg1.3.0
+	'cust_instr_6' => 'Cajas para subir archivos:', //cpg1.3.0
+	'cust_instr_7' => 'Por favor ingrese en numero de cada tipo de cajas para subir archivos que usted desea en este momento. Luego presione \'Continuar\'. ', //cpg1.3.0
+	'reg_instr_1' => 'Acción invalida para la creación de formularios.', //cpg1.3.0
+	'reg_instr_2' => 'Ahora debe subir sus archivos usando las cajas que se encuentran debajo. El tamaño de los archivos subidos desde su cliente al servidor no debe exceder los %s KB cada uno. Archivos ZIP subidos en las secciones \'Subir Archivos\' y \'Subir URI/URL\' se mantendran comprimidos.', //cpg1.3.0
+	'reg_instr_3' => 'Si desea que el archivo comprimido sea descomprimido, debe usar la caja de subir archivos que se provee en el área \'Subir archivos ZIP y descomprimirlos\' área.', //cpg1.3.0
+	'reg_instr_4' => 'CUando use la sección de subir URI/URL, porfavor ingrese la ruta del archivo de la siguiente manera: http://www.mysite.com/images/example.jpg', //cpg1.3.0
+	'reg_instr_5' => 'CUando haya terminado con el formulario, presione \'Continuar\'.', //cpg1.3.0
+	'reg_instr_6' => 'Subir archivos ZIP y descomprimirlos:', //cpg1.3.0
+	'reg_instr_7' => 'Subir archivos:', //cpg1.3.0
+	'reg_instr_8' => 'Subir URI/URL:', //cpg1.3.0
+	'error_report' => 'Reporte de errores', //cpg1.3.0
+	'error_instr' => 'Los siguientes archivos se encontraron con errores:', //cpg1.3.0
+	'file_name_url' => 'Nombre/URL del archivo', //cpg1.3.0
+	'error_message' => 'Mensaje de Error', //cpg1.3.0
+	'no_post' => 'Archivo no subido por POST.', //cpg1.3.0
+	'forb_ext' => 'Extensión de archivo prohibida.', //cpg1.3.0
+	'exc_php_ini' => 'Se excedió del tamaño de archivo permitido por el php.ini.', //cpg1.3.0
+	'exc_file_size' => 'Se excedió del tamaño de archivo permitido por el  CPG.', //cpg1.3.0
+	'partial_upload' => 'Solo una subida parcial.', //cpg1.3.0
+	'no_upload' => 'No se pudo subir.', //cpg1.3.0
+	'unknown_code' => 'código de error del PHP desconocido.', //cpg1.3.0
+	'no_temp_name' => 'No se subió - No hay nombre del temporal.', //cpg1.3.0
+	'no_file_size' => 'No contiene información/Corrupta', //cpg1.3.0
+	'impossible' => 'Imposible mover.', //cpg1.3.0
+	'not_image' => 'No es una imagen/corrupto', //cpg1.3.0
+	'not_GD' => 'No es una extensión GD.', //cpg1.3.0
+	'pixel_allowance' => 'Se excedió los píxeles permitidos.', //cpg1.3.0
+	'incorrect_prefix' => 'Prefijo URI/URL incorrecto', //cpg1.3.0
+	'could_not_open_URI' => 'No se pudo abrir URI.', //cpg1.3.0
+	'unsafe_URI' => 'No se puede verificar la seguridad.', //cpg1.3.0
+	'meta_data_failure' => 'Falla de la meta-data', //cpg1.3.0
+	'http_401' => '401 No autorizado', //cpg1.3.0
+	'http_402' => '402 Pago requerido', //cpg1.3.0
+	'http_403' => '403 Prohibido', //cpg1.3.0
+	'http_404' => '404 No encontrado', //cpg1.3.0
+	'http_500' => '500 Error interno de servidor', //cpg1.3.0
+	'http_503' => '503 Servicio no disponible', //cpg1.3.0
+	'MIME_extraction_failure' => 'No se pudo determinar el MIME.', //cpg1.3.0
+	'MIME_type_unknown' => 'Desconocido tipo MIME', //cpg1.3.0
+	'cant_create_write' => 'No se puede crear el archivo a escribir.', //cpg1.3.0
+	'not_writable' => 'No tiene permiso de escritura para grabar el archivo.', //cpg1.3.0
+	'cant_read_URI' => 'No se puede leer la URI/URL del archivo', //cpg1.3.0
+	'cant_open_write_file' => 'No se puede abrir la URI para escribir el archivo.', //cpg1.3.0
+	'cant_write_write_file' => 'No se pude escribir en la URI del archivo.', //cpg1.3.0
+	'cant_unzip' => 'No se puede descomprimir.', //cpg1.3.0
+	'unknown' => 'Error desconocido', //cpg1.3.0
+	'succ' => 'Se subió el archivo exitosamente', //cpg1.3.0
+	'success' => '%s de archivos subidos exitosamente.', //cpg1.3.0
+	'add' => 'Por favor presione \'Continuar\' para añadir los archivos al album.', //cpg1.3.0
+	'failure' => 'Falla en la subida de archivos', //cpg1.3.0
+	'f_info' => 'información del archivo', //cpg1.3.0
+	'no_place' => 'El archivo anterior no pudo ser colocado.', //cpg1.3.0
+	'yes_place' => 'El archivo anterior fue colocado exitosamente.', //cpg1.3.0
+	'max_fsize' => 'El tamaño máximo de fichero admitido es de %s KB',
+	'album' => 'Álbum',
+	'picture' => 'Fichero',
+	'pic_title' => 'Título del fichero',
+	'description' => 'Descripción del fichero',
+	'keywords' => 'Palabras clave (separadas por espacios)',
+  	'keywords_sel' =>'Seleccione una palabra clave', //cpg1.4
+	'err_no_alb_uploadables' => 'Perdona pero no hay ningún album donde esté permitido insertar nuevos ficheros',
+	'place_instr_1' => 'Por favor coloque los archivos en los albums en este momento. Igualmente ingrese información relevante de cada archivo ahora.', //cpg1.3.0
+	'place_instr_2' => 'Mas archivos necesitan ser colocados. Por favor presione \'Continuar\'.', //cpg1.3.0
+	'process_complete' => 'Ha colocado todos los archivos exitosamente.', //cpg1.3.0
+  	'albums_no_category' => 'Albums sin categoría', //cpg1.4. //album pulldown mod, added by frogfoot
+  	'personal_albums' => '* Albums personales', //cpg1.4 //album pulldown mod, added by frogfoot
+  	'select_album' => 'Seleccionar album', //cpg1.4 //album pulldown mod, added by frogfoot
+  	'close' => 'Cerrar', //cpg1.4
+  	'no_keywords' => '¡Lo sentimos, palabra clave no disponible!', //cpg1.4
+  	'regenerate_dictionary' => 'Regenerar Diccionario', //cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File usermgr.php
+// ------------------------------------------------------------------------- //
+
+if (defined('USERMGR_PHP')) $lang_usermgr_php = array(
+  	'memberlist' => 'Lista de miembros', //cpg1.4
+  	'user_manager' => 'Administrador de usuarios', //cpg1.4
+	'title' => 'Administrar usuarios',
+	'name_a' => 'Ascendente por nombre',
+	'name_d' => 'Descendente por nombre',
+	'group_a' => 'Ascendente por grupo',
+	'group_d' => 'Descendente por grupo',
+	'reg_a' => 'Ascendente por fecha de alta',
+	'reg_d' => 'Descendente por fecha de alta',
+	'pic_a' => 'Ascendente por total de fotos',
+	'pic_d' => 'Descendente por total de fotos',
+	'disku_a' => 'Ascendente por uso de disco',
+	'disku_d' => 'Descendente por uso de disco',
+	'lv_a' => 'Ascendente por última visita', //cpg1.3.0
+	'lv_d' => 'Descendente por última visita', //cpg1.3.0
+	'sort_by' => 'Ordenar usuarios por',
+	'err_no_users' => '¡La tabla de usuarios está vacía!',
+	'err_edit_self' => 'No puedes editar tu propio perfil, usa la opción \'Mi perfil de usuario\' para eso',
+	'edit' => 'EDITAR',
+  	'with_selected' => 'Seleccionado:', //cpg1.4
+	'delete' => 'BORRAR',
+  	'delete_files_no' => 'mantener archivos públicos (pero serán pasados a anónimos)', //cpg1.4
+  	'delete_files_yes' => 'también borrar archivos públicos', //cpg1.4
+  	'delete_comments_no' => 'mantener comentarios (pero serán pasados a anónimos)', //cpg1.4
+  	'delete_comments_yes' => 'también borrar comentarios', //cpg1.4
+  	'activate' => 'Activar', //cpg1.4
+  	'deactivate' => 'Desactivar', //cpg1.4
+  	'reset_password' => 'Volver a la contraseña predeterminada', //cpg1.4
+  	'change_primary_membergroup' => 'Cambiar membresía de grupo primario', //cpg1.4
+  	'add_secondary_membergroup' => 'Añadir membresía de grupo secundario', //cpg1.4
+	'name' => 'Nombre de usuario',
+	'group' => 'Grupo',
+	'inactive' => 'Inactivo',
+	'operations' => 'Operaciones',
+	'pictures' => 'Ficheros',
+	'disk_space' => 'Espacio usado',
+	'disk_space_quota' => 'Espacio de Cuota', //cpg1.4
+	'registered_on' => 'Registrado el día',
+	'last_visit' => 'última Visita', //cpg1.3.0
+	'u_user_on_p_pages' => '%d usuarios en %d página(s)',
+	'confirm_del' => '¿Estás seguro de querer BORRAR este usuario? \\nTodas sus fotos y albums serán también borrados.',
+	'mail' => 'MAIL',
+	'err_unknown_user' => '¡El usuario seleccionado no existe!',
+	'modify_user' => 'Modificar usuario',
+	'notes' => 'Notas',
+	'note_list' => '<li>Si no quieres cambiar la contraseña actual, deja el campo "contraseña" vacío',
+	'password' => 'Contraseña',
+	'user_active' => 'El usuario está activo',
+	'user_group' => 'Grupo de usuarios',
+	'user_email' => 'Email del usuario',
+	'user_web_site' => 'Página web del usuario',
+	'create_new_user' => 'Crear nuevo usuario',
+	'user_location' => 'Localidad del usuario',
+	'user_interests' => 'Intereses del usuario',
+	'user_occupation' => 'Ocupación del usuario',
+  	'user_profile1' => '$user_profile1', //cpg1.4
+  	'user_profile2' => '$user_profile2', //cpg1.4
+  	'user_profile3' => '$user_profile3', //cpg1.4
+  	'user_profile4' => '$user_profile4', //cpg1.4
+  	'user_profile5' => '$user_profile5', //cpg1.4
+  	'user_profile6' => '$user_profile6', //cpg1.4
+	'latest_upload' => 'últimos uploads', //cpg1.3.0
+	'never' => 'nunca', //cpg1.3.0
+  	'search' => 'búsqueda del usuario', //cpg1.4
+  	'submit' => 'Enviar', //cpg1.4
+  	'search_submit' => 'Ir!', //cpg1.4
+  	'search_result' => 'Resultados de la búsqueda para: ', //cpg1.4
+  	'alert_no_selection' => '¡Tiene que seleccionar al menos un usuario primero!', //cpg1.4 //js-alert
+  	'password' => 'contraseña', //cpg1.4
+  	'select_group' => 'Seleccione grupo', //cpg1.4
+  	'groups_alb_access' => 'Permisos de albums por grupo', //cpg1.4
+  	'album' => 'Album', //cpg1.4
+  	'category' => 'categoría', //cpg1.4
+  	'modify' => '¿Modificar?', //cpg1.4
+  	'group_no_access' => 'Este grupo no tiene acceso especial', //cpg1.4
+  	'notice' => 'Nota', //cpg1.4
+  	'group_can_access' => 'Album(s) que solo "%s" puede acceder', //cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File util.php
+// ------------------------------------------------------------------------- //
+
+if (defined('UTIL_PHP')) {
+$lang_util_desc_php = array(
+	'Actualizar títulos desde nombre de archivo', //cpg1.4
+	'Borrar títulos', //cpg1.4
+	'Reconstruir vistas en miniatura e imágenes reescaladas', //cpg1.4
+	'Borrar fotos de tamaño original remplazándolas con la versión reescalada', //cpg1.4
+	'Borrar fotos originales o intermedias para liberar espacio', //cpg1.4
+	'Borrar comentarios huérfanos', //cpg1.4
+	'Releer tamaño de archivos y dimensiones (si las ha editado manualmente)', //cpg1.4
+	'Volver a cero los contadores de las mas vistas', //cpg1.4
+	'Mostrar phpinfo', //cpg1.4
+	'Actualizar la base de datos', //cpg1.4
+	'Mostrar archivos de Registro de sucesos', //cpg1.4
+);
+$lang_util_php = array(
+	'title' => 'Cambiar tamaño a las imágenes',
+	'what_it_does' => 'Qué hace',
+	'file' => 'Fichero',
+  	'problem' => 'Problema', //cpg1.4
+  	'status' => 'Estatus', //cpg1.4
+	'title_set_to' => 'título a poner',
+	'submit_form' => 'enviar',
+	'updated_succesfully' => 'actualizado con éxito',
+	'error_create' => 'ERROR al crear',
+	'continue' => 'Procesar más imágenes',
+	'main_success' => 'El fichero %s ha sido usado como imagen principal con éxito',
+	'error_rename' => 'Error renombrando %s a %s',
+	'error_not_found' => 'No se encuentra el fichero %s',
+	'back' => 'volver al inicio',
+	'thumbs_wait' => 'Actualizando miniaturas y/o tamaños de imágenes, por favor espere...',
+	'thumbs_continue_wait' => 'Continuando la actualización de miniaturas y/o tamaños de imágenes...',
+	'titles_wait' => 'Actualizando títulos, por favor espere...',
+	'delete_wait' => 'Borrando títulos, por favor espere...',
+	'replace_wait' => 'Borrando originales y reemplazándolos con las imágenes de nuevo tamaño, por favor espere...',
+	'instruction' => 'Instrucciones rápidas',
+	'instruction_action' => 'Seleccionar acción',
+	'instruction_parameter' => 'Elegir los parámetros',
+	'instruction_album' => 'Seleccionar el album',
+	'instruction_press' => 'Pulsar %s',
+	'update' => 'Actualizar miniaturas y/o tamaños de imágenes',
+	'update_what' => 'Qué debe ser actualizado',
+	'update_thumb' => 'Solo Miniaturas',
+	'update_pic' => 'Solo tamaños de imágenes',
+	'update_both' => 'Thumbnails y tamaños de imágenes (ambos)',
+	'update_number' => 'Número de imágenes procesadas por cada click',
+	'update_option' => '(Prueba a poner un número menor si experimentas problemas de timeout)',
+	'filename_title' => 'Fichero &rArr; Título del fichero',
+	'filename_how' => 'Cómo debe ser el fichero modificado',
+	'filename_remove' => 'Quitar .jpg del final y reemplazar _ (underscore) con espacios',
+	'filename_euro' => 'Cambiar 2003_11_23_13_20_20.jpg a 23/11/2003 13:20',
+	'filename_us' => 'Cambiar 2003_11_23_13_20_20.jpg a 11/23/2003 13:20',
+	'filename_time' => 'Cambiar 2003_11_23_13_20_20.jpg a 13:20',
+	'delete' => 'Borrar títulos de ficheros o imágenes de tamaño original',
+	'delete_title' => 'Borrar títulos de ficheros',
+  	'delete_title_explanation' => 'Esto removerá todos los títulos de los archivos en el album especificado.', //cpg1.4
+	'delete_original' => 'Borrar imágenes de tamaño original',
+  	'delete_original_explanation' => 'Esto removerá las imágenes de tamaño original.', //cpg1.4
+  	'delete_intermediate' => 'Borrar imágenes intermedias', //cpg1.4
+  	'delete_intermediate_explanation' => 'Esto borrara las imágenes de tamaño intermedio (normal).<br />Utilícelo para liberar espacio si ha deshabilitado \'Hacer imágenes intermedias\' en la configuración luego de añadir imágenes.', //cpg1.4
+	'delete_replace' => 'Borra las imágenes originales, reemplazándolas con otras de tamaño nuevo',
+  	'titles_deleted' => 'Todos los títulos en el album especificado han sido removidos', //cpg1.4
+  	'deleting_intermediates' => 'Borrando imágenes intermedias, porfavor espere...', //cpg1.4
+  	'searching_orphans' => 'Buscando huérfanos, porfavor espere...', //cpg1.4
+	'select_album' => 'Selecciona album',
+	'delete_orphans' => 'Borrar comentarios huérfanos (funciona en todos los albums)', //cpg1.3.0
+  	'delete_orphans_explanation' => 'Esto identificara y permitirá borrar cualquier comentario asociado a archivos que ya no se encuentran en la galería.<br />Verificar todos los albums.', //cpg1.4
+  	'refresh_db' => 'Recargar la información sobre dimensiones y tamaño', //cpg1.4
+  	'refresh_db_explanation' => 'Esto volverá a leer los tamaños de archivos y las dimensiones. Utilice si las cuotas son incorrectas o ha cambiado los archivos manualmente.', //cpg1.4
+  	'reset_views' => 'Volver a cero los contadores de mas vistas', //cpg1.4
+  	'reset_views_explanation' => 'Pone en cero los contadores de visitas para el album especificado.', //cpg1.4
+	'orphan_comment' => 'comentarios huérfanos encontrados', //cpg1.3.0
+	'delete' => 'Borrar', //cpg1.3.0
+	'delete_all' => 'Borrar todos', //cpg1.3.0
+  	'delete_all_orphans' => '¿Borrar huérfanos?', //cpg1.4
+	'comment' => 'Comentario: ', //cpg1.3.0
+	'nonexist' => 'asociado a un fichero no existente # ', //cpg1.3.0
+	'phpinfo' => 'Mostrar phpinfo', //cpg1.3.0
+  	'phpinfo_explanation' => 'Contiene información técnica sobre su servidor.<br /> - Puede ser que sea requerido que de información de aquí cuando se hace un pedido de soporte técnico.', //cpg1.4
+	'update_db' => 'Actualizar base de datos', //cpg1.3.0
+	'update_db_explanation' => 'Si has reemplazado los ficheros de coppermine, añadido modificaciones o actualizado de una versión previa de coppermine, deberías ejecutar la actualización de base de datos. Esta acción creará las tablas necesarias y/o valores de configuración en la base de datos de  coppermine.', //cpg1.3.0
+  	'view_log' => 'Ver registro de sucesos', //cpg1.4
+  	'view_log_explanation' => 'Coppermine puede seguir varias de las acciones que un usuario realiza. Puede revisar estos registros si ha activado Registrar sucesos en <a href="admin.php">configuración de Coppermine</a>.', //cpg1.4
+  	'versioncheck' => 'Verificar versión', //cpg1.4
+  	'versioncheck_explanation' => 'Revisa el archivo de versión para verificar si ha remplazado todos los archivos luego de hacer la actualización, o si los archivos fuente de coppermine han sido actualizados luego de la aparición de un paquete.', //cpg1.4
+  	'bridgemanager' => 'Administrador de Enlaces', //cpg1.4
+  	'bridgemanager_explanation' => 'Activa/Desactiva la integración (enlace) de Coppermine con otra aplicación (ej. su BBS).', //cpg1.4
+);
+}
+
+// ------------------------------------------------------------------------- //
+// File versioncheck.php //cpg1.4
+// ------------------------------------------------------------------------- //
+
+if (defined('VERSIONCHECK_PHP')) $lang_versioncheck_php = array(
+  	'title' => 'Revisión de Versión', //cpg1.4
+  	'what_it_does' => 'Esta pagina esta diseñada para usuarios que han actualizado su instalación de Coppermine. Este script va recorriendo los archivos en tu servidor web y trata de determinar si las versiones locales de tus archivos y las versiones en el servidor web http://coppermine.sourceforge.net son iguales, de esta manera se muestran los archivos que deberías actualizar.<br />Muestra todo lo que es necesario actualizar en rojo. Las entradas en amarillo necesitan ser revisadas. Las entradas en verde (o tu color de fuente predeterminado) están OK.<br />Has click en los iconos de ayuda para saber más.', //cpg1.4
+  	'online_repository_unable' => 'No es posible comunicarse con el repositorio en línea', //cpg1.4
+  	'online_repository_noconnect' => 'Coppermine no se puede conectar al  repositorio en línea. Puede ser por dos razones:', //cpg1.4
+  	'online_repository_reason1' => 'el repositorio de coppermine en línea se encuentra abajo - revise si puede navegar en esta pagina: %s - si no puede acceder a esta pagina, inténtelo de nuevo mas tarde.', //cpg1.4
+  	'online_repository_reason2' => 'El PHP de su servidor esta configurado con %s deshabilitado (predeterminado es habilitado). Si el servidor es suyo para administrar, active esta opción en el <i>php.ini</i> (al menos permita que sea sobreescribible con %s). Si tienes tus archivos en un host de Internet, probablemente no le sea posible comparar sus archivos con el repositorio en línea. Esta pagina solo muestra los archivos de su distribución - las actualizaciones no se mostraran.', //cpg1.4
+  	'online_repository_skipped' => 'Se salteo la conexión al repositorio en línea', //cpg1.4
+	'online_repository_to_local' => 'Este script esta predeterminado a la versión local de sus archivos. La información puede no ser precisa si ha actualizado Coppermine y no ha subido sus archivos. Cambios a sus archivos luego de esta liberación de versión no serán tomados en consideración.', //cpg1.4
+  	'local_repository_unable' => 'No es posible conectarse al repositorio en su servidor', //cpg1.4
+  	'local_repository_explanation' => 'Coppermine no se pudo conectar al repositorio de archivos %s en su servidor. Esto posiblemente signifique que no ha subido el repositorio de archivos a su servidor. Hágalo ahora y de ahí intente correr esta pagina nuevamente (presione refresh).<br />Si el script falla, su servidor web puede haber deshabilitado partes de <a href="http://www.php.net/manual/es/ref.filesystem.php">Funciones del sistema de archivos de PHP</a> completamente. En ese caso, no pude utilizar esta herramienta del todo, lo sentimos.', //cpg1.4
+  	'coppermine_version_header' => 'versión de Coppermine instalada', //cpg1.4
+  	'coppermine_version_info' => 'Actualmente tiene instalada la versión: %s', //cpg1.4
+  	'coppermine_version_explanation' => 'Si cree que esto esta equivocado y supone que debería estar corriendo una versión superior de Coppermine, posiblemente no ha subido la versión mas reciente del archivo<i>include/init.inc.php</i>', //cpg1.4
+  	'version_comparison' => 'Comparación de versiones', //cpg1.4
+  	'folder_file' => 'fólder/Archivo', //cpg1.4
+  	'coppermine_version' => 'versión de cpg', //cpg1.4
+  	'file_version' => 'versión de archivo', //cpg1.4
+  	'webcvs' => 'svn de web', //cpg1.4
+  	'writable' => 'escribible', //cpg1.4
+  	'not_writable' => 'no escribible', //cpg1.4
+  	'help' => 'Ayuda', //cpg1.4
+  	'help_file_not_exist_optional1' => 'El Archivo/fólder no existe', //cpg1.4
+  	'help_file_not_exist_optional2' => 'El Archivo/fólder %s no ha sido encontrado en su servidor. A pesar que es opcional puede subirlo a su servidor web (usando su cliente FTP) si esta experimentando problemas.', //cpg1.4
+  	'help_file_not_exist_mandatory1' => 'El Archivo/fólder no existe', //cpg1.4
+  	'help_file_not_exist_mandatory2' => 'El Archivo/fólder %s no ha sido encontrado en su servidor, sin embargo es obligatorio. Suba el archivo a su servidor web (usando su cliente FTP).', //cpg1.4
+  	'help_no_local_version1' => 'No hay versión local del archivo', //cpg1.4
+  	'help_no_local_version2' => 'El script no fue capaz de extraer una versión local del archivo - su archivo es muy antiguo o usted lo ha modificado, removiendo la información de la cabecera en el proceso. Se recomienda actualizar el archivo.', //cpg1.4
+  	'help_local_version_outdated1' => 'Versión local desactualizada', //cpg1.4
+  	'help_local_version_outdated2' => 'La versión de este archivo parece de una versión antigua de Coppermine (probablemente lo ha actualizado). Asegúrese de actualizar este archivo también.', //cpg1.4
+  	'help_local_version_na1' => 'No se pudo extraer la información de la versión de SVN', //cpg1.4
+  	'help_local_version_na2' => 'El script no pudo determinar a que versión de SVN pertenece el archivo en su servidor web. debería subir el archivo de su paquete.', //cpg1.4
+  	'help_local_version_dev1' => 'versión de desarrollo', //cpg1.4
+  	'help_local_version_dev2' => 'El archivo en su servidor web parece mas nuevo que su versión de Coppermine. Se encuentra usando una versión en desarrollo (solo debe hacer eso si esta seguro de lo que hace), o ha actualizado su versión de Coppermine y no ha subido el archivo include/init.inc.php', //cpg1.4
+  	'help_not_writable1' => 'El fólder no es escribible', //cpg1.4
+  	'help_not_writable2' => 'Cambie los permisos (CHMOD) del archivo para darle al script acceso de escritura al fólder %s y todo su contenido.', //cpg1.4
+  	'help_writable1' => 'El fólder es escribible', //cpg1.4
+  	'help_writable2' => 'El fólder %s es escribible. Este es un riesgo innecesario, coppermine solo necesita acceso de lectura/escritura.', //cpg1.4
+  	'help_writable_undetermined' => 'Coppermine no puede determinar si el fólder es escribible.', //cpg1.4
+  	'your_file' => 'su archivo', //cpg1.4
+  	'reference_file' => 'archivo de referencia', //cpg1.4
+  	'summary' => 'Resumen', //cpg1.4
+  	'total' => 'Total de archivos/fólderes revisados', //cpg1.4
+  	'mandatory_files_missing' => 'Faltan archivos obligatorios', //cpg1.4
+  	'optional_files_missing' => 'Faltan archivos opcionales', //cpg1.4
+  	'files_from_older_version' => 'Archivos que quedaron de una versión desactualizada de Coppermine', //cpg1.4
+  	'file_version_outdated' => 'Versiones de archivos desactualizadas', //cpg1.4
+  	'error_no_data' => 'El script hizo buu, no fue posible recopilar información. Lamentamos los inconvenientes.', //cpg1.4
+  	'go_to_webcvs' => 'ir a %s', //cpg1.4
+  	'options' => 'Opciones', //cpg1.4
+  	'show_optional_files' => 'mostrar fólderes/archivos opcionales', //cpg1.4
+  	'show_mandatory_files' => 'mostrar archivos obligatorios ', //cpg1.4
+  	'show_file_versions' => 'mostrar versiones de archivos', //cpg1.4
+  	'show_errors_only' => 'mostrar solo fólderes/archivos con errores', //cpg1.4
+  	'show_permissions' => 'mostrar permisos de fólderes', //cpg1.4
+  	'show_condensed_output' => 'mostrar resultado condensado (para capturas de pantalla mas fáciles)', //cpg1.4
+  	'coppermine_in_webroot' => 'coppermine esta instalado en la raíz del servidor web', //cpg1.4
+  	'connect_online_repository' => 'tratando de conectar al repositorio en línea', //cpg1.4
+  	'show_additional_information' => 'mostrar información adicional', //cpg1.4
+  	'no_webcvs_link' => 'no mostrar el link al SVN', //cpg1.4
+  	'stable_webcvs_link' => 'mostrar el link al SVN web a la rama estable', //cpg1.4
+  	'devel_webcvs_link' => 'mostrar el link al SVN web a la rama de desarrollo', //cpg1.4
+  	'submit' => 'aplicar cambios / refrescar', //cpg1.4
+  	'reset_to_defaults' => 'regresar a los valores predeterminados', //cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File view_log.php  //cpg1.4
+// ------------------------------------------------------------------------- //
+
+if (defined('VIEWLOG_PHP')) $lang_viewlog_php = array(
+  	'delete_all' => 'Borrar todos los registros de sucesos', //cpg1.4
+  	'delete_this' => 'Borrar este registro de suceso', //cpg1.4
+  	'view_logs' => 'Ver registro de sucesos', //cpg1.4
+  	'no_logs' => 'No hay registro de sucesos creados.', //cpg1.4
+);
+
+
+// ------------------------------------------------------------------------- //
+// File xp_publish.php //cpg1.4
+// ------------------------------------------------------------------------- //
+
+if (defined('XP_PUBLISH_PHP')) {
+
+$lang_xp_publish_client = <<<EOT
+<h1>Cliente del Asistente de Publicación Web de XP</h1><p>Este modulo le permite usar el asistente de Publicación Web de <b>Windows XP</b> con Coppermine.</p><p>El código esta basado en un articulo publicado por
+EOT;
+
+$lang_xp_publish_required = <<<EOT
+<h2>Que es requerido</h2><ul><li>Windows XP para poder tener el asistente.</li><li>Una instalación funcional de Coppermine<b>la función de subida funcionando propiamente.</b></li></ul><h2>Como instalar en el lado del cliente</h2><ul><li>Click derecho en 
+EOT;
+
+$lang_xp_publish_select = <<<EOT
+Seleccione &quot;guardar archivo como..&quot;. Grabe el archivo en su disco duro. Cuando salve el archivo , revise que el nombre propuesto es <b>cpg_###.reg</b> (los ### representan una estampa de tiempo numérica (timestamp)). Cámbielo a ese nombre de ser necesario (deje los números). Cuando este descargado, doble click para registrar su servidor con el asistente de publicación Web.</li></ul>
+EOT;
+
+$lang_xp_publish_testing = <<<EOT
+<h2>Probando</h2><ul><li>En el explorador de windows, seleccione algún archivo y de click en <b>Publicar xxx en la web</b> en el panel izquierdo.</li><li>Confirme la selección del archivo. Haga click en <b>Siguiente</b>.</li><li>En el listado de servicios que aparece, seleccione el que pertenece a su galería (tiene el nombre de su galería). Si el servicio no aparece, verifique que tiene instalado <b>cpg_pub_wizard.reg</b> como se describe arriba.</li><li>Ingrese su información de inicio de sesión si es requerido.</li><li>selección el álbum de destino o cree uno nuevo.</li><li>Presione <b>siguiente</b>. La carga de su archivo comienza.</li><li>Cuando termine, verifique su galería para ver si las imágenes han sido correctamente añadidas.</li></ul>
+EOT;
+
+$lang_xp_publish_notes = <<<EOT
+<h2>Notas :</h2><ul><li>Una vez que la carga haya empezado, el asistente no puede mostrar ningún mensaje de error enviando por el script por lo que no puede saber si la carga ha fallado o fue exitosa hasta que revise su galería.</li><li>Si la carga falla, habilite el &quot;Modo de depuración&quot; en la pagina de administración de Coppermine, intente con una sola imagen y vea los mensajes de error en 
+EOT;
+
+$lang_xp_publish_flood = <<<EOT
+archivo que esta ubicado en el directorio de Coppermine en su servidor.</li><li>Para evitar que la galería se <i>sature</i> por imágenes siendo cargadas por el asistente, solo los <b>administrador de la galería</b> y los <b>usuarios que pueden tener sus albums propios</b> pueden usar esta herramienta.</li>
+EOT;
+
+
+
+$lang_xp_publish_php = array(
+  	'title' => 'Coppermine - Asistente de Publicación Web de XP', //cpg1.4
+  	'welcome' => 'Bienvenido <b>%s</b>,', //cpg1.4
+	'need_login' => 'Necesita iniciar sesión en la galería usando su navegador antes de poder usar este asistente.<p/><p>Cuando inicia sesión no se olvide de seleccionar la opción <b>recordarme</b> si esta presente.', //cpg1.4
+  	'no_alb' => 'Lo sentimos pero no hay album alguno en el cual este permitido que cargue sus archivos por medio de este asistente.', //cpg1.4
+  	'upload' => 'Subir sus imágenes a un album existente', //cpg1.4
+  	'create_new' => 'Crear un nuevo album para sus imágenes', //cpg1.4
+  	'album' => 'Album', //cpg1.4
+  	'category' => 'categoría', //cpg1.4
+  	'new_alb_created' => 'Su nuevo album &quot;<b>%s</b>&quot; ha sido creado.', //cpg1.4
+  	'continue' => 'Presione &quot;Siguiente&quot; para iniciar la carga de sus imágenes', //cpg1.4
+  	'link' => 'este enlace', //cpg1.4
+);
+}
+
+//This ones i don't found it in the english file, originaly placed in util.php but the new english file has new estructure so...... ...........well i left it here
+$missing=array('what_update_titles' => 'Actualiza los nombres de fichero',
+	'what_delete_title' => 'Borra los títulos',
+	'what_rebuild' => 'Vuelve a crear las imágenes miniatura y otros tamaños de las imágenes',
+	'what_delete_originals' => 'Borra las imágenes originales reemplazándolas con versiones de nuevo tamaño');
 ?>
\ No newline at end of file
diff -x .svn -aruN 1.4.24.src/lang/swedish.php 1.4.25.src/lang/swedish.php
--- 1.4.24.src/lang/swedish.php	2009-05-25 15:01:17.000000000 -0500
+++ 1.4.25.src/lang/swedish.php	2009-05-26 11:25:40.000000000 -0500
@@ -1,2145 +1,2145 @@
-<?php
-/*************************
-  Coppermine Photo Gallery
-  ************************
-  Copyright (c) 2003-2009 Coppermine Dev Team
-  v1.1 originally written by Gregory DEMAR
-
-  This program is free software; you can redistribute it and/or modify
-  it under the terms of the GNU General Public License version 3
-  as published by the Free Software Foundation.
-  
-  ********************************************
-  Coppermine version: 1.4.24
-  $HeadURL: https://coppermine.svn.sourceforge.net/svnroot/coppermine/trunk/cpg1.4.x/lang/swedish.php $
-  $Revision: 5988 $
-  $Author: gaugau $
-  $Date: 2009-05-25 22:01:41 +0200 (Mo, 25 Mai 2009) $
-**********************************************/
-
-if (!defined('IN_COPPERMINE')) { die('Not in Coppermine...');}
-
-// info about translators and translated language
-$lang_translation_info = array(
-  'lang_name_english' => 'Swedish', //cpg1.4
-  'lang_name_native' => 'Svenska', //cpg1.4
-  'lang_country_code' => 'se', //cpg1.4
-  'trans_name'=> 'Danny Swälas (ecto) & SeB',
-  'trans_email' => 'coppermine@danny.swalas.org',
-  'trans_email2' => 'sebastian@sweetfabrik.se',
-  'trans_website' => 'http://danny.swalas.org/gallery/',
-  'trans_website2' => 'http://www.sweetfabrik.se/',
-  'additional_credits' => 'Big thanks to http://www.fotosidan.se/forum/ for help with Exif translations!',
-  'trans_date' => '2005-12-23',
-);
-
-$lang_charset = 'utf-8';
-$lang_text_dir = 'ltr'; // ('ltr' for left to right, 'rtl' for right to left)
-
-// shortcuts for Byte, Kilo, Mega
-$lang_byte_units = array('Byte', 'KB', 'MB');
-
-// Day of weeks and months
-$lang_day_of_week = array('sön', 'mån', 'tis', 'ons', 'tor', 'fre', 'lör');
-$lang_month = array('jan', 'feb', 'mar', 'apr', 'maj', 'jun', 'jul', 'aug', 'sep', 'okt', 'nov', 'dec');
-
-// Some common strings
-$lang_yes = 'Ja';
-$lang_no  = 'Nej';
-$lang_back = 'Tillbaka';
-$lang_continue = 'Fortsätt';
-$lang_info = 'Information';
-$lang_error = 'Fel';
-$lang_check_uncheck_all = 'Markera/avmarkera alla'; //cpg1.4
-
-// The various date formats
-// See http://www.php.net/manual/en/function.strftime.php to define the variable below
-$album_date_fmt =    '%d %B %Y';
-$lastcom_date_fmt =  '%Y-%m-%d kl. %H.%M';
-$lastup_date_fmt =   '%d %B %Y';
-$register_date_fmt = '%Y-%m-%d kl. %H:%M';
-$lasthit_date_fmt =  '%Y-%m-%d kl. %H:%M';
-$comment_date_fmt =  '%Y-%m-%d kl. %H:%M';
-$log_date_fmt =      '%Y-%m-%d kl. %H.%M.%S'; //cpg 1.4
-
-// For the word censor
-$lang_bad_words = array('*knulla*', 'fitta', 'arsle', 'kuk', 'mutta', 'fan', 'helvete', 'blatte*', '*nigger*', '*neger*', 'svarting', 'röv', 'ollon', 'dildo', 'pattar', 'penis', 'skit', 'balle', 'hora', 'jävla*');
-
-$lang_meta_album_names = array(
-  'random' => 'Slumpmässiga filer',
-  'lastup' => 'Senast tillagda',
-  'lastalb'=> 'Senast uppdaterade album',
-  'lastcom' => 'Senaste kommentarer',
-  'topn' => 'Mest visade',
-  'toprated' => 'Topplista',
-  'lasthits' => 'Senast visade',
-  'search' => 'Sökresultat',
-  'favpics'=> 'Favoriter',  //cpg1.4
-);
-
-$lang_errors = array(
-  'access_denied' => 'Du har inte behörighet till den här sidan.',
-  'perm_denied' => 'Du har inte behörighet att utföra denna operation.',
-  'param_missing' => 'Parametrar saknas för att kunna utföra operationen.',
-  'non_exist_ap' => 'Albumet/filen du valt finns inte!', //cpg1.3.0
-  'quota_exceeded' => 'Tilldelat diskutrymme överskridet<br /><br />Du har ett diskutrymme på [quota]K och din fil är på [space]K. Skulle denna fil läggas till överskrids ditt diskutrymme.', //cpg1.3.0
-  'gd_file_type_err' => 'Vid användande av GD image library är endast filer i JPEG- och PNG-format tillåtna.',
-  'invalid_image' => 'Filen du laddade upp är skadad eller kan inte hanteras av GD image library',
-  'resize_failed' => 'Kan inte skapa tumnagel eller ändra storleken på filen.',
-  'no_img_to_display' => 'Ingenting att visa',
-  'non_exist_cat' => 'Den valda kategorin finns inte',
-  'orphan_cat' => 'En kategori saknar rot, använd kategorihanteraren för att rätta till problemet', //cpg1.3.0
-  'directory_ro' => 'Mappen \'%s\' är inte skrivbar. Filen kan inte raderas.', //cpg1.3.0
-  'non_exist_comment' => 'Den valda kommentaren finns inte.',
-  'pic_in_invalid_album' => 'Filen finns i ett icke existerande album (%s)!?', //cpg1.3.0
-  'banned' => 'Du är för tillfället blockerad från den här sajten.',
-  'not_with_udb' => 'Den här funktionen är inaktiverad i galleriet eftersom det är länkat med ett forum. Antingen stöds inte det du försöker göra i den här funktionen eller så hanteras funktionen av forumets mjukvara.',
-  'offline_title' => 'Avstängt (offline)', //cpg1.3.0
-  'offline_text' => 'Galleriet är för tillfället avstängt (offline) - försök igen om en stund.', //cpg1.3.0
-  'ecards_empty' => 'Det finns för tillfället inte några e-vykort att visa. Kontrollera att du aktiverat e-vykort i galleriets inställningar!', //cpg1.3.0
-  'action_failed' => 'Uppgiften misslyckades. Kan inte utföra önskad funktion.', //cpg1.3.0
-  'no_zip' => 'Filerna som behövs för att hantera Zip-filer kan inte hittas.  Kontakta administratören.', //cpg1.3.0
-  'zip_type' => 'Du har inte behörighet att ladda upp Zip-filer.', //cpg1.3.0
-  'database_query' => 'Det uppstod ett fel under förfrågan till databasen', //cpg1.4
-  'register_globals_on' => 'The PHP setting register_globals is enabled on your server, which is a bad idea in terms of security. It\'s strongly recommended to turn it off. [<a href="http://forum.coppermine-gallery.net/index.php/topic,59569.0.html" rel="external" class="external">more</a>]',
-);
-
-$lang_bbcode_help_title = 'Hjälp med BBkod'; //cpg1.4
-$lang_bbcode_help = 'Du kan lägga till klickbara länkar och enkel textformatering här genom att använda BBkod: <li>[b]Fet[/b] =&gt; <b>Fet</b></li><li>[i]Kursiv[/i] =&gt; <i>Kursiv</i></li><li>[url=http://dinsajt.se/]URL-text[/url] =&gt; <a href="http://dinsajt.se">URL-text</a></li><li>[email]användare@sajt.se[/email] =&gt; <a href="mailto:användare@sajt.se">användare@sajt.se</a></li><li>[color=red]Text[/color] =&gt; <span style="color:red">Text</span></li><li>[img]http://coppermine-gallery.net/demo/cpg14x/images/red.gif[/img] => <img src="../images/red.gif" border="0" alt="" /></li>'; //cpg1.4
-
-// ------------------------------------------------------------------------- //
-// File theme.php
-// ------------------------------------------------------------------------- //
-
-$lang_main_menu = array(
-  'home_title' => 'Gå till startsidan',
-  'home_lnk' => 'Startsida',
-  'alb_list_title' => 'Gå till albumlistan',
-  'alb_list_lnk' => 'Albumlista',
-  'my_gal_title' => 'Gå till mitt personliga galleri',
-  'my_gal_lnk' => 'Mitt galleri',
-  'my_prof_title' => 'Gå till min profil', //cpg1.4
-  'my_prof_lnk' => 'Min profil',
-  'adm_mode_title' => 'Byt till administratörsläge',
-  'adm_mode_lnk' => 'Adminläge',
-  'usr_mode_title' => 'Byt till användarläge',
-  'usr_mode_lnk' => 'Användarläge',
-  'upload_pic_title' => 'Ladda upp fil till ett album',
-  'upload_pic_lnk' => 'Ladda upp fil',
-  'register_title' => 'Lägg till användare',
-  'register_lnk' => 'Registrera',
-  'login_title' => 'Logga in', //cpg1.4
-  'login_lnk' => 'Logga in',
-  'logout_title' => 'Logga ut', //cpg1.4
-  'logout_lnk' => 'Logga ut',
-  'lastup_title' => 'Visa senast tillagda', //cpg1.4
-  'lastup_lnk' => 'Senast tillagda',
-  'lastcom_title' => 'Visa senaste kommentarer', //cpg1.4
-  'lastcom_lnk' => 'Senaste kommentarer',
-  'topn_title' => 'Visa mest visade filer', //cpg1.4
-  'topn_lnk' => 'Mest visade',
-  'toprated_title' => 'Visa filer med högst betyg', //cpg1.4
-  'toprated_lnk' => 'Topplista',
-  'search_title' => 'Sök i galleriet', //cpg1.4
-  'search_lnk' => 'Sök',
-  'fav_title' => 'Gå till mina favoriter', //cpg1.4
-  'fav_lnk' => 'Mina favoriter',
-  'memberlist_title' => 'Visa medlemslista',
-  'memberlist_lnk' => 'Medlemmar',
-  'faq_title' => 'Vanliga frågor om galleriet',
-  'faq_lnk' => 'FAQ',
-);
-
-$lang_gallery_admin_menu = array(
-  'upl_app_title' => 'Godkänn uppladdade filer', //cpg1.4
-  'upl_app_lnk' => 'Godkänn uppladdningar',
-  'admin_title' => 'Konfigurera galleriet', //cpg1.4
-  'admin_lnk' => 'Inställningar', //cpg1.4
-  'albums_title' => 'Administrera album', //cpg1.4
-  'albums_lnk' => 'Album',
-  'categories_title' => 'Administrera kategorier', //cpg1.4
-  'categories_lnk' => 'Kategorier',
-  'users_title' => 'Administrera användare', //cpg1.4
-  'users_lnk' => 'Användare',
-  'groups_title' => 'Administrera grupper', //cpg1.4
-  'groups_lnk' => 'Grupper',
-  'comments_title' => 'Granska kommentarer', //cpg1.4
-  'comments_lnk' => 'Kommentarer',
-  'searchnew_title' => 'Lägg till flera filer på en gång', //cpg1.4
-  'searchnew_lnk' => 'Lägg till flera filer',
-  'util_title' => 'Gå till administrationsverktyg', //cpg1.4
-  'util_lnk' => 'Adminverktyg',
-  'key_title' => 'Gå till ordlistan med nyckelord', //cpg1.4
-  'key_lnk' => 'Nyckelord', //cpg1.4
-  'ban_title' => 'Hantera blockering av användare', //cpg1.4
-  'ban_lnk' => 'Blockera användare',
-  'db_ecard_title' => 'Gå till administration av e-vykort', //cpg1.4
-  'db_ecard_lnk' => 'E-vykort',
-  'pictures_title' => 'Sortera filer', //cpg1.4
-  'pictures_lnk' => 'Sortera filer', //cpg1.4
-  'documentation_lnk' => 'Dokumentation', //cpg1.4
-  'documentation_title' => 'Manual till Coppermine', //cpg1.4
-);
-
-$lang_user_admin_menu = array(
-  'albmgr_title' => 'Skapa och sortera mina album', //cpg1.4
-  'albmgr_lnk' => 'Skapa / sortera mina album',
-  'modifyalb_title' => 'Gå till redigering av mina album',  //cpg1.4
-  'modifyalb_lnk' => 'Redigera mina album',
-  'my_prof_title' => 'Gå till min profil', //cpg1.4
-  'my_prof_lnk' => 'Min profil',
-);
-
-$lang_cat_list = array(
-  'category' => 'Kategori',
-  'albums' => 'Album',
-  'pictures' => 'Filer',
-);
-
-$lang_album_list = array(
-  'album_on_page' => '%d album på %d sida(or)',
-);
-
-$lang_thumb_view = array(
-  'date' => 'DATUM',
-  //Sort by filename and title
-  'name' => 'FILNAMN',
-  'title' => 'TITEL',
-  'sort_da' => 'Sortera efter datum, stigande',
-  'sort_dd' => 'Sortera efter datum, fallande',
-  'sort_na' => 'Sortera efter namn, stigande',
-  'sort_nd' => 'Sortera efter namn, fallande',
-  'sort_ta' => 'Sortera efter titel, stigande',
-  'sort_td' => 'Sortera efter titel, fallande',
-  'exifdate' => 'DATUM (Exif)', //Exif date mod
-  'sort_ea' => 'Sortera efter Exif-datum, stigande', //Exif date mod
-  'sort_ed' => 'Sortera efter Exif-datum, fallande', //Exif date mod
-  'position' => 'POSITION', //cpg1.4
-  'sort_pa' => 'Sortera efter position, stigande', //cpg1.4
-  'sort_pd' => 'Sortera efter position, fallande', //cpg1.4
-  'download_zip' => 'Ladda ned som Zip-fil',
-  'pic_on_page' => '%d filer på %d sida(or)',
-  'user_on_page' => '%d användare på %d sida(or)',
-  'enter_alb_pass' => 'Skriv in lösenord för album',
-  'invalid_pass' => 'Ogiltigt lösenord',
-  'pass' => 'Lösenord', //cpg1.4
-  'submit' => 'Skicka' //cpg1.4
-);
-
-$lang_img_nav_bar = array(
-  'thumb_title' => 'Tilbaka till tumnaglar',
-  'pic_info_title' => 'Visa/dölj filinformation',
-  'slideshow_title' => 'Bildspel',
-  'ecard_title' => 'Skicka denna fil som ett e-vykort',
-  'ecard_disabled' => 'E-vykort är inte aktiverat',
-  'ecard_disabled_msg' => 'Du har inte behörighet att skicka e-vykort', //js-alert
-  'prev_title' => 'Se föregående fil',
-  'next_title' => 'Se nästa fil',
-  'pic_pos' => 'FIL %s/%s',
-  'report_title' => 'Rapportera denna fil till administratören', //cpg1.4
-  'go_album_end' => 'Gå till sista', //cpg1.4
-  'go_album_start' => 'Gå till första', //cpg1.4
-  'go_back_x_items' => 'gå tillbaka %s filer', //cpg1.4
-  'go_forward_x_items' => 'gå fram %s filer', //cpg1.4
-);
-
-$lang_rate_pic = array(
-  'rate_this_pic' => 'Betygsätt den här filen ',
-  'no_votes' => '(inga röster än)',
-  'rating' => '(Betyg : %s / 5 med %s röster)',
-  'rubbish' => 'Skräp',
-  'poor' => 'Dålig',
-  'fair' => 'Godkänd',
-  'good' => 'Bra',
-  'excellent' => 'Mycket bra',
-  'great' => 'Toppen',
-);
-
-// ------------------------------------------------------------------------- //
-// File include/exif.inc.php
-// ------------------------------------------------------------------------- //
-
-// void
-
-// ------------------------------------------------------------------------- //
-// File include/functions.inc.php
-// ------------------------------------------------------------------------- //
-
-$lang_cpg_die = array(
-  INFORMATION => $lang_info,
-  ERROR => $lang_error,
-  CRITICAL_ERROR => 'Kritisk fel',
-  'file' => 'Fil: ',
-  'line' => 'Rad: ',
-);
-
-$lang_display_thumbnails = array(
-  'filename' => 'Filnamn: ', //cpg1.4
-  'filesize' => 'Filstorlek: ', //cpg1.4
-  'dimensions' => 'Dimensioner: ', //cpg1.4
-  'date_added' => 'Tillagd den: ', //cpg1.4
-);
-
-$lang_get_pic_data = array(
-  'n_comments' => '%s kommentarer',
-  'n_views' => '%s visningar',
-  'n_votes' => '(%s röster)',
-);
-
-$lang_cpg_debug_output = array(
-  'debug_info' => 'Debuginformation',
-  'select_all' => 'Välj alla',
-  'copy_and_paste_instructions' => 'Om du vill ha hjälp på Coppermines supportforum, kopiera den här debuginformationen och klista in den i ditt inlägg, tillsammans med eventuellt felmeddelande du får (om något). Var noga med att ersätta känslig information (t.ex. lösenord) med *** innan du postar inlägget.<br />Obs: detta är endast för information och betyder inte nödvändigtvis att det är något fel på ditt galleri.', //cpg1.4
-  'phpinfo' => 'Visa phpinfo',
-  'notices' => 'Anmärkningar', //cpg1.4
-);
-
-$lang_language_selection = array(
-  'reset_language' => 'Standardspråk',
-  'choose_language' => 'Välj språk',
-);
-
-$lang_theme_selection = array(
-  'reset_theme' => 'Standardtema',
-  'choose_theme' => 'Välj tema',
-);
-
-$lang_version_alert = array(
-  'version_alert' => 'Ej stödd version!', //cpg1.4
-  'no_stable_version' => 'Du kör Coppermine  %s (%s) som är avsett för erfarna användare - denna versionen kommer utan någon form av support eller garantier. Använd den på egen risk, eller ladda ned den senaste stabila versionen om du behöver support!', //cpg1.4
-  'gallery_offline' => 'Galleriet är avstängt för underhåll och är bara vara tillgängligt för dig som administratör. Glöm inte att öppna det igen det när du är färdig med underhållet.', //cpg1.4
-);
-
-$lang_create_tabs = array(
-  'previous' => 'Föregående', //cpg1.4
-  'next' => 'Nästa', //cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File include/init.inc.php
-// ------------------------------------------------------------------------- //
-
-// void
-
-// ------------------------------------------------------------------------- //
-// File keyword.inc.php                                                      //
-// ------------------------------------------------------------------------- //
-
-// void
-
-// ------------------------------------------------------------------------- //
-// File include/picmgmt.inc.php
-// ------------------------------------------------------------------------- //
-
-// void
-
-// ------------------------------------------------------------------------- //
-// File include/plugin_api.inc.php
-// ------------------------------------------------------------------------- //
-$lang_plugin_api = array(
-  'error_wakeup' => "Kan inte sätta på plugin '%s'", //cpg1.4
-  'error_install' => "Kan inte installera plugin '%s'", //cpg1.4
-  'error_uninstall' => "Kan inte avinstallera plugin '%s'", //cpg1.4
-  'error_sleep' => "Kan inte stänga av plugin '%s'<br />", //cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File include/smilies.inc.php
-// ------------------------------------------------------------------------- //
-
-if (defined('SMILIES_PHP')) $lang_smilies_inc_php = array(
-  'Exclamation' => 'Utrop',
-  'Question' => 'Fråga',
-  'Very Happy' => 'Mycket glad',
-  'Smile' => 'Leende',
-  'Sad' => 'Ledsen',
-  'Surprised' => 'Överraskad',
-  'Shocked' => 'Chockad',
-  'Confused' => 'Förbryllad',
-  'Cool' => 'Cool',
-  'Laughing' => 'Skrattande',
-  'Mad' => 'Galen',
-  'Razz' => 'Rumlande',
-  'Embarassed' => 'Förlägen',
-  'Crying or Very sad' => 'Gråter eller väldigt ledsen',
-  'Evil or Very Mad' => 'Elak eller mycket arg',
-  'Twisted Evil' => 'Fifflande elak',
-  'Rolling Eyes' => 'Rullande elak',
-  'Wink' => 'Blink',
-  'Idea' => 'Idé',
-  'Arrow' => 'Pil',
-  'Neutral' => 'Neutral',
-  'Mr. Green' => 'Mr. Green',
-);
-
-// ------------------------------------------------------------------------- //
-// File addpic.php
-// ------------------------------------------------------------------------- //
-
-// void
-
-// ------------------------------------------------------------------------- //
-// File mode.php //cpg1.4
-// ------------------------------------------------------------------------- //
-
-if (defined('MODE_PHP')) $lang_mode_php = array(
-  0 => 'Lämnar adminläge...',
-  1 => 'Startar adminläge...',
-);
-
-// ------------------------------------------------------------------------- //
-// File albmgr.php
-// ------------------------------------------------------------------------- //
-
-if (defined('ALBMGR_PHP')) $lang_albmgr_php = array(
-  'alb_need_name' => 'Album måste namnges!', //js-alert
-  'confirm_modifs' => 'Är du säker på att du vill göra dessa förändringar?', //js-alert
-  'no_change' => 'Du gjorde ingen förändring!', //js-alert
-  'new_album' => 'Nytt album',
-  'confirm_delete1' => 'Är du säker på att du vill radera detta album?', //js-alert
-  'confirm_delete2' => '\nAlla filer och deras kommentarer kommer att förloras', //js-alert
-  'select_first' => 'Välj ett album först', //js-alert
-  'alb_mrg' => 'Administrera album',
-  'my_gallery' => '* Mitt galleri *',
-  'no_category' => '* Ingen kategori *',
-  'delete' => 'Radera',
-  'new' => 'Nytt',
-  'apply_modifs' => 'Utför ändringar',
-  'select_category' => 'Välj kategori',
-);
-
-// ------------------------------------------------------------------------- //
-// File banning.php
-// ------------------------------------------------------------------------- //
-
-if (defined('BANNING_PHP')) $lang_banning_php = array(
-  'title' => 'Blockera användare', //cpg1.4
-  'user_name' => 'Användarnamn', //cpg1.4
-  'ip_address' => 'IP-adress', //cpg1.4
-  'expiry' => 'Gäller till (blankt är permanent)', //cpg1.4
-  'edit_ban' => 'Spara ändringar', //cpg1.4
-  'delete_ban' => 'Ta bort', //cpg1.4
-  'add_new' => 'Ny blockering', //cpg1.4
-  'add_ban' => 'Blockera användare', //cpg1.4
-  'error_user' => 'Hittar inte användaren', //cpg1.4
-  'error_specify' => 'Du måste specificera användarnamn eller IP-adress.', //cpg1.4
-  'error_ban_id' => 'Ogiltigt blockeringsID!', //cpg1.4
-  'error_admin_ban' => 'Du kan inte blockera dig själv!', //cpg1.4
-  'error_server_ban' => 'Tänkte du blockera din egen server? Tsk tsk...', //cpg1.4
-  'error_ip_forbidden' => 'Du kan inte blockera detta IP - det är icke-routbar (privat) ändå!<br />Om du vill tillåta blockering av privata IP-adresser, ändra detta i <a href="admin.php">inställningar</a> (det är bara aktuelt om Coppermine körs i ett LAN).', //cpg1.4
-  'lookup_ip' => 'Slå upp en IP-adress', //cpg1.4
-  'submit' => 'OK!', //cpg1.4
-  'select_date' => 'Välj datum', //cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File bridgemgr.php //cpg1.4
-// ------------------------------------------------------------------------- //
-
-if (defined('BRIDGEMGR_PHP')) $lang_bridgemgr_php = array(
-  'title' => 'Länkningsguide (Bridge Guide)',
-  'warning' => 'Varning: När du använder denna guide kommer känslig data att skickas med oskyddade html-formulär. Kör guiden bara på din egen dator (inte på en offentlig dator på t.ex. ett internetcafé). Var även nogrann med att rensa webbläsarens cache och tillfälliga filer när du är färdig, annars kan andra komma åt din data!',
-  'back' => 'Föregående',
-  'next' => 'Nästa',
-  'start_wizard' => 'Starta länkningsguide',
-  'finish' => 'Avsluta',
-  'hide_unused_fields' => 'Göm oanvända formulärfält (rekommenderat)',
-  'clear_unused_db_fields' => 'Rensa ogilltiga databasposter (rekommenderat)',
-  'custom_bridge_file' => 'Namn på din länkningsfil (bridge-fil) (om filen heter <i>myfile.inc.php</i> skriv <i>myfile</i> här)',
-  'no_action_needed' => 'Inget behöver göras här. Tryck bara "Nästa" för att fortsätta',
-  'reset_to_default' => 'Återställ förinställda värden',
-  'choose_bbs_app' => 'Välj program att länka samman Coppermine med',
-  'support_url' => 'Gå hit för support för detta program',
-  'settings_path' => 'sökväg(ar) som används av ditt forum',
-  'database_connection' => 'Databasanslutning (connection)',
-  'database_tables' => 'Databastabeller (tables)',
-  'bbs_groups' => 'Forumgrupper (groups)',
-  'license_number' => 'Licensnummer',
-  'license_number_explanation' => 'Ange ditt licensnummer (om möjligt)',
-  'db_database_name' => 'Databasnamn',
-  'db_database_name_explanation' => 'Ange namnet på databasen ditt forum använder',
-  'db_hostname' => 'Databasvärd (host)',
-  'db_hostname_explanation' => 'Värdnamn där din MySQL-databas finns, vanligtvis &quot;localhost&quot;',
-  'db_username' => 'Databasens användarnamn (user account)',
-  'db_username_explanation' => 'MySQL-databasens användarnamn för anslutning till forumet',
-  'db_password' => 'Databasens lösenord',
-  'db_password_explanation' => 'Lösenord för MySQL-användarnamnet',
-  'full_forum_url' => 'Forum-URL',
-  'full_forum_url_explanation' => 'Fullständig URL till ditt forum (inkl http://, t.ex. http://www.yourdomain.tld/forum)',
-  'relative_path_of_forum_from_webroot' => 'Relativ sökväg',
-  'relative_path_of_forum_from_webroot_explanation' => 'Relativ sökväg till ditt forum från din URL (Exempel: om ditt forum finns på http://www.yourdomain.tld/forum/, skriv &quot;/forum/&quot; här)',
-  'relative_path_to_config_file' => 'Relativ sökväg till ditt forums konfigurationsfil',
-  'relative_path_to_config_file_explanation' => 'Relativ sökväg till ditt forum, sett från din Coppermine-mapp (t.ex. &quot;../forum/&quot, om ditt forum finns på http://www.yourdomain.tld/forum/ och Coppermine på http://www.yourdomain.tld/gallery/)',
-  'cookie_prefix' => 'Prefix för cookies',
-  'cookie_prefix_explanation' => 'Detta måste vara samma namn som ditt forum använder för cookies',
-  'table_prefix' => 'Prefix för tabeller',
-  'table_prefix_explanation' => 'Måste vara samma prefix som ditt forum använder.',
-  'user_table' => 'Tabell för användare',
-  'user_table_explanation' => '(det förinställda namnet brukar fungera, så länge ditt forum använder standardinställningarna)',
-  'session_table' => 'Tabell för sessioner',
-  'session_table_explanation' => '(det förinställda namnet brukar fungera, så länge ditt forum använder standardinställningarna)',
-  'group_table' => 'Tabell för grupper',
-  'group_table_explanation' => '(det förinställda namnet brukar fungera, så länge ditt forum använder standardinställningarna)',
-  'group_relation_table' => 'Tabell för grupprelationer',
-  'group_relation_table_explanation' => '(det förinställda namnet brukar fungera, så länge ditt forum använder standardinställningarna)',
-  'group_mapping_table' => 'Tabell för mappning av grupper',
-  'group_mapping_table_explanation' => '(det förinställda namnet brukar fungera, så länge ditt forum använder standardinställningarna)',
-  'use_standard_groups' => 'Använd standard för forumgrupper',
-  'use_standard_groups_explanation' => 'Använd standardgrupper (inbyggda, rekommenderat). Detta kommer att göra alla inställningar för grupper gjorda på denna sida ogiltiga. Avmarkera detta alternativ ENDAST om vet vad du gör!',
-  'validating_group' => 'Bekräfta grupp',
-  'validating_group_explanation' => 'Grupp-ID i forumet där användarkonton som måste bekräftas finns (det förinställda namnet brukar fungera, ändra bara om du vet att det ska vara något annat!)',
-  'guest_group' => 'Grupp för gäster',
-  'guest_group_explanation' => 'Grupp-ID i forumet där gäster (anonyma användare) finns (det förinställda namnet brukar fungera, ändra bara om du vet att det ska vara något annat!)',
-  'member_group' => 'Grupp för medlemmar',
-  'member_group_explanation' => 'Grupp-ID i forumet där &quot;vanliga&quot; användare finns (det förinställda namnet brukar fungera, ändra bara om du vet att det ska vara något annat!)',
-  'admin_group' => 'Grupp för administratörer',
-  'admin_group_explanation' => 'Grupp-ID i forumet där administratörer finns (det förinställda namnet brukar fungera, ändra bara om du vet att det ska vara något annat!)',
-  'banned_group' => 'Grupp för blockerade användare',
-  'banned_group_explanation' => 'Grupp-ID i forumet där blockerade användare finns (det förinställda namnet brukar fungera, ändra bara om du vet att det ska vara något annat!)',
-  'global_moderators_group' => 'Grupp för globala moderatorer',
-  'global_moderators_group_explanation' => 'Grupp-ID i forumet där globala moderatorer finns (det förinställda namnet brukar fungera, ändra bara om du vet att det ska vara något annat!)',
-  'special_settings' => 'Forum-specifika inställningar',
-  'logout_flag' => 'phpBB-version (logout flag)',
-  'logout_flag_explanation' => 'Vilken version har ditt forum (inställningen bestämmer hur utloggningar hanteras)',
-  'use_post_based_groups' => 'Använd inläggsbaserade grupper?',
-  'logout_flag_yes' => '2.0.5 eller högre',
-  'logout_flag_no' => '2.0.4 eller lägre',
-  'use_post_based_groups_explanation' => 'Ska grupper i forumet som baseras på antal inlägg användas (tillåter finstyrning av behörigheter) eller ska de förinställda grupperna användas (enklare administration, rekommenderas). Du kan ändra detta senare.',
-  'use_post_based_groups_yes' => 'Ja',
-  'use_post_based_groups_no' => 'Nej',
-  'error_title' => 'Du måste rätta till dessa fel innan du kan fortsätta. Gå till föregående sida.',
-  'error_specify_bbs' => 'Du måste ange vilket program du vill länka Coppermine med.',
-  'error_no_blank_name' => ' Du kan inte lämna fältet för länkningsfil tomt.',
-  'error_no_special_chars' => 'Länkningsfilens namn får inte innehålla några specialtecken annat än understreck (_) eller streck (-)!',
-  'error_bridge_file_not_exist' => 'Länkningsfilen %s finns inte på servern. Se till att den är uppladdad.',
-  'finalize' => 'Aktivera/avaktivera länkning med forum',
-  'finalize_explanation' => 'Så här långt har dina inställningar sparats i databasen, men integrationen har inte aktiverats. Du kan slå på/av länkningen senare. Var noga med att komma ihåg administratörerens användarnamn och lösenord från installationen av Coppermine, du kan behöva det senare för att göra ändringar. Om något går fel, gå till %s och avaktivera länkningen med forumet där, genom att använda det icke länkade administratörskontot (vanligtvis det konto du satte upp när du installerade Coppermine).',
-  'your_bridge_settings' => 'Dina inställningar för länkningen',
-  'title_enable' => 'Aktivera / avaktivera integration/länkning med %s',
-  'bridge_enable_yes' => 'Aktivera',
-  'bridge_enable_no' => 'Avaktivera',
-  'error_must_not_be_empty' => 'Kan inte lämnas tom',
-  'error_either_be' => 'Måste vara %s eller %s',
-  'error_folder_not_exist' => '%s finns inte. Rätta till värdet du angav för %s.',
-  'error_cookie_not_readible' => 'Coppermine kan inte läsa cookien med namn %s. Rätta till värdet du angav för %s, eller gå till administratörsinställningarna och kontrollera att sökvägen är läsbar för Coppermine.',
-  'error_mandatory_field_empty' => 'Du kan inte lämna fältet %s tomt - fyll i korrekt värde.',
-  'error_no_trailing_slash' => 'Det får inte vara något avslutande snedstreck i fältet %s.',
-  'error_trailing_slash' => 'Det måste vara ett avslutande snedstreck i fältet %s.',
-  'error_db_connect' => 'Kunde inte ansluta till MySQL-databasen med det du angivit. MySQL svarade:',
-  'error_db_name' => 'Coppermine kunde etablera kontakt men kunde inte ansluta till databasen %s. Kontrollera att du angivit %s korrekt. MySQL svarade:',
-  'error_prefix_and_table' => '%s och ',
-  'error_db_table' => 'Kunde inte hitta tabellen %s. Kontrollera att du angivit %s korrekt.',
-  'recovery_title' => 'Länkningsguide: kritisk återställning',
-  'recovery_explanation' => 'Om du kom hit för att administrera Coppermines forumlänkning måste du logga in som administratör först. Om du inte kan logga in för att länkningen inte fungerar som den ska kan du avaktivera länkningen på den här sidan. Om du anger ditt användarnamn och ditt lösenord kommer du inte att bli inloggad, utan bara avaktivera länkningen med forumet. Läs dokumentationen för mer information.',
-  'username' => 'Användarnamn',
-  'password' => 'Lösenord',
-  'disable_submit' => 'Skicka',
-  'recovery_success_title' => 'Autentiseringen lyckades',
-  'recovery_success_content' => 'Du har avaktiverat länkningen med forumet. Din Coppermine-installation körs nu självständigt.',
-  'recovery_success_advice_login' => 'Logga in som administratör för att ändra länkningsinställningarna och/eller aktivera länkningen med forumet igen.',
-  'goto_login' => 'Gå till login-sidan',
-  'goto_bridgemgr' => 'Gå till länkningsguiden',
-  'recovery_failure_title' => 'Autentiseringen misslyckades',
-  'recovery_failure_content' => 'Du angav felaktiga uppgifter. Du måste ange uppgifter för administratörskontot för den fristående installationen av Coppermine (vanligtvis kontot som skapades i samband med installationen).',
-  'try_again' => 'Försök igen',
-  'recovery_wait_title' => 'Tiden för fördröjning har inte löpt ut.',
-  'recovery_wait_content' => 'Av säkerhetsskäl kan du inte försöka logga in efter misslyckade försök med så kort tid emellan. Var god försök igen lite senare.',
-  'wait' => 'Vänta',
-  'create_redir_file' => 'Skapa fil för vidarebefordran (rekommenderat)',
-  'create_redir_file_explanation' => 'För att vidarebefordra användare tillbaka till Coppermine när de loggat in via forumet behöver en fil för vidarebefordran skapas i din forum-mapp. När detta val är markerat kommer länkningsguiden att skapa den filen, i annat fall får du koden, redo att klistras in vid manuellt skapande av filen.',
-  'browse' => 'Bläddra',
-);
-
-// ------------------------------------------------------------------------- //
-// File calendar.php //cpg1.4
-// ------------------------------------------------------------------------- //
-
-if (defined('CALENDAR_PHP')) $lang_calendar_php = array(
-  'title' => 'Kalender', //cpg1.4
-  'close' => 'Avsluta', //cpg1.4
-  'clear_date' => 'Rensa datum', //cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File catmgr.php
-// ------------------------------------------------------------------------- //
-
-if (defined('CATMGR_PHP')) $lang_catmgr_php = array(
-  'miss_param' => 'Parametrar som krävs för \'%s\' operationen stöds inte!',
-  'unknown_cat' => 'Vald kategori finns inte i databasen',
-  'usergal_cat_ro' => 'Kategorin användargallerier kan inte raderas!',
-  'manage_cat' => 'Inställningar för kategorier',
-  'confirm_delete' => 'Är du säker på att du vill RADERA denna kategori?', //js-alert
-  'category' => 'Kategori',
-  'operations' => 'Operationer',
-  'move_into' => 'Flytta till',
-  'update_create' => 'Uppdatera/skapa galleri',
-  'parent_cat' => 'Huvudkategori',
-  'cat_title' => 'Kategorititel',
-  'cat_thumb' => 'Kategoritumnagel', //cpg1.3.0
-  'cat_desc' => 'Kategoribeskrivning',
-  'categories_alpha_sort' => 'Sortera kategorier alfabetisk (istället för vald sorting)', //cpg1.4
-  'save_cfg' => 'Spara inställningar', //cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File admin.php //cpg1.4
-// ------------------------------------------------------------------------- //
-
-if (defined('ADMIN_PHP')) $lang_admin_php = array(
-  'title' => 'Gallerikonfiguration', //cpg1.4
-  'manage_exif' => 'Administrera visning av Exif-information', //cpg1.4
-  'manage_plugins' => 'Administrera insticksmoduler', //cpg1.4
-  'manage_keyword' => 'Administrera nyckelord', //cpg1.4
-  'restore_cfg' => 'Återställ till systemets grundinställning',
-  'save_cfg' => 'Spara inställningar',
-  'notes' => 'Anmärkningar',
-  'info' => 'Information',
-  'upd_success' => 'Galleriets inställningar har uppdaterats',
-  'restore_success' => 'Galleriets grundinställningar har återställts',
-  'name_a' => 'Namn, stigande',
-  'name_d' => 'Namn, fallande',
-  'title_a' => 'Titel, stigande',
-  'title_d' => 'Titel, fallande',
-  'date_a' => 'Datum, stigande',
-  'date_d' => 'Datum, fallande',
-  'exifdate_a' => 'Exif-datum, stigande', //Exif date mod
-  'exifdate_d' => 'Exif-datum, fallande', //Exif date mod
-  'pos_a' => 'Position, stigande', //cpg1.4
-  'pos_d' => 'Position, fallande', //cpg1.4
-  'th_any' => 'Max sida',
-  'th_ht' => 'Höjd',
-  'th_wd' => 'Bredd',
-  'label' => ' markering', //cpg1.3.0
-  'item' => ' alternativ', //cpg1.3.0
-  'debug_everyone' => ' alla', //cpg1.3.0
-  'debug_admin' => ' enbart admin', //cpg1.3.0
-  'no_logs'=> 'Av', //cpg1.4
-  'log_normal'=> 'Normal', //cpg1.4
-  'log_all' => 'Alla', //cpg1.4
-  'view_logs' => 'Visa loggar', //cpg1.4
-  'click_expand' => 'Klicka på sektionsnamnet för att expandera', //cpg1.4
-  'expand_all' => 'Expandera alla', //cpg1.4
-  'notice1' => '(*) Dessa inställningarna bör inte ändras om du har filer i din databas.', //cpg1.4 - (relocated)
-  'notice2' => '(**) När den här ändringen görs kommer bara filer som läggs till efteråt att påverkas. Det är därför att rekommendera att inte göra ändringar när det finns filer i galleriet. Du kan välja att låta ändringarna gälla även existerande filer med hjälp av &quot;<a href="util.php">administratörsverktyget</a>&quot; (funktionen för att skala om bilder).', //cpg1.4 - (relocated)
-  'notice3' => '(***) Alla loggfiler är skrivna på engelska.', //cpg1.4 - (relocated)
-  'bbs_disabled' => 'Funktionen är inaktiverad i och med länkning med forum', //cpg1.4
-  'auto_resize_everyone' => ' alla', //cpg1.4
-  'auto_resize_user' => ' endast medlemmar', //cpg1.4
-  'ascending' => 'stigande', //cpg1.4
-  'descending' => 'fallande', //cpg1.4
-);
-
-if (defined('ADMIN_PHP')) $lang_admin_data = array(
-  'Allmänna inställningar',
-  array('Galleriets namn', 'gallery_name', 0, 'f=index.htm&amp;as=admin_general_name&amp;ae=admin_general_name_end'), //cpg1.4
-  array('Galleriets beskrivning', 'gallery_description', 0, 'f=index.htm&amp;as=admin_general_description&amp;ae=admin_general_description_end'), //cpg1.4
-  array('Galleriadministratörens e-post', 'gallery_admin_email', 0, 'f=index.htm&amp;as=admin_general_email&amp;ae=admin_general_email_end'), //cpg1.4
-  array('URL till din mapp med Coppermine (inget "index.php" eller liknande i slutet)', 'ecards_more_pic_target', 0, 'f=index.htm&amp;as=admin_general_coppermine-url&amp;ae=admin_general_coppermine-url_end'), //cpg1.4
-  array('URL till startsidan', 'home_target', 0, 'f=index.htm&amp;as=admin_general_home-url&amp;ae=admin_general_home-url_end'), //cpg1.4
-  array('Tillåt nedladdning av favoriter som Zip-fil', 'enable_zipdownload', 1, 'f=index.htm&amp;as=admin_general_zip-download&amp;ae=admin_general_zip-download_end'), //cpg1.4
-  array('Skillnad i tidszon jämfört med GMT (nuvarande tid: ' . localised_date(-1, $comment_date_fmt) . ')','time_offset',0, 'f=index.htm&amp;as=admin_general_time-offset&amp;ae=admin_general_time-offset_end&amp;top=1'), //cpg1.4
-  array('Aktivera krypterade lösenord (kan inte ångras)','enable_encrypted_passwords',1, 'f=index.htm&amp;as=admin_general_encrypt_password_start&amp;ae=admin_general_encrypt_password_end&amp;top=1'), // cpg 1.4
-  array('Aktivera hjälpikoner (hjälp endast tillgänglig på engelska)','enable_help',9, 'f=index.htm&amp;as=admin_general_help&amp;ae=admin_general_help_end'), //cpg1.4
-  array('Aktivera klickbara nyckelord i sökfunktionen','clickable_keyword_search',14, 'f=index.htm&amp;as=admin_general_keywords_start&amp;ae=admin_general_keywords_end'), //cpg1.4
-  array('Aktivera insticksmoduler (plugins)', 'enable_plugins', 12, 'f=index.htm&amp;as=admin_general_enable-plugins&amp;ae=admin_general_enable-plugins_end'),  //cpg1.4
-  array('Tillåt blockering av non-routable (privata) IP adresser', 'ban_private_ip', 1,  'f=index.htm&amp;as=admin_general_private-ip&amp;ae=admin_general_private-ip_end'), //cpg1.4
-  array('Bläddringsbart gränssnitt för "Lägg till flera filer"', 'browse_batch_add', 1, 'f=index.htm&amp;as=admin_general_browsable_batch_add&amp;ae=admin_general_browsable_batch_add_end'), //cpg1.4
-
-  'Språk &amp; teckenuppsättning',
-  array('Språk', 'lang', 5, 'f=index.htm&amp;as=admin_language_language&amp;ae=admin_language_language_end'), //cpg1.4
-  array('Använd engelska om fras inte finns översatt', 'language_fallback', 1, 'f=index.htm&amp;as=admin_language_fallback&amp;ae=admin_language_fallback_end'), //cpg1.4
-  array('Teckenuppsättning', 'charset', 4, 'f=index.htm&amp;as=admin_language_charset&amp;ae=admin_language_charset_end'), //cpg1.4
-  array('Visa lista över språk', 'language_list', 1, 'f=index.htm&amp;as=admin_language_list&amp;ae=admin_language_list_end'), //cpg1.4
-  array('Visa flaggor för språk', 'language_flags', 8, 'f=index.htm&amp;as=admin_language_flags&amp;ae=admin_language_flags_end&amp;top=1'), //cpg1.4
-  array('Visa &quot;återställ&quot; i språkvalen', 'language_reset', 1, 'f=index.htm&amp;as=admin_language_reset&amp;ae=admin_language_reset_end&amp;top=1'), //cpg1.4
-  //array('Visa föregående/nästa på flikade sidor', 'previous_next_tab', 1), //cpg1.4
-
-  'Tema',
-  array('Tema', 'theme', 6, 'f=index.htm&amp;as=admin_theme_theme&amp;ae=admin_theme_theme_end'), //cpg1.4
-  array('Visa lista med teman', 'theme_list', 1, 'f=index.htm&amp;as=admin_theme_theme_list&amp;ae=admin_theme_theme_list_end'), //cpg1.4
-  array('Visa &quot;återställ&quot; i temavalen', 'theme_reset', 1, 'f=index.htm&amp;as=admin_theme_theme_reset&amp;ae=admin_theme_theme_reset_end'), //cpg1.4
-  array('Visa FAQ', 'display_faq', 1, 'f=index.htm&amp;as=admin_theme_faq&amp;ae=admin_theme_faq_end'), //cpg1.4
-  array('Anpassat namn på menylänk', 'custom_lnk_name', 0,'f=index.htm&amp;as=admin_theme_custom_lnk_name&amp;ae=admin_theme_custom_lnk_name_end'), //cpg1.4
-  array('Anpassat namn på menylänk (URL)', 'custom_lnk_url', 0,'f=index.htm&amp;as=admin_language_custom_lnk_url&amp;ae=admin_language_custom_lnk_url_end'), //cpg1.4
-  array('Visa BBcode-hjälp', 'show_bbcode_help', 1, 'f=index.htm&amp;as=admin_theme_bbcode&amp;ae=admin_theme_bbcode_end&amp;top=1'), //cpg1.4
-  array('Visa "stilblock" för teman som är överensstämmer med XHTML- och CSS-standarderna ','vanity_block',1, 'f=index.htm&amp;as=vanity_block&amp;ae=vanity_block_end'), //cpg1.4
-  array('Sökväg till anpassat sidhuvud (header include)', 'custom_header_path', 0, 'f=index.htm&amp;as=admin_theme_include_path_start&amp;ae=admin_theme_include_path_end'), //cpg1.4
-  array('Sökväg till anpassat sidfot (footer include)', 'custom_footer_path', 0, 'f=index.htm&amp;as=admin_theme_include_path_start&amp;ae=admin_theme_include_path_end'), //cpg1.4
-
-  'Albumlista',
-  array('Bredd på huvudtabellen (pixlar eller %)', 'main_table_width', 0, 'f=index.htm&amp;as=admin_album_table-width&amp;ae=admin_album_table-width_end'), //cpg1.4
-  array('Antal kategorinivåer som visas', 'subcat_level', 0, 'f=index.htm&amp;as=admin_album_category-levels&amp;ae=admin_album_category-levels_end'), //cpg1.4
-  array('Antal album som visas', 'albums_per_page', 0, 'f=index.htm&amp;as=admin_album_number&amp;ae=admin_album_number_end'), //cpg1.4
-  array('Antal kolumner i albumlistan', 'album_list_cols', 0, 'f=index.htm&amp;as=admin_album_columns&amp;ae=admin_album_columns_end'), //cpg1.4
-  array('Storlek på tumnagel i pixlar', 'alb_list_thumb_size', 0, 'f=index.htm&amp;as=admin_album_thumbnail-size&amp;ae=admin_album_thumbnail-size_end'), //cpg1.4
-  array('Innehåll på förstasidan', 'main_page_layout', 0, 'f=index.htm&amp;as=admin_album_list_content&amp;ae=admin_album_list_content_end'), //cpg1.4
-  array('Visa tumnagel för albumet på översta nivån','first_level',1, 'f=index.htm&amp;as=admin_album_first-level_thumbs&amp;ae=admin_album_first-level_thumbs_end'), //cpg1.4
-  array('Sortera kategorier alfabetiskt (istället för vald ordning)','categories_alpha_sort',1, 'f=index.htm&amp;as=admin_album_list_alphasort_start&amp;ae=admin_album_list_alphasort_end'), //cpg1.4
-  array('Visa antal länkade filer','link_pic_count',1, 'f=index.htm&amp;as=admin_album_linked_files_start&amp;ae=admin_album_linked_files_end'), //cpg1.4
-
-  'Tumnaglar',
-  array('Antal kolumner på tumnagelsidan', 'thumbcols', 0, 'f=index.htm&amp;as=admin_thumbnail_columns&amp;ae=admin_thumbnail_columns_end'), //cpg1.4
-  array('Antal rader på tumnagelsidan', 'thumbrows', 0, 'f=index.htm&amp;as=admin_thumbnail_rows&amp;ae=admin_thumbnail_rows_end'), //cpg1.4
-  array('Maximalt antal flikar att visa', 'max_tabs', 10, 'f=index.htm&amp;as=admin_thumbnail_tabs&amp;ae=admin_thumbnail_tabs_end'), //cpg1.4
-  array('Visa rubrik (utöver titel) under tumnageln', 'caption_in_thumbview', 1, 'f=index.htm&amp;as=admin_thumbnail_display_caption&amp;ae=admin_thumbnail_display_caption_end'), //cpg1.4
-  array('Visa antal visningar under tumnageln', 'views_in_thumbview', 1, 'f=index.htm&amp;as=admin_thumbnail_display_views&amp;ae=admin_thumbnail_display_views_end'), //cpg1.4
-  array('Visa antal kommentarer under tumnageln', 'display_comment_count', 1, 'f=index.htm&amp;as=admin_thumbnail_display_comments&amp;ae=admin_thumbnail_display_comments_end'), //cpg1.4
-  array('Visa vem som lagt in filen under tumnageln', 'display_uploader', 1, 'f=index.htm&amp;as=admin_thumbnail_display_uploader&amp;ae=admin_thumbnail_display_uploader_end'), //cpg1.4
-  //array('Visa vilken administratör som lagt in filen under tumnageln', 'display_admin_uploader', 1, 'f=index.htm&amp;as=admin_thumbnail_display_admin_uploader&amp;ae=admin_thumbnail_display_admin_uploader_end'), //cpg1.4
-  array('Visa filnamnet under tumnageln', 'display_filename', 1, 'f=index.htm&amp;as=admin_thumbnail_display_filename&amp;ae=admin_thumbnail_display_filename_end'), //cpg1.4
-  //array('Visa beskrivning av album', 'alb_desc_thumb', 1, 'f=index.htm&amp;as=admin_thumbnail_display_description&amp;ae=admin_thumbnail_display_description_end'), //cpg1.4
-  array('Förvald sorteringsordning', 'default_sort_order', 3, 'f=index.htm&amp;as=admin_thumbnail_default_sortorder&amp;ae=admin_thumbnail_default_sortorder_end'), //cpg1.4
-  array('Minsta antal röster för att en fil ska hamna på topplistan', 'min_votes_for_rating', 0, 'f=index.htm&amp;as=admin_thumbnail_minimum_votes&amp;ae=admin_thumbnail_minimum_votes_end'), //cpg1.4
-
-  'Filvisning', //cpg1.4
-  array('Bredd på tabell för filvisning (pixlar eller %)', 'picture_table_width', 0, 'f=index.htm&amp;as=admin_image_comment_table-width&amp;ae=admin_image_comment_table-width_end'), //cpg1.4
-  array('Filinformation synlig som standard', 'display_pic_info', 1, 'f=index.htm&amp;as=admin_image_comment_info_visible&amp;ae=admin_image_comment_info_visible_end'), //cpg1.4
-  array('Maximal längd för filbeskrivning', 'max_img_desc_length', 0, 'f=index.htm&amp;as=admin_image_comment_descr_length&amp;ae=admin_image_comment_descr_length_end'), //cpg1.4
-  array('Maximalt antal tecken i ett ord', 'max_com_wlength', 0, 'f=index.htm&amp;as=admin_image_comment_chars_per_word&amp;ae=admin_image_comment_chars_per_word_end'), //cpg1.4
-  array('Visa filmremsa', 'display_film_strip', 1, 'f=index.htm&amp;as=admin_image_comment_filmstrip_toggle&amp;ae=admin_image_comment_filmstrip_toggle_end'), //cpg1.4
-  array('Visa filnamn under tumnageln i filmremsan', 'display_film_strip_filename', 1, 'f=index.htm&amp;as=admin_image_comment_display_film_strip_filename&amp;ae=admin_image_comment_display_film_strip_filename_end'), //cpg1.4
-  array('Antal filer i filmremsan', 'max_film_strip_items', 0, 'f=index.htm&amp;as=admin_image_comment_filmstrip_number&amp;ae=admin_image_comment_filmstrip_number_end'), //cpg1.4
-  array('Bildspelets intervall i millisekunder (1 sekund = 1000 millisekunder)', 'slideshow_interval', 0, 'f=index.htm&amp;as=admin_image_comment_slideshow_interval&amp;ae=admin_image_comment_slideshow_interval_end'), //cpg1.4
-
-  'Kommentarer', //cpg1.4
-  array('Filtrera fula ord i kommentarer', 'filter_bad_words', 1, 'f=index.htm&amp;as=admin_image_comment_bad_words&amp;ae=admin_image_comment_bad_words_end'), //cpg1.4
-  array('Tillåt smilies i kommentarer', 'enable_smilies', 1, 'f=index.htm&amp;as=admin_image_comment_smilies&amp;ae=admin_image_comment_smilies_end'), //cpg1.4
-  array('Tillåt upprepade kommentarer på en fil av samma användare (ta bort skydd mot "flooding")', 'disable_comment_flood_protect', 1, 'f=index.htm&amp;as=admin_image_comment_flood&amp;ae=admin_image_comment_flood_end'), //cpg1.4
-  array('Maximalt antal rader i en kommentar', 'max_com_lines', 0, 'f=index.htm&amp;as=admin_image_comment_lines&amp;ae=admin_image_comment_lines_end'), //cpg1.4
-  array('Maximal längd på en kommentar', 'max_com_size', 0, 'f=index.htm&amp;as=admin_image_comment_length&amp;ae=admin_image_comment_length_end'), //cpg1.4
-  array('Meddela administratören via e-post vid ny kommentar', 'email_comment_notification', 1, 'f=index.htm&amp;as=admin_image_comment_admin_notify&amp;ae=admin_image_comment_admin_notify_end'), //cpg1.4
-  array('Sorteringsordning för kommentarer', 'comments_sort_descending', 17, 'f=index.htm&amp;as=admin_comment_sort_start&amp;ae=admin_comment_sort_end'), //cpg1.4
-  array('Prefix för kommentarer av gäster/anonyma användare', 'comments_anon_pfx', 0, 'f=index.htm&amp;as=comments_anon_pfx&amp;ae=comments_anon_pfx_end'), //cpg1.4
-
-  'Filer och tumnaglar',
-  array('Kvalitet på JPEG-filer', 'jpeg_qual', 0, 'f=index.htm&amp;as=admin_picture_thumbnail_jpeg_quality&amp;ae=admin_picture_thumbnail_jpeg_quality_end'), //cpg1.4
-  array('Maximal dimension för tumnagel <a href="#notice2" class="clickable_option">**</a>', 'thumb_width', 0, 'f=index.htm&amp;as=admin_picture_thumbnail_max-dimension&amp;ae=admin_picture_thumbnail_max-dimension_end'), //cpg1.4
-  array('Använd dimension (bredd, höjd eller maximal sida för tumnageln ) <a href="#notice2" class="clickable_option">**</a>', 'thumb_use', 7, 'f=index.htm&amp;as=admin_picture_thumbnail_use-dimension&amp;ae=admin_picture_thumbnail_use-dimension_end'), //cpg1.4
-  array('Skapa mellanliggande bilder','make_intermediate',1, 'f=index.htm&amp;as=admin_picture_thumbnail_intermediate_toggle&amp;ae=admin_picture_thumbnail_intermediate_toggle_end'), //cpg1.4
-  array('Maximal bredd eller höjd på en mellanliggande bild/film <a href="#notice2" class="clickable_option">**</a>', 'picture_width', 0, 'f=index.htm&amp;as=admin_picture_thumbnail_intermediate_dimension&amp;ae=admin_picture_thumbnail_intermediate_dimension_end'), //cpg1.4
-  array('Maximal filstorlek på uppladdade filer (KB)', 'max_upl_size', 0, 'f=index.htm&amp;as=admin_picture_thumbnail_max_upload_size&amp;ae=admin_picture_thumbnail_max_upload_size_end'), //cpg1.4
-  array('Maximal bredd eller höjd på uppladdade bilder/filmer (pixlar)', 'max_upl_width_height', 0, 'f=index.htm&amp;as=admin_picture_thumbnail_max_upload_dimension&amp;ae=admin_picture_thumbnail_max_upload_dimension_end'), //cpg1.4
-  array('Skala om bilder som är större än maxbredd eller maxhöjd automatiskt', 'auto_resize', 16, 'f=index.htm&amp;as=admin_picture_thumbnail_auto-resize&amp;ae=admin_picture_thumbnail_auto-resize_end'), //cpg1.4
-
-  'Filer och tumnaglar - avancerade inställningar',
-  array('Album kan vara privata (notera: om du ändrar från "Ja" till "Nej" blir alla nuvarande privata album publika)', 'allow_private_albums', 1, 'f=index.htm&amp;as=admin_picture_thumb_advanced_private_toggle&amp;ae=admin_picture_thumb_advanced_private_toggle_end'), //cpg1.4
-  array('Visa privata album som ikon för icke inloggade användare','show_private',1, 'f=index.htm&amp;as=admin_picture_thumb_advanced_private_icon_show&amp;ae=admin_picture_thumb_advanced_private_icon_show_end'), //cpg1.4
-  array('Förbjudna tecken i filnamn', 'forbiden_fname_char',0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_filename_forbidden_chars&amp;ae=admin_picture_thumb_advanced_filename_forbidden_chars_end'), //cpg1.4
-  //array('Godkända filändelser för uppladdade filer', 'allowed_file_extensions',0, 'f=index.htm&amp;as=&amp;ae=_end'), //cpg1.4
-  array('Tillåtna bildformat', 'allowed_img_types',0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_pic_extensions&amp;ae=admin_picture_thumb_advanced_pic_extensions_end'), //cpg1.4
-  array('Tillåtna videoformat', 'allowed_mov_types',0, 'f=index.htm&amp;as=admin_thumbs_advanced_movie&amp;ae=admin_thumbs_advanced_movie_end'), //cpg1.4
-  array('Autostart för videouppspelning', 'media_autostart',1, 'f=index.htm&amp;as=admin_movie_autoplay&amp;ae=admin_movie_autoplay_end'), //cpg1.4
-  array('Tillåtna ljudformat', 'allowed_snd_types',0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_audio_extensions&amp;ae=admin_picture_thumb_advanced_audio_extensions_end'), //cpg1.4
-  array('Tillåtna dokumentformat', 'allowed_doc_types',0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_doc_extensions&amp;ae=admin_picture_thumb_advanced_doc_extensions_end'), //cpg1.4
-  array('Metod för att skala om bilder','thumb_method',2, 'f=index.htm&amp;as=admin_picture_thumb_advanced_resize_method&amp;ae=admin_picture_thumb_advanced_resize_method_end'), //cpg1.4
-  array('Sökväg till ImageMagick (t.ex. /usr/bin/X11/)', 'impath', 0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_im_path&amp;ae=admin_picture_thumb_advanced_im_path_end'), //cpg1.4
-  //array('Tillåtna bildformat (gäller endast ImageMagick)', 'allowed_img_types',0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_allowed_imagetypes&amp;ae=admin_picture_thumb_advanced_allowed_imagetypes_end'), //cpg1.4
-  array('Kommandoval (Command line options) för ImageMagick', 'im_options', 0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_im_commandline&amp;ae=admin_picture_thumb_advanced_im_commandline_end'), //cpg1.4
-  array('Läs Exif-data i JPEG-filer', 'read_exif_data', 13, 'f=index.htm&amp;as=admin_picture_thumb_advanced_exif&amp;ae=admin_picture_thumb_advanced_exif_end'), //cpg1.4
-  array('Läs IPTC-data i JPEG-filer', 'read_iptc_data', 1, 'f=index.htm&amp;as=admin_picture_thumb_advanced_iptc&amp;ae=admin_picture_thumb_advanced_iptc_end'), //cpg1.4
-  array('Mapp för album <a href="#notice1" class="clickable_option">*</a>', 'fullpath', 0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_albums_dir&amp;ae=admin_picture_thumb_advanced_albums_dir_end'), //cpg1.4
-  array('Mapp för användarnas filer <a href="#notice1" class="clickable_option">*</a>', 'userpics', 0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_userpics_dir&amp;ae=admin_picture_thumb_advanced_userpics_dir_end'), //cpg1.4
-  array('Prefix för mellanliggande bilder <a href="#notice1" class="clickable_option">*</a>', 'normal_pfx', 0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_intermediate_prefix&amp;ae=admin_picture_thumb_advanced_intermediate_prefix_end'), //cpg1.4
-  array('Prefix för tumnaglar <a href="#notice1" class="clickable_option">*</a>', 'thumb_pfx', 0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_thumbs_prefix&amp;ae=admin_picture_thumb_advanced_thumbs_prefix_end'), //cpg1.4
-  array('Förvalt läge för mappar', 'default_dir_mode', 0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_chmod_folder&amp;ae=admin_picture_thumb_advanced_chmod_folder_end'), //cpg1.4
-  array('Förvalt läge för filer', 'default_file_mode', 0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_chmod_files&amp;ae=admin_picture_thumb_advanced_chmod_files_end'), //cpg1.4
-
-  'Användare',
-  array('Tillåt registrering av nya användare', 'allow_user_registration', 1, 'f=index.htm&amp;as=admin_allow_registration&amp;ae=admin_allow_registration_end'), //cpg1.4
-  array('Tillåta icke inloggade användare (gäst eller anonym)', 'allow_unlogged_access', 1, 'f=index.htm&amp;as=admin_allow_unlogged_access&amp;ae=admin_allow_unlogged_access_end'), //cpg1.4
-  array('Registrering kräver verifiering med e-post', 'reg_requires_valid_email', 1, 'f=index.htm&amp;as=admin_registration_verify&amp;ae=admin_registration_verify_end'), //cpg1.4
-  array('Meddela adminstratören vid registrering med e-post', 'reg_notify_admin_email', 1, 'f=index.htm&amp;as=admin_registration_notify&amp;ae=admin_registration_notify_end'), //cpg1.4
-  array('Administratören måste godkänna registrering', 'admin_activation', 1, 'f=index.htm&amp;as=admin_activation&amp;ae=admin_activation_end'),  //cpg1.4
-  array('Tillåt två användare att ha samma e-postadress', 'allow_duplicate_emails_addr', 1, 'f=index.htm&amp;as=admin_allow_duplicate_emails_addr&amp;ae=admin_allow_duplicate_emails_addr_end'), //cpg1.4
-  array('Meddela administratören att det finns uppladdningar som behöver godkännas', 'upl_notify_admin_email', 1, 'f=index.htm&amp;as=admin_approval_notify&amp;ae=admin_approval_notify_end'), //cpg1.4
-  array('Tillåt inloggade användare att se medlemslistan', 'allow_memberlist', 1, 'f=index.htm&amp;as=admin_user_memberlist&amp;ae=admin_user_memberlist_end'), //cpg1.4
-  array('Tillåt användare att ändra e-postadress i sin profil', 'allow_email_change', 1, 'f=index.htm&amp;as=admin_user_allow_email_change&amp;ae=admin_user_allow_email_change_end'), //cpg1.4
-  array('Tillåt användare att ha kontroll över sina bilder i publika gallerier', 'users_can_edit_pics', 1, 'f=index.htm&amp;as=admin_user_editpics_public_start&amp;ae=admin_user_editpics_public_end'), //cpg1.4
-  array('Antal misslyckade loginförsök innan tillfällig blockering (för att undvika attacker)', 'login_threshold', 0, 'f=index.htm&amp;as=admin_user_login_start&amp;ae=admin_user_login_end'), //cpg1.4
-  array('Varaktighet för tillfälling blockering efter misslyckade loginförsök', 'login_expiry', 0, 'f=index.htm&amp;as=admin_user_login_start&amp;ae=admin_user_login_end'), //cpg1.4
-  array('Aktivera rapport till administratören', 'report_post', 1, 'f=index.htm&amp;as=admin_user_enable_report&amp;ae=admin_user_enable_report_end'),  //cpg1.4
-
-// custom profile fields,  //cpg1.4
-  'Anpassade fält för användarprofiler (lämnas tomma om de inte används).
-  Använd Profil 6 för längre texter, såsom biografier.', //cpg1.4
-  array('Profil 1, namn', 'user_profile1_name', 0, 'f=index.htm&amp;as=admin_custom&amp;ae=admin_custom_end'), //cpg1.4
-  array('Profil 2, namn', 'user_profile2_name', 0), //cpg1.4
-  array('Profil 3, namn', 'user_profile3_name', 0), //cpg1.4
-  array('Profil 4, namn', 'user_profile4_name', 0), //cpg1.4
-  array('Profil 5, namn', 'user_profile5_name', 0), //cpg1.4
-  array('Profil 6, namn', 'user_profile6_name', 0), //cpg1.4
-
-  'Anpassade fält för bildbeskrivningar (lämnas tomma om de inte används)',
-  array('Fält 1, namn', 'user_field1_name', 0, 'f=index.htm&amp;as=admin_custom_image&amp;ae=admin_custom_image_end'), //cpg1.4
-  array('Fält 2, namn', 'user_field2_name', 0),
-  array('Fält 3, namn', 'user_field3_name', 0),
-  array('Fält 4, namn', 'user_field4_name', 0),
-
-  'Cookies',
-  array('Namn på cookie', 'cookie_name', 0, 'f=index.htm&amp;as=admin_cookie_name&amp;ae=admin_cookie_name_end'), //cpg1.4
-  array('Sökväg till cookie', 'cookie_path', 0, 'f=index.htm&amp;as=admin_cookie_path&amp;ae=admin_cookie_path_end'), //cpg1.4
-
-  'E-post (oftast behöver inget ändras här, lämna allt blankt om du är osäker)', //cpg1.4
-  array('SMTP-värd (om den lämnas tom används Sendmail)', 'smtp_host', 0, 'f=index.htm&amp;as=admin_email&amp;ae=admin_email_end'), //cpg1.4
-  array('SMTP-användarnamn', 'smtp_username', 0), //cpg1.4
-  array('SMTP-lösenord', 'smtp_password', 0), //cpg1.4
-
-  'Loggning och statistik', //cpg1.4
-  array('Loggningsläge <a href="#notice3" class="clickable_option">***</a>', 'log_mode', 11, 'f=index.htm&amp;as=admin_logging_log_mode&amp;ae=admin_logging_log_mode_end'), //cpg1.4
-  array('Logga e-vykort', 'log_ecards', 1, 'f=index.htm&amp;as=admin_general_log_ecards&amp;ae=admin_general_log_ecards_end'), //cpg1.4
-  array('För detaljerad statistik över röstningar','vote_details',1, 'f=index.htm&amp;as=admin_logging_votedetails&amp;ae=admin_logging_votedetails_end'), //cpg1.4
-  array('För detaljerad statistik över träffar','hit_details',1, 'f=index.htm&amp;as=admin_logging_hitdetails&amp;ae=admin_logging_hitdetails_end'), //cpg1.4
-
-  'Underhåll', //cpg1.4
-  array('Aktivera debug-läge', 'debug_mode', 9, 'f=index.htm&amp;as=debug_mode&amp;ae=debug_mode_end'), //cpg1.4
-  array('Visa anmärkningar i debug-läge', 'debug_notice', 1, 'f=index.htm&amp;as=admin_misc_debug_notices&amp;ae=admin_misc_debug_notices_end'), //cpg1.4
-  array('Galleriet är avstängt', 'offline', 1, 'f=index.htm&amp;as=admin_general_offline&amp;ae=admin_general_offline_end'), //cpg1.4
-);
-
-
-// ------------------------------------------------------------------------- //
-// File db_ecard.php
-// ------------------------------------------------------------------------- //
-
-if (defined('DB_ECARD_PHP')) $lang_db_ecard_php = array(
-  'title' => 'Skickade e-vykort',
-  'ecard_sender' => 'Avsändare',
-  'ecard_recipient' => 'Mottagare',
-  'ecard_date' => 'Datum',
-  'ecard_display' => 'Visa e-vykort',
-  'ecard_name' => 'Namn',
-  'ecard_email' => 'E-post',
-  'ecard_ip' => 'IP',
-  'ecard_ascending' => 'stigande',
-  'ecard_descending' => 'fallande',
-  'ecard_sorted' => 'sorterade',
-  'ecard_by_date' => 'efter datum',
-  'ecard_by_sender_name' => 'efter avsändarens namn',
-  'ecard_by_sender_email' => 'efter avsändarens e-post',
-  'ecard_by_sender_ip' => 'efter avsändarens IP-nummer',
-  'ecard_by_recipient_name' => 'efter mottagarens namn',
-  'ecard_by_recipient_email' => 'efter mottagarens e-post',
-  'ecard_number' => 'Visar kort %s till %s av %s',
-  'ecard_goto_page' => 'Gå till sida',
-  'ecard_records_per_page' => 'Kort per sida',
-  'check_all' => 'Markera alla',
-  'uncheck_all' => 'Avmarkera alla',
-  'ecards_delete_selected' => 'Radera markerade kort',
-  'ecards_delete_confirm' => 'Är du säker på att du vill radera e-vykorten? Klicka i boxen!',
-  'ecards_delete_sure' => 'Jag är säker!',
-);
-
-
-// ------------------------------------------------------------------------- //
-// File db_input.php
-// ------------------------------------------------------------------------- //
-
-if (defined('DB_INPUT_PHP')) $lang_db_input_php = array(
-  'empty_name_or_com' => 'Du måste skriva ditt namn och kommentar.',
-  'com_added' => 'Din kommentar har lagts till.',
-  'alb_need_title' => 'Du måste ha en titel på ditt album!',
-  'no_udp_needed' => 'Ingen uppdatering behövs.',
-  'alb_updated' => 'Albumet har uppdaterats.',
-  'unknown_album' => 'Valt album finns inte eller så saknar du behörighet att lägga till bilder i detta album.',
-  'no_pic_uploaded' => 'Ingen fil laddades upp!<br /><br />Om du verkligen valde en fil att ladda upp, kontrollera att servern tillåter uppladdning...',
-  'err_mkdir' => 'Kan inte skapa mapp %s!',
-  'dest_dir_ro' => 'Mappen %s är skrivskyddad!',
-  'err_move' => 'Det går inte att flytta %s till %s!',
-  'err_fsize_too_large' => 'Bildstorleken är för stor (max storlek är %s x %s)!', //obsolete since cpg1.3 - consider removal in cpg1.4 once upload.php has been overhauled
-  'err_imgsize_too_large' => 'Filstorleken är för stor (max storlek är %s KB)!', //obsolete since cpg1.3 - consider removal in cpg1.4 once upload.php has been overhauled
-  'err_invalid_img' => 'Filformatet är inte ett godkänt filformat!',
-  'allowed_img_types' => 'Du kan bara ladda upp %s bilder.',
-  'err_insert_pic' => 'Filen \'%s\' kan inte läggas till i albumet ',
-  'upload_success' => 'Din fil laddades upp.<br /><br />Den kommer att visas efter att administratören har godkänt den.',
-  'notify_admin_email_subject' => '%s - Meddelande om uppladdning',
-  'notify_admin_email_body' => 'En fil har laddats upp av %s och behöver godkännas av dig. Gå till %s',
-  'info' => 'Information',
-  'com_added' => 'Kommmentar tillagd',
-  'alb_updated' => 'Albumet har uppdaterats',
-  'err_comment_empty' => 'Din kommentar är tom!',
-  'err_invalid_fext' => 'Bara filer med följande filändelser är tillåtna:<br /><br />%s.',
-  'no_flood' => 'Du har gjort den senaste kommentaren för denna fil.<br /><br />Du kan ändra kommentaren om du vill.',
-  'redirect_msg' => 'Du flyttas till ny sida.<br /><br /><br />Klicka på "Fortsätt" om sidan inte laddas automatiskt.',
-  'upl_success' => 'Din fil har lagts till.',
-  'email_comment_subject' => 'Kommmentar har lagts till i bildgalleriet.',
-  'email_comment_body' => 'Någon har postat en kommentar i ditt galleri. Se den på: ',
-  'album_not_selected' => 'Inget album valt', //cpg1.4
-  'com_author_error' => 'En registrerad användare har redan det smeknamnet, logga in eller välj ett annat.', //cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File delete.php
-// ------------------------------------------------------------------------- //
-
-if (defined('DELETE_PHP')) $lang_delete_php = array(
-  'caption' => 'Rubrik',
-  'fs_pic' => 'full bildstorlek',
-  'del_success' => 'Raderingen lyckades!',
-  'ns_pic' => 'normal bildstorlek',
-  'err_del' => 'kan inte raderas',
-  'thumb_pic' => 'tumnagel',
-  'comment' => 'kommentar',
-  'im_in_alb' => 'bild i album',
-  'alb_del_success' => 'Albumet &laquo;%s&raquo; är raderat', //cpg1.4
-  'alb_mgr' => 'Albumhanterare',
-  'err_invalid_data' => 'ogiltig data mottagen i \'%s\'',
-  'create_alb' => 'Skapar album \'%s\'',
-  'update_alb' => 'Uppdaterar album \'%s\' med titel \'%s\' och index \'%s\'',
-  'del_pic' => 'Radera fil',
-  'del_alb' => 'Radera album',
-  'del_user' => 'Radera användare',
-  'err_unknown_user' => 'Vald användare finns inte!',
-  'err_empty_groups' => 'Det finns ingen tabell för grupper eller så är tabellen är tom!', //cpg1.4
-  'comment_deleted' => 'Kommentaren har raderats',
-  'npic' => 'Bild', //cpg1.4
-  'pic_mgr' => 'Bildhanterare', //cpg1.4
-  'update_pic' => 'Uppdaterar bild \'%s\' med filnamn \'%s\' och index \'%s\'', //cpg1.4
-  'username' => 'Användarnamn', //cpg1.4
-  'anonymized_comments' => '%s kommentarer är gjorda anonyma', //cpg1.4
-  'anonymized_uploads' => '%s publika uppladdningar är gjorda anonyma', //cpg1.4
-  'deleted_comments' => '%s kommentarer raderade', //cpg1.4
-  'deleted_uploads' => '%s publika uppladdningar raderade', //cpg1.4
-  'user_deleted' => 'Användaren %s raderad', //cpg1.4
-  'activate_user' => 'Aktivera användare', //cpg1.4
-  'user_already_active' => 'Användaren har redan aktiverats', //cpg1.4
-  'activated' => 'Aktiverad', //cpg1.4
-  'deactivate_user' => 'Avaktivera användare', //cpg1.4
-  'user_already_inactive' => 'Användaren har redan avaktiverats', //cpg1.4
-  'deactivated' => 'Avaktiverad', //cpg1.4
-  'reset_password' => 'Ändra lösenord', //cpg1.4
-  'password_reset' => 'Lösenord ändrat till %s', //cpg1.4
-  'change_group' => 'Ändra primär grupp', //cpg1.4
-  'change_group_to_group' => 'Primär grupp ändrad från %s till %s', //cpg1.4
-  'add_group' => 'Lägg till sekundär grupp', //cpg1.4
-  'add_group_to_group' => 'Lägger till användare %s till grupp %s. Användaren är nu medlem i %s som primär grupp och i %s som sekundär(a) grupp(er).', //cpg1.4
-  'status' => 'Status', //cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File displayecard.php
-// ------------------------------------------------------------------------- //
-
-if (defined('DISPLAYECARD_PHP')) {
-
-$lang_displayecard_php = array(
-  'invalid_data' => 'Innehållet i ditt e-vykort har blivit korrupt av din e-postklient. Kontrollera att länken är korrekt.', //cpg1.4
-);
-}
-
-// ------------------------------------------------------------------------- //
-// File displayimage.php
-// ------------------------------------------------------------------------- //
-
-if (defined('DISPLAYIMAGE_PHP')){
-
-$lang_display_image_php = array(
-  'confirm_del' => 'Är du säker på att du vill RADERA filen? \\nKommentarer kommer också att raderas.', //js-alert
-  'del_pic' => 'RADERA DENNA FIL',
-  'size' => '%s x %s pixlar',
-  'views' => '%s gånger',
-  'slideshow' => 'Bildspel',
-  'stop_slideshow' => 'STOPPA BILDSPEL',
-  'view_fs' => 'Klicka för stor bild',
-  'edit_pic' => 'Ändra filinformation', //cpg1.4
-  'crop_pic' => 'Beskär och rotera',
-  'set_player' => 'Ändra spelare',
-);
-
-$lang_picinfo = array(
-  'title' =>'Filinformation',
-  'Filename' => 'Filnamn',
-  'Album name' => 'Albumnamm',
-  'Rating' => 'Betyg (%s röster)',
-  'Keywords' => 'Nyckelord',
-  'File Size' => 'Filstorlek',
-  'Date Added' => 'Datum tillagd', //cpg1.4
-  'Dimensions' => 'Dimensioner',
-  'Displayed' => 'Visad',
-  'URL' => 'URL', //cpg1.4
-  'submit' => 'Skicka', //cpg1.4
-  'success' => 'Informationen har uppdaterats.', //cpg1.4
-  'details' => 'Detaljer', //cpg1.4
-  'addFav'=>'Lägg till i favoriter',
-  'addFavPhrase'=>'Favoriter',
-  'remFav'=>'Ta bort från favoriter',
-  'ManageExifDisplay' => 'Hantera visning av Exif-information', //cpg1.4
-
-// IPTC tags
-  'iptcTitle'=>'IPTC: titel',
-  'iptcCopyright'=>'IPTC: copyright',
-  'iptcKeywords'=>'IPTC: nyckelord',
-  'iptcCategory'=>'IPTC: kategori',
-  'iptcSubCategories'=>'IPTC: underkategorier',
-
-// Exif tag descriptions made by ecto, most info from:
-// * http://park2.wakwak.com/~tsuruzoh/Computer/Digicams/exif-e.html
-// * http://www.exif.org/Exif2-1.PDF & http://www.exif.org/Exif2-2.PDF
-
-//***** Exif tags which are in the official Exif specification *****//
-
-// Tags relating to version
-  'FlashPixVersion' => 'Flash Pix-version', //cpg1.4
-  'ExifVersion' => 'Exif-version', //cpg1.4
-
-// Tags relating to image configuration/data structure
-  'ColorSpace' => 'Färgrymd', //cpg1.4 (sRGB or Uncalibrated)
-  'ComponentsConfiguration' => 'Komponentkonfiguration', //cpg1.4 (i.e. YCbCr or RGB)
-  'CompressedBitsPerPixel' => 'Bitar per pixel', //cpg1.4 (Information specific to compressed data. The compression mode used for a compressed image is indicated in unit bits per pixel. 8/[this value] should give an estimated JPEG compression ratio.)
-  'xResolution' => 'X-upplösning', //cpg1.4 (The number of pixels per ResolutionUnit (not to be confused with image dimension!))
-  'yResolution' => 'Y-upplösning', //cpg1.4 (The number of pixels per ResolutionUnit (not to be confused with image dimension!))
-  'ExifImageWidth' => 'Bildbredd', //cpg1.4 (This is actually the Exif tag "PixelXDimension")
-  'ExifImageHeight' => 'Bildhöjd', //cpg1.4 (This is actually the Exif tag "PixelYDimension")
-  'Orientation' => 'Bildorientering', //cpg1.4 (The image orientation)  
-  'YCbCrPositioning' => 'YCbCr-positionering', //cpg1.4 (The position of chrominance components in relation to the luminance component)
-  'ResolutionUnit' => 'Upplösningens måttenhet', //cpg1.4 (The unit for measuring XResolution and YResolution, i.e. inches/centimeters. The same unit is used for both XResolution and YResolution.)
-
-// Tags relating to date and time
-  'DateTime' => 'Datum och tid', //cpg1.4 (The date and time the file was changed)
-  'DateTimeOriginal' => 'Datum och tid (original)', //cpg1.4 (The date and time when the original image data was generated)
-  'DateTimedigitized' => 'Datum och tid (digitaliserad)', //cpg1.4 (The date and time when the image was stored as digital data)
-
-// Tags relating to picture-taking conditions
-  'ExposureTime' => 'Exponeringstid', //cpg1.4 (Exposure time, given in seconds)
-  'ExposureBiasValue' => 'Exponeringskompensation', //cpg1.4 (The exposure bias)
-  'ExposureProgram' => 'Exponeringsprogram', //cpg1.4 (The class of the program used by the camera to set exposure when the picture is taken, i.e. Aperture priority/Shutter priority etc)
-  'ExposureMode' => 'Exponeringsmetod', //cpg1.4 (This tag indicates the exposure mode set when the image was shot, i.e. Auto exposure/Manual exposure/Auto bracket)
-
-  'FNumber' => 'Bländartal', //cpg1.4 (The F number)
-  'MaxApertureValue' => 'Största bländartal', //cpg1.4 (The smallest F number of the lens)
-  'FocalLength' => 'Brännvidd', //cpg1.4 (The actual focal length of the lens, in mm. Conversion is not made to the focal length of a 35 mm film camera.)
-  'ISOSpeedRatings'=>'ISO', //cpg1.4 (Indicates the ISO Speed)
-  'MeteringMode' => 'Ljusmätningsmetod', //cpg1.4 (The metering mode, i.e. Spot/Center weighted average etc)  
-  'LightSource' => 'Ljuskälla (vitbalans)', //cpg1.4 (This is actually the whitebalance setting, i.e. Tungsten/Fluorescent etc)
-  'WhiteBalance' => 'Metod för val av vitbalans', //cpg1.4 (This tag indicates the white balance mode set when the image was shot, i.e. Auto white balance/Manual white balance)
-  'SceneCaptureMode' => 'Typ av motiv', //cpg1.4 (This is actually called "SceneCaptureType" according to Exif 2.2 specifications - Landscape/Portrait/Night scene etc)
-  'SceneType' => 'Scentyp', //cpg1.4 (Indicates the type of scene. If a DSC recorded the image, this tag value shall always be set to 1, indicating that the image was directly photographed.)
-  'Flash' => 'Blixt', //cpg1.4 (This tag indicates the status of flash when the image was shot)
-  'DigitalZoomRatio' => 'Digital zoomfaktor', //cpg1.4 (This tag indicates the digital zoom ratio when the image was shot)
-  
-  'GainControl' => 'Bildförstärkning', //cpg1.4 (This tag indicates the degree of overall image gain adjustment i.e. Low/High gain up and Low/High gain down)
-  'Contrast' => 'Kontrast', //cpg1.4 (This tag indicates the direction of contrast processing applied by the camera when the image was shot i.e. Normal/Soft/Hard)  
-  'Saturation' => 'Färgmättnad', //cpg1.4 (This tag indicates the direction of saturation processing applied by the camera when the image was shot i.e. Normal/Low saturation/High saturation)
-  'Sharpness' => 'Skärpa', //cpg1.4 (This tag indicates the direction of sharpness processing applied by the camera when the image was shot i.e. Normal/Soft/Hard)
-
-  'FileSource' => 'Filkälla', //cpg1.4 (Indicates the image source)
-  'CustomerRender' => 'Anpassad bildbearbetning', //cpg1.4 (Actually called "CustomRendered" according to Exif 2.2 specifications - This tag indicates the use of special processing on image data, such as rendering geared to output. When special processing is performed, the reader is expected to disable or minimize any further processing.)
-  
-// Other tags
-  'Make' => 'Tillverkare', //cpg1.4 (The manufacturer of the recording equipment)
-  'Model' => 'Modell', //cpg1.4 (The model name or model number of the equipment)
-  'Software' => 'Programvara', //cpg1.4 (This tag records the name and version of the software or firmware of the camera or image input device used to generate the image)
-  'ImageDescription' => ' Bildbeskrivning', //cpg1.4 (A character string giving the title of the image)
-  'ExifOffset' => 'Exif-index', //cpg1.4 (Where SubIFD area starts, actually called "Exif IFD Pointer" in Exif specs)
-  'IFD1Offset' => 'IFD1-index', //cpg1.4 (Where IFD1 area starts (thumbnail data))
-  'ExifInteroperabilityOffset' => 'Index för Exif-kompatibilitetsdata', //cpg1.4 (Indicates the identification of the Interoperability rule)
-
-//***** End Exif tags which are in the official Exif specification *****//
-
-  
-//***** Non-standard Exif tags (i.e. manufacturer specific tags - for example, in Nikon digicams "ISOSetting" means the same as "ISOSpeedRatings") *****//
-  'ISOSetting' => 'ISO', //cpg1.4 (Should be translated the same way as the "ISOSpeedRatings" tag)
-  'ISOSelection' => 'Metod för val av ISO', //cpg1.4 (Auto/Manual etc)
-
-  'ColorMode' => 'Färgläge', //cpg1.4 (Color/B&W/Monochrome etc)
-  'Quality' => 'Kvalitet', //cpg1.4 (Quality setting)
-  'ImageSharpening' => 'Skärpeinställning', //cpg1.4 (Auto/High etc)
-  'ImageAdjustment' => 'Bildjustering', //cpg1.4 (Auto/Manual/Contrast+/Contrast- etc)
-  'NoiseReduction' => 'Brusreducering', //cpg1.4
-
-  'FocusMode' => 'Fokuseringsmetod', //cpg1.4 (Auto/Manual, Single/Continuous etc)
-  'ManualFocusDistance' => 'Manuellt fokusavstånd', //cpg1.4 (Distance in meters if focus was manually selected, otherwise 0)
-  'AFFocusPosition' => 'Fokusposition vid autofokus', //cpg1.4 (Where focus was when using autofocus, i.e. Center/Top/Bottom/Left/Right etc)
-  'DigitalZoom' => 'Digital zoomfaktor', //cpg1.4 (Same as "DigitalZoomRatio" but manufacturer specific values, should be translated the same way as the "DigitalZoomRatio" tag)
-  'FlashSetting' => 'Blixt', //cpg1.4 (Normal/Red eye etc, should be translated the same way as the "Flash" tag)
-
-  'Comment' => 'Kommentar', // (Note: this is not the Exif tag "UserComment")
-  'Adapter' => 'Konverter', //cpg1.4 (An adapter is what you put over the lens to change the focal length, i.e. this tag shows Off/Fish eye/Wide etc)
-//***** End non-standard Exif tags *****//
-);
-
-$lang_display_comments = array(
-  'OK' => 'OK',
-  'edit_title' => 'Ändra denna kommentar',
-  'confirm_delete' => 'Är du säker på att du vill radera kommentaren?', //js-alert
-  'add_your_comment' => 'Lägg till kommentar',
-  'name'=>'Namn',
-  'comment'=>'Kommentar',
-  'your_name' => 'Anonym',
-  'report_comment_title' => 'Rapportera kommentar till administratören', //cpg1.4
-);
-
-$lang_fullsize_popup = array(
-  'click_to_close' => 'Klicka på bilden för att stänga fönstret',
-);
-
-}
-
-// ------------------------------------------------------------------------- //
-// File ecard.php
-// ------------------------------------------------------------------------- //
-
-if (defined('ECARDS_PHP') || defined('DISPLAYECARD_PHP')) $lang_ecard_php =array(
-  'title' => 'Skicka ett e-vykort',
-  'invalid_email' => '<font color="red"><b>Varning</b></font>: ogiltig e-postadress:', //cpg1.4
-  'ecard_title' => 'Ett e-vykort till dig från %s',
-  'error_not_image' => 'Bara bilder kan skickas som e-vykort.',
-  'view_ecard' => 'Alternativ länk om e-vykortet inte visas korrekt', //cpg1.4
-  'view_ecard_plaintext' => 'För att se e-vykortet, kopiera denna URL och klistra in den i din webbläsare:', //cpg1.4
-  'view_more_pics' => 'Se fler bilder!', //cpg1.4
-  'send_success' => 'Ditt e-vykort har skickats!',
-  'send_failed' => 'Servern kan inte skicka ditt e-vykort...',
-  'from' => 'Från',
-  'your_name' => 'Ditt namn',
-  'your_email' => 'Din e-postadress',
-  'to' => 'Till',
-  'rcpt_name' => 'Mottagarens namn',
-  'rcpt_email' => 'Mottagarens e-postadress',
-  'greetings' => 'Rubrik', //cpg1.4
-  'message' => 'Meddelande', //cpg1.4
-  'ecards_footer' => 'Skickat av  %s från IP %s vid %s (galleriets tid)', //cpg1.4
-  'preview' => 'Förhandsgranskning av e-vykort', //cpg1.4
-  'preview_button' => 'Granska', //cpg1.4
-  'submit_button' => 'Skicka kort', //cpg1.4
-  'preview_view_ecard' => 'Detta kommer att vara en länk när e-vykortet har skapats. Den fungerar inte för förhandsgranskningar.', //cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File report_file.php //cpg1.4
-// ------------------------------------------------------------------------- //
-
-if (defined('REPORT_FILE_PHP') || defined('DISPLAYREPORT_PHP')) $lang_report_php =array(
-  'title' => 'Rapportera till administratör', //cpg1.4
-  'invalid_email' => '<b>Varning</b>: ogiltig e-postadress!', //cpg1.4
-  'report_subject' => 'En rapport från %s gällande galleri %s', //cpg1.4
-  'view_report' => 'Alternativ länk om rapporteringen inte visas korrekt', //cpg1.4
-  'view_report_plaintext' => 'För att se rapporteringen, kopiera denna URL och klistra in den i din webbläsare:', //cpg1.4
-  'view_more_pics' => 'Galleri', //cpg1.4
-  'send_success' => 'Din rapportering har skickats!', //cpg1.4
-  'send_failed' => 'Servern kan inte skicka din rapport...', //cpg1.4
-  'from' => 'Från', //cpg1.4
-  'your_name' => 'Ditt namn', //cpg1.4
-  'your_email' => 'Din e-postadres', //cpg1.4
-  'to' => 'Till', //cpg1.4
-  'administrator' => 'Administratör/moderator', //cpg1.4
-  'subject' => 'Ämne', //cpg1.4
-  'comment_field_name' => 'Rapportering gällande kommentar av "%s"', //cpg1.4
-  'reason' => 'Anledning', //cpg1.4
-  'message' => 'Meddelande', //cpg1.4
-  'report_footer' => 'Skickat av %s från IP %s vid %s (galleriets tid)', //cpg1.4
-  'obscene' => 'Obscent', //cpg1.4
-  'offensive' => 'Stötande', //cpg1.4
-  'misplaced' => 'Utanför ämne/felplacerad', //cpg1.4
-  'missing' => 'Saknas', //cpg1.4
-  'issue' => 'Fel/visas inte', //cpg1.4
-  'other' => 'Annat', //cpg1.4
-  'refers_to' => 'Rapporteringen avser fil', //cpg1.4
-  'reasons_list_heading' => 'Anledning till rapportering:', //cpg1.4
-  'no_reason_given' => 'Ingen anledning har angetts', //cpg1.4
-  'go_comment' => 'Gå till kommentar', //cpg1.4
-  'view_comment' => 'Visa fullständig rapportering med kommentar', //cpg1.4
-  'type_file' => 'Fil', //cpg1.4
-  'type_comment' => 'Kommentar', //cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File editpics.php
-// ------------------------------------------------------------------------- //
-
-if (defined('EDITPICS_PHP')) $lang_editpics_php = array(
-  'pic_info' => 'Filinformation',
-  'album' => 'Album',
-  'title' => 'Titel',
-  'filename' => 'Filnamn', //cpg1.4
-  'desc' => 'Beskrivning',
-  'keywords' => 'Nyckelord<br />(separerade med mellanslag)',
-  'new_keyword' => 'Nya nyckelord', //cpg1.4
-  'new_keywords' => 'Nya nyckelord hittade', //cpg1.4
-  'existing_keyword' => 'Nuvarande nyckelord', //cpg1.4
-  'pic_info_str' => '%s x %s - %s KB - %s visningar - %s röster',
-  'approve' => 'Godkänn fil',
-  'postpone_app' => 'Skjut upp godkännande',
-  'del_pic' => 'Radera fil',
-  'del_all' => 'Radera ALLA filer', //cpg1.4
-  'read_exif' => 'Läs Exif-informationen igen',
-  'reset_view_count' => 'Nollställ räknaren för visningar',
-  'reset_all_view_count' => 'Nollställ ALLA räknare för visningar', //cpg1.4
-  'reset_votes' => 'Nollställ röstningar',
-  'reset_all_votes' => 'Nollställ ALLA röstningar', //cpg1.4
-  'del_comm' => 'Radera kommentarer',
-  'del_all_comm' => 'Radera ALLA kommentarer', //cpg1.4
-  'upl_approval' => 'Godkänn uppladdning', //cpg1.4
-  'edit_pics' => 'Redigera filer',
-  'see_next' => 'Se nästa filer',
-  'see_prev' => 'Se föregående filer',
-  'n_pic' => '%s filer',
-  'n_of_pic_to_disp' => 'Antal filer att visa',
-  'apply' => 'Utför ändringar',
-  'crop_title' => 'Coppermines bildredigerare',
-  'preview' => 'Förhandsgranska',
-  'save' => 'Spara bild',
-  'save_thumb' =>'Spara som tumnagel',
-  'gallery_icon' => 'Använd som min ikon', //cpg1.4
-  'sel_on_img' =>'Markeringen måste vara inom bilden!', //js-alert
-  'album_properties' =>'Albumets egenskaper', //cpg1.4
-  'parent_category' =>'Överliggande kategori', //cpg1.4
-  'thumbnail_view' =>'Tumnagelvisning', //cpg1.4
-  'select_unselect' =>'Markera/avmarkera alla', //cpg1.4
-  'file_exists' => "Filen '%s' finns redan.", //cpg1.4
-  'rename_failed' => "Kan inte byta namn från '%s' till '%s'.", //cpg1.4
-  'src_file_missing' => "Källfil '%s' saknas.", // cpg 1.4
-  'mime_conv' => "Kan inte konvertera filen från '%s' till '%s'",//cpg1.4
-  'forb_ext' => 'Otillåten filändelse.',//cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File faq.php
-// ------------------------------------------------------------------------- //
-
-if (defined('FAQ_PHP')) $lang_faq_php = array(
-  'faq' => 'Vanliga frågor',
-  'toc' => 'Innehåll',
-  'question' => 'Fråga: ',
-  'answer' => 'Svar: ',
-);
-
-if (defined('FAQ_PHP')) $lang_faq_data = array(
-  'Allmän FAQ',
-  array('Varför måste jag registrera mig?', 'Det är administratören som bestämmer om registrering behövs eller inte. Registrering ger medlemmarna fler funktioner så som ladda upp filer, personliga favoritbilder, betygsättning av bilder, göra kommentarer, etc.', 'allow_user_registration', '1'),
-  array('Hur registrerar jag mig?', 'Gå till &quot;Registrera&quot; och fyll i de obligatoriska fälten (och de frivillga om du vill).<br />Om administratören har aktiverat Bekräftelse via e-post kommer du att få ett e-brev till adressen du fyllde i. Där finns instruktioner om hur du ska göra för att aktivera ditt medlemskap. Ditt medlemskap måste vara aktiverat för att du ska kunna logga in.', 'allow_user_registration', '1'), //cpg1.4
-  array('Hur loggar jag in?', 'Gå till &quot;Login&quot; och fyll i ditt användarnamn och ditt lösenord. Du kan kryssa i &quot;Kom ihåg mig&quot; för att alltid loggas in när du besöker sajten.<br /><b>VIKTIGT: Cookies måste vara påslagna i din webbläsare och inte raderas för att &quot;Kom ihåg mig&quot; skall fungera.</b>', 'offline', 0),
-  array('Varför kan jag inte logga in?', 'Har du registrerat dig och klickat på länken i e-brevet som skickades till dig? Länken i e-brevet aktiverar ditt konto. Har du andra problem, kontakta administratören.', 'offline', 0),
-  array('Vad gör jag om jag glömt mitt lösenord?', 'Om sajten har en länk för &quot;Jag har glömt mitt lösenord&quot;, använd den. Annars kontakta administratören för ett nytt.', 'offline', 0),
-  //array('What if I changed my email address?', 'Just simply login and change your email address through &quot;Profile&quot;', 'offline', 0),
-  array('Hur sparar jag en bild i &quot;Mina favoriter&quot;?', 'Klicka på en bild och sedan klickar du på länken &quot;Visa/dölj filinformation&quot; (<img src="images/info.gif" width="16" height="16" border="0" alt="Filinformation" />). Rulla sedan ned på sidan och klicka på &quot;Mina favoriter&quot; som finns under "Filinformation".<br />Administratören kan ha valt att visa filinformationen direkt, i sådant fall behöver du inte klicka på "Visa/dölj filinformation".<br />VIKTIGT: Cookies måste vara påslagna i din webbläsare och inte raderas fär att detta ska fungera.', 'offline', 0),
-  array('Hur betygsätter jag en fil?', 'Klicka på en tumnagel och gå längst ned på sidan och välj det betyg du vill ge.', 'offline', 0),
-  array('Hur lägger jag till en kommentar till en bild?', 'Klicka på en tumnagel och gå längst ned på sidan och skriv in din kommentar.', 'offline', 0),
-  array('Hur laddar jag upp en fil?', 'Gå till &quot;Ladda upp fil&quot; och klicka på &quot;Bläddra&quot;. Hitta filen du vill ladda upp klicka på &quot;Öppna&quot;. Klicka sedan på "Fortsätt" och sedan på "Fortsätt" igen. Välj det album du vill ladda upp filen till och lägg till en titel och beskrivning om du vill. Klicka på &quot;Fortsätt&quot; igen och uppladdningen är klar.<br /><br />Alternativt om du använder <b>Windows XP</b> så kan du ladda upp flera filer samtidigt direkt till ditt privata album genom att använda webbpubliceringsguiden i Windows XP. För instruktioner om hur du gör det och hur du skaffar de nödvändiga filerna, klicka <a href="xp_publish.php">här</a>.', 'allow_private_albums', 1), //cpg1.4
-  array('Vart kan jag ladda upp bilder?', 'Du kan ladda upp filer till ett av dina album i&quot;Mina album&quot;. Administratören kan även låta dig ladda upp filer till ett eller flera av albumen i huvudgalleriet.', 'allow_private_albums', 0),
-  array('Vilken sort och storlek kan det vara på bilderna jag laddar upp?', 'Både storlek och filtyper (jpg, png, etc) är upp till administratören.', 'offline', 0),
-  array('Hur skapar jag, byter namn eller tar bort ett album i &quot;Mitt galleri&quot;?', 'Du ska redan var inloggad som &quot;administratör&quot;<br /> Gå till&quot;Skapa/Sortera mina album och klicka på &quot;Nytt album&quot;. Ändra &quot;Nytt album&quot; till önskat namn.<br />Du kan även döpa om övriga album i galleriet.<br />Klicka på &quot;utför ändringar&quot;.', 'allow_private_albums', 0),
-  array('Hur kan jag ändra och begränsa användarnas tillgång till mitt album?', 'Du ska redan var inloggad som &quot;administratör&quot;<br />Gå till &quot;Ändra mina album&quot;. I &quot;Uppdatera album&quot; menyn, välj vilket album du vil ändra.<br />Här kan du ändra namn, beskrivning, tumnagel, begränsa åtkomst och behörighet för betygsättning och kommentarer.<br />Klicka på &quot;Uppdatera album.', 'allow_private_albums', 0),
-  array('Hur kan jag titta på andra användares gallerier?', 'Gå till &quot;Albumlista&quot; och välj &quot;Användargallerier&quot;.', 'allow_private_albums', 0),
-  array('Vad är cookies?', 'Cookies är textfiler som innehåller en bit data som skickas från webbplatsen till din dator och sparas där.<br />Cookies används för att kunna spara viss information, ofta för att personen ska kunna komma tillbaka utan att behöva logga in igen.', 'offline', 0),
-  array('Var kan jag skaffa detta galleri till min egen webbplats?', 'Coppermine är ett gratis <a href="http://www.opensource.org/">open source</a> multimediagalleri. Det är släppt under GNU GPL-licens. Det är fyllt av funktioner och finns till olika plattformar. Besök <a href="http://coppermine-gallery.net/">Coppermines webbplats</a> för att läsa mer och ladda ned det.', 'offline', 0),
-
-  'Navigering på webbplatsen',
-  array('Vad är &quot;Albumlista&quot;?', 'Här visas hela den kategori som du just nu befinner dig i, med en länk till varje album. Om du inte befinner dig i någon kategori visas hela galleriet med länkar till alla album. Tumnaglarna kan vara länkar till kategorier.', 'offline', 0),
-  array('Vad är &quot;Mitt galleri&quot;?', 'Här kan användare själva skapa sitt eget galleri och lägga till, ta bort eller ändra album och även ladda upp bilder till dem.', 'allow_private_albums', 1), //cpg1.4
-  array('Vad är det för skillnad mellan &quot;Administratörsläge&quot; och &quot;Användarläge&quot;?', 'Det låter en användare, inloggad som administratör, förändra sitt galleri (likväl som andra om det tillåts av konfigureringen).', 'allow_private_albums', 0),
-  array('Vad är &quot;Ladda upp bilder&quot;?', 'Här kan användare ladda upp filer (storlek och filtyp bestäms av administratören) till ett galleri bestämt av administratören.', 'allow_private_albums', 0),
-  array('Vad är &quot;Senast tillagda&quot;?', 'Här visas de senast uppladdade filerna i galleriet.', 'offline', 0),
-  array('Vad är &quot;Senaste kommentarer&quot;?', 'Här visas de senaste kommentarerna i galleriet.', 'offline', 0),
-  array('Vad är &quot;Mest visade&quot;?', 'Här visas de filer som är mest visade för besökare (inloggade eller inte).', 'offline', 0),
-  array('Vad är &quot;Topplista&quot;?', 'Här visas de filer som besökare har givit de högsta betygen (i genomsnitt, t.ex. om fem användare vardera har givit betyget <img src="images/rating3.gif" width="65" height="14" border="0" alt="" />, så får filen då ett genomsnittsbetyg på <img src="images/rating3.gif" width="65" height="14" border="0" alt="" />. Om fem användare betygsätter en fil från 1 till 5 (1,2,3,4,5) ger det ett genomsnittsbetyg på <img src="images/rating3.gif" width="65" height="14" border="0" alt="" />).<br /><br />Betygsskalan går från <img src="images/rating5.gif" width="65" height="14" border="0" alt="best" /> (bäst) till <img src="images/rating0.gif" width="65" height="14" border="0" alt="worst" /> (sämst).', 'offline', 0),
-  array('Vad är &quot;Mina favoriter&quot;?', 'Här kan en användare lagra sina favoritfiler, detta lagras i en cookie på din dator.', 'offline', 0),
-);
-
-
-// ------------------------------------------------------------------------- //
-// File forgot_passwd.php
-// ------------------------------------------------------------------------- //
-
-if (defined('FORGOT_PASSWD_PHP')) $lang_forgot_passwd_php = array(
-  'forgot_passwd' => 'Glömt lösenord',
-  'err_already_logged_in' => 'Du är redan inloggad!',
-  'enter_email' => 'Ange din e-postadress', //cpg1.4
-  'submit' => 'Vidare',
-  'illegal_session' => 'Session för glömt lösenord har gått ut eller är ogiltig.', //cpg1.4
-  'failed_sending_email' => 'Lösenordet kan inte skickas!',
-  'email_sent' => 'Ett e-brev med ditt användarnamn och ett nytt lösenord har skickats till %s', //cpg1.4
-  'verify_email_sent' => 'Ett e-brev har skickats till %s. Var vänlig läs din e-post för att avsluta processen.', //cpg1.4
-  'err_unk_user' => 'Vald användare finns inte!',
-  'account_verify_subject' => '%s - Begäran om nytt lösenord', //cpg1.4
-  'account_verify_body' => 'Du har begärt ett nytt lösenord. Om du vill fortsätta och få ett nytt lösenord skickat till dig, klicka på följade länk:
-
-%s', //cpg1.4
-  'passwd_reset_subject' => '%s - Ditt nya lösenord', //cpg1.4
-  'passwd_reset_body' => 'Här är ditt nya lösenord:
-Användarnamn: %s
-Lösenord: %s
-Klicka %s för att logga in.', //cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File groupmgr.php
-// ------------------------------------------------------------------------- //
-
-if (defined('GROUPMGR_PHP')) $lang_groupmgr_php = array(
-  'group_name' => 'Grupp', //cpg1.4
-  'permissions' => 'Behörigheter', //cpg1.4
-  'public_albums' => 'Ladda upp till publika album', //cpg1.4
-  'personal_gallery' => 'Personligt galleri', //cpg1.4
-  'upload_method' => 'Uppladdningssätt', //cpg1.4
-  'disk_quota' => 'Kvot', //cpg1.4
-  'rating' => 'Betyg', //cpg1.4
-  'ecards' => 'E-vykort', //cpg1.4
-  'comments' => 'Kommentarer', //cpg1.4
-  'allowed' => 'Tillåt', //cpg1.4
-  'approval' => 'Godkännande', //cpg1.4
-  'boxes_number' => 'Antal fält', //cpg1.4
-  'variable' => 'variabelt', //cpg1.4
-  'fixed' => 'fixerat', //cpg1.4
-  'apply' => 'Utför ändringar',
-  'create_new_group' => 'Skapa ny grupp',
-  'del_groups' => 'Radera markerade grupper',
-  'confirm_del' => 'Varning, när du raderar en grupp kommer medlemmar som tillhör den gruppen att flyttas till till gruppen "Registered"!\n\nVill du verkligen fortsätta?', //js-alert
-  'title' => 'Hantera grupper',
-  'num_file_upload' => 'Fält för uppladdning av filer', //cpg1.4
-  'num_URI_upload' => 'Fält för URI-uppladdning', //cpg1.4
-  'reset_to_default' => 'Återgå till förvalt namn (%s) - rekommenderat!', //cpg1.4
-  'error_group_empty' => 'Tabellen för grupper är tom!<br /><br />Förinställda grupper har skapats, ladda om denna sida.', //cpg1.4
-  'explain_greyed_out_title' => 'Varför är denna rad grå?', //cpg1.4
-  'explain_guests_greyed_out_text' => 'Du kan inte ändra egenskaperna för denna grupp eftersom du satt &quot;Tillåta icke inloggade användare (gäst eller anonym)&quot; till &quot;Nej&quot; på konfigurationssidan. Alla gäster (medlemmar tillhörande gruppen %s) kan inte göra något annat än att logga in, därför gäller inte inställningarna för dem.', //cpg1.4
-  'explain_banned_greyed_out_text' => 'Du kan inte ändra egenskaperna för gruppen %s eftersom dess medlemmar inte kan göra något ändå.', //cpg1.4
-  'group_assigned_album' => 'Tilldelade album', //cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File index.php
-// ------------------------------------------------------------------------- //
-
-if (defined('INDEX_PHP')){
-
-$lang_index_php = array(
-  'welcome' => 'Välkommen!',
-);
-
-$lang_album_admin_menu = array(
-  'confirm_delete' => 'Är du säker på att du vill RADERA detta album? \\nAlla filer och kommentarer kommer också att raderas.', //js-alert
-  'delete' => 'Radera',
-  'modify' => 'Egenskaper',
-  'edit_pics' => 'Ändra filer',
-);
-
-$lang_list_categories = array(
-  'home' => 'Hem',
-  'stat1' => '<b>[pictures]</b> filer i <b>[albums]</b> album och <b>[cat]</b> kategorier med <b>[comments]</b> kommentarer, totalt <b>[views]</b> visningar',
-  'stat2' => '<b>[pictures]</b> filer i <b>[albums]</b> album, totalt <b>[views]</b> visningar',
-  'xx_s_gallery' => '%ss galleri',
-  'stat3' => '<b>[pictures]</b> filer i <b>[albums]</b> album med <b>[comments]</b> kommentarer, totalt <b>[views]</b> visningar',
-);
-
-$lang_list_users = array(
-  'user_list' => 'Lista över medlemmar',
-  'no_user_gal' => 'Det finns inga medlemsgallerier',
-  'n_albums' => '%s album',
-  'n_pics' => '%s fil(er)',
-);
-
-$lang_list_albums = array(
-  'n_pictures' => '%s filer',
-  'last_added' => ', senaste tillagd den %s',
-  'n_link_pictures' => '%s länkade filer', //cpg1.4
-  'total_pictures' => '%s filer totalt', //cpg1.4
-);
-
-}
-
-// ------------------------------------------------------------------------- //
-// File keywordmgr.php //cpg1.4
-// ------------------------------------------------------------------------- //
-
-if (defined('KEYWORDMGR_PHP')) $lang_keywordmgr_php = array(
-  'title' => 'Hantera nyckelord', //cpg1.4
-  'edit' => 'Ändra', //cpg1.4
-  'delete' => 'Radera', //cpg1.4
-  'search' => 'Sök', //cpg1.4
-  'keyword_test_search' => 'Sök efter %s i ett nytt fönster', //cpg1.4
-  'keyword_del' => 'Ta bort nyckelord %s', //cpg1.4
-  'confirm_delete' => 'Är du säker på att du vill ta bort nyckelordet %s från galleriet?', //cpg1.4  // js-alert
-  'change_keyword' => 'Ändra nyckelord', //cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File login.php
-// ------------------------------------------------------------------------- //
-
-if (defined('LOGIN_PHP')) $lang_login_php = array(
-  'login' => 'Logga in',
-  'enter_login_pswd' => 'Ange ditt användarnamn och lösenord för att logga in',
-  'username' => 'Användarnamn',
-  'password' => 'Lösenord',
-  'remember_me' => 'Kom ihåg mig',
-  'welcome' => 'Välkommen %s ...',
-  'err_login' => '*** Kunde inte logga in. Försök igen. ***',
-  'err_already_logged_in' => 'Du är redan inloggad!',
-  'forgot_password_link' => 'Jag har glömt mitt lösenord',
-  'cookie_warning' => 'Varning! Din webbläsare hanterar inte cookies!', //cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File logout.php
-// ------------------------------------------------------------------------- //
-
-if (defined('LOGOUT_PHP')) $lang_logout_php = array(
-  'logout' => 'Logga ut',
-  'bye' => 'Hej då %s ...',
-  'err_not_loged_in' => 'Du är inte inloggad!',
-);
-
-// ------------------------------------------------------------------------- //
-// File minibrowser.php  //cpg1.4
-// ------------------------------------------------------------------------- //
-
-if (defined('MINIBROWSER_PHP')) $lang_minibrowser_php = array(
-  'close' => 'Stäng', //cpg1.4
-  'submit' => 'OK', //cpg1.4
-  'up' => 'Upp en nivå', //cpg1.4
-  'current_path' => 'Nuvarande sökväg', //cpg1.4
-  'select_directory' => 'Välj en mapp', //cpg1.4
-  'click_to_close' => 'Klicka på bilden för att stänga fönstret',
-);
-
-// ------------------------------------------------------------------------- //
-// File modifyalb.php
-// ------------------------------------------------------------------------- //
-
-if (defined('MODIFYALB_PHP')) $lang_modifyalb_php = array(
-  'upd_alb_n' => 'Uppdatera album %s',
-  'general_settings' => 'Allmänna inställningar',
-  'alb_title' => 'Albumets titel',
-  'alb_cat' => 'Albumets kategori',
-  'alb_desc' => 'Albumets beskrivning',
-  'alb_keyword' => 'Albumets nyckelord', //cpg1.4
-  'alb_thumb' => 'Albumets tumnagel',
-  'alb_perm' => 'Albumets behörigheter',
-  'can_view' => 'Albumet kan ses av',
-  'can_upload' => 'Besökare kan ladda upp filer',
-  'can_post_comments' => 'Besökare kan posta kommentarer',
-  'can_rate' => 'Besökare kan betygsätta filer',
-  'user_gal' => 'Användargallerier',
-  'no_cat' => '* Ingen kategori *',
-  'alb_empty' => 'Albumet är tomt',
-  'last_uploaded' => 'Senast uppladdade',
-  'public_alb' => 'Alla (publikt album)',
-  'me_only' => 'Bara jag',
-  'owner_only' => 'Albumets ägare (%s)',
-  'groupp_only' => 'Medlemmar i gruppen \'%s\'',
-  'err_no_alb_to_modify' => 'Inget album du kan ändra i databasen.',
-  'update' => 'Uppdatera album',
-  'reset_album' => 'Återställ album', //cpg1.4
-  'reset_views' => 'Ställ räknare till &quot;0&quot; i %s', //cpg1.4
-  'reset_rating' => 'Återställ betyg för alla filer i %s', //cpg1.4
-  'delete_comments' => 'Radera alla kommentarer i %s', //cpg1.4
-  'delete_files' => '%sOåterkalleligen%s radera alla filer i %s', //cpg1.4
-  'views' => 'visningar', //cpg1.4
-  'votes' => 'röster', //cpg1.4
-  'comments' => 'kommentarer', //cpg1.4
-  'files' => 'filer', //cpg1.4
-  'submit_reset' => 'Skicka ändringar', //cpg1.4
-  'reset_views_confirm' => 'Jag är säker', //cpg1.4
-  'notice1' => '(*) Beror på %sgruppinställningar%s',  //cpg1.4 //(do not translate %s!)
-  'alb_password' => 'Lösenord för album', //cpg1.4
-  'alb_password_hint' => 'Ledtråd till albumets lösenord', //cpg1.4
-  'edit_files' =>'Ändra filer', //cpg1.4
-  'parent_category' =>'Överliggande kategori', //cpg1.4
-  'thumbnail_view' =>'Visa tumnagel', //cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File phpinfo.php
-// ------------------------------------------------------------------------- //
-
-if (defined('PHPINFO_PHP')) $lang_phpinfo_php = array(
-  'php_info' => 'PHP info',
-  'explanation' => 'Detta är en presentation genererad av PHP-funktionen <a href="http://www.php.net/phpinfo">phpinfo()</a>, och visas i Coppermine.',
-  'no_link' => 'Att låta andra se din phpinfo kan vara en säkerhetsrisk, därför kan bara du som administratör se denna sida. Du kan inte skicka denna länk till någon annan, de kommer att vägras tillträde.',
-);
-
-// ------------------------------------------------------------------------- //
-// File picmgr.php //cpg1.4
-// ------------------------------------------------------------------------- //
-if (defined('PICMGR_PHP')) $lang_picmgr_php = array(
-  'pic_mgr' => 'Sortera bilder', //cpg1.4
-  'select_album' => 'Välj album', //cpg1.4
-  'delete' => 'Radera', //cpg1.4
-  'confirm_delete1' => 'Är du säker på att du vill radera bilden?', //cpg1.4
-  'confirm_delete2' => '\nBilden kommer att raderas permanent.', //cpg1.4
-  'apply_modifs' => 'Utför ändringar', //cpg1.4
-  'confirm_modifs' => 'Bekräfta ändringar', //cpg1.4
-  'pic_need_name' => 'Bilden måste ha ett namn!', //cpg1.4
-  'no_change' => 'Du har inte gjort några ändringar!', //cpg1.4
-  'no_album' => '* Inget album *', //cpg1.4
-  'explanation_header' => 'Den anpassade sorteringordningen som du kan välja på denna sida kommer bara att användas om', //cpg1.4
-  'explanation1' => 'Administratören har i konfigurationen satt "Förvald sorteringsordning" till "Position, stigande" eller "Position, fallande" (allmän inställning för alla användare som inte själva har valt någon annan sorteringsordning).', //cpg1.4
-  'explanation2' => 'Användaren har valt "Position, stigande" eller "Position, fallande" på tumnagelsidan (per användare).', //cpg1.4
-);
-
-
-// ------------------------------------------------------------------------- //
-// File pluginmgr.php //cpg1.4
-// ------------------------------------------------------------------------- //
-
-if (defined('PLUGINMGR_PHP')){
-
-$lang_pluginmgr_php = array(
-  'confirm_uninstall' => 'Är du säker på att du vill AVINSTALLERA denna insticksmodul', //cpg1.4
-  'confirm_delete' => 'Är du säker på att du vill RADERA denna insticksmodul', //cpg1.4
-  'pmgr' => 'Hantering av insticksmoduler (plugins)', //cpg1.4
-  'name' => 'Namn:', //cpg1.4
-  'author' => 'Skapare:', //cpg1.4
-  'desc' => 'Beskrivning:', //cpg1.4
-  'vers' => 'v', //cpg1.4
-  'i_plugins' => 'Installerade insticksmoduler (plugins)', //cpg1.4
-  'n_plugins' => 'Ej installerade insticksmoduler', //cpg1.4
-  'none_installed' => 'Ingen installerad', //cpg1.4
-  'operation' => 'Funktion', //cpg1.4
-  'not_plugin_package' => 'Den uppladdade filen är inte ett paket för insticksmodul (plugin package).', //cpg1.4
-  'copy_error' => 'Det uppstod ett fel vid kopiering av insticksmodulen till mappen för insticksmoduler.', //cpg1.4
-  'upload' => 'Ladda upp', //cpg1.4
-  'configure_plugin' => 'Konfigurera insticksmodul', //cpg1.4
-  'cleanup_plugin' => 'Rensa insticksmodul', //cpg1.4
-);
-}
-
-// ------------------------------------------------------------------------- //
-// File ratepic.php
-// ------------------------------------------------------------------------- //
-
-if (defined('RATEPIC_PHP')) $lang_rate_pic_php = array(
-  'already_rated' => 'Du har redan betygsatt denna fil',
-  'rate_ok' => 'Din röst har godkänts',
-  'forbidden' => 'Du kan inte betygsätta dina egna filer.',
-);
-
-// ------------------------------------------------------------------------- //
-// File register.php & profile.php
-// ------------------------------------------------------------------------- //
-
-if (defined('REGISTER_PHP') || defined('PROFILE_PHP')) {
-
-$lang_register_disclamer = <<<EOT
-Administratörerna på {SITE_NAME} försöker ta bort och ändra stötande material så fort som möjligt, dock är det inte möjligt att granska alla inlägg som görs. Du intygar och accepterar därför härmed att alla inlägg som görs här uttrycker författarens åsikter och inte administratörens eller webbmasterns (utom inlägg gjorda av dem själva), och de kan därför inte hållas ansvariga.<br />
-<br />
-Du godkänner att inte göra inlägg som är skändliga, obscena, vulgära, innehåller förtal, hatiska, hotande, sexuella eller inlägg som strider mot gällade lag. Du godkänner att administratörer, moderatorer eller webbmastern för {SITE_NAME} har full rätt att ta bort eller ändra innehållet så att det överensstämmer med ovanstående. Som användare godkänner du att användarinformation lagras i en databas och används på denna webbplats. Även om informationen inte kommer att göras tillgänglig för tredje part kan webmastern inte hållas ansvarig för eventuell hackning som gör att informationen sprids.<br />
-<br />
-Den här webbplatsen använder cookies för att lagra information på din dator. Dessa cookies fungerar enbart för att webbplatsen ska fungera och se bra ut för dig som användare. E-postadressen du anger är enbart till för att skicka detaljer om registreringen.<br />
-<br />
-Genom att klicka "Jag godkänner" nedan godkänner du ovanstående villkor och att du är bunden att följa dem.
-EOT;
-
-$lang_register_php = array(
-  'page_title' => 'Registrering av användare',
-  'term_cond' => 'Regler och villkor',
-  'i_agree' => 'Jag godkänner!',
-  'submit' => 'Skicka',
-  'err_user_exists' => 'Användarnamnet du valt finns redan, välj ett annat.',
-  'err_password_mismatch' => 'De två skrivna lösenorden stämmer inte överens, skriv in dem igen.',
-  'err_uname_short' => 'Användarnamnet måste vara minst 2 tecken långt.',
-  'err_password_short' => 'Lösenordet måste vara minst 2 tecken långt.',
-  'err_uname_pass_diff' => 'Användarnamn och lösenord måste vara olika.',
-  'err_invalid_email' => 'E-postadressen är ogiltig.',
-  'err_duplicate_email' => 'E-postadressen du angav finns redan registrerad.',
-  'enter_info' => 'Fyll i informationen för registrering',
-  'required_info' => 'Obligatorisk information',
-  'optional_info' => 'Frivillig information',
-  'username' => 'Användarnamn',
-  'password' => 'Lösenord',
-  'password_again' => 'Lösenord igen',
-  'email' => 'E-postadress',
-  'location' => 'Kommer från',
-  'interests' => 'Intressen',
-  'website' => 'Hemsida',
-  'occupation' => 'Sysselsättning',
-  'error' => 'FEL',
-  'confirm_email_subject' => '%s - Registreringen bekräftas',
-  'information' => 'Information',
-  'failed_sending_email' => 'E-brev med bekräftelsen av registrerigen kan inte skickas!',
-  'thank_you' => 'Tack för att du registrerade dig!<br /><br />Ett e-brev med information om hur du ska aktivera ditt konto har skickats till den e-postadress du angav.',
-  'acct_created' => 'Ditt konto har skapats och du kan nu logga in med ditt användarnamn och lösenord.',
-  'acct_active' => 'Ditt konto är nu aktiverat och du kan nu logga in med ditt användarnamn och lösenord.',
-  'acct_already_act' => 'Kontot är redan aktiverat!', //cpg1.4
-  'acct_act_failed' => 'Kontot kan inte aktiveras!',
-  'err_unk_user' => 'Vald användare finns inte.',
-  'x_s_profile' => '%ss profil',
-  'group' => 'Grupp',
-  'reg_date' => 'Registrerade sig',
-  'disk_usage' => 'Diskanvändning',
-  'change_pass' => 'Ändra lösenord',
-  'current_pass' => 'Nuvarande lösenord',
-  'new_pass' => 'Nytt lösenord',
-  'new_pass_again' => 'Nytt lösenord igen',
-  'err_curr_pass' => 'Nuvarande lösenord är felaktigt',
-  'apply_modif' => 'Utför ändringar',
-  'change_pass' => 'Ändra mitt lösenord',
-  'update_success' => 'Din profil har uppdaterats',
-  'pass_chg_success' => 'Ditt lösenord har ändrats',
-  'pass_chg_error' => 'Ditt lösenord har inte ändrats!',
-  'notify_admin_email_subject' => '%s - Meddelande om registrering',
-  'last_uploads' => 'Senast uppladdade fil.<br />Klicka för att se alla uppladdningar av', //cpg1.4
-  'last_comments' => 'Senaste kommentar.<br />Klicka för att se alla kommentarer gjorda av', //cpg1.4
-  'notify_admin_email_body' => 'En ny användare med användarnamn "%s" har registrerats i galleriet',
-  'pic_count' => 'Filer uppladdade', //cpg1.4
-  'notify_admin_request_email_subject' => '%s - Meddelande om registrering', //cpg1.4
-  'thank_you_admin_activation' => 'Tack.<br /><br />Din begäran om aktivering av konto har skickats till administratören. Du kommer få ett e-brev om du blir godkänd.', //cpg1.4
-  'acct_active_admin_activation' => 'Kontot är nu aktiverat och ett e-brev har skickats till användaren.', //cpg1.4
-  'notify_user_email_subject' => '%s - Meddelande om aktivering', //cpg1.4
-);
-
-$lang_register_confirm_email = <<<EOT
-Tack för att du registrerar dig hos {SITE_NAME}
-
-För att aktivera ditt konto med användarnamn "{USER_NAME}", måste du klicka på länken eller kopiera den och klistra in den i din webbläsare.
-
-<a href="{ACT_LINK}">{ACT_LINK}</a>
-
-
-Med vänliga hälsningar,
-{SITE_NAME}
-
-EOT;
-
-
-$lang_register_approve_email = <<<EOT
-En ny användare med användarnamn "{USER_NAME}" har registrerat sig i galleriet.
-
-För att kontot ska aktiveras måste du klicka på länken eller kopiera den och klistra in den i din webbläsare.
-
-<a href="{ACT_LINK}">{ACT_LINK}</a>
-
-EOT;
-
-$lang_register_activated_email = <<<EOT
-Ditt konto har blivit godkänt och har aktiverats.
-
-Du kan nu logga in på <a href="{SITE_LINK}">{SITE_LINK}</a> med användarnamn "{USER_NAME}"
-
-
-Med vänliga hälsningar,
-{SITE_NAME}
-
-EOT;
-}
-
-
-
-// ------------------------------------------------------------------------- //
-// File reviewcom.php
-// ------------------------------------------------------------------------- //
-
-if (defined('REVIEWCOM_PHP')) $lang_reviewcom_php = array(
-  'title' => 'Granska kommentarer',
-  'no_comment' => 'Det finns inga kommentarer.',
-  'n_comm_del' => '%s kommentarer raderade',
-  'n_comm_disp' => 'Antal kommentarer att visa',
-  'see_prev' => 'Se föregående',
-  'see_next' => 'Se nästa',
-  'del_comm' => 'Radera markerade kommentarer',
-  'user_name' => 'Namn', //cpg1.4
-  'date' => 'Datum', //cpg1.4
-  'comment' => 'Kommentar', //cpg1.4
-  'file' => 'Fil', //cpg1.4
-  'name_a' => 'Användarnamn, stigande', //cpg1.4
-  'name_d' => 'Användarnamn, fallande', //cpg1.4
-  'date_a' => 'Datum, stigande', //cpg1.4
-  'date_d' => 'Datum, fallande', //cpg1.4
-  'comment_a' => 'Kommentar, stigande', //cpg1.4
-  'comment_d' => 'Kommentar, fallande', //cpg1.4
-  'file_a' => 'Fil, stigande', //cpg1.4
-  'file_d' => 'Fil, fallande', //cpg1.4
-);
-
-
-// ------------------------------------------------------------------------- //
-// File search.php                                                           //
-// ------------------------------------------------------------------------- //
-
-
-if (defined('SEARCH_PHP')){
-
-$lang_search_php = array(
-  'title' => 'Sök bland filer', //cpg1.4
-  'submit_search' => 'sök', //cpg1.4
-  'keyword_list_title' => 'Lista med nyckelord', //cpg1.4
-  'keyword_msg' => 'Ovanstående lista är inte heltäckande. Den täcker inte ord från titlar på bilder eller beskrivningar. Testa en fulltextsökning.',  //cpg1.4
-  'edit_keywords' => 'Ändra nyckelord', //cpg1.4
-  'search in' => 'Sök i:', //cpg1.4
-  'ip_address' => 'IP', //cpg1.4
-  'fields' => 'Sök i', //cpg1.4
-  'age' => 'Ålder', //cpg1.4
-  'newer_than' => 'Nyare än', //cpg1.4
-  'older_than' => 'Äldre än', //cpg1.4
-  'days' => 'dagar', //cpg1.4
-  'all_words' => 'Matcha alla ord (AND)', //cpg1.4
-  'any_words' => 'Matcha något ord (OR)', //cpg1.4
-);
-
-$lang_adv_opts = array(
-  'title' => 'Titel', //cpg1.4
-  'caption' => 'Rubrik', //cpg1.4
-  'keywords' => 'Nyckelord', //cpg1.4
-  'owner_name' => 'Ägarens namn', //cpg1.4
-  'filename' => 'Filnamn', //cpg1.4
-);
-
-}
-
-// ------------------------------------------------------------------------- //
-// File searchnew.php
-// ------------------------------------------------------------------------- //
-
-if (defined('SEARCHNEW_PHP')) $lang_search_new_php = array(
-  'page_title' => 'Sök nya filer',
-  'select_dir' => 'Välj mapp',
-  'select_dir_msg' => '<br />Denna funktion låter dig lägga in flera filer samtidigt som du har laddat upp till servern via FTP.<br />Välj den mapp du laddade upp filerna till.', //cpg1.4
-  'no_pic_to_add' => 'Det finns ingen fil att lägga till',
-  'need_one_album' => 'Det måste finnas minst ett album för att använda denna funktion',
-  'warning' => 'Varning',
-  'change_perm' => 'kan inte skriva till mappen, du måste ändra rättigheterna för mappen till 755 eller 777 innan filerna kan läggas till! Det görs lättast med en FTP-klient',
-  'target_album' => '<b>Lägg filer från &quot;</b>%s<b>&quot; i </b>%s',
-  'folder' => 'Mapp',
-  'image' => 'Fil',
-  'album' => 'Album',
-  'result' => 'Resultat',
-  'dir_ro' => 'Ej skrivbar. ',
-  'dir_cant_read' => 'Ej läsbar. ',
-  'insert' => 'Lägger till nya filer i galleriet',
-  'list_new_pic' => 'Lista över nya filer',
-  'insert_selected' => 'Lägg till markerade filer',
-  'no_pic_found' => 'Inga filer hittades',
-  'be_patient' => 'Var god vänta, det tar lite tid att lägga till filerna...',
-  'no_album' => 'inget album är valt',
-  'result_icon' => 'klicka för detaljer eller för att ladda om',  //cpg1.4
-  'notes' =>  '<ul>'.
-                          '<li><b>OK</b> : betyder att filen är tillagd'.
-                          '<li><b>DP</b> : betyder att filen är en dubblett och att den redan finns i databasen'.
-                          '<li><b>PB</b> : betyder att filen inte kunde läggas till, kontrollera konfigurationen och rättigheterna på mappen där filerna finns'.
-                          '<li><b>NA</b> : betyder att du inte har valt något album som filerna ska läggas till i, tryck på "<a href="javascript:history.back(1)">tillbaka</a>" och välj ett album (om du inte har något album så <a href="albmgr.php">skapa ett först</a>)</li>'.
-                          '<li>Om "skyltarna" med OK, DP, PB inte visas, klicka på den trasiga filen för att se felmeddelandet som genererats av PHP'.
-                          '<li>Om du får "timeout" i din webbläsare, klicka på Ladda om-knappen i din webbläsare'.
-                          '</ul>',
-  'select_album' => 'välj album',
-  'check_all' => 'Markera alla',
-  'uncheck_all' => 'Avmarkera alla',
-  'no_folders' => 'Det finns inga mappar i albumet än. Skapa minst en egen mapp i mappen "albums" och ladda upp dina filer dit. Du ska inte ladda upp dem till mapparna "userpics" eller "edit", de är reserverade för uppladdning via http och interna syften.', //cpg1.4
-   'albums_no_category' => 'Album utan kategori', //cpg1.4 // album pulldown mod, added by frogfoot
-  'personal_albums' => '* Personliga album', //cpg1.4 // album pulldown mod, added by frogfoot
-  'browse_batch_add' => 'Bläddringsbart gränssnitt (rekommenderat)', //cpg1.4
-  'edit_pics' => 'Ändra filer', //cpg1.4
-  'edit_properties' => 'Egenskaper för album', //cpg1.4
-  'view_thumbs' => 'Visning av tumnaglar', //cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File stat_details.php //cpg1.4
-// ------------------------------------------------------------------------- //
-
-if (defined('STAT_DETAILS_PHP')) $lang_stat_details_php = array(
-  'show_hide' => 'visa/dölj denna kolumn', //cpg1.4
-  'vote' => 'Detaljer för röstning', //cpg1.4
-  'hits' => 'Detaljer för träffar', //cpg1.4
-  'stats' => 'Statistik för röstning', //cpg1.4
-  'sdate' => 'Datum', //cpg1.4
-  'rating' => 'Betyg', //cpg1.4
-  'search_phrase' => 'Fraser för sökning', //cpg1.4
-  'referer' => 'Hänvisningar', //cpg1.4
-  'browser' => 'Webbläsare', //cpg1.4
-  'os' => 'Operativsystem', //cpg1.4
-  'ip' => 'IP', //cpg1.4
-  'sort_by_xxx' => 'Sortera efter %s', //cpg1.4
-  'ascending' => 'stigande', //cpg1.4
-  'descending' => 'fallande', //cpg1.4
-  'internal' => 'intern', //cpg1.4
-  'close' => 'Stäng', //cpg1.4
-  'hide_internal_referers' => 'Dölj interna hänvisningar', //cpg1.4
-  'date_display' => 'Datumvisning', //cpg1.4
-  'submit' => 'Skicka / ladda om', //cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File thumbnails.php
-// ------------------------------------------------------------------------- //
-
-// Void
-
-// ------------------------------------------------------------------------- //
-// File upload.php
-// ------------------------------------------------------------------------- //
-
-if (defined('UPLOAD_PHP')) $lang_upload_php = array(
-  'title' => 'Ladda upp fil',
-  'custom_title' => 'Anpassat formulär för begäran',
-  'cust_instr_1' => 'Du kan själv välja antal fält för uppladdning. Du kan dock inte välja fler än vad som anges nedan.',
-  'cust_instr_2' => 'Antal fält för begäran',
-  'cust_instr_3' => 'Fält för uppladdning: %s',
-  'cust_instr_4' => 'Fält för uppladdning via URI/URL: %s',
-  'cust_instr_5' => 'Fält för uppladdning via URI/URL:',
-  'cust_instr_6' => 'Fält för uppladdning:',
-  'cust_instr_7' => 'Skriv in antal för varje typ av uppladdningsfält du vill ha vid detta tillfälle. Klicka sedan på "Fortsätt".',
-  'reg_instr_1' => 'Ogiltig funktion för skapande av formulär.',
-  'reg_instr_2' => 'Här kan du ladda upp dina filer med hjälp av fälten nedan. Storleken på filerna du laddar upp får inte överstiga %s KB styck. Zip-filer som laddas upp kommer att fortsätta vara komprimerade, oavsett om du använder "Filuppladdningar" eller "URI/URL-uppladdningar" nedan.',
-  'reg_instr_3' => 'Om du vill att Zip-filer ska packas upp måste du använda uppladdningsfältet som finns i "Packa upp Zip-filer".',
-  'reg_instr_4' => 'När du använder "URI/URL-uppladdning", ange sökvägen till filen så här: http://www.minsajt.com/bilder/exempel.jpg',
-  'reg_instr_5' => 'Klicka på "Fortsätt" när du är färdig.',
-  'reg_instr_6' => 'Uppackade Zip-uppladdningar:',
-  'reg_instr_7' => 'Filuppladdningar:',
-  'reg_instr_8' => 'URI/URL-uppladdningar:',
-  'error_report' => 'Felrapport',
-  'error_instr' => 'Följande uppladdningar stötte på fel:',
-  'file_name_url' => 'Filnamn/URL',
-  'error_message' => 'Felmeddelande',
-  'no_post' => 'Filen laddades inte upp med POST.',
-  'forb_ext' => 'Otillåten filändelse.',
-  'exc_php_ini' => 'Överskriden tillåten filstorlek i php.ini.',
-  'exc_file_size' => 'Överskriden tillåten filstorlek satt av administratören.',
-  'partial_upload' => 'Endast en del laddades upp.',
-  'no_upload' => 'Ingen uppladdning skedde.',
-  'unknown_code' => 'Okänt PHP-uppladdningsfel inträffade.',
-  'no_temp_name' => 'Ingen uppladdning - inget tillfälligt namn.',
-  'no_file_size' => 'Innehåller ingen eller korrupt data',
-  'impossible' => 'Kan inte flyttas.',
-  'not_image' => 'Inte en bild/korrupt bild',
-  'not_GD' => 'Inte en GD-ändelse.',
-  'pixel_allowance' => 'Höjden eller bredden på de uppladdade bilderna överskrider vad som tillåts.', //cpg1.4
-  'incorrect_prefix' => 'Felaktigt prefix för URI/URL',
-  'could_not_open_URI' => 'Kan inte öppna URI.',
-  'unsafe_URI' => 'Säkerhet inte verifierbar.',
-  'meta_data_failure' => 'Fel i metadatan',
-  'http_401' => '401 Unauthorized',
-  'http_402' => '402 Payment Required',
-  'http_403' => '403 Forbidden',
-  'http_404' => '404 Not Found',
-  'http_500' => '500 Internal Server Error',
-  'http_503' => '503 Service Unavailable',
-  'MIME_extraction_failure' => 'MIME-typ kunde inte bestämmas.',
-  'MIME_type_unknown' => 'Okänd MIME-typ',
-  'cant_create_write' => 'Kan inte skapa skrivfil.',
-  'not_writable' => 'Kan inte skriva till skrivfil.',
-  'cant_read_URI' => 'Kan inte läsa URI/URL',
-  'cant_open_write_file' => 'Kan inte öppna URI-skrivfil.',
-  'cant_write_write_file' => 'Kan inte skriva till URI-skrivfil.',
-  'cant_unzip' => 'Kan inte packa upp Zip-fil.',
-  'unknown' => 'Okänt fel',
-  'succ' => 'Uppladdningen lyckades',
-  'success' => '%s uppladdning(ar) lyckades.',
-  'add' => 'Klicka på "Fortsätt" för att lägga till filen/filerna i album.',
-  'failure' => 'Uppladdningen misslyckades',
-  'f_info' => 'Filinformation',
-  'no_place' => 'Den föregående filen kunde inte placeras.',
-  'yes_place' => 'Den föregående filen har placerats.',
-  'max_fsize' => 'Största tillåtna filstorlek är %s KB',
-  'album' => 'Album',
-  'picture' => 'Fil',
-  'pic_title' => 'Filtitel',
-  'description' => 'Beskrivning av fil',
-  'keywords' => 'Nyckelord (separerade med mellanslag)<br /><a href="#" onClick="return MM_openBrWindow(\'keyword_select.php\',\'selectKey\',\'width=250, height=400, scrollbars=yes,toolbar=no,status=yes,resizable=yes\')">Infoga från lista</a>', //cpg1.4
-  'keywords_sel' =>'Välj ett nyckelord', //cpg1.4
-  'err_no_alb_uploadables' => 'Det finns inga album där du har behörighet att ladda upp filer',
-  'place_instr_1' => 'Placera filerna i album nu. Du kan även ange relevant information om varje fil nu.',
-  'place_instr_2' => 'Fler filer behöver placeras. Klicka på "Fortsätt".',
-  'process_complete' => 'Alla filer har nu placerats.',
-   'albums_no_category' => 'Album utan kategori', //cpg1.4. //album pulldown mod, added by frogfoot
-  'personal_albums' => '* Personliga album', //cpg1.4 //album pulldown mod, added by frogfoot
-  'select_album' => 'Välj album', //cpg1.4 //album pulldown mod, added by frogfoot
-  'close' => 'Stäng', //cpg1.4
-  'no_keywords' => 'Inga nyckelord finns tillgängliga!', //cpg1.4
-  'regenerate_dictionary' => 'Återskapa ordlista', //cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File usermgr.php
-// ------------------------------------------------------------------------- //
-
-if (defined('USERMGR_PHP')) $lang_usermgr_php = array(
-  'memberlist' => 'Användarlista', //cpg1.4
-  'user_manager' => 'Hantera användare', //cpg1.4
-  'title' => 'Hantera användare',
-  'name_a' => 'Namn, stigande',
-  'name_d' => 'Namn, fallande',
-  'group_a' => 'Grupp, stigande',
-  'group_d' => 'Grupp, fallande',
-  'reg_a' => 'Reg. datum, stigande',
-  'reg_d' => 'Reg. datum, fallande',
-  'pic_a' => 'Antal filer, stigande',
-  'pic_d' => 'Antal filer, fallande',
-  'disku_a' => 'Diskutnyttjande, stigande',
-  'disku_d' => 'Diskutnyttjande, fallande',
-  'lv_a' => 'Senaste besök, stigande',
-  'lv_d' => 'Senaste besök, fallande',
-  'sort_by' => 'Sortera användare efter',
-  'err_no_users' => 'Tabellen med användare är tom!',
-  'err_edit_self' => 'Du kan inte ändra din egen profil, använd "Min profil" för det',
-  'edit' => 'Ändra', //cpg1.4
-  'with_selected' => 'Med vald:', //cpg1.4
-  'delete' => 'Radera', //cpg1.4
-  'delete_files_no' => 'behåll publika filer (men gör dem anonyma)', //cpg1.4
-  'delete_files_yes' => 'radera även pubika filer', //cpg1.4
-  'delete_comments_no' => 'behåll kommentarer (men gör dem anonyma)', //cpg1.4
-  'delete_comments_yes' => 'radera även kommentarer', //cpg1.4
-  'activate' => 'Aktivera', //cpg1.4
-  'deactivate' => 'Avaktivera', //cpg1.4
-  'reset_password' => 'Återställ lösenord', //cpg1.4
-  'change_primary_membergroup' => 'Ändra primär medlemsgrupp', //cpg1.4
-  'add_secondary_membergroup' => 'Lägg till sekundär medlemsgrupp', //cpg1.4
-  'name' => 'Användarnamn',
-  'group' => 'Grupp',
-  'inactive' => 'Inaktiv',
-  'operations' => 'Funktioner',
-  'pictures' => 'Filer',
-  'disk_space_used' => 'Använt diskutrymme', //cpg1.4
-  'disk_space_quota' => 'Kvot för diskutrymme', //cpg1.4
-  'registered_on' => 'Registrerad', //cpg1.4
-  'last_visit' => 'Senaste besök',
-  'u_user_on_p_pages' => '%d användare på %d sida(or)',
-  'confirm_del' => 'Är du säker på att du vill RADERA användaren? \\nAlla användarens filer och kommentarer kommer att raderas.', //js-alert
-  'mail' => 'E-post',
-  'err_unknown_user' => 'Vald användare finns inte!',
-  'modify_user' => 'Redigera användare',
-  'notes' => 'Anmärkningar',
-  'note_list' => '<li>Om du inte vill ändra lösenord, lämna fältet "Lösenord" tomt.',
-  'password' => 'Lösenord',
-  'user_active' => 'Användaren är aktiv',
-  'user_group' => 'Användarens gruppmedlemskap',
-  'user_email' => 'Användarens e-post',
-  'user_web_site' => 'Användarens hemsida',
-  'create_new_user' => 'Skapa ny användare',
-  'user_location' => 'Användarens kommer från',
-  'user_interests' => 'Användarens intressen',
-  'user_occupation' => 'Användarens sysselsättning',
-  'user_profile1' => '$user_profile1', //cpg1.4
-  'user_profile2' => '$user_profile2', //cpg1.4
-  'user_profile3' => '$user_profile3', //cpg1.4
-  'user_profile4' => '$user_profile4', //cpg1.4
-  'user_profile5' => '$user_profile5', //cpg1.4
-  'user_profile6' => '$user_profile6', //cpg1.4
-  'latest_upload' => 'Senaste uppladdningar',
-  'never' => 'Aldrig',
-  'search' => 'Sök bland användare', //cpg1.4
-  'submit' => 'Skicka', //cpg1.4
-  'search_submit' => 'Utför!', //cpg1.4
-  'search_result' => 'Sökresultat för: ', //cpg1.4
-  'alert_no_selection' => 'Du måste välja minst en användare!', //cpg1.4 //js-alert
-  'password' => 'Lösenord', //cpg1.4
-  'select_group' => 'Välj grupp', //cpg1.4
-  'groups_alb_access' => 'Albumbehörighet beroende på grupp', //cpg1.4
-  'album' => 'Album', //cpg1.4
-  'category' => 'Kategori', //cpg1.4
-  'modify' => 'Ändra?', //cpg1.4
-  'group_no_access' => 'Den här gruppen har inga specifika album tilldelade.', //cpg1.4
-  'notice' => 'Anmärkning', //cpg1.4
-  'group_can_access' => 'Album som bara "%s" kan komma åt', //cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File util.php
-// ------------------------------------------------------------------------- //
-
-if (defined('UTIL_PHP')) {
-$lang_util_desc_php = array(
-'Uppdatera titlar från filnamn', //cpg1.4
-'Radera titlar', //cpg1.4
-'Bygga om tumnaglar och omskalade bilder', //cpg1.4
-'Radera originalbilder och ersätta dem med den omskalade varianten', //cpg1.4
-'Radera originalbilder eller mellanliggande bilder för att spara diskutrymme', //cpg1.4
-'Radera övergivna kommentarer (utan tillhörande fil)', //cpg1.4
-'Uppdatera filstorlekar och dimensioner (om du har ändrat bilder manuellt)', //cpg1.4
-'Återställa antal visningar', //cpg1.4
-'Visa phpinfo', //cpg1.4
-'Uppdatera databasen', //cpg1.4
-'Visa loggfiler', //cpg1.4
-);
-$lang_util_php = array(
-  'title' => 'Administratörsverktyg',
-  'what_it_does' => 'Vad verktyget kan göra',
-  'file' => 'Fil',
-  'problem' => 'Problem', //cpg1.4
-  'status' => 'Status', //cpg1.4
-  'title_set_to' => '- titel bestäms till',
-  'submit_form' => 'Skicka',
-  'updated_succesfully' => 'Uppdateringen klar',
-  'error_create' => 'FEL vid skapande',
-  'continue' => 'Bearbeta fler bilder',
-  'main_success' => 'Filen %s används som huvudfil',
-  'error_rename' => 'Kan inte döpa om %s till %s',
-  'error_not_found' => 'Filen %s hittades inte',
-  'back' => 'Tillbaka',
-  'thumbs_wait' => 'Uppdaterar tumnaglar och/eller omskalade bilder, var god vänta...',
-  'thumbs_continue_wait' => 'Fortsätt att uppdatera tumnaglar och/eller omskalade bilder...',
-  'titles_wait' => 'Uppdaterar titlar, var god vänta...',
-  'delete_wait' => 'Raderar titlar, var god vänta...',
-  'replace_wait' => 'Raderar original och ersätter dem med omskalade bilder, var god vänta...',
-  'instruction' => 'Snabbinstruktioner',
-  'instruction_action' => 'Välj funktion',
-  'instruction_parameter' => 'Sätt parametrar',
-  'instruction_album' => 'Välj album',
-  'instruction_press' => 'Tryck på %s',
-  'update' => 'Uppdatera tumnaglar och/eller omskalade bilder',
-  'update_what' => 'Vad ska uppdateras',
-  'update_thumb' => 'Bara tumnaglar',
-  'update_pic' => 'Bara omskalade bilder',
-  'update_both' => 'Både tumnaglar och omskalade bilder',
-  'update_number' => 'Antal behandlade bilder per klick: ',
-  'update_option' => '(Försök med att minska antalet om du får problem med "timeout")',
-  'filename_title' => 'Filnamn &rArr; filtitel',
-  'filename_how' => 'Hur ska filnamnet ändras',
-  'filename_remove' => 'Ta bort .jpg-ändelsen och byt ut _ (understreck) med mellanslag',
-  'filename_euro' => 'Ändra 2003_11_23_13_20_20.jpg till 23/11/2003 13:20',
-  'filename_us' => 'Ändra 2003_11_23_13_20_20.jpg till 11/23/2003 13:20',
-  'filename_time' => 'Ändra 2003_11_23_13_20_20.jpg till 13:20',
-  'delete' => 'Radera filtitlar och originalbilder',
-  'delete_title' => 'Radera filtitlar',
-  'delete_title_explanation' => 'Alla titlar i valt album kommer att raderas.', //cpg1.4
-  'delete_original' => 'Radera bilder i originalstorlek',
-  'delete_original_explanation' => 'Raderar bilder i full storlek.', //cpg1.4
-  'delete_intermediate' => 'Radera mellanliggande bilder', //cpg1.4
-  'delete_intermediate_explanation' => 'Raderar mellanliggande (normalstora) bilder.<br />Använd denna funktion för att frigöra diskutrymme om du har avaktiverat "Skapa mellanliggande bilder" i konfigurationen efter att du redan lagt till bilder.', //cpg1.4
-  'delete_replace' => 'Raderar originalbilderna och byter ut dem mot omskalade versioner.',
-  'titles_deleted' => 'Alla titlar i valt album är raderade', //cpg1.4
-  'deleting_intermediates' => 'Raderar mellanliggande bilder, var god vänta...', //cpg1.4
-  'searching_orphans' => 'Söker efter övergivna poster, var god vänta...', //cpg1.4
-  'select_album' => 'Välj album',
-  'delete_orphans' => 'Radera kommentarer för saknade filer', //cpg1.4
-  'delete_orphans_explanation' => 'Detta låter dig identifiera och ta bort kommentarer som inte längre hör till någon fil i galleriet.<br />Funktionen går igenom alla album.', //cpg1.4
-  'refresh_db' => 'Ladda om information om filernas filstorlek och dimensioner.', //cpg1.4
-  'refresh_db_explanation' => 'Detta kommer att uppdatera filstorlek och dimensioner. Använd detta om en användares diskkvot är felaktig eller om du har ändrat filer manuellt.', //cpg1.4
-  'reset_views' => 'Nollställ visningar', //cpg1.4
-  'reset_views_explanation' => 'Sätter alla visningar till noll i valt album.', //cpg1.4
-  'orphan_comment' => 'Övergivna kommentarer hittade',
-  'delete' => 'Radera',
-  'delete_all' => 'Radera alla',
-  'delete_all_orphans' => 'Radera alla övergivna?', //cpg1.4
-  'comment' => 'Kommentar: ',
-  'nonexist' => 'tillhör icke-existerande fil # ',
-  'phpinfo' => 'Visa phpinfo',
-  'phpinfo_explanation' => 'Innehåller teknisk information om din server.<br /> - Du kan bli frågad om information härifrån om du behöver support.', //cpg1.4
-  'update_db' => 'Uppdatera databasen',
-  'update_db_explanation' => 'Om du har ersatt filer i Coppermine, lagt till någon modifikation eller uppgraderat från en tidigare version, var noga med att göra en uppdatering av databasen en gång. Det kommer att skapa de nödvändiga databastabellerna och konfigurera dem.',
-  'view_log' => 'Visa loggfiler', //cpg1.4
-  'view_log_explanation' => 'Coppermine kan hålla reda på olika funktioner användarna utför. Du kan bläddra igenom de loggarna om du har aktiverat loggning i <a href="admin.php">konfigurationen</a>.', //cpg1.4
-  'versioncheck' => 'Kontrollera versioner', //cpg1.4
-  'versioncheck_explanation' => 'Kontrollerar versionen på dina filer för att se om du har ersatt alla filer efter en uppdatering eller om Coppermines källfiler har uppdaterats efter utgivandet av en uppdatering.', //cpg1.4
-  'bridgemanager' => 'Länkningsguide', //cpg1.4
-  'bridgemanager_explanation' => 'Aktivera/avaktivera länkning med andra program (t.ex. ditt forum).', //cpg1.4
-);
-}
-
-// ------------------------------------------------------------------------- //
-// File versioncheck.php //cpg1.4
-// ------------------------------------------------------------------------- //
-
-if (defined('VERSIONCHECK_PHP')) $lang_versioncheck_php = array(
-  'title' => 'Versionskontroll', //cpg1.4
-  'what_it_does' => 'Den här sidan är till för de som har uppdaterat sin installation av Coppermine. Sidan går igenom filerna på din webbserver och försöker bestämma om de är samma som de som finns i online-filutrymmet på http://coppermine.sourceforge.net. På så sätt ser du förutom dina egna filer även alla filer som det var meningen att du skulle uppdatera.<br /> Allt som visas i rött behöver uppdateras. Det som visas i gult behöver kontrolleras. Det som visas i grönt (eller din förvalda färg) är OK.<br />Klicka på hjälpikonerna för ytterligare information.', //cpg1.4
-  'online_repository_unable' => 'Kan inte ansluta till online-filutrymmet', //cpg1.4
-  'online_repository_noconnect' => 'Coppermine kunde inte ansluta till online-filutrymmet. Det kan ha två orsaker:', //cpg1.4
-  'online_repository_reason1' => 'Online-filutrymmet är tillfälligt nere - kontrollera om din webbläsare kan hitta denna sida: %s - kan du inte ansluta till sidan så försök igen senare.', //cpg1.4
-  'online_repository_reason2' => 'PHP på din webbserver är konfigurerat med %s avstängt (som standard är det påslaget). Om det är du som administrerar webbservern, slå på det i <i>php.ini</i> (eller tillåt åtminstone att det blir åsidosatt av %s). Om du har galleriet på ett webbhotell så måste du antagligen leva med faktumet att du inte kan jämföra dina filer med de i online-filutrymmet. Den här sidan kommer bara att visa de filer som kom med ditt installationsfil - uppdateringar kommer inte att visas.', //cpg1.4
-  'online_repository_skipped' => 'Anslutning till filutrymmet hoppades över', //cpg1.4
-  'online_repository_to_local' => 'Sidan håller på att bestämma förvalda filer i din versionsfil. Det kan vara så att det du ser inte stämmer om du har uppdaterat och inte laddat upp alla filer. Ändringar gjorda efter släppet kommer heller inte att tas med.', //cpg1.4
-  'local_repository_unable' => 'Kan inte ansluta till filurymmet på din server', //cpg1.4
-  'local_repository_explanation' => 'Coppermine kunde inte ansluta till filen för filutrymme %s på din webbserver. Det betyder antagligen att du inte laddat upp den till servern. Gör det och försök köra denna sida igen (ladda om sidan).<br />Om felet kvarstår kan din webbserver ha avaktiverat delen med <a href="http://www.php.net/manual/en/ref.filesystem.php">PHP:s funktion för filsystem</a> helt och hållet. Om så är fallet, kan du helt enkelt inte använda detta verktyg, tyvärr.', //cpg1.4
-  'coppermine_version_header' => 'Installerad version av Coppermine', //cpg1.4
-  'coppermine_version_info' => 'Du har installerat: %s', //cpg1.4
-  'coppermine_version_explanation' => 'Om du tror detta är helt fel och du kör en senare version av Coppermine har du antagligen inte laddat upp den senaste versionen av filen <i>include/init.inc.php</i>.', //cpg1.4
-  'version_comparison' => 'Versionsjämförelse', //cpg1.4
-  'folder_file' => 'Fil/mapp', //cpg1.4
-  'coppermine_version' => 'Coppermineversion', //cpg1.4
-  'file_version' => 'Filversion', //cpg1.4
-  'webcvs' => 'Webb-SVN', //cpg1.4
-  'writable' => 'Skrivbar', //cpg1.4
-  'not_writable' => 'Ej skrivbar', //cpg1.4
-  'help' => 'Hjälp', //cpg1.4
-  'help_file_not_exist_optional1' => 'Fil/mapp finns inte', //cpg1.4
-  'help_file_not_exist_optional2' => 'Filen/mappen %s hittades inte på din webbserver. Även om det är frivilligt bör du ladda upp den (med en FTP-klient) till din webbserver om du har problem.', //cpg1.4
-  'help_file_not_exist_mandatory1' => 'Fil/mapp finns inte', //cpg1.4
-  'help_file_not_exist_mandatory2' => 'Filen/mappen %s hittades inte på din webbserver, trots att den är nödvändig. Ladda upp den till din server med en FTP-klient.', //cpg1.4
-  'help_no_local_version1' => 'Ingen lokal filversion', //cpg1.4
-  'help_no_local_version2' => 'Sidan kan inte utläsa en lokal filversion - din fil är antingen för gammal eller har blivit ändrad så att header-informationen försvunnit. Det rekommenderas att du uppdaterar filen.', //cpg1.4
-  'help_local_version_outdated1' => 'Lokal version för gammal', //cpg1.4
-  'help_local_version_outdated2' => 'Din version av denna fil verkar vara från en äldre version av Coppermine (du har antagligen uppdaterat). Se till att denna fil också blir uppdaterad.', //cpg1.4
-  'help_local_version_na1' => 'Kan inte utläsa SVN-versionen', //cpg1.4
-  'help_local_version_na2' => 'Sidan kan inte avgöra vilken SVN-version filen på din webbserver har. Du bör uppdatera filen från din installationsfil.', //cpg1.4
-  'help_local_version_dev1' => 'Utvecklarversion', //cpg1.4
-  'help_local_version_dev2' => 'Filen på din webbserver verkar vara nyare än din version av Coppermine. Antingen använder du en utvecklarversion (vilket du bara ska göra om du vet vad du gör) eller så har du uppdaterat Coppermine och inte laddat upp include/init.inc.php.', //cpg1.4
-  'help_not_writable1' => 'Mappen är inte skrivbar', //cpg1.4
-  'help_not_writable2' => 'Ändra rättigheterna (CHMOD) så att sidan kan skriva till mappen %s och allt i den.', //cpg1.4
-  'help_writable1' => 'Mappen är skrivbar', //cpg1.4
-  'help_writable2' => 'Mappen %s är skrivbar. Detta är en onödig risk, Coppermine behöver bara läs- och exekveringsrättigheter.', //cpg1.4
-  'help_writable_undetermined' => 'Coppermine kunde inte avgöra om mappen är skrivbar eller inte.', //cpg1.4
-  'your_file' => 'Din fil', //cpg1.4
-  'reference_file' => 'Referensfil', //cpg1.4
-  'summary' => 'Summering', //cpg1.4
-  'total' => 'Antal filer/mappar kontrollerade', //cpg1.4
-  'mandatory_files_missing' => 'Nödvändiga filer som saknas', //cpg1.4
-  'optional_files_missing' => 'Frivilliga filer som fattas', //cpg1.4
-  'files_from_older_version' => 'Överblivna filer från gammal version av Coppermine', //cpg1.4
-  'file_version_outdated' => 'Filer med gammal version', //cpg1.4
-  'error_no_data' => 'Sidan misslyckades, kunde inte samla in någon information.', //cpg1.4
-  'go_to_webcvs' => 'Gå till %s', //cpg1.4
-  'options' => 'Val', //cpg1.4
-  'show_optional_files' => 'Visa frivilliga filer/mappar', //cpg1.4
-  'show_mandatory_files' => 'Visa nödvändiga filer', //cpg1.4
-  'show_file_versions' => 'Visa filversioner', //cpg1.4
-  'show_errors_only' => 'Visa bara filer/mappar med fel', //cpg1.4
-  'show_permissions' => 'Visa rättigheter för mappar', //cpg1.4
-  'show_condensed_output' => 'Visa koncentrerat innehåll (för enklare skärmdumpar)', //cpg1.4
-  'coppermine_in_webroot' => 'Coppermine är installerat i webbrooten', //cpg1.4
-  'connect_online_repository' => 'Försök ansluta till filutrymmet', //cpg1.4
-  'show_additional_information' => 'Visa ytterligare innehåll', //cpg1.4
-  'no_webcvs_link' => 'Visa inte länk till SVN', //cpg1.4
-  'stable_webcvs_link' => 'Visa länk till SVN stabila gren', //cpg1.4
-  'devel_webcvs_link' => 'Visa länk till SVN utvecklargren', //cpg1.4
-  'submit' => 'Utför ändringar/uppdatera', //cpg1.4
-  'reset_to_defaults' => 'Återställ förinställda värden', //cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File view_log.php  //cpg1.4
-// ------------------------------------------------------------------------- //
-
-if (defined('VIEWLOG_PHP')) $lang_viewlog_php = array(
-  'delete_all' => 'Radera alla loggar', //cpg1.4
-  'delete_this' => 'Radera denna logg', //cpg1.4
-  'view_logs' => 'Visa loggar', //cpg1.4
-  'no_logs' => 'Inga loggar skapade.', //cpg1.4
-);
-
-
-// ------------------------------------------------------------------------- //
-// File xp_publish.php //cpg1.4
-// ------------------------------------------------------------------------- //
-
-if (defined('XP_PUBLISH_PHP')) {
-
-$lang_xp_publish_client = <<<EOT
-<h1>Guide till klient för XP Webbpublicering</h1><p>Den hör modulen låter dig använda <b>Windows XP</b> guide för webbpublicering tillsammans med Coppermine.</p><p>Koden är baserad på en artikel av
-EOT;
-
-$lang_xp_publish_required = <<<EOT
-<h2>Vad som behövs</h2><ul><li>Windows XP för att ha tillgång till guiden.</li><li>En fungerande installation av Coppermine <b>med fungerande uppladdning via webb.</b></li></ul><h2>Hur installationen sker på klientsidan.</h2><ul><li>Högerklicka på
-EOT;
-
-$lang_xp_publish_select = <<<EOT
-Välj &quot;Spara som...&quot;. Spara filen på din hårddisk. När du sparar filen se till att det föreslagna namnet är <b>cpg_###.reg</b> (där ### är en numerisk tidsangivelse). Ändra till det namnet om nödvändigt (lämna nummerna intakt). När filen är nedladdad, dubbelklicka på den för att registrera din server med guiden.</li></ul>
-EOT;
-
-$lang_xp_publish_testing = <<<EOT
-<h2>Testa</h2><ul><li>I Windows Explorer, välj dina filer och klicka på <b>Publicera xxx på webben</b> i vänster panel.</li><li>Bekräfta ditt val av filer. Klicka på <b>Nästa</b>.</li><li>I listan över tjänster som visas, välj den för dit fotogalleri (den har samma namn som ditt galleri). Om tjänsten inte visas, kontrollera att du installerat <b>cpg_pub_wizard.reg</b> som beskrivits ovan.</li><li>Skriv in dina loginuppgifter om det behövs.</li><li>Välj album för dina bilder eller skapa ett nytt.</li><li>Klicka på <b>nästa</b>. Uppladdningen av dina bilder påbörjas.</li><li>När det är klart, kontrollera ditt galleri så att bilderna har lagts till som de skulle.</li></ul>
-EOT;
-
-$lang_xp_publish_notes = <<<EOT
-<h2>Anmärkningar:</h2><ul><li>När uppladdningen har startat kan guiden inte visa några felmeddelanden, därför kan du inte veta om uppladdningen har lyckats eller inte förrän du tittat i ditt galleri.</li><li>Om uppladdningen misslyckas, aktivera &quot;Debugläge&quot; på konfigurationssidan, försök sedan ladda upp en bild i taget och granska felmeddelandena i filen
-EOT;
-
-$lang_xp_publish_flood = <<<EOT
-som finns i Coppermine-mappen på webbservern.</li><li>För att undvika att galleriet blir <i>översvämmat (flooded)</i> av bilder som laddas upp med guiden kan bara <b>administratörer</b> och <b>användare som står som ägare till albumet</b> använda denna guide.</li>
-EOT;
-
-
-
-$lang_xp_publish_php = array(
-  'title' => 'Coppermine - XP Webbpubliceringsguide', //cpg1.4
-  'welcome' => 'Välkommen <b>%s</b>,', //cpg1.4
-  'need_login' => 'Du behöver logga in på galleriet med din webbläsare innan du kan använda denna guide.<p/><p>När du loggar in, glöm inte att kryssa i <b>Kom ihåg mig</b>-rutan om den finns.', //cpg1.4
-  'no_alb' => 'Det finns inga album där du har behörighet att ladda upp bilder med denna guide.', //cpg1.4
-  'upload' => 'Ladda upp dina bilder till ett befintligt album', //cpg1.4
-  'create_new' => 'Skapa ett nytt album för dina bilder', //cpg1.4
-  'album' => 'Album', //cpg1.4
-  'category' => 'Kategori', //cpg1.4
-  'new_alb_created' => 'Ditt nya album &quot;<b>%s</b>&quot; har skapats.', //cpg1.4
-  'continue' => 'Tryck på &quot;Nästa&quot; för att börja ladda upp bilderna', //cpg1.4
-  'link' => 'den här länken', //cpg1.4
-);
-}
+<?php
+/*************************
+  Coppermine Photo Gallery
+  ************************
+  Copyright (c) 2003-2009 Coppermine Dev Team
+  v1.1 originally written by Gregory DEMAR
+
+  This program is free software; you can redistribute it and/or modify
+  it under the terms of the GNU General Public License version 3
+  as published by the Free Software Foundation.
+  
+  ********************************************
+  Coppermine version: 1.4.25
+  $HeadURL: https://coppermine.svn.sourceforge.net/svnroot/coppermine/trunk/cpg1.4.x/lang/swedish.php $
+  $Revision: 5997 $
+  $Author: gaugau $
+  $Date: 2009-05-26 08:43:24 +0200 (Di, 26 Mai 2009) $
+**********************************************/
+
+if (!defined('IN_COPPERMINE')) { die('Not in Coppermine...');}
+
+// info about translators and translated language
+$lang_translation_info = array(
+  'lang_name_english' => 'Swedish', //cpg1.4
+  'lang_name_native' => 'Svenska', //cpg1.4
+  'lang_country_code' => 'se', //cpg1.4
+  'trans_name'=> 'Danny Swälas (ecto) & SeB',
+  'trans_email' => 'coppermine@danny.swalas.org',
+  'trans_email2' => 'sebastian@sweetfabrik.se',
+  'trans_website' => 'http://danny.swalas.org/gallery/',
+  'trans_website2' => 'http://www.sweetfabrik.se/',
+  'additional_credits' => 'Big thanks to http://www.fotosidan.se/forum/ for help with Exif translations!',
+  'trans_date' => '2005-12-23',
+);
+
+$lang_charset = 'utf-8';
+$lang_text_dir = 'ltr'; // ('ltr' for left to right, 'rtl' for right to left)
+
+// shortcuts for Byte, Kilo, Mega
+$lang_byte_units = array('Byte', 'KB', 'MB');
+
+// Day of weeks and months
+$lang_day_of_week = array('sön', 'mån', 'tis', 'ons', 'tor', 'fre', 'lör');
+$lang_month = array('jan', 'feb', 'mar', 'apr', 'maj', 'jun', 'jul', 'aug', 'sep', 'okt', 'nov', 'dec');
+
+// Some common strings
+$lang_yes = 'Ja';
+$lang_no  = 'Nej';
+$lang_back = 'Tillbaka';
+$lang_continue = 'Fortsätt';
+$lang_info = 'Information';
+$lang_error = 'Fel';
+$lang_check_uncheck_all = 'Markera/avmarkera alla'; //cpg1.4
+
+// The various date formats
+// See http://www.php.net/manual/en/function.strftime.php to define the variable below
+$album_date_fmt =    '%d %B %Y';
+$lastcom_date_fmt =  '%Y-%m-%d kl. %H.%M';
+$lastup_date_fmt =   '%d %B %Y';
+$register_date_fmt = '%Y-%m-%d kl. %H:%M';
+$lasthit_date_fmt =  '%Y-%m-%d kl. %H:%M';
+$comment_date_fmt =  '%Y-%m-%d kl. %H:%M';
+$log_date_fmt =      '%Y-%m-%d kl. %H.%M.%S'; //cpg 1.4
+
+// For the word censor
+$lang_bad_words = array('*knulla*', 'fitta', 'arsle', 'kuk', 'mutta', 'fan', 'helvete', 'blatte*', '*nigger*', '*neger*', 'svarting', 'röv', 'ollon', 'dildo', 'pattar', 'penis', 'skit', 'balle', 'hora', 'jävla*');
+
+$lang_meta_album_names = array(
+  'random' => 'Slumpmässiga filer',
+  'lastup' => 'Senast tillagda',
+  'lastalb'=> 'Senast uppdaterade album',
+  'lastcom' => 'Senaste kommentarer',
+  'topn' => 'Mest visade',
+  'toprated' => 'Topplista',
+  'lasthits' => 'Senast visade',
+  'search' => 'Sökresultat',
+  'favpics'=> 'Favoriter',  //cpg1.4
+);
+
+$lang_errors = array(
+  'access_denied' => 'Du har inte behörighet till den här sidan.',
+  'perm_denied' => 'Du har inte behörighet att utföra denna operation.',
+  'param_missing' => 'Parametrar saknas för att kunna utföra operationen.',
+  'non_exist_ap' => 'Albumet/filen du valt finns inte!', //cpg1.3.0
+  'quota_exceeded' => 'Tilldelat diskutrymme överskridet<br /><br />Du har ett diskutrymme på [quota]K och din fil är på [space]K. Skulle denna fil läggas till överskrids ditt diskutrymme.', //cpg1.3.0
+  'gd_file_type_err' => 'Vid användande av GD image library är endast filer i JPEG- och PNG-format tillåtna.',
+  'invalid_image' => 'Filen du laddade upp är skadad eller kan inte hanteras av GD image library',
+  'resize_failed' => 'Kan inte skapa tumnagel eller ändra storleken på filen.',
+  'no_img_to_display' => 'Ingenting att visa',
+  'non_exist_cat' => 'Den valda kategorin finns inte',
+  'orphan_cat' => 'En kategori saknar rot, använd kategorihanteraren för att rätta till problemet', //cpg1.3.0
+  'directory_ro' => 'Mappen \'%s\' är inte skrivbar. Filen kan inte raderas.', //cpg1.3.0
+  'non_exist_comment' => 'Den valda kommentaren finns inte.',
+  'pic_in_invalid_album' => 'Filen finns i ett icke existerande album (%s)!?', //cpg1.3.0
+  'banned' => 'Du är för tillfället blockerad från den här sajten.',
+  'not_with_udb' => 'Den här funktionen är inaktiverad i galleriet eftersom det är länkat med ett forum. Antingen stöds inte det du försöker göra i den här funktionen eller så hanteras funktionen av forumets mjukvara.',
+  'offline_title' => 'Avstängt (offline)', //cpg1.3.0
+  'offline_text' => 'Galleriet är för tillfället avstängt (offline) - försök igen om en stund.', //cpg1.3.0
+  'ecards_empty' => 'Det finns för tillfället inte några e-vykort att visa. Kontrollera att du aktiverat e-vykort i galleriets inställningar!', //cpg1.3.0
+  'action_failed' => 'Uppgiften misslyckades. Kan inte utföra önskad funktion.', //cpg1.3.0
+  'no_zip' => 'Filerna som behövs för att hantera Zip-filer kan inte hittas.  Kontakta administratören.', //cpg1.3.0
+  'zip_type' => 'Du har inte behörighet att ladda upp Zip-filer.', //cpg1.3.0
+  'database_query' => 'Det uppstod ett fel under förfrågan till databasen', //cpg1.4
+  'register_globals_on' => 'The PHP setting register_globals is enabled on your server, which is a bad idea in terms of security. It\'s strongly recommended to turn it off. [<a href="http://forum.coppermine-gallery.net/index.php/topic,59569.0.html" rel="external" class="external">more</a>]',
+);
+
+$lang_bbcode_help_title = 'Hjälp med BBkod'; //cpg1.4
+$lang_bbcode_help = 'Du kan lägga till klickbara länkar och enkel textformatering här genom att använda BBkod: <li>[b]Fet[/b] =&gt; <b>Fet</b></li><li>[i]Kursiv[/i] =&gt; <i>Kursiv</i></li><li>[url=http://dinsajt.se/]URL-text[/url] =&gt; <a href="http://dinsajt.se">URL-text</a></li><li>[email]användare@sajt.se[/email] =&gt; <a href="mailto:användare@sajt.se">användare@sajt.se</a></li><li>[color=red]Text[/color] =&gt; <span style="color:red">Text</span></li><li>[img]http://coppermine-gallery.net/demo/cpg14x/images/red.gif[/img] => <img src="../images/red.gif" border="0" alt="" /></li>'; //cpg1.4
+
+// ------------------------------------------------------------------------- //
+// File theme.php
+// ------------------------------------------------------------------------- //
+
+$lang_main_menu = array(
+  'home_title' => 'Gå till startsidan',
+  'home_lnk' => 'Startsida',
+  'alb_list_title' => 'Gå till albumlistan',
+  'alb_list_lnk' => 'Albumlista',
+  'my_gal_title' => 'Gå till mitt personliga galleri',
+  'my_gal_lnk' => 'Mitt galleri',
+  'my_prof_title' => 'Gå till min profil', //cpg1.4
+  'my_prof_lnk' => 'Min profil',
+  'adm_mode_title' => 'Byt till administratörsläge',
+  'adm_mode_lnk' => 'Adminläge',
+  'usr_mode_title' => 'Byt till användarläge',
+  'usr_mode_lnk' => 'Användarläge',
+  'upload_pic_title' => 'Ladda upp fil till ett album',
+  'upload_pic_lnk' => 'Ladda upp fil',
+  'register_title' => 'Lägg till användare',
+  'register_lnk' => 'Registrera',
+  'login_title' => 'Logga in', //cpg1.4
+  'login_lnk' => 'Logga in',
+  'logout_title' => 'Logga ut', //cpg1.4
+  'logout_lnk' => 'Logga ut',
+  'lastup_title' => 'Visa senast tillagda', //cpg1.4
+  'lastup_lnk' => 'Senast tillagda',
+  'lastcom_title' => 'Visa senaste kommentarer', //cpg1.4
+  'lastcom_lnk' => 'Senaste kommentarer',
+  'topn_title' => 'Visa mest visade filer', //cpg1.4
+  'topn_lnk' => 'Mest visade',
+  'toprated_title' => 'Visa filer med högst betyg', //cpg1.4
+  'toprated_lnk' => 'Topplista',
+  'search_title' => 'Sök i galleriet', //cpg1.4
+  'search_lnk' => 'Sök',
+  'fav_title' => 'Gå till mina favoriter', //cpg1.4
+  'fav_lnk' => 'Mina favoriter',
+  'memberlist_title' => 'Visa medlemslista',
+  'memberlist_lnk' => 'Medlemmar',
+  'faq_title' => 'Vanliga frågor om galleriet',
+  'faq_lnk' => 'FAQ',
+);
+
+$lang_gallery_admin_menu = array(
+  'upl_app_title' => 'Godkänn uppladdade filer', //cpg1.4
+  'upl_app_lnk' => 'Godkänn uppladdningar',
+  'admin_title' => 'Konfigurera galleriet', //cpg1.4
+  'admin_lnk' => 'Inställningar', //cpg1.4
+  'albums_title' => 'Administrera album', //cpg1.4
+  'albums_lnk' => 'Album',
+  'categories_title' => 'Administrera kategorier', //cpg1.4
+  'categories_lnk' => 'Kategorier',
+  'users_title' => 'Administrera användare', //cpg1.4
+  'users_lnk' => 'Användare',
+  'groups_title' => 'Administrera grupper', //cpg1.4
+  'groups_lnk' => 'Grupper',
+  'comments_title' => 'Granska kommentarer', //cpg1.4
+  'comments_lnk' => 'Kommentarer',
+  'searchnew_title' => 'Lägg till flera filer på en gång', //cpg1.4
+  'searchnew_lnk' => 'Lägg till flera filer',
+  'util_title' => 'Gå till administrationsverktyg', //cpg1.4
+  'util_lnk' => 'Adminverktyg',
+  'key_title' => 'Gå till ordlistan med nyckelord', //cpg1.4
+  'key_lnk' => 'Nyckelord', //cpg1.4
+  'ban_title' => 'Hantera blockering av användare', //cpg1.4
+  'ban_lnk' => 'Blockera användare',
+  'db_ecard_title' => 'Gå till administration av e-vykort', //cpg1.4
+  'db_ecard_lnk' => 'E-vykort',
+  'pictures_title' => 'Sortera filer', //cpg1.4
+  'pictures_lnk' => 'Sortera filer', //cpg1.4
+  'documentation_lnk' => 'Dokumentation', //cpg1.4
+  'documentation_title' => 'Manual till Coppermine', //cpg1.4
+);
+
+$lang_user_admin_menu = array(
+  'albmgr_title' => 'Skapa och sortera mina album', //cpg1.4
+  'albmgr_lnk' => 'Skapa / sortera mina album',
+  'modifyalb_title' => 'Gå till redigering av mina album',  //cpg1.4
+  'modifyalb_lnk' => 'Redigera mina album',
+  'my_prof_title' => 'Gå till min profil', //cpg1.4
+  'my_prof_lnk' => 'Min profil',
+);
+
+$lang_cat_list = array(
+  'category' => 'Kategori',
+  'albums' => 'Album',
+  'pictures' => 'Filer',
+);
+
+$lang_album_list = array(
+  'album_on_page' => '%d album på %d sida(or)',
+);
+
+$lang_thumb_view = array(
+  'date' => 'DATUM',
+  //Sort by filename and title
+  'name' => 'FILNAMN',
+  'title' => 'TITEL',
+  'sort_da' => 'Sortera efter datum, stigande',
+  'sort_dd' => 'Sortera efter datum, fallande',
+  'sort_na' => 'Sortera efter namn, stigande',
+  'sort_nd' => 'Sortera efter namn, fallande',
+  'sort_ta' => 'Sortera efter titel, stigande',
+  'sort_td' => 'Sortera efter titel, fallande',
+  'exifdate' => 'DATUM (Exif)', //Exif date mod
+  'sort_ea' => 'Sortera efter Exif-datum, stigande', //Exif date mod
+  'sort_ed' => 'Sortera efter Exif-datum, fallande', //Exif date mod
+  'position' => 'POSITION', //cpg1.4
+  'sort_pa' => 'Sortera efter position, stigande', //cpg1.4
+  'sort_pd' => 'Sortera efter position, fallande', //cpg1.4
+  'download_zip' => 'Ladda ned som Zip-fil',
+  'pic_on_page' => '%d filer på %d sida(or)',
+  'user_on_page' => '%d användare på %d sida(or)',
+  'enter_alb_pass' => 'Skriv in lösenord för album',
+  'invalid_pass' => 'Ogiltigt lösenord',
+  'pass' => 'Lösenord', //cpg1.4
+  'submit' => 'Skicka' //cpg1.4
+);
+
+$lang_img_nav_bar = array(
+  'thumb_title' => 'Tilbaka till tumnaglar',
+  'pic_info_title' => 'Visa/dölj filinformation',
+  'slideshow_title' => 'Bildspel',
+  'ecard_title' => 'Skicka denna fil som ett e-vykort',
+  'ecard_disabled' => 'E-vykort är inte aktiverat',
+  'ecard_disabled_msg' => 'Du har inte behörighet att skicka e-vykort', //js-alert
+  'prev_title' => 'Se föregående fil',
+  'next_title' => 'Se nästa fil',
+  'pic_pos' => 'FIL %s/%s',
+  'report_title' => 'Rapportera denna fil till administratören', //cpg1.4
+  'go_album_end' => 'Gå till sista', //cpg1.4
+  'go_album_start' => 'Gå till första', //cpg1.4
+  'go_back_x_items' => 'gå tillbaka %s filer', //cpg1.4
+  'go_forward_x_items' => 'gå fram %s filer', //cpg1.4
+);
+
+$lang_rate_pic = array(
+  'rate_this_pic' => 'Betygsätt den här filen ',
+  'no_votes' => '(inga röster än)',
+  'rating' => '(Betyg : %s / 5 med %s röster)',
+  'rubbish' => 'Skräp',
+  'poor' => 'Dålig',
+  'fair' => 'Godkänd',
+  'good' => 'Bra',
+  'excellent' => 'Mycket bra',
+  'great' => 'Toppen',
+);
+
+// ------------------------------------------------------------------------- //
+// File include/exif.inc.php
+// ------------------------------------------------------------------------- //
+
+// void
+
+// ------------------------------------------------------------------------- //
+// File include/functions.inc.php
+// ------------------------------------------------------------------------- //
+
+$lang_cpg_die = array(
+  INFORMATION => $lang_info,
+  ERROR => $lang_error,
+  CRITICAL_ERROR => 'Kritisk fel',
+  'file' => 'Fil: ',
+  'line' => 'Rad: ',
+);
+
+$lang_display_thumbnails = array(
+  'filename' => 'Filnamn: ', //cpg1.4
+  'filesize' => 'Filstorlek: ', //cpg1.4
+  'dimensions' => 'Dimensioner: ', //cpg1.4
+  'date_added' => 'Tillagd den: ', //cpg1.4
+);
+
+$lang_get_pic_data = array(
+  'n_comments' => '%s kommentarer',
+  'n_views' => '%s visningar',
+  'n_votes' => '(%s röster)',
+);
+
+$lang_cpg_debug_output = array(
+  'debug_info' => 'Debuginformation',
+  'select_all' => 'Välj alla',
+  'copy_and_paste_instructions' => 'Om du vill ha hjälp på Coppermines supportforum, kopiera den här debuginformationen och klista in den i ditt inlägg, tillsammans med eventuellt felmeddelande du får (om något). Var noga med att ersätta känslig information (t.ex. lösenord) med *** innan du postar inlägget.<br />Obs: detta är endast för information och betyder inte nödvändigtvis att det är något fel på ditt galleri.', //cpg1.4
+  'phpinfo' => 'Visa phpinfo',
+  'notices' => 'Anmärkningar', //cpg1.4
+);
+
+$lang_language_selection = array(
+  'reset_language' => 'Standardspråk',
+  'choose_language' => 'Välj språk',
+);
+
+$lang_theme_selection = array(
+  'reset_theme' => 'Standardtema',
+  'choose_theme' => 'Välj tema',
+);
+
+$lang_version_alert = array(
+  'version_alert' => 'Ej stödd version!', //cpg1.4
+  'no_stable_version' => 'Du kör Coppermine  %s (%s) som är avsett för erfarna användare - denna versionen kommer utan någon form av support eller garantier. Använd den på egen risk, eller ladda ned den senaste stabila versionen om du behöver support!', //cpg1.4
+  'gallery_offline' => 'Galleriet är avstängt för underhåll och är bara vara tillgängligt för dig som administratör. Glöm inte att öppna det igen det när du är färdig med underhållet.', //cpg1.4
+);
+
+$lang_create_tabs = array(
+  'previous' => 'Föregående', //cpg1.4
+  'next' => 'Nästa', //cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File include/init.inc.php
+// ------------------------------------------------------------------------- //
+
+// void
+
+// ------------------------------------------------------------------------- //
+// File keyword.inc.php                                                      //
+// ------------------------------------------------------------------------- //
+
+// void
+
+// ------------------------------------------------------------------------- //
+// File include/picmgmt.inc.php
+// ------------------------------------------------------------------------- //
+
+// void
+
+// ------------------------------------------------------------------------- //
+// File include/plugin_api.inc.php
+// ------------------------------------------------------------------------- //
+$lang_plugin_api = array(
+  'error_wakeup' => "Kan inte sätta på plugin '%s'", //cpg1.4
+  'error_install' => "Kan inte installera plugin '%s'", //cpg1.4
+  'error_uninstall' => "Kan inte avinstallera plugin '%s'", //cpg1.4
+  'error_sleep' => "Kan inte stänga av plugin '%s'<br />", //cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File include/smilies.inc.php
+// ------------------------------------------------------------------------- //
+
+if (defined('SMILIES_PHP')) $lang_smilies_inc_php = array(
+  'Exclamation' => 'Utrop',
+  'Question' => 'Fråga',
+  'Very Happy' => 'Mycket glad',
+  'Smile' => 'Leende',
+  'Sad' => 'Ledsen',
+  'Surprised' => 'Överraskad',
+  'Shocked' => 'Chockad',
+  'Confused' => 'Förbryllad',
+  'Cool' => 'Cool',
+  'Laughing' => 'Skrattande',
+  'Mad' => 'Galen',
+  'Razz' => 'Rumlande',
+  'Embarassed' => 'Förlägen',
+  'Crying or Very sad' => 'Gråter eller väldigt ledsen',
+  'Evil or Very Mad' => 'Elak eller mycket arg',
+  'Twisted Evil' => 'Fifflande elak',
+  'Rolling Eyes' => 'Rullande elak',
+  'Wink' => 'Blink',
+  'Idea' => 'Idé',
+  'Arrow' => 'Pil',
+  'Neutral' => 'Neutral',
+  'Mr. Green' => 'Mr. Green',
+);
+
+// ------------------------------------------------------------------------- //
+// File addpic.php
+// ------------------------------------------------------------------------- //
+
+// void
+
+// ------------------------------------------------------------------------- //
+// File mode.php //cpg1.4
+// ------------------------------------------------------------------------- //
+
+if (defined('MODE_PHP')) $lang_mode_php = array(
+  0 => 'Lämnar adminläge...',
+  1 => 'Startar adminläge...',
+);
+
+// ------------------------------------------------------------------------- //
+// File albmgr.php
+// ------------------------------------------------------------------------- //
+
+if (defined('ALBMGR_PHP')) $lang_albmgr_php = array(
+  'alb_need_name' => 'Album måste namnges!', //js-alert
+  'confirm_modifs' => 'Är du säker på att du vill göra dessa förändringar?', //js-alert
+  'no_change' => 'Du gjorde ingen förändring!', //js-alert
+  'new_album' => 'Nytt album',
+  'confirm_delete1' => 'Är du säker på att du vill radera detta album?', //js-alert
+  'confirm_delete2' => '\nAlla filer och deras kommentarer kommer att förloras', //js-alert
+  'select_first' => 'Välj ett album först', //js-alert
+  'alb_mrg' => 'Administrera album',
+  'my_gallery' => '* Mitt galleri *',
+  'no_category' => '* Ingen kategori *',
+  'delete' => 'Radera',
+  'new' => 'Nytt',
+  'apply_modifs' => 'Utför ändringar',
+  'select_category' => 'Välj kategori',
+);
+
+// ------------------------------------------------------------------------- //
+// File banning.php
+// ------------------------------------------------------------------------- //
+
+if (defined('BANNING_PHP')) $lang_banning_php = array(
+  'title' => 'Blockera användare', //cpg1.4
+  'user_name' => 'Användarnamn', //cpg1.4
+  'ip_address' => 'IP-adress', //cpg1.4
+  'expiry' => 'Gäller till (blankt är permanent)', //cpg1.4
+  'edit_ban' => 'Spara ändringar', //cpg1.4
+  'delete_ban' => 'Ta bort', //cpg1.4
+  'add_new' => 'Ny blockering', //cpg1.4
+  'add_ban' => 'Blockera användare', //cpg1.4
+  'error_user' => 'Hittar inte användaren', //cpg1.4
+  'error_specify' => 'Du måste specificera användarnamn eller IP-adress.', //cpg1.4
+  'error_ban_id' => 'Ogiltigt blockeringsID!', //cpg1.4
+  'error_admin_ban' => 'Du kan inte blockera dig själv!', //cpg1.4
+  'error_server_ban' => 'Tänkte du blockera din egen server? Tsk tsk...', //cpg1.4
+  'error_ip_forbidden' => 'Du kan inte blockera detta IP - det är icke-routbar (privat) ändå!<br />Om du vill tillåta blockering av privata IP-adresser, ändra detta i <a href="admin.php">inställningar</a> (det är bara aktuelt om Coppermine körs i ett LAN).', //cpg1.4
+  'lookup_ip' => 'Slå upp en IP-adress', //cpg1.4
+  'submit' => 'OK!', //cpg1.4
+  'select_date' => 'Välj datum', //cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File bridgemgr.php //cpg1.4
+// ------------------------------------------------------------------------- //
+
+if (defined('BRIDGEMGR_PHP')) $lang_bridgemgr_php = array(
+  'title' => 'Länkningsguide (Bridge Guide)',
+  'warning' => 'Varning: När du använder denna guide kommer känslig data att skickas med oskyddade html-formulär. Kör guiden bara på din egen dator (inte på en offentlig dator på t.ex. ett internetcafé). Var även nogrann med att rensa webbläsarens cache och tillfälliga filer när du är färdig, annars kan andra komma åt din data!',
+  'back' => 'Föregående',
+  'next' => 'Nästa',
+  'start_wizard' => 'Starta länkningsguide',
+  'finish' => 'Avsluta',
+  'hide_unused_fields' => 'Göm oanvända formulärfält (rekommenderat)',
+  'clear_unused_db_fields' => 'Rensa ogilltiga databasposter (rekommenderat)',
+  'custom_bridge_file' => 'Namn på din länkningsfil (bridge-fil) (om filen heter <i>myfile.inc.php</i> skriv <i>myfile</i> här)',
+  'no_action_needed' => 'Inget behöver göras här. Tryck bara "Nästa" för att fortsätta',
+  'reset_to_default' => 'Återställ förinställda värden',
+  'choose_bbs_app' => 'Välj program att länka samman Coppermine med',
+  'support_url' => 'Gå hit för support för detta program',
+  'settings_path' => 'sökväg(ar) som används av ditt forum',
+  'database_connection' => 'Databasanslutning (connection)',
+  'database_tables' => 'Databastabeller (tables)',
+  'bbs_groups' => 'Forumgrupper (groups)',
+  'license_number' => 'Licensnummer',
+  'license_number_explanation' => 'Ange ditt licensnummer (om möjligt)',
+  'db_database_name' => 'Databasnamn',
+  'db_database_name_explanation' => 'Ange namnet på databasen ditt forum använder',
+  'db_hostname' => 'Databasvärd (host)',
+  'db_hostname_explanation' => 'Värdnamn där din MySQL-databas finns, vanligtvis &quot;localhost&quot;',
+  'db_username' => 'Databasens användarnamn (user account)',
+  'db_username_explanation' => 'MySQL-databasens användarnamn för anslutning till forumet',
+  'db_password' => 'Databasens lösenord',
+  'db_password_explanation' => 'Lösenord för MySQL-användarnamnet',
+  'full_forum_url' => 'Forum-URL',
+  'full_forum_url_explanation' => 'Fullständig URL till ditt forum (inkl http://, t.ex. http://www.yourdomain.tld/forum)',
+  'relative_path_of_forum_from_webroot' => 'Relativ sökväg',
+  'relative_path_of_forum_from_webroot_explanation' => 'Relativ sökväg till ditt forum från din URL (Exempel: om ditt forum finns på http://www.yourdomain.tld/forum/, skriv &quot;/forum/&quot; här)',
+  'relative_path_to_config_file' => 'Relativ sökväg till ditt forums konfigurationsfil',
+  'relative_path_to_config_file_explanation' => 'Relativ sökväg till ditt forum, sett från din Coppermine-mapp (t.ex. &quot;../forum/&quot, om ditt forum finns på http://www.yourdomain.tld/forum/ och Coppermine på http://www.yourdomain.tld/gallery/)',
+  'cookie_prefix' => 'Prefix för cookies',
+  'cookie_prefix_explanation' => 'Detta måste vara samma namn som ditt forum använder för cookies',
+  'table_prefix' => 'Prefix för tabeller',
+  'table_prefix_explanation' => 'Måste vara samma prefix som ditt forum använder.',
+  'user_table' => 'Tabell för användare',
+  'user_table_explanation' => '(det förinställda namnet brukar fungera, så länge ditt forum använder standardinställningarna)',
+  'session_table' => 'Tabell för sessioner',
+  'session_table_explanation' => '(det förinställda namnet brukar fungera, så länge ditt forum använder standardinställningarna)',
+  'group_table' => 'Tabell för grupper',
+  'group_table_explanation' => '(det förinställda namnet brukar fungera, så länge ditt forum använder standardinställningarna)',
+  'group_relation_table' => 'Tabell för grupprelationer',
+  'group_relation_table_explanation' => '(det förinställda namnet brukar fungera, så länge ditt forum använder standardinställningarna)',
+  'group_mapping_table' => 'Tabell för mappning av grupper',
+  'group_mapping_table_explanation' => '(det förinställda namnet brukar fungera, så länge ditt forum använder standardinställningarna)',
+  'use_standard_groups' => 'Använd standard för forumgrupper',
+  'use_standard_groups_explanation' => 'Använd standardgrupper (inbyggda, rekommenderat). Detta kommer att göra alla inställningar för grupper gjorda på denna sida ogiltiga. Avmarkera detta alternativ ENDAST om vet vad du gör!',
+  'validating_group' => 'Bekräfta grupp',
+  'validating_group_explanation' => 'Grupp-ID i forumet där användarkonton som måste bekräftas finns (det förinställda namnet brukar fungera, ändra bara om du vet att det ska vara något annat!)',
+  'guest_group' => 'Grupp för gäster',
+  'guest_group_explanation' => 'Grupp-ID i forumet där gäster (anonyma användare) finns (det förinställda namnet brukar fungera, ändra bara om du vet att det ska vara något annat!)',
+  'member_group' => 'Grupp för medlemmar',
+  'member_group_explanation' => 'Grupp-ID i forumet där &quot;vanliga&quot; användare finns (det förinställda namnet brukar fungera, ändra bara om du vet att det ska vara något annat!)',
+  'admin_group' => 'Grupp för administratörer',
+  'admin_group_explanation' => 'Grupp-ID i forumet där administratörer finns (det förinställda namnet brukar fungera, ändra bara om du vet att det ska vara något annat!)',
+  'banned_group' => 'Grupp för blockerade användare',
+  'banned_group_explanation' => 'Grupp-ID i forumet där blockerade användare finns (det förinställda namnet brukar fungera, ändra bara om du vet att det ska vara något annat!)',
+  'global_moderators_group' => 'Grupp för globala moderatorer',
+  'global_moderators_group_explanation' => 'Grupp-ID i forumet där globala moderatorer finns (det förinställda namnet brukar fungera, ändra bara om du vet att det ska vara något annat!)',
+  'special_settings' => 'Forum-specifika inställningar',
+  'logout_flag' => 'phpBB-version (logout flag)',
+  'logout_flag_explanation' => 'Vilken version har ditt forum (inställningen bestämmer hur utloggningar hanteras)',
+  'use_post_based_groups' => 'Använd inläggsbaserade grupper?',
+  'logout_flag_yes' => '2.0.5 eller högre',
+  'logout_flag_no' => '2.0.4 eller lägre',
+  'use_post_based_groups_explanation' => 'Ska grupper i forumet som baseras på antal inlägg användas (tillåter finstyrning av behörigheter) eller ska de förinställda grupperna användas (enklare administration, rekommenderas). Du kan ändra detta senare.',
+  'use_post_based_groups_yes' => 'Ja',
+  'use_post_based_groups_no' => 'Nej',
+  'error_title' => 'Du måste rätta till dessa fel innan du kan fortsätta. Gå till föregående sida.',
+  'error_specify_bbs' => 'Du måste ange vilket program du vill länka Coppermine med.',
+  'error_no_blank_name' => ' Du kan inte lämna fältet för länkningsfil tomt.',
+  'error_no_special_chars' => 'Länkningsfilens namn får inte innehålla några specialtecken annat än understreck (_) eller streck (-)!',
+  'error_bridge_file_not_exist' => 'Länkningsfilen %s finns inte på servern. Se till att den är uppladdad.',
+  'finalize' => 'Aktivera/avaktivera länkning med forum',
+  'finalize_explanation' => 'Så här långt har dina inställningar sparats i databasen, men integrationen har inte aktiverats. Du kan slå på/av länkningen senare. Var noga med att komma ihåg administratörerens användarnamn och lösenord från installationen av Coppermine, du kan behöva det senare för att göra ändringar. Om något går fel, gå till %s och avaktivera länkningen med forumet där, genom att använda det icke länkade administratörskontot (vanligtvis det konto du satte upp när du installerade Coppermine).',
+  'your_bridge_settings' => 'Dina inställningar för länkningen',
+  'title_enable' => 'Aktivera / avaktivera integration/länkning med %s',
+  'bridge_enable_yes' => 'Aktivera',
+  'bridge_enable_no' => 'Avaktivera',
+  'error_must_not_be_empty' => 'Kan inte lämnas tom',
+  'error_either_be' => 'Måste vara %s eller %s',
+  'error_folder_not_exist' => '%s finns inte. Rätta till värdet du angav för %s.',
+  'error_cookie_not_readible' => 'Coppermine kan inte läsa cookien med namn %s. Rätta till värdet du angav för %s, eller gå till administratörsinställningarna och kontrollera att sökvägen är läsbar för Coppermine.',
+  'error_mandatory_field_empty' => 'Du kan inte lämna fältet %s tomt - fyll i korrekt värde.',
+  'error_no_trailing_slash' => 'Det får inte vara något avslutande snedstreck i fältet %s.',
+  'error_trailing_slash' => 'Det måste vara ett avslutande snedstreck i fältet %s.',
+  'error_db_connect' => 'Kunde inte ansluta till MySQL-databasen med det du angivit. MySQL svarade:',
+  'error_db_name' => 'Coppermine kunde etablera kontakt men kunde inte ansluta till databasen %s. Kontrollera att du angivit %s korrekt. MySQL svarade:',
+  'error_prefix_and_table' => '%s och ',
+  'error_db_table' => 'Kunde inte hitta tabellen %s. Kontrollera att du angivit %s korrekt.',
+  'recovery_title' => 'Länkningsguide: kritisk återställning',
+  'recovery_explanation' => 'Om du kom hit för att administrera Coppermines forumlänkning måste du logga in som administratör först. Om du inte kan logga in för att länkningen inte fungerar som den ska kan du avaktivera länkningen på den här sidan. Om du anger ditt användarnamn och ditt lösenord kommer du inte att bli inloggad, utan bara avaktivera länkningen med forumet. Läs dokumentationen för mer information.',
+  'username' => 'Användarnamn',
+  'password' => 'Lösenord',
+  'disable_submit' => 'Skicka',
+  'recovery_success_title' => 'Autentiseringen lyckades',
+  'recovery_success_content' => 'Du har avaktiverat länkningen med forumet. Din Coppermine-installation körs nu självständigt.',
+  'recovery_success_advice_login' => 'Logga in som administratör för att ändra länkningsinställningarna och/eller aktivera länkningen med forumet igen.',
+  'goto_login' => 'Gå till login-sidan',
+  'goto_bridgemgr' => 'Gå till länkningsguiden',
+  'recovery_failure_title' => 'Autentiseringen misslyckades',
+  'recovery_failure_content' => 'Du angav felaktiga uppgifter. Du måste ange uppgifter för administratörskontot för den fristående installationen av Coppermine (vanligtvis kontot som skapades i samband med installationen).',
+  'try_again' => 'Försök igen',
+  'recovery_wait_title' => 'Tiden för fördröjning har inte löpt ut.',
+  'recovery_wait_content' => 'Av säkerhetsskäl kan du inte försöka logga in efter misslyckade försök med så kort tid emellan. Var god försök igen lite senare.',
+  'wait' => 'Vänta',
+  'create_redir_file' => 'Skapa fil för vidarebefordran (rekommenderat)',
+  'create_redir_file_explanation' => 'För att vidarebefordra användare tillbaka till Coppermine när de loggat in via forumet behöver en fil för vidarebefordran skapas i din forum-mapp. När detta val är markerat kommer länkningsguiden att skapa den filen, i annat fall får du koden, redo att klistras in vid manuellt skapande av filen.',
+  'browse' => 'Bläddra',
+);
+
+// ------------------------------------------------------------------------- //
+// File calendar.php //cpg1.4
+// ------------------------------------------------------------------------- //
+
+if (defined('CALENDAR_PHP')) $lang_calendar_php = array(
+  'title' => 'Kalender', //cpg1.4
+  'close' => 'Avsluta', //cpg1.4
+  'clear_date' => 'Rensa datum', //cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File catmgr.php
+// ------------------------------------------------------------------------- //
+
+if (defined('CATMGR_PHP')) $lang_catmgr_php = array(
+  'miss_param' => 'Parametrar som krävs för \'%s\' operationen stöds inte!',
+  'unknown_cat' => 'Vald kategori finns inte i databasen',
+  'usergal_cat_ro' => 'Kategorin användargallerier kan inte raderas!',
+  'manage_cat' => 'Inställningar för kategorier',
+  'confirm_delete' => 'Är du säker på att du vill RADERA denna kategori?', //js-alert
+  'category' => 'Kategori',
+  'operations' => 'Operationer',
+  'move_into' => 'Flytta till',
+  'update_create' => 'Uppdatera/skapa galleri',
+  'parent_cat' => 'Huvudkategori',
+  'cat_title' => 'Kategorititel',
+  'cat_thumb' => 'Kategoritumnagel', //cpg1.3.0
+  'cat_desc' => 'Kategoribeskrivning',
+  'categories_alpha_sort' => 'Sortera kategorier alfabetisk (istället för vald sorting)', //cpg1.4
+  'save_cfg' => 'Spara inställningar', //cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File admin.php //cpg1.4
+// ------------------------------------------------------------------------- //
+
+if (defined('ADMIN_PHP')) $lang_admin_php = array(
+  'title' => 'Gallerikonfiguration', //cpg1.4
+  'manage_exif' => 'Administrera visning av Exif-information', //cpg1.4
+  'manage_plugins' => 'Administrera insticksmoduler', //cpg1.4
+  'manage_keyword' => 'Administrera nyckelord', //cpg1.4
+  'restore_cfg' => 'Återställ till systemets grundinställning',
+  'save_cfg' => 'Spara inställningar',
+  'notes' => 'Anmärkningar',
+  'info' => 'Information',
+  'upd_success' => 'Galleriets inställningar har uppdaterats',
+  'restore_success' => 'Galleriets grundinställningar har återställts',
+  'name_a' => 'Namn, stigande',
+  'name_d' => 'Namn, fallande',
+  'title_a' => 'Titel, stigande',
+  'title_d' => 'Titel, fallande',
+  'date_a' => 'Datum, stigande',
+  'date_d' => 'Datum, fallande',
+  'exifdate_a' => 'Exif-datum, stigande', //Exif date mod
+  'exifdate_d' => 'Exif-datum, fallande', //Exif date mod
+  'pos_a' => 'Position, stigande', //cpg1.4
+  'pos_d' => 'Position, fallande', //cpg1.4
+  'th_any' => 'Max sida',
+  'th_ht' => 'Höjd',
+  'th_wd' => 'Bredd',
+  'label' => ' markering', //cpg1.3.0
+  'item' => ' alternativ', //cpg1.3.0
+  'debug_everyone' => ' alla', //cpg1.3.0
+  'debug_admin' => ' enbart admin', //cpg1.3.0
+  'no_logs'=> 'Av', //cpg1.4
+  'log_normal'=> 'Normal', //cpg1.4
+  'log_all' => 'Alla', //cpg1.4
+  'view_logs' => 'Visa loggar', //cpg1.4
+  'click_expand' => 'Klicka på sektionsnamnet för att expandera', //cpg1.4
+  'expand_all' => 'Expandera alla', //cpg1.4
+  'notice1' => '(*) Dessa inställningarna bör inte ändras om du har filer i din databas.', //cpg1.4 - (relocated)
+  'notice2' => '(**) När den här ändringen görs kommer bara filer som läggs till efteråt att påverkas. Det är därför att rekommendera att inte göra ändringar när det finns filer i galleriet. Du kan välja att låta ändringarna gälla även existerande filer med hjälp av &quot;<a href="util.php">administratörsverktyget</a>&quot; (funktionen för att skala om bilder).', //cpg1.4 - (relocated)
+  'notice3' => '(***) Alla loggfiler är skrivna på engelska.', //cpg1.4 - (relocated)
+  'bbs_disabled' => 'Funktionen är inaktiverad i och med länkning med forum', //cpg1.4
+  'auto_resize_everyone' => ' alla', //cpg1.4
+  'auto_resize_user' => ' endast medlemmar', //cpg1.4
+  'ascending' => 'stigande', //cpg1.4
+  'descending' => 'fallande', //cpg1.4
+);
+
+if (defined('ADMIN_PHP')) $lang_admin_data = array(
+  'Allmänna inställningar',
+  array('Galleriets namn', 'gallery_name', 0, 'f=index.htm&amp;as=admin_general_name&amp;ae=admin_general_name_end'), //cpg1.4
+  array('Galleriets beskrivning', 'gallery_description', 0, 'f=index.htm&amp;as=admin_general_description&amp;ae=admin_general_description_end'), //cpg1.4
+  array('Galleriadministratörens e-post', 'gallery_admin_email', 0, 'f=index.htm&amp;as=admin_general_email&amp;ae=admin_general_email_end'), //cpg1.4
+  array('URL till din mapp med Coppermine (inget "index.php" eller liknande i slutet)', 'ecards_more_pic_target', 0, 'f=index.htm&amp;as=admin_general_coppermine-url&amp;ae=admin_general_coppermine-url_end'), //cpg1.4
+  array('URL till startsidan', 'home_target', 0, 'f=index.htm&amp;as=admin_general_home-url&amp;ae=admin_general_home-url_end'), //cpg1.4
+  array('Tillåt nedladdning av favoriter som Zip-fil', 'enable_zipdownload', 1, 'f=index.htm&amp;as=admin_general_zip-download&amp;ae=admin_general_zip-download_end'), //cpg1.4
+  array('Skillnad i tidszon jämfört med GMT (nuvarande tid: ' . localised_date(-1, $comment_date_fmt) . ')','time_offset',0, 'f=index.htm&amp;as=admin_general_time-offset&amp;ae=admin_general_time-offset_end&amp;top=1'), //cpg1.4
+  array('Aktivera krypterade lösenord (kan inte ångras)','enable_encrypted_passwords',1, 'f=index.htm&amp;as=admin_general_encrypt_password_start&amp;ae=admin_general_encrypt_password_end&amp;top=1'), // cpg 1.4
+  array('Aktivera hjälpikoner (hjälp endast tillgänglig på engelska)','enable_help',9, 'f=index.htm&amp;as=admin_general_help&amp;ae=admin_general_help_end'), //cpg1.4
+  array('Aktivera klickbara nyckelord i sökfunktionen','clickable_keyword_search',14, 'f=index.htm&amp;as=admin_general_keywords_start&amp;ae=admin_general_keywords_end'), //cpg1.4
+  array('Aktivera insticksmoduler (plugins)', 'enable_plugins', 12, 'f=index.htm&amp;as=admin_general_enable-plugins&amp;ae=admin_general_enable-plugins_end'),  //cpg1.4
+  array('Tillåt blockering av non-routable (privata) IP adresser', 'ban_private_ip', 1,  'f=index.htm&amp;as=admin_general_private-ip&amp;ae=admin_general_private-ip_end'), //cpg1.4
+  array('Bläddringsbart gränssnitt för "Lägg till flera filer"', 'browse_batch_add', 1, 'f=index.htm&amp;as=admin_general_browsable_batch_add&amp;ae=admin_general_browsable_batch_add_end'), //cpg1.4
+
+  'Språk &amp; teckenuppsättning',
+  array('Språk', 'lang', 5, 'f=index.htm&amp;as=admin_language_language&amp;ae=admin_language_language_end'), //cpg1.4
+  array('Använd engelska om fras inte finns översatt', 'language_fallback', 1, 'f=index.htm&amp;as=admin_language_fallback&amp;ae=admin_language_fallback_end'), //cpg1.4
+  array('Teckenuppsättning', 'charset', 4, 'f=index.htm&amp;as=admin_language_charset&amp;ae=admin_language_charset_end'), //cpg1.4
+  array('Visa lista över språk', 'language_list', 1, 'f=index.htm&amp;as=admin_language_list&amp;ae=admin_language_list_end'), //cpg1.4
+  array('Visa flaggor för språk', 'language_flags', 8, 'f=index.htm&amp;as=admin_language_flags&amp;ae=admin_language_flags_end&amp;top=1'), //cpg1.4
+  array('Visa &quot;återställ&quot; i språkvalen', 'language_reset', 1, 'f=index.htm&amp;as=admin_language_reset&amp;ae=admin_language_reset_end&amp;top=1'), //cpg1.4
+  //array('Visa föregående/nästa på flikade sidor', 'previous_next_tab', 1), //cpg1.4
+
+  'Tema',
+  array('Tema', 'theme', 6, 'f=index.htm&amp;as=admin_theme_theme&amp;ae=admin_theme_theme_end'), //cpg1.4
+  array('Visa lista med teman', 'theme_list', 1, 'f=index.htm&amp;as=admin_theme_theme_list&amp;ae=admin_theme_theme_list_end'), //cpg1.4
+  array('Visa &quot;återställ&quot; i temavalen', 'theme_reset', 1, 'f=index.htm&amp;as=admin_theme_theme_reset&amp;ae=admin_theme_theme_reset_end'), //cpg1.4
+  array('Visa FAQ', 'display_faq', 1, 'f=index.htm&amp;as=admin_theme_faq&amp;ae=admin_theme_faq_end'), //cpg1.4
+  array('Anpassat namn på menylänk', 'custom_lnk_name', 0,'f=index.htm&amp;as=admin_theme_custom_lnk_name&amp;ae=admin_theme_custom_lnk_name_end'), //cpg1.4
+  array('Anpassat namn på menylänk (URL)', 'custom_lnk_url', 0,'f=index.htm&amp;as=admin_language_custom_lnk_url&amp;ae=admin_language_custom_lnk_url_end'), //cpg1.4
+  array('Visa BBcode-hjälp', 'show_bbcode_help', 1, 'f=index.htm&amp;as=admin_theme_bbcode&amp;ae=admin_theme_bbcode_end&amp;top=1'), //cpg1.4
+  array('Visa "stilblock" för teman som är överensstämmer med XHTML- och CSS-standarderna ','vanity_block',1, 'f=index.htm&amp;as=vanity_block&amp;ae=vanity_block_end'), //cpg1.4
+  array('Sökväg till anpassat sidhuvud (header include)', 'custom_header_path', 0, 'f=index.htm&amp;as=admin_theme_include_path_start&amp;ae=admin_theme_include_path_end'), //cpg1.4
+  array('Sökväg till anpassat sidfot (footer include)', 'custom_footer_path', 0, 'f=index.htm&amp;as=admin_theme_include_path_start&amp;ae=admin_theme_include_path_end'), //cpg1.4
+
+  'Albumlista',
+  array('Bredd på huvudtabellen (pixlar eller %)', 'main_table_width', 0, 'f=index.htm&amp;as=admin_album_table-width&amp;ae=admin_album_table-width_end'), //cpg1.4
+  array('Antal kategorinivåer som visas', 'subcat_level', 0, 'f=index.htm&amp;as=admin_album_category-levels&amp;ae=admin_album_category-levels_end'), //cpg1.4
+  array('Antal album som visas', 'albums_per_page', 0, 'f=index.htm&amp;as=admin_album_number&amp;ae=admin_album_number_end'), //cpg1.4
+  array('Antal kolumner i albumlistan', 'album_list_cols', 0, 'f=index.htm&amp;as=admin_album_columns&amp;ae=admin_album_columns_end'), //cpg1.4
+  array('Storlek på tumnagel i pixlar', 'alb_list_thumb_size', 0, 'f=index.htm&amp;as=admin_album_thumbnail-size&amp;ae=admin_album_thumbnail-size_end'), //cpg1.4
+  array('Innehåll på förstasidan', 'main_page_layout', 0, 'f=index.htm&amp;as=admin_album_list_content&amp;ae=admin_album_list_content_end'), //cpg1.4
+  array('Visa tumnagel för albumet på översta nivån','first_level',1, 'f=index.htm&amp;as=admin_album_first-level_thumbs&amp;ae=admin_album_first-level_thumbs_end'), //cpg1.4
+  array('Sortera kategorier alfabetiskt (istället för vald ordning)','categories_alpha_sort',1, 'f=index.htm&amp;as=admin_album_list_alphasort_start&amp;ae=admin_album_list_alphasort_end'), //cpg1.4
+  array('Visa antal länkade filer','link_pic_count',1, 'f=index.htm&amp;as=admin_album_linked_files_start&amp;ae=admin_album_linked_files_end'), //cpg1.4
+
+  'Tumnaglar',
+  array('Antal kolumner på tumnagelsidan', 'thumbcols', 0, 'f=index.htm&amp;as=admin_thumbnail_columns&amp;ae=admin_thumbnail_columns_end'), //cpg1.4
+  array('Antal rader på tumnagelsidan', 'thumbrows', 0, 'f=index.htm&amp;as=admin_thumbnail_rows&amp;ae=admin_thumbnail_rows_end'), //cpg1.4
+  array('Maximalt antal flikar att visa', 'max_tabs', 10, 'f=index.htm&amp;as=admin_thumbnail_tabs&amp;ae=admin_thumbnail_tabs_end'), //cpg1.4
+  array('Visa rubrik (utöver titel) under tumnageln', 'caption_in_thumbview', 1, 'f=index.htm&amp;as=admin_thumbnail_display_caption&amp;ae=admin_thumbnail_display_caption_end'), //cpg1.4
+  array('Visa antal visningar under tumnageln', 'views_in_thumbview', 1, 'f=index.htm&amp;as=admin_thumbnail_display_views&amp;ae=admin_thumbnail_display_views_end'), //cpg1.4
+  array('Visa antal kommentarer under tumnageln', 'display_comment_count', 1, 'f=index.htm&amp;as=admin_thumbnail_display_comments&amp;ae=admin_thumbnail_display_comments_end'), //cpg1.4
+  array('Visa vem som lagt in filen under tumnageln', 'display_uploader', 1, 'f=index.htm&amp;as=admin_thumbnail_display_uploader&amp;ae=admin_thumbnail_display_uploader_end'), //cpg1.4
+  //array('Visa vilken administratör som lagt in filen under tumnageln', 'display_admin_uploader', 1, 'f=index.htm&amp;as=admin_thumbnail_display_admin_uploader&amp;ae=admin_thumbnail_display_admin_uploader_end'), //cpg1.4
+  array('Visa filnamnet under tumnageln', 'display_filename', 1, 'f=index.htm&amp;as=admin_thumbnail_display_filename&amp;ae=admin_thumbnail_display_filename_end'), //cpg1.4
+  //array('Visa beskrivning av album', 'alb_desc_thumb', 1, 'f=index.htm&amp;as=admin_thumbnail_display_description&amp;ae=admin_thumbnail_display_description_end'), //cpg1.4
+  array('Förvald sorteringsordning', 'default_sort_order', 3, 'f=index.htm&amp;as=admin_thumbnail_default_sortorder&amp;ae=admin_thumbnail_default_sortorder_end'), //cpg1.4
+  array('Minsta antal röster för att en fil ska hamna på topplistan', 'min_votes_for_rating', 0, 'f=index.htm&amp;as=admin_thumbnail_minimum_votes&amp;ae=admin_thumbnail_minimum_votes_end'), //cpg1.4
+
+  'Filvisning', //cpg1.4
+  array('Bredd på tabell för filvisning (pixlar eller %)', 'picture_table_width', 0, 'f=index.htm&amp;as=admin_image_comment_table-width&amp;ae=admin_image_comment_table-width_end'), //cpg1.4
+  array('Filinformation synlig som standard', 'display_pic_info', 1, 'f=index.htm&amp;as=admin_image_comment_info_visible&amp;ae=admin_image_comment_info_visible_end'), //cpg1.4
+  array('Maximal längd för filbeskrivning', 'max_img_desc_length', 0, 'f=index.htm&amp;as=admin_image_comment_descr_length&amp;ae=admin_image_comment_descr_length_end'), //cpg1.4
+  array('Maximalt antal tecken i ett ord', 'max_com_wlength', 0, 'f=index.htm&amp;as=admin_image_comment_chars_per_word&amp;ae=admin_image_comment_chars_per_word_end'), //cpg1.4
+  array('Visa filmremsa', 'display_film_strip', 1, 'f=index.htm&amp;as=admin_image_comment_filmstrip_toggle&amp;ae=admin_image_comment_filmstrip_toggle_end'), //cpg1.4
+  array('Visa filnamn under tumnageln i filmremsan', 'display_film_strip_filename', 1, 'f=index.htm&amp;as=admin_image_comment_display_film_strip_filename&amp;ae=admin_image_comment_display_film_strip_filename_end'), //cpg1.4
+  array('Antal filer i filmremsan', 'max_film_strip_items', 0, 'f=index.htm&amp;as=admin_image_comment_filmstrip_number&amp;ae=admin_image_comment_filmstrip_number_end'), //cpg1.4
+  array('Bildspelets intervall i millisekunder (1 sekund = 1000 millisekunder)', 'slideshow_interval', 0, 'f=index.htm&amp;as=admin_image_comment_slideshow_interval&amp;ae=admin_image_comment_slideshow_interval_end'), //cpg1.4
+
+  'Kommentarer', //cpg1.4
+  array('Filtrera fula ord i kommentarer', 'filter_bad_words', 1, 'f=index.htm&amp;as=admin_image_comment_bad_words&amp;ae=admin_image_comment_bad_words_end'), //cpg1.4
+  array('Tillåt smilies i kommentarer', 'enable_smilies', 1, 'f=index.htm&amp;as=admin_image_comment_smilies&amp;ae=admin_image_comment_smilies_end'), //cpg1.4
+  array('Tillåt upprepade kommentarer på en fil av samma användare (ta bort skydd mot "flooding")', 'disable_comment_flood_protect', 1, 'f=index.htm&amp;as=admin_image_comment_flood&amp;ae=admin_image_comment_flood_end'), //cpg1.4
+  array('Maximalt antal rader i en kommentar', 'max_com_lines', 0, 'f=index.htm&amp;as=admin_image_comment_lines&amp;ae=admin_image_comment_lines_end'), //cpg1.4
+  array('Maximal längd på en kommentar', 'max_com_size', 0, 'f=index.htm&amp;as=admin_image_comment_length&amp;ae=admin_image_comment_length_end'), //cpg1.4
+  array('Meddela administratören via e-post vid ny kommentar', 'email_comment_notification', 1, 'f=index.htm&amp;as=admin_image_comment_admin_notify&amp;ae=admin_image_comment_admin_notify_end'), //cpg1.4
+  array('Sorteringsordning för kommentarer', 'comments_sort_descending', 17, 'f=index.htm&amp;as=admin_comment_sort_start&amp;ae=admin_comment_sort_end'), //cpg1.4
+  array('Prefix för kommentarer av gäster/anonyma användare', 'comments_anon_pfx', 0, 'f=index.htm&amp;as=comments_anon_pfx&amp;ae=comments_anon_pfx_end'), //cpg1.4
+
+  'Filer och tumnaglar',
+  array('Kvalitet på JPEG-filer', 'jpeg_qual', 0, 'f=index.htm&amp;as=admin_picture_thumbnail_jpeg_quality&amp;ae=admin_picture_thumbnail_jpeg_quality_end'), //cpg1.4
+  array('Maximal dimension för tumnagel <a href="#notice2" class="clickable_option">**</a>', 'thumb_width', 0, 'f=index.htm&amp;as=admin_picture_thumbnail_max-dimension&amp;ae=admin_picture_thumbnail_max-dimension_end'), //cpg1.4
+  array('Använd dimension (bredd, höjd eller maximal sida för tumnageln ) <a href="#notice2" class="clickable_option">**</a>', 'thumb_use', 7, 'f=index.htm&amp;as=admin_picture_thumbnail_use-dimension&amp;ae=admin_picture_thumbnail_use-dimension_end'), //cpg1.4
+  array('Skapa mellanliggande bilder','make_intermediate',1, 'f=index.htm&amp;as=admin_picture_thumbnail_intermediate_toggle&amp;ae=admin_picture_thumbnail_intermediate_toggle_end'), //cpg1.4
+  array('Maximal bredd eller höjd på en mellanliggande bild/film <a href="#notice2" class="clickable_option">**</a>', 'picture_width', 0, 'f=index.htm&amp;as=admin_picture_thumbnail_intermediate_dimension&amp;ae=admin_picture_thumbnail_intermediate_dimension_end'), //cpg1.4
+  array('Maximal filstorlek på uppladdade filer (KB)', 'max_upl_size', 0, 'f=index.htm&amp;as=admin_picture_thumbnail_max_upload_size&amp;ae=admin_picture_thumbnail_max_upload_size_end'), //cpg1.4
+  array('Maximal bredd eller höjd på uppladdade bilder/filmer (pixlar)', 'max_upl_width_height', 0, 'f=index.htm&amp;as=admin_picture_thumbnail_max_upload_dimension&amp;ae=admin_picture_thumbnail_max_upload_dimension_end'), //cpg1.4
+  array('Skala om bilder som är större än maxbredd eller maxhöjd automatiskt', 'auto_resize', 16, 'f=index.htm&amp;as=admin_picture_thumbnail_auto-resize&amp;ae=admin_picture_thumbnail_auto-resize_end'), //cpg1.4
+
+  'Filer och tumnaglar - avancerade inställningar',
+  array('Album kan vara privata (notera: om du ändrar från "Ja" till "Nej" blir alla nuvarande privata album publika)', 'allow_private_albums', 1, 'f=index.htm&amp;as=admin_picture_thumb_advanced_private_toggle&amp;ae=admin_picture_thumb_advanced_private_toggle_end'), //cpg1.4
+  array('Visa privata album som ikon för icke inloggade användare','show_private',1, 'f=index.htm&amp;as=admin_picture_thumb_advanced_private_icon_show&amp;ae=admin_picture_thumb_advanced_private_icon_show_end'), //cpg1.4
+  array('Förbjudna tecken i filnamn', 'forbiden_fname_char',0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_filename_forbidden_chars&amp;ae=admin_picture_thumb_advanced_filename_forbidden_chars_end'), //cpg1.4
+  //array('Godkända filändelser för uppladdade filer', 'allowed_file_extensions',0, 'f=index.htm&amp;as=&amp;ae=_end'), //cpg1.4
+  array('Tillåtna bildformat', 'allowed_img_types',0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_pic_extensions&amp;ae=admin_picture_thumb_advanced_pic_extensions_end'), //cpg1.4
+  array('Tillåtna videoformat', 'allowed_mov_types',0, 'f=index.htm&amp;as=admin_thumbs_advanced_movie&amp;ae=admin_thumbs_advanced_movie_end'), //cpg1.4
+  array('Autostart för videouppspelning', 'media_autostart',1, 'f=index.htm&amp;as=admin_movie_autoplay&amp;ae=admin_movie_autoplay_end'), //cpg1.4
+  array('Tillåtna ljudformat', 'allowed_snd_types',0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_audio_extensions&amp;ae=admin_picture_thumb_advanced_audio_extensions_end'), //cpg1.4
+  array('Tillåtna dokumentformat', 'allowed_doc_types',0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_doc_extensions&amp;ae=admin_picture_thumb_advanced_doc_extensions_end'), //cpg1.4
+  array('Metod för att skala om bilder','thumb_method',2, 'f=index.htm&amp;as=admin_picture_thumb_advanced_resize_method&amp;ae=admin_picture_thumb_advanced_resize_method_end'), //cpg1.4
+  array('Sökväg till ImageMagick (t.ex. /usr/bin/X11/)', 'impath', 0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_im_path&amp;ae=admin_picture_thumb_advanced_im_path_end'), //cpg1.4
+  //array('Tillåtna bildformat (gäller endast ImageMagick)', 'allowed_img_types',0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_allowed_imagetypes&amp;ae=admin_picture_thumb_advanced_allowed_imagetypes_end'), //cpg1.4
+  array('Kommandoval (Command line options) för ImageMagick', 'im_options', 0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_im_commandline&amp;ae=admin_picture_thumb_advanced_im_commandline_end'), //cpg1.4
+  array('Läs Exif-data i JPEG-filer', 'read_exif_data', 13, 'f=index.htm&amp;as=admin_picture_thumb_advanced_exif&amp;ae=admin_picture_thumb_advanced_exif_end'), //cpg1.4
+  array('Läs IPTC-data i JPEG-filer', 'read_iptc_data', 1, 'f=index.htm&amp;as=admin_picture_thumb_advanced_iptc&amp;ae=admin_picture_thumb_advanced_iptc_end'), //cpg1.4
+  array('Mapp för album <a href="#notice1" class="clickable_option">*</a>', 'fullpath', 0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_albums_dir&amp;ae=admin_picture_thumb_advanced_albums_dir_end'), //cpg1.4
+  array('Mapp för användarnas filer <a href="#notice1" class="clickable_option">*</a>', 'userpics', 0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_userpics_dir&amp;ae=admin_picture_thumb_advanced_userpics_dir_end'), //cpg1.4
+  array('Prefix för mellanliggande bilder <a href="#notice1" class="clickable_option">*</a>', 'normal_pfx', 0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_intermediate_prefix&amp;ae=admin_picture_thumb_advanced_intermediate_prefix_end'), //cpg1.4
+  array('Prefix för tumnaglar <a href="#notice1" class="clickable_option">*</a>', 'thumb_pfx', 0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_thumbs_prefix&amp;ae=admin_picture_thumb_advanced_thumbs_prefix_end'), //cpg1.4
+  array('Förvalt läge för mappar', 'default_dir_mode', 0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_chmod_folder&amp;ae=admin_picture_thumb_advanced_chmod_folder_end'), //cpg1.4
+  array('Förvalt läge för filer', 'default_file_mode', 0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_chmod_files&amp;ae=admin_picture_thumb_advanced_chmod_files_end'), //cpg1.4
+
+  'Användare',
+  array('Tillåt registrering av nya användare', 'allow_user_registration', 1, 'f=index.htm&amp;as=admin_allow_registration&amp;ae=admin_allow_registration_end'), //cpg1.4
+  array('Tillåta icke inloggade användare (gäst eller anonym)', 'allow_unlogged_access', 1, 'f=index.htm&amp;as=admin_allow_unlogged_access&amp;ae=admin_allow_unlogged_access_end'), //cpg1.4
+  array('Registrering kräver verifiering med e-post', 'reg_requires_valid_email', 1, 'f=index.htm&amp;as=admin_registration_verify&amp;ae=admin_registration_verify_end'), //cpg1.4
+  array('Meddela adminstratören vid registrering med e-post', 'reg_notify_admin_email', 1, 'f=index.htm&amp;as=admin_registration_notify&amp;ae=admin_registration_notify_end'), //cpg1.4
+  array('Administratören måste godkänna registrering', 'admin_activation', 1, 'f=index.htm&amp;as=admin_activation&amp;ae=admin_activation_end'),  //cpg1.4
+  array('Tillåt två användare att ha samma e-postadress', 'allow_duplicate_emails_addr', 1, 'f=index.htm&amp;as=admin_allow_duplicate_emails_addr&amp;ae=admin_allow_duplicate_emails_addr_end'), //cpg1.4
+  array('Meddela administratören att det finns uppladdningar som behöver godkännas', 'upl_notify_admin_email', 1, 'f=index.htm&amp;as=admin_approval_notify&amp;ae=admin_approval_notify_end'), //cpg1.4
+  array('Tillåt inloggade användare att se medlemslistan', 'allow_memberlist', 1, 'f=index.htm&amp;as=admin_user_memberlist&amp;ae=admin_user_memberlist_end'), //cpg1.4
+  array('Tillåt användare att ändra e-postadress i sin profil', 'allow_email_change', 1, 'f=index.htm&amp;as=admin_user_allow_email_change&amp;ae=admin_user_allow_email_change_end'), //cpg1.4
+  array('Tillåt användare att ha kontroll över sina bilder i publika gallerier', 'users_can_edit_pics', 1, 'f=index.htm&amp;as=admin_user_editpics_public_start&amp;ae=admin_user_editpics_public_end'), //cpg1.4
+  array('Antal misslyckade loginförsök innan tillfällig blockering (för att undvika attacker)', 'login_threshold', 0, 'f=index.htm&amp;as=admin_user_login_start&amp;ae=admin_user_login_end'), //cpg1.4
+  array('Varaktighet för tillfälling blockering efter misslyckade loginförsök', 'login_expiry', 0, 'f=index.htm&amp;as=admin_user_login_start&amp;ae=admin_user_login_end'), //cpg1.4
+  array('Aktivera rapport till administratören', 'report_post', 1, 'f=index.htm&amp;as=admin_user_enable_report&amp;ae=admin_user_enable_report_end'),  //cpg1.4
+
+// custom profile fields,  //cpg1.4
+  'Anpassade fält för användarprofiler (lämnas tomma om de inte används).
+  Använd Profil 6 för längre texter, såsom biografier.', //cpg1.4
+  array('Profil 1, namn', 'user_profile1_name', 0, 'f=index.htm&amp;as=admin_custom&amp;ae=admin_custom_end'), //cpg1.4
+  array('Profil 2, namn', 'user_profile2_name', 0), //cpg1.4
+  array('Profil 3, namn', 'user_profile3_name', 0), //cpg1.4
+  array('Profil 4, namn', 'user_profile4_name', 0), //cpg1.4
+  array('Profil 5, namn', 'user_profile5_name', 0), //cpg1.4
+  array('Profil 6, namn', 'user_profile6_name', 0), //cpg1.4
+
+  'Anpassade fält för bildbeskrivningar (lämnas tomma om de inte används)',
+  array('Fält 1, namn', 'user_field1_name', 0, 'f=index.htm&amp;as=admin_custom_image&amp;ae=admin_custom_image_end'), //cpg1.4
+  array('Fält 2, namn', 'user_field2_name', 0),
+  array('Fält 3, namn', 'user_field3_name', 0),
+  array('Fält 4, namn', 'user_field4_name', 0),
+
+  'Cookies',
+  array('Namn på cookie', 'cookie_name', 0, 'f=index.htm&amp;as=admin_cookie_name&amp;ae=admin_cookie_name_end'), //cpg1.4
+  array('Sökväg till cookie', 'cookie_path', 0, 'f=index.htm&amp;as=admin_cookie_path&amp;ae=admin_cookie_path_end'), //cpg1.4
+
+  'E-post (oftast behöver inget ändras här, lämna allt blankt om du är osäker)', //cpg1.4
+  array('SMTP-värd (om den lämnas tom används Sendmail)', 'smtp_host', 0, 'f=index.htm&amp;as=admin_email&amp;ae=admin_email_end'), //cpg1.4
+  array('SMTP-användarnamn', 'smtp_username', 0), //cpg1.4
+  array('SMTP-lösenord', 'smtp_password', 0), //cpg1.4
+
+  'Loggning och statistik', //cpg1.4
+  array('Loggningsläge <a href="#notice3" class="clickable_option">***</a>', 'log_mode', 11, 'f=index.htm&amp;as=admin_logging_log_mode&amp;ae=admin_logging_log_mode_end'), //cpg1.4
+  array('Logga e-vykort', 'log_ecards', 1, 'f=index.htm&amp;as=admin_general_log_ecards&amp;ae=admin_general_log_ecards_end'), //cpg1.4
+  array('För detaljerad statistik över röstningar','vote_details',1, 'f=index.htm&amp;as=admin_logging_votedetails&amp;ae=admin_logging_votedetails_end'), //cpg1.4
+  array('För detaljerad statistik över träffar','hit_details',1, 'f=index.htm&amp;as=admin_logging_hitdetails&amp;ae=admin_logging_hitdetails_end'), //cpg1.4
+
+  'Underhåll', //cpg1.4
+  array('Aktivera debug-läge', 'debug_mode', 9, 'f=index.htm&amp;as=debug_mode&amp;ae=debug_mode_end'), //cpg1.4
+  array('Visa anmärkningar i debug-läge', 'debug_notice', 1, 'f=index.htm&amp;as=admin_misc_debug_notices&amp;ae=admin_misc_debug_notices_end'), //cpg1.4
+  array('Galleriet är avstängt', 'offline', 1, 'f=index.htm&amp;as=admin_general_offline&amp;ae=admin_general_offline_end'), //cpg1.4
+);
+
+
+// ------------------------------------------------------------------------- //
+// File db_ecard.php
+// ------------------------------------------------------------------------- //
+
+if (defined('DB_ECARD_PHP')) $lang_db_ecard_php = array(
+  'title' => 'Skickade e-vykort',
+  'ecard_sender' => 'Avsändare',
+  'ecard_recipient' => 'Mottagare',
+  'ecard_date' => 'Datum',
+  'ecard_display' => 'Visa e-vykort',
+  'ecard_name' => 'Namn',
+  'ecard_email' => 'E-post',
+  'ecard_ip' => 'IP',
+  'ecard_ascending' => 'stigande',
+  'ecard_descending' => 'fallande',
+  'ecard_sorted' => 'sorterade',
+  'ecard_by_date' => 'efter datum',
+  'ecard_by_sender_name' => 'efter avsändarens namn',
+  'ecard_by_sender_email' => 'efter avsändarens e-post',
+  'ecard_by_sender_ip' => 'efter avsändarens IP-nummer',
+  'ecard_by_recipient_name' => 'efter mottagarens namn',
+  'ecard_by_recipient_email' => 'efter mottagarens e-post',
+  'ecard_number' => 'Visar kort %s till %s av %s',
+  'ecard_goto_page' => 'Gå till sida',
+  'ecard_records_per_page' => 'Kort per sida',
+  'check_all' => 'Markera alla',
+  'uncheck_all' => 'Avmarkera alla',
+  'ecards_delete_selected' => 'Radera markerade kort',
+  'ecards_delete_confirm' => 'Är du säker på att du vill radera e-vykorten? Klicka i boxen!',
+  'ecards_delete_sure' => 'Jag är säker!',
+);
+
+
+// ------------------------------------------------------------------------- //
+// File db_input.php
+// ------------------------------------------------------------------------- //
+
+if (defined('DB_INPUT_PHP')) $lang_db_input_php = array(
+  'empty_name_or_com' => 'Du måste skriva ditt namn och kommentar.',
+  'com_added' => 'Din kommentar har lagts till.',
+  'alb_need_title' => 'Du måste ha en titel på ditt album!',
+  'no_udp_needed' => 'Ingen uppdatering behövs.',
+  'alb_updated' => 'Albumet har uppdaterats.',
+  'unknown_album' => 'Valt album finns inte eller så saknar du behörighet att lägga till bilder i detta album.',
+  'no_pic_uploaded' => 'Ingen fil laddades upp!<br /><br />Om du verkligen valde en fil att ladda upp, kontrollera att servern tillåter uppladdning...',
+  'err_mkdir' => 'Kan inte skapa mapp %s!',
+  'dest_dir_ro' => 'Mappen %s är skrivskyddad!',
+  'err_move' => 'Det går inte att flytta %s till %s!',
+  'err_fsize_too_large' => 'Bildstorleken är för stor (max storlek är %s x %s)!', //obsolete since cpg1.3 - consider removal in cpg1.4 once upload.php has been overhauled
+  'err_imgsize_too_large' => 'Filstorleken är för stor (max storlek är %s KB)!', //obsolete since cpg1.3 - consider removal in cpg1.4 once upload.php has been overhauled
+  'err_invalid_img' => 'Filformatet är inte ett godkänt filformat!',
+  'allowed_img_types' => 'Du kan bara ladda upp %s bilder.',
+  'err_insert_pic' => 'Filen \'%s\' kan inte läggas till i albumet ',
+  'upload_success' => 'Din fil laddades upp.<br /><br />Den kommer att visas efter att administratören har godkänt den.',
+  'notify_admin_email_subject' => '%s - Meddelande om uppladdning',
+  'notify_admin_email_body' => 'En fil har laddats upp av %s och behöver godkännas av dig. Gå till %s',
+  'info' => 'Information',
+  'com_added' => 'Kommmentar tillagd',
+  'alb_updated' => 'Albumet har uppdaterats',
+  'err_comment_empty' => 'Din kommentar är tom!',
+  'err_invalid_fext' => 'Bara filer med följande filändelser är tillåtna:<br /><br />%s.',
+  'no_flood' => 'Du har gjort den senaste kommentaren för denna fil.<br /><br />Du kan ändra kommentaren om du vill.',
+  'redirect_msg' => 'Du flyttas till ny sida.<br /><br /><br />Klicka på "Fortsätt" om sidan inte laddas automatiskt.',
+  'upl_success' => 'Din fil har lagts till.',
+  'email_comment_subject' => 'Kommmentar har lagts till i bildgalleriet.',
+  'email_comment_body' => 'Någon har postat en kommentar i ditt galleri. Se den på: ',
+  'album_not_selected' => 'Inget album valt', //cpg1.4
+  'com_author_error' => 'En registrerad användare har redan det smeknamnet, logga in eller välj ett annat.', //cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File delete.php
+// ------------------------------------------------------------------------- //
+
+if (defined('DELETE_PHP')) $lang_delete_php = array(
+  'caption' => 'Rubrik',
+  'fs_pic' => 'full bildstorlek',
+  'del_success' => 'Raderingen lyckades!',
+  'ns_pic' => 'normal bildstorlek',
+  'err_del' => 'kan inte raderas',
+  'thumb_pic' => 'tumnagel',
+  'comment' => 'kommentar',
+  'im_in_alb' => 'bild i album',
+  'alb_del_success' => 'Albumet &laquo;%s&raquo; är raderat', //cpg1.4
+  'alb_mgr' => 'Albumhanterare',
+  'err_invalid_data' => 'ogiltig data mottagen i \'%s\'',
+  'create_alb' => 'Skapar album \'%s\'',
+  'update_alb' => 'Uppdaterar album \'%s\' med titel \'%s\' och index \'%s\'',
+  'del_pic' => 'Radera fil',
+  'del_alb' => 'Radera album',
+  'del_user' => 'Radera användare',
+  'err_unknown_user' => 'Vald användare finns inte!',
+  'err_empty_groups' => 'Det finns ingen tabell för grupper eller så är tabellen är tom!', //cpg1.4
+  'comment_deleted' => 'Kommentaren har raderats',
+  'npic' => 'Bild', //cpg1.4
+  'pic_mgr' => 'Bildhanterare', //cpg1.4
+  'update_pic' => 'Uppdaterar bild \'%s\' med filnamn \'%s\' och index \'%s\'', //cpg1.4
+  'username' => 'Användarnamn', //cpg1.4
+  'anonymized_comments' => '%s kommentarer är gjorda anonyma', //cpg1.4
+  'anonymized_uploads' => '%s publika uppladdningar är gjorda anonyma', //cpg1.4
+  'deleted_comments' => '%s kommentarer raderade', //cpg1.4
+  'deleted_uploads' => '%s publika uppladdningar raderade', //cpg1.4
+  'user_deleted' => 'Användaren %s raderad', //cpg1.4
+  'activate_user' => 'Aktivera användare', //cpg1.4
+  'user_already_active' => 'Användaren har redan aktiverats', //cpg1.4
+  'activated' => 'Aktiverad', //cpg1.4
+  'deactivate_user' => 'Avaktivera användare', //cpg1.4
+  'user_already_inactive' => 'Användaren har redan avaktiverats', //cpg1.4
+  'deactivated' => 'Avaktiverad', //cpg1.4
+  'reset_password' => 'Ändra lösenord', //cpg1.4
+  'password_reset' => 'Lösenord ändrat till %s', //cpg1.4
+  'change_group' => 'Ändra primär grupp', //cpg1.4
+  'change_group_to_group' => 'Primär grupp ändrad från %s till %s', //cpg1.4
+  'add_group' => 'Lägg till sekundär grupp', //cpg1.4
+  'add_group_to_group' => 'Lägger till användare %s till grupp %s. Användaren är nu medlem i %s som primär grupp och i %s som sekundär(a) grupp(er).', //cpg1.4
+  'status' => 'Status', //cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File displayecard.php
+// ------------------------------------------------------------------------- //
+
+if (defined('DISPLAYECARD_PHP')) {
+
+$lang_displayecard_php = array(
+  'invalid_data' => 'Innehållet i ditt e-vykort har blivit korrupt av din e-postklient. Kontrollera att länken är korrekt.', //cpg1.4
+);
+}
+
+// ------------------------------------------------------------------------- //
+// File displayimage.php
+// ------------------------------------------------------------------------- //
+
+if (defined('DISPLAYIMAGE_PHP')){
+
+$lang_display_image_php = array(
+  'confirm_del' => 'Är du säker på att du vill RADERA filen? \\nKommentarer kommer också att raderas.', //js-alert
+  'del_pic' => 'RADERA DENNA FIL',
+  'size' => '%s x %s pixlar',
+  'views' => '%s gånger',
+  'slideshow' => 'Bildspel',
+  'stop_slideshow' => 'STOPPA BILDSPEL',
+  'view_fs' => 'Klicka för stor bild',
+  'edit_pic' => 'Ändra filinformation', //cpg1.4
+  'crop_pic' => 'Beskär och rotera',
+  'set_player' => 'Ändra spelare',
+);
+
+$lang_picinfo = array(
+  'title' =>'Filinformation',
+  'Filename' => 'Filnamn',
+  'Album name' => 'Albumnamm',
+  'Rating' => 'Betyg (%s röster)',
+  'Keywords' => 'Nyckelord',
+  'File Size' => 'Filstorlek',
+  'Date Added' => 'Datum tillagd', //cpg1.4
+  'Dimensions' => 'Dimensioner',
+  'Displayed' => 'Visad',
+  'URL' => 'URL', //cpg1.4
+  'submit' => 'Skicka', //cpg1.4
+  'success' => 'Informationen har uppdaterats.', //cpg1.4
+  'details' => 'Detaljer', //cpg1.4
+  'addFav'=>'Lägg till i favoriter',
+  'addFavPhrase'=>'Favoriter',
+  'remFav'=>'Ta bort från favoriter',
+  'ManageExifDisplay' => 'Hantera visning av Exif-information', //cpg1.4
+
+// IPTC tags
+  'iptcTitle'=>'IPTC: titel',
+  'iptcCopyright'=>'IPTC: copyright',
+  'iptcKeywords'=>'IPTC: nyckelord',
+  'iptcCategory'=>'IPTC: kategori',
+  'iptcSubCategories'=>'IPTC: underkategorier',
+
+// Exif tag descriptions made by ecto, most info from:
+// * http://park2.wakwak.com/~tsuruzoh/Computer/Digicams/exif-e.html
+// * http://www.exif.org/Exif2-1.PDF & http://www.exif.org/Exif2-2.PDF
+
+//***** Exif tags which are in the official Exif specification *****//
+
+// Tags relating to version
+  'FlashPixVersion' => 'Flash Pix-version', //cpg1.4
+  'ExifVersion' => 'Exif-version', //cpg1.4
+
+// Tags relating to image configuration/data structure
+  'ColorSpace' => 'Färgrymd', //cpg1.4 (sRGB or Uncalibrated)
+  'ComponentsConfiguration' => 'Komponentkonfiguration', //cpg1.4 (i.e. YCbCr or RGB)
+  'CompressedBitsPerPixel' => 'Bitar per pixel', //cpg1.4 (Information specific to compressed data. The compression mode used for a compressed image is indicated in unit bits per pixel. 8/[this value] should give an estimated JPEG compression ratio.)
+  'xResolution' => 'X-upplösning', //cpg1.4 (The number of pixels per ResolutionUnit (not to be confused with image dimension!))
+  'yResolution' => 'Y-upplösning', //cpg1.4 (The number of pixels per ResolutionUnit (not to be confused with image dimension!))
+  'ExifImageWidth' => 'Bildbredd', //cpg1.4 (This is actually the Exif tag "PixelXDimension")
+  'ExifImageHeight' => 'Bildhöjd', //cpg1.4 (This is actually the Exif tag "PixelYDimension")
+  'Orientation' => 'Bildorientering', //cpg1.4 (The image orientation)  
+  'YCbCrPositioning' => 'YCbCr-positionering', //cpg1.4 (The position of chrominance components in relation to the luminance component)
+  'ResolutionUnit' => 'Upplösningens måttenhet', //cpg1.4 (The unit for measuring XResolution and YResolution, i.e. inches/centimeters. The same unit is used for both XResolution and YResolution.)
+
+// Tags relating to date and time
+  'DateTime' => 'Datum och tid', //cpg1.4 (The date and time the file was changed)
+  'DateTimeOriginal' => 'Datum och tid (original)', //cpg1.4 (The date and time when the original image data was generated)
+  'DateTimedigitized' => 'Datum och tid (digitaliserad)', //cpg1.4 (The date and time when the image was stored as digital data)
+
+// Tags relating to picture-taking conditions
+  'ExposureTime' => 'Exponeringstid', //cpg1.4 (Exposure time, given in seconds)
+  'ExposureBiasValue' => 'Exponeringskompensation', //cpg1.4 (The exposure bias)
+  'ExposureProgram' => 'Exponeringsprogram', //cpg1.4 (The class of the program used by the camera to set exposure when the picture is taken, i.e. Aperture priority/Shutter priority etc)
+  'ExposureMode' => 'Exponeringsmetod', //cpg1.4 (This tag indicates the exposure mode set when the image was shot, i.e. Auto exposure/Manual exposure/Auto bracket)
+
+  'FNumber' => 'Bländartal', //cpg1.4 (The F number)
+  'MaxApertureValue' => 'Största bländartal', //cpg1.4 (The smallest F number of the lens)
+  'FocalLength' => 'Brännvidd', //cpg1.4 (The actual focal length of the lens, in mm. Conversion is not made to the focal length of a 35 mm film camera.)
+  'ISOSpeedRatings'=>'ISO', //cpg1.4 (Indicates the ISO Speed)
+  'MeteringMode' => 'Ljusmätningsmetod', //cpg1.4 (The metering mode, i.e. Spot/Center weighted average etc)  
+  'LightSource' => 'Ljuskälla (vitbalans)', //cpg1.4 (This is actually the whitebalance setting, i.e. Tungsten/Fluorescent etc)
+  'WhiteBalance' => 'Metod för val av vitbalans', //cpg1.4 (This tag indicates the white balance mode set when the image was shot, i.e. Auto white balance/Manual white balance)
+  'SceneCaptureMode' => 'Typ av motiv', //cpg1.4 (This is actually called "SceneCaptureType" according to Exif 2.2 specifications - Landscape/Portrait/Night scene etc)
+  'SceneType' => 'Scentyp', //cpg1.4 (Indicates the type of scene. If a DSC recorded the image, this tag value shall always be set to 1, indicating that the image was directly photographed.)
+  'Flash' => 'Blixt', //cpg1.4 (This tag indicates the status of flash when the image was shot)
+  'DigitalZoomRatio' => 'Digital zoomfaktor', //cpg1.4 (This tag indicates the digital zoom ratio when the image was shot)
+  
+  'GainControl' => 'Bildförstärkning', //cpg1.4 (This tag indicates the degree of overall image gain adjustment i.e. Low/High gain up and Low/High gain down)
+  'Contrast' => 'Kontrast', //cpg1.4 (This tag indicates the direction of contrast processing applied by the camera when the image was shot i.e. Normal/Soft/Hard)  
+  'Saturation' => 'Färgmättnad', //cpg1.4 (This tag indicates the direction of saturation processing applied by the camera when the image was shot i.e. Normal/Low saturation/High saturation)
+  'Sharpness' => 'Skärpa', //cpg1.4 (This tag indicates the direction of sharpness processing applied by the camera when the image was shot i.e. Normal/Soft/Hard)
+
+  'FileSource' => 'Filkälla', //cpg1.4 (Indicates the image source)
+  'CustomerRender' => 'Anpassad bildbearbetning', //cpg1.4 (Actually called "CustomRendered" according to Exif 2.2 specifications - This tag indicates the use of special processing on image data, such as rendering geared to output. When special processing is performed, the reader is expected to disable or minimize any further processing.)
+  
+// Other tags
+  'Make' => 'Tillverkare', //cpg1.4 (The manufacturer of the recording equipment)
+  'Model' => 'Modell', //cpg1.4 (The model name or model number of the equipment)
+  'Software' => 'Programvara', //cpg1.4 (This tag records the name and version of the software or firmware of the camera or image input device used to generate the image)
+  'ImageDescription' => ' Bildbeskrivning', //cpg1.4 (A character string giving the title of the image)
+  'ExifOffset' => 'Exif-index', //cpg1.4 (Where SubIFD area starts, actually called "Exif IFD Pointer" in Exif specs)
+  'IFD1Offset' => 'IFD1-index', //cpg1.4 (Where IFD1 area starts (thumbnail data))
+  'ExifInteroperabilityOffset' => 'Index för Exif-kompatibilitetsdata', //cpg1.4 (Indicates the identification of the Interoperability rule)
+
+//***** End Exif tags which are in the official Exif specification *****//
+
+  
+//***** Non-standard Exif tags (i.e. manufacturer specific tags - for example, in Nikon digicams "ISOSetting" means the same as "ISOSpeedRatings") *****//
+  'ISOSetting' => 'ISO', //cpg1.4 (Should be translated the same way as the "ISOSpeedRatings" tag)
+  'ISOSelection' => 'Metod för val av ISO', //cpg1.4 (Auto/Manual etc)
+
+  'ColorMode' => 'Färgläge', //cpg1.4 (Color/B&W/Monochrome etc)
+  'Quality' => 'Kvalitet', //cpg1.4 (Quality setting)
+  'ImageSharpening' => 'Skärpeinställning', //cpg1.4 (Auto/High etc)
+  'ImageAdjustment' => 'Bildjustering', //cpg1.4 (Auto/Manual/Contrast+/Contrast- etc)
+  'NoiseReduction' => 'Brusreducering', //cpg1.4
+
+  'FocusMode' => 'Fokuseringsmetod', //cpg1.4 (Auto/Manual, Single/Continuous etc)
+  'ManualFocusDistance' => 'Manuellt fokusavstånd', //cpg1.4 (Distance in meters if focus was manually selected, otherwise 0)
+  'AFFocusPosition' => 'Fokusposition vid autofokus', //cpg1.4 (Where focus was when using autofocus, i.e. Center/Top/Bottom/Left/Right etc)
+  'DigitalZoom' => 'Digital zoomfaktor', //cpg1.4 (Same as "DigitalZoomRatio" but manufacturer specific values, should be translated the same way as the "DigitalZoomRatio" tag)
+  'FlashSetting' => 'Blixt', //cpg1.4 (Normal/Red eye etc, should be translated the same way as the "Flash" tag)
+
+  'Comment' => 'Kommentar', // (Note: this is not the Exif tag "UserComment")
+  'Adapter' => 'Konverter', //cpg1.4 (An adapter is what you put over the lens to change the focal length, i.e. this tag shows Off/Fish eye/Wide etc)
+//***** End non-standard Exif tags *****//
+);
+
+$lang_display_comments = array(
+  'OK' => 'OK',
+  'edit_title' => 'Ändra denna kommentar',
+  'confirm_delete' => 'Är du säker på att du vill radera kommentaren?', //js-alert
+  'add_your_comment' => 'Lägg till kommentar',
+  'name'=>'Namn',
+  'comment'=>'Kommentar',
+  'your_name' => 'Anonym',
+  'report_comment_title' => 'Rapportera kommentar till administratören', //cpg1.4
+);
+
+$lang_fullsize_popup = array(
+  'click_to_close' => 'Klicka på bilden för att stänga fönstret',
+);
+
+}
+
+// ------------------------------------------------------------------------- //
+// File ecard.php
+// ------------------------------------------------------------------------- //
+
+if (defined('ECARDS_PHP') || defined('DISPLAYECARD_PHP')) $lang_ecard_php =array(
+  'title' => 'Skicka ett e-vykort',
+  'invalid_email' => '<font color="red"><b>Varning</b></font>: ogiltig e-postadress:', //cpg1.4
+  'ecard_title' => 'Ett e-vykort till dig från %s',
+  'error_not_image' => 'Bara bilder kan skickas som e-vykort.',
+  'view_ecard' => 'Alternativ länk om e-vykortet inte visas korrekt', //cpg1.4
+  'view_ecard_plaintext' => 'För att se e-vykortet, kopiera denna URL och klistra in den i din webbläsare:', //cpg1.4
+  'view_more_pics' => 'Se fler bilder!', //cpg1.4
+  'send_success' => 'Ditt e-vykort har skickats!',
+  'send_failed' => 'Servern kan inte skicka ditt e-vykort...',
+  'from' => 'Från',
+  'your_name' => 'Ditt namn',
+  'your_email' => 'Din e-postadress',
+  'to' => 'Till',
+  'rcpt_name' => 'Mottagarens namn',
+  'rcpt_email' => 'Mottagarens e-postadress',
+  'greetings' => 'Rubrik', //cpg1.4
+  'message' => 'Meddelande', //cpg1.4
+  'ecards_footer' => 'Skickat av  %s från IP %s vid %s (galleriets tid)', //cpg1.4
+  'preview' => 'Förhandsgranskning av e-vykort', //cpg1.4
+  'preview_button' => 'Granska', //cpg1.4
+  'submit_button' => 'Skicka kort', //cpg1.4
+  'preview_view_ecard' => 'Detta kommer att vara en länk när e-vykortet har skapats. Den fungerar inte för förhandsgranskningar.', //cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File report_file.php //cpg1.4
+// ------------------------------------------------------------------------- //
+
+if (defined('REPORT_FILE_PHP') || defined('DISPLAYREPORT_PHP')) $lang_report_php =array(
+  'title' => 'Rapportera till administratör', //cpg1.4
+  'invalid_email' => '<b>Varning</b>: ogiltig e-postadress!', //cpg1.4
+  'report_subject' => 'En rapport från %s gällande galleri %s', //cpg1.4
+  'view_report' => 'Alternativ länk om rapporteringen inte visas korrekt', //cpg1.4
+  'view_report_plaintext' => 'För att se rapporteringen, kopiera denna URL och klistra in den i din webbläsare:', //cpg1.4
+  'view_more_pics' => 'Galleri', //cpg1.4
+  'send_success' => 'Din rapportering har skickats!', //cpg1.4
+  'send_failed' => 'Servern kan inte skicka din rapport...', //cpg1.4
+  'from' => 'Från', //cpg1.4
+  'your_name' => 'Ditt namn', //cpg1.4
+  'your_email' => 'Din e-postadres', //cpg1.4
+  'to' => 'Till', //cpg1.4
+  'administrator' => 'Administratör/moderator', //cpg1.4
+  'subject' => 'Ämne', //cpg1.4
+  'comment_field_name' => 'Rapportering gällande kommentar av "%s"', //cpg1.4
+  'reason' => 'Anledning', //cpg1.4
+  'message' => 'Meddelande', //cpg1.4
+  'report_footer' => 'Skickat av %s från IP %s vid %s (galleriets tid)', //cpg1.4
+  'obscene' => 'Obscent', //cpg1.4
+  'offensive' => 'Stötande', //cpg1.4
+  'misplaced' => 'Utanför ämne/felplacerad', //cpg1.4
+  'missing' => 'Saknas', //cpg1.4
+  'issue' => 'Fel/visas inte', //cpg1.4
+  'other' => 'Annat', //cpg1.4
+  'refers_to' => 'Rapporteringen avser fil', //cpg1.4
+  'reasons_list_heading' => 'Anledning till rapportering:', //cpg1.4
+  'no_reason_given' => 'Ingen anledning har angetts', //cpg1.4
+  'go_comment' => 'Gå till kommentar', //cpg1.4
+  'view_comment' => 'Visa fullständig rapportering med kommentar', //cpg1.4
+  'type_file' => 'Fil', //cpg1.4
+  'type_comment' => 'Kommentar', //cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File editpics.php
+// ------------------------------------------------------------------------- //
+
+if (defined('EDITPICS_PHP')) $lang_editpics_php = array(
+  'pic_info' => 'Filinformation',
+  'album' => 'Album',
+  'title' => 'Titel',
+  'filename' => 'Filnamn', //cpg1.4
+  'desc' => 'Beskrivning',
+  'keywords' => 'Nyckelord<br />(separerade med mellanslag)',
+  'new_keyword' => 'Nya nyckelord', //cpg1.4
+  'new_keywords' => 'Nya nyckelord hittade', //cpg1.4
+  'existing_keyword' => 'Nuvarande nyckelord', //cpg1.4
+  'pic_info_str' => '%s x %s - %s KB - %s visningar - %s röster',
+  'approve' => 'Godkänn fil',
+  'postpone_app' => 'Skjut upp godkännande',
+  'del_pic' => 'Radera fil',
+  'del_all' => 'Radera ALLA filer', //cpg1.4
+  'read_exif' => 'Läs Exif-informationen igen',
+  'reset_view_count' => 'Nollställ räknaren för visningar',
+  'reset_all_view_count' => 'Nollställ ALLA räknare för visningar', //cpg1.4
+  'reset_votes' => 'Nollställ röstningar',
+  'reset_all_votes' => 'Nollställ ALLA röstningar', //cpg1.4
+  'del_comm' => 'Radera kommentarer',
+  'del_all_comm' => 'Radera ALLA kommentarer', //cpg1.4
+  'upl_approval' => 'Godkänn uppladdning', //cpg1.4
+  'edit_pics' => 'Redigera filer',
+  'see_next' => 'Se nästa filer',
+  'see_prev' => 'Se föregående filer',
+  'n_pic' => '%s filer',
+  'n_of_pic_to_disp' => 'Antal filer att visa',
+  'apply' => 'Utför ändringar',
+  'crop_title' => 'Coppermines bildredigerare',
+  'preview' => 'Förhandsgranska',
+  'save' => 'Spara bild',
+  'save_thumb' =>'Spara som tumnagel',
+  'gallery_icon' => 'Använd som min ikon', //cpg1.4
+  'sel_on_img' =>'Markeringen måste vara inom bilden!', //js-alert
+  'album_properties' =>'Albumets egenskaper', //cpg1.4
+  'parent_category' =>'Överliggande kategori', //cpg1.4
+  'thumbnail_view' =>'Tumnagelvisning', //cpg1.4
+  'select_unselect' =>'Markera/avmarkera alla', //cpg1.4
+  'file_exists' => "Filen '%s' finns redan.", //cpg1.4
+  'rename_failed' => "Kan inte byta namn från '%s' till '%s'.", //cpg1.4
+  'src_file_missing' => "Källfil '%s' saknas.", // cpg 1.4
+  'mime_conv' => "Kan inte konvertera filen från '%s' till '%s'",//cpg1.4
+  'forb_ext' => 'Otillåten filändelse.',//cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File faq.php
+// ------------------------------------------------------------------------- //
+
+if (defined('FAQ_PHP')) $lang_faq_php = array(
+  'faq' => 'Vanliga frågor',
+  'toc' => 'Innehåll',
+  'question' => 'Fråga: ',
+  'answer' => 'Svar: ',
+);
+
+if (defined('FAQ_PHP')) $lang_faq_data = array(
+  'Allmän FAQ',
+  array('Varför måste jag registrera mig?', 'Det är administratören som bestämmer om registrering behövs eller inte. Registrering ger medlemmarna fler funktioner så som ladda upp filer, personliga favoritbilder, betygsättning av bilder, göra kommentarer, etc.', 'allow_user_registration', '1'),
+  array('Hur registrerar jag mig?', 'Gå till &quot;Registrera&quot; och fyll i de obligatoriska fälten (och de frivillga om du vill).<br />Om administratören har aktiverat Bekräftelse via e-post kommer du att få ett e-brev till adressen du fyllde i. Där finns instruktioner om hur du ska göra för att aktivera ditt medlemskap. Ditt medlemskap måste vara aktiverat för att du ska kunna logga in.', 'allow_user_registration', '1'), //cpg1.4
+  array('Hur loggar jag in?', 'Gå till &quot;Login&quot; och fyll i ditt användarnamn och ditt lösenord. Du kan kryssa i &quot;Kom ihåg mig&quot; för att alltid loggas in när du besöker sajten.<br /><b>VIKTIGT: Cookies måste vara påslagna i din webbläsare och inte raderas för att &quot;Kom ihåg mig&quot; skall fungera.</b>', 'offline', 0),
+  array('Varför kan jag inte logga in?', 'Har du registrerat dig och klickat på länken i e-brevet som skickades till dig? Länken i e-brevet aktiverar ditt konto. Har du andra problem, kontakta administratören.', 'offline', 0),
+  array('Vad gör jag om jag glömt mitt lösenord?', 'Om sajten har en länk för &quot;Jag har glömt mitt lösenord&quot;, använd den. Annars kontakta administratören för ett nytt.', 'offline', 0),
+  //array('What if I changed my email address?', 'Just simply login and change your email address through &quot;Profile&quot;', 'offline', 0),
+  array('Hur sparar jag en bild i &quot;Mina favoriter&quot;?', 'Klicka på en bild och sedan klickar du på länken &quot;Visa/dölj filinformation&quot; (<img src="images/info.gif" width="16" height="16" border="0" alt="Filinformation" />). Rulla sedan ned på sidan och klicka på &quot;Mina favoriter&quot; som finns under "Filinformation".<br />Administratören kan ha valt att visa filinformationen direkt, i sådant fall behöver du inte klicka på "Visa/dölj filinformation".<br />VIKTIGT: Cookies måste vara påslagna i din webbläsare och inte raderas fär att detta ska fungera.', 'offline', 0),
+  array('Hur betygsätter jag en fil?', 'Klicka på en tumnagel och gå längst ned på sidan och välj det betyg du vill ge.', 'offline', 0),
+  array('Hur lägger jag till en kommentar till en bild?', 'Klicka på en tumnagel och gå längst ned på sidan och skriv in din kommentar.', 'offline', 0),
+  array('Hur laddar jag upp en fil?', 'Gå till &quot;Ladda upp fil&quot; och klicka på &quot;Bläddra&quot;. Hitta filen du vill ladda upp klicka på &quot;Öppna&quot;. Klicka sedan på "Fortsätt" och sedan på "Fortsätt" igen. Välj det album du vill ladda upp filen till och lägg till en titel och beskrivning om du vill. Klicka på &quot;Fortsätt&quot; igen och uppladdningen är klar.<br /><br />Alternativt om du använder <b>Windows XP</b> så kan du ladda upp flera filer samtidigt direkt till ditt privata album genom att använda webbpubliceringsguiden i Windows XP. För instruktioner om hur du gör det och hur du skaffar de nödvändiga filerna, klicka <a href="xp_publish.php">här</a>.', 'allow_private_albums', 1), //cpg1.4
+  array('Vart kan jag ladda upp bilder?', 'Du kan ladda upp filer till ett av dina album i&quot;Mina album&quot;. Administratören kan även låta dig ladda upp filer till ett eller flera av albumen i huvudgalleriet.', 'allow_private_albums', 0),
+  array('Vilken sort och storlek kan det vara på bilderna jag laddar upp?', 'Både storlek och filtyper (jpg, png, etc) är upp till administratören.', 'offline', 0),
+  array('Hur skapar jag, byter namn eller tar bort ett album i &quot;Mitt galleri&quot;?', 'Du ska redan var inloggad som &quot;administratör&quot;<br /> Gå till&quot;Skapa/Sortera mina album och klicka på &quot;Nytt album&quot;. Ändra &quot;Nytt album&quot; till önskat namn.<br />Du kan även döpa om övriga album i galleriet.<br />Klicka på &quot;utför ändringar&quot;.', 'allow_private_albums', 0),
+  array('Hur kan jag ändra och begränsa användarnas tillgång till mitt album?', 'Du ska redan var inloggad som &quot;administratör&quot;<br />Gå till &quot;Ändra mina album&quot;. I &quot;Uppdatera album&quot; menyn, välj vilket album du vil ändra.<br />Här kan du ändra namn, beskrivning, tumnagel, begränsa åtkomst och behörighet för betygsättning och kommentarer.<br />Klicka på &quot;Uppdatera album.', 'allow_private_albums', 0),
+  array('Hur kan jag titta på andra användares gallerier?', 'Gå till &quot;Albumlista&quot; och välj &quot;Användargallerier&quot;.', 'allow_private_albums', 0),
+  array('Vad är cookies?', 'Cookies är textfiler som innehåller en bit data som skickas från webbplatsen till din dator och sparas där.<br />Cookies används för att kunna spara viss information, ofta för att personen ska kunna komma tillbaka utan att behöva logga in igen.', 'offline', 0),
+  array('Var kan jag skaffa detta galleri till min egen webbplats?', 'Coppermine är ett gratis <a href="http://www.opensource.org/">open source</a> multimediagalleri. Det är släppt under GNU GPL-licens. Det är fyllt av funktioner och finns till olika plattformar. Besök <a href="http://coppermine-gallery.net/">Coppermines webbplats</a> för att läsa mer och ladda ned det.', 'offline', 0),
+
+  'Navigering på webbplatsen',
+  array('Vad är &quot;Albumlista&quot;?', 'Här visas hela den kategori som du just nu befinner dig i, med en länk till varje album. Om du inte befinner dig i någon kategori visas hela galleriet med länkar till alla album. Tumnaglarna kan vara länkar till kategorier.', 'offline', 0),
+  array('Vad är &quot;Mitt galleri&quot;?', 'Här kan användare själva skapa sitt eget galleri och lägga till, ta bort eller ändra album och även ladda upp bilder till dem.', 'allow_private_albums', 1), //cpg1.4
+  array('Vad är det för skillnad mellan &quot;Administratörsläge&quot; och &quot;Användarläge&quot;?', 'Det låter en användare, inloggad som administratör, förändra sitt galleri (likväl som andra om det tillåts av konfigureringen).', 'allow_private_albums', 0),
+  array('Vad är &quot;Ladda upp bilder&quot;?', 'Här kan användare ladda upp filer (storlek och filtyp bestäms av administratören) till ett galleri bestämt av administratören.', 'allow_private_albums', 0),
+  array('Vad är &quot;Senast tillagda&quot;?', 'Här visas de senast uppladdade filerna i galleriet.', 'offline', 0),
+  array('Vad är &quot;Senaste kommentarer&quot;?', 'Här visas de senaste kommentarerna i galleriet.', 'offline', 0),
+  array('Vad är &quot;Mest visade&quot;?', 'Här visas de filer som är mest visade för besökare (inloggade eller inte).', 'offline', 0),
+  array('Vad är &quot;Topplista&quot;?', 'Här visas de filer som besökare har givit de högsta betygen (i genomsnitt, t.ex. om fem användare vardera har givit betyget <img src="images/rating3.gif" width="65" height="14" border="0" alt="" />, så får filen då ett genomsnittsbetyg på <img src="images/rating3.gif" width="65" height="14" border="0" alt="" />. Om fem användare betygsätter en fil från 1 till 5 (1,2,3,4,5) ger det ett genomsnittsbetyg på <img src="images/rating3.gif" width="65" height="14" border="0" alt="" />).<br /><br />Betygsskalan går från <img src="images/rating5.gif" width="65" height="14" border="0" alt="best" /> (bäst) till <img src="images/rating0.gif" width="65" height="14" border="0" alt="worst" /> (sämst).', 'offline', 0),
+  array('Vad är &quot;Mina favoriter&quot;?', 'Här kan en användare lagra sina favoritfiler, detta lagras i en cookie på din dator.', 'offline', 0),
+);
+
+
+// ------------------------------------------------------------------------- //
+// File forgot_passwd.php
+// ------------------------------------------------------------------------- //
+
+if (defined('FORGOT_PASSWD_PHP')) $lang_forgot_passwd_php = array(
+  'forgot_passwd' => 'Glömt lösenord',
+  'err_already_logged_in' => 'Du är redan inloggad!',
+  'enter_email' => 'Ange din e-postadress', //cpg1.4
+  'submit' => 'Vidare',
+  'illegal_session' => 'Session för glömt lösenord har gått ut eller är ogiltig.', //cpg1.4
+  'failed_sending_email' => 'Lösenordet kan inte skickas!',
+  'email_sent' => 'Ett e-brev med ditt användarnamn och ett nytt lösenord har skickats till %s', //cpg1.4
+  'verify_email_sent' => 'Ett e-brev har skickats till %s. Var vänlig läs din e-post för att avsluta processen.', //cpg1.4
+  'err_unk_user' => 'Vald användare finns inte!',
+  'account_verify_subject' => '%s - Begäran om nytt lösenord', //cpg1.4
+  'account_verify_body' => 'Du har begärt ett nytt lösenord. Om du vill fortsätta och få ett nytt lösenord skickat till dig, klicka på följade länk:
+
+%s', //cpg1.4
+  'passwd_reset_subject' => '%s - Ditt nya lösenord', //cpg1.4
+  'passwd_reset_body' => 'Här är ditt nya lösenord:
+Användarnamn: %s
+Lösenord: %s
+Klicka %s för att logga in.', //cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File groupmgr.php
+// ------------------------------------------------------------------------- //
+
+if (defined('GROUPMGR_PHP')) $lang_groupmgr_php = array(
+  'group_name' => 'Grupp', //cpg1.4
+  'permissions' => 'Behörigheter', //cpg1.4
+  'public_albums' => 'Ladda upp till publika album', //cpg1.4
+  'personal_gallery' => 'Personligt galleri', //cpg1.4
+  'upload_method' => 'Uppladdningssätt', //cpg1.4
+  'disk_quota' => 'Kvot', //cpg1.4
+  'rating' => 'Betyg', //cpg1.4
+  'ecards' => 'E-vykort', //cpg1.4
+  'comments' => 'Kommentarer', //cpg1.4
+  'allowed' => 'Tillåt', //cpg1.4
+  'approval' => 'Godkännande', //cpg1.4
+  'boxes_number' => 'Antal fält', //cpg1.4
+  'variable' => 'variabelt', //cpg1.4
+  'fixed' => 'fixerat', //cpg1.4
+  'apply' => 'Utför ändringar',
+  'create_new_group' => 'Skapa ny grupp',
+  'del_groups' => 'Radera markerade grupper',
+  'confirm_del' => 'Varning, när du raderar en grupp kommer medlemmar som tillhör den gruppen att flyttas till till gruppen "Registered"!\n\nVill du verkligen fortsätta?', //js-alert
+  'title' => 'Hantera grupper',
+  'num_file_upload' => 'Fält för uppladdning av filer', //cpg1.4
+  'num_URI_upload' => 'Fält för URI-uppladdning', //cpg1.4
+  'reset_to_default' => 'Återgå till förvalt namn (%s) - rekommenderat!', //cpg1.4
+  'error_group_empty' => 'Tabellen för grupper är tom!<br /><br />Förinställda grupper har skapats, ladda om denna sida.', //cpg1.4
+  'explain_greyed_out_title' => 'Varför är denna rad grå?', //cpg1.4
+  'explain_guests_greyed_out_text' => 'Du kan inte ändra egenskaperna för denna grupp eftersom du satt &quot;Tillåta icke inloggade användare (gäst eller anonym)&quot; till &quot;Nej&quot; på konfigurationssidan. Alla gäster (medlemmar tillhörande gruppen %s) kan inte göra något annat än att logga in, därför gäller inte inställningarna för dem.', //cpg1.4
+  'explain_banned_greyed_out_text' => 'Du kan inte ändra egenskaperna för gruppen %s eftersom dess medlemmar inte kan göra något ändå.', //cpg1.4
+  'group_assigned_album' => 'Tilldelade album', //cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File index.php
+// ------------------------------------------------------------------------- //
+
+if (defined('INDEX_PHP')){
+
+$lang_index_php = array(
+  'welcome' => 'Välkommen!',
+);
+
+$lang_album_admin_menu = array(
+  'confirm_delete' => 'Är du säker på att du vill RADERA detta album? \\nAlla filer och kommentarer kommer också att raderas.', //js-alert
+  'delete' => 'Radera',
+  'modify' => 'Egenskaper',
+  'edit_pics' => 'Ändra filer',
+);
+
+$lang_list_categories = array(
+  'home' => 'Hem',
+  'stat1' => '<b>[pictures]</b> filer i <b>[albums]</b> album och <b>[cat]</b> kategorier med <b>[comments]</b> kommentarer, totalt <b>[views]</b> visningar',
+  'stat2' => '<b>[pictures]</b> filer i <b>[albums]</b> album, totalt <b>[views]</b> visningar',
+  'xx_s_gallery' => '%ss galleri',
+  'stat3' => '<b>[pictures]</b> filer i <b>[albums]</b> album med <b>[comments]</b> kommentarer, totalt <b>[views]</b> visningar',
+);
+
+$lang_list_users = array(
+  'user_list' => 'Lista över medlemmar',
+  'no_user_gal' => 'Det finns inga medlemsgallerier',
+  'n_albums' => '%s album',
+  'n_pics' => '%s fil(er)',
+);
+
+$lang_list_albums = array(
+  'n_pictures' => '%s filer',
+  'last_added' => ', senaste tillagd den %s',
+  'n_link_pictures' => '%s länkade filer', //cpg1.4
+  'total_pictures' => '%s filer totalt', //cpg1.4
+);
+
+}
+
+// ------------------------------------------------------------------------- //
+// File keywordmgr.php //cpg1.4
+// ------------------------------------------------------------------------- //
+
+if (defined('KEYWORDMGR_PHP')) $lang_keywordmgr_php = array(
+  'title' => 'Hantera nyckelord', //cpg1.4
+  'edit' => 'Ändra', //cpg1.4
+  'delete' => 'Radera', //cpg1.4
+  'search' => 'Sök', //cpg1.4
+  'keyword_test_search' => 'Sök efter %s i ett nytt fönster', //cpg1.4
+  'keyword_del' => 'Ta bort nyckelord %s', //cpg1.4
+  'confirm_delete' => 'Är du säker på att du vill ta bort nyckelordet %s från galleriet?', //cpg1.4  // js-alert
+  'change_keyword' => 'Ändra nyckelord', //cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File login.php
+// ------------------------------------------------------------------------- //
+
+if (defined('LOGIN_PHP')) $lang_login_php = array(
+  'login' => 'Logga in',
+  'enter_login_pswd' => 'Ange ditt användarnamn och lösenord för att logga in',
+  'username' => 'Användarnamn',
+  'password' => 'Lösenord',
+  'remember_me' => 'Kom ihåg mig',
+  'welcome' => 'Välkommen %s ...',
+  'err_login' => '*** Kunde inte logga in. Försök igen. ***',
+  'err_already_logged_in' => 'Du är redan inloggad!',
+  'forgot_password_link' => 'Jag har glömt mitt lösenord',
+  'cookie_warning' => 'Varning! Din webbläsare hanterar inte cookies!', //cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File logout.php
+// ------------------------------------------------------------------------- //
+
+if (defined('LOGOUT_PHP')) $lang_logout_php = array(
+  'logout' => 'Logga ut',
+  'bye' => 'Hej då %s ...',
+  'err_not_loged_in' => 'Du är inte inloggad!',
+);
+
+// ------------------------------------------------------------------------- //
+// File minibrowser.php  //cpg1.4
+// ------------------------------------------------------------------------- //
+
+if (defined('MINIBROWSER_PHP')) $lang_minibrowser_php = array(
+  'close' => 'Stäng', //cpg1.4
+  'submit' => 'OK', //cpg1.4
+  'up' => 'Upp en nivå', //cpg1.4
+  'current_path' => 'Nuvarande sökväg', //cpg1.4
+  'select_directory' => 'Välj en mapp', //cpg1.4
+  'click_to_close' => 'Klicka på bilden för att stänga fönstret',
+);
+
+// ------------------------------------------------------------------------- //
+// File modifyalb.php
+// ------------------------------------------------------------------------- //
+
+if (defined('MODIFYALB_PHP')) $lang_modifyalb_php = array(
+  'upd_alb_n' => 'Uppdatera album %s',
+  'general_settings' => 'Allmänna inställningar',
+  'alb_title' => 'Albumets titel',
+  'alb_cat' => 'Albumets kategori',
+  'alb_desc' => 'Albumets beskrivning',
+  'alb_keyword' => 'Albumets nyckelord', //cpg1.4
+  'alb_thumb' => 'Albumets tumnagel',
+  'alb_perm' => 'Albumets behörigheter',
+  'can_view' => 'Albumet kan ses av',
+  'can_upload' => 'Besökare kan ladda upp filer',
+  'can_post_comments' => 'Besökare kan posta kommentarer',
+  'can_rate' => 'Besökare kan betygsätta filer',
+  'user_gal' => 'Användargallerier',
+  'no_cat' => '* Ingen kategori *',
+  'alb_empty' => 'Albumet är tomt',
+  'last_uploaded' => 'Senast uppladdade',
+  'public_alb' => 'Alla (publikt album)',
+  'me_only' => 'Bara jag',
+  'owner_only' => 'Albumets ägare (%s)',
+  'groupp_only' => 'Medlemmar i gruppen \'%s\'',
+  'err_no_alb_to_modify' => 'Inget album du kan ändra i databasen.',
+  'update' => 'Uppdatera album',
+  'reset_album' => 'Återställ album', //cpg1.4
+  'reset_views' => 'Ställ räknare till &quot;0&quot; i %s', //cpg1.4
+  'reset_rating' => 'Återställ betyg för alla filer i %s', //cpg1.4
+  'delete_comments' => 'Radera alla kommentarer i %s', //cpg1.4
+  'delete_files' => '%sOåterkalleligen%s radera alla filer i %s', //cpg1.4
+  'views' => 'visningar', //cpg1.4
+  'votes' => 'röster', //cpg1.4
+  'comments' => 'kommentarer', //cpg1.4
+  'files' => 'filer', //cpg1.4
+  'submit_reset' => 'Skicka ändringar', //cpg1.4
+  'reset_views_confirm' => 'Jag är säker', //cpg1.4
+  'notice1' => '(*) Beror på %sgruppinställningar%s',  //cpg1.4 //(do not translate %s!)
+  'alb_password' => 'Lösenord för album', //cpg1.4
+  'alb_password_hint' => 'Ledtråd till albumets lösenord', //cpg1.4
+  'edit_files' =>'Ändra filer', //cpg1.4
+  'parent_category' =>'Överliggande kategori', //cpg1.4
+  'thumbnail_view' =>'Visa tumnagel', //cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File phpinfo.php
+// ------------------------------------------------------------------------- //
+
+if (defined('PHPINFO_PHP')) $lang_phpinfo_php = array(
+  'php_info' => 'PHP info',
+  'explanation' => 'Detta är en presentation genererad av PHP-funktionen <a href="http://www.php.net/phpinfo">phpinfo()</a>, och visas i Coppermine.',
+  'no_link' => 'Att låta andra se din phpinfo kan vara en säkerhetsrisk, därför kan bara du som administratör se denna sida. Du kan inte skicka denna länk till någon annan, de kommer att vägras tillträde.',
+);
+
+// ------------------------------------------------------------------------- //
+// File picmgr.php //cpg1.4
+// ------------------------------------------------------------------------- //
+if (defined('PICMGR_PHP')) $lang_picmgr_php = array(
+  'pic_mgr' => 'Sortera bilder', //cpg1.4
+  'select_album' => 'Välj album', //cpg1.4
+  'delete' => 'Radera', //cpg1.4
+  'confirm_delete1' => 'Är du säker på att du vill radera bilden?', //cpg1.4
+  'confirm_delete2' => '\nBilden kommer att raderas permanent.', //cpg1.4
+  'apply_modifs' => 'Utför ändringar', //cpg1.4
+  'confirm_modifs' => 'Bekräfta ändringar', //cpg1.4
+  'pic_need_name' => 'Bilden måste ha ett namn!', //cpg1.4
+  'no_change' => 'Du har inte gjort några ändringar!', //cpg1.4
+  'no_album' => '* Inget album *', //cpg1.4
+  'explanation_header' => 'Den anpassade sorteringordningen som du kan välja på denna sida kommer bara att användas om', //cpg1.4
+  'explanation1' => 'Administratören har i konfigurationen satt "Förvald sorteringsordning" till "Position, stigande" eller "Position, fallande" (allmän inställning för alla användare som inte själva har valt någon annan sorteringsordning).', //cpg1.4
+  'explanation2' => 'Användaren har valt "Position, stigande" eller "Position, fallande" på tumnagelsidan (per användare).', //cpg1.4
+);
+
+
+// ------------------------------------------------------------------------- //
+// File pluginmgr.php //cpg1.4
+// ------------------------------------------------------------------------- //
+
+if (defined('PLUGINMGR_PHP')){
+
+$lang_pluginmgr_php = array(
+  'confirm_uninstall' => 'Är du säker på att du vill AVINSTALLERA denna insticksmodul', //cpg1.4
+  'confirm_delete' => 'Är du säker på att du vill RADERA denna insticksmodul', //cpg1.4
+  'pmgr' => 'Hantering av insticksmoduler (plugins)', //cpg1.4
+  'name' => 'Namn:', //cpg1.4
+  'author' => 'Skapare:', //cpg1.4
+  'desc' => 'Beskrivning:', //cpg1.4
+  'vers' => 'v', //cpg1.4
+  'i_plugins' => 'Installerade insticksmoduler (plugins)', //cpg1.4
+  'n_plugins' => 'Ej installerade insticksmoduler', //cpg1.4
+  'none_installed' => 'Ingen installerad', //cpg1.4
+  'operation' => 'Funktion', //cpg1.4
+  'not_plugin_package' => 'Den uppladdade filen är inte ett paket för insticksmodul (plugin package).', //cpg1.4
+  'copy_error' => 'Det uppstod ett fel vid kopiering av insticksmodulen till mappen för insticksmoduler.', //cpg1.4
+  'upload' => 'Ladda upp', //cpg1.4
+  'configure_plugin' => 'Konfigurera insticksmodul', //cpg1.4
+  'cleanup_plugin' => 'Rensa insticksmodul', //cpg1.4
+);
+}
+
+// ------------------------------------------------------------------------- //
+// File ratepic.php
+// ------------------------------------------------------------------------- //
+
+if (defined('RATEPIC_PHP')) $lang_rate_pic_php = array(
+  'already_rated' => 'Du har redan betygsatt denna fil',
+  'rate_ok' => 'Din röst har godkänts',
+  'forbidden' => 'Du kan inte betygsätta dina egna filer.',
+);
+
+// ------------------------------------------------------------------------- //
+// File register.php & profile.php
+// ------------------------------------------------------------------------- //
+
+if (defined('REGISTER_PHP') || defined('PROFILE_PHP')) {
+
+$lang_register_disclamer = <<<EOT
+Administratörerna på {SITE_NAME} försöker ta bort och ändra stötande material så fort som möjligt, dock är det inte möjligt att granska alla inlägg som görs. Du intygar och accepterar därför härmed att alla inlägg som görs här uttrycker författarens åsikter och inte administratörens eller webbmasterns (utom inlägg gjorda av dem själva), och de kan därför inte hållas ansvariga.<br />
+<br />
+Du godkänner att inte göra inlägg som är skändliga, obscena, vulgära, innehåller förtal, hatiska, hotande, sexuella eller inlägg som strider mot gällade lag. Du godkänner att administratörer, moderatorer eller webbmastern för {SITE_NAME} har full rätt att ta bort eller ändra innehållet så att det överensstämmer med ovanstående. Som användare godkänner du att användarinformation lagras i en databas och används på denna webbplats. Även om informationen inte kommer att göras tillgänglig för tredje part kan webmastern inte hållas ansvarig för eventuell hackning som gör att informationen sprids.<br />
+<br />
+Den här webbplatsen använder cookies för att lagra information på din dator. Dessa cookies fungerar enbart för att webbplatsen ska fungera och se bra ut för dig som användare. E-postadressen du anger är enbart till för att skicka detaljer om registreringen.<br />
+<br />
+Genom att klicka "Jag godkänner" nedan godkänner du ovanstående villkor och att du är bunden att följa dem.
+EOT;
+
+$lang_register_php = array(
+  'page_title' => 'Registrering av användare',
+  'term_cond' => 'Regler och villkor',
+  'i_agree' => 'Jag godkänner!',
+  'submit' => 'Skicka',
+  'err_user_exists' => 'Användarnamnet du valt finns redan, välj ett annat.',
+  'err_password_mismatch' => 'De två skrivna lösenorden stämmer inte överens, skriv in dem igen.',
+  'err_uname_short' => 'Användarnamnet måste vara minst 2 tecken långt.',
+  'err_password_short' => 'Lösenordet måste vara minst 2 tecken långt.',
+  'err_uname_pass_diff' => 'Användarnamn och lösenord måste vara olika.',
+  'err_invalid_email' => 'E-postadressen är ogiltig.',
+  'err_duplicate_email' => 'E-postadressen du angav finns redan registrerad.',
+  'enter_info' => 'Fyll i informationen för registrering',
+  'required_info' => 'Obligatorisk information',
+  'optional_info' => 'Frivillig information',
+  'username' => 'Användarnamn',
+  'password' => 'Lösenord',
+  'password_again' => 'Lösenord igen',
+  'email' => 'E-postadress',
+  'location' => 'Kommer från',
+  'interests' => 'Intressen',
+  'website' => 'Hemsida',
+  'occupation' => 'Sysselsättning',
+  'error' => 'FEL',
+  'confirm_email_subject' => '%s - Registreringen bekräftas',
+  'information' => 'Information',
+  'failed_sending_email' => 'E-brev med bekräftelsen av registrerigen kan inte skickas!',
+  'thank_you' => 'Tack för att du registrerade dig!<br /><br />Ett e-brev med information om hur du ska aktivera ditt konto har skickats till den e-postadress du angav.',
+  'acct_created' => 'Ditt konto har skapats och du kan nu logga in med ditt användarnamn och lösenord.',
+  'acct_active' => 'Ditt konto är nu aktiverat och du kan nu logga in med ditt användarnamn och lösenord.',
+  'acct_already_act' => 'Kontot är redan aktiverat!', //cpg1.4
+  'acct_act_failed' => 'Kontot kan inte aktiveras!',
+  'err_unk_user' => 'Vald användare finns inte.',
+  'x_s_profile' => '%ss profil',
+  'group' => 'Grupp',
+  'reg_date' => 'Registrerade sig',
+  'disk_usage' => 'Diskanvändning',
+  'change_pass' => 'Ändra lösenord',
+  'current_pass' => 'Nuvarande lösenord',
+  'new_pass' => 'Nytt lösenord',
+  'new_pass_again' => 'Nytt lösenord igen',
+  'err_curr_pass' => 'Nuvarande lösenord är felaktigt',
+  'apply_modif' => 'Utför ändringar',
+  'change_pass' => 'Ändra mitt lösenord',
+  'update_success' => 'Din profil har uppdaterats',
+  'pass_chg_success' => 'Ditt lösenord har ändrats',
+  'pass_chg_error' => 'Ditt lösenord har inte ändrats!',
+  'notify_admin_email_subject' => '%s - Meddelande om registrering',
+  'last_uploads' => 'Senast uppladdade fil.<br />Klicka för att se alla uppladdningar av', //cpg1.4
+  'last_comments' => 'Senaste kommentar.<br />Klicka för att se alla kommentarer gjorda av', //cpg1.4
+  'notify_admin_email_body' => 'En ny användare med användarnamn "%s" har registrerats i galleriet',
+  'pic_count' => 'Filer uppladdade', //cpg1.4
+  'notify_admin_request_email_subject' => '%s - Meddelande om registrering', //cpg1.4
+  'thank_you_admin_activation' => 'Tack.<br /><br />Din begäran om aktivering av konto har skickats till administratören. Du kommer få ett e-brev om du blir godkänd.', //cpg1.4
+  'acct_active_admin_activation' => 'Kontot är nu aktiverat och ett e-brev har skickats till användaren.', //cpg1.4
+  'notify_user_email_subject' => '%s - Meddelande om aktivering', //cpg1.4
+);
+
+$lang_register_confirm_email = <<<EOT
+Tack för att du registrerar dig hos {SITE_NAME}
+
+För att aktivera ditt konto med användarnamn "{USER_NAME}", måste du klicka på länken eller kopiera den och klistra in den i din webbläsare.
+
+<a href="{ACT_LINK}">{ACT_LINK}</a>
+
+
+Med vänliga hälsningar,
+{SITE_NAME}
+
+EOT;
+
+
+$lang_register_approve_email = <<<EOT
+En ny användare med användarnamn "{USER_NAME}" har registrerat sig i galleriet.
+
+För att kontot ska aktiveras måste du klicka på länken eller kopiera den och klistra in den i din webbläsare.
+
+<a href="{ACT_LINK}">{ACT_LINK}</a>
+
+EOT;
+
+$lang_register_activated_email = <<<EOT
+Ditt konto har blivit godkänt och har aktiverats.
+
+Du kan nu logga in på <a href="{SITE_LINK}">{SITE_LINK}</a> med användarnamn "{USER_NAME}"
+
+
+Med vänliga hälsningar,
+{SITE_NAME}
+
+EOT;
+}
+
+
+
+// ------------------------------------------------------------------------- //
+// File reviewcom.php
+// ------------------------------------------------------------------------- //
+
+if (defined('REVIEWCOM_PHP')) $lang_reviewcom_php = array(
+  'title' => 'Granska kommentarer',
+  'no_comment' => 'Det finns inga kommentarer.',
+  'n_comm_del' => '%s kommentarer raderade',
+  'n_comm_disp' => 'Antal kommentarer att visa',
+  'see_prev' => 'Se föregående',
+  'see_next' => 'Se nästa',
+  'del_comm' => 'Radera markerade kommentarer',
+  'user_name' => 'Namn', //cpg1.4
+  'date' => 'Datum', //cpg1.4
+  'comment' => 'Kommentar', //cpg1.4
+  'file' => 'Fil', //cpg1.4
+  'name_a' => 'Användarnamn, stigande', //cpg1.4
+  'name_d' => 'Användarnamn, fallande', //cpg1.4
+  'date_a' => 'Datum, stigande', //cpg1.4
+  'date_d' => 'Datum, fallande', //cpg1.4
+  'comment_a' => 'Kommentar, stigande', //cpg1.4
+  'comment_d' => 'Kommentar, fallande', //cpg1.4
+  'file_a' => 'Fil, stigande', //cpg1.4
+  'file_d' => 'Fil, fallande', //cpg1.4
+);
+
+
+// ------------------------------------------------------------------------- //
+// File search.php                                                           //
+// ------------------------------------------------------------------------- //
+
+
+if (defined('SEARCH_PHP')){
+
+$lang_search_php = array(
+  'title' => 'Sök bland filer', //cpg1.4
+  'submit_search' => 'sök', //cpg1.4
+  'keyword_list_title' => 'Lista med nyckelord', //cpg1.4
+  'keyword_msg' => 'Ovanstående lista är inte heltäckande. Den täcker inte ord från titlar på bilder eller beskrivningar. Testa en fulltextsökning.',  //cpg1.4
+  'edit_keywords' => 'Ändra nyckelord', //cpg1.4
+  'search in' => 'Sök i:', //cpg1.4
+  'ip_address' => 'IP', //cpg1.4
+  'fields' => 'Sök i', //cpg1.4
+  'age' => 'Ålder', //cpg1.4
+  'newer_than' => 'Nyare än', //cpg1.4
+  'older_than' => 'Äldre än', //cpg1.4
+  'days' => 'dagar', //cpg1.4
+  'all_words' => 'Matcha alla ord (AND)', //cpg1.4
+  'any_words' => 'Matcha något ord (OR)', //cpg1.4
+);
+
+$lang_adv_opts = array(
+  'title' => 'Titel', //cpg1.4
+  'caption' => 'Rubrik', //cpg1.4
+  'keywords' => 'Nyckelord', //cpg1.4
+  'owner_name' => 'Ägarens namn', //cpg1.4
+  'filename' => 'Filnamn', //cpg1.4
+);
+
+}
+
+// ------------------------------------------------------------------------- //
+// File searchnew.php
+// ------------------------------------------------------------------------- //
+
+if (defined('SEARCHNEW_PHP')) $lang_search_new_php = array(
+  'page_title' => 'Sök nya filer',
+  'select_dir' => 'Välj mapp',
+  'select_dir_msg' => '<br />Denna funktion låter dig lägga in flera filer samtidigt som du har laddat upp till servern via FTP.<br />Välj den mapp du laddade upp filerna till.', //cpg1.4
+  'no_pic_to_add' => 'Det finns ingen fil att lägga till',
+  'need_one_album' => 'Det måste finnas minst ett album för att använda denna funktion',
+  'warning' => 'Varning',
+  'change_perm' => 'kan inte skriva till mappen, du måste ändra rättigheterna för mappen till 755 eller 777 innan filerna kan läggas till! Det görs lättast med en FTP-klient',
+  'target_album' => '<b>Lägg filer från &quot;</b>%s<b>&quot; i </b>%s',
+  'folder' => 'Mapp',
+  'image' => 'Fil',
+  'album' => 'Album',
+  'result' => 'Resultat',
+  'dir_ro' => 'Ej skrivbar. ',
+  'dir_cant_read' => 'Ej läsbar. ',
+  'insert' => 'Lägger till nya filer i galleriet',
+  'list_new_pic' => 'Lista över nya filer',
+  'insert_selected' => 'Lägg till markerade filer',
+  'no_pic_found' => 'Inga filer hittades',
+  'be_patient' => 'Var god vänta, det tar lite tid att lägga till filerna...',
+  'no_album' => 'inget album är valt',
+  'result_icon' => 'klicka för detaljer eller för att ladda om',  //cpg1.4
+  'notes' =>  '<ul>'.
+                          '<li><b>OK</b> : betyder att filen är tillagd'.
+                          '<li><b>DP</b> : betyder att filen är en dubblett och att den redan finns i databasen'.
+                          '<li><b>PB</b> : betyder att filen inte kunde läggas till, kontrollera konfigurationen och rättigheterna på mappen där filerna finns'.
+                          '<li><b>NA</b> : betyder att du inte har valt något album som filerna ska läggas till i, tryck på "<a href="javascript:history.back(1)">tillbaka</a>" och välj ett album (om du inte har något album så <a href="albmgr.php">skapa ett först</a>)</li>'.
+                          '<li>Om "skyltarna" med OK, DP, PB inte visas, klicka på den trasiga filen för att se felmeddelandet som genererats av PHP'.
+                          '<li>Om du får "timeout" i din webbläsare, klicka på Ladda om-knappen i din webbläsare'.
+                          '</ul>',
+  'select_album' => 'välj album',
+  'check_all' => 'Markera alla',
+  'uncheck_all' => 'Avmarkera alla',
+  'no_folders' => 'Det finns inga mappar i albumet än. Skapa minst en egen mapp i mappen "albums" och ladda upp dina filer dit. Du ska inte ladda upp dem till mapparna "userpics" eller "edit", de är reserverade för uppladdning via http och interna syften.', //cpg1.4
+   'albums_no_category' => 'Album utan kategori', //cpg1.4 // album pulldown mod, added by frogfoot
+  'personal_albums' => '* Personliga album', //cpg1.4 // album pulldown mod, added by frogfoot
+  'browse_batch_add' => 'Bläddringsbart gränssnitt (rekommenderat)', //cpg1.4
+  'edit_pics' => 'Ändra filer', //cpg1.4
+  'edit_properties' => 'Egenskaper för album', //cpg1.4
+  'view_thumbs' => 'Visning av tumnaglar', //cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File stat_details.php //cpg1.4
+// ------------------------------------------------------------------------- //
+
+if (defined('STAT_DETAILS_PHP')) $lang_stat_details_php = array(
+  'show_hide' => 'visa/dölj denna kolumn', //cpg1.4
+  'vote' => 'Detaljer för röstning', //cpg1.4
+  'hits' => 'Detaljer för träffar', //cpg1.4
+  'stats' => 'Statistik för röstning', //cpg1.4
+  'sdate' => 'Datum', //cpg1.4
+  'rating' => 'Betyg', //cpg1.4
+  'search_phrase' => 'Fraser för sökning', //cpg1.4
+  'referer' => 'Hänvisningar', //cpg1.4
+  'browser' => 'Webbläsare', //cpg1.4
+  'os' => 'Operativsystem', //cpg1.4
+  'ip' => 'IP', //cpg1.4
+  'sort_by_xxx' => 'Sortera efter %s', //cpg1.4
+  'ascending' => 'stigande', //cpg1.4
+  'descending' => 'fallande', //cpg1.4
+  'internal' => 'intern', //cpg1.4
+  'close' => 'Stäng', //cpg1.4
+  'hide_internal_referers' => 'Dölj interna hänvisningar', //cpg1.4
+  'date_display' => 'Datumvisning', //cpg1.4
+  'submit' => 'Skicka / ladda om', //cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File thumbnails.php
+// ------------------------------------------------------------------------- //
+
+// Void
+
+// ------------------------------------------------------------------------- //
+// File upload.php
+// ------------------------------------------------------------------------- //
+
+if (defined('UPLOAD_PHP')) $lang_upload_php = array(
+  'title' => 'Ladda upp fil',
+  'custom_title' => 'Anpassat formulär för begäran',
+  'cust_instr_1' => 'Du kan själv välja antal fält för uppladdning. Du kan dock inte välja fler än vad som anges nedan.',
+  'cust_instr_2' => 'Antal fält för begäran',
+  'cust_instr_3' => 'Fält för uppladdning: %s',
+  'cust_instr_4' => 'Fält för uppladdning via URI/URL: %s',
+  'cust_instr_5' => 'Fält för uppladdning via URI/URL:',
+  'cust_instr_6' => 'Fält för uppladdning:',
+  'cust_instr_7' => 'Skriv in antal för varje typ av uppladdningsfält du vill ha vid detta tillfälle. Klicka sedan på "Fortsätt".',
+  'reg_instr_1' => 'Ogiltig funktion för skapande av formulär.',
+  'reg_instr_2' => 'Här kan du ladda upp dina filer med hjälp av fälten nedan. Storleken på filerna du laddar upp får inte överstiga %s KB styck. Zip-filer som laddas upp kommer att fortsätta vara komprimerade, oavsett om du använder "Filuppladdningar" eller "URI/URL-uppladdningar" nedan.',
+  'reg_instr_3' => 'Om du vill att Zip-filer ska packas upp måste du använda uppladdningsfältet som finns i "Packa upp Zip-filer".',
+  'reg_instr_4' => 'När du använder "URI/URL-uppladdning", ange sökvägen till filen så här: http://www.minsajt.com/bilder/exempel.jpg',
+  'reg_instr_5' => 'Klicka på "Fortsätt" när du är färdig.',
+  'reg_instr_6' => 'Uppackade Zip-uppladdningar:',
+  'reg_instr_7' => 'Filuppladdningar:',
+  'reg_instr_8' => 'URI/URL-uppladdningar:',
+  'error_report' => 'Felrapport',
+  'error_instr' => 'Följande uppladdningar stötte på fel:',
+  'file_name_url' => 'Filnamn/URL',
+  'error_message' => 'Felmeddelande',
+  'no_post' => 'Filen laddades inte upp med POST.',
+  'forb_ext' => 'Otillåten filändelse.',
+  'exc_php_ini' => 'Överskriden tillåten filstorlek i php.ini.',
+  'exc_file_size' => 'Överskriden tillåten filstorlek satt av administratören.',
+  'partial_upload' => 'Endast en del laddades upp.',
+  'no_upload' => 'Ingen uppladdning skedde.',
+  'unknown_code' => 'Okänt PHP-uppladdningsfel inträffade.',
+  'no_temp_name' => 'Ingen uppladdning - inget tillfälligt namn.',
+  'no_file_size' => 'Innehåller ingen eller korrupt data',
+  'impossible' => 'Kan inte flyttas.',
+  'not_image' => 'Inte en bild/korrupt bild',
+  'not_GD' => 'Inte en GD-ändelse.',
+  'pixel_allowance' => 'Höjden eller bredden på de uppladdade bilderna överskrider vad som tillåts.', //cpg1.4
+  'incorrect_prefix' => 'Felaktigt prefix för URI/URL',
+  'could_not_open_URI' => 'Kan inte öppna URI.',
+  'unsafe_URI' => 'Säkerhet inte verifierbar.',
+  'meta_data_failure' => 'Fel i metadatan',
+  'http_401' => '401 Unauthorized',
+  'http_402' => '402 Payment Required',
+  'http_403' => '403 Forbidden',
+  'http_404' => '404 Not Found',
+  'http_500' => '500 Internal Server Error',
+  'http_503' => '503 Service Unavailable',
+  'MIME_extraction_failure' => 'MIME-typ kunde inte bestämmas.',
+  'MIME_type_unknown' => 'Okänd MIME-typ',
+  'cant_create_write' => 'Kan inte skapa skrivfil.',
+  'not_writable' => 'Kan inte skriva till skrivfil.',
+  'cant_read_URI' => 'Kan inte läsa URI/URL',
+  'cant_open_write_file' => 'Kan inte öppna URI-skrivfil.',
+  'cant_write_write_file' => 'Kan inte skriva till URI-skrivfil.',
+  'cant_unzip' => 'Kan inte packa upp Zip-fil.',
+  'unknown' => 'Okänt fel',
+  'succ' => 'Uppladdningen lyckades',
+  'success' => '%s uppladdning(ar) lyckades.',
+  'add' => 'Klicka på "Fortsätt" för att lägga till filen/filerna i album.',
+  'failure' => 'Uppladdningen misslyckades',
+  'f_info' => 'Filinformation',
+  'no_place' => 'Den föregående filen kunde inte placeras.',
+  'yes_place' => 'Den föregående filen har placerats.',
+  'max_fsize' => 'Största tillåtna filstorlek är %s KB',
+  'album' => 'Album',
+  'picture' => 'Fil',
+  'pic_title' => 'Filtitel',
+  'description' => 'Beskrivning av fil',
+  'keywords' => 'Nyckelord (separerade med mellanslag)<br /><a href="#" onClick="return MM_openBrWindow(\'keyword_select.php\',\'selectKey\',\'width=250, height=400, scrollbars=yes,toolbar=no,status=yes,resizable=yes\')">Infoga från lista</a>', //cpg1.4
+  'keywords_sel' =>'Välj ett nyckelord', //cpg1.4
+  'err_no_alb_uploadables' => 'Det finns inga album där du har behörighet att ladda upp filer',
+  'place_instr_1' => 'Placera filerna i album nu. Du kan även ange relevant information om varje fil nu.',
+  'place_instr_2' => 'Fler filer behöver placeras. Klicka på "Fortsätt".',
+  'process_complete' => 'Alla filer har nu placerats.',
+   'albums_no_category' => 'Album utan kategori', //cpg1.4. //album pulldown mod, added by frogfoot
+  'personal_albums' => '* Personliga album', //cpg1.4 //album pulldown mod, added by frogfoot
+  'select_album' => 'Välj album', //cpg1.4 //album pulldown mod, added by frogfoot
+  'close' => 'Stäng', //cpg1.4
+  'no_keywords' => 'Inga nyckelord finns tillgängliga!', //cpg1.4
+  'regenerate_dictionary' => 'Återskapa ordlista', //cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File usermgr.php
+// ------------------------------------------------------------------------- //
+
+if (defined('USERMGR_PHP')) $lang_usermgr_php = array(
+  'memberlist' => 'Användarlista', //cpg1.4
+  'user_manager' => 'Hantera användare', //cpg1.4
+  'title' => 'Hantera användare',
+  'name_a' => 'Namn, stigande',
+  'name_d' => 'Namn, fallande',
+  'group_a' => 'Grupp, stigande',
+  'group_d' => 'Grupp, fallande',
+  'reg_a' => 'Reg. datum, stigande',
+  'reg_d' => 'Reg. datum, fallande',
+  'pic_a' => 'Antal filer, stigande',
+  'pic_d' => 'Antal filer, fallande',
+  'disku_a' => 'Diskutnyttjande, stigande',
+  'disku_d' => 'Diskutnyttjande, fallande',
+  'lv_a' => 'Senaste besök, stigande',
+  'lv_d' => 'Senaste besök, fallande',
+  'sort_by' => 'Sortera användare efter',
+  'err_no_users' => 'Tabellen med användare är tom!',
+  'err_edit_self' => 'Du kan inte ändra din egen profil, använd "Min profil" för det',
+  'edit' => 'Ändra', //cpg1.4
+  'with_selected' => 'Med vald:', //cpg1.4
+  'delete' => 'Radera', //cpg1.4
+  'delete_files_no' => 'behåll publika filer (men gör dem anonyma)', //cpg1.4
+  'delete_files_yes' => 'radera även pubika filer', //cpg1.4
+  'delete_comments_no' => 'behåll kommentarer (men gör dem anonyma)', //cpg1.4
+  'delete_comments_yes' => 'radera även kommentarer', //cpg1.4
+  'activate' => 'Aktivera', //cpg1.4
+  'deactivate' => 'Avaktivera', //cpg1.4
+  'reset_password' => 'Återställ lösenord', //cpg1.4
+  'change_primary_membergroup' => 'Ändra primär medlemsgrupp', //cpg1.4
+  'add_secondary_membergroup' => 'Lägg till sekundär medlemsgrupp', //cpg1.4
+  'name' => 'Användarnamn',
+  'group' => 'Grupp',
+  'inactive' => 'Inaktiv',
+  'operations' => 'Funktioner',
+  'pictures' => 'Filer',
+  'disk_space_used' => 'Använt diskutrymme', //cpg1.4
+  'disk_space_quota' => 'Kvot för diskutrymme', //cpg1.4
+  'registered_on' => 'Registrerad', //cpg1.4
+  'last_visit' => 'Senaste besök',
+  'u_user_on_p_pages' => '%d användare på %d sida(or)',
+  'confirm_del' => 'Är du säker på att du vill RADERA användaren? \\nAlla användarens filer och kommentarer kommer att raderas.', //js-alert
+  'mail' => 'E-post',
+  'err_unknown_user' => 'Vald användare finns inte!',
+  'modify_user' => 'Redigera användare',
+  'notes' => 'Anmärkningar',
+  'note_list' => '<li>Om du inte vill ändra lösenord, lämna fältet "Lösenord" tomt.',
+  'password' => 'Lösenord',
+  'user_active' => 'Användaren är aktiv',
+  'user_group' => 'Användarens gruppmedlemskap',
+  'user_email' => 'Användarens e-post',
+  'user_web_site' => 'Användarens hemsida',
+  'create_new_user' => 'Skapa ny användare',
+  'user_location' => 'Användarens kommer från',
+  'user_interests' => 'Användarens intressen',
+  'user_occupation' => 'Användarens sysselsättning',
+  'user_profile1' => '$user_profile1', //cpg1.4
+  'user_profile2' => '$user_profile2', //cpg1.4
+  'user_profile3' => '$user_profile3', //cpg1.4
+  'user_profile4' => '$user_profile4', //cpg1.4
+  'user_profile5' => '$user_profile5', //cpg1.4
+  'user_profile6' => '$user_profile6', //cpg1.4
+  'latest_upload' => 'Senaste uppladdningar',
+  'never' => 'Aldrig',
+  'search' => 'Sök bland användare', //cpg1.4
+  'submit' => 'Skicka', //cpg1.4
+  'search_submit' => 'Utför!', //cpg1.4
+  'search_result' => 'Sökresultat för: ', //cpg1.4
+  'alert_no_selection' => 'Du måste välja minst en användare!', //cpg1.4 //js-alert
+  'password' => 'Lösenord', //cpg1.4
+  'select_group' => 'Välj grupp', //cpg1.4
+  'groups_alb_access' => 'Albumbehörighet beroende på grupp', //cpg1.4
+  'album' => 'Album', //cpg1.4
+  'category' => 'Kategori', //cpg1.4
+  'modify' => 'Ändra?', //cpg1.4
+  'group_no_access' => 'Den här gruppen har inga specifika album tilldelade.', //cpg1.4
+  'notice' => 'Anmärkning', //cpg1.4
+  'group_can_access' => 'Album som bara "%s" kan komma åt', //cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File util.php
+// ------------------------------------------------------------------------- //
+
+if (defined('UTIL_PHP')) {
+$lang_util_desc_php = array(
+'Uppdatera titlar från filnamn', //cpg1.4
+'Radera titlar', //cpg1.4
+'Bygga om tumnaglar och omskalade bilder', //cpg1.4
+'Radera originalbilder och ersätta dem med den omskalade varianten', //cpg1.4
+'Radera originalbilder eller mellanliggande bilder för att spara diskutrymme', //cpg1.4
+'Radera övergivna kommentarer (utan tillhörande fil)', //cpg1.4
+'Uppdatera filstorlekar och dimensioner (om du har ändrat bilder manuellt)', //cpg1.4
+'Återställa antal visningar', //cpg1.4
+'Visa phpinfo', //cpg1.4
+'Uppdatera databasen', //cpg1.4
+'Visa loggfiler', //cpg1.4
+);
+$lang_util_php = array(
+  'title' => 'Administratörsverktyg',
+  'what_it_does' => 'Vad verktyget kan göra',
+  'file' => 'Fil',
+  'problem' => 'Problem', //cpg1.4
+  'status' => 'Status', //cpg1.4
+  'title_set_to' => '- titel bestäms till',
+  'submit_form' => 'Skicka',
+  'updated_succesfully' => 'Uppdateringen klar',
+  'error_create' => 'FEL vid skapande',
+  'continue' => 'Bearbeta fler bilder',
+  'main_success' => 'Filen %s används som huvudfil',
+  'error_rename' => 'Kan inte döpa om %s till %s',
+  'error_not_found' => 'Filen %s hittades inte',
+  'back' => 'Tillbaka',
+  'thumbs_wait' => 'Uppdaterar tumnaglar och/eller omskalade bilder, var god vänta...',
+  'thumbs_continue_wait' => 'Fortsätt att uppdatera tumnaglar och/eller omskalade bilder...',
+  'titles_wait' => 'Uppdaterar titlar, var god vänta...',
+  'delete_wait' => 'Raderar titlar, var god vänta...',
+  'replace_wait' => 'Raderar original och ersätter dem med omskalade bilder, var god vänta...',
+  'instruction' => 'Snabbinstruktioner',
+  'instruction_action' => 'Välj funktion',
+  'instruction_parameter' => 'Sätt parametrar',
+  'instruction_album' => 'Välj album',
+  'instruction_press' => 'Tryck på %s',
+  'update' => 'Uppdatera tumnaglar och/eller omskalade bilder',
+  'update_what' => 'Vad ska uppdateras',
+  'update_thumb' => 'Bara tumnaglar',
+  'update_pic' => 'Bara omskalade bilder',
+  'update_both' => 'Både tumnaglar och omskalade bilder',
+  'update_number' => 'Antal behandlade bilder per klick: ',
+  'update_option' => '(Försök med att minska antalet om du får problem med "timeout")',
+  'filename_title' => 'Filnamn &rArr; filtitel',
+  'filename_how' => 'Hur ska filnamnet ändras',
+  'filename_remove' => 'Ta bort .jpg-ändelsen och byt ut _ (understreck) med mellanslag',
+  'filename_euro' => 'Ändra 2003_11_23_13_20_20.jpg till 23/11/2003 13:20',
+  'filename_us' => 'Ändra 2003_11_23_13_20_20.jpg till 11/23/2003 13:20',
+  'filename_time' => 'Ändra 2003_11_23_13_20_20.jpg till 13:20',
+  'delete' => 'Radera filtitlar och originalbilder',
+  'delete_title' => 'Radera filtitlar',
+  'delete_title_explanation' => 'Alla titlar i valt album kommer att raderas.', //cpg1.4
+  'delete_original' => 'Radera bilder i originalstorlek',
+  'delete_original_explanation' => 'Raderar bilder i full storlek.', //cpg1.4
+  'delete_intermediate' => 'Radera mellanliggande bilder', //cpg1.4
+  'delete_intermediate_explanation' => 'Raderar mellanliggande (normalstora) bilder.<br />Använd denna funktion för att frigöra diskutrymme om du har avaktiverat "Skapa mellanliggande bilder" i konfigurationen efter att du redan lagt till bilder.', //cpg1.4
+  'delete_replace' => 'Raderar originalbilderna och byter ut dem mot omskalade versioner.',
+  'titles_deleted' => 'Alla titlar i valt album är raderade', //cpg1.4
+  'deleting_intermediates' => 'Raderar mellanliggande bilder, var god vänta...', //cpg1.4
+  'searching_orphans' => 'Söker efter övergivna poster, var god vänta...', //cpg1.4
+  'select_album' => 'Välj album',
+  'delete_orphans' => 'Radera kommentarer för saknade filer', //cpg1.4
+  'delete_orphans_explanation' => 'Detta låter dig identifiera och ta bort kommentarer som inte längre hör till någon fil i galleriet.<br />Funktionen går igenom alla album.', //cpg1.4
+  'refresh_db' => 'Ladda om information om filernas filstorlek och dimensioner.', //cpg1.4
+  'refresh_db_explanation' => 'Detta kommer att uppdatera filstorlek och dimensioner. Använd detta om en användares diskkvot är felaktig eller om du har ändrat filer manuellt.', //cpg1.4
+  'reset_views' => 'Nollställ visningar', //cpg1.4
+  'reset_views_explanation' => 'Sätter alla visningar till noll i valt album.', //cpg1.4
+  'orphan_comment' => 'Övergivna kommentarer hittade',
+  'delete' => 'Radera',
+  'delete_all' => 'Radera alla',
+  'delete_all_orphans' => 'Radera alla övergivna?', //cpg1.4
+  'comment' => 'Kommentar: ',
+  'nonexist' => 'tillhör icke-existerande fil # ',
+  'phpinfo' => 'Visa phpinfo',
+  'phpinfo_explanation' => 'Innehåller teknisk information om din server.<br /> - Du kan bli frågad om information härifrån om du behöver support.', //cpg1.4
+  'update_db' => 'Uppdatera databasen',
+  'update_db_explanation' => 'Om du har ersatt filer i Coppermine, lagt till någon modifikation eller uppgraderat från en tidigare version, var noga med att göra en uppdatering av databasen en gång. Det kommer att skapa de nödvändiga databastabellerna och konfigurera dem.',
+  'view_log' => 'Visa loggfiler', //cpg1.4
+  'view_log_explanation' => 'Coppermine kan hålla reda på olika funktioner användarna utför. Du kan bläddra igenom de loggarna om du har aktiverat loggning i <a href="admin.php">konfigurationen</a>.', //cpg1.4
+  'versioncheck' => 'Kontrollera versioner', //cpg1.4
+  'versioncheck_explanation' => 'Kontrollerar versionen på dina filer för att se om du har ersatt alla filer efter en uppdatering eller om Coppermines källfiler har uppdaterats efter utgivandet av en uppdatering.', //cpg1.4
+  'bridgemanager' => 'Länkningsguide', //cpg1.4
+  'bridgemanager_explanation' => 'Aktivera/avaktivera länkning med andra program (t.ex. ditt forum).', //cpg1.4
+);
+}
+
+// ------------------------------------------------------------------------- //
+// File versioncheck.php //cpg1.4
+// ------------------------------------------------------------------------- //
+
+if (defined('VERSIONCHECK_PHP')) $lang_versioncheck_php = array(
+  'title' => 'Versionskontroll', //cpg1.4
+  'what_it_does' => 'Den här sidan är till för de som har uppdaterat sin installation av Coppermine. Sidan går igenom filerna på din webbserver och försöker bestämma om de är samma som de som finns i online-filutrymmet på http://coppermine.sourceforge.net. På så sätt ser du förutom dina egna filer även alla filer som det var meningen att du skulle uppdatera.<br /> Allt som visas i rött behöver uppdateras. Det som visas i gult behöver kontrolleras. Det som visas i grönt (eller din förvalda färg) är OK.<br />Klicka på hjälpikonerna för ytterligare information.', //cpg1.4
+  'online_repository_unable' => 'Kan inte ansluta till online-filutrymmet', //cpg1.4
+  'online_repository_noconnect' => 'Coppermine kunde inte ansluta till online-filutrymmet. Det kan ha två orsaker:', //cpg1.4
+  'online_repository_reason1' => 'Online-filutrymmet är tillfälligt nere - kontrollera om din webbläsare kan hitta denna sida: %s - kan du inte ansluta till sidan så försök igen senare.', //cpg1.4
+  'online_repository_reason2' => 'PHP på din webbserver är konfigurerat med %s avstängt (som standard är det påslaget). Om det är du som administrerar webbservern, slå på det i <i>php.ini</i> (eller tillåt åtminstone att det blir åsidosatt av %s). Om du har galleriet på ett webbhotell så måste du antagligen leva med faktumet att du inte kan jämföra dina filer med de i online-filutrymmet. Den här sidan kommer bara att visa de filer som kom med ditt installationsfil - uppdateringar kommer inte att visas.', //cpg1.4
+  'online_repository_skipped' => 'Anslutning till filutrymmet hoppades över', //cpg1.4
+  'online_repository_to_local' => 'Sidan håller på att bestämma förvalda filer i din versionsfil. Det kan vara så att det du ser inte stämmer om du har uppdaterat och inte laddat upp alla filer. Ändringar gjorda efter släppet kommer heller inte att tas med.', //cpg1.4
+  'local_repository_unable' => 'Kan inte ansluta till filurymmet på din server', //cpg1.4
+  'local_repository_explanation' => 'Coppermine kunde inte ansluta till filen för filutrymme %s på din webbserver. Det betyder antagligen att du inte laddat upp den till servern. Gör det och försök köra denna sida igen (ladda om sidan).<br />Om felet kvarstår kan din webbserver ha avaktiverat delen med <a href="http://www.php.net/manual/en/ref.filesystem.php">PHP:s funktion för filsystem</a> helt och hållet. Om så är fallet, kan du helt enkelt inte använda detta verktyg, tyvärr.', //cpg1.4
+  'coppermine_version_header' => 'Installerad version av Coppermine', //cpg1.4
+  'coppermine_version_info' => 'Du har installerat: %s', //cpg1.4
+  'coppermine_version_explanation' => 'Om du tror detta är helt fel och du kör en senare version av Coppermine har du antagligen inte laddat upp den senaste versionen av filen <i>include/init.inc.php</i>.', //cpg1.4
+  'version_comparison' => 'Versionsjämförelse', //cpg1.4
+  'folder_file' => 'Fil/mapp', //cpg1.4
+  'coppermine_version' => 'Coppermineversion', //cpg1.4
+  'file_version' => 'Filversion', //cpg1.4
+  'webcvs' => 'Webb-SVN', //cpg1.4
+  'writable' => 'Skrivbar', //cpg1.4
+  'not_writable' => 'Ej skrivbar', //cpg1.4
+  'help' => 'Hjälp', //cpg1.4
+  'help_file_not_exist_optional1' => 'Fil/mapp finns inte', //cpg1.4
+  'help_file_not_exist_optional2' => 'Filen/mappen %s hittades inte på din webbserver. Även om det är frivilligt bör du ladda upp den (med en FTP-klient) till din webbserver om du har problem.', //cpg1.4
+  'help_file_not_exist_mandatory1' => 'Fil/mapp finns inte', //cpg1.4
+  'help_file_not_exist_mandatory2' => 'Filen/mappen %s hittades inte på din webbserver, trots att den är nödvändig. Ladda upp den till din server med en FTP-klient.', //cpg1.4
+  'help_no_local_version1' => 'Ingen lokal filversion', //cpg1.4
+  'help_no_local_version2' => 'Sidan kan inte utläsa en lokal filversion - din fil är antingen för gammal eller har blivit ändrad så att header-informationen försvunnit. Det rekommenderas att du uppdaterar filen.', //cpg1.4
+  'help_local_version_outdated1' => 'Lokal version för gammal', //cpg1.4
+  'help_local_version_outdated2' => 'Din version av denna fil verkar vara från en äldre version av Coppermine (du har antagligen uppdaterat). Se till att denna fil också blir uppdaterad.', //cpg1.4
+  'help_local_version_na1' => 'Kan inte utläsa SVN-versionen', //cpg1.4
+  'help_local_version_na2' => 'Sidan kan inte avgöra vilken SVN-version filen på din webbserver har. Du bör uppdatera filen från din installationsfil.', //cpg1.4
+  'help_local_version_dev1' => 'Utvecklarversion', //cpg1.4
+  'help_local_version_dev2' => 'Filen på din webbserver verkar vara nyare än din version av Coppermine. Antingen använder du en utvecklarversion (vilket du bara ska göra om du vet vad du gör) eller så har du uppdaterat Coppermine och inte laddat upp include/init.inc.php.', //cpg1.4
+  'help_not_writable1' => 'Mappen är inte skrivbar', //cpg1.4
+  'help_not_writable2' => 'Ändra rättigheterna (CHMOD) så att sidan kan skriva till mappen %s och allt i den.', //cpg1.4
+  'help_writable1' => 'Mappen är skrivbar', //cpg1.4
+  'help_writable2' => 'Mappen %s är skrivbar. Detta är en onödig risk, Coppermine behöver bara läs- och exekveringsrättigheter.', //cpg1.4
+  'help_writable_undetermined' => 'Coppermine kunde inte avgöra om mappen är skrivbar eller inte.', //cpg1.4
+  'your_file' => 'Din fil', //cpg1.4
+  'reference_file' => 'Referensfil', //cpg1.4
+  'summary' => 'Summering', //cpg1.4
+  'total' => 'Antal filer/mappar kontrollerade', //cpg1.4
+  'mandatory_files_missing' => 'Nödvändiga filer som saknas', //cpg1.4
+  'optional_files_missing' => 'Frivilliga filer som fattas', //cpg1.4
+  'files_from_older_version' => 'Överblivna filer från gammal version av Coppermine', //cpg1.4
+  'file_version_outdated' => 'Filer med gammal version', //cpg1.4
+  'error_no_data' => 'Sidan misslyckades, kunde inte samla in någon information.', //cpg1.4
+  'go_to_webcvs' => 'Gå till %s', //cpg1.4
+  'options' => 'Val', //cpg1.4
+  'show_optional_files' => 'Visa frivilliga filer/mappar', //cpg1.4
+  'show_mandatory_files' => 'Visa nödvändiga filer', //cpg1.4
+  'show_file_versions' => 'Visa filversioner', //cpg1.4
+  'show_errors_only' => 'Visa bara filer/mappar med fel', //cpg1.4
+  'show_permissions' => 'Visa rättigheter för mappar', //cpg1.4
+  'show_condensed_output' => 'Visa koncentrerat innehåll (för enklare skärmdumpar)', //cpg1.4
+  'coppermine_in_webroot' => 'Coppermine är installerat i webbrooten', //cpg1.4
+  'connect_online_repository' => 'Försök ansluta till filutrymmet', //cpg1.4
+  'show_additional_information' => 'Visa ytterligare innehåll', //cpg1.4
+  'no_webcvs_link' => 'Visa inte länk till SVN', //cpg1.4
+  'stable_webcvs_link' => 'Visa länk till SVN stabila gren', //cpg1.4
+  'devel_webcvs_link' => 'Visa länk till SVN utvecklargren', //cpg1.4
+  'submit' => 'Utför ändringar/uppdatera', //cpg1.4
+  'reset_to_defaults' => 'Återställ förinställda värden', //cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File view_log.php  //cpg1.4
+// ------------------------------------------------------------------------- //
+
+if (defined('VIEWLOG_PHP')) $lang_viewlog_php = array(
+  'delete_all' => 'Radera alla loggar', //cpg1.4
+  'delete_this' => 'Radera denna logg', //cpg1.4
+  'view_logs' => 'Visa loggar', //cpg1.4
+  'no_logs' => 'Inga loggar skapade.', //cpg1.4
+);
+
+
+// ------------------------------------------------------------------------- //
+// File xp_publish.php //cpg1.4
+// ------------------------------------------------------------------------- //
+
+if (defined('XP_PUBLISH_PHP')) {
+
+$lang_xp_publish_client = <<<EOT
+<h1>Guide till klient för XP Webbpublicering</h1><p>Den hör modulen låter dig använda <b>Windows XP</b> guide för webbpublicering tillsammans med Coppermine.</p><p>Koden är baserad på en artikel av
+EOT;
+
+$lang_xp_publish_required = <<<EOT
+<h2>Vad som behövs</h2><ul><li>Windows XP för att ha tillgång till guiden.</li><li>En fungerande installation av Coppermine <b>med fungerande uppladdning via webb.</b></li></ul><h2>Hur installationen sker på klientsidan.</h2><ul><li>Högerklicka på
+EOT;
+
+$lang_xp_publish_select = <<<EOT
+Välj &quot;Spara som...&quot;. Spara filen på din hårddisk. När du sparar filen se till att det föreslagna namnet är <b>cpg_###.reg</b> (där ### är en numerisk tidsangivelse). Ändra till det namnet om nödvändigt (lämna nummerna intakt). När filen är nedladdad, dubbelklicka på den för att registrera din server med guiden.</li></ul>
+EOT;
+
+$lang_xp_publish_testing = <<<EOT
+<h2>Testa</h2><ul><li>I Windows Explorer, välj dina filer och klicka på <b>Publicera xxx på webben</b> i vänster panel.</li><li>Bekräfta ditt val av filer. Klicka på <b>Nästa</b>.</li><li>I listan över tjänster som visas, välj den för dit fotogalleri (den har samma namn som ditt galleri). Om tjänsten inte visas, kontrollera att du installerat <b>cpg_pub_wizard.reg</b> som beskrivits ovan.</li><li>Skriv in dina loginuppgifter om det behövs.</li><li>Välj album för dina bilder eller skapa ett nytt.</li><li>Klicka på <b>nästa</b>. Uppladdningen av dina bilder påbörjas.</li><li>När det är klart, kontrollera ditt galleri så att bilderna har lagts till som de skulle.</li></ul>
+EOT;
+
+$lang_xp_publish_notes = <<<EOT
+<h2>Anmärkningar:</h2><ul><li>När uppladdningen har startat kan guiden inte visa några felmeddelanden, därför kan du inte veta om uppladdningen har lyckats eller inte förrän du tittat i ditt galleri.</li><li>Om uppladdningen misslyckas, aktivera &quot;Debugläge&quot; på konfigurationssidan, försök sedan ladda upp en bild i taget och granska felmeddelandena i filen
+EOT;
+
+$lang_xp_publish_flood = <<<EOT
+som finns i Coppermine-mappen på webbservern.</li><li>För att undvika att galleriet blir <i>översvämmat (flooded)</i> av bilder som laddas upp med guiden kan bara <b>administratörer</b> och <b>användare som står som ägare till albumet</b> använda denna guide.</li>
+EOT;
+
+
+
+$lang_xp_publish_php = array(
+  'title' => 'Coppermine - XP Webbpubliceringsguide', //cpg1.4
+  'welcome' => 'Välkommen <b>%s</b>,', //cpg1.4
+  'need_login' => 'Du behöver logga in på galleriet med din webbläsare innan du kan använda denna guide.<p/><p>När du loggar in, glöm inte att kryssa i <b>Kom ihåg mig</b>-rutan om den finns.', //cpg1.4
+  'no_alb' => 'Det finns inga album där du har behörighet att ladda upp bilder med denna guide.', //cpg1.4
+  'upload' => 'Ladda upp dina bilder till ett befintligt album', //cpg1.4
+  'create_new' => 'Skapa ett nytt album för dina bilder', //cpg1.4
+  'album' => 'Album', //cpg1.4
+  'category' => 'Kategori', //cpg1.4
+  'new_alb_created' => 'Ditt nya album &quot;<b>%s</b>&quot; har skapats.', //cpg1.4
+  'continue' => 'Tryck på &quot;Nästa&quot; för att börja ladda upp bilderna', //cpg1.4
+  'link' => 'den här länken', //cpg1.4
+);
+}
 ?>
\ No newline at end of file
diff -x .svn -aruN 1.4.24.src/lang/thai.php 1.4.25.src/lang/thai.php
--- 1.4.24.src/lang/thai.php	2009-05-25 15:01:17.000000000 -0500
+++ 1.4.25.src/lang/thai.php	2009-05-26 11:25:40.000000000 -0500
@@ -10,11 +10,11 @@
   as published by the Free Software Foundation.
   
   ********************************************
-  Coppermine version: 1.4.24
+  Coppermine version: 1.4.25
   $HeadURL: https://coppermine.svn.sourceforge.net/svnroot/coppermine/trunk/cpg1.4.x/lang/thai.php $
-  $Revision: 5988 $
+  $Revision: 5997 $
   $Author: gaugau $
-  $Date: 2009-05-25 22:01:41 +0200 (Mo, 25 Mai 2009) $
+  $Date: 2009-05-26 08:43:24 +0200 (Di, 26 Mai 2009) $
 **********************************************/
 
 if (!defined('IN_COPPERMINE')) { die('Not in Coppermine...');}
diff -x .svn -aruN 1.4.24.src/lang/turkish.php 1.4.25.src/lang/turkish.php
--- 1.4.24.src/lang/turkish.php	2009-05-25 15:01:17.000000000 -0500
+++ 1.4.25.src/lang/turkish.php	2009-05-26 11:29:02.000000000 -0500
@@ -1,2099 +1,2099 @@
-<?php
-/*************************
-  Coppermine Photo Gallery
-  ************************
-  Copyright (c) 2003-2009 Coppermine Dev Team
-  v1.1 originally written by Gregory DEMAR
-
-  This program is free software; you can redistribute it and/or modify
-  it under the terms of the GNU General Public License version 3
-  as published by the Free Software Foundation.
-  
-  ********************************************
-  Coppermine version: 1.4.24
-  $HeadURL: https://coppermine.svn.sourceforge.net/svnroot/coppermine/trunk/cpg1.4.x/lang/turkish.php $
-  $Revision: 5988 $
-  $Author: gaugau $
-  $Date: 2009-05-25 22:01:41 +0200 (Mo, 25 Mai 2009) $
-**********************************************/
-if (!defined('IN_COPPERMINE')) { die('Not in Coppermine...');}
-
-// info about translators and translated language
-$lang_translation_info = array(
-  'lang_name_turkish' => 'Turkish',
-  'lang_name_native' => 'Türkçe',
-  'lang_country_code' => 'tr',
-  'trans_name'=> 'Ibrahim ALTINOK(v1,3 sürümüne kadar) Katip(v1,4 sürümü)',
-  'trans_email' => 'ibrahim@lavinya.net(v1,3 sürümüne kadar), Katip2002@yahoo.com (v1,4 sürümü)',
-  'trans_website' => 'http://www.lavinya.net/',
-  'trans_date' => '2006-05-06',
-);
-
-$lang_charset = 'utf-8';
-$lang_text_dir = 'ltr'; // ('ltr' for left to right, 'rtl' for right to left)
-
-// shortcuts for Byte, Kilo, Mega
-$lang_byte_units = array('Bytes', 'KB', 'MB');
-
-// Day of weeks and months
-$lang_day_of_week = array('Paz', 'Pzt', 'Sal', 'Çar', 'Per', 'Cum', 'Cmt');
-$lang_month = array('Ock', 'Şub', 'Mrt', 'Nis', 'May', 'Haz', 'Tem', 'Agu', 'Eyl', 'Ekm', 'Kas', 'Arl');
-
-// Some common strings
-$lang_yes = 'Evet';
-$lang_no  = 'Hayır';
-$lang_back = 'GERİ';
-$lang_continue = 'DEVAM ET';
-$lang_info = 'Bilgi';
-$lang_error = 'Hata';
-$lang_check_uncheck_all = 'tamamı/hiçbiri'; //cpg1.4
-
-// The various date formats
-// See http://www.php.net/manual/en/function.strftime.php to define the variable below
-$album_date_fmt =    '%B %d, %Y';
-$lastcom_date_fmt =  '%m/%d/%y at %H:%M';
-$lastup_date_fmt = '%B %d, %Y';
-$register_date_fmt = '%B %d, %Y';
-$lasthit_date_fmt = '%B %d, %Y at %I:%M %p';
-$comment_date_fmt =  '%B %d, %Y at %I:%M %p';
-$log_date_fmt = '%B %d, %Y at %I:%M %p'; //cpg1.4
-
-// For the word censor
-$lang_bad_words = array('bok*', '*erefsiz', 'sikerim', 'göt*', 'eşeko*', 'orosp*', 'pezev*', 'cum', 'cunt*', 'dago', 'daygo', 'dego', 'dick*', 'dildo', 'fanculo', 'feces', 'foreskin', 'Fu\(*', 'fuk*', 'honkey', 'hore', 'injun', 'kike', 'lesbo', 'masturbat*', 'motherfucker', 'nazis', 'nigger*', 'nutsack', 'penis', 'phuck', 'poop', 'pussy', 'scrotum', 'shit', 'slut', 'titties', 'titty', 'twaty', 'wank*', 'whore', 'wop*');
-
-$lang_meta_album_names = array(
-  'random' => 'Rastgele Resim',
-  'lastup' => 'Son Yüklenenler',
-  'lastalb'=> 'Son Yorum Yapılanlar',
-  'lastcom' => 'Son Yorumlar',
-  'topn' => 'En Son Bakınlan',
-  'toprated' => 'En Beğenilen',
-  'lasthits' => 'Son Bakılan',
-  'search' => 'Arama Sonuçları',
-  'favpics'=> 'Favori Resimler', //cpg1.4
-);
-
-$lang_errors = array(
-  'access_denied' => 'Bu Sayfaya erişim hakkınız yok.',
-  'perm_denied' => 'Bu işlemi yapma hakkınız yok.',
-  'param_missing' => 'Eksik parametre(ler)!',
-  'non_exist_ap' => 'Böyle bir Album, Resim yok !',
-  'quota_exceeded' => 'Diks alanı aşıldı<br /><br />[quota]K da boş bir alanınız var, resimleriniz şuanda kullanılıyor [space]K, bu resmi eklemek alanınızı aşıracaktır.',
-  'gd_file_type_err' => 'Eğer GD image library kullanılıyorsa sadece JPEG ve PNG formatları işlenebilir.',
-  'invalid_image' => 'Yolladığınız resim hasarlı yada GD library tarafından işlenemiyor',
-  'resize_failed' => 'Simge yada Düşürülmüş kalite resmi yaratılmadı.',
-  'no_img_to_display' => 'Gösterilebilecek resim yok',
-  'non_exist_cat' => 'Seçili Kategori yok',
-  'orphan_cat' => 'Katagorinin Üst katagorisi belli değil, Düzeltmek için katagori yönete gidiniz.', //cpg1.3.0
-  'directory_ro' => ' \'%s\'  klasörü yazılabilir değil, resimler silinemedi.', //cpg1.3.0
-  'non_exist_comment' => 'Seçili Yorum aslında yok.',
-  'pic_in_invalid_album' => 'Seçili resim geçersiz bir albumde (%s)!?', //cpg1.3.0
-  'banned' => 'Kullanılan bu siteden banlandınız',
-  'not_with_udb' => 'Bu fonksiyon Coppermine da kullanılamaz çünkü forum yazılımı ile bütünleştirildi. Yapmaya çalıştığınız şey bü şekilde kaldırılamadı, yada fonksiyon forum yazlımı tarafından elegeçirildi.',
-  'offline_title' => 'Kapalı',
-  'offline_text' => 'Galeri kapalı- ilerde tekrar deneyin', //cpg1.3.0
-  'ecards_empty' => 'Ekart kayıtı bulunmamaktadır. Coppermine seçeneklerindeki  ekart giriş imkanını kontrol edin!', //cpg1.3.0
-  'action_failed' => 'İşlem olmadı.  Coppermine sizin talebinizi işleyemedi.', //cpg1.3.0
-  'no_zip' => 'ZIP dosyası oluşturmak için gerekli dosyalar bulunamadı.  Lütfen Coppermine admininiz ile iletişime geçin.', //cpg1.3.0
-  'zip_type' => 'ZIP dosyalarını yüklemek için yetkiniz yok.', //cpg1.3.0
-  'database_query' => 'Veritabanı yazarken hata oluştu', //cpg1.4
-  'register_globals_on' => 'The PHP setting register_globals is enabled on your server, which is a bad idea in terms of security. It\'s strongly recommended to turn it off. [<a href="http://forum.coppermine-gallery.net/index.php/topic,59569.0.html" rel="external" class="external">more</a>]',
-);
-
-$lang_bbcode_help_title = 'bbcode yardım'; //cpg1.4
-$lang_bbcode_help = 'Kullanabileceginiz bbcodlari: <li>[b]Bold[/b] =&gt; <b>Bold</b></li><li>[i]Italic[/i] =&gt; <i>Italic</i></li><li>[url=http://yoursite.com/]Url Text[/url] =&gt; <a href="http://yoursite.com">Url Text</a></li><li>[email]user@domain.com[/email] =&gt; <a href="mailto:user@domain.com">user@domain.com</a></li><li>[color=red]some text[/color] =&gt; <span style="color:red">some text</span></li><li>[img]http://coppermine-gallery.net/demo/cpg14x/images/red.gif[/img] => <img src="../images/red.gif" border="0" alt="" /></li>'; //cpg1.4
-
-// ------------------------------------------------------------------------- //
-// File theme.php
-// ------------------------------------------------------------------------- //
-
-$lang_main_menu = array(
-  'home_title' => 'Ana Sayfa',
-  'home_lnk' => 'Ana Sayfa',
-  'alb_list_title' => 'Albüm listesine git',
-  'alb_list_lnk' => 'Albüm Listesi',
-  'my_gal_title' => 'Kişisel galerime git',
-  'my_gal_lnk' => 'Galerim',
-  'my_prof_title' => 'Kişisel profilime git', //cpg1.4
-  'my_prof_lnk' => 'Kişisel profilim',
-  'adm_mode_title' => 'Yönetici moduna Geç',
-  'adm_mode_lnk' => 'Admin modu',
-  'usr_mode_title' => 'Kullanıcı moduna Geç',
-  'usr_mode_lnk' => 'Kullanıcı modu',
-  'upload_pic_title' => 'Bir Albüme Resim Ekle', //cpg1.3.0
-  'upload_pic_lnk' => 'Resim yükle', //cpg1.3.0
-  'register_title' => 'Albüme resim ekle',
-  'register_lnk' => 'Kayıt ol',
-  'login_title' => 'Giriş', //cpg1.4
-  'login_lnk' => 'Giriş',
-  'logout_title' => 'Çıkış', //cpg1.4
-  'logout_lnk' => 'Çıkış',
-  'lastup_title' => 'Son yüklenenleri göster', //cpg1.4
-  'lastup_lnk' => 'Son yüklenenler',
-  'lastcom_title' => 'Son yorumları göster', //cpg1.4
-  'lastcom_lnk' => 'Son yorumlar',
-  'topn_title' => 'En çok bakılanları göster', //cpg1.4
-  'topn_lnk' => 'En çok bakılanlar',
-  'toprated_title' => 'En beğenilenler göster', //cpg1.4
-  'toprated_lnk' => 'En beğenilenler',
-  'search_title' => 'Galeride ara', //cpg1.4
-  'search_lnk' => 'Ara',
-  'fav_title' => 'Favorilerime git', //cpg1.4
-  'fav_lnk' => 'Favorilerim',
-  'memberlist_title' => 'Üye listesini göster', //cpg1.3.0
-  'memberlist_lnk' => 'Üye listesi', //cpg1.3.0
-  'faq_title' => 'Resim galerisi üzerindeki Sorulan Soru &quot;Coppermine&quot;', //cpg1.3.0
-  'faq_lnk' => 'FAQ',
-);
-
-$lang_gallery_admin_menu = array(
-  'upl_app_title' => 'Resim yükleme onayları', //cpg1.4
-  'upl_app_lnk' => 'Resim yükleme onayları',
-  'admin_title' => 'Ayarlar', //cpg1.4
-  'admin_lnk' => 'Ayarlar', //cpg1.4
-  'albums_title' => 'Albüm ayarları', //cpg1.4
-  'albums_lnk' => 'Albümler',
-  'categories_title' => 'Kategori ayarları', //cpg1.4
-  'categories_lnk' => 'Kategoriler',
-  'users_title' => 'Kullanıcı ayarları', //cpg1.4
-  'users_lnk' => 'Kullanıcılar',
-  'groups_title' => 'Grup ayarları', //cpg1.4
-  'groups_lnk' => 'Gruplar',
-  'comments_title' => 'Yorum ayarları', //cpg1.4
-  'comments_lnk' => 'Yorumlar', //cpg1.3.0
-  'searchnew_title' => 'Çoklu resim eklemeyi aç', //cpg1.4
-  'searchnew_lnk' => 'Çoklu resim ekleme', //cpg1.3.0
-  'util_title' => 'Admin seçenekleri', //cpg1.4
-  'util_lnk' => 'Admin seçenekleri', //cpg1.3.0
-  'key_title' => 'Arama sözlügü', //cpg1.4
-  'key_lnk' => 'Arama sözlügü', //cpg1.4
-  'ban_title' => 'Kullanıcı banla', //cpg1.4
-  'ban_lnk' => 'Kullanıcı banla',
-  'db_ecard_title' => 'Ekart gösterimi', //cpg1.4
-  'db_ecard_lnk' => 'Ekart gösterimi', //cpg1.3.0
-  'pictures_title' => 'Resimlerimi sırala', //cpg1.4
-  'pictures_lnk' => 'Resimlerimi sırala', //cpg1.4
-  'documentation_lnk' => 'Belgeler', //cpg1.4
-  'documentation_title' => 'Coppermine kullanım kılavuzu', //cpg1.4
-);
-
-$lang_user_admin_menu = array(
-  'albmgr_title' => 'Albüm oluştur / düzenle', //cpg1.4
-  'albmgr_lnk' => 'Albüm oluştur / düzenle',
-  'modifyalb_title' => 'Albüm seçenekleri',  //cpg1.4
-  'modifyalb_lnk' => 'Albüm seçenekleri',
-  'my_prof_title' => 'Kişisel Profilim', //cpg1.4
-  'my_prof_lnk' => 'Kişisel Profilim',
-);
-
-$lang_cat_list = array(
-        'category' => 'Kategori',
-        'albums' => 'Albümler',
-  	  'pictures' => 'Resimler', //cpg1.3.0
-);
-
-$lang_album_list = array(
-        'album_on_page' => '%d album var %d sayfada'
-);
-
-$lang_thumb_view = array(
-  'date' => 'Tarih',
-  //Sort by filename and title
-  'name' => 'Ad',
-  'title' => 'Konu',
-  'sort_da' => 'Tarihe göre ARTAN sırala',
-  'sort_dd' => 'Tarihe göre AZALAN sırala',
-  'sort_na' => 'Ada göre ARTAN sırala',
-  'sort_nd' => 'Ada göre AZALAN sırala',
-  'sort_ta' => 'Konuya göre ARTAN sırala',
-  'sort_td' => 'Konuya göre AZALAN sırala',
-  'position' => 'Konum', //cpg1.4
-  'sort_pa' => 'Yükselen sınıflama', //cpg1.4
-  'sort_pd' => 'Alçalan sınıflama ', //cpg1.4
-  'download_zip' => 'Zip dosyası olarak indir', //cpg1.3.0
-  'pic_on_page' => '%d resim var %d sayfada',
-  'user_on_page' => '%d kullanıcı var %d sayfada', //cpg1.3.0
-  'enter_alb_pass' => 'Albüm şifresi', //cpg1.4
-  'invalid_pass' => 'Yanlış şifre', //cpg1.4
-  'pass' => 'Şifre', //cpg1.4
-  'submit' => 'Tamam', //cpg1.4
-);
-
-$lang_img_nav_bar = array(
-  'thumb_title' => 'Küçük resim sayfasına dön',
-  'pic_info_title' => 'Resim özelliklerini göster/sakla', //cpg1.3.0
-  'slideshow_title' => 'Ard arda (slide) gösterim',
-  'ecard_title' => 'Bu resmi bir e-kartpostal olarak yolla ', //cpg1.3.0
-  'ecard_disabled' => 'e-kartpostal özelliği etkin değil',
-  'ecard_disabled_msg' => 'E-kartpostal yollama izniniz yok', //js-alert //cpg1.3.0
-  'prev_title' => 'Önceki resme bak', //cpg1.3.0
-  'next_title' => 'Sonraki resme bak', 
-  'pic_pos' => 'Resim %s/%s', 
-  'report_title' => 'Bu dosyayı yöneticiye bildir', //cpg1.4
-  'go_album_end' => 'Sona git', //cpg1.4
-  'go_album_start' => 'Başa dön', //cpg1.4
-  'go_back_x_items' => ' %s dosya dön', //cpg1.4
-  'go_forward_x_items' => ' %s dosya ileri git', //cpg1.4
-);
-
-$lang_rate_pic = array(
-  'rate_this_pic' => 'Bu resimi puanla', 
-  'no_votes' => '(Puanlama henuz yok)',
-  'rating' => '(Güncel Beğeni Oranı : %s / 5 etkiyen %s oy',
-  'rubbish' => 'Berbat',
-  'poor' => 'Değersiz',
-  'fair' => 'İdare Eder',
-  'good' => 'İyi',
-  'excellent' => 'Çok İyi',
-  'great' => 'Mükemmel',
-);
-
-// ------------------------------------------------------------------------- //
-// File include/exif.inc.php
-// ------------------------------------------------------------------------- //
-
-// void
-
-// ------------------------------------------------------------------------- //
-// File include/functions.inc.php
-// ------------------------------------------------------------------------- //
-
-$lang_cpg_die = array(
-  INFORMATION => $lang_info,
-  ERROR => $lang_error,
-  CRITICAL_ERROR => 'Kritik Hata',
-  'file' => 'Dosya: ',
-  'line' => 'Satır: ',);
-
-$lang_display_thumbnails = array(
-  'filename' => 'Dosya adı=', //cpg1.4
-  'filesize' => 'Dosya büyüklüğü=', //cpg1.4
-  'dimensions' => 'Ölçüler=', //cpg1.4
-  'date_added' => 'Eklenen tarih=', //cpg1.4
-);
-
-$lang_get_pic_data = array(
-  'n_comments' => '%s yorum yapıldı',
-  'n_views' => '%s kez bakıldı',
-  'n_votes' => '(%s oy verildi)'
-);
-
-$lang_cpg_debug_output = array(
-  'debug_info' => 'Hata temizleme bilgisi', 
-  'select_all' => 'Tümünü Seç', 
-  'copy_and_paste_instructions' => 'Coppermine den yardım talebinde bulunacaksanız, hata temizleme bilgisini kopyala yapıştır ile gönderiniz. Yollamadan önce *** ile olan yerleri tekrar doldurun.', 
-  'phpinfo' => 'phpbilgilerini göster', 
-  'notices' => 'Not', //cpg1.4
-);
-
-$lang_language_selection = array(
-  'reset_language' => 'Varsayılan dil', 
-  'choose_language' => 'Dil seçin', 
-);
-
-$lang_theme_selection = array(
-  'reset_theme' => 'Varsayılan konu', 
-  'choose_theme' => 'Konu seçiniz', 
-);
-
-$lang_version_alert = array(
-  'version_alert' => 'Desteksiz sürüm!', //cpg1.4
-  'no_stable_version' => 'Kullandıgınız Coppermine sürümü %s (%s) Bu sürüm sadece deneyimli kullanıcılar içindir - bu sürüme herhangi bir teknik destek verilmemektedir. Kullanmak tamamen kendi risikonuzda olup. Desteklenen çalışır sürmler için önceki sürümleri kullanınız!', //cpg1.4
-  'gallery_offline' => 'Galeri şu anda kapalı ve sadece admin tarafından görülebilmektedir. Ayarları bitirdikten sonra tekrar açmayı unutmayınız.', //cpg1.4
-);
-
-$lang_create_tabs = array(
-  'previous' => ' ÖNCEKİ EKRAN ', //cpg1.4
-  'next' => ' SONRAKİ EKRAN ', //cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File include/init.inc.php
-// ------------------------------------------------------------------------- //
-
-// void
-
-// ------------------------------------------------------------------------- //
-// File keyword.inc.php                                                      //
-// ------------------------------------------------------------------------- //
-
-// void
-
-// ------------------------------------------------------------------------- //
-// File include/picmgmt.inc.php
-// ------------------------------------------------------------------------- //
-
-// void
-
-// ------------------------------------------------------------------------- //
-// File include/plugin_api.inc.php
-// ------------------------------------------------------------------------- //
-$lang_plugin_api = array(
-  'error_wakeup' => "'%s'plugini uyandıramadı", //cpg1.4
-  'error_install' => "'%s'plugini kuramadı", //cpg1.4
-  'error_uninstall' => "'%s' plugini kaldıramadı", //cpg1.4
-  'error_sleep' => " '%s'  plugini kaldıramadı<br />", //cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File include/smilies.inc.php
-// ------------------------------------------------------------------------- //
-
-if (defined('SMILIES_PHP')) $lang_smilies_inc_php = array(
-  'Exclamation' => 'Ünlem',
-  'Question' => 'Soru',
-  'Very Happy' => 'Çok mutlu',
-  'Smile' => 'Gülümsiyen',
-  'Sad' => 'Üzgün',
-  'Surprised' => 'Şaşırmış',
-  'Shocked' => 'Şok olmuş',
-  'Confused' => 'Kafası karışık',
-  'Cool' => 'Cool',
-  'Laughing' => 'Gülen',
-  'Mad' => 'Deli',
-  'Razz' => 'Razz',
-  'Embarassed' => 'Utanmış',
-  'Crying or Very sad' => 'Çok üzgün veya ağlama',
-  'Evil or Very Mad' => 'Şeytan veye manyak',
-  'Twisted Evil' => 'Sapıtmış şeytan',
-  'Rolling Eyes' => 'Gözü dönmüş',
-  'Wink' => 'Gözkırpan',
-  'Idea' => 'Ampül fikirli',
-  'Arrow' => 'Ok',
-  'Neutral' => 'Doğal',
-  'Mr. Green' => 'Bay yeşil',
-);
-
-// ------------------------------------------------------------------------- //
-// File addpic.php
-// ------------------------------------------------------------------------- //
-
-// void
-
-// ------------------------------------------------------------------------- //
-// File mode.php //cpg1.4
-// ------------------------------------------------------------------------- //
-
-if (defined('MODE_PHP')) $lang_mode_php = array(
-  0 => 'Yönetici modu terkediliyor...',
-  1 => 'Yönetici moduna geçiliyor...',
-);
-
-// ------------------------------------------------------------------------- //
-// File albmgr.php
-// ------------------------------------------------------------------------- //
-
-if (defined('ALBMGR_PHP')) $lang_albmgr_php = array(
-  'alb_need_name' => 'Albumlerin adı olmalı!', //js-alert
-  'confirm_modifs' => 'Bu değişiklikleri yapmak istediğinizden eminmisiniz?', //js-alert
-  'no_change' => 'Değişiklik yapmadınız!', //js-alert
-  'new_album' => 'Yeni albüm',
-  'confirm_delete1' => 'Bu albumu silmek istediğinizden eminmisiniz ?', //js-alert
-  'confirm_delete2' => '\n Bütün RESİMLER,YORUMLAR ve İÇERİĞİ YOK OLACAK !', //js-alert
-  'select_first' => 'İlk önce bir album seçiniz', //js-alert
-  'alb_mrg' => 'Albüm ayarları',
-  'my_gallery' => '* Kişisel galerim *',
-  'no_category' => '* Katagori yok *',
-  'delete' => 'Sil',
-  'new' => 'Yeni',
-  'apply_modifs' => 'Değişiklikleri yap',
-  'select_category' => 'Katagori seç',
-);
-
-// ------------------------------------------------------------------------- //
-// File banning.php
-// ------------------------------------------------------------------------- //
-
-if (defined('BANNING_PHP')) $lang_banning_php = array(
-  'title' => 'Kullanıcıyı banla', //cpg1.4
-  'user_name' => 'Üye adı', //cpg1.4
-  'ip_address' => 'İP adresi', //cpg1.4
-  'expiry' => 'Süre (Sürekli banlamak için boş bırakın)', //cpg1.4
-  'edit_ban' => 'Tamam', //cpg1.4
-  'delete_ban' => 'Sil', //cpg1.4
-  'add_new' => 'Yeni ban ekle', //cpg1.4
-  'add_ban' => 'Ekle', //cpg1.4
-  'error_user' => 'Kullanıcı bulanamıyor', //cpg1.4
-  'error_specify' => 'Banlamak istediginiz kişinin kullanıcı adını veya ip adresini girmelisiniz', //cpg1.4
-  'error_ban_id' => 'Yanlış ban ID si!', //cpg1.4
-  'error_admin_ban' => 'Kendinizi banlıyamazsınız!', //cpg1.4
-  'error_server_ban' => 'Kendi sunucunuzu banlamak üzerisiniz! Bunu yapmak mümkün degil...', //cpg1.4
-  'error_ip_forbidden' => 'Bu İP adresini banlıyamazsınız - Bu bir Lan (network) adresi!<br />Eğer bu özel ip adresini banlamak isterseniz <a href="admin.php">Config</a> dan değiştiriniz. (Bu işlemin şalışabilmesi için Coppermine bir LAN (network) ortamında çalişıyor olması gerekli).', //cpg1.4
-  'lookup_ip' => 'IP adres arama', //cpg1.4
-  'submit' => 'Başla!', //cpg1.4
-  'select_date' => 'Tarih seç', //cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File bridgemgr.php //cpg1.4
-// ------------------------------------------------------------------------- //
-
-if (defined('BRIDGEMGR_PHP')) $lang_bridgemgr_php = array(
-  'title' => 'Köprü sihirbazı',
-  'warning' => 'Uyarı!: Bu sihirbazı kullandıgınız taktirde hassas bilgilerin html formu olarak gönderilecektir. Onun için lütfen bu sihirbazı sadece kendi bilgisayarınızda kullanın (Örnegin bir internet kafede kullanmayın)  ve ayrıca kullandıktan sonra Explorerdaki cache and temporary dosyalarını temizlemeyi unutmayınız.!',
-  'back' => 'geri',
-  'next' => 'ileri',
-  'start_wizard' => 'Köprü sihirbazını başlat',
-  'finish' => 'Sonlandır',
-  'hide_unused_fields' => 'kullanılmayanları gizle(tavsiye edilir)',
-  'clear_unused_db_fields' => 'hatalı veritabanı verilerini temizle (tavsiye edilir)',
-  'custom_bridge_file' => 'bağlantı dosyanızın ismi (bağlantı dosyanızın adı <i>myfile.inc.php</i> ise, <i>myfile</i> yazınız)',
-  'no_action_needed' => 'Bu aşamada herhangi bir şey yapmanız gerekmiyor. Sadece devam etmek için \'ileri\' tuşuna basmanız yeterli.',
-  'reset_to_default' => 'Hazır değerlere geri dön',
-  'choose_bbs_app' => 'coppermine ile köprü oluşturmak istediginiz program',
-  'support_url' => 'Program destegi için',
-  'settings_path' => 'BBS programınızın kullandıgı adres(ler)',
-  'database_connection' => 'veritabanı bağlantı',
-  'database_tables' => 'veritabanı tabloları',
-  'bbs_groups' => 'BBS grupları',
-  'license_number' => 'Lisans numarası',
-  'license_number_explanation' => 'lisans numaranızı girin',
-  'db_database_name' => 'veritabanı ismi',
-  'db_database_name_explanation' => 'Sizin BBs programının kullandıgı veritabanı ismi',
-  'db_hostname' => 'veritabanı sunucu',
-  'db_hostname_explanation' => 'mySQL veritabanının suduldugu sunucu, genelde &quot;localhost&quot;',
-  'db_username' => 'veritabanı kullanıcı adı',
-  'db_username_explanation' => 'BBS programı ile bağlantı yapması için mySQL kullanıcı adı',
-  'db_password' => 'veritabanı şifresi',
-  'db_password_explanation' => 'mySQL kullanıcı şifresi',
-  'full_forum_url' => 'URL adresi',
-  'full_forum_url_explanation' => 'BBS programınızın tam URL (http:// de içinde, mesala http://www.yourdomain.tld/forum)',
-  'relative_path_of_forum_from_webroot' => 'Forum adresi',
-  'relative_path_of_forum_from_webroot_explanation' => 'Webroot dan BBS programınızın adresi(örnek: Eğer BBS programınız http://www.yourdomain.tld/forum/, siz &quot;/forum/&quot; olarak girin)',
-  'relative_path_to_config_file' => 'BBS programınızdaki config dosyasının adresi',
-  'relative_path_to_config_file_explanation' => 'Coppermine klasöründen bakıldıgında sizin BBS programınızın adresi (e.g. &quot;../forum/&quot; eğer sizin BBS proğramınız http://www.yourdomain.tld/forum/ ise ve Coppermine http://www.yourdomain.tld/gallery/ da ise)',
-		'cookie_prefix' => 'Kurabiye öneki', //cpg1.4
-		'cookie_prefix_explanation' => 'BBS programınızdaki Kurabiye ismi', //cpg1.4
-		'table_prefix' => 'Tablo öneki', //cpg1.4
-		'table_prefix_explanation' => 'BBS programınızı installerken kullandıgınız öneki ile aynı olmak zorunda.', //cpg1.4
-		'user_table' => 'Kullanıcı tablosu', //cpg1.4
-		'user_table_explanation' => '(Standart programlarda bu bilgiler varsayılan veriler olmalı)', //cpg1.4 //cpg1.4
-		'session_table' => 'Oturum tablosu', //cpg1.4
-		'session_table_explanation' => '(Standart programlarda bu bilgiler varsayılan veriler olmalı)', //cpg1.4
-		'group_table' => 'Grup tablosu', //cpg1.4
-		'group_table_explanation' => '(Standart programlarda bu bilgiler varsayılan veriler olmalı)', //cpg1.4
-		'group_relation_table' => 'Grup bağlantı tablosu', //cpg1.4
-		'group_relation_table_explanation' => '(Standart programlarda bu bilgiler varsayılan veriler olmalı)', //cpg1.4
-		'group_mapping_table' => 'Grup harita tablosu', //cpg1.4
-		'group_mapping_table_explanation' => '(Standart programlarda bu bilgiler varsayılan veriler olmalı)', //cpg1.4
-		'use_standard_groups' => 'Genel BBS kullanıcı gruplarını kullan', //cpg1.4
-		'use_standard_groups_explanation' => 'Mevcut kullanıcı guruplarını kullanınız (tavsiye edilir). Bu seçenek sizin yaptığınız değişiklikleri iptal eder. Be seçeneği ne yaptığınızı biliyorsanız kullanınız.!', //cpg1.4
-		'validating_group' => 'Onaylanmış gruplar', //cpg1.4
-		'validating_group_explanation' => 'Kullanıcılarınızın buludugu grup onaylanması gerekmektedir. (Standart programlarda bu bilgiler varsayılan veriler olmalı)', //cpg1.4
-		'guest_group' => 'Misafir grup', //cpg1.4
-		'guest_group_explanation' => 'Misafir kullanıcıların buludugu grup onaylanması gerekmektedir. (Varsayılan veriler doğru olmalı)', //cpg1.4
-		'member_group' => 'Üyeler grup', //cpg1.4
-		'member_group_explanation' => 'Üyelerin buludugu grup onaylanması gerekmektedir. (Varsayılan veriler doğru olmalı)', //cpg1.4
-		'admin_group' => 'Yönetici grubu', //cpg1.4
-		'admin_group_explanation' => 'Yöneticilerin buludugu grup onaylanması gerekmektedir. (Varsayılan veriler doğru olmalı)', //cpg1.4
-		'banned_group' => 'Banlanmış grup', //cpg1.4
-		'banned_group_explanation' => 'Banlanmış üyelerin eklendigi grup adı. (Varsayılan veriler doğru olmalı)', //cpg1.4
-		'global_moderators_group' => 'Moderators groep', //cpg1.4
-		'global_moderators_group_explanation' => 'Moderatorların buludugu grup adı. (Varsayılan veriler doğru olmalı)', //cpg1.4
-		'special_settings' => 'BBS proğramına özel ayarlar', //cpg1.4
-		'logout_flag' => 'phpBB sürümü (çıkış verileri)', //cpg1.4
-		'logout_flag_explanation' => 'BBS programının sürümü (bu ayarlar çıkışların nasıl işleme alındıgını ayarlar.)', //cpg1.4
-		'use_post_based_groups' => 'Mesaj kullanan gruplar oluştur?', //cpg1.4
-		'logout_flag_yes' => '2.0.5 ve daha yüksegi', //cpg1.4
-		'logout_flag_no' => '2.0.4 ve daha düşügü', //cpg1.4
-		'use_post_based_groups_explanation' => 'BBS proğramı tarafından mesaj sayısına göre oluşturulan gruplar işleme alınsınmı (degişik giriş izinleri) veya sadece genel gruplar mı işleme alınsın?(yönetimi daha kolay - tavsiye edilir). Bu ayarlar sonrada değiştirilebilir.', //cpg1.4
-		'use_post_based_groups_yes' => 'evet', //cpg1.4
-		'use_post_based_groups_no' => 'hayır', //cpg1.4
-		'error_title' => 'Devam edebilmek için önce yanlışları düzeltmeniz gerekmektedir. Bir önceki ekran geri dönünüz.', //cpg1.4
-		'error_specify_bbs' => 'Hangi Coppermine ile birleştirmek istediğinizi seçiniz.', //cpg1.4
-		'error_no_blank_name' => 'Birleştirme dosyasına bir adı veriniz.', //cpg1.4
-		'error_no_special_chars' => 'Birleştirme dosya adı alt çizgi (_) ve (-) dışında özel karakter kullanılmamalı!', //cpg1.4
-		'error_bridge_file_not_exist' => 'Birleştirme dosyası %s sunucunuzda bulunamadı. Doğru yüklenildiğine emin olmak için kontrol ediniz.', //cpg1.4
-		'finalize' => 'BBS bağlantısını aç/kapat', //cpg1.4
-		'finalize_explanation' => 'Bu ana kadarki ayarlar veritabanına kaydedildi, ama şu anda BBS proğram bağlantısı açılmadı. Bağlantıyı istediginiz zaman açıp veya kapatabilirsiniz. Lütfen Coppermine (standalone) giriş şifrenizi unutmayınız. Bu şifreyi kullanarak istediğiniz zaman ayarlarda değişiklik yapabilirsiniz. Bir şey yanlış giderse, %s gidin ve BBS bağlantısını kapatınız ve standalone Coppermine kullanıcı ismi ve şifreniz (Coppermine kurarken yazdığınız) ile giriş yapınız.', //cpg1.4
-		'your_bridge_settings' => 'Bağlantı ayarları', //cpg1.4
-		'title_enable' => '%s ile bağlantıyı aç', //cpg1.4
-		'bridge_enable_yes' => 'Aç', //cpg1.4
-		'bridge_enable_no' => 'Kapat', //cpg1.4
-		'error_must_not_be_empty' => 'boş bırakmayınız', //cpg1.4
-		'error_either_be' => '%s veya %s olmalı', //cpg1.4
-		'error_folder_not_exist' => '%s bulunamadı. %s ni düzeltiniz.', //cpg1.4
-		'error_cookie_not_readible' => 'Coppermine %s adlı Kurabiye dosyasını okuyamıyor. %s daki kullanıdığınız verileri düzeltin, veya BBS kur ekranında Kurabiye dosyasını okunabilir duruma getiriniz.',  //cpg1.4
-		'error_mandatory_field_empty' => '%s alanını boş bırakmayınız. Doğru verileri giriniz.', //cpg1.4
-		'error_no_trailing_slash' => '%s alanının sonunda (\\) işareti olmamalı.', //cpg1.4
-		'error_trailing_slash' => '%s alanının sonunda (\\) işareti olmalı.', //cpg1.4
-		'error_db_connect' => 'mySQL veritabanı ile bağlantı kurulamıyor. mySQL şu hatayı veriyor:', //cpg1.4
-		'error_db_name' => 'Coppermine bağlanmasına rağmen, veritabanı %s ile bağlantı kuramıyor. %s ayarlarını doğru yaptığınıza emin olunuz. mySQL şu hatayı veriyor:', //cpg1.4
-		'error_prefix_and_table' => '%s ve ', //cpg1.4
-		'error_db_table' => '%s tablosunu bulamıyor. %s daki bilğilerin doğru oldugundan emin olunuz.', //cpg1.4
-		'recovery_title' => 'Bağlantı ayarları: acil tamir', //cpg1.4
-		'recovery_explanation' => 'Buraya Coppirmine bağlantı yöneticisi olarak geldiyseniz, önce yönetici olarak giriş yapmalısınız. Eğer bir oluşan bir hata sonucu giriş yapamıyorsanız, bunu bu sayfadan kapatabilirsiniz. Kullanıcı ismi ve şifreden sonra size ğiriş izni vermez fakat BBS programı bağlantısını açıp kapatmanıza izin veriri.', //cpg1.4
-		'username' => 'Üye adı', //cpg1.4
-		'password' => 'Şifre', //cpg1.4
-		'disable_submit' => 'Gönder', //cpg1.4
-		'recovery_success_title' => 'Giriş başarılı', //cpg1.4
-		'recovery_success_content' => 'BBS bağlantısını kapatıldı. Coppermine şu anda gene standalone olarak çalışıyor.', //cpg1.4
-		'recovery_success_advice_login' => 'BBS bağlantısını kapatıp, açmak veya değiştirmek için yönetici olarak giriş yapınız.', //cpg1.4
-		'goto_login' => 'Giriş sayfasına gidiniz', //cpg1.4
-		'goto_bridgemgr' => 'Bağlantı ayar sayfasına gidiniz', //cpg1.4
-		'recovery_failure_title' => 'Giriş başarısız', //cpg1.4
-		'recovery_failure_content' => 'Giriş için kullandıgınız bilgiler doğru değil. Coppermine standalone proğramının Yönetici adı ve şifresi girilmeli.', //cpg1.4
-		'try_again' => 'tekrar deneyiniz', //cpg1.4
-		'recovery_wait_title' => 'Bekleme süresi bitti', //cpg1.4
-		'recovery_wait_content' => 'Güvenlik nedeni ile bu kadar sıklıkta ğiriş denemesine sistem tarafından izin verilmemekte. Lütfen bir süre sonra tekrar deneyiniz.', //cpg1.4
-		'wait' => 'Bekle', //cpg1.4
-		'create_redir_file' => 'İşaret dosyası oluştur (tavsiye edilir)', //cpg1.4
-		'create_redir_file_explanation' => 'BBS proğramına giriş yapmış kullanıcıları Coppermine yönlendirmek için, BBS proğram klasörünün içine bir yönlendirme dosyası oluşturulması gerekmektedir. Eğer bu seçeneği seçerseniz, bağlantı programı bu dosyayı oluşturmaya çalıcaktır, veya size bu dosyanın kodunu verecektir, o takdirde verilen kodları kopyala yapıştır yöntemi ile dosya oluşturunuz.', //cpg1.4
-		'browse' => 'Gez', //cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File calendar.php //cpg1.4
-// ------------------------------------------------------------------------- //
-
-if (defined('CALENDAR_PHP')) $lang_calendar_php = array(
-  'title' => 'Takvim', //cpg1.4
-  'close' => 'kapat', //cpg1.4
-  'clear_date' => 'tarihi temizle', //cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File catmgr.php
-// ------------------------------------------------------------------------- //
-
-if (defined('CATMGR_PHP')) $lang_catmgr_php = array(
-  'miss_param' => '\'%s\' işlemi için gerekli parametreler eksik !',
-  'unknown_cat' => 'Seçilen kategori veritabanında bulunamadı',
-  'usergal_cat_ro' => 'Kullanıcı galerileri katagorisi silinemez!',
-  'manage_cat' => 'Kategorileri yönet',
-  'confirm_delete' => 'Bu katagoriyi silmek istediğinizden eminmisiniz ?', //js-alert
-  'category' => 'Kategoriler',
-  'operations' => 'İşlemler',
-  'move_into' => 'Taşı',
-  'update_create' => 'Kategori güncelle/ekle',
-  'parent_cat' => 'Ana katogori',
-  'cat_title' => 'Katogori adı',
-  'cat_thumb' => 'Katagori görüntüsü',
-  'cat_desc' => 'Katagori tanımı',
-  'categories_alpha_sort' => 'Katagorileri alfabetik sıraya göre diz', //cpg1.4
-  'save_cfg' => 'Tamam', //cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File admin.php //cpg1.4
-// ------------------------------------------------------------------------- //
-
-if (defined('ADMIN_PHP')) $lang_admin_php = array(
-  'title' => 'Galeri Ayarları', //cpg1.4
-  'manage_exif' => 'Exif ekranını yönet', //cpg1.4
-  'manage_plugins' => 'Pluginsleri yönet', //cpg1.4
-  'manage_keyword' => 'Arama terimlerini yönet', //cpg1.4
-  'restore_cfg' => 'Fabrika ayarlarına Geri DÖN',
-  'save_cfg' => 'Yeni Ayarları kaydet',
-  'notes' => 'Notlar',
-  'info' => 'Bilgi',
-  'upd_success' => 'Coppermine galeri ayarları güncellendi',
-  'restore_success' => 'Coppermine Galeri Ayarları Varsayılana Döndü',
-  'name_a' => 'Ada göre ARTAN',
-  'name_d' => 'Ada göre AZALAN',
-  'title_a' => 'Title artan',
-  'title_d' => 'Title azalan',
-  'date_a' => 'Tarihe göre ARTAN',
-  'date_d' => 'Tarihe göre AZALAN',
-  'pos_a' => 'Artan konum', //cpg1.4
-  'pos_d' => 'Azalan konum', //cpg1.4
-  'th_any' => 'Maksimum Aspect',
-  'th_ht' => 'Yükseklik',
-  'th_wd' => 'Genişlik',
-  'label' => 'Etiket', 
-  'item' => 'item', 
-  'debug_everyone' => 'Herkes', 
-  'debug_admin' => 'Sadece Admin', 
-  'no_logs'=> 'Kapat', //cpg1.4
-  'log_normal'=> 'Normal', //cpg1.4
-  'log_all' => 'Hepsi', //cpg1.4
-  'view_logs' => 'Günlük göster', //cpg1.4
-  'click_expand' => 'Ayarları görmek için konu başlıgı seçiniz', //cpg1.4
-  'expand_all' => 'Hepsini Aç / Kapat', //cpg1.4
-  'notice1' => '(*) Bu ayarlar veritabanındaki dosyalarınızı değiştirmeyecek.', //cpg1.4 - (relocated)
-  'notice2' => '(**) Değerlerde yapacagınız degişiklikler tüm dosyalarınıza yansıyacaktır. Bunun için dosyalarınız veritabanında kayıtlı ise değiştirmemenizi tavsiye ederiz. Değerleri degiştirmek için &quot;<a href="util.php">Admin İşlevleri</a> seçeneğini kullanınız (resim büyüklügü ayarla)&quot;.',  //cpg1.4
-  'notice3' => '(***) Günlük dosyalrı ingilizcedir.', //cpg1.4 - (relocated)
-  'bbs_disabled' => 'BBS köprüsü kullanırken bu bu fonksiyon kapalıdır', //cpg1.4
-  'auto_resize_everyone' => 'herkez', //cpg1.4
-  'auto_resize_user' => 'sadece kullanıcı', //cpg1.4
-  'ascending' => 'artan', //cpg1.4
-  'descending' => 'azalan', //cpg1.4
-);
-
-if (defined('ADMIN_PHP')) $lang_admin_data = array(
-  'Genel ayarlar',
-		array('Galeri adı', 'gallery_name', 0, 'f=index.htm&amp;as=admin_general_name&amp;ae=admin_general_name_end'), //cpg1.4
-		array('Galeri tanımı', 'gallery_description', 0, 'f=index.htm&amp;as=admin_general_description&amp;ae=admin_general_description_end'), //cpg1.4
-		array('Galari yöneticisinin emaili', 'gallery_admin_email', 0, 'f=index.htm&amp;as=admin_general_email&amp;ae=admin_general_email_end'), //cpg1.4
-		array('Coppermi klasörünün URL adresi (\'index.php\' eklemeyin)', 'ecards_more_pic_target', 0, 'f=index.htm&amp;as=admin_general_coppermine-url&amp;ae=admin_general_coppermine-url_end'), //cpg1.4
-		array('Başlangıç sayfasının URL adı (örnek: index.php)', 'home_target', 0, 'f=index.htm&amp;as=admin_general_home-url&amp;ae=admin_general_home-url_end'), //cpg1.4
-		array('Zip dosya indirilmesine izin ver', 'enable_zipdownload', 1, 'f=index.htm&amp;as=admin_general_zip-download&amp;ae=admin_general_zip-download_end'), //cpg1.4
-		array('GMT saatine göre saat durumu (şimdiki tarih ve saat: ' . localised_date(-1, $comment_date_fmt) . ')','time_offset',0, 'f=index.htm&amp;as=admin_general_time-offset&amp;ae=admin_general_time-offset_end&amp;top=1'), //cpg1.4
-		array('Kullanıcı şifrelerini şifreli şekilde sakla (dikkat: geri çeviremezsiniz)','enable_encrypted_passwords',1, 'f=index.htm&amp;as=admin_general_encrypt_password_start&amp;ae=admin_general_encrypt_password_end&amp;top=1'), // cpg 1.4
-		array('Yardım seçenegini göster (İngilizce)','enable_help',9, 'f=index.htm&amp;as=admin_general_help&amp;ae=admin_general_help_end'), //cpg1.4
-		array('Arama terimleri interaktief','clickable_keyword_search',14, 'f=index.htm&amp;as=admin_general_keywords_start&amp;ae=admin_general_keywords_end'), //cpg1.4
-		array('Pluginsleri aç', 'enable_plugins', 12, 'f=index.htm&amp;as=admin_general_enable-plugins&amp;ae=admin_general_enable-plugins_end'),  //cpg1.4
-		array('Bulunamayan (NAT/locale) IP adreslerini banlamaya imkan ver', 'ban_private_ip', 1,  'f=index.htm&amp;as=admin_general_private-ip&amp;ae=admin_general_private-ip_end'), //cpg1.4
-		array('Kullanıcıların kolay batch eklemelerini imkan ver', 'browse_batch_add', 1, 'f=index.htm&amp;as=admin_general_browsable_batch_add&amp;ae=admin_general_browsable_batch_add_end'), //cpg1.4
-
-  'Dil &amp; karakter ayarları',
-		array('Dil', 'lang', 5, 'f=index.htm&amp;as=admin_language_language&amp;ae=admin_language_language_end'), //cpg1.4
-		array('Seçili dil bulunamaz ise otamatik olarak ingilizceye geç?', 'language_fallback', 1, 'f=index.htm&amp;as=admin_language_fallback&amp;ae=admin_language_fallback_end'), //cpg1.4
-		array('Karakter seti', 'charset', 4, 'f=index.htm&amp;as=admin_language_charset&amp;ae=admin_language_charset_end'), //cpg1.4
-		array('Dil seçenek kutusunu ekranda göster', 'language_list', 1, 'f=index.htm&amp;as=admin_language_list&amp;ae=admin_language_list_end'), //cpg1.4
-		array('Dil seçenek bayraklarını ekranda göster', 'language_flags', 8, 'f=index.htm&amp;as=admin_language_flags&amp;ae=admin_language_flags_end&amp;top=1'), //cpg1.4
-		array('&quot;varsayılan&quot; seçenegini dil kutusunda göster', 'language_reset', 1, 'f=index.htm&amp;as=admin_language_reset&amp;ae=admin_language_reset_end&amp;top=1'), //cpg1.4
-		//array('Display previous/next on tabbed pages', 'previous_next_tab', 1), //cpg1.4
-
-  'Görüntü seçenekleri',
-		array('Görünüm', 'theme', 6, 'f=index.htm&amp;as=admin_theme_theme&amp;ae=admin_theme_theme_end'), //cpg1.4
-		array('Görünüm listesini göster', 'theme_list', 1, 'f=index.htm&amp;as=admin_theme_theme_list&amp;ae=admin_theme_theme_list_end'), //cpg1.4
-		array('&quot;varsayılan&quot; seçenegini görünüm listesinde göster', 'theme_reset', 1, 'f=index.htm&amp;as=admin_theme_theme_reset&amp;ae=admin_theme_theme_reset_end'), //cpg1.4
-		array('Yardım göster', 'display_faq', 1, 'f=index.htm&amp;as=admin_theme_faq&amp;ae=admin_theme_faq_end'), //cpg1.4
-		array('Kendi menu ayar başlıgı', 'custom_lnk_name', 0,'f=index.htm&amp;as=admin_theme_custom_lnk_name&amp;ae=admin_theme_custom_lnk_name_end'), //cpg1.4
-		array('Kendi menu URL adresi', 'custom_lnk_url', 0,'f=index.htm&amp;as=admin_language_custom_lnk_url&amp;ae=admin_language_custom_lnk_url_end'), //cpg1.4
-		array('bbcode yardım ekranını göster', 'show_bbcode_help', 1, 'f=index.htm&amp;as=admin_theme_bbcode&amp;ae=admin_theme_bbcode_end&amp;top=1'), //cpg1.4
-		array('XHTML ve CSS uygunluk bilgilerini destekleyen görünümlerde göster','vanity_block',1, 'f=index.htm&amp;as=vanity_block&amp;ae=vanity_block_end'), //cpg1.4
-		array('Header olarak yayınlamak için include dosyasının URL adresi', 'custom_header_path', 0, 'f=index.htm&amp;as=admin_theme_include_path_start&amp;ae=admin_theme_include_path_end'), //cpg1.4
-		array('Header olarak yayınlamak için include dosyasının URL adresi', 'custom_footer_path', 0, 'f=index.htm&amp;as=admin_theme_include_path_start&amp;ae=admin_theme_include_path_end'), //cpg1.4
-
-  'Albüm listesi ayarları',
-		array('Ana tablonun genişligi (pixelin %)', 'main_table_width', 0, 'f=index.htm&amp;as=admin_album_table-width&amp;ae=admin_album_table-width_end'), //cpg1.4
-		array('Seviye ve katogori sayısı', 'subcat_level', 0, 'f=index.htm&amp;as=admin_album_category-levels&amp;ae=admin_album_category-levels_end'), //cpg1.4
-		array('Sayfadaki albüm sayısı', 'albums_per_page', 0, 'f=index.htm&amp;as=admin_album_number&amp;ae=admin_album_number_end'), //cpg1.4
-		array('Albüm listesindeki kolonların sayısı', 'album_list_cols', 0, 'f=index.htm&amp;as=admin_album_columns&amp;ae=admin_album_columns_end'), //cpg1.4
-		array('Ekrandaki küçük resimlerin pixel olarak boyları', 'alb_list_thumb_size', 0, 'f=index.htm&amp;as=admin_album_thumbnail-size&amp;ae=admin_album_thumbnail-size_end'), //cpg1.4
-		array('Ana sayfanın görünüşü', 'main_page_layout', 0, 'f=index.htm&amp;as=admin_album_list_content&amp;ae=admin_album_list_content_end'), //cpg1.4
-		array('Resimleri katogorilerdeki ana seviyeye göre göster','first_level',1, 'f=index.htm&amp;as=admin_album_first-level_thumbs&amp;ae=admin_album_first-level_thumbs_end'), //cpg1.4
-		array('Katogorileri alfabetik sıra ile göster (kişisel sıralama yerine)','categories_alpha_sort',1, 'f=index.htm&amp;as=admin_album_list_alphasort_start&amp;ae=admin_album_list_alphasort_end'), //cpg1.4
-		array('Albümdeki resim sayısını göster','link_pic_count',1, 'f=index.htm&amp;as=admin_album_linked_files_start&amp;ae=admin_album_linked_files_end'), //cpg1.4
-
-  'Önizleme ayarları',
-		array('Önizleme sayfasındaki kolon sayısı', 'thumbcols', 0, 'f=index.htm&amp;as=admin_thumbnail_columns&amp;ae=admin_thumbnail_columns_end'), //cpg1.4
-		array('Önizleme sayfasındaki satır sayısı', 'thumbrows', 0, 'f=index.htm&amp;as=admin_thumbnail_rows&amp;ae=admin_thumbnail_rows_end'), //cpg1.4
-		array('Makimum gösterilecek tab sayısı', 'max_tabs', 10, 'f=index.htm&amp;as=admin_thumbnail_tabs&amp;ae=admin_thumbnail_tabs_end'), //cpg1.4
-		array('Dosya ismini göster (başlık ile birlikte)', 'caption_in_thumbview', 1, 'f=index.htm&amp;as=admin_thumbnail_display_caption&amp;ae=admin_thumbnail_display_caption_end'), //cpg1.4
-		array('Resmin kaç kez bakıldıgını göster', 'views_in_thumbview', 1, 'f=index.htm&amp;as=admin_thumbnail_display_views&amp;ae=admin_thumbnail_display_views_end'), //cpg1.4
-		array('Yapılan yorumların adetini göster', 'display_comment_count', 1, 'f=index.htm&amp;as=admin_thumbnail_display_comments&amp;ae=admin_thumbnail_display_comments_end'), //cpg1.4
-		array('Resmin sahibinin adını göster', 'display_uploader', 1, 'f=index.htm&amp;as=admin_thumbnail_display_uploader&amp;ae=admin_thumbnail_display_uploader_end'), //cpg1.4
-		//array('Display name of admin uploaders below the önizleme', 'display_admin_uploader', 1, 'f=index.htm&amp;as=admin_thumbnail_display_admin_uploader&amp;ae=admin_thumbnail_display_admin_uploader_end'), //cpg1.4
-		array('Dosya ismini göster', 'display_filename', 1, 'f=index.htm&amp;as=admin_thumbnail_display_filename&amp;ae=admin_thumbnail_display_filename_end'), //cpg1.4
-		//array('Albüm tanımlamasını göster', 'alb_desc_thumb', 1, 'f=index.htm&amp;as=admin_thumbnail_display_description&amp;ae=admin_thumbnail_display_description_end'), //cpg1.4
-		array('Varsayılan sıralama', 'default_sort_order', 3, 'f=index.htm&amp;as=admin_thumbnail_default_sortorder&amp;ae=admin_thumbnail_default_sortorder_end'), //cpg1.4
-		array('Resimlerin en beğenilen listesine girebilmesi için gerekli en az oy oranı', 'min_votes_for_rating', 0, 'f=index.htm&amp;as=admin_thumbnail_minimum_votes&amp;ae=admin_thumbnail_minimum_votes_end'), //cpg1.4
-
-  'Resim görüntü ayarları', //cpg1.4
-		array('Resim genişligi (pixel %)', 'picture_table_width', 0, 'f=index.htm&amp;as=admin_image_comment_table-width&amp;ae=admin_image_comment_table-width_end'), //cpg1.4
-		array('Bilgileri geniş olarak standart yayınla', 'display_pic_info', 1, 'f=index.htm&amp;as=admin_image_comment_info_visible&amp;ae=admin_image_comment_info_visible_end'), //cpg1.4
-		array('Resim tanımlarının makimum boyu', 'max_img_desc_length', 0, 'f=index.htm&amp;as=admin_image_comment_descr_length&amp;ae=admin_image_comment_descr_length_end'), //cpg1.4
-		array('Bir kelimedeki makimum boyu', 'max_com_wlength', 0, 'f=index.htm&amp;as=admin_image_comment_chars_per_word&amp;ae=admin_image_comment_chars_per_word_end'), //cpg1.4
-		array('Film şeritini göster', 'display_film_strip', 1, 'f=index.htm&amp;as=admin_image_comment_filmstrip_toggle&amp;ae=admin_image_comment_filmstrip_toggle_end'), //cpg1.4
-		array('Film şeritinin altında dosya ismini göster', 'display_film_strip_filename', 1, 'f=index.htm&amp;as=admin_image_comment_display_film_strip_filename&amp;ae=admin_image_comment_display_film_strip_filename_end'), //cpg1.4
-		array('Film şeritindeki makimum resim sayısı', 'max_film_strip_items', 0, 'f=index.htm&amp;as=admin_image_comment_filmstrip_number&amp;ae=admin_image_comment_filmstrip_number_end'), //cpg1.4
-		array('Dia gösterimlerinde zaman ayarı (1 seniye = 1000 milisaniye)', 'slideshow_interval', 0, 'f=index.htm&amp;as=admin_image_comment_slideshow_interval&amp;ae=admin_image_comment_slideshow_interval_end'), //cpg1.4
-
-  'Yorum ayarları', //cpg1.4
-		array('Uygun olmayan kelimeleri yorumdan çıkart', 'filter_bad_words', 1, 'f=index.htm&amp;as=admin_image_comment_bad_words&amp;ae=admin_image_comment_bad_words_end'), //cpg1.4
-		array('Yorumda smilies kullanılmasına izin ver', 'enable_smilies', 1, 'f=index.htm&amp;as=admin_image_comment_smilies&amp;ae=admin_image_comment_smilies_end'), //cpg1.4
-		array('Aynı kullanıcının birden fazla ard arda yorum yapmasına izin ver (flood protection)', 'disable_comment_flood_protect', 1, 'f=index.htm&amp;as=admin_image_comment_flood&amp;ae=admin_image_comment_flood_end'), //cpg1.4
-		array('Yorumda kullanılabilecek makimum satır sayısı', 'max_com_lines', 0, 'f=index.htm&amp;as=admin_image_comment_lines&amp;ae=admin_image_comment_lines_end'), //cpg1.4
-		array('Yorumun makimum uzunlugu', 'max_com_size', 0, 'f=index.htm&amp;as=admin_image_comment_length&amp;ae=admin_image_comment_length_end'), //cpg1.4
-		array('Yapılan yorumlardan yöneticiyi email ile haberdar et', 'email_comment_notification', 1, 'f=index.htm&amp;as=admin_image_comment_admin_notify&amp;ae=admin_image_comment_admin_notify_end'), //cpg1.4
-		array('Yorumların sıralanması', 'comments_sort_descending', 17, 'f=index.htm&amp;as=admin_comment_sort_start&amp;ae=admin_comment_sort_end'), //cpg1.4
-            array('Üye olmayan kişiler', 'comments_anon_pfx', 0, 'f=index.htm&amp;as=comments_anon_pfx&amp;ae=comments_anon_pfx_end'), //cpg1.4
-
-  'Dosya ve önizleme ayarları',
-		array('JPEG dosyalarının kaliesi', 'jpeg_qual', 0, 'f=index.htm&amp;as=admin_picture_thumbnail_jpeg_quality&amp;ae=admin_picture_thumbnail_jpeg_quality_end'), //cpg1.4
-		array('Önizleme dosyasının makimum boyutu <a href="#notice2" class="clickable_option">**</a>', 'thumb_width', 0, 'f=index.htm&amp;as=admin_picture_thumbnail_max-dimension&amp;ae=admin_picture_thumbnail_max-dimension_end'), //cpg1.4
-		array('Resmin boyutları (genişlik veya yükseklik veya maximum önizleme) <a href="#notice2" class="clickable_option">**</a>', 'thumb_use', 7, 'f=index.htm&amp;as=admin_picture_thumbnail_use-dimension&amp;ae=admin_picture_thumbnail_use-dimension_end'), //cpg1.4
-		array('Orta boyut resimler oluşturulsunmu?','make_intermediate',1, 'f=index.htm&amp;as=admin_picture_thumbnail_intermediate_toggle&amp;ae=admin_picture_thumbnail_intermediate_toggle_end'), //cpg1.4
-		array('Orta boyutlardaki resimlerin genişligi veya boyları <a href="#notice2" class="clickable_option">**</a>', 'picture_width', 0, 'f=index.htm&amp;as=admin_picture_thumbnail_intermediate_dimension&amp;ae=admin_picture_thumbnail_intermediate_dimension_end'), //cpg1.4
-		array('Yüklenen dosyaların makimum boyutları (KB)', 'max_upl_size', 0, 'f=index.htm&amp;as=admin_picture_thumbnail_max_upload_size&amp;ae=admin_picture_thumbnail_max_upload_size_end'), //cpg1.4
-		array('Yüklenen dosyaların makimum genişlikleri veya boyları(pixel)', 'max_upl_width_height', 0, 'f=index.htm&amp;as=admin_picture_thumbnail_max_upload_dimension&amp;ae=admin_picture_thumbnail_max_upload_dimension_end'), //cpg1.4
-		array('Eğer resimler izin verilen boyutlardan daha büyük olursa otamatik uyarla?', 'auto_resize', 16, 'f=index.htm&amp;as=admin_picture_thumbnail_auto-resize&amp;ae=admin_picture_thumbnail_auto-resize_end'), //cpg1.4
-
-  'Dosya ve önizleme ayarları (genişletilmiş)',
-		array('Albümler kişisel olabilir (Dikkat: Bu ayarları \'evet\' den \'hayır\'a çevirmeniz kişisel albümlerin tamamını herkeze açacaktır.)', 'allow_private_albums', 1, 'f=index.htm&amp;as=admin_picture_thumb_advanced_private_toggle&amp;ae=admin_picture_thumb_advanced_private_toggle_end'), //cpg1.4
-		array('Sistemi giriş yapmamış kullanıcıl özel albümlerde sadece bir ikon göster','show_private',1, 'f=index.htm&amp;as=admin_picture_thumb_advanced_private_icon_show&amp;ae=admin_picture_thumb_advanced_private_icon_show_end'), //cpg1.4
-		array('Dosya isminde kullanılmaması gereken karakterler', 'forbiden_fname_char',0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_filename_forbidden_chars&amp;ae=admin_picture_thumb_advanced_filename_forbidden_chars_end'), //cpg1.4
-		//array('Accepted file extensions for uploaded pictures', 'allowed_file_extensions',0, 'f=index.htm&amp;as=&amp;ae=_end'), //cpg1.4
-		array('Yüklenmesine izin verilen resim dosya uzantıları', 'allowed_img_types',0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_pic_extensions&amp;ae=admin_picture_thumb_advanced_pic_extensions_end'), //cpg1.4
-		array('Yüklenmesine izin verilen film dosya uzantıları', 'allowed_mov_types',0, 'f=index.htm&amp;as=admin_thumbs_advanced_movie&amp;ae=admin_thumbs_advanced_movie_end'), //cpg1.4
-		array('Film gösteriminde otamatik çalıştırılsın', 'media_autostart',1, 'f=index.htm&amp;as=admin_movie_autoplay&amp;ae=admin_movie_autoplay_end'), //cpg1.4
-		array('Yüklenmesine izin verilen ses dosyaları', 'allowed_snd_types',0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_audio_extensions&amp;ae=admin_picture_thumb_advanced_audio_extensions_end'), //cpg1.4
-		array('Yüklenmesine izin verilen dosya uzantıları', 'allowed_doc_types',0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_doc_extensions&amp;ae=admin_picture_thumb_advanced_doc_extensions_end'), //cpg1.4
-		array('Resimleri değiştirme şekli','thumb_method',2, 'f=index.htm&amp;as=admin_picture_thumb_advanced_resize_method&amp;ae=admin_picture_thumb_advanced_resize_method_end'), //cpg1.4
-		array('ImageMagick adresi (mesala /usr/bin/X11/)', 'impath', 0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_im_path&amp;ae=admin_picture_thumb_advanced_im_path_end'), //cpg1.4
-		//array('Allowed image types (only valid for ImageMagick)', 'allowed_img_types',0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_allowed_imagetypes&amp;ae=admin_picture_thumb_advanced_allowed_imagetypes_end'), //cpg1.4
-		array('ImageMagick için satır komut ayarları', 'im_options', 0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_im_commandline&amp;ae=admin_picture_thumb_advanced_im_commandline_end'), //cpg1.4
-		array('JPEG dosyalarındaki EXIF kayıtlarını oku', 'read_exif_data', 13, 'f=index.htm&amp;as=admin_picture_thumb_advanced_exif&amp;ae=admin_picture_thumb_advanced_exif_end'), //cpg1.4
-		array('JPEG dosyalarındaki IPTC kayıtlarını oku', 'read_iptc_data', 1, 'f=index.htm&amp;as=admin_picture_thumb_advanced_iptc&amp;ae=admin_picture_thumb_advanced_iptc_end'), //cpg1.4
-		array('Albüm klasörü <a href="#notice1" class="clickable_option">*</a>', 'fullpath', 0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_albums_dir&amp;ae=admin_picture_thumb_advanced_albums_dir_end'), //cpg1.4
-		array('Kullanıcı dosyaları klasörü <a href="#notice1" class="clickable_option">*</a>', 'userpics', 0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_userpics_dir&amp;ae=admin_picture_thumb_advanced_userpics_dir_end'), //cpg1.4
-		array('Sistem tarafından oluşturulan orta büyüklükteki resimlerin başlangıç adı <a href="#notice1" class="clickable_option">*</a>', 'normal_pfx', 0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_intermediate_prefix&amp;ae=admin_picture_thumb_advanced_intermediate_prefix_end'), //cpg1.4
-		array('Sistem tarafından oluşturulan küçük önizleme resimlerinin başlangıç adı  <a href="#notice1" class="clickable_option">*</a>', 'thumb_pfx', 0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_thumbs_prefix&amp;ae=admin_picture_thumb_advanced_thumbs_prefix_end'), //cpg1.4
-		array('Varsayılan klasör izinleri', 'default_dir_mode', 0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_chmod_folder&amp;ae=admin_picture_thumb_advanced_chmod_folder_end'), //cpg1.4
-		array('Varsaıylan dosya izinleri', 'default_file_mode', 0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_chmod_files&amp;ae=admin_picture_thumb_advanced_chmod_files_end'), //cpg1.4
-
-  'Kulannıcı ayarları',
-		array('Yeni kullanıcıların üye olmasına izin ver', 'allow_user_registration', 1, 'f=index.htm&amp;as=admin_allow_registration&amp;ae=admin_allow_registration_end'), //cpg1.4
-		array('Misafir kullanıcılara izin ver (Misafir)', 'allow_unlogged_access', 1, 'f=index.htm&amp;as=admin_allow_unlogged_access&amp;ae=admin_allow_unlogged_access_end'), //cpg1.4
-		array('Üyeliklerin aktifleşmesi için yeni üyelerden email doğrulamasını gerekli', 'reg_requires_valid_email', 1, 'f=index.htm&amp;as=admin_registration_verify&amp;ae=admin_registration_verify_end'), //cpg1.4
-		array('Yeni üye kayıtlarını yöneticiye bildir', 'reg_notify_admin_email', 1, 'f=index.htm&amp;as=admin_registration_notify&amp;ae=admin_registration_notify_end'), //cpg1.4
-		array('Üyeliklerin aktifleşmesi için yönetici yeni üyelikleri onaylaması gerekir', 'admin_activation', 1, 'f=index.htm&amp;as=admin_activation&amp;ae=admin_activation_end'),  //cpg1.4
-		array('Bir üyenin aynı email adresini birden fazla kullanmasına izin ver', 'allow_duplicate_emails_addr', 1, 'f=index.htm&amp;as=admin_allow_duplicate_emails_addr&amp;ae=admin_allow_duplicate_emails_addr_end'), //cpg1.4
-		array('Yüklenmiş yayınlanma izni bekleyen dosyalardan yöneticiyi haberdar et.', 'upl_notify_admin_email', 1, 'f=index.htm&amp;as=admin_approval_notify&amp;ae=admin_approval_notify_end'), //cpg1.4
-		array('Üyelerin üye listesini görmelerine izin ver', 'allow_memberlist', 1, 'f=index.htm&amp;as=admin_user_memberlist&amp;ae=admin_user_memberlist_end'), //cpg1.4
-		array('Giriş yamış üyelerin üye listesini görmesine izin ver', 'allow_email_change', 1, 'f=index.htm&amp;as=admin_user_allow_email_change&amp;ae=admin_user_allow_email_change_end'), //cpg1.4
-		array('Üyelerin yayınladıkları kişisel resimleri yönetmesine izin ver', 'users_can_edit_pics', 1, 'f=index.htm&amp;as=admin_user_editpics_public_start&amp;ae=admin_user_editpics_public_end'), //cpg1.4
-		array('Bir kişinin yapabilecegi makimum giriş deneme sayısı. (Geçici olarak banlar. Hacklere karşı güvenlik,) ', 'login_threshold', 0, 'f=index.htm&amp;as=admin_user_login_start&amp;ae=admin_user_login_end'), //cpg1.4
-		array('Giriş sırasında banlanmış kullanıcıların banlanma süresi (dakika)', 'login_expiry', 0, 'f=index.htm&amp;as=admin_user_login_start&amp;ae=admin_user_login_end'), //cpg1.4
-		array('Yöneticiye şikayette bulunulmasına izin ver', 'report_post', 1, 'f=index.htm&amp;as=admin_user_enable_report&amp;ae=admin_user_enable_report_end'),  //cpg1.4
-
-// custom profile fields,  //cpg1.4
-  'Üye profilinde kullanabileceginiz ek bilgiler (kullanmıyorsanız boş bırakın). (Uzun yazılar için 6. yı kullanın)', //cpg1.4
-		array('Profil 1 adı', 'user_profile1_name', 0, 'f=index.htm&amp;as=admin_custom&amp;ae=admin_custom_end'), //cpg1.4
-		array('Profil 2 adı', 'user_profile2_name', 0), //cpg1.4
-		array('Profil 3 adı', 'user_profile3_name', 0), //cpg1.4
-		array('Profil 4 adı', 'user_profile4_name', 0), //cpg1.4
-		array('Profil 5 adı', 'user_profile5_name', 0), //cpg1.4
-		array('Profil 6 adı', 'user_profile6_name', 0), //cpg1.4
-
-  'Resimlerde kullanbileceginiz ek bilgiler (kullanmıyorsanız boş bırakın)',
-		array('Satır 1 adı', 'user_field1_name', 0, 'f=index.htm&amp;as=admin_custom_image&amp;ae=admin_custom_image_end'), //cpg1.4
-		array('Satır 2 adı', 'user_field2_name', 0), 
-		array('Satır 3 adı', 'user_field3_name', 0), 
-		array('Satır 4 adı', 'user_field4_name', 0), 
-
-  'Kurabiye ayarları',
-		array('Kurabiye adı', 'cookie_name', 0, 'f=index.htm&amp;as=admin_cookie_name&amp;ae=admin_cookie_name_end'), //cpg1.4
-		array('Kurabiye adresi', 'cookie_path', 0, 'f=index.htm&amp;as=admin_cookie_path&amp;ae=admin_cookie_path_end'), //cpg1.4
-
-  'Email ayarları  (normalde hiç bir şey değiştirmeyin buradan; bilmediginiz kutuları boş bırakın)', //cpg1.4
-		array('SMTP Host (Sendmail olanagından yararlanmak için boş bırakın)', 'smtp_host', 0, 'f=index.htm&amp;as=admin_email&amp;ae=admin_email_end'), //cpg1.4
-		array('SMTP kullanıcı adı', 'smtp_username', 0), //cpg1.4
-		array('SMTP şifresi', 'smtp_password', 0), //cpg1.4
-
-  'Girişler ve statistikler', //cpg1.4
-		array('Giriş modu <a href="#notice3" class="clickable_option">***</a>', 'log_mode', 11, 'f=index.htm&amp;as=admin_logging_log_mode&amp;ae=admin_logging_log_mode_end'), //cpg1.4
-		array('E-kart günlügü', 'log_ecards', 1, 'f=index.htm&amp;as=admin_general_log_ecards&amp;ae=admin_general_log_ecards_end'), //cpg1.4
-		array('Geniş oy istatistikklerini tut','vote_details',1, 'f=index.htm&amp;as=admin_logging_votedetails&amp;ae=admin_logging_votedetails_end'), //cpg1.4
-		array('Geniş izlenme istatistiklerini tut','hit_details',1, 'f=index.htm&amp;as=admin_logging_hitdetails&amp;ae=admin_logging_hitdetails_end'), //cpg1.4
-
-  'Onarma ayarları', //cpg1.4
-		array('Hata ayıklama modunu aç', 'debug_mode', 9, 'f=index.htm&amp;as=debug_mode&amp;ae=debug_mode_end'), //cpg1.4
-		array('Hata ayıklama modunda mesajları göster', 'debug_notice', 1, 'f=index.htm&amp;as=admin_misc_debug_notices&amp;ae=admin_misc_debug_notices_end'), //cpg1.4
-		array('Galeri yayın dışı', 'offline', 1, 'f=index.htm&amp;as=admin_general_offline&amp;ae=admin_general_offline_end'), //cpg1.4
-);
-
-
-// ------------------------------------------------------------------------- //
-// File db_ecard.php
-// ------------------------------------------------------------------------- //
-
-if (defined('DB_ECARD_PHP')) $lang_db_ecard_php = array(
- 'title' => 'Ekart yollama', 
-  'ecard_sender' => 'Gönderen', 
-  'ecard_recipient' => 'Alan', 
-  'ecard_date' => 'Tarih', 
-  'ecard_display' => 'Ekart gösterimi', 
-  'ecard_name' => 'Ad', 
-  'ecard_email' => 'Email', 
-  'ecard_ip' => 'IP #', 
-  'ecard_ascending' => 'artan', 
-  'ecard_descending' => 'azalan', 
-  'ecard_sorted' => 'Sıralandı', 
-  'ecard_by_date' => 'tarihe göre', 
-  'ecard_by_sender_name' => 'Gönderen adı', 
-  'ecard_by_sender_email' => 'Gönderen email', 
-  'ecard_by_sender_ip' => 'Gönderen IP adresi', 
-  'ecard_by_recipient_name' => 'Alanın ismi', 
-  'ecard_by_recipient_email' => 'Alanın email', 
-  'ecard_number' => 'gösterim kayıtı %s to %s of %s', 
-  'ecard_goto_page' => 'sayfaya git', 
-  'ecard_records_per_page' => 'Sayfa başındaki kayıtlar', 
-  'check_all' => 'Tümünü kontrol et', 
-  'uncheck_all' => 'Hiçbirini kontrol etme', 
-  'ecards_delete_selected' => 'Seçilen ekartları sil', 
-  'ecards_delete_confirm' => 'Silmek istediğinizden emin misiniz?Kontrol kutusunu işaretleyin!', 
-  'ecards_delete_sure' => 'Eminim', 
-);
-
-
-// ------------------------------------------------------------------------- //
-// File db_input.php
-// ------------------------------------------------------------------------- //
-
-if (defined('DB_INPUT_PHP')) $lang_db_input_php = array(
-  'empty_name_or_com' => ' Adınızı ve bir yorum yazmalısınız',
-  'com_added' => 'Yorumunuz eklendi',
-  'alb_need_title' => 'Albüm için bir başlık seçmelisiniz !',
-  'no_udp_needed' => 'Güncellemeye gerek yok.',
-  'alb_updated' => 'Albüm güncelleşti',
-  'unknown_album' => 'Seçilen albüm bulunamadı yada bu albüme yükleme izniniz yok',
-  'no_pic_uploaded' => 'Resim Yüklenmedi !<br /><br />Eğer gerçekten yüklemek için resim seçtiyseniz, sunucunun izin veridiği resim yüklemelerini kontrol edin...', 
-  'err_mkdir' => 'Yaratma klasörü başarısız %s !',
-  'dest_dir_ro' => 'Gönderilen adres %s script tarafından yazılamaz !',
-  'err_move' => '%s ya %s geçmek imkansız!',
-  'err_fsize_too_large' => 'Yüklediğiniz resim çok büyük(izin verilen maksimum büyklük %s x %s) !', 
-  'err_imgsize_too_large' => 'Yüklediğiniz resim boyuttu çok geniş (izin verilen maksimum genişlik %s KB) !',
-  'err_invalid_img' => 'Yüklediğiniz resim geçerli değil !',
-  'allowed_img_types' => 'sadece %s imajları yükleyebilirsiniz.',
-  'err_insert_pic' => ' \'%s\' resim albüme yerleşmedi ', 
-  'upload_success' => 'Resminiz başarı ile yüklendi.<br /><br />Admin onayından sonra resminiz eklenecektir.', 
-  'notify_admin_email_subject' => '%s - Yükleme bildirisi', 
-  'notify_admin_email_body' => ' %s tarafından onayınızı bekleyen resim eklendi. %s bak', 
-  'info' => 'Bilgi',
-  'com_added' => 'Yorum eklendi',
-  'alb_updated' => 'Album updated',
-  'err_comment_empty' => 'Yorumunuz boş !',
-  'err_invalid_fext' => 'Sadece izin verilen resimler büyütülebilir : <br /><br />%s.',
-  'no_flood' => 'Üzgümün ama bu dosya için son yorumun yazarı sizsiniz<br /><br /> Eğer istiyorsanız yorumunuzu düzeltin', 
-  'redirect_msg' => 'Adresiniz değiştiriliyor.<br /><br /><br />Click \'DEVAM\' eğer sayfa otomatik olarak yenilenmezse',
-  'upl_success' => 'Resminiz başarılyla eklendi', 
-  'email_comment_subject' => 'Yorum İbrahim ALTINOK Galeri de yolandı', 
-  'email_comment_body' => 'Birisi galerinize bir yorum yolladı. Buradan bakın',
-  'album_not_selected' => 'Album seçili degil', //cpg1.4
-  'com_author_error' => 'Bu kullanıcı ismi bir başka üye tarafından kullanılmakta. Ltf bir başka kullanıcı ismi seçiniz', //cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File delete.php
-// ------------------------------------------------------------------------- //
-
-if (defined('DELETE_PHP')) $lang_delete_php = array(
-  'caption' => 'Başlık',
-  'fs_pic' => 'Tam boy görüntü',
-  'del_success' => 'Başarıyla silindi',
-  'ns_pic' => 'Normal boy görüntü',
-  'err_del' => 'silinemedi',
-  'thumb_pic' => 'küçük resim',
-  'comment' => 'yorum',
-  'im_in_alb' => 'albümde görüntü',
-  'alb_del_success' => '\'%s\' albüm silindi',
-  'alb_mgr' => 'Albüm Yöneticisi',
-  'err_invalid_data' => '\'%s\' da Veri almada hata',
-  'create_alb' => 'Albüm oluşturma\'%s\'',
-  'update_alb' => 'Albüm güncelleme\'%s\' başlıkla \'%s\' ve index \'%s\'',
-  'del_pic' => 'Resmi sil', 
-  'del_alb' => 'Albümü sil',
-  'del_user' => 'Kullanıcıyı sil',
-  'err_unknown_user' => 'Seçilen kullanıcı bulunamadı !',
-  'err_empty_groups' => 'Herhangi bir grup taplosu oluşturulmadı!', //cpg1.4
-  'comment_deleted' => 'Yorum başarıyla silindi',  'npic' => 'Picture', //cpg1.4
-  'pic_mgr' => 'Resim yönetimi', //cpg1.4
-  'update_pic' => 'Yüklenen resim: \'%s\' dosya adı: \'%s\' ve index \'%s\'', //cpg1.4
-  'username' => 'Üye adı', //cpg1.4
-  'anonymized_comments' => '%s yorum(lar) anonimleştirildi', //cpg1.4
-  'anonymized_uploads' => '%s herkeze açık dosyalar anonimleştirildi', //cpg1.4
-  'deleted_comments' => '%s yorum(lar)silindi', //cpg1.4
-  'deleted_uploads' => '%s yükleme(ler) silindi', //cpg1.4
-  'user_deleted' => '%s kullanıcı(lar) silindi', //cpg1.4
-  'activate_user' => 'Kullanıcı aktifleştir', //cpg1.4
-  'user_already_active' => 'Kullanıcı daha önce aktifleştirildi', //cpg1.4
-  'activated' => 'Aktifleştirildi', //cpg1.4
-  'deactivate_user' => 'Kullanıcı passifleştir', //cpg1.4
-  'user_already_inactive' => 'Kullanıcı daha önçe passifleştirildi', //cpg1.4
-  'deactivated' => 'Passifleştirildi', //cpg1.4
-  'reset_password' => 'Şifreyi sıfırla', //cpg1.4
-  'password_reset' => 'Şifreyi %s olarak degiştir', //cpg1.4
-  'change_group' => 'İlk gurubu degiştir', //cpg1.4
-  'change_group_to_group' => 'Changing from %s to %s', //cpg1.4
-  'add_group' => 'İkinçi bir gurup ekle', //cpg1.4
-  'add_group_to_group' => ' %s yi %s gurubuna ekle. Bu kullanıcı artık ilk olarak %s gurubunun ve ikinçi olarak %s grubunun üyesi.', //cpg1.4
-  'status' => 'Durum', //cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File displayecard.php
-// ------------------------------------------------------------------------- //
-
-if (defined('DISPLAYECARD_PHP')) {
-
-$lang_displayecard_php = array(
-  'invalid_data' => 'Hata oluştu! Bu ekart sizin email programınız için uygun olmıyabilir. Verilen http linkin dogru olarak yazıldıgını kontrol ediniz.', //cpg1.4
-);
-}
-
-// ------------------------------------------------------------------------- //
-// File displayimage.php
-// ------------------------------------------------------------------------- //
-
-if (defined('DISPLAYIMAGE_PHP')){
-
-$lang_display_image_php = array(
-  'confirm_del' => 'Bu resmi SİLMEK istediğinizden emin misiniz ? \\nYorum silinmiş olmalı.', //js-alert 
-  'del_pic' => 'BU RESMİ SİL', 
-  'size' => '%s x %s pixels',
-  'views' => '%s kez',
-  'slideshow' => 'Ardarda gösterim',
-  'stop_slideshow' => 'Gösterimi durdur',
-  'view_fs' => 'Tam boy görünüm için tıklayın',
-  'edit_pic' => 'Açıklamayı düzenle', 
-  'crop_pic' => 'Kes ve yer değiştir', 
-  'set_player' => 'Göstericiyi degiştir',
-);
-
-$lang_picinfo = array(
-  'title' =>'Resim bilgisi', 
-  'Filename' => 'Resim Adı',
-  'Album name' => 'Albüm Adı',
-  'Rating' => 'Oylar (%s oy)',
-  'Keywords' => 'Anahtarsözcük',
-  'File Size' => 'Resim boyutu',
-  'Date Added' => 'Yüklenme tarihi', //cpg1.4
-  'Dimensions' => 'Boyutlar',
-  'Displayed' => 'Gösterilme',
-  'URL' => 'URL', //cpg1.4
-  'Make' => 'Oluşturan', //cpg1.4
-  'Model' => 'Model', //cpg1.4
-  'DateTime' => 'Tarih / Zaman', //cpg1.4
-  'DateTimeOriginal' => 'Orjinal tarih', //cpg1.4
-  'ISOSpeedRatings'=>'ISO', //cpg1.4
-  'MaxApertureValue' => 'Max Aperture', //cpg1.4
-  'FocalLength' => 'Focal length', //cpg1.4
-  'Comment' => 'Yorum',
-  'addFav'=>'Favorilere ekle', 
-  'addFavPhrase'=>'Favoriler', 
-  'remFav'=>'Favorilerden ayrıl', 
-  'iptcTitle'=>'IPTC başlık', 
-  'iptcCopyright'=>'IPTC kopyalama', 
-  'iptcKeywords'=>'IPTC anahtarsözcük', 
-  'iptcCategory'=>'IPTC kategori', 
-  'iptcSubCategories'=>'IPTC alt kategoriler', 
-  'ColorSpace' => 'Renk', //cpg1.4
-  'ExposureProgram' => 'Kamera programı', //cpg1.4
-  'Flash' => 'Flaş', //cpg1.4
-  'MeteringMode' => 'Metering modu', //cpg1.4
-  'ExposureTime' => 'Exposure zamanı', //cpg1.4
-  'ExposureBiasValue' => 'Exposure Bias', //cpg1.4
-  'ImageDescription' => ' Image Description', //cpg1.4
-  'Orientation' => 'Orientation', //cpg1.4
-  'xResolution' => 'X Resolution', //cpg1.4
-  'yResolution' => 'Y Resolution', //cpg1.4
-  'ResolutionUnit' => 'Resolution Unit', //cpg1.4
-  'Software' => 'Program', //cpg1.4
-  'YCbCrPositioning' => 'YCbCrPositioning', //cpg1.4
-  'ExifOffset' => 'Exif Offset', //cpg1.4
-  'IFD1Offset' => 'IFD1 Offset', //cpg1.4
-  'FNumber' => 'FNumber', //cpg1.4
-  'ExifVersion' => 'Exif Version', //cpg1.4
-  'DateTimeOriginal' => 'DateTime Original', //cpg1.4
-  'DateTimedigitized' => 'DateTime digitized', //cpg1.4
-  'ComponentsConfiguration' => 'Components Configuration', //cpg1.4
-  'CompressedBitsPerPixel' => 'Compressed Bits Per Pixel', //cpg1.4
-  'LightSource' => 'Light Source', //cpg1.4
-  'ISOSetting' => 'ISO Setting', //cpg1.4
-  'ColorMode' => 'Color Mode', //cpg1.4
-  'Quality' => 'Quality', //cpg1.4
-  'ImageSharpening' => 'Image Sharpening', //cpg1.4
-  'FocusMode' => 'Focus Mode', //cpg1.4
-  'FlashSetting' => 'Flash Setting', //cpg1.4
-  'ISOSelection' => 'ISO Selection', //cpg1.4
-  'ImageAdjustment' => 'Image Adjustment', //cpg1.4
-  'Adapter' => 'Adapter', //cpg1.4
-  'ManualFocusDistance' => 'Manual Focus Distance', //cpg1.4
-  'DigitalZoom' => 'Digital Zoom', //cpg1.4
-  'AFFocusPosition' => 'AF Focus Position', //cpg1.4
-  'Saturation' => 'Saturation', //cpg1.4
-  'NoiseReduction' => 'Noise Reduction', //cpg1.4
-  'FlashPixVersion' => 'Flash Pix Version', //cpg1.4
-  'ExifImageWidth' => 'Exif Image Width', //cpg1.4
-  'ExifImageHeight' => 'Exif Image Height', //cpg1.4
-  'ExifInteroperabilityOffset' => 'Exif Interoperability Offset', //cpg1.4
-  'FileSource' => 'File Source', //cpg1.4
-  'SceneType' => 'Scene Type', //cpg1.4
-  'CustomerRender' => 'Customer Render', //cpg1.4
-  'ExposureMode' => 'Exposure Mode', //cpg1.4
-  'WhiteBalance' => 'White Balance', //cpg1.4
-  'DigitalZoomRatio' => 'Digital Zoom Ratio', //cpg1.4
-  'SceneCaptureMode' => 'Scene Capture Mode', //cpg1.4
-  'GainControl' => 'Gain Control', //cpg1.4
-  'Contrast' => 'Contrast', //cpg1.4
-  'Saturation' => 'Saturation', //cpg1.4
-  'Sharpness' => 'Sharpness', //cpg1.4
-  'ManageExifDisplay' => 'Manage Exif Display', //cpg1.4
-  'submit' => 'Gönder', //cpg1.4
-  'success' => 'Bilgiler kaydedildi.', //cpg1.4
-  'details' => 'Ayrıntılar', //cpg1.4
-);
-
-$lang_display_comments = array(
-  'OK' => 'TAMAM',
-  'edit_title' => 'Bu yorumu düzenle',
-  'confirm_delete' => 'Bu yorumu silmek istediğinizden emin misiniz?', //js-alert
-  'add_your_comment' => 'Yorumunuzu ekleyin',
-  'name'=>'İsim',
-  'comment'=>'Yorum',
-  'your_name' => 'Adınız',
-  'report_comment_title' => 'Admine bu yorumu bildirin', //cpg1.4
-);
-
-$lang_fullsize_popup = array(
-  'click_to_close' => 'Bu pencereyi kapatmak için götüntüye tıklayın',);
-
-}
-
-// ------------------------------------------------------------------------- //
-// File ecard.php
-// ------------------------------------------------------------------------- //
-
-if (defined('ECARDS_PHP') || defined('DISPLAYECARD_PHP')) $lang_ecard_php =array(
-  'title' => 'Ekart gönder',
-  'invalid_email' => '<b>Uyarı</b> : geçersiz email adres !',
-  'ecard_title' => ' %s den sizin için bir ekart ',
-  'error_not_image' => 'Sadece görüntüler ekart olarak gönderilebilir', 
-  'view_ecard' => 'Eğer ekart tam olarak görünmezse bu linki yıklayınız',
-  'view_ecard_plaintext' => 'Kartı görmek için verilen adresi kopyala yapıştır yöntemi ile web programınıza yazınız ve bakınız.:', //cpg1.4
-  'view_more_pics' => 'Daha fazla resim resim için bu linki tıklayınız !',
-  'send_success' => 'Ekartınız yolandı',
-  'send_failed' => 'Üzgünüm ama sunucu ekartınızı yollayamadı...',
-  'from' => 'Kimden',
-  'your_name' => 'Adınız',
-  'your_email' => 'Email adresiniz',
-  'to' => 'Kime',
-  'rcpt_name' => 'Alanın Adı',
-  'rcpt_email' => 'Alanın email adresi',
-  'greetings' => 'Başlık',
-  'message' => 'Mesajınız',
-  'ecards_footer' => 'Sent by %s from IP %s at %s (Gallery time)', //cpg1.4
-  'preview' => 'Önizle', //cpg1.4
-  'preview_button' => 'Önizle', //cpg1.4
-  'submit_button' => 'E kart gönder', //cpg1.4
-  'preview_view_ecard' => 'Bu gönderilen bir ekartın alternatif linki olabilir. Ön izlemede çalışmayabilir.', //cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File report_file.php //cpg1.4
-// ------------------------------------------------------------------------- //
-
-if (defined('REPORT_FILE_PHP') || defined('DISPLAYREPORT_PHP')) $lang_report_php =array(
-  'title' => 'Admine bildir', //cpg1.4
-  'invalid_email' => '<b>Uyarı</b> : yanlış email adresi !', //cpg1.4
-  'report_subject' => 'Bildiri yapılan yer: %s galeri: %s', //cpg1.4
-  'view_report' => 'Alternatif link adresi Eğer bildiri dogru çalışmazsa', //cpg1.4
-  'view_report_plaintext' => 'Bildiriyi görmek için browser daki url adresini kopyala yapıştır yöntemini kullanının:', //cpg1.4
-  'view_more_pics' => 'Galeri', //cpg1.4
-  'send_success' => 'Bildiriniz gönderildi', //cpg1.4
-  'send_failed' => 'Özür dilerim. Sunucu sizin bildirinizi gönderemedi...', //cpg1.4
-  'from' => 'Gönderen', //cpg1.4
-  'your_name' => 'Adınız', //cpg1.4
-  'your_email' => 'Email adresiniz', //cpg1.4
-  'to' => 'Alanın', //cpg1.4
-  'administrator' => 'Admin / Mod', //cpg1.4
-  'subject' => 'Konu', //cpg1.4
-  'comment_field_name' => 'Yorum yapan "%s" isimli kullanıcının yorumu ', //cpg1.4
-  'reason' => 'Sebeb', //cpg1.4
-  'message' => 'Mesaj', //cpg1.4
-  'report_footer' => 'Gönderen %s, İP adresi %s saat %s (Galeri zamanı)', //cpg1.4
-  'obscene' => 'müstehcen', //cpg1.4
-  'offensive' => 'saldırgan', //cpg1.4
-  'misplaced' => 'konu dışı / gereksiz', //cpg1.4
-  'missing' => 'olmayan', //cpg1.4
-  'issue' => 'hata / görünmüyor', //cpg1.4
-  'other' => 'degişik', //cpg1.4
-  'refers_to' => 'Konuyla ilgili dosya', //cpg1.4
-  'reasons_list_heading' => 'şikayetin sebebi:', //cpg1.4
-  'no_reason_given' => 'sebeb bildirilmeden', //cpg1.4
-  'go_comment' => 'Yoruma git', //cpg1.4
-  'view_comment' => 'Tüm şikayeti yorum ile birlikte göster', //cpg1.4
-  'type_file' => 'dosya', //cpg1.4
-  'type_comment' => 'yorum', //cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File editpics.php
-// ------------------------------------------------------------------------- //
-
-if (defined('EDITPICS_PHP')) $lang_editpics_php = array(
-  'pic_info' => 'Resim bilgisi', 
-  'album' => 'Albüm',
-  'title' => 'Başlık',
-  'filename' => 'Dosya ismi', //cpg1.4
-  'desc' => 'Açıklama',
-  'keywords' => 'anahtarsözcük',
-  'new_keyword' => 'Yeni anahtarsözcük', //cpg1.4
-  'new_keywords' => 'Yeni anahtarsözcük bulunamadı', //cpg1.4
-  'existing_keyword' => 'Varolan anaktarsözcük', //cpg1.4
-  'pic_info_str' => '%s &kez; %s - %s KB - %s görüntülenmiş - %s oylanmış',
-  'approve' => 'Resmi onayla', 
-  'postpone_app' => 'Onayı ertele',
-  'del_pic' => 'Resmi sil', 
-  'del_all' => 'Tüm dosyaları sil', //cpg1.4
-  'read_exif' => 'EXIF bilgisini tekrar okuyunuz', 
-  'reset_view_count' => 'Görüntü sayacını yenile',
-  'reset_all_view_count' => 'Gürüntü sayacını sıfırla', //cpg1.4
-  'reset_votes' => 'Oyları yenile',
-  'reset_all_votes' => 'Oyları sıfırla', //cpg1.4
-  'del_comm' => 'Yorumları sil',
-  'del_all_comm' => 'Yorumları sil', //cpg1.4
-  'upl_approval' => 'Onay gönder',
-  'edit_pics' => 'Resimleri Düzenle', 
-  'see_next' => 'Diğer resimlere bak', 
-  'see_prev' => 'Gerideki resimlere bak', 
-  'n_pic' => '%s resimler', 
-  'n_of_pic_to_disp' => 'Gösterim için resimlerin numaraları', 
-  'apply' => 'Değişiklikleri kaydet', 
-  'crop_title' => 'Coppermine resim editoru', 
-  'preview' => 'Özel gösterim', 
-  'save' => 'Resimleri kaydet', 
-  'save_thumb' =>'Küçük resim olarak kaydet',   'gallery_icon' => 'Galareimin ikonu yap', //cpg1.4
-  'sel_on_img' =>'Seçilen alan resimin üzerinde olmalı!', //js-alert
-  'album_properties' =>'Albüm ayarları', //cpg1.4
-  'parent_category' =>'Ana katogori', //cpg1.4
-  'thumbnail_view' =>'Önizleme', //cpg1.4
-  'select_unselect' =>'Hepsini işaretleri/işaretleri kaldır', //cpg1.4
-  'file_exists' => "'%s' zaten mevcut.", //cpg1.4
-  'rename_failed' => "'%s' ismini '%s' olarak değiştirme isteginiz başarısız oldu.", //cpg1.4
-  'src_file_missing' => "Source dosyası '%s' bulunamıyor.", // cpg 1.4
-  'mime_conv' => "'%s' dan '%s' çevirme işlemi başarısız oldu.",//cpg1.4
-  'forb_ext' => 'Yasak olan uzantı.',//cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File faq.php
-// ------------------------------------------------------------------------- //
-
-if (defined('FAQ_PHP')) $lang_faq_php = array(
-  'faq' => 'Frequently Asked Questions',
-  'toc' => 'Table of contents',
-  'question' => 'Question: ',
-  'answer' => 'Answer: ',
-);
-
-if (defined('FAQ_PHP')) $lang_faq_data = array(
-  'General FAQ',
-		'Sıkça sorulan sorular - genel',
-		array('Niçin kayıt olmak zorundayım?', 'Üyelik zorunlulugu site yönetimi tarafında zorunlu koşulabilir. Üyelik kullanıcılara daha çok imkanlar sunar. Sunulan imkanlar mesala: dosya yükleme, favorit listesi tutma, resimleri oylama ve yorum yapma ve buna benzer ayrıcalıklar tanır.', 'allow_user_registration', '0'),
-		array('Nasıl kayıt olabilirim?', 'Bunun için &quot;Registreer&quot; git ve gereken bilgileri gir (isterseniz opsiyonel bölümleride doldurabilirsiniz).<br/>Site yönetiminin ayarlarına bağlı olarak, kayıt bilgilerini gönderdikten sonra size kayıt anında verdiginiz email adresine bir elektronik posta gelir. Burada üyeliginizin aktifleştirilmesi için neler yapmanı gerektigi yazılıdır. Giriş yapabilmeniz için önce üyeliginiz aktifleşmiş olamalıdır.', 'allow_user_registration', '1'),
-		array('Nasıl giriş yapılır?', '&quot;Login&quot; git, kullanıcı ismini ve şifreni gir ve &quot;Onthoud mij&quot; seçki bir sonraki ziyaretinizde otamatik giriş yapabilesiniz.<br/><b>Önemli: Sisteminiz kurabiye dosyalarına açık olmalı ve sitenin kurabiye &quot;Onthoud mij&quot; kullanabilmek için silinmemeli.</b>', 'Çevrimdışı', 0),
-  array('Why can I not login?', 'Did you register and click the link that was sent to you via email?. The link will activate your account. For other login problems contact the site administrator.', 'offline', 0),
-  array('What if I forgot my password?', 'If this site has a &quot;Forgot password&quot; link then use it. Other than that contact the site administrator for a new password.', 'offline', 0),
-  //array('What if I changed my email address?', 'Just simply login and change your email address through &quot;Profile&quot;', 'offline', 0),
-  array('How do I save a picture to &quot;My Favorites&quot;?', 'Click on a picture and click on the &quot;picture info&quot; link (<img src="images/info.gif" width="16" height="16" border="0" alt="Picture information" />); scroll down to the picture information set and click &quot;Add to fav&quot;.<br />The administrator may have the &quot;picture information&quot; on by default.<br />IMPORTANT:Cookies must be enabled and the cookie from this site must not be deleted.', 'offline', 0),
-  array('How do I rate a file?', 'Click on a thumbnail and go to the bottom and choose a rating.', 'offline', 0),
-  array('How do I post a comment for a picture?', 'Click on a thumbnail and go to the bottom and post a comment.', 'offline', 0),
-  array('How do I upload a file?', 'Go to &quot;Upload&quot;and select the album that you want to upload to. Click &quot;Browse,&quot; find the file to upload, and click &quot;open.&quot; Add a title and description if you want. Click &quot;Submit&quot;.<br /><br />Alternatively, for those users using <b>Windows XP</b>, you can upload multiple files directly to your own private albums using the XP Publishing wizard.<br />For instructions on how, and to get the required registry file, click <a href="xp_publish.php">here.</a>', 'allow_private_albums', 1), //cpg1.4
-  array('Where do I upload a picture to?', 'You will be able to upload a file to one of your albums in &quot;My Gallery&quot;. The Administrator may also allow you to upload a file to one or more of the albums in the Main Gallery.', 'allow_private_albums', 0),
-  array('What type and size of a file can I upload?', 'The size and type (jpg, png, etc.) is up to the administrator.', 'offline', 0),
-  array('How do I create, rename or delete an album in &quot;My Gallery&quot;?', 'You should already be in &quot;Admin-Mode&quot;<br />Go to &quot;Create/Order My Albums&quot;and click &quot;New&quot;. Change &quot;New Album&quot; to your desired name.<br />You can also rename any of the albums in your gallery.<br />Click &quot;Apply Modifications&quot;.', 'allow_private_albums', 0),
-  array('How can I modify and restrict users from viewing my albums?', 'You should already be in &quot;Admin Mode&quot;<br />Go to &quot;Modify My Albums. On the &quot;Update Album&quot; bar, select the album that you want to modify.<br />Here, you can change the name, description, thumbnail picture, restrict viewing and comment/rating permissions.<br />Click &quot;Update Album&quot;.', 'allow_private_albums', 0),
-  array('How can I view other users\' galleries?', 'Go to &quot;Album List&quot; and select &quot;User Galleries&quot;.', 'allow_private_albums', 0),
-  array('What are cookies?', 'Cookies are a plain text piece of data that is sent from a website and is put on to your computer.<br />Cookies usually allow a user to leave and return to the site without having to login again and other various chores.', 'offline', 0),
-  array('Where can I get this program for my site?', 'Coppermine is a free Multimedia Gallery, released under GNU GPL. It is full of features and has been ported to various platforms. Visit the <a href="http://coppermine-gallery.net/">Coppermine Home Page</a> to find out more or download it.', 'offline', 0),
-
-  'Navigating the Site',
-  array('What\'s &quot;Album List&quot;?', 'This will show you the entire kategori you are currently in, with a link to each album. If you are not in a kategori, it will show you the entire gallery with a link to each category. Thumbnails may be a link to the category.', 'offline', 0),
-  array('What\'s &quot;My Gallery&quot;?', 'This feature lets users create their own galleries and add, delete or modify albums as well as upload to them.', 'allow_private_albums', 1), //cpg1.4
-  array('What\'s the difference between &quot;Admin Mode&quot; and &quot;User Mode&quot;?', 'This feature, when in admin-mode, allows a user to modify their gallery (as well as others if allowed by the administrator).', 'allow_private_albums', 0),
-  array('What\'s &quot;Upload Picture&quot;?', 'This feature allows a user to upload a file (size and type is set by the site administrator) to a gallery selected by either you or the administrator.', 'allow_private_albums', 0),
-  array('What\'s &quot;Last Uploads&quot;?', 'This feature shows the last uploads to the site.', 'offline', 0),
-  array('What\'s &quot;Last Comments&quot;?', 'This feature shows the last comments along with the files posted by users.', 'offline', 0),
-  array('What\'s &quot;Most Viewed&quot;?', 'This feature shows the most viewed files by all users (whether logged in or not).', 'offline', 0),
-  array('What\'s &quot;Top Rated&quot;?', 'This feature shows the top rated files rated by the users, showing the average rating (e.g: five users each gave a <img src="images/rating3.gif" width="65" height="14" border="0" alt="" />: the file would have an average rating of <img src="images/rating3.gif" width="65" height="14" border="0" alt="" /> ;Five users rated the file from 1 to 5 (1,2,3,4,5) would result in an average <img src="images/rating3.gif" width="65" height="14" border="0" alt="" /> .)<br />The ratings go from <img src="images/rating5.gif" width="65" height="14" border="0" alt="best" /> (best) to <img src="images/rating0.gif" width="65" height="14" border="0" alt="worst" /> (worst).', 'offline', 0),
-  array('What\'s &quot;My Favorites&quot;?', 'This feature will let a user store a favorite file in the cookie that was sent to your computer.', 'offline', 0),
-);
-
-
-// ------------------------------------------------------------------------- //
-// File forgot_passwd.php
-// ------------------------------------------------------------------------- //
-
-if (defined('FORGOT_PASSWD_PHP')) $lang_forgot_passwd_php = array(
-  'forgot_passwd' => 'Şifremi unuttum', 
-  'err_already_logged_in' => 'Daha önceden giriş yapmışsınız !', 
-  'enter_email' => 'Email adresinizi yazın', //cpg1.4
-  'submit' => 'Gönder', 
-  'illegal_session' => 'Şifre gönder işleminde hata oluştu.', //cpg1.4
-  'failed_sending_email' => 'Şifreniz yollanamadı !', 
-  'email_sent' => 'Üye adınız ve şifrenize email yoluyla %s a yollandı', 
-  'verify_email_sent' => ' %s adresine email gönderildi. İşlemi tamamlamak için elektronik postanızı kontrol ediniz.', //cpg1.4
-  'err_unk_user' => 'Seçilen kullanıcı bulunamadı!', 
-  'account_verify_subject' => '%s - Yeni şifre', //cpg1.4
-  'account_verify_body' => 'Şifrenizi yenilemek istiyorsunuz. Size yeni bir şifre gönderilmeisini istiyorsanız aşagıdaki linke tıklayınız:
-
-%s', //cpg1.4
-  'passwd_reset_subject' => '%s - Yeni şifreniz', //cpg1.4
-  'passwd_reset_body' => 'İstediginiz yeni şifreniz:
-Üye adı: %s
-Şifre: %s
-Giriş için %s i tıklayın.', 
-);
-
-// ------------------------------------------------------------------------- //
-// File groupmgr.php
-// ------------------------------------------------------------------------- //
-
-if (defined('GROUPMGR_PHP')) $lang_groupmgr_php = array(
-  'group_name' => 'Grup Adı',
-  'permissions' => 'Yetkiler', //cpg1.4
-  'public_albums' => 'Herkese açık yükleme', //cpg1.4
-  'personal_gallery' => 'Kişisel galari', //cpg1.4
-  'upload_method' => 'Yükleme metodu', //cpg1.4
-  'disk_quota' => 'Disk boyutu', //cpg1.4
-  'rating' => 'Oylama', //cpg1.4
-  'ecards' => 'Ekard', //cpg1.4
-  'comments' => 'Yorum', //cpg1.4
-  'allowed' => 'İzin', //cpg1.4
-  'approval' => 'Onay', //cpg1.4
-  'boxes_number' => 'Gönderme kutu sayısı', //cpg1.4
-  'variable' => 'degişken', //cpg1.4
-  'fixed' => 'sabit', //cpg1.4
-  'apply' => 'Değişiklikleri kaydet',
-  'create_new_group' => 'Yeni grup ',
-  'del_groups' => 'Seçilen grup (-ları) sil',
-  'confirm_del' => 'Uyarı, ne zaman bir grubu silerseniz, o gruba ait olan kullanıcılar \'Kayıtlı\' grubuna transfer edilecektir !\n\nDevam etmek istiyor musunuz?', //js-alert 
-  'title' => 'Kullanıcı gruplarını yönet',
-  'num_file_upload' => 'Dosya yükleme kutusu', //cpg1.4
-  'num_URI_upload' => 'URI yükleme kutusu', //cpg1.4
-  'reset_to_default' => 'Orjinal ayarlara geri dön (%s) - tavsiye edilir!', //cpg1.4
-  'error_group_empty' => 'Grup tablosu boş !<br /><br />Bir grup oluşturuldu, lütfen sayfayı yükleyiniz.', //cpg1.4
-  'explain_greyed_out_title' => 'Bu sıra neden kapalı?', //cpg1.4
-  'explain_guests_greyed_out_text' => 'Bu grup ayarlarını değiştiremezsiniz. Çünkü ayarları &quot; Config sayfasından herkeze açık giriş iznini (misafir) &quot; den &quot;No&quot; a çeviriniz. Bütün misafirler (bu grup üyeleri %s) giriş dışında her şeyi yapabilirler; bu yüzden bu ayarlar onlar için geçerli değil.', //cpg1.4
-  'explain_banned_greyed_out_text' => 'Bu grup ayarlarını değiştiremezsiniz. Çünkü bu grub zaten bir şey yapamıyor.', //cpg1.4
-  'group_assigned_album' => 'tanımlanımş album(ler)', //cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File index.php
-// ------------------------------------------------------------------------- //
-
-if (defined('INDEX_PHP')){
-
-$lang_index_php = array(
-  'welcome' => 'Hoşgeldiniz !',
-);
-
-$lang_album_admin_menu = array(
-  'confirm_delete' => 'Bu albümü SİLMEK istediğinizden emin misiniz ? \\nBütün resimler ve yorumlar silinmiş olacaktır.', //js-alert 
-  'delete' => 'Sil',
-  'modify' => 'Özellikler',
-  'edit_pics' => 'Resimleri düzenle', 
-);
-
-$lang_list_categories = array(
-  'home' => 'Ana sayfa',
-  'stat1' => 'Sitemizde yayınlanan <b>[albums]</b> albümdeki <b>[pictures]</b> adet resimler <b>[views]</b> kez izlenilmiş ve <b>[comments]</b> kez yorum yazılmıştır. ', 
-  'stat2' => 'resim sayısı:<b>[pictures]</b>, albüm sayısı <b>[albums]</b>, izlenme sayısı: <b>[views]</b>', 
-  'xx_s_gallery' => '%s\'nin galarisi',
-  'stat3' => 'Sitemizde yayınlanan <b>[albums]</b> albümün içindeki <b>[pictures]</b> adet resimler <b>[views]</b> kez izlenmiş ve bu resimlere <b>[comments]</b> adet yorum gönderilmiştir. ', 
-);
-
-$lang_list_users = array(
-  'user_list' => 'Kullanıcı listesi',
-  'no_user_gal' => 'Kullanıcı galerisi yok',
-  'n_albums' => '%s albüm(-ler)',
-  'n_pics' => '%s resim(-ler)', 
-);
-
-$lang_list_albums = array(
-  'n_pictures' => '%s resimler', 
-  'last_added' => ', sonuncusu %s da eklendi',
-  'n_link_pictures' => '%s bağlı dosyalar', //cpg1.4
-  'total_pictures' => '%s dosya toplamı', //cpg1.4
-);
-
-}
-
-// ------------------------------------------------------------------------- //
-// File keywordmgr.php //cpg1.4
-// ------------------------------------------------------------------------- //
-
-if (defined('KEYWORDMGR_PHP')) $lang_keywordmgr_php = array(
-  'title' => 'Anahtarsözcük yönetimi', //cpg1.4
-  'edit' => 'değiştir', //cpg1.4
-  'delete' => 'sil', //cpg1.4
-  'search' => 'ara', //cpg1.4
-  'keyword_test_search' => 'yeni ekranda %s ara', //cpg1.4
-  'keyword_del' => '%s anahtarsözcügünü sil', //cpg1.4
-  'confirm_delete' => '%s anahtarsözcügünü silmek istediginize eminmisiniz?', //cpg1.4  // js-alert
-  'change_keyword' => 'anahtarsözcügünü değiştir', //cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File login.php
-// ------------------------------------------------------------------------- //
-
-if (defined('LOGIN_PHP')) $lang_login_php = array(
-  'login' => 'Giriş',
-  'enter_login_pswd' => 'Giriş yapmak için kullanıcı adınızı ve şifrenizi yazın',
-  'username' => 'Üye adı',
-  'password' => 'Şifre',
-  'remember_me' => 'Beni hatırla',
-  'welcome' => 'Hoşgeldin %s ...',
-  'err_login' => '*** Giriş yapılamadı! Lütfen tekrar deneyin ***',
-  'err_already_logged_in' => 'Daha önceden giriş yapmışsınız !',
-  'forgot_password_link' => 'Şifremi unuttum', 
-  'cookie_warning' => 'Web proğramınız kurabiyeleri kabul etmiyor', //cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File logout.php
-// ------------------------------------------------------------------------- //
-
-if (defined('LOGOUT_PHP')) $lang_logout_php = array(
-  'logout' => 'Çıkış',
-  'bye' => 'Güle güle %s ...',
-  'err_not_loged_in' => 'Giriş yapmamışsınız !',
-);
-
-// ------------------------------------------------------------------------- //
-// File minibrowser.php  //cpg1.4
-// ------------------------------------------------------------------------- //
-
-if (defined('MINIBROWSER_PHP')) $lang_minibrowser_php = array(
-  'close' => 'kapat', //cpg1.4
-  'submit' => 'Tamam', //cpg1.4
-  'up' => 'bir klasör yukarı', //cpg1.4
-  'current_path' => 'şu andaki pat', //cpg1.4
-  'select_directory' => 'Lütfen bir klasör seçiniz', //cpg1.4
-  'click_to_close' => 'Ekranı kapatmak için resime tıklayınız',
-);
-
-// ------------------------------------------------------------------------- //
-// File modifyalb.php
-// ------------------------------------------------------------------------- //
-
-if (defined('MODIFYALB_PHP')) $lang_modifyalb_php = array(
-  'upd_alb_n' => 'Güncellenen albüm %s',
-  'general_settings' => 'Genel ayarlar',
-  'alb_title' => 'Albüm başlığı',
-  'alb_cat' => 'Albüm kategorisi',
-  'alb_desc' => 'Albüm açıklaması',
-  'alb_keyword' => 'Albüm anahtarsözcükleri', //cpg1.4
-  'alb_thumb' => 'Albüm küçük resmi',
-  'alb_perm' => 'Bu albüm için izinler',
-  'can_view' => 'Albüm tarafından görüntülenebilir',
-  'can_upload' => 'Ziyaretçiler resim yükleyebilirler',
-  'can_post_comments' => 'Ziyaretçiler yorum ekleyebilirler',
-  'can_rate' => 'Ziyaretçiler oy verebilirler',
-  'user_gal' => 'Kullanıcı galerisi',
-  'no_cat' => '* Kategori yok *',
-  'alb_empty' => 'Albüm boş',
-  'last_uploaded' => 'Son yüklenenler',
-  'public_alb' => 'Herkes (Herkese açık albüm)',
-  'me_only' => 'Sadece ben',
-  'owner_only' => 'Sadece (%s) albüm sahibi',
-  'groupp_only' => ' \'%s\' grubunun üyeleri',
-  'err_no_alb_to_modify' => 'veritabanında albüm düzenleyemazsiniz.',
-  'update' => 'Albümü güncelle', 
-  'reset_album' => 'Albümü sıfırla', //cpg1.4
-  'reset_views' => 'İzlenme sayacını ayarla &quot;0&quot; in %s', //cpg1.4
-  'reset_rating' => 'Oylama sayacını sıfırla %s', //cpg1.4
-  'delete_comments' => 'Yorumları sil %s', //cpg1.4
-  'delete_files' => '%sIrreversibly%s dosyaların tamamını sil %s', //cpg1.4
-  'views' => 'izlenme', //cpg1.4
-  'votes' => 'oylar', //cpg1.4
-  'comments' => 'yorumlar', //cpg1.4
-  'files' => 'dosyalar', //cpg1.4
-  'submit_reset' => 'degişiklikleri kaydet', //cpg1.4
-  'reset_views_confirm' => 'evet eminim', //cpg1.4
-  'notice1' => '(*) %sgroups%s grup ayarlarına bağlı',  //cpg1.4 //(do not translate %s!)
-  'alb_password' => 'Albüm şifresi', //cpg1.4
-  'alb_password_hint' => 'Albüm hatırlatma', //cpg1.4
-  'edit_files' =>'dosya ayarları', //cpg1.4
-  'parent_category' =>'Kategoriler', //cpg1.4
-  'thumbnail_view' =>'Toplu halde göster', //cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File phpinfo.php
-// ------------------------------------------------------------------------- //
-
-if (defined('PHPINFO_PHP')) $lang_phpinfo_php = array(
-  'php_info' => 'PHP info',
-  'explanation' => 'PHP tarafından üretilen bilgiler <a href="http://www.php.net/phpinfo">phpinfo()</a>, Coppermine içinde gösterilir (sağ tarafta).',
-  'no_link' => 'Bu bilğilerin yayınlanması güvenlik rizikos oluşturabileceginden bu sayfa sadece yöneticilere açıktır. Bu sayfanın linkini de gönderemezsiniz. Yöneticiler dışında kimse açamaz bu sayfayı.',
-);
-
-// ------------------------------------------------------------------------- //
-// File picmgr.php //cpg1.4
-// ------------------------------------------------------------------------- //
-if (defined('PICMGR_PHP')) $lang_picmgr_php = array(
-  'pic_mgr' => 'Resim yönetimi', //cpg1.4
-  'select_album' => 'Albüm seç', //cpg1.4
-  'delete' => 'Sil', //cpg1.4
-  'confirm_delete1' => 'Bu dosyayı silmek istediginize eminmisiniz?', //cpg1.4
-  'confirm_delete2' => '\nDosya tamamen silinecektir.', //cpg1.4
-  'apply_modifs' => 'Degişiklikleri uygula', //cpg1.4
-  'confirm_modifs' => 'Degişiklikleri onayla', //cpg1.4
-  'pic_need_name' => 'Resimlerin bir ismi olmalı!', //cpg1.4
-  'no_change' => 'Herhangi bir değişiklik yapılmadı !', //cpg1.4
-  'no_album' => '* Albüm yok *', //cpg1.4
-  'explanation_header' => 'Kişisel sınıflandırma sadece bazı koşullarda gösterilecektir', //cpg1.4
-  'explanation1' => 'yönetici varsayılan sınıflandırmayı ayarlarda "azalan" veya "artan" olarak ayarlar (sınıflandırma seçmemiş kullanıcılar için varsayılan ayarlar)', //cpg1.4
-  'explanation2' => 'kullanıcı "azalan" veya "artan" seçer (kullanıcı ayarları)', //cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File pluginmgr.php //cpg1.4
-// ------------------------------------------------------------------------- //
-
-if (defined('PLUGINMGR_PHP')){
-
-$lang_pluginmgr_php = array(
-  'confirm_uninstall' => 'Bu pluginsi kaldırmak istediğinize eminmisiniz?', //cpg1.4
-  'confirm_delete' => 'Bu pluginis silmek istediğinize eminmisiniz?', //cpg1.4
-  'pmgr' => 'Plugin Ayarları', //cpg1.4
-  'name' => 'Ad', //cpg1.4
-  'author' => 'Yazar', //cpg1.4
-  'desc' => 'Tanımla', //cpg1.4
-  'vers' => 'v', //cpg1.4
-  'i_plugins' => 'Plugins Kur', //cpg1.4
-  'n_plugins' => 'Plugins Kurulmadı', //cpg1.4
-  'none_installed' => 'Kurulmadı', //cpg1.4
-  'operation' => 'Çalışma', //cpg1.4
-  'not_plugin_package' => 'Yüklenen dosya plugin paketi değil.', //cpg1.4
-  'copy_error' => 'Plugin klasöre kopyalamada bir hata oluştu.', //cpg1.4
-  'upload' => 'Yükle', //cpg1.4
-  'configure_plugin' => 'Plugin ayarları', //cpg1.4
-  'cleanup_plugin' => 'Plugin temizle', //cpg1.4
-);
-}
-
-// ------------------------------------------------------------------------- //
-// File ratepic.php
-// ------------------------------------------------------------------------- //
-
-if (defined('RATEPIC_PHP')) $lang_rate_pic_php = array(
-  'already_rated' => 'Bu resme daha önceden oy verdiniz', 
-  'rate_ok' => 'Oyunuz kabul edildi',
-  'forbidden' => 'Kendi resimlerinize oy veremezsiniz.', 
-);
-
-// ------------------------------------------------------------------------- //
-// File register.php & profile.php
-// ------------------------------------------------------------------------- //
-
-if (defined('REGISTER_PHP') || defined('PROFILE_PHP')) {
-
-$lang_register_disclamer = <<<EOT
-Her nekadar{SITE_NAME} da istenmeyen yayınlar veya yorumlar site yönetimi tarafından en kısa sürede silinsede, yöneticinin herşeyi takip etmesi oldukca zor. Bunların tamamen onları yazan kişilerin görüşü olduğu ve yöneticilerin görüş ve düşüncelerini temsil etmediğini kabul etmiş olursunuz.<br />
-<br />
-Kaba, hakaret içeren, yanlış, sıkıcı, tehdit içeren, diğer kullanıcıların kişilik haklarını ihlal edici, cinsel öğeler içeren, TC yasalarını çiğneyen mesajlardan lütfen kaçınınız. Foruma telif haklarına muhalif metaryel göndermeyiniz. Mesajın içeri mesajı gönderenin sorumluğundadır,  --sitenizin adı--- bağlamaz. Foruma mesaj gönderdiğinizde gönderim tarih, saati, IP numaranız gibi bilgiler kaydedilir. Sitemize kaydedilen ve yüklenen bilgiler sizin izniniz olmadan bir başkasına verilmez. Yanlız yöneticilerin kontrolü dışında hack gibi olaylardan dolayı alınan bilgilerden doğacak maddi ve manevi zararlardan sitemiz ve yönetiçilerimiz sorumlu tutulamıyacagını kabul emiş olursunuz.<br />
-<br />
-Bu site yerel bilgisayarlar krabiye dosyası bırakır. Bu sadece üyelerimizi tanımak içindir. Email adesiniz sadece kayıt anında kullanılır.<br />
-<br />
-Kabul ediyorum tuşuna seçtiğiniz andan itibaren bunlarıda kabul etmiş olursunuz.
-EOT;
-
-$lang_register_php = array(
-  'page_title' => 'Kullanıcı kayıdı',
-  'term_cond' => 'Durumlar ve süreler',
-  'i_agree' => 'Kabul ediyorum',
-  'submit' => 'Üyelik oluştur',
-  'err_user_exists' => 'Yazdığınız kullanıcı adı bulunamadı, lütfen başka birtane seçin',
-  'err_password_mismatch' => 'İki şifre birbirine uymuyor, lütfen tekrar yazın',
-  'err_uname_short' => 'Kullanıcı dı en az 2 karakterden fazla olmalıdır',
-  'err_password_short' => 'Şifre en az 2 karakterden fazla olmalıdır',
-  'err_uname_pass_diff' => 'Üye adı ve şifre birbirinden farklı olmalıdır',
-  'err_invalid_email' => 'Email adresi geçersiz',
-  'err_duplicate_email' => 'Yazdıgınız email adresi zaten sitemizde kayıtlıdır. Lütfen size ait bir email adresi yazınız.',
-  'enter_info' => 'Kayıt bilgilerini girin',
-  'required_info' => 'Zorunlu bilgiler',
-  'optional_info' => 'İsteğe bağlı bilgiler',
-  'username' => 'Üye adı',
-  'password' => 'Şifre',
-  'password_again' => 'Şifreyi tekrar yazın',
-  'email' => 'Email',
-  'location' => 'Nereden',
-  'interests' => 'Hobiler',
-  'website' => 'Web sitesi',
-  'occupation' => 'Meslek',
-  'error' => 'HATA',
-  'confirm_email_subject' => '%s - Kayıt Doğrulama',
-  'information' => 'Bilgi',
-  'failed_sending_email' => 'Kayıt doğrulama maili yollanamadı !',
-  'thank_you' => 'Kayıt olduğunuz için teşekkürler.<br /><br />Email adresinize üyeliğinizi aktif etmeniz için bir mail gönderildi.',
-  'acct_created' => 'Üyeliğiniz oluşturuldu ve şimdi siteye girip kullanıcı adınız ve şifrenizle giriş yapabilirsiniz',
-  'acct_active' => 'Tebrikler! Üyeliğiniz başarı ile oluşturulmuş ve aktif hale getirilmiştir. Üye adınız ve şifrenizle giriş yapabilirsiniz',
-  'acct_already_act' => 'Üyeliğiniz daha önceden aktif edilmiş !',
-  'acct_act_failed' => 'Bu üyelik aktif edilemez !',
-  'err_unk_user' => 'Seçilen kullanıcı bulunamadı !',
-  'x_s_profile' => '%s\'nin profili',
-  'group' => 'Grup',
-  'reg_date' => 'Üyelik tarihi',
-  'disk_usage' => 'Kullanıdıgı disk alanı',
-  'current_pass' => 'Şimdiki şifre',
-  'new_pass' => 'Yeni şifre',
-  'new_pass_again' => 'Yeni şifre tekrarı',
-  'err_curr_pass' => 'Şimdiki şifreniz yanlış',
-  'apply_modif' => 'Değişiklikleri kaydet',
-  'change_pass' => 'Şifremi değiştir',
-  'update_success' => 'Profiliniz güncellendi',
-  'pass_chg_success' => 'Şifreniz değişti',
-  'pass_chg_error' => 'Şifreniz değişmedi',
-  'notify_admin_email_subject' => '%s - Kayıt Bildirisi', 
-  'notify_admin_email_body' => 'Yeni bi kullanıcı "%s" galerinize kayıt oldu', 
-  'last_uploads' => 'Son yüklenen dosya.<br /> Yüklemelerin tamamını görmek için tıla', //cpg1.4
-  'last_comments' => 'Son yorum.<br />Yorumların tamamını görmek için tıkla', //cpg1.4
-  'notify_admin_email_body' => '"%s" isimli yeni üye galarinize üye oldu',
-  'pic_count' => 'Dosya yüklendi', //cpg1.4
-  'notify_admin_request_email_subject' => '%s - Kayıt taleb', //cpg1.4
-  'thank_you_admin_activation' => 'Teşekkürler.<br /><br />Üyelik kayıt aktifleştirme isteğiniz site yönetimine gönderildi. Üyeliğiniz aktifleştirildiği email ile bildirilecektir.', //cpg1.4
-  'acct_active_admin_activation' => 'üyelik aktifleştirilmiştir. Üyeye email gönderilerek bu bildirilmiştir.', //cpg1.4
-  'notify_user_email_subject' => '%s - Aktif tebliği', //cpg1.4
-);
-
-$lang_register_confirm_email = <<<EOT
-{SITE_NAME}e kayıt olduğunuz için teşekkürler.
-
-Üye adınız : "{USER_NAME}"
-Şifreniz : "{PASSWORD}"
-
-Üyeliğinizi aktif etmek için, aşağıdaki linki tıklamalısınız.
-Eğer bu işlem başarısız olur ise aşagıdaki adresi internet programınıza kopyalayın ve adres satırına yapıştırıp enter ile açınız.
-
-<a href="{ACT_LINK}">{ACT_LINK}</a>
-
-Teşekkürler,
-
-{SITE_NAME} yönetimi
-
-EOT;
-
-$lang_register_approve_email = <<<EOT
-"{USER_NAME}" adlı kullanıcı sitenize üye oldu.
-
-Üyeligi aktif etmek için linke tıklayınız.
-
-<a href="{ACT_LINK}">{ACT_LINK}</a>
-
-EOT;
-
-$lang_register_activated_email = <<<EOT
-Üyeliğiniz kabul edildi ve aktifleştirildi.
-
-<a href="{SITE_LINK}">{SITE_LINK}</a> adresine "{USER_NAME}" üyelik adı ve şifrenizle girebilirsiniz.
-
-
-Saygılar,
-
-{SITE_NAME} sitesinin yönetimi
-
-EOT;
-}
-
-// ------------------------------------------------------------------------- //
-// File reviewcom.php
-// ------------------------------------------------------------------------- //
-
-if (defined('REVIEWCOM_PHP')) $lang_reviewcom_php = array(
-  'title' => 'Yorumları incele',
-  'no_comment' => 'İnceleme için bir yorum bulunamadı',
-  'n_comm_del' => '%s yorum(-lar) silindi',
-  'n_comm_disp' => 'Ekranda gösterilen yorum adeti',
-  'see_prev' => 'Geriye bak',
-  'see_next' => 'İleriye bak',
-  'del_comm' => 'Seçilen yorumları sil',
-  'user_name' => 'Ad', //cpg1.4
-  'date' => 'Tarih', //cpg1.4
-  'comment' => 'Yorum', //cpg1.4
-  'file' => 'Dosya', //cpg1.4
-  'name_a' => 'Üye adı artan', //cpg1.4
-  'name_d' => 'Üye adı azalan', //cpg1.4
-  'date_a' => 'Tarih artan', //cpg1.4
-  'date_d' => 'Tarih azalan', //cpg1.4
-  'comment_a' => 'Yorumlar artan', //cpg1.4
-  'comment_d' => 'Yorumlar azalan', //cpg1.4
-  'file_a' => 'Dosya artan', //cpg1.4
-  'file_d' => 'Dosya azalan', //cpg1.4
-);
-
-
-// ------------------------------------------------------------------------- //
-// File search.php                                                           //
-// ------------------------------------------------------------------------- //
-
-
-if (defined('SEARCH_PHP')){
-
-$lang_search_php = array(
-  'title' => 'Site içi ara', //cpg1.4
-  'submit_search' => 'ara', //cpg1.4
-  'keyword_list_title' => 'Kelimeler', //cpg1.4
-  'keyword_msg' => 'Yukardaki liste bütün kelimeleri içermez. Lütfen aradıgınız kelimeleri yazınız.',  //cpg1.4
-  'edit_keywords' => 'Anahtarsözcük değiştir', //cpg1.4
-  'search in' => 'Aranacak seçenekler:', //cpg1.4
-  'ip_address' => 'IP adresi', //cpg1.4
-  'fields' => 'Gelişmiş arama seçenekleri', //cpg1.4
-  'age' => 'Zaman', //cpg1.4
-  'newer_than' => 'En yeni', //cpg1.4
-  'older_than' => 'En eski', //cpg1.4
-  'days' => 'gün', //cpg1.4
-  'all_words' => 'Tam kelimler (AND)', //cpg1.4
-  'any_words' => 'Bütün kelimeler (OR)', //cpg1.4
-);
-
-$lang_adv_opts = array(
-  'title' => 'Adı', //cpg1.4
-  'caption' => 'Tarifi', //cpg1.4
-  'keywords' => 'Arama kelimesi', //cpg1.4
-  'owner_name' => 'Sahibinin adı', //cpg1.4
-  'filename' => 'Dosya adı', //cpg1.4
-);
-
-}
-// ------------------------------------------------------------------------- //
-// File searchnew.php
-// ------------------------------------------------------------------------- //
-
-if (defined('SEARCHNEW_PHP')) $lang_search_new_php = array(
-  'page_title' => 'Yeni resimler ara', 
-  'select_dir' => 'Klasör seç',
-  'select_dir_msg' => 'Bu fonksiyon size FTP ile sunucunuza resim grubu eklemenize izin verir.<br /><br />Resimlerinizi eklediğiniz klsörü seçin', 
-  'no_pic_to_add' => 'Eklemek için resim bulunamadı', 
-  'need_one_album' => 'Son olarak bu fonksiyonu kullanabilmek için bir albüme ihtiyacınız var',
-  'warning' => 'Uyarı',
-  'change_perm' => 'Script bu klasörü yazamaz , modunu resimleri eklemeden önce 755 e vaya 777 ye çevirmeniz gerekir !', 
-  'target_album' => '<b>Resimlerini koy &quot;</b>%s<b>&quot; içine </b>%s', 
-  'folder' => 'Klasör',
-  'image' => 'Dosya',
-  'album' => 'Albüm',
-  'result' => 'Sonuç',
-  'dir_ro' => 'Yazılamaz. ',
-  'dir_cant_read' => 'Okunamaz. ',
-  'insert' => 'Galeriye yeni resimler ekleme', 
-  'list_new_pic' => 'Yeni resimlerin listesi', 
-  'insert_selected' => 'Seçilen resimleri ekle', 
-  'no_pic_found' => 'Yeni resim bulunamadı', 
-  'be_patient' => 'Lütfen sabırlı olun, scriptin resimleri eklemek için zamana ihtiyacı var', 
-  'no_album' => 'Albüm seçilmedi',  
-  'notes' =>  '<ul>'.
-                          '<li><b>OK</b> : anlamı resim başarıyla eklendi'.
-                          '<li><b>DP</b> : anlamı resim aynı ve daha öneceden veri tabanın içinde'.
-                          '<li><b>PB</b> : anlamı resim eklanamedi, biçiminizi ve resimlerin nerede kloasör izninine sahip olduğunuzu konyrol ediniz'.
-                          '<li><b>NA</b> : anlamı resime gidebilmek için bir albüm seçmediniz, \' <a href="javascript:history.back(1)">geriye gidin</a>\' ve bir albüm seçin. Eğer albümünüz yoksa<a href="albmgr.php">birtane oluşturun</a></li>'.
-                          '<li>Eğer TAMAM, DP, PB \'signs\' gözükmüyorsa hata görmemek için resme tıklayın'.
-                          '<li>Eğer browserınız timeout ise, tekrar yükle butonunu tıklayınız'.
-                          '</ul>', 
-  'select_album' => 'albüm seç', 
-  'check_all' => 'Tümünü kontrol et', 
-  'uncheck_all' => 'Tümünü kontrol etme', 
-  'no_folders' => '"Albums" klasörünün içinde hiç bir klasör yok henüz. Bu klasörün içinde en az bir klasör oluşturmanız gerekiyor. Daha sonrada dosyalarınızı bu klasörün içine ftp ile yükleyiniz. Dikkat:  "userpics" ve "edit" klasörlerinin içine hiç bir şey yüklemeyin. Bu klasörler sistem dosyaları ve http yüklemeleri için kullanılmakta.', //cpg1.4
-   'albums_no_category' => 'Kategori dışı albümler', //cpg1.4 // album pulldown mod, added by frogfoot
-  'personal_albums' => '* Kişisel albümler', //cpg1.4 // album pulldown mod, added by frogfoot
-  'browse_batch_add' => 'Browsable görünüm (tavsiye edilir)', //cpg1.4
-  'edit_pics' => 'Dosyaları değiştir', //cpg1.4
-  'edit_properties' => 'Albüm ayarları', //cpg1.4
-  'view_thumbs' => 'Önizleme', //cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File stat_details.php //cpg1.4
-// ------------------------------------------------------------------------- //
-
-if (defined('STAT_DETAILS_PHP')) $lang_stat_details_php = array(
-  'show_hide' => 'Bu sütunu göster/gizle', //cpg1.4
-  'vote' => 'Oy ayrıntıları', //cpg1.4
-  'hits' => 'İzlenme ayrıntıları', //cpg1.4
-  'stats' => 'Oy istatistikleri', //cpg1.4
-  'sdate' => 'Tarih', //cpg1.4
-  'rating' => 'İzlenme oranı', //cpg1.4
-  'search_phrase' => 'Arama tarzı', //cpg1.4
-  'referer' => 'Referer', //cpg1.4
-  'browser' => 'Browser', //cpg1.4
-  'os' => 'Operating System', //cpg1.4
-  'ip' => 'IP', //cpg1.4
-  'sort_by_xxx' => 'Sıralam şekli: %s', //cpg1.4
-  'ascending' => 'artan', //cpg1.4
-  'descending' => 'azalan', //cpg1.4
-  'internal' => 'int', //cpg1.4
-  'close' => 'kapat', //cpg1.4
-  'hide_internal_referers' => 'internal referers gizle', //cpg1.4
-  'date_display' => 'Tarih ekranı', //cpg1.4
-  'submit' => 'gönder / yenile', //cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File thumbnails.php
-// ------------------------------------------------------------------------- //
-
-// Void
-
-// ------------------------------------------------------------------------- //
-// File upload.php
-// ------------------------------------------------------------------------- //
-
-if (defined('UPLOAD_PHP')) $lang_upload_php = array(
-  'title' => 'Upload file', 
-  'custom_title' => 'Talep Formu Düzenleme', 
-  'cust_instr_1' => 'Yükleme kutularının numarasını seçebilirisin. Bununla birlikte, Aşağıda listelenen limitin üstünde seçim yapamzsınız.', 
-  'cust_instr_2' => 'Kutu numarası talebi', 
-  'cust_instr_3' => 'Resim yükleme kutuları: %s', 
-  'cust_instr_4' => 'URI/URL yükleme kutulrı: %s', 
-  'cust_instr_5' => 'URI/URL yükleme kutuları:', 
-  'cust_instr_6' => 'Resim yükleme kutuları:', 
-  'cust_instr_7' => 'Lütfen istediğiniz yükleme kutusunun numarasını girin.  sonra tıklayın \'Devam et\'. ', 
-  'reg_instr_1' => 'Forum aluşumunda geçersiz durum.', 
-  'reg_instr_2' => 'Aşağıda kullanılan yükleme kutularından resimlerinizi yükleyebilirsiniz. Sunucuya yüklediğiniz resimler boyutu aşmamalıdır ve herbiri için %s KB olmalıdır. ZIP resimleri \'File Upload\' e yüklendi ve  \'URI/URL Upload\' bölümleri sıkışmış olarak kalacaktır.', 
-  'reg_instr_3' => 'Eğer sıkıştırılmış resimleri açmak istiyorsanız, \'Decompressive ZIP Upload\' daki yükleme kutusunu kullanmalısınız.', //cpg1.3.0
-  'reg_instr_4' => 'URI/URL yükleme seçeneklerini kullandığınız zaman, lütfen örnekteki gibi: http://www.mysite.com/images/example.jpg yol verin', //cpg1.3.0
-  'reg_instr_5' => 'Formu tamamladığınızda, lütfen tıklayın \'Devam et\'.', //cpg1.3.0
-  'reg_instr_6' => 'Zipli dosyaları açma:', //cpg1.3.0
-  'reg_instr_7' => 'Resim yüklemeleri:', //cpg1.3.0
-  'reg_instr_8' => 'URI/URL Yüklemeleri:', //cpg1.3.0
-  'error_report' => 'Hata raporu', //cpg1.3.0
-  'error_instr' => 'Takip edilen yükleme karşılaştırma hataları:', //cpg1.3.0
-  'file_name_url' => 'Resim Adı/URL', //cpg1.3.0
-  'error_message' => 'Hata Mesajı', //cpg1.3.0
-  'no_post' => 'Resim yüklenemedi.', //cpg1.3.0
-  'forb_ext' => 'Resim büyütmek yasaktır.', //cpg1.3.0
-  'exc_php_ini' => 'php.ini de izinverilen dasya boyutu aşıldı.', //cpg1.3.0
-  'exc_file_size' => 'CPG tarafından izin verilen dosya boyutu aşıldı.', //cpg1.3.0
-  'partial_upload' => 'Sadece kısmi yükleme.', //cpg1.3.0
-  'no_upload' => 'Yükleme yok.', //cpg1.3.0
-  'unknown_code' => 'Bilinmeyen PHP yükleme hata kodu.', //cpg1.3.0
-  'no_temp_name' => 'Yükleme yok - Temp adı yok.', //cpg1.3.0
-  'no_file_size' => 'İçerilen veri bulunamadı/Bozulmuş', //cpg1.3.0
-  'impossible' => 'Hareket etmek imkansız.', //cpg1.3.0
-  'not_image' => 'İmaj notu/bozma', //cpg1.3.0
-  'not_GD' => 'GD genişletme değil.', //cpg1.3.0
-  'pixel_allowance' => 'Piksel izini aşıldı.', //cpg1.3.0
-  'incorrect_prefix' => 'Yanlış URI/URL ', //cpg1.3.0
-  'could_not_open_URI' => 'URI açılamadı.', //cpg1.3.0
-  'unsafe_URI' => 'Güvenlik kanıtlanamadı.', //cpg1.3.0
-  'meta_data_failure' => 'Meta verisi başarısız', //cpg1.3.0
-  'http_401' => '401 Yetkisiz', //cpg1.3.0
-  'http_402' => '402 Ödeme gerekli', //cpg1.3.0
-  'http_403' => '403 Yasak', //cpg1.3.0
-  'http_404' => '404 Bulunamadı', //cpg1.3.0
-  'http_500' => '500 Sunucu hatası', //cpg1.3.0
-  'http_503' => '503 Servis bulunamadı', //cpg1.3.0
-  'MIME_extraction_failure' => 'MIME belirtilemedi.', //cpg1.3.0
-  'MIME_type_unknown' => 'Bilinmeyen MIME türü', //cpg1.3.0
-  'cant_create_write' => 'Yazı dosyası oluşturulamadı.', //cpg1.3.0
-  'not_writable' => 'Yazı dosyası yazamazsınız.', //cpg1.3.0
-  'cant_read_URI' => 'URI/URL okunamaz', //cpg1.3.0
-  'cant_open_write_file' => 'URI yazma dosyası açılamadı.', //cpg1.3.0
-  'cant_write_write_file' => 'URI yazma dosyasına yazamazsınız.', //cpg1.3.0
-  'cant_unzip' => 'Uzip yapamazsınız.', //cpg1.3.0
-  'unknown' => 'Bilinmeyen hata', //cpg1.3.0
-  'succ' => 'Başarılı Yüklemeler', //cpg1.3.0
-  'success' => '%s yüklemesi başarılı.', //cpg1.3.0
-  'add' => 'Lütfen albüme resim eklemek için tıklayın \'Devam et\' .', //cpg1.3.0
-  'failure' => 'Yükleme başarısız', //cpg1.3.0
-  'f_info' => 'Resim bilgisi', //cpg1.3.0
-  'no_place' => 'Önceki resim yerleştirilemedi.', //cpg1.3.0
-  'yes_place' => 'Önceki resim başarıyla yerleştirildi.', //cpg1.3.0
-  'max_fsize' => 'Maksimum resim boyutu %s KB',
-  'album' => 'Albüm',
-  'picture' => 'Resim', //cpg1.3.0
-  'pic_title' => 'Resim başlığı', //cpg1.3.0
-  'description' => 'Resim açıklaması', //cpg1.3.0
-  'keywords' => 'anahtarsözcük (araları bölük bırakınız)',
-  'err_no_alb_uploadables' => 'Önce albüm oluşturmalısınız', //cpg1.3.0
-  'place_instr_1' => 'Lütfen resimleri yerleştirin.  Her resim için gerekli bilgiyi girin.', //cpg1.3.0
-  'place_instr_2' => 'Daha fazla resim alana ihtiyaç duyar. Lütfen tıklayın \'Devam et\'.', //cpg1.3.0
-  'process_complete' => 'Başarıyla bütün resimleri yerleştirdiniz.', //cpg1.3.0
-   'albums_no_category' => 'Kategori dışı albümler', //cpg1.4. //album pulldown mod, added by frogfoot
-  'personal_albums' => '* Kişisel albümler', //cpg1.4 //album pulldown mod, added by frogfoot
-  'select_album' => 'Albüm seç', //cpg1.4 //album pulldown mod, added by frogfoot
-  'close' => ' Kapat ', //cpg1.4
-  'no_keywords' => 'Özür dileriz, herhangi bir anahtarsözcük bulunamadı!', //cpg1.4
-  'regenerate_dictionary' => 'Klasörü yeniden yapılandır', //cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File usermgr.php
-// ------------------------------------------------------------------------- //
-
-if (defined('USERMGR_PHP')) $lang_usermgr_php = array(
-  'memberlist' => 'Üye listesi', //cpg1.4
-  'user_manager' => 'Kullanıcı yönetimi', //cpg1.4
-  'title' => 'Kullanıcıları yönet',
-  'name_a' => 'Ada göre artan',
-  'name_d' => 'Ada göre azalan',
-  'group_a' => 'Gruba göre artan',
-  'group_d' => 'Gruba göre azalan',
-  'reg_a' => 'Kayıt tarihine göre artan',
-  'reg_d' => 'Kayıt tarihine göre azalan',
-  'pic_a' => 'Resim içeriğine göre artan',
-  'pic_d' => 'Resim içeriğine göre azalan',
-  'disku_a' => 'Disk kullanımına göre artan',
-  'disku_d' => 'Disk kullanımına göre azalan',
-  'lv_a' => 'Son ziyarete göre artan', //cpg1.3.0
-  'lv_d' => 'Son ziyarete göre azalan', //cpg1.3.0
-  'sort_by' => 'kullanıcıları sırala',
-  'err_no_users' => 'Kullanıcı çizelgesi boş !',
-  'err_edit_self' => 'Kendi profilinizi düzeltemezsiniz,  \'Kişisel profilim\' linkini kullanın',
-  'edit' => 'DÜZELT',
-  'with_selected' => 'Bir uygulama seç', //cpg1.4
-  'delete' => 'Sil',
-  'delete_files_no' => 'herkeze acık dosyaları koru (anonimleştir)', //cpg1.4
-  'delete_files_yes' => 'herkeze acık dosyalarınıda sil', //cpg1.4
-  'delete_comments_no' => 'yorumlarını koru (anonimleştir)', //cpg1.4
-  'delete_comments_yes' => 'yorumlarınıda sil', //cpg1.4
-  'activate' => 'Aktifleştir', //cpg1.4
-  'deactivate' => 'Pasifleştir', //cpg1.4
-  'reset_password' => 'Şifreyi sıfırla', //cpg1.4
-  'change_primary_membergroup' => 'Ana grubu degiştir', //cpg1.4
-  'add_secondary_membergroup' => 'İkinci grup ekle', //cpg1.4
-  'name' => 'Üye adı',
-  'group' => 'Grup',
-  'inactive' => 'Inaktif',
-  'operations' => 'İşlemler',
-  'pictures' => 'Resimler', //cpg1.3.0
-  'disk_space_used' => 'Kullandıgı alan', //cpg1.4
-  'disk_space_quota' => 'Kullanabilecegi alan', //cpg1.4
-  'registered_on' => 'Kayıt tarihi',
-  'last_visit' => 'Son ziyaret tarihi', //cpg1.3.0
-  'u_user_on_p_pages' => '%d kullanıcılar %d sayfa(-lar)da',
-  'confirm_del' => 'Bu kullanıcıyı silmek istediğinizden emin misiniz? \\nOnun büyünresimleri ve albümleri silinecek.', //js-alert //cpg1.3.0
-  'mail' => 'MAİL',
-  'err_unknown_user' => 'Seçilen kullanıcı bulunamadı !',
-  'modify_user' => 'Kullanıcıyı bilgileri',
-  'notes' => 'Notlar',
-  'note_list' => '<li>Şimdiki şifreni değiştirmek istemiyorsan, "şifre" alanını boş bırakınız',
-  'password' => 'Şifre',
-  'user_active' => 'Kullanıcı Aktif',
-  'user_group' => 'Kullanıcı grubu',
-  'user_email' => 'Kullanıcı emaili',
-  'user_web_site' => 'Kullanıcı web sitesi',
-  'create_new_user' => 'Yeni kullanıcı oluştur',
-  'user_location' => 'Kullanıcı yeri',
-  'user_interests' => 'Kullanıcı hobileri',
-  'user_occupation' => 'Kullanıcı mesleği',
-  'user_profile1' => '$user_profile1', //cpg1.4
-  'user_profile2' => '$user_profile2', //cpg1.4
-  'user_profile3' => '$user_profile3', //cpg1.4
-  'user_profile4' => '$user_profile4', //cpg1.4
-  'user_profile5' => '$user_profile5', //cpg1.4
-  'user_profile6' => '$user_profile6', //cpg1.4
-  'latest_upload' => 'Yakınlardaki yüklemeler', //cpg1.3.0
-  'never' => 'asla', //cpg1.3.0
-  'search' => 'Kullanıcı ara', //cpg1.4
-  'submit' => 'Ekle', //cpg1.4
-  'search_submit' => 'Devam', //cpg1.4
-  'search_result' => 'Arama sonuçları: ', //cpg1.4
-  'alert_no_selection' => 'En azından bir kullanıcı seçmelisiniz!', //cpg1.4 //js-alert
-  'password' => 'Şifre', //cpg1.4
-  'select_group' => 'Grup seç', //cpg1.4
-  'groups_alb_access' => 'Gruplar için albüm yetkileri', //cpg1.4
-  'album' => 'Albüm', //cpg1.4
-  'category' => 'Kategori', //cpg1.4
-  'modify' => 'Değiştirilsinmi?', //cpg1.4
-  'group_no_access' => 'Bu grup için giriş yok', //cpg1.4
-  'notice' => 'Not: ', //cpg1.4
-  'group_can_access' => 'Sadece "%s" bu albüme uluşma yetkisine sahiptir.', //cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File util.php
-// ------------------------------------------------------------------------- //
-
-if (defined('UTIL_PHP')) {
-$lang_util_desc_php = array(
-'Dosyalardaki adı günceller', //cpg1.4
-'Adı siler', //cpg1.4
-'Küçük resimleri tekrar oluşturur ve boyutlandırır', //cpg1.4
-'Orjinal boyutlardaki fotoğrafları tekrar yeni boyutlarla yerleştirir', //cpg1.4
-'Orta boyutlardaki orjinal fotoğrafları silerek yer açar', //cpg1.4
-'Seçilen yorumları siler', //cpg1.4
-'Dosya boyutlarını ve boyutunu ayarlar (el ile fotoğrafları degiştirdikten sonra)', //cpg1.4
-'Bakılma oranlarını sıfırlar', //cpg1.4
-'php hakkında bilgi gösterir', //cpg1.4
-'Veritabanını günceller', //cpg1.4
-'Günlügü gösterir', //cpg1.4
-);
-$lang_util_php = array(
-  'title' => 'Admin İşlevleri (Resimleri yeniden boyutlandır)', //cpg1.3.0
-  'what_it_does' => 'Ne yapar',
-  'file' => 'Resim',
-  'problem' => 'Problem', //cpg1.4
-  'status' => 'Durum', //cpg1.4
-  'title_set_to' => 'ayarlama için başlık',
-  'submit_form' => 'Gönder',
-  'updated_succesfully' => 'Güncelleme başarılı',
-  'error_create' => 'Oluşturmada HATA',
-  'continue' => 'daha fazla görüntü',
-  'main_success' => 'Resim %s ana dosyada kullanılıyor', //cpg1.3.0
-  'error_rename' => ' %s  %s ye yeni adlandırmada hata ',
-  'error_not_found' => 'Resim %s bulunamadı',
-  'back' => 'ana sayfaya dön',
-  'thumbs_wait' => 'Küçük resimler ve/veya yeniden boyutlanan resimler Güncelleniyor, lütfen bekliyor...',
-  'thumbs_continue_wait' => 'Küçük resimleri ve/veya yeniden boyutlanan resimleri gücelleme devam ediyor...',
-  'titles_wait' => 'Başlıklar güncelleniyor, Lütfen bekleyin...',
-  'delete_wait' => 'Başlılar siliniyor, lütfen bekleiyin...',
-  'replace_wait' => 'Orjinal resimler yeniden boyutlanana resimler ile orjinal halde siliniyor, lütfen bekleyin..',
-  'instruction' => 'Hızlı talimat',
-  'instruction_action' => 'İşlem seç',
-  'instruction_parameter' => 'Parametreleri ayarla',
-  'instruction_album' => 'Albüm seç',
-  'instruction_press' => 'Bas %s',
-  'update' => 'Küçük resimleri ve/veya yeniden boyutlandırılan resimler güncelleniyor',
-  'update_what' => 'Ne güncellenmeli',
-  'update_thumb' => 'Sadece küçük resimler',
-  'update_pic' => 'Sadece yeniden boyutlandırılan resimler',
-  'update_both' => 'Küçük resimler ve yeniden boyutlandırılan reimler',
-  'update_number' => 'Resimleri tılama sürecini numaralandır',
-  'update_option' => '(Bu tecihi azaltma ayarlarını deneyin eğer timeout problemlerinde tecrübeliysen)',
-  'filename_title' => 'Resim adı ve Resim başlıgı', //cpg1.3.0
-  'filename_how' => 'Resim adı nasıl düzenlenmeli',
-  'filename_remove' => ' .jpg sonlandırmasını sil ve yerine _ (alt tire) ekle ',
-  'filename_euro' => '2003_11_23_13_20_20.jpg ği  23/11/2003 13:20 ğe çevir',
-  'filename_us' => '2003_11_23_13_20_20.jpg ği  23/11/2003 13:20 ğe çevir',
-  'filename_time' => '2003_11_23_13_20_20.jpg ği  13:20 e çevir',
-  'delete' => 'Resim adlarını yada orjinal forğraf boyutlarını sil', //cpg1.3.0
-  'delete_title' => 'Resim başlıklarını sil', //cpg1.3.0
-  'delete_title_explanation' => 'Bu seçtiginiz albümdeki resimlerin başlıklarını sileçektir.', //cpg1.4
-  'delete_original' => 'Orjinal foroğraf boyutlarını sil',
-  'delete_original_explanation' => 'Fotoğraflarınızın orjinal boyutlardakiler silinecektir.', //cpg1.4
-  'delete_intermediate' => 'Oluşturulan orta boyutluktaki resimleri sil', //cpg1.4
-  'delete_intermediate_explanation' => 'Bu sistemde oluşturulan orta büyüklükteki resimleri silecektir.', //cpg1.4
-  'delete_replace' => 'Yeniden boyutlanma versiyonu ile fotoğrafları orjinal boyutlarını siler',
-  'titles_deleted' => 'Seçilen albumdeki başlıklar silinecek', //cpg1.4
-  'deleting_intermediates' => 'Orta boyuttaki resimler siliniyor, lütfen bekleyiniz...', //cpg1.4
-  'searching_orphans' => 'Searching for orphans, please wait...', //cpg1.4
-  'select_album' => 'Albüm seç',
-  'delete_orphans' => 'Olmayan dosyaların yorumlarını sil (bütün albümlerin üzerinde çalışır)', //cpg1.3.0
-  'delete_orphans_explanation' => 'Bu şekilde sistemde artık olmayan dosyalara yapılan yorumları temizleyebilirsiniz.<br />Albümlerin tamamını seç.', //cpg1.4
-  'refresh_db' => 'Dosya boyutlarını ve bilgilerini tekrar kontrol et.', //cpg1.4
-  'refresh_db_explanation' => 'Dosyaların boyutları ve bilgilerini tekrar kontrol edip güncelleyebilirsiniz. Eğer dosyalarınız kendiniz yazdıysanız bu seçenegi seçiniz.', //cpg1.4
-  'reset_views' => 'Bakılma sayacını sıfırla', //cpg1.4
-  'reset_views_explanation' => 'Seçilen albumdeki bakılma sayaçlarını sıfırla.', //cpg1.4
-  'orphan_comment' => 'bağlantısız bir yorum bulundu',
-  'delete' => 'Sil', //cpg1.3.0
-  'delete_all' => 'Tümünü sil', //cpg1.3.0
-  'delete_all_orphans' => 'Bağlantısız yorumların tamamını sil?', //cpg1.4
-  'comment' => 'Yorum: ', //cpg1.3.0
-  'nonexist' => 'olmayan bir dosyaya bağlı # ', //cpg1.3.0
-  'phpinfo' => 'phpinfo göster', //cpg1.3.0
-  'phpinfo_explanation' => 'Web sunucunuz hakkında teknik bilgi içerir.<br /> - Bu bilgiler herhangi bir konuda bilgi destegi istediginizde gerekli olabilir.', //cpg1.4
-  'update_db' => 'veritabanını güncelle', //cpg1.3.0
-  'update_db_explanation' => 'Eğer coppermine resimleri tekrar yerleştirmişsen, değişiklik, eklenti yada Copperminenin yeni versiyonu yüklemişsen bu seçenegi kullanabilirsiniz, sisteminizdeki veritabanın güncellenir. Bu gerekli çizelgeleri ve/veya seçenekleri coppermine veri tabanında değerlendirir.', //cpg1.3.0
-  'view_log' => 'Günlük dosyalarını göster', //cpg1.4
-  'view_log_explanation' => 'Buradan Coppermine sistemindeki yapılanları detaylı bir günlükte görebilirsiniz. Bu günlüge girebilmek için <a href="admin.php">coppermine config</a>.', //cpg1.4
-  'versioncheck' => 'Sürüm kontrol', //cpg1.4
-  'versioncheck_explanation' => 'Buradan kullandıgınız sistemin güncel sürümlerini görebilirsiniz.', //cpg1.4
-  'bridgemanager' => 'Köprü ayarları', //cpg1.4
-  'bridgemanager_explanation' => 'Diger programlarla kurdugunuz köprüleri açıp kapatabilir veya ayarlarını degiştirebilirsniz.', //cpg1.4
-);
-}
-// ------------------------------------------------------------------------- //
-// File versioncheck.php //cpg1.4
-// ------------------------------------------------------------------------- //
-
-if (defined('VERSIONCHECK_PHP')) $lang_versioncheck_php = array(
-  'title' => 'Sürüm kontrol', //cpg1.4
-  'what_it_does' => 'Bu ekran Coppermine sürümünü güncellemiş kullanıcılar içindir. Bu yazılım sizin dosyalarınızın Coppirme sitesindeki (http://coppermine.sourceforge.net) dosyalarla aynı olup olmadığını kontrol eder ve bu şekilde programdaki eksiklikleri görebilirsiniz. <br />Düzeltilmesi gerekenler kırmızı gösterir. Sarı ile tekrar kontrol edilmesi gereken yerleri gösterir. Yeşil olarak gösterilenlerde ise bir sorun yok. Yardım tuşlarına basarak geniş bilgi alabilirsiniz.', //cpg1.4
-  'online_repository_unable' => 'Depoya ulaşılamıyor', //cpg1.4
-  'online_repository_noconnect' => 'Coppermine depoya ulaşamıyor. Sebeb olarak şu sorunlar olabilir:', //cpg1.4
-  'online_repository_reason1' => 'Coppermine deposu şu anda hizmet dışı olabilir - Sayfayı kontrol ediniz: %s - Bu sayfaya ulaşamıyorsanız, tekrar deneyiniz.', //cpg1.4
-  'online_repository_reason2' => 'Sunucunuzdaki PHP ayarlarıdn %s kapalı (normalde acık olmalı). Sunucu yöneticinize bu seçenegi açtırınız. <i>php.ini</i> (at least allow it to be overridden with %s). Eğer bu dosyalar değiştirilemez ise dosyaları karşılaştırmak mümkün olmıyacaktır. Ve sadece burada kullandığınız sürüm yazılacaktır.', //cpg1.4
-  'online_repository_skipped' => 'Depoya ulaşmayı iptal et', //cpg1.4
-  'online_repository_to_local' => 'Bu yazılım şimdi tekrar yerel klasöre geri döndü. Eğer dosyaları kontrol etmiş ve yükleme anında kapatmışsanız programınız belki güvenilir bir şekilde çalışmayabilir. Bu sürümden sonraki değişiklikler uygulanmıyacaktır.', //cpg1.4
-  'local_repository_unable' => 'Sunucunuzdaki depoya ulaşılamıyor', //cpg1.4
-  'local_repository_explanation' => 'Coppermine sizin depo dosyalarınıza %s ulaşamıyor. Bu belki sizin dosyalarınızı depoya yüklemediğinizden dolayı kaynaklanabilir. Dosyaları yükleyin ve tekrar deneyiniz.<br />Eğer hala düzelmediyse belki web sunucunuz <a href="http://www.php.net/manual/en/ref.filesystem.php">PHP\'s dosya sistemlerinin bir kısmını kapatmış olabilir.</a>. Eğer öyle ise malesef bu modulu kullanamazsınız.', //cpg1.4
-  'coppermine_version_header' => 'Kurulu Coppermine sürümü', //cpg1.4
-  'coppermine_version_info' => 'Kullandıgınız Coppermine sürümü: %s', //cpg1.4
-  'coppermine_version_explanation' => 'Son sürümünü yüklediğiniz halde ekranda gösterilen sürüm doğru degil ise büyük bi ihtimalle <i>include/init.inc.php</i> dosyasının son sürmü sisteminizde yüklü değil.', //cpg1.4
-  'version_comparison' => 'Sürüm karşılaştır', //cpg1.4
-  'folder_file' => 'klasör/dosya', //cpg1.4
-  'coppermine_version' => 'Coppermine sürümü', //cpg1.4
-  'file_version' => 'Sizin kullandığınız sürüm', //cpg1.4
-  'webcvs' => 'web svn', //cpg1.4
-  'writable' => 'yazılabilir', //cpg1.4
-  'not_writable' => 'yazılamaz', //cpg1.4
-  'help' => 'Yardım', //cpg1.4
-  'help_file_not_exist_optional1' => 'dosya/klasör bulunamadı', //cpg1.4
-  'help_file_not_exist_optional2' => 'dosya/klasör bulunamadı %s sunucunuzda bulunamadı. Meçburi bir dosya/klasör olmamasına karşın sorunla karşılaşırsanız yükleyiniz.', //cpg1.4
-  'help_file_not_exist_mandatory1' => 'dosya/klasör bulunamadı', //cpg1.4
-  'help_file_not_exist_mandatory2' => 'dosya/klasör bulunamadı %s sunucunuzda bulunamadı. Meçburi bir dosya/klasör olmamasına karşın sunucunuza ftp ile yükleyiniz.', //cpg1.4
-  'help_no_local_version1' => 'Yerel sürümü bulunamadı veya okunamıyor', //cpg1.4
-  'help_no_local_version2' => 'Yerel dosya bulunamdı veya okunamıyor - dosyanız eskimiş veya değiştirilmiş olabilir. Lütfen yeniden yükleyiniz.', //cpg1.4
-  'help_local_version_outdated1' => 'Yerel dosya sürümü eskimiş', //cpg1.4
-  'help_local_version_outdated2' => 'Bu dosyanın sürümü eskimiş. Büyük bir ihtimalle eski sürümlerden kalmış. Lütfen yeni sürümü ile değiştirin.', //cpg1.4
-  'help_local_version_na1' => 'cvs bilgileri okunamıyor', //cpg1.4
-  'help_local_version_na2' => 'Proğram sizin sunucunuzdaki cvs dosyasının sürümünü okuyamıyor. Lütfen yeniden yükleyiniz.', //cpg1.4
-  'help_local_version_dev1' => 'Geliştirme sürümü', //cpg1.4
-  'help_local_version_dev2' => 'Bu dosya göründüğü kadarı ile Coppermine resmi sürümünden daha yeni. Büyük bir ihtimalle geliştirme sürümünü kullanıyorsunuz. (Geliştirme sürümleri sadece uzman kullanıcılar içindir), veya include/init.inc.php dosyanızda sorun var', //cpg1.4
-  'help_not_writable1' => 'Klasör yazılamıyor', //cpg1.4
-  'help_not_writable2' => 'Lütfen %s klasörünün ve onun altındakilerin yetkilerini (CHMOD) tekrar yazılabilecek şekilde ayarlayın.', //cpg1.4
-  'help_writable1' => 'Klasör yazılabilir', //cpg1.4
-  'help_writable2' => 'Klasör %s şu anda yazılabilir. Bu gereksiz risk oluşturabilir, coppermine sadece okuma/uygulama yetkilerini kullanır.', //cpg1.4
-  'help_writable_undetermined' => 'Coppermine klasörün yazılabilirliğini tespit edemedi.', //cpg1.4
-  'your_file' => 'sizin dosyanız', //cpg1.4
-  'reference_file' => 'internet dosyası', //cpg1.4
-  'summary' => 'Acıklama', //cpg1.4
-  'total' => 'Toplam bakılan dosya/klasör', //cpg1.4
-  'mandatory_files_missing' => 'Bulunamıyan gerekli dosya', //cpg1.4
-  'optional_files_missing' => 'Opsiyonel bulunamıyan dosya', //cpg1.4
-  'files_from_older_version' => 'Eski Coppermine sürümlerinden kalan dosya', //cpg1.4
-  'file_version_outdated' => 'Eskimiş dosya sürümlü', //cpg1.4
-  'error_no_data' => 'Bu modulde bir hata oluştu, bu yüzden gereken doğru bilgileri gösteremedi. Özür dileriz.', //cpg1.4
-  'go_to_webcvs' => '%s a git', //cpg1.4
-  'options' => 'Ayarlar', //cpg1.4
-  'show_optional_files' => 'opsiyonel dosya/klasörleri göster', //cpg1.4
-  'show_mandatory_files' => 'gerekl dosyaları göster', //cpg1.4
-  'show_file_versions' => 'dosya sürümünü göster', //cpg1.4
-  'show_errors_only' => 'sadece hatalı dosya/klasörleri göster', //cpg1.4
-  'show_permissions' => 'klasör yetkilerini göster', //cpg1.4
-  'show_condensed_output' => 'basit sunuçları göster(mesala ekran kopyası için)', //cpg1.4
-  'coppermine_in_webroot' => 'coppermine sunucunun webroot bölümünde kurulu', //cpg1.4
-  'connect_online_repository' => 'Coppermine deposuna bağlanmaya çalış', //cpg1.4
-  'show_additional_information' => 'geniş bilgileri göster', //cpg1.4
-  'no_webcvs_link' => 'cvs linkini gösterme', //cpg1.4
-  'stable_webcvs_link' => 'sağlam çalışan cvs linkini göster', //cpg1.4
-  'devel_webcvs_link' => 'geliştirme cvs linkini göster', //cpg1.4
-  'submit' => 'değişiklikleri uygula / yenile', //cpg1.4
-  'reset_to_defaults' => 'fabrika ayarlarına geri dön', //cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File view_log.php  //cpg1.4
-// ------------------------------------------------------------------------- //
-
-if (defined('VIEWLOG_PHP')) $lang_viewlog_php = array(
-  'delete_all' => 'Günlüklerin tamamını sil', //cpg1.4
-  'delete_this' => 'Günlüğü sil', //cpg1.4
-  'view_logs' => 'Günlüğü göster', //cpg1.4
-  'no_logs' => 'Herhangi bir günlük oluşturulmadı.', //cpg1.4
-);
-
-
-// ------------------------------------------------------------------------- //
-// File xp_publish.php //cpg1.4
-// ------------------------------------------------------------------------- //
-
-if (defined('XP_PUBLISH_PHP')) {
-
-$lang_xp_publish_client = <<<EOT
-<h1>XP Web Publishing Wizard Client</h1><p>This module allows to use <b>Windows XP</b> web publishing wizard with Coppermine.</p><p>Code is based on article posted by
-EOT;
-
-$lang_xp_publish_required = <<<EOT
-<h2>What is required</h2><ul><li>Windows XP in order to have the wizard.</li><li>A working installation of Coppermine on which <b>the web upload function works properly.</b></li></ul><h2>How to install on client side</h2><ul><li>Right click on
-EOT;
-
-$lang_xp_publish_select = <<<EOT
-Select &quot;save target as..&quot;. Save the file on your hard drive. When saving the file, check that the proposed file name is <b>cpg_###.reg</b> (the ### represents a numerical timestamp). Change it to that name if necessary (leave the numbers). When downloaded, double click on the file in order to register your server with the web publishing wizard.</li></ul>
-EOT;
-
-$lang_xp_publish_testing = <<<EOT
-<h2>Testing</h2><ul><li>In Windows Explorer, select some files and click on <b>Publish xxx on the web</b> in the left pane.</li><li>Confirm your file selection. Click on <b>Next</b>.</li><li>In the list of services that appear, select the one for your photo gallery (it has the name of your gallery). If the service does not appear, check that you have installed <b>cpg_pub_wizard.reg</b> as described above.</li><li>Input your login information if required.</li><li>Select the target album for your pictures or create a new one.</li><li>Click on <b>next</b>. The upload of your pictures starts.</li><li>When it is completed, check your gallery to see if pictures have been properly added.</li></ul>
-EOT;
-
-$lang_xp_publish_notes = <<<EOT
-<h2>Notes :</h2><ul><li>Once the upload has started, the wizard can't display any error message returned by the script so you can't know if the upload failed or succeeded until you check your gallery.</li><li>If the upload fails, enable &quot;Debug mode&quot; on the Coppermine admin page, try with one single picture and check error messages in the
-EOT;
-
-$lang_xp_publish_flood = <<<EOT
-file that is located in Coppermine directory on your server.</li><li>In order to avoid that the gallery be <i>flooded</i> by pictures uploaded through the wizard, only the <b>gallery admins</b> and <b>users that can have their own albums</b> can use this feature.</li>
-EOT;
-
-$lang_xp_publish_php = array(
-  'title' => 'Coppermine - XP Web yayınlama sihirbazı', //cpg1.4
-  'welcome' => 'Hoşgeidiniz <b>%s</b>,', //cpg1.4
-			'need_login' => 'Sihirbazı kullanabilmek için galeriye giriş yapmış olmalısınız.<p/><p>Giriş yaparken <b>beni hatırla</b> seçenegini kullanmayı unutmayın.', //cpg1.4
-			'no_alb' => 'Özürdilerim, Ama malesef şu anda bu resimleri yükleyebileceginiz bir albüm bulunamadı.', //cpg1.4
-			'upload' => 'Olan bir albümün içine resimleri yükle.', //cpg1.4
-			'create_new' => 'Albüm için yeni bir albüm oluştur.', //cpg1.4
-			'album' => 'Albüm', //cpg1.4
-			'category' => 'Katagori',
-			'new_alb_created' => '&quot;<b>%s</b>&quot; isimli albümünüz oluşturuldu.', //cpg1.4
-			'continue' => 'Devam etmek için &quot;Sonraki&quot; tuşuna basınız', //cpg1.4
-			'link' => 'bu link', //cpg1.4
-);
-}
+<?php
+/*************************
+  Coppermine Photo Gallery
+  ************************
+  Copyright (c) 2003-2009 Coppermine Dev Team
+  v1.1 originally written by Gregory DEMAR
+
+  This program is free software; you can redistribute it and/or modify
+  it under the terms of the GNU General Public License version 3
+  as published by the Free Software Foundation.
+  
+  ********************************************
+  Coppermine version: 1.4.25
+  $HeadURL: https://coppermine.svn.sourceforge.net/svnroot/coppermine/trunk/cpg1.4.x/lang/turkish.php $
+  $Revision: 6000 $
+  $Author: gaugau $
+  $Date: 2009-05-26 18:29:24 +0200 (Di, 26 Mai 2009) $
+**********************************************/
+if (!defined('IN_COPPERMINE')) { die('Not in Coppermine...');}
+
+// info about translators and translated language
+$lang_translation_info = array(
+  'lang_name_turkish' => 'Turkish',
+  'lang_name_native' => 'Türkçe',
+  'lang_country_code' => 'tr',
+  'trans_name'=> 'Ibrahim ALTINOK(v1,3 sürümüne kadar) Katip(v1,4 sürümü)',
+  'trans_email' => 'ibrahim@lavinya.net(v1,3 sürümüne kadar), Katip2002@yahoo.com (v1,4 sürümü)',
+  'trans_website' => 'http://www.lavinya.net/',
+  'trans_date' => '2006-05-06',
+);
+
+$lang_charset = 'utf-8';
+$lang_text_dir = 'ltr'; // ('ltr' for left to right, 'rtl' for right to left)
+
+// shortcuts for Byte, Kilo, Mega
+$lang_byte_units = array('Bytes', 'KB', 'MB');
+
+// Day of weeks and months
+$lang_day_of_week = array('Paz', 'Pzt', 'Sal', 'Çar', 'Per', 'Cum', 'Cmt');
+$lang_month = array('Ock', 'Şub', 'Mrt', 'Nis', 'May', 'Haz', 'Tem', 'Agu', 'Eyl', 'Ekm', 'Kas', 'Arl');
+
+// Some common strings
+$lang_yes = 'Evet';
+$lang_no  = 'Hayır';
+$lang_back = 'GERİ';
+$lang_continue = 'DEVAM ET';
+$lang_info = 'Bilgi';
+$lang_error = 'Hata';
+$lang_check_uncheck_all = 'tamamı/hiçbiri'; //cpg1.4
+
+// The various date formats
+// See http://www.php.net/manual/en/function.strftime.php to define the variable below
+$album_date_fmt =    '%B %d, %Y';
+$lastcom_date_fmt =  '%m/%d/%y at %H:%M';
+$lastup_date_fmt = '%B %d, %Y';
+$register_date_fmt = '%B %d, %Y';
+$lasthit_date_fmt = '%B %d, %Y at %I:%M %p';
+$comment_date_fmt =  '%B %d, %Y at %I:%M %p';
+$log_date_fmt = '%B %d, %Y at %I:%M %p'; //cpg1.4
+
+// For the word censor
+$lang_bad_words = array('bok*', '*erefsiz', 'sikerim', 'göt*', 'eşeko*', 'orosp*', 'pezev*', 'cum', 'cunt*', 'dago', 'daygo', 'dego', 'dick*', 'dildo', 'fanculo', 'feces', 'foreskin', 'Fu\(*', 'fuk*', 'honkey', 'hore', 'injun', 'kike', 'lesbo', 'masturbat*', 'motherfucker', 'nazis', 'nigger*', 'nutsack', 'penis', 'phuck', 'poop', 'pussy', 'scrotum', 'shit', 'slut', 'titties', 'titty', 'twaty', 'wank*', 'whore', 'wop*');
+
+$lang_meta_album_names = array(
+  'random' => 'Rastgele Dosya',
+  'lastup' => 'Son Yüklenenler',
+  'lastalb'=> 'Son Yorum Yapılanlar',
+  'lastcom' => 'Son Yorumlar',
+  'topn' => 'En Son Bakılan',
+  'toprated' => 'En Beğenilen',
+  'lasthits' => 'Son Bakılan',
+  'search' => 'Arama Sonuçları',
+  'favpics'=> 'Favorilerim', //cpg1.4
+);
+
+$lang_errors = array(
+  'access_denied' => 'Bu Sayfaya erişim hakkınız yok.',
+  'perm_denied' => 'Bu işlemi yapma hakkınız yok.',
+  'param_missing' => 'Eksik parametre(ler)!',
+  'non_exist_ap' => 'Böyle bir albümde resim yok !',
+  'quota_exceeded' => 'Diks alanı aşıldı<br /><br />[quota]K da boş bir alanınız var, resimleriniz şuanda kullanılıyor [space]K, bu resmi eklemek alanınızı aşıracaktır.',
+  'gd_file_type_err' => 'Eğer GD image library kullanılıyorsa sadece JPEG ve PNG formatları işlenebilir.',
+  'invalid_image' => 'Yolladığınız resim hasarlı yada GD library tarafından işlenemiyor',
+  'resize_failed' => 'Simge yada Düşürülmüş kalite resmi yaratılmadı.',
+  'no_img_to_display' => 'Gösterilebilecek resim yok',
+  'non_exist_cat' => 'Seçili Kategori yok',
+  'orphan_cat' => 'Katagorinin üst katagorisi belli değil, düzeltmek için katagori yönete gidiniz.', //cpg1.3.0
+  'directory_ro' => ' \'%s\'  klasörü yazılabilir değil, resimler silinemedi.', //cpg1.3.0
+  'non_exist_comment' => 'Seçili Yorum aslında yok.',
+  'pic_in_invalid_album' => 'Seçili resim geçersiz bir albümde (%s)!?', //cpg1.3.0
+  'banned' => 'Kullanılan bu siteden banlandınız',
+  'not_with_udb' => 'Bu fonksiyon Coppermine da kullanılamaz çünkü forum yazılımı ile bütünleştirildi. Yapmaya çalıştığınız şey bü şekilde kaldırılamadı, yada fonksiyon forum yazlımı tarafından elegeçirildi.',
+  'offline_title' => 'Kapalı',
+  'offline_text' => 'Galeri kapalı- ilerde tekrar deneyin', //cpg1.3.0
+  'ecards_empty' => 'Ekart kayıtı bulunmamaktadır. Coppermine seçeneklerindeki  ekart giriş imkanını kontrol edin!', //cpg1.3.0
+  'action_failed' => 'İşlem olmadı.  Coppermine sizin talebinizi işleyemedi.', //cpg1.3.0
+  'no_zip' => 'ZIP dosyası oluşturmak için gerekli dosyalar bulunamadı.  Lütfen Coppermine admininiz ile iletişime geçin.', //cpg1.3.0
+  'zip_type' => 'ZIP dosyalarını yüklemek için yetkiniz yok.', //cpg1.3.0
+  'database_query' => 'Veritabanı yazarken hata oluştu', //cpg1.4
+  'register_globals_on' => 'Sunucunuzdaki PHP ayarlarında register_globals açık olarak ayarlanmış. Güvenliğiniz için kötü bir fikir olduğundan bunu kapatmanızı şiddetle tavsiye ediyoruz. [<a href="http://forum.coppermine-gallery.net/index.php/topic,59569.0.html" rel="external" class="external">devamı</a>]',
+);
+
+$lang_bbcode_help_title = 'bbcode yardım'; //cpg1.4
+$lang_bbcode_help = 'Kullanabileçeğiniz bbcodları: <li>[b]Bold[/b] =&gt; <b>Bold</b></li><li>[i]Italic[/i] =&gt; <i>Italic</i></li><li>[url=http://yoursite.com/]Url Text[/url] =&gt; <a href="http://yoursite.com">Url Text</a></li><li>[email]user@domain.com[/email] =&gt; <a href="mailto:user@domain.com">user@domain.com</a></li><li>[color=red]some text[/color] =&gt; <span style="color:red">some text</span></li><li>[img]http://coppermine-gallery.net/demo/cpg14x/images/red.gif[/img] => <img src="../images/red.gif" border="0" alt="" /></li>'; //cpg1.4
+
+// ------------------------------------------------------------------------- //
+// File theme.php
+// ------------------------------------------------------------------------- //
+
+$lang_main_menu = array(
+  'home_title' => 'Ana Sayfa',
+  'home_lnk' => 'Ana Sayfa',
+  'alb_list_title' => 'Albüm listesine git',
+  'alb_list_lnk' => 'Albüm Listesi',
+  'my_gal_title' => 'Kişisel galerime git',
+  'my_gal_lnk' => 'Galerim',
+  'my_prof_title' => 'Kişisel profilime git', //cpg1.4
+  'my_prof_lnk' => 'Kişisel profilim',
+  'adm_mode_title' => 'Yönetici moduna Geç',
+  'adm_mode_lnk' => 'Admin modu',
+  'usr_mode_title' => 'Kullanıcı moduna Geç',
+  'usr_mode_lnk' => 'Kullanıcı modu',
+  'upload_pic_title' => 'Bir Albüme Resim Ekle', //cpg1.3.0
+  'upload_pic_lnk' => 'Resim yükle', //cpg1.3.0
+  'register_title' => 'Albüme resim ekle',
+  'register_lnk' => 'Kayıt ol',
+  'login_title' => 'Giriş', //cpg1.4
+  'login_lnk' => 'Giriş',
+  'logout_title' => 'Çıkış', //cpg1.4
+  'logout_lnk' => 'Çıkış',
+  'lastup_title' => 'Son yüklenenleri göster', //cpg1.4
+  'lastup_lnk' => 'Son yüklenenler',
+  'lastcom_title' => 'Son yorumları göster', //cpg1.4
+  'lastcom_lnk' => 'Son yorumlar',
+  'topn_title' => 'En çok bakılanları göster', //cpg1.4
+  'topn_lnk' => 'En çok bakılanlar',
+  'toprated_title' => 'En beğenilenler göster', //cpg1.4
+  'toprated_lnk' => 'En beğenilenler',
+  'search_title' => 'Galeride ara', //cpg1.4
+  'search_lnk' => 'Ara',
+  'fav_title' => 'Favorilerime git', //cpg1.4
+  'fav_lnk' => 'Favorilerim',
+  'memberlist_title' => 'Üye listesini göster', //cpg1.3.0
+  'memberlist_lnk' => 'Üye listesi', //cpg1.3.0
+  'faq_title' => 'Resim galerisi üzerindeki Sorulan Soru &quot;Coppermine&quot;', //cpg1.3.0
+  'faq_lnk' => 'S.S.S.',
+);
+
+$lang_gallery_admin_menu = array(
+  'upl_app_title' => 'Resim yükleme onayları', //cpg1.4
+  'upl_app_lnk' => 'Resim yükleme onayları',
+  'admin_title' => 'Ayarlar', //cpg1.4
+  'admin_lnk' => 'Ayarlar', //cpg1.4
+  'albums_title' => 'Albüm ayarları', //cpg1.4
+  'albums_lnk' => 'Albümler',
+  'categories_title' => 'Kategori ayarları', //cpg1.4
+  'categories_lnk' => 'Kategoriler',
+  'users_title' => 'Kullanıcı ayarları', //cpg1.4
+  'users_lnk' => 'Kullanıcılar',
+  'groups_title' => 'Grup ayarları', //cpg1.4
+  'groups_lnk' => 'Gruplar',
+  'comments_title' => 'Yorum ayarları', //cpg1.4
+  'comments_lnk' => 'Yorumlar', //cpg1.3.0
+  'searchnew_title' => 'Çoklu resim eklemeyi aç', //cpg1.4
+  'searchnew_lnk' => 'Çoklu resim ekleme', //cpg1.3.0
+  'util_title' => 'Admin seçenekleri', //cpg1.4
+  'util_lnk' => 'Admin seçenekleri', //cpg1.3.0
+  'key_title' => 'Arama sözlüğü', //cpg1.4
+  'key_lnk' => 'Arama sözlüğü', //cpg1.4
+  'ban_title' => 'Kullanıcı banla', //cpg1.4
+  'ban_lnk' => 'Kullanıcı banla',
+  'db_ecard_title' => 'Ekart gösterimi', //cpg1.4
+  'db_ecard_lnk' => 'Ekart gösterimi', //cpg1.3.0
+  'pictures_title' => 'Resimlerimi sırala', //cpg1.4
+  'pictures_lnk' => 'Resimlerimi sırala', //cpg1.4
+  'documentation_lnk' => 'Belgeler', //cpg1.4
+  'documentation_title' => 'Coppermine kullanım kılavuzu', //cpg1.4
+);
+
+$lang_user_admin_menu = array(
+  'albmgr_title' => 'Albüm oluştur / düzenle', //cpg1.4
+  'albmgr_lnk' => 'Albüm oluştur / düzenle',
+  'modifyalb_title' => 'Albüm seçenekleri',  //cpg1.4
+  'modifyalb_lnk' => 'Albüm seçenekleri',
+  'my_prof_title' => 'Kişisel Profilim', //cpg1.4
+  'my_prof_lnk' => 'Kişisel Profilim',
+);
+
+$lang_cat_list = array(
+        'category' => 'Kategori',
+        'albums' => 'Albümler',
+  	  'pictures' => 'Resimler', //cpg1.3.0
+);
+
+$lang_album_list = array(
+        'album_on_page' => '%d albüm var %d sayfada'
+);
+
+$lang_thumb_view = array(
+  'date' => 'Tarih',
+  //Sort by filename and title
+  'name' => 'Ad',
+  'title' => 'Konu',
+  'sort_da' => 'Tarihe göre ARTAN sırala',
+  'sort_dd' => 'Tarihe göre AZALAN sırala',
+  'sort_na' => 'Ada göre ARTAN sırala',
+  'sort_nd' => 'Ada göre AZALAN sırala',
+  'sort_ta' => 'Konuya göre ARTAN sırala',
+  'sort_td' => 'Konuya göre AZALAN sırala',
+  'position' => 'Konum', //cpg1.4
+  'sort_pa' => 'Yükselen sınıflama', //cpg1.4
+  'sort_pd' => 'Alçalan sınıflama ', //cpg1.4
+  'download_zip' => 'Zip dosyası olarak indir', //cpg1.3.0
+  'pic_on_page' => '%d resim var %d sayfada',
+  'user_on_page' => '%d kullanıcı var %d sayfada', //cpg1.3.0
+  'enter_alb_pass' => 'Albüm şifresi', //cpg1.4
+  'invalid_pass' => 'Yanlış şifre', //cpg1.4
+  'pass' => 'Şifre', //cpg1.4
+  'submit' => 'Tamam', //cpg1.4
+);
+
+$lang_img_nav_bar = array(
+  'thumb_title' => 'Küçük resim sayfasına dön',
+  'pic_info_title' => 'Resim özelliklerini göster/sakla', //cpg1.3.0
+  'slideshow_title' => 'Ard arda (slide) gösterim',
+  'ecard_title' => 'Bu resmi bir e-kartpostal olarak yolla ', //cpg1.3.0
+  'ecard_disabled' => 'e-kartpostal özelliği etkin değil',
+  'ecard_disabled_msg' => 'E-kartpostal yollama izniniz yok', //js-alert //cpg1.3.0
+  'prev_title' => 'Önceki resme bak', //cpg1.3.0
+  'next_title' => 'Sonraki resme bak', 
+  'pic_pos' => 'Resim %s/%s', 
+  'report_title' => 'Bu dosyayı yöneticiye bildir', //cpg1.4
+  'go_album_end' => 'Sona git', //cpg1.4
+  'go_album_start' => 'Başa dön', //cpg1.4
+  'go_back_x_items' => ' %s dosya dön', //cpg1.4
+  'go_forward_x_items' => ' %s dosya ileri git', //cpg1.4
+);
+
+$lang_rate_pic = array(
+  'rate_this_pic' => 'Bu resimi puanla', 
+  'no_votes' => '(Puanlama henüz yok)',
+  'rating' => '(Güncel Beğeni Oranı : %s / 5 etkiyen %s oy',
+  'rubbish' => 'Berbat',
+  'poor' => 'Değersiz',
+  'fair' => 'İdare Eder',
+  'good' => 'İyi',
+  'excellent' => 'Çok İyi',
+  'great' => 'Mükemmel',
+);
+
+// ------------------------------------------------------------------------- //
+// File include/exif.inc.php
+// ------------------------------------------------------------------------- //
+
+// void
+
+// ------------------------------------------------------------------------- //
+// File include/functions.inc.php
+// ------------------------------------------------------------------------- //
+
+$lang_cpg_die = array(
+  INFORMATION => $lang_info,
+  ERROR => $lang_error,
+  CRITICAL_ERROR => 'Kritik Hata',
+  'file' => 'Dosya: ',
+  'line' => 'Satır: ',);
+
+$lang_display_thumbnails = array(
+  'filename' => 'Dosya adı=', //cpg1.4
+  'filesize' => 'Dosya büyüklüğü=', //cpg1.4
+  'dimensions' => 'Ölçüler=', //cpg1.4
+  'date_added' => 'Eklenen tarih=', //cpg1.4
+);
+
+$lang_get_pic_data = array(
+  'n_comments' => '%s yorum yapıldı',
+  'n_views' => '%s kez bakıldı',
+  'n_votes' => '(%s oy verildi)'
+);
+
+$lang_cpg_debug_output = array(
+  'debug_info' => 'Hata temizleme bilgisi', 
+  'select_all' => 'Tümünü Seç', 
+  'copy_and_paste_instructions' => 'Coppermine den yardım talebinde bulunacaksanız, hata temizleme bilgisini kopyala yapıştır ile gönderiniz. Yollamadan önce *** ile olan yerleri tekrar doldurun.', 
+  'phpinfo' => 'phpbilgilerini göster', 
+  'notices' => 'Not', //cpg1.4
+);
+
+$lang_language_selection = array(
+  'reset_language' => 'Varsayılan dil', 
+  'choose_language' => 'Dil seçin', 
+);
+
+$lang_theme_selection = array(
+  'reset_theme' => 'Varsayılan konu', 
+  'choose_theme' => 'Konu seçiniz', 
+);
+
+$lang_version_alert = array(
+  'version_alert' => 'Desteksiz sürüm!', //cpg1.4
+  'no_stable_version' => 'Kullandıgınız Coppermine sürümü %s (%s) Bu sürüm sadece deneyimli kullanıcılar içindir - bu sürüme herhangi bir teknik destek verilmemektedir. Kullanmak tamamen kendi risikonuzda olup. Desteklenen çalışır sürmler için önceki sürümleri kullanınız!', //cpg1.4
+  'gallery_offline' => 'Galeri şu anda kapalı ve sadece admin tarafından görülebilmektedir. Ayarları bitirdikten sonra tekrar açmayı unutmayınız.', //cpg1.4
+);
+
+$lang_create_tabs = array(
+  'previous' => ' ÖNCEKİ EKRAN ', //cpg1.4
+  'next' => ' SONRAKİ EKRAN ', //cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File include/init.inc.php
+// ------------------------------------------------------------------------- //
+
+// void
+
+// ------------------------------------------------------------------------- //
+// File keyword.inc.php                                                      //
+// ------------------------------------------------------------------------- //
+
+// void
+
+// ------------------------------------------------------------------------- //
+// File include/picmgmt.inc.php
+// ------------------------------------------------------------------------- //
+
+// void
+
+// ------------------------------------------------------------------------- //
+// File include/plugin_api.inc.php
+// ------------------------------------------------------------------------- //
+$lang_plugin_api = array(
+  'error_wakeup' => "'%s'plugini uyandıramadı", //cpg1.4
+  'error_install' => "'%s'plugini kuramadı", //cpg1.4
+  'error_uninstall' => "'%s' plugini kaldıramadı", //cpg1.4
+  'error_sleep' => " '%s'  plugini kaldıramadı<br />", //cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File include/smilies.inc.php
+// ------------------------------------------------------------------------- //
+
+if (defined('SMILIES_PHP')) $lang_smilies_inc_php = array(
+  'Exclamation' => 'Ünlem',
+  'Question' => 'Soru',
+  'Very Happy' => 'Çok mutlu',
+  'Smile' => 'Gülümsiyen',
+  'Sad' => 'Üzgün',
+  'Surprised' => 'Şaşırmış',
+  'Shocked' => 'Şok olmuş',
+  'Confused' => 'Kafası karışık',
+  'Cool' => 'Cool',
+  'Laughing' => 'Gülen',
+  'Mad' => 'Deli',
+  'Razz' => 'Razz',
+  'Embarassed' => 'Utanmış',
+  'Crying or Very sad' => 'Çok üzgün veya ağlama',
+  'Evil or Very Mad' => 'Şeytan veye manyak',
+  'Twisted Evil' => 'Sapıtmış şeytan',
+  'Rolling Eyes' => 'Gözü dönmüş',
+  'Wink' => 'Gözkırpan',
+  'Idea' => 'Ampül fikirli',
+  'Arrow' => 'Ok',
+  'Neutral' => 'Doğal',
+  'Mr. Green' => 'Bay yeşil',
+);
+
+// ------------------------------------------------------------------------- //
+// File addpic.php
+// ------------------------------------------------------------------------- //
+
+// void
+
+// ------------------------------------------------------------------------- //
+// File mode.php //cpg1.4
+// ------------------------------------------------------------------------- //
+
+if (defined('MODE_PHP')) $lang_mode_php = array(
+  0 => 'Yönetici modu terkediliyor...',
+  1 => 'Yönetici moduna geçiliyor...',
+);
+
+// ------------------------------------------------------------------------- //
+// File albmgr.php
+// ------------------------------------------------------------------------- //
+
+if (defined('ALBMGR_PHP')) $lang_albmgr_php = array(
+  'alb_need_name' => 'Albümlerin adı olmalı!', //js-alert
+  'confirm_modifs' => 'Bu değişiklikleri yapmak istediğinizden eminmisiniz?', //js-alert
+  'no_change' => 'Değişiklik yapmadınız!', //js-alert
+  'new_album' => 'Yeni albüm',
+  'confirm_delete1' => 'Bu albümü silmek istediğinizden eminmisiniz ?', //js-alert
+  'confirm_delete2' => '\n Bütün RESİMLER,YORUMLAR ve İÇERİĞİ YOK OLACAK !', //js-alert
+  'select_first' => 'İlk önce bir albüm seçiniz', //js-alert
+  'alb_mrg' => 'Albüm ayarları',
+  'my_gallery' => '* Kişisel galerim *',
+  'no_category' => '* Kategori yok *',
+  'delete' => 'Sil',
+  'new' => 'Yeni',
+  'apply_modifs' => 'Değişiklikleri yap',
+  'select_category' => 'Kategori seç',
+);
+
+// ------------------------------------------------------------------------- //
+// File banning.php
+// ------------------------------------------------------------------------- //
+
+if (defined('BANNING_PHP')) $lang_banning_php = array(
+  'title' => 'Kullanıcıyı banla', //cpg1.4
+  'user_name' => 'Üye adı', //cpg1.4
+  'ip_address' => 'İP adresi', //cpg1.4
+  'expiry' => 'Süre (Sürekli banlamak için boş bırakın)', //cpg1.4
+  'edit_ban' => 'Tamam', //cpg1.4
+  'delete_ban' => 'Sil', //cpg1.4
+  'add_new' => 'Yeni ban ekle', //cpg1.4
+  'add_ban' => 'Ekle', //cpg1.4
+  'error_user' => 'Kullanıcı bulanamıyor', //cpg1.4
+  'error_specify' => 'Banlamak istediginiz kişinin kullanıcı adını veya ip adresini girmelisiniz', //cpg1.4
+  'error_ban_id' => 'Yanlış ban ID si!', //cpg1.4
+  'error_admin_ban' => 'Kendinizi banlıyamazsınız!', //cpg1.4
+  'error_server_ban' => 'Kendi sunucunuzu banlamak üzerisiniz! Bunu yapmak mümkün degil...', //cpg1.4
+  'error_ip_forbidden' => 'Bu İP adresini banlıyamazsınız - Bu bir Lan (network) adresi!<br />Eğer bu özel ip adresini banlamak isterseniz <a href="admin.php">Config</a> dan değiştiriniz. (Bu işlemin şalışabilmesi için Coppermine bir LAN (network) ortamında çalişıyor olması gerekli).', //cpg1.4
+  'lookup_ip' => 'IP adres arama', //cpg1.4
+  'submit' => 'Başla!', //cpg1.4
+  'select_date' => 'Tarih seç', //cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File bridgemgr.php //cpg1.4
+// ------------------------------------------------------------------------- //
+
+if (defined('BRIDGEMGR_PHP')) $lang_bridgemgr_php = array(
+  'title' => 'Köprü sihirbazı',
+  'warning' => 'Uyarı!: Bu sihirbazı kullandıgınız taktirde hassas bilgilerin html formu olarak gönderilecektir. Onun için lütfen bu sihirbazı sadece kendi bilgisayarınızda kullanın (Örnegin bir internet kafede kullanmayın)  ve ayrıca kullandıktan sonra Explorerdaki cache and temporary dosyalarını temizlemeyi unutmayınız.!',
+  'back' => 'geri',
+  'next' => 'ileri',
+  'start_wizard' => 'Köprü sihirbazını başlat',
+  'finish' => 'Sonlandır',
+  'hide_unused_fields' => 'kullanılmayanları gizle(tavsiye edilir)',
+  'clear_unused_db_fields' => 'hatalı veritabanı verilerini temizle (tavsiye edilir)',
+  'custom_bridge_file' => 'bağlantı dosyanızın ismi (bağlantı dosyanızın adı <i>myfile.inc.php</i> ise, <i>myfile</i> yazınız)',
+  'no_action_needed' => 'Bu aşamada herhangi bir şey yapmanız gerekmiyor. Sadece devam etmek için \'ileri\' tuşuna basmanız yeterli.',
+  'reset_to_default' => 'Hazır değerlere geri dön',
+  'choose_bbs_app' => 'coppermine ile köprü oluşturmak istediginiz program',
+  'support_url' => 'Program destegi için',
+  'settings_path' => 'BBS programınızın kullandıgı adres(ler)',
+  'database_connection' => 'veritabanı bağlantı',
+  'database_tables' => 'veritabanı tabloları',
+  'bbs_groups' => 'BBS grupları',
+  'license_number' => 'Lisans numarası',
+  'license_number_explanation' => 'lisans numaranızı girin',
+  'db_database_name' => 'veritabanı ismi',
+  'db_database_name_explanation' => 'Sizin BBs programının kullandıgı veritabanı ismi',
+  'db_hostname' => 'veritabanı sunucu',
+  'db_hostname_explanation' => 'mySQL veritabanının suduldugu sunucu, genelde &quot;localhost&quot;',
+  'db_username' => 'veritabanı kullanıcı adı',
+  'db_username_explanation' => 'BBS programı ile bağlantı yapması için mySQL kullanıcı adı',
+  'db_password' => 'veritabanı şifresi',
+  'db_password_explanation' => 'mySQL kullanıcı şifresi',
+  'full_forum_url' => 'URL adresi',
+  'full_forum_url_explanation' => 'BBS programınızın tam URL (http:// de içinde, mesala http://www.yourdomain.tld/forum)',
+  'relative_path_of_forum_from_webroot' => 'Forum adresi',
+  'relative_path_of_forum_from_webroot_explanation' => 'Webroot dan BBS programınızın adresi(örnek: Eğer BBS programınız http://www.yourdomain.tld/forum/, siz &quot;/forum/&quot; olarak girin)',
+  'relative_path_to_config_file' => 'BBS programınızdaki config dosyasının adresi',
+  'relative_path_to_config_file_explanation' => 'Coppermine klasöründen bakıldıgında sizin BBS programınızın adresi (e.g. &quot;../forum/&quot; eğer sizin BBS proğramınız http://www.yourdomain.tld/forum/ ise ve Coppermine http://www.yourdomain.tld/gallery/ da ise)',
+		'cookie_prefix' => 'Kurabiye öneki', //cpg1.4
+		'cookie_prefix_explanation' => 'BBS programınızdaki Kurabiye ismi', //cpg1.4
+		'table_prefix' => 'Tablo öneki', //cpg1.4
+		'table_prefix_explanation' => 'BBS programınızı installerken kullandıgınız öneki ile aynı olmak zorunda.', //cpg1.4
+		'user_table' => 'Kullanıcı tablosu', //cpg1.4
+		'user_table_explanation' => '(Standart programlarda bu bilgiler varsayılan veriler olmalı)', //cpg1.4 //cpg1.4
+		'session_table' => 'Oturum tablosu', //cpg1.4
+		'session_table_explanation' => '(Standart programlarda bu bilgiler varsayılan veriler olmalı)', //cpg1.4
+		'group_table' => 'Grup tablosu', //cpg1.4
+		'group_table_explanation' => '(Standart programlarda bu bilgiler varsayılan veriler olmalı)', //cpg1.4
+		'group_relation_table' => 'Grup bağlantı tablosu', //cpg1.4
+		'group_relation_table_explanation' => '(Standart programlarda bu bilgiler varsayılan veriler olmalı)', //cpg1.4
+		'group_mapping_table' => 'Grup harita tablosu', //cpg1.4
+		'group_mapping_table_explanation' => '(Standart programlarda bu bilgiler varsayılan veriler olmalı)', //cpg1.4
+		'use_standard_groups' => 'Genel BBS kullanıcı gruplarını kullan', //cpg1.4
+		'use_standard_groups_explanation' => 'Mevcut kullanıcı guruplarını kullanınız (tavsiye edilir). Bu seçenek sizin yaptığınız değişiklikleri iptal eder. Be seçeneği ne yaptığınızı biliyorsanız kullanınız.!', //cpg1.4
+		'validating_group' => 'Onaylanmış gruplar', //cpg1.4
+		'validating_group_explanation' => 'Kullanıcılarınızın buludugu grup onaylanması gerekmektedir. (Standart programlarda bu bilgiler varsayılan veriler olmalı)', //cpg1.4
+		'guest_group' => 'Misafir grup', //cpg1.4
+		'guest_group_explanation' => 'Misafir kullanıcıların buludugu grup onaylanması gerekmektedir. (Varsayılan veriler doğru olmalı)', //cpg1.4
+		'member_group' => 'Üyeler grup', //cpg1.4
+		'member_group_explanation' => 'Üyelerin buludugu grup onaylanması gerekmektedir. (Varsayılan veriler doğru olmalı)', //cpg1.4
+		'admin_group' => 'Yönetici grubu', //cpg1.4
+		'admin_group_explanation' => 'Yöneticilerin buludugu grup onaylanması gerekmektedir. (Varsayılan veriler doğru olmalı)', //cpg1.4
+		'banned_group' => 'Banlanmış grup', //cpg1.4
+		'banned_group_explanation' => 'Banlanmış üyelerin eklendigi grup adı. (Varsayılan veriler doğru olmalı)', //cpg1.4
+		'global_moderators_group' => 'Moderators groep', //cpg1.4
+		'global_moderators_group_explanation' => 'Moderatorların buludugu grup adı. (Varsayılan veriler doğru olmalı)', //cpg1.4
+		'special_settings' => 'BBS proğramına özel ayarlar', //cpg1.4
+		'logout_flag' => 'phpBB sürümü (çıkış verileri)', //cpg1.4
+		'logout_flag_explanation' => 'BBS programının sürümü (bu ayarlar çıkışların nasıl işleme alındıgını ayarlar.)', //cpg1.4
+		'use_post_based_groups' => 'Mesaj kullanan gruplar oluştur?', //cpg1.4
+		'logout_flag_yes' => '2.0.5 ve daha yüksegi', //cpg1.4
+		'logout_flag_no' => '2.0.4 ve daha düşügü', //cpg1.4
+		'use_post_based_groups_explanation' => 'BBS proğramı tarafından mesaj sayısına göre oluşturulan gruplar işleme alınsınmı (degişik giriş izinleri) veya sadece genel gruplar mı işleme alınsın?(yönetimi daha kolay - tavsiye edilir). Bu ayarlar sonrada değiştirilebilir.', //cpg1.4
+		'use_post_based_groups_yes' => 'evet', //cpg1.4
+		'use_post_based_groups_no' => 'hayır', //cpg1.4
+		'error_title' => 'Devam edebilmek için önce yanlışları düzeltmeniz gerekmektedir. Bir önceki ekran geri dönünüz.', //cpg1.4
+		'error_specify_bbs' => 'Hangi Coppermine ile birleştirmek istediğinizi seçiniz.', //cpg1.4
+		'error_no_blank_name' => 'Birleştirme dosyasına bir adı veriniz.', //cpg1.4
+		'error_no_special_chars' => 'Birleştirme dosya adı alt çizgi (_) ve (-) dışında özel karakter kullanılmamalı!', //cpg1.4
+		'error_bridge_file_not_exist' => 'Birleştirme dosyası %s sunucunuzda bulunamadı. Doğru yüklenildiğine emin olmak için kontrol ediniz.', //cpg1.4
+		'finalize' => 'BBS bağlantısını aç/kapat', //cpg1.4
+		'finalize_explanation' => 'Bu ana kadarki ayarlar veritabanına kaydedildi, ama şu anda BBS proğram bağlantısı açılmadı. Bağlantıyı istediginiz zaman açıp veya kapatabilirsiniz. Lütfen Coppermine (standalone) giriş şifrenizi unutmayınız. Bu şifreyi kullanarak istediğiniz zaman ayarlarda değişiklik yapabilirsiniz. Bir şey yanlış giderse, %s gidin ve BBS bağlantısını kapatınız ve standalone Coppermine kullanıcı ismi ve şifreniz (Coppermine kurarken yazdığınız) ile giriş yapınız.', //cpg1.4
+		'your_bridge_settings' => 'Bağlantı ayarları', //cpg1.4
+		'title_enable' => '%s ile bağlantıyı aç', //cpg1.4
+		'bridge_enable_yes' => 'Aç', //cpg1.4
+		'bridge_enable_no' => 'Kapat', //cpg1.4
+		'error_must_not_be_empty' => 'boş bırakmayınız', //cpg1.4
+		'error_either_be' => '%s veya %s olmalı', //cpg1.4
+		'error_folder_not_exist' => '%s bulunamadı. %s ni düzeltiniz.', //cpg1.4
+		'error_cookie_not_readible' => 'Coppermine %s adlı Kurabiye dosyasını okuyamıyor. %s daki kullanıdığınız verileri düzeltin, veya BBS kur ekranında Kurabiye dosyasını okunabilir duruma getiriniz.',  //cpg1.4
+		'error_mandatory_field_empty' => '%s alanını boş bırakmayınız. Doğru verileri giriniz.', //cpg1.4
+		'error_no_trailing_slash' => '%s alanının sonunda (\\) işareti olmamalı.', //cpg1.4
+		'error_trailing_slash' => '%s alanının sonunda (\\) işareti olmalı.', //cpg1.4
+		'error_db_connect' => 'mySQL veritabanı ile bağlantı kurulamıyor. mySQL şu hatayı veriyor:', //cpg1.4
+		'error_db_name' => 'Coppermine bağlanmasına rağmen, veritabanı %s ile bağlantı kuramıyor. %s ayarlarını doğru yaptığınıza emin olunuz. mySQL şu hatayı veriyor:', //cpg1.4
+		'error_prefix_and_table' => '%s ve ', //cpg1.4
+		'error_db_table' => '%s tablosunu bulamıyor. %s daki bilğilerin doğru oldugundan emin olunuz.', //cpg1.4
+		'recovery_title' => 'Bağlantı ayarları: acil tamir', //cpg1.4
+		'recovery_explanation' => 'Buraya Coppirmine bağlantı yöneticisi olarak geldiyseniz, önce yönetici olarak giriş yapmalısınız. Eğer bir oluşan bir hata sonucu giriş yapamıyorsanız, bunu bu sayfadan kapatabilirsiniz. Kullanıcı ismi ve şifreden sonra size ğiriş izni vermez fakat BBS programı bağlantısını açıp kapatmanıza izin veriri.', //cpg1.4
+		'username' => 'Üye adı', //cpg1.4
+		'password' => 'Şifre', //cpg1.4
+		'disable_submit' => 'Gönder', //cpg1.4
+		'recovery_success_title' => 'Giriş başarılı', //cpg1.4
+		'recovery_success_content' => 'BBS bağlantısını kapatıldı. Coppermine şu anda gene standalone olarak çalışıyor.', //cpg1.4
+		'recovery_success_advice_login' => 'BBS bağlantısını kapatıp, açmak veya değiştirmek için yönetici olarak giriş yapınız.', //cpg1.4
+		'goto_login' => 'Giriş sayfasına gidiniz', //cpg1.4
+		'goto_bridgemgr' => 'Bağlantı ayar sayfasına gidiniz', //cpg1.4
+		'recovery_failure_title' => 'Giriş başarısız', //cpg1.4
+		'recovery_failure_content' => 'Giriş için kullandıgınız bilgiler doğru değil. Coppermine standalone proğramının Yönetici adı ve şifresi girilmeli.', //cpg1.4
+		'try_again' => 'tekrar deneyiniz', //cpg1.4
+		'recovery_wait_title' => 'Bekleme süresi bitti', //cpg1.4
+		'recovery_wait_content' => 'Güvenlik nedeni ile bu kadar sıklıkta ğiriş denemesine sistem tarafından izin verilmemekte. Lütfen bir süre sonra tekrar deneyiniz.', //cpg1.4
+		'wait' => 'Bekle', //cpg1.4
+		'create_redir_file' => 'İşaret dosyası oluştur (tavsiye edilir)', //cpg1.4
+		'create_redir_file_explanation' => 'BBS proğramına giriş yapmış kullanıcıları Coppermine yönlendirmek için, BBS proğram klasörünün içine bir yönlendirme dosyası oluşturulması gerekmektedir. Eğer bu seçeneği seçerseniz, bağlantı programı bu dosyayı oluşturmaya çalıcaktır, veya size bu dosyanın kodunu verecektir, o takdirde verilen kodları kopyala yapıştır yöntemi ile dosya oluşturunuz.', //cpg1.4
+		'browse' => 'Gez', //cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File calendar.php //cpg1.4
+// ------------------------------------------------------------------------- //
+
+if (defined('CALENDAR_PHP')) $lang_calendar_php = array(
+  'title' => 'Takvim', //cpg1.4
+  'close' => 'kapat', //cpg1.4
+  'clear_date' => 'tarihi temizle', //cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File catmgr.php
+// ------------------------------------------------------------------------- //
+
+if (defined('CATMGR_PHP')) $lang_catmgr_php = array(
+  'miss_param' => '\'%s\' işlemi için gerekli parametreler eksik !',
+  'unknown_cat' => 'Seçilen kategori veritabanında bulunamadı',
+  'usergal_cat_ro' => 'Kullanıcı galerileri katagorisi silinemez!',
+  'manage_cat' => 'Kategorileri yönet',
+  'confirm_delete' => 'Bu katagoriyi silmek istediğinizden eminmisiniz ?', //js-alert
+  'category' => 'Kategoriler',
+  'operations' => 'İşlemler',
+  'move_into' => 'Taşı',
+  'update_create' => 'Kategori güncelle/ekle',
+  'parent_cat' => 'Ana kategori',
+  'cat_title' => 'Kategori adı',
+  'cat_thumb' => 'Kategori görüntüsü',
+  'cat_desc' => 'Kategori tanımı',
+  'categories_alpha_sort' => 'Kategorileri alfabetik sıraya göre diz', //cpg1.4
+  'save_cfg' => 'Tamam', //cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File admin.php //cpg1.4
+// ------------------------------------------------------------------------- //
+
+if (defined('ADMIN_PHP')) $lang_admin_php = array(
+  'title' => 'Galeri Ayarları', //cpg1.4
+  'manage_exif' => 'Exif ekranını yönet', //cpg1.4
+  'manage_plugins' => 'Pluginsleri yönet', //cpg1.4
+  'manage_keyword' => 'Arama terimlerini yönet', //cpg1.4
+  'restore_cfg' => 'Fabrika ayarlarına Geri DÖN',
+  'save_cfg' => 'Yeni Ayarları kaydet',
+  'notes' => 'Notlar',
+  'info' => 'Bilgi',
+  'upd_success' => 'Coppermine galeri ayarları güncellendi',
+  'restore_success' => 'Coppermine Galeri Ayarları Varsayılana Döndü',
+  'name_a' => 'Ada göre ARTAN',
+  'name_d' => 'Ada göre AZALAN',
+  'title_a' => 'Title artan',
+  'title_d' => 'Title azalan',
+  'date_a' => 'Tarihe göre ARTAN',
+  'date_d' => 'Tarihe göre AZALAN',
+  'pos_a' => 'Artan konum', //cpg1.4
+  'pos_d' => 'Azalan konum', //cpg1.4
+  'th_any' => 'Maksimum Aspect',
+  'th_ht' => 'Yükseklik',
+  'th_wd' => 'Genişlik',
+  'label' => 'Etiket', 
+  'item' => 'item', 
+  'debug_everyone' => 'Herkes', 
+  'debug_admin' => 'Sadece Admin', 
+  'no_logs'=> 'Kapat', //cpg1.4
+  'log_normal'=> 'Normal', //cpg1.4
+  'log_all' => 'Hepsi', //cpg1.4
+  'view_logs' => 'Günlük göster', //cpg1.4
+  'click_expand' => 'Ayarları görmek için konu başlıgı seçiniz', //cpg1.4
+  'expand_all' => 'Hepsini Aç / Kapat', //cpg1.4
+  'notice1' => '(*) Bu ayarlar veritabanındaki dosyalarınızı değiştirmeyecek.', //cpg1.4 - (relocated)
+  'notice2' => '(**) Değerlerde yapacagınız degişiklikler tüm dosyalarınıza yansıyacaktır. Bunun için dosyalarınız veritabanında kayıtlı ise değiştirmemenizi tavsiye ederiz. Değerleri degiştirmek için &quot;<a href="util.php">Admin İşlevleri</a> seçeneğini kullanınız (resim büyüklügü ayarla)&quot;.',  //cpg1.4
+  'notice3' => '(***) Günlük dosyalrı ingilizcedir.', //cpg1.4 - (relocated)
+  'bbs_disabled' => 'BBS köprüsü kullanırken bu bu fonksiyon kapalıdır', //cpg1.4
+  'auto_resize_everyone' => 'herkes', //cpg1.4
+  'auto_resize_user' => 'sadece kullanıcı', //cpg1.4
+  'ascending' => 'artan', //cpg1.4
+  'descending' => 'azalan', //cpg1.4
+);
+
+if (defined('ADMIN_PHP')) $lang_admin_data = array(
+  'Genel ayarlar',
+		array('Galeri adı', 'gallery_name', 0, 'f=index.htm&amp;as=admin_general_name&amp;ae=admin_general_name_end'), //cpg1.4
+		array('Galeri tanımı', 'gallery_description', 0, 'f=index.htm&amp;as=admin_general_description&amp;ae=admin_general_description_end'), //cpg1.4
+		array('Galeri yöneticisinin emaili', 'gallery_admin_email', 0, 'f=index.htm&amp;as=admin_general_email&amp;ae=admin_general_email_end'), //cpg1.4
+		array('Coppermine klasörünün URL adresi (\'index.php\' eklemeyin)', 'ecards_more_pic_target', 0, 'f=index.htm&amp;as=admin_general_coppermine-url&amp;ae=admin_general_coppermine-url_end'), //cpg1.4
+		array('Başlangıç sayfasının URL adı (örnek: index.php)', 'home_target', 0, 'f=index.htm&amp;as=admin_general_home-url&amp;ae=admin_general_home-url_end'), //cpg1.4
+		array('Zip dosya indirilmesine izin ver', 'enable_zipdownload', 1, 'f=index.htm&amp;as=admin_general_zip-download&amp;ae=admin_general_zip-download_end'), //cpg1.4
+		array('GMT saatine göre saat durumu (şimdiki tarih ve saat: ' . localised_date(-1, $comment_date_fmt) . ')','time_offset',0, 'f=index.htm&amp;as=admin_general_time-offset&amp;ae=admin_general_time-offset_end&amp;top=1'), //cpg1.4
+		array('Kullanıcı şifrelerini şifreli şekilde sakla (dikkat: geri çeviremezsiniz)','enable_encrypted_passwords',1, 'f=index.htm&amp;as=admin_general_encrypt_password_start&amp;ae=admin_general_encrypt_password_end&amp;top=1'), // cpg 1.4
+		array('Yardım seçenegini göster (İngilizce)','enable_help',9, 'f=index.htm&amp;as=admin_general_help&amp;ae=admin_general_help_end'), //cpg1.4
+		array('Arama terimleri interaktief','clickable_keyword_search',14, 'f=index.htm&amp;as=admin_general_keywords_start&amp;ae=admin_general_keywords_end'), //cpg1.4
+		array('Pluginsleri aç', 'enable_plugins', 12, 'f=index.htm&amp;as=admin_general_enable-plugins&amp;ae=admin_general_enable-plugins_end'),  //cpg1.4
+		array('Bulunamayan (NAT/locale) IP adreslerini banlamaya imkan ver', 'ban_private_ip', 1,  'f=index.htm&amp;as=admin_general_private-ip&amp;ae=admin_general_private-ip_end'), //cpg1.4
+		array('Kullanıcıların kolay batch eklemelerini imkan ver', 'browse_batch_add', 1, 'f=index.htm&amp;as=admin_general_browsable_batch_add&amp;ae=admin_general_browsable_batch_add_end'), //cpg1.4
+
+  'Dil &amp; karakter ayarları',
+		array('Dil', 'lang', 5, 'f=index.htm&amp;as=admin_language_language&amp;ae=admin_language_language_end'), //cpg1.4
+		array('Seçili dil bulunamaz ise otamatik olarak ingilizceye geç?', 'language_fallback', 1, 'f=index.htm&amp;as=admin_language_fallback&amp;ae=admin_language_fallback_end'), //cpg1.4
+		array('Karakter seti', 'charset', 4, 'f=index.htm&amp;as=admin_language_charset&amp;ae=admin_language_charset_end'), //cpg1.4
+		array('Dil seçenek kutusunu ekranda göster', 'language_list', 1, 'f=index.htm&amp;as=admin_language_list&amp;ae=admin_language_list_end'), //cpg1.4
+		array('Dil seçenek bayraklarını ekranda göster', 'language_flags', 8, 'f=index.htm&amp;as=admin_language_flags&amp;ae=admin_language_flags_end&amp;top=1'), //cpg1.4
+		array('&quot;varsayılan&quot; seçenegini dil kutusunda göster', 'language_reset', 1, 'f=index.htm&amp;as=admin_language_reset&amp;ae=admin_language_reset_end&amp;top=1'), //cpg1.4
+		//array('Display previous/next on tabbed pages', 'previous_next_tab', 1), //cpg1.4
+
+  'Görüntü seçenekleri',
+		array('Görünüm', 'theme', 6, 'f=index.htm&amp;as=admin_theme_theme&amp;ae=admin_theme_theme_end'), //cpg1.4
+		array('Görünüm listesini göster', 'theme_list', 1, 'f=index.htm&amp;as=admin_theme_theme_list&amp;ae=admin_theme_theme_list_end'), //cpg1.4
+		array('&quot;varsayılan&quot; seçenegini görünüm listesinde göster', 'theme_reset', 1, 'f=index.htm&amp;as=admin_theme_theme_reset&amp;ae=admin_theme_theme_reset_end'), //cpg1.4
+		array('Yardım göster', 'display_faq', 1, 'f=index.htm&amp;as=admin_theme_faq&amp;ae=admin_theme_faq_end'), //cpg1.4
+		array('Kendi menu ayar başlıgı', 'custom_lnk_name', 0,'f=index.htm&amp;as=admin_theme_custom_lnk_name&amp;ae=admin_theme_custom_lnk_name_end'), //cpg1.4
+		array('Kendi menu URL adresi', 'custom_lnk_url', 0,'f=index.htm&amp;as=admin_language_custom_lnk_url&amp;ae=admin_language_custom_lnk_url_end'), //cpg1.4
+		array('bbcode yardım ekranını göster', 'show_bbcode_help', 1, 'f=index.htm&amp;as=admin_theme_bbcode&amp;ae=admin_theme_bbcode_end&amp;top=1'), //cpg1.4
+		array('XHTML ve CSS uygunluk bilgilerini destekleyen görünümlerde göster','vanity_block',1, 'f=index.htm&amp;as=vanity_block&amp;ae=vanity_block_end'), //cpg1.4
+		array('Header olarak yayınlamak için include dosyasının URL adresi', 'custom_header_path', 0, 'f=index.htm&amp;as=admin_theme_include_path_start&amp;ae=admin_theme_include_path_end'), //cpg1.4
+		array('Header olarak yayınlamak için include dosyasının URL adresi', 'custom_footer_path', 0, 'f=index.htm&amp;as=admin_theme_include_path_start&amp;ae=admin_theme_include_path_end'), //cpg1.4
+
+  'Albüm listesi ayarları',
+		array('Ana tablonun genişligi (pixelin %)', 'main_table_width', 0, 'f=index.htm&amp;as=admin_album_table-width&amp;ae=admin_album_table-width_end'), //cpg1.4
+		array('Seviye ve kategori sayısı', 'subcat_level', 0, 'f=index.htm&amp;as=admin_album_category-levels&amp;ae=admin_album_category-levels_end'), //cpg1.4
+		array('Sayfadaki albüm sayısı', 'albums_per_page', 0, 'f=index.htm&amp;as=admin_album_number&amp;ae=admin_album_number_end'), //cpg1.4
+		array('Albüm listesindeki kolonların sayısı', 'album_list_cols', 0, 'f=index.htm&amp;as=admin_album_columns&amp;ae=admin_album_columns_end'), //cpg1.4
+		array('Ekrandaki küçük resimlerin pixel olarak boyları', 'alb_list_thumb_size', 0, 'f=index.htm&amp;as=admin_album_thumbnail-size&amp;ae=admin_album_thumbnail-size_end'), //cpg1.4
+		array('Ana sayfanın görünüşü', 'main_page_layout', 0, 'f=index.htm&amp;as=admin_album_list_content&amp;ae=admin_album_list_content_end'), //cpg1.4
+		array('Resimleri kategorilerdeki ana seviyeye göre göster','first_level',1, 'f=index.htm&amp;as=admin_album_first-level_thumbs&amp;ae=admin_album_first-level_thumbs_end'), //cpg1.4
+		array('Kategorileri alfabetik sıra ile göster (kişisel sıralama yerine)','categories_alpha_sort',1, 'f=index.htm&amp;as=admin_album_list_alphasort_start&amp;ae=admin_album_list_alphasort_end'), //cpg1.4
+		array('Albümdeki resim sayısını göster','link_pic_count',1, 'f=index.htm&amp;as=admin_album_linked_files_start&amp;ae=admin_album_linked_files_end'), //cpg1.4
+
+  'Önizleme ayarları',
+		array('Önizleme sayfasındaki kolon sayısı', 'thumbcols', 0, 'f=index.htm&amp;as=admin_thumbnail_columns&amp;ae=admin_thumbnail_columns_end'), //cpg1.4
+		array('Önizleme sayfasındaki satır sayısı', 'thumbrows', 0, 'f=index.htm&amp;as=admin_thumbnail_rows&amp;ae=admin_thumbnail_rows_end'), //cpg1.4
+		array('Maksimum gösterilecek tab sayısı', 'max_tabs', 10, 'f=index.htm&amp;as=admin_thumbnail_tabs&amp;ae=admin_thumbnail_tabs_end'), //cpg1.4
+		array('Dosya ismini göster (başlık ile birlikte)', 'caption_in_thumbview', 1, 'f=index.htm&amp;as=admin_thumbnail_display_caption&amp;ae=admin_thumbnail_display_caption_end'), //cpg1.4
+		array('Resmin kaç kez bakıldıgını göster', 'views_in_thumbview', 1, 'f=index.htm&amp;as=admin_thumbnail_display_views&amp;ae=admin_thumbnail_display_views_end'), //cpg1.4
+		array('Yapılan yorumların adetini göster', 'display_comment_count', 1, 'f=index.htm&amp;as=admin_thumbnail_display_comments&amp;ae=admin_thumbnail_display_comments_end'), //cpg1.4
+		array('Resmin sahibinin adını göster', 'display_uploader', 1, 'f=index.htm&amp;as=admin_thumbnail_display_uploader&amp;ae=admin_thumbnail_display_uploader_end'), //cpg1.4
+		//array('Display name of admin uploaders below the önizleme', 'display_admin_uploader', 1, 'f=index.htm&amp;as=admin_thumbnail_display_admin_uploader&amp;ae=admin_thumbnail_display_admin_uploader_end'), //cpg1.4
+		array('Dosya ismini göster', 'display_filename', 1, 'f=index.htm&amp;as=admin_thumbnail_display_filename&amp;ae=admin_thumbnail_display_filename_end'), //cpg1.4
+		//array('Albüm tanımlamasını göster', 'alb_desc_thumb', 1, 'f=index.htm&amp;as=admin_thumbnail_display_description&amp;ae=admin_thumbnail_display_description_end'), //cpg1.4
+		array('Varsayılan sıralama', 'default_sort_order', 3, 'f=index.htm&amp;as=admin_thumbnail_default_sortorder&amp;ae=admin_thumbnail_default_sortorder_end'), //cpg1.4
+		array('Resimlerin en beğenilen listesine girebilmesi için gerekli en az oy oranı', 'min_votes_for_rating', 0, 'f=index.htm&amp;as=admin_thumbnail_minimum_votes&amp;ae=admin_thumbnail_minimum_votes_end'), //cpg1.4
+
+  'Resim görüntü ayarları', //cpg1.4
+		array('Resim genişligi (pixel %)', 'picture_table_width', 0, 'f=index.htm&amp;as=admin_image_comment_table-width&amp;ae=admin_image_comment_table-width_end'), //cpg1.4
+		array('Bilgileri geniş olarak standart yayınla', 'display_pic_info', 1, 'f=index.htm&amp;as=admin_image_comment_info_visible&amp;ae=admin_image_comment_info_visible_end'), //cpg1.4
+		array('Resim tanımlarının maksimum boyu', 'max_img_desc_length', 0, 'f=index.htm&amp;as=admin_image_comment_descr_length&amp;ae=admin_image_comment_descr_length_end'), //cpg1.4
+		array('Bir kelimedeki maksimum boyu', 'max_com_wlength', 0, 'f=index.htm&amp;as=admin_image_comment_chars_per_word&amp;ae=admin_image_comment_chars_per_word_end'), //cpg1.4
+		array('Film şeritini göster', 'display_film_strip', 1, 'f=index.htm&amp;as=admin_image_comment_filmstrip_toggle&amp;ae=admin_image_comment_filmstrip_toggle_end'), //cpg1.4
+		array('Film şeritinin altında dosya ismini göster', 'display_film_strip_filename', 1, 'f=index.htm&amp;as=admin_image_comment_display_film_strip_filename&amp;ae=admin_image_comment_display_film_strip_filename_end'), //cpg1.4
+		array('Film şeritindeki maksimum resim sayısı', 'max_film_strip_items', 0, 'f=index.htm&amp;as=admin_image_comment_filmstrip_number&amp;ae=admin_image_comment_filmstrip_number_end'), //cpg1.4
+		array('Dia gösterimlerinde zaman ayarı (1 seniye = 1000 milisaniye)', 'slideshow_interval', 0, 'f=index.htm&amp;as=admin_image_comment_slideshow_interval&amp;ae=admin_image_comment_slideshow_interval_end'), //cpg1.4
+
+  'Yorum ayarları', //cpg1.4
+		array('Uygun olmayan kelimeleri yorumdan çıkart', 'filter_bad_words', 1, 'f=index.htm&amp;as=admin_image_comment_bad_words&amp;ae=admin_image_comment_bad_words_end'), //cpg1.4
+		array('Yorumda smilies kullanılmasına izin ver', 'enable_smilies', 1, 'f=index.htm&amp;as=admin_image_comment_smilies&amp;ae=admin_image_comment_smilies_end'), //cpg1.4
+		array('Aynı kullanıcının birden fazla ard arda yorum yapmasına izin ver (flood protection)', 'disable_comment_flood_protect', 1, 'f=index.htm&amp;as=admin_image_comment_flood&amp;ae=admin_image_comment_flood_end'), //cpg1.4
+		array('Yorumda kullanılabilecek maksimum satır sayısı', 'max_com_lines', 0, 'f=index.htm&amp;as=admin_image_comment_lines&amp;ae=admin_image_comment_lines_end'), //cpg1.4
+		array('Yorumun maksimum uzunluğu', 'max_com_size', 0, 'f=index.htm&amp;as=admin_image_comment_length&amp;ae=admin_image_comment_length_end'), //cpg1.4
+		array('Yapılan yorumlardan yöneticiyi email ile haberdar et', 'email_comment_notification', 1, 'f=index.htm&amp;as=admin_image_comment_admin_notify&amp;ae=admin_image_comment_admin_notify_end'), //cpg1.4
+		array('Yorumların sıralanması', 'comments_sort_descending', 17, 'f=index.htm&amp;as=admin_comment_sort_start&amp;ae=admin_comment_sort_end'), //cpg1.4
+            array('Üye olmayan kişiler', 'comments_anon_pfx', 0, 'f=index.htm&amp;as=comments_anon_pfx&amp;ae=comments_anon_pfx_end'), //cpg1.4
+
+  'Dosya ve önizleme ayarları',
+		array('JPEG dosyalarının kalitesi', 'jpeg_qual', 0, 'f=index.htm&amp;as=admin_picture_thumbnail_jpeg_quality&amp;ae=admin_picture_thumbnail_jpeg_quality_end'), //cpg1.4
+		array('Önizleme dosyasının maksimum boyutu <a href="#notice2" class="clickable_option">**</a>', 'thumb_width', 0, 'f=index.htm&amp;as=admin_picture_thumbnail_max-dimension&amp;ae=admin_picture_thumbnail_max-dimension_end'), //cpg1.4
+		array('Resmin boyutları (genişlik veya yükseklik veya maximum önizleme) <a href="#notice2" class="clickable_option">**</a>', 'thumb_use', 7, 'f=index.htm&amp;as=admin_picture_thumbnail_use-dimension&amp;ae=admin_picture_thumbnail_use-dimension_end'), //cpg1.4
+		array('Orta boyut resimler oluşturulsunmu?','make_intermediate',1, 'f=index.htm&amp;as=admin_picture_thumbnail_intermediate_toggle&amp;ae=admin_picture_thumbnail_intermediate_toggle_end'), //cpg1.4
+		array('Orta boyutlardaki resimlerin genişligi veya boyları <a href="#notice2" class="clickable_option">**</a>', 'picture_width', 0, 'f=index.htm&amp;as=admin_picture_thumbnail_intermediate_dimension&amp;ae=admin_picture_thumbnail_intermediate_dimension_end'), //cpg1.4
+		array('Yüklenen dosyaların maksimum boyutları (KB)', 'max_upl_size', 0, 'f=index.htm&amp;as=admin_picture_thumbnail_max_upload_size&amp;ae=admin_picture_thumbnail_max_upload_size_end'), //cpg1.4
+		array('Yüklenen dosyaların maksimum genişlikleri veya boyları(pixel)', 'max_upl_width_height', 0, 'f=index.htm&amp;as=admin_picture_thumbnail_max_upload_dimension&amp;ae=admin_picture_thumbnail_max_upload_dimension_end'), //cpg1.4
+		array('Eğer resimler izin verilen boyutlardan daha büyük olursa otamatik uyarla?', 'auto_resize', 16, 'f=index.htm&amp;as=admin_picture_thumbnail_auto-resize&amp;ae=admin_picture_thumbnail_auto-resize_end'), //cpg1.4
+
+  'Dosya ve önizleme ayarları (genişletilmiş)',
+		array('Albümler kişisel olabilir (Dikkat: Bu ayarları \'evet\' den \'hayır\'a çevirmeniz kişisel albümlerin tamamını herkeze açacaktır.)', 'allow_private_albums', 1, 'f=index.htm&amp;as=admin_picture_thumb_advanced_private_toggle&amp;ae=admin_picture_thumb_advanced_private_toggle_end'), //cpg1.4
+		array('Sistemi giriş yapmamış kullanıcıl özel albümlerde sadece bir ikon göster','show_private',1, 'f=index.htm&amp;as=admin_picture_thumb_advanced_private_icon_show&amp;ae=admin_picture_thumb_advanced_private_icon_show_end'), //cpg1.4
+		array('Dosya isminde kullanılmaması gereken karakterler', 'forbiden_fname_char',0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_filename_forbidden_chars&amp;ae=admin_picture_thumb_advanced_filename_forbidden_chars_end'), //cpg1.4
+		//array('Accepted file extensions for uploaded pictures', 'allowed_file_extensions',0, 'f=index.htm&amp;as=&amp;ae=_end'), //cpg1.4
+		array('Yüklenmesine izin verilen resim dosya uzantıları', 'allowed_img_types',0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_pic_extensions&amp;ae=admin_picture_thumb_advanced_pic_extensions_end'), //cpg1.4
+		array('Yüklenmesine izin verilen film dosya uzantıları', 'allowed_mov_types',0, 'f=index.htm&amp;as=admin_thumbs_advanced_movie&amp;ae=admin_thumbs_advanced_movie_end'), //cpg1.4
+		array('Film gösteriminde otamatik çalıştırılsın', 'media_autostart',1, 'f=index.htm&amp;as=admin_movie_autoplay&amp;ae=admin_movie_autoplay_end'), //cpg1.4
+		array('Yüklenmesine izin verilen ses dosyaları', 'allowed_snd_types',0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_audio_extensions&amp;ae=admin_picture_thumb_advanced_audio_extensions_end'), //cpg1.4
+		array('Yüklenmesine izin verilen dosya uzantıları', 'allowed_doc_types',0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_doc_extensions&amp;ae=admin_picture_thumb_advanced_doc_extensions_end'), //cpg1.4
+		array('Resimleri değiştirme şekli','thumb_method',2, 'f=index.htm&amp;as=admin_picture_thumb_advanced_resize_method&amp;ae=admin_picture_thumb_advanced_resize_method_end'), //cpg1.4
+		array('ImageMagick adresi (mesala /usr/bin/X11/)', 'impath', 0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_im_path&amp;ae=admin_picture_thumb_advanced_im_path_end'), //cpg1.4
+		//array('Allowed image types (only valid for ImageMagick)', 'allowed_img_types',0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_allowed_imagetypes&amp;ae=admin_picture_thumb_advanced_allowed_imagetypes_end'), //cpg1.4
+		array('ImageMagick için satır komut ayarları', 'im_options', 0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_im_commandline&amp;ae=admin_picture_thumb_advanced_im_commandline_end'), //cpg1.4
+		array('JPEG dosyalarındaki EXIF kayıtlarını oku', 'read_exif_data', 13, 'f=index.htm&amp;as=admin_picture_thumb_advanced_exif&amp;ae=admin_picture_thumb_advanced_exif_end'), //cpg1.4
+		array('JPEG dosyalarındaki IPTC kayıtlarını oku', 'read_iptc_data', 1, 'f=index.htm&amp;as=admin_picture_thumb_advanced_iptc&amp;ae=admin_picture_thumb_advanced_iptc_end'), //cpg1.4
+		array('Albüm klasörü <a href="#notice1" class="clickable_option">*</a>', 'fullpath', 0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_albums_dir&amp;ae=admin_picture_thumb_advanced_albums_dir_end'), //cpg1.4
+		array('Kullanıcı dosyaları klasörü <a href="#notice1" class="clickable_option">*</a>', 'userpics', 0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_userpics_dir&amp;ae=admin_picture_thumb_advanced_userpics_dir_end'), //cpg1.4
+		array('Sistem tarafından oluşturulan orta büyüklükteki resimlerin başlangıç adı <a href="#notice1" class="clickable_option">*</a>', 'normal_pfx', 0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_intermediate_prefix&amp;ae=admin_picture_thumb_advanced_intermediate_prefix_end'), //cpg1.4
+		array('Sistem tarafından oluşturulan küçük önizleme resimlerinin başlangıç adı  <a href="#notice1" class="clickable_option">*</a>', 'thumb_pfx', 0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_thumbs_prefix&amp;ae=admin_picture_thumb_advanced_thumbs_prefix_end'), //cpg1.4
+		array('Varsayılan klasör izinleri', 'default_dir_mode', 0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_chmod_folder&amp;ae=admin_picture_thumb_advanced_chmod_folder_end'), //cpg1.4
+		array('Varsaıylan dosya izinleri', 'default_file_mode', 0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_chmod_files&amp;ae=admin_picture_thumb_advanced_chmod_files_end'), //cpg1.4
+
+  'Kullanıcı ayarları',
+		array('Yeni kullanıcıların üye olmasına izin ver', 'allow_user_registration', 1, 'f=index.htm&amp;as=admin_allow_registration&amp;ae=admin_allow_registration_end'), //cpg1.4
+		array('Misafir kullanıcılara izin ver (Misafir)', 'allow_unlogged_access', 1, 'f=index.htm&amp;as=admin_allow_unlogged_access&amp;ae=admin_allow_unlogged_access_end'), //cpg1.4
+		array('Üyeliklerin aktifleşmesi için yeni üyelerden email doğrulamasını gerekli', 'reg_requires_valid_email', 1, 'f=index.htm&amp;as=admin_registration_verify&amp;ae=admin_registration_verify_end'), //cpg1.4
+		array('Yeni üye kayıtlarını yöneticiye bildir', 'reg_notify_admin_email', 1, 'f=index.htm&amp;as=admin_registration_notify&amp;ae=admin_registration_notify_end'), //cpg1.4
+		array('Üyeliklerin aktifleşmesi için yönetici yeni üyelikleri onaylaması gerekir', 'admin_activation', 1, 'f=index.htm&amp;as=admin_activation&amp;ae=admin_activation_end'),  //cpg1.4
+		array('Bir üyenin aynı email adresini birden fazla kullanmasına izin ver', 'allow_duplicate_emails_addr', 1, 'f=index.htm&amp;as=admin_allow_duplicate_emails_addr&amp;ae=admin_allow_duplicate_emails_addr_end'), //cpg1.4
+		array('Yüklenmiş yayınlanma izni bekleyen dosyalardan yöneticiyi haberdar et.', 'upl_notify_admin_email', 1, 'f=index.htm&amp;as=admin_approval_notify&amp;ae=admin_approval_notify_end'), //cpg1.4
+		array('Üyelerin üye listesini görmelerine izin ver', 'allow_memberlist', 1, 'f=index.htm&amp;as=admin_user_memberlist&amp;ae=admin_user_memberlist_end'), //cpg1.4
+		array('Giriş yamış üyelerin üye listesini görmesine izin ver', 'allow_email_change', 1, 'f=index.htm&amp;as=admin_user_allow_email_change&amp;ae=admin_user_allow_email_change_end'), //cpg1.4
+		array('Üyelerin yayınladıkları kişisel resimleri yönetmesine izin ver', 'users_can_edit_pics', 1, 'f=index.htm&amp;as=admin_user_editpics_public_start&amp;ae=admin_user_editpics_public_end'), //cpg1.4
+		array('Bir kişinin yapabilecegi maksimum giriş deneme sayısı. (Geçici olarak banlar. Hacklere karşı güvenlik,) ', 'login_threshold', 0, 'f=index.htm&amp;as=admin_user_login_start&amp;ae=admin_user_login_end'), //cpg1.4
+		array('Giriş sırasında banlanmış kullanıcıların banlanma süresi (dakika)', 'login_expiry', 0, 'f=index.htm&amp;as=admin_user_login_start&amp;ae=admin_user_login_end'), //cpg1.4
+		array('Yöneticiye şikayette bulunulmasına izin ver', 'report_post', 1, 'f=index.htm&amp;as=admin_user_enable_report&amp;ae=admin_user_enable_report_end'),  //cpg1.4
+
+// custom profile fields,  //cpg1.4
+  'Üye profilinde kullanabileçeğiniz ek bilgiler (kullanmıyorsanız boş bırakın). (Uzun yazılar için 6. yı kullanın)', //cpg1.4
+		array('Profil 1 adı', 'user_profile1_name', 0, 'f=index.htm&amp;as=admin_custom&amp;ae=admin_custom_end'), //cpg1.4
+		array('Profil 2 adı', 'user_profile2_name', 0), //cpg1.4
+		array('Profil 3 adı', 'user_profile3_name', 0), //cpg1.4
+		array('Profil 4 adı', 'user_profile4_name', 0), //cpg1.4
+		array('Profil 5 adı', 'user_profile5_name', 0), //cpg1.4
+		array('Profil 6 adı', 'user_profile6_name', 0), //cpg1.4
+
+  'Resimlerde kullanbileçeğiniz ek bilgiler (kullanmıyorsanız boş bırakın)',
+		array('Satır 1 adı', 'user_field1_name', 0, 'f=index.htm&amp;as=admin_custom_image&amp;ae=admin_custom_image_end'), //cpg1.4
+		array('Satır 2 adı', 'user_field2_name', 0), 
+		array('Satır 3 adı', 'user_field3_name', 0), 
+		array('Satır 4 adı', 'user_field4_name', 0), 
+
+  'Kurabiye ayarları',
+		array('Kurabiye adı', 'cookie_name', 0, 'f=index.htm&amp;as=admin_cookie_name&amp;ae=admin_cookie_name_end'), //cpg1.4
+		array('Kurabiye adresi', 'cookie_path', 0, 'f=index.htm&amp;as=admin_cookie_path&amp;ae=admin_cookie_path_end'), //cpg1.4
+
+  'Email ayarları  (normalde hiç bir şey değiştirmeyin buradan; bilmediğiniz kutuları boş bırakın)', //cpg1.4
+		array('SMTP Host (Sendmail olanagından yararlanmak için boş bırakın)', 'smtp_host', 0, 'f=index.htm&amp;as=admin_email&amp;ae=admin_email_end'), //cpg1.4
+		array('SMTP kullanıcı adı', 'smtp_username', 0), //cpg1.4
+		array('SMTP şifresi', 'smtp_password', 0), //cpg1.4
+
+  'Girişler ve istatistikler', //cpg1.4
+		array('Giriş modu <a href="#notice3" class="clickable_option">***</a>', 'log_mode', 11, 'f=index.htm&amp;as=admin_logging_log_mode&amp;ae=admin_logging_log_mode_end'), //cpg1.4
+		array('E-kart günlüğü', 'log_ecards', 1, 'f=index.htm&amp;as=admin_general_log_ecards&amp;ae=admin_general_log_ecards_end'), //cpg1.4
+		array('Geniş oy istatistiklerini tut','vote_details',1, 'f=index.htm&amp;as=admin_logging_votedetails&amp;ae=admin_logging_votedetails_end'), //cpg1.4
+		array('Geniş izlenme istatistiklerini tut','hit_details',1, 'f=index.htm&amp;as=admin_logging_hitdetails&amp;ae=admin_logging_hitdetails_end'), //cpg1.4
+
+  'Onarma ayarları', //cpg1.4
+		array('Hata ayıklama modunu aç', 'debug_mode', 9, 'f=index.htm&amp;as=debug_mode&amp;ae=debug_mode_end'), //cpg1.4
+		array('Hata ayıklama modunda mesajları göster', 'debug_notice', 1, 'f=index.htm&amp;as=admin_misc_debug_notices&amp;ae=admin_misc_debug_notices_end'), //cpg1.4
+		array('Galeri yayın dışı', 'offline', 1, 'f=index.htm&amp;as=admin_general_offline&amp;ae=admin_general_offline_end'), //cpg1.4
+);
+
+
+// ------------------------------------------------------------------------- //
+// File db_ecard.php
+// ------------------------------------------------------------------------- //
+
+if (defined('DB_ECARD_PHP')) $lang_db_ecard_php = array(
+ 'title' => 'Ekart yollama', 
+  'ecard_sender' => 'Gönderen', 
+  'ecard_recipient' => 'Alan', 
+  'ecard_date' => 'Tarih', 
+  'ecard_display' => 'Ekart gösterimi', 
+  'ecard_name' => 'Ad', 
+  'ecard_email' => 'Email', 
+  'ecard_ip' => 'IP #', 
+  'ecard_ascending' => 'artan', 
+  'ecard_descending' => 'azalan', 
+  'ecard_sorted' => 'Sıralandı', 
+  'ecard_by_date' => 'tarihe göre', 
+  'ecard_by_sender_name' => 'Gönderen adı', 
+  'ecard_by_sender_email' => 'Gönderen email', 
+  'ecard_by_sender_ip' => 'Gönderen IP adresi', 
+  'ecard_by_recipient_name' => 'Alanın ismi', 
+  'ecard_by_recipient_email' => 'Alanın email', 
+  'ecard_number' => 'gösterim kayıtı %s to %s of %s', 
+  'ecard_goto_page' => 'sayfaya git', 
+  'ecard_records_per_page' => 'Sayfa başındaki kayıtlar', 
+  'check_all' => 'Tümünü kontrol et', 
+  'uncheck_all' => 'Hiçbirini kontrol etme', 
+  'ecards_delete_selected' => 'Seçilen ekartları sil', 
+  'ecards_delete_confirm' => 'Silmek istediğinizden emin misiniz?Kontrol kutusunu işaretleyin!', 
+  'ecards_delete_sure' => 'Eminim', 
+);
+
+
+// ------------------------------------------------------------------------- //
+// File db_input.php
+// ------------------------------------------------------------------------- //
+
+if (defined('DB_INPUT_PHP')) $lang_db_input_php = array(
+  'empty_name_or_com' => ' Adınızı ve bir yorum yazmalısınız',
+  'com_added' => 'Yorumunuz eklendi',
+  'alb_need_title' => 'Albüm için bir başlık seçmelisiniz !',
+  'no_udp_needed' => 'Güncellemeye gerek yok.',
+  'alb_updated' => 'Albüm güncelleşti',
+  'unknown_album' => 'Seçilen albüm bulunamadı yada bu albüme yükleme izniniz yok',
+  'no_pic_uploaded' => 'Resim Yüklenmedi !<br /><br />Eğer gerçekten yüklemek için resim seçtiyseniz, sunucunun izin veridiği resim yüklemelerini kontrol edin...', 
+  'err_mkdir' => 'Yaratma klasörü başarısız %s !',
+  'dest_dir_ro' => 'Gönderilen adres %s script tarafından yazılamaz !',
+  'err_move' => '%s ya %s geçmek imkansız!',
+  'err_fsize_too_large' => 'Yüklediğiniz resim çok büyük(izin verilen maksimum büyklük %s x %s) !', 
+  'err_imgsize_too_large' => 'Yüklediğiniz resim boyuttu çok geniş (izin verilen maksimum genişlik %s KB) !',
+  'err_invalid_img' => 'Yüklediğiniz resim geçerli değil !',
+  'allowed_img_types' => 'sadece %s imajları yükleyebilirsiniz.',
+  'err_insert_pic' => ' \'%s\' resim albüme yerleşmedi ', 
+  'upload_success' => 'Resminiz başarı ile yüklendi.<br /><br />Admin onayından sonra resminiz eklenecektir.', 
+  'notify_admin_email_subject' => '%s - Yükleme bildirisi', 
+  'notify_admin_email_body' => ' %s tarafından onayınızı bekleyen resim eklendi. %s bak', 
+  'info' => 'Bilgi',
+  'com_added' => 'Yorum eklendi',
+  'alb_updated' => 'Albüm güncellendi',
+  'err_comment_empty' => 'Yorumunuz boş !',
+  'err_invalid_fext' => 'Sadece izin verilen resimler büyütülebilir : <br /><br />%s.',
+  'no_flood' => 'Üzgümün ama bu dosya için son yorumun yazarı sizsiniz<br /><br /> Eğer istiyorsanız yorumunuzu düzeltin', 
+  'redirect_msg' => 'Adresiniz değiştiriliyor.<br /><br /><br />Click \'DEVAM\' eğer sayfa otomatik olarak yenilenmezse',
+  'upl_success' => 'Resminiz başarılyla eklendi', 
+  'email_comment_subject' => 'Galeri de yorum yazıldı', 
+  'email_comment_body' => 'Birisi galerinizde bir yorum yazdı. Buradan bakın',
+  'album_not_selected' => 'Albüm seçili değil', //cpg1.4
+  'com_author_error' => 'Bu kullanıcı ismi bir başka üye tarafından kullanılmakta. Ltf bir başka kullanıcı ismi seçiniz', //cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File delete.php
+// ------------------------------------------------------------------------- //
+
+if (defined('DELETE_PHP')) $lang_delete_php = array(
+  'caption' => 'Başlık',
+  'fs_pic' => 'Tam boy görüntü',
+  'del_success' => 'Başarıyla silindi',
+  'ns_pic' => 'Normal boy görüntü',
+  'err_del' => 'silinemedi',
+  'thumb_pic' => 'küçük resim',
+  'comment' => 'yorum',
+  'im_in_alb' => 'albümde görüntü',
+  'alb_del_success' => '\'%s\' albüm silindi',
+  'alb_mgr' => 'Albüm Yöneticisi',
+  'err_invalid_data' => '\'%s\' da Veri almada hata',
+  'create_alb' => 'Albüm oluşturma\'%s\'',
+  'update_alb' => 'Albüm güncelleme\'%s\' başlıkla \'%s\' ve index \'%s\'',
+  'del_pic' => 'Resmi sil', 
+  'del_alb' => 'Albümü sil',
+  'del_user' => 'Kullanıcıyı sil',
+  'err_unknown_user' => 'Seçilen kullanıcı bulunamadı !',
+  'err_empty_groups' => 'Herhangi bir grup taplosu oluşturulmadı!', //cpg1.4
+  'comment_deleted' => 'Yorum başarıyla silindi',  'npic' => 'Picture', //cpg1.4
+  'pic_mgr' => 'Resim yönetimi', //cpg1.4
+  'update_pic' => 'Yüklenen resim: \'%s\' dosya adı: \'%s\' ve index \'%s\'', //cpg1.4
+  'username' => 'Üye adı', //cpg1.4
+  'anonymized_comments' => '%s yorum(lar) anonimleştirildi', //cpg1.4
+  'anonymized_uploads' => '%s herkeze açık dosyalar anonimleştirildi', //cpg1.4
+  'deleted_comments' => '%s yorum(lar)silindi', //cpg1.4
+  'deleted_uploads' => '%s yükleme(ler) silindi', //cpg1.4
+  'user_deleted' => '%s kullanıcı(lar) silindi', //cpg1.4
+  'activate_user' => 'Kullanıcı aktifleştir', //cpg1.4
+  'user_already_active' => 'Kullanıcı daha önce aktifleştirildi', //cpg1.4
+  'activated' => 'Aktifleştirildi', //cpg1.4
+  'deactivate_user' => 'Kullanıcı passifleştir', //cpg1.4
+  'user_already_inactive' => 'Kullanıcı daha önçe passifleştirildi', //cpg1.4
+  'deactivated' => 'Passifleştirildi', //cpg1.4
+  'reset_password' => 'Şifreyi sıfırla', //cpg1.4
+  'password_reset' => 'Şifreyi %s olarak degiştir', //cpg1.4
+  'change_group' => 'İlk gurubu degiştir', //cpg1.4
+  'change_group_to_group' => 'Changing from %s to %s', //cpg1.4
+  'add_group' => 'İkinçi bir gurup ekle', //cpg1.4
+  'add_group_to_group' => ' %s yi %s gurubuna ekle. Bu kullanıcı artık ilk olarak %s gurubunun ve ikinçi olarak %s grubunun üyesi.', //cpg1.4
+  'status' => 'Durum', //cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File displayecard.php
+// ------------------------------------------------------------------------- //
+
+if (defined('DISPLAYECARD_PHP')) {
+
+$lang_displayecard_php = array(
+  'invalid_data' => 'Hata oluştu! Bu ekart sizin email programınız için uygun olmıyabilir. Verilen http linkin dogru olarak yazıldıgını kontrol ediniz.', //cpg1.4
+);
+}
+
+// ------------------------------------------------------------------------- //
+// File displayimage.php
+// ------------------------------------------------------------------------- //
+
+if (defined('DISPLAYIMAGE_PHP')){
+
+$lang_display_image_php = array(
+  'confirm_del' => 'Bu resmi SİLMEK istediğinizden emin misiniz ? \\nYorum silinmiş olmalı.', //js-alert 
+  'del_pic' => 'BU RESMİ SİL', 
+  'size' => '%s x %s pixels',
+  'views' => '%s kez',
+  'slideshow' => 'Ardarda gösterim',
+  'stop_slideshow' => 'Gösterimi durdur',
+  'view_fs' => 'Tam boy görünüm için tıklayın',
+  'edit_pic' => 'Açıklamayı düzenle', 
+  'crop_pic' => 'Kes ve yer değiştir', 
+  'set_player' => 'Göstericiyi degiştir',
+);
+
+$lang_picinfo = array(
+  'title' =>'Resim bilgisi', 
+  'Filename' => 'Resim Adı',
+  'Album name' => 'Albüm Adı',
+  'Rating' => 'Oylar (%s oy)',
+  'Keywords' => 'Anahtarsözcük',
+  'File Size' => 'Resim boyutu',
+  'Date Added' => 'Yüklenme tarihi', //cpg1.4
+  'Dimensions' => 'Boyutlar',
+  'Displayed' => 'Gösterilme',
+  'URL' => 'URL', //cpg1.4
+  'Make' => 'Oluşturan', //cpg1.4
+  'Model' => 'Model', //cpg1.4
+  'DateTime' => 'Tarih / Zaman', //cpg1.4
+  'DateTimeOriginal' => 'Orjinal tarih', //cpg1.4
+  'ISOSpeedRatings'=>'ISO', //cpg1.4
+  'MaxApertureValue' => 'Max Aperture', //cpg1.4
+  'FocalLength' => 'Focal length', //cpg1.4
+  'Comment' => 'Yorum',
+  'addFav'=>'Favorilere ekle', 
+  'addFavPhrase'=>'Favoriler', 
+  'remFav'=>'Favorilerden ayrıl', 
+  'iptcTitle'=>'IPTC başlık', 
+  'iptcCopyright'=>'IPTC kopyalama', 
+  'iptcKeywords'=>'IPTC anahtarsözcük', 
+  'iptcCategory'=>'IPTC kategori', 
+  'iptcSubCategories'=>'IPTC alt kategoriler', 
+  'ColorSpace' => 'Renk', //cpg1.4
+  'ExposureProgram' => 'Kamera programı', //cpg1.4
+  'Flash' => 'Flaş', //cpg1.4
+  'MeteringMode' => 'Metering modu', //cpg1.4
+  'ExposureTime' => 'Exposure zamanı', //cpg1.4
+  'ExposureBiasValue' => 'Exposure Bias', //cpg1.4
+  'ImageDescription' => ' Image Description', //cpg1.4
+  'Orientation' => 'Orientation', //cpg1.4
+  'xResolution' => 'X Resolution', //cpg1.4
+  'yResolution' => 'Y Resolution', //cpg1.4
+  'ResolutionUnit' => 'Resolution Unit', //cpg1.4
+  'Software' => 'Program', //cpg1.4
+  'YCbCrPositioning' => 'YCbCrPositioning', //cpg1.4
+  'ExifOffset' => 'Exif Offset', //cpg1.4
+  'IFD1Offset' => 'IFD1 Offset', //cpg1.4
+  'FNumber' => 'FNumber', //cpg1.4
+  'ExifVersion' => 'Exif Version', //cpg1.4
+  'DateTimeOriginal' => 'DateTime Original', //cpg1.4
+  'DateTimedigitized' => 'DateTime digitized', //cpg1.4
+  'ComponentsConfiguration' => 'Components Configuration', //cpg1.4
+  'CompressedBitsPerPixel' => 'Compressed Bits Per Pixel', //cpg1.4
+  'LightSource' => 'Light Source', //cpg1.4
+  'ISOSetting' => 'ISO Setting', //cpg1.4
+  'ColorMode' => 'Color Mode', //cpg1.4
+  'Quality' => 'Quality', //cpg1.4
+  'ImageSharpening' => 'Image Sharpening', //cpg1.4
+  'FocusMode' => 'Focus Mode', //cpg1.4
+  'FlashSetting' => 'Flash Setting', //cpg1.4
+  'ISOSelection' => 'ISO Selection', //cpg1.4
+  'ImageAdjustment' => 'Image Adjustment', //cpg1.4
+  'Adapter' => 'Adapter', //cpg1.4
+  'ManualFocusDistance' => 'Manual Focus Distance', //cpg1.4
+  'DigitalZoom' => 'Digital Zoom', //cpg1.4
+  'AFFocusPosition' => 'AF Focus Position', //cpg1.4
+  'Saturation' => 'Saturation', //cpg1.4
+  'NoiseReduction' => 'Noise Reduction', //cpg1.4
+  'FlashPixVersion' => 'Flash Pix Version', //cpg1.4
+  'ExifImageWidth' => 'Exif Image Width', //cpg1.4
+  'ExifImageHeight' => 'Exif Image Height', //cpg1.4
+  'ExifInteroperabilityOffset' => 'Exif Interoperability Offset', //cpg1.4
+  'FileSource' => 'File Source', //cpg1.4
+  'SceneType' => 'Scene Type', //cpg1.4
+  'CustomerRender' => 'Customer Render', //cpg1.4
+  'ExposureMode' => 'Exposure Mode', //cpg1.4
+  'WhiteBalance' => 'White Balance', //cpg1.4
+  'DigitalZoomRatio' => 'Digital Zoom Ratio', //cpg1.4
+  'SceneCaptureMode' => 'Scene Capture Mode', //cpg1.4
+  'GainControl' => 'Gain Control', //cpg1.4
+  'Contrast' => 'Contrast', //cpg1.4
+  'Saturation' => 'Saturation', //cpg1.4
+  'Sharpness' => 'Sharpness', //cpg1.4
+  'ManageExifDisplay' => 'Manage Exif Display', //cpg1.4
+  'submit' => 'Gönder', //cpg1.4
+  'success' => 'Bilgiler kaydedildi.', //cpg1.4
+  'details' => 'Ayrıntılar', //cpg1.4
+);
+
+$lang_display_comments = array(
+  'OK' => 'TAMAM',
+  'edit_title' => 'Bu yorumu düzenle',
+  'confirm_delete' => 'Bu yorumu silmek istediğinizden emin misiniz?', //js-alert
+  'add_your_comment' => 'Yorumunuzu ekleyin',
+  'name'=>'İsim',
+  'comment'=>'Yorum',
+  'your_name' => 'Adınız',
+  'report_comment_title' => 'Admine bu yorumu bildirin', //cpg1.4
+);
+
+$lang_fullsize_popup = array(
+  'click_to_close' => 'Bu pencereyi kapatmak için götüntüye tıklayın',);
+
+}
+
+// ------------------------------------------------------------------------- //
+// File ecard.php
+// ------------------------------------------------------------------------- //
+
+if (defined('ECARDS_PHP') || defined('DISPLAYECARD_PHP')) $lang_ecard_php =array(
+  'title' => 'Ekart gönder',
+  'invalid_email' => '<b>Uyarı</b> : geçersiz email adres !',
+  'ecard_title' => ' %s den sizin için bir ekart ',
+  'error_not_image' => 'Sadece görüntüler ekart olarak gönderilebilir', 
+  'view_ecard' => 'Eğer ekart tam olarak görünmezse bu linki tıklayınız',
+  'view_ecard_plaintext' => 'Kartı görmek için verilen adresi kopyala yapıştır yöntemi ile web programınıza yazınız ve bakınız.:', //cpg1.4
+  'view_more_pics' => 'Daha fazla resim resim için bu linki tıklayınız !',
+  'send_success' => 'Ekartınız yollandı',
+  'send_failed' => 'Üzgünüm ama sunucu ekartınızı yollayamadı...',
+  'from' => 'Kimden',
+  'your_name' => 'Adınız',
+  'your_email' => 'Email adresiniz',
+  'to' => 'Kime',
+  'rcpt_name' => 'Alanın Adı',
+  'rcpt_email' => 'Alanın email adresi',
+  'greetings' => 'Başlık',
+  'message' => 'Mesajınız',
+  'ecards_footer' => '%s IP %s tarafından gönderildi %s (Galeri zamanı)', //cpg1.4
+  'preview' => 'Önizle', //cpg1.4
+  'preview_button' => 'Önizle', //cpg1.4
+  'submit_button' => 'E kart gönder', //cpg1.4
+  'preview_view_ecard' => 'Bu gönderilen bir ekartın alternatif linki olabilir. Ön izlemede çalışmayabilir.', //cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File report_file.php //cpg1.4
+// ------------------------------------------------------------------------- //
+
+if (defined('REPORT_FILE_PHP') || defined('DISPLAYREPORT_PHP')) $lang_report_php =array(
+  'title' => 'Admine bildir', //cpg1.4
+  'invalid_email' => '<b>Uyarı</b> : yanlış email adresi !', //cpg1.4
+  'report_subject' => 'Bildiri yapılan yer: %s galeri: %s', //cpg1.4
+  'view_report' => 'Alternatif link adresi Eğer bildiri dogru çalışmazsa', //cpg1.4
+  'view_report_plaintext' => 'Bildiriyi görmek için browser daki url adresini kopyala yapıştır yöntemini kullanının:', //cpg1.4
+  'view_more_pics' => 'Galeri', //cpg1.4
+  'send_success' => 'Bildiriniz gönderildi', //cpg1.4
+  'send_failed' => 'Özür dilerim. Sunucu sizin bildirinizi gönderemedi...', //cpg1.4
+  'from' => 'Gönderen', //cpg1.4
+  'your_name' => 'Adınız', //cpg1.4
+  'your_email' => 'Email adresiniz', //cpg1.4
+  'to' => 'Alanın', //cpg1.4
+  'administrator' => 'Admin / Mod', //cpg1.4
+  'subject' => 'Konu', //cpg1.4
+  'comment_field_name' => 'Yorum yapan "%s" isimli kullanıcının yorumu ', //cpg1.4
+  'reason' => 'Sebeb', //cpg1.4
+  'message' => 'Mesaj', //cpg1.4
+  'report_footer' => 'Gönderen %s, İP adresi %s saat %s (Galeri zamanı)', //cpg1.4
+  'obscene' => 'müstehcen', //cpg1.4
+  'offensive' => 'saldırgan', //cpg1.4
+  'misplaced' => 'konu dışı / gereksiz', //cpg1.4
+  'missing' => 'olmayan', //cpg1.4
+  'issue' => 'hata / görünmüyor', //cpg1.4
+  'other' => 'degişik', //cpg1.4
+  'refers_to' => 'Konuyla ilgili dosya', //cpg1.4
+  'reasons_list_heading' => 'şikayetin sebebi:', //cpg1.4
+  'no_reason_given' => 'sebeb bildirilmeden', //cpg1.4
+  'go_comment' => 'Yoruma git', //cpg1.4
+  'view_comment' => 'Tüm şikayeti yorum ile birlikte göster', //cpg1.4
+  'type_file' => 'dosya', //cpg1.4
+  'type_comment' => 'yorum', //cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File editpics.php
+// ------------------------------------------------------------------------- //
+
+if (defined('EDITPICS_PHP')) $lang_editpics_php = array(
+  'pic_info' => 'Resim bilgisi', 
+  'album' => 'Albüm',
+  'title' => 'Başlık',
+  'filename' => 'Dosya ismi', //cpg1.4
+  'desc' => 'Açıklama',
+  'keywords' => 'anahtarsözcük',
+  'new_keyword' => 'Yeni anahtarsözcük', //cpg1.4
+  'new_keywords' => 'Yeni anahtarsözcük bulunamadı', //cpg1.4
+  'existing_keyword' => 'Varolan anaktarsözcük', //cpg1.4
+  'pic_info_str' => '%sx%s - %s kB - %s x görüntülenmiş - %s x oylanmış',
+  'approve' => 'Resmi onayla', 
+  'postpone_app' => 'Onayı ertele',
+  'del_pic' => 'Resmi sil', 
+  'del_all' => 'Tüm dosyaları sil', //cpg1.4
+  'read_exif' => 'EXIF bilgisini tekrar okuyunuz', 
+  'reset_view_count' => 'Görüntü sayacını yenile',
+  'reset_all_view_count' => 'Gürüntü sayacını sıfırla', //cpg1.4
+  'reset_votes' => 'Oyları yenile',
+  'reset_all_votes' => 'Oyları sıfırla', //cpg1.4
+  'del_comm' => 'Yorumları sil',
+  'del_all_comm' => 'Yorumları sil', //cpg1.4
+  'upl_approval' => 'Onay gönder',
+  'edit_pics' => 'Resimleri Düzenle', 
+  'see_next' => 'Diğer resimlere bak', 
+  'see_prev' => 'Gerideki resimlere bak', 
+  'n_pic' => '%s resimler', 
+  'n_of_pic_to_disp' => 'Gösterim için resimlerin numaraları', 
+  'apply' => 'Değişiklikleri kaydet', 
+  'crop_title' => 'Coppermine resim editöru', 
+  'preview' => 'Özel gösterim', 
+  'save' => 'Resimleri kaydet', 
+  'save_thumb' =>'Küçük resim olarak kaydet',   'gallery_icon' => 'Galarimin ikonu yap', //cpg1.4
+  'sel_on_img' =>'Seçilen alan resimin üzerinde olmalı!', //js-alert
+  'album_properties' =>'Albüm ayarları', //cpg1.4
+  'parent_category' =>'Ana kategori', //cpg1.4
+  'thumbnail_view' =>'Önizleme', //cpg1.4
+  'select_unselect' =>'Hepsini işaretleri/işaretleri kaldır', //cpg1.4
+  'file_exists' => "'%s' zaten mevcut.", //cpg1.4
+  'rename_failed' => "'%s' ismini '%s' olarak değiştirme isteginiz başarısız oldu.", //cpg1.4
+  'src_file_missing' => "Source dosyası '%s' bulunamıyor.", // cpg 1.4
+  'mime_conv' => "'%s' dan '%s' çevirme işlemi başarısız oldu.", //cpg1.4
+  'forb_ext' => 'Yasak olan uzantı.',//cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File faq.php
+// ------------------------------------------------------------------------- //
+
+if (defined('FAQ_PHP')) $lang_faq_php = array(
+  'faq' => 'Frequently Asked Questions',
+  'toc' => 'Table of contents',
+  'question' => 'Question: ',
+  'answer' => 'Answer: ',
+);
+
+if (defined('FAQ_PHP')) $lang_faq_data = array(
+  'General FAQ',
+		'Sıkça sorulan sorular - genel',
+		array('Niçin kayıt olmak zorundayım?', 'Üyelik zorunluluğu site yönetimi tarafında zorunlu koşulabilir. Üyelik kullanıcılara daha çok imkanlar sunar. Sunulan imkanlar mesala: dosya yükleme, favorit listesi tutma, resimleri oylama ve yorum yapma ve buna benzer ayrıcalıklar tanır.', 'allow_user_registration', '0'),
+		array('Nasıl kayıt olabilirim?', 'Bunun için &quot;Registreer&quot; git ve gereken bilgileri gir (isterseniz opsiyonel bölümleride doldurabilirsiniz).<br/>Site yönetiminin ayarlarına bağlı olarak, kayıt bilgilerini gönderdikten sonra size kayıt anında verdiginiz email adresine bir elektronik posta gelir. Burada üyeliginizin aktifleştirilmesi için neler yapmanı gerektigi yazılıdır. Giriş yapabilmeniz için önce üyeliginiz aktifleşmiş olamalıdır.', 'allow_user_registration', '1'),
+		array('Nasıl giriş yapılır?', '&quot;Login&quot; git, kullanıcı ismini ve şifreni gir ve &quot;Onthoud mij&quot; seçki bir sonraki ziyaretinizde otamatik giriş yapabilesiniz.<br/><b>Önemli: Sisteminiz kurabiye dosyalarına açık olmalı ve sitenin kurabiye &quot;Onthoud mij&quot; kullanabilmek için silinmemeli.</b>', 'Çevrimdışı', 0),
+  array('Why can I not login?', 'Did you register and click the link that was sent to you via email?. The link will activate your account. For other login problems contact the site administrator.', 'offline', 0),
+  array('What if I forgot my password?', 'If this site has a &quot;Forgot password&quot; link then use it. Other than that contact the site administrator for a new password.', 'offline', 0),
+  //array('What if I changed my email address?', 'Just simply login and change your email address through &quot;Profile&quot;', 'offline', 0),
+  array('How do I save a picture to &quot;My Favorites&quot;?', 'Click on a picture and click on the &quot;picture info&quot; link (<img src="images/info.gif" width="16" height="16" border="0" alt="Picture information" />); scroll down to the picture information set and click &quot;Add to fav&quot;.<br />The administrator may have the &quot;picture information&quot; on by default.<br />IMPORTANT:Cookies must be enabled and the cookie from this site must not be deleted.', 'offline', 0),
+  array('How do I rate a file?', 'Click on a thumbnail and go to the bottom and choose a rating.', 'offline', 0),
+  array('How do I post a comment for a picture?', 'Click on a thumbnail and go to the bottom and post a comment.', 'offline', 0),
+  array('How do I upload a file?', 'Go to &quot;Upload&quot;and select the album that you want to upload to. Click &quot;Browse,&quot; find the file to upload, and click &quot;open.&quot; Add a title and description if you want. Click &quot;Submit&quot;.<br /><br />Alternatively, for those users using <b>Windows XP</b>, you can upload multiple files directly to your own private albums using the XP Publishing wizard.<br />For instructions on how, and to get the required registry file, click <a href="xp_publish.php">here.</a>', 'allow_private_albums', 1), //cpg1.4
+  array('Where do I upload a picture to?', 'You will be able to upload a file to one of your albums in &quot;My Gallery&quot;. The Administrator may also allow you to upload a file to one or more of the albums in the Main Gallery.', 'allow_private_albums', 0),
+  array('What type and size of a file can I upload?', 'The size and type (jpg, png, etc.) is up to the administrator.', 'offline', 0),
+  array('How do I create, rename or delete an album in &quot;My Gallery&quot;?', 'You should already be in &quot;Admin-Mode&quot;<br />Go to &quot;Create/Order My Albums&quot;and click &quot;New&quot;. Change &quot;New Album&quot; to your desired name.<br />You can also rename any of the albums in your gallery.<br />Click &quot;Apply Modifications&quot;.', 'allow_private_albums', 0),
+  array('How can I modify and restrict users from viewing my albums?', 'You should already be in &quot;Admin Mode&quot;<br />Go to &quot;Modify My Albums. On the &quot;Update Album&quot; bar, select the album that you want to modify.<br />Here, you can change the name, description, thumbnail picture, restrict viewing and comment/rating permissions.<br />Click &quot;Update Album&quot;.', 'allow_private_albums', 0),
+  array('How can I view other users\' galleries?', 'Go to &quot;Album List&quot; and select &quot;User Galleries&quot;.', 'allow_private_albums', 0),
+  array('What are cookies?', 'Cookies are a plain text piece of data that is sent from a website and is put on to your computer.<br />Cookies usually allow a user to leave and return to the site without having to login again and other various chores.', 'offline', 0),
+  array('Where can I get this program for my site?', 'Coppermine is a free Multimedia Gallery, released under GNU GPL. It is full of features and has been ported to various platforms. Visit the <a href="http://coppermine-gallery.net/">Coppermine Home Page</a> to find out more or download it.', 'offline', 0),
+
+  'Navigating the Site',
+  array('What\'s &quot;Album List&quot;?', 'This will show you the entire kategori you are currently in, with a link to each album. If you are not in a kategori, it will show you the entire gallery with a link to each category. Thumbnails may be a link to the category.', 'offline', 0),
+  array('What\'s &quot;My Gallery&quot;?', 'This feature lets users create their own galleries and add, delete or modify albums as well as upload to them.', 'allow_private_albums', 1), //cpg1.4
+  array('What\'s the difference between &quot;Admin Mode&quot; and &quot;User Mode&quot;?', 'This feature, when in admin-mode, allows a user to modify their gallery (as well as others if allowed by the administrator).', 'allow_private_albums', 0),
+  array('What\'s &quot;Upload Picture&quot;?', 'This feature allows a user to upload a file (size and type is set by the site administrator) to a gallery selected by either you or the administrator.', 'allow_private_albums', 0),
+  array('What\'s &quot;Last Uploads&quot;?', 'This feature shows the last uploads to the site.', 'offline', 0),
+  array('What\'s &quot;Last Comments&quot;?', 'This feature shows the last comments along with the files posted by users.', 'offline', 0),
+  array('What\'s &quot;Most Viewed&quot;?', 'This feature shows the most viewed files by all users (whether logged in or not).', 'offline', 0),
+  array('What\'s &quot;Top Rated&quot;?', 'This feature shows the top rated files rated by the users, showing the average rating (e.g: five users each gave a <img src="images/rating3.gif" width="65" height="14" border="0" alt="" />: the file would have an average rating of <img src="images/rating3.gif" width="65" height="14" border="0" alt="" /> ;Five users rated the file from 1 to 5 (1,2,3,4,5) would result in an average <img src="images/rating3.gif" width="65" height="14" border="0" alt="" /> .)<br />The ratings go from <img src="images/rating5.gif" width="65" height="14" border="0" alt="best" /> (best) to <img src="images/rating0.gif" width="65" height="14" border="0" alt="worst" /> (worst).', 'offline', 0),
+  array('What\'s &quot;My Favorites&quot;?', 'This feature will let a user store a favorite file in the cookie that was sent to your computer.', 'offline', 0),
+);
+
+
+// ------------------------------------------------------------------------- //
+// File forgot_passwd.php
+// ------------------------------------------------------------------------- //
+
+if (defined('FORGOT_PASSWD_PHP')) $lang_forgot_passwd_php = array(
+  'forgot_passwd' => 'Şifremi unuttum', 
+  'err_already_logged_in' => 'Daha önceden giriş yapmışsınız !', 
+  'enter_email' => 'Email adresinizi yazın', //cpg1.4
+  'submit' => 'Gönder', 
+  'illegal_session' => 'Şifre gönder işleminde hata oluştu.', //cpg1.4
+  'failed_sending_email' => 'Şifreniz yollanamadı !', 
+  'email_sent' => 'Üye adınız ve şifrenize email yoluyla %s a yollandı', 
+  'verify_email_sent' => ' %s adresine email gönderildi. İşlemi tamamlamak için elektronik postanızı kontrol ediniz.', //cpg1.4
+  'err_unk_user' => 'Seçilen kullanıcı bulunamadı!', 
+  'account_verify_subject' => '%s - Yeni şifre', //cpg1.4
+  'account_verify_body' => 'Şifrenizi yenilemek istiyorsunuz. Size yeni bir şifre gönderilmeisini istiyorsanız aşagıdaki linke tıklayınız:
+
+%s', //cpg1.4
+  'passwd_reset_subject' => '%s - Yeni şifreniz', //cpg1.4
+  'passwd_reset_body' => 'İstediginiz yeni şifreniz:
+Üye adı: %s
+Şifre: %s
+Giriş için %s i tıklayın.', 
+);
+
+// ------------------------------------------------------------------------- //
+// File groupmgr.php
+// ------------------------------------------------------------------------- //
+
+if (defined('GROUPMGR_PHP')) $lang_groupmgr_php = array(
+  'group_name' => 'Grup Adı',
+  'permissions' => 'Yetkiler', //cpg1.4
+  'public_albums' => 'Herkese açık yükleme', //cpg1.4
+  'personal_gallery' => 'Kişisel galari', //cpg1.4
+  'upload_method' => 'Yükleme metodu', //cpg1.4
+  'disk_quota' => 'Disk boyutu', //cpg1.4
+  'rating' => 'Oylama', //cpg1.4
+  'ecards' => 'Ekard', //cpg1.4
+  'comments' => 'Yorum', //cpg1.4
+  'allowed' => 'İzin', //cpg1.4
+  'approval' => 'Onay', //cpg1.4
+  'boxes_number' => 'Gönderme kutu sayısı', //cpg1.4
+  'variable' => 'degişken', //cpg1.4
+  'fixed' => 'sabit', //cpg1.4
+  'apply' => 'Değişiklikleri kaydet',
+  'create_new_group' => 'Yeni grup ',
+  'del_groups' => 'Seçilen grup (-ları) sil',
+  'confirm_del' => 'Uyarı, ne zaman bir grubu silerseniz, o gruba ait olan kullanıcılar \'Kayıtlı\' grubuna transfer edilecektir !\n\nDevam etmek istiyor musunuz?', //js-alert 
+  'title' => 'Kullanıcı gruplarını yönet',
+  'num_file_upload' => 'Dosya yükleme kutusu', //cpg1.4
+  'num_URI_upload' => 'URI yükleme kutusu', //cpg1.4
+  'reset_to_default' => 'Orjinal ayarlara geri dön (%s) - tavsiye edilir!', //cpg1.4
+  'error_group_empty' => 'Grup tablosu boş !<br /><br />Bir grup oluşturuldu, lütfen sayfayı yükleyiniz.', //cpg1.4
+  'explain_greyed_out_title' => 'Bu sıra neden kapalı?', //cpg1.4
+  'explain_guests_greyed_out_text' => 'Bu grup ayarlarını değiştiremezsiniz. Çünkü ayarları &quot; Config sayfasından herkeze açık giriş iznini (misafir) &quot; den &quot;No&quot; a çeviriniz. Bütün misafirler (bu grup üyeleri %s) giriş dışında her şeyi yapabilirler; bu yüzden bu ayarlar onlar için geçerli değil.', //cpg1.4
+  'explain_banned_greyed_out_text' => 'Bu grup ayarlarını değiştiremezsiniz. Çünkü bu grub zaten bir şey yapamıyor.', //cpg1.4
+  'group_assigned_album' => 'tanımlanımş album(ler)', //cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File index.php
+// ------------------------------------------------------------------------- //
+
+if (defined('INDEX_PHP')){
+
+$lang_index_php = array(
+  'welcome' => 'Hoşgeldiniz !',
+);
+
+$lang_album_admin_menu = array(
+  'confirm_delete' => 'Bu albümü SİLMEK istediğinizden emin misiniz ? \\nBütün resimler ve yorumlar silinmiş olacaktır.', //js-alert 
+  'delete' => 'Sil',
+  'modify' => 'Özellikler',
+  'edit_pics' => 'Resimleri düzenle', 
+);
+
+$lang_list_categories = array(
+  'home' => 'Ana sayfa',
+  'stat1' => 'Sitemizde yayınlanan <b>[albums]</b> albümdeki <b>[pictures]</b> adet resimler <b>[views]</b> kez izlenilmiş ve <b>[comments]</b> kez yorum yazılmıştır. ', 
+  'stat2' => 'resim sayısı:<b>[pictures]</b>, albüm sayısı <b>[albums]</b>, izlenme sayısı: <b>[views]</b>', 
+  'xx_s_gallery' => '%s\'nin galarisi',
+  'stat3' => 'Sitemizde yayınlanan <b>[albums]</b> albümün içindeki <b>[pictures]</b> adet resimler <b>[views]</b> kez izlenmiş ve bu resimlere <b>[comments]</b> adet yorum gönderilmiştir. ', 
+);
+
+$lang_list_users = array(
+  'user_list' => 'Kullanıcı listesi',
+  'no_user_gal' => 'Kullanıcı galerisi yok',
+  'n_albums' => '%s albüm(-ler)',
+  'n_pics' => '%s resim(-ler)', 
+);
+
+$lang_list_albums = array(
+  'n_pictures' => '%s resimler', 
+  'last_added' => ', sonuncusu %s da eklendi',
+  'n_link_pictures' => '%s bağlı dosyalar', //cpg1.4
+  'total_pictures' => '%s dosya toplamı', //cpg1.4
+);
+
+}
+
+// ------------------------------------------------------------------------- //
+// File keywordmgr.php //cpg1.4
+// ------------------------------------------------------------------------- //
+
+if (defined('KEYWORDMGR_PHP')) $lang_keywordmgr_php = array(
+  'title' => 'Anahtarsözcük yönetimi', //cpg1.4
+  'edit' => 'değiştir', //cpg1.4
+  'delete' => 'sil', //cpg1.4
+  'search' => 'ara', //cpg1.4
+  'keyword_test_search' => 'yeni ekranda %s ara', //cpg1.4
+  'keyword_del' => '%s anahtarsözcüğünü sil', //cpg1.4
+  'confirm_delete' => '%s anahtarsözcüğünü silmek istediğinize eminmisiniz?', //cpg1.4  // js-alert
+  'change_keyword' => 'anahtarsözcüğünü değiştir', //cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File login.php
+// ------------------------------------------------------------------------- //
+
+if (defined('LOGIN_PHP')) $lang_login_php = array(
+  'login' => 'Giriş',
+  'enter_login_pswd' => 'Giriş yapmak için kullanıcı adınızı ve şifrenizi yazın',
+  'username' => 'Üye adı',
+  'password' => 'Şifre',
+  'remember_me' => 'Beni hatırla',
+  'welcome' => 'Hoşgeldin %s ...',
+  'err_login' => '*** Giriş yapılamadı! Lütfen tekrar deneyin ***',
+  'err_already_logged_in' => 'Daha önceden giriş yapmışsınız !',
+  'forgot_password_link' => 'Şifremi unuttum', 
+  'cookie_warning' => 'Web proğramınız kurabiyeleri kabul etmiyor', //cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File logout.php
+// ------------------------------------------------------------------------- //
+
+if (defined('LOGOUT_PHP')) $lang_logout_php = array(
+  'logout' => 'Çıkış',
+  'bye' => 'Güle güle %s ...',
+  'err_not_loged_in' => 'Giriş yapmamışsınız !',
+);
+
+// ------------------------------------------------------------------------- //
+// File minibrowser.php  //cpg1.4
+// ------------------------------------------------------------------------- //
+
+if (defined('MINIBROWSER_PHP')) $lang_minibrowser_php = array(
+  'close' => 'kapat', //cpg1.4
+  'submit' => 'Tamam', //cpg1.4
+  'up' => 'bir klasör yukarı', //cpg1.4
+  'current_path' => 'şu andaki pat', //cpg1.4
+  'select_directory' => 'Lütfen bir klasör seçiniz', //cpg1.4
+  'click_to_close' => 'Ekranı kapatmak için resime tıklayınız',
+);
+
+// ------------------------------------------------------------------------- //
+// File modifyalb.php
+// ------------------------------------------------------------------------- //
+
+if (defined('MODIFYALB_PHP')) $lang_modifyalb_php = array(
+  'upd_alb_n' => 'Güncellenen albüm %s',
+  'general_settings' => 'Genel ayarlar',
+  'alb_title' => 'Albüm başlığı',
+  'alb_cat' => 'Albüm kategorisi',
+  'alb_desc' => 'Albüm açıklaması',
+  'alb_keyword' => 'Albüm anahtarsözcükleri', //cpg1.4
+  'alb_thumb' => 'Albüm küçük resmi',
+  'alb_perm' => 'Bu albüm için izinler',
+  'can_view' => 'Albüm tarafından görüntülenebilir',
+  'can_upload' => 'Ziyaretçiler resim yükleyebilirler',
+  'can_post_comments' => 'Ziyaretçiler yorum ekleyebilirler',
+  'can_rate' => 'Ziyaretçiler oy verebilirler',
+  'user_gal' => 'Kullanıcı galerisi',
+  'no_cat' => '* Kategori yok *',
+  'alb_empty' => 'Albüm boş',
+  'last_uploaded' => 'Son yüklenenler',
+  'public_alb' => 'Herkes (Herkese açık albüm)',
+  'me_only' => 'Sadece ben',
+  'owner_only' => 'Sadece (%s) albüm sahibi',
+  'groupp_only' => ' \'%s\' grubunun üyeleri',
+  'err_no_alb_to_modify' => 'veritabanında albüm düzenleyemezsiniz.',
+  'update' => 'Albümü güncelle', 
+  'reset_album' => 'Albümü sıfırla', //cpg1.4
+  'reset_views' => 'İzlenme sayacını ayarla &quot;0&quot; in %s', //cpg1.4
+  'reset_rating' => 'Oylama sayacını sıfırla %s', //cpg1.4
+  'delete_comments' => 'Yorumları sil %s', //cpg1.4
+  'delete_files' => '%sIrreversibly%s dosyaların tamamını sil %s', //cpg1.4
+  'views' => 'izlenme', //cpg1.4
+  'votes' => 'oylar', //cpg1.4
+  'comments' => 'yorumlar', //cpg1.4
+  'files' => 'dosyalar', //cpg1.4
+  'submit_reset' => 'degişiklikleri kaydet', //cpg1.4
+  'reset_views_confirm' => 'evet eminim', //cpg1.4
+  'notice1' => '(*) %sgroups%s grup ayarlarına bağlı',  //cpg1.4 //(do not translate %s!)
+  'alb_password' => 'Albüm şifresi', //cpg1.4
+  'alb_password_hint' => 'Albüm hatırlatma', //cpg1.4
+  'edit_files' =>'dosya ayarları', //cpg1.4
+  'parent_category' =>'Kategoriler', //cpg1.4
+  'thumbnail_view' =>'Toplu halde göster', //cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File phpinfo.php
+// ------------------------------------------------------------------------- //
+
+if (defined('PHPINFO_PHP')) $lang_phpinfo_php = array(
+  'php_info' => 'PHP info',
+  'explanation' => 'PHP tarafından üretilen bilgiler <a href="http://www.php.net/phpinfo">phpinfo()</a>, Coppermine içinde gösterilir (sağ tarafta).',
+  'no_link' => 'Bu bilgilerin yayınlanması güvenlik rizikosu oluşturabileceğinden bu sayfa sadece yöneticilere açıktır. Bu sayfanın linkini de gönderemezsiniz. Yöneticiler dışında kimse açamaz bu sayfayı.',
+);
+
+// ------------------------------------------------------------------------- //
+// File picmgr.php //cpg1.4
+// ------------------------------------------------------------------------- //
+if (defined('PICMGR_PHP')) $lang_picmgr_php = array(
+  'pic_mgr' => 'Resim yönetimi', //cpg1.4
+  'select_album' => 'Albüm seç', //cpg1.4
+  'delete' => 'Sil', //cpg1.4
+  'confirm_delete1' => 'Bu dosyayı silmek istediğinize eminmisiniz?', //cpg1.4
+  'confirm_delete2' => '\nDosya tamamen silinecektir.', //cpg1.4
+  'apply_modifs' => 'Degişiklikleri uygula', //cpg1.4
+  'confirm_modifs' => 'Degişiklikleri onayla', //cpg1.4
+  'pic_need_name' => 'Resimlerin bir ismi olmalı!', //cpg1.4
+  'no_change' => 'Herhangi bir değişiklik yapılmadı !', //cpg1.4
+  'no_album' => '* Albüm yok *', //cpg1.4
+  'explanation_header' => 'Kişisel sınıflandırma sadece bazı koşullarda gösterilecektir', //cpg1.4
+  'explanation1' => 'yönetici varsayılan sınıflandırmayı ayarlarda "azalan" veya "artan" olarak ayarlar (sınıflandırma seçmemiş kullanıcılar için varsayılan ayarlar)', //cpg1.4
+  'explanation2' => 'kullanıcı "azalan" veya "artan" seçer (kullanıcı ayarları)', //cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File pluginmgr.php //cpg1.4
+// ------------------------------------------------------------------------- //
+
+if (defined('PLUGINMGR_PHP')){
+
+$lang_pluginmgr_php = array(
+  'confirm_uninstall' => 'Bu eklentiyi kaldırmak istediğinize eminmisiniz?', //cpg1.4
+  'confirm_delete' => 'Bu eklentiyi silmek istediğinize eminmisiniz?', //cpg1.4
+  'pmgr' => 'Eklenti Ayarları', //cpg1.4
+  'name' => 'Ad', //cpg1.4
+  'author' => 'Yazar', //cpg1.4
+  'desc' => 'Tanımla', //cpg1.4
+  'vers' => 'v', //cpg1.4
+  'i_plugins' => 'Eklenti kur', //cpg1.4
+  'n_plugins' => 'Eklenti kurulmadı', //cpg1.4
+  'none_installed' => 'Kurulmadı', //cpg1.4
+  'operation' => 'Çalışma', //cpg1.4
+  'not_plugin_package' => 'Yüklenen dosya eklenti paketi değil.', //cpg1.4
+  'copy_error' => 'Eklenti klasöre kopyalamada bir hata oluştu.', //cpg1.4
+  'upload' => 'Yükle', //cpg1.4
+  'configure_plugin' => 'Eklenti ayarları', //cpg1.4
+  'cleanup_plugin' => 'Eklenti temizle', //cpg1.4
+);
+}
+
+// ------------------------------------------------------------------------- //
+// File ratepic.php
+// ------------------------------------------------------------------------- //
+
+if (defined('RATEPIC_PHP')) $lang_rate_pic_php = array(
+  'already_rated' => 'Bu resme daha önceden oy verdiniz', 
+  'rate_ok' => 'Oyunuz kabul edildi',
+  'forbidden' => 'Kendi resimlerinize oy veremezsiniz.', 
+);
+
+// ------------------------------------------------------------------------- //
+// File register.php & profile.php
+// ------------------------------------------------------------------------- //
+
+if (defined('REGISTER_PHP') || defined('PROFILE_PHP')) {
+
+$lang_register_disclamer = <<<EOT
+Her nekadar{SITE_NAME} da istenmeyen yayınlar veya yorumlar site yönetimi tarafından en kısa sürede silinsede, yöneticinin herşeyi takip etmesi oldukça zor. Bunların tamamen onları yazan kişilerin görüşü olduğu ve yöneticilerin görüş ve düşüncelerini temsil etmediğini kabul etmiş olursunuz.<br />
+<br />
+Kaba, hakaret içeren, yanlış, sıkıcı, tehdit içeren, diğer kullanıcıların kişilik haklarını ihlal edici, cinsel öğeler içeren, TC yasalarını çiğneyen mesajlardan lütfen kaçınınız. Foruma telif haklarına muhalif metaryel göndermeyiniz. Mesajın içeri mesajı gönderenin sorumluğundadır,  --sitenizin adı--- bağlamaz. Foruma mesaj gönderdiğinizde gönderim tarih, saati, IP numaranız gibi bilgiler kaydedilir. Sitemize kaydedilen ve yüklenen bilgiler sizin izniniz olmadan bir başkasına verilmez. Yanlız yöneticilerin kontrolü dışında hack gibi olaylardan dolayı alınan bilgilerden doğacak maddi ve manevi zararlardan sitemiz ve yönetiçilerimiz sorumlu tutulamıyacagını kabul emiş olursunuz.<br />
+<br />
+Bu site yerel bilgisayarlar krabiye dosyası bırakır. Bu sadece üyelerimizi tanımak içindir. Email adesiniz sadece kayıt anında kullanılır.<br />
+<br />
+Kabul ediyorum tuşuna seçtiğiniz andan itibaren bunlarıda kabul etmiş olursunuz.
+EOT;
+
+$lang_register_php = array(
+  'page_title' => 'Kullanıcı kayıdı',
+  'term_cond' => 'Durumlar ve süreler',
+  'i_agree' => 'Kabul ediyorum',
+  'submit' => 'Üyelik oluştur',
+  'err_user_exists' => 'Yazdığınız kullanıcı adı bulunamadı, lütfen başka birtane seçin',
+  'err_password_mismatch' => 'İki şifre birbirine uymuyor, lütfen tekrar yazın',
+  'err_uname_short' => 'Kullanıcı adı en az 2 karakterden fazla olmalıdır',
+  'err_password_short' => 'Şifre en az 2 karakterden fazla olmalıdır',
+  'err_uname_pass_diff' => 'Üye adı ve şifre birbirinden farklı olmalıdır',
+  'err_invalid_email' => 'Email adresi geçersiz',
+  'err_duplicate_email' => 'Yazdığınız email adresi zaten sitemizde kayıtlıdır. Lütfen size ait bir email adresi yazınız.',
+  'enter_info' => 'Kayıt bilgilerini girin',
+  'required_info' => 'Zorunlu bilgiler',
+  'optional_info' => 'İsteğe bağlı bilgiler',
+  'username' => 'Üye adı',
+  'password' => 'Şifre',
+  'password_again' => 'Şifreyi tekrar yazın',
+  'email' => 'Email',
+  'location' => 'Nereden',
+  'interests' => 'Hobiler',
+  'website' => 'Web sitesi',
+  'occupation' => 'Meslek',
+  'error' => 'HATA',
+  'confirm_email_subject' => '%s - Kayıt Doğrulama',
+  'information' => 'Bilgi',
+  'failed_sending_email' => 'Kayıt doğrulama maili yollanamadı !',
+  'thank_you' => 'Kayıt olduğunuz için teşekkürler.<br /><br />Email adresinize üyeliğinizi aktif etmeniz için bir mail gönderildi.',
+  'acct_created' => 'Üyeliğiniz oluşturuldu ve şimdi siteye girip kullanıcı adınız ve şifrenizle giriş yapabilirsiniz',
+  'acct_active' => 'Tebrikler! Üyeliğiniz başarı ile oluşturulmuş ve aktif hale getirilmiştir. Üye adınız ve şifrenizle giriş yapabilirsiniz',
+  'acct_already_act' => 'Üyeliğiniz daha önceden aktif edilmiş !',
+  'acct_act_failed' => 'Bu üyelik aktif edilemez !',
+  'err_unk_user' => 'Seçilen kullanıcı bulunamadı !',
+  'x_s_profile' => '%s\'nin profili',
+  'group' => 'Grup',
+  'reg_date' => 'Üyelik tarihi',
+  'disk_usage' => 'Kullanıdıgı disk alanı',
+  'current_pass' => 'Şimdiki şifre',
+  'new_pass' => 'Yeni şifre',
+  'new_pass_again' => 'Yeni şifre tekrarı',
+  'err_curr_pass' => 'Şimdiki şifreniz yanlış',
+  'apply_modif' => 'Değişiklikleri kaydet',
+  'change_pass' => 'Şifremi değiştir',
+  'update_success' => 'Profiliniz güncellendi',
+  'pass_chg_success' => 'Şifreniz değişti',
+  'pass_chg_error' => 'Şifreniz değişmedi',
+  'notify_admin_email_subject' => '%s - Kayıt Bildirisi', 
+  'notify_admin_email_body' => 'Yeni bi kullanıcı "%s" galerinize kayıt oldu', 
+  'last_uploads' => 'Son yüklenen dosya.<br /> Yüklemelerin tamamını görmek için tıkla', //cpg1.4
+  'last_comments' => 'Son yorum.<br />Yorumların tamamını görmek için tıkla', //cpg1.4
+  'notify_admin_email_body' => '"%s" isimli yeni üye galerinize üye oldu',
+  'pic_count' => 'Dosya yüklendi', //cpg1.4
+  'notify_admin_request_email_subject' => '%s - Kayıt taleb', //cpg1.4
+  'thank_you_admin_activation' => 'Teşekkürler.<br /><br />Üyelik kayıt aktifleştirme isteğiniz site yönetimine gönderildi. Üyeliğiniz aktifleştirildiği email ile bildirilecektir.', //cpg1.4
+  'acct_active_admin_activation' => 'üyelik aktifleştirilmiştir. Üyeye email gönderilerek bu bildirilmiştir.', //cpg1.4
+  'notify_user_email_subject' => '%s - Aktif tebliği', //cpg1.4
+);
+
+$lang_register_confirm_email = <<<EOT
+{SITE_NAME}e kayıt olduğunuz için teşekkürler.
+
+Üye adınız : "{USER_NAME}"
+Şifreniz : "{PASSWORD}"
+
+Üyeliğinizi aktif etmek için, aşağıdaki linki tıklamalısınız.
+Eğer bu işlem başarısız olur ise aşagıdaki adresi internet programınıza kopyalayın ve adres satırına yapıştırıp enter ile açınız.
+
+<a href="{ACT_LINK}">{ACT_LINK}</a>
+
+Teşekkürler,
+
+{SITE_NAME} yönetimi
+
+EOT;
+
+$lang_register_approve_email = <<<EOT
+"{USER_NAME}" adlı kullanıcı sitenize üye oldu.
+
+Üyeliği aktif etmek için linke tıklayınız.
+
+<a href="{ACT_LINK}">{ACT_LINK}</a>
+
+EOT;
+
+$lang_register_activated_email = <<<EOT
+Üyeliğiniz kabul edildi ve aktifleştirildi.
+
+<a href="{SITE_LINK}">{SITE_LINK}</a> adresine "{USER_NAME}" üyelik adı ve şifrenizle girebilirsiniz.
+
+
+Saygılar,
+
+{SITE_NAME} sitesinin yönetimi
+
+EOT;
+}
+
+// ------------------------------------------------------------------------- //
+// File reviewcom.php
+// ------------------------------------------------------------------------- //
+
+if (defined('REVIEWCOM_PHP')) $lang_reviewcom_php = array(
+  'title' => 'Yorumları incele',
+  'no_comment' => 'İnceleme için bir yorum bulunamadı',
+  'n_comm_del' => '%s yorum(-lar) silindi',
+  'n_comm_disp' => 'Ekranda gösterilen yorum adeti',
+  'see_prev' => 'Geriye bak',
+  'see_next' => 'İleriye bak',
+  'del_comm' => 'Seçilen yorumları sil',
+  'user_name' => 'Ad', //cpg1.4
+  'date' => 'Tarih', //cpg1.4
+  'comment' => 'Yorum', //cpg1.4
+  'file' => 'Dosya', //cpg1.4
+  'name_a' => 'Üye adı artan', //cpg1.4
+  'name_d' => 'Üye adı azalan', //cpg1.4
+  'date_a' => 'Tarih artan', //cpg1.4
+  'date_d' => 'Tarih azalan', //cpg1.4
+  'comment_a' => 'Yorumlar artan', //cpg1.4
+  'comment_d' => 'Yorumlar azalan', //cpg1.4
+  'file_a' => 'Dosya artan', //cpg1.4
+  'file_d' => 'Dosya azalan', //cpg1.4
+);
+
+
+// ------------------------------------------------------------------------- //
+// File search.php                                                           //
+// ------------------------------------------------------------------------- //
+
+
+if (defined('SEARCH_PHP')){
+
+$lang_search_php = array(
+  'title' => 'Site içi ara', //cpg1.4
+  'submit_search' => 'ara', //cpg1.4
+  'keyword_list_title' => 'Kelimeler', //cpg1.4
+  'keyword_msg' => 'Yukarıdaki liste bütün kelimeleri içermez. Lütfen aradığınız kelimeleri yazınız.',  //cpg1.4
+  'edit_keywords' => 'Anahtarsözcük değiştir', //cpg1.4
+  'search in' => 'Aranacak seçenekler:', //cpg1.4
+  'ip_address' => 'IP adresi', //cpg1.4
+  'fields' => 'Gelişmiş arama seçenekleri', //cpg1.4
+  'age' => 'Zaman', //cpg1.4
+  'newer_than' => 'En yeni', //cpg1.4
+  'older_than' => 'En eski', //cpg1.4
+  'days' => 'gün', //cpg1.4
+  'all_words' => 'Tam kelimler (AND)', //cpg1.4
+  'any_words' => 'Bütün kelimeler (OR)', //cpg1.4
+);
+
+$lang_adv_opts = array(
+  'title' => 'Adı', //cpg1.4
+  'caption' => 'Tarifi', //cpg1.4
+  'keywords' => 'Arama kelimesi', //cpg1.4
+  'owner_name' => 'Sahibinin adı', //cpg1.4
+  'filename' => 'Dosya adı', //cpg1.4
+);
+
+}
+// ------------------------------------------------------------------------- //
+// File searchnew.php
+// ------------------------------------------------------------------------- //
+
+if (defined('SEARCHNEW_PHP')) $lang_search_new_php = array(
+  'page_title' => 'Yeni resimler ara', 
+  'select_dir' => 'Klasör seç',
+  'select_dir_msg' => 'Bu fonksiyon size FTP ile sunucunuza resim grubu eklemenize izin verir.<br /><br />Resimlerinizi eklediğiniz klasörü seçin', 
+  'no_pic_to_add' => 'Eklemek için resim bulunamadı', 
+  'need_one_album' => 'Son olarak bu fonksiyonu kullanabilmek için bir albüme ihtiyacınız var',
+  'warning' => 'Uyarı',
+  'change_perm' => 'Script bu klasörü yazamaz , modunu resimleri eklemeden önce 755 e vaya 777 ye çevirmeniz gerekir !', 
+  'target_album' => '<b>Resimlerini koy &quot;</b>%s<b>&quot; içine </b>%s', 
+  'folder' => 'Klasör',
+  'image' => 'Dosya',
+  'album' => 'Albüm',
+  'result' => 'Sonuç',
+  'dir_ro' => 'Yazılamaz. ',
+  'dir_cant_read' => 'Okunamaz. ',
+  'insert' => 'Galeriye yeni resimler ekleme', 
+  'list_new_pic' => 'Yeni resimlerin listesi', 
+  'insert_selected' => 'Seçilen resimleri ekle', 
+  'no_pic_found' => 'Yeni resim bulunamadı', 
+  'be_patient' => 'Lütfen sabırlı olun, scriptin resimleri eklemek için zamana ihtiyacı var', 
+  'no_album' => 'Albüm seçilmedi',  
+  'notes' =>  '<ul>'.
+                          '<li><b>OK</b> : anlamı resim başarıyla eklendi'.
+                          '<li><b>DP</b> : anlamı resim aynı ve daha öneceden veri tabanın içinde'.
+                          '<li><b>PB</b> : anlamı resim eklenemedi, biçiminizi ve resimlerin nerede klasör izninine sahip olduğunuzu kontrol ediniz'.
+                          '<li><b>NA</b> : anlamı resime gidebilmek için bir albüm seçmediniz, \' <a href="javascript:history.back(1)">geriye gidin</a>\' ve bir albüm seçin. Eğer albümünüz yoksa<a href="albmgr.php">birtane oluşturun</a></li>'.
+                          '<li>Eğer TAMAM, DP, PB \'signs\' gözükmüyorsa hata görmemek için resme tıklayın'.
+                          '<li>Eğer browserınız timeout ise, tekrar yükle butonunu tıklayınız'.
+                          '</ul>', 
+  'select_album' => 'albüm seç', 
+  'check_all' => 'Tümünü kontrol et', 
+  'uncheck_all' => 'Tümünü kontrol etme', 
+  'no_folders' => '"Albums" klasörünün içinde hiç bir klasör yok henüz. Bu klasörün içinde en az bir klasör oluşturmanız gerekiyor. Daha sonrada dosyalarınızı bu klasörün içine ftp ile yükleyiniz. Dikkat:  "userpics" ve "edit" klasörlerinin içine hiç bir şey yüklemeyin. Bu klasörler sistem dosyaları ve http yüklemeleri için kullanılmakta.', //cpg1.4
+   'albums_no_category' => 'Kategori dışı albümler', //cpg1.4 // album pulldown mod, added by frogfoot
+  'personal_albums' => '* Kişisel albümler', //cpg1.4 // album pulldown mod, added by frogfoot
+  'browse_batch_add' => 'Browsable görünüm (tavsiye edilir)', //cpg1.4
+  'edit_pics' => 'Dosyaları değiştir', //cpg1.4
+  'edit_properties' => 'Albüm ayarları', //cpg1.4
+  'view_thumbs' => 'Önizleme', //cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File stat_details.php //cpg1.4
+// ------------------------------------------------------------------------- //
+
+if (defined('STAT_DETAILS_PHP')) $lang_stat_details_php = array(
+  'show_hide' => 'Bu sütunu göster/gizle', //cpg1.4
+  'vote' => 'Oy ayrıntıları', //cpg1.4
+  'hits' => 'İzlenme ayrıntıları', //cpg1.4
+  'stats' => 'Oy istatistikleri', //cpg1.4
+  'sdate' => 'Tarih', //cpg1.4
+  'rating' => 'İzlenme oranı', //cpg1.4
+  'search_phrase' => 'Arama tarzı', //cpg1.4
+  'referer' => 'Referer', //cpg1.4
+  'browser' => 'Browser', //cpg1.4
+  'os' => 'Operating System', //cpg1.4
+  'ip' => 'IP', //cpg1.4
+  'sort_by_xxx' => 'Sıralam şekli: %s', //cpg1.4
+  'ascending' => 'artan', //cpg1.4
+  'descending' => 'azalan', //cpg1.4
+  'internal' => 'int', //cpg1.4
+  'close' => 'kapat', //cpg1.4
+  'hide_internal_referers' => 'internal referers gizle', //cpg1.4
+  'date_display' => 'Tarih ekranı', //cpg1.4
+  'submit' => 'gönder / yenile', //cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File thumbnails.php
+// ------------------------------------------------------------------------- //
+
+// Void
+
+// ------------------------------------------------------------------------- //
+// File upload.php
+// ------------------------------------------------------------------------- //
+
+if (defined('UPLOAD_PHP')) $lang_upload_php = array(
+  'title' => 'Upload file', 
+  'custom_title' => 'Talep formu düzenleme', 
+  'cust_instr_1' => 'Yükleme kutularının numarasını seçebilirisin. Bununla birlikte, Aşağıda listelenen limitin üstünde seçim yapamzsınız.', 
+  'cust_instr_2' => 'Kutu numarası talebi', 
+  'cust_instr_3' => 'Resim yükleme kutuları: %s', 
+  'cust_instr_4' => 'URI/URL yükleme kutuları: %s', 
+  'cust_instr_5' => 'URI/URL yükleme kutuları:', 
+  'cust_instr_6' => 'Resim yükleme kutuları:', 
+  'cust_instr_7' => 'Lütfen istediğiniz yükleme kutusunun numarasını girin, sonra tıklayın \'Devam et\'. ', 
+  'reg_instr_1' => 'Forum oluşumunda geçersiz durum.', 
+  'reg_instr_2' => 'Aşağıda kullanılan yükleme kutularından resimlerinizi yükleyebilirsiniz. Sunucuya yüklediğiniz resimler boyutu aşmamalıdır ve herbiri için %s KB olmalıdır. ZIP resimleri \'File Upload\' e yüklendi ve  \'URI/URL Upload\' bölümleri sıkışmış olarak kalacaktır.', 
+  'reg_instr_3' => 'Eğer sıkıştırılmış resimleri açmak istiyorsanız, \'Decompressive ZIP Upload\' daki yükleme kutusunu kullanmalısınız.', //cpg1.3.0
+  'reg_instr_4' => 'URI/URL yükleme seçeneklerini kullandığınız zaman, lütfen örnekteki gibi: http://www.mysite.com/images/example.jpg yol verin', //cpg1.3.0
+  'reg_instr_5' => 'Formu tamamladığınızda, lütfen tıklayın \'Devam et\'.', //cpg1.3.0
+  'reg_instr_6' => 'Zipli dosyaları açma:', //cpg1.3.0
+  'reg_instr_7' => 'Resim yüklemeleri:', //cpg1.3.0
+  'reg_instr_8' => 'URI/URL Yüklemeleri:', //cpg1.3.0
+  'error_report' => 'Hata raporu', //cpg1.3.0
+  'error_instr' => 'Takip edilen yükleme karşılaştırma hataları:', //cpg1.3.0
+  'file_name_url' => 'Resim Adı/URL', //cpg1.3.0
+  'error_message' => 'Hata Mesajı', //cpg1.3.0
+  'no_post' => 'Resim yüklenemedi.', //cpg1.3.0
+  'forb_ext' => 'Resim büyütmek yasaktır.', //cpg1.3.0
+  'exc_php_ini' => 'php.ini de izinverilen dasya boyutu aşıldı.', //cpg1.3.0
+  'exc_file_size' => 'CPG tarafından izin verilen dosya boyutu aşıldı.', //cpg1.3.0
+  'partial_upload' => 'Sadece kısmi yükleme.', //cpg1.3.0
+  'no_upload' => 'Yükleme yok.', //cpg1.3.0
+  'unknown_code' => 'Bilinmeyen PHP yükleme hata kodu.', //cpg1.3.0
+  'no_temp_name' => 'Yükleme yok - Temp adı yok.', //cpg1.3.0
+  'no_file_size' => 'İçerilen veri bulunamadı/bozulmuş', //cpg1.3.0
+  'impossible' => 'Hareket etmek imkansız.', //cpg1.3.0
+  'not_image' => 'İmaj notu/bozma', //cpg1.3.0
+  'not_GD' => 'GD genişletme değil.', //cpg1.3.0
+  'pixel_allowance' => 'Piksel izini aşıldı.', //cpg1.3.0
+  'incorrect_prefix' => 'Yanlış URI/URL ', //cpg1.3.0
+  'could_not_open_URI' => 'URI açılamadı.', //cpg1.3.0
+  'unsafe_URI' => 'Güvenlik kanıtlanamadı.', //cpg1.3.0
+  'meta_data_failure' => 'Meta verisi başarısız', //cpg1.3.0
+  'http_401' => '401 Yetkisiz', //cpg1.3.0
+  'http_402' => '402 Ödeme gerekli', //cpg1.3.0
+  'http_403' => '403 Yasak', //cpg1.3.0
+  'http_404' => '404 Bulunamadı', //cpg1.3.0
+  'http_500' => '500 Sunucu hatası', //cpg1.3.0
+  'http_503' => '503 Servis bulunamadı', //cpg1.3.0
+  'MIME_extraction_failure' => 'MIME belirtilemedi.', //cpg1.3.0
+  'MIME_type_unknown' => 'Bilinmeyen MIME türü', //cpg1.3.0
+  'cant_create_write' => 'Yazı dosyası oluşturulamadı.', //cpg1.3.0
+  'not_writable' => 'Yazı dosyası yazamazsınız.', //cpg1.3.0
+  'cant_read_URI' => 'URI/URL okunamaz', //cpg1.3.0
+  'cant_open_write_file' => 'URI yazma dosyası açılamadı.', //cpg1.3.0
+  'cant_write_write_file' => 'URI yazma dosyasına yazamazsınız.', //cpg1.3.0
+  'cant_unzip' => 'Uzip yapamazsınız.', //cpg1.3.0
+  'unknown' => 'Bilinmeyen hata', //cpg1.3.0
+  'succ' => 'Başarılı Yüklemeler', //cpg1.3.0
+  'success' => '%s yüklemesi başarılı.', //cpg1.3.0
+  'add' => 'Lütfen albüme resim eklemek için tıklayın \'Devam et\' .', //cpg1.3.0
+  'failure' => 'Yükleme başarısız', //cpg1.3.0
+  'f_info' => 'Resim bilgisi', //cpg1.3.0
+  'no_place' => 'Önceki resim yerleştirilemedi.', //cpg1.3.0
+  'yes_place' => 'Önceki resim başarıyla yerleştirildi.', //cpg1.3.0
+  'max_fsize' => 'Maksimum resim boyutu %s KB',
+  'album' => 'Albüm',
+  'picture' => 'Resim', //cpg1.3.0
+  'pic_title' => 'Resim başlığı', //cpg1.3.0
+  'description' => 'Resim açıklaması', //cpg1.3.0
+  'keywords' => 'anahtarsözcük (araları bölük bırakınız)',
+  'err_no_alb_uploadables' => 'Önce albüm oluşturmalısınız', //cpg1.3.0
+  'place_instr_1' => 'Lütfen resimleri yerleştirin.  Her resim için gerekli bilgiyi girin.', //cpg1.3.0
+  'place_instr_2' => 'Daha fazla resim alana ihtiyaç duyar. Lütfen tıklayın \'Devam et\'.', //cpg1.3.0
+  'process_complete' => 'Başarıyla bütün resimleri yerleştirdiniz.', //cpg1.3.0
+   'albums_no_category' => 'Kategori dışı albümler', //cpg1.4. //album pulldown mod, added by frogfoot
+  'personal_albums' => '* Kişisel albümler', //cpg1.4 //album pulldown mod, added by frogfoot
+  'select_album' => 'Albüm seç', //cpg1.4 //album pulldown mod, added by frogfoot
+  'close' => ' Kapat ', //cpg1.4
+  'no_keywords' => 'Özür dileriz, herhangi bir anahtarsözcük bulunamadı!', //cpg1.4
+  'regenerate_dictionary' => 'Klasörü yeniden yapılandır', //cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File usermgr.php
+// ------------------------------------------------------------------------- //
+
+if (defined('USERMGR_PHP')) $lang_usermgr_php = array(
+  'memberlist' => 'Üye listesi', //cpg1.4
+  'user_manager' => 'Kullanıcı yönetimi', //cpg1.4
+  'title' => 'Kullanıcıları yönet',
+  'name_a' => 'Ada göre artan',
+  'name_d' => 'Ada göre azalan',
+  'group_a' => 'Gruba göre artan',
+  'group_d' => 'Gruba göre azalan',
+  'reg_a' => 'Kayıt tarihine göre artan',
+  'reg_d' => 'Kayıt tarihine göre azalan',
+  'pic_a' => 'Resim içeriğine göre artan',
+  'pic_d' => 'Resim içeriğine göre azalan',
+  'disku_a' => 'Disk kullanımına göre artan',
+  'disku_d' => 'Disk kullanımına göre azalan',
+  'lv_a' => 'Son ziyarete göre artan', //cpg1.3.0
+  'lv_d' => 'Son ziyarete göre azalan', //cpg1.3.0
+  'sort_by' => 'kullanıcıları sırala',
+  'err_no_users' => 'Kullanıcı çizelgesi boş !',
+  'err_edit_self' => 'Kendi profilinizi düzeltemezsiniz,  \'Kişisel profilim\' linkini kullanın',
+  'edit' => 'DÜZELT',
+  'with_selected' => 'Bir uygulama seç', //cpg1.4
+  'delete' => 'Sil',
+  'delete_files_no' => 'herkese açık dosyaları koru (anonimleştir)', //cpg1.4
+  'delete_files_yes' => 'herkese açık dosyalarınıda sil', //cpg1.4
+  'delete_comments_no' => 'yorumlarını koru (anonimleştir)', //cpg1.4
+  'delete_comments_yes' => 'yorumlarınıda sil', //cpg1.4
+  'activate' => 'Aktifleştir', //cpg1.4
+  'deactivate' => 'Pasifleştir', //cpg1.4
+  'reset_password' => 'Şifreyi sıfırla', //cpg1.4
+  'change_primary_membergroup' => 'Ana grubu degiştir', //cpg1.4
+  'add_secondary_membergroup' => 'İkinci grup ekle', //cpg1.4
+  'name' => 'Üye adı',
+  'group' => 'Grup',
+  'inactive' => 'Pasif',
+  'operations' => 'İşlemler',
+  'pictures' => 'Resimler', //cpg1.3.0
+  'disk_space_used' => 'Kullandığı alan', //cpg1.4
+  'disk_space_quota' => 'Kullanabileceği alan', //cpg1.4
+  'registered_on' => 'Kayıt tarihi',
+  'last_visit' => 'Son ziyaret tarihi', //cpg1.3.0
+  'u_user_on_p_pages' => '%d kullanıcılar %d sayfa(-lar)da',
+  'confirm_del' => 'Bu kullanıcıyı silmek istediğinizden emin misiniz? \\nOnun büyünresimleri ve albümleri silinecek.', //js-alert //cpg1.3.0
+  'mail' => 'MAİL',
+  'err_unknown_user' => 'Seçilen kullanıcı bulunamadı !',
+  'modify_user' => 'Kullanıcıyı bilgileri',
+  'notes' => 'Notlar',
+  'note_list' => '<li>Şimdiki şifreni değiştirmek istemiyorsan, "şifre" alanını boş bırakınız',
+  'password' => 'Şifre',
+  'user_active' => 'Kullanıcı aktif',
+  'user_group' => 'Kullanıcı grubu',
+  'user_email' => 'Kullanıcı emaili',
+  'user_web_site' => 'Kullanıcı web sitesi',
+  'create_new_user' => 'Yeni kullanıcı oluştur',
+  'user_location' => 'Kullanıcı yeri',
+  'user_interests' => 'Kullanıcı hobileri',
+  'user_occupation' => 'Kullanıcı mesleği',
+  'user_profile1' => '$user_profile1', //cpg1.4
+  'user_profile2' => '$user_profile2', //cpg1.4
+  'user_profile3' => '$user_profile3', //cpg1.4
+  'user_profile4' => '$user_profile4', //cpg1.4
+  'user_profile5' => '$user_profile5', //cpg1.4
+  'user_profile6' => '$user_profile6', //cpg1.4
+  'latest_upload' => 'Yakınlardaki yüklemeler', //cpg1.3.0
+  'never' => 'asla', //cpg1.3.0
+  'search' => 'Kullanıcı ara', //cpg1.4
+  'submit' => 'Ekle', //cpg1.4
+  'search_submit' => 'Devam', //cpg1.4
+  'search_result' => 'Arama sonuçları: ', //cpg1.4
+  'alert_no_selection' => 'En azından bir kullanıcı seçmelisiniz!', //cpg1.4 //js-alert
+  'password' => 'Şifre', //cpg1.4
+  'select_group' => 'Grup seç', //cpg1.4
+  'groups_alb_access' => 'Gruplar için albüm yetkileri', //cpg1.4
+  'album' => 'Albüm', //cpg1.4
+  'category' => 'Kategori', //cpg1.4
+  'modify' => 'Değiştirilsinmi?', //cpg1.4
+  'group_no_access' => 'Bu grup için giriş yok', //cpg1.4
+  'notice' => 'Not: ', //cpg1.4
+  'group_can_access' => 'Sadece "%s" bu albüme oluşma yetkisine sahiptir.', //cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File util.php
+// ------------------------------------------------------------------------- //
+
+if (defined('UTIL_PHP')) {
+$lang_util_desc_php = array(
+'Dosyalardaki adı günceller', //cpg1.4
+'Adı siler', //cpg1.4
+'Küçük resimleri tekrar oluşturur ve boyutlandırır', //cpg1.4
+'Orjinal boyutlardaki fotoğrafları tekrar yeni boyutlarla yerleştirir', //cpg1.4
+'Orta boyutlardaki orjinal fotoğrafları silerek yer açar', //cpg1.4
+'Seçilen yorumları siler', //cpg1.4
+'Dosya boyutlarını ve boyutunu ayarlar (el ile fotoğrafları değiştirdikten sonra)', //cpg1.4
+'Bakılma oranlarını sıfırlar', //cpg1.4
+'php hakkında bilgi gösterir', //cpg1.4
+'Veritabanını günceller', //cpg1.4
+'Günlüğü gösterir', //cpg1.4
+);
+$lang_util_php = array(
+  'title' => 'Admin İşlevleri (Resimleri yeniden boyutlandır)', //cpg1.3.0
+  'what_it_does' => 'Ne yapar',
+  'file' => 'Resim',
+  'problem' => 'Problem', //cpg1.4
+  'status' => 'Durum', //cpg1.4
+  'title_set_to' => 'ayarlama için başlık',
+  'submit_form' => 'Gönder',
+  'updated_succesfully' => 'Güncelleme başarılı',
+  'error_create' => 'Oluşturmada HATA',
+  'continue' => 'daha fazla görüntü',
+  'main_success' => 'Resim %s ana dosyada kullanılıyor', //cpg1.3.0
+  'error_rename' => ' %s  %s ye yeni adlandırmada hata ',
+  'error_not_found' => 'Resim %s bulunamadı',
+  'back' => 'ana sayfaya dön',
+  'thumbs_wait' => 'Küçük resimler ve/veya yeniden boyutlanan resimler Güncelleniyor, lütfen bekliyor...',
+  'thumbs_continue_wait' => 'Küçük resimleri ve/veya yeniden boyutlanan resimleri gücelleme devam ediyor...',
+  'titles_wait' => 'Başlıklar güncelleniyor, Lütfen bekleyin...',
+  'delete_wait' => 'Başlıklar siliniyor, lütfen bekleyin...',
+  'replace_wait' => 'Orjinal resimler yeniden boyutlanan resimler ile orjinal halde siliniyor, lütfen bekleyin..',
+  'instruction' => 'Hızlı talimat',
+  'instruction_action' => 'İşlem seç',
+  'instruction_parameter' => 'Parametreleri ayarla',
+  'instruction_album' => 'Albüm seç',
+  'instruction_press' => 'Bas %s',
+  'update' => 'Küçük resimleri ve/veya yeniden boyutlandırılan resimler güncelleniyor',
+  'update_what' => 'Ne güncellenmeli',
+  'update_thumb' => 'Sadece küçük resimler',
+  'update_pic' => 'Sadece yeniden boyutlandırılan resimler',
+  'update_both' => 'Küçük resimler ve yeniden boyutlandırılan resimler',
+  'update_number' => 'Resimleri tıklama sürecini numaralandır',
+  'update_option' => '(Bu tercihi azaltma ayarlarını deneyin eğer timeout problemlerinde tecrübeliysen)',
+  'filename_title' => 'Resim adı ve Resim başlığı', //cpg1.3.0
+  'filename_how' => 'Resim adı nasıl düzenlenmeli',
+  'filename_remove' => ' .jpg sonlandırmasını sil ve yerine _ (alt tire) ekle ',
+  'filename_euro' => '2003_11_23_13_20_20.jpg ği  23/11/2003 13:20 ğe çevir',
+  'filename_us' => '2003_11_23_13_20_20.jpg ği  23/11/2003 13:20 ğe çevir',
+  'filename_time' => '2003_11_23_13_20_20.jpg ği  13:20 e çevir',
+  'delete' => 'Resim adlarını yada orjinal forğraf boyutlarını sil', //cpg1.3.0
+  'delete_title' => 'Resim başlıklarını sil', //cpg1.3.0
+  'delete_title_explanation' => 'Bu seçtiginiz albümdeki resimlerin başlıklarını sileçektir.', //cpg1.4
+  'delete_original' => 'Orjinal foroğraf boyutlarını sil',
+  'delete_original_explanation' => 'Fotoğraflarınızın orjinal boyutlardakiler silinecektir.', //cpg1.4
+  'delete_intermediate' => 'Oluşturulan orta boyutluktaki resimleri sil', //cpg1.4
+  'delete_intermediate_explanation' => 'Bu sistemde oluşturulan orta büyüklükteki resimleri silecektir.', //cpg1.4
+  'delete_replace' => 'Yeniden boyutlanma versiyonu ile fotoğrafları orjinal boyutlarını siler',
+  'titles_deleted' => 'Seçilen albumdeki başlıklar silinecek', //cpg1.4
+  'deleting_intermediates' => 'Orta boyuttaki resimler siliniyor, lütfen bekleyiniz...', //cpg1.4
+  'searching_orphans' => 'Searching for orphans, please wait...', //cpg1.4
+  'select_album' => 'Albüm seç',
+  'delete_orphans' => 'Olmayan dosyaların yorumlarını sil (bütün albümlerin üzerinde çalışır)', //cpg1.3.0
+  'delete_orphans_explanation' => 'Bu şekilde sistemde artık olmayan dosyalara yapılan yorumları temizleyebilirsiniz.<br />Albümlerin tamamını seç.', //cpg1.4
+  'refresh_db' => 'Dosya boyutlarını ve bilgilerini tekrar kontrol et.', //cpg1.4
+  'refresh_db_explanation' => 'Dosyaların boyutları ve bilgilerini tekrar kontrol edip güncelleyebilirsiniz. Eğer dosyalarınız kendiniz yazdıysanız bu seçenegi seçiniz.', //cpg1.4
+  'reset_views' => 'Bakılma sayacını sıfırla', //cpg1.4
+  'reset_views_explanation' => 'Seçilen albümdeki bakılma sayaçlarını sıfırla.', //cpg1.4
+  'orphan_comment' => 'bağlantısız bir yorum bulundu',
+  'delete' => 'Sil', //cpg1.3.0
+  'delete_all' => 'Tümünü sil', //cpg1.3.0
+  'delete_all_orphans' => 'Bağlantısız yorumların tamamını sil?', //cpg1.4
+  'comment' => 'Yorum: ', //cpg1.3.0
+  'nonexist' => 'olmayan bir dosyaya bağlı # ', //cpg1.3.0
+  'phpinfo' => 'phpinfo göster', //cpg1.3.0
+  'phpinfo_explanation' => 'Web sunucunuz hakkında teknik bilgi içerir.<br /> - Bu bilgiler herhangi bir konuda bilgi destegi istediginizde gerekli olabilir.', //cpg1.4
+  'update_db' => 'veritabanını güncelle', //cpg1.3.0
+  'update_db_explanation' => 'Eğer coppermine resimleri tekrar yerleştirmişsen, değişiklik, eklenti yada Copperminenin yeni versiyonu yüklemişsen bu seçenegi kullanabilirsiniz, sisteminizdeki veritabanın güncellenir. Bu gerekli çizelgeleri ve/veya seçenekleri coppermine veri tabanında değerlendirir.', //cpg1.3.0
+  'view_log' => 'Günlük dosyalarını göster', //cpg1.4
+  'view_log_explanation' => 'Buradan Coppermine sistemindeki yapılanları detaylı bir günlükte görebilirsiniz. Bu günlüğe girebilmek için <a href="admin.php">coppermine config</a>.', //cpg1.4
+  'versioncheck' => 'Sürüm kontrol', //cpg1.4
+  'versioncheck_explanation' => 'Buradan kullandığınız sistemin güncel sürümlerini görebilirsiniz.', //cpg1.4
+  'bridgemanager' => 'Köprü ayarları', //cpg1.4
+  'bridgemanager_explanation' => 'Diğer proğramlarla kurduğunuz köprüleri açıp kapatabilir veya ayarlarını degiştirebilirsniz.', //cpg1.4
+);
+}
+// ------------------------------------------------------------------------- //
+// File versioncheck.php //cpg1.4
+// ------------------------------------------------------------------------- //
+
+if (defined('VERSIONCHECK_PHP')) $lang_versioncheck_php = array(
+  'title' => 'Sürüm kontrol', //cpg1.4
+  'what_it_does' => 'Bu ekran Coppermine sürümünü güncellemiş kullanıcılar içindir. Bu yazılım sizin dosyalarınızın Coppermine sitesindeki (http://coppermine.sourceforge.net) dosyalarla aynı olup olmadığını kontrol eder ve bu şekilde programdaki eksiklikleri görebilirsiniz. <br />Düzeltilmesi gerekenler kırmızı gösterir. Sarı ile tekrar kontrol edilmesi gereken yerleri gösterir. Yeşil olarak gösterilenlerde ise bir sorun yok. Yardım tuşlarına basarak geniş bilgi alabilirsiniz.', //cpg1.4
+  'online_repository_unable' => 'Depoya ulaşılamıyor', //cpg1.4
+  'online_repository_noconnect' => 'Coppermine depoya ulaşamıyor. Sebeb olarak şu sorunlar olabilir:', //cpg1.4
+  'online_repository_reason1' => 'Coppermine deposu şu anda hizmet dışı olabilir - Sayfayı kontrol ediniz: %s - Bu sayfaya ulaşamıyorsanız, tekrar deneyiniz.', //cpg1.4
+  'online_repository_reason2' => 'Sunucunuzdaki PHP ayarların %s kapalı (normalde acık olmalı). Sunucu yöneticinize bu seçenegi açtırınız. <i>php.ini</i> (at least allow it to be overridden with %s). Eğer bu dosyalar değiştirilemez ise dosyaları karşılaştırmak mümkün olmayacaktır. Ve sadece burada kullandığınız sürüm yazılacaktır.', //cpg1.4
+  'online_repository_skipped' => 'Depoya ulaşmayı iptal et', //cpg1.4
+  'online_repository_to_local' => 'Bu yazılım şimdi tekrar yerel klasöre geri döndü. Eğer dosyaları kontrol etmiş ve yükleme anında kapatmışsanız proğramınız belki güvenilir bir şekilde çalışmayabilir. Bu sürümden sonraki değişiklikler uygulanmıyacaktır.', //cpg1.4
+  'local_repository_unable' => 'Sunucunuzdaki depoya ulaşılamıyor', //cpg1.4
+  'local_repository_explanation' => 'Coppermine sizin depo dosyalarınıza %s ulaşamıyor. Bu belki sizin dosyalarınızı depoya yüklemediğinizden dolayı kaynaklanabilir. Dosyaları yükleyin ve tekrar deneyiniz.<br />Eğer hala düzelmediyse belki web sunucunuz <a href="http://www.php.net/manual/en/ref.filesystem.php">PHP\'s dosya sistemlerinin bir kısmını kapatmış olabilir.</a>. Eğer öyle ise maalesef bu modülü kullanamazsınız.', //cpg1.4
+  'coppermine_version_header' => 'Kurulu Coppermine sürümü', //cpg1.4
+  'coppermine_version_info' => 'Kullandıgınız Coppermine sürümü: %s', //cpg1.4
+  'coppermine_version_explanation' => 'Son sürümünü yüklediğiniz halde ekranda gösterilen sürüm doğru değil ise büyük bir ihtimalle <i>include/init.inc.php</i> dosyasının son sürmü sisteminizde yüklü değil.', //cpg1.4
+  'version_comparison' => 'Sürüm karşılaştır', //cpg1.4
+  'folder_file' => 'klasör/dosya', //cpg1.4
+  'coppermine_version' => 'Coppermine sürümü', //cpg1.4
+  'file_version' => 'Sizin kullandığınız sürüm', //cpg1.4
+  'webcvs' => 'web svn', //cpg1.4
+  'writable' => 'yazılabilir', //cpg1.4
+  'not_writable' => 'yazılamaz', //cpg1.4
+  'help' => 'Yardım', //cpg1.4
+  'help_file_not_exist_optional1' => 'dosya/klasör bulunamadı', //cpg1.4
+  'help_file_not_exist_optional2' => 'dosya/klasör bulunamadı %s sunucunuzda bulunamadı. Meçburi bir dosya/klasör olmamasına karşın sorunla karşılaşırsanız yükleyiniz.', //cpg1.4
+  'help_file_not_exist_mandatory1' => 'dosya/klasör bulunamadı', //cpg1.4
+  'help_file_not_exist_mandatory2' => 'dosya/klasör bulunamadı %s sunucunuzda bulunamadı. Meçburi bir dosya/klasör olmamasına karşın sunucunuza ftp ile yükleyiniz.', //cpg1.4
+  'help_no_local_version1' => 'Yerel sürümü bulunamadı veya okunamıyor', //cpg1.4
+  'help_no_local_version2' => 'Yerel dosya bulunamdı veya okunamıyor - dosyanız eskimiş veya değiştirilmiş olabilir. Lütfen yeniden yükleyiniz.', //cpg1.4
+  'help_local_version_outdated1' => 'Yerel dosya sürümü eskimiş', //cpg1.4
+  'help_local_version_outdated2' => 'Bu dosyanın sürümü eskimiş. Büyük bir ihtimalle eski sürümlerden kalmış. Lütfen yeni sürümü ile değiştirin.', //cpg1.4
+  'help_local_version_na1' => 'cvs bilgileri okunamıyor', //cpg1.4
+  'help_local_version_na2' => 'Proğram sizin sunucunuzdaki cvs dosyasının sürümünü okuyamıyor. Lütfen yeniden yükleyiniz.', //cpg1.4
+  'help_local_version_dev1' => 'Geliştirme sürümü', //cpg1.4
+  'help_local_version_dev2' => 'Bu dosya göründüğü kadarı ile Coppermine resmi sürümünden daha yeni. Büyük bir ihtimalle geliştirme sürümünü kullanıyorsunuz. (Geliştirme sürümleri sadece uzman kullanıcılar içindir), veya include/init.inc.php dosyanızda sorun var', //cpg1.4
+  'help_not_writable1' => 'Klasör yazılamıyor', //cpg1.4
+  'help_not_writable2' => 'Lütfen %s klasörünün ve onun altındakilerin yetkilerini (CHMOD) tekrar yazılabilecek şekilde ayarlayın.', //cpg1.4
+  'help_writable1' => 'Klasör yazılabilir', //cpg1.4
+  'help_writable2' => 'Klasör %s şu anda yazılabilir. Bu gereksiz risk oluşturabilir, coppermine sadece okuma/uygulama yetkilerini kullanır.', //cpg1.4
+  'help_writable_undetermined' => 'Coppermine klasörün yazılabilirliğini tespit edemedi.', //cpg1.4
+  'your_file' => 'sizin dosyanız', //cpg1.4
+  'reference_file' => 'internet dosyası', //cpg1.4
+  'summary' => 'Acıklama', //cpg1.4
+  'total' => 'Toplam bakılan dosya/klasör', //cpg1.4
+  'mandatory_files_missing' => 'Bulunamıyan gerekli dosya', //cpg1.4
+  'optional_files_missing' => 'Opsiyonel bulunamıyan dosya', //cpg1.4
+  'files_from_older_version' => 'Eski Coppermine sürümlerinden kalan dosya', //cpg1.4
+  'file_version_outdated' => 'Eskimiş dosya sürümlü', //cpg1.4
+  'error_no_data' => 'Bu modulde bir hata oluştu, bu yüzden gereken doğru bilgileri gösteremedi. Özür dileriz.', //cpg1.4
+  'go_to_webcvs' => '%s a git', //cpg1.4
+  'options' => 'Ayarlar', //cpg1.4
+  'show_optional_files' => 'opsiyonel dosya/klasörleri göster', //cpg1.4
+  'show_mandatory_files' => 'gerekli dosyaları göster', //cpg1.4
+  'show_file_versions' => 'dosya sürümünü göster', //cpg1.4
+  'show_errors_only' => 'sadece hatalı dosya/klasörleri göster', //cpg1.4
+  'show_permissions' => 'klasör yetkilerini göster', //cpg1.4
+  'show_condensed_output' => 'basit sunuçları göster(mesala ekran kopyası için)', //cpg1.4
+  'coppermine_in_webroot' => 'coppermine sunucunun webroot bölümünde kurulu', //cpg1.4
+  'connect_online_repository' => 'Coppermine deposuna bağlanmaya çalış', //cpg1.4
+  'show_additional_information' => 'geniş bilgileri göster', //cpg1.4
+  'no_webcvs_link' => 'cvs linkini gösterme', //cpg1.4
+  'stable_webcvs_link' => 'sağlam çalışan cvs linkini göster', //cpg1.4
+  'devel_webcvs_link' => 'geliştirme cvs linkini göster', //cpg1.4
+  'submit' => 'değişiklikleri uygula / yenile', //cpg1.4
+  'reset_to_defaults' => 'fabrika ayarlarına geri dön', //cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File view_log.php  //cpg1.4
+// ------------------------------------------------------------------------- //
+
+if (defined('VIEWLOG_PHP')) $lang_viewlog_php = array(
+  'delete_all' => 'Günlüklerin tamamını sil', //cpg1.4
+  'delete_this' => 'Günlüğü sil', //cpg1.4
+  'view_logs' => 'Günlüğü göster', //cpg1.4
+  'no_logs' => 'Herhangi bir günlük oluşturulmadı.', //cpg1.4
+);
+
+
+// ------------------------------------------------------------------------- //
+// File xp_publish.php //cpg1.4
+// ------------------------------------------------------------------------- //
+
+if (defined('XP_PUBLISH_PHP')) {
+
+$lang_xp_publish_client = <<<EOT
+<h1>XP Web Publishing Wizard Client</h1><p>This module allows to use <b>Windows XP</b> web publishing wizard with Coppermine.</p><p>Code is based on article posted by
+EOT;
+
+$lang_xp_publish_required = <<<EOT
+<h2>What is required</h2><ul><li>Windows XP in order to have the wizard.</li><li>A working installation of Coppermine on which <b>the web upload function works properly.</b></li></ul><h2>How to install on client side</h2><ul><li>Right click on
+EOT;
+
+$lang_xp_publish_select = <<<EOT
+Select &quot;save target as..&quot;. Save the file on your hard drive. When saving the file, check that the proposed file name is <b>cpg_###.reg</b> (the ### represents a numerical timestamp). Change it to that name if necessary (leave the numbers). When downloaded, double click on the file in order to register your server with the web publishing wizard.</li></ul>
+EOT;
+
+$lang_xp_publish_testing = <<<EOT
+<h2>Testing</h2><ul><li>In Windows Explorer, select some files and click on <b>Publish xxx on the web</b> in the left pane.</li><li>Confirm your file selection. Click on <b>Next</b>.</li><li>In the list of services that appear, select the one for your photo gallery (it has the name of your gallery). If the service does not appear, check that you have installed <b>cpg_pub_wizard.reg</b> as described above.</li><li>Input your login information if required.</li><li>Select the target album for your pictures or create a new one.</li><li>Click on <b>next</b>. The upload of your pictures starts.</li><li>When it is completed, check your gallery to see if pictures have been properly added.</li></ul>
+EOT;
+
+$lang_xp_publish_notes = <<<EOT
+<h2>Notes :</h2><ul><li>Once the upload has started, the wizard can't display any error message returned by the script so you can't know if the upload failed or succeeded until you check your gallery.</li><li>If the upload fails, enable &quot;Debug mode&quot; on the Coppermine admin page, try with one single picture and check error messages in the
+EOT;
+
+$lang_xp_publish_flood = <<<EOT
+file that is located in Coppermine directory on your server.</li><li>In order to avoid that the gallery be <i>flooded</i> by pictures uploaded through the wizard, only the <b>gallery admins</b> and <b>users that can have their own albums</b> can use this feature.</li>
+EOT;
+
+$lang_xp_publish_php = array(
+  'title' => 'Coppermine - XP Web yayınlama sihirbazı', //cpg1.4
+  'welcome' => 'Hoşgeidiniz <b>%s</b>,', //cpg1.4
+			'need_login' => 'Sihirbazı kullanabilmek için galeriye giriş yapmış olmalısınız.<p/><p>Giriş yaparken <b>beni hatırla</b> seçenegini kullanmayı unutmayın.', //cpg1.4
+			'no_alb' => 'Özürdilerim, ama malesef şu anda bu resimleri yükleyebileceğiniz bir albüm bulunamadı.', //cpg1.4
+			'upload' => 'Olan bir albümün içine resimleri yükle.', //cpg1.4
+			'create_new' => 'Albüm için yeni bir albüm oluştur.', //cpg1.4
+			'album' => 'Albüm', //cpg1.4
+			'category' => 'Kategori',
+			'new_alb_created' => '&quot;<b>%s</b>&quot; isimli albümünüz oluşturuldu.', //cpg1.4
+			'continue' => 'Devam etmek için &quot;Sonraki&quot; tuşuna basınız', //cpg1.4
+			'link' => 'bu link', //cpg1.4
+);
+}
 ?>
\ No newline at end of file
diff -x .svn -aruN 1.4.24.src/lang/ukrainian.php 1.4.25.src/lang/ukrainian.php
--- 1.4.24.src/lang/ukrainian.php	2009-05-25 15:01:17.000000000 -0500
+++ 1.4.25.src/lang/ukrainian.php	2009-05-26 11:25:40.000000000 -0500
@@ -1,2116 +1,2116 @@
-<?php
-/*************************
-  Coppermine Photo Gallery
-  ************************
-  Copyright (c) 2003-2009 Coppermine Dev Team
-  v1.1 originally written by Gregory DEMAR
-
-  This program is free software; you can redistribute it and/or modify
-  it under the terms of the GNU General Public License version 3
-  as published by the Free Software Foundation.
-  
-  ********************************************
-  Coppermine version: 1.4.24
-  $HeadURL: https://coppermine.svn.sourceforge.net/svnroot/coppermine/trunk/cpg1.4.x/lang/ukrainian.php $
-  $Revision: 5988 $
-  $Author: gaugau $
-  $Date: 2009-05-25 22:01:41 +0200 (Mo, 25 Mai 2009) $
-  ********************************************
-  This translation is made for the Coppermine version 1.4.x
-  It is based on the old translation by Kostya Jakovchuk
-
-  In the memory of Marko Kyshchun, who taught me to fight even if there is no hope. - MR
-**********************************************/
-
-if (!defined('IN_COPPERMINE')) { die('Not in Coppermine...');}
-
-// info about translators and translated language
-$lang_translation_info = array(
-  'lang_name_english' => 'Ukrainian', //cpg1.4
-  'lang_name_native' => 'Українська', //cpg1.4
-  'lang_country_code' => 'ua', //cpg1.4
-  'trans_name'=> 'Maryan Rachynskyy',
-  'trans_email' => 'mrach@users.sourceforge.net',
-  'trans_website' => '',
-  'trans_date' => '2005-12-20',
-);
-
-$lang_charset = 'utf-8';
-$lang_text_dir = 'ltr'; // ('ltr' for left to right, 'rtl' for right to left)
-
-// shortcuts for Byte, Kilo, Mega
-$lang_byte_units = array('Байт', 'KB', 'MB');
-
-// Day of weeks and months
-$lang_day_of_week = array('Неділя', 'Понеділок', 'Вівторок', 'Середа', 'Четвер', 'П`ятниця', 'Субота');
-$lang_month = array('Січ', 'Лют', 'Бер', 'Квіт', 'Трав', 'Черв', 'Лип', 'Серп', 'Вер', 'Жовт', 'Лист', 'Груд');
-
-// Some common strings
-$lang_yes = 'Так';
-$lang_no  = 'Ні';
-$lang_back = 'Назад';
-$lang_continue = 'Вперед';
-$lang_info = 'Інформація';
-$lang_error = 'Помилка';
-$lang_check_uncheck_all = 'виділити все/зняти виділення'; //cpg1.4
-
-// The various date formats
-// See http://www.php.net/manual/en/function.strftime.php to define the variable below
-$album_date_fmt =    '%d %B %Yр.';
-$lastcom_date_fmt =  '%d %B %Yр. о %H:%M';
-$lastup_date_fmt = '%d.%m.%Yр.';
-$register_date_fmt = '%d %B %Yр.';
-$lasthit_date_fmt = '%d %B %Yр. о %I:%M';
-$comment_date_fmt =  '%d %B %Yр. о %H:%M';
-$log_date_fmt = '%d %B %Yр. о %H:%M'; //cpg1.4
-
-// For the word censor
-$lang_bad_words = array('*fuck*', 'asshole', 'assramer', 'bitch*', 'c0ck', 'clits', 'Cock', 'cum', 'cunt*', 'dago', 'daygo', 'dego', 'dick*', 'dildo', 'fanculo', 'feces', 'foreskin', 'Fu\(*', 'fuk*', 'honkey', 'hore', 'injun', 'kike', 'lesbo', 'masturbat*', 'motherfucker', 'nazis', 'nigger*', 'nutsack', 'penis', 'phuck', 'poop', 'pussy', 'scrotum', 'shit', 'slut', 'titties', 'titty', 'twaty', 'wank*', 'whore', 'wop*');
-
-$lang_meta_album_names = array(
-  'random' => 'Випадкові фото',
-  'lastup' => 'Останні долучення',
-  'lastalb'=> 'Останнє поновлення альбому',
-  'lastcom' => 'Останні коментарі',
-  'topn' => 'Популярні',
-  'toprated' => 'Кращі за рейтингом',
-  'lasthits' => 'Останні переглянуті',
-  'search' => 'Результати пошуку',
-  'favpics'=> 'Вибрані',  //cpg1.4
-);
-
-$lang_errors = array(
-  'access_denied' => 'Ви маєте недостатньо повноважень для перегляду цієї сторінки.',
-  'perm_denied' => 'Ви маєте недостатньо повноважень для виконання цієї дії.',
-  'param_missing' => 'Скрипт викликано без потрібних параметрів.',
-  'non_exist_ap' => 'Обраний Вами альбом/фото не існує!',
-  'quota_exceeded' => 'Розмір дискового простору перевищено.<br /><br />Для Вас дисковий простір становить [quota]Kб. Ваші фото займають [space]Kб. Долучення цього фото перевищить припустиму межу.',
-  'gd_file_type_err' => 'Якщо використовується бібліотека GD - дозволені формати зображень тільки JPEG та PNG.',
-  'invalid_image' => 'Завантажене фото зіпсоване, або не може бути опрацьоване бібліотекою GD',
-  'resize_failed' => 'Неможливо створити слайд або зменшити розмір фото.',
-  'no_img_to_display' => 'Нема фото',
-  'non_exist_cat' => 'Вибрана категорія не існує',
-  'orphan_cat' => 'Категорія не має категорії вищого рівня. Запустіть Керування категоріями для виправлення ситуації.',
-  'directory_ro' => 'Тека \'%s\' тільки для перегляду, фото неможливо видалити',
-  'non_exist_comment' => 'Вибраний коментар не існує.',
-  'pic_in_invalid_album' => 'Фото з альбому, що не існує (%s)!?',
-  'banned' => 'Вам сюди не дозволено заходити.',
-  'not_with_udb' => 'Цю функцію вимкнено в Coppermine, оскільки вона є приєднана до форуму. Або те, що Ви намагаєтеся виконати, на підтримується конфігурацією, або вам треба зробити це зі сторони програми форуму.',
-  'offline_title' => 'Вимкнено',
-  'offline_text' => 'На даний момент галерею вимкнено - спробуйте зайти пізніше',
-  'ecards_empty' => 'Нема листівок.',
-  'action_failed' => 'Сталася помилка.  Галерея не може виконати ваш запит.',
-  'no_zip' => 'Нема бібліотек для опрацювання ZIP файлів.  Будь ласка зв`яжіться з адміністратором галереї.',
-  'zip_type' => 'Ви не маєте достатньо прав для закачування ZIP файлів.',
-  'database_query' => 'Сталася помилка при звертанні до бази даних', //cpg1.4
-  'register_globals_on' => 'The PHP setting register_globals is enabled on your server, which is a bad idea in terms of security. It\'s strongly recommended to turn it off. [<a href="http://forum.coppermine-gallery.net/index.php/topic,59569.0.html" rel="external" class="external">more</a>]',
-);
-
-$lang_bbcode_help_title = 'Допомога у bbcode'; //cpg1.4
-$lang_bbcode_help = 'Ви можете додати посилання і сяке-таке форматування до цього поля використовуючи теги bbcode: <li>[b]Bold[/b] =&gt; <b>Bold</b></li><li>[i]Italic[/i] =&gt; <i>Italic</i></li><li>[url=http://yoursite.com/]Url Text[/url] =&gt; <a href="http://yoursite.com">Url Text</a></li><li>[email]user@domain.com[/email] =&gt; <a href="mailto:user@domain.com">user@domain.com</a></li><li>[color=red]some text[/color] =&gt; <span style="color:red">some text</span></li><li>[img]http://coppermine-gallery.net/demo/cpg14x/images/red.gif[/img] => <img src="../images/red.gif" border="0" alt="" /></li>'; //cpg1.4
-
-// ------------------------------------------------------------------------- //
-// File theme.php
-// ------------------------------------------------------------------------- //
-
-$lang_main_menu = array(
-  'home_title' => 'На головну сторінку',
-  'home_lnk' => 'Головна',
-  'alb_list_title' => 'До списка альбомів',
-  'alb_list_lnk' => 'Список альбомів',
-  'my_gal_title' => 'До персональної галереї',
-  'my_gal_lnk' => 'Моя галерея',
-  'my_prof_title' => 'До мого профілю', //cpg1.4
-  'my_prof_lnk' => 'Профіль',
-  'adm_mode_title' => 'Перейти в режим адміністратора',
-  'adm_mode_lnk' => 'Режим адміністратора',
-  'usr_mode_title' => 'Перейти в режим користувача',
-  'usr_mode_lnk' => 'Режим користувача',
-  'upload_pic_title' => 'Долучення фото до альбому',
-  'upload_pic_lnk' => 'Долучити фото',
-  'register_title' => 'Зареєструватися',
-  'register_lnk' => 'Реєстрація',
-  'login_title' => 'Ввійти', //cpg1.4
-  'login_lnk' => 'Вхід',
-  'logout_title' => 'Вийти', //cpg1.4
-  'logout_lnk' => 'Вихід',
-  'lastup_title' => 'Показати останні долучення', //cpg1.4
-  'lastup_lnk' => 'Останні долучення',
-  'lastcom_title' => 'Показати останні коментарі', //cpg1.4
-  'lastcom_lnk' => 'Останні коментарі',
-  'topn_title' => 'Показати популярні', //cpg1.4
-  'topn_lnk' => 'Популярні',
-  'toprated_title' => 'Показати кращі за рейтингом', //cpg1.4
-  'toprated_lnk' => 'Кращі за рейтингом',
-  'search_title' => 'Шукати в галереї', //cpg1.4
-  'search_lnk' => 'Пошук',
-  'fav_title' => 'Перейти у вибрані', //cpg1.4
-  'fav_lnk' => 'Вибрані',
-  'memberlist_title' => 'Показати список учасників',
-  'memberlist_lnk' => 'Список учасників',
-  'faq_title' => 'ЧАсті Питання про галерею &quot;Coppermine&quot;',
-  'faq_lnk' => 'ЧАПи',
-);
-
-$lang_gallery_admin_menu = array(
-  'upl_app_title' => 'Підтвердити нові фото', //cpg1.4
-  'upl_app_lnk' => 'Підтвердження нових фото',
-  'admin_title' => 'Відкрити налаштування', //cpg1.4
-  'admin_lnk' => 'Налаштування', //cpg1.4
-  'albums_title' => 'Перейти до налаштування альбомів', //cpg1.4
-  'albums_lnk' => 'Альбоми',
-  'categories_title' => 'Перейти до налаштування категорій', //cpg1.4
-  'categories_lnk' => 'Категорії',
-  'users_title' => 'Перейти до налаштування користувачів', //cpg1.4
-  'users_lnk' => 'Користувачі',
-  'groups_title' => 'Перейти до налаштування груп', //cpg1.4
-  'groups_lnk' => 'Групи',
-  'comments_title' => 'Переглянути всі коментарі', //cpg1.4
-  'comments_lnk' => 'Коментарі',
-  'searchnew_title' => 'Перейти до автодолучення', //cpg1.4
-  'searchnew_lnk' => 'Автодолучення',
-  'util_title' => 'Перейти до інструментів адміністратора', //cpg1.4
-  'util_lnk' => 'Інструменти адміністратора',
-  'key_title' => 'Перейти до словника ключових слів', //cpg1.4
-  'key_lnk' => 'Словник ключових слів', //cpg1.4
-  'ban_title' => 'Перейти до блокування користувачів', //cpg1.4
-  'ban_lnk' => 'Блокування користувачів',
-  'db_ecard_title' => 'Переглянути листівки', //cpg1.4
-  'db_ecard_lnk' => 'Перегляд листівок',
-  'pictures_title' => 'Сортувати власні фото', //cpg1.4
-  'pictures_lnk' => 'Сортування власних фото', //cpg1.4
-  'documentation_lnk' => 'Документація (Англ)', //cpg1.4
-  'documentation_title' => 'Довідник Coppermine', //cpg1.4
-);
-
-$lang_user_admin_menu = array(
-  'albmgr_title' => 'Створити/впорядкувати мої альбоми', //cpg1.4
-  'albmgr_lnk' => 'Керування моїми альбомами',
-  'modifyalb_title' => 'Корегувати мої альбоми',  //cpg1.4
-  'modifyalb_lnk' => 'Корегування моїх альбомів',
-  'my_prof_title' => 'Перехід до мого профілю', //cpg1.4
-  'my_prof_lnk' => 'Профіль',
-);
-
-$lang_cat_list = array(
-  'category' => 'Категорія',
-  'albums' => 'Альбомів',
-  'pictures' => 'Фото',
-);
-
-$lang_album_list = array(
-  'album_on_page' => '%d альбомів на %d сторінках',
-);
-
-$lang_thumb_view = array(
-  'date' => 'Дата',
-  //Sort by filename and title
-  'name' => 'Ім`я файла',
-  'title' => 'Назва',
-  'sort_da' => 'Сорт. за датою [зростання]',
-  'sort_dd' => 'Сорт. за датою [спадання]',
-  'sort_na' => 'Сорт. за іменем файла [зростання]',
-  'sort_nd' => 'Сорт. за іменем файла [спадання]',
-  'sort_ta' => 'Сорт. за назвою [зростання]',
-  'sort_td' => 'Сорт. за назвою [спадання]',
-  'position' => 'Пор. номер', //cpg1.4
-  'sort_pa' => 'Сорт. за пор. номером [зростання]', //cpg1.4
-  'sort_pd' => 'Сорт. за пор. [спадання]', //cpg1.4
-  'download_zip' => 'Викачати як файл Zip',
-  'pic_on_page' => '%d фото на %d сторінці(ах)',
-  'user_on_page' => '%d користувачів на %d сторінці(ах)',
-  'enter_alb_pass' => 'Введіть пароль для альбому', //cpg1.4
-  'invalid_pass' => 'Невірний пароль', //cpg1.4
-  'pass' => 'Пароль', //cpg1.4
-  'submit' => 'Послати', //cpg1.4
-);
-
-$lang_img_nav_bar = array(
-  'thumb_title' => 'Повернутись на сторінку зі слайдами',
-  'pic_info_title' => 'Показати/заховати інформацію про фото',
-  'slideshow_title' => 'Слайд-шоу',
-  'ecard_title' => 'Надіслати це фото як листівку',
-  'ecard_disabled' => 'Листівки вимкнено',
-  'ecard_disabled_msg' => 'У вас нема повноважень, щоб відсилати листівки', //js-alert
-  'prev_title' => 'Попереднє фото',
-  'next_title' => 'Наступне фото',
-  'pic_pos' => 'Фото %s/%s',
-  'report_title' => 'Повідомити про це фото адміністратору', //cpg1.4
-  'go_album_end' => 'Стрибнути в кінець', //cpg1.4
-  'go_album_start' => 'Повернутися на початок', //cpg1.4
-  'go_back_x_items' => 'повернутися на %s фото', //cpg1.4
-  'go_forward_x_items' => 'перестрибнути через %s фото', //cpg1.4
-);
-
-$lang_rate_pic = array(
-  'rate_this_pic' => 'Оцінити це фото ',
-  'no_votes' => '(Ще нема голосів)',
-  'rating' => '(рейтинг: %s з 5 з %s голосами)',
-  'rubbish' => 'Сміття',
-  'poor' => 'Погано',
-  'fair' => 'Може бути',
-  'good' => 'Добре',
-  'excellent' => 'Дуже добре',
-  'great' => 'Супер',
-);
-
-// ------------------------------------------------------------------------- //
-// File include/exif.inc.php
-// ------------------------------------------------------------------------- //
-
-// void
-
-// ------------------------------------------------------------------------- //
-// File include/functions.inc.php
-// ------------------------------------------------------------------------- //
-
-$lang_cpg_die = array(
-  INFORMATION => $lang_info,
-  ERROR => $lang_error,
-  CRITICAL_ERROR => 'Критична помилка',
-  'file' => 'Файл: ',
-  'line' => 'Рядок: ',
-);
-
-$lang_display_thumbnails = array(
-  'filename' => 'Файл=', //cpg1.4
-  'filesize' => 'Розмір файлу=', //cpg1.4
-  'dimensions' => 'Розміри фото=', //cpg1.4
-  'date_added' => 'Дата долучення=', //cpg1.4
-);
-
-$lang_get_pic_data = array(
-  'n_comments' => '%s коментарів',
-  'n_views' => '%s переглядів',
-  'n_votes' => '(%s голосів)',
-);
-
-$lang_cpg_debug_output = array(
-  'debug_info' => 'Налагоджувальна інформація',
-  'select_all' => 'Вибрати все',
-  'copy_and_paste_instructions' => 'Якщо ви збираєтеся просити допомоги на форумі підтримки Coppermine, скопіюйте цю налагоджувальну інформацію у текст вашого звертання, якщо вас про це попросять, разом з текстом повідомлення про помилку, якщо є. Не забудьте замінити всі паролі з коду звертання до бази на зірочки *** перед тим, як публікувати повідомлення. <br />Зауваження: це інформаційне повідомлення - воно не означає, що з вашою галереєю щось не так.', //cpg1.4
-  'phpinfo' => 'показати phpinfo',
-  'notices' => 'Повідомлення', //cpg1.4
-);
-
-$lang_language_selection = array(
-  'reset_language' => 'Типова мова',
-  'choose_language' => 'Виберіть мову',
-);
-
-$lang_theme_selection = array(
-  'reset_theme' => 'Типова тема',
-  'choose_theme' => 'Виберіть тему',
-);
-
-$lang_version_alert = array(
-  'version_alert' => 'Ця версія не підтримується!', //cpg1.4
-  'security_alert' => 'Ризик для безпеки!', //cpg1.4.3
-  'relocate_exists' => 'Видаліть файл <a href="http://coppermine-gallery.net/forum/index.php?topic=24217.0">relocate_server.php</a> з вашого сайта!',
-  'no_stable_version' => 'Ви використовуєте версію Coppermine %s (%s) яка призначена лише для дуже досвічених користувачів - цю версію надано без супроводу і гарантій. Використовуйте її на свій страх і ризик або поверніться до старішої версії, яка є стабільною!', //cpg1.4
-  'gallery_offline' => 'Галерея зараз є відключеною і доступна лише вам як адміну. Не забудьте включити її після завершення адміністрування.' //cpg1.4
-);
-
-$lang_create_tabs = array(
-  'previous' => 'назад', //cpg1.4
-  'next' => 'вперед', //cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File include/init.inc.php
-// ------------------------------------------------------------------------- //
-
-// void
-
-// ------------------------------------------------------------------------- //
-// File keyword.inc.php                                                      //
-// ------------------------------------------------------------------------- //
-
-// void
-
-// ------------------------------------------------------------------------- //
-// File include/picmgmt.inc.php
-// ------------------------------------------------------------------------- //
-
-// void
-
-// ------------------------------------------------------------------------- //
-// File include/plugin_api.inc.php
-// ------------------------------------------------------------------------- //
-$lang_plugin_api = array(
-  'error_wakeup' => "Не можу запустити плагін '%s'", //cpg1.4
-  'error_install' => "Не можу інсталювати плагін '%s'", //cpg1.4
-  'error_uninstall' => "Не можу деінсталювати плагін '%s'", //cpg1.4
-  'error_sleep' => "Не можу відключити плагін '%s'<br />", //cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File include/smilies.inc.php
-// ------------------------------------------------------------------------- //
-
-if (defined('SMILIES_PHP')) $lang_smilies_inc_php = array(
-  'Exclamation' => 'Exclamation',
-  'Question' => 'Question',
-  'Very Happy' => 'Very Happy',
-  'Smile' => 'Smile',
-  'Sad' => 'Sad',
-  'Surprised' => 'Surprised',
-  'Shocked' => 'Shocked',
-  'Confused' => 'Confused',
-  'Cool' => 'Cool',
-  'Laughing' => 'Laughing',
-  'Mad' => 'Mad',
-  'Razz' => 'Razz',
-  'Embarassed' => 'Embarassed',
-  'Crying or Very sad' => 'Crying or Very sad',
-  'Evil or Very Mad' => 'Evil or Very Mad',
-  'Twisted Evil' => 'Twisted Evil',
-  'Rolling Eyes' => 'Rolling Eyes',
-  'Wink' => 'Wink',
-  'Idea' => 'Idea',
-  'Arrow' => 'Arrow',
-  'Neutral' => 'Neutral',
-  'Mr. Green' => 'Mr. Green',
-);
-
-// ------------------------------------------------------------------------- //
-// File addpic.php
-// ------------------------------------------------------------------------- //
-
-// void
-
-// ------------------------------------------------------------------------- //
-// File mode.php //cpg1.4
-// ------------------------------------------------------------------------- //
-
-if (defined('MODE_PHP')) $lang_mode_php = array(
-  0 => 'Вихід з режиму адміністратора...',
-  1 => 'Вхід в режим адміністратора...',
-);
-
-// ------------------------------------------------------------------------- //
-// File albmgr.php
-// ------------------------------------------------------------------------- //
-
-if (defined('ALBMGR_PHP')) $lang_albmgr_php = array(
-  'alb_need_name' => 'Альбом повинен мати назву !', //js-alert
-  'confirm_modifs' => 'Ви дійсно бажаєте зробити ці зміни ?', //js-alert
-  'no_change' => 'Ви нічого не змінили !', //js-alert
-  'new_album' => 'Новий альбом',
-  'confirm_delete1' => 'Ви дійсно бажаєте видалити цей альбом ?', //js-alert
-  'confirm_delete2' => '\Всі його фото і коментарі зникнуть !', //js-alert
-  'select_first' => 'Спочатку оберіть альбом', //js-alert
-  'alb_mrg' => 'Керування альбомами',
-  'my_gallery' => '* Моя галерея *',
-  'no_category' => '* Немає категорії *',
-  'delete' => 'Видалити',
-  'new' => 'Новий',
-  'apply_modifs' => 'Застосувати зміни',
-  'select_category' => 'Вибрати категорію',
-);
-
-// ------------------------------------------------------------------------- //
-// File banning.php
-// ------------------------------------------------------------------------- //
-
-if (defined('BANNING_PHP')) $lang_banning_php = array(
-  'title' => 'Блокування Користувачів', //cpg1.4
-  'user_name' => 'Ім\'я Користувача', //cpg1.4
-  'ip_address' => 'IP Адреса', //cpg1.4
-  'expiry' => 'Завершення терміну дії (пусто - без обмежень)', //cpg1.4
-  'edit_ban' => 'Зберегти Зміни', //cpg1.4
-  'delete_ban' => 'Видалити', //cpg1.4
-  'add_new' => 'Додати нове блокування', //cpg1.4
-  'add_ban' => 'Додати', //cpg1.4
-  'error_user' => 'Не можу знайти користувача', //cpg1.4
-  'error_specify' => 'Вам треба вказати або ім\'я користувача, або IP адресу', //cpg1.4
-  'error_ban_id' => 'Неправильний ID блокування!', //cpg1.4
-  'error_admin_ban' => 'Ви не можете блокувати самі себе!', //cpg1.4
-  'error_server_ban' => 'Ви хочете заблокувати власний сервер? Гмм... Я не можу це зробити...', //cpg1.4
-  'error_ip_forbidden' => 'Ви не можете блокувати це IP - воно все одно недосяжне (з приватної підмережі)!<br />Якщо ви хочете дозволити блокування приватних IP, вкажіть це у ваших <a href="admin.php">Налаштуваннях</a> (має сенс тільки якщо Coppermine працює в локальній мережі).', //cpg1.4
-  'lookup_ip' => 'Розв\'язати IP адресу', //cpg1.4
-  'submit' => 'Вперед!', //cpg1.4
-  'select_date' => 'вибрати дати', //cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File bridgemgr.php //cpg1.4
-// ------------------------------------------------------------------------- //
-
-if (defined('BRIDGEMGR_PHP')) $lang_bridgemgr_php = array(
-  'title' => 'Майстер Інтеграції',
-  'warning' => 'УВАГА: при використанні цієї програми будьте свідомими того, що конфіденційна інформація буде пересилатися за допомогою форм HTML. Запускайте її лише на власному комп`ютері (а не в публічному місці типу інтернет кафе). Крім того не забудьте вичистити кеші та тимчасові файли переглядача після того як ви закінчите роботу!',
-  'back' => 'назад',
-  'next' => 'вперед',
-  'start_wizard' => 'Запустити майстер інтеграції',
-  'finish' => 'Завершити',
-  'hide_unused_fields' => 'заховати поля, що не використовуються (рекомендується)',
-  'clear_unused_db_fields' => 'витерти неправильні записи в базі даних (рекомендується)',
-  'custom_bridge_file' => 'назва вашого власного файлу інтеграції (якщо файл називається <i>myfile.inc.php</i>, введіть <i>myfile</i>)',
-  'no_action_needed' => 'Жодних дій не виконується на цьому кроці. Просто натисніть \'далі\' для продовження.',
-  'reset_to_default' => 'Відновити типове значення',
-  'choose_bbs_app' => 'виберіть систему для інтегрування',
-  'support_url' => 'Ідіть сюди за додатковою інформацією про цю систему',
-  'settings_path' => 'шлях(и) що використовуються вашою BBS системою',
-  'database_connection' => 'зв`язок з базою даних',
-  'database_tables' => 'таблиці бази даних',
-  'bbs_groups' => 'групи з BBS',
-  'license_number' => 'Номер ліцензії',
-  'license_number_explanation' => 'введіть ваш номер ліцензії (якщо є)',
-  'db_database_name' => 'Назва бази даних',
-  'db_database_name_explanation' => 'Введіть назву бази даних що використовує ваша BBS',
-  'db_hostname' => 'Сервер БД',
-  'db_hostname_explanation' => 'Назва комп`ютера, де працює ваша база mySQL, як правило &quot;localhost&quot;',
-  'db_username' => 'Користувач БД',
-  'db_username_explanation' => 'користувач mySQL, що використовується вашою BBS',
-  'db_password' => 'Пароль користувача БД',
-  'db_password_explanation' => 'Пароль користувача mySQL',
-  'full_forum_url' => 'URL форуму',
-  'full_forum_url_explanation' => 'Повний URL до вашої BBS (включаючи http://, напр. http://www.yourdomain.tld/forum)',
-  'relative_path_of_forum_from_webroot' => 'Відносний шлях до форуму',
-  'relative_path_of_forum_from_webroot_explanation' => 'Відносний шлях вашої BBS від кореня сервера тенет (Приклад: якщо ваш форум має адресу http://www.yourdomain.tld/forum/, введіть &quot;/forum/&quot;)',
-  'relative_path_to_config_file' => 'Відносний шлях до конфігураційного файлу вашої BBS',
-  'relative_path_to_config_file_explanation' => 'Відносний шлях до конфігураційного файлу вашої BBS, який починається з теки Coppermine (напр. &quot;../forum/&quot; якщо ваш форум є за адресою http://www.yourdomain.tld/forum/, а Coppermine - http://www.yourdomain.tld/gallery/)',
-  'cookie_prefix' => 'Префікс для коржиків',
-  'cookie_prefix_explanation' => 'це має бути префікс для коржиків вашого форуму',
-  'table_prefix' => 'Префікс таблиць',
-  'table_prefix_explanation' => 'Повинен відповідати префіксу, який було обрано при інсталяції вашого форуму.',
-  'user_table' => 'Таблиця з користувачами',
-  'user_table_explanation' => '(як правило, типове значення має підійти, хіба якщо ваш форум було інстальовано нестандартним чином)',
-  'session_table' => 'Таблиця сесій',
-  'session_table_explanation' => '(як правило, типове значення має підійти, хіба якщо ваш форум було інстальовано нестандартним чином)',
-  'group_table' => 'Таблиця груп',
-  'group_table_explanation' => '(як правило, типове значення має підійти, хіба якщо ваш форум було інстальовано нестандартним чином)',
-  'group_relation_table' => 'Таблиця відношень груп',
-  'group_relation_table_explanation' => '(як правило, типове значення має підійти, хіба якщо ваш форум було інстальовано нестандартним чином)',
-  'group_mapping_table' => 'Таблиця відповідності груп',
-  'group_mapping_table_explanation' => '(як правило, типове значення має підійти, хіба якщо ваш форум було інстальовано нестандартним чином)',
-  'use_standard_groups' => 'Використовувати стандартні групи форуму',
-  'use_standard_groups_explanation' => 'Використовувати стандартні (вбудовані) групи користувачів (рекомендується). Це скасує всі нестандартні налаштування на цій сторінці. Відключайте цю опцію тільки якщо ТОЧНО знаєте, що робите!',
-  'validating_group' => 'Група до перевірки',
-  'validating_group_explanation' => 'ID групи вашої BBS куди заносяться користувачі BBS, які очікують на підтвердження своєї реєстрації (як правило, типове значення має підійти, хіба якщо ваш форум було інстальовано нестандартним чином)',
-  'guest_group' => 'Гостьова група',
-  'guest_group_explanation' => 'ID групи вашої BBS куди заносяться гості (анонімні користувачі) (типове значення має підійти, міняйте це тільки якщо точно знаєте що робите)',
-  'member_group' => 'Група учасників',
-  'member_group_explanation' => 'ID групи вашої BBS до якої належать &quot;звичайні&quot; користувачі (типове значення має підійти, міняйте це тільки якщо точно знаєте що робите)',
-  'admin_group' => 'Група адміністраторів',
-  'admin_group_explanation' => 'ID групи вашої BBS до якої належать адміністратори (типове значення має підійти, міняйте це тільки якщо точно знаєте що робите)',
-  'banned_group' => 'Блокована група',
-  'banned_group_explanation' => 'ID групи вашої BBS до якої належать заблоковані користувачі (типове значення має підійти, міняйте це тільки якщо точно знаєте що робите)',
-  'global_moderators_group' => 'Група глобальних модераторів',
-  'global_moderators_group_explanation' => 'ID групи вашої BBS до якої належать глобальні модератори (типове значення має підійти, міняйте це тільки якщо точно знаєте що робите)',
-  'special_settings' => 'Особливі налаштування',
-  'logout_flag' => 'Версія phpBB (прапорець виходу)',
-  'logout_flag_explanation' => 'Введіть версію вашої BBS (у залежності від версії phpBB по різному буде виконуватися вихід з системи)',
-  'use_post_based_groups' => 'Використовувати групи, що базуються на кількості повідомлень?',
-  'logout_flag_yes' => '2.0.5 або вище',
-  'logout_flag_no' => '2.0.4 або нижче',
-  'use_post_based_groups_explanation' => 'Чи повинні групи з BBS враховувати кількість постів на форумі (дозволяє дуже точне керування правами) або одноразово згенерувати групи (простіше в адмініструванні - рекомендовано). Це налаштування можна змінити потім.',
-  'use_post_based_groups_yes' => 'так',
-  'use_post_based_groups_no' => 'ні',
-  'error_title' => 'Усуньте ці помилки перед тим як продовжити. Поверніться на попередній екран.',
-  'error_specify_bbs' => 'Ви повинні вказати з якою програмою ви хочете інтегрувати Coppermine.',
-  'error_no_blank_name' => 'Введіть назву власного файлу інтеграції.',
-  'error_no_special_chars' => 'Назва власного файлу інтеграції не повинна містити спеціальних символів крім підкреслення (_) та мінуса (-)!',
-  'error_bridge_file_not_exist' => 'Файл інтеграції %s не знайдено на сервері. Переконайтеся, що ви дійсно його туди поклали.',
-  'finalize' => 'активувати/відключити інтеграцію з BBS',
-  'finalize_explanation' => 'На даний момент налаштування вказані вами було збережено в базу даних, але інтеграцію з BBS не було активовано. Ви можете активовувати або відключати інтеграцію в будь-який час. Пильнуйте, щоб не забути адміністративний пароль Coppermine для автономного режиму, він вам може згодитися пізніше, коли ви захочете внести зміни у ці налаштування. Якщо щось працюватиме неправильно, перейдіть до %s та відключіть там інтеграцію з BBS, використовуючи ваш автономний адмінський доступ (без інтеграції) - як правило, цей доступ налаштовується під час інсталяції Coppermine).',
-  'your_bridge_settings' => 'Налаштування вашого інтегратора',
-  'title_enable' => 'Активувати інтеграцію з %s',
-  'bridge_enable_yes' => 'активувати',
-  'bridge_enable_no' => 'відключити',
-  'error_must_not_be_empty' => 'не може бути порожнім',
-  'error_either_be' => 'має бути або %s, або %s',
-  'error_folder_not_exist' => '%s не існує. Виправте значення, введене для %s',
-  'error_cookie_not_readible' => 'Coppermine не може прочитати коржика %s. Виправте значення, що ви ввели для %s, або запустіть панель адміністрування вашої BBS і переконайтеся що шлях до коржика доступний для читання галереєю.',
-  'error_mandatory_field_empty' => 'Не залишайте поле %s порожнім - введіть правильне значення.',
-  'error_no_trailing_slash' => 'Поле %s не повинно завершуватися слешами.',
-  'error_trailing_slash' => 'Поле %s повинно завершуватися слешами.',
-  'error_db_connect' => 'Не можу під`єднатися до mySQL використовуючи інформацію, що ви вказали. mySQL каже:',
-	'error_db_name' => 'Хоча Coppermine вдалося під`єднатися до сервера, йому не вдалося знайти базу %s. Переконайтеся, що ви вказали %s правильно. mySQL каже:',
-  'error_prefix_and_table' => '%s та ',
-  'error_db_table' => 'Не можу знайти таблицю %s. Переконайтеся, що ви вказали %s правильно.',
-  'recovery_title' => 'Майстер Інтеграції: аварійне відновлення',
-  'recovery_explanation' => 'Якщо ви хочете налаштувати інтеграцію галереї з вашою BBS, вам необхідно спочатку авторизуватися як адміністратор. Якщо ви не можете авторизуватися через некоректну роботу інтегратора, ви можете відключити інтеграцію на цій же ж сторінці. Введення імені та пароля не дасть вам доступу до системи, а просто відключить інтеграцію з BBS. Перегляньте документацію якщо потребуєте детальнішої інформації.',
-  'username' => 'Користувач',
-  'password' => 'Пароль',
-  'disable_submit' => 'submit',
-  'recovery_success_title' => 'Авторизація відбулася успішно',
-  'recovery_success_content' => 'Ви відключили інтеграцію з BBS. Ваша галерея Coppermine тепер працює в автономному режимі.',
-  'recovery_success_advice_login' => 'Ввійдіть як адміністратор для редагування налаштувань та/або повторного ввімкнення інтеграції з BBS.',
-  'goto_login' => 'Перейти на сторінку входу',
-  'goto_bridgemgr' => 'Перейти до менеджера інтеграції',
-  'recovery_failure_title' => 'Авторизація зазнала невдачі',
-  'recovery_failure_content' => 'Ви вказали неправильні дані для входу. Вкажіть дані адміністратора автономного режиму (зазвичай, це користувач, якого було створено при встановлення Coppermine).',
-  'try_again' => 'спробуйте знову',
-  'recovery_wait_title' => 'Час затримки ще не закінчився',
-  'recovery_wait_content' => 'З причин безпеки цей скрипт не дозволяє авторизовуватися зразу ж після невдалої спроби, зачекайте трохи часу перш, ніж пробувати знову.',
-  'wait' => 'чекайте',
-  'create_redir_file' => 'Створити файл перенаправлення (рекомендовано)',
-  'create_redir_file_explanation' => 'Для перенаправлення користувачів назад у Coppermine після успішної авторизації вам знадобиться файл перенаправлення, який має зберігатися у теці BBS. Коли ця опція увімкнена, менеджер інтеграції спробує його створити, або просто згенерує для вас фрагмент коду, який можна буде скопіювати при створенні такого файла вручну.',
-  'browse' => 'перегляд',
-);
-
-// ------------------------------------------------------------------------- //
-// File calendar.php //cpg1.4
-// ------------------------------------------------------------------------- //
-
-if (defined('CALENDAR_PHP')) $lang_calendar_php = array(
-  'title' => 'Календар', //cpg1.4
-  'close' => 'закрити', //cpg1.4
-  'clear_date' => 'очистити дату', //cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File catmgr.php
-// ------------------------------------------------------------------------- //
-
-if (defined('CATMGR_PHP')) $lang_catmgr_php = array(
-  'miss_param' => 'Не надано параметри, потрібні для виконання операції \'%s\'!',
-  'unknown_cat' => 'Вибрана категорія не існує в базі',
-  'usergal_cat_ro' => 'Категорію галерей користувачів не може бути видалено!',
-  'manage_cat' => 'Керування категоріями',
-  'confirm_delete' => 'Ви дійсно бажаєте видалити цю категорію?', //js-alert
-  'category' => 'Категорія',
-  'operations' => 'Дії',
-  'move_into' => 'Перемістити до',
-  'update_create' => 'Поновити/Створити категорію',
-  'parent_cat' => 'Категорія вищого рівня',
-  'cat_title' => 'Назва категорії',
-  'cat_thumb' => 'Лого категорії',
-  'cat_desc' => 'Опис категорії',
-  'categories_alpha_sort' => 'Сортувати категорії за алфавітом (замість ручного режиму сортування)', //cpg1.4
-  'save_cfg' => 'Зберегти налаштування', //cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File admin.php //cpg1.4
-// ------------------------------------------------------------------------- //
-
-if (defined('ADMIN_PHP')) $lang_admin_php = array(
-  'title' => 'Налаштування', //cpg1.4
-  'manage_exif' => 'Керування показом exif', //cpg1.4
-  'manage_plugins' => 'Керування плагінами', //cpg1.4
-  'manage_keyword' => 'Керування ключовими словами', //cpg1.4
-  'restore_cfg' => 'Відновити типові налаштування',
-  'save_cfg' => 'Зберегти нові налаштування',
-  'notes' => 'Нотатки',
-  'info' => 'Інформація',
-  'upd_success' => 'Налаштування було поновлено',
-  'restore_success' => 'Типові налаштування відновлено',
-  'name_a' => 'Ім`я [зростання]',
-  'name_d' => 'Ім`я [спадання]',
-  'title_a' => 'Назва [зростання]',
-  'title_d' => 'Назва [спадання]',
-  'date_a' => 'Дата [зростання]',
-  'date_d' => 'Дата [спадання]',
-  'pos_a' => 'Пор. номер [зростання]', //cpg1.4
-  'pos_d' => 'Пор. номер [спадання]', //cpg1.4
-  'th_any' => 'Макс. розмір',
-  'th_ht' => 'Висота',
-  'th_wd' => 'Ширина',
-  'label' => 'мітка',
-  'item' => 'елемент',
-  'debug_everyone' => 'Будь-хто',
-  'debug_admin' => 'Тільки адміністратор',
-  'no_logs'=> 'Вимкнено', //cpg1.4
-  'log_normal'=> 'Нормально', //cpg1.4
-  'log_all' => 'Все', //cpg1.4
-  'view_logs' => 'Подивитися журнали', //cpg1.4
-  'click_expand' => 'клацніть по назві секції для розгортання', //cpg1.4
-  'expand_all' => 'Розгорнути все', //cpg1.4
-  'notice1' => '(*) Ці налаштування не повинні мінятися, якщо ви вже маєте файли у базі даних.', //cpg1.4 - (relocated)
-  'notice2' => '(**) Після зміни цього налаштування, тільки файли, що додаються з цього моменту будуть створені згідно нових правил, тому це налаштування не рекомендується змінювати, якщо у вас вже є в базі якісь файли. Однак, ви можете перетворити існуючі файли згідно змін налаштувань, використовуючи пункт &quot;<a href="util.php">інструменти адміністратора</a> (зміна розмірів)&quot; з меню адміністратора.', //cpg1.4 - (relocated)
-  'notice3' => '(***) Всі журнали ведуться англійською мовою.', //cpg1.4 - (relocated)
-  'bbs_disabled' => 'Функція відключена якщо працює інтеграція з bb', //cpg1.4
-  'auto_resize_everyone' => 'Всі', //cpg1.4
-  'auto_resize_user' => 'Тільки користувач', //cpg1.4
-  'ascending' => 'за зростанням', //cpg1.4
-  'descending' => 'за спаданням', //cpg1.4
-);
-
-if (defined('ADMIN_PHP')) $lang_admin_data = array(
-  'Загальні Налаштування',
-  array('Назва галереї', 'gallery_name', 0, 'f=index.htm&amp;as=admin_general_name&amp;ae=admin_general_name_end'), //cpg1.4
-  array('Опис галереї', 'gallery_description', 0, 'f=index.htm&amp;as=admin_general_description&amp;ae=admin_general_description_end'), //cpg1.4
-  array('Email адміністратора', 'gallery_admin_email', 0, 'f=index.htm&amp;as=admin_general_email&amp;ae=admin_general_email_end'), //cpg1.4
-  array('Повний URL до вашої галереї (без \'index.php\' чи чогось такого в кінці)', 'ecards_more_pic_target', 0, 'f=index.htm&amp;as=admin_general_coppermine-url&amp;ae=admin_general_coppermine-url_end'), //cpg1.4
-  array('URL вашої домашньої сторінки', 'home_target', 0, 'f=index.htm&amp;as=admin_general_home-url&amp;ae=admin_general_home-url_end'), //cpg1.4
-  array('Дозволити викачування ZIP-архіву улюблених фото', 'enable_zipdownload', 1, 'f=index.htm&amp;as=admin_general_zip-download&amp;ae=admin_general_zip-download_end'), //cpg1.4
-  array('Відхилення вашого часового поясу від GMT (теперішній час: ' . localised_date(-1, $comment_date_fmt) . ')','time_offset',0, 'f=index.htm&amp;as=admin_general_time-offset&amp;ae=admin_general_time-offset_end&amp;top=1'), //cpg1.4
-  array('Дозволити шифрування паролів (не може бути потім скасовано)','enable_encrypted_passwords',1, 'f=index.htm&amp;as=admin_general_encrypt_password_start&amp;ae=admin_general_encrypt_password_end&amp;top=1'), // cpg 1.4
-  array('Дозволити іконки довідки (довідка є тільки англійською мовою)','enable_help',9, 'f=index.htm&amp;as=admin_general_help&amp;ae=admin_general_help_end'), //cpg1.4
-  array('Дозволити клацання по ключових словах під час пошуку','clickable_keyword_search',14, 'f=index.htm&amp;as=admin_general_keywords_start&amp;ae=admin_general_keywords_end'), //cpg1.4
-  array('Дозволити плагіни', 'enable_plugins', 12, 'f=index.htm&amp;as=admin_general_enable-plugins&amp;ae=admin_general_enable-plugins_end'),  //cpg1.4
-  array('Дозволити блокування IP адрес з приватних підмереж', 'ban_private_ip', 1,  'f=index.htm&amp;as=admin_general_private-ip&amp;ae=admin_general_private-ip_end'), //cpg1.4
-  array('Інтерфейс додавання пачками', 'browse_batch_add', 1, 'f=index.htm&amp;as=admin_general_browsable_batch_add&amp;ae=admin_general_browsable_batch_add_end'), //cpg1.4
-
-  'Мови та таблиці кодування',
-  array('Мова', 'lang', 5, 'f=index.htm&amp;as=admin_language_language&amp;ae=admin_language_language_end'), //cpg1.4
-  array('Знайти англійський замінник у випадку неповного перекладу?', 'language_fallback', 1, 'f=index.htm&amp;as=admin_language_fallback&amp;ae=admin_language_fallback_end'), //cpg1.4
-  array('Таблиця кодування', 'charset', 4, 'f=index.htm&amp;as=admin_language_charset&amp;ae=admin_language_charset_end'), //cpg1.4
-  array('Показувати список мов', 'language_list', 1, 'f=index.htm&amp;as=admin_language_list&amp;ae=admin_language_list_end'), //cpg1.4
-  array('Показувати прапорці мов', 'language_flags', 8, 'f=index.htm&amp;as=admin_language_flags&amp;ae=admin_language_flags_end&amp;top=1'), //cpg1.4
-  array('Дозволити &quot;скидання&quot; мови у списку мов', 'language_reset', 1, 'f=index.htm&amp;as=admin_language_reset&amp;ae=admin_language_reset_end&amp;top=1'), //cpg1.4
-  //array('Display previous/next on tabbed pages', 'previous_next_tab', 1), //cpg1.4
-
-  'Налаштування тем',
-  array('Тема', 'theme', 6, 'f=index.htm&amp;as=admin_theme_theme&amp;ae=admin_theme_theme_end'), //cpg1.4
-  array('Показувати список тем', 'theme_list', 1, 'f=index.htm&amp;as=admin_theme_theme_list&amp;ae=admin_theme_theme_list_end'), //cpg1.4
-  array('Дозволити &quot;скидання&quot; при виборі тем', 'theme_reset', 1, 'f=index.htm&amp;as=admin_theme_theme_reset&amp;ae=admin_theme_theme_reset_end'), //cpg1.4
-  array('Показати ЧАПи', 'display_faq', 1, 'f=index.htm&amp;as=admin_theme_faq&amp;ae=admin_theme_faq_end'), //cpg1.4
-  array('Назва додаткового пункту меню', 'custom_lnk_name', 0,'f=index.htm&amp;as=admin_theme_custom_lnk_name&amp;ae=admin_theme_custom_lnk_name_end'), //cpg1.4
-  array('URL додаткового пункту меню', 'custom_lnk_url', 0,'f=index.htm&amp;as=admin_language_custom_lnk_url&amp;ae=admin_language_custom_lnk_url_end'), //cpg1.4
-  array('Показувати підказки bbcode', 'show_bbcode_help', 1, 'f=index.htm&amp;as=admin_theme_bbcode&amp;ae=admin_theme_bbcode_end&amp;top=1'), //cpg1.4
-  array('Позначати спеціально теми, які задекларовано як XHTML та CSS сумісні','vanity_block',1, 'f=index.htm&amp;as=vanity_block&amp;ae=vanity_block_end'), //cpg1.4
-  array('Шлях до файла з вашим кодом шапки сторінки', 'custom_header_path', 0, 'f=index.htm&amp;as=admin_theme_include_path_start&amp;ae=admin_theme_include_path_end'), //cpg1.4
-  array('Шлях до файла з вашим кодом низу сторінки', 'custom_footer_path', 0, 'f=index.htm&amp;as=admin_theme_include_path_start&amp;ae=admin_theme_include_path_end'), //cpg1.4
-
-  'Сторінка списку альбомів',
-  array('Ширина головної таблиці (пікселі або %)', 'main_table_width', 0, 'f=index.htm&amp;as=admin_album_table-width&amp;ae=admin_album_table-width_end'), //cpg1.4
-  array('Глибина рівнів категорій до показу', 'subcat_level', 0, 'f=index.htm&amp;as=admin_album_category-levels&amp;ae=admin_album_category-levels_end'), //cpg1.4
-  array('Макс кількість альбомів на сторінку', 'albums_per_page', 0, 'f=index.htm&amp;as=admin_album_number&amp;ae=admin_album_number_end'), //cpg1.4
-  array('Кількість колонок у списку альбомів', 'album_list_cols', 0, 'f=index.htm&amp;as=admin_album_columns&amp;ae=admin_album_columns_end'), //cpg1.4
-  array('Розмір слайдів в пікселях', 'alb_list_thumb_size', 0, 'f=index.htm&amp;as=admin_album_thumbnail-size&amp;ae=admin_album_thumbnail-size_end'), //cpg1.4
-  array('Наповнення головної сторінки', 'main_page_layout', 0, 'f=index.htm&amp;as=admin_album_list_content&amp;ae=admin_album_list_content_end'), //cpg1.4
-  array('Показати для категорій слайди фото з альбомів першого рівня','first_level',1, 'f=index.htm&amp;as=admin_album_first-level_thumbs&amp;ae=admin_album_first-level_thumbs_end'), //cpg1.4
-  array('Сортувати категорії за алфавітом (замість довільного способу сортування)','categories_alpha_sort',1, 'f=index.htm&amp;as=admin_album_list_alphasort_start&amp;ae=admin_album_list_alphasort_end'), //cpg1.4
-  array('Показувати кількість під`єднаних файлів','link_pic_count',1, 'f=index.htm&amp;as=admin_album_linked_files_start&amp;ae=admin_album_linked_files_end'), //cpg1.4
-
-  'Показ слайдів',
-  array('Кількість колонок на сторінці слайдів', 'thumbcols', 0, 'f=index.htm&amp;as=admin_thumbnail_columns&amp;ae=admin_thumbnail_columns_end'), //cpg1.4
-  array('Кількість рядочків на сторінці слайдів', 'thumbrows', 0, 'f=index.htm&amp;as=admin_thumbnail_rows&amp;ae=admin_thumbnail_rows_end'), //cpg1.4
-  array('Макс. кількість закладок', 'max_tabs', 10, 'f=index.htm&amp;as=admin_thumbnail_tabs&amp;ae=admin_thumbnail_tabs_end'), //cpg1.4
-  array('Показувати заголовок (на додачу до назви фото) під слайдом', 'caption_in_thumbview', 1, 'f=index.htm&amp;as=admin_thumbnail_display_caption&amp;ae=admin_thumbnail_display_caption_end'), //cpg1.4
-  array('Показувати кількість переглядів під слайдом', 'views_in_thumbview', 1, 'f=index.htm&amp;as=admin_thumbnail_display_views&amp;ae=admin_thumbnail_display_views_end'), //cpg1.4
-  array('Показувати кількість коментарів під слайдом', 'display_comment_count', 1, 'f=index.htm&amp;as=admin_thumbnail_display_comments&amp;ae=admin_thumbnail_display_comments_end'), //cpg1.4
-  array('Показувати ім`я власника під слайдом', 'display_uploader', 1, 'f=index.htm&amp;as=admin_thumbnail_display_uploader&amp;ae=admin_thumbnail_display_uploader_end'), //cpg1.4
-  //array('Display name of admin uploaders below the thumbnail', 'display_admin_uploader', 1, 'f=index.htm&amp;as=admin_thumbnail_display_admin_uploader&amp;ae=admin_thumbnail_display_admin_uploader_end'), //cpg1.4
-  array('Показувати назву файла під слайдом', 'display_filename', 1, 'f=index.htm&amp;as=admin_thumbnail_display_filename&amp;ae=admin_thumbnail_display_filename_end'), //cpg1.4
-  //array('Показувати опис альбому', 'alb_desc_thumb', 1, 'f=index.htm&amp;as=admin_thumbnail_display_description&amp;ae=admin_thumbnail_display_description_end'), //cpg1.4
-  array('Типовий спосіб сортування', 'default_sort_order', 3, 'f=index.htm&amp;as=admin_thumbnail_default_sortorder&amp;ae=admin_thumbnail_default_sortorder_end'), //cpg1.4
-  array('Мін. кількість голосів для потрапляння у список \'популярних\'', 'min_votes_for_rating', 0, 'f=index.htm&amp;as=admin_thumbnail_minimum_votes&amp;ae=admin_thumbnail_minimum_votes_end'), //cpg1.4
-
-  'Сторінка перегляду фото', //cpg1.4
-  array('Ширина таблиці для показу фото (пікселі або %)', 'picture_table_width', 0, 'f=index.htm&amp;as=admin_image_comment_table-width&amp;ae=admin_image_comment_table-width_end'), //cpg1.4
-  array('Показувати типово інформація про файл', 'display_pic_info', 1, 'f=index.htm&amp;as=admin_image_comment_info_visible&amp;ae=admin_image_comment_info_visible_end'), //cpg1.4
-  array('Макс. довжина опису фото', 'max_img_desc_length', 0, 'f=index.htm&amp;as=admin_image_comment_descr_length&amp;ae=admin_image_comment_descr_length_end'), //cpg1.4
-  array('Макс. кількість символів у слові', 'max_com_wlength', 0, 'f=index.htm&amp;as=admin_image_comment_chars_per_word&amp;ae=admin_image_comment_chars_per_word_end'), //cpg1.4
-  array('Показати фото як кадри плівки', 'display_film_strip', 1, 'f=index.htm&amp;as=admin_image_comment_filmstrip_toggle&amp;ae=admin_image_comment_filmstrip_toggle_end'), //cpg1.4
-  array('Показати імена файлів під кадрами плівки', 'display_film_strip_filename', 1, 'f=index.htm&amp;as=admin_image_comment_display_film_strip_filename&amp;ae=admin_image_comment_display_film_strip_filename_end'), //cpg1.4
-  array('Кількість фото в стрічці плівки', 'max_film_strip_items', 0, 'f=index.htm&amp;as=admin_image_comment_filmstrip_number&amp;ae=admin_image_comment_filmstrip_number_end'), //cpg1.4
-  array('Затримка показу слайдів (1 секунда = 1000 мілісекунд :-)', 'slideshow_interval', 0, 'f=index.htm&amp;as=admin_image_comment_slideshow_interval&amp;ae=admin_image_comment_slideshow_interval_end'), //cpg1.4
-
-  'Коментарі', //cpg1.4
-  array('Відфільтровувати погані слова у коментарях', 'filter_bad_words', 1, 'f=index.htm&amp;as=admin_image_comment_bad_words&amp;ae=admin_image_comment_bad_words_end'), //cpg1.4
-  array('Дозволити смайлики у коментарях', 'enable_smilies', 1, 'f=index.htm&amp;as=admin_image_comment_smilies&amp;ae=admin_image_comment_smilies_end'), //cpg1.4
-  array('Дозволити кілька коментарів до одного фото від одного користувача (відключити захист від флуду)', 'disable_comment_flood_protect', 1, 'f=index.htm&amp;as=admin_image_comment_flood&amp;ae=admin_image_comment_flood_end'), //cpg1.4
-  array('Макс. кількість стрічок в коментарі', 'max_com_lines', 0, 'f=index.htm&amp;as=admin_image_comment_lines&amp;ae=admin_image_comment_lines_end'), //cpg1.4
-  array('Макс довжина коментаря', 'max_com_size', 0, 'f=index.htm&amp;as=admin_image_comment_length&amp;ae=admin_image_comment_length_end'), //cpg1.4
-  array('Повідомляти адміністратора поштою про появу коментарів', 'email_comment_notification', 1, 'f=index.htm&amp;as=admin_image_comment_admin_notify&amp;ae=admin_image_comment_admin_notify_end'), //cpg1.4
-  array('Сортування коментарів', 'comments_sort_descending', 17, 'f=index.htm&amp;as=admin_comment_sort_start&amp;ae=admin_comment_sort_end'), //cpg1.4
-  array('Префікс для коментарів анонімних авторів', 'comments_anon_pfx', 0, 'f=index.htm&amp;as=comments_anon_pfx&amp;ae=comments_anon_pfx_end'), //cpg1.4
-
-  'Файли і слайди',
-  array('Рівень якості JPEG файлів', 'jpeg_qual', 0, 'f=index.htm&amp;as=admin_picture_thumbnail_jpeg_quality&amp;ae=admin_picture_thumbnail_jpeg_quality_end'), //cpg1.4
-  array('Макс. розміри слайдів <a href="#notice2" class="clickable_option">**</a>', 'thumb_width', 0, 'f=index.htm&amp;as=admin_picture_thumbnail_max-dimension&amp;ae=admin_picture_thumbnail_max-dimension_end'), //cpg1.4
-  array('Обмежити розміри ( ширина або висота ) <a href="#notice2" class="clickable_option">**</a>', 'thumb_use', 7, 'f=index.htm&amp;as=admin_picture_thumbnail_use-dimension&amp;ae=admin_picture_thumbnail_use-dimension_end'), //cpg1.4
-  array('Створювати проміжні фото','make_intermediate',1, 'f=index.htm&amp;as=admin_picture_thumbnail_intermediate_toggle&amp;ae=admin_picture_thumbnail_intermediate_toggle_end'), //cpg1.4
-  array('Макс. висота або ширина проміжних фото/відео <a href="#notice2" class="clickable_option">**</a>', 'picture_width', 0, 'f=index.htm&amp;as=admin_picture_thumbnail_intermediate_dimension&amp;ae=admin_picture_thumbnail_intermediate_dimension_end'), //cpg1.4
-  array('Макс розмір файлів до закачування (KB)', 'max_upl_size', 0, 'f=index.htm&amp;as=admin_picture_thumbnail_max_upload_size&amp;ae=admin_picture_thumbnail_max_upload_size_end'), //cpg1.4
-  array('Макс. висота або ширина фото/відео файлів під час закачуваня', 'max_upl_width_height', 0, 'f=index.htm&amp;as=admin_picture_thumbnail_max_upload_dimension&amp;ae=admin_picture_thumbnail_max_upload_dimension_end'), //cpg1.4
-  array('Автоматично масштабувати фото, які перевищують граничні розміри', 'auto_resize', 16, 'f=index.htm&amp;as=admin_picture_thumbnail_auto-resize&amp;ae=admin_picture_thumbnail_auto-resize_end'), //cpg1.4
-
-  'Файли і слайди - тонкі налаштування',
-  array('Альбоми можуть бути приватними (Примітка: якщо ви переключаєтеся з  \'так\' на \'ні\' всі приватні альбоми стануть публічними)', 'allow_private_albums', 1, 'f=index.htm&amp;as=admin_picture_thumb_advanced_private_toggle&amp;ae=admin_picture_thumb_advanced_private_toggle_end'), //cpg1.4
-  array('Показувати піктограму приватного альбому незареєстрованим користувачам','show_private',1, 'f=index.htm&amp;as=admin_picture_thumb_advanced_private_icon_show&amp;ae=admin_picture_thumb_advanced_private_icon_show_end'), //cpg1.4
-  array('Символи, заборонені в іменах файлів', 'forbiden_fname_char',0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_filename_forbidden_chars&amp;ae=admin_picture_thumb_advanced_filename_forbidden_chars_end'), //cpg1.4
-  //array('Accepted file extensions for uploaded pictures', 'allowed_file_extensions',0, 'f=index.htm&amp;as=&amp;ae=_end'), //cpg1.4
-  array('Дозволені типи файлів зображень', 'allowed_img_types',0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_pic_extensions&amp;ae=admin_picture_thumb_advanced_pic_extensions_end'), //cpg1.4
-  array('Дозволені типи файлів відео', 'allowed_mov_types',0, 'f=index.htm&amp;as=admin_thumbs_advanced_movie&amp;ae=admin_thumbs_advanced_movie_end'), //cpg1.4
-  array('Автоматично стартувати відтворення відео', 'media_autostart',1, 'f=index.htm&amp;as=admin_movie_autoplay&amp;ae=admin_movie_autoplay_end'), //cpg1.4
-  array('Дозволені типи файлів звуку', 'allowed_snd_types',0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_audio_extensions&amp;ae=admin_picture_thumb_advanced_audio_extensions_end'), //cpg1.4
-  array('Дозволені типи файлів документів', 'allowed_doc_types',0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_doc_extensions&amp;ae=admin_picture_thumb_advanced_doc_extensions_end'), //cpg1.4
-  array('Метод мастабування фото','thumb_method',2, 'f=index.htm&amp;as=admin_picture_thumb_advanced_resize_method&amp;ae=admin_picture_thumb_advanced_resize_method_end'), //cpg1.4
-  array('Шлях до утиліти ImageMagick \'convert\' (напр. /usr/bin/X11/)', 'impath', 0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_im_path&amp;ae=admin_picture_thumb_advanced_im_path_end'), //cpg1.4
-  //array('Allowed image types (only valid for ImageMagick)', 'allowed_img_types',0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_allowed_imagetypes&amp;ae=admin_picture_thumb_advanced_allowed_imagetypes_end'), //cpg1.4
-  array('Параметри командної стрічки для ImageMagick', 'im_options', 0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_im_commandline&amp;ae=admin_picture_thumb_advanced_im_commandline_end'), //cpg1.4
-  array('Вичитувати дані EXIF із JPEG файлів', 'read_exif_data', 13, 'f=index.htm&amp;as=admin_picture_thumb_advanced_exif&amp;ae=admin_picture_thumb_advanced_exif_end'), //cpg1.4
-  array('Вичитувати IPTC дані із JPEG файлів', 'read_iptc_data', 1, 'f=index.htm&amp;as=admin_picture_thumb_advanced_iptc&amp;ae=admin_picture_thumb_advanced_iptc_end'), //cpg1.4
-  array('Тека з вмістом альбомів <a href="#notice1" class="clickable_option">*</a>', 'fullpath', 0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_albums_dir&amp;ae=admin_picture_thumb_advanced_albums_dir_end'), //cpg1.4
-  array('Тека для файлів користувачів <a href="#notice1" class="clickable_option">*</a>', 'userpics', 0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_userpics_dir&amp;ae=admin_picture_thumb_advanced_userpics_dir_end'), //cpg1.4
-  array('Префікс для проміжних файлів<a href="#notice1" class="clickable_option">*</a>', 'normal_pfx', 0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_intermediate_prefix&amp;ae=admin_picture_thumb_advanced_intermediate_prefix_end'), //cpg1.4
-  array('Префікс для слайдів <a href="#notice1" class="clickable_option">*</a>', 'thumb_pfx', 0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_thumbs_prefix&amp;ae=admin_picture_thumb_advanced_thumbs_prefix_end'), //cpg1.4
-  array('Стандартні атрибути доступу для тек галереї', 'default_dir_mode', 0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_chmod_folder&amp;ae=admin_picture_thumb_advanced_chmod_folder_end'), //cpg1.4
-  array('Стандартні атрибути доступу для файлів галереї', 'default_file_mode', 0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_chmod_files&amp;ae=admin_picture_thumb_advanced_chmod_files_end'), //cpg1.4
-
-  'Користувачі',
-  array('Дозволити реєстрацію нових користувачів', 'allow_user_registration', 1, 'f=index.htm&amp;as=admin_allow_registration&amp;ae=admin_allow_registration_end'), //cpg1.4
-  array('Дозволити доступ неавторизованим користувачам (гостям або анонімним)', 'allow_unlogged_access', 1, 'f=index.htm&amp;as=admin_allow_unlogged_access&amp;ae=admin_allow_unlogged_access_end'), //cpg1.4
-  array('Реєстрація користувача вимагає підтвердження поштою', 'reg_requires_valid_email', 1, 'f=index.htm&amp;as=admin_registration_verify&amp;ae=admin_registration_verify_end'), //cpg1.4
-  array('Повідомити адміністратора поштою про реєстрацію нового користувача', 'reg_notify_admin_email', 1, 'f=index.htm&amp;as=admin_registration_notify&amp;ae=admin_registration_notify_end'), //cpg1.4
-  array('Реєстрація вимагає підтвердження адміністратора', 'admin_activation', 1, 'f=index.htm&amp;as=admin_activation&amp;ae=admin_activation_end'),  //cpg1.4
-  array('Дозволити кільком користувачам мати однакову Email адресу', 'allow_duplicate_emails_addr', 1, 'f=index.htm&amp;as=admin_allow_duplicate_emails_addr&amp;ae=admin_allow_duplicate_emails_addr_end'), //cpg1.4
-  array('Повідомляти адміністратора про додані файли, що вимагають підтвердження', 'upl_notify_admin_email', 1, 'f=index.htm&amp;as=admin_approval_notify&amp;ae=admin_approval_notify_end'), //cpg1.4
-  array('Дозволити авторизованим користувачам бачити список всіх користувачів', 'allow_memberlist', 1, 'f=index.htm&amp;as=admin_user_memberlist&amp;ae=admin_user_memberlist_end'), //cpg1.4
-  array('Дозволити зареєстрованим користувачам змінювати свою електронну адресу', 'allow_email_change', 1, 'f=index.htm&amp;as=admin_user_allow_email_change&amp;ae=admin_user_allow_email_change_end'), //cpg1.4
-  array('Дозволити користувачам контролювати їхні фотографії в загальних галереях', 'users_can_edit_pics', 1, 'f=index.htm&amp;as=admin_user_editpics_public_start&amp;ae=admin_user_editpics_public_end'), //cpg1.4
-  array('Кількість невдалих спроб авторизації до тимчасового блокування користувача (щоб уникнути підбору паролів)', 'login_threshold', 0, 'f=index.htm&amp;as=admin_user_login_start&amp;ae=admin_user_login_end'), //cpg1.4
-  array('Тривалість тимчасового блокування після невдалих спроб авторизації', 'login_expiry', 0, 'f=index.htm&amp;as=admin_user_login_start&amp;ae=admin_user_login_end'), //cpg1.4
-  array('Дозволити відсилання скарг адміністратору', 'report_post', 1, 'f=index.htm&amp;as=admin_user_enable_report&amp;ae=admin_user_enable_report_end'),  //cpg1.4
-
-// custom profile fields,  //cpg1.4
-  'Користувацькі поля в профайлі користувача (залишіть порожніми, якщо не використовується).
-  Використовуйте Поле 6 для довгих текстів типу біографій', //cpg1.4
-  array('Назва поля 1', 'user_profile1_name', 0, 'f=index.htm&amp;as=admin_custom&amp;ae=admin_custom_end'), //cpg1.4
-  array('Назва поля 2', 'user_profile2_name', 0), //cpg1.4
-  array('Назва поля 3', 'user_profile3_name', 0), //cpg1.4
-  array('Назва поля 4', 'user_profile4_name', 0), //cpg1.4
-  array('Назва поля 5', 'user_profile5_name', 0), //cpg1.4
-  array('Назва поля 6', 'user_profile6_name', 0), //cpg1.4
-
-  'Користувацькі поля в описі фотографії (залишіть порожніми, якщо не використовується)',
-  array('Назва поля 1', 'user_field1_name', 0, 'f=index.htm&amp;as=admin_custom_image&amp;ae=admin_custom_image_end'), //cpg1.4
-  array('Назва поля 2', 'user_field2_name', 0),
-  array('Назва поля 3', 'user_field3_name', 0),
-  array('Назва поля 4', 'user_field4_name', 0),
-
-  'Коржики',
-  array('Назва коржика', 'cookie_name', 0, 'f=index.htm&amp;as=admin_cookie_name&amp;ae=admin_cookie_name_end'), //cpg1.4
-  array('Шлях коржика', 'cookie_path', 0, 'f=index.htm&amp;as=admin_cookie_path&amp;ae=admin_cookie_path_end'), //cpg1.4
-
-  'Налаштування електронної пошти (як правило тут нічого міняти не треба; залишіть все пустим, якщо не впевнені)', //cpg1.4
-  array('SMTP хост (якщо залишено пустим, буде використано sendmail)', 'smtp_host', 0, 'f=index.htm&amp;as=admin_email&amp;ae=admin_email_end'), //cpg1.4
-  array('Користувач SMTP', 'smtp_username', 0), //cpg1.4
-  array('Пароль SMTP', 'smtp_password', 0), //cpg1.4
-
-  'Журнали і статистика', //cpg1.4
-  array('Режим журналювання <a href="#notice3" class="clickable_option">***</a>', 'log_mode', 11, 'f=index.htm&amp;as=admin_logging_log_mode&amp;ae=admin_logging_log_mode_end'), //cpg1.4
-  array('Журналювати електронні листівки', 'log_ecards', 1, 'f=index.htm&amp;as=admin_general_log_ecards&amp;ae=admin_general_log_ecards_end'), //cpg1.4
-  array('Зберігати детальну статистику про голосування','vote_details',1, 'f=index.htm&amp;as=admin_logging_votedetails&amp;ae=admin_logging_votedetails_end'), //cpg1.4
-  array('Зберігати детальну статистику відвідувань','hit_details',1, 'f=index.htm&amp;as=admin_logging_hitdetails&amp;ae=admin_logging_hitdetails_end'), //cpg1.4
-
-  'Підтримка', //cpg1.4
-  array('Включити режим відлагодження', 'debug_mode', 9, 'f=index.htm&amp;as=debug_mode&amp;ae=debug_mode_end'), //cpg1.4
-  array('Показувати повідомлення у режимі відлагоджування', 'debug_notice', 1, 'f=index.htm&amp;as=admin_misc_debug_notices&amp;ae=admin_misc_debug_notices_end'), //cpg1.4
-  array('Галерея зараз відключена', 'offline', 1, 'f=index.htm&amp;as=admin_general_offline&amp;ae=admin_general_offline_end'), //cpg1.4
-);
-
-
-// ------------------------------------------------------------------------- //
-// File db_ecard.php
-// ------------------------------------------------------------------------- //
-
-if (defined('DB_ECARD_PHP')) $lang_db_ecard_php = array(
-  'title' => 'Надіслати листівку',
-  'ecard_sender' => 'Відправник',
-  'ecard_recipient' => 'Отримувач',
-  'ecard_date' => 'Дата',
-  'ecard_display' => 'Показати листівку',
-  'ecard_name' => 'Назва листівки',
-  'ecard_email' => 'Email',
-  'ecard_ip' => 'IP #',
-  'ecard_ascending' => 'за зростанням',
-  'ecard_descending' => 'за спаданням',
-  'ecard_sorted' => 'Сортовано',
-  'ecard_by_date' => 'за датою',
-  'ecard_by_sender_name' => 'за іменем відправника',
-  'ecard_by_sender_email' => 'за Email відправника',
-  'ecard_by_sender_ip' => 'за IP адресою відправника',
-  'ecard_by_recipient_name' => 'за іменем отримувача',
-  'ecard_by_recipient_email' => 'за Email отримувача',
-  'ecard_number' => 'показано записи від %s до %s із %s',
-  'ecard_goto_page' => 'на сторінку',
-  'ecard_records_per_page' => 'Записів на сторінку',
-  'check_all' => 'Відмітити всі',
-  'uncheck_all' => 'Зняти всі відмітки',
-  'ecards_delete_selected' => 'Витерти вибрані листівки',
-  'ecards_delete_confirm' => 'Ви впевнені, що хочете витерти ці листівки? Поставте галочку для підтвердження!',
-  'ecards_delete_sure' => 'Я впевнений',
-);
-
-
-// ------------------------------------------------------------------------- //
-// File db_input.php
-// ------------------------------------------------------------------------- //
-
-if (defined('DB_INPUT_PHP')) $lang_db_input_php = array(
-  'empty_name_or_com' => 'Ви повинні набрати ваше ім`я та коментар',
-  'com_added' => 'Ваш коментар долучено',
-  'alb_need_title' => 'Вкажіть назву альбому!',
-  'no_udp_needed' => 'Оновлення не потрібне.',
-  'alb_updated' => 'Альбом оновлено',
-  'unknown_album' => 'Обраний альбом не існує, або Ви не маєте повноважень для долучення фото до цього альбому',
-  'no_pic_uploaded' => 'Фото не долучено!<br /><br />Перевірте сервер на можливість долучення фото!',
-  'err_mkdir' => 'Помилка при створенні папки %s !',
-  'dest_dir_ro' => 'Папка призначення %s є тільки для читання (для скрипта)!',
-  'err_move' => 'Неможливо перемістити %s в %s !',
-  'err_fsize_too_large' => 'Розмір фото, яке ви долучаєте, завеликий (максимальний: %s x %s) !', //obsolete since cpg1.3 - consider removal in cpg1.4 once upload.php has been overhauled
-  'err_imgsize_too_large' => 'Розмір файлу, який ви долучаєте, завеликий (максимальний: %s Kб) !', //obsolete since cpg1.3 - consider removal in cpg1.4 once upload.php has been overhauled
-  'err_invalid_img' => 'Файл, який ви долучаєте, не виглядає правильним малюнком !',
-  'allowed_img_types' => 'Ви можете долучити тільки %s фото.',
-  'err_insert_pic' => 'Фото \'%s\' не може бути долучене до альбому ',
-  'upload_success' => 'Фото долучено.<br /><br />Після перевірки адміністратором воно з`явиться в альбомі.',
-  'notify_admin_email_subject' => '%s - Повідомлення про долучення',
-  'notify_admin_email_body' => 'Нещодавно %s долучив фото яке потребує вашого підтвердження. Відвідайте %s',
-  'info' => 'Інформація',
-  'com_added' => 'Коментар додано',
-  'alb_updated' => 'Альбом оновлено',
-  'err_comment_empty' => 'Ваш коментар порожній !',
-  'err_invalid_fext' => 'Приймаються файли тільки наступних форматів: <br /><br />%s.',
-  'no_flood' => 'Перепрошую, Ви - автор останнього коментаря до цього фото.<br /><br />Відредагуйте попередній коментар, якщо бажаєте його виправити.',
-  'redirect_msg' => 'Вас буде перенаправлено.<br /><br /><br />Тисніть \'ДАЛІ\' якщо сторінка не оновиться автоматично',
-  'upl_success' => 'Ваші фото долучено',
-  'email_comment_subject' => 'Коментар додано до галереї Coppermine',
-  'email_comment_body' => 'Хтось додав коментар до вашої галереї. Читайте його тут ',
-  'album_not_selected' => 'Альбом не вибрано', //cpg1.4
-  'com_author_error' => 'Зареєстрований користувач вже використовує таке псевдо, авторизуйтеся, або використайте інше', //cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File delete.php
-// ------------------------------------------------------------------------- //
-
-if (defined('DELETE_PHP')) $lang_delete_php = array(
-  'caption' => 'Напис',
-  'fs_pic' => 'повний розмір фото',
-  'del_success' => 'успішно видалено',
-  'ns_pic' => 'нормальний розмір фото',
-  'err_del' => 'видалити неможливо',
-  'thumb_pic' => 'слайд',
-  'comment' => 'коментар',
-  'im_in_alb' => 'фото в альбомі',
-  'alb_del_success' => 'Альбом &laquo;%s&raquo; видалено', //cpg1.4
-  'alb_mgr' => 'Керування альбомом',
-  'err_invalid_data' => 'Невірні дані отримано в \'%s\'',
-  'create_alb' => 'Створення альбому \'%s\'',
-  'update_alb' => 'Оновлення альбому \'%s\' з назвою \'%s\' та індексом \'%s\'',
-  'del_pic' => 'Видалити фото',
-  'del_alb' => 'Видалити альбом',
-  'del_user' => 'Видалити користувача',
-  'err_unknown_user' => 'Обраний користувач не існує !',
-  'err_empty_groups' => 'Таблиці груп не існує, або вона порожня!', //cpg1.4
-  'comment_deleted' => 'Коментар було видалено',
-  'npic' => 'Фото', //cpg1.4
-  'pic_mgr' => 'Керування Фото', //cpg1.4
-  'update_pic' => 'Оновлення фото \'%s\' з назвою \'%s\' та індексом \'%s\'', //cpg1.4
-  'username' => 'Користувач', //cpg1.4
-  'anonymized_comments' => '%s коментар(ів) анонімізовано', //cpg1.4
-  'anonymized_uploads' => '%s публічних долучень анонімізовано', //cpg1.4
-  'deleted_comments' => '%s коментар(ів) видалено', //cpg1.4
-  'deleted_uploads' => '%s публічних долучень видалено', //cpg1.4
-  'user_deleted' => 'користувача %s видалено', //cpg1.4
-  'activate_user' => 'Активувати користувача', //cpg1.4
-  'user_already_active' => 'Користувач вже був активним', //cpg1.4
-  'activated' => 'Активовано', //cpg1.4
-  'deactivate_user' => 'Деактивувати користувача', //cpg1.4
-  'user_already_inactive' => 'Користувач вже був неактивним', //cpg1.4
-  'deactivated' => 'Деактивовано', //cpg1.4
-  'reset_password' => 'Перевстановити пароль(і)', //cpg1.4
-  'password_reset' => 'Пароль перевстановлено на %s', //cpg1.4
-  'change_group' => 'Змінити первинну групу', //cpg1.4
-  'change_group_to_group' => 'Змінюю з %s на %s', //cpg1.4
-  'add_group' => 'Додати вторинну групу', //cpg1.4
-  'add_group_to_group' => 'Додаю користувача %s до групи %s. Він вже є членом групи %s як первинної та %s вторинної(их).', //cpg1.4
-  'status' => 'Статус', //cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File displayecard.php
-// ------------------------------------------------------------------------- //
-
-if (defined('DISPLAYECARD_PHP')) {
-
-$lang_displayecard_php = array(
-  'invalid_data' => 'Дані листівки, яку ви хочете подивитися, були пошкоджені вашою поштовою програмою. Переконайтеся, що передачу завершено.', //cpg1.4
-);
-}
-
-// ------------------------------------------------------------------------- //
-// File displayimage.php
-// ------------------------------------------------------------------------- //
-
-if (defined('DISPLAYIMAGE_PHP')){
-
-$lang_display_image_php = array(
-  'confirm_del' => 'Ви справді бажаєте видалити це фото? \\nКоментарі теж зникнуть.', //js-alert
-  'del_pic' => 'ВИДАЛИТИ ФОТО',
-  'size' => '%s x %s пікселів',
-  'views' => '%s разів',
-  'slideshow' => 'Слайд-шоу',
-  'stop_slideshow' => 'ЗУПИНИТИ СЛАЙД-ШОУ',
-  'view_fs' => 'Клікніть щоб побачити фото повного розміру',
-  'edit_pic' => 'Редагувати дані фото', //cpg1.4
-  'crop_pic' => 'Обрізання та обертання',
-  'set_player' => 'Змінити програвач',
-);
-
-$lang_picinfo = array(
-  'title' =>'Інформація про фото',
-  'Filename' => 'Файл',
-  'Album name' => 'Альбом',
-  'Rating' => 'Рейтинг (%s голосів)',
-  'Keywords' => 'Ключові слова',
-  'File Size' => 'Розмір файлу',
-  'Date Added' => 'Дата долучення', //cpg1.4
-  'Dimensions' => 'Розміри',
-  'Displayed' => 'Переглядів',
-  'URL' => 'URL', //cpg1.4
-  'Make' => 'Виробник', //cpg1.4
-  'Model' => 'Модель', //cpg1.4
-  'DateTime' => 'Дата і час', //cpg1.4
-  'ISOSpeedRatings'=>'ISO', //cpg1.4
-  'MaxApertureValue' => 'Світлосила об`єктива', //cpg1.4
-  'FocalLength' => 'Фокусна відстань', //cpg1.4
-  'Comment' => 'Коментар',
-  'addFav'=>'Долучити до вибраних',
-  'addFavPhrase'=>'Вибрані',
-  'remFav'=>'Видалити з вибраних',
-  'iptcTitle'=>'IPTC назва',
-  'iptcCopyright'=>'IPTC Copyright',
-  'iptcKeywords'=>'IPTC ключові слова',
-  'iptcCategory'=>'IPTC Категорія',
-  'iptcSubCategories'=>'IPTC Підкатегорії',
-  'ColorSpace' => 'Простір кольорів', //cpg1.4
-  'ExposureProgram' => 'Програма експозиції', //cpg1.4
-  'Flash' => 'Спалах', //cpg1.4
-  'MeteringMode' => 'Режим заміру експозиції', //cpg1.4
-  'ExposureTime' => 'Витримка', //cpg1.4
-  'ExposureBiasValue' => 'Експокорекція', //cpg1.4
-  'ImageDescription' => ' Опис фото', //cpg1.4
-  'Orientation' => 'Орієнтація', //cpg1.4
-  'xResolution' => 'Роздільна здатність по X', //cpg1.4
-  'yResolution' => 'Роздільна здатність по Y', //cpg1.4
-  'ResolutionUnit' => 'Одинця виміру роздільної здатності', //cpg1.4
-  'Software' => 'Програмне забезпечення', //cpg1.4
-  'YCbCrPositioning' => 'YCbCrPositioning', //cpg1.4
-  'ExifOffset' => 'Зміщення Exif', //cpg1.4
-  'IFD1Offset' => 'Зміщення IFD1', //cpg1.4
-  'FNumber' => 'Діафрагма', //cpg1.4
-  'ExifVersion' => 'Версія Exif', //cpg1.4
-  'DateTimeOriginal' => 'Дата і час знімка', //cpg1.4
-  'DateTimedigitized' => 'Дата і час оцифровки', //cpg1.4
-  'ComponentsConfiguration' => 'Кофігурація компонент', //cpg1.4
-  'CompressedBitsPerPixel' => 'Компресованих біт на піксель', //cpg1.4
-  'LightSource' => 'Джерело світла', //cpg1.4
-  'ISOSetting' => 'ISO', //cpg1.4
-  'ColorMode' => 'Режим кольорів', //cpg1.4
-  'Quality' => 'Якість', //cpg1.4
-  'ImageSharpening' => 'Image Sharpening', //cpg1.4
-  'FocusMode' => 'Режим фокусування', //cpg1.4
-  'FlashSetting' => 'Режим спалаху', //cpg1.4
-  'ISOSelection' => 'ISO', //cpg1.4
-  'ImageAdjustment' => 'Підлаштування фото', //cpg1.4
-  'Adapter' => 'Адаптер', //cpg1.4
-  'ManualFocusDistance' => 'Ручна фокусна відстань', //cpg1.4
-  'DigitalZoom' => 'Цифровий зум', //cpg1.4
-  'AFFocusPosition' => 'Точка автофокусування', //cpg1.4
-  'Saturation' => 'Saturation', //cpg1.4
-  'NoiseReduction' => 'Зниження шуму', //cpg1.4
-  'FlashPixVersion' => 'Версія Flash Pix', //cpg1.4
-  'ExifImageWidth' => 'Ширина фото в Exif', //cpg1.4
-  'ExifImageHeight' => 'Висота фото в Exif', //cpg1.4
-  'ExifInteroperabilityOffset' => 'Exif Interoperability Offset', //cpg1.4
-  'FileSource' => 'Джерело файла', //cpg1.4
-  'SceneType' => 'Тип сюжету', //cpg1.4
-  'CustomerRender' => 'Customer Render', //cpg1.4
-  'ExposureMode' => 'Режим заміру експозиції', //cpg1.4
-  'WhiteBalance' => 'Баланс білого', //cpg1.4
-  'DigitalZoomRatio' => 'Кратність цифрового зума', //cpg1.4
-  'SceneCaptureMode' => 'Сюжетний режим', //cpg1.4
-  'GainControl' => 'Gain Control', //cpg1.4
-  'Contrast' => 'Контраст', //cpg1.4
-  'Sharpness' => 'Sharpness', //cpg1.4
-  'ManageExifDisplay' => 'Керування показом Exif', //cpg1.4
-  'submit' => 'Підтвердити', //cpg1.4
-  'success' => 'Інформацію змінено.', //cpg1.4
-  'details' => 'Деталі', //cpg1.4
-);
-
-$lang_display_comments = array(
-  'OK' => 'OK',
-  'edit_title' => 'Редагувати',
-  'confirm_delete' => 'Ви дійсно хочете видалити цей коментар ?', //js-alert
-  'add_your_comment' => 'Додати коментар',
-  'name'=>'Ім`я',
-  'comment'=>'Коментар',
-  'your_name' => 'Анонімно',
-  'report_comment_title' => 'Пожалітися на цей коментар адміністратору', //cpg1.4
-);
-
-$lang_fullsize_popup = array(
-  'click_to_close' => 'Натисніть на зображення, щоб закрити вікно',
-);
-
-}
-
-// ------------------------------------------------------------------------- //
-// File ecard.php
-// ------------------------------------------------------------------------- //
-
-if (defined('ECARDS_PHP') || defined('DISPLAYECARD_PHP')) $lang_ecard_php =array(
-  'title' => 'Надіслати електронну листівку',
-  'invalid_email' => '<font color="red"><b>Увага</b></font>: неправильна електронна адреса:', //cpg1.4
-  'ecard_title' => 'Листівка від %s для вас',
-  'error_not_image' => 'Тільки фото можуть бути надіслані у листівках.',
-  'view_ecard' => 'Надати альтернативне посилання, якщо листівка не показується правильно', //cpg1.4
-  'view_ecard_plaintext' => 'Для того, щоб побачити цю листівку, скопіюйте до вашого інтернет-переглядача наступну адресу:', //cpg1.4
-  'view_more_pics' => 'Подивитися всі фото !', //cpg1.4
-  'send_success' => 'Вашу листівку надіслано',
-  'send_failed' => 'Сервер не може надіслати вашу листівку...',
-  'from' => 'Від',
-  'your_name' => 'Ваше ім`я',
-  'your_email' => 'Ваша електронна адреса',
-  'to' => 'Кому',
-  'rcpt_name' => 'Ім`я отримувача',
-  'rcpt_email' => 'Електронна адреса отримувача',
-  'greetings' => 'Привітання', //cpg1.4
-  'message' => 'Повідомлення', //cpg1.4
-  'ecards_footer' => 'Відіслано %s з IP адреси %s о %s (час сайту галереї)', //cpg1.4
-  'preview' => 'Попередній перегляд листівки', //cpg1.4
-  'preview_button' => 'Попередній перегляд', //cpg1.4
-  'submit_button' => 'Послати листівку', //cpg1.4
-  'preview_view_ecard' => 'Таким буде альтернативне посилання на листівку, після того як вона буде згенерована. Це посилання не працює поки листівку не було надіслано.', //cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File report_file.php //cpg1.4
-// ------------------------------------------------------------------------- //
-
-if (defined('REPORT_FILE_PHP') || defined('DISPLAYREPORT_PHP')) $lang_report_php =array(
-  'title' => 'Повідомити адміністратора', //cpg1.4
-  'invalid_email' => '<b>Увага</b> : неправильна електронна адреса !', //cpg1.4
-  'report_subject' => 'Повідомлення %s щодо галереї %s', //cpg1.4
-  'view_report' => 'Альтернативне посилання, якщо повідомлення не показується правильно', //cpg1.4
-  'view_report_plaintext' => 'Щоб побачити повідомлення, скопіюйте до вашого інтернет-переглядача наступну адресу:', //cpg1.4
-  'view_more_pics' => 'Галерея', //cpg1.4
-  'send_success' => 'Ваше повідомлення було переслано', //cpg1.4
-  'send_failed' => 'Сервер не може надіслати ваше повідомлення...', //cpg1.4
-  'from' => 'Від', //cpg1.4
-  'your_name' => 'Ваше ім`я', //cpg1.4
-  'your_email' => 'Ваша адреса', //cpg1.4
-  'to' => 'Кому', //cpg1.4
-  'administrator' => 'Адміністратор/модератор', //cpg1.4
-  'subject' => 'Тема', //cpg1.4
-  'comment_field_name' => 'Повідомлення щодо коментаря "%s"', //cpg1.4
-  'reason' => 'Причина', //cpg1.4
-  'message' => 'Повідомлення', //cpg1.4
-  'report_footer' => 'Вислано %s з IP адреси %s о %s (час сайту галереї)', //cpg1.4
-  'obscene' => 'непристойний', //cpg1.4
-  'offensive' => 'образливий', //cpg1.4
-  'misplaced' => 'не по темі', //cpg1.4
-  'missing' => 'відсутній', //cpg1.4
-  'issue' => 'помилка/не можу побачити', //cpg1.4
-  'other' => 'інше', //cpg1.4
-  'refers_to' => 'Повідомлення стосується', //cpg1.4
-  'reasons_list_heading' => 'причини повідомлення:', //cpg1.4
-  'no_reason_given' => 'причину не вказано', //cpg1.4
-  'go_comment' => 'Перейти до коментаря', //cpg1.4
-  'view_comment' => 'Показати повний звіт про коментар', //cpg1.4
-  'type_file' => 'файл', //cpg1.4
-  'type_comment' => 'коментар', //cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File editpics.php
-// ------------------------------------------------------------------------- //
-
-if (defined('EDITPICS_PHP')) $lang_editpics_php = array(
-  'pic_info' => 'Інформація про фото',
-  'album' => 'Альбом',
-  'title' => 'Назва',
-  'filename' => 'Назва файлу', //cpg1.4
-  'desc' => 'Опис',
-  'keywords' => 'Keywords',
-  'new_keyword' => 'Ключові слова', //cpg1.4
-  'new_keywords' => 'Знайдено нові ключові слова', //cpg1.4
-  'existing_keyword' => 'Існуючі ключові слова', //cpg1.4
-  'pic_info_str' => '%s &times; %s - %s KB - %s переглядів - %s голосів',
-  'approve' => 'Схвалити фото',
-  'postpone_app' => 'Відхилити схвалення',
-  'del_pic' => 'Видалити фото',
-  'del_all' => 'Видалити ВСІ фото', //cpg1.4
-  'read_exif' => 'Перечитати інформацію EXIF',
-  'reset_view_count' => 'Скинути лічильник переглядів',
-  'reset_all_view_count' => 'Скинути ВСІ лічильники переглядів', //cpg1.4
-  'reset_votes' => 'Вилучити голоси',
-  'reset_all_votes' => 'Вилучити ВСІ голоси', //cpg1.4
-  'del_comm' => 'Вилучити коментар',
-  'del_all_comm' => 'Вилучити ВСІ коментарі', //cpg1.4
-  'upl_approval' => 'Схвалити фото', //cpg1.4
-  'edit_pics' => 'Редагувати фото',
-  'see_next' => 'Переглянути наступні фото',
-  'see_prev' => 'Переглянути попередні фото',
-  'n_pic' => '%s фото',
-  'n_of_pic_to_disp' => 'Кількість фото на сторінку',
-  'apply' => 'Застосувати зміни',
-  'crop_title' => 'Редагування фото',
-  'preview' => 'Попередній перегляд',
-  'save' => 'Зберегти зміни',
-  'save_thumb' =>'Зберегти слайд',
-  'gallery_icon' => 'Встановити це як мій аватар', //cpg1.4
-  'sel_on_img' =>'Область повинна повністю бути в межах малюнка!', //js-alert
-  'album_properties' =>'Властивості альбому', //cpg1.4
-  'parent_category' =>'Категорія вищого рівня', //cpg1.4
-  'thumbnail_view' =>'Перегляд слайдів', //cpg1.4
-  'select_unselect' =>'вибрати все/зняти виділення', //cpg1.4
-  'file_exists' => "Цільовий файл '%s' вже існує.", //cpg1.4
-  'rename_failed' => "Не можу переіменувати '%s' на '%s'.", //cpg1.4
-  'src_file_missing' => "Файл '%s' не існує.", // cpg 1.4
-  'mime_conv' => "Не можу перетворити файл з '%s' у '%s'",//cpg1.4
-  'forb_ext' => 'Заборонене розширення файла.',//cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File faq.php
-// ------------------------------------------------------------------------- //
-
-if (defined('FAQ_PHP')) $lang_faq_php = array(
-  'faq' => 'ЧАсті ПИтання',
-  'toc' => 'Зміст',
-  'question' => 'Питання: ',
-  'answer' => 'Відповідь: ',
-);
-
-if (defined('FAQ_PHP')) $lang_faq_data = array(
-  'Загальні ЧАПи',
-  array('Чому я повинен реєструватися?', 'Реєстрація може бути, а може не бути обов`язковою, залежно від рішення адміністратора галереї. Реєстрація дає користувачеві додаткові можливості - такі, як долучення файлів, списки вибраних фото, голосування на написання відгуків.', 'allow_user_registration', '1'),
-  array('Як мені зареєструватися?', 'Перейдіть на сторінку &quot;Реєстрація&quot; і заповніть обов`язкові поля (і необов`язкові, якщо маєте бажання).<br />Якщо адміністрація вимагає підтвердження реєстрації електронною поштою, ви повинні отримати листа на адресу, що була введена під час реєстрації, з настановами щодо наступних кроків, необхідних для активування вашого членства. Після такого активування ви зможете увійти в систему.', 'allow_user_registration', '1'), //cpg1.4
-  array('Як увійти в систему?', 'Перейдіть на сторінку &quot;Вхід&quot;, введіть ваше ім`я користувача і пароль та поставте галочку &quot;Запам`ятати мене&quot; щоб наступного разу галерея впізнала вас.<br /><b>ВАЖЛИВО: ваш переглядач тенет повинен приймати коржики, і коржик галереї не повинен вилучатися для того, щоб опція &quot;Запам`ятати мене&quot; працювала.</b>', 'offline', 0),
-  array('Чому мене не пускає в систему?', 'Чи ви зареєструвалися і запустили посилання з листа, відісланого на вашу адресу? Це посилання активує вашу реєстрацію. У випадку інших проблем з авторизацією звертайтеся до адміністратора.', 'offline', 0),
-  array('Що, якщо я забув пароль?', 'Якщо на цьому сайті є посилання &quot;Я забув пароль&quot; - скористайтеся ним. В інших випадках - звертайтеся до адміністратора.', 'offline', 0),
-  //array('What if I changed my email address?', 'Just simply login and change your email address through &quot;Profile&quot;', 'offline', 0),
-  array('Як додати фото до &quot;Вибраних&quot;?', 'На сторінці з фото натисніть на посилання &quot;інформація про фото&quot; (<img src="images/info.gif" width="16" height="16" border="0" alt="Інформація про фото" />); перейдіть до інформації про фото і натисніть на посилання &quot;Долучити до вибраних&quot;.<br />Адміністратор може бачити &quot;інформацію про фото&quot; зразу.<br />ВАЖЛИВО:ваш переглядач тенет повинен приймати коржики, і коржики галереї не повинні видалятися.', 'offline', 0),
-  array('Як мені оцінити фото?', 'Відкрийте сторінку з великим зображенням та внизу виберіть оцінку.', 'offline', 0),
-  array('Як мені написати коментар до фото?', 'Відкрийте сторінку з великим зображенням та внизу напишіть і коментар.', 'offline', 0),
-  array('Як мені долучити фото?', 'Перейдіть на сторінку &quot;Долучити фото&quot;. Натисніть &quot;Browse,&quot; виберіть файл, який ви хочете закачати, натисніть &quot;Вперед.&quot; Вкажіть назву фото та опис, якщо бажаєте. Натисніть &quot;Вперед&quot;.<br /><br />Крім того, якщо ви раптом користуєтеся <b>Windows XP</b>, ви можете скористатися можливістю долучити один або більше файлів напряму у ваш приватний альбом, використовуючи XP Майстер тенет-публікації.<br />Детальнішу інформацію можна отримати на <a href="xp_publish.php">цій сторінці.</a>', 'allow_private_albums', 1), //cpg1.4
-  array('Куди я можу долучати фото?', 'Ви можете долучати фото до ваших особистих альбомів у &quot;Особисту галерею&quot;. Адміністратор також може дозволити вам долучати фото до альбомів головної галереї.', 'allow_private_albums', 0),
-  array('Файли яких типів і яких розмірів я можу закачувати?', 'Обмеження розмірів та типів файлів (jpg, png, і т.п.) задаються адміністратором.', 'offline', 0),
-  array('Як мені створити, переіменувати чи вилучити альбом у &quot;Особистій галереї&quot;?', 'Перейдіть в режим &quot;Адміністратора&quot;<br />активуйте &quot;Створити/впорядкувати мої альбоми&quot; та натисніть &quot;Новий&quot;. Замініть &quot;Новий альбом&quot; на потрібну назву.<br />Там же ж можна змінити назву або вилучити існуючий альбом.<br />Натисніть &quot;Корегувати мої альбоми&quot;.', 'allow_private_albums', 0),
-  array('Як я можу заборонити користувачам переглядати мої альбоми?', 'Перейдіть в режим &quot;Адміністратора&quot;<br />, активуйте Моя Галерея. В панелі &quot;Редагувати альбом&quot;, виберіть альбом, який ви хочете редагувати.<br />Ви зможете редагувати назву альбому, опис, емблему альбому, заборонити перегляди, оцінювання або коментування.<br />Натисніть &quot;Зберегти зміни&quot;.', 'allow_private_albums', 0),
-  array('Як я можу подивитися альбоми інших користувачів?', 'Перейдіть на сторінку &quot;Список альбомів&quot; та виберіть &quot;Альбоми користувачів&quot;.', 'allow_private_albums', 0),
-  array('Що таке коржики?', 'Коржики це фрагменти тексту, який передається сайтом на ваш комп`ютер для зберігання. <br />Коржики зазвичай використовуються для того, щоб користувач міг покинути сайт а потім повернутися на нього, не виконуючи процедуру входу у систему знову.', 'offline', 0),
-  array('Де я можу отримати цю програму для використання на моєму сайті?', 'Coppermine є вільною мультимедіа галереєю, яка поширюється на умовах ліцензії GNU GPL. Галерея має багато різноманітних можливостей і працює на багатьох платформах. Відвідайте <a href="http://coppermine-gallery.net/">Домашню Сторінку Coppermine</a> для детальнішої інформації та для отримання коду.', 'offline', 0),
-
-  'Переміщення по сайту',
-  array('Що таке &quot;Список альбомів&quot;?', 'Ця сторінка покаже вам список всіх альбомів для поточної категорії. Якщо жодна категорія не вибрана, буде показано список категорій всієї галереї. Слайди можуть бути посиланням на категорію.', 'offline', 0),
-  array('Що таке &quot;Моя галерея&quot;?', 'Ця річ дає можливість користувачам створювати власні галереї та додавати, вилучати або змінювати альбоми та фотографії в них за власним бажанням.', 'allow_private_albums', 1), //cpg1.4
-  array('Яка різниця між &quot;Режимом користувача&quot; та &quot;режимом адміністратора&quot;?', 'Режим адміністратора має спеціальні засоби для керування особистими галереями (а також іншими, якщо це дозволено адміністратором).', 'allow_private_albums', 0),
-  array('Що таке &quot;Долучити фото&quot;?', 'Ця сторінка дозволяє користувачам долучати свої фото до вибраної галереї (обмеження по розміру та дисковому простору виставляється адміністратором).', 'allow_private_albums', 0),
-  array('Що таке &quot;Останні долучення&quot;?', 'Ця сторінка показує останні фото, що були долучені до галереї.', 'offline', 0),
-  array('Що таке &quot;Останні коментарі&quot;?', 'Ця сторінка показує останні коментарі, що були додані користувачами.', 'offline', 0),
-  array('Що таке &quot;Популярні&quot;?', 'Ця сторінка показує фото, які переглядалися найбільше (враховуючи як анонімних, так і зареєстрованих користувачів).', 'offline', 0),
-  array('Що таке &quot;Кращі за рейтингом&quot;?', 'Ця сторінка показує фото, які набрали найбільше балів згідно оцінок користувачів, при цьому показується середній бал (тобто якщо 5 користувачів поставили оцінку <img src="images/rating3.gif" width="65" height="14" border="0" alt="" />: середньою оцінкою буде також <img src="images/rating3.gif" width="65" height="14" border="0" alt="" /> ; Якщо 5 користувачів дали оцінки від 1 до 5 (1,2,3,4,5), середній бал буде<img src="images/rating3.gif" width="65" height="14" border="0" alt="" /> .)<br />Оцінки можуть бути від <img src="images/rating5.gif" width="65" height="14" border="0" alt="best" /> (найвища) до <img src="images/rating0.gif" width="65" height="14" border="0" alt="worst" /> (найнижча).', 'offline', 0),
-  array('Що таке &quot;Вибрані&quot;?', 'На цій сторінці показуються улюблені фото користувача, які були вибрані ним під час переглядання галереї. Інформація про вибрані фото зберігається в коржиках на комп`ютері користувача.', 'offline', 0),
-);
-
-
-// ------------------------------------------------------------------------- //
-// File forgot_passwd.php
-// ------------------------------------------------------------------------- //
-
-if (defined('FORGOT_PASSWD_PHP')) $lang_forgot_passwd_php = array(
-  'forgot_passwd' => 'Нагадування пароля',
-  'err_already_logged_in' => 'Ви вже авторизовані !',
-  'enter_email' => 'Введіть вашу Email адресу', //cpg1.4
-  'submit' => 'OK',
-  'illegal_session' => 'Сесія відновлення пароля неправильна або застаріла.', //cpg1.4
-  'failed_sending_email' => 'Лист з нагадуванням пароля не може бути відіслано !',
-  'email_sent' => 'Листа з вашим іменем користувача і паролем було надіслано на адресу %s', //cpg1.4
-  'verify_email_sent' => 'Листа було надіслано на адресу %s. Будь ласка перегляньте вашу пошту для завершення процесу.', //cpg1.4
-  'err_unk_user' => 'Вибраний користувач не існує!',
-  'account_verify_subject' => '%s - Вимога нового пароля', //cpg1.4
-  'account_verify_body' => 'Ви замовили новий пароль. Якщо ви хочете, щоб його було згенеровано і надіслано вам, активуйте наступне посилання:
-
-%s', //cpg1.4
-  'passwd_reset_subject' => '%s - ваш новий пароль', //cpg1.4
-  'passwd_reset_body' => 'Ось новий пароль, що ви замовили:
-Користувач: %s
-Пароль: %s
-Натисніть %s для входу.', //cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File groupmgr.php
-// ------------------------------------------------------------------------- //
-
-if (defined('GROUPMGR_PHP')) $lang_groupmgr_php = array(
-  'group_name' => 'Група', //cpg1.4
-  'permissions' => 'Права', //cpg1.4
-  'public_albums' => 'Долучення в публічні альбоми', //cpg1.4
-  'personal_gallery' => 'Особиста галерея', //cpg1.4
-  'upload_method' => 'Метод долучення файлів', //cpg1.4
-  'disk_quota' => 'Квота', //cpg1.4
-  'rating' => 'Рейтинг', //cpg1.4
-  'ecards' => 'Електронна листівка', //cpg1.4
-  'comments' => 'Коментарі', //cpg1.4
-  'allowed' => 'Дозволено', //cpg1.4
-  'approval' => 'Затверджено', //cpg1.4
-  'boxes_number' => 'Кількість полів для вводу', //cpg1.4
-  'variable' => 'змінна', //cpg1.4
-  'fixed' => 'постійна', //cpg1.4
-  'apply' => 'Застосувати зміни',
-  'create_new_group' => 'Створити нову групу',
-  'del_groups' => 'Видалити вибрані групи',
-  'confirm_del' => 'Увага, при видаленні групи, користувачі, що до неї належали будуть переведені до групи \'Зареєстровані\' !\n\nПродовжити ?', //js-alert
-  'title' => 'Керування групами користувачів',
-  'num_file_upload' => 'Полів для долучення файлів', //cpg1.4
-  'num_URI_upload' => 'Полів для долучення URI', //cpg1.4
-  'reset_to_default' => 'Відновити стандартну назву (%s) - рекомендовано!', //cpg1.4
-  'error_group_empty' => 'Список груп був порожній !<br /><br />Типові групи створено, будь ласка перезавантажте цю сторінку', //cpg1.4
-  'explain_greyed_out_title' => 'Чому цей рядок засірено?', //cpg1.4
-  'explain_guests_greyed_out_text' => 'Ви не можете змінювати налаштування цієї групи бо  ви встановили опцію &quot; Дозволити доступ неавторизованим користувачам (гостям або анонімним)&quot; в &quot;Ні&quot; на сторінці налаштувань. Всі гості (члени групи %s) не можуть робити нічого крім входу в систему; тому налаштування групи є для них недоступними.', //cpg1.4
-  'explain_banned_greyed_out_text' => 'Ви не можете змінювати налаштування групи %s тому, що її члени все одно не можуть нічого робити.', //cpg1.4
-  'group_assigned_album' => 'приєднані альбоми', //cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File index.php
-// ------------------------------------------------------------------------- //
-
-if (defined('INDEX_PHP')){
-
-$lang_index_php = array(
-  'welcome' => 'Вітаємо !',
-);
-
-$lang_album_admin_menu = array(
-  'confirm_delete' => 'Бажаєте видалити цей альбом? \\nВсі фото і коментарі зникнуть.', //js-alert
-  'delete' => 'ВИДАЛИТИ',
-  'modify' => 'НАЛАШТУВАННЯ',
-  'edit_pics' => 'РЕДАГУВАТИ',
-);
-
-$lang_list_categories = array(
-  'home' => 'Початок',
-  'stat1' => '<b>[pictures]</b> фото в <b>[albums]</b> альбомах та <b>[cat]</b> категоріях з <b>[comments]</b> коментарями, переглянуто <b>[views]</b> разів',
-  'stat2' => '<b>[pictures]</b> фото в <b>[albums]</b> альбомах переглянуто <b>[views]</b> разів',
-	'xx_s_gallery' => 'Галерея %s\'а',
-  'stat3' => '<b>[pictures]</b> фото в <b>[albums]</b> альбомах <b>[comments]</b> коментарями, переглянуто <b>[views]</b> разів',
-);
-
-$lang_list_users = array(
-  'user_list' => 'Список користувачів',
-  'no_user_gal' => 'Тут немає галерей користувачів',
-  'n_albums' => '%s альбомів',
-  'n_pics' => '%s фото',
-);
-
-$lang_list_albums = array(
-  'n_pictures' => '%s фото',
-  'last_added' => ', останнє долучено %s',
-  'n_link_pictures' => '%s приєднаних фото', //cpg1.4
-  'total_pictures' => '%s фото всього', //cpg1.4
-);
-
-}
-
-// ------------------------------------------------------------------------- //
-// File keywordmgr.php //cpg1.4
-// ------------------------------------------------------------------------- //
-
-if (defined('KEYWORDMGR_PHP')) $lang_keywordmgr_php = array(
-  'title' => 'Керування ключовими словами', //cpg1.4
-  'edit' => 'редагувати', //cpg1.4
-  'delete' => 'стерти', //cpg1.4
-  'search' => 'шукати', //cpg1.4
-  'keyword_test_search' => 'пошук %s у новому вікні', //cpg1.4
-  'keyword_del' => 'витирання ключового слова %s', //cpg1.4
-  'confirm_delete' => 'Ви дійсно хочете витерти ключове слово %s з усієї галереї?', //cpg1.4  // js-alert
-  'change_keyword' => 'змінити ключове слово', //cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File login.php
-// ------------------------------------------------------------------------- //
-
-if (defined('LOGIN_PHP')) $lang_login_php = array(
-  'login' => 'Вхід',
-  'enter_login_pswd' => 'Введіть ім`я та пароль для входу',
-  'username' => 'Користувач',
-  'password' => 'Пароль',
-  'remember_me' => 'Запам`ятати мене',
-  'welcome' => 'Привіт %s ...',
-  'err_login' => '*** Зайти неможливо. Спробуйте ще ***',
-  'err_already_logged_in' => 'Ви вже увійшли!',
-  'forgot_password_link' => 'Я забув пароль',
-  'cookie_warning' => 'Увага! Ваш переглядач не приймає скриптових коржиків!', //cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File logout.php
-// ------------------------------------------------------------------------- //
-
-if (defined('LOGOUT_PHP')) $lang_logout_php = array(
-  'logout' => 'Вихід',
-  'bye' => 'На все добре, %s ...',
-  'err_not_loged_in' => 'Ви не увійшли!',
-);
-
-// ------------------------------------------------------------------------- //
-// File minibrowser.php  //cpg1.4
-// ------------------------------------------------------------------------- //
-
-if (defined('MINIBROWSER_PHP')) $lang_minibrowser_php = array(
-  'close' => 'закрити', //cpg1.4
-  'submit' => 'OK', //cpg1.4
-  'up' => 'на рівень вище', //cpg1.4
-  'current_path' => 'поточний шлях', //cpg1.4
-  'select_directory' => 'виберіть теку', //cpg1.4
-  'click_to_close' => 'Натисніть на фото щоб закрити це вікно',
-);
-
-// ------------------------------------------------------------------------- //
-// File modifyalb.php
-// ------------------------------------------------------------------------- //
-
-if (defined('MODIFYALB_PHP')) $lang_modifyalb_php = array(
-  'upd_alb_n' => 'Оновлення альбому %s',
-  'general_settings' => 'Загальні налаштування',
-  'alb_title' => 'Назва альбому',
-  'alb_cat' => 'Категорія альбому',
-  'alb_desc' => 'Опис альбому',
-  'alb_keyword' => 'Ключове слово альбому', //cpg1.4
-  'alb_thumb' => 'Лого альбому',
-  'alb_perm' => 'Права доступу до альбому',
-  'can_view' => 'Альбом можна переглянути',
-  'can_upload' => 'Відвідувачі можуть долучати фото',
-  'can_post_comments' => 'Відвідувачі можуть залишати коментарі',
-  'can_rate' => 'Відвідувачі можуть оцінювати фото',
-  'user_gal' => 'Галерея користувачів',
-  'no_cat' => '* Немає категорії *',
-  'alb_empty' => 'Альбом порожній',
-  'last_uploaded' => 'Останні долучення',
-  'public_alb' => 'Публічний альбом',
-  'me_only' => 'Тільки я',
-  'owner_only' => 'Тільки власник альбому (%s)',
-  'groupp_only' => 'Члени групи \'%s\'',
-  'err_no_alb_to_modify' => 'В базі даних немає альбомів, які б Ви могли корегувати.',
-  'update' => 'Оновити альбом',
-  'reset_album' => 'Встановити типові налаштування альбому', //cpg1.4
-  'reset_views' => 'Онулити лічильник переглядів для %s', //cpg1.4
-  'reset_rating' => 'Очистити голоси для всіх файлів %s', //cpg1.4
-  'delete_comments' => 'Вилучити всі коментарі файлів %s', //cpg1.4
-  'delete_files' => '%sБезповоротно%s стерти всі файли у %s', //cpg1.4
-  'views' => 'переглядів', //cpg1.4
-  'votes' => 'голосів', //cpg1.4
-  'comments' => 'коментарів', //cpg1.4
-  'files' => 'фото', //cpg1.4
-  'submit_reset' => 'зміна долучень', //cpg1.4
-  'reset_views_confirm' => 'Впевнений', //cpg1.4
-  'notice1' => '(*) залежить від налаштувань %s груп %s',  //cpg1.4 //(do not translate %s!)
-  'alb_password' => 'Пароль альбому', //cpg1.4
-  'alb_password_hint' => 'Підказка паролю альбому', //cpg1.4
-  'edit_files' =>'Редагувати фото', //cpg1.4
-  'parent_category' =>'Категорія вищого рівня', //cpg1.4
-  'thumbnail_view' =>'Перегляд слайдів', //cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File phpinfo.php
-// ------------------------------------------------------------------------- //
-
-if (defined('PHPINFO_PHP')) $lang_phpinfo_php = array(
-  'php_info' => 'PHP info',
-  'explanation' => 'Це те, що виводить функція PHP <a href="http://www.php.net/phpinfo">phpinfo()</a>, запущена з Coppermine (можливе обмеження ширини тексту справа).',
-  'no_link' => 'Дозволяти іншим читати вашу сторінку phpinfo є потенційним ризиком, тому ця сторінка є доступною для перегляду лише адміну. Ви не можете дати посилання на цю сторінку іншим - їм буде відмовлено у доступі.',
-);
-
-// ------------------------------------------------------------------------- //
-// File picmgr.php //cpg1.4
-// ------------------------------------------------------------------------- //
-if (defined('PICMGR_PHP')) $lang_picmgr_php = array(
-  'pic_mgr' => 'Керування фото', //cpg1.4
-  'select_album' => 'Вибрати альбом', //cpg1.4
-  'delete' => 'Стерти', //cpg1.4
-  'confirm_delete1' => 'Ви дійсно хочете стерти це фото ?', //cpg1.4
-  'confirm_delete2' => '\nФото буде остаточно вилучено.', //cpg1.4
-  'apply_modifs' => 'Застосувати зміни', //cpg1.4
-  'confirm_modifs' => 'Підтвердіть зміни', //cpg1.4
-  'pic_need_name' => 'Фото потребує назви !', //cpg1.4
-  'no_change' => 'Ви не зробили жодних змін !', //cpg1.4
-  'no_album' => '* Нема альбому *', //cpg1.4
-  'explanation_header' => 'Вільний спосіб сортування який можна задати на цій сторінці буде враховано тільки за умови', //cpg1.4
-  'explanation1' => 'що адміністратор встановив "Типовий спосіб сортування" у налаштуваннях у режим сортування "за порядковим номером" (глобальне налаштування для всіх користувачів, хто не вказав явно бажаний спосіб сортування)', //cpg1.4
-  'explanation2' => 'що користувач вибрав режим сортування "за порядковим номером" на сторінці показу слайдів (налаштовується окремо для кожного користувача)', //cpg1.4
-);
-
-
-// ------------------------------------------------------------------------- //
-// File pluginmgr.php //cpg1.4
-// ------------------------------------------------------------------------- //
-
-if (defined('PLUGINMGR_PHP')){
-
-$lang_pluginmgr_php = array(
-  'confirm_uninstall' => 'Ви дійсно хочете відключити цей плагін', //cpg1.4
-  'confirm_delete' => 'Ви дійсно хочете видалити цей плагін', //cpg1.4
-  'pmgr' => 'Керування плагінами', //cpg1.4
-  'name' => 'Назва', //cpg1.4
-  'author' => 'Автор', //cpg1.4
-  'desc' => 'Опис', //cpg1.4
-  'vers' => 'v', //cpg1.4
-  'i_plugins' => 'Встановлені плагіни', //cpg1.4
-  'n_plugins' => 'Не встановлені плагіни', //cpg1.4
-  'none_installed' => 'Нічого не встановлено', //cpg1.4
-  'operation' => 'Дія', //cpg1.4
-  'not_plugin_package' => 'Закачаний файл не є пакетом плагіна.', //cpg1.4
-  'copy_error' => 'Сталася помилка при копіюванні плагіна у відповідну теку.', //cpg1.4
-  'upload' => 'Закачати', //cpg1.4
-  'configure_plugin' => 'Налаштувати плагін', //cpg1.4
-  'cleanup_plugin' => 'Очистити плагін', //cpg1.4
-);
-}
-
-// ------------------------------------------------------------------------- //
-// File ratepic.php
-// ------------------------------------------------------------------------- //
-
-if (defined('RATEPIC_PHP')) $lang_rate_pic_php = array(
-  'already_rated' => 'Це фото Ви вже оцінили',
-  'rate_ok' => 'Ваш голос зараховано',
-  'forbidden' => 'Ви не можете оцінювати власні фото.',
-);
-
-// ------------------------------------------------------------------------- //
-// File register.php & profile.php
-// ------------------------------------------------------------------------- //
-
-if (defined('REGISTER_PHP') || defined('PROFILE_PHP')) {
-
-$lang_register_disclamer = <<<EOT
-Хоча адміністратори '<b>{SITE_NAME}</b>' намагатимуться якнайшвидше редагувати будь - який небажаний матеріал все одно неможливо переглядати всі долучення і коментарі. Ви підтверджуєте, що всі повідомлення показують Вашу, а не адміністраторів сайту, позицію.  <br />
-<br />
-Ви обіцяєте не надсилати образливої, брутальної, неправдивої і т.д інформації, і погоджуєтесь з тим, що всі Ваші повідомлення буде записано в базу даних, адміністратори можуть корегувати та видаляти Ваші повідомлення та долучення на свій розсуд. За всі спроби зламати сайт чи базу даних, і за пов`язані з цим втрати інформації, які можуть зашкодити роботі фотогалереї, ні вебмайстер, ні адміністратори відповідальності не несуть.<br />
-<br />
-Галерея використовує технологію 'cookies' для покращення перегляду. Адреса E-mail використовується тільки для підтвердження Ваших реєстраційних даних та паролю.<br />
-<br />
-Натиснувши на "згоден", ви погоджуєтесь з усім вищепереліченим.
-EOT;
-
-$lang_register_php = array(
-  'page_title' => 'Реєстрація користувача',
-  'term_cond' => 'Умови',
-  'i_agree' => 'Згоден',
-  'submit' => 'Продовжити реєстрацію',
-  'err_user_exists' => 'Ім`я користувача вже зайняте. Спробуйте інше!',
-  'err_password_mismatch' => 'Паролі не співпадають, введіть знову',
-  'err_uname_short' => 'Ім`я користувача повинне містити мінімум 2 символи',
-  'err_password_short' => 'Пароль повинен містити мінімум 2 символи',
-  'err_uname_pass_diff' => 'Ім`я користувача та пароль не повинні співпадати',
-  'err_invalid_email' => 'Адресу Email вказано невірно',
-  'err_duplicate_email' => 'Вже хтось зареєструвався з таким Email',
-  'enter_info' => 'Надайте реєстраційну інформацію',
-  'required_info' => 'Необхідна інформація',
-  'optional_info' => 'Додаткова інформація',
-  'username' => 'Користувач',
-  'password' => 'Пароль',
-  'password_again' => 'Повтор паролю',
-  'email' => 'Email',
-  'location' => 'Звідки',
-  'interests' => 'Захоплення',
-  'website' => 'Сайт',
-  'occupation' => 'Чим займаєтеся',
-  'error' => 'ПОМИЛКА',
-  'confirm_email_subject' => '%s - Підтвердження реєстрації',
-  'information' => 'Інформація',
-  'failed_sending_email' => 'Email про підтвердження реєстрації не може бути відправлено!',
-  'thank_you' => 'Дякуємо.<br /><br />На вашу адресу буде надіслано листа з наступними вказівками.',
-  'acct_created' => 'Запис про Вас створено. Ви зможете зайти, користуючись іменем та паролем',
-  'acct_active' => 'Ваш рахунок активовано. Ви зможете зайти, користуючись іменем та паролем',
-  'acct_already_act' => 'Рахунок вже було активовано!', //cpg1.4
-  'acct_act_failed' => 'Цей рахунок не може бути активовано!',
-  'err_unk_user' => 'Обраний користувач не існує!',
-  'x_s_profile' => 'Профіль %s',
-  'group' => 'Група',
-  'reg_date' => 'Дата реєстрації',
-  'disk_usage' => 'Використання диска',
-  'change_pass' => 'Змінити пароль',
-  'current_pass' => 'Теперішній пароль',
-  'new_pass' => 'Новий пароль',
-  'new_pass_again' => 'Новий пароль (ще раз)',
-  'err_curr_pass' => 'Теперішній пароль - невірний',
-  'apply_modif' => 'Застосувати зміни',
-  'change_pass' => 'Змінити мій пароль',
-  'update_success' => 'Ваш профіль оновлено',
-  'pass_chg_success' => 'Ваш пароль змінено',
-  'pass_chg_error' => 'Ваш пароль не змінено',
-  'notify_admin_email_subject' => '%s - повідомлення про реєстрацію',
-  'last_uploads' => 'Останнє долучення.<br />Натисніть тут, щоб побачити всі долучення', //cpg1.4
-  'last_comments' => 'Останній коментар.<br />Натисніть тут, щоб побачити всі коментарі', //cpg1.4
-  'notify_admin_email_body' => 'Новий користувач "%s" зареєструвався у вашій галереї',
-  'pic_count' => 'Фото долучено', //cpg1.4
-  'notify_admin_request_email_subject' => '%s - прохання про реєстрацію', //cpg1.4
-  'thank_you_admin_activation' => 'Дякуємо.<br /><br />Ваше прохання про реєстрацію було надіслано адміністратору. Після затвердження ви отримаєте листа.', //cpg1.4
-  'acct_active_admin_activation' => 'Реєстрацію затверджено і листа відправлено користувачеві.', //cpg1.4
-  'notify_user_email_subject' => '%s - повідомлення про затвердження реєстрації', //cpg1.4
-);
-
-$lang_register_confirm_email = <<<EOT
-Дякуємо за реєстрацію на {SITE_NAME}
-
-Ваше ім`я  : "{USER_NAME}"
-Ваш пароль: "{PASSWORD}"
-
-Щоб активувати ваш рахунок, натисніть на посилання наведене нижче, або скопіюйте його до переглядача тенет.
-
-<a href="{ACT_LINK}">{ACT_LINK}</a>
-
-З повагою,
-
-Адміністрація {SITE_NAME}
-
-EOT;
-
-$lang_register_approve_email = <<<EOT
-Новий користувач "{USER_NAME}" зареєструвався у вашій галереї.
-
-Для того, щоб активувати його реєстрацію, натисніть на посилання наведене нижче, або скопіюйте його до переглядача тенет.
-
-<a href="{ACT_LINK}">{ACT_LINK}</a>
-
-З повагою,
-Ваша галерея
-
-EOT;
-
-$lang_register_activated_email = <<<EOT
-Вашу реєстрацію було затверджено
-
-Тепер ви можете увійти в галерею <a href="{SITE_LINK}">{SITE_LINK}</a> під іменем  "{USER_NAME}"
-
-З повагою,
-
-Адміністрація {SITE_NAME}
-
-EOT;
-}
-
-// ------------------------------------------------------------------------- //
-// File reviewcom.php
-// ------------------------------------------------------------------------- //
-
-if (defined('REVIEWCOM_PHP')) $lang_reviewcom_php = array(
-  'title' => 'Перевірка коментарів',
-  'no_comment' => 'Тут немає коментарів для перевірки',
-  'n_comm_del' => '%s коментарів видалено',
-  'n_comm_disp' => 'Кількість коментарів для показу',
-  'see_prev' => 'Переглянути попередній',
-  'see_next' => 'Переглянути наступний',
-  'del_comm' => 'Видалити вибрані коментарі',
-  'user_name' => 'Ім`я', //cpg1.4
-  'date' => 'Дата', //cpg1.4
-  'comment' => 'Коментар', //cpg1.4
-  'file' => 'Фото', //cpg1.4
-  'name_a' => 'Ім`я користувача за зростанням', //cpg1.4
-  'name_d' => 'Ім`я користувача за спаданням', //cpg1.4
-  'date_a' => 'Дата за зростанням', //cpg1.4
-  'date_d' => 'Дата за спаданням', //cpg1.4
-  'comment_a' => 'Коментар за зростанням', //cpg1.4
-  'comment_d' => 'Коментар за спаданням', //cpg1.4
-  'file_a' => 'Фото за зростанням', //cpg1.4
-  'file_d' => 'Фото за спаданням', //cpg1.4
-);
-
-
-// ------------------------------------------------------------------------- //
-// File search.php                                                           //
-// ------------------------------------------------------------------------- //
-
-
-if (defined('SEARCH_PHP')){
-
-$lang_search_php = array(
-  'title' => 'Пошук у колекції фото', //cpg1.4
-  'submit_search' => 'пошук', //cpg1.4
-  'keyword_list_title' => 'Список ключових слів', //cpg1.4
-  'keyword_msg' => 'Цей список не покриває всі варіанти. Він не включає слова з назв та описів фото. Спробуйте пошук по всьому тексту.',  //cpg1.4
-  'edit_keywords' => 'Редагувати ключові слова', //cpg1.4
-  'search in' => 'Пошук у:', //cpg1.4
-  'ip_address' => 'IP адреса', //cpg1.4
-  'fields' => 'Пошук у', //cpg1.4
-  'age' => 'Давність', //cpg1.4
-  'newer_than' => 'Новіші, ніж', //cpg1.4
-  'older_than' => 'Старіші, ніж', //cpg1.4
-  'days' => 'днів', //cpg1.4
-  'all_words' => 'Шукати всі слова (І - AND)', //cpg1.4
-  'any_words' => 'Шукати будь-яке слово (АБО - OR)', //cpg1.4
-);
-
-$lang_adv_opts = array(
-  'title' => 'Назва', //cpg1.4
-  'caption' => 'Напис', //cpg1.4
-  'keywords' => 'Ключові слова', //cpg1.4
-  'owner_name' => 'Власник', //cpg1.4
-  'filename' => 'Назва файла', //cpg1.4
-);
-
-}
-
-// ------------------------------------------------------------------------- //
-// File searchnew.php
-// ------------------------------------------------------------------------- //
-
-if (defined('SEARCHNEW_PHP')) $lang_search_new_php = array(
-  'page_title' => 'Шукати нові фото',
-  'select_dir' => 'Вибрати теку',
-  'select_dir_msg' => 'Ця функція дозволяє долучати фото, що ви закачали на сайт по FTP в \'пакетному режимі\'.<br /><br />Оберіть теку з вашими фото.', //cpg1.4
-  'no_pic_to_add' => 'Немає фото для долучення',
-  'need_one_album' => 'Для використання цієї функції Вам потрібен щонайменше один альбом',
-  'warning' => 'Увага',
-  'change_perm' => 'скрипт не може записати дані до папки. Змініть права доступу на 755 чи 777 перед спробою долучити фото!',
-  'target_album' => '<b>Перемістити фото з &quot;</b>%s<b>&quot; до </b>%s',
-  'folder' => 'Тека',
-  'image' => 'Фото',
-  'album' => 'Альбом',
-  'result' => 'Результат',
-  'dir_ro' => 'Тільки для читання. ',
-  'dir_cant_read' => 'Неможливо прочитати. ',
-  'insert' => 'Долучення нових фото до галереї',
-  'list_new_pic' => 'Список нових фото',
-  'insert_selected' => 'Долучити вибрані фото',
-  'no_pic_found' => 'Нових фото не знайдено',
-  'be_patient' => 'Для долучення фото потрібно трохи часу. Зачекайте.',
-  'no_album' => 'альбом не вибрано',
-  'result_icon' => 'натисніть для детальнішої інформації або для перевантаження',  //cpg1.4
-  'notes' =>  '<ul>'.
-                          '<li><b>OK</b> : означає, що фото долучено'.
-                          '<li><b>DP</b> : означає, що таке фото вже є в базі'.
-                          '<li><b>PB</b> : означає, що фото не долучено. Варто перевірити  дозволи на налаштування в папках, де знаходиться фото'.
-                          '<li><b>NA</b> : означає, що ви не вибрали альбому куди треба було додати фото, натисніть \'<a href="javascript:history.back(1)">назад</a>\' і виберіть альбом. Якщо у вас нема жодного альбому - <a href="albmgr.php">створіть якийсь спочатку</a></li>'.
-                          '<li>Якщо \'знаки\' OK, DP, PB не з`являються, натисніть на поганому фото, щоб побачити пояснення від PHP'.
-                          '<li>Якщо переглядач каже \'timeout\', натисніть кнопку \'Оновити\' (Refresh)'.
-                          '</ul>',
-  'select_album' => 'вибрати альбом',
-  'check_all' => 'Вибрати всі',
-  'uncheck_all' => 'Скасувати вибір',
-  'no_folders' => 'Тека "albums" поки не містить жодних тек. Створіть хоча б одну теку в "albums" і закачайте свої файли туди. Але ви не повинні завантажувати файли ні у "userpics", ні у "edit", вони зарезервовані для HTTP закачувань і створення проміжних файлів.', //cpg1.4
-   'albums_no_category' => 'Альбом без категорії', //cpg1.4 // album pulldown mod, added by frogfoot
-  'personal_albums' => '* Особисті альбоми', //cpg1.4 // album pulldown mod, added by frogfoot
-  'browse_batch_add' => 'Інтерфейс для перегляду (рекомендується)', //cpg1.4
-  'edit_pics' => 'Редагувати фото', //cpg1.4
-  'edit_properties' => 'Налаштування альбому', //cpg1.4
-  'view_thumbs' => 'Перегляд слайдів', //cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File stat_details.php //cpg1.4
-// ------------------------------------------------------------------------- //
-
-if (defined('STAT_DETAILS_PHP')) $lang_stat_details_php = array(
-  'show_hide' => 'показати/заховати цю колонку', //cpg1.4
-  'vote' => 'Детальніше про голосування', //cpg1.4
-  'hits' => 'Детальніше про перегляди', //cpg1.4
-  'stats' => 'Статистика голосування', //cpg1.4
-  'sdate' => 'Дата', //cpg1.4
-  'rating' => 'Рейтинг', //cpg1.4
-  'search_phrase' => 'Ключова фраза', //cpg1.4
-  'referer' => 'Звідки прийшли', //cpg1.4
-  'browser' => 'Переглядач', //cpg1.4
-  'os' => 'Операційна Система', //cpg1.4
-  'ip' => 'IP', //cpg1.4
-  'sort_by_xxx' => 'Сортувати за %s', //cpg1.4
-  'ascending' => 'зростанням', //cpg1.4
-  'descending' => 'спаданням', //cpg1.4
-  'internal' => 'внутр.', //cpg1.4
-  'close' => 'закрити', //cpg1.4
-  'hide_internal_referers' => 'заховати внутрішні посилання', //cpg1.4
-  'date_display' => 'Показ дати', //cpg1.4
-  'submit' => 'зберегти / оновити', //cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File thumbnails.php
-// ------------------------------------------------------------------------- //
-
-// Void
-
-// ------------------------------------------------------------------------- //
-// File upload.php
-// ------------------------------------------------------------------------- //
-
-if (defined('UPLOAD_PHP')) $lang_upload_php = array(
-  'title' => 'Долучити фото',
-  'custom_title' => 'Налаштування форми завантаження',
-  'cust_instr_1' => 'Ви можете вказати необхідну кількість полів для завантаження на сторінку. Однак вона не повинна перевищувати наступні обмеження.',
-  'cust_instr_2' => 'Запит кількості полів',
-  'cust_instr_3' => 'Поля для вказання файлів: %s',
-  'cust_instr_4' => 'Поля для вказання URI/URL: %s',
-  'cust_instr_5' => 'Поля для вказання URI/URL:',
-  'cust_instr_6' => 'Поля для вказання файлів:',
-  'cust_instr_7' => 'Вкажіть будь ласка кількість полів вводу кожного типу.  Потім натисніть \'Продовжити\'. ',
-  'reg_instr_1' => 'Неправильна дія при створенні форми.',
-  'reg_instr_2' => 'Тепер ви можете долучити файли, використовуючи наступні поля. Розмір кожного файлу, який ви хочете закачати на сервер не повинен перевищувати %s KB . ZIP файли, завантажені через поля \'Долучення файлів\' та \'Долучення URI/URL\' залишаться у стисненому вигляді.',
-  'reg_instr_3' => 'Якщо ви хочете, щоб архіви розпаковувалися перед долученням, використовуйте поля вводу в області \'Долучення із розпакуванням ZIP\'.',
-  'reg_instr_4' => 'Використовуючи секцію долучення URI/URL, вводьте шлях до файла у вигляді: http://www.mysite.com/images/example.jpg',
-  'reg_instr_5' => 'Після заповнення форми натисніть \'Продовжити\'.',
-  'reg_instr_6' => 'Долучення із розпакуванням ZIP:',
-  'reg_instr_7' => 'Долучення файлів:',
-  'reg_instr_8' => 'Долучення URI/URL:',
-  'error_report' => 'Звіт про помилки',
-  'error_instr' => 'Наступні спроби долучення завершилися невдало:',
-  'file_name_url' => 'Назва файлу/URL',
-  'error_message' => 'Помилка',
-  'no_post' => 'Файл не вдалося завантажити через POST.',
-  'forb_ext' => 'Заборонене розширення файла.',
-  'exc_php_ini' => 'Перевищено макс. розмір файлу, заданий у php.ini.',
-  'exc_file_size' => 'Перевищено макс. розмір файлу, заданий у налаштуваннях галереї.',
-  'partial_upload' => 'Завантаження вдалося частково.',
-  'no_upload' => 'Завантаження не відбулося.',
-  'unknown_code' => 'Невідома помилка PHP при завантаженні.',
-  'no_temp_name' => 'Не завантажено - не вдалося згенерувати назву тимчасового файлу.',
-  'no_file_size' => 'Не містить даних або пошкоджений',
-  'impossible' => 'Неможливо перемістити.',
-  'not_image' => 'Не є малюнком або пошкоджений',
-  'not_GD' => 'Тип файла не підтримується GD.',
-  'pixel_allowance' => 'Висота і/або ширина долученого фото перевищує межі встановлені в налаштуваннях галереї.', //cpg1.4
-  'incorrect_prefix' => 'Некоректний префікс URI/URL',
-  'could_not_open_URI' => 'Не можу відкрити URI.',
-  'unsafe_URI' => 'Перевірити безпечність неможливо.',
-  'meta_data_failure' => 'Помилка метаданих',
-  'http_401' => '401 Нема авторизації',
-  'http_402' => '402 Вимагається оплата',
-  'http_403' => '403 Заборонено',
-  'http_404' => '404 Не знайдено',
-  'http_500' => '500 Внутрішня помилка сервера',
-  'http_503' => '503 Сервіс недоступний',
-  'MIME_extraction_failure' => 'MIME тип не може бути визначено.',
-  'MIME_type_unknown' => 'Невідомий тип MIME',
-  'cant_create_write' => 'Не можу створити файл для запису.',
-  'not_writable' => 'Не можу писати у файл збереження.',
-  'cant_read_URI' => 'Не можу читати URI/URL',
-  'cant_open_write_file' => 'Не можу відкрити файл збереження URI.',
-  'cant_write_write_file' => 'Не можу писати у файл збереження URI.',
-  'cant_unzip' => 'Не можу розпакувати.',
-  'unknown' => 'Невідома помилка',
-  'succ' => 'Успішні долучення',
-  'success' => '%s долучень відбулося успішно.',
-  'add' => 'Натисніть \'Вперед\' щоб додати файли до альбомів.',
-  'failure' => 'Помилка закачування',
-  'f_info' => 'Інформація про файл',
-  'no_place' => 'Попередній файл не може бути додано.',
-  'yes_place' => 'Попередній файл було успішно додано.',
-  'max_fsize' => 'Максимальний  розмір файлу: %s KB',
-  'album' => 'Альбом',
-  'picture' => 'Фото',
-  'pic_title' => 'Назва фото',
-  'description' => 'Опис фото',
-  'keywords' => 'Ключові слова (розділені пробілами)<br /><a href="#" onClick="return MM_openBrWindow(\'keyword_select.php\',\'selectKey\',\'width=250, height=400, scrollbars=yes,toolbar=no,status=yes,resizable=yes\')">Вибрати зі списку</a>', //cpg1.4
-  'keywords_sel' =>'Виберіть ключове слово', //cpg1.4
-  'err_no_alb_uploadables' => 'Перепрошую, тут немає альбому, куди б Ви могли долучити фото',
-  'place_instr_1' => 'А тепер розмістіть долучені фото у альбомах.  Ви також можете ввести додаткову інформацію для кожного фото.',
-  'place_instr_2' => 'Ще є фото, які потрібно розмістити. Натисніть \'Продовжити\'.',
-  'process_complete' => 'Ви розмістили всі файли.',
-   'albums_no_category' => 'Альбом без категорії', //cpg1.4. //album pulldown mod, added by frogfoot
-  'personal_albums' => '* Особисті альбоми', //cpg1.4 //album pulldown mod, added by frogfoot
-  'select_album' => 'Вибрати альбом', //cpg1.4 //album pulldown mod, added by frogfoot
-  'close' => 'Закрити', //cpg1.4
-  'no_keywords' => 'Нема ключового слова!', //cpg1.4
-  'regenerate_dictionary' => 'Перегенерувати словник', //cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File usermgr.php
-// ------------------------------------------------------------------------- //
-
-if (defined('USERMGR_PHP')) $lang_usermgr_php = array(
-  'memberlist' => 'Список користувачів', //cpg1.4
-  'user_manager' => 'Керування користувачами', //cpg1.4
-  'title' => 'Керування користувачами',
-  'name_a' => 'Імені [зростання]',
-  'name_d' => 'Імені [спадання]',
-  'group_a' => 'Групі [зростання]',
-  'group_d' => 'Групі [спадання]',
-  'reg_a' => 'Даті реєстрації [зростання]',
-  'reg_d' => 'Даті реєстрації [спадання]',
-  'pic_a' => 'Кількості зображень [зростання]',
-  'pic_d' => 'Кількості зображень [спадання]',
-  'disku_a' => 'Використання диску [зростання]',
-  'disku_d' => 'Використання диску [спадання]',
-  'lv_a' => 'Останньому візиту [зростання]',
-  'lv_d' => 'Останньому візиту [спадання]',
-  'sort_by' => 'Сортувати користувачів по',
-  'err_no_users' => 'Таблиця користувачів порожня!',
-  'err_edit_self' => 'Ви не можете корегувати свій власний профіль, для цього натисніть посилання \'Профіль\'',
-  'edit' => 'КОРЕГУВАТИ', //cpg1.4
-  'with_selected' => 'З вибраними:', //cpg1.4
-  'delete' => 'ВИДАЛИТИ', //cpg1.4
-  'delete_files_no' => 'залишити публічні файли (як анонімні)', //cpg1.4
-  'delete_files_yes' => 'витерти також і публічні файли', //cpg1.4
-  'delete_comments_no' => 'зберегти коментарі (як анонімні)', //cpg1.4
-  'delete_comments_yes' => 'витерти також і коментарі', //cpg1.4
-  'activate' => 'Активувати', //cpg1.4
-  'deactivate' => 'Деактивувати', //cpg1.4
-  'reset_password' => 'Перевстановити пароль', //cpg1.4
-  'change_primary_membergroup' => 'Змінити первинну групу', //cpg1.4
-  'add_secondary_membergroup' => 'Додати до вторинної групи', //cpg1.4
-  'name' => 'Ім`я користувача',
-  'group' => 'Група',
-  'inactive' => 'Неактивний',
-  'operations' => 'Дії',
-  'pictures' => 'Фото',
-  'disk_space_used' => 'Дисковий простір', //cpg1.4
-  'disk_space_quota' => 'Квота', //cpg1.4
-  'registered_on' => 'Реєстрація', //cpg1.4
-  'last_visit' => 'Останній візит',
-  'u_user_on_p_pages' => '%d користувач(ів) на %d сторінці(ах)',
-  'confirm_del' => 'Бажаєте видалити цього користувача? \\nДолучені ним фото та альбоми теж зникнуть.', //js-alert
-  'mail' => 'ПОШТА',
-  'err_unknown_user' => 'Обраний користувач не існує!',
-  'modify_user' => 'Зміна користувача',
-  'notes' => 'Зауваження',
-  'note_list' => '<li>Якщо ви не бажаєте змінювати пароль, залиште поле "пароль" порожнім',
-  'password' => 'Пароль',
-  'user_active' => 'Користувач активний',
-  'user_group' => 'Група',
-  'user_email' => 'Email',
-  'user_web_site' => 'Сайт',
-  'create_new_user' => 'Створити нового користувача',
-  'user_location' => 'Звідки',
-  'user_interests' => 'Захоплення',
-  'user_occupation' => 'Чим займаєтеся',
-  'user_profile1' => '$user_profile1', //cpg1.4
-  'user_profile2' => '$user_profile2', //cpg1.4
-  'user_profile3' => '$user_profile3', //cpg1.4
-  'user_profile4' => '$user_profile4', //cpg1.4
-  'user_profile5' => '$user_profile5', //cpg1.4
-  'user_profile6' => '$user_profile6', //cpg1.4
-  'latest_upload' => 'Останні долучення',
-  'never' => 'ніколи',
-  'search' => 'Пошук користувача', //cpg1.4
-  'submit' => 'ОК', //cpg1.4
-  'search_submit' => 'Шукати', //cpg1.4
-  'search_result' => 'Результати пошуку за: ', //cpg1.4
-  'alert_no_selection' => 'Спочатку виберіть хоча б одного користувача!', //cpg1.4 //js-alert
-  'password' => 'пароль', //cpg1.4
-  'select_group' => 'Виберіть групу', //cpg1.4
-  'groups_alb_access' => 'Регулювання доступу до альбому на рівні групи', //cpg1.4
-  'album' => 'Альбом', //cpg1.4
-  'category' => 'Категорія', //cpg1.4
-  'modify' => 'Змінити?', //cpg1.4
-  'group_no_access' => 'Ця група не має спеціальних прав доступу', //cpg1.4
-  'notice' => 'Попередження', //cpg1.4
-  'group_can_access' => 'Альбом(и) до яких має доступ тільки "%s"', //cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File util.php
-// ------------------------------------------------------------------------- //
-
-if (defined('UTIL_PHP')) {
-$lang_util_desc_php = array(
-'Отримати назви фото з імен файлів', //cpg1.4
-'Очистити назви фото', //cpg1.4
-'Перебудувати слайди та масштабовані фото', //cpg1.4
-'Витерти початкову версію фото, замінивши його на змінену версію', //cpg1.4
-'Витерти початкові та проміжні фото щоб звільнити місце', //cpg1.4
-'Вилучити неприв`язані коментарі', //cpg1.4
-'Перечитати розміри та об`єми файлів (якщо ви редагували їх вручну)', //cpg1.4
-'Скидає лічильник переглядів', //cpg1.4
-'Показати phpinfo', //cpg1.4
-'Поновити базу даних', //cpg1.4
-'Показати журнали роботи', //cpg1.4
-);
-$lang_util_php = array(
-  'title' => 'Утиліти адміністратора (масштабування фото)',
-  'what_it_does' => 'Що це дасть',
-  'file' => 'Файл',
-  'problem' => 'Проблема', //cpg1.4
-  'status' => 'Статус', //cpg1.4
-  'title_set_to' => 'встановлено назву',
-  'submit_form' => 'зберегти',
-  'updated_succesfully' => 'успішно збережено',
-  'error_create' => 'ПОМИЛКА при створенні',
-  'continue' => 'Опрацювати наступну групу фото',
-  'main_success' => 'Файл %s було використано як головне зображення',
-  'error_rename' => 'Помилка перейменування %s в %s',
-  'error_not_found' => 'Файл %s не знайдено',
-  'back' => 'на головну',
-  'thumbs_wait' => 'Оновлення слайдів та зміна розмірів, прошу зачекати ...',
-  'thumbs_continue_wait' => 'Продовження оновлення ескізів та зміна розмірів...',
-  'titles_wait' => 'Оновлення назв, прошу зачекати ...',
-  'delete_wait' => 'Видалення назв, прошу зачекати ...',
-  'replace_wait' => 'Видалення оригіналів та заміна масштабованими зображеннями, прошу зачекати ...',
-  'instruction' => 'Інструкції',
-  'instruction_action' => 'Оберіть дію',
-  'instruction_parameter' => 'Встановити параметри',
-  'instruction_album' => 'Обрати альбом',
-  'instruction_press' => 'Натисніть %s',
-  'update' => 'Оновлення слайдів або розмірів фото',
-  'update_what' => 'Що має бути оновлене',
-  'update_thumb' => 'Тільки слайди',
-  'update_pic' => 'Тільки зміна розмірів',
-  'update_both' => 'Слайди та масштабування',
-  'update_number' => 'Кількість корегованих зображень за один захід',
-  'update_option' => '(Якщо у Вас проблеми з timeout, спробуйте зменшити значення цієї опції)',
-  'filename_title' => 'Назва файлу? Назва зображення',
-  'filename_how' => 'Як має бути змінена назва зображення',
-  'filename_remove' => 'Видалити .jpg і замінити _ (підкреслення) пробілами',
-  'filename_euro' => 'Змінити 2003_11_23_13_20_20.jpg на 23/11/2003 13:20',
-  'filename_us' => 'Змінити 2003_11_23_13_20_20.jpg на 11/23/2003 13:20',
-  'filename_time' => 'Змінити 2003_11_23_13_20_20.jpg на 13:20',
-  'delete' => 'Видалити назву зображення та оригінальний розмір фото',
-  'delete_title' => 'Видалити назви зображень',
-  'delete_title_explanation' => 'Це знищить всі назви фото у вказаному альбомі.', //cpg1.4
-  'delete_original' => 'Видалити зображення оригінального розміру',
-  'delete_original_explanation' => 'Це вилучить фотографії оригінального розміру.', //cpg1.4
-  'delete_intermediate' => 'Видалити проміжні (нормальні) фото.', //cpg1.4
-  'delete_intermediate_explanation' => 'Це видалить проміжні (нормальні) фото.<br />Використовуйте це для звільнення дискового простору якщо ви відключили \'Створення проміжних фото\' вже тоді, коли якісь фото були в галереї.', //cpg1.4
-  'delete_replace' => 'Видалити початкові зображення, замінивши їх на змінені',
-  'titles_deleted' => 'Всі назви у вказаному альбомі видалено', //cpg1.4
-  'deleting_intermediates' => 'Вилучаю проміжні фото...', //cpg1.4
-  'searching_orphans' => 'Шукаю за неприв`язані елементами...', //cpg1.4
-  'select_album' => 'Виберіть альбом',
-  'delete_orphans' => 'Вилучити коментарі стертих файлів', //cpg1.4
-  'delete_orphans_explanation' => 'Ця опція дозволяє витерти коментарі для фото, яких вже нема в галереї.<br />Перевіряє всі альбоми.', //cpg1.4
-  'refresh_db' => 'Перечитати розміри та об`єми файлів', //cpg1.4
-  'refresh_db_explanation' => 'Розміри та об`єми файлів буде перечитано. Використовуйте цю можливість якщо квоти для вас працюють неправильно або ви змінювали файли вручну.', //cpg1.4
-  'reset_views' => 'Скинути лічильник переглядів', //cpg1.4
-  'reset_views_explanation' => 'Встановити кількість переглядів для всіх фото вибраного альбому в нуль.', //cpg1.4
-  'orphan_comment' => 'знайдено неприв`язані коментарі',
-  'delete' => 'Видалити',
-  'delete_all' => 'Видалити все',
-  'delete_all_orphans' => 'Видалити файли, що не використовуються?', //cpg1.4
-  'comment' => 'Коментар: ',
-  'nonexist' => 'приєднано до файла, що не існує # ',
-  'phpinfo' => 'Показати phpinfo',
-  'phpinfo_explanation' => 'Містить технічну інформацію про ваш сервер.<br /> - Вас можуть попросити надати деяку інформацію з цієї сторінки коли ви звертатиметеся за допомогою щодо Coppermine.', //cpg1.4
-  'update_db' => 'Поновити базу даних',
-  'update_db_explanation' => 'Якщо ви міняли файли Coppermine, або поновлювалися но нової версії, не забудьте один раз запустити поновлення бази даних. Цей процес здійснить необхідні зміни до структури та вмісту бази.',
-  'view_log' => 'Показати журнали роботи', //cpg1.4
-  'view_log_explanation' => 'Coppermine може занотовувати різноманітні дії, які виконують його користувачі. Ви можете переглядати ці журнали, якщо ви ввімкнули ведення журналів у <a href="admin.php">налаштуваннях галереї</a>.', //cpg1.4
-  'versioncheck' => 'Перевірити версії', //cpg1.4
-  'versioncheck_explanation' => 'Перевірити версії всіх файлів щоб переконатися що під час попереднього поновлення всі файли було належним чином замінено.', //cpg1.4
-  'bridgemanager' => 'Майстер Інтеграції', //cpg1.4
-  'bridgemanager_explanation' => 'Дозволити/відключити інтеграцію Coppermine з іншою системою (напр. вашим форумом).', //cpg1.4
-);
-}
-
-// ------------------------------------------------------------------------- //
-// File versioncheck.php //cpg1.4
-// ------------------------------------------------------------------------- //
-
-if (defined('VERSIONCHECK_PHP')) $lang_versioncheck_php = array(
-  'title' => 'Перевірка версій', //cpg1.4
-   'what_it_does' => 'Ця сторінка призначена для користувачів, які поновлювали свою галерею. Цей скрипт перебирає всі файли на вашому сервері і намагається визначити чи вони співпадають з файлами в еталонному репозиторії на http://coppermine.sourceforge.net, показуючи які відмінності було знайдено.<br />Все, що вимагає виправлень позначається червоним кольором. Файли, позначені жовтим вимагають перегляду. Файли, позначені зеленим (або вашим типовим кольором) не потребують корекцій.<br />Натисніть на іконку допомоги для отримання детальнішої інформації.', //cpg1.4
-  'online_repository_unable' => 'Не можу під`єднатися до головного репозиторія', //cpg1.4
-  'online_repository_noconnect' => 'Coppermine не зміг під`єднатися до головного репозиторія. Це могло статися з двох причин:', //cpg1.4
-  'online_repository_reason1' => 'головний репозиторій може зараз не працювати - перевірте чи ви можете відкрити наступну сторінку: %s - якщо ні, спробуйте пізніше.', //cpg1.4
-  'online_repository_reason2' => 'PHP на вашому сервері сконфігуроване з відключеним %s (як правило це є включеним). Якщо ви адмініструєте цей сервер, включіть цю опцію в <i>php.ini</i> (або хоча б дозвольте її перекрити в %s). Якщо ж ви хоститеся в сторонньої фірми - мабуть вам доведеться змиритися з відсутністю порівняння ваших файлів з файлами головного репозиторію. Тоді ця сторінка зможе лише показати версії файлів, які було інстальовано - наявність поновлень не буде вказано.', //cpg1.4
-  'online_repository_skipped' => 'Під`єднання до головного репозиторія пропущено', //cpg1.4
-  'online_repository_to_local' => 'Тепер програма буде звірятися з локальними копіями файлів. Результати можуть бути неточними, якщо ви поновлювали галерею і пропустили якийсь файл при цьому. Ваші зміни до файлів не будуть враховані також.', //cpg1.4
-  'local_repository_unable' => 'Не можу під`єднатися до репозиторія на вашому сервері', //cpg1.4
-  'local_repository_explanation' => 'Coppermine не зміг прочитати файл %s з репозиторія на вашому сервері. Це може означати, що ви не закачали належним чином файли у ваш репозиторій. Спробуйте знову і натисніть Refresh у веб переглядачі.<br />Якщо скрипт все одно не виконується, можливо на вашому сервері відключено частину <a href="http://www.php.net/manual/en/ref.filesystem.php">функцій PHP для доступу до файлової системи</a>. В такому випадку ви не зможете використовувати цю програму взагалі.', //cpg1.4
-  'coppermine_version_header' => 'Встановлена версія Coppermine', //cpg1.4
-  'coppermine_version_info' => 'Ви маєте зараз встановлено: %s', //cpg1.4
-  'coppermine_version_explanation' => 'Якщо насправді ви переконані, що використовуєте новішу версію, можливо, під час минулого поновлення ви забули поставити останню версію файла <i>include/init.inc.php</i>', //cpg1.4
-  'version_comparison' => 'Порівняння версії', //cpg1.4
-  'folder_file' => 'тека/файл', //cpg1.4
-  'coppermine_version' => 'версія cpg', //cpg1.4
-  'file_version' => 'версія файла', //cpg1.4
-  'webcvs' => 'web svn', //cpg1.4
-  'writable' => 'запис дозволено', //cpg1.4
-  'not_writable' => 'запис заборонено', //cpg1.4
-  'help' => 'Допомога', //cpg1.4
-  'help_file_not_exist_optional1' => 'файл/тека не існує', //cpg1.4
-  'help_file_not_exist_optional2' => 'Файл/тека %s не існує на вашому сервері. Хоча він і не обов`язковий, але якщо у вас виникають якісь проблеми в роботі галереї, закачайте цей файл на сервер (через FTP).', //cpg1.4
-  'help_file_not_exist_mandatory1' => 'файл/тека не існує', //cpg1.4
-  'help_file_not_exist_mandatory2' => 'Файл/тека %s не існує на вашому сервері. Хоча він є обов`язковим. Закачайте цей файл на сервер (через FTP).', //cpg1.4
-  'help_no_local_version1' => 'Версія локального файлу невідома', //cpg1.4
-  'help_no_local_version2' => 'Програмі не вдалося визначити версію локального файла - це означає, що файл є або застарілим, або ви самі вносили до нього зміни і витерли інформацію про версію із заголовка. Рекомендуємо поновити цей файл.', //cpg1.4
-  'help_local_version_outdated1' => 'Локальна версія застаріла', //cpg1.4
-  'help_local_version_outdated2' => 'Схоже на те, що версія цього файла відповідає старішій версії Coppermine. Оновіть також і цей файл.', //cpg1.4
-  'help_local_version_na1' => 'Неможливо добути інформацію про CVS версію файла', //cpg1.4
-  'help_local_version_na2' => 'Програма не може визначити CVS версію файла на вашому веб сервері. Перепишіть цей файл знову.', //cpg1.4
-  'help_local_version_dev1' => 'Файл з нестабільної гілки', //cpg1.4
-  'help_local_version_dev2' => 'Файл на вашому веб сервері виглядає новішим, ніж мав би бути для цієї версії Coppermine. Ви або взяли файл з нестабільної гілки (що варто робити лише якщо ви дійсно знаєте, що робите), або під час поновлення вашої галереї ви пропустили файл include/init.inc.php', //cpg1.4
-  'help_not_writable1' => 'Тека недоступна для запису', //cpg1.4
-  'help_not_writable2' => 'Змініть права доступу до теки %s (CHMOD) щоб надати право запису до неї і всього, що у ній є.', //cpg1.4
-  'help_writable1' => 'Тека доступна для запису', //cpg1.4
-  'help_writable2' => 'Тека %s є доступною для запису. Це дає зайвий ризик, оскільки Coppermine потребує лише прав читання та запуску.', //cpg1.4
-  'help_writable_undetermined' => 'Coppermine не зміг визначити чи тека є доступною для запису.', //cpg1.4
-  'your_file' => 'ваш файл', //cpg1.4
-  'reference_file' => 'еталонний файл', //cpg1.4
-  'summary' => 'Підсумок', //cpg1.4
-  'total' => 'Всього перевірено файлів/тек', //cpg1.4
-  'mandatory_files_missing' => 'Загублені обов`язкові файли', //cpg1.4
-  'optional_files_missing' => 'Загублені необов`язкові файли', //cpg1.4
-  'files_from_older_version' => 'Файли, залишені від застарілої версії Coppermine', //cpg1.4
-  'file_version_outdated' => 'Застарілі файли', //cpg1.4
-  'error_no_data' => 'Програмі не вдалося отримати жодної інформації. Вибачте за незручності.', //cpg1.4
-  'go_to_webcvs' => 'перейти до %s', //cpg1.4
-  'options' => 'Налаштування', //cpg1.4
-  'show_optional_files' => 'показати необов`язкові файли/теки', //cpg1.4
-  'show_mandatory_files' => 'показати обов`язкові файли', //cpg1.4
-  'show_file_versions' => 'показати версії файлів', //cpg1.4
-  'show_errors_only' => 'показати тільки теки/файли де є помилки', //cpg1.4
-  'show_permissions' => 'показати права доступу до тек', //cpg1.4
-  'show_condensed_output' => 'здійснювати концентрований вивід інформації (щоб полегшити зняття відбитків екрану)', //cpg1.4
-  'coppermine_in_webroot' => 'coppermine було встановлено в корінь веб сайту', //cpg1.4
-  'connect_online_repository' => 'спробувати під`єднатися до головного репозиторія', //cpg1.4
-  'show_additional_information' => 'показати додаткову інформацію', //cpg1.4
-  'no_webcvs_link' => 'не показувати посилання на CVS', //cpg1.4
-  'stable_webcvs_link' => 'показати посилання на стабільну гілку в CVS', //cpg1.4
-  'devel_webcvs_link' => 'показати посилання на гілку розробки в CVS', //cpg1.4
-  'submit' => 'застосувати зміни / оновити', //cpg1.4
-  'reset_to_defaults' => 'відновити типові значення', //cpg1.4
-);
-
-// ------------------------------------------------------------------------- //
-// File view_log.php  //cpg1.4
-// ------------------------------------------------------------------------- //
-
-if (defined('VIEWLOG_PHP')) $lang_viewlog_php = array(
-  'delete_all' => 'Очистити всі журнали', //cpg1.4
-  'delete_this' => 'Стерти цей журнал', //cpg1.4
-  'view_logs' => 'Подивитися журнали', //cpg1.4
-  'no_logs' => 'Журнали ще не створено.', //cpg1.4
-);
-
-
-// ------------------------------------------------------------------------- //
-// File xp_publish.php //cpg1.4
-// ------------------------------------------------------------------------- //
-
-if (defined('XP_PUBLISH_PHP')) {
-
-$lang_xp_publish_client = <<<EOT
-<h1> Клієнт майстра тенет-публікації XP</h1><p>Цей модуль дозволяє використання з Coppermine майстра тенет-публікації <b>Windows XP</b>.</p><p>Цей код базується на статті опублікованій
-EOT;
-
-$lang_xp_publish_required = <<<EOT
-<h2>Вимоги</h2><ul><li>Windows XP яка власне має майстра публікації.</li><li>Робоча інсталяція Coppermine у якій <b>функція закачування працює належним чином.</b></li></ul><h2>Налаштування на стороні клієнта</h2><ul><li>Клацніть правою кнопкою миші на
-EOT;
-
-$lang_xp_publish_select = <<<EOT
-Виберіть &quot;save target as..&quot;. Збережіть файл в себе на диску. Під час збереження файла, переконайтеся, що запропоноване ім`я файла <b>cpg_###.reg</b> (де ### відповідає числовій часовий мітці). Змініть його до відповідного формату при необхідності (залишіть номери). Після завантаження, клацніть двічі по файлу для того, щоб зареєструвати ваш сервер для майстра публікації.</li></ul>
-EOT;
-
-$lang_xp_publish_testing = <<<EOT
-<h2>Перевірка</h2><ul><li>У Windows Explorer, виберіть якісь файли і виберіть <b>Publish xxx on the web</b> у панелі зліва.</li><li>Підтвердіть свій вибір. Натисніть <b>Далі</b>.</li><li>У списку сервісів, виберіть сервіс вашої галереї (він буде мати назву вашої галереї). Якщо потрібного сервісу не буде у списку, переконайтеся, що ви встановили <b>cpg_pub_wizard.reg</b> як це було описано вище.</li><li>Авторизуйтеся, якщо це буде необхідно.</li><li>Виберіть альбом куди будуть додані фото або створіть новий.</li><li>Натисніть <b>далі</b>. Почнеться закачування ваших фото.</li><li>Після завершення, переконайтеся, що фото були правильно додані в галерею.</li></ul>
-EOT;
-
-$lang_xp_publish_notes = <<<EOT
-<h2>Примітки :</h2><ul><li>Після початку закачування, майстер не може показувати жодних повідомлень про помилки з сервера тому єдиний спосіб перевірити чи фото були успішно додані це зайти в галерею і подивитися безпосередньо там.</li><li>Якщо закачування відбулося невдало, включіть &quot;Режим відлагодження&quot; в налаштуваннях галереї, спробуйте закачати єдине фото і подивіться на повідомлення
-EOT;
-
-$lang_xp_publish_flood = <<<EOT
-у файлі, що знаходиться в теці Coppermine на вашому сервері.</li><li>Для уникнення переповнення галереї зображеннями, долученими за допомогою цього майстра, тільки <b>адміністратори галереї</b> та <b>користувачі, що мають право мати свої альбоми</b> можуть використовувати цей засіб.</li>
-EOT;
-
-
-$lang_xp_publish_php = array(
-  'title' => 'Coppermine - XP Майстер тенет-публікації', //cpg1.4
-  'welcome' => 'Вітаємо <b>%s</b>,', //cpg1.4
-  'need_login' => 'Ви повинні авторизуватися у галереї перш, ніж використовувати цю програму.<p/><p>під час входу у систему не забудьте активувати опцію <b>запам`ятати мене</b> якщо вона є доступною.', //cpg1.4
-  'no_alb' => 'Нажаль, не вдається знайти альбом, у який ви маєте право додавати фото за допомогою цього майстра.', //cpg1.4
-  'upload' => 'Долучити фото до існуючого альбому', //cpg1.4
-  'create_new' => 'Створити новий альбом', //cpg1.4
-  'album' => 'Альбом', //cpg1.4
-  'category' => 'Категорія', //cpg1.4
-  'new_alb_created' => 'Новий альбом &quot;<b>%s</b>&quot; було створено.', //cpg1.4
-  'continue' => 'Натисніть &quot;Продовжити&quot; щоб почати закачування ваших файлів', //cpg1.4
-  'link' => 'це посилання', //cpg1.4
-);
-}
-?>
+<?php
+/*************************
+  Coppermine Photo Gallery
+  ************************
+  Copyright (c) 2003-2009 Coppermine Dev Team
+  v1.1 originally written by Gregory DEMAR
+
+  This program is free software; you can redistribute it and/or modify
+  it under the terms of the GNU General Public License version 3
+  as published by the Free Software Foundation.
+  
+  ********************************************
+  Coppermine version: 1.4.25
+  $HeadURL: https://coppermine.svn.sourceforge.net/svnroot/coppermine/trunk/cpg1.4.x/lang/ukrainian.php $
+  $Revision: 5997 $
+  $Author: gaugau $
+  $Date: 2009-05-26 08:43:24 +0200 (Di, 26 Mai 2009) $
+  ********************************************
+  This translation is made for the Coppermine version 1.4.x
+  It is based on the old translation by Kostya Jakovchuk
+
+  In the memory of Marko Kyshchun, who taught me to fight even if there is no hope. - MR
+**********************************************/
+
+if (!defined('IN_COPPERMINE')) { die('Not in Coppermine...');}
+
+// info about translators and translated language
+$lang_translation_info = array(
+  'lang_name_english' => 'Ukrainian', //cpg1.4
+  'lang_name_native' => 'Українська', //cpg1.4
+  'lang_country_code' => 'ua', //cpg1.4
+  'trans_name'=> 'Maryan Rachynskyy',
+  'trans_email' => 'mrach@users.sourceforge.net',
+  'trans_website' => '',
+  'trans_date' => '2005-12-20',
+);
+
+$lang_charset = 'utf-8';
+$lang_text_dir = 'ltr'; // ('ltr' for left to right, 'rtl' for right to left)
+
+// shortcuts for Byte, Kilo, Mega
+$lang_byte_units = array('Байт', 'KB', 'MB');
+
+// Day of weeks and months
+$lang_day_of_week = array('Неділя', 'Понеділок', 'Вівторок', 'Середа', 'Четвер', 'П`ятниця', 'Субота');
+$lang_month = array('Січ', 'Лют', 'Бер', 'Квіт', 'Трав', 'Черв', 'Лип', 'Серп', 'Вер', 'Жовт', 'Лист', 'Груд');
+
+// Some common strings
+$lang_yes = 'Так';
+$lang_no  = 'Ні';
+$lang_back = 'Назад';
+$lang_continue = 'Вперед';
+$lang_info = 'Інформація';
+$lang_error = 'Помилка';
+$lang_check_uncheck_all = 'виділити все/зняти виділення'; //cpg1.4
+
+// The various date formats
+// See http://www.php.net/manual/en/function.strftime.php to define the variable below
+$album_date_fmt =    '%d %B %Yр.';
+$lastcom_date_fmt =  '%d %B %Yр. о %H:%M';
+$lastup_date_fmt = '%d.%m.%Yр.';
+$register_date_fmt = '%d %B %Yр.';
+$lasthit_date_fmt = '%d %B %Yр. о %I:%M';
+$comment_date_fmt =  '%d %B %Yр. о %H:%M';
+$log_date_fmt = '%d %B %Yр. о %H:%M'; //cpg1.4
+
+// For the word censor
+$lang_bad_words = array('*fuck*', 'asshole', 'assramer', 'bitch*', 'c0ck', 'clits', 'Cock', 'cum', 'cunt*', 'dago', 'daygo', 'dego', 'dick*', 'dildo', 'fanculo', 'feces', 'foreskin', 'Fu\(*', 'fuk*', 'honkey', 'hore', 'injun', 'kike', 'lesbo', 'masturbat*', 'motherfucker', 'nazis', 'nigger*', 'nutsack', 'penis', 'phuck', 'poop', 'pussy', 'scrotum', 'shit', 'slut', 'titties', 'titty', 'twaty', 'wank*', 'whore', 'wop*');
+
+$lang_meta_album_names = array(
+  'random' => 'Випадкові фото',
+  'lastup' => 'Останні долучення',
+  'lastalb'=> 'Останнє поновлення альбому',
+  'lastcom' => 'Останні коментарі',
+  'topn' => 'Популярні',
+  'toprated' => 'Кращі за рейтингом',
+  'lasthits' => 'Останні переглянуті',
+  'search' => 'Результати пошуку',
+  'favpics'=> 'Вибрані',  //cpg1.4
+);
+
+$lang_errors = array(
+  'access_denied' => 'Ви маєте недостатньо повноважень для перегляду цієї сторінки.',
+  'perm_denied' => 'Ви маєте недостатньо повноважень для виконання цієї дії.',
+  'param_missing' => 'Скрипт викликано без потрібних параметрів.',
+  'non_exist_ap' => 'Обраний Вами альбом/фото не існує!',
+  'quota_exceeded' => 'Розмір дискового простору перевищено.<br /><br />Для Вас дисковий простір становить [quota]Kб. Ваші фото займають [space]Kб. Долучення цього фото перевищить припустиму межу.',
+  'gd_file_type_err' => 'Якщо використовується бібліотека GD - дозволені формати зображень тільки JPEG та PNG.',
+  'invalid_image' => 'Завантажене фото зіпсоване, або не може бути опрацьоване бібліотекою GD',
+  'resize_failed' => 'Неможливо створити слайд або зменшити розмір фото.',
+  'no_img_to_display' => 'Нема фото',
+  'non_exist_cat' => 'Вибрана категорія не існує',
+  'orphan_cat' => 'Категорія не має категорії вищого рівня. Запустіть Керування категоріями для виправлення ситуації.',
+  'directory_ro' => 'Тека \'%s\' тільки для перегляду, фото неможливо видалити',
+  'non_exist_comment' => 'Вибраний коментар не існує.',
+  'pic_in_invalid_album' => 'Фото з альбому, що не існує (%s)!?',
+  'banned' => 'Вам сюди не дозволено заходити.',
+  'not_with_udb' => 'Цю функцію вимкнено в Coppermine, оскільки вона є приєднана до форуму. Або те, що Ви намагаєтеся виконати, на підтримується конфігурацією, або вам треба зробити це зі сторони програми форуму.',
+  'offline_title' => 'Вимкнено',
+  'offline_text' => 'На даний момент галерею вимкнено - спробуйте зайти пізніше',
+  'ecards_empty' => 'Нема листівок.',
+  'action_failed' => 'Сталася помилка.  Галерея не може виконати ваш запит.',
+  'no_zip' => 'Нема бібліотек для опрацювання ZIP файлів.  Будь ласка зв`яжіться з адміністратором галереї.',
+  'zip_type' => 'Ви не маєте достатньо прав для закачування ZIP файлів.',
+  'database_query' => 'Сталася помилка при звертанні до бази даних', //cpg1.4
+  'register_globals_on' => 'The PHP setting register_globals is enabled on your server, which is a bad idea in terms of security. It\'s strongly recommended to turn it off. [<a href="http://forum.coppermine-gallery.net/index.php/topic,59569.0.html" rel="external" class="external">more</a>]',
+);
+
+$lang_bbcode_help_title = 'Допомога у bbcode'; //cpg1.4
+$lang_bbcode_help = 'Ви можете додати посилання і сяке-таке форматування до цього поля використовуючи теги bbcode: <li>[b]Bold[/b] =&gt; <b>Bold</b></li><li>[i]Italic[/i] =&gt; <i>Italic</i></li><li>[url=http://yoursite.com/]Url Text[/url] =&gt; <a href="http://yoursite.com">Url Text</a></li><li>[email]user@domain.com[/email] =&gt; <a href="mailto:user@domain.com">user@domain.com</a></li><li>[color=red]some text[/color] =&gt; <span style="color:red">some text</span></li><li>[img]http://coppermine-gallery.net/demo/cpg14x/images/red.gif[/img] => <img src="../images/red.gif" border="0" alt="" /></li>'; //cpg1.4
+
+// ------------------------------------------------------------------------- //
+// File theme.php
+// ------------------------------------------------------------------------- //
+
+$lang_main_menu = array(
+  'home_title' => 'На головну сторінку',
+  'home_lnk' => 'Головна',
+  'alb_list_title' => 'До списка альбомів',
+  'alb_list_lnk' => 'Список альбомів',
+  'my_gal_title' => 'До персональної галереї',
+  'my_gal_lnk' => 'Моя галерея',
+  'my_prof_title' => 'До мого профілю', //cpg1.4
+  'my_prof_lnk' => 'Профіль',
+  'adm_mode_title' => 'Перейти в режим адміністратора',
+  'adm_mode_lnk' => 'Режим адміністратора',
+  'usr_mode_title' => 'Перейти в режим користувача',
+  'usr_mode_lnk' => 'Режим користувача',
+  'upload_pic_title' => 'Долучення фото до альбому',
+  'upload_pic_lnk' => 'Долучити фото',
+  'register_title' => 'Зареєструватися',
+  'register_lnk' => 'Реєстрація',
+  'login_title' => 'Ввійти', //cpg1.4
+  'login_lnk' => 'Вхід',
+  'logout_title' => 'Вийти', //cpg1.4
+  'logout_lnk' => 'Вихід',
+  'lastup_title' => 'Показати останні долучення', //cpg1.4
+  'lastup_lnk' => 'Останні долучення',
+  'lastcom_title' => 'Показати останні коментарі', //cpg1.4
+  'lastcom_lnk' => 'Останні коментарі',
+  'topn_title' => 'Показати популярні', //cpg1.4
+  'topn_lnk' => 'Популярні',
+  'toprated_title' => 'Показати кращі за рейтингом', //cpg1.4
+  'toprated_lnk' => 'Кращі за рейтингом',
+  'search_title' => 'Шукати в галереї', //cpg1.4
+  'search_lnk' => 'Пошук',
+  'fav_title' => 'Перейти у вибрані', //cpg1.4
+  'fav_lnk' => 'Вибрані',
+  'memberlist_title' => 'Показати список учасників',
+  'memberlist_lnk' => 'Список учасників',
+  'faq_title' => 'ЧАсті Питання про галерею &quot;Coppermine&quot;',
+  'faq_lnk' => 'ЧАПи',
+);
+
+$lang_gallery_admin_menu = array(
+  'upl_app_title' => 'Підтвердити нові фото', //cpg1.4
+  'upl_app_lnk' => 'Підтвердження нових фото',
+  'admin_title' => 'Відкрити налаштування', //cpg1.4
+  'admin_lnk' => 'Налаштування', //cpg1.4
+  'albums_title' => 'Перейти до налаштування альбомів', //cpg1.4
+  'albums_lnk' => 'Альбоми',
+  'categories_title' => 'Перейти до налаштування категорій', //cpg1.4
+  'categories_lnk' => 'Категорії',
+  'users_title' => 'Перейти до налаштування користувачів', //cpg1.4
+  'users_lnk' => 'Користувачі',
+  'groups_title' => 'Перейти до налаштування груп', //cpg1.4
+  'groups_lnk' => 'Групи',
+  'comments_title' => 'Переглянути всі коментарі', //cpg1.4
+  'comments_lnk' => 'Коментарі',
+  'searchnew_title' => 'Перейти до автодолучення', //cpg1.4
+  'searchnew_lnk' => 'Автодолучення',
+  'util_title' => 'Перейти до інструментів адміністратора', //cpg1.4
+  'util_lnk' => 'Інструменти адміністратора',
+  'key_title' => 'Перейти до словника ключових слів', //cpg1.4
+  'key_lnk' => 'Словник ключових слів', //cpg1.4
+  'ban_title' => 'Перейти до блокування користувачів', //cpg1.4
+  'ban_lnk' => 'Блокування користувачів',
+  'db_ecard_title' => 'Переглянути листівки', //cpg1.4
+  'db_ecard_lnk' => 'Перегляд листівок',
+  'pictures_title' => 'Сортувати власні фото', //cpg1.4
+  'pictures_lnk' => 'Сортування власних фото', //cpg1.4
+  'documentation_lnk' => 'Документація (Англ)', //cpg1.4
+  'documentation_title' => 'Довідник Coppermine', //cpg1.4
+);
+
+$lang_user_admin_menu = array(
+  'albmgr_title' => 'Створити/впорядкувати мої альбоми', //cpg1.4
+  'albmgr_lnk' => 'Керування моїми альбомами',
+  'modifyalb_title' => 'Корегувати мої альбоми',  //cpg1.4
+  'modifyalb_lnk' => 'Корегування моїх альбомів',
+  'my_prof_title' => 'Перехід до мого профілю', //cpg1.4
+  'my_prof_lnk' => 'Профіль',
+);
+
+$lang_cat_list = array(
+  'category' => 'Категорія',
+  'albums' => 'Альбомів',
+  'pictures' => 'Фото',
+);
+
+$lang_album_list = array(
+  'album_on_page' => '%d альбомів на %d сторінках',
+);
+
+$lang_thumb_view = array(
+  'date' => 'Дата',
+  //Sort by filename and title
+  'name' => 'Ім`я файла',
+  'title' => 'Назва',
+  'sort_da' => 'Сорт. за датою [зростання]',
+  'sort_dd' => 'Сорт. за датою [спадання]',
+  'sort_na' => 'Сорт. за іменем файла [зростання]',
+  'sort_nd' => 'Сорт. за іменем файла [спадання]',
+  'sort_ta' => 'Сорт. за назвою [зростання]',
+  'sort_td' => 'Сорт. за назвою [спадання]',
+  'position' => 'Пор. номер', //cpg1.4
+  'sort_pa' => 'Сорт. за пор. номером [зростання]', //cpg1.4
+  'sort_pd' => 'Сорт. за пор. [спадання]', //cpg1.4
+  'download_zip' => 'Викачати як файл Zip',
+  'pic_on_page' => '%d фото на %d сторінці(ах)',
+  'user_on_page' => '%d користувачів на %d сторінці(ах)',
+  'enter_alb_pass' => 'Введіть пароль для альбому', //cpg1.4
+  'invalid_pass' => 'Невірний пароль', //cpg1.4
+  'pass' => 'Пароль', //cpg1.4
+  'submit' => 'Послати', //cpg1.4
+);
+
+$lang_img_nav_bar = array(
+  'thumb_title' => 'Повернутись на сторінку зі слайдами',
+  'pic_info_title' => 'Показати/заховати інформацію про фото',
+  'slideshow_title' => 'Слайд-шоу',
+  'ecard_title' => 'Надіслати це фото як листівку',
+  'ecard_disabled' => 'Листівки вимкнено',
+  'ecard_disabled_msg' => 'У вас нема повноважень, щоб відсилати листівки', //js-alert
+  'prev_title' => 'Попереднє фото',
+  'next_title' => 'Наступне фото',
+  'pic_pos' => 'Фото %s/%s',
+  'report_title' => 'Повідомити про це фото адміністратору', //cpg1.4
+  'go_album_end' => 'Стрибнути в кінець', //cpg1.4
+  'go_album_start' => 'Повернутися на початок', //cpg1.4
+  'go_back_x_items' => 'повернутися на %s фото', //cpg1.4
+  'go_forward_x_items' => 'перестрибнути через %s фото', //cpg1.4
+);
+
+$lang_rate_pic = array(
+  'rate_this_pic' => 'Оцінити це фото ',
+  'no_votes' => '(Ще нема голосів)',
+  'rating' => '(рейтинг: %s з 5 з %s голосами)',
+  'rubbish' => 'Сміття',
+  'poor' => 'Погано',
+  'fair' => 'Може бути',
+  'good' => 'Добре',
+  'excellent' => 'Дуже добре',
+  'great' => 'Супер',
+);
+
+// ------------------------------------------------------------------------- //
+// File include/exif.inc.php
+// ------------------------------------------------------------------------- //
+
+// void
+
+// ------------------------------------------------------------------------- //
+// File include/functions.inc.php
+// ------------------------------------------------------------------------- //
+
+$lang_cpg_die = array(
+  INFORMATION => $lang_info,
+  ERROR => $lang_error,
+  CRITICAL_ERROR => 'Критична помилка',
+  'file' => 'Файл: ',
+  'line' => 'Рядок: ',
+);
+
+$lang_display_thumbnails = array(
+  'filename' => 'Файл=', //cpg1.4
+  'filesize' => 'Розмір файлу=', //cpg1.4
+  'dimensions' => 'Розміри фото=', //cpg1.4
+  'date_added' => 'Дата долучення=', //cpg1.4
+);
+
+$lang_get_pic_data = array(
+  'n_comments' => '%s коментарів',
+  'n_views' => '%s переглядів',
+  'n_votes' => '(%s голосів)',
+);
+
+$lang_cpg_debug_output = array(
+  'debug_info' => 'Налагоджувальна інформація',
+  'select_all' => 'Вибрати все',
+  'copy_and_paste_instructions' => 'Якщо ви збираєтеся просити допомоги на форумі підтримки Coppermine, скопіюйте цю налагоджувальну інформацію у текст вашого звертання, якщо вас про це попросять, разом з текстом повідомлення про помилку, якщо є. Не забудьте замінити всі паролі з коду звертання до бази на зірочки *** перед тим, як публікувати повідомлення. <br />Зауваження: це інформаційне повідомлення - воно не означає, що з вашою галереєю щось не так.', //cpg1.4
+  'phpinfo' => 'показати phpinfo',
+  'notices' => 'Повідомлення', //cpg1.4
+);
+
+$lang_language_selection = array(
+  'reset_language' => 'Типова мова',
+  'choose_language' => 'Виберіть мову',
+);
+
+$lang_theme_selection = array(
+  'reset_theme' => 'Типова тема',
+  'choose_theme' => 'Виберіть тему',
+);
+
+$lang_version_alert = array(
+  'version_alert' => 'Ця версія не підтримується!', //cpg1.4
+  'security_alert' => 'Ризик для безпеки!', //cpg1.4.3
+  'relocate_exists' => 'Видаліть файл <a href="http://coppermine-gallery.net/forum/index.php?topic=24217.0">relocate_server.php</a> з вашого сайта!',
+  'no_stable_version' => 'Ви використовуєте версію Coppermine %s (%s) яка призначена лише для дуже досвічених користувачів - цю версію надано без супроводу і гарантій. Використовуйте її на свій страх і ризик або поверніться до старішої версії, яка є стабільною!', //cpg1.4
+  'gallery_offline' => 'Галерея зараз є відключеною і доступна лише вам як адміну. Не забудьте включити її після завершення адміністрування.' //cpg1.4
+);
+
+$lang_create_tabs = array(
+  'previous' => 'назад', //cpg1.4
+  'next' => 'вперед', //cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File include/init.inc.php
+// ------------------------------------------------------------------------- //
+
+// void
+
+// ------------------------------------------------------------------------- //
+// File keyword.inc.php                                                      //
+// ------------------------------------------------------------------------- //
+
+// void
+
+// ------------------------------------------------------------------------- //
+// File include/picmgmt.inc.php
+// ------------------------------------------------------------------------- //
+
+// void
+
+// ------------------------------------------------------------------------- //
+// File include/plugin_api.inc.php
+// ------------------------------------------------------------------------- //
+$lang_plugin_api = array(
+  'error_wakeup' => "Не можу запустити плагін '%s'", //cpg1.4
+  'error_install' => "Не можу інсталювати плагін '%s'", //cpg1.4
+  'error_uninstall' => "Не можу деінсталювати плагін '%s'", //cpg1.4
+  'error_sleep' => "Не можу відключити плагін '%s'<br />", //cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File include/smilies.inc.php
+// ------------------------------------------------------------------------- //
+
+if (defined('SMILIES_PHP')) $lang_smilies_inc_php = array(
+  'Exclamation' => 'Exclamation',
+  'Question' => 'Question',
+  'Very Happy' => 'Very Happy',
+  'Smile' => 'Smile',
+  'Sad' => 'Sad',
+  'Surprised' => 'Surprised',
+  'Shocked' => 'Shocked',
+  'Confused' => 'Confused',
+  'Cool' => 'Cool',
+  'Laughing' => 'Laughing',
+  'Mad' => 'Mad',
+  'Razz' => 'Razz',
+  'Embarassed' => 'Embarassed',
+  'Crying or Very sad' => 'Crying or Very sad',
+  'Evil or Very Mad' => 'Evil or Very Mad',
+  'Twisted Evil' => 'Twisted Evil',
+  'Rolling Eyes' => 'Rolling Eyes',
+  'Wink' => 'Wink',
+  'Idea' => 'Idea',
+  'Arrow' => 'Arrow',
+  'Neutral' => 'Neutral',
+  'Mr. Green' => 'Mr. Green',
+);
+
+// ------------------------------------------------------------------------- //
+// File addpic.php
+// ------------------------------------------------------------------------- //
+
+// void
+
+// ------------------------------------------------------------------------- //
+// File mode.php //cpg1.4
+// ------------------------------------------------------------------------- //
+
+if (defined('MODE_PHP')) $lang_mode_php = array(
+  0 => 'Вихід з режиму адміністратора...',
+  1 => 'Вхід в режим адміністратора...',
+);
+
+// ------------------------------------------------------------------------- //
+// File albmgr.php
+// ------------------------------------------------------------------------- //
+
+if (defined('ALBMGR_PHP')) $lang_albmgr_php = array(
+  'alb_need_name' => 'Альбом повинен мати назву !', //js-alert
+  'confirm_modifs' => 'Ви дійсно бажаєте зробити ці зміни ?', //js-alert
+  'no_change' => 'Ви нічого не змінили !', //js-alert
+  'new_album' => 'Новий альбом',
+  'confirm_delete1' => 'Ви дійсно бажаєте видалити цей альбом ?', //js-alert
+  'confirm_delete2' => '\Всі його фото і коментарі зникнуть !', //js-alert
+  'select_first' => 'Спочатку оберіть альбом', //js-alert
+  'alb_mrg' => 'Керування альбомами',
+  'my_gallery' => '* Моя галерея *',
+  'no_category' => '* Немає категорії *',
+  'delete' => 'Видалити',
+  'new' => 'Новий',
+  'apply_modifs' => 'Застосувати зміни',
+  'select_category' => 'Вибрати категорію',
+);
+
+// ------------------------------------------------------------------------- //
+// File banning.php
+// ------------------------------------------------------------------------- //
+
+if (defined('BANNING_PHP')) $lang_banning_php = array(
+  'title' => 'Блокування Користувачів', //cpg1.4
+  'user_name' => 'Ім\'я Користувача', //cpg1.4
+  'ip_address' => 'IP Адреса', //cpg1.4
+  'expiry' => 'Завершення терміну дії (пусто - без обмежень)', //cpg1.4
+  'edit_ban' => 'Зберегти Зміни', //cpg1.4
+  'delete_ban' => 'Видалити', //cpg1.4
+  'add_new' => 'Додати нове блокування', //cpg1.4
+  'add_ban' => 'Додати', //cpg1.4
+  'error_user' => 'Не можу знайти користувача', //cpg1.4
+  'error_specify' => 'Вам треба вказати або ім\'я користувача, або IP адресу', //cpg1.4
+  'error_ban_id' => 'Неправильний ID блокування!', //cpg1.4
+  'error_admin_ban' => 'Ви не можете блокувати самі себе!', //cpg1.4
+  'error_server_ban' => 'Ви хочете заблокувати власний сервер? Гмм... Я не можу це зробити...', //cpg1.4
+  'error_ip_forbidden' => 'Ви не можете блокувати це IP - воно все одно недосяжне (з приватної підмережі)!<br />Якщо ви хочете дозволити блокування приватних IP, вкажіть це у ваших <a href="admin.php">Налаштуваннях</a> (має сенс тільки якщо Coppermine працює в локальній мережі).', //cpg1.4
+  'lookup_ip' => 'Розв\'язати IP адресу', //cpg1.4
+  'submit' => 'Вперед!', //cpg1.4
+  'select_date' => 'вибрати дати', //cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File bridgemgr.php //cpg1.4
+// ------------------------------------------------------------------------- //
+
+if (defined('BRIDGEMGR_PHP')) $lang_bridgemgr_php = array(
+  'title' => 'Майстер Інтеграції',
+  'warning' => 'УВАГА: при використанні цієї програми будьте свідомими того, що конфіденційна інформація буде пересилатися за допомогою форм HTML. Запускайте її лише на власному комп`ютері (а не в публічному місці типу інтернет кафе). Крім того не забудьте вичистити кеші та тимчасові файли переглядача після того як ви закінчите роботу!',
+  'back' => 'назад',
+  'next' => 'вперед',
+  'start_wizard' => 'Запустити майстер інтеграції',
+  'finish' => 'Завершити',
+  'hide_unused_fields' => 'заховати поля, що не використовуються (рекомендується)',
+  'clear_unused_db_fields' => 'витерти неправильні записи в базі даних (рекомендується)',
+  'custom_bridge_file' => 'назва вашого власного файлу інтеграції (якщо файл називається <i>myfile.inc.php</i>, введіть <i>myfile</i>)',
+  'no_action_needed' => 'Жодних дій не виконується на цьому кроці. Просто натисніть \'далі\' для продовження.',
+  'reset_to_default' => 'Відновити типове значення',
+  'choose_bbs_app' => 'виберіть систему для інтегрування',
+  'support_url' => 'Ідіть сюди за додатковою інформацією про цю систему',
+  'settings_path' => 'шлях(и) що використовуються вашою BBS системою',
+  'database_connection' => 'зв`язок з базою даних',
+  'database_tables' => 'таблиці бази даних',
+  'bbs_groups' => 'групи з BBS',
+  'license_number' => 'Номер ліцензії',
+  'license_number_explanation' => 'введіть ваш номер ліцензії (якщо є)',
+  'db_database_name' => 'Назва бази даних',
+  'db_database_name_explanation' => 'Введіть назву бази даних що використовує ваша BBS',
+  'db_hostname' => 'Сервер БД',
+  'db_hostname_explanation' => 'Назва комп`ютера, де працює ваша база mySQL, як правило &quot;localhost&quot;',
+  'db_username' => 'Користувач БД',
+  'db_username_explanation' => 'користувач mySQL, що використовується вашою BBS',
+  'db_password' => 'Пароль користувача БД',
+  'db_password_explanation' => 'Пароль користувача mySQL',
+  'full_forum_url' => 'URL форуму',
+  'full_forum_url_explanation' => 'Повний URL до вашої BBS (включаючи http://, напр. http://www.yourdomain.tld/forum)',
+  'relative_path_of_forum_from_webroot' => 'Відносний шлях до форуму',
+  'relative_path_of_forum_from_webroot_explanation' => 'Відносний шлях вашої BBS від кореня сервера тенет (Приклад: якщо ваш форум має адресу http://www.yourdomain.tld/forum/, введіть &quot;/forum/&quot;)',
+  'relative_path_to_config_file' => 'Відносний шлях до конфігураційного файлу вашої BBS',
+  'relative_path_to_config_file_explanation' => 'Відносний шлях до конфігураційного файлу вашої BBS, який починається з теки Coppermine (напр. &quot;../forum/&quot; якщо ваш форум є за адресою http://www.yourdomain.tld/forum/, а Coppermine - http://www.yourdomain.tld/gallery/)',
+  'cookie_prefix' => 'Префікс для коржиків',
+  'cookie_prefix_explanation' => 'це має бути префікс для коржиків вашого форуму',
+  'table_prefix' => 'Префікс таблиць',
+  'table_prefix_explanation' => 'Повинен відповідати префіксу, який було обрано при інсталяції вашого форуму.',
+  'user_table' => 'Таблиця з користувачами',
+  'user_table_explanation' => '(як правило, типове значення має підійти, хіба якщо ваш форум було інстальовано нестандартним чином)',
+  'session_table' => 'Таблиця сесій',
+  'session_table_explanation' => '(як правило, типове значення має підійти, хіба якщо ваш форум було інстальовано нестандартним чином)',
+  'group_table' => 'Таблиця груп',
+  'group_table_explanation' => '(як правило, типове значення має підійти, хіба якщо ваш форум було інстальовано нестандартним чином)',
+  'group_relation_table' => 'Таблиця відношень груп',
+  'group_relation_table_explanation' => '(як правило, типове значення має підійти, хіба якщо ваш форум було інстальовано нестандартним чином)',
+  'group_mapping_table' => 'Таблиця відповідності груп',
+  'group_mapping_table_explanation' => '(як правило, типове значення має підійти, хіба якщо ваш форум було інстальовано нестандартним чином)',
+  'use_standard_groups' => 'Використовувати стандартні групи форуму',
+  'use_standard_groups_explanation' => 'Використовувати стандартні (вбудовані) групи користувачів (рекомендується). Це скасує всі нестандартні налаштування на цій сторінці. Відключайте цю опцію тільки якщо ТОЧНО знаєте, що робите!',
+  'validating_group' => 'Група до перевірки',
+  'validating_group_explanation' => 'ID групи вашої BBS куди заносяться користувачі BBS, які очікують на підтвердження своєї реєстрації (як правило, типове значення має підійти, хіба якщо ваш форум було інстальовано нестандартним чином)',
+  'guest_group' => 'Гостьова група',
+  'guest_group_explanation' => 'ID групи вашої BBS куди заносяться гості (анонімні користувачі) (типове значення має підійти, міняйте це тільки якщо точно знаєте що робите)',
+  'member_group' => 'Група учасників',
+  'member_group_explanation' => 'ID групи вашої BBS до якої належать &quot;звичайні&quot; користувачі (типове значення має підійти, міняйте це тільки якщо точно знаєте що робите)',
+  'admin_group' => 'Група адміністраторів',
+  'admin_group_explanation' => 'ID групи вашої BBS до якої належать адміністратори (типове значення має підійти, міняйте це тільки якщо точно знаєте що робите)',
+  'banned_group' => 'Блокована група',
+  'banned_group_explanation' => 'ID групи вашої BBS до якої належать заблоковані користувачі (типове значення має підійти, міняйте це тільки якщо точно знаєте що робите)',
+  'global_moderators_group' => 'Група глобальних модераторів',
+  'global_moderators_group_explanation' => 'ID групи вашої BBS до якої належать глобальні модератори (типове значення має підійти, міняйте це тільки якщо точно знаєте що робите)',
+  'special_settings' => 'Особливі налаштування',
+  'logout_flag' => 'Версія phpBB (прапорець виходу)',
+  'logout_flag_explanation' => 'Введіть версію вашої BBS (у залежності від версії phpBB по різному буде виконуватися вихід з системи)',
+  'use_post_based_groups' => 'Використовувати групи, що базуються на кількості повідомлень?',
+  'logout_flag_yes' => '2.0.5 або вище',
+  'logout_flag_no' => '2.0.4 або нижче',
+  'use_post_based_groups_explanation' => 'Чи повинні групи з BBS враховувати кількість постів на форумі (дозволяє дуже точне керування правами) або одноразово згенерувати групи (простіше в адмініструванні - рекомендовано). Це налаштування можна змінити потім.',
+  'use_post_based_groups_yes' => 'так',
+  'use_post_based_groups_no' => 'ні',
+  'error_title' => 'Усуньте ці помилки перед тим як продовжити. Поверніться на попередній екран.',
+  'error_specify_bbs' => 'Ви повинні вказати з якою програмою ви хочете інтегрувати Coppermine.',
+  'error_no_blank_name' => 'Введіть назву власного файлу інтеграції.',
+  'error_no_special_chars' => 'Назва власного файлу інтеграції не повинна містити спеціальних символів крім підкреслення (_) та мінуса (-)!',
+  'error_bridge_file_not_exist' => 'Файл інтеграції %s не знайдено на сервері. Переконайтеся, що ви дійсно його туди поклали.',
+  'finalize' => 'активувати/відключити інтеграцію з BBS',
+  'finalize_explanation' => 'На даний момент налаштування вказані вами було збережено в базу даних, але інтеграцію з BBS не було активовано. Ви можете активовувати або відключати інтеграцію в будь-який час. Пильнуйте, щоб не забути адміністративний пароль Coppermine для автономного режиму, він вам може згодитися пізніше, коли ви захочете внести зміни у ці налаштування. Якщо щось працюватиме неправильно, перейдіть до %s та відключіть там інтеграцію з BBS, використовуючи ваш автономний адмінський доступ (без інтеграції) - як правило, цей доступ налаштовується під час інсталяції Coppermine).',
+  'your_bridge_settings' => 'Налаштування вашого інтегратора',
+  'title_enable' => 'Активувати інтеграцію з %s',
+  'bridge_enable_yes' => 'активувати',
+  'bridge_enable_no' => 'відключити',
+  'error_must_not_be_empty' => 'не може бути порожнім',
+  'error_either_be' => 'має бути або %s, або %s',
+  'error_folder_not_exist' => '%s не існує. Виправте значення, введене для %s',
+  'error_cookie_not_readible' => 'Coppermine не може прочитати коржика %s. Виправте значення, що ви ввели для %s, або запустіть панель адміністрування вашої BBS і переконайтеся що шлях до коржика доступний для читання галереєю.',
+  'error_mandatory_field_empty' => 'Не залишайте поле %s порожнім - введіть правильне значення.',
+  'error_no_trailing_slash' => 'Поле %s не повинно завершуватися слешами.',
+  'error_trailing_slash' => 'Поле %s повинно завершуватися слешами.',
+  'error_db_connect' => 'Не можу під`єднатися до mySQL використовуючи інформацію, що ви вказали. mySQL каже:',
+	'error_db_name' => 'Хоча Coppermine вдалося під`єднатися до сервера, йому не вдалося знайти базу %s. Переконайтеся, що ви вказали %s правильно. mySQL каже:',
+  'error_prefix_and_table' => '%s та ',
+  'error_db_table' => 'Не можу знайти таблицю %s. Переконайтеся, що ви вказали %s правильно.',
+  'recovery_title' => 'Майстер Інтеграції: аварійне відновлення',
+  'recovery_explanation' => 'Якщо ви хочете налаштувати інтеграцію галереї з вашою BBS, вам необхідно спочатку авторизуватися як адміністратор. Якщо ви не можете авторизуватися через некоректну роботу інтегратора, ви можете відключити інтеграцію на цій же ж сторінці. Введення імені та пароля не дасть вам доступу до системи, а просто відключить інтеграцію з BBS. Перегляньте документацію якщо потребуєте детальнішої інформації.',
+  'username' => 'Користувач',
+  'password' => 'Пароль',
+  'disable_submit' => 'submit',
+  'recovery_success_title' => 'Авторизація відбулася успішно',
+  'recovery_success_content' => 'Ви відключили інтеграцію з BBS. Ваша галерея Coppermine тепер працює в автономному режимі.',
+  'recovery_success_advice_login' => 'Ввійдіть як адміністратор для редагування налаштувань та/або повторного ввімкнення інтеграції з BBS.',
+  'goto_login' => 'Перейти на сторінку входу',
+  'goto_bridgemgr' => 'Перейти до менеджера інтеграції',
+  'recovery_failure_title' => 'Авторизація зазнала невдачі',
+  'recovery_failure_content' => 'Ви вказали неправильні дані для входу. Вкажіть дані адміністратора автономного режиму (зазвичай, це користувач, якого було створено при встановлення Coppermine).',
+  'try_again' => 'спробуйте знову',
+  'recovery_wait_title' => 'Час затримки ще не закінчився',
+  'recovery_wait_content' => 'З причин безпеки цей скрипт не дозволяє авторизовуватися зразу ж після невдалої спроби, зачекайте трохи часу перш, ніж пробувати знову.',
+  'wait' => 'чекайте',
+  'create_redir_file' => 'Створити файл перенаправлення (рекомендовано)',
+  'create_redir_file_explanation' => 'Для перенаправлення користувачів назад у Coppermine після успішної авторизації вам знадобиться файл перенаправлення, який має зберігатися у теці BBS. Коли ця опція увімкнена, менеджер інтеграції спробує його створити, або просто згенерує для вас фрагмент коду, який можна буде скопіювати при створенні такого файла вручну.',
+  'browse' => 'перегляд',
+);
+
+// ------------------------------------------------------------------------- //
+// File calendar.php //cpg1.4
+// ------------------------------------------------------------------------- //
+
+if (defined('CALENDAR_PHP')) $lang_calendar_php = array(
+  'title' => 'Календар', //cpg1.4
+  'close' => 'закрити', //cpg1.4
+  'clear_date' => 'очистити дату', //cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File catmgr.php
+// ------------------------------------------------------------------------- //
+
+if (defined('CATMGR_PHP')) $lang_catmgr_php = array(
+  'miss_param' => 'Не надано параметри, потрібні для виконання операції \'%s\'!',
+  'unknown_cat' => 'Вибрана категорія не існує в базі',
+  'usergal_cat_ro' => 'Категорію галерей користувачів не може бути видалено!',
+  'manage_cat' => 'Керування категоріями',
+  'confirm_delete' => 'Ви дійсно бажаєте видалити цю категорію?', //js-alert
+  'category' => 'Категорія',
+  'operations' => 'Дії',
+  'move_into' => 'Перемістити до',
+  'update_create' => 'Поновити/Створити категорію',
+  'parent_cat' => 'Категорія вищого рівня',
+  'cat_title' => 'Назва категорії',
+  'cat_thumb' => 'Лого категорії',
+  'cat_desc' => 'Опис категорії',
+  'categories_alpha_sort' => 'Сортувати категорії за алфавітом (замість ручного режиму сортування)', //cpg1.4
+  'save_cfg' => 'Зберегти налаштування', //cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File admin.php //cpg1.4
+// ------------------------------------------------------------------------- //
+
+if (defined('ADMIN_PHP')) $lang_admin_php = array(
+  'title' => 'Налаштування', //cpg1.4
+  'manage_exif' => 'Керування показом exif', //cpg1.4
+  'manage_plugins' => 'Керування плагінами', //cpg1.4
+  'manage_keyword' => 'Керування ключовими словами', //cpg1.4
+  'restore_cfg' => 'Відновити типові налаштування',
+  'save_cfg' => 'Зберегти нові налаштування',
+  'notes' => 'Нотатки',
+  'info' => 'Інформація',
+  'upd_success' => 'Налаштування було поновлено',
+  'restore_success' => 'Типові налаштування відновлено',
+  'name_a' => 'Ім`я [зростання]',
+  'name_d' => 'Ім`я [спадання]',
+  'title_a' => 'Назва [зростання]',
+  'title_d' => 'Назва [спадання]',
+  'date_a' => 'Дата [зростання]',
+  'date_d' => 'Дата [спадання]',
+  'pos_a' => 'Пор. номер [зростання]', //cpg1.4
+  'pos_d' => 'Пор. номер [спадання]', //cpg1.4
+  'th_any' => 'Макс. розмір',
+  'th_ht' => 'Висота',
+  'th_wd' => 'Ширина',
+  'label' => 'мітка',
+  'item' => 'елемент',
+  'debug_everyone' => 'Будь-хто',
+  'debug_admin' => 'Тільки адміністратор',
+  'no_logs'=> 'Вимкнено', //cpg1.4
+  'log_normal'=> 'Нормально', //cpg1.4
+  'log_all' => 'Все', //cpg1.4
+  'view_logs' => 'Подивитися журнали', //cpg1.4
+  'click_expand' => 'клацніть по назві секції для розгортання', //cpg1.4
+  'expand_all' => 'Розгорнути все', //cpg1.4
+  'notice1' => '(*) Ці налаштування не повинні мінятися, якщо ви вже маєте файли у базі даних.', //cpg1.4 - (relocated)
+  'notice2' => '(**) Після зміни цього налаштування, тільки файли, що додаються з цього моменту будуть створені згідно нових правил, тому це налаштування не рекомендується змінювати, якщо у вас вже є в базі якісь файли. Однак, ви можете перетворити існуючі файли згідно змін налаштувань, використовуючи пункт &quot;<a href="util.php">інструменти адміністратора</a> (зміна розмірів)&quot; з меню адміністратора.', //cpg1.4 - (relocated)
+  'notice3' => '(***) Всі журнали ведуться англійською мовою.', //cpg1.4 - (relocated)
+  'bbs_disabled' => 'Функція відключена якщо працює інтеграція з bb', //cpg1.4
+  'auto_resize_everyone' => 'Всі', //cpg1.4
+  'auto_resize_user' => 'Тільки користувач', //cpg1.4
+  'ascending' => 'за зростанням', //cpg1.4
+  'descending' => 'за спаданням', //cpg1.4
+);
+
+if (defined('ADMIN_PHP')) $lang_admin_data = array(
+  'Загальні Налаштування',
+  array('Назва галереї', 'gallery_name', 0, 'f=index.htm&amp;as=admin_general_name&amp;ae=admin_general_name_end'), //cpg1.4
+  array('Опис галереї', 'gallery_description', 0, 'f=index.htm&amp;as=admin_general_description&amp;ae=admin_general_description_end'), //cpg1.4
+  array('Email адміністратора', 'gallery_admin_email', 0, 'f=index.htm&amp;as=admin_general_email&amp;ae=admin_general_email_end'), //cpg1.4
+  array('Повний URL до вашої галереї (без \'index.php\' чи чогось такого в кінці)', 'ecards_more_pic_target', 0, 'f=index.htm&amp;as=admin_general_coppermine-url&amp;ae=admin_general_coppermine-url_end'), //cpg1.4
+  array('URL вашої домашньої сторінки', 'home_target', 0, 'f=index.htm&amp;as=admin_general_home-url&amp;ae=admin_general_home-url_end'), //cpg1.4
+  array('Дозволити викачування ZIP-архіву улюблених фото', 'enable_zipdownload', 1, 'f=index.htm&amp;as=admin_general_zip-download&amp;ae=admin_general_zip-download_end'), //cpg1.4
+  array('Відхилення вашого часового поясу від GMT (теперішній час: ' . localised_date(-1, $comment_date_fmt) . ')','time_offset',0, 'f=index.htm&amp;as=admin_general_time-offset&amp;ae=admin_general_time-offset_end&amp;top=1'), //cpg1.4
+  array('Дозволити шифрування паролів (не може бути потім скасовано)','enable_encrypted_passwords',1, 'f=index.htm&amp;as=admin_general_encrypt_password_start&amp;ae=admin_general_encrypt_password_end&amp;top=1'), // cpg 1.4
+  array('Дозволити іконки довідки (довідка є тільки англійською мовою)','enable_help',9, 'f=index.htm&amp;as=admin_general_help&amp;ae=admin_general_help_end'), //cpg1.4
+  array('Дозволити клацання по ключових словах під час пошуку','clickable_keyword_search',14, 'f=index.htm&amp;as=admin_general_keywords_start&amp;ae=admin_general_keywords_end'), //cpg1.4
+  array('Дозволити плагіни', 'enable_plugins', 12, 'f=index.htm&amp;as=admin_general_enable-plugins&amp;ae=admin_general_enable-plugins_end'),  //cpg1.4
+  array('Дозволити блокування IP адрес з приватних підмереж', 'ban_private_ip', 1,  'f=index.htm&amp;as=admin_general_private-ip&amp;ae=admin_general_private-ip_end'), //cpg1.4
+  array('Інтерфейс додавання пачками', 'browse_batch_add', 1, 'f=index.htm&amp;as=admin_general_browsable_batch_add&amp;ae=admin_general_browsable_batch_add_end'), //cpg1.4
+
+  'Мови та таблиці кодування',
+  array('Мова', 'lang', 5, 'f=index.htm&amp;as=admin_language_language&amp;ae=admin_language_language_end'), //cpg1.4
+  array('Знайти англійський замінник у випадку неповного перекладу?', 'language_fallback', 1, 'f=index.htm&amp;as=admin_language_fallback&amp;ae=admin_language_fallback_end'), //cpg1.4
+  array('Таблиця кодування', 'charset', 4, 'f=index.htm&amp;as=admin_language_charset&amp;ae=admin_language_charset_end'), //cpg1.4
+  array('Показувати список мов', 'language_list', 1, 'f=index.htm&amp;as=admin_language_list&amp;ae=admin_language_list_end'), //cpg1.4
+  array('Показувати прапорці мов', 'language_flags', 8, 'f=index.htm&amp;as=admin_language_flags&amp;ae=admin_language_flags_end&amp;top=1'), //cpg1.4
+  array('Дозволити &quot;скидання&quot; мови у списку мов', 'language_reset', 1, 'f=index.htm&amp;as=admin_language_reset&amp;ae=admin_language_reset_end&amp;top=1'), //cpg1.4
+  //array('Display previous/next on tabbed pages', 'previous_next_tab', 1), //cpg1.4
+
+  'Налаштування тем',
+  array('Тема', 'theme', 6, 'f=index.htm&amp;as=admin_theme_theme&amp;ae=admin_theme_theme_end'), //cpg1.4
+  array('Показувати список тем', 'theme_list', 1, 'f=index.htm&amp;as=admin_theme_theme_list&amp;ae=admin_theme_theme_list_end'), //cpg1.4
+  array('Дозволити &quot;скидання&quot; при виборі тем', 'theme_reset', 1, 'f=index.htm&amp;as=admin_theme_theme_reset&amp;ae=admin_theme_theme_reset_end'), //cpg1.4
+  array('Показати ЧАПи', 'display_faq', 1, 'f=index.htm&amp;as=admin_theme_faq&amp;ae=admin_theme_faq_end'), //cpg1.4
+  array('Назва додаткового пункту меню', 'custom_lnk_name', 0,'f=index.htm&amp;as=admin_theme_custom_lnk_name&amp;ae=admin_theme_custom_lnk_name_end'), //cpg1.4
+  array('URL додаткового пункту меню', 'custom_lnk_url', 0,'f=index.htm&amp;as=admin_language_custom_lnk_url&amp;ae=admin_language_custom_lnk_url_end'), //cpg1.4
+  array('Показувати підказки bbcode', 'show_bbcode_help', 1, 'f=index.htm&amp;as=admin_theme_bbcode&amp;ae=admin_theme_bbcode_end&amp;top=1'), //cpg1.4
+  array('Позначати спеціально теми, які задекларовано як XHTML та CSS сумісні','vanity_block',1, 'f=index.htm&amp;as=vanity_block&amp;ae=vanity_block_end'), //cpg1.4
+  array('Шлях до файла з вашим кодом шапки сторінки', 'custom_header_path', 0, 'f=index.htm&amp;as=admin_theme_include_path_start&amp;ae=admin_theme_include_path_end'), //cpg1.4
+  array('Шлях до файла з вашим кодом низу сторінки', 'custom_footer_path', 0, 'f=index.htm&amp;as=admin_theme_include_path_start&amp;ae=admin_theme_include_path_end'), //cpg1.4
+
+  'Сторінка списку альбомів',
+  array('Ширина головної таблиці (пікселі або %)', 'main_table_width', 0, 'f=index.htm&amp;as=admin_album_table-width&amp;ae=admin_album_table-width_end'), //cpg1.4
+  array('Глибина рівнів категорій до показу', 'subcat_level', 0, 'f=index.htm&amp;as=admin_album_category-levels&amp;ae=admin_album_category-levels_end'), //cpg1.4
+  array('Макс кількість альбомів на сторінку', 'albums_per_page', 0, 'f=index.htm&amp;as=admin_album_number&amp;ae=admin_album_number_end'), //cpg1.4
+  array('Кількість колонок у списку альбомів', 'album_list_cols', 0, 'f=index.htm&amp;as=admin_album_columns&amp;ae=admin_album_columns_end'), //cpg1.4
+  array('Розмір слайдів в пікселях', 'alb_list_thumb_size', 0, 'f=index.htm&amp;as=admin_album_thumbnail-size&amp;ae=admin_album_thumbnail-size_end'), //cpg1.4
+  array('Наповнення головної сторінки', 'main_page_layout', 0, 'f=index.htm&amp;as=admin_album_list_content&amp;ae=admin_album_list_content_end'), //cpg1.4
+  array('Показати для категорій слайди фото з альбомів першого рівня','first_level',1, 'f=index.htm&amp;as=admin_album_first-level_thumbs&amp;ae=admin_album_first-level_thumbs_end'), //cpg1.4
+  array('Сортувати категорії за алфавітом (замість довільного способу сортування)','categories_alpha_sort',1, 'f=index.htm&amp;as=admin_album_list_alphasort_start&amp;ae=admin_album_list_alphasort_end'), //cpg1.4
+  array('Показувати кількість під`єднаних файлів','link_pic_count',1, 'f=index.htm&amp;as=admin_album_linked_files_start&amp;ae=admin_album_linked_files_end'), //cpg1.4
+
+  'Показ слайдів',
+  array('Кількість колонок на сторінці слайдів', 'thumbcols', 0, 'f=index.htm&amp;as=admin_thumbnail_columns&amp;ae=admin_thumbnail_columns_end'), //cpg1.4
+  array('Кількість рядочків на сторінці слайдів', 'thumbrows', 0, 'f=index.htm&amp;as=admin_thumbnail_rows&amp;ae=admin_thumbnail_rows_end'), //cpg1.4
+  array('Макс. кількість закладок', 'max_tabs', 10, 'f=index.htm&amp;as=admin_thumbnail_tabs&amp;ae=admin_thumbnail_tabs_end'), //cpg1.4
+  array('Показувати заголовок (на додачу до назви фото) під слайдом', 'caption_in_thumbview', 1, 'f=index.htm&amp;as=admin_thumbnail_display_caption&amp;ae=admin_thumbnail_display_caption_end'), //cpg1.4
+  array('Показувати кількість переглядів під слайдом', 'views_in_thumbview', 1, 'f=index.htm&amp;as=admin_thumbnail_display_views&amp;ae=admin_thumbnail_display_views_end'), //cpg1.4
+  array('Показувати кількість коментарів під слайдом', 'display_comment_count', 1, 'f=index.htm&amp;as=admin_thumbnail_display_comments&amp;ae=admin_thumbnail_display_comments_end'), //cpg1.4
+  array('Показувати ім`я власника під слайдом', 'display_uploader', 1, 'f=index.htm&amp;as=admin_thumbnail_display_uploader&amp;ae=admin_thumbnail_display_uploader_end'), //cpg1.4
+  //array('Display name of admin uploaders below the thumbnail', 'display_admin_uploader', 1, 'f=index.htm&amp;as=admin_thumbnail_display_admin_uploader&amp;ae=admin_thumbnail_display_admin_uploader_end'), //cpg1.4
+  array('Показувати назву файла під слайдом', 'display_filename', 1, 'f=index.htm&amp;as=admin_thumbnail_display_filename&amp;ae=admin_thumbnail_display_filename_end'), //cpg1.4
+  //array('Показувати опис альбому', 'alb_desc_thumb', 1, 'f=index.htm&amp;as=admin_thumbnail_display_description&amp;ae=admin_thumbnail_display_description_end'), //cpg1.4
+  array('Типовий спосіб сортування', 'default_sort_order', 3, 'f=index.htm&amp;as=admin_thumbnail_default_sortorder&amp;ae=admin_thumbnail_default_sortorder_end'), //cpg1.4
+  array('Мін. кількість голосів для потрапляння у список \'популярних\'', 'min_votes_for_rating', 0, 'f=index.htm&amp;as=admin_thumbnail_minimum_votes&amp;ae=admin_thumbnail_minimum_votes_end'), //cpg1.4
+
+  'Сторінка перегляду фото', //cpg1.4
+  array('Ширина таблиці для показу фото (пікселі або %)', 'picture_table_width', 0, 'f=index.htm&amp;as=admin_image_comment_table-width&amp;ae=admin_image_comment_table-width_end'), //cpg1.4
+  array('Показувати типово інформація про файл', 'display_pic_info', 1, 'f=index.htm&amp;as=admin_image_comment_info_visible&amp;ae=admin_image_comment_info_visible_end'), //cpg1.4
+  array('Макс. довжина опису фото', 'max_img_desc_length', 0, 'f=index.htm&amp;as=admin_image_comment_descr_length&amp;ae=admin_image_comment_descr_length_end'), //cpg1.4
+  array('Макс. кількість символів у слові', 'max_com_wlength', 0, 'f=index.htm&amp;as=admin_image_comment_chars_per_word&amp;ae=admin_image_comment_chars_per_word_end'), //cpg1.4
+  array('Показати фото як кадри плівки', 'display_film_strip', 1, 'f=index.htm&amp;as=admin_image_comment_filmstrip_toggle&amp;ae=admin_image_comment_filmstrip_toggle_end'), //cpg1.4
+  array('Показати імена файлів під кадрами плівки', 'display_film_strip_filename', 1, 'f=index.htm&amp;as=admin_image_comment_display_film_strip_filename&amp;ae=admin_image_comment_display_film_strip_filename_end'), //cpg1.4
+  array('Кількість фото в стрічці плівки', 'max_film_strip_items', 0, 'f=index.htm&amp;as=admin_image_comment_filmstrip_number&amp;ae=admin_image_comment_filmstrip_number_end'), //cpg1.4
+  array('Затримка показу слайдів (1 секунда = 1000 мілісекунд :-)', 'slideshow_interval', 0, 'f=index.htm&amp;as=admin_image_comment_slideshow_interval&amp;ae=admin_image_comment_slideshow_interval_end'), //cpg1.4
+
+  'Коментарі', //cpg1.4
+  array('Відфільтровувати погані слова у коментарях', 'filter_bad_words', 1, 'f=index.htm&amp;as=admin_image_comment_bad_words&amp;ae=admin_image_comment_bad_words_end'), //cpg1.4
+  array('Дозволити смайлики у коментарях', 'enable_smilies', 1, 'f=index.htm&amp;as=admin_image_comment_smilies&amp;ae=admin_image_comment_smilies_end'), //cpg1.4
+  array('Дозволити кілька коментарів до одного фото від одного користувача (відключити захист від флуду)', 'disable_comment_flood_protect', 1, 'f=index.htm&amp;as=admin_image_comment_flood&amp;ae=admin_image_comment_flood_end'), //cpg1.4
+  array('Макс. кількість стрічок в коментарі', 'max_com_lines', 0, 'f=index.htm&amp;as=admin_image_comment_lines&amp;ae=admin_image_comment_lines_end'), //cpg1.4
+  array('Макс довжина коментаря', 'max_com_size', 0, 'f=index.htm&amp;as=admin_image_comment_length&amp;ae=admin_image_comment_length_end'), //cpg1.4
+  array('Повідомляти адміністратора поштою про появу коментарів', 'email_comment_notification', 1, 'f=index.htm&amp;as=admin_image_comment_admin_notify&amp;ae=admin_image_comment_admin_notify_end'), //cpg1.4
+  array('Сортування коментарів', 'comments_sort_descending', 17, 'f=index.htm&amp;as=admin_comment_sort_start&amp;ae=admin_comment_sort_end'), //cpg1.4
+  array('Префікс для коментарів анонімних авторів', 'comments_anon_pfx', 0, 'f=index.htm&amp;as=comments_anon_pfx&amp;ae=comments_anon_pfx_end'), //cpg1.4
+
+  'Файли і слайди',
+  array('Рівень якості JPEG файлів', 'jpeg_qual', 0, 'f=index.htm&amp;as=admin_picture_thumbnail_jpeg_quality&amp;ae=admin_picture_thumbnail_jpeg_quality_end'), //cpg1.4
+  array('Макс. розміри слайдів <a href="#notice2" class="clickable_option">**</a>', 'thumb_width', 0, 'f=index.htm&amp;as=admin_picture_thumbnail_max-dimension&amp;ae=admin_picture_thumbnail_max-dimension_end'), //cpg1.4
+  array('Обмежити розміри ( ширина або висота ) <a href="#notice2" class="clickable_option">**</a>', 'thumb_use', 7, 'f=index.htm&amp;as=admin_picture_thumbnail_use-dimension&amp;ae=admin_picture_thumbnail_use-dimension_end'), //cpg1.4
+  array('Створювати проміжні фото','make_intermediate',1, 'f=index.htm&amp;as=admin_picture_thumbnail_intermediate_toggle&amp;ae=admin_picture_thumbnail_intermediate_toggle_end'), //cpg1.4
+  array('Макс. висота або ширина проміжних фото/відео <a href="#notice2" class="clickable_option">**</a>', 'picture_width', 0, 'f=index.htm&amp;as=admin_picture_thumbnail_intermediate_dimension&amp;ae=admin_picture_thumbnail_intermediate_dimension_end'), //cpg1.4
+  array('Макс розмір файлів до закачування (KB)', 'max_upl_size', 0, 'f=index.htm&amp;as=admin_picture_thumbnail_max_upload_size&amp;ae=admin_picture_thumbnail_max_upload_size_end'), //cpg1.4
+  array('Макс. висота або ширина фото/відео файлів під час закачуваня', 'max_upl_width_height', 0, 'f=index.htm&amp;as=admin_picture_thumbnail_max_upload_dimension&amp;ae=admin_picture_thumbnail_max_upload_dimension_end'), //cpg1.4
+  array('Автоматично масштабувати фото, які перевищують граничні розміри', 'auto_resize', 16, 'f=index.htm&amp;as=admin_picture_thumbnail_auto-resize&amp;ae=admin_picture_thumbnail_auto-resize_end'), //cpg1.4
+
+  'Файли і слайди - тонкі налаштування',
+  array('Альбоми можуть бути приватними (Примітка: якщо ви переключаєтеся з  \'так\' на \'ні\' всі приватні альбоми стануть публічними)', 'allow_private_albums', 1, 'f=index.htm&amp;as=admin_picture_thumb_advanced_private_toggle&amp;ae=admin_picture_thumb_advanced_private_toggle_end'), //cpg1.4
+  array('Показувати піктограму приватного альбому незареєстрованим користувачам','show_private',1, 'f=index.htm&amp;as=admin_picture_thumb_advanced_private_icon_show&amp;ae=admin_picture_thumb_advanced_private_icon_show_end'), //cpg1.4
+  array('Символи, заборонені в іменах файлів', 'forbiden_fname_char',0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_filename_forbidden_chars&amp;ae=admin_picture_thumb_advanced_filename_forbidden_chars_end'), //cpg1.4
+  //array('Accepted file extensions for uploaded pictures', 'allowed_file_extensions',0, 'f=index.htm&amp;as=&amp;ae=_end'), //cpg1.4
+  array('Дозволені типи файлів зображень', 'allowed_img_types',0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_pic_extensions&amp;ae=admin_picture_thumb_advanced_pic_extensions_end'), //cpg1.4
+  array('Дозволені типи файлів відео', 'allowed_mov_types',0, 'f=index.htm&amp;as=admin_thumbs_advanced_movie&amp;ae=admin_thumbs_advanced_movie_end'), //cpg1.4
+  array('Автоматично стартувати відтворення відео', 'media_autostart',1, 'f=index.htm&amp;as=admin_movie_autoplay&amp;ae=admin_movie_autoplay_end'), //cpg1.4
+  array('Дозволені типи файлів звуку', 'allowed_snd_types',0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_audio_extensions&amp;ae=admin_picture_thumb_advanced_audio_extensions_end'), //cpg1.4
+  array('Дозволені типи файлів документів', 'allowed_doc_types',0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_doc_extensions&amp;ae=admin_picture_thumb_advanced_doc_extensions_end'), //cpg1.4
+  array('Метод мастабування фото','thumb_method',2, 'f=index.htm&amp;as=admin_picture_thumb_advanced_resize_method&amp;ae=admin_picture_thumb_advanced_resize_method_end'), //cpg1.4
+  array('Шлях до утиліти ImageMagick \'convert\' (напр. /usr/bin/X11/)', 'impath', 0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_im_path&amp;ae=admin_picture_thumb_advanced_im_path_end'), //cpg1.4
+  //array('Allowed image types (only valid for ImageMagick)', 'allowed_img_types',0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_allowed_imagetypes&amp;ae=admin_picture_thumb_advanced_allowed_imagetypes_end'), //cpg1.4
+  array('Параметри командної стрічки для ImageMagick', 'im_options', 0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_im_commandline&amp;ae=admin_picture_thumb_advanced_im_commandline_end'), //cpg1.4
+  array('Вичитувати дані EXIF із JPEG файлів', 'read_exif_data', 13, 'f=index.htm&amp;as=admin_picture_thumb_advanced_exif&amp;ae=admin_picture_thumb_advanced_exif_end'), //cpg1.4
+  array('Вичитувати IPTC дані із JPEG файлів', 'read_iptc_data', 1, 'f=index.htm&amp;as=admin_picture_thumb_advanced_iptc&amp;ae=admin_picture_thumb_advanced_iptc_end'), //cpg1.4
+  array('Тека з вмістом альбомів <a href="#notice1" class="clickable_option">*</a>', 'fullpath', 0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_albums_dir&amp;ae=admin_picture_thumb_advanced_albums_dir_end'), //cpg1.4
+  array('Тека для файлів користувачів <a href="#notice1" class="clickable_option">*</a>', 'userpics', 0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_userpics_dir&amp;ae=admin_picture_thumb_advanced_userpics_dir_end'), //cpg1.4
+  array('Префікс для проміжних файлів<a href="#notice1" class="clickable_option">*</a>', 'normal_pfx', 0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_intermediate_prefix&amp;ae=admin_picture_thumb_advanced_intermediate_prefix_end'), //cpg1.4
+  array('Префікс для слайдів <a href="#notice1" class="clickable_option">*</a>', 'thumb_pfx', 0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_thumbs_prefix&amp;ae=admin_picture_thumb_advanced_thumbs_prefix_end'), //cpg1.4
+  array('Стандартні атрибути доступу для тек галереї', 'default_dir_mode', 0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_chmod_folder&amp;ae=admin_picture_thumb_advanced_chmod_folder_end'), //cpg1.4
+  array('Стандартні атрибути доступу для файлів галереї', 'default_file_mode', 0, 'f=index.htm&amp;as=admin_picture_thumb_advanced_chmod_files&amp;ae=admin_picture_thumb_advanced_chmod_files_end'), //cpg1.4
+
+  'Користувачі',
+  array('Дозволити реєстрацію нових користувачів', 'allow_user_registration', 1, 'f=index.htm&amp;as=admin_allow_registration&amp;ae=admin_allow_registration_end'), //cpg1.4
+  array('Дозволити доступ неавторизованим користувачам (гостям або анонімним)', 'allow_unlogged_access', 1, 'f=index.htm&amp;as=admin_allow_unlogged_access&amp;ae=admin_allow_unlogged_access_end'), //cpg1.4
+  array('Реєстрація користувача вимагає підтвердження поштою', 'reg_requires_valid_email', 1, 'f=index.htm&amp;as=admin_registration_verify&amp;ae=admin_registration_verify_end'), //cpg1.4
+  array('Повідомити адміністратора поштою про реєстрацію нового користувача', 'reg_notify_admin_email', 1, 'f=index.htm&amp;as=admin_registration_notify&amp;ae=admin_registration_notify_end'), //cpg1.4
+  array('Реєстрація вимагає підтвердження адміністратора', 'admin_activation', 1, 'f=index.htm&amp;as=admin_activation&amp;ae=admin_activation_end'),  //cpg1.4
+  array('Дозволити кільком користувачам мати однакову Email адресу', 'allow_duplicate_emails_addr', 1, 'f=index.htm&amp;as=admin_allow_duplicate_emails_addr&amp;ae=admin_allow_duplicate_emails_addr_end'), //cpg1.4
+  array('Повідомляти адміністратора про додані файли, що вимагають підтвердження', 'upl_notify_admin_email', 1, 'f=index.htm&amp;as=admin_approval_notify&amp;ae=admin_approval_notify_end'), //cpg1.4
+  array('Дозволити авторизованим користувачам бачити список всіх користувачів', 'allow_memberlist', 1, 'f=index.htm&amp;as=admin_user_memberlist&amp;ae=admin_user_memberlist_end'), //cpg1.4
+  array('Дозволити зареєстрованим користувачам змінювати свою електронну адресу', 'allow_email_change', 1, 'f=index.htm&amp;as=admin_user_allow_email_change&amp;ae=admin_user_allow_email_change_end'), //cpg1.4
+  array('Дозволити користувачам контролювати їхні фотографії в загальних галереях', 'users_can_edit_pics', 1, 'f=index.htm&amp;as=admin_user_editpics_public_start&amp;ae=admin_user_editpics_public_end'), //cpg1.4
+  array('Кількість невдалих спроб авторизації до тимчасового блокування користувача (щоб уникнути підбору паролів)', 'login_threshold', 0, 'f=index.htm&amp;as=admin_user_login_start&amp;ae=admin_user_login_end'), //cpg1.4
+  array('Тривалість тимчасового блокування після невдалих спроб авторизації', 'login_expiry', 0, 'f=index.htm&amp;as=admin_user_login_start&amp;ae=admin_user_login_end'), //cpg1.4
+  array('Дозволити відсилання скарг адміністратору', 'report_post', 1, 'f=index.htm&amp;as=admin_user_enable_report&amp;ae=admin_user_enable_report_end'),  //cpg1.4
+
+// custom profile fields,  //cpg1.4
+  'Користувацькі поля в профайлі користувача (залишіть порожніми, якщо не використовується).
+  Використовуйте Поле 6 для довгих текстів типу біографій', //cpg1.4
+  array('Назва поля 1', 'user_profile1_name', 0, 'f=index.htm&amp;as=admin_custom&amp;ae=admin_custom_end'), //cpg1.4
+  array('Назва поля 2', 'user_profile2_name', 0), //cpg1.4
+  array('Назва поля 3', 'user_profile3_name', 0), //cpg1.4
+  array('Назва поля 4', 'user_profile4_name', 0), //cpg1.4
+  array('Назва поля 5', 'user_profile5_name', 0), //cpg1.4
+  array('Назва поля 6', 'user_profile6_name', 0), //cpg1.4
+
+  'Користувацькі поля в описі фотографії (залишіть порожніми, якщо не використовується)',
+  array('Назва поля 1', 'user_field1_name', 0, 'f=index.htm&amp;as=admin_custom_image&amp;ae=admin_custom_image_end'), //cpg1.4
+  array('Назва поля 2', 'user_field2_name', 0),
+  array('Назва поля 3', 'user_field3_name', 0),
+  array('Назва поля 4', 'user_field4_name', 0),
+
+  'Коржики',
+  array('Назва коржика', 'cookie_name', 0, 'f=index.htm&amp;as=admin_cookie_name&amp;ae=admin_cookie_name_end'), //cpg1.4
+  array('Шлях коржика', 'cookie_path', 0, 'f=index.htm&amp;as=admin_cookie_path&amp;ae=admin_cookie_path_end'), //cpg1.4
+
+  'Налаштування електронної пошти (як правило тут нічого міняти не треба; залишіть все пустим, якщо не впевнені)', //cpg1.4
+  array('SMTP хост (якщо залишено пустим, буде використано sendmail)', 'smtp_host', 0, 'f=index.htm&amp;as=admin_email&amp;ae=admin_email_end'), //cpg1.4
+  array('Користувач SMTP', 'smtp_username', 0), //cpg1.4
+  array('Пароль SMTP', 'smtp_password', 0), //cpg1.4
+
+  'Журнали і статистика', //cpg1.4
+  array('Режим журналювання <a href="#notice3" class="clickable_option">***</a>', 'log_mode', 11, 'f=index.htm&amp;as=admin_logging_log_mode&amp;ae=admin_logging_log_mode_end'), //cpg1.4
+  array('Журналювати електронні листівки', 'log_ecards', 1, 'f=index.htm&amp;as=admin_general_log_ecards&amp;ae=admin_general_log_ecards_end'), //cpg1.4
+  array('Зберігати детальну статистику про голосування','vote_details',1, 'f=index.htm&amp;as=admin_logging_votedetails&amp;ae=admin_logging_votedetails_end'), //cpg1.4
+  array('Зберігати детальну статистику відвідувань','hit_details',1, 'f=index.htm&amp;as=admin_logging_hitdetails&amp;ae=admin_logging_hitdetails_end'), //cpg1.4
+
+  'Підтримка', //cpg1.4
+  array('Включити режим відлагодження', 'debug_mode', 9, 'f=index.htm&amp;as=debug_mode&amp;ae=debug_mode_end'), //cpg1.4
+  array('Показувати повідомлення у режимі відлагоджування', 'debug_notice', 1, 'f=index.htm&amp;as=admin_misc_debug_notices&amp;ae=admin_misc_debug_notices_end'), //cpg1.4
+  array('Галерея зараз відключена', 'offline', 1, 'f=index.htm&amp;as=admin_general_offline&amp;ae=admin_general_offline_end'), //cpg1.4
+);
+
+
+// ------------------------------------------------------------------------- //
+// File db_ecard.php
+// ------------------------------------------------------------------------- //
+
+if (defined('DB_ECARD_PHP')) $lang_db_ecard_php = array(
+  'title' => 'Надіслати листівку',
+  'ecard_sender' => 'Відправник',
+  'ecard_recipient' => 'Отримувач',
+  'ecard_date' => 'Дата',
+  'ecard_display' => 'Показати листівку',
+  'ecard_name' => 'Назва листівки',
+  'ecard_email' => 'Email',
+  'ecard_ip' => 'IP #',
+  'ecard_ascending' => 'за зростанням',
+  'ecard_descending' => 'за спаданням',
+  'ecard_sorted' => 'Сортовано',
+  'ecard_by_date' => 'за датою',
+  'ecard_by_sender_name' => 'за іменем відправника',
+  'ecard_by_sender_email' => 'за Email відправника',
+  'ecard_by_sender_ip' => 'за IP адресою відправника',
+  'ecard_by_recipient_name' => 'за іменем отримувача',
+  'ecard_by_recipient_email' => 'за Email отримувача',
+  'ecard_number' => 'показано записи від %s до %s із %s',
+  'ecard_goto_page' => 'на сторінку',
+  'ecard_records_per_page' => 'Записів на сторінку',
+  'check_all' => 'Відмітити всі',
+  'uncheck_all' => 'Зняти всі відмітки',
+  'ecards_delete_selected' => 'Витерти вибрані листівки',
+  'ecards_delete_confirm' => 'Ви впевнені, що хочете витерти ці листівки? Поставте галочку для підтвердження!',
+  'ecards_delete_sure' => 'Я впевнений',
+);
+
+
+// ------------------------------------------------------------------------- //
+// File db_input.php
+// ------------------------------------------------------------------------- //
+
+if (defined('DB_INPUT_PHP')) $lang_db_input_php = array(
+  'empty_name_or_com' => 'Ви повинні набрати ваше ім`я та коментар',
+  'com_added' => 'Ваш коментар долучено',
+  'alb_need_title' => 'Вкажіть назву альбому!',
+  'no_udp_needed' => 'Оновлення не потрібне.',
+  'alb_updated' => 'Альбом оновлено',
+  'unknown_album' => 'Обраний альбом не існує, або Ви не маєте повноважень для долучення фото до цього альбому',
+  'no_pic_uploaded' => 'Фото не долучено!<br /><br />Перевірте сервер на можливість долучення фото!',
+  'err_mkdir' => 'Помилка при створенні папки %s !',
+  'dest_dir_ro' => 'Папка призначення %s є тільки для читання (для скрипта)!',
+  'err_move' => 'Неможливо перемістити %s в %s !',
+  'err_fsize_too_large' => 'Розмір фото, яке ви долучаєте, завеликий (максимальний: %s x %s) !', //obsolete since cpg1.3 - consider removal in cpg1.4 once upload.php has been overhauled
+  'err_imgsize_too_large' => 'Розмір файлу, який ви долучаєте, завеликий (максимальний: %s Kб) !', //obsolete since cpg1.3 - consider removal in cpg1.4 once upload.php has been overhauled
+  'err_invalid_img' => 'Файл, який ви долучаєте, не виглядає правильним малюнком !',
+  'allowed_img_types' => 'Ви можете долучити тільки %s фото.',
+  'err_insert_pic' => 'Фото \'%s\' не може бути долучене до альбому ',
+  'upload_success' => 'Фото долучено.<br /><br />Після перевірки адміністратором воно з`явиться в альбомі.',
+  'notify_admin_email_subject' => '%s - Повідомлення про долучення',
+  'notify_admin_email_body' => 'Нещодавно %s долучив фото яке потребує вашого підтвердження. Відвідайте %s',
+  'info' => 'Інформація',
+  'com_added' => 'Коментар додано',
+  'alb_updated' => 'Альбом оновлено',
+  'err_comment_empty' => 'Ваш коментар порожній !',
+  'err_invalid_fext' => 'Приймаються файли тільки наступних форматів: <br /><br />%s.',
+  'no_flood' => 'Перепрошую, Ви - автор останнього коментаря до цього фото.<br /><br />Відредагуйте попередній коментар, якщо бажаєте його виправити.',
+  'redirect_msg' => 'Вас буде перенаправлено.<br /><br /><br />Тисніть \'ДАЛІ\' якщо сторінка не оновиться автоматично',
+  'upl_success' => 'Ваші фото долучено',
+  'email_comment_subject' => 'Коментар додано до галереї Coppermine',
+  'email_comment_body' => 'Хтось додав коментар до вашої галереї. Читайте його тут ',
+  'album_not_selected' => 'Альбом не вибрано', //cpg1.4
+  'com_author_error' => 'Зареєстрований користувач вже використовує таке псевдо, авторизуйтеся, або використайте інше', //cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File delete.php
+// ------------------------------------------------------------------------- //
+
+if (defined('DELETE_PHP')) $lang_delete_php = array(
+  'caption' => 'Напис',
+  'fs_pic' => 'повний розмір фото',
+  'del_success' => 'успішно видалено',
+  'ns_pic' => 'нормальний розмір фото',
+  'err_del' => 'видалити неможливо',
+  'thumb_pic' => 'слайд',
+  'comment' => 'коментар',
+  'im_in_alb' => 'фото в альбомі',
+  'alb_del_success' => 'Альбом &laquo;%s&raquo; видалено', //cpg1.4
+  'alb_mgr' => 'Керування альбомом',
+  'err_invalid_data' => 'Невірні дані отримано в \'%s\'',
+  'create_alb' => 'Створення альбому \'%s\'',
+  'update_alb' => 'Оновлення альбому \'%s\' з назвою \'%s\' та індексом \'%s\'',
+  'del_pic' => 'Видалити фото',
+  'del_alb' => 'Видалити альбом',
+  'del_user' => 'Видалити користувача',
+  'err_unknown_user' => 'Обраний користувач не існує !',
+  'err_empty_groups' => 'Таблиці груп не існує, або вона порожня!', //cpg1.4
+  'comment_deleted' => 'Коментар було видалено',
+  'npic' => 'Фото', //cpg1.4
+  'pic_mgr' => 'Керування Фото', //cpg1.4
+  'update_pic' => 'Оновлення фото \'%s\' з назвою \'%s\' та індексом \'%s\'', //cpg1.4
+  'username' => 'Користувач', //cpg1.4
+  'anonymized_comments' => '%s коментар(ів) анонімізовано', //cpg1.4
+  'anonymized_uploads' => '%s публічних долучень анонімізовано', //cpg1.4
+  'deleted_comments' => '%s коментар(ів) видалено', //cpg1.4
+  'deleted_uploads' => '%s публічних долучень видалено', //cpg1.4
+  'user_deleted' => 'користувача %s видалено', //cpg1.4
+  'activate_user' => 'Активувати користувача', //cpg1.4
+  'user_already_active' => 'Користувач вже був активним', //cpg1.4
+  'activated' => 'Активовано', //cpg1.4
+  'deactivate_user' => 'Деактивувати користувача', //cpg1.4
+  'user_already_inactive' => 'Користувач вже був неактивним', //cpg1.4
+  'deactivated' => 'Деактивовано', //cpg1.4
+  'reset_password' => 'Перевстановити пароль(і)', //cpg1.4
+  'password_reset' => 'Пароль перевстановлено на %s', //cpg1.4
+  'change_group' => 'Змінити первинну групу', //cpg1.4
+  'change_group_to_group' => 'Змінюю з %s на %s', //cpg1.4
+  'add_group' => 'Додати вторинну групу', //cpg1.4
+  'add_group_to_group' => 'Додаю користувача %s до групи %s. Він вже є членом групи %s як первинної та %s вторинної(их).', //cpg1.4
+  'status' => 'Статус', //cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File displayecard.php
+// ------------------------------------------------------------------------- //
+
+if (defined('DISPLAYECARD_PHP')) {
+
+$lang_displayecard_php = array(
+  'invalid_data' => 'Дані листівки, яку ви хочете подивитися, були пошкоджені вашою поштовою програмою. Переконайтеся, що передачу завершено.', //cpg1.4
+);
+}
+
+// ------------------------------------------------------------------------- //
+// File displayimage.php
+// ------------------------------------------------------------------------- //
+
+if (defined('DISPLAYIMAGE_PHP')){
+
+$lang_display_image_php = array(
+  'confirm_del' => 'Ви справді бажаєте видалити це фото? \\nКоментарі теж зникнуть.', //js-alert
+  'del_pic' => 'ВИДАЛИТИ ФОТО',
+  'size' => '%s x %s пікселів',
+  'views' => '%s разів',
+  'slideshow' => 'Слайд-шоу',
+  'stop_slideshow' => 'ЗУПИНИТИ СЛАЙД-ШОУ',
+  'view_fs' => 'Клікніть щоб побачити фото повного розміру',
+  'edit_pic' => 'Редагувати дані фото', //cpg1.4
+  'crop_pic' => 'Обрізання та обертання',
+  'set_player' => 'Змінити програвач',
+);
+
+$lang_picinfo = array(
+  'title' =>'Інформація про фото',
+  'Filename' => 'Файл',
+  'Album name' => 'Альбом',
+  'Rating' => 'Рейтинг (%s голосів)',
+  'Keywords' => 'Ключові слова',
+  'File Size' => 'Розмір файлу',
+  'Date Added' => 'Дата долучення', //cpg1.4
+  'Dimensions' => 'Розміри',
+  'Displayed' => 'Переглядів',
+  'URL' => 'URL', //cpg1.4
+  'Make' => 'Виробник', //cpg1.4
+  'Model' => 'Модель', //cpg1.4
+  'DateTime' => 'Дата і час', //cpg1.4
+  'ISOSpeedRatings'=>'ISO', //cpg1.4
+  'MaxApertureValue' => 'Світлосила об`єктива', //cpg1.4
+  'FocalLength' => 'Фокусна відстань', //cpg1.4
+  'Comment' => 'Коментар',
+  'addFav'=>'Долучити до вибраних',
+  'addFavPhrase'=>'Вибрані',
+  'remFav'=>'Видалити з вибраних',
+  'iptcTitle'=>'IPTC назва',
+  'iptcCopyright'=>'IPTC Copyright',
+  'iptcKeywords'=>'IPTC ключові слова',
+  'iptcCategory'=>'IPTC Категорія',
+  'iptcSubCategories'=>'IPTC Підкатегорії',
+  'ColorSpace' => 'Простір кольорів', //cpg1.4
+  'ExposureProgram' => 'Програма експозиції', //cpg1.4
+  'Flash' => 'Спалах', //cpg1.4
+  'MeteringMode' => 'Режим заміру експозиції', //cpg1.4
+  'ExposureTime' => 'Витримка', //cpg1.4
+  'ExposureBiasValue' => 'Експокорекція', //cpg1.4
+  'ImageDescription' => ' Опис фото', //cpg1.4
+  'Orientation' => 'Орієнтація', //cpg1.4
+  'xResolution' => 'Роздільна здатність по X', //cpg1.4
+  'yResolution' => 'Роздільна здатність по Y', //cpg1.4
+  'ResolutionUnit' => 'Одинця виміру роздільної здатності', //cpg1.4
+  'Software' => 'Програмне забезпечення', //cpg1.4
+  'YCbCrPositioning' => 'YCbCrPositioning', //cpg1.4
+  'ExifOffset' => 'Зміщення Exif', //cpg1.4
+  'IFD1Offset' => 'Зміщення IFD1', //cpg1.4
+  'FNumber' => 'Діафрагма', //cpg1.4
+  'ExifVersion' => 'Версія Exif', //cpg1.4
+  'DateTimeOriginal' => 'Дата і час знімка', //cpg1.4
+  'DateTimedigitized' => 'Дата і час оцифровки', //cpg1.4
+  'ComponentsConfiguration' => 'Кофігурація компонент', //cpg1.4
+  'CompressedBitsPerPixel' => 'Компресованих біт на піксель', //cpg1.4
+  'LightSource' => 'Джерело світла', //cpg1.4
+  'ISOSetting' => 'ISO', //cpg1.4
+  'ColorMode' => 'Режим кольорів', //cpg1.4
+  'Quality' => 'Якість', //cpg1.4
+  'ImageSharpening' => 'Image Sharpening', //cpg1.4
+  'FocusMode' => 'Режим фокусування', //cpg1.4
+  'FlashSetting' => 'Режим спалаху', //cpg1.4
+  'ISOSelection' => 'ISO', //cpg1.4
+  'ImageAdjustment' => 'Підлаштування фото', //cpg1.4
+  'Adapter' => 'Адаптер', //cpg1.4
+  'ManualFocusDistance' => 'Ручна фокусна відстань', //cpg1.4
+  'DigitalZoom' => 'Цифровий зум', //cpg1.4
+  'AFFocusPosition' => 'Точка автофокусування', //cpg1.4
+  'Saturation' => 'Saturation', //cpg1.4
+  'NoiseReduction' => 'Зниження шуму', //cpg1.4
+  'FlashPixVersion' => 'Версія Flash Pix', //cpg1.4
+  'ExifImageWidth' => 'Ширина фото в Exif', //cpg1.4
+  'ExifImageHeight' => 'Висота фото в Exif', //cpg1.4
+  'ExifInteroperabilityOffset' => 'Exif Interoperability Offset', //cpg1.4
+  'FileSource' => 'Джерело файла', //cpg1.4
+  'SceneType' => 'Тип сюжету', //cpg1.4
+  'CustomerRender' => 'Customer Render', //cpg1.4
+  'ExposureMode' => 'Режим заміру експозиції', //cpg1.4
+  'WhiteBalance' => 'Баланс білого', //cpg1.4
+  'DigitalZoomRatio' => 'Кратність цифрового зума', //cpg1.4
+  'SceneCaptureMode' => 'Сюжетний режим', //cpg1.4
+  'GainControl' => 'Gain Control', //cpg1.4
+  'Contrast' => 'Контраст', //cpg1.4
+  'Sharpness' => 'Sharpness', //cpg1.4
+  'ManageExifDisplay' => 'Керування показом Exif', //cpg1.4
+  'submit' => 'Підтвердити', //cpg1.4
+  'success' => 'Інформацію змінено.', //cpg1.4
+  'details' => 'Деталі', //cpg1.4
+);
+
+$lang_display_comments = array(
+  'OK' => 'OK',
+  'edit_title' => 'Редагувати',
+  'confirm_delete' => 'Ви дійсно хочете видалити цей коментар ?', //js-alert
+  'add_your_comment' => 'Додати коментар',
+  'name'=>'Ім`я',
+  'comment'=>'Коментар',
+  'your_name' => 'Анонімно',
+  'report_comment_title' => 'Пожалітися на цей коментар адміністратору', //cpg1.4
+);
+
+$lang_fullsize_popup = array(
+  'click_to_close' => 'Натисніть на зображення, щоб закрити вікно',
+);
+
+}
+
+// ------------------------------------------------------------------------- //
+// File ecard.php
+// ------------------------------------------------------------------------- //
+
+if (defined('ECARDS_PHP') || defined('DISPLAYECARD_PHP')) $lang_ecard_php =array(
+  'title' => 'Надіслати електронну листівку',
+  'invalid_email' => '<font color="red"><b>Увага</b></font>: неправильна електронна адреса:', //cpg1.4
+  'ecard_title' => 'Листівка від %s для вас',
+  'error_not_image' => 'Тільки фото можуть бути надіслані у листівках.',
+  'view_ecard' => 'Надати альтернативне посилання, якщо листівка не показується правильно', //cpg1.4
+  'view_ecard_plaintext' => 'Для того, щоб побачити цю листівку, скопіюйте до вашого інтернет-переглядача наступну адресу:', //cpg1.4
+  'view_more_pics' => 'Подивитися всі фото !', //cpg1.4
+  'send_success' => 'Вашу листівку надіслано',
+  'send_failed' => 'Сервер не може надіслати вашу листівку...',
+  'from' => 'Від',
+  'your_name' => 'Ваше ім`я',
+  'your_email' => 'Ваша електронна адреса',
+  'to' => 'Кому',
+  'rcpt_name' => 'Ім`я отримувача',
+  'rcpt_email' => 'Електронна адреса отримувача',
+  'greetings' => 'Привітання', //cpg1.4
+  'message' => 'Повідомлення', //cpg1.4
+  'ecards_footer' => 'Відіслано %s з IP адреси %s о %s (час сайту галереї)', //cpg1.4
+  'preview' => 'Попередній перегляд листівки', //cpg1.4
+  'preview_button' => 'Попередній перегляд', //cpg1.4
+  'submit_button' => 'Послати листівку', //cpg1.4
+  'preview_view_ecard' => 'Таким буде альтернативне посилання на листівку, після того як вона буде згенерована. Це посилання не працює поки листівку не було надіслано.', //cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File report_file.php //cpg1.4
+// ------------------------------------------------------------------------- //
+
+if (defined('REPORT_FILE_PHP') || defined('DISPLAYREPORT_PHP')) $lang_report_php =array(
+  'title' => 'Повідомити адміністратора', //cpg1.4
+  'invalid_email' => '<b>Увага</b> : неправильна електронна адреса !', //cpg1.4
+  'report_subject' => 'Повідомлення %s щодо галереї %s', //cpg1.4
+  'view_report' => 'Альтернативне посилання, якщо повідомлення не показується правильно', //cpg1.4
+  'view_report_plaintext' => 'Щоб побачити повідомлення, скопіюйте до вашого інтернет-переглядача наступну адресу:', //cpg1.4
+  'view_more_pics' => 'Галерея', //cpg1.4
+  'send_success' => 'Ваше повідомлення було переслано', //cpg1.4
+  'send_failed' => 'Сервер не може надіслати ваше повідомлення...', //cpg1.4
+  'from' => 'Від', //cpg1.4
+  'your_name' => 'Ваше ім`я', //cpg1.4
+  'your_email' => 'Ваша адреса', //cpg1.4
+  'to' => 'Кому', //cpg1.4
+  'administrator' => 'Адміністратор/модератор', //cpg1.4
+  'subject' => 'Тема', //cpg1.4
+  'comment_field_name' => 'Повідомлення щодо коментаря "%s"', //cpg1.4
+  'reason' => 'Причина', //cpg1.4
+  'message' => 'Повідомлення', //cpg1.4
+  'report_footer' => 'Вислано %s з IP адреси %s о %s (час сайту галереї)', //cpg1.4
+  'obscene' => 'непристойний', //cpg1.4
+  'offensive' => 'образливий', //cpg1.4
+  'misplaced' => 'не по темі', //cpg1.4
+  'missing' => 'відсутній', //cpg1.4
+  'issue' => 'помилка/не можу побачити', //cpg1.4
+  'other' => 'інше', //cpg1.4
+  'refers_to' => 'Повідомлення стосується', //cpg1.4
+  'reasons_list_heading' => 'причини повідомлення:', //cpg1.4
+  'no_reason_given' => 'причину не вказано', //cpg1.4
+  'go_comment' => 'Перейти до коментаря', //cpg1.4
+  'view_comment' => 'Показати повний звіт про коментар', //cpg1.4
+  'type_file' => 'файл', //cpg1.4
+  'type_comment' => 'коментар', //cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File editpics.php
+// ------------------------------------------------------------------------- //
+
+if (defined('EDITPICS_PHP')) $lang_editpics_php = array(
+  'pic_info' => 'Інформація про фото',
+  'album' => 'Альбом',
+  'title' => 'Назва',
+  'filename' => 'Назва файлу', //cpg1.4
+  'desc' => 'Опис',
+  'keywords' => 'Keywords',
+  'new_keyword' => 'Ключові слова', //cpg1.4
+  'new_keywords' => 'Знайдено нові ключові слова', //cpg1.4
+  'existing_keyword' => 'Існуючі ключові слова', //cpg1.4
+  'pic_info_str' => '%s &times; %s - %s KB - %s переглядів - %s голосів',
+  'approve' => 'Схвалити фото',
+  'postpone_app' => 'Відхилити схвалення',
+  'del_pic' => 'Видалити фото',
+  'del_all' => 'Видалити ВСІ фото', //cpg1.4
+  'read_exif' => 'Перечитати інформацію EXIF',
+  'reset_view_count' => 'Скинути лічильник переглядів',
+  'reset_all_view_count' => 'Скинути ВСІ лічильники переглядів', //cpg1.4
+  'reset_votes' => 'Вилучити голоси',
+  'reset_all_votes' => 'Вилучити ВСІ голоси', //cpg1.4
+  'del_comm' => 'Вилучити коментар',
+  'del_all_comm' => 'Вилучити ВСІ коментарі', //cpg1.4
+  'upl_approval' => 'Схвалити фото', //cpg1.4
+  'edit_pics' => 'Редагувати фото',
+  'see_next' => 'Переглянути наступні фото',
+  'see_prev' => 'Переглянути попередні фото',
+  'n_pic' => '%s фото',
+  'n_of_pic_to_disp' => 'Кількість фото на сторінку',
+  'apply' => 'Застосувати зміни',
+  'crop_title' => 'Редагування фото',
+  'preview' => 'Попередній перегляд',
+  'save' => 'Зберегти зміни',
+  'save_thumb' =>'Зберегти слайд',
+  'gallery_icon' => 'Встановити це як мій аватар', //cpg1.4
+  'sel_on_img' =>'Область повинна повністю бути в межах малюнка!', //js-alert
+  'album_properties' =>'Властивості альбому', //cpg1.4
+  'parent_category' =>'Категорія вищого рівня', //cpg1.4
+  'thumbnail_view' =>'Перегляд слайдів', //cpg1.4
+  'select_unselect' =>'вибрати все/зняти виділення', //cpg1.4
+  'file_exists' => "Цільовий файл '%s' вже існує.", //cpg1.4
+  'rename_failed' => "Не можу переіменувати '%s' на '%s'.", //cpg1.4
+  'src_file_missing' => "Файл '%s' не існує.", // cpg 1.4
+  'mime_conv' => "Не можу перетворити файл з '%s' у '%s'",//cpg1.4
+  'forb_ext' => 'Заборонене розширення файла.',//cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File faq.php
+// ------------------------------------------------------------------------- //
+
+if (defined('FAQ_PHP')) $lang_faq_php = array(
+  'faq' => 'ЧАсті ПИтання',
+  'toc' => 'Зміст',
+  'question' => 'Питання: ',
+  'answer' => 'Відповідь: ',
+);
+
+if (defined('FAQ_PHP')) $lang_faq_data = array(
+  'Загальні ЧАПи',
+  array('Чому я повинен реєструватися?', 'Реєстрація може бути, а може не бути обов`язковою, залежно від рішення адміністратора галереї. Реєстрація дає користувачеві додаткові можливості - такі, як долучення файлів, списки вибраних фото, голосування на написання відгуків.', 'allow_user_registration', '1'),
+  array('Як мені зареєструватися?', 'Перейдіть на сторінку &quot;Реєстрація&quot; і заповніть обов`язкові поля (і необов`язкові, якщо маєте бажання).<br />Якщо адміністрація вимагає підтвердження реєстрації електронною поштою, ви повинні отримати листа на адресу, що була введена під час реєстрації, з настановами щодо наступних кроків, необхідних для активування вашого членства. Після такого активування ви зможете увійти в систему.', 'allow_user_registration', '1'), //cpg1.4
+  array('Як увійти в систему?', 'Перейдіть на сторінку &quot;Вхід&quot;, введіть ваше ім`я користувача і пароль та поставте галочку &quot;Запам`ятати мене&quot; щоб наступного разу галерея впізнала вас.<br /><b>ВАЖЛИВО: ваш переглядач тенет повинен приймати коржики, і коржик галереї не повинен вилучатися для того, щоб опція &quot;Запам`ятати мене&quot; працювала.</b>', 'offline', 0),
+  array('Чому мене не пускає в систему?', 'Чи ви зареєструвалися і запустили посилання з листа, відісланого на вашу адресу? Це посилання активує вашу реєстрацію. У випадку інших проблем з авторизацією звертайтеся до адміністратора.', 'offline', 0),
+  array('Що, якщо я забув пароль?', 'Якщо на цьому сайті є посилання &quot;Я забув пароль&quot; - скористайтеся ним. В інших випадках - звертайтеся до адміністратора.', 'offline', 0),
+  //array('What if I changed my email address?', 'Just simply login and change your email address through &quot;Profile&quot;', 'offline', 0),
+  array('Як додати фото до &quot;Вибраних&quot;?', 'На сторінці з фото натисніть на посилання &quot;інформація про фото&quot; (<img src="images/info.gif" width="16" height="16" border="0" alt="Інформація про фото" />); перейдіть до інформації про фото і натисніть на посилання &quot;Долучити до вибраних&quot;.<br />Адміністратор може бачити &quot;інформацію про фото&quot; зразу.<br />ВАЖЛИВО:ваш переглядач тенет повинен приймати коржики, і коржики галереї не повинні видалятися.', 'offline', 0),
+  array('Як мені оцінити фото?', 'Відкрийте сторінку з великим зображенням та внизу виберіть оцінку.', 'offline', 0),
+  array('Як мені написати коментар до фото?', 'Відкрийте сторінку з великим зображенням та внизу напишіть і коментар.', 'offline', 0),
+  array('Як мені долучити фото?', 'Перейдіть на сторінку &quot;Долучити фото&quot;. Натисніть &quot;Browse,&quot; виберіть файл, який ви хочете закачати, натисніть &quot;Вперед.&quot; Вкажіть назву фото та опис, якщо бажаєте. Натисніть &quot;Вперед&quot;.<br /><br />Крім того, якщо ви раптом користуєтеся <b>Windows XP</b>, ви можете скористатися можливістю долучити один або більше файлів напряму у ваш приватний альбом, використовуючи XP Майстер тенет-публікації.<br />Детальнішу інформацію можна отримати на <a href="xp_publish.php">цій сторінці.</a>', 'allow_private_albums', 1), //cpg1.4
+  array('Куди я можу долучати фото?', 'Ви можете долучати фото до ваших особистих альбомів у &quot;Особисту галерею&quot;. Адміністратор також може дозволити вам долучати фото до альбомів головної галереї.', 'allow_private_albums', 0),
+  array('Файли яких типів і яких розмірів я можу закачувати?', 'Обмеження розмірів та типів файлів (jpg, png, і т.п.) задаються адміністратором.', 'offline', 0),
+  array('Як мені створити, переіменувати чи вилучити альбом у &quot;Особистій галереї&quot;?', 'Перейдіть в режим &quot;Адміністратора&quot;<br />активуйте &quot;Створити/впорядкувати мої альбоми&quot; та натисніть &quot;Новий&quot;. Замініть &quot;Новий альбом&quot; на потрібну назву.<br />Там же ж можна змінити назву або вилучити існуючий альбом.<br />Натисніть &quot;Корегувати мої альбоми&quot;.', 'allow_private_albums', 0),
+  array('Як я можу заборонити користувачам переглядати мої альбоми?', 'Перейдіть в режим &quot;Адміністратора&quot;<br />, активуйте Моя Галерея. В панелі &quot;Редагувати альбом&quot;, виберіть альбом, який ви хочете редагувати.<br />Ви зможете редагувати назву альбому, опис, емблему альбому, заборонити перегляди, оцінювання або коментування.<br />Натисніть &quot;Зберегти зміни&quot;.', 'allow_private_albums', 0),
+  array('Як я можу подивитися альбоми інших користувачів?', 'Перейдіть на сторінку &quot;Список альбомів&quot; та виберіть &quot;Альбоми користувачів&quot;.', 'allow_private_albums', 0),
+  array('Що таке коржики?', 'Коржики це фрагменти тексту, який передається сайтом на ваш комп`ютер для зберігання. <br />Коржики зазвичай використовуються для того, щоб користувач міг покинути сайт а потім повернутися на нього, не виконуючи процедуру входу у систему знову.', 'offline', 0),
+  array('Де я можу отримати цю програму для використання на моєму сайті?', 'Coppermine є вільною мультимедіа галереєю, яка поширюється на умовах ліцензії GNU GPL. Галерея має багато різноманітних можливостей і працює на багатьох платформах. Відвідайте <a href="http://coppermine-gallery.net/">Домашню Сторінку Coppermine</a> для детальнішої інформації та для отримання коду.', 'offline', 0),
+
+  'Переміщення по сайту',
+  array('Що таке &quot;Список альбомів&quot;?', 'Ця сторінка покаже вам список всіх альбомів для поточної категорії. Якщо жодна категорія не вибрана, буде показано список категорій всієї галереї. Слайди можуть бути посиланням на категорію.', 'offline', 0),
+  array('Що таке &quot;Моя галерея&quot;?', 'Ця річ дає можливість користувачам створювати власні галереї та додавати, вилучати або змінювати альбоми та фотографії в них за власним бажанням.', 'allow_private_albums', 1), //cpg1.4
+  array('Яка різниця між &quot;Режимом користувача&quot; та &quot;режимом адміністратора&quot;?', 'Режим адміністратора має спеціальні засоби для керування особистими галереями (а також іншими, якщо це дозволено адміністратором).', 'allow_private_albums', 0),
+  array('Що таке &quot;Долучити фото&quot;?', 'Ця сторінка дозволяє користувачам долучати свої фото до вибраної галереї (обмеження по розміру та дисковому простору виставляється адміністратором).', 'allow_private_albums', 0),
+  array('Що таке &quot;Останні долучення&quot;?', 'Ця сторінка показує останні фото, що були долучені до галереї.', 'offline', 0),
+  array('Що таке &quot;Останні коментарі&quot;?', 'Ця сторінка показує останні коментарі, що були додані користувачами.', 'offline', 0),
+  array('Що таке &quot;Популярні&quot;?', 'Ця сторінка показує фото, які переглядалися найбільше (враховуючи як анонімних, так і зареєстрованих користувачів).', 'offline', 0),
+  array('Що таке &quot;Кращі за рейтингом&quot;?', 'Ця сторінка показує фото, які набрали найбільше балів згідно оцінок користувачів, при цьому показується середній бал (тобто якщо 5 користувачів поставили оцінку <img src="images/rating3.gif" width="65" height="14" border="0" alt="" />: середньою оцінкою буде також <img src="images/rating3.gif" width="65" height="14" border="0" alt="" /> ; Якщо 5 користувачів дали оцінки від 1 до 5 (1,2,3,4,5), середній бал буде<img src="images/rating3.gif" width="65" height="14" border="0" alt="" /> .)<br />Оцінки можуть бути від <img src="images/rating5.gif" width="65" height="14" border="0" alt="best" /> (найвища) до <img src="images/rating0.gif" width="65" height="14" border="0" alt="worst" /> (найнижча).', 'offline', 0),
+  array('Що таке &quot;Вибрані&quot;?', 'На цій сторінці показуються улюблені фото користувача, які були вибрані ним під час переглядання галереї. Інформація про вибрані фото зберігається в коржиках на комп`ютері користувача.', 'offline', 0),
+);
+
+
+// ------------------------------------------------------------------------- //
+// File forgot_passwd.php
+// ------------------------------------------------------------------------- //
+
+if (defined('FORGOT_PASSWD_PHP')) $lang_forgot_passwd_php = array(
+  'forgot_passwd' => 'Нагадування пароля',
+  'err_already_logged_in' => 'Ви вже авторизовані !',
+  'enter_email' => 'Введіть вашу Email адресу', //cpg1.4
+  'submit' => 'OK',
+  'illegal_session' => 'Сесія відновлення пароля неправильна або застаріла.', //cpg1.4
+  'failed_sending_email' => 'Лист з нагадуванням пароля не може бути відіслано !',
+  'email_sent' => 'Листа з вашим іменем користувача і паролем було надіслано на адресу %s', //cpg1.4
+  'verify_email_sent' => 'Листа було надіслано на адресу %s. Будь ласка перегляньте вашу пошту для завершення процесу.', //cpg1.4
+  'err_unk_user' => 'Вибраний користувач не існує!',
+  'account_verify_subject' => '%s - Вимога нового пароля', //cpg1.4
+  'account_verify_body' => 'Ви замовили новий пароль. Якщо ви хочете, щоб його було згенеровано і надіслано вам, активуйте наступне посилання:
+
+%s', //cpg1.4
+  'passwd_reset_subject' => '%s - ваш новий пароль', //cpg1.4
+  'passwd_reset_body' => 'Ось новий пароль, що ви замовили:
+Користувач: %s
+Пароль: %s
+Натисніть %s для входу.', //cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File groupmgr.php
+// ------------------------------------------------------------------------- //
+
+if (defined('GROUPMGR_PHP')) $lang_groupmgr_php = array(
+  'group_name' => 'Група', //cpg1.4
+  'permissions' => 'Права', //cpg1.4
+  'public_albums' => 'Долучення в публічні альбоми', //cpg1.4
+  'personal_gallery' => 'Особиста галерея', //cpg1.4
+  'upload_method' => 'Метод долучення файлів', //cpg1.4
+  'disk_quota' => 'Квота', //cpg1.4
+  'rating' => 'Рейтинг', //cpg1.4
+  'ecards' => 'Електронна листівка', //cpg1.4
+  'comments' => 'Коментарі', //cpg1.4
+  'allowed' => 'Дозволено', //cpg1.4
+  'approval' => 'Затверджено', //cpg1.4
+  'boxes_number' => 'Кількість полів для вводу', //cpg1.4
+  'variable' => 'змінна', //cpg1.4
+  'fixed' => 'постійна', //cpg1.4
+  'apply' => 'Застосувати зміни',
+  'create_new_group' => 'Створити нову групу',
+  'del_groups' => 'Видалити вибрані групи',
+  'confirm_del' => 'Увага, при видаленні групи, користувачі, що до неї належали будуть переведені до групи \'Зареєстровані\' !\n\nПродовжити ?', //js-alert
+  'title' => 'Керування групами користувачів',
+  'num_file_upload' => 'Полів для долучення файлів', //cpg1.4
+  'num_URI_upload' => 'Полів для долучення URI', //cpg1.4
+  'reset_to_default' => 'Відновити стандартну назву (%s) - рекомендовано!', //cpg1.4
+  'error_group_empty' => 'Список груп був порожній !<br /><br />Типові групи створено, будь ласка перезавантажте цю сторінку', //cpg1.4
+  'explain_greyed_out_title' => 'Чому цей рядок засірено?', //cpg1.4
+  'explain_guests_greyed_out_text' => 'Ви не можете змінювати налаштування цієї групи бо  ви встановили опцію &quot; Дозволити доступ неавторизованим користувачам (гостям або анонімним)&quot; в &quot;Ні&quot; на сторінці налаштувань. Всі гості (члени групи %s) не можуть робити нічого крім входу в систему; тому налаштування групи є для них недоступними.', //cpg1.4
+  'explain_banned_greyed_out_text' => 'Ви не можете змінювати налаштування групи %s тому, що її члени все одно не можуть нічого робити.', //cpg1.4
+  'group_assigned_album' => 'приєднані альбоми', //cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File index.php
+// ------------------------------------------------------------------------- //
+
+if (defined('INDEX_PHP')){
+
+$lang_index_php = array(
+  'welcome' => 'Вітаємо !',
+);
+
+$lang_album_admin_menu = array(
+  'confirm_delete' => 'Бажаєте видалити цей альбом? \\nВсі фото і коментарі зникнуть.', //js-alert
+  'delete' => 'ВИДАЛИТИ',
+  'modify' => 'НАЛАШТУВАННЯ',
+  'edit_pics' => 'РЕДАГУВАТИ',
+);
+
+$lang_list_categories = array(
+  'home' => 'Початок',
+  'stat1' => '<b>[pictures]</b> фото в <b>[albums]</b> альбомах та <b>[cat]</b> категоріях з <b>[comments]</b> коментарями, переглянуто <b>[views]</b> разів',
+  'stat2' => '<b>[pictures]</b> фото в <b>[albums]</b> альбомах переглянуто <b>[views]</b> разів',
+	'xx_s_gallery' => 'Галерея %s\'а',
+  'stat3' => '<b>[pictures]</b> фото в <b>[albums]</b> альбомах <b>[comments]</b> коментарями, переглянуто <b>[views]</b> разів',
+);
+
+$lang_list_users = array(
+  'user_list' => 'Список користувачів',
+  'no_user_gal' => 'Тут немає галерей користувачів',
+  'n_albums' => '%s альбомів',
+  'n_pics' => '%s фото',
+);
+
+$lang_list_albums = array(
+  'n_pictures' => '%s фото',
+  'last_added' => ', останнє долучено %s',
+  'n_link_pictures' => '%s приєднаних фото', //cpg1.4
+  'total_pictures' => '%s фото всього', //cpg1.4
+);
+
+}
+
+// ------------------------------------------------------------------------- //
+// File keywordmgr.php //cpg1.4
+// ------------------------------------------------------------------------- //
+
+if (defined('KEYWORDMGR_PHP')) $lang_keywordmgr_php = array(
+  'title' => 'Керування ключовими словами', //cpg1.4
+  'edit' => 'редагувати', //cpg1.4
+  'delete' => 'стерти', //cpg1.4
+  'search' => 'шукати', //cpg1.4
+  'keyword_test_search' => 'пошук %s у новому вікні', //cpg1.4
+  'keyword_del' => 'витирання ключового слова %s', //cpg1.4
+  'confirm_delete' => 'Ви дійсно хочете витерти ключове слово %s з усієї галереї?', //cpg1.4  // js-alert
+  'change_keyword' => 'змінити ключове слово', //cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File login.php
+// ------------------------------------------------------------------------- //
+
+if (defined('LOGIN_PHP')) $lang_login_php = array(
+  'login' => 'Вхід',
+  'enter_login_pswd' => 'Введіть ім`я та пароль для входу',
+  'username' => 'Користувач',
+  'password' => 'Пароль',
+  'remember_me' => 'Запам`ятати мене',
+  'welcome' => 'Привіт %s ...',
+  'err_login' => '*** Зайти неможливо. Спробуйте ще ***',
+  'err_already_logged_in' => 'Ви вже увійшли!',
+  'forgot_password_link' => 'Я забув пароль',
+  'cookie_warning' => 'Увага! Ваш переглядач не приймає скриптових коржиків!', //cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File logout.php
+// ------------------------------------------------------------------------- //
+
+if (defined('LOGOUT_PHP')) $lang_logout_php = array(
+  'logout' => 'Вихід',
+  'bye' => 'На все добре, %s ...',
+  'err_not_loged_in' => 'Ви не увійшли!',
+);
+
+// ------------------------------------------------------------------------- //
+// File minibrowser.php  //cpg1.4
+// ------------------------------------------------------------------------- //
+
+if (defined('MINIBROWSER_PHP')) $lang_minibrowser_php = array(
+  'close' => 'закрити', //cpg1.4
+  'submit' => 'OK', //cpg1.4
+  'up' => 'на рівень вище', //cpg1.4
+  'current_path' => 'поточний шлях', //cpg1.4
+  'select_directory' => 'виберіть теку', //cpg1.4
+  'click_to_close' => 'Натисніть на фото щоб закрити це вікно',
+);
+
+// ------------------------------------------------------------------------- //
+// File modifyalb.php
+// ------------------------------------------------------------------------- //
+
+if (defined('MODIFYALB_PHP')) $lang_modifyalb_php = array(
+  'upd_alb_n' => 'Оновлення альбому %s',
+  'general_settings' => 'Загальні налаштування',
+  'alb_title' => 'Назва альбому',
+  'alb_cat' => 'Категорія альбому',
+  'alb_desc' => 'Опис альбому',
+  'alb_keyword' => 'Ключове слово альбому', //cpg1.4
+  'alb_thumb' => 'Лого альбому',
+  'alb_perm' => 'Права доступу до альбому',
+  'can_view' => 'Альбом можна переглянути',
+  'can_upload' => 'Відвідувачі можуть долучати фото',
+  'can_post_comments' => 'Відвідувачі можуть залишати коментарі',
+  'can_rate' => 'Відвідувачі можуть оцінювати фото',
+  'user_gal' => 'Галерея користувачів',
+  'no_cat' => '* Немає категорії *',
+  'alb_empty' => 'Альбом порожній',
+  'last_uploaded' => 'Останні долучення',
+  'public_alb' => 'Публічний альбом',
+  'me_only' => 'Тільки я',
+  'owner_only' => 'Тільки власник альбому (%s)',
+  'groupp_only' => 'Члени групи \'%s\'',
+  'err_no_alb_to_modify' => 'В базі даних немає альбомів, які б Ви могли корегувати.',
+  'update' => 'Оновити альбом',
+  'reset_album' => 'Встановити типові налаштування альбому', //cpg1.4
+  'reset_views' => 'Онулити лічильник переглядів для %s', //cpg1.4
+  'reset_rating' => 'Очистити голоси для всіх файлів %s', //cpg1.4
+  'delete_comments' => 'Вилучити всі коментарі файлів %s', //cpg1.4
+  'delete_files' => '%sБезповоротно%s стерти всі файли у %s', //cpg1.4
+  'views' => 'переглядів', //cpg1.4
+  'votes' => 'голосів', //cpg1.4
+  'comments' => 'коментарів', //cpg1.4
+  'files' => 'фото', //cpg1.4
+  'submit_reset' => 'зміна долучень', //cpg1.4
+  'reset_views_confirm' => 'Впевнений', //cpg1.4
+  'notice1' => '(*) залежить від налаштувань %s груп %s',  //cpg1.4 //(do not translate %s!)
+  'alb_password' => 'Пароль альбому', //cpg1.4
+  'alb_password_hint' => 'Підказка паролю альбому', //cpg1.4
+  'edit_files' =>'Редагувати фото', //cpg1.4
+  'parent_category' =>'Категорія вищого рівня', //cpg1.4
+  'thumbnail_view' =>'Перегляд слайдів', //cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File phpinfo.php
+// ------------------------------------------------------------------------- //
+
+if (defined('PHPINFO_PHP')) $lang_phpinfo_php = array(
+  'php_info' => 'PHP info',
+  'explanation' => 'Це те, що виводить функція PHP <a href="http://www.php.net/phpinfo">phpinfo()</a>, запущена з Coppermine (можливе обмеження ширини тексту справа).',
+  'no_link' => 'Дозволяти іншим читати вашу сторінку phpinfo є потенційним ризиком, тому ця сторінка є доступною для перегляду лише адміну. Ви не можете дати посилання на цю сторінку іншим - їм буде відмовлено у доступі.',
+);
+
+// ------------------------------------------------------------------------- //
+// File picmgr.php //cpg1.4
+// ------------------------------------------------------------------------- //
+if (defined('PICMGR_PHP')) $lang_picmgr_php = array(
+  'pic_mgr' => 'Керування фото', //cpg1.4
+  'select_album' => 'Вибрати альбом', //cpg1.4
+  'delete' => 'Стерти', //cpg1.4
+  'confirm_delete1' => 'Ви дійсно хочете стерти це фото ?', //cpg1.4
+  'confirm_delete2' => '\nФото буде остаточно вилучено.', //cpg1.4
+  'apply_modifs' => 'Застосувати зміни', //cpg1.4
+  'confirm_modifs' => 'Підтвердіть зміни', //cpg1.4
+  'pic_need_name' => 'Фото потребує назви !', //cpg1.4
+  'no_change' => 'Ви не зробили жодних змін !', //cpg1.4
+  'no_album' => '* Нема альбому *', //cpg1.4
+  'explanation_header' => 'Вільний спосіб сортування який можна задати на цій сторінці буде враховано тільки за умови', //cpg1.4
+  'explanation1' => 'що адміністратор встановив "Типовий спосіб сортування" у налаштуваннях у режим сортування "за порядковим номером" (глобальне налаштування для всіх користувачів, хто не вказав явно бажаний спосіб сортування)', //cpg1.4
+  'explanation2' => 'що користувач вибрав режим сортування "за порядковим номером" на сторінці показу слайдів (налаштовується окремо для кожного користувача)', //cpg1.4
+);
+
+
+// ------------------------------------------------------------------------- //
+// File pluginmgr.php //cpg1.4
+// ------------------------------------------------------------------------- //
+
+if (defined('PLUGINMGR_PHP')){
+
+$lang_pluginmgr_php = array(
+  'confirm_uninstall' => 'Ви дійсно хочете відключити цей плагін', //cpg1.4
+  'confirm_delete' => 'Ви дійсно хочете видалити цей плагін', //cpg1.4
+  'pmgr' => 'Керування плагінами', //cpg1.4
+  'name' => 'Назва', //cpg1.4
+  'author' => 'Автор', //cpg1.4
+  'desc' => 'Опис', //cpg1.4
+  'vers' => 'v', //cpg1.4
+  'i_plugins' => 'Встановлені плагіни', //cpg1.4
+  'n_plugins' => 'Не встановлені плагіни', //cpg1.4
+  'none_installed' => 'Нічого не встановлено', //cpg1.4
+  'operation' => 'Дія', //cpg1.4
+  'not_plugin_package' => 'Закачаний файл не є пакетом плагіна.', //cpg1.4
+  'copy_error' => 'Сталася помилка при копіюванні плагіна у відповідну теку.', //cpg1.4
+  'upload' => 'Закачати', //cpg1.4
+  'configure_plugin' => 'Налаштувати плагін', //cpg1.4
+  'cleanup_plugin' => 'Очистити плагін', //cpg1.4
+);
+}
+
+// ------------------------------------------------------------------------- //
+// File ratepic.php
+// ------------------------------------------------------------------------- //
+
+if (defined('RATEPIC_PHP')) $lang_rate_pic_php = array(
+  'already_rated' => 'Це фото Ви вже оцінили',
+  'rate_ok' => 'Ваш голос зараховано',
+  'forbidden' => 'Ви не можете оцінювати власні фото.',
+);
+
+// ------------------------------------------------------------------------- //
+// File register.php & profile.php
+// ------------------------------------------------------------------------- //
+
+if (defined('REGISTER_PHP') || defined('PROFILE_PHP')) {
+
+$lang_register_disclamer = <<<EOT
+Хоча адміністратори '<b>{SITE_NAME}</b>' намагатимуться якнайшвидше редагувати будь - який небажаний матеріал все одно неможливо переглядати всі долучення і коментарі. Ви підтверджуєте, що всі повідомлення показують Вашу, а не адміністраторів сайту, позицію.  <br />
+<br />
+Ви обіцяєте не надсилати образливої, брутальної, неправдивої і т.д інформації, і погоджуєтесь з тим, що всі Ваші повідомлення буде записано в базу даних, адміністратори можуть корегувати та видаляти Ваші повідомлення та долучення на свій розсуд. За всі спроби зламати сайт чи базу даних, і за пов`язані з цим втрати інформації, які можуть зашкодити роботі фотогалереї, ні вебмайстер, ні адміністратори відповідальності не несуть.<br />
+<br />
+Галерея використовує технологію 'cookies' для покращення перегляду. Адреса E-mail використовується тільки для підтвердження Ваших реєстраційних даних та паролю.<br />
+<br />
+Натиснувши на "згоден", ви погоджуєтесь з усім вищепереліченим.
+EOT;
+
+$lang_register_php = array(
+  'page_title' => 'Реєстрація користувача',
+  'term_cond' => 'Умови',
+  'i_agree' => 'Згоден',
+  'submit' => 'Продовжити реєстрацію',
+  'err_user_exists' => 'Ім`я користувача вже зайняте. Спробуйте інше!',
+  'err_password_mismatch' => 'Паролі не співпадають, введіть знову',
+  'err_uname_short' => 'Ім`я користувача повинне містити мінімум 2 символи',
+  'err_password_short' => 'Пароль повинен містити мінімум 2 символи',
+  'err_uname_pass_diff' => 'Ім`я користувача та пароль не повинні співпадати',
+  'err_invalid_email' => 'Адресу Email вказано невірно',
+  'err_duplicate_email' => 'Вже хтось зареєструвався з таким Email',
+  'enter_info' => 'Надайте реєстраційну інформацію',
+  'required_info' => 'Необхідна інформація',
+  'optional_info' => 'Додаткова інформація',
+  'username' => 'Користувач',
+  'password' => 'Пароль',
+  'password_again' => 'Повтор паролю',
+  'email' => 'Email',
+  'location' => 'Звідки',
+  'interests' => 'Захоплення',
+  'website' => 'Сайт',
+  'occupation' => 'Чим займаєтеся',
+  'error' => 'ПОМИЛКА',
+  'confirm_email_subject' => '%s - Підтвердження реєстрації',
+  'information' => 'Інформація',
+  'failed_sending_email' => 'Email про підтвердження реєстрації не може бути відправлено!',
+  'thank_you' => 'Дякуємо.<br /><br />На вашу адресу буде надіслано листа з наступними вказівками.',
+  'acct_created' => 'Запис про Вас створено. Ви зможете зайти, користуючись іменем та паролем',
+  'acct_active' => 'Ваш рахунок активовано. Ви зможете зайти, користуючись іменем та паролем',
+  'acct_already_act' => 'Рахунок вже було активовано!', //cpg1.4
+  'acct_act_failed' => 'Цей рахунок не може бути активовано!',
+  'err_unk_user' => 'Обраний користувач не існує!',
+  'x_s_profile' => 'Профіль %s',
+  'group' => 'Група',
+  'reg_date' => 'Дата реєстрації',
+  'disk_usage' => 'Використання диска',
+  'change_pass' => 'Змінити пароль',
+  'current_pass' => 'Теперішній пароль',
+  'new_pass' => 'Новий пароль',
+  'new_pass_again' => 'Новий пароль (ще раз)',
+  'err_curr_pass' => 'Теперішній пароль - невірний',
+  'apply_modif' => 'Застосувати зміни',
+  'change_pass' => 'Змінити мій пароль',
+  'update_success' => 'Ваш профіль оновлено',
+  'pass_chg_success' => 'Ваш пароль змінено',
+  'pass_chg_error' => 'Ваш пароль не змінено',
+  'notify_admin_email_subject' => '%s - повідомлення про реєстрацію',
+  'last_uploads' => 'Останнє долучення.<br />Натисніть тут, щоб побачити всі долучення', //cpg1.4
+  'last_comments' => 'Останній коментар.<br />Натисніть тут, щоб побачити всі коментарі', //cpg1.4
+  'notify_admin_email_body' => 'Новий користувач "%s" зареєструвався у вашій галереї',
+  'pic_count' => 'Фото долучено', //cpg1.4
+  'notify_admin_request_email_subject' => '%s - прохання про реєстрацію', //cpg1.4
+  'thank_you_admin_activation' => 'Дякуємо.<br /><br />Ваше прохання про реєстрацію було надіслано адміністратору. Після затвердження ви отримаєте листа.', //cpg1.4
+  'acct_active_admin_activation' => 'Реєстрацію затверджено і листа відправлено користувачеві.', //cpg1.4
+  'notify_user_email_subject' => '%s - повідомлення про затвердження реєстрації', //cpg1.4
+);
+
+$lang_register_confirm_email = <<<EOT
+Дякуємо за реєстрацію на {SITE_NAME}
+
+Ваше ім`я  : "{USER_NAME}"
+Ваш пароль: "{PASSWORD}"
+
+Щоб активувати ваш рахунок, натисніть на посилання наведене нижче, або скопіюйте його до переглядача тенет.
+
+<a href="{ACT_LINK}">{ACT_LINK}</a>
+
+З повагою,
+
+Адміністрація {SITE_NAME}
+
+EOT;
+
+$lang_register_approve_email = <<<EOT
+Новий користувач "{USER_NAME}" зареєструвався у вашій галереї.
+
+Для того, щоб активувати його реєстрацію, натисніть на посилання наведене нижче, або скопіюйте його до переглядача тенет.
+
+<a href="{ACT_LINK}">{ACT_LINK}</a>
+
+З повагою,
+Ваша галерея
+
+EOT;
+
+$lang_register_activated_email = <<<EOT
+Вашу реєстрацію було затверджено
+
+Тепер ви можете увійти в галерею <a href="{SITE_LINK}">{SITE_LINK}</a> під іменем  "{USER_NAME}"
+
+З повагою,
+
+Адміністрація {SITE_NAME}
+
+EOT;
+}
+
+// ------------------------------------------------------------------------- //
+// File reviewcom.php
+// ------------------------------------------------------------------------- //
+
+if (defined('REVIEWCOM_PHP')) $lang_reviewcom_php = array(
+  'title' => 'Перевірка коментарів',
+  'no_comment' => 'Тут немає коментарів для перевірки',
+  'n_comm_del' => '%s коментарів видалено',
+  'n_comm_disp' => 'Кількість коментарів для показу',
+  'see_prev' => 'Переглянути попередній',
+  'see_next' => 'Переглянути наступний',
+  'del_comm' => 'Видалити вибрані коментарі',
+  'user_name' => 'Ім`я', //cpg1.4
+  'date' => 'Дата', //cpg1.4
+  'comment' => 'Коментар', //cpg1.4
+  'file' => 'Фото', //cpg1.4
+  'name_a' => 'Ім`я користувача за зростанням', //cpg1.4
+  'name_d' => 'Ім`я користувача за спаданням', //cpg1.4
+  'date_a' => 'Дата за зростанням', //cpg1.4
+  'date_d' => 'Дата за спаданням', //cpg1.4
+  'comment_a' => 'Коментар за зростанням', //cpg1.4
+  'comment_d' => 'Коментар за спаданням', //cpg1.4
+  'file_a' => 'Фото за зростанням', //cpg1.4
+  'file_d' => 'Фото за спаданням', //cpg1.4
+);
+
+
+// ------------------------------------------------------------------------- //
+// File search.php                                                           //
+// ------------------------------------------------------------------------- //
+
+
+if (defined('SEARCH_PHP')){
+
+$lang_search_php = array(
+  'title' => 'Пошук у колекції фото', //cpg1.4
+  'submit_search' => 'пошук', //cpg1.4
+  'keyword_list_title' => 'Список ключових слів', //cpg1.4
+  'keyword_msg' => 'Цей список не покриває всі варіанти. Він не включає слова з назв та описів фото. Спробуйте пошук по всьому тексту.',  //cpg1.4
+  'edit_keywords' => 'Редагувати ключові слова', //cpg1.4
+  'search in' => 'Пошук у:', //cpg1.4
+  'ip_address' => 'IP адреса', //cpg1.4
+  'fields' => 'Пошук у', //cpg1.4
+  'age' => 'Давність', //cpg1.4
+  'newer_than' => 'Новіші, ніж', //cpg1.4
+  'older_than' => 'Старіші, ніж', //cpg1.4
+  'days' => 'днів', //cpg1.4
+  'all_words' => 'Шукати всі слова (І - AND)', //cpg1.4
+  'any_words' => 'Шукати будь-яке слово (АБО - OR)', //cpg1.4
+);
+
+$lang_adv_opts = array(
+  'title' => 'Назва', //cpg1.4
+  'caption' => 'Напис', //cpg1.4
+  'keywords' => 'Ключові слова', //cpg1.4
+  'owner_name' => 'Власник', //cpg1.4
+  'filename' => 'Назва файла', //cpg1.4
+);
+
+}
+
+// ------------------------------------------------------------------------- //
+// File searchnew.php
+// ------------------------------------------------------------------------- //
+
+if (defined('SEARCHNEW_PHP')) $lang_search_new_php = array(
+  'page_title' => 'Шукати нові фото',
+  'select_dir' => 'Вибрати теку',
+  'select_dir_msg' => 'Ця функція дозволяє долучати фото, що ви закачали на сайт по FTP в \'пакетному режимі\'.<br /><br />Оберіть теку з вашими фото.', //cpg1.4
+  'no_pic_to_add' => 'Немає фото для долучення',
+  'need_one_album' => 'Для використання цієї функції Вам потрібен щонайменше один альбом',
+  'warning' => 'Увага',
+  'change_perm' => 'скрипт не може записати дані до папки. Змініть права доступу на 755 чи 777 перед спробою долучити фото!',
+  'target_album' => '<b>Перемістити фото з &quot;</b>%s<b>&quot; до </b>%s',
+  'folder' => 'Тека',
+  'image' => 'Фото',
+  'album' => 'Альбом',
+  'result' => 'Результат',
+  'dir_ro' => 'Тільки для читання. ',
+  'dir_cant_read' => 'Неможливо прочитати. ',
+  'insert' => 'Долучення нових фото до галереї',
+  'list_new_pic' => 'Список нових фото',
+  'insert_selected' => 'Долучити вибрані фото',
+  'no_pic_found' => 'Нових фото не знайдено',
+  'be_patient' => 'Для долучення фото потрібно трохи часу. Зачекайте.',
+  'no_album' => 'альбом не вибрано',
+  'result_icon' => 'натисніть для детальнішої інформації або для перевантаження',  //cpg1.4
+  'notes' =>  '<ul>'.
+                          '<li><b>OK</b> : означає, що фото долучено'.
+                          '<li><b>DP</b> : означає, що таке фото вже є в базі'.
+                          '<li><b>PB</b> : означає, що фото не долучено. Варто перевірити  дозволи на налаштування в папках, де знаходиться фото'.
+                          '<li><b>NA</b> : означає, що ви не вибрали альбому куди треба було додати фото, натисніть \'<a href="javascript:history.back(1)">назад</a>\' і виберіть альбом. Якщо у вас нема жодного альбому - <a href="albmgr.php">створіть якийсь спочатку</a></li>'.
+                          '<li>Якщо \'знаки\' OK, DP, PB не з`являються, натисніть на поганому фото, щоб побачити пояснення від PHP'.
+                          '<li>Якщо переглядач каже \'timeout\', натисніть кнопку \'Оновити\' (Refresh)'.
+                          '</ul>',
+  'select_album' => 'вибрати альбом',
+  'check_all' => 'Вибрати всі',
+  'uncheck_all' => 'Скасувати вибір',
+  'no_folders' => 'Тека "albums" поки не містить жодних тек. Створіть хоча б одну теку в "albums" і закачайте свої файли туди. Але ви не повинні завантажувати файли ні у "userpics", ні у "edit", вони зарезервовані для HTTP закачувань і створення проміжних файлів.', //cpg1.4
+   'albums_no_category' => 'Альбом без категорії', //cpg1.4 // album pulldown mod, added by frogfoot
+  'personal_albums' => '* Особисті альбоми', //cpg1.4 // album pulldown mod, added by frogfoot
+  'browse_batch_add' => 'Інтерфейс для перегляду (рекомендується)', //cpg1.4
+  'edit_pics' => 'Редагувати фото', //cpg1.4
+  'edit_properties' => 'Налаштування альбому', //cpg1.4
+  'view_thumbs' => 'Перегляд слайдів', //cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File stat_details.php //cpg1.4
+// ------------------------------------------------------------------------- //
+
+if (defined('STAT_DETAILS_PHP')) $lang_stat_details_php = array(
+  'show_hide' => 'показати/заховати цю колонку', //cpg1.4
+  'vote' => 'Детальніше про голосування', //cpg1.4
+  'hits' => 'Детальніше про перегляди', //cpg1.4
+  'stats' => 'Статистика голосування', //cpg1.4
+  'sdate' => 'Дата', //cpg1.4
+  'rating' => 'Рейтинг', //cpg1.4
+  'search_phrase' => 'Ключова фраза', //cpg1.4
+  'referer' => 'Звідки прийшли', //cpg1.4
+  'browser' => 'Переглядач', //cpg1.4
+  'os' => 'Операційна Система', //cpg1.4
+  'ip' => 'IP', //cpg1.4
+  'sort_by_xxx' => 'Сортувати за %s', //cpg1.4
+  'ascending' => 'зростанням', //cpg1.4
+  'descending' => 'спаданням', //cpg1.4
+  'internal' => 'внутр.', //cpg1.4
+  'close' => 'закрити', //cpg1.4
+  'hide_internal_referers' => 'заховати внутрішні посилання', //cpg1.4
+  'date_display' => 'Показ дати', //cpg1.4
+  'submit' => 'зберегти / оновити', //cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File thumbnails.php
+// ------------------------------------------------------------------------- //
+
+// Void
+
+// ------------------------------------------------------------------------- //
+// File upload.php
+// ------------------------------------------------------------------------- //
+
+if (defined('UPLOAD_PHP')) $lang_upload_php = array(
+  'title' => 'Долучити фото',
+  'custom_title' => 'Налаштування форми завантаження',
+  'cust_instr_1' => 'Ви можете вказати необхідну кількість полів для завантаження на сторінку. Однак вона не повинна перевищувати наступні обмеження.',
+  'cust_instr_2' => 'Запит кількості полів',
+  'cust_instr_3' => 'Поля для вказання файлів: %s',
+  'cust_instr_4' => 'Поля для вказання URI/URL: %s',
+  'cust_instr_5' => 'Поля для вказання URI/URL:',
+  'cust_instr_6' => 'Поля для вказання файлів:',
+  'cust_instr_7' => 'Вкажіть будь ласка кількість полів вводу кожного типу.  Потім натисніть \'Продовжити\'. ',
+  'reg_instr_1' => 'Неправильна дія при створенні форми.',
+  'reg_instr_2' => 'Тепер ви можете долучити файли, використовуючи наступні поля. Розмір кожного файлу, який ви хочете закачати на сервер не повинен перевищувати %s KB . ZIP файли, завантажені через поля \'Долучення файлів\' та \'Долучення URI/URL\' залишаться у стисненому вигляді.',
+  'reg_instr_3' => 'Якщо ви хочете, щоб архіви розпаковувалися перед долученням, використовуйте поля вводу в області \'Долучення із розпакуванням ZIP\'.',
+  'reg_instr_4' => 'Використовуючи секцію долучення URI/URL, вводьте шлях до файла у вигляді: http://www.mysite.com/images/example.jpg',
+  'reg_instr_5' => 'Після заповнення форми натисніть \'Продовжити\'.',
+  'reg_instr_6' => 'Долучення із розпакуванням ZIP:',
+  'reg_instr_7' => 'Долучення файлів:',
+  'reg_instr_8' => 'Долучення URI/URL:',
+  'error_report' => 'Звіт про помилки',
+  'error_instr' => 'Наступні спроби долучення завершилися невдало:',
+  'file_name_url' => 'Назва файлу/URL',
+  'error_message' => 'Помилка',
+  'no_post' => 'Файл не вдалося завантажити через POST.',
+  'forb_ext' => 'Заборонене розширення файла.',
+  'exc_php_ini' => 'Перевищено макс. розмір файлу, заданий у php.ini.',
+  'exc_file_size' => 'Перевищено макс. розмір файлу, заданий у налаштуваннях галереї.',
+  'partial_upload' => 'Завантаження вдалося частково.',
+  'no_upload' => 'Завантаження не відбулося.',
+  'unknown_code' => 'Невідома помилка PHP при завантаженні.',
+  'no_temp_name' => 'Не завантажено - не вдалося згенерувати назву тимчасового файлу.',
+  'no_file_size' => 'Не містить даних або пошкоджений',
+  'impossible' => 'Неможливо перемістити.',
+  'not_image' => 'Не є малюнком або пошкоджений',
+  'not_GD' => 'Тип файла не підтримується GD.',
+  'pixel_allowance' => 'Висота і/або ширина долученого фото перевищує межі встановлені в налаштуваннях галереї.', //cpg1.4
+  'incorrect_prefix' => 'Некоректний префікс URI/URL',
+  'could_not_open_URI' => 'Не можу відкрити URI.',
+  'unsafe_URI' => 'Перевірити безпечність неможливо.',
+  'meta_data_failure' => 'Помилка метаданих',
+  'http_401' => '401 Нема авторизації',
+  'http_402' => '402 Вимагається оплата',
+  'http_403' => '403 Заборонено',
+  'http_404' => '404 Не знайдено',
+  'http_500' => '500 Внутрішня помилка сервера',
+  'http_503' => '503 Сервіс недоступний',
+  'MIME_extraction_failure' => 'MIME тип не може бути визначено.',
+  'MIME_type_unknown' => 'Невідомий тип MIME',
+  'cant_create_write' => 'Не можу створити файл для запису.',
+  'not_writable' => 'Не можу писати у файл збереження.',
+  'cant_read_URI' => 'Не можу читати URI/URL',
+  'cant_open_write_file' => 'Не можу відкрити файл збереження URI.',
+  'cant_write_write_file' => 'Не можу писати у файл збереження URI.',
+  'cant_unzip' => 'Не можу розпакувати.',
+  'unknown' => 'Невідома помилка',
+  'succ' => 'Успішні долучення',
+  'success' => '%s долучень відбулося успішно.',
+  'add' => 'Натисніть \'Вперед\' щоб додати файли до альбомів.',
+  'failure' => 'Помилка закачування',
+  'f_info' => 'Інформація про файл',
+  'no_place' => 'Попередній файл не може бути додано.',
+  'yes_place' => 'Попередній файл було успішно додано.',
+  'max_fsize' => 'Максимальний  розмір файлу: %s KB',
+  'album' => 'Альбом',
+  'picture' => 'Фото',
+  'pic_title' => 'Назва фото',
+  'description' => 'Опис фото',
+  'keywords' => 'Ключові слова (розділені пробілами)<br /><a href="#" onClick="return MM_openBrWindow(\'keyword_select.php\',\'selectKey\',\'width=250, height=400, scrollbars=yes,toolbar=no,status=yes,resizable=yes\')">Вибрати зі списку</a>', //cpg1.4
+  'keywords_sel' =>'Виберіть ключове слово', //cpg1.4
+  'err_no_alb_uploadables' => 'Перепрошую, тут немає альбому, куди б Ви могли долучити фото',
+  'place_instr_1' => 'А тепер розмістіть долучені фото у альбомах.  Ви також можете ввести додаткову інформацію для кожного фото.',
+  'place_instr_2' => 'Ще є фото, які потрібно розмістити. Натисніть \'Продовжити\'.',
+  'process_complete' => 'Ви розмістили всі файли.',
+   'albums_no_category' => 'Альбом без категорії', //cpg1.4. //album pulldown mod, added by frogfoot
+  'personal_albums' => '* Особисті альбоми', //cpg1.4 //album pulldown mod, added by frogfoot
+  'select_album' => 'Вибрати альбом', //cpg1.4 //album pulldown mod, added by frogfoot
+  'close' => 'Закрити', //cpg1.4
+  'no_keywords' => 'Нема ключового слова!', //cpg1.4
+  'regenerate_dictionary' => 'Перегенерувати словник', //cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File usermgr.php
+// ------------------------------------------------------------------------- //
+
+if (defined('USERMGR_PHP')) $lang_usermgr_php = array(
+  'memberlist' => 'Список користувачів', //cpg1.4
+  'user_manager' => 'Керування користувачами', //cpg1.4
+  'title' => 'Керування користувачами',
+  'name_a' => 'Імені [зростання]',
+  'name_d' => 'Імені [спадання]',
+  'group_a' => 'Групі [зростання]',
+  'group_d' => 'Групі [спадання]',
+  'reg_a' => 'Даті реєстрації [зростання]',
+  'reg_d' => 'Даті реєстрації [спадання]',
+  'pic_a' => 'Кількості зображень [зростання]',
+  'pic_d' => 'Кількості зображень [спадання]',
+  'disku_a' => 'Використання диску [зростання]',
+  'disku_d' => 'Використання диску [спадання]',
+  'lv_a' => 'Останньому візиту [зростання]',
+  'lv_d' => 'Останньому візиту [спадання]',
+  'sort_by' => 'Сортувати користувачів по',
+  'err_no_users' => 'Таблиця користувачів порожня!',
+  'err_edit_self' => 'Ви не можете корегувати свій власний профіль, для цього натисніть посилання \'Профіль\'',
+  'edit' => 'КОРЕГУВАТИ', //cpg1.4
+  'with_selected' => 'З вибраними:', //cpg1.4
+  'delete' => 'ВИДАЛИТИ', //cpg1.4
+  'delete_files_no' => 'залишити публічні файли (як анонімні)', //cpg1.4
+  'delete_files_yes' => 'витерти також і публічні файли', //cpg1.4
+  'delete_comments_no' => 'зберегти коментарі (як анонімні)', //cpg1.4
+  'delete_comments_yes' => 'витерти також і коментарі', //cpg1.4
+  'activate' => 'Активувати', //cpg1.4
+  'deactivate' => 'Деактивувати', //cpg1.4
+  'reset_password' => 'Перевстановити пароль', //cpg1.4
+  'change_primary_membergroup' => 'Змінити первинну групу', //cpg1.4
+  'add_secondary_membergroup' => 'Додати до вторинної групи', //cpg1.4
+  'name' => 'Ім`я користувача',
+  'group' => 'Група',
+  'inactive' => 'Неактивний',
+  'operations' => 'Дії',
+  'pictures' => 'Фото',
+  'disk_space_used' => 'Дисковий простір', //cpg1.4
+  'disk_space_quota' => 'Квота', //cpg1.4
+  'registered_on' => 'Реєстрація', //cpg1.4
+  'last_visit' => 'Останній візит',
+  'u_user_on_p_pages' => '%d користувач(ів) на %d сторінці(ах)',
+  'confirm_del' => 'Бажаєте видалити цього користувача? \\nДолучені ним фото та альбоми теж зникнуть.', //js-alert
+  'mail' => 'ПОШТА',
+  'err_unknown_user' => 'Обраний користувач не існує!',
+  'modify_user' => 'Зміна користувача',
+  'notes' => 'Зауваження',
+  'note_list' => '<li>Якщо ви не бажаєте змінювати пароль, залиште поле "пароль" порожнім',
+  'password' => 'Пароль',
+  'user_active' => 'Користувач активний',
+  'user_group' => 'Група',
+  'user_email' => 'Email',
+  'user_web_site' => 'Сайт',
+  'create_new_user' => 'Створити нового користувача',
+  'user_location' => 'Звідки',
+  'user_interests' => 'Захоплення',
+  'user_occupation' => 'Чим займаєтеся',
+  'user_profile1' => '$user_profile1', //cpg1.4
+  'user_profile2' => '$user_profile2', //cpg1.4
+  'user_profile3' => '$user_profile3', //cpg1.4
+  'user_profile4' => '$user_profile4', //cpg1.4
+  'user_profile5' => '$user_profile5', //cpg1.4
+  'user_profile6' => '$user_profile6', //cpg1.4
+  'latest_upload' => 'Останні долучення',
+  'never' => 'ніколи',
+  'search' => 'Пошук користувача', //cpg1.4
+  'submit' => 'ОК', //cpg1.4
+  'search_submit' => 'Шукати', //cpg1.4
+  'search_result' => 'Результати пошуку за: ', //cpg1.4
+  'alert_no_selection' => 'Спочатку виберіть хоча б одного користувача!', //cpg1.4 //js-alert
+  'password' => 'пароль', //cpg1.4
+  'select_group' => 'Виберіть групу', //cpg1.4
+  'groups_alb_access' => 'Регулювання доступу до альбому на рівні групи', //cpg1.4
+  'album' => 'Альбом', //cpg1.4
+  'category' => 'Категорія', //cpg1.4
+  'modify' => 'Змінити?', //cpg1.4
+  'group_no_access' => 'Ця група не має спеціальних прав доступу', //cpg1.4
+  'notice' => 'Попередження', //cpg1.4
+  'group_can_access' => 'Альбом(и) до яких має доступ тільки "%s"', //cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File util.php
+// ------------------------------------------------------------------------- //
+
+if (defined('UTIL_PHP')) {
+$lang_util_desc_php = array(
+'Отримати назви фото з імен файлів', //cpg1.4
+'Очистити назви фото', //cpg1.4
+'Перебудувати слайди та масштабовані фото', //cpg1.4
+'Витерти початкову версію фото, замінивши його на змінену версію', //cpg1.4
+'Витерти початкові та проміжні фото щоб звільнити місце', //cpg1.4
+'Вилучити неприв`язані коментарі', //cpg1.4
+'Перечитати розміри та об`єми файлів (якщо ви редагували їх вручну)', //cpg1.4
+'Скидає лічильник переглядів', //cpg1.4
+'Показати phpinfo', //cpg1.4
+'Поновити базу даних', //cpg1.4
+'Показати журнали роботи', //cpg1.4
+);
+$lang_util_php = array(
+  'title' => 'Утиліти адміністратора (масштабування фото)',
+  'what_it_does' => 'Що це дасть',
+  'file' => 'Файл',
+  'problem' => 'Проблема', //cpg1.4
+  'status' => 'Статус', //cpg1.4
+  'title_set_to' => 'встановлено назву',
+  'submit_form' => 'зберегти',
+  'updated_succesfully' => 'успішно збережено',
+  'error_create' => 'ПОМИЛКА при створенні',
+  'continue' => 'Опрацювати наступну групу фото',
+  'main_success' => 'Файл %s було використано як головне зображення',
+  'error_rename' => 'Помилка перейменування %s в %s',
+  'error_not_found' => 'Файл %s не знайдено',
+  'back' => 'на головну',
+  'thumbs_wait' => 'Оновлення слайдів та зміна розмірів, прошу зачекати ...',
+  'thumbs_continue_wait' => 'Продовження оновлення ескізів та зміна розмірів...',
+  'titles_wait' => 'Оновлення назв, прошу зачекати ...',
+  'delete_wait' => 'Видалення назв, прошу зачекати ...',
+  'replace_wait' => 'Видалення оригіналів та заміна масштабованими зображеннями, прошу зачекати ...',
+  'instruction' => 'Інструкції',
+  'instruction_action' => 'Оберіть дію',
+  'instruction_parameter' => 'Встановити параметри',
+  'instruction_album' => 'Обрати альбом',
+  'instruction_press' => 'Натисніть %s',
+  'update' => 'Оновлення слайдів або розмірів фото',
+  'update_what' => 'Що має бути оновлене',
+  'update_thumb' => 'Тільки слайди',
+  'update_pic' => 'Тільки зміна розмірів',
+  'update_both' => 'Слайди та масштабування',
+  'update_number' => 'Кількість корегованих зображень за один захід',
+  'update_option' => '(Якщо у Вас проблеми з timeout, спробуйте зменшити значення цієї опції)',
+  'filename_title' => 'Назва файлу? Назва зображення',
+  'filename_how' => 'Як має бути змінена назва зображення',
+  'filename_remove' => 'Видалити .jpg і замінити _ (підкреслення) пробілами',
+  'filename_euro' => 'Змінити 2003_11_23_13_20_20.jpg на 23/11/2003 13:20',
+  'filename_us' => 'Змінити 2003_11_23_13_20_20.jpg на 11/23/2003 13:20',
+  'filename_time' => 'Змінити 2003_11_23_13_20_20.jpg на 13:20',
+  'delete' => 'Видалити назву зображення та оригінальний розмір фото',
+  'delete_title' => 'Видалити назви зображень',
+  'delete_title_explanation' => 'Це знищить всі назви фото у вказаному альбомі.', //cpg1.4
+  'delete_original' => 'Видалити зображення оригінального розміру',
+  'delete_original_explanation' => 'Це вилучить фотографії оригінального розміру.', //cpg1.4
+  'delete_intermediate' => 'Видалити проміжні (нормальні) фото.', //cpg1.4
+  'delete_intermediate_explanation' => 'Це видалить проміжні (нормальні) фото.<br />Використовуйте це для звільнення дискового простору якщо ви відключили \'Створення проміжних фото\' вже тоді, коли якісь фото були в галереї.', //cpg1.4
+  'delete_replace' => 'Видалити початкові зображення, замінивши їх на змінені',
+  'titles_deleted' => 'Всі назви у вказаному альбомі видалено', //cpg1.4
+  'deleting_intermediates' => 'Вилучаю проміжні фото...', //cpg1.4
+  'searching_orphans' => 'Шукаю за неприв`язані елементами...', //cpg1.4
+  'select_album' => 'Виберіть альбом',
+  'delete_orphans' => 'Вилучити коментарі стертих файлів', //cpg1.4
+  'delete_orphans_explanation' => 'Ця опція дозволяє витерти коментарі для фото, яких вже нема в галереї.<br />Перевіряє всі альбоми.', //cpg1.4
+  'refresh_db' => 'Перечитати розміри та об`єми файлів', //cpg1.4
+  'refresh_db_explanation' => 'Розміри та об`єми файлів буде перечитано. Використовуйте цю можливість якщо квоти для вас працюють неправильно або ви змінювали файли вручну.', //cpg1.4
+  'reset_views' => 'Скинути лічильник переглядів', //cpg1.4
+  'reset_views_explanation' => 'Встановити кількість переглядів для всіх фото вибраного альбому в нуль.', //cpg1.4
+  'orphan_comment' => 'знайдено неприв`язані коментарі',
+  'delete' => 'Видалити',
+  'delete_all' => 'Видалити все',
+  'delete_all_orphans' => 'Видалити файли, що не використовуються?', //cpg1.4
+  'comment' => 'Коментар: ',
+  'nonexist' => 'приєднано до файла, що не існує # ',
+  'phpinfo' => 'Показати phpinfo',
+  'phpinfo_explanation' => 'Містить технічну інформацію про ваш сервер.<br /> - Вас можуть попросити надати деяку інформацію з цієї сторінки коли ви звертатиметеся за допомогою щодо Coppermine.', //cpg1.4
+  'update_db' => 'Поновити базу даних',
+  'update_db_explanation' => 'Якщо ви міняли файли Coppermine, або поновлювалися но нової версії, не забудьте один раз запустити поновлення бази даних. Цей процес здійснить необхідні зміни до структури та вмісту бази.',
+  'view_log' => 'Показати журнали роботи', //cpg1.4
+  'view_log_explanation' => 'Coppermine може занотовувати різноманітні дії, які виконують його користувачі. Ви можете переглядати ці журнали, якщо ви ввімкнули ведення журналів у <a href="admin.php">налаштуваннях галереї</a>.', //cpg1.4
+  'versioncheck' => 'Перевірити версії', //cpg1.4
+  'versioncheck_explanation' => 'Перевірити версії всіх файлів щоб переконатися що під час попереднього поновлення всі файли було належним чином замінено.', //cpg1.4
+  'bridgemanager' => 'Майстер Інтеграції', //cpg1.4
+  'bridgemanager_explanation' => 'Дозволити/відключити інтеграцію Coppermine з іншою системою (напр. вашим форумом).', //cpg1.4
+);
+}
+
+// ------------------------------------------------------------------------- //
+// File versioncheck.php //cpg1.4
+// ------------------------------------------------------------------------- //
+
+if (defined('VERSIONCHECK_PHP')) $lang_versioncheck_php = array(
+  'title' => 'Перевірка версій', //cpg1.4
+   'what_it_does' => 'Ця сторінка призначена для користувачів, які поновлювали свою галерею. Цей скрипт перебирає всі файли на вашому сервері і намагається визначити чи вони співпадають з файлами в еталонному репозиторії на http://coppermine.sourceforge.net, показуючи які відмінності було знайдено.<br />Все, що вимагає виправлень позначається червоним кольором. Файли, позначені жовтим вимагають перегляду. Файли, позначені зеленим (або вашим типовим кольором) не потребують корекцій.<br />Натисніть на іконку допомоги для отримання детальнішої інформації.', //cpg1.4
+  'online_repository_unable' => 'Не можу під`єднатися до головного репозиторія', //cpg1.4
+  'online_repository_noconnect' => 'Coppermine не зміг під`єднатися до головного репозиторія. Це могло статися з двох причин:', //cpg1.4
+  'online_repository_reason1' => 'головний репозиторій може зараз не працювати - перевірте чи ви можете відкрити наступну сторінку: %s - якщо ні, спробуйте пізніше.', //cpg1.4
+  'online_repository_reason2' => 'PHP на вашому сервері сконфігуроване з відключеним %s (як правило це є включеним). Якщо ви адмініструєте цей сервер, включіть цю опцію в <i>php.ini</i> (або хоча б дозвольте її перекрити в %s). Якщо ж ви хоститеся в сторонньої фірми - мабуть вам доведеться змиритися з відсутністю порівняння ваших файлів з файлами головного репозиторію. Тоді ця сторінка зможе лише показати версії файлів, які було інстальовано - наявність поновлень не буде вказано.', //cpg1.4
+  'online_repository_skipped' => 'Під`єднання до головного репозиторія пропущено', //cpg1.4
+  'online_repository_to_local' => 'Тепер програма буде звірятися з локальними копіями файлів. Результати можуть бути неточними, якщо ви поновлювали галерею і пропустили якийсь файл при цьому. Ваші зміни до файлів не будуть враховані також.', //cpg1.4
+  'local_repository_unable' => 'Не можу під`єднатися до репозиторія на вашому сервері', //cpg1.4
+  'local_repository_explanation' => 'Coppermine не зміг прочитати файл %s з репозиторія на вашому сервері. Це може означати, що ви не закачали належним чином файли у ваш репозиторій. Спробуйте знову і натисніть Refresh у веб переглядачі.<br />Якщо скрипт все одно не виконується, можливо на вашому сервері відключено частину <a href="http://www.php.net/manual/en/ref.filesystem.php">функцій PHP для доступу до файлової системи</a>. В такому випадку ви не зможете використовувати цю програму взагалі.', //cpg1.4
+  'coppermine_version_header' => 'Встановлена версія Coppermine', //cpg1.4
+  'coppermine_version_info' => 'Ви маєте зараз встановлено: %s', //cpg1.4
+  'coppermine_version_explanation' => 'Якщо насправді ви переконані, що використовуєте новішу версію, можливо, під час минулого поновлення ви забули поставити останню версію файла <i>include/init.inc.php</i>', //cpg1.4
+  'version_comparison' => 'Порівняння версії', //cpg1.4
+  'folder_file' => 'тека/файл', //cpg1.4
+  'coppermine_version' => 'версія cpg', //cpg1.4
+  'file_version' => 'версія файла', //cpg1.4
+  'webcvs' => 'web svn', //cpg1.4
+  'writable' => 'запис дозволено', //cpg1.4
+  'not_writable' => 'запис заборонено', //cpg1.4
+  'help' => 'Допомога', //cpg1.4
+  'help_file_not_exist_optional1' => 'файл/тека не існує', //cpg1.4
+  'help_file_not_exist_optional2' => 'Файл/тека %s не існує на вашому сервері. Хоча він і не обов`язковий, але якщо у вас виникають якісь проблеми в роботі галереї, закачайте цей файл на сервер (через FTP).', //cpg1.4
+  'help_file_not_exist_mandatory1' => 'файл/тека не існує', //cpg1.4
+  'help_file_not_exist_mandatory2' => 'Файл/тека %s не існує на вашому сервері. Хоча він є обов`язковим. Закачайте цей файл на сервер (через FTP).', //cpg1.4
+  'help_no_local_version1' => 'Версія локального файлу невідома', //cpg1.4
+  'help_no_local_version2' => 'Програмі не вдалося визначити версію локального файла - це означає, що файл є або застарілим, або ви самі вносили до нього зміни і витерли інформацію про версію із заголовка. Рекомендуємо поновити цей файл.', //cpg1.4
+  'help_local_version_outdated1' => 'Локальна версія застаріла', //cpg1.4
+  'help_local_version_outdated2' => 'Схоже на те, що версія цього файла відповідає старішій версії Coppermine. Оновіть також і цей файл.', //cpg1.4
+  'help_local_version_na1' => 'Неможливо добути інформацію про CVS версію файла', //cpg1.4
+  'help_local_version_na2' => 'Програма не може визначити CVS версію файла на вашому веб сервері. Перепишіть цей файл знову.', //cpg1.4
+  'help_local_version_dev1' => 'Файл з нестабільної гілки', //cpg1.4
+  'help_local_version_dev2' => 'Файл на вашому веб сервері виглядає новішим, ніж мав би бути для цієї версії Coppermine. Ви або взяли файл з нестабільної гілки (що варто робити лише якщо ви дійсно знаєте, що робите), або під час поновлення вашої галереї ви пропустили файл include/init.inc.php', //cpg1.4
+  'help_not_writable1' => 'Тека недоступна для запису', //cpg1.4
+  'help_not_writable2' => 'Змініть права доступу до теки %s (CHMOD) щоб надати право запису до неї і всього, що у ній є.', //cpg1.4
+  'help_writable1' => 'Тека доступна для запису', //cpg1.4
+  'help_writable2' => 'Тека %s є доступною для запису. Це дає зайвий ризик, оскільки Coppermine потребує лише прав читання та запуску.', //cpg1.4
+  'help_writable_undetermined' => 'Coppermine не зміг визначити чи тека є доступною для запису.', //cpg1.4
+  'your_file' => 'ваш файл', //cpg1.4
+  'reference_file' => 'еталонний файл', //cpg1.4
+  'summary' => 'Підсумок', //cpg1.4
+  'total' => 'Всього перевірено файлів/тек', //cpg1.4
+  'mandatory_files_missing' => 'Загублені обов`язкові файли', //cpg1.4
+  'optional_files_missing' => 'Загублені необов`язкові файли', //cpg1.4
+  'files_from_older_version' => 'Файли, залишені від застарілої версії Coppermine', //cpg1.4
+  'file_version_outdated' => 'Застарілі файли', //cpg1.4
+  'error_no_data' => 'Програмі не вдалося отримати жодної інформації. Вибачте за незручності.', //cpg1.4
+  'go_to_webcvs' => 'перейти до %s', //cpg1.4
+  'options' => 'Налаштування', //cpg1.4
+  'show_optional_files' => 'показати необов`язкові файли/теки', //cpg1.4
+  'show_mandatory_files' => 'показати обов`язкові файли', //cpg1.4
+  'show_file_versions' => 'показати версії файлів', //cpg1.4
+  'show_errors_only' => 'показати тільки теки/файли де є помилки', //cpg1.4
+  'show_permissions' => 'показати права доступу до тек', //cpg1.4
+  'show_condensed_output' => 'здійснювати концентрований вивід інформації (щоб полегшити зняття відбитків екрану)', //cpg1.4
+  'coppermine_in_webroot' => 'coppermine було встановлено в корінь веб сайту', //cpg1.4
+  'connect_online_repository' => 'спробувати під`єднатися до головного репозиторія', //cpg1.4
+  'show_additional_information' => 'показати додаткову інформацію', //cpg1.4
+  'no_webcvs_link' => 'не показувати посилання на CVS', //cpg1.4
+  'stable_webcvs_link' => 'показати посилання на стабільну гілку в CVS', //cpg1.4
+  'devel_webcvs_link' => 'показати посилання на гілку розробки в CVS', //cpg1.4
+  'submit' => 'застосувати зміни / оновити', //cpg1.4
+  'reset_to_defaults' => 'відновити типові значення', //cpg1.4
+);
+
+// ------------------------------------------------------------------------- //
+// File view_log.php  //cpg1.4
+// ------------------------------------------------------------------------- //
+
+if (defined('VIEWLOG_PHP')) $lang_viewlog_php = array(
+  'delete_all' => 'Очистити всі журнали', //cpg1.4
+  'delete_this' => 'Стерти цей журнал', //cpg1.4
+  'view_logs' => 'Подивитися журнали', //cpg1.4
+  'no_logs' => 'Журнали ще не створено.', //cpg1.4
+);
+
+
+// ------------------------------------------------------------------------- //
+// File xp_publish.php //cpg1.4
+// ------------------------------------------------------------------------- //
+
+if (defined('XP_PUBLISH_PHP')) {
+
+$lang_xp_publish_client = <<<EOT
+<h1> Клієнт майстра тенет-публікації XP</h1><p>Цей модуль дозволяє використання з Coppermine майстра тенет-публікації <b>Windows XP</b>.</p><p>Цей код базується на статті опублікованій
+EOT;
+
+$lang_xp_publish_required = <<<EOT
+<h2>Вимоги</h2><ul><li>Windows XP яка власне має майстра публікації.</li><li>Робоча інсталяція Coppermine у якій <b>функція закачування працює належним чином.</b></li></ul><h2>Налаштування на стороні клієнта</h2><ul><li>Клацніть правою кнопкою миші на
+EOT;
+
+$lang_xp_publish_select = <<<EOT
+Виберіть &quot;save target as..&quot;. Збережіть файл в себе на диску. Під час збереження файла, переконайтеся, що запропоноване ім`я файла <b>cpg_###.reg</b> (де ### відповідає числовій часовий мітці). Змініть його до відповідного формату при необхідності (залишіть номери). Після завантаження, клацніть двічі по файлу для того, щоб зареєструвати ваш сервер для майстра публікації.</li></ul>
+EOT;
+
+$lang_xp_publish_testing = <<<EOT
+<h2>Перевірка</h2><ul><li>У Windows Explorer, виберіть якісь файли і виберіть <b>Publish xxx on the web</b> у панелі зліва.</li><li>Підтвердіть свій вибір. Натисніть <b>Далі</b>.</li><li>У списку сервісів, виберіть сервіс вашої галереї (він буде мати назву вашої галереї). Якщо потрібного сервісу не буде у списку, переконайтеся, що ви встановили <b>cpg_pub_wizard.reg</b> як це було описано вище.</li><li>Авторизуйтеся, якщо це буде необхідно.</li><li>Виберіть альбом куди будуть додані фото або створіть новий.</li><li>Натисніть <b>далі</b>. Почнеться закачування ваших фото.</li><li>Після завершення, переконайтеся, що фото були правильно додані в галерею.</li></ul>
+EOT;
+
+$lang_xp_publish_notes = <<<EOT
+<h2>Примітки :</h2><ul><li>Після початку закачування, майстер не може показувати жодних повідомлень про помилки з сервера тому єдиний спосіб перевірити чи фото були успішно додані це зайти в галерею і подивитися безпосередньо там.</li><li>Якщо закачування відбулося невдало, включіть &quot;Режим відлагодження&quot; в налаштуваннях галереї, спробуйте закачати єдине фото і подивіться на повідомлення
+EOT;
+
+$lang_xp_publish_flood = <<<EOT
+у файлі, що знаходиться в теці Coppermine на вашому сервері.</li><li>Для уникнення переповнення галереї зображеннями, долученими за допомогою цього майстра, тільки <b>адміністратори галереї</b> та <b>користувачі, що мають право мати свої альбоми</b> можуть використовувати цей засіб.</li>
+EOT;
+
+
+$lang_xp_publish_php = array(
+  'title' => 'Coppermine - XP Майстер тенет-публікації', //cpg1.4
+  'welcome' => 'Вітаємо <b>%s</b>,', //cpg1.4
+  'need_login' => 'Ви повинні авторизуватися у галереї перш, ніж використовувати цю програму.<p/><p>під час входу у систему не забудьте активувати опцію <b>запам`ятати мене</b> якщо вона є доступною.', //cpg1.4
+  'no_alb' => 'Нажаль, не вдається знайти альбом, у який ви маєте право додавати фото за допомогою цього майстра.', //cpg1.4
+  'upload' => 'Долучити фото до існуючого альбому', //cpg1.4
+  'create_new' => 'Створити новий альбом', //cpg1.4
+  'album' => 'Альбом', //cpg1.4
+  'category' => 'Категорія', //cpg1.4
+  'new_alb_created' => 'Новий альбом &quot;<b>%s</b>&quot; було створено.', //cpg1.4
+  'continue' => 'Натисніть &quot;Продовжити&quot; щоб почати закачування ваших файлів', //cpg1.4
+  'link' => 'це посилання', //cpg1.4
+);
+}
+?>
diff -x .svn -aruN 1.4.24.src/lang/vietnamese.php 1.4.25.src/lang/vietnamese.php
--- 1.4.24.src/lang/vietnamese.php	2009-05-25 15:01:17.000000000 -0500
+++ 1.4.25.src/lang/vietnamese.php	2009-05-26 11:25:40.000000000 -0500
@@ -10,11 +10,11 @@
   as published by the Free Software Foundation.
   
   ********************************************
-  Coppermine version: 1.4.24
+  Coppermine version: 1.4.25
   $HeadURL: https://coppermine.svn.sourceforge.net/svnroot/coppermine/trunk/cpg1.4.x/lang/vietnamese.php $
-  $Revision: 5988 $
+  $Revision: 5997 $
   $Author: gaugau $
-  $Date: 2009-05-25 22:01:41 +0200 (Mo, 25 Mai 2009) $
+  $Date: 2009-05-26 08:43:24 +0200 (Di, 26 Mai 2009) $
 **********************************************/
 
 if (!defined('IN_COPPERMINE')) { die('Not in Coppermine...');}
diff -x .svn -aruN 1.4.24.src/lang/welsh.php 1.4.25.src/lang/welsh.php
--- 1.4.24.src/lang/welsh.php	2009-05-25 15:01:17.000000000 -0500
+++ 1.4.25.src/lang/welsh.php	2009-05-26 11:25:40.000000000 -0500
@@ -8,11 +8,11 @@
   it under the terms of the GNU General Public License version 3
   as published by the Free Software Foundation.
    ********************************************
-  Coppermine version: 1.4.24
+  Coppermine version: 1.4.25
   $HeadURL: https://coppermine.svn.sourceforge.net/svnroot/coppermine/trunk/cpg1.4.x/lang/welsh.php $
-  $Revision: 5988 $
+  $Revision: 5997 $
   $Author: gaugau $
-  $Date: 2009-05-25 22:01:41 +0200 (Mo, 25 Mai 2009) $
+  $Date: 2009-05-26 08:43:24 +0200 (Di, 26 Mai 2009) $
 **********************************************/
 /*********************************************
 GEIRIAU TGCh CYMRAEG
diff -x .svn -aruN 1.4.24.src/login.php 1.4.25.src/login.php
--- 1.4.24.src/login.php	2009-05-21 15:03:09.000000000 -0500
+++ 1.4.25.src/login.php	2009-05-26 11:25:52.000000000 -0500
@@ -1,125 +1,125 @@
-<?php
-/*************************
-  Coppermine Photo Gallery
-  ************************
-  Copyright (c) 2003-2009 Coppermine Dev Team
-  v1.1 originally written by Gregory DEMAR
-
-  This program is free software; you can redistribute it and/or modify
-  it under the terms of the GNU General Public License version 3
-  as published by the Free Software Foundation.
-  
-  ********************************************
-  Coppermine version: 1.4.24
-  $HeadURL: https://coppermine.svn.sourceforge.net/svnroot/coppermine/trunk/cpg1.4.x/login.php $
-  $Revision: 5969 $
-  $Author: gaugau $
-  $Date: 2009-05-21 22:03:33 +0200 (Do, 21 Mai 2009) $
-**********************************************/
-
-define('IN_COPPERMINE', true);
-define('LOGIN_PHP', true);
-
-require('include/init.inc.php');
-
-if (USER_ID) cpg_die(ERROR, $lang_login_php['err_already_logged_in'], __FILE__, __LINE__);
-
-if (defined('UDB_INTEGRATION')) $cpg_udb->login_page();
-
-$referer = $_GET['referer'] ? $_GET['referer'] : 'index.php';
-if (strpos($referer, "http") !== false || strpos($referer, "logout.php") !== false) {
-  $referer = "index.php";
-}
-$login_failed = '';
-$cookie_warning = '';
-
-if (isset($_POST['submitted'])) {
-    if ( $USER_DATA = $cpg_udb->login( addslashes($_POST['username']), addslashes($_POST['password']), isset($_POST['remember_me']) ) ) {
-        $referer=preg_replace("'&amp;'","&",$referer);
-        pageheader($lang_login_php['login'], "<META http-equiv=\"refresh\" content=\"3;url=$referer\">");
-        msg_box($lang_login_php['login'], sprintf($lang_login_php['welcome'], $USER_DATA['user_name']), $lang_continue, $referer);
-        pagefooter();
-        exit;
-    } else {
-        log_write("Failed login attempt with Username: {$_POST['username']} from IP {$_SERVER['REMOTE_ADDR']} on " . localised_date(-1,$log_date_fmt),CPG_SECURITY_LOG);
-
-        $login_failed = <<<EOT
-                  <tr>
-                          <td colspan="2" align="center" class="tableh2">
-                        <span style="color:red"><b>{$lang_login_php['err_login']}<b></span>
-                        </td>
-                  </tr>
-EOT;
-
-        // get IP address of the person who tried to log in, look it up on the banning table and increase the brute force counter. If the brute force counter has reached a critical limit, set a regular banning record
-        $result = cpg_db_query("SELECT * FROM {$CONFIG['TABLE_BANNED']} WHERE ip_addr='$raw_ip' OR ip_addr='$hdr_ip'");
-        $failed_logon_counter = mysql_fetch_array($result);
-        mysql_free_result($result);
-        $expiry_date = date("Y-m-d H:i:s", mktime(date('H'), date('i')+$CONFIG['login_expiry'], date('s'), date('m'), date('d'),date('Y')));
-
-        if ($failed_logon_counter['brute_force']) {
-            $failed_logon_counter['brute_force'] = $failed_logon_counter['brute_force'] - 1;
-            $query_string = "UPDATE {$CONFIG['TABLE_BANNED']} SET brute_force='".$failed_logon_counter['brute_force']."',  expiry='".$expiry_date."' WHERE ban_id=".$failed_logon_counter['ban_id'];
-        }else{
-            $failed_logon_counter['brute_force'] = $CONFIG['login_threshold'];
-            $query_string = "INSERT INTO {$CONFIG['TABLE_BANNED']} (ip_addr, expiry, brute_force) VALUES ('$raw_ip', '$expiry_date','".$failed_logon_counter['brute_force']."')";
-        }
-
-        //write the logon counter to the database
-        cpg_db_query($query_string);
-    }
-}
-
-if (!isset($_COOKIE[$CONFIG['cookie_name'] . '_data'])) {
-    $cookie_warning = <<<EOT
-                  <tr>
-                          <td colspan="2" align="center" class="tableh2">
-                        <span style="color:red"><b>{$lang_login_php['cookie_warning']}</b></span>
-                        </td>
-                  </tr>
-
-EOT;
-}
-
-pageheader($lang_login_php['login']);
-$referer = urlencode($referer);
-echo '<form action="login.php?referer='.$referer.'" method="post" name="loginbox">';
-
-starttable('-1', $lang_login_php['enter_login_pswd'], 2);
-echo <<< EOT
-                  $login_failed
-                  $cookie_warning
-                  <tr>
-                        <td class="tableb" width="40%">{$lang_login_php['username']}</td>
-                        <td class="tableb" width="60%"><input type="text" class="textinput" name="username" style="width: 100%" tabindex="1" /></td>
-                  </tr>
-                  <tr>
-                          <td class="tableb">{$lang_login_php['password']}</td>
-                        <td class="tableb"><input type="password" class="textinput" name="password" style="width: 100%" tabindex="2" /></td>
-                  </tr>
-                  <tr>
-                    <td colspan="2" align="center" class="tableb">{$lang_login_php['remember_me']} <input name="remember_me" type="checkbox" class="checkbox" value="1" tabindex="3" /></td>
-                  </tr>
-                  <tr>
-                    <td align="center" class="tablef"><a href="forgot_passwd.php" class="topmenu">{$lang_login_php['forgot_password_link']}</a></td>
-                    <td align="left" class="tablef"><input name="submitted" type="submit" class="button" value="{$lang_login_php['login']}" tabindex="4" /></td>
-                  </tr>
-
-EOT;
-
-endtable();
-
-echo <<< EOT
-
-</form>
-<script language="javascript" type="text/javascript">
-<!--
-document.loginbox.username.focus();
--->
-</script>
-EOT;
-
-pagefooter();
-ob_end_flush();
-
+<?php
+/*************************
+  Coppermine Photo Gallery
+  ************************
+  Copyright (c) 2003-2009 Coppermine Dev Team
+  v1.1 originally written by Gregory DEMAR
+
+  This program is free software; you can redistribute it and/or modify
+  it under the terms of the GNU General Public License version 3
+  as published by the Free Software Foundation.
+  
+  ********************************************
+  Coppermine version: 1.4.25
+  $HeadURL: https://coppermine.svn.sourceforge.net/svnroot/coppermine/trunk/cpg1.4.x/login.php $
+  $Revision: 5997 $
+  $Author: gaugau $
+  $Date: 2009-05-26 08:43:24 +0200 (Di, 26 Mai 2009) $
+**********************************************/
+
+define('IN_COPPERMINE', true);
+define('LOGIN_PHP', true);
+
+require('include/init.inc.php');
+
+if (USER_ID) cpg_die(ERROR, $lang_login_php['err_already_logged_in'], __FILE__, __LINE__);
+
+if (defined('UDB_INTEGRATION')) $cpg_udb->login_page();
+
+$referer = $_GET['referer'] ? $_GET['referer'] : 'index.php';
+if (strpos($referer, "http") !== false || strpos($referer, "logout.php") !== false) {
+  $referer = "index.php";
+}
+$login_failed = '';
+$cookie_warning = '';
+
+if (isset($_POST['submitted'])) {
+    if ( $USER_DATA = $cpg_udb->login( addslashes($_POST['username']), addslashes($_POST['password']), isset($_POST['remember_me']) ) ) {
+        $referer=preg_replace("'&amp;'","&",$referer);
+        pageheader($lang_login_php['login'], "<META http-equiv=\"refresh\" content=\"3;url=$referer\">");
+        msg_box($lang_login_php['login'], sprintf($lang_login_php['welcome'], $USER_DATA['user_name']), $lang_continue, $referer);
+        pagefooter();
+        exit;
+    } else {
+        log_write("Failed login attempt with Username: {$_POST['username']} from IP {$_SERVER['REMOTE_ADDR']} on " . localised_date(-1,$log_date_fmt),CPG_SECURITY_LOG);
+
+        $login_failed = <<<EOT
+                  <tr>
+                          <td colspan="2" align="center" class="tableh2">
+                        <span style="color:red"><b>{$lang_login_php['err_login']}<b></span>
+                        </td>
+                  </tr>
+EOT;
+
+        // get IP address of the person who tried to log in, look it up on the banning table and increase the brute force counter. If the brute force counter has reached a critical limit, set a regular banning record
+        $result = cpg_db_query("SELECT * FROM {$CONFIG['TABLE_BANNED']} WHERE ip_addr='$raw_ip' OR ip_addr='$hdr_ip'");
+        $failed_logon_counter = mysql_fetch_array($result);
+        mysql_free_result($result);
+        $expiry_date = date("Y-m-d H:i:s", mktime(date('H'), date('i')+$CONFIG['login_expiry'], date('s'), date('m'), date('d'),date('Y')));
+
+        if ($failed_logon_counter['brute_force']) {
+            $failed_logon_counter['brute_force'] = $failed_logon_counter['brute_force'] - 1;
+            $query_string = "UPDATE {$CONFIG['TABLE_BANNED']} SET brute_force='".$failed_logon_counter['brute_force']."',  expiry='".$expiry_date."' WHERE ban_id=".$failed_logon_counter['ban_id'];
+        }else{
+            $failed_logon_counter['brute_force'] = $CONFIG['login_threshold'];
+            $query_string = "INSERT INTO {$CONFIG['TABLE_BANNED']} (ip_addr, expiry, brute_force) VALUES ('$raw_ip', '$expiry_date','".$failed_logon_counter['brute_force']."')";
+        }
+
+        //write the logon counter to the database
+        cpg_db_query($query_string);
+    }
+}
+
+if (!isset($_COOKIE[$CONFIG['cookie_name'] . '_data'])) {
+    $cookie_warning = <<<EOT
+                  <tr>
+                          <td colspan="2" align="center" class="tableh2">
+                        <span style="color:red"><b>{$lang_login_php['cookie_warning']}</b></span>
+                        </td>
+                  </tr>
+
+EOT;
+}
+
+pageheader($lang_login_php['login']);
+$referer = urlencode($referer);
+echo '<form action="login.php?referer='.$referer.'" method="post" name="loginbox">';
+
+starttable('-1', $lang_login_php['enter_login_pswd'], 2);
+echo <<< EOT
+                  $login_failed
+                  $cookie_warning
+                  <tr>
+                        <td class="tableb" width="40%">{$lang_login_php['username']}</td>
+                        <td class="tableb" width="60%"><input type="text" class="textinput" name="username" style="width: 100%" tabindex="1" /></td>
+                  </tr>
+                  <tr>
+                          <td class="tableb">{$lang_login_php['password']}</td>
+                        <td class="tableb"><input type="password" class="textinput" name="password" style="width: 100%" tabindex="2" /></td>
+                  </tr>
+                  <tr>
+                    <td colspan="2" align="center" class="tableb">{$lang_login_php['remember_me']} <input name="remember_me" type="checkbox" class="checkbox" value="1" tabindex="3" /></td>
+                  </tr>
+                  <tr>
+                    <td align="center" class="tablef"><a href="forgot_passwd.php" class="topmenu">{$lang_login_php['forgot_password_link']}</a></td>
+                    <td align="left" class="tablef"><input name="submitted" type="submit" class="button" value="{$lang_login_php['login']}" tabindex="4" /></td>
+                  </tr>
+
+EOT;
+
+endtable();
+
+echo <<< EOT
+
+</form>
+<script language="javascript" type="text/javascript">
+<!--
+document.loginbox.username.focus();
+-->
+</script>
+EOT;
+
+pagefooter();
+ob_end_flush();
+
 ?>
\ No newline at end of file
diff -x .svn -aruN 1.4.24.src/logout.php 1.4.25.src/logout.php
--- 1.4.24.src/logout.php	2009-05-21 15:03:09.000000000 -0500
+++ 1.4.25.src/logout.php	2009-05-26 11:25:52.000000000 -0500
@@ -1,41 +1,41 @@
-<?php
-/*************************
-  Coppermine Photo Gallery
-  ************************
-  Copyright (c) 2003-2009 Coppermine Dev Team
-  v1.1 originally written by Gregory DEMAR
-
-  This program is free software; you can redistribute it and/or modify
-  it under the terms of the GNU General Public License version 3
-  as published by the Free Software Foundation.
-  
-  ********************************************
-  Coppermine version: 1.4.24
-  $HeadURL: https://coppermine.svn.sourceforge.net/svnroot/coppermine/trunk/cpg1.4.x/logout.php $
-  $Revision: 5969 $
-  $Author: gaugau $
-  $Date: 2009-05-21 22:03:33 +0200 (Do, 21 Mai 2009) $
-**********************************************/
-
-define('IN_COPPERMINE', true);
-define('LOGOUT_PHP', true);
-
-require('include/init.inc.php');
-
-if (!USER_ID) cpg_die(ERROR, $lang_logout_php['err_not_loged_in'], __FILE__, __LINE__);
-
-if (defined('UDB_INTEGRATION')) $cpg_udb->logout_page();
-
-/*
-setcookie($CONFIG['cookie_name'] . '_pass', '', time()-86400, $CONFIG['cookie_path']);
-setcookie($CONFIG['cookie_name'] . '_uid', '', time()-86400, $CONFIG['cookie_path']);
-*/
-
-$referer = 'index.php';
-
-pageheader($lang_logout_php['logout'], "<META http-equiv=\"refresh\" content=\"3;url=$referer\">");
-msg_box($lang_logout_php['logout'], sprintf($lang_logout_php['bye'], stripslashes(USER_NAME)), $lang_continue, $referer);
-pagefooter();
-ob_end_flush();
-
-?>
+<?php
+/*************************
+  Coppermine Photo Gallery
+  ************************
+  Copyright (c) 2003-2009 Coppermine Dev Team
+  v1.1 originally written by Gregory DEMAR
+
+  This program is free software; you can redistribute it and/or modify
+  it under the terms of the GNU General Public License version 3
+  as published by the Free Software Foundation.
+  
+  ********************************************
+  Coppermine version: 1.4.25
+  $HeadURL: https://coppermine.svn.sourceforge.net/svnroot/coppermine/trunk/cpg1.4.x/logout.php $
+  $Revision: 5997 $
+  $Author: gaugau $
+  $Date: 2009-05-26 08:43:24 +0200 (Di, 26 Mai 2009) $
+**********************************************/
+
+define('IN_COPPERMINE', true);
+define('LOGOUT_PHP', true);
+
+require('include/init.inc.php');
+
+if (!USER_ID) cpg_die(ERROR, $lang_logout_php['err_not_loged_in'], __FILE__, __LINE__);
+
+if (defined('UDB_INTEGRATION')) $cpg_udb->logout_page();
+
+/*
+setcookie($CONFIG['cookie_name'] . '_pass', '', time()-86400, $CONFIG['cookie_path']);
+setcookie($CONFIG['cookie_name'] . '_uid', '', time()-86400, $CONFIG['cookie_path']);
+*/
+
+$referer = 'index.php';
+
+pageheader($lang_logout_php['logout'], "<META http-equiv=\"refresh\" content=\"3;url=$referer\">");
+msg_box($lang_logout_php['logout'], sprintf($lang_logout_php['bye'], stripslashes(USER_NAME)), $lang_continue, $referer);
+pagefooter();
+ob_end_flush();
+
+?>
diff -x .svn -aruN 1.4.24.src/logs/log_header.inc.php 1.4.25.src/logs/log_header.inc.php
--- 1.4.24.src/logs/log_header.inc.php	2009-05-21 15:03:09.000000000 -0500
+++ 1.4.25.src/logs/log_header.inc.php	2009-05-26 11:25:50.000000000 -0500
@@ -1,23 +1,23 @@
-<?php
-/*************************
-  Coppermine Photo Gallery
-  ************************
-  Copyright (c) 2003-2009 Coppermine Dev Team
-  v1.1 originally written by Gregory DEMAR
-
-  This program is free software; you can redistribute it and/or modify
-  it under the terms of the GNU General Public License version 3
-  as published by the Free Software Foundation.
-  
-  ********************************************
-  Coppermine version: 1.4.24
-  $HeadURL: https://coppermine.svn.sourceforge.net/svnroot/coppermine/trunk/cpg1.4.x/logs/log_header.inc.php $
-  $Revision: 5969 $
-  $Author: gaugau $
-  $Date: 2009-05-21 22:03:33 +0200 (Do, 21 Mai 2009) $
-**********************************************/
-
-if (!defined('IN_COPPERMINE')) {
-        die();
-}
-?>
+<?php
+/*************************
+  Coppermine Photo Gallery
+  ************************
+  Copyright (c) 2003-2009 Coppermine Dev Team
+  v1.1 originally written by Gregory DEMAR
+
+  This program is free software; you can redistribute it and/or modify
+  it under the terms of the GNU General Public License version 3
+  as published by the Free Software Foundation.
+  
+  ********************************************
+  Coppermine version: 1.4.25
+  $HeadURL: https://coppermine.svn.sourceforge.net/svnroot/coppermine/trunk/cpg1.4.x/logs/log_header.inc.php $
+  $Revision: 5997 $
+  $Author: gaugau $
+  $Date: 2009-05-26 08:43:24 +0200 (Di, 26 Mai 2009) $
+**********************************************/
+
+if (!defined('IN_COPPERMINE')) {
+        die();
+}
+?>
diff -x .svn -aruN 1.4.24.src/minibrowser.php 1.4.25.src/minibrowser.php
--- 1.4.24.src/minibrowser.php	2009-05-21 15:03:09.000000000 -0500
+++ 1.4.25.src/minibrowser.php	2009-05-26 11:25:52.000000000 -0500
@@ -1,267 +1,267 @@
-<?php
-/*************************
-  Coppermine Photo Gallery
-  ************************
-  Copyright (c) 2003-2009 Coppermine Dev Team
-  v1.1 originally written by Gregory DEMAR
-
-  This program is free software; you can redistribute it and/or modify
-  it under the terms of the GNU General Public License version 3
-  as published by the Free Software Foundation.
-  
-  ********************************************
-  Coppermine version: 1.4.24
-  $HeadURL: https://coppermine.svn.sourceforge.net/svnroot/coppermine/trunk/cpg1.4.x/minibrowser.php $
-  $Revision: 5969 $
-  $Author: gaugau $
-  $Date: 2009-05-21 22:03:33 +0200 (Do, 21 Mai 2009) $
-**********************************************/
-
-define('IN_COPPERMINE', true);
-define('MINIBROWSER_PHP', true);
-define('SEARCHNEW_PHP', true);
-
-require('include/init.inc.php');
-
-// set/define some vars
-$scriptfilename = 'minibrowser.php';
-
-if (isset($_REQUEST['folder'])) {
-    $folder = rawurldecode($_REQUEST['folder']);
-} else {
-    $folder = '';
-}
-
-if (isset($_REQUEST['startfolder'])) {
-    $startfolder = rawurldecode($_REQUEST['startfolder']);
-} else {
-    $startfolder = '';
-}
-
-if ($folder == '' && $startfolder != '') {
-    $folder = $startfolder;
-}
-
-if (isset($_REQUEST['parentform'])) {
-    $parentform = rawurldecode($_REQUEST['parentform']);
-} else {
-    $parentform = '';
-}
-
-if (isset($_REQUEST['formelementname'])) {
-    $formelementname = rawurldecode($_REQUEST['formelementname']);
-} else {
-    $formelementname = '';
-}
-
-if (isset($_REQUEST['hidefolders'])) {
-    $hidefolders = rawurldecode($_REQUEST['hidefolders']);
-    $hiddenfolders = explode(',', $hidefolders);
-}
-
-if (isset($_REQUEST['linktarget'])) {
-    $linktarget = rawurldecode($_REQUEST['linktarget']);
-} else {
-    $linktarget = '';
-}
-
-if (isset($_REQUEST['searchnew_php'])) {
-    $searchnew_php = rawurldecode($_REQUEST['searchnew_php']);
-} else {
-    $searchnew_php = '0';
-}
-
-if (isset($_REQUEST['radio'])) {
-    $radio = rawurldecode($_REQUEST['radio']);
-} else {
-    $radio = '';
-}
-
-$newline = "\n";
-
-?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
-
-<html>
-<head>
-<title><?php echo $CONFIG['gallery_name'] .': '. $lang_minibrowser_php['click_to_close'];  ?></title>
-<meta http-equiv="content-type" content="text/html; charset=<?php echo $CONFIG['charset'] == 'language file' ? $lang_charset : $CONFIG['charset'] ?>" />
-<link rel="stylesheet" href="<?php echo $THEME_DIR ?>style.css" />
-<script type="text/javascript" src="scripts.js"></script>
-<?php
-//if ($parentform != '' && $formelementname != '') { // print the javascript bit that updates the parent element --- start
-?>
-<script type="text/javascript">
-function updateParent() {
-    opener.document.<?php print $parentform; ?>.<?php print $formelementname; ?>.value = document.childform.cf2.value;
-    //window.self.close();
-    return false;
-}
-<?php
-if (!$_REQUEST['no_popup']) {
-?>
-adjust_popup();
-<?php
-}
-?>
-</script>
-<?php
-//} // print the javascript bit that updates the parent element --- end
-?>
-</head>
-<body class="tableb" scroll="auto" marginwidth="0" marginheight="0">
-
-<form name="childform" id="childform" method="get" action="<?php print $_SERVER['PHP_SELF']; ?>" onsubmit="return updateParent();">
-
-<?php
-//print $_SERVER["REQUEST_URI"];
-starttable(-2, $lang_minibrowser_php['select_directory'], 2);
-if (!GALLERY_ADMIN_MODE) { cpg_die(ERROR, $lang_errors['access_denied'], __FILE__, __LINE__); }
-
-
-$base_folder = rtrim(cpg_get_webroot_path(), '/').'/';
-
-//print $base_folder.'<br />';
-
-$dir = opendir($base_folder.$folder);
-// read the folder/file structure we're currently in and put it into an array
-$dirCounter = 0;
-while($file = readdir($dir)){
-    if(is_dir($base_folder.$folder.$file)) {
-        if (is_array($hiddenfolders)) {
-            if (in_array($file,$hiddenfolders) == false) {
-                $foldername[] = $file;
-                $dirCounter++;
-            }
-        } else {
-            $foldername[] = $file;
-            $dirCounter++;
-        }
-    } else {
-        $filename[] = $file;
-    }
-}
-closedir($dir);
-
-
-// print the folder we're in
-print '<tr>'.$newline;
-print '<td class="tableh2">'.$newline;
-if ($radio != 0) {
-    print '<input type="radio" name="cf1" value="'.$folder.rtrim($key, '/').'/" class="radio"  checked="checked" />'.$newline;
-}
-print '</td>'.$newline;
-print '<td class="tableh2">'.$newline;
-print '<input type="text" name="cf2" size="50" value="/'.ltrim($folder, '/').'" disabled="disabled" class="tableh2_compact" />&nbsp;'.$newline;
-if ($linktarget != '') {
-    // determine if we should display a submit button start
-    // get the allowed extensions
-    $filetypes = array();
-    $result = cpg_db_query("SELECT extension FROM {$CONFIG['TABLE_FILETYPES']}");
-    //print mysql_num_rows($result);
-    while($row = mysql_fetch_row($result)) {
-        $filetypes[] = $row[0];
-    }
-    mysql_free_result($result);
-    $filetypes = array_unique($filetypes);
-    // loop through the $filename array, get the extensions and check if at least one allowed ending is there
-    $allowed_file_counter = 0;
-    if (is_array($filename)) {
-        foreach ($filename as $value) {
-          if(in_array(ltrim(strrchr(strtolower($value),'.'),'.'), $filetypes)) {
-              $allowed_file_counter++;
-          } // end if in_array
-        } // end foreach
-    } // end is_array
-    if ($allowed_file_counter!=0) {
-        print '<a href="'.$linktarget.'?startdir='.rtrim(str_replace($_REQUEST['limitfolder'], '',$folder), '/').'" class="admin_menu" target="_parent">'.$lang_minibrowser_php['submit'].'</a>'.$newline;
-    } // determine if we should display a submit button end
-} else {
-    print '<input type="submit" name="submit" value="'.$lang_minibrowser_php['submit'].'" class="button" />'.$newline;
-}
-print '</td>'.$newline;
-print '</tr>'.$newline;
-
-
-// display the "up" link if we're not already in the root folder
-if ((!empty($_REQUEST['folder']) || !empty($_REQUEST['startfolder'])) && ($folder != '' && $folder!= '/')) {
-    $uplink = rtrim($folder, '/');
-    $remove = strrchr ($uplink,'/');
-    //print 'uplink:'.$uplink.'<br />';
-    //print 'remove:'.$remove.'<br />';
-    if ($remove != '') {
-        $uplink = str_replace($remove, '', $uplink).'/';
-    } else {
-        $uplink = '';
-    }
-    //print 'uplink:'.$uplink.'<br />';
-    if ($_REQUEST['limitfolder'] != $folder) {
-        print '<tr>'.$newline;
-        print '<td class="tableb">'.$newline;
-        print '&nbsp;';
-        print '</td>'.$newline;
-        print '<td class="tableb">'.$newline;
-        print '<img src="images/spacer.gif" width="16" height="16" border="0" alt="" align="left" />'.$newline;
-        print '<a href="'.$_SERVER['PHP_SELF'].'?folder='.rawurlencode($uplink).'&amp;parentform='.rawurlencode($parentform).'&amp;formelementname='.rawurlencode($formelementname).'&amp;no_popup='.$_REQUEST['no_popup'].'&amp;limitfolder='.$_REQUEST['limitfolder'].'&amp;hidefolders='.$_REQUEST['hidefolders'].'&amp;linktarget='.$_REQUEST['linktarget'].'">'.$newline;
-        print '.. '.$lang_minibrowser_php['up'];
-        print '</a>'.$newline;
-        print '</td>'.$newline;
-        print '</tr>'.$newline;
-    }
-}
-
-
-if (is_array($foldername)) {
-    natcasesort ($foldername);
-    foreach($foldername as $key) {
-        if ($key != '.' && $key != '..') {
-            print '<tr>'.$newline;
-            print '<td class="tableb">'.$newline;
-            if ($radio != 0) {
-                print '<input type="radio" name="cf1" value="'.$folder.rtrim($key, '/').'/" class="radio" onclick="document.childform.cf2.value=\''.$folder.$key.'\'" />'.$newline;
-            }
-            print '</td>'.$newline;
-            print '<td class="tableb">'.$newline;
-            print '<a href="'.$_SERVER['PHP_SELF'].'?folder='.rawurlencode('/'.ltrim($folder, '/').$key.'/').'&amp;parentform='.rawurlencode($parentform).'&amp;formelementname='.rawurlencode($formelementname).'&amp;no_popup='.$_REQUEST['no_popup'].'&amp;limitfolder='.$_REQUEST['limitfolder'].'&amp;hidefolders='.$_REQUEST['hidefolders'].'&amp;linktarget='.$_REQUEST['linktarget'].'">'.$newline;
-            print '<img src="images/folder.gif" width="16" height="16" border="0" alt="" title="folder" />'.$newline;
-            print $key.$newline;
-            print '</a>'.$newline;
-            print '</td>'.$newline;
-            print '</tr>'.$newline;
-        }
-    }
-}
-
-if (is_array($filename)) {
-    natcasesort ($filename);
-    foreach($filename as $key) {
-        print '<tr>'.$newline;
-        print '<td class="tableb">'.$newline;
-        print '&nbsp;';
-        print '</td>'.$newline;
-        print '<td class="tableb">'.$newline;
-        print '<img src="images/spacer.gif" width="10" height="15" border="0" alt="" align="left" />'.$newline;
-        print $key.$newline;
-        print '</td>'.$newline;
-        print '</tr>'.$newline;
-    }
-}
-print '                        <input type="hidden" name="parentform" value="'.$parentform.'" />'."\n";
-print '                        <input type="hidden" name="formelementname" value="'.$formelementname.'" />'."\n";
-if ($searchnew_php == 1 && $dirCounter == 0) {
-print '<tr>'.$newline;
-print '<td class="tablef" colspan="2">'.$newline;
-print $lang_search_new_php['no_folders'].$newline;
-print '</td>'.$newline;
-print '</tr>'.$newline;
-}
-endtable();
-// print '<div align="center"><a href="#" class="admin_menu" onclick="window.close();">'.$lang_minibrowser_php['close'].'</a></div>';
-?>
-</form>
-</body>
-</html>
-<?php
-
-
-?>
+<?php
+/*************************
+  Coppermine Photo Gallery
+  ************************
+  Copyright (c) 2003-2009 Coppermine Dev Team
+  v1.1 originally written by Gregory DEMAR
+
+  This program is free software; you can redistribute it and/or modify
+  it under the terms of the GNU General Public License version 3
+  as published by the Free Software Foundation.
+  
+  ********************************************
+  Coppermine version: 1.4.25
+  $HeadURL: https://coppermine.svn.sourceforge.net/svnroot/coppermine/trunk/cpg1.4.x/minibrowser.php $
+  $Revision: 5997 $
+  $Author: gaugau $
+  $Date: 2009-05-26 08:43:24 +0200 (Di, 26 Mai 2009) $
+**********************************************/
+
+define('IN_COPPERMINE', true);
+define('MINIBROWSER_PHP', true);
+define('SEARCHNEW_PHP', true);
+
+require('include/init.inc.php');
+
+// set/define some vars
+$scriptfilename = 'minibrowser.php';
+
+if (isset($_REQUEST['folder'])) {
+    $folder = rawurldecode($_REQUEST['folder']);
+} else {
+    $folder = '';
+}
+
+if (isset($_REQUEST['startfolder'])) {
+    $startfolder = rawurldecode($_REQUEST['startfolder']);
+} else {
+    $startfolder = '';
+}
+
+if ($folder == '' && $startfolder != '') {
+    $folder = $startfolder;
+}
+
+if (isset($_REQUEST['parentform'])) {
+    $parentform = rawurldecode($_REQUEST['parentform']);
+} else {
+    $parentform = '';
+}
+
+if (isset($_REQUEST['formelementname'])) {
+    $formelementname = rawurldecode($_REQUEST['formelementname']);
+} else {
+    $formelementname = '';
+}
+
+if (isset($_REQUEST['hidefolders'])) {
+    $hidefolders = rawurldecode($_REQUEST['hidefolders']);
+    $hiddenfolders = explode(',', $hidefolders);
+}
+
+if (isset($_REQUEST['linktarget'])) {
+    $linktarget = rawurldecode($_REQUEST['linktarget']);
+} else {
+    $linktarget = '';
+}
+
+if (isset($_REQUEST['searchnew_php'])) {
+    $searchnew_php = rawurldecode($_REQUEST['searchnew_php']);
+} else {
+    $searchnew_php = '0';
+}
+
+if (isset($_REQUEST['radio'])) {
+    $radio = rawurldecode($_REQUEST['radio']);
+} else {
+    $radio = '';
+}
+
+$newline = "\n";
+
+?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+
+<html>
+<head>
+<title><?php echo $CONFIG['gallery_name'] .': '. $lang_minibrowser_php['click_to_close'];  ?></title>
+<meta http-equiv="content-type" content="text/html; charset=<?php echo $CONFIG['charset'] == 'language file' ? $lang_charset : $CONFIG['charset'] ?>" />
+<link rel="stylesheet" href="<?php echo $THEME_DIR ?>style.css" />
+<script type="text/javascript" src="scripts.js"></script>
+<?php
+//if ($parentform != '' && $formelementname != '') { // print the javascript bit that updates the parent element --- start
+?>
+<script type="text/javascript">
+function updateParent() {
+    opener.document.<?php print $parentform; ?>.<?php print $formelementname; ?>.value = document.childform.cf2.value;
+    //window.self.close();
+    return false;
+}
+<?php
+if (!$_REQUEST['no_popup']) {
+?>
+adjust_popup();
+<?php
+}
+?>
+</script>
+<?php
+//} // print the javascript bit that updates the parent element --- end
+?>
+</head>
+<body class="tableb" scroll="auto" marginwidth="0" marginheight="0">
+
+<form name="childform" id="childform" method="get" action="<?php print $_SERVER['PHP_SELF']; ?>" onsubmit="return updateParent();">
+
+<?php
+//print $_SERVER["REQUEST_URI"];
+starttable(-2, $lang_minibrowser_php['select_directory'], 2);
+if (!GALLERY_ADMIN_MODE) { cpg_die(ERROR, $lang_errors['access_denied'], __FILE__, __LINE__); }
+
+
+$base_folder = rtrim(cpg_get_webroot_path(), '/').'/';
+
+//print $base_folder.'<br />';
+
+$dir = opendir($base_folder.$folder);
+// read the folder/file structure we're currently in and put it into an array
+$dirCounter = 0;
+while($file = readdir($dir)){
+    if(is_dir($base_folder.$folder.$file)) {
+        if (is_array($hiddenfolders)) {
+            if (in_array($file,$hiddenfolders) == false) {
+                $foldername[] = $file;
+                $dirCounter++;
+            }
+        } else {
+            $foldername[] = $file;
+            $dirCounter++;
+        }
+    } else {
+        $filename[] = $file;
+    }
+}
+closedir($dir);
+
+
+// print the folder we're in
+print '<tr>'.$newline;
+print '<td class="tableh2">'.$newline;
+if ($radio != 0) {
+    print '<input type="radio" name="cf1" value="'.$folder.rtrim($key, '/').'/" class="radio"  checked="checked" />'.$newline;
+}
+print '</td>'.$newline;
+print '<td class="tableh2">'.$newline;
+print '<input type="text" name="cf2" size="50" value="/'.ltrim($folder, '/').'" disabled="disabled" class="tableh2_compact" />&nbsp;'.$newline;
+if ($linktarget != '') {
+    // determine if we should display a submit button start
+    // get the allowed extensions
+    $filetypes = array();
+    $result = cpg_db_query("SELECT extension FROM {$CONFIG['TABLE_FILETYPES']}");
+    //print mysql_num_rows($result);
+    while($row = mysql_fetch_row($result)) {
+        $filetypes[] = $row[0];
+    }
+    mysql_free_result($result);
+    $filetypes = array_unique($filetypes);
+    // loop through the $filename array, get the extensions and check if at least one allowed ending is there
+    $allowed_file_counter = 0;
+    if (is_array($filename)) {
+        foreach ($filename as $value) {
+          if(in_array(ltrim(strrchr(strtolower($value),'.'),'.'), $filetypes)) {
+              $allowed_file_counter++;
+          } // end if in_array
+        } // end foreach
+    } // end is_array
+    if ($allowed_file_counter!=0) {
+        print '<a href="'.$linktarget.'?startdir='.rtrim(str_replace($_REQUEST['limitfolder'], '',$folder), '/').'" class="admin_menu" target="_parent">'.$lang_minibrowser_php['submit'].'</a>'.$newline;
+    } // determine if we should display a submit button end
+} else {
+    print '<input type="submit" name="submit" value="'.$lang_minibrowser_php['submit'].'" class="button" />'.$newline;
+}
+print '</td>'.$newline;
+print '</tr>'.$newline;
+
+
+// display the "up" link if we're not already in the root folder
+if ((!empty($_REQUEST['folder']) || !empty($_REQUEST['startfolder'])) && ($folder != '' && $folder!= '/')) {
+    $uplink = rtrim($folder, '/');
+    $remove = strrchr ($uplink,'/');
+    //print 'uplink:'.$uplink.'<br />';
+    //print 'remove:'.$remove.'<br />';
+    if ($remove != '') {
+        $uplink = str_replace($remove, '', $uplink).'/';
+    } else {
+        $uplink = '';
+    }
+    //print 'uplink:'.$uplink.'<br />';
+    if ($_REQUEST['limitfolder'] != $folder) {
+        print '<tr>'.$newline;
+        print '<td class="tableb">'.$newline;
+        print '&nbsp;';
+        print '</td>'.$newline;
+        print '<td class="tableb">'.$newline;
+        print '<img src="images/spacer.gif" width="16" height="16" border="0" alt="" align="left" />'.$newline;
+        print '<a href="'.$_SERVER['PHP_SELF'].'?folder='.rawurlencode($uplink).'&amp;parentform='.rawurlencode($parentform).'&amp;formelementname='.rawurlencode($formelementname).'&amp;no_popup='.$_REQUEST['no_popup'].'&amp;limitfolder='.$_REQUEST['limitfolder'].'&amp;hidefolders='.$_REQUEST['hidefolders'].'&amp;linktarget='.$_REQUEST['linktarget'].'">'.$newline;
+        print '.. '.$lang_minibrowser_php['up'];
+        print '</a>'.$newline;
+        print '</td>'.$newline;
+        print '</tr>'.$newline;
+    }
+}
+
+
+if (is_array($foldername)) {
+    natcasesort ($foldername);
+    foreach($foldername as $key) {
+        if ($key != '.' && $key != '..') {
+            print '<tr>'.$newline;
+            print '<td class="tableb">'.$newline;
+            if ($radio != 0) {
+                print '<input type="radio" name="cf1" value="'.$folder.rtrim($key, '/').'/" class="radio" onclick="document.childform.cf2.value=\''.$folder.$key.'\'" />'.$newline;
+            }
+            print '</td>'.$newline;
+            print '<td class="tableb">'.$newline;
+            print '<a href="'.$_SERVER['PHP_SELF'].'?folder='.rawurlencode('/'.ltrim($folder, '/').$key.'/').'&amp;parentform='.rawurlencode($parentform).'&amp;formelementname='.rawurlencode($formelementname).'&amp;no_popup='.$_REQUEST['no_popup'].'&amp;limitfolder='.$_REQUEST['limitfolder'].'&amp;hidefolders='.$_REQUEST['hidefolders'].'&amp;linktarget='.$_REQUEST['linktarget'].'">'.$newline;
+            print '<img src="images/folder.gif" width="16" height="16" border="0" alt="" title="folder" />'.$newline;
+            print $key.$newline;
+            print '</a>'.$newline;
+            print '</td>'.$newline;
+            print '</tr>'.$newline;
+        }
+    }
+}
+
+if (is_array($filename)) {
+    natcasesort ($filename);
+    foreach($filename as $key) {
+        print '<tr>'.$newline;
+        print '<td class="tableb">'.$newline;
+        print '&nbsp;';
+        print '</td>'.$newline;
+        print '<td class="tableb">'.$newline;
+        print '<img src="images/spacer.gif" width="10" height="15" border="0" alt="" align="left" />'.$newline;
+        print $key.$newline;
+        print '</td>'.$newline;
+        print '</tr>'.$newline;
+    }
+}
+print '                        <input type="hidden" name="parentform" value="'.$parentform.'" />'."\n";
+print '                        <input type="hidden" name="formelementname" value="'.$formelementname.'" />'."\n";
+if ($searchnew_php == 1 && $dirCounter == 0) {
+print '<tr>'.$newline;
+print '<td class="tablef" colspan="2">'.$newline;
+print $lang_search_new_php['no_folders'].$newline;
+print '</td>'.$newline;
+print '</tr>'.$newline;
+}
+endtable();
+// print '<div align="center"><a href="#" class="admin_menu" onclick="window.close();">'.$lang_minibrowser_php['close'].'</a></div>';
+?>
+</form>
+</body>
+</html>
+<?php
+
+
+?>
diff -x .svn -aruN 1.4.24.src/mode.php 1.4.25.src/mode.php
--- 1.4.24.src/mode.php	2009-05-21 15:03:09.000000000 -0500
+++ 1.4.25.src/mode.php	2009-05-26 11:25:52.000000000 -0500
@@ -1,51 +1,51 @@
-<?php
-/*************************
-  Coppermine Photo Gallery
-  ************************
-  Copyright (c) 2003-2009 Coppermine Dev Team
-  v1.1 originally written by Gregory DEMAR
-
-  This program is free software; you can redistribute it and/or modify
-  it under the terms of the GNU General Public License version 3
-  as published by the Free Software Foundation.
-  
-  ********************************************
-  Coppermine version: 1.4.24
-  $HeadURL: https://coppermine.svn.sourceforge.net/svnroot/coppermine/trunk/cpg1.4.x/mode.php $
-  $Revision: 5969 $
-  $Author: gaugau $
-  $Date: 2009-05-21 22:03:33 +0200 (Do, 21 Mai 2009) $
-**********************************************/
-
-/**
-* Coppermine Photo Gallery 1.3.0 mode.php
-*
-* Someone please add a description
-*
-* @copyright 2002,2003 Gregory DEMAR, Coppermine Dev Team
-* @license http://www.gnu.org/licenses/gpl.html GNU General Public License V3
-* @package Coppermine
-* @version $Id: mode.php 5969 2009-05-21 20:03:33Z gaugau $
-*/
-
-
-define('IN_COPPERMINE', true);
-define('MODE_PHP', true);
-
-require('include/init.inc.php');
-
-if (!USER_IS_ADMIN) cpg_die(ERROR, $lang_errors['access_denied'], __FILE__, __LINE__);
-
-if (!isset($_GET['admin_mode']) || !isset($_GET['referer'])) cpg_die(CRITICAL_ERROR, $lang_errors['param_missing'], __FILE__, __LINE__);
-
-$admin_mode = (int)$_GET['admin_mode'] ? 1 : 0;
-$referer = $_GET['referer'] ? $_GET['referer'] : 'index.php';
-$USER['am'] = $admin_mode;
-if (!$admin_mode) $referer = 'index.php';
-
-pageheader($lang_info, "<META http-equiv=\"refresh\" content=\"1;url=$referer\">");
-msg_box($lang_info, $lang_mode_php[$admin_mode], $lang_continue, $referer);
-pagefooter();
-ob_end_flush();
-
-?>
+<?php
+/*************************
+  Coppermine Photo Gallery
+  ************************
+  Copyright (c) 2003-2009 Coppermine Dev Team
+  v1.1 originally written by Gregory DEMAR
+
+  This program is free software; you can redistribute it and/or modify
+  it under the terms of the GNU General Public License version 3
+  as published by the Free Software Foundation.
+  
+  ********************************************
+  Coppermine version: 1.4.25
+  $HeadURL: https://coppermine.svn.sourceforge.net/svnroot/coppermine/trunk/cpg1.4.x/mode.php $
+  $Revision: 5997 $
+  $Author: gaugau $
+  $Date: 2009-05-26 08:43:24 +0200 (Di, 26 Mai 2009) $
+**********************************************/
+
+/**
+* Coppermine Photo Gallery 1.3.0 mode.php
+*
+* Someone please add a description
+*
+* @copyright 2002,2003 Gregory DEMAR, Coppermine Dev Team
+* @license http://www.gnu.org/licenses/gpl.html GNU General Public License V3
+* @package Coppermine
+* @version $Id: mode.php 5997 2009-05-26 06:43:24Z gaugau $
+*/
+
+
+define('IN_COPPERMINE', true);
+define('MODE_PHP', true);
+
+require('include/init.inc.php');
+
+if (!USER_IS_ADMIN) cpg_die(ERROR, $lang_errors['access_denied'], __FILE__, __LINE__);
+
+if (!isset($_GET['admin_mode']) || !isset($_GET['referer'])) cpg_die(CRITICAL_ERROR, $lang_errors['param_missing'], __FILE__, __LINE__);
+
+$admin_mode = (int)$_GET['admin_mode'] ? 1 : 0;
+$referer = $_GET['referer'] ? $_GET['referer'] : 'index.php';
+$USER['am'] = $admin_mode;
+if (!$admin_mode) $referer = 'index.php';
+
+pageheader($lang_info, "<META http-equiv=\"refresh\" content=\"1;url=$referer\">");
+msg_box($lang_info, $lang_mode_php[$admin_mode], $lang_continue, $referer);
+pagefooter();
+ob_end_flush();
+
+?>
diff -x .svn -aruN 1.4.24.src/modifyalb.php 1.4.25.src/modifyalb.php
--- 1.4.24.src/modifyalb.php	2009-05-21 15:03:09.000000000 -0500
+++ 1.4.25.src/modifyalb.php	2009-05-26 11:25:52.000000000 -0500
@@ -1,608 +1,608 @@
-<?php
-/*************************
-  Coppermine Photo Gallery
-  ************************
-  Copyright (c) 2003-2009 Coppermine Dev Team
-  v1.1 originally written by Gregory DEMAR
-
-  This program is free software; you can redistribute it and/or modify
-  it under the terms of the GNU General Public License version 3
-  as published by the Free Software Foundation.
-  
-  ********************************************
-  Coppermine version: 1.4.24
-  $HeadURL: https://coppermine.svn.sourceforge.net/svnroot/coppermine/trunk/cpg1.4.x/modifyalb.php $
-  $Revision: 5969 $
-  $Author: gaugau $
-  $Date: 2009-05-21 22:03:33 +0200 (Do, 21 Mai 2009) $
-**********************************************/
-
-define('IN_COPPERMINE', true);
-define('MODIFYALB_PHP', true);
-
-include("include/init.inc.php");
-
-if (!(GALLERY_ADMIN_MODE || USER_ADMIN_MODE)) {
-    cpg_die(ERROR, $lang_errors['access_denied'], __FILE__, __LINE__);
-}
-// Type 0 => input
-// 1 => yes/no
-// 2 => Category
-// 3 => Textarea
-// 4 => Album thumbnail
-// 5 => Album visibility
-
-// add footnote
-$notice1 = ' *';
-$help_can_upload = '&nbsp;'.cpg_display_help('f=index.htm&amp;as=album_prop_visitor_start&amp;ae=album_prop_visitor_end&amp;top=1', '400', '200');
-$help_album_keywords = '&nbsp;'.cpg_display_help('f=index.htm&amp;as=album_prop_keyword_start&amp;ae=album_prop_keyword_end&amp;top=1', '400', '200');
-$help_album_password = '&nbsp;'.cpg_display_help('f=index.htm&amp;as=album_prop_password_start&amp;ae=album_prop_password_end&amp;top=1', '500', '250');
-
-$captionLabel = $lang_modifyalb_php['alb_desc'];
-if ($CONFIG['show_bbcode_help']) {$captionLabel .= '&nbsp;'. cpg_display_help('f=index.html&amp;base=64&amp;h='.urlencode(base64_encode(serialize($lang_bbcode_help_title))).'&amp;t='.urlencode(base64_encode(serialize($lang_bbcode_help))),470,245);}
-$data = array($lang_modifyalb_php['general_settings'],
-    array($lang_modifyalb_php['alb_title'], 'title', 0),
-    array($lang_modifyalb_php['alb_cat'], 'category', 2),
-    array($captionLabel, 'description', 3),
-    array($lang_modifyalb_php['alb_keyword'].$help_album_keywords, 'keyword', 0),
-    array($lang_modifyalb_php['alb_thumb'], 'thumb', 4), $lang_modifyalb_php['alb_perm'],
-    array($lang_modifyalb_php['can_view'], 'visibility', 5),
-    array($lang_modifyalb_php['alb_password'].$help_album_password, 'alb_password', 6),
-    array($lang_modifyalb_php['alb_password_hint'].$help_album_password, 'alb_password_hint', 7),
-    array($lang_modifyalb_php['can_upload'].$notice1.$help_can_upload, 'uploads', 1),
-    array($lang_modifyalb_php['can_post_comments'].$notice1, 'comments', 1),
-    array($lang_modifyalb_php['can_rate'].$notice1, 'votes', 1),
-    );
-
-function get_subcat_data($parent, $ident = '')
-{
-    global $CONFIG, $CAT_LIST;
-
-    $result = cpg_db_query("SELECT cid, name, description FROM {$CONFIG['TABLE_CATEGORIES']} WHERE parent = '$parent' AND cid != 1 ORDER BY pos");
-    if (mysql_num_rows($result) > 0) {
-        $rowset = cpg_db_fetch_rowset($result);
-        foreach ($rowset as $subcat) {
-            $CAT_LIST[] = array($subcat['cid'], $ident . $subcat['name']);
-            get_subcat_data($subcat['cid'], $ident . '&nbsp;&nbsp;&nbsp;');
-        }
-    }
-}
-
-function form_label($text)
-{
-    echo <<<EOT
-        <tr>
-                <td class="tableh2" colspan="2">
-                        <b>$text</b>
-                </td>
-        </tr>
-
-EOT;
-}
-
-function form_input($text, $name)
-{
-    global $ALBUM_DATA;
-
-    $value = $ALBUM_DATA[$name];
-
-    echo <<<EOT
-        <tr>
-            <td width="40%" class="tableb">
-                        $text
-        </td>
-        <td width="60%" class="tableb" valign="top">
-                <input type="text" style="width: 100%" name="$name" value="$value" class="textinput" />
-                </td>
-        </tr>
-
-EOT;
-}
-
-function form_yes_no($text, $name)
-{
-    global $ALBUM_DATA, $lang_yes, $lang_no;
-
-    if ($name == 'uploads' && USER_ADMIN_MODE) {
-        echo "        <input type=\"hidden\" name=\"$name\" value=\"{$ALBUM_DATA['uploads']}\" />";
-        return;
-    }
-
-    $value = isset($ALBUM_DATA[$name]) ? $ALBUM_DATA[$name] : false;
-    $yes_selected = $value == 'YES' ? 'checked="checked"' : '';
-    $no_selected = $value == 'NO' ? 'checked="checked"' : '';
-
-    echo <<<EOT
-        <tr>
-            <td class="tableb">
-                        $text
-        </td>
-        <td class="tableb" valign="top">
-                        <input type="radio" id="{$name}1" name="$name" value="YES" $yes_selected /><label for="{$name}1" class="clickable_option">$lang_yes</label>
-                        &nbsp;&nbsp;
-                        <input type="radio" id="{$name}0" name="$name" value="NO" $no_selected /><label for="{$name}0" class="clickable_option">$lang_no</label>
-                </td>
-        </tr>
-
-EOT;
-}
-
-function form_category($text, $name)
-{
-    global $ALBUM_DATA, $CAT_LIST, $USER_DATA, $lang_modifyalb_php;
-
-    if (!GALLERY_ADMIN_MODE || $ALBUM_DATA['category'] > FIRST_USER_CAT) {
-        echo <<<EOT
-        <tr>
-            <td class="tableb">
-                        $text
-        </td>
-        <td class="tableb" valign="top">
-                        <i>{$lang_modifyalb_php['user_gal']}</i>
-                        <input type="hidden" name="$name" value="{$ALBUM_DATA['category']}" />
-                </td>
-
-EOT;
-        return;
-    }
-
-    $CAT_LIST = array();
-    $CAT_LIST[] = array(0, $lang_modifyalb_php['no_cat']);
-    get_subcat_data(0, '');
-
-    echo <<<EOT
-        <tr>
-            <td class="tableb">
-                        $text
-        </td>
-        <td class="tableb" valign="top">
-                        <select name="$name" class="listbox">
-EOT;
-    foreach($CAT_LIST as $category) {
-        echo '                                <option value="' . $category[0] . '"' . ($ALBUM_DATA['category'] == $category[0] ? ' selected': '') . ">" . $category[1] . "</option>\n";
-    }
-    echo <<<EOT
-                        </select>
-                </td>
-        </tr>
-
-EOT;
-}
-
-function form_textarea($text, $name)
-{
-    global $ALBUM_DATA;
-
-    $value = $ALBUM_DATA[$name];
-
-    echo <<<EOT
-        <tr>
-                <td class="tableb" valign="top">
-                        $text
-                </td>
-                <td class="tableb" valign="top">
-                        <textarea name="$name" rows="5" cols="40" wrap="virtual" class="textinput" style="width: 100%;">{$ALBUM_DATA['description']}</textarea>
-                </td>
-        </tr>
-EOT;
-}
-
-function form_alb_thumb($text, $name)
-{
-    global $CONFIG, $ALBUM_DATA, $album, $lang_modifyalb_php,$USER_DATA;
-
-    $cpg_nopic_data = cpg_get_system_thumb('nopic.jpg',$USER_DATA['user_id']);
-
-    $results = cpg_db_query("SELECT pid, filepath, filename, url_prefix FROM {$CONFIG['TABLE_PICTURES']} WHERE aid='$album' AND approved='YES' ORDER BY filename");
-    if (mysql_num_rows($results) == 0) {
-        echo <<<EOT
-        <tr>
-                <td class="tableb" valign="top">
-                        $text
-                </td>
-                <td class="tableb" valign="top">
-                        <i>{$lang_modifyalb_php['alb_empty']}</i>
-                        <input type="hidden" name="$name" value="0" />
-                </td>
-        </tr>
-
-EOT;
-        return;
-    }
-
-    $initial_thumb_url = $cpg_nopic_data['thumb']; //'images/nopic.jpg';
-
-    echo <<<EOT
-<script language="JavaScript" type="text/JavaScript">
-<!--
-var Pic = new Array()
-
-Pic[0] = '$initial_thumb_url'
-
-EOT;
-
-    $img_list = array(0 => $lang_modifyalb_php['last_uploaded']);
-    while ($picture = mysql_fetch_array($results)) {
-        $thumb_url = get_pic_url($picture, 'thumb');
-        echo "Pic[{$picture['pid']}] = '" . $thumb_url . "'\n";
-        if ($picture['pid'] == $ALBUM_DATA[$name]) $initial_thumb_url = $thumb_url;
-        $img_list[$picture['pid']] = htmlspecialchars($picture['filename']);
-    } // while
-    echo <<<EOT
-
-function ChangeThumb(index)
-{
-        document.images.Thumb.src = Pic[index]
-}
-
-var checkobj
-
-function agreesubmit(el){
-    checkobj=el
-    if (document.all||document.getElementById){
-        for (i=0;i<checkobj.form.length;i++){  //hunt down submit button
-            var tempobj=checkobj.form.elements[i]
-            if(tempobj.type.toLowerCase()=="submit")
-                tempobj.disabled=!checkobj.checked
-        }
-    }
-}
-
-function defaultagree(el){
-    if (!document.all&&!document.getElementById){
-        if (window.checkobj&&checkobj.checked)
-            return true
-        else{
-            alert("{$lang_modifyalb_php['reset_views_confirm']}")
-            return false
-        }
-    }
-}
-
--->
-</script>
-
-EOT;
-    $thumb_cell_height = $CONFIG['thumb_width'] + 17;
-    echo <<<EOT
-        <tr>
-                <td class="tableb" valign="top">
-                        $text
-                </td>
-                <td class="tableb" align="center">
-                        <table cellspacing="0" cellpadding="5" border="0">
-                                <tr>
-                                        <td width="$thumb_cell_height" height="$thumb_cell_height" align="center"><img src="$initial_thumb_url" name='Thumb' class='image' /><br /></td>
-                                </tr>
-                        </table>
-                        <select name="$name" class="listbox" onChange="if(this.options[this.selectedIndex].value) ChangeThumb(this.options[this.selectedIndex].value);" onKeyUp="if(this.options[this.selectedIndex].value) ChangeThumb(this.options[this.selectedIndex].value);">
-
-EOT;
-    foreach($img_list as $pid => $pic_name) {
-        echo '                                <option value="' . $pid . '"' . ($pid == $ALBUM_DATA[$name] ? ' selected':'') . '>' . $pic_name . "</option>\n";
-    }
-    echo <<<EOT
-                        </select>
-                </td>
-        </tr>
-
-EOT;
-}
-
-function form_password($text, $name)
-{
-  global $ALBUM_DATA;
-  $value = $ALBUM_DATA[$name];
-
-  echo <<<EOT
-        <tr>
-          <td width="40%" class="tableb">
-              $text
-          </td>
-          <td width="60%" class="tableb" valign="top">
-            <input type="password" name="$name" value="$value" class="textinput" maxlength="32" size="34" />
-          </td>
-        </tr>
-EOT;
-}
-
-function form_password_hint($text, $name)
-{
-  global $ALBUM_DATA;
-  $value = $ALBUM_DATA[$name];
-
-  echo <<<EOT
-        <tr>
-          <td width="40%" class="tableb">
-              $text
-          </td>
-          <td width="60%" class="tableb" valign="top">
-            <input type="text" name="$name" value="$value" class="textinput" maxlength="32" size="34" />
-          </td>
-        </tr>
-EOT;
-}
-
-function form_visibility($text, $name)
-{
-    global $CONFIG, $USER_DATA, $ALBUM_DATA, $lang_modifyalb_php, $cpg_udb;
-
-    if (!$CONFIG['allow_private_albums']) {
-        echo '        <input type="hidden" name="' . $name . '" value="0" />' . "\n";
-        return;
-    }
-
-    if (GALLERY_ADMIN_MODE) {
-        $options = array(0 => $lang_modifyalb_php['public_alb'], FIRST_USER_CAT + USER_ID => $lang_modifyalb_php['me_only']);
-        if ($ALBUM_DATA['category'] > FIRST_USER_CAT) {
-            //if (defined('UDB_INTEGRATION')) {
-                $owner_name = $cpg_udb->get_user_name($ALBUM_DATA['category'] - FIRST_USER_CAT);
-            /*} else {
-                $result = cpg_db_query("SELECT user_name FROM {$CONFIG['TABLE_USERS']} WHERE user_id='" . ($ALBUM_DATA['category'] - FIRST_USER_CAT) . "'");
-                if (mysql_num_rows($result)) {
-                    $user = mysql_fetch_array($result);
-                    $owner_name = $user['user_name'];
-                }*/
-            //}
-            $options[$ALBUM_DATA['category']] = sprintf($lang_modifyalb_php['owner_only'], $owner_name);
-        }
-        $result = cpg_db_query("SELECT group_id, group_name FROM {$CONFIG['TABLE_USERGROUPS']} WHERE 1");
-        while ($group = mysql_fetch_array($result)) {
-            $options[$group['group_id']] = sprintf($lang_modifyalb_php['groupp_only'], $group['group_name']);
-        } // while
-    } else {
-        $options = array(0 => $lang_modifyalb_php['public_alb'],
-            FIRST_USER_CAT + USER_ID => $lang_modifyalb_php['me_only'],
-            );
-        $result = cpg_db_query("SELECT group_id, group_name FROM {$CONFIG['TABLE_USERGROUPS']} WHERE group_id IN " . USER_GROUP_SET);
-        while ($group = mysql_fetch_array($result)) {
-            $options[$group['group_id']] = sprintf($lang_modifyalb_php['groupp_only'], $group['group_name']);
-        } // while
-    }
-    echo <<<EOT
-        <tr>
-                <td class="tableb">
-                        $text
-                </td>
-                <td class="tableb" valign="top">
-                        <select name="$name" class="listbox">
-
-EOT;
-    foreach ($options as $value => $caption) {
-        echo '                                <option value ="' . $value . '"' . ($ALBUM_DATA['visibility'] == $value ? ' selected': '') . '>' . $caption . "</option>\n";
-    }
-    echo <<<EOT
-                        </select>
-                </td>
-        </tr>
-
-EOT;
-}
-
-function create_form(&$data)
-{
-    foreach($data as $element) {
-        if ((is_array($element))) {
-            switch ($element[2]) {
-                case 0 :
-                    form_input($element[0], $element[1]);
-                    break;
-                case 1 :
-                    form_yes_no($element[0], $element[1]);
-                    break;
-                case 2 :
-                    form_category($element[0], $element[1]);
-                    break;
-                case 3 :
-                    form_textarea($element[0], $element[1]);
-                    break;
-                case 4 :
-                    form_alb_thumb($element[0], $element[1]);
-                    break;
-                case 5 :
-                    form_visibility($element[0], $element[1]);
-                    break;
-                case 6:
-                    form_password($element[0],$element[1]);
-                    break;
-                case 7:
-                    form_password_hint($element[0],$element[1]);
-                    break;
-                default:
-                    cpg_die(CRITICAL_ERROR, 'Invalid action for form creation', __FILE__, __LINE__);
-            } // switch
-        } else {
-            form_label($element);
-        }
-    }
-}
-
-function alb_list_box()
-{
-    global $CONFIG, $album, $cpg_udb; //, $PHP_SELF;
-
-    if (GALLERY_ADMIN_MODE) {
-        $result = cpg_db_query("SELECT aid, title FROM {$CONFIG['TABLE_ALBUMS']} WHERE category < '" . FIRST_USER_CAT . "' ORDER BY title");
-        $rowset = cpg_db_fetch_rowset($result);
-        mysql_free_result($result);
-
-        //if (defined('UDB_INTEGRATION')) {
-            $sql = $cpg_udb->get_admin_album_list();
-        /*} else {
-            $sql = "SELECT aid, CONCAT('(', user_name, ') ', title) AS title " . "FROM {$CONFIG['TABLE_ALBUMS']} AS a " . "INNER JOIN {$CONFIG['TABLE_USERS']} AS u ON category = (" . FIRST_USER_CAT . " + user_id) " . "ORDER BY title";
-        }*/
-        $result = cpg_db_query($sql);
-        while ($row = mysql_fetch_array($result)) $rowset[] = $row;
-        mysql_free_result($result);
-    } else {
-        $result = cpg_db_query("SELECT aid, title FROM {$CONFIG['TABLE_ALBUMS']} WHERE category = '" . (FIRST_USER_CAT + USER_ID) . "' ORDER BY title");
-        $rowset = cpg_db_fetch_rowset($result);
-        mysql_free_result($result);
-    }
-
-    if (count($rowset)) {
-        $lb = "<select name=\"album_listbox\" class=\"listbox\" onChange=\"if(this.options[this.selectedIndex].value) window.location.href='{$_SERVER['PHP_SELF']}?album='+this.options[this.selectedIndex].value;\">\n";
-        foreach ($rowset as $row) {
-            $selected = ($row['aid'] == $album) ? "SELECTED" : "";
-            $lb .= "        <option value=\"" . $row['aid'] . "\" $selected>" . $row['title'] . "</option>\n";
-        }
-        $lb .= "</select>\n";
-        return $lb;
-    }
-}
-
-if (!isset($_GET['album'])) {
-    if (GALLERY_ADMIN_MODE) {
-        $results = cpg_db_query("SELECT * FROM {$CONFIG['TABLE_ALBUMS']} WHERE 1 LIMIT 1");
-    } else {
-        $results = cpg_db_query("SELECT * FROM {$CONFIG['TABLE_ALBUMS']} WHERE category = " . (FIRST_USER_CAT + USER_ID) . " LIMIT 1");
-    }
-    if (mysql_num_rows($results) == 0) cpg_die(ERROR, $lang_modifyalb_php['err_no_alb_to_modify'], __FILE__, __LINE__);
-    $ALBUM_DATA = mysql_fetch_array($results);
-    $album = $ALBUM_DATA['aid'];
-} else {
-    $album = (int)$_GET['album'];
-    $results = cpg_db_query("SELECT * FROM {$CONFIG['TABLE_ALBUMS']} WHERE aid='$album'");
-    if (!mysql_num_rows($results)) cpg_die(CRITICAL_ERROR, $lang_errors['non_exist_ap'], __FILE__, __LINE__);
-    $ALBUM_DATA = mysql_fetch_array($results);
-}
-
-$cat = $ALBUM_DATA['category'];
-$actual_cat = $cat;
-
-if (!GALLERY_ADMIN_MODE && $ALBUM_DATA['category'] != FIRST_USER_CAT + USER_ID) {
-    cpg_die(ERROR, $lang_errors['perm_denied'], __FILE__, __LINE__);
-}
-
-
-//////////// main code start ///////////////////
-
-pageheader(sprintf($lang_modifyalb_php['upd_alb_n'], $ALBUM_DATA['title']));
-
-$album_lb = alb_list_box();
-$help = '&nbsp;'.cpg_display_help('f=index.htm&amp;as=album_prop&amp;ae=album_prop_end&amp;top=1', '600', '400');
-echo <<< EOT
-    <form method="post" name="modifyalbum" action="db_input.php">
-    <input type="hidden" name="event" value="album_update" />
-    <input type="hidden" name="aid" value="$album" />
-EOT;
-starttable("100%",$lang_modifyalb_php['update'].$help, 2);
-echo <<<EOT
-        <tr>
-            <td class="tableh2" align="center">
-                <a href="editpics.php?album=$album" class="admin_menu">{$lang_modifyalb_php['edit_files']}</a>
-                &nbsp;&nbsp;-&nbsp;&nbsp;
-                <a href="index.php?cat={$ALBUM_DATA['category']}" class="admin_menu">{$lang_modifyalb_php['parent_category']}</a>
-                &nbsp;&nbsp;-&nbsp;&nbsp;
-                <a href="thumbnails.php?album=$album" class="admin_menu">{$lang_modifyalb_php['thumbnail_view']}</a>
-            </td>
-            <td class="tableh2" align="right">
-            $album_lb
-            </td>
-        </tr>
-EOT;
-
-create_form($data);
-
-echo <<<EOT
-<tr>
-        <td colspan="2" align="left" class="tablef">
-EOT;
-if (GALLERY_ADMIN_MODE) {
-printf($lang_modifyalb_php['notice1'],'<a href="groupmgr.php">','</a>');
-}
-else {
-printf($lang_modifyalb_php['notice1'],'','');
-}
-echo <<<EOT
-        </td>
-</tr>
-<tr>
-        <td colspan="2" align="center" class="tablef">
-        <input type="submit" class="button" value="{$lang_modifyalb_php['update']}" />
-        </td>
-</tr>
-EOT;
-
-endtable();
-echo '</form>';
-
-if (GALLERY_ADMIN_MODE) {
-    // get the album stats
-    $result = cpg_db_query("SELECT SUM(hits) FROM {$CONFIG['TABLE_PICTURES']} WHERE aid='$album'");
-    $nbEnr = mysql_fetch_array($result);
-    $hits = $nbEnr[0];
-    if (!$hits) { $hits = 0; }
-    mysql_free_result($result);
-    $result = cpg_db_query("SELECT SUM(votes) FROM {$CONFIG['TABLE_PICTURES']} WHERE aid='$album' AND votes > 0");
-    $nbEnr = mysql_fetch_array($result);
-    $votes = $nbEnr[0];
-    if (!$votes) { $votes = 0; }
-    mysql_free_result($result);
-    $result = cpg_db_query("SELECT COUNT(*) FROM {$CONFIG['TABLE_PICTURES']} WHERE aid='$album'");
-    $nbEnr = mysql_fetch_array($result);
-    $files = $nbEnr[0];
-    if (!$files) { $files = 0; }
-    mysql_free_result($result);
-
-    echo <<<EOT
-    <br />
-    <form action="db_input.php" method="post" name="reset_views_form" onSubmit="return defaultagree(this)">
-    <input type="hidden" name="event" value="album_reset" />
-    <input type="hidden" name="aid" value="$album" />
-EOT;
-// set up the translation strings
-$translation_reset_views = sprintf($lang_modifyalb_php['reset_views'], '&quot;'.$ALBUM_DATA['title'].'&quot;');
-$translation_reset_rating = sprintf($lang_modifyalb_php['reset_rating'], '&quot;'.$ALBUM_DATA['title'].'&quot;');
-$translation_delete_comments = sprintf($lang_modifyalb_php['delete_comments'], '&quot;'.$ALBUM_DATA['title'].'&quot;');
-$translation_delete_files = sprintf($lang_modifyalb_php['delete_files'], '<span style="color:red;font-weight:bold">', '</span>', '&quot;'.$ALBUM_DATA['title'].'&quot;');
-    starttable('100%',$lang_modifyalb_php['reset_album'], 2);
-    echo <<<EOT
-    <tr>
-            <td align="left" class="tableb">
-                <b>$hits</b> {$lang_modifyalb_php['views']}
-            </td>
-            <td align="left" class="tableb">
-                <input type="Checkbox" name="reset_views" id="reset_views" value="1" class="checkbox" /><label for="reset_views" class="clickable_option">$translation_reset_views</label>
-            </td>
-    </tr>
-    <tr>
-            <td align="left" class="tableb">
-                <b>$votes</b> {$lang_modifyalb_php['votes']}
-            </td>
-            <td align="left" class="tableb">
-                <input type="Checkbox" name="reset_rating" id="reset_rating" value="1" class="checkbox" /><label for="reset_rating" class="clickable_option">$translation_reset_rating</label>
-            </td>
-    </tr>
-    <!--not implemented yet
-    <tr>
-            <td align="left" class="tableb">
-                <b>$comments</b> {$lang_modifyalb_php['comments']}
-            </td>
-            <td align="left" class="tableb">
-                <input type="Checkbox" name="delete_comments" id="delete_comments" value="1" class="checkbox" /><label for="delete_comments" class="clickable_option">$translation_delete_comments</label>
-            </td>
-    </tr>
-    -->
-    <tr>
-            <td align="left" class="tableb">
-                <b>$files</b> {$lang_modifyalb_php['files']}
-            </td>
-            <td align="left" class="tableb">
-                <input type="Checkbox" name="delete_files" id="delete_files" value="1" class="checkbox" /><label for="delete_files" class="clickable_option">$translation_delete_files</label>
-            </td>
-    </tr>
-    <tr>
-            <td class="tablef" colspan="2" align="center" valign="bottom">
-                <input type="submit" class="button" value="{$lang_modifyalb_php['submit_reset']}" disabled="disabled" />
-                <input name="agreecheck" type="checkbox" onClick="agreesubmit(this)" />{$lang_modifyalb_php['reset_views_confirm']}
-            </td>
-    </tr>
-EOT;
-    endtable();
-    print "</form>\n";
-}
-
-pagefooter();
-ob_end_flush();
-?>
+<?php
+/*************************
+  Coppermine Photo Gallery
+  ************************
+  Copyright (c) 2003-2009 Coppermine Dev Team
+  v1.1 originally written by Gregory DEMAR
+
+  This program is free software; you can redistribute it and/or modify
+  it under the terms of the GNU General Public License version 3
+  as published by the Free Software Foundation.
+  
+  ********************************************
+  Coppermine version: 1.4.25
+  $HeadURL: https://coppermine.svn.sourceforge.net/svnroot/coppermine/trunk/cpg1.4.x/modifyalb.php $
+  $Revision: 5997 $
+  $Author: gaugau $
+  $Date: 2009-05-26 08:43:24 +0200 (Di, 26 Mai 2009) $
+**********************************************/
+
+define('IN_COPPERMINE', true);
+define('MODIFYALB_PHP', true);
+
+include("include/init.inc.php");
+
+if (!(GALLERY_ADMIN_MODE || USER_ADMIN_MODE)) {
+    cpg_die(ERROR, $lang_errors['access_denied'], __FILE__, __LINE__);
+}
+// Type 0 => input
+// 1 => yes/no
+// 2 => Category
+// 3 => Textarea
+// 4 => Album thumbnail
+// 5 => Album visibility
+
+// add footnote
+$notice1 = ' *';
+$help_can_upload = '&nbsp;'.cpg_display_help('f=index.htm&amp;as=album_prop_visitor_start&amp;ae=album_prop_visitor_end&amp;top=1', '400', '200');
+$help_album_keywords = '&nbsp;'.cpg_display_help('f=index.htm&amp;as=album_prop_keyword_start&amp;ae=album_prop_keyword_end&amp;top=1', '400', '200');
+$help_album_password = '&nbsp;'.cpg_display_help('f=index.htm&amp;as=album_prop_password_start&amp;ae=album_prop_password_end&amp;top=1', '500', '250');
+
+$captionLabel = $lang_modifyalb_php['alb_desc'];
+if ($CONFIG['show_bbcode_help']) {$captionLabel .= '&nbsp;'. cpg_display_help('f=index.html&amp;base=64&amp;h='.urlencode(base64_encode(serialize($lang_bbcode_help_title))).'&amp;t='.urlencode(base64_encode(serialize($lang_bbcode_help))),470,245);}
+$data = array($lang_modifyalb_php['general_settings'],
+    array($lang_modifyalb_php['alb_title'], 'title', 0),
+    array($lang_modifyalb_php['alb_cat'], 'category', 2),
+    array($captionLabel, 'description', 3),
+    array($lang_modifyalb_php['alb_keyword'].$help_album_keywords, 'keyword', 0),
+    array($lang_modifyalb_php['alb_thumb'], 'thumb', 4), $lang_modifyalb_php['alb_perm'],
+    array($lang_modifyalb_php['can_view'], 'visibility', 5),
+    array($lang_modifyalb_php['alb_password'].$help_album_password, 'alb_password', 6),
+    array($lang_modifyalb_php['alb_password_hint'].$help_album_password, 'alb_password_hint', 7),
+    array($lang_modifyalb_php['can_upload'].$notice1.$help_can_upload, 'uploads', 1),
+    array($lang_modifyalb_php['can_post_comments'].$notice1, 'comments', 1),
+    array($lang_modifyalb_php['can_rate'].$notice1, 'votes', 1),
+    );
+
+function get_subcat_data($parent, $ident = '')
+{
+    global $CONFIG, $CAT_LIST;
+
+    $result = cpg_db_query("SELECT cid, name, description FROM {$CONFIG['TABLE_CATEGORIES']} WHERE parent = '$parent' AND cid != 1 ORDER BY pos");
+    if (mysql_num_rows($result) > 0) {
+        $rowset = cpg_db_fetch_rowset($result);
+        foreach ($rowset as $subcat) {
+            $CAT_LIST[] = array($subcat['cid'], $ident . $subcat['name']);
+            get_subcat_data($subcat['cid'], $ident . '&nbsp;&nbsp;&nbsp;');
+        }
+    }
+}
+
+function form_label($text)
+{
+    echo <<<EOT
+        <tr>
+                <td class="tableh2" colspan="2">
+                        <b>$text</b>
+                </td>
+        </tr>
+
+EOT;
+}
+
+function form_input($text, $name)
+{
+    global $ALBUM_DATA;
+
+    $value = $ALBUM_DATA[$name];
+
+    echo <<<EOT
+        <tr>
+            <td width="40%" class="tableb">
+                        $text
+        </td>
+        <td width="60%" class="tableb" valign="top">
+                <input type="text" style="width: 100%" name="$name" value="$value" class="textinput" />
+                </td>
+        </tr>
+
+EOT;
+}
+
+function form_yes_no($text, $name)
+{
+    global $ALBUM_DATA, $lang_yes, $lang_no;
+
+    if ($name == 'uploads' && USER_ADMIN_MODE) {
+        echo "        <input type=\"hidden\" name=\"$name\" value=\"{$ALBUM_DATA['uploads']}\" />";
+        return;
+    }
+
+    $value = isset($ALBUM_DATA[$name]) ? $ALBUM_DATA[$name] : false;
+    $yes_selected = $value == 'YES' ? 'checked="checked"' : '';
+    $no_selected = $value == 'NO' ? 'checked="checked"' : '';
+
+    echo <<<EOT
+        <tr>
+            <td class="tableb">
+                        $text
+        </td>
+        <td class="tableb" valign="top">
+                        <input type="radio" id="{$name}1" name="$name" value="YES" $yes_selected /><label for="{$name}1" class="clickable_option">$lang_yes</label>
+                        &nbsp;&nbsp;
+                        <input type="radio" id="{$name}0" name="$name" value="NO" $no_selected /><label for="{$name}0" class="clickable_option">$lang_no</label>
+                </td>
+        </tr>
+
+EOT;
+}
+
+function form_category($text, $name)
+{
+    global $ALBUM_DATA, $CAT_LIST, $USER_DATA, $lang_modifyalb_php;
+
+    if (!GALLERY_ADMIN_MODE || $ALBUM_DATA['category'] > FIRST_USER_CAT) {
+        echo <<<EOT
+        <tr>
+            <td class="tableb">
+                        $text
+        </td>
+        <td class="tableb" valign="top">
+                        <i>{$lang_modifyalb_php['user_gal']}</i>
+                        <input type="hidden" name="$name" value="{$ALBUM_DATA['category']}" />
+                </td>
+
+EOT;
+        return;
+    }
+
+    $CAT_LIST = array();
+    $CAT_LIST[] = array(0, $lang_modifyalb_php['no_cat']);
+    get_subcat_data(0, '');
+
+    echo <<<EOT
+        <tr>
+            <td class="tableb">
+                        $text
+        </td>
+        <td class="tableb" valign="top">
+                        <select name="$name" class="listbox">
+EOT;
+    foreach($CAT_LIST as $category) {
+        echo '                                <option value="' . $category[0] . '"' . ($ALBUM_DATA['category'] == $category[0] ? ' selected': '') . ">" . $category[1] . "</option>\n";
+    }
+    echo <<<EOT
+                        </select>
+                </td>
+        </tr>
+
+EOT;
+}
+
+function form_textarea($text, $name)
+{
+    global $ALBUM_DATA;
+
+    $value = $ALBUM_DATA[$name];
+
+    echo <<<EOT
+        <tr>
+                <td class="tableb" valign="top">
+                        $text
+                </td>
+                <td class="tableb" valign="top">
+                        <textarea name="$name" rows="5" cols="40" wrap="virtual" class="textinput" style="width: 100%;">{$ALBUM_DATA['description']}</textarea>
+                </td>
+        </tr>
+EOT;
+}
+
+function form_alb_thumb($text, $name)
+{
+    global $CONFIG, $ALBUM_DATA, $album, $lang_modifyalb_php,$USER_DATA;
+
+    $cpg_nopic_data = cpg_get_system_thumb('nopic.jpg',$USER_DATA['user_id']);
+
+    $results = cpg_db_query("SELECT pid, filepath, filename, url_prefix FROM {$CONFIG['TABLE_PICTURES']} WHERE aid='$album' AND approved='YES' ORDER BY filename");
+    if (mysql_num_rows($results) == 0) {
+        echo <<<EOT
+        <tr>
+                <td class="tableb" valign="top">
+                        $text
+                </td>
+                <td class="tableb" valign="top">
+                        <i>{$lang_modifyalb_php['alb_empty']}</i>
+                        <input type="hidden" name="$name" value="0" />
+                </td>
+        </tr>
+
+EOT;
+        return;
+    }
+
+    $initial_thumb_url = $cpg_nopic_data['thumb']; //'images/nopic.jpg';
+
+    echo <<<EOT
+<script language="JavaScript" type="text/JavaScript">
+<!--
+var Pic = new Array()
+
+Pic[0] = '$initial_thumb_url'
+
+EOT;
+
+    $img_list = array(0 => $lang_modifyalb_php['last_uploaded']);
+    while ($picture = mysql_fetch_array($results)) {
+        $thumb_url = get_pic_url($picture, 'thumb');
+        echo "Pic[{$picture['pid']}] = '" . $thumb_url . "'\n";
+        if ($picture['pid'] == $ALBUM_DATA[$name]) $initial_thumb_url = $thumb_url;
+        $img_list[$picture['pid']] = htmlspecialchars($picture['filename']);
+    } // while
+    echo <<<EOT
+
+function ChangeThumb(index)
+{
+        document.images.Thumb.src = Pic[index]
+}
+
+var checkobj
+
+function agreesubmit(el){
+    checkobj=el
+    if (document.all||document.getElementById){
+        for (i=0;i<checkobj.form.length;i++){  //hunt down submit button
+            var tempobj=checkobj.form.elements[i]
+            if(tempobj.type.toLowerCase()=="submit")
+                tempobj.disabled=!checkobj.checked
+        }
+    }
+}
+
+function defaultagree(el){
+    if (!document.all&&!document.getElementById){
+        if (window.checkobj&&checkobj.checked)
+            return true
+        else{
+            alert("{$lang_modifyalb_php['reset_views_confirm']}")
+            return false
+        }
+    }
+}
+
+-->
+</script>
+
+EOT;
+    $thumb_cell_height = $CONFIG['thumb_width'] + 17;
+    echo <<<EOT
+        <tr>
+                <td class="tableb" valign="top">
+                        $text
+                </td>
+                <td class="tableb" align="center">
+                        <table cellspacing="0" cellpadding="5" border="0">
+                                <tr>
+                                        <td width="$thumb_cell_height" height="$thumb_cell_height" align="center"><img src="$initial_thumb_url" name='Thumb' class='image' /><br /></td>
+                                </tr>
+                        </table>
+                        <select name="$name" class="listbox" onChange="if(this.options[this.selectedIndex].value) ChangeThumb(this.options[this.selectedIndex].value);" onKeyUp="if(this.options[this.selectedIndex].value) ChangeThumb(this.options[this.selectedIndex].value);">
+
+EOT;
+    foreach($img_list as $pid => $pic_name) {
+        echo '                                <option value="' . $pid . '"' . ($pid == $ALBUM_DATA[$name] ? ' selected':'') . '>' . $pic_name . "</option>\n";
+    }
+    echo <<<EOT
+                        </select>
+                </td>
+        </tr>
+
+EOT;
+}
+
+function form_password($text, $name)
+{
+  global $ALBUM_DATA;
+  $value = $ALBUM_DATA[$name];
+
+  echo <<<EOT
+        <tr>
+          <td width="40%" class="tableb">
+              $text
+          </td>
+          <td width="60%" class="tableb" valign="top">
+            <input type="password" name="$name" value="$value" class="textinput" maxlength="32" size="34" />
+          </td>
+        </tr>
+EOT;
+}
+
+function form_password_hint($text, $name)
+{
+  global $ALBUM_DATA;
+  $value = $ALBUM_DATA[$name];
+
+  echo <<<EOT
+        <tr>
+          <td width="40%" class="tableb">
+              $text
+          </td>
+          <td width="60%" class="tableb" valign="top">
+            <input type="text" name="$name" value="$value" class="textinput" maxlength="32" size="34" />
+          </td>
+        </tr>
+EOT;
+}
+
+function form_visibility($text, $name)
+{
+    global $CONFIG, $USER_DATA, $ALBUM_DATA, $lang_modifyalb_php, $cpg_udb;
+
+    if (!$CONFIG['allow_private_albums']) {
+        echo '        <input type="hidden" name="' . $name . '" value="0" />' . "\n";
+        return;
+    }
+
+    if (GALLERY_ADMIN_MODE) {
+        $options = array(0 => $lang_modifyalb_php['public_alb'], FIRST_USER_CAT + USER_ID => $lang_modifyalb_php['me_only']);
+        if ($ALBUM_DATA['category'] > FIRST_USER_CAT) {
+            //if (defined('UDB_INTEGRATION')) {
+                $owner_name = $cpg_udb->get_user_name($ALBUM_DATA['category'] - FIRST_USER_CAT);
+            /*} else {
+                $result = cpg_db_query("SELECT user_name FROM {$CONFIG['TABLE_USERS']} WHERE user_id='" . ($ALBUM_DATA['category'] - FIRST_USER_CAT) . "'");
+                if (mysql_num_rows($result)) {
+                    $user = mysql_fetch_array($result);
+                    $owner_name = $user['user_name'];
+                }*/
+            //}
+            $options[$ALBUM_DATA['category']] = sprintf($lang_modifyalb_php['owner_only'], $owner_name);
+        }
+        $result = cpg_db_query("SELECT group_id, group_name FROM {$CONFIG['TABLE_USERGROUPS']} WHERE 1");
+        while ($group = mysql_fetch_array($result)) {
+            $options[$group['group_id']] = sprintf($lang_modifyalb_php['groupp_only'], $group['group_name']);
+        } // while
+    } else {
+        $options = array(0 => $lang_modifyalb_php['public_alb'],
+            FIRST_USER_CAT + USER_ID => $lang_modifyalb_php['me_only'],
+            );
+        $result = cpg_db_query("SELECT group_id, group_name FROM {$CONFIG['TABLE_USERGROUPS']} WHERE group_id IN " . USER_GROUP_SET);
+        while ($group = mysql_fetch_array($result)) {
+            $options[$group['group_id']] = sprintf($lang_modifyalb_php['groupp_only'], $group['group_name']);
+        } // while
+    }
+    echo <<<EOT
+        <tr>
+                <td class="tableb">
+                        $text
+                </td>
+                <td class="tableb" valign="top">
+                        <select name="$name" class="listbox">
+
+EOT;
+    foreach ($options as $value => $caption) {
+        echo '                                <option value ="' . $value . '"' . ($ALBUM_DATA['visibility'] == $value ? ' selected': '') . '>' . $caption . "</option>\n";
+    }
+    echo <<<EOT
+                        </select>
+                </td>
+        </tr>
+
+EOT;
+}
+
+function create_form(&$data)
+{
+    foreach($data as $element) {
+        if ((is_array($element))) {
+            switch ($element[2]) {
+                case 0 :
+                    form_input($element[0], $element[1]);
+                    break;
+                case 1 :
+                    form_yes_no($element[0], $element[1]);
+                    break;
+                case 2 :
+                    form_category($element[0], $element[1]);
+                    break;
+                case 3 :
+                    form_textarea($element[0], $element[1]);
+                    break;
+                case 4 :
+                    form_alb_thumb($element[0], $element[1]);
+                    break;
+                case 5 :
+                    form_visibility($element[0], $element[1]);
+                    break;
+                case 6:
+                    form_password($element[0],$element[1]);
+                    break;
+                case 7:
+                    form_password_hint($element[0],$element[1]);
+                    break;
+                default:
+                    cpg_die(CRITICAL_ERROR, 'Invalid action for form creation', __FILE__, __LINE__);
+            } // switch
+        } else {
+            form_label($element);
+        }
+    }
+}
+
+function alb_list_box()
+{
+    global $CONFIG, $album, $cpg_udb; //, $PHP_SELF;
+
+    if (GALLERY_ADMIN_MODE) {
+        $result = cpg_db_query("SELECT aid, title FROM {$CONFIG['TABLE_ALBUMS']} WHERE category < '" . FIRST_USER_CAT . "' ORDER BY title");
+        $rowset = cpg_db_fetch_rowset($result);
+        mysql_free_result($result);
+
+        //if (defined('UDB_INTEGRATION')) {
+            $sql = $cpg_udb->get_admin_album_list();
+        /*} else {
+            $sql = "SELECT aid, CONCAT('(', user_name, ') ', title) AS title " . "FROM {$CONFIG['TABLE_ALBUMS']} AS a " . "INNER JOIN {$CONFIG['TABLE_USERS']} AS u ON category = (" . FIRST_USER_CAT . " + user_id) " . "ORDER BY title";
+        }*/
+        $result = cpg_db_query($sql);
+        while ($row = mysql_fetch_array($result)) $rowset[] = $row;
+        mysql_free_result($result);
+    } else {
+        $result = cpg_db_query("SELECT aid, title FROM {$CONFIG['TABLE_ALBUMS']} WHERE category = '" . (FIRST_USER_CAT + USER_ID) . "' ORDER BY title");
+        $rowset = cpg_db_fetch_rowset($result);
+        mysql_free_result($result);
+    }
+
+    if (count($rowset)) {
+        $lb = "<select name=\"album_listbox\" class=\"listbox\" onChange=\"if(this.options[this.selectedIndex].value) window.location.href='{$_SERVER['PHP_SELF']}?album='+this.options[this.selectedIndex].value;\">\n";
+        foreach ($rowset as $row) {
+            $selected = ($row['aid'] == $album) ? "SELECTED" : "";
+            $lb .= "        <option value=\"" . $row['aid'] . "\" $selected>" . $row['title'] . "</option>\n";
+        }
+        $lb .= "</select>\n";
+        return $lb;
+    }
+}
+
+if (!isset($_GET['album'])) {
+    if (GALLERY_ADMIN_MODE) {
+        $results = cpg_db_query("SELECT * FROM {$CONFIG['TABLE_ALBUMS']} WHERE 1 LIMIT 1");
+    } else {
+        $results = cpg_db_query("SELECT * FROM {$CONFIG['TABLE_ALBUMS']} WHERE category = " . (FIRST_USER_CAT + USER_ID) . " LIMIT 1");
+    }
+    if (mysql_num_rows($results) == 0) cpg_die(ERROR, $lang_modifyalb_php['err_no_alb_to_modify'], __FILE__, __LINE__);
+    $ALBUM_DATA = mysql_fetch_array($results);
+    $album = $ALBUM_DATA['aid'];
+} else {
+    $album = (int)$_GET['album'];
+    $results = cpg_db_query("SELECT * FROM {$CONFIG['TABLE_ALBUMS']} WHERE aid='$album'");
+    if (!mysql_num_rows($results)) cpg_die(CRITICAL_ERROR, $lang_errors['non_exist_ap'], __FILE__, __LINE__);
+    $ALBUM_DATA = mysql_fetch_array($results);
+}
+
+$cat = $ALBUM_DATA['category'];
+$actual_cat = $cat;
+
+if (!GALLERY_ADMIN_MODE && $ALBUM_DATA['category'] != FIRST_USER_CAT + USER_ID) {
+    cpg_die(ERROR, $lang_errors['perm_denied'], __FILE__, __LINE__);
+}
+
+
+//////////// main code start ///////////////////
+
+pageheader(sprintf($lang_modifyalb_php['upd_alb_n'], $ALBUM_DATA['title']));
+
+$album_lb = alb_list_box();
+$help = '&nbsp;'.cpg_display_help('f=index.htm&amp;as=album_prop&amp;ae=album_prop_end&amp;top=1', '600', '400');
+echo <<< EOT
+    <form method="post" name="modifyalbum" action="db_input.php">
+    <input type="hidden" name="event" value="album_update" />
+    <input type="hidden" name="aid" value="$album" />
+EOT;
+starttable("100%",$lang_modifyalb_php['update'].$help, 2);
+echo <<<EOT
+        <tr>
+            <td class="tableh2" align="center">
+                <a href="editpics.php?album=$album" class="admin_menu">{$lang_modifyalb_php['edit_files']}</a>
+                &nbsp;&nbsp;-&nbsp;&nbsp;
+                <a href="index.php?cat={$ALBUM_DATA['category']}" class="admin_menu">{$lang_modifyalb_php['parent_category']}</a>
+                &nbsp;&nbsp;-&nbsp;&nbsp;
+                <a href="thumbnails.php?album=$album" class="admin_menu">{$lang_modifyalb_php['thumbnail_view']}</a>
+            </td>
+            <td class="tableh2" align="right">
+            $album_lb
+            </td>
+        </tr>
+EOT;
+
+create_form($data);
+
+echo <<<EOT
+<tr>
+        <td colspan="2" align="left" class="tablef">
+EOT;
+if (GALLERY_ADMIN_MODE) {
+printf($lang_modifyalb_php['notice1'],'<a href="groupmgr.php">','</a>');
+}
+else {
+printf($lang_modifyalb_php['notice1'],'','');
+}
+echo <<<EOT
+        </td>
+</tr>
+<tr>
+        <td colspan="2" align="center" class="tablef">
+        <input type="submit" class="button" value="{$lang_modifyalb_php['update']}" />
+        </td>
+</tr>
+EOT;
+
+endtable();
+echo '</form>';
+
+if (GALLERY_ADMIN_MODE) {
+    // get the album stats
+    $result = cpg_db_query("SELECT SUM(hits) FROM {$CONFIG['TABLE_PICTURES']} WHERE aid='$album'");
+    $nbEnr = mysql_fetch_array($result);
+    $hits = $nbEnr[0];
+    if (!$hits) { $hits = 0; }
+    mysql_free_result($result);
+    $result = cpg_db_query("SELECT SUM(votes) FROM {$CONFIG['TABLE_PICTURES']} WHERE aid='$album' AND votes > 0");
+    $nbEnr = mysql_fetch_array($result);
+    $votes = $nbEnr[0];
+    if (!$votes) { $votes = 0; }
+    mysql_free_result($result);
+    $result = cpg_db_query("SELECT COUNT(*) FROM {$CONFIG['TABLE_PICTURES']} WHERE aid='$album'");
+    $nbEnr = mysql_fetch_array($result);
+    $files = $nbEnr[0];
+    if (!$files) { $files = 0; }
+    mysql_free_result($result);
+
+    echo <<<EOT
+    <br />
+    <form action="db_input.php" method="post" name="reset_views_form" onSubmit="return defaultagree(this)">
+    <input type="hidden" name="event" value="album_reset" />
+    <input type="hidden" name="aid" value="$album" />
+EOT;
+// set up the translation strings
+$translation_reset_views = sprintf($lang_modifyalb_php['reset_views'], '&quot;'.$ALBUM_DATA['title'].'&quot;');
+$translation_reset_rating = sprintf($lang_modifyalb_php['reset_rating'], '&quot;'.$ALBUM_DATA['title'].'&quot;');
+$translation_delete_comments = sprintf($lang_modifyalb_php['delete_comments'], '&quot;'.$ALBUM_DATA['title'].'&quot;');
+$translation_delete_files = sprintf($lang_modifyalb_php['delete_files'], '<span style="color:red;font-weight:bold">', '</span>', '&quot;'.$ALBUM_DATA['title'].'&quot;');
+    starttable('100%',$lang_modifyalb_php['reset_album'], 2);
+    echo <<<EOT
+    <tr>
+            <td align="left" class="tableb">
+                <b>$hits</b> {$lang_modifyalb_php['views']}
+            </td>
+            <td align="left" class="tableb">
+                <input type="Checkbox" name="reset_views" id="reset_views" value="1" class="checkbox" /><label for="reset_views" class="clickable_option">$translation_reset_views</label>
+            </td>
+    </tr>
+    <tr>
+            <td align="left" class="tableb">
+                <b>$votes</b> {$lang_modifyalb_php['votes']}
+            </td>
+            <td align="left" class="tableb">
+                <input type="Checkbox" name="reset_rating" id="reset_rating" value="1" class="checkbox" /><label for="reset_rating" class="clickable_option">$translation_reset_rating</label>
+            </td>
+    </tr>
+    <!--not implemented yet
+    <tr>
+            <td align="left" class="tableb">
+                <b>$comments</b> {$lang_modifyalb_php['comments']}
+            </td>
+            <td align="left" class="tableb">
+                <input type="Checkbox" name="delete_comments" id="delete_comments" value="1" class="checkbox" /><label for="delete_comments" class="clickable_option">$translation_delete_comments</label>
+            </td>
+    </tr>
+    -->
+    <tr>
+            <td align="left" class="tableb">
+                <b>$files</b> {$lang_modifyalb_php['files']}
+            </td>
+            <td align="left" class="tableb">
+                <input type="Checkbox" name="delete_files" id="delete_files" value="1" class="checkbox" /><label for="delete_files" class="clickable_option">$translation_delete_files</label>
+            </td>
+    </tr>
+    <tr>
+            <td class="tablef" colspan="2" align="center" valign="bottom">
+                <input type="submit" class="button" value="{$lang_modifyalb_php['submit_reset']}" disabled="disabled" />
+                <input name="agreecheck" type="checkbox" onClick="agreesubmit(this)" />{$lang_modifyalb_php['reset_views_confirm']}
+            </td>
+    </tr>
+EOT;
+    endtable();
+    print "</form>\n";
+}
+
+pagefooter();
+ob_end_flush();
+?>
diff -x .svn -aruN 1.4.24.src/phpinfo.php 1.4.25.src/phpinfo.php
--- 1.4.24.src/phpinfo.php	2009-05-21 15:03:09.000000000 -0500
+++ 1.4.25.src/phpinfo.php	2009-05-26 11:25:52.000000000 -0500
@@ -1,61 +1,61 @@
-<?php
-/*************************
-  Coppermine Photo Gallery
-  ************************
-  Copyright (c) 2003-2009 Coppermine Dev Team
-  v1.1 originally written by Gregory DEMAR
-
-  This program is free software; you can redistribute it and/or modify
-  it under the terms of the GNU General Public License version 3
-  as published by the Free Software Foundation.
-  
-  ********************************************
-  Coppermine version: 1.4.24
-  $HeadURL: https://coppermine.svn.sourceforge.net/svnroot/coppermine/trunk/cpg1.4.x/phpinfo.php $
-  $Revision: 5969 $
-  $Author: gaugau $
-  $Date: 2009-05-21 22:03:33 +0200 (Do, 21 Mai 2009) $
-**********************************************/
-
-error_reporting (E_ALL ^ E_NOTICE);
-define('IN_COPPERMINE', true);
-define('PHPINFO_PHP', true);
-require('include/init.inc.php');
-
-$CONFIG['debug_mode']=0;
-
-if (!GALLERY_ADMIN_MODE) cpg_die(ERROR, $lang_errors['access_denied']);
-
-pageheader($lang_cpg_debug_output['phpinfo']);
-
-ob_start();
-phpinfo();
-$string = ob_get_contents();
-$string = strchr($string, '</style>');
-$string = str_replace('</style>','',$string);
-$string = str_replace('class="p"','',$string);
-$string = str_replace('class="e"','class="tableb"',$string);
-$string = str_replace('class="v"','class="tablef"',$string);
-$string = str_replace('class="h"','class="tableh2"',$string);
-$string = str_replace('class="center"','',$string);
-ob_end_clean();
-
-print '<div align="left" style="overflow:hidden;width:800px;text-align:left;">';
-starttable('100%', $lang_phpinfo_php['php_info'], 1);
-print '<tr><td class="tableb">';
-print $lang_phpinfo_php['explanation'];
-print '<br />';
-print $lang_phpinfo_php['no_link'];
-print '</td></tr>';
-endtable();
-print '<br />';
-
-
-print $string;
-print "</div>\n";
-
-
-pagefooter();
-ob_end_flush();
-
-?>
+<?php
+/*************************
+  Coppermine Photo Gallery
+  ************************
+  Copyright (c) 2003-2009 Coppermine Dev Team
+  v1.1 originally written by Gregory DEMAR
+
+  This program is free software; you can redistribute it and/or modify
+  it under the terms of the GNU General Public License version 3
+  as published by the Free Software Foundation.
+  
+  ********************************************
+  Coppermine version: 1.4.25
+  $HeadURL: https://coppermine.svn.sourceforge.net/svnroot/coppermine/trunk/cpg1.4.x/phpinfo.php $
+  $Revision: 5997 $
+  $Author: gaugau $
+  $Date: 2009-05-26 08:43:24 +0200 (Di, 26 Mai 2009) $
+**********************************************/
+
+error_reporting (E_ALL ^ E_NOTICE);
+define('IN_COPPERMINE', true);
+define('PHPINFO_PHP', true);
+require('include/init.inc.php');
+
+$CONFIG['debug_mode']=0;
+
+if (!GALLERY_ADMIN_MODE) cpg_die(ERROR, $lang_errors['access_denied']);
+
+pageheader($lang_cpg_debug_output['phpinfo']);
+
+ob_start();
+phpinfo();
+$string = ob_get_contents();
+$string = strchr($string, '</style>');
+$string = str_replace('</style>','',$string);
+$string = str_replace('class="p"','',$string);
+$string = str_replace('class="e"','class="tableb"',$string);
+$string = str_replace('class="v"','class="tablef"',$string);
+$string = str_replace('class="h"','class="tableh2"',$string);
+$string = str_replace('class="center"','',$string);
+ob_end_clean();
+
+print '<div align="left" style="overflow:hidden;width:800px;text-align:left;">';
+starttable('100%', $lang_phpinfo_php['php_info'], 1);
+print '<tr><td class="tableb">';
+print $lang_phpinfo_php['explanation'];
+print '<br />';
+print $lang_phpinfo_php['no_link'];
+print '</td></tr>';
+endtable();
+print '<br />';
+
+
+print $string;
+print "</div>\n";
+
+
+pagefooter();
+ob_end_flush();
+
+?>
diff -x .svn -aruN 1.4.24.src/picEditor.php 1.4.25.src/picEditor.php
--- 1.4.24.src/picEditor.php	2009-05-21 15:03:09.000000000 -0500
+++ 1.4.25.src/picEditor.php	2009-05-26 11:25:52.000000000 -0500
@@ -1,655 +1,655 @@
-<?php
-/*************************
-  Coppermine Photo Gallery
-  ************************
-  Copyright (c) 2003-2009 Coppermine Dev Team
-  v1.1 originally written by Gregory DEMAR
-
-  This program is free software; you can redistribute it and/or modify
-  it under the terms of the GNU General Public License version 3
-  as published by the Free Software Foundation.
-
-  ********************************************
-  Coppermine version: 1.4.24
-  $HeadURL: https://coppermine.svn.sourceforge.net/svnroot/coppermine/trunk/cpg1.4.x/picEditor.php $
-  $Revision: 5969 $
-  $Author: gaugau $
-  $Date: 2009-05-21 22:03:33 +0200 (Do, 21 Mai 2009) $
-**********************************************/
-
-// embedded images
-function cornerleft()
-  {
-    header("Content-type: image/gif");
-    header("Content-length: 290");
-    echo base64_decode(
-'R0lGODlhGQAZAMQAAP///+zu8d3h5tXb4dbW1s/V3czU2sXN1c'.
-'PK0cPExMHCw7y+wLW1tbC2va6yuKurrJmZmf///wAAAAAAAAAA'.
-'AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACH5BA'.
-'UUABEALAAAAAAZABkAAAWfICCOZGmeaHoqysI8CZG4sEzHSZ6I'.
-'CeJEEULg8AsOi0IgULRACgoNIOEZDQoGyoiIAUwECkUvuBvAZk'.
-'UPI1F6ZBuyS0Ds6RxbzXCR0C4Ol+FKPAdVQmtGb4BxTVJ0jHiJ'.
-'W2R8f4mBAGmFSAGIlXFzdlOPnXpffqKjcoNunYBMTqeskRFesL'.
-'GXh6yVPKG5ugBCtb08vbYJxKjGx5ByyokhADs='.
-'');
-}
-function cornerright()
-  {
-    header("Content-type: image/gif");
-    header("Content-length: 292");
-    echo base64_decode(
-'R0lGODlhGQAZAMQAAP///+zv8t3h5tXc5NbW1s/V3dHS08XN1c'.
-'PK0cLDw8HCw7y+wLW1ta+0u66yuKurrJmZmf///wAAAAAAAAAA'.
-'AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACH5BA'.
-'UUABEALAAAAAAZABkAAAWhYCSOZGlGCQCc7JmubSy+skzX5xAY'.
-'Km4OAsLNJyrsIo8eMaJTiBhKH9AgciyiNSM10jgMZc2qFtuaih'.
-'qF4JelPR+OSVg54Iw4jIknuWTmprdWeyNtXG9bXWsjYXZ4YjuC'.
-'fWgCh2lCe4RdR4VwZIt3AXmMoHpyTAOUk2d/Z1elAQRVb7B2sm'.
-'cILwm5CQYJDwwLu72/wb7ALyrIycrLzM3OyyEAOw=='.
-'');
-}
-
-// image calls
-if (isset($_GET['img'])) {
-  if ($_GET['img']=="left") {cornerleft();exit;}
-}
-if (isset($_GET['img'])) {
-  if ($_GET['img']=="right") {cornerright();exit;}
-}
-
-
-define('IN_COPPERMINE', true);
-define('EDITPICS_PHP', true);
-
-require('include/init.inc.php');
-require('include/picmgmt.inc.php');
-
-define('IMG_DIR', $CONFIG['fullpath'].'edit/');
-
-if (isset($_GET['id'])) {
-        $pid = (int)$_GET['id'];
-} elseif (isset($_POST['id'])) {
-        $pid = (int)$_POST['id'];
-} else {
-        $pid = -1;
-        cpg_die(ERROR, $lang_errors['param_missing'], __FILE__, __LINE__);
-}
-
-// Initialize the array
-$CURRENT_PIC = array();
-
-if (!(GALLERY_ADMIN_MODE || ($CONFIG['users_can_edit_pics'] && $CURRENT_PIC['owner_id'] == USER_ID)) || !USER_ID) {
-    cpg_die(ERROR, $lang_errors['access_denied'], __FILE__, __LINE__);
-}
-
-if ($pid > 0){
-
-        $result = cpg_db_query("SELECT * FROM {$CONFIG['TABLE_PICTURES']} WHERE pid = '$pid'");
-        $CURRENT_PIC = mysql_fetch_array($result);
-        mysql_free_result($result);
-        $pic_url = get_pic_url($CURRENT_PIC,'fullsize');
-}
-
-//Garbage collection run at an probability of 25% and delete all files older than one hour
-if (rand(1,100) < 25){
-        $d = opendir(IMG_DIR);
-        while ($file = readdir($d)){
-                if (is_file(IMG_DIR.$file) && ((time() - filemtime(IMG_DIR.$file))/60) > 60 && $file !="index.html" && $file !="no_FTP-uploads_into_this_folder!"){
-                        @unlink(IMG_DIR.$file);
-                }
-
-        }
-}
-
-//Include the proper class for image Object
-if ($CONFIG['thumb_method']=="gd2"){
-           require("include/imageObjectGD.class.php");
-}elseif ($CONFIG['thumb_method']=="im"){
-        require("include/imageObjectIM.class.php");
-}else{
-        die ("Editor class for your resize method not implemented");
-}
-
-//////////////////////////////////Main script//////////////////////////////////////
-// PREVENTING CACHING
-header("Expires: Mon, 26 Jul 1997 05:00:00 GMT");    // Date in the past
-header("Last-Modified: " . gmdate("D, d M Y H:i:s") . " GMT");
-                                                     // always modified
-header("Cache-Control: no-store, no-cache, must-revalidate");  // HTTP/1.1
-header("Cache-Control: post-check=0, pre-check=0", false);
-header("Pragma: no-cache");                          // HTTP/1.0
-
-// PAGE INIT
-if (!$img_dir) $img_dir = IMG_DIR;
-
-
-if ($_GET['id']){
-   //Copy the Image file to the editing directory
-   if (copy($CONFIG['fullpath'].$CURRENT_PIC['filepath'].$CURRENT_PIC['filename'],$img_dir.$CURRENT_PIC['filename']))
-   $newimage = $CURRENT_PIC['filename'];
-}else if(!isset($newimage)){
-   $newimage = $_POST['newimage'];
-}
-
-   if ($newimage){
-      $imgObj = new imageObject($img_dir,$newimage);
-      if ((int)$_POST['quality']){
-                      $imgObj->quality = (int)$_POST['quality'];
-        }
-
-      if ($imgObj->imgRes){
-          if ($_POST['clipval'] && $_POST['cropping']==true){
-                  $imgObj = $imgObj->cropImage($_POST['clipval']);
-          }
-
-          if ((int)$_POST['angle']<>0){
-                  $imgObj = $imgObj->rotateImage((int)$_POST['angle']);
-          }
-
-
-      }
-      $newimage = $imgObj->filename;
-   }//   newimage
-
-   if(isset($_POST["save"])) {
-
-                $width=$imgObj->width;
-        $height=$imgObj->height;
-                $normal = $CONFIG['fullpath'] . $CURRENT_PIC['filepath'] . $CONFIG['normal_pfx'] . $CURRENT_PIC['filename'];
-                $thumbnail = $CONFIG['fullpath'] . $CURRENT_PIC['filepath'] . $CONFIG['thumb_pfx'] . $CURRENT_PIC['filename'];
-                $filesize = @filesize($img_dir.$newimage);
-
-          //Full image replace
-          copy($img_dir.$newimage,$CONFIG['fullpath'].$CURRENT_PIC['filepath'].$CURRENT_PIC['filename'])   ;
-
-          // Normal image resized and replace, use the CPG resize method instead of the object resizeImage
-          // as using the object resizeImage will make the final display of image to be a thumbnail in the editor
-
-          if (max($width, $height) > $CONFIG['picture_width'] && $CONFIG['make_intermediate']) {
-                resize_image($img_dir.$newimage, $normal, $CONFIG['picture_width'], $CONFIG['thumb_method'], $CONFIG['thumb_use']);
-          } else {
-                @unlink($normal);
-          }
-
-          //thumbnail resized and replace
-               resize_image($img_dir.$newimage, $thumbnail, $CONFIG['thumb_width'], $CONFIG['thumb_method'], $CONFIG['thumb_use']);
-                       $total_filesize = $filesize + (file_exists($normal) ? filesize($normal) : 0) + filesize($thumbnail);
-
-          //Update the image size in the DB
-          cpg_db_query("UPDATE {$CONFIG['TABLE_PICTURES']}
-                          SET pheight = $height,
-                            pwidth = $width,
-                                                        filesize = $filesize,
-                                                        total_filesize = $total_filesize
-                          WHERE pid = '$pid'");
-
-          $message = "Picture successfully saved - you can close this window now";
-
-   }
-
-   if(isset($_POST["save_thumb"])) {
-
-        $width=$imgObj->width;
-        $height=$imgObj->height;
-                $normal = $CONFIG['fullpath'] . $CURRENT_PIC['filepath'] . $CONFIG['normal_pfx'] . $CURRENT_PIC['filename'];
-                $thumbnail = $CONFIG['fullpath'] . $CURRENT_PIC['filepath'] . $CONFIG['thumb_pfx'] . $CURRENT_PIC['filename'];
-                $currentPic = $CONFIG['fullpath'] . $CURRENT_PIC['filepath'] . $CURRENT_PIC['filename'];
-
-        //Calculate the thumbnail dimensions
-        if ($CONFIG['thumb_use'] == 'ht') {
-                $ratio = $height / $CONFIG['thumb_width'] ;
-        } elseif ($CONFIG['thumb_use'] == 'wd') {
-                $ratio = $width / $CONFIG['thumb_width'] ;
-        } else {
-                $ratio = max($width, $height) / $CONFIG['thumb_width'] ;
-        }
-        $ratio = max($ratio, 1.0);
-        $dstWidth = (int)($width / $ratio);
-        $dstHeight = (int)($height / $ratio);
-        $imgObj->quality = (int)($_POST['quality']);
-        $imgObj = $imgObj->resizeImage($dstWidth,$dstHeight);
-        $newimage = $imgObj->filename;
-
-        copy($img_dir.$newimage,$CONFIG['fullpath'].$CURRENT_PIC['filepath'].$CONFIG['thumb_pfx'].$CURRENT_PIC['filename'])   ;
-
-        $total_filesize = filesize($currentPic) + (file_exists($normal) ? filesize($normal) : 0) + filesize($thumbnail);
-
-          //Update the image size in the DB
-          cpg_db_query("UPDATE {$CONFIG['TABLE_PICTURES']} SET total_filesize = $total_filesize WHERE pid = '$pid'");
-
-
-        $message = "Thumbnail successfully saved - you can close this window now";
-
-   }
-
-?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
-<html>
-  <head>
-  <meta http-equiv="imagetoolbar" content="no" />
-  <meta http-equiv="content-type" content="text/html; charset=<?php echo $CONFIG['charset'] == 'language file' ? $lang_charset : $CONFIG['charset'] ?>" />
-    <title><?php echo $lang_editpics_php['crop_title'] ?></title>
-    <?php if($imgObj){?>
-    <script type="text/javascript">
-    /****************************************************************************
-    DHTML library from DHTMLCentral.com
-    *   Copyright (C) 2001 Thomas Brattli 2001
-    *   This script was released at DHTMLCentral.com
-    *   Visit for more great scripts!
-    *   This may be used and changed freely as long as this msg is intact!
-    *   We will also appreciate any links you could give us.
-    *
-    *   Made by Thomas Brattli 2001
-    ***************************************************************************/
-    //Browsercheck (needed) ***************
-    function lib_bwcheck(){
-      this.ver=navigator.appVersion
-      this.agent=navigator.userAgent
-      this.dom=document.getElementById?1:0
-      this.opera5=this.agent.indexOf("Opera 5")>-1
-      this.ie5=(this.ver.indexOf("MSIE 5")>-1 && this.dom && !this.opera5)?1:0;
-      this.ie6=(this.ver.indexOf("MSIE 6")>-1 && this.dom && !this.opera5)?1:0;
-      this.ie4=(document.all && !this.dom && !this.opera5)?1:0;
-      this.ie=this.ie4||this.ie5||this.ie6
-      this.mac=this.agent.indexOf("Mac")>-1
-      this.ns6=(this.dom && parseInt(this.ver) >= 5) ?1:0;
-      this.ns4=(document.layers && !this.dom)?1:0;
-      this.bw=(this.ie6||this.ie5||this.ie4||this.ns4||this.ns6||this.opera5)
-      return this
-    }
-    bw=new lib_bwcheck() //Browsercheck object
-
-    //Debug function ******************
-    function lib_message(txt){alert(txt); return false}
-
-    //Lib objects  ********************
-    function lib_obj(obj,nest){
-      if(!bw.bw) return lib_message('Old browser')
-      nest=(!nest) ? "":'document.'+nest+'.'
-      this.evnt=bw.dom? document.getElementById(obj):
-        bw.ie4?document.all[obj]:bw.ns4?eval(nest+"document.layers." +obj):0;
-      if(!this.evnt) return lib_message('The layer does not exist ('+obj+')'
-        +'- \nIf your using Netscape please check the nesting of your tags!')
-      this.css=bw.dom||bw.ie4?this.evnt.style:this.evnt;
-      this.ref=bw.dom||bw.ie4?document:this.css.document;
-      this.x=parseInt(this.css.left)||this.css.pixelLeft||this.evnt.offsetLeft||0;
-      this.y=parseInt(this.css.top)||this.css.pixelTop||this.evnt.offsetTop||0
-      this.w=this.evnt.offsetWidth||this.css.clip.width||
-        this.ref.width||this.css.pixelWidth||0;
-      this.h=this.evnt.offsetHeight||this.css.clip.height||
-        this.ref.height||this.css.pixelHeight||0
-      this.c=0 //Clip values
-      if((bw.dom || bw.ie4) && this.css.clip) {
-      this.c=this.css.clip; this.c=this.c.slice(5,this.c.length-1);
-      this.c=this.c.split(' ');
-      for(var i=0;i<4;i++){this.c[i]=parseInt(this.c[i])}
-      }
-      this.ct=this.css.clip.top||this.c[0]||0;
-      this.cr=this.css.clip.right||this.c[1]||this.w||0
-      this.cb=this.css.clip.bottom||this.c[2]||this.h||0;
-      this.cl=this.css.clip.left||this.c[3]||0
-      this.obj = obj + "Object"; eval(this.obj + "=this")
-      return this
-    }
-
-    //Moving object to **************
-    lib_obj.prototype.moveIt = function(x,y){
-      this.x=x;this.y=y; this.css.left=x+"px";this.css.top=y+"px";
-    }
-
-    //Moving object by ***************
-    lib_obj.prototype.moveBy = function(x,y){
-      this.css.left=this.x+=x; this.css.top=this.y+=y
-    }
-
-    //Showing object ************
-    lib_obj.prototype.showIt = function(){this.css.visibility="visible"}
-
-    //Hiding object **********
-    lib_obj.prototype.hideIt = function(){this.css.visibility="hidden"}
-
-    //Changing backgroundcolor ***************
-    lib_obj.prototype.bg = function(color){
-        if(bw.opera) this.css.background=color
-        else if(bw.dom || bw.ie4) this.css.backgroundColor=color
-        else if(bw.ns4) this.css.bgColor=color
-    }
-
-    //Writing content to object ***
-    lib_obj.prototype.writeIt = function(text,startHTML,endHTML){
-        if(bw.ns4){
-        if(!startHTML){startHTML=""; endHTML=""}
-          this.ref.open("text/html");
-        this.ref.write(startHTML+text+endHTML);
-        this.ref.close()
-        }else this.evnt.innerHTML=text
-    }
-
-    //Clipping object to ******
-    lib_obj.prototype.clipTo = function(t,r,b,l,setwidth){
-      this.ct=t; this.cr=r; this.cb=b; this.cl=l
-      if(bw.ns4){
-        this.css.clip.top=t;this.css.clip.right=r
-        this.css.clip.bottom=b;this.css.clip.left=l
-      }else{
-        if(t<0)t=0;if(r<0)r=0;if(b<0)b=0;if(b<0)b=0
-        this.css.clip="rect("+t+"px"+","+r+"px"+","+b+"px"+","+l+"px"+")";
-        if(setwidth){this.css.pixelWidth=this.css.width=r+"px";
-        this.css.pixelHeight=this.css.height=b+"px"}
-      }
-    }
-
-    //Clipping object by ******
-    lib_obj.prototype.clipBy = function(t,r,b,l,setwidth){
-      this.clipTo(this.ct+t,this.cr+r,this.cb+b,this.cl+l,setwidth)
-    }
-
-    //Clip animation ************
-    lib_obj.prototype.clipIt = function(t,r,b,l,step,fn,wh){
-      tstep=Math.max(Math.max(Math.abs((t-this.ct)/step),Math.abs((r-this.cr)/step)),
-        Math.max(Math.abs((b-this.cb)/step),Math.abs((l-this.cl)/step)))
-      if(!this.clipactive){
-        this.clipactive=true; if(!wh) wh=0; if(!fn) fn=0
-        this.clip(t,r,b,l,(t-this.ct)/tstep,(r-this.cr)/tstep,
-          (b-this.cb)/tstep,(l-this.cl)/tstep,tstep,0, fn,wh)
-      }
-    }
-    lib_obj.prototype.clip = function(t,r,b,l,ts,rs,bs,ls,tstep,astep,fn,wh){
-      if(astep<tstep){
-        if(wh) eval(wh);
-        astep++
-        this.clipBy(ts,rs,bs,ls,1);
-        setTimeout(this.obj+".clip("+t+","+r+","+b+","+l+","+ts+","+rs+","
-          +bs+","+ls+","+tstep+","+astep+",'"+fn+"','"+wh+"')",50)
-      }else{
-        this.clipactive=false; this.clipTo(t,r,b,l,1);
-        if(fn) eval(fn)
-      }
-    }
-
-    //Slide animation ***********
-    lib_obj.prototype.slideIt = function(endx,endy,inc,speed,fn,wh){
-      if(!this.slideactive){
-        var distx = endx - this.x;
-        var disty = endy - this.y
-        var num = Math.sqrt(Math.pow(distx,2)+Math.pow(disty,2))/inc
-        var dx = distx/num; var dy = disty/num
-        this.slideactive = 1;
-        if(!wh) wh=0; if(!fn) fn=0
-        this.slide(dx,dy,endx,endy,speed,fn,wh)
-        }
-    }
-    lib_obj.prototype.slide = function(dx,dy,endx,endy,speed,fn,wh) {
-      if(this.slideactive&&
-      (Math.floor(Math.abs(dx))<Math.floor(Math.abs(endx-this.x))||
-        Math.floor(Math.abs(dy))<Math.floor(Math.abs(endy-this.y)))){
-        this.moveBy(dx,dy);
-        if(wh) eval(wh)
-        setTimeout(this.obj+".slide("+dx+","+dy+","+endx+","+endy+","+speed+",'"
-        +fn+"','"+wh+"')",speed)
-      }else{
-        this.slideactive = 0;
-        this.moveIt(endx,endy);
-        if(fn) eval(fn)
-      }
-    }
-
-    //Circle animation ****************
-    lib_obj.prototype.circleIt = function(rad,ainc,a,enda,xc,yc,speed,fn) {
-      if((Math.abs(ainc)<Math.abs(enda-a))) {
-        a += ainc
-        var x = xc + rad*Math.cos(a*Math.PI/180)
-        var y = yc - rad*Math.sin(a*Math.PI/180)
-        this.moveIt(x,y)
-        setTimeout(this.obj+".circleIt("+rad+","+ainc+","+a+","+enda+","
-          +xc+","+yc+","+speed+",'"+fn+"')",speed)
-      }else if(fn&&fn!="undefined") eval(fn)
-    }
-
-    //Document size object ********
-    function lib_doc_size(){
-      this.x=0;this.x2=bw.ie && document.body.offsetWidth-20||innerWidth||0;
-      this.y=0;this.y2=bw.ie && document.body.offsetHeight-5||innerHeight||0;
-      if(!this.x2||!this.y2) return message('Document has no width or height')
-      this.x50=this.x2/2;this.y50=this.y2/2;
-      return this;
-    }
-
-    //Drag drop functions start *******************
-    dd_is_active=0; dd_obj=0; dd_mobj=0
-    function lib_dd(){
-      dd_is_active=1
-      if(bw.ns4){
-        document.captureEvents(Event.MOUSEMOVE|Event.MOUSEDOWN|Event.MOUSEUP)
-      }
-      document.onmousemove=lib_dd_move;
-      document.onmousedown=lib_dd_down
-      document.onmouseup=lib_dd_up
-    }
-    lib_obj.prototype.dragdrop = function(obj){
-      if(!dd_is_active) lib_dd()
-      this.evnt.onmouseover=new Function("lib_dd_over("+this.obj+")")
-      this.evnt.onmouseout=new Function("dd_mobj=0")
-      if(obj) this.ddobj=obj
-    }
-    lib_obj.prototype.nodragdrop = function(){
-      this.evnt.onmouseover=""; this.evnt.onmouseout=""
-      dd_obj=0; dd_mobj=0
-    }
-    //Drag drop event functions
-    function lib_dd_over(obj){dd_mobj=obj}
-    function lib_dd_up(e){dd_obj=0}
-
-    var MouseX = 0;
-    var MouseY = 0;
-
-    function lib_dd_down(e){ //Mousedown
-
-    if(dd_mobj){
-        x=(bw.ns4 || bw.ns6)?e.pageX:event.x||event.clientX
-        y=(bw.ns4 || bw.ns6)?e.pageY:event.y||event.clientY
-        dd_obj=dd_mobj
-        dd_obj.clX=x-dd_obj.x
-        dd_obj.clY=y-dd_obj.y
-        }
-
-    }
-    function lib_dd_move(e,y,rresize){ //Mousemove
-      x=(bw.ns4 || bw.ns6)?e.pageX:event.x||event.clientX
-      y=(bw.ns4 || bw.ns6)?e.pageY:event.y||event.clientY
-      if(dd_obj){
-        nx=x-dd_obj.clX; ny=y-dd_obj.clY
-        if(dd_obj.ddobj) dd_obj.ddobj.moveIt(nx,ny)
-        else dd_obj.moveIt(nx,ny)
-      }
-      if(!bw.ns4) return false
-    }
-    //Drag drop functions end *************
-
-    // page functions
-    function resetClip(){
-      newleft = (screen.width - <?php echo $imgObj->width?>)/2;
-      if (newleft<0)newleft = 0;
-      objimg.moveIt(newleft,100);
-      objimg.clipTo(0,<?php echo $imgObj->width?>,<?php echo $imgObj->height?>,0,1);
-      objlefttop.moveIt(newleft-2,97);
-      objrightbottom.moveIt(newleft+<?php echo $imgObj->width?>-23,100+<?php echo $imgObj->height?>-23);
-      document.mainform.clipval.value = "";
-      }
-    function libinit(){
-      page=new lib_doc_size();
-
-      objlefttop=new lib_obj('lefttopdiv');
-      objlefttop.dragdrop();
-
-      objrightbottom=new lib_obj('rightbottomdiv');
-      objrightbottom.dragdrop();
-
-      objimg=new lib_obj('imgdiv');
-
-      resetClip();
-      }
-
-    function showPreview(){
-    if (objlefttop.y < objimg.y+2 ){
-            objlefttop.y = objimg.y+2 ;
-        objlefttop.moveIt(objlefttop.x, objimg.y);
-    }
-    if (objlefttop.x < objimg.x ){
-            objlefttop.x = objimg.x ;
-        objlefttop.moveIt(objimg.x, objlefttop.y );
-    }
-
-    objimg.clipTo(objlefttop.y-objimg.y+2, objrightbottom.x-objimg.x+23 , objrightbottom.y-objimg.y+23, objlefttop.x-objimg.x+2,1);
-    document.mainform.clipval.value = objimg.ct + ',' + objimg.cr + ',' + objimg.cb + ',' + objimg.cl;
-    }
-
-    function showCorners(check){
-    if (check.checked){
-        objlefttop.showIt();
-        objrightbottom.showIt();
-       }else{
-        objlefttop.hideIt();
-        objrightbottom.hideIt();
-        resetClip();
-       }
-    }
-    </script>
-<?php }?>
-    <style type="text/css">
-    #lefttopdiv{
-    position:absolute;
-    background-image:url(<?php echo $_SERVER['PHP_SELF']?>?img=left);
-    left:0px;
-    top:100px;
-    height:25px;
-    width:25px;
-    z-index:8;
-    cursor:move;
-    visibility:hidden;
-    }
-    #rightbottomdiv{
-    position:absolute;
-    background-image:url(<?php echo $_SERVER['PHP_SELF']?>?img=right);
-    left:0px;
-    top:225px;
-    height:25px;
-    width:25px;
-    z-index:9;
-    cursor:move;
-    visibility:hidden;
-    }
-    #imgdiv{
-    position:absolute;
-    top:100px;
-    width:<?php echo $imgObj->width?>px;
-    height:<?php echo $imgObj->height?>px;
-    text-align:center;
-    margin-left:auto;
-    margin-right:auto;
-    z-index:0;
-    <?php if (!$imgObj->imgRes) print "visibility:hidden;\n";?>
-    }
-    </style>
-    <link rel="stylesheet" type="text/css" href="themes/<?php echo $CONFIG['theme'];?>/style.css" />
-</head>
-
-<body <?php if ($imgObj) print "onload=\"libinit()\"";?>>
-
-<form name="mainform" id="cpgform" method="post" enctype="multipart/form-data" action="picEditor.php">
-
-<input type="hidden" name="clipval" value="" />
-<input type="hidden" name="newimage" value="<?php print $newimage ; ?>" />
-<input type="hidden" name="img_dir" value="<?php print $img_dir ; ?>" />
-<input type="hidden" name="id" value="<?php print (isset($_GET['id']))?$_GET['id']:$_POST['id']; ?>" />
-
-<?php starttable("100%", $lang_editpics_php['crop_title'], 3); ?>
-<tr>
-<td>
-<table border="0" cellspacing="2" cellpadding="2" class="maintableb" width="100%" >
-  <tr>
-<?php if ($CONFIG['thumb_method']='im' ||($CONFIG['thumb_method']='gd2' && function_exists("imagerotate"))){ ?>
-
-
-   <td>
-      <select name="angle" class="listbox">
-      <option value="0" selected="selected">Rotate</option>
-      <option value="90">-90&#176;</option>
-      <option value="180">180&#176;</option>
-      <option value="270">+90&#176;</option>
-      </select>
-   </td>
-   <!--
-   <td >
-    <input valign="bottom" type="checkbox" class="checkbox" name="mirror" value="true" />
-      Mirror
-    </td>
-
-
-<?php } ?>
-
-   <td>
-       <select name="rescale" class="listbox">
-       <option value="">Scale
-       <option value="0.1">10%<option value="0.11">11%<option value="0.12">12%<option value="0.13">13%<option value="0.14">14%<option value="0.15">15%<option value="0.16">16%<option value="0.17">17%<option value="0.18">18%<option value="0.19">19%<option value="0.2">20%<option value="0.21">21%<option value="0.22">22%<option value="0.23">23%<option value="0.24">24%<option value="0.25">25%<option value="0.26">26%<option value="0.27">27%<option value="0.28">28%<option value="0.29">29%<option value="0.3">30%<option value="0.31">31%<option value="0.32">32%<option value="0.33">33%<option value="0.34">34%<option value="0.35">35%<option value="0.36">36%<option value="0.37">37%<option value="0.38">38%<option value="0.39">39%<option value="0.4">40%<option value="0.41">41%<option value="0.42">42%<option value="0.43">43%<option value="0.44">44%<option value="0.45">45%<option value="0.46">46%<option value="0.47">47%<option value="0.48">48%<option value="0.49">49%<option value="0.5">50%<option value="0.51">51%<option value="0.52">52%<option value="0.53">53%<option value="0.54">54%<option value="0.55">55%<option value="0.56">56%<option value="0.57">57%<option value="0.58">58%<option value="0.59">59%<option value="0.6">60%<option value="0.61">61%<option value="0.62">62%<option value="0.63">63%<option value="0.64">64%<option value="0.65">65%<option value="0.66">66%<option value="0.67">67%<option value="0.68">68%<option value="0.69">69%<option value="0.7">70%<option value="0.71">71%<option value="0.72">72%<option value="0.73">73%<option value="0.74">74%<option value="0.75">75%<option value="0.76">76%<option value="0.77">77%<option value="0.78">78%<option value="0.79">79%<option value="0.8">80%<option value="0.81">81%<option value="0.82">82%<option value="0.83">83%<option value="0.84">84%<option value="0.85">85%<option value="0.86">86%<option value="0.87">87%<option value="0.88">88%<option value="0.89">89%<option value="0.9">90%<option value="0.91">91%<option value="0.92">92%<option value="0.93">93%<option value="0.94">94%<option value="0.95">95%<option value="0.96">96%<option value="0.97">97%<option value="0.98">98%<option value="0.99">99%<option value="1">100%<option value="1.01">101%<option value="1.02">102%<option value="1.03">103%<option value="1.04">104%<option value="1.05">105%<option value="1.06">106%<option value="1.07">107%<option value="1.08">108%<option value="1.09">109%<option value="1.1">110%<option value="1.11">111%<option value="1.12">112%<option value="1.13">113%<option value="1.14">114%<option value="1.15">115%<option value="1.16">116%<option value="1.17">117%<option value="1.18">118%<option value="1.19">119%<option value="1.2">120%<option value="1.21">121%<option value="1.22">122%<option value="1.23">123%<option value="1.24">124%<option value="1.25">125%<option value="1.26">126%<option value="1.27">127%<option value="1.28">128%<option value="1.29">129%<option value="1.3">130%<option value="1.31">131%<option value="1.32">132%<option value="1.33">133%<option value="1.34">134%<option value="1.35">135%<option value="1.36">136%<option value="1.37">137%<option value="1.38">138%<option value="1.39">139%<option value="1.4">140%<option value="1.41">141%<option value="1.42">142%<option value="1.43">143%<option value="1.44">144%<option value="1.45">145%<option value="1.46">146%<option value="1.47">147%<option value="1.48">148%<option value="1.49">149%<option value="1.5">150%<option value="1.51">151%<option value="1.52">152%<option value="1.53">153%<option value="1.54">154%<option value="1.55">155%<option value="1.56">156%<option value="1.57">157%<option value="1.58">158%<option value="1.59">159%<option value="1.6">160%<option value="1.61">161%<option value="1.62">162%<option value="1.63">163%<option value="1.64">164%<option value="1.65">165%<option value="1.66">166%<option value="1.67">167%<option value="1.68">168%<option value="1.69">169%<option value="1.7">170%<option value="1.71">171%<option value="1.72">172%<option value="1.73">173%<option value="1.74">174%<option value="1.75">175%<option value="1.76">176%<option value="1.77">177%<option value="1.78">178%<option value="1.79">179%<option value="1.8">180%<option value="1.81">181%<option value="1.82">182%<option value="1.83">183%<option value="1.84">184%<option value="1.85">185%<option value="1.86">186%<option value="1.87">187%<option value="1.88">188%<option value="1.89">189%<option value="1.9">190%<option value="1.91">191%<option value="1.92">192%<option value="1.93">193%<option value="1.94">194%<option value="1.95">195%<option value="1.96">196%<option value="1.97">197%<option value="1.98">198%<option value="1.99">199%<option value="2">200%</option>
-       </select>
-   </td>
-   <td>
-     OR
-   </td>
-   <td>
-       <select name="widthheight" class="listbox" >
-       <option value="width">New width
-       <option value="height">New height
-       </option>
-       </select>
-   </td>
-   <td>
-       <input type="text" size="3" name="newsize" class="textinput" /> px
-   </td>
-   -->
-
-
-
-   <td>
-     <input type="checkbox" class="checkbox" name="cropping" value="true" onclick="showCorners(this)" />
-     Enable clipping, apply to crop
-   </td>
-   <td title="Less quality creates a smaller file, default is 80%" >
-        <select id="quality" name="quality" class="listbox" >
-        <option value="80" selected="selected">JPEG Output Quality</option>
-        <?php
-        for ( $counter = 10; $counter <= 100; $counter += 5) {
-            $selected = ($imgObj->quality == $counter) ? 'selected="selected" ' : '';
-            echo "<option value=\"$counter\" $selected>$counter</option>";
-        }
-        ?>
-        </select>
-   </td>
-   <td><input type="submit" name="submit" class="button" value=" <?php echo $lang_editpics_php['preview'] ?> " /></td>
-   <td><input type="submit" name="save" class="button" value=" <?php echo $lang_editpics_php['save'] ?> " /></td>
-   <td><input type="submit" name="save_thumb" class="button" value=" <?php echo $lang_editpics_php['save_thumb'] ?> " /></td>
- </tr>
-</table>
-</td>
-</tr>
-<?php endtable(); ?>
-
-<div id="lefttopdiv" onclick="showPreview(); return false;">
-</div>
-
-<div id="rightbottomdiv" onclick="showPreview(); return false;">
-</div>
-
-<?php if ($message){ ?>
-<h1 align=center><?php echo $message?></h1>
-<?php } ?>
-
-<div id="imgdiv">
-<?php if ($imgObj){ ?>
-<img src="<?php echo $imgObj->directory.$imgObj->filename?>?<?php echo rand(); ?>" <?php echo $imgObj->string; ?> style="vertical-align: middle;" alt="" />
-<?php } ?>
-</div>
-</form>
-</body>
+<?php
+/*************************
+  Coppermine Photo Gallery
+  ************************
+  Copyright (c) 2003-2009 Coppermine Dev Team
+  v1.1 originally written by Gregory DEMAR
+
+  This program is free software; you can redistribute it and/or modify
+  it under the terms of the GNU General Public License version 3
+  as published by the Free Software Foundation.
+
+  ********************************************
+  Coppermine version: 1.4.25
+  $HeadURL: https://coppermine.svn.sourceforge.net/svnroot/coppermine/trunk/cpg1.4.x/picEditor.php $
+  $Revision: 5997 $
+  $Author: gaugau $
+  $Date: 2009-05-26 08:43:24 +0200 (Di, 26 Mai 2009) $
+**********************************************/
+
+// embedded images
+function cornerleft()
+  {
+    header("Content-type: image/gif");
+    header("Content-length: 290");
+    echo base64_decode(
+'R0lGODlhGQAZAMQAAP///+zu8d3h5tXb4dbW1s/V3czU2sXN1c'.
+'PK0cPExMHCw7y+wLW1tbC2va6yuKurrJmZmf///wAAAAAAAAAA'.
+'AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACH5BA'.
+'UUABEALAAAAAAZABkAAAWfICCOZGmeaHoqysI8CZG4sEzHSZ6I'.
+'CeJEEULg8AsOi0IgULRACgoNIOEZDQoGyoiIAUwECkUvuBvAZk'.
+'UPI1F6ZBuyS0Ds6RxbzXCR0C4Ol+FKPAdVQmtGb4BxTVJ0jHiJ'.
+'W2R8f4mBAGmFSAGIlXFzdlOPnXpffqKjcoNunYBMTqeskRFesL'.
+'GXh6yVPKG5ugBCtb08vbYJxKjGx5ByyokhADs='.
+'');
+}
+function cornerright()
+  {
+    header("Content-type: image/gif");
+    header("Content-length: 292");
+    echo base64_decode(
+'R0lGODlhGQAZAMQAAP///+zv8t3h5tXc5NbW1s/V3dHS08XN1c'.
+'PK0cLDw8HCw7y+wLW1ta+0u66yuKurrJmZmf///wAAAAAAAAAA'.
+'AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACH5BA'.
+'UUABEALAAAAAAZABkAAAWhYCSOZGlGCQCc7JmubSy+skzX5xAY'.
+'Km4OAsLNJyrsIo8eMaJTiBhKH9AgciyiNSM10jgMZc2qFtuaih'.
+'qF4JelPR+OSVg54Iw4jIknuWTmprdWeyNtXG9bXWsjYXZ4YjuC'.
+'fWgCh2lCe4RdR4VwZIt3AXmMoHpyTAOUk2d/Z1elAQRVb7B2sm'.
+'cILwm5CQYJDwwLu72/wb7ALyrIycrLzM3OyyEAOw=='.
+'');
+}
+
+// image calls
+if (isset($_GET['img'])) {
+  if ($_GET['img']=="left") {cornerleft();exit;}
+}
+if (isset($_GET['img'])) {
+  if ($_GET['img']=="right") {cornerright();exit;}
+}
+
+
+define('IN_COPPERMINE', true);
+define('EDITPICS_PHP', true);
+
+require('include/init.inc.php');
+require('include/picmgmt.inc.php');
+
+define('IMG_DIR', $CONFIG['fullpath'].'edit/');
+
+if (isset($_GET['id'])) {
+        $pid = (int)$_GET['id'];
+} elseif (isset($_POST['id'])) {
+        $pid = (int)$_POST['id'];
+} else {
+        $pid = -1;
+        cpg_die(ERROR, $lang_errors['param_missing'], __FILE__, __LINE__);
+}
+
+// Initialize the array
+$CURRENT_PIC = array();
+
+if (!(GALLERY_ADMIN_MODE || ($CONFIG['users_can_edit_pics'] && $CURRENT_PIC['owner_id'] == USER_ID)) || !USER_ID) {
+    cpg_die(ERROR, $lang_errors['access_denied'], __FILE__, __LINE__);
+}
+
+if ($pid > 0){
+
+        $result = cpg_db_query("SELECT * FROM {$CONFIG['TABLE_PICTURES']} WHERE pid = '$pid'");
+        $CURRENT_PIC = mysql_fetch_array($result);
+        mysql_free_result($result);
+        $pic_url = get_pic_url($CURRENT_PIC,'fullsize');
+}
+
+//Garbage collection run at an probability of 25% and delete all files older than one hour
+if (rand(1,100) < 25){
+        $d = opendir(IMG_DIR);
+        while ($file = readdir($d)){
+                if (is_file(IMG_DIR.$file) && ((time() - filemtime(IMG_DIR.$file))/60) > 60 && $file !="index.html" && $file !="no_FTP-uploads_into_this_folder!"){
+                        @unlink(IMG_DIR.$file);
+                }
+
+        }
+}
+
+//Include the proper class for image Object
+if ($CONFIG['thumb_method']=="gd2"){
+           require("include/imageObjectGD.class.php");
+}elseif ($CONFIG['thumb_method']=="im"){
+        require("include/imageObjectIM.class.php");
+}else{
+        die ("Editor class for your resize method not implemented");
+}
+
+//////////////////////////////////Main script//////////////////////////////////////
+// PREVENTING CACHING
+header("Expires: Mon, 26 Jul 1997 05:00:00 GMT");    // Date in the past
+header("Last-Modified: " . gmdate("D, d M Y H:i:s") . " GMT");
+                                                     // always modified
+header("Cache-Control: no-store, no-cache, must-revalidate");  // HTTP/1.1
+header("Cache-Control: post-check=0, pre-check=0", false);
+header("Pragma: no-cache");                          // HTTP/1.0
+
+// PAGE INIT
+if (!$img_dir) $img_dir = IMG_DIR;
+
+
+if ($_GET['id']){
+   //Copy the Image file to the editing directory
+   if (copy($CONFIG['fullpath'].$CURRENT_PIC['filepath'].$CURRENT_PIC['filename'],$img_dir.$CURRENT_PIC['filename']))
+   $newimage = $CURRENT_PIC['filename'];
+}else if(!isset($newimage)){
+   $newimage = $_POST['newimage'];
+}
+
+   if ($newimage){
+      $imgObj = new imageObject($img_dir,$newimage);
+      if ((int)$_POST['quality']){
+                      $imgObj->quality = (int)$_POST['quality'];
+        }
+
+      if ($imgObj->imgRes){
+          if ($_POST['clipval'] && $_POST['cropping']==true){
+                  $imgObj = $imgObj->cropImage($_POST['clipval']);
+          }
+
+          if ((int)$_POST['angle']<>0){
+                  $imgObj = $imgObj->rotateImage((int)$_POST['angle']);
+          }
+
+
+      }
+      $newimage = $imgObj->filename;
+   }//   newimage
+
+   if(isset($_POST["save"])) {
+
+                $width=$imgObj->width;
+        $height=$imgObj->height;
+                $normal = $CONFIG['fullpath'] . $CURRENT_PIC['filepath'] . $CONFIG['normal_pfx'] . $CURRENT_PIC['filename'];
+                $thumbnail = $CONFIG['fullpath'] . $CURRENT_PIC['filepath'] . $CONFIG['thumb_pfx'] . $CURRENT_PIC['filename'];
+                $filesize = @filesize($img_dir.$newimage);
+
+          //Full image replace
+          copy($img_dir.$newimage,$CONFIG['fullpath'].$CURRENT_PIC['filepath'].$CURRENT_PIC['filename'])   ;
+
+          // Normal image resized and replace, use the CPG resize method instead of the object resizeImage
+          // as using the object resizeImage will make the final display of image to be a thumbnail in the editor
+
+          if (max($width, $height) > $CONFIG['picture_width'] && $CONFIG['make_intermediate']) {
+                resize_image($img_dir.$newimage, $normal, $CONFIG['picture_width'], $CONFIG['thumb_method'], $CONFIG['thumb_use']);
+          } else {
+                @unlink($normal);
+          }
+
+          //thumbnail resized and replace
+               resize_image($img_dir.$newimage, $thumbnail, $CONFIG['thumb_width'], $CONFIG['thumb_method'], $CONFIG['thumb_use']);
+                       $total_filesize = $filesize + (file_exists($normal) ? filesize($normal) : 0) + filesize($thumbnail);
+
+          //Update the image size in the DB
+          cpg_db_query("UPDATE {$CONFIG['TABLE_PICTURES']}
+                          SET pheight = $height,
+                            pwidth = $width,
+                                                        filesize = $filesize,
+                                                        total_filesize = $total_filesize
+                          WHERE pid = '$pid'");
+
+          $message = "Picture successfully saved - you can close this window now";
+
+   }
+
+   if(isset($_POST["save_thumb"])) {
+
+        $width=$imgObj->width;
+        $height=$imgObj->height;
+                $normal = $CONFIG['fullpath'] . $CURRENT_PIC['filepath'] . $CONFIG['normal_pfx'] . $CURRENT_PIC['filename'];
+                $thumbnail = $CONFIG['fullpath'] . $CURRENT_PIC['filepath'] . $CONFIG['thumb_pfx'] . $CURRENT_PIC['filename'];
+                $currentPic = $CONFIG['fullpath'] . $CURRENT_PIC['filepath'] . $CURRENT_PIC['filename'];
+
+        //Calculate the thumbnail dimensions
+        if ($CONFIG['thumb_use'] == 'ht') {
+                $ratio = $height / $CONFIG['thumb_width'] ;
+        } elseif ($CONFIG['thumb_use'] == 'wd') {
+                $ratio = $width / $CONFIG['thumb_width'] ;
+        } else {
+                $ratio = max($width, $height) / $CONFIG['thumb_width'] ;
+        }
+        $ratio = max($ratio, 1.0);
+        $dstWidth = (int)($width / $ratio);
+        $dstHeight = (int)($height / $ratio);
+        $imgObj->quality = (int)($_POST['quality']);
+        $imgObj = $imgObj->resizeImage($dstWidth,$dstHeight);
+        $newimage = $imgObj->filename;
+
+        copy($img_dir.$newimage,$CONFIG['fullpath'].$CURRENT_PIC['filepath'].$CONFIG['thumb_pfx'].$CURRENT_PIC['filename'])   ;
+
+        $total_filesize = filesize($currentPic) + (file_exists($normal) ? filesize($normal) : 0) + filesize($thumbnail);
+
+          //Update the image size in the DB
+          cpg_db_query("UPDATE {$CONFIG['TABLE_PICTURES']} SET total_filesize = $total_filesize WHERE pid = '$pid'");
+
+
+        $message = "Thumbnail successfully saved - you can close this window now";
+
+   }
+
+?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html>
+  <head>
+  <meta http-equiv="imagetoolbar" content="no" />
+  <meta http-equiv="content-type" content="text/html; charset=<?php echo $CONFIG['charset'] == 'language file' ? $lang_charset : $CONFIG['charset'] ?>" />
+    <title><?php echo $lang_editpics_php['crop_title'] ?></title>
+    <?php if($imgObj){?>
+    <script type="text/javascript">
+    /****************************************************************************
+    DHTML library from DHTMLCentral.com
+    *   Copyright (C) 2001 Thomas Brattli 2001
+    *   This script was released at DHTMLCentral.com
+    *   Visit for more great scripts!
+    *   This may be used and changed freely as long as this msg is intact!
+    *   We will also appreciate any links you could give us.
+    *
+    *   Made by Thomas Brattli 2001
+    ***************************************************************************/
+    //Browsercheck (needed) ***************
+    function lib_bwcheck(){
+      this.ver=navigator.appVersion
+      this.agent=navigator.userAgent
+      this.dom=document.getElementById?1:0
+      this.opera5=this.agent.indexOf("Opera 5")>-1
+      this.ie5=(this.ver.indexOf("MSIE 5")>-1 && this.dom && !this.opera5)?1:0;
+      this.ie6=(this.ver.indexOf("MSIE 6")>-1 && this.dom && !this.opera5)?1:0;
+      this.ie4=(document.all && !this.dom && !this.opera5)?1:0;
+      this.ie=this.ie4||this.ie5||this.ie6
+      this.mac=this.agent.indexOf("Mac")>-1
+      this.ns6=(this.dom && parseInt(this.ver) >= 5) ?1:0;
+      this.ns4=(document.layers && !this.dom)?1:0;
+      this.bw=(this.ie6||this.ie5||this.ie4||this.ns4||this.ns6||this.opera5)
+      return this
+    }
+    bw=new lib_bwcheck() //Browsercheck object
+
+    //Debug function ******************
+    function lib_message(txt){alert(txt); return false}
+
+    //Lib objects  ********************
+    function lib_obj(obj,nest){
+      if(!bw.bw) return lib_message('Old browser')
+      nest=(!nest) ? "":'document.'+nest+'.'
+      this.evnt=bw.dom? document.getElementById(obj):
+        bw.ie4?document.all[obj]:bw.ns4?eval(nest+"document.layers." +obj):0;
+      if(!this.evnt) return lib_message('The layer does not exist ('+obj+')'
+        +'- \nIf your using Netscape please check the nesting of your tags!')
+      this.css=bw.dom||bw.ie4?this.evnt.style:this.evnt;
+      this.ref=bw.dom||bw.ie4?document:this.css.document;
+      this.x=parseInt(this.css.left)||this.css.pixelLeft||this.evnt.offsetLeft||0;
+      this.y=parseInt(this.css.top)||this.css.pixelTop||this.evnt.offsetTop||0
+      this.w=this.evnt.offsetWidth||this.css.clip.width||
+        this.ref.width||this.css.pixelWidth||0;
+      this.h=this.evnt.offsetHeight||this.css.clip.height||
+        this.ref.height||this.css.pixelHeight||0
+      this.c=0 //Clip values
+      if((bw.dom || bw.ie4) && this.css.clip) {
+      this.c=this.css.clip; this.c=this.c.slice(5,this.c.length-1);
+      this.c=this.c.split(' ');
+      for(var i=0;i<4;i++){this.c[i]=parseInt(this.c[i])}
+      }
+      this.ct=this.css.clip.top||this.c[0]||0;
+      this.cr=this.css.clip.right||this.c[1]||this.w||0
+      this.cb=this.css.clip.bottom||this.c[2]||this.h||0;
+      this.cl=this.css.clip.left||this.c[3]||0
+      this.obj = obj + "Object"; eval(this.obj + "=this")
+      return this
+    }
+
+    //Moving object to **************
+    lib_obj.prototype.moveIt = function(x,y){
+      this.x=x;this.y=y; this.css.left=x+"px";this.css.top=y+"px";
+    }
+
+    //Moving object by ***************
+    lib_obj.prototype.moveBy = function(x,y){
+      this.css.left=this.x+=x; this.css.top=this.y+=y
+    }
+
+    //Showing object ************
+    lib_obj.prototype.showIt = function(){this.css.visibility="visible"}
+
+    //Hiding object **********
+    lib_obj.prototype.hideIt = function(){this.css.visibility="hidden"}
+
+    //Changing backgroundcolor ***************
+    lib_obj.prototype.bg = function(color){
+        if(bw.opera) this.css.background=color
+        else if(bw.dom || bw.ie4) this.css.backgroundColor=color
+        else if(bw.ns4) this.css.bgColor=color
+    }
+
+    //Writing content to object ***
+    lib_obj.prototype.writeIt = function(text,startHTML,endHTML){
+        if(bw.ns4){
+        if(!startHTML){startHTML=""; endHTML=""}
+          this.ref.open("text/html");
+        this.ref.write(startHTML+text+endHTML);
+        this.ref.close()
+        }else this.evnt.innerHTML=text
+    }
+
+    //Clipping object to ******
+    lib_obj.prototype.clipTo = function(t,r,b,l,setwidth){
+      this.ct=t; this.cr=r; this.cb=b; this.cl=l
+      if(bw.ns4){
+        this.css.clip.top=t;this.css.clip.right=r
+        this.css.clip.bottom=b;this.css.clip.left=l
+      }else{
+        if(t<0)t=0;if(r<0)r=0;if(b<0)b=0;if(b<0)b=0
+        this.css.clip="rect("+t+"px"+","+r+"px"+","+b+"px"+","+l+"px"+")";
+        if(setwidth){this.css.pixelWidth=this.css.width=r+"px";
+        this.css.pixelHeight=this.css.height=b+"px"}
+      }
+    }
+
+    //Clipping object by ******
+    lib_obj.prototype.clipBy = function(t,r,b,l,setwidth){
+      this.clipTo(this.ct+t,this.cr+r,this.cb+b,this.cl+l,setwidth)
+    }
+
+    //Clip animation ************
+    lib_obj.prototype.clipIt = function(t,r,b,l,step,fn,wh){
+      tstep=Math.max(Math.max(Math.abs((t-this.ct)/step),Math.abs((r-this.cr)/step)),
+        Math.max(Math.abs((b-this.cb)/step),Math.abs((l-this.cl)/step)))
+      if(!this.clipactive){
+        this.clipactive=true; if(!wh) wh=0; if(!fn) fn=0
+        this.clip(t,r,b,l,(t-this.ct)/tstep,(r-this.cr)/tstep,
+          (b-this.cb)/tstep,(l-this.cl)/tstep,tstep,0, fn,wh)
+      }
+    }
+    lib_obj.prototype.clip = function(t,r,b,l,ts,rs,bs,ls,tstep,astep,fn,wh){
+      if(astep<tstep){
+        if(wh) eval(wh);
+        astep++
+        this.clipBy(ts,rs,bs,ls,1);
+        setTimeout(this.obj+".clip("+t+","+r+","+b+","+l+","+ts+","+rs+","
+          +bs+","+ls+","+tstep+","+astep+",'"+fn+"','"+wh+"')",50)
+      }else{
+        this.clipactive=false; this.clipTo(t,r,b,l,1);
+        if(fn) eval(fn)
+      }
+    }
+
+    //Slide animation ***********
+    lib_obj.prototype.slideIt = function(endx,endy,inc,speed,fn,wh){
+      if(!this.slideactive){
+        var distx = endx - this.x;
+        var disty = endy - this.y
+        var num = Math.sqrt(Math.pow(distx,2)+Math.pow(disty,2))/inc
+        var dx = distx/num; var dy = disty/num
+        this.slideactive = 1;
+        if(!wh) wh=0; if(!fn) fn=0
+        this.slide(dx,dy,endx,endy,speed,fn,wh)
+        }
+    }
+    lib_obj.prototype.slide = function(dx,dy,endx,endy,speed,fn,wh) {
+      if(this.slideactive&&
+      (Math.floor(Math.abs(dx))<Math.floor(Math.abs(endx-this.x))||
+        Math.floor(Math.abs(dy))<Math.floor(Math.abs(endy-this.y)))){
+        this.moveBy(dx,dy);
+        if(wh) eval(wh)
+        setTimeout(this.obj+".slide("+dx+","+dy+","+endx+","+endy+","+speed+",'"
+        +fn+"','"+wh+"')",speed)
+      }else{
+        this.slideactive = 0;
+        this.moveIt(endx,endy);
+        if(fn) eval(fn)
+      }
+    }
+
+    //Circle animation ****************
+    lib_obj.prototype.circleIt = function(rad,ainc,a,enda,xc,yc,speed,fn) {
+      if((Math.abs(ainc)<Math.abs(enda-a))) {
+        a += ainc
+        var x = xc + rad*Math.cos(a*Math.PI/180)
+        var y = yc - rad*Math.sin(a*Math.PI/180)
+        this.moveIt(x,y)
+        setTimeout(this.obj+".circleIt("+rad+","+ainc+","+a+","+enda+","
+          +xc+","+yc+","+speed+",'"+fn+"')",speed)
+      }else if(fn&&fn!="undefined") eval(fn)
+    }
+
+    //Document size object ********
+    function lib_doc_size(){
+      this.x=0;this.x2=bw.ie && document.body.offsetWidth-20||innerWidth||0;
+      this.y=0;this.y2=bw.ie && document.body.offsetHeight-5||innerHeight||0;
+      if(!this.x2||!this.y2) return message('Document has no width or height')
+      this.x50=this.x2/2;this.y50=this.y2/2;
+      return this;
+    }
+
+    //Drag drop functions start *******************
+    dd_is_active=0; dd_obj=0; dd_mobj=0
+    function lib_dd(){
+      dd_is_active=1
+      if(bw.ns4){
+        document.captureEvents(Event.MOUSEMOVE|Event.MOUSEDOWN|Event.MOUSEUP)
+      }
+      document.onmousemove=lib_dd_move;
+      document.onmousedown=lib_dd_down
+      document.onmouseup=lib_dd_up
+    }
+    lib_obj.prototype.dragdrop = function(obj){
+      if(!dd_is_active) lib_dd()
+      this.evnt.onmouseover=new Function("lib_dd_over("+this.obj+")")
+      this.evnt.onmouseout=new Function("dd_mobj=0")
+      if(obj) this.ddobj=obj
+    }
+    lib_obj.prototype.nodragdrop = function(){
+      this.evnt.onmouseover=""; this.evnt.onmouseout=""
+      dd_obj=0; dd_mobj=0
+    }
+    //Drag drop event functions
+    function lib_dd_over(obj){dd_mobj=obj}
+    function lib_dd_up(e){dd_obj=0}
+
+    var MouseX = 0;
+    var MouseY = 0;
+
+    function lib_dd_down(e){ //Mousedown
+
+    if(dd_mobj){
+        x=(bw.ns4 || bw.ns6)?e.pageX:event.x||event.clientX
+        y=(bw.ns4 || bw.ns6)?e.pageY:event.y||event.clientY
+        dd_obj=dd_mobj
+        dd_obj.clX=x-dd_obj.x
+        dd_obj.clY=y-dd_obj.y
+        }
+
+    }
+    function lib_dd_move(e,y,rresize){ //Mousemove
+      x=(bw.ns4 || bw.ns6)?e.pageX:event.x||event.clientX
+      y=(bw.ns4 || bw.ns6)?e.pageY:event.y||event.clientY
+      if(dd_obj){
+        nx=x-dd_obj.clX; ny=y-dd_obj.clY
+        if(dd_obj.ddobj) dd_obj.ddobj.moveIt(nx,ny)
+        else dd_obj.moveIt(nx,ny)
+      }
+      if(!bw.ns4) return false
+    }
+    //Drag drop functions end *************
+
+    // page functions
+    function resetClip(){
+      newleft = (screen.width - <?php echo $imgObj->width?>)/2;
+      if (newleft<0)newleft = 0;
+      objimg.moveIt(newleft,100);
+      objimg.clipTo(0,<?php echo $imgObj->width?>,<?php echo $imgObj->height?>,0,1);
+      objlefttop.moveIt(newleft-2,97);
+      objrightbottom.moveIt(newleft+<?php echo $imgObj->width?>-23,100+<?php echo $imgObj->height?>-23);
+      document.mainform.clipval.value = "";
+      }
+    function libinit(){
+      page=new lib_doc_size();
+
+      objlefttop=new lib_obj('lefttopdiv');
+      objlefttop.dragdrop();
+
+      objrightbottom=new lib_obj('rightbottomdiv');
+      objrightbottom.dragdrop();
+
+      objimg=new lib_obj('imgdiv');
+
+      resetClip();
+      }
+
+    function showPreview(){
+    if (objlefttop.y < objimg.y+2 ){
+            objlefttop.y = objimg.y+2 ;
+        objlefttop.moveIt(objlefttop.x, objimg.y);
+    }
+    if (objlefttop.x < objimg.x ){
+            objlefttop.x = objimg.x ;
+        objlefttop.moveIt(objimg.x, objlefttop.y );
+    }
+
+    objimg.clipTo(objlefttop.y-objimg.y+2, objrightbottom.x-objimg.x+23 , objrightbottom.y-objimg.y+23, objlefttop.x-objimg.x+2,1);
+    document.mainform.clipval.value = objimg.ct + ',' + objimg.cr + ',' + objimg.cb + ',' + objimg.cl;
+    }
+
+    function showCorners(check){
+    if (check.checked){
+        objlefttop.showIt();
+        objrightbottom.showIt();
+       }else{
+        objlefttop.hideIt();
+        objrightbottom.hideIt();
+        resetClip();
+       }
+    }
+    </script>
+<?php }?>
+    <style type="text/css">
+    #lefttopdiv{
+    position:absolute;
+    background-image:url(<?php echo $_SERVER['PHP_SELF']?>?img=left);
+    left:0px;
+    top:100px;
+    height:25px;
+    width:25px;
+    z-index:8;
+    cursor:move;
+    visibility:hidden;
+    }
+    #rightbottomdiv{
+    position:absolute;
+    background-image:url(<?php echo $_SERVER['PHP_SELF']?>?img=right);
+    left:0px;
+    top:225px;
+    height:25px;
+    width:25px;
+    z-index:9;
+    cursor:move;
+    visibility:hidden;
+    }
+    #imgdiv{
+    position:absolute;
+    top:100px;
+    width:<?php echo $imgObj->width?>px;
+    height:<?php echo $imgObj->height?>px;
+    text-align:center;
+    margin-left:auto;
+    margin-right:auto;
+    z-index:0;
+    <?php if (!$imgObj->imgRes) print "visibility:hidden;\n";?>
+    }
+    </style>
+    <link rel="stylesheet" type="text/css" href="themes/<?php echo $CONFIG['theme'];?>/style.css" />
+</head>
+
+<body <?php if ($imgObj) print "onload=\"libinit()\"";?>>
+
+<form name="mainform" id="cpgform" method="post" enctype="multipart/form-data" action="picEditor.php">
+
+<input type="hidden" name="clipval" value="" />
+<input type="hidden" name="newimage" value="<?php print $newimage ; ?>" />
+<input type="hidden" name="img_dir" value="<?php print $img_dir ; ?>" />
+<input type="hidden" name="id" value="<?php print (isset($_GET['id']))?$_GET['id']:$_POST['id']; ?>" />
+
+<?php starttable("100%", $lang_editpics_php['crop_title'], 3); ?>
+<tr>
+<td>
+<table border="0" cellspacing="2" cellpadding="2" class="maintableb" width="100%" >
+  <tr>
+<?php if ($CONFIG['thumb_method']='im' ||($CONFIG['thumb_method']='gd2' && function_exists("imagerotate"))){ ?>
+
+
+   <td>
+      <select name="angle" class="listbox">
+      <option value="0" selected="selected">Rotate</option>
+      <option value="90">-90&#176;</option>
+      <option value="180">180&#176;</option>
+      <option value="270">+90&#176;</option>
+      </select>
+   </td>
+   <!--
+   <td >
+    <input valign="bottom" type="checkbox" class="checkbox" name="mirror" value="true" />
+      Mirror
+    </td>
+
+
+<?php } ?>
+
+   <td>
+       <select name="rescale" class="listbox">
+       <option value="">Scale
+       <option value="0.1">10%<option value="0.11">11%<option value="0.12">12%<option value="0.13">13%<option value="0.14">14%<option value="0.15">15%<option value="0.16">16%<option value="0.17">17%<option value="0.18">18%<option value="0.19">19%<option value="0.2">20%<option value="0.21">21%<option value="0.22">22%<option value="0.23">23%<option value="0.24">24%<option value="0.25">25%<option value="0.26">26%<option value="0.27">27%<option value="0.28">28%<option value="0.29">29%<option value="0.3">30%<option value="0.31">31%<option value="0.32">32%<option value="0.33">33%<option value="0.34">34%<option value="0.35">35%<option value="0.36">36%<option value="0.37">37%<option value="0.38">38%<option value="0.39">39%<option value="0.4">40%<option value="0.41">41%<option value="0.42">42%<option value="0.43">43%<option value="0.44">44%<option value="0.45">45%<option value="0.46">46%<option value="0.47">47%<option value="0.48">48%<option value="0.49">49%<option value="0.5">50%<option value="0.51">51%<option value="0.52">52%<option value="0.53">53%<option value="0.54">54%<option value="0.55">55%<option value="0.56">56%<option value="0.57">57%<option value="0.58">58%<option value="0.59">59%<option value="0.6">60%<option value="0.61">61%<option value="0.62">62%<option value="0.63">63%<option value="0.64">64%<option value="0.65">65%<option value="0.66">66%<option value="0.67">67%<option value="0.68">68%<option value="0.69">69%<option value="0.7">70%<option value="0.71">71%<option value="0.72">72%<option value="0.73">73%<option value="0.74">74%<option value="0.75">75%<option value="0.76">76%<option value="0.77">77%<option value="0.78">78%<option value="0.79">79%<option value="0.8">80%<option value="0.81">81%<option value="0.82">82%<option value="0.83">83%<option value="0.84">84%<option value="0.85">85%<option value="0.86">86%<option value="0.87">87%<option value="0.88">88%<option value="0.89">89%<option value="0.9">90%<option value="0.91">91%<option value="0.92">92%<option value="0.93">93%<option value="0.94">94%<option value="0.95">95%<option value="0.96">96%<option value="0.97">97%<option value="0.98">98%<option value="0.99">99%<option value="1">100%<option value="1.01">101%<option value="1.02">102%<option value="1.03">103%<option value="1.04">104%<option value="1.05">105%<option value="1.06">106%<option value="1.07">107%<option value="1.08">108%<option value="1.09">109%<option value="1.1">110%<option value="1.11">111%<option value="1.12">112%<option value="1.13">113%<option value="1.14">114%<option value="1.15">115%<option value="1.16">116%<option value="1.17">117%<option value="1.18">118%<option value="1.19">119%<option value="1.2">120%<option value="1.21">121%<option value="1.22">122%<option value="1.23">123%<option value="1.24">124%<option value="1.25">125%<option value="1.26">126%<option value="1.27">127%<option value="1.28">128%<option value="1.29">129%<option value="1.3">130%<option value="1.31">131%<option value="1.32">132%<option value="1.33">133%<option value="1.34">134%<option value="1.35">135%<option value="1.36">136%<option value="1.37">137%<option value="1.38">138%<option value="1.39">139%<option value="1.4">140%<option value="1.41">141%<option value="1.42">142%<option value="1.43">143%<option value="1.44">144%<option value="1.45">145%<option value="1.46">146%<option value="1.47">147%<option value="1.48">148%<option value="1.49">149%<option value="1.5">150%<option value="1.51">151%<option value="1.52">152%<option value="1.53">153%<option value="1.54">154%<option value="1.55">155%<option value="1.56">156%<option value="1.57">157%<option value="1.58">158%<option value="1.59">159%<option value="1.6">160%<option value="1.61">161%<option value="1.62">162%<option value="1.63">163%<option value="1.64">164%<option value="1.65">165%<option value="1.66">166%<option value="1.67">167%<option value="1.68">168%<option value="1.69">169%<option value="1.7">170%<option value="1.71">171%<option value="1.72">172%<option value="1.73">173%<option value="1.74">174%<option value="1.75">175%<option value="1.76">176%<option value="1.77">177%<option value="1.78">178%<option value="1.79">179%<option value="1.8">180%<option value="1.81">181%<option value="1.82">182%<option value="1.83">183%<option value="1.84">184%<option value="1.85">185%<option value="1.86">186%<option value="1.87">187%<option value="1.88">188%<option value="1.89">189%<option value="1.9">190%<option value="1.91">191%<option value="1.92">192%<option value="1.93">193%<option value="1.94">194%<option value="1.95">195%<option value="1.96">196%<option value="1.97">197%<option value="1.98">198%<option value="1.99">199%<option value="2">200%</option>
+       </select>
+   </td>
+   <td>
+     OR
+   </td>
+   <td>
+       <select name="widthheight" class="listbox" >
+       <option value="width">New width
+       <option value="height">New height
+       </option>
+       </select>
+   </td>
+   <td>
+       <input type="text" size="3" name="newsize" class="textinput" /> px
+   </td>
+   -->
+
+
+
+   <td>
+     <input type="checkbox" class="checkbox" name="cropping" value="true" onclick="showCorners(this)" />
+     Enable clipping, apply to crop
+   </td>
+   <td title="Less quality creates a smaller file, default is 80%" >
+        <select id="quality" name="quality" class="listbox" >
+        <option value="80" selected="selected">JPEG Output Quality</option>
+        <?php
+        for ( $counter = 10; $counter <= 100; $counter += 5) {
+            $selected = ($imgObj->quality == $counter) ? 'selected="selected" ' : '';
+            echo "<option value=\"$counter\" $selected>$counter</option>";
+        }
+        ?>
+        </select>
+   </td>
+   <td><input type="submit" name="submit" class="button" value=" <?php echo $lang_editpics_php['preview'] ?> " /></td>
+   <td><input type="submit" name="save" class="button" value=" <?php echo $lang_editpics_php['save'] ?> " /></td>
+   <td><input type="submit" name="save_thumb" class="button" value=" <?php echo $lang_editpics_php['save_thumb'] ?> " /></td>
+ </tr>
+</table>
+</td>
+</tr>
+<?php endtable(); ?>
+
+<div id="lefttopdiv" onclick="showPreview(); return false;">
+</div>
+
+<div id="rightbottomdiv" onclick="showPreview(); return false;">
+</div>
+
+<?php if ($message){ ?>
+<h1 align=center><?php echo $message?></h1>
+<?php } ?>
+
+<div id="imgdiv">
+<?php if ($imgObj){ ?>
+<img src="<?php echo $imgObj->directory.$imgObj->filename?>?<?php echo rand(); ?>" <?php echo $imgObj->string; ?> style="vertical-align: middle;" alt="" />
+<?php } ?>
+</div>
+</form>
+</body>
 </html>
\ No newline at end of file
diff -x .svn -aruN 1.4.24.src/picmgr.php 1.4.25.src/picmgr.php
--- 1.4.24.src/picmgr.php	2009-05-21 15:03:09.000000000 -0500
+++ 1.4.25.src/picmgr.php	2009-05-26 11:25:52.000000000 -0500
@@ -1,454 +1,454 @@
-<?php
-/*************************
-  Coppermine Photo Gallery
-  ************************
-  Copyright (c) 2003-2009 Coppermine Dev Team
-  v1.1 originally written by Gregory DEMAR
-
-  This program is free software; you can redistribute it and/or modify
-  it under the terms of the GNU General Public License version 3
-  as published by the Free Software Foundation.
-  
-  ********************************************
-  Coppermine version: 1.4.24
-  $HeadURL: https://coppermine.svn.sourceforge.net/svnroot/coppermine/trunk/cpg1.4.x/picmgr.php $
-  $Revision: 5969 $
-  $Author: gaugau $
-  $Date: 2009-05-21 22:03:33 +0200 (Do, 21 Mai 2009) $
-**********************************************/
-
-define('IN_COPPERMINE', true);
-define('PICMGR_PHP', true);
-
-require('include/init.inc.php');
-
-if (!(GALLERY_ADMIN_MODE || USER_ADMIN_MODE)) cpg_die(ERROR, $lang_errors['access_denied'], __FILE__, __LINE__);
-
-function get_album_data()
-{
-    global $CONFIG, $ALBUM_LIST;
-
-   $result = cpg_db_query("SELECT aid, title FROM {$CONFIG['TABLE_ALBUMS']} ORDER BY title");
-   if (mysql_num_rows($result) > 0){
-      $rowset = cpg_db_fetch_rowset($result);
-      foreach ($rowset as $alb){
-         $ALBUM_LIST[]=array($alb['aid'], $alb['title']);
-      }
-   }
-}
-
-function albumselect($id = "album") {
-// frogfoot re-wrote this function to present the list in categorized, sorted and nicely formatted order
-
-    global $CONFIG, $lang_picmgr_php, $aid, $lang_errors, $cpg_udb;
-    static $select = "";
-
-    // Reset counter
-    $list_count = 0;
-
-    if ($select == "") {
-        // albums in root category
-        if (GALLERY_ADMIN_MODE) {
-            $result = cpg_db_query("SELECT aid, title FROM {$CONFIG['TABLE_ALBUMS']} WHERE category = 0");
-            while ($row = mysql_fetch_array($result)) {
-                // Add to multi-dim array for later sorting
-                $listArray[$list_count]['cat'] = $lang_search_new_php['albums_no_category'];
-                $listArray[$list_count]['aid'] = $row['aid'];
-                $listArray[$list_count]['title'] = $row['title'];
-                $list_count++;
-            }
-            mysql_free_result($result);
-        }
-
-        // albums in public categories
-        if (GALLERY_ADMIN_MODE) {
-            $result = cpg_db_query("SELECT DISTINCT a.aid AS aid, a.title AS title, c.name AS cname FROM {$CONFIG['TABLE_ALBUMS']} AS a, {$CONFIG['TABLE_CATEGORIES']} AS c WHERE a.category = c.cid AND a.category < '" . FIRST_USER_CAT . "'");
-            while ($row = mysql_fetch_array($result)) {
-                // Add to multi-dim array for later sorting
-                $listArray[$list_count]['cat'] = $row['cname'];
-                $listArray[$list_count]['aid'] = $row['aid'];
-                $listArray[$list_count]['title'] = $row['title'];
-                $list_count++;
-            }
-            mysql_free_result($result);
-        }
-
-        // albums in user's personal galleries
-//        if (defined('UDB_INTEGRATION')) {
-            //if (GALLERY_ADMIN_MODE) {
-//                $sql = $cpg_udb->get_admin_album_list();
-            /*} else {
-                $sql = "SELECT aid, title FROM {$CONFIG['TABLE_ALBUMS']} WHERE category = ".(FIRST_USER_CAT + USER_ID);
-            }*/
-//       } else {
-            if (GALLERY_ADMIN_MODE) {
-//                $sql = "SELECT aid, CONCAT('(', user_name, ') ', title) AS title " . "FROM {$CONFIG['TABLE_ALBUMS']} AS a " . "INNER JOIN {$CONFIG['TABLE_USERS']} AS u ON category = (" . FIRST_USER_CAT . " + user_id)";
-                $sql = $cpg_udb->get_admin_album_list();  //it's always bridged so we no longer need to check.
-            } else {
-                $sql = "SELECT aid, title AS title FROM {$CONFIG['TABLE_ALBUMS']}  WHERE category = " . (FIRST_USER_CAT + USER_ID);
-            }
-//       }
-        $result = cpg_db_query($sql);
-        while ($row = mysql_fetch_array($result)) {
-            // Add to multi-dim array for later sorting
-            $listArray[$list_count]['cat'] = $lang_search_new_php['personal_albums'];
-            $listArray[$list_count]['aid'] = $row['aid'];
-            $listArray[$list_count]['title'] = $row['title'];
-            $list_count++;
-        }
-        mysql_free_result($result);
-
-        if (!$aid) {
-            $select = '<option value="0">' . $lang_picmgr_php['no_album'] . "</option>\n";
-        }
-
-        // Sort the pulldown options by category and album name
-        $listArray = array_csort($listArray,'cat','title');
-
-        // Create the nicely sorted and formatted drop down list
-        $alb_cat = '';
-
-
-        foreach ($listArray as $val) {
-            if ($val['cat'] != $alb_cat) {
-          if ($alb_cat) $select .= "</optgroup>\n";
-                $select .= '<optgroup label="' . $val['cat'] . '">' . "\n";
-                $alb_cat = $val['cat'];
-            }
-            $select .= '<option value="' . $val['aid'] . '"' . ($val['aid'] == $aid ? ' selected="selected"' : '') . '>   ' . $val['title'] . "</option>\n";
-        }
-        if ($alb_cat) $select .= "</optgroup>\n";
-    }
-
-    return "\n<select name=\"$id\" class=\"listbox\"  onChange=\"if(this.options[this.selectedIndex].value) window.location.href='{$_SERVER['PHP_SELF']}?aid='+this.options[this.selectedIndex].value;\" >\n$select</select>\n";
-}
-
-pageheader($lang_picmgr_php['pic_mgr']);
-?>
-
-<script language="javascript" type="text/javascript">
-<!--
-    function CheckPictureForm(frm)
-    {
-        var select_len = frm.to.length;
-        var picture = new Object();
-        var changed = false;
-
-        for (i=0; i<select_len; i++) {
-            picture = new parseSelectValue(frm.to, i);
-
-            if (picture.action != '0') {
-                if (picture.picture_nm == '') {
-                    alert("<?php echo $lang_picmgr_php['pic_need_name'] ?>");
-                    frm.to.options[i].selected = true;
-                    return false;
-                }
-                changed = true;
-            }
-        }
-
-        if (frm.delete_picture.value.len !=0)
-            changed = true;
-
-        if (changed) {
-            if (confirm("<?php echo $lang_picmgr_php['confirm_modifs'] ?>")) {
-                for (i=0; i<select_len; i++) {
-                    picture = new parseSelectValue(frm.to, i);
-                    if (picture.action != '0') {
-                        frm.to.options[i].selected = true;
-                    }
-                }
-                return true;
-            }
-            else
-                return false;
-        }
-        else {
-            alert("<?php echo $lang_picmgr_php['no_change'] ?>");
-            return false;
-        }
-    }
-
-    function page_init()
-    {
-        document.picture_menu.delete_picture.value = "";
-    }
--->
-</script>
-
-<script language="javascript" type="text/javascript">
-<!--
-    var selectedOptIndex;
-
-    function Picture_Select(selectedIndex)
-    {
-        selectedOptIndex = selectedIndex;
-
-        for (i=0; i<document.picture_menu.to.length; i++) {
-            document.picture_menu.to.options[i].selected = false;
-        }
-        document.picture_menu.to.options[selectedIndex].selected = true;
-
-        var picture = new Object();
-        picture = new parseSelectValue(document.picture_menu.to, selectedIndex);
-
-        picture.deleteFrm();
-        picture.changeFrm();
-    }
-
-    function Moveup_Option()
-    {
-        var to = document.picture_menu.to;
-        var pos = selectedOptIndex;
-        if (pos == 0) {
-            return;
-        }
-
-        swap_option(to, pos, pos-1);
-        selected_option(to, pos-1);
-    }
-
-    function Movedown_Option()
-    {
-        var to = document.picture_menu.to;
-        var pos = selectedOptIndex;
-        if (pos == to.length-1) {
-            return;
-        }
-
-        swap_option(to, pos, pos+1);
-        selected_option(to, pos+1);
-    }
-
-
-    function Picture_Delete()
-    {
-        var picture = new Object();
-        var to = document.picture_menu.to;
-        picture = new parseSelectValue(to, selectedOptIndex);
-
-        var msg = "<?php echo $lang_picmgr_php['confirm_delete1'] ?>";
-
-        if (picture.action == '1') {
-            if (confirm(msg)) {
-                to.options[selectedOptIndex] = null;
-                document.picture_menu.picture_nm.value='';
-            }
-            else {
-                return;
-            }
-        }
-        else {
-            msg = msg + "<?php echo $lang_picmgr_php['confirm_delete2'] ?>";
-
-            if (confirm(msg)) {
-                var picture = new Object();
-                picture =  new parseSelectValue(to, selectedOptIndex);
-                to.options[selectedOptIndex] = null;
-                document.picture_menu.picture_nm.value='';
-
-                document.picture_menu.delete_picture.value = document.picture_menu.delete_picture.value + picture.picture_no + ',';
-            }
-            else {
-                return;
-            }
-        }
-    }
-
-    function make_option(text, value, target, index)
-    {
-        target[index] = new Option(text, value);
-    }
-
-    function move_list(target, pos)
-    {
-        var picture = new Object();
-        var listlen = target.length;
-
-        for (j=listlen-1; j>pos-1; j--) {
-            picture = new parseSelectValue(target, j)
-            if (picture.action == '1') {
-                value = make_value(picture.picture_no, picture.picture_nm, Number(picture.picture_sort)+1, '1');
-            }
-            else {
-                value = make_value(picture.picture_no, picture.picture_nm, Number(picture.picture_sort)+1, '2');
-            }
-            text  = target.options[j].text;
-
-            make_option(text, value, target, j+1);
-        }
-    }
-
-    function _private_update_frm_element(name)
-    {
-        var frm = document.picture_menu;
-        frm.picture_nm.value = name;
-    }
-
-    function _private_change()
-    {
-        _private_update_frm_element(this.picture_nm);
-    }
-
-    function _private_delete()
-    {
-        _private_update_frm_element('');
-    }
-
-    function parseSelectValue(select, selectedIndex)
-    {
-        var temp_nm
-        var option_value = select.options[selectedIndex].value;
-
-        this.picture_no = option_value.substring(option_value.indexOf('picture_no=') + 11, option_value.indexOf(','));
-        option_value = option_value.substring(option_value.indexOf(',') + 1);
-
-        temp_nm = option_value.substring(option_value.indexOf('picture_nm=') + 11, option_value.indexOf('picture_sort=')-1);
-        this.picture_nm = temp_nm.substring(1, temp_nm.length-1);
-        option_value = option_value.substring(option_value.indexOf('picture_sort='));
-
-        this.picture_sort = option_value.substring(option_value.indexOf('picture_sort=') + 13 ,option_value.indexOf(','));
-        option_value = option_value.substring(option_value.indexOf(',') + 1);
-
-        this.action = option_value.substring(option_value.indexOf('action=') + 7);
-
-        this.changeFrm = _private_change;
-        this.deleteFrm = _private_delete;
-
-        return this;
-    }
-
-    function selected_option(target, pos)
-    {
-        target.options[pos].selected = true;
-        Picture_Select(pos);
-    }
-
-    function swap_option(target, swap_a, swap_b)
-    {
-        var picture_a = new Object();
-        var picture_b = new Object();
-
-        picture_a = new parseSelectValue(target, swap_a);
-        picture_b = new parseSelectValue(target, swap_b);
-
-        if (picture_a.action == '0') picture_a.action = '2';
-        if (picture_b.action == '0') picture_b.action = '2';
-
-        var temp_option = new Option(target.options[swap_a].text, make_value(picture_a.picture_no, picture_a.picture_nm,picture_b.picture_sort,picture_a.action));
-        target[swap_a] = new Option(target.options[swap_b].text, make_value(picture_b.picture_no, picture_b.picture_nm,picture_a.picture_sort,picture_b.action));
-        target[swap_b] = temp_option;
-    }
-
-    function make_value(picture_no, picture_nm, picture_sort, action)
-    {
-        return "picture_no=" + picture_no + ",picture_nm='" + picture_nm + "',picture_sort=" + picture_sort + ",action=" + action;
-    }
--->
-</script>
-
-<form name="picture_menu" method="post" action="delete.php?what=picmgr" onSubmit="return CheckPictureForm(this);">
-<?php starttable("100%", $lang_picmgr_php['pic_mgr'], 1); ?>
-<tr>
-<?php
-   $aid = isset($_GET['aid']) ? (int) $_GET['aid'] : 0;
-
-   if (GALLERY_ADMIN_MODE || USER_ADMIN_MODE) {
-      $result = cpg_db_query("SELECT aid, pid, filename FROM {$CONFIG['TABLE_PICTURES']} WHERE aid = $aid ORDER BY position ASC, pid");
-//BM in case I have to fix an album      $result = cpg_db_query("SELECT aid, pid, filename FROM {$CONFIG['TABLE_PICTURES']} WHERE aid = $aid ORDER BY filename");
-   } else cpg_die(ERROR, $lang_errors['perm_denied'], __FILE__, __LINE__);
-
-   $rowset = cpg_db_fetch_rowset($result);
-   $i=100;
-   $sort_order = '';
-
-   if (count ($rowset) > 0) foreach ($rowset as $picture){
-      $sort_order .= $picture['pid'].'@'.($i++).',';
-   }
-?>
-   <td class="tableb" valign="top" align="center">
-	   <input type="hidden" name="delete_picture" value="" />
-	   <input type="hidden" name="sort_order" value="<?php echo $sort_order ?>" />
-      <br />
-      <table width="300" border="0" cellspacing="0" cellpadding="0">
-<?php
-//Joe Ernst - Added USER_ADMIN_MODE
-if (GALLERY_ADMIN_MODE || USER_ADMIN_MODE) {
-        $ALBUM_LIST = array();
-        $ALBUM_LIST[] = array(0, $lang_picmgr_php['no_album']);
-        get_album_data(FIRST_USER_CAT + USER_ID,'');
-
-echo <<<EOT
-      <tr>
-         <td>
-            <b>{$lang_picmgr_php['select_album']}</b>
-EOT;
-        print albumselect('aid');
-echo <<<EOT
-         </td>
-      </tr>
-
-EOT;
-}
-?>
-      <tr>
-         <td>
-            <select id="to" name="to[]" size="<?php echo min(max(count ($rowset)+3,15), 40) ?>" multiple onChange="Picture_Select(this.selectedIndex);" class="listbox" style="width: 300px">
-<?php
-   $i=100;
-   $lb = '';
-   if (count ($rowset) > 0) foreach ($rowset as $picture){
-         $lb .= '               <option value="picture_no=' . $picture['pid'] .',picture_nm=\'' . $picture['filename'] .'\',picture_sort=' .($i++). ',action=0">' . stripslashes($picture['filename']) . "</option>\n";
-   }
-   echo $lb;
-   echo <<<EOT
-   </select>
-         </td>
-      </tr>
-      <tr>
-         <td>
-            <table width="100%" border="0" cellspacing="0" cellpadding="0">
-                <tr>
-               <td><a href="javascript:Moveup_Option();"><img src="images/move_up.gif" width="26" height="21" border="0" alt="" /></a><a href="javascript:Movedown_Option();"><img src="images/move_down.gif" width="26" height="21" border="0" alt="" /></a>
-               </td>
-<!-- Joe Ernst: I commented this out because I can't get it to work. -->
-               <td align="center" style="width: 1px;"><img src="images/spacer.gif" width="1" alt=""><br />
-               </td>
-            </tr>
-            </table>
-         </td>
-      </tr>
-      <tr>
-         <td><br />
-            <br />
-         </td>
-      </tr>
-        </table>
-   </td>
-</tr>
-EOT;
-    if($CONFIG['default_sort_order'] != 'pa' && $CONFIG['default_sort_order'] != 'pd') {
-    echo <<<EOT
-<tr>
-    <td colspan="2" align="left" class="tableh2">
-        {$lang_picmgr_php['explanation_header']}:
-        <ul style="margin-top:0px;margin-bottom:0px;">
-            <li>{$lang_picmgr_php['explanation1']}</li>
-            <li>{$lang_picmgr_php['explanation2']}</li>
-        </ul>
-    </td>
-</tr>
-EOT;
-     }
-     echo <<<EOT
-<tr>
-   <td colspan="2" align="center" class="tablef">
-   <input type="submit" class="button" value="{$lang_picmgr_php['apply_modifs']}" />
-   </td>
-</tr>
-EOT;
-   endtable();
-   echo '</form>';
-   pagefooter();
-   ob_end_flush();
-?>
+<?php
+/*************************
+  Coppermine Photo Gallery
+  ************************
+  Copyright (c) 2003-2009 Coppermine Dev Team
+  v1.1 originally written by Gregory DEMAR
+
+  This program is free software; you can redistribute it and/or modify
+  it under the terms of the GNU General Public License version 3
+  as published by the Free Software Foundation.
+  
+  ********************************************
+  Coppermine version: 1.4.25
+  $HeadURL: https://coppermine.svn.sourceforge.net/svnroot/coppermine/trunk/cpg1.4.x/picmgr.php $
+  $Revision: 5997 $
+  $Author: gaugau $
+  $Date: 2009-05-26 08:43:24 +0200 (Di, 26 Mai 2009) $
+**********************************************/
+
+define('IN_COPPERMINE', true);
+define('PICMGR_PHP', true);
+
+require('include/init.inc.php');
+
+if (!(GALLERY_ADMIN_MODE || USER_ADMIN_MODE)) cpg_die(ERROR, $lang_errors['access_denied'], __FILE__, __LINE__);
+
+function get_album_data()
+{
+    global $CONFIG, $ALBUM_LIST;
+
+   $result = cpg_db_query("SELECT aid, title FROM {$CONFIG['TABLE_ALBUMS']} ORDER BY title");
+   if (mysql_num_rows($result) > 0){
+      $rowset = cpg_db_fetch_rowset($result);
+      foreach ($rowset as $alb){
+         $ALBUM_LIST[]=array($alb['aid'], $alb['title']);
+      }
+   }
+}
+
+function albumselect($id = "album") {
+// frogfoot re-wrote this function to present the list in categorized, sorted and nicely formatted order
+
+    global $CONFIG, $lang_picmgr_php, $aid, $lang_errors, $cpg_udb;
+    static $select = "";
+
+    // Reset counter
+    $list_count = 0;
+
+    if ($select == "") {
+        // albums in root category
+        if (GALLERY_ADMIN_MODE) {
+            $result = cpg_db_query("SELECT aid, title FROM {$CONFIG['TABLE_ALBUMS']} WHERE category = 0");
+            while ($row = mysql_fetch_array($result)) {
+                // Add to multi-dim array for later sorting
+                $listArray[$list_count]['cat'] = $lang_search_new_php['albums_no_category'];
+                $listArray[$list_count]['aid'] = $row['aid'];
+                $listArray[$list_count]['title'] = $row['title'];
+                $list_count++;
+            }
+            mysql_free_result($result);
+        }
+
+        // albums in public categories
+        if (GALLERY_ADMIN_MODE) {
+            $result = cpg_db_query("SELECT DISTINCT a.aid AS aid, a.title AS title, c.name AS cname FROM {$CONFIG['TABLE_ALBUMS']} AS a, {$CONFIG['TABLE_CATEGORIES']} AS c WHERE a.category = c.cid AND a.category < '" . FIRST_USER_CAT . "'");
+            while ($row = mysql_fetch_array($result)) {
+                // Add to multi-dim array for later sorting
+                $listArray[$list_count]['cat'] = $row['cname'];
+                $listArray[$list_count]['aid'] = $row['aid'];
+                $listArray[$list_count]['title'] = $row['title'];
+                $list_count++;
+            }
+            mysql_free_result($result);
+        }
+
+        // albums in user's personal galleries
+//        if (defined('UDB_INTEGRATION')) {
+            //if (GALLERY_ADMIN_MODE) {
+//                $sql = $cpg_udb->get_admin_album_list();
+            /*} else {
+                $sql = "SELECT aid, title FROM {$CONFIG['TABLE_ALBUMS']} WHERE category = ".(FIRST_USER_CAT + USER_ID);
+            }*/
+//       } else {
+            if (GALLERY_ADMIN_MODE) {
+//                $sql = "SELECT aid, CONCAT('(', user_name, ') ', title) AS title " . "FROM {$CONFIG['TABLE_ALBUMS']} AS a " . "INNER JOIN {$CONFIG['TABLE_USERS']} AS u ON category = (" . FIRST_USER_CAT . " + user_id)";
+                $sql = $cpg_udb->get_admin_album_list();  //it's always bridged so we no longer need to check.
+            } else {
+                $sql = "SELECT aid, title AS title FROM {$CONFIG['TABLE_ALBUMS']}  WHERE category = " . (FIRST_USER_CAT + USER_ID);
+            }
+//       }
+        $result = cpg_db_query($sql);
+        while ($row = mysql_fetch_array($result)) {
+            // Add to multi-dim array for later sorting
+            $listArray[$list_count]['cat'] = $lang_search_new_php['personal_albums'];
+            $listArray[$list_count]['aid'] = $row['aid'];
+            $listArray[$list_count]['title'] = $row['title'];
+            $list_count++;
+        }
+        mysql_free_result($result);
+
+        if (!$aid) {
+            $select = '<option value="0">' . $lang_picmgr_php['no_album'] . "</option>\n";
+        }
+
+        // Sort the pulldown options by category and album name
+        $listArray = array_csort($listArray,'cat','title');
+
+        // Create the nicely sorted and formatted drop down list
+        $alb_cat = '';
+
+
+        foreach ($listArray as $val) {
+            if ($val['cat'] != $alb_cat) {
+          if ($alb_cat) $select .= "</optgroup>\n";
+                $select .= '<optgroup label="' . $val['cat'] . '">' . "\n";
+                $alb_cat = $val['cat'];
+            }
+            $select .= '<option value="' . $val['aid'] . '"' . ($val['aid'] == $aid ? ' selected="selected"' : '') . '>   ' . $val['title'] . "</option>\n";
+        }
+        if ($alb_cat) $select .= "</optgroup>\n";
+    }
+
+    return "\n<select name=\"$id\" class=\"listbox\"  onChange=\"if(this.options[this.selectedIndex].value) window.location.href='{$_SERVER['PHP_SELF']}?aid='+this.options[this.selectedIndex].value;\" >\n$select</select>\n";
+}
+
+pageheader($lang_picmgr_php['pic_mgr']);
+?>
+
+<script language="javascript" type="text/javascript">
+<!--
+    function CheckPictureForm(frm)
+    {
+        var select_len = frm.to.length;
+        var picture = new Object();
+        var changed = false;
+
+        for (i=0; i<select_len; i++) {
+            picture = new parseSelectValue(frm.to, i);
+
+            if (picture.action != '0') {
+                if (picture.picture_nm == '') {
+                    alert("<?php echo $lang_picmgr_php['pic_need_name'] ?>");
+                    frm.to.options[i].selected = true;
+                    return false;
+                }
+                changed = true;
+            }
+        }
+
+        if (frm.delete_picture.value.len !=0)
+            changed = true;
+
+        if (changed) {
+            if (confirm("<?php echo $lang_picmgr_php['confirm_modifs'] ?>")) {
+                for (i=0; i<select_len; i++) {
+                    picture = new parseSelectValue(frm.to, i);
+                    if (picture.action != '0') {
+                        frm.to.options[i].selected = true;
+                    }
+                }
+                return true;
+            }
+            else
+                return false;
+        }
+        else {
+            alert("<?php echo $lang_picmgr_php['no_change'] ?>");
+            return false;
+        }
+    }
+
+    function page_init()
+    {
+        document.picture_menu.delete_picture.value = "";
+    }
+-->
+</script>
+
+<script language="javascript" type="text/javascript">
+<!--
+    var selectedOptIndex;
+
+    function Picture_Select(selectedIndex)
+    {
+        selectedOptIndex = selectedIndex;
+
+        for (i=0; i<document.picture_menu.to.length; i++) {
+            document.picture_menu.to.options[i].selected = false;
+        }
+        document.picture_menu.to.options[selectedIndex].selected = true;
+
+        var picture = new Object();
+        picture = new parseSelectValue(document.picture_menu.to, selectedIndex);
+
+        picture.deleteFrm();
+        picture.changeFrm();
+    }
+
+    function Moveup_Option()
+    {
+        var to = document.picture_menu.to;
+        var pos = selectedOptIndex;
+        if (pos == 0) {
+            return;
+        }
+
+        swap_option(to, pos, pos-1);
+        selected_option(to, pos-1);
+    }
+
+    function Movedown_Option()
+    {
+        var to = document.picture_menu.to;
+        var pos = selectedOptIndex;
+        if (pos == to.length-1) {
+            return;
+        }
+
+        swap_option(to, pos, pos+1);
+        selected_option(to, pos+1);
+    }
+
+
+    function Picture_Delete()
+    {
+        var picture = new Object();
+        var to = document.picture_menu.to;
+        picture = new parseSelectValue(to, selectedOptIndex);
+
+        var msg = "<?php echo $lang_picmgr_php['confirm_delete1'] ?>";
+
+        if (picture.action == '1') {
+            if (confirm(msg)) {
+                to.options[selectedOptIndex] = null;
+                document.picture_menu.picture_nm.value='';
+            }
+            else {
+                return;
+            }
+        }
+        else {
+            msg = msg + "<?php echo $lang_picmgr_php['confirm_delete2'] ?>";
+
+            if (confirm(msg)) {
+                var picture = new Object();
+                picture =  new parseSelectValue(to, selectedOptIndex);
+                to.options[selectedOptIndex] = null;
+                document.picture_menu.picture_nm.value='';
+
+                document.picture_menu.delete_picture.value = document.picture_menu.delete_picture.value + picture.picture_no + ',';
+            }
+            else {
+                return;
+            }
+        }
+    }
+
+    function make_option(text, value, target, index)
+    {
+        target[index] = new Option(text, value);
+    }
+
+    function move_list(target, pos)
+    {
+        var picture = new Object();
+        var listlen = target.length;
+
+        for (j=listlen-1; j>pos-1; j--) {
+            picture = new parseSelectValue(target, j)
+            if (picture.action == '1') {
+                value = make_value(picture.picture_no, picture.picture_nm, Number(picture.picture_sort)+1, '1');
+            }
+            else {
+                value = make_value(picture.picture_no, picture.picture_nm, Number(picture.picture_sort)+1, '2');
+            }
+            text  = target.options[j].text;
+
+            make_option(text, value, target, j+1);
+        }
+    }
+
+    function _private_update_frm_element(name)
+    {
+        var frm = document.picture_menu;
+        frm.picture_nm.value = name;
+    }
+
+    function _private_change()
+    {
+        _private_update_frm_element(this.picture_nm);
+    }
+
+    function _private_delete()
+    {
+        _private_update_frm_element('');
+    }
+
+    function parseSelectValue(select, selectedIndex)
+    {
+        var temp_nm
+        var option_value = select.options[selectedIndex].value;
+
+        this.picture_no = option_value.substring(option_value.indexOf('picture_no=') + 11, option_value.indexOf(','));
+        option_value = option_value.substring(option_value.indexOf(',') + 1);
+
+        temp_nm = option_value.substring(option_value.indexOf('picture_nm=') + 11, option_value.indexOf('picture_sort=')-1);
+        this.picture_nm = temp_nm.substring(1, temp_nm.length-1);
+        option_value = option_value.substring(option_value.indexOf('picture_sort='));
+
+        this.picture_sort = option_value.substring(option_value.indexOf('picture_sort=') + 13 ,option_value.indexOf(','));
+        option_value = option_value.substring(option_value.indexOf(',') + 1);
+
+        this.action = option_value.substring(option_value.indexOf('action=') + 7);
+
+        this.changeFrm = _private_change;
+        this.deleteFrm = _private_delete;
+
+        return this;
+    }
+
+    function selected_option(target, pos)
+    {
+        target.options[pos].selected = true;
+        Picture_Select(pos);
+    }
+
+    function swap_option(target, swap_a, swap_b)
+    {
+        var picture_a = new Object();
+        var picture_b = new Object();
+
+        picture_a = new parseSelectValue(target, swap_a);
+        picture_b = new parseSelectValue(target, swap_b);
+
+        if (picture_a.action == '0') picture_a.action = '2';
+        if (picture_b.action == '0') picture_b.action = '2';
+
+        var temp_option = new Option(target.options[swap_a].text, make_value(picture_a.picture_no, picture_a.picture_nm,picture_b.picture_sort,picture_a.action));
+        target[swap_a] = new Option(target.options[swap_b].text, make_value(picture_b.picture_no, picture_b.picture_nm,picture_a.picture_sort,picture_b.action));
+        target[swap_b] = temp_option;
+    }
+
+    function make_value(picture_no, picture_nm, picture_sort, action)
+    {
+        return "picture_no=" + picture_no + ",picture_nm='" + picture_nm + "',picture_sort=" + picture_sort + ",action=" + action;
+    }
+-->
+</script>
+
+<form name="picture_menu" method="post" action="delete.php?what=picmgr" onSubmit="return CheckPictureForm(this);">
+<?php starttable("100%", $lang_picmgr_php['pic_mgr'], 1); ?>
+<tr>
+<?php
+   $aid = isset($_GET['aid']) ? (int) $_GET['aid'] : 0;
+
+   if (GALLERY_ADMIN_MODE || USER_ADMIN_MODE) {
+      $result = cpg_db_query("SELECT aid, pid, filename FROM {$CONFIG['TABLE_PICTURES']} WHERE aid = $aid ORDER BY position ASC, pid");
+//BM in case I have to fix an album      $result = cpg_db_query("SELECT aid, pid, filename FROM {$CONFIG['TABLE_PICTURES']} WHERE aid = $aid ORDER BY filename");
+   } else cpg_die(ERROR, $lang_errors['perm_denied'], __FILE__, __LINE__);
+
+   $rowset = cpg_db_fetch_rowset($result);
+   $i=100;
+   $sort_order = '';
+
+   if (count ($rowset) > 0) foreach ($rowset as $picture){
+      $sort_order .= $picture['pid'].'@'.($i++).',';
+   }
+?>
+   <td class="tableb" valign="top" align="center">
+	   <input type="hidden" name="delete_picture" value="" />
+	   <input type="hidden" name="sort_order" value="<?php echo $sort_order ?>" />
+      <br />
+      <table width="300" border="0" cellspacing="0" cellpadding="0">
+<?php
+//Joe Ernst - Added USER_ADMIN_MODE
+if (GALLERY_ADMIN_MODE || USER_ADMIN_MODE) {
+        $ALBUM_LIST = array();
+        $ALBUM_LIST[] = array(0, $lang_picmgr_php['no_album']);
+        get_album_data(FIRST_USER_CAT + USER_ID,'');
+
+echo <<<EOT
+      <tr>
+         <td>
+            <b>{$lang_picmgr_php['select_album']}</b>
+EOT;
+        print albumselect('aid');
+echo <<<EOT
+         </td>
+      </tr>
+
+EOT;
+}
+?>
+      <tr>
+         <td>
+            <select id="to" name="to[]" size="<?php echo min(max(count ($rowset)+3,15), 40) ?>" multiple onChange="Picture_Select(this.selectedIndex);" class="listbox" style="width: 300px">
+<?php
+   $i=100;
+   $lb = '';
+   if (count ($rowset) > 0) foreach ($rowset as $picture){
+         $lb .= '               <option value="picture_no=' . $picture['pid'] .',picture_nm=\'' . $picture['filename'] .'\',picture_sort=' .($i++). ',action=0">' . stripslashes($picture['filename']) . "</option>\n";
+   }
+   echo $lb;
+   echo <<<EOT
+   </select>
+         </td>
+      </tr>
+      <tr>
+         <td>
+            <table width="100%" border="0" cellspacing="0" cellpadding="0">
+                <tr>
+               <td><a href="javascript:Moveup_Option();"><img src="images/move_up.gif" width="26" height="21" border="0" alt="" /></a><a href="javascript:Movedown_Option();"><img src="images/move_down.gif" width="26" height="21" border="0" alt="" /></a>
+               </td>
+<!-- Joe Ernst: I commented this out because I can't get it to work. -->
+               <td align="center" style="width: 1px;"><img src="images/spacer.gif" width="1" alt=""><br />
+               </td>
+            </tr>
+            </table>
+         </td>
+      </tr>
+      <tr>
+         <td><br />
+            <br />
+         </td>
+      </tr>
+        </table>
+   </td>
+</tr>
+EOT;
+    if($CONFIG['default_sort_order'] != 'pa' && $CONFIG['default_sort_order'] != 'pd') {
+    echo <<<EOT
+<tr>
+    <td colspan="2" align="left" class="tableh2">
+        {$lang_picmgr_php['explanation_header']}:
+        <ul style="margin-top:0px;margin-bottom:0px;">
+            <li>{$lang_picmgr_php['explanation1']}</li>
+            <li>{$lang_picmgr_php['explanation2']}</li>
+        </ul>
+    </td>
+</tr>
+EOT;
+     }
+     echo <<<EOT
+<tr>
+   <td colspan="2" align="center" class="tablef">
+   <input type="submit" class="button" value="{$lang_picmgr_php['apply_modifs']}" />
+   </td>
+</tr>
+EOT;
+   endtable();
+   echo '</form>';
+   pagefooter();
+   ob_end_flush();
+?>
diff -x .svn -aruN 1.4.24.src/pluginmgr.php 1.4.25.src/pluginmgr.php
--- 1.4.24.src/pluginmgr.php	2009-05-25 15:01:17.000000000 -0500
+++ 1.4.25.src/pluginmgr.php	2009-05-26 11:25:52.000000000 -0500
@@ -1,388 +1,388 @@
-<?php
-/*************************
-  Coppermine Photo Gallery
-  ************************
-  Copyright (c) 2003-2009 Coppermine Dev Team
-  v1.1 originally written by Gregory DEMAR
-
-  This program is free software; you can redistribute it and/or modify
-  it under the terms of the GNU General Public License version 3
-  as published by the Free Software Foundation.
-  
-  ********************************************
-  Coppermine version: 1.4.24
-  $HeadURL: https://coppermine.svn.sourceforge.net/svnroot/coppermine/trunk/cpg1.4.x/pluginmgr.php $
-  $Revision: 5988 $
-  $Author: gaugau $
-  $Date: 2009-05-25 22:01:41 +0200 (Mo, 25 Mai 2009) $
-**********************************************/
-
-// ------------------------------------------------------------------------- //
-//  Open Plugin API (OpenPAPI) for Coppermine Photo Gallery                  //
-// ------------------------------------------------------------------------- //
-//  Copyright (C) 2004  Christopher Brown-Floyd                              //
-// ------------------------------------------------------------------------- //
-
-define('IN_COPPERMINE', true);
-define('PLUGINMGR_PHP', true);
-
-require('include/init.inc.php');
-
-if (!GALLERY_ADMIN_MODE) cpg_die(ERROR, $lang_errors['access_denied'], __FILE__, __LINE__);
-
-function display_plugin_list() {
-    global $CPG_PLUGINS,$lang_pluginmgr_php;
-    $available_plugins = cpg_get_dir_list('./plugins/');
-    starttable('100%');
-
-echo <<<EOT
-        <tr>
-                <td class="tableh1" width="90%"><b><span class="statlink">{$lang_pluginmgr_php['i_plugins']}</span></b></td>
-                <td colspan="3" class="tableh1" align="center" width="10%"><b><span class="statlink">{$lang_pluginmgr_php['operation']}</span></b></td>
-        </tr>
-EOT;
-
-    $installed_count = 0;
-    foreach ($CPG_PLUGINS as $thisplugin) {
-        $installed_count++;
-        unset($extra_info);
-        unset($install_info);
-        include('./plugins/'.$thisplugin->path.'/configuration.php');
-
-        $safename = addslashes(str_replace('&nbsp;', '', $name));
-        $extra = (isset($install_info)) ? ($install_info):(null);
-
-        if (sizeof($thisplugin->error) > 0) {
-            $error = $thisplugin->error['desc'];
-            $extra = '<tr><td class="tableb" width="100%" colspan="2">'.
-                     '<b>Error:</b> <span style="color:red;">'.$error.'</span>'.
-                     '</td></tr>'.$extra;
-        }
-
-
-        echo <<<EOT
-        <tr>
-            <td width="90%">
-                <table border="0" width="100%" cellspacing="0" cellpadding="0">
-                    <tr>
-                        <td class="tableh2" width="50%"><b>{$lang_pluginmgr_php['name']}</b> $name {$lang_pluginmgr_php['vers']}$version</td>
-                        <td class="tableh2" width="50%">$extra</td>
-                    </tr>
-                    <tr>
-                        <td class="tableb" colspan="2" width="100%"><b>{$lang_pluginmgr_php['author']}</b> $author</td>
-                    </tr>
-                    <tr>
-                        <td class="tableb" colspan="2" width="100%"><b>{$lang_pluginmgr_php['desc']}</b> $description</td>
-                    </tr>
-                </table>
-            </td>
-            <td class="tableh1" valign="top">
-            <table border="0" width="100%" cellspacing="0" cellpadding="0">
-            <tr>
-EOT;
-        if ($thisplugin->index > 0 && count($CPG_PLUGINS) > 1) {
-            echo <<<EOT
-            <td width="3%" align="center" valign="middle">
-                <a href="pluginmgr.php?op=moveu&amp;p={$thisplugin->plugin_id}"><img src="images/up.gif"  border="0" alt="" /></a>
-            </td>
-EOT;
-        } else {
-            echo '<td width="3%"><img src="images/spacer.gif" width="16" height="16" /></td>';
-        }
-
-        if ($thisplugin->index < (count($CPG_PLUGINS)-1)) {
-            echo <<<EOT
-            <td width="3%" align="center" valign="middle">
-                <a href="pluginmgr.php?op=moved&amp;p={$thisplugin->plugin_id}"><img src="images/down.gif"  border="0" alt="" /></a>
-            </td>
-EOT;
-        } else {
-            echo '<td width="3%"><img src="images/spacer.gif" width="16" height="16" /></td>';
-        }
-
-        echo <<<EOT
-            <td width="3%" align="center" valign="middle">
-                <a href="pluginmgr.php?op=uninstall&amp;p={$thisplugin->plugin_id}" onClick="return confirmUninstall('$safename')">
-                    <img src="images/delete.gif"  border="0" alt="" />
-                </a>
-            </td>
-                    
-        </tr>
-        </table>
-        </td>    
-        </tr>
-EOT;
-    }
-
-    if ($installed_count == 0) {
-            echo ('<tr><td colspan="4" class="tableb" align="center">'.$lang_pluginmgr_php['none_installed'].'</td></tr>');
-    }
-    endtable();
-
-    echo('<p>&nbsp;</p>');
-    echo('<form action="pluginmgr.php?op=upload" method="post" enctype="multipart/form-data">');
-
-    starttable('100%');
-echo <<<EOT
-        <tr>
-                <td class="tableh1" width="90%">
-                    <table border="0" cellpadding="0" cellspacing="0" width="100%">
-                        <tr>
-                            <td align="left">
-                                <b><span class="statlink">{$lang_pluginmgr_php['n_plugins']}</span></b>
-                            </td>
-                            <td align="right">
-                                    <input type="file" size="40" name="plugin" />
-                                    <input type="submit" style="font-size: 12;" value="{$lang_pluginmgr_php['upload']}" />
-                            </td>
-                        </tr>
-                    </table>
-                </td>
-                <td colspan="3" class="tableh1" align="center" width="10%"><b><span class="statlink">{$lang_pluginmgr_php['operation']}</span></b></td>
-        </tr>
-EOT;
-
-    foreach ($available_plugins as $path) {
-        if (($plugin_id = CPGPluginAPI::installed($path))===false) {
-
-            // If codebase.php and configuration.php don't exist, skip this folder
-            if (!(file_exists('./plugins/'.$path.'/codebase.php') && file_exists('./plugins/'.$path.'/configuration.php'))) {
-                continue;
-            }
-            
-            unset($extra_info);
-            unset($install_info);
-            include('./plugins/'.$path.'/configuration.php');
-
-            $safename = addslashes(str_replace('&nbsp;', '', $name));
-            $extra = (isset($extra_info)) ? ($extra_info):(null);
-
-            echo <<<EOT
-            <tr>
-            <td width="90%">
-                <table border="0" width="100%" cellspacing="0" cellpadding="0">
-                    <tr>
-                        <td class="tableh2" width="50%"><b>{$lang_pluginmgr_php['name']}</b> $name {$lang_pluginmgr_php['vers']}$version</td>
-                        <td class="tableh2">$extra</td>                       
-                    </tr>
-                    <tr>
-                        <td class="tableb" width="50%" colspan="2"><b>{$lang_pluginmgr_php['author']}</b> $author</td>
-                    </tr>
-                    <tr>
-                        <td class="tableb" width="50%" colspan="2"><b>{$lang_pluginmgr_php['desc']}</b> $description</td>
-                    </tr>
-                    
-                </table>
-            </td>
-            <td class="tableh1" valign="top">
-                <table border="0" width="100%" cellspacing="0" cellpadding="0">
-                <tr>
-                    <td width="5%" align="center" valign="top">
-                        <img src="images/spacer.gif" width="16" height="16" />
-                    </td>
-                    <td width="5%" align="center" valign="top">
-                        <a href="pluginmgr.php?op=install&amp;p=$path"><img src="images/info.gif"  border="0" alt="" /></a>
-                    </td>
-                    <td width="5%" align="center" valign="top">
-                        <a href="pluginmgr.php?op=delete&amp;p=$path" onClick="return confirmDel('$safename')">
-                            <img src="images/delete.gif"  border="0" alt="" />
-                        </a>
-                    </td>
-                </tr>
-                </table>
-            </td>
-            </tr>
-EOT;
-        }
-    }
-    echo('</form>');
-    endtable();
-}
-
-// Delete a directory and its contents
-function deldir($dir) {
-    $handle = opendir($dir);
-
-    // Remove all files
-    while (false!==($FolderOrFile = readdir($handle))) {
-        if($FolderOrFile != "." && $FolderOrFile != "..") {
-            if(is_dir("$dir/$FolderOrFile")) {
-                deldir("$dir/$FolderOrFile");
-            } else {
-                unlink("$dir/$FolderOrFile");
-            }
-        }
-    }
-    closedir($handle);
-
-    // If directory was removed return true
-    if(rmdir($dir)) {
-        return true;
-    }
-  return false;
-}
-
-
-/**
- * Main code
- */
-
-
-/**
- * Plugin manager events
- *
- * Executes manager events
- */
-
-$op = @$_GET['op'];
-switch ($op) {
-    case 'uninstall':
-        $plugin_id = $_GET['p'];
-        if (!is_numeric($_GET['p'])) {
-            $plugin_id = CPGPluginAPI::installed($plugin_id);
-        }
-        $uninstalled = CPGPluginAPI::uninstall($plugin_id);
-        break;
-    case 'install':
-        $installed = CPGPluginAPI::install($_GET['p']);
-        break;
-    case 'delete':
-        $path = $_GET['p'];
-        if (is_bool(strpos('/',$path))) {
-            deldir('./plugins/'.$path);
-        }
-        break;
-    case 'moveu':
-        $thisplugin = @$CPG_PLUGINS[$_GET['p']];
-        if (isset($thisplugin) && ($priority = $thisplugin->priority) > 0) {
-
-            // Move the plugin above down
-            $sql = 'update '.$CONFIG['TABLE_PLUGINS'].' set priority='.$priority.' where priority='.($priority-1).';';
-            cpg_db_query($sql);
-
-            // Move this plugin up
-            $sql = 'update '.$CONFIG['TABLE_PLUGINS'].' '.
-                   'set priority='.($priority-1).' where plugin_id='.$thisplugin->plugin_id.';';
-            cpg_db_query($sql);
-        }
-        break;
-    case 'moved':
-        $thisplugin = @$CPG_PLUGINS[$_GET['p']];
-        if (isset($thisplugin) && ($priority = $thisplugin->priority) < (count($CPG_PLUGINS)-1)) {
-
-            // Move the plugin below up
-            $sql = 'update '.$CONFIG['TABLE_PLUGINS'].' set priority='.($priority).' where priority='.($priority+1).';';
-            cpg_db_query($sql);
-
-            // Move this plugin down
-            $sql = 'update '.$CONFIG['TABLE_PLUGINS'].' '.
-                   'set priority='.($priority+1).' where plugin_id='.$thisplugin->plugin_id.';';
-            cpg_db_query($sql);
-        }
-        break;
-    case 'upload':
-        if (is_uploaded_file($_FILES['plugin']['tmp_name'])) {
-            $file =& $_FILES['plugin'];
-            $info = pathinfo($file['name']);
-
-            if (strtolower($info['extension'] != 'zip')) {
-                cpg_die(CRITICAL_ERROR,$lang_pluginmgr_php['not_plugin_package'],__FILE__,__LINE__);
-            }
-
-            if (!is_dir('./plugins/receive')) {
-                $mask = umask(0);
-                mkdir('./plugins/receive',0777);
-                umask($mask);
-            }
-
-            if (!move_uploaded_file($file['tmp_name'],'./plugins/receive/'.$file['name'])) {
-                cpg_die(CRITICAL_ERROR,$lang_pluginmgr_php['copy_error'],__FILE__,__LINE__);
-            }
-
-            require_once('./include/zip.lib.php');
-
-            $zip =& new Zip();
-            $zip->Extract('./plugins/receive/'.$file['name'],'./plugins',array(-1));
-
-            unlink('./plugins/receive/'.$file['name']);
-        }
-        break;
-}
-
-pageheader($lang_pluginmgr_php['pmgr']);
-echo <<<EOT
-
-<script language="javascript" type="text/javascript">
-function confirmUninstall(text)
-{
-    return confirm("{$lang_pluginmgr_php['confirm_uninstall']} (" + text + ") ?");
-}
-
-function confirmDel(text)
-{
-    return confirm("{$lang_pluginmgr_php['confirm_delete']} (" + text + ") ?");
-}
-</script>
-EOT;
-
-
-/**
- * Display the manager page or execute plugin_configure action
- */
-
-// Plugin isn't being configured; Display the plugin list
-if ((($op != 'install') && ($op != 'uninstall')) || (is_bool($installed) && $installed) || (is_bool($uninstalled) && $uninstalled)) {
-
-    // Refresh the page; An operation was just performed
-    if  (isset($op)) {
-        header('Location: pluginmgr.php');
-    }
-    display_plugin_list();
-
-// Plugin is being configured; Execute 'plugin_configure' action
-} elseif ($op == 'install') {
-
-    // Display configure page table header
-    starttable('100%',$lang_pluginmgr_php['configure_plugin'] . ': ' . $CPG_PLUGINS['new']->name);
-
-    echo <<< EOT
-    <tr>
-        <td class="tableb" valign="top" width="100%">
-EOT;
-
-        // Execute 'plugin_configure' action on the new plugin
-        CPGPluginAPI::action('plugin_configure',$installed,CPG_EXEC_NEW);
-    echo <<< EOT
-        </td>
-    </tr>
-EOT;
-
-    // End the table
-    endtable();
-} else {
-
-    // Display cleanup page table header
-    starttable('100%',$lang_pluginmgr_php['cleanup_plugin'] . ': ' . $CPG_PLUGINS[$plugin_id]->name);
-
-    echo <<< EOT
-    <tr>
-        <td class="tableb" valign="top" width="100%">
-EOT;
-
-        // Execute 'plugin_cleanup' action on the plugin
-        CPGPluginAPI::action('plugin_cleanup',$uninstalled,$plugin_id);
-    echo <<< EOT
-        </td>
-    </tr>
-EOT;
-
-    // End the table
-    endtable();
-}
-
-
-echo "<br />\n";
-
-pagefooter();
-ob_end_flush();
+<?php
+/*************************
+  Coppermine Photo Gallery
+  ************************
+  Copyright (c) 2003-2009 Coppermine Dev Team
+  v1.1 originally written by Gregory DEMAR
+
+  This program is free software; you can redistribute it and/or modify
+  it under the terms of the GNU General Public License version 3
+  as published by the Free Software Foundation.
+  
+  ********************************************
+  Coppermine version: 1.4.25
+  $HeadURL: https://coppermine.svn.sourceforge.net/svnroot/coppermine/trunk/cpg1.4.x/pluginmgr.php $
+  $Revision: 5997 $
+  $Author: gaugau $
+  $Date: 2009-05-26 08:43:24 +0200 (Di, 26 Mai 2009) $
+**********************************************/
+
+// ------------------------------------------------------------------------- //
+//  Open Plugin API (OpenPAPI) for Coppermine Photo Gallery                  //
+// ------------------------------------------------------------------------- //
+//  Copyright (C) 2004  Christopher Brown-Floyd                              //
+// ------------------------------------------------------------------------- //
+
+define('IN_COPPERMINE', true);
+define('PLUGINMGR_PHP', true);
+
+require('include/init.inc.php');
+
+if (!GALLERY_ADMIN_MODE) cpg_die(ERROR, $lang_errors['access_denied'], __FILE__, __LINE__);
+
+function display_plugin_list() {
+    global $CPG_PLUGINS,$lang_pluginmgr_php;
+    $available_plugins = cpg_get_dir_list('./plugins/');
+    starttable('100%');
+
+echo <<<EOT
+        <tr>
+                <td class="tableh1" width="90%"><b><span class="statlink">{$lang_pluginmgr_php['i_plugins']}</span></b></td>
+                <td colspan="3" class="tableh1" align="center" width="10%"><b><span class="statlink">{$lang_pluginmgr_php['operation']}</span></b></td>
+        </tr>
+EOT;
+
+    $installed_count = 0;
+    foreach ($CPG_PLUGINS as $thisplugin) {
+        $installed_count++;
+        unset($extra_info);
+        unset($install_info);
+        include('./plugins/'.$thisplugin->path.'/configuration.php');
+
+        $safename = addslashes(str_replace('&nbsp;', '', $name));
+        $extra = (isset($install_info)) ? ($install_info):(null);
+
+        if (sizeof($thisplugin->error) > 0) {
+            $error = $thisplugin->error['desc'];
+            $extra = '<tr><td class="tableb" width="100%" colspan="2">'.
+                     '<b>Error:</b> <span style="color:red;">'.$error.'</span>'.
+                     '</td></tr>'.$extra;
+        }
+
+
+        echo <<<EOT
+        <tr>
+            <td width="90%">
+                <table border="0" width="100%" cellspacing="0" cellpadding="0">
+                    <tr>
+                        <td class="tableh2" width="50%"><b>{$lang_pluginmgr_php['name']}</b> $name {$lang_pluginmgr_php['vers']}$version</td>
+                        <td class="tableh2" width="50%">$extra</td>
+                    </tr>
+                    <tr>
+                        <td class="tableb" colspan="2" width="100%"><b>{$lang_pluginmgr_php['author']}</b> $author</td>
+                    </tr>
+                    <tr>
+                        <td class="tableb" colspan="2" width="100%"><b>{$lang_pluginmgr_php['desc']}</b> $description</td>
+                    </tr>
+                </table>
+            </td>
+            <td class="tableh1" valign="top">
+            <table border="0" width="100%" cellspacing="0" cellpadding="0">
+            <tr>
+EOT;
+        if ($thisplugin->index > 0 && count($CPG_PLUGINS) > 1) {
+            echo <<<EOT
+            <td width="3%" align="center" valign="middle">
+                <a href="pluginmgr.php?op=moveu&amp;p={$thisplugin->plugin_id}"><img src="images/up.gif"  border="0" alt="" /></a>
+            </td>
+EOT;
+        } else {
+            echo '<td width="3%"><img src="images/spacer.gif" width="16" height="16" /></td>';
+        }
+
+        if ($thisplugin->index < (count($CPG_PLUGINS)-1)) {
+            echo <<<EOT
+            <td width="3%" align="center" valign="middle">
+                <a href="pluginmgr.php?op=moved&amp;p={$thisplugin->plugin_id}"><img src="images/down.gif"  border="0" alt="" /></a>
+            </td>
+EOT;
+        } else {
+            echo '<td width="3%"><img src="images/spacer.gif" width="16" height="16" /></td>';
+        }
+
+        echo <<<EOT
+            <td width="3%" align="center" valign="middle">
+                <a href="pluginmgr.php?op=uninstall&amp;p={$thisplugin->plugin_id}" onClick="return confirmUninstall('$safename')">
+                    <img src="images/delete.gif"  border="0" alt="" />
+                </a>
+            </td>
+                    
+        </tr>
+        </table>
+        </td>    
+        </tr>
+EOT;
+    }
+
+    if ($installed_count == 0) {
+            echo ('<tr><td colspan="4" class="tableb" align="center">'.$lang_pluginmgr_php['none_installed'].'</td></tr>');
+    }
+    endtable();
+
+    echo('<p>&nbsp;</p>');
+    echo('<form action="pluginmgr.php?op=upload" method="post" enctype="multipart/form-data">');
+
+    starttable('100%');
+echo <<<EOT
+        <tr>
+                <td class="tableh1" width="90%">
+                    <table border="0" cellpadding="0" cellspacing="0" width="100%">
+                        <tr>
+                            <td align="left">
+                                <b><span class="statlink">{$lang_pluginmgr_php['n_plugins']}</span></b>
+                            </td>
+                            <td align="right">
+                                    <input type="file" size="40" name="plugin" />
+                                    <input type="submit" style="font-size: 12;" value="{$lang_pluginmgr_php['upload']}" />
+                            </td>
+                        </tr>
+                    </table>
+                </td>
+                <td colspan="3" class="tableh1" align="center" width="10%"><b><span class="statlink">{$lang_pluginmgr_php['operation']}</span></b></td>
+        </tr>
+EOT;
+
+    foreach ($available_plugins as $path) {
+        if (($plugin_id = CPGPluginAPI::installed($path))===false) {
+
+            // If codebase.php and configuration.php don't exist, skip this folder
+            if (!(file_exists('./plugins/'.$path.'/codebase.php') && file_exists('./plugins/'.$path.'/configuration.php'))) {
+                continue;
+            }
+            
+            unset($extra_info);
+            unset($install_info);
+            include('./plugins/'.$path.'/configuration.php');
+
+            $safename = addslashes(str_replace('&nbsp;', '', $name));
+            $extra = (isset($extra_info)) ? ($extra_info):(null);
+
+            echo <<<EOT
+            <tr>
+            <td width="90%">
+                <table border="0" width="100%" cellspacing="0" cellpadding="0">
+                    <tr>
+                        <td class="tableh2" width="50%"><b>{$lang_pluginmgr_php['name']}</b> $name {$lang_pluginmgr_php['vers']}$version</td>
+                        <td class="tableh2">$extra</td>                       
+                    </tr>
+                    <tr>
+                        <td class="tableb" width="50%" colspan="2"><b>{$lang_pluginmgr_php['author']}</b> $author</td>
+                    </tr>
+                    <tr>
+                        <td class="tableb" width="50%" colspan="2"><b>{$lang_pluginmgr_php['desc']}</b> $description</td>
+                    </tr>
+                    
+                </table>
+            </td>
+            <td class="tableh1" valign="top">
+                <table border="0" width="100%" cellspacing="0" cellpadding="0">
+                <tr>
+                    <td width="5%" align="center" valign="top">
+                        <img src="images/spacer.gif" width="16" height="16" />
+                    </td>
+                    <td width="5%" align="center" valign="top">
+                        <a href="pluginmgr.php?op=install&amp;p=$path"><img src="images/info.gif"  border="0" alt="" /></a>
+                    </td>
+                    <td width="5%" align="center" valign="top">
+                        <a href="pluginmgr.php?op=delete&amp;p=$path" onClick="return confirmDel('$safename')">
+                            <img src="images/delete.gif"  border="0" alt="" />
+                        </a>
+                    </td>
+                </tr>
+                </table>
+            </td>
+            </tr>
+EOT;
+        }
+    }
+    echo('</form>');
+    endtable();
+}
+
+// Delete a directory and its contents
+function deldir($dir) {
+    $handle = opendir($dir);
+
+    // Remove all files
+    while (false!==($FolderOrFile = readdir($handle))) {
+        if($FolderOrFile != "." && $FolderOrFile != "..") {
+            if(is_dir("$dir/$FolderOrFile")) {
+                deldir("$dir/$FolderOrFile");
+            } else {
+                unlink("$dir/$FolderOrFile");
+            }
+        }
+    }
+    closedir($handle);
+
+    // If directory was removed return true
+    if(rmdir($dir)) {
+        return true;
+    }
+  return false;
+}
+
+
+/**
+ * Main code
+ */
+
+
+/**
+ * Plugin manager events
+ *
+ * Executes manager events
+ */
+
+$op = @$_GET['op'];
+switch ($op) {
+    case 'uninstall':
+        $plugin_id = $_GET['p'];
+        if (!is_numeric($_GET['p'])) {
+            $plugin_id = CPGPluginAPI::installed($plugin_id);
+        }
+        $uninstalled = CPGPluginAPI::uninstall($plugin_id);
+        break;
+    case 'install':
+        $installed = CPGPluginAPI::install($_GET['p']);
+        break;
+    case 'delete':
+        $path = $_GET['p'];
+        if (is_bool(strpos('/',$path))) {
+            deldir('./plugins/'.$path);
+        }
+        break;
+    case 'moveu':
+        $thisplugin = @$CPG_PLUGINS[$_GET['p']];
+        if (isset($thisplugin) && ($priority = $thisplugin->priority) > 0) {
+
+            // Move the plugin above down
+            $sql = 'update '.$CONFIG['TABLE_PLUGINS'].' set priority='.$priority.' where priority='.($priority-1).';';
+            cpg_db_query($sql);
+
+            // Move this plugin up
+            $sql = 'update '.$CONFIG['TABLE_PLUGINS'].' '.
+                   'set priority='.($priority-1).' where plugin_id='.$thisplugin->plugin_id.';';
+            cpg_db_query($sql);
+        }
+        break;
+    case 'moved':
+        $thisplugin = @$CPG_PLUGINS[$_GET['p']];
+        if (isset($thisplugin) && ($priority = $thisplugin->priority) < (count($CPG_PLUGINS)-1)) {
+
+            // Move the plugin below up
+            $sql = 'update '.$CONFIG['TABLE_PLUGINS'].' set priority='.($priority).' where priority='.($priority+1).';';
+            cpg_db_query($sql);
+
+            // Move this plugin down
+            $sql = 'update '.$CONFIG['TABLE_PLUGINS'].' '.
+                   'set priority='.($priority+1).' where plugin_id='.$thisplugin->plugin_id.';';
+            cpg_db_query($sql);
+        }
+        break;
+    case 'upload':
+        if (is_uploaded_file($_FILES['plugin']['tmp_name'])) {
+            $file =& $_FILES['plugin'];
+            $info = pathinfo($file['name']);
+
+            if (strtolower($info['extension'] != 'zip')) {
+                cpg_die(CRITICAL_ERROR,$lang_pluginmgr_php['not_plugin_package'],__FILE__,__LINE__);
+            }
+
+            if (!is_dir('./plugins/receive')) {
+                $mask = umask(0);
+                mkdir('./plugins/receive',0777);
+                umask($mask);
+            }
+
+            if (!move_uploaded_file($file['tmp_name'],'./plugins/receive/'.$file['name'])) {
+                cpg_die(CRITICAL_ERROR,$lang_pluginmgr_php['copy_error'],__FILE__,__LINE__);
+            }
+
+            require_once('./include/zip.lib.php');
+
+            $zip =& new Zip();
+            $zip->Extract('./plugins/receive/'.$file['name'],'./plugins',array(-1));
+
+            unlink('./plugins/receive/'.$file['name']);
+        }
+        break;
+}
+
+pageheader($lang_pluginmgr_php['pmgr']);
+echo <<<EOT
+
+<script language="javascript" type="text/javascript">
+function confirmUninstall(text)
+{
+    return confirm("{$lang_pluginmgr_php['confirm_uninstall']} (" + text + ") ?");
+}
+
+function confirmDel(text)
+{
+    return confirm("{$lang_pluginmgr_php['confirm_delete']} (" + text + ") ?");
+}
+</script>
+EOT;
+
+
+/**
+ * Display the manager page or execute plugin_configure action
+ */
+
+// Plugin isn't being configured; Display the plugin list
+if ((($op != 'install') && ($op != 'uninstall')) || (is_bool($installed) && $installed) || (is_bool($uninstalled) && $uninstalled)) {
+
+    // Refresh the page; An operation was just performed
+    if  (isset($op)) {
+        header('Location: pluginmgr.php');
+    }
+    display_plugin_list();
+
+// Plugin is being configured; Execute 'plugin_configure' action
+} elseif ($op == 'install') {
+
+    // Display configure page table header
+    starttable('100%',$lang_pluginmgr_php['configure_plugin'] . ': ' . $CPG_PLUGINS['new']->name);
+
+    echo <<< EOT
+    <tr>
+        <td class="tableb" valign="top" width="100%">
+EOT;
+
+        // Execute 'plugin_configure' action on the new plugin
+        CPGPluginAPI::action('plugin_configure',$installed,CPG_EXEC_NEW);
+    echo <<< EOT
+        </td>
+    </tr>
+EOT;
+
+    // End the table
+    endtable();
+} else {
+
+    // Display cleanup page table header
+    starttable('100%',$lang_pluginmgr_php['cleanup_plugin'] . ': ' . $CPG_PLUGINS[$plugin_id]->name);
+
+    echo <<< EOT
+    <tr>
+        <td class="tableb" valign="top" width="100%">
+EOT;
+
+        // Execute 'plugin_cleanup' action on the plugin
+        CPGPluginAPI::action('plugin_cleanup',$uninstalled,$plugin_id);
+    echo <<< EOT
+        </td>
+    </tr>
+EOT;
+
+    // End the table
+    endtable();
+}
+
+
+echo "<br />\n";
+
+pagefooter();
+ob_end_flush();
 ?>
\ No newline at end of file
diff -x .svn -aruN 1.4.24.src/plugins/sample/codebase.php 1.4.25.src/plugins/sample/codebase.php
--- 1.4.24.src/plugins/sample/codebase.php	2009-05-21 15:03:09.000000000 -0500
+++ 1.4.25.src/plugins/sample/codebase.php	2009-05-26 11:25:40.000000000 -0500
@@ -1,98 +1,98 @@
-<?php
-/*************************
-  Coppermine Photo Gallery
-  ************************
-  Copyright (c) 2003-2009 Coppermine Dev Team
-  v1.1 originally written by Gregory DEMAR
-
-  This program is free software; you can redistribute it and/or modify
-  it under the terms of the GNU General Public License version 3
-  as published by the Free Software Foundation.
-
-  ********************************************
-  Coppermine version: 1.4.24
-  $HeadURL: https://coppermine.svn.sourceforge.net/svnroot/coppermine/trunk/cpg1.4.x/plugins/sample/codebase.php $
-  $Revision: 5969 $
-  $Author: gaugau $
-  $Date: 2009-05-21 22:03:33 +0200 (Do, 21 Mai 2009) $
-**********************************************/
-
-if (!defined('IN_COPPERMINE')) die('Not in Coppermine...');
-
-// Add an install action
-$thisplugin->add_action('plugin_install','sample_install');
-
-// Add a configure action
-$thisplugin->add_action('plugin_configure','sample_configure');
-
-// Add a filter for the gallery header
-$thisplugin->add_filter('gallery_header','sample_header');
-
-$thisplugin->add_filter('plugin_block','sample_block_mgr');
-
-
-// Sample function to modify gallery header html
-function sample_header($html) {
-    global $thisplugin;
-    $return = '<p style="color:red;"><b>This is sample data returned from plugin "'.$thisplugin->name.'".</b></p>'.$html;
-    return $return;
-}
-
-function sample_block_mgr($block) {
-    return $block;
-}
-
-
-// Install function
-// Checks if uid is 'foo' and pwd is 'bar'; If so, then install the plugin
-function sample_install() {
-
-    // Install
-    if ($_POST['uid']=='foo' && $_POST['pwd']=='bar') {
-
-        return true;
-
-    // Loop again
-    } else {
-
-        return 1;
-    }
-}
-
-// Configure function
-// Displays the form
-function sample_configure() {
-    echo <<< EOT
-    <form name="cpgform" id="cpgform" action="{$_SERVER['REQUEST_URI']}" method="post">
-            <table border="0" cellspacing="0" cellpadding="0" width="100%">
-              <tr>
-                <td class="tableh2" colspan="2">
-                  <h3>Enter the username ('foo') and password ('bar') to install</h3>
-                </td>
-              </tr>
-              <tr>
-                <td class="tableb" align="right">
-                  Username:
-                </td>
-                <td class="tableb">
-                  <input type="text" name="uid" class="textinput" style="width:100%" />
-                </td>
-              </tr>
-              <tr>
-                <td class="tableb tableb_alternate" align="right">
-                  Password:
-                </td>
-                <td class="tableb tableb_alternate">
-                  <input type="password" name="pwd" class="textinput" style="width:100%" />
-                </td>
-              </tr>
-              <tr>
-                <td class="tablef" colspan="2">
-                  <input type="submit" value="Go!" class="button" />
-                </td>
-              </tr>
-            </table>
-    </form>
-EOT;
-}
+<?php
+/*************************
+  Coppermine Photo Gallery
+  ************************
+  Copyright (c) 2003-2009 Coppermine Dev Team
+  v1.1 originally written by Gregory DEMAR
+
+  This program is free software; you can redistribute it and/or modify
+  it under the terms of the GNU General Public License version 3
+  as published by the Free Software Foundation.
+
+  ********************************************
+  Coppermine version: 1.4.25
+  $HeadURL: https://coppermine.svn.sourceforge.net/svnroot/coppermine/trunk/cpg1.4.x/plugins/sample/codebase.php $
+  $Revision: 5997 $
+  $Author: gaugau $
+  $Date: 2009-05-26 08:43:24 +0200 (Di, 26 Mai 2009) $
+**********************************************/
+
+if (!defined('IN_COPPERMINE')) die('Not in Coppermine...');
+
+// Add an install action
+$thisplugin->add_action('plugin_install','sample_install');
+
+// Add a configure action
+$thisplugin->add_action('plugin_configure','sample_configure');
+
+// Add a filter for the gallery header
+$thisplugin->add_filter('gallery_header','sample_header');
+
+$thisplugin->add_filter('plugin_block','sample_block_mgr');
+
+
+// Sample function to modify gallery header html
+function sample_header($html) {
+    global $thisplugin;
+    $return = '<p style="color:red;"><b>This is sample data returned from plugin "'.$thisplugin->name.'".</b></p>'.$html;
+    return $return;
+}
+
+function sample_block_mgr($block) {
+    return $block;
+}
+
+
+// Install function
+// Checks if uid is 'foo' and pwd is 'bar'; If so, then install the plugin
+function sample_install() {
+
+    // Install
+    if ($_POST['uid']=='foo' && $_POST['pwd']=='bar') {
+
+        return true;
+
+    // Loop again
+    } else {
+
+        return 1;
+    }
+}
+
+// Configure function
+// Displays the form
+function sample_configure() {
+    echo <<< EOT
+    <form name="cpgform" id="cpgform" action="{$_SERVER['REQUEST_URI']}" method="post">
+            <table border="0" cellspacing="0" cellpadding="0" width="100%">
+              <tr>
+                <td class="tableh2" colspan="2">
+                  <h3>Enter the username ('foo') and password ('bar') to install</h3>
+                </td>
+              </tr>
+              <tr>
+                <td class="tableb" align="right">
+                  Username:
+                </td>
+                <td class="tableb">
+                  <input type="text" name="uid" class="textinput" style="width:100%" />
+                </td>
+              </tr>
+              <tr>
+                <td class="tableb tableb_alternate" align="right">
+                  Password:
+                </td>
+                <td class="tableb tableb_alternate">
+                  <input type="password" name="pwd" class="textinput" style="width:100%" />
+                </td>
+              </tr>
+              <tr>
+                <td class="tablef" colspan="2">
+                  <input type="submit" value="Go!" class="button" />
+                </td>
+              </tr>
+            </table>
+    </form>
+EOT;
+}
 ?>
\ No newline at end of file
diff -x .svn -aruN 1.4.24.src/plugins/sample/configuration.php 1.4.25.src/plugins/sample/configuration.php
--- 1.4.24.src/plugins/sample/configuration.php	2009-05-25 15:01:17.000000000 -0500
+++ 1.4.25.src/plugins/sample/configuration.php	2009-05-26 11:25:40.000000000 -0500
@@ -1,48 +1,48 @@
-<?php
-/*************************
-  Coppermine Photo Gallery
-  ************************
-  Copyright (c) 2003-2009 Coppermine Dev Team
-  v1.1 originally written by Gregory DEMAR
-
-  This program is free software; you can redistribute it and/or modify
-  it under the terms of the GNU General Public License version 3
-  as published by the Free Software Foundation.
-
-  ********************************************
-  Coppermine version: 1.4.24
-  $HeadURL: https://coppermine.svn.sourceforge.net/svnroot/coppermine/trunk/cpg1.4.x/plugins/sample/configuration.php $
-  $Revision: 5988 $
-  $Author: gaugau $
-  $Date: 2009-05-25 22:01:41 +0200 (Mo, 25 Mai 2009) $
-**********************************************/
-
-$name='Sample Plugin';
-$description='This is a sample plugin.';
-$author='Coppermine Development Team';
-$version='1.1';
-/*
- * $extra_info is displayed with the title of a plugin that is NOT installed and
- * can be used to present extra information.  In this case I show a complex
- * example that forms a button the user can click.
- */
-$extra_info = <<<EOT
-    <table border="0" cellspacing="0" cellpadding="0">
-    <tr>
-        <td class="admin_menu"><a href="docs/index.htm#plugin" title="Plugin Documentation">Documentation</a></td>
-    </tr>
-    </table>
-EOT;
-/*
- * $install_info is displayed with the title of a plugin that IS installed and
- * can be used to present extra information. In this case I show a complex
- * example that forms a button the user can click.
- */
-$install_info=<<<EOT
-    <table border="0" cellspacing="0" cellpadding="0">
-    <tr>
-        <td class="admin_menu"><a href="http://coppermine-gallery.net/forum/index.php?board=53.0" title="Plugin Support">Support</a></td>
-    </tr>
-    </table>
-EOT;
+<?php
+/*************************
+  Coppermine Photo Gallery
+  ************************
+  Copyright (c) 2003-2009 Coppermine Dev Team
+  v1.1 originally written by Gregory DEMAR
+
+  This program is free software; you can redistribute it and/or modify
+  it under the terms of the GNU General Public License version 3
+  as published by the Free Software Foundation.
+
+  ********************************************
+  Coppermine version: 1.4.25
+  $HeadURL: https://coppermine.svn.sourceforge.net/svnroot/coppermine/trunk/cpg1.4.x/plugins/sample/configuration.php $
+  $Revision: 5997 $
+  $Author: gaugau $
+  $Date: 2009-05-26 08:43:24 +0200 (Di, 26 Mai 2009) $
+**********************************************/
+
+$name='Sample Plugin';
+$description='This is a sample plugin.';
+$author='Coppermine Development Team';
+$version='1.1';
+/*
+ * $extra_info is displayed with the title of a plugin that is NOT installed and
+ * can be used to present extra information.  In this case I show a complex
+ * example that forms a button the user can click.
+ */
+$extra_info = <<<EOT
+    <table border="0" cellspacing="0" cellpadding="0">
+    <tr>
+        <td class="admin_menu"><a href="docs/index.htm#plugin" title="Plugin Documentation">Documentation</a></td>
+    </tr>
+    </table>
+EOT;
+/*
+ * $install_info is displayed with the title of a plugin that IS installed and
+ * can be used to present extra information. In this case I show a complex
+ * example that forms a button the user can click.
+ */
+$install_info=<<<EOT
+    <table border="0" cellspacing="0" cellpadding="0">
+    <tr>
+        <td class="admin_menu"><a href="http://coppermine-gallery.net/forum/index.php?board=53.0" title="Plugin Support">Support</a></td>
+    </tr>
+    </table>
+EOT;
 ?>
\ No newline at end of file
diff -x .svn -aruN 1.4.24.src/profile.php 1.4.25.src/profile.php
--- 1.4.24.src/profile.php	2009-05-21 15:03:09.000000000 -0500
+++ 1.4.25.src/profile.php	2009-05-26 11:25:52.000000000 -0500
@@ -1,483 +1,483 @@
-<?php
-/*************************
-  Coppermine Photo Gallery
-  ************************
-  Copyright (c) 2003-2009 Coppermine Dev Team
-  v1.1 originally written by Gregory DEMAR
-
-  This program is free software; you can redistribute it and/or modify
-  it under the terms of the GNU General Public License version 3
-  as published by the Free Software Foundation.
-  
-  ********************************************
-  Coppermine version: 1.4.24
-  $HeadURL: https://coppermine.svn.sourceforge.net/svnroot/coppermine/trunk/cpg1.4.x/profile.php $
-  $Revision: 5969 $
-  $Author: gaugau $
-  $Date: 2009-05-21 22:03:33 +0200 (Do, 21 Mai 2009) $
-**********************************************/
-
-define('IN_COPPERMINE', true);
-define('PROFILE_PHP', true);
-
-require('include/init.inc.php');
-include("include/smilies.inc.php");
-
-//if (defined('UDB_INTEGRATION')){
-  $cpg_udb->view_profile($_GET['uid']);
-//}
-
-$edit_profile_form_param = array(
-    array('text', 'username', $lang_register_php['username']),
-    array('text', 'reg_date', $lang_register_php['reg_date']),
-    array('text', 'group', $lang_register_php['group']),
-    array('text', 'email', $lang_register_php['email'],255),
-    array('text', 'disk_usage', $lang_register_php['disk_usage']),
-        array('input', 'user_profile1', $CONFIG['user_profile1_name'], 255),
-        array('input', 'user_profile2', $CONFIG['user_profile2_name'], 255),
-        array('input', 'user_profile3', $CONFIG['user_profile3_name'], 255),
-        array('input', 'user_profile4', $CONFIG['user_profile4_name'], 255),
-        array('input', 'user_profile5', $CONFIG['user_profile5_name'], 255),
-        array('textarea', 'user_profile6', $CONFIG['user_profile6_name'], 255),
-    );
-
-
-if ($CONFIG['allow_email_change'] == 1) {
-  $edit_profile_form_param[3][0]='input';
-}
-
-        // profile mod test
-$display_profile_form_param = array(
-    array('text', 'username', $lang_register_php['username']),
-    array('text', 'reg_date', $lang_register_php['reg_date']),
-    array('text', 'group', $lang_register_php['group']),
-    array('text', 'user_profile1', $CONFIG['user_profile1_name']),
-    array('text', 'user_profile2', $CONFIG['user_profile2_name']),
-    array('text', 'user_profile3', $CONFIG['user_profile3_name']),
-    array('text', 'user_profile4', $CONFIG['user_profile4_name']),
-    array('text', 'user_profile5', $CONFIG['user_profile5_name']),
-    array('text', 'user_profile6', $CONFIG['user_profile6_name']),
-    array('text', 'pic_count', $lang_register_php['pic_count']),
-    array('thumb', 'user_thumb'),
-    );
-
-
-
-
-$change_password_form_param = array(
-    array('password', 'current_pass', $lang_register_php['current_pass'], 25),
-    array('password', 'new_pass', $lang_register_php['new_pass'], 25),
-    array('password', 'new_pass_again', $lang_register_php['new_pass_again'], 25),
-    );
-
-function make_form($form_param, $form_data)
-{
-    global $CONFIG; //, $PHP_SELF;
-    global $lang_register_php;
-
-    foreach ($form_param as $element) switch ($element[0]) {
-        case 'label' :
-            echo <<<EOT
-    <tr>
-        <td colspan="2" class="tableh2">
-            <b>{$element[1]}<b>
-        </td>
-    </tr>
-
-EOT;
-            break;
-
-        case 'text' :
-            if ($form_data[$element[1]] == '') break;
-            echo <<<EOT
-    <tr>
-        <td width="40%" class="tableb" height="25">
-            {$element[2]}
-        </td>
-        <td width="60%" class="tableb">
-            {$form_data[$element[1]]}
-        </td>
-    </tr>
-
-EOT;
-
-            break;
-        case 'input' :
-            $value = $form_data[$element[1]];
-
-        if ($element[2]) echo <<<EOT
-    <tr>
-        <td width="40%" class="tableb"  height="25">
-            {$element[2]}
-        </td>
-        <td width="60%" class="tableb" valign="top">
-            <input type="text" style="width: 100%" name="{$element[1]}" maxlength="{$element[3]}" value="$value" class="textinput" />
-        </td>
-    </tr>
-
-
-EOT;
-            break;
-
-        case 'textarea' :
-            $value = $form_data[$element[1]];
-
-           if ($element[2]) echo <<<EOT
-        <tr>
-            <td width="40%" class="tableb"  height="25">
-                        {$element[2]}
-        </td>
-        <td width="60%" class="tableb" valign="top">
-                <textarea name="{$element[1]}" rows="7" cols="40" class="textinput" style="width: 100%">$value</textarea>
-                </td>
-        </tr>
-
-
-EOT;
-            break;
-
-        case 'password' :
-            echo <<<EOT
-    <tr>
-        <td width="40%" class="tableb">
-            {$element[2]}
-        </td>
-        <td width="60%" class="tableb" valign="top">
-            <input type="password" style="width: 100%" name="{$element[1]}" maxlength="{$element[3]}" value="" class="textinput" />
-        </td>
-    </tr>
-
-EOT;
-            break;
-        case 'thumb' :
-            $value = $form_data[$element[1]];
-
-            if ($value) echo <<<EOT
-    <tr>
-        <td valign="top" colspan="2" class="thumbnails" align="center">
-            <table width="100%" cellpadding="0" cellspacing="0">
-                <tr>
-                    <td align="center">
-                        $value
-                    </td>
-                </tr>
-            </table>
-        </td>
-    </tr>
-EOT;
-            break;
-
-        default:
-            cpg_die(CRITICAL_ERROR, 'Invalid action for form creation ' . $element[0], __FILE__, __LINE__);
-    }
-}
-
-function get_post_var($var)
-{
-    global $lang_errors;
-
-    if (!isset($_POST[$var])) cpg_die(CRITICAL_ERROR, $lang_errors['param_missing'] . " ($var)", __FILE__, __LINE__);
-    return addslashes(trim($_POST[$var]));
-}
-
-$op = isset($_GET['op']) ? $_GET['op'] : '';
-$uid = isset($_GET['uid']) ? (int)$_GET['uid'] : -1;
-if (isset($_POST['change_pass'])) $op = 'change_pass';
-
-if (isset($_POST['change_profile']) && USER_ID && UDB_INTEGRATION == 'coppermine') { //!defined('UDB_INTEGRATION')) {
-
-	$profile1 = addslashes($_POST['user_profile1']);
-	$profile2 = addslashes($_POST['user_profile2']);
-	$profile3 = addslashes($_POST['user_profile3']);
-	$profile4 = addslashes($_POST['user_profile4']);
-	$profile5 = addslashes($_POST['user_profile5']);
-	$profile6 = addslashes($_POST['user_profile6']);
-	
-	$error = false;
-	
-	if ($CONFIG['allow_email_change']){
-	
-		$email = addslashes($_POST['email']);
-		
-		if (!eregi("^[_\.0-9a-z\-]+@([0-9a-z][0-9a-z-]+\.)+[a-z]{2,6}$", $email)){
-			$error = $lang_register_php['err_invalid_email'];
-			
-		} elseif (!$CONFIG['allow_duplicate_emails_addr']) {
-		
-			$sql = "SELECT user_id " . "FROM {$CONFIG['TABLE_USERS']} " . "WHERE user_email = '" . $email . "' AND user_id <> " . USER_ID;
-			$result = cpg_db_query($sql);
-
-			if (mysql_num_rows($result)) {
-				$error = $lang_register_php['err_duplicate_email'];
-			}
-		}
-    }
-    
-    $sql = "UPDATE {$CONFIG['TABLE_USERS']} SET " . "user_profile1 = '$profile1', " . "user_profile2 = '$profile2', " . "user_profile3 = '$profile3', " . "user_profile4 = '$profile4', " . "user_profile5 = '$profile5', " . "user_profile6 = '$profile6'" . ($CONFIG['allow_email_change'] && !$error ? ", user_email = '$email'" : "") . " WHERE user_id = '" . USER_ID . "'";
-
-    $result = cpg_db_query($sql);
-
-    $title = sprintf($lang_register_php['x_s_profile'], stripslashes(USER_NAME));
-    
-    if (!$error){
-    	$redirect = "index.php";
- 		pageheader($title, "<META http-equiv=\"refresh\" content=\"3;url=$redirect\">");
-    	msg_box($lang_info, $lang_register_php['update_success'], $lang_continue, $redirect);
-    } else {
-		$redirect = 'profile.php?op=edit_profile';
-		pageheader($title, "<META http-equiv=\"refresh\" content=\"3;url=$redirect\">");
-		msg_box($lang_error, $error, $lang_back, $redirect);
-    }
-    
-    pagefooter();
-    ob_end_flush();
-    exit;
-}
-
-if (isset($_POST['change_password']) && USER_ID && UDB_INTEGRATION == 'coppermine') { //!defined('UDB_INTEGRATION')) {
-    $current_pass = get_post_var('current_pass');
-    $new_pass = get_post_var('new_pass');
-    $new_pass_again = get_post_var('new_pass_again');
-
-    if (utf_strlen($new_pass) < 2) cpg_die(ERROR, $lang_register_php['err_password_short'], __FILE__, __LINE__);
-    if ($new_pass != $new_pass_again) cpg_die(ERROR, $lang_register_php['err_password_mismatch'], __FILE__, __LINE__);
-
-  if ($CONFIG['enable_encrypted_passwords']) {
-    $new_pass = md5($new_pass);
-    $current_pass = md5($current_pass);
-  }
-
-    $sql = "UPDATE {$cpg_udb->usertable} SET " .
-           $cpg_udb->field['password']." = '$new_pass' " .
-           "WHERE {$cpg_udb->field['user_id']} = '" . USER_ID . "' AND BINARY {$cpg_udb->field['password']} = '$current_pass'";
-
-    $result = cpg_db_query($sql);
-    if (!mysql_affected_rows()) cpg_die(ERROR, $lang_register_php['pass_chg_error'], __FILE__, __LINE__);
-
-
-/**
-
-    TODO:
-
-    add setcookie function to udb objects (omni)
-
-*/
-
-
-
-    setcookie($CONFIG['cookie_name'] . '_pass', md5($_POST['new_pass']), time() + 86400, $CONFIG['cookie_path']);
-
-    $title = sprintf($lang_register_php['x_s_profile'], stripslashes(USER_NAME));
-    $redirect = $_SERVER['PHP_SELF'] . "?op=edit_profile";
-    pageheader($title, "<META http-equiv=\"refresh\" content=\"3;url=$redirect\">");
-    msg_box($lang_info, $lang_register_php['pass_chg_success'], $lang_continue, $redirect);
-    pagefooter();
-    ob_end_flush();
-    exit;
-}
-
-switch ($op) {
-    // ------------------------------------------------------------------------- //
-    case 'edit_profile' :
-        if (!USER_ID) cpg_die(ERROR, $lang_errors['access_denied'], __FILE__, __LINE__);
-
-        if (defined('UDB_INTEGRATION')) $cpg_udb->edit_profile(USER_ID);
-
-        $sql = "SELECT user_name, user_email, user_group, UNIX_TIMESTAMP(user_regdate) as user_regdate, group_name, " . "user_profile1, user_profile2, user_profile3, user_profile4, user_profile5, user_profile6, user_group_list, " . "COUNT(pid) as pic_count, ROUND(SUM(total_filesize)/1024) as disk_usage, group_quota " . "FROM {$CONFIG['TABLE_USERS']} AS u " . "INNER JOIN {$CONFIG['TABLE_USERGROUPS']} AS g ON user_group = group_id " . "LEFT JOIN {$CONFIG['TABLE_PICTURES']} AS p ON p.owner_id = u.user_id " . "WHERE user_id ='" . USER_ID . "' " . "GROUP BY user_id ";
-
-        $result = cpg_db_query($sql);
-
-        if (!mysql_num_rows($result)) cpg_die(ERROR, $lang_register_php['err_unk_user'], __FILE__, __LINE__);
-        $user_data = mysql_fetch_array($result);
-        mysql_free_result($result);
-
-        $group_list = '';
-        if ($user_data['user_group_list'] != '') {
-            $sql = "SELECT group_name " . "FROM {$CONFIG['TABLE_USERGROUPS']} " . "WHERE group_id IN ({$user_data['user_group_list']}) AND group_id != {$user_data['user_group']} " . "ORDER BY group_name";
-            $result = cpg_db_query($sql);
-            while ($row = mysql_fetch_array($result)) {
-                $group_list .= $row['group_name'] . ', ';
-            }
-            mysql_free_result($result);
-            $group_list = '<br /><i>(' . substr($group_list, 0, -2) . ')</i>';
-        }
-
-        $form_data = array('username' => $user_data['user_name'],
-            'reg_date' => localised_date($user_data['user_regdate'], $register_date_fmt),
-            'group' => $user_data['group_name'] . $group_list,
-            'email' => $user_data['user_email'],
-            'disk_usage' => $user_data['disk_usage'] .
-            ($user_data['group_quota'] ? '/' . $user_data['group_quota'] : '') . '&nbsp;' . $lang_byte_units[1],
-                        'user_profile1' => $user_data['user_profile1'],
-                        'user_profile2' => $user_data['user_profile2'],
-                        'user_profile3' => $user_data['user_profile3'],
-                        'user_profile4' => $user_data['user_profile4'],
-                        'user_profile5' => $user_data['user_profile5'],
-                        'user_profile6' => $user_data['user_profile6'],
-            );
-
-        $title = sprintf($lang_register_php['x_s_profile'], stripslashes(USER_NAME));
-        pageheader($title);
-
-        echo <<<EOT
-    <form method="post" action="{$_SERVER['PHP_SELF']}">
-
-EOT;
-        starttable(-1, $title, 2);
-        make_form($edit_profile_form_param, $form_data);
-        echo <<<EOT
-    <tr>
-        <td colspan="2" align="center" class="tablef">
-            <input type="submit" name="change_profile" value="{$lang_register_php['apply_modif']}" class="button" />
-            <img src="images/spacer.gif" width="20" height="1" border="0" alt="" />
-            <input type="submit" name="change_pass" value="{$lang_register_php['change_pass']}" class="button" />
-        </td>
-    </tr>
-EOT;
-        endtable();
-        echo "</form>";
-        pagefooter();
-        ob_end_flush();
-        break;
-    // ------------------------------------------------------------------------- //
-    case 'change_pass' :
-        if (!USER_ID /*|| defined('UDB_INTEGRATION')*/) cpg_die(ERROR, $lang_errors['access_denied'], __FILE__, __LINE__);
-
-        // Just a sanity check (should get caught when user clicks 'My Profile')
-        if (UDB_INTEGRATION != 'coppermine') {
-            $cpg_udb->edit_profile(USER_ID);
-        }
-
-        $title = $lang_register_php['change_pass'];
-        pageheader($title);
-        echo <<<EOT
-         <form method="post" action="{$_SERVER['PHP_SELF']}">
-EOT;
-        starttable(-1, $title, 2);
-        make_form($change_password_form_param, '');
-        echo <<<EOT
-    <tr>
-        <td colspan="2" align="center" class="tablef">
-            <input type="submit" name="change_password" value="$title" class="button" />
-        </td>
-    </tr>
-EOT;
-        endtable();
-        echo "    </form>";
-        pagefooter();
-        ob_end_flush();
-        break;
-    // ------------------------------------------------------------------------- //
-    default :
-
-        //if (defined('UDB_INTEGRATION')) {
-            $user_data = $cpg_udb->get_user_infos($uid);
-        /*} else {
-            $sql = "SELECT user_name, user_email, UNIX_TIMESTAMP(user_regdate) as user_regdate, group_name, " . "user_profile1, user_profile2, user_profile3, user_profile4, user_profile5, user_profile6 " . "FROM {$CONFIG['TABLE_USERS']} AS u " . "INNER JOIN {$CONFIG['TABLE_USERGROUPS']} AS g ON user_group = group_id " . "WHERE user_id ='$uid'";
-
-            $result = cpg_db_query($sql);
-
-            if (!mysql_num_rows($result)) cpg_die(ERROR, $lang_register_php['err_unk_user'], __FILE__, __LINE__);
-            $user_data = mysql_fetch_array($result);
-            mysql_free_result($result);
-        }*/
-
-        if ($FORBIDDEN_SET != "") $FORBIDDEN_SET = "AND $FORBIDDEN_SET";
-        $query = "SELECT count(*), MAX(pid) FROM {$CONFIG['TABLE_PICTURES']} AS p WHERE owner_id = '$uid' AND approved = 'YES' $FORBIDDEN_SET";
-        $result = cpg_db_query($query);
-        $nbEnr = mysql_fetch_array($result);
-        $picture_count = $nbEnr[0];
-        $thumb_pid = $nbEnr[1];
-        mysql_free_result($result);
-
-        $result = cpg_db_query("SELECT count(*) FROM {$CONFIG['TABLE_ALBUMS']} AS p WHERE category = '" . (FIRST_USER_CAT + $uid) . "' $FORBIDDEN_SET");
-        $nbEnr = mysql_fetch_array($result);
-        $album_count = $nbEnr[0];
-        mysql_free_result($result);
-
-        $result = cpg_db_query("SELECT count(*), MAX(msg_id) FROM {$CONFIG['TABLE_COMMENTS']} as c, {$CONFIG['TABLE_PICTURES']} as p WHERE c.pid = p.pid AND author_id = '$uid' $FORBIDDEN_SET");
-        $nbEnr = mysql_fetch_array($result);
-        $comment_count = $nbEnr[0];
-        $lastcom_id = $nbEnr[1];
-        mysql_free_result($result);
-
-        $result = cpg_db_query("SELECT pid FROM {$CONFIG['TABLE_PICTURES']} WHERE owner_name = '".addslashes($user_data['user_name'])."'");
-        $pic_count = mysql_num_rows($result);
-        mysql_free_result($result);
-
-        $lastcom = '';
-        if ($comment_count) {
-            $sql = "SELECT filepath, filename, url_prefix, pwidth, pheight, msg_author, UNIX_TIMESTAMP(msg_date) as msg_date, msg_body " . "FROM {$CONFIG['TABLE_COMMENTS']} AS c, {$CONFIG['TABLE_PICTURES']} AS p " . "WHERE msg_id='" . $lastcom_id . "' AND c.pid = p.pid";
-            $result = cpg_db_query($sql);
-            if (mysql_num_rows($result)) {
-                $row = mysql_fetch_array($result);
-                mysql_free_result($result);
-                $pic_url =  get_pic_url($row, 'thumb');
-                if (!is_image($row['filename'])) {
-                        $image_info = getimagesize(urldecode($pic_url));
-                        $row['pwidth'] = $image_info[0];
-                        $row['pheight'] = $image_info[1];
-                }
-                $image_size = compute_img_size($row['pwidth'], $row['pheight'], $CONFIG['thumb_width']);
-                $mime_content = cpg_get_type($row['filename']);
-                $lastcom = '<img src="' . $pic_url . '" class="image"' . $image_size['geom'] . ' border="0" alt="" />';
-                $lastcom = '<td width="50%" valign="top" align="center">'
-                            . '<a href="thumbnails.php?album=lastcomby&amp;uid=' . $uid . '">'
-                            . '<span class="thumb_title">' . $lang_register_php['last_comments'] . ' ' . $user_data['user_name'] . '<br /></span>'
-                            . $lastcom
-                            . '</a><br />';
-                $lastcom .= "<span class=\"thumb_caption\">" . localised_date($row['msg_date'], $lastcom_date_fmt) . '</span>' . "<span class=\"thumb_caption\">" . bb_decode(process_smilies($row['msg_body'])) . '</span></td>';
-            }
-        }
-
-        $user_thumb = '';
-        if ($picture_count) {
-            $sql = "SELECT filepath, filename, url_prefix, pwidth, pheight " . "FROM {$CONFIG['TABLE_PICTURES']} " . "WHERE pid='" . $thumb_pid . "'";
-            $result = cpg_db_query($sql);
-            if (mysql_num_rows($result)) {
-                $picture = mysql_fetch_array($result);
-                mysql_free_result($result);
-                $pic_url =  get_pic_url($picture, 'thumb');
-                if (!is_image($picture['filename'])) {
-                        $image_info = getimagesize(urldecode($pic_url));
-                        $picture['pwidth'] = $image_info[0];
-                        $picture['pheight'] = $image_info[1];
-                }
-                $image_size = compute_img_size($picture['pwidth'], $picture['pheight'], $CONFIG['thumb_width']);
-                $mime_content = cpg_get_type($picture['filename']);
-                $user_thumb = '<img src="' . $pic_url . '" class="image"'
-                                . $image_size['geom'] . ' border="0" alt="" />';
-                $user_thumb = '<td width="50%" valign="top" align="center">'
-                            . '<a href="thumbnails.php?album=lastupby&amp;uid=' . $uid . '">'
-                            . '<span class="thumb_title">' . $lang_register_php['last_uploads'] . ' ' . $user_data['user_name'] . '<br /></span>'
-                            . $user_thumb
-                            . '</a></td>';
-            }
-        }
-
-        $quick_jump = ($user_thumb . $lastcom) ? '<table width="100%" border="0" cellspacing="5"><tr>' . $user_thumb . $lastcom . '</tr></table>' : '';
-
-        $form_data = array('username' => $user_data['user_name'],
-            'reg_date' => localised_date($user_data['user_regdate'], $register_date_fmt),
-            'group' => $user_data['group_name'],
-                        'user_profile1' => $user_data['user_profile1'],
-                        'user_profile2' => $user_data['user_profile2'],
-                        'user_profile3' => $user_data['user_profile3'],
-                        'user_profile4' => $user_data['user_profile4'],
-                        'user_profile5' => $user_data['user_profile5'],
-                        'user_profile6' => bb_decode($user_data['user_profile6']),
-                        'user_thumb' => $quick_jump,
-                        'pic_count' => $pic_count,
-            );
-
-        $title = sprintf($lang_register_php['x_s_profile'], $user_data['user_name']);
-        pageheader($title);
-        starttable(-1, $title, 2);
-        make_form($display_profile_form_param, $form_data);
-        endtable();
-        pagefooter();
-        ob_end_flush();
-        break;
-}
-
-?>
+<?php
+/*************************
+  Coppermine Photo Gallery
+  ************************
+  Copyright (c) 2003-2009 Coppermine Dev Team
+  v1.1 originally written by Gregory DEMAR
+
+  This program is free software; you can redistribute it and/or modify
+  it under the terms of the GNU General Public License version 3
+  as published by the Free Software Foundation.
+  
+  ********************************************
+  Coppermine version: 1.4.25
+  $HeadURL: https://coppermine.svn.sourceforge.net/svnroot/coppermine/trunk/cpg1.4.x/profile.php $
+  $Revision: 5997 $
+  $Author: gaugau $
+  $Date: 2009-05-26 08:43:24 +0200 (Di, 26 Mai 2009) $
+**********************************************/
+
+define('IN_COPPERMINE', true);
+define('PROFILE_PHP', true);
+
+require('include/init.inc.php');
+include("include/smilies.inc.php");
+
+//if (defined('UDB_INTEGRATION')){
+  $cpg_udb->view_profile($_GET['uid']);
+//}
+
+$edit_profile_form_param = array(
+    array('text', 'username', $lang_register_php['username']),
+    array('text', 'reg_date', $lang_register_php['reg_date']),
+    array('text', 'group', $lang_register_php['group']),
+    array('text', 'email', $lang_register_php['email'],255),
+    array('text', 'disk_usage', $lang_register_php['disk_usage']),
+        array('input', 'user_profile1', $CONFIG['user_profile1_name'], 255),
+        array('input', 'user_profile2', $CONFIG['user_profile2_name'], 255),
+        array('input', 'user_profile3', $CONFIG['user_profile3_name'], 255),
+        array('input', 'user_profile4', $CONFIG['user_profile4_name'], 255),
+        array('input', 'user_profile5', $CONFIG['user_profile5_name'], 255),
+        array('textarea', 'user_profile6', $CONFIG['user_profile6_name'], 255),
+    );
+
+
+if ($CONFIG['allow_email_change'] == 1) {
+  $edit_profile_form_param[3][0]='input';
+}
+
+        // profile mod test
+$display_profile_form_param = array(
+    array('text', 'username', $lang_register_php['username']),
+    array('text', 'reg_date', $lang_register_php['reg_date']),
+    array('text', 'group', $lang_register_php['group']),
+    array('text', 'user_profile1', $CONFIG['user_profile1_name']),
+    array('text', 'user_profile2', $CONFIG['user_profile2_name']),
+    array('text', 'user_profile3', $CONFIG['user_profile3_name']),
+    array('text', 'user_profile4', $CONFIG['user_profile4_name']),
+    array('text', 'user_profile5', $CONFIG['user_profile5_name']),
+    array('text', 'user_profile6', $CONFIG['user_profile6_name']),
+    array('text', 'pic_count', $lang_register_php['pic_count']),
+    array('thumb', 'user_thumb'),
+    );
+
+
+
+
+$change_password_form_param = array(
+    array('password', 'current_pass', $lang_register_php['current_pass'], 25),
+    array('password', 'new_pass', $lang_register_php['new_pass'], 25),
+    array('password', 'new_pass_again', $lang_register_php['new_pass_again'], 25),
+    );
+
+function make_form($form_param, $form_data)
+{
+    global $CONFIG; //, $PHP_SELF;
+    global $lang_register_php;
+
+    foreach ($form_param as $element) switch ($element[0]) {
+        case 'label' :
+            echo <<<EOT
+    <tr>
+        <td colspan="2" class="tableh2">
+            <b>{$element[1]}<b>
+        </td>
+    </tr>
+
+EOT;
+            break;
+
+        case 'text' :
+            if ($form_data[$element[1]] == '') break;
+            echo <<<EOT
+    <tr>
+        <td width="40%" class="tableb" height="25">
+            {$element[2]}
+        </td>
+        <td width="60%" class="tableb">
+            {$form_data[$element[1]]}
+        </td>
+    </tr>
+
+EOT;
+
+            break;
+        case 'input' :
+            $value = $form_data[$element[1]];
+
+        if ($element[2]) echo <<<EOT
+    <tr>
+        <td width="40%" class="tableb"  height="25">
+            {$element[2]}
+        </td>
+        <td width="60%" class="tableb" valign="top">
+            <input type="text" style="width: 100%" name="{$element[1]}" maxlength="{$element[3]}" value="$value" class="textinput" />
+        </td>
+    </tr>
+
+
+EOT;
+            break;
+
+        case 'textarea' :
+            $value = $form_data[$element[1]];
+
+           if ($element[2]) echo <<<EOT
+        <tr>
+            <td width="40%" class="tableb"  height="25">
+                        {$element[2]}
+        </td>
+        <td width="60%" class="tableb" valign="top">
+                <textarea name="{$element[1]}" rows="7" cols="40" class="textinput" style="width: 100%">$value</textarea>
+                </td>
+        </tr>
+
+
+EOT;
+            break;
+
+        case 'password' :
+            echo <<<EOT
+    <tr>
+        <td width="40%" class="tableb">
+            {$element[2]}
+        </td>
+        <td width="60%" class="tableb" valign="top">
+            <input type="password" style="width: 100%" name="{$element[1]}" maxlength="{$element[3]}" value="" class="textinput" />
+        </td>
+    </tr>
+
+EOT;
+            break;
+        case 'thumb' :
+            $value = $form_data[$element[1]];
+
+            if ($value) echo <<<EOT
+    <tr>
+        <td valign="top" colspan="2" class="thumbnails" align="center">
+            <table width="100%" cellpadding="0" cellspacing="0">
+                <tr>
+                    <td align="center">
+                        $value
+                    </td>
+                </tr>
+            </table>
+        </td>
+    </tr>
+EOT;
+            break;
+
+        default:
+            cpg_die(CRITICAL_ERROR, 'Invalid action for form creation ' . $element[0], __FILE__, __LINE__);
+    }
+}
+
+function get_post_var($var)
+{
+    global $lang_errors;
+
+    if (!isset($_POST[$var])) cpg_die(CRITICAL_ERROR, $lang_errors['param_missing'] . " ($var)", __FILE__, __LINE__);
+    return addslashes(trim($_POST[$var]));
+}
+
+$op = isset($_GET['op']) ? $_GET['op'] : '';
+$uid = isset($_GET['uid']) ? (int)$_GET['uid'] : -1;
+if (isset($_POST['change_pass'])) $op = 'change_pass';
+
+if (isset($_POST['change_profile']) && USER_ID && UDB_INTEGRATION == 'coppermine') { //!defined('UDB_INTEGRATION')) {
+
+	$profile1 = addslashes($_POST['user_profile1']);
+	$profile2 = addslashes($_POST['user_profile2']);
+	$profile3 = addslashes($_POST['user_profile3']);
+	$profile4 = addslashes($_POST['user_profile4']);
+	$profile5 = addslashes($_POST['user_profile5']);
+	$profile6 = addslashes($_POST['user_profile6']);
+	
+	$error = false;
+	
+	if ($CONFIG['allow_email_change']){
+	
+		$email = addslashes($_POST['email']);
+		
+		if (!eregi("^[_\.0-9a-z\-]+@([0-9a-z][0-9a-z-]+\.)+[a-z]{2,6}$", $email)){
+			$error = $lang_register_php['err_invalid_email'];
+			
+		} elseif (!$CONFIG['allow_duplicate_emails_addr']) {
+		
+			$sql = "SELECT user_id " . "FROM {$CONFIG['TABLE_USERS']} " . "WHERE user_email = '" . $email . "' AND user_id <> " . USER_ID;
+			$result = cpg_db_query($sql);
+
+			if (mysql_num_rows($result)) {
+				$error = $lang_register_php['err_duplicate_email'];
+			}
+		}
+    }
+    
+    $sql = "UPDATE {$CONFIG['TABLE_USERS']} SET " . "user_profile1 = '$profile1', " . "user_profile2 = '$profile2', " . "user_profile3 = '$profile3', " . "user_profile4 = '$profile4', " . "user_profile5 = '$profile5', " . "user_profile6 = '$profile6'" . ($CONFIG['allow_email_change'] && !$error ? ", user_email = '$email'" : "") . " WHERE user_id = '" . USER_ID . "'";
+
+    $result = cpg_db_query($sql);
+
+    $title = sprintf($lang_register_php['x_s_profile'], stripslashes(USER_NAME));
+    
+    if (!$error){
+    	$redirect = "index.php";
+ 		pageheader($title, "<META http-equiv=\"refresh\" content=\"3;url=$redirect\">");
+    	msg_box($lang_info, $lang_register_php['update_success'], $lang_continue, $redirect);
+    } else {
+		$redirect = 'profile.php?op=edit_profile';
+		pageheader($title, "<META http-equiv=\"refresh\" content=\"3;url=$redirect\">");
+		msg_box($lang_error, $error, $lang_back, $redirect);
+    }
+    
+    pagefooter();
+    ob_end_flush();
+    exit;
+}
+
+if (isset($_POST['change_password']) && USER_ID && UDB_INTEGRATION == 'coppermine') { //!defined('UDB_INTEGRATION')) {
+    $current_pass = get_post_var('current_pass');
+    $new_pass = get_post_var('new_pass');
+    $new_pass_again = get_post_var('new_pass_again');
+
+    if (utf_strlen($new_pass) < 2) cpg_die(ERROR, $lang_register_php['err_password_short'], __FILE__, __LINE__);
+    if ($new_pass != $new_pass_again) cpg_die(ERROR, $lang_register_php['err_password_mismatch'], __FILE__, __LINE__);
+
+  if ($CONFIG['enable_encrypted_passwords']) {
+    $new_pass = md5($new_pass);
+    $current_pass = md5($current_pass);
+  }
+
+    $sql = "UPDATE {$cpg_udb->usertable} SET " .
+           $cpg_udb->field['password']." = '$new_pass' " .
+           "WHERE {$cpg_udb->field['user_id']} = '" . USER_ID . "' AND BINARY {$cpg_udb->field['password']} = '$current_pass'";
+
+    $result = cpg_db_query($sql);
+    if (!mysql_affected_rows()) cpg_die(ERROR, $lang_register_php['pass_chg_error'], __FILE__, __LINE__);
+
+
+/**
+
+    TODO:
+
+    add setcookie function to udb objects (omni)
+
+*/
+
+
+
+    setcookie($CONFIG['cookie_name'] . '_pass', md5($_POST['new_pass']), time() + 86400, $CONFIG['cookie_path']);
+
+    $title = sprintf($lang_register_php['x_s_profile'], stripslashes(USER_NAME));
+    $redirect = $_SERVER['PHP_SELF'] . "?op=edit_profile";
+    pageheader($title, "<META http-equiv=\"refresh\" content=\"3;url=$redirect\">");
+    msg_box($lang_info, $lang_register_php['pass_chg_success'], $lang_continue, $redirect);
+    pagefooter();
+    ob_end_flush();
+    exit;
+}
+
+switch ($op) {
+    // ------------------------------------------------------------------------- //
+    case 'edit_profile' :
+        if (!USER_ID) cpg_die(ERROR, $lang_errors['access_denied'], __FILE__, __LINE__);
+
+        if (defined('UDB_INTEGRATION')) $cpg_udb->edit_profile(USER_ID);
+
+        $sql = "SELECT user_name, user_email, user_group, UNIX_TIMESTAMP(user_regdate) as user_regdate, group_name, " . "user_profile1, user_profile2, user_profile3, user_profile4, user_profile5, user_profile6, user_group_list, " . "COUNT(pid) as pic_count, ROUND(SUM(total_filesize)/1024) as disk_usage, group_quota " . "FROM {$CONFIG['TABLE_USERS']} AS u " . "INNER JOIN {$CONFIG['TABLE_USERGROUPS']} AS g ON user_group = group_id " . "LEFT JOIN {$CONFIG['TABLE_PICTURES']} AS p ON p.owner_id = u.user_id " . "WHERE user_id ='" . USER_ID . "' " . "GROUP BY user_id ";
+
+        $result = cpg_db_query($sql);
+
+        if (!mysql_num_rows($result)) cpg_die(ERROR, $lang_register_php['err_unk_user'], __FILE__, __LINE__);
+        $user_data = mysql_fetch_array($result);
+        mysql_free_result($result);
+
+        $group_list = '';
+        if ($user_data['user_group_list'] != '') {
+            $sql = "SELECT group_name " . "FROM {$CONFIG['TABLE_USERGROUPS']} " . "WHERE group_id IN ({$user_data['user_group_list']}) AND group_id != {$user_data['user_group']} " . "ORDER BY group_name";
+            $result = cpg_db_query($sql);
+            while ($row = mysql_fetch_array($result)) {
+                $group_list .= $row['group_name'] . ', ';
+            }
+            mysql_free_result($result);
+            $group_list = '<br /><i>(' . substr($group_list, 0, -2) . ')</i>';
+        }
+
+        $form_data = array('username' => $user_data['user_name'],
+            'reg_date' => localised_date($user_data['user_regdate'], $register_date_fmt),
+            'group' => $user_data['group_name'] . $group_list,
+            'email' => $user_data['user_email'],
+            'disk_usage' => $user_data['disk_usage'] .
+            ($user_data['group_quota'] ? '/' . $user_data['group_quota'] : '') . '&nbsp;' . $lang_byte_units[1],
+                        'user_profile1' => $user_data['user_profile1'],
+                        'user_profile2' => $user_data['user_profile2'],
+                        'user_profile3' => $user_data['user_profile3'],
+                        'user_profile4' => $user_data['user_profile4'],
+                        'user_profile5' => $user_data['user_profile5'],
+                        'user_profile6' => $user_data['user_profile6'],
+            );
+
+        $title = sprintf($lang_register_php['x_s_profile'], stripslashes(USER_NAME));
+        pageheader($title);
+
+        echo <<<EOT
+    <form method="post" action="{$_SERVER['PHP_SELF']}">
+
+EOT;
+        starttable(-1, $title, 2);
+        make_form($edit_profile_form_param, $form_data);
+        echo <<<EOT
+    <tr>
+        <td colspan="2" align="center" class="tablef">
+            <input type="submit" name="change_profile" value="{$lang_register_php['apply_modif']}" class="button" />
+            <img src="images/spacer.gif" width="20" height="1" border="0" alt="" />
+            <input type="submit" name="change_pass" value="{$lang_register_php['change_pass']}" class="button" />
+        </td>
+    </tr>
+EOT;
+        endtable();
+        echo "</form>";
+        pagefooter();
+        ob_end_flush();
+        break;
+    // ------------------------------------------------------------------------- //
+    case 'change_pass' :
+        if (!USER_ID /*|| defined('UDB_INTEGRATION')*/) cpg_die(ERROR, $lang_errors['access_denied'], __FILE__, __LINE__);
+
+        // Just a sanity check (should get caught when user clicks 'My Profile')
+        if (UDB_INTEGRATION != 'coppermine') {
+            $cpg_udb->edit_profile(USER_ID);
+        }
+
+        $title = $lang_register_php['change_pass'];
+        pageheader($title);
+        echo <<<EOT
+         <form method="post" action="{$_SERVER['PHP_SELF']}">
+EOT;
+        starttable(-1, $title, 2);
+        make_form($change_password_form_param, '');
+        echo <<<EOT
+    <tr>
+        <td colspan="2" align="center" class="tablef">
+            <input type="submit" name="change_password" value="$title" class="button" />
+        </td>
+    </tr>
+EOT;
+        endtable();
+        echo "    </form>";
+        pagefooter();
+        ob_end_flush();
+        break;
+    // ------------------------------------------------------------------------- //
+    default :
+
+        //if (defined('UDB_INTEGRATION')) {
+            $user_data = $cpg_udb->get_user_infos($uid);
+        /*} else {
+            $sql = "SELECT user_name, user_email, UNIX_TIMESTAMP(user_regdate) as user_regdate, group_name, " . "user_profile1, user_profile2, user_profile3, user_profile4, user_profile5, user_profile6 " . "FROM {$CONFIG['TABLE_USERS']} AS u " . "INNER JOIN {$CONFIG['TABLE_USERGROUPS']} AS g ON user_group = group_id " . "WHERE user_id ='$uid'";
+
+            $result = cpg_db_query($sql);
+
+            if (!mysql_num_rows($result)) cpg_die(ERROR, $lang_register_php['err_unk_user'], __FILE__, __LINE__);
+            $user_data = mysql_fetch_array($result);
+            mysql_free_result($result);
+        }*/
+
+        if ($FORBIDDEN_SET != "") $FORBIDDEN_SET = "AND $FORBIDDEN_SET";
+        $query = "SELECT count(*), MAX(pid) FROM {$CONFIG['TABLE_PICTURES']} AS p WHERE owner_id = '$uid' AND approved = 'YES' $FORBIDDEN_SET";
+        $result = cpg_db_query($query);
+        $nbEnr = mysql_fetch_array($result);
+        $picture_count = $nbEnr[0];
+        $thumb_pid = $nbEnr[1];
+        mysql_free_result($result);
+
+        $result = cpg_db_query("SELECT count(*) FROM {$CONFIG['TABLE_ALBUMS']} AS p WHERE category = '" . (FIRST_USER_CAT + $uid) . "' $FORBIDDEN_SET");
+        $nbEnr = mysql_fetch_array($result);
+        $album_count = $nbEnr[0];
+        mysql_free_result($result);
+
+        $result = cpg_db_query("SELECT count(*), MAX(msg_id) FROM {$CONFIG['TABLE_COMMENTS']} as c, {$CONFIG['TABLE_PICTURES']} as p WHERE c.pid = p.pid AND author_id = '$uid' $FORBIDDEN_SET");
+        $nbEnr = mysql_fetch_array($result);
+        $comment_count = $nbEnr[0];
+        $lastcom_id = $nbEnr[1];
+        mysql_free_result($result);
+
+        $result = cpg_db_query("SELECT pid FROM {$CONFIG['TABLE_PICTURES']} WHERE owner_name = '".addslashes($user_data['user_name'])."'");
+        $pic_count = mysql_num_rows($result);
+        mysql_free_result($result);
+
+        $lastcom = '';
+        if ($comment_count) {
+            $sql = "SELECT filepath, filename, url_prefix, pwidth, pheight, msg_author, UNIX_TIMESTAMP(msg_date) as msg_date, msg_body " . "FROM {$CONFIG['TABLE_COMMENTS']} AS c, {$CONFIG['TABLE_PICTURES']} AS p " . "WHERE msg_id='" . $lastcom_id . "' AND c.pid = p.pid";
+            $result = cpg_db_query($sql);
+            if (mysql_num_rows($result)) {
+                $row = mysql_fetch_array($result);
+                mysql_free_result($result);
+                $pic_url =  get_pic_url($row, 'thumb');
+                if (!is_image($row['filename'])) {
+                        $image_info = getimagesize(urldecode($pic_url));
+                        $row['pwidth'] = $image_info[0];
+                        $row['pheight'] = $image_info[1];
+                }
+                $image_size = compute_img_size($row['pwidth'], $row['pheight'], $CONFIG['thumb_width']);
+                $mime_content = cpg_get_type($row['filename']);
+                $lastcom = '<img src="' . $pic_url . '" class="image"' . $image_size['geom'] . ' border="0" alt="" />';
+                $lastcom = '<td width="50%" valign="top" align="center">'
+                            . '<a href="thumbnails.php?album=lastcomby&amp;uid=' . $uid . '">'
+                            . '<span class="thumb_title">' . $lang_register_php['last_comments'] . ' ' . $user_data['user_name'] . '<br /></span>'
+                            . $lastcom
+                            . '</a><br />';
+                $lastcom .= "<span class=\"thumb_caption\">" . localised_date($row['msg_date'], $lastcom_date_fmt) . '</span>' . "<span class=\"thumb_caption\">" . bb_decode(process_smilies($row['msg_body'])) . '</span></td>';
+            }
+        }
+
+        $user_thumb = '';
+        if ($picture_count) {
+            $sql = "SELECT filepath, filename, url_prefix, pwidth, pheight " . "FROM {$CONFIG['TABLE_PICTURES']} " . "WHERE pid='" . $thumb_pid . "'";
+            $result = cpg_db_query($sql);
+            if (mysql_num_rows($result)) {
+                $picture = mysql_fetch_array($result);
+                mysql_free_result($result);
+                $pic_url =  get_pic_url($picture, 'thumb');
+                if (!is_image($picture['filename'])) {
+                        $image_info = getimagesize(urldecode($pic_url));
+                        $picture['pwidth'] = $image_info[0];
+                        $picture['pheight'] = $image_info[1];
+                }
+                $image_size = compute_img_size($picture['pwidth'], $picture['pheight'], $CONFIG['thumb_width']);
+                $mime_content = cpg_get_type($picture['filename']);
+                $user_thumb = '<img src="' . $pic_url . '" class="image"'
+                                . $image_size['geom'] . ' border="0" alt="" />';
+                $user_thumb = '<td width="50%" valign="top" align="center">'
+                            . '<a href="thumbnails.php?album=lastupby&amp;uid=' . $uid . '">'
+                            . '<span class="thumb_title">' . $lang_register_php['last_uploads'] . ' ' . $user_data['user_name'] . '<br /></span>'
+                            . $user_thumb
+                            . '</a></td>';
+            }
+        }
+
+        $quick_jump = ($user_thumb . $lastcom) ? '<table width="100%" border="0" cellspacing="5"><tr>' . $user_thumb . $lastcom . '</tr></table>' : '';
+
+        $form_data = array('username' => $user_data['user_name'],
+            'reg_date' => localised_date($user_data['user_regdate'], $register_date_fmt),
+            'group' => $user_data['group_name'],
+                        'user_profile1' => $user_data['user_profile1'],
+                        'user_profile2' => $user_data['user_profile2'],
+                        'user_profile3' => $user_data['user_profile3'],
+                        'user_profile4' => $user_data['user_profile4'],
+                        'user_profile5' => $user_data['user_profile5'],
+                        'user_profile6' => bb_decode($user_data['user_profile6']),
+                        'user_thumb' => $quick_jump,
+                        'pic_count' => $pic_count,
+            );
+
+        $title = sprintf($lang_register_php['x_s_profile'], $user_data['user_name']);
+        pageheader($title);
+        starttable(-1, $title, 2);
+        make_form($display_profile_form_param, $form_data);
+        endtable();
+        pagefooter();
+        ob_end_flush();
+        break;
+}
+
+?>
diff -x .svn -aruN 1.4.24.src/ratepic.php 1.4.25.src/ratepic.php
--- 1.4.24.src/ratepic.php	2009-05-24 05:41:13.000000000 -0500
+++ 1.4.25.src/ratepic.php	2009-05-26 11:25:52.000000000 -0500
@@ -1,107 +1,107 @@
-<?php
-/*************************
-  Coppermine Photo Gallery
-  ************************
-  Copyright (c) 2003-2009 Coppermine Dev Team
-  v1.1 originally written by Gregory DEMAR
-
-  This program is free software; you can redistribute it and/or modify
-  it under the terms of the GNU General Public License version 3
-  as published by the Free Software Foundation.
-  
-  ********************************************
-  Coppermine version: 1.4.24
-  $HeadURL: https://coppermine.svn.sourceforge.net/svnroot/coppermine/trunk/cpg1.4.x/ratepic.php $
-  $Revision: 5980 $
-  $Author: gaugau $
-  $Date: 2009-05-24 12:41:37 +0200 (So, 24 Mai 2009) $
-**********************************************/
-
-define('IN_COPPERMINE', true);
-define('RATEPIC_PHP', true);
-
-require('include/init.inc.php');
-// Check if required parameters are present
-if (!isset($_GET['pic']) || !isset($_GET['rate'])) cpg_die(CRITICAL_ERROR, $lang_errors['param_missing'], __FILE__, __LINE__);
-
-$pic = (int)$_GET['pic'];
-$rate = (int)$_GET['rate'];
-
-$rate = min($rate, 5);
-$rate = max($rate, 0);
-
-// If user does not accept script's cookies, we don't accept the vote
-if (!isset($_COOKIE[$CONFIG['cookie_name'] . '_data'])) {
-    header('Location: displayimage.php?pos=' . (- $pic));
-    exit;
-}
-
-// If referer is not displayimage.php we don't accept the vote
-if (!eregi("displayimage",$_SERVER["HTTP_REFERER"])){
-    header('Location: displayimage.php?pos=' . (- $pic));
-    exit;
-}
-
-
-// Retrieve picture/album information & check if user can rate picture
-$sql = "SELECT a.votes as votes_allowed, p.votes as votes, pic_rating, owner_id " . "FROM {$CONFIG['TABLE_PICTURES']} AS p, {$CONFIG['TABLE_ALBUMS']} AS a " . "WHERE p.aid = a.aid AND pid = '$pic' LIMIT 1";
-$result = cpg_db_query($sql);
-if (!mysql_num_rows($result)) cpg_die(CRITICAL_ERROR, $lang_errors['non_exist_ap'], __FILE__, __LINE__);
-$row = mysql_fetch_array($result);
-mysql_free_result($result);
-if (!USER_CAN_RATE_PICTURES || $row['votes_allowed'] == 'NO') cpg_die(ERROR, $lang_errors['perm_denied'], __FILE__, __LINE__);
-// Clean votes older votes
-$curr_time = time();
-$clean_before = $curr_time - $CONFIG['keep_votes_time'] * 86400;
-$sql = "DELETE " . "FROM {$CONFIG['TABLE_VOTES']} " . "WHERE vote_time < $clean_before";
-$result = cpg_db_query($sql);
-// Check if user already rated this picture
-$user_md5_id = USER_ID ? md5(USER_ID) : $USER['ID'];
-$sql = "SELECT * " . "FROM {$CONFIG['TABLE_VOTES']} " . "WHERE pic_id = '$pic' AND user_md5_id = '$user_md5_id'";
-$result = cpg_db_query($sql);
-if (mysql_num_rows($result)) cpg_die(ERROR, $lang_rate_pic_php['already_rated'], __FILE__, __LINE__);
-//Test for Self-Rating
-$user=USER_ID;
-$owner=$row['owner_id'];
-
-if (!empty($user) && $user==$owner && !USER_IS_ADMIN) cpg_die(ERROR, $lang_rate_pic_php['forbidden'], __FILE__, __LINE__);
-// Update picture rating
-$new_rating = round(($row['votes'] * $row['pic_rating'] + $rate * 2000) / ($row['votes'] + 1));
-$sql = "UPDATE {$CONFIG['TABLE_PICTURES']} " . "SET pic_rating = '$new_rating', votes = votes + 1 " . "WHERE pid = '$pic' LIMIT 1";
-$result = cpg_db_query($sql);
-// Update the votes table
-$sql = "INSERT INTO {$CONFIG['TABLE_VOTES']} " . "VALUES ('$pic', '$user_md5_id', '$curr_time')";
-$result = cpg_db_query($sql);
-
-/**
- * Code to record the details of hits for the picture if the option is set in CONFIG
- */
-if ($CONFIG['vote_details']) {
-	$client_details = cpg_determine_client();
-	// Get the details of user browser, IP, OS, etc
-	$os = $client_details['os'];
-	$browser = $client_details['browser'];
-	$time = time();
-	$referer = addslashes(htmlentities($_SERVER['HTTP_REFERER']));
-	// Insert the record in database
-	$query = "INSERT INTO {$CONFIG['TABLE_VOTE_STATS']}
-	                 SET
-	                    pid = $pic,
-	                    rating = $rate,
-	                    Ip   = '$raw_ip',
-	                    sdate = '$time',
-	                    referer = '$referer',
-	                    browser = '$browser',
-	                    os = '$os'";
-	cpg_db_query($query);
-}
-
-$location = "displayimage.php?pos=" . (- $pic);
-$header_location = (@preg_match('/Microsoft|WebSTAR|Xitami/', getenv('SERVER_SOFTWARE'))) ? 'Refresh: 0; URL=' : 'Location: ';
-header($header_location . $location);
-pageheader($lang_info, "<META http-equiv=\"refresh\" content=\"1;url=$location\">");
-msg_box($lang_info, $lang_rate_pic_php['rate_ok'], $lang_continue, $location);
-pagefooter();
-ob_end_flush();
-
-?>
+<?php
+/*************************
+  Coppermine Photo Gallery
+  ************************
+  Copyright (c) 2003-2009 Coppermine Dev Team
+  v1.1 originally written by Gregory DEMAR
+
+  This program is free software; you can redistribute it and/or modify
+  it under the terms of the GNU General Public License version 3
+  as published by the Free Software Foundation.
+  
+  ********************************************
+  Coppermine version: 1.4.25
+  $HeadURL: https://coppermine.svn.sourceforge.net/svnroot/coppermine/trunk/cpg1.4.x/ratepic.php $
+  $Revision: 5997 $
+  $Author: gaugau $
+  $Date: 2009-05-26 08:43:24 +0200 (Di, 26 Mai 2009) $
+**********************************************/
+
+define('IN_COPPERMINE', true);
+define('RATEPIC_PHP', true);
+
+require('include/init.inc.php');
+// Check if required parameters are present
+if (!isset($_GET['pic']) || !isset($_GET['rate'])) cpg_die(CRITICAL_ERROR, $lang_errors['param_missing'], __FILE__, __LINE__);
+
+$pic = (int)$_GET['pic'];
+$rate = (int)$_GET['rate'];
+
+$rate = min($rate, 5);
+$rate = max($rate, 0);
+
+// If user does not accept script's cookies, we don't accept the vote
+if (!isset($_COOKIE[$CONFIG['cookie_name'] . '_data'])) {
+    header('Location: displayimage.php?pos=' . (- $pic));
+    exit;
+}
+
+// If referer is not displayimage.php we don't accept the vote
+if (!eregi("displayimage",$_SERVER["HTTP_REFERER"])){
+    header('Location: displayimage.php?pos=' . (- $pic));
+    exit;
+}
+
+
+// Retrieve picture/album information & check if user can rate picture
+$sql = "SELECT a.votes as votes_allowed, p.votes as votes, pic_rating, owner_id " . "FROM {$CONFIG['TABLE_PICTURES']} AS p, {$CONFIG['TABLE_ALBUMS']} AS a " . "WHERE p.aid = a.aid AND pid = '$pic' LIMIT 1";
+$result = cpg_db_query($sql);
+if (!mysql_num_rows($result)) cpg_die(CRITICAL_ERROR, $lang_errors['non_exist_ap'], __FILE__, __LINE__);
+$row = mysql_fetch_array($result);
+mysql_free_result($result);
+if (!USER_CAN_RATE_PICTURES || $row['votes_allowed'] == 'NO') cpg_die(ERROR, $lang_errors['perm_denied'], __FILE__, __LINE__);
+// Clean votes older votes
+$curr_time = time();
+$clean_before = $curr_time - $CONFIG['keep_votes_time'] * 86400;
+$sql = "DELETE " . "FROM {$CONFIG['TABLE_VOTES']} " . "WHERE vote_time < $clean_before";
+$result = cpg_db_query($sql);
+// Check if user already rated this picture
+$user_md5_id = USER_ID ? md5(USER_ID) : $USER['ID'];
+$sql = "SELECT * " . "FROM {$CONFIG['TABLE_VOTES']} " . "WHERE pic_id = '$pic' AND user_md5_id = '$user_md5_id'";
+$result = cpg_db_query($sql);
+if (mysql_num_rows($result)) cpg_die(ERROR, $lang_rate_pic_php['already_rated'], __FILE__, __LINE__);
+//Test for Self-Rating
+$user=USER_ID;
+$owner=$row['owner_id'];
+
+if (!empty($user) && $user==$owner && !USER_IS_ADMIN) cpg_die(ERROR, $lang_rate_pic_php['forbidden'], __FILE__, __LINE__);
+// Update picture rating
+$new_rating = round(($row['votes'] * $row['pic_rating'] + $rate * 2000) / ($row['votes'] + 1));
+$sql = "UPDATE {$CONFIG['TABLE_PICTURES']} " . "SET pic_rating = '$new_rating', votes = votes + 1 " . "WHERE pid = '$pic' LIMIT 1";
+$result = cpg_db_query($sql);
+// Update the votes table
+$sql = "INSERT INTO {$CONFIG['TABLE_VOTES']} " . "VALUES ('$pic', '$user_md5_id', '$curr_time')";
+$result = cpg_db_query($sql);
+
+/**
+ * Code to record the details of hits for the picture if the option is set in CONFIG
+ */
+if ($CONFIG['vote_details']) {
+	$client_details = cpg_determine_client();
+	// Get the details of user browser, IP, OS, etc
+	$os = $client_details['os'];
+	$browser = $client_details['browser'];
+	$time = time();
+	$referer = addslashes(htmlentities($_SERVER['HTTP_REFERER']));
+	// Insert the record in database
+	$query = "INSERT INTO {$CONFIG['TABLE_VOTE_STATS']}
+	                 SET
+	                    pid = $pic,
+	                    rating = $rate,
+	                    Ip   = '$raw_ip',
+	                    sdate = '$time',
+	                    referer = '$referer',
+	                    browser = '$browser',
+	                    os = '$os'";
+	cpg_db_query($query);
+}
+
+$location = "displayimage.php?pos=" . (- $pic);
+$header_location = (@preg_match('/Microsoft|WebSTAR|Xitami/', getenv('SERVER_SOFTWARE'))) ? 'Refresh: 0; URL=' : 'Location: ';
+header($header_location . $location);
+pageheader($lang_info, "<META http-equiv=\"refresh\" content=\"1;url=$location\">");
+msg_box($lang_info, $lang_rate_pic_php['rate_ok'], $lang_continue, $location);
+pagefooter();
+ob_end_flush();
+
+?>
diff -x .svn -aruN 1.4.24.src/README.txt 1.4.25.src/README.txt
--- 1.4.24.src/README.txt	2009-05-21 15:03:09.000000000 -0500
+++ 1.4.25.src/README.txt	2009-05-26 11:25:52.000000000 -0500
@@ -1,89 +1,89 @@
-/*************************
-  Coppermine Photo Gallery
-  ************************
-  Copyright (c) 2003-2009 Coppermine Dev Team
-  v1.1 originaly written by Gregory DEMAR
-
-  This program is free software; you can redistribute it and/or modify
-  it under the terms of the GNU General Public License version 3
-  as published by the Free Software Foundation.
-  
-  ********************************************
-  Coppermine version: 1.4.24
-  $HeadURL: https://coppermine.svn.sourceforge.net/svnroot/coppermine/trunk/cpg1.4.x/README.txt $
-  $Revision: 5969 $
-  $Author: gaugau $
-  $Date: 2009-05-21 22:03:33 +0200 (Do, 21 Mai 2009) $
-**********************************************/
-
-CPG - Coppermine Photo Gallery Quick-Start Guide
-================================================
-
-Congratulations on downloading the most recent, most powerful, and feature rich version of Coppermine, ever. You've already made the right decision in selecting Coppermine as your photo gallery script and just about now, you're probably wondering how to get started and you want to install CPG A.S.A.P. Right? Before that, however, make another "right" decision and take some time out to read the 'fascinating' manuals (RTFM) that come with Coppermine.
-
-Look in the folder that you just extracted your Coppermine files into. In it, you'll find a folder called 'docs'. All the documentation for installation, faqs, administration, troubleshooting, modifying themes, and more is there. Familiarize yourself with the contents of the various docs to enhance your CPG experience and create the gallery that you've always dreamed about, in the least amount of time, and with the least amount of set-backs and frustration. Read it and in no time at all, your friends and relatives will be praising you and gawking at your incredible photo-gallery.
-
-Even if you are installing this as an upgrade from an older version of Coppermine, you'll still need to read the docs for directions and to understand some of the major changes between CPG 1.4x and all previous versions. You'll need to know what can and cannot be ported from your previous installation to this new version. It is important to note that upgrade installations are considerably different from update installations. For example, In version 1.3.5, an 'update' to 1.3.4, the Classic theme's theme.php script was a whopping 1487 lines long. In 1.4.x, an upgrade, it's a mere 24. Nope, this is NOT a miss-type. So where did all that code go? Read the docs. Your custom themes from previous versions will undoubtedly need some changes made to it before you can use them in this new version. So, just how do you go about doing that? RTFM!
-
-This download is a stand-alone version of Coppermine Photo Gallery if you are looking for something that integrates with a CMS (content management system), you should visit http://www.cpgnuke.com.
-
-Ok, okay, so you don't want to read the documentation. At least, "not just yet," you say. You just want to get it up and running. Poke around and see what's what. Well, you've been warned! The rest of this guide will help walk you through the basics of installing Coppermine as a fresh, stand-alone (non-upgrade) install. (If you are trying to upgrade from a previous installation of coppermine, you already know what to do - RTFM.) Ready?
-
-Let's Start!
-
-Question: Does my webserver support Coppermine?
-Answer: You need to have a webserver or webhost that provides the following:  PHP 4.2.0 or newer (PHP5 supported), and MySQL 3.23.23 or newer (MySQL 4.1 is recommended, MySQL 5 is supported).  You also need either GD 1.xx or 2.xx (2.xx recommended) or ImageMagick installed.  GD normally comes bundled with PHP;ImageMagick must be installed by your webhost.
-
-Question: Where can I find out that stuff?
-Answer: Ask your webhost, they should be able to tell you. You can also create a file called phpinfo.php, upload it to your website and enter www.yoursite.com/phpinfo.php in your browser, run it and see what versions of the above requirements you have. Only your host, however, can tell you the exact location of ImageMagick's convert utility, if it's available, at all.
-
-To create your phpinfo file, copy the following into a text file and save the file as phpinfo.php.
-
-    <?php
-    phpinfo();
-    ?>
-
-Question: Where do I put all these files?
-Answer: You could put them in your root directory (not recommended) or upload the coppermine directory to your website. If you are uncertain about where exactly to upload it,ask your webhost into what folder you need to upload your html and other script files. We recommend uploading the directory cpg14x (and all the files contained within) directly to your webhost's recommended folder and renaming to your liking after the upload is complete. Compare your uploaded files with your coppermine package. Make sure all the files were successfully uploaded.
-
-Question: Ok, I uploaded everything to www.yoursite.com/cpg14x. Now what?
-Answer: You need to change permissions on a few directories before you can do anything else. Using your FTP program or website Control Panel, change permissions on the: "include", "albums", "albums/userpics", and "albums/edit" directories to 777. You should also create a new directory in albums that you will FTP your images/files into (name it "uploads" or any thing that catches your fancy -just no spaces or funny diacritical symbols, please.) and set it's permissions to '777' also. Some server set-ups will not work with chmod '777'. In which case, you should use '755'. (Confused? Don't know what CHMODE is? You've been warned, need we say more?)
-
-Question: I changed the permissions. What's next?
-Answer: You need to create a MySQL database. Using your website Control Panel or a tool like phpMyAdmin, create a MySQL database. Write down the database name, the username and password  you'll need it to successfully install Coppermine. If you already have a database you're using for a BBS or something else, that'll work just as well. You can use that database for Coppermine, too. If you have a BBS and plan to connect it to Coppermine install, you'll need to share the database anyway.
-
-Question: My files are in place, permissions are set, and I have my MySQL database information. What's the next step?
-Answer: Read the... (Oops, sorry.)  Now you have to run the Coppermine install. Launch your web browser and enter http://www.yousite.com/coppermine/install.php and fill in the information that is requested. If you have never used ImageMagick before, leave that line blank during the install process. You can always add that information after you have Coppermine up and running.
-
-Question: Screen went blank! Suddenly there are error messages popping up all over the place! My webhost, crashed! What do I do?
-Answer: Read the documentation! If you haven't done so already, you're not going anywhere, anyway, so here's the perfect opportunity. We can wait. Chances are, you'll find the answers you need, there. All we can say at this point is that if your server crashed, it probably wasn't your install and it wasn't our fault. It was just a coincidence. Wait till it's up and running again and try the installation again. If, however, you really can't find the answers you need in the documents, go to http://coppermine.sourceforge.net and review the support boards. Spend a little time looking around and search for your problem. Thousands have gone before you, so a solution for your installation issues have probably been posted, already. (HINT: search using the exact error message you see on your screen.)
-
-Question: Ha! Ha! Got You! It's installed and working! Now what?
-Answer: 1) Wipe that smile off your face. 2) Read the docs, anyway -- twice. 3) You'll need to look at the configuration of Coppermine to make sure it's set up the way you want it. Log in as the admin, if you aren't already logged in. Enter Admin Mode - (if the 'Admin Mode' menu link isn't visible, you are already logged in). Click on the Config button. These are a few of the things you should pay close attention to:
-
-* General Settings: You should put in your site name and email address, and set your GMT time zone offset.
-* Language, Themes & Charset settings: Choose your default language.
-* Files and thumbnails settings: Set the max size for uploaded files to whatever size you prefer in kilobytes . The default setting is 1024kb. Make sure that this maximum file size is within the maximum allowed by your webhost. While you are at it, you should also set the "max width or height for uploaded pictures/videos (pixels)"  this will prevent your users from uploading images that are larger than what is desireable. If you would like Coppermine to automatically resize images that are larger than what you've designated in the Config settings, set "auto resize images that are larger than max width or height" to either: "Yes:Everyone" or "Yes:User only". "Everyone" means everybody, including when the administrator(you) batch-adds pictures, and User means just your gallery members when they upload pictures.
-* Files and thumbnails advanced settings: Make sure you have the correct image manipulation software selected. If you are using GD, you should select GD2 if available on your webserver. If you plan to use ImageMagick you should put in the path now to the binaries (make sure it ends with a trailing slash "/"). Do you want to allow your members to be able to create private albums? If you do, be sure to set "Users can have private albums" to 'Yes'.
-* User settings: If you plan to let people register and upload pictures, make certain that you set "Allow new user registrations" to 'Yes'.
-* You also want to take a peek at the groups settings. Coppermine comes with four groups by default: administrators, registered users, anonymous users, and banned users. This is where you control permissions to send e-cards, upload files, etc. This is also where you can set the maximum allowed disk space for each group (disk quota). It's set to 1024kb by default.
-
-Question: I think everything is set correctly. Can I upload pictures yet?
-Answer: No. First you need to create an album to put them in. In the same row as the Config link or button, you'll see a link called Albums. Click on it and you are taken to a screen that allows you to create an album. Click "New Album", then rename it to whatever you'd like. Click "Apply changes" and presto! You now have an album.
-
-Question: I made an album, so now can I upload pictures?
-Answer: Yes. As the admin, you should use an FTP program to upload your pictures to your website, then do a batch-add to put them into your Coppermine database. Back at the beginning of this guide I told you to create a directory in albums for just this purpose. Let's say you made one called "uploads". FTP your images to your albums/uploads folder. When that's done, click on batch-add. Select uploads as the directory. You are now presented with a list of all the pictures you just uploaded. By default Coppermine selects all of the images. Select the album (uploads) to put them into, then click Go. You now have an online gallery with pictures to look at! Aren't you amazing!
-
-Question: Now, can I add a title to a picture?
-Answer: Yes you can. On the main Coppermine screen, when you are logged in as an admin, you'll see a number of options listed next to the album. If you click on "edit files" you will be able to add all sorts of information to each picture.
-
-Question: I can delete the original pictures now, right? After all, they are in the database, right?
-Answer: Wrong! Coppermine doesn't actually put the pictures into the database. It just uses the database to remember where the pictures are stored on the webserver, what album and category they belong to, and other information related to the pictures. If you delete the original picture, it will cause a bunch of errors. If you want to delete the original, read the documentation on what the Admin Tools are for and can do for you. You should never delete anything using your webhost tools or ftp program that can be handled internally with coppermine. Doing so can lead to a host of mysql database errors.
-
-You are now successfully running Coppermine on your website! Now take a few minutes to read the documentation so you'll know how to administer your gallery. Coppermine is very powerful and can do a lot more than what you probably thought was possible.
-
-Experiment with it with just a few pictures, categories, and albums at first. Set it up exactly the way you want it before adding a bunch of pictures. Most of all have a good time! Oh yeah, and don't forget, RTFM!
-
-
-The Coppermine Dev Team
+/*************************
+  Coppermine Photo Gallery
+  ************************
+  Copyright (c) 2003-2009 Coppermine Dev Team
+  v1.1 originaly written by Gregory DEMAR
+
+  This program is free software; you can redistribute it and/or modify
+  it under the terms of the GNU General Public License version 3
+  as published by the Free Software Foundation.
+  
+  ********************************************
+  Coppermine version: 1.4.25
+  $HeadURL: https://coppermine.svn.sourceforge.net/svnroot/coppermine/trunk/cpg1.4.x/README.txt $
+  $Revision: 5997 $
+  $Author: gaugau $
+  $Date: 2009-05-26 08:43:24 +0200 (Di, 26 Mai 2009) $
+**********************************************/
+
+CPG - Coppermine Photo Gallery Quick-Start Guide
+================================================
+
+Congratulations on downloading the most recent, most powerful, and feature rich version of Coppermine, ever. You've already made the right decision in selecting Coppermine as your photo gallery script and just about now, you're probably wondering how to get started and you want to install CPG A.S.A.P. Right? Before that, however, make another "right" decision and take some time out to read the 'fascinating' manuals (RTFM) that come with Coppermine.
+
+Look in the folder that you just extracted your Coppermine files into. In it, you'll find a folder called 'docs'. All the documentation for installation, faqs, administration, troubleshooting, modifying themes, and more is there. Familiarize yourself with the contents of the various docs to enhance your CPG experience and create the gallery that you've always dreamed about, in the least amount of time, and with the least amount of set-backs and frustration. Read it and in no time at all, your friends and relatives will be praising you and gawking at your incredible photo-gallery.
+
+Even if you are installing this as an upgrade from an older version of Coppermine, you'll still need to read the docs for directions and to understand some of the major changes between CPG 1.4x and all previous versions. You'll need to know what can and cannot be ported from your previous installation to this new version. It is important to note that upgrade installations are considerably different from update installations. For example, In version 1.3.5, an 'update' to 1.3.4, the Classic theme's theme.php script was a whopping 1487 lines long. In 1.4.x, an upgrade, it's a mere 24. Nope, this is NOT a miss-type. So where did all that code go? Read the docs. Your custom themes from previous versions will undoubtedly need some changes made to it before you can use them in this new version. So, just how do you go about doing that? RTFM!
+
+This download is a stand-alone version of Coppermine Photo Gallery if you are looking for something that integrates with a CMS (content management system), you should visit http://www.cpgnuke.com.
+
+Ok, okay, so you don't want to read the documentation. At least, "not just yet," you say. You just want to get it up and running. Poke around and see what's what. Well, you've been warned! The rest of this guide will help walk you through the basics of installing Coppermine as a fresh, stand-alone (non-upgrade) install. (If you are trying to upgrade from a previous installation of coppermine, you already know what to do - RTFM.) Ready?
+
+Let's Start!
+
+Question: Does my webserver support Coppermine?
+Answer: You need to have a webserver or webhost that provides the following:  PHP 4.2.0 or newer (PHP5 supported), and MySQL 3.23.23 or newer (MySQL 4.1 is recommended, MySQL 5 is supported).  You also need either GD 1.xx or 2.xx (2.xx recommended) or ImageMagick installed.  GD normally comes bundled with PHP;ImageMagick must be installed by your webhost.
+
+Question: Where can I find out that stuff?
+Answer: Ask your webhost, they should be able to tell you. You can also create a file called phpinfo.php, upload it to your website and enter www.yoursite.com/phpinfo.php in your browser, run it and see what versions of the above requirements you have. Only your host, however, can tell you the exact location of ImageMagick's convert utility, if it's available, at all.
+
+To create your phpinfo file, copy the following into a text file and save the file as phpinfo.php.
+
+    <?php
+    phpinfo();
+    ?>
+
+Question: Where do I put all these files?
+Answer: You could put them in your root directory (not recommended) or upload the coppermine directory to your website. If you are uncertain about where exactly to upload it,ask your webhost into what folder you need to upload your html and other script files. We recommend uploading the directory cpg14x (and all the files contained within) directly to your webhost's recommended folder and renaming to your liking after the upload is complete. Compare your uploaded files with your coppermine package. Make sure all the files were successfully uploaded.
+
+Question: Ok, I uploaded everything to www.yoursite.com/cpg14x. Now what?
+Answer: You need to change permissions on a few directories before you can do anything else. Using your FTP program or website Control Panel, change permissions on the: "include", "albums", "albums/userpics", and "albums/edit" directories to 777. You should also create a new directory in albums that you will FTP your images/files into (name it "uploads" or any thing that catches your fancy -just no spaces or funny diacritical symbols, please.) and set it's permissions to '777' also. Some server set-ups will not work with chmod '777'. In which case, you should use '755'. (Confused? Don't know what CHMODE is? You've been warned, need we say more?)
+
+Question: I changed the permissions. What's next?
+Answer: You need to create a MySQL database. Using your website Control Panel or a tool like phpMyAdmin, create a MySQL database. Write down the database name, the username and password  you'll need it to successfully install Coppermine. If you already have a database you're using for a BBS or something else, that'll work just as well. You can use that database for Coppermine, too. If you have a BBS and plan to connect it to Coppermine install, you'll need to share the database anyway.
+
+Question: My files are in place, permissions are set, and I have my MySQL database information. What's the next step?
+Answer: Read the... (Oops, sorry.)  Now you have to run the Coppermine install. Launch your web browser and enter http://www.yousite.com/coppermine/install.php and fill in the information that is requested. If you have never used ImageMagick before, leave that line blank during the install process. You can always add that information after you have Coppermine up and running.
+
+Question: Screen went blank! Suddenly there are error messages popping up all over the place! My webhost, crashed! What do I do?
+Answer: Read the documentation! If you haven't done so already, you're not going anywhere, anyway, so here's the perfect opportunity. We can wait. Chances are, you'll find the answers you need, there. All we can say at this point is that if your server crashed, it probably wasn't your install and it wasn't our fault. It was just a coincidence. Wait till it's up and running again and try the installation again. If, however, you really can't find the answers you need in the documents, go to http://coppermine.sourceforge.net and review the support boards. Spend a little time looking around and search for your problem. Thousands have gone before you, so a solution for your installation issues have probably been posted, already. (HINT: search using the exact error message you see on your screen.)
+
+Question: Ha! Ha! Got You! It's installed and working! Now what?
+Answer: 1) Wipe that smile off your face. 2) Read the docs, anyway -- twice. 3) You'll need to look at the configuration of Coppermine to make sure it's set up the way you want it. Log in as the admin, if you aren't already logged in. Enter Admin Mode - (if the 'Admin Mode' menu link isn't visible, you are already logged in). Click on the Config button. These are a few of the things you should pay close attention to:
+
+* General Settings: You should put in your site name and email address, and set your GMT time zone offset.
+* Language, Themes & Charset settings: Choose your default language.
+* Files and thumbnails settings: Set the max size for uploaded files to whatever size you prefer in kilobytes . The default setting is 1024kb. Make sure that this maximum file size is within the maximum allowed by your webhost. While you are at it, you should also set the "max width or height for uploaded pictures/videos (pixels)"  this will prevent your users from uploading images that are larger than what is desireable. If you would like Coppermine to automatically resize images that are larger than what you've designated in the Config settings, set "auto resize images that are larger than max width or height" to either: "Yes:Everyone" or "Yes:User only". "Everyone" means everybody, including when the administrator(you) batch-adds pictures, and User means just your gallery members when they upload pictures.
+* Files and thumbnails advanced settings: Make sure you have the correct image manipulation software selected. If you are using GD, you should select GD2 if available on your webserver. If you plan to use ImageMagick you should put in the path now to the binaries (make sure it ends with a trailing slash "/"). Do you want to allow your members to be able to create private albums? If you do, be sure to set "Users can have private albums" to 'Yes'.
+* User settings: If you plan to let people register and upload pictures, make certain that you set "Allow new user registrations" to 'Yes'.
+* You also want to take a peek at the groups settings. Coppermine comes with four groups by default: administrators, registered users, anonymous users, and banned users. This is where you control permissions to send e-cards, upload files, etc. This is also where you can set the maximum allowed disk space for each group (disk quota). It's set to 1024kb by default.
+
+Question: I think everything is set correctly. Can I upload pictures yet?
+Answer: No. First you need to create an album to put them in. In the same row as the Config link or button, you'll see a link called Albums. Click on it and you are taken to a screen that allows you to create an album. Click "New Album", then rename it to whatever you'd like. Click "Apply changes" and presto! You now have an album.
+
+Question: I made an album, so now can I upload pictures?
+Answer: Yes. As the admin, you should use an FTP program to upload your pictures to your website, then do a batch-add to put them into your Coppermine database. Back at the beginning of this guide I told you to create a directory in albums for just this purpose. Let's say you made one called "uploads". FTP your images to your albums/uploads folder. When that's done, click on batch-add. Select uploads as the directory. You are now presented with a list of all the pictures you just uploaded. By default Coppermine selects all of the images. Select the album (uploads) to put them into, then click Go. You now have an online gallery with pictures to look at! Aren't you amazing!
+
+Question: Now, can I add a title to a picture?
+Answer: Yes you can. On the main Coppermine screen, when you are logged in as an admin, you'll see a number of options listed next to the album. If you click on "edit files" you will be able to add all sorts of information to each picture.
+
+Question: I can delete the original pictures now, right? After all, they are in the database, right?
+Answer: Wrong! Coppermine doesn't actually put the pictures into the database. It just uses the database to remember where the pictures are stored on the webserver, what album and category they belong to, and other information related to the pictures. If you delete the original picture, it will cause a bunch of errors. If you want to delete the original, read the documentation on what the Admin Tools are for and can do for you. You should never delete anything using your webhost tools or ftp program that can be handled internally with coppermine. Doing so can lead to a host of mysql database errors.
+
+You are now successfully running Coppermine on your website! Now take a few minutes to read the documentation so you'll know how to administer your gallery. Coppermine is very powerful and can do a lot more than what you probably thought was possible.
+
+Experiment with it with just a few pictures, categories, and albums at first. Set it up exactly the way you want it before adding a bunch of pictures. Most of all have a good time! Oh yeah, and don't forget, RTFM!
+
+
+The Coppermine Dev Team
 http://coppermine-gallery.net
\ No newline at end of file
diff -x .svn -aruN 1.4.24.src/register.php 1.4.25.src/register.php
--- 1.4.24.src/register.php	2009-05-21 15:03:09.000000000 -0500
+++ 1.4.25.src/register.php	2009-05-26 11:25:52.000000000 -0500
@@ -1,383 +1,383 @@
-<?php
-/*************************
-  Coppermine Photo Gallery
-  ************************
-  Copyright (c) 2003-2009 Coppermine Dev Team
-  v1.1 originally written by Gregory DEMAR
-
-  This program is free software; you can redistribute it and/or modify
-  it under the terms of the GNU General Public License version 3
-  as published by the Free Software Foundation.
-  
-  ********************************************
-  Coppermine version: 1.4.24
-  $HeadURL: https://coppermine.svn.sourceforge.net/svnroot/coppermine/trunk/cpg1.4.x/register.php $
-  $Revision: 5969 $
-  $Author: gaugau $
-  $Date: 2009-05-21 22:03:33 +0200 (Do, 21 Mai 2009) $
-**********************************************/
-
-define('IN_COPPERMINE', true);
-define('REGISTER_PHP', true);
-
-require('include/init.inc.php');
-require('include/mailer.inc.php');
-
-if (!$CONFIG['allow_user_registration']) cpg_die(ERROR, $lang_errors['access_denied'], __FILE__, __LINE__);
-
-if (defined('UDB_INTEGRATION')) $cpg_udb->register_page();
-// Display the disclaimer
-function display_disclaimer()
-{
-    global $CONFIG; //, $PHP_SELF;
-    global $lang_register_disclamer, $lang_register_php;
-
-    echo <<<EOT
-        <form method="post" action="{$_SERVER['PHP_SELF']}">
-EOT;
-    starttable(-1, $lang_register_php['term_cond']);
-    echo <<<EOT
-        <tr>
-                <td class="tableb" style="padding: 10px;">
-
-EOT;
-    echo str_replace('{SITE_NAME}', $CONFIG['gallery_name'], $lang_register_disclamer);
-
-    echo <<<EOT
-                </td>
-        </tr>
-        <tr>
-                <td colspan="2" align="center" class="tablef">
-                        <input type="submit" name="agree" value="{$lang_register_php['i_agree']}" class="button" />
-                </td>
-        </tr>
-
-EOT;
-    endtable();
-    print '</form>';
-}
-
-function input_user_info($errors = '')
-{
-    global $CONFIG; //, $PHP_SELF;
-    global $lang_register_php;
-
-    echo <<<EOT
-        <form method="post" action="{$_SERVER['PHP_SELF']}">
-
-EOT;
-    starttable(-1, $lang_register_php['enter_info'], 2);
-
-    $form_data = array(
-        array('label', $lang_register_php['required_info']),
-        array('input', 'username', $lang_register_php['username'], 25),
-        array('password', 'password', $lang_register_php['password'], 25),
-        array('password', 'password_verification', $lang_register_php['password_again'], 25),
-        array('input', 'email', $lang_register_php['email'], 255),
-        array('label', $lang_register_php['optional_info']),
-                array('input', 'user_profile1', $CONFIG['user_profile1_name'], 255),
-                array('input', 'user_profile2', $CONFIG['user_profile2_name'], 255),
-                array('input', 'user_profile3', $CONFIG['user_profile3_name'], 255),
-                array('input', 'user_profile4', $CONFIG['user_profile4_name'], 255),
-                array('input', 'user_profile5', $CONFIG['user_profile5_name'], 255),
-                array('textarea', 'user_profile6', $CONFIG['user_profile6_name'], 255)
-        );
-
-    foreach ($form_data as $element) switch ($element[0]) {
-        case 'label' :
-            echo <<<EOT
-        <tr>
-            <td colspan="2" class="tableh2">
-                        <b>{$element[1]}</b>
-        </td>
-        </tr>
-
-EOT;
-            break;
-
-        case 'input' :
-            if (isset($_POST[$element[1]])) {
-                $value = $_POST[$element[1]];
-            } else {
-                $value = '';
-            }
-            if ($element[2]) echo <<<EOT
-        <tr>
-            <td width="40%" class="tableb"  height="25">
-                        {$element[2]}
-        </td>
-        <td width="60%" class="tableb" valign="top">
-                <input type="text" style="width: 100%" name="{$element[1]}" maxlength="{$element[3]}" value="$value" class="textinput" />
-                </td>
-        </tr>
-
-EOT;
-            break;
-
-        case 'radio' :
-            // added the radio option for possible future use. The array definition would have to look like this:
-            // array('radio', 'user_var', 'Text label', 'option 1','option 2'),
-            // enabling this option requires changes in profile.php and usermgr.php as well
-            if (isset($_POST[$element[1]])) {
-                $value = $_POST[$element[1]];
-            } else {
-                $value = '';
-            }
-            if ($element[2]) echo <<<EOT
-        <tr>
-            <td width="40%" class="tableb"  height="25">
-                        {$element[2]}
-        </td>
-        <td width="60%" class="tableb" valign="top">
-                <input type="radio" name="{$element[1]}" id="{$element[1]}1" value="{$element[3]}" class="radio" /><label for="{$element[1]}1" class="clickable_option">{$element[3]}</label>
-                <input type="radio" name="{$element[1]}" id="{$element[1]}2" value="{$element[4]}" class="radio" /><label for="{$element[1]}2" class="clickable_option">{$element[4]}</label>
-                </td>
-        </tr>
-
-EOT;
-            break;
-
-        case 'textarea' :
-            if (isset($_POST[$element[1]])) {
-                $value = $_POST[$element[1]];
-            } else {
-                $value = '';
-            }
-           if ($element[2]) echo <<<EOT
-        <tr>
-            <td width="40%" class="tableb"  height="25">
-                        {$element[2]}
-        </td>
-        <td width="60%" class="tableb" valign="top">
-                <textarea name="{$element[1]}" rows="7" cols="60" class="textinput" style="width:100%">$value</textarea>
-                </td>
-        </tr>
-
-
-EOT;
-            break;
-
-        case 'password' :
-            echo <<<EOT
-        <tr>
-            <td width="40%" class="tableb"  height="25">
-                        {$element[2]}
-        </td>
-        <td width="60%" class="tableb" valign="top">
-                <input type="password" style="width: 100%" name="{$element[1]}" maxlength="{$element[3]}" value="" class="textinput" />
-                </td>
-        </tr>
-
-EOT;
-            break;
-
-        default:
-            cpg_die(CRITICAL_ERROR, 'Invalid action for form creation ' . $element[0], __FILE__, __LINE__);
-    }
-
-    if ($errors) {
-        echo <<<EOT
-        <tr>
-                <td colspan="2" class="tableh2" align="center">
-                        <b>&#149;&nbsp;&#149;&nbsp;&#149;&nbsp;{$lang_register_php['error']}&nbsp;&#149;&nbsp;&#149;&nbsp;&#149;</b>
-                </td>
-        </tr>
-        <tr>
-                <td colspan="2" class="tableb">
-                        <ul>$errors</ul>
-                </td>
-        </tr>
-
-EOT;
-    }
-    echo <<<EOT
-        <tr>
-                <td colspan="2" align="center" class="tablef">
-                        <input type="submit" name="submit" value="{$lang_register_php['submit']}" class="button" />
-                </td>
-        </tr>
-
-EOT;
-    endtable();
-    print '</form>';
-}
-
-function get_post_var($var)
-{
-    global $lang_errors;
-
-    if (!isset($_POST[$var])) cpg_die(CRITICAL_ERROR, $lang_errors['param_missing'] . " ($var)", __FILE__, __LINE__);
-    return trim($_POST[$var]);
-}
-
-function check_user_info(&$error)
-{
-    global $CONFIG; //, $PHP_SELF;
-    global $lang_register_php, $lang_register_confirm_email, $lang_continue, $lang_register_approve_email, $lang_register_activated_email, $lang_register_user_login;
-                //$CONFIG['admin_activation'] = FALSE;
-                //$CONFIG['admin_activation'] = TRUE;
-
-    $user_name = trim(get_post_var('username'));
-    $password = trim(get_post_var('password'));
-    $password_again = trim(get_post_var('password_verification'));
-    $email = trim(get_post_var('email'));
-        $profile1 = addslashes($_POST['user_profile1']);
-        $profile2 = addslashes($_POST['user_profile2']);
-        $profile3 = addslashes($_POST['user_profile3']);
-        $profile4 = addslashes($_POST['user_profile4']);
-        $profile5 = addslashes($_POST['user_profile5']);
-        $profile6 = addslashes($_POST['user_profile6']);
-
-    $sql = "SELECT user_id " . "FROM {$CONFIG['TABLE_USERS']} " . "WHERE user_name = '" . addslashes($user_name) . "'";
-    $result = cpg_db_query($sql);
-
-    if (mysql_num_rows($result)) {
-        $error = '<li>' . $lang_register_php['err_user_exists'];
-        return false;
-    }
-    mysql_free_result($result);
-
-    if (utf_strlen($user_name) < 2) $error .= '<li>' . $lang_register_php['err_uname_short'];
-    if (utf_strlen($password) < 2) $error .= '<li>' . $lang_register_php['err_password_short'];
-    if ($password == $user_name) $error .= '<li>' . $lang_register_php['err_uname_pass_diff'];
-    if ($password != $password_again) $error .= '<li>' . $lang_register_php['err_password_mismatch'];
-
-    if (!eregi("^[_\.0-9a-z\-]+@([0-9a-z][0-9a-z-]+\.)+[a-z]{2,6}$", $email)) $error .= '<li>' . $lang_register_php['err_invalid_email'];
-
-    if ($error != '') return false;
-
-    if (!$CONFIG['allow_duplicate_emails_addr']) {
-        $sql = "SELECT user_id " . "FROM {$CONFIG['TABLE_USERS']} " . "WHERE user_email = '" . addslashes($email) . "'";
-        $result = cpg_db_query($sql);
-
-        if (mysql_num_rows($result)) {
-            $error = '<li>' . $lang_register_php['err_duplicate_email'];
-            return false;
-        }
-
-        mysql_free_result($result);
-    }
-
-    if ($CONFIG['reg_requires_valid_email'] || $CONFIG['admin_activation']) {
-        $active = 'NO';
-        list($usec, $sec) = explode(' ', microtime());
-        $seed = (float) $sec + ((float) $usec * 100000);
-        srand($seed);
-        $act_key = md5(uniqid(rand(), 1));
-    } else {
-        $active = 'YES';
-        $act_key = '';
-    }
-
-                if ($CONFIG['enable_encrypted_passwords']) {
-                        $encpassword = md5($password);
-                } else {
-                        $encpassword = $password;
-                }
-
-    $sql = "INSERT INTO {$CONFIG['TABLE_USERS']} ".
-           "(user_regdate, user_active, user_actkey, user_name, user_password, user_email, user_profile1, user_profile2, user_profile3, user_profile4, user_profile5, user_profile6) ".
-           "VALUES (NOW(), '$active', '$act_key', '" . addslashes($user_name) . "', '" . addslashes($encpassword) . "', '" . addslashes($email) . "', '$profile1', '$profile2', '$profile3', '$profile4', '$profile5', '$profile6')";
-    if ($CONFIG['log_mode']) {
-        log_write('New user "'.addslashes($user_name).'" created on '.date("F j, Y, g:i a"),CPG_ACCESS_LOG);
-    }
-    $result = cpg_db_query($sql);
-
-    if ($CONFIG['reg_requires_valid_email']) {
-        if (!$CONFIG['admin_activation']==1) { //user gets activation email
-                                        $act_link = rtrim($CONFIG['site_url'], '/') . '/register.php?activate=' . $act_key;
-                                        $template_vars = array(
-                                                        '{SITE_NAME}' => $CONFIG['gallery_name'],
-                                                        '{USER_NAME}' => $user_name,
-                                                        '{ACT_LINK}' => $act_link
-            );
-                                        if (!cpg_mail($email, sprintf($lang_register_php['confirm_email_subject'], $CONFIG['gallery_name']), nl2br(strtr($lang_register_confirm_email, $template_vars)))) {
-                                                        cpg_die(CRITICAL_ERROR, $lang_register_php['failed_sending_email'], __FILE__, __LINE__);
-                                        }
-                                }
-        if ($CONFIG['admin_activation']==1) {
-                                        msg_box($lang_register_php['information'], $lang_register_php['thank_you_admin_activation'], $lang_continue, 'index.php');
-                                } else {
-                                        msg_box($lang_register_php['information'], $lang_register_php['thank_you'], $lang_continue, 'index.php');
-                                }
-    } else {
-                                        msg_box($lang_register_php['information'], $lang_register_php['acct_active'], $lang_continue, 'index.php');
-    }
-
-    // email notification to admin
-        if ($CONFIG['reg_notify_admin_email']) {
-
-                        // get default language in which to inform the admin
-                        $lang_register_php_def = cpg_get_default_lang_var('lang_register_php');
-                        $lang_register_approve_email_def = cpg_get_default_lang_var('lang_register_approve_email');
-
-                                        if ($CONFIG['admin_activation']==1) {
-                                                        $act_link = rtrim($CONFIG['site_url'], '/') . '/register.php?activate=' . $act_key;
-                                                        $template_vars = array(
-                                                                        '{SITE_NAME}' => $CONFIG['gallery_name'],
-                                                                        '{USER_NAME}' => $user_name,
-                                                                        '{ACT_LINK}' => $act_link,
-                                                        );
-                                                        cpg_mail('admin', sprintf($lang_register_php_def['notify_admin_request_email_subject'], $CONFIG['gallery_name']), nl2br(strtr($lang_register_approve_email_def, $template_vars)));
-                                        } else {
-                                                        cpg_mail('admin', sprintf($lang_register_php_def['notify_admin_email_subject'], $CONFIG['gallery_name']), sprintf($lang_register_php_def['notify_admin_email_body'], $user_name));
-                }
-                                }
-
-    return true;
-}
-
-if (isset($_GET['activate'])) {
-                //$CONFIG['admin_activation'] = FALSE;
-                //$CONFIG['admin_activation'] = TRUE;
-
-    $act_key = addslashes(substr($_GET['activate'], 0 , 32));
-    if (strlen($act_key) != 32) cpg_die(ERROR, $lang_register_php['acct_act_failed'], __FILE__, __LINE__);
-
-    $sql = "SELECT user_active user_active, user_email, user_name, user_password " . "FROM {$CONFIG['TABLE_USERS']} " . "WHERE user_actkey = '$act_key' " . "LIMIT 1";
-    $result = cpg_db_query($sql);
-    if (!mysql_num_rows($result)) cpg_die(ERROR, $lang_register_php['acct_act_failed'], __FILE__, __LINE__);
-
-    $row = mysql_fetch_array($result);
-    mysql_free_result($result);
-
-    if ($row['user_active'] == 'YES') cpg_die(ERROR, $lang_register_php['acct_already_act'], __FILE__, __LINE__);
-
-    pageheader($lang_register_php['page_title']);
-    $email = $row['user_email'];
-    $user_name = $row['user_name'];
-    $password = $row['user_password'];
-
-    $sql = "UPDATE {$CONFIG['TABLE_USERS']} " . "SET user_active = 'YES' " . "WHERE user_actkey = '$act_key' " . "LIMIT 1";
-    $result = cpg_db_query($sql);
-
-                if ($CONFIG['admin_activation']==1) { //after admin approves, user receives email notification
-                        msg_box($lang_register_php['information'], $lang_register_php['acct_active_admin_activation'], $lang_continue, 'index.php');
-                        $site_link = $CONFIG['site_url'];
-                        $template_vars = array(
-                         '{SITE_LINK}' => $site_link,
-                         '{USER_NAME}' => $user_name,
-                         '{PASSWORD}' => $password,
-                         '{SITE_NAME}' => $CONFIG['gallery_name'],
-                                );
-                        cpg_mail($email, sprintf($lang_register_php['notify_user_email_subject'], $CONFIG['gallery_name']), nl2br(strtr($lang_register_activated_email, $template_vars)));
-                } else { //user self-activated, gets message box that account was activated
-                        msg_box($lang_register_php['information'], $lang_register_php['acct_active'], $lang_continue, 'index.php');
-                }
-} else {
-  pageheader($lang_register_php['page_title']);
-  if (isset($_POST['agree'])) {
-    input_user_info();
-  } elseif (isset($_POST['submit'])) {
-    $errors = '';
-    if (!check_user_info($errors)) {
-      input_user_info($errors);
-    }
-  } else {
-    display_disclaimer();
-  }
-}
-pagefooter();
-ob_end_flush();
-
-?>
+<?php
+/*************************
+  Coppermine Photo Gallery
+  ************************
+  Copyright (c) 2003-2009 Coppermine Dev Team
+  v1.1 originally written by Gregory DEMAR
+
+  This program is free software; you can redistribute it and/or modify
+  it under the terms of the GNU General Public License version 3
+  as published by the Free Software Foundation.
+  
+  ********************************************
+  Coppermine version: 1.4.25
+  $HeadURL: https://coppermine.svn.sourceforge.net/svnroot/coppermine/trunk/cpg1.4.x/register.php $
+  $Revision: 5997 $
+  $Author: gaugau $
+  $Date: 2009-05-26 08:43:24 +0200 (Di, 26 Mai 2009) $
+**********************************************/
+
+define('IN_COPPERMINE', true);
+define('REGISTER_PHP', true);
+
+require('include/init.inc.php');
+require('include/mailer.inc.php');
+
+if (!$CONFIG['allow_user_registration']) cpg_die(ERROR, $lang_errors['access_denied'], __FILE__, __LINE__);
+
+if (defined('UDB_INTEGRATION')) $cpg_udb->register_page();
+// Display the disclaimer
+function display_disclaimer()
+{
+    global $CONFIG; //, $PHP_SELF;
+    global $lang_register_disclamer, $lang_register_php;
+
+    echo <<<EOT
+        <form method="post" action="{$_SERVER['PHP_SELF']}">
+EOT;
+    starttable(-1, $lang_register_php['term_cond']);
+    echo <<<EOT
+        <tr>
+                <td class="tableb" style="padding: 10px;">
+
+EOT;
+    echo str_replace('{SITE_NAME}', $CONFIG['gallery_name'], $lang_register_disclamer);
+
+    echo <<<EOT
+                </td>
+        </tr>
+        <tr>
+                <td colspan="2" align="center" class="tablef">
+                        <input type="submit" name="agree" value="{$lang_register_php['i_agree']}" class="button" />
+                </td>
+        </tr>
+
+EOT;
+    endtable();
+    print '</form>';
+}
+
+function input_user_info($errors = '')
+{
+    global $CONFIG; //, $PHP_SELF;
+    global $lang_register_php;
+
+    echo <<<EOT
+        <form method="post" action="{$_SERVER['PHP_SELF']}">
+
+EOT;
+    starttable(-1, $lang_register_php['enter_info'], 2);
+
+    $form_data = array(
+        array('label', $lang_register_php['required_info']),
+        array('input', 'username', $lang_register_php['username'], 25),
+        array('password', 'password', $lang_register_php['password'], 25),
+        array('password', 'password_verification', $lang_register_php['password_again'], 25),
+        array('input', 'email', $lang_register_php['email'], 255),
+        array('label', $lang_register_php['optional_info']),
+                array('input', 'user_profile1', $CONFIG['user_profile1_name'], 255),
+                array('input', 'user_profile2', $CONFIG['user_profile2_name'], 255),
+                array('input', 'user_profile3', $CONFIG['user_profile3_name'], 255),
+                array('input', 'user_profile4', $CONFIG['user_profile4_name'], 255),
+                array('input', 'user_profile5', $CONFIG['user_profile5_name'], 255),
+                array('textarea', 'user_profile6', $CONFIG['user_profile6_name'], 255)
+        );
+
+    foreach ($form_data as $element) switch ($element[0]) {
+        case 'label' :
+            echo <<<EOT
+        <tr>
+            <td colspan="2" class="tableh2">
+                        <b>{$element[1]}</b>
+        </td>
+        </tr>
+
+EOT;
+            break;
+
+        case 'input' :
+            if (isset($_POST[$element[1]])) {
+                $value = $_POST[$element[1]];
+            } else {
+                $value = '';
+            }
+            if ($element[2]) echo <<<EOT
+        <tr>
+            <td width="40%" class="tableb"  height="25">
+                        {$element[2]}
+        </td>
+        <td width="60%" class="tableb" valign="top">
+                <input type="text" style="width: 100%" name="{$element[1]}" maxlength="{$element[3]}" value="$value" class="textinput" />
+                </td>
+        </tr>
+
+EOT;
+            break;
+
+        case 'radio' :
+            // added the radio option for possible future use. The array definition would have to look like this:
+            // array('radio', 'user_var', 'Text label', 'option 1','option 2'),
+            // enabling this option requires changes in profile.php and usermgr.php as well
+            if (isset($_POST[$element[1]])) {
+                $value = $_POST[$element[1]];
+            } else {
+                $value = '';
+            }
+            if ($element[2]) echo <<<EOT
+        <tr>
+            <td width="40%" class="tableb"  height="25">
+                        {$element[2]}
+        </td>
+        <td width="60%" class="tableb" valign="top">
+                <input type="radio" name="{$element[1]}" id="{$element[1]}1" value="{$element[3]}" class="radio" /><label for="{$element[1]}1" class="clickable_option">{$element[3]}</label>
+                <input type="radio" name="{$element[1]}" id="{$element[1]}2" value="{$element[4]}" class="radio" /><label for="{$element[1]}2" class="clickable_option">{$element[4]}</label>
+                </td>
+        </tr>
+
+EOT;
+            break;
+
+        case 'textarea' :
+            if (isset($_POST[$element[1]])) {
+                $value = $_POST[$element[1]];
+            } else {
+                $value = '';
+            }
+           if ($element[2]) echo <<<EOT
+        <tr>
+            <td width="40%" class="tableb"  height="25">
+                        {$element[2]}
+        </td>
+        <td width="60%" class="tableb" valign="top">
+                <textarea name="{$element[1]}" rows="7" cols="60" class="textinput" style="width:100%">$value</textarea>
+                </td>
+        </tr>
+
+
+EOT;
+            break;
+
+        case 'password' :
+            echo <<<EOT
+        <tr>
+            <td width="40%" class="tableb"  height="25">
+                        {$element[2]}
+        </td>
+        <td width="60%" class="tableb" valign="top">
+                <input type="password" style="width: 100%" name="{$element[1]}" maxlength="{$element[3]}" value="" class="textinput" />
+                </td>
+        </tr>
+
+EOT;
+            break;
+
+        default:
+            cpg_die(CRITICAL_ERROR, 'Invalid action for form creation ' . $element[0], __FILE__, __LINE__);
+    }
+
+    if ($errors) {
+        echo <<<EOT
+        <tr>
+                <td colspan="2" class="tableh2" align="center">
+                        <b>&#149;&nbsp;&#149;&nbsp;&#149;&nbsp;{$lang_register_php['error']}&nbsp;&#149;&nbsp;&#149;&nbsp;&#149;</b>
+                </td>
+        </tr>
+        <tr>
+                <td colspan="2" class="tableb">
+                        <ul>$errors</ul>
+                </td>
+        </tr>
+
+EOT;
+    }
+    echo <<<EOT
+        <tr>
+                <td colspan="2" align="center" class="tablef">
+                        <input type="submit" name="submit" value="{$lang_register_php['submit']}" class="button" />
+                </td>
+        </tr>
+
+EOT;
+    endtable();
+    print '</form>';
+}
+
+function get_post_var($var)
+{
+    global $lang_errors;
+
+    if (!isset($_POST[$var])) cpg_die(CRITICAL_ERROR, $lang_errors['param_missing'] . " ($var)", __FILE__, __LINE__);
+    return trim($_POST[$var]);
+}
+
+function check_user_info(&$error)
+{
+    global $CONFIG; //, $PHP_SELF;
+    global $lang_register_php, $lang_register_confirm_email, $lang_continue, $lang_register_approve_email, $lang_register_activated_email, $lang_register_user_login;
+                //$CONFIG['admin_activation'] = FALSE;
+                //$CONFIG['admin_activation'] = TRUE;
+
+    $user_name = trim(get_post_var('username'));
+    $password = trim(get_post_var('password'));
+    $password_again = trim(get_post_var('password_verification'));
+    $email = trim(get_post_var('email'));
+        $profile1 = addslashes($_POST['user_profile1']);
+        $profile2 = addslashes($_POST['user_profile2']);
+        $profile3 = addslashes($_POST['user_profile3']);
+        $profile4 = addslashes($_POST['user_profile4']);
+        $profile5 = addslashes($_POST['user_profile5']);
+        $profile6 = addslashes($_POST['user_profile6']);
+
+    $sql = "SELECT user_id " . "FROM {$CONFIG['TABLE_USERS']} " . "WHERE user_name = '" . addslashes($user_name) . "'";
+    $result = cpg_db_query($sql);
+
+    if (mysql_num_rows($result)) {
+        $error = '<li>' . $lang_register_php['err_user_exists'];
+        return false;
+    }
+    mysql_free_result($result);
+
+    if (utf_strlen($user_name) < 2) $error .= '<li>' . $lang_register_php['err_uname_short'];
+    if (utf_strlen($password) < 2) $error .= '<li>' . $lang_register_php['err_password_short'];
+    if ($password == $user_name) $error .= '<li>' . $lang_register_php['err_uname_pass_diff'];
+    if ($password != $password_again) $error .= '<li>' . $lang_register_php['err_password_mismatch'];
+
+    if (!eregi("^[_\.0-9a-z\-]+@([0-9a-z][0-9a-z-]+\.)+[a-z]{2,6}$", $email)) $error .= '<li>' . $lang_register_php['err_invalid_email'];
+
+    if ($error != '') return false;
+
+    if (!$CONFIG['allow_duplicate_emails_addr']) {
+        $sql = "SELECT user_id " . "FROM {$CONFIG['TABLE_USERS']} " . "WHERE user_email = '" . addslashes($email) . "'";
+        $result = cpg_db_query($sql);
+
+        if (mysql_num_rows($result)) {
+            $error = '<li>' . $lang_register_php['err_duplicate_email'];
+            return false;
+        }
+
+        mysql_free_result($result);
+    }
+
+    if ($CONFIG['reg_requires_valid_email'] || $CONFIG['admin_activation']) {
+        $active = 'NO';
+        list($usec, $sec) = explode(' ', microtime());
+        $seed = (float) $sec + ((float) $usec * 100000);
+        srand($seed);
+        $act_key = md5(uniqid(rand(), 1));
+    } else {
+        $active = 'YES';
+        $act_key = '';
+    }
+
+                if ($CONFIG['enable_encrypted_passwords']) {
+                        $encpassword = md5($password);
+                } else {
+                        $encpassword = $password;
+                }
+
+    $sql = "INSERT INTO {$CONFIG['TABLE_USERS']} ".
+           "(user_regdate, user_active, user_actkey, user_name, user_password, user_email, user_profile1, user_profile2, user_profile3, user_profile4, user_profile5, user_profile6) ".
+           "VALUES (NOW(), '$active', '$act_key', '" . addslashes($user_name) . "', '" . addslashes($encpassword) . "', '" . addslashes($email) . "', '$profile1', '$profile2', '$profile3', '$profile4', '$profile5', '$profile6')";
+    if ($CONFIG['log_mode']) {
+        log_write('New user "'.addslashes($user_name).'" created on '.date("F j, Y, g:i a"),CPG_ACCESS_LOG);
+    }
+    $result = cpg_db_query($sql);
+
+    if ($CONFIG['reg_requires_valid_email']) {
+        if (!$CONFIG['admin_activation']==1) { //user gets activation email
+                                        $act_link = rtrim($CONFIG['site_url'], '/') . '/register.php?activate=' . $act_key;
+                                        $template_vars = array(
+                                                        '{SITE_NAME}' => $CONFIG['gallery_name'],
+                                                        '{USER_NAME}' => $user_name,
+                                                        '{ACT_LINK}' => $act_link
+            );
+                                        if (!cpg_mail($email, sprintf($lang_register_php['confirm_email_subject'], $CONFIG['gallery_name']), nl2br(strtr($lang_register_confirm_email, $template_vars)))) {
+                                                        cpg_die(CRITICAL_ERROR, $lang_register_php['failed_sending_email'], __FILE__, __LINE__);
+                                        }
+                                }
+        if ($CONFIG['admin_activation']==1) {
+                                        msg_box($lang_register_php['information'], $lang_register_php['thank_you_admin_activation'], $lang_continue, 'index.php');
+                                } else {
+                                        msg_box($lang_register_php['information'], $lang_register_php['thank_you'], $lang_continue, 'index.php');
+                                }
+    } else {
+                                        msg_box($lang_register_php['information'], $lang_register_php['acct_active'], $lang_continue, 'index.php');
+    }
+
+    // email notification to admin
+        if ($CONFIG['reg_notify_admin_email']) {
+
+                        // get default language in which to inform the admin
+                        $lang_register_php_def = cpg_get_default_lang_var('lang_register_php');
+                        $lang_register_approve_email_def = cpg_get_default_lang_var('lang_register_approve_email');
+
+                                        if ($CONFIG['admin_activation']==1) {
+                                                        $act_link = rtrim($CONFIG['site_url'], '/') . '/register.php?activate=' . $act_key;
+                                                        $template_vars = array(
+                                                                        '{SITE_NAME}' => $CONFIG['gallery_name'],
+                                                                        '{USER_NAME}' => $user_name,
+                                                                        '{ACT_LINK}' => $act_link,
+                                                        );
+                                                        cpg_mail('admin', sprintf($lang_register_php_def['notify_admin_request_email_subject'], $CONFIG['gallery_name']), nl2br(strtr($lang_register_approve_email_def, $template_vars)));
+                                        } else {
+                                                        cpg_mail('admin', sprintf($lang_register_php_def['notify_admin_email_subject'], $CONFIG['gallery_name']), sprintf($lang_register_php_def['notify_admin_email_body'], $user_name));
+                }
+                                }
+
+    return true;
+}
+
+if (isset($_GET['activate'])) {
+                //$CONFIG['admin_activation'] = FALSE;
+                //$CONFIG['admin_activation'] = TRUE;
+
+    $act_key = addslashes(substr($_GET['activate'], 0 , 32));
+    if (strlen($act_key) != 32) cpg_die(ERROR, $lang_register_php['acct_act_failed'], __FILE__, __LINE__);
+
+    $sql = "SELECT user_active user_active, user_email, user_name, user_password " . "FROM {$CONFIG['TABLE_USERS']} " . "WHERE user_actkey = '$act_key' " . "LIMIT 1";
+    $result = cpg_db_query($sql);
+    if (!mysql_num_rows($result)) cpg_die(ERROR, $lang_register_php['acct_act_failed'], __FILE__, __LINE__);
+
+    $row = mysql_fetch_array($result);
+    mysql_free_result($result);
+
+    if ($row['user_active'] == 'YES') cpg_die(ERROR, $lang_register_php['acct_already_act'], __FILE__, __LINE__);
+
+    pageheader($lang_register_php['page_title']);
+    $email = $row['user_email'];
+    $user_name = $row['user_name'];
+    $password = $row['user_password'];
+
+    $sql = "UPDATE {$CONFIG['TABLE_USERS']} " . "SET user_active = 'YES' " . "WHERE user_actkey = '$act_key' " . "LIMIT 1";
+    $result = cpg_db_query($sql);
+
+                if ($CONFIG['admin_activation']==1) { //after admin approves, user receives email notification
+                        msg_box($lang_register_php['information'], $lang_register_php['acct_active_admin_activation'], $lang_continue, 'index.php');
+                        $site_link = $CONFIG['site_url'];
+                        $template_vars = array(
+                         '{SITE_LINK}' => $site_link,
+                         '{USER_NAME}' => $user_name,
+                         '{PASSWORD}' => $password,
+                         '{SITE_NAME}' => $CONFIG['gallery_name'],
+                                );
+                        cpg_mail($email, sprintf($lang_register_php['notify_user_email_subject'], $CONFIG['gallery_name']), nl2br(strtr($lang_register_activated_email, $template_vars)));
+                } else { //user self-activated, gets message box that account was activated
+                        msg_box($lang_register_php['information'], $lang_register_php['acct_active'], $lang_continue, 'index.php');
+                }
+} else {
+  pageheader($lang_register_php['page_title']);
+  if (isset($_POST['agree'])) {
+    input_user_info();
+  } elseif (isset($_POST['submit'])) {
+    $errors = '';
+    if (!check_user_info($errors)) {
+      input_user_info($errors);
+    }
+  } else {
+    display_disclaimer();
+  }
+}
+pagefooter();
+ob_end_flush();
+
+?>
diff -x .svn -aruN 1.4.24.src/relocate_server.php 1.4.25.src/relocate_server.php
--- 1.4.24.src/relocate_server.php	2009-05-21 15:03:09.000000000 -0500
+++ 1.4.25.src/relocate_server.php	2009-05-26 11:25:52.000000000 -0500
@@ -1,34 +1,34 @@
-<?php
-/*************************
-  Coppermine Photo Gallery
-  ************************
-  Copyright (c) 2003-2009 Coppermine Dev Team
-  v1.1 originally written by Gregory DEMAR
-
-  This program is free software; you can redistribute it and/or modify
-  it under the terms of the GNU General Public License version 3
-  as published by the Free Software Foundation.
-  
-  ********************************************
-  Coppermine version: 1.4.24
-  $HeadURL: https://coppermine.svn.sourceforge.net/svnroot/coppermine/trunk/cpg1.4.x/relocate_server.php $
-  $Revision: 5969 $
-  $Author: gaugau $
-  $Date: 2009-05-21 22:03:33 +0200 (Do, 21 Mai 2009) $
-**********************************************/
-
-define('IN_COPPERMINE', true);
-require('include/init.inc.php');
-if (!GALLERY_ADMIN_MODE) cpg_die(ERROR, $lang_errors['access_denied'], __FILE__, __LINE__);
-
-
-$redirect = "index.php";
-$message = <<< EOT
-You are trying to access a file that has been removed from the coppermine package for security reasons (details can be read on the Coppermine support board announcement thread "<a href="http://coppermine-gallery.net/forum/index.php?topic=24217.0" rel="external" class="external">Remove relocate_server.php file from your website</a>").<br />
-You are now being redirected to your gallery's start page.
-EOT;
-pageheader($lang_info, "<meta http-equiv=\"refresh\" content=\"120;url=$redirect\" />");
-msg_box($lang_info, $message, $lang_continue, $redirect);
-pagefooter();
-ob_end_flush();
+<?php
+/*************************
+  Coppermine Photo Gallery
+  ************************
+  Copyright (c) 2003-2009 Coppermine Dev Team
+  v1.1 originally written by Gregory DEMAR
+
+  This program is free software; you can redistribute it and/or modify
+  it under the terms of the GNU General Public License version 3
+  as published by the Free Software Foundation.
+  
+  ********************************************
+  Coppermine version: 1.4.25
+  $HeadURL: https://coppermine.svn.sourceforge.net/svnroot/coppermine/trunk/cpg1.4.x/relocate_server.php $
+  $Revision: 5997 $
+  $Author: gaugau $
+  $Date: 2009-05-26 08:43:24 +0200 (Di, 26 Mai 2009) $
+**********************************************/
+
+define('IN_COPPERMINE', true);
+require('include/init.inc.php');
+if (!GALLERY_ADMIN_MODE) cpg_die(ERROR, $lang_errors['access_denied'], __FILE__, __LINE__);
+
+
+$redirect = "index.php";
+$message = <<< EOT
+You are trying to access a file that has been removed from the coppermine package for security reasons (details can be read on the Coppermine support board announcement thread "<a href="http://coppermine-gallery.net/forum/index.php?topic=24217.0" rel="external" class="external">Remove relocate_server.php file from your website</a>").<br />
+You are now being redirected to your gallery's start page.
+EOT;
+pageheader($lang_info, "<meta http-equiv=\"refresh\" content=\"120;url=$redirect\" />");
+msg_box($lang_info, $message, $lang_continue, $redirect);
+pagefooter();
+ob_end_flush();
 ?>
\ No newline at end of file
diff -x .svn -aruN 1.4.24.src/report_file.php 1.4.25.src/report_file.php
--- 1.4.24.src/report_file.php	2009-05-21 15:03:09.000000000 -0500
+++ 1.4.25.src/report_file.php	2009-05-26 11:25:52.000000000 -0500
@@ -1,318 +1,318 @@
-<?php
-/*************************
-  Coppermine Photo Gallery
-  ************************
-  Copyright (c) 2003-2009 Coppermine Dev Team
-  v1.1 originally written by Gregory DEMAR
-
-  This program is free software; you can redistribute it and/or modify
-  it under the terms of the GNU General Public License version 3
-  as published by the Free Software Foundation.
-  
-  ********************************************
-  Coppermine version: 1.4.24
-  $HeadURL: https://coppermine.svn.sourceforge.net/svnroot/coppermine/trunk/cpg1.4.x/report_file.php $
-  $Revision: 5969 $
-  $Author: gaugau $
-  $Date: 2009-05-21 22:03:33 +0200 (Do, 21 Mai 2009) $
-**********************************************/
-
-define('IN_COPPERMINE', true);
-define('REPORT_FILE_PHP', true);
-
-require('include/init.inc.php');
-require('include/mailer.inc.php');
-
-if ((!$CONFIG['report_post']==1) || (!USER_CAN_SEND_ECARDS)) cpg_die(ERROR, $lang_errors['access_denied'], __FILE__, __LINE__);
-//print_r(get_defined_constants());
-if ($CONFIG['enable_smilies']) include("include/smilies.inc.php");
-
-function get_post_var($name, $default = '')
-{
-    return isset($_POST[$name]) ? $_POST[$name] : $default;
-}
-
-$pid = (int)$_GET['pid'];
-$cid = (int)$_GET['msg_id']; //comment id
-$what = $_GET['what'];
-$type = $lang_report_php['type_file'];
-$template = $template_report;
-
-$sender_name = get_post_var('sender_name', USER_NAME ? USER_NAME : (isset($USER['name']) ? $USER['name'] : ''));
-if (defined('UDB_INTEGRATION')AND USER_ID) $USER_DATA = array_merge($USER_DATA,$cpg_udb->get_user_infos(USER_ID));
-if ($USER_DATA['user_email']){
-        $sender_email = $USER_DATA['user_email'];
-        $sender_box = $sender_email;
-		$sender_name = $USER_DATA['user_name'];
-        $sender_name_box = $sender_name;
-} else {
-        $sender_email = get_post_var('sender_email',$USER['email'] ? $USER['email'] : '');
-        $sender_box = "<input type=\"text\" class=\"textinput\" value=\"$sender_email\" name=\"sender_email\" style=\"width: 100%;\" />";
-		$sender_name = get_post_var('sender_name',$USER['name'] ? $USER['name'] : '');
-        $sender_name_box = "<input type=\"text\" class=\"textinput\" value=\"$sender_name\" name=\"sender_name\" style=\"width: 100%;\" />";
-}
-$subject = get_post_var('subject');
-$message = get_post_var('message');
-$sender_email_warning = '';
-$form_action="{$_SERVER['PHP_SELF']}?pid=$pid";
-
-// Get picture thumbnail url
-$result = cpg_db_query("SELECT * from {$CONFIG['TABLE_PICTURES']} WHERE pid='$pid' $ALBUM_SET");
-if (!mysql_num_rows($result)) cpg_die(ERROR, $lang_errors['non_exist_ap'], __FILE__, __LINE__);
-$row = mysql_fetch_array($result);
-$thumb_pic_url = get_pic_url($row, 'thumb');
-
-if ($what == 'comment') {
-        $result = cpg_db_query("SELECT msg_id, msg_author, msg_body, UNIX_TIMESTAMP(msg_date) AS msg_date, author_id, author_md5_id, msg_raw_ip, msg_hdr_ip FROM {$CONFIG['TABLE_COMMENTS']} WHERE msg_id='$cid' AND pid='$pid'");
-        if (!mysql_num_rows($result)) cpg_die(ERROR, $lang_errors['non_exist_comment'], __FILE__, __LINE__);
-        $row = mysql_fetch_array($result);
-        $comment = bb_decode($row['msg_body']);
-        if ($CONFIG['enable_smilies']) $comment = process_smilies($comment);
-        $msg_author = $row['msg_author'];
-        $comment_field_name = sprintf($lang_report_php['comment_field_name'], $msg_author);
-        $type = $lang_report_php['type_comment'];
-        $template = $template_report_comment_email;
-        $form_action ="{$_SERVER['PHP_SELF']}?pid=$pid&amp;msg_id=$cid&amp;what=comment";
-
-        //template_extract_block($template_report_form, 'reason_missing'); //need help to toggle off reason(missing) since doesn't apply to comments
-} else {
-        //template_extract_block($template_report_form, 'display_comment'); //need help remove comment preview when reporting picture
-}
-
-// Check supplied email address
-$valid_email_pattern = "^[_\.0-9a-z\-]+@([0-9a-z][0-9a-z-]+\.)+[a-z]{2,6}$";
-$valid_sender_email = eregi($valid_email_pattern, $sender_email);
-$invalid_email = '<font size="1">' . $lang_report_php['invalid_email'] . '</font>';
-if (!$valid_sender_email && count($_POST) > 0) $sender_email_warning = $invalid_email;
-// Create and send the e-card
-if (count($_POST) > 0 && $valid_sender_email) {
-    $gallery_url_prefix = $CONFIG['ecards_more_pic_target']. (substr($CONFIG['ecards_more_pic_target'], -1) == '/' ? '' : '/');
-    if ($CONFIG['make_intermediate'] && max($row['pwidth'], $row['pheight']) > $CONFIG['picture_width']) {
-        $n_picname = get_pic_url($row, 'normal');
-    } else {
-        $n_picname = get_pic_url($row, 'fullsize');
-    }
-
-    if (!stristr($n_picname, 'http:')) $n_picname = $gallery_url_prefix . $n_picname;
-
-                //output list of reasons checkmarked
-                $reasons = $lang_report_php['reasons_list_heading'] . "\n";
-                if (isset($_POST['reason'])) {
-                        foreach(get_post_var('reason') as $value) {
-                                $value = $lang_report_php["$value"];
-                                $reason_list .= "$value, ";
-                        }
-                } else {
-                                $reasons .= "{$lang_report_php['no_reason_given']}";
-                }
-
-                $reason_list = substr($reason_list, 0, -2); //remove trailing comma and space
-                $reasons .= $reason_list;
-                $msg_content = nl2br(strip_tags($message));
-
-    $data = array(
-        'sn' => $sender_name,
-        'se' => $sender_email,
-        'p' => $n_picname,
-        'su' => $subject,
-        'm' => $message,
-        'r' => $reasons,
-        'c' => $comment,
-        'cid' => $cid,
-        'pid' => $pid,
-        't' => $what,
-        );
-
-    $encoded_data = urlencode(base64_encode(serialize($data)));
-
-    $params = array('{LANG_DIR}' => $lang_text_dir,
-        '{TITLE}' => sprintf($lang_report_php['report_subject'], $sender_name, $type),
-        '{CHARSET}' => $CONFIG['charset'] == 'language file' ? $lang_charset : $CONFIG['charset'],
-        '{VIEW_REPORT_TGT}' => "{$gallery_url_prefix}displayreport.php?data=$encoded_data",
-        '{VIEW_REPORT_LNK}' => $lang_report_php['view_report'],
-        '{VIEW_REPORT_LNK_PLAINTEXT}' => $lang_report_php['view_report_plaintext'],
-        '{PIC_URL}' => $n_picname,
-        '{URL_PREFIX}' => $gallery_url_prefix,
-                '{PIC_TGT}' => "{$CONFIG['ecards_more_pic_target']}displayimage.php?pos=-" . $pid,
-        '{SUBJECT}' => $subject,
-        '{MESSAGE}' => $msg_content,
-        '{PLAINTEXT_MESSAGE}' => $message,
-        '{SENDER_EMAIL}' => $sender_email,
-        '{SENDER_NAME}' => $sender_name,
-        '{VIEW_MORE_TGT}' => $CONFIG['ecards_more_pic_target'],
-        '{VIEW_MORE_LNK}' => $lang_report_php['view_more_pics'],
-        '{REASON}' => $reasons,
-        '{COMMENT}' => $comment,
-        '{COMMENT_ID}' => $cid,
-        '{VIEW_COMMENT_LNK}' => $lang_report_php['view_comment'],
-        '{COMMENT_TGT}' => "{$CONFIG['ecards_more_pic_target']}displayimage.php?pos=-$pid#comment$cid",
-        '{PID}' => $pid,
-        );
-
-                $message = template_eval($template, $params);
-        $plaintext_message = template_eval($template_report_plaintext, $params);
-
-        $tempTime = time();
-        $message .= sprintf($lang_report_php['report_footer'], $sender_name, $_SERVER['REMOTE_ADDR'], localised_date(-1,$comment_date_fmt));
-                $subject = sprintf($lang_report_php['report_subject'], $sender_name, $type);
-
-        $result = cpg_mail('admin', $subject, $message, 'text/html', $sender_name, $sender_email, $plaintext_message);
-
-        /*//write log
-        if ($CONFIG['log_ecards'] == 1) {
-          $result_log = cpg_db_query("INSERT INTO {$CONFIG['TABLE_ECARDS']} (sender_name, sender_email, recipient_name, recipient_email, link, date, sender_ip) VALUES ('$sender_name', '$sender_email', '$recipient_name', '$recipient_email',   '$encoded_data', '$tempTime', '{$_SERVER["REMOTE_ADDR"]}')");
-          }*/
-
-    if (!USER_ID) {
-        $USER['name'] = $sender_name;
-        $USER['email'] = $sender_email;
-    }
-
-    if ($result) {
-        pageheader($lang_report_php['title'], "<meta http-equiv=\"refresh\" content=\"3;url=displayimage.php?pos=-{$pid}\" />");
-        msg_box($lang_cpg_die[INFORMATION], $lang_report_php['send_success'], $lang_continue, "displayimage.php?pos=-{$pid}");
-        pagefooter();
-        ob_end_flush();
-        exit;
-    } else {
-        cpg_die(ERROR, $lang_report_php['send_failed'], __FILE__, __LINE__);
-    }
-}
-
-pageheader($lang_report_php['title']);
-echo <<< EOT
-<form method="post" name="post" action="$form_action">
-EOT;
-starttable("100%", $lang_report_php['title'], 3);
-
-echo <<<EOT
-        <tr>
-                <td class="tableh2" colspan="2"><b>{$lang_report_php['from']}</b></td>
-<!-- BEGIN display_thumbnail -->
-                <td rowspan="6" align="center" valign="top" class="tableb">
-                        <img src="$thumb_pic_url" alt="" vspace="8" border="0" class="image" /><br />
-                </td>
-<!-- END display_thumbnail -->
-        </tr>
-        <tr>
-                <td class="tableb" valign="top" width="40%">
-                        {$lang_report_php['your_name']}<br />
-                </td>
-                <td valign="top" class="tableb" width="60%">
-                        {$sender_name_box}
-                </td>
-        </tr>
-        <tr>
-                <td class="tableb" valign="top" width="40%">
-                        {$lang_report_php['your_email']}<br />
-                </td>
-                <td valign="top" class="tableb" width="60%">
-                        {$sender_box}
-                        {$sender_email_warning}
-                </td>
-        </tr>
-        <tr>
-                <td class="tableh2" colspan="2"><b>{$lang_report_php['to']}</b></td>
-        </tr>
-        <tr>
-                <td class="tableb" valign="top" width="40%" colspan="2">
-                        {$lang_report_php['administrator']}<br />
-                </td>
-        </tr>
-
-                <tr>
-                <td class="tableh2" colspan="3"><b>{$lang_report_php['refers_to']}:</b></td>
-        </tr>
-        <tr>
-                <td class="tableb" colspan="3">
-                                                                                <a href="{$CONFIG['ecards_more_pic_target']}displayimage.php?pos=-{$pid}">
-                                                                                {$CONFIG['ecards_more_pic_target']}displayimage.php?pos=-{$pid}</a> <br />
-                </td>
-        </tr>
-<!-- BEGIN display_comment -->
-                                <tr>
-                <td class="tableh2" valign="top" width="40%" colspan="3"><b>$comment_field_name</b></td>
-                                </tr>
-        <tr>
-                <td class="tableb" valign="top" width="40%" colspan="3">
-           $comment<br />
-                </td>
-        </tr>
-<!-- END display_comment -->
-        <tr>
-                <td class="tableh2" colspan="3"><b>{$lang_report_php['subject']}</b></td>
-        </tr>
-        <tr>
-                <td class="tableb" colspan="3">
-                                                                                <input type="text" class="textinput" name="subject"  value="$subject" style="width: 100%;" /><br />
-                </td>
-        </tr>
-        <tr>
-                <td class="tableh2" colspan="3"><b>{$lang_report_php['reason']}</b></td>
-        </tr>
-        <tr>
-                <td class="tableb" colspan="3">
-                    <table border="0" cellspacing="0" cellpadding="0" width="100%">
-                        <tr>
-<!-- BEGIN reason_obscene -->
-                            <td>
-                                <input value="obscene" type="checkbox" name="reason[]" id="obscene" />
-                                <label for="obscene" class="clickable_option">{$lang_report_php['obscene']}</label>
-                            </td>
-<!-- END reason_obscene -->
-<!-- BEGIN reason_offensive -->
-                            <td>
-                                <input value="offensive" type="checkbox" name="reason[]" id="offensive" />
-                                <label for="offensive" class="clickable_option">{$lang_report_php['offensive']}</label>
-                            </td>
-<!-- END reason_offensive -->
-
-<!-- BEGIN reason_misplaced -->
-                            <td>
-                                <input value="misplaced" type="checkbox" name="reason[]" id="misplaced" />
-                                <label for="misplaced" class="clickable_option">{$lang_report_php['misplaced']}</label>
-                            </td>
-<!-- END reason_misplaced -->
-<!-- BEGIN reason_missing -->
-                            <td>
-                                <input value="missing" type="checkbox" name="reason[]" id="missing" />
-                                <label for="missing" class="clickable_option">{$lang_report_php['missing']}</label>
-                            </td>
-<!-- END reason_missing -->
-<!-- BEGIN reason_issue -->
-                            <td>
-                                <input value="issue" type="checkbox" name="reason[]" id="issue" />
-                                <label for="issue" class="clickable_option">{$lang_report_php['issue']}</label>
-                            </td>
-<!-- END reason_issue -->
-<!-- BEGIN reason_other -->
-                            <td>
-                                <input value="other" type="checkbox" name="reason[]" id="other" />
-                                <label for="other" class="clickable_option">{$lang_report_php['other']}</label>
-                            </td>
-<!-- END reason_other -->
-                        </tr>
-                    </table>
-                </td>
-        </tr>
-        <tr>
-                <td class="tableh2" colspan="3"><b>{$lang_report_php['message']}</b></td>
-        </tr>
-        <tr>
-                <td class="tableb" colspan="3" valign="top">
-                                                                                        <textarea name="message" class="textinput" rows="8" cols="40" onselect="storeCaret_post(this);" onclick="storeCaret_post(this);" onkeyup="storeCaret_post(this);" style="width: 100%;">$message</textarea><br /><br />
-                </td>
-        </tr>
-        <tr>
-                <td colspan="3" align="center" class="tablef">
-                        <input type="submit" class="button" value="{$lang_report_php['title']}" />
-                </td>
-        </tr>
-EOT;
-
-endtable();
-echo '</form>';
-pagefooter();
-ob_end_flush();
-
-?>
+<?php
+/*************************
+  Coppermine Photo Gallery
+  ************************
+  Copyright (c) 2003-2009 Coppermine Dev Team
+  v1.1 originally written by Gregory DEMAR
+
+  This program is free software; you can redistribute it and/or modify
+  it under the terms of the GNU General Public License version 3
+  as published by the Free Software Foundation.
+  
+  ********************************************
+  Coppermine version: 1.4.25
+  $HeadURL: https://coppermine.svn.sourceforge.net/svnroot/coppermine/trunk/cpg1.4.x/report_file.php $
+  $Revision: 5997 $
+  $Author: gaugau $
+  $Date: 2009-05-26 08:43:24 +0200 (Di, 26 Mai 2009) $
+**********************************************/
+
+define('IN_COPPERMINE', true);
+define('REPORT_FILE_PHP', true);
+
+require('include/init.inc.php');
+require('include/mailer.inc.php');
+
+if ((!$CONFIG['report_post']==1) || (!USER_CAN_SEND_ECARDS)) cpg_die(ERROR, $lang_errors['access_denied'], __FILE__, __LINE__);
+//print_r(get_defined_constants());
+if ($CONFIG['enable_smilies']) include("include/smilies.inc.php");
+
+function get_post_var($name, $default = '')
+{
+    return isset($_POST[$name]) ? $_POST[$name] : $default;
+}
+
+$pid = (int)$_GET['pid'];
+$cid = (int)$_GET['msg_id']; //comment id
+$what = $_GET['what'];
+$type = $lang_report_php['type_file'];
+$template = $template_report;
+
+$sender_name = get_post_var('sender_name', USER_NAME ? USER_NAME : (isset($USER['name']) ? $USER['name'] : ''));
+if (defined('UDB_INTEGRATION')AND USER_ID) $USER_DATA = array_merge($USER_DATA,$cpg_udb->get_user_infos(USER_ID));
+if ($USER_DATA['user_email']){
+        $sender_email = $USER_DATA['user_email'];
+        $sender_box = $sender_email;
+		$sender_name = $USER_DATA['user_name'];
+        $sender_name_box = $sender_name;
+} else {
+        $sender_email = get_post_var('sender_email',$USER['email'] ? $USER['email'] : '');
+        $sender_box = "<input type=\"text\" class=\"textinput\" value=\"$sender_email\" name=\"sender_email\" style=\"width: 100%;\" />";
+		$sender_name = get_post_var('sender_name',$USER['name'] ? $USER['name'] : '');
+        $sender_name_box = "<input type=\"text\" class=\"textinput\" value=\"$sender_name\" name=\"sender_name\" style=\"width: 100%;\" />";
+}
+$subject = get_post_var('subject');
+$message = get_post_var('message');
+$sender_email_warning = '';
+$form_action="{$_SERVER['PHP_SELF']}?pid=$pid";
+
+// Get picture thumbnail url
+$result = cpg_db_query("SELECT * from {$CONFIG['TABLE_PICTURES']} WHERE pid='$pid' $ALBUM_SET");
+if (!mysql_num_rows($result)) cpg_die(ERROR, $lang_errors['non_exist_ap'], __FILE__, __LINE__);
+$row = mysql_fetch_array($result);
+$thumb_pic_url = get_pic_url($row, 'thumb');
+
+if ($what == 'comment') {
+        $result = cpg_db_query("SELECT msg_id, msg_author, msg_body, UNIX_TIMESTAMP(msg_date) AS msg_date, author_id, author_md5_id, msg_raw_ip, msg_hdr_ip FROM {$CONFIG['TABLE_COMMENTS']} WHERE msg_id='$cid' AND pid='$pid'");
+        if (!mysql_num_rows($result)) cpg_die(ERROR, $lang_errors['non_exist_comment'], __FILE__, __LINE__);
+        $row = mysql_fetch_array($result);
+        $comment = bb_decode($row['msg_body']);
+        if ($CONFIG['enable_smilies']) $comment = process_smilies($comment);
+        $msg_author = $row['msg_author'];
+        $comment_field_name = sprintf($lang_report_php['comment_field_name'], $msg_author);
+        $type = $lang_report_php['type_comment'];
+        $template = $template_report_comment_email;
+        $form_action ="{$_SERVER['PHP_SELF']}?pid=$pid&amp;msg_id=$cid&amp;what=comment";
+
+        //template_extract_block($template_report_form, 'reason_missing'); //need help to toggle off reason(missing) since doesn't apply to comments
+} else {
+        //template_extract_block($template_report_form, 'display_comment'); //need help remove comment preview when reporting picture
+}
+
+// Check supplied email address
+$valid_email_pattern = "^[_\.0-9a-z\-]+@([0-9a-z][0-9a-z-]+\.)+[a-z]{2,6}$";
+$valid_sender_email = eregi($valid_email_pattern, $sender_email);
+$invalid_email = '<font size="1">' . $lang_report_php['invalid_email'] . '</font>';
+if (!$valid_sender_email && count($_POST) > 0) $sender_email_warning = $invalid_email;
+// Create and send the e-card
+if (count($_POST) > 0 && $valid_sender_email) {
+    $gallery_url_prefix = $CONFIG['ecards_more_pic_target']. (substr($CONFIG['ecards_more_pic_target'], -1) == '/' ? '' : '/');
+    if ($CONFIG['make_intermediate'] && max($row['pwidth'], $row['pheight']) > $CONFIG['picture_width']) {
+        $n_picname = get_pic_url($row, 'normal');
+    } else {
+        $n_picname = get_pic_url($row, 'fullsize');
+    }
+
+    if (!stristr($n_picname, 'http:')) $n_picname = $gallery_url_prefix . $n_picname;
+
+                //output list of reasons checkmarked
+                $reasons = $lang_report_php['reasons_list_heading'] . "\n";
+                if (isset($_POST['reason'])) {
+                        foreach(get_post_var('reason') as $value) {
+                                $value = $lang_report_php["$value"];
+                                $reason_list .= "$value, ";
+                        }
+                } else {
+                                $reasons .= "{$lang_report_php['no_reason_given']}";
+                }
+
+                $reason_list = substr($reason_list, 0, -2); //remove trailing comma and space
+                $reasons .= $reason_list;
+                $msg_content = nl2br(strip_tags($message));
+
+    $data = array(
+        'sn' => $sender_name,
+        'se' => $sender_email,
+        'p' => $n_picname,
+        'su' => $subject,
+        'm' => $message,
+        'r' => $reasons,
+        'c' => $comment,
+        'cid' => $cid,
+        'pid' => $pid,
+        't' => $what,
+        );
+
+    $encoded_data = urlencode(base64_encode(serialize($data)));
+
+    $params = array('{LANG_DIR}' => $lang_text_dir,
+        '{TITLE}' => sprintf($lang_report_php['report_subject'], $sender_name, $type),
+        '{CHARSET}' => $CONFIG['charset'] == 'language file' ? $lang_charset : $CONFIG['charset'],
+        '{VIEW_REPORT_TGT}' => "{$gallery_url_prefix}displayreport.php?data=$encoded_data",
+        '{VIEW_REPORT_LNK}' => $lang_report_php['view_report'],
+        '{VIEW_REPORT_LNK_PLAINTEXT}' => $lang_report_php['view_report_plaintext'],
+        '{PIC_URL}' => $n_picname,
+        '{URL_PREFIX}' => $gallery_url_prefix,
+                '{PIC_TGT}' => "{$CONFIG['ecards_more_pic_target']}displayimage.php?pos=-" . $pid,
+        '{SUBJECT}' => $subject,
+        '{MESSAGE}' => $msg_content,
+        '{PLAINTEXT_MESSAGE}' => $message,
+        '{SENDER_EMAIL}' => $sender_email,
+        '{SENDER_NAME}' => $sender_name,
+        '{VIEW_MORE_TGT}' => $CONFIG['ecards_more_pic_target'],
+        '{VIEW_MORE_LNK}' => $lang_report_php['view_more_pics'],
+        '{REASON}' => $reasons,
+        '{COMMENT}' => $comment,
+        '{COMMENT_ID}' => $cid,
+        '{VIEW_COMMENT_LNK}' => $lang_report_php['view_comment'],
+        '{COMMENT_TGT}' => "{$CONFIG['ecards_more_pic_target']}displayimage.php?pos=-$pid#comment$cid",
+        '{PID}' => $pid,
+        );
+
+                $message = template_eval($template, $params);
+        $plaintext_message = template_eval($template_report_plaintext, $params);
+
+        $tempTime = time();
+        $message .= sprintf($lang_report_php['report_footer'], $sender_name, $_SERVER['REMOTE_ADDR'], localised_date(-1,$comment_date_fmt));
+                $subject = sprintf($lang_report_php['report_subject'], $sender_name, $type);
+
+        $result = cpg_mail('admin', $subject, $message, 'text/html', $sender_name, $sender_email, $plaintext_message);
+
+        /*//write log
+        if ($CONFIG['log_ecards'] == 1) {
+          $result_log = cpg_db_query("INSERT INTO {$CONFIG['TABLE_ECARDS']} (sender_name, sender_email, recipient_name, recipient_email, link, date, sender_ip) VALUES ('$sender_name', '$sender_email', '$recipient_name', '$recipient_email',   '$encoded_data', '$tempTime', '{$_SERVER["REMOTE_ADDR"]}')");
+          }*/
+
+    if (!USER_ID) {
+        $USER['name'] = $sender_name;
+        $USER['email'] = $sender_email;
+    }
+
+    if ($result) {
+        pageheader($lang_report_php['title'], "<meta http-equiv=\"refresh\" content=\"3;url=displayimage.php?pos=-{$pid}\" />");
+        msg_box($lang_cpg_die[INFORMATION], $lang_report_php['send_success'], $lang_continue, "displayimage.php?pos=-{$pid}");
+        pagefooter();
+        ob_end_flush();
+        exit;
+    } else {
+        cpg_die(ERROR, $lang_report_php['send_failed'], __FILE__, __LINE__);
+    }
+}
+
+pageheader($lang_report_php['title']);
+echo <<< EOT
+<form method="post" name="post" action="$form_action">
+EOT;
+starttable("100%", $lang_report_php['title'], 3);
+
+echo <<<EOT
+        <tr>
+                <td class="tableh2" colspan="2"><b>{$lang_report_php['from']}</b></td>
+<!-- BEGIN display_thumbnail -->
+                <td rowspan="6" align="center" valign="top" class="tableb">
+                        <img src="$thumb_pic_url" alt="" vspace="8" border="0" class="image" /><br />
+                </td>
+<!-- END display_thumbnail -->
+        </tr>
+        <tr>
+                <td class="tableb" valign="top" width="40%">
+                        {$lang_report_php['your_name']}<br />
+                </td>
+                <td valign="top" class="tableb" width="60%">
+                        {$sender_name_box}
+                </td>
+        </tr>
+        <tr>
+                <td class="tableb" valign="top" width="40%">
+                        {$lang_report_php['your_email']}<br />
+                </td>
+                <td valign="top" class="tableb" width="60%">
+                        {$sender_box}
+                        {$sender_email_warning}
+                </td>
+        </tr>
+        <tr>
+                <td class="tableh2" colspan="2"><b>{$lang_report_php['to']}</b></td>
+        </tr>
+        <tr>
+                <td class="tableb" valign="top" width="40%" colspan="2">
+                        {$lang_report_php['administrator']}<br />
+                </td>
+        </tr>
+
+                <tr>
+                <td class="tableh2" colspan="3"><b>{$lang_report_php['refers_to']}:</b></td>
+        </tr>
+        <tr>
+                <td class="tableb" colspan="3">
+                                                                                <a href="{$CONFIG['ecards_more_pic_target']}displayimage.php?pos=-{$pid}">
+                                                                                {$CONFIG['ecards_more_pic_target']}displayimage.php?pos=-{$pid}</a> <br />
+                </td>
+        </tr>
+<!-- BEGIN display_comment -->
+                                <tr>
+                <td class="tableh2" valign="top" width="40%" colspan="3"><b>$comment_field_name</b></td>
+                                </tr>
+        <tr>
+                <td class="tableb" valign="top" width="40%" colspan="3">
+           $comment<br />
+                </td>
+        </tr>
+<!-- END display_comment -->
+        <tr>
+                <td class="tableh2" colspan="3"><b>{$lang_report_php['subject']}</b></td>
+        </tr>
+        <tr>
+                <td class="tableb" colspan="3">
+                                                                                <input type="text" class="textinput" name="subject"  value="$subject" style="width: 100%;" /><br />
+                </td>
+        </tr>
+        <tr>
+                <td class="tableh2" colspan="3"><b>{$lang_report_php['reason']}</b></td>
+        </tr>
+        <tr>
+                <td class="tableb" colspan="3">
+                    <table border="0" cellspacing="0" cellpadding="0" width="100%">
+                        <tr>
+<!-- BEGIN reason_obscene -->
+                            <td>
+                                <input value="obscene" type="checkbox" name="reason[]" id="obscene" />
+                                <label for="obscene" class="clickable_option">{$lang_report_php['obscene']}</label>
+                            </td>
+<!-- END reason_obscene -->
+<!-- BEGIN reason_offensive -->
+                            <td>
+                                <input value="offensive" type="checkbox" name="reason[]" id="offensive" />
+                                <label for="offensive" class="clickable_option">{$lang_report_php['offensive']}</label>
+                            </td>
+<!-- END reason_offensive -->
+
+<!-- BEGIN reason_misplaced -->
+                            <td>
+                                <input value="misplaced" type="checkbox" name="reason[]" id="misplaced" />
+                                <label for="misplaced" class="clickable_option">{$lang_report_php['misplaced']}</label>
+                            </td>
+<!-- END reason_misplaced -->
+<!-- BEGIN reason_missing -->
+                            <td>
+                                <input value="missing" type="checkbox" name="reason[]" id="missing" />
+                                <label for="missing" class="clickable_option">{$lang_report_php['missing']}</label>
+                            </td>
+<!-- END reason_missing -->
+<!-- BEGIN reason_issue -->
+                            <td>
+                                <input value="issue" type="checkbox" name="reason[]" id="issue" />
+                                <label for="issue" class="clickable_option">{$lang_report_php['issue']}</label>
+                            </td>
+<!-- END reason_issue -->
+<!-- BEGIN reason_other -->
+                            <td>
+                                <input value="other" type="checkbox" name="reason[]" id="other" />
+                                <label for="other" class="clickable_option">{$lang_report_php['other']}</label>
+                            </td>
+<!-- END reason_other -->
+                        </tr>
+                    </table>
+                </td>
+        </tr>
+        <tr>
+                <td class="tableh2" colspan="3"><b>{$lang_report_php['message']}</b></td>
+        </tr>
+        <tr>
+                <td class="tableb" colspan="3" valign="top">
+                                                                                        <textarea name="message" class="textinput" rows="8" cols="40" onselect="storeCaret_post(this);" onclick="storeCaret_post(this);" onkeyup="storeCaret_post(this);" style="width: 100%;">$message</textarea><br /><br />
+                </td>
+        </tr>
+        <tr>
+                <td colspan="3" align="center" class="tablef">
+                        <input type="submit" class="button" value="{$lang_report_php['title']}" />
+                </td>
+        </tr>
+EOT;
+
+endtable();
+echo '</form>';
+pagefooter();
+ob_end_flush();
+
+?>
diff -x .svn -aruN 1.4.24.src/reviewcom.php 1.4.25.src/reviewcom.php
--- 1.4.24.src/reviewcom.php	2009-05-21 15:03:09.000000000 -0500
+++ 1.4.25.src/reviewcom.php	2009-05-26 11:25:52.000000000 -0500
@@ -1,258 +1,258 @@
-<?php
-/*************************
-  Coppermine Photo Gallery
-  ************************
-  Copyright (c) 2003-2009 Coppermine Dev Team
-  v1.1 originally written by Gregory DEMAR
-
-  This program is free software; you can redistribute it and/or modify
-  it under the terms of the GNU General Public License version 3
-  as published by the Free Software Foundation.
-  
-  ********************************************
-  Coppermine version: 1.4.24
-  $HeadURL: https://coppermine.svn.sourceforge.net/svnroot/coppermine/trunk/cpg1.4.x/reviewcom.php $
-  $Revision: 5969 $
-  $Author: gaugau $
-  $Date: 2009-05-21 22:03:33 +0200 (Do, 21 Mai 2009) $
-**********************************************/
-
-// added sort option and link to user profile
-// todo: file needs modification to work with bridged installs!
-// todo: search option.
-
-define('IN_COPPERMINE', true);
-define('REVIEWCOM_PHP', true);
-
-require('include/init.inc.php');
-
-if (!GALLERY_ADMIN_MODE) cpg_die(ERROR, $lang_errors['access_denied'], __FILE__, __LINE__);
-// Delete comments if form is posted
-include("include/smilies.inc.php");
-
-$nb_com_del = 0;
-if (isset($_POST['cid_array'])) {
-    $cid_array = $_POST['cid_array'];
-    $cid_set = '';
-    foreach ($cid_array as $cid)
-    $cid_set .= ($cid_set == '') ? '(' . $cid : ', ' . $cid;
-    $cid_set .= ')';
-
-    cpg_db_query("DELETE FROM {$CONFIG['TABLE_COMMENTS']} WHERE msg_id IN $cid_set");
-    $nb_com_del = mysql_affected_rows();
-}
-
-$result = cpg_db_query("SELECT count(*) FROM {$CONFIG['TABLE_COMMENTS']} WHERE 1");
-$nbEnr = mysql_fetch_array($result);
-$comment_count = $nbEnr[0];
-
-if (!$comment_count) cpg_die(INFORMATION , $lang_reviewcom_php['no_comment'], __FILE__, __LINE__);
-
-$start = isset($_GET['start']) ? (int)$_GET['start'] : 0;
-$count = isset($_GET['count']) ? $_GET['count'] : 25;
-$next_target = $_SERVER['PHP_SELF'] . '?start=' . ($start + $count) . '&amp;count=' . $count;
-$prev_target = $_SERVER['PHP_SELF'] . '?start=' . max(0, $start - $count) . '&amp;count=' . $count;
-$s50 = $count == 50 ? 'selected' : '';
-$s75 = $count == 75 ? 'selected' : '';
-$s100 = $count == 100 ? 'selected' : '';
-
-if ($start + $count < $comment_count) {
-    $next_link = "<a href=\"$next_target\" class=\"admin_menu\">{$lang_reviewcom_php['see_next']}&raquo;</a>&nbsp;&nbsp;-&nbsp;&nbsp;";
-} else {
-    $next_link = '';
-}
-
-if ($start > 0) {
-    $prev_link = "<a href=\"$prev_target\" class=\"admin_menu\">&laquo;{$lang_reviewcom_php['see_prev']}</a>&nbsp;&nbsp;-&nbsp;&nbsp;";
-} else {
-    $prev_link = '';
-}
-
-pageheader($lang_reviewcom_php['title']);
-
-echo <<<EOT
-<script type="text/javascript" language="javascript">
-<!--
-function textCounter(field, maxlimit) {
-        if (field.value.length > maxlimit) // if too long...trim it!
-        field.value = field.value.substring(0, maxlimit);
-}
-
-function selectAll(d,box) {
-  var f = document.editForm;
-  for (i = 0; i < f.length; i++) {
-    //alert (f[i].name.indexOf(box));
-    if (f[i].type == "checkbox" && f[i].name.indexOf(box) >= 0) {
-      if (d.checked) {
-        f[i].checked = true;
-      } else {
-        f[i].checked = false;
-      }
-    }
-  }
-  if (d.name == "checkAll") {
-      document.getElementsByName('checkAll2')[0].checked = document.getElementsByName('checkAll')[0].checked;
-  } else {
-      document.getElementsByName('checkAll')[0].checked = document.getElementsByName('checkAll2')[0].checked;
-  }
-}
-
--->
-</script>
-
-    <form action="{$_SERVER['PHP_SELF']}?start=$start&amp;count=$count" method="post" name="editForm">
-
-EOT;
-
-// make up the table header
-
-
-starttable('100%');
-
-
-if ($nb_com_del > 0) {
-    $msg_txt = sprintf($lang_reviewcom_php['n_comm_del'], $nb_com_del);
-    echo <<<EOT
-        <tr>
-                <td class="tableh2" colspan="5" align="center">
-                        <br /><b>$msg_txt</b><br /><br />
-                </td>
-        </tr>
-
-EOT;
-}
-
-echo <<<EOT
-        <tr>
-                <td class="tableh1" colspan="5">
-                    <table border="0" cellspacing="0" cellpadding="0" width="100%">
-                        <tr>
-                            <td class="tableh1">
-                                {$lang_reviewcom_php['title']}
-                            </td>
-                            <td class="tableh1" align="center">
-                                $prev_link
-                                $next_link
-                            </td>
-                            <td class="tableh1" align="right">
-                                {$lang_reviewcom_php['n_comm_disp']}
-                                <select onChange="if(this.options[this.selectedIndex].value) window.location.href='{$_SERVER['PHP_SELF']}?start=$start&amp;count='+this.options[this.selectedIndex].value;"  name="count" class="listbox">
-                                        <option value="25">25</option>
-                                        <option value="50" $s50>50</option>
-                                        <option value="75" $s75>75</option>
-                                        <option value="100" $s100>100</option>
-                                </select>
-                            </td>
-                        </tr>
-                    </table>
-                </td>
-        </tr>
-
-EOT;
-
-    echo <<<EOT
-        <tr>
-        <td class="tableh2" valign="middle" align="center">
-            <input type="checkbox" name="checkAll" onClick="selectAll(this,'cid_array');" class="checkbox" title="$lang_check_uncheck_all" />
-        </td>
-        <td class="tableh2" valign="top">{$lang_reviewcom_php['user_name']}
-        <a href="{$_SERVER['PHP_SELF']}?start=$start&amp;count=$count&amp;sort=name_a"><img src="images/ascending.gif" width="9" height="9" border="0" alt="" title="{$lang_reviewcom_php['name_a']}" /></a>
-        <a href="{$_SERVER['PHP_SELF']}?start=$start&amp;count=$count&amp;sort=name_d"><img src="images/descending.gif" width="9" height="9" border="0" alt="" title="{$lang_reviewcom_php['name_d']}" /></a>
-        </td>
-        <td class="tableh2" valign="top">{$lang_reviewcom_php['date']}
-        <a href="{$_SERVER['PHP_SELF']}?start=$start&amp;count=$count&amp;sort=date_a"><img src="images/ascending.gif" width="9" height="9" border="0" alt="" title="{$lang_reviewcom_php['date_a']}" /></a>
-        <a href="{$_SERVER['PHP_SELF']}?start=$start&amp;count=$count&amp;sort=date_d"><img src="images/descending.gif" width="9" height="9" border="0" alt="" title="{$lang_reviewcom_php['date_d']}" /></a>
-        </td>
-        <td class="tableh2" valign="top">{$lang_reviewcom_php['comment']}
-        <a href="{$_SERVER['PHP_SELF']}?start=$start&amp;count=$count&amp;sort=comment_a"><img src="images/ascending.gif" width="9" height="9" border="0" alt="" title="{$lang_reviewcom_php['comment_a']}" /></a>
-        <a href="{$_SERVER['PHP_SELF']}?start=$start&amp;count=$count&amp;sort=comment_d"><img src="images/descending.gif" width="9" height="9" border="0" alt="" title="{$lang_reviewcom_php['comment_d']}" /></a>
-        </td>
-        <td class="tableh2" valign="top">{$lang_reviewcom_php['file']}
-        <a href="{$_SERVER['PHP_SELF']}?start=$start&amp;count=$count&amp;sort=file_a"><img src="images/ascending.gif" width="9" height="9" border="0" alt="" title="{$lang_reviewcom_php['file_a']}" /></a>
-        <a href="{$_SERVER['PHP_SELF']}?start=$start&amp;count=$count&amp;sort=file_d"><img src="images/descending.gif" width="9" height="9" border="0" alt="" title="{$lang_reviewcom_php['file_d']}" /></a>
-        </td>
-        </tr>
-
-EOT;
-
-$sort_codes = array('name_a' => 'msg_author ASC',
-    'name_d' => 'msg_author DESC',
-    'date_a' => 'msg_id ASC',
-    'date_d' => 'msg_id DESC',
-    'comment_a' => 'msg_body ASC',
-    'comment_d' => 'msg_body DESC',
-    'file_a' => 'pid ASC',
-    'file_d' => 'pid DESC',
-);
-$sort = (!isset($_GET['sort']) || !isset($sort_codes[$_GET['sort']])) ? 'date_d' : $_GET['sort'];
-
-
-$result = cpg_db_query("SELECT msg_id, msg_author, msg_body, UNIX_TIMESTAMP(msg_date) AS msg_date, author_id, {$CONFIG['TABLE_COMMENTS']}.pid as pid, aid, filepath, filename, url_prefix, pwidth, pheight FROM {$CONFIG['TABLE_COMMENTS']}, {$CONFIG['TABLE_PICTURES']} WHERE {$CONFIG['TABLE_COMMENTS']}.pid = {$CONFIG['TABLE_PICTURES']}.pid ORDER BY {$sort_codes[$sort]} LIMIT $start, $count");
-
-$rowcounter = 0;
-
-while ($row = mysql_fetch_array($result)) {
-    $thumb_url =  get_pic_url($row, 'thumb');
-    if (!is_image($row['filename'])) {
-        $image_info = getimagesize($thumb_url);
-        $row['pwidth'] = $image_info[0];
-        $row['pheight'] = $image_info[1];
-    }
-    $image_size = compute_img_size($row['pwidth'], $row['pheight'], $CONFIG['alb_list_thumb_size']);
-    $thumb_link = 'displayimage.php?pos=' . - $row['pid'];
-    $msg_date = localised_date($row['msg_date'], $comment_date_fmt);
-    $msg_body = bb_decode(process_smilies($row['msg_body']));
-    $rowcounter++;
-    if ($rowcounter >=2 ) { //let the row colors alternate, for now they are the same
-        $rowcounter = 0;
-        $tableclass = 'tableb'; // change to "tableh2_compact" or similar for alternation
-    } else {
-        $tableclass = 'tableb';
-    }
-    // build a link to the author's profile if applicable
-    if ($row['author_id'] != 0) {
-        $profile_link_start = '<a href="profile.php?uid='.$row['author_id'].'">';
-        $profile_link_end = '</a>';
-    } else {
-        $profile_link_start = '';
-        $profile_link_end = '';
-    }
-    // output the table rows
-    echo <<<EOT
-        <tr>
-        <td class="$tableclass" valign="top" align="center">
-            <input name="cid_array[]" id="check{$row['msg_id']}" type="checkbox" value="{$row['msg_id']}" />
-        </td>
-        <td class="$tableclass" valign="top">$profile_link_start{$row['msg_author']}$profile_link_end</td>
-        <td class="$tableclass" valign="top">{$msg_date}</td>
-        <td class="$tableclass" valign="top">
-                        {$msg_body}
-        </td>
-        <td class="$tableclass" align="center">
-                        <a href="$thumb_link"><img src="$thumb_url" {$image_size['geom']} class="image" border="0" alt="" /></a>
-        </td>
-        </tr>
-
-EOT;
-    flush();
-}
-
-mysql_free_result($result);
-
-echo <<<EOT
-        <tr>
-            <td class="tablef" valign="middle" align="center">
-                <input type="checkbox" name="checkAll2" onClick="selectAll(this,'cid_array');" class="checkbox" title="$lang_check_uncheck_all" />
-            </td>
-            <td colspan="4" align="center" class="tablef">
-                        <input type="submit" value="{$lang_reviewcom_php['del_comm']}" class="button" />
-                </td>
-        </tr>
-
-EOT;
-endtable();
-echo '</form>';
-pagefooter();
-ob_end_flush();
-
-?>
+<?php
+/*************************
+  Coppermine Photo Gallery
+  ************************
+  Copyright (c) 2003-2009 Coppermine Dev Team
+  v1.1 originally written by Gregory DEMAR
+
+  This program is free software; you can redistribute it and/or modify
+  it under the terms of the GNU General Public License version 3
+  as published by the Free Software Foundation.
+  
+  ********************************************
+  Coppermine version: 1.4.25
+  $HeadURL: https://coppermine.svn.sourceforge.net/svnroot/coppermine/trunk/cpg1.4.x/reviewcom.php $
+  $Revision: 5997 $
+  $Author: gaugau $
+  $Date: 2009-05-26 08:43:24 +0200 (Di, 26 Mai 2009) $
+**********************************************/
+
+// added sort option and link to user profile
+// todo: file needs modification to work with bridged installs!
+// todo: search option.
+
+define('IN_COPPERMINE', true);
+define('REVIEWCOM_PHP', true);
+
+require('include/init.inc.php');
+
+if (!GALLERY_ADMIN_MODE) cpg_die(ERROR, $lang_errors['access_denied'], __FILE__, __LINE__);
+// Delete comments if form is posted
+include("include/smilies.inc.php");
+
+$nb_com_del = 0;
+if (isset($_POST['cid_array'])) {
+    $cid_array = $_POST['cid_array'];
+    $cid_set = '';
+    foreach ($cid_array as $cid)
+    $cid_set .= ($cid_set == '') ? '(' . $cid : ', ' . $cid;
+    $cid_set .= ')';
+
+    cpg_db_query("DELETE FROM {$CONFIG['TABLE_COMMENTS']} WHERE msg_id IN $cid_set");
+    $nb_com_del = mysql_affected_rows();
+}
+
+$result = cpg_db_query("SELECT count(*) FROM {$CONFIG['TABLE_COMMENTS']} WHERE 1");
+$nbEnr = mysql_fetch_array($result);
+$comment_count = $nbEnr[0];
+
+if (!$comment_count) cpg_die(INFORMATION , $lang_reviewcom_php['no_comment'], __FILE__, __LINE__);
+
+$start = isset($_GET['start']) ? (int)$_GET['start'] : 0;
+$count = isset($_GET['count']) ? $_GET['count'] : 25;
+$next_target = $_SERVER['PHP_SELF'] . '?start=' . ($start + $count) . '&amp;count=' . $count;
+$prev_target = $_SERVER['PHP_SELF'] . '?start=' . max(0, $start - $count) . '&amp;count=' . $count;
+$s50 = $count == 50 ? 'selected' : '';
+$s75 = $count == 75 ? 'selected' : '';
+$s100 = $count == 100 ? 'selected' : '';
+
+if ($start + $count < $comment_count) {
+    $next_link = "<a href=\"$next_target\" class=\"admin_menu\">{$lang_reviewcom_php['see_next']}&raquo;</a>&nbsp;&nbsp;-&nbsp;&nbsp;";
+} else {
+    $next_link = '';
+}
+
+if ($start > 0) {
+    $prev_link = "<a href=\"$prev_target\" class=\"admin_menu\">&laquo;{$lang_reviewcom_php['see_prev']}</a>&nbsp;&nbsp;-&nbsp;&nbsp;";
+} else {
+    $prev_link = '';
+}
+
+pageheader($lang_reviewcom_php['title']);
+
+echo <<<EOT
+<script type="text/javascript" language="javascript">
+<!--
+function textCounter(field, maxlimit) {
+        if (field.value.length > maxlimit) // if too long...trim it!
+        field.value = field.value.substring(0, maxlimit);
+}
+
+function selectAll(d,box) {
+  var f = document.editForm;
+  for (i = 0; i < f.length; i++) {
+    //alert (f[i].name.indexOf(box));
+    if (f[i].type == "checkbox" && f[i].name.indexOf(box) >= 0) {
+      if (d.checked) {
+        f[i].checked = true;
+      } else {
+        f[i].checked = false;
+      }
+    }
+  }
+  if (d.name == "checkAll") {
+      document.getElementsByName('checkAll2')[0].checked = document.getElementsByName('checkAll')[0].checked;
+  } else {
+      document.getElementsByName('checkAll')[0].checked = document.getElementsByName('checkAll2')[0].checked;
+  }
+}
+
+-->
+</script>
+
+    <form action="{$_SERVER['PHP_SELF']}?start=$start&amp;count=$count" method="post" name="editForm">
+
+EOT;
+
+// make up the table header
+
+
+starttable('100%');
+
+
+if ($nb_com_del > 0) {
+    $msg_txt = sprintf($lang_reviewcom_php['n_comm_del'], $nb_com_del);
+    echo <<<EOT
+        <tr>
+                <td class="tableh2" colspan="5" align="center">
+                        <br /><b>$msg_txt</b><br /><br />
+                </td>
+        </tr>
+
+EOT;
+}
+
+echo <<<EOT
+        <tr>
+                <td class="tableh1" colspan="5">
+                    <table border="0" cellspacing="0" cellpadding="0" width="100%">
+                        <tr>
+                            <td class="tableh1">
+                                {$lang_reviewcom_php['title']}
+                            </td>
+                            <td class="tableh1" align="center">
+                                $prev_link
+                                $next_link
+                            </td>
+                            <td class="tableh1" align="right">
+                                {$lang_reviewcom_php['n_comm_disp']}
+                                <select onChange="if(this.options[this.selectedIndex].value) window.location.href='{$_SERVER['PHP_SELF']}?start=$start&amp;count='+this.options[this.selectedIndex].value;"  name="count" class="listbox">
+                                        <option value="25">25</option>
+                                        <option value="50" $s50>50</option>
+                                        <option value="75" $s75>75</option>
+                                        <option value="100" $s100>100</option>
+                                </select>
+                            </td>
+                        </tr>
+                    </table>
+                </td>
+        </tr>
+
+EOT;
+
+    echo <<<EOT
+        <tr>
+        <td class="tableh2" valign="middle" align="center">
+            <input type="checkbox" name="checkAll" onClick="selectAll(this,'cid_array');" class="checkbox" title="$lang_check_uncheck_all" />
+        </td>
+        <td class="tableh2" valign="top">{$lang_reviewcom_php['user_name']}
+        <a href="{$_SERVER['PHP_SELF']}?start=$start&amp;count=$count&amp;sort=name_a"><img src="images/ascending.gif" width="9" height="9" border="0" alt="" title="{$lang_reviewcom_php['name_a']}" /></a>
+        <a href="{$_SERVER['PHP_SELF']}?start=$start&amp;count=$count&amp;sort=name_d"><img src="images/descending.gif" width="9" height="9" border="0" alt="" title="{$lang_reviewcom_php['name_d']}" /></a>
+        </td>
+        <td class="tableh2" valign="top">{$lang_reviewcom_php['date']}
+        <a href="{$_SERVER['PHP_SELF']}?start=$start&amp;count=$count&amp;sort=date_a"><img src="images/ascending.gif" width="9" height="9" border="0" alt="" title="{$lang_reviewcom_php['date_a']}" /></a>
+        <a href="{$_SERVER['PHP_SELF']}?start=$start&amp;count=$count&amp;sort=date_d"><img src="images/descending.gif" width="9" height="9" border="0" alt="" title="{$lang_reviewcom_php['date_d']}" /></a>
+        </td>
+        <td class="tableh2" valign="top">{$lang_reviewcom_php['comment']}
+        <a href="{$_SERVER['PHP_SELF']}?start=$start&amp;count=$count&amp;sort=comment_a"><img src="images/ascending.gif" width="9" height="9" border="0" alt="" title="{$lang_reviewcom_php['comment_a']}" /></a>
+        <a href="{$_SERVER['PHP_SELF']}?start=$start&amp;count=$count&amp;sort=comment_d"><img src="images/descending.gif" width="9" height="9" border="0" alt="" title="{$lang_reviewcom_php['comment_d']}" /></a>
+        </td>
+        <td class="tableh2" valign="top">{$lang_reviewcom_php['file']}
+        <a href="{$_SERVER['PHP_SELF']}?start=$start&amp;count=$count&amp;sort=file_a"><img src="images/ascending.gif" width="9" height="9" border="0" alt="" title="{$lang_reviewcom_php['file_a']}" /></a>
+        <a href="{$_SERVER['PHP_SELF']}?start=$start&amp;count=$count&amp;sort=file_d"><img src="images/descending.gif" width="9" height="9" border="0" alt="" title="{$lang_reviewcom_php['file_d']}" /></a>
+        </td>
+        </tr>
+
+EOT;
+
+$sort_codes = array('name_a' => 'msg_author ASC',
+    'name_d' => 'msg_author DESC',
+    'date_a' => 'msg_id ASC',
+    'date_d' => 'msg_id DESC',
+    'comment_a' => 'msg_body ASC',
+    'comment_d' => 'msg_body DESC',
+    'file_a' => 'pid ASC',
+    'file_d' => 'pid DESC',
+);
+$sort = (!isset($_GET['sort']) || !isset($sort_codes[$_GET['sort']])) ? 'date_d' : $_GET['sort'];
+
+
+$result = cpg_db_query("SELECT msg_id, msg_author, msg_body, UNIX_TIMESTAMP(msg_date) AS msg_date, author_id, {$CONFIG['TABLE_COMMENTS']}.pid as pid, aid, filepath, filename, url_prefix, pwidth, pheight FROM {$CONFIG['TABLE_COMMENTS']}, {$CONFIG['TABLE_PICTURES']} WHERE {$CONFIG['TABLE_COMMENTS']}.pid = {$CONFIG['TABLE_PICTURES']}.pid ORDER BY {$sort_codes[$sort]} LIMIT $start, $count");
+
+$rowcounter = 0;
+
+while ($row = mysql_fetch_array($result)) {
+    $thumb_url =  get_pic_url($row, 'thumb');
+    if (!is_image($row['filename'])) {
+        $image_info = getimagesize($thumb_url);
+        $row['pwidth'] = $image_info[0];
+        $row['pheight'] = $image_info[1];
+    }
+    $image_size = compute_img_size($row['pwidth'], $row['pheight'], $CONFIG['alb_list_thumb_size']);
+    $thumb_link = 'displayimage.php?pos=' . - $row['pid'];
+    $msg_date = localised_date($row['msg_date'], $comment_date_fmt);
+    $msg_body = bb_decode(process_smilies($row['msg_body']));
+    $rowcounter++;
+    if ($rowcounter >=2 ) { //let the row colors alternate, for now they are the same
+        $rowcounter = 0;
+        $tableclass = 'tableb'; // change to "tableh2_compact" or similar for alternation
+    } else {
+        $tableclass = 'tableb';
+    }
+    // build a link to the author's profile if applicable
+    if ($row['author_id'] != 0) {
+        $profile_link_start = '<a href="profile.php?uid='.$row['author_id'].'">';
+        $profile_link_end = '</a>';
+    } else {
+        $profile_link_start = '';
+        $profile_link_end = '';
+    }
+    // output the table rows
+    echo <<<EOT
+        <tr>
+        <td class="$tableclass" valign="top" align="center">
+            <input name="cid_array[]" id="check{$row['msg_id']}" type="checkbox" value="{$row['msg_id']}" />
+        </td>
+        <td class="$tableclass" valign="top">$profile_link_start{$row['msg_author']}$profile_link_end</td>
+        <td class="$tableclass" valign="top">{$msg_date}</td>
+        <td class="$tableclass" valign="top">
+                        {$msg_body}
+        </td>
+        <td class="$tableclass" align="center">
+                        <a href="$thumb_link"><img src="$thumb_url" {$image_size['geom']} class="image" border="0" alt="" /></a>
+        </td>
+        </tr>
+
+EOT;
+    flush();
+}
+
+mysql_free_result($result);
+
+echo <<<EOT
+        <tr>
+            <td class="tablef" valign="middle" align="center">
+                <input type="checkbox" name="checkAll2" onClick="selectAll(this,'cid_array');" class="checkbox" title="$lang_check_uncheck_all" />
+            </td>
+            <td colspan="4" align="center" class="tablef">
+                        <input type="submit" value="{$lang_reviewcom_php['del_comm']}" class="button" />
+                </td>
+        </tr>
+
+EOT;
+endtable();
+echo '</form>';
+pagefooter();
+ob_end_flush();
+
+?>
diff -x .svn -aruN 1.4.24.src/scripts.js 1.4.25.src/scripts.js
--- 1.4.24.src/scripts.js	2009-05-21 15:03:09.000000000 -0500
+++ 1.4.25.src/scripts.js	2009-05-26 11:25:52.000000000 -0500
@@ -1,144 +1,144 @@
-/*************************
-  Coppermine Photo Gallery
-  ************************
-  Copyright (c) 2003-2009 Coppermine Dev Team
-  v1.1 originally written by Gregory DEMAR
-
-  This program is free software; you can redistribute it and/or modify
-  it under the terms of the GNU General Public License version 3
-  as published by the Free Software Foundation.
-  
-  ********************************************
-  Coppermine version: 1.4.24
-  $HeadURL: https://coppermine.svn.sourceforge.net/svnroot/coppermine/trunk/cpg1.4.x/scripts.js $
-  $Revision: 5969 $
-  $Author: gaugau $
-  $Date: 2009-05-21 22:03:33 +0200 (Do, 21 Mai 2009) $
-**********************************************/
-
-function MM_openBrWindow(theURL,winName,features) { //v2.0
-  window.open(theURL,winName,features);
-}
-
-function writeCookie(name, data, noDays){
-  var cookieStr = name + "="+ data
-  if (writeCookie.arguments.length > 2){
-    cookieStr += "; expires=" + getCookieExpireDate(noDays)
-    }
-  document.cookie = cookieStr
-}
-
-function readCookie(cookieName){
-   var searchName = cookieName + "="
-   var cookies = document.cookie
-   var start = cookies.indexOf(cookieName)
-   if (start == -1){ // cookie not found
-     return ""
-     }
-   start += searchName.length //start of the cookie data
-   var end = cookies.indexOf(";", start)
-   if (end == -1){
-     end = cookies.length
-     }
-   return cookies.substring(start, end)
-}
-
-function blocking(nr, cookie, vis_state)
-{
-        if (document.layers)
-        {
-                current = (document.layers[nr].display == 'none') ? vis_state : 'none';
-                if (cookie != '')
-                        writeCookie(nr, current);
-                document.layers[nr].display = current;
-        }
-        else if (document.all)
-        {
-                current = (document.all[nr].style.display == 'none') ? vis_state : 'none';
-                if (cookie != '')
-                        writeCookie(nr, current);
-                document.all[nr].style.display = current;
-        }
-        else if (document.getElementById)
-        {
-                display = (document.getElementById(nr).style.display == 'none') ? vis_state : 'none';
-                if (cookie != '')
-                        writeCookie(nr, display);
-                document.getElementById(nr).style.display = display;
-        }
-}
-
-
-function adjust_popup()
-{
-        var w, h, fixedW, fixedH, diffW, diffH;
-        if (document.documentElement && document.body.clientHeight==0) {     // Catches IE6 and FF in DOCMODE
-                fixedW = document.documentElement.clientWidth;
-                fixedH = document.documentElement.clientHeight;
-                window.resizeTo(fixedW, fixedH);
-                diffW = fixedW - document.documentElement.clientWidth;
-                diffH = fixedH - document.documentElement.clientHeight;
-                w = fixedW + diffW + 16; // Vert Scrollbar Always On in DOCMODE.
-                h = fixedH + diffH;
-                if (w >= screen.availWidth) h += 16;
-        } else if (document.all) {
-                fixedW = document.body.clientWidth;
-                fixedH = document.body.clientHeight;
-                window.resizeTo(fixedW, fixedH);
-                diffW = fixedW - document.body.clientWidth;
-                diffH = fixedH - document.body.clientHeight;
-                w = fixedW + diffW;
-                h = fixedH + diffH;
-                if (h >= screen.availHeight) w += 16;
-                if (w >= screen.availWidth)  h += 16;
-        } else {
-                fixedW = window.innerWidth;
-                fixedH = window.innerHeight;
-                window.resizeTo(fixedW, fixedH);
-                diffW = fixedW - window.innerWidth;
-                diffH = fixedH - window.innerHeight;
-                w = fixedW + diffW;
-                h = fixedH + diffH;
-                if (w >= screen.availWidth)  h += 16;
-                if (h >= screen.availHeight) w += 16;
-        }
-        w = Math.min(w,screen.availWidth);
-        h = Math.min(h,screen.availHeight);
-        window.resizeTo(w,h);
-        window.moveTo((screen.availWidth-w)/2, (screen.availHeight-h)/2);
-}
-
-function show_section(e) {
-    if (document.getElementById(e).style.display == 'none') {
-        document.getElementById(e).style.display = 'block';
-    } else {
-        document.getElementById(e).style.display = 'none';
-    }
-}
-
-
-function expand()
-{
-        var Nodes = document.getElementsByTagName("table")
-        var max = Nodes.length
-        for(var i = 0;i < max;i++) {
-                var nodeObj = Nodes.item(i)
-                var str = nodeObj.id
-                if (str.match("section")) {
-                        nodeObj.style.display = 'block';
-                }
-        }
-}
-
-function hideall()
-{
-        var Nodes = document.getElementsByTagName("table")
-        var max = Nodes.length
-        for(var i = 0;i < max;i++) {
-                var nodeObj = Nodes.item(i)
-                var str = nodeObj.id
-                if (str.match("section")) {
-                        nodeObj.style.display = 'none';
-                }
-        }
+/*************************
+  Coppermine Photo Gallery
+  ************************
+  Copyright (c) 2003-2009 Coppermine Dev Team
+  v1.1 originally written by Gregory DEMAR
+
+  This program is free software; you can redistribute it and/or modify
+  it under the terms of the GNU General Public License version 3
+  as published by the Free Software Foundation.
+  
+  ********************************************
+  Coppermine version: 1.4.25
+  $HeadURL: https://coppermine.svn.sourceforge.net/svnroot/coppermine/trunk/cpg1.4.x/scripts.js $
+  $Revision: 5997 $
+  $Author: gaugau $
+  $Date: 2009-05-26 08:43:24 +0200 (Di, 26 Mai 2009) $
+**********************************************/
+
+function MM_openBrWindow(theURL,winName,features) { //v2.0
+  window.open(theURL,winName,features);
+}
+
+function writeCookie(name, data, noDays){
+  var cookieStr = name + "="+ data
+  if (writeCookie.arguments.length > 2){
+    cookieStr += "; expires=" + getCookieExpireDate(noDays)
+    }
+  document.cookie = cookieStr
+}
+
+function readCookie(cookieName){
+   var searchName = cookieName + "="
+   var cookies = document.cookie
+   var start = cookies.indexOf(cookieName)
+   if (start == -1){ // cookie not found
+     return ""
+     }
+   start += searchName.length //start of the cookie data
+   var end = cookies.indexOf(";", start)
+   if (end == -1){
+     end = cookies.length
+     }
+   return cookies.substring(start, end)
+}
+
+function blocking(nr, cookie, vis_state)
+{
+        if (document.layers)
+        {
+                current = (document.layers[nr].display == 'none') ? vis_state : 'none';
+                if (cookie != '')
+                        writeCookie(nr, current);
+                document.layers[nr].display = current;
+        }
+        else if (document.all)
+        {
+                current = (document.all[nr].style.display == 'none') ? vis_state : 'none';
+                if (cookie != '')
+                        writeCookie(nr, current);
+                document.all[nr].style.display = current;
+        }
+        else if (document.getElementById)
+        {
+                display = (document.getElementById(nr).style.display == 'none') ? vis_state : 'none';
+                if (cookie != '')
+                        writeCookie(nr, display);
+                document.getElementById(nr).style.display = display;
+        }
+}
+
+
+function adjust_popup()
+{
+        var w, h, fixedW, fixedH, diffW, diffH;
+        if (document.documentElement && document.body.clientHeight==0) {     // Catches IE6 and FF in DOCMODE
+                fixedW = document.documentElement.clientWidth;
+                fixedH = document.documentElement.clientHeight;
+                window.resizeTo(fixedW, fixedH);
+                diffW = fixedW - document.documentElement.clientWidth;
+                diffH = fixedH - document.documentElement.clientHeight;
+                w = fixedW + diffW + 16; // Vert Scrollbar Always On in DOCMODE.
+                h = fixedH + diffH;
+                if (w >= screen.availWidth) h += 16;
+        } else if (document.all) {
+                fixedW = document.body.clientWidth;
+                fixedH = document.body.clientHeight;
+                window.resizeTo(fixedW, fixedH);
+                diffW = fixedW - document.body.clientWidth;
+                diffH = fixedH - document.body.clientHeight;
+                w = fixedW + diffW;
+                h = fixedH + diffH;
+                if (h >= screen.availHeight) w += 16;
+                if (w >= screen.availWidth)  h += 16;
+        } else {
+                fixedW = window.innerWidth;
+                fixedH = window.innerHeight;
+                window.resizeTo(fixedW, fixedH);
+                diffW = fixedW - window.innerWidth;
+                diffH = fixedH - window.innerHeight;
+                w = fixedW + diffW;
+                h = fixedH + diffH;
+                if (w >= screen.availWidth)  h += 16;
+                if (h >= screen.availHeight) w += 16;
+        }
+        w = Math.min(w,screen.availWidth);
+        h = Math.min(h,screen.availHeight);
+        window.resizeTo(w,h);
+        window.moveTo((screen.availWidth-w)/2, (screen.availHeight-h)/2);
+}
+
+function show_section(e) {
+    if (document.getElementById(e).style.display == 'none') {
+        document.getElementById(e).style.display = 'block';
+    } else {
+        document.getElementById(e).style.display = 'none';
+    }
+}
+
+
+function expand()
+{
+        var Nodes = document.getElementsByTagName("table")
+        var max = Nodes.length
+        for(var i = 0;i < max;i++) {
+                var nodeObj = Nodes.item(i)
+                var str = nodeObj.id
+                if (str.match("section")) {
+                        nodeObj.style.display = 'block';
+                }
+        }
+}
+
+function hideall()
+{
+        var Nodes = document.getElementsByTagName("table")
+        var max = Nodes.length
+        for(var i = 0;i < max;i++) {
+                var nodeObj = Nodes.item(i)
+                var str = nodeObj.id
+                if (str.match("section")) {
+                        nodeObj.style.display = 'none';
+                }
+        }
 }
\ No newline at end of file
diff -x .svn -aruN 1.4.24.src/searchnew.php 1.4.25.src/searchnew.php
--- 1.4.24.src/searchnew.php	2009-05-25 15:59:16.000000000 -0500
+++ 1.4.25.src/searchnew.php	2009-05-26 11:25:52.000000000 -0500
@@ -1,623 +1,623 @@
-<?php
-/*************************
-  Coppermine Photo Gallery
-  ************************
-  Copyright (c) 2003-2009 Coppermine Dev Team
-  v1.1 originally written by Gregory DEMAR
-
-  This program is free software; you can redistribute it and/or modify
-  it under the terms of the GNU General Public License version 3
-  as published by the Free Software Foundation.
-  
-  ********************************************
-  Coppermine version: 1.4.24
-  $HeadURL: https://coppermine.svn.sourceforge.net/svnroot/coppermine/trunk/cpg1.4.x/searchnew.php $
-  $Revision: 5993 $
-  $Author: gaugau $
-  $Date: 2009-05-25 22:59:40 +0200 (Mo, 25 Mai 2009) $
-**********************************************/
-
-define('IN_COPPERMINE', true);
-define('SEARCHNEW_PHP', true);
-define('DB_INPUT_PHP', true);
-
-require('include/init.inc.php');
-
-if (!GALLERY_ADMIN_MODE) cpg_die(ERROR, $lang_errors['access_denied'], __FILE__, __LINE__);
-
-/**
- * Local functions definition
- */
-
-/**
- * albumselect()
- *
- * return the HTML code for a listbox with name $id that contains the list
- * of all albums
- *
- * @param string $id the name of the listbox
- * @return the HTML code
- */
-
-
- function albumselect($id = "album") {
-// frogfoot re-wrote this function to present the list in categorized, sorted and nicely formatted order
-
-    global $CONFIG, $lang_search_new_php, $cpg_udb;
-    static $select = "";
-
-    // Reset counter
-    $list_count = 0;
-
-    if ($select == "") {
-        $result = cpg_db_query("SELECT aid, title FROM {$CONFIG['TABLE_ALBUMS']} WHERE category = 0");
-        while ($row = mysql_fetch_array($result)) {
-            // Add to multi-dim array for later sorting
-            $listArray[$list_count]['cat'] = $lang_search_new_php['albums_no_category'];
-            $listArray[$list_count]['aid'] = $row['aid'];
-            $listArray[$list_count]['title'] = $row['title'];
-            $list_count++;
-        }
-        mysql_free_result($result);
-
-        $result = cpg_db_query("SELECT DISTINCT a.aid as aid, a.title as title, c.name as cname FROM {$CONFIG['TABLE_ALBUMS']} as a, {$CONFIG['TABLE_CATEGORIES']} as c WHERE a.category = c.cid AND a.category < '" . FIRST_USER_CAT . "'");
-        while ($row = mysql_fetch_array($result)) {
-            // Add to multi-dim array for later sorting
-            $listArray[$list_count]['cat'] = $row['cname'];
-            $listArray[$list_count]['aid'] = $row['aid'];
-            $listArray[$list_count]['title'] = $row['title'];
-            $list_count++;
-        }
-        mysql_free_result($result);
-
-        //if (defined('UDB_INTEGRATION')) {
-            $sql = $cpg_udb->get_batch_add_album_list();
-        /*} else {
-            $sql = "SELECT aid, CONCAT('(', user_name, ') ', title) AS title " . "FROM {$CONFIG['TABLE_ALBUMS']} AS a " . "INNER JOIN {$CONFIG['TABLE_USERS']} AS u ON category = (" . FIRST_USER_CAT . " + user_id)";
-        }*/
-        $result = cpg_db_query($sql);
-        while ($row = mysql_fetch_array($result)) {
-            // Add to multi-dim array for later sorting
-            $listArray[$list_count]['cat'] = $lang_search_new_php['personal_albums'];
-            $listArray[$list_count]['aid'] = $row['aid'];
-            $listArray[$list_count]['title'] = $row['title'];
-            $list_count++;
-        }
-        mysql_free_result($result);
-
-        $select = '<option value="0">' . $lang_search_new_php['select_album'] . "</option>\n";
-
-        // Sort the pulldown options by category and album name
-        $listArray = array_csort($listArray,'cat','title');
-
-        // Create the nicely sorted and formatted drop down list
-        $alb_cat = '';
-        foreach ($listArray as $val) {
-            if ($val['cat'] != $alb_cat) {
-          if ($alb_cat) $select .= "</optgroup>\n";
-                $select .= '<optgroup label="' . $val['cat'] . '">' . "\n";
-                $alb_cat = $val['cat'];
-            }
-            $select .= '<option value="' . $val['aid'] . '"' . ($val['aid'] == $sel_album ? ' selected' : '') . '>   ' . $val['title'] . "</option>\n";
-        }
-        if ($alb_cat) $select .= "</optgroup>\n";
-    }
-
-    return "\n<select name=\"$id\" class=\"listbox\">\n$select</select>\n";
-}
-
-/**
- * dirheader()
- *
- * return the HTML code for the row to be displayed when we start a new
- * directory
- *
- * @param  $dir the directory
- * @param  $dirid the name of the listbox that will list the albums
- * @return the HTML code
- */
-function dirheader($dir, $dirid)
-{
-    global $CONFIG, $lang_search_new_php,$lang_check_uncheck_all;
-    $warning = '';
-
-    if (!is_writable($CONFIG['fullpath'] . $dir))
-        $warning = "<tr><td class=\"tableh2\" valign=\"middle\" colspan=\"3\">\n" . "<b>{$lang_search_new_php['warning']}</b>: {$lang_search_new_php['change_perm']}</td></tr>\n";
-    return "<tr><td class=\"tableh2\"><input type=\"checkbox\" name=\"checkAll2\" onClick=\"selectAll(this,'pics');\" class=\"checkbox\" title=\"".$lang_check_uncheck_all."\" /></td><td class=\"tableh2\" valign=\"middle\" align=\"right\" colspan=\"2\">\n" .
-    sprintf($lang_search_new_php['target_album'], $dir, albumselect($dirid)) . "</td></tr>\n" . $warning;
-}
-
-/**
- * picrow()
- *
- * return the HTML code for a row to be displayed for an image
- * the row contains a checkbox, the image name, a thumbnail
- *
- * @param  $picfile the full path of the file that contains the picture
- * @param  $picid the name of the check box
- * @return the HTML code
- */
-function picrow($picfile, $picid, $albid)
-{
-    global $CONFIG, $expic_array;
-
-    $encoded_picfile = base64_encode($picfile);
-    $picname = $CONFIG['fullpath'] . $picfile;
-    $pic_url = urlencode($picfile);
-    $pic_fname = basename($picfile);
-    $pic_dirname = dirname($picname);
-
-    $thumb_file = dirname($picname) . '/' . $CONFIG['thumb_pfx'] . $pic_fname;
-    if (file_exists($thumb_file)) {
-        $thumb_info = getimagesize($picname);
-        $thumb_size = compute_img_size($thumb_info[0], $thumb_info[1], 48);
-        $img = '<img src="' . path2url($thumb_file) . '" ' . $thumb_size['geom'] . ' class="thumbnail" border="0" alt="" />';
-    } elseif (is_image($picname)) {
-        $img = '<img src="showthumb.php?picfile=' . $pic_url . '&amp;size=48" class="thumbnail" border="0" alt="" />';
-    } else {
-        $file['filepath'] = $pic_dirname.'/'; //substr($picname,0,strrpos($picname,'/'))
-        $file['filename'] = $pic_fname;
-        $filepathname = get_pic_url($file,'thumb');
-        //$mime_content = cpg_get_type($picname);
-        //$extension = file_exists("images/thumb_{$mime_content['extension']}.jpg") ? $mime_content['extension']:$mime_content['content'];
-        //$img = '<img src="images/thumb_'.$extension.'.jpg" class="thumbnail" width="48" border="0" alt="" />';
-        $img = '<img src="'.$filepathname.'" class="thumbnail" width="48" border="0" alt="" />';
-    }
-
-    if (filesize($picname) && is_readable($picname)) {
-        //$fullimagesize = getimagesize($picname); COMMENTED OUT FOR VIDEO SUPPORT
-        $winsizeX = ($fullimagesize[0] + 16);
-        $winsizeY = ($fullimagesize[1] + 16);
-
-        //$checked = isset($expic_array[$picfile]) || !$fullimagesize ? '' : 'checked';
-
-        $checked = isset($expic_array[$picfile]) ? '' : 'checked';
-
-        return <<<EOT
-        <tr>
-                <td class="tableb" valign="middle">
-                        <input name="pics[]" id="picselector" type="checkbox" value="$picid" $checked />
-                        <input name="album_lb_id_$picid" type="hidden" value="$albid" />
-                        <input name="picfile_$picid" type="hidden" value="$encoded_picfile" />
-                </td>
-                <td class="tableb" valign="middle" width="100%">
-                        <a href="javascript:;" onclick= "MM_openBrWindow('displayimage.php?fullsize=1&amp;picfile=$pic_url', 'ImageViewer', 'toolbar=yes, status=yes, resizable=yes, width=$winsizeX, height=$winsizeY')">$pic_fname</a>
-                </td>
-                <td class="tableb" valign="middle" align="center">
-                        <a href="javascript:;" onclick= "MM_openBrWindow('displayimage.php?fullsize=1&amp;picfile=$pic_url', 'ImageViewer', 'toolbar=yes, status=yes, resizable=yes, width=$winsizeX, height=$winsizeY')"><img src="images/spacer.gif" width="1" height="48" border="0" alt="" />$img<br /></a>
-                </td>
-        </tr>
-EOT;
-    } else {
-        $winsizeX = (300);
-        $winsizeY = (300);
-        return <<<EOT
-        <tr>
-                <td class="tableb" valign="middle">
-                        &nbsp;
-                </td>
-                <td class="tableb" valign="middle" width="100%">
-                        <i>$pic_fname</i>
-                </td>
-                <td class="tableb" valign="middle" align="center">
-                        <a href="javascript:;" onclick= "MM_openBrWindow('displayimage.php?fullsize=1&amp;picfile=$pic_url', 'ImageViewer', 'toolbar=yes, status=yes, resizable=yes, width=$winsizeX, height=$winsizeY')"><img src="showthumb.php?picfile=$pic_url&amp;size=48" class="thumbnail" border="0" alt="" /><br /></a>
-                </td>
-        </tr>
-EOT;
-    }
-}
-
-/**
- * getfoldercontent()
- *
- * return the files and directories of a folder in two arrays
- *
- * @param  $folder the folder to read
- * @param  $dir_array the array that will contain name of sub-dir
- * @param  $pic_array the array that will contain name of picture
- * @param  $expic_array an array that contains pictures already in db
- * @return
- */
-function getfoldercontent($folder, &$dir_array, &$pic_array, &$expic_array)
-{
-    global $CONFIG, $lang_db_input_php;
-    $dir = opendir($CONFIG['fullpath'] . $folder);
-    while (($file = readdir($dir)) !== FALSE) {
-        if (is_dir($CONFIG['fullpath'] . $folder . $file)) {
-            if ($file != "." && $file != ".." && $CONFIG['fullpath'] . $folder . $file != $CONFIG['fullpath'].'/edit' && $CONFIG['fullpath'] . $folder . $file != $CONFIG['fullpath'].'/'.substr($CONFIG['userpics'],0,strlen($CONFIG['userpics'])-1)) {
-                $dir_array[] = $file;
-            }
-        }
-        if (is_file($CONFIG['fullpath'] . $folder . $file) && !in_array($file, $pic_array)) {
-            if (strncmp($file, $CONFIG['thumb_pfx'], strlen($CONFIG['thumb_pfx'])) != 0 && strncmp($file, $CONFIG['normal_pfx'], strlen($CONFIG['normal_pfx'])) != 0 && $file != 'index.html') {
-                $newfile = replace_forbidden($file);
-                if ($newfile != $file) {
-                  //File name has been changed, let's get a unique filename and rename the existing file.
-                  $matches = array();
-                  if (!preg_match("/(.+)\.(.*?)\Z/", $newfile, $matches)) {
-                      $matches[1] = 'invalid_fname';
-                      $matches[2] = 'xxx';
-                  }
-
-                  if ($matches[2] == '' || !is_known_filetype($matches)) {
-                      cpg_die(ERROR, sprintf($lang_db_input_php['err_invalid_fext'], $CONFIG['allowed_file_extensions']), __FILE__, __LINE__);
-                  }
-
-                  // Create a unique name for the uploaded file
-                  $nr = 0;
-                  $picture_name = $matches[1] . '.' . $matches[2];
-                  while (file_exists($CONFIG['fullpath'] . $folder . $picture_name)) {
-                    $picture_name = $matches[1] . '~' . $nr++ . '.' . $matches[2];
-                  }
-                  @rename($CONFIG['fullpath'] . $folder . $file, $CONFIG['fullpath'] . $folder . $picture_name);
-                  $file = $picture_name;
-                }
-                $pic_array[] = $file;
-            }
-        }
-    }
-    closedir($dir);
-
-    natcasesort($dir_array);
-    natcasesort($pic_array);
-}
-
-function display_dir_tree($folder, $ident)
-{
-    global $CONFIG, $lang_search_new_php; //$PHP_SELF,
-    $dir_path = $CONFIG['fullpath'] . $folder;
-
-    if (!is_readable($dir_path)) return;
-
-    $dir = opendir($dir_path);
-    static $dirCounter = 0;
-    while (($file = readdir($dir)) !== FALSE) { // loop looking for files - start
-        if (is_dir($CONFIG['fullpath'] . $folder . $file) &&
-            substr($file,0,1) != "." &&
-            strpos($file,"'") == FALSE &&
-            strpos($file,trim($CONFIG['userpics'],'/')) === FALSE &&
-            strpos($file,'edit') === FALSE &&
-            strpos($file,'svn') === FALSE &&
-            strpos($file,'.svn') === FALSE &&
-            strpos($file,'CVS') === FALSE) {
-                $start_target = $folder . $file;
-                $dir_path = $CONFIG['fullpath'] . $folder . $file;
-
-                $warnings = '';
-                if (!is_writable($dir_path)) $warnings .= $lang_search_new_php['dir_ro'];
-                if (!is_readable($dir_path)) $warnings .= $lang_search_new_php['dir_cant_read'];
-
-                if ($warnings) $warnings = '&nbsp;&nbsp;&nbsp;<b>' . $warnings . '<b>';
-
-                echo <<<EOT
-                            <tr>
-                                    <td class="tableb">
-                                            $ident<img src="images/folder.gif" border="0" alt="" />&nbsp;<a href= "{$_SERVER['PHP_SELF']}?startdir=$start_target">$file</a>$warnings
-                                    </td>
-                            </tr>
-EOT;
-                $dirCounter++;
-                display_dir_tree($folder . $file . '/', $ident . '&nbsp;&nbsp;&nbsp;&nbsp;');
-        }
-    } // loop looking for files - end
-    closedir($dir);
-    if ($dirCounter == 0) {
-    echo '
-                        <tr>
-                                <td class="tableb">';
-    echo '                                   ' . sprintf($lang_search_new_php['no_folders'],trim($CONFIG['fullpath'],'/'),trim($CONFIG['fullpath'],'/'),trim($CONFIG['userpics'],'/'));
-    echo '
-                                    </td>
-                        </tr>';
-    }
-
-}
-
-/**
- * getallpicindb()
- *
- * Fill an array where keys are the full path of all images in the picture table
- *
- * @param  $pic_array the array to be filled
- * @return
- */
-function getallpicindb(&$pic_array, $startdir)
-{
-    global $CONFIG;
-
-    $sql = "SELECT filepath, filename " . "FROM {$CONFIG['TABLE_PICTURES']} " . "WHERE filepath LIKE '$startdir%'";
-    $result = cpg_db_query($sql);
-    while ($row = mysql_fetch_array($result)) {
-        $pic_file = $row['filepath'] . $row['filename'];
-        $pic_array[$pic_file] = 1;
-    }
-    mysql_free_result($result);
-}
-
-/**
- * getallalbumsindb()
- *
- * Fill an array with all albums where keys are aid of albums and values are
- * album title
- *
- * @param  $album_array the array to be filled
- * @return
- */
-function getallalbumsindb(&$album_array)
-{
-    global $CONFIG;
-
-    $sql = "SELECT aid, title " . "FROM {$CONFIG['TABLE_ALBUMS']} " . "WHERE 1";
-    $result = cpg_db_query($sql);
-
-    while ($row = mysql_fetch_array($result)) {
-        $album_array[$row['aid']] = $row['title'];
-    }
-    mysql_free_result($result);
-}
-
-/**
- * CPGscandir() //renamed because php5 has same function as scandir()
- *
- * recursive function that scan a directory, create the HTML code for each
- * picture and add new pictures in an array
- *
- * @param  $dir the directory to be scanned
- * @param  $expic_array the array that contains pictures already in DB
- * @param  $newpic_array the array that contains new pictures found
- * @return
- */
-function CPGscandir($dir, &$expic_array)
-{
-        $dir = str_replace(".","" ,$dir);
-    static $dir_id = 0;
-    static $count = 0;
-    static $pic_id = 0;
-
-    $pic_array = array();
-    $dir_array = array();
-    getfoldercontent($dir, $dir_array, $pic_array, $expic_array);
-
-    if (count($pic_array) > 0) {
-        $dir_id_str = sprintf("d%04d", $dir_id++);
-        echo dirheader($dir, $dir_id_str);
-        foreach ($pic_array as $picture) {
-            $count++;
-            $pic_id_str = sprintf("i%04d", $pic_id++);
-            echo picrow($dir . $picture, $pic_id_str, $dir_id_str);
-        }
-    }
-    if (count($dir_array) > 0) {
-        foreach ($dir_array as $directory) {
-            if (substr($directory,0,1) != ".") // added do not show folders with dots: gaugau 03-11-02
-            CPGscandir($dir . $directory . '/', $expic_array);
-        }
-    }
-    return $count;
-}
-
-/**
- * Main code
- */
-
-$album_array = array();
-getallalbumsindb($album_array);
-// We need at least one album
-if (!count($album_array)) {
-    cpg_die(ERROR, $lang_search_new_php['need_one_album'], __FILE__, __LINE__);
-}
-
-if (isset($_POST['insert'])) {
-    if (!isset($_POST['pics'])) cpg_die(ERROR, $lang_search_new_php['no_pic_to_add'], __FILE__, __LINE__);
-
-    pageheader($lang_search_new_php['page_title']);
-    $help = '&nbsp;'.cpg_display_help('f=index.htm&amp;as=ftp&amp;ae=ftp_end&amp;top=1#ftp_show_result', '600', '400');
-    starttable("100%");
-    echo <<<EOT
-        <tr>
-                <td colspan="4" class="tableh1"><h2>{$lang_search_new_php['insert']}$help</h2></td>
-        </tr>
-        <tr>
-                <td class="tableh2" valign="middle" align="center"><b>{$lang_search_new_php['folder']}</b></td>
-                <td class="tableh2" valign="middle" align="center"><b>{$lang_search_new_php['image']}</b></td>
-                <td class="tableh2" valign="middle" align="center"><b>{$lang_search_new_php['album']}</b></td>
-                <td class="tableh2" valign="middle" align="center"><b>{$lang_search_new_php['result']}</b></td>
-        </tr>
-EOT;
-
-    $count = 0;
-    foreach ($_POST['pics'] as $pic_id) {
-        $album_lb_id = $_POST['album_lb_id_' . $pic_id];
-        $album_id = $_POST[$album_lb_id];
-
-        $edit_album_array[] = $album_id; //Load the album number into an array for later
-
-        $pic_file = base64_decode($_POST['picfile_' . $pic_id]);
-        $dir_name = dirname($pic_file) . "/";
-        $file_name = basename($pic_file);
-
-        if ($album_id) {
-            // To avoid problems with PHP scripts max execution time limit, each picture is
-            // added individually using a separate script that returns an image
-            $status = "<a href=\"addpic.php?aid=$album_id&pic_file=" . ($_POST['picfile_' . $pic_id]) . "&amp;reload=" . uniqid('') . "\"><img src=\"addpic.php?aid=$album_id&amp;pic_file=" . ($_POST['picfile_' . $pic_id]) . "&amp;reload=" . uniqid('') . "\" class=\"thumbnail\" border=\"0\" width=\"24\" height=\"24\" alt=\"{$lang_search_new_php['result_icon']}\" /><br /></a>";
-            $album_name = $album_array[$album_id];
-            //$edit_pics_content .= '<a href="editpics.php?album='.$album_id. '">' . $lang_search_new_php['edit_pics'] . ' : ' . $album_name . '</a><br />';
-        } else {
-            $album_name = $lang_search_new_php['no_album'];
-            $status = "<img src=\"images/up_na.gif\" alt=\"" . $lang_search_new_php['no_album'] . "\" class=\"thumbnail\" border=\"0\" width=\"24\" height=\"24\" /><br />";
-        }
-        echo "<tr>\n";
-        echo "<td class=\"tableb\" valign=\"middle\" align=\"left\">$dir_name</td>\n";
-        echo "<td class=\"tableb\" valign=\"middle\" align=\"left\">$file_name</td>\n";
-        echo "<td class=\"tableb\" valign=\"middle\" align=\"left\">$album_name</td>\n";
-        echo "<td class=\"tableb\" valign=\"middle\" align=\"center\">$status</td>\n";
-        echo "</tr>\n";
-        $count++;
-        flush();
-    }
-
-    // Eliminate the duplicate albums from the edit_album_array
-    $edit_album_array = array_unique($edit_album_array);
-    // Display the albums that have new pictures added
-    foreach ($edit_album_array as $edit_album)
-    {
-      $edit_pics_content .= $lang_search_new_php['album'] . ' &laquo;' . $album_array[$edit_album] .'&raquo;: ';
-      $edit_pics_content .= '<a href="editpics.php?album='.$edit_album. '" class="admin_menu">' . $lang_search_new_php['edit_pics'] . '</a> ';
-      $edit_pics_content .= '<a href="modifyalb.php?album='.$edit_album. '" class="admin_menu">' . $lang_search_new_php['edit_properties'] . '</a> ';
-      $edit_pics_content .= '<a href="thumbnails.php?album='.$edit_album. '" class="admin_menu">' . $lang_search_new_php['view_thumbs'] . '</a> ';
-      $edit_pics_content .= '<br />';
-    }
-
-    echo <<<EOT
-        <tr>
-                <td class="tableh2" colspan="4">
-                        <b>{$lang_search_new_php['be_patient']}</b>
-                </td>
-        </tr>
-        <tr>
-                <td class="tableb" colspan="4">
-                        {$lang_search_new_php['notes']}
-                </td>
-        </tr>
-        <tr>
-                <td class="tableb" colspan="4">
-                <p align="center">{$edit_pics_content}</p>
-                </td>
-        </tr>
-
-EOT;
-    endtable();
-    pagefooter();
-    ob_end_flush();
-} elseif (isset($_GET['startdir'])) {
-    pageheader($lang_search_new_php['page_title']);
-    $help = '&nbsp;'.cpg_display_help('f=index.htm&amp;as=ftp&amp;ae=ftp_end&amp;top=1#ftp_select_file', '550', '400');
-    echo <<<EOT
-        <script language="javascript" type="text/javascript">
-        <!--
-        function selectAll(d,box) {
-          var f = document.selectPics;
-          for (i = 0; i < f.length; i++) {
-            //alert (f[i].name.indexOf(box));
-            if (f[i].type == "checkbox" && f[i].name.indexOf(box) >= 0) {
-              if (d.checked) {
-                f[i].checked = true;
-              } else {
-                f[i].checked = false;
-              }
-            }
-          }
-          if (d.name == "checkAll") {
-              document.getElementsByName('checkAll2')[0].checked = document.getElementsByName('checkAll')[0].checked;
-          } else {
-              document.getElementsByName('checkAll')[0].checked = document.getElementsByName('checkAll2')[0].checked;
-          }
-        }
-        -->
-        </script>
-        <form method="post" action="{$_SERVER['PHP_SELF']}?insert=1" name="selectPics" style="margin:0px;padding:0px">
-EOT;
-    starttable("100%");
-    echo <<<EOT
-        <tr>
-                <td colspan="3" class="tableh1"><h2>{$lang_search_new_php['list_new_pic']}$help</h2></td>
-        </tr>
-
-EOT;
-    $expic_array = array();
-    getallpicindb($expic_array, $_GET['startdir']);
-    if (CPGscandir($_GET['startdir'] . '/', $expic_array)) {
-        echo <<<EOT
-        <tr>
-                <td class="tablef">
-                    <input type="checkbox" name="checkAll" onClick="selectAll(this,'pics');" class="checkbox" title="$lang_check_uncheck_all" />
-                </td>
-                <td colspan="2" align="center" class="tablef">
-                        <input type="submit" class="button" name="insert" value="{$lang_search_new_php['insert_selected']}" />
-                </td>
-        </tr>
-
-EOT;
-    } else {
-        echo <<<EOT
-        <tr>
-                <td colspan="3" align="center" class="tableb">
-                        <br /><br />
-                        <b>{$lang_search_new_php['no_pic_found']}</b>
-                        <br /><br /><br />
-                </td>
-        </tr>
-
-EOT;
-    }
-    endtable();
-    print '        </form>';
-    pagefooter();
-    ob_end_flush();
-} else {
-    pageheader($lang_search_new_php['page_title']);
-    $help = '&nbsp;'.cpg_display_help('f=index.htm&amp;as=ftp&amp;ae=ftp_end&amp;top=1', '600', '450');
-    print '<form name="interfaceconfig" action="'.$_SERVER['PHP_SELF'].'" method="post" style="margin:0px;padding:0px">';
-    starttable(-1, $lang_search_new_php['select_dir'].$help);
-
-    // write the interface change to the db
-    if (isset($_POST['update_config'])) {
-        $value = $_POST['browse_batch_add'];
-        cpg_db_query("UPDATE {$CONFIG['TABLE_CONFIG']} SET value = '$value' WHERE name = 'browse_batch_add'");
-        $CONFIG['browse_batch_add'] = $value;
-        if ($CONFIG['log_mode'] == CPG_LOG_ALL) {
-            log_write('CONFIG UPDATE SQL: '.
-              "UPDATE {$CONFIG['TABLE_CONFIG']} SET value = '$value' WHERE name = 'browse_batch_add'\n".
-              'TIME: '.date("F j, Y, g:i a")."\n".
-              'USER: '.$USER_DATA['user_name'],
-              CPG_DATABASE_LOG
-              );
-        }
-    }
-
-
-    $iframe_startfolder .= str_replace('searchnew.php', '', __FILE__).rtrim($CONFIG['fullpath'], '/').'/';
-    $iframe_hide = rawurlencode('.,..,CVS,.svn,svn,edit,'.rtrim($CONFIG['userpics'], '/'));
-    print '    <tr>'."\n";
-    print '        <td class="tableb" align="center">'."\n";
-    if ($CONFIG['browse_batch_add'] == 1) {
-        print '            <iframe src="minibrowser.php?startfolder='.$iframe_startfolder.'&amp;parentform=choosefolder&amp;formelementname=startdir&amp;no_popup=1&amp;limitfolder='.$iframe_startfolder.'&amp;hidefolders='.$iframe_hide.'&amp;linktarget='.$_SERVER['PHP_SELF'].'&amp;searchnew_php=1&amp;radio=0" width="95%" height="400" name="popup_in_a_box">'."\n";
-    }
-    display_dir_tree('', '');
-    if ($CONFIG['browse_batch_add'] == 1) {
-        print '            </iframe>'."\n";
-    }
-    print '        </td>'."\n";
-    print '    </tr>'."\n";
-
-    // configure batch-add interface (classic or browsable)
-    $yes_selected = $CONFIG['browse_batch_add'] ? 'checked="checked"' : '';
-    $no_selected = !$CONFIG['browse_batch_add'] ? 'checked="checked"' : '';
-    $help = cpg_display_help('f=index.htm&amp;as=admin_general_browsable_batch_add&amp;ae=admin_general_browsable_batch_add_end', '500', '300');
-    echo <<<EOT
-        <tr>
-                <td class="tableb">
-                        <b>{$lang_search_new_php['select_dir_msg']}</b>
-                </td>
-        </tr>
-        <tr>
-            <td class="tablef" colspan="6">
-                        {$lang_search_new_php['browse_batch_add']}
-                        $help
-                        &nbsp;&nbsp;
-                        <input type="radio" id="browse_batch_add1" name="browse_batch_add" value="1"  onclick="document.interfaceconfig.submit();" $yes_selected /><label for="browse_batch_add1" class="clickable_option">$lang_yes</label>
-                        &nbsp;&nbsp;
-                        <input type="radio" id="browse_batch_add0" name="browse_batch_add" value="0"  onclick="document.interfaceconfig.submit();" $no_selected /><label for="browse_batch_add0" class="clickable_option">$lang_no</label>
-                        &nbsp;&nbsp;
-                        <input type="hidden" name="update_config" value="1" />
-                </td>
-        </tr>
-EOT;
-
-    endtable();
-    print '        </form>';
-    pagefooter();
-    ob_end_flush();
-}
-
+<?php
+/*************************
+  Coppermine Photo Gallery
+  ************************
+  Copyright (c) 2003-2009 Coppermine Dev Team
+  v1.1 originally written by Gregory DEMAR
+
+  This program is free software; you can redistribute it and/or modify
+  it under the terms of the GNU General Public License version 3
+  as published by the Free Software Foundation.
+  
+  ********************************************
+  Coppermine version: 1.4.25
+  $HeadURL: https://coppermine.svn.sourceforge.net/svnroot/coppermine/trunk/cpg1.4.x/searchnew.php $
+  $Revision: 5997 $
+  $Author: gaugau $
+  $Date: 2009-05-26 08:43:24 +0200 (Di, 26 Mai 2009) $
+**********************************************/
+
+define('IN_COPPERMINE', true);
+define('SEARCHNEW_PHP', true);
+define('DB_INPUT_PHP', true);
+
+require('include/init.inc.php');
+
+if (!GALLERY_ADMIN_MODE) cpg_die(ERROR, $lang_errors['access_denied'], __FILE__, __LINE__);
+
+/**
+ * Local functions definition
+ */
+
+/**
+ * albumselect()
+ *
+ * return the HTML code for a listbox with name $id that contains the list
+ * of all albums
+ *
+ * @param string $id the name of the listbox
+ * @return the HTML code
+ */
+
+
+ function albumselect($id = "album") {
+// frogfoot re-wrote this function to present the list in categorized, sorted and nicely formatted order
+
+    global $CONFIG, $lang_search_new_php, $cpg_udb;
+    static $select = "";
+
+    // Reset counter
+    $list_count = 0;
+
+    if ($select == "") {
+        $result = cpg_db_query("SELECT aid, title FROM {$CONFIG['TABLE_ALBUMS']} WHERE category = 0");
+        while ($row = mysql_fetch_array($result)) {
+            // Add to multi-dim array for later sorting
+            $listArray[$list_count]['cat'] = $lang_search_new_php['albums_no_category'];
+            $listArray[$list_count]['aid'] = $row['aid'];
+            $listArray[$list_count]['title'] = $row['title'];
+            $list_count++;
+        }
+        mysql_free_result($result);
+
+        $result = cpg_db_query("SELECT DISTINCT a.aid as aid, a.title as title, c.name as cname FROM {$CONFIG['TABLE_ALBUMS']} as a, {$CONFIG['TABLE_CATEGORIES']} as c WHERE a.category = c.cid AND a.category < '" . FIRST_USER_CAT . "'");
+        while ($row = mysql_fetch_array($result)) {
+            // Add to multi-dim array for later sorting
+            $listArray[$list_count]['cat'] = $row['cname'];
+            $listArray[$list_count]['aid'] = $row['aid'];
+            $listArray[$list_count]['title'] = $row['title'];
+            $list_count++;
+        }
+        mysql_free_result($result);
+
+        //if (defined('UDB_INTEGRATION')) {
+            $sql = $cpg_udb->get_batch_add_album_list();
+        /*} else {
+            $sql = "SELECT aid, CONCAT('(', user_name, ') ', title) AS title " . "FROM {$CONFIG['TABLE_ALBUMS']} AS a " . "INNER JOIN {$CONFIG['TABLE_USERS']} AS u ON category = (" . FIRST_USER_CAT . " + user_id)";
+        }*/
+        $result = cpg_db_query($sql);
+        while ($row = mysql_fetch_array($result)) {
+            // Add to multi-dim array for later sorting
+            $listArray[$list_count]['cat'] = $lang_search_new_php['personal_albums'];
+            $listArray[$list_count]['aid'] = $row['aid'];
+            $listArray[$list_count]['title'] = $row['title'];
+            $list_count++;
+        }
+        mysql_free_result($result);
+
+        $select = '<option value="0">' . $lang_search_new_php['select_album'] . "</option>\n";
+
+        // Sort the pulldown options by category and album name
+        $listArray = array_csort($listArray,'cat','title');
+
+        // Create the nicely sorted and formatted drop down list
+        $alb_cat = '';
+        foreach ($listArray as $val) {
+            if ($val['cat'] != $alb_cat) {
+          if ($alb_cat) $select .= "</optgroup>\n";
+                $select .= '<optgroup label="' . $val['cat'] . '">' . "\n";
+                $alb_cat = $val['cat'];
+            }
+            $select .= '<option value="' . $val['aid'] . '"' . ($val['aid'] == $sel_album ? ' selected' : '') . '>   ' . $val['title'] . "</option>\n";
+        }
+        if ($alb_cat) $select .= "</optgroup>\n";
+    }
+
+    return "\n<select name=\"$id\" class=\"listbox\">\n$select</select>\n";
+}
+
+/**
+ * dirheader()
+ *
+ * return the HTML code for the row to be displayed when we start a new
+ * directory
+ *
+ * @param  $dir the directory
+ * @param  $dirid the name of the listbox that will list the albums
+ * @return the HTML code
+ */
+function dirheader($dir, $dirid)
+{
+    global $CONFIG, $lang_search_new_php,$lang_check_uncheck_all;
+    $warning = '';
+
+    if (!is_writable($CONFIG['fullpath'] . $dir))
+        $warning = "<tr><td class=\"tableh2\" valign=\"middle\" colspan=\"3\">\n" . "<b>{$lang_search_new_php['warning']}</b>: {$lang_search_new_php['change_perm']}</td></tr>\n";
+    return "<tr><td class=\"tableh2\"><input type=\"checkbox\" name=\"checkAll2\" onClick=\"selectAll(this,'pics');\" class=\"checkbox\" title=\"".$lang_check_uncheck_all."\" /></td><td class=\"tableh2\" valign=\"middle\" align=\"right\" colspan=\"2\">\n" .
+    sprintf($lang_search_new_php['target_album'], $dir, albumselect($dirid)) . "</td></tr>\n" . $warning;
+}
+
+/**
+ * picrow()
+ *
+ * return the HTML code for a row to be displayed for an image
+ * the row contains a checkbox, the image name, a thumbnail
+ *
+ * @param  $picfile the full path of the file that contains the picture
+ * @param  $picid the name of the check box
+ * @return the HTML code
+ */
+function picrow($picfile, $picid, $albid)
+{
+    global $CONFIG, $expic_array;
+
+    $encoded_picfile = base64_encode($picfile);
+    $picname = $CONFIG['fullpath'] . $picfile;
+    $pic_url = urlencode($picfile);
+    $pic_fname = basename($picfile);
+    $pic_dirname = dirname($picname);
+
+    $thumb_file = dirname($picname) . '/' . $CONFIG['thumb_pfx'] . $pic_fname;
+    if (file_exists($thumb_file)) {
+        $thumb_info = getimagesize($picname);
+        $thumb_size = compute_img_size($thumb_info[0], $thumb_info[1], 48);
+        $img = '<img src="' . path2url($thumb_file) . '" ' . $thumb_size['geom'] . ' class="thumbnail" border="0" alt="" />';
+    } elseif (is_image($picname)) {
+        $img = '<img src="showthumb.php?picfile=' . $pic_url . '&amp;size=48" class="thumbnail" border="0" alt="" />';
+    } else {
+        $file['filepath'] = $pic_dirname.'/'; //substr($picname,0,strrpos($picname,'/'))
+        $file['filename'] = $pic_fname;
+        $filepathname = get_pic_url($file,'thumb');
+        //$mime_content = cpg_get_type($picname);
+        //$extension = file_exists("images/thumb_{$mime_content['extension']}.jpg") ? $mime_content['extension']:$mime_content['content'];
+        //$img = '<img src="images/thumb_'.$extension.'.jpg" class="thumbnail" width="48" border="0" alt="" />';
+        $img = '<img src="'.$filepathname.'" class="thumbnail" width="48" border="0" alt="" />';
+    }
+
+    if (filesize($picname) && is_readable($picname)) {
+        //$fullimagesize = getimagesize($picname); COMMENTED OUT FOR VIDEO SUPPORT
+        $winsizeX = ($fullimagesize[0] + 16);
+        $winsizeY = ($fullimagesize[1] + 16);
+
+        //$checked = isset($expic_array[$picfile]) || !$fullimagesize ? '' : 'checked';
+
+        $checked = isset($expic_array[$picfile]) ? '' : 'checked';
+
+        return <<<EOT
+        <tr>
+                <td class="tableb" valign="middle">
+                        <input name="pics[]" id="picselector" type="checkbox" value="$picid" $checked />
+                        <input name="album_lb_id_$picid" type="hidden" value="$albid" />
+                        <input name="picfile_$picid" type="hidden" value="$encoded_picfile" />
+                </td>
+                <td class="tableb" valign="middle" width="100%">
+                        <a href="javascript:;" onclick= "MM_openBrWindow('displayimage.php?fullsize=1&amp;picfile=$pic_url', 'ImageViewer', 'toolbar=yes, status=yes, resizable=yes, width=$winsizeX, height=$winsizeY')">$pic_fname</a>
+                </td>
+                <td class="tableb" valign="middle" align="center">
+                        <a href="javascript:;" onclick= "MM_openBrWindow('displayimage.php?fullsize=1&amp;picfile=$pic_url', 'ImageViewer', 'toolbar=yes, status=yes, resizable=yes, width=$winsizeX, height=$winsizeY')"><img src="images/spacer.gif" width="1" height="48" border="0" alt="" />$img<br /></a>
+                </td>
+        </tr>
+EOT;
+    } else {
+        $winsizeX = (300);
+        $winsizeY = (300);
+        return <<<EOT
+        <tr>
+                <td class="tableb" valign="middle">
+                        &nbsp;
+                </td>
+                <td class="tableb" valign="middle" width="100%">
+                        <i>$pic_fname</i>
+                </td>
+                <td class="tableb" valign="middle" align="center">
+                        <a href="javascript:;" onclick= "MM_openBrWindow('displayimage.php?fullsize=1&amp;picfile=$pic_url', 'ImageViewer', 'toolbar=yes, status=yes, resizable=yes, width=$winsizeX, height=$winsizeY')"><img src="showthumb.php?picfile=$pic_url&amp;size=48" class="thumbnail" border="0" alt="" /><br /></a>
+                </td>
+        </tr>
+EOT;
+    }
+}
+
+/**
+ * getfoldercontent()
+ *
+ * return the files and directories of a folder in two arrays
+ *
+ * @param  $folder the folder to read
+ * @param  $dir_array the array that will contain name of sub-dir
+ * @param  $pic_array the array that will contain name of picture
+ * @param  $expic_array an array that contains pictures already in db
+ * @return
+ */
+function getfoldercontent($folder, &$dir_array, &$pic_array, &$expic_array)
+{
+    global $CONFIG, $lang_db_input_php;
+    $dir = opendir($CONFIG['fullpath'] . $folder);
+    while (($file = readdir($dir)) !== FALSE) {
+        if (is_dir($CONFIG['fullpath'] . $folder . $file)) {
+            if ($file != "." && $file != ".." && $CONFIG['fullpath'] . $folder . $file != $CONFIG['fullpath'].'/edit' && $CONFIG['fullpath'] . $folder . $file != $CONFIG['fullpath'].'/'.substr($CONFIG['userpics'],0,strlen($CONFIG['userpics'])-1)) {
+                $dir_array[] = $file;
+            }
+        }
+        if (is_file($CONFIG['fullpath'] . $folder . $file) && !in_array($file, $pic_array)) {
+            if (strncmp($file, $CONFIG['thumb_pfx'], strlen($CONFIG['thumb_pfx'])) != 0 && strncmp($file, $CONFIG['normal_pfx'], strlen($CONFIG['normal_pfx'])) != 0 && $file != 'index.html') {
+                $newfile = replace_forbidden($file);
+                if ($newfile != $file) {
+                  //File name has been changed, let's get a unique filename and rename the existing file.
+                  $matches = array();
+                  if (!preg_match("/(.+)\.(.*?)\Z/", $newfile, $matches)) {
+                      $matches[1] = 'invalid_fname';
+                      $matches[2] = 'xxx';
+                  }
+
+                  if ($matches[2] == '' || !is_known_filetype($matches)) {
+                      cpg_die(ERROR, sprintf($lang_db_input_php['err_invalid_fext'], $CONFIG['allowed_file_extensions']), __FILE__, __LINE__);
+                  }
+
+                  // Create a unique name for the uploaded file
+                  $nr = 0;
+                  $picture_name = $matches[1] . '.' . $matches[2];
+                  while (file_exists($CONFIG['fullpath'] . $folder . $picture_name)) {
+                    $picture_name = $matches[1] . '~' . $nr++ . '.' . $matches[2];
+                  }
+                  @rename($CONFIG['fullpath'] . $folder . $file, $CONFIG['fullpath'] . $folder . $picture_name);
+                  $file = $picture_name;
+                }
+                $pic_array[] = $file;
+            }
+        }
+    }
+    closedir($dir);
+
+    natcasesort($dir_array);
+    natcasesort($pic_array);
+}
+
+function display_dir_tree($folder, $ident)
+{
+    global $CONFIG, $lang_search_new_php; //$PHP_SELF,
+    $dir_path = $CONFIG['fullpath'] . $folder;
+
+    if (!is_readable($dir_path)) return;
+
+    $dir = opendir($dir_path);
+    static $dirCounter = 0;
+    while (($file = readdir($dir)) !== FALSE) { // loop looking for files - start
+        if (is_dir($CONFIG['fullpath'] . $folder . $file) &&
+            substr($file,0,1) != "." &&
+            strpos($file,"'") == FALSE &&
+            strpos($file,trim($CONFIG['userpics'],'/')) === FALSE &&
+            strpos($file,'edit') === FALSE &&
+            strpos($file,'svn') === FALSE &&
+            strpos($file,'.svn') === FALSE &&
+            strpos($file,'CVS') === FALSE) {
+                $start_target = $folder . $file;
+                $dir_path = $CONFIG['fullpath'] . $folder . $file;
+
+                $warnings = '';
+                if (!is_writable($dir_path)) $warnings .= $lang_search_new_php['dir_ro'];
+                if (!is_readable($dir_path)) $warnings .= $lang_search_new_php['dir_cant_read'];
+
+                if ($warnings) $warnings = '&nbsp;&nbsp;&nbsp;<b>' . $warnings . '<b>';
+
+                echo <<<EOT
+                            <tr>
+                                    <td class="tableb">
+                                            $ident<img src="images/folder.gif" border="0" alt="" />&nbsp;<a href= "{$_SERVER['PHP_SELF']}?startdir=$start_target">$file</a>$warnings
+                                    </td>
+                            </tr>
+EOT;
+                $dirCounter++;
+                display_dir_tree($folder . $file . '/', $ident . '&nbsp;&nbsp;&nbsp;&nbsp;');
+        }
+    } // loop looking for files - end
+    closedir($dir);
+    if ($dirCounter == 0) {
+    echo '
+                        <tr>
+                                <td class="tableb">';
+    echo '                                   ' . sprintf($lang_search_new_php['no_folders'],trim($CONFIG['fullpath'],'/'),trim($CONFIG['fullpath'],'/'),trim($CONFIG['userpics'],'/'));
+    echo '
+                                    </td>
+                        </tr>';
+    }
+
+}
+
+/**
+ * getallpicindb()
+ *
+ * Fill an array where keys are the full path of all images in the picture table
+ *
+ * @param  $pic_array the array to be filled
+ * @return
+ */
+function getallpicindb(&$pic_array, $startdir)
+{
+    global $CONFIG;
+
+    $sql = "SELECT filepath, filename " . "FROM {$CONFIG['TABLE_PICTURES']} " . "WHERE filepath LIKE '$startdir%'";
+    $result = cpg_db_query($sql);
+    while ($row = mysql_fetch_array($result)) {
+        $pic_file = $row['filepath'] . $row['filename'];
+        $pic_array[$pic_file] = 1;
+    }
+    mysql_free_result($result);
+}
+
+/**
+ * getallalbumsindb()
+ *
+ * Fill an array with all albums where keys are aid of albums and values are
+ * album title
+ *
+ * @param  $album_array the array to be filled
+ * @return
+ */
+function getallalbumsindb(&$album_array)
+{
+    global $CONFIG;
+
+    $sql = "SELECT aid, title " . "FROM {$CONFIG['TABLE_ALBUMS']} " . "WHERE 1";
+    $result = cpg_db_query($sql);
+
+    while ($row = mysql_fetch_array($result)) {
+        $album_array[$row['aid']] = $row['title'];
+    }
+    mysql_free_result($result);
+}
+
+/**
+ * CPGscandir() //renamed because php5 has same function as scandir()
+ *
+ * recursive function that scan a directory, create the HTML code for each
+ * picture and add new pictures in an array
+ *
+ * @param  $dir the directory to be scanned
+ * @param  $expic_array the array that contains pictures already in DB
+ * @param  $newpic_array the array that contains new pictures found
+ * @return
+ */
+function CPGscandir($dir, &$expic_array)
+{
+        $dir = str_replace(".","" ,$dir);
+    static $dir_id = 0;
+    static $count = 0;
+    static $pic_id = 0;
+
+    $pic_array = array();
+    $dir_array = array();
+    getfoldercontent($dir, $dir_array, $pic_array, $expic_array);
+
+    if (count($pic_array) > 0) {
+        $dir_id_str = sprintf("d%04d", $dir_id++);
+        echo dirheader($dir, $dir_id_str);
+        foreach ($pic_array as $picture) {
+            $count++;
+            $pic_id_str = sprintf("i%04d", $pic_id++);
+            echo picrow($dir . $picture, $pic_id_str, $dir_id_str);
+        }
+    }
+    if (count($dir_array) > 0) {
+        foreach ($dir_array as $directory) {
+            if (substr($directory,0,1) != ".") // added do not show folders with dots: gaugau 03-11-02
+            CPGscandir($dir . $directory . '/', $expic_array);
+        }
+    }
+    return $count;
+}
+
+/**
+ * Main code
+ */
+
+$album_array = array();
+getallalbumsindb($album_array);
+// We need at least one album
+if (!count($album_array)) {
+    cpg_die(ERROR, $lang_search_new_php['need_one_album'], __FILE__, __LINE__);
+}
+
+if (isset($_POST['insert'])) {
+    if (!isset($_POST['pics'])) cpg_die(ERROR, $lang_search_new_php['no_pic_to_add'], __FILE__, __LINE__);
+
+    pageheader($lang_search_new_php['page_title']);
+    $help = '&nbsp;'.cpg_display_help('f=index.htm&amp;as=ftp&amp;ae=ftp_end&amp;top=1#ftp_show_result', '600', '400');
+    starttable("100%");
+    echo <<<EOT
+        <tr>
+                <td colspan="4" class="tableh1"><h2>{$lang_search_new_php['insert']}$help</h2></td>
+        </tr>
+        <tr>
+                <td class="tableh2" valign="middle" align="center"><b>{$lang_search_new_php['folder']}</b></td>
+                <td class="tableh2" valign="middle" align="center"><b>{$lang_search_new_php['image']}</b></td>
+                <td class="tableh2" valign="middle" align="center"><b>{$lang_search_new_php['album']}</b></td>
+                <td class="tableh2" valign="middle" align="center"><b>{$lang_search_new_php['result']}</b></td>
+        </tr>
+EOT;
+
+    $count = 0;
+    foreach ($_POST['pics'] as $pic_id) {
+        $album_lb_id = $_POST['album_lb_id_' . $pic_id];
+        $album_id = $_POST[$album_lb_id];
+
+        $edit_album_array[] = $album_id; //Load the album number into an array for later
+
+        $pic_file = base64_decode($_POST['picfile_' . $pic_id]);
+        $dir_name = dirname($pic_file) . "/";
+        $file_name = basename($pic_file);
+
+        if ($album_id) {
+            // To avoid problems with PHP scripts max execution time limit, each picture is
+            // added individually using a separate script that returns an image
+            $status = "<a href=\"addpic.php?aid=$album_id&pic_file=" . ($_POST['picfile_' . $pic_id]) . "&amp;reload=" . uniqid('') . "\"><img src=\"addpic.php?aid=$album_id&amp;pic_file=" . ($_POST['picfile_' . $pic_id]) . "&amp;reload=" . uniqid('') . "\" class=\"thumbnail\" border=\"0\" width=\"24\" height=\"24\" alt=\"{$lang_search_new_php['result_icon']}\" /><br /></a>";
+            $album_name = $album_array[$album_id];
+            //$edit_pics_content .= '<a href="editpics.php?album='.$album_id. '">' . $lang_search_new_php['edit_pics'] . ' : ' . $album_name . '</a><br />';
+        } else {
+            $album_name = $lang_search_new_php['no_album'];
+            $status = "<img src=\"images/up_na.gif\" alt=\"" . $lang_search_new_php['no_album'] . "\" class=\"thumbnail\" border=\"0\" width=\"24\" height=\"24\" /><br />";
+        }
+        echo "<tr>\n";
+        echo "<td class=\"tableb\" valign=\"middle\" align=\"left\">$dir_name</td>\n";
+        echo "<td class=\"tableb\" valign=\"middle\" align=\"left\">$file_name</td>\n";
+        echo "<td class=\"tableb\" valign=\"middle\" align=\"left\">$album_name</td>\n";
+        echo "<td class=\"tableb\" valign=\"middle\" align=\"center\">$status</td>\n";
+        echo "</tr>\n";
+        $count++;
+        flush();
+    }
+
+    // Eliminate the duplicate albums from the edit_album_array
+    $edit_album_array = array_unique($edit_album_array);
+    // Display the albums that have new pictures added
+    foreach ($edit_album_array as $edit_album)
+    {
+      $edit_pics_content .= $lang_search_new_php['album'] . ' &laquo;' . $album_array[$edit_album] .'&raquo;: ';
+      $edit_pics_content .= '<a href="editpics.php?album='.$edit_album. '" class="admin_menu">' . $lang_search_new_php['edit_pics'] . '</a> ';
+      $edit_pics_content .= '<a href="modifyalb.php?album='.$edit_album. '" class="admin_menu">' . $lang_search_new_php['edit_properties'] . '</a> ';
+      $edit_pics_content .= '<a href="thumbnails.php?album='.$edit_album. '" class="admin_menu">' . $lang_search_new_php['view_thumbs'] . '</a> ';
+      $edit_pics_content .= '<br />';
+    }
+
+    echo <<<EOT
+        <tr>
+                <td class="tableh2" colspan="4">
+                        <b>{$lang_search_new_php['be_patient']}</b>
+                </td>
+        </tr>
+        <tr>
+                <td class="tableb" colspan="4">
+                        {$lang_search_new_php['notes']}
+                </td>
+        </tr>
+        <tr>
+                <td class="tableb" colspan="4">
+                <p align="center">{$edit_pics_content}</p>
+                </td>
+        </tr>
+
+EOT;
+    endtable();
+    pagefooter();
+    ob_end_flush();
+} elseif (isset($_GET['startdir'])) {
+    pageheader($lang_search_new_php['page_title']);
+    $help = '&nbsp;'.cpg_display_help('f=index.htm&amp;as=ftp&amp;ae=ftp_end&amp;top=1#ftp_select_file', '550', '400');
+    echo <<<EOT
+        <script language="javascript" type="text/javascript">
+        <!--
+        function selectAll(d,box) {
+          var f = document.selectPics;
+          for (i = 0; i < f.length; i++) {
+            //alert (f[i].name.indexOf(box));
+            if (f[i].type == "checkbox" && f[i].name.indexOf(box) >= 0) {
+              if (d.checked) {
+                f[i].checked = true;
+              } else {
+                f[i].checked = false;
+              }
+            }
+          }
+          if (d.name == "checkAll") {
+              document.getElementsByName('checkAll2')[0].checked = document.getElementsByName('checkAll')[0].checked;
+          } else {
+              document.getElementsByName('checkAll')[0].checked = document.getElementsByName('checkAll2')[0].checked;
+          }
+        }
+        -->
+        </script>
+        <form method="post" action="{$_SERVER['PHP_SELF']}?insert=1" name="selectPics" style="margin:0px;padding:0px">
+EOT;
+    starttable("100%");
+    echo <<<EOT
+        <tr>
+                <td colspan="3" class="tableh1"><h2>{$lang_search_new_php['list_new_pic']}$help</h2></td>
+        </tr>
+
+EOT;
+    $expic_array = array();
+    getallpicindb($expic_array, $_GET['startdir']);
+    if (CPGscandir($_GET['startdir'] . '/', $expic_array)) {
+        echo <<<EOT
+        <tr>
+                <td class="tablef">
+                    <input type="checkbox" name="checkAll" onClick="selectAll(this,'pics');" class="checkbox" title="$lang_check_uncheck_all" />
+                </td>
+                <td colspan="2" align="center" class="tablef">
+                        <input type="submit" class="button" name="insert" value="{$lang_search_new_php['insert_selected']}" />
+                </td>
+        </tr>
+
+EOT;
+    } else {
+        echo <<<EOT
+        <tr>
+                <td colspan="3" align="center" class="tableb">
+                        <br /><br />
+                        <b>{$lang_search_new_php['no_pic_found']}</b>
+                        <br /><br /><br />
+                </td>
+        </tr>
+
+EOT;
+    }
+    endtable();
+    print '        </form>';
+    pagefooter();
+    ob_end_flush();
+} else {
+    pageheader($lang_search_new_php['page_title']);
+    $help = '&nbsp;'.cpg_display_help('f=index.htm&amp;as=ftp&amp;ae=ftp_end&amp;top=1', '600', '450');
+    print '<form name="interfaceconfig" action="'.$_SERVER['PHP_SELF'].'" method="post" style="margin:0px;padding:0px">';
+    starttable(-1, $lang_search_new_php['select_dir'].$help);
+
+    // write the interface change to the db
+    if (isset($_POST['update_config'])) {
+        $value = $_POST['browse_batch_add'];
+        cpg_db_query("UPDATE {$CONFIG['TABLE_CONFIG']} SET value = '$value' WHERE name = 'browse_batch_add'");
+        $CONFIG['browse_batch_add'] = $value;
+        if ($CONFIG['log_mode'] == CPG_LOG_ALL) {
+            log_write('CONFIG UPDATE SQL: '.
+              "UPDATE {$CONFIG['TABLE_CONFIG']} SET value = '$value' WHERE name = 'browse_batch_add'\n".
+              'TIME: '.date("F j, Y, g:i a")."\n".
+              'USER: '.$USER_DATA['user_name'],
+              CPG_DATABASE_LOG
+              );
+        }
+    }
+
+
+    $iframe_startfolder .= str_replace('searchnew.php', '', __FILE__).rtrim($CONFIG['fullpath'], '/').'/';
+    $iframe_hide = rawurlencode('.,..,CVS,.svn,svn,edit,'.rtrim($CONFIG['userpics'], '/'));
+    print '    <tr>'."\n";
+    print '        <td class="tableb" align="center">'."\n";
+    if ($CONFIG['browse_batch_add'] == 1) {
+        print '            <iframe src="minibrowser.php?startfolder='.$iframe_startfolder.'&amp;parentform=choosefolder&amp;formelementname=startdir&amp;no_popup=1&amp;limitfolder='.$iframe_startfolder.'&amp;hidefolders='.$iframe_hide.'&amp;linktarget='.$_SERVER['PHP_SELF'].'&amp;searchnew_php=1&amp;radio=0" width="95%" height="400" name="popup_in_a_box">'."\n";
+    }
+    display_dir_tree('', '');
+    if ($CONFIG['browse_batch_add'] == 1) {
+        print '            </iframe>'."\n";
+    }
+    print '        </td>'."\n";
+    print '    </tr>'."\n";
+
+    // configure batch-add interface (classic or browsable)
+    $yes_selected = $CONFIG['browse_batch_add'] ? 'checked="checked"' : '';
+    $no_selected = !$CONFIG['browse_batch_add'] ? 'checked="checked"' : '';
+    $help = cpg_display_help('f=index.htm&amp;as=admin_general_browsable_batch_add&amp;ae=admin_general_browsable_batch_add_end', '500', '300');
+    echo <<<EOT
+        <tr>
+                <td class="tableb">
+                        <b>{$lang_search_new_php['select_dir_msg']}</b>
+                </td>
+        </tr>
+        <tr>
+            <td class="tablef" colspan="6">
+                        {$lang_search_new_php['browse_batch_add']}
+                        $help
+                        &nbsp;&nbsp;
+                        <input type="radio" id="browse_batch_add1" name="browse_batch_add" value="1"  onclick="document.interfaceconfig.submit();" $yes_selected /><label for="browse_batch_add1" class="clickable_option">$lang_yes</label>
+                        &nbsp;&nbsp;
+                        <input type="radio" id="browse_batch_add0" name="browse_batch_add" value="0"  onclick="document.interfaceconfig.submit();" $no_selected /><label for="browse_batch_add0" class="clickable_option">$lang_no</label>
+                        &nbsp;&nbsp;
+                        <input type="hidden" name="update_config" value="1" />
+                </td>
+        </tr>
+EOT;
+
+    endtable();
+    print '        </form>';
+    pagefooter();
+    ob_end_flush();
+}
+
 ?>
\ No newline at end of file
diff -x .svn -aruN 1.4.24.src/search.php 1.4.25.src/search.php
--- 1.4.24.src/search.php	2009-05-21 15:03:09.000000000 -0500
+++ 1.4.25.src/search.php	2009-05-26 11:25:52.000000000 -0500
@@ -1,126 +1,126 @@
-<?php
-/*************************
-  Coppermine Photo Gallery
-  ************************
-  Copyright (c) 2003-2009 Coppermine Dev Team
-  v1.1 originally written by Gregory DEMAR
-
-  This program is free software; you can redistribute it and/or modify
-  it under the terms of the GNU General Public License version 3
-  as published by the Free Software Foundation.
-  
-  ********************************************
-  Coppermine version: 1.4.24
-  $HeadURL: https://coppermine.svn.sourceforge.net/svnroot/coppermine/trunk/cpg1.4.x/search.php $
-  $Revision: 5969 $
-  $Author: gaugau $
-  $Date: 2009-05-21 22:03:33 +0200 (Do, 21 Mai 2009) $
-**********************************************/
-
-define('IN_COPPERMINE', true);
-define('SEARCH_PHP', true);
-
-require('include/init.inc.php');
-
-if (!USER_ID && $CONFIG['allow_unlogged_access'] == 0) {
-    $redirect = $redirect . "login.php";
-    header("Location: $redirect");
-    exit();
-}
-
-pageheader($lang_search_php['title']);
-echo <<< EOT
-
-<form method="post" action="thumbnails.php" name="searchcpg">
-EOT;
-
-starttable('60%', $lang_search_php['title']);
-
-$ip = GALLERY_ADMIN_MODE ? '
-        <tr>
-                <td>
-                        <input type="checkbox" name="pic_raw_ip" class="checkbox" id="pic_raw_ip" /><label for="pic_raw_ip" class="clickable_option">'.$lang_search_php['ip_address'].'</label>
-                </td>
-        </tr>' :
-        '<tr>
-                <td>&nbsp;</td>
-                <td>&nbsp;</td>
-        </tr>';
-
-$customs = '';
-
-$result = cpg_db_query("SELECT * FROM {$CONFIG['TABLE_CONFIG']} WHERE name LIKE 'user_field%_name' AND value <> '' ORDER BY name ASC");
-
-while ($row = mysql_fetch_assoc($result)){
-        $name = str_replace(array('_field', '_name'), '', $row['name']);
-        $customs .= <<< EOT
-                <tr>
-                        <td><input type="checkbox" name="$name" id="$name" class="checkbox" /><label for="$name" class="clickable_option">{$row['value']}</label></td>
-                </tr>
-EOT;
-}
-echo <<< EOT
-        <tr>
-            <td class="tableb" align="center" >
-                <input type="text" style="width: 80%" name="search" maxlength="255" value="" class="textinput" />
-                <input type="submit" value="{$lang_search_php['submit_search']}" class="button" />
-                <input type="hidden" name="album" value="search" />
-            </td>
-        </tr>
-                <tr>
-                        <td class="tableb">
-                                <table align="center" width="60%">
-                                        <tr>
-                                                <td>{$lang_search_php['fields']}:</td>
-                                                <td align="center">{$lang_search_php['age']}:</td>
-                                        </tr>
-                                        <tr>
-                                                <td><input type="checkbox" name="title" id="title" class="checkbox" checked="checked" /><label for="title" class="clickable_option">{$lang_adv_opts['title']}</label></td>
-                                                <td align="right">{$lang_search_php['newer_than']} <input type="text" name="newer_than" size="3" maxlength="4" class="textinput" /> {$lang_search_php['days']}</td>
-                                        </tr>
-                                        <tr>
-                                                <td><input type="checkbox" name="caption" id="caption" class="checkbox" checked="checked" /><label for="caption" class="clickable_option">{$lang_adv_opts['caption']}</label></td>
-                                                <td align="right">{$lang_search_php['older_than']} <input type="text" name="older_than" size="3" maxlength="4" class="textinput" /> {$lang_search_php['days']}</td>
-                                        </tr>
-                                        <tr>
-                                                <td><input type="checkbox" name="keywords" id="keywords" class="checkbox" checked="checked" /><label for="keywords" class="clickable_option">{$lang_adv_opts['keywords']}</label></td>
-                                                <td>&nbsp;</td>
-
-                                        </tr>
-                                        <tr>
-                                                <td><input type="checkbox" name="owner_name" id="owner_name" class="checkbox" /><label for="owner_name" class="clickable_option">{$lang_adv_opts['owner_name']}</label></td>
-                                                <td align="right"><select name="type" class="listbox">
-                                                        <option value="AND" selected="selected">{$lang_search_php['all_words']}</option>
-                                                        <option value="OR">{$lang_search_php['any_words']}</option></select>
-                                                </td>
-                                        </tr>
-                                        <tr>
-                                                <td><input type="checkbox" name="filename" id="filename" class="checkbox" /><label for="filename" class="clickable_option">{$lang_adv_opts['filename']}</label></td>
-                                                <td>&nbsp;</td>
-                                        </tr>
-                                                $customs
-                                                $ip
-                                </table>
-                        </td>
-                </tr>
-EOT;
-
-
-endtable();
-echo '</form>';
-
-if ($CONFIG['clickable_keyword_search'] != 0) {
-    include('include/keyword.inc.php');
-}
-
-echo <<< EOT
-      <script language="javascript" type="text/javascript">
-      <!--
-      document.searchcpg.search.focus();
-      -->
-      </script>
-EOT;
-
-pagefooter();
-ob_end_flush();
-?>
+<?php
+/*************************
+  Coppermine Photo Gallery
+  ************************
+  Copyright (c) 2003-2009 Coppermine Dev Team
+  v1.1 originally written by Gregory DEMAR
+
+  This program is free software; you can redistribute it and/or modify
+  it under the terms of the GNU General Public License version 3
+  as published by the Free Software Foundation.
+  
+  ********************************************
+  Coppermine version: 1.4.25
+  $HeadURL: https://coppermine.svn.sourceforge.net/svnroot/coppermine/trunk/cpg1.4.x/search.php $
+  $Revision: 5997 $
+  $Author: gaugau $
+  $Date: 2009-05-26 08:43:24 +0200 (Di, 26 Mai 2009) $
+**********************************************/
+
+define('IN_COPPERMINE', true);
+define('SEARCH_PHP', true);
+
+require('include/init.inc.php');
+
+if (!USER_ID && $CONFIG['allow_unlogged_access'] == 0) {
+    $redirect = $redirect . "login.php";
+    header("Location: $redirect");
+    exit();
+}
+
+pageheader($lang_search_php['title']);
+echo <<< EOT
+
+<form method="post" action="thumbnails.php" name="searchcpg">
+EOT;
+
+starttable('60%', $lang_search_php['title']);
+
+$ip = GALLERY_ADMIN_MODE ? '
+        <tr>
+                <td>
+                        <input type="checkbox" name="pic_raw_ip" class="checkbox" id="pic_raw_ip" /><label for="pic_raw_ip" class="clickable_option">'.$lang_search_php['ip_address'].'</label>
+                </td>
+        </tr>' :
+        '<tr>
+                <td>&nbsp;</td>
+                <td>&nbsp;</td>
+        </tr>';
+
+$customs = '';
+
+$result = cpg_db_query("SELECT * FROM {$CONFIG['TABLE_CONFIG']} WHERE name LIKE 'user_field%_name' AND value <> '' ORDER BY name ASC");
+
+while ($row = mysql_fetch_assoc($result)){
+        $name = str_replace(array('_field', '_name'), '', $row['name']);
+        $customs .= <<< EOT
+                <tr>
+                        <td><input type="checkbox" name="$name" id="$name" class="checkbox" /><label for="$name" class="clickable_option">{$row['value']}</label></td>
+                </tr>
+EOT;
+}
+echo <<< EOT
+        <tr>
+            <td class="tableb" align="center" >
+                <input type="text" style="width: 80%" name="search" maxlength="255" value="" class="textinput" />
+                <input type="submit" value="{$lang_search_php['submit_search']}" class="button" />
+                <input type="hidden" name="album" value="search" />
+            </td>
+        </tr>
+                <tr>
+                        <td class="tableb">
+                                <table align="center" width="60%">
+                                        <tr>
+                                                <td>{$lang_search_php['fields']}:</td>
+                                                <td align="center">{$lang_search_php['age']}:</td>
+                                        </tr>
+                                        <tr>
+                                                <td><input type="checkbox" name="title" id="title" class="checkbox" checked="checked" /><label for="title" class="clickable_option">{$lang_adv_opts['title']}</label></td>
+                                                <td align="right">{$lang_search_php['newer_than']} <input type="text" name="newer_than" size="3" maxlength="4" class="textinput" /> {$lang_search_php['days']}</td>
+                                        </tr>
+                                        <tr>
+                                                <td><input type="checkbox" name="caption" id="caption" class="checkbox" checked="checked" /><label for="caption" class="clickable_option">{$lang_adv_opts['caption']}</label></td>
+                                                <td align="right">{$lang_search_php['older_than']} <input type="text" name="older_than" size="3" maxlength="4" class="textinput" /> {$lang_search_php['days']}</td>
+                                        </tr>
+                                        <tr>
+                                                <td><input type="checkbox" name="keywords" id="keywords" class="checkbox" checked="checked" /><label for="keywords" class="clickable_option">{$lang_adv_opts['keywords']}</label></td>
+                                                <td>&nbsp;</td>
+
+                                        </tr>
+                                        <tr>
+                                                <td><input type="checkbox" name="owner_name" id="owner_name" class="checkbox" /><label for="owner_name" class="clickable_option">{$lang_adv_opts['owner_name']}</label></td>
+                                                <td align="right"><select name="type" class="listbox">
+                                                        <option value="AND" selected="selected">{$lang_search_php['all_words']}</option>
+                                                        <option value="OR">{$lang_search_php['any_words']}</option></select>
+                                                </td>
+                                        </tr>
+                                        <tr>
+                                                <td><input type="checkbox" name="filename" id="filename" class="checkbox" /><label for="filename" class="clickable_option">{$lang_adv_opts['filename']}</label></td>
+                                                <td>&nbsp;</td>
+                                        </tr>
+                                                $customs
+                                                $ip
+                                </table>
+                        </td>
+                </tr>
+EOT;
+
+
+endtable();
+echo '</form>';
+
+if ($CONFIG['clickable_keyword_search'] != 0) {
+    include('include/keyword.inc.php');
+}
+
+echo <<< EOT
+      <script language="javascript" type="text/javascript">
+      <!--
+      document.searchcpg.search.focus();
+      -->
+      </script>
+EOT;
+
+pagefooter();
+ob_end_flush();
+?>
diff -x .svn -aruN 1.4.24.src/showthumb.php 1.4.25.src/showthumb.php
--- 1.4.24.src/showthumb.php	2009-05-21 15:03:09.000000000 -0500
+++ 1.4.25.src/showthumb.php	2009-05-26 11:25:52.000000000 -0500
@@ -1,120 +1,120 @@
-<?php
-/*************************
-  Coppermine Photo Gallery
-  ************************
-  Copyright (c) 2003-2009 Coppermine Dev Team
-  v1.1 originally written by Gregory DEMAR
-
-  This program is free software; you can redistribute it and/or modify
-  it under the terms of the GNU General Public License version 3
-  as published by the Free Software Foundation.
-  
-  ********************************************
-  Coppermine version: 1.4.24
-  $HeadURL: https://coppermine.svn.sourceforge.net/svnroot/coppermine/trunk/cpg1.4.x/showthumb.php $
-  $Revision: 5969 $
-  $Author: gaugau $
-  $Date: 2009-05-21 22:03:33 +0200 (Do, 21 Mai 2009) $
-**********************************************/
-
-define('IN_COPPERMINE', true);
-define('SHOWTHUMB_PHP', true);
-
-require("include/init.inc.php");
-
-if (!GALLERY_ADMIN_MODE) cpg_die(ERROR, $lang_errors['access_denied'], __FILE__, __LINE__);
-
-define("GIS_GIF", 1);
-define("GIS_JPG", 2);
-define("GIS_PNG", 3);
-
-define("UNKNOW_ICON", 'images/unk48x48.gif');
-define("GIF_ICON", 'images/gif48x48.gif');
-define("READ_ERROR_ICON", 'images/read_error48x48.gif');
-
-function makethumbnail($src_file, $newSize, $method)
-{
-    global $CONFIG;
-
-    $content_type = array(
-        GIS_GIF => 'gif',
-        GIS_JPG => 'jpeg',
-        GIS_PNG => 'png'
-        );
-    // Checks that file exists and is readable
-    if (!filesize($src_file) || !is_readable($src_file)) {
-        header("Content-type: image/gif");
-        fpassthru(fopen(READ_ERROR_ICON, 'rb'));
-        exit;
-    }
-    // find the image size, no size => unknow type
-    $imginfo = getimagesize($src_file);
-    if ($imginfo == null) {
-        header("Content-type: image/gif");
-        fpassthru(fopen(UNKNOW_ICON, 'rb'));
-        exit;
-    }
-    // GD can't handle gif images
-    //if ($imginfo[2] == GIS_GIF && ($method == 'gd1' || $method == 'gd2')) {
-    if ($imginfo[2] == GIS_GIF && $CONFIG['GIF_support'] == 0) {
-        header("Content-type: image/gif");
-        fpassthru(fopen(GIF_ICON, 'rb'));
-        exit;
-    }
-    // height/width
-    $srcWidth = $imginfo[0];
-    $srcHeight = $imginfo[1];
-
-    $ratio = max($srcWidth, $srcHeight) / $newSize;
-    $ratio = max($ratio, 1.0);
-    $destWidth = (int)($srcWidth / $ratio);
-    $destHeight = (int)($srcHeight / $ratio);
-    // Choose method for thumb creation
-    switch ($method) {
-        case "im" :
-            if (preg_match("#[A-Z]:|\\\\#Ai", __FILE__)) {
-                $cur_dir = dirname(__FILE__);
-                $src_file = '"' . $cur_dir . '\\' . strtr($src_file, '/', '\\') . '"';
-            } else {
-                $src_file = escapeshellarg($src_file);
-            }
-            header("Content-type: image/" . ($content_type[$imginfo[2]]));
-            passthru("{$CONFIG['impath']}convert -quality $CONFIG[jpeg_qual] -antialias -geometry {$destWidth}x{$destHeight} $src_file -");
-            break;
-
-        case "gd2" :
-            if ($imginfo[2] == GIS_GIF && $CONFIG['GIF_support'] == 1)
-                $src_img = imagecreatefromgif($src_file);
-            elseif ($imginfo[2] == GIS_JPG)
-                $src_img = imagecreatefromjpeg($src_file);
-            else
-                $src_img = imagecreatefrompng($src_file);
-            if ($imginfo[2] == GIS_GIF)
-              $dst_img = imagecreate($destWidth, $destHeight);
-            else
-              $dst_img = imagecreatetruecolor($destWidth, $destHeight);
-            imagecopyresampled($dst_img, $src_img, 0, 0, 0, 0, $destWidth, (int)$destHeight, $srcWidth, $srcHeight);
-            header("Content-type: image/jpeg");
-            imagejpeg($dst_img);
-            imagedestroy($src_img);
-            imagedestroy($dst_img);
-            break;
-
-        default :
-            if ($imginfo[2] == GIS_JPG)
-                $src_img = imagecreatefromjpeg($src_file);
-            else
-                $src_img = imagecreatefrompng($src_file);
-            $dst_img = imagecreate($destWidth, $destHeight);
-            imagecopyresized($dst_img, $src_img, 0, 0, 0, 0, $destWidth, (int)$destHeight, $srcWidth, $srcHeight);
-            header("Content-type: image/jpeg");
-            imagejpeg($dst_img);
-            imagedestroy($src_img);
-            imagedestroy($dst_img);
-            break;
-    }
-}
-
-makethumbnail($CONFIG['fullpath'] . $_GET['picfile'], $_GET['size'], $CONFIG['thumb_method']);
-
-?>
+<?php
+/*************************
+  Coppermine Photo Gallery
+  ************************
+  Copyright (c) 2003-2009 Coppermine Dev Team
+  v1.1 originally written by Gregory DEMAR
+
+  This program is free software; you can redistribute it and/or modify
+  it under the terms of the GNU General Public License version 3
+  as published by the Free Software Foundation.
+  
+  ********************************************
+  Coppermine version: 1.4.25
+  $HeadURL: https://coppermine.svn.sourceforge.net/svnroot/coppermine/trunk/cpg1.4.x/showthumb.php $
+  $Revision: 5997 $
+  $Author: gaugau $
+  $Date: 2009-05-26 08:43:24 +0200 (Di, 26 Mai 2009) $
+**********************************************/
+
+define('IN_COPPERMINE', true);
+define('SHOWTHUMB_PHP', true);
+
+require("include/init.inc.php");
+
+if (!GALLERY_ADMIN_MODE) cpg_die(ERROR, $lang_errors['access_denied'], __FILE__, __LINE__);
+
+define("GIS_GIF", 1);
+define("GIS_JPG", 2);
+define("GIS_PNG", 3);
+
+define("UNKNOW_ICON", 'images/unk48x48.gif');
+define("GIF_ICON", 'images/gif48x48.gif');
+define("READ_ERROR_ICON", 'images/read_error48x48.gif');
+
+function makethumbnail($src_file, $newSize, $method)
+{
+    global $CONFIG;
+
+    $content_type = array(
+        GIS_GIF => 'gif',
+        GIS_JPG => 'jpeg',
+        GIS_PNG => 'png'
+        );
+    // Checks that file exists and is readable
+    if (!filesize($src_file) || !is_readable($src_file)) {
+        header("Content-type: image/gif");
+        fpassthru(fopen(READ_ERROR_ICON, 'rb'));
+        exit;
+    }
+    // find the image size, no size => unknow type
+    $imginfo = getimagesize($src_file);
+    if ($imginfo == null) {
+        header("Content-type: image/gif");
+        fpassthru(fopen(UNKNOW_ICON, 'rb'));
+        exit;
+    }
+    // GD can't handle gif images
+    //if ($imginfo[2] == GIS_GIF && ($method == 'gd1' || $method == 'gd2')) {
+    if ($imginfo[2] == GIS_GIF && $CONFIG['GIF_support'] == 0) {
+        header("Content-type: image/gif");
+        fpassthru(fopen(GIF_ICON, 'rb'));
+        exit;
+    }
+    // height/width
+    $srcWidth = $imginfo[0];
+    $srcHeight = $imginfo[1];
+
+    $ratio = max($srcWidth, $srcHeight) / $newSize;
+    $ratio = max($ratio, 1.0);
+    $destWidth = (int)($srcWidth / $ratio);
+    $destHeight = (int)($srcHeight / $ratio);
+    // Choose method for thumb creation
+    switch ($method) {
+        case "im" :
+            if (preg_match("#[A-Z]:|\\\\#Ai", __FILE__)) {
+                $cur_dir = dirname(__FILE__);
+                $src_file = '"' . $cur_dir . '\\' . strtr($src_file, '/', '\\') . '"';
+            } else {
+                $src_file = escapeshellarg($src_file);
+            }
+            header("Content-type: image/" . ($content_type[$imginfo[2]]));
+            passthru("{$CONFIG['impath']}convert -quality $CONFIG[jpeg_qual] -antialias -geometry {$destWidth}x{$destHeight} $src_file -");
+            break;
+
+        case "gd2" :
+            if ($imginfo[2] == GIS_GIF && $CONFIG['GIF_support'] == 1)
+                $src_img = imagecreatefromgif($src_file);
+            elseif ($imginfo[2] == GIS_JPG)
+                $src_img = imagecreatefromjpeg($src_file);
+            else
+                $src_img = imagecreatefrompng($src_file);
+            if ($imginfo[2] == GIS_GIF)
+              $dst_img = imagecreate($destWidth, $destHeight);
+            else
+              $dst_img = imagecreatetruecolor($destWidth, $destHeight);
+            imagecopyresampled($dst_img, $src_img, 0, 0, 0, 0, $destWidth, (int)$destHeight, $srcWidth, $srcHeight);
+            header("Content-type: image/jpeg");
+            imagejpeg($dst_img);
+            imagedestroy($src_img);
+            imagedestroy($dst_img);
+            break;
+
+        default :
+            if ($imginfo[2] == GIS_JPG)
+                $src_img = imagecreatefromjpeg($src_file);
+            else
+                $src_img = imagecreatefrompng($src_file);
+            $dst_img = imagecreate($destWidth, $destHeight);
+            imagecopyresized($dst_img, $src_img, 0, 0, 0, 0, $destWidth, (int)$destHeight, $srcWidth, $srcHeight);
+            header("Content-type: image/jpeg");
+            imagejpeg($dst_img);
+            imagedestroy($src_img);
+            imagedestroy($dst_img);
+            break;
+    }
+}
+
+makethumbnail($CONFIG['fullpath'] . $_GET['picfile'], $_GET['size'], $CONFIG['thumb_method']);
+
+?>
diff -x .svn -aruN 1.4.24.src/stat_details.php 1.4.25.src/stat_details.php
--- 1.4.24.src/stat_details.php	2009-05-21 15:03:09.000000000 -0500
+++ 1.4.25.src/stat_details.php	2009-05-26 11:25:52.000000000 -0500
@@ -1,285 +1,285 @@
-<?php
-/*************************
-  Coppermine Photo Gallery
-  ************************
-  Copyright (c) 2003-2009 Coppermine Dev Team
-  v1.1 originally written by Gregory DEMAR
-
-  This program is free software; you can redistribute it and/or modify
-  it under the terms of the GNU General Public License version 3
-  as published by the Free Software Foundation.
-  
-  ********************************************
-  Coppermine version: 1.4.24
-  $HeadURL: https://coppermine.svn.sourceforge.net/svnroot/coppermine/trunk/cpg1.4.x/stat_details.php $
-  $Revision: 5969 $
-  $Author: gaugau $
-  $Date: 2009-05-21 22:03:33 +0200 (Do, 21 Mai 2009) $
-**********************************************/
-
-define('IN_COPPERMINE', true);
-define('STAT_DETAILS_PHP', true);
-require('include/init.inc.php');
-
-/**
- * initialize the vars
- */
-
-$pid = $_GET['pid'] ? (int)$_GET['pid'] : 0;
-$type_allowed = array('vote','hits');
-
-if (in_array($_GET['type'],$type_allowed) == TRUE) {
- $type = $_GET['type'];
-} else {
- $type = 'hits';
-}
-
-if ($type == 'vote') {
-    $db_fields = array('sdate', 'ip', 'rating', 'referer', 'browser', 'os');
-}
-if ($type == 'hits') {
-    $db_fields = array('sdate', 'ip', 'search_phrase', 'referer', 'browser', 'os');
-}
-
-foreach($db_fields as $value) {
-    $$value = $_GET[$value] ? (int)$_GET[$value] : 0;
-}
-
-if (isset($_GET['sort'])) {
-    if (in_array($_GET['sort'],$db_fields) == TRUE) {
-        $sort = $_GET['sort'];
-    } else {
-        $sort = 'sdate';
-    }
-} else {
-    $sort = 'sdate';
-}
-
-if (isset($_GET['dir'])) {
-    if ($_GET['dir'] == 'asc') {
-        $dir = 'asc';
-    } else {
-        $dir = 'desc';
-    }
-}
-
-if (isset($_GET['hide_internal'])) {
-    if ($_GET['hide_internal'] == '0') {
-        $hide_internal = 0;
-    } else {
-        $hide_internal = 1;
-    }
-} else {
-    $hide_internal = 0;
-}
-
-if (isset($_GET['date_display'])) {
-    if ($_GET['date_display'] == '0') {
-        $date_display = 0;
-        $date_display_fmt = $album_date_fmt;
-    } elseif($_GET['date_display'] == '1') {
-        $date_display = 1;
-        $date_display_fmt = $lastcom_date_fmt;
-    } elseif($_GET['date_display'] == '2') {
-        $date_display = 2;
-        $date_display_fmt = $log_date_fmt;
-    } else {
-        $date_display = 3;
-        $date_display_fmt = '%Y-%m-%d %H:%M:%S';
-    }
-} else {
-    $date_display = 0;
-    $date_display_fmt = $album_date_fmt;
-}
-
-$line_break = "\n";
-
-/**
- * Main Code
- */
-
-$charset = $CONFIG['charset'] == 'language file' ? $lang_charset : $CONFIG['charset'];
-
-print  <<<EOT
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
-<html dir="ltr">
-<head>
-    <title>Coppermine Photo Gallery - {$lang_stat_details_php['title']}</title>
-    <meta http-equiv="Content-Type" content="text/html; charset=$charset" />
-    <meta http-equiv="Pragma" content="no-cache" />
-    <link rel="stylesheet" href="themes/{$CONFIG['theme']}/style.css" />
-    <script type="text/javascript" src="scripts.js"></script>
-</head>
-<body>
-EOT;
-
-if ($type == 'vote') { // type == vote start
-
-$query = "SELECT rating, count(rating) AS totalVotes FROM {$CONFIG['TABLE_VOTE_STATS']} WHERE pid=$pid GROUP BY rating";
-$result = cpg_db_query($query);
-
-$rateArr = array();
-
-starttable("100%", $lang_stat_details_php['stats'], 2);
-
-while ($row = mysql_fetch_array($result)) {
-      $voteArr[$row['rating']] = $row['totalVotes'];
-}
-    for ($i=0; $i<6;$i++){
-        $voteArr[$i] = isset($voteArr[$i]) ? $voteArr[$i] : 0;
-        $width = $voteArr[$i]*10;
-        echo <<<EOT
-        <tr class="tableh2">
-            <td width="20%">
-                <img src="images/rating$i.gif" />
-            </td>
-            <td>
-                <img src="images/vote.jpg" width="$width" height="15" border="0" alt="" />
-                {$voteArr[$i]}
-            </td>
-        </tr>
-
-EOT;
-    }
-endtable();
-
-print "<br />\n";
-} // type == vote end
-
-/**
- * Fetch the vote details like IP, referer if the user is ADMIN
- */
-if (GALLERY_ADMIN_MODE) { // admin is logged in start
-    print $line_break;
-    print '<form method="get" action="'.$_SERVER['PHP_SELF'].'" name="editForm">' . $line_break;
-    print '<input type="hidden" name="type" value="'.$type.'" />'                 . $line_break;
-    print '<input type="hidden" name="pid" value="'.$pid.'" />'                   . $line_break;
-    print '<input type="hidden" name="sort" value="'.$sort.'" />'                 . $line_break;
-    print '<input type="hidden" name="dir" value="'.$dir.'" />'                   . $line_break;
-    print <<<EOT
-<script type="text/javascript">
-  <!--//
-  function sendForm() {
-    document.editForm.submit();
-  }
-
-  function sortthetable(sortcriteria,direction) {
-    document.editForm.sort.value = sortcriteria;
-    document.editForm.dir.value= direction;
-    sendForm();
-  }
-  //-->
-</script>
-EOT;
-    if ($type == 'vote') {
-        $query = "SELECT * FROM {$CONFIG['TABLE_VOTE_STATS']} WHERE pid=$pid ORDER BY $sort $dir";
-    }
-    if ($type == 'hits') {
-        $query = "SELECT * FROM {$CONFIG['TABLE_HIT_STATS']} WHERE pid=$pid ORDER BY $sort $dir";
-    }
-    $result = cpg_db_query($query);
-    // display the table header start
-    starttable("100%", $lang_stat_details_php[$type], count($db_fields));
-    print "  <tr>\n";
-    foreach ($db_fields as $value) {
-        $show_column_checked[$value] = ($$value == '1') ? 'checked="checked"' : '';
-        print '    <td class="tableh2" valign="top">'.$line_break;
-        print '      ';
-        print '<input type="checkbox" name="'.$value.'" value="1" class="checkbox" title="'.$lang_stat_details_php['show_hide'].'" '.$show_column_checked[$value].' onclick="sendForm();" />'.$line_break;
-        print '      '.$lang_stat_details_php[$value];
-        if ($$value == 1) {
-            print '<a href="#" onclick="return sortthetable(\''.$value.'\',\'asc\');">';
-            print '<img src="images/ascending.gif" width="9" height="9" border="0" alt="" title="'.sprintf($lang_stat_details_php['sort_by_xxx'], $value).', '.$lang_stat_details_php['ascending'].'" />';
-            print '</a>';
-            print '<a href="#" onclick="return sortthetable(\''.$value.'\',\'desc\');">';
-            print '<img src="images/descending.gif" width="9" height="9" border="0" alt="" title="'.sprintf($lang_stat_details_php['sort_by_xxx'], $lang_stat_details_php[$value]).', '.$lang_stat_details_php['descending'].'" />';
-            print '</a>';
-        }
-        print $line_break;
-        print '    </td>'.$line_break;
-    }
-    print "  </tr>\n";
-    // display the table header end
-    if (mysql_num_rows($result) > 0) {
-        while ($row = mysql_fetch_array($result)) {
-            $row['sdate'] = strftime($date_display_fmt,localised_timestamp($row['sdate']));
-            $is_internal = '';
-            // is it an internal reference (most should be)?
-            $match_coppermine_url = strpos($row['referer'],$CONFIG['ecards_more_pic_target']);
-            if ($match_coppermine_url === FALSE) {
-                // make the referer url clickable
-                $row['referer'] = '<a href="'.$row['referer'].'">'.ltrim($row['referer'],'http://').'</a>';
-            } else {
-                // make the referer url clickable
-                $row['referer'] = $lang_stat_details_php['internal'].': <a href="'.$row['referer'].'">'.substr($row['referer'],strlen(rtrim($CONFIG['ecards_more_pic_target'],'/'))).'</a>';
-                $is_internal = 1;
-            }
-            if ($hide_internal == 1 && $is_internal == 1) { // check internals start
-            } else {
-                print '  <tr>'.$line_break;
-                foreach($db_fields as $value) {
-                    print '    <td class="tableb">'.$line_break;
-                    if ($$value == 1) {
-                        print '      '.$row[$value].$line_break;
-                    }
-                    print '    </td>'.$line_break;
-                }
-            print '  </tr>'.$line_break;
-            } // check internals end
-        }
-    }
-// display table footer with options
-$hide_internal_selected = ($hide_internal == '1') ? 'checked="checked"' : '';
-$date_display_0_selected = ($date_display == '0') ? 'selected="selected"' : '';
-$date_display_1_selected = ($date_display == '1') ? 'selected="selected"' : '';
-$date_display_2_selected = ($date_display == '2') ? 'selected="selected"' : '';
-$date_display_3_selected = ($date_display == '3') ? 'selected="selected"' : '';
-print '  <tr>'.$line_break;
-print '    <td class="tableh2" colspan="'.count($db_fields).'">'.$line_break;
-print '      <table border="0" cellspacing="0" cellpadding="0" width="100%">'.$line_break;
-print '        <tr>'.$line_break;
-print '          <td class="tablef">'.$line_break;
-print '            <input type="checkbox" name="hide_internal" id="hide_internal" value="1" class="checkbox" title="'.$lang_stat_details_php['hide_internal_referers'].'" '.$hide_internal_selected.' onclick="sendForm();" />';
-print '            <label for="hide_internal" class="clickable_option">'.$lang_stat_details_php['hide_internal_referers'].'</label>'."\n";
-print '          </td>'.$line_break;
-print '          <td class="tablef">'.$line_break;
-print '            '.$lang_stat_details_php['date_display'].$line_break;
-print '            <select name="date_display" size="1" onchange="sendForm();">'.$line_break;
-print '              <option value="0" '.$date_display_0_selected.'>'.$line_break;
-print '                '.strftime($album_date_fmt,localised_timestamp(time())).$line_break;
-print '              </option>'.$line_break;
-print '              <option value="1" '.$date_display_1_selected.'>'.$line_break;
-print '                '.strftime($lastcom_date_fmt,localised_timestamp(time())).$line_break;
-print '              </option>'.$line_break;
-print '              <option value="2" '.$date_display_2_selected.'>'.$line_break;
-print '                '.strftime($log_date_fmt,localised_timestamp(time())).$line_break;
-print '              </option>'.$line_break;
-print '              <option value="3" '.$date_display_3_selected.'>'.$line_break;
-print '                '.strftime('%Y-%m-%d %H:%M:%S',localised_timestamp(time())).$line_break;
-print '              </option>'.$line_break;
-print '            </select>'.$line_break;
-print '          </td>'.$line_break;
-print '          <td class="tablef">'.$line_break;
-print '            <input type="submit" name="go" value="'.$lang_stat_details_php['submit'].'" class="button" />'.$line_break;
-print '          </td>'.$line_break;
-print '        </tr>'.$line_break;
-print '      </table>'.$line_break;
-print '    </td>'.$line_break;
-print '  </tr>'.$line_break;
-endtable();
-print '</form>'.$line_break;
-} // admin is logged in end
-
-echo <<<EOT
-<br />
-<div align="center">
-    <a href="javascript:window.close()" class="admin_menu">
-        {$lang_stat_details_php['close']}
-    </a>
-</div>
-<br />&nbsp;
-EOT;
-print $line_break;
-?>
-</body>
-</html>
+<?php
+/*************************
+  Coppermine Photo Gallery
+  ************************
+  Copyright (c) 2003-2009 Coppermine Dev Team
+  v1.1 originally written by Gregory DEMAR
+
+  This program is free software; you can redistribute it and/or modify
+  it under the terms of the GNU General Public License version 3
+  as published by the Free Software Foundation.
+  
+  ********************************************
+  Coppermine version: 1.4.25
+  $HeadURL: https://coppermine.svn.sourceforge.net/svnroot/coppermine/trunk/cpg1.4.x/stat_details.php $
+  $Revision: 5997 $
+  $Author: gaugau $
+  $Date: 2009-05-26 08:43:24 +0200 (Di, 26 Mai 2009) $
+**********************************************/
+
+define('IN_COPPERMINE', true);
+define('STAT_DETAILS_PHP', true);
+require('include/init.inc.php');
+
+/**
+ * initialize the vars
+ */
+
+$pid = $_GET['pid'] ? (int)$_GET['pid'] : 0;
+$type_allowed = array('vote','hits');
+
+if (in_array($_GET['type'],$type_allowed) == TRUE) {
+ $type = $_GET['type'];
+} else {
+ $type = 'hits';
+}
+
+if ($type == 'vote') {
+    $db_fields = array('sdate', 'ip', 'rating', 'referer', 'browser', 'os');
+}
+if ($type == 'hits') {
+    $db_fields = array('sdate', 'ip', 'search_phrase', 'referer', 'browser', 'os');
+}
+
+foreach($db_fields as $value) {
+    $$value = $_GET[$value] ? (int)$_GET[$value] : 0;
+}
+
+if (isset($_GET['sort'])) {
+    if (in_array($_GET['sort'],$db_fields) == TRUE) {
+        $sort = $_GET['sort'];
+    } else {
+        $sort = 'sdate';
+    }
+} else {
+    $sort = 'sdate';
+}
+
+if (isset($_GET['dir'])) {
+    if ($_GET['dir'] == 'asc') {
+        $dir = 'asc';
+    } else {
+        $dir = 'desc';
+    }
+}
+
+if (isset($_GET['hide_internal'])) {
+    if ($_GET['hide_internal'] == '0') {
+        $hide_internal = 0;
+    } else {
+        $hide_internal = 1;
+    }
+} else {
+    $hide_internal = 0;
+}
+
+if (isset($_GET['date_display'])) {
+    if ($_GET['date_display'] == '0') {
+        $date_display = 0;
+        $date_display_fmt = $album_date_fmt;
+    } elseif($_GET['date_display'] == '1') {
+        $date_display = 1;
+        $date_display_fmt = $lastcom_date_fmt;
+    } elseif($_GET['date_display'] == '2') {
+        $date_display = 2;
+        $date_display_fmt = $log_date_fmt;
+    } else {
+        $date_display = 3;
+        $date_display_fmt = '%Y-%m-%d %H:%M:%S';
+    }
+} else {
+    $date_display = 0;
+    $date_display_fmt = $album_date_fmt;
+}
+
+$line_break = "\n";
+
+/**
+ * Main Code
+ */
+
+$charset = $CONFIG['charset'] == 'language file' ? $lang_charset : $CONFIG['charset'];
+
+print  <<<EOT
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html dir="ltr">
+<head>
+    <title>Coppermine Photo Gallery - {$lang_stat_details_php['title']}</title>
+    <meta http-equiv="Content-Type" content="text/html; charset=$charset" />
+    <meta http-equiv="Pragma" content="no-cache" />
+    <link rel="stylesheet" href="themes/{$CONFIG['theme']}/style.css" />
+    <script type="text/javascript" src="scripts.js"></script>
+</head>
+<body>
+EOT;
+
+if ($type == 'vote') { // type == vote start
+
+$query = "SELECT rating, count(rating) AS totalVotes FROM {$CONFIG['TABLE_VOTE_STATS']} WHERE pid=$pid GROUP BY rating";
+$result = cpg_db_query($query);
+
+$rateArr = array();
+
+starttable("100%", $lang_stat_details_php['stats'], 2);
+
+while ($row = mysql_fetch_array($result)) {
+      $voteArr[$row['rating']] = $row['totalVotes'];
+}
+    for ($i=0; $i<6;$i++){
+        $voteArr[$i] = isset($voteArr[$i]) ? $voteArr[$i] : 0;
+        $width = $voteArr[$i]*10;
+        echo <<<EOT
+        <tr class="tableh2">
+            <td width="20%">
+                <img src="images/rating$i.gif" />
+            </td>
+            <td>
+                <img src="images/vote.jpg" width="$width" height="15" border="0" alt="" />
+                {$voteArr[$i]}
+            </td>
+        </tr>
+
+EOT;
+    }
+endtable();
+
+print "<br />\n";
+} // type == vote end
+
+/**
+ * Fetch the vote details like IP, referer if the user is ADMIN
+ */
+if (GALLERY_ADMIN_MODE) { // admin is logged in start
+    print $line_break;
+    print '<form method="get" action="'.$_SERVER['PHP_SELF'].'" name="editForm">' . $line_break;
+    print '<input type="hidden" name="type" value="'.$type.'" />'                 . $line_break;
+    print '<input type="hidden" name="pid" value="'.$pid.'" />'                   . $line_break;
+    print '<input type="hidden" name="sort" value="'.$sort.'" />'                 . $line_break;
+    print '<input type="hidden" name="dir" value="'.$dir.'" />'                   . $line_break;
+    print <<<EOT
+<script type="text/javascript">
+  <!--//
+  function sendForm() {
+    document.editForm.submit();
+  }
+
+  function sortthetable(sortcriteria,direction) {
+    document.editForm.sort.value = sortcriteria;
+    document.editForm.dir.value= direction;
+    sendForm();
+  }
+  //-->
+</script>
+EOT;
+    if ($type == 'vote') {
+        $query = "SELECT * FROM {$CONFIG['TABLE_VOTE_STATS']} WHERE pid=$pid ORDER BY $sort $dir";
+    }
+    if ($type == 'hits') {
+        $query = "SELECT * FROM {$CONFIG['TABLE_HIT_STATS']} WHERE pid=$pid ORDER BY $sort $dir";
+    }
+    $result = cpg_db_query($query);
+    // display the table header start
+    starttable("100%", $lang_stat_details_php[$type], count($db_fields));
+    print "  <tr>\n";
+    foreach ($db_fields as $value) {
+        $show_column_checked[$value] = ($$value == '1') ? 'checked="checked"' : '';
+        print '    <td class="tableh2" valign="top">'.$line_break;
+        print '      ';
+        print '<input type="checkbox" name="'.$value.'" value="1" class="checkbox" title="'.$lang_stat_details_php['show_hide'].'" '.$show_column_checked[$value].' onclick="sendForm();" />'.$line_break;
+        print '      '.$lang_stat_details_php[$value];
+        if ($$value == 1) {
+            print '<a href="#" onclick="return sortthetable(\''.$value.'\',\'asc\');">';
+            print '<img src="images/ascending.gif" width="9" height="9" border="0" alt="" title="'.sprintf($lang_stat_details_php['sort_by_xxx'], $value).', '.$lang_stat_details_php['ascending'].'" />';
+            print '</a>';
+            print '<a href="#" onclick="return sortthetable(\''.$value.'\',\'desc\');">';
+            print '<img src="images/descending.gif" width="9" height="9" border="0" alt="" title="'.sprintf($lang_stat_details_php['sort_by_xxx'], $lang_stat_details_php[$value]).', '.$lang_stat_details_php['descending'].'" />';
+            print '</a>';
+        }
+        print $line_break;
+        print '    </td>'.$line_break;
+    }
+    print "  </tr>\n";
+    // display the table header end
+    if (mysql_num_rows($result) > 0) {
+        while ($row = mysql_fetch_array($result)) {
+            $row['sdate'] = strftime($date_display_fmt,localised_timestamp($row['sdate']));
+            $is_internal = '';
+            // is it an internal reference (most should be)?
+            $match_coppermine_url = strpos($row['referer'],$CONFIG['ecards_more_pic_target']);
+            if ($match_coppermine_url === FALSE) {
+                // make the referer url clickable
+                $row['referer'] = '<a href="'.$row['referer'].'">'.ltrim($row['referer'],'http://').'</a>';
+            } else {
+                // make the referer url clickable
+                $row['referer'] = $lang_stat_details_php['internal'].': <a href="'.$row['referer'].'">'.substr($row['referer'],strlen(rtrim($CONFIG['ecards_more_pic_target'],'/'))).'</a>';
+                $is_internal = 1;
+            }
+            if ($hide_internal == 1 && $is_internal == 1) { // check internals start
+            } else {
+                print '  <tr>'.$line_break;
+                foreach($db_fields as $value) {
+                    print '    <td class="tableb">'.$line_break;
+                    if ($$value == 1) {
+                        print '      '.$row[$value].$line_break;
+                    }
+                    print '    </td>'.$line_break;
+                }
+            print '  </tr>'.$line_break;
+            } // check internals end
+        }
+    }
+// display table footer with options
+$hide_internal_selected = ($hide_internal == '1') ? 'checked="checked"' : '';
+$date_display_0_selected = ($date_display == '0') ? 'selected="selected"' : '';
+$date_display_1_selected = ($date_display == '1') ? 'selected="selected"' : '';
+$date_display_2_selected = ($date_display == '2') ? 'selected="selected"' : '';
+$date_display_3_selected = ($date_display == '3') ? 'selected="selected"' : '';
+print '  <tr>'.$line_break;
+print '    <td class="tableh2" colspan="'.count($db_fields).'">'.$line_break;
+print '      <table border="0" cellspacing="0" cellpadding="0" width="100%">'.$line_break;
+print '        <tr>'.$line_break;
+print '          <td class="tablef">'.$line_break;
+print '            <input type="checkbox" name="hide_internal" id="hide_internal" value="1" class="checkbox" title="'.$lang_stat_details_php['hide_internal_referers'].'" '.$hide_internal_selected.' onclick="sendForm();" />';
+print '            <label for="hide_internal" class="clickable_option">'.$lang_stat_details_php['hide_internal_referers'].'</label>'."\n";
+print '          </td>'.$line_break;
+print '          <td class="tablef">'.$line_break;
+print '            '.$lang_stat_details_php['date_display'].$line_break;
+print '            <select name="date_display" size="1" onchange="sendForm();">'.$line_break;
+print '              <option value="0" '.$date_display_0_selected.'>'.$line_break;
+print '                '.strftime($album_date_fmt,localised_timestamp(time())).$line_break;
+print '              </option>'.$line_break;
+print '              <option value="1" '.$date_display_1_selected.'>'.$line_break;
+print '                '.strftime($lastcom_date_fmt,localised_timestamp(time())).$line_break;
+print '              </option>'.$line_break;
+print '              <option value="2" '.$date_display_2_selected.'>'.$line_break;
+print '                '.strftime($log_date_fmt,localised_timestamp(time())).$line_break;
+print '              </option>'.$line_break;
+print '              <option value="3" '.$date_display_3_selected.'>'.$line_break;
+print '                '.strftime('%Y-%m-%d %H:%M:%S',localised_timestamp(time())).$line_break;
+print '              </option>'.$line_break;
+print '            </select>'.$line_break;
+print '          </td>'.$line_break;
+print '          <td class="tablef">'.$line_break;
+print '            <input type="submit" name="go" value="'.$lang_stat_details_php['submit'].'" class="button" />'.$line_break;
+print '          </td>'.$line_break;
+print '        </tr>'.$line_break;
+print '      </table>'.$line_break;
+print '    </td>'.$line_break;
+print '  </tr>'.$line_break;
+endtable();
+print '</form>'.$line_break;
+} // admin is logged in end
+
+echo <<<EOT
+<br />
+<div align="center">
+    <a href="javascript:window.close()" class="admin_menu">
+        {$lang_stat_details_php['close']}
+    </a>
+</div>
+<br />&nbsp;
+EOT;
+print $line_break;
+?>
+</body>
+</html>
diff -x .svn -aruN 1.4.24.src/themes/classic/style.css 1.4.25.src/themes/classic/style.css
--- 1.4.24.src/themes/classic/style.css	2009-05-21 15:03:09.000000000 -0500
+++ 1.4.25.src/themes/classic/style.css	2009-05-26 11:25:44.000000000 -0500
@@ -1,584 +1,584 @@
-/*************************
-  Coppermine Photo Gallery
-  ************************
-  Copyright (c) 2003-2009 Coppermine Dev Team
-  v1.1 originally written by Gregory DEMAR
-
-  This program is free software; you can redistribute it and/or modify
-  it under the terms of the GNU General Public License version 3
-  as published by the Free Software Foundation.
-  
-  ********************************************
-  Coppermine version: 1.4.24
-  $HeadURL: https://coppermine.svn.sourceforge.net/svnroot/coppermine/trunk/cpg1.4.x/themes/classic/style.css $
-  $Revision: 5969 $
-  $Author: gaugau $
-  $Date: 2009-05-21 22:03:33 +0200 (Do, 21 Mai 2009) $
-**********************************************/
-
-/* Colors used in this style sheet:
-   Hex 000000 = RBG   0,   0,   0 = black
-   Hex 5F5F5F = RBG  95,  95,  95 = light black
-   Hex BDBEBD = RBG 189, 190, 189 = dark grey
-   Hex D1D7DC = RBG 209, 215, 220 = medium grey
-   Hex CCCCCC = RBG 204, 204, 204 = medium grey
-   Hex EFEFEF = RBG 239, 239, 239 = dark white
-   Hex FFFFFF = RBG 255, 255, 255 = white
-   Hex 005D8C = RBG   0,  93, 140 = dark blue
-   Hex 0033CC = RBG   0,  91, 104 = medium blue
-   Hex 0E72A4 = RBG  14, 114, 164 = light blue
-*/
-
-body {
-        font-family : Verdana, Arial, Helvetica, sans-serif;
-        font-size: 12px;
-        background : #CCCCCC;
-        color : Black;
-        margin: 0px;
-}
-
-table {
-        font-size: 12px;
-}
-
-h1{
-        font-weight: bold;
-        font-size: 22px;
-        font-family: "Trebuchet MS", Verdana, Arial, Helvetica, sans-serif;
-        text-decoration: none;
-        line-height : 120%;
-        color : #000000;
-        margin: 2px;
-}
-
-h2 {
-        font-family: Arial, Helvetica, sans-serif;
-        font-size: 18px;
-        margin: 0px;
-}
-
-h3 {
-        font-weight: normal;
-        font-family: Verdana, Arial, Helvetica, sans-serif;
-        font-size: 12px;
-        margin: 2px;
-}
-
-p {
-        font-family: Arial, Helvetica, sans-serif;
-        font-size: 100%;
-        margin: 2px 0px;
-}
-
-ul {
-        margin-left: 5px;
-        padding: 0px;
-}
-
-li {
-        margin-left: 10px;
-        margin-top: 4px;
-        margin-bottom: 4px;
-        padding: 0px;
-        list-style-position: outside;
-        list-style-type: disc;
-}
-
-.textinput {
-        font-family: Verdana, Arial, Helvetica, sans-serif;
-        font-size: 100%;
-        border: 1px solid #D1D7DC;
-        padding-right: 3px;
-        padding-left: 3px;
-}
-
-.listbox {
-        font-family: Verdana, Arial, Arial, Helvetica, sans-serif;
-        font-size: 100%;
-        border: 1px solid #D1D7DC;
-        vertical-align : middle;
-}
-
-.button {
-        font-family: Arial, Helvetica, sans-serif;
-        font-size: 100%;
-        border: 1px solid #005D8C;
-        background-image : url(images/button_bg.gif);
-        background-position : bottom;
-}
-
-.comment_button {
-        font-family: Arial, Helvetica, sans-serif;
-        font-size: 85%;
-        border: 1px solid #005D8C;
-        background-image : url(images/button_bg.gif);
-        background-position : bottom;
-        padding-left: 3px;
-        padding-right: 3px;
-}
-
-.radio {
-        font-family: Verdana, Arial, Helvetica, sans-serif;
-        font-size: 100%;
-        vertical-align : middle;
-}
-
-.checkbox {
-        font-family: Verdana, Arial, Helvetica, sans-serif;
-        font-size: 100%;
-        vertical-align : middle;
-}
-
-a {
-        color: #0033CC;
-        text-decoration: none;
-}
-
-a:hover {
-        color: #0033CC;
-        text-decoration: underline;
-}
-
-.bblink a {
-        color: #0033CC;
-        text-decoration: none;
-}
-
-.bblink a:hover {
-        color: #0033CC;
-        text-decoration: underline;
-}
-
-.maintable {
-        border: 1px solid #0E72A4;
-/*        background-color: #FFFFFF;*/
-        background-color: #efefef;
-        margin-top: 1px;
-        margin-bottom: 1px;
-}
-
-.tableh1 {
-        background : #0E72A4 ;
-        color : #FFFFFF;
-        padding-top: 3px;
-        padding-right: 10px;
-        padding-bottom: 3px;
-        padding-left: 10px;
-}
-
-.tableh1_compact {
-        background : #0E72A4 ;
-        color : #FFFFFF;
-        padding-top: 2px;
-        padding-right: 5px;
-        padding-bottom: 2px;
-        padding-left: 5px;
-}
-
-.tableh2 {
-        background: #D1D7DC ;
-        color : #000000;
-        padding-top: 3px;
-        padding-right: 10px;
-        padding-bottom: 3px;
-        padding-left: 10px;
-}
-
-.tableh2_compact {
-        background: #D1D7DC ;
-        color : #000000;
-        padding-top: 2px;
-        padding-right: 5px;
-        padding-bottom: 2px;
-        padding-left: 5px;
-}
-
-.tableb {
-        background: #EFEFEF ;
-        padding-top: 3px;
-        padding-right: 10px;
-        padding-bottom: 3px;
-        padding-left: 10px;
-}
-
-
-.tableb_compact {
-        background: #EFEFEF ;
-        padding-top: 2px;
-        padding-right: 5px;
-        padding-bottom: 2px;
-        padding-left: 5px;
-}
-
-.tablef {
-        background: #D1D7DC;
-        padding-top: 10px;
-        padding-right: 10px;
-        padding-bottom: 10px;
-        padding-left: 10px;
-}
-
-.catrow_noalb {
-        background: #D1D7DC ;
-        color : #000000;
-        padding-top: 3px;
-        padding-right: 10px;
-        padding-bottom: 3px;
-        padding-left: 10px;
-}
-
-.catrow {
-        background: #EFEFEF ;
-        padding-top: 3px;
-        padding-right: 10px;
-        padding-bottom: 3px;
-        padding-left: 10px;
-}
-
-.album_stat {
-        font-size: 85%;
-        margin: 5px 0px;
-}
-
-.thumb_filename {
-        font-size: 80%;
-        display: block;
-}
-
-.thumb_title {
-        font-weight : bold;
-        font-size: 80%;
-        padding: 2px;
-        display : block;
-}
-
-.thumb_caption {
-        font-size: 80%;
-        padding: 1px;
-        display : block;
-}
-
-.thumb_caption a {
-        text-decoration: underline;
-        color: #000000;
-}
-
-.thumb_num_comments {
-        font-weight: normal;
-        font-size: 80%;
-        padding: 2px;
-        font-style : italic;
-        display : block;
-}
-
-.user_thumb_infobox {
-        margin-top: 1px;
-        margin-bottom: 1px;
-}
-
-.user_thumb_infobox th {
-        font-weight : bold;
-        font-size: 100%;
-        margin-top: 1px;
-        margin-bottom: 1px;
-        text-align : center;
-}
-
-.user_thumb_infobox td {
-        font-size: 80%;
-        margin-top: 1px;
-        margin-bottom: 1px;
-        text-align : center;
-}
-
-.user_thumb_infobox a {
-        text-decoration: none;
-        color: #000000;
-}
-
-.user_thumb_infobox a:hover {
-        color: #000000;
-        text-decoration: underline;
-}
-
-.sortorder_cell {
-        background : #0E72A4 ;
-        color : #FFFFFF;
-        padding: 0px;
-        margin: 0px;
-}
-
-.sortorder_options {
-        font-family: Verdana, Arial, Helvetica, sans-serif;
-        background : #0E72A4 ;
-        color : #FFFFFF;
-        padding: 0px;
-        margin: 0px;
-        font-weight: normal;
-        font-size: 80%;
-        white-space: nowrap;
-}
-
-.navmenu {
-        font-family: Verdana, Arial, Helvetica, sans-serif;
-        color: #FFFFFF;
-        font-size: 100%;
-        font-weight: bold;
-        background : #0E72A4 ;
-        border-style: none;
-}
-
-.navmenu img {
-        margin-top: 1px;
-        margin-right: 5px;
-        margin-bottom: 1px;
-        margin-left: 5px;
-}
-
-.navmenu a {
-        display: block;
-        padding-top: 2px;
-        padding-right: 5px;
-        padding-bottom: 2px;
-        padding-left: 5px;
-        text-decoration: none;
-        color: #FFFFFF;
-}
-
-.navmenu a:hover {
-        background : #EFEFEF ;
-        text-decoration: none;
-        color:         #000000;
-}
-
-.admin_menu_thumb {
-        font-family: Arial, Helvetica, sans-serif;
-        font-size: 85%;
-        border: 1px solid #005D8C;
-        background-image : url(images/button_bg.gif);
-        background-position : bottom;
-        color: #000000;
-        font-weight: bold;
-        margin-top: 0px;
-        margin-bottom: 0px;
-        width: 85px;
-}
-
-.admin_menu_thumb a {
-        color: #000000;
-        text-decoration: none;
-        display: block;
-        position: relative;
-        padding-top: 1px;
-        padding-bottom: 1px;
-        padding-left: 10px;
-        padding-right: 10px;
-}
-
-
-.admin_menu_thumb a:hover {
-        color: #000000;
-        text-decoration: underline;
-}
-
-.admin_menu {
-        font-family: Arial, Helvetica, sans-serif;
-        font-size: 85%;
-        border: 1px solid #005D8C;
-        background-color:#EFEFEF;
-        background-image : url(images/button_bg.gif);
-        background-position : bottom;
-        color: #000000;
-        margin-top: 0px;
-        margin-bottom: 0px;
-        padding-top:2px;
-        padding-bottom:2px;
-        padding-left:1px;
-        padding-right:1px;
-        text-align: center;
-}
-
-.admin_menu a {
-        color: #000000;
-        text-decoration: none;
-        display: block;
-        position: relative;
-        padding-top: 1px;
-        padding-bottom: 1px;
-        padding-left: 2px;
-        padding-right: 2px;
-}
-
-.admin_menu a:hover {
-        color: #000000;
-        text-decoration: underline;
-}
-
-td #admin_menu_anim {
-        background-image : url(images/button_bg_anim.gif);
-}
-
-.comment_date{
-        color : #5F5F5F;
-        font-size : 90%;
-        vertical-align : middle;
-}
-
-.image {
-        border-style: solid;
-        border-width:1px;
-        border-color: #000000;
-        margin: 2px;
-}
-
-.imageborder {
-        border: 1px solid #000000;
-        background-color: #FFFFFF;
-        margin-top: 30px;
-        margin-bottom: 30px;
-}
-
-.display_media {
-        background: #EFEFEF ;
-        padding-top: 3px;
-        padding-right: 10px;
-        padding-bottom: 3px;
-        padding-left: 10px;
-}
-
-.thumbnails {
-        background: #EFEFEF ;
-        padding: 5px;
-}
-
-.footer {
-        font-size : 9px;
-}
-
-.footer a {
-        text-decoration: none;
-        color: #000000;
-}
-
-.footer a:hover {
-        color: #000000;
-        text-decoration: underline;
-}
-
-.statlink {
-        color: #FFFFFF;
-}
-
-.statlink a {
-        text-decoration: none;
-        color: #FFFFFF;
-}
-
-.statlink a:hover {
-        color: #FFFFFF;
-        text-decoration: underline;
-}
-
-.alblink a {
-        text-decoration: underline;
-        color: #000000;
-}
-
-.alblink a:hover {
-        color: #000000;
-        text-decoration: underline;
-}
-
-.catlink {
-        display: block;
-        margin-bottom: 2px;
-}
-
-.catlink a {
-        text-decoration: underline;
-        color: #000000;
-}
-
-.catlink a:hover {
-        color: #000000;
-        text-decoration: underline;
-}
-
-.topmenu {
-        line-height : 130%;
-        font-size: 100%;
-}
-
-.topmenu a {
-        color : #0033CC;
-        text-decoration : none;
-}
-
-.topmenu a:hover  {
-        color : #0033CC;
-        text-decoration : underline;
-}
-
-.img_caption_table {
-        border: none;
-        background-color: #FFFFFF;
-        width : 100%;
-        margin : 0px;
-}
-
-.img_caption_table th {
-        background: #D1D7DC ;
-        font-size: 100%;
-        color : #000000;
-        padding-top: 4px;
-        padding-right: 10px;
-        padding-bottom: 4px;
-        padding-left: 10px;
-        border-top : 1px solid #FFFFFF;
-}
-
-.img_caption_table td {
-        background: #EFEFEF ;
-        padding-top: 6px;
-        padding-right: 10px;
-        padding-bottom: 6px;
-        padding-left: 10px;
-        border-top : 1px solid #FFFFFF;
-        white-space: normal;
-}
-
-.debug_text {
-        border: #BDBEBD;
-        background-color: #EFEFEF;
-        width : 100%;
-        margin : 0px;
-}
-
-.clickable_option {
-        cursor : default;
-}
-
-.listbox_lang {
-        color: #000000;
-        background-color: #D1D7DC;
-        border: 1px solid #D1D7DC;
-        font-size: 80%;
-        font-family: Arial, Helvetica, sans-serif;
-        vertical-align : middle;
-
-}
-#vanity a {
-        display:block;
-        width:57px;
-        height:20px;
-        margin: 3px 20px;
-}
-#vanity img {border:0}
-#v_php {float:left;background-image:url(../../images/powered-php.gif);}
-#v_php:hover {background-image:url(../../images/h_powered-php.gif);}
-#v_mysql {float:left;background-image:url(../../images/powered-mysql.gif);}
-#v_mysql:hover  {background-image:url(../../images/h_powered-mysql.gif);}
-#v_xhtml {float:right;background-image:url(../../images/valid-xhtml10.gif);}
-#v_xhtml:hover {background-image:url(../../images/h_valid-xhtml10.gif);}
-#v_css {float:right;background-image:url(../../images/valid-css.gif);}
+/*************************
+  Coppermine Photo Gallery
+  ************************
+  Copyright (c) 2003-2009 Coppermine Dev Team
+  v1.1 originally written by Gregory DEMAR
+
+  This program is free software; you can redistribute it and/or modify
+  it under the terms of the GNU General Public License version 3
+  as published by the Free Software Foundation.
+  
+  ********************************************
+  Coppermine version: 1.4.25
+  $HeadURL: https://coppermine.svn.sourceforge.net/svnroot/coppermine/trunk/cpg1.4.x/themes/classic/style.css $
+  $Revision: 5997 $
+  $Author: gaugau $
+  $Date: 2009-05-26 08:43:24 +0200 (Di, 26 Mai 2009) $
+**********************************************/
+
+/* Colors used in this style sheet:
+   Hex 000000 = RBG   0,   0,   0 = black
+   Hex 5F5F5F = RBG  95,  95,  95 = light black
+   Hex BDBEBD = RBG 189, 190, 189 = dark grey
+   Hex D1D7DC = RBG 209, 215, 220 = medium grey
+   Hex CCCCCC = RBG 204, 204, 204 = medium grey
+   Hex EFEFEF = RBG 239, 239, 239 = dark white
+   Hex FFFFFF = RBG 255, 255, 255 = white
+   Hex 005D8C = RBG   0,  93, 140 = dark blue
+   Hex 0033CC = RBG   0,  91, 104 = medium blue
+   Hex 0E72A4 = RBG  14, 114, 164 = light blue
+*/
+
+body {
+        font-family : Verdana, Arial, Helvetica, sans-serif;
+        font-size: 12px;
+        background : #CCCCCC;
+        color : Black;
+        margin: 0px;
+}
+
+table {
+        font-size: 12px;
+}
+
+h1{
+        font-weight: bold;
+        font-size: 22px;
+        font-family: "Trebuchet MS", Verdana, Arial, Helvetica, sans-serif;
+        text-decoration: none;
+        line-height : 120%;
+        color : #000000;
+        margin: 2px;
+}
+
+h2 {
+        font-family: Arial, Helvetica, sans-serif;
+        font-size: 18px;
+        margin: 0px;
+}
+
+h3 {
+        font-weight: normal;
+        font-family: Verdana, Arial, Helvetica, sans-serif;
+        font-size: 12px;
+        margin: 2px;
+}
+
+p {
+        font-family: Arial, Helvetica, sans-serif;
+        font-size: 100%;
+        margin: 2px 0px;
+}
+
+ul {
+        margin-left: 5px;
+        padding: 0px;
+}
+
+li {
+        margin-left: 10px;
+        margin-top: 4px;
+        margin-bottom: 4px;
+        padding: 0px;
+        list-style-position: outside;
+        list-style-type: disc;
+}
+
+.textinput {
+        font-family: Verdana, Arial, Helvetica, sans-serif;
+        font-size: 100%;
+        border: 1px solid #D1D7DC;
+        padding-right: 3px;
+        padding-left: 3px;
+}
+
+.listbox {
+        font-family: Verdana, Arial, Arial, Helvetica, sans-serif;
+        font-size: 100%;
+        border: 1px solid #D1D7DC;
+        vertical-align : middle;
+}
+
+.button {
+        font-family: Arial, Helvetica, sans-serif;
+        font-size: 100%;
+        border: 1px solid #005D8C;
+        background-image : url(images/button_bg.gif);
+        background-position : bottom;
+}
+
+.comment_button {
+        font-family: Arial, Helvetica, sans-serif;
+        font-size: 85%;
+        border: 1px solid #005D8C;
+        background-image : url(images/button_bg.gif);
+        background-position : bottom;
+        padding-left: 3px;
+        padding-right: 3px;
+}
+
+.radio {
+        font-family: Verdana, Arial, Helvetica, sans-serif;
+        font-size: 100%;
+        vertical-align : middle;
+}
+
+.checkbox {
+        font-family: Verdana, Arial, Helvetica, sans-serif;
+        font-size: 100%;
+        vertical-align : middle;
+}
+
+a {
+        color: #0033CC;
+        text-decoration: none;
+}
+
+a:hover {
+        color: #0033CC;
+        text-decoration: underline;
+}
+
+.bblink a {
+        color: #0033CC;
+        text-decoration: none;
+}
+
+.bblink a:hover {
+        color: #0033CC;
+        text-decoration: underline;
+}
+
+.maintable {
+        border: 1px solid #0E72A4;
+/*        background-color: #FFFFFF;*/
+        background-color: #efefef;
+        margin-top: 1px;
+        margin-bottom: 1px;
+}
+
+.tableh1 {
+        background : #0E72A4 ;
+        color : #FFFFFF;
+        padding-top: 3px;
+        padding-right: 10px;
+        padding-bottom: 3px;
+        padding-left: 10px;
+}
+
+.tableh1_compact {
+        background : #0E72A4 ;
+        color : #FFFFFF;
+        padding-top: 2px;
+        padding-right: 5px;
+        padding-bottom: 2px;
+        padding-left: 5px;
+}
+
+.tableh2 {
+        background: #D1D7DC ;
+        color : #000000;
+        padding-top: 3px;
+        padding-right: 10px;
+        padding-bottom: 3px;
+        padding-left: 10px;
+}
+
+.tableh2_compact {
+        background: #D1D7DC ;
+        color : #000000;
+        padding-top: 2px;
+        padding-right: 5px;
+        padding-bottom: 2px;
+        padding-left: 5px;
+}
+
+.tableb {
+        background: #EFEFEF ;
+        padding-top: 3px;
+        padding-right: 10px;
+        padding-bottom: 3px;
+        padding-left: 10px;
+}
+
+
+.tableb_compact {
+        background: #EFEFEF ;
+        padding-top: 2px;
+        padding-right: 5px;
+        padding-bottom: 2px;
+        padding-left: 5px;
+}
+
+.tablef {
+        background: #D1D7DC;
+        padding-top: 10px;
+        padding-right: 10px;
+        padding-bottom: 10px;
+        padding-left: 10px;
+}
+
+.catrow_noalb {
+        background: #D1D7DC ;
+        color : #000000;
+        padding-top: 3px;
+        padding-right: 10px;
+        padding-bottom: 3px;
+        padding-left: 10px;
+}
+
+.catrow {
+        background: #EFEFEF ;
+        padding-top: 3px;
+        padding-right: 10px;
+        padding-bottom: 3px;
+        padding-left: 10px;
+}
+
+.album_stat {
+        font-size: 85%;
+        margin: 5px 0px;
+}
+
+.thumb_filename {
+        font-size: 80%;
+        display: block;
+}
+
+.thumb_title {
+        font-weight : bold;
+        font-size: 80%;
+        padding: 2px;
+        display : block;
+}
+
+.thumb_caption {
+        font-size: 80%;
+        padding: 1px;
+        display : block;
+}
+
+.thumb_caption a {
+        text-decoration: underline;
+        color: #000000;
+}
+
+.thumb_num_comments {
+        font-weight: normal;
+        font-size: 80%;
+        padding: 2px;
+        font-style : italic;
+        display : block;
+}
+
+.user_thumb_infobox {
+        margin-top: 1px;
+        margin-bottom: 1px;
+}
+
+.user_thumb_infobox th {
+        font-weight : bold;
+        font-size: 100%;
+        margin-top: 1px;
+        margin-bottom: 1px;
+        text-align : center;
+}
+
+.user_thumb_infobox td {
+        font-size: 80%;
+        margin-top: 1px;
+        margin-bottom: 1px;
+        text-align : center;
+}
+
+.user_thumb_infobox a {
+        text-decoration: none;
+        color: #000000;
+}
+
+.user_thumb_infobox a:hover {
+        color: #000000;
+        text-decoration: underline;
+}
+
+.sortorder_cell {
+        background : #0E72A4 ;
+        color : #FFFFFF;
+        padding: 0px;
+        margin: 0px;
+}
+
+.sortorder_options {
+        font-family: Verdana, Arial, Helvetica, sans-serif;
+        background : #0E72A4 ;
+        color : #FFFFFF;
+        padding: 0px;
+        margin: 0px;
+        font-weight: normal;
+        font-size: 80%;
+        white-space: nowrap;
+}
+
+.navmenu {
+        font-family: Verdana, Arial, Helvetica, sans-serif;
+        color: #FFFFFF;
+        font-size: 100%;
+        font-weight: bold;
+        background : #0E72A4 ;
+        border-style: none;
+}
+
+.navmenu img {
+        margin-top: 1px;
+        margin-right: 5px;
+        margin-bottom: 1px;
+        margin-left: 5px;
+}
+
+.navmenu a {
+        display: block;
+        padding-top: 2px;
+        padding-right: 5px;
+        padding-bottom: 2px;
+        padding-left: 5px;
+        text-decoration: none;
+        color: #FFFFFF;
+}
+
+.navmenu a:hover {
+        background : #EFEFEF ;
+        text-decoration: none;
+        color:         #000000;
+}
+
+.admin_menu_thumb {
+        font-family: Arial, Helvetica, sans-serif;
+        font-size: 85%;
+        border: 1px solid #005D8C;
+        background-image : url(images/button_bg.gif);
+        background-position : bottom;
+        color: #000000;
+        font-weight: bold;
+        margin-top: 0px;
+        margin-bottom: 0px;
+        width: 85px;
+}
+
+.admin_menu_thumb a {
+        color: #000000;
+        text-decoration: none;
+        display: block;
+        position: relative;
+        padding-top: 1px;
+        padding-bottom: 1px;
+        padding-left: 10px;
+        padding-right: 10px;
+}
+
+
+.admin_menu_thumb a:hover {
+        color: #000000;
+        text-decoration: underline;
+}
+
+.admin_menu {
+        font-family: Arial, Helvetica, sans-serif;
+        font-size: 85%;
+        border: 1px solid #005D8C;
+        background-color:#EFEFEF;
+        background-image : url(images/button_bg.gif);
+        background-position : bottom;
+        color: #000000;
+        margin-top: 0px;
+        margin-bottom: 0px;
+        padding-top:2px;
+        padding-bottom:2px;
+        padding-left:1px;
+        padding-right:1px;
+        text-align: center;
+}
+
+.admin_menu a {
+        color: #000000;
+        text-decoration: none;
+        display: block;
+        position: relative;
+        padding-top: 1px;
+        padding-bottom: 1px;
+        padding-left: 2px;
+        padding-right: 2px;
+}
+
+.admin_menu a:hover {
+        color: #000000;
+        text-decoration: underline;
+}
+
+td #admin_menu_anim {
+        background-image : url(images/button_bg_anim.gif);
+}
+
+.comment_date{
+        color : #5F5F5F;
+        font-size : 90%;
+        vertical-align : middle;
+}
+
+.image {
+        border-style: solid;
+        border-width:1px;
+        border-color: #000000;
+        margin: 2px;
+}
+
+.imageborder {
+        border: 1px solid #000000;
+        background-color: #FFFFFF;
+        margin-top: 30px;
+        margin-bottom: 30px;
+}
+
+.display_media {
+        background: #EFEFEF ;
+        padding-top: 3px;
+        padding-right: 10px;
+        padding-bottom: 3px;
+        padding-left: 10px;
+}
+
+.thumbnails {
+        background: #EFEFEF ;
+        padding: 5px;
+}
+
+.footer {
+        font-size : 9px;
+}
+
+.footer a {
+        text-decoration: none;
+        color: #000000;
+}
+
+.footer a:hover {
+        color: #000000;
+        text-decoration: underline;
+}
+
+.statlink {
+        color: #FFFFFF;
+}
+
+.statlink a {
+        text-decoration: none;
+        color: #FFFFFF;
+}
+
+.statlink a:hover {
+        color: #FFFFFF;
+        text-decoration: underline;
+}
+
+.alblink a {
+        text-decoration: underline;
+        color: #000000;
+}
+
+.alblink a:hover {
+        color: #000000;
+        text-decoration: underline;
+}
+
+.catlink {
+        display: block;
+        margin-bottom: 2px;
+}
+
+.catlink a {
+        text-decoration: underline;
+        color: #000000;
+}
+
+.catlink a:hover {
+        color: #000000;
+        text-decoration: underline;
+}
+
+.topmenu {
+        line-height : 130%;
+        font-size: 100%;
+}
+
+.topmenu a {
+        color : #0033CC;
+        text-decoration : none;
+}
+
+.topmenu a:hover  {
+        color : #0033CC;
+        text-decoration : underline;
+}
+
+.img_caption_table {
+        border: none;
+        background-color: #FFFFFF;
+        width : 100%;
+        margin : 0px;
+}
+
+.img_caption_table th {
+        background: #D1D7DC ;
+        font-size: 100%;
+        color : #000000;
+        padding-top: 4px;
+        padding-right: 10px;
+        padding-bottom: 4px;
+        padding-left: 10px;
+        border-top : 1px solid #FFFFFF;
+}
+
+.img_caption_table td {
+        background: #EFEFEF ;
+        padding-top: 6px;
+        padding-right: 10px;
+        padding-bottom: 6px;
+        padding-left: 10px;
+        border-top : 1px solid #FFFFFF;
+        white-space: normal;
+}
+
+.debug_text {
+        border: #BDBEBD;
+        background-color: #EFEFEF;
+        width : 100%;
+        margin : 0px;
+}
+
+.clickable_option {
+        cursor : default;
+}
+
+.listbox_lang {
+        color: #000000;
+        background-color: #D1D7DC;
+        border: 1px solid #D1D7DC;
+        font-size: 80%;
+        font-family: Arial, Helvetica, sans-serif;
+        vertical-align : middle;
+
+}
+#vanity a {
+        display:block;
+        width:57px;
+        height:20px;
+        margin: 3px 20px;
+}
+#vanity img {border:0}
+#v_php {float:left;background-image:url(../../images/powered-php.gif);}
+#v_php:hover {background-image:url(../../images/h_powered-php.gif);}
+#v_mysql {float:left;background-image:url(../../images/powered-mysql.gif);}
+#v_mysql:hover  {background-image:url(../../images/h_powered-mysql.gif);}
+#v_xhtml {float:right;background-image:url(../../images/valid-xhtml10.gif);}
+#v_xhtml:hover {background-image:url(../../images/h_valid-xhtml10.gif);}
+#v_css {float:right;background-image:url(../../images/valid-css.gif);}
 #v_css:hover{background-image:url(../../images/h_valid-css.gif);}
\ No newline at end of file
diff -x .svn -aruN 1.4.24.src/themes/classic/template.html 1.4.25.src/themes/classic/template.html
--- 1.4.24.src/themes/classic/template.html	2009-05-21 15:03:09.000000000 -0500
+++ 1.4.25.src/themes/classic/template.html	2009-05-26 11:25:44.000000000 -0500
@@ -1,64 +1,64 @@
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
-
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en" dir="{LANG_DIR}">
-<head>
-<meta http-equiv="Content-Type" content="text/html; charset={CHARSET}" />
-<meta http-equiv="Pragma" content="no-cache" />
-<title>{TITLE}</title>
-{META}
-<link rel="stylesheet" href="themes/classic/style.css" type="text/css" />
-<script type="text/javascript" src="scripts.js"></script>
-<!--
-  SVN version info:
-  Coppermine version: 1.4.24
-  $Revision: 5969 $
-  $LastChangedBy: gaugau $
-  $Date: 2009-05-21 22:03:33 +0200 (Do, 21 Mai 2009) $
--->
-</head>
-<body>
-  {CUSTOM_HEADER}
-  <table width="100%" border="0" cellpadding="20" cellspacing="20">
-    <tr>
-      <td valign="top" style="border: 1px solid #666666;background-color:#FFFFFF;">
-        <table width="100%" border="0" cellspacing="0" cellpadding="0">
-          <tr>
-            <td>
-              <a href="index.php"><img src="themes/classic/images/site_logo.png" border="0" alt="" /></a><br />
-            </td>
-            <td width="100%" align="center">
-              <h1>{GAL_NAME}</h1>
-              <h3>{GAL_DESCRIPTION}</h3><br />
-              {SYS_MENU} <br /> {SUB_MENU}
-            </td>
-          </tr>
-        </table>
-        <table width="100%" border="0" cellspacing="0" cellpadding="0">
-          <tr>
-            <td align="center" valign="top">
-              {LANGUAGE_SELECT_FLAGS}
-            </td>
-          </tr>
-          <tr>
-            <td align="center" valign="top">
-              {THEME_SELECT_LIST}
-              {LANGUAGE_SELECT_LIST}
-            </td>
-          </tr>
-        </table>
-        <img src="images/spacer.gif" width="1" height="15" alt="" />
-        <br />
-        <table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
-          <tr>
-            <td align="left" valign="top">
-              {ADMIN_MENU}
-              {GALLERY}
-            </td>
-          </tr>
-        </table>
-      </td>
-    </tr>
-  </table>
-  {CUSTOM_FOOTER}{VANITY}
-</body>
-</html>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en" dir="{LANG_DIR}">
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset={CHARSET}" />
+<meta http-equiv="Pragma" content="no-cache" />
+<title>{TITLE}</title>
+{META}
+<link rel="stylesheet" href="themes/classic/style.css" type="text/css" />
+<script type="text/javascript" src="scripts.js"></script>
+<!--
+  SVN version info:
+  Coppermine version: 1.4.25
+  $Revision: 5997 $
+  $LastChangedBy: gaugau $
+  $Date: 2009-05-26 08:43:24 +0200 (Di, 26 Mai 2009) $
+-->
+</head>
+<body>
+  {CUSTOM_HEADER}
+  <table width="100%" border="0" cellpadding="20" cellspacing="20">
+    <tr>
+      <td valign="top" style="border: 1px solid #666666;background-color:#FFFFFF;">
+        <table width="100%" border="0" cellspacing="0" cellpadding="0">
+          <tr>
+            <td>
+              <a href="index.php"><img src="themes/classic/images/site_logo.png" border="0" alt="" /></a><br />
+            </td>
+            <td width="100%" align="center">
+              <h1>{GAL_NAME}</h1>
+              <h3>{GAL_DESCRIPTION}</h3><br />
+              {SYS_MENU} <br /> {SUB_MENU}
+            </td>
+          </tr>
+        </table>
+        <table width="100%" border="0" cellspacing="0" cellpadding="0">
+          <tr>
+            <td align="center" valign="top">
+              {LANGUAGE_SELECT_FLAGS}
+            </td>
+          </tr>
+          <tr>
+            <td align="center" valign="top">
+              {THEME_SELECT_LIST}
+              {LANGUAGE_SELECT_LIST}
+            </td>
+          </tr>
+        </table>
+        <img src="images/spacer.gif" width="1" height="15" alt="" />
+        <br />
+        <table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
+          <tr>
+            <td align="left" valign="top">
+              {ADMIN_MENU}
+              {GALLERY}
+            </td>
+          </tr>
+        </table>
+      </td>
+    </tr>
+  </table>
+  {CUSTOM_FOOTER}{VANITY}
+</body>
+</html>
diff -x .svn -aruN 1.4.24.src/themes/classic/theme.php 1.4.25.src/themes/classic/theme.php
--- 1.4.24.src/themes/classic/theme.php	2009-05-21 15:03:09.000000000 -0500
+++ 1.4.25.src/themes/classic/theme.php	2009-05-26 11:25:44.000000000 -0500
@@ -1,25 +1,25 @@
-<?php
-/*************************
-  Coppermine Photo Gallery
-  ************************
-  Copyright (c) 2003-2009 Coppermine Dev Team
-  v1.1 originally written by Gregory DEMAR
-
-  This program is free software; you can redistribute it and/or modify
-  it under the terms of the GNU General Public License version 3
-  as published by the Free Software Foundation.
-  
-  ********************************************
-  Coppermine version: 1.4.24
-  $HeadURL: https://coppermine.svn.sourceforge.net/svnroot/coppermine/trunk/cpg1.4.x/themes/classic/theme.php $
-  $Revision: 5969 $
-  $Author: gaugau $
-  $Date: 2009-05-21 22:03:33 +0200 (Do, 21 Mai 2009) $
-**********************************************/
-
-// ------------------------------------------------------------------------- //
-// This theme has all CORE items removed                                     //
-// ------------------------------------------------------------------------- //
-define('THEME_IS_XHTML10_TRANSITIONAL',1);
-
+<?php
+/*************************
+  Coppermine Photo Gallery
+  ************************
+  Copyright (c) 2003-2009 Coppermine Dev Team
+  v1.1 originally written by Gregory DEMAR
+
+  This program is free software; you can redistribute it and/or modify
+  it under the terms of the GNU General Public License version 3
+  as published by the Free Software Foundation.
+  
+  ********************************************
+  Coppermine version: 1.4.25
+  $HeadURL: https://coppermine.svn.sourceforge.net/svnroot/coppermine/trunk/cpg1.4.x/themes/classic/theme.php $
+  $Revision: 5997 $
+  $Author: gaugau $
+  $Date: 2009-05-26 08:43:24 +0200 (Di, 26 Mai 2009) $
+**********************************************/
+
+// ------------------------------------------------------------------------- //
+// This theme has all CORE items removed                                     //
+// ------------------------------------------------------------------------- //
+define('THEME_IS_XHTML10_TRANSITIONAL',1);
+
 ?>
\ No newline at end of file
diff -x .svn -aruN 1.4.24.src/themes/eyeball/style.css 1.4.25.src/themes/eyeball/style.css
--- 1.4.24.src/themes/eyeball/style.css	2009-05-21 15:03:09.000000000 -0500
+++ 1.4.25.src/themes/eyeball/style.css	2009-05-26 11:25:46.000000000 -0500
@@ -1,677 +1,677 @@
-/*************************
-  Coppermine Photo Gallery
-  ************************
-  Copyright (c) 2003-2009 Coppermine Dev Team
-  v1.1 originally written by Gregory DEMAR
-
-  This program is free software; you can redistribute it and/or modify
-  it under the terms of the GNU General Public License version 3
-  as published by the Free Software Foundation.
-  
-  ********************************************
-  Coppermine version: 1.4.24
-  $HeadURL: https://coppermine.svn.sourceforge.net/svnroot/coppermine/trunk/cpg1.4.x/themes/eyeball/style.css $
-  $Revision: 5969 $
-  $Author: gaugau $
-  $Date: 2009-05-21 22:03:33 +0200 (Do, 21 Mai 2009) $
-**********************************************/
-
-/* Colors used in this style sheet:
-   Hex 000000 = RBG   0,   0,   0 = black
-   Hex 666666 = RBG 102, 102, 102 = light black
-   Hex 999999 = RBG 153, 153, 153 = dark grey
-   Hex BDBEBD = RBG 189, 190, 189 = medium grey
-   Hex EFEFEF = RBG 239, 239, 239 = light grey
-   Hex FFFFFF = RBG 255, 255, 255 = white
-   Hex FFC956 = RBG 255, 201,  86 = medium orange
-   Hex FFE8B7 = RBG 255, 232, 183 = light orange
-   Hex 447AC9 = RBG  68, 122, 201 = darker blue
-   Hex 0397FF = RBG   3, 151, 255 = lighter blue
-*/
-
-/* Foreground color definition */
-body { color : #FFFFFF; }
-
-table { border-collapse: collapse; }
-
-.topmenu, .topmenu a { color : #FFFFFF; }
-
-.topmenu a:hover { color : #666666; }
-
-.tableh1, .tableh1a, .tableh1_compact, .navmenu, .navmenu a, .sortorder_cell, .sortorder_options, .statlink, .statlink a, .statlink a:hover { color : #FFC956; }
-
-.tableh2, .tableh2_compact, .catrow_noalb { color : #FFC956; }
-
-.textinput, .listbox, .radio, .checkbox { color: #FFFFFF; }
-
-.alblink, .alblink a, .catlink, .catlink a { color : #FFC956; }
-
-.alblink a:hover, .catlink a:hover { color : #FFE8B7; }
-
-a,  .bblink a, .user_thumb_infobox a  { color: #447AC9; }
-
-a:hover, .bblink a:hover, .user_thumb_infobox a:hover { color : #0397FF; }
-
-.button, .comment_button, .admin_menu_thumb, .admin_menu_thumb a, .admin_menu_thumb a:hover, .admin_menu, .admin_menu a, .admin_menu a:hover { color : #FFFFFF; }
-
-.comment_date { color : #999999; }
-
-.footer, .footer a, .footer a:hover { color : #999999; }
-
-
-/* Background colors definition */
-body { background-color: #000000; }
-
-.textinput, .listbox, .radio, .checkbox { background-color: #000000; }
-
-.tableh1, .tableh1_compact, .navmenu, .navmenu a, .navmenu a:hover  {         background : #000000 ; }
-
-.tableh2, .catrow_noalb, .tableh2_compact, .tablef, .img_caption_table th {         background : #000000 ; }
-
-.tableb, .catrow, .tableb_compact, .thumbnails, .img_caption_table td { background : #000000 ; }
-
-
-/* Borders for input controls */
-.textinput, .listbox, .button, .comment_button, .admin_menu, .admin_menu_thumb  {        border: 1px solid #666666; }
-
-.image { border: 1px solid #FFFFFF; }
-
-.imageborder {
-    border: 1px solid #000000;
-    background-color: #FFFFFF;
-    margin-top: 14px;
-    margin-bottom: 10px;
-    }
-
-.maintable, .maintableb { background-color: #000000; }
-
-.img_caption_table th, .img_caption_table td { border-top : 1px solid #000000; }
-
-.tableh1 { border-bottom : 1px solid #447AC9; }
-
-
-/* Fonts definition */
-body { font-family: Arial, Helvetica, sans-serif; }
-
-.tableh1, .tableh1a, .catlink, .tableh2, .catrow_noalb { font-family: Verdana, Geneva, Arial, Helvetica, sans-serif; }
-
-.textinput, .listbox, .radio, .checkbox { font-family: Arial, Helvetica, sans-serif; }
-
-.button, .comment_button, .sortorder_options, .admin_menu_thumb { font-family: Arial, Helvetica, sans-serif; }
-
-
-table {
-        font-size : 12px;
-}
-
-
-body {
-        font-size : 12px;
-        margin: 0px;
-}
-
-
-h1{
-        font-weight: normal;
-        font-size: 24px;
-        font-family: "Trebuchet MS", Verdana, Arial, Helvetica, sans-serif;
-        text-decoration: none;
-        color: #EEEEEE;
-        margin: 0px;
-}
-
-
-h2 {
-        font-family: Arial, Helvetica, sans-serif;
-        font-size: 18px;
-        margin: 0px;
-}
-
-
-h3 {
-        font-weight: normal;
-        font-family: "Trebuchet MS", Verdana, Geneva, Arial, sans-serif;
-        font-size: 14px;
-        color: #999999;
-        margin: 0px;
-}
-
-
-p {
-        font-size: 100%;
-        margin: 2px 0px;
-}
-
-
-ul {
-        margin-left: 5px;
-        padding: 0px;
-}
-
-
-li {
-        margin-left: 10px;
-        margin-top: 4px;
-        margin-bottom: 4px;
-        padding: 0px;
-        list-style-position: outside;
-        list-style-type: disc;
-}
-
-
-
-.top_panel td {
-        white-space: nowrap;
-}
-
-
-.top_menu_bttn a {
-        text-decoration: none;
-        position: relative;
-        display: block;
-        padding-left: 5px;
-        padding-right: 5px;
-        font-size: 12px;
-        color: #FFFFFF;
-}
-
-
-.top_menu_bttn a:hover {
-        text-decoration: underline;
-        margin-top: 2px;
-        color: #FFFFFF;
-}
-
-
-.textinput {
-        font-size: 100%;
-        padding-right: 3px;
-        padding-left: 3px;
-}
-
-
-.listbox {
-        font-size: 100%;
-        vertical-align : middle;
-}
-
-.button {
-        font-size: 100%;
-        background-image : url(images/button_bg.gif);
-        background-position : bottom;
-        height: 20px;
-}
-
-
-.comment_button {
-        font-size: 100%;
-        background-image : url(images/button_bg.gif);
-        background-position : bottom;
-        padding-left: 3px;
-        padding-right: 3px;
-        height: 20px;
-}
-
-
-.radio {
-        font-size: 100%;
-        vertical-align : middle;
-}
-
-
-.checkbox {
-        font-size: 100%;
-        vertical-align : middle;
-}
-
-
-a {
-        text-decoration: none;
-}
-
-
-a:hover {
-        text-decoration: underline;
-}
-
-
-.bblink a {
-        text-decoration: none;
-}
-
-
-.bblink a:hover {
-        text-decoration: underline;
-}
-
-
-.maintable {
-        margin-top: 2px;
-        margin-bottom: 2px;
-}
-
-
-.maintablea {
-        margin-top: 10px;
-}
-
-
-.maintableb {
-}
-
-
-.tableh1 {
-        padding-right: 10px;
-        padding-left: 10px;
-        height: 25px;
-}
-
-
-.tableh1a td {
-        border: none;
-        height: 30px;
-        font-size: 150%;
-        font-weight: bold;
-        background-image: url(images/tableh1a_bg_middle.gif);
-        background-position: bottom;
-}
-
-
-.tableh1a img {
-        display: block;
-}
-
-
-.tableh1_compact {
-        padding-top: 2px;
-        padding-right: 5px;
-        padding-bottom: 2px;
-        padding-left: 5px;
-        height: 25px;
-}
-
-
-.tableh2 {
-        padding-top: 3px;
-        padding-right: 10px;
-        padding-bottom: 3px;
-        padding-left: 10px;
-}
-
-.tableh2_compact {
-        padding-top: 2px;
-        padding-right: 5px;
-        padding-bottom: 2px;
-        padding-left: 5px;
-}
-
-
-.tableb {
-        padding-top: 3px;
-        padding-right: 10px;
-        padding-bottom: 3px;
-        padding-left: 10px;
-}
-
-.tableb_compact {
-        padding-top: 2px;
-        padding-right: 5px;
-        padding-bottom: 2px;
-        padding-left: 5px;
-}
-
-
-.tablef {
-        padding-top: 10px;
-        padding-right: 10px;
-        padding-bottom: 10px;
-        padding-left: 10px;
-}
-
-.catrow_noalb {
-        padding-top: 3px;
-        padding-right: 10px;
-        padding-bottom: 3px;
-        padding-left: 10px;
-}
-
-.catrow {
-        padding-top: 3px;
-        padding-right: 10px;
-        padding-bottom: 3px;
-        padding-left: 10px;
-}
-
-.album_stat {
-        font-size : 85%;
-        margin: 5px 0px;
-}
-
-.thumb_filename {
-        font-size: 80%;
-        display: block;
-}
-
-.thumb_title {
-        font-weight : bold;
-        font-size: 80%;
-        padding: 2px;
-        display : block;
-}
-
-
-.thumb_caption {
-        font-size: 80%;
-        padding: 1px;
-        display : block;
-}
-
-
-.thumb_caption a {
-        text-decoration: underline;
-}
-
-
-
-.thumb_num_comments {
-        font-weight: normal;
-        font-size: 85%;
-        padding: 2px;
-        font-style : italic;
-        display : block;
-}
-
-
-.user_thumb_infobox {
-        margin-top: 1px;
-        margin-bottom: 1px;
-}
-
-
-.user_thumb_infobox th {
-        font-weight : normal;
-        font-size: 100%;
-        margin-top: 1px;
-        margin-bottom: 1px;
-        text-align : center;
-}
-
-
-.user_thumb_infobox td {
-        font-size: 85%;
-        margin-top: 1px;
-        margin-bottom: 1px;
-        text-align : center;
-}
-
-
-.user_thumb_infobox a {
-        text-decoration: none;
-}
-
-
-.user_thumb_infobox a:hover {
-        text-decoration: underline;
-}
-
-
-.sortorder_options {
-        padding: 0px;
-        margin: 0px;
-        font-weight: normal;
-        font-size: 50%;
-        white-space: nowrap;
-}
-
-
-.navmenu {
-        font-weight: bold;
-        border: none;
-}
-
-
-.navmenu img {
-        display: block;
-}
-
-
-.navmenu a {
-        display: block;
-        padding-left: 5px;
-        padding-right: 5px;
-        text-decoration: none;
-        line-height: 25px;
-        height : 25px;
-}
-
-
-.navmenu a:hover {
-        text-decoration: none;
-}
-
-
-.admin_menu_thumb {
-        font-size: 90%;
-        background-image: url(images/button_bg.gif);
-        background-position: bottom;
-
-        font-weight: bold;
-        margin-top: 0px;
-        margin-bottom: 0px;
-        width: 85px;
-}
-
-
-.admin_menu_thumb a {
-        text-decoration: none;
-        display: block;
-        position: relative;
-        padding-top: 1px;
-        padding-bottom: 1px;
-        padding-left: 10px;
-        padding-right: 10px;
-}
-
-
-
-.admin_menu_thumb a:hover {
-        text-decoration: underline;
-}
-
-
-.admin_menu {
-        font-size: 90%;
-        background-image: url(images/button_bg.gif);
-        background-repeat: repeat-x;
-        background-position: top;
-        background-color: #3680D9;
-        margin-top: 0px;
-        margin-bottom: 0px;
-        text-align: center;
-}
-
-
-.admin_menu a {
-        text-decoration: none;
-        display: block;
-        position: relative;
-        padding-top: 1px;
-        padding-bottom: 1px;
-        padding-left: 2px;
-        padding-right: 2px;
-}
-
-
-.admin_menu a:hover {
-        text-decoration: underline;
-}
-
-td #admin_menu_anim {
-        background-image : url(images/button_bg_anim.gif);
-}
-
-.comment_date{
-        font-size: 90%;
-        vertical-align : middle;
-}
-
-
-.image {
-        margin: 2px;
-}
-
-.display_media {
-        padding-top: 3px;
-        padding-right: 10px;
-        padding-bottom: 3px;
-        padding-left: 10px;
-}
-
-.thumbnails {
-        padding: 10px;
-}
-
-
-.footer {
-        font-size : 9px;
-}
-
-
-.footer a {
-        text-decoration: none;
-}
-
-
-.footer a:hover {
-        text-decoration: underline;
-}
-
-
-.statlink a {
-        text-decoration: none;
-}
-
-
-.statlink a:hover {
-        text-decoration: underline;
-}
-
-
-.alblink a {
-        text-decoration: underline;
-}
-
-
-.alblink a:hover {
-        text-decoration: underline;
-}
-
-
-.catlink {
-        display: block;
-        margin-bottom: 2px;
-}
-
-
-.catlink a {
-        text-decoration: underline;
-}
-
-
-.catlink a:hover {
-        text-decoration: underline;
-}
-
-
-.topmenu {
-        line-height : 130%;
-        font-size : 110%;
-}
-
-
-.topmenu a {
-        text-decoration : underline;
-}
-
-
-.topmenu a:hover  {
-        text-decoration : underline;
-}
-
-
-.img_caption_table {
-        border: none;
-        width : 100%;
-        margin : 0px;
-}
-
-
-.img_caption_table th {
-        font-size : 100%;
-        padding-top: 4px;
-        padding-right: 10px;
-        padding-bottom: 4px;
-        padding-left: 10px;
-}
-
-
-.img_caption_table td {
-        padding-top: 6px;
-        padding-right: 10px;
-        padding-bottom: 6px;
-        padding-left: 10px;
-        white-space: normal;
-}
-
-.debug_text {
-        border: #BDBEBD;
-        background-color: #EFEFEF;
-        width : 100%;
-        margin : 0px;
-}
-
-.clickable_option {
-        cursor : default;
-}
-
-.listbox_lang {
-        color: #FFFFFF;
-        background-color: #000000;
-        border: 1px solid #666666;
-        font-size: 80%;
-        font-family: Arial, Helvetica, sans-serif;
-        vertical-align : middle;
-}
-
-/* Modified Holly-Hack to fix IE 3px bug */
-
-/* Hides from IE-mac \*/
-
-* html .ie_fix {margin-bottom: -3px;}
-/* End hide from IE-mac */
-
-
-#Menu1 {
-         position:relative;
-         width:780px;
-         height:15px;
-         top: 3px;
-         left: 20px;
-         visibility: hidden;
-}
-
-#vanity a {
-        display:block;
-        width:57px;
-        height:20px;
-        margin: 3px 20px;
-}
-#vanity img {border:0}
-#v_php {float:left;background-image:url(../../images/powered-php.gif);}
-#v_php:hover {background-image:url(../../images/h_powered-php.gif);}
-#v_mysql {float:left;background-image:url(../../images/powered-mysql.gif);}
-#v_mysql:hover  {background-image:url(../../images/h_powered-mysql.gif);}
-#v_xhtml {float:right;background-image:url(../../images/valid-xhtml10.gif);}
-#v_xhtml:hover {background-image:url(../../images/h_valid-xhtml10.gif);}
-#v_css {float:right;background-image:url(../../images/valid-css.gif);}
+/*************************
+  Coppermine Photo Gallery
+  ************************
+  Copyright (c) 2003-2009 Coppermine Dev Team
+  v1.1 originally written by Gregory DEMAR
+
+  This program is free software; you can redistribute it and/or modify
+  it under the terms of the GNU General Public License version 3
+  as published by the Free Software Foundation.
+  
+  ********************************************
+  Coppermine version: 1.4.25
+  $HeadURL: https://coppermine.svn.sourceforge.net/svnroot/coppermine/trunk/cpg1.4.x/themes/eyeball/style.css $
+  $Revision: 5997 $
+  $Author: gaugau $
+  $Date: 2009-05-26 08:43:24 +0200 (Di, 26 Mai 2009) $
+**********************************************/
+
+/* Colors used in this style sheet:
+   Hex 000000 = RBG   0,   0,   0 = black
+   Hex 666666 = RBG 102, 102, 102 = light black
+   Hex 999999 = RBG 153, 153, 153 = dark grey
+   Hex BDBEBD = RBG 189, 190, 189 = medium grey
+   Hex EFEFEF = RBG 239, 239, 239 = light grey
+   Hex FFFFFF = RBG 255, 255, 255 = white
+   Hex FFC956 = RBG 255, 201,  86 = medium orange
+   Hex FFE8B7 = RBG 255, 232, 183 = light orange
+   Hex 447AC9 = RBG  68, 122, 201 = darker blue
+   Hex 0397FF = RBG   3, 151, 255 = lighter blue
+*/
+
+/* Foreground color definition */
+body { color : #FFFFFF; }
+
+table { border-collapse: collapse; }
+
+.topmenu, .topmenu a { color : #FFFFFF; }
+
+.topmenu a:hover { color : #666666; }
+
+.tableh1, .tableh1a, .tableh1_compact, .navmenu, .navmenu a, .sortorder_cell, .sortorder_options, .statlink, .statlink a, .statlink a:hover { color : #FFC956; }
+
+.tableh2, .tableh2_compact, .catrow_noalb { color : #FFC956; }
+
+.textinput, .listbox, .radio, .checkbox { color: #FFFFFF; }
+
+.alblink, .alblink a, .catlink, .catlink a { color : #FFC956; }
+
+.alblink a:hover, .catlink a:hover { color : #FFE8B7; }
+
+a,  .bblink a, .user_thumb_infobox a  { color: #447AC9; }
+
+a:hover, .bblink a:hover, .user_thumb_infobox a:hover { color : #0397FF; }
+
+.button, .comment_button, .admin_menu_thumb, .admin_menu_thumb a, .admin_menu_thumb a:hover, .admin_menu, .admin_menu a, .admin_menu a:hover { color : #FFFFFF; }
+
+.comment_date { color : #999999; }
+
+.footer, .footer a, .footer a:hover { color : #999999; }
+
+
+/* Background colors definition */
+body { background-color: #000000; }
+
+.textinput, .listbox, .radio, .checkbox { background-color: #000000; }
+
+.tableh1, .tableh1_compact, .navmenu, .navmenu a, .navmenu a:hover  {         background : #000000 ; }
+
+.tableh2, .catrow_noalb, .tableh2_compact, .tablef, .img_caption_table th {         background : #000000 ; }
+
+.tableb, .catrow, .tableb_compact, .thumbnails, .img_caption_table td { background : #000000 ; }
+
+
+/* Borders for input controls */
+.textinput, .listbox, .button, .comment_button, .admin_menu, .admin_menu_thumb  {        border: 1px solid #666666; }
+
+.image { border: 1px solid #FFFFFF; }
+
+.imageborder {
+    border: 1px solid #000000;
+    background-color: #FFFFFF;
+    margin-top: 14px;
+    margin-bottom: 10px;
+    }
+
+.maintable, .maintableb { background-color: #000000; }
+
+.img_caption_table th, .img_caption_table td { border-top : 1px solid #000000; }
+
+.tableh1 { border-bottom : 1px solid #447AC9; }
+
+
+/* Fonts definition */
+body { font-family: Arial, Helvetica, sans-serif; }
+
+.tableh1, .tableh1a, .catlink, .tableh2, .catrow_noalb { font-family: Verdana, Geneva, Arial, Helvetica, sans-serif; }
+
+.textinput, .listbox, .radio, .checkbox { font-family: Arial, Helvetica, sans-serif; }
+
+.button, .comment_button, .sortorder_options, .admin_menu_thumb { font-family: Arial, Helvetica, sans-serif; }
+
+
+table {
+        font-size : 12px;
+}
+
+
+body {
+        font-size : 12px;
+        margin: 0px;
+}
+
+
+h1{
+        font-weight: normal;
+        font-size: 24px;
+        font-family: "Trebuchet MS", Verdana, Arial, Helvetica, sans-serif;
+        text-decoration: none;
+        color: #EEEEEE;
+        margin: 0px;
+}
+
+
+h2 {
+        font-family: Arial, Helvetica, sans-serif;
+        font-size: 18px;
+        margin: 0px;
+}
+
+
+h3 {
+        font-weight: normal;
+        font-family: "Trebuchet MS", Verdana, Geneva, Arial, sans-serif;
+        font-size: 14px;
+        color: #999999;
+        margin: 0px;
+}
+
+
+p {
+        font-size: 100%;
+        margin: 2px 0px;
+}
+
+
+ul {
+        margin-left: 5px;
+        padding: 0px;
+}
+
+
+li {
+        margin-left: 10px;
+        margin-top: 4px;
+        margin-bottom: 4px;
+        padding: 0px;
+        list-style-position: outside;
+        list-style-type: disc;
+}
+
+
+
+.top_panel td {
+        white-space: nowrap;
+}
+
+
+.top_menu_bttn a {
+        text-decoration: none;
+        position: relative;
+        display: block;
+        padding-left: 5px;
+        padding-right: 5px;
+        font-size: 12px;
+        color: #FFFFFF;
+}
+
+
+.top_menu_bttn a:hover {
+        text-decoration: underline;
+        margin-top: 2px;
+        color: #FFFFFF;
+}
+
+
+.textinput {
+        font-size: 100%;
+        padding-right: 3px;
+        padding-left: 3px;
+}
+
+
+.listbox {
+        font-size: 100%;
+        vertical-align : middle;
+}
+
+.button {
+        font-size: 100%;
+        background-image : url(images/button_bg.gif);
+        background-position : bottom;
+        height: 20px;
+}
+
+
+.comment_button {
+        font-size: 100%;
+        background-image : url(images/button_bg.gif);
+        background-position : bottom;
+        padding-left: 3px;
+        padding-right: 3px;
+        height: 20px;
+}
+
+
+.radio {
+        font-size: 100%;
+        vertical-align : middle;
+}
+
+
+.checkbox {
+        font-size: 100%;
+        vertical-align : middle;
+}
+
+
+a {
+        text-decoration: none;
+}
+
+
+a:hover {
+        text-decoration: underline;
+}
+
+
+.bblink a {
+        text-decoration: none;
+}
+
+
+.bblink a:hover {
+        text-decoration: underline;
+}
+
+
+.maintable {
+        margin-top: 2px;
+        margin-bottom: 2px;
+}
+
+
+.maintablea {
+        margin-top: 10px;
+}
+
+
+.maintableb {
+}
+
+
+.tableh1 {
+        padding-right: 10px;
+        padding-left: 10px;
+        height: 25px;
+}
+
+
+.tableh1a td {
+        border: none;
+        height: 30px;
+        font-size: 150%;
+        font-weight: bold;
+        background-image: url(images/tableh1a_bg_middle.gif);
+        background-position: bottom;
+}
+
+
+.tableh1a img {
+        display: block;
+}
+
+
+.tableh1_compact {
+        padding-top: 2px;
+        padding-right: 5px;
+        padding-bottom: 2px;
+        padding-left: 5px;
+        height: 25px;
+}
+
+
+.tableh2 {
+        padding-top: 3px;
+        padding-right: 10px;
+        padding-bottom: 3px;
+        padding-left: 10px;
+}
+
+.tableh2_compact {
+        padding-top: 2px;
+        padding-right: 5px;
+        padding-bottom: 2px;
+        padding-left: 5px;
+}
+
+
+.tableb {
+        padding-top: 3px;
+        padding-right: 10px;
+        padding-bottom: 3px;
+        padding-left: 10px;
+}
+
+.tableb_compact {
+        padding-top: 2px;
+        padding-right: 5px;
+        padding-bottom: 2px;
+        padding-left: 5px;
+}
+
+
+.tablef {
+        padding-top: 10px;
+        padding-right: 10px;
+        padding-bottom: 10px;
+        padding-left: 10px;
+}
+
+.catrow_noalb {
+        padding-top: 3px;
+        padding-right: 10px;
+        padding-bottom: 3px;
+        padding-left: 10px;
+}
+
+.catrow {
+        padding-top: 3px;
+        padding-right: 10px;
+        padding-bottom: 3px;
+        padding-left: 10px;
+}
+
+.album_stat {
+        font-size : 85%;
+        margin: 5px 0px;
+}
+
+.thumb_filename {
+        font-size: 80%;
+        display: block;
+}
+
+.thumb_title {
+        font-weight : bold;
+        font-size: 80%;
+        padding: 2px;
+        display : block;
+}
+
+
+.thumb_caption {
+        font-size: 80%;
+        padding: 1px;
+        display : block;
+}
+
+
+.thumb_caption a {
+        text-decoration: underline;
+}
+
+
+
+.thumb_num_comments {
+        font-weight: normal;
+        font-size: 85%;
+        padding: 2px;
+        font-style : italic;
+        display : block;
+}
+
+
+.user_thumb_infobox {
+        margin-top: 1px;
+        margin-bottom: 1px;
+}
+
+
+.user_thumb_infobox th {
+        font-weight : normal;
+        font-size: 100%;
+        margin-top: 1px;
+        margin-bottom: 1px;
+        text-align : center;
+}
+
+
+.user_thumb_infobox td {
+        font-size: 85%;
+        margin-top: 1px;
+        margin-bottom: 1px;
+        text-align : center;
+}
+
+
+.user_thumb_infobox a {
+        text-decoration: none;
+}
+
+
+.user_thumb_infobox a:hover {
+        text-decoration: underline;
+}
+
+
+.sortorder_options {
+        padding: 0px;
+        margin: 0px;
+        font-weight: normal;
+        font-size: 50%;
+        white-space: nowrap;
+}
+
+
+.navmenu {
+        font-weight: bold;
+        border: none;
+}
+
+
+.navmenu img {
+        display: block;
+}
+
+
+.navmenu a {
+        display: block;
+        padding-left: 5px;
+        padding-right: 5px;
+        text-decoration: none;
+        line-height: 25px;
+        height : 25px;
+}
+
+
+.navmenu a:hover {
+        text-decoration: none;
+}
+
+
+.admin_menu_thumb {
+        font-size: 90%;
+        background-image: url(images/button_bg.gif);
+        background-position: bottom;
+
+        font-weight: bold;
+        margin-top: 0px;
+        margin-bottom: 0px;
+        width: 85px;
+}
+
+
+.admin_menu_thumb a {
+        text-decoration: none;
+        display: block;
+        position: relative;
+        padding-top: 1px;
+        padding-bottom: 1px;
+        padding-left: 10px;
+        padding-right: 10px;
+}
+
+
+
+.admin_menu_thumb a:hover {
+        text-decoration: underline;
+}
+
+
+.admin_menu {
+        font-size: 90%;
+        background-image: url(images/button_bg.gif);
+        background-repeat: repeat-x;
+        background-position: top;
+        background-color: #3680D9;
+        margin-top: 0px;
+        margin-bottom: 0px;
+        text-align: center;
+}
+
+
+.admin_menu a {
+        text-decoration: none;
+        display: block;
+        position: relative;
+        padding-top: 1px;
+        padding-bottom: 1px;
+        padding-left: 2px;
+        padding-right: 2px;
+}
+
+
+.admin_menu a:hover {
+        text-decoration: underline;
+}
+
+td #admin_menu_anim {
+        background-image : url(images/button_bg_anim.gif);
+}
+
+.comment_date{
+        font-size: 90%;
+        vertical-align : middle;
+}
+
+
+.image {
+        margin: 2px;
+}
+
+.display_media {
+        padding-top: 3px;
+        padding-right: 10px;
+        padding-bottom: 3px;
+        padding-left: 10px;
+}
+
+.thumbnails {
+        padding: 10px;
+}
+
+
+.footer {
+        font-size : 9px;
+}
+
+
+.footer a {
+        text-decoration: none;
+}
+
+
+.footer a:hover {
+        text-decoration: underline;
+}
+
+
+.statlink a {
+        text-decoration: none;
+}
+
+
+.statlink a:hover {
+        text-decoration: underline;
+}
+
+
+.alblink a {
+        text-decoration: underline;
+}
+
+
+.alblink a:hover {
+        text-decoration: underline;
+}
+
+
+.catlink {
+        display: block;
+        margin-bottom: 2px;
+}
+
+
+.catlink a {
+        text-decoration: underline;
+}
+
+
+.catlink a:hover {
+        text-decoration: underline;
+}
+
+
+.topmenu {
+        line-height : 130%;
+        font-size : 110%;
+}
+
+
+.topmenu a {
+        text-decoration : underline;
+}
+
+
+.topmenu a:hover  {
+        text-decoration : underline;
+}
+
+
+.img_caption_table {
+        border: none;
+        width : 100%;
+        margin : 0px;
+}
+
+
+.img_caption_table th {
+        font-size : 100%;
+        padding-top: 4px;
+        padding-right: 10px;
+        padding-bottom: 4px;
+        padding-left: 10px;
+}
+
+
+.img_caption_table td {
+        padding-top: 6px;
+        padding-right: 10px;
+        padding-bottom: 6px;
+        padding-left: 10px;
+        white-space: normal;
+}
+
+.debug_text {
+        border: #BDBEBD;
+        background-color: #EFEFEF;
+        width : 100%;
+        margin : 0px;
+}
+
+.clickable_option {
+        cursor : default;
+}
+
+.listbox_lang {
+        color: #FFFFFF;
+        background-color: #000000;
+        border: 1px solid #666666;
+        font-size: 80%;
+        font-family: Arial, Helvetica, sans-serif;
+        vertical-align : middle;
+}
+
+/* Modified Holly-Hack to fix IE 3px bug */
+
+/* Hides from IE-mac \*/
+
+* html .ie_fix {margin-bottom: -3px;}
+/* End hide from IE-mac */
+
+
+#Menu1 {
+         position:relative;
+         width:780px;
+         height:15px;
+         top: 3px;
+         left: 20px;
+         visibility: hidden;
+}
+
+#vanity a {
+        display:block;
+        width:57px;
+        height:20px;
+        margin: 3px 20px;
+}
+#vanity img {border:0}
+#v_php {float:left;background-image:url(../../images/powered-php.gif);}
+#v_php:hover {background-image:url(../../images/h_powered-php.gif);}
+#v_mysql {float:left;background-image:url(../../images/powered-mysql.gif);}
+#v_mysql:hover  {background-image:url(../../images/h_powered-mysql.gif);}
+#v_xhtml {float:right;background-image:url(../../images/valid-xhtml10.gif);}
+#v_xhtml:hover {background-image:url(../../images/h_valid-xhtml10.gif);}
+#v_css {float:right;background-image:url(../../images/valid-css.gif);}
 #v_css:hover{background-image:url(../../images/h_valid-css.gif);}
\ No newline at end of file
diff -x .svn -aruN 1.4.24.src/themes/eyeball/template.html 1.4.25.src/themes/eyeball/template.html
--- 1.4.24.src/themes/eyeball/template.html	2009-05-21 15:03:09.000000000 -0500
+++ 1.4.25.src/themes/eyeball/template.html	2009-05-26 11:25:46.000000000 -0500
@@ -1,117 +1,117 @@
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en" dir="{LANG_DIR}">
-<head>
-<meta http-equiv="Content-Type" content="text/html; charset={CHARSET}" />
-<meta http-equiv="Pragma" content="no-cache" />
-<title>{TITLE}</title>
-{META}
-<link rel="stylesheet" href="themes/eyeball/style.css" type="text/css" />
-<script type="text/javascript" src="scripts.js"></script>
-<script language="JavaScript" type="text/JavaScript">
-<!--
-function MM_findObj(n, d) { //v4.01
-  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
-    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
-  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
-  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
-  if(!x && d.getElementById) x=d.getElementById(n); return x;
-}
-
-function MM_showHideLayers() { //v6.0
-  var i,p,v,obj,args=MM_showHideLayers.arguments;
-  for (i=0; i<(args.length-2); i+=3) if ((obj=MM_findObj(args[i]))!=null) { v=args[i+2];
-    if (obj.style) { obj=obj.style; v=(v=='show')?'visible':(v=='hide')?'hidden':v; }
-    obj.visibility=v; }
-}
-//-->
-</script>
-<!--
-  SVN version info:
-  Coppermine version: 1.4.24
-  $Revision: 5969 $
-  $LastChangedBy: gaugau $
-  $Date: 2009-05-21 22:03:33 +0200 (Do, 21 Mai 2009) $
--->
-</head>
-<body>
-  {CUSTOM_HEADER}
-  <table border="0" cellpadding="0" cellspacing="0" width="100%" class="top_panel">
-    <tr>
-      <td>
-        <table border="0" cellpadding="0" cellspacing="0" width="100%">
-          <tr>
-            <td width="49%" style="background-image:url(themes/eyeball/images/top_background_r1_c1.gif);"></td>
-
-            <td width="2%">
-              <table border="0" cellpadding="0" cellspacing="0" width="100%">
-                <tr>
-                  <td>
-                    <div>
-                      <table border="0" cellpadding="0" cellspacing="0" width="100%">
-                        <tr>
-                          <td width="135" height="17" style="background-image:url(themes/eyeball/images/top_background_r1_c2.gif);background-repeat:no-repeat;"><img src="images/spacer.gif" width="135" height="17" border="0" alt="" /></td>
-
-                          <td width="100%" style="background-image:url(themes/eyeball/images/top_background_r1_c4.gif);background-repeat:repeat-x;"></td>
-
-                          <td width="135" height="17" style="background-image:url(themes/eyeball/images/top_background_r1_c5.gif);background-repeat:no-repeat;"><img src="images/spacer.gif" width="135" height="17" border="0" alt="" /></td>
-                        </tr>
-                      </table>
-                    </div>
-                  </td>
-                </tr>
-
-                <tr>
-                  <td>
-                    <div class="ie_fix">
-                      <table border="0" cellpadding="0" cellspacing="0" width="100%">
-                        <tr>
-                          <td><img name="top_background_r2_c2" src="themes/eyeball/images/top_background_r2_c2.gif" width="55" height="25" border="0" id="top_background_r2_c2" alt="" /></td>
-
-                          <td align="center">{SUB_MENU}</td>
-
-                          <td><img name="top_background_r2_c6" src="themes/eyeball/images/top_background_r2_c6.gif" width="55" height="25" border="0" id="top_background_r2_c6" alt="" /></td>
-                        </tr>
-                      </table>
-                    </div>
-                  </td>
-                </tr>
-              </table>
-            </td>
-
-            <td width="49%" style="background-image:url(themes/eyeball/images/top_background_r1_c7.gif);"></td>
-          </tr>
-        </table>
-      </td>
-    </tr>
-  </table>
-
-  <div id="Menu1" class="topmenu">
-    <table border="0" cellpadding="0" cellspacing="0">
-      <tr>
-        <td>{SYS_MENU}</td>
-      </tr>
-    </table>
-  </div>
-
-<h3 align="center">{GAL_NAME} - {GAL_DESCRIPTION}</h3>
-
-  <div style="padding: 5px 20px;">
-    <table width="100%" border="0" cellpadding="0" cellspacing="0">
-      <tr>
-        <td valign="top">{ADMIN_MENU} {GALLERY}</td>
-      </tr>
-
-      <tr>
-        <td valign="top">
-          <div style="text-align:center;">
-            <div>
-              {THEME_SELECT_LIST}&nbsp; {LANGUAGE_SELECT_LIST}<br />
-              {LANGUAGE_SELECT_FLAGS}
-            </div>
-          </div>
-        </td>
-      </tr>
-    </table>
-  </div>{CUSTOM_FOOTER} {VANITY}
-</body>
-</html>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en" dir="{LANG_DIR}">
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset={CHARSET}" />
+<meta http-equiv="Pragma" content="no-cache" />
+<title>{TITLE}</title>
+{META}
+<link rel="stylesheet" href="themes/eyeball/style.css" type="text/css" />
+<script type="text/javascript" src="scripts.js"></script>
+<script language="JavaScript" type="text/JavaScript">
+<!--
+function MM_findObj(n, d) { //v4.01
+  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
+    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
+  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
+  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
+  if(!x && d.getElementById) x=d.getElementById(n); return x;
+}
+
+function MM_showHideLayers() { //v6.0
+  var i,p,v,obj,args=MM_showHideLayers.arguments;
+  for (i=0; i<(args.length-2); i+=3) if ((obj=MM_findObj(args[i]))!=null) { v=args[i+2];
+    if (obj.style) { obj=obj.style; v=(v=='show')?'visible':(v=='hide')?'hidden':v; }
+    obj.visibility=v; }
+}
+//-->
+</script>
+<!--
+  SVN version info:
+  Coppermine version: 1.4.25
+  $Revision: 5997 $
+  $LastChangedBy: gaugau $
+  $Date: 2009-05-26 08:43:24 +0200 (Di, 26 Mai 2009) $
+-->
+</head>
+<body>
+  {CUSTOM_HEADER}
+  <table border="0" cellpadding="0" cellspacing="0" width="100%" class="top_panel">
+    <tr>
+      <td>
+        <table border="0" cellpadding="0" cellspacing="0" width="100%">
+          <tr>
+            <td width="49%" style="background-image:url(themes/eyeball/images/top_background_r1_c1.gif);"></td>
+
+            <td width="2%">
+              <table border="0" cellpadding="0" cellspacing="0" width="100%">
+                <tr>
+                  <td>
+                    <div>
+                      <table border="0" cellpadding="0" cellspacing="0" width="100%">
+                        <tr>
+                          <td width="135" height="17" style="background-image:url(themes/eyeball/images/top_background_r1_c2.gif);background-repeat:no-repeat;"><img src="images/spacer.gif" width="135" height="17" border="0" alt="" /></td>
+
+                          <td width="100%" style="background-image:url(themes/eyeball/images/top_background_r1_c4.gif);background-repeat:repeat-x;"></td>
+
+                          <td width="135" height="17" style="background-image:url(themes/eyeball/images/top_background_r1_c5.gif);background-repeat:no-repeat;"><img src="images/spacer.gif" width="135" height="17" border="0" alt="" /></td>
+                        </tr>
+                      </table>
+                    </div>
+                  </td>
+                </tr>
+
+                <tr>
+                  <td>
+                    <div class="ie_fix">
+                      <table border="0" cellpadding="0" cellspacing="0" width="100%">
+                        <tr>
+                          <td><img name="top_background_r2_c2" src="themes/eyeball/images/top_background_r2_c2.gif" width="55" height="25" border="0" id="top_background_r2_c2" alt="" /></td>
+
+                          <td align="center">{SUB_MENU}</td>
+
+                          <td><img name="top_background_r2_c6" src="themes/eyeball/images/top_background_r2_c6.gif" width="55" height="25" border="0" id="top_background_r2_c6" alt="" /></td>
+                        </tr>
+                      </table>
+                    </div>
+                  </td>
+                </tr>
+              </table>
+            </td>
+
+            <td width="49%" style="background-image:url(themes/eyeball/images/top_background_r1_c7.gif);"></td>
+          </tr>
+        </table>
+      </td>
+    </tr>
+  </table>
+
+  <div id="Menu1" class="topmenu">
+    <table border="0" cellpadding="0" cellspacing="0">
+      <tr>
+        <td>{SYS_MENU}</td>
+      </tr>
+    </table>
+  </div>
+
+<h3 align="center">{GAL_NAME} - {GAL_DESCRIPTION}</h3>
+
+  <div style="padding: 5px 20px;">
+    <table width="100%" border="0" cellpadding="0" cellspacing="0">
+      <tr>
+        <td valign="top">{ADMIN_MENU} {GALLERY}</td>
+      </tr>
+
+      <tr>
+        <td valign="top">
+          <div style="text-align:center;">
+            <div>
+              {THEME_SELECT_LIST}&nbsp; {LANGUAGE_SELECT_LIST}<br />
+              {LANGUAGE_SELECT_FLAGS}
+            </div>
+          </div>
+        </td>
+      </tr>
+    </table>
+  </div>{CUSTOM_FOOTER} {VANITY}
+</body>
+</html>
diff -x .svn -aruN 1.4.24.src/themes/eyeball/theme.php 1.4.25.src/themes/eyeball/theme.php
--- 1.4.24.src/themes/eyeball/theme.php	2009-05-21 15:03:09.000000000 -0500
+++ 1.4.25.src/themes/eyeball/theme.php	2009-05-26 11:25:46.000000000 -0500
@@ -1,223 +1,223 @@
-<?php
-/*************************
-  Coppermine Photo Gallery
-  ************************
-  Copyright (c) 2003-2009 Coppermine Dev Team
-  v1.1 originally written by Gregory DEMAR
-
-  This program is free software; you can redistribute it and/or modify
-  it under the terms of the GNU General Public License version 3
-  as published by the Free Software Foundation.
-  
-  ********************************************
-  Coppermine version: 1.4.24
-  $HeadURL: https://coppermine.svn.sourceforge.net/svnroot/coppermine/trunk/cpg1.4.x/themes/eyeball/theme.php $
-  $Revision: 5969 $
-  $Author: gaugau $
-  $Date: 2009-05-21 22:03:33 +0200 (Do, 21 Mai 2009) $
-  ********************************************
-  This theme has had redundant CORE items removed
-**********************************************/
-
-define('THEME_HAS_RATING_GRAPHICS', 1);
-define('THEME_HAS_NAVBAR_GRAPHICS', 1);
-define('THEME_HAS_NO_SUB_MENU_BUTTONS',1);
-define('THEME_IS_XHTML10_TRANSITIONAL',1);  // Remove this if you edit this template until
-                                            // you have validated it. See docs/theme.htm.
-// HTML template for template sys_menu spacer
-$template_sys_menu_spacer ='|';
-
-// HTML template for template sub_menu
-$template_sub_menu = <<<EOT
-                        <table cellpadding="0" cellspacing="0" border="0" class="top_menu_bttn">
-                                <tr>
-                                        <td><img src="themes/eyeball/images/top_menu_left.gif" border="0" alt="" /><br /></td>
-                                        <!-- BEGIN custom_link -->
-                                                                                <td style="background-image:url(themes/eyeball/images/top_menu_button.gif);">
-                                                <a href="{CUSTOM_LNK_TGT}" title="{CUSTOM_LNK_TITLE}">{CUSTOM_LNK_LNK}</a>
-                                        </td>
-                                        <td><img src="themes/eyeball/images/top_menu_spacer.gif" border="0" alt="" /><br /></td>
-                                        <!-- END custom_link -->
-                                        <td style="background-image:url(themes/eyeball/images/top_menu_button.gif);">
-                                                <a href="index.php" onmouseover="MM_showHideLayers('Menu1','','show')"><img src="themes/eyeball/images/home.gif" border="0" alt="" /><br /></a>
-                                        </td>
-                                        <td><img src="themes/eyeball/images/top_menu_spacer.gif" border="0" alt="" /><br /></td>
-                                        <td style="background-image:url(themes/eyeball/images/top_menu_button.gif);">
-                                                <a href="{ALB_LIST_TGT}" title="{ALB_LIST_TITLE}">{ALB_LIST_LNK}</a>
-                                        </td>
-                                        <td><img src="themes/eyeball/images/top_menu_spacer.gif" border="0" alt="" /><br /></td>
-                                        <td style="background-image:url(themes/eyeball/images/top_menu_button.gif);">
-                                                <a href="{LASTUP_TGT}" onmouseover="MM_showHideLayers('Menu1','','hide')" title="{LASTUP_LNK}">{LASTUP_LNK}</a>
-                                        </td>
-                                        <td><img src="themes/eyeball/images/top_menu_spacer.gif" border="0" alt="" /><br /></td>
-                                        <td style="background-image:url(themes/eyeball/images/top_menu_button.gif);">
-                                                <a href="{LASTCOM_TGT}" onmouseover="MM_showHideLayers('Menu1','','hide')" title="{LASTCOM_LNK}">{LASTCOM_LNK}</a>
-                                        </td>
-                                        <td><img src="themes/eyeball/images/top_menu_spacer.gif" border="0" alt="" /><br /></td>
-                                        <td style="background-image:url(themes/eyeball/images/top_menu_button.gif);">
-                                                <a href="{TOPN_TGT}" onmouseover="MM_showHideLayers('Menu1','','hide')" title="{TOPN_LNK}">{TOPN_LNK}</a>
-                                        </td>
-                                        <td><img src="themes/eyeball/images/top_menu_spacer.gif" border="0" alt="" /><br /></td>
-                                        <td style="background-image:url(themes/eyeball/images/top_menu_button.gif);">
-                                                <a href="{TOPRATED_TGT}" onmouseover="MM_showHideLayers('Menu1','','hide')" title="{TOPRATED_LNK}">{TOPRATED_LNK}</a>
-                                        </td>
-                                        <td><img src="themes/eyeball/images/top_menu_spacer.gif" border="0" alt="" /><br /></td>
-                                        <td style="background-image:url(themes/eyeball/images/top_menu_button.gif);">
-                                        <a href="{FAV_TGT}" onmouseover="MM_showHideLayers('Menu1','','hide')" title="{FAV_LNK}">{FAV_LNK}</a>
-                                        </td>
-                                        <td><img src="themes/eyeball/images/top_menu_spacer.gif" border="0" alt="" /><br /></td>
-                                         <td style="background-image:url(themes/eyeball/images/top_menu_button.gif);">
-                                                <a href="{SEARCH_TGT}" onmouseover="MM_showHideLayers('Menu1','','hide')" title="{SEARCH_LNK}">{SEARCH_LNK}</a>
-                                        </td>
-                                        <td><img src="themes/eyeball/images/top_menu_right.gif" border="0" alt="" /><br /></td>
-
-                                </tr>
-                        </table>
-EOT;
-
-// HTML template for title row of the thumbnail view (album title + sort options)
-$template_thumb_view_title_row = <<<EOT
-
-                        <table width="100%" cellpadding="0" cellspacing="0">
-                        <tr>
-                                <td width="100%" class="statlink">{ALBUM_NAME}</td>
-                                <td class="sortorder_options" style="font-size: 100%;">{TITLE}</td>
-                                <td class="sortorder_options" style="font-size: 100%;"><span class="statlink"><a href="thumbnails.php?album={AID}&amp;page={PAGE}&amp;sort=ta" title="{SORT_TA}">&nbsp;+&nbsp;</a></span></td>
-                                <td class="sortorder_options" style="font-size: 100%;"><span class="statlink"><a href="thumbnails.php?album={AID}&amp;page={PAGE}&amp;sort=td" title="{SORT_TD}">&nbsp;-&nbsp;</a></span></td>
-                                <td>&nbsp;&nbsp;</td>
-                                <td class="sortorder_options" style="font-size: 100%;">{NAME}</td>
-                                <td class="sortorder_options" style="font-size: 100%;"><span class="statlink"><a href="thumbnails.php?album={AID}&amp;page={PAGE}&amp;sort=na" title="{SORT_NA}">&nbsp;+&nbsp;</a></span></td>
-                                <td class="sortorder_options" style="font-size: 100%;"><span class="statlink"><a href="thumbnails.php?album={AID}&amp;page={PAGE}&amp;sort=nd" title="{SORT_ND}">&nbsp;-&nbsp;</a></span></td>
-                                <td>&nbsp;&nbsp;</td>
-                                <td class="sortorder_options" style="font-size: 100%;">{DATE}</td>
-                                <td class="sortorder_options" style="font-size: 100%;"><span class="statlink"><a href="thumbnails.php?album={AID}&amp;page={PAGE}&amp;sort=da" title="{SORT_DA}">&nbsp;+&nbsp;</a></span></td>
-                                <td class="sortorder_options" style="font-size: 100%;"><span class="statlink"><a href="thumbnails.php?album={AID}&amp;page={PAGE}&amp;sort=dd" title="{SORT_DD}">&nbsp;-&nbsp;</a></span></td>
-                                <td>&nbsp;&nbsp;</td>
-                                <td class="sortorder_options" style="font-size: 100%;">{POSITION}</td>
-                                <td class="sortorder_options" style="font-size: 100%;"><span class="statlink"><a href="thumbnails.php?album={AID}&amp;page={PAGE}&amp;sort=pa" title="{SORT_PA}">&nbsp;+&nbsp;</a></span></td>
-                                <td class="sortorder_options" style="font-size: 100%;"><span class="statlink"><a href="thumbnails.php?album={AID}&amp;page={PAGE}&amp;sort=pd" title="{SORT_PD}">&nbsp;-&nbsp;</a></span></td>
-                        </tr>
-                        </table>
-
-EOT;
-
-// Function to start a 'standard' table
-function starttable($width = '-1', $title = '', $title_colspan = '1')
-{
-    global $CONFIG;
-    global $table_need_close;
-
-    if ($width == '-1') $width = $CONFIG['picture_table_width'];
-    if ($width == '100%') $width = $CONFIG['main_table_width'];
-    if ($title) {
-        $table_need_close = true;
-        echo <<<EOT
-<!-- Start standard table title -->
-<table align="center" width="$width" cellspacing="0" cellpadding="0" class="maintablea">
-        <tr>
-                <td>
-                        <table width="100%" cellspacing="0" cellpadding="0" class="tableh1a">
-                                <tr>
-                                        <td class="tableh1a"><img src="themes/eyeball/images/tableh1a_bg_left.gif" alt="" /></td>
-                                        <td class="tableh1a" width="100%">$title</td>
-                                        <td class="tableh1a"><img src="themes/eyeball/images/tableh1a_bg_right.gif" alt="" /></td>
-                                </tr>
-                        </table>
-                </td>
-        </tr>
-</table>
-<!-- Start standard table -->
-<table align="center" width="$width" cellspacing="0" cellpadding="0">
-  <tr>
-   <td><img src="images/spacer.gif" width="20" height="1" border="0" alt="" /></td>
-        <td width="100%"><table width="100%" cellspacing="1" cellpadding="0" class="maintableb">
-
-EOT;
-    } else {
-        echo <<<EOT
-
-<!-- Start standard table -->
-<table align="center" width="$width" cellspacing="0" cellpadding="0" class="maintable">
-
-EOT;
-    }
-}
-
-function endtable()
-{
-    global $table_need_close;
-
-    if ($table_need_close) {
-        $table_need_close = false;
-        echo <<<EOT
-        </table>
-   </td>
-   <td><img src="images/spacer.gif" width="20" height="1" border="0" alt="" /></td>
-  </tr>
-</table>
-<!-- End standard table -->
-
-EOT;
-    } else {
-        echo <<<EOT
-</table>
-<!-- End standard table -->
-
-EOT;
-    }
-}
-
-function theme_display_image($nav_menu, $picture, $votes, $pic_info, $comments, $film_strip)
-{
-    global $CONFIG;
-
-    $spacer = <<<EOT
-        <tr>
-                <td><img src="themes/eyeball/images/hline_left.gif" alt="" /><br /></td>
-                <td width="100%" style="background-image:url(themes/eyeball/images/hline_bg.gif);" align="center"><img src="themes/eyeball/images/hline_blue_ball.gif" alt="" /><br /></td>
-                <td><img src="themes/eyeball/images/hline_right.gif" alt="" /><br /></td>
-        </tr>
-
-EOT;
-
-    echo '        <img src="images/spacer.gif" width="1" height="25" alt="" /><br />' . "\n";
-    starttable();
-    echo $nav_menu;
-    endtable();
-
-    starttable();
-    echo $picture;
-    endtable();
-    if ($CONFIG['display_film_strip'] == 1) {
-        echo $film_strip;
-    }
-    if ($votes) {
-        starttable();
-        echo $spacer;
-        endtable();
-
-        echo $votes;
-
-    }
-
-    $picinfo = isset($_COOKIE['picinfo']) ? $_COOKIE['picinfo'] : ($CONFIG['display_pic_info'] ? 'block' : 'none');
-    echo "<div id=\"picinfo\" style=\"display: $picinfo;\">\n";
-    starttable();
-    echo $spacer;
-    endtable();
-    starttable();
-    echo $pic_info;
-    endtable();
-    echo "</div>\n";
-
-    if ($comments) {
-        starttable();
-        echo $spacer;
-        endtable();
-        echo "<div id=\"comments\">\n";
-        echo $comments;
-        echo "</div>\n";
-    }
-}
-
+<?php
+/*************************
+  Coppermine Photo Gallery
+  ************************
+  Copyright (c) 2003-2009 Coppermine Dev Team
+  v1.1 originally written by Gregory DEMAR
+
+  This program is free software; you can redistribute it and/or modify
+  it under the terms of the GNU General Public License version 3
+  as published by the Free Software Foundation.
+  
+  ********************************************
+  Coppermine version: 1.4.25
+  $HeadURL: https://coppermine.svn.sourceforge.net/svnroot/coppermine/trunk/cpg1.4.x/themes/eyeball/theme.php $
+  $Revision: 5997 $
+  $Author: gaugau $
+  $Date: 2009-05-26 08:43:24 +0200 (Di, 26 Mai 2009) $
+  ********************************************
+  This theme has had redundant CORE items removed
+**********************************************/
+
+define('THEME_HAS_RATING_GRAPHICS', 1);
+define('THEME_HAS_NAVBAR_GRAPHICS', 1);
+define('THEME_HAS_NO_SUB_MENU_BUTTONS',1);
+define('THEME_IS_XHTML10_TRANSITIONAL',1);  // Remove this if you edit this template until
+                                            // you have validated it. See docs/theme.htm.
+// HTML template for template sys_menu spacer
+$template_sys_menu_spacer ='|';
+
+// HTML template for template sub_menu
+$template_sub_menu = <<<EOT
+                        <table cellpadding="0" cellspacing="0" border="0" class="top_menu_bttn">
+                                <tr>
+                                        <td><img src="themes/eyeball/images/top_menu_left.gif" border="0" alt="" /><br /></td>
+                                        <!-- BEGIN custom_link -->
+                                                                                <td style="background-image:url(themes/eyeball/images/top_menu_button.gif);">
+                                                <a href="{CUSTOM_LNK_TGT}" title="{CUSTOM_LNK_TITLE}">{CUSTOM_LNK_LNK}</a>
+                                        </td>
+                                        <td><img src="themes/eyeball/images/top_menu_spacer.gif" border="0" alt="" /><br /></td>
+                                        <!-- END custom_link -->
+                                        <td style="background-image:url(themes/eyeball/images/top_menu_button.gif);">
+                                                <a href="index.php" onmouseover="MM_showHideLayers('Menu1','','show')"><img src="themes/eyeball/images/home.gif" border="0" alt="" /><br /></a>
+                                        </td>
+                                        <td><img src="themes/eyeball/images/top_menu_spacer.gif" border="0" alt="" /><br /></td>
+                                        <td style="background-image:url(themes/eyeball/images/top_menu_button.gif);">
+                                                <a href="{ALB_LIST_TGT}" title="{ALB_LIST_TITLE}">{ALB_LIST_LNK}</a>
+                                        </td>
+                                        <td><img src="themes/eyeball/images/top_menu_spacer.gif" border="0" alt="" /><br /></td>
+                                        <td style="background-image:url(themes/eyeball/images/top_menu_button.gif);">
+                                                <a href="{LASTUP_TGT}" onmouseover="MM_showHideLayers('Menu1','','hide')" title="{LASTUP_LNK}">{LASTUP_LNK}</a>
+                                        </td>
+                                        <td><img src="themes/eyeball/images/top_menu_spacer.gif" border="0" alt="" /><br /></td>
+                                        <td style="background-image:url(themes/eyeball/images/top_menu_button.gif);">
+                                                <a href="{LASTCOM_TGT}" onmouseover="MM_showHideLayers('Menu1','','hide')" title="{LASTCOM_LNK}">{LASTCOM_LNK}</a>
+                                        </td>
+                                        <td><img src="themes/eyeball/images/top_menu_spacer.gif" border="0" alt="" /><br /></td>
+                                        <td style="background-image:url(themes/eyeball/images/top_menu_button.gif);">
+                                                <a href="{TOPN_TGT}" onmouseover="MM_showHideLayers('Menu1','','hide')" title="{TOPN_LNK}">{TOPN_LNK}</a>
+                                        </td>
+                                        <td><img src="themes/eyeball/images/top_menu_spacer.gif" border="0" alt="" /><br /></td>
+                                        <td style="background-image:url(themes/eyeball/images/top_menu_button.gif);">
+                                                <a href="{TOPRATED_TGT}" onmouseover="MM_showHideLayers('Menu1','','hide')" title="{TOPRATED_LNK}">{TOPRATED_LNK}</a>
+                                        </td>
+                                        <td><img src="themes/eyeball/images/top_menu_spacer.gif" border="0" alt="" /><br /></td>
+                                        <td style="background-image:url(themes/eyeball/images/top_menu_button.gif);">
+                                        <a href="{FAV_TGT}" onmouseover="MM_showHideLayers('Menu1','','hide')" title="{FAV_LNK}">{FAV_LNK}</a>
+                                        </td>
+                                        <td><img src="themes/eyeball/images/top_menu_spacer.gif" border="0" alt="" /><br /></td>
+                                         <td style="background-image:url(themes/eyeball/images/top_menu_button.gif);">
+                                                <a href="{SEARCH_TGT}" onmouseover="MM_showHideLayers('Menu1','','hide')" title="{SEARCH_LNK}">{SEARCH_LNK}</a>
+                                        </td>
+                                        <td><img src="themes/eyeball/images/top_menu_right.gif" border="0" alt="" /><br /></td>
+
+                                </tr>
+                        </table>
+EOT;
+
+// HTML template for title row of the thumbnail view (album title + sort options)
+$template_thumb_view_title_row = <<<EOT
+
+                        <table width="100%" cellpadding="0" cellspacing="0">
+                        <tr>
+                                <td width="100%" class="statlink">{ALBUM_NAME}</td>
+                                <td class="sortorder_options" style="font-size: 100%;">{TITLE}</td>
+                                <td class="sortorder_options" style="font-size: 100%;"><span class="statlink"><a href="thumbnails.php?album={AID}&amp;page={PAGE}&amp;sort=ta" title="{SORT_TA}">&nbsp;+&nbsp;</a></span></td>
+                                <td class="sortorder_options" style="font-size: 100%;"><span class="statlink"><a href="thumbnails.php?album={AID}&amp;page={PAGE}&amp;sort=td" title="{SORT_TD}">&nbsp;-&nbsp;</a></span></td>
+                                <td>&nbsp;&nbsp;</td>
+                                <td class="sortorder_options" style="font-size: 100%;">{NAME}</td>
+                                <td class="sortorder_options" style="font-size: 100%;"><span class="statlink"><a href="thumbnails.php?album={AID}&amp;page={PAGE}&amp;sort=na" title="{SORT_NA}">&nbsp;+&nbsp;</a></span></td>
+                                <td class="sortorder_options" style="font-size: 100%;"><span class="statlink"><a href="thumbnails.php?album={AID}&amp;page={PAGE}&amp;sort=nd" title="{SORT_ND}">&nbsp;-&nbsp;</a></span></td>
+                                <td>&nbsp;&nbsp;</td>
+                                <td class="sortorder_options" style="font-size: 100%;">{DATE}</td>
+                                <td class="sortorder_options" style="font-size: 100%;"><span class="statlink"><a href="thumbnails.php?album={AID}&amp;page={PAGE}&amp;sort=da" title="{SORT_DA}">&nbsp;+&nbsp;</a></span></td>
+                                <td class="sortorder_options" style="font-size: 100%;"><span class="statlink"><a href="thumbnails.php?album={AID}&amp;page={PAGE}&amp;sort=dd" title="{SORT_DD}">&nbsp;-&nbsp;</a></span></td>
+                                <td>&nbsp;&nbsp;</td>
+                                <td class="sortorder_options" style="font-size: 100%;">{POSITION}</td>
+                                <td class="sortorder_options" style="font-size: 100%;"><span class="statlink"><a href="thumbnails.php?album={AID}&amp;page={PAGE}&amp;sort=pa" title="{SORT_PA}">&nbsp;+&nbsp;</a></span></td>
+                                <td class="sortorder_options" style="font-size: 100%;"><span class="statlink"><a href="thumbnails.php?album={AID}&amp;page={PAGE}&amp;sort=pd" title="{SORT_PD}">&nbsp;-&nbsp;</a></span></td>
+                        </tr>
+                        </table>
+
+EOT;
+
+// Function to start a 'standard' table
+function starttable($width = '-1', $title = '', $title_colspan = '1')
+{
+    global $CONFIG;
+    global $table_need_close;
+
+    if ($width == '-1') $width = $CONFIG['picture_table_width'];
+    if ($width == '100%') $width = $CONFIG['main_table_width'];
+    if ($title) {
+        $table_need_close = true;
+        echo <<<EOT
+<!-- Start standard table title -->
+<table align="center" width="$width" cellspacing="0" cellpadding="0" class="maintablea">
+        <tr>
+                <td>
+                        <table width="100%" cellspacing="0" cellpadding="0" class="tableh1a">
+                                <tr>
+                                        <td class="tableh1a"><img src="themes/eyeball/images/tableh1a_bg_left.gif" alt="" /></td>
+                                        <td class="tableh1a" width="100%">$title</td>
+                                        <td class="tableh1a"><img src="themes/eyeball/images/tableh1a_bg_right.gif" alt="" /></td>
+                                </tr>
+                        </table>
+                </td>
+        </tr>
+</table>
+<!-- Start standard table -->
+<table align="center" width="$width" cellspacing="0" cellpadding="0">
+  <tr>
+   <td><img src="images/spacer.gif" width="20" height="1" border="0" alt="" /></td>
+        <td width="100%"><table width="100%" cellspacing="1" cellpadding="0" class="maintableb">
+
+EOT;
+    } else {
+        echo <<<EOT
+
+<!-- Start standard table -->
+<table align="center" width="$width" cellspacing="0" cellpadding="0" class="maintable">
+
+EOT;
+    }
+}
+
+function endtable()
+{
+    global $table_need_close;
+
+    if ($table_need_close) {
+        $table_need_close = false;
+        echo <<<EOT
+        </table>
+   </td>
+   <td><img src="images/spacer.gif" width="20" height="1" border="0" alt="" /></td>
+  </tr>
+</table>
+<!-- End standard table -->
+
+EOT;
+    } else {
+        echo <<<EOT
+</table>
+<!-- End standard table -->
+
+EOT;
+    }
+}
+
+function theme_display_image($nav_menu, $picture, $votes, $pic_info, $comments, $film_strip)
+{
+    global $CONFIG;
+
+    $spacer = <<<EOT
+        <tr>
+                <td><img src="themes/eyeball/images/hline_left.gif" alt="" /><br /></td>
+                <td width="100%" style="background-image:url(themes/eyeball/images/hline_bg.gif);" align="center"><img src="themes/eyeball/images/hline_blue_ball.gif" alt="" /><br /></td>
+                <td><img src="themes/eyeball/images/hline_right.gif" alt="" /><br /></td>
+        </tr>
+
+EOT;
+
+    echo '        <img src="images/spacer.gif" width="1" height="25" alt="" /><br />' . "\n";
+    starttable();
+    echo $nav_menu;
+    endtable();
+
+    starttable();
+    echo $picture;
+    endtable();
+    if ($CONFIG['display_film_strip'] == 1) {
+        echo $film_strip;
+    }
+    if ($votes) {
+        starttable();
+        echo $spacer;
+        endtable();
+
+        echo $votes;
+
+    }
+
+    $picinfo = isset($_COOKIE['picinfo']) ? $_COOKIE['picinfo'] : ($CONFIG['display_pic_info'] ? 'block' : 'none');
+    echo "<div id=\"picinfo\" style=\"display: $picinfo;\">\n";
+    starttable();
+    echo $spacer;
+    endtable();
+    starttable();
+    echo $pic_info;
+    endtable();
+    echo "</div>\n";
+
+    if ($comments) {
+        starttable();
+        echo $spacer;
+        endtable();
+        echo "<div id=\"comments\">\n";
+        echo $comments;
+        echo "</div>\n";
+    }
+}
+
 ?>
\ No newline at end of file
diff -x .svn -aruN 1.4.24.src/themes/fruity/style.css 1.4.25.src/themes/fruity/style.css
--- 1.4.24.src/themes/fruity/style.css	2009-05-21 15:03:09.000000000 -0500
+++ 1.4.25.src/themes/fruity/style.css	2009-05-26 11:25:46.000000000 -0500
@@ -1,641 +1,641 @@
-/*************************
-  Coppermine Photo Gallery
-  ************************
-  Copyright (c) 2003-2009 Coppermine Dev Team
-  v1.1 originally written by Gregory DEMAR
-
-  This program is free software; you can redistribute it and/or modify
-  it under the terms of the GNU General Public License version 3
-  as published by the Free Software Foundation.
-  
-  ********************************************
-  Coppermine version: 1.4.24
-  $HeadURL: https://coppermine.svn.sourceforge.net/svnroot/coppermine/trunk/cpg1.4.x/themes/fruity/style.css $
-  $Revision: 5969 $
-  $Author: gaugau $
-  $Date: 2009-05-21 22:03:33 +0200 (Do, 21 Mai 2009) $
-**********************************************/
-
-/* Colors used:                                */
-/* --------------------------------------------*/
-/* #FFFFFF = RBG 255,255,255 = (white)         */
-/* #000000 = RBG   0,  0,  0 = (black)         */
-/* #FFA600 = RGB 255,166,  0 = (orange)        */
-/* #6BBE10 = RGB 107,190, 16 = (green)         */
-/* #1B2D04 = RGB  27, 45,  4 = (dark green)    */
-/* #FFFF00 = RGB 255,255,  0 = (yellow)        */
-/* #D1D7DC = RGB 209,215,220 = (light grey)    */
-/* #F7F37B = RGB 247,243,123 = (light yellow)  */
-/* #5F5F5F = RGB  95, 95, 95 = (dark grey)     */
-/* #E7F38C = RGB 239,243,140 = (light green)   */
-/* if you don't like a color, just do a search */
-/* and replace on the hex color...             */
-
-body {
-background-color:#FFFFFF;
-margin-top:0px;
-margin-left:0px;
-margin-right:0px;
-padding:0px;
-font-family:Verdana,Arial,sans-serif;
-color:#000000;
-font-size:16px;
-}
-
-
-h1{
-        font-weight: bold;
-        font-size: 22px;
-        font-family: Verdana, Arial, Helvetica, sans-serif;
-        text-decoration: none;
-        line-height : 120%;
-        color : #000000;
-        margin: 2px;
-}
-
-h2 {
-        font-family: Arial, Helvetica, sans-serif;
-        font-size: 18px;
-        margin: 0px;
-}
-
-h3 {
-        font-weight: normal;
-        font-family: Verdana, Arial, Helvetica, sans-serif;
-        font-size: 12px;
-        margin: 2px;
-}
-
-td {
-        font-size: 12px;
-}
-
-p {
-        font-family: Arial, Helvetica, sans-serif;
-        font-size: 12px;
-        margin: 2px 0px;
-}
-
-ul {
-        margin-left: 5px;
-        padding: 0px;
-}
-
-li {
-        margin-left: 10px;
-        margin-top: 4px;
-        margin-bottom: 4px;
-        padding: 0px;
-        list-style-position: outside;
-        list-style-type: disc;
-}
-
-.textinput {
-        font-family: Verdana, Arial, Helvetica, sans-serif;
-        font-size: 12px;
-        border: 1px solid #D1D7DC;
-        padding-right: 3px;
-        padding-left: 3px;
-}
-
-.listbox {
-        font-family: Verdana, Arial, Arial, Helvetica, sans-serif;
-        font-size: 12px;
-        border: 1px solid #D1D7DC;
-        vertical-align : middle;
-}
-
-.button {
-        font-family: Arial, Helvetica, sans-serif;
-        font-size: 12px;
-        border: 1px solid #005D8C;
-        background-image : url(images/button_bg.gif);
-        background-position : bottom;
-}
-
-.comment_button {
-        font-family: Arial, Helvetica, sans-serif;
-        font-size: 10px;
-        border: 1px solid #005D8C;
-        background-image : url(images/button_bg.gif);
-        background-position : bottom;
-        padding-left: 3px;
-        padding-right: 3px;
-}
-
-.radio {
-        font-family: Verdana, Arial, Helvetica, sans-serif;
-        font-size: 12px;
-        vertical-align : middle;
-}
-
-.checkbox {
-        font-family: Verdana, Arial, Helvetica, sans-serif;
-        font-size: 12px;
-        vertical-align : middle;
-}
-
-a {
-        color: #FFA600;
-        text-decoration: none;
-}
-
-a:hover {
-        color: #FFFFFF;
-        text-decoration: none;
-        background-color: #6BBE10;
-}
-
-.bblink a {
-        color: #FFA600;
-        text-decoration: none;
-}
-
-.bblink a:hover {
-        color: #FFFFFF;
-        text-decoration: none;
-        background-color: #6BBE10;
-}
-
-a:hover.nobg {
-        text-decoration: none;
-        background-color: #F7F37B;
-}
-
-
-a:hover.yebg {
-        text-decoration: none;
-        background-color: #FFFF00;
-}
-
-.maintable {
-        border: 1px solid #6BBE10;
-        background-color: #FFFFFF;
-        margin-top: 1px;
-        margin-bottom: 1px;
-}
-
-.tableh1 {
-        background : #FFA600 ;
-        color : #FFFFFF;
-        padding-top: 3px;
-        padding-right: 10px;
-        padding-bottom: 3px;
-        padding-left: 10px;
-}
-
-.tableh1_compact {
-        background : #6BBE10 ;
-        color : #FFFFFF;
-        padding-top: 2px;
-        padding-right: 5px;
-        padding-bottom: 2px;
-        padding-left: 5px;
-}
-
-.tableh2 {
-        background: #F7F37B ;
-        color : #000000;
-        padding-top: 3px;
-        padding-right: 10px;
-        padding-bottom: 3px;
-        padding-left: 10px;
-}
-
-.tableh2_compact {
-        background: #FFFF00 ;
-        color : #000000;
-        padding-top: 2px;
-        padding-right: 5px;
-        padding-bottom: 2px;
-        padding-left: 5px;
-}
-
-.tableb {
-        background: #F7F37B ;
-        padding-top: 3px;
-        padding-right: 10px;
-        padding-bottom: 3px;
-        padding-left: 10px;
-}
-
-.tableb_compact {
-        background: #F7F37B ;
-        padding-top: 2px;
-        padding-right: 5px;
-        padding-bottom: 2px;
-        padding-left: 5px;
-}
-
-.tablef {
-        background: #6BBE10;
-        padding-top: 10px;
-        padding-right: 10px;
-        padding-bottom: 10px;
-        padding-left: 10px;
-}
-
-.catrow {
-        background: #F7F37B ;
-        padding-top: 3px;
-        padding-right: 10px;
-        padding-bottom: 3px;
-        padding-left: 10px;
-}
-
-.catrow_noalb {
-        background: #F7F37B ;
-        color : #000000;
-        padding-top: 3px;
-        padding-right: 10px;
-        padding-bottom: 3px;
-        padding-left: 10px;
-}
-
-.album_stat {
-        font-size : 10px;
-        margin: 5px 0px;
-}
-
-.thumb_filename {
-        font-size: 80%;
-        display: block;
-}
-
-.thumb_title {
-        font-weight : bold;
-        font-size: 9px;
-        padding: 2px;
-        display : block;
-}
-
-.thumb_caption {
-        font-size: 9px;
-        padding: 1px;
-        display : block;
-}
-
-.thumb_num_comments {
-        font-weight: normal;
-        font-size: 9px;
-        padding: 2px;
-        font-style : italic;
-        display : block;
-}
-
-.user_thumb_infobox {
-        margin-top: 1px;
-        margin-bottom: 1px;
-}
-
-.user_thumb_infobox th {
-        font-weight : bold;
-        font-size: 12px;
-        margin-top: 1px;
-        margin-bottom: 1px;
-        text-align : center;
-}
-
-.user_thumb_infobox td {
-        font-size: 10px;
-        margin-top: 1px;
-        margin-bottom: 1px;
-        text-align : center;
-}
-
-.user_thumb_infobox a {
-        text-decoration: none;
-        color: #000000;
-}
-
-.user_thumb_infobox a:hover {
-        color: #000000;
-        text-decoration: underline;
-}
-
-.sortorder_cell {
-        background : #6BBE10 ;
-        color : #FFFFFF;
-        padding: 0px;
-        margin: 0px;
-}
-
-.sortorder_options {
-        font-family: Verdana, Arial, Helvetica, sans-serif;
-        background : #6BBE10 ;
-        color : #FFFFFF;
-        padding: 0px;
-        margin: 0px;
-        font-weight: normal;
-        font-size: 9px;
-        white-space: nowrap;
-}
-
-.navmenu {
-        font-family: Verdana, Arial, Helvetica, sans-serif;
-        color: #FFFFFF;
-        font-size: 12px;
-        font-weight: bold;
-        background : #6BBE10 ;
-        border-style: none;
-}
-
-.navmenu img {
-        margin-top: 1px;
-        margin-right: 5px;
-        margin-bottom: 1px;
-        margin-left: 5px;
-}
-
-.navmenu a {
-        display: block;
-        padding-top: 2px;
-        padding-right: 5px;
-        padding-bottom: 2px;
-        padding-left: 5px;
-        text-decoration: none;
-        color: #FFFFFF;
-}
-
-.navmenu a:hover {
-        background : #FFA600 ;
-        text-decoration: none;
-        color:         #000000;
-}
-
-.admin_menu_thumb {
-        font-family: Arial, Helvetica, sans-serif;
-        font-size: 10px;
-        border: 1px solid #005D8C;
-        background-image : url(images/button_bg.gif);
-        background-position : bottom;
-        color: #000000;
-        font-weight: bold;
-        margin-top: 0px;
-        margin-bottom: 0px;
-        width: 85px;
-}
-
-.admin_menu_thumb a {
-        color: #000000;
-        text-decoration: none;
-        display: block;
-        position: relative;
-        padding-top: 1px;
-        padding-bottom: 1px;
-        padding-left: 10px;
-        padding-right: 10px;
-}
-
-
-.admin_menu_thumb a:hover {
-        color: #000000;
-        text-decoration: underline;
-}
-
-.admin_menu {
-        font-family: Arial, Helvetica, sans-serif;
-        font-size: 10px;
-        border: 1px solid #FFA600;
-        background-image : url(images/button_bg.gif);
-        background-position : bottom;
-        color: #000000;
-        margin-top: 0px;
-        margin-bottom: 0px;
-        text-align: center;
-}
-
-.admin_menu a {
-        color: #000000;
-        text-decoration: none;
-        display: block;
-        position: relative;
-        padding-top: 1px;
-        padding-bottom: 1px;
-        padding-left: 2px;
-        padding-right: 2px;
-}
-
-.admin_menu a:hover {
-        color: #000000;
-        text-decoration: none;
-        background: #FFA600;
-}
-
-td #admin_menu_anim {
-        background-image : url(images/button_bg_anim.gif);
-}
-
-.comment_date{
-        color : #5F5F5F;
-        font-size : 10px;
-        vertical-align : middle;
-}
-
-.image {
-        border-style: solid;
-        border-width:1px;
-        border-color: #000000;
-        margin: 2px;
-}
-
-.imageborder {
-        border: 1px solid #000000;
-        background-color: #FFFFFF;
-        margin-top: 30px;
-        margin-bottom: 30px;
-}
-
-.display_media {
-        background: #F7F37B ;
-        padding-top: 3px;
-        padding-right: 10px;
-        padding-bottom: 3px;
-        padding-left: 10px;
-}
-
-.thumbnails {
-        background: #E7F38C ;
-        padding: 5px;
-}
-
-.footer {
-        font-size : 9px;
-}
-
-.footer a {
-        text-decoration: none;
-        color: #000000;
-}
-
-.footer a:hover {
-        color: #000000;
-        text-decoration: underline;
-}
-
-.statlink {
-        color: #FFFFFF;
-        text-decoration: none;
-}
-
-.statlink a {
-        text-decoration: none;
-        color: #FFFFFF;
-}
-
-.statlink a:hover {
-        color: #FFFFFF;
-        text-decoration: none;
-}
-
-.alblink a {
-        text-decoration: underline;
-        color: #000000;
-}
-
-.alblink a:hover {
-        color: #000000;
-        text-decoration: underline;
-}
-
-.catlink {
-        display: block;
-        margin-bottom: 2px;
-}
-
-.catlink a {
-        text-decoration: underline;
-        color: #000000;
-}
-
-.catlink a:hover {
-        color: #000000;
-        text-decoration: underline;
-}
-
-.topmenu {
-        font-family: Arial, Helvetica, sans-serif;
-        font-size: 10px;
-        color: #000000;
-        margin-top: 0px;
-        margin-bottom: 0px;
-        width:120px;
-        white-space:nowrap;
-}
-
-.topmenu a {
-    display: block;
-    padding-left: 2px;
-    padding-right: 2px;
-    padding-bottom: 2px;
-    padding-top: 2px;
-    border-left-width: 0px;
-    background: #6BBE10;
-    background-image : url(images/button_bg.gif);
-    background-position: center;
-    border-bottom-width: 0px;
-    margin: 0px 0px 2px;
-    color: #625b55;
-    text-align: center;
-    text-decoration: none;
-    border: 1px solid #E7F38C;
-    color: #000000
-    }
-
-.topmenu a:hover {
-    color: #000000;
-    text-decoration: none;
-    background: #FFFF00;
-    background-image : none;
-}
-
-
-
-
-
-.img_caption_table {
-        border: none;
-        background-color: #FFFFFF;
-        width : 100%;
-        margin : 0px;
-}
-
-.img_caption_table th {
-        background: #6BBE10 ;
-        font-size : 12px;
-        color : #FFFFFF;
-        padding-top: 4px;
-        padding-right: 10px;
-        padding-bottom: 4px;
-        padding-left: 10px;
-        border-top : 1px solid #FFFFFF;
-}
-
-.img_caption_table td {
-        background: #FFA600 ;
-        padding-top: 6px;
-        padding-right: 10px;
-        padding-bottom: 6px;
-        padding-left: 10px;
-        border-top : 1px solid #FFFFFF;
-}
-
-.debug_text {
-        border: #BDBEBD;
-        background-color: #EFEFEF;
-        width : 100%;
-        margin : 0px;
-}
-
-.clickable_option {
-        color: #1B2D04;
-        font-weight: bold;
-}
-
-.listbox_lang {
-        color: #000000;
-        background-color: #E7F38C;
-        border: 1px solid #6BBE10;
-        font-size: 80%;
-        font-family: Arial, Helvetica, sans-serif;
-        vertical-align : middle;
-        margin-top: 5px;
-}
-
-#SELECT_LISTS {
-        text-align:center;
-}
-
-#vanity {
-        margin-top: 10px;
-}
-
-#vanity a {
-        display:block;
-        width:57px;
-        height:20px;
-        margin: 3px 20px;
-}
-#vanity img {border:0}
-#v_php {float:left;background-image:url(../../images/powered-php.gif);}
-#v_php:hover {background-image:url(../../images/h_powered-php.gif);}
-#v_mysql {float:left;background-image:url(../../images/powered-mysql.gif);}
-#v_mysql:hover  {background-image:url(../../images/h_powered-mysql.gif);}
-#v_xhtml {float:right;background-image:url(../../images/valid-xhtml10.gif);}
-#v_xhtml:hover {background-image:url(../../images/h_valid-xhtml10.gif);}
-#v_css {float:right;background-image:url(../../images/valid-css.gif);}
-#v_css:hover{background-image:url(../../images/h_valid-css.gif);}
-
-/* Colors used:                                */
-/* --------------------------------------------*/
-/* #FFFFFF = RBG 255,255,255 = (white)         */
-/* #000000 = RBG   0,  0,  0 = (black)         */
-/* #FFA600 = RGB 255,166,  0 = (orange)        */
-/* #6BBE10 = RGB 107,190, 16 = (green)         */
-/* #FFFF00 = RGB 255,255,  0 = (yellow)        */
-/* #D1D7DC = RGB 209,215,220 = (light grey)    */
-/* #F7F37B = RGB 247,243,123 = (light yellow)  */
-/* #5F5F5F = RGB  95, 95, 95 = (dark grey)     */
-/* #E7F38C = RGB 239,243,140 = (light green)   */
-/* if you don't like a color, just do a search */
+/*************************
+  Coppermine Photo Gallery
+  ************************
+  Copyright (c) 2003-2009 Coppermine Dev Team
+  v1.1 originally written by Gregory DEMAR
+
+  This program is free software; you can redistribute it and/or modify
+  it under the terms of the GNU General Public License version 3
+  as published by the Free Software Foundation.
+  
+  ********************************************
+  Coppermine version: 1.4.25
+  $HeadURL: https://coppermine.svn.sourceforge.net/svnroot/coppermine/trunk/cpg1.4.x/themes/fruity/style.css $
+  $Revision: 5997 $
+  $Author: gaugau $
+  $Date: 2009-05-26 08:43:24 +0200 (Di, 26 Mai 2009) $
+**********************************************/
+
+/* Colors used:                                */
+/* --------------------------------------------*/
+/* #FFFFFF = RBG 255,255,255 = (white)         */
+/* #000000 = RBG   0,  0,  0 = (black)         */
+/* #FFA600 = RGB 255,166,  0 = (orange)        */
+/* #6BBE10 = RGB 107,190, 16 = (green)         */
+/* #1B2D04 = RGB  27, 45,  4 = (dark green)    */
+/* #FFFF00 = RGB 255,255,  0 = (yellow)        */
+/* #D1D7DC = RGB 209,215,220 = (light grey)    */
+/* #F7F37B = RGB 247,243,123 = (light yellow)  */
+/* #5F5F5F = RGB  95, 95, 95 = (dark grey)     */
+/* #E7F38C = RGB 239,243,140 = (light green)   */
+/* if you don't like a color, just do a search */
+/* and replace on the hex color...             */
+
+body {
+background-color:#FFFFFF;
+margin-top:0px;
+margin-left:0px;
+margin-right:0px;
+padding:0px;
+font-family:Verdana,Arial,sans-serif;
+color:#000000;
+font-size:16px;
+}
+
+
+h1{
+        font-weight: bold;
+        font-size: 22px;
+        font-family: Verdana, Arial, Helvetica, sans-serif;
+        text-decoration: none;
+        line-height : 120%;
+        color : #000000;
+        margin: 2px;
+}
+
+h2 {
+        font-family: Arial, Helvetica, sans-serif;
+        font-size: 18px;
+        margin: 0px;
+}
+
+h3 {
+        font-weight: normal;
+        font-family: Verdana, Arial, Helvetica, sans-serif;
+        font-size: 12px;
+        margin: 2px;
+}
+
+td {
+        font-size: 12px;
+}
+
+p {
+        font-family: Arial, Helvetica, sans-serif;
+        font-size: 12px;
+        margin: 2px 0px;
+}
+
+ul {
+        margin-left: 5px;
+        padding: 0px;
+}
+
+li {
+        margin-left: 10px;
+        margin-top: 4px;
+        margin-bottom: 4px;
+        padding: 0px;
+        list-style-position: outside;
+        list-style-type: disc;
+}
+
+.textinput {
+        font-family: Verdana, Arial, Helvetica, sans-serif;
+        font-size: 12px;
+        border: 1px solid #D1D7DC;
+        padding-right: 3px;
+        padding-left: 3px;
+}
+
+.listbox {
+        font-family: Verdana, Arial, Arial, Helvetica, sans-serif;
+        font-size: 12px;
+        border: 1px solid #D1D7DC;
+        vertical-align : middle;
+}
+
+.button {
+        font-family: Arial, Helvetica, sans-serif;
+        font-size: 12px;
+        border: 1px solid #005D8C;
+        background-image : url(images/button_bg.gif);
+        background-position : bottom;
+}
+
+.comment_button {
+        font-family: Arial, Helvetica, sans-serif;
+        font-size: 10px;
+        border: 1px solid #005D8C;
+        background-image : url(images/button_bg.gif);
+        background-position : bottom;
+        padding-left: 3px;
+        padding-right: 3px;
+}
+
+.radio {
+        font-family: Verdana, Arial, Helvetica, sans-serif;
+        font-size: 12px;
+        vertical-align : middle;
+}
+
+.checkbox {
+        font-family: Verdana, Arial, Helvetica, sans-serif;
+        font-size: 12px;
+        vertical-align : middle;
+}
+
+a {
+        color: #FFA600;
+        text-decoration: none;
+}
+
+a:hover {
+        color: #FFFFFF;
+        text-decoration: none;
+        background-color: #6BBE10;
+}
+
+.bblink a {
+        color: #FFA600;
+        text-decoration: none;
+}
+
+.bblink a:hover {
+        color: #FFFFFF;
+        text-decoration: none;
+        background-color: #6BBE10;
+}
+
+a:hover.nobg {
+        text-decoration: none;
+        background-color: #F7F37B;
+}
+
+
+a:hover.yebg {
+        text-decoration: none;
+        background-color: #FFFF00;
+}
+
+.maintable {
+        border: 1px solid #6BBE10;
+        background-color: #FFFFFF;
+        margin-top: 1px;
+        margin-bottom: 1px;
+}
+
+.tableh1 {
+        background : #FFA600 ;
+        color : #FFFFFF;
+        padding-top: 3px;
+        padding-right: 10px;
+        padding-bottom: 3px;
+        padding-left: 10px;
+}
+
+.tableh1_compact {
+        background : #6BBE10 ;
+        color : #FFFFFF;
+        padding-top: 2px;
+        padding-right: 5px;
+        padding-bottom: 2px;
+        padding-left: 5px;
+}
+
+.tableh2 {
+        background: #F7F37B ;
+        color : #000000;
+        padding-top: 3px;
+        padding-right: 10px;
+        padding-bottom: 3px;
+        padding-left: 10px;
+}
+
+.tableh2_compact {
+        background: #FFFF00 ;
+        color : #000000;
+        padding-top: 2px;
+        padding-right: 5px;
+        padding-bottom: 2px;
+        padding-left: 5px;
+}
+
+.tableb {
+        background: #F7F37B ;
+        padding-top: 3px;
+        padding-right: 10px;
+        padding-bottom: 3px;
+        padding-left: 10px;
+}
+
+.tableb_compact {
+        background: #F7F37B ;
+        padding-top: 2px;
+        padding-right: 5px;
+        padding-bottom: 2px;
+        padding-left: 5px;
+}
+
+.tablef {
+        background: #6BBE10;
+        padding-top: 10px;
+        padding-right: 10px;
+        padding-bottom: 10px;
+        padding-left: 10px;
+}
+
+.catrow {
+        background: #F7F37B ;
+        padding-top: 3px;
+        padding-right: 10px;
+        padding-bottom: 3px;
+        padding-left: 10px;
+}
+
+.catrow_noalb {
+        background: #F7F37B ;
+        color : #000000;
+        padding-top: 3px;
+        padding-right: 10px;
+        padding-bottom: 3px;
+        padding-left: 10px;
+}
+
+.album_stat {
+        font-size : 10px;
+        margin: 5px 0px;
+}
+
+.thumb_filename {
+        font-size: 80%;
+        display: block;
+}
+
+.thumb_title {
+        font-weight : bold;
+        font-size: 9px;
+        padding: 2px;
+        display : block;
+}
+
+.thumb_caption {
+        font-size: 9px;
+        padding: 1px;
+        display : block;
+}
+
+.thumb_num_comments {
+        font-weight: normal;
+        font-size: 9px;
+        padding: 2px;
+        font-style : italic;
+        display : block;
+}
+
+.user_thumb_infobox {
+        margin-top: 1px;
+        margin-bottom: 1px;
+}
+
+.user_thumb_infobox th {
+        font-weight : bold;
+        font-size: 12px;
+        margin-top: 1px;
+        margin-bottom: 1px;
+        text-align : center;
+}
+
+.user_thumb_infobox td {
+        font-size: 10px;
+        margin-top: 1px;
+        margin-bottom: 1px;
+        text-align : center;
+}
+
+.user_thumb_infobox a {
+        text-decoration: none;
+        color: #000000;
+}
+
+.user_thumb_infobox a:hover {
+        color: #000000;
+        text-decoration: underline;
+}
+
+.sortorder_cell {
+        background : #6BBE10 ;
+        color : #FFFFFF;
+        padding: 0px;
+        margin: 0px;
+}
+
+.sortorder_options {
+        font-family: Verdana, Arial, Helvetica, sans-serif;
+        background : #6BBE10 ;
+        color : #FFFFFF;
+        padding: 0px;
+        margin: 0px;
+        font-weight: normal;
+        font-size: 9px;
+        white-space: nowrap;
+}
+
+.navmenu {
+        font-family: Verdana, Arial, Helvetica, sans-serif;
+        color: #FFFFFF;
+        font-size: 12px;
+        font-weight: bold;
+        background : #6BBE10 ;
+        border-style: none;
+}
+
+.navmenu img {
+        margin-top: 1px;
+        margin-right: 5px;
+        margin-bottom: 1px;
+        margin-left: 5px;
+}
+
+.navmenu a {
+        display: block;
+        padding-top: 2px;
+        padding-right: 5px;
+        padding-bottom: 2px;
+        padding-left: 5px;
+        text-decoration: none;
+        color: #FFFFFF;
+}
+
+.navmenu a:hover {
+        background : #FFA600 ;
+        text-decoration: none;
+        color:         #000000;
+}
+
+.admin_menu_thumb {
+        font-family: Arial, Helvetica, sans-serif;
+        font-size: 10px;
+        border: 1px solid #005D8C;
+        background-image : url(images/button_bg.gif);
+        background-position : bottom;
+        color: #000000;
+        font-weight: bold;
+        margin-top: 0px;
+        margin-bottom: 0px;
+        width: 85px;
+}
+
+.admin_menu_thumb a {
+        color: #000000;
+        text-decoration: none;
+        display: block;
+        position: relative;
+        padding-top: 1px;
+        padding-bottom: 1px;
+        padding-left: 10px;
+        padding-right: 10px;
+}
+
+
+.admin_menu_thumb a:hover {
+        color: #000000;
+        text-decoration: underline;
+}
+
+.admin_menu {
+        font-family: Arial, Helvetica, sans-serif;
+        font-size: 10px;
+        border: 1px solid #FFA600;
+        background-image : url(images/button_bg.gif);
+        background-position : bottom;
+        color: #000000;
+        margin-top: 0px;
+        margin-bottom: 0px;
+        text-align: center;
+}
+
+.admin_menu a {
+        color: #000000;
+        text-decoration: none;
+        display: block;
+        position: relative;
+        padding-top: 1px;
+        padding-bottom: 1px;
+        padding-left: 2px;
+        padding-right: 2px;
+}
+
+.admin_menu a:hover {
+        color: #000000;
+        text-decoration: none;
+        background: #FFA600;
+}
+
+td #admin_menu_anim {
+        background-image : url(images/button_bg_anim.gif);
+}
+
+.comment_date{
+        color : #5F5F5F;
+        font-size : 10px;
+        vertical-align : middle;
+}
+
+.image {
+        border-style: solid;
+        border-width:1px;
+        border-color: #000000;
+        margin: 2px;
+}
+
+.imageborder {
+        border: 1px solid #000000;
+        background-color: #FFFFFF;
+        margin-top: 30px;
+        margin-bottom: 30px;
+}
+
+.display_media {
+        background: #F7F37B ;
+        padding-top: 3px;
+        padding-right: 10px;
+        padding-bottom: 3px;
+        padding-left: 10px;
+}
+
+.thumbnails {
+        background: #E7F38C ;
+        padding: 5px;
+}
+
+.footer {
+        font-size : 9px;
+}
+
+.footer a {
+        text-decoration: none;
+        color: #000000;
+}
+
+.footer a:hover {
+        color: #000000;
+        text-decoration: underline;
+}
+
+.statlink {
+        color: #FFFFFF;
+        text-decoration: none;
+}
+
+.statlink a {
+        text-decoration: none;
+        color: #FFFFFF;
+}
+
+.statlink a:hover {
+        color: #FFFFFF;
+        text-decoration: none;
+}
+
+.alblink a {
+        text-decoration: underline;
+        color: #000000;
+}
+
+.alblink a:hover {
+        color: #000000;
+        text-decoration: underline;
+}
+
+.catlink {
+        display: block;
+        margin-bottom: 2px;
+}
+
+.catlink a {
+        text-decoration: underline;
+        color: #000000;
+}
+
+.catlink a:hover {
+        color: #000000;
+        text-decoration: underline;
+}
+
+.topmenu {
+        font-family: Arial, Helvetica, sans-serif;
+        font-size: 10px;
+        color: #000000;
+        margin-top: 0px;
+        margin-bottom: 0px;
+        width:120px;
+        white-space:nowrap;
+}
+
+.topmenu a {
+    display: block;
+    padding-left: 2px;
+    padding-right: 2px;
+    padding-bottom: 2px;
+    padding-top: 2px;
+    border-left-width: 0px;
+    background: #6BBE10;
+    background-image : url(images/button_bg.gif);
+    background-position: center;
+    border-bottom-width: 0px;
+    margin: 0px 0px 2px;
+    color: #625b55;
+    text-align: center;
+    text-decoration: none;
+    border: 1px solid #E7F38C;
+    color: #000000
+    }
+
+.topmenu a:hover {
+    color: #000000;
+    text-decoration: none;
+    background: #FFFF00;
+    background-image : none;
+}
+
+
+
+
+
+.img_caption_table {
+        border: none;
+        background-color: #FFFFFF;
+        width : 100%;
+        margin : 0px;
+}
+
+.img_caption_table th {
+        background: #6BBE10 ;
+        font-size : 12px;
+        color : #FFFFFF;
+        padding-top: 4px;
+        padding-right: 10px;
+        padding-bottom: 4px;
+        padding-left: 10px;
+        border-top : 1px solid #FFFFFF;
+}
+
+.img_caption_table td {
+        background: #FFA600 ;
+        padding-top: 6px;
+        padding-right: 10px;
+        padding-bottom: 6px;
+        padding-left: 10px;
+        border-top : 1px solid #FFFFFF;
+}
+
+.debug_text {
+        border: #BDBEBD;
+        background-color: #EFEFEF;
+        width : 100%;
+        margin : 0px;
+}
+
+.clickable_option {
+        color: #1B2D04;
+        font-weight: bold;
+}
+
+.listbox_lang {
+        color: #000000;
+        background-color: #E7F38C;
+        border: 1px solid #6BBE10;
+        font-size: 80%;
+        font-family: Arial, Helvetica, sans-serif;
+        vertical-align : middle;
+        margin-top: 5px;
+}
+
+#SELECT_LISTS {
+        text-align:center;
+}
+
+#vanity {
+        margin-top: 10px;
+}
+
+#vanity a {
+        display:block;
+        width:57px;
+        height:20px;
+        margin: 3px 20px;
+}
+#vanity img {border:0}
+#v_php {float:left;background-image:url(../../images/powered-php.gif);}
+#v_php:hover {background-image:url(../../images/h_powered-php.gif);}
+#v_mysql {float:left;background-image:url(../../images/powered-mysql.gif);}
+#v_mysql:hover  {background-image:url(../../images/h_powered-mysql.gif);}
+#v_xhtml {float:right;background-image:url(../../images/valid-xhtml10.gif);}
+#v_xhtml:hover {background-image:url(../../images/h_valid-xhtml10.gif);}
+#v_css {float:right;background-image:url(../../images/valid-css.gif);}
+#v_css:hover{background-image:url(../../images/h_valid-css.gif);}
+
+/* Colors used:                                */
+/* --------------------------------------------*/
+/* #FFFFFF = RBG 255,255,255 = (white)         */
+/* #000000 = RBG   0,  0,  0 = (black)         */
+/* #FFA600 = RGB 255,166,  0 = (orange)        */
+/* #6BBE10 = RGB 107,190, 16 = (green)         */
+/* #FFFF00 = RGB 255,255,  0 = (yellow)        */
+/* #D1D7DC = RGB 209,215,220 = (light grey)    */
+/* #F7F37B = RGB 247,243,123 = (light yellow)  */
+/* #5F5F5F = RGB  95, 95, 95 = (dark grey)     */
+/* #E7F38C = RGB 239,243,140 = (light green)   */
+/* if you don't like a color, just do a search */
 /* and replace on the hex color...             */
\ No newline at end of file
diff -x .svn -aruN 1.4.24.src/themes/fruity/template.html 1.4.25.src/themes/fruity/template.html
--- 1.4.24.src/themes/fruity/template.html	2009-05-21 15:03:09.000000000 -0500
+++ 1.4.25.src/themes/fruity/template.html	2009-05-26 11:25:46.000000000 -0500
@@ -1,120 +1,120 @@
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en" dir="{LANG_DIR}">
-<head>
-<meta http-equiv="Content-Type" content="text/html; charset={CHARSET}" />
-<meta http-equiv="Pragma" content="no-cache" />
-<title>{TITLE}</title>
-{META}
-<link rel="stylesheet" href="themes/fruity/style.css" type="text/css" />
-<script type="text/javascript" src="scripts.js"></script>
-<!--
-  SVN version info:
-  Coppermine version: 1.4.24
-  $Revision: 5969 $
-  $LastChangedBy: gaugau $
-  $Date: 2009-05-21 22:03:33 +0200 (Do, 21 Mai 2009) $
--->
-</head>
-<body bgcolor="#FFFFFF" text="#000000">
-  {CUSTOM_HEADER}
-  <table border="0" cellspacing="0" cellpadding="0" width="100%">
-    <tr>
-      <td style="background-color:#FFFF00" id="m11">&nbsp;</td>
-      <td style="background-color:#FFFF00" id="m12">&nbsp;</td>
-      <td id="m13">
-        <table border="0" cellspacing="0" cellpadding="0" width="100%">
-          <tr>
-            <td style="background-image:url(themes/fruity/images/middle_top2.gif);background-repeat:no-repeat;background-color:#FFA600" width="168">
-              <img src="themes/fruity/images/blind.gif" width="168" height="81" border="0" alt="" />
-            </td>
-            <td style="background-color:#FFA600" align="left" valign="middle">
-              <h1>{GAL_NAME}</h1>
-              <h3>{GAL_DESCRIPTION}</h3>
-            </td>
-          </tr>
-        </table>
-      </td>
-    </tr>
-    <tr>
-      <td style="background-color:#FFFF00" id="m21">&nbsp;</td>
-      <td id="m22" style="background-image:url(themes/fruity/images/yellow_corner.gif);background-repeat:no-repeat" width="25">
-        <img src="themes/fruity/images/blind.gif" width="25" height="45" border="0" alt="" />
-      </td>
-      <td id="m23"  style="background-image:url(themes/fruity/images/grey_vertical.gif);background-repeat:repeat-x" align="center" valign="middle">
-        <br />
-        {ADMIN_MENU}
-      </td>
-    </tr>
-    <tr>
-      <td id="m31" valign="top" style="background-color:#6BBE10">
-        <table border="0" cellspacing="0" cellpadding="0" width="100%">
-          <tr>
-            <td >
-              <table border="0" cellspacing="0" cellpadding="0" width="100%">
-                <tr>
-                  <td style="background-color:#6BBE10;background-image:url(themes/fruity/images/main_under_left.gif);background-repeat:no-repeat" width="24">
-                  </td>
-                  <td style="background-color:#6BBE10;background-image:url(themes/fruity/images/main_under_middle.gif);background-repeat:repeat-x">
-                    <img src="themes/fruity/images/blind.gif" width="1" height="22" border="0" alt="" />&nbsp;
-                  </td>
-                  <td style="background-color:#6BBE10;background-image:url(themes/fruity/images/main_under_right.gif);background-repeat:no-repeat" width="98">
-                  </td>
-                </tr>
-              </table>
-            </td>
-          </tr>
-          <tr>
-            <td style="background-color:#6BBE10" align="center" valign="top">
-              {SYS_MENU}<br />{SUB_MENU}
-            </td>
-          </tr>
-        </table>
-      </td>
-      <td id="m32" style="background-image:url(themes/fruity/images/grey_horizontal.gif);background-repeat:repeat-y" >
-      </td>
-      <td id="m33" valign="top">
-        {GALLERY}
-        <div id="SELECT_LISTS">
-          {THEME_SELECT_LIST}&nbsp;
-          {LANGUAGE_SELECT_LIST}
-        </div>
-      </td>
-    </tr>
-    <tr>
-      <td id="m41">
-        <table border="0" cellspacing="0" cellpadding="0" width="100%">
-          <tr>
-            <td style="background-color:#6BBE10">&nbsp;</td>
-            <td style="background-image:url(themes/fruity/images/lb_left.gif);background-repeat:no-repeat" width="126">
-              <img src="themes/fruity/images/blind.gif" width="1" height="55" border="0" alt="" />&nbsp;</td>
-          </tr>
-        </table>
-      </td>
-      <td id="m42" style="background-image:url(themes/fruity/images/lb_right.gif);background-repeat:no-repeat">
-      </td>
-      <td id="m43">
-      </td>
-    </tr>
-    <tr>
-      <td id="m51">
-        <table border="0" cellspacing="0" cellpadding="0" width="100%">
-          <tr>
-            <td style="background-image:url(themes/fruity/images/left_bottom_left.gif);background-repeat:repeat-x">&nbsp;
-            </td>
-            <td style="background-image:url(themes/fruity/images/lb_bottom.gif);background-repeat:no-repeat" width="126">
-              <img src="themes/fruity/images/blind.gif" width="1" height="6" border="0" alt="" />&nbsp;</td>
-          </tr>
-        </table>
-      </td>
-      <td id="m52">
-      </td>
-      <td id="m53">
-      </td>
-    </tr>
-  </table>
-  <br />
-  <div align="center">{LANGUAGE_SELECT_FLAGS}</div>
-  {CUSTOM_FOOTER}
-  {VANITY}
-</body>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en" dir="{LANG_DIR}">
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset={CHARSET}" />
+<meta http-equiv="Pragma" content="no-cache" />
+<title>{TITLE}</title>
+{META}
+<link rel="stylesheet" href="themes/fruity/style.css" type="text/css" />
+<script type="text/javascript" src="scripts.js"></script>
+<!--
+  SVN version info:
+  Coppermine version: 1.4.25
+  $Revision: 5997 $
+  $LastChangedBy: gaugau $
+  $Date: 2009-05-26 08:43:24 +0200 (Di, 26 Mai 2009) $
+-->
+</head>
+<body bgcolor="#FFFFFF" text="#000000">
+  {CUSTOM_HEADER}
+  <table border="0" cellspacing="0" cellpadding="0" width="100%">
+    <tr>
+      <td style="background-color:#FFFF00" id="m11">&nbsp;</td>
+      <td style="background-color:#FFFF00" id="m12">&nbsp;</td>
+      <td id="m13">
+        <table border="0" cellspacing="0" cellpadding="0" width="100%">
+          <tr>
+            <td style="background-image:url(themes/fruity/images/middle_top2.gif);background-repeat:no-repeat;background-color:#FFA600" width="168">
+              <img src="themes/fruity/images/blind.gif" width="168" height="81" border="0" alt="" />
+            </td>
+            <td style="background-color:#FFA600" align="left" valign="middle">
+              <h1>{GAL_NAME}</h1>
+              <h3>{GAL_DESCRIPTION}</h3>
+            </td>
+          </tr>
+        </table>
+      </td>
+    </tr>
+    <tr>
+      <td style="background-color:#FFFF00" id="m21">&nbsp;</td>
+      <td id="m22" style="background-image:url(themes/fruity/images/yellow_corner.gif);background-repeat:no-repeat" width="25">
+        <img src="themes/fruity/images/blind.gif" width="25" height="45" border="0" alt="" />
+      </td>
+      <td id="m23"  style="background-image:url(themes/fruity/images/grey_vertical.gif);background-repeat:repeat-x" align="center" valign="middle">
+        <br />
+        {ADMIN_MENU}
+      </td>
+    </tr>
+    <tr>
+      <td id="m31" valign="top" style="background-color:#6BBE10">
+        <table border="0" cellspacing="0" cellpadding="0" width="100%">
+          <tr>
+            <td >
+              <table border="0" cellspacing="0" cellpadding="0" width="100%">
+                <tr>
+                  <td style="background-color:#6BBE10;background-image:url(themes/fruity/images/main_under_left.gif);background-repeat:no-repeat" width="24">
+                  </td>
+                  <td style="background-color:#6BBE10;background-image:url(themes/fruity/images/main_under_middle.gif);background-repeat:repeat-x">
+                    <img src="themes/fruity/images/blind.gif" width="1" height="22" border="0" alt="" />&nbsp;
+                  </td>
+                  <td style="background-color:#6BBE10;background-image:url(themes/fruity/images/main_under_right.gif);background-repeat:no-repeat" width="98">
+                  </td>
+                </tr>
+              </table>
+            </td>
+          </tr>
+          <tr>
+            <td style="background-color:#6BBE10" align="center" valign="top">
+              {SYS_MENU}<br />{SUB_MENU}
+            </td>
+          </tr>
+        </table>
+      </td>
+      <td id="m32" style="background-image:url(themes/fruity/images/grey_horizontal.gif);background-repeat:repeat-y" >
+      </td>
+      <td id="m33" valign="top">
+        {GALLERY}
+        <div id="SELECT_LISTS">
+          {THEME_SELECT_LIST}&nbsp;
+          {LANGUAGE_SELECT_LIST}
+        </div>
+      </td>
+    </tr>
+    <tr>
+      <td id="m41">
+        <table border="0" cellspacing="0" cellpadding="0" width="100%">
+          <tr>
+            <td style="background-color:#6BBE10">&nbsp;</td>
+            <td style="background-image:url(themes/fruity/images/lb_left.gif);background-repeat:no-repeat" width="126">
+              <img src="themes/fruity/images/blind.gif" width="1" height="55" border="0" alt="" />&nbsp;</td>
+          </tr>
+        </table>
+      </td>
+      <td id="m42" style="background-image:url(themes/fruity/images/lb_right.gif);background-repeat:no-repeat">
+      </td>
+      <td id="m43">
+      </td>
+    </tr>
+    <tr>
+      <td id="m51">
+        <table border="0" cellspacing="0" cellpadding="0" width="100%">
+          <tr>
+            <td style="background-image:url(themes/fruity/images/left_bottom_left.gif);background-repeat:repeat-x">&nbsp;
+            </td>
+            <td style="background-image:url(themes/fruity/images/lb_bottom.gif);background-repeat:no-repeat" width="126">
+              <img src="themes/fruity/images/blind.gif" width="1" height="6" border="0" alt="" />&nbsp;</td>
+          </tr>
+        </table>
+      </td>
+      <td id="m52">
+      </td>
+      <td id="m53">
+      </td>
+    </tr>
+  </table>
+  <br />
+  <div align="center">{LANGUAGE_SELECT_FLAGS}</div>
+  {CUSTOM_FOOTER}
+  {VANITY}
+</body>
 </html>
\ No newline at end of file
diff -x .svn -aruN 1.4.24.src/themes/fruity/theme.php 1.4.25.src/themes/fruity/theme.php
--- 1.4.24.src/themes/fruity/theme.php	2009-05-21 15:03:09.000000000 -0500
+++ 1.4.25.src/themes/fruity/theme.php	2009-05-26 11:25:46.000000000 -0500
@@ -1,43 +1,43 @@
-<?php
-/*************************
-  Coppermine Photo Gallery
-  ************************
-  Copyright (c) 2003-2009 Coppermine Dev Team
-  v1.1 originally written by Gregory DEMAR
-
-  This program is free software; you can redistribute it and/or modify
-  it under the terms of the GNU General Public License version 3
-  as published by the Free Software Foundation.
-  
-  ********************************************
-  Coppermine version: 1.4.24
-  $HeadURL: https://coppermine.svn.sourceforge.net/svnroot/coppermine/trunk/cpg1.4.x/themes/fruity/theme.php $
-  $Revision: 5969 $
-  $Author: gaugau $
-  $Date: 2009-05-21 22:03:33 +0200 (Do, 21 Mai 2009) $
-**********************************************/
-
-// ------------------------------------------------------------------------- //
-// The theme "Fruity" has been done by GauGau (http://gaugau.de/) based on   //
-// the framed template of studicasa.nl (their website has gone down, so I    //
-// guess no one will care). The usage of this theme is free for personal     //
-// use, not for commercial use (according to the disclaimer of studiocasa)!  //
-// ------------------------------------------------------------------------- //
-
-define('THEME_HAS_RATING_GRAPHICS', 1);
-define('THEME_HAS_NAVBAR_GRAPHICS', 1);
-define('THEME_IS_XHTML10_TRANSITIONAL',1);  // Remove this if you edit this template until
-                                            // you have validated it. See docs/theme.htm.
-
-// HTML template for main menu
-$template_sys_menu = <<<EOT
-                <div class="topmenu">
-                     {BUTTONS}
-                </div>
-EOT;
-
-// HTML template for template sys_menu spacer
-$template_sys_menu_spacer ='';
-
-
-?>
+<?php
+/*************************
+  Coppermine Photo Gallery
+  ************************
+  Copyright (c) 2003-2009 Coppermine Dev Team
+  v1.1 originally written by Gregory DEMAR
+
+  This program is free software; you can redistribute it and/or modify
+  it under the terms of the GNU General Public License version 3
+  as published by the Free Software Foundation.
+  
+  ********************************************
+  Coppermine version: 1.4.25
+  $HeadURL: https://coppermine.svn.sourceforge.net/svnroot/coppermine/trunk/cpg1.4.x/themes/fruity/theme.php $
+  $Revision: 5997 $
+  $Author: gaugau $
+  $Date: 2009-05-26 08:43:24 +0200 (Di, 26 Mai 2009) $
+**********************************************/
+
+// ------------------------------------------------------------------------- //
+// The theme "Fruity" has been done by GauGau (http://gaugau.de/) based on   //
+// the framed template of studicasa.nl (their website has gone down, so I    //
+// guess no one will care). The usage of this theme is free for personal     //
+// use, not for commercial use (according to the disclaimer of studiocasa)!  //
+// ------------------------------------------------------------------------- //
+
+define('THEME_HAS_RATING_GRAPHICS', 1);
+define('THEME_HAS_NAVBAR_GRAPHICS', 1);
+define('THEME_IS_XHTML10_TRANSITIONAL',1);  // Remove this if you edit this template until
+                                            // you have validated it. See docs/theme.htm.
+
+// HTML template for main menu
+$template_sys_menu = <<<EOT
+                <div class="topmenu">
+                     {BUTTONS}
+                </div>
+EOT;
+
+// HTML template for template sys_menu spacer
+$template_sys_menu_spacer ='';
+
+
+?>
diff -x .svn -aruN 1.4.24.src/themes/hardwired/style.css 1.4.25.src/themes/hardwired/style.css
--- 1.4.24.src/themes/hardwired/style.css	2009-05-21 15:03:09.000000000 -0500
+++ 1.4.25.src/themes/hardwired/style.css	2009-05-26 11:25:46.000000000 -0500
@@ -1,660 +1,660 @@
-/*************************
-  Coppermine Photo Gallery
-  ************************
-  Copyright (c) 2003-2009 Coppermine Dev Team
-  v1.1 originally written by Gregory DEMAR
-
-  This program is free software; you can redistribute it and/or modify
-  it under the terms of the GNU General Public License version 3
-  as published by the Free Software Foundation.
-  
-  ********************************************
-  Coppermine version: 1.4.24
-  $HeadURL: https://coppermine.svn.sourceforge.net/svnroot/coppermine/trunk/cpg1.4.x/themes/hardwired/style.css $
-  $Revision: 5969 $
-  $Author: gaugau $
-  $Date: 2009-05-21 22:03:33 +0200 (Do, 21 Mai 2009) $
-**********************************************/
-
-/* Colors used in this style sheet:
-Hex 000000 = RBG   0,   0,   0 = black
-Hex 005D8C = RBG   0,  93, 140 = dark blue
-Hex 333333 = RBG  51,  51,  51 = black
-Hex 394048 = RBG  57,  64,  72 = black
-Hex 394049 = RBG  57,  64,  73 = black
-Hex 404750 = RBG  64,  71,  80 = dark grey
-Hex 414852 = RBG  65,  72,  82 = dark grey
-Hex 444444 = RBG  68,  68,  68 = dark grey
-Hex 474F5A = RBG  71,  79,  90 = dark grey
-Hex 49525D = RBG  73,   82, 93 = dark grey
-Hex 4F5864 = RBG  79,  88, 100 = dark grey
-Hex 4F5964 = RBG  79,  89, 100 = dark grey
-Hex 515B67 = RBG  81,  91, 103 = dark grey
-Hex 555555 = RBG  85,  85,  85 = medium grey
-Hex 56606D = RBG  86,  96, 109 = medium grey
-Hex 5B5B5B = RBG  91,  91,  91 = medium grey
-Hex 5D6674 = RBG  93, 102, 116 = medium grey
-Hex 5D6876 = RBG  93, 104, 118 = medium grey
-Hex 616C7A = RBG  97, 108, 122 = medium grey
-Hex 616D7B = RBG  97, 108, 123 = medium grey
-Hex 6A7786 = RBG 106, 119, 134 = medium grey
-Hex 777777 = RBG 119, 119, 119 = medium grey
-Hex 8090A3 = RBG 128, 144, 163 = steel grey
-Hex 949494 = RBG 148, 148, 148 = medium grey
-Hex AEAEAE = RBG 174, 174, 174 = light grey
-Hex BDBEBD = RBG 189, 190, 189 = light grey
-Hex C7C7C7 = RBG 199, 199, 199 = light grey
-Hex CCCCCC = RBG 204, 204, 204 = light grey
-Hex DFDFDF = RBG 223, 223, 223 = light grey
-Hex EAEAEA = RBG 234, 234, 234 = dark white
-Hex EFEFEF = RBG 239, 239, 239 = dark white
-Hex F2F8FF = RBG 242, 248, 255 = dark white
-Hex FFFFFF = RBG 255, 255, 255 = white
-*/
-
-body {
-        font-family : Verdana, Arial, Helvetica, sans-serif;
-        font-size: 10px;
-        color : #AEAEAE;
-        margin: 0px;
-        background-color:#000000;
-        background-image:url(images/hardwired.gif);
-        background-repeat:repeat;
-        }
-
-table {
-        font-size: 10px;
-}
-
-h1{
-        font-size: 11px;
-        font-family: "Verdana", Verdana, Arial, Helvetica, sans-serif;
-        text-decoration: none;
-        color : #AEAEAE;
-        margin: 2px;
-        font-style : normal;
-}
-
-h2 {
-
-        font-family: Verdana, Helvetica, sans-serif;
-        background-image : url(images/box_left_icon.gif);
-        background-repeat : no-repeat;
-        background-position : left;
-        padding-left : 18px;
-        font-size: 10px;
-        margin: 0px;
-        color : #FFFFFF;
-}
-
-h3 {
-        font-weight: normal;
-        font-family: Verdana, Arial, Helvetica, sans-serif;
-        font-size: 12px;
-        margin: 2px;
-}
-
-p {
-        font-family: Verdana, Helvetica, sans-serif;
-        font-size: 100%;
-        margin: 2px 0px;
-}
-
-ul {
-        margin-left: 5px;
-        padding: 0px;
-}
-
-li {
-        margin-left: 10px;
-        margin-top: 4px;
-        margin-bottom: 4px;
-        padding: 0px;
-        list-style-position: outside;
-        list-style-type: disc;
-}
-
-.textinput {
-        font-family: Verdana, Arial, Helvetica, sans-serif;
-        font-size: 100%;
-        border: 1px solid #5D6876;
-        padding-right: 3px;
-        padding-left: 3px;
-        background-color : #414852;
-        color:#cccccc;
-}
-
-.listbox {
-        font-family: Verdana, Arial, Arial, Helvetica, sans-serif;
-        background-color : #414852;
-        font-size: 100%;
-        border: 1px solid #5D6876;
-        vertical-align : middle;
-        color:#cccccc;
-}
-
-.button {
-        font-family: Verdana, Helvetica, sans-serif;
-        font-size: 100%;
-        border: 1px solid #404750;
-        background-color : #5D6674;
-        color:#cccccc;
-}
-
-.comment_button {
-        font-family: Arial, Helvetica, sans-serif;
-        font-size: 100%;
-        border: 1px solid #404750;
-        background-color : #5D6674;
-        color:#cccccc;
-        padding-left: 3px;
-        padding-right: 3px;
-}
-
-.radio {
-        font-family: Verdana, Arial, Helvetica, sans-serif;
-        font-size: 100%;
-        vertical-align : middle;
-}
-
-.checkbox {
-        font-family: Verdana, Arial, Helvetica, sans-serif;
-        font-size: 100%;
-        vertical-align : middle;
-}
-
-a {
-        color: #8090A3;
-        text-decoration: none;
-}
-
-a:hover {
-        color: #8090A3;
-        text-decoration: underline;
-}
-
-.bblink a {
-        color: #8090A3;
-        text-decoration: none;
-}
-
-.bblink a:hover {
-        color: #0033CC;
-        text-decoration: underline;
-}
-
-.maintable {
-        border: 1px solid #394049;
-        background-color: #4F5864;
-        margin-top: 1px;
-        margin-bottom: 1px;
-}
-
-.tableh1 {
-        background : #4F5964 ;
-        color : #FFFFFF;
-        padding-top: 3px;
-        padding-right: 10px;
-        padding-bottom: 3px;
-        padding-left: 10px;
-}
-
-.tableh1_compact {
-        background : #515B67 ;
-        color : #CCCCCC;
-        padding-top: 2px;
-        padding-right: 5px;
-        padding-bottom: 2px;
-        padding-left: 5px;
-}
-
-.tableh2 {
-        background: #616C7A ;
-        color : #C7C7C7;
-        padding-top: 3px;
-        padding-right: 10px;
-        padding-bottom: 3px;
-        padding-left: 10px;
-}
-
-.tableh2_compact {
-        background: #616D7B ;
-        color : #CCCCCC;
-        padding-top: 2px;
-        padding-right: 5px;
-        padding-bottom: 2px;
-        padding-left: 5px;
-}
-
-.tableb {
-        background: #56606D ;
-        padding-top: 3px;
-        padding-right: 10px;
-        padding-bottom: 3px;
-        padding-left: 10px;
-}
-
-.tableb_compact {
-        background: #474F5A;
-        padding-top: 2px;
-        padding-right: 5px;
-        padding-bottom: 2px;
-        padding-left: 5px;
-}
-
-.tablef {
-        background: #5D6976;
-        padding-top: 10px;
-        padding-right: 10px;
-        padding-bottom: 10px;
-        padding-left: 10px;
-}
-
-.catrow_noalb {
-        background: #616C7A ;
-        color : #C7C7C7;
-        padding-top: 3px;
-        padding-right: 10px;
-        padding-bottom: 3px;
-        padding-left: 10px;
-}
-
-.catrow {
-        background: #56606D ;
-        padding-top: 3px;
-        padding-right: 10px;
-        padding-bottom: 3px;
-        padding-left: 10px;
-}
-
-.album_stat {
-        font-size : 85%;
-        margin: 5px 0px;
-}
-
-.thumb_filename {
-        font-size: 100%;
-        display: block;
-}
-
-.thumb_title {
-        font-weight : bold;
-        font-size: 100%;
-        padding: 2px;
-        display : block;
-}
-
-.thumb_caption {
-        font-size: 85%;
-        padding: 1px;
-        display : block;
-}
-
-.thumb_caption a {
-        text-decoration: underline;
-        color: #AEAEAE;
-}
-
-.thumb_num_comments {
-        font-weight: normal;
-        font-size: 85%;
-        padding: 2px;
-        font-style : normal;
-        display : block;
-}
-
-.user_thumb_infobox {
-        margin-top: 1px;
-        margin-bottom: 1px;
-}
-
-.user_thumb_infobox th {
-        font-weight : bold;
-        font-size: 100%;
-        margin-top: 1px;
-        margin-bottom: 1px;
-        text-align : center;
-}
-
-.user_thumb_infobox td {
-        font-size: 90%;
-        margin-top: 1px;
-        margin-bottom: 1px;
-        text-align : center;
-}
-
-.user_thumb_infobox a {
-        text-decoration: none;
-        color: #AEAEAE;
-}
-
-.user_thumb_infobox a:hover {
-        color: #CCCCCC;
-        text-decoration: underline;
-}
-
-.sortorder_cell {
-        background : #49525D ;
-        color : #CCCCCC;
-        padding: 2px;
-        margin: 0px;
-}
-
-.sortorder_options {
-        font-family: Verdana, Arial, Helvetica, sans-serif;
-        background : #49525D ;
-        color : #CCCCCC;
-        padding: 0px;
-        margin: 0px;
-        font-weight: normal;
-        font-size: 85%;
-        white-space: nowrap;
-}
-
-.navmenu {
-        font-family: Verdana, Arial, Helvetica, sans-serif;
-        color: #CCCCCC;
-        font-size: 100%;
-        font-weight: bold;
-        background : #49525D ;
-        border-style: none;
-}
-
-.navmenu img {
-        margin-top: 1px;
-        margin-right: 5px;
-        margin-bottom: 1px;
-        margin-left: 5px;
-}
-
-.navmenu a {
-        position: relative;
-        display: block;
-        padding-top: 2px;
-        padding-right: 5px;
-        padding-bottom: 2px;
-        padding-left: 5px;
-        text-decoration: none;
-        color: #AEAEAE;
-}
-
-.navmenu a:hover {
-        background : #49525D ;
-        text-decoration: none;
-        color:         #FFFFFF;
-}
-
-.admin_menu_thumb {
-        font-family: Verdana, Helvetica, sans-serif;
-        font-size: 85%;
-        border: 1px solid #005D8C;
-        background-color : #5D6674;
-        color:#cccccc;
-        font-weight: bold;
-        margin-top: 0px;
-        margin-bottom: 0px;
-        width: 85px;
-}
-
-.admin_menu_thumb a {
-        color: #CCCCCC;
-        text-decoration: none;
-        display: block;
-        position: relative;
-        padding-top: 1px;
-        padding-bottom: 1px;
-        padding-left: 10px;
-        padding-right: 10px;
-}
-
-
-.admin_menu_thumb a:hover {
-        color: #CCCCCC;
-        text-decoration: underline;
-}
-
-.admin_menu {
-        font-family: Verdana, Helvetica, sans-serif;
-        font-size: 85%;
-        border: 1px solid #404750;
-        background-color : #5D6674;
-        color:#CCCCCC;
-        margin-top: 0px;
-        margin-bottom: 0px;
-        text-align: center;
-}
-
-.admin_menu a {
-        color: #AEAEAE;
-        text-decoration: none;
-        display: block;
-        position: relative;
-        padding-top: 1px;
-        padding-bottom: 1px;
-        padding-left: 2px;
-        padding-right: 2px;
-}
-
-.admin_menu a:hover {
-        color: #CCCCCC;
-        text-decoration: underline;
-}
-
-td #admin_menu_anim {
-        background-image : url(images/button_bg_anim.gif);
-}
-
-.comment_date{
-        color : #949494;
-        font-size : 90%;
-        vertical-align : middle;
-}
-
-.image {
-        border-style: solid;
-        border-width:2px;
-        border-color: #394048;
-        margin: 2px;
-}
-
-.imageborder {
-        border: 1px solid #000000;
-        background-color: #5B5B5B;
-        margin-top: 30px;
-        margin-bottom: 30px;
-}
-
-.display_media {
-        background: #56606D ;
-        padding-top: 3px;
-        padding-right: 10px;
-        padding-bottom: 3px;
-        padding-left: 10px;
-}
-
-.thumbnails {
-        background: #49525D ;
-        padding: 5px;
-}
-
-.footer {
-        font-size: 9px;
-        color: #000000;
-}
-
-.footer a {
-        text-decoration: none;
-        color: #949494;
-}
-
-.footer a:hover {
-        color: #000000;
-        text-decoration: none;
-}
-
-.statlink {
-        color: #6A7786;
-}
-
-.statlink a {
-        text-decoration: none;
-        color: #AEAEAE;
-}
-
-.statlink a:hover {
-        color: #CCCCCC;
-        text-decoration: underline;
-}
-
-.alblink a {
-        text-decoration: underline;
-        color: #EAEAEA;
-}
-
-.alblink a:hover {
-        color: #F2F8FF;
-        text-decoration: underline;
-}
-
-.catlink {
-        display: block;
-        margin-bottom: 2px;
-}
-
-.catlink a {
-        text-decoration: none;
-        color: #EAEAEA;
-}
-
-.catlink a:hover {
-        color: #F2F8FF;
-        text-decoration: underline;
-}
-
-.topmenu {
-        font-size : 100%;
-        margin-top:5px;
-        margin-right:5px;
-}
-
-.topmenu a {
-        color : #DFDFDF;
-        text-decoration : none;
-}
-
-.topmenu a:hover  {
-        color : #FFFFFF;
-        text-decoration : none;
-}
-
-.topmenu td  {
-        white-space: nowrap;
-        font-weight : bold;
-}
-
-
-.img_caption_table {
-        border: none;
-        background-color: #49525D;
-        width : 100%;
-        margin : 0px;
-}
-
-.img_caption_table th {
-        background: #49525D ;
-        font-size : 100%;
-        color : #cccccc;
-        padding-top: 4px;
-        padding-right: 10px;
-        padding-bottom: 4px;
-        padding-left: 10px;
-        border-top : 1px solid #394049;
-}
-
-.img_caption_table td {
-        background: #49525D ;
-        padding-top: 6px;
-        padding-right: 10px;
-        padding-bottom: 6px;
-        padding-left: 10px;
-        border-top : 1px solid #394049;
-        white-space: normal;
-}
-
-.gallery
-{
-    background-color: #49525D;
-}
-
-.gal_name
-{
-        color:#4C5157;
-        white-space:nowrap;
-        font-size:20px;
-}
-
-.gal_description
-{
-        color:#4C5157;
-        white-space:nowrap;
-        font-size:10px;
-}
-
-.debug_text {
-        border: #BDBEBD;
-        background-color: #EFEFEF;
-        width : 100%;
-        margin : 0px;
-}
-
-.clickable_option {
-        border-bottom : 1px dotted #444444;
-        cursor : default;
-}
-
-.listbox_lang {
-        color: #BDBEBD;
-        background-color: #4F5864;
-        border: 1px solid #4F5864;
-        font-size: 90%;
-        font-family: Arial, Helvetica, sans-serif;
-        vertical-align : middle;
-}
-
-#vanity a {
-        display:block;
-        width:57px;
-        height:20px;
-        margin: 3px 20px;
-}
-#vanity img {border:0}
-#v_php {float:left;background-image:url(../../images/powered-php.gif);}
-#v_php:hover {background-image:url(../../images/h_powered-php.gif);}
-#v_mysql {float:left;background-image:url(../../images/powered-mysql.gif);}
-#v_mysql:hover  {background-image:url(../../images/h_powered-mysql.gif);}
-#v_xhtml {float:right;background-image:url(../../images/valid-xhtml10.gif);}
-#v_xhtml:hover {background-image:url(../../images/h_valid-xhtml10.gif);}
-#v_css {float:right;background-image:url(../../images/valid-css.gif);}
-#v_css:hover{background-image:url(../../images/h_valid-css.gif);}
-
-.bottom-left {background-image:url(images/bottom-left.gif);}
-.bottom-middle {background-image:url(images/bottom-middle.gif);}
-.bottom-right {background-image:url(images/bottom-right.gif);}
-.far-left {background-image:url(images/far-left.gif);}
-.far-right {background-image:url(images/far-right.gif);}
-.hardwired {background-image:url(images/hardwired.gif);}
-.left-banner {
-    background-image:url(images/left-banner.gif);
-    height:46px;
-    background-repeat:no-repeat;
-    text-align:right;
-    padding-right:16px;
-    padding-top:16px;
-}
-.middle-left {background-image:url(images/middle-left.gif);}
-.middle-right {background-image:url(images/middle-right.gif);}
-.right-banner {
-    background-image:url(images/right-banner.gif);
-}
-.top-left {background-image:url(images/top-left.gif);}
-.top-right {background-image:url(images/top-right.gif);}
+/*************************
+  Coppermine Photo Gallery
+  ************************
+  Copyright (c) 2003-2009 Coppermine Dev Team
+  v1.1 originally written by Gregory DEMAR
+
+  This program is free software; you can redistribute it and/or modify
+  it under the terms of the GNU General Public License version 3
+  as published by the Free Software Foundation.
+  
+  ********************************************
+  Coppermine version: 1.4.25
+  $HeadURL: https://coppermine.svn.sourceforge.net/svnroot/coppermine/trunk/cpg1.4.x/themes/hardwired/style.css $
+  $Revision: 5997 $
+  $Author: gaugau $
+  $Date: 2009-05-26 08:43:24 +0200 (Di, 26 Mai 2009) $
+**********************************************/
+
+/* Colors used in this style sheet:
+Hex 000000 = RBG   0,   0,   0 = black
+Hex 005D8C = RBG   0,  93, 140 = dark blue
+Hex 333333 = RBG  51,  51,  51 = black
+Hex 394048 = RBG  57,  64,  72 = black
+Hex 394049 = RBG  57,  64,  73 = black
+Hex 404750 = RBG  64,  71,  80 = dark grey
+Hex 414852 = RBG  65,  72,  82 = dark grey
+Hex 444444 = RBG  68,  68,  68 = dark grey
+Hex 474F5A = RBG  71,  79,  90 = dark grey
+Hex 49525D = RBG  73,   82, 93 = dark grey
+Hex 4F5864 = RBG  79,  88, 100 = dark grey
+Hex 4F5964 = RBG  79,  89, 100 = dark grey
+Hex 515B67 = RBG  81,  91, 103 = dark grey
+Hex 555555 = RBG  85,  85,  85 = medium grey
+Hex 56606D = RBG  86,  96, 109 = medium grey
+Hex 5B5B5B = RBG  91,  91,  91 = medium grey
+Hex 5D6674 = RBG  93, 102, 116 = medium grey
+Hex 5D6876 = RBG  93, 104, 118 = medium grey
+Hex 616C7A = RBG  97, 108, 122 = medium grey
+Hex 616D7B = RBG  97, 108, 123 = medium grey
+Hex 6A7786 = RBG 106, 119, 134 = medium grey
+Hex 777777 = RBG 119, 119, 119 = medium grey
+Hex 8090A3 = RBG 128, 144, 163 = steel grey
+Hex 949494 = RBG 148, 148, 148 = medium grey
+Hex AEAEAE = RBG 174, 174, 174 = light grey
+Hex BDBEBD = RBG 189, 190, 189 = light grey
+Hex C7C7C7 = RBG 199, 199, 199 = light grey
+Hex CCCCCC = RBG 204, 204, 204 = light grey
+Hex DFDFDF = RBG 223, 223, 223 = light grey
+Hex EAEAEA = RBG 234, 234, 234 = dark white
+Hex EFEFEF = RBG 239, 239, 239 = dark white
+Hex F2F8FF = RBG 242, 248, 255 = dark white
+Hex FFFFFF = RBG 255, 255, 255 = white
+*/
+
+body {
+        font-family : Verdana, Arial, Helvetica, sans-serif;
+        font-size: 10px;
+        color : #AEAEAE;
+        margin: 0px;
+        background-color:#000000;
+        background-image:url(images/hardwired.gif);
+        background-repeat:repeat;
+        }
+
+table {
+        font-size: 10px;
+}
+
+h1{
+        font-size: 11px;
+        font-family: "Verdana", Verdana, Arial, Helvetica, sans-serif;
+        text-decoration: none;
+        color : #AEAEAE;
+        margin: 2px;
+        font-style : normal;
+}
+
+h2 {
+
+        font-family: Verdana, Helvetica, sans-serif;
+        background-image : url(images/box_left_icon.gif);
+        background-repeat : no-repeat;
+        background-position : left;
+        padding-left : 18px;
+        font-size: 10px;
+        margin: 0px;
+        color : #FFFFFF;
+}
+
+h3 {
+        font-weight: normal;
+        font-family: Verdana, Arial, Helvetica, sans-serif;
+        font-size: 12px;
+        margin: 2px;
+}
+
+p {
+        font-family: Verdana, Helvetica, sans-serif;
+        font-size: 100%;
+        margin: 2px 0px;
+}
+
+ul {
+        margin-left: 5px;
+        padding: 0px;
+}
+
+li {
+        margin-left: 10px;
+        margin-top: 4px;
+        margin-bottom: 4px;
+        padding: 0px;
+        list-style-position: outside;
+        list-style-type: disc;
+}
+
+.textinput {
+        font-family: Verdana, Arial, Helvetica, sans-serif;
+        font-size: 100%;
+        border: 1px solid #5D6876;
+        padding-right: 3px;
+        padding-left: 3px;
+        background-color : #414852;
+        color:#cccccc;
+}
+
+.listbox {
+        font-family: Verdana, Arial, Arial, Helvetica, sans-serif;
+        background-color : #414852;
+        font-size: 100%;
+        border: 1px solid #5D6876;
+        vertical-align : middle;
+        color:#cccccc;
+}
+
+.button {
+        font-family: Verdana, Helvetica, sans-serif;
+        font-size: 100%;
+        border: 1px solid #404750;
+        background-color : #5D6674;
+        color:#cccccc;
+}
+
+.comment_button {
+        font-family: Arial, Helvetica, sans-serif;
+        font-size: 100%;
+        border: 1px solid #404750;
+        background-color : #5D6674;
+        color:#cccccc;
+        padding-left: 3px;
+        padding-right: 3px;
+}
+
+.radio {
+        font-family: Verdana, Arial, Helvetica, sans-serif;
+        font-size: 100%;
+        vertical-align : middle;
+}
+
+.checkbox {
+        font-family: Verdana, Arial, Helvetica, sans-serif;
+        font-size: 100%;
+        vertical-align : middle;
+}
+
+a {
+        color: #8090A3;
+        text-decoration: none;
+}
+
+a:hover {
+        color: #8090A3;
+        text-decoration: underline;
+}
+
+.bblink a {
+        color: #8090A3;
+        text-decoration: none;
+}
+
+.bblink a:hover {
+        color: #0033CC;
+        text-decoration: underline;
+}
+
+.maintable {
+        border: 1px solid #394049;
+        background-color: #4F5864;
+        margin-top: 1px;
+        margin-bottom: 1px;
+}
+
+.tableh1 {
+        background : #4F5964 ;
+        color : #FFFFFF;
+        padding-top: 3px;
+        padding-right: 10px;
+        padding-bottom: 3px;
+        padding-left: 10px;
+}
+
+.tableh1_compact {
+        background : #515B67 ;
+        color : #CCCCCC;
+        padding-top: 2px;
+        padding-right: 5px;
+        padding-bottom: 2px;
+        padding-left: 5px;
+}
+
+.tableh2 {
+        background: #616C7A ;
+        color : #C7C7C7;
+        padding-top: 3px;
+        padding-right: 10px;
+        padding-bottom: 3px;
+        padding-left: 10px;
+}
+
+.tableh2_compact {
+        background: #616D7B ;
+        color : #CCCCCC;
+        padding-top: 2px;
+        padding-right: 5px;
+        padding-bottom: 2px;
+        padding-left: 5px;
+}
+
+.tableb {
+        background: #56606D ;
+        padding-top: 3px;
+        padding-right: 10px;
+        padding-bottom: 3px;
+        padding-left: 10px;
+}
+
+.tableb_compact {
+        background: #474F5A;
+        padding-top: 2px;
+        padding-right: 5px;
+        padding-bottom: 2px;
+        padding-left: 5px;
+}
+
+.tablef {
+        background: #5D6976;
+        padding-top: 10px;
+        padding-right: 10px;
+        padding-bottom: 10px;
+        padding-left: 10px;
+}
+
+.catrow_noalb {
+        background: #616C7A ;
+        color : #C7C7C7;
+        padding-top: 3px;
+        padding-right: 10px;
+        padding-bottom: 3px;
+        padding-left: 10px;
+}
+
+.catrow {
+        background: #56606D ;
+        padding-top: 3px;
+        padding-right: 10px;
+        padding-bottom: 3px;
+        padding-left: 10px;
+}
+
+.album_stat {
+        font-size : 85%;
+        margin: 5px 0px;
+}
+
+.thumb_filename {
+        font-size: 100%;
+        display: block;
+}
+
+.thumb_title {
+        font-weight : bold;
+        font-size: 100%;
+        padding: 2px;
+        display : block;
+}
+
+.thumb_caption {
+        font-size: 85%;
+        padding: 1px;
+        display : block;
+}
+
+.thumb_caption a {
+        text-decoration: underline;
+        color: #AEAEAE;
+}
+
+.thumb_num_comments {
+        font-weight: normal;
+        font-size: 85%;
+        padding: 2px;
+        font-style : normal;
+        display : block;
+}
+
+.user_thumb_infobox {
+        margin-top: 1px;
+        margin-bottom: 1px;
+}
+
+.user_thumb_infobox th {
+        font-weight : bold;
+        font-size: 100%;
+        margin-top: 1px;
+        margin-bottom: 1px;
+        text-align : center;
+}
+
+.user_thumb_infobox td {
+        font-size: 90%;
+        margin-top: 1px;
+        margin-bottom: 1px;
+        text-align : center;
+}
+
+.user_thumb_infobox a {
+        text-decoration: none;
+        color: #AEAEAE;
+}
+
+.user_thumb_infobox a:hover {
+        color: #CCCCCC;
+        text-decoration: underline;
+}
+
+.sortorder_cell {
+        background : #49525D ;
+        color : #CCCCCC;
+        padding: 2px;
+        margin: 0px;
+}
+
+.sortorder_options {
+        font-family: Verdana, Arial, Helvetica, sans-serif;
+        background : #49525D ;
+        color : #CCCCCC;
+        padding: 0px;
+        margin: 0px;
+        font-weight: normal;
+        font-size: 85%;
+        white-space: nowrap;
+}
+
+.navmenu {
+        font-family: Verdana, Arial, Helvetica, sans-serif;
+        color: #CCCCCC;
+        font-size: 100%;
+        font-weight: bold;
+        background : #49525D ;
+        border-style: none;
+}
+
+.navmenu img {
+        margin-top: 1px;
+        margin-right: 5px;
+        margin-bottom: 1px;
+        margin-left: 5px;
+}
+
+.navmenu a {
+        position: relative;
+        display: block;
+        padding-top: 2px;
+        padding-right: 5px;
+        padding-bottom: 2px;
+        padding-left: 5px;
+        text-decoration: none;
+        color: #AEAEAE;
+}
+
+.navmenu a:hover {
+        background : #49525D ;
+        text-decoration: none;
+        color:         #FFFFFF;
+}
+
+.admin_menu_thumb {
+        font-family: Verdana, Helvetica, sans-serif;
+        font-size: 85%;
+        border: 1px solid #005D8C;
+        background-color : #5D6674;
+        color:#cccccc;
+        font-weight: bold;
+        margin-top: 0px;
+        margin-bottom: 0px;
+        width: 85px;
+}
+
+.admin_menu_thumb a {
+        color: #CCCCCC;
+        text-decoration: none;
+        display: block;
+        position: relative;
+        padding-top: 1px;
+        padding-bottom: 1px;
+        padding-left: 10px;
+        padding-right: 10px;
+}
+
+
+.admin_menu_thumb a:hover {
+        color: #CCCCCC;
+        text-decoration: underline;
+}
+
+.admin_menu {
+        font-family: Verdana, Helvetica, sans-serif;
+        font-size: 85%;
+        border: 1px solid #404750;
+        background-color : #5D6674;
+        color:#CCCCCC;
+        margin-top: 0px;
+        margin-bottom: 0px;
+        text-align: center;
+}
+
+.admin_menu a {
+        color: #AEAEAE;
+        text-decoration: none;
+        display: block;
+        position: relative;
+        padding-top: 1px;
+        padding-bottom: 1px;
+        padding-left: 2px;
+        padding-right: 2px;
+}
+
+.admin_menu a:hover {
+        color: #CCCCCC;
+        text-decoration: underline;
+}
+
+td #admin_menu_anim {
+        background-image : url(images/button_bg_anim.gif);
+}
+
+.comment_date{
+        color : #949494;
+        font-size : 90%;
+        vertical-align : middle;
+}
+
+.image {
+        border-style: solid;
+        border-width:2px;
+        border-color: #394048;
+        margin: 2px;
+}
+
+.imageborder {
+        border: 1px solid #000000;
+        background-color: #5B5B5B;
+        margin-top: 30px;
+        margin-bottom: 30px;
+}
+
+.display_media {
+        background: #56606D ;
+        padding-top: 3px;
+        padding-right: 10px;
+        padding-bottom: 3px;
+        padding-left: 10px;
+}
+
+.thumbnails {
+        background: #49525D ;
+        padding: 5px;
+}
+
+.footer {
+        font-size: 9px;
+        color: #000000;
+}
+
+.footer a {
+        text-decoration: none;
+        color: #949494;
+}
+
+.footer a:hover {
+        color: #000000;
+        text-decoration: none;
+}
+
+.statlink {
+        color: #6A7786;
+}
+
+.statlink a {
+        text-decoration: none;
+        color: #AEAEAE;
+}
+
+.statlink a:hover {
+        color: #CCCCCC;
+        text-decoration: underline;
+}
+
+.alblink a {
+        text-decoration: underline;
+        color: #EAEAEA;
+}
+
+.alblink a:hover {
+        color: #F2F8FF;
+        text-decoration: underline;
+}
+
+.catlink {
+        display: block;
+        margin-bottom: 2px;
+}
+
+.catlink a {
+        text-decoration: none;
+        color: #EAEAEA;
+}
+
+.catlink a:hover {
+        color: #F2F8FF;
+        text-decoration: underline;
+}
+
+.topmenu {
+        font-size : 100%;
+        margin-top:5px;
+        margin-right:5px;
+}
+
+.topmenu a {
+        color : #DFDFDF;
+        text-decoration : none;
+}
+
+.topmenu a:hover  {
+        color : #FFFFFF;
+        text-decoration : none;
+}
+
+.topmenu td  {
+        white-space: nowrap;
+        font-weight : bold;
+}
+
+
+.img_caption_table {
+        border: none;
+        background-color: #49525D;
+        width : 100%;
+        margin : 0px;
+}
+
+.img_caption_table th {
+        background: #49525D ;
+        font-size : 100%;
+        color : #cccccc;
+        padding-top: 4px;
+        padding-right: 10px;
+        padding-bottom: 4px;
+        padding-left: 10px;
+        border-top : 1px solid #394049;
+}
+
+.img_caption_table td {
+        background: #49525D ;
+        padding-top: 6px;
+        padding-right: 10px;
+        padding-bottom: 6px;
+        padding-left: 10px;
+        border-top : 1px solid #394049;
+        white-space: normal;
+}
+
+.gallery
+{
+    background-color: #49525D;
+}
+
+.gal_name
+{
+        color:#4C5157;
+        white-space:nowrap;
+        font-size:20px;
+}
+
+.gal_description
+{
+        color:#4C5157;
+        white-space:nowrap;
+        font-size:10px;
+}
+
+.debug_text {
+        border: #BDBEBD;
+        background-color: #EFEFEF;
+        width : 100%;
+        margin : 0px;
+}
+
+.clickable_option {
+        border-bottom : 1px dotted #444444;
+        cursor : default;
+}
+
+.listbox_lang {
+        color: #BDBEBD;
+        background-color: #4F5864;
+        border: 1px solid #4F5864;
+        font-size: 90%;
+        font-family: Arial, Helvetica, sans-serif;
+        vertical-align : middle;
+}
+
+#vanity a {
+        display:block;
+        width:57px;
+        height:20px;
+        margin: 3px 20px;
+}
+#vanity img {border:0}
+#v_php {float:left;background-image:url(../../images/powered-php.gif);}
+#v_php:hover {background-image:url(../../images/h_powered-php.gif);}
+#v_mysql {float:left;background-image:url(../../images/powered-mysql.gif);}
+#v_mysql:hover  {background-image:url(../../images/h_powered-mysql.gif);}
+#v_xhtml {float:right;background-image:url(../../images/valid-xhtml10.gif);}
+#v_xhtml:hover {background-image:url(../../images/h_valid-xhtml10.gif);}
+#v_css {float:right;background-image:url(../../images/valid-css.gif);}
+#v_css:hover{background-image:url(../../images/h_valid-css.gif);}
+
+.bottom-left {background-image:url(images/bottom-left.gif);}
+.bottom-middle {background-image:url(images/bottom-middle.gif);}
+.bottom-right {background-image:url(images/bottom-right.gif);}
+.far-left {background-image:url(images/far-left.gif);}
+.far-right {background-image:url(images/far-right.gif);}
+.hardwired {background-image:url(images/hardwired.gif);}
+.left-banner {
+    background-image:url(images/left-banner.gif);
+    height:46px;
+    background-repeat:no-repeat;
+    text-align:right;
+    padding-right:16px;
+    padding-top:16px;
+}
+.middle-left {background-image:url(images/middle-left.gif);}
+.middle-right {background-image:url(images/middle-right.gif);}
+.right-banner {
+    background-image:url(images/right-banner.gif);
+}
+.top-left {background-image:url(images/top-left.gif);}
+.top-right {background-image:url(images/top-right.gif);}
diff -x .svn -aruN 1.4.24.src/themes/hardwired/template.html 1.4.25.src/themes/hardwired/template.html
--- 1.4.24.src/themes/hardwired/template.html	2009-05-21 15:03:09.000000000 -0500
+++ 1.4.25.src/themes/hardwired/template.html	2009-05-26 11:25:46.000000000 -0500
@@ -1,56 +1,56 @@
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en" dir="{LANG_DIR}">
-<head>
-<meta http-equiv="Content-Type" content="text/html; charset={CHARSET}" />
-<meta http-equiv="Pragma" content="no-cache" />
-<title>{TITLE}</title>
-<link rel="stylesheet" type="text/css" href="themes/hardwired/style.css" />
-{META}
-<script type="text/javascript" src="scripts.js" ></script>
-<!--
-  SVN version info:
-  Coppermine version: 1.4.24
-  $Revision: 5969 $
-  $LastChangedBy: gaugau $
-  $Date: 2009-05-21 22:03:33 +0200 (Do, 21 Mai 2009) $
--->
-</head>
-<body>
-{CUSTOM_HEADER}
-<table width="100%"  border="0" cellspacing="0" cellpadding="0">
-  <tr valign="top">
-    <td width="53" rowspan="3" id="far-left"><img src="themes/hardwired/images/far-left.gif" width="54" height="14" alt="" /></td>
-    <td width="18" class="middle-left"><img src="themes/hardwired/images/middle-left.gif" width="18" height="14" alt="" /></td>
-    <td height="62" class="right-banner">
-        <div class="left-banner">
-        <div class="gal_name">{GAL_NAME}</div>
-        <div class="gal_description">{GAL_DESCRIPTION}</div>
-        </div>
-    </td>
-    <td width="19" class="middle-right"><img src="themes/hardwired/images/middle-right.gif" width="19" height="14" alt="" /></td>
-    <td width="53" rowspan="3" class="far-right"><img src="themes/hardwired/images/far-right.gif" width="53" height="14" alt="" /></td>
-  </tr>
-  <tr>
-    <td width="18" class="middle-left">&nbsp;</td>
-    <td class="gallery"><div align="right" class="topmenu"> {SYS_MENU} </div>
-      <br />
-      <div align="left" class="topmenu">{SUB_MENU}</div> <br />
-      <div align="center"> {THEME_SELECT_LIST} {LANGUAGE_SELECT_LIST} </div>
-      <br />
-      {ADMIN_MENU} {GALLERY}</td>
-    <td width="19" class="middle-right">&nbsp;</td>
-  </tr>
-  <tr valign="baseline">
-    <td width="18" class="middle-left"><img src="themes/hardwired/images/bottom-left.gif" width="18" height="31" alt="" /></td>
-    <td class="bottom-middle">&nbsp;</td>
-    <td width="19" class="middle-right"><img src="themes/hardwired/images/bottom-right.gif" width="19" height="31" alt="" /></td>
-  </tr>
-</table>
-<br />
-<div align="center"> {LANGUAGE_SELECT_FLAGS} <br />
-  <br />
-</div>
-{CUSTOM_FOOTER}
-{VANITY}
-</body>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en" dir="{LANG_DIR}">
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset={CHARSET}" />
+<meta http-equiv="Pragma" content="no-cache" />
+<title>{TITLE}</title>
+<link rel="stylesheet" type="text/css" href="themes/hardwired/style.css" />
+{META}
+<script type="text/javascript" src="scripts.js" ></script>
+<!--
+  SVN version info:
+  Coppermine version: 1.4.25
+  $Revision: 5997 $
+  $LastChangedBy: gaugau $
+  $Date: 2009-05-26 08:43:24 +0200 (Di, 26 Mai 2009) $
+-->
+</head>
+<body>
+{CUSTOM_HEADER}
+<table width="100%"  border="0" cellspacing="0" cellpadding="0">
+  <tr valign="top">
+    <td width="53" rowspan="3" id="far-left"><img src="themes/hardwired/images/far-left.gif" width="54" height="14" alt="" /></td>
+    <td width="18" class="middle-left"><img src="themes/hardwired/images/middle-left.gif" width="18" height="14" alt="" /></td>
+    <td height="62" class="right-banner">
+        <div class="left-banner">
+        <div class="gal_name">{GAL_NAME}</div>
+        <div class="gal_description">{GAL_DESCRIPTION}</div>
+        </div>
+    </td>
+    <td width="19" class="middle-right"><img src="themes/hardwired/images/middle-right.gif" width="19" height="14" alt="" /></td>
+    <td width="53" rowspan="3" class="far-right"><img src="themes/hardwired/images/far-right.gif" width="53" height="14" alt="" /></td>
+  </tr>
+  <tr>
+    <td width="18" class="middle-left">&nbsp;</td>
+    <td class="gallery"><div align="right" class="topmenu"> {SYS_MENU} </div>
+      <br />
+      <div align="left" class="topmenu">{SUB_MENU}</div> <br />
+      <div align="center"> {THEME_SELECT_LIST} {LANGUAGE_SELECT_LIST} </div>
+      <br />
+      {ADMIN_MENU} {GALLERY}</td>
+    <td width="19" class="middle-right">&nbsp;</td>
+  </tr>
+  <tr valign="baseline">
+    <td width="18" class="middle-left"><img src="themes/hardwired/images/bottom-left.gif" width="18" height="31" alt="" /></td>
+    <td class="bottom-middle">&nbsp;</td>
+    <td width="19" class="middle-right"><img src="themes/hardwired/images/bottom-right.gif" width="19" height="31" alt="" /></td>
+  </tr>
+</table>
+<br />
+<div align="center"> {LANGUAGE_SELECT_FLAGS} <br />
+  <br />
+</div>
+{CUSTOM_FOOTER}
+{VANITY}
+</body>
 </html>
\ No newline at end of file
diff -x .svn -aruN 1.4.24.src/themes/hardwired/theme.php 1.4.25.src/themes/hardwired/theme.php
--- 1.4.24.src/themes/hardwired/theme.php	2009-05-25 15:01:17.000000000 -0500
+++ 1.4.25.src/themes/hardwired/theme.php	2009-05-26 11:25:46.000000000 -0500
@@ -1,219 +1,219 @@
-<?php
-/*************************
-  Coppermine Photo Gallery
-  ************************
-  Copyright (c) 2003-2009 Coppermine Dev Team
-  v1.1 originally written by Gregory DEMAR
-
-  This program is free software; you can redistribute it and/or modify
-  it under the terms of the GNU General Public License version 3
-  as published by the Free Software Foundation.
-  
-  ********************************************
-  Coppermine version: 1.4.24
-  $HeadURL: https://coppermine.svn.sourceforge.net/svnroot/coppermine/trunk/cpg1.4.x/themes/hardwired/theme.php $
-  $Revision: 5988 $
-  $Author: gaugau $
-  $Date: 2009-05-25 22:01:41 +0200 (Mo, 25 Mai 2009) $
-**********************************************/
-
-define('THEME_HAS_RATING_GRAPHICS', 1);
-define('THEME_HAS_NAVBAR_GRAPHICS', 1);
-define('THEME_HAS_NO_SYS_MENU_BUTTONS', 1);
-define('THEME_HAS_NO_SUB_MENU_BUTTONS', 1);
-
-// HTML template for sys menu
-$template_sys_menu = <<<EOT
-
-                        <table border="0" cellpadding="0" cellspacing="0">
-                                <tr>
-<!-- BEGIN home -->
-                                        <td><img name="spacer" src="images/spacer.gif" width="5" height="25" border="0" alt="" /></td>
-                                        <td><img name="buttonleftmy" src="themes/hardwired/images/buttonleftmy.gif" width="17" height="25" border="0" alt="" /></td>
-                                        <td style="background: url(themes/hardwired/images/buttoncenter.gif);">
-                                                <a href="{HOME_TGT}" title="{HOME_TITLE}">{HOME_LNK}</a>
-                                        </td>
-                                        <td><img name="buttonright" src="themes/hardwired/images/buttonright.gif" width="7" height="25" border="0"  alt="" /></td>
-<!-- END home -->
-<!-- BEGIN my_gallery -->
-                                        <td><img name="spacer" src="images/spacer.gif" width="5" height="25" border="0" alt="" /></td>
-                                        <td><img name="buttonleftmy" src="themes/hardwired/images/buttonleftmy.gif" width="17" height="25" border="0" alt="" /></td>
-                                        <td style="background: url(themes/hardwired/images/buttoncenter.gif);">
-                                                <a href="{MY_GAL_TGT}" title="{MY_GAL_TITLE}">{MY_GAL_LNK}</a>
-                                        </td>
-                                        <td><img name="buttonright" src="themes/hardwired/images/buttonright.gif" width="7" height="25" border="0"  alt="" /></td>
-<!-- END my_gallery -->
-<!-- BEGIN allow_memberlist -->
-                                        <td><img name="spacer" src="images/spacer.gif" width="5" height="25" border="0" alt="" /></td>
-                                        <td><img name="buttonleft" src="themes/hardwired/images/buttonleftmemb.gif" width="17" height="25" border="0" alt="" /></td>
-                                        <td style="background: url(themes/hardwired/images/buttoncenter.gif);">
-                                                <a href="{MEMBERLIST_TGT}" title="{MEMBERLIST_TITLE}">{MEMBERLIST_LNK}</a>
-                                        </td>
-                                        <td><img name="buttonright" src="themes/hardwired/images/buttonright.gif" width="7" height="25" border="0"  alt="" /></td>
-<!-- END allow_memberlist -->
-<!-- BEGIN my_profile -->
-                                        <td><img name="spacer" src="images/spacer.gif" width="5" height="25" border="0" alt="" /></td>
-                                        <td><img name="buttonleft" src="themes/hardwired/images/buttonleft.gif" width="17" height="25" border="0" alt="" /></td>
-                                        <td style="background: url(themes/hardwired/images/buttoncenter.gif);">
-                                                <a href="{MY_PROF_TGT}" title="{MY_PROF_LNK}">{MY_PROF_LNK}</a>
-                                        </td>
-                                        <td><img name="buttonright" src="themes/hardwired/images/buttonright.gif" width="7" height="25" border="0"  alt="" /></td>
-<!-- END my_profile -->
-<!-- BEGIN faq -->
-                                        <td><img name="spacer" src="images/spacer.gif" width="5" height="25" border="0" alt="" /></td>
-                                        <td><img name="buttonleft" src="themes/hardwired/images/buttonleftfaq.gif" width="17" height="25" border="0" alt="" /></td>
-                                        <td style="background: url(themes/hardwired/images/buttoncenter.gif);">
-                                        <a href="{FAQ_TGT}" title="{FAQ_TITLE}">{FAQ_LNK}</a>
-                                        </td>
-                                        <td><img name="buttonright" src="themes/hardwired/images/buttonright.gif" width="7" height="25" border="0"  alt="" /></td>
-<!-- END faq -->
-<!-- BEGIN enter_admin_mode -->
-                                        <td><img name="spacer" src="images/spacer.gif" width="5" height="25" border="0" alt="" /></td>
-                                        <td><img name="buttonleftad" src="themes/hardwired/images/buttonleftad.gif" width="17" height="25" border="0" alt="" /></td>
-                                        <td style="background: url(themes/hardwired/images/buttoncenter.gif);">
-                                                <a href="{ADM_MODE_TGT}" title="{ADM_MODE_TITLE}">{ADM_MODE_LNK}</a>
-                                        </td>
-                                        <td><img name="buttonright" src="themes/hardwired/images/buttonright.gif" width="7" height="25" border="0"  alt="" /></td>
-<!-- END enter_admin_mode -->
-<!-- BEGIN leave_admin_mode -->
-                                        <td><img name="spacer" src="images/spacer.gif" width="5" height="25" border="0" alt="" /></td>
-                                        <td><img name="buttonleftad" src="themes/hardwired/images/buttonleftad.gif" width="17" height="25" border="0" alt="" /></td>
-                                        <td style="background: url(themes/hardwired/images/buttoncenter.gif);">
-                                                <a href="{USR_MODE_TGT}" title="{USR_MODE_TITLE}">{USR_MODE_LNK}</a>
-                                        </td>
-                                        <td><img name="buttonright" src="themes/hardwired/images/buttonright.gif" width="7" height="25" border="0" alt="" /></td>
-<!-- END leave_admin_mode -->
-<!-- BEGIN upload_pic -->
-                                        <td><img name="spacer" src="images/spacer.gif" width="5" height="25" border="0" alt="" /></td>
-                                        <td><img name="buttonleftup" src="themes/hardwired/images/buttonleftup.gif" width="17" height="25" border="0" alt="" /></td>
-                                       <td style="background: url(themes/hardwired/images/buttoncenter.gif);">
-                                                <a href="{UPL_PIC_TGT}" title="{UPL_PIC_TITLE}">{UPL_PIC_LNK}</a>
-                                        </td>
-                                        <td><img name="buttonright" src="themes/hardwired/images/buttonright.gif" width="7" height="25" border="0"  alt="" /></td>
-<!-- END upload_pic -->
-<!-- BEGIN register -->
-                                        <td><img name="spacer" src="images/spacer.gif" width="5" height="25" border="0" alt="" /></td>
-                                        <td><img name="buttonleft" src="themes/hardwired/images/buttonleft.gif" width="17" height="25" border="0" alt="" /></td>
-                                        <td style="background: url(themes/hardwired/images/buttoncenter.gif);">
-                                                <a href="{REGISTER_TGT}" title="{REGISTER_TITLE}">{REGISTER_LNK}</a>
-                                        </td>
-                                        <td><img name="buttonright" src="themes/hardwired/images/buttonright.gif" width="7" height="25" border="0"  alt="" /></td>
-<!-- END register -->
-<!-- BEGIN login -->
-                                        <td><img name="spacer" src="images/spacer.gif" width="5" height="25" border="0" alt="" /></td>
-                                        <td><img name="buttonleft" src="themes/hardwired/images/buttonleft.gif" width="17" height="25" border="0" alt="" /></td>
-                                       <td style="background: url(themes/hardwired/images/buttoncenter.gif);">
-                                                <a href="{LOGIN_TGT}" title="{LOGIN_LNK}">{LOGIN_LNK}</a>
-                                        </td>
-                                        <td><img name="buttonright" src="themes/hardwired/images/buttonright.gif" width="7" height="25" border="0"  alt="" /></td>
-<!-- END login -->
-<!-- BEGIN logout -->
-                                        <td><img name="spacer" src="images/spacer.gif" width="5" height="25" border="0" alt="" /></td>
-                                        <td><img name="buttonleftout" src="themes/hardwired/images/buttonleftout.gif" width="17" height="25" border="0" alt="" /></td>
-                                        <td style="background: url(themes/hardwired/images/buttoncenter.gif);">
-                                                <a href="{LOGOUT_TGT}" title="{LOGOUT_LNK}">{LOGOUT_LNK}</a>
-                                        </td>
-                                        <td><img name="buttonright" src="themes/hardwired/images/buttonright.gif" width="7" height="25" border="0" alt="" /></td>
-<!-- END logout -->
-                                </tr>
-                        </table>
-
-EOT;
-
-// HTML template for sub menu
-$template_sub_menu = <<<EOT
-
-                        <table border="0" cellpadding="0" cellspacing="0">
-                                <tr>
-<!-- BEGIN custom_link -->
-										<td><img name="spacer" src="images/spacer.gif" width="5" height="25" border="0" alt="" /></td>
-                                        <td><img name="buttonleft1" src="themes/hardwired/images/buttonleft1.gif" width="7" height="25" border="0" alt="" /></td>
-                                        <td style="background: url(themes/hardwired/images/buttoncenter.gif);">
-                                                <a href="{CUSTOM_LNK_TGT}" title="{CUSTOM_LNK_TITLE}">{CUSTOM_LNK_LNK}</a>
-                                        </td>
-                                        <td><img name="buttonright1" src="themes/hardwired/images/buttonright1.gif" width="7" height="25" border="0" alt="" /></td>
-<!-- END custom_link -->
-<!-- BEGIN album_list -->
-                                        <td><img name="spacer" src="images/spacer.gif" width="5" height="25" border="0" alt="" /></td>
-                                        <td><img name="buttonleft1" src="themes/hardwired/images/buttonleft1.gif" width="7" height="25" border="0" alt="" /></td>
-                                        <td style="background: url(themes/hardwired/images/buttoncenter.gif);">
-                                                <a href="{ALB_LIST_TGT}" title="{ALB_LIST_TITLE}">{ALB_LIST_LNK}</a>
-                                        </td>
-                                        <td><img name="buttonright1" src="themes/hardwired/images/buttonright1.gif" width="7" height="25" border="0" alt="" /></td>
-<!-- END album_list -->
-                                        <td><img name="spacer" src="images/spacer.gif" width="5" height="25" border="0" alt="" /></td>
-                                        <td><img name="buttonleft1" src="themes/hardwired/images/buttonleft1.gif" width="7" height="25" border="0" alt="" /></td>
-                                       <td style="background: url(themes/hardwired/images/buttoncenter.gif);">
-                                                <a href="{LASTUP_TGT}" title="{LASTUP_LNK}">{LASTUP_LNK}</a>
-                                        </td>
-                                        <td><img name="buttonright1" src="themes/hardwired/images/buttonright1.gif" width="7" height="25" border="0" alt="" /></td>
-                                        <td><img name="spacer" src="images/spacer.gif" width="5" height="25" border="0" alt="" /></td>
-                                        <td><img name="buttonleft1" src="themes/hardwired/images/buttonleft1.gif" width="7" height="25" border="0" alt="" /></td>
-                                       <td style="background: url(themes/hardwired/images/buttoncenter.gif);">
-                                                <a href="{LASTCOM_TGT}" title="{LASTCOM_LNK}">{LASTCOM_LNK}</a>
-                                        </td>
-                                        <td><img name="buttonright1" src="themes/hardwired/images/buttonright1.gif" width="7" height="25" border="0" alt="" /></td>
-                                        <td><img name="spacer" src="images/spacer.gif" width="5" height="25" border="0" alt="" /></td>
-                                        <td><img name="buttonleft1" src="themes/hardwired/images/buttonleft1.gif" width="7" height="25" border="0" alt="" /></td>
-                                        <td style="background: url(themes/hardwired/images/buttoncenter.gif);">
-                                                <a href="{TOPN_TGT}" title="{TOPN_LNK}">{TOPN_LNK}</a>
-                                        </td>
-                                        <td><img name="buttonright1" src="themes/hardwired/images/buttonright1.gif" width="7" height="25" border="0" alt="" /></td>
-                                        <td><img name="spacer" src="images/spacer.gif" width="5" height="25" border="0" alt="" /></td>
-                                        <td><img name="buttonleft1" src="themes/hardwired/images/buttonleft1.gif" width="7" height="25" border="0" alt="" /></td>
-                                        <td style="background: url(themes/hardwired/images/buttoncenter.gif);">
-                                                <a href="{TOPRATED_TGT}" title="{TOPRATED_LNK}">{TOPRATED_LNK}</a>
-                                        </td>
-                                        <td><img name="buttonright1" src="themes/hardwired/images/buttonright1.gif" width="7" height="25" border="0" alt="" /></td>
-                                        <td><img name="spacer" src="images/spacer.gif" width="5" height="25" border="0" alt="" /></td>
-                                        <td><img name="buttonleft1" src="themes/hardwired/images/buttonleft1.gif" width="7" height="25" border="0" alt="" /></td>
-                                        <td style="background: url(themes/hardwired/images/buttoncenter.gif);">
-                                                <a href="{FAV_TGT}" title="{FAV_LNK}">{FAV_LNK}</a>
-                                        </td>
-                                        <td><img name="buttonright1" src="themes/hardwired/images/buttonright1.gif" width="7" height="25" border="0" alt="" /></td>
-                                        <td><img name="spacer" src="images/spacer.gif" width="5" height="25" border="0" alt="" /></td>
-                                        <td><img name="buttonleft1" src="themes/hardwired/images/buttonleft1.gif" width="7" height="25" border="0" alt="" /></td>
-                                        <td style="background: url(themes/hardwired/images/buttoncenter.gif);">
-                                                <a href="{SEARCH_TGT}" title="{SEARCH_LNK}">{SEARCH_LNK}</a>
-                                        </td>
-                                        <td><img name="buttonright1" src="themes/hardwired/images/buttonright1.gif" width="7" height="25" border="0" alt="" /></td>
-                                </tr>
-                        </table>
-
-EOT;
-
-// HTML template for gallery admin menu
-$template_gallery_admin_menu = <<<EOT
-
-                <div align="center">
-                <table cellpadding="0" cellspacing="1">
-                        <tr>
-<!-- BEGIN admin_approval -->
-                                <td class="admin_menu" id="admin_menu_anim"><a href="editpics.php?mode=upload_approval" title="{UPL_APP_TITLE}">{UPL_APP_LNK}</a></td>
-<!-- END admin_approval -->
-                                <td class="admin_menu"><a href="admin.php" title="{ADMIN_TITLE}">{ADMIN_LNK}</a></td>
-                                <td class="admin_menu"><a href="catmgr.php" title="{CATEGORIES_TITLE}">{CATEGORIES_LNK}</a></td>
-                                <td class="admin_menu"><a href="albmgr.php{CATL}" title="{ALBUMS_TITLE}">{ALBUMS_LNK}</a></td>
-                                <td class="admin_menu"><a href="groupmgr.php" title="{GROUPS_TITLE}">{GROUPS_LNK}</a></td>
-                                <td class="admin_menu"><a href="usermgr.php" title="{USERS_TITLE}">{USERS_LNK}</a></td>
-                                <td class="admin_menu"><a href="banning.php" title="{BAN_TITLE}">{BAN_LNK}</a></td>
-                                <td class="admin_menu"><a href="reviewcom.php" title="{COMMENTS_TITLE}">{COMMENTS_LNK}</a></td>
-                                </tr><tr>
-<!-- BEGIN log_ecards -->
-                                <td class="admin_menu"><a href="db_ecard.php" title="{DB_ECARD_TITLE}">{DB_ECARD_LNK}</a></td>
-<!-- END log_ecards -->
-                                <td class="admin_menu"><a href="picmgr.php" title="{PICTURES_TITLE}">{PICTURES_LNK}</a></td>
-                                <td class="admin_menu"><a href="searchnew.php" title="{SEARCHNEW_TITLE}">{SEARCHNEW_LNK}</a></td>
-                                <td class="admin_menu"><a href="util.php" title="{UTIL_TITLE}">{UTIL_LNK}</a></td>
-                                <td class="admin_menu"><a href="profile.php?op=edit_profile" title="{MY_PROF_TITLE}">{MY_PROF_LNK}</a></td>
-<!-- BEGIN documentation -->
-                                <td class="admin_menu"><a href="{DOCUMENTATION_HREF}" title="{DOCUMENTATION_TITLE}">{DOCUMENTATION_LNK}</a></td>
-<!-- END documentation -->
-                        </tr>
-                </table>
-                </div>
-EOT;
-
-
-
-?>
+<?php
+/*************************
+  Coppermine Photo Gallery
+  ************************
+  Copyright (c) 2003-2009 Coppermine Dev Team
+  v1.1 originally written by Gregory DEMAR
+
+  This program is free software; you can redistribute it and/or modify
+  it under the terms of the GNU General Public License version 3
+  as published by the Free Software Foundation.
+  
+  ********************************************
+  Coppermine version: 1.4.25
+  $HeadURL: https://coppermine.svn.sourceforge.net/svnroot/coppermine/trunk/cpg1.4.x/themes/hardwired/theme.php $
+  $Revision: 5997 $
+  $Author: gaugau $
+  $Date: 2009-05-26 08:43:24 +0200 (Di, 26 Mai 2009) $
+**********************************************/
+
+define('THEME_HAS_RATING_GRAPHICS', 1);
+define('THEME_HAS_NAVBAR_GRAPHICS', 1);
+define('THEME_HAS_NO_SYS_MENU_BUTTONS', 1);
+define('THEME_HAS_NO_SUB_MENU_BUTTONS', 1);
+
+// HTML template for sys menu
+$template_sys_menu = <<<EOT
+
+                        <table border="0" cellpadding="0" cellspacing="0">
+                                <tr>
+<!-- BEGIN home -->
+                                        <td><img name="spacer" src="images/spacer.gif" width="5" height="25" border="0" alt="" /></td>
+                                        <td><img name="buttonleftmy" src="themes/hardwired/images/buttonleftmy.gif" width="17" height="25" border="0" alt="" /></td>
+                                        <td style="background: url(themes/hardwired/images/buttoncenter.gif);">
+                                                <a href="{HOME_TGT}" title="{HOME_TITLE}">{HOME_LNK}</a>
+                                        </td>
+                                        <td><img name="buttonright" src="themes/hardwired/images/buttonright.gif" width="7" height="25" border="0"  alt="" /></td>
+<!-- END home -->
+<!-- BEGIN my_gallery -->
+                                        <td><img name="spacer" src="images/spacer.gif" width="5" height="25" border="0" alt="" /></td>
+                                        <td><img name="buttonleftmy" src="themes/hardwired/images/buttonleftmy.gif" width="17" height="25" border="0" alt="" /></td>
+                                        <td style="background: url(themes/hardwired/images/buttoncenter.gif);">
+                                                <a href="{MY_GAL_TGT}" title="{MY_GAL_TITLE}">{MY_GAL_LNK}</a>
+                                        </td>
+                                        <td><img name="buttonright" src="themes/hardwired/images/buttonright.gif" width="7" height="25" border="0"  alt="" /></td>
+<!-- END my_gallery -->
+<!-- BEGIN allow_memberlist -->
+                                        <td><img name="spacer" src="images/spacer.gif" width="5" height="25" border="0" alt="" /></td>
+                                        <td><img name="buttonleft" src="themes/hardwired/images/buttonleftmemb.gif" width="17" height="25" border="0" alt="" /></td>
+                                        <td style="background: url(themes/hardwired/images/buttoncenter.gif);">
+                                                <a href="{MEMBERLIST_TGT}" title="{MEMBERLIST_TITLE}">{MEMBERLIST_LNK}</a>
+                                        </td>
+                                        <td><img name="buttonright" src="themes/hardwired/images/buttonright.gif" width="7" height="25" border="0"  alt="" /></td>
+<!-- END allow_memberlist -->
+<!-- BEGIN my_profile -->
+                                        <td><img name="spacer" src="images/spacer.gif" width="5" height="25" border="0" alt="" /></td>
+                                        <td><img name="buttonleft" src="themes/hardwired/images/buttonleft.gif" width="17" height="25" border="0" alt="" /></td>
+                                        <td style="background: url(themes/hardwired/images/buttoncenter.gif);">
+                                                <a href="{MY_PROF_TGT}" title="{MY_PROF_LNK}">{MY_PROF_LNK}</a>
+                                        </td>
+                                        <td><img name="buttonright" src="themes/hardwired/images/buttonright.gif" width="7" height="25" border="0"  alt="" /></td>
+<!-- END my_profile -->
+<!-- BEGIN faq -->
+                                        <td><img name="spacer" src="images/spacer.gif" width="5" height="25" border="0" alt="" /></td>
+                                        <td><img name="buttonleft" src="themes/hardwired/images/buttonleftfaq.gif" width="17" height="25" border="0" alt="" /></td>
+                                        <td style="background: url(themes/hardwired/images/buttoncenter.gif);">
+                                        <a href="{FAQ_TGT}" title="{FAQ_TITLE}">{FAQ_LNK}</a>
+                                        </td>
+                                        <td><img name="buttonright" src="themes/hardwired/images/buttonright.gif" width="7" height="25" border="0"  alt="" /></td>
+<!-- END faq -->
+<!-- BEGIN enter_admin_mode -->
+                                        <td><img name="spacer" src="images/spacer.gif" width="5" height="25" border="0" alt="" /></td>
+                                        <td><img name="buttonleftad" src="themes/hardwired/images/buttonleftad.gif" width="17" height="25" border="0" alt="" /></td>
+                                        <td style="background: url(themes/hardwired/images/buttoncenter.gif);">
+                                                <a href="{ADM_MODE_TGT}" title="{ADM_MODE_TITLE}">{ADM_MODE_LNK}</a>
+                                        </td>
+                                        <td><img name="buttonright" src="themes/hardwired/images/buttonright.gif" width="7" height="25" border="0"  alt="" /></td>
+<!-- END enter_admin_mode -->
+<!-- BEGIN leave_admin_mode -->
+                                        <td><img name="spacer" src="images/spacer.gif" width="5" height="25" border="0" alt="" /></td>
+                                        <td><img name="buttonleftad" src="themes/hardwired/images/buttonleftad.gif" width="17" height="25" border="0" alt="" /></td>
+                                        <td style="background: url(themes/hardwired/images/buttoncenter.gif);">
+                                                <a href="{USR_MODE_TGT}" title="{USR_MODE_TITLE}">{USR_MODE_LNK}</a>
+                                        </td>
+                                        <td><img name="buttonright" src="themes/hardwired/images/buttonright.gif" width="7" height="25" border="0" alt="" /></td>
+<!-- END leave_admin_mode -->
+<!-- BEGIN upload_pic -->
+                                        <td><img name="spacer" src="images/spacer.gif" width="5" height="25" border="0" alt="" /></td>
+                                        <td><img name="buttonleftup" src="themes/hardwired/images/buttonleftup.gif" width="17" height="25" border="0" alt="" /></td>
+                                       <td style="background: url(themes/hardwired/images/buttoncenter.gif);">
+                                                <a href="{UPL_PIC_TGT}" title="{UPL_PIC_TITLE}">{UPL_PIC_LNK}</a>
+                                        </td>
+                                        <td><img name="buttonright" src="themes/hardwired/images/buttonright.gif" width="7" height="25" border="0"  alt="" /></td>
+<!-- END upload_pic -->
+<!-- BEGIN register -->
+                                        <td><img name="spacer" src="images/spacer.gif" width="5" height="25" border="0" alt="" /></td>
+                                        <td><img name="buttonleft" src="themes/hardwired/images/buttonleft.gif" width="17" height="25" border="0" alt="" /></td>
+                                        <td style="background: url(themes/hardwired/images/buttoncenter.gif);">
+                                                <a href="{REGISTER_TGT}" title="{REGISTER_TITLE}">{REGISTER_LNK}</a>
+                                        </td>
+                                        <td><img name="buttonright" src="themes/hardwired/images/buttonright.gif" width="7" height="25" border="0"  alt="" /></td>
+<!-- END register -->
+<!-- BEGIN login -->
+                                        <td><img name="spacer" src="images/spacer.gif" width="5" height="25" border="0" alt="" /></td>
+                                        <td><img name="buttonleft" src="themes/hardwired/images/buttonleft.gif" width="17" height="25" border="0" alt="" /></td>
+                                       <td style="background: url(themes/hardwired/images/buttoncenter.gif);">
+                                                <a href="{LOGIN_TGT}" title="{LOGIN_LNK}">{LOGIN_LNK}</a>
+                                        </td>
+                                        <td><img name="buttonright" src="themes/hardwired/images/buttonright.gif" width="7" height="25" border="0"  alt="" /></td>
+<!-- END login -->
+<!-- BEGIN logout -->
+                                        <td><img name="spacer" src="images/spacer.gif" width="5" height="25" border="0" alt="" /></td>
+                                        <td><img name="buttonleftout" src="themes/hardwired/images/buttonleftout.gif" width="17" height="25" border="0" alt="" /></td>
+                                        <td style="background: url(themes/hardwired/images/buttoncenter.gif);">
+                                                <a href="{LOGOUT_TGT}" title="{LOGOUT_LNK}">{LOGOUT_LNK}</a>
+                                        </td>
+                                        <td><img name="buttonright" src="themes/hardwired/images/buttonright.gif" width="7" height="25" border="0" alt="" /></td>
+<!-- END logout -->
+                                </tr>
+                        </table>
+
+EOT;
+
+// HTML template for sub menu
+$template_sub_menu = <<<EOT
+
+                        <table border="0" cellpadding="0" cellspacing="0">
+                                <tr>
+<!-- BEGIN custom_link -->
+										<td><img name="spacer" src="images/spacer.gif" width="5" height="25" border="0" alt="" /></td>
+                                        <td><img name="buttonleft1" src="themes/hardwired/images/buttonleft1.gif" width="7" height="25" border="0" alt="" /></td>
+                                        <td style="background: url(themes/hardwired/images/buttoncenter.gif);">
+                                                <a href="{CUSTOM_LNK_TGT}" title="{CUSTOM_LNK_TITLE}">{CUSTOM_LNK_LNK}</a>
+                                        </td>
+                                        <td><img name="buttonright1" src="themes/hardwired/images/buttonright1.gif" width="7" height="25" border="0" alt="" /></td>
+<!-- END custom_link -->
+<!-- BEGIN album_list -->
+                                        <td><img name="spacer" src="images/spacer.gif" width="5" height="25" border="0" alt="" /></td>
+                                        <td><img name="buttonleft1" src="themes/hardwired/images/buttonleft1.gif" width="7" height="25" border="0" alt="" /></td>
+                                        <td style="background: url(themes/hardwired/images/buttoncenter.gif);">
+                                                <a href="{ALB_LIST_TGT}" title="{ALB_LIST_TITLE}">{ALB_LIST_LNK}</a>
+                                        </td>
+                                        <td><img name="buttonright1" src="themes/hardwired/images/buttonright1.gif" width="7" height="25" border="0" alt="" /></td>
+<!-- END album_list -->
+                                        <td><img name="spacer" src="images/spacer.gif" width="5" height="25" border="0" alt="" /></td>
+                                        <td><img name="buttonleft1" src="themes/hardwired/images/buttonleft1.gif" width="7" height="25" border="0" alt="" /></td>
+                                       <td style="background: url(themes/hardwired/images/buttoncenter.gif);">
+                                                <a href="{LASTUP_TGT}" title="{LASTUP_LNK}">{LASTUP_LNK}</a>
+                                        </td>
+                                        <td><img name="buttonright1" src="themes/hardwired/images/buttonright1.gif" width="7" height="25" border="0" alt="" /></td>
+                                        <td><img name="spacer" src="images/spacer.gif" width="5" height="25" border="0" alt="" /></td>
+                                        <td><img name="buttonleft1" src="themes/hardwired/images/buttonleft1.gif" width="7" height="25" border="0" alt="" /></td>
+                                       <td style="background: url(themes/hardwired/images/buttoncenter.gif);">
+                                                <a href="{LASTCOM_TGT}" title="{LASTCOM_LNK}">{LASTCOM_LNK}</a>
+                                        </td>
+                                        <td><img name="buttonright1" src="themes/hardwired/images/buttonright1.gif" width="7" height="25" border="0" alt="" /></td>
+                                        <td><img name="spacer" src="images/spacer.gif" width="5" height="25" border="0" alt="" /></td>
+                                        <td><img name="buttonleft1" src="themes/hardwired/images/buttonleft1.gif" width="7" height="25" border="0" alt="" /></td>
+                                        <td style="background: url(themes/hardwired/images/buttoncenter.gif);">
+                                                <a href="{TOPN_TGT}" title="{TOPN_LNK}">{TOPN_LNK}</a>
+                                        </td>
+                                        <td><img name="buttonright1" src="themes/hardwired/images/buttonright1.gif" width="7" height="25" border="0" alt="" /></td>
+                                        <td><img name="spacer" src="images/spacer.gif" width="5" height="25" border="0" alt="" /></td>
+                                        <td><img name="buttonleft1" src="themes/hardwired/images/buttonleft1.gif" width="7" height="25" border="0" alt="" /></td>
+                                        <td style="background: url(themes/hardwired/images/buttoncenter.gif);">
+                                                <a href="{TOPRATED_TGT}" title="{TOPRATED_LNK}">{TOPRATED_LNK}</a>
+                                        </td>
+                                        <td><img name="buttonright1" src="themes/hardwired/images/buttonright1.gif" width="7" height="25" border="0" alt="" /></td>
+                                        <td><img name="spacer" src="images/spacer.gif" width="5" height="25" border="0" alt="" /></td>
+                                        <td><img name="buttonleft1" src="themes/hardwired/images/buttonleft1.gif" width="7" height="25" border="0" alt="" /></td>
+                                        <td style="background: url(themes/hardwired/images/buttoncenter.gif);">
+                                                <a href="{FAV_TGT}" title="{FAV_LNK}">{FAV_LNK}</a>
+                                        </td>
+                                        <td><img name="buttonright1" src="themes/hardwired/images/buttonright1.gif" width="7" height="25" border="0" alt="" /></td>
+                                        <td><img name="spacer" src="images/spacer.gif" width="5" height="25" border="0" alt="" /></td>
+                                        <td><img name="buttonleft1" src="themes/hardwired/images/buttonleft1.gif" width="7" height="25" border="0" alt="" /></td>
+                                        <td style="background: url(themes/hardwired/images/buttoncenter.gif);">
+                                                <a href="{SEARCH_TGT}" title="{SEARCH_LNK}">{SEARCH_LNK}</a>
+                                        </td>
+                                        <td><img name="buttonright1" src="themes/hardwired/images/buttonright1.gif" width="7" height="25" border="0" alt="" /></td>
+                                </tr>
+                        </table>
+
+EOT;
+
+// HTML template for gallery admin menu
+$template_gallery_admin_menu = <<<EOT
+
+                <div align="center">
+                <table cellpadding="0" cellspacing="1">
+                        <tr>
+<!-- BEGIN admin_approval -->
+                                <td class="admin_menu" id="admin_menu_anim"><a href="editpics.php?mode=upload_approval" title="{UPL_APP_TITLE}">{UPL_APP_LNK}</a></td>
+<!-- END admin_approval -->
+                                <td class="admin_menu"><a href="admin.php" title="{ADMIN_TITLE}">{ADMIN_LNK}</a></td>
+                                <td class="admin_menu"><a href="catmgr.php" title="{CATEGORIES_TITLE}">{CATEGORIES_LNK}</a></td>
+                                <td class="admin_menu"><a href="albmgr.php{CATL}" title="{ALBUMS_TITLE}">{ALBUMS_LNK}</a></td>
+                                <td class="admin_menu"><a href="groupmgr.php" title="{GROUPS_TITLE}">{GROUPS_LNK}</a></td>
+                                <td class="admin_menu"><a href="usermgr.php" title="{USERS_TITLE}">{USERS_LNK}</a></td>
+                                <td class="admin_menu"><a href="banning.php" title="{BAN_TITLE}">{BAN_LNK}</a></td>
+                                <td class="admin_menu"><a href="reviewcom.php" title="{COMMENTS_TITLE}">{COMMENTS_LNK}</a></td>
+                                </tr><tr>
+<!-- BEGIN log_ecards -->
+                                <td class="admin_menu"><a href="db_ecard.php" title="{DB_ECARD_TITLE}">{DB_ECARD_LNK}</a></td>
+<!-- END log_ecards -->
+                                <td class="admin_menu"><a href="picmgr.php" title="{PICTURES_TITLE}">{PICTURES_LNK}</a></td>
+                                <td class="admin_menu"><a href="searchnew.php" title="{SEARCHNEW_TITLE}">{SEARCHNEW_LNK}</a></td>
+                                <td class="admin_menu"><a href="util.php" title="{UTIL_TITLE}">{UTIL_LNK}</a></td>
+                                <td class="admin_menu"><a href="profile.php?op=edit_profile" title="{MY_PROF_TITLE}">{MY_PROF_LNK}</a></td>
+<!-- BEGIN documentation -->
+                                <td class="admin_menu"><a href="{DOCUMENTATION_HREF}" title="{DOCUMENTATION_TITLE}">{DOCUMENTATION_LNK}</a></td>
+<!-- END documentation -->
+                        </tr>
+                </table>
+                </div>
+EOT;
+
+
+
+?>
diff -x .svn -aruN 1.4.24.src/themes/igames/style.css 1.4.25.src/themes/igames/style.css
--- 1.4.24.src/themes/igames/style.css	2009-05-21 15:03:09.000000000 -0500
+++ 1.4.25.src/themes/igames/style.css	2009-05-26 11:25:46.000000000 -0500
@@ -1,728 +1,728 @@
-/*************************
-  Coppermine Photo Gallery
-  ************************
-  Copyright (c) 2003-2009 Coppermine Dev Team
-  v1.1 originally written by Gregory DEMAR
-
-  This program is free software; you can redistribute it and/or modify
-  it under the terms of the GNU General Public License version 3
-  as published by the Free Software Foundation.
-  
-  ********************************************
-  Coppermine version: 1.4.24
-  $HeadURL: https://coppermine.svn.sourceforge.net/svnroot/coppermine/trunk/cpg1.4.x/themes/igames/style.css $
-  $Revision: 5969 $
-  $Author: gaugau $
-  $Date: 2009-05-21 22:03:33 +0200 (Do, 21 Mai 2009) $
-**********************************************/
-
-/* Colors used in this style sheet:
-    Hex 000000 = RBG   0,   0,   0 = black
-    Hex 222222 = RBG  34,  34,  34 = black
-    Hex 343333 = RBG  52,  51,  51 = black
-    Hex 3F3F3F = RBG  63,  63,  63 = light black
-    Hex 454444 = RBG  69,  68,  68 = light black
-    Hex 4A4A4A = RBG  74,  74,  74 = dark grey
-    Hex 5F5F5F = RBG  95,  95,  95 = dark grey
-    Hex 666666 = RBG 102, 102, 102 = dark grey
-    Hex 838383 = RBG 131, 131, 131 = medium grey
-    Hex BDBEBD = RBG 189, 190, 189 = medium grey
-    Hex BFC0C3 = RBG 191, 192, 195 = medium grey
-    Hex C6B78E = RBG 198, 183, 142 = beige
-    Hex E6E6E6 = RBG 230, 230, 230 = light grey
-    Hex EFEFEF = RBG 239, 239, 239 = light grey
-    Hex F0AF00 = RBG 240, 175,   0 = orange
-    Hex ff0000 = RBG 255,   0,   0 = red
-    Hex FFFFCC = RBG 255, 255, 204 = light yellow
-    Hex FFFFFF = RBG 255, 255, 255 = white
-*/
-
-/* Foreground color definition */
-body { color : #C6B78E; }
-.topmenu, .topmenu a { color : #E6E6E6; }
-.topmenu a:hover { color : #FFFFCC; }
-.tableh1, .tableh1a, .tableh1_compact, .navmenu, .navmenu a, .sortorder_cell, .sortorder_options, .statlink, .statlink a, .statlink a:hover { color : #C6B78E; }
-.tableh2, .tableh2_compact, .catrow_noalb { color : #FFFFCC; }
-.textinput, .listbox, .radio, .checkbox { color: #FFFFCC; }
-.alblink, .alblink a, .catlink, .catlink a { color : #FFFFCC; }
-a,  .bblink a, .user_thumb_infobox a  { color: #FFFFCC; }
-a:hover, .bblink a:hover, .user_thumb_infobox a:hover, .alblink a:hover, .catlink a:hover { color : #E6E6E6; }
-.button, .comment_button, .admin_menu_thumb, .admin_menu_thumb a, .admin_menu_thumb a:hover, .admin_menu, .admin_menu a, .admin_menu a:hover { color : #FFFFFF; }
-.comment_date { color : #5F5F5F; }
-.footer, .footer a, .footer a:hover { color : #666666; }
-
-/* Background colors definition */
-body { background-color: #4A4A4A; }
-.textinput, .listbox, .radio, .checkbox { background-color: #4A4A4A; }
-.tableh1, .tableh1_compact, .navmenu, .navmenu a, .navmenu a:hover  {         background : #3F3F3F ; }
-.tableh2, .catrow_noalb, .tableh2_compact, .tablef, .img_caption_table th {         background : #343333 ; }
-.tableb, .catrow, .display_media, .tableb_compact, .thumbnails, .img_caption_table td { background : #454444 ; }
-
-/* Borders for input controls */
-.textinput, .listbox, .button, .comment_button, .admin_menu, .admin_menu_thumb  {        border: 1px solid #666666; }
-.image { border: 1px solid #000000; }
-.imageborder { border: 1px solid #000000; background-color:#000000; margin-top: 30px; margin-bottom: 30px; }
-.image1 { border: 1px solid #ff0000; }
-
-.maintable, .maintablea, .maintableb {        background-color: #222222; }
-.img_caption_table th, .img_caption_table td { border-top : 1px solid #000000; }
-
-/* Fonts definition */
-body { font-family: "Trebuchet MS", Verdana, Geneva, Arial, sans-serif; }
-.tableh1, .tableh1a, .catlink, .tableh2, .catrow_noalb { font-family: Verdana, Geneva, Arial, sans-serif; }
-.textinput, .listbox, .radio, .checkbox { font-family: "Trebuchet MS", Verdana, Geneva, Arial, sans-serif; }
-.button, .comment_button, .sortorder_options, .admin_menu_thumb { font-family: Arial, Helvetica, sans-serif; }
-
-table {
-        font-size : 12px;
-}
-
-body {
-        font-size : 12px;
-        margin: 0px;
-        padding:0px;
-}
-
-h1{
-        font-weight: normal;
-        font-size: 28px;
-        font-family: "Trebuchet MS", Verdana, Arial, Helvetica, sans-serif;
-        text-decoration: none;
-        padding-left : 20px;
-        color: #FFFFFF;
-        margin: 2px;
-}
-
-h2 {
-        font-family: Arial, Helvetica, sans-serif;
-        background-image : url(images/box_left_icon.gif);
-        background-repeat : no-repeat;
-        background-position : left;
-        padding-left : 18px;
-        font-size: 18px;
-        margin: 0px;
-}
-
-h3 {
-        font-weight: normal;
-        font-family: "Trebuchet MS", Verdana, Geneva, Arial, sans-serif;
-        font-size: 14px;
-        padding-left : 20px;
-        color: #F0AF00;
-        margin: 2px;
-}
-
-p {
-        font-size: 100%;
-        margin: 2px 0px;
-}
-
-ul {
-        margin-left: 5px;
-        padding: 0px;
-}
-
-li {
-        margin-left: 10px;
-        margin-top: 4px;
-        margin-bottom: 4px;
-        padding: 0px;
-        list-style-position: outside;
-        list-style-type: disc;
-}
-
-.top_panel {
-                background-image: url(images/top_panel_r1_c4.jpg);
-                background-repeat : repeat-x;
-                border-collapse:collapse;
-                margin: 0;
-                padding: 0;
-}
-
-.top_panel_left {
-                background-image: url(images/top_panel_r1_c1.jpg);
-                background-repeat : no-repeat;
-                background-position: top left;
-                margin: 0;
-                padding: 0;
-}
-
-.top_panel_right {
-                background-image: url(images/top_panel_r1_c2.jpg);
-                background-repeat : no-repeat;
-                background-position: top right;
-                margin: 0;
-                padding: 0;
-}
-
-
-
-.top_panel_btm {
-
-                    background: #4A4A4A;
-                    background-image: url(images/top_panel_r2_c3.jpg);
-                    background-repeat : no-repeat;
-                    background-position:right;
-                    padding-top : 0;
-            padding-bottom : 0;
-
-}
-
-.top_menu_left_bttn {
-        white-space:nowrap;
-}
-.top_menu_left_bttn a {
-               background: #4A4A4A;
-        background-image : url(images/left_menu_button.gif);
-        background-repeat : no-repeat;
-        background-position : left;
-        padding-left : 12px;
-        padding-right : 6px;
-                   padding-top :3px;
-        padding-bottom : 0;
-        display: block;
-        height : 35px;
-        line-height : 35px;
-        text-decoration: none;
-        color: #C6B78E;
-        font-size: 14px;
-
-}
-
-.top_menu_left_bttn a:hover {
-                background: #4A4A4A;
-        background-image : url(images/left_menu_button_over.gif);
-        background-position : left;
-        background-repeat : no-repeat;
-        text-decoration: none;
-        color: #F0AF00;
-
-}
-
-.top_menu_right_bttn {
-        white-space:nowrap;
-}
-
-.top_menu_right_bttn a {
-                background: #4A4A4A;
-        background-image : url(images/right_menu_button.gif);
-        background-repeat : no-repeat;
-        background-position : right;
-        padding-right : 22px;
-        padding-left : 6px;
-            padding-top : 3px;
-        padding-bottom : 0;
-        display: block;
-        height : 35px;
-        line-height : 35px;
-        text-decoration: none;
-        color: #C6B78E;
-        font-size: 14px;
-}
-
-.top_menu_right_bttn a:hover {
-                background: #4A4A4A;
-        background-image : url(images/right_menu_button_over.gif);
-        background-position : right;
-        background-repeat : no-repeat;
-        text-decoration: none;
-        color: #F0AF00;
-}
-
-.top_menu_bttn {
-  white-space:nowrap;
-}
-.top_menu_bttn a {
-                background: #4A4A4A;
-        background-image : url(images/menu_button.gif);
-        background-position : left;
-        padding-left : 6px;
-        padding-right : 6px;
-                padding-top : 3px;
-        padding-bottom : 0;
-        display: block;
-        height : 35px;
-        line-height : 35px;
-        text-decoration: none;
-        color: #C6B78E;
-        font-size: 14px;
-}
-
-.top_menu_bttn a:hover {
-                background: #4A4A4A;
-        background-image : url(images/menu_button_over.gif);
-        text-decoration: none;
-        color:         #F0AF00;
-}
-
-.textinput {
-        font-size: 100%;
-        padding-right: 3px;
-        padding-left: 3px;
-}
-
-.listbox {
-        font-size: 100%;
-        vertical-align : middle;
-}
-
-.button {
-        font-size: 100%;
-        background-image : url(images/button_bg.gif);
-        background-position : bottom;
-}
-
-.comment_button {
-        font-size: 100%;
-        background-image : url(images/button_bg.gif);
-        background-position : bottom;
-        padding-left: 3px;
-        padding-right: 3px;
-}
-
-.radio {
-        font-size: 100%;
-        vertical-align : middle;
-}
-
-.checkbox {
-        font-size: 100%;
-        vertical-align : middle;
-}
-
-a {
-        text-decoration: none;
-}
-
-a:hover {
-        text-decoration: underline;
-}
-
-.bblink a {
-        text-decoration: none;
-}
-
-.bblink a:hover {
-        text-decoration: underline;
-}
-
-.maintable {
-        margin-top: 2px;
-        margin-bottom: 2px;
-/*        border: 1px solid #000000; */
-}
-
-.maintablea {
-        margin-top: 5px;
-}
-
-.maintableb {
-        margin-bottom: 2px;
-/*        border: 1px solid #000000; */
-}
-
-.tableh1 {
-        padding-right: 10px;
-        padding-left: 10px;
-        border-bottom: 1px solid #000000;
-        border-right: 1px solid #000000;
-        height: 25px;
-        background-image: url(images/tableh1_bg.gif);
-}
-
-.tableh1a {
-        border-bottom: 1px solid #000000;
-        color: #C6B78E;
-}
-
-.tableh1a td {
-        border: none;
-        height: 30px;
-        font-size: 120%;
-        font-weight: bold;
-        color: #C6B78E;
-        background-image: url(images/tableh1a_bg_middle.gif);
-}
-
-.tableh1a img {
-        display: block;
-}
-
-.tableh1_compact {
-        padding-top: 2px;
-        padding-right: 5px;
-        padding-bottom: 2px;
-        padding-left: 5px;
-        border-bottom: 1px solid #000000;
-        border-right: 1px solid #000000;
-        height: 25px;
-        background-image: url(images/tableh1_bg.gif);
-}
-
-.tableh2 {
-        padding-top: 3px;
-        padding-right: 10px;
-        padding-bottom: 3px;
-        padding-left: 10px;
-}
-
-.tableh2_compact {
-        padding-top: 2px;
-        padding-right: 5px;
-        padding-bottom: 2px;
-        padding-left: 5px;
-}
-
-.tableb {
-        padding-top: 3px;
-        padding-right: 10px;
-        padding-bottom: 3px;
-        padding-left: 10px;
-}
-
-.tableb_compact {
-        padding-top: 2px;
-        padding-right: 5px;
-        padding-bottom: 2px;
-        padding-left: 5px;
-}
-
-.tablef {
-        padding-top: 10px;
-        padding-right: 10px;
-        padding-bottom: 10px;
-        padding-left: 10px;
-}
-
-.catrow_noalb {
-        padding-top: 3px;
-        padding-right: 10px;
-        padding-bottom: 3px;
-        padding-left: 10px;
-}
-
-.catrow {
-        padding-top: 3px;
-        padding-right: 10px;
-        padding-bottom: 3px;
-        padding-left: 10px;
-}
-
-.album_stat {
-        font-size : 85%;
-        margin: 5px 0px;
-}
-
-.thumb_filename {
-        font-size: 100%;
-        display: block;
-}
-
-.thumb_title {
-        font-weight : bold;
-        font-size: 80%;
-        padding: 2px;
-        display : block;
-}
-
-.thumb_caption {
-        font-size: 80%;
-        padding: 1px;
-        display : block;
-}
-
-.thumb_caption a {
-        text-decoration: underline;
-}
-
-
-.thumb_num_comments {
-        font-weight: normal;
-        font-size: 85%;
-        padding: 2px;
-        font-style : italic;
-        display : block;
-}
-
-.user_thumb_infobox {
-        margin-top: 1px;
-        margin-bottom: 1px;
-}
-
-.user_thumb_infobox th {
-        font-weight : bold;
-        font-size: 100%;
-        margin-top: 1px;
-        margin-bottom: 1px;
-        text-align : center;
-}
-
-.user_thumb_infobox td {
-        font-size: 85%;
-        margin-top: 1px;
-        margin-bottom: 1px;
-        text-align : center;
-}
-
-.user_thumb_infobox a {
-        text-decoration: none;
-}
-
-.user_thumb_infobox a:hover {
-        text-decoration: underline;
-}
-
-.sortorder_options {
-        padding: 0px;
-        margin: 0px;
-        font-weight: normal;
-        font-size: 80%;
-        white-space: nowrap;
-}
-
-.navmenu {
-        font-weight: bold;
-        border: none;
-        background-image: url(images/tableh1_bg.gif);
-}
-
-.navmenu img {
-        margin-top: 5px;
-
-}
-
-.navmenu a {
-        display: block;
-        padding-left: 5px;
-        padding-right: 5px;
-        text-decoration: none;
-        border-bottom: 1px solid #000000;
-        border-left: 1px solid #838383;
-        border-right: 1px solid #000000;
-        background-image: url(images/tableh1_bg.gif);
-        line-height: 25px;
-        height : 25px;
-}
-
-.navmenu a:hover {
-        text-decoration: none;
-        border-bottom: 1px solid #3F3F3F;
-        border-left: 1px solid #3F3F3F;
-        border-right: 1px solid #3F3F3F;
-}
-
-.admin_menu_thumb {
-        font-size: 90%;
-        background-image : url(images/button_bg.gif);
-        background-position : bottom;
-        font-weight: bold;
-        margin-top: 0px;
-        margin-bottom: 0px;
-        width: 85px;
-}
-
-.admin_menu_thumb a {
-        text-decoration: none;
-        display: block;
-        position: relative;
-        padding-top: 1px;
-        padding-bottom: 1px;
-        padding-left: 10px;
-        padding-right: 10px;
-}
-
-
-.admin_menu_thumb a:hover {
-        text-decoration: underline;
-}
-
-.admin_menu {
-        font-size: 90%;
-        background-image : url(images/button_bg.gif);
-        background-position : bottom;
-        background-repeat: repeat-x;
-        background-color: #BFC0C3;
-        margin-top: 0px;
-        margin-bottom: 0px;
-        text-align: center;
-}
-
-.admin_menu a {
-        text-decoration: none;
-        display: block;
-        position: relative;
-        padding-top: 1px;
-        padding-bottom: 1px;
-        padding-left: 2px;
-        padding-right: 2px;
-}
-
-.admin_menu a:hover {
-        text-decoration: underline;
-}
-
-td #admin_menu_anim {
-        background-image : url(images/button_bg_anim.gif);
-}
-
-.comment_date{
-        font-size: 90%;
-        vertical-align : middle;
-}
-
-.image {
-        margin: 2px;
-}
-
-.display_media {
-        padding-top: 3px;
-        padding-right: 10px;
-        padding-bottom: 3px;
-        padding-left: 10px;
-}
-
-.thumbnails {
-        padding: 5px;
-}
-
-.footer {
-        font-size : 9px;
-}
-
-.footer a {
-        text-decoration: none;
-}
-
-.footer a:hover {
-        text-decoration: underline;
-}
-
-.statlink a {
-        text-decoration: none;
-}
-
-.statlink a:hover {
-        text-decoration: underline;
-}
-
-.alblink a {
-        text-decoration: underline;
-}
-
-.alblink a:hover {
-        text-decoration: underline;
-}
-
-.catlink {
-        display: block;
-        margin-bottom: 2px;
-}
-
-.catlink a {
-        text-decoration: underline;
-}
-
-.catlink a:hover {
-        text-decoration: underline;
-}
-
-.topmenu {
-        line-height : 130%;
-        font-size : 110%;
-}
-
-.topmenu a {
-        text-decoration : underline;
-}
-
-.topmenu a:hover  {
-        text-decoration : underline;
-}
-
-.img_caption_table {
-        border: none;
-        width : 100%;
-        margin : 0px;
-}
-
-.img_caption_table th {
-        font-size : 100%;
-        padding-top: 4px;
-        padding-right: 10px;
-        padding-bottom: 4px;
-        padding-left: 10px;
-}
-
-.img_caption_table td {
-        padding-top: 6px;
-        padding-right: 10px;
-        padding-bottom: 6px;
-        padding-left: 10px;
-        white-space: normal;
-}
-
-.debug_text {
-        border: #BDBEBD;
-        background-color: #EFEFEF;
-        width : 100%;
-        margin : 0px;
-}
-
-.clickable_option {
-        font-weight: bold;
-        cursor : default;
-}
-
-.listbox_lang {
-        color: #C6B78E;
-        background-color: #4A4A4A;
-        border: 1px solid #4A4A4A;
-        font-size: 80%;
-        font-family: Arial, Helvetica, sans-serif;
-        vertical-align : middle;
-}
-
-#SELECT_LISTS {
-        width: 300px;
-        height: 50px;
-        text-align:right;
-        float: right;
-}
-
-
-#SUB_MENU {
-            background-image: url(images/top_panel_r2_c2.jpg);
-        background-position: left;
-        padding-left: 20px;
-}
-#SYS_MENU {
-        position:relative;
-        width:800px;
-        height:30px;
-        left: 35px;
-        top: 5px;
-        margin:-10px;
-        padding:0;
-        z-index:1;
-        visibility: hidden;
-}
-
-#SELECT_FLAGS {
-        text-align: center;
-}
-
-#vanity a {
-        display:block;
-        width:57px;
-        height:20px;
-        margin: 3px 20px;
-}
-#vanity img {border:0}
-#v_php {float:left;background-image:url(../../images/powered-php.gif);}
-#v_php:hover {background-image:url(../../images/h_powered-php.gif);}
-#v_mysql {float:left;background-image:url(../../images/powered-mysql.gif);}
-#v_mysql:hover  {background-image:url(../../images/h_powered-mysql.gif);}
-#v_xhtml {float:right;background-image:url(../../images/valid-xhtml10.gif);}
-#v_xhtml:hover {background-image:url(../../images/h_valid-xhtml10.gif);}
-#v_css {float:right;background-image:url(../../images/valid-css.gif);}
+/*************************
+  Coppermine Photo Gallery
+  ************************
+  Copyright (c) 2003-2009 Coppermine Dev Team
+  v1.1 originally written by Gregory DEMAR
+
+  This program is free software; you can redistribute it and/or modify
+  it under the terms of the GNU General Public License version 3
+  as published by the Free Software Foundation.
+  
+  ********************************************
+  Coppermine version: 1.4.25
+  $HeadURL: https://coppermine.svn.sourceforge.net/svnroot/coppermine/trunk/cpg1.4.x/themes/igames/style.css $
+  $Revision: 5997 $
+  $Author: gaugau $
+  $Date: 2009-05-26 08:43:24 +0200 (Di, 26 Mai 2009) $
+**********************************************/
+
+/* Colors used in this style sheet:
+    Hex 000000 = RBG   0,   0,   0 = black
+    Hex 222222 = RBG  34,  34,  34 = black
+    Hex 343333 = RBG  52,  51,  51 = black
+    Hex 3F3F3F = RBG  63,  63,  63 = light black
+    Hex 454444 = RBG  69,  68,  68 = light black
+    Hex 4A4A4A = RBG  74,  74,  74 = dark grey
+    Hex 5F5F5F = RBG  95,  95,  95 = dark grey
+    Hex 666666 = RBG 102, 102, 102 = dark grey
+    Hex 838383 = RBG 131, 131, 131 = medium grey
+    Hex BDBEBD = RBG 189, 190, 189 = medium grey
+    Hex BFC0C3 = RBG 191, 192, 195 = medium grey
+    Hex C6B78E = RBG 198, 183, 142 = beige
+    Hex E6E6E6 = RBG 230, 230, 230 = light grey
+    Hex EFEFEF = RBG 239, 239, 239 = light grey
+    Hex F0AF00 = RBG 240, 175,   0 = orange
+    Hex ff0000 = RBG 255,   0,   0 = red
+    Hex FFFFCC = RBG 255, 255, 204 = light yellow
+    Hex FFFFFF = RBG 255, 255, 255 = white
+*/
+
+/* Foreground color definition */
+body { color : #C6B78E; }
+.topmenu, .topmenu a { color : #E6E6E6; }
+.topmenu a:hover { color : #FFFFCC; }
+.tableh1, .tableh1a, .tableh1_compact, .navmenu, .navmenu a, .sortorder_cell, .sortorder_options, .statlink, .statlink a, .statlink a:hover { color : #C6B78E; }
+.tableh2, .tableh2_compact, .catrow_noalb { color : #FFFFCC; }
+.textinput, .listbox, .radio, .checkbox { color: #FFFFCC; }
+.alblink, .alblink a, .catlink, .catlink a { color : #FFFFCC; }
+a,  .bblink a, .user_thumb_infobox a  { color: #FFFFCC; }
+a:hover, .bblink a:hover, .user_thumb_infobox a:hover, .alblink a:hover, .catlink a:hover { color : #E6E6E6; }
+.button, .comment_button, .admin_menu_thumb, .admin_menu_thumb a, .admin_menu_thumb a:hover, .admin_menu, .admin_menu a, .admin_menu a:hover { color : #FFFFFF; }
+.comment_date { color : #5F5F5F; }
+.footer, .footer a, .footer a:hover { color : #666666; }
+
+/* Background colors definition */
+body { background-color: #4A4A4A; }
+.textinput, .listbox, .radio, .checkbox { background-color: #4A4A4A; }
+.tableh1, .tableh1_compact, .navmenu, .navmenu a, .navmenu a:hover  {         background : #3F3F3F ; }
+.tableh2, .catrow_noalb, .tableh2_compact, .tablef, .img_caption_table th {         background : #343333 ; }
+.tableb, .catrow, .display_media, .tableb_compact, .thumbnails, .img_caption_table td { background : #454444 ; }
+
+/* Borders for input controls */
+.textinput, .listbox, .button, .comment_button, .admin_menu, .admin_menu_thumb  {        border: 1px solid #666666; }
+.image { border: 1px solid #000000; }
+.imageborder { border: 1px solid #000000; background-color:#000000; margin-top: 30px; margin-bottom: 30px; }
+.image1 { border: 1px solid #ff0000; }
+
+.maintable, .maintablea, .maintableb {        background-color: #222222; }
+.img_caption_table th, .img_caption_table td { border-top : 1px solid #000000; }
+
+/* Fonts definition */
+body { font-family: "Trebuchet MS", Verdana, Geneva, Arial, sans-serif; }
+.tableh1, .tableh1a, .catlink, .tableh2, .catrow_noalb { font-family: Verdana, Geneva, Arial, sans-serif; }
+.textinput, .listbox, .radio, .checkbox { font-family: "Trebuchet MS", Verdana, Geneva, Arial, sans-serif; }
+.button, .comment_button, .sortorder_options, .admin_menu_thumb { font-family: Arial, Helvetica, sans-serif; }
+
+table {
+        font-size : 12px;
+}
+
+body {
+        font-size : 12px;
+        margin: 0px;
+        padding:0px;
+}
+
+h1{
+        font-weight: normal;
+        font-size: 28px;
+        font-family: "Trebuchet MS", Verdana, Arial, Helvetica, sans-serif;
+        text-decoration: none;
+        padding-left : 20px;
+        color: #FFFFFF;
+        margin: 2px;
+}
+
+h2 {
+        font-family: Arial, Helvetica, sans-serif;
+        background-image : url(images/box_left_icon.gif);
+        background-repeat : no-repeat;
+        background-position : left;
+        padding-left : 18px;
+        font-size: 18px;
+        margin: 0px;
+}
+
+h3 {
+        font-weight: normal;
+        font-family: "Trebuchet MS", Verdana, Geneva, Arial, sans-serif;
+        font-size: 14px;
+        padding-left : 20px;
+        color: #F0AF00;
+        margin: 2px;
+}
+
+p {
+        font-size: 100%;
+        margin: 2px 0px;
+}
+
+ul {
+        margin-left: 5px;
+        padding: 0px;
+}
+
+li {
+        margin-left: 10px;
+        margin-top: 4px;
+        margin-bottom: 4px;
+        padding: 0px;
+        list-style-position: outside;
+        list-style-type: disc;
+}
+
+.top_panel {
+                background-image: url(images/top_panel_r1_c4.jpg);
+                background-repeat : repeat-x;
+                border-collapse:collapse;
+                margin: 0;
+                padding: 0;
+}
+
+.top_panel_left {
+                background-image: url(images/top_panel_r1_c1.jpg);
+                background-repeat : no-repeat;
+                background-position: top left;
+                margin: 0;
+                padding: 0;
+}
+
+.top_panel_right {
+                background-image: url(images/top_panel_r1_c2.jpg);
+                background-repeat : no-repeat;
+                background-position: top right;
+                margin: 0;
+                padding: 0;
+}
+
+
+
+.top_panel_btm {
+
+                    background: #4A4A4A;
+                    background-image: url(images/top_panel_r2_c3.jpg);
+                    background-repeat : no-repeat;
+                    background-position:right;
+                    padding-top : 0;
+            padding-bottom : 0;
+
+}
+
+.top_menu_left_bttn {
+        white-space:nowrap;
+}
+.top_menu_left_bttn a {
+               background: #4A4A4A;
+        background-image : url(images/left_menu_button.gif);
+        background-repeat : no-repeat;
+        background-position : left;
+        padding-left : 12px;
+        padding-right : 6px;
+                   padding-top :3px;
+        padding-bottom : 0;
+        display: block;
+        height : 35px;
+        line-height : 35px;
+        text-decoration: none;
+        color: #C6B78E;
+        font-size: 14px;
+
+}
+
+.top_menu_left_bttn a:hover {
+                background: #4A4A4A;
+        background-image : url(images/left_menu_button_over.gif);
+        background-position : left;
+        background-repeat : no-repeat;
+        text-decoration: none;
+        color: #F0AF00;
+
+}
+
+.top_menu_right_bttn {
+        white-space:nowrap;
+}
+
+.top_menu_right_bttn a {
+                background: #4A4A4A;
+        background-image : url(images/right_menu_button.gif);
+        background-repeat : no-repeat;
+        background-position : right;
+        padding-right : 22px;
+        padding-left : 6px;
+            padding-top : 3px;
+        padding-bottom : 0;
+        display: block;
+        height : 35px;
+        line-height : 35px;
+        text-decoration: none;
+        color: #C6B78E;
+        font-size: 14px;
+}
+
+.top_menu_right_bttn a:hover {
+                background: #4A4A4A;
+        background-image : url(images/right_menu_button_over.gif);
+        background-position : right;
+        background-repeat : no-repeat;
+        text-decoration: none;
+        color: #F0AF00;
+}
+
+.top_menu_bttn {
+  white-space:nowrap;
+}
+.top_menu_bttn a {
+                background: #4A4A4A;
+        background-image : url(images/menu_button.gif);
+        background-position : left;
+        padding-left : 6px;
+        padding-right : 6px;
+                padding-top : 3px;
+        padding-bottom : 0;
+        display: block;
+        height : 35px;
+        line-height : 35px;
+        text-decoration: none;
+        color: #C6B78E;
+        font-size: 14px;
+}
+
+.top_menu_bttn a:hover {
+                background: #4A4A4A;
+        background-image : url(images/menu_button_over.gif);
+        text-decoration: none;
+        color:         #F0AF00;
+}
+
+.textinput {
+        font-size: 100%;
+        padding-right: 3px;
+        padding-left: 3px;
+}
+
+.listbox {
+        font-size: 100%;
+        vertical-align : middle;
+}
+
+.button {
+        font-size: 100%;
+        background-image : url(images/button_bg.gif);
+        background-position : bottom;
+}
+
+.comment_button {
+        font-size: 100%;
+        background-image : url(images/button_bg.gif);
+        background-position : bottom;
+        padding-left: 3px;
+        padding-right: 3px;
+}
+
+.radio {
+        font-size: 100%;
+        vertical-align : middle;
+}
+
+.checkbox {
+        font-size: 100%;
+        vertical-align : middle;
+}
+
+a {
+        text-decoration: none;
+}
+
+a:hover {
+        text-decoration: underline;
+}
+
+.bblink a {
+        text-decoration: none;
+}
+
+.bblink a:hover {
+        text-decoration: underline;
+}
+
+.maintable {
+        margin-top: 2px;
+        margin-bottom: 2px;
+/*        border: 1px solid #000000; */
+}
+
+.maintablea {
+        margin-top: 5px;
+}
+
+.maintableb {
+        margin-bottom: 2px;
+/*        border: 1px solid #000000; */
+}
+
+.tableh1 {
+        padding-right: 10px;
+        padding-left: 10px;
+        border-bottom: 1px solid #000000;
+        border-right: 1px solid #000000;
+        height: 25px;
+        background-image: url(images/tableh1_bg.gif);
+}
+
+.tableh1a {
+        border-bottom: 1px solid #000000;
+        color: #C6B78E;
+}
+
+.tableh1a td {
+        border: none;
+        height: 30px;
+        font-size: 120%;
+        font-weight: bold;
+        color: #C6B78E;
+        background-image: url(images/tableh1a_bg_middle.gif);
+}
+
+.tableh1a img {
+        display: block;
+}
+
+.tableh1_compact {
+        padding-top: 2px;
+        padding-right: 5px;
+        padding-bottom: 2px;
+        padding-left: 5px;
+        border-bottom: 1px solid #000000;
+        border-right: 1px solid #000000;
+        height: 25px;
+        background-image: url(images/tableh1_bg.gif);
+}
+
+.tableh2 {
+        padding-top: 3px;
+        padding-right: 10px;
+        padding-bottom: 3px;
+        padding-left: 10px;
+}
+
+.tableh2_compact {
+        padding-top: 2px;
+        padding-right: 5px;
+        padding-bottom: 2px;
+        padding-left: 5px;
+}
+
+.tableb {
+        padding-top: 3px;
+        padding-right: 10px;
+        padding-bottom: 3px;
+        padding-left: 10px;
+}
+
+.tableb_compact {
+        padding-top: 2px;
+        padding-right: 5px;
+        padding-bottom: 2px;
+        padding-left: 5px;
+}
+
+.tablef {
+        padding-top: 10px;
+        padding-right: 10px;
+        padding-bottom: 10px;
+        padding-left: 10px;
+}
+
+.catrow_noalb {
+        padding-top: 3px;
+        padding-right: 10px;
+        padding-bottom: 3px;
+        padding-left: 10px;
+}
+
+.catrow {
+        padding-top: 3px;
+        padding-right: 10px;
+        padding-bottom: 3px;
+        padding-left: 10px;
+}
+
+.album_stat {
+        font-size : 85%;
+        margin: 5px 0px;
+}
+
+.thumb_filename {
+        font-size: 100%;
+        display: block;
+}
+
+.thumb_title {
+        font-weight : bold;
+        font-size: 80%;
+        padding: 2px;
+        display : block;
+}
+
+.thumb_caption {
+        font-size: 80%;
+        padding: 1px;
+        display : block;
+}
+
+.thumb_caption a {
+        text-decoration: underline;
+}
+
+
+.thumb_num_comments {
+        font-weight: normal;
+        font-size: 85%;
+        padding: 2px;
+        font-style : italic;
+        display : block;
+}
+
+.user_thumb_infobox {
+        margin-top: 1px;
+        margin-bottom: 1px;
+}
+
+.user_thumb_infobox th {
+        font-weight : bold;
+        font-size: 100%;
+        margin-top: 1px;
+        margin-bottom: 1px;
+        text-align : center;
+}
+
+.user_thumb_infobox td {
+        font-size: 85%;
+        margin-top: 1px;
+        margin-bottom: 1px;
+        text-align : center;
+}
+
+.user_thumb_infobox a {
+        text-decoration: none;
+}
+
+.user_thumb_infobox a:hover {
+        text-decoration: underline;
+}
+
+.sortorder_options {
+        padding: 0px;
+        margin: 0px;
+        font-weight: normal;
+        font-size: 80%;
+        white-space: nowrap;
+}
+
+.navmenu {
+        font-weight: bold;
+        border: none;
+        background-image: url(images/tableh1_bg.gif);
+}
+
+.navmenu img {
+        margin-top: 5px;
+
+}
+
+.navmenu a {
+        display: block;
+        padding-left: 5px;
+        padding-right: 5px;
+        text-decoration: none;
+        border-bottom: 1px solid #000000;
+        border-left: 1px solid #838383;
+        border-right: 1px solid #000000;
+        background-image: url(images/tableh1_bg.gif);
+        line-height: 25px;
+        height : 25px;
+}
+
+.navmenu a:hover {
+        text-decoration: none;
+        border-bottom: 1px solid #3F3F3F;
+        border-left: 1px solid #3F3F3F;
+        border-right: 1px solid #3F3F3F;
+}
+
+.admin_menu_thumb {
+        font-size: 90%;
+        background-image : url(images/button_bg.gif);
+        background-position : bottom;
+        font-weight: bold;
+        margin-top: 0px;
+        margin-bottom: 0px;
+        width: 85px;
+}
+
+.admin_menu_thumb a {
+        text-decoration: none;
+        display: block;
+        position: relative;
+        padding-top: 1px;
+        padding-bottom: 1px;
+        padding-left: 10px;
+        padding-right: 10px;
+}
+
+
+.admin_menu_thumb a:hover {
+        text-decoration: underline;
+}
+
+.admin_menu {
+        font-size: 90%;
+        background-image : url(images/button_bg.gif);
+        background-position : bottom;
+        background-repeat: repeat-x;
+        background-color: #BFC0C3;
+        margin-top: 0px;
+        margin-bottom: 0px;
+        text-align: center;
+}
+
+.admin_menu a {
+        text-decoration: none;
+        display: block;
+        position: relative;
+        padding-top: 1px;
+        padding-bottom: 1px;
+        padding-left: 2px;
+        padding-right: 2px;
+}
+
+.admin_menu a:hover {
+        text-decoration: underline;
+}
+
+td #admin_menu_anim {
+        background-image : url(images/button_bg_anim.gif);
+}
+
+.comment_date{
+        font-size: 90%;
+        vertical-align : middle;
+}
+
+.image {
+        margin: 2px;
+}
+
+.display_media {
+        padding-top: 3px;
+        padding-right: 10px;
+        padding-bottom: 3px;
+        padding-left: 10px;
+}
+
+.thumbnails {
+        padding: 5px;
+}
+
+.footer {
+        font-size : 9px;
+}
+
+.footer a {
+        text-decoration: none;
+}
+
+.footer a:hover {
+        text-decoration: underline;
+}
+
+.statlink a {
+        text-decoration: none;
+}
+
+.statlink a:hover {
+        text-decoration: underline;
+}
+
+.alblink a {
+        text-decoration: underline;
+}
+
+.alblink a:hover {
+        text-decoration: underline;
+}
+
+.catlink {
+        display: block;
+        margin-bottom: 2px;
+}
+
+.catlink a {
+        text-decoration: underline;
+}
+
+.catlink a:hover {
+        text-decoration: underline;
+}
+
+.topmenu {
+        line-height : 130%;
+        font-size : 110%;
+}
+
+.topmenu a {
+        text-decoration : underline;
+}
+
+.topmenu a:hover  {
+        text-decoration : underline;
+}
+
+.img_caption_table {
+        border: none;
+        width : 100%;
+        margin : 0px;
+}
+
+.img_caption_table th {
+        font-size : 100%;
+        padding-top: 4px;
+        padding-right: 10px;
+        padding-bottom: 4px;
+        padding-left: 10px;
+}
+
+.img_caption_table td {
+        padding-top: 6px;
+        padding-right: 10px;
+        padding-bottom: 6px;
+        padding-left: 10px;
+        white-space: normal;
+}
+
+.debug_text {
+        border: #BDBEBD;
+        background-color: #EFEFEF;
+        width : 100%;
+        margin : 0px;
+}
+
+.clickable_option {
+        font-weight: bold;
+        cursor : default;
+}
+
+.listbox_lang {
+        color: #C6B78E;
+        background-color: #4A4A4A;
+        border: 1px solid #4A4A4A;
+        font-size: 80%;
+        font-family: Arial, Helvetica, sans-serif;
+        vertical-align : middle;
+}
+
+#SELECT_LISTS {
+        width: 300px;
+        height: 50px;
+        text-align:right;
+        float: right;
+}
+
+
+#SUB_MENU {
+            background-image: url(images/top_panel_r2_c2.jpg);
+        background-position: left;
+        padding-left: 20px;
+}
+#SYS_MENU {
+        position:relative;
+        width:800px;
+        height:30px;
+        left: 35px;
+        top: 5px;
+        margin:-10px;
+        padding:0;
+        z-index:1;
+        visibility: hidden;
+}
+
+#SELECT_FLAGS {
+        text-align: center;
+}
+
+#vanity a {
+        display:block;
+        width:57px;
+        height:20px;
+        margin: 3px 20px;
+}
+#vanity img {border:0}
+#v_php {float:left;background-image:url(../../images/powered-php.gif);}
+#v_php:hover {background-image:url(../../images/h_powered-php.gif);}
+#v_mysql {float:left;background-image:url(../../images/powered-mysql.gif);}
+#v_mysql:hover  {background-image:url(../../images/h_powered-mysql.gif);}
+#v_xhtml {float:right;background-image:url(../../images/valid-xhtml10.gif);}
+#v_xhtml:hover {background-image:url(../../images/h_valid-xhtml10.gif);}
+#v_css {float:right;background-image:url(../../images/valid-css.gif);}
 #v_css:hover{background-image:url(../../images/h_valid-css.gif);}
\ No newline at end of file
diff -x .svn -aruN 1.4.24.src/themes/igames/template.html 1.4.25.src/themes/igames/template.html
--- 1.4.24.src/themes/igames/template.html	2009-05-21 15:03:09.000000000 -0500
+++ 1.4.25.src/themes/igames/template.html	2009-05-26 11:25:46.000000000 -0500
@@ -1,87 +1,87 @@
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
-
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en" dir="{LANG_DIR}">
-<head>
-<meta http-equiv="Content-Type" content="text/html; charset={CHARSET}" />
-<meta http-equiv="Pragma" content="no-cache" />
-<title>{TITLE}</title>
-{META}
-<link rel="stylesheet" href="themes/igames/style.css" type="text/css" />
-<script type="text/javascript" src="scripts.js"></script>
-<script language="JavaScript" type="text/JavaScript">
-<!--
-function MM_findObj(n, d) { //v4.01
-  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
-    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
-  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
-  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
-  if(!x && d.getElementById) x=d.getElementById(n); return x;
-}
-
-function MM_showHideLayers() { //v6.0
-  var i,p,v,obj,args=MM_showHideLayers.arguments;
-  for (i=0; i<(args.length-2); i+=3) if ((obj=MM_findObj(args[i]))!=null) { v=args[i+2];
-    if (obj.style) { obj=obj.style; v=(v=='show')?'visible':(v=='hide')?'hidden':v; }
-    obj.visibility=v; }
-}
-//-->
-</script>
-<!--
-  SVN version info:
-  Coppermine version: 1.4.24
-  $Revision: 5969 $
-  $LastChangedBy: gaugau $
-  $Date: 2009-05-21 22:03:33 +0200 (Do, 21 Mai 2009) $
--->
-</head>
-<body>
-<div id="CUSTOM_HEADER">
-  {CUSTOM_HEADER}
-  </div>
-  
-
-  
-<div class="top_panel">
-  <div class="top_panel_left">
-    <div class="top_panel_right">
-      <div id="SELECT_LISTS">
-        {THEME_SELECT_LIST}
-        {LANGUAGE_SELECT_LIST}
-      </div>
-      <h1>{GAL_NAME}</h1>
-      <h3>{GAL_DESCRIPTION}</h3>
-    </div>
-  </div>
-</div>
-
-<div class="top_panel_btm">
-
-</div>
-
-
-<div id="MENUS">
-  <div id="SUB_MENU">
-    {SUB_MENU}
-  </div>
-  <div id="SYS_MENU">
-    {SYS_MENU}
-  </div>
-</div>
-
-
-<div id="GALLERY">
-      {ADMIN_MENU}
-      {GALLERY}
-</div>
-<div id="SELECT_FLAGS">
- {LANGUAGE_SELECT_FLAGS}
- </div>
- <div id="CUSTOM_FOOTER">
-  {CUSTOM_FOOTER}
-  </div>
-  <div id="VANITY">
-  {VANITY}
-  </div>
-
-</body>
-</html>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en" dir="{LANG_DIR}">
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset={CHARSET}" />
+<meta http-equiv="Pragma" content="no-cache" />
+<title>{TITLE}</title>
+{META}
+<link rel="stylesheet" href="themes/igames/style.css" type="text/css" />
+<script type="text/javascript" src="scripts.js"></script>
+<script language="JavaScript" type="text/JavaScript">
+<!--
+function MM_findObj(n, d) { //v4.01
+  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
+    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
+  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
+  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
+  if(!x && d.getElementById) x=d.getElementById(n); return x;
+}
+
+function MM_showHideLayers() { //v6.0
+  var i,p,v,obj,args=MM_showHideLayers.arguments;
+  for (i=0; i<(args.length-2); i+=3) if ((obj=MM_findObj(args[i]))!=null) { v=args[i+2];
+    if (obj.style) { obj=obj.style; v=(v=='show')?'visible':(v=='hide')?'hidden':v; }
+    obj.visibility=v; }
+}
+//-->
+</script>
+<!--
+  SVN version info:
+  Coppermine version: 1.4.25
+  $Revision: 5997 $
+  $LastChangedBy: gaugau $
+  $Date: 2009-05-26 08:43:24 +0200 (Di, 26 Mai 2009) $
+-->
+</head>
+<body>
+<div id="CUSTOM_HEADER">
+  {CUSTOM_HEADER}
+  </div>
+  
+
+  
+<div class="top_panel">
+  <div class="top_panel_left">
+    <div class="top_panel_right">
+      <div id="SELECT_LISTS">
+        {THEME_SELECT_LIST}
+        {LANGUAGE_SELECT_LIST}
+      </div>
+      <h1>{GAL_NAME}</h1>
+      <h3>{GAL_DESCRIPTION}</h3>
+    </div>
+  </div>
+</div>
+
+<div class="top_panel_btm">
+
+</div>
+
+
+<div id="MENUS">
+  <div id="SUB_MENU">
+    {SUB_MENU}
+  </div>
+  <div id="SYS_MENU">
+    {SYS_MENU}
+  </div>
+</div>
+
+
+<div id="GALLERY">
+      {ADMIN_MENU}
+      {GALLERY}
+</div>
+<div id="SELECT_FLAGS">
+ {LANGUAGE_SELECT_FLAGS}
+ </div>
+ <div id="CUSTOM_FOOTER">
+  {CUSTOM_FOOTER}
+  </div>
+  <div id="VANITY">
+  {VANITY}
+  </div>
+
+</body>
+</html>
diff -x .svn -aruN 1.4.24.src/themes/igames/theme.php 1.4.25.src/themes/igames/theme.php
--- 1.4.24.src/themes/igames/theme.php	2009-05-21 15:03:09.000000000 -0500
+++ 1.4.25.src/themes/igames/theme.php	2009-05-26 11:25:46.000000000 -0500
@@ -1,197 +1,197 @@
-<?php
-/*************************
-  Coppermine Photo Gallery
-  ************************
-  Copyright (c) 2003-2009 Coppermine Dev Team
-  v1.1 originally written by Gregory DEMAR
-
-  This program is free software; you can redistribute it and/or modify
-  it under the terms of the GNU General Public License version 3
-  as published by the Free Software Foundation.
-  
-  ********************************************
-  Coppermine version: 1.4.24
-  $HeadURL: https://coppermine.svn.sourceforge.net/svnroot/coppermine/trunk/cpg1.4.x/themes/igames/theme.php $
-  $Revision: 5969 $
-  $Author: gaugau $
-  $Date: 2009-05-21 22:03:33 +0200 (Do, 21 Mai 2009) $
-**********************************************/
-
-// ------------------------------------------------------------------------- //
-// This theme has had redundant CORE items removed                           //
-// ------------------------------------------------------------------------- //
-define('THEME_HAS_RATING_GRAPHICS', 1);
-define('THEME_HAS_NO_SUB_MENU_BUTTONS',1);
-define('THEME_IS_XHTML10_TRANSITIONAL',1);  // Remove this if you edit this template until
-                                            // you have validated it. See docs/theme.htm.
-
-// HTML template for sys_menu
-$template_sys_menu = <<<EOT
-         |{BUTTONS}|
-EOT;
-
-// HTML template for template sys_menu spacer
-$template_sys_menu_spacer ="|";
-
-
-// HTML template for template sub_menu
-// special note: I left the JavaScript 'hide' off of the first and third buttons to help avoid trouble keeping sys_menu open. :Donnoman
-if ($CONFIG['custom_lnk_url'] != '') {
-$template_sub_menu = <<<EOT
-                        <table border="0" cellpadding="0" cellspacing="0" width="100%">
-                                <tr>
-<!-- BEGIN custom_link -->
-                                                                                <td class="top_menu_left_bttn">
-                                                <a href="{CUSTOM_LNK_TGT}" title="{CUSTOM_LNK_TITLE}">{CUSTOM_LNK_LNK}</a>
-                                        </td>
-                                        <td><img src="themes/igames/images/menu_spacer.gif" width="2" height="35" border="0" alt="" /><br /></td>
-<!-- END custom_link -->
-                                        <td class="top_menu_bttn">
-                                                <a href="{ALB_LIST_TGT}" title="{ALB_LIST_TITLE}">{ALB_LIST_LNK}</a>
-                                        </td>
-                                        <td><img src="themes/igames/images/menu_spacer.gif" width="2" height="35" border="0" alt="" /><br /></td>
-                                        <td class="top_menu_bttn">
-                                                <a href="javascript:;" onmouseover="MM_showHideLayers('SYS_MENU','','show')">@</a>
-                                        </td>
-                                        <td><img src="themes/igames/images/menu_spacer.gif" width="2" height="35" border="0" alt="" /><br /></td>
-                                        <td class="top_menu_bttn">
-                                                <a href="{LASTUP_TGT}" title="{LASTUP_LNK}">{LASTUP_LNK}</a>
-                                        </td>
-                                        <td><img src="themes/igames/images/menu_spacer.gif" width="2" height="35" border="0" alt="" /><br /></td>
-                                        <td class="top_menu_bttn">
-                                                <a href="{LASTCOM_TGT}" onmouseover="MM_showHideLayers('SYS_MENU','','hide')" title="{LASTCOM_LNK}">{LASTCOM_LNK}</a>
-                                        </td>
-                                        <td><img src="themes/igames/images/menu_spacer.gif" width="2" height="35" border="0" alt="" /><br /></td>
-                                        <td class="top_menu_bttn">
-                                                <a href="{TOPN_TGT}" onmouseover="MM_showHideLayers('SYS_MENU','','hide')" title="{TOPN_LNK}">{TOPN_LNK}</a>
-                                        </td>
-                                        <td><img src="themes/igames/images/menu_spacer.gif" width="2" height="35" border="0" alt="" /><br /></td>
-                                        <td class="top_menu_bttn">
-                                                <a href="{TOPRATED_TGT}" onmouseover="MM_showHideLayers('SYS_MENU','','hide')" title="{TOPRATED_LNK}">{TOPRATED_LNK}</a>
-                                        </td>
-                                        <td><img src="themes/igames/images/menu_spacer.gif" width="2" height="35" border="0" alt="" /><br /></td>
-                                        <td class="top_menu_bttn">
-                                                <a href="{FAV_TGT}" onmouseover="MM_showHideLayers('SYS_MENU','','hide')" title="{FAV_LNK}">{FAV_LNK}</a>
-                                        </td>
-                                        <td><img src="themes/igames/images/menu_spacer.gif" width="2" height="35" border="0" alt="" /><br /></td>
-                                        <td class="top_menu_right_bttn">
-                                                <a href="{SEARCH_TGT}" onmouseover="MM_showHideLayers('SYS_MENU','','hide')" title="{SEARCH_LNK}">{SEARCH_LNK}</a>
-                                        </td>
-                                        <td width="100%">&nbsp;</td>
-                                </tr>
-                        </table>
-EOT;
-
-} else {
-
-$template_sub_menu = <<<EOT
-                        <table border="0" cellpadding="0" cellspacing="0" width="100%">
-                                <tr>
-<!-- BEGIN custom_link -->
-<!-- END custom_link -->
-                                        <td class="top_menu_left_bttn">
-                                                <a href="{ALB_LIST_TGT}" title="{ALB_LIST_TITLE}">{ALB_LIST_LNK}</a>
-                                        </td>
-                                        <td><img src="themes/igames/images/menu_spacer.gif" width="2" height="35" border="0" alt="" /><br /></td>
-                                        <td class="top_menu_bttn">
-                                                <a href="javascript:;" onmouseover="MM_showHideLayers('SYS_MENU','','show')">@</a>
-                                        </td>
-                                        <td><img src="themes/igames/images/menu_spacer.gif" width="2" height="35" border="0" alt="" /><br /></td>
-                                        <td class="top_menu_bttn">
-                                                <a href="{LASTUP_TGT}" title="{LASTUP_LNK}">{LASTUP_LNK}</a>
-                                        </td>
-                                        <td><img src="themes/igames/images/menu_spacer.gif" width="2" height="35" border="0" alt="" /><br /></td>
-                                        <td class="top_menu_bttn">
-                                                <a href="{LASTCOM_TGT}" onmouseover="MM_showHideLayers('SYS_MENU','','hide')" title="{LASTCOM_LNK}">{LASTCOM_LNK}</a>
-                                        </td>
-                                        <td><img src="themes/igames/images/menu_spacer.gif" width="2" height="35" border="0" alt="" /><br /></td>
-                                        <td class="top_menu_bttn">
-                                                <a href="{TOPN_TGT}" onmouseover="MM_showHideLayers('SYS_MENU','','hide')" title="{TOPN_LNK}">{TOPN_LNK}</a>
-                                        </td>
-                                        <td><img src="themes/igames/images/menu_spacer.gif" width="2" height="35" border="0" alt="" /><br /></td>
-                                        <td class="top_menu_bttn">
-                                                <a href="{TOPRATED_TGT}" onmouseover="MM_showHideLayers('SYS_MENU','','hide')" title="{TOPRATED_LNK}">{TOPRATED_LNK}</a>
-                                        </td>
-                                        <td><img src="themes/igames/images/menu_spacer.gif" width="2" height="35" border="0" alt="" /><br /></td>
-                                        <td class="top_menu_bttn">
-                                                <a href="{FAV_TGT}" onmouseover="MM_showHideLayers('SYS_MENU','','hide')" title="{FAV_LNK}">{FAV_LNK}</a>
-                                        </td>
-                                        <td><img src="themes/igames/images/menu_spacer.gif" width="2" height="35" border="0" alt="" /><br /></td>
-                                        <td class="top_menu_right_bttn">
-                                                <a href="{SEARCH_TGT}" onmouseover="MM_showHideLayers('SYS_MENU','','hide')" title="{SEARCH_LNK}">{SEARCH_LNK}</a>
-                                        </td>
-                                        <td width="100%">&nbsp;</td>
-                                </tr>
-                        </table>
-EOT;
-}
-// HTML template for title row of the thumbnail view (album title + sort options)
-$template_thumb_view_title_row = <<<EOT
-
-                        <table width="100%" cellpadding="0" cellspacing="0">
-                        <tr>
-                                <td width="100%" class="statlink">{ALBUM_NAME}</td>
-                                <td class="sortorder_options" style="font-size: 100%;">{TITLE}</td>
-                                <td class="sortorder_options" style="font-size: 100%;"><span class="statlink"><a href="thumbnails.php?album={AID}&amp;page={PAGE}&amp;sort=ta" title="{SORT_TA}">&nbsp;+&nbsp;</a></span></td>
-                                <td class="sortorder_options" style="font-size: 100%;"><span class="statlink"><a href="thumbnails.php?album={AID}&amp;page={PAGE}&amp;sort=td" title="{SORT_TD}">&nbsp;-&nbsp;</a></span></td>
-                                <td>&nbsp;&nbsp;</td>
-                                <td class="sortorder_options" style="font-size: 100%;">{NAME}</td>
-                                <td class="sortorder_options" style="font-size: 100%;"><span class="statlink"><a href="thumbnails.php?album={AID}&amp;page={PAGE}&amp;sort=na" title="{SORT_NA}">&nbsp;+&nbsp;</a></span></td>
-                                <td class="sortorder_options" style="font-size: 100%;"><span class="statlink"><a href="thumbnails.php?album={AID}&amp;page={PAGE}&amp;sort=nd" title="{SORT_ND}">&nbsp;-&nbsp;</a></span></td>
-                                <td>&nbsp;&nbsp;</td>
-                                <td class="sortorder_options" style="font-size: 100%;">{DATE}</td>
-                                <td class="sortorder_options" style="font-size: 100%;"><span class="statlink"><a href="thumbnails.php?album={AID}&amp;page={PAGE}&amp;sort=da" title="{SORT_DA}">&nbsp;+&nbsp;</a></span></td>
-                                <td class="sortorder_options" style="font-size: 100%;"><span class="statlink"><a href="thumbnails.php?album={AID}&amp;page={PAGE}&amp;sort=dd" title="{SORT_DD}">&nbsp;-&nbsp;</a></span></td>
-                                <td>&nbsp;&nbsp;</td>
-                                <td class="sortorder_options" style="font-size: 100%;">{POSITION}</td>
-                                <td class="sortorder_options" style="font-size: 100%;"><span class="statlink"><a href="thumbnails.php?album={AID}&amp;page={PAGE}&amp;sort=pa" title="{SORT_PA}">&nbsp;+&nbsp;</a></span></td>
-                                <td class="sortorder_options" style="font-size: 100%;"><span class="statlink"><a href="thumbnails.php?album={AID}&amp;page={PAGE}&amp;sort=pd" title="{SORT_PD}">&nbsp;-&nbsp;</a></span></td>
-                        </tr>
-                        </table>
-
-EOT;
-
-
-
-
-// Function to start a 'standard' table
-function starttable($width = '-1', $title = '', $title_colspan = '1')
-{
-    global $CONFIG;
-
-    if ($width == '-1') $width = $CONFIG['picture_table_width'];
-    if ($width == '100%') $width = $CONFIG['main_table_width'];
-    if ($title) {
-        echo <<<EOT
-<!-- Start standard table title -->
-<table align="center" width="$width" cellspacing="0" cellpadding="0" class="maintablea">
-        <tr>
-                <td>
-                        <table width="100%" cellspacing="0" cellpadding="0" class="tableh1a">
-                                <tr>
-                                        <td><img src='themes/igames/images/box_left_icon.gif' hspace="5" alt="" /> </td>
-                                        <td  class="tableh1a" width="95%">$title</td>
-                                        <td width="5%"> &nbsp; </td>
-                                </tr>
-                        </table>
-                </td>
-        </tr>
-</table>
-<!-- Start standard table -->
-<table align="center" width="$width" cellspacing="1" cellpadding="0" class="maintableb">
-
-EOT;
-    } else {
-        echo <<<EOT
-
-<!-- Start standard table -->
-<table align="center" width="$width" cellspacing="1" cellpadding="0" class="maintable">
-
-EOT;
-    }
-}
-
-
-
-
+<?php
+/*************************
+  Coppermine Photo Gallery
+  ************************
+  Copyright (c) 2003-2009 Coppermine Dev Team
+  v1.1 originally written by Gregory DEMAR
+
+  This program is free software; you can redistribute it and/or modify
+  it under the terms of the GNU General Public License version 3
+  as published by the Free Software Foundation.
+  
+  ********************************************
+  Coppermine version: 1.4.25
+  $HeadURL: https://coppermine.svn.sourceforge.net/svnroot/coppermine/trunk/cpg1.4.x/themes/igames/theme.php $
+  $Revision: 5997 $
+  $Author: gaugau $
+  $Date: 2009-05-26 08:43:24 +0200 (Di, 26 Mai 2009) $
+**********************************************/
+
+// ------------------------------------------------------------------------- //
+// This theme has had redundant CORE items removed                           //
+// ------------------------------------------------------------------------- //
+define('THEME_HAS_RATING_GRAPHICS', 1);
+define('THEME_HAS_NO_SUB_MENU_BUTTONS',1);
+define('THEME_IS_XHTML10_TRANSITIONAL',1);  // Remove this if you edit this template until
+                                            // you have validated it. See docs/theme.htm.
+
+// HTML template for sys_menu
+$template_sys_menu = <<<EOT
+         |{BUTTONS}|
+EOT;
+
+// HTML template for template sys_menu spacer
+$template_sys_menu_spacer ="|";
+
+
+// HTML template for template sub_menu
+// special note: I left the JavaScript 'hide' off of the first and third buttons to help avoid trouble keeping sys_menu open. :Donnoman
+if ($CONFIG['custom_lnk_url'] != '') {
+$template_sub_menu = <<<EOT
+                        <table border="0" cellpadding="0" cellspacing="0" width="100%">
+                                <tr>
+<!-- BEGIN custom_link -->
+                                                                                <td class="top_menu_left_bttn">
+                                                <a href="{CUSTOM_LNK_TGT}" title="{CUSTOM_LNK_TITLE}">{CUSTOM_LNK_LNK}</a>
+                                        </td>
+                                        <td><img src="themes/igames/images/menu_spacer.gif" width="2" height="35" border="0" alt="" /><br /></td>
+<!-- END custom_link -->
+                                        <td class="top_menu_bttn">
+                                                <a href="{ALB_LIST_TGT}" title="{ALB_LIST_TITLE}">{ALB_LIST_LNK}</a>
+                                        </td>
+                                        <td><img src="themes/igames/images/menu_spacer.gif" width="2" height="35" border="0" alt="" /><br /></td>
+                                        <td class="top_menu_bttn">
+                                                <a href="javascript:;" onmouseover="MM_showHideLayers('SYS_MENU','','show')">@</a>
+                                        </td>
+                                        <td><img src="themes/igames/images/menu_spacer.gif" width="2" height="35" border="0" alt="" /><br /></td>
+                                        <td class="top_menu_bttn">
+                                                <a href="{LASTUP_TGT}" title="{LASTUP_LNK}">{LASTUP_LNK}</a>
+                                        </td>
+                                        <td><img src="themes/igames/images/menu_spacer.gif" width="2" height="35" border="0" alt="" /><br /></td>
+                                        <td class="top_menu_bttn">
+                                                <a href="{LASTCOM_TGT}" onmouseover="MM_showHideLayers('SYS_MENU','','hide')" title="{LASTCOM_LNK}">{LASTCOM_LNK}</a>
+                                        </td>
+                                        <td><img src="themes/igames/images/menu_spacer.gif" width="2" height="35" border="0" alt="" /><br /></td>
+                                        <td class="top_menu_bttn">
+                                                <a href="{TOPN_TGT}" onmouseover="MM_showHideLayers('SYS_MENU','','hide')" title="{TOPN_LNK}">{TOPN_LNK}</a>
+                                        </td>
+                                        <td><img src="themes/igames/images/menu_spacer.gif" width="2" height="35" border="0" alt="" /><br /></td>
+                                        <td class="top_menu_bttn">
+                                                <a href="{TOPRATED_TGT}" onmouseover="MM_showHideLayers('SYS_MENU','','hide')" title="{TOPRATED_LNK}">{TOPRATED_LNK}</a>
+                                        </td>
+                                        <td><img src="themes/igames/images/menu_spacer.gif" width="2" height="35" border="0" alt="" /><br /></td>
+                                        <td class="top_menu_bttn">
+                                                <a href="{FAV_TGT}" onmouseover="MM_showHideLayers('SYS_MENU','','hide')" title="{FAV_LNK}">{FAV_LNK}</a>
+                                        </td>
+                                        <td><img src="themes/igames/images/menu_spacer.gif" width="2" height="35" border="0" alt="" /><br /></td>
+                                        <td class="top_menu_right_bttn">
+                                                <a href="{SEARCH_TGT}" onmouseover="MM_showHideLayers('SYS_MENU','','hide')" title="{SEARCH_LNK}">{SEARCH_LNK}</a>
+                                        </td>
+                                        <td width="100%">&nbsp;</td>
+                                </tr>
+                        </table>
+EOT;
+
+} else {
+
+$template_sub_menu = <<<EOT
+                        <table border="0" cellpadding="0" cellspacing="0" width="100%">
+                                <tr>
+<!-- BEGIN custom_link -->
+<!-- END custom_link -->
+                                        <td class="top_menu_left_bttn">
+                                                <a href="{ALB_LIST_TGT}" title="{ALB_LIST_TITLE}">{ALB_LIST_LNK}</a>
+                                        </td>
+                                        <td><img src="themes/igames/images/menu_spacer.gif" width="2" height="35" border="0" alt="" /><br /></td>
+                                        <td class="top_menu_bttn">
+                                                <a href="javascript:;" onmouseover="MM_showHideLayers('SYS_MENU','','show')">@</a>
+                                        </td>
+                                        <td><img src="themes/igames/images/menu_spacer.gif" width="2" height="35" border="0" alt="" /><br /></td>
+                                        <td class="top_menu_bttn">
+                                                <a href="{LASTUP_TGT}" title="{LASTUP_LNK}">{LASTUP_LNK}</a>
+                                        </td>
+                                        <td><img src="themes/igames/images/menu_spacer.gif" width="2" height="35" border="0" alt="" /><br /></td>
+                                        <td class="top_menu_bttn">
+                                                <a href="{LASTCOM_TGT}" onmouseover="MM_showHideLayers('SYS_MENU','','hide')" title="{LASTCOM_LNK}">{LASTCOM_LNK}</a>
+                                        </td>
+                                        <td><img src="themes/igames/images/menu_spacer.gif" width="2" height="35" border="0" alt="" /><br /></td>
+                                        <td class="top_menu_bttn">
+                                                <a href="{TOPN_TGT}" onmouseover="MM_showHideLayers('SYS_MENU','','hide')" title="{TOPN_LNK}">{TOPN_LNK}</a>
+                                        </td>
+                                        <td><img src="themes/igames/images/menu_spacer.gif" width="2" height="35" border="0" alt="" /><br /></td>
+                                        <td class="top_menu_bttn">
+                                                <a href="{TOPRATED_TGT}" onmouseover="MM_showHideLayers('SYS_MENU','','hide')" title="{TOPRATED_LNK}">{TOPRATED_LNK}</a>
+                                        </td>
+                                        <td><img src="themes/igames/images/menu_spacer.gif" width="2" height="35" border="0" alt="" /><br /></td>
+                                        <td class="top_menu_bttn">
+                                                <a href="{FAV_TGT}" onmouseover="MM_showHideLayers('SYS_MENU','','hide')" title="{FAV_LNK}">{FAV_LNK}</a>
+                                        </td>
+                                        <td><img src="themes/igames/images/menu_spacer.gif" width="2" height="35" border="0" alt="" /><br /></td>
+                                        <td class="top_menu_right_bttn">
+                                                <a href="{SEARCH_TGT}" onmouseover="MM_showHideLayers('SYS_MENU','','hide')" title="{SEARCH_LNK}">{SEARCH_LNK}</a>
+                                        </td>
+                                        <td width="100%">&nbsp;</td>
+                                </tr>
+                        </table>
+EOT;
+}
+// HTML template for title row of the thumbnail view (album title + sort options)
+$template_thumb_view_title_row = <<<EOT
+
+                        <table width="100%" cellpadding="0" cellspacing="0">
+                        <tr>
+                                <td width="100%" class="statlink">{ALBUM_NAME}</td>
+                                <td class="sortorder_options" style="font-size: 100%;">{TITLE}</td>
+                                <td class="sortorder_options" style="font-size: 100%;"><span class="statlink"><a href="thumbnails.php?album={AID}&amp;page={PAGE}&amp;sort=ta" title="{SORT_TA}">&nbsp;+&nbsp;</a></span></td>
+                                <td class="sortorder_options" style="font-size: 100%;"><span class="statlink"><a href="thumbnails.php?album={AID}&amp;page={PAGE}&amp;sort=td" title="{SORT_TD}">&nbsp;-&nbsp;</a></span></td>
+                                <td>&nbsp;&nbsp;</td>
+                                <td class="sortorder_options" style="font-size: 100%;">{NAME}</td>
+                                <td class="sortorder_options" style="font-size: 100%;"><span class="statlink"><a href="thumbnails.php?album={AID}&amp;page={PAGE}&amp;sort=na" title="{SORT_NA}">&nbsp;+&nbsp;</a></span></td>
+                                <td class="sortorder_options" style="font-size: 100%;"><span class="statlink"><a href="thumbnails.php?album={AID}&amp;page={PAGE}&amp;sort=nd" title="{SORT_ND}">&nbsp;-&nbsp;</a></span></td>
+                                <td>&nbsp;&nbsp;</td>
+                                <td class="sortorder_options" style="font-size: 100%;">{DATE}</td>
+                                <td class="sortorder_options" style="font-size: 100%;"><span class="statlink"><a href="thumbnails.php?album={AID}&amp;page={PAGE}&amp;sort=da" title="{SORT_DA}">&nbsp;+&nbsp;</a></span></td>
+                                <td class="sortorder_options" style="font-size: 100%;"><span class="statlink"><a href="thumbnails.php?album={AID}&amp;page={PAGE}&amp;sort=dd" title="{SORT_DD}">&nbsp;-&nbsp;</a></span></td>
+                                <td>&nbsp;&nbsp;</td>
+                                <td class="sortorder_options" style="font-size: 100%;">{POSITION}</td>
+                                <td class="sortorder_options" style="font-size: 100%;"><span class="statlink"><a href="thumbnails.php?album={AID}&amp;page={PAGE}&amp;sort=pa" title="{SORT_PA}">&nbsp;+&nbsp;</a></span></td>
+                                <td class="sortorder_options" style="font-size: 100%;"><span class="statlink"><a href="thumbnails.php?album={AID}&amp;page={PAGE}&amp;sort=pd" title="{SORT_PD}">&nbsp;-&nbsp;</a></span></td>
+                        </tr>
+                        </table>
+
+EOT;
+
+
+
+
+// Function to start a 'standard' table
+function starttable($width = '-1', $title = '', $title_colspan = '1')
+{
+    global $CONFIG;
+
+    if ($width == '-1') $width = $CONFIG['picture_table_width'];
+    if ($width == '100%') $width = $CONFIG['main_table_width'];
+    if ($title) {
+        echo <<<EOT
+<!-- Start standard table title -->
+<table align="center" width="$width" cellspacing="0" cellpadding="0" class="maintablea">
+        <tr>
+                <td>
+                        <table width="100%" cellspacing="0" cellpadding="0" class="tableh1a">
+                                <tr>
+                                        <td><img src='themes/igames/images/box_left_icon.gif' hspace="5" alt="" /> </td>
+                                        <td  class="tableh1a" width="95%">$title</td>
+                                        <td width="5%"> &nbsp; </td>
+                                </tr>
+                        </table>
+                </td>
+        </tr>
+</table>
+<!-- Start standard table -->
+<table align="center" width="$width" cellspacing="1" cellpadding="0" class="maintableb">
+
+EOT;
+    } else {
+        echo <<<EOT
+
+<!-- Start standard table -->
+<table align="center" width="$width" cellspacing="1" cellpadding="0" class="maintable">
+
+EOT;
+    }
+}
+
+
+
+
 ?>
\ No newline at end of file
diff -x .svn -aruN 1.4.24.src/themes/mac_ox_x/style.css 1.4.25.src/themes/mac_ox_x/style.css
--- 1.4.24.src/themes/mac_ox_x/style.css	2009-05-21 15:03:09.000000000 -0500
+++ 1.4.25.src/themes/mac_ox_x/style.css	2009-05-26 11:25:48.000000000 -0500
@@ -1,696 +1,696 @@
-/*************************
-  Coppermine Photo Gallery
-  ************************
-  Copyright (c) 2003-2009 Coppermine Dev Team
-  v1.1 originally written by Gregory DEMAR
-
-  This program is free software; you can redistribute it and/or modify
-  it under the terms of the GNU General Public License version 3
-  as published by the Free Software Foundation.
-  
-  ********************************************
-  Coppermine version: 1.4.24
-  $HeadURL: https://coppermine.svn.sourceforge.net/svnroot/coppermine/trunk/cpg1.4.x/themes/mac_ox_x/style.css $
-  $Revision: 5969 $
-  $Author: gaugau $
-  $Date: 2009-05-21 22:03:33 +0200 (Do, 21 Mai 2009) $
-**********************************************/
-
-/* Colors used:                                */
-/* --------------------------------------------*/
-/* #000000 = RBG   0,  0,  0 = (black)         */
-/* #7F7F7F = RBG 127,127,127 = (dark grey)     */
-/* #666666 = RBG 102,102,102 = (medium grey)   */
-/* #999999 = RBG 153,153,153 = (light grey)    */
-/* #FAFAFA = RBG 250,250,250 = (light grey)    */
-/* #BDBEBD = RBG 189,190,189 = (light grey)    */
-/* #EFF0F1 = RBG 239,240,241 = (dark white)    */
-/* #EFEFEF = RBG 239,239,239 = (dark white)    */
-/* #FFFFFF = RBG 255,255,255 = (white)         */
-/* if you don't like a color, just do a search */
-/* and replace on the hex color...             */
-
-/* Foreground color definition */
-body { color : #000000; }
-
-.topmenu, .topmenu a { color : #000000; }
-
-.topmenu a:hover { color : #666666; }
-
-.tableh1, .tableh1a, .tableh1_compact, .navmenu, .navmenu a, .sortorder_cell, .sortorder_options, .statlink, .statlink a, .statlink a:hover { color : #000000; }
-
-.tableh2, .tableh2_compact, .catrow_noalb { color : #000000; }
-
-.textinput, .listbox, .radio, .checkbox { color: #000000; }
-
-.alblink, .alblink a, .catlink, .catlink a { color : #000000; }
-
-a,  .bblink a, .user_thumb_infobox a  { color: #000000; }
-
-a:hover, .bblink a:hover, .user_thumb_infobox a:hover, .alblink a:hover, .catlink a:hover { color : #666666; }
-
-.button, .comment_button, .admin_menu_thumb, .admin_menu_thumb a, .admin_menu_thumb a:hover, .admin_menu, .admin_menu a, .admin_menu a:hover { color : #000000; }
-
-.comment_date { color : #999999; }
-
-.footer, .footer a, .footer a:hover { color : #999999; }
-
-
-/* Background colors definition */
-body { background-color: #FAFAFA; }
-
-.textinput, .listbox, .radio, .checkbox { background-color: #FFFFFF; }
-
-.tableh1, .tableh1_compact, .navmenu, .navmenu a, .navmenu a:hover  {         background : #FFFFFF ; }
-
-.tableh2, .catrow_noalb, .tableh2_compact, .tablef, .img_caption_table th {         background : #FFFFFF ; }
-
-.tableb, .catrow, .display_media, .tableb_compact, .thumbnails, .img_caption_table td { background : #FFFFFF ; }
-
-
-/* Borders for input controls */
-.textinput, .listbox, .button, .comment_button, .admin_menu, .admin_menu_thumb  {        border: 1px solid #666666; }
-
-.image { border: 1px solid #000000; }
-
-.imageborder { border: 1px solid #000000; background-color: #FFFFFF; margin-top: 30px; margin-bottom: 30px; }
-
-.maintable, .maintableb { background-color: #7F7F7F; }
-
-.img_caption_table th, .img_caption_table td { border-top : 1px solid #7F7F7F; }
-
-
-/* Fonts definition */
-body { font-family: "Trebuchet MS", Verdana, Geneva, Arial, sans-serif; }
-
-
-
-
-table {
-        font-size : 12px;
-}
-
-
-body {
-        font-size : 12px;
-        margin: 0px;
-}
-
-
-h1{
-        font-weight: normal;
-        font-size: 24px;
-        text-decoration: none;
-        color: #000000;
-        margin: 0px;
-}
-
-
-h2 {
-        font-size: 18px;
-        margin: 0px;
-}
-
-
-h3 {
-        font-weight: normal;
-        font-size: 14px;
-        color: #999999;
-        margin: 0px;
-}
-
-
-p {
-        font-size: 100%;
-        margin: 2px 0px;
-}
-
-
-ul {
-        margin-left: 5px;
-        padding: 0px;
-}
-
-
-li {
-        margin-left: 10px;
-        margin-top: 4px;
-        margin-bottom: 4px;
-        padding: 0px;
-        list-style-position: outside;
-        list-style-type: disc;
-}
-
-.top_panel {
-        background-image: url(images/top_panel_r1_c1b.gif);
-        background-repeat: no-repeat;
-        background-color: #FFFFFF;
-        background-position: left;
-}
-
-.top_panel_r {
-        background-image:url(images/top_panel_r1_c2.jpg);
-        background-repeat:no-repeat;
-        background-position:right;
-}
-
-
-
-.top_menu_bttn a {
-        text-decoration: none;
-        position: relative;
-        display: block;
-        margin-top: 2px;
-        color: #000000;
-        font-size: 14px;
-}
-
-
-.top_menu_bttn a:hover {
-        text-decoration: underline;
-        margin-top: 4px;
-        color: #000000;
-}
-
-
-.textinput {
-        font-size: 100%;
-        padding-right: 3px;
-        padding-left: 3px;
-}
-
-
-.listbox {
-        font-size: 100%;
-        vertical-align : middle;
-}
-
-
-.button {
-        font-size: 100%;
-        background-image : url(images/button_bg.gif);
-        background-position : bottom;
-}
-
-
-.comment_button {
-        font-size: 100%;
-        background-image : url(images/button_bg.gif);
-        background-position : bottom;
-        padding-left: 3px;
-        padding-right: 3px;
-}
-
-
-.radio {
-        font-size: 100%;
-        vertical-align : middle;
-}
-
-
-.checkbox {
-        font-size: 100%;
-        vertical-align : middle;
-}
-
-
-a {
-        text-decoration: none;
-}
-
-
-a:hover {
-        text-decoration: underline;
-}
-
-
-.bblink a {
-        text-decoration: none;
-}
-
-
-.bblink a:hover {
-        text-decoration: underline;
-}
-
-
-.maintable {
-}
-
-
-.maintablea {
-        margin-top: 5px;
-}
-
-
-.maintableb {
-}
-
-
-.tableh1 {
-        padding-right: 10px;
-        padding-left: 10px;
-        height: 25px;
-        background-image: url(images/tableh1_bg.gif);
-}
-
-
-.tableh1a td {
-        border: none;
-        height: 30px;
-        font-size: 150%;
-        font-weight: bold;
-}
-
-
-.tableh1a img {
-        display: block;
-}
-
-
-.tableh1_compact {
-        padding-top: 2px;
-        padding-right: 5px;
-        padding-bottom: 2px;
-        padding-left: 5px;
-        height: 25px;
-        background-image: url(images/tableh1_bg.gif);
-}
-
-
-.tableh2 {
-        padding-top: 3px;
-        padding-right: 10px;
-        padding-bottom: 3px;
-        padding-left: 10px;
-        background-image: url(images/tableh2_bg.gif);
-}
-
-
-.tableh2_compact {
-        padding-top: 2px;
-        padding-right: 5px;
-        padding-bottom: 2px;
-        padding-left: 5px;
-        background-image: url(images/tableh2_bg.gif);
-}
-
-
-.tableb {
-        padding-top: 3px;
-        padding-right: 10px;
-        padding-bottom: 3px;
-        padding-left: 10px;
-}
-
-.tableb_compact {
-        padding-top: 2px;
-        padding-right: 5px;
-        padding-bottom: 2px;
-        padding-left: 5px;
-}
-
-
-.tablef {
-        padding-top: 10px;
-        padding-right: 10px;
-        padding-bottom: 10px;
-        padding-left: 10px;
-}
-
-.catrow_noalb {
-        padding-top: 3px;
-        padding-right: 10px;
-        padding-bottom: 3px;
-        padding-left: 10px;
-        background-image: url(images/tableh2_bg.gif);
-}
-
-.catrow {
-        padding-top: 3px;
-        padding-right: 10px;
-        padding-bottom: 3px;
-        padding-left: 10px;
-}
-
-.album_stat {
-        font-size : 85%;
-        margin: 5px 0px;
-}
-
-.thumb_filename {
-        font-size: 80%;
-        display: block;
-}
-
-.thumb_title {
-        font-weight : bold;
-        font-size: 80%;
-        padding: 2px;
-        display : block;
-}
-
-
-.thumb_caption {
-        font-size: 80%;
-        padding: 1px;
-        display : block;
-}
-
-
-.thumb_caption a {
-        text-decoration: underline;
-}
-
-
-
-.thumb_num_comments {
-        font-weight: normal;
-        font-size: 85%;
-        padding: 2px;
-        font-style : italic;
-        display : block;
-}
-
-
-.user_thumb_infobox {
-        margin-top: 1px;
-        margin-bottom: 1px;
-}
-
-
-.user_thumb_infobox th {
-        font-weight : bold;
-        font-size: 100%;
-        margin-top: 1px;
-        margin-bottom: 1px;
-        text-align : center;
-}
-
-
-.user_thumb_infobox td {
-        font-size: 85%;
-        margin-top: 1px;
-        margin-bottom: 1px;
-        text-align : center;
-}
-
-
-.user_thumb_infobox a {
-        text-decoration: none;
-}
-
-
-.user_thumb_infobox a:hover {
-        text-decoration: underline;
-}
-
-
-.sortorder_options {
-        padding: 0px;
-        margin: 0px;
-        font-weight: normal;
-        font-size: 50%;
-        white-space: nowrap;
-}
-
-
-.navmenu {
-        font-weight: bold;
-        border: none;
-        background-image: url(images/tableh1_bg.gif);
-}
-
-
-.navmenu img {
-        display: block;
-}
-
-
-.navmenu a {
-        display: block;
-        padding-left: 5px;
-        padding-right: 5px;
-        text-decoration: none;
-        background-image: url(images/tableh1_bg.gif);
-        line-height: 25px;
-        height : 25px;
-}
-
-
-.navmenu a:hover {
-        text-decoration: none;
-}
-
-.navmenu_pic {
-        margin-top: 5px;
-}
-
-.admin_menu_thumb {
-        font-size: 90%;
-        background-image: url(images/button_bg.gif);
-        background-position: bottom;
-        font-weight: bold;
-        margin-top: 0px;
-        margin-bottom: 0px;
-        width: 85px;
-}
-
-
-.admin_menu_thumb a {
-        text-decoration: none;
-        display: block;
-        position: relative;
-        padding-top: 1px;
-        padding-bottom: 1px;
-        padding-left: 10px;
-        padding-right: 10px;
-}
-
-
-
-.admin_menu_thumb a:hover {
-        text-decoration: underline;
-}
-
-
-.admin_menu {
-        font-size: 90%;
-        background-image : url(images/button_bg.gif);
-        background-position : bottom;
-        background-repeat: repeat-x;
-        background-color: #EFF0F1;
-        margin-top: 0px;
-        margin-bottom: 0px;
-        text-align: center;
-}
-
-.admin_menu a {
-        text-decoration: none;
-        display: block;
-        position: relative;
-        padding-top: 1px;
-        padding-bottom: 1px;
-        padding-left: 2px;
-        padding-right: 2px;
-}
-
-
-.admin_menu a:hover {
-        text-decoration: underline;
-}
-
-td #admin_menu_anim {
-        background-image : url(images/button_bg_anim.gif);
-}
-
-.comment_date{
-        font-size: 90%;
-        vertical-align : middle;
-}
-
-
-.image {
-        margin: 2px;
-}
-
-.display_media {
-        padding-top: 3px;
-        padding-right: 10px;
-        padding-bottom: 3px;
-        padding-left: 10px;
-}
-
-.thumbnails {
-        padding: 5px;
-}
-
-
-.footer {
-        font-size : 9px;
-}
-
-
-.footer a {
-        text-decoration: none;
-}
-
-
-.footer a:hover {
-        text-decoration: underline;
-}
-
-
-.statlink a {
-        text-decoration: none;
-}
-
-
-.statlink a:hover {
-        text-decoration: underline;
-}
-
-
-.alblink a {
-        text-decoration: underline;
-}
-
-
-.alblink a:hover {
-        text-decoration: underline;
-}
-
-
-.catlink {
-        display: block;
-        margin-bottom: 2px;
-}
-
-
-.catlink a {
-        text-decoration: underline;
-}
-
-
-.catlink a:hover {
-        text-decoration: underline;
-}
-
-
-.topmenu {
-        line-height : 130%;
-        font-size : 110%;
-}
-
-
-.topmenu a {
-        text-decoration : underline;
-}
-
-
-.topmenu a:hover  {
-        text-decoration : underline;
-}
-
-
-.img_caption_table {
-        border: none;
-        width : 100%;
-        margin : 0px;
-}
-
-
-.img_caption_table th {
-        font-size : 100%;
-        padding-top: 4px;
-        padding-right: 10px;
-        padding-bottom: 4px;
-        padding-left: 10px;
-}
-
-
-.img_caption_table td {
-        padding-top: 6px;
-        padding-right: 10px;
-        padding-bottom: 6px;
-        padding-left: 10px;
-        white-space: normal;
-}
-
-.debug_text {
-        border: #BDBEBD;
-        background-color: #EFEFEF;
-        width : 100%;
-        margin : 0px;
-}
-
-.clickable_option {
-        cursor : default;
-}
-
-.listbox_lang {
-        color: #000000;
-        background-color: #FAFAFA;
-        border: 1px solid #FAFAFA;
-        font-size: 80%;
-        display: inline;
-}
-
-#SUB_MENU {
-}
-
-#SUB_MENU a {
-        white-space: nowrap;
-}
-#SYS_MENU {
-        position: relative;
-        bottom: 10px;
-        left: 10px;
-        width:800px;
-        height:15px;
-        z-index:1;
-        text-align:left;
-        margin:0;
-        padding:0;
-        visibility: hidden;
-}
-
-#GAL_NAME {
-          width:400px;
-          height: 65px;
-          margin-left: auto;
-          margin-right: auto;
-          text-align: center;
-}
-
-#MENUS {
-          background-image:url(images/top_panel_r2_c1b.gif);
-          background-repeat: repeat-x;
-          border-collapse: collapse;
-          margin:0;
-          padding:0;
-}
-
-#SELECT_LISTS, #SELECT_FLAGS {
-        text-align: center;
-}
-
-#CUSTOM_FOOTER,#CUSTOM_HEADER {
-        margin:0;
-        padding:0;
-}
-#vanity a {
-        display:block;
-        width:57px;
-        height:20px;
-        margin: 3px 20px;
-}
-#vanity img {border:0}
-#v_php {float:left;background-image:url(../../images/powered-php.gif);}
-#v_php:hover {background-image:url(../../images/h_powered-php.gif);}
-#v_mysql {float:left;background-image:url(../../images/powered-mysql.gif);}
-#v_mysql:hover  {background-image:url(../../images/h_powered-mysql.gif);}
-#v_xhtml {float:right;background-image:url(../../images/valid-xhtml10.gif);}
-#v_xhtml:hover {background-image:url(../../images/h_valid-xhtml10.gif);}
-#v_css {float:right;background-image:url(../../images/valid-css.gif);}
+/*************************
+  Coppermine Photo Gallery
+  ************************
+  Copyright (c) 2003-2009 Coppermine Dev Team
+  v1.1 originally written by Gregory DEMAR
+
+  This program is free software; you can redistribute it and/or modify
+  it under the terms of the GNU General Public License version 3
+  as published by the Free Software Foundation.
+  
+  ********************************************
+  Coppermine version: 1.4.25
+  $HeadURL: https://coppermine.svn.sourceforge.net/svnroot/coppermine/trunk/cpg1.4.x/themes/mac_ox_x/style.css $
+  $Revision: 5997 $
+  $Author: gaugau $
+  $Date: 2009-05-26 08:43:24 +0200 (Di, 26 Mai 2009) $
+**********************************************/
+
+/* Colors used:                                */
+/* --------------------------------------------*/
+/* #000000 = RBG   0,  0,  0 = (black)         */
+/* #7F7F7F = RBG 127,127,127 = (dark grey)     */
+/* #666666 = RBG 102,102,102 = (medium grey)   */
+/* #999999 = RBG 153,153,153 = (light grey)    */
+/* #FAFAFA = RBG 250,250,250 = (light grey)    */
+/* #BDBEBD = RBG 189,190,189 = (light grey)    */
+/* #EFF0F1 = RBG 239,240,241 = (dark white)    */
+/* #EFEFEF = RBG 239,239,239 = (dark white)    */
+/* #FFFFFF = RBG 255,255,255 = (white)         */
+/* if you don't like a color, just do a search */
+/* and replace on the hex color...             */
+
+/* Foreground color definition */
+body { color : #000000; }
+
+.topmenu, .topmenu a { color : #000000; }
+
+.topmenu a:hover { color : #666666; }
+
+.tableh1, .tableh1a, .tableh1_compact, .navmenu, .navmenu a, .sortorder_cell, .sortorder_options, .statlink, .statlink a, .statlink a:hover { color : #000000; }
+
+.tableh2, .tableh2_compact, .catrow_noalb { color : #000000; }
+
+.textinput, .listbox, .radio, .checkbox { color: #000000; }
+
+.alblink, .alblink a, .catlink, .catlink a { color : #000000; }
+
+a,  .bblink a, .user_thumb_infobox a  { color: #000000; }
+
+a:hover, .bblink a:hover, .user_thumb_infobox a:hover, .alblink a:hover, .catlink a:hover { color : #666666; }
+
+.button, .comment_button, .admin_menu_thumb, .admin_menu_thumb a, .admin_menu_thumb a:hover, .admin_menu, .admin_menu a, .admin_menu a:hover { color : #000000; }
+
+.comment_date { color : #999999; }
+
+.footer, .footer a, .footer a:hover { color : #999999; }
+
+
+/* Background colors definition */
+body { background-color: #FAFAFA; }
+
+.textinput, .listbox, .radio, .checkbox { background-color: #FFFFFF; }
+
+.tableh1, .tableh1_compact, .navmenu, .navmenu a, .navmenu a:hover  {         background : #FFFFFF ; }
+
+.tableh2, .catrow_noalb, .tableh2_compact, .tablef, .img_caption_table th {         background : #FFFFFF ; }
+
+.tableb, .catrow, .display_media, .tableb_compact, .thumbnails, .img_caption_table td { background : #FFFFFF ; }
+
+
+/* Borders for input controls */
+.textinput, .listbox, .button, .comment_button, .admin_menu, .admin_menu_thumb  {        border: 1px solid #666666; }
+
+.image { border: 1px solid #000000; }
+
+.imageborder { border: 1px solid #000000; background-color: #FFFFFF; margin-top: 30px; margin-bottom: 30px; }
+
+.maintable, .maintableb { background-color: #7F7F7F; }
+
+.img_caption_table th, .img_caption_table td { border-top : 1px solid #7F7F7F; }
+
+
+/* Fonts definition */
+body { font-family: "Trebuchet MS", Verdana, Geneva, Arial, sans-serif; }
+
+
+
+
+table {
+        font-size : 12px;
+}
+
+
+body {
+        font-size : 12px;
+        margin: 0px;
+}
+
+
+h1{
+        font-weight: normal;
+        font-size: 24px;
+        text-decoration: none;
+        color: #000000;
+        margin: 0px;
+}
+
+
+h2 {
+        font-size: 18px;
+        margin: 0px;
+}
+
+
+h3 {
+        font-weight: normal;
+        font-size: 14px;
+        color: #999999;
+        margin: 0px;
+}
+
+
+p {
+        font-size: 100%;
+        margin: 2px 0px;
+}
+
+
+ul {
+        margin-left: 5px;
+        padding: 0px;
+}
+
+
+li {
+        margin-left: 10px;
+        margin-top: 4px;
+        margin-bottom: 4px;
+        padding: 0px;
+        list-style-position: outside;
+        list-style-type: disc;
+}
+
+.top_panel {
+        background-image: url(images/top_panel_r1_c1b.gif);
+        background-repeat: no-repeat;
+        background-color: #FFFFFF;
+        background-position: left;
+}
+
+.top_panel_r {
+        background-image:url(images/top_panel_r1_c2.jpg);
+        background-repeat:no-repeat;
+        background-position:right;
+}
+
+
+
+.top_menu_bttn a {
+        text-decoration: none;
+        position: relative;
+        display: block;
+        margin-top: 2px;
+        color: #000000;
+        font-size: 14px;
+}
+
+
+.top_menu_bttn a:hover {
+        text-decoration: underline;
+        margin-top: 4px;
+        color: #000000;
+}
+
+
+.textinput {
+        font-size: 100%;
+        padding-right: 3px;
+        padding-left: 3px;
+}
+
+
+.listbox {
+        font-size: 100%;
+        vertical-align : middle;
+}
+
+
+.button {
+        font-size: 100%;
+        background-image : url(images/button_bg.gif);
+        background-position : bottom;
+}
+
+
+.comment_button {
+        font-size: 100%;
+        background-image : url(images/button_bg.gif);
+        background-position : bottom;
+        padding-left: 3px;
+        padding-right: 3px;
+}
+
+
+.radio {
+        font-size: 100%;
+        vertical-align : middle;
+}
+
+
+.checkbox {
+        font-size: 100%;
+        vertical-align : middle;
+}
+
+
+a {
+        text-decoration: none;
+}
+
+
+a:hover {
+        text-decoration: underline;
+}
+
+
+.bblink a {
+        text-decoration: none;
+}
+
+
+.bblink a:hover {
+        text-decoration: underline;
+}
+
+
+.maintable {
+}
+
+
+.maintablea {
+        margin-top: 5px;
+}
+
+
+.maintableb {
+}
+
+
+.tableh1 {
+        padding-right: 10px;
+        padding-left: 10px;
+        height: 25px;
+        background-image: url(images/tableh1_bg.gif);
+}
+
+
+.tableh1a td {
+        border: none;
+        height: 30px;
+        font-size: 150%;
+        font-weight: bold;
+}
+
+
+.tableh1a img {
+        display: block;
+}
+
+
+.tableh1_compact {
+        padding-top: 2px;
+        padding-right: 5px;
+        padding-bottom: 2px;
+        padding-left: 5px;
+        height: 25px;
+        background-image: url(images/tableh1_bg.gif);
+}
+
+
+.tableh2 {
+        padding-top: 3px;
+        padding-right: 10px;
+        padding-bottom: 3px;
+        padding-left: 10px;
+        background-image: url(images/tableh2_bg.gif);
+}
+
+
+.tableh2_compact {
+        padding-top: 2px;
+        padding-right: 5px;
+        padding-bottom: 2px;
+        padding-left: 5px;
+        background-image: url(images/tableh2_bg.gif);
+}
+
+
+.tableb {
+        padding-top: 3px;
+        padding-right: 10px;
+        padding-bottom: 3px;
+        padding-left: 10px;
+}
+
+.tableb_compact {
+        padding-top: 2px;
+        padding-right: 5px;
+        padding-bottom: 2px;
+        padding-left: 5px;
+}
+
+
+.tablef {
+        padding-top: 10px;
+        padding-right: 10px;
+        padding-bottom: 10px;
+        padding-left: 10px;
+}
+
+.catrow_noalb {
+        padding-top: 3px;
+        padding-right: 10px;
+        padding-bottom: 3px;
+        padding-left: 10px;
+        background-image: url(images/tableh2_bg.gif);
+}
+
+.catrow {
+        padding-top: 3px;
+        padding-right: 10px;
+        padding-bottom: 3px;
+        padding-left: 10px;
+}
+
+.album_stat {
+        font-size : 85%;
+        margin: 5px 0px;
+}
+
+.thumb_filename {
+        font-size: 80%;
+        display: block;
+}
+
+.thumb_title {
+        font-weight : bold;
+        font-size: 80%;
+        padding: 2px;
+        display : block;
+}
+
+
+.thumb_caption {
+        font-size: 80%;
+        padding: 1px;
+        display : block;
+}
+
+
+.thumb_caption a {
+        text-decoration: underline;
+}
+
+
+
+.thumb_num_comments {
+        font-weight: normal;
+        font-size: 85%;
+        padding: 2px;
+        font-style : italic;
+        display : block;
+}
+
+
+.user_thumb_infobox {
+        margin-top: 1px;
+        margin-bottom: 1px;
+}
+
+
+.user_thumb_infobox th {
+        font-weight : bold;
+        font-size: 100%;
+        margin-top: 1px;
+        margin-bottom: 1px;
+        text-align : center;
+}
+
+
+.user_thumb_infobox td {
+        font-size: 85%;
+        margin-top: 1px;
+        margin-bottom: 1px;
+        text-align : center;
+}
+
+
+.user_thumb_infobox a {
+        text-decoration: none;
+}
+
+
+.user_thumb_infobox a:hover {
+        text-decoration: underline;
+}
+
+
+.sortorder_options {
+        padding: 0px;
+        margin: 0px;
+        font-weight: normal;
+        font-size: 50%;
+        white-space: nowrap;
+}
+
+
+.navmenu {
+        font-weight: bold;
+        border: none;
+        background-image: url(images/tableh1_bg.gif);
+}
+
+
+.navmenu img {
+        display: block;
+}
+
+
+.navmenu a {
+        display: block;
+        padding-left: 5px;
+        padding-right: 5px;
+        text-decoration: none;
+        background-image: url(images/tableh1_bg.gif);
+        line-height: 25px;
+        height : 25px;
+}
+
+
+.navmenu a:hover {
+        text-decoration: none;
+}
+
+.navmenu_pic {
+        margin-top: 5px;
+}
+
+.admin_menu_thumb {
+        font-size: 90%;
+        background-image: url(images/button_bg.gif);
+        background-position: bottom;
+        font-weight: bold;
+        margin-top: 0px;
+        margin-bottom: 0px;
+        width: 85px;
+}
+
+
+.admin_menu_thumb a {
+        text-decoration: none;
+        display: block;
+        position: relative;
+        padding-top: 1px;
+        padding-bottom: 1px;
+        padding-left: 10px;
+        padding-right: 10px;
+}
+
+
+
+.admin_menu_thumb a:hover {
+        text-decoration: underline;
+}
+
+
+.admin_menu {
+        font-size: 90%;
+        background-image : url(images/button_bg.gif);
+        background-position : bottom;
+        background-repeat: repeat-x;
+        background-color: #EFF0F1;
+        margin-top: 0px;
+        margin-bottom: 0px;
+        text-align: center;
+}
+
+.admin_menu a {
+        text-decoration: none;
+        display: block;
+        position: relative;
+        padding-top: 1px;
+        padding-bottom: 1px;
+        padding-left: 2px;
+        padding-right: 2px;
+}
+
+
+.admin_menu a:hover {
+        text-decoration: underline;
+}
+
+td #admin_menu_anim {
+        background-image : url(images/button_bg_anim.gif);
+}
+
+.comment_date{
+        font-size: 90%;
+        vertical-align : middle;
+}
+
+
+.image {
+        margin: 2px;
+}
+
+.display_media {
+        padding-top: 3px;
+        padding-right: 10px;
+        padding-bottom: 3px;
+        padding-left: 10px;
+}
+
+.thumbnails {
+        padding: 5px;
+}
+
+
+.footer {
+        font-size : 9px;
+}
+
+
+.footer a {
+        text-decoration: none;
+}
+
+
+.footer a:hover {
+        text-decoration: underline;
+}
+
+
+.statlink a {
+        text-decoration: none;
+}
+
+
+.statlink a:hover {
+        text-decoration: underline;
+}
+
+
+.alblink a {
+        text-decoration: underline;
+}
+
+
+.alblink a:hover {
+        text-decoration: underline;
+}
+
+
+.catlink {
+        display: block;
+        margin-bottom: 2px;
+}
+
+
+.catlink a {
+        text-decoration: underline;
+}
+
+
+.catlink a:hover {
+        text-decoration: underline;
+}
+
+
+.topmenu {
+        line-height : 130%;
+        font-size : 110%;
+}
+
+
+.topmenu a {
+        text-decoration : underline;
+}
+
+
+.topmenu a:hover  {
+        text-decoration : underline;
+}
+
+
+.img_caption_table {
+        border: none;
+        width : 100%;
+        margin : 0px;
+}
+
+
+.img_caption_table th {
+        font-size : 100%;
+        padding-top: 4px;
+        padding-right: 10px;
+        padding-bottom: 4px;
+        padding-left: 10px;
+}
+
+
+.img_caption_table td {
+        padding-top: 6px;
+        padding-right: 10px;
+        padding-bottom: 6px;
+        padding-left: 10px;
+        white-space: normal;
+}
+
+.debug_text {
+        border: #BDBEBD;
+        background-color: #EFEFEF;
+        width : 100%;
+        margin : 0px;
+}
+
+.clickable_option {
+        cursor : default;
+}
+
+.listbox_lang {
+        color: #000000;
+        background-color: #FAFAFA;
+        border: 1px solid #FAFAFA;
+        font-size: 80%;
+        display: inline;
+}
+
+#SUB_MENU {
+}
+
+#SUB_MENU a {
+        white-space: nowrap;
+}
+#SYS_MENU {
+        position: relative;
+        bottom: 10px;
+        left: 10px;
+        width:800px;
+        height:15px;
+        z-index:1;
+        text-align:left;
+        margin:0;
+        padding:0;
+        visibility: hidden;
+}
+
+#GAL_NAME {
+          width:400px;
+          height: 65px;
+          margin-left: auto;
+          margin-right: auto;
+          text-align: center;
+}
+
+#MENUS {
+          background-image:url(images/top_panel_r2_c1b.gif);
+          background-repeat: repeat-x;
+          border-collapse: collapse;
+          margin:0;
+          padding:0;
+}
+
+#SELECT_LISTS, #SELECT_FLAGS {
+        text-align: center;
+}
+
+#CUSTOM_FOOTER,#CUSTOM_HEADER {
+        margin:0;
+        padding:0;
+}
+#vanity a {
+        display:block;
+        width:57px;
+        height:20px;
+        margin: 3px 20px;
+}
+#vanity img {border:0}
+#v_php {float:left;background-image:url(../../images/powered-php.gif);}
+#v_php:hover {background-image:url(../../images/h_powered-php.gif);}
+#v_mysql {float:left;background-image:url(../../images/powered-mysql.gif);}
+#v_mysql:hover  {background-image:url(../../images/h_powered-mysql.gif);}
+#v_xhtml {float:right;background-image:url(../../images/valid-xhtml10.gif);}
+#v_xhtml:hover {background-image:url(../../images/h_valid-xhtml10.gif);}
+#v_css {float:right;background-image:url(../../images/valid-css.gif);}
 #v_css:hover{background-image:url(../../images/h_valid-css.gif);}
\ No newline at end of file
diff -x .svn -aruN 1.4.24.src/themes/mac_ox_x/template.html 1.4.25.src/themes/mac_ox_x/template.html
--- 1.4.24.src/themes/mac_ox_x/template.html	2009-05-21 15:03:09.000000000 -0500
+++ 1.4.25.src/themes/mac_ox_x/template.html	2009-05-26 11:25:48.000000000 -0500
@@ -1,85 +1,85 @@
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en" dir="{LANG_DIR}">
-<head>
-<meta http-equiv="Content-Type" content="text/html; charset={CHARSET}" />
-<meta http-equiv="Pragma" content="no-cache" />
-<title>{TITLE}</title>
-{META}
-<link rel="stylesheet" href="themes/mac_ox_x/style.css" type="text/css" />
-<script type="text/javascript" src="scripts.js"></script>
-<script language="JavaScript" type="text/JavaScript">
-<!--
-function MM_findObj(n, d) { //v4.01
-  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
-    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
-  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
-  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
-  if(!x && d.getElementById) x=d.getElementById(n); return x;
-}
-
-function MM_showHideLayers() { //v6.0
-  var i,p,v,obj,args=MM_showHideLayers.arguments;
-  for (i=0; i<(args.length-2); i+=3) if ((obj=MM_findObj(args[i]))!=null) { v=args[i+2];
-    if (obj.style) { obj=obj.style; v=(v=='show')?'visible':(v=='hide')?'hidden':v; }
-    obj.visibility=v; }
-}
-//-->
-</script>
-<!--
-  SVN version info:
-  Coppermine version: 1.4.24
-  $Revision: 5969 $
-  $LastChangedBy: gaugau $
-  $Date: 2009-05-21 22:03:33 +0200 (Do, 21 Mai 2009) $
--->
-</head>
-<body>
-<div id="CUSTOM_HEADER">
-  {CUSTOM_HEADER}
-</div>
-
-<div class="top_panel">
-  <div class="top_panel_r">
-    <div id="GAL_NAME">
-      <h1>{GAL_NAME}</h1>
-      <h3>{GAL_DESCRIPTION}</h3>
-    </div>
-  </div>
-</div>
-  
-<div id="MENUS">
-  <div id="SUB_MENU">
-    {SUB_MENU}
-  </div>
-  <div id="SYS_MENU">
-    {SYS_MENU}
-  </div>
-</div>
-
-
-<div id="GALLERY">
-  {ADMIN_MENU}
-  {GALLERY}
-</div>
-
-
-<div id="SELECT_LISTS">
-  {THEME_SELECT_LIST}
-  {LANGUAGE_SELECT_LIST}
-</div>
-
-
-<div id="SELECT_FLAGS">
-  {LANGUAGE_SELECT_FLAGS}
-</div>
-
-<div id="CUSTOM_FOOTER">
-  {CUSTOM_FOOTER}
-</div>
-
-<div id="VANITY">
-  {VANITY}
-</div>
-  
-</body>
-</html>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en" dir="{LANG_DIR}">
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset={CHARSET}" />
+<meta http-equiv="Pragma" content="no-cache" />
+<title>{TITLE}</title>
+{META}
+<link rel="stylesheet" href="themes/mac_ox_x/style.css" type="text/css" />
+<script type="text/javascript" src="scripts.js"></script>
+<script language="JavaScript" type="text/JavaScript">
+<!--
+function MM_findObj(n, d) { //v4.01
+  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
+    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
+  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
+  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
+  if(!x && d.getElementById) x=d.getElementById(n); return x;
+}
+
+function MM_showHideLayers() { //v6.0
+  var i,p,v,obj,args=MM_showHideLayers.arguments;
+  for (i=0; i<(args.length-2); i+=3) if ((obj=MM_findObj(args[i]))!=null) { v=args[i+2];
+    if (obj.style) { obj=obj.style; v=(v=='show')?'visible':(v=='hide')?'hidden':v; }
+    obj.visibility=v; }
+}
+//-->
+</script>
+<!--
+  SVN version info:
+  Coppermine version: 1.4.25
+  $Revision: 5997 $
+  $LastChangedBy: gaugau $
+  $Date: 2009-05-26 08:43:24 +0200 (Di, 26 Mai 2009) $
+-->
+</head>
+<body>
+<div id="CUSTOM_HEADER">
+  {CUSTOM_HEADER}
+</div>
+
+<div class="top_panel">
+  <div class="top_panel_r">
+    <div id="GAL_NAME">
+      <h1>{GAL_NAME}</h1>
+      <h3>{GAL_DESCRIPTION}</h3>
+    </div>
+  </div>
+</div>
+  
+<div id="MENUS">
+  <div id="SUB_MENU">
+    {SUB_MENU}
+  </div>
+  <div id="SYS_MENU">
+    {SYS_MENU}
+  </div>
+</div>
+
+
+<div id="GALLERY">
+  {ADMIN_MENU}
+  {GALLERY}
+</div>
+
+
+<div id="SELECT_LISTS">
+  {THEME_SELECT_LIST}
+  {LANGUAGE_SELECT_LIST}
+</div>
+
+
+<div id="SELECT_FLAGS">
+  {LANGUAGE_SELECT_FLAGS}
+</div>
+
+<div id="CUSTOM_FOOTER">
+  {CUSTOM_FOOTER}
+</div>
+
+<div id="VANITY">
+  {VANITY}
+</div>
+  
+</body>
+</html>
diff -x .svn -aruN 1.4.24.src/themes/mac_ox_x/theme.php 1.4.25.src/themes/mac_ox_x/theme.php
--- 1.4.24.src/themes/mac_ox_x/theme.php	2009-05-21 15:03:09.000000000 -0500
+++ 1.4.25.src/themes/mac_ox_x/theme.php	2009-05-26 11:25:48.000000000 -0500
@@ -1,196 +1,196 @@
-<?php
-/*************************
-  Coppermine Photo Gallery
-  ************************
-  Copyright (c) 2003-2009 Coppermine Dev Team
-  v1.1 originally written by Gregory DEMAR
-
-  This program is free software; you can redistribute it and/or modify
-  it under the terms of the GNU General Public License version 3
-  as published by the Free Software Foundation.
-  
-  ********************************************
-  Coppermine version: 1.4.24
-  $HeadURL: https://coppermine.svn.sourceforge.net/svnroot/coppermine/trunk/cpg1.4.x/themes/mac_ox_x/theme.php $
-  $Revision: 5969 $
-  $Author: gaugau $
-  $Date: 2009-05-21 22:03:33 +0200 (Do, 21 Mai 2009) $
-**********************************************/
-
-// ------------------------------------------------------------------------- //
-// This theme has had redundant CORE items removed                           //
-// ------------------------------------------------------------------------- //
-define('THEME_HAS_RATING_GRAPHICS', 1);
-define('THEME_HAS_NO_SUB_MENU_BUTTONS',1);
-define('THEME_IS_XHTML10_TRANSITIONAL',1);  // Remove this if you edit this template until
-                                            // you have validated it. See docs/theme.htm.
-
-// HTML template for sys_menu
-$template_sys_menu = <<<EOT
-         |{BUTTONS}|
-EOT;
-
-// HTML template for template sys_menu spacer
-$template_sys_menu_spacer ="|";
-
-// HTML template for template sub_menu
-// special note: I left the java 'hide' off of the first and third buttons to help avoid trouble keeping sys_menu open. :Donnoman
-
-$template_sub_menu = <<<EOT
-<table cellpadding="0" cellspacing="0" border="0" width="100%">
-<tr>
-    <td width="50%"></td>
-<!-- BEGIN custom_link -->
-	<td><img src="themes/mac_ox_x/images/menu_button_bg_left.gif" border="0" alt="" /><br /></td>
-    <td style="background-image:url(themes/mac_ox_x/images/menu_button_bg_middle.gif);" valign="top">
-            <a href="{CUSTOM_LNK_TGT}" title="{CUSTOM_LNK_TITLE}">{CUSTOM_LNK_LNK}</a>
-    </td>
-    <td><img src="themes/mac_ox_x/images/menu_button_bg_right.gif" border="0" alt="" /><br /></td>
-<!-- END custom_link -->
-    <td><img src="themes/mac_ox_x/images/menu_button_bg_left.gif" border="0" alt="" /><br /></td>
-    <td style="background-image:url(themes/mac_ox_x/images/menu_button_bg_middle.gif);" valign="top">
-            <a href="index.php"><img src="themes/mac_ox_x/images/home.gif" border="0" alt="" /><br /></a>
-    </td>
-    <td><img src="themes/mac_ox_x/images/menu_button_bg_right.gif" border="0" alt="" /><br /></td>
-    <td><img src="themes/mac_ox_x/images/menu_button_bg_left.gif" border="0" alt="" /><br /></td>
-    <td style="background-image:url(themes/mac_ox_x/images/menu_button_bg_middle.gif);" valign="top">
-            <a href="javascript:;" onmouseover="MM_showHideLayers('SYS_MENU','','show')">@</a>
-    </td>
-    <td><img src="themes/mac_ox_x/images/menu_button_bg_right.gif" border="0" alt="" /><br /></td>
-    <td><img src="themes/mac_ox_x/images/menu_button_bg_left.gif" border="0" alt="" /><br /></td>
-    <td style="background-image:url(themes/mac_ox_x/images/menu_button_bg_middle.gif);" valign="top">
-            <a href="{ALB_LIST_TGT}" title="{ALB_LIST_TITLE}">{ALB_LIST_LNK}</a>
-    </td>
-    <td><img src="themes/mac_ox_x/images/menu_button_bg_right.gif" border="0" alt="" /><br /></td>
-    <td><img src="themes/mac_ox_x/images/menu_button_bg_left.gif" border="0" alt="" /><br /></td>
-    <td style="background-image:url(themes/mac_ox_x/images/menu_button_bg_middle.gif);" valign="top">
-            <a href="{LASTUP_TGT}" onmouseover="MM_showHideLayers('SYS_MENU','','hide')" title="{LASTUP_LNK}">{LASTUP_LNK}</a>
-    </td>
-    <td><img src="themes/mac_ox_x/images/menu_button_bg_right.gif" border="0" alt="" /><br /></td>
-    <td><img src="themes/mac_ox_x/images/menu_button_bg_left.gif" border="0" alt="" /><br /></td>
-    <td style="background-image:url(themes/mac_ox_x/images/menu_button_bg_middle.gif);" valign="top">
-            <a href="{LASTCOM_TGT}" onmouseover="MM_showHideLayers('SYS_MENU','','hide')" title="{LASTCOM_LNK}">{LASTCOM_LNK}</a>
-    </td>
-    <td><img src="themes/mac_ox_x/images/menu_button_bg_right.gif" border="0" alt="" /><br /></td>
-    <td><img src="themes/mac_ox_x/images/menu_button_bg_left.gif" border="0" alt="" /><br /></td>
-    <td style="background-image:url(themes/mac_ox_x/images/menu_button_bg_middle.gif);" valign="top">
-            <a href="{TOPN_TGT}" onmouseover="MM_showHideLayers('SYS_MENU','','hide')" title="{TOPN_LNK}">{TOPN_LNK}</a>
-    </td>
-    <td><img src="themes/mac_ox_x/images/menu_button_bg_right.gif" border="0" alt="" /><br /></td>
-    <td><img src="themes/mac_ox_x/images/menu_button_bg_left.gif" border="0" alt="" /><br /></td>
-    <td style="background-image:url(themes/mac_ox_x/images/menu_button_bg_middle.gif);" valign="top">
-            <a href="{TOPRATED_TGT}" onmouseover="MM_showHideLayers('SYS_MENU','','hide')" title="{TOPRATED_LNK}">{TOPRATED_LNK}</a>
-    </td>
-    <td><img src="themes/mac_ox_x/images/menu_button_bg_right.gif" border="0" alt="" /><br /></td>
-    <td><img src="themes/mac_ox_x/images/menu_button_bg_left.gif" border="0" alt="" /><br /></td>
-    <td style="background-image:url(themes/mac_ox_x/images/menu_button_bg_middle.gif);" valign="top">
-            <a href="{FAV_TGT}" onmouseover="MM_showHideLayers('SYS_MENU','','hide')" title="{FAV_LNK}">{FAV_LNK}</a>
-    </td>
-    <td><img src="themes/mac_ox_x/images/menu_button_bg_right.gif" border="0" alt="" /><br /></td>
-    <td><img src="themes/mac_ox_x/images/menu_button_bg_left.gif" border="0" alt="" /><br /></td>
-    <td style="background-image:url(themes/mac_ox_x/images/menu_button_bg_middle.gif);" valign="top">
-            <a href="{SEARCH_TGT}" onmouseover="MM_showHideLayers('SYS_MENU','','hide')" title="{SEARCH_LNK}">{SEARCH_LNK}</a>
-    </td>
-    <td><img src="themes/mac_ox_x/images/menu_button_bg_right.gif" border="0" alt="" /><br /></td>
-    <td width="50%"></td>
-  </tr>
-</table>
-
-EOT;
-
-
-// HTML template for title row of the thumbnail view (album title + sort options)
-$template_thumb_view_title_row = <<<EOT
-
-                        <table width="100%" cellpadding="0" cellspacing="0">
-                        <tr>
-                                <td width="100%" class="statlink">{ALBUM_NAME}</td>
-                                <td class="sortorder_options" style="font-size: 100%;">{TITLE}</td>
-                                <td class="sortorder_options" style="font-size: 100%;"><span class="statlink"><a href="thumbnails.php?album={AID}&amp;page={PAGE}&amp;sort=ta" title="{SORT_TA}">&nbsp;+&nbsp;</a></span></td>
-                                <td class="sortorder_options" style="font-size: 100%;"><span class="statlink"><a href="thumbnails.php?album={AID}&amp;page={PAGE}&amp;sort=td" title="{SORT_TD}">&nbsp;-&nbsp;</a></span></td>
-                                <td>&nbsp;&nbsp;</td>
-                                <td class="sortorder_options" style="font-size: 100%;">{NAME}</td>
-                                <td class="sortorder_options" style="font-size: 100%;"><span class="statlink"><a href="thumbnails.php?album={AID}&amp;page={PAGE}&amp;sort=na" title="{SORT_NA}">&nbsp;+&nbsp;</a></span></td>
-                                <td class="sortorder_options" style="font-size: 100%;"><span class="statlink"><a href="thumbnails.php?album={AID}&amp;page={PAGE}&amp;sort=nd" title="{SORT_ND}">&nbsp;-&nbsp;</a></span></td>
-                                <td>&nbsp;&nbsp;</td>
-                                <td class="sortorder_options" style="font-size: 100%;">{DATE}</td>
-                                <td class="sortorder_options" style="font-size: 100%;"><span class="statlink"><a href="thumbnails.php?album={AID}&amp;page={PAGE}&amp;sort=da" title="{SORT_DA}">&nbsp;+&nbsp;</a></span></td>
-                                <td class="sortorder_options" style="font-size: 100%;"><span class="statlink"><a href="thumbnails.php?album={AID}&amp;page={PAGE}&amp;sort=dd" title="{SORT_DD}">&nbsp;-&nbsp;</a></span></td>
-                                <td>&nbsp;&nbsp;</td>
-                                <td class="sortorder_options" style="font-size: 100%;">{POSITION}</td>
-                                <td class="sortorder_options" style="font-size: 100%;"><span class="statlink"><a href="thumbnails.php?album={AID}&amp;page={PAGE}&amp;sort=pa" title="{SORT_PA}">&nbsp;+&nbsp;</a></span></td>
-                                <td class="sortorder_options" style="font-size: 100%;"><span class="statlink"><a href="thumbnails.php?album={AID}&amp;page={PAGE}&amp;sort=pd" title="{SORT_PD}">&nbsp;-&nbsp;</a></span></td>
-                        </tr>
-                        </table>
-
-EOT;
-
-
-
-
-
-
-// Function to start a 'standard' table
-function starttable($width = '-1', $title = '', $title_colspan = '1')
-{
-    global $CONFIG;
-
-    if ($width == '-1') $width = $CONFIG['picture_table_width'];
-    if ($width == '100%') $width = $CONFIG['main_table_width'];
-    if ($title) {
-        echo <<<EOT
-<!-- Start standard table title -->
-<table align="center" width="$width" cellspacing="0" cellpadding="0" class="maintablea">
-        <tr>
-                <td>
-                        <table width="100%" cellspacing="0" cellpadding="0" class="tableh1a">
-                                <tr>
-                                        <td class="tableh1a"><img src="themes/mac_ox_x/images/tableh1a_bg_left.gif" alt="" /></td>
-                                        <td class="tableh1a" style="background-image:url(themes/mac_ox_x/images/tableh1a_bg_middle.gif);" width="100%">$title</td>
-                                        <td class="tableh1a"><img src="themes/mac_ox_x/images/tableh1a_bg_right.gif" alt="" /></td>
-                                </tr>
-                        </table>
-                </td>
-        </tr>
-</table>
-<!-- Start standard table -->
-<table align="center" width="$width" cellspacing="0" cellpadding="0">
-  <tr>
-   <td style="background-image:url(themes/mac_ox_x/images/main_table_r1_c1b.gif);" valign="top"><img name="main_table_r1_c1" src="themes/mac_ox_x/images/main_table_r1_c1.gif" border="0"  alt="" /></td>
-        <td width="100%"><table width="100%" cellspacing="1" cellpadding="0" class="maintableb">
-
-EOT;
-    } else {
-        echo <<<EOT
-
-<!-- Start standard table -->
-<table align="center" width="$width" cellspacing="0" cellpadding="0">
-  <tr>
-   <td style="background-image:url(themes/mac_ox_x/images/main_table_r1_c1b.gif);" valign="top"><img name="main_table_r1_c1" src="themes/mac_ox_x/images/main_table_r1_c1.gif" border="0"  alt="" /></td>
-        <td width="100%"><table width="100%" cellspacing="1" cellpadding="0" class="maintable">
-
-EOT;
-    }
-}
-
-function endtable()
-{
-    echo <<<EOT
-        </table>
-   </td>
-   <td style="background-image:url(themes/mac_ox_x/images/main_table_r1_c3b.gif);" valign="top"><img name="main_table_r1_c3" src="themes/mac_ox_x/images/main_table_r1_c3.gif" border="0"  alt="" /></td>
-  </tr>
-  <tr>
-   <td><img name="main_table_r2_c1" src="themes/mac_ox_x/images/main_table_r2_c1.gif" width="10" height="4" border="0"  alt="" /></td>
-   <td style="background-image:url(themes/mac_ox_x/images/main_table_r2_c2b.gif);"><img name="main_table_r2_c2" src="themes/mac_ox_x/images/main_table_r2_c2.gif" border="0"  alt="" /></td>
-   <td><img name="main_table_r2_c3" src="themes/mac_ox_x/images/main_table_r2_c3.gif" width="10" height="4" border="0"  alt="" /></td>
-  </tr>
-</table>
-<!-- End standard table -->
-
-EOT;
-}
-
-
-
-?>
+<?php
+/*************************
+  Coppermine Photo Gallery
+  ************************
+  Copyright (c) 2003-2009 Coppermine Dev Team
+  v1.1 originally written by Gregory DEMAR
+
+  This program is free software; you can redistribute it and/or modify
+  it under the terms of the GNU General Public License version 3
+  as published by the Free Software Foundation.
+  
+  ********************************************
+  Coppermine version: 1.4.25
+  $HeadURL: https://coppermine.svn.sourceforge.net/svnroot/coppermine/trunk/cpg1.4.x/themes/mac_ox_x/theme.php $
+  $Revision: 5997 $
+  $Author: gaugau $
+  $Date: 2009-05-26 08:43:24 +0200 (Di, 26 Mai 2009) $
+**********************************************/
+
+// ------------------------------------------------------------------------- //
+// This theme has had redundant CORE items removed                           //
+// ------------------------------------------------------------------------- //
+define('THEME_HAS_RATING_GRAPHICS', 1);
+define('THEME_HAS_NO_SUB_MENU_BUTTONS',1);
+define('THEME_IS_XHTML10_TRANSITIONAL',1);  // Remove this if you edit this template until
+                                            // you have validated it. See docs/theme.htm.
+
+// HTML template for sys_menu
+$template_sys_menu = <<<EOT
+         |{BUTTONS}|
+EOT;
+
+// HTML template for template sys_menu spacer
+$template_sys_menu_spacer ="|";
+
+// HTML template for template sub_menu
+// special note: I left the java 'hide' off of the first and third buttons to help avoid trouble keeping sys_menu open. :Donnoman
+
+$template_sub_menu = <<<EOT
+<table cellpadding="0" cellspacing="0" border="0" width="100%">
+<tr>
+    <td width="50%"></td>
+<!-- BEGIN custom_link -->
+	<td><img src="themes/mac_ox_x/images/menu_button_bg_left.gif" border="0" alt="" /><br /></td>
+    <td style="background-image:url(themes/mac_ox_x/images/menu_button_bg_middle.gif);" valign="top">
+            <a href="{CUSTOM_LNK_TGT}" title="{CUSTOM_LNK_TITLE}">{CUSTOM_LNK_LNK}</a>
+    </td>
+    <td><img src="themes/mac_ox_x/images/menu_button_bg_right.gif" border="0" alt="" /><br /></td>
+<!-- END custom_link -->
+    <td><img src="themes/mac_ox_x/images/menu_button_bg_left.gif" border="0" alt="" /><br /></td>
+    <td style="background-image:url(themes/mac_ox_x/images/menu_button_bg_middle.gif);" valign="top">
+            <a href="index.php"><img src="themes/mac_ox_x/images/home.gif" border="0" alt="" /><br /></a>
+    </td>
+    <td><img src="themes/mac_ox_x/images/menu_button_bg_right.gif" border="0" alt="" /><br /></td>
+    <td><img src="themes/mac_ox_x/images/menu_button_bg_left.gif" border="0" alt="" /><br /></td>
+    <td style="background-image:url(themes/mac_ox_x/images/menu_button_bg_middle.gif);" valign="top">
+            <a href="javascript:;" onmouseover="MM_showHideLayers('SYS_MENU','','show')">@</a>
+    </td>
+    <td><img src="themes/mac_ox_x/images/menu_button_bg_right.gif" border="0" alt="" /><br /></td>
+    <td><img src="themes/mac_ox_x/images/menu_button_bg_left.gif" border="0" alt="" /><br /></td>
+    <td style="background-image:url(themes/mac_ox_x/images/menu_button_bg_middle.gif);" valign="top">
+            <a href="{ALB_LIST_TGT}" title="{ALB_LIST_TITLE}">{ALB_LIST_LNK}</a>
+    </td>
+    <td><img src="themes/mac_ox_x/images/menu_button_bg_right.gif" border="0" alt="" /><br /></td>
+    <td><img src="themes/mac_ox_x/images/menu_button_bg_left.gif" border="0" alt="" /><br /></td>
+    <td style="background-image:url(themes/mac_ox_x/images/menu_button_bg_middle.gif);" valign="top">
+            <a href="{LASTUP_TGT}" onmouseover="MM_showHideLayers('SYS_MENU','','hide')" title="{LASTUP_LNK}">{LASTUP_LNK}</a>
+    </td>
+    <td><img src="themes/mac_ox_x/images/menu_button_bg_right.gif" border="0" alt="" /><br /></td>
+    <td><img src="themes/mac_ox_x/images/menu_button_bg_left.gif" border="0" alt="" /><br /></td>
+    <td style="background-image:url(themes/mac_ox_x/images/menu_button_bg_middle.gif);" valign="top">
+            <a href="{LASTCOM_TGT}" onmouseover="MM_showHideLayers('SYS_MENU','','hide')" title="{LASTCOM_LNK}">{LASTCOM_LNK}</a>
+    </td>
+    <td><img src="themes/mac_ox_x/images/menu_button_bg_right.gif" border="0" alt="" /><br /></td>
+    <td><img src="themes/mac_ox_x/images/menu_button_bg_left.gif" border="0" alt="" /><br /></td>
+    <td style="background-image:url(themes/mac_ox_x/images/menu_button_bg_middle.gif);" valign="top">
+            <a href="{TOPN_TGT}" onmouseover="MM_showHideLayers('SYS_MENU','','hide')" title="{TOPN_LNK}">{TOPN_LNK}</a>
+    </td>
+    <td><img src="themes/mac_ox_x/images/menu_button_bg_right.gif" border="0" alt="" /><br /></td>
+    <td><img src="themes/mac_ox_x/images/menu_button_bg_left.gif" border="0" alt="" /><br /></td>
+    <td style="background-image:url(themes/mac_ox_x/images/menu_button_bg_middle.gif);" valign="top">
+            <a href="{TOPRATED_TGT}" onmouseover="MM_showHideLayers('SYS_MENU','','hide')" title="{TOPRATED_LNK}">{TOPRATED_LNK}</a>
+    </td>
+    <td><img src="themes/mac_ox_x/images/menu_button_bg_right.gif" border="0" alt="" /><br /></td>
+    <td><img src="themes/mac_ox_x/images/menu_button_bg_left.gif" border="0" alt="" /><br /></td>
+    <td style="background-image:url(themes/mac_ox_x/images/menu_button_bg_middle.gif);" valign="top">
+            <a href="{FAV_TGT}" onmouseover="MM_showHideLayers('SYS_MENU','','hide')" title="{FAV_LNK}">{FAV_LNK}</a>
+    </td>
+    <td><img src="themes/mac_ox_x/images/menu_button_bg_right.gif" border="0" alt="" /><br /></td>
+    <td><img src="themes/mac_ox_x/images/menu_button_bg_left.gif" border="0" alt="" /><br /></td>
+    <td style="background-image:url(themes/mac_ox_x/images/menu_button_bg_middle.gif);" valign="top">
+            <a href="{SEARCH_TGT}" onmouseover="MM_showHideLayers('SYS_MENU','','hide')" title="{SEARCH_LNK}">{SEARCH_LNK}</a>
+    </td>
+    <td><img src="themes/mac_ox_x/images/menu_button_bg_right.gif" border="0" alt="" /><br /></td>
+    <td width="50%"></td>
+  </tr>
+</table>
+
+EOT;
+
+
+// HTML template for title row of the thumbnail view (album title + sort options)
+$template_thumb_view_title_row = <<<EOT
+
+                        <table width="100%" cellpadding="0" cellspacing="0">
+                        <tr>
+                                <td width="100%" class="statlink">{ALBUM_NAME}</td>
+                                <td class="sortorder_options" style="font-size: 100%;">{TITLE}</td>
+                                <td class="sortorder_options" style="font-size: 100%;"><span class="statlink"><a href="thumbnails.php?album={AID}&amp;page={PAGE}&amp;sort=ta" title="{SORT_TA}">&nbsp;+&nbsp;</a></span></td>
+                                <td class="sortorder_options" style="font-size: 100%;"><span class="statlink"><a href="thumbnails.php?album={AID}&amp;page={PAGE}&amp;sort=td" title="{SORT_TD}">&nbsp;-&nbsp;</a></span></td>
+                                <td>&nbsp;&nbsp;</td>
+                                <td class="sortorder_options" style="font-size: 100%;">{NAME}</td>
+                                <td class="sortorder_options" style="font-size: 100%;"><span class="statlink"><a href="thumbnails.php?album={AID}&amp;page={PAGE}&amp;sort=na" title="{SORT_NA}">&nbsp;+&nbsp;</a></span></td>
+                                <td class="sortorder_options" style="font-size: 100%;"><span class="statlink"><a href="thumbnails.php?album={AID}&amp;page={PAGE}&amp;sort=nd" title="{SORT_ND}">&nbsp;-&nbsp;</a></span></td>
+                                <td>&nbsp;&nbsp;</td>
+                                <td class="sortorder_options" style="font-size: 100%;">{DATE}</td>
+                                <td class="sortorder_options" style="font-size: 100%;"><span class="statlink"><a href="thumbnails.php?album={AID}&amp;page={PAGE}&amp;sort=da" title="{SORT_DA}">&nbsp;+&nbsp;</a></span></td>
+                                <td class="sortorder_options" style="font-size: 100%;"><span class="statlink"><a href="thumbnails.php?album={AID}&amp;page={PAGE}&amp;sort=dd" title="{SORT_DD}">&nbsp;-&nbsp;</a></span></td>
+                                <td>&nbsp;&nbsp;</td>
+                                <td class="sortorder_options" style="font-size: 100%;">{POSITION}</td>
+                                <td class="sortorder_options" style="font-size: 100%;"><span class="statlink"><a href="thumbnails.php?album={AID}&amp;page={PAGE}&amp;sort=pa" title="{SORT_PA}">&nbsp;+&nbsp;</a></span></td>
+                                <td class="sortorder_options" style="font-size: 100%;"><span class="statlink"><a href="thumbnails.php?album={AID}&amp;page={PAGE}&amp;sort=pd" title="{SORT_PD}">&nbsp;-&nbsp;</a></span></td>
+                        </tr>
+                        </table>
+
+EOT;
+
+
+
+
+
+
+// Function to start a 'standard' table
+function starttable($width = '-1', $title = '', $title_colspan = '1')
+{
+    global $CONFIG;
+
+    if ($width == '-1') $width = $CONFIG['picture_table_width'];
+    if ($width == '100%') $width = $CONFIG['main_table_width'];
+    if ($title) {
+        echo <<<EOT
+<!-- Start standard table title -->
+<table align="center" width="$width" cellspacing="0" cellpadding="0" class="maintablea">
+        <tr>
+                <td>
+                        <table width="100%" cellspacing="0" cellpadding="0" class="tableh1a">
+                                <tr>
+                                        <td class="tableh1a"><img src="themes/mac_ox_x/images/tableh1a_bg_left.gif" alt="" /></td>
+                                        <td class="tableh1a" style="background-image:url(themes/mac_ox_x/images/tableh1a_bg_middle.gif);" width="100%">$title</td>
+                                        <td class="tableh1a"><img src="themes/mac_ox_x/images/tableh1a_bg_right.gif" alt="" /></td>
+                                </tr>
+                        </table>
+                </td>
+        </tr>
+</table>
+<!-- Start standard table -->
+<table align="center" width="$width" cellspacing="0" cellpadding="0">
+  <tr>
+   <td style="background-image:url(themes/mac_ox_x/images/main_table_r1_c1b.gif);" valign="top"><img name="main_table_r1_c1" src="themes/mac_ox_x/images/main_table_r1_c1.gif" border="0"  alt="" /></td>
+        <td width="100%"><table width="100%" cellspacing="1" cellpadding="0" class="maintableb">
+
+EOT;
+    } else {
+        echo <<<EOT
+
+<!-- Start standard table -->
+<table align="center" width="$width" cellspacing="0" cellpadding="0">
+  <tr>
+   <td style="background-image:url(themes/mac_ox_x/images/main_table_r1_c1b.gif);" valign="top"><img name="main_table_r1_c1" src="themes/mac_ox_x/images/main_table_r1_c1.gif" border="0"  alt="" /></td>
+        <td width="100%"><table width="100%" cellspacing="1" cellpadding="0" class="maintable">
+
+EOT;
+    }
+}
+
+function endtable()
+{
+    echo <<<EOT
+        </table>
+   </td>
+   <td style="background-image:url(themes/mac_ox_x/images/main_table_r1_c3b.gif);" valign="top"><img name="main_table_r1_c3" src="themes/mac_ox_x/images/main_table_r1_c3.gif" border="0"  alt="" /></td>
+  </tr>
+  <tr>
+   <td><img name="main_table_r2_c1" src="themes/mac_ox_x/images/main_table_r2_c1.gif" width="10" height="4" border="0"  alt="" /></td>
+   <td style="background-image:url(themes/mac_ox_x/images/main_table_r2_c2b.gif);"><img name="main_table_r2_c2" src="themes/mac_ox_x/images/main_table_r2_c2.gif" border="0"  alt="" /></td>
+   <td><img name="main_table_r2_c3" src="themes/mac_ox_x/images/main_table_r2_c3.gif" width="10" height="4" border="0"  alt="" /></td>
+  </tr>
+</table>
+<!-- End standard table -->
+
+EOT;
+}
+
+
+
+?>
diff -x .svn -aruN 1.4.24.src/themes/project_vii/style.css 1.4.25.src/themes/project_vii/style.css
--- 1.4.24.src/themes/project_vii/style.css	2009-05-21 15:03:09.000000000 -0500
+++ 1.4.25.src/themes/project_vii/style.css	2009-05-26 11:25:48.000000000 -0500
@@ -1,678 +1,678 @@
-/*************************
-  Coppermine Photo Gallery
-  ************************
-  Copyright (c) 2003-2009 Coppermine Dev Team
-  v1.1 originally written by Gregory DEMAR
-
-  This program is free software; you can redistribute it and/or modify
-  it under the terms of the GNU General Public License version 3
-  as published by the Free Software Foundation.
-  
-  ********************************************
-  Coppermine version: 1.4.24
-  $HeadURL: https://coppermine.svn.sourceforge.net/svnroot/coppermine/trunk/cpg1.4.x/themes/project_vii/style.css $
-  $Revision: 5969 $
-  $Author: gaugau $
-  $Date: 2009-05-21 22:03:33 +0200 (Do, 21 Mai 2009) $
-**********************************************/
-
-/* Colors used:                                */
-/* --------------------------------------------*/
-/* #000000 = RBG   0,  0,  0 = (black)         */
-/* #333333 = RBG  51, 51, 51 = (dark grey)     */
-/* #5F5F5F = RBG  95, 95, 95 = (dark grey)     */
-/* #666666 = RBG 102,102,102 = (medium grey)   */
-/* #999999 = RBG 153,153,153 = (medium grey)   */
-/* #FAFAFA = RBG 250,250,250 = (light grey)    */
-/* #BDBDBD = RBG 189,190,189 = (light grey)    */
-/* #BDBEBD = RBG 189,190,189 = (light grey)    */
-/* #E6E6E6 = RBG 230,230,230 = (dark white)    */
-/* #EFEFEF = RBG 239,239,239 = (dark white)    */
-/* #FFFFFF = RBG 255,255,255 = (white)         */
-/* #87CFED = RBG 135,207,237 = (cyan)          */
-/* #FF6600 = RBG 255,102,  0 = (orange)        */
-/* if you don't like a color, just do a search */
-/* and replace on the hex color...             */
-
-body {
-        background-color: #FAFAFA;
-        font-family: "Trebuchet MS", Verdana, Geneva, Arial, sans-serif;
-        font-size : 12px;
-        color: #000000;
-        margin: 0px;
-}
-
-table {
-        font-size : 12px;
-}
-
-h1{
-        font-weight: normal;
-        font-size: 28px;
-        text-decoration: none;
-        padding-left : 20px;
-        color: #333333;
-        margin: 2px;
-}
-
-h2 {
-        background-image : url(images/box_left_icon.gif);
-        background-repeat : no-repeat;
-        background-position : left;
-        padding-left : 18px;
-        font-size: 18px;
-        margin: 0px;
-}
-
-h3 {
-        font-weight: bold;
-        font-size: 14px;
-        padding-left : 20px;
-        color: #646464;
-        margin: 2px;
-}
-
-p {
-        font-size: 100%;
-        margin: 2px 0px;
-}
-
-ul {
-        margin-left: 5px;
-        padding: 0px;
-}
-
-li {
-        margin-left: 10px;
-        margin-top: 4px;
-        margin-bottom: 4px;
-        padding: 0px;
-        list-style-position: outside;
-        list-style-type: disc;
-}
-
-.top_panel td {
-        white-space: nowrap;
-}
-
-.top_menu_left_bttn a {
-        background-image : url(images/left_menu_button.gif);
-        background-repeat : no-repeat;
-        background-position : left;
-        padding-left : 12px;
-        padding-right : 6px;
-        position: relative;
-        display: block;
-        height : 35px;
-        line-height : 35px;
-        text-decoration: none;
-        color: #000000;
-        font-size: 14px;
-}
-
-.top_menu_left_bttn a:hover {
-        background-image : url(images/left_menu_button_over.gif);
-        background-position : left;
-        background-repeat : no-repeat;
-        text-decoration: none;
-        color:         #000000;
-}
-
-.top_menu_right_bttn a {
-        background-image : url(images/right_menu_button.gif);
-        background-repeat : no-repeat;
-        background-position : right;
-        padding-right : 22px;
-        padding-left : 6px;
-        position: relative;
-        display: block;
-        height : 35px;
-        line-height : 35px;
-        text-decoration: none;
-        color: #000000;
-        font-size: 14px;
-}
-
-.top_menu_right_bttn a:hover {
-        background-image : url(images/right_menu_button_over.gif);
-        background-position : right;
-        background-repeat : no-repeat;
-        text-decoration: none;
-        color:#000000;
-}
-
-.top_menu_bttn a {
-        background-image : url(images/menu_button.gif);
-        background-position : left;
-        padding-left : 6px;
-        padding-right : 6px;
-        position: relative;
-        display: block;
-        height : 35px;
-        line-height : 35px;
-        text-decoration: none;
-        color: #000000;
-        font-size: 14px;
-}
-
-.top_menu_bttn a:hover {
-        background-image : url(images/menu_button_over.gif);
-        text-decoration: none;
-        color:         #000000;
-}
-
-.textinput {
-        font-size: 100%;
-        border: 1px solid #666666;
-        padding-right: 3px;
-        padding-left: 3px;
-}
-
-.listbox {
-        font-size: 100%;
-        border: 1px solid #666666;
-        vertical-align : middle;
-}
-
-.button {
-        font-size: 100%;
-        border: 1px solid #666666;
-        background-image : url(images/button_bg.gif);
-        background-position : bottom;
-}
-
-.comment_button {
-        font-size: 100%;
-        border: 1px solid #666666;
-        background-image : url(images/button_bg.gif);
-        background-position : bottom;
-        padding-left: 3px;
-        padding-right: 3px;
-}
-
-.radio {
-        font-size: 100%;
-        vertical-align : middle;
-}
-
-.checkbox {
-        font-size: 100%;
-        vertical-align : middle;
-}
-
-a {
-        color: #FF6600;
-        text-decoration: none;
-}
-
-a:hover {
-        color: #FF6600;
-        text-decoration: underline;
-}
-
-.bblink a {
-        color: #FF6600;
-        text-decoration: none;
-}
-
-.bblink a:hover {
-        color: #FF6600;
-        text-decoration: underline;
-}
-
-.maintable {
-        background-color: #999999;
-        margin-top: 2px;
-        margin-bottom: 2px;
-}
-
-.tableh1 {
-        background : #BDBDBD ;
-        color: #FFFFFF;
-        padding-top: 3px;
-        padding-right: 10px;
-        padding-bottom: 3px;
-        padding-left: 10px;
-}
-
-.tableh1_compact {
-        background : #BDBDBD ;
-        color: #FFFFFF;
-        padding-top: 2px;
-        padding-right: 5px;
-        padding-bottom: 2px;
-        padding-left: 5px;
-}
-
-.tableh2 {
-        background: #E6E6E6 ;
-        color : #000000;
-        padding-top: 3px;
-        padding-right: 10px;
-        padding-bottom: 3px;
-        padding-left: 10px;
-}
-
-.tableh2_compact {
-        background: #E6E6E6 ;
-        color : #000000;
-        padding-top: 2px;
-        padding-right: 5px;
-        padding-bottom: 2px;
-        padding-left: 5px;
-}
-
-.tableb {
-        background: #FFFFFF ;
-        padding-top: 3px;
-        padding-right: 10px;
-        padding-bottom: 3px;
-        padding-left: 10px;
-}
-
-.tableb_compact {
-        background: #FFFFFF ;
-        padding-top: 2px;
-        padding-right: 5px;
-        padding-bottom: 2px;
-        padding-left: 5px;
-}
-
-.tablef {
-        background: #E6E6E6 ;
-        padding-top: 10px;
-        padding-right: 10px;
-        padding-bottom: 10px;
-        padding-left: 10px;
-}
-
-.catrow_noalb {
-        background: #E6E6E6 ;
-        color : #000000;
-        padding-top: 3px;
-        padding-right: 10px;
-        padding-bottom: 3px;
-        padding-left: 10px;
-}
-
-.catrow {
-        background: #FFFFFF ;
-        padding-top: 3px;
-        padding-right: 10px;
-        padding-bottom: 3px;
-        padding-left: 10px;
-}
-
-.album_stat {
-        font-size : 85%;
-        margin: 5px 0px;
-}
-
-.thumb_filename {
-        font-size: 80%;
-        display: block;
-}
-
-.thumb_title {
-        font-weight : bold;
-        font-size: 80%;
-        padding: 2px;
-        display : block;
-}
-
-.thumb_caption {
-        font-size: 80%;
-        padding: 1px;
-        display : block;
-}
-
-.thumb_caption a {
-        text-decoration: underline;
-        color: #000000;
-}
-
-
-.thumb_num_comments {
-        font-weight: normal;
-        font-size: 85%;
-        padding: 2px;
-        font-style : italic;
-        display : block;
-}
-
-.user_thumb_infobox {
-        margin-top: 1px;
-        margin-bottom: 1px;
-}
-
-.user_thumb_infobox th {
-        font-weight : bold;
-        font-size: 100%;
-        margin-top: 1px;
-        margin-bottom: 1px;
-        text-align : center;
-}
-
-.user_thumb_infobox td {
-        font-size: 85%;
-        margin-top: 1px;
-        margin-bottom: 1px;
-        text-align : center;
-}
-
-.user_thumb_infobox a {
-        text-decoration: none;
-        color: #000000;
-}
-
-.user_thumb_infobox a:hover {
-        color: #000000;
-        text-decoration: underline;
-}
-
-.sortorder_cell {
-        background : #BDBDBD ;
-        color: #FFFFFF;
-        padding-top: 0px;
-        padding-bottom: 0px;
-        padding-left: 0px;
-        padding-right: 20px;
-        margin: 0px;
-}
-
-.sortorder_options {
-        background : #BDBDBD ;
-        color: #FFFFFF;
-        padding: 0px;
-        margin: 0px;
-        font-weight: normal;
-        font-size: 80%;
-        white-space: nowrap;
-}
-
-.navmenu {
-        color: #FFFFFF;
-        font-weight: bold;
-        background : #BDBDBD ;
-        border-style: none;
-}
-
-.navmenu img {
-        margin-top: 1px;
-        margin-right: 5px;
-        margin-bottom: 1px;
-        margin-left: 5px;
-}
-
-.navmenu a {
-        display: block;
-        padding-top: 2px;
-        padding-right: 5px;
-        padding-bottom: 2px;
-        padding-left: 5px;
-        text-decoration: none;
-        color: #FFFFFF;
-}
-
-.navmenu a:hover {
-        background : #87CFED ;
-        text-decoration: none;
-        color:         #000000;
-}
-
-.admin_menu_thumb {
-        font-size: 90%;
-        border: 1px solid #666666;
-        background-image : url(images/button_bg.gif);
-        background-position : bottom;
-        color: #000000;
-        font-weight: bold;
-        margin-top: 0px;
-        margin-bottom: 0px;
-        width: 85px;
-}
-
-.admin_menu_thumb a {
-        color: #000000;
-        text-decoration: none;
-        display: block;
-        position: relative;
-        padding-top: 1px;
-        padding-bottom: 1px;
-        padding-left: 10px;
-        padding-right: 10px;
-}
-
-
-.admin_menu_thumb a:hover {
-        color: #000000;
-        text-decoration: underline;
-}
-
-.admin_menu {
-        font-size: 90%;
-        border: 1px solid #666666;
-        background-image : url(images/button_bg.gif);
-        background-position : bottom;
-        background-repeat: repeat-x;
-        background-color: #FFFFFF;
-        color: #000000;
-        margin-top: 0px;
-        margin-bottom: 0px;
-        text-align: center;
-}
-
-.admin_menu a {
-        color: #000000;
-        text-decoration: none;
-        display: block;
-        position: relative;
-        padding-top: 1px;
-        padding-bottom: 1px;
-        padding-left: 2px;
-        padding-right: 2px;
-}
-
-.admin_menu a:hover {
-        color: #000000;
-        text-decoration: underline;
-}
-
-td #admin_menu_anim {
-        background-image : url(images/button_bg_anim.gif);
-}
-
-.comment_date{
-        color : #5F5F5F;
-        font-size: 90%;
-        vertical-align : middle;
-}
-
-.image {
-        border-style: solid;
-        border-width:1px;
-        border-color: #000000;
-        margin: 2px;
-}
-
-.imageborder {
-        border: 1px solid #000000;
-        background-color: #FFFFFF;
-        margin-top: 30px;
-        margin-bottom: 30px;
-}
-
-.display_media {
-        background: #FFFFFF ;
-        padding-top: 3px;
-        padding-right: 10px;
-        padding-bottom: 3px;
-        padding-left: 10px;
-}
-
-.thumbnails {
-        background: #FFFFFF ;
-        padding: 5px;
-}
-
-.footer {
-        font-size : 9px;
-        color: #666666;
-}
-
-.footer a {
-        text-decoration: none;
-        color: #666666;
-}
-
-.footer a:hover {
-        color: #000000;
-        text-decoration: underline;
-}
-
-.statlink {
-        color: #FFFFFF;
-}
-
-.statlink a {
-        text-decoration: none;
-        color: #FFFFFF;
-}
-
-.statlink a:hover {
-        color: #FFFFFF;
-        text-decoration: underline;
-}
-
-.alblink a {
-        text-decoration: underline;
-        color: #000000;
-}
-
-.alblink a:hover {
-        color: #000000;
-        text-decoration: underline;
-}
-
-.catlink {
-        display: block;
-        margin-bottom: 2px;
-}
-
-.catlink a {
-        text-decoration: underline;
-        color: #000000;
-}
-
-.catlink a:hover {
-        color: #000000;
-        text-decoration: underline;
-}
-
-.topmenu {
-        line-height : 130%;
-        font-size : 110%;
-}
-
-.topmenu a {
-        color: #FF6600;
-        text-decoration : underline;
-}
-
-.topmenu a:hover  {
-        color : #000000;
-        text-decoration : underline;
-}
-
-.img_caption_table {
-        border: none;
-        background-color: #FFFFFF;
-        width : 100%;
-        margin : 0px;
-}
-
-.img_caption_table th {
-        background: #E6E6E6 ;
-        font-size : 100%;
-        color : #000000;
-        padding-top: 4px;
-        padding-right: 10px;
-        padding-bottom: 4px;
-        padding-left: 10px;
-        border-top : 1px solid #000000;
-}
-
-.img_caption_table td {
-        background: #FFFFFF ;
-        padding-top: 6px;
-        padding-right: 10px;
-        padding-bottom: 6px;
-        padding-left: 10px;
-        border-top : 1px solid #000000;
-        white-space: normal;
-}
-
-.debug_text {
-        border: #BDBEBD;
-        background-color: #EFEFEF;
-        width : 100%;
-        margin : 0px;
-}
-
-.clickable_option {
-        cursor : default;
-}
-
-.listbox_lang {
-        color: #000000;
-        background-color: #FAFAFA;
-        border: 1px solid #FAFAFA;
-        font-size: 80%;
-        vertical-align : middle;
-}
-#SUB_MENU {
-        width:100%;
-        padding: 0 20px;
-}
-
-#SYS_MENU {
-        position:relative;
-        bottom:3px;
-        display: block;
-        width:800px;
-        height:10px;
-        padding: 0px;
-        z-index:1;
-        visibility: hidden;
-}
-
-#GALLERY {
-        padding: 0 20px;
-}
-
-#SELECT_LISTS, #SELECT_FLAGS {
-        padding: 0 20px;
-        text-align: center;
-
-}
-
-#CUSTOM_FOOTER,#CUSTOM_HEADER {
-        margin:0;
-        padding:0;
-}
-
-#vanity a {
-        display:block;
-        width:57px;
-        height:20px;
-        margin: 3px 20px;
-}
-#vanity img {border:0}
-#v_php {float:left;background-image:url(../../images/powered-php.gif);}
-#v_php:hover {background-image:url(../../images/h_powered-php.gif);}
-#v_mysql {float:left;background-image:url(../../images/powered-mysql.gif);}
-#v_mysql:hover  {background-image:url(../../images/h_powered-mysql.gif);}
-#v_xhtml {float:right;background-image:url(../../images/valid-xhtml10.gif);}
-#v_xhtml:hover {background-image:url(../../images/h_valid-xhtml10.gif);}
-#v_css {float:right;background-image:url(../../images/valid-css.gif);}
+/*************************
+  Coppermine Photo Gallery
+  ************************
+  Copyright (c) 2003-2009 Coppermine Dev Team
+  v1.1 originally written by Gregory DEMAR
+
+  This program is free software; you can redistribute it and/or modify
+  it under the terms of the GNU General Public License version 3
+  as published by the Free Software Foundation.
+  
+  ********************************************
+  Coppermine version: 1.4.25
+  $HeadURL: https://coppermine.svn.sourceforge.net/svnroot/coppermine/trunk/cpg1.4.x/themes/project_vii/style.css $
+  $Revision: 5997 $
+  $Author: gaugau $
+  $Date: 2009-05-26 08:43:24 +0200 (Di, 26 Mai 2009) $
+**********************************************/
+
+/* Colors used:                                */
+/* --------------------------------------------*/
+/* #000000 = RBG   0,  0,  0 = (black)         */
+/* #333333 = RBG  51, 51, 51 = (dark grey)     */
+/* #5F5F5F = RBG  95, 95, 95 = (dark grey)     */
+/* #666666 = RBG 102,102,102 = (medium grey)   */
+/* #999999 = RBG 153,153,153 = (medium grey)   */
+/* #FAFAFA = RBG 250,250,250 = (light grey)    */
+/* #BDBDBD = RBG 189,190,189 = (light grey)    */
+/* #BDBEBD = RBG 189,190,189 = (light grey)    */
+/* #E6E6E6 = RBG 230,230,230 = (dark white)    */
+/* #EFEFEF = RBG 239,239,239 = (dark white)    */
+/* #FFFFFF = RBG 255,255,255 = (white)         */
+/* #87CFED = RBG 135,207,237 = (cyan)          */
+/* #FF6600 = RBG 255,102,  0 = (orange)        */
+/* if you don't like a color, just do a search */
+/* and replace on the hex color...             */
+
+body {
+        background-color: #FAFAFA;
+        font-family: "Trebuchet MS", Verdana, Geneva, Arial, sans-serif;
+        font-size : 12px;
+        color: #000000;
+        margin: 0px;
+}
+
+table {
+        font-size : 12px;
+}
+
+h1{
+        font-weight: normal;
+        font-size: 28px;
+        text-decoration: none;
+        padding-left : 20px;
+        color: #333333;
+        margin: 2px;
+}
+
+h2 {
+        background-image : url(images/box_left_icon.gif);
+        background-repeat : no-repeat;
+        background-position : left;
+        padding-left : 18px;
+        font-size: 18px;
+        margin: 0px;
+}
+
+h3 {
+        font-weight: bold;
+        font-size: 14px;
+        padding-left : 20px;
+        color: #646464;
+        margin: 2px;
+}
+
+p {
+        font-size: 100%;
+        margin: 2px 0px;
+}
+
+ul {
+        margin-left: 5px;
+        padding: 0px;
+}
+
+li {
+        margin-left: 10px;
+        margin-top: 4px;
+        margin-bottom: 4px;
+        padding: 0px;
+        list-style-position: outside;
+        list-style-type: disc;
+}
+
+.top_panel td {
+        white-space: nowrap;
+}
+
+.top_menu_left_bttn a {
+        background-image : url(images/left_menu_button.gif);
+        background-repeat : no-repeat;
+        background-position : left;
+        padding-left : 12px;
+        padding-right : 6px;
+        position: relative;
+        display: block;
+        height : 35px;
+        line-height : 35px;
+        text-decoration: none;
+        color: #000000;
+        font-size: 14px;
+}
+
+.top_menu_left_bttn a:hover {
+        background-image : url(images/left_menu_button_over.gif);
+        background-position : left;
+        background-repeat : no-repeat;
+        text-decoration: none;
+        color:         #000000;
+}
+
+.top_menu_right_bttn a {
+        background-image : url(images/right_menu_button.gif);
+        background-repeat : no-repeat;
+        background-position : right;
+        padding-right : 22px;
+        padding-left : 6px;
+        position: relative;
+        display: block;
+        height : 35px;
+        line-height : 35px;
+        text-decoration: none;
+        color: #000000;
+        font-size: 14px;
+}
+
+.top_menu_right_bttn a:hover {
+        background-image : url(images/right_menu_button_over.gif);
+        background-position : right;
+        background-repeat : no-repeat;
+        text-decoration: none;
+        color:#000000;
+}
+
+.top_menu_bttn a {
+        background-image : url(images/menu_button.gif);
+        background-position : left;
+        padding-left : 6px;
+        padding-right : 6px;
+        position: relative;
+        display: block;
+        height : 35px;
+        line-height : 35px;
+        text-decoration: none;
+        color: #000000;
+        font-size: 14px;
+}
+
+.top_menu_bttn a:hover {
+        background-image : url(images/menu_button_over.gif);
+        text-decoration: none;
+        color:         #000000;
+}
+
+.textinput {
+        font-size: 100%;
+        border: 1px solid #666666;
+        padding-right: 3px;
+        padding-left: 3px;
+}
+
+.listbox {
+        font-size: 100%;
+        border: 1px solid #666666;
+        vertical-align : middle;
+}
+
+.button {
+        font-size: 100%;
+        border: 1px solid #666666;
+        background-image : url(images/button_bg.gif);
+        background-position : bottom;
+}
+
+.comment_button {
+        font-size: 100%;
+        border: 1px solid #666666;
+        background-image : url(images/button_bg.gif);
+        background-position : bottom;
+        padding-left: 3px;
+        padding-right: 3px;
+}
+
+.radio {
+        font-size: 100%;
+        vertical-align : middle;
+}
+
+.checkbox {
+        font-size: 100%;
+        vertical-align : middle;
+}
+
+a {
+        color: #FF6600;
+        text-decoration: none;
+}
+
+a:hover {
+        color: #FF6600;
+        text-decoration: underline;
+}
+
+.bblink a {
+        color: #FF6600;
+        text-decoration: none;
+}
+
+.bblink a:hover {
+        color: #FF6600;
+        text-decoration: underline;
+}
+
+.maintable {
+        background-color: #999999;
+        margin-top: 2px;
+        margin-bottom: 2px;
+}
+
+.tableh1 {
+        background : #BDBDBD ;
+        color: #FFFFFF;
+        padding-top: 3px;
+        padding-right: 10px;
+        padding-bottom: 3px;
+        padding-left: 10px;
+}
+
+.tableh1_compact {
+        background : #BDBDBD ;
+        color: #FFFFFF;
+        padding-top: 2px;
+        padding-right: 5px;
+        padding-bottom: 2px;
+        padding-left: 5px;
+}
+
+.tableh2 {
+        background: #E6E6E6 ;
+        color : #000000;
+        padding-top: 3px;
+        padding-right: 10px;
+        padding-bottom: 3px;
+        padding-left: 10px;
+}
+
+.tableh2_compact {
+        background: #E6E6E6 ;
+        color : #000000;
+        padding-top: 2px;
+        padding-right: 5px;
+        padding-bottom: 2px;
+        padding-left: 5px;
+}
+
+.tableb {
+        background: #FFFFFF ;
+        padding-top: 3px;
+        padding-right: 10px;
+        padding-bottom: 3px;
+        padding-left: 10px;
+}
+
+.tableb_compact {
+        background: #FFFFFF ;
+        padding-top: 2px;
+        padding-right: 5px;
+        padding-bottom: 2px;
+        padding-left: 5px;
+}
+
+.tablef {
+        background: #E6E6E6 ;
+        padding-top: 10px;
+        padding-right: 10px;
+        padding-bottom: 10px;
+        padding-left: 10px;
+}
+
+.catrow_noalb {
+        background: #E6E6E6 ;
+        color : #000000;
+        padding-top: 3px;
+        padding-right: 10px;
+        padding-bottom: 3px;
+        padding-left: 10px;
+}
+
+.catrow {
+        background: #FFFFFF ;
+        padding-top: 3px;
+        padding-right: 10px;
+        padding-bottom: 3px;
+        padding-left: 10px;
+}
+
+.album_stat {
+        font-size : 85%;
+        margin: 5px 0px;
+}
+
+.thumb_filename {
+        font-size: 80%;
+        display: block;
+}
+
+.thumb_title {
+        font-weight : bold;
+        font-size: 80%;
+        padding: 2px;
+        display : block;
+}
+
+.thumb_caption {
+        font-size: 80%;
+        padding: 1px;
+        display : block;
+}
+
+.thumb_caption a {
+        text-decoration: underline;
+        color: #000000;
+}
+
+
+.thumb_num_comments {
+        font-weight: normal;
+        font-size: 85%;
+        padding: 2px;
+        font-style : italic;
+        display : block;
+}
+
+.user_thumb_infobox {
+        margin-top: 1px;
+        margin-bottom: 1px;
+}
+
+.user_thumb_infobox th {
+        font-weight : bold;
+        font-size: 100%;
+        margin-top: 1px;
+        margin-bottom: 1px;
+        text-align : center;
+}
+
+.user_thumb_infobox td {
+        font-size: 85%;
+        margin-top: 1px;
+        margin-bottom: 1px;
+        text-align : center;
+}
+
+.user_thumb_infobox a {
+        text-decoration: none;
+        color: #000000;
+}
+
+.user_thumb_infobox a:hover {
+        color: #000000;
+        text-decoration: underline;
+}
+
+.sortorder_cell {
+        background : #BDBDBD ;
+        color: #FFFFFF;
+        padding-top: 0px;
+        padding-bottom: 0px;
+        padding-left: 0px;
+        padding-right: 20px;
+        margin: 0px;
+}
+
+.sortorder_options {
+        background : #BDBDBD ;
+        color: #FFFFFF;
+        padding: 0px;
+        margin: 0px;
+        font-weight: normal;
+        font-size: 80%;
+        white-space: nowrap;
+}
+
+.navmenu {
+        color: #FFFFFF;
+        font-weight: bold;
+        background : #BDBDBD ;
+        border-style: none;
+}
+
+.navmenu img {
+        margin-top: 1px;
+        margin-right: 5px;
+        margin-bottom: 1px;
+        margin-left: 5px;
+}
+
+.navmenu a {
+        display: block;
+        padding-top: 2px;
+        padding-right: 5px;
+        padding-bottom: 2px;
+        padding-left: 5px;
+        text-decoration: none;
+        color: #FFFFFF;
+}
+
+.navmenu a:hover {
+        background : #87CFED ;
+        text-decoration: none;
+        color:         #000000;
+}
+
+.admin_menu_thumb {
+        font-size: 90%;
+        border: 1px solid #666666;
+        background-image : url(images/button_bg.gif);
+        background-position : bottom;
+        color: #000000;
+        font-weight: bold;
+        margin-top: 0px;
+        margin-bottom: 0px;
+        width: 85px;
+}
+
+.admin_menu_thumb a {
+        color: #000000;
+        text-decoration: none;
+        display: block;
+        position: relative;
+        padding-top: 1px;
+        padding-bottom: 1px;
+        padding-left: 10px;
+        padding-right: 10px;
+}
+
+
+.admin_menu_thumb a:hover {
+        color: #000000;
+        text-decoration: underline;
+}
+
+.admin_menu {
+        font-size: 90%;
+        border: 1px solid #666666;
+        background-image : url(images/button_bg.gif);
+        background-position : bottom;
+        background-repeat: repeat-x;
+        background-color: #FFFFFF;
+        color: #000000;
+        margin-top: 0px;
+        margin-bottom: 0px;
+        text-align: center;
+}
+
+.admin_menu a {
+        color: #000000;
+        text-decoration: none;
+        display: block;
+        position: relative;
+        padding-top: 1px;
+        padding-bottom: 1px;
+        padding-left: 2px;
+        padding-right: 2px;
+}
+
+.admin_menu a:hover {
+        color: #000000;
+        text-decoration: underline;
+}
+
+td #admin_menu_anim {
+        background-image : url(images/button_bg_anim.gif);
+}
+
+.comment_date{
+        color : #5F5F5F;
+        font-size: 90%;
+        vertical-align : middle;
+}
+
+.image {
+        border-style: solid;
+        border-width:1px;
+        border-color: #000000;
+        margin: 2px;
+}
+
+.imageborder {
+        border: 1px solid #000000;
+        background-color: #FFFFFF;
+        margin-top: 30px;
+        margin-bottom: 30px;
+}
+
+.display_media {
+        background: #FFFFFF ;
+        padding-top: 3px;
+        padding-right: 10px;
+        padding-bottom: 3px;
+        padding-left: 10px;
+}
+
+.thumbnails {
+        background: #FFFFFF ;
+        padding: 5px;
+}
+
+.footer {
+        font-size : 9px;
+        color: #666666;
+}
+
+.footer a {
+        text-decoration: none;
+        color: #666666;
+}
+
+.footer a:hover {
+        color: #000000;
+        text-decoration: underline;
+}
+
+.statlink {
+        color: #FFFFFF;
+}
+
+.statlink a {
+        text-decoration: none;
+        color: #FFFFFF;
+}
+
+.statlink a:hover {
+        color: #FFFFFF;
+        text-decoration: underline;
+}
+
+.alblink a {
+        text-decoration: underline;
+        color: #000000;
+}
+
+.alblink a:hover {
+        color: #000000;
+        text-decoration: underline;
+}
+
+.catlink {
+        display: block;
+        margin-bottom: 2px;
+}
+
+.catlink a {
+        text-decoration: underline;
+        color: #000000;
+}
+
+.catlink a:hover {
+        color: #000000;
+        text-decoration: underline;
+}
+
+.topmenu {
+        line-height : 130%;
+        font-size : 110%;
+}
+
+.topmenu a {
+        color: #FF6600;
+        text-decoration : underline;
+}
+
+.topmenu a:hover  {
+        color : #000000;
+        text-decoration : underline;
+}
+
+.img_caption_table {
+        border: none;
+        background-color: #FFFFFF;
+        width : 100%;
+        margin : 0px;
+}
+
+.img_caption_table th {
+        background: #E6E6E6 ;
+        font-size : 100%;
+        color : #000000;
+        padding-top: 4px;
+        padding-right: 10px;
+        padding-bottom: 4px;
+        padding-left: 10px;
+        border-top : 1px solid #000000;
+}
+
+.img_caption_table td {
+        background: #FFFFFF ;
+        padding-top: 6px;
+        padding-right: 10px;
+        padding-bottom: 6px;
+        padding-left: 10px;
+        border-top : 1px solid #000000;
+        white-space: normal;
+}
+
+.debug_text {
+        border: #BDBEBD;
+        background-color: #EFEFEF;
+        width : 100%;
+        margin : 0px;
+}
+
+.clickable_option {
+        cursor : default;
+}
+
+.listbox_lang {
+        color: #000000;
+        background-color: #FAFAFA;
+        border: 1px solid #FAFAFA;
+        font-size: 80%;
+        vertical-align : middle;
+}
+#SUB_MENU {
+        width:100%;
+        padding: 0 20px;
+}
+
+#SYS_MENU {
+        position:relative;
+        bottom:3px;
+        display: block;
+        width:800px;
+        height:10px;
+        padding: 0px;
+        z-index:1;
+        visibility: hidden;
+}
+
+#GALLERY {
+        padding: 0 20px;
+}
+
+#SELECT_LISTS, #SELECT_FLAGS {
+        padding: 0 20px;
+        text-align: center;
+
+}
+
+#CUSTOM_FOOTER,#CUSTOM_HEADER {
+        margin:0;
+        padding:0;
+}
+
+#vanity a {
+        display:block;
+        width:57px;
+        height:20px;
+        margin: 3px 20px;
+}
+#vanity img {border:0}
+#v_php {float:left;background-image:url(../../images/powered-php.gif);}
+#v_php:hover {background-image:url(../../images/h_powered-php.gif);}
+#v_mysql {float:left;background-image:url(../../images/powered-mysql.gif);}
+#v_mysql:hover  {background-image:url(../../images/h_powered-mysql.gif);}
+#v_xhtml {float:right;background-image:url(../../images/valid-xhtml10.gif);}
+#v_xhtml:hover {background-image:url(../../images/h_valid-xhtml10.gif);}
+#v_css {float:right;background-image:url(../../images/valid-css.gif);}
 #v_css:hover{background-image:url(../../images/h_valid-css.gif);}
\ No newline at end of file
diff -x .svn -aruN 1.4.24.src/themes/project_vii/template.html 1.4.25.src/themes/project_vii/template.html
--- 1.4.24.src/themes/project_vii/template.html	2009-05-21 15:03:09.000000000 -0500
+++ 1.4.25.src/themes/project_vii/template.html	2009-05-26 11:25:48.000000000 -0500
@@ -1,80 +1,80 @@
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en" dir="{LANG_DIR}">
-<head>
-<meta http-equiv="Content-Type" content="text/html; charset={CHARSET}" />
-<meta http-equiv="Pragma" content="no-cache" />
-<title>{TITLE}</title>
-{META}
-<link rel="stylesheet" href="themes/project_vii/style.css" type="text/css" />
-<script type="text/javascript" src="scripts.js"></script>
-<script language="JavaScript" type="text/JavaScript">
-<!--
-function MM_findObj(n, d) { //v4.01
-  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
-    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
-  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
-  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
-  if(!x && d.getElementById) x=d.getElementById(n); return x;
-}
-
-function MM_showHideLayers() { //v6.0
-  var i,p,v,obj,args=MM_showHideLayers.arguments;
-  for (i=0; i<(args.length-2); i+=3) if ((obj=MM_findObj(args[i]))!=null) { v=args[i+2];
-    if (obj.style) { obj=obj.style; v=(v=='show')?'visible':(v=='hide')?'hidden':v; }
-    obj.visibility=v; }
-}
-//-->
-</script>
-<!--
-  SVN version info:
-  Coppermine version: 1.4.24
-  $Revision: 5969 $
-  $LastChangedBy: gaugau $
-  $Date: 2009-05-21 22:03:33 +0200 (Do, 21 Mai 2009) $
--->
-</head>
-<body>
-<div id="CUSTOM_HEADER">
-  {CUSTOM_HEADER}
-</div>
-
-<div id="HEADER" style="background-image:url(themes/project_vii/images/top_panel_r1_c4.jpg);">
-  <div style="background-image:url(themes/project_vii/images/top_panel_r1_c1.jpg);background-repeat:no-repeat">
-    <h1>{GAL_NAME}</h1>
-    <h3>{GAL_DESCRIPTION}</h3>
-  </div>
-</div>
-
-<div id="SUB_MENU" style="background-image:url(themes/project_vii/images/top_panel_r2_c1.jpg);background-repeat:repeat-x;">
-  {SUB_MENU}
-  <div id="SYS_MENU">
-     <div class="topmenu">
-       |{SYS_MENU}|
-     </div>
-  </div>
-</div>
-
-<div id="GALLERY">
-  {ADMIN_MENU}
-  {GALLERY}
-</div>
-
-<div id="SELECT_LISTS">
-  {THEME_SELECT_LIST}
-  {LANGUAGE_SELECT_LIST}
-</div>
-
-<div id="SELECT_FLAGS">
-  {LANGUAGE_SELECT_FLAGS}
-</div>
-
-<div id="CUSTOM_FOOTER">
-  {CUSTOM_FOOTER}
-</div>
-
-<div id="VANITY">
-  {VANITY}
-</div>
-
-</body>
-</html>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en" dir="{LANG_DIR}">
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset={CHARSET}" />
+<meta http-equiv="Pragma" content="no-cache" />
+<title>{TITLE}</title>
+{META}
+<link rel="stylesheet" href="themes/project_vii/style.css" type="text/css" />
+<script type="text/javascript" src="scripts.js"></script>
+<script language="JavaScript" type="text/JavaScript">
+<!--
+function MM_findObj(n, d) { //v4.01
+  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
+    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
+  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
+  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
+  if(!x && d.getElementById) x=d.getElementById(n); return x;
+}
+
+function MM_showHideLayers() { //v6.0
+  var i,p,v,obj,args=MM_showHideLayers.arguments;
+  for (i=0; i<(args.length-2); i+=3) if ((obj=MM_findObj(args[i]))!=null) { v=args[i+2];
+    if (obj.style) { obj=obj.style; v=(v=='show')?'visible':(v=='hide')?'hidden':v; }
+    obj.visibility=v; }
+}
+//-->
+</script>
+<!--
+  SVN version info:
+  Coppermine version: 1.4.25
+  $Revision: 5997 $
+  $LastChangedBy: gaugau $
+  $Date: 2009-05-26 08:43:24 +0200 (Di, 26 Mai 2009) $
+-->
+</head>
+<body>
+<div id="CUSTOM_HEADER">
+  {CUSTOM_HEADER}
+</div>
+
+<div id="HEADER" style="background-image:url(themes/project_vii/images/top_panel_r1_c4.jpg);">
+  <div style="background-image:url(themes/project_vii/images/top_panel_r1_c1.jpg);background-repeat:no-repeat">
+    <h1>{GAL_NAME}</h1>
+    <h3>{GAL_DESCRIPTION}</h3>
+  </div>
+</div>
+
+<div id="SUB_MENU" style="background-image:url(themes/project_vii/images/top_panel_r2_c1.jpg);background-repeat:repeat-x;">
+  {SUB_MENU}
+  <div id="SYS_MENU">
+     <div class="topmenu">
+       |{SYS_MENU}|
+     </div>
+  </div>
+</div>
+
+<div id="GALLERY">
+  {ADMIN_MENU}
+  {GALLERY}
+</div>
+
+<div id="SELECT_LISTS">
+  {THEME_SELECT_LIST}
+  {LANGUAGE_SELECT_LIST}
+</div>
+
+<div id="SELECT_FLAGS">
+  {LANGUAGE_SELECT_FLAGS}
+</div>
+
+<div id="CUSTOM_FOOTER">
+  {CUSTOM_FOOTER}
+</div>
+
+<div id="VANITY">
+  {VANITY}
+</div>
+
+</body>
+</html>
diff -x .svn -aruN 1.4.24.src/themes/project_vii/theme.php 1.4.25.src/themes/project_vii/theme.php
--- 1.4.24.src/themes/project_vii/theme.php	2009-05-21 15:03:09.000000000 -0500
+++ 1.4.25.src/themes/project_vii/theme.php	2009-05-26 11:25:48.000000000 -0500
@@ -1,121 +1,121 @@
-<?php
-/*************************
-  Coppermine Photo Gallery
-  ************************
-  Copyright (c) 2003-2009 Coppermine Dev Team
-  v1.1 originally written by Gregory DEMAR
-
-  This program is free software; you can redistribute it and/or modify
-  it under the terms of the GNU General Public License version 3
-  as published by the Free Software Foundation.
-  
-  ********************************************
-  Coppermine version: 1.4.24
-  $HeadURL: https://coppermine.svn.sourceforge.net/svnroot/coppermine/trunk/cpg1.4.x/themes/project_vii/theme.php $
-  $Revision: 5969 $
-  $Author: gaugau $
-  $Date: 2009-05-21 22:03:33 +0200 (Do, 21 Mai 2009) $
-**********************************************/
-
-// ------------------------------------------------------------------------- //
-// This theme has had all redundant CORE items removed                       //
-// ------------------------------------------------------------------------- //
-define('THEME_HAS_NO_SUB_MENU_BUTTONS', 1);
-define('THEME_IS_XHTML10_TRANSITIONAL',1);  // Remove this if you edit this template until
-                                            // you have validated it. See docs/theme.htm.
-
-// HTML template for template sys_menu spacer
-$template_sys_menu_spacer ="|";
-
-// HTML template for sub_menu
-if ($CONFIG['custom_lnk_url'] != '') {
-
-$template_sub_menu = <<<EOT
-                        <table border="0" cellpadding="0" cellspacing="0">
-                                <tr>
-<!-- BEGIN custom_link -->
-                                                                                <td class="top_menu_left_bttn">
-                                                <a href="{CUSTOM_LNK_TGT}" onmouseover="MM_showHideLayers('SYS_MENU','','hide')" title="{CUSTOM_LNK_TITLE}">{CUSTOM_LNK_LNK}</a>
-                                        </td>
-                                        <td><img src="themes/project_vii/images/menu_spacer.gif" width="2" height="35" border="0" alt="" /><br /></td>
-<!-- END custom_link -->
-                                        <td class="top_menu_bttn">
-                                                <a href="{ALB_LIST_TGT}" onmouseover="MM_showHideLayers('SYS_MENU','','hide')" title="{ALB_LIST_TITLE}">{ALB_LIST_LNK}</a>
-                                        </td>
-                                        <td><img src="themes/project_vii/images/menu_spacer.gif" width="2" height="35" border="0" alt="" /><br /></td>
-                                        <td class="top_menu_bttn">
-                                                <a href="javascript:;" onmouseover="MM_showHideLayers('SYS_MENU','','show')">@</a>
-                                        </td>
-                                        <td><img src="themes/project_vii/images/menu_spacer.gif" width="2" height="35" border="0"  alt="" /><br /></td>
-                                        <td class="top_menu_bttn">
-                                                <a href="{LASTUP_TGT}" onmouseover="MM_showHideLayers('SYS_MENU','','hide')" title="{LASTUP_TITLE}">{LASTUP_LNK}</a>
-                                        </td>
-                                        <td><img src="themes/project_vii/images/menu_spacer.gif" width="2" height="35" border="0"  alt="" /><br /></td>
-                                        <td class="top_menu_bttn">
-                                                <a href="{LASTCOM_TGT}" onmouseover="MM_showHideLayers('SYS_MENU','','hide')" title="{LASTCOM_LNK}">{LASTCOM_LNK}</a>
-                                        </td>
-                                        <td><img src="themes/project_vii/images/menu_spacer.gif" width="2" height="35" border="0"  alt="" /><br /></td>
-                                        <td class="top_menu_bttn">
-                                                <a href="{TOPN_TGT}" onmouseover="MM_showHideLayers('SYS_MENU','','hide')" title="{TOPN_LNK}">{TOPN_LNK}</a>
-                                        </td>
-                                        <td><img src="themes/project_vii/images/menu_spacer.gif" width="2" height="35" border="0"  alt="" /><br /></td>
-                                        <td class="top_menu_bttn">
-                                                <a href="{TOPRATED_TGT}" onmouseover="MM_showHideLayers('SYS_MENU','','hide')" title="{TOPRATED_LNK}">{TOPRATED_LNK}</a>
-                                        </td>
-                                        <td><img src="themes/project_vii/images/menu_spacer.gif" width="2" height="35" border="0"  alt="" /><br /></td>
-                                        <td class="top_menu_bttn">
-                                                <a href="{FAV_TGT}" onmouseover="MM_showHideLayers('SYS_MENU','','hide')" title="{FAV_LNK}">{FAV_LNK}</a>
-                                        </td>
-                                        <td><img src="themes/project_vii/images/menu_spacer.gif" width="2" height="35" border="0"  alt="" /><br /></td>
-                                        <td class="top_menu_right_bttn">
-                                                <a href="{SEARCH_TGT}" onmouseover="MM_showHideLayers('SYS_MENU','','hide')" title="{SEARCH_LNK}">{SEARCH_LNK}</a>
-                                        </td>
-                                </tr>
-                        </table>
-EOT;
-
-
-
-} else {
-$template_sub_menu = <<<EOT
-                        <table border="0" cellpadding="0" cellspacing="0">
-                                <tr>
-<!-- BEGIN custom_link -->
-<!-- END custom_link -->
-                                        <td class="top_menu_left_bttn">
-                                                <a href="{ALB_LIST_TGT}" onmouseover="MM_showHideLayers('SYS_MENU','','hide')" title="{ALB_LIST_TITLE}">{ALB_LIST_LNK}</a>
-                                        </td>
-                                        <td><img src="themes/project_vii/images/menu_spacer.gif" width="2" height="35" border="0" alt="" /><br /></td>
-                                        <td class="top_menu_bttn">
-                                                <a href="javascript:;" onmouseover="MM_showHideLayers('SYS_MENU','','show')">@</a>
-                                        </td>
-                                        <td><img src="themes/project_vii/images/menu_spacer.gif" width="2" height="35" border="0"  alt="" /><br /></td>
-                                        <td class="top_menu_bttn">
-                                                <a href="{LASTUP_TGT}" onmouseover="MM_showHideLayers('SYS_MENU','','hide')" title="{LASTUP_TITLE}">{LASTUP_LNK}</a>
-                                        </td>
-                                        <td><img src="themes/project_vii/images/menu_spacer.gif" width="2" height="35" border="0"  alt="" /><br /></td>
-                                        <td class="top_menu_bttn">
-                                                <a href="{LASTCOM_TGT}" onmouseover="MM_showHideLayers('SYS_MENU','','hide')" title="{LASTCOM_LNK}">{LASTCOM_LNK}</a>
-                                        </td>
-                                        <td><img src="themes/project_vii/images/menu_spacer.gif" width="2" height="35" border="0"  alt="" /><br /></td>
-                                        <td class="top_menu_bttn">
-                                                <a href="{TOPN_TGT}" onmouseover="MM_showHideLayers('SYS_MENU','','hide')" title="{TOPN_LNK}">{TOPN_LNK}</a>
-                                        </td>
-                                        <td><img src="themes/project_vii/images/menu_spacer.gif" width="2" height="35" border="0"  alt="" /><br /></td>
-                                        <td class="top_menu_bttn">
-                                                <a href="{TOPRATED_TGT}" onmouseover="MM_showHideLayers('SYS_MENU','','hide')" title="{TOPRATED_LNK}">{TOPRATED_LNK}</a>
-                                        </td>
-                                        <td><img src="themes/project_vii/images/menu_spacer.gif" width="2" height="35" border="0"  alt="" /><br /></td>
-                                        <td class="top_menu_bttn">
-                                                <a href="{FAV_TGT}" onmouseover="MM_showHideLayers('SYS_MENU','','hide')" title="{FAV_LNK}">{FAV_LNK}</a>
-                                        </td>
-                                        <td><img src="themes/project_vii/images/menu_spacer.gif" width="2" height="35" border="0"  alt="" /><br /></td>
-                                        <td class="top_menu_right_bttn">
-                                                <a href="{SEARCH_TGT}" onmouseover="MM_showHideLayers('SYS_MENU','','hide')" title="{SEARCH_LNK}">{SEARCH_LNK}</a>
-                                        </td>
-                                </tr>
-                        </table>
-EOT;
-}
-
+<?php
+/*************************
+  Coppermine Photo Gallery
+  ************************
+  Copyright (c) 2003-2009 Coppermine Dev Team
+  v1.1 originally written by Gregory DEMAR
+
+  This program is free software; you can redistribute it and/or modify
+  it under the terms of the GNU General Public License version 3
+  as published by the Free Software Foundation.
+  
+  ********************************************
+  Coppermine version: 1.4.25
+  $HeadURL: https://coppermine.svn.sourceforge.net/svnroot/coppermine/trunk/cpg1.4.x/themes/project_vii/theme.php $
+  $Revision: 5997 $
+  $Author: gaugau $
+  $Date: 2009-05-26 08:43:24 +0200 (Di, 26 Mai 2009) $
+**********************************************/
+
+// ------------------------------------------------------------------------- //
+// This theme has had all redundant CORE items removed                       //
+// ------------------------------------------------------------------------- //
+define('THEME_HAS_NO_SUB_MENU_BUTTONS', 1);
+define('THEME_IS_XHTML10_TRANSITIONAL',1);  // Remove this if you edit this template until
+                                            // you have validated it. See docs/theme.htm.
+
+// HTML template for template sys_menu spacer
+$template_sys_menu_spacer ="|";
+
+// HTML template for sub_menu
+if ($CONFIG['custom_lnk_url'] != '') {
+
+$template_sub_menu = <<<EOT
+                        <table border="0" cellpadding="0" cellspacing="0">
+                                <tr>
+<!-- BEGIN custom_link -->
+                                                                                <td class="top_menu_left_bttn">
+                                                <a href="{CUSTOM_LNK_TGT}" onmouseover="MM_showHideLayers('SYS_MENU','','hide')" title="{CUSTOM_LNK_TITLE}">{CUSTOM_LNK_LNK}</a>
+                                        </td>
+                                        <td><img src="themes/project_vii/images/menu_spacer.gif" width="2" height="35" border="0" alt="" /><br /></td>
+<!-- END custom_link -->
+                                        <td class="top_menu_bttn">
+                                                <a href="{ALB_LIST_TGT}" onmouseover="MM_showHideLayers('SYS_MENU','','hide')" title="{ALB_LIST_TITLE}">{ALB_LIST_LNK}</a>
+                                        </td>
+                                        <td><img src="themes/project_vii/images/menu_spacer.gif" width="2" height="35" border="0" alt="" /><br /></td>
+                                        <td class="top_menu_bttn">
+                                                <a href="javascript:;" onmouseover="MM_showHideLayers('SYS_MENU','','show')">@</a>
+                                        </td>
+                                        <td><img src="themes/project_vii/images/menu_spacer.gif" width="2" height="35" border="0"  alt="" /><br /></td>
+                                        <td class="top_menu_bttn">
+                                                <a href="{LASTUP_TGT}" onmouseover="MM_showHideLayers('SYS_MENU','','hide')" title="{LASTUP_TITLE}">{LASTUP_LNK}</a>
+                                        </td>
+                                        <td><img src="themes/project_vii/images/menu_spacer.gif" width="2" height="35" border="0"  alt="" /><br /></td>
+                                        <td class="top_menu_bttn">
+                                                <a href="{LASTCOM_TGT}" onmouseover="MM_showHideLayers('SYS_MENU','','hide')" title="{LASTCOM_LNK}">{LASTCOM_LNK}</a>
+                                        </td>
+                                        <td><img src="themes/project_vii/images/menu_spacer.gif" width="2" height="35" border="0"  alt="" /><br /></td>
+                                        <td class="top_menu_bttn">
+                                                <a href="{TOPN_TGT}" onmouseover="MM_showHideLayers('SYS_MENU','','hide')" title="{TOPN_LNK}">{TOPN_LNK}</a>
+                                        </td>
+                                        <td><img src="themes/project_vii/images/menu_spacer.gif" width="2" height="35" border="0"  alt="" /><br /></td>
+                                        <td class="top_menu_bttn">
+                                                <a href="{TOPRATED_TGT}" onmouseover="MM_showHideLayers('SYS_MENU','','hide')" title="{TOPRATED_LNK}">{TOPRATED_LNK}</a>
+                                        </td>
+                                        <td><img src="themes/project_vii/images/menu_spacer.gif" width="2" height="35" border="0"  alt="" /><br /></td>
+                                        <td class="top_menu_bttn">
+                                                <a href="{FAV_TGT}" onmouseover="MM_showHideLayers('SYS_MENU','','hide')" title="{FAV_LNK}">{FAV_LNK}</a>
+                                        </td>
+                                        <td><img src="themes/project_vii/images/menu_spacer.gif" width="2" height="35" border="0"  alt="" /><br /></td>
+                                        <td class="top_menu_right_bttn">
+                                                <a href="{SEARCH_TGT}" onmouseover="MM_showHideLayers('SYS_MENU','','hide')" title="{SEARCH_LNK}">{SEARCH_LNK}</a>
+                                        </td>
+                                </tr>
+                        </table>
+EOT;
+
+
+
+} else {
+$template_sub_menu = <<<EOT
+                        <table border="0" cellpadding="0" cellspacing="0">
+                                <tr>
+<!-- BEGIN custom_link -->
+<!-- END custom_link -->
+                                        <td class="top_menu_left_bttn">
+                                                <a href="{ALB_LIST_TGT}" onmouseover="MM_showHideLayers('SYS_MENU','','hide')" title="{ALB_LIST_TITLE}">{ALB_LIST_LNK}</a>
+                                        </td>
+                                        <td><img src="themes/project_vii/images/menu_spacer.gif" width="2" height="35" border="0" alt="" /><br /></td>
+                                        <td class="top_menu_bttn">
+                                                <a href="javascript:;" onmouseover="MM_showHideLayers('SYS_MENU','','show')">@</a>
+                                        </td>
+                                        <td><img src="themes/project_vii/images/menu_spacer.gif" width="2" height="35" border="0"  alt="" /><br /></td>
+                                        <td class="top_menu_bttn">
+                                                <a href="{LASTUP_TGT}" onmouseover="MM_showHideLayers('SYS_MENU','','hide')" title="{LASTUP_TITLE}">{LASTUP_LNK}</a>
+                                        </td>
+                                        <td><img src="themes/project_vii/images/menu_spacer.gif" width="2" height="35" border="0"  alt="" /><br /></td>
+                                        <td class="top_menu_bttn">
+                                                <a href="{LASTCOM_TGT}" onmouseover="MM_showHideLayers('SYS_MENU','','hide')" title="{LASTCOM_LNK}">{LASTCOM_LNK}</a>
+                                        </td>
+                                        <td><img src="themes/project_vii/images/menu_spacer.gif" width="2" height="35" border="0"  alt="" /><br /></td>
+                                        <td class="top_menu_bttn">
+                                                <a href="{TOPN_TGT}" onmouseover="MM_showHideLayers('SYS_MENU','','hide')" title="{TOPN_LNK}">{TOPN_LNK}</a>
+                                        </td>
+                                        <td><img src="themes/project_vii/images/menu_spacer.gif" width="2" height="35" border="0"  alt="" /><br /></td>
+                                        <td class="top_menu_bttn">
+                                                <a href="{TOPRATED_TGT}" onmouseover="MM_showHideLayers('SYS_MENU','','hide')" title="{TOPRATED_LNK}">{TOPRATED_LNK}</a>
+                                        </td>
+                                        <td><img src="themes/project_vii/images/menu_spacer.gif" width="2" height="35" border="0"  alt="" /><br /></td>
+                                        <td class="top_menu_bttn">
+                                                <a href="{FAV_TGT}" onmouseover="MM_showHideLayers('SYS_MENU','','hide')" title="{FAV_LNK}">{FAV_LNK}</a>
+                                        </td>
+                                        <td><img src="themes/project_vii/images/menu_spacer.gif" width="2" height="35" border="0"  alt="" /><br /></td>
+                                        <td class="top_menu_right_bttn">
+                                                <a href="{SEARCH_TGT}" onmouseover="MM_showHideLayers('SYS_MENU','','hide')" title="{SEARCH_LNK}">{SEARCH_LNK}</a>
+                                        </td>
+                                </tr>
+                        </table>
+EOT;
+}
+
 ?>
\ No newline at end of file
diff -x .svn -aruN 1.4.24.src/themes/rainy_day/style.css 1.4.25.src/themes/rainy_day/style.css
--- 1.4.24.src/themes/rainy_day/style.css	2009-05-21 15:03:09.000000000 -0500
+++ 1.4.25.src/themes/rainy_day/style.css	2009-05-26 11:25:44.000000000 -0500
@@ -1,592 +1,592 @@
-/*************************
-  Coppermine Photo Gallery
-  ************************
-  Copyright (c) 2003-2009 Coppermine Dev Team
-  v1.1 originally written by Gregory DEMAR
-
-  This program is free software; you can redistribute it and/or modify
-  it under the terms of the GNU General Public License version 3
-  as published by the Free Software Foundation.
-  
-  ********************************************
-  Coppermine version: 1.4.24
-  $HeadURL: https://coppermine.svn.sourceforge.net/svnroot/coppermine/trunk/cpg1.4.x/themes/rainy_day/style.css $
-  $Revision: 5969 $
-  $Author: gaugau $
-  $Date: 2009-05-21 22:03:33 +0200 (Do, 21 Mai 2009) $
-**********************************************/
-
-/* Colors used:                                */
-/* --------------------------------------------*/
-/* #000000 = RBG   0,  0,  0 = (black)         */
-/* #66707C = RBG 102,112,124 = (dark grey)     */
-/* #5F5F5F = RBG  95, 95, 95 = (dark grey)     */
-/* #BDBEBD = RBG 189,190,189 = (light grey)    */
-/* #A3AAB4 = RBG 163,170,180 = (light grey)    */
-/* #C2C9D3 = RBG 194,201,211 = (light grey)    */
-/* #DEDEDE = RBG 222,222,222 = (dark white)    */
-/* #EFEFEF = RBG 239,239,239 = (dark white)    */
-/* #FFFFFF = RBG 255,255,255 = (white)         */
-/* #758698 = RBG 117,134,152 = (light blue)    */
-/* #005D8C = RBG   0, 93,140 = (medium blue)   */
-/* #0033CC = RBG   0, 51,204 = (medium blue)   */
-/* if you don't like a color, just do a search */
-/* and replace on the hex color...             */
-
-body {
-        font-family: Verdana, Arial, Helvetica, sans-serif;
-        font-size: 12px;
-        background: #758698 ;
-        color: Black;
-        margin: 0px;
-}
-
-table {
-        font-size: 12px;
-}
-
-h1{
-        font-size: 32px;
-        font-family: "Trebuchet MS", Verdana, Arial, Helvetica, sans-serif;
-        text-decoration: none;
-        color: #FFFFFF;
-        margin: 2px;
-        font-style: italic;
-}
-
-h2 {
-        font-family: Arial, Helvetica, sans-serif;
-        font-size: 18px;
-        margin: 0px;
-        color: #FFFFFF;
-        font-style: italic;
-}
-
-h3 {
-        font-weight: normal;
-        font-family: Verdana, Arial, Helvetica, sans-serif;
-        font-size: 12px;
-        margin: 2px;
-}
-
-p {
-        font-family: Arial, Helvetica, sans-serif;
-        font-size: 100%;
-        margin: 2px 0px;
-}
-
-ul {
-        margin-left: 5px;
-        padding: 0px;
-}
-
-li {
-        margin-left: 10px;
-        margin-top: 4px;
-        margin-bottom: 4px;
-        padding: 0px;
-        list-style-position: outside;
-        list-style-type: disc;
-}
-
-.textinput {
-        font-family: Verdana, Arial, Helvetica, sans-serif;
-        font-size: 100%;
-        border: 1px solid #A3AAB4;
-        padding-right: 3px;
-        padding-left: 3px;
-        background-color: #DEDEDE;
-}
-
-.listbox {
-        font-family: Verdana, Arial, Arial, Helvetica, sans-serif;
-        background-color: #DEDEDE;
-        font-size: 100%;
-        border: 1px solid #A3AAB4;
-        vertical-align: middle;
-}
-
-.button {
-        font-family: Arial, Helvetica, sans-serif;
-        font-size: 100%;
-        border: 1px solid #005D8C;
-        background-image: url(images/button_bg.gif);
-        background-position: bottom;
-}
-
-.comment_button {
-        font-family: Arial, Helvetica, sans-serif;
-        font-size: 100%;
-        border: 1px solid #005D8C;
-        background-image: url(images/button_bg.gif);
-        background-position: bottom;
-        padding-left: 3px;
-        padding-right: 3px;
-}
-
-.radio {
-        font-family: Verdana, Arial, Helvetica, sans-serif;
-        font-size: 100%;
-        vertical-align: middle;
-}
-
-.checkbox {
-        font-family: Verdana, Arial, Helvetica, sans-serif;
-        font-size: 100%;
-        vertical-align: middle;
-}
-
-a {
-        color: #0033CC;
-        text-decoration: none;
-}
-
-a:hover {
-        color: #0033CC;
-        text-decoration: underline;
-}
-
-.bblink a {
-        color: #0033CC;
-        text-decoration: none;
-}
-
-.bblink a:hover {
-        color: #0033CC;
-        text-decoration: underline;
-}
-
-.maintable {
-        border: 1px solid #DEDEDE;
-/*        background-color: #BDBEBD; */
-        background-color:#C2C9D3;
-        margin-top: 1px;
-        margin-bottom: 1px;
-}
-
-.tableh1 {
-        background: #66707C ;
-        color: #FFFFFF;
-        padding-top: 3px;
-        padding-right: 10px;
-        padding-bottom: 3px;
-        padding-left: 10px;
-}
-
-.tableh1_compact {
-        background: #66707C ;
-        color: #FFFFFF;
-        padding-top: 2px;
-        padding-right: 5px;
-        padding-bottom: 2px;
-        padding-left: 5px;
-}
-
-.tableh2 {
-        background: #A3AAB4 ;
-        color: #000000;
-        padding-top: 3px;
-        padding-right: 10px;
-        padding-bottom: 3px;
-        padding-left: 10px;
-}
-
-.tableh2_compact {
-        background: #A3AAB4 ;
-        color: #000000;
-        padding-top: 2px;
-        padding-right: 5px;
-        padding-bottom: 2px;
-        padding-left: 5px;
-}
-
-.tableb {
-        background: #C2C9D3 ;
-        padding-top: 3px;
-        padding-right: 10px;
-        padding-bottom: 3px;
-        padding-left: 10px;
-}
-
-.tableb_compact {
-        background: #C2C9D3 ;
-        padding-top: 2px;
-        padding-right: 5px;
-        padding-bottom: 2px;
-        padding-left: 5px;
-}
-
-.tablef {
-        background: #A3AAB4;
-        padding-top: 10px;
-        padding-right: 10px;
-        padding-bottom: 10px;
-        padding-left: 10px;
-}
-
-.catrow_noalb {
-        background: #A3AAB4 ;
-        color: #000000;
-        padding-top: 3px;
-        padding-right: 10px;
-        padding-bottom: 3px;
-        padding-left: 10px;
-}
-
-.catrow {
-        background: #C2C9D3 ;
-        padding-top: 3px;
-        padding-right: 10px;
-        padding-bottom: 3px;
-        padding-left: 10px;
-}
-
-.album_stat {
-        font-size: 85%;
-        margin: 5px 0px;
-}
-
-.thumb_filename {
-        font-size: 80%;
-        display: block;
-}
-
-.thumb_title {
-        font-weight: bold;
-        font-size: 80%;
-        padding: 2px;
-        display: block;
-}
-
-.thumb_caption {
-        font-size: 80%;
-        padding: 1px;
-        display: block;
-}
-
-.thumb_caption a {
-        text-decoration: underline;
-        color: #000000;
-}
-
-.thumb_num_comments {
-        font-weight: normal;
-        font-size: 80%;
-        padding: 2px;
-        font-style: italic;
-        display: block;
-}
-
-.user_thumb_infobox {
-        margin-top: 1px;
-        margin-bottom: 1px;
-}
-
-.user_thumb_infobox th {
-        font-weight: bold;
-        font-size: 100%;
-        margin-top: 1px;
-        margin-bottom: 1px;
-        text-align: center;
-}
-
-.user_thumb_infobox td {
-        font-size: 85%;
-        margin-top: 1px;
-        margin-bottom: 1px;
-        text-align: center;
-}
-
-.user_thumb_infobox a {
-        text-decoration: none;
-        color: #000000;
-}
-
-.user_thumb_infobox a:hover {
-        color: #000000;
-        text-decoration: underline;
-}
-
-.sortorder_cell {
-        background: #66707C ;
-        color: #FFFFFF;
-        padding: 0px;
-        margin: 0px;
-}
-
-.sortorder_options {
-        font-family: Verdana, Arial, Helvetica, sans-serif;
-        background: #66707C ;
-        color: #FFFFFF;
-        padding: 0px;
-        margin: 0px;
-        font-weight: normal;
-        font-size: 80%;
-        white-space: nowrap;
-}
-
-.navmenu {
-        font-family: Verdana, Arial, Helvetica, sans-serif;
-        color: #FFFFFF;
-        font-size: 100%;
-        font-weight: bold;
-        background: #66707C ;
-        border-style: none;
-}
-
-.navmenu img {
-        margin-top: 1px;
-        margin-right: 5px;
-        margin-bottom: 1px;
-        margin-left: 5px;
-}
-
-.navmenu a {
-        display: block;
-        padding-top: 2px;
-        padding-right: 5px;
-        padding-bottom: 2px;
-        padding-left: 5px;
-        text-decoration: none;
-        color: #FFFFFF;
-}
-
-.navmenu a:hover {
-        background: #C2C9D3 ;
-        text-decoration: none;
-        color:         #000000;
-}
-
-.admin_menu_thumb {
-        font-family: Arial, Helvetica, sans-serif;
-        font-size: 85%;
-        border: 1px solid #005D8C;
-        background-image: url(images/button_bg.gif);
-        background-position: bottom;
-        color: #000000;
-        font-weight: bold;
-        margin-top: 0px;
-        margin-bottom: 0px;
-        width: 85px;
-}
-
-.admin_menu_thumb a {
-        color: #000000;
-        text-decoration: none;
-        display: block;
-        position: relative;
-        padding-top: 1px;
-        padding-bottom: 1px;
-        padding-left: 10px;
-        padding-right: 10px;
-}
-
-
-.admin_menu_thumb a:hover {
-        color: #000000;
-        text-decoration: underline;
-}
-
-.admin_menu {
-        font-family: Arial, Helvetica, sans-serif;
-        font-size: 85%;
-        border: 1px solid #005D8C;
-        background-image: url(images/button_bg.gif);
-        background-position: bottom;
-        background-repeat: repeat-x;
-        background-color: #FFFFFF;
-        color: #000000;
-        margin-top: 0px;
-        margin-bottom: 0px;
-        text-align: center;
-}
-
-.admin_menu a {
-        color: #000000;
-        text-decoration: none;
-        display: block;
-        position: relative;
-        padding-top: 1px;
-        padding-bottom: 1px;
-        padding-left: 2px;
-        padding-right: 2px;
-}
-
-.admin_menu a:hover {
-        color: #000000;
-        text-decoration: underline;
-}
-
-td #admin_menu_anim {
-        background-image: url(images/button_bg_anim.gif);
-}
-.comment_date{
-        color: #5F5F5F;
-        font-size: 90%;
-        vertical-align: middle;
-}
-
-.image {
-        border-style: solid;
-        border-width:1px;
-        border-color: #000000;
-        margin: 2px;
-}
-
-.imageborder {
-        border: 1px solid #000000;
-        background-color: #FFFFFF;
-        margin-top: 30px;
-        margin-bottom: 30px;
-}
-
-.display_media {
-        background: #C2C9D3 ;
-        padding-top: 3px;
-        padding-right: 10px;
-        padding-bottom: 3px;
-        padding-left: 10px;
-}
-
-.thumbnails {
-        background: #C2C9D3 ;
-        padding: 5px;
-}
-
-.footer {
-        font-size: 9px;
-        color: #292e34;
-}
-
-.footer a {
-        text-decoration: none;
-        color: #758698;
-}
-
-.footer a:hover {
-        color: black;
-        text-decoration: underline;
-}
-
-.statlink {
-        color: #FFFFFF;
-}
-
-.statlink a {
-        text-decoration: none;
-        color: #FFFFFF;
-}
-
-.statlink a:hover {
-        color: #FFFFFF;
-        text-decoration: underline;
-}
-
-.alblink a {
-        text-decoration: underline;
-        color: #000000;
-}
-
-.alblink a:hover {
-        color: #000000;
-        text-decoration: underline;
-}
-
-.catlink {
-        display: block;
-        margin-bottom: 2px;
-}
-
-.catlink a {
-        text-decoration: underline;
-        color: #000000;
-}
-
-.catlink a:hover {
-        color: #000000;
-        text-decoration: underline;
-}
-
-.topmenu {
-        font-size: 100%;
-}
-
-.topmenu a {
-        color: #FFFFFF;
-        text-decoration: none;
-}
-
-.topmenu a:hover  {
-        color: #FFFFFF;
-        text-decoration: underline;
-}
-
-.topmenu td  {
-        white-space: nowrap;
-        font-weight: bold;
-}
-
-
-.img_caption_table {
-        border: none;
-        background-color: #FFFFFF;
-        width: 100%;
-        margin: 0px;
-}
-
-.img_caption_table th {
-        background: #A3AAB4 ;
-        font-size: 100%;
-        color: #000000;
-        padding-top: 4px;
-        padding-right: 10px;
-        padding-bottom: 4px;
-        padding-left: 10px;
-        border-top: 1px solid #FFFFFF;
-}
-
-.img_caption_table td {
-        background: #C2C9D3 ;
-        padding-top: 6px;
-        padding-right: 10px;
-        padding-bottom: 6px;
-        padding-left: 10px;
-        border-top: 1px solid #FFFFFF;
-        white-space: normal;
-}
-
-.debug_text {
-        border: #BDBEBD;
-        background-color: #EFEFEF;
-        width: 100%;
-        margin: 0px;
-}
-
-.clickable_option {
-        cursor: default;
-}
-
-.listbox_lang {
-        color: #000000;
-        background-color: #758698;
-        border: 1px solid #758698;
-        font-size: 80%;
-        font-family: Arial, Helvetica, sans-serif;
-        vertical-align: middle;
-}
-
-#vanity a {
-        display:block;
-        width:57px;
-        height:20px;
-        margin: 3px 20px;
-}
-#vanity img {border:0}
-#v_php {float:left;background-image:url(../../images/powered-php.gif);}
-#v_php:hover {background-image:url(../../images/h_powered-php.gif);}
-#v_mysql {float:left;background-image:url(../../images/powered-mysql.gif);}
-#v_mysql:hover  {background-image:url(../../images/h_powered-mysql.gif);}
-#v_xhtml {float:right;background-image:url(../../images/valid-xhtml10.gif);}
-#v_xhtml:hover {background-image:url(../../images/h_valid-xhtml10.gif);}
-#v_css {float:right;background-image:url(../../images/valid-css.gif);}
+/*************************
+  Coppermine Photo Gallery
+  ************************
+  Copyright (c) 2003-2009 Coppermine Dev Team
+  v1.1 originally written by Gregory DEMAR
+
+  This program is free software; you can redistribute it and/or modify
+  it under the terms of the GNU General Public License version 3
+  as published by the Free Software Foundation.
+  
+  ********************************************
+  Coppermine version: 1.4.25
+  $HeadURL: https://coppermine.svn.sourceforge.net/svnroot/coppermine/trunk/cpg1.4.x/themes/rainy_day/style.css $
+  $Revision: 5997 $
+  $Author: gaugau $
+  $Date: 2009-05-26 08:43:24 +0200 (Di, 26 Mai 2009) $
+**********************************************/
+
+/* Colors used:                                */
+/* --------------------------------------------*/
+/* #000000 = RBG   0,  0,  0 = (black)         */
+/* #66707C = RBG 102,112,124 = (dark grey)     */
+/* #5F5F5F = RBG  95, 95, 95 = (dark grey)     */
+/* #BDBEBD = RBG 189,190,189 = (light grey)    */
+/* #A3AAB4 = RBG 163,170,180 = (light grey)    */
+/* #C2C9D3 = RBG 194,201,211 = (light grey)    */
+/* #DEDEDE = RBG 222,222,222 = (dark white)    */
+/* #EFEFEF = RBG 239,239,239 = (dark white)    */
+/* #FFFFFF = RBG 255,255,255 = (white)         */
+/* #758698 = RBG 117,134,152 = (light blue)    */
+/* #005D8C = RBG   0, 93,140 = (medium blue)   */
+/* #0033CC = RBG   0, 51,204 = (medium blue)   */
+/* if you don't like a color, just do a search */
+/* and replace on the hex color...             */
+
+body {
+        font-family: Verdana, Arial, Helvetica, sans-serif;
+        font-size: 12px;
+        background: #758698 ;
+        color: Black;
+        margin: 0px;
+}
+
+table {
+        font-size: 12px;
+}
+
+h1{
+        font-size: 32px;
+        font-family: "Trebuchet MS", Verdana, Arial, Helvetica, sans-serif;
+        text-decoration: none;
+        color: #FFFFFF;
+        margin: 2px;
+        font-style: italic;
+}
+
+h2 {
+        font-family: Arial, Helvetica, sans-serif;
+        font-size: 18px;
+        margin: 0px;
+        color: #FFFFFF;
+        font-style: italic;
+}
+
+h3 {
+        font-weight: normal;
+        font-family: Verdana, Arial, Helvetica, sans-serif;
+        font-size: 12px;
+        margin: 2px;
+}
+
+p {
+        font-family: Arial, Helvetica, sans-serif;
+        font-size: 100%;
+        margin: 2px 0px;
+}
+
+ul {
+        margin-left: 5px;
+        padding: 0px;
+}
+
+li {
+        margin-left: 10px;
+        margin-top: 4px;
+        margin-bottom: 4px;
+        padding: 0px;
+        list-style-position: outside;
+        list-style-type: disc;
+}
+
+.textinput {
+        font-family: Verdana, Arial, Helvetica, sans-serif;
+        font-size: 100%;
+        border: 1px solid #A3AAB4;
+        padding-right: 3px;
+        padding-left: 3px;
+        background-color: #DEDEDE;
+}
+
+.listbox {
+        font-family: Verdana, Arial, Arial, Helvetica, sans-serif;
+        background-color: #DEDEDE;
+        font-size: 100%;
+        border: 1px solid #A3AAB4;
+        vertical-align: middle;
+}
+
+.button {
+        font-family: Arial, Helvetica, sans-serif;
+        font-size: 100%;
+        border: 1px solid #005D8C;
+        background-image: url(images/button_bg.gif);
+        background-position: bottom;
+}
+
+.comment_button {
+        font-family: Arial, Helvetica, sans-serif;
+        font-size: 100%;
+        border: 1px solid #005D8C;
+        background-image: url(images/button_bg.gif);
+        background-position: bottom;
+        padding-left: 3px;
+        padding-right: 3px;
+}
+
+.radio {
+        font-family: Verdana, Arial, Helvetica, sans-serif;
+        font-size: 100%;
+        vertical-align: middle;
+}
+
+.checkbox {
+        font-family: Verdana, Arial, Helvetica, sans-serif;
+        font-size: 100%;
+        vertical-align: middle;
+}
+
+a {
+        color: #0033CC;
+        text-decoration: none;
+}
+
+a:hover {
+        color: #0033CC;
+        text-decoration: underline;
+}
+
+.bblink a {
+        color: #0033CC;
+        text-decoration: none;
+}
+
+.bblink a:hover {
+        color: #0033CC;
+        text-decoration: underline;
+}
+
+.maintable {
+        border: 1px solid #DEDEDE;
+/*        background-color: #BDBEBD; */
+        background-color:#C2C9D3;
+        margin-top: 1px;
+        margin-bottom: 1px;
+}
+
+.tableh1 {
+        background: #66707C ;
+        color: #FFFFFF;
+        padding-top: 3px;
+        padding-right: 10px;
+        padding-bottom: 3px;
+        padding-left: 10px;
+}
+
+.tableh1_compact {
+        background: #66707C ;
+        color: #FFFFFF;
+        padding-top: 2px;
+        padding-right: 5px;
+        padding-bottom: 2px;
+        padding-left: 5px;
+}
+
+.tableh2 {
+        background: #A3AAB4 ;
+        color: #000000;
+        padding-top: 3px;
+        padding-right: 10px;
+        padding-bottom: 3px;
+        padding-left: 10px;
+}
+
+.tableh2_compact {
+        background: #A3AAB4 ;
+        color: #000000;
+        padding-top: 2px;
+        padding-right: 5px;
+        padding-bottom: 2px;
+        padding-left: 5px;
+}
+
+.tableb {
+        background: #C2C9D3 ;
+        padding-top: 3px;
+        padding-right: 10px;
+        padding-bottom: 3px;
+        padding-left: 10px;
+}
+
+.tableb_compact {
+        background: #C2C9D3 ;
+        padding-top: 2px;
+        padding-right: 5px;
+        padding-bottom: 2px;
+        padding-left: 5px;
+}
+
+.tablef {
+        background: #A3AAB4;
+        padding-top: 10px;
+        padding-right: 10px;
+        padding-bottom: 10px;
+        padding-left: 10px;
+}
+
+.catrow_noalb {
+        background: #A3AAB4 ;
+        color: #000000;
+        padding-top: 3px;
+        padding-right: 10px;
+        padding-bottom: 3px;
+        padding-left: 10px;
+}
+
+.catrow {
+        background: #C2C9D3 ;
+        padding-top: 3px;
+        padding-right: 10px;
+        padding-bottom: 3px;
+        padding-left: 10px;
+}
+
+.album_stat {
+        font-size: 85%;
+        margin: 5px 0px;
+}
+
+.thumb_filename {
+        font-size: 80%;
+        display: block;
+}
+
+.thumb_title {
+        font-weight: bold;
+        font-size: 80%;
+        padding: 2px;
+        display: block;
+}
+
+.thumb_caption {
+        font-size: 80%;
+        padding: 1px;
+        display: block;
+}
+
+.thumb_caption a {
+        text-decoration: underline;
+        color: #000000;
+}
+
+.thumb_num_comments {
+        font-weight: normal;
+        font-size: 80%;
+        padding: 2px;
+        font-style: italic;
+        display: block;
+}
+
+.user_thumb_infobox {
+        margin-top: 1px;
+        margin-bottom: 1px;
+}
+
+.user_thumb_infobox th {
+        font-weight: bold;
+        font-size: 100%;
+        margin-top: 1px;
+        margin-bottom: 1px;
+        text-align: center;
+}
+
+.user_thumb_infobox td {
+        font-size: 85%;
+        margin-top: 1px;
+        margin-bottom: 1px;
+        text-align: center;
+}
+
+.user_thumb_infobox a {
+        text-decoration: none;
+        color: #000000;
+}
+
+.user_thumb_infobox a:hover {
+        color: #000000;
+        text-decoration: underline;
+}
+
+.sortorder_cell {
+        background: #66707C ;
+        color: #FFFFFF;
+        padding: 0px;
+        margin: 0px;
+}
+
+.sortorder_options {
+        font-family: Verdana, Arial, Helvetica, sans-serif;
+        background: #66707C ;
+        color: #FFFFFF;
+        padding: 0px;
+        margin: 0px;
+        font-weight: normal;
+        font-size: 80%;
+        white-space: nowrap;
+}
+
+.navmenu {
+        font-family: Verdana, Arial, Helvetica, sans-serif;
+        color: #FFFFFF;
+        font-size: 100%;
+        font-weight: bold;
+        background: #66707C ;
+        border-style: none;
+}
+
+.navmenu img {
+        margin-top: 1px;
+        margin-right: 5px;
+        margin-bottom: 1px;
+        margin-left: 5px;
+}
+
+.navmenu a {
+        display: block;
+        padding-top: 2px;
+        padding-right: 5px;
+        padding-bottom: 2px;
+        padding-left: 5px;
+        text-decoration: none;
+        color: #FFFFFF;
+}
+
+.navmenu a:hover {
+        background: #C2C9D3 ;
+        text-decoration: none;
+        color:         #000000;
+}
+
+.admin_menu_thumb {
+        font-family: Arial, Helvetica, sans-serif;
+        font-size: 85%;
+        border: 1px solid #005D8C;
+        background-image: url(images/button_bg.gif);
+        background-position: bottom;
+        color: #000000;
+        font-weight: bold;
+        margin-top: 0px;
+        margin-bottom: 0px;
+        width: 85px;
+}
+
+.admin_menu_thumb a {
+        color: #000000;
+        text-decoration: none;
+        display: block;
+        position: relative;
+        padding-top: 1px;
+        padding-bottom: 1px;
+        padding-left: 10px;
+        padding-right: 10px;
+}
+
+
+.admin_menu_thumb a:hover {
+        color: #000000;
+        text-decoration: underline;
+}
+
+.admin_menu {
+        font-family: Arial, Helvetica, sans-serif;
+        font-size: 85%;
+        border: 1px solid #005D8C;
+        background-image: url(images/button_bg.gif);
+        background-position: bottom;
+        background-repeat: repeat-x;
+        background-color: #FFFFFF;
+        color: #000000;
+        margin-top: 0px;
+        margin-bottom: 0px;
+        text-align: center;
+}
+
+.admin_menu a {
+        color: #000000;
+        text-decoration: none;
+        display: block;
+        position: relative;
+        padding-top: 1px;
+        padding-bottom: 1px;
+        padding-left: 2px;
+        padding-right: 2px;
+}
+
+.admin_menu a:hover {
+        color: #000000;
+        text-decoration: underline;
+}
+
+td #admin_menu_anim {
+        background-image: url(images/button_bg_anim.gif);
+}
+.comment_date{
+        color: #5F5F5F;
+        font-size: 90%;
+        vertical-align: middle;
+}
+
+.image {
+        border-style: solid;
+        border-width:1px;
+        border-color: #000000;
+        margin: 2px;
+}
+
+.imageborder {
+        border: 1px solid #000000;
+        background-color: #FFFFFF;
+        margin-top: 30px;
+        margin-bottom: 30px;
+}
+
+.display_media {
+        background: #C2C9D3 ;
+        padding-top: 3px;
+        padding-right: 10px;
+        padding-bottom: 3px;
+        padding-left: 10px;
+}
+
+.thumbnails {
+        background: #C2C9D3 ;
+        padding: 5px;
+}
+
+.footer {
+        font-size: 9px;
+        color: #292e34;
+}
+
+.footer a {
+        text-decoration: none;
+        color: #758698;
+}
+
+.footer a:hover {
+        color: black;
+        text-decoration: underline;
+}
+
+.statlink {
+        color: #FFFFFF;
+}
+
+.statlink a {
+        text-decoration: none;
+        color: #FFFFFF;
+}
+
+.statlink a:hover {
+        color: #FFFFFF;
+        text-decoration: underline;
+}
+
+.alblink a {
+        text-decoration: underline;
+        color: #000000;
+}
+
+.alblink a:hover {
+        color: #000000;
+        text-decoration: underline;
+}
+
+.catlink {
+        display: block;
+        margin-bottom: 2px;
+}
+
+.catlink a {
+        text-decoration: underline;
+        color: #000000;
+}
+
+.catlink a:hover {
+        color: #000000;
+        text-decoration: underline;
+}
+
+.topmenu {
+        font-size: 100%;
+}
+
+.topmenu a {
+        color: #FFFFFF;
+        text-decoration: none;
+}
+
+.topmenu a:hover  {
+        color: #FFFFFF;
+        text-decoration: underline;
+}
+
+.topmenu td  {
+        white-space: nowrap;
+        font-weight: bold;
+}
+
+
+.img_caption_table {
+        border: none;
+        background-color: #FFFFFF;
+        width: 100%;
+        margin: 0px;
+}
+
+.img_caption_table th {
+        background: #A3AAB4 ;
+        font-size: 100%;
+        color: #000000;
+        padding-top: 4px;
+        padding-right: 10px;
+        padding-bottom: 4px;
+        padding-left: 10px;
+        border-top: 1px solid #FFFFFF;
+}
+
+.img_caption_table td {
+        background: #C2C9D3 ;
+        padding-top: 6px;
+        padding-right: 10px;
+        padding-bottom: 6px;
+        padding-left: 10px;
+        border-top: 1px solid #FFFFFF;
+        white-space: normal;
+}
+
+.debug_text {
+        border: #BDBEBD;
+        background-color: #EFEFEF;
+        width: 100%;
+        margin: 0px;
+}
+
+.clickable_option {
+        cursor: default;
+}
+
+.listbox_lang {
+        color: #000000;
+        background-color: #758698;
+        border: 1px solid #758698;
+        font-size: 80%;
+        font-family: Arial, Helvetica, sans-serif;
+        vertical-align: middle;
+}
+
+#vanity a {
+        display:block;
+        width:57px;
+        height:20px;
+        margin: 3px 20px;
+}
+#vanity img {border:0}
+#v_php {float:left;background-image:url(../../images/powered-php.gif);}
+#v_php:hover {background-image:url(../../images/h_powered-php.gif);}
+#v_mysql {float:left;background-image:url(../../images/powered-mysql.gif);}
+#v_mysql:hover  {background-image:url(../../images/h_powered-mysql.gif);}
+#v_xhtml {float:right;background-image:url(../../images/valid-xhtml10.gif);}
+#v_xhtml:hover {background-image:url(../../images/h_valid-xhtml10.gif);}
+#v_css {float:right;background-image:url(../../images/valid-css.gif);}
 #v_css:hover{background-image:url(../../images/h_valid-css.gif);}
\ No newline at end of file
diff -x .svn -aruN 1.4.24.src/themes/rainy_day/template.html 1.4.25.src/themes/rainy_day/template.html
--- 1.4.24.src/themes/rainy_day/template.html	2009-05-21 15:03:09.000000000 -0500
+++ 1.4.25.src/themes/rainy_day/template.html	2009-05-26 11:25:44.000000000 -0500
@@ -1,173 +1,173 @@
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en" dir="{LANG_DIR}">
-<head>
-<meta http-equiv="Content-Type" content="text/html; charset={CHARSET}" />
-<meta http-equiv="Pragma" content="no-cache" />
-<title>{TITLE}</title>
-{META}
-<link rel="stylesheet" href="themes/rainy_day/style.css" type="text/css" />
-<script type="text/javascript" src="scripts.js"></script>
-<!--
-  SVN version info:
-  Coppermine version: 1.4.24
-  $Revision: 5969 $
-  $LastChangedBy: gaugau $
-  $Date: 2009-05-21 22:03:33 +0200 (Do, 21 Mai 2009) $
--->
-</head>
-<body>
-  {CUSTOM_HEADER}
-
-  <table border="0" cellpadding="0" cellspacing="0" width="100%">
-    <tr>
-      <td>
-        <table border="0" cellpadding="0" cellspacing="0" width="100%">
-          <tr>
-            <td style="background-image:url(themes/rainy_day/images/template_r1_c1.gif)">
-              <img src="images/spacer.gif" width="42" height="53" border="0" alt="" />
-            </td>
-            <td width="100%" style="background-image:url(themes/rainy_day/images/template_r1_c5.gif)">
-              {SYS_MENU}
-            </td>
-            <td style="background-image:url(themes/rainy_day/images/template_r1_c6.gif)">
-              <img src="images/spacer.gif" width="42" height="53" border="0" alt="" />
-            </td>
-          </tr>
-        </table>
-      </td>
-    </tr>
-    <tr>
-      <td>
-        <table border="0" cellpadding="0" cellspacing="0" width="100%">
-          <tr>
-            <td style="background-image:url(themes/rainy_day/images/template_r2_c1.gif);background-repeat:repeat-y">
-              <img src="images/spacer.gif" width="18" height="57" border="0" alt="" />
-            </td>
-            <td width="100%" style="background-image:url(themes/rainy_day/images/template_r2_c2.gif)">
-              <table border="0" width="100%" cellspacing="5" cellpadding="0">
-                <tr>
-                  <td>
-                    <h1>&nbsp;{GAL_NAME}</h1>
-                  </td>
-                  <td align="left">
-                    {THEME_SELECT_LIST}{LANGUAGE_SELECT_LIST}
-                  </td>
-                </tr>
-              </table>
-            </td>
-            <td style="background-image:url(themes/rainy_day/images/template_r2_c10.gif);background-repeat:repeat-y">
-              <img src="images/spacer.gif" width="16" height="57" border="0" alt="" />
-            </td>
-          </tr>
-        </table>
-      </td>
-    </tr>
-    <tr>
-      <td>
-        <table border="0" cellpadding="0" cellspacing="0" width="100%">
-          <tr>
-            <td style="background-image:url(themes/rainy_day/images/template_r3_c1.gif)">
-              <img src="images/spacer.gif" width="560" height="67" border="0" alt="" />
-            </td>
-            <td width="100%" style="background-image:url(themes/rainy_day/images/template_r3_c7.gif)" align="right">
-              {GAL_DESCRIPTION}
-            </td>
-            <td style="background-image:url(themes/rainy_day/images/template_r3_c9.gif)">
-              <img src="images/spacer.gif" width="42" height="67" border="0" alt="" />
-            </td>
-          </tr>
-        </table>
-      </td>
-    </tr>
-    <tr>
-      <td>
-        <table border="0" cellpadding="0" cellspacing="0" width="100%">
-          <tr>
-            <td style="background-image:url(themes/rainy_day/images/template_r4_c1.gif)">
-              <img src="images/spacer.gif" width="42" height="26" border="0" alt="" />
-            </td>
-            <td width="100%" align="right" style="background-image:url(themes/rainy_day/images/template_r4_c3.gif)">
-              {SUB_MENU}
-            </td>
-            <td style="background-image:url(themes/rainy_day/images/template_r4_c9.gif)">
-              <img src="images/spacer.gif" width="42" height="26" border="0" alt="" />
-            </td>
-          </tr>
-        </table>
-      </td>
-    </tr>
-    <tr>
-      <td>
-        <table border="0" cellpadding="0" cellspacing="0" width="100%">
-          <tr>
-            <td style="background-image:url(themes/rainy_day/images/template_r5_c1.gif)">
-              <img src="images/spacer.gif" width="42" height="18" border="0" alt="" />
-            </td>
-            <td style="background-image:url(themes/rainy_day/images/template_r5_c3.gif)">
-              <img src="images/spacer.gif" width="14" height="18" border="0" alt="" />
-            </td>
-            <td width="100%" style="background-image:url(themes/rainy_day/images/template_r5_c4.gif)">
-            </td>
-            <td style="background-image:url(themes/rainy_day/images/template_r5_c8.gif)">
-              <img src="images/spacer.gif" width="14" height="18" border="0" alt="" />
-            </td>
-            <td style="background-image:url(themes/rainy_day/images/template_r5_c9.gif)">
-              <img src="images/spacer.gif" width="42" height="18" border="0" alt="" />
-            </td>
-          </tr>
-        </table>
-      </td>
-    </tr>
-    <tr>
-      <td>
-        <table border="0" cellpadding="0" cellspacing="0" width="100%">
-          <tr>
-            <td style="background-image:url(themes/rainy_day/images/template_r6_c1.gif)">
-              <img src="themes/rainy_day/images/template_r6_c1.gif" width="42" height="328" border="0" alt="" />
-            </td>
-            <td width="100%" style="background-image:url(themes/rainy_day/images/template_r6_c3.gif);padding-left: 10px; padding-right: 10px;">
-              {ADMIN_MENU}
-              {GALLERY}
-            </td>
-            <td style="background-image:url(themes/rainy_day/images/template_r6_c9.gif)">
-              <img src="themes/rainy_day/images/template_r6_c9.gif" width="42" height="328" border="0" alt="" />
-            </td>
-          </tr>
-        </table>
-      </td>
-    </tr>
-    <tr>
-      <td>
-        <table border="0" cellpadding="0" cellspacing="0" width="100%">
-          <tr>
-            <td style="background-image:url(themes/rainy_day/images/template_r7_c1.gif)">
-              <img src="images/spacer.gif" width="42" height="45" border="0" alt="" />
-            </td>
-            <td style="background-image:url(themes/rainy_day/images/template_r7_c3.gif)">
-              <img src="images/spacer.gif" width="208" height="45" border="0" alt="" />
-            </td>
-            <td width="100%" style="background-image:url(themes/rainy_day/images/template_r7_c5.gif)">&nbsp;
-            </td>
-            <td style="background-image:url(themes/rainy_day/images/template_r7_c6.gif)">
-              <img src="images/spacer.gif" width="208" height="45" border="0" alt="" />
-            </td>
-            <td style="background-image:url(themes/rainy_day/images/template_r7_c9.gif)">
-              <img src="images/spacer.gif" width="42" height="45" border="0" alt="" />
-            </td>
-          </tr>
-        </table>
-      </td>
-    </tr>
-  </table>
-
-  <br />
-
-  <div align="center">
-    {LANGUAGE_SELECT_FLAGS}
-  </div>
-
-  {CUSTOM_FOOTER}
-  {VANITY}
-
-</body>
-</html>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en" dir="{LANG_DIR}">
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset={CHARSET}" />
+<meta http-equiv="Pragma" content="no-cache" />
+<title>{TITLE}</title>
+{META}
+<link rel="stylesheet" href="themes/rainy_day/style.css" type="text/css" />
+<script type="text/javascript" src="scripts.js"></script>
+<!--
+  SVN version info:
+  Coppermine version: 1.4.25
+  $Revision: 5997 $
+  $LastChangedBy: gaugau $
+  $Date: 2009-05-26 08:43:24 +0200 (Di, 26 Mai 2009) $
+-->
+</head>
+<body>
+  {CUSTOM_HEADER}
+
+  <table border="0" cellpadding="0" cellspacing="0" width="100%">
+    <tr>
+      <td>
+        <table border="0" cellpadding="0" cellspacing="0" width="100%">
+          <tr>
+            <td style="background-image:url(themes/rainy_day/images/template_r1_c1.gif)">
+              <img src="images/spacer.gif" width="42" height="53" border="0" alt="" />
+            </td>
+            <td width="100%" style="background-image:url(themes/rainy_day/images/template_r1_c5.gif)">
+              {SYS_MENU}
+            </td>
+            <td style="background-image:url(themes/rainy_day/images/template_r1_c6.gif)">
+              <img src="images/spacer.gif" width="42" height="53" border="0" alt="" />
+            </td>
+          </tr>
+        </table>
+      </td>
+    </tr>
+    <tr>
+      <td>
+        <table border="0" cellpadding="0" cellspacing="0" width="100%">
+          <tr>
+            <td style="background-image:url(themes/rainy_day/images/template_r2_c1.gif);background-repeat:repeat-y">
+              <img src="images/spacer.gif" width="18" height="57" border="0" alt="" />
+            </td>
+            <td width="100%" style="background-image:url(themes/rainy_day/images/template_r2_c2.gif)">
+              <table border="0" width="100%" cellspacing="5" cellpadding="0">
+                <tr>
+                  <td>
+                    <h1>&nbsp;{GAL_NAME}</h1>
+                  </td>
+                  <td align="left">
+                    {THEME_SELECT_LIST}{LANGUAGE_SELECT_LIST}
+                  </td>
+                </tr>
+              </table>
+            </td>
+            <td style="background-image:url(themes/rainy_day/images/template_r2_c10.gif);background-repeat:repeat-y">
+              <img src="images/spacer.gif" width="16" height="57" border="0" alt="" />
+            </td>
+          </tr>
+        </table>
+      </td>
+    </tr>
+    <tr>
+      <td>
+        <table border="0" cellpadding="0" cellspacing="0" width="100%">
+          <tr>
+            <td style="background-image:url(themes/rainy_day/images/template_r3_c1.gif)">
+              <img src="images/spacer.gif" width="560" height="67" border="0" alt="" />
+            </td>
+            <td width="100%" style="background-image:url(themes/rainy_day/images/template_r3_c7.gif)" align="right">
+              {GAL_DESCRIPTION}
+            </td>
+            <td style="background-image:url(themes/rainy_day/images/template_r3_c9.gif)">
+              <img src="images/spacer.gif" width="42" height="67" border="0" alt="" />
+            </td>
+          </tr>
+        </table>
+      </td>
+    </tr>
+    <tr>
+      <td>
+        <table border="0" cellpadding="0" cellspacing="0" width="100%">
+          <tr>
+            <td style="background-image:url(themes/rainy_day/images/template_r4_c1.gif)">
+              <img src="images/spacer.gif" width="42" height="26" border="0" alt="" />
+            </td>
+            <td width="100%" align="right" style="background-image:url(themes/rainy_day/images/template_r4_c3.gif)">
+              {SUB_MENU}
+            </td>
+            <td style="background-image:url(themes/rainy_day/images/template_r4_c9.gif)">
+              <img src="images/spacer.gif" width="42" height="26" border="0" alt="" />
+            </td>
+          </tr>
+        </table>
+      </td>
+    </tr>
+    <tr>
+      <td>
+        <table border="0" cellpadding="0" cellspacing="0" width="100%">
+          <tr>
+            <td style="background-image:url(themes/rainy_day/images/template_r5_c1.gif)">
+              <img src="images/spacer.gif" width="42" height="18" border="0" alt="" />
+            </td>
+            <td style="background-image:url(themes/rainy_day/images/template_r5_c3.gif)">
+              <img src="images/spacer.gif" width="14" height="18" border="0" alt="" />
+            </td>
+            <td width="100%" style="background-image:url(themes/rainy_day/images/template_r5_c4.gif)">
+            </td>
+            <td style="background-image:url(themes/rainy_day/images/template_r5_c8.gif)">
+              <img src="images/spacer.gif" width="14" height="18" border="0" alt="" />
+            </td>
+            <td style="background-image:url(themes/rainy_day/images/template_r5_c9.gif)">
+              <img src="images/spacer.gif" width="42" height="18" border="0" alt="" />
+            </td>
+          </tr>
+        </table>
+      </td>
+    </tr>
+    <tr>
+      <td>
+        <table border="0" cellpadding="0" cellspacing="0" width="100%">
+          <tr>
+            <td style="background-image:url(themes/rainy_day/images/template_r6_c1.gif)">
+              <img src="themes/rainy_day/images/template_r6_c1.gif" width="42" height="328" border="0" alt="" />
+            </td>
+            <td width="100%" style="background-image:url(themes/rainy_day/images/template_r6_c3.gif);padding-left: 10px; padding-right: 10px;">
+              {ADMIN_MENU}
+              {GALLERY}
+            </td>
+            <td style="background-image:url(themes/rainy_day/images/template_r6_c9.gif)">
+              <img src="themes/rainy_day/images/template_r6_c9.gif" width="42" height="328" border="0" alt="" />
+            </td>
+          </tr>
+        </table>
+      </td>
+    </tr>
+    <tr>
+      <td>
+        <table border="0" cellpadding="0" cellspacing="0" width="100%">
+          <tr>
+            <td style="background-image:url(themes/rainy_day/images/template_r7_c1.gif)">
+              <img src="images/spacer.gif" width="42" height="45" border="0" alt="" />
+            </td>
+            <td style="background-image:url(themes/rainy_day/images/template_r7_c3.gif)">
+              <img src="images/spacer.gif" width="208" height="45" border="0" alt="" />
+            </td>
+            <td width="100%" style="background-image:url(themes/rainy_day/images/template_r7_c5.gif)">&nbsp;
+            </td>
+            <td style="background-image:url(themes/rainy_day/images/template_r7_c6.gif)">
+              <img src="images/spacer.gif" width="208" height="45" border="0" alt="" />
+            </td>
+            <td style="background-image:url(themes/rainy_day/images/template_r7_c9.gif)">
+              <img src="images/spacer.gif" width="42" height="45" border="0" alt="" />
+            </td>
+          </tr>
+        </table>
+      </td>
+    </tr>
+  </table>
+
+  <br />
+
+  <div align="center">
+    {LANGUAGE_SELECT_FLAGS}
+  </div>
+
+  {CUSTOM_FOOTER}
+  {VANITY}
+
+</body>
+</html>
diff -x .svn -aruN 1.4.24.src/themes/rainy_day/theme.php 1.4.25.src/themes/rainy_day/theme.php
--- 1.4.24.src/themes/rainy_day/theme.php	2009-05-21 15:03:09.000000000 -0500
+++ 1.4.25.src/themes/rainy_day/theme.php	2009-05-26 11:25:44.000000000 -0500
@@ -1,50 +1,50 @@
-<?php
-/*************************
-  Coppermine Photo Gallery
-  ************************
-  Copyright (c) 2003-2009 Coppermine Dev Team
-  v1.1 originally written by Gregory DEMAR
-
-  This program is free software; you can redistribute it and/or modify
-  it under the terms of the GNU General Public License version 3
-  as published by the Free Software Foundation.
-  
-  ********************************************
-  Coppermine version: 1.4.24
-  $HeadURL: https://coppermine.svn.sourceforge.net/svnroot/coppermine/trunk/cpg1.4.x/themes/rainy_day/theme.php $
-  $Revision: 5969 $
-  $Author: gaugau $
-  $Date: 2009-05-21 22:03:33 +0200 (Do, 21 Mai 2009) $
-**********************************************/
-
-// ------------------------------------------------------------------------- //
-// This theme has had all redundant CORE items removed                           //
-// ------------------------------------------------------------------------- //
-
-define('THEME_HAS_RATING_GRAPHICS', 1);
-define('THEME_IS_XHTML10_TRANSITIONAL',1);
-
-// HTML template for sys_menu
-$template_sys_menu = <<<EOT
-  <div class="topmenu">
-          <table border="0" cellpadding="0" cellspacing="0">
-                  <tr>
-  {BUTTONS}
-                  </tr>
-          </table>
-  </div>
-EOT;
-
-// HTML template for template sys_menu buttons
-$template_sys_menu_button = <<<EOT
-<!-- BEGIN {BLOCK_ID} -->
-  <td><img src="images/spacer.gif" width="5" height="25" border="0" alt="" /></td>
-  <td><img src="themes/rainy_day/images/button1_r1_c1.gif" width="5" height="25" border="0" alt="" /></td>
-  <td style="background-image:url(themes/rainy_day/images/button1_r1_c2.gif)">
-          <a href="{HREF_TGT}" title="{HREF_TITLE}">{HREF_LNK}</a>
-  </td>
-  <td><img src="themes/rainy_day/images/button1_r1_c3.gif" width="5" height="25" border="0" alt="" /></td>
-<!-- END {BLOCK_ID} -->
-EOT;
-
-?>
+<?php
+/*************************
+  Coppermine Photo Gallery
+  ************************
+  Copyright (c) 2003-2009 Coppermine Dev Team
+  v1.1 originally written by Gregory DEMAR
+
+  This program is free software; you can redistribute it and/or modify
+  it under the terms of the GNU General Public License version 3
+  as published by the Free Software Foundation.
+  
+  ********************************************
+  Coppermine version: 1.4.25
+  $HeadURL: https://coppermine.svn.sourceforge.net/svnroot/coppermine/trunk/cpg1.4.x/themes/rainy_day/theme.php $
+  $Revision: 5997 $
+  $Author: gaugau $
+  $Date: 2009-05-26 08:43:24 +0200 (Di, 26 Mai 2009) $
+**********************************************/
+
+// ------------------------------------------------------------------------- //
+// This theme has had all redundant CORE items removed                           //
+// ------------------------------------------------------------------------- //
+
+define('THEME_HAS_RATING_GRAPHICS', 1);
+define('THEME_IS_XHTML10_TRANSITIONAL',1);
+
+// HTML template for sys_menu
+$template_sys_menu = <<<EOT
+  <div class="topmenu">
+          <table border="0" cellpadding="0" cellspacing="0">
+                  <tr>
+  {BUTTONS}
+                  </tr>
+          </table>
+  </div>
+EOT;
+
+// HTML template for template sys_menu buttons
+$template_sys_menu_button = <<<EOT
+<!-- BEGIN {BLOCK_ID} -->
+  <td><img src="images/spacer.gif" width="5" height="25" border="0" alt="" /></td>
+  <td><img src="themes/rainy_day/images/button1_r1_c1.gif" width="5" height="25" border="0" alt="" /></td>
+  <td style="background-image:url(themes/rainy_day/images/button1_r1_c2.gif)">
+          <a href="{HREF_TGT}" title="{HREF_TITLE}">{HREF_LNK}</a>
+  </td>
+  <td><img src="themes/rainy_day/images/button1_r1_c3.gif" width="5" height="25" border="0" alt="" /></td>
+<!-- END {BLOCK_ID} -->
+EOT;
+
+?>
diff -x .svn -aruN 1.4.24.src/themes/sample/style.css 1.4.25.src/themes/sample/style.css
--- 1.4.24.src/themes/sample/style.css	2009-05-21 15:03:09.000000000 -0500
+++ 1.4.25.src/themes/sample/style.css	2009-05-26 11:25:46.000000000 -0500
@@ -1,584 +1,584 @@
-/*************************
-  Coppermine Photo Gallery
-  ************************
-  Copyright (c) 2003-2009 Coppermine Dev Team
-  v1.1 originally written by Gregory DEMAR
-
-  This program is free software; you can redistribute it and/or modify
-  it under the terms of the GNU General Public License version 3
-  as published by the Free Software Foundation.
-  
-  ********************************************
-  Coppermine version: 1.4.24
-  $HeadURL: https://coppermine.svn.sourceforge.net/svnroot/coppermine/trunk/cpg1.4.x/themes/sample/style.css $
-  $Revision: 5969 $
-  $Author: gaugau $
-  $Date: 2009-05-21 22:03:33 +0200 (Do, 21 Mai 2009) $
-**********************************************/
-
-/* Colors used in this style sheet:
-   Hex 000000 = RGB   0,   0,   0 = black
-   Hex 5F5F5F = RGB  95,  95,  95 = light black
-   Hex BDBEBD = RGB 189, 190, 189 = dark grey
-   Hex D1D7DC = RGB 209, 215, 220 = medium grey
-   Hex CCCCCC = RGB 204, 204, 204 = medium grey
-   Hex EFEFEF = RGB 239, 239, 239 = dark white
-   Hex FFFFFF = RGB 255, 255, 255 = white
-   Hex 005D8C = RGB   0,  93, 140 = dark blue
-   Hex 0033CC = RGB   0,  91, 104 = medium blue
-   Hex 0E72A4 = RGB  14, 114, 164 = light blue
-*/
-
-body {
-        font-family : Verdana, Arial, Helvetica, sans-serif;
-        font-size: 12px;
-        background : #CCCCCC;
-        color : Black;
-        margin: 0px;
-}
-
-table {
-        font-size: 12px;
-}
-
-h1{
-        font-weight: bold;
-        font-size: 22px;
-        font-family: "Trebuchet MS", Verdana, Arial, Helvetica, sans-serif;
-        text-decoration: none;
-        line-height : 120%;
-        color : #000000;
-        margin: 2px;
-}
-
-h2 {
-        font-family: Arial, Helvetica, sans-serif;
-        font-size: 18px;
-        margin: 0px;
-}
-
-h3 {
-        font-weight: normal;
-        font-family: Verdana, Arial, Helvetica, sans-serif;
-        font-size: 12px;
-        margin: 2px;
-}
-
-p {
-        font-family: Arial, Helvetica, sans-serif;
-        font-size: 100%;
-        margin: 2px 0px;
-}
-
-ul {
-        margin-left: 5px;
-        padding: 0px;
-}
-
-li {
-        margin-left: 10px;
-        margin-top: 4px;
-        margin-bottom: 4px;
-        padding: 0px;
-        list-style-position: outside;
-        list-style-type: disc;
-}
-
-.textinput {
-        font-family: Verdana, Arial, Helvetica, sans-serif;
-        font-size: 100%;
-        border: 1px solid #D1D7DC;
-        padding-right: 3px;
-        padding-left: 3px;
-}
-
-.listbox {
-        font-family: Verdana, Arial, Arial, Helvetica, sans-serif;
-        font-size: 100%;
-        border: 1px solid #D1D7DC;
-        vertical-align : middle;
-}
-
-.button {
-        font-family: Arial, Helvetica, sans-serif;
-        font-size: 100%;
-        border: 1px solid #005D8C;
-        background-image : url(images/button_bg.gif);
-        background-position : bottom;
-}
-
-.comment_button {
-        font-family: Arial, Helvetica, sans-serif;
-        font-size: 85%;
-        border: 1px solid #005D8C;
-        background-image : url(images/button_bg.gif);
-        background-position : bottom;
-        padding-left: 3px;
-        padding-right: 3px;
-}
-
-.radio {
-        font-family: Verdana, Arial, Helvetica, sans-serif;
-        font-size: 100%;
-        vertical-align : middle;
-}
-
-.checkbox {
-        font-family: Verdana, Arial, Helvetica, sans-serif;
-        font-size: 100%;
-        vertical-align : middle;
-}
-
-a {
-        color: #0033CC;
-        text-decoration: none;
-}
-
-a:hover {
-        color: #0033CC;
-        text-decoration: underline;
-}
-
-.bblink a {
-        color: #0033CC;
-        text-decoration: none;
-}
-
-.bblink a:hover {
-        color: #0033CC;
-        text-decoration: underline;
-}
-
-.maintable {
-        border: 1px solid #0E72A4;
-/*        background-color: #FFFFFF;*/
-        background-color: #efefef;
-        margin-top: 1px;
-        margin-bottom: 1px;
-}
-
-.tableh1 {
-        background : #0E72A4 ;
-        color : #FFFFFF;
-        padding-top: 3px;
-        padding-right: 10px;
-        padding-bottom: 3px;
-        padding-left: 10px;
-}
-
-.tableh1_compact {
-        background : #0E72A4 ;
-        color : #FFFFFF;
-        padding-top: 2px;
-        padding-right: 5px;
-        padding-bottom: 2px;
-        padding-left: 5px;
-}
-
-.tableh2 {
-        background: #D1D7DC ;
-        color : #000000;
-        padding-top: 3px;
-        padding-right: 10px;
-        padding-bottom: 3px;
-        padding-left: 10px;
-}
-
-.tableh2_compact {
-        background: #D1D7DC ;
-        color : #000000;
-        padding-top: 2px;
-        padding-right: 5px;
-        padding-bottom: 2px;
-        padding-left: 5px;
-}
-
-.tableb {
-        background: #EFEFEF ;
-        padding-top: 3px;
-        padding-right: 10px;
-        padding-bottom: 3px;
-        padding-left: 10px;
-}
-
-.tableb_compact {
-        background: #EFEFEF ;
-        padding-top: 2px;
-        padding-right: 5px;
-        padding-bottom: 2px;
-        padding-left: 5px;
-}
-
-.tablef {
-        background: #D1D7DC;
-        padding-top: 10px;
-        padding-right: 10px;
-        padding-bottom: 10px;
-        padding-left: 10px;
-}
-
-.catrow_noalb {
-        background: #D1D7DC ;
-        color : #000000;
-        padding-top: 3px;
-        padding-right: 10px;
-        padding-bottom: 3px;
-        padding-left: 10px;
-}
-
-.catrow {
-        background: #EFEFEF ;
-        padding-top: 3px;
-        padding-right: 10px;
-        padding-bottom: 3px;
-        padding-left: 10px;
-}
-
-.album_stat {
-        font-size: 85%;
-        margin: 5px 0px;
-}
-
-.thumb_filename {
-        font-size: 80%;
-        display: block;
-}
-
-.thumb_title {
-        font-weight : bold;
-        font-size: 80%;
-        padding: 2px;
-        display : block;
-}
-
-.thumb_caption {
-        font-size: 80%;
-        padding: 1px;
-        display : block;
-}
-
-.thumb_caption a {
-        text-decoration: underline;
-        color: #000000;
-}
-
-.thumb_num_comments {
-        font-weight: normal;
-        font-size: 80%;
-        padding: 2px;
-        font-style : italic;
-        display : block;
-}
-
-.user_thumb_infobox {
-        margin-top: 1px;
-        margin-bottom: 1px;
-}
-
-.user_thumb_infobox th {
-        font-weight : bold;
-        font-size: 100%;
-        margin-top: 1px;
-        margin-bottom: 1px;
-        text-align : center;
-}
-
-.user_thumb_infobox td {
-        font-size: 80%;
-        margin-top: 1px;
-        margin-bottom: 1px;
-        text-align : center;
-}
-
-.user_thumb_infobox a {
-        text-decoration: none;
-        color: #000000;
-}
-
-.user_thumb_infobox a:hover {
-        color: #000000;
-        text-decoration: underline;
-}
-
-.sortorder_cell {
-        background : #0E72A4 ;
-        color : #FFFFFF;
-        padding: 0px;
-        margin: 0px;
-}
-
-.sortorder_options {
-        font-family: Verdana, Arial, Helvetica, sans-serif;
-        background : #0E72A4 ;
-        color : #FFFFFF;
-        padding: 0px;
-        margin: 0px;
-        font-weight: normal;
-        font-size: 80%;
-        white-space: nowrap;
-}
-
-.navmenu {
-        font-family: Verdana, Arial, Helvetica, sans-serif;
-        color: #FFFFFF;
-        font-size: 100%;
-        font-weight: bold;
-        background : #0E72A4 ;
-        border-style: none;
-}
-
-.navmenu img {
-        margin-top: 1px;
-        margin-right: 5px;
-        margin-bottom: 1px;
-        margin-left: 5px;
-}
-
-.navmenu a {
-        display: block;
-        padding-top: 2px;
-        padding-right: 5px;
-        padding-bottom: 2px;
-        padding-left: 5px;
-        text-decoration: none;
-        color: #FFFFFF;
-}
-
-.navmenu a:hover {
-        background : #EFEFEF ;
-        text-decoration: none;
-        color:         #000000;
-}
-
-.admin_menu_thumb {
-        font-family: Arial, Helvetica, sans-serif;
-        font-size: 85%;
-        border: 1px solid #005D8C;
-        background-image : url(images/button_bg.gif);
-        background-position : bottom;
-        color: #000000;
-        font-weight: bold;
-        margin-top: 0px;
-        margin-bottom: 0px;
-        width: 85px;
-}
-
-.admin_menu_thumb a {
-        color: #000000;
-        text-decoration: none;
-        display: block;
-        position: relative;
-        padding-top: 1px;
-        padding-bottom: 1px;
-        padding-left: 10px;
-        padding-right: 10px;
-}
-
-
-.admin_menu_thumb a:hover {
-        color: #000000;
-        text-decoration: underline;
-}
-
-.admin_menu {
-        font-family: Arial, Helvetica, sans-serif;
-        font-size: 85%;
-        border: 1px solid #005D8C;
-        background-color:#EFEFEF;
-        background-image : url(images/button_bg.gif);
-        background-position : bottom;
-        color: #000000;
-        margin-top: 0px;
-        margin-bottom: 0px;
-        padding-top:2px;
-        padding-bottom:2px;
-        padding-left:1px;
-        padding-right:1px;
-        text-align: center;
-}
-
-.admin_menu a {
-        color: #000000;
-        text-decoration: none;
-        display: block;
-        position: relative;
-        padding-top: 1px;
-        padding-bottom: 1px;
-        padding-left: 2px;
-        padding-right: 2px;
-}
-
-.admin_menu a:hover {
-        color: #000000;
-        text-decoration: underline;
-}
-
-td #admin_menu_anim {
-        background-image : url(images/button_bg_anim.gif);
-}
-
-.comment_date{
-        color : #5F5F5F;
-        font-size : 90%;
-        vertical-align : middle;
-}
-
-.image {
-        border-style: solid;
-        border-width:1px;
-        border-color: #000000;
-        margin: 2px;
-}
-
-.imageborder {
-        border: 1px solid #000000;
-        background-color: #FFFFFF;
-        margin-top: 30px;
-        margin-bottom: 30px;
-}
-
-.display_media {
-        background: #EFEFEF ;
-        padding-top: 3px;
-        padding-right: 10px;
-        padding-bottom: 3px;
-        padding-left: 10px;
-}
-
-.thumbnails {
-        background: #EFEFEF ;
-        padding: 5px;
-}
-
-.footer {
-        font-size : 9px;
-}
-
-.footer a {
-        text-decoration: none;
-        color: #000000;
-}
-
-.footer a:hover {
-        color: #000000;
-        text-decoration: underline;
-}
-
-.statlink {
-        color: #FFFFFF;
-}
-
-.statlink a {
-        text-decoration: none;
-        color: #FFFFFF;
-}
-
-.statlink a:hover {
-        color: #FFFFFF;
-        text-decoration: underline;
-}
-
-.alblink a {
-        text-decoration: underline;
-        color: #000000;
-}
-
-.alblink a:hover {
-        color: #000000;
-        text-decoration: underline;
-}
-
-.catlink {
-        display: block;
-        margin-bottom: 2px;
-}
-
-.catlink a {
-        text-decoration: underline;
-        color: #000000;
-}
-
-.catlink a:hover {
-        color: #000000;
-        text-decoration: underline;
-}
-
-.topmenu {
-        line-height : 130%;
-        font-size: 100%;
-}
-
-.topmenu a {
-        color : #0033CC;
-        text-decoration : none;
-}
-
-.topmenu a:hover  {
-        color : #0033CC;
-        text-decoration : underline;
-}
-
-.img_caption_table {
-        border: none;
-        background-color: #FFFFFF;
-        width : 100%;
-        margin : 0px;
-}
-
-.img_caption_table th {
-        background: #D1D7DC ;
-        font-size: 100%;
-        color : #000000;
-        padding-top: 4px;
-        padding-right: 10px;
-        padding-bottom: 4px;
-        padding-left: 10px;
-        border-top : 1px solid #FFFFFF;
-}
-
-.img_caption_table td {
-        background: #EFEFEF ;
-        padding-top: 6px;
-        padding-right: 10px;
-        padding-bottom: 6px;
-        padding-left: 10px;
-        border-top : 1px solid #FFFFFF;
-        white-space: normal;
-}
-
-.debug_text {
-        border: #BDBEBD;
-        background-color: #EFEFEF;
-        width : 100%;
-        margin : 0px;
-}
-
-.clickable_option {
-        cursor : default;
-}
-
-.listbox_lang {
-        color: #000000;
-        background-color: #D1D7DC;
-        border: 1px solid #D1D7DC;
-        font-size: 80%;
-        font-family: Arial, Helvetica, sans-serif;
-        vertical-align : middle;
-
-}
-
-#vanity a {
-        display:block;
-        width:57px;
-        height:20px;
-        margin: 3px 20px;
-}
-#vanity img {border:0}
-#v_php {float:left;background-image:url(../../images/powered-php.gif);}
-#v_php:hover {background-image:url(../../images/h_powered-php.gif);}
-#v_mysql {float:left;background-image:url(../../images/powered-mysql.gif);}
-#v_mysql:hover  {background-image:url(../../images/h_powered-mysql.gif);}
-#v_xhtml {float:right;background-image:url(../../images/valid-xhtml10.gif);}
-#v_xhtml:hover {background-image:url(../../images/h_valid-xhtml10.gif);}
-#v_css {float:right;background-image:url(../../images/valid-css.gif);}
+/*************************
+  Coppermine Photo Gallery
+  ************************
+  Copyright (c) 2003-2009 Coppermine Dev Team
+  v1.1 originally written by Gregory DEMAR
+
+  This program is free software; you can redistribute it and/or modify
+  it under the terms of the GNU General Public License version 3
+  as published by the Free Software Foundation.
+  
+  ********************************************
+  Coppermine version: 1.4.25
+  $HeadURL: https://coppermine.svn.sourceforge.net/svnroot/coppermine/trunk/cpg1.4.x/themes/sample/style.css $
+  $Revision: 5997 $
+  $Author: gaugau $
+  $Date: 2009-05-26 08:43:24 +0200 (Di, 26 Mai 2009) $
+**********************************************/
+
+/* Colors used in this style sheet:
+   Hex 000000 = RGB   0,   0,   0 = black
+   Hex 5F5F5F = RGB  95,  95,  95 = light black
+   Hex BDBEBD = RGB 189, 190, 189 = dark grey
+   Hex D1D7DC = RGB 209, 215, 220 = medium grey
+   Hex CCCCCC = RGB 204, 204, 204 = medium grey
+   Hex EFEFEF = RGB 239, 239, 239 = dark white
+   Hex FFFFFF = RGB 255, 255, 255 = white
+   Hex 005D8C = RGB   0,  93, 140 = dark blue
+   Hex 0033CC = RGB   0,  91, 104 = medium blue
+   Hex 0E72A4 = RGB  14, 114, 164 = light blue
+*/
+
+body {
+        font-family : Verdana, Arial, Helvetica, sans-serif;
+        font-size: 12px;
+        background : #CCCCCC;
+        color : Black;
+        margin: 0px;
+}
+
+table {
+        font-size: 12px;
+}
+
+h1{
+        font-weight: bold;
+        font-size: 22px;
+        font-family: "Trebuchet MS", Verdana, Arial, Helvetica, sans-serif;
+        text-decoration: none;
+        line-height : 120%;
+        color : #000000;
+        margin: 2px;
+}
+
+h2 {
+        font-family: Arial, Helvetica, sans-serif;
+        font-size: 18px;
+        margin: 0px;
+}
+
+h3 {
+        font-weight: normal;
+        font-family: Verdana, Arial, Helvetica, sans-serif;
+        font-size: 12px;
+        margin: 2px;
+}
+
+p {
+        font-family: Arial, Helvetica, sans-serif;
+        font-size: 100%;
+        margin: 2px 0px;
+}
+
+ul {
+        margin-left: 5px;
+        padding: 0px;
+}
+
+li {
+        margin-left: 10px;
+        margin-top: 4px;
+        margin-bottom: 4px;
+        padding: 0px;
+        list-style-position: outside;
+        list-style-type: disc;
+}
+
+.textinput {
+        font-family: Verdana, Arial, Helvetica, sans-serif;
+        font-size: 100%;
+        border: 1px solid #D1D7DC;
+        padding-right: 3px;
+        padding-left: 3px;
+}
+
+.listbox {
+        font-family: Verdana, Arial, Arial, Helvetica, sans-serif;
+        font-size: 100%;
+        border: 1px solid #D1D7DC;
+        vertical-align : middle;
+}
+
+.button {
+        font-family: Arial, Helvetica, sans-serif;
+        font-size: 100%;
+        border: 1px solid #005D8C;
+        background-image : url(images/button_bg.gif);
+        background-position : bottom;
+}
+
+.comment_button {
+        font-family: Arial, Helvetica, sans-serif;
+        font-size: 85%;
+        border: 1px solid #005D8C;
+        background-image : url(images/button_bg.gif);
+        background-position : bottom;
+        padding-left: 3px;
+        padding-right: 3px;
+}
+
+.radio {
+        font-family: Verdana, Arial, Helvetica, sans-serif;
+        font-size: 100%;
+        vertical-align : middle;
+}
+
+.checkbox {
+        font-family: Verdana, Arial, Helvetica, sans-serif;
+        font-size: 100%;
+        vertical-align : middle;
+}
+
+a {
+        color: #0033CC;
+        text-decoration: none;
+}
+
+a:hover {
+        color: #0033CC;
+        text-decoration: underline;
+}
+
+.bblink a {
+        color: #0033CC;
+        text-decoration: none;
+}
+
+.bblink a:hover {
+        color: #0033CC;
+        text-decoration: underline;
+}
+
+.maintable {
+        border: 1px solid #0E72A4;
+/*        background-color: #FFFFFF;*/
+        background-color: #efefef;
+        margin-top: 1px;
+        margin-bottom: 1px;
+}
+
+.tableh1 {
+        background : #0E72A4 ;
+        color : #FFFFFF;
+        padding-top: 3px;
+        padding-right: 10px;
+        padding-bottom: 3px;
+        padding-left: 10px;
+}
+
+.tableh1_compact {
+        background : #0E72A4 ;
+        color : #FFFFFF;
+        padding-top: 2px;
+        padding-right: 5px;
+        padding-bottom: 2px;
+        padding-left: 5px;
+}
+
+.tableh2 {
+        background: #D1D7DC ;
+        color : #000000;
+        padding-top: 3px;
+        padding-right: 10px;
+        padding-bottom: 3px;
+        padding-left: 10px;
+}
+
+.tableh2_compact {
+        background: #D1D7DC ;
+        color : #000000;
+        padding-top: 2px;
+        padding-right: 5px;
+        padding-bottom: 2px;
+        padding-left: 5px;
+}
+
+.tableb {
+        background: #EFEFEF ;
+        padding-top: 3px;
+        padding-right: 10px;
+        padding-bottom: 3px;
+        padding-left: 10px;
+}
+
+.tableb_compact {
+        background: #EFEFEF ;
+        padding-top: 2px;
+        padding-right: 5px;
+        padding-bottom: 2px;
+        padding-left: 5px;
+}
+
+.tablef {
+        background: #D1D7DC;
+        padding-top: 10px;
+        padding-right: 10px;
+        padding-bottom: 10px;
+        padding-left: 10px;
+}
+
+.catrow_noalb {
+        background: #D1D7DC ;
+        color : #000000;
+        padding-top: 3px;
+        padding-right: 10px;
+        padding-bottom: 3px;
+        padding-left: 10px;
+}
+
+.catrow {
+        background: #EFEFEF ;
+        padding-top: 3px;
+        padding-right: 10px;
+        padding-bottom: 3px;
+        padding-left: 10px;
+}
+
+.album_stat {
+        font-size: 85%;
+        margin: 5px 0px;
+}
+
+.thumb_filename {
+        font-size: 80%;
+        display: block;
+}
+
+.thumb_title {
+        font-weight : bold;
+        font-size: 80%;
+        padding: 2px;
+        display : block;
+}
+
+.thumb_caption {
+        font-size: 80%;
+        padding: 1px;
+        display : block;
+}
+
+.thumb_caption a {
+        text-decoration: underline;
+        color: #000000;
+}
+
+.thumb_num_comments {
+        font-weight: normal;
+        font-size: 80%;
+        padding: 2px;
+        font-style : italic;
+        display : block;
+}
+
+.user_thumb_infobox {
+        margin-top: 1px;
+        margin-bottom: 1px;
+}
+
+.user_thumb_infobox th {
+        font-weight : bold;
+        font-size: 100%;
+        margin-top: 1px;
+        margin-bottom: 1px;
+        text-align : center;
+}
+
+.user_thumb_infobox td {
+        font-size: 80%;
+        margin-top: 1px;
+        margin-bottom: 1px;
+        text-align : center;
+}
+
+.user_thumb_infobox a {
+        text-decoration: none;
+        color: #000000;
+}
+
+.user_thumb_infobox a:hover {
+        color: #000000;
+        text-decoration: underline;
+}
+
+.sortorder_cell {
+        background : #0E72A4 ;
+        color : #FFFFFF;
+        padding: 0px;
+        margin: 0px;
+}
+
+.sortorder_options {
+        font-family: Verdana, Arial, Helvetica, sans-serif;
+        background : #0E72A4 ;
+        color : #FFFFFF;
+        padding: 0px;
+        margin: 0px;
+        font-weight: normal;
+        font-size: 80%;
+        white-space: nowrap;
+}
+
+.navmenu {
+        font-family: Verdana, Arial, Helvetica, sans-serif;
+        color: #FFFFFF;
+        font-size: 100%;
+        font-weight: bold;
+        background : #0E72A4 ;
+        border-style: none;
+}
+
+.navmenu img {
+        margin-top: 1px;
+        margin-right: 5px;
+        margin-bottom: 1px;
+        margin-left: 5px;
+}
+
+.navmenu a {
+        display: block;
+        padding-top: 2px;
+        padding-right: 5px;
+        padding-bottom: 2px;
+        padding-left: 5px;
+        text-decoration: none;
+        color: #FFFFFF;
+}
+
+.navmenu a:hover {
+        background : #EFEFEF ;
+        text-decoration: none;
+        color:         #000000;
+}
+
+.admin_menu_thumb {
+        font-family: Arial, Helvetica, sans-serif;
+        font-size: 85%;
+        border: 1px solid #005D8C;
+        background-image : url(images/button_bg.gif);
+        background-position : bottom;
+        color: #000000;
+        font-weight: bold;
+        margin-top: 0px;
+        margin-bottom: 0px;
+        width: 85px;
+}
+
+.admin_menu_thumb a {
+        color: #000000;
+        text-decoration: none;
+        display: block;
+        position: relative;
+        padding-top: 1px;
+        padding-bottom: 1px;
+        padding-left: 10px;
+        padding-right: 10px;
+}
+
+
+.admin_menu_thumb a:hover {
+        color: #000000;
+        text-decoration: underline;
+}
+
+.admin_menu {
+        font-family: Arial, Helvetica, sans-serif;
+        font-size: 85%;
+        border: 1px solid #005D8C;
+        background-color:#EFEFEF;
+        background-image : url(images/button_bg.gif);
+        background-position : bottom;
+        color: #000000;
+        margin-top: 0px;
+        margin-bottom: 0px;
+        padding-top:2px;
+        padding-bottom:2px;
+        padding-left:1px;
+        padding-right:1px;
+        text-align: center;
+}
+
+.admin_menu a {
+        color: #000000;
+        text-decoration: none;
+        display: block;
+        position: relative;
+        padding-top: 1px;
+        padding-bottom: 1px;
+        padding-left: 2px;
+        padding-right: 2px;
+}
+
+.admin_menu a:hover {
+        color: #000000;
+        text-decoration: underline;
+}
+
+td #admin_menu_anim {
+        background-image : url(images/button_bg_anim.gif);
+}
+
+.comment_date{
+        color : #5F5F5F;
+        font-size : 90%;
+        vertical-align : middle;
+}
+
+.image {
+        border-style: solid;
+        border-width:1px;
+        border-color: #000000;
+        margin: 2px;
+}
+
+.imageborder {
+        border: 1px solid #000000;
+        background-color: #FFFFFF;
+        margin-top: 30px;
+        margin-bottom: 30px;
+}
+
+.display_media {
+        background: #EFEFEF ;
+        padding-top: 3px;
+        padding-right: 10px;
+        padding-bottom: 3px;
+        padding-left: 10px;
+}
+
+.thumbnails {
+        background: #EFEFEF ;
+        padding: 5px;
+}
+
+.footer {
+        font-size : 9px;
+}
+
+.footer a {
+        text-decoration: none;
+        color: #000000;
+}
+
+.footer a:hover {
+        color: #000000;
+        text-decoration: underline;
+}
+
+.statlink {
+        color: #FFFFFF;
+}
+
+.statlink a {
+        text-decoration: none;
+        color: #FFFFFF;
+}
+
+.statlink a:hover {
+        color: #FFFFFF;
+        text-decoration: underline;
+}
+
+.alblink a {
+        text-decoration: underline;
+        color: #000000;
+}
+
+.alblink a:hover {
+        color: #000000;
+        text-decoration: underline;
+}
+
+.catlink {
+        display: block;
+        margin-bottom: 2px;
+}
+
+.catlink a {
+        text-decoration: underline;
+        color: #000000;
+}
+
+.catlink a:hover {
+        color: #000000;
+        text-decoration: underline;
+}
+
+.topmenu {
+        line-height : 130%;
+        font-size: 100%;
+}
+
+.topmenu a {
+        color : #0033CC;
+        text-decoration : none;
+}
+
+.topmenu a:hover  {
+        color : #0033CC;
+        text-decoration : underline;
+}
+
+.img_caption_table {
+        border: none;
+        background-color: #FFFFFF;
+        width : 100%;
+        margin : 0px;
+}
+
+.img_caption_table th {
+        background: #D1D7DC ;
+        font-size: 100%;
+        color : #000000;
+        padding-top: 4px;
+        padding-right: 10px;
+        padding-bottom: 4px;
+        padding-left: 10px;
+        border-top : 1px solid #FFFFFF;
+}
+
+.img_caption_table td {
+        background: #EFEFEF ;
+        padding-top: 6px;
+        padding-right: 10px;
+        padding-bottom: 6px;
+        padding-left: 10px;
+        border-top : 1px solid #FFFFFF;
+        white-space: normal;
+}
+
+.debug_text {
+        border: #BDBEBD;
+        background-color: #EFEFEF;
+        width : 100%;
+        margin : 0px;
+}
+
+.clickable_option {
+        cursor : default;
+}
+
+.listbox_lang {
+        color: #000000;
+        background-color: #D1D7DC;
+        border: 1px solid #D1D7DC;
+        font-size: 80%;
+        font-family: Arial, Helvetica, sans-serif;
+        vertical-align : middle;
+
+}
+
+#vanity a {
+        display:block;
+        width:57px;
+        height:20px;
+        margin: 3px 20px;
+}
+#vanity img {border:0}
+#v_php {float:left;background-image:url(../../images/powered-php.gif);}
+#v_php:hover {background-image:url(../../images/h_powered-php.gif);}
+#v_mysql {float:left;background-image:url(../../images/powered-mysql.gif);}
+#v_mysql:hover  {background-image:url(../../images/h_powered-mysql.gif);}
+#v_xhtml {float:right;background-image:url(../../images/valid-xhtml10.gif);}
+#v_xhtml:hover {background-image:url(../../images/h_valid-xhtml10.gif);}
+#v_css {float:right;background-image:url(../../images/valid-css.gif);}
 #v_css:hover{background-image:url(../../images/h_valid-css.gif);}
\ No newline at end of file
diff -x .svn -aruN 1.4.24.src/themes/sample/template.html 1.4.25.src/themes/sample/template.html
--- 1.4.24.src/themes/sample/template.html	2009-05-21 15:03:09.000000000 -0500
+++ 1.4.25.src/themes/sample/template.html	2009-05-26 11:25:46.000000000 -0500
@@ -1,64 +1,64 @@
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
-
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en" dir="{LANG_DIR}">
-<head>
-<meta http-equiv="Content-Type" content="text/html; charset={CHARSET}" />
-<meta http-equiv="Pragma" content="no-cache" />
-<title>{TITLE}</title>
-{META}
-<link rel="stylesheet" href="themes/sample/style.css" type="text/css" />
-<script type="text/javascript" src="scripts.js"></script>
-<!--
-  SVN version info:
-  Coppermine version: 1.4.24
-  $Revision: 5969 $
-  $LastChangedBy: gaugau $
-  $Date: 2009-05-21 22:03:33 +0200 (Do, 21 Mai 2009) $
--->
-</head>
-<body>
-  {CUSTOM_HEADER}
-  <table width="100%" border="0" cellpadding="20" cellspacing="20">
-    <tr>
-      <td valign="top" style="border: 1px solid #666666;background-color:#FFFFFF;">
-        <table width="100%" border="0" cellspacing="0" cellpadding="0">
-          <tr>
-            <td>
-              <a href="index.php"><img src="themes/sample/images/site_logo.png" border="0" alt="" /></a><br />
-            </td>
-            <td width="100%" align="center">
-              <h1>{GAL_NAME}</h1>
-              <h3>{GAL_DESCRIPTION}</h3><br />
-              {SYS_MENU}<br />{SUB_MENU}
-            </td>
-          </tr>
-        </table>
-        <table width="100%" border="0" cellspacing="0" cellpadding="0">
-          <tr>
-            <td align="center" valign="top">
-              {LANGUAGE_SELECT_FLAGS}
-            </td>
-          </tr>
-          <tr>
-            <td align="center" valign="top">
-              {LANGUAGE_SELECT_LIST}
-              {THEME_SELECT_LIST}
-            </td>
-          </tr>
-        </table>
-        <img src="images/spacer.gif" width="1" height="15" alt="" />
-        <br />
-        <table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
-          <tr>
-            <td align="left" valign="top">
-              {ADMIN_MENU}
-              {GALLERY}
-            </td>
-          </tr>
-        </table>
-      </td>
-    </tr>
-  </table>
-  {CUSTOM_FOOTER}{VANITY}
-</body>
-</html>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en" dir="{LANG_DIR}">
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset={CHARSET}" />
+<meta http-equiv="Pragma" content="no-cache" />
+<title>{TITLE}</title>
+{META}
+<link rel="stylesheet" href="themes/sample/style.css" type="text/css" />
+<script type="text/javascript" src="scripts.js"></script>
+<!--
+  SVN version info:
+  Coppermine version: 1.4.25
+  $Revision: 5997 $
+  $LastChangedBy: gaugau $
+  $Date: 2009-05-26 08:43:24 +0200 (Di, 26 Mai 2009) $
+-->
+</head>
+<body>
+  {CUSTOM_HEADER}
+  <table width="100%" border="0" cellpadding="20" cellspacing="20">
+    <tr>
+      <td valign="top" style="border: 1px solid #666666;background-color:#FFFFFF;">
+        <table width="100%" border="0" cellspacing="0" cellpadding="0">
+          <tr>
+            <td>
+              <a href="index.php"><img src="themes/sample/images/site_logo.png" border="0" alt="" /></a><br />
+            </td>
+            <td width="100%" align="center">
+              <h1>{GAL_NAME}</h1>
+              <h3>{GAL_DESCRIPTION}</h3><br />
+              {SYS_MENU}<br />{SUB_MENU}
+            </td>
+          </tr>
+        </table>
+        <table width="100%" border="0" cellspacing="0" cellpadding="0">
+          <tr>
+            <td align="center" valign="top">
+              {LANGUAGE_SELECT_FLAGS}
+            </td>
+          </tr>
+          <tr>
+            <td align="center" valign="top">
+              {LANGUAGE_SELECT_LIST}
+              {THEME_SELECT_LIST}
+            </td>
+          </tr>
+        </table>
+        <img src="images/spacer.gif" width="1" height="15" alt="" />
+        <br />
+        <table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
+          <tr>
+            <td align="left" valign="top">
+              {ADMIN_MENU}
+              {GALLERY}
+            </td>
+          </tr>
+        </table>
+      </td>
+    </tr>
+  </table>
+  {CUSTOM_FOOTER}{VANITY}
+</body>
+</html>
diff -x .svn -aruN 1.4.24.src/themes/sample/theme.php 1.4.25.src/themes/sample/theme.php
--- 1.4.24.src/themes/sample/theme.php	2009-05-25 15:01:17.000000000 -0500
+++ 1.4.25.src/themes/sample/theme.php	2009-05-26 11:25:46.000000000 -0500
@@ -1,2495 +1,2495 @@
-<?php
-/*************************
-  Coppermine Photo Gallery
-  ************************
-  Copyright (c) 2003-2009 Coppermine Dev Team
-  v1.1 originally written by Gregory DEMAR
-
-  This program is free software; you can redistribute it and/or modify
-  it under the terms of the GNU General Public License version 3
-  as published by the Free Software Foundation.
-  
-  ********************************************
-  Coppermine version: 1.4.24
-  $HeadURL: https://coppermine.svn.sourceforge.net/svnroot/coppermine/trunk/cpg1.4.x/themes/sample/theme.php $
-  $Revision: 5988 $
-  $Author: gaugau $
-  $Date: 2009-05-25 22:01:41 +0200 (Mo, 25 Mai 2009) $
-**********************************************/
-
-// ------------------------------------------------------------------------- //
-// This theme has all CORE items that are available                          //
-// ------------------------------------------------------------------------- //
-
-// The following terms can be defined in theme.php
-// ('THEME_HAS_RATING_GRAPHICS', 1) : The location for the ratings graphics will
-//    be directed to the themes images folder.
-//    RUBBISH   : images/rating0.gif
-//    POOR      : images/rating1.gif
-//    FAIR      : images/rating2.gif
-//    GOOD      : images/rating3.gif
-//    EXCELLENT : images/rating4.gif
-//    GREAT     : images/rating5.gif
-//('THEME_HAS_NAVBAR_GRAPHICS', 1); : The location for the navbar graphics will
-//    be directed to the themes images folder.
-//    Back to thumbnails   : images/thumbnails.gif
-//    Picture Information  : images/info.gif
-//    Slideshow            : images/slideshow.gif
-//    Report to admin      : images/report.gif
-//    Ecard                : images/ecard.gif
-//    Previous             : images/prev.gif
-//    Next                 : images/next.gif
-// ('THEME_HAS_FILM_STRIP_GRAPHIC', 1) : The location for the film strip graphics will
-//    be directed to the themes images folder.
-//    tile                 : images/tile.gif
-// ('THEME_HAS_FILM_STRIP_GRAPHICS', 1) : The location for the film strip graphics will
-//    be directed to the themes images folder.
-//    tile on the top      : images/tile1.gif
-//    tile on the bottom   : images/tile2.gif
-//  ('THEME_HAS_NO_SYS_MENU_BUTTONS', 1) : When present the system won't attempt to replace {BUTTONS} in the SYS_MENU template
-//    The entire block needs to be present like in Coppermine 1.3 themes
-//  ('THEME_HAS_NO_SUB_MENU_BUTTONS', 1) When present the system won't attempt to replace {BUTTONS} in the SUB_MENU template
-//    The entire block needs to be present like in Coppermine 1.3 themes
-//  ('THEME_IS_XHTML10_TRANSITIONAL',1) : If theme is defined as XHTML10_TRANSITIONAL the VANITY footer will be enabled
-//    if the theme has a {VANITY} token in its template.html. Don't enable this if you have modified the code! See the
-//    docs/theme.html documentation for validation methodology.
-
-// Creates buttons from a template using an array of tokens
-// this function is used in this file it needs to be declared before being called.
-function assemble_template_buttons($template_buttons,$buttons) {
-    $counter=0;
-    $output='';
-
-    foreach ($buttons as $button)  {
-      if (isset($button[4])) {
-         $spacer=$button[4];
-      } else {
-      $spacer='';
-      }
-
-        $params = array(
-            '{SPACER}'     => $spacer,
-            '{BLOCK_ID}'   => $button[3],
-            '{HREF_TGT}'   => $button[2],
-            '{HREF_TITLE}' => $button[1],
-            '{HREF_LNK}'   => $button[0]
-            );
-        $output.=template_eval($template_buttons, $params);
-    }
-    return $output;
-}
-
-
-// Creates an array of tokens to be used with function assemble_template_buttons
-// this function is used in this file it needs to be declared before being called.
-function addbutton(&$menu,$href_lnk,$href_title,$href_tgt,$block_id,$spacer) {
-  $menu[]=array($href_lnk,$href_title,$href_tgt,$block_id,$spacer);
-}
-
-
-// HTML template for sys_menu
-$template_sys_menu = <<<EOT
-          {BUTTONS}
-EOT;
-
-// HTML template for sub_menu
-$template_sub_menu = $template_sys_menu;
-
-if (!defined('THEME_HAS_NO_SYS_MENU_BUTTONS')) {
-
-  // HTML template for template sys_menu spacer
-  $template_sys_menu_spacer ="::";
-
-  // HTML template for template sys_menu buttons
-  $template_sys_menu_button = <<<EOT
-  <!-- BEGIN {BLOCK_ID} -->
-        <a href="{HREF_TGT}" title="{HREF_TITLE}">{HREF_LNK}</a> {SPACER}
-  <!-- END {BLOCK_ID} -->
-EOT;
-
-  // HTML template for template sys_menu buttons
-    // {HREF_LNK}{HREF_TITLE}{HREF_TGT}{BLOCK_ID}{SPACER}
-    addbutton($sys_menu_buttons,'{HOME_LNK}','{HOME_TITLE}','{HOME_TGT}','home',$template_sys_menu_spacer);
-    addbutton($sys_menu_buttons,'{MY_GAL_LNK}','{MY_GAL_TITLE}','{MY_GAL_TGT}','my_gallery',$template_sys_menu_spacer);
-    addbutton($sys_menu_buttons,'{MEMBERLIST_LNK}','{MEMBERLIST_TITLE}','{MEMBERLIST_TGT}','allow_memberlist',$template_sys_menu_spacer);
-    addbutton($sys_menu_buttons,'{MY_PROF_LNK}','{MY_PROF_TITLE}','{MY_PROF_TGT}','my_profile',$template_sys_menu_spacer);
-    addbutton($sys_menu_buttons,'{ADM_MODE_LNK}','{ADM_MODE_TITLE}','{ADM_MODE_TGT}','enter_admin_mode',$template_sys_menu_spacer);
-    addbutton($sys_menu_buttons,'{USR_MODE_LNK}','{USR_MODE_TITLE}','{USR_MODE_TGT}','leave_admin_mode',$template_sys_menu_spacer);
-    addbutton($sys_menu_buttons,'{UPL_PIC_LNK}','{UPL_PIC_TITLE}','{UPL_PIC_TGT}','upload_pic',$template_sys_menu_spacer);
-    addbutton($sys_menu_buttons,'{REGISTER_LNK}','{REGISTER_TITLE}','{REGISTER_TGT}','register',$template_sys_menu_spacer);
-    addbutton($sys_menu_buttons,'{FAQ_LNK}','{FAQ_TITLE}','{FAQ_TGT}','faq',$template_sys_menu_spacer);
-    addbutton($sys_menu_buttons,'{LOGIN_LNK}','{LOGIN_TITLE}','{LOGIN_TGT}','login','');
-    addbutton($sys_menu_buttons,'{LOGOUT_LNK}','{LOGOUT_TITLE}','{LOGOUT_TGT}','logout','');
-    // Login and Logout don't have a spacer as only one is shown, and either would be the last option.
-
-  $params = array('{BUTTONS}' => assemble_template_buttons($template_sys_menu_button,$sys_menu_buttons));
-  $template_sys_menu = template_eval($template_sys_menu,$params);
-}
-
-if (!defined('THEME_HAS_NO_SUB_MENU_BUTTONS')) {
-
-  // HTML template for template sub_menu spacer
-  $template_sub_menu_spacer = $template_sys_menu_spacer;
-
-  // HTML template for template sub_menu buttons
-  $template_sub_menu_button= $template_sys_menu_button;
-
-  // HTML template for template sub_menu buttons
-    // {HREF_LNK}{HREF_TITLE}{HREF_TGT}{BLOCK_ID}{SPACER}
-    addbutton($sub_menu_buttons,'{CUSTOM_LNK_LNK}','{CUSTOM_LNK_TITLE}','{CUSTOM_LNK_TGT}','custom_link',$template_sub_menu_spacer);
-    addbutton($sub_menu_buttons,'{ALB_LIST_LNK}','{ALB_LIST_TITLE}','{ALB_LIST_TGT}','album_list',$template_sub_menu_spacer);
-    addbutton($sub_menu_buttons,'{LASTUP_LNK}','{LASTUP_TITLE}','{LASTUP_TGT}','lastup',$template_sub_menu_spacer);
-    addbutton($sub_menu_buttons,'{LASTCOM_LNK}','{LASTCOM_TITLE}','{LASTCOM_TGT}','lastcom',$template_sub_menu_spacer);
-    addbutton($sub_menu_buttons,'{TOPN_LNK}','{TOPN_TITLE}','{TOPN_TGT}','topn',$template_sub_menu_spacer);
-    addbutton($sub_menu_buttons,'{TOPRATED_LNK}','{TOPRATED_TITLE}','{TOPRATED_TGT}','toprated',$template_sub_menu_spacer);
-    addbutton($sub_menu_buttons,'{FAV_LNK}','{FAV_TITLE}','{FAV_TGT}','favpics',$template_sub_menu_spacer);
-    addbutton($sub_menu_buttons,'{SEARCH_LNK}','{SEARCH_TITLE}','{SEARCH_TGT}','search','');
-
-  $params = array('{BUTTONS}' => assemble_template_buttons($template_sub_menu_button,$sub_menu_buttons));
-  $template_sub_menu = template_eval($template_sub_menu,$params);
-}
-
-// HTML template for gallery admin menu
-$template_gallery_admin_menu = <<<EOT
-
-                <div align="center">
-                <table cellpadding="0" cellspacing="1">
-                        <tr>
-<!-- BEGIN admin_approval -->
-                                <td class="admin_menu" id="admin_menu_anim"><a href="editpics.php?mode=upload_approval" title="{UPL_APP_TITLE}">{UPL_APP_LNK}</a></td>
-<!-- END admin_approval -->
-                                <td class="admin_menu"><a href="admin.php" title="{ADMIN_TITLE}">{ADMIN_LNK}</a></td>
-                                <td class="admin_menu"><a href="catmgr.php" title="{CATEGORIES_TITLE}">{CATEGORIES_LNK}</a></td>
-                                <td class="admin_menu"><a href="albmgr.php{CATL}" title="{ALBUMS_TITLE}">{ALBUMS_LNK}</a></td>
-                                <td class="admin_menu"><a href="groupmgr.php" title="{GROUPS_TITLE}">{GROUPS_LNK}</a></td>
-                                <td class="admin_menu"><a href="usermgr.php" title="{USERS_TITLE}">{USERS_LNK}</a></td>
-                                <td class="admin_menu"><a href="banning.php" title="{BAN_TITLE}">{BAN_LNK}</a></td>
-                                <td class="admin_menu"><a href="reviewcom.php" title="{COMMENTS_TITLE}">{COMMENTS_LNK}</a></td>
-<!-- BEGIN log_ecards -->
-                                <td class="admin_menu"><a href="db_ecard.php" title="{DB_ECARD_TITLE}">{DB_ECARD_LNK}</a></td>
-<!-- END log_ecards -->
-                                <td class="admin_menu"><a href="picmgr.php" title="{PICTURES_TITLE}">{PICTURES_LNK}</a></td>
-                                <td class="admin_menu"><a href="searchnew.php" title="{SEARCHNEW_TITLE}">{SEARCHNEW_LNK}</a></td>
-                                <td class="admin_menu"><a href="util.php" title="{UTIL_TITLE}">{UTIL_LNK}</a></td>
-                                <td class="admin_menu"><a href="profile.php?op=edit_profile" title="{MY_PROF_TITLE}">{MY_PROF_LNK}</a></td>
-<!-- BEGIN documentation -->
-                                <td class="admin_menu"><a href="{DOCUMENTATION_HREF}" title="{DOCUMENTATION_TITLE}">{DOCUMENTATION_LNK}</a></td>
-<!-- END documentation -->
-                        </tr>
-                </table>
-                </div>
-
-EOT;
-
-// HTML template for user admin menu
-$template_user_admin_menu = <<<EOT
-
-                <div align="center">
-                <table cellpadding="0" cellspacing="1">
-                        <tr>
-                                <td class="admin_menu"><a href="albmgr.php" title="{ALBMGR_TITLE}">{ALBMGR_LNK}</a></td>
-                                <td class="admin_menu"><a href="modifyalb.php" title="{MODIFYALB_TITLE}">{MODIFYALB_LNK}</a></td>
-                                <td class="admin_menu"><a href="profile.php?op=edit_profile" title="{MY_PROF_TITLE}">{MY_PROF_LNK}</a></td>
-                                <td class="admin_menu"><a href="picmgr.php" title="{PICTURES_TITLE}">{PICTURES_LNK}</a></td>
-                        </tr>
-                </table>
-                </div>
-
-EOT;
-
-// HTML template for the category list
-$template_cat_list = <<<EOT
-<!-- BEGIN header -->
-        <tr>
-                <td class="tableh1" width="80%" align="left"><b>{CATEGORY}</b></td>
-                <td class="tableh1" width="10%" align="center"><b>{ALBUMS}</b></td>
-                <td class="tableh1" width="10%" align="center"><b>{PICTURES}</b></td>
-        </tr>
-<!-- END header -->
-<!-- BEGIN catrow_noalb -->
-        <tr>
-                <td class="catrow_noalb" colspan="3"><table border="0"><tr><td align="left">{CAT_THUMB}</td><td align="left"><span class="catlink"><b>{CAT_TITLE}</b></span>{CAT_DESC}</td></tr></table></td>
-        </tr>
-<!-- END catrow_noalb -->
-<!-- BEGIN catrow -->
-        <tr>
-                <td class="catrow" align="left"><table border="0"><tr><td>{CAT_THUMB}</td><td><span class="catlink"><b>{CAT_TITLE}</b></span>{CAT_DESC}</td></tr></table></td>
-                <td class="catrow" align="center">{ALB_COUNT}</td>
-                <td class="catrow" align="center">{PIC_COUNT}</td>
-        </tr>
-        <tr>
-            <td class="tableb" colspan="3">{CAT_ALBUMS}</td>
-        </tr>
-<!-- END catrow -->
-<!-- BEGIN footer -->
-        <tr>
-                <td colspan="3" class="tableh1" align="center"><span class="statlink">{STATISTICS}</span></td>
-        </tr>
-<!-- END footer -->
-<!-- BEGIN spacer -->
-        <img src="images/spacer.gif" width="1" height="7" border="" alt="" /><br />
-<!-- END spacer -->
-
-EOT;
-
-// HTML template for the breadcrumb
-$template_breadcrumb = <<<EOT
-<!-- BEGIN breadcrumb -->
-        <tr>
-                <td colspan="3" align="left" class="tableh1"><span class="statlink"><b>{BREADCRUMB}</b></span></td>
-        </tr>
-<!-- END breadcrumb -->
-<!-- BEGIN breadcrumb_user_gal -->
-        <tr>
-                <td colspan="3" class="tableh1">
-                <table width="100%" cellpadding="0" cellspacing="0" border="0">
-                <tr>
-                        <td align="left"><span class="statlink"><b>{BREADCRUMB}</b></span></td>
-                        <td align="right"><span class="statlink">{STATISTICS}</span></td>
-                </tr>
-                </table>
-                </td>
-        </tr>
-<!-- END breadcrumb_user_gal -->
-
-EOT;
-
-// HTML template for the album list
-$template_album_list = <<<EOT
-
-<!-- BEGIN stat_row -->
-        <tr>
-                <td colspan="{COLUMNS}" class="tableh1" align="center"><span class="statlink">{STATISTICS}</span></td>
-        </tr>
-<!-- END stat_row -->
-<!-- BEGIN header -->
-        <tr class="tableb_compact">
-<!-- END header -->
-<!-- BEGIN album_cell -->
-        <td width="{COL_WIDTH}%" valign="top">
-        <table width="100%" cellspacing="0" cellpadding="0">
-        <tr>
-                <td colspan="3" height="1" align="left" valign="top" class="tableh2">
-                        <span class="alblink"><a href="{ALB_LINK_TGT}"><b>{ALBUM_TITLE}</b></a></span>
-                </td>
-        </tr>
-        <tr>
-                <td colspan="3">
-                        <img src="images/spacer.gif" width="1" height="1" border="0" alt="" /><br />
-                </td>
-        </tr>
-        <tr>
-                <td align="center" valign="middle" class="thumbnails">
-                        <img src="images/spacer.gif" width="{THUMB_CELL_WIDTH}" height="1" class="image" style="margin-top: 0px; margin-bottom: 0px; border: none;" alt="" /><br />
-                        <a href="{ALB_LINK_TGT}" class="albums">{ALB_LINK_PIC}<br /></a>
-                </td>
-                <td>
-                        <img src="images/spacer.gif" width="1" height="1" border="0" alt="" />
-                </td>
-                <td width="100%" valign="top" align="left" class="tableb_compact">
-                        {ADMIN_MENU}
-                        <p>{ALB_DESC}</p>
-                        <p class="album_stat">{ALB_INFOS}</p>
-                </td>
-        </tr>
-        </table>
-        </td>
-<!-- END album_cell -->
-<!-- BEGIN empty_cell -->
-        <td width="{COL_WIDTH}%" valign="top">
-        <table width="100%" cellspacing="0" cellpadding="0">
-        <tr>
-                <td height="1" valign="top" class="tableh2">
-                        <b>&nbsp;</b>
-                </td>
-        </tr>
-        <tr>
-                <td>
-                        <img src="images/spacer.gif" width="1" height="1" border="0" alt="" /><br />
-                </td>
-        </tr>
-        <tr>
-                <td width="100%" valign="top" class="tableb_compact">
-                    <div class="thumbnails" style="background-color:transparent"><img src="images/spacer.gif" width="1" height="1" border="0" class="image" style="border:0;margin-top:1px;margin-bottom:0" alt="" /></div>
-                </td>
-        </tr>
-        </table>
-        </td>
-<!-- END empty_cell -->
-<!-- BEGIN row_separator -->
-        </tr>
-        <tr class="tableb_compact">
-<!-- END row_separator -->
-<!-- BEGIN footer -->
-        </tr>
-<!-- END footer -->
-<!-- BEGIN tabs -->
-        <tr>
-                <td colspan="{COLUMNS}" style="padding: 0px;">
-                        <table width="100%" cellspacing="0" cellpadding="0">
-                                <tr>
-                                       {TABS}
-                                </tr>
-                        </table>
-                </td>
-        </tr>
-<!-- END tabs -->
-<!-- BEGIN spacer -->
-        <img src="images/spacer.gif" width="1" height="7" border="" alt="" /><br />
-<!-- END spacer -->
-
-EOT;
-
-// HTML template for filmstrip display
-$template_film_strip = <<<EOT
-
-        <tr>
-         <td valign="top" style="background-image: url({TILE1});"><img src="{TILE1}" alt="" border="0" /></td>
-        </tr>
-        <tr>
-        <td valign="bottom" class="thumbnails" align="center">
-          <table width="100%" cellspacing="0" cellpadding="3" border="0">
-              <tr>
-                 <td width="50%"></td>
-                 {THUMB_STRIP}
-                 <td width="50%"></td>
-              </tr>
-          </table>
-        </td>
-        </tr>
-        <tr>
-         <td valign="top" style="background-image: url({TILE2});"><img src="{TILE2}" alt="" border="0" /></td>
-        </tr>
-<!-- BEGIN thumb_cell -->
-                <td valign="top" align="center">
-                                        <a href="{LINK_TGT}">{THUMB}</a>
-                                        {CAPTION}
-                                        {ADMIN_MENU}
-                </td>
-<!-- END thumb_cell -->
-<!-- BEGIN empty_cell -->
-                <td valign="top" align="center" >&nbsp;</td>
-<!-- END empty_cell -->
-
-EOT;
-
-// HTML template for the album list
-$template_album_list_cat = <<<EOT
-
-<!-- BEGIN c_stat_row -->
-        <tr>
-                <td colspan="{COLUMNS}" class="tableh1" align="center"><span class="statlink">{STATISTICS}</span></td>
-        </tr>
-<!-- END c_stat_row -->
-<!-- BEGIN c_header -->
-        <tr class="tableb_compact">
-<!-- END c_header -->
-<!-- BEGIN c_album_cell -->
-        <td width="{COL_WIDTH}%" valign="top">
-        <table width="100%" cellspacing="0" cellpadding="0">
-        <tr>
-                <td colspan="3" height="1" valign="top" class="tableh2">
-                        <span class="alblink"><a href="{ALB_LINK_TGT}"><b>{ALBUM_TITLE}</b></a></span>
-                </td>
-        </tr>
-        <tr>
-                <td colspan="3">
-                        <img src="images/spacer.gif" width="1" height="1" border="0" alt="" /><br />
-                </td>
-        </tr>
-        <tr>
-                <td align="center" valign="middle" class="thumbnails">
-                        <img src="images/spacer.gif" width="{THUMB_CELL_WIDTH}" height="1" class="image" style="margin-top: 0px; margin-bottom: 0px; border: none;" alt="" /><br />
-                        <a href="{ALB_LINK_TGT}" class="albums">{ALB_LINK_PIC}<br /></a>
-                </td>
-                <td>
-                        <img src="images/spacer.gif" width="1" height="1" border="0" alt="" />
-                </td>
-                <td width="100%" valign="top" class="tableb_compact">
-                        {ADMIN_MENU}
-                        <p>{ALB_DESC}</p>
-                        <p class="album_stat">{ALB_INFOS}</p>
-                </td>
-        </tr>
-        </table>
-        </td>
-<!-- END c_album_cell -->
-<!-- BEGIN c_empty_cell -->
-        <td width="{COL_WIDTH}%" valign="top">
-        <table width="100%" cellspacing="0" cellpadding="0" >
-        <tr>
-                <td height="1" valign="top" class="tableh2">
-                        <b>&nbsp;</b>
-                </td>
-        </tr>
-        <tr>
-                <td>
-                        <img src="images/spacer.gif" width="1" height="1" border="0" alt="" /><br />
-                </td>
-        </tr>
-        <tr>
-                <td width="100%" valign="top" class="tableb_compact" >
-                      <div class="thumbnails" style="background-color:transparent"><img src="images/spacer.gif" width="1" height="1" border="0" class="image" style="border:0;margin-top:1px;margin-bottom:0" alt="" /></div>
-                </td>
-        </tr>
-        </table>
-        </td>
-<!-- END c_empty_cell -->
-<!-- BEGIN c_row_separator -->
-        </tr>
-        <tr class="tableb_compact">
-<!-- END c_row_separator -->
-<!-- BEGIN c_footer -->
-        </tr>
-<!-- END c_footer -->
-<!-- BEGIN c_tabs -->
-        <tr>
-                <td colspan="{COLUMNS}" style="padding: 0px;">
-                        <table width="100%" cellspacing="0" cellpadding="0">
-                                <tr>
-                                       {TABS}
-                                </tr>
-                        </table>
-                </td>
-        </tr>
-<!-- END c_tabs -->
-<!-- BEGIN c_spacer -->
-        <img src="images/spacer.gif" width="1" height="7" border="" alt="" /><br />
-<!-- END c_spacer -->
-
-EOT;
-
-// HTML template for the ALBUM admin menu displayed in the album list
-$template_album_admin_menu = <<<EOT
-        <table border="0" cellpadding="0" cellspacing="1">
-                <tr>
-                        <td align="center" valign="middle" class="admin_menu">
-                                <a href="delete.php?id={ALBUM_ID}&amp;what=album"  class="adm_menu" onclick="return confirm('{CONFIRM_DELETE}');">{DELETE}</a>
-                        </td>
-                        <td align="center" valign="middle" class="admin_menu">
-                                <a href="modifyalb.php?album={ALBUM_ID}"  class="adm_menu">{MODIFY}</a>
-                        </td>
-                        <td align="center" valign="middle" class="admin_menu">
-                                <a href="editpics.php?album={ALBUM_ID}"  class="adm_menu">{EDIT_PICS}</a>
-                        </td>
-                </tr>
-        </table>
-
-EOT;
-
-// HTML template for title row of the thumbnail view (album title + sort options)
-$template_thumb_view_title_row = <<<EOT
-
-                        <table width="100%" cellpadding="0" cellspacing="0">
-                        <tr>
-                                <td width="100%" class="statlink"><h2>{ALBUM_NAME}</h2></td>
-                                <td><img src="images/spacer.gif" width="1" alt="" /></td>
-                                <td class="sortorder_cell">
-                                        <table cellpadding="0" cellspacing="0">
-                                        <tr>
-                                                <td class="sortorder_options">{TITLE}</td>
-                                                <td class="sortorder_options"><span class="statlink"><a href="thumbnails.php?album={AID}&amp;page={PAGE}&amp;sort=ta" title="{SORT_TA}">&nbsp;+&nbsp;</a></span></td>
-                                                <td class="sortorder_options"><span class="statlink"><a href="thumbnails.php?album={AID}&amp;page={PAGE}&amp;sort=td" title="{SORT_TD}">&nbsp;-&nbsp;</a></span></td>
-                                        </tr>
-                                        <tr>
-                                                <td class="sortorder_options">{NAME}</td>
-                                                <td class="sortorder_options"><span class="statlink"><a href="thumbnails.php?album={AID}&amp;page={PAGE}&amp;sort=na" title="{SORT_NA}">&nbsp;+&nbsp;</a></span></td>
-                                                <td class="sortorder_options"><span class="statlink"><a href="thumbnails.php?album={AID}&amp;page={PAGE}&amp;sort=nd" title="{SORT_ND}">&nbsp;-&nbsp;</a></span></td>
-                                        </tr>
-                                        <tr>
-                                                <td class="sortorder_options">{DATE}</td>
-                                                <td class="sortorder_options"><span class="statlink"><a href="thumbnails.php?album={AID}&amp;page={PAGE}&amp;sort=da" title="{SORT_DA}">&nbsp;+&nbsp;</a></span></td>
-                                                <td class="sortorder_options"><span class="statlink"><a href="thumbnails.php?album={AID}&amp;page={PAGE}&amp;sort=dd" title="{SORT_DD}">&nbsp;-&nbsp;</a></span></td>
-                                        </tr>
-                                        <tr>
-                                                <td class="sortorder_options">{POSITION}</td>
-                                                <td class="sortorder_options"><span class="statlink"><a href="thumbnails.php?album={AID}&amp;page={PAGE}&amp;sort=pa" title="{SORT_PA}">&nbsp;+&nbsp;</a></span></td>
-                                                <td class="sortorder_options"><span class="statlink"><a href="thumbnails.php?album={AID}&amp;page={PAGE}&amp;sort=pd" title="{SORT_PD}">&nbsp;-&nbsp;</a></span></td>
-                                        </tr>
-                                        </table>
-                                </td>
-                        </tr>
-                        </table>
-
-EOT;
-
-// HTML template for title row of the fav thumbnail view (album title + download)
-$template_fav_thumb_view_title_row = <<<EOT
-
-                        <table width="100%" cellpadding="0" cellspacing="0">
-                        <tr>
-                                <td width="100%" class="statlink"><h2>{ALBUM_NAME}</h2></td>
-                                <td><img src="images/spacer.gif" width="1" alt=""></td>
-                                <td class="sortorder_cell">
-                                        <table cellpadding="0" cellspacing="0">
-                                                <tr>
-                                                        <td class="sortorder_options"><span class="statlink"><a href="zipdownload.php">{DOWNLOAD_ZIP}</a></span></td>
-                                                </tr>
-                                                </table>
-                                </td>
-                        </tr>
-                        </table>
-
-EOT;
-
-// HTML template for thumbnails display
-$template_thumbnail_view = <<<EOT
-
-<!-- BEGIN header -->
-        <tr>
-<!-- END header -->
-<!-- BEGIN thumb_cell -->
-        <td valign="top" class="thumbnails" width ="{CELL_WIDTH}" align="center">
-                <table width="100%" cellpadding="0" cellspacing="0">
-                        <tr>
-                                <td align="center">
-                                        <a href="{LINK_TGT}">{THUMB}<br /></a>
-                                        {CAPTION}
-                                        {ADMIN_MENU}
-                                </td>
-                        </tr>
-                </table>
-        </td>
-<!-- END thumb_cell -->
-<!-- BEGIN empty_cell -->
-                <td valign="top" class="thumbnails" align="center">&nbsp;</td>
-<!-- END empty_cell -->
-<!-- BEGIN row_separator -->
-        </tr>
-        <tr>
-<!-- END row_separator -->
-<!-- BEGIN footer -->
-        </tr>
-<!-- END footer -->
-<!-- BEGIN tabs -->
-        <tr>
-                <td colspan="{THUMB_COLS}" style="padding: 0px;">
-                        <table width="100%" cellspacing="0" cellpadding="0">
-                                <tr>
-                                       {TABS}
-                                </tr>
-                        </table>
-                </td>
-        </tr>
-<!-- END tabs -->
-<!-- BEGIN spacer -->
-        <img src="images/spacer.gif" width="1" height="7" border="" alt="" /><br />
-<!-- END spacer -->
-
-EOT;
-
-// HTML template for the thumbnail view when there is no picture to show
-$template_no_img_to_display = <<<EOT
-        <tr>
-                <td class="tableb" height="200" align="center">
-                        <font size="3"><b>{TEXT}</b></font>
-                </td>
-        </tr>
-<!-- BEGIN spacer -->
-        <img src="images/spacer.gif" width="1" height="7" border="" alt="" /><br />
-<!-- END spacer -->
-
-EOT;
-
-// HTML template for the USER info box in the user list view
-$template_user_list_info_box = <<<EOT
-
-        <table cellspacing="1" cellpadding="0" border="0" width="100%" class="user_thumb_infobox">
-                <tr>
-                        <th><a href="profile.php?uid={USER_ID}">{USER_NAME}</a></th>
-                </tr>
-                <tr>
-                        <td>{ALBUMS}</td>
-                </tr>
-                <tr>
-                        <td>{PICTURES}</td>
-                </tr>
-        </table>
-
-EOT;
-
-// HTML template for the image navigation bar
-$template_img_navbar = <<<EOT
-
-        <tr>
-                <td align="center" valign="middle" class="navmenu" width="48">
-                        <a href="{THUMB_TGT}" class="navmenu_pic" title="{THUMB_TITLE}"><img src="{LOCATION}images/thumbnails.gif" align="middle" border="0" alt="{THUMB_TITLE}" /></a>
-                </td>
-                <td align="center" valign="middle" class="navmenu" width="48">
-                        <a href="javascript:;" class="navmenu_pic" onclick="blocking('picinfo','yes', 'block'); return false;" title="{PIC_INFO_TITLE}"><img src="{LOCATION}images/info.gif" border="0" align="middle" alt="{PIC_INFO_TITLE}" /></a>
-                </td>
-                <td align="center" valign="middle" class="navmenu" width="48">
-                        <a href="{SLIDESHOW_TGT}" class="navmenu_pic" title="{SLIDESHOW_TITLE}"><img src="{LOCATION}images/slideshow.gif" border="0" align="middle" alt="{SLIDESHOW_TITLE}" /></a>
-                </td>
-                <td align="center" valign="middle" class="navmenu" width="100%">
-                        {PIC_POS}
-                </td>
-<!-- BEGIN report_file_button -->
-                <td align="center" valign="middle" class="navmenu" width="48">
-                        <a href="{REPORT_TGT}" class="navmenu_pic" title="{REPORT_TITLE}"><img src="{LOCATION}images/report.gif" border="0" align="middle" alt="{REPORT_TITLE}" /></a>
-                </td>
-<!-- END report_file_button -->
-<!-- BEGIN ecard_button -->
-                <td align="center" valign="middle" class="navmenu" width="48">
-                        <a href="{ECARD_TGT}" class="navmenu_pic" title="{ECARD_TITLE}"><img src="{LOCATION}images/ecard.gif"  border="0" align="middle" alt="{ECARD_TITLE}" /></a>
-                </td>
-<!-- END ecard_button -->
-                <td align="center" valign="middle" class="navmenu" width="48">
-                        <a href="{PREV_TGT}" class="navmenu_pic" title="{PREV_TITLE}"><img src="{LOCATION}images/prev.gif"  border="0" align="middle" alt="{PREV_TITLE}" /></a>
-                </td>
-                <td align="center" valign="middle" class="navmenu" width="48">
-                        <a href="{NEXT_TGT}" class="navmenu_pic" title="{NEXT_TITLE}"><img src="{LOCATION}images/next.gif"  border="0" align="middle" alt="{NEXT_TITLE}" /></a>
-                </td>
-        </tr>
-
-EOT;
-
-// HTML template for intermediate image display
-$template_display_media = <<<EOT
-        <tr>
-                <td align="center" class="display_media" nowrap="nowrap">
-                        <table cellspacing="2" cellpadding="0" class="imageborder">
-                                <tr>
-                                        <td align="center">
-                                                {IMAGE}
-
-                                        </td>
-                                </tr>
-                        </table>
-                </td></tr>
-                <tr><td>
-                                                <table width="100%" cellspacing="2" cellpadding="0" class="tableb">
-                                <tr>
-                                        <td align="center">
-
-                                                {ADMIN_MENU}
-                                        </td>
-                                </tr>
-                        </table>
-
-
-
-
-
-<!-- BEGIN img_desc -->
-                        <table cellpadding="0" cellspacing="0" class="tableb" width="100%">
-<!-- BEGIN title -->
-                                <tr>
-                                        <td class="tableb"><center><b>
-                                                {TITLE}
-                                        </b></center></td>
-                                </tr>
-<!-- END title -->
-<!-- BEGIN caption -->
-                                <tr>
-                                        <td class="tableb"><center>
-                                                {CAPTION}
-                                        </center></td>
-                                </tr>
-<!-- END caption -->
-                        </table>
-<!-- END img_desc -->
-                </td>
-        </tr>
-
-EOT;
-
-// HTML template for the image rating box
-$template_image_rating = <<<EOT
-<table align="center" width="{WIDTH}" cellspacing="1" cellpadding="0" class="maintable">
-        <tr>
-                <td colspan="6" class="tableh2_compact"><b>{TITLE}</b> {VOTES}</td>
-        </tr>
-        <tr>
-                <td class="tableb_compact" width="17%" align="center"><a href="{RATE0}" title="{RUBBISH}" rel="nofollow"><img src="{LOCATION}images/rating0.gif" border="0" alt="{RUBBISH}" /><br /></a></td>
-                <td class="tableb_compact" width="17%" align="center"><a href="{RATE1}" title="{POOR}" rel="nofollow"><img src="{LOCATION}images/rating1.gif" border="0" alt="{POOR}" /><br /></a></td>
-                <td class="tableb_compact" width="17%" align="center"><a href="{RATE2}" title="{FAIR}" rel="nofollow"><img src="{LOCATION}images/rating2.gif" border="0" alt="{FAIR}" /><br /></a></td>
-                <td class="tableb_compact" width="17%" align="center"><a href="{RATE3}" title="{GOOD}" rel="nofollow"><img src="{LOCATION}images/rating3.gif" border="0" alt="{GOOD}" /><br /></a></td>
-                <td class="tableb_compact" width="17%" align="center"><a href="{RATE4}" title="{EXCELLENT}" rel="nofollow"><img src="{LOCATION}images/rating4.gif" border="0" alt="{EXCELLENT}" /><br /></a></td>
-                <td class="tableb_compact" width="17%" align="center"><a href="{RATE5}" title="{GREAT}" rel="nofollow"><img src="{LOCATION}images/rating5.gif" border="0" alt="{GREAT}" /><br /></a></td>
-        </tr>
-</table>
-EOT;
-
-// HTML template for the display of comments
-$template_image_comments = <<<EOT
-<table align="center" width="{WIDTH}" cellspacing="1" cellpadding="0" class="maintable">
-
-        <tr>
-                <td>
-                        <table width="100%" cellpadding="0" cellspacing="0">
-                           <tr>
-                                <td class="tableh2_compact" nowrap="nowrap">
-                                        <b>{MSG_AUTHOR}</b><a name="comment{MSG_ID}"></a>&nbsp;
-<!-- BEGIN ipinfo -->
-                                                                                 ({IP})
-<!-- END ipinfo -->
-</td>
-
-
-                                <td class="tableh2_compact" align="right" width="100%">
-<!-- BEGIN report_comment_button -->
-     <a href="report_file.php?pid={PID}&amp;msg_id={MSG_ID}&amp;what=comment" title="{REPORT_COMMENT_TITLE}"><img src="images/report.gif" width="16" height="16" border="0" align="middle" alt="{REPORT_COMMENT_TITLE}" /></a>
-<!-- END report_comment_button -->
-
-
-<!-- BEGIN buttons -->
-                                        <a href="javascript:;" onclick="blocking('cbody{MSG_ID}','', 'block'); blocking('cedit{MSG_ID}','', 'block'); return false;" title="{EDIT_TITLE}"><img src="images/edit.gif" border="0" align="middle" /></a>
-                                        <a href="delete.php?msg_id={MSG_ID}&what=comment"  onclick="return confirm('{CONFIRM_DELETE}');"><img src="images/delete.gif" border="0" align="middle" /></a>
-<!-- END buttons -->
-                                </td>
-                                <td class="tableh2_compact" align="right" nowrap="nowrap">
-                                        <span class="comment_date">[{MSG_DATE}]</span>
-                                </td></tr>
-                        </table>
-                </td>
-        </tr>
-        <tr>
-                <td class="tableb_compact">
-                        <div id="cbody{MSG_ID}" style="display:block">
-                                {MSG_BODY}
-                        </div>
-                        <div id="cedit{MSG_ID}" style="display:none">
-<!-- BEGIN edit_box_smilies -->
-                                <table width="100%" cellpadding="0" cellspacing="0">
-
-                                                <form name="f{MSG_ID}" method="POST" action="db_input.php">
-                                                <input type="hidden" name="event" value="comment_update" />
-                                                <input type="hidden" name="msg_id" value="{MSG_ID}" />
-                                                <tr>
-                                                <td>
-                                                   <input type="text" name="msg_author" value="{MSG_AUTHOR}" class="textinput" size="25" />
-                                                </td><td>
-                                                </tr>
-                                                <tr>
-                                                <td width="80%">
-                                                        <textarea cols="40" rows="2" class="textinput" name="msg_body" onselect="storeCaret_f{MSG_ID}(this);" onclick="storeCaret_f{MSG_ID}(this);" onkeyup="storeCaret_f{MSG_ID}(this);" style="width: 100%;">{MSG_BODY_RAW}</textarea>
-                                                </td>
-                                                <td class="tableb_compact">
-                                                </td>
-                                                <td>
-                                                        <input type="submit" class="comment_button" name="submit" value="{OK}" />
-                                                </td>
-                                                </form>
-                                        </tr>
-                                        <tr>
-                                                <td colspan="3"><img src="images/spacer.gif" width="1" height="2" /><br /></td>
-                                        </tr>
-                                </table>
-                                {SMILIES}
-<!-- END edit_box_smilies -->
-<!-- BEGIN edit_box_no_smilies -->
-                                <table width="100%" cellpadding="0" cellspacing="0">
-                                        <tr>
-                                                <form name="f{MSG_ID}" method="POST" action="db_input.php">
-                                                <input type="hidden" name="event" value="comment_update" />
-                                                <input type="hidden" name="msg_id" value="{MSG_ID}" />
-                                                <td>
-                                                <input type="text" name="msg_author" value="{MSG_AUTHOR}" class="textinput" size="25" />
-                                                </td>
-                                        </tr>
-                                        <tr>
-                                                <td width="100%">
-                                                        <textarea cols="40" rows="2" class="textinput" name="msg_body" style="width: 100%;">{MSG_BODY_RAW}</textarea>
-                                                </td>
-                                                <td class="tableb_compact">
-                                                </td>
-                                                <td>
-                                                        <input type="submit" class="comment_button" name="submit" value="{OK}" />
-                                                </td>
-                                                </form>
-                                        </tr>
-                                        <tr>
-                                                <td colspan="3"><img src="images/spacer.gif" width="1" height="2" /><br /></td>
-                                        </tr>
-                                </table>
-<!-- END edit_box_no_smilies -->
-                        </div>
-                </td>
-        </tr>
-</table>
-EOT;
-
-// HTML template for the form to add comments
-$template_add_your_comment = <<<EOT
-        <form method="post" name="post" action="db_input.php">
-                <table align="center" width="{WIDTH}" cellspacing="1" cellpadding="0" class="maintable">
-                        <tr>
-                                        <td width="100%" class="tableh2_compact"><b>{ADD_YOUR_COMMENT}</b></td>
-                        </tr>
-                        <tr>
-                <td colspan="1">
-                        <table width="100%" cellpadding="0" cellspacing="0">
-
-<!-- BEGIN user_name_input -->
-                                                        <tr>
-                                                                <td class="tableb_compact">
-                                        {NAME}
-                                </td>
-                                <td class="tableb_compact">
-                                        <input type="text" class="textinput" name="msg_author" size="10" maxlength="20" value="{USER_NAME}" />
-                                </td>
-<!-- END user_name_input -->
-<!-- BEGIN input_box_smilies -->
-                                <td class="tableb_compact">
-                                {COMMENT}
-                                                                </td>
-                                <td width="100%" class="tableb_compact">
-                                <input type="text" class="textinput" id="message" name="msg_body" onselect="storeCaret_post(this);" onclick="storeCaret_post(this);" onkeyup="storeCaret_post(this);" maxlength="{MAX_COM_LENGTH}" style="width: 100%;" />
-                                                                </td>
-<!-- END input_box_smilies -->
-<!-- BEGIN input_box_no_smilies -->
-                                <td class="tableb_compact">
-                                {COMMENT}
-                                                                </td>
-                                <td width="100%" class="tableb_compact">
-                                <input type="text" class="textinput" id="message" name="msg_body"  maxlength="{MAX_COM_LENGTH}" style="width: 100%;" />
-                                </td>
-<!-- END input_box_no_smilies -->
-                                <td class="tableb_compact">
-                                <input type="hidden" name="event" value="comment" />
-                                <input type="hidden" name="pid" value="{PIC_ID}" />
-                                <input type="submit" class="comment_button" name="submit" value="{OK}" />
-                                </td>
-                                                        </tr>
-                        </table>
-                </td>
-        </tr>
-<!-- BEGIN smilies -->
-        <tr>
-                <td width="100%" class="tableb_compact">
-                        {SMILIES}
-                </td>
-        </tr>
-<!-- END smilies -->
-                </table>
-        </form>
-EOT;
-
-// HTML template used by the cpg_die function
-$template_cpg_die = <<<EOT
-
-        <tr>
-                <td class="tableb" align="center">
-                        <font size="3"><b>{MESSAGE}</b></font>
-<!-- BEGIN file_line -->
-                        <br />
-                        <br />
-                        {FILE_TXT}{FILE} - {LINE_TXT}{LINE}
-<!-- END file_line -->
-<!-- BEGIN output_buffer -->
-                        <br />
-                        <br />
-                        <div align="left">
-                                {OUTPUT_BUFFER}
-                        </div>
-<!-- END output_buffer -->
-                        <br /><br />
-                </td>
-        </tr>
-
-
-EOT;
-
-// HTML template used by the msg_box function
-$template_msg_box = <<<EOT
-
-        <tr>
-                <td class="tableb" align="center">
-                        <font size="3"><b>{MESSAGE}</b></font>
-                </td>
-        </tr>
-<!-- BEGIN button -->
-                <tr>
-                        <td align="center" class="tablef">
-                                <table cellpadding="0" cellspacing="0">
-                                        <tr>
-                                                <td class="admin_menu">
-                                                        <a href="{LINK}">{TEXT}</a>
-                                                </td>
-                                        </tr>
-                                </table>
-                        </td>
-                </tr>
-<!-- END button -->
-
-EOT;
-
-// HTML template for e-cards
-$template_ecard = <<<EOT
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
-<html dir="{LANG_DIR}">
-<head>
-<meta http-equiv="content-type" content="text/html; charset={CHARSET}" />
-<title>{TITLE}</title>
-</head>
-<body bgcolor="#FFFFFF" text="#0F5475" link="#0F5475" vlink="#0F5475" alink="#0F5475">
-<br />
-<p align="center"><a href="{VIEW_ECARD_TGT}"><b>{VIEW_ECARD_LNK}</b></a></p>
-<table border="0" cellspacing="0" cellpadding="1" align="center">
-  <tr>
-    <td bgcolor="#000000">
-      <table border="0" cellspacing="0" cellpadding="10" bgcolor="#ffffff">
-        <tr>
-          <td valign="top">
-           <a href="{VIEW_MORE_TGT}displayimage.php?pos=-{PID}">
-                                         <img src="{PIC_URL}" border="1" alt="" /></a>
-                                         <br />
-                                         <div align="center">
-                                                 <h2>{PIC_TITLE}</h2>
-                                         </div>
-
-          </td>
-          <td valign="top" width="300">
-            <div align="right"><img src="{URL_PREFIX}images/stamp.gif" border="0" alt="" /></div>
-            <br />
-            <b><font face="arial" color="#000000" size="4">{GREETINGS}</font></b>
-            <br />
-            <br />
-            <font face="arial" color="#000000" size="2">{MESSAGE}</font>
-            <br />
-            <br />
-            <font face="arial" color="#000000" size="2">{SENDER_NAME}</font>
-            (<a href="mailto:{SENDER_EMAIL}"><font face="arial" color="#000000" size="2">{SENDER_EMAIL}</font></a>)
-          </td>
-        </tr>
-                <tr>
-                        <td colspan="2">
-                                {PIC_CAPTION}
-                        </td>
-                </tr>
-      </table>
-    </td>
-  </tr>
-</table>
-<p align="center"><a href="{VIEW_MORE_TGT}"><b>{VIEW_MORE_LNK}</b></a></p>
-</body>
-</html>
-EOT;
-
-// plain-text template for e-cards (as fallback for clients that can't display html-formatted mails)
-$template_ecard_plaintext = <<<EOT
-{TITLE}
-=========================================
-
-{VIEW_ECARD_LNK_PLAINTEXT}:
-{VIEW_ECARD_TGT}
-
-{GREETINGS}
-
-
-{PLAINTEXT_MESSAGE}
-
-{SENDER_NAME} ({SENDER_EMAIL})
-
------------------------------------------
-{VIEW_MORE_LNK}:
-{VIEW_MORE_TGT}
-EOT;
-
-// HTML template for report
-$template_report = <<<EOT
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
-<html dir="{LANG_DIR}">
-<head>
-<meta http-equiv="content-type" content="text/html; charset={CHARSET}" />
-<title>{TITLE}</title>
-</head>
-<body bgcolor="#FFFFFF" text="#0F5475" link="#0F5475" vlink="#0F5475" alink="#0F5475">
-<br />
-<p align="center"><a href="{VIEW_REPORT_TGT}"><b>{VIEW_REPORT_LNK}</b></a></p>
-<table border="0" cellspacing="0" cellpadding="1" align="center">
-  <tr>
-    <td bgcolor="#000000">
-      <table border="0" cellspacing="0" cellpadding="10" bgcolor="#FFFFFF">
-        <tr>
-          <td valign="top">
-           <a href="{PIC_TGT}"><img src="{PIC_URL}" border="1" alt="" /></a><br />
-          </td>
-          <td valign="top" width="200">
-            <b><font face="arial" color="#000000" size="4">{SUBJECT}</font></b>
-            <br />
-                                                <br />
-                                                {REASON}
-            <p>
-            <font face="arial" color="#000000" size="2">{MESSAGE}</font>
-            </p>
-            <font face="arial" color="#000000" size="2">{SENDER_NAME}</font>
-            (<a href="mailto:{SENDER_EMAIL}"><font face="arial" color="#000000" size="2">{SENDER_EMAIL}</font></a>)
-          </td>
-        </tr>
-      </table>
-    </td>
-  </tr>
-</table>
-<p align="center"><a href="{VIEW_MORE_TGT}"><b>{VIEW_MORE_LNK}</b></a></p>
-</body>
-</html>
-EOT;
-
-// plain-text template for reports (as fallback for clients that can't display html-formatted mails)
-$template_report_plaintext = <<<EOT
-{TITLE}
-=========================================
-
-{VIEW_REPORT_LNK_PLAINTEXT}:
-{VIEW_REPORT_TGT}
-
-
-{SUBJECT}
-
-{REASON}
-
-{PLAINTEXT_MESSAGE}
-
-{SENDER_NAME} ({SENDER_EMAIL})
-
------------------------------------------
-{VIEW_MORE_LNK}:
-{VIEW_MORE_TGT}
-EOT;
-
-// HTML template for displaying a reported comment
-$template_report_comment = <<<EOT
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
-<html dir="{LANG_DIR}">
-<head>
-<meta http-equiv="content-type" content="text/html; charset={CHARSET}" />
-<title>{TITLE}</title>
-</head>
-<body bgcolor="#FFFFFF" text="#0F5475" link="#0F5475" vlink="#0F5475" alink="#0F5475">
-<br />
-<p align="center"><a href="{VIEW_REPORT_TGT}"><b>{VIEW_REPORT_LNK}</b></a></p>
-<table border="0" cellspacing="0" cellpadding="1" align="center">
-  <tr>
-    <td bgcolor="#000000">
-      <table border="0" cellspacing="0" cellpadding="10" bgcolor="#FFFFFF">
-        <tr>
-          <td valign="top">
-           {COMMENT}
-                                                <p align="center"><a href="{COMMENT_TGT}">{COMMENT_LNK}</a></p>
-          </td>
-                                        </tr>
-                                        <tr>
-          <td valign="top">
-            <b><font face="arial" color="#000000" size="4">{SUBJECT}</font></b>
-                                                <p>
-              {REASON}
-            <p>
-            <font face="arial" color="#000000" size="2">{MESSAGE}</font>
-            </p>
-            <font face="arial" color="#000000" size="2">{SENDER_NAME}</font>
-            (<a href="mailto:{SENDER_EMAIL}"><font face="arial" color="#000000" size="2">{SENDER_EMAIL}</font></a>)
-          </td>
-        </tr>
-      </table>
-    </td>
-  </tr>
-</table>
-<p align="center"><a href="{VIEW_MORE_TGT}"><b>{VIEW_MORE_LNK}</b></a></p>
-</body>
-</html>
-EOT;
-
-// plain-text template for reports (as fallback for clients that can't display html-formatted mails)
-$template_report_comment_email = <<<EOT
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
-<html dir="{LANG_DIR}">
-<head>
-<meta http-equiv="content-type" content="text/html; charset={CHARSET}" />
-<title>{TITLE}</title>
-</head>
-<body bgcolor="#FFFFFF" text="#0F5475" link="#0F5475" vlink="#0F5475" alink="#0F5475">
-<p><a href="{VIEW_REPORT_TGT}">{VIEW_COMMENT_LNK}</a></p>
-                <b><font face="arial" color="#000000" size="4">{SUBJECT}</font></b>
-                <p>
-                        {REASON}
-                <p>
-                <font face="arial" color="#000000" size="2">{MESSAGE}</font>
-                </p>
-                <font face="arial" color="#000000" size="2">{SENDER_NAME}</font>
-                (<a href="mailto:{SENDER_EMAIL}"><font face="arial" color="#000000" size="2">{SENDER_EMAIL}</font></a>)
-<p><a href="{VIEW_MORE_TGT}"><b>{VIEW_MORE_LNK}</b></a></p>
-</body>
-</html>
-EOT;
-
-// Template used for tabbed display
-$template_tab_display = array('left_text' => '<td width="100%%" align="left" valign="middle" class="tableh1_compact" style="white-space: nowrap"><b>{LEFT_TEXT}</b></td>' . "\n",
-    'tab_header' => '',
-    'tab_trailer' => '',
-    'active_tab' => '<td><img src="images/spacer.gif" width="1" height="1" alt="" /></td>' . "\n" . '<td align="center" valign="middle" class="tableb_compact"><b>%d</b></td>',
-    'inactive_tab' => '<td><img src="images/spacer.gif" width="1" height="1" alt="" /></td>' . "\n" . '<td align="center" valign="middle" class="navmenu"><a href="{LINK}"><b>%d</b></a></td>' . "\n",
-    'inactive_prev_tab' => '<td><img src="images/spacer.gif" width="1" height="1" alt="" /></td>' . "\n" . '<td align="center" valign="middle" class="navmenu"><a href="{LINK}"><b>{PREV}</b></a></td>' . "\n",
-    'inactive_next_tab' => '<td><img src="images/spacer.gif" width="1" height="1" alt="" /></td>' . "\n" . '<td align="center" valign="middle" class="navmenu"><a href="{LINK}"><b>{NEXT}</b></a></td>' . "\n",
-);
-
-// Template used for Vanity Footer
-$template_vanity = <<<EOT
-<div id="vanity">
-      <a id="v_php" href="http://www.php.net/"></a>
-      <a id="v_mysql" href="http://www.mysql.com/"></a>
-      <a id="v_xhtml" href="http://validator.w3.org/check/referer"></a>
-      <a id="v_css" href="http://jigsaw.w3.org/css-validator/check/referer"></a>
-</div>
-EOT;
-
-// Function for writing a pageheader
-function pageheader($section, $meta = '')
-{
-    global $CONFIG, $THEME_DIR;
-    global $template_header, $lang_charset, $lang_text_dir;
-
-    $custom_header = cpg_get_custom_include($CONFIG['custom_header_path']);
-
-        $charset = ($CONFIG['charset'] == 'language file') ? $lang_charset : $CONFIG['charset'];
-
-    header('P3P: CP="CAO DSP COR CURa ADMa DEVa OUR IND PHY ONL UNI COM NAV INT DEM PRE"');
-        header("Content-Type: text/html; charset=$charset");
-    user_save_profile();
-
-    $template_vars = array('{LANG_DIR}' => $lang_text_dir,
-        '{TITLE}' => $CONFIG['gallery_name'] . ' - ' . strip_tags(bb_decode($section)),
-        '{CHARSET}' => $charset,
-        '{META}' => $meta,
-        '{GAL_NAME}' => $CONFIG['gallery_name'],
-        '{GAL_DESCRIPTION}' => $CONFIG['gallery_description'],
-        '{SYS_MENU}' => theme_main_menu('sys_menu'),
-        '{SUB_MENU}' => theme_main_menu('sub_menu'),
-        '{ADMIN_MENU}' => theme_admin_mode_menu(),
-        '{CUSTOM_HEADER}' => $custom_header,
-        );
-
-    echo template_eval($template_header, $template_vars);
-}
-
-// Function for writing a pagefooter
-function pagefooter()
-{
-    //global $HTTP_GET_VARS, $HTTP_POST_VARS, $HTTP_SERVER_VARS;
-    global $USER, $USER_DATA, $ALBUM_SET, $CONFIG, $time_start, $query_stats, $queries;
-    global $template_footer;
-
-    $custom_footer = cpg_get_custom_include($CONFIG['custom_footer_path']);
-
-    if ($CONFIG['debug_mode']==1 || ($CONFIG['debug_mode']==2 && GALLERY_ADMIN_MODE)) {
-    cpg_debug_output();
-    }
-
-    $template_vars = array(
-        '{CUSTOM_FOOTER}' => $custom_footer,
-        '{VANITY}' => (defined('THEME_IS_XHTML10_TRANSITIONAL') && $CONFIG['vanity_block']) ? theme_vanity() : '',
-    );
-
-    echo template_eval($template_footer, $template_vars);
-}
-
-// Function to start a 'standard' table
-function starttable($width = '-1', $title = '', $title_colspan = '1')
-{
-    global $CONFIG;
-
-    if ($width == '-1') $width = $CONFIG['picture_table_width'];
-    if ($width == '100%') $width = $CONFIG['main_table_width'];
-    echo <<<EOT
-
-<!-- Start standard table -->
-<table align="center" width="$width" cellspacing="1" cellpadding="0" class="maintable">
-
-EOT;
-    if ($title) {
-        echo <<<EOT
-        <tr>
-                <td class="tableh1" colspan="$title_colspan">$title</td>
-        </tr>
-
-EOT;
-    }
-}
-
-// Function to end a 'standard' table
-function endtable()
-{
-    echo <<<EOT
-</table>
-<!-- End standard table -->
-
-EOT;
-}
-
-// Function for creating a main menu (SYS_MENU or SUB_MENU)
-function theme_main_menu($which)
-{
-    global $AUTHORIZED, $CONFIG, $album, $actual_cat, $cat, $REFERER;
-    global $lang_main_menu, $template_sys_menu, $template_sub_menu;
-
-
-    static $sys_menu = '', $sub_menu = '';
-    if ($$which != '') {
-        return $$which;
-    }
-
-    $album_l = isset($album) ? "?album=$album" : '';
-    $cat_l = (isset($actual_cat))? "?cat=$actual_cat" : (isset($cat) ? "?cat=$cat" : '');
-    $cat_l2 = isset($cat) ? "&amp;cat=$cat" : '';
-    $my_gallery_id = FIRST_USER_CAT + USER_ID;
-
-
-
-  if ($which == 'sys_menu' ) {
-    if (USER_ID) {
-        template_extract_block($template_sys_menu, 'login');
-    } else {
-        template_extract_block($template_sys_menu, 'logout');
-        template_extract_block($template_sys_menu, 'my_profile');
-    }
-
-    if (!USER_IS_ADMIN) {
-        template_extract_block($template_sys_menu, 'enter_admin_mode');
-        template_extract_block($template_sys_menu, 'leave_admin_mode');
-    } else {
-        if (GALLERY_ADMIN_MODE) {
-            template_extract_block($template_sys_menu, 'enter_admin_mode');
-        } else {
-            template_extract_block($template_sys_menu, 'leave_admin_mode');
-        }
-    }
-
-    if (!USER_CAN_CREATE_ALBUMS) {
-        template_extract_block($template_sys_menu, 'my_gallery');
-    }
-
-    if (USER_CAN_CREATE_ALBUMS) {
-        template_extract_block($template_sys_menu, 'my_profile');
-    }
-
-    if (!USER_CAN_UPLOAD_PICTURES && !USER_CAN_CREATE_ALBUMS) {
-        template_extract_block($template_sys_menu, 'upload_pic');
-    }
-
-    if (USER_ID || !$CONFIG['allow_user_registration']) {
-        template_extract_block($template_sys_menu, 'register');
-    }
-
-    if (!USER_ID || !$CONFIG['allow_memberlist']) {
-        template_extract_block($template_sys_menu, 'allow_memberlist');
-    }
-
-    if (!$CONFIG['display_faq']) {
-        template_extract_block($template_sys_menu, 'faq');
-    }
-
-    $param = array(
-        '{HOME_TGT}' => $CONFIG['home_target'],
-        '{HOME_TITLE}' => $lang_main_menu['home_title'],
-        '{HOME_LNK}' => $lang_main_menu['home_lnk'],
-        '{MY_GAL_TGT}' => "index.php?cat=$my_gallery_id",
-        '{MY_GAL_TITLE}' => $lang_main_menu['my_gal_title'],
-        '{MY_GAL_LNK}' => $lang_main_menu['my_gal_lnk'],
-        '{MEMBERLIST_TGT}' => "usermgr.php",
-        '{MEMBERLIST_TITLE}' => $lang_main_menu['memberlist_title'],
-        '{MEMBERLIST_LNK}' => $lang_main_menu['memberlist_lnk'],
-        '{MY_PROF_TGT}' => "profile.php?op=edit_profile",
-        '{MY_PROF_TITLE}' => $lang_main_menu['my_prof_title'],
-        '{MY_PROF_LNK}' => $lang_main_menu['my_prof_lnk'],
-        '{ADM_MODE_TGT}' => "mode.php?admin_mode=1&amp;referer=$REFERER",
-        '{ADM_MODE_TITLE}' => $lang_main_menu['adm_mode_title'],
-        '{ADM_MODE_LNK}' => $lang_main_menu['adm_mode_lnk'],
-        '{USR_MODE_TGT}' => "mode.php?admin_mode=0&amp;referer=$REFERER",
-        '{USR_MODE_TITLE}' => $lang_main_menu['usr_mode_title'],
-        '{USR_MODE_LNK}' => $lang_main_menu['usr_mode_lnk'],
-        '{UPL_PIC_TGT}' => "upload.php",
-        '{UPL_PIC_TITLE}' => $lang_main_menu['upload_pic_title'],
-        '{UPL_PIC_LNK}' => $lang_main_menu['upload_pic_lnk'],
-        '{REGISTER_TGT}' => "register.php",
-        '{REGISTER_TITLE}' => $lang_main_menu['register_title'],
-        '{REGISTER_LNK}' => $lang_main_menu['register_lnk'],
-        '{LOGIN_TGT}' => "login.php?referer=$REFERER",
-        '{LOGIN_TITLE}' => $lang_main_menu['login_title'],
-        '{LOGIN_LNK}' => $lang_main_menu['login_lnk'],
-        '{LOGOUT_TGT}' => "logout.php?referer=$REFERER",
-        '{LOGOUT_TITLE}' => $lang_main_menu['logout_title'],
-        '{LOGOUT_LNK}' => $lang_main_menu['logout_lnk'] . " [" . stripslashes(USER_NAME) . "]",
-        '{FAQ_TGT}' => "faq.php",
-        '{FAQ_TITLE}' => $lang_main_menu['faq_title'],
-        '{FAQ_LNK}' => $lang_main_menu['faq_lnk'],
-        );
-
-        $sys_menu = template_eval($template_sys_menu, $param);
-  } else {
-
-    if (!$CONFIG['custom_lnk_url']) {
-        template_extract_block($template_sub_menu, 'custom_link');
-    }
-
-    $param = array(
-        '{ALB_LIST_TGT}' => "index.php$cat_l",
-        '{ALB_LIST_TITLE}' => $lang_main_menu['alb_list_title'],
-        '{ALB_LIST_LNK}' => $lang_main_menu['alb_list_lnk'],
-        '{CUSTOM_LNK_TGT}' => $CONFIG['custom_lnk_url'],
-        '{CUSTOM_LNK_TITLE}' => $CONFIG['custom_lnk_name'],
-        '{CUSTOM_LNK_LNK}' => $CONFIG['custom_lnk_name'],
-        '{LASTUP_TGT}' => "thumbnails.php?album=lastup$cat_l2",
-        '{LASTUP_TITLE}' => $lang_main_menu['lastup_title'],
-        '{LASTUP_LNK}' => $lang_main_menu['lastup_lnk'],
-        '{LASTCOM_TGT}' => "thumbnails.php?album=lastcom$cat_l2",
-        '{LASTCOM_TITLE}' => $lang_main_menu['lastcom_title'],
-        '{LASTCOM_LNK}' => $lang_main_menu['lastcom_lnk'],
-        '{TOPN_TGT}' => "thumbnails.php?album=topn$cat_l2",
-        '{TOPN_TITLE}' => $lang_main_menu['topn_title'],
-        '{TOPN_LNK}' => $lang_main_menu['topn_lnk'],
-        '{TOPRATED_TGT}' => "thumbnails.php?album=toprated$cat_l2",
-        '{TOPRATED_TITLE}' => $lang_main_menu['toprated_title'],
-        '{TOPRATED_LNK}' => $lang_main_menu['toprated_lnk'],
-        '{FAV_TGT}' => "thumbnails.php?album=favpics",
-        '{FAV_TITLE}' => $lang_main_menu['fav_title'],
-        '{FAV_LNK}' => $lang_main_menu['fav_lnk'],
-        '{SEARCH_TGT}' => "search.php",
-        '{SEARCH_TITLE}' => $lang_main_menu['search_title'],
-        '{SEARCH_LNK}' => $lang_main_menu['search_lnk'],
-        );
-    $sub_menu = template_eval($template_sub_menu, $param);
-  }
-
-    return $$which;
-}
-
-function theme_admin_mode_menu()
-{
-    global $cat;
-    global $lang_gallery_admin_menu, $lang_user_admin_menu;
-    global $template_gallery_admin_menu, $template_user_admin_menu;
-    global $CONFIG;
-
-    $cat_l = isset($cat) ? "?cat=$cat" : '';
-
-    static $admin_menu = '';
-
-    // Populate the admin menu only if empty to avoid template errors
-    if ($admin_menu == '') {
-
-        if (GALLERY_ADMIN_MODE) {
-
-        if ($CONFIG['log_ecards'] == 0) {
-            template_extract_block($template_gallery_admin_menu, 'log_ecards');
-        }
-
-        if (cpg_get_pending_approvals() == 0) {
-             template_extract_block($template_gallery_admin_menu, 'admin_approval');
-        }
-
-            // do the docs exist on the webserver?
-            if (file_exists('docs/index.htm') == true) {
-                $documentation_href = 'docs/index.htm';
-            } else {
-                $documentation_href = 'http://coppermine-gallery.net/demo/cpg14x/docs/index.htm';
-            }
-            $param = array('{CATL}' => $cat_l,
-                '{UPL_APP_TITLE}' => $lang_gallery_admin_menu['upl_app_title'],
-                '{UPL_APP_LNK}' => $lang_gallery_admin_menu['upl_app_lnk'],
-                '{ADMIN_TITLE}' => $lang_gallery_admin_menu['admin_title'],
-                '{ADMIN_LNK}' => $lang_gallery_admin_menu['admin_lnk'],
-                '{ALBUMS_TITLE}' => $lang_gallery_admin_menu['albums_title'],
-                '{ALBUMS_LNK}' => $lang_gallery_admin_menu['albums_lnk'],
-                '{CATEGORIES_TITLE}' => $lang_gallery_admin_menu['categories_title'],
-                '{CATEGORIES_LNK}' => $lang_gallery_admin_menu['categories_lnk'],
-                '{USERS_TITLE}' => $lang_gallery_admin_menu['users_title'],
-                '{USERS_LNK}' => $lang_gallery_admin_menu['users_lnk'],
-                '{GROUPS_TITLE}' => $lang_gallery_admin_menu['groups_title'],
-                '{GROUPS_LNK}' => $lang_gallery_admin_menu['groups_lnk'],
-                '{COMMENTS_TITLE}' => $lang_gallery_admin_menu['comments_title'],
-                '{COMMENTS_LNK}' => $lang_gallery_admin_menu['comments_lnk'],
-                '{SEARCHNEW_TITLE}' => $lang_gallery_admin_menu['searchnew_title'],
-                '{SEARCHNEW_LNK}' => $lang_gallery_admin_menu['searchnew_lnk'],
-                '{MY_PROF_TITLE}' => $lang_user_admin_menu['my_prof_title'],
-                '{MY_PROF_LNK}' => $lang_user_admin_menu['my_prof_lnk'],
-                '{UTIL_TITLE}' => $lang_gallery_admin_menu['util_title'],
-                '{UTIL_LNK}' => $lang_gallery_admin_menu['util_lnk'],
-                '{BAN_TITLE}' => $lang_gallery_admin_menu['ban_title'],
-                '{BAN_LNK}' => $lang_gallery_admin_menu['ban_lnk'],
-                '{DB_ECARD_TITLE}' => $lang_gallery_admin_menu['db_ecard_title'],
-                '{DB_ECARD_LNK}' => $lang_gallery_admin_menu['db_ecard_lnk'],
-                '{PICTURES_TITLE}' => $lang_gallery_admin_menu['pictures_title'],
-                '{PICTURES_LNK}' => $lang_gallery_admin_menu['pictures_lnk'],
-                '{DOCUMENTATION_HREF}' => $documentation_href,
-                '{DOCUMENTATION_TITLE}' => $lang_gallery_admin_menu['documentation_title'],
-                '{DOCUMENTATION_LNK}' => $lang_gallery_admin_menu['documentation_lnk'],
-                );
-
-            $html = template_eval($template_gallery_admin_menu, $param);
-            $html.= cpg_alert_dev_version();
-        } elseif (USER_ADMIN_MODE) {
-            $param = array('{ALBMGR_TITLE}' => $lang_user_admin_menu['albmgr_title'],
-                '{ALBMGR_LNK}' => $lang_user_admin_menu['albmgr_lnk'],
-                '{MODIFYALB_TITLE}' => $lang_user_admin_menu['modifyalb_title'],
-                '{MODIFYALB_LNK}' => $lang_user_admin_menu['modifyalb_lnk'],
-                '{MY_PROF_TITLE}' => $lang_user_admin_menu['my_prof_title'],
-                '{MY_PROF_LNK}' => $lang_user_admin_menu['my_prof_lnk'],
-                '{PICTURES_TITLE}' => $lang_gallery_admin_menu['pictures_title'],
-                '{PICTURES_LNK}' => $lang_gallery_admin_menu['pictures_lnk'],
-                );
-
-            $html = template_eval($template_user_admin_menu, $param);
-        } else {
-            $html = '';
-        }
-
-        $admin_menu = $html;
-    }
-
-    return $admin_menu;
-}
-
-function theme_display_cat_list($breadcrumb, &$cat_data, $statistics)
-{
-    global $template_cat_list, $lang_cat_list;
-    if (count($cat_data) > 0) {
-        starttable('100%');
-        $template = template_extract_block($template_cat_list, 'header');
-        $params = array('{CATEGORY}' => $lang_cat_list['category'],
-            '{ALBUMS}' => $lang_cat_list['albums'],
-            '{PICTURES}' => $lang_cat_list['pictures'],
-            );
-        echo template_eval($template, $params);
-    }
-
-    $template_noabl = template_extract_block($template_cat_list, 'catrow_noalb');
-    $template = template_extract_block($template_cat_list, 'catrow');
-    foreach($cat_data as $category) {
-        if (!isset($category['cat_thumb'])) { $category['cat_thumb'] = ''; }
-        if (count($category) == 3) {
-            $params = array('{CAT_TITLE}' => $category[0],
-                    '{CAT_THUMB}' => $category['cat_thumb'],
-                '{CAT_DESC}' => $category[1]
-                );
-            echo template_eval($template_noabl, $params);
-        } elseif (isset($category['cat_albums']) && ($category['cat_albums'] != '')) {
-            $params = array('{CAT_TITLE}' => $category[0],
-                '{CAT_THUMB}' => $category['cat_thumb'],
-                '{CAT_DESC}' => $category[1],
-                '{CAT_ALBUMS}' => $category['cat_albums'],
-                '{ALB_COUNT}' => $category[2],
-                '{PIC_COUNT}' => $category[3],
-                );
-            echo template_eval($template, $params);
-        } else {
-            $params = array('{CAT_TITLE}' => $category[0],
-                '{CAT_THUMB}' => $category['cat_thumb'],
-                '{CAT_DESC}' => $category[1],
-                '{CAT_ALBUMS}' => '',
-                '{ALB_COUNT}' => $category[2],
-                '{PIC_COUNT}' => $category[3],
-                );
-            echo template_eval($template, $params);
-        }
-    }
-
-    if ($statistics && count($cat_data) > 0) {
-        $template = template_extract_block($template_cat_list, 'footer');
-        $params = array('{STATISTICS}' => $statistics);
-        echo template_eval($template, $params);
-    }
-
-
-    if (count($cat_data) > 0)
-          endtable();
-        echo template_extract_block($template_cat_list, 'spacer');
-}
-
-function theme_display_breadcrumb($breadcrumb, &$cat_data)
-{
-    /**
-     * ** added breadcrumb as a seperate element
-     */
-    global $template_breadcrumb, $lang_breadcrumb;
-
-    starttable('100%');
-    if ($breadcrumb) {
-        $template = template_extract_block($template_breadcrumb, 'breadcrumb');
-        $params = array('{BREADCRUMB}' => $breadcrumb
-            );
-        echo template_eval($template, $params);
-    }
-        endtable();
-}
-
-function theme_display_album_list(&$alb_list, $nbAlb, $cat, $page, $total_pages)
-{
-
-    global $CONFIG, $STATS_IN_ALB_LIST, $statistics, $template_tab_display, $template_album_list, $lang_album_list;
-
-    $theme_alb_list_tab_tmpl = $template_tab_display;
-
-    $theme_alb_list_tab_tmpl['left_text'] = strtr($theme_alb_list_tab_tmpl['left_text'], array('{LEFT_TEXT}' => $lang_album_list['album_on_page']));
-    $theme_alb_list_tab_tmpl['inactive_tab'] = strtr($theme_alb_list_tab_tmpl['inactive_tab'], array('{LINK}' => 'index.php?cat=' . $cat . '&amp;page=%d'));
-    $theme_alb_list_tab_tmpl['inactive_next_tab'] = strtr($theme_alb_list_tab_tmpl['inactive_next_tab'], array('{LINK}' => 'index.php?cat=' . $cat . '&amp;page=%d'));
-    $theme_alb_list_tab_tmpl['inactive_prev_tab'] = strtr($theme_alb_list_tab_tmpl['inactive_prev_tab'], array('{LINK}' => 'index.php?cat=' . $cat . '&amp;page=%d'));
-
-    $tabs = create_tabs($nbAlb, $page, $total_pages, $theme_alb_list_tab_tmpl);
-
-    $album_cell = template_extract_block($template_album_list, 'album_cell');
-    $empty_cell = template_extract_block($template_album_list, 'empty_cell');
-    $tabs_row = template_extract_block($template_album_list, 'tabs');
-    $stat_row = template_extract_block($template_album_list, 'stat_row');
-    $spacer = template_extract_block($template_album_list, 'spacer');
-    $header = template_extract_block($template_album_list, 'header');
-    $footer = template_extract_block($template_album_list, 'footer');
-    $rows_separator = template_extract_block($template_album_list, 'row_separator');
-
-    $count = 0;
-
-    $columns = $CONFIG['album_list_cols'];
-    $column_width = ceil(100 / $columns);
-    $thumb_cell_width = $CONFIG['alb_list_thumb_size'] + 2;
-
-    starttable('100%');
-
-    if ($STATS_IN_ALB_LIST) {
-        $params = array('{STATISTICS}' => $statistics,
-            '{COLUMNS}' => $columns,
-            );
-        echo template_eval($stat_row, $params);
-    }
-
-    echo $header;
-
-    if (is_array($alb_list)) {
-        foreach($alb_list as $album) {
-            $count ++;
-
-            $params = array('{COL_WIDTH}' => $column_width,
-                '{ALBUM_TITLE}' => $album['album_title'],
-                '{THUMB_CELL_WIDTH}' => $thumb_cell_width,
-                '{ALB_LINK_TGT}' => "thumbnails.php?album={$album['aid']}",
-                '{ALB_LINK_PIC}' => $album['thumb_pic'],
-                '{ADMIN_MENU}' => $album['album_adm_menu'],
-                '{ALB_DESC}' => $album['album_desc'],
-                '{ALB_INFOS}' => $album['album_info'],
-                );
-
-            echo template_eval($album_cell, $params);
-
-            if ($count % $columns == 0 && $count < count($alb_list)) {
-                echo $rows_separator;
-            }
-        }
-    }
-
-    $params = array('{COL_WIDTH}' => $column_width,
-          '{SPACER}' => $thumb_cell_width
-          );
-    $empty_cell = template_eval($empty_cell, $params);
-
-    while ($count++ % $columns != 0) {
-        echo $empty_cell;
-    }
-
-    echo $footer;
-    // Tab display
-    $params = array('{COLUMNS}' => $columns,
-        '{TABS}' => $tabs,
-        );
-    echo template_eval($tabs_row, $params);
-
-    endtable();
-
-    echo $spacer;
-}
-
-// Function to display first level Albums of a category
-function theme_display_album_list_cat(&$alb_list, $nbAlb, $cat, $page, $total_pages)
-{
-    global $CONFIG, $STATS_IN_ALB_LIST, $statistics, $template_tab_display, $template_album_list_cat, $lang_album_list;
-    if (!$CONFIG['first_level']) {
-        return;
-    }
-
-    $theme_alb_list_tab_tmpl = $template_tab_display;
-
-    $theme_alb_list_tab_tmpl['left_text'] = strtr($theme_alb_list_tab_tmpl['left_text'], array('{LEFT_TEXT}' => $lang_album_list['album_on_page']));
-    $theme_alb_list_tab_tmpl['inactive_tab'] = strtr($theme_alb_list_tab_tmpl['inactive_tab'], array('{LINK}' => 'index.php?cat=' . $cat . '&amp;page=%d'));
-
-    $tabs = create_tabs($nbAlb, $page, $total_pages, $theme_alb_list_tab_tmpl);
-    // echo $template_album_list_cat;
-    $template_album_list_cat1 = $template_album_list_cat;
-    $album_cell = template_extract_block($template_album_list_cat1, 'c_album_cell');
-    $empty_cell = template_extract_block($template_album_list_cat1, 'c_empty_cell');
-    $tabs_row = template_extract_block($template_album_list_cat1, 'c_tabs');
-    $stat_row = template_extract_block($template_album_list_cat1, 'c_stat_row');
-    $spacer = template_extract_block($template_album_list_cat1, 'c_spacer');
-    $header = template_extract_block($template_album_list_cat1, 'c_header');
-    $footer = template_extract_block($template_album_list_cat1, 'c_footer');
-    $rows_separator = template_extract_block($template_album_list_cat1, 'c_row_separator');
-
-    $count = 0;
-
-    $columns = $CONFIG['album_list_cols'];
-    $column_width = ceil(100 / $columns);
-    $thumb_cell_width = $CONFIG['alb_list_thumb_size'] + 2;
-
-    starttable('100%');
-
-    if ($STATS_IN_ALB_LIST) {
-        $params = array('{STATISTICS}' => $statistics,
-            '{COLUMNS}' => $columns,
-            );
-        echo template_eval($stat_row, $params);
-    }
-
-    echo $header;
-
-    if (is_array($alb_list)) {
-        foreach($alb_list as $album) {
-            $count ++;
-
-            $params = array('{COL_WIDTH}' => $column_width,
-                '{ALBUM_TITLE}' => $album['album_title'],
-                '{THUMB_CELL_WIDTH}' => $thumb_cell_width,
-                '{ALB_LINK_TGT}' => "thumbnails.php?album={$album['aid']}",
-                '{ALB_LINK_PIC}' => $album['thumb_pic'],
-                '{ADMIN_MENU}' => $album['album_adm_menu'],
-                '{ALB_DESC}' => $album['album_desc'],
-                '{ALB_INFOS}' => $album['album_info'],
-                );
-
-            echo template_eval($album_cell, $params);
-
-            if ($count % $columns == 0 && $count < count($alb_list)) {
-                echo $rows_separator;
-            }
-        }
-    }
-
-    $params = array('{COL_WIDTH}' => $column_width,
-          '{SPACER}' => $thumb_cell_width
-          );
-    $empty_cell = template_eval($empty_cell, $params);
-
-    while ($count++ % $columns != 0) {
-        echo $empty_cell;
-    }
-
-    echo $footer;
-    // Tab display
-    $params = array('{COLUMNS}' => $columns,
-        '{TABS}' => $tabs,
-        );
-    echo template_eval($tabs_row, $params);
-
-    endtable();
-
-    echo $spacer;
-}
-
-function theme_display_thumbnails(&$thumb_list, $nbThumb, $album_name, $aid, $cat, $page, $total_pages, $sort_options, $display_tabs, $mode = 'thumb')
-{
-    global $CONFIG;
-    global $template_thumb_view_title_row,$template_fav_thumb_view_title_row, $lang_thumb_view, $template_tab_display, $template_thumbnail_view, $lang_album_list;
-
-    static $header = '';
-    static $thumb_cell = '';
-    static $empty_cell = '';
-    static $row_separator = '';
-    static $footer = '';
-    static $tabs = '';
-    static $spacer = '';
-
-    if ($header == '') {
-        $thumb_cell = template_extract_block($template_thumbnail_view, 'thumb_cell');
-        $tabs = template_extract_block($template_thumbnail_view, 'tabs');
-        $header = template_extract_block($template_thumbnail_view, 'header');
-        $empty_cell = template_extract_block($template_thumbnail_view, 'empty_cell');
-        $row_separator = template_extract_block($template_thumbnail_view, 'row_separator');
-        $footer = template_extract_block($template_thumbnail_view, 'footer');
-        $spacer = template_extract_block($template_thumbnail_view, 'spacer');
-    }
-
-    $cat_link = is_numeric($aid) ? '' : '&amp;cat=' . $cat;
-    $uid_link = (isset($_GET['uid']) && is_numeric($_GET['uid'])) ? '&amp;uid=' . $_GET['uid'] : '';
-
-    $theme_thumb_tab_tmpl = $template_tab_display;
-
-    if ($mode == 'thumb') {
-        $theme_thumb_tab_tmpl['left_text'] = strtr($theme_thumb_tab_tmpl['left_text'], array('{LEFT_TEXT}' => $aid == 'lastalb' ? $lang_album_list['album_on_page'] : $lang_thumb_view['pic_on_page']));
-        $theme_thumb_tab_tmpl['inactive_tab'] = strtr($theme_thumb_tab_tmpl['inactive_tab'], array('{LINK}' => 'thumbnails.php?album=' . $aid . $cat_link . $uid_link . '&amp;page=%d'));
-        $theme_thumb_tab_tmpl['inactive_next_tab'] = strtr($theme_thumb_tab_tmpl['inactive_next_tab'], array('{LINK}' => 'thumbnails.php?album=' . $aid . $cat_link . $uid_link . '&amp;page=%d'));
-        $theme_thumb_tab_tmpl['inactive_prev_tab'] = strtr($theme_thumb_tab_tmpl['inactive_prev_tab'], array('{LINK}' => 'thumbnails.php?album=' . $aid . $cat_link . $uid_link . '&amp;page=%d'));
-    } else {
-        $theme_thumb_tab_tmpl['left_text'] = strtr($theme_thumb_tab_tmpl['left_text'], array('{LEFT_TEXT}' => $lang_thumb_view['user_on_page']));
-        $theme_thumb_tab_tmpl['inactive_tab'] = strtr($theme_thumb_tab_tmpl['inactive_tab'], array('{LINK}' => 'index.php?cat=' . $cat . '&amp;page=%d'));
-        $theme_thumb_tab_tmpl['inactive_next_tab'] = strtr($theme_thumb_tab_tmpl['inactive_next_tab'], array('{LINK}' => 'index.php?cat=' . $cat . '&amp;page=%d'));
-        $theme_thumb_tab_tmpl['inactive_prev_tab'] = strtr($theme_thumb_tab_tmpl['inactive_prev_tab'], array('{LINK}' => 'index.php?cat=' . $cat . '&amp;page=%d'));
-    }
-
-    $thumbcols = $CONFIG['thumbcols'];
-    $cell_width = ceil(100 / $CONFIG['thumbcols']) . '%';
-
-    $tabs_html = $display_tabs ? create_tabs($nbThumb, $page, $total_pages, $theme_thumb_tab_tmpl) : '';
-    // The sort order options are not available for meta albums
-    if ($sort_options) {
-        $param = array('{ALBUM_NAME}' => $album_name,
-            '{AID}' => $aid,
-            '{PAGE}' => $page,
-            '{NAME}' => $lang_thumb_view['name'],
-            '{TITLE}' => $lang_thumb_view['title'],
-            '{DATE}' => $lang_thumb_view['date'],
-            '{SORT_TA}' => $lang_thumb_view['sort_ta'],
-            '{SORT_TD}' => $lang_thumb_view['sort_td'],
-            '{SORT_NA}' => $lang_thumb_view['sort_na'],
-            '{SORT_ND}' => $lang_thumb_view['sort_nd'],
-            '{SORT_DA}' => $lang_thumb_view['sort_da'],
-            '{SORT_DD}' => $lang_thumb_view['sort_dd'],
-            '{POSITION}' => $lang_thumb_view['position'],
-            '{SORT_PA}' => $lang_thumb_view['sort_pa'],
-            '{SORT_PD}' => $lang_thumb_view['sort_pd'],
-            );
-        $title = template_eval($template_thumb_view_title_row, $param);
-    } else if ($aid == 'favpics' && $CONFIG['enable_zipdownload'] == 1) { //Lots of stuff can be added here later
-       $param = array('{ALBUM_NAME}' => $album_name,
-                             '{DOWNLOAD_ZIP}'=>$lang_thumb_view['download_zip']
-                               );
-       $title = template_eval($template_fav_thumb_view_title_row, $param);
-    }else{
-        $title = $album_name;
-    }
-
-
-    if ($mode == 'thumb') {
-        starttable('100%', $title, $thumbcols);
-    } else {
-        starttable('100%');
-    }
-
-    echo $header;
-
-    $i = 0;
-    foreach($thumb_list as $thumb) {
-        $i++;
-        if ($mode == 'thumb') {
-            if ($aid == 'lastalb') {
-                $params = array('{CELL_WIDTH}' => $cell_width,
-                    '{LINK_TGT}' => "thumbnails.php?album={$thumb['aid']}",
-                    '{THUMB}' => $thumb['image'],
-                    '{CAPTION}' => $thumb['caption'],
-                    '{ADMIN_MENU}' => $thumb['admin_menu']
-                    );
-            } else {
-                $params = array('{CELL_WIDTH}' => $cell_width,
-                    '{LINK_TGT}' => "displayimage.php?album=$aid$cat_link&amp;pos={$thumb['pos']}$uid_link",
-                    '{THUMB}' => $thumb['image'],
-                    '{CAPTION}' => $thumb['caption'],
-                    '{ADMIN_MENU}' => $thumb['admin_menu']
-                    );
-            }
-        } else {
-            $params = array('{CELL_WIDTH}' => $cell_width,
-                '{LINK_TGT}' => "index.php?cat={$thumb['cat']}",
-                '{THUMB}' => $thumb['image'],
-                '{CAPTION}' => $thumb['caption'],
-                '{ADMIN_MENU}' => ''
-                );
-        }
-        echo template_eval($thumb_cell, $params);
-
-        if ((($i % $thumbcols) == 0) && ($i < count($thumb_list))) {
-            echo $row_separator;
-        }
-    }
-    for (;($i % $thumbcols); $i++) {
-        echo $empty_cell;
-    }
-    echo $footer;
-
-    if ($display_tabs) {
-        $params = array('{THUMB_COLS}' => $thumbcols,
-            '{TABS}' => $tabs_html
-            );
-        echo template_eval($tabs, $params);
-    }
-
-    endtable();
-    echo $spacer;
-}
-
-// Added to display film_strip
-function theme_display_film_strip(&$thumb_list, $nbThumb, $album_name, $aid, $cat, $pos, $sort_options, $mode = 'thumb')
-{
-    global $CONFIG, $THEME_DIR;
-    global $template_film_strip, $lang_film_strip;
-
-    static $template = '';
-    static $thumb_cell = '';
-    static $empty_cell = '';
-    static $spacer = '';
-
-    if ((!$template)) {
-        $template = $template_film_strip;
-        $thumb_cell = template_extract_block($template, 'thumb_cell');
-        $empty_cell = template_extract_block($template, 'empty_cell');
-    }
-
-    $cat_link = is_numeric($aid) ? '' : '&amp;cat=' . $cat;
-    $uid_link = (isset($_GET['uid']) && is_numeric($_GET['uid'])) ? '&amp;uid=' . $_GET['uid'] : '';
-
-    $thumbcols = $CONFIG['thumbcols'];
-    $cell_width = ceil(100 / $CONFIG['max_film_strip_items']) . '%';
-
-    $i = 0;
-    $thumb_strip = '';
-    foreach($thumb_list as $thumb) {
-        $i++;
-        if ($mode == 'thumb') {
-            $params = array('{CELL_WIDTH}' => $cell_width,
-                '{LINK_TGT}' => "displayimage.php?album=$aid$cat_link&amp;pos={$thumb['pos']}$uid_link",
-                '{THUMB}' => $thumb['image'],
-                '{CAPTION}' => $thumb['caption'],
-                '{ADMIN_MENU}' => ''
-                );
-        } else {
-            $params = array('{CELL_WIDTH}' => $cell_width,
-                '{LINK_TGT}' => "index.php?cat={$thumb['cat']}",
-                '{THUMB}' => $thumb['image'],
-                '{CAPTION}' => '',
-                '{ADMIN_MENU}' => ''
-                );
-        }
-        $thumb_strip .= template_eval($thumb_cell, $params);
-    }
-
-    if (defined('THEME_HAS_FILM_STRIP_GRAPHICS')) {
-        $tile1 = $THEME_DIR . 'images/tile1.gif';
-        $tile2 = $THEME_DIR . 'images/tile2.gif';
-    } elseif (defined('THEME_HAS_FILM_STRIP_GRAPHIC')) {
-        $tile1=$tile2=$THEME_DIR . 'images/tile.gif';
-    } else {
-        $tile1=$tile2= 'images/tile.gif';
-    }
-
-    $params = array('{THUMB_STRIP}' => $thumb_strip,
-        '{COLS}' => $i,
-        '{TILE1}' => $tile1,
-        '{TILE2}' => $tile2,
-        );
-
-    ob_start();
-    starttable($CONFIG['picture_table_width']);
-    echo template_eval($template, $params);
-    endtable();
-    $film_strip = ob_get_contents();
-    ob_end_clean();
-
-    return $film_strip;
-}
-
-function theme_no_img_to_display($album_name)
-{
-    global $lang_errors, $template_no_img_to_display;
-
-    static $template = '';
-    static $spacer;
-
-    if ((!$template)) {
-        $template = $template_no_img_to_display;
-        $spacer = template_extract_block($template, 'spacer');
-    }
-
-    $params = array('{TEXT}' => $lang_errors['no_img_to_display']);
-    starttable('100%', $album_name);
-    echo template_eval($template, $params);
-    endtable();
-}
-
-function theme_display_image($nav_menu, $picture, $votes, $pic_info, $comments, $film_strip)
-{
-    global $CONFIG;
-
-    $width = $CONFIG['picture_table_width'];
-
-    starttable();
-    echo $nav_menu;
-    endtable();
-
-    starttable();
-    echo $picture;
-    endtable();
-    if ($CONFIG['display_film_strip'] == 1) {
-        echo $film_strip;
-    }
-
-
-    echo $votes;
-
-
-
-    $picinfo = isset($_COOKIE['picinfo']) ? $_COOKIE['picinfo'] : ($CONFIG['display_pic_info'] ? 'block' : 'none');
-    echo "<div id=\"picinfo\" style=\"display: $picinfo;\">\n";
-    starttable();
-    echo $pic_info;
-    endtable();
-    echo "</div>\n";
-
-    echo "<div id=\"comments\">\n";
-        echo $comments;
-        echo "</div>\n";
-
-}
-
-function theme_html_picinfo(&$info)
-{
-    global $lang_picinfo;
-
-    $html = '';
-
-    $html .= "        <tr><td colspan=\"2\" class=\"tableh2_compact\"><b>{$lang_picinfo['title']}</b></td></tr>\n";
-    $template = "        <tr><td class=\"tableb_compact\" valign=\"top\" >%s:</td><td class=\"tableb_compact\">%s</td></tr>\n";
-    foreach ($info as $key => $value) $html .= sprintf($template, $key, $value);
-
-    return $html;
-}
-
-// Displays a picture
-function theme_html_picture()
-{
-    global $CONFIG, $CURRENT_PIC_DATA, $CURRENT_ALBUM_DATA, $USER;
-    global $album, $comment_date_fmt, $template_display_media;
-    global $lang_display_image_php, $lang_picinfo;
-
-    $pid = $CURRENT_PIC_DATA['pid'];
-    $pic_title = '';
-
-    if (!isset($USER['liv']) || !is_array($USER['liv'])) {
-        $USER['liv'] = array();
-    }
-    // Add 1 to hit counter
-    if (!USER_IS_ADMIN && !in_array($pid, $USER['liv']) && isset($_COOKIE[$CONFIG['cookie_name'] . '_data'])) {
-        add_hit($pid);
-        if (count($USER['liv']) > 4) array_shift($USER['liv']);
-        array_push($USER['liv'], $pid);
-    }
-
-    if($CONFIG['thumb_use']=='ht' && $CURRENT_PIC_DATA['pheight'] > $CONFIG['picture_width'] ){ // The wierd comparision is because only picture_width is stored
-      $condition = true;
-    }elseif($CONFIG['thumb_use']=='wd' && $CURRENT_PIC_DATA['pwidth'] > $CONFIG['picture_width']){
-      $condition = true;
-    }elseif($CONFIG['thumb_use']=='any' && max($CURRENT_PIC_DATA['pwidth'], $CURRENT_PIC_DATA['pheight']) > $CONFIG['picture_width']){
-      $condition = true;
-    }else{
-     $condition = false;
-    }
-
-    if ($CURRENT_PIC_DATA['title'] != '') {
-        $pic_title .= $CURRENT_PIC_DATA['title'] . "\n";
-    }
-    if ($CURRENT_PIC_DATA['caption'] != '') {
-        $pic_title .= $CURRENT_PIC_DATA['caption'] . "\n";
-    }
-    if ($CURRENT_PIC_DATA['keywords'] != '') {
-        $pic_title .= $lang_picinfo['Keywords'] . ": " . $CURRENT_PIC_DATA['keywords'];
-    }
-
-    if (!$CURRENT_PIC_DATA['title'] && !$CURRENT_PIC_DATA['caption']) {
-        template_extract_block($template_display_media, 'img_desc');
-    } else {
-        if (!$CURRENT_PIC_DATA['title']) {
-            template_extract_block($template_display_media, 'title');
-        }
-        if (!$CURRENT_PIC_DATA['caption']) {
-            template_extract_block($template_display_media, 'caption');
-        }
-    }
-
-    $CURRENT_PIC_DATA['menu'] = html_picture_menu(); //((USER_ADMIN_MODE && $CURRENT_ALBUM_DATA['category'] == FIRST_USER_CAT + USER_ID) || ($CONFIG['users_can_edit_pics'] && $CURRENT_PIC_DATA['owner_id'] == USER_ID && USER_ID != 0) || GALLERY_ADMIN_MODE) ? html_picture_menu($pid) : '';
-
-    if ($CONFIG['make_intermediate'] && $condition ) {
-        $picture_url = get_pic_url($CURRENT_PIC_DATA, 'normal');
-    } else {
-        $picture_url = get_pic_url($CURRENT_PIC_DATA, 'fullsize');
-    }
-
-    $image_size = compute_img_size($CURRENT_PIC_DATA['pwidth'], $CURRENT_PIC_DATA['pheight'], $CONFIG['picture_width']);
-
-    $pic_title = '';
-    $mime_content = cpg_get_type($CURRENT_PIC_DATA['filename']);
-
-
-    if ($mime_content['content']=='movie' || $mime_content['content']=='audio') {
-
-        if ($CURRENT_PIC_DATA['pwidth']==0 || $CURRENT_PIC_DATA['pheight']==0) {
-            $CURRENT_PIC_DATA['pwidth']  = 320; // Default width
-
-            // Set default height; if file is a movie
-            if ($mime_content['content']=='movie') {
-                $CURRENT_PIC_DATA['pheight'] = 240; // Default height
-            }
-        }
-
-        $ctrl_offset['mov']=15;
-        $ctrl_offset['wmv']=45;
-        $ctrl_offset['swf']=0;
-        $ctrl_offset['rm']=0;
-        $ctrl_offset_default=45;
-        $ctrl_height = (isset($ctrl_offset[$mime_content['extension']]))?($ctrl_offset[$mime_content['extension']]):$ctrl_offset_default;
-        $image_size['whole']='width="'.$CURRENT_PIC_DATA['pwidth'].'" height="'.($CURRENT_PIC_DATA['pheight']+$ctrl_height).'"';
-    }
-
-    if ($mime_content['content']=='image') {
-        if (isset($image_size['reduced'])) {
-            $winsizeX = $CURRENT_PIC_DATA['pwidth']+5;  //the +'s are the mysterious FF and IE paddings
-            $winsizeY = $CURRENT_PIC_DATA['pheight']+3; //the +'s are the mysterious FF and IE paddings
-            $pic_html = "<a href=\"javascript:;\" onclick=\"MM_openBrWindow('displayimage.php?pid=$pid&amp;fullsize=1','" . uniqid(rand()) . "','scrollbars=yes,toolbar=no,status=no,resizable=yes,width=$winsizeX,height=$winsizeY')\">";
-            $pic_title = $lang_display_image_php['view_fs'] . "\n==============\n" . $pic_title;
-            $pic_html .= "<img src=\"" . $picture_url . "\" class=\"image\" border=\"0\" alt=\"{$lang_display_image_php['view_fs']}\" /><br />";
-            $pic_html .= "</a>\n";
-        } else {
-            $pic_html = "<img src=\"" . $picture_url . "\" {$image_size['geom']} class=\"image\" border=\"0\" alt=\"\" /><br />\n";
-        }
-    } elseif ($mime_content['content']=='document') {
-        $pic_thumb_url = get_pic_url($CURRENT_PIC_DATA,'thumb');
-        $pic_html = "<a href=\"{$picture_url}\" target=\"_blank\" class=\"document_link\"><img src=\"".$pic_thumb_url."\" border=\"0\" class=\"image\" /></a>\n<br />";
-    } else {
-        $autostart = ($CONFIG['media_autostart']) ? ('true'):('false');
-
-        $players['WMP'] = array('id' => 'MediaPlayer',
-                                'clsid' => 'classid="clsid:22D6F312-B0F6-11D0-94AB-0080C74C7E95" ',
-                                'codebase' => 'codebase="http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=6,4,7,1112" ',
-                                'mime' => 'type="application/x-mplayer2" ',
-                               );
-        $players['RMP'] = array('id' => 'RealPlayer',
-                                'clsid' => 'classid="clsid:CFCDAA03-8BE4-11cf-B84B-0020AFBBCCFA" ',
-                                'codebase' => '',
-                                'mime' => 'type="audio/x-pn-realaudio-plugin" '
-                               );
-        $players['QT']  = array('id' => 'QuickTime',
-                                'clsid' => 'classid="clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B" ',
-                                'codebase' => 'codebase="http://www.apple.com/qtactivex/qtplugin.cab" ',
-                                'mime' => 'type="video/x-quicktime" '
-                               );
-        $players['SWF'] = array('id' => 'SWFlash',
-                                'clsid' => ' classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" ',
-                                'codebase' => 'codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" ',
-                                'mime' => 'type="application/x-shockwave-flash" '
-                               );
-        $players['UNK'] = array('id' => 'DefaultPlayer',
-                                'clsid' => '',
-                                'codebase' => '',
-                                'mime' => ''
-                               );
-
-        if (isset($_COOKIE[$CONFIG['cookie_name'].'_'.$mime_content['extension'].'player'])) {
-            $user_player = $_COOKIE[$CONFIG['cookie_name'].'_'.$mime_content['extension'].'player'];
-        } else {
-            $user_player = $mime_content['player'];
-        }
-
-                // There isn't a player selected or user wants client-side control
-        if (!$user_player) {
-            $user_player = 'UNK';
-        }
-
-        $player = $players[$user_player];
-
-        $pic_html  = '<object id="'.$player['id'].'" '.$player['clsid'].$player['codebase'].$player['mime'].$image_size['whole'].'>';
-        $pic_html .= "<param name=\"autostart\" value=\"$autostart\" /><param name=\"src\" value=\"". $picture_url . "\" />";
-        $pic_html .= '<embed '.$image_size['whole'].' src="'. $picture_url . '" autostart="'.$autostart.'" '.$player['mime'].'></embed>';
-        $pic_html .= "</object><br />\n";
-    }
-
-    $CURRENT_PIC_DATA['html'] = $pic_html;
-    $CURRENT_PIC_DATA['header'] = '';
-    $CURRENT_PIC_DATA['footer'] = '';
-
-    $CURRENT_PIC_DATA = CPGPluginAPI::filter('file_data',$CURRENT_PIC_DATA);
-
-    $params = array('{CELL_HEIGHT}' => '100',
-        '{IMAGE}' => $CURRENT_PIC_DATA['header'].$CURRENT_PIC_DATA['html'].$CURRENT_PIC_DATA['footer'],
-        '{ADMIN_MENU}' => $CURRENT_PIC_DATA['menu'],
-        '{TITLE}' => bb_decode($CURRENT_PIC_DATA['title']),
-        '{CAPTION}' => bb_decode($CURRENT_PIC_DATA['caption']),
-        );
-
-    return template_eval($template_display_media, $params);
-}
-
-function theme_html_img_nav_menu()
-{
-    global $CONFIG, $CURRENT_PIC_DATA, $meta_nav, $THEME_DIR ; //$PHP_SELF,
-    global $album, $cat, $pos, $pic_count, $lang_img_nav_bar, $lang_text_dir, $template_img_navbar;
-
-    $cat_link = is_numeric($album) ? '' : '&amp;cat=' . $cat;
-    $uid_link = (isset($_GET['uid']) && is_numeric($_GET['uid'])) ? '&amp;uid=' . $_GET['uid'] : '';
-
-    $human_pos = $pos + 1;
-    $page = ceil(($pos + 1) / ($CONFIG['thumbrows'] * $CONFIG['thumbcols']));
-    $pid = $CURRENT_PIC_DATA['pid'];
-    $linebreak = "\r\n";
-
-    $start = 0;
-        $start_tgt = "{$_SERVER['PHP_SELF']}?album=$album$cat_link&amp;pos=$start";
-        $start_title = $lang_img_nav_bar['go_album_start'];
-        $meta_nav .= $linebreak . "<link rel=\"start\" href=\"$start_tgt\" title=\"$start_title\" />";
-        $end = $pic_count - 1;
-        $end_tgt = "{$_SERVER['PHP_SELF']}?album=$album$cat_link&amp;pos=$end";
-        $end_title = $lang_img_nav_bar['go_album_end'];
-        $meta_nav .= $linebreak . "<link rel=\"last\" href=\"$end_tgt\" title=\"$end_title\" />";
-
-    if ($pos > 0) {
-        $prev = $pos - 1;
-        $prev_tgt = "{$_SERVER['PHP_SELF']}?album=$album$cat_link&amp;pos=$prev$uid_link";
-        $prev_title = $lang_img_nav_bar['prev_title'];
-        $meta_nav .= $linebreak . "<link rel=\"prev\" href=\"$prev_tgt\" title=\"$prev_title\" />";
-    } else {
-        $prev_tgt = "javascript:;";
-        $prev_title = "";
-    }
-
-    if ($pos < ($pic_count -1)) {
-        $next = $pos + 1;
-        $next_tgt = "{$_SERVER['PHP_SELF']}?album=$album$cat_link&amp;pos=$next$uid_link";
-        $next_title = $lang_img_nav_bar['next_title'];
-        $meta_nav .= $linebreak . "<link rel=\"next\" href=\"$next_tgt\" title=\"$next_title\"/>";
-    } else {
-        $next_tgt = "javascript:;";
-        $next_title = "";
-    }
-
-    if (USER_CAN_SEND_ECARDS) {
-        $ecard_tgt = "ecard.php?album=$album$cat_link&amp;pid=$pid&amp;pos=$pos";
-        $ecard_title = $lang_img_nav_bar['ecard_title'];
-    } else {
-        template_extract_block($template_img_navbar, 'ecard_button'); // added to remove button if cannot send ecard
-    }
-
-    //report to moderator buttons
-    $report_tgt = '';
-    if (($CONFIG['report_post']==1) && (USER_CAN_SEND_ECARDS)) {
-        $report_tgt = "report_file.php?album=$album$cat_link&amp;pid=$pid&amp;pos=$pos";
-    } else { // remove button if report toggle is off
-        template_extract_block($template_img_navbar, 'report_file_button');
-
-    }
-
-    $thumb_tgt = "thumbnails.php?album=$album$cat_link&amp;page=$page$uid_link";
-    $meta_nav .= $linebreak . "<link rel=\"up\" href=\"$thumb_tgt\" title=\"".$lang_img_nav_bar['thumb_title']."\"/>";
-
-    $slideshow_tgt = "{$_SERVER['PHP_SELF']}?album=$album$cat_link$uid_link&amp;pid=$pid&amp;slideshow=".$CONFIG['slideshow_interval'];
-
-    $pic_pos = sprintf($lang_img_nav_bar['pic_pos'], $human_pos, $pic_count);
-
-    if (defined('THEME_HAS_NAVBAR_GRAPHICS')) {
-            $location= $THEME_DIR;
-        } else {
-            $location= '';
-        }
-
-    $params = array('{THUMB_TGT}' => $thumb_tgt,
-        '{THUMB_TITLE}' => $lang_img_nav_bar['thumb_title'],
-        '{PIC_INFO_TITLE}' => $lang_img_nav_bar['pic_info_title'],
-        '{SLIDESHOW_TGT}' => $slideshow_tgt,
-        '{SLIDESHOW_TITLE}' => $lang_img_nav_bar['slideshow_title'],
-        '{PIC_POS}' => $pic_pos,
-        '{ECARD_TGT}' => $ecard_tgt,
-        '{ECARD_TITLE}' => $ecard_title,
-        '{PREV_TGT}' => $prev_tgt,
-        '{PREV_TITLE}' => $prev_title,
-        '{NEXT_TGT}' => $next_tgt,
-        '{NEXT_TITLE}' => $next_title,
-        '{PREV_IMAGE}' => ($lang_text_dir=='ltr') ? 'prev' : 'next',
-        '{NEXT_IMAGE}' => ($lang_text_dir=='ltr') ? 'next' : 'prev',
-        '{REPORT_TGT}' => $report_tgt,
-        '{REPORT_TITLE}' => $lang_img_nav_bar['report_title'],
-        '{LOCATION}' => $location,
-        );
-
-    return template_eval($template_img_navbar, $params);
-}
-
-function theme_html_rating_box()
-{
-    global $CONFIG, $CURRENT_PIC_DATA, $CURRENT_ALBUM_DATA, $THEME_DIR;
-    global $template_image_rating, $lang_rate_pic;
-
-    if (!(USER_CAN_RATE_PICTURES && $CURRENT_ALBUM_DATA['votes'] == 'YES')) return '';
-
-    $votes = $CURRENT_PIC_DATA['votes'] ? sprintf($lang_rate_pic['rating'], round($CURRENT_PIC_DATA['pic_rating'] / 2000, 1), $CURRENT_PIC_DATA['votes']) : $lang_rate_pic['no_votes'];
-    $pid = $CURRENT_PIC_DATA['pid'];
-
-    if (defined('THEME_HAS_RATING_GRAPHICS')) {
-        $location= $THEME_DIR;
-    } else {
-        $location= '';
-    }
-
-    $params = array('{TITLE}' => $lang_rate_pic['rate_this_pic'],
-        '{VOTES}' => $votes,
-        '{RATE0}' => "ratepic.php?pic=$pid&amp;rate=0",
-        '{RATE1}' => "ratepic.php?pic=$pid&amp;rate=1",
-        '{RATE2}' => "ratepic.php?pic=$pid&amp;rate=2",
-        '{RATE3}' => "ratepic.php?pic=$pid&amp;rate=3",
-        '{RATE4}' => "ratepic.php?pic=$pid&amp;rate=4",
-        '{RATE5}' => "ratepic.php?pic=$pid&amp;rate=5",
-        '{RUBBISH}' => $lang_rate_pic['rubbish'],
-        '{POOR}' => $lang_rate_pic['poor'],
-        '{FAIR}' => $lang_rate_pic['fair'],
-        '{GOOD}' => $lang_rate_pic['good'],
-        '{EXCELLENT}' => $lang_rate_pic['excellent'],
-        '{GREAT}' => $lang_rate_pic['great'],
-        '{WIDTH}' => $CONFIG['picture_table_width'],
-        '{LOCATION}' => $location,        //theme dir or default images directory
-        );
-
-    return template_eval($template_image_rating, $params);
-}
-
-// Displays comments for a specific picture
-function theme_html_comments($pid)
-{
-    global $CONFIG, $USER, $CURRENT_ALBUM_DATA, $comment_date_fmt, $HTML_SUBST;
-    global $template_image_comments, $template_add_your_comment, $lang_display_comments;
-
-    $html = '';
-
-    //report to moderator buttons
-    if (!(($CONFIG['report_post']==1) && (USER_CAN_SEND_ECARDS))) {
-        template_extract_block($template_image_comments, 'report_comment_button');
-    }
-
-    if (!$CONFIG['enable_smilies']) {
-        $tmpl_comment_edit_box = template_extract_block($template_image_comments, 'edit_box_no_smilies', '{EDIT}');
-        template_extract_block($template_image_comments, 'edit_box_smilies');
-        template_extract_block($template_add_your_comment, 'input_box_smilies');
-    } else {
-        $tmpl_comment_edit_box = template_extract_block($template_image_comments, 'edit_box_smilies', '{EDIT}');
-        template_extract_block($template_image_comments, 'edit_box_no_smilies');
-        template_extract_block($template_add_your_comment, 'input_box_no_smilies');
-    }
-
-    $tmpl_comments_buttons = template_extract_block($template_image_comments, 'buttons', '{BUTTONS}');
-    $tmpl_comments_ipinfo = template_extract_block($template_image_comments, 'ipinfo', '{IPINFO}');
-
-    if ($CONFIG['comments_sort_descending'] == 1) {
-        $comment_sort_order = 'DESC';
-    } else {
-        $comment_sort_order = 'ASC';
-    }
-    $result = cpg_db_query("SELECT msg_id, msg_author, msg_body, UNIX_TIMESTAMP(msg_date) AS msg_date, author_id, author_md5_id, msg_raw_ip, msg_hdr_ip, pid FROM {$CONFIG['TABLE_COMMENTS']} WHERE pid='$pid' ORDER BY msg_id $comment_sort_order");
-
-    while ($row = mysql_fetch_array($result)) {
-        $user_can_edit = (GALLERY_ADMIN_MODE) || (USER_ID && USER_ID == $row['author_id'] && USER_CAN_POST_COMMENTS) || (!USER_ID && USER_CAN_POST_COMMENTS && ($USER['ID'] == $row['author_md5_id']));
-        $comment_buttons = $user_can_edit ? $tmpl_comments_buttons : '';
-        $comment_edit_box = $user_can_edit ? $tmpl_comment_edit_box : '';
-        $comment_ipinfo = ($row['msg_raw_ip'] && GALLERY_ADMIN_MODE)?$tmpl_comments_ipinfo : '';
-
-        if ($CONFIG['enable_smilies']) {
-            $comment_body = process_smilies(make_clickable($row['msg_body']));
-            $smilies = generate_smilies("f{$row['msg_id']}", 'msg_body');
-        } else {
-            $comment_body = make_clickable($row['msg_body']);
-            $smilies = '';
-        }
-
-        $ip = $row['msg_hdr_ip'];
-        if ($row['msg_hdr_ip'] != $row['msg_raw_ip']) {
-            $ip .= ' [' . $row['msg_raw_ip'] . ']';
-        }
-
-        $params = array('{EDIT}' => &$comment_edit_box,
-            '{BUTTONS}' => &$comment_buttons,
-            '{IPINFO}' => &$comment_ipinfo
-            );
-
-        $template = template_eval($template_image_comments, $params);
-
-        $params = array('{MSG_AUTHOR}' => stripslashes($row['msg_author']),
-            '{MSG_ID}' => $row['msg_id'],
-            '{PID}' => $row['pid'],
-            '{EDIT_TITLE}' => &$lang_display_comments['edit_title'],
-            '{CONFIRM_DELETE}' => &$lang_display_comments['confirm_delete'],
-            '{MSG_DATE}' => localised_date($row['msg_date'], $comment_date_fmt),
-            '{MSG_BODY}' => bb_decode($comment_body),
-            '{MSG_BODY_RAW}' => $row['msg_body'],
-            '{OK}' => &$lang_display_comments['OK'],
-            '{SMILIES}' => $smilies,
-            '{IP}' => $ip,
-            '{REPORT_COMMENT_TITLE}' => &$lang_display_comments['report_comment_title'],
-            '{WIDTH}' => $CONFIG['picture_table_width']
-            );
-
-        $html .= template_eval($template, $params);
-    }
-
-    if (USER_CAN_POST_COMMENTS && $CURRENT_ALBUM_DATA['comments'] == 'YES') {
-        if (USER_ID) {
-            $user_name_input = '<tr><td><input type="hidden" name="msg_author" value="' . stripslashes(USER_NAME) . '" /></td>';
-            template_extract_block($template_add_your_comment, 'user_name_input', $user_name_input);
-            $user_name = '';
-        } else {
-            if (isset($USER['name'])) {
-              $user_name = strtr($USER['name'], $HTML_SUBST);
-            } else {
-              $user_name = $lang_display_comments['your_name'];
-            }
-
-        }
-
-        $params = array('{ADD_YOUR_COMMENT}' => $lang_display_comments['add_your_comment'],
-            // Modified Name and comment field
-            '{NAME}' => $lang_display_comments['name'],
-            '{COMMENT}' => $lang_display_comments['comment'],
-            '{PIC_ID}' => $pid,
-            '{USER_NAME}' => $user_name,
-            '{MAX_COM_LENGTH}' => $CONFIG['max_com_size'],
-            '{OK}' => $lang_display_comments['OK'],
-            '{SMILIES}' => '',
-            '{WIDTH}' => $CONFIG['picture_table_width'],
-            );
-
-        if ($CONFIG['enable_smilies']){
-                        $params['{SMILIES}'] = generate_smilies();
-                } else {
-                        template_extract_block($template_add_your_comment, 'smilies');
-                }
-
-        $html .= template_eval($template_add_your_comment, $params);
-    }
-
-    return $html;
-}
-
-function theme_slideshow()
-{
-    global $CONFIG, $lang_display_image_php, $template_display_media;
-
-    pageheader($lang_display_image_php['slideshow']);
-
-    include "include/slideshow.inc.php";
-
-    $start_slideshow = '<script language="JavaScript" type="text/JavaScript">runSlideShow()</script>';
-    template_extract_block($template_display_media, 'img_desc', $start_slideshow);
-
-    $params = array('{CELL_HEIGHT}' => $CONFIG['picture_width'] + 100,
-        '{IMAGE}' => '<img src="' . $start_img . '" name="SlideShow" class="image" /><br />',
-        '{ADMIN_MENU}' => '',
-        );
-
-    starttable();
-    echo template_eval($template_display_media, $params);
-    endtable();
-    starttable();
-    echo <<<EOT
-        <tr>
-                <td align="center" class="navmenu" style="white-space: nowrap;">
-                        <a href="javascript:endSlideShow()" class="navmenu">{$lang_display_image_php['stop_slideshow']}</a>
-                </td>
-        </tr>
-
-EOT;
-    endtable();
-    pagefooter();
-}
-
-// Display the full size image
-function theme_display_fullsize_pic()
-{
-    global $CONFIG, $THEME_DIR, $ALBUM_SET;
-    global $lang_errors, $lang_fullsize_popup, $lang_charset;
-
-    if (isset($_GET['picfile']))
-    {
-        if (!GALLERY_ADMIN_MODE) cpg_die(ERROR, $lang_errors['access_denied'], __FILE__, __LINE__);
-
-    $picfile = $_GET['picfile'];
-    $picname = $CONFIG['fullpath'] . $picfile;
-    $imagesize = @getimagesize($picname);
-    $imagedata = array('name' => $picfile, 'path' => path2url($picname), 'geometry' => $imagesize[3]);
-    }
-    elseif (isset($_GET['pid']))
-    {
-    $pid = (int)$_GET['pid'];
-    $sql = "SELECT * " . "FROM {$CONFIG['TABLE_PICTURES']} " . "WHERE pid='$pid' $ALBUM_SET";
-    $result = cpg_db_query($sql);
-
-    if (!mysql_num_rows($result)) cpg_die(ERROR, $lang_errors['non_exist_ap'], __FILE__, __LINE__);
-
-    $row = mysql_fetch_array($result);
-    $pic_url = get_pic_url($row, 'fullsize');
-    $geom = 'width="' . $row['pwidth'] . '" height="' . $row['pheight'] . '"';
-    $imagedata = array('name' => $row['filename'], 'path' => $pic_url, 'geometry' => $geom);
-    }
-
-?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
-<html>
-  <head>
-  <meta http-equiv="content-type" content="text/html; charset=<?php echo $CONFIG['charset'] == 'language file' ? $lang_charset : $CONFIG['charset'] ?>" />
-  <title><?php echo $CONFIG['gallery_name'] ?>: <?php echo $lang_fullsize_popup['click_to_close'];
-      ?></title>
-  <script type="text/javascript" src="scripts.js"></script>
-  <style type="text/css">
-  body { margin: 0; padding: 0; background-color: gray; }
-  img { margin:0; padding:0; border:0; }
-  #content { margin:0 auto; padding:0; border:0; }
-  table { border:0; height:100%; width:100%; border-collapse:collapse}
-  td {         vertical-align: middle; text-align:center; }
-  </style>
-  </head>
-  <body>
-    <script language="JavaScript" type="text/JavaScript">
-      adjust_popup();
-    </script>
-    <table>
-      <tr>
-            <td>
-          <div id="content">
-              <?php     echo  '<a href="javascript: window.close()"><img src="'
-                . htmlspecialchars($imagedata['path']) . '" '
-                . $imagedata['geometry']
-                . 'alt="'
-                . htmlspecialchars($imagedata['name'])
-                . '" title="'
-                . htmlspecialchars($imagedata['name'])
-                . "\n" . $lang_fullsize_popup['click_to_close']
-                . '" /></a><br />' ."\n";
-               ?>
-          </div>
-        </td>
-      </tr>
-    </table>
-  </body>
-</html>
-<?php
-}
-
-function theme_vanity()
-{
-    global $CONFIG, $THEME_DIR, $template_vanity ;
-
-    if (defined('THEME_HAS_VANITY_GRAPHICS')) {
-            $location= $THEME_DIR;
-        } else {
-            $location= '';
-        }
-
-    $params = array('{LOCATION}' => $location);
-
-    return template_eval($template_vanity, $params);
-}
-
-// Function to display messages which are shown only to admin
-function adminmessages()
-{
-    global $register_globals_flag, $lang_errors;
-    // If user is not admin (and in admin mode), then return
-    if (!GALLERY_ADMIN_MODE) {
-        return;
-    }
-    // If register_globals is On, then show the warning message.
-    if ($register_globals_flag == true) {
-        if ($lang_errors['register_globals_on'] != '') {
-            $message = $lang_errors['register_globals_on'];
-        } else {
-            $message = 'The PHP setting register_globals is enabled on your server, which is a bad idea in terms of security. It\'s strongly recommended to turn it off. [<a href="http://forum.coppermine-gallery.net/index.php/topic,59569.0.html" rel="external" class="external">more</a>]';
-        }
-        echo '<div style="padding:5px;color:#ff0000;font-weight:bold;font-size:120%;text-align:center;">' . $message . '</div>';
-    }
-}
-?>
+<?php
+/*************************
+  Coppermine Photo Gallery
+  ************************
+  Copyright (c) 2003-2009 Coppermine Dev Team
+  v1.1 originally written by Gregory DEMAR
+
+  This program is free software; you can redistribute it and/or modify
+  it under the terms of the GNU General Public License version 3
+  as published by the Free Software Foundation.
+  
+  ********************************************
+  Coppermine version: 1.4.25
+  $HeadURL: https://coppermine.svn.sourceforge.net/svnroot/coppermine/trunk/cpg1.4.x/themes/sample/theme.php $
+  $Revision: 5997 $
+  $Author: gaugau $
+  $Date: 2009-05-26 08:43:24 +0200 (Di, 26 Mai 2009) $
+**********************************************/
+
+// ------------------------------------------------------------------------- //
+// This theme has all CORE items that are available                          //
+// ------------------------------------------------------------------------- //
+
+// The following terms can be defined in theme.php
+// ('THEME_HAS_RATING_GRAPHICS', 1) : The location for the ratings graphics will
+//    be directed to the themes images folder.
+//    RUBBISH   : images/rating0.gif
+//    POOR      : images/rating1.gif
+//    FAIR      : images/rating2.gif
+//    GOOD      : images/rating3.gif
+//    EXCELLENT : images/rating4.gif
+//    GREAT     : images/rating5.gif
+//('THEME_HAS_NAVBAR_GRAPHICS', 1); : The location for the navbar graphics will
+//    be directed to the themes images folder.
+//    Back to thumbnails   : images/thumbnails.gif
+//    Picture Information  : images/info.gif
+//    Slideshow            : images/slideshow.gif
+//    Report to admin      : images/report.gif
+//    Ecard                : images/ecard.gif
+//    Previous             : images/prev.gif
+//    Next                 : images/next.gif
+// ('THEME_HAS_FILM_STRIP_GRAPHIC', 1) : The location for the film strip graphics will
+//    be directed to the themes images folder.
+//    tile                 : images/tile.gif
+// ('THEME_HAS_FILM_STRIP_GRAPHICS', 1) : The location for the film strip graphics will
+//    be directed to the themes images folder.
+//    tile on the top      : images/tile1.gif
+//    tile on the bottom   : images/tile2.gif
+//  ('THEME_HAS_NO_SYS_MENU_BUTTONS', 1) : When present the system won't attempt to replace {BUTTONS} in the SYS_MENU template
+//    The entire block needs to be present like in Coppermine 1.3 themes
+//  ('THEME_HAS_NO_SUB_MENU_BUTTONS', 1) When present the system won't attempt to replace {BUTTONS} in the SUB_MENU template
+//    The entire block needs to be present like in Coppermine 1.3 themes
+//  ('THEME_IS_XHTML10_TRANSITIONAL',1) : If theme is defined as XHTML10_TRANSITIONAL the VANITY footer will be enabled
+//    if the theme has a {VANITY} token in its template.html. Don't enable this if you have modified the code! See the
+//    docs/theme.html documentation for validation methodology.
+
+// Creates buttons from a template using an array of tokens
+// this function is used in this file it needs to be declared before being called.
+function assemble_template_buttons($template_buttons,$buttons) {
+    $counter=0;
+    $output='';
+
+    foreach ($buttons as $button)  {
+      if (isset($button[4])) {
+         $spacer=$button[4];
+      } else {
+      $spacer='';
+      }
+
+        $params = array(
+            '{SPACER}'     => $spacer,
+            '{BLOCK_ID}'   => $button[3],
+            '{HREF_TGT}'   => $button[2],
+            '{HREF_TITLE}' => $button[1],
+            '{HREF_LNK}'   => $button[0]
+            );
+        $output.=template_eval($template_buttons, $params);
+    }
+    return $output;
+}
+
+
+// Creates an array of tokens to be used with function assemble_template_buttons
+// this function is used in this file it needs to be declared before being called.
+function addbutton(&$menu,$href_lnk,$href_title,$href_tgt,$block_id,$spacer) {
+  $menu[]=array($href_lnk,$href_title,$href_tgt,$block_id,$spacer);
+}
+
+
+// HTML template for sys_menu
+$template_sys_menu = <<<EOT
+          {BUTTONS}
+EOT;
+
+// HTML template for sub_menu
+$template_sub_menu = $template_sys_menu;
+
+if (!defined('THEME_HAS_NO_SYS_MENU_BUTTONS')) {
+
+  // HTML template for template sys_menu spacer
+  $template_sys_menu_spacer ="::";
+
+  // HTML template for template sys_menu buttons
+  $template_sys_menu_button = <<<EOT
+  <!-- BEGIN {BLOCK_ID} -->
+        <a href="{HREF_TGT}" title="{HREF_TITLE}">{HREF_LNK}</a> {SPACER}
+  <!-- END {BLOCK_ID} -->
+EOT;
+
+  // HTML template for template sys_menu buttons
+    // {HREF_LNK}{HREF_TITLE}{HREF_TGT}{BLOCK_ID}{SPACER}
+    addbutton($sys_menu_buttons,'{HOME_LNK}','{HOME_TITLE}','{HOME_TGT}','home',$template_sys_menu_spacer);
+    addbutton($sys_menu_buttons,'{MY_GAL_LNK}','{MY_GAL_TITLE}','{MY_GAL_TGT}','my_gallery',$template_sys_menu_spacer);
+    addbutton($sys_menu_buttons,'{MEMBERLIST_LNK}','{MEMBERLIST_TITLE}','{MEMBERLIST_TGT}','allow_memberlist',$template_sys_menu_spacer);
+    addbutton($sys_menu_buttons,'{MY_PROF_LNK}','{MY_PROF_TITLE}','{MY_PROF_TGT}','my_profile',$template_sys_menu_spacer);
+    addbutton($sys_menu_buttons,'{ADM_MODE_LNK}','{ADM_MODE_TITLE}','{ADM_MODE_TGT}','enter_admin_mode',$template_sys_menu_spacer);
+    addbutton($sys_menu_buttons,'{USR_MODE_LNK}','{USR_MODE_TITLE}','{USR_MODE_TGT}','leave_admin_mode',$template_sys_menu_spacer);
+    addbutton($sys_menu_buttons,'{UPL_PIC_LNK}','{UPL_PIC_TITLE}','{UPL_PIC_TGT}','upload_pic',$template_sys_menu_spacer);
+    addbutton($sys_menu_buttons,'{REGISTER_LNK}','{REGISTER_TITLE}','{REGISTER_TGT}','register',$template_sys_menu_spacer);
+    addbutton($sys_menu_buttons,'{FAQ_LNK}','{FAQ_TITLE}','{FAQ_TGT}','faq',$template_sys_menu_spacer);
+    addbutton($sys_menu_buttons,'{LOGIN_LNK}','{LOGIN_TITLE}','{LOGIN_TGT}','login','');
+    addbutton($sys_menu_buttons,'{LOGOUT_LNK}','{LOGOUT_TITLE}','{LOGOUT_TGT}','logout','');
+    // Login and Logout don't have a spacer as only one is shown, and either would be the last option.
+
+  $params = array('{BUTTONS}' => assemble_template_buttons($template_sys_menu_button,$sys_menu_buttons));
+  $template_sys_menu = template_eval($template_sys_menu,$params);
+}
+
+if (!defined('THEME_HAS_NO_SUB_MENU_BUTTONS')) {
+
+  // HTML template for template sub_menu spacer
+  $template_sub_menu_spacer = $template_sys_menu_spacer;
+
+  // HTML template for template sub_menu buttons
+  $template_sub_menu_button= $template_sys_menu_button;
+
+  // HTML template for template sub_menu buttons
+    // {HREF_LNK}{HREF_TITLE}{HREF_TGT}{BLOCK_ID}{SPACER}
+    addbutton($sub_menu_buttons,'{CUSTOM_LNK_LNK}','{CUSTOM_LNK_TITLE}','{CUSTOM_LNK_TGT}','custom_link',$template_sub_menu_spacer);
+    addbutton($sub_menu_buttons,'{ALB_LIST_LNK}','{ALB_LIST_TITLE}','{ALB_LIST_TGT}','album_list',$template_sub_menu_spacer);
+    addbutton($sub_menu_buttons,'{LASTUP_LNK}','{LASTUP_TITLE}','{LASTUP_TGT}','lastup',$template_sub_menu_spacer);
+    addbutton($sub_menu_buttons,'{LASTCOM_LNK}','{LASTCOM_TITLE}','{LASTCOM_TGT}','lastcom',$template_sub_menu_spacer);
+    addbutton($sub_menu_buttons,'{TOPN_LNK}','{TOPN_TITLE}','{TOPN_TGT}','topn',$template_sub_menu_spacer);
+    addbutton($sub_menu_buttons,'{TOPRATED_LNK}','{TOPRATED_TITLE}','{TOPRATED_TGT}','toprated',$template_sub_menu_spacer);
+    addbutton($sub_menu_buttons,'{FAV_LNK}','{FAV_TITLE}','{FAV_TGT}','favpics',$template_sub_menu_spacer);
+    addbutton($sub_menu_buttons,'{SEARCH_LNK}','{SEARCH_TITLE}','{SEARCH_TGT}','search','');
+
+  $params = array('{BUTTONS}' => assemble_template_buttons($template_sub_menu_button,$sub_menu_buttons));
+  $template_sub_menu = template_eval($template_sub_menu,$params);
+}
+
+// HTML template for gallery admin menu
+$template_gallery_admin_menu = <<<EOT
+
+                <div align="center">
+                <table cellpadding="0" cellspacing="1">
+                        <tr>
+<!-- BEGIN admin_approval -->
+                                <td class="admin_menu" id="admin_menu_anim"><a href="editpics.php?mode=upload_approval" title="{UPL_APP_TITLE}">{UPL_APP_LNK}</a></td>
+<!-- END admin_approval -->
+                                <td class="admin_menu"><a href="admin.php" title="{ADMIN_TITLE}">{ADMIN_LNK}</a></td>
+                                <td class="admin_menu"><a href="catmgr.php" title="{CATEGORIES_TITLE}">{CATEGORIES_LNK}</a></td>
+                                <td class="admin_menu"><a href="albmgr.php{CATL}" title="{ALBUMS_TITLE}">{ALBUMS_LNK}</a></td>
+                                <td class="admin_menu"><a href="groupmgr.php" title="{GROUPS_TITLE}">{GROUPS_LNK}</a></td>
+                                <td class="admin_menu"><a href="usermgr.php" title="{USERS_TITLE}">{USERS_LNK}</a></td>
+                                <td class="admin_menu"><a href="banning.php" title="{BAN_TITLE}">{BAN_LNK}</a></td>
+                                <td class="admin_menu"><a href="reviewcom.php" title="{COMMENTS_TITLE}">{COMMENTS_LNK}</a></td>
+<!-- BEGIN log_ecards -->
+                                <td class="admin_menu"><a href="db_ecard.php" title="{DB_ECARD_TITLE}">{DB_ECARD_LNK}</a></td>
+<!-- END log_ecards -->
+                                <td class="admin_menu"><a href="picmgr.php" title="{PICTURES_TITLE}">{PICTURES_LNK}</a></td>
+                                <td class="admin_menu"><a href="searchnew.php" title="{SEARCHNEW_TITLE}">{SEARCHNEW_LNK}</a></td>
+                                <td class="admin_menu"><a href="util.php" title="{UTIL_TITLE}">{UTIL_LNK}</a></td>
+                                <td class="admin_menu"><a href="profile.php?op=edit_profile" title="{MY_PROF_TITLE}">{MY_PROF_LNK}</a></td>
+<!-- BEGIN documentation -->
+                                <td class="admin_menu"><a href="{DOCUMENTATION_HREF}" title="{DOCUMENTATION_TITLE}">{DOCUMENTATION_LNK}</a></td>
+<!-- END documentation -->
+                        </tr>
+                </table>
+                </div>
+
+EOT;
+
+// HTML template for user admin menu
+$template_user_admin_menu = <<<EOT
+
+                <div align="center">
+                <table cellpadding="0" cellspacing="1">
+                        <tr>
+                                <td class="admin_menu"><a href="albmgr.php" title="{ALBMGR_TITLE}">{ALBMGR_LNK}</a></td>
+                                <td class="admin_menu"><a href="modifyalb.php" title="{MODIFYALB_TITLE}">{MODIFYALB_LNK}</a></td>
+                                <td class="admin_menu"><a href="profile.php?op=edit_profile" title="{MY_PROF_TITLE}">{MY_PROF_LNK}</a></td>
+                                <td class="admin_menu"><a href="picmgr.php" title="{PICTURES_TITLE}">{PICTURES_LNK}</a></td>
+                        </tr>
+                </table>
+                </div>
+
+EOT;
+
+// HTML template for the category list
+$template_cat_list = <<<EOT
+<!-- BEGIN header -->
+        <tr>
+                <td class="tableh1" width="80%" align="left"><b>{CATEGORY}</b></td>
+                <td class="tableh1" width="10%" align="center"><b>{ALBUMS}</b></td>
+                <td class="tableh1" width="10%" align="center"><b>{PICTURES}</b></td>
+        </tr>
+<!-- END header -->
+<!-- BEGIN catrow_noalb -->
+        <tr>
+                <td class="catrow_noalb" colspan="3"><table border="0"><tr><td align="left">{CAT_THUMB}</td><td align="left"><span class="catlink"><b>{CAT_TITLE}</b></span>{CAT_DESC}</td></tr></table></td>
+        </tr>
+<!-- END catrow_noalb -->
+<!-- BEGIN catrow -->
+        <tr>
+                <td class="catrow" align="left"><table border="0"><tr><td>{CAT_THUMB}</td><td><span class="catlink"><b>{CAT_TITLE}</b></span>{CAT_DESC}</td></tr></table></td>
+                <td class="catrow" align="center">{ALB_COUNT}</td>
+                <td class="catrow" align="center">{PIC_COUNT}</td>
+        </tr>
+        <tr>
+            <td class="tableb" colspan="3">{CAT_ALBUMS}</td>
+        </tr>
+<!-- END catrow -->
+<!-- BEGIN footer -->
+        <tr>
+                <td colspan="3" class="tableh1" align="center"><span class="statlink">{STATISTICS}</span></td>
+        </tr>
+<!-- END footer -->
+<!-- BEGIN spacer -->
+        <img src="images/spacer.gif" width="1" height="7" border="" alt="" /><br />
+<!-- END spacer -->
+
+EOT;
+
+// HTML template for the breadcrumb
+$template_breadcrumb = <<<EOT
+<!-- BEGIN breadcrumb -->
+        <tr>
+                <td colspan="3" align="left" class="tableh1"><span class="statlink"><b>{BREADCRUMB}</b></span></td>
+        </tr>
+<!-- END breadcrumb -->
+<!-- BEGIN breadcrumb_user_gal -->
+        <tr>
+                <td colspan="3" class="tableh1">
+                <table width="100%" cellpadding="0" cellspacing="0" border="0">
+                <tr>
+                        <td align="left"><span class="statlink"><b>{BREADCRUMB}</b></span></td>
+                        <td align="right"><span class="statlink">{STATISTICS}</span></td>
+                </tr>
+                </table>
+                </td>
+        </tr>
+<!-- END breadcrumb_user_gal -->
+
+EOT;
+
+// HTML template for the album list
+$template_album_list = <<<EOT
+
+<!-- BEGIN stat_row -->
+        <tr>
+                <td colspan="{COLUMNS}" class="tableh1" align="center"><span class="statlink">{STATISTICS}</span></td>
+        </tr>
+<!-- END stat_row -->
+<!-- BEGIN header -->
+        <tr class="tableb_compact">
+<!-- END header -->
+<!-- BEGIN album_cell -->
+        <td width="{COL_WIDTH}%" valign="top">
+        <table width="100%" cellspacing="0" cellpadding="0">
+        <tr>
+                <td colspan="3" height="1" align="left" valign="top" class="tableh2">
+                        <span class="alblink"><a href="{ALB_LINK_TGT}"><b>{ALBUM_TITLE}</b></a></span>
+                </td>
+        </tr>
+        <tr>
+                <td colspan="3">
+                        <img src="images/spacer.gif" width="1" height="1" border="0" alt="" /><br />
+                </td>
+        </tr>
+        <tr>
+                <td align="center" valign="middle" class="thumbnails">
+                        <img src="images/spacer.gif" width="{THUMB_CELL_WIDTH}" height="1" class="image" style="margin-top: 0px; margin-bottom: 0px; border: none;" alt="" /><br />
+                        <a href="{ALB_LINK_TGT}" class="albums">{ALB_LINK_PIC}<br /></a>
+                </td>
+                <td>
+                        <img src="images/spacer.gif" width="1" height="1" border="0" alt="" />
+                </td>
+                <td width="100%" valign="top" align="left" class="tableb_compact">
+                        {ADMIN_MENU}
+                        <p>{ALB_DESC}</p>
+                        <p class="album_stat">{ALB_INFOS}</p>
+                </td>
+        </tr>
+        </table>
+        </td>
+<!-- END album_cell -->
+<!-- BEGIN empty_cell -->
+        <td width="{COL_WIDTH}%" valign="top">
+        <table width="100%" cellspacing="0" cellpadding="0">
+        <tr>
+                <td height="1" valign="top" class="tableh2">
+                        <b>&nbsp;</b>
+                </td>
+        </tr>
+        <tr>
+                <td>
+                        <img src="images/spacer.gif" width="1" height="1" border="0" alt="" /><br />
+                </td>
+        </tr>
+        <tr>
+                <td width="100%" valign="top" class="tableb_compact">
+                    <div class="thumbnails" style="background-color:transparent"><img src="images/spacer.gif" width="1" height="1" border="0" class="image" style="border:0;margin-top:1px;margin-bottom:0" alt="" /></div>
+                </td>
+        </tr>
+        </table>
+        </td>
+<!-- END empty_cell -->
+<!-- BEGIN row_separator -->
+        </tr>
+        <tr class="tableb_compact">
+<!-- END row_separator -->
+<!-- BEGIN footer -->
+        </tr>
+<!-- END footer -->
+<!-- BEGIN tabs -->
+        <tr>
+                <td colspan="{COLUMNS}" style="padding: 0px;">
+                        <table width="100%" cellspacing="0" cellpadding="0">
+                                <tr>
+                                       {TABS}
+                                </tr>
+                        </table>
+                </td>
+        </tr>
+<!-- END tabs -->
+<!-- BEGIN spacer -->
+        <img src="images/spacer.gif" width="1" height="7" border="" alt="" /><br />
+<!-- END spacer -->
+
+EOT;
+
+// HTML template for filmstrip display
+$template_film_strip = <<<EOT
+
+        <tr>
+         <td valign="top" style="background-image: url({TILE1});"><img src="{TILE1}" alt="" border="0" /></td>
+        </tr>
+        <tr>
+        <td valign="bottom" class="thumbnails" align="center">
+          <table width="100%" cellspacing="0" cellpadding="3" border="0">
+              <tr>
+                 <td width="50%"></td>
+                 {THUMB_STRIP}
+                 <td width="50%"></td>
+              </tr>
+          </table>
+        </td>
+        </tr>
+        <tr>
+         <td valign="top" style="background-image: url({TILE2});"><img src="{TILE2}" alt="" border="0" /></td>
+        </tr>
+<!-- BEGIN thumb_cell -->
+                <td valign="top" align="center">
+                                        <a href="{LINK_TGT}">{THUMB}</a>
+                                        {CAPTION}
+                                        {ADMIN_MENU}
+                </td>
+<!-- END thumb_cell -->
+<!-- BEGIN empty_cell -->
+                <td valign="top" align="center" >&nbsp;</td>
+<!-- END empty_cell -->
+
+EOT;
+
+// HTML template for the album list
+$template_album_list_cat = <<<EOT
+
+<!-- BEGIN c_stat_row -->
+        <tr>
+                <td colspan="{COLUMNS}" class="tableh1" align="center"><span class="statlink">{STATISTICS}</span></td>
+        </tr>
+<!-- END c_stat_row -->
+<!-- BEGIN c_header -->
+        <tr class="tableb_compact">
+<!-- END c_header -->
+<!-- BEGIN c_album_cell -->
+        <td width="{COL_WIDTH}%" valign="top">
+        <table width="100%" cellspacing="0" cellpadding="0">
+        <tr>
+                <td colspan="3" height="1" valign="top" class="tableh2">
+                        <span class="alblink"><a href="{ALB_LINK_TGT}"><b>{ALBUM_TITLE}</b></a></span>
+                </td>
+        </tr>
+        <tr>
+                <td colspan="3">
+                        <img src="images/spacer.gif" width="1" height="1" border="0" alt="" /><br />
+                </td>
+        </tr>
+        <tr>
+                <td align="center" valign="middle" class="thumbnails">
+                        <img src="images/spacer.gif" width="{THUMB_CELL_WIDTH}" height="1" class="image" style="margin-top: 0px; margin-bottom: 0px; border: none;" alt="" /><br />
+                        <a href="{ALB_LINK_TGT}" class="albums">{ALB_LINK_PIC}<br /></a>
+                </td>
+                <td>
+                        <img src="images/spacer.gif" width="1" height="1" border="0" alt="" />
+                </td>
+                <td width="100%" valign="top" class="tableb_compact">
+                        {ADMIN_MENU}
+                        <p>{ALB_DESC}</p>
+                        <p class="album_stat">{ALB_INFOS}</p>
+                </td>
+        </tr>
+        </table>
+        </td>
+<!-- END c_album_cell -->
+<!-- BEGIN c_empty_cell -->
+        <td width="{COL_WIDTH}%" valign="top">
+        <table width="100%" cellspacing="0" cellpadding="0" >
+        <tr>
+                <td height="1" valign="top" class="tableh2">
+                        <b>&nbsp;</b>
+                </td>
+        </tr>
+        <tr>
+                <td>
+                        <img src="images/spacer.gif" width="1" height="1" border="0" alt="" /><br />
+                </td>
+        </tr>
+        <tr>
+                <td width="100%" valign="top" class="tableb_compact" >
+                      <div class="thumbnails" style="background-color:transparent"><img src="images/spacer.gif" width="1" height="1" border="0" class="image" style="border:0;margin-top:1px;margin-bottom:0" alt="" /></div>
+                </td>
+        </tr>
+        </table>
+        </td>
+<!-- END c_empty_cell -->
+<!-- BEGIN c_row_separator -->
+        </tr>
+        <tr class="tableb_compact">
+<!-- END c_row_separator -->
+<!-- BEGIN c_footer -->
+        </tr>
+<!-- END c_footer -->
+<!-- BEGIN c_tabs -->
+        <tr>
+                <td colspan="{COLUMNS}" style="padding: 0px;">
+                        <table width="100%" cellspacing="0" cellpadding="0">
+                                <tr>
+                                       {TABS}
+                                </tr>
+                        </table>
+                </td>
+        </tr>
+<!-- END c_tabs -->
+<!-- BEGIN c_spacer -->
+        <img src="images/spacer.gif" width="1" height="7" border="" alt="" /><br />
+<!-- END c_spacer -->
+
+EOT;
+
+// HTML template for the ALBUM admin menu displayed in the album list
+$template_album_admin_menu = <<<EOT
+        <table border="0" cellpadding="0" cellspacing="1">
+                <tr>
+                        <td align="center" valign="middle" class="admin_menu">
+                                <a href="delete.php?id={ALBUM_ID}&amp;what=album"  class="adm_menu" onclick="return confirm('{CONFIRM_DELETE}');">{DELETE}</a>
+                        </td>
+                        <td align="center" valign="middle" class="admin_menu">
+                                <a href="modifyalb.php?album={ALBUM_ID}"  class="adm_menu">{MODIFY}</a>
+                        </td>
+                        <td align="center" valign="middle" class="admin_menu">
+                                <a href="editpics.php?album={ALBUM_ID}"  class="adm_menu">{EDIT_PICS}</a>
+                        </td>
+                </tr>
+        </table>
+
+EOT;
+
+// HTML template for title row of the thumbnail view (album title + sort options)
+$template_thumb_view_title_row = <<<EOT
+
+                        <table width="100%" cellpadding="0" cellspacing="0">
+                        <tr>
+                                <td width="100%" class="statlink"><h2>{ALBUM_NAME}</h2></td>
+                                <td><img src="images/spacer.gif" width="1" alt="" /></td>
+                                <td class="sortorder_cell">
+                                        <table cellpadding="0" cellspacing="0">
+                                        <tr>
+                                                <td class="sortorder_options">{TITLE}</td>
+                                                <td class="sortorder_options"><span class="statlink"><a href="thumbnails.php?album={AID}&amp;page={PAGE}&amp;sort=ta" title="{SORT_TA}">&nbsp;+&nbsp;</a></span></td>
+                                                <td class="sortorder_options"><span class="statlink"><a href="thumbnails.php?album={AID}&amp;page={PAGE}&amp;sort=td" title="{SORT_TD}">&nbsp;-&nbsp;</a></span></td>
+                                        </tr>
+                                        <tr>
+                                                <td class="sortorder_options">{NAME}</td>
+                                                <td class="sortorder_options"><span class="statlink"><a href="thumbnails.php?album={AID}&amp;page={PAGE}&amp;sort=na" title="{SORT_NA}">&nbsp;+&nbsp;</a></span></td>
+                                                <td class="sortorder_options"><span class="statlink"><a href="thumbnails.php?album={AID}&amp;page={PAGE}&amp;sort=nd" title="{SORT_ND}">&nbsp;-&nbsp;</a></span></td>
+                                        </tr>
+                                        <tr>
+                                                <td class="sortorder_options">{DATE}</td>
+                                                <td class="sortorder_options"><span class="statlink"><a href="thumbnails.php?album={AID}&amp;page={PAGE}&amp;sort=da" title="{SORT_DA}">&nbsp;+&nbsp;</a></span></td>
+                                                <td class="sortorder_options"><span class="statlink"><a href="thumbnails.php?album={AID}&amp;page={PAGE}&amp;sort=dd" title="{SORT_DD}">&nbsp;-&nbsp;</a></span></td>
+                                        </tr>
+                                        <tr>
+                                                <td class="sortorder_options">{POSITION}</td>
+                                                <td class="sortorder_options"><span class="statlink"><a href="thumbnails.php?album={AID}&amp;page={PAGE}&amp;sort=pa" title="{SORT_PA}">&nbsp;+&nbsp;</a></span></td>
+                                                <td class="sortorder_options"><span class="statlink"><a href="thumbnails.php?album={AID}&amp;page={PAGE}&amp;sort=pd" title="{SORT_PD}">&nbsp;-&nbsp;</a></span></td>
+                                        </tr>
+                                        </table>
+                                </td>
+                        </tr>
+                        </table>
+
+EOT;
+
+// HTML template for title row of the fav thumbnail view (album title + download)
+$template_fav_thumb_view_title_row = <<<EOT
+
+                        <table width="100%" cellpadding="0" cellspacing="0">
+                        <tr>
+                                <td width="100%" class="statlink"><h2>{ALBUM_NAME}</h2></td>
+                                <td><img src="images/spacer.gif" width="1" alt=""></td>
+                                <td class="sortorder_cell">
+                                        <table cellpadding="0" cellspacing="0">
+                                                <tr>
+                                                        <td class="sortorder_options"><span class="statlink"><a href="zipdownload.php">{DOWNLOAD_ZIP}</a></span></td>
+                                                </tr>
+                                                </table>
+                                </td>
+                        </tr>
+                        </table>
+
+EOT;
+
+// HTML template for thumbnails display
+$template_thumbnail_view = <<<EOT
+
+<!-- BEGIN header -->
+        <tr>
+<!-- END header -->
+<!-- BEGIN thumb_cell -->
+        <td valign="top" class="thumbnails" width ="{CELL_WIDTH}" align="center">
+                <table width="100%" cellpadding="0" cellspacing="0">
+                        <tr>
+                                <td align="center">
+                                        <a href="{LINK_TGT}">{THUMB}<br /></a>
+                                        {CAPTION}
+                                        {ADMIN_MENU}
+                                </td>
+                        </tr>
+                </table>
+        </td>
+<!-- END thumb_cell -->
+<!-- BEGIN empty_cell -->
+                <td valign="top" class="thumbnails" align="center">&nbsp;</td>
+<!-- END empty_cell -->
+<!-- BEGIN row_separator -->
+        </tr>
+        <tr>
+<!-- END row_separator -->
+<!-- BEGIN footer -->
+        </tr>
+<!-- END footer -->
+<!-- BEGIN tabs -->
+        <tr>
+                <td colspan="{THUMB_COLS}" style="padding: 0px;">
+                        <table width="100%" cellspacing="0" cellpadding="0">
+                                <tr>
+                                       {TABS}
+                                </tr>
+                        </table>
+                </td>
+        </tr>
+<!-- END tabs -->
+<!-- BEGIN spacer -->
+        <img src="images/spacer.gif" width="1" height="7" border="" alt="" /><br />
+<!-- END spacer -->
+
+EOT;
+
+// HTML template for the thumbnail view when there is no picture to show
+$template_no_img_to_display = <<<EOT
+        <tr>
+                <td class="tableb" height="200" align="center">
+                        <font size="3"><b>{TEXT}</b></font>
+                </td>
+        </tr>
+<!-- BEGIN spacer -->
+        <img src="images/spacer.gif" width="1" height="7" border="" alt="" /><br />
+<!-- END spacer -->
+
+EOT;
+
+// HTML template for the USER info box in the user list view
+$template_user_list_info_box = <<<EOT
+
+        <table cellspacing="1" cellpadding="0" border="0" width="100%" class="user_thumb_infobox">
+                <tr>
+                        <th><a href="profile.php?uid={USER_ID}">{USER_NAME}</a></th>
+                </tr>
+                <tr>
+                        <td>{ALBUMS}</td>
+                </tr>
+                <tr>
+                        <td>{PICTURES}</td>
+                </tr>
+        </table>
+
+EOT;
+
+// HTML template for the image navigation bar
+$template_img_navbar = <<<EOT
+
+        <tr>
+                <td align="center" valign="middle" class="navmenu" width="48">
+                        <a href="{THUMB_TGT}" class="navmenu_pic" title="{THUMB_TITLE}"><img src="{LOCATION}images/thumbnails.gif" align="middle" border="0" alt="{THUMB_TITLE}" /></a>
+                </td>
+                <td align="center" valign="middle" class="navmenu" width="48">
+                        <a href="javascript:;" class="navmenu_pic" onclick="blocking('picinfo','yes', 'block'); return false;" title="{PIC_INFO_TITLE}"><img src="{LOCATION}images/info.gif" border="0" align="middle" alt="{PIC_INFO_TITLE}" /></a>
+                </td>
+                <td align="center" valign="middle" class="navmenu" width="48">
+                        <a href="{SLIDESHOW_TGT}" class="navmenu_pic" title="{SLIDESHOW_TITLE}"><img src="{LOCATION}images/slideshow.gif" border="0" align="middle" alt="{SLIDESHOW_TITLE}" /></a>
+                </td>
+                <td align="center" valign="middle" class="navmenu" width="100%">
+                        {PIC_POS}
+                </td>
+<!-- BEGIN report_file_button -->
+                <td align="center" valign="middle" class="navmenu" width="48">
+                        <a href="{REPORT_TGT}" class="navmenu_pic" title="{REPORT_TITLE}"><img src="{LOCATION}images/report.gif" border="0" align="middle" alt="{REPORT_TITLE}" /></a>
+                </td>
+<!-- END report_file_button -->
+<!-- BEGIN ecard_button -->
+                <td align="center" valign="middle" class="navmenu" width="48">
+                        <a href="{ECARD_TGT}" class="navmenu_pic" title="{ECARD_TITLE}"><img src="{LOCATION}images/ecard.gif"  border="0" align="middle" alt="{ECARD_TITLE}" /></a>
+                </td>
+<!-- END ecard_button -->
+                <td align="center" valign="middle" class="navmenu" width="48">
+                        <a href="{PREV_TGT}" class="navmenu_pic" title="{PREV_TITLE}"><img src="{LOCATION}images/prev.gif"  border="0" align="middle" alt="{PREV_TITLE}" /></a>
+                </td>
+                <td align="center" valign="middle" class="navmenu" width="48">
+                        <a href="{NEXT_TGT}" class="navmenu_pic" title="{NEXT_TITLE}"><img src="{LOCATION}images/next.gif"  border="0" align="middle" alt="{NEXT_TITLE}" /></a>
+                </td>
+        </tr>
+
+EOT;
+
+// HTML template for intermediate image display
+$template_display_media = <<<EOT
+        <tr>
+                <td align="center" class="display_media" nowrap="nowrap">
+                        <table cellspacing="2" cellpadding="0" class="imageborder">
+                                <tr>
+                                        <td align="center">
+                                                {IMAGE}
+
+                                        </td>
+                                </tr>
+                        </table>
+                </td></tr>
+                <tr><td>
+                                                <table width="100%" cellspacing="2" cellpadding="0" class="tableb">
+                                <tr>
+                                        <td align="center">
+
+                                                {ADMIN_MENU}
+                                        </td>
+                                </tr>
+                        </table>
+
+
+
+
+
+<!-- BEGIN img_desc -->
+                        <table cellpadding="0" cellspacing="0" class="tableb" width="100%">
+<!-- BEGIN title -->
+                                <tr>
+                                        <td class="tableb"><center><b>
+                                                {TITLE}
+                                        </b></center></td>
+                                </tr>
+<!-- END title -->
+<!-- BEGIN caption -->
+                                <tr>
+                                        <td class="tableb"><center>
+                                                {CAPTION}
+                                        </center></td>
+                                </tr>
+<!-- END caption -->
+                        </table>
+<!-- END img_desc -->
+                </td>
+        </tr>
+
+EOT;
+
+// HTML template for the image rating box
+$template_image_rating = <<<EOT
+<table align="center" width="{WIDTH}" cellspacing="1" cellpadding="0" class="maintable">
+        <tr>
+                <td colspan="6" class="tableh2_compact"><b>{TITLE}</b> {VOTES}</td>
+        </tr>
+        <tr>
+                <td class="tableb_compact" width="17%" align="center"><a href="{RATE0}" title="{RUBBISH}" rel="nofollow"><img src="{LOCATION}images/rating0.gif" border="0" alt="{RUBBISH}" /><br /></a></td>
+                <td class="tableb_compact" width="17%" align="center"><a href="{RATE1}" title="{POOR}" rel="nofollow"><img src="{LOCATION}images/rating1.gif" border="0" alt="{POOR}" /><br /></a></td>
+                <td class="tableb_compact" width="17%" align="center"><a href="{RATE2}" title="{FAIR}" rel="nofollow"><img src="{LOCATION}images/rating2.gif" border="0" alt="{FAIR}" /><br /></a></td>
+                <td class="tableb_compact" width="17%" align="center"><a href="{RATE3}" title="{GOOD}" rel="nofollow"><img src="{LOCATION}images/rating3.gif" border="0" alt="{GOOD}" /><br /></a></td>
+                <td class="tableb_compact" width="17%" align="center"><a href="{RATE4}" title="{EXCELLENT}" rel="nofollow"><img src="{LOCATION}images/rating4.gif" border="0" alt="{EXCELLENT}" /><br /></a></td>
+                <td class="tableb_compact" width="17%" align="center"><a href="{RATE5}" title="{GREAT}" rel="nofollow"><img src="{LOCATION}images/rating5.gif" border="0" alt="{GREAT}" /><br /></a></td>
+        </tr>
+</table>
+EOT;
+
+// HTML template for the display of comments
+$template_image_comments = <<<EOT
+<table align="center" width="{WIDTH}" cellspacing="1" cellpadding="0" class="maintable">
+
+        <tr>
+                <td>
+                        <table width="100%" cellpadding="0" cellspacing="0">
+                           <tr>
+                                <td class="tableh2_compact" nowrap="nowrap">
+                                        <b>{MSG_AUTHOR}</b><a name="comment{MSG_ID}"></a>&nbsp;
+<!-- BEGIN ipinfo -->
+                                                                                 ({IP})
+<!-- END ipinfo -->
+</td>
+
+
+                                <td class="tableh2_compact" align="right" width="100%">
+<!-- BEGIN report_comment_button -->
+     <a href="report_file.php?pid={PID}&amp;msg_id={MSG_ID}&amp;what=comment" title="{REPORT_COMMENT_TITLE}"><img src="images/report.gif" width="16" height="16" border="0" align="middle" alt="{REPORT_COMMENT_TITLE}" /></a>
+<!-- END report_comment_button -->
+
+
+<!-- BEGIN buttons -->
+                                        <a href="javascript:;" onclick="blocking('cbody{MSG_ID}','', 'block'); blocking('cedit{MSG_ID}','', 'block'); return false;" title="{EDIT_TITLE}"><img src="images/edit.gif" border="0" align="middle" /></a>
+                                        <a href="delete.php?msg_id={MSG_ID}&what=comment"  onclick="return confirm('{CONFIRM_DELETE}');"><img src="images/delete.gif" border="0" align="middle" /></a>
+<!-- END buttons -->
+                                </td>
+                                <td class="tableh2_compact" align="right" nowrap="nowrap">
+                                        <span class="comment_date">[{MSG_DATE}]</span>
+                                </td></tr>
+                        </table>
+                </td>
+        </tr>
+        <tr>
+                <td class="tableb_compact">
+                        <div id="cbody{MSG_ID}" style="display:block">
+                                {MSG_BODY}
+                        </div>
+                        <div id="cedit{MSG_ID}" style="display:none">
+<!-- BEGIN edit_box_smilies -->
+                                <table width="100%" cellpadding="0" cellspacing="0">
+
+                                                <form name="f{MSG_ID}" method="POST" action="db_input.php">
+                                                <input type="hidden" name="event" value="comment_update" />
+                                                <input type="hidden" name="msg_id" value="{MSG_ID}" />
+                                                <tr>
+                                                <td>
+                                                   <input type="text" name="msg_author" value="{MSG_AUTHOR}" class="textinput" size="25" />
+                                                </td><td>
+                                                </tr>
+                                                <tr>
+                                                <td width="80%">
+                                                        <textarea cols="40" rows="2" class="textinput" name="msg_body" onselect="storeCaret_f{MSG_ID}(this);" onclick="storeCaret_f{MSG_ID}(this);" onkeyup="storeCaret_f{MSG_ID}(this);" style="width: 100%;">{MSG_BODY_RAW}</textarea>
+                                                </td>
+                                                <td class="tableb_compact">
+                                                </td>
+                                                <td>
+                                                        <input type="submit" class="comment_button" name="submit" value="{OK}" />
+                                                </td>
+                                                </form>
+                                        </tr>
+                                        <tr>
+                                                <td colspan="3"><img src="images/spacer.gif" width="1" height="2" /><br /></td>
+                                        </tr>
+                                </table>
+                                {SMILIES}
+<!-- END edit_box_smilies -->
+<!-- BEGIN edit_box_no_smilies -->
+                                <table width="100%" cellpadding="0" cellspacing="0">
+                                        <tr>
+                                                <form name="f{MSG_ID}" method="POST" action="db_input.php">
+                                                <input type="hidden" name="event" value="comment_update" />
+                                                <input type="hidden" name="msg_id" value="{MSG_ID}" />
+                                                <td>
+                                                <input type="text" name="msg_author" value="{MSG_AUTHOR}" class="textinput" size="25" />
+                                                </td>
+                                        </tr>
+                                        <tr>
+                                                <td width="100%">
+                                                        <textarea cols="40" rows="2" class="textinput" name="msg_body" style="width: 100%;">{MSG_BODY_RAW}</textarea>
+                                                </td>
+                                                <td class="tableb_compact">
+                                                </td>
+                                                <td>
+                                                        <input type="submit" class="comment_button" name="submit" value="{OK}" />
+                                                </td>
+                                                </form>
+                                        </tr>
+                                        <tr>
+                                                <td colspan="3"><img src="images/spacer.gif" width="1" height="2" /><br /></td>
+                                        </tr>
+                                </table>
+<!-- END edit_box_no_smilies -->
+                        </div>
+                </td>
+        </tr>
+</table>
+EOT;
+
+// HTML template for the form to add comments
+$template_add_your_comment = <<<EOT
+        <form method="post" name="post" action="db_input.php">
+                <table align="center" width="{WIDTH}" cellspacing="1" cellpadding="0" class="maintable">
+                        <tr>
+                                        <td width="100%" class="tableh2_compact"><b>{ADD_YOUR_COMMENT}</b></td>
+                        </tr>
+                        <tr>
+                <td colspan="1">
+                        <table width="100%" cellpadding="0" cellspacing="0">
+
+<!-- BEGIN user_name_input -->
+                                                        <tr>
+                                                                <td class="tableb_compact">
+                                        {NAME}
+                                </td>
+                                <td class="tableb_compact">
+                                        <input type="text" class="textinput" name="msg_author" size="10" maxlength="20" value="{USER_NAME}" />
+                                </td>
+<!-- END user_name_input -->
+<!-- BEGIN input_box_smilies -->
+                                <td class="tableb_compact">
+                                {COMMENT}
+                                                                </td>
+                                <td width="100%" class="tableb_compact">
+                                <input type="text" class="textinput" id="message" name="msg_body" onselect="storeCaret_post(this);" onclick="storeCaret_post(this);" onkeyup="storeCaret_post(this);" maxlength="{MAX_COM_LENGTH}" style="width: 100%;" />
+                                                                </td>
+<!-- END input_box_smilies -->
+<!-- BEGIN input_box_no_smilies -->
+                                <td class="tableb_compact">
+                                {COMMENT}
+                                                                </td>
+                                <td width="100%" class="tableb_compact">
+                                <input type="text" class="textinput" id="message" name="msg_body"  maxlength="{MAX_COM_LENGTH}" style="width: 100%;" />
+                                </td>
+<!-- END input_box_no_smilies -->
+                                <td class="tableb_compact">
+                                <input type="hidden" name="event" value="comment" />
+                                <input type="hidden" name="pid" value="{PIC_ID}" />
+                                <input type="submit" class="comment_button" name="submit" value="{OK}" />
+                                </td>
+                                                        </tr>
+                        </table>
+                </td>
+        </tr>
+<!-- BEGIN smilies -->
+        <tr>
+                <td width="100%" class="tableb_compact">
+                        {SMILIES}
+                </td>
+        </tr>
+<!-- END smilies -->
+                </table>
+        </form>
+EOT;
+
+// HTML template used by the cpg_die function
+$template_cpg_die = <<<EOT
+
+        <tr>
+                <td class="tableb" align="center">
+                        <font size="3"><b>{MESSAGE}</b></font>
+<!-- BEGIN file_line -->
+                        <br />
+                        <br />
+                        {FILE_TXT}{FILE} - {LINE_TXT}{LINE}
+<!-- END file_line -->
+<!-- BEGIN output_buffer -->
+                        <br />
+                        <br />
+                        <div align="left">
+                                {OUTPUT_BUFFER}
+                        </div>
+<!-- END output_buffer -->
+                        <br /><br />
+                </td>
+        </tr>
+
+
+EOT;
+
+// HTML template used by the msg_box function
+$template_msg_box = <<<EOT
+
+        <tr>
+                <td class="tableb" align="center">
+                        <font size="3"><b>{MESSAGE}</b></font>
+                </td>
+        </tr>
+<!-- BEGIN button -->
+                <tr>
+                        <td align="center" class="tablef">
+                                <table cellpadding="0" cellspacing="0">
+                                        <tr>
+                                                <td class="admin_menu">
+                                                        <a href="{LINK}">{TEXT}</a>
+                                                </td>
+                                        </tr>
+                                </table>
+                        </td>
+                </tr>
+<!-- END button -->
+
+EOT;
+
+// HTML template for e-cards
+$template_ecard = <<<EOT
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html dir="{LANG_DIR}">
+<head>
+<meta http-equiv="content-type" content="text/html; charset={CHARSET}" />
+<title>{TITLE}</title>
+</head>
+<body bgcolor="#FFFFFF" text="#0F5475" link="#0F5475" vlink="#0F5475" alink="#0F5475">
+<br />
+<p align="center"><a href="{VIEW_ECARD_TGT}"><b>{VIEW_ECARD_LNK}</b></a></p>
+<table border="0" cellspacing="0" cellpadding="1" align="center">
+  <tr>
+    <td bgcolor="#000000">
+      <table border="0" cellspacing="0" cellpadding="10" bgcolor="#ffffff">
+        <tr>
+          <td valign="top">
+           <a href="{VIEW_MORE_TGT}displayimage.php?pos=-{PID}">
+                                         <img src="{PIC_URL}" border="1" alt="" /></a>
+                                         <br />
+                                         <div align="center">
+                                                 <h2>{PIC_TITLE}</h2>
+                                         </div>
+
+          </td>
+          <td valign="top" width="300">
+            <div align="right"><img src="{URL_PREFIX}images/stamp.gif" border="0" alt="" /></div>
+            <br />
+            <b><font face="arial" color="#000000" size="4">{GREETINGS}</font></b>
+            <br />
+            <br />
+            <font face="arial" color="#000000" size="2">{MESSAGE}</font>
+            <br />
+            <br />
+            <font face="arial" color="#000000" size="2">{SENDER_NAME}</font>
+            (<a href="mailto:{SENDER_EMAIL}"><font face="arial" color="#000000" size="2">{SENDER_EMAIL}</font></a>)
+          </td>
+        </tr>
+                <tr>
+                        <td colspan="2">
+                                {PIC_CAPTION}
+                        </td>
+                </tr>
+      </table>
+    </td>
+  </tr>
+</table>
+<p align="center"><a href="{VIEW_MORE_TGT}"><b>{VIEW_MORE_LNK}</b></a></p>
+</body>
+</html>
+EOT;
+
+// plain-text template for e-cards (as fallback for clients that can't display html-formatted mails)
+$template_ecard_plaintext = <<<EOT
+{TITLE}
+=========================================
+
+{VIEW_ECARD_LNK_PLAINTEXT}:
+{VIEW_ECARD_TGT}
+
+{GREETINGS}
+
+
+{PLAINTEXT_MESSAGE}
+
+{SENDER_NAME} ({SENDER_EMAIL})
+
+-----------------------------------------
+{VIEW_MORE_LNK}:
+{VIEW_MORE_TGT}
+EOT;
+
+// HTML template for report
+$template_report = <<<EOT
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html dir="{LANG_DIR}">
+<head>
+<meta http-equiv="content-type" content="text/html; charset={CHARSET}" />
+<title>{TITLE}</title>
+</head>
+<body bgcolor="#FFFFFF" text="#0F5475" link="#0F5475" vlink="#0F5475" alink="#0F5475">
+<br />
+<p align="center"><a href="{VIEW_REPORT_TGT}"><b>{VIEW_REPORT_LNK}</b></a></p>
+<table border="0" cellspacing="0" cellpadding="1" align="center">
+  <tr>
+    <td bgcolor="#000000">
+      <table border="0" cellspacing="0" cellpadding="10" bgcolor="#FFFFFF">
+        <tr>
+          <td valign="top">
+           <a href="{PIC_TGT}"><img src="{PIC_URL}" border="1" alt="" /></a><br />
+          </td>
+          <td valign="top" width="200">
+            <b><font face="arial" color="#000000" size="4">{SUBJECT}</font></b>
+            <br />
+                                                <br />
+                                                {REASON}
+            <p>
+            <font face="arial" color="#000000" size="2">{MESSAGE}</font>
+            </p>
+            <font face="arial" color="#000000" size="2">{SENDER_NAME}</font>
+            (<a href="mailto:{SENDER_EMAIL}"><font face="arial" color="#000000" size="2">{SENDER_EMAIL}</font></a>)
+          </td>
+        </tr>
+      </table>
+    </td>
+  </tr>
+</table>
+<p align="center"><a href="{VIEW_MORE_TGT}"><b>{VIEW_MORE_LNK}</b></a></p>
+</body>
+</html>
+EOT;
+
+// plain-text template for reports (as fallback for clients that can't display html-formatted mails)
+$template_report_plaintext = <<<EOT
+{TITLE}
+=========================================
+
+{VIEW_REPORT_LNK_PLAINTEXT}:
+{VIEW_REPORT_TGT}
+
+
+{SUBJECT}
+
+{REASON}
+
+{PLAINTEXT_MESSAGE}
+
+{SENDER_NAME} ({SENDER_EMAIL})
+
+-----------------------------------------
+{VIEW_MORE_LNK}:
+{VIEW_MORE_TGT}
+EOT;
+
+// HTML template for displaying a reported comment
+$template_report_comment = <<<EOT
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html dir="{LANG_DIR}">
+<head>
+<meta http-equiv="content-type" content="text/html; charset={CHARSET}" />
+<title>{TITLE}</title>
+</head>
+<body bgcolor="#FFFFFF" text="#0F5475" link="#0F5475" vlink="#0F5475" alink="#0F5475">
+<br />
+<p align="center"><a href="{VIEW_REPORT_TGT}"><b>{VIEW_REPORT_LNK}</b></a></p>
+<table border="0" cellspacing="0" cellpadding="1" align="center">
+  <tr>
+    <td bgcolor="#000000">
+      <table border="0" cellspacing="0" cellpadding="10" bgcolor="#FFFFFF">
+        <tr>
+          <td valign="top">
+           {COMMENT}
+                                                <p align="center"><a href="{COMMENT_TGT}">{COMMENT_LNK}</a></p>
+          </td>
+                                        </tr>
+                                        <tr>
+          <td valign="top">
+            <b><font face="arial" color="#000000" size="4">{SUBJECT}</font></b>
+                                                <p>
+              {REASON}
+            <p>
+            <font face="arial" color="#000000" size="2">{MESSAGE}</font>
+            </p>
+            <font face="arial" color="#000000" size="2">{SENDER_NAME}</font>
+            (<a href="mailto:{SENDER_EMAIL}"><font face="arial" color="#000000" size="2">{SENDER_EMAIL}</font></a>)
+          </td>
+        </tr>
+      </table>
+    </td>
+  </tr>
+</table>
+<p align="center"><a href="{VIEW_MORE_TGT}"><b>{VIEW_MORE_LNK}</b></a></p>
+</body>
+</html>
+EOT;
+
+// plain-text template for reports (as fallback for clients that can't display html-formatted mails)
+$template_report_comment_email = <<<EOT
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html dir="{LANG_DIR}">
+<head>
+<meta http-equiv="content-type" content="text/html; charset={CHARSET}" />
+<title>{TITLE}</title>
+</head>
+<body bgcolor="#FFFFFF" text="#0F5475" link="#0F5475" vlink="#0F5475" alink="#0F5475">
+<p><a href="{VIEW_REPORT_TGT}">{VIEW_COMMENT_LNK}</a></p>
+                <b><font face="arial" color="#000000" size="4">{SUBJECT}</font></b>
+                <p>
+                        {REASON}
+                <p>
+                <font face="arial" color="#000000" size="2">{MESSAGE}</font>
+                </p>
+                <font face="arial" color="#000000" size="2">{SENDER_NAME}</font>
+                (<a href="mailto:{SENDER_EMAIL}"><font face="arial" color="#000000" size="2">{SENDER_EMAIL}</font></a>)
+<p><a href="{VIEW_MORE_TGT}"><b>{VIEW_MORE_LNK}</b></a></p>
+</body>
+</html>
+EOT;
+
+// Template used for tabbed display
+$template_tab_display = array('left_text' => '<td width="100%%" align="left" valign="middle" class="tableh1_compact" style="white-space: nowrap"><b>{LEFT_TEXT}</b></td>' . "\n",
+    'tab_header' => '',
+    'tab_trailer' => '',
+    'active_tab' => '<td><img src="images/spacer.gif" width="1" height="1" alt="" /></td>' . "\n" . '<td align="center" valign="middle" class="tableb_compact"><b>%d</b></td>',
+    'inactive_tab' => '<td><img src="images/spacer.gif" width="1" height="1" alt="" /></td>' . "\n" . '<td align="center" valign="middle" class="navmenu"><a href="{LINK}"><b>%d</b></a></td>' . "\n",
+    'inactive_prev_tab' => '<td><img src="images/spacer.gif" width="1" height="1" alt="" /></td>' . "\n" . '<td align="center" valign="middle" class="navmenu"><a href="{LINK}"><b>{PREV}</b></a></td>' . "\n",
+    'inactive_next_tab' => '<td><img src="images/spacer.gif" width="1" height="1" alt="" /></td>' . "\n" . '<td align="center" valign="middle" class="navmenu"><a href="{LINK}"><b>{NEXT}</b></a></td>' . "\n",
+);
+
+// Template used for Vanity Footer
+$template_vanity = <<<EOT
+<div id="vanity">
+      <a id="v_php" href="http://www.php.net/"></a>
+      <a id="v_mysql" href="http://www.mysql.com/"></a>
+      <a id="v_xhtml" href="http://validator.w3.org/check/referer"></a>
+      <a id="v_css" href="http://jigsaw.w3.org/css-validator/check/referer"></a>
+</div>
+EOT;
+
+// Function for writing a pageheader
+function pageheader($section, $meta = '')
+{
+    global $CONFIG, $THEME_DIR;
+    global $template_header, $lang_charset, $lang_text_dir;
+
+    $custom_header = cpg_get_custom_include($CONFIG['custom_header_path']);
+
+        $charset = ($CONFIG['charset'] == 'language file') ? $lang_charset : $CONFIG['charset'];
+
+    header('P3P: CP="CAO DSP COR CURa ADMa DEVa OUR IND PHY ONL UNI COM NAV INT DEM PRE"');
+        header("Content-Type: text/html; charset=$charset");
+    user_save_profile();
+
+    $template_vars = array('{LANG_DIR}' => $lang_text_dir,
+        '{TITLE}' => $CONFIG['gallery_name'] . ' - ' . strip_tags(bb_decode($section)),
+        '{CHARSET}' => $charset,
+        '{META}' => $meta,
+        '{GAL_NAME}' => $CONFIG['gallery_name'],
+        '{GAL_DESCRIPTION}' => $CONFIG['gallery_description'],
+        '{SYS_MENU}' => theme_main_menu('sys_menu'),
+        '{SUB_MENU}' => theme_main_menu('sub_menu'),
+        '{ADMIN_MENU}' => theme_admin_mode_menu(),
+        '{CUSTOM_HEADER}' => $custom_header,
+        );
+
+    echo template_eval($template_header, $template_vars);
+}
+
+// Function for writing a pagefooter
+function pagefooter()
+{
+    //global $HTTP_GET_VARS, $HTTP_POST_VARS, $HTTP_SERVER_VARS;
+    global $USER, $USER_DATA, $ALBUM_SET, $CONFIG, $time_start, $query_stats, $queries;
+    global $template_footer;
+
+    $custom_footer = cpg_get_custom_include($CONFIG['custom_footer_path']);
+
+    if ($CONFIG['debug_mode']==1 || ($CONFIG['debug_mode']==2 && GALLERY_ADMIN_MODE)) {
+    cpg_debug_output();
+    }
+
+    $template_vars = array(
+        '{CUSTOM_FOOTER}' => $custom_footer,
+        '{VANITY}' => (defined('THEME_IS_XHTML10_TRANSITIONAL') && $CONFIG['vanity_block']) ? theme_vanity() : '',
+    );
+
+    echo template_eval($template_footer, $template_vars);
+}
+
+// Function to start a 'standard' table
+function starttable($width = '-1', $title = '', $title_colspan = '1')
+{
+    global $CONFIG;
+
+    if ($width == '-1') $width = $CONFIG['picture_table_width'];
+    if ($width == '100%') $width = $CONFIG['main_table_width'];
+    echo <<<EOT
+
+<!-- Start standard table -->
+<table align="center" width="$width" cellspacing="1" cellpadding="0" class="maintable">
+
+EOT;
+    if ($title) {
+        echo <<<EOT
+        <tr>
+                <td class="tableh1" colspan="$title_colspan">$title</td>
+        </tr>
+
+EOT;
+    }
+}
+
+// Function to end a 'standard' table
+function endtable()
+{
+    echo <<<EOT
+</table>
+<!-- End standard table -->
+
+EOT;
+}
+
+// Function for creating a main menu (SYS_MENU or SUB_MENU)
+function theme_main_menu($which)
+{
+    global $AUTHORIZED, $CONFIG, $album, $actual_cat, $cat, $REFERER;
+    global $lang_main_menu, $template_sys_menu, $template_sub_menu;
+
+
+    static $sys_menu = '', $sub_menu = '';
+    if ($$which != '') {
+        return $$which;
+    }
+
+    $album_l = isset($album) ? "?album=$album" : '';
+    $cat_l = (isset($actual_cat))? "?cat=$actual_cat" : (isset($cat) ? "?cat=$cat" : '');
+    $cat_l2 = isset($cat) ? "&amp;cat=$cat" : '';
+    $my_gallery_id = FIRST_USER_CAT + USER_ID;
+
+
+
+  if ($which == 'sys_menu' ) {
+    if (USER_ID) {
+        template_extract_block($template_sys_menu, 'login');
+    } else {
+        template_extract_block($template_sys_menu, 'logout');
+        template_extract_block($template_sys_menu, 'my_profile');
+    }
+
+    if (!USER_IS_ADMIN) {
+        template_extract_block($template_sys_menu, 'enter_admin_mode');
+        template_extract_block($template_sys_menu, 'leave_admin_mode');
+    } else {
+        if (GALLERY_ADMIN_MODE) {
+            template_extract_block($template_sys_menu, 'enter_admin_mode');
+        } else {
+            template_extract_block($template_sys_menu, 'leave_admin_mode');
+        }
+    }
+
+    if (!USER_CAN_CREATE_ALBUMS) {
+        template_extract_block($template_sys_menu, 'my_gallery');
+    }
+
+    if (USER_CAN_CREATE_ALBUMS) {
+        template_extract_block($template_sys_menu, 'my_profile');
+    }
+
+    if (!USER_CAN_UPLOAD_PICTURES && !USER_CAN_CREATE_ALBUMS) {
+        template_extract_block($template_sys_menu, 'upload_pic');
+    }
+
+    if (USER_ID || !$CONFIG['allow_user_registration']) {
+        template_extract_block($template_sys_menu, 'register');
+    }
+
+    if (!USER_ID || !$CONFIG['allow_memberlist']) {
+        template_extract_block($template_sys_menu, 'allow_memberlist');
+    }
+
+    if (!$CONFIG['display_faq']) {
+        template_extract_block($template_sys_menu, 'faq');
+    }
+
+    $param = array(
+        '{HOME_TGT}' => $CONFIG['home_target'],
+        '{HOME_TITLE}' => $lang_main_menu['home_title'],
+        '{HOME_LNK}' => $lang_main_menu['home_lnk'],
+        '{MY_GAL_TGT}' => "index.php?cat=$my_gallery_id",
+        '{MY_GAL_TITLE}' => $lang_main_menu['my_gal_title'],
+        '{MY_GAL_LNK}' => $lang_main_menu['my_gal_lnk'],
+        '{MEMBERLIST_TGT}' => "usermgr.php",
+        '{MEMBERLIST_TITLE}' => $lang_main_menu['memberlist_title'],
+        '{MEMBERLIST_LNK}' => $lang_main_menu['memberlist_lnk'],
+        '{MY_PROF_TGT}' => "profile.php?op=edit_profile",
+        '{MY_PROF_TITLE}' => $lang_main_menu['my_prof_title'],
+        '{MY_PROF_LNK}' => $lang_main_menu['my_prof_lnk'],
+        '{ADM_MODE_TGT}' => "mode.php?admin_mode=1&amp;referer=$REFERER",
+        '{ADM_MODE_TITLE}' => $lang_main_menu['adm_mode_title'],
+        '{ADM_MODE_LNK}' => $lang_main_menu['adm_mode_lnk'],
+        '{USR_MODE_TGT}' => "mode.php?admin_mode=0&amp;referer=$REFERER",
+        '{USR_MODE_TITLE}' => $lang_main_menu['usr_mode_title'],
+        '{USR_MODE_LNK}' => $lang_main_menu['usr_mode_lnk'],
+        '{UPL_PIC_TGT}' => "upload.php",
+        '{UPL_PIC_TITLE}' => $lang_main_menu['upload_pic_title'],
+        '{UPL_PIC_LNK}' => $lang_main_menu['upload_pic_lnk'],
+        '{REGISTER_TGT}' => "register.php",
+        '{REGISTER_TITLE}' => $lang_main_menu['register_title'],
+        '{REGISTER_LNK}' => $lang_main_menu['register_lnk'],
+        '{LOGIN_TGT}' => "login.php?referer=$REFERER",
+        '{LOGIN_TITLE}' => $lang_main_menu['login_title'],
+        '{LOGIN_LNK}' => $lang_main_menu['login_lnk'],
+        '{LOGOUT_TGT}' => "logout.php?referer=$REFERER",
+        '{LOGOUT_TITLE}' => $lang_main_menu['logout_title'],
+        '{LOGOUT_LNK}' => $lang_main_menu['logout_lnk'] . " [" . stripslashes(USER_NAME) . "]",
+        '{FAQ_TGT}' => "faq.php",
+        '{FAQ_TITLE}' => $lang_main_menu['faq_title'],
+        '{FAQ_LNK}' => $lang_main_menu['faq_lnk'],
+        );
+
+        $sys_menu = template_eval($template_sys_menu, $param);
+  } else {
+
+    if (!$CONFIG['custom_lnk_url']) {
+        template_extract_block($template_sub_menu, 'custom_link');
+    }
+
+    $param = array(
+        '{ALB_LIST_TGT}' => "index.php$cat_l",
+        '{ALB_LIST_TITLE}' => $lang_main_menu['alb_list_title'],
+        '{ALB_LIST_LNK}' => $lang_main_menu['alb_list_lnk'],
+        '{CUSTOM_LNK_TGT}' => $CONFIG['custom_lnk_url'],
+        '{CUSTOM_LNK_TITLE}' => $CONFIG['custom_lnk_name'],
+        '{CUSTOM_LNK_LNK}' => $CONFIG['custom_lnk_name'],
+        '{LASTUP_TGT}' => "thumbnails.php?album=lastup$cat_l2",
+        '{LASTUP_TITLE}' => $lang_main_menu['lastup_title'],
+        '{LASTUP_LNK}' => $lang_main_menu['lastup_lnk'],
+        '{LASTCOM_TGT}' => "thumbnails.php?album=lastcom$cat_l2",
+        '{LASTCOM_TITLE}' => $lang_main_menu['lastcom_title'],
+        '{LASTCOM_LNK}' => $lang_main_menu['lastcom_lnk'],
+        '{TOPN_TGT}' => "thumbnails.php?album=topn$cat_l2",
+        '{TOPN_TITLE}' => $lang_main_menu['topn_title'],
+        '{TOPN_LNK}' => $lang_main_menu['topn_lnk'],
+        '{TOPRATED_TGT}' => "thumbnails.php?album=toprated$cat_l2",
+        '{TOPRATED_TITLE}' => $lang_main_menu['toprated_title'],
+        '{TOPRATED_LNK}' => $lang_main_menu['toprated_lnk'],
+        '{FAV_TGT}' => "thumbnails.php?album=favpics",
+        '{FAV_TITLE}' => $lang_main_menu['fav_title'],
+        '{FAV_LNK}' => $lang_main_menu['fav_lnk'],
+        '{SEARCH_TGT}' => "search.php",
+        '{SEARCH_TITLE}' => $lang_main_menu['search_title'],
+        '{SEARCH_LNK}' => $lang_main_menu['search_lnk'],
+        );
+    $sub_menu = template_eval($template_sub_menu, $param);
+  }
+
+    return $$which;
+}
+
+function theme_admin_mode_menu()
+{
+    global $cat;
+    global $lang_gallery_admin_menu, $lang_user_admin_menu;
+    global $template_gallery_admin_menu, $template_user_admin_menu;
+    global $CONFIG;
+
+    $cat_l = isset($cat) ? "?cat=$cat" : '';
+
+    static $admin_menu = '';
+
+    // Populate the admin menu only if empty to avoid template errors
+    if ($admin_menu == '') {
+
+        if (GALLERY_ADMIN_MODE) {
+
+        if ($CONFIG['log_ecards'] == 0) {
+            template_extract_block($template_gallery_admin_menu, 'log_ecards');
+        }
+
+        if (cpg_get_pending_approvals() == 0) {
+             template_extract_block($template_gallery_admin_menu, 'admin_approval');
+        }
+
+            // do the docs exist on the webserver?
+            if (file_exists('docs/index.htm') == true) {
+                $documentation_href = 'docs/index.htm';
+            } else {
+                $documentation_href = 'http://coppermine-gallery.net/demo/cpg14x/docs/index.htm';
+            }
+            $param = array('{CATL}' => $cat_l,
+                '{UPL_APP_TITLE}' => $lang_gallery_admin_menu['upl_app_title'],
+                '{UPL_APP_LNK}' => $lang_gallery_admin_menu['upl_app_lnk'],
+                '{ADMIN_TITLE}' => $lang_gallery_admin_menu['admin_title'],
+                '{ADMIN_LNK}' => $lang_gallery_admin_menu['admin_lnk'],
+                '{ALBUMS_TITLE}' => $lang_gallery_admin_menu['albums_title'],
+                '{ALBUMS_LNK}' => $lang_gallery_admin_menu['albums_lnk'],
+                '{CATEGORIES_TITLE}' => $lang_gallery_admin_menu['categories_title'],
+                '{CATEGORIES_LNK}' => $lang_gallery_admin_menu['categories_lnk'],
+                '{USERS_TITLE}' => $lang_gallery_admin_menu['users_title'],
+                '{USERS_LNK}' => $lang_gallery_admin_menu['users_lnk'],
+                '{GROUPS_TITLE}' => $lang_gallery_admin_menu['groups_title'],
+                '{GROUPS_LNK}' => $lang_gallery_admin_menu['groups_lnk'],
+                '{COMMENTS_TITLE}' => $lang_gallery_admin_menu['comments_title'],
+                '{COMMENTS_LNK}' => $lang_gallery_admin_menu['comments_lnk'],
+                '{SEARCHNEW_TITLE}' => $lang_gallery_admin_menu['searchnew_title'],
+                '{SEARCHNEW_LNK}' => $lang_gallery_admin_menu['searchnew_lnk'],
+                '{MY_PROF_TITLE}' => $lang_user_admin_menu['my_prof_title'],
+                '{MY_PROF_LNK}' => $lang_user_admin_menu['my_prof_lnk'],
+                '{UTIL_TITLE}' => $lang_gallery_admin_menu['util_title'],
+                '{UTIL_LNK}' => $lang_gallery_admin_menu['util_lnk'],
+                '{BAN_TITLE}' => $lang_gallery_admin_menu['ban_title'],
+                '{BAN_LNK}' => $lang_gallery_admin_menu['ban_lnk'],
+                '{DB_ECARD_TITLE}' => $lang_gallery_admin_menu['db_ecard_title'],
+                '{DB_ECARD_LNK}' => $lang_gallery_admin_menu['db_ecard_lnk'],
+                '{PICTURES_TITLE}' => $lang_gallery_admin_menu['pictures_title'],
+                '{PICTURES_LNK}' => $lang_gallery_admin_menu['pictures_lnk'],
+                '{DOCUMENTATION_HREF}' => $documentation_href,
+                '{DOCUMENTATION_TITLE}' => $lang_gallery_admin_menu['documentation_title'],
+                '{DOCUMENTATION_LNK}' => $lang_gallery_admin_menu['documentation_lnk'],
+                );
+
+            $html = template_eval($template_gallery_admin_menu, $param);
+            $html.= cpg_alert_dev_version();
+        } elseif (USER_ADMIN_MODE) {
+            $param = array('{ALBMGR_TITLE}' => $lang_user_admin_menu['albmgr_title'],
+                '{ALBMGR_LNK}' => $lang_user_admin_menu['albmgr_lnk'],
+                '{MODIFYALB_TITLE}' => $lang_user_admin_menu['modifyalb_title'],
+                '{MODIFYALB_LNK}' => $lang_user_admin_menu['modifyalb_lnk'],
+                '{MY_PROF_TITLE}' => $lang_user_admin_menu['my_prof_title'],
+                '{MY_PROF_LNK}' => $lang_user_admin_menu['my_prof_lnk'],
+                '{PICTURES_TITLE}' => $lang_gallery_admin_menu['pictures_title'],
+                '{PICTURES_LNK}' => $lang_gallery_admin_menu['pictures_lnk'],
+                );
+
+            $html = template_eval($template_user_admin_menu, $param);
+        } else {
+            $html = '';
+        }
+
+        $admin_menu = $html;
+    }
+
+    return $admin_menu;
+}
+
+function theme_display_cat_list($breadcrumb, &$cat_data, $statistics)
+{
+    global $template_cat_list, $lang_cat_list;
+    if (count($cat_data) > 0) {
+        starttable('100%');
+        $template = template_extract_block($template_cat_list, 'header');
+        $params = array('{CATEGORY}' => $lang_cat_list['category'],
+            '{ALBUMS}' => $lang_cat_list['albums'],
+            '{PICTURES}' => $lang_cat_list['pictures'],
+            );
+        echo template_eval($template, $params);
+    }
+
+    $template_noabl = template_extract_block($template_cat_list, 'catrow_noalb');
+    $template = template_extract_block($template_cat_list, 'catrow');
+    foreach($cat_data as $category) {
+        if (!isset($category['cat_thumb'])) { $category['cat_thumb'] = ''; }
+        if (count($category) == 3) {
+            $params = array('{CAT_TITLE}' => $category[0],
+                    '{CAT_THUMB}' => $category['cat_thumb'],
+                '{CAT_DESC}' => $category[1]
+                );
+            echo template_eval($template_noabl, $params);
+        } elseif (isset($category['cat_albums']) && ($category['cat_albums'] != '')) {
+            $params = array('{CAT_TITLE}' => $category[0],
+                '{CAT_THUMB}' => $category['cat_thumb'],
+                '{CAT_DESC}' => $category[1],
+                '{CAT_ALBUMS}' => $category['cat_albums'],
+                '{ALB_COUNT}' => $category[2],
+                '{PIC_COUNT}' => $category[3],
+                );
+            echo template_eval($template, $params);
+        } else {
+            $params = array('{CAT_TITLE}' => $category[0],
+                '{CAT_THUMB}' => $category['cat_thumb'],
+                '{CAT_DESC}' => $category[1],
+                '{CAT_ALBUMS}' => '',
+                '{ALB_COUNT}' => $category[2],
+                '{PIC_COUNT}' => $category[3],
+                );
+            echo template_eval($template, $params);
+        }
+    }
+
+    if ($statistics && count($cat_data) > 0) {
+        $template = template_extract_block($template_cat_list, 'footer');
+        $params = array('{STATISTICS}' => $statistics);
+        echo template_eval($template, $params);
+    }
+
+
+    if (count($cat_data) > 0)
+          endtable();
+        echo template_extract_block($template_cat_list, 'spacer');
+}
+
+function theme_display_breadcrumb($breadcrumb, &$cat_data)
+{
+    /**
+     * ** added breadcrumb as a seperate element
+     */
+    global $template_breadcrumb, $lang_breadcrumb;
+
+    starttable('100%');
+    if ($breadcrumb) {
+        $template = template_extract_block($template_breadcrumb, 'breadcrumb');
+        $params = array('{BREADCRUMB}' => $breadcrumb
+            );
+        echo template_eval($template, $params);
+    }
+        endtable();
+}
+
+function theme_display_album_list(&$alb_list, $nbAlb, $cat, $page, $total_pages)
+{
+
+    global $CONFIG, $STATS_IN_ALB_LIST, $statistics, $template_tab_display, $template_album_list, $lang_album_list;
+
+    $theme_alb_list_tab_tmpl = $template_tab_display;
+
+    $theme_alb_list_tab_tmpl['left_text'] = strtr($theme_alb_list_tab_tmpl['left_text'], array('{LEFT_TEXT}' => $lang_album_list['album_on_page']));
+    $theme_alb_list_tab_tmpl['inactive_tab'] = strtr($theme_alb_list_tab_tmpl['inactive_tab'], array('{LINK}' => 'index.php?cat=' . $cat . '&amp;page=%d'));
+    $theme_alb_list_tab_tmpl['inactive_next_tab'] = strtr($theme_alb_list_tab_tmpl['inactive_next_tab'], array('{LINK}' => 'index.php?cat=' . $cat . '&amp;page=%d'));
+    $theme_alb_list_tab_tmpl['inactive_prev_tab'] = strtr($theme_alb_list_tab_tmpl['inactive_prev_tab'], array('{LINK}' => 'index.php?cat=' . $cat . '&amp;page=%d'));
+
+    $tabs = create_tabs($nbAlb, $page, $total_pages, $theme_alb_list_tab_tmpl);
+
+    $album_cell = template_extract_block($template_album_list, 'album_cell');
+    $empty_cell = template_extract_block($template_album_list, 'empty_cell');
+    $tabs_row = template_extract_block($template_album_list, 'tabs');
+    $stat_row = template_extract_block($template_album_list, 'stat_row');
+    $spacer = template_extract_block($template_album_list, 'spacer');
+    $header = template_extract_block($template_album_list, 'header');
+    $footer = template_extract_block($template_album_list, 'footer');
+    $rows_separator = template_extract_block($template_album_list, 'row_separator');
+
+    $count = 0;
+
+    $columns = $CONFIG['album_list_cols'];
+    $column_width = ceil(100 / $columns);
+    $thumb_cell_width = $CONFIG['alb_list_thumb_size'] + 2;
+
+    starttable('100%');
+
+    if ($STATS_IN_ALB_LIST) {
+        $params = array('{STATISTICS}' => $statistics,
+            '{COLUMNS}' => $columns,
+            );
+        echo template_eval($stat_row, $params);
+    }
+
+    echo $header;
+
+    if (is_array($alb_list)) {
+        foreach($alb_list as $album) {
+            $count ++;
+
+            $params = array('{COL_WIDTH}' => $column_width,
+                '{ALBUM_TITLE}' => $album['album_title'],
+                '{THUMB_CELL_WIDTH}' => $thumb_cell_width,
+                '{ALB_LINK_TGT}' => "thumbnails.php?album={$album['aid']}",
+                '{ALB_LINK_PIC}' => $album['thumb_pic'],
+                '{ADMIN_MENU}' => $album['album_adm_menu'],
+                '{ALB_DESC}' => $album['album_desc'],
+                '{ALB_INFOS}' => $album['album_info'],
+                );
+
+            echo template_eval($album_cell, $params);
+
+            if ($count % $columns == 0 && $count < count($alb_list)) {
+                echo $rows_separator;
+            }
+        }
+    }
+
+    $params = array('{COL_WIDTH}' => $column_width,
+          '{SPACER}' => $thumb_cell_width
+          );
+    $empty_cell = template_eval($empty_cell, $params);
+
+    while ($count++ % $columns != 0) {
+        echo $empty_cell;
+    }
+
+    echo $footer;
+    // Tab display
+    $params = array('{COLUMNS}' => $columns,
+        '{TABS}' => $tabs,
+        );
+    echo template_eval($tabs_row, $params);
+
+    endtable();
+
+    echo $spacer;
+}
+
+// Function to display first level Albums of a category
+function theme_display_album_list_cat(&$alb_list, $nbAlb, $cat, $page, $total_pages)
+{
+    global $CONFIG, $STATS_IN_ALB_LIST, $statistics, $template_tab_display, $template_album_list_cat, $lang_album_list;
+    if (!$CONFIG['first_level']) {
+        return;
+    }
+
+    $theme_alb_list_tab_tmpl = $template_tab_display;
+
+    $theme_alb_list_tab_tmpl['left_text'] = strtr($theme_alb_list_tab_tmpl['left_text'], array('{LEFT_TEXT}' => $lang_album_list['album_on_page']));
+    $theme_alb_list_tab_tmpl['inactive_tab'] = strtr($theme_alb_list_tab_tmpl['inactive_tab'], array('{LINK}' => 'index.php?cat=' . $cat . '&amp;page=%d'));
+
+    $tabs = create_tabs($nbAlb, $page, $total_pages, $theme_alb_list_tab_tmpl);
+    // echo $template_album_list_cat;
+    $template_album_list_cat1 = $template_album_list_cat;
+    $album_cell = template_extract_block($template_album_list_cat1, 'c_album_cell');
+    $empty_cell = template_extract_block($template_album_list_cat1, 'c_empty_cell');
+    $tabs_row = template_extract_block($template_album_list_cat1, 'c_tabs');
+    $stat_row = template_extract_block($template_album_list_cat1, 'c_stat_row');
+    $spacer = template_extract_block($template_album_list_cat1, 'c_spacer');
+    $header = template_extract_block($template_album_list_cat1, 'c_header');
+    $footer = template_extract_block($template_album_list_cat1, 'c_footer');
+    $rows_separator = template_extract_block($template_album_list_cat1, 'c_row_separator');
+
+    $count = 0;
+
+    $columns = $CONFIG['album_list_cols'];
+    $column_width = ceil(100 / $columns);
+    $thumb_cell_width = $CONFIG['alb_list_thumb_size'] + 2;
+
+    starttable('100%');
+
+    if ($STATS_IN_ALB_LIST) {
+        $params = array('{STATISTICS}' => $statistics,
+            '{COLUMNS}' => $columns,
+            );
+        echo template_eval($stat_row, $params);
+    }
+
+    echo $header;
+
+    if (is_array($alb_list)) {
+        foreach($alb_list as $album) {
+            $count ++;
+
+            $params = array('{COL_WIDTH}' => $column_width,
+                '{ALBUM_TITLE}' => $album['album_title'],
+                '{THUMB_CELL_WIDTH}' => $thumb_cell_width,
+                '{ALB_LINK_TGT}' => "thumbnails.php?album={$album['aid']}",
+                '{ALB_LINK_PIC}' => $album['thumb_pic'],
+                '{ADMIN_MENU}' => $album['album_adm_menu'],
+                '{ALB_DESC}' => $album['album_desc'],
+                '{ALB_INFOS}' => $album['album_info'],
+                );
+
+            echo template_eval($album_cell, $params);
+
+            if ($count % $columns == 0 && $count < count($alb_list)) {
+                echo $rows_separator;
+            }
+        }
+    }
+
+    $params = array('{COL_WIDTH}' => $column_width,
+          '{SPACER}' => $thumb_cell_width
+          );
+    $empty_cell = template_eval($empty_cell, $params);
+
+    while ($count++ % $columns != 0) {
+        echo $empty_cell;
+    }
+
+    echo $footer;
+    // Tab display
+    $params = array('{COLUMNS}' => $columns,
+        '{TABS}' => $tabs,
+        );
+    echo template_eval($tabs_row, $params);
+
+    endtable();
+
+    echo $spacer;
+}
+
+function theme_display_thumbnails(&$thumb_list, $nbThumb, $album_name, $aid, $cat, $page, $total_pages, $sort_options, $display_tabs, $mode = 'thumb')
+{
+    global $CONFIG;
+    global $template_thumb_view_title_row,$template_fav_thumb_view_title_row, $lang_thumb_view, $template_tab_display, $template_thumbnail_view, $lang_album_list;
+
+    static $header = '';
+    static $thumb_cell = '';
+    static $empty_cell = '';
+    static $row_separator = '';
+    static $footer = '';
+    static $tabs = '';
+    static $spacer = '';
+
+    if ($header == '') {
+        $thumb_cell = template_extract_block($template_thumbnail_view, 'thumb_cell');
+        $tabs = template_extract_block($template_thumbnail_view, 'tabs');
+        $header = template_extract_block($template_thumbnail_view, 'header');
+        $empty_cell = template_extract_block($template_thumbnail_view, 'empty_cell');
+        $row_separator = template_extract_block($template_thumbnail_view, 'row_separator');
+        $footer = template_extract_block($template_thumbnail_view, 'footer');
+        $spacer = template_extract_block($template_thumbnail_view, 'spacer');
+    }
+
+    $cat_link = is_numeric($aid) ? '' : '&amp;cat=' . $cat;
+    $uid_link = (isset($_GET['uid']) && is_numeric($_GET['uid'])) ? '&amp;uid=' . $_GET['uid'] : '';
+
+    $theme_thumb_tab_tmpl = $template_tab_display;
+
+    if ($mode == 'thumb') {
+        $theme_thumb_tab_tmpl['left_text'] = strtr($theme_thumb_tab_tmpl['left_text'], array('{LEFT_TEXT}' => $aid == 'lastalb' ? $lang_album_list['album_on_page'] : $lang_thumb_view['pic_on_page']));
+        $theme_thumb_tab_tmpl['inactive_tab'] = strtr($theme_thumb_tab_tmpl['inactive_tab'], array('{LINK}' => 'thumbnails.php?album=' . $aid . $cat_link . $uid_link . '&amp;page=%d'));
+        $theme_thumb_tab_tmpl['inactive_next_tab'] = strtr($theme_thumb_tab_tmpl['inactive_next_tab'], array('{LINK}' => 'thumbnails.php?album=' . $aid . $cat_link . $uid_link . '&amp;page=%d'));
+        $theme_thumb_tab_tmpl['inactive_prev_tab'] = strtr($theme_thumb_tab_tmpl['inactive_prev_tab'], array('{LINK}' => 'thumbnails.php?album=' . $aid . $cat_link . $uid_link . '&amp;page=%d'));
+    } else {
+        $theme_thumb_tab_tmpl['left_text'] = strtr($theme_thumb_tab_tmpl['left_text'], array('{LEFT_TEXT}' => $lang_thumb_view['user_on_page']));
+        $theme_thumb_tab_tmpl['inactive_tab'] = strtr($theme_thumb_tab_tmpl['inactive_tab'], array('{LINK}' => 'index.php?cat=' . $cat . '&amp;page=%d'));
+        $theme_thumb_tab_tmpl['inactive_next_tab'] = strtr($theme_thumb_tab_tmpl['inactive_next_tab'], array('{LINK}' => 'index.php?cat=' . $cat . '&amp;page=%d'));
+        $theme_thumb_tab_tmpl['inactive_prev_tab'] = strtr($theme_thumb_tab_tmpl['inactive_prev_tab'], array('{LINK}' => 'index.php?cat=' . $cat . '&amp;page=%d'));
+    }
+
+    $thumbcols = $CONFIG['thumbcols'];
+    $cell_width = ceil(100 / $CONFIG['thumbcols']) . '%';
+
+    $tabs_html = $display_tabs ? create_tabs($nbThumb, $page, $total_pages, $theme_thumb_tab_tmpl) : '';
+    // The sort order options are not available for meta albums
+    if ($sort_options) {
+        $param = array('{ALBUM_NAME}' => $album_name,
+            '{AID}' => $aid,
+            '{PAGE}' => $page,
+            '{NAME}' => $lang_thumb_view['name'],
+            '{TITLE}' => $lang_thumb_view['title'],
+            '{DATE}' => $lang_thumb_view['date'],
+            '{SORT_TA}' => $lang_thumb_view['sort_ta'],
+            '{SORT_TD}' => $lang_thumb_view['sort_td'],
+            '{SORT_NA}' => $lang_thumb_view['sort_na'],
+            '{SORT_ND}' => $lang_thumb_view['sort_nd'],
+            '{SORT_DA}' => $lang_thumb_view['sort_da'],
+            '{SORT_DD}' => $lang_thumb_view['sort_dd'],
+            '{POSITION}' => $lang_thumb_view['position'],
+            '{SORT_PA}' => $lang_thumb_view['sort_pa'],
+            '{SORT_PD}' => $lang_thumb_view['sort_pd'],
+            );
+        $title = template_eval($template_thumb_view_title_row, $param);
+    } else if ($aid == 'favpics' && $CONFIG['enable_zipdownload'] == 1) { //Lots of stuff can be added here later
+       $param = array('{ALBUM_NAME}' => $album_name,
+                             '{DOWNLOAD_ZIP}'=>$lang_thumb_view['download_zip']
+                               );
+       $title = template_eval($template_fav_thumb_view_title_row, $param);
+    }else{
+        $title = $album_name;
+    }
+
+
+    if ($mode == 'thumb') {
+        starttable('100%', $title, $thumbcols);
+    } else {
+        starttable('100%');
+    }
+
+    echo $header;
+
+    $i = 0;
+    foreach($thumb_list as $thumb) {
+        $i++;
+        if ($mode == 'thumb') {
+            if ($aid == 'lastalb') {
+                $params = array('{CELL_WIDTH}' => $cell_width,
+                    '{LINK_TGT}' => "thumbnails.php?album={$thumb['aid']}",
+                    '{THUMB}' => $thumb['image'],
+                    '{CAPTION}' => $thumb['caption'],
+                    '{ADMIN_MENU}' => $thumb['admin_menu']
+                    );
+            } else {
+                $params = array('{CELL_WIDTH}' => $cell_width,
+                    '{LINK_TGT}' => "displayimage.php?album=$aid$cat_link&amp;pos={$thumb['pos']}$uid_link",
+                    '{THUMB}' => $thumb['image'],
+                    '{CAPTION}' => $thumb['caption'],
+                    '{ADMIN_MENU}' => $thumb['admin_menu']
+                    );
+            }
+        } else {
+            $params = array('{CELL_WIDTH}' => $cell_width,
+                '{LINK_TGT}' => "index.php?cat={$thumb['cat']}",
+                '{THUMB}' => $thumb['image'],
+                '{CAPTION}' => $thumb['caption'],
+                '{ADMIN_MENU}' => ''
+                );
+        }
+        echo template_eval($thumb_cell, $params);
+
+        if ((($i % $thumbcols) == 0) && ($i < count($thumb_list))) {
+            echo $row_separator;
+        }
+    }
+    for (;($i % $thumbcols); $i++) {
+        echo $empty_cell;
+    }
+    echo $footer;
+
+    if ($display_tabs) {
+        $params = array('{THUMB_COLS}' => $thumbcols,
+            '{TABS}' => $tabs_html
+            );
+        echo template_eval($tabs, $params);
+    }
+
+    endtable();
+    echo $spacer;
+}
+
+// Added to display film_strip
+function theme_display_film_strip(&$thumb_list, $nbThumb, $album_name, $aid, $cat, $pos, $sort_options, $mode = 'thumb')
+{
+    global $CONFIG, $THEME_DIR;
+    global $template_film_strip, $lang_film_strip;
+
+    static $template = '';
+    static $thumb_cell = '';
+    static $empty_cell = '';
+    static $spacer = '';
+
+    if ((!$template)) {
+        $template = $template_film_strip;
+        $thumb_cell = template_extract_block($template, 'thumb_cell');
+        $empty_cell = template_extract_block($template, 'empty_cell');
+    }
+
+    $cat_link = is_numeric($aid) ? '' : '&amp;cat=' . $cat;
+    $uid_link = (isset($_GET['uid']) && is_numeric($_GET['uid'])) ? '&amp;uid=' . $_GET['uid'] : '';
+
+    $thumbcols = $CONFIG['thumbcols'];
+    $cell_width = ceil(100 / $CONFIG['max_film_strip_items']) . '%';
+
+    $i = 0;
+    $thumb_strip = '';
+    foreach($thumb_list as $thumb) {
+        $i++;
+        if ($mode == 'thumb') {
+            $params = array('{CELL_WIDTH}' => $cell_width,
+                '{LINK_TGT}' => "displayimage.php?album=$aid$cat_link&amp;pos={$thumb['pos']}$uid_link",
+                '{THUMB}' => $thumb['image'],
+                '{CAPTION}' => $thumb['caption'],
+                '{ADMIN_MENU}' => ''
+                );
+        } else {
+            $params = array('{CELL_WIDTH}' => $cell_width,
+                '{LINK_TGT}' => "index.php?cat={$thumb['cat']}",
+                '{THUMB}' => $thumb['image'],
+                '{CAPTION}' => '',
+                '{ADMIN_MENU}' => ''
+                );
+        }
+        $thumb_strip .= template_eval($thumb_cell, $params);
+    }
+
+    if (defined('THEME_HAS_FILM_STRIP_GRAPHICS')) {
+        $tile1 = $THEME_DIR . 'images/tile1.gif';
+        $tile2 = $THEME_DIR . 'images/tile2.gif';
+    } elseif (defined('THEME_HAS_FILM_STRIP_GRAPHIC')) {
+        $tile1=$tile2=$THEME_DIR . 'images/tile.gif';
+    } else {
+        $tile1=$tile2= 'images/tile.gif';
+    }
+
+    $params = array('{THUMB_STRIP}' => $thumb_strip,
+        '{COLS}' => $i,
+        '{TILE1}' => $tile1,
+        '{TILE2}' => $tile2,
+        );
+
+    ob_start();
+    starttable($CONFIG['picture_table_width']);
+    echo template_eval($template, $params);
+    endtable();
+    $film_strip = ob_get_contents();
+    ob_end_clean();
+
+    return $film_strip;
+}
+
+function theme_no_img_to_display($album_name)
+{
+    global $lang_errors, $template_no_img_to_display;
+
+    static $template = '';
+    static $spacer;
+
+    if ((!$template)) {
+        $template = $template_no_img_to_display;
+        $spacer = template_extract_block($template, 'spacer');
+    }
+
+    $params = array('{TEXT}' => $lang_errors['no_img_to_display']);
+    starttable('100%', $album_name);
+    echo template_eval($template, $params);
+    endtable();
+}
+
+function theme_display_image($nav_menu, $picture, $votes, $pic_info, $comments, $film_strip)
+{
+    global $CONFIG;
+
+    $width = $CONFIG['picture_table_width'];
+
+    starttable();
+    echo $nav_menu;
+    endtable();
+
+    starttable();
+    echo $picture;
+    endtable();
+    if ($CONFIG['display_film_strip'] == 1) {
+        echo $film_strip;
+    }
+
+
+    echo $votes;
+
+
+
+    $picinfo = isset($_COOKIE['picinfo']) ? $_COOKIE['picinfo'] : ($CONFIG['display_pic_info'] ? 'block' : 'none');
+    echo "<div id=\"picinfo\" style=\"display: $picinfo;\">\n";
+    starttable();
+    echo $pic_info;
+    endtable();
+    echo "</div>\n";
+
+    echo "<div id=\"comments\">\n";
+        echo $comments;
+        echo "</div>\n";
+
+}
+
+function theme_html_picinfo(&$info)
+{
+    global $lang_picinfo;
+
+    $html = '';
+
+    $html .= "        <tr><td colspan=\"2\" class=\"tableh2_compact\"><b>{$lang_picinfo['title']}</b></td></tr>\n";
+    $template = "        <tr><td class=\"tableb_compact\" valign=\"top\" >%s:</td><td class=\"tableb_compact\">%s</td></tr>\n";
+    foreach ($info as $key => $value) $html .= sprintf($template, $key, $value);
+
+    return $html;
+}
+
+// Displays a picture
+function theme_html_picture()
+{
+    global $CONFIG, $CURRENT_PIC_DATA, $CURRENT_ALBUM_DATA, $USER;
+    global $album, $comment_date_fmt, $template_display_media;
+    global $lang_display_image_php, $lang_picinfo;
+
+    $pid = $CURRENT_PIC_DATA['pid'];
+    $pic_title = '';
+
+    if (!isset($USER['liv']) || !is_array($USER['liv'])) {
+        $USER['liv'] = array();
+    }
+    // Add 1 to hit counter
+    if (!USER_IS_ADMIN && !in_array($pid, $USER['liv']) && isset($_COOKIE[$CONFIG['cookie_name'] . '_data'])) {
+        add_hit($pid);
+        if (count($USER['liv']) > 4) array_shift($USER['liv']);
+        array_push($USER['liv'], $pid);
+    }
+
+    if($CONFIG['thumb_use']=='ht' && $CURRENT_PIC_DATA['pheight'] > $CONFIG['picture_width'] ){ // The wierd comparision is because only picture_width is stored
+      $condition = true;
+    }elseif($CONFIG['thumb_use']=='wd' && $CURRENT_PIC_DATA['pwidth'] > $CONFIG['picture_width']){
+      $condition = true;
+    }elseif($CONFIG['thumb_use']=='any' && max($CURRENT_PIC_DATA['pwidth'], $CURRENT_PIC_DATA['pheight']) > $CONFIG['picture_width']){
+      $condition = true;
+    }else{
+     $condition = false;
+    }
+
+    if ($CURRENT_PIC_DATA['title'] != '') {
+        $pic_title .= $CURRENT_PIC_DATA['title'] . "\n";
+    }
+    if ($CURRENT_PIC_DATA['caption'] != '') {
+        $pic_title .= $CURRENT_PIC_DATA['caption'] . "\n";
+    }
+    if ($CURRENT_PIC_DATA['keywords'] != '') {
+        $pic_title .= $lang_picinfo['Keywords'] . ": " . $CURRENT_PIC_DATA['keywords'];
+    }
+
+    if (!$CURRENT_PIC_DATA['title'] && !$CURRENT_PIC_DATA['caption']) {
+        template_extract_block($template_display_media, 'img_desc');
+    } else {
+        if (!$CURRENT_PIC_DATA['title']) {
+            template_extract_block($template_display_media, 'title');
+        }
+        if (!$CURRENT_PIC_DATA['caption']) {
+            template_extract_block($template_display_media, 'caption');
+        }
+    }
+
+    $CURRENT_PIC_DATA['menu'] = html_picture_menu(); //((USER_ADMIN_MODE && $CURRENT_ALBUM_DATA['category'] == FIRST_USER_CAT + USER_ID) || ($CONFIG['users_can_edit_pics'] && $CURRENT_PIC_DATA['owner_id'] == USER_ID && USER_ID != 0) || GALLERY_ADMIN_MODE) ? html_picture_menu($pid) : '';
+
+    if ($CONFIG['make_intermediate'] && $condition ) {
+        $picture_url = get_pic_url($CURRENT_PIC_DATA, 'normal');
+    } else {
+        $picture_url = get_pic_url($CURRENT_PIC_DATA, 'fullsize');
+    }
+
+    $image_size = compute_img_size($CURRENT_PIC_DATA['pwidth'], $CURRENT_PIC_DATA['pheight'], $CONFIG['picture_width']);
+
+    $pic_title = '';
+    $mime_content = cpg_get_type($CURRENT_PIC_DATA['filename']);
+
+
+    if ($mime_content['content']=='movie' || $mime_content['content']=='audio') {
+
+        if ($CURRENT_PIC_DATA['pwidth']==0 || $CURRENT_PIC_DATA['pheight']==0) {
+            $CURRENT_PIC_DATA['pwidth']  = 320; // Default width
+
+            // Set default height; if file is a movie
+            if ($mime_content['content']=='movie') {
+                $CURRENT_PIC_DATA['pheight'] = 240; // Default height
+            }
+        }
+
+        $ctrl_offset['mov']=15;
+        $ctrl_offset['wmv']=45;
+        $ctrl_offset['swf']=0;
+        $ctrl_offset['rm']=0;
+        $ctrl_offset_default=45;
+        $ctrl_height = (isset($ctrl_offset[$mime_content['extension']]))?($ctrl_offset[$mime_content['extension']]):$ctrl_offset_default;
+        $image_size['whole']='width="'.$CURRENT_PIC_DATA['pwidth'].'" height="'.($CURRENT_PIC_DATA['pheight']+$ctrl_height).'"';
+    }
+
+    if ($mime_content['content']=='image') {
+        if (isset($image_size['reduced'])) {
+            $winsizeX = $CURRENT_PIC_DATA['pwidth']+5;  //the +'s are the mysterious FF and IE paddings
+            $winsizeY = $CURRENT_PIC_DATA['pheight']+3; //the +'s are the mysterious FF and IE paddings
+            $pic_html = "<a href=\"javascript:;\" onclick=\"MM_openBrWindow('displayimage.php?pid=$pid&amp;fullsize=1','" . uniqid(rand()) . "','scrollbars=yes,toolbar=no,status=no,resizable=yes,width=$winsizeX,height=$winsizeY')\">";
+            $pic_title = $lang_display_image_php['view_fs'] . "\n==============\n" . $pic_title;
+            $pic_html .= "<img src=\"" . $picture_url . "\" class=\"image\" border=\"0\" alt=\"{$lang_display_image_php['view_fs']}\" /><br />";
+            $pic_html .= "</a>\n";
+        } else {
+            $pic_html = "<img src=\"" . $picture_url . "\" {$image_size['geom']} class=\"image\" border=\"0\" alt=\"\" /><br />\n";
+        }
+    } elseif ($mime_content['content']=='document') {
+        $pic_thumb_url = get_pic_url($CURRENT_PIC_DATA,'thumb');
+        $pic_html = "<a href=\"{$picture_url}\" target=\"_blank\" class=\"document_link\"><img src=\"".$pic_thumb_url."\" border=\"0\" class=\"image\" /></a>\n<br />";
+    } else {
+        $autostart = ($CONFIG['media_autostart']) ? ('true'):('false');
+
+        $players['WMP'] = array('id' => 'MediaPlayer',
+                                'clsid' => 'classid="clsid:22D6F312-B0F6-11D0-94AB-0080C74C7E95" ',
+                                'codebase' => 'codebase="http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=6,4,7,1112" ',
+                                'mime' => 'type="application/x-mplayer2" ',
+                               );
+        $players['RMP'] = array('id' => 'RealPlayer',
+                                'clsid' => 'classid="clsid:CFCDAA03-8BE4-11cf-B84B-0020AFBBCCFA" ',
+                                'codebase' => '',
+                                'mime' => 'type="audio/x-pn-realaudio-plugin" '
+                               );
+        $players['QT']  = array('id' => 'QuickTime',
+                                'clsid' => 'classid="clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B" ',
+                                'codebase' => 'codebase="http://www.apple.com/qtactivex/qtplugin.cab" ',
+                                'mime' => 'type="video/x-quicktime" '
+                               );
+        $players['SWF'] = array('id' => 'SWFlash',
+                                'clsid' => ' classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" ',
+                                'codebase' => 'codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" ',
+                                'mime' => 'type="application/x-shockwave-flash" '
+                               );
+        $players['UNK'] = array('id' => 'DefaultPlayer',
+                                'clsid' => '',
+                                'codebase' => '',
+                                'mime' => ''
+                               );
+
+        if (isset($_COOKIE[$CONFIG['cookie_name'].'_'.$mime_content['extension'].'player'])) {
+            $user_player = $_COOKIE[$CONFIG['cookie_name'].'_'.$mime_content['extension'].'player'];
+        } else {
+            $user_player = $mime_content['player'];
+        }
+
+                // There isn't a player selected or user wants client-side control
+        if (!$user_player) {
+            $user_player = 'UNK';
+        }
+
+        $player = $players[$user_player];
+
+        $pic_html  = '<object id="'.$player['id'].'" '.$player['clsid'].$player['codebase'].$player['mime'].$image_size['whole'].'>';
+        $pic_html .= "<param name=\"autostart\" value=\"$autostart\" /><param name=\"src\" value=\"". $picture_url . "\" />";
+        $pic_html .= '<embed '.$image_size['whole'].' src="'. $picture_url . '" autostart="'.$autostart.'" '.$player['mime'].'></embed>';
+        $pic_html .= "</object><br />\n";
+    }
+
+    $CURRENT_PIC_DATA['html'] = $pic_html;
+    $CURRENT_PIC_DATA['header'] = '';
+    $CURRENT_PIC_DATA['footer'] = '';
+
+    $CURRENT_PIC_DATA = CPGPluginAPI::filter('file_data',$CURRENT_PIC_DATA);
+
+    $params = array('{CELL_HEIGHT}' => '100',
+        '{IMAGE}' => $CURRENT_PIC_DATA['header'].$CURRENT_PIC_DATA['html'].$CURRENT_PIC_DATA['footer'],
+        '{ADMIN_MENU}' => $CURRENT_PIC_DATA['menu'],
+        '{TITLE}' => bb_decode($CURRENT_PIC_DATA['title']),
+        '{CAPTION}' => bb_decode($CURRENT_PIC_DATA['caption']),
+        );
+
+    return template_eval($template_display_media, $params);
+}
+
+function theme_html_img_nav_menu()
+{
+    global $CONFIG, $CURRENT_PIC_DATA, $meta_nav, $THEME_DIR ; //$PHP_SELF,
+    global $album, $cat, $pos, $pic_count, $lang_img_nav_bar, $lang_text_dir, $template_img_navbar;
+
+    $cat_link = is_numeric($album) ? '' : '&amp;cat=' . $cat;
+    $uid_link = (isset($_GET['uid']) && is_numeric($_GET['uid'])) ? '&amp;uid=' . $_GET['uid'] : '';
+
+    $human_pos = $pos + 1;
+    $page = ceil(($pos + 1) / ($CONFIG['thumbrows'] * $CONFIG['thumbcols']));
+    $pid = $CURRENT_PIC_DATA['pid'];
+    $linebreak = "\r\n";
+
+    $start = 0;
+        $start_tgt = "{$_SERVER['PHP_SELF']}?album=$album$cat_link&amp;pos=$start";
+        $start_title = $lang_img_nav_bar['go_album_start'];
+        $meta_nav .= $linebreak . "<link rel=\"start\" href=\"$start_tgt\" title=\"$start_title\" />";
+        $end = $pic_count - 1;
+        $end_tgt = "{$_SERVER['PHP_SELF']}?album=$album$cat_link&amp;pos=$end";
+        $end_title = $lang_img_nav_bar['go_album_end'];
+        $meta_nav .= $linebreak . "<link rel=\"last\" href=\"$end_tgt\" title=\"$end_title\" />";
+
+    if ($pos > 0) {
+        $prev = $pos - 1;
+        $prev_tgt = "{$_SERVER['PHP_SELF']}?album=$album$cat_link&amp;pos=$prev$uid_link";
+        $prev_title = $lang_img_nav_bar['prev_title'];
+        $meta_nav .= $linebreak . "<link rel=\"prev\" href=\"$prev_tgt\" title=\"$prev_title\" />";
+    } else {
+        $prev_tgt = "javascript:;";
+        $prev_title = "";
+    }
+
+    if ($pos < ($pic_count -1)) {
+        $next = $pos + 1;
+        $next_tgt = "{$_SERVER['PHP_SELF']}?album=$album$cat_link&amp;pos=$next$uid_link";
+        $next_title = $lang_img_nav_bar['next_title'];
+        $meta_nav .= $linebreak . "<link rel=\"next\" href=\"$next_tgt\" title=\"$next_title\"/>";
+    } else {
+        $next_tgt = "javascript:;";
+        $next_title = "";
+    }
+
+    if (USER_CAN_SEND_ECARDS) {
+        $ecard_tgt = "ecard.php?album=$album$cat_link&amp;pid=$pid&amp;pos=$pos";
+        $ecard_title = $lang_img_nav_bar['ecard_title'];
+    } else {
+        template_extract_block($template_img_navbar, 'ecard_button'); // added to remove button if cannot send ecard
+    }
+
+    //report to moderator buttons
+    $report_tgt = '';
+    if (($CONFIG['report_post']==1) && (USER_CAN_SEND_ECARDS)) {
+        $report_tgt = "report_file.php?album=$album$cat_link&amp;pid=$pid&amp;pos=$pos";
+    } else { // remove button if report toggle is off
+        template_extract_block($template_img_navbar, 'report_file_button');
+
+    }
+
+    $thumb_tgt = "thumbnails.php?album=$album$cat_link&amp;page=$page$uid_link";
+    $meta_nav .= $linebreak . "<link rel=\"up\" href=\"$thumb_tgt\" title=\"".$lang_img_nav_bar['thumb_title']."\"/>";
+
+    $slideshow_tgt = "{$_SERVER['PHP_SELF']}?album=$album$cat_link$uid_link&amp;pid=$pid&amp;slideshow=".$CONFIG['slideshow_interval'];
+
+    $pic_pos = sprintf($lang_img_nav_bar['pic_pos'], $human_pos, $pic_count);
+
+    if (defined('THEME_HAS_NAVBAR_GRAPHICS')) {
+            $location= $THEME_DIR;
+        } else {
+            $location= '';
+        }
+
+    $params = array('{THUMB_TGT}' => $thumb_tgt,
+        '{THUMB_TITLE}' => $lang_img_nav_bar['thumb_title'],
+        '{PIC_INFO_TITLE}' => $lang_img_nav_bar['pic_info_title'],
+        '{SLIDESHOW_TGT}' => $slideshow_tgt,
+        '{SLIDESHOW_TITLE}' => $lang_img_nav_bar['slideshow_title'],
+        '{PIC_POS}' => $pic_pos,
+        '{ECARD_TGT}' => $ecard_tgt,
+        '{ECARD_TITLE}' => $ecard_title,
+        '{PREV_TGT}' => $prev_tgt,
+        '{PREV_TITLE}' => $prev_title,
+        '{NEXT_TGT}' => $next_tgt,
+        '{NEXT_TITLE}' => $next_title,
+        '{PREV_IMAGE}' => ($lang_text_dir=='ltr') ? 'prev' : 'next',
+        '{NEXT_IMAGE}' => ($lang_text_dir=='ltr') ? 'next' : 'prev',
+        '{REPORT_TGT}' => $report_tgt,
+        '{REPORT_TITLE}' => $lang_img_nav_bar['report_title'],
+        '{LOCATION}' => $location,
+        );
+
+    return template_eval($template_img_navbar, $params);
+}
+
+function theme_html_rating_box()
+{
+    global $CONFIG, $CURRENT_PIC_DATA, $CURRENT_ALBUM_DATA, $THEME_DIR;
+    global $template_image_rating, $lang_rate_pic;
+
+    if (!(USER_CAN_RATE_PICTURES && $CURRENT_ALBUM_DATA['votes'] == 'YES')) return '';
+
+    $votes = $CURRENT_PIC_DATA['votes'] ? sprintf($lang_rate_pic['rating'], round($CURRENT_PIC_DATA['pic_rating'] / 2000, 1), $CURRENT_PIC_DATA['votes']) : $lang_rate_pic['no_votes'];
+    $pid = $CURRENT_PIC_DATA['pid'];
+
+    if (defined('THEME_HAS_RATING_GRAPHICS')) {
+        $location= $THEME_DIR;
+    } else {
+        $location= '';
+    }
+
+    $params = array('{TITLE}' => $lang_rate_pic['rate_this_pic'],
+        '{VOTES}' => $votes,
+        '{RATE0}' => "ratepic.php?pic=$pid&amp;rate=0",
+        '{RATE1}' => "ratepic.php?pic=$pid&amp;rate=1",
+        '{RATE2}' => "ratepic.php?pic=$pid&amp;rate=2",
+        '{RATE3}' => "ratepic.php?pic=$pid&amp;rate=3",
+        '{RATE4}' => "ratepic.php?pic=$pid&amp;rate=4",
+        '{RATE5}' => "ratepic.php?pic=$pid&amp;rate=5",
+        '{RUBBISH}' => $lang_rate_pic['rubbish'],
+        '{POOR}' => $lang_rate_pic['poor'],
+        '{FAIR}' => $lang_rate_pic['fair'],
+        '{GOOD}' => $lang_rate_pic['good'],
+        '{EXCELLENT}' => $lang_rate_pic['excellent'],
+        '{GREAT}' => $lang_rate_pic['great'],
+        '{WIDTH}' => $CONFIG['picture_table_width'],
+        '{LOCATION}' => $location,        //theme dir or default images directory
+        );
+
+    return template_eval($template_image_rating, $params);
+}
+
+// Displays comments for a specific picture
+function theme_html_comments($pid)
+{
+    global $CONFIG, $USER, $CURRENT_ALBUM_DATA, $comment_date_fmt, $HTML_SUBST;
+    global $template_image_comments, $template_add_your_comment, $lang_display_comments;
+
+    $html = '';
+
+    //report to moderator buttons
+    if (!(($CONFIG['report_post']==1) && (USER_CAN_SEND_ECARDS))) {
+        template_extract_block($template_image_comments, 'report_comment_button');
+    }
+
+    if (!$CONFIG['enable_smilies']) {
+        $tmpl_comment_edit_box = template_extract_block($template_image_comments, 'edit_box_no_smilies', '{EDIT}');
+        template_extract_block($template_image_comments, 'edit_box_smilies');
+        template_extract_block($template_add_your_comment, 'input_box_smilies');
+    } else {
+        $tmpl_comment_edit_box = template_extract_block($template_image_comments, 'edit_box_smilies', '{EDIT}');
+        template_extract_block($template_image_comments, 'edit_box_no_smilies');
+        template_extract_block($template_add_your_comment, 'input_box_no_smilies');
+    }
+
+    $tmpl_comments_buttons = template_extract_block($template_image_comments, 'buttons', '{BUTTONS}');
+    $tmpl_comments_ipinfo = template_extract_block($template_image_comments, 'ipinfo', '{IPINFO}');
+
+    if ($CONFIG['comments_sort_descending'] == 1) {
+        $comment_sort_order = 'DESC';
+    } else {
+        $comment_sort_order = 'ASC';
+    }
+    $result = cpg_db_query("SELECT msg_id, msg_author, msg_body, UNIX_TIMESTAMP(msg_date) AS msg_date, author_id, author_md5_id, msg_raw_ip, msg_hdr_ip, pid FROM {$CONFIG['TABLE_COMMENTS']} WHERE pid='$pid' ORDER BY msg_id $comment_sort_order");
+
+    while ($row = mysql_fetch_array($result)) {
+        $user_can_edit = (GALLERY_ADMIN_MODE) || (USER_ID && USER_ID == $row['author_id'] && USER_CAN_POST_COMMENTS) || (!USER_ID && USER_CAN_POST_COMMENTS && ($USER['ID'] == $row['author_md5_id']));
+        $comment_buttons = $user_can_edit ? $tmpl_comments_buttons : '';
+        $comment_edit_box = $user_can_edit ? $tmpl_comment_edit_box : '';
+        $comment_ipinfo = ($row['msg_raw_ip'] && GALLERY_ADMIN_MODE)?$tmpl_comments_ipinfo : '';
+
+        if ($CONFIG['enable_smilies']) {
+            $comment_body = process_smilies(make_clickable($row['msg_body']));
+            $smilies = generate_smilies("f{$row['msg_id']}", 'msg_body');
+        } else {
+            $comment_body = make_clickable($row['msg_body']);
+            $smilies = '';
+        }
+
+        $ip = $row['msg_hdr_ip'];
+        if ($row['msg_hdr_ip'] != $row['msg_raw_ip']) {
+            $ip .= ' [' . $row['msg_raw_ip'] . ']';
+        }
+
+        $params = array('{EDIT}' => &$comment_edit_box,
+            '{BUTTONS}' => &$comment_buttons,
+            '{IPINFO}' => &$comment_ipinfo
+            );
+
+        $template = template_eval($template_image_comments, $params);
+
+        $params = array('{MSG_AUTHOR}' => stripslashes($row['msg_author']),
+            '{MSG_ID}' => $row['msg_id'],
+            '{PID}' => $row['pid'],
+            '{EDIT_TITLE}' => &$lang_display_comments['edit_title'],
+            '{CONFIRM_DELETE}' => &$lang_display_comments['confirm_delete'],
+            '{MSG_DATE}' => localised_date($row['msg_date'], $comment_date_fmt),
+            '{MSG_BODY}' => bb_decode($comment_body),
+            '{MSG_BODY_RAW}' => $row['msg_body'],
+            '{OK}' => &$lang_display_comments['OK'],
+            '{SMILIES}' => $smilies,
+            '{IP}' => $ip,
+            '{REPORT_COMMENT_TITLE}' => &$lang_display_comments['report_comment_title'],
+            '{WIDTH}' => $CONFIG['picture_table_width']
+            );
+
+        $html .= template_eval($template, $params);
+    }
+
+    if (USER_CAN_POST_COMMENTS && $CURRENT_ALBUM_DATA['comments'] == 'YES') {
+        if (USER_ID) {
+            $user_name_input = '<tr><td><input type="hidden" name="msg_author" value="' . stripslashes(USER_NAME) . '" /></td>';
+            template_extract_block($template_add_your_comment, 'user_name_input', $user_name_input);
+            $user_name = '';
+        } else {
+            if (isset($USER['name'])) {
+              $user_name = strtr($USER['name'], $HTML_SUBST);
+            } else {
+              $user_name = $lang_display_comments['your_name'];
+            }
+
+        }
+
+        $params = array('{ADD_YOUR_COMMENT}' => $lang_display_comments['add_your_comment'],
+            // Modified Name and comment field
+            '{NAME}' => $lang_display_comments['name'],
+            '{COMMENT}' => $lang_display_comments['comment'],
+            '{PIC_ID}' => $pid,
+            '{USER_NAME}' => $user_name,
+            '{MAX_COM_LENGTH}' => $CONFIG['max_com_size'],
+            '{OK}' => $lang_display_comments['OK'],
+            '{SMILIES}' => '',
+            '{WIDTH}' => $CONFIG['picture_table_width'],
+            );
+
+        if ($CONFIG['enable_smilies']){
+                        $params['{SMILIES}'] = generate_smilies();
+                } else {
+                        template_extract_block($template_add_your_comment, 'smilies');
+                }
+
+        $html .= template_eval($template_add_your_comment, $params);
+    }
+
+    return $html;
+}
+
+function theme_slideshow()
+{
+    global $CONFIG, $lang_display_image_php, $template_display_media;
+
+    pageheader($lang_display_image_php['slideshow']);
+
+    include "include/slideshow.inc.php";
+
+    $start_slideshow = '<script language="JavaScript" type="text/JavaScript">runSlideShow()</script>';
+    template_extract_block($template_display_media, 'img_desc', $start_slideshow);
+
+    $params = array('{CELL_HEIGHT}' => $CONFIG['picture_width'] + 100,
+        '{IMAGE}' => '<img src="' . $start_img . '" name="SlideShow" class="image" /><br />',
+        '{ADMIN_MENU}' => '',
+        );
+
+    starttable();
+    echo template_eval($template_display_media, $params);
+    endtable();
+    starttable();
+    echo <<<EOT
+        <tr>
+                <td align="center" class="navmenu" style="white-space: nowrap;">
+                        <a href="javascript:endSlideShow()" class="navmenu">{$lang_display_image_php['stop_slideshow']}</a>
+                </td>
+        </tr>
+
+EOT;
+    endtable();
+    pagefooter();
+}
+
+// Display the full size image
+function theme_display_fullsize_pic()
+{
+    global $CONFIG, $THEME_DIR, $ALBUM_SET;
+    global $lang_errors, $lang_fullsize_popup, $lang_charset;
+
+    if (isset($_GET['picfile']))
+    {
+        if (!GALLERY_ADMIN_MODE) cpg_die(ERROR, $lang_errors['access_denied'], __FILE__, __LINE__);
+
+    $picfile = $_GET['picfile'];
+    $picname = $CONFIG['fullpath'] . $picfile;
+    $imagesize = @getimagesize($picname);
+    $imagedata = array('name' => $picfile, 'path' => path2url($picname), 'geometry' => $imagesize[3]);
+    }
+    elseif (isset($_GET['pid']))
+    {
+    $pid = (int)$_GET['pid'];
+    $sql = "SELECT * " . "FROM {$CONFIG['TABLE_PICTURES']} " . "WHERE pid='$pid' $ALBUM_SET";
+    $result = cpg_db_query($sql);
+
+    if (!mysql_num_rows($result)) cpg_die(ERROR, $lang_errors['non_exist_ap'], __FILE__, __LINE__);
+
+    $row = mysql_fetch_array($result);
+    $pic_url = get_pic_url($row, 'fullsize');
+    $geom = 'width="' . $row['pwidth'] . '" height="' . $row['pheight'] . '"';
+    $imagedata = array('name' => $row['filename'], 'path' => $pic_url, 'geometry' => $geom);
+    }
+
+?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html>
+  <head>
+  <meta http-equiv="content-type" content="text/html; charset=<?php echo $CONFIG['charset'] == 'language file' ? $lang_charset : $CONFIG['charset'] ?>" />
+  <title><?php echo $CONFIG['gallery_name'] ?>: <?php echo $lang_fullsize_popup['click_to_close'];
+      ?></title>
+  <script type="text/javascript" src="scripts.js"></script>
+  <style type="text/css">
+  body { margin: 0; padding: 0; background-color: gray; }
+  img { margin:0; padding:0; border:0; }
+  #content { margin:0 auto; padding:0; border:0; }
+  table { border:0; height:100%; width:100%; border-collapse:collapse}
+  td {         vertical-align: middle; text-align:center; }
+  </style>
+  </head>
+  <body>
+    <script language="JavaScript" type="text/JavaScript">
+      adjust_popup();
+    </script>
+    <table>
+      <tr>
+            <td>
+          <div id="content">
+              <?php     echo  '<a href="javascript: window.close()"><img src="'
+                . htmlspecialchars($imagedata['path']) . '" '
+                . $imagedata['geometry']
+                . 'alt="'
+                . htmlspecialchars($imagedata['name'])
+                . '" title="'
+                . htmlspecialchars($imagedata['name'])
+                . "\n" . $lang_fullsize_popup['click_to_close']
+                . '" /></a><br />' ."\n";
+               ?>
+          </div>
+        </td>
+      </tr>
+    </table>
+  </body>
+</html>
+<?php
+}
+
+function theme_vanity()
+{
+    global $CONFIG, $THEME_DIR, $template_vanity ;
+
+    if (defined('THEME_HAS_VANITY_GRAPHICS')) {
+            $location= $THEME_DIR;
+        } else {
+            $location= '';
+        }
+
+    $params = array('{LOCATION}' => $location);
+
+    return template_eval($template_vanity, $params);
+}
+
+// Function to display messages which are shown only to admin
+function adminmessages()
+{
+    global $register_globals_flag, $lang_errors;
+    // If user is not admin (and in admin mode), then return
+    if (!GALLERY_ADMIN_MODE) {
+        return;
+    }
+    // If register_globals is On, then show the warning message.
+    if ($register_globals_flag == true) {
+        if ($lang_errors['register_globals_on'] != '') {
+            $message = $lang_errors['register_globals_on'];
+        } else {
+            $message = 'The PHP setting register_globals is enabled on your server, which is a bad idea in terms of security. It\'s strongly recommended to turn it off. [<a href="http://forum.coppermine-gallery.net/index.php/topic,59569.0.html" rel="external" class="external">more</a>]';
+        }
+        echo '<div style="padding:5px;color:#ff0000;font-weight:bold;font-size:120%;text-align:center;">' . $message . '</div>';
+    }
+}
+?>
diff -x .svn -aruN 1.4.24.src/themes/water_drop/style.css 1.4.25.src/themes/water_drop/style.css
--- 1.4.24.src/themes/water_drop/style.css	2009-05-21 15:03:09.000000000 -0500
+++ 1.4.25.src/themes/water_drop/style.css	2009-05-26 11:25:46.000000000 -0500
@@ -1,596 +1,596 @@
-/*************************
-  Coppermine Photo Gallery
-  ************************
-  Copyright (c) 2003-2009 Coppermine Dev Team
-  v1.1 originally written by Gregory DEMAR
-
-  This program is free software; you can redistribute it and/or modify
-  it under the terms of the GNU General Public License version 3
-  as published by the Free Software Foundation.
-  
-  ********************************************
-  Coppermine version: 1.4.24
-  $HeadURL: https://coppermine.svn.sourceforge.net/svnroot/coppermine/trunk/cpg1.4.x/themes/water_drop/style.css $
-  $Revision: 5969 $
-  $Author: gaugau $
-  $Date: 2009-05-21 22:03:33 +0200 (Do, 21 Mai 2009) $
-**********************************************/
-
-/* Colors used:                                */
-/* --------------------------------------------*/
-/* Hex 000000 = RGB   0,  0,  0 = black        */
-/* Hex 5F5F5F = RGB  95, 95, 95 = light black  */
-/* Hex BDBEBD = RGB 189,190,189 = dark grey    */
-/* Hex D1D7DC = RGB 209,215,220 = medium grey  */
-/* Hex CCD7E0 = RGB 204,215,224 = light grey   */
-/* Hex CBD7DE = RGB 203,215,222 = steel grey   */
-/* Hex F2F5F7 = RGB 242,245,247 = dark white   */
-/* Hex EFEFEF = RGB 239,239,239 = dark white   */
-/* Hex FFFFFF = RGB 255,255,255 = white        */
-/* Hex 000666 = RGB   0,  6,102 = dark blue    */
-/* Hex 0033CC = RBG   0, 91,104 = medium blue  */
-/* Hex 718EA5 = RGB 113,142,165 = light blue   */
-/* Hex 8AA5B5 = RGB 138,165,181 = light blue   */
-/* if you don't like a color, just do a search */
-/* and replace on the hex color...             */
-
-body {
-        background: url("images/bg.gif");
-        background-color: #F2F5F7;
-        font-family: "Trebuchet MS", Verdana, Geneva, Arial, sans-serif;
-        font-size : 12px;
-        color: #000666;
-        margin: 0px;
-}
-
-table {
-        font-size : 12px;
-}
-
-h1{
-        font-weight: normal;
-        font-size: 21px;
-        font-family: "Trebuchet MS", Verdana, Arial, Helvetica, sans-serif;
-        text-decoration: none;
-        line-height : 120%;
-        color: #718EA5;
-        margin: 2px;
-}
-
-h2 {
-        font-family: Arial, Helvetica, sans-serif;
-        background-image : url(images/box_left_icon.gif);
-        background-repeat : no-repeat;
-        background-position : left;
-        padding-left : 18px;
-        font-size: 18px;
-        margin: 0px;
-}
-
-h3 {
-        font-weight: normal;
-        font-family: "Trebuchet MS", Verdana, Geneva, Arial, sans-serif;
-        font-size: 12px;
-        margin: 2px;
-}
-
-p {
-        font-family: Arial, Helvetica, sans-serif;
-        font-size: 100%;
-        margin: 2px 0px;
-}
-
-ul {
-        margin-left: 5px;
-        padding: 0px;
-}
-
-li {
-        margin-left: 10px;
-        margin-top: 4px;
-        margin-bottom: 4px;
-        padding: 0px;
-        list-style-position: outside;
-        list-style-type: disc;
-}
-
-.textinput {
-        font-family: "Trebuchet MS", Verdana, Geneva, Arial, sans-serif;
-        font-size: 100%;
-        border: 1px solid #D1D7DC;
-        padding-right: 3px;
-        padding-left: 3px;
-}
-
-.listbox {
-        font-family: "Trebuchet MS", Verdana, Geneva, Arial, sans-serif;
-        font-size: 100%;
-        border: 1px solid #D1D7DC;
-        vertical-align : middle;
-}
-
-.button {
-        font-family: Arial, Helvetica, sans-serif;
-        font-size: 100%;
-        border: 1px solid #CCD7E0;
-        background-image : url(images/button_bg.gif);
-        background-position : bottom;
-}
-
-.comment_button {
-        font-family: Arial, Helvetica, sans-serif;
-        font-size: 100%;
-        border: 1px solid #CCD7E0;
-        background-image : url(images/button_bg.gif);
-        background-position : bottom;
-        padding-left: 3px;
-        padding-right: 3px;
-}
-
-.radio {
-        font-family: "Trebuchet MS", Verdana, Geneva, Arial, sans-serif;
-        font-size: 100%;
-        vertical-align : middle;
-}
-
-.checkbox {
-        font-family: "Trebuchet MS", Verdana, Geneva, Arial, sans-serif;
-        font-size: 100%;
-        vertical-align : middle;
-}
-
-a {
-        color: #0033CC;
-        text-decoration: none;
-}
-
-a:hover {
-        color: #0033CC;
-        text-decoration: underline;
-}
-
-.bblink a {
-        color: #0033CC;
-        text-decoration: none;
-}
-
-.bblink a:hover {
-        color: #0033CC;
-        text-decoration: underline;
-}
-
-.maintable {
-        border: 1px solid #CCD7E0;
-        background-color: #FFFFFF;
-        margin-top: 1px;
-        margin-bottom: 1px;
-}
-
-.tableh1 {
-        font-family:  Verdana, Geneva, Arial, sans-serif;
-        background : #8AA5B5 ;
-        color: #FFFFFF;
-        padding-top: 3px;
-        padding-right: 10px;
-        padding-bottom: 3px;
-        padding-left: 10px;
-}
-
-.tableh1_compact {
-        font-family:  Verdana, Geneva, Arial, sans-serif;
-        background : #8AA5B5 ;
-        color: #FFFFFF;
-        padding-top: 2px;
-        padding-right: 5px;
-        padding-bottom: 2px;
-        padding-left: 5px;
-}
-
-.tableh2 {
-        background: #CBD7DE ;
-        color : #000000;
-        padding-top: 3px;
-        padding-right: 10px;
-        padding-bottom: 3px;
-        padding-left: 10px;
-}
-
-.tableh2_compact {
-        background: #CBD7DE ;
-        color : #000000;
-        padding-top: 2px;
-        padding-right: 5px;
-        padding-bottom: 2px;
-        padding-left: 5px;
-}
-
-.tableb {
-        background: #F2F5F7 ;
-        padding-top: 3px;
-        padding-right: 10px;
-        padding-bottom: 3px;
-        padding-left: 10px;
-}
-
-.tableb_compact {
-        background: #F2F5F7 ;
-        padding-top: 2px;
-        padding-right: 5px;
-        padding-bottom: 2px;
-        padding-left: 5px;
-}
-
-.tablef {
-        background: #CBD7DE ;
-        padding-top: 10px;
-        padding-right: 10px;
-        padding-bottom: 10px;
-        padding-left: 10px;
-}
-
-.catrow_noalb {
-        background: #CBD7DE ;
-        color : #000000;
-        padding-top: 3px;
-        padding-right: 10px;
-        padding-bottom: 3px;
-        padding-left: 10px;
-}
-
-.catrow {
-        background: #F2F5F7 ;
-        padding-top: 3px;
-        padding-right: 10px;
-        padding-bottom: 3px;
-        padding-left: 10px;
-}
-
-.album_stat {
-        font-size : 85%;
-        margin: 5px 0px;
-}
-
-.thumb_filename {
-        font-size: 80%;
-        display: block;
-}
-
-.thumb_title {
-        font-weight : bold;
-        font-size: 80%;
-        padding: 2px;
-        display : block;
-}
-
-.thumb_caption {
-        font-size: 80%;
-        padding: 1px;
-        display : block;
-}
-
-.thumb_caption a {
-        text-decoration: underline;
-        color: #000000;
-}
-
-
-.thumb_num_comments {
-        font-weight: normal;
-        font-size: 85%;
-        padding: 2px;
-        font-style : italic;
-        display : block;
-}
-
-.user_thumb_infobox {
-        margin-top: 1px;
-        margin-bottom: 1px;
-}
-
-.user_thumb_infobox th {
-        font-weight : bold;
-        font-size: 100%;
-        margin-top: 1px;
-        margin-bottom: 1px;
-        text-align : center;
-}
-
-.user_thumb_infobox td {
-        font-size: 85%;
-        margin-top: 1px;
-        margin-bottom: 1px;
-        text-align : center;
-}
-
-.user_thumb_infobox a {
-        text-decoration: none;
-        color: #000000;
-}
-
-.user_thumb_infobox a:hover {
-        color: #000000;
-        text-decoration: underline;
-}
-
-.sortorder_cell {
-        background : #8AA5B5 ;
-        color: #FFFFFF;
-        padding-top: 0px;
-        padding-bottom: 0px;
-        padding-left: 0px;
-        padding-right: 20px;
-        margin: 0px;
-}
-
-.sortorder_options {
-        font-family: Verdana, Arial, Helvetica, sans-serif;
-        background : #8AA5B5 ;
-        color: #FFFFFF;
-        padding: 0px;
-        margin: 0px;
-        font-weight: normal;
-        font-size: 80%;
-        white-space: nowrap;
-}
-
-.navmenu {
-        font-family: "Trebuchet MS", Verdana, Geneva, Arial, sans-serif;
-        color: #FFFFFF;
-        font-weight: bold;
-        background : #8AA5B5 ;
-        border-style: none;
-}
-
-.navmenu img {
-        margin-top: 1px;
-        margin-right: 5px;
-        margin-bottom: 1px;
-        margin-left: 5px;
-}
-
-.navmenu a {
-        display: block;
-        padding-top: 2px;
-        padding-right: 5px;
-        padding-bottom: 2px;
-        padding-left: 5px;
-        text-decoration: none;
-        color: #FFFFFF;
-}
-
-.navmenu a:hover {
-        background : #F2F5F7 ;
-        text-decoration: none;
-        color:         #000000;
-}
-
-.admin_menu_thumb {
-        font-family: Arial, Helvetica, sans-serif;
-        font-size: 90%;
-        border: 1px solid #CCD7E0;
-        background-image : url(images/button_bg.gif);
-        background-position : bottom;
-        color: #000000;
-        font-weight: bold;
-        margin-top: 0px;
-        margin-bottom: 0px;
-        width: 85px;
-}
-
-.admin_menu_thumb a {
-        color: #000000;
-        text-decoration: none;
-        display: block;
-        position: relative;
-        padding-top: 1px;
-        padding-bottom: 1px;
-        padding-left: 10px;
-        padding-right: 10px;
-}
-
-
-.admin_menu_thumb a:hover {
-        color: #000000;
-        text-decoration: underline;
-}
-
-.admin_menu {
-        font-family: Arial, Helvetica, sans-serif;
-        font-size: 90%;
-        border: 1px solid #CCD7E0;
-        background-image : url(images/button_bg.gif);
-        background-position : bottom;
-        background-repeat: repeat-x;
-        background-color: #FFFFFF;
-        color: #000000;
-        margin-top: 0px;
-        margin-bottom: 0px;
-        text-align: center;
-}
-
-.admin_menu a {
-        color: #000000;
-        text-decoration: none;
-        display: block;
-        position: relative;
-        padding-top: 1px;
-        padding-bottom: 1px;
-        padding-left: 2px;
-        padding-right: 2px;
-}
-
-.admin_menu a:hover {
-        color: #000000;
-        text-decoration: underline;
-}
-
-td #admin_menu_anim {
-        background-image : url(images/button_bg_anim.gif);
-}
-
-.comment_date{
-        color : #5F5F5F;
-        font-size: 90%;
-        vertical-align : middle;
-}
-
-.image {
-        border-style: solid;
-        border-width:1px;
-        border-color: #000000;
-        margin: 2px;
-}
-
-.imageborder {
-        border: 1px solid #000000;
-        background-color: #FFFFFF;
-        margin-top: 30px;
-        margin-bottom: 30px;
-}
-
-.display_media {
-        background: #F2F5F7 ;
-        padding-top: 3px;
-        padding-right: 10px;
-        padding-bottom: 3px;
-        padding-left: 10px;
-}
-
-.thumbnails {
-        background: #F2F5F7 ;
-        padding: 5px;
-}
-
-.footer {
-        font-size : 9px;
-}
-
-.footer a {
-        text-decoration: none;
-        color: #000000;
-}
-
-.footer a:hover {
-        color: #000000;
-        text-decoration: underline;
-}
-
-.statlink {
-        color: #FFFFFF;
-}
-
-.statlink a {
-        text-decoration: none;
-        color: #FFFFFF;
-}
-
-.statlink a:hover {
-        color: #FFFFFF;
-        text-decoration: underline;
-}
-
-.alblink a {
-        text-decoration: underline;
-        color: #000000;
-}
-
-.alblink a:hover {
-        color: #000000;
-        text-decoration: underline;
-}
-
-.catlink {
-        display: block;
-        margin-bottom: 2px;
-}
-
-.catlink a {
-        text-decoration: underline;
-        color: #000000;
-}
-
-.catlink a:hover {
-        color: #000000;
-        text-decoration: underline;
-}
-
-.topmenu {
-        font-family: "Trebuchet MS", Verdana, Geneva, Arial, sans-serif;
-        line-height : 130%;
-        font-size : 110%;
-}
-
-.topmenu a {
-        color : #0033CC;
-        text-decoration : none;
-}
-
-.topmenu a:hover  {
-        color : #0033CC;
-        text-decoration : underline;
-}
-
-.img_caption_table {
-        border: none;
-        background-color: #FFFFFF;
-        width : 100%;
-        margin : 0px;
-}
-
-.img_caption_table th {
-        background: #D1D7DC ;
-        font-size : 100%;
-        color : #000000;
-        padding-top: 4px;
-        padding-right: 10px;
-        padding-bottom: 4px;
-        padding-left: 10px;
-        border-top : 1px solid #FFFFFF;
-}
-
-.img_caption_table td {
-        background: #F2F5F7 ;
-        padding-top: 6px;
-        padding-right: 10px;
-        padding-bottom: 6px;
-        padding-left: 10px;
-        border-top : 1px solid #FFFFFF;
-        white-space: normal;
-}
-
-.debug_text {
-        border: #BDBEBD;
-        background-color: #EFEFEF;
-        width : 100%;
-        margin : 0px;
-}
-
-.clickable_option {
-        cursor : default;
-
-}
-
-.listbox_lang {
-        color: #000666;
-        background-color: #F2F5F7;
-        border: 1px solid #F2F5F7;
-        font-size: 80%;
-        font-family: Arial, Helvetica, sans-serif;
-        vertical-align : middle;
-}
-
-#vanity a {
-        display:block;
-        width:57px;
-        height:20px;
-        margin: 3px 20px;
-}
-#vanity img {border:0}
-#v_php {float:left;background-image:url(../../images/powered-php.gif);}
-#v_php:hover {background-image:url(../../images/h_powered-php.gif);}
-#v_mysql {float:left;background-image:url(../../images/powered-mysql.gif);}
-#v_mysql:hover  {background-image:url(../../images/h_powered-mysql.gif);}
-#v_xhtml {float:right;background-image:url(../../images/valid-xhtml10.gif);}
-#v_xhtml:hover {background-image:url(../../images/h_valid-xhtml10.gif);}
-#v_css {float:right;background-image:url(../../images/valid-css.gif);}
+/*************************
+  Coppermine Photo Gallery
+  ************************
+  Copyright (c) 2003-2009 Coppermine Dev Team
+  v1.1 originally written by Gregory DEMAR
+
+  This program is free software; you can redistribute it and/or modify
+  it under the terms of the GNU General Public License version 3
+  as published by the Free Software Foundation.
+  
+  ********************************************
+  Coppermine version: 1.4.25
+  $HeadURL: https://coppermine.svn.sourceforge.net/svnroot/coppermine/trunk/cpg1.4.x/themes/water_drop/style.css $
+  $Revision: 5997 $
+  $Author: gaugau $
+  $Date: 2009-05-26 08:43:24 +0200 (Di, 26 Mai 2009) $
+**********************************************/
+
+/* Colors used:                                */
+/* --------------------------------------------*/
+/* Hex 000000 = RGB   0,  0,  0 = black        */
+/* Hex 5F5F5F = RGB  95, 95, 95 = light black  */
+/* Hex BDBEBD = RGB 189,190,189 = dark grey    */
+/* Hex D1D7DC = RGB 209,215,220 = medium grey  */
+/* Hex CCD7E0 = RGB 204,215,224 = light grey   */
+/* Hex CBD7DE = RGB 203,215,222 = steel grey   */
+/* Hex F2F5F7 = RGB 242,245,247 = dark white   */
+/* Hex EFEFEF = RGB 239,239,239 = dark white   */
+/* Hex FFFFFF = RGB 255,255,255 = white        */
+/* Hex 000666 = RGB   0,  6,102 = dark blue    */
+/* Hex 0033CC = RBG   0, 91,104 = medium blue  */
+/* Hex 718EA5 = RGB 113,142,165 = light blue   */
+/* Hex 8AA5B5 = RGB 138,165,181 = light blue   */
+/* if you don't like a color, just do a search */
+/* and replace on the hex color...             */
+
+body {
+        background: url("images/bg.gif");
+        background-color: #F2F5F7;
+        font-family: "Trebuchet MS", Verdana, Geneva, Arial, sans-serif;
+        font-size : 12px;
+        color: #000666;
+        margin: 0px;
+}
+
+table {
+        font-size : 12px;
+}
+
+h1{
+        font-weight: normal;
+        font-size: 21px;
+        font-family: "Trebuchet MS", Verdana, Arial, Helvetica, sans-serif;
+        text-decoration: none;
+        line-height : 120%;
+        color: #718EA5;
+        margin: 2px;
+}
+
+h2 {
+        font-family: Arial, Helvetica, sans-serif;
+        background-image : url(images/box_left_icon.gif);
+        background-repeat : no-repeat;
+        background-position : left;
+        padding-left : 18px;
+        font-size: 18px;
+        margin: 0px;
+}
+
+h3 {
+        font-weight: normal;
+        font-family: "Trebuchet MS", Verdana, Geneva, Arial, sans-serif;
+        font-size: 12px;
+        margin: 2px;
+}
+
+p {
+        font-family: Arial, Helvetica, sans-serif;
+        font-size: 100%;
+        margin: 2px 0px;
+}
+
+ul {
+        margin-left: 5px;
+        padding: 0px;
+}
+
+li {
+        margin-left: 10px;
+        margin-top: 4px;
+        margin-bottom: 4px;
+        padding: 0px;
+        list-style-position: outside;
+        list-style-type: disc;
+}
+
+.textinput {
+        font-family: "Trebuchet MS", Verdana, Geneva, Arial, sans-serif;
+        font-size: 100%;
+        border: 1px solid #D1D7DC;
+        padding-right: 3px;
+        padding-left: 3px;
+}
+
+.listbox {
+        font-family: "Trebuchet MS", Verdana, Geneva, Arial, sans-serif;
+        font-size: 100%;
+        border: 1px solid #D1D7DC;
+        vertical-align : middle;
+}
+
+.button {
+        font-family: Arial, Helvetica, sans-serif;
+        font-size: 100%;
+        border: 1px solid #CCD7E0;
+        background-image : url(images/button_bg.gif);
+        background-position : bottom;
+}
+
+.comment_button {
+        font-family: Arial, Helvetica, sans-serif;
+        font-size: 100%;
+        border: 1px solid #CCD7E0;
+        background-image : url(images/button_bg.gif);
+        background-position : bottom;
+        padding-left: 3px;
+        padding-right: 3px;
+}
+
+.radio {
+        font-family: "Trebuchet MS", Verdana, Geneva, Arial, sans-serif;
+        font-size: 100%;
+        vertical-align : middle;
+}
+
+.checkbox {
+        font-family: "Trebuchet MS", Verdana, Geneva, Arial, sans-serif;
+        font-size: 100%;
+        vertical-align : middle;
+}
+
+a {
+        color: #0033CC;
+        text-decoration: none;
+}
+
+a:hover {
+        color: #0033CC;
+        text-decoration: underline;
+}
+
+.bblink a {
+        color: #0033CC;
+        text-decoration: none;
+}
+
+.bblink a:hover {
+        color: #0033CC;
+        text-decoration: underline;
+}
+
+.maintable {
+        border: 1px solid #CCD7E0;
+        background-color: #FFFFFF;
+        margin-top: 1px;
+        margin-bottom: 1px;
+}
+
+.tableh1 {
+        font-family:  Verdana, Geneva, Arial, sans-serif;
+        background : #8AA5B5 ;
+        color: #FFFFFF;
+        padding-top: 3px;
+        padding-right: 10px;
+        padding-bottom: 3px;
+        padding-left: 10px;
+}
+
+.tableh1_compact {
+        font-family:  Verdana, Geneva, Arial, sans-serif;
+        background : #8AA5B5 ;
+        color: #FFFFFF;
+        padding-top: 2px;
+        padding-right: 5px;
+        padding-bottom: 2px;
+        padding-left: 5px;
+}
+
+.tableh2 {
+        background: #CBD7DE ;
+        color : #000000;
+        padding-top: 3px;
+        padding-right: 10px;
+        padding-bottom: 3px;
+        padding-left: 10px;
+}
+
+.tableh2_compact {
+        background: #CBD7DE ;
+        color : #000000;
+        padding-top: 2px;
+        padding-right: 5px;
+        padding-bottom: 2px;
+        padding-left: 5px;
+}
+
+.tableb {
+        background: #F2F5F7 ;
+        padding-top: 3px;
+        padding-right: 10px;
+        padding-bottom: 3px;
+        padding-left: 10px;
+}
+
+.tableb_compact {
+        background: #F2F5F7 ;
+        padding-top: 2px;
+        padding-right: 5px;
+        padding-bottom: 2px;
+        padding-left: 5px;
+}
+
+.tablef {
+        background: #CBD7DE ;
+        padding-top: 10px;
+        padding-right: 10px;
+        padding-bottom: 10px;
+        padding-left: 10px;
+}
+
+.catrow_noalb {
+        background: #CBD7DE ;
+        color : #000000;
+        padding-top: 3px;
+        padding-right: 10px;
+        padding-bottom: 3px;
+        padding-left: 10px;
+}
+
+.catrow {
+        background: #F2F5F7 ;
+        padding-top: 3px;
+        padding-right: 10px;
+        padding-bottom: 3px;
+        padding-left: 10px;
+}
+
+.album_stat {
+        font-size : 85%;
+        margin: 5px 0px;
+}
+
+.thumb_filename {
+        font-size: 80%;
+        display: block;
+}
+
+.thumb_title {
+        font-weight : bold;
+        font-size: 80%;
+        padding: 2px;
+        display : block;
+}
+
+.thumb_caption {
+        font-size: 80%;
+        padding: 1px;
+        display : block;
+}
+
+.thumb_caption a {
+        text-decoration: underline;
+        color: #000000;
+}
+
+
+.thumb_num_comments {
+        font-weight: normal;
+        font-size: 85%;
+        padding: 2px;
+        font-style : italic;
+        display : block;
+}
+
+.user_thumb_infobox {
+        margin-top: 1px;
+        margin-bottom: 1px;
+}
+
+.user_thumb_infobox th {
+        font-weight : bold;
+        font-size: 100%;
+        margin-top: 1px;
+        margin-bottom: 1px;
+        text-align : center;
+}
+
+.user_thumb_infobox td {
+        font-size: 85%;
+        margin-top: 1px;
+        margin-bottom: 1px;
+        text-align : center;
+}
+
+.user_thumb_infobox a {
+        text-decoration: none;
+        color: #000000;
+}
+
+.user_thumb_infobox a:hover {
+        color: #000000;
+        text-decoration: underline;
+}
+
+.sortorder_cell {
+        background : #8AA5B5 ;
+        color: #FFFFFF;
+        padding-top: 0px;
+        padding-bottom: 0px;
+        padding-left: 0px;
+        padding-right: 20px;
+        margin: 0px;
+}
+
+.sortorder_options {
+        font-family: Verdana, Arial, Helvetica, sans-serif;
+        background : #8AA5B5 ;
+        color: #FFFFFF;
+        padding: 0px;
+        margin: 0px;
+        font-weight: normal;
+        font-size: 80%;
+        white-space: nowrap;
+}
+
+.navmenu {
+        font-family: "Trebuchet MS", Verdana, Geneva, Arial, sans-serif;
+        color: #FFFFFF;
+        font-weight: bold;
+        background : #8AA5B5 ;
+        border-style: none;
+}
+
+.navmenu img {
+        margin-top: 1px;
+        margin-right: 5px;
+        margin-bottom: 1px;
+        margin-left: 5px;
+}
+
+.navmenu a {
+        display: block;
+        padding-top: 2px;
+        padding-right: 5px;
+        padding-bottom: 2px;
+        padding-left: 5px;
+        text-decoration: none;
+        color: #FFFFFF;
+}
+
+.navmenu a:hover {
+        background : #F2F5F7 ;
+        text-decoration: none;
+        color:         #000000;
+}
+
+.admin_menu_thumb {
+        font-family: Arial, Helvetica, sans-serif;
+        font-size: 90%;
+        border: 1px solid #CCD7E0;
+        background-image : url(images/button_bg.gif);
+        background-position : bottom;
+        color: #000000;
+        font-weight: bold;
+        margin-top: 0px;
+        margin-bottom: 0px;
+        width: 85px;
+}
+
+.admin_menu_thumb a {
+        color: #000000;
+        text-decoration: none;
+        display: block;
+        position: relative;
+        padding-top: 1px;
+        padding-bottom: 1px;
+        padding-left: 10px;
+        padding-right: 10px;
+}
+
+
+.admin_menu_thumb a:hover {
+        color: #000000;
+        text-decoration: underline;
+}
+
+.admin_menu {
+        font-family: Arial, Helvetica, sans-serif;
+        font-size: 90%;
+        border: 1px solid #CCD7E0;
+        background-image : url(images/button_bg.gif);
+        background-position : bottom;
+        background-repeat: repeat-x;
+        background-color: #FFFFFF;
+        color: #000000;
+        margin-top: 0px;
+        margin-bottom: 0px;
+        text-align: center;
+}
+
+.admin_menu a {
+        color: #000000;
+        text-decoration: none;
+        display: block;
+        position: relative;
+        padding-top: 1px;
+        padding-bottom: 1px;
+        padding-left: 2px;
+        padding-right: 2px;
+}
+
+.admin_menu a:hover {
+        color: #000000;
+        text-decoration: underline;
+}
+
+td #admin_menu_anim {
+        background-image : url(images/button_bg_anim.gif);
+}
+
+.comment_date{
+        color : #5F5F5F;
+        font-size: 90%;
+        vertical-align : middle;
+}
+
+.image {
+        border-style: solid;
+        border-width:1px;
+        border-color: #000000;
+        margin: 2px;
+}
+
+.imageborder {
+        border: 1px solid #000000;
+        background-color: #FFFFFF;
+        margin-top: 30px;
+        margin-bottom: 30px;
+}
+
+.display_media {
+        background: #F2F5F7 ;
+        padding-top: 3px;
+        padding-right: 10px;
+        padding-bottom: 3px;
+        padding-left: 10px;
+}
+
+.thumbnails {
+        background: #F2F5F7 ;
+        padding: 5px;
+}
+
+.footer {
+        font-size : 9px;
+}
+
+.footer a {
+        text-decoration: none;
+        color: #000000;
+}
+
+.footer a:hover {
+        color: #000000;
+        text-decoration: underline;
+}
+
+.statlink {
+        color: #FFFFFF;
+}
+
+.statlink a {
+        text-decoration: none;
+        color: #FFFFFF;
+}
+
+.statlink a:hover {
+        color: #FFFFFF;
+        text-decoration: underline;
+}
+
+.alblink a {
+        text-decoration: underline;
+        color: #000000;
+}
+
+.alblink a:hover {
+        color: #000000;
+        text-decoration: underline;
+}
+
+.catlink {
+        display: block;
+        margin-bottom: 2px;
+}
+
+.catlink a {
+        text-decoration: underline;
+        color: #000000;
+}
+
+.catlink a:hover {
+        color: #000000;
+        text-decoration: underline;
+}
+
+.topmenu {
+        font-family: "Trebuchet MS", Verdana, Geneva, Arial, sans-serif;
+        line-height : 130%;
+        font-size : 110%;
+}
+
+.topmenu a {
+        color : #0033CC;
+        text-decoration : none;
+}
+
+.topmenu a:hover  {
+        color : #0033CC;
+        text-decoration : underline;
+}
+
+.img_caption_table {
+        border: none;
+        background-color: #FFFFFF;
+        width : 100%;
+        margin : 0px;
+}
+
+.img_caption_table th {
+        background: #D1D7DC ;
+        font-size : 100%;
+        color : #000000;
+        padding-top: 4px;
+        padding-right: 10px;
+        padding-bottom: 4px;
+        padding-left: 10px;
+        border-top : 1px solid #FFFFFF;
+}
+
+.img_caption_table td {
+        background: #F2F5F7 ;
+        padding-top: 6px;
+        padding-right: 10px;
+        padding-bottom: 6px;
+        padding-left: 10px;
+        border-top : 1px solid #FFFFFF;
+        white-space: normal;
+}
+
+.debug_text {
+        border: #BDBEBD;
+        background-color: #EFEFEF;
+        width : 100%;
+        margin : 0px;
+}
+
+.clickable_option {
+        cursor : default;
+
+}
+
+.listbox_lang {
+        color: #000666;
+        background-color: #F2F5F7;
+        border: 1px solid #F2F5F7;
+        font-size: 80%;
+        font-family: Arial, Helvetica, sans-serif;
+        vertical-align : middle;
+}
+
+#vanity a {
+        display:block;
+        width:57px;
+        height:20px;
+        margin: 3px 20px;
+}
+#vanity img {border:0}
+#v_php {float:left;background-image:url(../../images/powered-php.gif);}
+#v_php:hover {background-image:url(../../images/h_powered-php.gif);}
+#v_mysql {float:left;background-image:url(../../images/powered-mysql.gif);}
+#v_mysql:hover  {background-image:url(../../images/h_powered-mysql.gif);}
+#v_xhtml {float:right;background-image:url(../../images/valid-xhtml10.gif);}
+#v_xhtml:hover {background-image:url(../../images/h_valid-xhtml10.gif);}
+#v_css {float:right;background-image:url(../../images/valid-css.gif);}
 #v_css:hover{background-image:url(../../images/h_valid-css.gif);}
\ No newline at end of file
diff -x .svn -aruN 1.4.24.src/themes/water_drop/template.html 1.4.25.src/themes/water_drop/template.html
--- 1.4.24.src/themes/water_drop/template.html	2009-05-21 15:03:09.000000000 -0500
+++ 1.4.25.src/themes/water_drop/template.html	2009-05-26 11:25:46.000000000 -0500
@@ -1,53 +1,53 @@
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
-
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en" dir="{LANG_DIR}">
-<head>
-<meta http-equiv="Content-Type" content="text/html; charset={CHARSET}" />
-<meta http-equiv="Pragma" content="no-cache" />
-<title>{TITLE}</title>
-{META}
-<link rel="stylesheet" href="themes/water_drop/style.css" type="text/css" />
-<script type="text/javascript" src="scripts.js"></script>
-<!--
-  SVN version info:
-  Coppermine version: 1.4.24
-  $Revision: 5969 $
-  $LastChangedBy: gaugau $
-  $Date: 2009-05-21 22:03:33 +0200 (Do, 21 Mai 2009) $
--->
-</head>
-<body>
-  {CUSTOM_HEADER}
-  <table width="100%" border="0" cellpadding="20" cellspacing="20">
-    <tr>
-      <td valign="top" style="border: 1px solid #CCD7E0; background-color: #FFFFFF;">
-        <table width="100%" border="0" cellspacing="0" cellpadding="0">
-          <tr>
-            <td width="100%" align="center">
-              <h1>{GAL_NAME}</h1>
-              <h3>{GAL_DESCRIPTION}</h3><br />
-              {SYS_MENU}<br />{SUB_MENU}
-            </td>
-          </tr>
-        </table>
-        <img src="images/spacer.gif" width="1" height="15" alt="" />
-        <table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
-          <tr>
-            <td valign="top">
-              {ADMIN_MENU}
-              {GALLERY}
-              <div style="text-align:center;">
-              <div>
-			  {LANGUAGE_SELECT_FLAGS}<br />
-			  {THEME_SELECT_LIST}{LANGUAGE_SELECT_LIST}
-			  </div>
-			  </div>
-            </td>
-          </tr>
-        </table>
-      </td>
-    </tr>
-  </table>
-  {CUSTOM_FOOTER}{VANITY}
-</body>
-</html>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en" dir="{LANG_DIR}">
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset={CHARSET}" />
+<meta http-equiv="Pragma" content="no-cache" />
+<title>{TITLE}</title>
+{META}
+<link rel="stylesheet" href="themes/water_drop/style.css" type="text/css" />
+<script type="text/javascript" src="scripts.js"></script>
+<!--
+  SVN version info:
+  Coppermine version: 1.4.25
+  $Revision: 5997 $
+  $LastChangedBy: gaugau $
+  $Date: 2009-05-26 08:43:24 +0200 (Di, 26 Mai 2009) $
+-->
+</head>
+<body>
+  {CUSTOM_HEADER}
+  <table width="100%" border="0" cellpadding="20" cellspacing="20">
+    <tr>
+      <td valign="top" style="border: 1px solid #CCD7E0; background-color: #FFFFFF;">
+        <table width="100%" border="0" cellspacing="0" cellpadding="0">
+          <tr>
+            <td width="100%" align="center">
+              <h1>{GAL_NAME}</h1>
+              <h3>{GAL_DESCRIPTION}</h3><br />
+              {SYS_MENU}<br />{SUB_MENU}
+            </td>
+          </tr>
+        </table>
+        <img src="images/spacer.gif" width="1" height="15" alt="" />
+        <table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
+          <tr>
+            <td valign="top">
+              {ADMIN_MENU}
+              {GALLERY}
+              <div style="text-align:center;">
+              <div>
+			  {LANGUAGE_SELECT_FLAGS}<br />
+			  {THEME_SELECT_LIST}{LANGUAGE_SELECT_LIST}
+			  </div>
+			  </div>
+            </td>
+          </tr>
+        </table>
+      </td>
+    </tr>
+  </table>
+  {CUSTOM_FOOTER}{VANITY}
+</body>
+</html>
diff -x .svn -aruN 1.4.24.src/themes/water_drop/theme.php 1.4.25.src/themes/water_drop/theme.php
--- 1.4.24.src/themes/water_drop/theme.php	2009-05-21 15:03:09.000000000 -0500
+++ 1.4.25.src/themes/water_drop/theme.php	2009-05-26 11:25:46.000000000 -0500
@@ -1,26 +1,26 @@
-<?php
-/*************************
-  Coppermine Photo Gallery
-  ************************
-  Copyright (c) 2003-2009 Coppermine Dev Team
-  v1.1 originally written by Gregory DEMAR
-
-  This program is free software; you can redistribute it and/or modify
-  it under the terms of the GNU General Public License version 3
-  as published by the Free Software Foundation.
-  
-  ********************************************
-  Coppermine version: 1.4.24
-  $HeadURL: https://coppermine.svn.sourceforge.net/svnroot/coppermine/trunk/cpg1.4.x/themes/water_drop/theme.php $
-  $Revision: 5969 $
-  $Author: gaugau $
-  $Date: 2009-05-21 22:03:33 +0200 (Do, 21 Mai 2009) $
-**********************************************/
-
-define('THEME_IS_XHTML10_TRANSITIONAL',1); // Remove this if you edit this template until
-                                           // you have validated it. See docs/theme.htm.
-
-// HTML template for template sys_menu spacer
-$template_sys_menu_spacer ='<img src="themes/water_drop/images/orange_carret.gif" width="8" height="8" border="0" alt="" />';
-
-?>
+<?php
+/*************************
+  Coppermine Photo Gallery
+  ************************
+  Copyright (c) 2003-2009 Coppermine Dev Team
+  v1.1 originally written by Gregory DEMAR
+
+  This program is free software; you can redistribute it and/or modify
+  it under the terms of the GNU General Public License version 3
+  as published by the Free Software Foundation.
+  
+  ********************************************
+  Coppermine version: 1.4.25
+  $HeadURL: https://coppermine.svn.sourceforge.net/svnroot/coppermine/trunk/cpg1.4.x/themes/water_drop/theme.php $
+  $Revision: 5997 $
+  $Author: gaugau $
+  $Date: 2009-05-26 08:43:24 +0200 (Di, 26 Mai 2009) $
+**********************************************/
+
+define('THEME_IS_XHTML10_TRANSITIONAL',1); // Remove this if you edit this template until
+                                           // you have validated it. See docs/theme.htm.
+
+// HTML template for template sys_menu spacer
+$template_sys_menu_spacer ='<img src="themes/water_drop/images/orange_carret.gif" width="8" height="8" border="0" alt="" />';
+
+?>
diff -x .svn -aruN 1.4.24.src/thumbnails.php 1.4.25.src/thumbnails.php
--- 1.4.24.src/thumbnails.php	2009-05-21 15:03:09.000000000 -0500
+++ 1.4.25.src/thumbnails.php	2009-05-26 11:25:52.000000000 -0500
@@ -1,262 +1,262 @@
-<?php
-/*************************
-  Coppermine Photo Gallery
-  ************************
-  Copyright (c) 2003-2009 Coppermine Dev Team
-  v1.1 originally written by Gregory DEMAR
-
-  This program is free software; you can redistribute it and/or modify
-  it under the terms of the GNU General Public License version 3
-  as published by the Free Software Foundation.
-  
-  ********************************************
-  Coppermine version: 1.4.24
-  $HeadURL: https://coppermine.svn.sourceforge.net/svnroot/coppermine/trunk/cpg1.4.x/thumbnails.php $
-  $Revision: 5969 $
-  $Author: gaugau $
-  $Date: 2009-05-21 22:03:33 +0200 (Do, 21 Mai 2009) $
-**********************************************/
-
-/**
- * Coppermine Photo Gallery 1.4.14 thumbnails.php
- *
- * This file generates the data of thumbnails for all the albums and metalbums,
- * the actual display is handled by the display_thumbnails and then in-turn
- * theme_display_thumbnail function
- *
- * @copyright 2002-2006 Gregory DEMAR, Coppermine Dev Team
- * @license http://www.gnu.org/licenses/gpl.html GNU General Public License V3
- * @package Coppermine
- * @version $Id: thumbnails.php 5969 2009-05-21 20:03:33Z gaugau $
- */
-
-/**
- *
- * @ignore
- */
-define('IN_COPPERMINE', true);
-
-define('THUMBNAILS_PHP', true);
-
-/**
- *
- * @ignore
- */
-define('INDEX_PHP', true);
-
-require('include/init.inc.php');
-
-if (!USER_ID && $CONFIG['allow_unlogged_access'] == 0) {
-    $redirect = $redirect . "login.php";
-    header("Location: $redirect");
-    exit();
-}
-
-if ($CONFIG['enable_smilies']) include("include/smilies.inc.php");
-
-function thumb_get_subcat_data($parent, &$album_set_array)
-{
-    global $CONFIG;
-
-    $result = cpg_db_query("SELECT cid, name, description FROM {$CONFIG['TABLE_CATEGORIES']} WHERE parent = '$parent'");
-    if (mysql_num_rows($result) > 0) {
-        $rowset = cpg_db_fetch_rowset($result);
-        foreach ($rowset as $subcat) {
-            $result = cpg_db_query("SELECT aid FROM {$CONFIG['TABLE_ALBUMS']} WHERE category = {$subcat['cid']}");
-            $album_count = mysql_num_rows($result);
-            while ($row = mysql_fetch_array($result)) {
-                $album_set_array[] = $row['aid'];
-            } // while
-            thumb_get_subcat_data($subcat['cid'], $album_set_array);
-        }   
-    }
-}
-
-/**
- * Main code
- */
-
-if (isset($_GET['sort'])) $USER['sort'] = $_GET['sort'];
-if (isset($_GET['cat'])) $cat = (int)$_GET['cat'];
-if (isset($_GET['album'])) $album = $_GET['album'];
-
-if (isset($_POST['search'])) {
-    // find out if a parameter has been submitted at all
-    $allowed = array('title', 'caption', 'keywords', 'owner_name', 'filename', 'pic_raw_ip', 'pic_hrd_ip', 'user1', 'user2', 'user3', 'user4');
-    foreach ($allowed as $key) {
-        if (isset($_POST[$key]) == TRUE) {
-            $_POST['params'][$key] = $_POST[$key];
-        }
-    }
-    $USER['search'] = $_POST;
-        $album = 'search';
-}
-if (isset($_GET['search'])) {
-    $USER['search'] = array('search' => $_GET['search']);
-}
-
-if (isset($_GET['page'])) {
-    $page = max((int)$_GET['page'], 1);
-} else {
-    $page = 1;
-}
-
-$breadcrumb = '';
-$breadcrumb_text = '';
-$cat_data = array();
-$lang_meta_album_names['lastupby'] = $lang_meta_album_names['lastup'];
-$lang_meta_album_names['lastcomby'] = $lang_meta_album_names['lastcom'];
-
-if (is_numeric($album)) {
-    $result = cpg_db_query("SELECT category, title, aid, keyword, description, alb_password_hint FROM {$CONFIG['TABLE_ALBUMS']} WHERE aid='$album'");
-    if (mysql_num_rows($result) > 0) {
-        $CURRENT_ALBUM_DATA = mysql_fetch_array($result);
-        $actual_cat = $CURRENT_ALBUM_DATA['category'];
-        $CURRENT_ALBUM_KEYWORD = $CURRENT_ALBUM_DATA['keyword'];
-        breadcrumb($actual_cat, $breadcrumb, $breadcrumb_text);
-        $cat = - $album;
-    }
-} elseif (isset($cat) && $cat) { // Meta albums, we need to restrict the albums to the current category
-    if ($cat < 0) {
-        $result = cpg_db_query("SELECT category, title, aid, keyword, description, alb_password_hint FROM {$CONFIG['TABLE_ALBUMS']} WHERE aid='" . (- $cat) . "'");
-        if (mysql_num_rows($result) > 0) {
-            $CURRENT_ALBUM_DATA = mysql_fetch_array($result);
-            $actual_cat = $CURRENT_ALBUM_DATA['category'];
-            $CURRENT_ALBUM_KEYWORD = $CURRENT_ALBUM_DATA['keyword'];
-        }
-
-        $ALBUM_SET = 'AND aid IN (' . (- $cat) . ') ' . $ALBUM_SET;
-        breadcrumb($actual_cat, $breadcrumb, $breadcrumb_text);
-        $CURRENT_CAT_NAME = $CURRENT_ALBUM_DATA['title'];
-        $CURRENT_ALBUM_KEYWORD = $CURRENT_ALBUM_DATA['keyword'];
-    } else {
-        $album_set_array = array();
-        if ($cat == USER_GAL_CAT)
-            $where = 'category > ' . FIRST_USER_CAT;
-        else
-            $where = "category = '$cat'";
-
-        $result = cpg_db_query("SELECT aid FROM {$CONFIG['TABLE_ALBUMS']} WHERE $where");
-        while ($row = mysql_fetch_array($result)) {
-            $album_set_array[] = $row['aid'];
-        } // while
-        if ($cat >= FIRST_USER_CAT) {
-            $user_name = get_username($cat - FIRST_USER_CAT);
-            $CURRENT_CAT_NAME = sprintf($lang_list_categories['xx_s_gallery'], $user_name);
-        } else {
-            $result = cpg_db_query("SELECT name FROM {$CONFIG['TABLE_CATEGORIES']} WHERE cid = '$cat'");
-            if (mysql_num_rows($result) == 0) cpg_die(CRITICAL_ERROR, $lang_errors['non_exist_cat'], __FILE__, __LINE__);
-            $row = mysql_fetch_array($result);
-            $CURRENT_CAT_NAME = $row['name'];
-        }
-        thumb_get_subcat_data($cat, $album_set_array, $CONFIG['subcat_level']);
-        // Treat the album set
-        if (count($album_set_array)) {
-            $set = '';
-            foreach ($album_set_array as $album_id) $set .= ($set == '') ? $album_id : ',' . $album_id;
-            $ALBUM_SET .= "AND aid IN ($set) ";
-        }
-        breadcrumb($cat, $breadcrumb, $breadcrumb_text);
-    }
-}
-
-pageheader(isset($CURRENT_ALBUM_DATA) ? $CURRENT_ALBUM_DATA['title'] : $lang_meta_album_names[$album]);
-adminmessages();
-if ($breadcrumb) {
-    if (!(strpos($CONFIG['main_page_layout'], "breadcrumb") === false)) {
-        theme_display_breadcrumb($breadcrumb, $cat_data);
-    }
-    theme_display_cat_list($breadcrumb, $cat_data, '');
-}
-
-/**
- * Function to draw the password box if the album is password protected
- */
-function form_albpw()
-{
-    global $lang_thumb_view, $CURRENT_ALBUM_DATA;
-    $login_falied =
-    starttable('-1', $lang_thumb_view['enter_alb_pass'], 2);
-    if (isset($_POST['validate_album'])) {
-        $login_failed = '<tr><td class="tableh2" colspan="2" align="center">
-                               <span style="color:red">'.$lang_thumb_view['invalid_pass'].'</span></td></tr>
-                                         ';
-    }
-    if (!empty($CURRENT_ALBUM_DATA['alb_password_hint'])) {
-        echo <<<EOT
-                  <tr>
-                    <td colspan="2" align="center" class="tableb">{$CURRENT_ALBUM_DATA['alb_password_hint']}</td>
-                  </tr>
-EOT;
-    }
-    echo <<<EOT
-                        $login_failed
-                        <tr>
-              <form method="post" action="">
-              <input type="hidden" name="validate_album" value="validate_album"/>
-              <td class="tableb" width="40%">{$lang_thumb_view['pass']}: </td>
-              <td class="tableb" width="60%"><input type="password" class="textinput" name="password" /></td>
-             </tr>
-             <tr>
-              <td class="tablef" colspan="2" align="center"><input type="submit" class="button" name="submit" value={$lang_thumb_view['submit']} />
-              </form>
-            </tr>
-EOT;
-    endtable();
-}
-
-$valid = false; //flag to test whether the album is validated.
-if ($CONFIG['allow_private_albums'] == 0 || !in_array($album, $FORBIDDEN_SET_DATA)) {
-    $valid = true;
-} elseif (isset($_POST['validate_album'])) {
-    $password = $_POST['password'];
-    $sql = "SELECT aid FROM " . $CONFIG['TABLE_ALBUMS'] . " WHERE alb_password='$password' AND aid='$album'";
-    $result = cpg_db_query($sql);
-    if (mysql_num_rows($result)) {
-        if (!empty($_COOKIE[$CONFIG['cookie_name'] . '_albpw'])) {
-            $albpw = unserialize($_COOKIE[$CONFIG['cookie_name'] . '_albpw']);
-        }
-        $albpw[$album] = md5($password);
-        $alb_cookie_str = serialize($albpw);
-        setcookie($CONFIG['cookie_name'] . "_albpw", $alb_cookie_str);
-        get_private_album_set($album);
-        $valid = true;
-    } else {
-        // Invalid password
-        $valid = false;
-    }
-} else {
-    $sql = "SELECT aid FROM " . $CONFIG['TABLE_ALBUMS'] . " WHERE aid='$album' AND alb_password != ''";
-    $result = cpg_db_query($sql);
-    if (mysql_num_rows($result)) {
-        // This album has a password.
-        // Check whether the cookie is set for the current albums password
-        if (!empty($_COOKIE[$CONFIG['cookie_name'] . '_albpw'])) {
-            $alb_pw = unserialize($_COOKIE[$CONFIG['cookie_name'] . '_albpw']);
-            // Check whether the alubm id in the cookie is same as that of the album id send by get
-            if (isset($alb_pw[$album]) && ctype_alnum($alb_pw[$album])) {
-                $sql = "SELECT aid FROM " . $CONFIG['TABLE_ALBUMS'] . " WHERE MD5(alb_password)='{$alb_pw[$album]}' AND aid='{$album}'";
-                $result = cpg_db_query($sql);
-                if (mysql_num_rows($result)) {
-                    $valid = true; //The album password is correct. Show the album details.
-                    get_private_album_set();
-                }
-            }
-        }
-    } else {
-        // Album with no password. Might be a private or normal album. Just set valid as true.
-        $valid = true;
-    }
-}
-$META_ALBUM_SET = $ALBUM_SET; //temporary assignment until we are sure we are keeping the $META_ALBUM_SET functionality.
-CPGPluginAPI::filter('post_breadcrumb',null);
-if (!$valid) {
-    form_albpw();
-} else {
-    display_thumbnails($album, (isset($cat) ? $cat : 0), $page, $CONFIG['thumbcols'], $CONFIG['thumbrows'], true);
-}
-
-pagefooter();
-ob_end_flush();
-
+<?php
+/*************************
+  Coppermine Photo Gallery
+  ************************
+  Copyright (c) 2003-2009 Coppermine Dev Team
+  v1.1 originally written by Gregory DEMAR
+
+  This program is free software; you can redistribute it and/or modify
+  it under the terms of the GNU General Public License version 3
+  as published by the Free Software Foundation.
+  
+  ********************************************
+  Coppermine version: 1.4.25
+  $HeadURL: https://coppermine.svn.sourceforge.net/svnroot/coppermine/trunk/cpg1.4.x/thumbnails.php $
+  $Revision: 5997 $
+  $Author: gaugau $
+  $Date: 2009-05-26 08:43:24 +0200 (Di, 26 Mai 2009) $
+**********************************************/
+
+/**
+ * Coppermine Photo Gallery 1.4.14 thumbnails.php
+ *
+ * This file generates the data of thumbnails for all the albums and metalbums,
+ * the actual display is handled by the display_thumbnails and then in-turn
+ * theme_display_thumbnail function
+ *
+ * @copyright 2002-2006 Gregory DEMAR, Coppermine Dev Team
+ * @license http://www.gnu.org/licenses/gpl.html GNU General Public License V3
+ * @package Coppermine
+ * @version $Id: thumbnails.php 5997 2009-05-26 06:43:24Z gaugau $
+ */
+
+/**
+ *
+ * @ignore
+ */
+define('IN_COPPERMINE', true);
+
+define('THUMBNAILS_PHP', true);
+
+/**
+ *
+ * @ignore
+ */
+define('INDEX_PHP', true);
+
+require('include/init.inc.php');
+
+if (!USER_ID && $CONFIG['allow_unlogged_access'] == 0) {
+    $redirect = $redirect . "login.php";
+    header("Location: $redirect");
+    exit();
+}
+
+if ($CONFIG['enable_smilies']) include("include/smilies.inc.php");
+
+function thumb_get_subcat_data($parent, &$album_set_array)
+{
+    global $CONFIG;
+
+    $result = cpg_db_query("SELECT cid, name, description FROM {$CONFIG['TABLE_CATEGORIES']} WHERE parent = '$parent'");
+    if (mysql_num_rows($result) > 0) {
+        $rowset = cpg_db_fetch_rowset($result);
+        foreach ($rowset as $subcat) {
+            $result = cpg_db_query("SELECT aid FROM {$CONFIG['TABLE_ALBUMS']} WHERE category = {$subcat['cid']}");
+            $album_count = mysql_num_rows($result);
+            while ($row = mysql_fetch_array($result)) {
+                $album_set_array[] = $row['aid'];
+            } // while
+            thumb_get_subcat_data($subcat['cid'], $album_set_array);
+        }   
+    }
+}
+
+/**
+ * Main code
+ */
+
+if (isset($_GET['sort'])) $USER['sort'] = $_GET['sort'];
+if (isset($_GET['cat'])) $cat = (int)$_GET['cat'];
+if (isset($_GET['album'])) $album = $_GET['album'];
+
+if (isset($_POST['search'])) {
+    // find out if a parameter has been submitted at all
+    $allowed = array('title', 'caption', 'keywords', 'owner_name', 'filename', 'pic_raw_ip', 'pic_hrd_ip', 'user1', 'user2', 'user3', 'user4');
+    foreach ($allowed as $key) {
+        if (isset($_POST[$key]) == TRUE) {
+            $_POST['params'][$key] = $_POST[$key];
+        }
+    }
+    $USER['search'] = $_POST;
+        $album = 'search';
+}
+if (isset($_GET['search'])) {
+    $USER['search'] = array('search' => $_GET['search']);
+}
+
+if (isset($_GET['page'])) {
+    $page = max((int)$_GET['page'], 1);
+} else {
+    $page = 1;
+}
+
+$breadcrumb = '';
+$breadcrumb_text = '';
+$cat_data = array();
+$lang_meta_album_names['lastupby'] = $lang_meta_album_names['lastup'];
+$lang_meta_album_names['lastcomby'] = $lang_meta_album_names['lastcom'];
+
+if (is_numeric($album)) {
+    $result = cpg_db_query("SELECT category, title, aid, keyword, description, alb_password_hint FROM {$CONFIG['TABLE_ALBUMS']} WHERE aid='$album'");
+    if (mysql_num_rows($result) > 0) {
+        $CURRENT_ALBUM_DATA = mysql_fetch_array($result);
+        $actual_cat = $CURRENT_ALBUM_DATA['category'];
+        $CURRENT_ALBUM_KEYWORD = $CURRENT_ALBUM_DATA['keyword'];
+        breadcrumb($actual_cat, $breadcrumb, $breadcrumb_text);
+        $cat = - $album;
+    }
+} elseif (isset($cat) && $cat) { // Meta albums, we need to restrict the albums to the current category
+    if ($cat < 0) {
+        $result = cpg_db_query("SELECT category, title, aid, keyword, description, alb_password_hint FROM {$CONFIG['TABLE_ALBUMS']} WHERE aid='" . (- $cat) . "'");
+        if (mysql_num_rows($result) > 0) {
+            $CURRENT_ALBUM_DATA = mysql_fetch_array($result);
+            $actual_cat = $CURRENT_ALBUM_DATA['category'];
+            $CURRENT_ALBUM_KEYWORD = $CURRENT_ALBUM_DATA['keyword'];
+        }
+
+        $ALBUM_SET = 'AND aid IN (' . (- $cat) . ') ' . $ALBUM_SET;
+        breadcrumb($actual_cat, $breadcrumb, $breadcrumb_text);
+        $CURRENT_CAT_NAME = $CURRENT_ALBUM_DATA['title'];
+        $CURRENT_ALBUM_KEYWORD = $CURRENT_ALBUM_DATA['keyword'];
+    } else {
+        $album_set_array = array();
+        if ($cat == USER_GAL_CAT)
+            $where = 'category > ' . FIRST_USER_CAT;
+        else
+            $where = "category = '$cat'";
+
+        $result = cpg_db_query("SELECT aid FROM {$CONFIG['TABLE_ALBUMS']} WHERE $where");
+        while ($row = mysql_fetch_array($result)) {
+            $album_set_array[] = $row['aid'];
+        } // while
+        if ($cat >= FIRST_USER_CAT) {
+            $user_name = get_username($cat - FIRST_USER_CAT);
+            $CURRENT_CAT_NAME = sprintf($lang_list_categories['xx_s_gallery'], $user_name);
+        } else {
+            $result = cpg_db_query("SELECT name FROM {$CONFIG['TABLE_CATEGORIES']} WHERE cid = '$cat'");
+            if (mysql_num_rows($result) == 0) cpg_die(CRITICAL_ERROR, $lang_errors['non_exist_cat'], __FILE__, __LINE__);
+            $row = mysql_fetch_array($result);
+            $CURRENT_CAT_NAME = $row['name'];
+        }
+        thumb_get_subcat_data($cat, $album_set_array, $CONFIG['subcat_level']);
+        // Treat the album set
+        if (count($album_set_array)) {
+            $set = '';
+            foreach ($album_set_array as $album_id) $set .= ($set == '') ? $album_id : ',' . $album_id;
+            $ALBUM_SET .= "AND aid IN ($set) ";
+        }
+        breadcrumb($cat, $breadcrumb, $breadcrumb_text);
+    }
+}
+
+pageheader(isset($CURRENT_ALBUM_DATA) ? $CURRENT_ALBUM_DATA['title'] : $lang_meta_album_names[$album]);
+adminmessages();
+if ($breadcrumb) {
+    if (!(strpos($CONFIG['main_page_layout'], "breadcrumb") === false)) {
+        theme_display_breadcrumb($breadcrumb, $cat_data);
+    }
+    theme_display_cat_list($breadcrumb, $cat_data, '');
+}
+
+/**
+ * Function to draw the password box if the album is password protected
+ */
+function form_albpw()
+{
+    global $lang_thumb_view, $CURRENT_ALBUM_DATA;
+    $login_falied =
+    starttable('-1', $lang_thumb_view['enter_alb_pass'], 2);
+    if (isset($_POST['validate_album'])) {
+        $login_failed = '<tr><td class="tableh2" colspan="2" align="center">
+                               <span style="color:red">'.$lang_thumb_view['invalid_pass'].'</span></td></tr>
+                                         ';
+    }
+    if (!empty($CURRENT_ALBUM_DATA['alb_password_hint'])) {
+        echo <<<EOT
+                  <tr>
+                    <td colspan="2" align="center" class="tableb">{$CURRENT_ALBUM_DATA['alb_password_hint']}</td>
+                  </tr>
+EOT;
+    }
+    echo <<<EOT
+                        $login_failed
+                        <tr>
+              <form method="post" action="">
+              <input type="hidden" name="validate_album" value="validate_album"/>
+              <td class="tableb" width="40%">{$lang_thumb_view['pass']}: </td>
+              <td class="tableb" width="60%"><input type="password" class="textinput" name="password" /></td>
+             </tr>
+             <tr>
+              <td class="tablef" colspan="2" align="center"><input type="submit" class="button" name="submit" value={$lang_thumb_view['submit']} />
+              </form>
+            </tr>
+EOT;
+    endtable();
+}
+
+$valid = false; //flag to test whether the album is validated.
+if ($CONFIG['allow_private_albums'] == 0 || !in_array($album, $FORBIDDEN_SET_DATA)) {
+    $valid = true;
+} elseif (isset($_POST['validate_album'])) {
+    $password = $_POST['password'];
+    $sql = "SELECT aid FROM " . $CONFIG['TABLE_ALBUMS'] . " WHERE alb_password='$password' AND aid='$album'";
+    $result = cpg_db_query($sql);
+    if (mysql_num_rows($result)) {
+        if (!empty($_COOKIE[$CONFIG['cookie_name'] . '_albpw'])) {
+            $albpw = unserialize($_COOKIE[$CONFIG['cookie_name'] . '_albpw']);
+        }
+        $albpw[$album] = md5($password);
+        $alb_cookie_str = serialize($albpw);
+        setcookie($CONFIG['cookie_name'] . "_albpw", $alb_cookie_str);
+        get_private_album_set($album);
+        $valid = true;
+    } else {
+        // Invalid password
+        $valid = false;
+    }
+} else {
+    $sql = "SELECT aid FROM " . $CONFIG['TABLE_ALBUMS'] . " WHERE aid='$album' AND alb_password != ''";
+    $result = cpg_db_query($sql);
+    if (mysql_num_rows($result)) {
+        // This album has a password.
+        // Check whether the cookie is set for the current albums password
+        if (!empty($_COOKIE[$CONFIG['cookie_name'] . '_albpw'])) {
+            $alb_pw = unserialize($_COOKIE[$CONFIG['cookie_name'] . '_albpw']);
+            // Check whether the alubm id in the cookie is same as that of the album id send by get
+            if (isset($alb_pw[$album]) && ctype_alnum($alb_pw[$album])) {
+                $sql = "SELECT aid FROM " . $CONFIG['TABLE_ALBUMS'] . " WHERE MD5(alb_password)='{$alb_pw[$album]}' AND aid='{$album}'";
+                $result = cpg_db_query($sql);
+                if (mysql_num_rows($result)) {
+                    $valid = true; //The album password is correct. Show the album details.
+                    get_private_album_set();
+                }
+            }
+        }
+    } else {
+        // Album with no password. Might be a private or normal album. Just set valid as true.
+        $valid = true;
+    }
+}
+$META_ALBUM_SET = $ALBUM_SET; //temporary assignment until we are sure we are keeping the $META_ALBUM_SET functionality.
+CPGPluginAPI::filter('post_breadcrumb',null);
+if (!$valid) {
+    form_albpw();
+} else {
+    display_thumbnails($album, (isset($cat) ? $cat : 0), $page, $CONFIG['thumbcols'], $CONFIG['thumbrows'], true);
+}
+
+pagefooter();
+ob_end_flush();
+
 ?>
\ No newline at end of file
diff -x .svn -aruN 1.4.24.src/upload.php 1.4.25.src/upload.php
--- 1.4.24.src/upload.php	2009-05-21 15:03:09.000000000 -0500
+++ 1.4.25.src/upload.php	2009-05-26 11:25:52.000000000 -0500
@@ -1,2592 +1,2592 @@
-<?php
-/*************************
-  Coppermine Photo Gallery
-  ************************
-  Copyright (c) 2003-2009 Coppermine Dev Team
-  v1.1 originally written by Gregory DEMAR
-
-  This program is free software; you can redistribute it and/or modify
-  it under the terms of the GNU General Public License version 3
-  as published by the Free Software Foundation.
-  
-  ********************************************
-  Coppermine version: 1.4.24
-  $HeadURL: https://coppermine.svn.sourceforge.net/svnroot/coppermine/trunk/cpg1.4.x/upload.php $
-  $Revision: 5969 $
-  $Author: gaugau $
-  $Date: 2009-05-21 22:03:33 +0200 (Do, 21 Mai 2009) $
-**********************************************/
-
-// Confirm we are in Coppermine and set the language blocks.
-define('IN_COPPERMINE', true);
-define('UPLOAD_PHP', true);
-define('DB_INPUT_PHP', true);
-define('ADMIN_PHP', true);
-
-// Call basic functions, etc.
-require('include/init.inc.php');
-require('include/picmgmt.inc.php');
-
-// Some placeholders.
-$customize = CUSTOMIZE_UPLOAD_FORM;
-$user_form = USER_UPLOAD_FORM;
-$allowed_URI_boxes = NUM_URI_BOXES;
-$allowed_file_boxes = NUM_FILE_BOXES;
-
-// Check to see if user can upload pictures.  Quit with an error if he cannot.
-if (!USER_CAN_UPLOAD_PICTURES && !USER_CAN_CREATE_ALBUMS) {
-    cpg_die(ERROR, $lang_errors['perm_denied'], __FILE__, __LINE__);
-}
-
-// Globalize $CONFIG.
-global $CONFIG, $lang_upload_php, $user_form, $max_file_size;
-
-//___________________________________Function Block_______________________________________
-
-
-// The form label creation function. Takes a non-array element form $data as its argument.
-function form_label($text) {
-    echo <<<EOT
-        <tr>
-                <td class="tableh2" colspan="2">
-                        <b>$text</b>
-                </td>
-        </tr>
-
-EOT;
-}
-
-// The form statement creation function. Takes a non-array element form $data as its argument.
-function form_statement($text) {
-    echo <<<EOT
-        <tr>
-                <td class="tableb" colspan="2">
-                        $text
-                </td>
-        </tr>
-
-EOT;
-}
-
-// The hidden form input function. Takes the hidden input field name and value.
-function hidden_input($name, $value) {
-        echo <<<EOT
-        <tr>
-            <td colspan="2">
-                   <input type="hidden" name="$name" value="$value" />
-            </td>
-        </tr>
-
-EOT;
-}
-
-// The text box form input function. Takes the text label for the box, the input name, the maximum length for text boxes,
-// and the number of iterations.
-function text_box_input($text, $name, $max_length, $iterations, $default='') {
-
-    global $CONFIG;
-
-    $ordinal = '';
-
-    if (($text == '') and ($iterations == '')) {
-        echo "        <input type=\"hidden\" name=\"$name\" value=\"$default\" />\n";
-        return;
-    }
-
-    // Begin loop
-    for ($counter=0; $counter<$iterations; $counter++) {
-
-    // Create a numbering system when necessary.
-    if ($text == '') {
-        $cardinal = $counter + 1;
-        $ordinal = "".$cardinal.". ";
-    }
-
-    // Create a text box.
-    echo <<<EOT
-        <tr>
-            <td width="40%" class="tableb">
-                        $text  $ordinal
-        </td>
-        <td width="60%" class="tableb" valign="top">
-                <input type="text" style="width: 100%" name="$name" maxlength="$max_length" value="$default" class="textinput" id="$name" />
-                </td>
-        </tr>
-
-EOT;
-    }
-}
-
-// The file input function. Takes the label, field name, and number of iterations as arguments.
-function file_input($text, $name, $iterations) {
-
-    $ordinal = '';
-
-    // Begin loop
-    for ($counter=0; $counter<$iterations; $counter++) {
-
-    // Create a numbering system when necessary.
-    if ($text == '') {
-        $cardinal = $counter + 1;
-        $ordinal = "".$cardinal.". ";
-    }
-
-    // Create the file input box.
-    echo <<<EOT
-        <tr>
-            <td class="tableb">
-                        $text  $ordinal
-        </td>
-        <td class="tableb" valign="top">
-                        <input type="file" name="$name" size="40" class="listbox" />
-                </td>
-        </tr>
-
-EOT;
-    }
-}
-
-// The function for text areas on forms. Takes the label, field name, and maximum length as arguments.
-function text_area_input($text, $name, $max_length,$default='') {
-
-    // Create the text area.
-    echo <<<EOT
-        <tr>
-                <td class="tableb" valign="top">
-                        $text
-                </td>
-                <td class="tableb" valign="top">
-                        <textarea name="$name" rows="5" cols="40" class="textinput" style="width: 100%;" onKeyDown="textCounter(this, $max_length);" onKeyUp="textCounter(this, $max_length);">$default</textarea>
-                </td>
-        </tr>
-EOT;
-}
-
-// The function to create the album list drop down.
-function form_alb_list_box($text, $name) {
-// frogfoot re-wrote this function to present the list in categorized, sorted and nicely formatted order
-
-    // Pull the $CONFIG array and the GET array into the function
-    global $CONFIG, $lang_upload_php;
-
-    // Also pull the album lists into the function
-    global $user_albums_list, $public_albums_list;
-
-    // Check to see if an album has been preselected by URL addition. If so, make $sel_album the album number. Otherwise, make $sel_album 0.
-    $sel_album = isset($_GET['album']) ? $_GET['album'] : 0;
-
-    // Create the opening of the drop down box
-    echo <<<EOT
-    <tr>
-        <td class="tableb">
-            $text
-        </td>
-        <td class="tableb" valign="top">
-            <select name="$name" class="listbox">
-
-EOT;
-
-    // Reset counter
-    $list_count = 0;
-
-    // Cycle through the User albums
-    foreach($user_albums_list as $album) {
-
-        // Add to multi-dim array for later sorting
-        $listArray[$list_count]['cat'] = $lang_upload_php['personal_albums'];
-        $listArray[$list_count]['aid'] = $album['aid'];
-        $listArray[$list_count]['title'] = $album['title'];
-        $list_count++;
-    }
-
-    // Cycle through the public albums
-    foreach($public_albums_list as $album) {
-
-        // Set $album_id to the actual album ID
-        $album_id = $album['aid'];
-
-        // Get the category name
-        $vQuery = "SELECT cat.name FROM " . $CONFIG['TABLE_CATEGORIES'] . " cat, " . $CONFIG['TABLE_ALBUMS'] . " alb WHERE alb.aid='" . $album_id . "' AND cat.cid=alb.category";
-        $vRes = cpg_db_query($vQuery);
-        $vRes = mysql_fetch_array($vRes);
-
-        // Add to multi-dim array for sorting later
-        if ($vRes['name']) {
-            $listArray[$list_count]['cat'] = $vRes['name'];
-        } else {
-            $listArray[$list_count]['cat'] = $lang_upload_php['albums_no_category'];
-        }
-        $listArray[$list_count]['aid'] = $album['aid'];
-        $listArray[$list_count]['title'] = $album['title'];
-        $list_count++;
-    }
-
-    // Sort the pulldown options by category and album name
-    $listArray = array_csort($listArray,'cat','title');
-
-    // Finally, print out the nicely sorted and formatted drop down list
-    $alb_cat = '';
-        echo '                <option value="">' . $lang_upload_php['select_album'] . "</option>\n";
-    foreach ($listArray as $val) {
-        if ($val['cat'] != $alb_cat) {
-if ($alb_cat) echo "                </optgroup>\n";
-            echo '                <optgroup label="' . $val['cat'] . '">' . "\n";
-            $alb_cat = $val['cat'];
-        }
-        echo '                <option value="' . $val['aid'] . '"' . ($val['aid'] == $sel_album ? ' selected' : '') . '>   ' . $val['title'] . "</option>\n";
-    }
-    if ($alb_cat) echo "                </optgroup>\n";
-
-    // Close the drop down
-    echo <<<EOT
-            </select>
-        </td>
-    </tr>
-
-EOT;
-}
-
-
-// The create form function. Takes the $data array as its object.
-//
-// Type:
-// 0 => text box input
-// 1 => file input
-// 2 => album list
-// 3 => text area input
-// 4 => hidden input
-function create_form(&$data) {
-
-    global $CONFIG, $lang_upload_php;
-
-    // Cycle through the elements in the data array.
-    foreach($data as $element) {
-
-        // If the element is another array, parse the definition contained within the array.
-        if ((is_array($element))) {
-			$element[2] = (isset($element[2])) ? $element[2] : '';
-			$element[3] = (isset($element[3])) ? $element[3] : '';
-			$element[4] = (isset($element[4])) ? $element[4] : '';
-
-            // Based on the type declared in the data array's third position, create a different form input.
-            switch ($element[2]) {
-
-                // If the type is a text box input
-                case 0 :
-
-                    //Call the form input function.
-                    text_box_input($element[0], $element[1], $element[3], $element[4], (isset($element[5])) ? $element[5] : '');
-                    break;
-
-                // If the type is a file input.
-                case 1 :
-
-                    // Call the file input function.
-                    file_input($element[0], $element[1], $element[3]);
-                    break;
-
-                // If the type is an album list dropdown.
-                case 2 :
-
-                    // Call the album list function.
-                    form_alb_list_box($element[0], $element[1]);
-                    break;
-
-                // If the type is a text area
-                case 3 :
-
-                    // Call the text area function.
-                    text_area_input($element[0], $element[1], $element[3], (isset($element[4])) ? $element[4] : '');
-                    break;
-
-                // If the type is a hidden form
-                case 4 :
-
-                    // Call the hidden input funtion.
-                    hidden_input($element[0], $element[1]);
-                    break;
-
-                // If the type is not present, kill the script.
-                default:
-                    cpg_die(ERROR, $lang_upload_php['reg_instr_1'], __FILE__, __LINE__);
-            } // switch
-        } else {
-
-            // If the element is not an array, it is a label, so call the label function.
-            form_label($element);
-        }
-    }
-}
-
-// The open_form function creates the Javascript verification code and the opening form tags.
-// $path hold the form action path.
-function open_form($path) {
-
-    echo <<<EOT
-    <script language="javascript" type="text/javascript">
-    function textCounter(field, maxlimit) {
-            if (field.value.length > maxlimit) // if too long...trim it!
-            field.value = field.value.substring(0, maxlimit);
-    }
-    </script>
-    <form method="post" action="$path" enctype="multipart/form-data">
-EOT;
-}
-
-// The close form function creates the submit button and the closing tags.
-function close_form($button_value) {
-
-// Pull the language array into the function.
-global $lang_upload_php;
-
-// Create the submit button and close the form.
-echo <<<EOT
-        <tr>
-                <td colspan="2" align="center" class="tablef">
-                        <input type="submit" value="{$button_value}" class="button" />
-                </td>
-
-        </tr>
-
-EOT;
-}
-
-function form_instructions() {
-
-    global $CONFIG, $lang_upload_php, $user_form, $max_file_size;
-
-    echo "<tr><td colspan=\"2\">";
-
-    printf ($lang_upload_php['reg_instr_2'], $CONFIG['max_upl_size']);
-
-    if ($user_form > '3') {
-
-        echo "<br /><br />{$lang_upload_php['reg_instr_3']}";
-
-    }
-
-    if (($user_form == '2') or ($user_form == '3') or ($user_form == '5') or ($user_form == '6')) {
-
-        echo "<br /><br />{$lang_upload_php['reg_instr_4']}";
-
-    }
-
-    echo "<br /><br />{$lang_upload_php['reg_instr_5']}";
-
-    echo "</td></tr>";
-
-}
-
-
-// The get_and_convert_to_bytes function retrieves a limitng value from php.ini and converts the shorthand to bytes.
-function get_and_convert_to_bytes ($ini_variable_name) {
-
-    // Get the variable from php.ini
-    $ini_string = ini_get($ini_variable_name);
-
-    // Declare an array to store regex matches in.
-    $parsed_ini_size = array();
-
-    // Make sure the returned value is a string, then split the number and the unit in two.
-    if ((is_string($ini_string)) and (eregi('^([[:digit:]])+([[:alpha:]])*$', $ini_string, $parsed_ini_size))) {
-
-        // Store the numerical component in $ini_limit cast as an integer
-        $ini_limit = (int) $parsed_ini_size[1];
-
-        // Convert the unit to lower case for analysis and store in $ini_limit_unit.
-        $ini_limit_unit = strtolower($parsed_ini_size[2]);
-
-
-        // Check the unit to see if any conversion is necessary.
-        if ($ini_limit_unit == 'm') {
-
-             // The units indicate megabytes. Shift to bytes.
-             $ini_limit = $ini_limit << 20;
-
-        } elseif ($ini_limit_unit == 'k') {
-
-             // The units indicate kilobytes. Shift to bytes.
-             $ini_limit = $ini_limit << 10;
-        }
-
-        // Return the modified value from php.ini
-        return $ini_limit;
-
-    } else {
-
-        // The returned value is not a string or no pattern match was found. Return false.
-        return false;
-
-    }
-}
-// Moved to 'logger.inc.php' - omni
-// The function spring_cleaning is a garbage collection routine used to purge a directory of old files.
-if (!function_exists('spring_cleaning')){
-function spring_cleaning($directory_path, $cache_time = 86400, $exclusion_list = array('index.html')) {
-
-    //Storage the deleted files
-    $deleted_list = array();
-
-    //First we get the transitory directory handle.
-    $directory_handle = opendir($directory_path);
-
-    // Exit if the directory cannot be opened.
-    if(!$directory_handle) {
-
-        // Return.
-        return;
-
-    }
-
-    // Now let's read through the directory contents.
-    while (!(($file = readdir($directory_handle)) === false)) {
-
-            // Avoid deleting the index page of the directory.
-            if (in_array($file,$exclusion_list)) {
-
-                // This is the index file, so we move on.
-                continue;
-
-            }
-
-            $dir_path = $directory_path."/".$file;
-
-            if (is_dir($dir_path)) {
-
-                // This is a directory, so we move on.
-                continue;
-
-            }
-
-            // We find out when the file was last accessed.
-            $access_time = filemtime($dir_path); // fileatime() returned incorrect value on Windows
-
-            // We find out the current time.
-            $current_time = time();
-
-            // We calculate the the delete time. We will delete anything older than $cache_time.
-            $delete_time = $current_time - $access_time;
-
-            // Now we compare the two.
-            if ($delete_time >= $cache_time) {
-
-                    // The file is old. We delete it.
-                    $deleted_list[] = $dir_path; // Store the name of the file getting deleted
-                    unlink($dir_path);
-            }
-
-    }
-
-    // Don't forget to close the directory.
-    closedir($directory_handle);
-    return $deleted_list;
-        }
-}
-// The create_record function. Takes the encoded string. Returns the unique record ID.
-function create_record($encoded_string) {
-
-    // Globalize $CONFIG
-    global $CONFIG;
-
-    // Declare and initialize variables.
-    $unique_ID_array = array();
-    $generic_array = array();
-
-    // Get all IDs from the table.
-    $result = cpg_db_query("SELECT unique_ID FROM {$CONFIG['TABLE_TEMPDATA']}");
-
-    // Create unique ID array.
-    if (mysql_num_rows($result)) {
-
-        // Move all values into $unique_ID_array.
-        while ($generic_array = mysql_fetch_array($result)) {
-
-            // Store the values.
-            $unique_ID_array[] = $generic_array['unique_ID'];
-
-        }
-
-    } else {
-
-        // The table may be empty. Give it a value.
-        $unique_ID_array[] = 0;
-
-    }
-
-    // Free resources.
-    mysql_free_result($result);
-
-    // Generate the unique ID. Keep generating new IDs until one that is not in use is found.
-    do {
-
-        // Create a random string by taking the first 8 characters of an MD5 hash of a concatenation of the current UNIX epoch time and the current server process ID.
-        $unique_ID = substr(md5(uniqid("")), 0, 8);
-
-    } while (in_array($unique_ID, $unique_ID_array));
-
-    // Create a timestamp to track the record.
-    $timestamp = time();
-
-    // Insert the new record.
-    $result = cpg_db_query("INSERT INTO {$CONFIG['TABLE_TEMPDATA']} VALUES ('$unique_ID', '$encoded_string', '$timestamp')");
-
-    // Return the unique ID if insertion was successful. Otherwise, return false.
-    if ($result) {
-
-        return $unique_ID;
-
-    } else {
-
-        return FALSE;
-
-    }
-
-}
-
-// The update_record function. Takes the $unique_ID and $encoded_string.
-function update_record($unique_ID, $encoded_string) {
-
-    // Globalize $CONFIG
-    global $CONFIG;
-
-    // Update record.
-    $result = cpg_db_query("UPDATE {$CONFIG['TABLE_TEMPDATA']} SET encoded_string = '$encoded_string' WHERE unique_ID = '$unique_ID'");
-
-    // Return true if successful.
-    if ($result) {
-
-        return TRUE;
-
-    } else {
-
-        return FALSE;
-
-    }
-
-}
-
-// The delete_record function. Takes the $unique_ID.
-function delete_record($unique_ID) {
-
-    // Globalize $CONFIG
-    global $CONFIG;
-
-    // Delete record.
-    $result = cpg_db_query("DELETE FROM {$CONFIG['TABLE_TEMPDATA']} WHERE unique_ID = '$unique_ID'");
-
-    // Return true if successful.
-    if ($result) {
-
-        return TRUE;
-
-    } else {
-
-        return FALSE;
-
-    }
-
-}
-
-// The retrieve_record function. Takes the $unique_ID.
-function retrieve_record($unique_ID) {
-
-    // Globalize $CONFIG
-    global $CONFIG;
-
-    // Retrieve record.
-    $result = cpg_db_query("SELECT encoded_string FROM {$CONFIG['TABLE_TEMPDATA']} WHERE unique_ID = '$unique_ID'");
-
-    // Return string if successful.
-    if (mysql_num_rows($result)) {
-
-        // Move value into $encoded_string.
-        while ($generic_array = mysql_fetch_array($result)) {
-
-            // Store the value.
-            $encoded_string = $generic_array['encoded_string'];
-
-        }
-
-        // Free resources.
-        mysql_free_result($result);
-
-        return $encoded_string;
-
-    } else {
-
-        // Free resources.
-        mysql_free_result($result);
-
-        return FALSE;
-
-    }
-
-}
-
-// The clean_table function.
-function clean_table() {
-
-    // Globalize $CONFIG
-    global $CONFIG;
-
-    // Create a timestamp from an hour ago.
-    $comparative_timestamp = time() - 3600;
-
-    // Delete record.
-    $result = cpg_db_query("DELETE FROM {$CONFIG['TABLE_TEMPDATA']} WHERE timestamp < $comparative_timestamp");
-
-    // Return true if successful.
-    if ($result) {
-
-        return TRUE;
-
-    } else {
-
-        return FALSE;
-
-    }
-
-}
-
-//The function check_status determines the status of a URI resource.
-//It takes the URI as its argument and serves to give more specific error
-//messages about unavailable resources.
-function check_status($URI) {
-
-    // Parse the URI into it's requisite parts.
-    $parts = @parse_url($URI);
-
-    // If there is no detectable host, return FALSE.
-    if (empty($parts["host"])) {
-
-        return FALSE;
-
-    } else {
-
-        $host = $parts["host"];
-
-    }
-
-    // If a path is detected, make it $path. Otherwise, assume it is a directory.
-    if (!empty($parts["path"])) {
-
-        $path = $parts["path"];
-
-    } else {
-
-        $path = "/";
-
-    }
-
-    // Append any queries that might be attached.
-    if (!empty($parts["query"])) {
-
-        $path .= "?" . $parts["query"];
-
-    }
-
-    // Set the port if supplied. Default to port 80.
-    if (!empty($parts["port"])) {
-
-        $port = $parts["port"];
-
-    } else {
-
-        $port = "80";
-
-    }
-
-    // Attempt to open a socket to the host.
-    $socket = @fsockopen( $host, $port, $errno, $errstr, 30 );
-
-    // Verify that the socket opened.  Return false if it fails.
-    if (!$socket) {
-
-        return FALSE;
-
-    } else {
-
-        // Craft HTTP request.
-        $request = "HEAD $path HTTP/1.0\r\nUser-Agent: PHP/".phpversion()."\r\nHost: $host\r\nAccept: */*\r\n\r\n";
-
-        // Get request length.
-        $length = strlen($request);
-
-        // Send request data to host. Return false if there is an error.
-        if(!(fwrite($socket, $request, $length))) {
-
-            return FALSE;
-
-        }
-
-        // Collect the host's response.
-        $response = fgets($socket, 22);
-
-        // Close the socket.
-        fclose($socket);
-
-        // Return the response.
-        return $response;
-
-    }
-
-}
-//################################# MAIN CODE BLOCK ##################################################
-
-// Check to see if user customizations are allowed and if one the request has been made yet.
-
-if ((CUSTOMIZE_UPLOAD_FORM) and (!isset($_REQUEST['file_upload_request'])) and (!isset($_REQUEST['URI_upload_request'])) and (!isset($_POST['control']))) {
-
-    // Check to see if the form type is configurable.  If it is, produce the configuration form. Otherwise, generate a warning.
-
-    if(!(USER_UPLOAD_FORM == 0) and !(USER_UPLOAD_FORM == 7)) {
-
-        // Create the box request page.
-        pageheader($lang_upload_php['custom_title']);
-        open_form($_SERVER['PHP_SELF']);
-        starttable("100%", $lang_upload_php['custom_title'], 2);
-        echo "<tr><td colspan=\"2\">";
-        echo "{$lang_upload_php['cust_instr_1']}<br /><br />";
-
-        $data = array();
-        $data[] = $lang_upload_php['cust_instr_2'];
-
-        // If the file upload type is only file uploads or is a dual mode, ask for the requisite number of file upload boxes.
-        if ((USER_UPLOAD_FORM == '1') or (USER_UPLOAD_FORM == '3') or (USER_UPLOAD_FORM == '4') or (USER_UPLOAD_FORM == '6')) {
-
-            // Add the file upload array element to the form array.
-            $data[] = array($lang_upload_php['cust_instr_6'],'file_upload_request', '0', '4', '1');
-
-            // Print number of allowed file upload boxes.
-            printf ($lang_upload_php['cust_instr_3'], $allowed_file_boxes);
-
-            echo "<br /><br />";
-
-        }
-
-        // If the file upload type is only URI uploads or is a dual mode, ask for the requisite number of URI upload boxes.
-        if ((USER_UPLOAD_FORM == '2') or (USER_UPLOAD_FORM == '3') or (USER_UPLOAD_FORM == '5') or (USER_UPLOAD_FORM == '6')) {
-
-            // Add the URI upload array element to the form array.
-            $data[] = array($lang_upload_php['cust_instr_5'], 'URI_upload_request', '0', '4', '1');
-
-            // Print number of allowed URI upload boxes.
-            printf ($lang_upload_php['cust_instr_4'], $allowed_URI_boxes);
-
-            echo "<br /><br />";
-
-        }
-
-        echo "{$lang_upload_php['cust_instr_7']}<br /><br />";
-        echo "</td></tr>";
-        create_form($data);
-        close_form($lang_continue);
-        endtable();
-        echo "</form>";
-        pagefooter();
-
-        // Exit the script.
-        exit;
-
-    } else {
-
-        //Use the default settings for the number of boxes.
-
-        $num_URI_boxes = NUM_URI_BOXES;
-        $num_file_boxes = NUM_FILE_BOXES;
-
-    }
-
-} elseif (CUSTOMIZE_UPLOAD_FORM) {
-
-// If the user is allowed to customize the form, check the incoming data for the number of requested boxes.
-
-    //Check for the number of file upload boxes.
-
-    if (isset($_REQUEST['file_upload_request'])) {
-
-        // Do some validation.
-        $filtered_request = max(0, intval($_REQUEST['file_upload_request']));
-
-        if ($filtered_request > NUM_FILE_BOXES) {
-            $num_file_boxes = NUM_FILE_BOXES;
-        } else {
-            $num_file_boxes = $filtered_request;
-        }
-
-    }
-
-    //Check for the number of requested URI upload boxes.
-
-    if (isset($_REQUEST['URI_upload_request'])) {
-
-        // Do some validation.
-        $filtered_request = max(0, intval($_REQUEST['URI_upload_request']));
-
-        if ($filtered_request > NUM_URI_BOXES) {
-            $num_URI_boxes = NUM_URI_BOXES;
-        } else {
-            $num_URI_boxes = $filtered_request;
-        }
-
-    }
-
-} else {
-
-    //Use the default settings for the number of boxes.
-
-    $num_URI_boxes = NUM_URI_BOXES;
-    $num_file_boxes = NUM_FILE_BOXES;
-
-}
-if (empty($num_URI_boxes) && empty($num_file_boxes)) {
-    $num_URI_boxes = 0;
-    $num_file_boxes = 1;
-}
-
-// Get public and private albums, and set maximum individual file size.
-if (USER_CAN_UPLOAD_PICTURES){
-	if (GALLERY_ADMIN_MODE) {
-	    $public_albums = cpg_db_query("SELECT aid, title FROM {$CONFIG['TABLE_ALBUMS']} WHERE category < " . FIRST_USER_CAT . " ORDER BY title");
-	} else {
-	        $public_albums = cpg_db_query("SELECT aid, title FROM {$CONFIG['TABLE_ALBUMS']} WHERE category < " . FIRST_USER_CAT . " AND uploads='YES' AND (visibility = '0' OR visibility IN ".USER_GROUP_SET.") ORDER BY title");
-	}
-	if (mysql_num_rows($public_albums)) {
-	    $public_albums_list = cpg_db_fetch_rowset($public_albums);
-	} else {
-	    $public_albums_list = array();
-	}
-	
-	if (USER_ID) {
-	    $user_albums = cpg_db_query("SELECT aid, title FROM {$CONFIG['TABLE_ALBUMS']} WHERE category='" . (FIRST_USER_CAT + USER_ID) . "' ORDER BY title");
-	    if (mysql_num_rows($user_albums)) {
-	        $user_albums_list = cpg_db_fetch_rowset($user_albums);
-	    } else {
-	        $user_albums_list = array();
-	    }
-	} else {
-	    $user_albums_list = array();
-	}
-} else {
-	$public_albums_list = array();
-}
-
-if (!count($public_albums_list) && !count($user_albums_list)) {  // there's no album where the user is allowed to upload to
-    if (USER_CAN_CREATE_ALBUMS) {
-        cpg_die (ERROR, $lang_upload_php['err_no_alb_uploadables'].'<br />&nbsp;<br /><a href="albmgr.php" title="'.$lang_user_admin_menu['albmgr_title'].'" class="admin_menu">'.$lang_user_admin_menu['albmgr_lnk'].'</a>', __FILE__, __LINE__);
-    } else {
-        cpg_die (ERROR, $lang_upload_php['err_no_alb_uploadables'], __FILE__, __LINE__);
-    }
-}
-
-// Assign maximum file size for browser crontrols.
-$max_file_size = $CONFIG['max_upl_size'] << 10;
-
-// Create the upload forms using the upload congfiguration.
-
-if (!isset($_REQUEST['control'])) {
-
-    // Do some cleanup in the edit directory.
-    spring_cleaning('./'.$CONFIG['fullpath'].'edit',CPG_HOUR);
-
-    // Do some cleaning in the temp data table.
-    clean_table();
-
-    // Create upload form headers.
-    pageheader($lang_upload_php['title']);
-
-
-    // Select the form action.
-    if (USER_UPLOAD_FORM == '0') {
-
-        // The user has the single upload only form. Send the request to db_input.php.
-        open_form('db_input.php');
-        // Open the form table.
-        starttable("100%", $lang_upload_php['title'], 2);
-    } else {
-
-        // Direct the request to this script and print the form instructions.
-        open_form($_SERVER['PHP_SELF']);
-        // Open the form table.
-        starttable("100%", $lang_upload_php['title'], 2);
-        form_instructions();
-
-    }
-
-
-
-    // Use a if-then-else construct to create the upload form for the user based on the setting in the
-    // groups panel.
-    if(USER_UPLOAD_FORM == '0') {
-
-        // The user should have the 'single upload only' form.
-
-        // Declare an array containing the various upload form box definitions.
-        $captionLabel = $lang_upload_php['description'];
-        if ($CONFIG['show_bbcode_help']) {$captionLabel .= '&nbsp;'. cpg_display_help('f=index.html&amp;base=64&amp;h='.urlencode(base64_encode(serialize($lang_bbcode_help_title))).'&amp;t='.urlencode(base64_encode(serialize($lang_bbcode_help))),470,245);}
-        $form_array = array(
-        sprintf($lang_upload_php['max_fsize'], $CONFIG['max_upl_size']),
-        array($lang_upload_php['album'], 'album', 2),
-        array('MAX_FILE_SIZE', $max_file_size, 4),
-        array($lang_upload_php['picture'], 'userpicture', 1, 1),
-        array($lang_upload_php['pic_title'], 'title', 0, 255, 1),
-        array($captionLabel, 'caption', 3, $CONFIG['max_img_desc_length']),
-        array($lang_upload_php['keywords'], 'keywords', 0, 255, 1),
-        array('event', 'picture', 4)
-        );
-
-        if(!empty($CONFIG['user_field1_name'])) {
-            $form_array[] = array($CONFIG['user_field1_name'], 'user1', 0, 255, 1);
-        }
-
-        if(!empty($CONFIG['user_field2_name'])) {
-            $form_array[] = array($CONFIG['user_field2_name'], 'user2', 0, 255, 1);
-        }
-
-        if(!empty($CONFIG['user_field3_name'])) {
-            $form_array[] = array($CONFIG['user_field3_name'], 'user3', 0, 255, 1);
-        }
-
-        if(!empty($CONFIG['user_field4_name'])) {
-            $form_array[] = array($CONFIG['user_field4_name'], 'user4', 0, 255, 1);
-        }
-
-    } else {
-
-        // Check for valid form number.
-        if ((USER_UPLOAD_FORM >= '0') and (USER_UPLOAD_FORM <= '7')) {
-
-            // Create form array, and insert MAX_FILE_SIZE control.
-            $form_array[] = array('MAX_FILE_SIZE', $max_file_size);
-
-            // Add each upload type depending on the form number,
-            if((USER_UPLOAD_FORM == '1') or (USER_UPLOAD_FORM == '3') or (USER_UPLOAD_FORM == '4') or (USER_UPLOAD_FORM == '6')) {
-
-                if($num_file_boxes > 0) {
-
-                    $form_array[] = $lang_upload_php['reg_instr_7'];
-
-                    $form_array[] = array('', 'file_upload_array[]', 1, $num_file_boxes);
-
-                }
-
-            }
-
-            if((USER_UPLOAD_FORM == '2') or (USER_UPLOAD_FORM == '3') or (USER_UPLOAD_FORM == '5') or (USER_UPLOAD_FORM == '6')) {
-
-                if($num_URI_boxes > 0) {
-
-                    $form_array[] = $lang_upload_php['reg_instr_8'];
-
-                    $form_array[] = array('', 'URI_array[]', 0, 256, $num_URI_boxes);
-
-                }
-
-            }
-
-            if((USER_UPLOAD_FORM == '4') or (USER_UPLOAD_FORM == '5') or (USER_UPLOAD_FORM == '6') or (USER_UPLOAD_FORM == '7')) {
-
-                $form_array[] = $lang_upload_php['reg_instr_6'];
-                $form_array[] = array('', 'ZIP_array[]', 1, 1);
-
-            }
-
-            // Add the control device.
-            $form_array[] = array('control', 'phase_1', 4);
-
-        } else {
-
-            // Unknown form number.
-            cpg_die(ERROR, $lang_upload_php['reg_instr_1'], __FILE__, __LINE__);
-
-        }
-
-    }
-
-    // Create the form.
-    create_form($form_array);
-
-
-
-    // Close the form.
-    if (USER_UPLOAD_FORM == '0') {
-
-        // The user has the single upload only form. Select proper language for button.
-        close_form($lang_upload_php['title']);
-
-    } else {
-
-        // Make button say 'Continue.'
-        close_form($lang_continue);
-
-    }
-
-    // Close the table, create footers, and flush the output buffer.
-    endtable();
-    echo "</form>";
-    pagefooter();
-    ob_end_flush();
-
-    // Exit the script.
-
-    exit;
-
-}
-
-// Recieve incoming file uploads for phase I.
-
-if ((isset($_POST['control'])) and ($_POST['control'] == 'phase_1')) {
-
-    // $_FILES['file_upload_array']['name'][$counter]
-    // $_FILES['file_upload_array']['size'][$counter]
-    // $_FILES['file_upload_array']['tmp_name'][$counter]
-    // $_FILES['file_upload_array']['type'][$counter]
-    // $_FILES['file_upload_array']['error'][$counter]
-    //
-    // Error values:
-    // 0 - No error
-    // 1 - Exceeded filesize allowed in php.ini
-    // 2 - Exceeded filesize allowed by HTML MAX_FILE_SIZE
-    // 3 - Only a partial upload
-    // 4 - No upload occurred.
-
-    $file_upload_count = count($_FILES['file_upload_array']['name']);
-
-    if ($file_upload_count > 0) {
-
-
-        // Check for error code support. Set the error code.
-
-        if (count($_FILES['file_upload_array']['error']) == 0) {
-
-            // This version of PHP does not support error codes (PHP < 4.2.0).  Create our own error code.
-
-            $error_code = 'default';
-
-        } else {
-
-            // We have error support.
-            $error_support = 'TRUE';
-
-        }
-
-        for ($counter = 0; $counter < $file_upload_count; $counter++) {
-
-            // Check for error code support. Set the error code.
-
-            if ($error_support) {
-
-                $error_code = $_FILES['file_upload_array']['error'][$counter];
-
-            }
-
-            // Create the failure ordinal for ordering the report of failed uploads.
-
-            $failure_cardinal = $counter + 1;
-
-            $failure_ordinal = ''.$failure_cardinal.'. ';
-
-            // If there is no file name, make a dummy name for the error reporting system.
-
-            if (($_FILES['file_upload_array']['name'][$counter] == '')) {
-
-                $file_name = 'filename_unavailable';
-
-            } else {
-
-                $file_name = $_FILES['file_upload_array']['name'][$counter];
-
-            }
-
-            // Test for a blank file upload box.
-            if (empty($_FILES['file_upload_array']['tmp_name'][$counter])) {
-
-                // There is no need for further tests or action as there was no uploaded file, so skip the remainder of the iteration.
-                continue;
-
-            }
-
-            // Check to make sure the file was uploaded via POST.
-
-            if (!is_uploaded_file($_FILES['file_upload_array']['tmp_name'][$counter])) {
-
-                // We reject the file, and make a note of the error.
-                $file_failure_array[] = array( 'failure_ordinal'=>$failure_ordinal, 'file_name'=> $file_name, 'error_code'=>$lang_upload_php['no_post']);
-
-                // There is no need for further tests or action, so skip the remainder of the iteration.
-                continue;
-            }
-
-            // Check filename and extension:
-
-            // Check that the file uploaded has a valid name and extension, and replace forbidden chars with underscores.
-
-                    // Initialise the $matches array.
-                    $matches = array();
-
-                    // If magic quotes is on, remove the slashes it added to the file name.
-                    if (get_magic_quotes_gpc()) $_FILES['file_upload_array']['name'][$counter] = stripslashes($_FILES['file_upload_array']['name'][$counter]);
-
-                    // Create the holder $picture_name by translating the file name. Translate any forbidden character into an underscore.
-                    $picture_name = replace_forbidden($_FILES['file_upload_array']['name'][$counter]);
-
-                    // Analyze the file extension using regular expressions.
-                    if (!preg_match("/(.+)\.(.*?)\Z/", $picture_name, $matches)) {
-
-                        // The file name is invalid.
-                        $matches[1] = 'invalid_fname';
-
-                        // Make a bogus file extension to trigger Coppermine's defenses.
-                        $matches[2] = 'xxx';
-                    }
-
-                    // If there is no extension, or if the extension is unknown/not permitted by Coppermine, zap the intruder.
-                    if ($matches[2] == '' || !is_known_filetype($matches)) {
-
-                        // We reject the file, and make a note of the error.
-                        $file_failure_array[] = array( 'failure_ordinal'=>$failure_ordinal, 'file_name'=> $file_name, 'error_code'=>$lang_upload_php['forb_ext']);
-
-                        // There is no need for further tests or action, so skip the remainder of the iteration.
-                        continue;
-
-                    }
-
-            // Check for upload errors.
-
-            if (!($error_code == '0') and !($error_code == 'default')) {
-
-                // PHP has detected a file upload error.
-                if ($error_code == '1') {
-                    $error_message = $lang_upload_php['exc_php_ini'];
-                } elseif ($error_code == '2') {
-                    $error_message = $lang_upload_php['exc_file_size'];
-                } elseif ($error_code == '3') {
-                    $error_message = $lang_upload_php['partial_upload'];
-                } elseif ($error_code == '4') {
-                    $error_message = $lang_upload_php['no_upload'];
-                } else {
-                    $error_message = $lang_upload_php['unknown_code'];
-                }
-
-                //Make a note in the error array.
-                $file_failure_array[] = array( 'failure_ordinal'=>$failure_ordinal, 'file_name'=> $file_name, 'error_code'=>$error_message);
-
-                // There is no need for further tests or action, so skip the remainder of the iteration.
-                continue;
-
-            } elseif ($_FILES['file_upload_array']['tmp_name'][$counter] == '') {
-
-                // There is no temporary file, so the file did not upload. Make a note of it in the file_failure_arrray and flip the failure switch to generate the ordinal. .
-
-                $file_failure_array[] = array( 'failure_ordinal'=>$failure_ordinal, 'file_name'=> $file_name, 'error_code'=>$lang_upload_php['no_temp_name']);
-
-                // There is no need for further tests or action, so skip the remainder of the iteration.
-                continue;
-
-            } elseif ($_FILES['file_upload_array']['size'][$counter] <= 0) {
-
-                // The file contains no data or was corrupted. Make a note of it in the error array.
-
-                $file_failure_array[] = array( 'failure_ordinal'=>$failure_ordinal, 'file_name'=> $file_name, 'error_code'=>$lang_upload_php['no_file_size']);
-
-                // There is no need for further tests or action, so skip the remainder of the iteration.
-                continue;
-
-            } elseif ($_FILES['file_upload_array']['size'][$counter] > $max_file_size) {
-
-                // The file exceeds the amount specified by the max upload directive. Either the browser is stupid, or somebody isn't playing nice. (Ancient browser - MAX_UPLOAD forgery)
-
-                $file_failure_array[] = array( 'failure_ordinal'=>$failure_ordinal, 'file_name'=> $file_name, 'error_code'=>$lang_upload_php['exc_file_size']);
-
-                // There is no need for further tests or action, so skip the remainder of the iteration.
-                continue;
-
-            }
-
-            // Now we need to move the file into the /edit directory.
-
-            // We need specify the path for the transitory file.
-
-            // Create a prefix for easier human recognition.
-            $prefix = "mHTTP_temp_";
-
-            //Set the correct file extension.
-
-            $suffix = $matches[2];
-
-            // Generate the unique name. Keep generating new names until one that is not in use is found.
-
-            do {
-
-                // Create a random seed by taking the first 8 characters of an MD5 hash of a concatenation of the current UNIX epoch time and the current server process ID.
-                $seed = substr(md5(uniqid("")), 0, 8);
-
-                // Assemble the file path.
-                $path_to_image = './'.$CONFIG['fullpath'].'edit/'. $prefix . $seed . '.' . $suffix;
-
-            } while (file_exists($path_to_image));
-
-            // Create a holder called $tempname.
-            $tempname = $prefix . $seed . '.' . $suffix;
-
-            //Now we upload the file.
-            if (!(move_uploaded_file($_FILES['file_upload_array']['tmp_name'][$counter], $path_to_image))) {
-
-                // The file upload has failed.
-
-                $file_failure_array[] = array( 'failure_ordinal'=>$failure_ordinal, 'file_name'=> $file_name, 'error_code'=>$lang_upload_php['impossible']);
-
-                // There is no need for further tests or action, so skip the remainder of the iteration.
-                continue;
-
-            }
-
-            // Change file permission
-            @chmod($path_to_image, octdec($CONFIG['default_file_mode'])); //silence the output in case chmod is disabled
-
-            // Create a testing alias.
-            $picture_alias = $matches[1].".".$matches[2];
-
-            // Check to see if the filename is consistent with that of a picture.
-            if (is_image($picture_alias)) {
-
-                // If it is, get the picture information
-                $imginfo = getimagesize($path_to_image);
-
-                // If getimagesize does not recognize the file as a picture, delete the picture.
-                if ($imginfo === 'FALSE') {
-                    @unlink($path_to_image);
-
-                    // The file upload has failed -- the image is not an image or it is corrupt.
-                    $file_failure_array[] = array( 'failure_ordinal'=>$failure_ordinal, 'file_name'=> $file_name, 'error_code'=>$lang_upload_php['not_image']);
-
-                    // There is no need for further tests or action, so skip the remainder of the iteration.
-                    continue;
-
-                // JPEG and PNG only are allowed with GD. If the image is not allowed for GD,delete it.
-                //} elseif ($imginfo[2] != GIS_JPG && $imginfo[2] != GIS_PNG && ($CONFIG['thumb_method'] == 'gd1' || $CONFIG['thumb_method'] == 'gd2')) {
-                } elseif ($imginfo[2] != GIS_JPG && $imginfo[2] != GIS_PNG && $CONFIG['GIF_support'] == 0) {
-                    @unlink($path_to_image);
-
-                    // The file upload has failed -- the image is not allowed with GD.
-                    $file_failure_array[] = array( 'failure_ordinal'=>$failure_ordinal, 'file_name'=> $file_name, 'error_code'=>$lang_upload_php['not_GD']);
-
-                    // There is no need for further tests or action, so skip the remainder of the iteration.
-                    continue;
-
-                // Check that picture size (in pixels) is lower than the maximum allowed. If not, delete it.
-                } elseif (max($imginfo[0], $imginfo[1]) > $CONFIG['max_upl_width_height']) {
-                  if ((USER_IS_ADMIN && $CONFIG['auto_resize'] == 1) || (!USER_IS_ADMIN && $CONFIG['auto_resize'] > 0)) //($CONFIG['auto_resize']==1)
-                  {
-                    //resize_image($uploaded_pic, $uploaded_pic, $CONFIG['max_upl_width_height'], $CONFIG['thumb_method'], $imginfo[0] > $CONFIG['max_upl_width_height'] ? 'wd' : 'ht');
-                    resize_image($uploaded_pic, $uploaded_pic, $CONFIG['max_upl_width_height'], $CONFIG['thumb_method'], $CONFIG['thumb_use']);
-                  }
-                  else
-                  {
-                    @unlink($path_to_image);
-
-                    // The file upload has failed -- the image dimensions exceed the allowed amount.
-                    $file_failure_array[] = array( 'failure_ordinal'=>$failure_ordinal, 'file_name'=> $file_name, 'error_code'=>$lang_upload_php['pixel_allowance']);
-
-                    // There is no need for further tests or action, so skip the remainder of the iteration.
-                    continue;
-                  }
-                }
-
-            // Image is ok
-            }
-
-            // Put array info for a successful upload in $escrow_array. Hold the actual file name and the name of the temporary image. We do not use the path for security reasons.
-            $escrow_array[] = array('actual_name'=>$picture_alias, 'temporary_name'=>$tempname);
-
-        } // end for loop
-    } // end if statement
-
-    // Count the number of items in the URI array.
-    $URI_upload_count = count($_POST['URI_array']);
-
-    if ($URI_upload_count > 0) {
-
-        for ($counter = 0; $counter < $URI_upload_count; $counter++) {
-
-            // Create the failure ordinal for ordering the report of failed uploads.
-
-            $failure_cardinal = $counter + 1;
-
-            $failure_ordinal = ''.$failure_cardinal.'. ';
-
-            // Initialize the $URI_MIME_type variable.
-            $URI_MIME_type = "0";
-
-            // Check to make sure the URI box was not blank.
-            if (empty($_POST['URI_array'][$counter])) {
-
-                // The box was empty.
-                // There is no need for further tests or action, so skip the remainder of the iteration.
-                continue;
-
-            }
-
-            // Check for magic quotes and remove slashes if necessary.
-            if (get_magic_quotes_gpc()) {
-
-                $_POST['URI_array'][$counter] = stripslashes($_POST['URI_array'][$counter]);
-
-            }
-
-            // Remove excess whitespace.
-            $_POST['URI_array'][$counter] = trim($_POST['URI_array'][$counter]);
-
-            // Translate any interior spaces into hex replacements.
-            $_POST['URI_array'][$counter] = strtr($_POST['URI_array'][$counter], array(" "=>"%20"));
-
-            // We do some validation for the URI. First we check for http:// or ftp:// at the start of the URI.
-            if(!ereg('^http://|^ftp://',$_POST['URI_array'][$counter])) {
-
-                // The URL is malformed or not allowed in Coppermine. Note an error.
-                $URI_failure_array[] = array( 'failure_ordinal'=>$failure_ordinal, 'URI_name'=> $_POST['URI_array'][$counter], 'error_code'=>$lang_upload_php['incorrect_prefix']);
-
-                // There is no need for further tests or action, so skip the remainder of the iteration.
-                continue;
-
-            }
-
-            // To obtain the file name, we explode the URI into $pieces.
-            $pieces = explode('/',$_POST['URI_array'][$counter]);
-
-            // We pop off the end of the $pieces array to obtain the possible file name.
-            $possible_file_name = array_pop($pieces);
-
-            // Strip the hex equivalent for spaces from the possible file name and restore the spaces.
-            $possible_file_name = strtr($possible_file_name, array("%20"=>" "));
-
-            // Check possible filename and extension:
-
-            // Check that the possible file name has a valid name and extension, and replace forbidden chars with underscores.
-
-            // Initialise the $matches array.
-            $matches = array();
-
-            // Create the holder $picture_name by translating the possible file name. Translate any forbidden character into an underscore.
-            $picture_name = replace_forbidden($possible_file_name);
-
-            // Analyze the file extension using regular expressions.
-            if (!preg_match("/(.+)\.(.*?)\Z/", $picture_name, $matches)) {
-
-                // The file name is invalid.
-                $matches[1] = 'invalid_fname';
-
-                // Make a bogus file extension to tell Coppermine to use a different name.
-                $matches[2] = 'xxx';
-            }
-
-            // Set the variable $extension equal to $matches[2].
-            $extension = $matches[2];
-
-            // If there is no extension, or if the extension is unknown/not permitted by Coppermine, attenpt to detect a MIME type.
-            if ($matches[2] == '' || !is_known_filetype($matches)) {
-
-                // Check for stream_get_meta_data support.
-                if (!function_exists('stream_get_meta_data')) {
-
-                    // We cannot get the header information for the file, so we reject the URI as unsafe.
-                    $URI_failure_array[] = array( 'failure_ordinal'=>$failure_ordinal, 'URI_name'=> $_POST['URI_array'][$counter], 'error_code'=>$lang_upload_php['unsafe_URI']);
-
-                    // There is no need for further tests or action, so skip the remainder of the iteration.
-                    continue;
-
-                }
-
-                // Open a stream to the resource.
-                $fp = fopen($_POST['URI_array'][$counter],"rb");
-
-                // Check to see if the resource was opened.
-                if (!$fp) {
-
-                    // Attempt to get the status of the resource.
-                    $response = check_status($_POST['URI_array'][$counter]);
-
-                    // Try to parse header if we were able to get a response.
-                    if ($response) {
-
-                        if(strstr($response, '401')) {
-
-                            // 401 Unauthorized - Authorization needed to obtain resource. Note an error.
-                            $URI_failure_array[] = array( 'failure_ordinal'=>$failure_ordinal, 'URI_name'=> $_POST['URI_array'][$counter], 'error_code'=>$lang_upload_php['http_401']);
-
-                        } elseif(strstr($response, '402')) {
-
-                            // 402 Payment Required -  Where's the cash? :-) Note an error.
-                            $URI_failure_array[] = array( 'failure_ordinal'=>$failure_ordinal, 'URI_name'=> $_POST['URI_array'][$counter], 'error_code'=>$lang_upload_php['http_402']);
-
-                        } elseif(strstr($response, '403')) {
-
-                            // 403 Forbidden - No permission to access the resource. Note an error.
-                            $URI_failure_array[] = array( 'failure_ordinal'=>$failure_ordinal, 'URI_name'=> $_POST['URI_array'][$counter], 'error_code'=>$lang_upload_php['http_403']);
-
-                        } elseif(strstr($response, '404')) {
-
-                            // 404 Not Found - The resource is missing. Note an error.
-                            $URI_failure_array[] = array( 'failure_ordinal'=>$failure_ordinal, 'URI_name'=> $_POST['URI_array'][$counter], 'error_code'=>$lang_upload_php['http_404']);
-
-                        } elseif(strstr($response, '500')) {
-
-                            // 500 Internal Server Error - The server has failed.  Note an error.
-                            $URI_failure_array[] = array( 'failure_ordinal'=>$failure_ordinal, 'URI_name'=> $_POST['URI_array'][$counter], 'error_code'=>$lang_upload_php['http_500']);
-
-                        } elseif(strstr($response, '503')) {
-
-                            // 503 Service Unavailable - The server is busy.  Note an error.
-                            $URI_failure_array[] = array( 'failure_ordinal'=>$failure_ordinal, 'URI_name'=> $_POST['URI_array'][$counter], 'error_code'=>$lang_upload_php['http_503']);
-
-                        } else {
-
-                            // Undocumented error. Note an error. Return status code.
-                            $URI_failure_array[] = array( 'failure_ordinal'=>$failure_ordinal, 'URI_name'=> $_POST['URI_array'][$counter], 'error_code'=>$response);
-
-                        }
-
-                        // There is no need for further tests or action, so skip the remainder of the iteration.
-                        continue;
-
-                    } else {
-
-
-                        // The resource could not be opened.
-                        $URI_failure_array[] = array( 'failure_ordinal'=>$failure_ordinal, 'URI_name'=> $_POST['URI_array'][$counter], 'error_code'=>$lang_upload_php['could_not_open_URI']);
-
-                        // There is no need for further tests or action, so skip the remainder of the iteration.
-                        continue;
-
-                    }
-
-                } else {
-
-                    $header = stream_get_meta_data($fp);
-
-                    if($header === 'FALSE') {
-
-                        // We could not get the meta data from the header. We must reject the URI as unsafe.
-                        $URI_failure_array[] = array( 'failure_ordinal'=>$failure_ordinal, 'URI_name'=> $_POST['URI_array'][$counter], 'error_code'=>$lang_upload_php['meta_data_failure']);
-
-                        // There is no need for further tests or action, so skip the remainder of the iteration.
-                        continue;
-
-                    }
-
-                    //Look for server response. Proceed if status code 200 is returned.
-                    if(!(strstr($header['wrapper_data'][0], '200'))) {
-
-                        // The resource is not available. Attempt to determine why, and
-                        // generate the appropriate error.
-
-                        if(strstr($header['wrapper_data'][0], '401')) {
-
-                            // 401 Unauthorized - Authorization needed to obtain resource. Note an error.
-                            $URI_failure_array[] = array( 'failure_ordinal'=>$failure_ordinal, 'URI_name'=> $_POST['URI_array'][$counter], 'error_code'=>$lang_upload_php['http_401']);
-
-                        } elseif(strstr($header['wrapper_data'][0], '402')) {
-
-                            // 402 Payment Required -  Where's the cash? :-) Note an error.
-                            $URI_failure_array[] = array( 'failure_ordinal'=>$failure_ordinal, 'URI_name'=> $_POST['URI_array'][$counter], 'error_code'=>$lang_upload_php['http_402']);
-
-                        } elseif(strstr($header['wrapper_data'][0], '403')) {
-
-                            // 403 Forbidden - No permission to access the resource. Note an error.
-                            $URI_failure_array[] = array( 'failure_ordinal'=>$failure_ordinal, 'URI_name'=> $_POST['URI_array'][$counter], 'error_code'=>$lang_upload_php['http_403']);
-
-                        } elseif(strstr($header['wrapper_data'][0], '404')) {
-
-                            // 404 Not Found - The resource is missing. Note an error.
-                            $URI_failure_array[] = array( 'failure_ordinal'=>$failure_ordinal, 'URI_name'=> $_POST['URI_array'][$counter], 'error_code'=>$lang_upload_php['http_404']);
-
-                        } elseif(strstr($header['wrapper_data'][0], '500')) {
-
-                            // 500 Internal Server Error - The server has failed.  Note an error.
-                            $URI_failure_array[] = array( 'failure_ordinal'=>$failure_ordinal, 'URI_name'=> $_POST['URI_array'][$counter], 'error_code'=>$lang_upload_php['http_500']);
-
-                        } elseif(strstr($header['wrapper_data'][0], '503')) {
-
-                            // 503 Service Unavailable - The server is busy.  Note an error.
-                            $URI_failure_array[] = array( 'failure_ordinal'=>$failure_ordinal, 'URI_name'=> $_POST['URI_array'][$counter], 'error_code'=>$lang_upload_php['http_503']);
-
-                        } else {
-
-                            // Undocumented error. Note an error. Return status code.
-                            $URI_failure_array[] = array( 'failure_ordinal'=>$failure_ordinal, 'URI_name'=> $_POST['URI_array'][$counter], 'error_code'=>$header['wrapper_data'][0]);
-
-                        }
-
-                        // There is no need for further tests or action, so skip the remainder of the iteration.
-                        continue;
-
-                    }
-
-                    // Cycle through returned HTTP header. Look for the MIME type, which we will use to create a proper file extension.
-
-                    if (count($header['wrapper_data']) < 2) {
-
-                        // We could not get the meta data from the header. We must reject the URI as unsafe.
-                        $URI_failure_array[] = array( 'failure_ordinal'=>$failure_ordinal, 'URI_name'=> $_POST['URI_array'][$counter], 'error_code'=>$lang_upload_php['meta_data_failure']);
-
-                        // There is no need for further tests or action, so skip the remainder of the iteration.
-                        continue;
-
-                    } else {
-
-                        // Now we loop through each item returned in the wrapper data.
-                        for ($i=1; isset($header['wrapper_data'][$i]); $i++) {
-
-                            // We test each array element to see if it contains the content-type header.
-                            if (strstr(strtolower($header['wrapper_data'][$i]), 'content-type')) {
-
-                                // If we find it, we have found the MIME type.  Use regular expressions to extract it.
-                                if(!(eregi('^content-type: ([[:graph:]]+)', $header['wrapper_data'][$i], $MIME_extraction_array))) {
-
-                                    // We could not find a MIME type. Note an error and reject the URI as unsafe.
-                                    $URI_failure_array[] = array( 'failure_ordinal'=>$failure_ordinal, 'URI_name'=> $_POST['URI_array'][$counter], 'error_code'=>$lang_upload_php['MIME_extraction_failure']);
-
-                                    // There is no need for further tests or action, so skip the remainder of the iteration.
-                                    continue 2;
-
-                                } else {
-
-                                    // We have found the MIME type, which we will store in $URI_MIME_type.
-                                    $URI_MIME_type = $MIME_extraction_array[1];
-                                }
-
-                            // While we are at it, let's see if we can get a content length from the server.
-                            } elseif (strstr(strtolower($header['wrapper_data'][$i]), 'content-length')) {
-
-                                // We have found the Content-Length header.  Use regular expressions to extract it.
-                                if(eregi('^content-length: ([[:digit:]]+)', $header['wrapper_data'][$i], $length_extraction_array)) {
-
-                                    // The content length should be available in bytes.  Cross compare with the maximum file size allowed in an upload.
-                                    // Reject the file with an error if it is too large.
-                                    if ($length_extraction_array[1] > $max_file_size) {
-
-                                        // The content is too large. Reject it with an error.
-                                        $URI_failure_array[] = array( 'failure_ordinal'=>$failure_ordinal, 'URI_name'=> $_POST['URI_array'][$counter], 'error_code'=>$lang_upload_php['exc_file_size']);
-
-                                        // There is no need for further tests or action, so skip the remainder of the iteration.
-                                        continue 2;
-
-                                    }
-
-                                }
-
-                            }
-
-                        }
-
-                    }
-
-                    // Close the file pointer if we were able to open it.
-                    fclose($fp);
-
-                }
-
-            }
-
-            // Check to see if MIME type was detected.
-            if($URI_MIME_type) {
-
-                // A mime type was detected.  Determine the appropriate file extension for the MIME type.
-                // We will hard code the most common GD compatible image MIME types to reduce calls to the DB.
-                if(($URI_MIME_type == 'image/jpeg') or ($URI_MIME_type == 'image/jpg')) {
-
-                    //The file will need a .jpg extension.
-                    $extension = 'jpg';
-
-                } elseif ($URI_MIME_type == 'image/png') {
-
-                    //The file will need a .png extension.
-                    $extension = 'png';
-
-                } elseif ($URI_MIME_type == 'image/gif') {
-
-                    //The file will need a .gif extension.
-                    $extension = 'gif';
-
-                } else {
-                
-                		$extension = '';
-                		
-                		foreach ($FILE_TYPES as $ext => $typedata){
-                		
-                			if ($typedata['mime'] == $URI_MIME_type){
-                			 	// Store the extension in $extension.
-                				$extension = $ext;
-                				break;
-                			}
-                			
-                		}
-                		
-                		if (!$extension){
-                		
-                    	// We cannot determine an extension from the MIME type provided, so note an error. Reject the file as unsafe.
-                    	$URI_failure_array[] = array( 'failure_ordinal'=>$failure_ordinal, 'URI_name'=> $_POST['URI_array'][$counter], 'error_code'=>$lang_upload_php['MIME_type_unknown']);
-  
-                    	// There is no need for further tests or action, so skip the remainder of the iteration.
-                      continue;
-             		
-                		}
-
-                }
-
-            }
-
-            //Now we must create the temporary file name.  This will be the permanent file name if MIME type detection was used to establish the extension.
-
-            // First, we create a prefix for easier human recognition.
-            $prefix = "mURI_temp_";
-
-            //Set the correct file extension.
-
-            $suffix = $extension;
-
-            // Generate the unique name. Keep generating new names until one that is not in use is found.
-
-            do {
-
-                // Create a random seed by taking the first 8 characters of an MD5 hash of a concatenation of the current UNIX epoch time and the current server process ID.
-                $seed = substr(md5(uniqid("")), 0, 8);
-
-                // Assemble the file path.
-                $path_to_image = './'.$CONFIG['fullpath'].'edit/'. $prefix . $seed . '.' . $suffix;
-
-            } while (file_exists($path_to_image));
-
-            // Create a holder called $tempname.
-            $tempname = $prefix . $seed . '.' . $suffix;
-
-            // The file name $path_to_image has been created. We must prepare to download the resource. First, we will attemt to detect the status code for the resource.
-
-            // Open a stream to the resource.
-            $fp = fopen($_POST['URI_array'][$counter],"rb");
-
-            // Check to see if the resource was opened.
-            if (!$fp) {
-
-                // Attempt to get the status of the resource.
-                $response = check_status($_POST['URI_array'][$counter]);
-
-                // Try to parse header if we were able to get a response.
-                if ($response) {
-
-                    if(strstr($response, '401')) {
-
-                        // 401 Unauthorized - Authorization needed to obtain resource. Note an error.
-                        $URI_failure_array[] = array( 'failure_ordinal'=>$failure_ordinal, 'URI_name'=> $_POST['URI_array'][$counter], 'error_code'=>$lang_upload_php['http_401']);
-
-                    } elseif(strstr($response, '402')) {
-
-                        // 402 Payment Required -  Where's the cash? :-) Note an error.
-                        $URI_failure_array[] = array( 'failure_ordinal'=>$failure_ordinal, 'URI_name'=> $_POST['URI_array'][$counter], 'error_code'=>$lang_upload_php['http_402']);
-
-                    } elseif(strstr($response, '403')) {
-
-                        // 403 Forbidden - No permission to access the resource. Note an error.
-                        $URI_failure_array[] = array( 'failure_ordinal'=>$failure_ordinal, 'URI_name'=> $_POST['URI_array'][$counter], 'error_code'=>$lang_upload_php['http_403']);
-
-                    } elseif(strstr($response, '404')) {
-
-                        // 404 Not Found - The resource is missing. Note an error.
-                        $URI_failure_array[] = array( 'failure_ordinal'=>$failure_ordinal, 'URI_name'=> $_POST['URI_array'][$counter], 'error_code'=>$lang_upload_php['http_404']);
-
-                    } elseif(strstr($response, '500')) {
-
-                        // 500 Internal Server Error - The server has failed.  Note an error.
-                        $URI_failure_array[] = array( 'failure_ordinal'=>$failure_ordinal, 'URI_name'=> $_POST['URI_array'][$counter], 'error_code'=>$lang_upload_php['http_500']);
-
-                    } elseif(strstr($response, '503')) {
-
-                        // 503 Service Unavailable - The server is busy.  Note an error.
-                        $URI_failure_array[] = array( 'failure_ordinal'=>$failure_ordinal, 'URI_name'=> $_POST['URI_array'][$counter], 'error_code'=>$lang_upload_php['http_503']);
-
-                    } else {
-
-                        // Undocumented error. Note an error. Return status code.
-                        $URI_failure_array[] = array( 'failure_ordinal'=>$failure_ordinal, 'URI_name'=> $_POST['URI_array'][$counter], 'error_code'=>$response);
-
-                    }
-
-                    // There is no need for further tests or action, so skip the remainder of the iteration.
-                    continue;
-
-                } else {
-
-
-                    // The resource could not be opened.
-                    $URI_failure_array[] = array( 'failure_ordinal'=>$failure_ordinal, 'URI_name'=> $_POST['URI_array'][$counter], 'error_code'=>$lang_upload_php['could_not_open_URI']);
-
-                    // There is no need for further tests or action, so skip the remainder of the iteration.
-                    continue;
-
-                }
-
-            } else {
-
-                // Obtain header info if possible.
-                if (function_exists('stream_get_meta_data')) {
-
-                    // Store header data in $header.
-                    $header = stream_get_meta_data($fp);
-
-                    // If data was returned, test it.
-                    if($header) {
-
-                        //Look for server response. Proceed if status code 200 is returned.
-                        if(!(strstr($header['wrapper_data'][0], '200'))) {
-
-                            // The resource is not available. Attempt to determine why, and
-                            // generate the appropriate error.
-
-                            if(strstr($header['wrapper_data'][0], '401')) {
-
-                                // 401 Unauthorized - Authorization needed to obtain resource. Note an error.
-                                $URI_failure_array[] = array( 'failure_ordinal'=>$failure_ordinal, 'URI_name'=> $_POST['URI_array'][$counter], 'error_code'=>$lang_upload_php['http_401']);
-
-                            } elseif(strstr($header['wrapper_data'][0], '402')) {
-
-                                // 402 Payment Required -  Where's the cash? :-) Note an error.
-                                $URI_failure_array[] = array( 'failure_ordinal'=>$failure_ordinal, 'URI_name'=> $_POST['URI_array'][$counter], 'error_code'=>$lang_upload_php['http_402']);
-
-                            } elseif(strstr($header['wrapper_data'][0], '403')) {
-
-                                // 403 Forbidden - No permission to access the resource. Note an error.
-                                $URI_failure_array[] = array( 'failure_ordinal'=>$failure_ordinal, 'URI_name'=> $_POST['URI_array'][$counter], 'error_code'=>$lang_upload_php['http_403']);
-
-                            } elseif(strstr($header['wrapper_data'][0], '404')) {
-
-                                // 404 Not Found - The resource is missing. Note an error.
-                                $URI_failure_array[] = array( 'failure_ordinal'=>$failure_ordinal, 'URI_name'=> $_POST['URI_array'][$counter], 'error_code'=>$lang_upload_php['http_404']);
-
-                            } elseif(strstr($header['wrapper_data'][0], '500')) {
-
-                                // 500 Internal Server Error - The server has failed.  Note an error.
-                                $URI_failure_array[] = array( 'failure_ordinal'=>$failure_ordinal, 'URI_name'=> $_POST['URI_array'][$counter], 'error_code'=>$lang_upload_php['http_500']);
-
-                            } elseif(strstr($header['wrapper_data'][0], '503')) {
-
-                                // 503 Service Unavailable - The server is busy.  Note an error.
-                                $URI_failure_array[] = array( 'failure_ordinal'=>$failure_ordinal, 'URI_name'=> $_POST['URI_array'][$counter], 'error_code'=>$lang_upload_php['http_503']);
-
-                            } else {
-
-                                // Undocumented error. Note an error. Return status code.
-                                $URI_failure_array[] = array( 'failure_ordinal'=>$failure_ordinal, 'URI_name'=> $_POST['URI_array'][$counter], 'error_code'=>$header['wrapper_data'][0]);
-
-                            }
-
-                            // There is no need for further tests or action, so skip the remainder of the iteration.
-                            continue;
-
-                        }
-
-                        // Cycle through returned HTTP header.
-                        if (count($header['wrapper_data']) > 1) {
-
-                            // Now we loop through each item returned in the wrapper data.
-                            for ($i=1; isset($header['wrapper_data'][$i]); $i++) {
-
-                                // Let's see if we can get a content length from the server.
-                                if (strstr(strtolower($header['wrapper_data'][$i]), 'content-length')) {
-
-                                    // We have found the Content-Length header.  Use regular expressions to extract it.
-                                    if(eregi('^content-length: ([[:digit:]]+)', $header['wrapper_data'][$i], $length_extraction_array)) {
-
-                                        // The content length should be available in bytes.  Cross compare with the maximum file size allowed in an upload.
-                                        // Reject the file with an error if it is too large.
-                                        if ($length_extraction_array[1] > $max_file_size) {
-
-                                            // The content is too large. Reject it with an error.
-                                            $URI_failure_array[] = array( 'failure_ordinal'=>$failure_ordinal, 'URI_name'=> $_POST['URI_array'][$counter], 'error_code'=>$lang_upload_php['exc_file_size']);
-
-                                            // There is no need for further tests or action, so skip the remainder of the iteration.
-                                            continue 2;
-
-                                        }
-
-                                    }
-
-                                }
-
-                            }
-
-                        }
-
-                    }
-
-                }
-
-                // Cannot get headers from meta data, or we have completed the metadata check and have found a 200 status code and appropriate content length.
-
-                // Now we must create a file to write the data to.
-                touch($path_to_image);
-
-                // Conduct tests on write file.
-                if (!is_file($path_to_image)) {
-
-                    // The file was not created. Note an error.
-                    $URI_failure_array[] = array( 'failure_ordinal'=>$failure_ordinal, 'URI_name'=> $_POST['URI_array'][$counter], 'error_code'=>$lang_upload_php['cant_create_write']);
-
-                    // There is no need for further tests or action, so skip the remainder of the iteration.
-                    continue;
-
-                // Check for writability,
-                } elseif (!is_writable($path_to_image)) {
-
-                    // The file is not writeable. Note an error.
-                    $URI_failure_array[] = array( 'failure_ordinal'=>$failure_ordinal, 'URI_name'=> $_POST['URI_array'][$counter], 'error_code'=>$lang_upload_php['not_writable']);
-
-                    // There is no need for further tests or action, so skip the remainder of the iteration.
-                    continue;
-
-                } else {
-
-                    // Initialize the $content variable.
-                    $content = '';
-
-                    // The write file has been created and is writeable.  Let's get the content from the URI.
-                    while (!feof($fp)) {
-
-                        // Read the data into $content in 8KB chunks.
-                        $content .= fread($fp,8192);
-
-                    }
-
-                    // Close the file pointer now that we are done reading it.
-                    fclose($fp);
-
-                    // Open the temp file for writing.
-                    $fpw = fopen($path_to_image, "wb");
-
-                    // Verify the file has opened.
-                    if (!$fpw) {
-
-                        // The file did not open. Make a note of the error.
-                        $URI_failure_array[] = array( 'failure_ordinal'=>$failure_ordinal, 'URI_name'=> $_POST['URI_array'][$counter], 'error_code'=>$lang_upload_php['cant_open_write_file']);
-
-                        // There is no need for further tests or action, so skip the remainder of the iteration.
-                        continue;
-
-                    }
-
-                    // Write the data to the file.
-                    if (fwrite($fpw, $content, strlen($content)) === 'FALSE') {
-
-                        // We could not write the data to the file. Note an error.
-                        $URI_failure_array[] = array( 'failure_ordinal'=>$failure_ordinal, 'URI_name'=> $_POST['URI_array'][$counter], 'error_code'=>$lang_upload_php['cant_write_write_file']);
-
-                        // There is no need for further tests or action, so skip the remainder of the iteration.
-                        continue;
-
-                    }
-
-                    // The file now resides on the server. Let's close the write file.
-                    fclose($fpw);
-
-                }
-
-            }
-
-            // The file is located at $path_to_image.  We now need to continue with on server testing.
-
-            // Change file permission
-            @chmod($path_to_image, octdec($CONFIG['default_file_mode'])); //silence the output in case chmod is disabled
-
-            // Create a testing alias. Use the temp name if a MIME type eas discovered.
-            if ($URI_MIME_type) {
-
-                // The MIME type eas detected, so we use the temp name.
-                $picture_alias = $tempname;
-
-            } else {
-
-                $picture_alias = $matches[1].".".$matches[2];
-
-            }
-
-            // Test file size. Delete if too large.
-            if (filesize($path_to_image) > $max_file_size) {
-
-                // The file size is too large, delete it.
-                @unlink($uploaded_pic);
-
-                // The file upload has failed -- the file is too large. make a note of the error.
-                $URI_failure_array[] = array( 'failure_ordinal'=>$failure_ordinal, 'URI_name'=> $_POST['URI_array'][$counter], 'error_code'=>$lang_upload_php['exc_file_size']);
-
-                // There is no need for further tests or action, so skip the remainder of the iteration.
-                continue;
-            }
-
-            // Check to see if the filename is consistent with that of a picture.
-            if (is_image($picture_alias)) {
-
-                // If it is, get the picture information
-                $imginfo = getimagesize($path_to_image);
-
-                // If getimagesize does not recognize the file as a picture, delete the picture.
-                if ($imginfo === 'FALSE') {
-                    @unlink($path_to_image);
-
-                    // The file upload has failed -- the image is not an image or it is corrupt.
-                    $URI_failure_array[] = array( 'failure_ordinal'=>$failure_ordinal, 'URI_name'=> $_POST['URI_array'][$counter], 'error_code'=>$lang_upload_php['not_image']);
-
-                    // There is no need for further tests or action, so skip the remainder of the iteration.
-                    continue;
-
-                // JPEG and PNG only are allowed with GD. If the image is not allowed for GD,delete it.
-                //} elseif ($imginfo[2] != GIS_JPG && $imginfo[2] != GIS_PNG && ($CONFIG['thumb_method'] == 'gd1' || $CONFIG['thumb_method'] == 'gd2')) {
-                } elseif ($imginfo[2] != GIS_JPG && $imginfo[2] != GIS_PNG && $CONFIG['GIF_support'] == 0) {
-                    @unlink($path_to_image);
-
-                    // The file upload has failed -- the image is not allowed with GD.
-                    $URI_failure_array[] = array( 'failure_ordinal'=>$failure_ordinal, 'URI_name'=> $_POST['URI_array'][$counter], 'error_code'=>$lang_upload_php['not_GD']);
-
-                    // There is no need for further tests or action, so skip the remainder of the iteration.
-                    continue;
-
-                // Check that picture size (in pixels) is lower than the maximum allowed. If not, delete it.
-                } elseif (max($imginfo[0], $imginfo[1]) > $CONFIG['max_upl_width_height']) {
-                    @unlink($path_to_image);
-
-                    // The file upload has failed -- the image dimensions exceed the allowed amount.
-                    $URI_failure_array[] = array( 'failure_ordinal'=>$failure_ordinal, 'URI_name'=> $_POST['URI_array'][$counter], 'error_code'=>$lang_upload_php['pixel_allowance']);
-
-                    // There is no need for further tests or action, so skip the remainder of the iteration.
-                    continue;
-                }
-
-            // Image is ok
-            }
-
-            // Put array info for a successful upload in $escrow_array. Array hold the actual file name and the name of the temporary image. We do not use the path for security reasons.
-            $escrow_array[] = array('actual_name'=>$picture_alias, 'temporary_name'=>$tempname);
-
-        }
-
-    }
-
-    // Decompressive ZIP uploading is disabled.
-    // $zip_upload_count = count($_FILES['ZIP_array']['name']);
-
-    //Now we must prepare the inital form for adding the pictures to the database, and we must move them to their final location.
-
-    // Count errors in each error array and the escrow array.
-    $escrow_array_count = count($escrow_array);
-    $file_error_count = count($file_failure_array);
-    $URI_error_count = count($URI_failure_array);
-    $zip_error_count = count($zip_failure_array);
-
-    // Create page header.
-    pageheader($lang_upload_php['title']);
-
-    // Check for successful uploads.
-    if ($escrow_array_count > '0') {
-
-        // Serialize and base64_encode the array.
-        $cayman_escrow = base64_encode(serialize($escrow_array));
-
-        // Add temp data record to database.
-        $unique_ID = create_record($cayman_escrow);
-
-        // Verify record was created.
-        if (!$unique_ID) {
-
-            cpg_die(CRITICAL_ERROR, $lang_upload_php['cant_create_write'], __FILE__, __LINE__);
-
-        }
-
-        // Prepare success data for user.
-        open_form($_SERVER['PHP_SELF']); // Set the form action to this script.
-        starttable("100%", $lang_upload_php['succ'], 2);
-        echo "<tr><td colspan=\"2\">";
-        printf ($lang_upload_php['success'], $escrow_array_count);
-        echo "<br /><br />";
-        echo $lang_upload_php['add'];
-        echo "</td></tr>";
-
-        $form_array = array(
-             array('unique_ID', $unique_ID, 4),
-             array('control', 'phase_2', 4)
-        );
-
-        create_form($form_array);
-        close_form($lang_continue);
-        endtable();
-
-        // Throw in an HTML break for aesthetics.
-        echo "<br />";
-
-    } else {
-
-        // we had no successful uploads. We create a redirect box.
-        msg_box($lang_info, sprintf($lang_upload_php['success'], $escrow_array_count), $lang_continue, 'index.php', "100%");
-
-        // Throw in an HTML break for aesthetics.
-        echo "<br />";
-
-    }
-
-    // Create error report if we have errors.
-    if (($file_error_count + $URI_error_count + $zip_error_count) > 0) {
-
-        // Prepare error data for user.
-        starttable("100%", $lang_upload_php['error_report'], 2);
-        form_statement($lang_upload_php['error_instr']);
-
-        // Look for file upload errors.
-        if ($file_error_count > 0) {
-
-            // There are file upload errors. Generate the section label.
-            form_label($lang_upload_php['reg_instr_7']);
-            echo "<tr><td>{$lang_upload_php['file_name_url']}</td><td>{$lang_upload_php['error_message']}</td></tr>";
-
-            // Cycle through the file upload errors.
-            for ($i=0; $i < $file_error_count; $i++) {
-
-                // Print the error ordinal, file name, and error code.
-                echo "<tr><td>{$file_failure_array[$i]['failure_ordinal']} {$file_failure_array[$i]['file_name']}</td><td>{$file_failure_array[$i]['error_code']}</td></tr>";
-
-            }
-
-        }
-
-        // Look for URI upload errors.
-        if ($URI_error_count > 0) {
-
-            // There are URI upload errors. Generate the section label.
-            form_label($lang_upload_php['reg_instr_8']);
-            echo "<tr><td>{$lang_upload_php['file_name_url']}</td><td>{$lang_upload_php['error_message']}</td></tr>";
-
-            // Cycle through the file upload errors.
-            for ($i=0; $i < $URI_error_count; $i++) {
-
-                // Print the error ordinal, file name, and error code.
-                echo "<tr><td>{$URI_failure_array[$i]['failure_ordinal']} {$URI_failure_array[$i]['URI_name']}</td><td>{$URI_failure_array[$i]['error_code']}</td></tr>";
-
-            }
-
-        }
-
-        // Look for zip upload errors.
-        if ($zip_error_count > 0) {
-
-            // There are file upload errors. Generate the section label.
-            form_label($lang_upload_php['reg_instr_6']);
-            echo "<tr><td>{$lang_upload_php['file_name_url']}</td><td>{$lang_upload_php['error_message']}</td></tr>";
-
-            // Cycle through the file upload errors.
-            for ($i=0; $i < $zip_error_count; $i++) {
-
-                // Print the error ordinal, file name, and error code.
-                echo "<tr><td>{$file_failure_array[$i]['failure_ordinal']} {$file_failure_array[$i]['file_name']}</td><td>{$file_failure_array[$i]['error_code']}</td></tr>";
-
-            }
-
-        }
-
-        // Close the error report table.
-        endtable();
-
-    }
-
-    // Create the footer and flush the output buffer.
-    echo "</form>";
-    pagefooter();
-    ob_end_flush();
-
-    // Exit the script.
-
-    exit;
-}
-
-// Recieve incoming post information for phase II.
-if ((isset($_POST['control'])) and ($_POST['control'] == 'phase_2')) {
-
-    // Check for incoming album placement data.
-    if ((isset($_POST['album'])) and (isset($_POST['unique_ID']))) {
-
-            // Check if user selected an album to upload picture to. If not, die with error.
-        // added by frogfoot
-        $album = (int)$_POST['album'];
-        if (!$album){
-                        cpg_die(ERROR, $lang_db_input_php['album_not_selected'], __FILE__, __LINE__);
-                }
-
-        if (isset($_POST['unique_ID'])) {
-
-            // The unique ID is set, so let us retrieve the record.
-            $cayman_string = retrieve_record($_POST['unique_ID']);
-
-            // Verify record was retrieved.
-            if (!$cayman_string) {
-
-                cpg_die(CRITICAL_ERROR, $lang_errors['param_missing'], __FILE__, __LINE__);
-
-            }
-
-        } else {
-
-            // The $_POST['unique_ID'] value is not present.  Die with an error.
-            cpg_die(CRITICAL_ERROR, $lang_errors['param_missing'], __FILE__, __LINE__);
-
-        }
-
-        // Now we decode the string.
-        $escrow_array = unserialize(base64_decode($cayman_string));
-
-        // Now we need to pop a file set off $escrow_array.
-        // The returned element will take the form: array('actual_name', 'temporary_name')
-
-        // First, we test to make sure $escrow_array is an array.
-        if (!(is_array($escrow_array))) {
-
-            // The decoded information is not an array. Die with an error.
-            cpg_die(CRITICAL_ERROR, $lang_errors['param_missing'], __FILE__, __LINE__);
-
-        }
-
-        // Initialize $file_set as an array.
-        $file_set = array();
-
-        // Create array index.
-        $index = count($escrow_array) - 1;
-
-        // Read the end of the $escrow_array array into $file_set.
-        $file_set[0] = $escrow_array[$index]['actual_name'];
-        $file_set[1] = $escrow_array[$index]['temporary_name'];
-
-        // Get the image preview path.
-        $preview_path = $escrow_array[$index]['preview_path'];
-
-        // Remove end of $escrow_array.
-        unset($escrow_array[$index]['preview_path']);
-        unset($escrow_array[$index]['actual_name']);
-        unset($escrow_array[$index]['temporary_name']);
-        unset($escrow_array[$index]);
-
-        // Re-encode the $escrow_array.
-        $cayman_escrow = base64_encode(serialize($escrow_array));
-
-        // Update the record.
-        $update = update_record($_POST['unique_ID'], $cayman_escrow);
-
-        // Verify that the update occurred.
-        if (!$update) {
-
-            // We cannot write to the temporary data file. Note a fatal error.
-            cpg_die(CRITICAL_ERROR, $lang_upload_php['not_writable'], __FILE__, __LINE__);
-
-        }
-
-        // We have incoming placement data. Let's capture it.
-
-        $album = (int)$_POST['album'];
-        $title = addslashes($_POST['title']);
-        $caption = addslashes($_POST['caption']);
-        $keywords = addslashes($_POST['keywords']);
-        $user1 = addslashes($_POST['user1']);
-        $user2 = addslashes($_POST['user2']);
-        $user3 = addslashes($_POST['user3']);
-        $user4 = addslashes($_POST['user4']);
-
-        // Capture movie or audio width and height if sent.
-        if(isset($_POST['movie_wd'])) {
-
-            $movie_wd = (int)$_POST['movie_wd'];
-
-        } else {
-
-            $movie_wd = 320;
-
-        }
-
-        if(isset($_POST['movie_ht'])) {
-
-            $movie_ht = (int)$_POST['movie_ht'];
-
-        } else {
-
-            $movie_ht = 240;
-
-        }
-
-        // Check if the album id provided is valid
-        if (!GALLERY_ADMIN_MODE) {
-            $result = cpg_db_query("SELECT category FROM {$CONFIG['TABLE_ALBUMS']} WHERE aid='$album' and (uploads = 'YES' OR category = '" . (USER_ID + FIRST_USER_CAT) . "')");
-            if (mysql_num_rows($result) == 0)cpg_die(ERROR, $lang_db_input_php['unknown_album'], __FILE__, __LINE__);
-            $row = mysql_fetch_array($result);
-            mysql_free_result($result);
-            $category = $row['category'];
-        } else {
-            $result = cpg_db_query("SELECT category FROM {$CONFIG['TABLE_ALBUMS']} WHERE aid='$album'");
-            if (mysql_num_rows($result) == 0)cpg_die(ERROR, $lang_db_input_php['unknown_album'], __FILE__, __LINE__);
-            $row = mysql_fetch_array($result);
-            mysql_free_result($result);
-            $category = $row['category'];
-        }
-
-        // Pictures are moved in a directory named 10000 + USER_ID
-        if (USER_ID && !defined('SILLY_SAFE_MODE')) {
-            $filepath = $CONFIG['userpics'] . (USER_ID + FIRST_USER_CAT);
-            $dest_dir = $CONFIG['fullpath'] . $filepath;
-            if (!is_dir($dest_dir)) {
-                mkdir($dest_dir, octdec($CONFIG['default_dir_mode']));
-                if (!is_dir($dest_dir)) cpg_die(CRITICAL_ERROR, sprintf($lang_db_input_php['err_mkdir'], $dest_dir), __FILE__, __LINE__, true);
-                @chmod($dest_dir, octdec($CONFIG['default_dir_mode'])); //silence the output in case chmod is disabled
-                $fp = fopen($dest_dir . '/index.html', 'w');
-                fwrite($fp, ' ');
-                fclose($fp);
-            }
-            $dest_dir .= '/';
-            $filepath .= '/';
-        } else {
-            $filepath = $CONFIG['userpics'];
-            $dest_dir = $CONFIG['fullpath'] . $filepath;
-        }
-
-        // Check that target dir is writable
-        if (!is_writable($dest_dir)) cpg_die(CRITICAL_ERROR, sprintf($lang_db_input_php['dest_dir_ro'], $dest_dir), __FILE__, __LINE__, true);
-
-        //Add the Perl regex to break the actual name.
-        preg_match("/(.+)\.(.*?)\Z/", $file_set[0], $matches);
-
-        // Create a unique name for the uploaded file
-        $nr = 0;
-        $picture_name = $matches[1] . '.' . $matches[2];
-        while (file_exists($dest_dir . $picture_name)) {
-            $picture_name = $matches[1] . '~' . $nr++ . '.' . $matches[2];
-        }
-
-        // Create path for final location.
-        $uploaded_pic = $dest_dir . $picture_name;
-
-        // Form path to temporary image.
-        $path_to_image = './'.$CONFIG['fullpath'].'edit/'.$file_set[1];
-
-                // prevent moving the edit directory...
-                if (is_dir($path_to_image)) cpg_die(CRITICAL_ERROR, $lang_upload_php['failure'] . " - '$path_to_image'", __FILE__, __LINE__, true);
-
-        // Move the picture into its final location
-        if (rename($path_to_image, $uploaded_pic)) {
-
-            // Change file permission
-            @chmod($uploaded_pic, octdec($CONFIG['default_file_mode'])); //silence the output in case chmod is disabled
-
-            // Create thumbnail and intermediate image and add the image into the DB
-            $result = add_picture($album, $filepath, $picture_name, 0,$title, $caption, $keywords, $user1, $user2, $user3, $user4, $category, $raw_ip, $hdr_ip, $movie_wd, $movie_ht);
-
-            if (!$result) {
-
-                // The file could not be placed.
-                $file_placement = 'no';
-
-            } else {
-
-                // The file was placed successfully.
-                $file_placement = 'yes';
-
-            }
-
-        } else {
-
-            // The file was not placed successfully.
-            $file_placement = 'no';
-
-        }
-
-        // Time for garbage cleanup.
-
-        // First, we delete the preview image.
-        if ((!strstr($preview_path, 'thumb')) and (file_exists($preview_path))) {
-
-            unlink($preview_path);
-
-        }
-
-        // Check to see if this is the last one.
-        if(count($escrow_array) == '0') {
-
-            // Create the final message.
-            if ($PIC_NEED_APPROVAL) {
-
-                if ($file_placement == 'no') {
-
-                    $final_message = ''.$lang_upload_php['no_place'].'<br /><br />'.$lang_db_input_php['upload_success'];
-
-                } else {
-
-                    $final_message = ''.$lang_upload_php['yes_place'].'<br /><br />'.$lang_db_input_php['upload_success'];
-
-                }
-
-            } else {
-
-                if ($file_placement == 'no') {
-
-                    $final_message = ''.$lang_upload_php['no_place'].'<br /><br />'.$lang_upload_php['process_complete'];
-
-                } else {
-
-                    $final_message = ''.$lang_upload_php['yes_place'].'<br /><br />'.$lang_upload_php['process_complete'];
-
-                }
-
-            }
-
-            // Delete the temporary data file.
-            delete_record($_POST['unique_ID']);
-
-            // Send e-mail notification to the admin if requested (added by gaugau: 03-11-09).
-            if (($CONFIG['upl_notify_admin_email']) and ($PIC_NEED_APPROVAL)) {
-                // Encapsulate so included lang file doesn't interfere with global one
-                function cpg_send_upload_notification() {
-                    global $CONFIG;
-                    $lang_db_input_php = cpg_get_default_lang_var('lang_db_input_php');
-                    // Get the mail files.
-                    include_once('include/mailer.inc.php');
-
-                    // Send the message.
-                    cpg_mail('admin', sprintf($lang_db_input_php['notify_admin_email_subject'], $CONFIG['gallery_name']), sprintf($lang_db_input_php['notify_admin_email_body'], USER_NAME,  $CONFIG['ecards_more_pic_target']. (substr( $CONFIG["ecards_more_pic_target"], -1) == '/' ? '' : '/') .'editpics.php?mode=upload_approval' ));
-                }
-                cpg_send_upload_notification();
-            }
-
-            // That was the last one. Create a redirect box.
-            pageheader($lang_info);
-            msg_box($lang_info, $final_message, $lang_continue, 'index.php', "100%");
-            pagefooter();
-
-            // Exit the script.
-            exit;
-
-        }
-
-    }
-
-    // The user has files that need to be processed and placed in albums.
-    // We must pull that information from the temporary data file
-    // whose ID is in $_POST['unique_ID'].
-
-    if (isset($_POST['unique_ID'])) {
-
-            // The unique ID is set, so let us retrieve the record.
-            $cayman_string = retrieve_record($_POST['unique_ID']);
-
-            // Verify record was retrieved.
-            if (!$cayman_string) {
-
-                cpg_die(CRITICAL_ERROR, $lang_errors['param_missing'], __FILE__, __LINE__);
-
-            }
-
-    } else {
-
-        // The $_POST['cayman'] path is not present.  Die with an error.
-        cpg_die(CRITICAL_ERROR, $lang_errors['param_missing'], __FILE__, __LINE__);
-
-    }
-
-    // Now we decode the string.
-    $escrow_array = unserialize(base64_decode($cayman_string));
-
-    // Now we need to detect the end file set of $escrow_array.
-    // The returned element will take the form: array('actual_name', 'temporary_name')
-
-    // First, we test to make sure $escrow_array is an array.
-    if (!(is_array($escrow_array))) {
-
-        // The decoded information is not an array. Die with an error.
-        cpg_die(CRITICAL_ERROR, $lang_errors['param_missing'], __FILE__, __LINE__);
-
-    }
-
-    // Initialize $file_set as an array.
-    $file_set = array();
-
-    // Create array index.
-    $index = count($escrow_array) - 1;
-
-    // Read the end of the $escrow_array array into $file_set.
-    $file_set[0] = $escrow_array[$index]['actual_name'];
-    $file_set[1] = $escrow_array[$index]['temporary_name'];
-
-    // Create preview image.
-
-    // Create path to image.
-    $path_to_image = './'.$CONFIG['fullpath'].'edit/'.$file_set[1];
-
-    // Create the preview function.
-
-    // Get the extension for the preview.
-
-    // First we parse the file name to determine the file type.
-    $pieces = explode('.',$file_set[1]);
-
-    // We pop off the end of the $pieces array to obtain the possible file name.
-    $extension = array_pop($pieces);
-
-    // Detect if the file is an image.
-    if(is_image($file_set[1])) {
-
-        // Create preview image file name.
-
-        do {
-
-            // Create a random seed by taking the first 8 characters of an MD5 hash of a concatenation of the current UNIX epoch time and the current server process ID.
-            $seed = substr(md5(uniqid("")), 0, 8);
-
-            // Assemble the file path.
-            $path_to_preview = './'.$CONFIG['fullpath'].'edit/preview_' . $seed . '.' . $extension;
-
-        } while (file_exists($path_to_preview));
-
-        // Create secure preview path.
-        $s_preview_path = 'preview_' . $seed . '.' . $extension;
-
-        // The file is an image, we must resize it for a preview image.
-        resize_image($path_to_image, $path_to_preview, '150', $CONFIG['thumb_method'], 'wd');
-
-        if ($CONFIG['read_iptc_data']) {
-           $iptc = get_IPTC($path_to_image);
-        }
-
-    } else {
-
-        // The file is not an image, so we will use the non-image thumbs
-        // for preview images.
-
-        // We create the path to the preview image.
-        $path_to_preview = "images/thumb_{$extension}.jpg";
-
-    }
-
-    // Add preview image path to $escrow_array.
-    $escrow_array[$index]['preview_path'] = $path_to_preview;
-
-    // Re-encode the $escrow_array.
-    $cayman_escrow = base64_encode(serialize($escrow_array));
-
-    // Update the record.
-    $update = update_record($_POST['unique_ID'], $cayman_escrow);
-
-    // Verify that the update occurred.
-    if (!$update) {
-
-        // We cannot write to the temporary data file. Note a fatal error.
-        cpg_die(CRITICAL_ERROR, $lang_upload_php['not_writable'], __FILE__, __LINE__);
-
-    }
-
-    // Create upload form headers.
-    pageheader($lang_upload_php['title']);
-    
-    // Direct the request to this script.
-    open_form($_SERVER['PHP_SELF']);
-
-    // Open the form table.
-    starttable("100%", $lang_upload_php['title'], 2);
-
-    // Create image tag and echo it to the output buffer.
-    echo "<tr><td class=\"tableh2\"><img class=\"image\" src=\"".$path_to_preview."\"  /></td>";
-
-    // Echo instructions.
-    echo "<td class=\"tableh2\">{$lang_upload_php['picture']} - {$file_set[0]}<br /><br />{$lang_upload_php['place_instr_1']}<br /><br />";
-
-    // If we have previously placed a picture, give a brief message about its success or failure.
-    if (isset($file_placement)) {
-
-        if ($file_placement == 'yes') {
-
-            // The previous picture was placed successfully.
-            echo "{$lang_upload_php['yes_place']}";
-
-        } elseif ($file_placement == 'no') {
-
-            // The previous image placement failed.
-            echo "{$lang_upload_php['no_place']}";
-
-        }
-
-    }
-
-    echo "</td></tr>";
-
-    // Declare an array containing the various upload form box definitions.
-    $captionLabel = $lang_upload_php['description'];
-    if ($CONFIG['show_bbcode_help']) {$captionLabel .= '&nbsp;'. cpg_display_help('f=index.html&amp;base=64&amp;h='.urlencode(base64_encode(serialize($lang_bbcode_help_title))).'&amp;t='.urlencode(base64_encode(serialize($lang_bbcode_help))),470,245);}
-    //$printed_file_name = "{$lang_upload_php['picture']} - {$file_set[0]}";
-
-    //Use the IPTC title or headline for the Coppermine title if available.
-    if (isset($iptc['Title']) && !empty($iptc['Title'])) {
-        $title=$iptc['Title'];
-    } elseif (isset($iptc['Headline']) && !empty($iptc['Headline'])) {
-        $title=$iptc['Headline'];
-    } else {
-        $title='';
-    }
-
-    $form_array = array(
-    array($lang_upload_php['album'], 'album', 2),
-    array($lang_upload_php['pic_title'], 'title', 0, 255, 1, $title),
-    array($captionLabel, 'caption', 3, $CONFIG['max_img_desc_length'], (isset($iptc['Caption'])) ? $iptc['Caption'] : ''),
-    array($lang_upload_php['keywords'], 'keywords', 0, 255, 1,(isset($iptc['Keywords'])) ? implode(' ',$iptc['Keywords']): ''),
-    array('control', 'phase_2', 4),
-    array('unique_ID', $_POST['unique_ID'], 4),
-    );
-
-    // Check for user defined fields.
-    if(!empty($CONFIG['user_field1_name'])) {
-        $form_array[] = array($CONFIG['user_field1_name'], 'user1', 0, 255, 1);
-    }
-
-    if(!empty($CONFIG['user_field2_name'])) {
-        $form_array[] = array($CONFIG['user_field2_name'], 'user2', 0, 255, 1);
-    }
-
-    if(!empty($CONFIG['user_field3_name'])) {
-        $form_array[] = array($CONFIG['user_field3_name'], 'user3', 0, 255, 1);
-    }
-
-    if(!empty($CONFIG['user_field4_name'])) {
-        $form_array[] = array($CONFIG['user_field4_name'], 'user4', 0, 255, 1);
-    }
-
-
-    // Check for movies and audio, and create width and height boxes if true.
-    if((is_movie($file_set[1])) or (is_audio($file_set[1]))) {
-
-        //Add width and height boxes to the form.
-        $form_array[] = array($lang_admin_php['th_wd'],'movie_wd', 0, 4, 1);
-        $form_array[] = array($lang_admin_php['th_ht'],'movie_ht', 0, 4, 1);
-
-    }
-
-    // Create the form and echo more instructions.
-    create_form($form_array);
-
-    // More instructions.
-    if(count($escrow_array) > '1') {
-
-        form_statement($lang_upload_php['place_instr_2']);
-
-    }
-
-    // Make button say 'Continue.'
-    close_form($lang_continue);
-
-    // Close the table, create footers, and flush the output buffer.
-    endtable();
-    echo "</form>";
-    pagefooter();
-    ob_end_flush();
-
-    // Exit the script.
-    exit;
-
-
-}
+<?php
+/*************************
+  Coppermine Photo Gallery
+  ************************
+  Copyright (c) 2003-2009 Coppermine Dev Team
+  v1.1 originally written by Gregory DEMAR
+
+  This program is free software; you can redistribute it and/or modify
+  it under the terms of the GNU General Public License version 3
+  as published by the Free Software Foundation.
+  
+  ********************************************
+  Coppermine version: 1.4.25
+  $HeadURL: https://coppermine.svn.sourceforge.net/svnroot/coppermine/trunk/cpg1.4.x/upload.php $
+  $Revision: 5997 $
+  $Author: gaugau $
+  $Date: 2009-05-26 08:43:24 +0200 (Di, 26 Mai 2009) $
+**********************************************/
+
+// Confirm we are in Coppermine and set the language blocks.
+define('IN_COPPERMINE', true);
+define('UPLOAD_PHP', true);
+define('DB_INPUT_PHP', true);
+define('ADMIN_PHP', true);
+
+// Call basic functions, etc.
+require('include/init.inc.php');
+require('include/picmgmt.inc.php');
+
+// Some placeholders.
+$customize = CUSTOMIZE_UPLOAD_FORM;
+$user_form = USER_UPLOAD_FORM;
+$allowed_URI_boxes = NUM_URI_BOXES;
+$allowed_file_boxes = NUM_FILE_BOXES;
+
+// Check to see if user can upload pictures.  Quit with an error if he cannot.
+if (!USER_CAN_UPLOAD_PICTURES && !USER_CAN_CREATE_ALBUMS) {
+    cpg_die(ERROR, $lang_errors['perm_denied'], __FILE__, __LINE__);
+}
+
+// Globalize $CONFIG.
+global $CONFIG, $lang_upload_php, $user_form, $max_file_size;
+
+//___________________________________Function Block_______________________________________
+
+
+// The form label creation function. Takes a non-array element form $data as its argument.
+function form_label($text) {
+    echo <<<EOT
+        <tr>
+                <td class="tableh2" colspan="2">
+                        <b>$text</b>
+                </td>
+        </tr>
+
+EOT;
+}
+
+// The form statement creation function. Takes a non-array element form $data as its argument.
+function form_statement($text) {
+    echo <<<EOT
+        <tr>
+                <td class="tableb" colspan="2">
+                        $text
+                </td>
+        </tr>
+
+EOT;
+}
+
+// The hidden form input function. Takes the hidden input field name and value.
+function hidden_input($name, $value) {
+        echo <<<EOT
+        <tr>
+            <td colspan="2">
+                   <input type="hidden" name="$name" value="$value" />
+            </td>
+        </tr>
+
+EOT;
+}
+
+// The text box form input function. Takes the text label for the box, the input name, the maximum length for text boxes,
+// and the number of iterations.
+function text_box_input($text, $name, $max_length, $iterations, $default='') {
+
+    global $CONFIG;
+
+    $ordinal = '';
+
+    if (($text == '') and ($iterations == '')) {
+        echo "        <input type=\"hidden\" name=\"$name\" value=\"$default\" />\n";
+        return;
+    }
+
+    // Begin loop
+    for ($counter=0; $counter<$iterations; $counter++) {
+
+    // Create a numbering system when necessary.
+    if ($text == '') {
+        $cardinal = $counter + 1;
+        $ordinal = "".$cardinal.". ";
+    }
+
+    // Create a text box.
+    echo <<<EOT
+        <tr>
+            <td width="40%" class="tableb">
+                        $text  $ordinal
+        </td>
+        <td width="60%" class="tableb" valign="top">
+                <input type="text" style="width: 100%" name="$name" maxlength="$max_length" value="$default" class="textinput" id="$name" />
+                </td>
+        </tr>
+
+EOT;
+    }
+}
+
+// The file input function. Takes the label, field name, and number of iterations as arguments.
+function file_input($text, $name, $iterations) {
+
+    $ordinal = '';
+
+    // Begin loop
+    for ($counter=0; $counter<$iterations; $counter++) {
+
+    // Create a numbering system when necessary.
+    if ($text == '') {
+        $cardinal = $counter + 1;
+        $ordinal = "".$cardinal.". ";
+    }
+
+    // Create the file input box.
+    echo <<<EOT
+        <tr>
+            <td class="tableb">
+                        $text  $ordinal
+        </td>
+        <td class="tableb" valign="top">
+                        <input type="file" name="$name" size="40" class="listbox" />
+                </td>
+        </tr>
+
+EOT;
+    }
+}
+
+// The function for text areas on forms. Takes the label, field name, and maximum length as arguments.
+function text_area_input($text, $name, $max_length,$default='') {
+
+    // Create the text area.
+    echo <<<EOT
+        <tr>
+                <td class="tableb" valign="top">
+                        $text
+                </td>
+                <td class="tableb" valign="top">
+                        <textarea name="$name" rows="5" cols="40" class="textinput" style="width: 100%;" onKeyDown="textCounter(this, $max_length);" onKeyUp="textCounter(this, $max_length);">$default</textarea>
+                </td>
+        </tr>
+EOT;
+}
+
+// The function to create the album list drop down.
+function form_alb_list_box($text, $name) {
+// frogfoot re-wrote this function to present the list in categorized, sorted and nicely formatted order
+
+    // Pull the $CONFIG array and the GET array into the function
+    global $CONFIG, $lang_upload_php;
+
+    // Also pull the album lists into the function
+    global $user_albums_list, $public_albums_list;
+
+    // Check to see if an album has been preselected by URL addition. If so, make $sel_album the album number. Otherwise, make $sel_album 0.
+    $sel_album = isset($_GET['album']) ? $_GET['album'] : 0;
+
+    // Create the opening of the drop down box
+    echo <<<EOT
+    <tr>
+        <td class="tableb">
+            $text
+        </td>
+        <td class="tableb" valign="top">
+            <select name="$name" class="listbox">
+
+EOT;
+
+    // Reset counter
+    $list_count = 0;
+
+    // Cycle through the User albums
+    foreach($user_albums_list as $album) {
+
+        // Add to multi-dim array for later sorting
+        $listArray[$list_count]['cat'] = $lang_upload_php['personal_albums'];
+        $listArray[$list_count]['aid'] = $album['aid'];
+        $listArray[$list_count]['title'] = $album['title'];
+        $list_count++;
+    }
+
+    // Cycle through the public albums
+    foreach($public_albums_list as $album) {
+
+        // Set $album_id to the actual album ID
+        $album_id = $album['aid'];
+
+        // Get the category name
+        $vQuery = "SELECT cat.name FROM " . $CONFIG['TABLE_CATEGORIES'] . " cat, " . $CONFIG['TABLE_ALBUMS'] . " alb WHERE alb.aid='" . $album_id . "' AND cat.cid=alb.category";
+        $vRes = cpg_db_query($vQuery);
+        $vRes = mysql_fetch_array($vRes);
+
+        // Add to multi-dim array for sorting later
+        if ($vRes['name']) {
+            $listArray[$list_count]['cat'] = $vRes['name'];
+        } else {
+            $listArray[$list_count]['cat'] = $lang_upload_php['albums_no_category'];
+        }
+        $listArray[$list_count]['aid'] = $album['aid'];
+        $listArray[$list_count]['title'] = $album['title'];
+        $list_count++;
+    }
+
+    // Sort the pulldown options by category and album name
+    $listArray = array_csort($listArray,'cat','title');
+
+    // Finally, print out the nicely sorted and formatted drop down list
+    $alb_cat = '';
+        echo '                <option value="">' . $lang_upload_php['select_album'] . "</option>\n";
+    foreach ($listArray as $val) {
+        if ($val['cat'] != $alb_cat) {
+if ($alb_cat) echo "                </optgroup>\n";
+            echo '                <optgroup label="' . $val['cat'] . '">' . "\n";
+            $alb_cat = $val['cat'];
+        }
+        echo '                <option value="' . $val['aid'] . '"' . ($val['aid'] == $sel_album ? ' selected' : '') . '>   ' . $val['title'] . "</option>\n";
+    }
+    if ($alb_cat) echo "                </optgroup>\n";
+
+    // Close the drop down
+    echo <<<EOT
+            </select>
+        </td>
+    </tr>
+
+EOT;
+}
+
+
+// The create form function. Takes the $data array as its object.
+//
+// Type:
+// 0 => text box input
+// 1 => file input
+// 2 => album list
+// 3 => text area input
+// 4 => hidden input
+function create_form(&$data) {
+
+    global $CONFIG, $lang_upload_php;
+
+    // Cycle through the elements in the data array.
+    foreach($data as $element) {
+
+        // If the element is another array, parse the definition contained within the array.
+        if ((is_array($element))) {
+			$element[2] = (isset($element[2])) ? $element[2] : '';
+			$element[3] = (isset($element[3])) ? $element[3] : '';
+			$element[4] = (isset($element[4])) ? $element[4] : '';
+
+            // Based on the type declared in the data array's third position, create a different form input.
+            switch ($element[2]) {
+
+                // If the type is a text box input
+                case 0 :
+
+                    //Call the form input function.
+                    text_box_input($element[0], $element[1], $element[3], $element[4], (isset($element[5])) ? $element[5] : '');
+                    break;
+
+                // If the type is a file input.
+                case 1 :
+
+                    // Call the file input function.
+                    file_input($element[0], $element[1], $element[3]);
+                    break;
+
+                // If the type is an album list dropdown.
+                case 2 :
+
+                    // Call the album list function.
+                    form_alb_list_box($element[0], $element[1]);
+                    break;
+
+                // If the type is a text area
+                case 3 :
+
+                    // Call the text area function.
+                    text_area_input($element[0], $element[1], $element[3], (isset($element[4])) ? $element[4] : '');
+                    break;
+
+                // If the type is a hidden form
+                case 4 :
+
+                    // Call the hidden input funtion.
+                    hidden_input($element[0], $element[1]);
+                    break;
+
+                // If the type is not present, kill the script.
+                default:
+                    cpg_die(ERROR, $lang_upload_php['reg_instr_1'], __FILE__, __LINE__);
+            } // switch
+        } else {
+
+            // If the element is not an array, it is a label, so call the label function.
+            form_label($element);
+        }
+    }
+}
+
+// The open_form function creates the Javascript verification code and the opening form tags.
+// $path hold the form action path.
+function open_form($path) {
+
+    echo <<<EOT
+    <script language="javascript" type="text/javascript">
+    function textCounter(field, maxlimit) {
+            if (field.value.length > maxlimit) // if too long...trim it!
+            field.value = field.value.substring(0, maxlimit);
+    }
+    </script>
+    <form method="post" action="$path" enctype="multipart/form-data">
+EOT;
+}
+
+// The close form function creates the submit button and the closing tags.
+function close_form($button_value) {
+
+// Pull the language array into the function.
+global $lang_upload_php;
+
+// Create the submit button and close the form.
+echo <<<EOT
+        <tr>
+                <td colspan="2" align="center" class="tablef">
+                        <input type="submit" value="{$button_value}" class="button" />
+                </td>
+
+        </tr>
+
+EOT;
+}
+
+function form_instructions() {
+
+    global $CONFIG, $lang_upload_php, $user_form, $max_file_size;
+
+    echo "<tr><td colspan=\"2\">";
+
+    printf ($lang_upload_php['reg_instr_2'], $CONFIG['max_upl_size']);
+
+    if ($user_form > '3') {
+
+        echo "<br /><br />{$lang_upload_php['reg_instr_3']}";
+
+    }
+
+    if (($user_form == '2') or ($user_form == '3') or ($user_form == '5') or ($user_form == '6')) {
+
+        echo "<br /><br />{$lang_upload_php['reg_instr_4']}";
+
+    }
+
+    echo "<br /><br />{$lang_upload_php['reg_instr_5']}";
+
+    echo "</td></tr>";
+
+}
+
+
+// The get_and_convert_to_bytes function retrieves a limitng value from php.ini and converts the shorthand to bytes.
+function get_and_convert_to_bytes ($ini_variable_name) {
+
+    // Get the variable from php.ini
+    $ini_string = ini_get($ini_variable_name);
+
+    // Declare an array to store regex matches in.
+    $parsed_ini_size = array();
+
+    // Make sure the returned value is a string, then split the number and the unit in two.
+    if ((is_string($ini_string)) and (eregi('^([[:digit:]])+([[:alpha:]])*$', $ini_string, $parsed_ini_size))) {
+
+        // Store the numerical component in $ini_limit cast as an integer
+        $ini_limit = (int) $parsed_ini_size[1];
+
+        // Convert the unit to lower case for analysis and store in $ini_limit_unit.
+        $ini_limit_unit = strtolower($parsed_ini_size[2]);
+
+
+        // Check the unit to see if any conversion is necessary.
+        if ($ini_limit_unit == 'm') {
+
+             // The units indicate megabytes. Shift to bytes.
+             $ini_limit = $ini_limit << 20;
+
+        } elseif ($ini_limit_unit == 'k') {
+
+             // The units indicate kilobytes. Shift to bytes.
+             $ini_limit = $ini_limit << 10;
+        }
+
+        // Return the modified value from php.ini
+        return $ini_limit;
+
+    } else {
+
+        // The returned value is not a string or no pattern match was found. Return false.
+        return false;
+
+    }
+}
+// Moved to 'logger.inc.php' - omni
+// The function spring_cleaning is a garbage collection routine used to purge a directory of old files.
+if (!function_exists('spring_cleaning')){
+function spring_cleaning($directory_path, $cache_time = 86400, $exclusion_list = array('index.html')) {
+
+    //Storage the deleted files
+    $deleted_list = array();
+
+    //First we get the transitory directory handle.
+    $directory_handle = opendir($directory_path);
+
+    // Exit if the directory cannot be opened.
+    if(!$directory_handle) {
+
+        // Return.
+        return;
+
+    }
+
+    // Now let's read through the directory contents.
+    while (!(($file = readdir($directory_handle)) === false)) {
+
+            // Avoid deleting the index page of the directory.
+            if (in_array($file,$exclusion_list)) {
+
+                // This is the index file, so we move on.
+                continue;
+
+            }
+
+            $dir_path = $directory_path."/".$file;
+
+            if (is_dir($dir_path)) {
+
+                // This is a directory, so we move on.
+                continue;
+
+            }
+
+            // We find out when the file was last accessed.
+            $access_time = filemtime($dir_path); // fileatime() returned incorrect value on Windows
+
+            // We find out the current time.
+            $current_time = time();
+
+            // We calculate the the delete time. We will delete anything older than $cache_time.
+            $delete_time = $current_time - $access_time;
+
+            // Now we compare the two.
+            if ($delete_time >= $cache_time) {
+
+                    // The file is old. We delete it.
+                    $deleted_list[] = $dir_path; // Store the name of the file getting deleted
+                    unlink($dir_path);
+            }
+
+    }
+
+    // Don't forget to close the directory.
+    closedir($directory_handle);
+    return $deleted_list;
+        }
+}
+// The create_record function. Takes the encoded string. Returns the unique record ID.
+function create_record($encoded_string) {
+
+    // Globalize $CONFIG
+    global $CONFIG;
+
+    // Declare and initialize variables.
+    $unique_ID_array = array();
+    $generic_array = array();
+
+    // Get all IDs from the table.
+    $result = cpg_db_query("SELECT unique_ID FROM {$CONFIG['TABLE_TEMPDATA']}");
+
+    // Create unique ID array.
+    if (mysql_num_rows($result)) {
+
+        // Move all values into $unique_ID_array.
+        while ($generic_array = mysql_fetch_array($result)) {
+
+            // Store the values.
+            $unique_ID_array[] = $generic_array['unique_ID'];
+
+        }
+
+    } else {
+
+        // The table may be empty. Give it a value.
+        $unique_ID_array[] = 0;
+
+    }
+
+    // Free resources.
+    mysql_free_result($result);
+
+    // Generate the unique ID. Keep generating new IDs until one that is not in use is found.
+    do {
+
+        // Create a random string by taking the first 8 characters of an MD5 hash of a concatenation of the current UNIX epoch time and the current server process ID.
+        $unique_ID = substr(md5(uniqid("")), 0, 8);
+
+    } while (in_array($unique_ID, $unique_ID_array));
+
+    // Create a timestamp to track the record.
+    $timestamp = time();
+
+    // Insert the new record.
+    $result = cpg_db_query("INSERT INTO {$CONFIG['TABLE_TEMPDATA']} VALUES ('$unique_ID', '$encoded_string', '$timestamp')");
+
+    // Return the unique ID if insertion was successful. Otherwise, return false.
+    if ($result) {
+
+        return $unique_ID;
+
+    } else {
+
+        return FALSE;
+
+    }
+
+}
+
+// The update_record function. Takes the $unique_ID and $encoded_string.
+function update_record($unique_ID, $encoded_string) {
+
+    // Globalize $CONFIG
+    global $CONFIG;
+
+    // Update record.
+    $result = cpg_db_query("UPDATE {$CONFIG['TABLE_TEMPDATA']} SET encoded_string = '$encoded_string' WHERE unique_ID = '$unique_ID'");
+
+    // Return true if successful.
+    if ($result) {
+
+        return TRUE;
+
+    } else {
+
+        return FALSE;
+
+    }
+
+}
+
+// The delete_record function. Takes the $unique_ID.
+function delete_record($unique_ID) {
+
+    // Globalize $CONFIG
+    global $CONFIG;
+
+    // Delete record.
+    $result = cpg_db_query("DELETE FROM {$CONFIG['TABLE_TEMPDATA']} WHERE unique_ID = '$unique_ID'");
+
+    // Return true if successful.
+    if ($result) {
+
+        return TRUE;
+
+    } else {
+
+        return FALSE;
+
+    }
+
+}
+
+// The retrieve_record function. Takes the $unique_ID.
+function retrieve_record($unique_ID) {
+
+    // Globalize $CONFIG
+    global $CONFIG;
+
+    // Retrieve record.
+    $result = cpg_db_query("SELECT encoded_string FROM {$CONFIG['TABLE_TEMPDATA']} WHERE unique_ID = '$unique_ID'");
+
+    // Return string if successful.
+    if (mysql_num_rows($result)) {
+
+        // Move value into $encoded_string.
+        while ($generic_array = mysql_fetch_array($result)) {
+
+            // Store the value.
+            $encoded_string = $generic_array['encoded_string'];
+
+        }
+
+        // Free resources.
+        mysql_free_result($result);
+
+        return $encoded_string;
+
+    } else {
+
+        // Free resources.
+        mysql_free_result($result);
+
+        return FALSE;
+
+    }
+
+}
+
+// The clean_table function.
+function clean_table() {
+
+    // Globalize $CONFIG
+    global $CONFIG;
+
+    // Create a timestamp from an hour ago.
+    $comparative_timestamp = time() - 3600;
+
+    // Delete record.
+    $result = cpg_db_query("DELETE FROM {$CONFIG['TABLE_TEMPDATA']} WHERE timestamp < $comparative_timestamp");
+
+    // Return true if successful.
+    if ($result) {
+
+        return TRUE;
+
+    } else {
+
+        return FALSE;
+
+    }
+
+}
+
+//The function check_status determines the status of a URI resource.
+//It takes the URI as its argument and serves to give more specific error
+//messages about unavailable resources.
+function check_status($URI) {
+
+    // Parse the URI into it's requisite parts.
+    $parts = @parse_url($URI);
+
+    // If there is no detectable host, return FALSE.
+    if (empty($parts["host"])) {
+
+        return FALSE;
+
+    } else {
+
+        $host = $parts["host"];
+
+    }
+
+    // If a path is detected, make it $path. Otherwise, assume it is a directory.
+    if (!empty($parts["path"])) {
+
+        $path = $parts["path"];
+
+    } else {
+
+        $path = "/";
+
+    }
+
+    // Append any queries that might be attached.
+    if (!empty($parts["query"])) {
+
+        $path .= "?" . $parts["query"];
+
+    }
+
+    // Set the port if supplied. Default to port 80.
+    if (!empty($parts["port"])) {
+
+        $port = $parts["port"];
+
+    } else {
+
+        $port = "80";
+
+    }
+
+    // Attempt to open a socket to the host.
+    $socket = @fsockopen( $host, $port, $errno, $errstr, 30 );
+
+    // Verify that the socket opened.  Return false if it fails.
+    if (!$socket) {
+
+        return FALSE;
+
+    } else {
+
+        // Craft HTTP request.
+        $request = "HEAD $path HTTP/1.0\r\nUser-Agent: PHP/".phpversion()."\r\nHost: $host\r\nAccept: */*\r\n\r\n";
+
+        // Get request length.
+        $length = strlen($request);
+
+        // Send request data to host. Return false if there is an error.
+        if(!(fwrite($socket, $request, $length))) {
+
+            return FALSE;
+
+        }
+
+        // Collect the host's response.
+        $response = fgets($socket, 22);
+
+        // Close the socket.
+        fclose($socket);
+
+        // Return the response.
+        return $response;
+
+    }
+
+}
+//################################# MAIN CODE BLOCK ##################################################
+
+// Check to see if user customizations are allowed and if one the request has been made yet.
+
+if ((CUSTOMIZE_UPLOAD_FORM) and (!isset($_REQUEST['file_upload_request'])) and (!isset($_REQUEST['URI_upload_request'])) and (!isset($_POST['control']))) {
+
+    // Check to see if the form type is configurable.  If it is, produce the configuration form. Otherwise, generate a warning.
+
+    if(!(USER_UPLOAD_FORM == 0) and !(USER_UPLOAD_FORM == 7)) {
+
+        // Create the box request page.
+        pageheader($lang_upload_php['custom_title']);
+        open_form($_SERVER['PHP_SELF']);
+        starttable("100%", $lang_upload_php['custom_title'], 2);
+        echo "<tr><td colspan=\"2\">";
+        echo "{$lang_upload_php['cust_instr_1']}<br /><br />";
+
+        $data = array();
+        $data[] = $lang_upload_php['cust_instr_2'];
+
+        // If the file upload type is only file uploads or is a dual mode, ask for the requisite number of file upload boxes.
+        if ((USER_UPLOAD_FORM == '1') or (USER_UPLOAD_FORM == '3') or (USER_UPLOAD_FORM == '4') or (USER_UPLOAD_FORM == '6')) {
+
+            // Add the file upload array element to the form array.
+            $data[] = array($lang_upload_php['cust_instr_6'],'file_upload_request', '0', '4', '1');
+
+            // Print number of allowed file upload boxes.
+            printf ($lang_upload_php['cust_instr_3'], $allowed_file_boxes);
+
+            echo "<br /><br />";
+
+        }
+
+        // If the file upload type is only URI uploads or is a dual mode, ask for the requisite number of URI upload boxes.
+        if ((USER_UPLOAD_FORM == '2') or (USER_UPLOAD_FORM == '3') or (USER_UPLOAD_FORM == '5') or (USER_UPLOAD_FORM == '6')) {
+
+            // Add the URI upload array element to the form array.
+            $data[] = array($lang_upload_php['cust_instr_5'], 'URI_upload_request', '0', '4', '1');
+
+            // Print number of allowed URI upload boxes.
+            printf ($lang_upload_php['cust_instr_4'], $allowed_URI_boxes);
+
+            echo "<br /><br />";
+
+        }
+
+        echo "{$lang_upload_php['cust_instr_7']}<br /><br />";
+        echo "</td></tr>";
+        create_form($data);
+        close_form($lang_continue);
+        endtable();
+        echo "</form>";
+        pagefooter();
+
+        // Exit the script.
+        exit;
+
+    } else {
+
+        //Use the default settings for the number of boxes.
+
+        $num_URI_boxes = NUM_URI_BOXES;
+        $num_file_boxes = NUM_FILE_BOXES;
+
+    }
+
+} elseif (CUSTOMIZE_UPLOAD_FORM) {
+
+// If the user is allowed to customize the form, check the incoming data for the number of requested boxes.
+
+    //Check for the number of file upload boxes.
+
+    if (isset($_REQUEST['file_upload_request'])) {
+
+        // Do some validation.
+        $filtered_request = max(0, intval($_REQUEST['file_upload_request']));
+
+        if ($filtered_request > NUM_FILE_BOXES) {
+            $num_file_boxes = NUM_FILE_BOXES;
+        } else {
+            $num_file_boxes = $filtered_request;
+        }
+
+    }
+
+    //Check for the number of requested URI upload boxes.
+
+    if (isset($_REQUEST['URI_upload_request'])) {
+
+        // Do some validation.
+        $filtered_request = max(0, intval($_REQUEST['URI_upload_request']));
+
+        if ($filtered_request > NUM_URI_BOXES) {
+            $num_URI_boxes = NUM_URI_BOXES;
+        } else {
+            $num_URI_boxes = $filtered_request;
+        }
+
+    }
+
+} else {
+
+    //Use the default settings for the number of boxes.
+
+    $num_URI_boxes = NUM_URI_BOXES;
+    $num_file_boxes = NUM_FILE_BOXES;
+
+}
+if (empty($num_URI_boxes) && empty($num_file_boxes)) {
+    $num_URI_boxes = 0;
+    $num_file_boxes = 1;
+}
+
+// Get public and private albums, and set maximum individual file size.
+if (USER_CAN_UPLOAD_PICTURES){
+	if (GALLERY_ADMIN_MODE) {
+	    $public_albums = cpg_db_query("SELECT aid, title FROM {$CONFIG['TABLE_ALBUMS']} WHERE category < " . FIRST_USER_CAT . " ORDER BY title");
+	} else {
+	        $public_albums = cpg_db_query("SELECT aid, title FROM {$CONFIG['TABLE_ALBUMS']} WHERE category < " . FIRST_USER_CAT . " AND uploads='YES' AND (visibility = '0' OR visibility IN ".USER_GROUP_SET.") ORDER BY title");
+	}
+	if (mysql_num_rows($public_albums)) {
+	    $public_albums_list = cpg_db_fetch_rowset($public_albums);
+	} else {
+	    $public_albums_list = array();
+	}
+	
+	if (USER_ID) {
+	    $user_albums = cpg_db_query("SELECT aid, title FROM {$CONFIG['TABLE_ALBUMS']} WHERE category='" . (FIRST_USER_CAT + USER_ID) . "' ORDER BY title");
+	    if (mysql_num_rows($user_albums)) {
+	        $user_albums_list = cpg_db_fetch_rowset($user_albums);
+	    } else {
+	        $user_albums_list = array();
+	    }
+	} else {
+	    $user_albums_list = array();
+	}
+} else {
+	$public_albums_list = array();
+}
+
+if (!count($public_albums_list) && !count($user_albums_list)) {  // there's no album where the user is allowed to upload to
+    if (USER_CAN_CREATE_ALBUMS) {
+        cpg_die (ERROR, $lang_upload_php['err_no_alb_uploadables'].'<br />&nbsp;<br /><a href="albmgr.php" title="'.$lang_user_admin_menu['albmgr_title'].'" class="admin_menu">'.$lang_user_admin_menu['albmgr_lnk'].'</a>', __FILE__, __LINE__);
+    } else {
+        cpg_die (ERROR, $lang_upload_php['err_no_alb_uploadables'], __FILE__, __LINE__);
+    }
+}
+
+// Assign maximum file size for browser crontrols.
+$max_file_size = $CONFIG['max_upl_size'] << 10;
+
+// Create the upload forms using the upload congfiguration.
+
+if (!isset($_REQUEST['control'])) {
+
+    // Do some cleanup in the edit directory.
+    spring_cleaning('./'.$CONFIG['fullpath'].'edit',CPG_HOUR);
+
+    // Do some cleaning in the temp data table.
+    clean_table();
+
+    // Create upload form headers.
+    pageheader($lang_upload_php['title']);
+
+
+    // Select the form action.
+    if (USER_UPLOAD_FORM == '0') {
+
+        // The user has the single upload only form. Send the request to db_input.php.
+        open_form('db_input.php');
+        // Open the form table.
+        starttable("100%", $lang_upload_php['title'], 2);
+    } else {
+
+        // Direct the request to this script and print the form instructions.
+        open_form($_SERVER['PHP_SELF']);
+        // Open the form table.
+        starttable("100%", $lang_upload_php['title'], 2);
+        form_instructions();
+
+    }
+
+
+
+    // Use a if-then-else construct to create the upload form for the user based on the setting in the
+    // groups panel.
+    if(USER_UPLOAD_FORM == '0') {
+
+        // The user should have the 'single upload only' form.
+
+        // Declare an array containing the various upload form box definitions.
+        $captionLabel = $lang_upload_php['description'];
+        if ($CONFIG['show_bbcode_help']) {$captionLabel .= '&nbsp;'. cpg_display_help('f=index.html&amp;base=64&amp;h='.urlencode(base64_encode(serialize($lang_bbcode_help_title))).'&amp;t='.urlencode(base64_encode(serialize($lang_bbcode_help))),470,245);}
+        $form_array = array(
+        sprintf($lang_upload_php['max_fsize'], $CONFIG['max_upl_size']),
+        array($lang_upload_php['album'], 'album', 2),
+        array('MAX_FILE_SIZE', $max_file_size, 4),
+        array($lang_upload_php['picture'], 'userpicture', 1, 1),
+        array($lang_upload_php['pic_title'], 'title', 0, 255, 1),
+        array($captionLabel, 'caption', 3, $CONFIG['max_img_desc_length']),
+        array($lang_upload_php['keywords'], 'keywords', 0, 255, 1),
+        array('event', 'picture', 4)
+        );
+
+        if(!empty($CONFIG['user_field1_name'])) {
+            $form_array[] = array($CONFIG['user_field1_name'], 'user1', 0, 255, 1);
+        }
+
+        if(!empty($CONFIG['user_field2_name'])) {
+            $form_array[] = array($CONFIG['user_field2_name'], 'user2', 0, 255, 1);
+        }
+
+        if(!empty($CONFIG['user_field3_name'])) {
+            $form_array[] = array($CONFIG['user_field3_name'], 'user3', 0, 255, 1);
+        }
+
+        if(!empty($CONFIG['user_field4_name'])) {
+            $form_array[] = array($CONFIG['user_field4_name'], 'user4', 0, 255, 1);
+        }
+
+    } else {
+
+        // Check for valid form number.
+        if ((USER_UPLOAD_FORM >= '0') and (USER_UPLOAD_FORM <= '7')) {
+
+            // Create form array, and insert MAX_FILE_SIZE control.
+            $form_array[] = array('MAX_FILE_SIZE', $max_file_size);
+
+            // Add each upload type depending on the form number,
+            if((USER_UPLOAD_FORM == '1') or (USER_UPLOAD_FORM == '3') or (USER_UPLOAD_FORM == '4') or (USER_UPLOAD_FORM == '6')) {
+
+                if($num_file_boxes > 0) {
+
+                    $form_array[] = $lang_upload_php['reg_instr_7'];
+
+                    $form_array[] = array('', 'file_upload_array[]', 1, $num_file_boxes);
+
+                }
+
+            }
+
+            if((USER_UPLOAD_FORM == '2') or (USER_UPLOAD_FORM == '3') or (USER_UPLOAD_FORM == '5') or (USER_UPLOAD_FORM == '6')) {
+
+                if($num_URI_boxes > 0) {
+
+                    $form_array[] = $lang_upload_php['reg_instr_8'];
+
+                    $form_array[] = array('', 'URI_array[]', 0, 256, $num_URI_boxes);
+
+                }
+
+            }
+
+            if((USER_UPLOAD_FORM == '4') or (USER_UPLOAD_FORM == '5') or (USER_UPLOAD_FORM == '6') or (USER_UPLOAD_FORM == '7')) {
+
+                $form_array[] = $lang_upload_php['reg_instr_6'];
+                $form_array[] = array('', 'ZIP_array[]', 1, 1);
+
+            }
+
+            // Add the control device.
+            $form_array[] = array('control', 'phase_1', 4);
+
+        } else {
+
+            // Unknown form number.
+            cpg_die(ERROR, $lang_upload_php['reg_instr_1'], __FILE__, __LINE__);
+
+        }
+
+    }
+
+    // Create the form.
+    create_form($form_array);
+
+
+
+    // Close the form.
+    if (USER_UPLOAD_FORM == '0') {
+
+        // The user has the single upload only form. Select proper language for button.
+        close_form($lang_upload_php['title']);
+
+    } else {
+
+        // Make button say 'Continue.'
+        close_form($lang_continue);
+
+    }
+
+    // Close the table, create footers, and flush the output buffer.
+    endtable();
+    echo "</form>";
+    pagefooter();
+    ob_end_flush();
+
+    // Exit the script.
+
+    exit;
+
+}
+
+// Recieve incoming file uploads for phase I.
+
+if ((isset($_POST['control'])) and ($_POST['control'] == 'phase_1')) {
+
+    // $_FILES['file_upload_array']['name'][$counter]
+    // $_FILES['file_upload_array']['size'][$counter]
+    // $_FILES['file_upload_array']['tmp_name'][$counter]
+    // $_FILES['file_upload_array']['type'][$counter]
+    // $_FILES['file_upload_array']['error'][$counter]
+    //
+    // Error values:
+    // 0 - No error
+    // 1 - Exceeded filesize allowed in php.ini
+    // 2 - Exceeded filesize allowed by HTML MAX_FILE_SIZE
+    // 3 - Only a partial upload
+    // 4 - No upload occurred.
+
+    $file_upload_count = count($_FILES['file_upload_array']['name']);
+
+    if ($file_upload_count > 0) {
+
+
+        // Check for error code support. Set the error code.
+
+        if (count($_FILES['file_upload_array']['error']) == 0) {
+
+            // This version of PHP does not support error codes (PHP < 4.2.0).  Create our own error code.
+
+            $error_code = 'default';
+
+        } else {
+
+            // We have error support.
+            $error_support = 'TRUE';
+
+        }
+
+        for ($counter = 0; $counter < $file_upload_count; $counter++) {
+
+            // Check for error code support. Set the error code.
+
+            if ($error_support) {
+
+                $error_code = $_FILES['file_upload_array']['error'][$counter];
+
+            }
+
+            // Create the failure ordinal for ordering the report of failed uploads.
+
+            $failure_cardinal = $counter + 1;
+
+            $failure_ordinal = ''.$failure_cardinal.'. ';
+
+            // If there is no file name, make a dummy name for the error reporting system.
+
+            if (($_FILES['file_upload_array']['name'][$counter] == '')) {
+
+                $file_name = 'filename_unavailable';
+
+            } else {
+
+                $file_name = $_FILES['file_upload_array']['name'][$counter];
+
+            }
+
+            // Test for a blank file upload box.
+            if (empty($_FILES['file_upload_array']['tmp_name'][$counter])) {
+
+                // There is no need for further tests or action as there was no uploaded file, so skip the remainder of the iteration.
+                continue;
+
+            }
+
+            // Check to make sure the file was uploaded via POST.
+
+            if (!is_uploaded_file($_FILES['file_upload_array']['tmp_name'][$counter])) {
+
+                // We reject the file, and make a note of the error.
+                $file_failure_array[] = array( 'failure_ordinal'=>$failure_ordinal, 'file_name'=> $file_name, 'error_code'=>$lang_upload_php['no_post']);
+
+                // There is no need for further tests or action, so skip the remainder of the iteration.
+                continue;
+            }
+
+            // Check filename and extension:
+
+            // Check that the file uploaded has a valid name and extension, and replace forbidden chars with underscores.
+
+                    // Initialise the $matches array.
+                    $matches = array();
+
+                    // If magic quotes is on, remove the slashes it added to the file name.
+                    if (get_magic_quotes_gpc()) $_FILES['file_upload_array']['name'][$counter] = stripslashes($_FILES['file_upload_array']['name'][$counter]);
+
+                    // Create the holder $picture_name by translating the file name. Translate any forbidden character into an underscore.
+                    $picture_name = replace_forbidden($_FILES['file_upload_array']['name'][$counter]);
+
+                    // Analyze the file extension using regular expressions.
+                    if (!preg_match("/(.+)\.(.*?)\Z/", $picture_name, $matches)) {
+
+                        // The file name is invalid.
+                        $matches[1] = 'invalid_fname';
+
+                        // Make a bogus file extension to trigger Coppermine's defenses.
+                        $matches[2] = 'xxx';
+                    }
+
+                    // If there is no extension, or if the extension is unknown/not permitted by Coppermine, zap the intruder.
+                    if ($matches[2] == '' || !is_known_filetype($matches)) {
+
+                        // We reject the file, and make a note of the error.
+                        $file_failure_array[] = array( 'failure_ordinal'=>$failure_ordinal, 'file_name'=> $file_name, 'error_code'=>$lang_upload_php['forb_ext']);
+
+                        // There is no need for further tests or action, so skip the remainder of the iteration.
+                        continue;
+
+                    }
+
+            // Check for upload errors.
+
+            if (!($error_code == '0') and !($error_code == 'default')) {
+
+                // PHP has detected a file upload error.
+                if ($error_code == '1') {
+                    $error_message = $lang_upload_php['exc_php_ini'];
+                } elseif ($error_code == '2') {
+                    $error_message = $lang_upload_php['exc_file_size'];
+                } elseif ($error_code == '3') {
+                    $error_message = $lang_upload_php['partial_upload'];
+                } elseif ($error_code == '4') {
+                    $error_message = $lang_upload_php['no_upload'];
+                } else {
+                    $error_message = $lang_upload_php['unknown_code'];
+                }
+
+                //Make a note in the error array.
+                $file_failure_array[] = array( 'failure_ordinal'=>$failure_ordinal, 'file_name'=> $file_name, 'error_code'=>$error_message);
+
+                // There is no need for further tests or action, so skip the remainder of the iteration.
+                continue;
+
+            } elseif ($_FILES['file_upload_array']['tmp_name'][$counter] == '') {
+
+                // There is no temporary file, so the file did not upload. Make a note of it in the file_failure_arrray and flip the failure switch to generate the ordinal. .
+
+                $file_failure_array[] = array( 'failure_ordinal'=>$failure_ordinal, 'file_name'=> $file_name, 'error_code'=>$lang_upload_php['no_temp_name']);
+
+                // There is no need for further tests or action, so skip the remainder of the iteration.
+                continue;
+
+            } elseif ($_FILES['file_upload_array']['size'][$counter] <= 0) {
+
+                // The file contains no data or was corrupted. Make a note of it in the error array.
+
+                $file_failure_array[] = array( 'failure_ordinal'=>$failure_ordinal, 'file_name'=> $file_name, 'error_code'=>$lang_upload_php['no_file_size']);
+
+                // There is no need for further tests or action, so skip the remainder of the iteration.
+                continue;
+
+            } elseif ($_FILES['file_upload_array']['size'][$counter] > $max_file_size) {
+
+                // The file exceeds the amount specified by the max upload directive. Either the browser is stupid, or somebody isn't playing nice. (Ancient browser - MAX_UPLOAD forgery)
+
+                $file_failure_array[] = array( 'failure_ordinal'=>$failure_ordinal, 'file_name'=> $file_name, 'error_code'=>$lang_upload_php['exc_file_size']);
+
+                // There is no need for further tests or action, so skip the remainder of the iteration.
+                continue;
+
+            }
+
+            // Now we need to move the file into the /edit directory.
+
+            // We need specify the path for the transitory file.
+
+            // Create a prefix for easier human recognition.
+            $prefix = "mHTTP_temp_";
+
+            //Set the correct file extension.
+
+            $suffix = $matches[2];
+
+            // Generate the unique name. Keep generating new names until one that is not in use is found.
+
+            do {
+
+                // Create a random seed by taking the first 8 characters of an MD5 hash of a concatenation of the current UNIX epoch time and the current server process ID.
+                $seed = substr(md5(uniqid("")), 0, 8);
+
+                // Assemble the file path.
+                $path_to_image = './'.$CONFIG['fullpath'].'edit/'. $prefix . $seed . '.' . $suffix;
+
+            } while (file_exists($path_to_image));
+
+            // Create a holder called $tempname.
+            $tempname = $prefix . $seed . '.' . $suffix;
+
+            //Now we upload the file.
+            if (!(move_uploaded_file($_FILES['file_upload_array']['tmp_name'][$counter], $path_to_image))) {
+
+                // The file upload has failed.
+
+                $file_failure_array[] = array( 'failure_ordinal'=>$failure_ordinal, 'file_name'=> $file_name, 'error_code'=>$lang_upload_php['impossible']);
+
+                // There is no need for further tests or action, so skip the remainder of the iteration.
+                continue;
+
+            }
+
+            // Change file permission
+            @chmod($path_to_image, octdec($CONFIG['default_file_mode'])); //silence the output in case chmod is disabled
+
+            // Create a testing alias.
+            $picture_alias = $matches[1].".".$matches[2];
+
+            // Check to see if the filename is consistent with that of a picture.
+            if (is_image($picture_alias)) {
+
+                // If it is, get the picture information
+                $imginfo = getimagesize($path_to_image);
+
+                // If getimagesize does not recognize the file as a picture, delete the picture.
+                if ($imginfo === 'FALSE') {
+                    @unlink($path_to_image);
+
+                    // The file upload has failed -- the image is not an image or it is corrupt.
+                    $file_failure_array[] = array( 'failure_ordinal'=>$failure_ordinal, 'file_name'=> $file_name, 'error_code'=>$lang_upload_php['not_image']);
+
+                    // There is no need for further tests or action, so skip the remainder of the iteration.
+                    continue;
+
+                // JPEG and PNG only are allowed with GD. If the image is not allowed for GD,delete it.
+                //} elseif ($imginfo[2] != GIS_JPG && $imginfo[2] != GIS_PNG && ($CONFIG['thumb_method'] == 'gd1' || $CONFIG['thumb_method'] == 'gd2')) {
+                } elseif ($imginfo[2] != GIS_JPG && $imginfo[2] != GIS_PNG && $CONFIG['GIF_support'] == 0) {
+                    @unlink($path_to_image);
+
+                    // The file upload has failed -- the image is not allowed with GD.
+                    $file_failure_array[] = array( 'failure_ordinal'=>$failure_ordinal, 'file_name'=> $file_name, 'error_code'=>$lang_upload_php['not_GD']);
+
+                    // There is no need for further tests or action, so skip the remainder of the iteration.
+                    continue;
+
+                // Check that picture size (in pixels) is lower than the maximum allowed. If not, delete it.
+                } elseif (max($imginfo[0], $imginfo[1]) > $CONFIG['max_upl_width_height']) {
+                  if ((USER_IS_ADMIN && $CONFIG['auto_resize'] == 1) || (!USER_IS_ADMIN && $CONFIG['auto_resize'] > 0)) //($CONFIG['auto_resize']==1)
+                  {
+                    //resize_image($uploaded_pic, $uploaded_pic, $CONFIG['max_upl_width_height'], $CONFIG['thumb_method'], $imginfo[0] > $CONFIG['max_upl_width_height'] ? 'wd' : 'ht');
+                    resize_image($uploaded_pic, $uploaded_pic, $CONFIG['max_upl_width_height'], $CONFIG['thumb_method'], $CONFIG['thumb_use']);
+                  }
+                  else
+                  {
+                    @unlink($path_to_image);
+
+                    // The file upload has failed -- the image dimensions exceed the allowed amount.
+                    $file_failure_array[] = array( 'failure_ordinal'=>$failure_ordinal, 'file_name'=> $file_name, 'error_code'=>$lang_upload_php['pixel_allowance']);
+
+                    // There is no need for further tests or action, so skip the remainder of the iteration.
+                    continue;
+                  }
+                }
+
+            // Image is ok
+            }
+
+            // Put array info for a successful upload in $escrow_array. Hold the actual file name and the name of the temporary image. We do not use the path for security reasons.
+            $escrow_array[] = array('actual_name'=>$picture_alias, 'temporary_name'=>$tempname);
+
+        } // end for loop
+    } // end if statement
+
+    // Count the number of items in the URI array.
+    $URI_upload_count = count($_POST['URI_array']);
+
+    if ($URI_upload_count > 0) {
+
+        for ($counter = 0; $counter < $URI_upload_count; $counter++) {
+
+            // Create the failure ordinal for ordering the report of failed uploads.
+
+            $failure_cardinal = $counter + 1;
+
+            $failure_ordinal = ''.$failure_cardinal.'. ';
+
+            // Initialize the $URI_MIME_type variable.
+            $URI_MIME_type = "0";
+
+            // Check to make sure the URI box was not blank.
+            if (empty($_POST['URI_array'][$counter])) {
+
+                // The box was empty.
+                // There is no need for further tests or action, so skip the remainder of the iteration.
+                continue;
+
+            }
+
+            // Check for magic quotes and remove slashes if necessary.
+            if (get_magic_quotes_gpc()) {
+
+                $_POST['URI_array'][$counter] = stripslashes($_POST['URI_array'][$counter]);
+
+            }
+
+            // Remove excess whitespace.
+            $_POST['URI_array'][$counter] = trim($_POST['URI_array'][$counter]);
+
+            // Translate any interior spaces into hex replacements.
+            $_POST['URI_array'][$counter] = strtr($_POST['URI_array'][$counter], array(" "=>"%20"));
+
+            // We do some validation for the URI. First we check for http:// or ftp:// at the start of the URI.
+            if(!ereg('^http://|^ftp://',$_POST['URI_array'][$counter])) {
+
+                // The URL is malformed or not allowed in Coppermine. Note an error.
+                $URI_failure_array[] = array( 'failure_ordinal'=>$failure_ordinal, 'URI_name'=> $_POST['URI_array'][$counter], 'error_code'=>$lang_upload_php['incorrect_prefix']);
+
+                // There is no need for further tests or action, so skip the remainder of the iteration.
+                continue;
+
+            }
+
+            // To obtain the file name, we explode the URI into $pieces.
+            $pieces = explode('/',$_POST['URI_array'][$counter]);
+
+            // We pop off the end of the $pieces array to obtain the possible file name.
+            $possible_file_name = array_pop($pieces);
+
+            // Strip the hex equivalent for spaces from the possible file name and restore the spaces.
+            $possible_file_name = strtr($possible_file_name, array("%20"=>" "));
+
+            // Check possible filename and extension:
+
+            // Check that the possible file name has a valid name and extension, and replace forbidden chars with underscores.
+
+            // Initialise the $matches array.
+            $matches = array();
+
+            // Create the holder $picture_name by translating the possible file name. Translate any forbidden character into an underscore.
+            $picture_name = replace_forbidden($possible_file_name);
+
+            // Analyze the file extension using regular expressions.
+            if (!preg_match("/(.+)\.(.*?)\Z/", $picture_name, $matches)) {
+
+                // The file name is invalid.
+                $matches[1] = 'invalid_fname';
+
+                // Make a bogus file extension to tell Coppermine to use a different name.
+                $matches[2] = 'xxx';
+            }
+
+            // Set the variable $extension equal to $matches[2].
+            $extension = $matches[2];
+
+            // If there is no extension, or if the extension is unknown/not permitted by Coppermine, attenpt to detect a MIME type.
+            if ($matches[2] == '' || !is_known_filetype($matches)) {
+
+                // Check for stream_get_meta_data support.
+                if (!function_exists('stream_get_meta_data')) {
+
+                    // We cannot get the header information for the file, so we reject the URI as unsafe.
+                    $URI_failure_array[] = array( 'failure_ordinal'=>$failure_ordinal, 'URI_name'=> $_POST['URI_array'][$counter], 'error_code'=>$lang_upload_php['unsafe_URI']);
+
+                    // There is no need for further tests or action, so skip the remainder of the iteration.
+                    continue;
+
+                }
+
+                // Open a stream to the resource.
+                $fp = fopen($_POST['URI_array'][$counter],"rb");
+
+                // Check to see if the resource was opened.
+                if (!$fp) {
+
+                    // Attempt to get the status of the resource.
+                    $response = check_status($_POST['URI_array'][$counter]);
+
+                    // Try to parse header if we were able to get a response.
+                    if ($response) {
+
+                        if(strstr($response, '401')) {
+
+                            // 401 Unauthorized - Authorization needed to obtain resource. Note an error.
+                            $URI_failure_array[] = array( 'failure_ordinal'=>$failure_ordinal, 'URI_name'=> $_POST['URI_array'][$counter], 'error_code'=>$lang_upload_php['http_401']);
+
+                        } elseif(strstr($response, '402')) {
+
+                            // 402 Payment Required -  Where's the cash? :-) Note an error.
+                            $URI_failure_array[] = array( 'failure_ordinal'=>$failure_ordinal, 'URI_name'=> $_POST['URI_array'][$counter], 'error_code'=>$lang_upload_php['http_402']);
+
+                        } elseif(strstr($response, '403')) {
+
+                            // 403 Forbidden - No permission to access the resource. Note an error.
+                            $URI_failure_array[] = array( 'failure_ordinal'=>$failure_ordinal, 'URI_name'=> $_POST['URI_array'][$counter], 'error_code'=>$lang_upload_php['http_403']);
+
+                        } elseif(strstr($response, '404')) {
+
+                            // 404 Not Found - The resource is missing. Note an error.
+                            $URI_failure_array[] = array( 'failure_ordinal'=>$failure_ordinal, 'URI_name'=> $_POST['URI_array'][$counter], 'error_code'=>$lang_upload_php['http_404']);
+
+                        } elseif(strstr($response, '500')) {
+
+                            // 500 Internal Server Error - The server has failed.  Note an error.
+                            $URI_failure_array[] = array( 'failure_ordinal'=>$failure_ordinal, 'URI_name'=> $_POST['URI_array'][$counter], 'error_code'=>$lang_upload_php['http_500']);
+
+                        } elseif(strstr($response, '503')) {
+
+                            // 503 Service Unavailable - The server is busy.  Note an error.
+                            $URI_failure_array[] = array( 'failure_ordinal'=>$failure_ordinal, 'URI_name'=> $_POST['URI_array'][$counter], 'error_code'=>$lang_upload_php['http_503']);
+
+                        } else {
+
+                            // Undocumented error. Note an error. Return status code.
+                            $URI_failure_array[] = array( 'failure_ordinal'=>$failure_ordinal, 'URI_name'=> $_POST['URI_array'][$counter], 'error_code'=>$response);
+
+                        }
+
+                        // There is no need for further tests or action, so skip the remainder of the iteration.
+                        continue;
+
+                    } else {
+
+
+                        // The resource could not be opened.
+                        $URI_failure_array[] = array( 'failure_ordinal'=>$failure_ordinal, 'URI_name'=> $_POST['URI_array'][$counter], 'error_code'=>$lang_upload_php['could_not_open_URI']);
+
+                        // There is no need for further tests or action, so skip the remainder of the iteration.
+                        continue;
+
+                    }
+
+                } else {
+
+                    $header = stream_get_meta_data($fp);
+
+                    if($header === 'FALSE') {
+
+                        // We could not get the meta data from the header. We must reject the URI as unsafe.
+                        $URI_failure_array[] = array( 'failure_ordinal'=>$failure_ordinal, 'URI_name'=> $_POST['URI_array'][$counter], 'error_code'=>$lang_upload_php['meta_data_failure']);
+
+                        // There is no need for further tests or action, so skip the remainder of the iteration.
+                        continue;
+
+                    }
+
+                    //Look for server response. Proceed if status code 200 is returned.
+                    if(!(strstr($header['wrapper_data'][0], '200'))) {
+
+                        // The resource is not available. Attempt to determine why, and
+                        // generate the appropriate error.
+
+                        if(strstr($header['wrapper_data'][0], '401')) {
+
+                            // 401 Unauthorized - Authorization needed to obtain resource. Note an error.
+                            $URI_failure_array[] = array( 'failure_ordinal'=>$failure_ordinal, 'URI_name'=> $_POST['URI_array'][$counter], 'error_code'=>$lang_upload_php['http_401']);
+
+                        } elseif(strstr($header['wrapper_data'][0], '402')) {
+
+                            // 402 Payment Required -  Where's the cash? :-) Note an error.
+                            $URI_failure_array[] = array( 'failure_ordinal'=>$failure_ordinal, 'URI_name'=> $_POST['URI_array'][$counter], 'error_code'=>$lang_upload_php['http_402']);
+
+                        } elseif(strstr($header['wrapper_data'][0], '403')) {
+
+                            // 403 Forbidden - No permission to access the resource. Note an error.
+                            $URI_failure_array[] = array( 'failure_ordinal'=>$failure_ordinal, 'URI_name'=> $_POST['URI_array'][$counter], 'error_code'=>$lang_upload_php['http_403']);
+
+                        } elseif(strstr($header['wrapper_data'][0], '404')) {
+
+                            // 404 Not Found - The resource is missing. Note an error.
+                            $URI_failure_array[] = array( 'failure_ordinal'=>$failure_ordinal, 'URI_name'=> $_POST['URI_array'][$counter], 'error_code'=>$lang_upload_php['http_404']);
+
+                        } elseif(strstr($header['wrapper_data'][0], '500')) {
+
+                            // 500 Internal Server Error - The server has failed.  Note an error.
+                            $URI_failure_array[] = array( 'failure_ordinal'=>$failure_ordinal, 'URI_name'=> $_POST['URI_array'][$counter], 'error_code'=>$lang_upload_php['http_500']);
+
+                        } elseif(strstr($header['wrapper_data'][0], '503')) {
+
+                            // 503 Service Unavailable - The server is busy.  Note an error.
+                            $URI_failure_array[] = array( 'failure_ordinal'=>$failure_ordinal, 'URI_name'=> $_POST['URI_array'][$counter], 'error_code'=>$lang_upload_php['http_503']);
+
+                        } else {
+
+                            // Undocumented error. Note an error. Return status code.
+                            $URI_failure_array[] = array( 'failure_ordinal'=>$failure_ordinal, 'URI_name'=> $_POST['URI_array'][$counter], 'error_code'=>$header['wrapper_data'][0]);
+
+                        }
+
+                        // There is no need for further tests or action, so skip the remainder of the iteration.
+                        continue;
+
+                    }
+
+                    // Cycle through returned HTTP header. Look for the MIME type, which we will use to create a proper file extension.
+
+                    if (count($header['wrapper_data']) < 2) {
+
+                        // We could not get the meta data from the header. We must reject the URI as unsafe.
+                        $URI_failure_array[] = array( 'failure_ordinal'=>$failure_ordinal, 'URI_name'=> $_POST['URI_array'][$counter], 'error_code'=>$lang_upload_php['meta_data_failure']);
+
+                        // There is no need for further tests or action, so skip the remainder of the iteration.
+                        continue;
+
+                    } else {
+
+                        // Now we loop through each item returned in the wrapper data.
+                        for ($i=1; isset($header['wrapper_data'][$i]); $i++) {
+
+                            // We test each array element to see if it contains the content-type header.
+                            if (strstr(strtolower($header['wrapper_data'][$i]), 'content-type')) {
+
+                                // If we find it, we have found the MIME type.  Use regular expressions to extract it.
+                                if(!(eregi('^content-type: ([[:graph:]]+)', $header['wrapper_data'][$i], $MIME_extraction_array))) {
+
+                                    // We could not find a MIME type. Note an error and reject the URI as unsafe.
+                                    $URI_failure_array[] = array( 'failure_ordinal'=>$failure_ordinal, 'URI_name'=> $_POST['URI_array'][$counter], 'error_code'=>$lang_upload_php['MIME_extraction_failure']);
+
+                                    // There is no need for further tests or action, so skip the remainder of the iteration.
+                                    continue 2;
+
+                                } else {
+
+                                    // We have found the MIME type, which we will store in $URI_MIME_type.
+                                    $URI_MIME_type = $MIME_extraction_array[1];
+                                }
+
+                            // While we are at it, let's see if we can get a content length from the server.
+                            } elseif (strstr(strtolower($header['wrapper_data'][$i]), 'content-length')) {
+
+                                // We have found the Content-Length header.  Use regular expressions to extract it.
+                                if(eregi('^content-length: ([[:digit:]]+)', $header['wrapper_data'][$i], $length_extraction_array)) {
+
+                                    // The content length should be available in bytes.  Cross compare with the maximum file size allowed in an upload.
+                                    // Reject the file with an error if it is too large.
+                                    if ($length_extraction_array[1] > $max_file_size) {
+
+                                        // The content is too large. Reject it with an error.
+                                        $URI_failure_array[] = array( 'failure_ordinal'=>$failure_ordinal, 'URI_name'=> $_POST['URI_array'][$counter], 'error_code'=>$lang_upload_php['exc_file_size']);
+
+                                        // There is no need for further tests or action, so skip the remainder of the iteration.
+                                        continue 2;
+
+                                    }
+
+                                }
+
+                            }
+
+                        }
+
+                    }
+
+                    // Close the file pointer if we were able to open it.
+                    fclose($fp);
+
+                }
+
+            }
+
+            // Check to see if MIME type was detected.
+            if($URI_MIME_type) {
+
+                // A mime type was detected.  Determine the appropriate file extension for the MIME type.
+                // We will hard code the most common GD compatible image MIME types to reduce calls to the DB.
+                if(($URI_MIME_type == 'image/jpeg') or ($URI_MIME_type == 'image/jpg')) {
+
+                    //The file will need a .jpg extension.
+                    $extension = 'jpg';
+
+                } elseif ($URI_MIME_type == 'image/png') {
+
+                    //The file will need a .png extension.
+                    $extension = 'png';
+
+                } elseif ($URI_MIME_type == 'image/gif') {
+
+                    //The file will need a .gif extension.
+                    $extension = 'gif';
+
+                } else {
+                
+                		$extension = '';
+                		
+                		foreach ($FILE_TYPES as $ext => $typedata){
+                		
+                			if ($typedata['mime'] == $URI_MIME_type){
+                			 	// Store the extension in $extension.
+                				$extension = $ext;
+                				break;
+                			}
+                			
+                		}
+                		
+                		if (!$extension){
+                		
+                    	// We cannot determine an extension from the MIME type provided, so note an error. Reject the file as unsafe.
+                    	$URI_failure_array[] = array( 'failure_ordinal'=>$failure_ordinal, 'URI_name'=> $_POST['URI_array'][$counter], 'error_code'=>$lang_upload_php['MIME_type_unknown']);
+  
+                    	// There is no need for further tests or action, so skip the remainder of the iteration.
+                      continue;
+             		
+                		}
+
+                }
+
+            }
+
+            //Now we must create the temporary file name.  This will be the permanent file name if MIME type detection was used to establish the extension.
+
+            // First, we create a prefix for easier human recognition.
+            $prefix = "mURI_temp_";
+
+            //Set the correct file extension.
+
+            $suffix = $extension;
+
+            // Generate the unique name. Keep generating new names until one that is not in use is found.
+
+            do {
+
+                // Create a random seed by taking the first 8 characters of an MD5 hash of a concatenation of the current UNIX epoch time and the current server process ID.
+                $seed = substr(md5(uniqid("")), 0, 8);
+
+                // Assemble the file path.
+                $path_to_image = './'.$CONFIG['fullpath'].'edit/'. $prefix . $seed . '.' . $suffix;
+
+            } while (file_exists($path_to_image));
+
+            // Create a holder called $tempname.
+            $tempname = $prefix . $seed . '.' . $suffix;
+
+            // The file name $path_to_image has been created. We must prepare to download the resource. First, we will attemt to detect the status code for the resource.
+
+            // Open a stream to the resource.
+            $fp = fopen($_POST['URI_array'][$counter],"rb");
+
+            // Check to see if the resource was opened.
+            if (!$fp) {
+
+                // Attempt to get the status of the resource.
+                $response = check_status($_POST['URI_array'][$counter]);
+
+                // Try to parse header if we were able to get a response.
+                if ($response) {
+
+                    if(strstr($response, '401')) {
+
+                        // 401 Unauthorized - Authorization needed to obtain resource. Note an error.
+                        $URI_failure_array[] = array( 'failure_ordinal'=>$failure_ordinal, 'URI_name'=> $_POST['URI_array'][$counter], 'error_code'=>$lang_upload_php['http_401']);
+
+                    } elseif(strstr($response, '402')) {
+
+                        // 402 Payment Required -  Where's the cash? :-) Note an error.
+                        $URI_failure_array[] = array( 'failure_ordinal'=>$failure_ordinal, 'URI_name'=> $_POST['URI_array'][$counter], 'error_code'=>$lang_upload_php['http_402']);
+
+                    } elseif(strstr($response, '403')) {
+
+                        // 403 Forbidden - No permission to access the resource. Note an error.
+                        $URI_failure_array[] = array( 'failure_ordinal'=>$failure_ordinal, 'URI_name'=> $_POST['URI_array'][$counter], 'error_code'=>$lang_upload_php['http_403']);
+
+                    } elseif(strstr($response, '404')) {
+
+                        // 404 Not Found - The resource is missing. Note an error.
+                        $URI_failure_array[] = array( 'failure_ordinal'=>$failure_ordinal, 'URI_name'=> $_POST['URI_array'][$counter], 'error_code'=>$lang_upload_php['http_404']);
+
+                    } elseif(strstr($response, '500')) {
+
+                        // 500 Internal Server Error - The server has failed.  Note an error.
+                        $URI_failure_array[] = array( 'failure_ordinal'=>$failure_ordinal, 'URI_name'=> $_POST['URI_array'][$counter], 'error_code'=>$lang_upload_php['http_500']);
+
+                    } elseif(strstr($response, '503')) {
+
+                        // 503 Service Unavailable - The server is busy.  Note an error.
+                        $URI_failure_array[] = array( 'failure_ordinal'=>$failure_ordinal, 'URI_name'=> $_POST['URI_array'][$counter], 'error_code'=>$lang_upload_php['http_503']);
+
+                    } else {
+
+                        // Undocumented error. Note an error. Return status code.
+                        $URI_failure_array[] = array( 'failure_ordinal'=>$failure_ordinal, 'URI_name'=> $_POST['URI_array'][$counter], 'error_code'=>$response);
+
+                    }
+
+                    // There is no need for further tests or action, so skip the remainder of the iteration.
+                    continue;
+
+                } else {
+
+
+                    // The resource could not be opened.
+                    $URI_failure_array[] = array( 'failure_ordinal'=>$failure_ordinal, 'URI_name'=> $_POST['URI_array'][$counter], 'error_code'=>$lang_upload_php['could_not_open_URI']);
+
+                    // There is no need for further tests or action, so skip the remainder of the iteration.
+                    continue;
+
+                }
+
+            } else {
+
+                // Obtain header info if possible.
+                if (function_exists('stream_get_meta_data')) {
+
+                    // Store header data in $header.
+                    $header = stream_get_meta_data($fp);
+
+                    // If data was returned, test it.
+                    if($header) {
+
+                        //Look for server response. Proceed if status code 200 is returned.
+                        if(!(strstr($header['wrapper_data'][0], '200'))) {
+
+                            // The resource is not available. Attempt to determine why, and
+                            // generate the appropriate error.
+
+                            if(strstr($header['wrapper_data'][0], '401')) {
+
+                                // 401 Unauthorized - Authorization needed to obtain resource. Note an error.
+                                $URI_failure_array[] = array( 'failure_ordinal'=>$failure_ordinal, 'URI_name'=> $_POST['URI_array'][$counter], 'error_code'=>$lang_upload_php['http_401']);
+
+                            } elseif(strstr($header['wrapper_data'][0], '402')) {
+
+                                // 402 Payment Required -  Where's the cash? :-) Note an error.
+                                $URI_failure_array[] = array( 'failure_ordinal'=>$failure_ordinal, 'URI_name'=> $_POST['URI_array'][$counter], 'error_code'=>$lang_upload_php['http_402']);
+
+                            } elseif(strstr($header['wrapper_data'][0], '403')) {
+
+                                // 403 Forbidden - No permission to access the resource. Note an error.
+                                $URI_failure_array[] = array( 'failure_ordinal'=>$failure_ordinal, 'URI_name'=> $_POST['URI_array'][$counter], 'error_code'=>$lang_upload_php['http_403']);
+
+                            } elseif(strstr($header['wrapper_data'][0], '404')) {
+
+                                // 404 Not Found - The resource is missing. Note an error.
+                                $URI_failure_array[] = array( 'failure_ordinal'=>$failure_ordinal, 'URI_name'=> $_POST['URI_array'][$counter], 'error_code'=>$lang_upload_php['http_404']);
+
+                            } elseif(strstr($header['wrapper_data'][0], '500')) {
+
+                                // 500 Internal Server Error - The server has failed.  Note an error.
+                                $URI_failure_array[] = array( 'failure_ordinal'=>$failure_ordinal, 'URI_name'=> $_POST['URI_array'][$counter], 'error_code'=>$lang_upload_php['http_500']);
+
+                            } elseif(strstr($header['wrapper_data'][0], '503')) {
+
+                                // 503 Service Unavailable - The server is busy.  Note an error.
+                                $URI_failure_array[] = array( 'failure_ordinal'=>$failure_ordinal, 'URI_name'=> $_POST['URI_array'][$counter], 'error_code'=>$lang_upload_php['http_503']);
+
+                            } else {
+
+                                // Undocumented error. Note an error. Return status code.
+                                $URI_failure_array[] = array( 'failure_ordinal'=>$failure_ordinal, 'URI_name'=> $_POST['URI_array'][$counter], 'error_code'=>$header['wrapper_data'][0]);
+
+                            }
+
+                            // There is no need for further tests or action, so skip the remainder of the iteration.
+                            continue;
+
+                        }
+
+                        // Cycle through returned HTTP header.
+                        if (count($header['wrapper_data']) > 1) {
+
+                            // Now we loop through each item returned in the wrapper data.
+                            for ($i=1; isset($header['wrapper_data'][$i]); $i++) {
+
+                                // Let's see if we can get a content length from the server.
+                                if (strstr(strtolower($header['wrapper_data'][$i]), 'content-length')) {
+
+                                    // We have found the Content-Length header.  Use regular expressions to extract it.
+                                    if(eregi('^content-length: ([[:digit:]]+)', $header['wrapper_data'][$i], $length_extraction_array)) {
+
+                                        // The content length should be available in bytes.  Cross compare with the maximum file size allowed in an upload.
+                                        // Reject the file with an error if it is too large.
+                                        if ($length_extraction_array[1] > $max_file_size) {
+
+                                            // The content is too large. Reject it with an error.
+                                            $URI_failure_array[] = array( 'failure_ordinal'=>$failure_ordinal, 'URI_name'=> $_POST['URI_array'][$counter], 'error_code'=>$lang_upload_php['exc_file_size']);
+
+                                            // There is no need for further tests or action, so skip the remainder of the iteration.
+                                            continue 2;
+
+                                        }
+
+                                    }
+
+                                }
+
+                            }
+
+                        }
+
+                    }
+
+                }
+
+                // Cannot get headers from meta data, or we have completed the metadata check and have found a 200 status code and appropriate content length.
+
+                // Now we must create a file to write the data to.
+                touch($path_to_image);
+
+                // Conduct tests on write file.
+                if (!is_file($path_to_image)) {
+
+                    // The file was not created. Note an error.
+                    $URI_failure_array[] = array( 'failure_ordinal'=>$failure_ordinal, 'URI_name'=> $_POST['URI_array'][$counter], 'error_code'=>$lang_upload_php['cant_create_write']);
+
+                    // There is no need for further tests or action, so skip the remainder of the iteration.
+                    continue;
+
+                // Check for writability,
+                } elseif (!is_writable($path_to_image)) {
+
+                    // The file is not writeable. Note an error.
+                    $URI_failure_array[] = array( 'failure_ordinal'=>$failure_ordinal, 'URI_name'=> $_POST['URI_array'][$counter], 'error_code'=>$lang_upload_php['not_writable']);
+
+                    // There is no need for further tests or action, so skip the remainder of the iteration.
+                    continue;
+
+                } else {
+
+                    // Initialize the $content variable.
+                    $content = '';
+
+                    // The write file has been created and is writeable.  Let's get the content from the URI.
+                    while (!feof($fp)) {
+
+                        // Read the data into $content in 8KB chunks.
+                        $content .= fread($fp,8192);
+
+                    }
+
+                    // Close the file pointer now that we are done reading it.
+                    fclose($fp);
+
+                    // Open the temp file for writing.
+                    $fpw = fopen($path_to_image, "wb");
+
+                    // Verify the file has opened.
+                    if (!$fpw) {
+
+                        // The file did not open. Make a note of the error.
+                        $URI_failure_array[] = array( 'failure_ordinal'=>$failure_ordinal, 'URI_name'=> $_POST['URI_array'][$counter], 'error_code'=>$lang_upload_php['cant_open_write_file']);
+
+                        // There is no need for further tests or action, so skip the remainder of the iteration.
+                        continue;
+
+                    }
+
+                    // Write the data to the file.
+                    if (fwrite($fpw, $content, strlen($content)) === 'FALSE') {
+
+                        // We could not write the data to the file. Note an error.
+                        $URI_failure_array[] = array( 'failure_ordinal'=>$failure_ordinal, 'URI_name'=> $_POST['URI_array'][$counter], 'error_code'=>$lang_upload_php['cant_write_write_file']);
+
+                        // There is no need for further tests or action, so skip the remainder of the iteration.
+                        continue;
+
+                    }
+
+                    // The file now resides on the server. Let's close the write file.
+                    fclose($fpw);
+
+                }
+
+            }
+
+            // The file is located at $path_to_image.  We now need to continue with on server testing.
+
+            // Change file permission
+            @chmod($path_to_image, octdec($CONFIG['default_file_mode'])); //silence the output in case chmod is disabled
+
+            // Create a testing alias. Use the temp name if a MIME type eas discovered.
+            if ($URI_MIME_type) {
+
+                // The MIME type eas detected, so we use the temp name.
+                $picture_alias = $tempname;
+
+            } else {
+
+                $picture_alias = $matches[1].".".$matches[2];
+
+            }
+
+            // Test file size. Delete if too large.
+            if (filesize($path_to_image) > $max_file_size) {
+
+                // The file size is too large, delete it.
+                @unlink($uploaded_pic);
+
+                // The file upload has failed -- the file is too large. make a note of the error.
+                $URI_failure_array[] = array( 'failure_ordinal'=>$failure_ordinal, 'URI_name'=> $_POST['URI_array'][$counter], 'error_code'=>$lang_upload_php['exc_file_size']);
+
+                // There is no need for further tests or action, so skip the remainder of the iteration.
+                continue;
+            }
+
+            // Check to see if the filename is consistent with that of a picture.
+            if (is_image($picture_alias)) {
+
+                // If it is, get the picture information
+                $imginfo = getimagesize($path_to_image);
+
+                // If getimagesize does not recognize the file as a picture, delete the picture.
+                if ($imginfo === 'FALSE') {
+                    @unlink($path_to_image);
+
+                    // The file upload has failed -- the image is not an image or it is corrupt.
+                    $URI_failure_array[] = array( 'failure_ordinal'=>$failure_ordinal, 'URI_name'=> $_POST['URI_array'][$counter], 'error_code'=>$lang_upload_php['not_image']);
+
+                    // There is no need for further tests or action, so skip the remainder of the iteration.
+                    continue;
+
+                // JPEG and PNG only are allowed with GD. If the image is not allowed for GD,delete it.
+                //} elseif ($imginfo[2] != GIS_JPG && $imginfo[2] != GIS_PNG && ($CONFIG['thumb_method'] == 'gd1' || $CONFIG['thumb_method'] == 'gd2')) {
+                } elseif ($imginfo[2] != GIS_JPG && $imginfo[2] != GIS_PNG && $CONFIG['GIF_support'] == 0) {
+                    @unlink($path_to_image);
+
+                    // The file upload has failed -- the image is not allowed with GD.
+                    $URI_failure_array[] = array( 'failure_ordinal'=>$failure_ordinal, 'URI_name'=> $_POST['URI_array'][$counter], 'error_code'=>$lang_upload_php['not_GD']);
+
+                    // There is no need for further tests or action, so skip the remainder of the iteration.
+                    continue;
+
+                // Check that picture size (in pixels) is lower than the maximum allowed. If not, delete it.
+                } elseif (max($imginfo[0], $imginfo[1]) > $CONFIG['max_upl_width_height']) {
+                    @unlink($path_to_image);
+
+                    // The file upload has failed -- the image dimensions exceed the allowed amount.
+                    $URI_failure_array[] = array( 'failure_ordinal'=>$failure_ordinal, 'URI_name'=> $_POST['URI_array'][$counter], 'error_code'=>$lang_upload_php['pixel_allowance']);
+
+                    // There is no need for further tests or action, so skip the remainder of the iteration.
+                    continue;
+                }
+
+            // Image is ok
+            }
+
+            // Put array info for a successful upload in $escrow_array. Array hold the actual file name and the name of the temporary image. We do not use the path for security reasons.
+            $escrow_array[] = array('actual_name'=>$picture_alias, 'temporary_name'=>$tempname);
+
+        }
+
+    }
+
+    // Decompressive ZIP uploading is disabled.
+    // $zip_upload_count = count($_FILES['ZIP_array']['name']);
+
+    //Now we must prepare the inital form for adding the pictures to the database, and we must move them to their final location.
+
+    // Count errors in each error array and the escrow array.
+    $escrow_array_count = count($escrow_array);
+    $file_error_count = count($file_failure_array);
+    $URI_error_count = count($URI_failure_array);
+    $zip_error_count = count($zip_failure_array);
+
+    // Create page header.
+    pageheader($lang_upload_php['title']);
+
+    // Check for successful uploads.
+    if ($escrow_array_count > '0') {
+
+        // Serialize and base64_encode the array.
+        $cayman_escrow = base64_encode(serialize($escrow_array));
+
+        // Add temp data record to database.
+        $unique_ID = create_record($cayman_escrow);
+
+        // Verify record was created.
+        if (!$unique_ID) {
+
+            cpg_die(CRITICAL_ERROR, $lang_upload_php['cant_create_write'], __FILE__, __LINE__);
+
+        }
+
+        // Prepare success data for user.
+        open_form($_SERVER['PHP_SELF']); // Set the form action to this script.
+        starttable("100%", $lang_upload_php['succ'], 2);
+        echo "<tr><td colspan=\"2\">";
+        printf ($lang_upload_php['success'], $escrow_array_count);
+        echo "<br /><br />";
+        echo $lang_upload_php['add'];
+        echo "</td></tr>";
+
+        $form_array = array(
+             array('unique_ID', $unique_ID, 4),
+             array('control', 'phase_2', 4)
+        );
+
+        create_form($form_array);
+        close_form($lang_continue);
+        endtable();
+
+        // Throw in an HTML break for aesthetics.
+        echo "<br />";
+
+    } else {
+
+        // we had no successful uploads. We create a redirect box.
+        msg_box($lang_info, sprintf($lang_upload_php['success'], $escrow_array_count), $lang_continue, 'index.php', "100%");
+
+        // Throw in an HTML break for aesthetics.
+        echo "<br />";
+
+    }
+
+    // Create error report if we have errors.
+    if (($file_error_count + $URI_error_count + $zip_error_count) > 0) {
+
+        // Prepare error data for user.
+        starttable("100%", $lang_upload_php['error_report'], 2);
+        form_statement($lang_upload_php['error_instr']);
+
+        // Look for file upload errors.
+        if ($file_error_count > 0) {
+
+            // There are file upload errors. Generate the section label.
+            form_label($lang_upload_php['reg_instr_7']);
+            echo "<tr><td>{$lang_upload_php['file_name_url']}</td><td>{$lang_upload_php['error_message']}</td></tr>";
+
+            // Cycle through the file upload errors.
+            for ($i=0; $i < $file_error_count; $i++) {
+
+                // Print the error ordinal, file name, and error code.
+                echo "<tr><td>{$file_failure_array[$i]['failure_ordinal']} {$file_failure_array[$i]['file_name']}</td><td>{$file_failure_array[$i]['error_code']}</td></tr>";
+
+            }
+
+        }
+
+        // Look for URI upload errors.
+        if ($URI_error_count > 0) {
+
+            // There are URI upload errors. Generate the section label.
+            form_label($lang_upload_php['reg_instr_8']);
+            echo "<tr><td>{$lang_upload_php['file_name_url']}</td><td>{$lang_upload_php['error_message']}</td></tr>";
+
+            // Cycle through the file upload errors.
+            for ($i=0; $i < $URI_error_count; $i++) {
+
+                // Print the error ordinal, file name, and error code.
+                echo "<tr><td>{$URI_failure_array[$i]['failure_ordinal']} {$URI_failure_array[$i]['URI_name']}</td><td>{$URI_failure_array[$i]['error_code']}</td></tr>";
+
+            }
+
+        }
+
+        // Look for zip upload errors.
+        if ($zip_error_count > 0) {
+
+            // There are file upload errors. Generate the section label.
+            form_label($lang_upload_php['reg_instr_6']);
+            echo "<tr><td>{$lang_upload_php['file_name_url']}</td><td>{$lang_upload_php['error_message']}</td></tr>";
+
+            // Cycle through the file upload errors.
+            for ($i=0; $i < $zip_error_count; $i++) {
+
+                // Print the error ordinal, file name, and error code.
+                echo "<tr><td>{$file_failure_array[$i]['failure_ordinal']} {$file_failure_array[$i]['file_name']}</td><td>{$file_failure_array[$i]['error_code']}</td></tr>";
+
+            }
+
+        }
+
+        // Close the error report table.
+        endtable();
+
+    }
+
+    // Create the footer and flush the output buffer.
+    echo "</form>";
+    pagefooter();
+    ob_end_flush();
+
+    // Exit the script.
+
+    exit;
+}
+
+// Recieve incoming post information for phase II.
+if ((isset($_POST['control'])) and ($_POST['control'] == 'phase_2')) {
+
+    // Check for incoming album placement data.
+    if ((isset($_POST['album'])) and (isset($_POST['unique_ID']))) {
+
+            // Check if user selected an album to upload picture to. If not, die with error.
+        // added by frogfoot
+        $album = (int)$_POST['album'];
+        if (!$album){
+                        cpg_die(ERROR, $lang_db_input_php['album_not_selected'], __FILE__, __LINE__);
+                }
+
+        if (isset($_POST['unique_ID'])) {
+
+            // The unique ID is set, so let us retrieve the record.
+            $cayman_string = retrieve_record($_POST['unique_ID']);
+
+            // Verify record was retrieved.
+            if (!$cayman_string) {
+
+                cpg_die(CRITICAL_ERROR, $lang_errors['param_missing'], __FILE__, __LINE__);
+
+            }
+
+        } else {
+
+            // The $_POST['unique_ID'] value is not present.  Die with an error.
+            cpg_die(CRITICAL_ERROR, $lang_errors['param_missing'], __FILE__, __LINE__);
+
+        }
+
+        // Now we decode the string.
+        $escrow_array = unserialize(base64_decode($cayman_string));
+
+        // Now we need to pop a file set off $escrow_array.
+        // The returned element will take the form: array('actual_name', 'temporary_name')
+
+        // First, we test to make sure $escrow_array is an array.
+        if (!(is_array($escrow_array))) {
+
+            // The decoded information is not an array. Die with an error.
+            cpg_die(CRITICAL_ERROR, $lang_errors['param_missing'], __FILE__, __LINE__);
+
+        }
+
+        // Initialize $file_set as an array.
+        $file_set = array();
+
+        // Create array index.
+        $index = count($escrow_array) - 1;
+
+        // Read the end of the $escrow_array array into $file_set.
+        $file_set[0] = $escrow_array[$index]['actual_name'];
+        $file_set[1] = $escrow_array[$index]['temporary_name'];
+
+        // Get the image preview path.
+        $preview_path = $escrow_array[$index]['preview_path'];
+
+        // Remove end of $escrow_array.
+        unset($escrow_array[$index]['preview_path']);
+        unset($escrow_array[$index]['actual_name']);
+        unset($escrow_array[$index]['temporary_name']);
+        unset($escrow_array[$index]);
+
+        // Re-encode the $escrow_array.
+        $cayman_escrow = base64_encode(serialize($escrow_array));
+
+        // Update the record.
+        $update = update_record($_POST['unique_ID'], $cayman_escrow);
+
+        // Verify that the update occurred.
+        if (!$update) {
+
+            // We cannot write to the temporary data file. Note a fatal error.
+            cpg_die(CRITICAL_ERROR, $lang_upload_php['not_writable'], __FILE__, __LINE__);
+
+        }
+
+        // We have incoming placement data. Let's capture it.
+
+        $album = (int)$_POST['album'];
+        $title = addslashes($_POST['title']);
+        $caption = addslashes($_POST['caption']);
+        $keywords = addslashes($_POST['keywords']);
+        $user1 = addslashes($_POST['user1']);
+        $user2 = addslashes($_POST['user2']);
+        $user3 = addslashes($_POST['user3']);
+        $user4 = addslashes($_POST['user4']);
+
+        // Capture movie or audio width and height if sent.
+        if(isset($_POST['movie_wd'])) {
+
+            $movie_wd = (int)$_POST['movie_wd'];
+
+        } else {
+
+            $movie_wd = 320;
+
+        }
+
+        if(isset($_POST['movie_ht'])) {
+
+            $movie_ht = (int)$_POST['movie_ht'];
+
+        } else {
+
+            $movie_ht = 240;
+
+        }
+
+        // Check if the album id provided is valid
+        if (!GALLERY_ADMIN_MODE) {
+            $result = cpg_db_query("SELECT category FROM {$CONFIG['TABLE_ALBUMS']} WHERE aid='$album' and (uploads = 'YES' OR category = '" . (USER_ID + FIRST_USER_CAT) . "')");
+            if (mysql_num_rows($result) == 0)cpg_die(ERROR, $lang_db_input_php['unknown_album'], __FILE__, __LINE__);
+            $row = mysql_fetch_array($result);
+            mysql_free_result($result);
+            $category = $row['category'];
+        } else {
+            $result = cpg_db_query("SELECT category FROM {$CONFIG['TABLE_ALBUMS']} WHERE aid='$album'");
+            if (mysql_num_rows($result) == 0)cpg_die(ERROR, $lang_db_input_php['unknown_album'], __FILE__, __LINE__);
+            $row = mysql_fetch_array($result);
+            mysql_free_result($result);
+            $category = $row['category'];
+        }
+
+        // Pictures are moved in a directory named 10000 + USER_ID
+        if (USER_ID && !defined('SILLY_SAFE_MODE')) {
+            $filepath = $CONFIG['userpics'] . (USER_ID + FIRST_USER_CAT);
+            $dest_dir = $CONFIG['fullpath'] . $filepath;
+            if (!is_dir($dest_dir)) {
+                mkdir($dest_dir, octdec($CONFIG['default_dir_mode']));
+                if (!is_dir($dest_dir)) cpg_die(CRITICAL_ERROR, sprintf($lang_db_input_php['err_mkdir'], $dest_dir), __FILE__, __LINE__, true);
+                @chmod($dest_dir, octdec($CONFIG['default_dir_mode'])); //silence the output in case chmod is disabled
+                $fp = fopen($dest_dir . '/index.html', 'w');
+                fwrite($fp, ' ');
+                fclose($fp);
+            }
+            $dest_dir .= '/';
+            $filepath .= '/';
+        } else {
+            $filepath = $CONFIG['userpics'];
+            $dest_dir = $CONFIG['fullpath'] . $filepath;
+        }
+
+        // Check that target dir is writable
+        if (!is_writable($dest_dir)) cpg_die(CRITICAL_ERROR, sprintf($lang_db_input_php['dest_dir_ro'], $dest_dir), __FILE__, __LINE__, true);
+
+        //Add the Perl regex to break the actual name.
+        preg_match("/(.+)\.(.*?)\Z/", $file_set[0], $matches);
+
+        // Create a unique name for the uploaded file
+        $nr = 0;
+        $picture_name = $matches[1] . '.' . $matches[2];
+        while (file_exists($dest_dir . $picture_name)) {
+            $picture_name = $matches[1] . '~' . $nr++ . '.' . $matches[2];
+        }
+
+        // Create path for final location.
+        $uploaded_pic = $dest_dir . $picture_name;
+
+        // Form path to temporary image.
+        $path_to_image = './'.$CONFIG['fullpath'].'edit/'.$file_set[1];
+
+                // prevent moving the edit directory...
+                if (is_dir($path_to_image)) cpg_die(CRITICAL_ERROR, $lang_upload_php['failure'] . " - '$path_to_image'", __FILE__, __LINE__, true);
+
+        // Move the picture into its final location
+        if (rename($path_to_image, $uploaded_pic)) {
+
+            // Change file permission
+            @chmod($uploaded_pic, octdec($CONFIG['default_file_mode'])); //silence the output in case chmod is disabled
+
+            // Create thumbnail and intermediate image and add the image into the DB
+            $result = add_picture($album, $filepath, $picture_name, 0,$title, $caption, $keywords, $user1, $user2, $user3, $user4, $category, $raw_ip, $hdr_ip, $movie_wd, $movie_ht);
+
+            if (!$result) {
+
+                // The file could not be placed.
+                $file_placement = 'no';
+
+            } else {
+
+                // The file was placed successfully.
+                $file_placement = 'yes';
+
+            }
+
+        } else {
+
+            // The file was not placed successfully.
+            $file_placement = 'no';
+
+        }
+
+        // Time for garbage cleanup.
+
+        // First, we delete the preview image.
+        if ((!strstr($preview_path, 'thumb')) and (file_exists($preview_path))) {
+
+            unlink($preview_path);
+
+        }
+
+        // Check to see if this is the last one.
+        if(count($escrow_array) == '0') {
+
+            // Create the final message.
+            if ($PIC_NEED_APPROVAL) {
+
+                if ($file_placement == 'no') {
+
+                    $final_message = ''.$lang_upload_php['no_place'].'<br /><br />'.$lang_db_input_php['upload_success'];
+
+                } else {
+
+                    $final_message = ''.$lang_upload_php['yes_place'].'<br /><br />'.$lang_db_input_php['upload_success'];
+
+                }
+
+            } else {
+
+                if ($file_placement == 'no') {
+
+                    $final_message = ''.$lang_upload_php['no_place'].'<br /><br />'.$lang_upload_php['process_complete'];
+
+                } else {
+
+                    $final_message = ''.$lang_upload_php['yes_place'].'<br /><br />'.$lang_upload_php['process_complete'];
+
+                }
+
+            }
+
+            // Delete the temporary data file.
+            delete_record($_POST['unique_ID']);
+
+            // Send e-mail notification to the admin if requested (added by gaugau: 03-11-09).
+            if (($CONFIG['upl_notify_admin_email']) and ($PIC_NEED_APPROVAL)) {
+                // Encapsulate so included lang file doesn't interfere with global one
+                function cpg_send_upload_notification() {
+                    global $CONFIG;
+                    $lang_db_input_php = cpg_get_default_lang_var('lang_db_input_php');
+                    // Get the mail files.
+                    include_once('include/mailer.inc.php');
+
+                    // Send the message.
+                    cpg_mail('admin', sprintf($lang_db_input_php['notify_admin_email_subject'], $CONFIG['gallery_name']), sprintf($lang_db_input_php['notify_admin_email_body'], USER_NAME,  $CONFIG['ecards_more_pic_target']. (substr( $CONFIG["ecards_more_pic_target"], -1) == '/' ? '' : '/') .'editpics.php?mode=upload_approval' ));
+                }
+                cpg_send_upload_notification();
+            }
+
+            // That was the last one. Create a redirect box.
+            pageheader($lang_info);
+            msg_box($lang_info, $final_message, $lang_continue, 'index.php', "100%");
+            pagefooter();
+
+            // Exit the script.
+            exit;
+
+        }
+
+    }
+
+    // The user has files that need to be processed and placed in albums.
+    // We must pull that information from the temporary data file
+    // whose ID is in $_POST['unique_ID'].
+
+    if (isset($_POST['unique_ID'])) {
+
+            // The unique ID is set, so let us retrieve the record.
+            $cayman_string = retrieve_record($_POST['unique_ID']);
+
+            // Verify record was retrieved.
+            if (!$cayman_string) {
+
+                cpg_die(CRITICAL_ERROR, $lang_errors['param_missing'], __FILE__, __LINE__);
+
+            }
+
+    } else {
+
+        // The $_POST['cayman'] path is not present.  Die with an error.
+        cpg_die(CRITICAL_ERROR, $lang_errors['param_missing'], __FILE__, __LINE__);
+
+    }
+
+    // Now we decode the string.
+    $escrow_array = unserialize(base64_decode($cayman_string));
+
+    // Now we need to detect the end file set of $escrow_array.
+    // The returned element will take the form: array('actual_name', 'temporary_name')
+
+    // First, we test to make sure $escrow_array is an array.
+    if (!(is_array($escrow_array))) {
+
+        // The decoded information is not an array. Die with an error.
+        cpg_die(CRITICAL_ERROR, $lang_errors['param_missing'], __FILE__, __LINE__);
+
+    }
+
+    // Initialize $file_set as an array.
+    $file_set = array();
+
+    // Create array index.
+    $index = count($escrow_array) - 1;
+
+    // Read the end of the $escrow_array array into $file_set.
+    $file_set[0] = $escrow_array[$index]['actual_name'];
+    $file_set[1] = $escrow_array[$index]['temporary_name'];
+
+    // Create preview image.
+
+    // Create path to image.
+    $path_to_image = './'.$CONFIG['fullpath'].'edit/'.$file_set[1];
+
+    // Create the preview function.
+
+    // Get the extension for the preview.
+
+    // First we parse the file name to determine the file type.
+    $pieces = explode('.',$file_set[1]);
+
+    // We pop off the end of the $pieces array to obtain the possible file name.
+    $extension = array_pop($pieces);
+
+    // Detect if the file is an image.
+    if(is_image($file_set[1])) {
+
+        // Create preview image file name.
+
+        do {
+
+            // Create a random seed by taking the first 8 characters of an MD5 hash of a concatenation of the current UNIX epoch time and the current server process ID.
+            $seed = substr(md5(uniqid("")), 0, 8);
+
+            // Assemble the file path.
+            $path_to_preview = './'.$CONFIG['fullpath'].'edit/preview_' . $seed . '.' . $extension;
+
+        } while (file_exists($path_to_preview));
+
+        // Create secure preview path.
+        $s_preview_path = 'preview_' . $seed . '.' . $extension;
+
+        // The file is an image, we must resize it for a preview image.
+        resize_image($path_to_image, $path_to_preview, '150', $CONFIG['thumb_method'], 'wd');
+
+        if ($CONFIG['read_iptc_data']) {
+           $iptc = get_IPTC($path_to_image);
+        }
+
+    } else {
+
+        // The file is not an image, so we will use the non-image thumbs
+        // for preview images.
+
+        // We create the path to the preview image.
+        $path_to_preview = "images/thumb_{$extension}.jpg";
+
+    }
+
+    // Add preview image path to $escrow_array.
+    $escrow_array[$index]['preview_path'] = $path_to_preview;
+
+    // Re-encode the $escrow_array.
+    $cayman_escrow = base64_encode(serialize($escrow_array));
+
+    // Update the record.
+    $update = update_record($_POST['unique_ID'], $cayman_escrow);
+
+    // Verify that the update occurred.
+    if (!$update) {
+
+        // We cannot write to the temporary data file. Note a fatal error.
+        cpg_die(CRITICAL_ERROR, $lang_upload_php['not_writable'], __FILE__, __LINE__);
+
+    }
+
+    // Create upload form headers.
+    pageheader($lang_upload_php['title']);
+    
+    // Direct the request to this script.
+    open_form($_SERVER['PHP_SELF']);
+
+    // Open the form table.
+    starttable("100%", $lang_upload_php['title'], 2);
+
+    // Create image tag and echo it to the output buffer.
+    echo "<tr><td class=\"tableh2\"><img class=\"image\" src=\"".$path_to_preview."\"  /></td>";
+
+    // Echo instructions.
+    echo "<td class=\"tableh2\">{$lang_upload_php['picture']} - {$file_set[0]}<br /><br />{$lang_upload_php['place_instr_1']}<br /><br />";
+
+    // If we have previously placed a picture, give a brief message about its success or failure.
+    if (isset($file_placement)) {
+
+        if ($file_placement == 'yes') {
+
+            // The previous picture was placed successfully.
+            echo "{$lang_upload_php['yes_place']}";
+
+        } elseif ($file_placement == 'no') {
+
+            // The previous image placement failed.
+            echo "{$lang_upload_php['no_place']}";
+
+        }
+
+    }
+
+    echo "</td></tr>";
+
+    // Declare an array containing the various upload form box definitions.
+    $captionLabel = $lang_upload_php['description'];
+    if ($CONFIG['show_bbcode_help']) {$captionLabel .= '&nbsp;'. cpg_display_help('f=index.html&amp;base=64&amp;h='.urlencode(base64_encode(serialize($lang_bbcode_help_title))).'&amp;t='.urlencode(base64_encode(serialize($lang_bbcode_help))),470,245);}
+    //$printed_file_name = "{$lang_upload_php['picture']} - {$file_set[0]}";
+
+    //Use the IPTC title or headline for the Coppermine title if available.
+    if (isset($iptc['Title']) && !empty($iptc['Title'])) {
+        $title=$iptc['Title'];
+    } elseif (isset($iptc['Headline']) && !empty($iptc['Headline'])) {
+        $title=$iptc['Headline'];
+    } else {
+        $title='';
+    }
+
+    $form_array = array(
+    array($lang_upload_php['album'], 'album', 2),
+    array($lang_upload_php['pic_title'], 'title', 0, 255, 1, $title),
+    array($captionLabel, 'caption', 3, $CONFIG['max_img_desc_length'], (isset($iptc['Caption'])) ? $iptc['Caption'] : ''),
+    array($lang_upload_php['keywords'], 'keywords', 0, 255, 1,(isset($iptc['Keywords'])) ? implode(' ',$iptc['Keywords']): ''),
+    array('control', 'phase_2', 4),
+    array('unique_ID', $_POST['unique_ID'], 4),
+    );
+
+    // Check for user defined fields.
+    if(!empty($CONFIG['user_field1_name'])) {
+        $form_array[] = array($CONFIG['user_field1_name'], 'user1', 0, 255, 1);
+    }
+
+    if(!empty($CONFIG['user_field2_name'])) {
+        $form_array[] = array($CONFIG['user_field2_name'], 'user2', 0, 255, 1);
+    }
+
+    if(!empty($CONFIG['user_field3_name'])) {
+        $form_array[] = array($CONFIG['user_field3_name'], 'user3', 0, 255, 1);
+    }
+
+    if(!empty($CONFIG['user_field4_name'])) {
+        $form_array[] = array($CONFIG['user_field4_name'], 'user4', 0, 255, 1);
+    }
+
+
+    // Check for movies and audio, and create width and height boxes if true.
+    if((is_movie($file_set[1])) or (is_audio($file_set[1]))) {
+
+        //Add width and height boxes to the form.
+        $form_array[] = array($lang_admin_php['th_wd'],'movie_wd', 0, 4, 1);
+        $form_array[] = array($lang_admin_php['th_ht'],'movie_ht', 0, 4, 1);
+
+    }
+
+    // Create the form and echo more instructions.
+    create_form($form_array);
+
+    // More instructions.
+    if(count($escrow_array) > '1') {
+
+        form_statement($lang_upload_php['place_instr_2']);
+
+    }
+
+    // Make button say 'Continue.'
+    close_form($lang_continue);
+
+    // Close the table, create footers, and flush the output buffer.
+    endtable();
+    echo "</form>";
+    pagefooter();
+    ob_end_flush();
+
+    // Exit the script.
+    exit;
+
+
+}
 ?>
\ No newline at end of file
diff -x .svn -aruN 1.4.24.src/usermgr.php 1.4.25.src/usermgr.php
--- 1.4.24.src/usermgr.php	2009-05-21 15:03:09.000000000 -0500
+++ 1.4.25.src/usermgr.php	2009-05-26 11:25:52.000000000 -0500
@@ -1,890 +1,890 @@
-<?php
-/*************************
-  Coppermine Photo Gallery
-  ************************
-  Copyright (c) 2003-2009 Coppermine Dev Team
-  v1.1 originally written by Gregory DEMAR
-
-  This program is free software; you can redistribute it and/or modify
-  it under the terms of the GNU General Public License version 3
-  as published by the Free Software Foundation.
-  
-  ********************************************
-  Coppermine version: 1.4.24
-  $HeadURL: https://coppermine.svn.sourceforge.net/svnroot/coppermine/trunk/cpg1.4.x/usermgr.php $
-  $Revision: 5969 $
-  $Author: gaugau $
-  $Date: 2009-05-21 22:03:33 +0200 (Do, 21 Mai 2009) $
-**********************************************/
-
-define('IN_COPPERMINE', true);
-define('USERMGR_PHP', true);
-define('PROFILE_PHP', true);
-
-require('include/init.inc.php');
-
-$cpg_udb->view_users();
-
-if (USER_ID !='') {
- if (GALLERY_ADMIN_MODE) {
-  $lim_user = 0;
-  $number_of_columns = 9;
- }
- elseif ($CONFIG['allow_memberlist']) {
-  $lim_user = 1;
-  $number_of_columns = 7;
-  show_memberlist;
- }
- else {
-  $lim_user = 2;
-  cpg_die(ERROR, $lang_errors['access_denied'], __FILE__, __LINE__);
- }
-}
-else {
- $lim_user = 3;
- cpg_die(ERROR, $lang_errors['access_denied'], __FILE__, __LINE__);
-}
-
-function show_memberlist()
-{
-        cpg_db_query("DELETE FROM {$CONFIG['TABLE_USERS']} WHERE user_name = '' LIMIT 1");
-        pageheader($lang_usermgr_php['title']);
-        list_users();
-        pagefooter();
-        ob_end_flush();
-}
-
-function list_group_alb_access($group_id) {  //shows a list of albums a specific group can see. Categories are listed with albums for clarity
-    global $CONFIG, $group_id, $aid;
-
-    $query = "
-      SELECT
-        group_id, albums.aid AS aid, group_name, categories.name AS category, albums.title AS album
-      FROM
-        {$CONFIG['TABLE_USERGROUPS']} AS groups,
-        {$CONFIG['TABLE_ALBUMS']} AS albums
-      LEFT JOIN
-        {$CONFIG['TABLE_CATEGORIES']} AS categories
-      ON
-        albums.category = categories.cid
-      WHERE
-        group_id = $group_id AND albums.visibility = groups.group_id
-      ORDER BY
-        category, album";
-    $result = cpg_db_query($query);
-    $albs = cpg_db_fetch_rowset($result);
-    mysql_free_result($result);
-
-    foreach($albs as $album) {
-      $aid = $album['aid'];
-      echo '
-        <tr>
-        <td>' . $album['category'] . '</td>
-        <td>' . $album['album'] . '</td>
-        <td>&nbsp;<a href="modifyalb.php?album=' . $album['aid'] . '"><img src="images/edit.gif" border="0" alt="" /></a></td>
-        </tr>
-        ';
-   }
-}
-
-function list_groups_alb_access() //shows a list of albums each group can see. Categories are listed with albums for clarity
-{
-    global $CONFIG;
-    global $lang_usermgr_php, $group_id;
-
-    starttable(500, $lang_usermgr_php['groups_alb_access'], 3);
-
-    $sql = "
-      SELECT
-        group_id, group_name, categories.name AS category, albums.title AS album
-      FROM
-        {$CONFIG['TABLE_USERGROUPS']} AS groups, {$CONFIG['TABLE_ALBUMS']} AS albums
-      LEFT JOIN
-        {$CONFIG['TABLE_CATEGORIES']} AS categories
-      ON
-        albums.category = categories.cid
-      WHERE
-        albums.visibility = groups.group_id
-      GROUP BY
-        group_name
-      ORDER BY
-        group_name, category, album
-    ";
-
-    $result = cpg_db_query($sql);
-    $groups = cpg_db_fetch_rowset($result);
-    mysql_free_result($result);
-
-    echo "
-    <td><b>{$lang_usermgr_php['category']}</b></td>
-    <td><b>{$lang_usermgr_php['album']}</b></td>
-    <td><b>{$lang_usermgr_php['modify']}</b></td>
-    ";
-    foreach($groups as $group) {
-        $group_name = $group['group_name'];
-        $group_id = $group['group_id'];
-        echo '<tr><td colspan="3" class="tableh1_compact">' . $group_name . '</td></tr>';
-        list_group_alb_access($group_id);
-    }
-    endtable();
-}
-
-
-function list_users($search = '')
-{
-    global $CONFIG, $cpg_udb; //, $PHP_SELF;
-    global $lang_usermgr_php, $lang_byte_units, $register_date_fmt,$lang_check_uncheck_all;
-    global $lim_user,$number_of_columns;
-    global $USER_DATA;
-
-    $number_of_columns_minus_one = $number_of_columns - 1;
-
-    $sort_codes = array('name_a' => 'user_name ASC',
-        'name_d' => 'user_name DESC',
-        'group_a' => 'group_name ASC',
-        'group_d' => 'group_name DESC',
-        'reg_a' => 'user_regdate ASC',
-        'reg_d' => 'user_regdate DESC',
-        'pic_a' => 'pic_count ASC',
-        'pic_d' => 'pic_count DESC',
-        'disku_a' => 'disk_usage ASC',
-        'disku_d' => 'disk_usage DESC',
-        'lv_a' => 'user_lastvisit ASC',
-        'lv_d' => 'user_lastvisit DESC',
-        );
-
-    $sort = (!isset($_GET['sort']) || !isset($sort_codes[$_GET['sort']])) ? 'reg_d' : $_GET['sort'];
-
-    $tab_tmpl = array('left_text' => '<td width="100%" align="left" valign="middle" class="tableh1_compact" style="white-space: nowrap"><b>' . $lang_usermgr_php['u_user_on_p_pages'] . '</b></td>' . "\n",
-        'tab_header' => '',
-        'tab_trailer' => '',
-        'active_tab' => '<td><img src="images/spacer.gif" width="1" height="1" border="0" alt="" /></td>' . "\n" . '<td align="center" valign="middle" class="tableb_compact"><b>%d</b></td>',
-        'inactive_tab' => '<td><img src="images/spacer.gif" width="1" height="1" border="0" alt="" /></td>' . "\n" . '<td align="center" valign="middle" class="navmenu"><a href="' . $_SERVER['PHP_SELF'] . '?page=%d&amp;sort=' . $sort . '"<b>%d</b></a></td>' . "\n"
-        );
-
-    $makereadonly = ($CONFIG['bridge_enable']) ? 'style="display:none;" disabled="disabled" ':'';
-
-    $user_count = $cpg_udb->get_user_count();
-
-    if (!$user_count) cpg_die(CRITICAL_ERROR, $lang_usermgr_php['err_no_users'], __FILE__, __LINE__);
-
-    $user_per_page = 25;
-    $page = isset($_GET['page']) ? (int)$_GET['page'] : 1;
-    $lower_limit = ($page-1) * $user_per_page;
-    $total_pages = ceil($user_count / $user_per_page);
-
-
-    /*
-   * Commented out to support bridge files -Omni
-   *
-  $sql = "SELECT user_id, user_name, user_email, UNIX_TIMESTAMP(user_regdate) as user_regdate, UNIX_TIMESTAMP(user_lastvisit) as user_lastvisit, user_active, ".
-           "COUNT(pid) as pic_count, ROUND(SUM(total_filesize)/1024) as disk_usage, group_name, group_quota ".
-           "FROM {$CONFIG['TABLE_USERS']} AS u ".
-           "INNER JOIN {$CONFIG['TABLE_USERGROUPS']} AS g ON user_group = group_id ".
-           "LEFT JOIN {$CONFIG['TABLE_PICTURES']} AS p ON p.owner_id = u.user_id ".
-           $search.
-           "GROUP BY user_id " . "ORDER BY " . $sort_codes[$sort] . " ".
-           "LIMIT $lower_limit, $user_per_page";
-    */
-
-    $users = $cpg_udb->get_users(
-                                  array(
-                                        'users_per_page' => $user_per_page,
-                                        'lower_limit' => $lower_limit,
-                                        'search' => $search,
-                                        'sort' => $sort
-                                       )
-                                  );
-
-
-    /*
-   * Commented out to support bridge files -Omni
-   *
-   */
-    //$result = cpg_db_query($sql);
-
-    $tabs = create_tabs($user_count, $page, $total_pages, $tab_tmpl);
-
-    $lb = "<select name=\"album_listbox\" class=\"listbox\" onChange=\"if(this.options[this.selectedIndex].value) window.location.href='{$_SERVER['PHP_SELF']}?page=$page&amp;sort='+this.options[this.selectedIndex].value;\">\n";
-    foreach($sort_codes as $key => $value) {
-        $selected = ($key == $sort) ? "SELECTED" : "";
-        $lb .= "        <option value=\"" . $key . "\" $selected>" . $lang_usermgr_php[$key] . "</option>\n";
-    }
-    $lb .= "</select>\n";
-
-echo <<<EOT
-<script type="text/javascript" language="javascript">
-<!--
-function selectAll(d,box) {
-  var f = document.editForm;
-  for (i = 0; i < f.length; i++) {
-    //alert (f[i].name.indexOf(box));
-    if (f[i].type == "checkbox" && f[i].name.indexOf(box) >= 0) {
-      if (d.checked) {
-        f[i].checked = true;
-      } else {
-        f[i].checked = false;
-      }
-    }
-  }
-  if (d.name == "checkAll") {
-      document.getElementsByName('checkAll2')[0].checked = document.getElementsByName('checkAll')[0].checked;
-  } else {
-      document.getElementsByName('checkAll')[0].checked = document.getElementsByName('checkAll2')[0].checked;
-  }
-}
-
-function selectaction(d,box) {
-// check if an action has been selected
-  var action = document.editForm.action.value;
-  if (action == '') {
-    return false;
-  }
-// check if at least one user has been selected
-  var checked_counter = 0;
-  var checked_string = '';
-  var f = document.editForm;
-  for (i = 0; i < f.length; i++) {
-    if (f[i].type == "checkbox" && f[i].name.indexOf(box) >= 0) {
-      if (f[i].checked) {
-        checked_counter = checked_counter + 1;
-        if (checked_string == '') {
-          checked_string = f[i].name;
-        } else {
-          checked_string = checked_string + ',' + f[i].name;
-        }
-      }
-    }
-  }
-  if (checked_counter == 0) {
-    document.editForm.action.value = '';
-    alert('{$lang_usermgr_php['alert_no_selection']}');
-    return false;
-  }
-  document.editForm.id.value = checked_string;
-  document.editForm.new_password.style.display = "none";
-  document.editForm.group.style.display = "none";
-  document.editForm.go.style.display = "none";
-  document.editForm.delete_files.style.display = "none";
-  document.editForm.delete_comments.style.display = "none";
-  switch(document.editForm.action.value) {
-    case "delete":
-      document.editForm.delete_files.style.display = "inline";
-      document.editForm.delete_comments.style.display = "inline";
-      document.editForm.go.style.display = "inline";
-    break;
-    case "reset_password":
-      document.editForm.new_password.style.display = "inline";
-      document.editForm.go.style.display = "inline";
-    break;
-    case "change_group":
-      document.editForm.new_password.value = '';
-      document.editForm.group.style.display = "inline";
-      if (document.editForm.group.value != '') {
-      document.editForm.submit();
-      }
-    break;
-    case "add_group":
-      document.editForm.new_password.value = '';
-      document.editForm.group.style.display = "inline";
-      if (document.editForm.group.value != '') {
-      document.editForm.submit();
-      }
-    break;
-    default:
-      document.editForm.new_password.value = '';
-      document.editForm.submit();
-    break;
-  }
-}
--->
-</script>
-EOT;
-
-    starttable('100%');
-        if (isset($_POST['username'])){
-            $search_filter = '<td class="tableh1" align="center">'.$lang_usermgr_php['search_result'].'&laquo;'.$_POST['username'].'&raquo;</td>';
-        } else {
-            $search_filter = '';
-        }
-        $help = '&nbsp;'.cpg_display_help('f=index.htm&amp;as=user_cp&amp;ae=user_cp_end&amp;top=1', '650', '500');
-    echo <<<EOT
-        <tr>
-            <td colspan="$number_of_columns" class="tableh1">
-                <table border="0" cellspacing="0" cellpadding="0" width="100%">
-                    <tr>
-                        <td class="tableh1">
-EOT;
-if (!$lim_user) {
-    echo '<h2>'.$lang_usermgr_php['user_manager'].$help.'</h2>';
-} else {
-    echo '<h2>'.$lang_usermgr_php['memberlist'].'</h2>';
-}
-echo <<<EOT
-                        </td>
-                        $search_filter
-                        <td class="tableh1" align="right"><b>{$lang_usermgr_php['sort_by']}</b>:
-                        $lb</td>
-                    </tr>
-                </table>
-            </td>
-        </tr>
-EOT;
-
-  // Accept header addons
-  echo CPGPluginAPI::filter('usermgr_header','');
-
-    print '<form method="get" action="delete.php" name="editForm">'."\n";
-    print '<input type="hidden" name="id" value="" />';
-    if (!$lim_user) {
-     echo <<< EOT
-
-        <tr>
-                <td class="tableh1" align="center"><input type="checkbox" {$makereadonly}name="checkAll" onClick="selectAll(this,'u');" class="checkbox" title="$lang_check_uncheck_all" /></td>
-                <td class="tableh1" colspan="2"><b><span class="statlink">{$lang_usermgr_php['name']}</span></b>
-                <a href="{$_SERVER['PHP_SELF']}?page=$page&amp;sort=name_a"><img src="images/ascending.gif" width="9" height="9" border="0" alt="" title="{$lang_usermgr_php['name_a']}" /></a>
-                <a href="{$_SERVER['PHP_SELF']}?page=$page&amp;sort=name_d"><img src="images/descending.gif" width="9" height="9" border="0" alt="" title="{$lang_usermgr_php['name_d']}" /></a>
-                </td>
-                <td class="tableh1"><b><a href="groupmgr.php" class="statlink">{$lang_usermgr_php['group']}</a></b>
-                <a href="{$_SERVER['PHP_SELF']}?page=$page&amp;sort=group_a"><img src="images/ascending.gif" width="9" height="9" border="0" alt="" title="{$lang_usermgr_php['group_a']}" /></a>
-                <a href="{$_SERVER['PHP_SELF']}?page=$page&amp;sort=group_d"><img src="images/descending.gif" width="9" height="9" border="0" alt="" title="{$lang_usermgr_php['group_d']}" /></a>
-                </td>
-                <td class="tableh1"><b><span class="statlink">{$lang_usermgr_php['registered_on']}</span></b>
-                <a href="{$_SERVER['PHP_SELF']}?page=$page&amp;sort=reg_a"><img src="images/ascending.gif" width="9" height="9" border="0" alt="" title="{$lang_usermgr_php['reg_a']}" /></a>
-                <a href="{$_SERVER['PHP_SELF']}?page=$page&amp;sort=reg_d"><img src="images/descending.gif" width="9" height="9" border="0" alt="" title="{$lang_usermgr_php['reg_d']}" /></a>
-                </td>
-                <td class="tableh1"><b><span class="statlink">{$lang_usermgr_php['last_visit']}</span></b>
-                <a href="{$_SERVER['PHP_SELF']}?page=$page&amp;sort=lv_a"><img src="images/ascending.gif" width="9" height="9" border="0" alt="" title="{$lang_usermgr_php['lv_a']}" /></a>
-                <a href="{$_SERVER['PHP_SELF']}?page=$page&amp;sort=lv_d"><img src="images/descending.gif" width="9" height="9" border="0" alt="" title="{$lang_usermgr_php['lv_d']}" /></a>
-                </td>
-                <td class="tableh1" align="center"><b><span class="statlink">{$lang_usermgr_php['pictures']}</span></b>
-                <a href="{$_SERVER['PHP_SELF']}?page=$page&amp;sort=pic_a"><img src="images/ascending.gif" width="9" height="9" border="0" alt="" title="{$lang_usermgr_php['pic_a']}" /></a>
-                <a href="{$_SERVER['PHP_SELF']}?page=$page&amp;sort=pic_d"><img src="images/descending.gif" width="9" height="9" border="0" alt="" title="{$lang_usermgr_php['pic_d']}" /></a>
-                </td>
-                <td class="tableh1" align="center"><b><span class="statlink">{$lang_usermgr_php['disk_space_used']}</span></b>
-                <a href="{$_SERVER['PHP_SELF']}?page=$page&amp;sort=disku_a"><img src="images/ascending.gif" width="9" height="9" border="0" alt="" title="{$lang_usermgr_php['disku_a']}" /></a>
-                <a href="{$_SERVER['PHP_SELF']}?page=$page&amp;sort=disku_d"><img src="images/descending.gif" width="9" height="9" border="0" alt="" title="{$lang_usermgr_php['disku_d']}" /></a>
-                </td>
-                <td class="tableh1" align="center"><b><span class="statlink">{$lang_usermgr_php['disk_space_quota']}</span></b>
-                </td>
-        </tr>
-EOT;
-    }
-    else {
-     echo <<< EOT
-
-        <tr>
-                <td class="tableh1"><b><span class="statlink">{$lang_usermgr_php['name']}</span></b></td>
-                <td class="tableh1"><b><span class="statlink">{$lang_usermgr_php['group']}</span></b></td>
-                <td class="tableh1"><b><span class="statlink">{$lang_usermgr_php['registered_on']}</span></b></td>
-                <td class="tableh1"><b><span class="statlink">{$lang_usermgr_php['last_visit']}</span></b></td>
-                <td class="tableh1" align="center"><b><span class="statlink">{$lang_usermgr_php['pictures']}</span></b></td>
-                <td class="tableh1" align="center"><b><span class="statlink">{$lang_usermgr_php['disk_space_used']}</span></b></td>
-                <td class="tableh1" align="center"><b><span class="statlink">{$lang_usermgr_php['disk_space_quota']}</span></b></td>
-        </tr>
-EOT;
-    }
-
-
-    foreach ($users as $user) {
-        if ($user['disk_usage'] == '') {
-            $user['disk_usage'] = 0;
-        }
-        if ($user['user_active'] == 'NO') {
-            $user['group_name'] = '<i>' . $lang_usermgr_php['inactive'] . '</i>';
-        }
-        $user['user_regdate'] = localised_date($user['user_regdate'], $register_date_fmt);
-        if ($user['user_lastvisit']) {
-            $user['user_lastvisit'] = localised_date($user['user_lastvisit'], $register_date_fmt);
-        }
-        else {
-            $user['user_lastvisit'] = $lang_usermgr_php['never'];
-        }
-
-        $usr_link = '<a href="profile.php?uid=' . $user['user_id'] . '">' . $user['user_name'];
-        if ($user['pic_count']) {
-            $usr_link .= '</a> (<a href="thumbnails.php?album=lastupby&uid=' . $user['user_id'] . '">' . $lang_usermgr_php['latest_upload'] . '</a>)';
-        } else {
-            $usr_link .= '</a>';
-        }
-
-
-        if (!$lim_user) {
-                if ($user['user_id'] == $USER_DATA['user_id']) {
-                    $profile_link = 'profile.php?op=edit_profile';
-                    $checkbox_html = '';
-                } else {
-                    $profile_link = $_SERVER['PHP_SELF'].'?op=edit&user_id='.$user['user_id'];
-                    $checkbox_html = '<input name="u'.$user['user_id'].'" '.$makereadonly.'type="checkbox" value="" class="checkbox" />';
-                }
-                echo <<< EOT
-        <tr>
-                <td class="tableb" align="center">$checkbox_html</td>
-                <td class="tableb">$usr_link</td>
-                <td class="tableb" align="center">
-                    <button type="button" class="button" {$makereadonly}onclick="window.location.href ='$profile_link';">
-                        <img src="images/edit.gif" width="16" height="16" border="0" alt="" title="{$lang_usermgr_php['edit']}" />
-                    </button>
-                </td>
-                <td class="tableb">{$user['group_name']}</td>
-                <td class="tableb">{$user['user_regdate']}</td>
-                <td class="tableb">{$user['user_lastvisit']}</td>
-                <td class="tableb" align="right">{$user['pic_count']}</td>
-                <td class="tableb" align="right">{$user['disk_usage']}&nbsp;{$lang_byte_units[1]}</td>
-                <td class="tableb" align="right">{$user['group_quota']}&nbsp;{$lang_byte_units[1]}</td>
-        </tr>
-
-EOT;
-        } else {
-                  echo <<< EOT
-        <tr>
-                <td class="tableb">$usr_link</td>
-                <td class="tableb">{$user['group_name']}</td>
-                <td class="tableb">{$user['user_regdate']}</td>
-                <td class="tableb">{$user['user_lastvisit']}</td>
-                <td class="tableb" align="right">{$user['pic_count']}</td>
-                <td class="tableb" align="right">{$user['disk_usage']}&nbsp;{$lang_byte_units[1]}</td>
-                <td class="tableb" align="right">{$user['group_quota']}&nbsp;{$lang_byte_units[1]}</td>
-        </tr>
-
-EOT;
-        }
-
-    } // while
-    //mysql_free_result($result);
-
-
-
-    if (!$lim_user) {
-        if (isset($_POST['username'])){
-            $search_string_default = 'value="'.$_POST['username'].'"';
-        } else {
-            $search_string_default = 'value="'.$lang_usermgr_php['search'].'" onfocus="this.value=\'\'"';
-        }
-            $help = cpg_display_help('f=index.htm&as=user_cp_search&ae=user_cp_search_end&top=1', '400', '150');
-        echo <<<EOT
-        <tr>
-                <td class="tablef" align="center"><input type="checkbox" name="checkAll2" {$makereadonly}onClick="selectAll(this,'u');" class="checkbox" title="$lang_check_uncheck_all" /></td>
-                <td colspan="$number_of_columns_minus_one"  class="tablef">
-                <table cellpadding="0" cellspacing="0" width="100%" border="0">
-                <tr>
-                        <td align="left">
-                            <select name="action" size="1" class="listbox" {$makereadonly}onchange="return selectaction(this,'u');">
-                                <option value="" checked="checked">{$lang_usermgr_php['with_selected']}</option>
-                                <option value="delete">{$lang_usermgr_php['delete']}</option>
-                                <option value="activate">{$lang_usermgr_php['activate']}</option>
-                                <option value="deactivate">{$lang_usermgr_php['deactivate']}</option>
-                                <option value="reset_password">{$lang_usermgr_php['reset_password']}</option>
-                                <option value="change_group">{$lang_usermgr_php['change_primary_membergroup']}</option>
-                                <option value="add_group">{$lang_usermgr_php['add_secondary_membergroup']}</option>
-                            </select>
-                            <input type="hidden" name="what" value="user"/>
-                              <input type="text" name="new_password" value="{$lang_usermgr_php['password']}" size="8" maxlength="25" class="textinput" onfocus="this.value='';" style="display:none" />
-                              <select name="group" size="1" class="listbox" style="display:none" onchange="return selectaction(this,'u');">
-                                  <option value="">{$lang_usermgr_php['select_group']}</option>
-
-EOT;
-        $sql = "SELECT group_id, group_name FROM {$CONFIG['TABLE_USERGROUPS']} ORDER BY group_name";
-        $result = cpg_db_query($sql);
-        $group_list = cpg_db_fetch_rowset($result);
-        mysql_free_result($result);
-
-        if (isset($element[1])) {
-            $sel_group = $user_data[$element[1]];
-        } else {
-            $sel_group = '';
-        }
-        $user_group_list = ($user_data['user_group_list'] == '') ? ',' . $sel_group . ',' : ',' . $user_data['user_group_list'] . ',' . $sel_group . ',';
-
-
-        foreach($group_list as $group) {
-            print '                                  <option value="' . $group['group_id'] . '"' . ($group['group_id'] == $sel_group ? ' selected' : '') . '>' . $group['group_name'] . "</option>\n";
-        }
-
-    echo <<<EOT
-                              </select>
-                            <select name="delete_files" size="1" class="listbox" style="display:none">
-                                <option value="no">{$lang_usermgr_php['delete_files_no']}</option>
-                                <option value="yes">{$lang_usermgr_php['delete_files_yes']}</option>
-                            </select>
-                            <select name="delete_comments" size="1" class="listbox" style="display:none">
-                                <option value="no">{$lang_usermgr_php['delete_comments_no']}</option>
-                                <option value="yes">{$lang_usermgr_php['delete_comments_yes']}</option>
-                            </select>
-                            <input type="submit" name="go" value="{$lang_usermgr_php['submit']}" class="button" style="display:none" />
-                        </td>
-                        <td align="center">
-                        <a href="{$_SERVER['PHP_SELF']}?op=new_user" {$makereadonly}class="admin_menu">{$lang_usermgr_php['create_new_user']}</a>
-                        </td>
-                        </form>
-                </tr>
-                </table>
-                </td>
-        </tr>
-        <tr>
-            <td colspan="$number_of_columns"  class="tablef" align="center" valign="middle">
-                <form method="post" action="{$_SERVER['PHP_SELF']}" name="searchUser">
-                <input type="text" name="username" class="textinput" $search_string_default />
-                <input type="submit" name="user_search" value="{$lang_usermgr_php['search_submit']}" class="button" />
-                $help
-                </form>
-            </td>
-        </tr>
-EOT;
-    }
-
-  // Accept footer addons for the user manager
-  echo CPGPluginAPI::filter('usermgr_footer','');
-
-    echo <<<EOT
-        <tr>
-                <td colspan="$number_of_columns" style="padding: 0px;">
-                        <table width="100%" cellspacing="0" cellpadding="0">
-                                <tr>
-                                        $tabs
-                                </tr>
-                        </table>
-                </td>
-        </tr>
-
-EOT;
-
-
-    endtable();
-}
-
-function edit_user($user_id)
-{
-    global $CONFIG; //, $PHP_SELF;
-    global $lang_usermgr_php, $lang_yes, $lang_no;
-
-    $form_data = array(
-        array('input', 'user_name', $lang_usermgr_php['name'], 25),
-        array('password', 'user_password', $lang_usermgr_php['password'], 25),
-        array('yesno', 'user_active', $lang_usermgr_php['user_active']),
-        array('group_list', 'user_group', $lang_usermgr_php['user_group']),
-        array('input', 'user_email', $lang_usermgr_php['user_email'], 255),
-        array('input', 'user_profile1', $CONFIG['user_profile1_name'], 255),
-        array('input', 'user_profile2', $CONFIG['user_profile2_name'], 255),
-        array('input', 'user_profile3', $CONFIG['user_profile3_name'], 255),
-        array('input', 'user_profile4', $CONFIG['user_profile4_name'], 255),
-        array('input', 'user_profile5', $CONFIG['user_profile5_name'], 255),
-        array('textarea', 'user_profile6', $CONFIG['user_profile6_name'], 255)
-        );
-
-    $sql = "SELECT * FROM {$CONFIG['TABLE_USERS']} WHERE user_id = '$user_id'";
-    $result = cpg_db_query($sql);
-    if (!mysql_num_rows($result)) cpg_die(CRITICAL_ERROR, $lang_usermgr_php['err_unknown_user'], __FILE__, __LINE__);
-    $user_data = mysql_fetch_array($result);
-    mysql_free_result($result);
-
-    starttable(500, $lang_usermgr_php['modify_user'], 2);
-    echo <<<EOT
-        <form method="post" action="{$_SERVER['PHP_SELF']}?op=update&user_id=$user_id">
-
-EOT;
-
-    foreach ($form_data as $element) switch ($element[0]) {
-        case 'input' :
-            $user_data[$element[1]] = $user_data[$element[1]];
-            if ($element[2]) echo <<<EOT
-        <tr>
-            <td width="40%" class="tableb">
-                        {$element[2]}
-        </td>
-        <td width="60%" class="tableb" valign="top">
-                <input type="text" style="width: 100%" name="{$element[1]}" maxlength="{$element[3]}" value="{$user_data[$element[1]]}" class="textinput" />
-                </td>
-        </tr>
-
-
-EOT;
-            break;
-
-        case 'textarea' :
-
-           $value = $user_data[$element[1]];
-
-           if ($element[2]) echo <<<EOT
-        <tr>
-            <td width="40%" class="tableb"  height="25">
-                        {$element[2]}
-        </td>
-        <td width="60%" class="tableb" valign="top">
-                <textarea name="{$element[1]}" rows="7" class="textinput" style="width: 100%">$value</textarea>
-                </td>
-        </tr>
-
-
-EOT;
-            break;
-
-        case 'password' :
-            echo <<<EOT
-        <tr>
-            <td width="40%" class="tableb">
-                        {$element[2]}
-        </td>
-        <td width="60%" class="tableb" valign="top">
-                <input type="input" style="width: 100%" name="{$element[1]}" maxlength="{$element[3]}" value="" class="textinput" />
-                </td>
-        </tr>
-
-EOT;
-            break;
-
-        case 'yesno' :
-            $value = $user_data[$element[1]];
-            $yes_selected = ($value == 'YES') ? 'checked="checked"' : '';
-            $no_selected = ($value == 'NO') ? 'checked="checked"' : '';
-            //$yes_selected = ($value == 'YES') ? 'selected' : '';
-            //$no_selected = ($value == 'NO') ? 'selected' : '';
-            echo <<< EOT
-        <tr>
-            <td class="tableb">
-                        {$element[2]}
-        </td>
-                <td class="tableb">
-                    <input type="radio" id="yes" name="{$element[1]}" value="YES" $yes_selected /><label for="yes" class="clickable_option">$lang_yes</label>
-                    &nbsp;&nbsp;
-                    <input type="radio" id="no" name="{$element[1]}" value="NO" $no_selected /><label for="no" class="clickable_option">$lang_no</label>
-                </td>
-        </tr>
-
-EOT;
-            break;
-
-        case 'group_list' :
-            $sql = "SELECT group_id, group_name FROM {$CONFIG['TABLE_USERGROUPS']} ORDER BY group_name";
-            $result = cpg_db_query($sql);
-            $group_list = cpg_db_fetch_rowset($result);
-            mysql_free_result($result);
-
-            $sel_group = $user_data[$element[1]];
-            $user_group_list = ($user_data['user_group_list'] == '') ? ',' . $sel_group . ',' : ',' . $user_data['user_group_list'] . ',' . $sel_group . ',';
-
-            echo <<<EOT
-        <tr>
-            <td class="tableb">
-                        {$element[2]}
-        </td>
-        <td class="tableb" valign="top">
-                <select name="{$element[1]}" class="listbox">
-
-EOT;
-            $group_cb = '';
-            foreach($group_list as $group) {
-                echo '                        <option value="' . $group['group_id'] . '"' . ($group['group_id'] == $sel_group ? ' selected' : '') . '>' . $group['group_name'] . "</option>\n";
-
-                /**
-                 * If the group is registered, don't show it here as all the users must be a member of this group
-                 * Also there is no point in displaying the 'Banned' group as checking banned here does not ban the user.
-                 * Also remove Administrators group from secondary list as it won't give a user admin access.
-                 */
-                if ($group['group_id'] != 1 && $group['group_id'] != 2 && $group['group_id'] != 4) {
-                  $checked = strpos(' ' . $user_group_list, ',' . $group['group_id'] . ',') ? 'checked' : '';
-                  $group_cb .= '<input name="group_list[]" type="checkbox" value="' . $group['group_id'] . '" ' . $checked . ' />' . $group['group_name'] . "<br />\n";
-                }
-            }
-            echo <<<EOT
-                        </select><br />
-                        $group_cb
-                        <br />
-                        <a href="usermgr.php?op=groups_alb_access" class="admin_menu">{$lang_usermgr_php['groups_alb_access']}</a>
-
-          </td>
-        </tr>
-
-EOT;
-            break;
-
-        default:
-            cpg_die(CRITICAL_ERROR, 'Invalid action for form creation ' . $element[0], __FILE__, __LINE__);
-    }
-
-    echo <<<EOT
-        <tr>
-                <td colspan="2" class="tableh2">
-                        <b>{$lang_usermgr_php['notes']}</b>
-                </td>
-        </tr>
-        <tr>
-                <td colspan="2" class="tableb">
-                        <ul>
-                        {$lang_usermgr_php['note_list']}
-                        </ul>
-                </td>
-        </tr>
-        <tr>
-                <td colspan="2" align="center" class="tablef">
-                        <input type="submit" value="{$lang_usermgr_php['modify_user']}" class="button" />
-                </td>
-                </form>
-        </tr>
-
-EOT;
-
-    endtable();
-}
-
-function update_user($user_id)
-{
-    global $CONFIG; //, $PHP_SELF;
-    global $lang_usermgr_php, $lang_register_php;
-
-    $user_name = addslashes(trim($_POST['user_name']));
-    $user_password = addslashes(trim($_POST['user_password']));
-    $user_email = addslashes(trim($_POST['user_email']));
-    $profile1 = addslashes($_POST['user_profile1']);
-    $profile2 = addslashes($_POST['user_profile2']);
-    $profile3 = addslashes($_POST['user_profile3']);
-    $profile4 = addslashes($_POST['user_profile4']);
-    $profile5 = addslashes($_POST['user_profile5']);
-    $profile6 = addslashes($_POST['user_profile6']);
-    $user_active = $_POST['user_active'];
-    $user_group = $_POST['user_group'];
-    $group_list = isset($_POST['group_list']) ? $_POST['group_list'] : '';
-
-    $sql = "SELECT user_id " . "FROM {$CONFIG['TABLE_USERS']} " . "WHERE user_name = '" . addslashes($user_name) . "' AND user_id != $user_id";
-    $result = cpg_db_query($sql);
-
-    if (mysql_num_rows($result)) {
-        cpg_die(ERROR, $lang_register_php['err_user_exists'], __FILE__, __LINE__);
-        return false;
-    }
-    mysql_free_result($result);
-
-    if (utf_strlen($user_name) < 2) cpg_die(ERROR, $lang_register_php['err_uname_short'], __FILE__, __LINE__);
-        if ($user_password && utf_strlen($user_password) < 2) cpg_die(ERROR, $lang_register_php['err_password_short'], __FILE__, __LINE__);
-
-    if (is_array($group_list)) {
-        $user_group_list = '';
-        foreach($group_list as $group) $user_group_list .= ($group != $user_group) ? $group . ',' : '';
-        $user_group_list = substr($user_group_list, 0, -1);
-    } else {
-        $user_group_list = '';
-    }
-
-    $sql_update = "UPDATE {$CONFIG['TABLE_USERS']} SET " .
-                  "user_name = '$user_name', " .
-          "user_email = '$user_email', " .
-          "user_active = '$user_active', " .
-          "user_group = '$user_group', " .
-          "user_profile1 = '$profile1', " .
-          "user_profile2 = '$profile2', " .
-          "user_profile3 = '$profile3', " .
-          "user_profile4 = '$profile4', " .
-          "user_profile5 = '$profile5', " .
-          "user_profile6 = '$profile6', " .
-          "user_group_list = '$user_group_list'";
-
-    if (!empty($user_password)) $sql_update .= ", user_password = '".(($CONFIG['enable_encrypted_passwords'])?md5($user_password):$user_password)."'";
-    $sql_update .= " WHERE user_id = '$user_id'";
-
-    cpg_db_query($sql_update);
-    
-    // Update pictures' owner name
-    cpg_db_query("UPDATE {$CONFIG['TABLE_PICTURES']} SET owner_name = '$user_name' WHERE owner_id = $user_id");
-
-    // Update comments' author name
-    cpg_db_query("UPDATE {$CONFIG['TABLE_COMMENTS']} SET msg_author = '$user_name' WHERE author_id = $user_id");    
-}
-
-$op = (GALLERY_ADMIN_MODE && isset($_GET['op'])) ? $_GET['op'] : '';
-
-switch ($op) {
-    case 'edit' :
-        $user_id = isset($_GET['user_id']) ? (int)$_GET['user_id'] : -1;
-
-        if (USER_ID == $user_id) cpg_die(ERROR, $lang_usermgr_php['err_edit_self'], __FILE__, __LINE__);
-    $cpg_udb->edit_users($user_id);
-
-        pageheader($lang_usermgr_php['title']);
-        edit_user($user_id);
-        pagefooter();
-        ob_end_flush();
-        break;
-
-    case 'update' :
-        $user_id = isset($_GET['user_id']) ? (int)$_GET['user_id'] : -1;
-    $cpg_udb->edit_users($user_id);
-
-        update_user($user_id);
-
-        cpg_db_query("DELETE FROM {$CONFIG['TABLE_USERS']} WHERE user_name = '' LIMIT 1");
-
-        pageheader($lang_usermgr_php['title']);
-        list_users();
-        pagefooter();
-        ob_end_flush();
-        break;
-
-    case 'new_user' :
-        $cpg_udb->edit_users();
-        cpg_db_query("INSERT INTO {$CONFIG['TABLE_USERS']}(user_regdate, user_active, user_profile6) VALUES (NOW(), 'YES', '')");
-
-        $user_id = mysql_insert_id();
-
-        pageheader($lang_usermgr_php['title']);
-        edit_user($user_id);
-        pagefooter();
-        ob_end_flush();
-        break;
-
-    case 'groups_alb_access' : //show what albums user groups can see
-        pageheader($lang_usermgr_php['groups_alb_access']);
-        list_groups_alb_access();
-        pagefooter();
-        ob_end_flush();
-        break;
-
-    case 'group_alb_access' : //show what albums specific group can see
-        if (isset($_GET['gid'])) {
-          $group_id = $_GET['gid'];
-        }
-        $sql = "
-          SELECT group_name
-          FROM {$CONFIG['TABLE_USERGROUPS']} AS groups, {$CONFIG['TABLE_ALBUMS']} AS albums
-          WHERE group_id = $group_id AND albums.visibility = groups.group_id
-        ";
-        $result = cpg_db_query($sql);
-        $group = mysql_fetch_array($result);
-
-        if (!mysql_num_rows($result)) {
-          pageheader($lang_usermgr_php['group_no_access']);
-          msg_box($lang_usermgr_php['notice'], $lang_usermgr_php['group_no_access']);
-        } else {
-            mysql_free_result($result);
-            $group_name = $group['group_name'];
-            pageheader(sprintf($lang_usermgr_php['group_can_access'], $group_name));
-            starttable(500, sprintf($lang_usermgr_php['group_can_access'], $group_name), 3);
-            echo "
-            <td><b>{$lang_usermgr_php['category']}</b></td>
-            <td><b>{$lang_usermgr_php['album']}</b></td>
-            <td><b>{$lang_usermgr_php['modify']}</b></td>
-            ";
-
-            list_group_alb_access($group_id);
-            endtable();
-        }
-        pagefooter();
-        ob_end_flush();
-        break;
-
-    default :
-        cpg_db_query("DELETE FROM {$CONFIG['TABLE_USERS']} WHERE user_name = '' LIMIT 1");
-
-        pageheader($lang_usermgr_php['title']);
-        if (isset($_POST['username'])){
-                $name = addslashes($_POST['username']);
-                $wildcards = array("*" => "%", "?" => "_");
-                $search = strtr($name, $wildcards);
-        }
-        if (isset($search) == false) {$search = '';}
-        list_users($search);
-        pagefooter();
-        ob_end_flush();
-        break;
-}
-
-?>
+<?php
+/*************************
+  Coppermine Photo Gallery
+  ************************
+  Copyright (c) 2003-2009 Coppermine Dev Team
+  v1.1 originally written by Gregory DEMAR
+
+  This program is free software; you can redistribute it and/or modify
+  it under the terms of the GNU General Public License version 3
+  as published by the Free Software Foundation.
+  
+  ********************************************
+  Coppermine version: 1.4.25
+  $HeadURL: https://coppermine.svn.sourceforge.net/svnroot/coppermine/trunk/cpg1.4.x/usermgr.php $
+  $Revision: 5997 $
+  $Author: gaugau $
+  $Date: 2009-05-26 08:43:24 +0200 (Di, 26 Mai 2009) $
+**********************************************/
+
+define('IN_COPPERMINE', true);
+define('USERMGR_PHP', true);
+define('PROFILE_PHP', true);
+
+require('include/init.inc.php');
+
+$cpg_udb->view_users();
+
+if (USER_ID !='') {
+ if (GALLERY_ADMIN_MODE) {
+  $lim_user = 0;
+  $number_of_columns = 9;
+ }
+ elseif ($CONFIG['allow_memberlist']) {
+  $lim_user = 1;
+  $number_of_columns = 7;
+  show_memberlist;
+ }
+ else {
+  $lim_user = 2;
+  cpg_die(ERROR, $lang_errors['access_denied'], __FILE__, __LINE__);
+ }
+}
+else {
+ $lim_user = 3;
+ cpg_die(ERROR, $lang_errors['access_denied'], __FILE__, __LINE__);
+}
+
+function show_memberlist()
+{
+        cpg_db_query("DELETE FROM {$CONFIG['TABLE_USERS']} WHERE user_name = '' LIMIT 1");
+        pageheader($lang_usermgr_php['title']);
+        list_users();
+        pagefooter();
+        ob_end_flush();
+}
+
+function list_group_alb_access($group_id) {  //shows a list of albums a specific group can see. Categories are listed with albums for clarity
+    global $CONFIG, $group_id, $aid;
+
+    $query = "
+      SELECT
+        group_id, albums.aid AS aid, group_name, categories.name AS category, albums.title AS album
+      FROM
+        {$CONFIG['TABLE_USERGROUPS']} AS groups,
+        {$CONFIG['TABLE_ALBUMS']} AS albums
+      LEFT JOIN
+        {$CONFIG['TABLE_CATEGORIES']} AS categories
+      ON
+        albums.category = categories.cid
+      WHERE
+        group_id = $group_id AND albums.visibility = groups.group_id
+      ORDER BY
+        category, album";
+    $result = cpg_db_query($query);
+    $albs = cpg_db_fetch_rowset($result);
+    mysql_free_result($result);
+
+    foreach($albs as $album) {
+      $aid = $album['aid'];
+      echo '
+        <tr>
+        <td>' . $album['category'] . '</td>
+        <td>' . $album['album'] . '</td>
+        <td>&nbsp;<a href="modifyalb.php?album=' . $album['aid'] . '"><img src="images/edit.gif" border="0" alt="" /></a></td>
+        </tr>
+        ';
+   }
+}
+
+function list_groups_alb_access() //shows a list of albums each group can see. Categories are listed with albums for clarity
+{
+    global $CONFIG;
+    global $lang_usermgr_php, $group_id;
+
+    starttable(500, $lang_usermgr_php['groups_alb_access'], 3);
+
+    $sql = "
+      SELECT
+        group_id, group_name, categories.name AS category, albums.title AS album
+      FROM
+        {$CONFIG['TABLE_USERGROUPS']} AS groups, {$CONFIG['TABLE_ALBUMS']} AS albums
+      LEFT JOIN
+        {$CONFIG['TABLE_CATEGORIES']} AS categories
+      ON
+        albums.category = categories.cid
+      WHERE
+        albums.visibility = groups.group_id
+      GROUP BY
+        group_name
+      ORDER BY
+        group_name, category, album
+    ";
+
+    $result = cpg_db_query($sql);
+    $groups = cpg_db_fetch_rowset($result);
+    mysql_free_result($result);
+
+    echo "
+    <td><b>{$lang_usermgr_php['category']}</b></td>
+    <td><b>{$lang_usermgr_php['album']}</b></td>
+    <td><b>{$lang_usermgr_php['modify']}</b></td>
+    ";
+    foreach($groups as $group) {
+        $group_name = $group['group_name'];
+        $group_id = $group['group_id'];
+        echo '<tr><td colspan="3" class="tableh1_compact">' . $group_name . '</td></tr>';
+        list_group_alb_access($group_id);
+    }
+    endtable();
+}
+
+
+function list_users($search = '')
+{
+    global $CONFIG, $cpg_udb; //, $PHP_SELF;
+    global $lang_usermgr_php, $lang_byte_units, $register_date_fmt,$lang_check_uncheck_all;
+    global $lim_user,$number_of_columns;
+    global $USER_DATA;
+
+    $number_of_columns_minus_one = $number_of_columns - 1;
+
+    $sort_codes = array('name_a' => 'user_name ASC',
+        'name_d' => 'user_name DESC',
+        'group_a' => 'group_name ASC',
+        'group_d' => 'group_name DESC',
+        'reg_a' => 'user_regdate ASC',
+        'reg_d' => 'user_regdate DESC',
+        'pic_a' => 'pic_count ASC',
+        'pic_d' => 'pic_count DESC',
+        'disku_a' => 'disk_usage ASC',
+        'disku_d' => 'disk_usage DESC',
+        'lv_a' => 'user_lastvisit ASC',
+        'lv_d' => 'user_lastvisit DESC',
+        );
+
+    $sort = (!isset($_GET['sort']) || !isset($sort_codes[$_GET['sort']])) ? 'reg_d' : $_GET['sort'];
+
+    $tab_tmpl = array('left_text' => '<td width="100%" align="left" valign="middle" class="tableh1_compact" style="white-space: nowrap"><b>' . $lang_usermgr_php['u_user_on_p_pages'] . '</b></td>' . "\n",
+        'tab_header' => '',
+        'tab_trailer' => '',
+        'active_tab' => '<td><img src="images/spacer.gif" width="1" height="1" border="0" alt="" /></td>' . "\n" . '<td align="center" valign="middle" class="tableb_compact"><b>%d</b></td>',
+        'inactive_tab' => '<td><img src="images/spacer.gif" width="1" height="1" border="0" alt="" /></td>' . "\n" . '<td align="center" valign="middle" class="navmenu"><a href="' . $_SERVER['PHP_SELF'] . '?page=%d&amp;sort=' . $sort . '"<b>%d</b></a></td>' . "\n"
+        );
+
+    $makereadonly = ($CONFIG['bridge_enable']) ? 'style="display:none;" disabled="disabled" ':'';
+
+    $user_count = $cpg_udb->get_user_count();
+
+    if (!$user_count) cpg_die(CRITICAL_ERROR, $lang_usermgr_php['err_no_users'], __FILE__, __LINE__);
+
+    $user_per_page = 25;
+    $page = isset($_GET['page']) ? (int)$_GET['page'] : 1;
+    $lower_limit = ($page-1) * $user_per_page;
+    $total_pages = ceil($user_count / $user_per_page);
+
+
+    /*
+   * Commented out to support bridge files -Omni
+   *
+  $sql = "SELECT user_id, user_name, user_email, UNIX_TIMESTAMP(user_regdate) as user_regdate, UNIX_TIMESTAMP(user_lastvisit) as user_lastvisit, user_active, ".
+           "COUNT(pid) as pic_count, ROUND(SUM(total_filesize)/1024) as disk_usage, group_name, group_quota ".
+           "FROM {$CONFIG['TABLE_USERS']} AS u ".
+           "INNER JOIN {$CONFIG['TABLE_USERGROUPS']} AS g ON user_group = group_id ".
+           "LEFT JOIN {$CONFIG['TABLE_PICTURES']} AS p ON p.owner_id = u.user_id ".
+           $search.
+           "GROUP BY user_id " . "ORDER BY " . $sort_codes[$sort] . " ".
+           "LIMIT $lower_limit, $user_per_page";
+    */
+
+    $users = $cpg_udb->get_users(
+                                  array(
+                                        'users_per_page' => $user_per_page,
+                                        'lower_limit' => $lower_limit,
+                                        'search' => $search,
+                                        'sort' => $sort
+                                       )
+                                  );
+
+
+    /*
+   * Commented out to support bridge files -Omni
+   *
+   */
+    //$result = cpg_db_query($sql);
+
+    $tabs = create_tabs($user_count, $page, $total_pages, $tab_tmpl);
+
+    $lb = "<select name=\"album_listbox\" class=\"listbox\" onChange=\"if(this.options[this.selectedIndex].value) window.location.href='{$_SERVER['PHP_SELF']}?page=$page&amp;sort='+this.options[this.selectedIndex].value;\">\n";
+    foreach($sort_codes as $key => $value) {
+        $selected = ($key == $sort) ? "SELECTED" : "";
+        $lb .= "        <option value=\"" . $key . "\" $selected>" . $lang_usermgr_php[$key] . "</option>\n";
+    }
+    $lb .= "</select>\n";
+
+echo <<<EOT
+<script type="text/javascript" language="javascript">
+<!--
+function selectAll(d,box) {
+  var f = document.editForm;
+  for (i = 0; i < f.length; i++) {
+    //alert (f[i].name.indexOf(box));
+    if (f[i].type == "checkbox" && f[i].name.indexOf(box) >= 0) {
+      if (d.checked) {
+        f[i].checked = true;
+      } else {
+        f[i].checked = false;
+      }
+    }
+  }
+  if (d.name == "checkAll") {
+      document.getElementsByName('checkAll2')[0].checked = document.getElementsByName('checkAll')[0].checked;
+  } else {
+      document.getElementsByName('checkAll')[0].checked = document.getElementsByName('checkAll2')[0].checked;
+  }
+}
+
+function selectaction(d,box) {
+// check if an action has been selected
+  var action = document.editForm.action.value;
+  if (action == '') {
+    return false;
+  }
+// check if at least one user has been selected
+  var checked_counter = 0;
+  var checked_string = '';
+  var f = document.editForm;
+  for (i = 0; i < f.length; i++) {
+    if (f[i].type == "checkbox" && f[i].name.indexOf(box) >= 0) {
+      if (f[i].checked) {
+        checked_counter = checked_counter + 1;
+        if (checked_string == '') {
+          checked_string = f[i].name;
+        } else {
+          checked_string = checked_string + ',' + f[i].name;
+        }
+      }
+    }
+  }
+  if (checked_counter == 0) {
+    document.editForm.action.value = '';
+    alert('{$lang_usermgr_php['alert_no_selection']}');
+    return false;
+  }
+  document.editForm.id.value = checked_string;
+  document.editForm.new_password.style.display = "none";
+  document.editForm.group.style.display = "none";
+  document.editForm.go.style.display = "none";
+  document.editForm.delete_files.style.display = "none";
+  document.editForm.delete_comments.style.display = "none";
+  switch(document.editForm.action.value) {
+    case "delete":
+      document.editForm.delete_files.style.display = "inline";
+      document.editForm.delete_comments.style.display = "inline";
+      document.editForm.go.style.display = "inline";
+    break;
+    case "reset_password":
+      document.editForm.new_password.style.display = "inline";
+      document.editForm.go.style.display = "inline";
+    break;
+    case "change_group":
+      document.editForm.new_password.value = '';
+      document.editForm.group.style.display = "inline";
+      if (document.editForm.group.value != '') {
+      document.editForm.submit();
+      }
+    break;
+    case "add_group":
+      document.editForm.new_password.value = '';
+      document.editForm.group.style.display = "inline";
+      if (document.editForm.group.value != '') {
+      document.editForm.submit();
+      }
+    break;
+    default:
+      document.editForm.new_password.value = '';
+      document.editForm.submit();
+    break;
+  }
+}
+-->
+</script>
+EOT;
+
+    starttable('100%');
+        if (isset($_POST['username'])){
+            $search_filter = '<td class="tableh1" align="center">'.$lang_usermgr_php['search_result'].'&laquo;'.$_POST['username'].'&raquo;</td>';
+        } else {
+            $search_filter = '';
+        }
+        $help = '&nbsp;'.cpg_display_help('f=index.htm&amp;as=user_cp&amp;ae=user_cp_end&amp;top=1', '650', '500');
+    echo <<<EOT
+        <tr>
+            <td colspan="$number_of_columns" class="tableh1">
+                <table border="0" cellspacing="0" cellpadding="0" width="100%">
+                    <tr>
+                        <td class="tableh1">
+EOT;
+if (!$lim_user) {
+    echo '<h2>'.$lang_usermgr_php['user_manager'].$help.'</h2>';
+} else {
+    echo '<h2>'.$lang_usermgr_php['memberlist'].'</h2>';
+}
+echo <<<EOT
+                        </td>
+                        $search_filter
+                        <td class="tableh1" align="right"><b>{$lang_usermgr_php['sort_by']}</b>:
+                        $lb</td>
+                    </tr>
+                </table>
+            </td>
+        </tr>
+EOT;
+
+  // Accept header addons
+  echo CPGPluginAPI::filter('usermgr_header','');
+
+    print '<form method="get" action="delete.php" name="editForm">'."\n";
+    print '<input type="hidden" name="id" value="" />';
+    if (!$lim_user) {
+     echo <<< EOT
+
+        <tr>
+                <td class="tableh1" align="center"><input type="checkbox" {$makereadonly}name="checkAll" onClick="selectAll(this,'u');" class="checkbox" title="$lang_check_uncheck_all" /></td>
+                <td class="tableh1" colspan="2"><b><span class="statlink">{$lang_usermgr_php['name']}</span></b>
+                <a href="{$_SERVER['PHP_SELF']}?page=$page&amp;sort=name_a"><img src="images/ascending.gif" width="9" height="9" border="0" alt="" title="{$lang_usermgr_php['name_a']}" /></a>
+                <a href="{$_SERVER['PHP_SELF']}?page=$page&amp;sort=name_d"><img src="images/descending.gif" width="9" height="9" border="0" alt="" title="{$lang_usermgr_php['name_d']}" /></a>
+                </td>
+                <td class="tableh1"><b><a href="groupmgr.php" class="statlink">{$lang_usermgr_php['group']}</a></b>
+                <a href="{$_SERVER['PHP_SELF']}?page=$page&amp;sort=group_a"><img src="images/ascending.gif" width="9" height="9" border="0" alt="" title="{$lang_usermgr_php['group_a']}" /></a>
+                <a href="{$_SERVER['PHP_SELF']}?page=$page&amp;sort=group_d"><img src="images/descending.gif" width="9" height="9" border="0" alt="" title="{$lang_usermgr_php['group_d']}" /></a>
+                </td>
+                <td class="tableh1"><b><span class="statlink">{$lang_usermgr_php['registered_on']}</span></b>
+                <a href="{$_SERVER['PHP_SELF']}?page=$page&amp;sort=reg_a"><img src="images/ascending.gif" width="9" height="9" border="0" alt="" title="{$lang_usermgr_php['reg_a']}" /></a>
+                <a href="{$_SERVER['PHP_SELF']}?page=$page&amp;sort=reg_d"><img src="images/descending.gif" width="9" height="9" border="0" alt="" title="{$lang_usermgr_php['reg_d']}" /></a>
+                </td>
+                <td class="tableh1"><b><span class="statlink">{$lang_usermgr_php['last_visit']}</span></b>
+                <a href="{$_SERVER['PHP_SELF']}?page=$page&amp;sort=lv_a"><img src="images/ascending.gif" width="9" height="9" border="0" alt="" title="{$lang_usermgr_php['lv_a']}" /></a>
+                <a href="{$_SERVER['PHP_SELF']}?page=$page&amp;sort=lv_d"><img src="images/descending.gif" width="9" height="9" border="0" alt="" title="{$lang_usermgr_php['lv_d']}" /></a>
+                </td>
+                <td class="tableh1" align="center"><b><span class="statlink">{$lang_usermgr_php['pictures']}</span></b>
+                <a href="{$_SERVER['PHP_SELF']}?page=$page&amp;sort=pic_a"><img src="images/ascending.gif" width="9" height="9" border="0" alt="" title="{$lang_usermgr_php['pic_a']}" /></a>
+                <a href="{$_SERVER['PHP_SELF']}?page=$page&amp;sort=pic_d"><img src="images/descending.gif" width="9" height="9" border="0" alt="" title="{$lang_usermgr_php['pic_d']}" /></a>
+                </td>
+                <td class="tableh1" align="center"><b><span class="statlink">{$lang_usermgr_php['disk_space_used']}</span></b>
+                <a href="{$_SERVER['PHP_SELF']}?page=$page&amp;sort=disku_a"><img src="images/ascending.gif" width="9" height="9" border="0" alt="" title="{$lang_usermgr_php['disku_a']}" /></a>
+                <a href="{$_SERVER['PHP_SELF']}?page=$page&amp;sort=disku_d"><img src="images/descending.gif" width="9" height="9" border="0" alt="" title="{$lang_usermgr_php['disku_d']}" /></a>
+                </td>
+                <td class="tableh1" align="center"><b><span class="statlink">{$lang_usermgr_php['disk_space_quota']}</span></b>
+                </td>
+        </tr>
+EOT;
+    }
+    else {
+     echo <<< EOT
+
+        <tr>
+                <td class="tableh1"><b><span class="statlink">{$lang_usermgr_php['name']}</span></b></td>
+                <td class="tableh1"><b><span class="statlink">{$lang_usermgr_php['group']}</span></b></td>
+                <td class="tableh1"><b><span class="statlink">{$lang_usermgr_php['registered_on']}</span></b></td>
+                <td class="tableh1"><b><span class="statlink">{$lang_usermgr_php['last_visit']}</span></b></td>
+                <td class="tableh1" align="center"><b><span class="statlink">{$lang_usermgr_php['pictures']}</span></b></td>
+                <td class="tableh1" align="center"><b><span class="statlink">{$lang_usermgr_php['disk_space_used']}</span></b></td>
+                <td class="tableh1" align="center"><b><span class="statlink">{$lang_usermgr_php['disk_space_quota']}</span></b></td>
+        </tr>
+EOT;
+    }
+
+
+    foreach ($users as $user) {
+        if ($user['disk_usage'] == '') {
+            $user['disk_usage'] = 0;
+        }
+        if ($user['user_active'] == 'NO') {
+            $user['group_name'] = '<i>' . $lang_usermgr_php['inactive'] . '</i>';
+        }
+        $user['user_regdate'] = localised_date($user['user_regdate'], $register_date_fmt);
+        if ($user['user_lastvisit']) {
+            $user['user_lastvisit'] = localised_date($user['user_lastvisit'], $register_date_fmt);
+        }
+        else {
+            $user['user_lastvisit'] = $lang_usermgr_php['never'];
+        }
+
+        $usr_link = '<a href="profile.php?uid=' . $user['user_id'] . '">' . $user['user_name'];
+        if ($user['pic_count']) {
+            $usr_link .= '</a> (<a href="thumbnails.php?album=lastupby&uid=' . $user['user_id'] . '">' . $lang_usermgr_php['latest_upload'] . '</a>)';
+        } else {
+            $usr_link .= '</a>';
+        }
+
+
+        if (!$lim_user) {
+                if ($user['user_id'] == $USER_DATA['user_id']) {
+                    $profile_link = 'profile.php?op=edit_profile';
+                    $checkbox_html = '';
+                } else {
+                    $profile_link = $_SERVER['PHP_SELF'].'?op=edit&user_id='.$user['user_id'];
+                    $checkbox_html = '<input name="u'.$user['user_id'].'" '.$makereadonly.'type="checkbox" value="" class="checkbox" />';
+                }
+                echo <<< EOT
+        <tr>
+                <td class="tableb" align="center">$checkbox_html</td>
+                <td class="tableb">$usr_link</td>
+                <td class="tableb" align="center">
+                    <button type="button" class="button" {$makereadonly}onclick="window.location.href ='$profile_link';">
+                        <img src="images/edit.gif" width="16" height="16" border="0" alt="" title="{$lang_usermgr_php['edit']}" />
+                    </button>
+                </td>
+                <td class="tableb">{$user['group_name']}</td>
+                <td class="tableb">{$user['user_regdate']}</td>
+                <td class="tableb">{$user['user_lastvisit']}</td>
+                <td class="tableb" align="right">{$user['pic_count']}</td>
+                <td class="tableb" align="right">{$user['disk_usage']}&nbsp;{$lang_byte_units[1]}</td>
+                <td class="tableb" align="right">{$user['group_quota']}&nbsp;{$lang_byte_units[1]}</td>
+        </tr>
+
+EOT;
+        } else {
+                  echo <<< EOT
+        <tr>
+                <td class="tableb">$usr_link</td>
+                <td class="tableb">{$user['group_name']}</td>
+                <td class="tableb">{$user['user_regdate']}</td>
+                <td class="tableb">{$user['user_lastvisit']}</td>
+                <td class="tableb" align="right">{$user['pic_count']}</td>
+                <td class="tableb" align="right">{$user['disk_usage']}&nbsp;{$lang_byte_units[1]}</td>
+                <td class="tableb" align="right">{$user['group_quota']}&nbsp;{$lang_byte_units[1]}</td>
+        </tr>
+
+EOT;
+        }
+
+    } // while
+    //mysql_free_result($result);
+
+
+
+    if (!$lim_user) {
+        if (isset($_POST['username'])){
+            $search_string_default = 'value="'.$_POST['username'].'"';
+        } else {
+            $search_string_default = 'value="'.$lang_usermgr_php['search'].'" onfocus="this.value=\'\'"';
+        }
+            $help = cpg_display_help('f=index.htm&as=user_cp_search&ae=user_cp_search_end&top=1', '400', '150');
+        echo <<<EOT
+        <tr>
+                <td class="tablef" align="center"><input type="checkbox" name="checkAll2" {$makereadonly}onClick="selectAll(this,'u');" class="checkbox" title="$lang_check_uncheck_all" /></td>
+                <td colspan="$number_of_columns_minus_one"  class="tablef">
+                <table cellpadding="0" cellspacing="0" width="100%" border="0">
+                <tr>
+                        <td align="left">
+                            <select name="action" size="1" class="listbox" {$makereadonly}onchange="return selectaction(this,'u');">
+                                <option value="" checked="checked">{$lang_usermgr_php['with_selected']}</option>
+                                <option value="delete">{$lang_usermgr_php['delete']}</option>
+                                <option value="activate">{$lang_usermgr_php['activate']}</option>
+                                <option value="deactivate">{$lang_usermgr_php['deactivate']}</option>
+                                <option value="reset_password">{$lang_usermgr_php['reset_password']}</option>
+                                <option value="change_group">{$lang_usermgr_php['change_primary_membergroup']}</option>
+                                <option value="add_group">{$lang_usermgr_php['add_secondary_membergroup']}</option>
+                            </select>
+                            <input type="hidden" name="what" value="user"/>
+                              <input type="text" name="new_password" value="{$lang_usermgr_php['password']}" size="8" maxlength="25" class="textinput" onfocus="this.value='';" style="display:none" />
+                              <select name="group" size="1" class="listbox" style="display:none" onchange="return selectaction(this,'u');">
+                                  <option value="">{$lang_usermgr_php['select_group']}</option>
+
+EOT;
+        $sql = "SELECT group_id, group_name FROM {$CONFIG['TABLE_USERGROUPS']} ORDER BY group_name";
+        $result = cpg_db_query($sql);
+        $group_list = cpg_db_fetch_rowset($result);
+        mysql_free_result($result);
+
+        if (isset($element[1])) {
+            $sel_group = $user_data[$element[1]];
+        } else {
+            $sel_group = '';
+        }
+        $user_group_list = ($user_data['user_group_list'] == '') ? ',' . $sel_group . ',' : ',' . $user_data['user_group_list'] . ',' . $sel_group . ',';
+
+
+        foreach($group_list as $group) {
+            print '                                  <option value="' . $group['group_id'] . '"' . ($group['group_id'] == $sel_group ? ' selected' : '') . '>' . $group['group_name'] . "</option>\n";
+        }
+
+    echo <<<EOT
+                              </select>
+                            <select name="delete_files" size="1" class="listbox" style="display:none">
+                                <option value="no">{$lang_usermgr_php['delete_files_no']}</option>
+                                <option value="yes">{$lang_usermgr_php['delete_files_yes']}</option>
+                            </select>
+                            <select name="delete_comments" size="1" class="listbox" style="display:none">
+                                <option value="no">{$lang_usermgr_php['delete_comments_no']}</option>
+                                <option value="yes">{$lang_usermgr_php['delete_comments_yes']}</option>
+                            </select>
+                            <input type="submit" name="go" value="{$lang_usermgr_php['submit']}" class="button" style="display:none" />
+                        </td>
+                        <td align="center">
+                        <a href="{$_SERVER['PHP_SELF']}?op=new_user" {$makereadonly}class="admin_menu">{$lang_usermgr_php['create_new_user']}</a>
+                        </td>
+                        </form>
+                </tr>
+                </table>
+                </td>
+        </tr>
+        <tr>
+            <td colspan="$number_of_columns"  class="tablef" align="center" valign="middle">
+                <form method="post" action="{$_SERVER['PHP_SELF']}" name="searchUser">
+                <input type="text" name="username" class="textinput" $search_string_default />
+                <input type="submit" name="user_search" value="{$lang_usermgr_php['search_submit']}" class="button" />
+                $help
+                </form>
+            </td>
+        </tr>
+EOT;
+    }
+
+  // Accept footer addons for the user manager
+  echo CPGPluginAPI::filter('usermgr_footer','');
+
+    echo <<<EOT
+        <tr>
+                <td colspan="$number_of_columns" style="padding: 0px;">
+                        <table width="100%" cellspacing="0" cellpadding="0">
+                                <tr>
+                                        $tabs
+                                </tr>
+                        </table>
+                </td>
+        </tr>
+
+EOT;
+
+
+    endtable();
+}
+
+function edit_user($user_id)
+{
+    global $CONFIG; //, $PHP_SELF;
+    global $lang_usermgr_php, $lang_yes, $lang_no;
+
+    $form_data = array(
+        array('input', 'user_name', $lang_usermgr_php['name'], 25),
+        array('password', 'user_password', $lang_usermgr_php['password'], 25),
+        array('yesno', 'user_active', $lang_usermgr_php['user_active']),
+        array('group_list', 'user_group', $lang_usermgr_php['user_group']),
+        array('input', 'user_email', $lang_usermgr_php['user_email'], 255),
+        array('input', 'user_profile1', $CONFIG['user_profile1_name'], 255),
+        array('input', 'user_profile2', $CONFIG['user_profile2_name'], 255),
+        array('input', 'user_profile3', $CONFIG['user_profile3_name'], 255),
+        array('input', 'user_profile4', $CONFIG['user_profile4_name'], 255),
+        array('input', 'user_profile5', $CONFIG['user_profile5_name'], 255),
+        array('textarea', 'user_profile6', $CONFIG['user_profile6_name'], 255)
+        );
+
+    $sql = "SELECT * FROM {$CONFIG['TABLE_USERS']} WHERE user_id = '$user_id'";
+    $result = cpg_db_query($sql);
+    if (!mysql_num_rows($result)) cpg_die(CRITICAL_ERROR, $lang_usermgr_php['err_unknown_user'], __FILE__, __LINE__);
+    $user_data = mysql_fetch_array($result);
+    mysql_free_result($result);
+
+    starttable(500, $lang_usermgr_php['modify_user'], 2);
+    echo <<<EOT
+        <form method="post" action="{$_SERVER['PHP_SELF']}?op=update&user_id=$user_id">
+
+EOT;
+
+    foreach ($form_data as $element) switch ($element[0]) {
+        case 'input' :
+            $user_data[$element[1]] = $user_data[$element[1]];
+            if ($element[2]) echo <<<EOT
+        <tr>
+            <td width="40%" class="tableb">
+                        {$element[2]}
+        </td>
+        <td width="60%" class="tableb" valign="top">
+                <input type="text" style="width: 100%" name="{$element[1]}" maxlength="{$element[3]}" value="{$user_data[$element[1]]}" class="textinput" />
+                </td>
+        </tr>
+
+
+EOT;
+            break;
+
+        case 'textarea' :
+
+           $value = $user_data[$element[1]];
+
+           if ($element[2]) echo <<<EOT
+        <tr>
+            <td width="40%" class="tableb"  height="25">
+                        {$element[2]}
+        </td>
+        <td width="60%" class="tableb" valign="top">
+                <textarea name="{$element[1]}" rows="7" class="textinput" style="width: 100%">$value</textarea>
+                </td>
+        </tr>
+
+
+EOT;
+            break;
+
+        case 'password' :
+            echo <<<EOT
+        <tr>
+            <td width="40%" class="tableb">
+                        {$element[2]}
+        </td>
+        <td width="60%" class="tableb" valign="top">
+                <input type="input" style="width: 100%" name="{$element[1]}" maxlength="{$element[3]}" value="" class="textinput" />
+                </td>
+        </tr>
+
+EOT;
+            break;
+
+        case 'yesno' :
+            $value = $user_data[$element[1]];
+            $yes_selected = ($value == 'YES') ? 'checked="checked"' : '';
+            $no_selected = ($value == 'NO') ? 'checked="checked"' : '';
+            //$yes_selected = ($value == 'YES') ? 'selected' : '';
+            //$no_selected = ($value == 'NO') ? 'selected' : '';
+            echo <<< EOT
+        <tr>
+            <td class="tableb">
+                        {$element[2]}
+        </td>
+                <td class="tableb">
+                    <input type="radio" id="yes" name="{$element[1]}" value="YES" $yes_selected /><label for="yes" class="clickable_option">$lang_yes</label>
+                    &nbsp;&nbsp;
+                    <input type="radio" id="no" name="{$element[1]}" value="NO" $no_selected /><label for="no" class="clickable_option">$lang_no</label>
+                </td>
+        </tr>
+
+EOT;
+            break;
+
+        case 'group_list' :
+            $sql = "SELECT group_id, group_name FROM {$CONFIG['TABLE_USERGROUPS']} ORDER BY group_name";
+            $result = cpg_db_query($sql);
+            $group_list = cpg_db_fetch_rowset($result);
+            mysql_free_result($result);
+
+            $sel_group = $user_data[$element[1]];
+            $user_group_list = ($user_data['user_group_list'] == '') ? ',' . $sel_group . ',' : ',' . $user_data['user_group_list'] . ',' . $sel_group . ',';
+
+            echo <<<EOT
+        <tr>
+            <td class="tableb">
+                        {$element[2]}
+        </td>
+        <td class="tableb" valign="top">
+                <select name="{$element[1]}" class="listbox">
+
+EOT;
+            $group_cb = '';
+            foreach($group_list as $group) {
+                echo '                        <option value="' . $group['group_id'] . '"' . ($group['group_id'] == $sel_group ? ' selected' : '') . '>' . $group['group_name'] . "</option>\n";
+
+                /**
+                 * If the group is registered, don't show it here as all the users must be a member of this group
+                 * Also there is no point in displaying the 'Banned' group as checking banned here does not ban the user.
+                 * Also remove Administrators group from secondary list as it won't give a user admin access.
+                 */
+                if ($group['group_id'] != 1 && $group['group_id'] != 2 && $group['group_id'] != 4) {
+                  $checked = strpos(' ' . $user_group_list, ',' . $group['group_id'] . ',') ? 'checked' : '';
+                  $group_cb .= '<input name="group_list[]" type="checkbox" value="' . $group['group_id'] . '" ' . $checked . ' />' . $group['group_name'] . "<br />\n";
+                }
+            }
+            echo <<<EOT
+                        </select><br />
+                        $group_cb
+                        <br />
+                        <a href="usermgr.php?op=groups_alb_access" class="admin_menu">{$lang_usermgr_php['groups_alb_access']}</a>
+
+          </td>
+        </tr>
+
+EOT;
+            break;
+
+        default:
+            cpg_die(CRITICAL_ERROR, 'Invalid action for form creation ' . $element[0], __FILE__, __LINE__);
+    }
+
+    echo <<<EOT
+        <tr>
+                <td colspan="2" class="tableh2">
+                        <b>{$lang_usermgr_php['notes']}</b>
+                </td>
+        </tr>
+        <tr>
+                <td colspan="2" class="tableb">
+                        <ul>
+                        {$lang_usermgr_php['note_list']}
+                        </ul>
+                </td>
+        </tr>
+        <tr>
+                <td colspan="2" align="center" class="tablef">
+                        <input type="submit" value="{$lang_usermgr_php['modify_user']}" class="button" />
+                </td>
+                </form>
+        </tr>
+
+EOT;
+
+    endtable();
+}
+
+function update_user($user_id)
+{
+    global $CONFIG; //, $PHP_SELF;
+    global $lang_usermgr_php, $lang_register_php;
+
+    $user_name = addslashes(trim($_POST['user_name']));
+    $user_password = addslashes(trim($_POST['user_password']));
+    $user_email = addslashes(trim($_POST['user_email']));
+    $profile1 = addslashes($_POST['user_profile1']);
+    $profile2 = addslashes($_POST['user_profile2']);
+    $profile3 = addslashes($_POST['user_profile3']);
+    $profile4 = addslashes($_POST['user_profile4']);
+    $profile5 = addslashes($_POST['user_profile5']);
+    $profile6 = addslashes($_POST['user_profile6']);
+    $user_active = $_POST['user_active'];
+    $user_group = $_POST['user_group'];
+    $group_list = isset($_POST['group_list']) ? $_POST['group_list'] : '';
+
+    $sql = "SELECT user_id " . "FROM {$CONFIG['TABLE_USERS']} " . "WHERE user_name = '" . addslashes($user_name) . "' AND user_id != $user_id";
+    $result = cpg_db_query($sql);
+
+    if (mysql_num_rows($result)) {
+        cpg_die(ERROR, $lang_register_php['err_user_exists'], __FILE__, __LINE__);
+        return false;
+    }
+    mysql_free_result($result);
+
+    if (utf_strlen($user_name) < 2) cpg_die(ERROR, $lang_register_php['err_uname_short'], __FILE__, __LINE__);
+        if ($user_password && utf_strlen($user_password) < 2) cpg_die(ERROR, $lang_register_php['err_password_short'], __FILE__, __LINE__);
+
+    if (is_array($group_list)) {
+        $user_group_list = '';
+        foreach($group_list as $group) $user_group_list .= ($group != $user_group) ? $group . ',' : '';
+        $user_group_list = substr($user_group_list, 0, -1);
+    } else {
+        $user_group_list = '';
+    }
+
+    $sql_update = "UPDATE {$CONFIG['TABLE_USERS']} SET " .
+                  "user_name = '$user_name', " .
+          "user_email = '$user_email', " .
+          "user_active = '$user_active', " .
+          "user_group = '$user_group', " .
+          "user_profile1 = '$profile1', " .
+          "user_profile2 = '$profile2', " .
+          "user_profile3 = '$profile3', " .
+          "user_profile4 = '$profile4', " .
+          "user_profile5 = '$profile5', " .
+          "user_profile6 = '$profile6', " .
+          "user_group_list = '$user_group_list'";
+
+    if (!empty($user_password)) $sql_update .= ", user_password = '".(($CONFIG['enable_encrypted_passwords'])?md5($user_password):$user_password)."'";
+    $sql_update .= " WHERE user_id = '$user_id'";
+
+    cpg_db_query($sql_update);
+    
+    // Update pictures' owner name
+    cpg_db_query("UPDATE {$CONFIG['TABLE_PICTURES']} SET owner_name = '$user_name' WHERE owner_id = $user_id");
+
+    // Update comments' author name
+    cpg_db_query("UPDATE {$CONFIG['TABLE_COMMENTS']} SET msg_author = '$user_name' WHERE author_id = $user_id");    
+}
+
+$op = (GALLERY_ADMIN_MODE && isset($_GET['op'])) ? $_GET['op'] : '';
+
+switch ($op) {
+    case 'edit' :
+        $user_id = isset($_GET['user_id']) ? (int)$_GET['user_id'] : -1;
+
+        if (USER_ID == $user_id) cpg_die(ERROR, $lang_usermgr_php['err_edit_self'], __FILE__, __LINE__);
+    $cpg_udb->edit_users($user_id);
+
+        pageheader($lang_usermgr_php['title']);
+        edit_user($user_id);
+        pagefooter();
+        ob_end_flush();
+        break;
+
+    case 'update' :
+        $user_id = isset($_GET['user_id']) ? (int)$_GET['user_id'] : -1;
+    $cpg_udb->edit_users($user_id);
+
+        update_user($user_id);
+
+        cpg_db_query("DELETE FROM {$CONFIG['TABLE_USERS']} WHERE user_name = '' LIMIT 1");
+
+        pageheader($lang_usermgr_php['title']);
+        list_users();
+        pagefooter();
+        ob_end_flush();
+        break;
+
+    case 'new_user' :
+        $cpg_udb->edit_users();
+        cpg_db_query("INSERT INTO {$CONFIG['TABLE_USERS']}(user_regdate, user_active, user_profile6) VALUES (NOW(), 'YES', '')");
+
+        $user_id = mysql_insert_id();
+
+        pageheader($lang_usermgr_php['title']);
+        edit_user($user_id);
+        pagefooter();
+        ob_end_flush();
+        break;
+
+    case 'groups_alb_access' : //show what albums user groups can see
+        pageheader($lang_usermgr_php['groups_alb_access']);
+        list_groups_alb_access();
+        pagefooter();
+        ob_end_flush();
+        break;
+
+    case 'group_alb_access' : //show what albums specific group can see
+        if (isset($_GET['gid'])) {
+          $group_id = $_GET['gid'];
+        }
+        $sql = "
+          SELECT group_name
+          FROM {$CONFIG['TABLE_USERGROUPS']} AS groups, {$CONFIG['TABLE_ALBUMS']} AS albums
+          WHERE group_id = $group_id AND albums.visibility = groups.group_id
+        ";
+        $result = cpg_db_query($sql);
+        $group = mysql_fetch_array($result);
+
+        if (!mysql_num_rows($result)) {
+          pageheader($lang_usermgr_php['group_no_access']);
+          msg_box($lang_usermgr_php['notice'], $lang_usermgr_php['group_no_access']);
+        } else {
+            mysql_free_result($result);
+            $group_name = $group['group_name'];
+            pageheader(sprintf($lang_usermgr_php['group_can_access'], $group_name));
+            starttable(500, sprintf($lang_usermgr_php['group_can_access'], $group_name), 3);
+            echo "
+            <td><b>{$lang_usermgr_php['category']}</b></td>
+            <td><b>{$lang_usermgr_php['album']}</b></td>
+            <td><b>{$lang_usermgr_php['modify']}</b></td>
+            ";
+
+            list_group_alb_access($group_id);
+            endtable();
+        }
+        pagefooter();
+        ob_end_flush();
+        break;
+
+    default :
+        cpg_db_query("DELETE FROM {$CONFIG['TABLE_USERS']} WHERE user_name = '' LIMIT 1");
+
+        pageheader($lang_usermgr_php['title']);
+        if (isset($_POST['username'])){
+                $name = addslashes($_POST['username']);
+                $wildcards = array("*" => "%", "?" => "_");
+                $search = strtr($name, $wildcards);
+        }
+        if (isset($search) == false) {$search = '';}
+        list_users($search);
+        pagefooter();
+        ob_end_flush();
+        break;
+}
+
+?>
diff -x .svn -aruN 1.4.24.src/util.php 1.4.25.src/util.php
--- 1.4.24.src/util.php	2009-05-21 15:03:09.000000000 -0500
+++ 1.4.25.src/util.php	2009-05-26 11:25:52.000000000 -0500
@@ -1,522 +1,522 @@
-<?php
-/*************************
-  Coppermine Photo Gallery
-  ************************
-  Copyright (c) 2003-2009 Coppermine Dev Team
-  v1.1 originally written by Gregory DEMAR
-
-  This program is free software; you can redistribute it and/or modify
-  it under the terms of the GNU General Public License version 3
-  as published by the Free Software Foundation.
-  
-  ********************************************
-  Coppermine version: 1.4.24
-  $HeadURL: https://coppermine.svn.sourceforge.net/svnroot/coppermine/trunk/cpg1.4.x/util.php $
-  $Revision: 5969 $
-  $Author: gaugau $
-  $Date: 2009-05-21 22:03:33 +0200 (Do, 21 Mai 2009) $
-**********************************************/
-
-define('IN_COPPERMINE', true);
-define('UTIL_PHP', true);
-define('UPLOAD_PHP', true);
-
-require('include/init.inc.php');
-require('include/picmgmt.inc.php');
-
-// Default number of pictures to process at a time when rebuilding thumbs or normals:
-$defpicnum = 45;
-
-if (!GALLERY_ADMIN_MODE) cpg_die(ERROR, $lang_errors['access_denied'], __FILE__, __LINE__);
-
-pageheader($lang_util_php['title']);
-
-// 'action name (for the $_REQUEST)' => array('function name','title for main page','description/options for main page')
-
-$tasks =  array(
-
-        'update_thumbs' => array('update_thumbs', $lang_util_php['update'],'
-
-                <b>'.$lang_util_php['update_what'].' (2):</b><br />
-                <input type="radio" name="updatetype" id="updatetype1" value="0" class="nobg" /><label for="updatetype1" class="clickable_option">'.$lang_util_php['update_thumb'].'</label><br />
-                <input type="radio" name="updatetype" id="updatetype2" value="1" class="nobg" /><label for="updatetype2" class="clickable_option">'.$lang_util_php['update_pic'].'</label><br />
-                <input type="radio" name="updatetype" id="updatetype3" value="2" checked="checked" class="nobg" /><label for="updatetype3" class="clickable_option">'.$lang_util_php['update_both'].'</label><br />'.$lang_util_php['update_number'].'
-                <input type="text" name="numpics" value="'.$defpicnum.'" size="5" class="textinput" /><br />'.$lang_util_php['update_option'].'<br /><br />'),
-
-        'filename_to_title' => array('filename_to_title', $lang_util_php['filename_title'],'
-
-                <b>'.$lang_util_php['filename_how'].' (2):</b><br />
-        <input type="radio" name="parsemode" id="parsemode1" value="0" checked="checked" class="nobg" /><label for="parsemode1" class="clickable_option">' . $lang_util_php['filename_remove'] . '</label><br />
-                <input type="radio" name="parsemode" id="parsemode2" value="1" class="nobg" /><label for="parsemode2" class="clickable_option">'.$lang_util_php['filename_euro'].'</label><br />
-                <input type="radio" name="parsemode" id="parsemode3" value="2" class="nobg" /><label for="parsemode3" class="clickable_option">'.$lang_util_php['filename_us'].'</label><br />
-                <input type="radio" name="parsemode" id="parsemode4" value="3" class="nobg" /><label for="parsemode4" class="clickable_option">'.$lang_util_php['filename_time'].'</label><br /><br />'),
-
-        'del_titles' => array('del_titles', $lang_util_php['delete_title'], $lang_util_php['delete_title_explanation']),
-
-        'del_orig' => array('del_orig', $lang_util_php['delete_original'], $lang_util_php['delete_original_explanation']),
-
-        'del_norm' => array('del_norm', $lang_util_php['delete_intermediate'], $lang_util_php['delete_intermediate_explanation']),
-
-        'del_orphans' => array('del_orphans', $lang_util_php['delete_orphans'], $lang_util_php['delete_orphans_explanation']),
-
-        'refresh_db' => array('refresh_db', $lang_util_php['refresh_db'], $lang_util_php['refresh_db'].'<br />' . $lang_util_php['update_number'].'
-
-                <input type="text" name="refresh_numpics" value="'.$defpicnum.'" size="5" class="textinput" /><br />'.$lang_util_php['update_option']),
-
-        'reset_views' => array('reset_views', $lang_util_php['reset_views'], $lang_util_php['reset_views_explanation']),
-
-        'php_info' => array('', '<a href="phpinfo.php" class="statlink">' . $lang_util_php['phpinfo'] . '</a>', $lang_util_php['phpinfo_explanation']),
-
-        'upd_db' => array('', '<a href="update.php" class="statlink">' . $lang_util_php['update_db'].'</a>',$lang_util_php['update_db_explanation']),
-
-        'view_log' => array('', '<a href="viewlog.php" class="statlink">' . $lang_util_php['view_log'] . '</a>', $lang_util_php['view_log_explanation']),
-
-        'versioncheck' => array('', '<a href="versioncheck.php" class="statlink">' . $lang_util_php['versioncheck'] . '</a>', $lang_util_php['versioncheck_explanation']),
-
-        'bridgemgr' => array('', '<a href="bridgemgr.php" class="statlink">' . $lang_util_php['bridgemanager'] . '</a>', $lang_util_php['bridgemanager_explanation']),
-
-        );
-
-$action = (isset($_REQUEST['action'])) ? $_REQUEST['action'] : '';
-
-if (array_key_exists($action, $tasks)){
-        call_user_func($action);
-        echo "<br /><a href=\"util.php\">{$lang_util_php['back']}</a>";
-} else {
-
-        $help = '&nbsp;'.cpg_display_help('f=index.htm&amp;as=admin_tools&amp;ae=admin_tools_end&amp;top=1', '600', '400');
-
-        starttable('100%', $lang_util_php['title'].$help, 2);
-
-        echo '<tr>
-                        <td class="tablef"><b>'.$lang_util_php['what_it_does'] . '</b>:
-                                <ul style="margin-top:0px;margin-bottom:0px;list-style-type:square">';
-        foreach($lang_util_desc_php as $value) {
-        echo "<li>$value</li>\n";
-        }
-        echo '                        </ul>
-                          </td>
-                        <td class="tableb"><b>' . $lang_util_php['instruction'] . '</b>:<br />
-                                (1) ' . $lang_util_php['instruction_action'] . '<br />
-                              (2) ' . $lang_util_php['instruction_parameter'] . '<br />
-                              (3) ' . $lang_util_php['instruction_album'] . '<br />
-                              (4) ' . sprintf($lang_util_php['instruction_press'], $lang_util_php['submit_form']).'
-                          </td>
-              </tr>';
-
-        endtable();
-
-        echo '<br /><form action="util.php" method="post">';
-
-        foreach ($tasks as $task){
-
-            list($name, $title, $options) = $task;
-
-                if ($name){
-                    starttable('100%', "<input type=\"radio\" name=\"action\" value=\"$name\" id=\"$name\" class=\"nobg\" /><label for=\"$name\" class=\"clickable_option\" >$title</label> (1)");
-                } else {
-                          starttable('100%', $title);
-                }
-                echo "<tr><td class=\"tablef\">$options</td></tr>";
-                endtable();
-            echo '<br />';
-        }
-
-        starttable('100%', $lang_util_php['select_album']);
-        echo '<tr><td class="tablef"><br />';
-        //if (defined('UDB_INTEGRATION')){
-                $cpg_udb->util_filloptions();
-        /*} else {
-                filloptions();
-        }*/
-        echo '<br /></td></tr>';
-        endtable();
-        echo '</form>';
-}
-
-function my_flush()
-{
-        print str_repeat(" ", 4096); // force a flush;
-}
-
-function del_titles()
-{
-        global $CONFIG, $lang_util_php;
-
-        $albumid = (isset($_POST['albumid'])) ? $_POST['albumid'] : 0;
-        $albstr = ($albumid) ? "WHERE aid = $albumid" : '';
-        echo "<h2>{$lang_util_php['delete_wait']}</h2>";
-        $query = cpg_db_query("UPDATE {$CONFIG['TABLE_PICTURES']} SET title = '' $albstr");
-        if ($query) {
-                echo $lang_util_php['titles_deleted']."<br />";
-        }
-}
-
-function filename_to_title()
-{
-        global $CONFIG, $lang_util_php;
-
-        $albumid = (isset($_POST['albumid'])) ? $_POST['albumid'] : 0;
-        $albstr = ($albumid) ? " WHERE aid = $albumid" : '';
-        $parsemode = $_POST['parsemode'];
-
-        $result = cpg_db_query("SELECT * FROM {$CONFIG['TABLE_PICTURES']} $albstr");
-
-        echo "<h2>{$lang_util_php['titles_wait']}</h2>";
-
-        while ($row = mysql_fetch_assoc($result)){
-
-        $filename = $row['filename'];
-        $pid = $row['pid'];
-        // //////////////////////////////////////////
-        // ADD YOUR OWN PARSEMODES HERE //
-        // /////////////////////////////////////////
-        $pattern = "/(\d+)(.)(\d+)(.)(\d+)(.)(\d+)(.)(\d+)(.)(\d+)(.+)/";
-
-        switch ($parsemode){
-
-                case 0: // REMOVE .JPG AND REPLACE _ WITH [ ]
-                        $filename = substr($filename, 0, -4);
-                        $newtitle = str_replace("_", " ", $filename);
-                        break;
-                case 1: // CHANGE 2003_11_23_13_20_20.jpg TO 23/11/2003 13:20
-                        $newtitle = str_replace("%20", " ", $filename);
-                        $replacement = "$5/$3/$1 $7:$9";
-                        $newtitle = preg_replace($pattern, $replacement, $filename);
-                        break;
-                case 2: // CHANGE 2003_11_23_13_20_20.jpg TO 11/23/2003 13:20
-                        $newtitle = str_replace("%20", " ", $filename);
-                        $replacement = "$3/$5/$1 $7:$9";
-                        $newtitle = preg_replace($pattern, $replacement, $filename);
-                        break;
-                case 3: // CHANGE 2003_11_23_13_20_20.jpg TO 13:20
-                        $newtitle = str_replace("%20", " ", $filename);
-                        $replacement = "$7:$9";
-                        $newtitle = preg_replace($pattern, $replacement, $filename);
-                        break;
-        }
-
-        $query = cpg_db_query("UPDATE {$CONFIG['TABLE_PICTURES']} SET title = '$newtitle' WHERE pid = '$pid'");
-        if ($query){
-                echo "{$lang_util_php['file']} : $filename {$lang_util_php['title_set_to']} : $newtitle<br />";
-        }
-
-        my_flush();
-
-        }
-}
-
-function filloptions()
-{
-        global $CONFIG, $lang_util_php;
-
-        $result = cpg_db_query("SELECT aid, category, IF(user_name IS NOT NULL, CONCAT('(', user_name, ') ',title), CONCAT(' - ', title)) AS title " . "FROM {$CONFIG['TABLE_ALBUMS']} AS a " . "LEFT JOIN {$CONFIG['TABLE_USERS']} AS u ON category = (" . FIRST_USER_CAT . " + user_id) " . "ORDER BY category, title");
-
-        echo '&nbsp;&nbsp;&nbsp;&nbsp;<select size="1" name="albumid" class="listbox"><option value="0">All Albums</option>';
-
-        while ($row = mysql_fetch_array($result)){
-                $result2 = cpg_db_query("SELECT name FROM {$CONFIG['TABLE_CATEGORIES']} WHERE cid = {$row['category']}");
-                $row2 = mysql_fetch_assoc($result2);
-                echo "<option value=\"{$row['aid']}\">{$row2['name']} {$row['title']}</option>";
-        }
-
-        echo '</select> (3)&nbsp;&nbsp;&nbsp;&nbsp;<input type="submit" value="'.$lang_util_php['submit_form'].'" class="button" /> (4)';
-}
-
-function update_thumbs()
-{
-        global $CONFIG, $lang_util_php;
-
-        $albumid = (isset($_POST['albumid'])) ? $_POST['albumid'] : 0;
-        $albstr = ($albumid) ? "WHERE aid = $albumid" : '';
-
-        $updatetype = $_POST['updatetype'];
-        $numpics = $_POST['numpics'];
-        $startpic = (isset($_POST['startpic'])) ? $_POST['startpic'] : 0;
-
-        echo "<h2>{$lang_util_php['thumbs_wait']}</h2>";
-
-        $result = cpg_db_query("SELECT * FROM {$CONFIG['TABLE_PICTURES']} $albstr LIMIT $startpic, $numpics");
-        $count = mysql_num_rows($result);
-
-        while ($row = mysql_fetch_assoc($result)){
-
-                $image = $CONFIG['fullpath'] . $row['filepath'] . $row['filename'];
-                $normal = $CONFIG['fullpath'] . $row['filepath'] . $CONFIG['normal_pfx'] . $row['filename'];
-                $thumb = $CONFIG['fullpath'] . $row['filepath'] . $CONFIG['thumb_pfx'] . $row['filename'];
-
-                if ($updatetype == 0 || $updatetype == 2){
-                        if (resize_image($image, $thumb, $CONFIG['thumb_width'], $CONFIG['thumb_method'], $CONFIG['thumb_use'])){
-                                echo "$thumb {$lang_util_php['updated_succesfully']} !<br />";
-                                my_flush();
-                        } else {
-                                echo "{$lang_util_php['error_create']} : $thumb<br />";
-                                my_flush();
-                        }
-                }
-
-                if ($updatetype == 1 || $updatetype == 2){
-
-                        $imagesize = getimagesize($image);
-
-                        if (max($imagesize[0], $imagesize[1]) > $CONFIG['picture_width'] && $CONFIG['make_intermediate']){
-                                if (resize_image($image, $normal, $CONFIG['picture_width'], $CONFIG['thumb_method'], $CONFIG['thumb_use'])){
-                                        echo "$normal {$lang_util_php['updated_succesfully']} !<br />";
-                                        my_flush();
-                                } else {
-                                        echo "{$lang_util_php['error_create']} : $normal<br />";
-                                        my_flush();
-                                }
-                        }
-                }
-        }
-
-        if ($count == $numpics){
-
-                $startpic += $numpics;
-
-        echo <<< EOT
-                <form action="util.php" method="post">
-                                <input type="hidden" name="action" value="update_thumbs" />
-                                <input type="hidden" name="numpics" value="$numpics" />
-                                <input type="hidden" name="startpic" value="$startpic" />
-                                <input type="hidden" name="updatetype" value="$updatetype" />
-                                <input type="hidden" name="albumid" value="$albumid" />
-                                <input type="submit" value="{$lang_util_php['continue']}" class="button" />
-                        </form>
-EOT;
-        }
-}
-
-function del_orig()
-{
-        global $CONFIG, $lang_util_php;
-
-        $albumid = (isset($_POST['albumid'])) ? $_POST['albumid'] : 0;
-        $albstr = ($albumid) ? "WHERE aid = $albumid" : '';
-
-        $result = cpg_db_query("SELECT * FROM {$CONFIG['TABLE_PICTURES']} $albstr");
-        $num = mysql_num_rows($result);
-        echo "<h2>{$lang_util_php['replace_wait']}</h2>";
-
-        while ($row = mysql_fetch_assoc($result)) {
-
-                $pid = $row['pid'];
-                $image = $CONFIG['fullpath'] . $row['filepath'] . $row['filename'];
-                $normal = $CONFIG['fullpath'] . $row['filepath'] . $CONFIG['normal_pfx'] . $row['filename'];
-                $thumb = $CONFIG['fullpath'] . $row['filepath'] . $CONFIG['thumb_pfx'] . $row['filename'];
-
-                if (file_exists($normal)) {
-                        $deleted = unlink($image);
-                        $renamed = rename($normal, $image);
-                        if ($deleted AND $renamed){
-                                $imagesize = getimagesize($image); // dimensions
-                                $image_filesize = filesize($image); // bytes
-                                $total_filesize = $image_filesize + filesize($thumb);
-                                cpg_db_query("UPDATE {$CONFIG['TABLE_PICTURES']} SET filesize='$image_filesize', total_filesize='$total_filesize', pwidth='{$imagesize[0]}', pheight='{$imagesize[1]}' WHERE pid='$pid' ");
-                                printf($lang_util_php['main_success'], $normal);
-                        } else {
-                                echo (!$renamed) ? sprintf($lang_util_php['error_rename'], $normal, $image) : sprintf($lang_util_php['error_deleting'], $image);
-                        }
-                } else {
-                        printf($lang_util_php['error_not_found'], $normal);
-                }
-                echo '<br />';
-           }
-}
-
-function del_norm()
-{
-        global $CONFIG, $lang_util_php;
-
-        $albumid = (isset($_POST['albumid'])) ? $_POST['albumid'] : 0;
-        $albstr = ($albumid) ? "WHERE aid = $albumid" : '';
-        $result = cpg_db_query("SELECT * FROM {$CONFIG['TABLE_PICTURES']} $albstr");
-        $num = mysql_num_rows($result);
-        echo "<h2>".$lang_util_php['deleting_intermediates']."</h2>";
-
-        while ($row = mysql_fetch_assoc($result)){
-
-                $pid = $row['pid'];
-                $image = $CONFIG['fullpath'] . $row['filepath'] . $row['filename'];
-                $normal = $CONFIG['fullpath'] . $row['filepath'] . $CONFIG['normal_pfx'] . $row['filename'];
-                $thumb = $CONFIG['fullpath'] . $row['filepath'] . $CONFIG['thumb_pfx'] . $row['filename'];
-
-                if (file_exists($normal)){
-                        $test = unlink($normal);
-                        if ($test){
-                                $total_filesize = filesize($image) + filesize($thumb);
-                                cpg_db_query("UPDATE {$CONFIG['TABLE_PICTURES']} SET total_filesize='$total_filesize' WHERE pid='$pid'");
-                                printf('The intermediate pic %s was successfully deleted', $normal);
-                                print '<br />';
-                        } else {
-                                printf('Error deleting %s !', $normal);
-                        }
-                } else {
-                        printf($lang_util_php['error_not_found'], $normal);
-                        print '<br />';
-                }
-           }
-}
-
-function del_orphans()
-{
-        global $CONFIG, $lang_util_php;
-
-        $count = 0;
-        echo "<h2>".$lang_util_php['searching_orphans']."</h2><br />";
-        my_flush();
-
-        if (isset($_GET['single'])){
-                $delone = cpg_db_query("DELETE FROM {$CONFIG['TABLE_COMMENTS']} WHERE msg_id= '{$_GET['single']}' LIMIT 1");
-        }
-
-        $result = cpg_db_query("SELECT pid FROM {$CONFIG['TABLE_PICTURES']}");
-
-        while ($row = mysql_fetch_assoc($result)){
-                $ok_array[] = $row['pid'];
-        }
-
-        $check_str = '(' . implode(',',$ok_array) . ')';
-        $result = cpg_db_query("SELECT * FROM {$CONFIG['TABLE_COMMENTS']} WHERE pid NOT IN $check_str");
-
-        while ($row = mysql_fetch_array($result)){
-
-                $pid = $row['pid'];
-                $msg_id = $row['msg_id'];
-                $msg_body = $row['msg_body'];
-
-                if (isset($_POST['del'])){
-                        cpg_db_query("DELETE FROM {$CONFIG['TABLE_COMMENTS']} WHERE msg_id= $msg_id");
-                        echo "{$lang_util_php['comment']} $msg_body {$lang_util_php['nonexist']} $pid - <a href=\"util.php?action=del_orphans&amp;single=$msg_id\">{$lang_util_php['delete']}</a><br />";
-        }
-
-                $count = mysql_num_rows($result);
-        echo "<br /><br />$count {$lang_util_php['orphan_comment']}<br /><br />";
-        if ($count > 1){
-                        echo <<< EOT
-                        <form action="util.php" method="post">
-                                <input type="hidden" name="action" value="del_orphans" />
-                                <input type="hidden" name="del" value="all" />
-                                {$lang_util_php['delete_all_orphans']}
-                                <input type="submit" value="{$lang_util_php['delete_all']}" class="button" />
-                        </form>
-EOT;
-        }
-        }
-}
-
-function reset_views()
-{
-        global $CONFIG, $lang_util_php;
-
-        $albumid = (isset($_POST['albumid'])) ? $_POST['albumid'] : 0;
-        $albstr = ($albumid) ? "WHERE aid = $albumid" : '';
-
-        if (cpg_db_query("UPDATE {$CONFIG['TABLE_PICTURES']} SET hits ='0' $albstr")) echo 'Reset successful';
-
-}
-function refresh_db()
-{
-        global $CONFIG, $lang_util_php;
-
-        $albumid = (isset($_POST['albumid'])) ? $_POST['albumid'] : 0;
-        $albstr = ($albumid) ? "WHERE aid = $albumid" : '';
-        $numpics = $_POST['refresh_numpics'];
-        $startpic = (isset($_POST['refresh_startpic'])) ? $_POST['refresh_startpic'] : 0;
-
-        starttable('100%', "Update results", 3);
-
-        echo "<tr><th class=\"tableh2\">{$lang_util_php['file']}</th><th class=\"tableh2\">{$lang_util_php['problem']}</th><th class=\"tableh2\">{$lang_util_php['status']}</th></tr>";
-
-        $outcome = 'none';
-        $result = cpg_db_query("SELECT * FROM {$CONFIG['TABLE_PICTURES']} $albstr ORDER BY pid ASC LIMIT $startpic, $numpics");
-        $count = mysql_num_rows($result);
-        $found = 0;
-
-        while ($row = mysql_fetch_assoc($result)){
-
-                extract($row, EXTR_PREFIX_ALL, "db");
-                unset($prob);
-
-                $full_pic_url = $CONFIG['fullpath'] . $db_filepath . $db_filename;
-                $thumb_url = $CONFIG['fullpath'] . $db_filepath . $CONFIG['thumb_pfx'] . $db_filename;
-                $normal_url = $CONFIG['fullpath'] . $db_filepath . $CONFIG['normal_pfx'] . $db_filename;
-                $url = '<a href="' . $CONFIG["ecards_more_pic_target"] . (substr($CONFIG["ecards_more_pic_target"], -1) == '/' ? '' : '/') ."displayimage.php?pos=-$db_pid" . '" target="_blank">' . "$db_title ($db_pid)" . '</a>';
-
-                if (@file_exists($full_pic_url)){
-
-                        $filesize = @filesize($full_pic_url);
-                        $dimensions = @getimagesize($full_pic_url);
-
-                        if ($filesize){
-
-                                $thumb_filesize = @filesize($thumb_url);
-                                $normal_filesize = @filesize($normal_url);
-                                $total_filesize = $filesize + $thumb_filesize + $normal_filesize;
-
-                                if ($total_filesize <> $db_total_filesize){
-
-                                        $prob .= "Total filesize is incorrect<br />Database: {$db_total_filesize} bytes<br /> Actual: {$total_filesize} bytes<br />";
-                                        $fs1_upd = @cpg_db_query("UPDATE {$CONFIG['TABLE_PICTURES']} SET total_filesize = '$total_filesize' WHERE pid = '$db_pid' LIMIT 1");
-                                        $outcome = ($fs1_upd) ? 'Updated' : 'Update failed.';
-                                }
-
-                                if ($filesize <> $db_filesize){
-
-                                        $prob .= "Total filesize is incorrect<br />Database: {$db_filesize} bytes<br />Actual: {$filesize} bytes<br />";
-                                        $fs2_upd = @cpg_db_query("UPDATE {$CONFIG['TABLE_PICTURES']} SET filesize = '$filesize' WHERE pid = '$db_pid' LIMIT 1");
-                                        $outcome = ($fs2_upd) ? 'Updated' : 'Update failed.';
-                                }
-                        } else {
-                                $prob .= "Could not obtain file size (may be invalid file), skipping....<br />";
-                                $outcome = "Skipped";
-                        }
-
-                        if ($dimensions){
-                                if (($dimensions[0] <> $db_pwidth) ||  ($dimensions[1] <> $db_pheight)){
-
-                                        $prob .= "Dimensions are incorrect<br />Database: {$db_pwidth}x{$db_pheight}<br />Actual:{$dimensions[0]}x{$dimensions[1]}<br />";
-                                        $dim_upd = @cpg_db_query("UPDATE {$CONFIG['TABLE_PICTURES']} SET `pwidth` = '{$dimensions[0]}', `pheight` = '{$dimensions[1]}' WHERE `pid` = '$db_pid' LIMIT 1");
-                                        $outcome = ($dim_upd) ? 'Updated' : 'Update failed - '.mysql_error();
-                                }
-                        } else {
-                                $prob .= "Could not obtain dimension info, skipping....<br />";
-                                $outcome = "Skipped";
-                        }
-                } else {
-                        $prob .= "File $full_pic_url does not exist !<br />";
-                        $outcome = "Cannot fix";
-                }
-
-                if ($prob){
-
-                        $found++;
-                        echo "<tr><td class=\"tableb\">$url</td><td class=\"tableb\">$prob</td><td class=\"tableb\">$outcome</td></tr>";
-                } else {
-                        echo "<tr><td class=\"tableb\">$url</td><td class=\"tableb\">No problems detected</td><td class=\"tableb\">OK</td></tr>";
-                }
-                my_flush();
-
-        }
-
-        endtable();
-
-        if ($outcome == 'none') echo 'No problems were found.';
-
-        if ($count == $numpics){
-                   $startpic += $numpics;
-                echo <<< EOT
-                        <form action="util.php" method="post">
-                                <input type="hidden" name="action" value="refresh_db" />
-                                <input type="hidden" name="refresh_numpics" value="$numpics" />
-                                <input type="hidden" name="refresh_startpic" value="$startpic" />
-                                <input type="hidden" name="albumid" value="$albumid" />
-                                <input type="submit" value="{$lang_util_php['continue']}" class="button" />
-                        </form>
-EOT;
-        }
-}
-pagefooter();
-ob_end_flush();
-?>
+<?php
+/*************************
+  Coppermine Photo Gallery
+  ************************
+  Copyright (c) 2003-2009 Coppermine Dev Team
+  v1.1 originally written by Gregory DEMAR
+
+  This program is free software; you can redistribute it and/or modify
+  it under the terms of the GNU General Public License version 3
+  as published by the Free Software Foundation.
+  
+  ********************************************
+  Coppermine version: 1.4.25
+  $HeadURL: https://coppermine.svn.sourceforge.net/svnroot/coppermine/trunk/cpg1.4.x/util.php $
+  $Revision: 5997 $
+  $Author: gaugau $
+  $Date: 2009-05-26 08:43:24 +0200 (Di, 26 Mai 2009) $
+**********************************************/
+
+define('IN_COPPERMINE', true);
+define('UTIL_PHP', true);
+define('UPLOAD_PHP', true);
+
+require('include/init.inc.php');
+require('include/picmgmt.inc.php');
+
+// Default number of pictures to process at a time when rebuilding thumbs or normals:
+$defpicnum = 45;
+
+if (!GALLERY_ADMIN_MODE) cpg_die(ERROR, $lang_errors['access_denied'], __FILE__, __LINE__);
+
+pageheader($lang_util_php['title']);
+
+// 'action name (for the $_REQUEST)' => array('function name','title for main page','description/options for main page')
+
+$tasks =  array(
+
+        'update_thumbs' => array('update_thumbs', $lang_util_php['update'],'
+
+                <b>'.$lang_util_php['update_what'].' (2):</b><br />
+                <input type="radio" name="updatetype" id="updatetype1" value="0" class="nobg" /><label for="updatetype1" class="clickable_option">'.$lang_util_php['update_thumb'].'</label><br />
+                <input type="radio" name="updatetype" id="updatetype2" value="1" class="nobg" /><label for="updatetype2" class="clickable_option">'.$lang_util_php['update_pic'].'</label><br />
+                <input type="radio" name="updatetype" id="updatetype3" value="2" checked="checked" class="nobg" /><label for="updatetype3" class="clickable_option">'.$lang_util_php['update_both'].'</label><br />'.$lang_util_php['update_number'].'
+                <input type="text" name="numpics" value="'.$defpicnum.'" size="5" class="textinput" /><br />'.$lang_util_php['update_option'].'<br /><br />'),
+
+        'filename_to_title' => array('filename_to_title', $lang_util_php['filename_title'],'
+
+                <b>'.$lang_util_php['filename_how'].' (2):</b><br />
+        <input type="radio" name="parsemode" id="parsemode1" value="0" checked="checked" class="nobg" /><label for="parsemode1" class="clickable_option">' . $lang_util_php['filename_remove'] . '</label><br />
+                <input type="radio" name="parsemode" id="parsemode2" value="1" class="nobg" /><label for="parsemode2" class="clickable_option">'.$lang_util_php['filename_euro'].'</label><br />
+                <input type="radio" name="parsemode" id="parsemode3" value="2" class="nobg" /><label for="parsemode3" class="clickable_option">'.$lang_util_php['filename_us'].'</label><br />
+                <input type="radio" name="parsemode" id="parsemode4" value="3" class="nobg" /><label for="parsemode4" class="clickable_option">'.$lang_util_php['filename_time'].'</label><br /><br />'),
+
+        'del_titles' => array('del_titles', $lang_util_php['delete_title'], $lang_util_php['delete_title_explanation']),
+
+        'del_orig' => array('del_orig', $lang_util_php['delete_original'], $lang_util_php['delete_original_explanation']),
+
+        'del_norm' => array('del_norm', $lang_util_php['delete_intermediate'], $lang_util_php['delete_intermediate_explanation']),
+
+        'del_orphans' => array('del_orphans', $lang_util_php['delete_orphans'], $lang_util_php['delete_orphans_explanation']),
+
+        'refresh_db' => array('refresh_db', $lang_util_php['refresh_db'], $lang_util_php['refresh_db'].'<br />' . $lang_util_php['update_number'].'
+
+                <input type="text" name="refresh_numpics" value="'.$defpicnum.'" size="5" class="textinput" /><br />'.$lang_util_php['update_option']),
+
+        'reset_views' => array('reset_views', $lang_util_php['reset_views'], $lang_util_php['reset_views_explanation']),
+
+        'php_info' => array('', '<a href="phpinfo.php" class="statlink">' . $lang_util_php['phpinfo'] . '</a>', $lang_util_php['phpinfo_explanation']),
+
+        'upd_db' => array('', '<a href="update.php" class="statlink">' . $lang_util_php['update_db'].'</a>',$lang_util_php['update_db_explanation']),
+
+        'view_log' => array('', '<a href="viewlog.php" class="statlink">' . $lang_util_php['view_log'] . '</a>', $lang_util_php['view_log_explanation']),
+
+        'versioncheck' => array('', '<a href="versioncheck.php" class="statlink">' . $lang_util_php['versioncheck'] . '</a>', $lang_util_php['versioncheck_explanation']),
+
+        'bridgemgr' => array('', '<a href="bridgemgr.php" class="statlink">' . $lang_util_php['bridgemanager'] . '</a>', $lang_util_php['bridgemanager_explanation']),
+
+        );
+
+$action = (isset($_REQUEST['action'])) ? $_REQUEST['action'] : '';
+
+if (array_key_exists($action, $tasks)){
+        call_user_func($action);
+        echo "<br /><a href=\"util.php\">{$lang_util_php['back']}</a>";
+} else {
+
+        $help = '&nbsp;'.cpg_display_help('f=index.htm&amp;as=admin_tools&amp;ae=admin_tools_end&amp;top=1', '600', '400');
+
+        starttable('100%', $lang_util_php['title'].$help, 2);
+
+        echo '<tr>
+                        <td class="tablef"><b>'.$lang_util_php['what_it_does'] . '</b>:
+                                <ul style="margin-top:0px;margin-bottom:0px;list-style-type:square">';
+        foreach($lang_util_desc_php as $value) {
+        echo "<li>$value</li>\n";
+        }
+        echo '                        </ul>
+                          </td>
+                        <td class="tableb"><b>' . $lang_util_php['instruction'] . '</b>:<br />
+                                (1) ' . $lang_util_php['instruction_action'] . '<br />
+                              (2) ' . $lang_util_php['instruction_parameter'] . '<br />
+                              (3) ' . $lang_util_php['instruction_album'] . '<br />
+                              (4) ' . sprintf($lang_util_php['instruction_press'], $lang_util_php['submit_form']).'
+                          </td>
+              </tr>';
+
+        endtable();
+
+        echo '<br /><form action="util.php" method="post">';
+
+        foreach ($tasks as $task){
+
+            list($name, $title, $options) = $task;
+
+                if ($name){
+                    starttable('100%', "<input type=\"radio\" name=\"action\" value=\"$name\" id=\"$name\" class=\"nobg\" /><label for=\"$name\" class=\"clickable_option\" >$title</label> (1)");
+                } else {
+                          starttable('100%', $title);
+                }
+                echo "<tr><td class=\"tablef\">$options</td></tr>";
+                endtable();
+            echo '<br />';
+        }
+
+        starttable('100%', $lang_util_php['select_album']);
+        echo '<tr><td class="tablef"><br />';
+        //if (defined('UDB_INTEGRATION')){
+                $cpg_udb->util_filloptions();
+        /*} else {
+                filloptions();
+        }*/
+        echo '<br /></td></tr>';
+        endtable();
+        echo '</form>';
+}
+
+function my_flush()
+{
+        print str_repeat(" ", 4096); // force a flush;
+}
+
+function del_titles()
+{
+        global $CONFIG, $lang_util_php;
+
+        $albumid = (isset($_POST['albumid'])) ? $_POST['albumid'] : 0;
+        $albstr = ($albumid) ? "WHERE aid = $albumid" : '';
+        echo "<h2>{$lang_util_php['delete_wait']}</h2>";
+        $query = cpg_db_query("UPDATE {$CONFIG['TABLE_PICTURES']} SET title = '' $albstr");
+        if ($query) {
+                echo $lang_util_php['titles_deleted']."<br />";
+        }
+}
+
+function filename_to_title()
+{
+        global $CONFIG, $lang_util_php;
+
+        $albumid = (isset($_POST['albumid'])) ? $_POST['albumid'] : 0;
+        $albstr = ($albumid) ? " WHERE aid = $albumid" : '';
+        $parsemode = $_POST['parsemode'];
+
+        $result = cpg_db_query("SELECT * FROM {$CONFIG['TABLE_PICTURES']} $albstr");
+
+        echo "<h2>{$lang_util_php['titles_wait']}</h2>";
+
+        while ($row = mysql_fetch_assoc($result)){
+
+        $filename = $row['filename'];
+        $pid = $row['pid'];
+        // //////////////////////////////////////////
+        // ADD YOUR OWN PARSEMODES HERE //
+        // /////////////////////////////////////////
+        $pattern = "/(\d+)(.)(\d+)(.)(\d+)(.)(\d+)(.)(\d+)(.)(\d+)(.+)/";
+
+        switch ($parsemode){
+
+                case 0: // REMOVE .JPG AND REPLACE _ WITH [ ]
+                        $filename = substr($filename, 0, -4);
+                        $newtitle = str_replace("_", " ", $filename);
+                        break;
+                case 1: // CHANGE 2003_11_23_13_20_20.jpg TO 23/11/2003 13:20
+                        $newtitle = str_replace("%20", " ", $filename);
+                        $replacement = "$5/$3/$1 $7:$9";
+                        $newtitle = preg_replace($pattern, $replacement, $filename);
+                        break;
+                case 2: // CHANGE 2003_11_23_13_20_20.jpg TO 11/23/2003 13:20
+                        $newtitle = str_replace("%20", " ", $filename);
+                        $replacement = "$3/$5/$1 $7:$9";
+                        $newtitle = preg_replace($pattern, $replacement, $filename);
+                        break;
+                case 3: // CHANGE 2003_11_23_13_20_20.jpg TO 13:20
+                        $newtitle = str_replace("%20", " ", $filename);
+                        $replacement = "$7:$9";
+                        $newtitle = preg_replace($pattern, $replacement, $filename);
+                        break;
+        }
+
+        $query = cpg_db_query("UPDATE {$CONFIG['TABLE_PICTURES']} SET title = '$newtitle' WHERE pid = '$pid'");
+        if ($query){
+                echo "{$lang_util_php['file']} : $filename {$lang_util_php['title_set_to']} : $newtitle<br />";
+        }
+
+        my_flush();
+
+        }
+}
+
+function filloptions()
+{
+        global $CONFIG, $lang_util_php;
+
+        $result = cpg_db_query("SELECT aid, category, IF(user_name IS NOT NULL, CONCAT('(', user_name, ') ',title), CONCAT(' - ', title)) AS title " . "FROM {$CONFIG['TABLE_ALBUMS']} AS a " . "LEFT JOIN {$CONFIG['TABLE_USERS']} AS u ON category = (" . FIRST_USER_CAT . " + user_id) " . "ORDER BY category, title");
+
+        echo '&nbsp;&nbsp;&nbsp;&nbsp;<select size="1" name="albumid" class="listbox"><option value="0">All Albums</option>';
+
+        while ($row = mysql_fetch_array($result)){
+                $result2 = cpg_db_query("SELECT name FROM {$CONFIG['TABLE_CATEGORIES']} WHERE cid = {$row['category']}");
+                $row2 = mysql_fetch_assoc($result2);
+                echo "<option value=\"{$row['aid']}\">{$row2['name']} {$row['title']}</option>";
+        }
+
+        echo '</select> (3)&nbsp;&nbsp;&nbsp;&nbsp;<input type="submit" value="'.$lang_util_php['submit_form'].'" class="button" /> (4)';
+}
+
+function update_thumbs()
+{
+        global $CONFIG, $lang_util_php;
+
+        $albumid = (isset($_POST['albumid'])) ? $_POST['albumid'] : 0;
+        $albstr = ($albumid) ? "WHERE aid = $albumid" : '';
+
+        $updatetype = $_POST['updatetype'];
+        $numpics = $_POST['numpics'];
+        $startpic = (isset($_POST['startpic'])) ? $_POST['startpic'] : 0;
+
+        echo "<h2>{$lang_util_php['thumbs_wait']}</h2>";
+
+        $result = cpg_db_query("SELECT * FROM {$CONFIG['TABLE_PICTURES']} $albstr LIMIT $startpic, $numpics");
+        $count = mysql_num_rows($result);
+
+        while ($row = mysql_fetch_assoc($result)){
+
+                $image = $CONFIG['fullpath'] . $row['filepath'] . $row['filename'];
+                $normal = $CONFIG['fullpath'] . $row['filepath'] . $CONFIG['normal_pfx'] . $row['filename'];
+                $thumb = $CONFIG['fullpath'] . $row['filepath'] . $CONFIG['thumb_pfx'] . $row['filename'];
+
+                if ($updatetype == 0 || $updatetype == 2){
+                        if (resize_image($image, $thumb, $CONFIG['thumb_width'], $CONFIG['thumb_method'], $CONFIG['thumb_use'])){
+                                echo "$thumb {$lang_util_php['updated_succesfully']} !<br />";
+                                my_flush();
+                        } else {
+                                echo "{$lang_util_php['error_create']} : $thumb<br />";
+                                my_flush();
+                        }
+                }
+
+                if ($updatetype == 1 || $updatetype == 2){
+
+                        $imagesize = getimagesize($image);
+
+                        if (max($imagesize[0], $imagesize[1]) > $CONFIG['picture_width'] && $CONFIG['make_intermediate']){
+                                if (resize_image($image, $normal, $CONFIG['picture_width'], $CONFIG['thumb_method'], $CONFIG['thumb_use'])){
+                                        echo "$normal {$lang_util_php['updated_succesfully']} !<br />";
+                                        my_flush();
+                                } else {
+                                        echo "{$lang_util_php['error_create']} : $normal<br />";
+                                        my_flush();
+                                }
+                        }
+                }
+        }
+
+        if ($count == $numpics){
+
+                $startpic += $numpics;
+
+        echo <<< EOT
+                <form action="util.php" method="post">
+                                <input type="hidden" name="action" value="update_thumbs" />
+                                <input type="hidden" name="numpics" value="$numpics" />
+                                <input type="hidden" name="startpic" value="$startpic" />
+                                <input type="hidden" name="updatetype" value="$updatetype" />
+                                <input type="hidden" name="albumid" value="$albumid" />
+                                <input type="submit" value="{$lang_util_php['continue']}" class="button" />
+                        </form>
+EOT;
+        }
+}
+
+function del_orig()
+{
+        global $CONFIG, $lang_util_php;
+
+        $albumid = (isset($_POST['albumid'])) ? $_POST['albumid'] : 0;
+        $albstr = ($albumid) ? "WHERE aid = $albumid" : '';
+
+        $result = cpg_db_query("SELECT * FROM {$CONFIG['TABLE_PICTURES']} $albstr");
+        $num = mysql_num_rows($result);
+        echo "<h2>{$lang_util_php['replace_wait']}</h2>";
+
+        while ($row = mysql_fetch_assoc($result)) {
+
+                $pid = $row['pid'];
+                $image = $CONFIG['fullpath'] . $row['filepath'] . $row['filename'];
+                $normal = $CONFIG['fullpath'] . $row['filepath'] . $CONFIG['normal_pfx'] . $row['filename'];
+                $thumb = $CONFIG['fullpath'] . $row['filepath'] . $CONFIG['thumb_pfx'] . $row['filename'];
+
+                if (file_exists($normal)) {
+                        $deleted = unlink($image);
+                        $renamed = rename($normal, $image);
+                        if ($deleted AND $renamed){
+                                $imagesize = getimagesize($image); // dimensions
+                                $image_filesize = filesize($image); // bytes
+                                $total_filesize = $image_filesize + filesize($thumb);
+                                cpg_db_query("UPDATE {$CONFIG['TABLE_PICTURES']} SET filesize='$image_filesize', total_filesize='$total_filesize', pwidth='{$imagesize[0]}', pheight='{$imagesize[1]}' WHERE pid='$pid' ");
+                                printf($lang_util_php['main_success'], $normal);
+                        } else {
+                                echo (!$renamed) ? sprintf($lang_util_php['error_rename'], $normal, $image) : sprintf($lang_util_php['error_deleting'], $image);
+                        }
+                } else {
+                        printf($lang_util_php['error_not_found'], $normal);
+                }
+                echo '<br />';
+           }
+}
+
+function del_norm()
+{
+        global $CONFIG, $lang_util_php;
+
+        $albumid = (isset($_POST['albumid'])) ? $_POST['albumid'] : 0;
+        $albstr = ($albumid) ? "WHERE aid = $albumid" : '';
+        $result = cpg_db_query("SELECT * FROM {$CONFIG['TABLE_PICTURES']} $albstr");
+        $num = mysql_num_rows($result);
+        echo "<h2>".$lang_util_php['deleting_intermediates']."</h2>";
+
+        while ($row = mysql_fetch_assoc($result)){
+
+                $pid = $row['pid'];
+                $image = $CONFIG['fullpath'] . $row['filepath'] . $row['filename'];
+                $normal = $CONFIG['fullpath'] . $row['filepath'] . $CONFIG['normal_pfx'] . $row['filename'];
+                $thumb = $CONFIG['fullpath'] . $row['filepath'] . $CONFIG['thumb_pfx'] . $row['filename'];
+
+                if (file_exists($normal)){
+                        $test = unlink($normal);
+                        if ($test){
+                                $total_filesize = filesize($image) + filesize($thumb);
+                                cpg_db_query("UPDATE {$CONFIG['TABLE_PICTURES']} SET total_filesize='$total_filesize' WHERE pid='$pid'");
+                                printf('The intermediate pic %s was successfully deleted', $normal);
+                                print '<br />';
+                        } else {
+                                printf('Error deleting %s !', $normal);
+                        }
+                } else {
+                        printf($lang_util_php['error_not_found'], $normal);
+                        print '<br />';
+                }
+           }
+}
+
+function del_orphans()
+{
+        global $CONFIG, $lang_util_php;
+
+        $count = 0;
+        echo "<h2>".$lang_util_php['searching_orphans']."</h2><br />";
+        my_flush();
+
+        if (isset($_GET['single'])){
+                $delone = cpg_db_query("DELETE FROM {$CONFIG['TABLE_COMMENTS']} WHERE msg_id= '{$_GET['single']}' LIMIT 1");
+        }
+
+        $result = cpg_db_query("SELECT pid FROM {$CONFIG['TABLE_PICTURES']}");
+
+        while ($row = mysql_fetch_assoc($result)){
+                $ok_array[] = $row['pid'];
+        }
+
+        $check_str = '(' . implode(',',$ok_array) . ')';
+        $result = cpg_db_query("SELECT * FROM {$CONFIG['TABLE_COMMENTS']} WHERE pid NOT IN $check_str");
+
+        while ($row = mysql_fetch_array($result)){
+
+                $pid = $row['pid'];
+                $msg_id = $row['msg_id'];
+                $msg_body = $row['msg_body'];
+
+                if (isset($_POST['del'])){
+                        cpg_db_query("DELETE FROM {$CONFIG['TABLE_COMMENTS']} WHERE msg_id= $msg_id");
+                        echo "{$lang_util_php['comment']} $msg_body {$lang_util_php['nonexist']} $pid - <a href=\"util.php?action=del_orphans&amp;single=$msg_id\">{$lang_util_php['delete']}</a><br />";
+        }
+
+                $count = mysql_num_rows($result);
+        echo "<br /><br />$count {$lang_util_php['orphan_comment']}<br /><br />";
+        if ($count > 1){
+                        echo <<< EOT
+                        <form action="util.php" method="post">
+                                <input type="hidden" name="action" value="del_orphans" />
+                                <input type="hidden" name="del" value="all" />
+                                {$lang_util_php['delete_all_orphans']}
+                                <input type="submit" value="{$lang_util_php['delete_all']}" class="button" />
+                        </form>
+EOT;
+        }
+        }
+}
+
+function reset_views()
+{
+        global $CONFIG, $lang_util_php;
+
+        $albumid = (isset($_POST['albumid'])) ? $_POST['albumid'] : 0;
+        $albstr = ($albumid) ? "WHERE aid = $albumid" : '';
+
+        if (cpg_db_query("UPDATE {$CONFIG['TABLE_PICTURES']} SET hits ='0' $albstr")) echo 'Reset successful';
+
+}
+function refresh_db()
+{
+        global $CONFIG, $lang_util_php;
+
+        $albumid = (isset($_POST['albumid'])) ? $_POST['albumid'] : 0;
+        $albstr = ($albumid) ? "WHERE aid = $albumid" : '';
+        $numpics = $_POST['refresh_numpics'];
+        $startpic = (isset($_POST['refresh_startpic'])) ? $_POST['refresh_startpic'] : 0;
+
+        starttable('100%', "Update results", 3);
+
+        echo "<tr><th class=\"tableh2\">{$lang_util_php['file']}</th><th class=\"tableh2\">{$lang_util_php['problem']}</th><th class=\"tableh2\">{$lang_util_php['status']}</th></tr>";
+
+        $outcome = 'none';
+        $result = cpg_db_query("SELECT * FROM {$CONFIG['TABLE_PICTURES']} $albstr ORDER BY pid ASC LIMIT $startpic, $numpics");
+        $count = mysql_num_rows($result);
+        $found = 0;
+
+        while ($row = mysql_fetch_assoc($result)){
+
+                extract($row, EXTR_PREFIX_ALL, "db");
+                unset($prob);
+
+                $full_pic_url = $CONFIG['fullpath'] . $db_filepath . $db_filename;
+                $thumb_url = $CONFIG['fullpath'] . $db_filepath . $CONFIG['thumb_pfx'] . $db_filename;
+                $normal_url = $CONFIG['fullpath'] . $db_filepath . $CONFIG['normal_pfx'] . $db_filename;
+                $url = '<a href="' . $CONFIG["ecards_more_pic_target"] . (substr($CONFIG["ecards_more_pic_target"], -1) == '/' ? '' : '/') ."displayimage.php?pos=-$db_pid" . '" target="_blank">' . "$db_title ($db_pid)" . '</a>';
+
+                if (@file_exists($full_pic_url)){
+
+                        $filesize = @filesize($full_pic_url);
+                        $dimensions = @getimagesize($full_pic_url);
+
+                        if ($filesize){
+
+                                $thumb_filesize = @filesize($thumb_url);
+                                $normal_filesize = @filesize($normal_url);
+                                $total_filesize = $filesize + $thumb_filesize + $normal_filesize;
+
+                                if ($total_filesize <> $db_total_filesize){
+
+                                        $prob .= "Total filesize is incorrect<br />Database: {$db_total_filesize} bytes<br /> Actual: {$total_filesize} bytes<br />";
+                                        $fs1_upd = @cpg_db_query("UPDATE {$CONFIG['TABLE_PICTURES']} SET total_filesize = '$total_filesize' WHERE pid = '$db_pid' LIMIT 1");
+                                        $outcome = ($fs1_upd) ? 'Updated' : 'Update failed.';
+                                }
+
+                                if ($filesize <> $db_filesize){
+
+                                        $prob .= "Total filesize is incorrect<br />Database: {$db_filesize} bytes<br />Actual: {$filesize} bytes<br />";
+                                        $fs2_upd = @cpg_db_query("UPDATE {$CONFIG['TABLE_PICTURES']} SET filesize = '$filesize' WHERE pid = '$db_pid' LIMIT 1");
+                                        $outcome = ($fs2_upd) ? 'Updated' : 'Update failed.';
+                                }
+                        } else {
+                                $prob .= "Could not obtain file size (may be invalid file), skipping....<br />";
+                                $outcome = "Skipped";
+                        }
+
+                        if ($dimensions){
+                                if (($dimensions[0] <> $db_pwidth) ||  ($dimensions[1] <> $db_pheight)){
+
+                                        $prob .= "Dimensions are incorrect<br />Database: {$db_pwidth}x{$db_pheight}<br />Actual:{$dimensions[0]}x{$dimensions[1]}<br />";
+                                        $dim_upd = @cpg_db_query("UPDATE {$CONFIG['TABLE_PICTURES']} SET `pwidth` = '{$dimensions[0]}', `pheight` = '{$dimensions[1]}' WHERE `pid` = '$db_pid' LIMIT 1");
+                                        $outcome = ($dim_upd) ? 'Updated' : 'Update failed - '.mysql_error();
+                                }
+                        } else {
+                                $prob .= "Could not obtain dimension info, skipping....<br />";
+                                $outcome = "Skipped";
+                        }
+                } else {
+                        $prob .= "File $full_pic_url does not exist !<br />";
+                        $outcome = "Cannot fix";
+                }
+
+                if ($prob){
+
+                        $found++;
+                        echo "<tr><td class=\"tableb\">$url</td><td class=\"tableb\">$prob</td><td class=\"tableb\">$outcome</td></tr>";
+                } else {
+                        echo "<tr><td class=\"tableb\">$url</td><td class=\"tableb\">No problems detected</td><td class=\"tableb\">OK</td></tr>";
+                }
+                my_flush();
+
+        }
+
+        endtable();
+
+        if ($outcome == 'none') echo 'No problems were found.';
+
+        if ($count == $numpics){
+                   $startpic += $numpics;
+                echo <<< EOT
+                        <form action="util.php" method="post">
+                                <input type="hidden" name="action" value="refresh_db" />
+                                <input type="hidden" name="refresh_numpics" value="$numpics" />
+                                <input type="hidden" name="refresh_startpic" value="$startpic" />
+                                <input type="hidden" name="albumid" value="$albumid" />
+                                <input type="submit" value="{$lang_util_php['continue']}" class="button" />
+                        </form>
+EOT;
+        }
+}
+pagefooter();
+ob_end_flush();
+?>
diff -x .svn -aruN 1.4.24.src/versioncheck.php 1.4.25.src/versioncheck.php
--- 1.4.24.src/versioncheck.php	2009-05-26 00:28:28.000000000 -0500
+++ 1.4.25.src/versioncheck.php	2009-06-22 06:57:46.000000000 -0500
@@ -1,7098 +1,7354 @@
-<?php
-/*************************
-  Coppermine Photo Gallery
-  ************************
-  Copyright (c) 2003-2009 Coppermine Dev Team
-  v1.1 originally written by Gregory DEMAR
-
-  This program is free software; you can redistribute it and/or modify
-  it under the terms of the GNU General Public License version 3
-  as published by the Free Software Foundation.
-
-  ********************************************
-  Coppermine version: 1.4.24
-  $HeadURL: https://coppermine.svn.sourceforge.net/svnroot/coppermine/trunk/cpg1.4.x/versioncheck.php $
-  $Revision: 5996 $
-  $Author: gaugau $
-  $Date: 2009-05-26 07:28:52 +0200 (Di, 26 Mai 2009) $
-**********************************************/
-
-define('IN_COPPERMINE', true);
-define('VERSIONCHECK_PHP', true);
-
-require('include/init.inc.php');
-
-if (!GALLERY_ADMIN_MODE) { cpg_die(ERROR, $lang_errors['access_denied'], __FILE__, __LINE__); }
-
-// define some vars
-$optional_files = $_REQUEST['optional_files'];
-$mandatory_files =  $_REQUEST['mandatory_files'];
-$file_versions =  $_REQUEST['file_versions'];
-$webcvs =  $_REQUEST['webcvs'];
-$errors_only =  $_REQUEST['errors_only'];
-$webroot =  $_REQUEST['webroot'];
-$online =  $_REQUEST['online'];
-$additional_info =  $_REQUEST['additional_info'];
-$permissions =  $_REQUEST['permissions'];
-$condensed_output =  $_REQUEST['condensed_output'];
-if (!$_REQUEST['changes']) { // set default settings for options
-    $optional_files = 1;
-    $mandatory_files = 1;
-    $file_versions = 1;
-    $webcvs = '0';
-    $errors_only = 0;
-    $webroot = 0;
-    $online = 1;
-    $additional_info = 1;
-    $permissions = 1;
-    $condensed_output = 0;
-}
-$counter_total_files = 0;
-$counter_file_mandatory_not_exist = 0;
-$counter_file_optional_not_exist = 0;
-$counter_cpg_version_older = 0;
-$counter_cpg_version_younger = 0;
-$counter_cvs_version_older = 0;
-$counter_cvs_version_younger = 0;
-$number_of_columns = 7;
-$line_counter = 0;
-$online_repository_connection = 0;
-$online_repository_url = 'http://coppermine-gallery.net/cpg14x.files.txt';
-if ($webcvs == 0) {$number_of_columns = $number_of_columns-1;}
-if ($file_versions == 0) {$number_of_columns = $number_of_columns-2;}
-
-
-// check if the file is being included as a pop-up; return the stuff from showdoc if true
-if (isset($_REQUEST['pop'])) { // pop-up start
-    $header = $_REQUEST['h'];
-    $text = $_REQUEST['t'];
-    $add_stylesheet = $_REQUEST['css'];
-    $style = $_REQUEST['style'];
-    $close = $_REQUEST['close'];
-    $base = $_REQUEST['base'];
-
-    if ($base != '') {
-        // content of header and text have been base64-encoded - decode it now
-        $header = @unserialize(@base64_decode($header));
-        $text = @unserialize(@base64_decode($text));
-    }
-    if ($close != 1) {
-        $close_link = '<br />&nbsp;<br /><div align="center"><a href="#" class="admin_menu" onclick="window.close();">close</a><br />&nbsp;</div>';
-    }
-    if ($header) {
-        $string = "<html>\n<head>\n<title>".$header."</title>\n" . '<link rel="stylesheet" href="themes/'.$add_stylesheet.'/style.css" />' . "\n</head>\n<body>\n<h2>" . $header . "</h2>\n" . $text . "\n".$close_link."\n</body>\n</html>";
-    }
-    print $string;
-    die;
-} // pop-up end
-
-// check if we're using a version older than cpg1.4.0, if yes use hard-coded language (english)
-if (is_array($lang_versioncheck_php) == false) {
-$older_version = true;
-}
-
-if (function_exists('cpg_display_help') == false ) {
-function cpg_display_help($reference = '', $width = '600', $height = '350') {
-global $CONFIG, $USER;
-if ($reference == '' || $CONFIG['enable_help'] == '0') {return; }
-if ($CONFIG['enable_help'] == '2' && GALLERY_ADMIN_MODE == false) {return; }
-$help_theme = $CONFIG['theme'];
-if ($USER['theme']) {
-    $help_theme = $USER['theme'];
-}
-// check if the help icon is there. If it isn't, display a plain question mark
-if (file_exists('images/help.gif') == true) { $help_icon = '<img src="images/help.gif" width="13" height="11" border="0" alt="" title="'.$lang_versioncheck_php['help'].'" />';
-} else { $help_icon = '<span style="background-color:#FFFAD3;color:#000000;font-weight:bold;border:1px solid black;font-size:8pt;margin:0px;padding:0px" title="'.$lang_versioncheck_php['help'].'"> ? </span>';
-}
-$help_html = "<a href=\"javascript:;\" onclick=\"MM_openBrWindow('".$_SERVER['PHP_SELF']."?pop=1&amp;css=" . $help_theme . "&amp;" . $reference . "','" . uniqid(rand()) . "','scrollbars=yes,toolbar=no,status=no,resizable=yes,width=" . $width . ",height=" . $height . "')\" style=\"cursor:help;text-decoration:none\">".$help_icon."</a>";
-return $help_html;
-}
-}
-
-if ($condensed_output == 1) {$table_width = '-1';} else {$table_width = '100%';}
-
-pageheader($lang_versioncheck_php['title']);
-starttable($table_width, $lang_versioncheck_php['title'], $number_of_columns);
-if ($additional_info != 0) { //display explanation what this file does: start
-echo <<< EOT
-<tr>
-<td colspan="$number_of_columns" class="tableb">{$lang_versioncheck_php['what_it_does']}</td>
-</tr>
-EOT;
-} //display explanation what this file does: start
-echo <<< EOT
-<style type="text/css">
-.green {
-        font-weight: bold;
-        color: green;
-}
-
-.red {
-        font-weight: bold;
-        color: red;
-}
-.yellow {
-        font-weight: bold;
-        color:#FFBE00;
-}
-.tablegreen {
-        color: #CFCFCF;
-        border: 1px solid #CFCFCF;
-        background-color:green;
-        margin: 0px;
-        padding-top: 0px;
-        padding-bottom: 0px;
-        padding-left: 10px;
-        padding-right: 10px;
-}
-.tableyellow {
-        color: black;
-        border: 1px solid #CFCFCF;
-        background-color:#FFBE00;
-        margin: 0px;
-        padding-top: 0px;
-        padding-bottom: 0px;
-        padding-left: 10px;
-        padding-right: 10px;
-}
-.tablered {
-        color: white;
-        border: 1px solid #CFCFCF;
-        background-color:red;
-        margin: 0px;
-        padding-top: 0px;
-        padding-bottom: 0px;
-        padding-left: 10px;
-        padding-right: 10px;
-}
-</style>
-EOT;
-
-if (isset($older_version) && $additional_info != 0) {
-    echo <<<EOT
-    <tr>
-    <td colspan="$number_of_columns" class="tableb">
-    Support for older versions than cpg1.4.x has run out - upgrade!
-    </td>
-    </tr>
-EOT;
-}
-
-// step x: display the options
-$form_output = '<form name="versioncheck_options" action="'.$_SERVER['PHP_SELF'].'" method="get">';
-$form_output .= '<tr>';
-$form_output .= '<td colspan="'.$number_of_columns.'" class="tableh2"><h2>'.$lang_versioncheck_php['options'].'</h2></td>';
-$form_output .= '</tr>';
-$form_output .= '<tr>';
-$form_output .= '<td colspan="'.$number_of_columns.'" class="tableb">';
-
-$form_output .= '<table border="0" cellspacing="0" cellpadding="0" width="100%">';
-$form_output .= '<tr>';
-$form_output .= '<td class="tableb">';
-if($optional_files == 1) {$option_checked = 'checked="checked"';}else{$option_checked = '';}
-$option_checked = $optional_files ? 'checked="checked"' : '';
-$form_output .= '<input type="Checkbox" name="optional_files" id="optional_files" value="1" '.$option_checked.' class="checkbox" /><label for="optional_files" class="clickable_option">'.$lang_versioncheck_php['show_optional_files'].'</label>';
-$form_output .= '</td>';
-$form_output .= '<td class="tableb">';
-if($errors_only == 1) {$option_checked = 'checked="checked"';}else{$option_checked = '';}
-$form_output .= '<input type="Checkbox" name="errors_only" id="errors_only" value="1" '.$option_checked.' class="checkbox" /><label for="errors_only" class="clickable_option">'.$lang_versioncheck_php['show_errors_only'].'</label>';
-$form_output .= '</td>';
-$form_output .= '<td class="tableb">';
-if($webcvs == 0) {$option_checked = 'checked="checked"';}else{$option_checked = '';}
-$form_output .= '<input type="Radio" name="webcvs" id="webcvs1" value="0" '.$option_checked.' class="radio" /><label for="webcvs1" class="clickable_option">'.$lang_versioncheck_php['no_webcvs_link'].'</label>';
-$form_output .= '</td>';
-$form_output .= '</tr>';
-$form_output .= '<tr>';
-$form_output .= '<td class="tableb">';
-if($mandatory_files == 1) {$option_checked = 'checked="checked"';}else{$option_checked = '';}
-$form_output .= '<input type="Checkbox" name="mandatory_files" id="mandatory_files" value="1" '.$option_checked.' class="checkbox" /><label for="mandatory_files" class="clickable_option">'.$lang_versioncheck_php['show_mandatory_files'].'</label>';
-$form_output .= '</td>';
-$form_output .= '<td class="tableb">';
-if($webroot == 1) {$option_checked = 'checked="checked"';}else{$option_checked = '';}
-$form_output .= '<input type="Checkbox" name="webroot" id="webroot" value="1" '.$option_checked.' class="checkbox" /><label for="webroot" class="clickable_option">'.$lang_versioncheck_php['coppermine_in_webroot'].'</label>';
-$form_output .= '</td>';
-$form_output .= '<td class="tableb">';
-if($webcvs == 'stable') {$option_checked = 'checked="checked"';}else{$option_checked = '';}
-$form_output .= '<input type="Radio" name="webcvs" id="webcvs2" value="stable" '.$option_checked.' class="radio" /><label for="webcvs2" class="clickable_option">'.$lang_versioncheck_php['stable_webcvs_link'].'</label>';
-$form_output .= '</td>';
-$form_output .= '</tr>';
-$form_output .= '<tr>';
-$form_output .= '<td class="tableb">';
-if($additional_info == 1) {$option_checked = 'checked="checked"';}else{$option_checked = '';}
-$form_output .= '<input type="Checkbox" name="additional_info" id="additional_info" value="1" '.$option_checked.' class="checkbox" /><label for="additional_info" class="clickable_option">'.$lang_versioncheck_php['show_additional_information'].'</label>';
-$form_output .= '</td>';
-$form_output .= '<td class="tableb">';
-if($online == 1) {$option_checked = 'checked="checked"';}else{$option_checked = '';}
-$form_output .= '<input type="Checkbox" name="online" id="online" value="1" '.$option_checked.' class="checkbox" /><label for="online" class="clickable_option">'.$lang_versioncheck_php['connect_online_repository'].'</label>';
-$form_output .= '</td>';
-$form_output .= '<td class="tableb">';
-if($webcvs == 'devel') {$option_checked = 'checked="checked"';}else{$option_checked = '';}
-$form_output .= '<input type="Radio" name="webcvs" id="webcvs3" value="devel" '.$option_checked.' class="radio" /><label for="webcvs3" class="clickable_option">'.$lang_versioncheck_php['devel_webcvs_link'].'</label>';
-$form_output .= '</td>';
-$form_output .= '</tr>';
-$form_output .= '<tr>';
-$form_output .= '<td class="tableb">';
-if($file_versions == 1) {$option_checked = 'checked="checked"';}else{$option_checked = '';}
-$form_output .= '<input type="Checkbox" name="file_versions" id="file_versions" value="1" '.$option_checked.' class="checkbox" /><label for="file_versions" class="clickable_option">'.$lang_versioncheck_php['show_file_versions'].'</label>';
-$form_output .= '</td>';
-$form_output .= '<td class="tableb">';
-if($permissions == 1) {$option_checked = 'checked="checked"';}else{$option_checked = '';}
-$form_output .= '<input type="Checkbox" name="permissions" id="permissions" value="1" '.$option_checked.' class="checkbox" /><label for="permissions" class="clickable_option">'.$lang_versioncheck_php['show_permissions'].'</label>';
-$form_output .= '</td>';
-$form_output .= '<td class="tableb">';
-if($condensed_output == 1) {$option_checked = 'checked="checked"';}else{$option_checked = '';}
-$form_output .= '<input type="Checkbox" name="condensed_output" id="condensed_output" value="1" '.$option_checked.' class="checkbox" /><label for="condensed_output" class="clickable_option">'.$lang_versioncheck_php['show_condensed_output'].'</label>';
-$form_output .= '</td>';
-$form_output .= '</tr>';
-$form_output .= '<tr>';
-$form_output .= '<td class="tablef">';
-
-$form_output .= '</td>';
-$form_output .= '<td class="tablef" align="center">';
-$form_output .= '<input type="hidden" name="changes" value="1" />';
-$form_output .= '<input type="submit" name="submit" value="'.$lang_versioncheck_php['submit'].'" class="button" />';
-$form_output .= '</td>';
-$form_output .= '<td class="tablef" align="center">';
-$form_output .= '&nbsp;<input type="button" name="reset" value="'.$lang_versioncheck_php['reset_to_defaults'].'" class="button" onclick="location.href=\''.$_SERVER['PHP_SELF'].'\'" />';
-$form_output .= '</td>';
-$form_output .= '</tr>';
-$form_output .= '</table>';
-
-$form_output .= '</td>';
-$form_output .= '</tr>';
-$form_output .= '</form>';
-print $form_output;
-
-
-// step one:  get the data from the online repository
-// connect to the online repository at sourceforge.net
-if ($online != 0) { //  try to connect to the online repository: start
-@ini_set("allow_url_fopen","1");
-$file = @fopen ($online_repository_url, 'r');
-if ($file) {
-    while (!feof ($file)) {
-       $line = fgets ($file, 1024);
-       //if (trim($line) != '') {$line_counter++;}
-       //print 'line '.$line_counter.':'.trim($line).'|<br />';
-       $repository_info = explode ( '|', $line);
-       if ($repository_info[0] == COPPERMINE_VERSION) {
-           $line_counter++;
-           $repository_filename[] = $repository_info[1];
-           $repository_version[$repository_info[1]] = $repository_info[2];
-           $repository_cvs[$repository_info[1]] = $repository_info[3];
-           $repository_needed[$repository_info[1]] = $repository_info[4];
-           $repository_readwrite[$repository_info[1]] = trim(str_replace('@', '', $repository_info[5]));
-       }
-    }
-    if ($line_counter > 0) {$online_repository_connection = 1;}
-    fclose($file);
-    @ini_set("allow_url_fopen","0");
-} // if ($file): end
-} //  try to connect to the online repository: end
-
-
-if ($online_repository_connection != 1) { // connecting to the online repository didn't work or didn't return any data
-    $err_reason1 = sprintf($lang_versioncheck_php['online_repository_reason1'],'<a href="'.$online_repository_url.'">'.$online_repository_url.'</a>');
-    $err_reason2 = sprintf($lang_versioncheck_php['online_repository_reason2'],'<a href="http://www.php.net/manual/en/ref.filesystem.php#ini.allow-url-fopen"><i>allow_url_fopen</i></a>','<a href="http://www.php.net/manual/en/function.ini-set.php"><i>ini_set</i></a>');
-if ($additional_info != 0 && $online == 1) { //display warning that repository connection was not possible: start
-    echo <<<EOT
-    <tr>
-    <td colspan="$number_of_columns" class="tableh2">
-    <h2>{$lang_versioncheck_php['online_repository_unable']}</h2>
-    </td>
-    </tr>
-    <tr><td colspan="$number_of_columns" class="tableb">
-    {$lang_versioncheck_php['online_repository_noconnect']}
-    <ul><li>
-    $err_reason1
-    </li><li>
-    $err_reason2
-    </li></ul>
-    {$lang_versioncheck_php['online_repository_to_local']}
-    </td></tr>
-EOT;
-//display warning that repository connection was not possible: end
-} elseif ($additional_info != 0 && $online != 1)
-{
-    echo <<<EOT
-    <tr>
-    <td colspan="$number_of_columns" class="tableh2">
-    <h2>{$lang_versioncheck_php['online_repository_skipped']}</h2>
-    </td>
-    </tr>
-    <tr><td colspan="$number_of_columns" class="tableb">
-    {$lang_versioncheck_php['online_repository_to_local']}
-    </td></tr>
-EOT;
-}
-
-    $online_repository_connection = 0;
-// use the data that comes with the distribution
-$local_file_name = 'repository.txt';
-$file = cpg_offline_repository();
-$line = explode ( '@', $file);
-    foreach ($line as $value) {
-       $repository_info = explode ( '|', $value);
-       $repository_info[0] = trim($repository_info[0]);
-       if ($repository_info[0] == COPPERMINE_VERSION) {
-           $repository_filename[] = cpg_replace_albums_name($repository_info[1]);
-           $repository_version[$repository_info[1]] = $repository_info[2];
-           $repository_cvs[$repository_info[1]] = $repository_info[3];
-           $repository_needed[$repository_info[1]] = $repository_info[4];
-           $repository_readwrite[$repository_info[1]] = trim($repository_info[5]);
-       }
-    }
-}
-
-$currently_installed = sprintf($lang_versioncheck_php['coppermine_version_info'],'<b>' . COPPERMINE_VERSION . '</b>');
-if ($additional_info != 0) { //display information about current version in use: start
-echo <<<EOT
-<tr>
-<td colspan="$number_of_columns" class="tableh2">
-<h2>{$lang_versioncheck_php['coppermine_version_header']}</h2>
-</td>
-</tr>
-<tr><td colspan="$number_of_columns" class="tableb">
-$currently_installed
-<br />
-{$lang_versioncheck_php['coppermine_version_explanation']}
-</td></tr>
-EOT;
-} //display information about current version in use: end
-
-// step two: draw the table header
-echo <<< EOT
-<tr>
-<td colspan="$number_of_columns" class="tableh2">
-<h2>{$lang_versioncheck_php['version_comparison']}</h2>
-</td>
-</tr>
-<tr>
-    <td class="tablef"><b>{$lang_versioncheck_php['folder_file']}</b></td>
-    <td class="tablef" colspan="2"><b>{$lang_versioncheck_php['coppermine_version']}</b></td>
-EOT;
-
-if ($file_versions != 0) {print '    <td class="tablef" colspan="2"><b>'.$lang_versioncheck_php['file_version'].'</b></td>';}
-if ($webcvs != '0') {print '    <td class="tablef"><b>'.$lang_versioncheck_php['webcvs'].'</b></td>';}
-print '</tr>';
-
-
-
-
-// step three: go through all files that exist in the repository and check if they're on the webserver as well
-if ($webroot == 1) {
-$dir = ''; // this is the place to start browsing for root folders
-} else {
-$dir = '../'.cpg_get_coppermine_path().'/'; // this is the place to start browsing
-}
-
-if (is_array($repository_filename)) {
-    foreach ($repository_filename as $rep_file) { //foreach start
-        $counter_total_files++;
-        $file_info = cpg_get_path_and_file($rep_file);
-        cpg_output_version_row(cpg_get_fileversion($dir.$file_info['path'], $file_info['file']), $file_info, $file_info['file']);
-    } //foreach end
-} else {
-echo <<<EOT
-<tr>
-<td colspan="$number_of_columns" class="tableb"><b>{$lang_versioncheck_php['error_no_data']}</b></td>
-</tr>
-EOT;
-}
-
-// show summary
-$number_of_columns_minus_one = $number_of_columns - 1;
-if ($counter_file_mandatory_not_exist == 0){$style_mandatory_files='';}else{$style_mandatory_files='red';}
-if ($counter_file_optional_not_exist == 0){$style_optional_files='';}else{$style_optional_files='yellow';}
-if ($counter_cpg_version_older == 0){$style_cpg_version_older='tableb';}else{$style_cpg_version_older='tablered';}
-if ($counter_cvs_version_older == 0){$style_cvs_version_older='tableb';}else{$style_cvs_version_older='tablered';}
-
-echo <<<EOT
-<tr>
-  <td colspan="$number_of_columns" class="tableh2">
-    <h2>{$lang_versioncheck_php['summary']}</h2>
-  </td>
-</tr>
-<tr>
-  <td class="tableb">
-    {$lang_versioncheck_php['total']}:
-  </td>
-  <td colspan="$number_of_columns_minus_one" class="tableb">
-    $counter_total_files
-  </td>
-</tr>
-<tr>
-  <td class="tableb">
-    {$lang_versioncheck_php['mandatory_files_missing']}:
-  </td>
-  <td colspan="$number_of_columns_minus_one" class="tableb">
-    <span class="$style_mandatory_files">
-    $counter_file_mandatory_not_exist
-    </span>
-  </td>
-</tr>
-<tr>
-  <td class="tableb">
-    {$lang_versioncheck_php['optional_files_missing']}:
-  </td>
-  <td colspan="$number_of_columns_minus_one" class="tableb">
-    <span class="$style_optional_files">
-    $counter_file_optional_not_exist
-    </span>
-  </td>
-</tr>
-<tr>
-  <td class="tableb">
-    {$lang_versioncheck_php['files_from_older_version']}:
-  </td>
-  <td colspan="$number_of_columns_minus_one" class="$style_cpg_version_older">
-    $counter_cpg_version_older
-  </td>
-</tr>
-<tr>
-  <td class="tableb">
-    {$lang_versioncheck_php['file_version_outdated']}:
-  </td>
-  <td colspan="$number_of_columns_minus_one" class="$style_cvs_version_older">
-    $counter_cvs_version_older
-  </td>
-</tr>
-EOT;
-
-
-endtable();
-print '<br />';
-pagefooter();
-
-
-////////////////////////////////// functions ///////////////////////////////
-
-function cpg_get_coppermine_path() {
-global $ORIGINAL_PHP_SELF;
-$return = str_replace('/', '',strrchr(str_replace('/'.str_replace('/', '',strrchr($ORIGINAL_PHP_SELF, '/')), '', $ORIGINAL_PHP_SELF),'/'));
-return $return;
-}
-
-function cpg_get_path_and_file($string) {
-    // check if $string contains delimiter that triggers replacement
-    $delimiter = '**';
-    while (strstr($string, $delimiter) == TRUE) {
-        $string = cpg_replace_vars_from_config($string, $delimiter);
-    }
-    $return['path'] = str_replace(str_replace('/', '', strrchr($string, '/')), '', $string);
-    $return['file'] = str_replace('/', '', strrchr($string, '/'));
-    if (strstr($return['path'], '.') != FALSE && $return['file'] == '') {
-        $return['file'] = $return['path'];
-        $return['path'] = '';
-    }
-    if (strstr($return['file'], '.') == FALSE) {
-        $return['path'] = $return['path'].$return['file'];
-        $return['file'] = '';
-    }
-    return $return;
-}
-
-function cpg_replace_vars_from_config($string, $delimiter = '**') {
-  global $CONFIG;
-  // check the string for $delimiter and replace the stuff within $delimiter with the config values
-  $asterisk = '';
-  $asterisk = strstr($string, $delimiter); // now the full string starting from the first $delimiter is in $asterrisk
-  $asterisk = ltrim($asterisk, $delimiter); // trim the first to $delimiter
-  $asterisk = str_replace(strstr($asterisk, $delimiter), '', $asterisk); // trim the bits after and including the remaining $delimiter. Now $asterisk contains only the keyword
-  // replace the keyword and $delimiter in $string with the actual $CONFIG value
-  $string = str_replace($delimiter.$asterisk.$delimiter, rtrim($CONFIG[$asterisk],'/'), $string);
-  return $string;
-}
-
-function cpg_get_fileversion($folder  = '',$file = '') {
-    $handle = @fopen($folder.$file, 'r');
-    $blob = @fread($handle, filesize($folder.$file));
-    @fclose($handle);
-    $cvs_string1 = '$'.'I'.'d'.':';
-    $cvs_string2 = '$'.'Revision'.':';
-    $cpg_version_determination = 'Coppermine' . ' ' . 'version:';
-
-    $blob = str_replace('<?php','',$blob);
-
-    // Determine the cpg version
-    $return['cpg_version'] = substr($blob,strpos($blob, $cpg_version_determination)); // chop off the first bit up to the string $cpg_version_determination
-    $double_slash_position = strpos($return['cpg_version'], '//');
-    if ($double_slash_position) {
-       $return['cpg_version'] = substr($return['cpg_version'],0,$double_slash_position);
-    }
-    $return['cpg_version'] = trim(str_replace($cpg_version_determination, '', $return['cpg_version']));
-    $return['cpg_version'] = trim(str_replace('#', '', $return['cpg_version']));
-    $return['cpg_version'] = trim(substr($return['cpg_version'], 0, strpos($return['cpg_version'], '$')));
-    if (strlen($return['cpg_version']) > 6) {$return['cpg_version']='n/a';}
-
-    // Fallback to the "old" cpg version determination method if no result (for compatibility with older versions)
-    if ($return['cpg_version'] == '') {
-      $return['cpg_version'] = substr($blob,strpos($blob, 'Coppermine Photo Gallery'));
-      $return['cpg_version'] = substr($return['cpg_version'],0,strpos($return['cpg_version'], '//'));
-      $return['cpg_version'] = trim(str_replace('Coppermine Photo Gallery', '', $return['cpg_version']));
-      if (strlen($return['cpg_version']) > 6) {$return['cpg_version']='n/a';}
-    }
-
-    // Determine file (cvs) revision
-    $return['cvs_version'] = str_replace($cvs_string2, '', substr($blob,strpos($blob, $cvs_string2),25));
-    $return['cvs_version'] = trim(substr($return['cvs_version'], 0, strpos($return['cvs_version'], '$')));
-
-    // Fallback to the "old" revision determination method if no result (for compatibility with older versions)
-    if ($return['cvs_version'] == '' || !is_numeric($return['cvs_version'])) {
-      $return['cvs_version'] = substr($blob,strpos($blob, $cvs_string1));
-      $return['cvs_version'] = substr($return['cvs_version'],0,strpos($return['cvs_version'], 'Exp'));
-      $return['cvs_version'] = str_replace($cvs_string1, '', $return['cvs_version']);
-      // get rid of the filename inside the string
-      $return['cvs_version'] = trim(str_replace($file.',v ', '',$return['cvs_version']));
-      $return['cvs_version'] = str_replace('v ', '', $return['cvs_version']);
-      //if ($file=='picmgmt.inc.php' || $file=='index.php') {print $folder.$file.':'.$return['cvs_version'].'<br />';}
-      $return['cvs_version'] = trim(str_replace(strstr($return['cvs_version'], ' '), '', $return['cvs_version']));
-    }
-    if (strlen($return['cvs_version']) > 5) {$return['cvs_version']='n/a';}
-
-    if (file_exists($folder.$file)) {
-        $return['exists'] = 1;
-    } else {
-        $return['exists'] = 0;
-    }
-
-    if($file == '') { //we have a folder here. Check if it's writable
-        $return['writable'] = cpg_is_writable($folder);
-    }
-// check for the existance of a folder
-$return['is_dir'] = 0;
-if ($file == '') {
-if ($handle = @opendir($folder.$file)) {
-$return['is_dir'] = 1;
-@closedir($handle);
-}
-}
-return $return;
-}
-
-function cpg_is_writable($folder)
-{
-$return = 0;
-$file_content = "this is just a test file that hasn't been deleted properly.\nIt's safe to delete it now";
-@unlink($folder.'/cpgvc_tf.txt');
-if ($fd = @fopen($folder.'/cpgvc_tf.txt', 'w')) {
-    @fwrite($fd, $file_content);
-    @fclose($fd);
-    @unlink($folder.'/cpgvc_tf.txt');
-    $return = 1;
-} else {
-    $return = -1;
-}
-return $return;
-}
-
-function cpg_output_version_row($file_version_info = '', $file_path = '', $cpg_is_file='') {
-global $repository_filename, $repository_version, $repository_cvs, $repository_needed, $repository_readwrite, $lang_versioncheck_php, $counter_file_mandatory_not_exist, $counter_file_optional_not_exist, $counter_cpg_version_older, $counter_cpg_version_younger, $counter_cvs_version_older, $counter_cvs_version_younger, $optional_files, $webcvs, $file_versions, $errors_only,$permissions, $mandatory_files;
-$file_complete_path = $file_path['path'].$file_path['file'];
-// don't return anything if the options are set to filter optional files the actual file IS optional
-if ($optional_files != 1 && $repository_needed[$file_complete_path] == 'optional') {return;}
-if ($mandatory_files != 1 && $repository_needed[$file_complete_path] == 'mandatory') {return;}
-$error_counter = 0;
-ob_start(); // stop output temporarily
-print '<tr>';
-print '<td class="tableb">';
-print '<a href="'.$file_path['path'].$file_path['file'].'">';
-if ($cpg_is_file == '') {
-print '<img src="images/folder.gif" width="16" height="16" border="0" alt="" title="" align="left" style="margin-left:0px;margin-right:10px" />';
-} else {
-print '<img src="images/spacer.gif" width="10" height="15" border="0" alt="" title="" style="border:1px solid black;margin-left:2px;margin-right:12px;background-color:#FFFFFF" align="left">';
-}
-print '</a>';
-$help_ouput = '';
-if ($file_version_info['exists'] == 1) {
-    $stylecolor = '';
-    $helptitle = '';
-} else {
-    if ($repository_needed[$file_complete_path] == 'optional') {
-        $stylecolor = 'yellow';
-        $helptitle = $lang_versioncheck_php['help_file_not_exist_optional1'];
-        $helpoutput = sprintf($lang_versioncheck_php['help_file_not_exist_optional2'], '&quot;<i>'.$file_complete_path.'</i>&quot;');
-        $counter_file_optional_not_exist++;
-        $error_counter++;
-    } else {
-        $stylecolor = 'red';
-        $helptitle = $lang_versioncheck_php['help_file_not_exist_mandatory1'];
-        $helpoutput = sprintf($lang_versioncheck_php['help_file_not_exist_mandatory2'], '&quot;<i>'.$file_complete_path.'</i>&quot;');
-        $counter_file_mandatory_not_exist++;
-        $error_counter++;
-    }
-}
-print '<span class="'.$stylecolor.'" title="'.$helptitle.'">';
-print $file_path['path'];
-print $file_path['file'];
-print '</span>';
-if ($stylecolor != '') {
-    print '&nbsp;';
-    print cpg_display_help('f=index.html&amp;base=64&amp;h='.urlencode(base64_encode(serialize($helptitle))).'&amp;t='.urlencode(base64_encode(serialize($helpoutput))),400,150);
-}
-
-
-// writable ? start
-if (!$cpg_is_file && $permissions == 1) { // we have a folder: start
-    $stylecolor = '';
-    $writable_output = '';
-    $helptitle = '';
-    $helpoutput = '';
-    // check if the writable icon is there. If it isn't, display a plain text
-    if (file_exists('images/writable_true_wrong.gif') == true && file_exists('images/writable_true_right.gif') == true && file_exists('images/writable_false_wrong.gif') == true && file_exists('images/writable_false_right.gif') == true) { // image files exist: start
-        $writable_true_wrong = '<img src="images/writable_true_wrong.gif" width="13" height="15" border="0" alt="" style="" title="'.$lang_versioncheck_php['writable'].'" />';
-        $writable_true_right = '<img src="images/writable_true_right.gif" width="13" height="15" border="0" alt="" style="" title="'.$lang_versioncheck_php['writable'].'" />';
-        $writable_false_wrong = '<img src="images/writable_false_wrong.gif" width="13" height="15" border="0" alt="" style="" title="'.$lang_versioncheck_php['not_writable'].'" />';
-        $writable_false_right = '<img src="images/writable_false_right.gif" width="13" height="15" border="0" alt="" style="" title="'.$lang_versioncheck_php['not_writable'].'" />';
-        $writable_false_undetermined = '<img src="images/writable_false_wrong.gif" width="13" height="15" border="0" alt="" style="border-width:1px;border-style:solid;border-color:yellow;" title="?" />';
-    } else { // image files exist: end
-        $writable_true_wrong = '(<span class="yellow">'.$lang_versioncheck_php['writable'].'</span>)';
-        $writable_true_right = '(<span class="green">'.$lang_versioncheck_php['writable'].'</span>)';
-        $writable_false_wrong = '(<span class="red">'.$lang_versioncheck_php['not_writable'].'</span>)';
-        $writable_false_right = '(<span class="green">'.$lang_versioncheck_php['not_writable'].'</span>)';
-        $writable_false_undetermined = '(<span class="yellow">?</span>';
-    }
-    if ($repository_readwrite[$file_complete_path] == 'w') {
-        if ($file_version_info['writable'] == '-1') {
-            $stylecolor = 'red';
-            $writable_output = $writable_false_wrong;
-            $helptitle = $lang_versioncheck_php['help_not_writable1'];
-            $helpoutput = sprintf($lang_versioncheck_php['help_not_writable2'], '&quot;<i>'.$file_complete_path.'</i>&quot;');
-            $error_counter++;
-        } elseif ($file_version_info['writable'] == 1) {
-            $stylecolor = 'green';
-            $writable_output = $writable_true_right;
-        } elseif ($file_version_info['writable'] == 0) {
-            $stylecolor = 'yellow';
-            $writable_output = $writable_false_undetermined;
-            $helptitle = $helptitle = $lang_versioncheck_php['help_not_writable1'];
-            $helpoutput = sprintf($lang_versioncheck_php['help_writable_undetermined'], '&quot;<i>'.$file_complete_path.'</i>&quot;');
-            $error_counter++;
-        }
-    } elseif ($repository_readwrite[$file_complete_path] == 'r') {
-        if ($file_version_info['writable'] == '-1') {
-            $stylecolor = 'green';
-            $writable_output = $writable_false_right;
-        } elseif ($file_version_info['writable'] == 1) {
-            $stylecolor = 'yellow';
-            $writable_output = $writable_true_wrong;
-            $helptitle = $lang_versioncheck_php['help_writable1'];
-            $helpoutput = sprintf($lang_versioncheck_php['help_writable2'], '&quot;<i>'.$file_complete_path.'</i>&quot;');
-            $error_counter++;
-        } elseif ($file_version_info['writable'] == 0) {
-            $stylecolor = 'yellow';
-            $writable_output = $writable_false_undetermined;
-            $helptitle = $lang_versioncheck_php['help_not_writable1'];
-            $helpoutput = sprintf($lang_versioncheck_php['help_writable_undetermined'], '&quot;<i>'.$file_complete_path.'</i>&quot;');
-            $error_counter++;
-        }
-    }
-    print ' ';
-    print $writable_output;
-    if ($helptitle != '') {
-        print '&nbsp;';
-        print cpg_display_help('f=index.html&amp;base=64&amp;h='.urlencode(base64_encode(serialize($helptitle))).'&amp;t='.urlencode(base64_encode(serialize($helpoutput)).'&amp;css=1'),400,150);
-        $helptitle = '';
-        $helpoutput = '';
-    }
-} // we have a folder: end
-// writable ? end
-
-
-print '</td>';
-// cpg version start
-    $cvs_version_check = 'enable';
-    if (!$repository_version[$file_complete_path]) {
-        $repository_version[$file_complete_path] = '?';
-    }
-    if ($file_version_info['exists'] != 1)
-    {
-        print '<td class="tableb" colspan="2" align="center">-</td><td class="tableb">';
-        $helptitle = '';
-    } elseif (!$file_version_info['cpg_version'] && $repository_version[$file_complete_path] == '?') {
-        print '<td class="tableb" colspan="2" align="center">';
-        print 'n/a';
-    } elseif ((!$file_version_info['cpg_version'] || $file_version_info['cpg_version'] == 'n/a') && $repository_version[$file_complete_path] != '?') {
-        $cvs_version_check = 'disable';
-        print '<td class="tableb" align="right" title="'.$lang_versioncheck_php['your_file'].'">';
-        print '?';
-        print cpg_vc_help($lang_versioncheck_php['help_no_local_version1'],$lang_versioncheck_php['help_no_local_version2']);
-        print '</td><td class="tableb" title="'.$lang_versioncheck_php['reference_file'].'">';
-        print $repository_version[$file_complete_path];
-        $counter_cpg_version_older++;
-        $error_counter++;
-    } elseif ((!$file_version_info['cpg_version'] || $file_version_info['cpg_version'] == 'n/a') && $repository_version[$file_complete_path] == '?') {
-        $cvs_version_check = 'disable';
-        print '<td class="tableb" colspan="2" align="center">';
-        print '-';
-    } elseif ($file_version_info['cpg_version'] == $repository_version[$file_complete_path]) {
-        print '<td class="tablegreen" align="right" class="green" title="'.$lang_versioncheck_php['your_file'].'">';
-        print $file_version_info['cpg_version'];
-        print '</td><td class="tablegreen" title="'.$lang_versioncheck_php['reference_file'].'">';
-        print $file_version_info['cpg_version'];
-    } elseif ($file_version_info['cpg_version'] < $repository_version[$file_complete_path]) {
-        $cvs_version_check = 'disable';
-        print '<td class="tablered" align="right" title="'.$lang_versioncheck_php['your_file'].'">';
-        print $file_version_info['cpg_version'];
-        print cpg_vc_help($lang_versioncheck_php['help_local_version_outdated1'],$lang_versioncheck_php['help_local_version_outdated2']);
-        print '</td><td class="tableb" title="'.$lang_versioncheck_php['reference_file'].'">';
-        print $repository_version[$file_complete_path];
-        $counter_cpg_version_older++;
-        $error_counter++;
-    } elseif ($file_version_info['cpg_version'] > $repository_version[$file_complete_path]) {
-        $cvs_version_check = 'disable';
-        print '<td class="tableb" align="right" title="'.$lang_versioncheck_php['your_file'].'">';
-        print $file_version_info['cpg_version'];
-        print '</td><td class="tableyellow" title="'.$lang_versioncheck_php['reference_file'].'">';
-        print $repository_version[$file_complete_path];
-        print cpg_vc_help($lang_versioncheck_php['help_local_version_dev1'],$lang_versioncheck_php['help_local_version_dev2']);
-        $counter_cpg_version_younger++;
-        $error_counter++;
-    } else {
-        $cvs_version_check = 'disable';
-        print '<td class="tablered" align="right" title="'.$lang_versioncheck_php['your_file'].'">';
-        print $file_version_info['cpg_version'];
-        print '</td><td class="tablered" title="'.$lang_versioncheck_php['reference_file'].'">';
-        print $repository_version[$file_complete_path];
-        $counter_cpg_version_older++;
-        $error_counter++;
-    }
-// cpg version end
-print '</td>';
-if ($file_versions == 1) { //display file versions: start
-//print '<td class="tableb">';
-// cvs version start
-    $helptitle = '';
-    if($file_version_info['cvs_version'] == '//') {$file_version_info['cvs_version'] = '';}
-    if ($cvs_version_check != 'disable') {
-        if (!$repository_cvs[$file_complete_path]) {
-            $repository_cvs[$file_complete_path] = '?';
-        }
-        if ($file_version_info['exists'] != 1)
-        {
-            print '<td class="tableb" colspan="2" align="center">-';
-        } elseif (!$file_version_info['cvs_version'] && $repository_cvs[$file_complete_path] == '?') {
-            print '<td class="tableb" colspan="2" align="center">n/a';
-        } elseif ($file_version_info['cvs_version'] == 'n/a' && $file_version_info['cvs_version'] == 'n/a') {
-            print '<td class="tableb" colspan="2" align="center" title="'.$lang_versioncheck_php['your_file'].'">n/a';
-        } elseif (!$file_version_info['cvs_version'] || $file_version_info['cvs_version'] == 'n/a') {
-            print '<td class="tablered" align="right" title="'.$lang_versioncheck_php['your_file'].'">';
-            print $file_version_info['cvs_version'];
-            print cpg_vc_help($lang_versioncheck_php['help_local_version_na1'],$lang_versioncheck_php['help_local_version_na2']);
-            print '</td>';
-            print '<td class="tableb" title="'.$lang_versioncheck_php['reference_file'].'">';
-            print $repository_cvs[$file_complete_path];
-            $counter_cvs_version_older++;
-            $error_counter++;
-        } elseif (cpg_version_compare($file_version_info['cvs_version']) == cpg_version_compare($repository_cvs[$file_complete_path])) {
-            print '<td class="tablegreen" align="right" title="'.$lang_versioncheck_php['your_file'].'">';
-            print $file_version_info['cvs_version'];
-            print '</td>';
-            print '<td class="tablegreen" align="left" title="'.$lang_versioncheck_php['reference_file'].'">';
-            print $repository_cvs[$file_complete_path];
-        } elseif (cpg_version_compare($file_version_info['cvs_version']) < cpg_version_compare($repository_cvs[$file_complete_path])) {
-            print '<td class="tablered" align="right" title="'.$lang_versioncheck_php['your_file'].'">';
-            print $file_version_info['cvs_version'];
-            print cpg_vc_help($lang_versioncheck_php['help_local_version_outdated1'],$lang_versioncheck_php['help_local_version_outdated2']);
-            print '</td>';
-            print '<td class="tableb" title="'.$lang_versioncheck_php['reference_file'].'">';
-            print $repository_cvs[$file_complete_path];
-            $counter_cvs_version_older++;
-            $error_counter++;
-        } elseif (cpg_version_compare($file_version_info['cvs_version']) > cpg_version_compare($repository_cvs[$file_complete_path])) {
-            print '<td class="tableb" align="right" title="'.$lang_versioncheck_php['your_file'].'">';
-            print $file_version_info['cvs_version'];
-            print '</td>';
-            print '<td class="tableyellow" title="'.$lang_versioncheck_php['reference_file'].'">';
-            print $repository_cvs[$file_complete_path];
-            print cpg_vc_help($lang_versioncheck_php['help_local_version_dev1'],$lang_versioncheck_php['help_local_version_dev2']);
-            $counter_cvs_version_younger++;
-            $error_counter++;
-        } else {
-            print '<td class="tablered" align="right" title="'.$lang_versioncheck_php['your_file'].'">';
-            print $file_version_info['cvs_version'];
-            print cpg_vc_help($lang_versioncheck_php['help_local_version_outdated1'],$lang_versioncheck_php['help_local_version_outdated2']);
-            print '</td>';
-            print '<td class="tablered" title="'.$lang_versioncheck_php['reference_file'].'">';
-            print $repository_cvs[$file_complete_path];
-            $counter_cvs_version_older++;
-            $error_counter++;
-        }
-    } else {
-            print '<td class="tableb" colspan="2" align="center">-</td>';
-    }
-// cvs version end
-print '</td>';
-} //display file versions: end
-if ($webcvs != '0') {
-print '<td class="tableb">';
-// web cvs start
-$webcvslink = 'http://svn.sourceforge.net/viewcvs.cgi/coppermine/trunk/';
-if ($webcvs == "devel") {$webcvslink .= 'cpg1.5.x/';} else {$webcvslink .= 'cpg1.4.x/';}
-$webcvslink .= $file_complete_path;
-print sprintf($lang_versioncheck_php['go_to_webcvs'],'<a href="'.$webcvslink.'">'.$lang_versioncheck_php['webcvs'].'</a>');
-// web cvs end
-print "</td>";
-}
-print "</tr>\n";
-$string = ob_get_contents();
-ob_end_clean();
-// don't return anything if the options are set to filter stuff and the conditions match
-if ($errors_only == '1' && $error_counter == 0) {return;}
-print $string;
-} //end of function
-
-function cpg_replace_albums_name($path) {
-global $CONFIG;
-//split the $path var
-$second_part = ltrim(strstr($path, '/'),'/');
-$first_part = str_replace($second_part, '', $path);
-$third_part = ltrim(strstr($second_part, '/'),'/');
-$second_part = str_replace($third_part, '', $second_part);
-if ($first_part == 'albums/') {$first_part = $CONFIG['fullpath'];}
-if ($second_part == 'userpics/') {$second_part = $CONFIG['userpics'];}
-if ($second_part == 'userpics' && $third_part == '') {$second_part = rtrim($CONFIG['userpics'], '/');}
-$return = $first_part.$second_part.$third_part;
-if ($return == 'albums'){$return = rtrim($CONFIG['fullpath'], '/');}
-return $return;
-}
-
-function cpg_version_compare($version)
-{
-    $return = '';
-    $version_info = explode ( '.', $version);
-    for ($i=0;$i<count($version_info);$i++) {
-        $power = @pow('100',count($version_info)-$i)*$version_info[$i];
-        $return = $return + $power;
-    }
-    return $return;
-}
-
-function cpg_vc_help($helptitle='',$helpoutput='') {
-   $return= '';
-   if ($helptitle != '') {
-      $return = '&nbsp;';
-      $return .= cpg_display_help('f=index.html&amp;base=64&amp;h='.urlencode(base64_encode(serialize($helptitle))).'&amp;t='.urlencode(base64_encode(serialize($helpoutput))),400,150);
-
-   }
-   return $return;
-}
-
-function cpg_offline_repository() {
-$return = '
-1.4.0|addfav.php|1.4.0|1.15|mandatory|r@
-1.4.0|addpic.php|1.4.0|1.11|mandatory|r@
-1.4.0|admin.php|1.4.0|1.14|mandatory|r@
-1.4.0|albmgr.php|1.4.0|1.13|mandatory|r@
-1.4.0|anycontent.php|1.4.0|1.10|mandatory|r@
-1.4.0|banning.php|1.4.0|1.20|mandatory|r@
-1.4.0|bridgemgr.php|1.4.0|1.13|mandatory|r@
-1.4.0|calendar.php|1.4.0|1.2|mandatory|r@
-1.4.0|catmgr.php|1.4.0|1.22|mandatory|r@
-1.4.0|db_ecard.php|1.4.0|1.11|mandatory|r@
-1.4.0|db_input.php|1.4.0|1.39|mandatory|r@
-1.4.0|delete.php|1.4.0|1.18|mandatory|r@
-1.4.0|displayecard.php|1.4.0|1.9|mandatory|r@
-1.4.0|displayimage.php|1.4.0|1.84|mandatory|r@
-1.4.0|ecard.php|1.4.0|1.23|mandatory|r@
-1.4.0|editOnePic.php|1.4.0|1.27|mandatory|r@
-1.4.0|editpics.php|1.4.0|1.29|mandatory|r@
-1.4.0|exifmgr.php|1.4.0|1.6|mandatory|r@
-1.4.0|faq.php|1.4.0|1.5|mandatory|r@
-1.4.0|forgot_passwd.php|1.4.0|1.12|mandatory|r@
-1.4.0|getlang.php|1.4.0|1.8|mandatory|r@
-1.4.0|groupmgr.php|1.4.0|1.19|mandatory|r@
-1.4.0|hitDetails.php|1.4.0|1.1|mandatory|r@
-1.4.0|image_processor.php|1.4.0|1.16|mandatory|r@
-1.4.0|index.php|1.4.0|1.71|mandatory|r@
-1.4.0|install.php|1.4.0|1.26|mandatory|r@
-1.4.0|installer.css|1.4.0|1.5|mandatory|r@
-1.4.0|keyword_create_dict.php|1.4.0|1.3|mandatory|r@
-1.4.0|keyword_select.php|1.4.0|1.3|mandatory|r@
-1.4.0|keywordmgr.php|1.4.0|1.4|mandatory|r@
-1.4.0|login.php|1.4.0|1.18|mandatory|r@
-1.4.0|logout.php|1.4.0|1.5|mandatory|r@
-1.4.0|mode.php|1.4.0|1.2|mandatory|r@
-1.4.0|modifyalb.php|1.4.0|1.23|mandatory|r@
-1.4.0|phpinfo.php|1.4.0|1.8|mandatory|r@
-1.4.0|picEditor.php|1.4.0|1.19|mandatory|r@
-1.4.0|picmgr.php|1.4.0|1.7|mandatory|r@
-1.4.0|pluginmgr.php|1.4.0|1.12|mandatory|r@
-1.4.0|profile.php|1.4.0|1.32|mandatory|r@
-1.4.0|ratepic.php|1.4.0|1.11|mandatory|r@
-1.4.0|register.php|1.4.0|1.20|mandatory|r@
-1.4.0|reviewcom.php|1.4.0|1.14|mandatory|r@
-1.4.0|scripts.js|1.4.0|1.7|mandatory|r@
-1.4.0|search.php|1.4.0|1.8|mandatory|r@
-1.4.0|searchnew.php|1.4.0|1.38|mandatory|r@
-1.4.0|showthumb.php|1.4.0|1.8|mandatory|r@
-1.4.0|thumbnails.php|1.4.0|1.20|mandatory|r@
-1.4.0|update.php|1.4.0|1.17|mandatory|r@
-1.4.0|upgrade-1.0-to-1.2.php|1.4.0|1.7|mandatory|r@
-1.4.0|upload.php|1.4.0|1.60|mandatory|r@
-1.4.0|usermgr.php|1.4.0|1.29|mandatory|r@
-1.4.0|util.php|1.4.0|1.23|mandatory|r@
-1.4.0|versioncheck.php|1.4.0|1.41|mandatory|r@
-1.4.0|viewlog.php|1.4.0|1.8|mandatory|r@
-1.4.0|voteDetails.php|1.4.0|1.1|mandatory|r@
-1.4.0|xp_publish.php|1.4.0|1.23|mandatory|r@
-1.4.0|zipdownload.php|1.4.0|1.8|mandatory|r@
-1.4.0|albums|||mandatory|w@
-1.4.0|albums/index.html||1.2|mandatory|w@
-1.4.0|albums/edit/index.html|||mandatory|w@
-1.4.0|albums/edit|||mandatory|w@
-1.4.0|albums/edit/index.html|||mandatory|w@
-1.4.0|albums/userpics|||mandatory|w@
-1.4.0|albums/userpics/index.html||1.2|mandatory|w@
-1.4.0|bridge/invisionboard.inc.php|1.4.0|1.19|optional|r@
-1.4.0|bridge/mambo.inc.php|1.4.0|1.7|optional|r@
-1.4.0|bridge/phpbb.inc.php|1.4.0|1.29|optional|r@
-1.4.0|bridge/smf.inc.php|1.4.0|1.27|optional|r@
-1.4.0|bridge/vbulletin23.inc.php|1.4.0|1.13|optional|r@
-1.4.0|bridge/vbulletin30.inc.php|1.4.0|1.15|optional|r@
-1.4.0|bridge/woltlab21.inc.php|1.4.0|1.18|optional|r@
-1.4.0|bridge/yabbse.inc.php|1.4.0|1.30|optional|r@
-1.4.0|docs|||mandatory|r@
-1.4.0|docs/credits.html||1.12|optional|r@
-1.4.0|docs/faq.htm|||optional|r@
-1.4.0|docs/index.htm||1.12|mandatory|r@
-1.4.0|docs/README.html||1.17|optional|r@
-1.4.0|docs/showdoc.php|1.4.0|1.11|mandatory|r@
-1.4.0|docs/theme.htm|||optional|r@
-1.4.0|docs/translation.htm|||optional|r@
-1.4.0|docs/pics|||mandatory|r@
-1.4.0|include|||mandatory|w@
-1.4.0|include/archive.php|1.4.0|1.3|mandatory|r@
-1.4.0|include/config.inc.php|||mandatory|r@
-1.4.0|include/crop.inc.php|1.4.0|1.11|mandatory|r@
-1.4.0|include/debugger.inc.php|1.4.0|1.5|mandatory|r@
-1.4.0|include/exif.php|1.4.0|1.3|mandatory|r@
-1.4.0|include/exif_php.inc.php|1.4.0|1.13|mandatory|r@
-1.4.0|include/exifReader.inc.php|1.4.0|1.5|mandatory|r@
-1.4.0|include/functions.inc.php|1.4.0|1.134|mandatory|r@
-1.4.0|include/imageObjectGD.class.php|1.4.0|1.6|mandatory|r@
-1.4.0|include/imageObjectIM.class.php|1.4.0|1.6|mandatory|r@
-1.4.0|include/index.html|||mandatory|r@
-1.4.0|include/init.inc.php|1.4.0|1.71|mandatory|r@
-1.4.0|include/iptc.inc.php|1.4.0|1.6|mandatory|r@
-1.4.0|include/keyword.inc.php|1.4.0|1.4|mandatory|r@
-1.4.0|include/langfallback.inc.php|1.4.0|1.24|mandatory|r@
-1.4.0|include/logger.inc.php|1.4.0|1.12|mandatory|r@
-1.4.0|include/mailer.inc.php|1.4.0|1.10|mandatory|r@
-1.4.0|include/media.functions.inc.php|1.4.0|1.9|mandatory|r@
-1.4.0|include/picmgmt.inc.php|1.4.0|1.27|mandatory|r@
-1.4.0|include/plugin_api.inc.php|1.4.0|1.11|mandatory|r@
-1.4.0|include/search.inc.php|1.4.0|1.11|mandatory|r@
-1.4.0|include/select_lang.inc.php|1.4.0|1.7|mandatory|r@
-1.4.0|include/slideshow.inc.php|1.4.0|1.10|mandatory|r@
-1.4.0|include/smilies.inc.php|1.4.0|1.12|mandatory|r@
-1.4.0|include/smtp.inc.php|1.4.0|1.2|mandatory|r@
-1.4.0|include/sql_parse.php|1.4.0|1.5|mandatory|r@
-1.4.0|include/zip.lib.php|1.4.0|1.2|mandatory|r@
-1.4.0|include/makers|||mandatory|w@
-1.4.0|include/makers/canon.php|1.4.0|1.2|mandatory|r@
-1.4.0|include/makers/fujifilm.php|1.4.0|1.2|mandatory|r@
-1.4.0|include/makers/gps.php|1.4.0|1.2|mandatory|r@
-1.4.0|include/makers/nikon.php|1.4.0|1.2|mandatory|r@
-1.4.0|include/makers/olympus.php|1.4.0|1.2|mandatory|r@
-1.4.0|include/makers/sanyo.php|1.4.0|1.2|mandatory|r@
-1.4.0|lang|||mandatory|r@
-1.4.0|lang/arabic.php|1.3.0|1.5|optional|r@
-1.4.0|lang/arabic-utf-8.php|1.3.0|1.3|optional|r@
-1.4.0|lang/brazilian_portuguese.php|1.3.0|1.6|optional|r@
-1.4.0|lang/brazilian_portuguese-utf-8.php|1.3.0|1.6|optional|r@
-1.4.0|lang/bulgarian.php|1.3.0|1.5|optional|r@
-1.4.0|lang/bulgarian-utf-8.php|1.3.2|1.5|optional|r@
-1.4.0|lang/chinese_big5.php|1.3.2|1.6|optional|r@
-1.4.0|lang/chinese_big5-utf-8.php|1.3.0|1.6|optional|r@
-1.4.0|lang/chinese_gb.php|1.3.0|1.5|optional|r@
-1.4.0|lang/chinese_gb-utf-8.php|1.3.0|1.5|optional|r@
-1.4.0|lang/catalan.php|1.3.2|1.1|optional|r@
-1.4.0|lang/catalan-utf-8.php|1.3.2|1.1|optional|r@
-1.4.0|lang/croatian.php|1.3.0|1.5|optional|r@
-1.4.0|lang/croatian-utf-8.php|1.3.2|1.6|optional|r@
-1.4.0|lang/czech.php|1.3.0|1.6|optional|r@
-1.4.0|lang/czech-utf-8.php|1.3.0|1.6|optional|r@
-1.4.0|lang/danish.php|1.3.0|1.11|optional|r@
-1.4.0|lang/danish-utf-8.php|1.3.0|1.6|optional|r@
-1.4.0|lang/dutch.php|1.3.2|1.12|optional|r@
-1.4.0|lang/dutch-utf-8.php|1.3.2|1.12|optional|r@
-1.4.0|lang/english.php|1.4.0|1.211|mandatory|r@
-1.4.0|lang/english-utf-8.php|1.3.0|1.14|mandatory|r@
-1.4.0|lang/estonian.php|1.3.2|1.6|optional|r@
-1.4.0|lang/estonian-utf-8.php|1.3.2|1.5|optional|r@
-1.4.0|lang/finnish.php|1.3.0|1.5|optional|r@
-1.4.0|lang/finnish-utf-8.php|1.3.0|1.5|optional|r@
-1.4.0|lang/french.php|1.3.2|1.18|optional|r@
-1.4.0|lang/french-utf-8.php|1.3.2|1.16|optional|r@
-1.4.0|lang/german.php|1.3.2|1.19|optional|r@
-1.4.0|lang/german-utf-8.php|1.3.2|1.20|optional|r@
-1.4.0|lang/german_sie.php|1.3.2|1.2|optional|r@
-1.4.0|lang/german_sie-utf-8.php|1.3.2|1.2|optional|r@
-1.4.0|lang/greek.php|1.3.0|1.7|optional|r@
-1.4.0|lang/greek-utf-8.php|1.3.0|1.7|optional|r@
-1.4.0|lang/hebrew.php|1.3.0|1.6|optional|r@
-1.4.0|lang/hebrew-utf-8.php|1.3.0|1.8|optional|r@
-1.4.0|lang/hungarian.php|1.3.0|1.8|optional|r@
-1.4.0|lang/hungarian-utf-8.php|1.3.0|1.9|optional|r@
-1.4.0|lang/indonesian.php|1.3.0|1.5|optional|r@
-1.4.0|lang/indonesian-utf-8.php|1.3.0|1.6|optional|r@
-1.4.0|lang/italian.php|1.3.0|1.7|optional|r@
-1.4.0|lang/italian2.php|1.3.0|1.1|optional|r@
-1.4.0|lang/italian2-utf-8.php|1.3.0|1.1|optional|r@
-1.4.0|lang/italian-utf-8.php|1.3.0|1.7|optional|r@
-1.4.0|lang/japanese.php|1.3.0|1.5|optional|r@
-1.4.0|lang/japanese-utf-8.php|1.3.0|1.6|optional|r@
-1.4.0|lang/latvian.php|1.3.0|1.7|optional|r@
-1.4.0|lang/latvian-utf-8.php|1.3.0|1.5|optional|r@
-1.4.0|lang/malay.php|1.3.0|1.1|optional|r@
-1.4.0|lang/malay-utf-8.php|1.3.0|1.1|optional|r@
-1.4.0|lang/norwegian.php|1.4.0|1.8|optional|r@
-1.4.0|lang/norwegian-utf-8.php|1.4.0|1.8|optional|r@
-1.4.0|lang/polish.php|1.3.0|1.4|optional|r@
-1.4.0|lang/polish-utf-8.php|1.3.0|1.3|optional|r@
-1.4.0|lang/romanian.php|1.4.0|1.4|optional|r@
-1.4.0|lang/romanian-utf-8.php|1.4.0|1.4|optional|r@
-1.4.0|lang/romanian_no_diacritics.php|1.4.0|1.1|optional|r@
-1.4.0|lang/romanian_no_diacritics-utf-8.php|1.4.0|1.1|optional|r@
-1.4.0|lang/russian.php|1.3.2|1.7|optional|r@
-1.4.0|lang/russian-utf-8.php|1.3.2|1.7|optional|r@
-1.4.0|lang/slovak.php|1.3.2|1.2|optional|r@
-1.4.0|lang/slovak-utf-8.php|1.3.2|1.2|optional|r@
-1.4.0|lang/slovenian.php|1.3.0|1.10|optional|r@
-1.4.0|lang/slovenian-utf-8.php|1.3.0|1.8|optional|r@
-1.4.0|lang/spanish.php|1.3.0|1.8|optional|r@
-1.4.0|lang/spanish-utf-8.php|1.3.0|1.8|optional|r@
-1.4.0|lang/swedish.php|1.3.0|1.6|optional|r@
-1.4.0|lang/swedish-utf-8.php|1.3.0|1.5|optional|r@
-1.4.0|lang/turkish.php|1.3.2|1.5|optional|r@
-1.4.0|lang/turkish-utf-8.php|1.3.2|1.5|optional|r@
-1.4.0|lang/uighur.php|1.3.2|1.2|optional|r@
-1.4.0|lang/uighur-utf-8.php|1.3.2|1.2|optional|r@
-1.4.0|lang/vietnamese.php|1.3.2|1.1|optional|r@
-1.4.0|lang/vietnamese-utf-8.php|1.3.2|1.1|optional|r@
-1.4.0|logs|||mandatory|w@
-1.4.0|logs/log_header.inc.php|1.4.0|1.3|mandatory|r@
-1.4.0|plugins|||optional|r@
-1.4.0|plugins/sample|||optional|r@
-1.4.0|plugins/sample/codebase.php|1.4.0|1.4|optional|r@
-1.4.0|plugins/sample/credits.php|1.4.0|1.2|optional|r@
-1.4.0|plugins/sef_urls|||optional|r@
-1.4.0|plugins/sef_urls/codebase.php|1.4.0|1.4|optional|r@
-1.4.0|plugins/sef_urls/credits.php|1.4.0|1.2|optional|r@
-1.4.0|plugins/sef_urls/ht.txt|||optional|r@
-1.4.0|sql|||mandatory|r@
-1.4.0|sql/basic.sql||1.49|mandatory|r@
-1.4.0|sql/schema.sql||1.23|mandatory|r@
-1.4.0|sql/update.sql||1.74|mandatory|r@
-1.4.0|themes|||mandatory|r@
-1.4.0|themes/classic|||optional|r@
-1.4.0|themes/classic/style.css||1.8|optional|r@
-1.4.0|themes/classic/template.html||1.9|optional|r@
-1.4.0|themes/classic/theme.php|1.4.0|1.31|optional|r@
-1.4.0|themes/classic/images|||optional|r@
-1.4.0|themes/eyeball|||optional|r@
-1.4.0|themes/eyeball/style.css||1.14|optional|r@
-1.4.0|themes/eyeball/template.html||1.8|optional|r@
-1.4.0|themes/eyeball/theme.php|1.4.0|1.52|optional|r@
-1.4.0|themes/eyeball/images|||optional|r@
-1.4.0|themes/fruity|||optional|r@
-1.4.0|themes/fruity/style.css||1.13|optional|r@
-1.4.0|themes/fruity/template.html||1.8|optional|r@
-1.4.0|themes/fruity/theme.php|1.4.0|1.50|optional|r@
-1.4.0|themes/fruity/images|||optional|r@
-1.4.0|themes/hardwired|||optional|r@
-1.4.0|themes/hardwired/style.css||1.16|optional|r@
-1.4.0|themes/hardwired/template.html||1.9|optional|r@
-1.4.0|themes/hardwired/theme.php|1.4.0|1.52|optional|r@
-1.4.0|themes/hardwired/images|||optional|r@
-1.4.0|themes/igames|||optional|r@
-1.4.0|themes/igames/style.css||1.15|optional|r@
-1.4.0|themes/igames/template.html||1.9|optional|r@
-1.4.0|themes/igames/theme.php|1.4.0|1.54|optional|r@
-1.4.0|themes/igames/images|||optional|r@
-1.4.0|themes/mac_ox_x|||optional|r@
-1.4.0|themes/mac_ox_x/style.css||1.14|optional|r@
-1.4.0|themes/mac_ox_x/template.html||1.8|optional|r@
-1.4.0|themes/mac_ox_x/theme.php|1.4.0|1.50|optional|r@
-1.4.0|themes/mac_ox_x/images|||optional|r@
-1.4.0|themes/classic|||optional|r@
-1.4.0|themes/project_vii/style.css||1.17|optional|r@
-1.4.0|themes/project_vii/template.html||1.7|optional|r@
-1.4.0|themes/project_vii/theme.php|1.4.0|1.52|optional|r@
-1.4.0|themes/project_vii/images|||optional|r@
-1.4.0|themes/rainy_day|||optional|r@
-1.4.0|themes/rainy_day/style.css||1.15|optional|r@
-1.4.0|themes/rainy_day/template.html||1.6|optional|r@
-1.4.0|themes/rainy_day/theme.php|1.4.0|1.55|optional|r@
-1.4.0|themes/rainy_day/images|||optional|r@
-1.4.0|themes/styleguide|||optional|r@
-1.4.0|themes/styleguide/domLib.js|||optional|r@
-1.4.0|themes/styleguide/domTT.js|||optional|r@
-1.4.0|themes/styleguide/readme.htm||1.2|optional|r@
-1.4.0|themes/styleguide/template.html||1.4|optional|r@
-1.4.0|themes/styleguide/theme.php|1.4.0|1.34|optional|r@
-1.4.0|themes/styleguide/images|||optional|r@
-1.4.0|themes/water_drop|||optional|r@
-1.4.0|themes/water_drop/style.css||1.14|optional|r@
-1.4.0|themes/water_drop/theme.php|1.4.0|1.52|optional|r@
-1.4.0|themes/water_drop/images|||optional|r@
-1.4.1|addfav.php|1.4.1|1.18|mandatory|r@
-1.4.1|addpic.php|1.4.1|1.14|mandatory|r@
-1.4.1|admin.php|1.4.1|1.27|mandatory|r@
-1.4.1|albmgr.php|1.4.1|1.17|mandatory|r@
-1.4.1|anycontent.php|1.4.1|1.13|mandatory|r@
-1.4.1|banning.php|1.4.1|1.27|mandatory|r@
-1.4.1|bridgemgr.php|1.4.1|1.26|mandatory|r@
-1.4.1|calendar.php|1.4.1|1.11|mandatory|r@
-1.4.1|catmgr.php|1.4.1|1.30|mandatory|r@
-1.4.1|charsetmgr.php|1.4.1|1.9|mandatory|r@
-1.4.1|db_ecard.php|1.4.1|1.15|mandatory|r@
-1.4.1|db_input.php|1.4.1|1.51|mandatory|r@
-1.4.1|delete.php|1.4.1|1.24|mandatory|r@
-1.4.1|displayecard.php|1.4.1|1.13|mandatory|r@
-1.4.1|displayimage.php|1.4.1|1.101|mandatory|r@
-1.4.1|displayreport.php|1.4.1|1.6|mandatory|r@
-1.4.1|ecard.php|1.4.1|1.37|mandatory|r@
-1.4.1|editOnePic.php|1.4.1|1.41|mandatory|r@
-1.4.1|editpics.php|1.4.1|1.40|mandatory|r@
-1.4.1|exifmgr.php|1.4.1|1.9|mandatory|r@
-1.4.1|faq.php|1.4.1|1.7|mandatory|r@
-1.4.1|forgot_passwd.php|1.4.1|1.20|mandatory|r@
-1.4.1|getlang.php|1.4.1|1.10|mandatory|r@
-1.4.1|groupmgr.php|1.4.1|1.35|mandatory|r@
-1.4.1|image_processor.php|1.4.1|1.21|mandatory|r@
-1.4.1|index.php|1.4.1|1.87|mandatory|r@
-1.4.1|install.php|1.4.1|1.34|mandatory|r@
-1.4.1|installer.css|1.4.1|1.11|mandatory|r@
-1.4.1|keyword_create_dict.php|1.4.1|1.7|mandatory|r@
-1.4.1|keyword_select.php|1.4.1|1.7|mandatory|r@
-1.4.1|keywordmgr.php|1.4.1|1.12|mandatory|r@
-1.4.1|login.php|1.4.1|1.25|mandatory|r@
-1.4.1|logout.php|1.4.1|1.10|mandatory|r@
-1.4.1|minibrowser.php|1.4.1|1.15|mandatory|r@
-1.4.1|mode.php|1.4.1|1.4|mandatory|r@
-1.4.1|modifyalb.php|1.4.1|1.31|mandatory|r@
-1.4.1|phpinfo.php|1.4.1|1.11|mandatory|r@
-1.4.1|picEditor.php|1.4.1|1.24|mandatory|r@
-1.4.1|picmgr.php|1.4.1|1.19|mandatory|r@
-1.4.1|pluginmgr.php|1.4.1|1.18|mandatory|r@
-1.4.1|profile.php|1.4.1|1.45|mandatory|r@
-1.4.1|ratepic.php|1.4.1|1.13|mandatory|r@
-1.4.1|register.php|1.4.1|1.33|mandatory|r@
-1.4.1|relocate_server.php|1.4.1|1.5|optional|r@
-1.4.1|report_file.php|1.4.1|1.22|mandatory|r@
-1.4.1|reviewcom.php|1.4.1|1.20|mandatory|r@
-1.4.1|scripts.js|1.4.1|1.13|mandatory|r@
-1.4.1|search.php|1.4.1|1.17|mandatory|r@
-1.4.1|searchnew.php|1.4.1|1.50|mandatory|r@
-1.4.1|showthumb.php|1.4.1|1.10|mandatory|r@
-1.4.1|stat_details.php|1.4.1|1.1|mandatory|r@
-1.4.1|thumbnails.php|1.4.1|1.29|mandatory|r@
-1.4.1|update.php|1.4.1|1.23|mandatory|r@
-1.4.1|upgrade-1.0-to-1.2.php|1.4.1|1.9|mandatory|r@
-1.4.1|upload.php|1.4.1|1.73|mandatory|r@
-1.4.1|usermgr.php|1.4.1|1.50|mandatory|r@
-1.4.1|util.php|1.4.1|1.30|mandatory|r@
-1.4.1|versioncheck.php|1.4.1|1.71|mandatory|r@
-1.4.1|viewlog.php|1.4.1|1.11|mandatory|r@
-1.4.1|xp_publish.php|1.4.1|1.30|mandatory|r@
-1.4.1|zipdownload.php|1.4.1|1.10|mandatory|r@
-1.4.1|**fullpath**|||mandatory|w@
-1.4.1|**fullpath**/index.php|||optional|w@
-1.4.1|**fullpath**/edit/index.html|||optional|w@
-1.4.1|**fullpath**/edit|||mandatory|w@
-1.4.1|**fullpath**/edit/index.html|||optional|w@
-1.4.1|**fullpath**/**userpics**|||mandatory|w@
-1.4.1|**fullpath**/**userpics**/index.php|||optional|w@
-1.4.1|bridge|||mandatory|r@
-1.4.1|bridge/coppermine.inc.php|1.4.1|1.20|mandatory|r@
-1.4.1|bridge/eblah.inc.php|1.4.1|1.4|optional|r@
-1.4.1|bridge/invisionboard20.inc.php|1.4.1|1.8|optional|r@
-1.4.1|bridge/mambo.inc.php|1.4.1|1.17|optional|r@
-1.4.1|bridge/mybb.inc.php|1.4.1|1.2|optional|r@
-1.4.1|bridge/phorum.inc.php|1.4.1|1.5|optional|r@
-1.4.1|bridge/phpbb.inc.php|1.4.1|1.42|optional|r@
-1.4.1|bridge/phpbb22.inc.php|1.4.1|1.10|optional|r@
-1.4.1|bridge/punbb115.inc.php|1.4.1|1.5|optional|r@
-1.4.1|bridge/punbb12.inc.php|1.4.1|1.12|optional|r@
-1.4.1|bridge/smf10.inc.php|1.4.1|1.13|optional|r@
-1.4.1|bridge/udb_base.inc.php|1.4.1|1.13|mandatory|r@
-1.4.1|bridge/vbulletin30.inc.php|1.4.1|1.23|optional|r@
-1.4.1|bridge/xmb.inc.php|1.4.1|1.4|optional|r@
-1.4.1|bridge/xoops.inc.php|1.4.1|1.4|optional|r@
-1.4.1|docs|||mandatory|r@
-1.4.1|docs/credits.html||1.12|optional|r@
-1.4.1|docs/faq.htm|||optional|r@
-1.4.1|docs/index.htm||1.12|mandatory|r@
-1.4.1|docs/README.html||1.17|optional|r@
-1.4.1|docs/showdoc.php|1.4.1|1.13|mandatory|r@
-1.4.1|docs/theme.htm||1.15|optional|r@
-1.4.1|docs/translation.htm|||optional|r@
-1.4.1|docs/pics|||mandatory|r@
-1.4.1|docs/theme|||optional|r@
-1.4.1|docs/theme/edit_style.html|||optional|r@
-1.4.1|docs/theme/edit_template.html|||optional|r@
-1.4.1|docs/theme/edit_theme.html|1.4.1|1.5|optional|r@
-1.4.1|docs/theme/index.html||1.1|optional|r@
-1.4.1|docs/theme/style.css|||optional|r@
-1.4.1|docs/theme/validation.html|||optional|r@
-1.4.1|include|||mandatory|w@
-1.4.1|include/archive.php|1.4.1|1.5|mandatory|r@
-1.4.1|include/config.inc.php|||mandatory|r@
-1.4.1|include/crop.inc.php|1.4.1|1.13|mandatory|r@
-1.4.1|include/debugger.inc.php|1.4.1|1.9|mandatory|r@
-1.4.1|include/exif.php|1.4.1|1.8|mandatory|r@
-1.4.1|include/exif_php.inc.php|1.4.1|1.15|mandatory|r@
-1.4.1|include/exifReader.inc.php|1.4.1|1.8|mandatory|r@
-1.4.1|include/functions.inc.php|1.4.1|1.205|mandatory|r@
-1.4.1|include/imageObjectGD.class.php|1.4.1|1.8|mandatory|r@
-1.4.1|include/imageObjectIM.class.php|1.4.1|1.8|mandatory|r@
-1.4.1|include/index.html|1.4.1|1.2|mandatory|r@
-1.4.1|include/init.inc.php|1.4.1|1.100|mandatory|r@
-1.4.1|include/iptc.inc.php|1.4.1|1.12|mandatory|r@
-1.4.1|include/keyword.inc.php|1.4.1|1.11|mandatory|r@
-1.4.1|include/langfallback.inc.php|1.4.1|1.31|mandatory|r@
-1.4.1|include/logger.inc.php|1.4.1|1.14|mandatory|r@
-1.4.1|include/mailer.inc.php|1.4.1|1.17|mandatory|r@
-1.4.1|include/mb.inc.php|1.4.1|1.4|mandatory|r@
-1.4.1|include/media.functions.inc.php|1.4.1|1.13|mandatory|r@
-1.4.1|include/phpmailer.lang-en.php|1.4.1|1.2|mandatory|r@
-1.4.1|include/picmgmt.inc.php|1.4.1|1.35|mandatory|r@
-1.4.1|include/plugin_api.inc.php|1.4.1|1.18|mandatory|r@
-1.4.1|include/search.inc.php|1.4.1|1.23|mandatory|r@
-1.4.1|include/select_lang.inc.php|1.4.1|1.10|mandatory|r@
-1.4.1|include/slideshow.inc.php|1.4.1|1.12|mandatory|r@
-1.4.1|include/smilies.inc.php|1.4.1|1.17|mandatory|r@
-1.4.1|include/smtp.inc.php|1.4.1|1.4|mandatory|r@
-1.4.1|include/sql_parse.php|1.4.1|1.7|mandatory|r@
-1.4.1|include/themes.inc.php|1.4.1|1.44|mandatory|r@
-1.4.1|include/update.inc.php|1.4.1|1.5|mandatory|r@
-1.4.1|include/zip.lib.php|1.4.1|1.4|mandatory|r@
-1.4.1|include/makers|||mandatory|w@
-1.4.1|include/makers/canon.php|1.4.1|1.6|mandatory|r@
-1.4.1|include/makers/fujifilm.php|1.4.1|1.6|mandatory|r@
-1.4.1|include/makers/gps.php|1.4.1|1.6|mandatory|r@
-1.4.1|include/makers/nikon.php|1.4.1|1.6|mandatory|r@
-1.4.1|include/makers/olympus.php|1.4.1|1.6|mandatory|r@
-1.4.1|include/makers/sanyo.php|1.4.1|1.6|mandatory|r@
-1.4.1|lang|||mandatory|r@
-1.4.1|lang/albanian.php|1.3.3|1.2|optional|r@
-1.4.1|lang/arabic.php|1.4.1|1.6|optional|r@
-1.4.1|lang/brazilian_portuguese.php|1.4.1|1.8|optional|r@
-1.4.1|lang/bulgarian.php|1.4.1|1.6|optional|r@
-1.4.1|lang/chinese_big5.php|1.4.1|1.8|optional|r@
-1.4.1|lang/chinese_gb.php|1.4.1|1.7|optional|r@
-1.4.1|lang/catalan.php|1.4.1|1.3|optional|r@
-1.4.1|lang/croatian.php|1.4.1|1.6|optional|r@
-1.4.1|lang/czech.php|1.4.1|1.7|optional|r@
-1.4.1|lang/danish.php|1.4.1|1.13|optional|r@
-1.4.1|lang/dutch.php|1.4.1|1.15|optional|r@
-1.4.1|lang/english.php|1.4.1|1.281|mandatory|r@
-1.4.1|lang/english_gb.php|1.4.1|1.4|optional|r@
-1.4.1|lang/estonian.php|1.4.1|1.7|optional|r@
-1.4.1|lang/finnish.php|1.4.1|1.8|optional|r@
-1.4.1|lang/french.php|1.4.1|1.24|optional|r@
-1.4.1|lang/galician.php|1.3.3|1.1|optional|r@
-1.4.1|lang/german.php|1.4.1|1.24|optional|r@
-1.4.1|lang/german_sie.php|1.4.1|1.4|optional|r@
-1.4.1|lang/greek.php|1.4.1|1.8|optional|r@
-1.4.1|lang/hebrew.php|1.4.1|1.7|optional|r@
-1.4.1|lang/hungarian.php|1.4.1|1.9|optional|r@
-1.4.1|lang/indonesian.php|1.4.1|1.7|optional|r@
-1.4.1|lang/italian.php|1.4.1|1.9|optional|r@
-1.4.1|lang/italian2.php|1.4.1|1.4|optional|r@
-1.4.1|lang/japanese.php|1.4.1|1.6|optional|r@
-1.4.1|lang/latvian.php|1.4.1|1.8|optional|r@
-1.4.1|lang/malay.php|1.4.1|1.3|optional|r@
-1.4.1|lang/norwegian.php|1.4.1|1.10|optional|r@
-1.4.1|lang/persian.php|1.3.2|1.1|optional|r@
-1.4.1|lang/polish.php|1.4.1|1.5|optional|r@
-1.4.1|lang/romanian.php|1.4.1|1.5|optional|r@
-1.4.1|lang/romanian_no_diacritics.php|1.4.1|1.2|optional|r@
-1.4.1|lang/russian.php|1.4.1|1.8|optional|r@
-1.4.1|lang/slovak.php|1.4.1|1.3|optional|r@
-1.4.1|lang/slovenian.php|1.4.1|1.12|optional|r@
-1.4.1|lang/spanish.php|1.4.1|1.10|optional|r@
-1.4.1|lang/swedish.php|1.4.1|1.8|optional|r@
-1.4.1|lang/thai.php|1.3.2|1.5|optional|r@
-1.4.1|lang/turkish.php|1.4.1|1.6|optional|r@
-1.4.1|lang/uighur.php|1.4.1|1.3|optional|r@
-1.4.1|lang/vietnamese.php|1.4.1|1.3|optional|r@
-1.4.1|lang/welsh.php|1.3.2|1.2|optional|r@
-1.4.1|logs|||mandatory|w@
-1.4.1|logs/log_header.inc.php|1.4.1|1.5|mandatory|r@
-1.4.1|plugins|||optional|r@
-1.4.1|plugins/sample|||optional|r@
-1.4.1|plugins/sample/codebase.php|1.4.1|1.8|optional|r@
-1.4.1|plugins/sample/configuration.php|1.4.1|1.1|optional|r@
-1.4.1|plugins/sef_urls|||optional|r@
-1.4.1|plugins/sef_urls/codebase.php|1.4.1|1.7|optional|r@
-1.4.1|plugins/sef_urls/configuration.php|1.4.1|1.2|optional|r@
-1.4.1|plugins/sef_urls/ht.txt|1.4.1|1.3|optional|r@
-1.4.1|sql|||mandatory|r@
-1.4.1|sql/basic.sql|1.4.1|1.91|mandatory|r@
-1.4.1|sql/schema.sql|1.4.1|1.40|mandatory|r@
-1.4.1|sql/update.sql|1.4.1|1.120|mandatory|r@
-1.4.1|themes|||mandatory|r@
-1.4.1|themes/classic|||optional|r@
-1.4.1|themes/classic/style.css|1.4.1|1.16|optional|r@
-1.4.1|themes/classic/template.html||1.9|optional|r@
-1.4.1|themes/classic/theme.php|1.4.1|1.70|optional|r@
-1.4.1|themes/classic/images|||optional|r@
-1.4.1|themes/eyeball|||optional|r@
-1.4.1|themes/eyeball/style.css|1.4.1|1.22|optional|r@
-1.4.1|themes/eyeball/template.html||1.8|optional|r@
-1.4.1|themes/eyeball/theme.php|1.4.1|1.64|optional|r@
-1.4.1|themes/eyeball/images|||optional|r@
-1.4.1|themes/fruity|||optional|r@
-1.4.1|themes/fruity/style.css|1.4.1|1.20|optional|r@
-1.4.1|themes/fruity/template.html||1.8|optional|r@
-1.4.1|themes/fruity/theme.php|1.4.1|1.61|optional|r@
-1.4.1|themes/fruity/images|||optional|r@
-1.4.1|themes/hardwired|||optional|r@
-1.4.1|themes/hardwired/style.css|1.4.1|1.25|optional|r@
-1.4.1|themes/hardwired/template.html||1.9|optional|r@
-1.4.1|themes/hardwired/theme.php|1.4.1|1.68|optional|r@
-1.4.1|themes/hardwired/images|||optional|r@
-1.4.1|themes/igames|||optional|r@
-1.4.1|themes/igames/style.css|1.4.1|1.23|optional|r@
-1.4.1|themes/igames/template.html||1.9|optional|r@
-1.4.1|themes/igames/theme.php|1.4.1|1.67|optional|r@
-1.4.1|themes/igames/images|||optional|r@
-1.4.1|themes/mac_ox_x|||optional|r@
-1.4.1|themes/mac_ox_x/style.css|1.4.1|1.21|optional|r@
-1.4.1|themes/mac_ox_x/template.html||1.8|optional|r@
-1.4.1|themes/mac_ox_x/theme.php|1.4.1|1.62|optional|r@
-1.4.1|themes/mac_ox_x/images|||optional|r@
-1.4.1|themes/project_vii|||optional|r@
-1.4.1|themes/project_vii/style.css|1.4.1|1.25|optional|r@
-1.4.1|themes/project_vii/template.html||1.7|optional|r@
-1.4.1|themes/project_vii/theme.php|1.4.1|1.61|optional|r@
-1.4.1|themes/project_vii/images|||optional|r@
-1.4.1|themes/rainy_day|||optional|r@
-1.4.1|themes/rainy_day/style.css|1.4.1|1.22|optional|r@
-1.4.1|themes/rainy_day/template.html||1.6|optional|r@
-1.4.1|themes/rainy_day/theme.php|1.4.1|1.64|optional|r@
-1.4.1|themes/rainy_day/images|||optional|r@
-1.4.1|themes/sample|||optional|r@
-1.4.1|themes/sample/style.css|1.4.1|1.1|optional|r@
-1.4.1|themes/sample/template.html|||optional|r@
-1.4.1|themes/sample/theme.php|1.4.1|1.5|optional|r@
-1.4.1|themes/sample/images|||optional|r@
-1.4.1|themes/water_drop|||optional|r@
-1.4.1|themes/water_drop/style.css|1.4.1|1.21|optional|r@
-1.4.1|themes/water_drop/template.html||1.15|optional|r@
-1.4.1|themes/water_drop/theme.php|1.4.1|1.64|optional|r@
-1.4.1|themes/water_drop/images|||optional|r@
-1.4.2|addfav.php|1.4.2|1.19|mandatory|r@
-1.4.2|addpic.php|1.4.2|1.15|mandatory|r@
-1.4.2|admin.php|1.4.2|1.28|mandatory|r@
-1.4.2|albmgr.php|1.4.2|1.18|mandatory|r@
-1.4.2|anycontent.php|1.4.2|1.14|mandatory|r@
-1.4.2|banning.php|1.4.2|1.28|mandatory|r@
-1.4.2|bridgemgr.php|1.4.2|1.28|mandatory|r@
-1.4.2|calendar.php|1.4.2|1.12|mandatory|r@
-1.4.2|catmgr.php|1.4.2|1.31|mandatory|r@
-1.4.2|charsetmgr.php|1.4.2|1.10|mandatory|r@
-1.4.2|db_ecard.php|1.4.2|1.16|mandatory|r@
-1.4.2|db_input.php|1.4.2|1.52|mandatory|r@
-1.4.2|delete.php|1.4.2|1.25|mandatory|r@
-1.4.2|displayecard.php|1.4.2|1.14|mandatory|r@
-1.4.2|displayimage.php|1.4.2|1.102|mandatory|r@
-1.4.2|displayreport.php|1.4.2|1.7|mandatory|r@
-1.4.2|ecard.php|1.4.2|1.38|mandatory|r@
-1.4.2|editOnePic.php|1.4.2|1.42|mandatory|r@
-1.4.2|editpics.php|1.4.2|1.41|mandatory|r@
-1.4.2|exifmgr.php|1.4.2|1.10|mandatory|r@
-1.4.2|faq.php|1.4.2|1.8|mandatory|r@
-1.4.2|forgot_passwd.php|1.4.2|1.21|mandatory|r@
-1.4.2|getlang.php|1.4.2|1.11|mandatory|r@
-1.4.2|groupmgr.php|1.4.2|1.36|mandatory|r@
-1.4.2|image_processor.php|1.4.2|1.24|mandatory|r@
-1.4.2|index.php|1.4.2|1.88|mandatory|r@
-1.4.2|install.php|1.4.2|1.36|mandatory|r@
-1.4.2|installer.css|1.4.2|1.12|mandatory|r@
-1.4.2|keyword_create_dict.php|1.4.2|1.8|mandatory|r@
-1.4.2|keyword_select.php|1.4.2|1.8|mandatory|r@
-1.4.2|keywordmgr.php|1.4.2|1.13|mandatory|r@
-1.4.2|login.php|1.4.2|1.26|mandatory|r@
-1.4.2|logout.php|1.4.2|1.11|mandatory|r@
-1.4.2|minibrowser.php|1.4.2|1.16|mandatory|r@
-1.4.2|mode.php|1.4.2|1.5|mandatory|r@
-1.4.2|modifyalb.php|1.4.2|1.32|mandatory|r@
-1.4.2|phpinfo.php|1.4.2|1.12|mandatory|r@
-1.4.2|picEditor.php|1.4.2|1.26|mandatory|r@
-1.4.2|picmgr.php|1.4.2|1.20|mandatory|r@
-1.4.2|pluginmgr.php|1.4.2|1.19|mandatory|r@
-1.4.2|profile.php|1.4.2|1.46|mandatory|r@
-1.4.2|ratepic.php|1.4.2|1.14|mandatory|r@
-1.4.2|register.php|1.4.2|1.34|mandatory|r@
-1.4.2|relocate_server.php|1.4.2|1.6|optional|r@
-1.4.2|report_file.php|1.4.2|1.23|mandatory|r@
-1.4.2|reviewcom.php|1.4.2|1.21|mandatory|r@
-1.4.2|scripts.js|1.4.2|1.14|mandatory|r@
-1.4.2|search.php|1.4.2|1.18|mandatory|r@
-1.4.2|searchnew.php|1.4.2|1.52|mandatory|r@
-1.4.2|showthumb.php|1.4.2|1.11|mandatory|r@
-1.4.2|stat_details.php|1.4.2|1.2|mandatory|r@
-1.4.2|thumbnails.php|1.4.2|1.30|mandatory|r@
-1.4.2|update.php|1.4.2|1.24|mandatory|r@
-1.4.2|upgrade-1.0-to-1.2.php|1.4.2|1.10|mandatory|r@
-1.4.2|upload.php|1.4.2|1.74|mandatory|r@
-1.4.2|usermgr.php|1.4.2|1.51|mandatory|r@
-1.4.2|util.php|1.4.2|1.31|mandatory|r@
-1.4.2|versioncheck.php|1.4.2|1.76|mandatory|r@
-1.4.2|viewlog.php|1.4.2|1.12|mandatory|r@
-1.4.2|xp_publish.php|1.4.2|1.33|mandatory|r@
-1.4.2|zipdownload.php|1.4.2|1.11|mandatory|r@
-1.4.2|**fullpath**|||mandatory|w@
-1.4.2|**fullpath**/index.php|||optional|w@
-1.4.2|**fullpath**/edit/index.html|||optional|w@
-1.4.2|**fullpath**/edit/no_FTP-uploads_into_this_folder!|||optional|w@
-1.4.2|**fullpath**/edit|||mandatory|w@
-1.4.2|**fullpath**/edit/index.html|||optional|w@
-1.4.2|**fullpath**/**userpics**|||mandatory|w@
-1.4.2|**fullpath**/**userpics**/index.php|||optional|w@
-1.4.2|**fullpath**/**userpics**/no_FTP-uploads_into_this_folder!|||optional|w@
-1.4.2|bridge|||mandatory|r@
-1.4.2|bridge/coppermine.inc.php|1.4.2|1.21|mandatory|r@
-1.4.2|bridge/eblah.inc.php|1.4.2|1.5|optional|r@
-1.4.2|bridge/invisionboard20.inc.php|1.4.2|1.9|optional|r@
-1.4.2|bridge/mambo.inc.php|1.4.2|1.18|optional|r@
-1.4.2|bridge/mybb.inc.php|1.4.2|1.3|optional|r@
-1.4.2|bridge/phorum.inc.php|1.4.2|1.6|optional|r@
-1.4.2|bridge/phpbb.inc.php|1.4.2|1.44|optional|r@
-1.4.2|bridge/phpbb2018.inc.php|1.4.2|1.1|optional|r@
-1.4.2|bridge/phpbb22.inc.php|1.4.2|1.11|optional|r@
-1.4.2|bridge/punbb115.inc.php|1.4.2|1.6|optional|r@
-1.4.2|bridge/punbb12.inc.php|1.4.2|1.13|optional|r@
-1.4.2|bridge/smf10.inc.php|1.4.2|1.17|optional|r@
-1.4.2|bridge/udb_base.inc.php|1.4.2|1.14|mandatory|r@
-1.4.2|bridge/vbulletin30.inc.php|1.4.2|1.24|optional|r@
-1.4.2|bridge/xmb.inc.php|1.4.2|1.5|optional|r@
-1.4.2|bridge/xoops.inc.php|1.4.2|1.5|optional|r@
-1.4.2|docs|||mandatory|r@
-1.4.2|docs/faq.htm|||optional|r@
-1.4.2|docs/faq_fr.htm|||optional|r@
-1.4.2|docs/index.htm||1.12|mandatory|r@
-1.4.2|docs/index_fr.htm||1.2|mandatory|r@
-1.4.2|docs/README.html||1.17|optional|r@
-1.4.2|docs/showdoc.php|1.4.2|1.15|mandatory|r@
-1.4.2|docs/style.css|1.4.2|1.6|mandatory|r@
-1.4.2|docs/theme.htm||1.16|optional|r@
-1.4.2|docs/translation.htm|||optional|r@
-1.4.2|docs/pics|||mandatory|r@
-1.4.2|docs/theme|||optional|r@
-1.4.2|docs/theme/edit_style.html|||optional|r@
-1.4.2|docs/theme/edit_template.html|||optional|r@
-1.4.2|docs/theme/edit_theme.html|1.4.2|1.6|optional|r@
-1.4.2|docs/theme/index.html||1.1|optional|r@
-1.4.2|docs/theme/style.css|1.4.2|1.3|optional|r@
-1.4.2|docs/theme/validation.html|||optional|r@
-1.4.2|include|||mandatory|w@
-1.4.2|include/archive.php|1.4.2|1.6|mandatory|r@
-1.4.2|include/config.inc.php|||mandatory|r@
-1.4.2|include/config.inc.php.sample|||optional|r@
-1.4.2|include/crop.inc.php|1.4.2|1.15|mandatory|r@
-1.4.2|include/debugger.inc.php|1.4.2|1.10|mandatory|r@
-1.4.2|include/exif.php|1.4.2|1.10|mandatory|r@
-1.4.2|include/exif_php.inc.php|1.4.2|1.16|mandatory|r@
-1.4.2|include/exifReader.inc.php|1.4.2|1.9|mandatory|r@
-1.4.2|include/functions.inc.php|1.4.2|1.207|mandatory|r@
-1.4.2|include/imageObjectGD.class.php|1.4.2|1.9|mandatory|r@
-1.4.2|include/imageObjectIM.class.php|1.4.2|1.9|mandatory|r@
-1.4.2|include/index.html|1.4.2|1.3|mandatory|r@
-1.4.2|include/init.inc.php|1.4.2|1.102|mandatory|r@
-1.4.2|include/iptc.inc.php|1.4.2|1.13|mandatory|r@
-1.4.2|include/keyword.inc.php|1.4.2|1.12|mandatory|r@
-1.4.2|include/langfallback.inc.php|1.4.2|1.32|mandatory|r@
-1.4.2|include/logger.inc.php|1.4.2|1.15|mandatory|r@
-1.4.2|include/mailer.inc.php|1.4.2|1.18|mandatory|r@
-1.4.2|include/mb.inc.php|1.4.2|1.5|mandatory|r@
-1.4.2|include/media.functions.inc.php|1.4.2|1.14|mandatory|r@
-1.4.2|include/phpmailer.lang-en.php|1.4.2|1.3|mandatory|r@
-1.4.2|include/picmgmt.inc.php|1.4.2|1.36|mandatory|r@
-1.4.2|include/plugin_api.inc.php|1.4.2|1.19|mandatory|r@
-1.4.2|include/search.inc.php|1.4.2|1.24|mandatory|r@
-1.4.2|include/select_lang.inc.php|1.4.2|1.11|mandatory|r@
-1.4.2|include/slideshow.inc.php|1.4.2|1.13|mandatory|r@
-1.4.2|include/smilies.inc.php|1.4.2|1.18|mandatory|r@
-1.4.2|include/smtp.inc.php|1.4.2|1.5|mandatory|r@
-1.4.2|include/sql_parse.php|1.4.2|1.8|mandatory|r@
-1.4.2|include/themes.inc.php|1.4.2|1.45|mandatory|r@
-1.4.2|include/update.inc.php|1.4.2|1.6|mandatory|r@
-1.4.2|include/zip.lib.php|1.4.2|1.5|mandatory|r@
-1.4.2|include/makers|||mandatory|w@
-1.4.2|include/makers/canon.php|1.4.2|1.9|mandatory|r@
-1.4.2|include/makers/fujifilm.php|1.4.2|1.9|mandatory|r@
-1.4.2|include/makers/gps.php|1.4.2|1.9|mandatory|r@
-1.4.2|include/makers/nikon.php|1.4.2|1.9|mandatory|r@
-1.4.2|include/makers/olympus.php|1.4.2|1.9|mandatory|r@
-1.4.2|include/makers/sanyo.php|1.4.2|1.9|mandatory|r@
-1.4.2|lang|||mandatory|r@
-1.4.2|lang/albanian.php|1.3.3|1.3|optional|r@
-1.4.2|lang/arabic.php|1.4.1|1.6|optional|r@
-1.4.2|lang/basque.php|1.4.1|1.6|optional|r@
-1.4.2|lang/brazilian_portuguese.php|1.4.1|1.8|optional|r@
-1.4.2|lang/bulgarian.php|1.4.1|1.6|optional|r@
-1.4.2|lang/catalan.php|1.4.1|1.3|optional|r@
-1.4.2|lang/chinese_big5.php|1.4.1|1.9|optional|r@
-1.4.2|lang/chinese_gb.php|1.4.1|1.7|optional|r@
-1.4.2|lang/croatian.php|1.4.1|1.6|optional|r@
-1.4.2|lang/czech.php|1.4.1|1.7|optional|r@
-1.4.2|lang/danish.php|1.4.1|1.14|optional|r@
-1.4.2|lang/dutch.php|1.4.1|1.17|optional|r@
-1.4.2|lang/english.php|1.4.1|1.281|mandatory|r@
-1.4.2|lang/english_gb.php|1.4.1|1.4|optional|r@
-1.4.2|lang/estonian.php|1.4.1|1.7|optional|r@
-1.4.2|lang/finnish.php|1.4.1|1.9|optional|r@
-1.4.2|lang/french.php|1.4.1|1.25|optional|r@
-1.4.2|lang/galician.php|1.3.4|1.3|optional|r@
-1.4.2|lang/german.php|1.4.2|1.29|optional|r@
-1.4.2|lang/german_sie.php|1.4.2|1.7|optional|r@
-1.4.2|lang/greek.php|1.4.1|1.8|optional|r@
-1.4.2|lang/hebrew.php|1.4.1|1.7|optional|r@
-1.4.2|lang/hungarian.php|1.4.1|1.9|optional|r@
-1.4.2|lang/indonesian.php|1.4.1|1.7|optional|r@
-1.4.2|lang/italian.php|1.3.4|1.10|optional|r@
-1.4.2|lang/italian2.php|1.3.4|1.4|optional|r@
-1.4.2|lang/japanese.php|1.4.1|1.6|optional|r@
-1.4.2|lang/korean.php|1.4.1|1.9|optional|r@
-1.4.2|lang/kurdish.php|1.4.1|1.2|optional|r@
-1.4.2|lang/latvian.php|1.4.1|1.8|optional|r@
-1.4.2|lang/malay.php|1.4.1|1.3|optional|r@
-1.4.2|lang/norwegian.php|1.4.1|1.13|optional|r@
-1.4.2|lang/persian.php|1.3.2|1.2|optional|r@
-1.4.2|lang/polish.php|1.4.1|1.7|optional|r@
-1.4.2|lang/portuguese.php|1.3.4|1.7|optional|r@
-1.4.2|lang/romanian.php|1.4.1|1.5|optional|r@
-1.4.2|lang/romanian_no_diacritics.php|1.4.1|1.2|optional|r@
-1.4.2|lang/russian.php|1.4.1|1.8|optional|r@
-1.4.2|lang/slovak.php|1.4.1|1.3|optional|r@
-1.4.2|lang/slovenian.php|1.4.1|1.12|optional|r@
-1.4.2|lang/spanish.php|1.4.1|1.10|optional|r@
-1.4.2|lang/swedish.php|1.4.1|1.8|optional|r@
-1.4.2|lang/thai.php|1.3.2|1.5|optional|r@
-1.4.2|lang/turkish.php|1.4.1|1.6|optional|r@
-1.4.2|lang/uighur.php|1.4.1|1.3|optional|r@
-1.4.2|lang/vietnamese.php|1.4.1|1.3|optional|r@
-1.4.2|lang/welsh.php|1.3.2|1.2|optional|r@
-1.4.2|logs|||mandatory|w@
-1.4.2|logs/log_header.inc.php|1.4.2|1.6|mandatory|r@
-1.4.2|plugins|||optional|r@
-1.4.2|plugins/sample|||optional|r@
-1.4.2|plugins/sample/codebase.php|1.4.2|1.9|optional|r@
-1.4.2|plugins/sample/configuration.php|1.4.2|1.2|optional|r@
-1.4.2|plugins/sef_urls|||optional|r@
-1.4.2|plugins/sef_urls/codebase.php|1.4.2|1.8|optional|r@
-1.4.2|plugins/sef_urls/configuration.php|1.4.2|1.3|optional|r@
-1.4.2|plugins/sef_urls/ht.txt|1.4.2|1.4|optional|r@
-1.4.2|sql|||mandatory|r@
-1.4.2|sql/basic.sql|1.4.2|1.92|mandatory|r@
-1.4.2|sql/schema.sql|1.4.2|1.42|mandatory|r@
-1.4.2|sql/update.sql|1.4.2|1.122|mandatory|r@
-1.4.2|themes|||mandatory|r@
-1.4.2|themes/classic|||optional|r@
-1.4.2|themes/classic/style.css|1.4.2|1.17|optional|r@
-1.4.2|themes/classic/template.html||1.9|optional|r@
-1.4.2|themes/classic/theme.php|1.4.2|1.71|optional|r@
-1.4.2|themes/classic/images|||optional|r@
-1.4.2|themes/eyeball|||optional|r@
-1.4.2|themes/eyeball/style.css|1.4.2|1.23|optional|r@
-1.4.2|themes/eyeball/template.html||1.8|optional|r@
-1.4.2|themes/eyeball/theme.php|1.4.2|1.66|optional|r@
-1.4.2|themes/eyeball/images|||optional|r@
-1.4.2|themes/fruity|||optional|r@
-1.4.2|themes/fruity/style.css|1.4.2|1.21|optional|r@
-1.4.2|themes/fruity/template.html||1.8|optional|r@
-1.4.2|themes/fruity/theme.php|1.4.2|1.62|optional|r@
-1.4.2|themes/fruity/images|||optional|r@
-1.4.2|themes/hardwired|||optional|r@
-1.4.2|themes/hardwired/style.css|1.4.2|1.26|optional|r@
-1.4.2|themes/hardwired/template.html||1.9|optional|r@
-1.4.2|themes/hardwired/theme.php|1.4.2|1.69|optional|r@
-1.4.2|themes/hardwired/images|||optional|r@
-1.4.2|themes/igames|||optional|r@
-1.4.2|themes/igames/style.css|1.4.2|1.24|optional|r@
-1.4.2|themes/igames/template.html||1.9|optional|r@
-1.4.2|themes/igames/theme.php|1.4.2|1.68|optional|r@
-1.4.2|themes/igames/images|||optional|r@
-1.4.2|themes/mac_ox_x|||optional|r@
-1.4.2|themes/mac_ox_x/style.css|1.4.2|1.23|optional|r@
-1.4.2|themes/mac_ox_x/template.html||1.8|optional|r@
-1.4.2|themes/mac_ox_x/theme.php|1.4.2|1.63|optional|r@
-1.4.2|themes/mac_ox_x/images|||optional|r@
-1.4.2|themes/project_vii|||optional|r@
-1.4.2|themes/project_vii/style.css|1.4.2|1.27|optional|r@
-1.4.2|themes/project_vii/template.html||1.7|optional|r@
-1.4.2|themes/project_vii/theme.php|1.4.2|1.62|optional|r@
-1.4.2|themes/project_vii/images|||optional|r@
-1.4.2|themes/rainy_day|||optional|r@
-1.4.2|themes/rainy_day/style.css|1.4.2|1.24|optional|r@
-1.4.2|themes/rainy_day/template.html||1.6|optional|r@
-1.4.2|themes/rainy_day/theme.php|1.4.2|1.65|optional|r@
-1.4.2|themes/rainy_day/images|||optional|r@
-1.4.2|themes/sample|||optional|r@
-1.4.2|themes/sample/style.css|1.4.2|1.3|optional|r@
-1.4.2|themes/sample/template.html|||optional|r@
-1.4.2|themes/sample/theme.php|1.4.2|1.6|optional|r@
-1.4.2|themes/sample/images|||optional|r@
-1.4.2|themes/water_drop|||optional|r@
-1.4.2|themes/water_drop/style.css|1.4.2|1.23|optional|r@
-1.4.2|themes/water_drop/template.html||1.15|optional|r@
-1.4.2|themes/water_drop/theme.php|1.4.2|1.65|optional|r@
-1.4.2|themes/water_drop/images|||optional|r@
-1.4.3|addfav.php|1.4.3|1.10|mandatory|r@
-1.4.3|addpic.php|1.4.3|1.13|mandatory|r@
-1.4.3|admin.php|1.4.3|1.13|mandatory|r@
-1.4.3|albmgr.php|1.4.3|1.10|mandatory|r@
-1.4.3|anycontent.php|1.4.3|1.10|mandatory|r@
-1.4.3|banning.php|1.4.3|1.11|mandatory|r@
-1.4.3|bridgemgr.php|1.4.3|1.4|mandatory|r@
-1.4.3|calendar.php|1.4.3|1.8|mandatory|r@
-1.4.3|catmgr.php|1.4.3|1.11|mandatory|r@
-1.4.3|charsetmgr.php|1.4.3|1.2|mandatory|r@
-1.4.3|db_ecard.php|1.4.3|1.9|mandatory|r@
-1.4.3|db_input.php|1.4.3|1.14|mandatory|r@
-1.4.3|delete.php|1.4.3|1.11|mandatory|r@
-1.4.3|displayecard.php|1.4.3|1.10|mandatory|r@
-1.4.3|displayimage.php|1.4.3|1.19|mandatory|r@
-1.4.3|displayreport.php|1.4.3|1.2|mandatory|r@
-1.4.3|ecard.php|1.4.3|1.17|mandatory|r@
-1.4.3|editOnePic.php|1.4.3|1.16|mandatory|r@
-1.4.3|editpics.php|1.4.3|1.12|mandatory|r@
-1.4.3|exifmgr.php|1.4.3|1.2|mandatory|r@
-1.4.3|faq.php|1.4.3|1.8|mandatory|r@
-1.4.3|forgot_passwd.php|1.4.3|1.10|mandatory|r@
-1.4.3|getlang.php|1.4.3|1.10|mandatory|r@
-1.4.3|groupmgr.php|1.4.3|1.11|mandatory|r@
-1.4.3|image_processor.php|1.4.3|1.9|mandatory|r@
-1.4.3|index.php|1.4.3|1.21|mandatory|r@
-1.4.3|install.php|1.4.3|1.21|mandatory|r@
-1.4.3|installer.css|1.4.3|1.8|mandatory|r@
-1.4.3|keyword_create_dict.php|1.4.3|1.2|mandatory|r@
-1.4.3|keyword_select.php|1.4.3|1.2|mandatory|r@
-1.4.3|keywordmgr.php|1.4.3|1.2|mandatory|r@
-1.4.3|login.php|1.4.3|1.10|mandatory|r@
-1.4.3|logout.php|1.4.3|1.10|mandatory|r@
-1.4.3|minibrowser.php|1.4.3|1.2|mandatory|r@
-1.4.3|mode.php|1.4.3|1.2|mandatory|r@
-1.4.3|modifyalb.php|1.4.3|1.11|mandatory|r@
-1.4.3|phpinfo.php|1.4.3|1.10|mandatory|r@
-1.4.3|picEditor.php|1.4.3|1.9|mandatory|r@
-1.4.3|picmgr.php|1.4.3|1.2|mandatory|r@
-1.4.3|pluginmgr.php|1.4.3|1.2|mandatory|r@
-1.4.3|profile.php|1.4.3|1.12|mandatory|r@
-1.4.3|ratepic.php|1.4.3|1.10|mandatory|r@
-1.4.3|register.php|1.4.3|1.16|mandatory|r@
-1.4.3|report_file.php|1.4.3|1.2|mandatory|r@
-1.4.3|reviewcom.php|1.4.3|1.10|mandatory|r@
-1.4.3|scripts.js|1.4.3|1.4|mandatory|r@
-1.4.3|search.php|1.4.3|1.10|mandatory|r@
-1.4.3|searchnew.php|1.4.3|1.14|mandatory|r@
-1.4.3|showthumb.php|1.4.3|1.10|mandatory|r@
-1.4.3|stat_details.php|1.4.3|1.2|mandatory|r@
-1.4.3|thumbnails.php|1.4.3|1.10|mandatory|r@
-1.4.3|update.php|1.4.3|1.13|mandatory|r@
-1.4.3|upgrade-1.0-to-1.2.php|1.4.3|1.11|mandatory|r@
-1.4.3|upload.php|1.4.3|1.19|mandatory|r@
-1.4.3|usermgr.php|1.4.3|1.11|mandatory|r@
-1.4.3|util.php|1.4.3|1.18|mandatory|r@
-1.4.3|versioncheck.php|1.4.3|1.22|mandatory|r@
-1.4.3|viewlog.php|1.4.3|1.2|mandatory|r@
-1.4.3|xp_publish.php|1.4.3|1.13|mandatory|r@
-1.4.3|zipdownload.php|1.4.3|1.9|mandatory|r@
-1.4.3|**fullpath**|||mandatory|w@
-1.4.3|**fullpath**/index.php|||optional|w@
-1.4.3|**fullpath**/edit/index.html|||optional|w@
-1.4.3|**fullpath**/edit/no_FTP-uploads_into_this_folder!|||optional|w@
-1.4.3|**fullpath**/edit|||mandatory|w@
-1.4.3|**fullpath**/edit/index.html|||optional|w@
-1.4.3|**fullpath**/**userpics**|||mandatory|w@
-1.4.3|**fullpath**/**userpics**/index.php|||optional|w@
-1.4.3|**fullpath**/**userpics**/no_FTP-uploads_into_this_folder!|||optional|w@
-1.4.3|bridge|||mandatory|r@
-1.4.3|bridge/coppermine.inc.php|1.4.3|1.6|mandatory|r@
-1.4.3|bridge/eblah.inc.php|1.4.3|1.3|optional|r@
-1.4.3|bridge/invisionboard20.inc.php|1.4.3|1.3|optional|r@
-1.4.3|bridge/mambo.inc.php|1.4.3|1.4|optional|r@
-1.4.3|bridge/mybb.inc.php|1.4.3|1.3|optional|r@
-1.4.3|bridge/phorum.inc.php|1.4.3|1.3|optional|r@
-1.4.3|bridge/phpbb.inc.php|1.4.3|1.17|optional|r@
-1.4.3|bridge/phpbb2018.inc.php|1.4.3|1.10|optional|r@
-1.4.3|bridge/phpbb22.inc.php|1.4.3|1.3|optional|r@
-1.4.3|bridge/punbb115.inc.php|1.4.3|1.3|optional|r@
-1.4.3|bridge/punbb12.inc.php|1.4.3|1.4|optional|r@
-1.4.3|bridge/smf10.inc.php|1.4.3|1.4|optional|r@
-1.4.3|bridge/udb_base.inc.php|1.4.3|1.13|mandatory|r@
-1.4.3|bridge/vbulletin30.inc.php|1.4.3|1.14|optional|r@
-1.4.3|bridge/xmb.inc.php|1.4.3|1.3|optional|r@
-1.4.3|bridge/xoops.inc.php|1.4.3|1.4|optional|r@
-1.4.3|docs|||mandatory|r@
-1.4.3|docs/faq.htm|||optional|r@
-1.4.3|docs/faq_fr.htm|||optional|r@
-1.4.3|docs/index.htm||1.12|mandatory|r@
-1.4.3|docs/index_fr.htm||1.2|mandatory|r@
-1.4.3|docs/README.html||1.17|optional|r@
-1.4.3|docs/showdoc.php|1.4.3|1.2|mandatory|r@
-1.4.3|docs/style.css|1.4.3|1.2|mandatory|r@
-1.4.3|docs/theme.htm||1.10|optional|r@
-1.4.3|docs/translation.htm|||optional|r@
-1.4.3|docs/pics|||mandatory|r@
-1.4.3|docs/theme|||optional|r@
-1.4.3|docs/theme/edit_style.html|||optional|r@
-1.4.3|docs/theme/edit_template.html|||optional|r@
-1.4.3|docs/theme/edit_theme.html|1.4.3|1.3|optional|r@
-1.4.3|docs/theme/index.html||1.1|optional|r@
-1.4.3|docs/theme/style.css|1.4.3|1.2|optional|r@
-1.4.3|docs/theme/validation.html|||optional|r@
-1.4.3|include|||mandatory|w@
-1.4.3|include/archive.php|1.4.3|1.8|mandatory|r@
-1.4.3|include/config.inc.php|||mandatory|r@
-1.4.3|include/config.inc.php.sample|||optional|r@
-1.4.3|include/crop.inc.php|1.4.3|1.9|mandatory|r@
-1.4.3|include/debugger.inc.php|1.4.3|1.3|mandatory|r@
-1.4.3|include/exif.php|1.4.3|1.2|mandatory|r@
-1.4.3|include/exif_php.inc.php|1.4.3|1.11|mandatory|r@
-1.4.3|include/exifReader.inc.php|1.4.3|1.8|mandatory|r@
-1.4.3|include/functions.inc.php|1.4.3|1.36|mandatory|r@
-1.4.3|include/imageObjectGD.class.php|1.4.3|1.9|mandatory|r@
-1.4.3|include/imageObjectIM.class.php|1.4.3|1.8|mandatory|r@
-1.4.3|include/index.html|1.4.3|1.3|mandatory|r@
-1.4.3|include/init.inc.php|1.4.3|1.21|mandatory|r@
-1.4.3|include/iptc.inc.php|1.4.3|1.8|mandatory|r@
-1.4.3|include/keyword.inc.php|1.4.3|1.3|mandatory|r@
-1.4.3|include/langfallback.inc.php|1.4.3|1.4|mandatory|r@
-1.4.3|include/logger.inc.php|1.4.3|1.2|mandatory|r@
-1.4.3|include/mailer.inc.php|1.4.3|1.11|mandatory|r@
-1.4.3|include/mb.inc.php|1.4.3|1.3|mandatory|r@
-1.4.3|include/media.functions.inc.php|1.4.3|1.8|mandatory|r@
-1.4.3|include/phpmailer.lang-en.php|1.4.3|1.2|mandatory|r@
-1.4.3|include/picmgmt.inc.php|1.4.3|1.16|mandatory|r@
-1.4.3|include/plugin_api.inc.php|1.4.3|1.2|mandatory|r@
-1.4.3|include/search.inc.php|1.4.3|1.11|mandatory|r@
-1.4.3|include/select_lang.inc.php|1.4.3|1.11|mandatory|r@
-1.4.3|include/slideshow.inc.php|1.4.3|1.13|mandatory|r@
-1.4.3|include/smilies.inc.php|1.4.3|1.10|mandatory|r@
-1.4.3|include/smtp.inc.php|1.4.3|1.2|mandatory|r@
-1.4.3|include/sql_parse.php|1.4.3|1.10|mandatory|r@
-1.4.3|include/themes.inc.php|1.4.3|1.6|mandatory|r@
-1.4.3|include/update.inc.php|1.4.3|1.2|mandatory|r@
-1.4.3|include/zip.lib.php|1.4.3|1.2|mandatory|r@
-1.4.3|include/makers|||mandatory|w@
-1.4.3|include/makers/canon.php|1.4.3|1.2|mandatory|r@
-1.4.3|include/makers/fujifilm.php|1.4.3|1.2|mandatory|r@
-1.4.3|include/makers/gps.php|1.4.3|1.2|mandatory|r@
-1.4.3|include/makers/nikon.php|1.4.3|1.2|mandatory|r@
-1.4.3|include/makers/olympus.php|1.4.3|1.2|mandatory|r@
-1.4.3|include/makers/sanyo.php|1.4.3|1.2|mandatory|r@
-1.4.3|lang|||mandatory|r@
-1.4.3|lang/basque.php|1.4.3|1.4|optional|r@
-1.4.3|lang/chinese_big5.php|1.4.3|1.13|optional|r@
-1.4.3|lang/dutch.php|1.4.3|1.12|optional|r@
-1.4.3|lang/english.php|1.4.3|1.24|mandatory|r@
-1.4.3|lang/english_gb.php|1.4.3|1.2|optional|r@
-1.4.3|lang/french.php|1.4.3|1.19|optional|r@
-1.4.3|lang/german.php|1.4.3|1.17|optional|r@
-1.4.3|lang/german_sie.php|1.4.3|1.8|optional|r@
-1.4.3|lang/italian.php|1.4.3|1.13|optional|r@
-1.4.3|lang/japanese.php|1.4.3|1.13|optional|r@
-1.4.3|lang/korean.php|1.4.3|1.7|optional|r@
-1.4.3|lang/norwegian.php|1.4.3|1.12|optional|r@
-1.4.3|lang/polish.php|1.4.3|1.9|optional|r@
-1.4.3|lang/russian.php|1.4.3|1.16|optional|r@
-1.4.3|lang/slovenian.php|1.4.3|1.9|optional|r@
-1.4.3|lang/spanish.php|1.4.3|1.11|optional|r@
-1.4.3|lang/swedish.php|1.4.3|1.12|optional|r@
-1.4.3|logs|||mandatory|w@
-1.4.3|logs/log_header.inc.php|1.4.3|1.2|mandatory|r@
-1.4.3|plugins|||optional|r@
-1.4.3|plugins/sample|||optional|r@
-1.4.3|plugins/sample/codebase.php|1.4.3|1.2|optional|r@
-1.4.3|plugins/sample/configuration.php|1.4.3|1.2|optional|r@
-1.4.3|plugins/sef_urls|||optional|r@
-1.4.3|plugins/sef_urls/codebase.php|1.4.3|1.2|optional|r@
-1.4.3|plugins/sef_urls/configuration.php|1.4.3|1.2|optional|r@
-1.4.3|plugins/sef_urls/ht.txt|1.4.3|1.2|optional|r@
-1.4.3|sql|||mandatory|r@
-1.4.3|sql/basic.sql|1.4.3|1.13|mandatory|r@
-1.4.3|sql/schema.sql|1.4.3|1.9|mandatory|r@
-1.4.3|sql/update.sql|1.4.3|1.19|mandatory|r@
-1.4.3|themes|||mandatory|r@
-1.4.3|themes/classic|||optional|r@
-1.4.3|themes/classic/style.css|1.4.3|1.6|optional|r@
-1.4.3|themes/classic/template.html||1.9|optional|r@
-1.4.3|themes/classic/theme.php|1.4.3|1.13|optional|r@
-1.4.3|themes/classic/images|||optional|r@
-1.4.3|themes/eyeball|||optional|r@
-1.4.3|themes/eyeball/style.css|1.4.3|1.7|optional|r@
-1.4.3|themes/eyeball/template.html||1.8|optional|r@
-1.4.3|themes/eyeball/theme.php|1.4.3|1.15|optional|r@
-1.4.3|themes/eyeball/images|||optional|r@
-1.4.3|themes/fruity|||optional|r@
-1.4.3|themes/fruity/style.css|1.4.3|1.7|optional|r@
-1.4.3|themes/fruity/template.html||1.8|optional|r@
-1.4.3|themes/fruity/theme.php|1.4.3|1.14|optional|r@
-1.4.3|themes/fruity/images|||optional|r@
-1.4.3|themes/hardwired|||optional|r@
-1.4.3|themes/hardwired/style.css|1.4.3|1.7|optional|r@
-1.4.3|themes/hardwired/template.html||1.9|optional|r@
-1.4.3|themes/hardwired/theme.php|1.4.3|1.16|optional|r@
-1.4.3|themes/hardwired/images|||optional|r@
-1.4.3|themes/igames|||optional|r@
-1.4.3|themes/igames/style.css|1.4.3|1.7|optional|r@
-1.4.3|themes/igames/template.html||1.9|optional|r@
-1.4.3|themes/igames/theme.php|1.4.3|1.15|optional|r@
-1.4.3|themes/igames/images|||optional|r@
-1.4.3|themes/mac_ox_x|||optional|r@
-1.4.3|themes/mac_ox_x/style.css|1.4.3|1.7|optional|r@
-1.4.3|themes/mac_ox_x/template.html||1.8|optional|r@
-1.4.3|themes/mac_ox_x/theme.php|1.4.3|1.14|optional|r@
-1.4.3|themes/mac_ox_x/images|||optional|r@
-1.4.3|themes/project_vii|||optional|r@
-1.4.3|themes/project_vii/style.css|1.4.3|1.9|optional|r@
-1.4.3|themes/project_vii/template.html||1.7|optional|r@
-1.4.3|themes/project_vii/theme.php|1.4.3|1.14|optional|r@
-1.4.3|themes/project_vii/images|||optional|r@
-1.4.3|themes/rainy_day|||optional|r@
-1.4.3|themes/rainy_day/style.css|1.4.3|1.7|optional|r@
-1.4.3|themes/rainy_day/template.html||1.6|optional|r@
-1.4.3|themes/rainy_day/theme.php|1.4.3|1.14|optional|r@
-1.4.3|themes/rainy_day/images|||optional|r@
-1.4.3|themes/sample|||optional|r@
-1.4.3|themes/sample/style.css|1.4.3|1.2|optional|r@
-1.4.3|themes/sample/template.html|||optional|r@
-1.4.3|themes/sample/theme.php|1.4.3|1.4|optional|r@
-1.4.3|themes/sample/images|||optional|r@
-1.4.3|themes/water_drop|||optional|r@
-1.4.3|themes/water_drop/style.css|1.4.3|1.8|optional|r@
-1.4.3|themes/water_drop/template.html||1.15|optional|r@
-1.4.3|themes/water_drop/theme.php|1.4.3|1.14|optional|r@
-1.4.3|themes/water_drop/images|||optional|r@
-1.4.4|addfav.php|1.4.4|1.14|mandatory|r@
-1.4.4|addpic.php|1.4.4|1.15|mandatory|r@
-1.4.4|admin.php|1.4.4|1.15|mandatory|r@
-1.4.4|albmgr.php|1.4.4|1.12|mandatory|r@
-1.4.4|anycontent.php|1.4.4|1.12|mandatory|r@
-1.4.4|banning.php|1.4.4|1.13|mandatory|r@
-1.4.4|bridgemgr.php|1.4.4|1.8|mandatory|r@
-1.4.4|calendar.php|1.4.4|1.10|mandatory|r@
-1.4.4|catmgr.php|1.4.4|1.13|mandatory|r@
-1.4.4|charsetmgr.php|1.4.4|1.4|mandatory|r@
-1.4.4|db_ecard.php|1.4.4|1.11|mandatory|r@
-1.4.4|db_input.php|1.4.4|1.18|mandatory|r@
-1.4.4|delete.php|1.4.4|1.14|mandatory|r@
-1.4.4|displayecard.php|1.4.4|1.12|mandatory|r@
-1.4.4|displayimage.php|1.4.4|1.23|mandatory|r@
-1.4.4|displayreport.php|1.4.4|1.4|mandatory|r@
-1.4.4|ecard.php|1.4.4|1.20|mandatory|r@
-1.4.4|editOnePic.php|1.4.4|1.20|mandatory|r@
-1.4.4|editpics.php|1.4.4|1.14|mandatory|r@
-1.4.4|exifmgr.php|1.4.4|1.4|mandatory|r@
-1.4.4|faq.php|1.4.4|1.10|mandatory|r@
-1.4.4|forgot_passwd.php|1.4.4|1.13|mandatory|r@
-1.4.4|getlang.php|1.4.4|1.12|mandatory|r@
-1.4.4|groupmgr.php|1.4.4|1.13|mandatory|r@
-1.4.4|image_processor.php|1.4.4|1.12|mandatory|r@
-1.4.4|index.php|1.4.4|1.23|mandatory|r@
-1.4.4|install.php|1.4.4|1.24|mandatory|r@
-1.4.4|installer.css|1.4.4|1.9|mandatory|r@
-1.4.4|keyword_create_dict.php|1.4.4|1.4|mandatory|r@
-1.4.4|keyword_select.php|1.4.4|1.4|mandatory|r@
-1.4.4|keywordmgr.php|1.4.4|1.4|mandatory|r@
-1.4.4|login.php|1.4.4|1.15|mandatory|r@
-1.4.4|logout.php|1.4.4|1.12|mandatory|r@
-1.4.4|minibrowser.php|1.4.4|1.4|mandatory|r@
-1.4.4|mode.php|1.4.4|1.4|mandatory|r@
-1.4.4|modifyalb.php|1.4.4|1.13|mandatory|r@
-1.4.4|phpinfo.php|1.4.4|1.12|mandatory|r@
-1.4.4|picEditor.php|1.4.4|1.11|mandatory|r@
-1.4.4|picmgr.php|1.4.4|1.4|mandatory|r@
-1.4.4|pluginmgr.php|1.4.4|1.4|mandatory|r@
-1.4.4|profile.php|1.4.4|1.14|mandatory|r@
-1.4.4|ratepic.php|1.4.4|1.12|mandatory|r@
-1.4.4|register.php|1.4.4|1.18|mandatory|r@
-1.4.4|report_file.php|1.4.4|1.4|mandatory|r@
-1.4.4|reviewcom.php|1.4.4|1.12|mandatory|r@
-1.4.4|scripts.js|1.4.4|1.5|mandatory|r@
-1.4.4|search.php|1.4.4|1.13|mandatory|r@
-1.4.4|searchnew.php|1.4.4|1.18|mandatory|r@
-1.4.4|showthumb.php|1.4.4|1.12|mandatory|r@
-1.4.4|stat_details.php|1.4.4|1.4|mandatory|r@
-1.4.4|thumbnails.php|1.4.4|1.16|mandatory|r@
-1.4.4|update.php|1.4.4|1.14|mandatory|r@
-1.4.4|upgrade-1.0-to-1.2.php|1.4.4|1.13|mandatory|r@
-1.4.4|upload.php|1.4.4|1.21|mandatory|r@
-1.4.4|usermgr.php|1.4.4|1.13|mandatory|r@
-1.4.4|util.php|1.4.4|1.20|mandatory|r@
-1.4.4|versioncheck.php|1.4.4|1.26|mandatory|r@
-1.4.4|viewlog.php|1.4.4|1.5|mandatory|r@
-1.4.4|xp_publish.php|1.4.4|1.15|mandatory|r@
-1.4.4|zipdownload.php|1.4.4|1.11|mandatory|r@
-1.4.4|**fullpath**|||mandatory|w@
-1.4.4|**fullpath**/index.php|||optional|w@
-1.4.4|**fullpath**/edit/index.html|||optional|w@
-1.4.4|**fullpath**/edit/no_FTP-uploads_into_this_folder!|||optional|w@
-1.4.4|**fullpath**/edit|||mandatory|w@
-1.4.4|**fullpath**/edit/index.html|||optional|w@
-1.4.4|**fullpath**/**userpics**|||mandatory|w@
-1.4.4|**fullpath**/**userpics**/index.php|||optional|w@
-1.4.4|**fullpath**/**userpics**/no_FTP-uploads_into_this_folder!|||optional|w@
-1.4.4|bridge|||mandatory|r@
-1.4.4|bridge/coppermine.inc.php|1.4.4|1.7|mandatory|r@
-1.4.4|bridge/invisionboard20.inc.php|1.4.4|1.4|optional|r@
-1.4.4|bridge/mambo.inc.php|1.4.4|1.5|optional|r@
-1.4.4|bridge/mybb.inc.php|1.4.4|1.5|optional|r@
-1.4.4|bridge/phorum.inc.php|1.4.4|1.4|optional|r@
-1.4.4|bridge/phpbb.inc.php|1.4.4|1.20|optional|r@
-1.4.4|bridge/phpbb2018.inc.php|1.4.4|1.13|optional|r@
-1.4.4|bridge/phpbb22.inc.php|1.4.4|1.4|optional|r@
-1.4.4|bridge/punbb115.inc.php|1.4.4|1.4|optional|r@
-1.4.4|bridge/punbb12.inc.php|1.4.4|1.5|optional|r@
-1.4.4|bridge/smf10.inc.php|1.4.4|1.6|optional|r@
-1.4.4|bridge/udb_base.inc.php|1.4.4|1.18|mandatory|r@
-1.4.4|bridge/vbulletin30.inc.php|1.4.4|1.15|optional|r@
-1.4.4|bridge/xmb.inc.php|1.4.4|1.4|optional|r@
-1.4.4|bridge/xoops.inc.php|1.4.4|1.6|optional|r@
-1.4.4|docs|||mandatory|r@
-1.4.4|docs/faq.htm|||optional|r@
-1.4.4|docs/faq_fr.htm|||optional|r@
-1.4.4|docs/index.htm||1.12|mandatory|r@
-1.4.4|docs/index_fr.htm||1.2|mandatory|r@
-1.4.4|docs/README.html||1.17|optional|r@
-1.4.4|docs/showdoc.php|1.4.4|1.5|mandatory|r@
-1.4.4|docs/style.css|1.4.4|1.3|mandatory|r@
-1.4.4|docs/theme.htm||1.10|optional|r@
-1.4.4|docs/translation.htm|||optional|r@
-1.4.4|docs/pics|||mandatory|r@
-1.4.4|docs/theme|||optional|r@
-1.4.4|docs/theme/edit_style.html|||optional|r@
-1.4.4|docs/theme/edit_template.html|||optional|r@
-1.4.4|docs/theme/edit_theme.html|1.4.4|1.5|optional|r@
-1.4.4|docs/theme/index.html||1.1|optional|r@
-1.4.4|docs/theme/style.css|1.4.4|1.3|optional|r@
-1.4.4|docs/theme/validation.html|||optional|r@
-1.4.4|include|||mandatory|w@
-1.4.4|include/archive.php|1.4.4|1.10|mandatory|r@
-1.4.4|include/config.inc.php|||mandatory|r@
-1.4.4|include/config.inc.php.sample|||optional|r@
-1.4.4|include/crop.inc.php|1.4.4|1.11|mandatory|r@
-1.4.4|include/debugger.inc.php|1.4.4|1.5|mandatory|r@
-1.4.4|include/exif.php|1.4.4|1.4|mandatory|r@
-1.4.4|include/exif_php.inc.php|1.4.4|1.13|mandatory|r@
-1.4.4|include/exifReader.inc.php|1.4.4|1.10|mandatory|r@
-1.4.4|include/functions.inc.php|1.4.4|1.41|mandatory|r@
-1.4.4|include/imageObjectGD.class.php|1.4.4|1.11|mandatory|r@
-1.4.4|include/imageObjectIM.class.php|1.4.4|1.10|mandatory|r@
-1.4.4|include/index.html|1.4.4|1.5|mandatory|r@
-1.4.4|include/init.inc.php|1.4.4|1.25|mandatory|r@
-1.4.4|include/iptc.inc.php|1.4.4|1.10|mandatory|r@
-1.4.4|include/keyword.inc.php|1.4.4|1.5|mandatory|r@
-1.4.4|include/langfallback.inc.php|1.4.4|1.9|mandatory|r@
-1.4.4|include/logger.inc.php|1.4.4|1.4|mandatory|r@
-1.4.4|include/mailer.inc.php|1.4.4|1.13|mandatory|r@
-1.4.4|include/mb.inc.php|1.4.4|1.5|mandatory|r@
-1.4.4|include/media.functions.inc.php|1.4.4|1.10|mandatory|r@
-1.4.4|include/phpmailer.lang-en.php|1.4.4|1.4|mandatory|r@
-1.4.4|include/picmgmt.inc.php|1.4.4|1.20|mandatory|r@
-1.4.4|include/plugin_api.inc.php|1.4.4|1.4|mandatory|r@
-1.4.4|include/search.inc.php|1.4.4|1.13|mandatory|r@
-1.4.4|include/select_lang.inc.php|1.4.4|1.13|mandatory|r@
-1.4.4|include/slideshow.inc.php|1.4.4|1.15|mandatory|r@
-1.4.4|include/smilies.inc.php|1.4.4|1.12|mandatory|r@
-1.4.4|include/smtp.inc.php|1.4.4|1.4|mandatory|r@
-1.4.4|include/sql_parse.php|1.4.4|1.12|mandatory|r@
-1.4.4|include/themes.inc.php|1.4.4|1.15|mandatory|r@
-1.4.4|include/update.inc.php|1.4.4|1.3|mandatory|r@
-1.4.4|include/zip.lib.php|1.4.4|1.4|mandatory|r@
-1.4.4|include/makers|||mandatory|w@
-1.4.4|include/makers/canon.php|1.4.4|1.4|mandatory|r@
-1.4.4|include/makers/fujifilm.php|1.4.4|1.4|mandatory|r@
-1.4.4|include/makers/gps.php|1.4.4|1.4|mandatory|r@
-1.4.4|include/makers/nikon.php|1.4.4|1.4|mandatory|r@
-1.4.4|include/makers/olympus.php|1.4.4|1.4|mandatory|r@
-1.4.4|include/makers/sanyo.php|1.4.4|1.4|mandatory|r@
-1.4.4|lang|||mandatory|r@
-1.4.4|lang/basque.php|1.4.4|1.6|optional|r@
-1.4.4|lang/chinese_big5.php|1.4.4|1.14|optional|r@
-1.4.4|lang/chinese_gb.php|1.4.4|1.16|optional|r@
-1.4.4|lang/czech.php|1.4.4|1.16|optional|r@
-1.4.4|lang/dutch.php|1.4.4|1.14|optional|r@
-1.4.4|lang/english.php|1.4.4|1.25|mandatory|r@
-1.4.4|lang/english_gb.php|1.4.4|1.3|optional|r@
-1.4.4|lang/french.php|1.4.4|1.20|optional|r@
-1.4.4|lang/galician.php|1.4.4|1.7|optional|r@
-1.4.4|lang/german.php|1.4.4|1.19|optional|r@
-1.4.4|lang/german_sie.php|1.4.4|1.10|optional|r@
-1.4.4|lang/italian.php|1.4.4|1.14|optional|r@
-1.4.4|lang/japanese.php|1.4.4|1.14|optional|r@
-1.4.4|lang/korean.php|1.4.4|1.8|optional|r@
-1.4.4|lang/norwegian.php|1.4.4|1.13|optional|r@
-1.4.4|lang/polish.php|1.4.4|1.13|optional|r@
-1.4.4|lang/russian.php|1.4.4|1.19|optional|r@
-1.4.4|lang/slovenian.php|1.4.4|1.10|optional|r@
-1.4.4|lang/spanish.php|1.4.4|1.12|optional|r@
-1.4.4|lang/swedish.php|1.4.4|1.13|optional|r@
-1.4.4|lang/turkish.php|1.4.4|1.15|optional|r@
-1.4.4|lang/ukrainian.php|1.4.4|1.15|optional|r@
-1.4.4|logs|||mandatory|w@
-1.4.4|logs/log_header.inc.php|1.4.4|1.4|mandatory|r@
-1.4.4|plugins|||optional|r@
-1.4.4|plugins/sample|||optional|r@
-1.4.4|plugins/sample/codebase.php|1.4.4|1.4|optional|r@
-1.4.4|plugins/sample/configuration.php|1.4.4|1.4|optional|r@
-1.4.4|plugins/sef_urls|||optional|r@
-1.4.4|plugins/sef_urls/codebase.php|1.4.4|1.7|optional|r@
-1.4.4|plugins/sef_urls/configuration.php|1.4.4|1.4|optional|r@
-1.4.4|plugins/sef_urls/ht.txt|1.4.4|1.6|optional|r@
-1.4.4|sql|||mandatory|r@
-1.4.4|sql/basic.sql|1.4.4|1.16|mandatory|r@
-1.4.4|sql/schema.sql|1.4.4|1.12|mandatory|r@
-1.4.4|sql/update.sql|1.4.4|1.22|mandatory|r@
-1.4.4|themes|||mandatory|r@
-1.4.4|themes/classic|||optional|r@
-1.4.4|themes/classic/style.css|1.4.4|1.9|optional|r@
-1.4.4|themes/classic/template.html||1.9|optional|r@
-1.4.4|themes/classic/theme.php|1.4.4|1.15|optional|r@
-1.4.4|themes/classic/images|||optional|r@
-1.4.4|themes/eyeball|||optional|r@
-1.4.4|themes/eyeball/style.css|1.4.4|1.9|optional|r@
-1.4.4|themes/eyeball/template.html||1.8|optional|r@
-1.4.4|themes/eyeball/theme.php|1.4.4|1.17|optional|r@
-1.4.4|themes/eyeball/images|||optional|r@
-1.4.4|themes/fruity|||optional|r@
-1.4.4|themes/fruity/style.css|1.4.4|1.11|optional|r@
-1.4.4|themes/fruity/template.html||1.8|optional|r@
-1.4.4|themes/fruity/theme.php|1.4.4|1.16|optional|r@
-1.4.4|themes/fruity/images|||optional|r@
-1.4.4|themes/hardwired|||optional|r@
-1.4.4|themes/hardwired/style.css|1.4.4|1.10|optional|r@
-1.4.4|themes/hardwired/template.html||1.9|optional|r@
-1.4.4|themes/hardwired/theme.php|1.4.4|1.18|optional|r@
-1.4.4|themes/hardwired/images|||optional|r@
-1.4.4|themes/igames|||optional|r@
-1.4.4|themes/igames/style.css|1.4.4|1.9|optional|r@
-1.4.4|themes/igames/template.html||1.9|optional|r@
-1.4.4|themes/igames/theme.php|1.4.4|1.17|optional|r@
-1.4.4|themes/igames/images|||optional|r@
-1.4.4|themes/mac_ox_x|||optional|r@
-1.4.4|themes/mac_ox_x/style.css|1.4.4|1.9|optional|r@
-1.4.4|themes/mac_ox_x/template.html||1.8|optional|r@
-1.4.4|themes/mac_ox_x/theme.php|1.4.4|1.16|optional|r@
-1.4.4|themes/mac_ox_x/images|||optional|r@
-1.4.4|themes/project_vii|||optional|r@
-1.4.4|themes/project_vii/style.css|1.4.4|1.12|optional|r@
-1.4.4|themes/project_vii/template.html||1.7|optional|r@
-1.4.4|themes/project_vii/theme.php|1.4.4|1.17|optional|r@
-1.4.4|themes/project_vii/images|||optional|r@
-1.4.4|themes/rainy_day|||optional|r@
-1.4.4|themes/rainy_day/style.css|1.4.4|1.10|optional|r@
-1.4.4|themes/rainy_day/template.html||1.6|optional|r@
-1.4.4|themes/rainy_day/theme.php|1.4.4|1.16|optional|r@
-1.4.4|themes/rainy_day/images|||optional|r@
-1.4.4|themes/sample|||optional|r@
-1.4.4|themes/sample/style.css|1.4.4|1.5|optional|r@
-1.4.4|themes/sample/template.html|||optional|r@
-1.4.4|themes/sample/theme.php|1.4.4|1.6|optional|r@
-1.4.4|themes/sample/images|||optional|r@
-1.4.4|themes/water_drop|||optional|r@
-1.4.4|themes/water_drop/style.css|1.4.4|1.11|optional|r@
-1.4.4|themes/water_drop/template.html||1.15|optional|r@
-1.4.4|themes/water_drop/theme.php|1.4.4|1.16|optional|r@
-1.4.4|themes/water_drop/images|||optional|r@
-1.4.5|addfav.php|1.4.5|1.15|mandatory|r@
-1.4.5|addpic.php|1.4.5|1.16|mandatory|r@
-1.4.5|admin.php|1.4.5|1.16|mandatory|r@
-1.4.5|albmgr.php|1.4.5|1.13|mandatory|r@
-1.4.5|anycontent.php|1.4.5|1.13|mandatory|r@
-1.4.5|banning.php|1.4.5|1.14|mandatory|r@
-1.4.5|bridgemgr.php|1.4.5|1.9|mandatory|r@
-1.4.5|calendar.php|1.4.5|1.11|mandatory|r@
-1.4.5|catmgr.php|1.4.5|1.14|mandatory|r@
-1.4.5|charsetmgr.php|1.4.5|1.5|mandatory|r@
-1.4.5|config.php|1.4.5|1.17|optional|r@
-1.4.5|db_ecard.php|1.4.5|1.12|mandatory|r@
-1.4.5|db_input.php|1.4.5|1.19|mandatory|r@
-1.4.5|delete.php|1.4.5|1.15|mandatory|r@
-1.4.5|displayecard.php|1.4.5|1.13|mandatory|r@
-1.4.5|displayimage.php|1.4.5|1.24|mandatory|r@
-1.4.5|displayreport.php|1.4.5|1.5|mandatory|r@
-1.4.5|ecard.php|1.4.5|1.21|mandatory|r@
-1.4.5|editOnePic.php|1.4.5|1.21|mandatory|r@
-1.4.5|editpics.php|1.4.5|1.15|mandatory|r@
-1.4.5|exifmgr.php|1.4.5|1.5|mandatory|r@
-1.4.5|faq.php|1.4.5|1.11|mandatory|r@
-1.4.5|forgot_passwd.php|1.4.5|1.14|mandatory|r@
-1.4.5|getlang.php|1.4.5|1.13|mandatory|r@
-1.4.5|groupmgr.php|1.4.5|1.14|mandatory|r@
-1.4.5|image_processor.php|1.4.5|1.13|mandatory|r@
-1.4.5|index.php|1.4.5|1.25|mandatory|r@
-1.4.5|install.php|1.4.5|1.26|mandatory|r@
-1.4.5|installer.css|1.4.5|1.10|mandatory|r@
-1.4.5|keyword_create_dict.php|1.4.5|1.5|mandatory|r@
-1.4.5|keyword_select.php|1.4.5|1.5|mandatory|r@
-1.4.5|keywordmgr.php|1.4.5|1.5|mandatory|r@
-1.4.5|login.php|1.4.5|1.16|mandatory|r@
-1.4.5|logout.php|1.4.5|1.13|mandatory|r@
-1.4.5|minibrowser.php|1.4.5|1.5|mandatory|r@
-1.4.5|mode.php|1.4.5|1.5|mandatory|r@
-1.4.5|modifyalb.php|1.4.5|1.14|mandatory|r@
-1.4.5|phpinfo.php|1.4.5|1.13|mandatory|r@
-1.4.5|picEditor.php|1.4.5|1.12|mandatory|r@
-1.4.5|picmgr.php|1.4.5|1.5|mandatory|r@
-1.4.5|pluginmgr.php|1.4.5|1.5|mandatory|r@
-1.4.5|profile.php|1.4.5|1.15|mandatory|r@
-1.4.5|ratepic.php|1.4.5|1.13|mandatory|r@
-1.4.5|register.php|1.4.5|1.19|mandatory|r@
-1.4.5|relocate_server.php|1.4.5|1.3|optional|r@
-1.4.5|report_file.php|1.4.5|1.5|mandatory|r@
-1.4.5|reviewcom.php|1.4.5|1.13|mandatory|r@
-1.4.5|scripts.js|1.4.5|1.6|mandatory|r@
-1.4.5|search.php|1.4.5|1.14|mandatory|r@
-1.4.5|searchnew.php|1.4.5|1.19|mandatory|r@
-1.4.5|showthumb.php|1.4.5|1.13|mandatory|r@
-1.4.5|stat_details.php|1.4.5|1.5|mandatory|r@
-1.4.5|thumbnails.php|1.4.5|1.17|mandatory|r@
-1.4.5|update.php|1.4.5|1.15|mandatory|r@
-1.4.5|upgrade-1.0-to-1.2.php|1.4.5|1.14|mandatory|r@
-1.4.5|upload.php|1.4.5|1.22|mandatory|r@
-1.4.5|usermgr.php|1.4.5|1.14|mandatory|r@
-1.4.5|util.php|1.4.5|1.21|mandatory|r@
-1.4.5|versioncheck.php|1.4.5|1.35|mandatory|r@
-1.4.5|viewlog.php|1.4.5|1.6|mandatory|r@
-1.4.5|xp_publish.php|1.4.5|1.16|mandatory|r@
-1.4.5|zipdownload.php|1.4.5|1.12|mandatory|r@
-1.4.5|**fullpath**|||mandatory|w@
-1.4.5|**fullpath**/index.php|||optional|w@
-1.4.5|**fullpath**/edit/index.html|||optional|w@
-1.4.5|**fullpath**/edit/no_FTP-uploads_into_this_folder!|||optional|w@
-1.4.5|**fullpath**/edit|||mandatory|w@
-1.4.5|**fullpath**/edit/index.html|||optional|w@
-1.4.5|**fullpath**/**userpics**|||mandatory|w@
-1.4.5|**fullpath**/**userpics**/index.php|||optional|w@
-1.4.5|**fullpath**/**userpics**/no_FTP-uploads_into_this_folder!|||optional|w@
-1.4.5|bridge|||mandatory|r@
-1.4.5|bridge/coppermine.inc.php|1.4.5|1.8|mandatory|r@
-1.4.5|bridge/invisionboard20.inc.php|1.4.5|1.5|optional|r@
-1.4.5|bridge/mambo.inc.php|1.4.5|1.6|optional|r@
-1.4.5|bridge/mybb.inc.php|1.4.5|1.6|optional|r@
-1.4.5|bridge/phorum.inc.php|1.4.5|1.5|optional|r@
-1.4.5|bridge/phpbb.inc.php|1.4.5|1.21|optional|r@
-1.4.5|bridge/phpbb2018.inc.php|1.4.5|1.14|optional|r@
-1.4.5|bridge/phpbb22.inc.php|1.4.5|1.5|optional|r@
-1.4.5|bridge/punbb115.inc.php|1.4.5|1.5|optional|r@
-1.4.5|bridge/punbb12.inc.php|1.4.5|1.6|optional|r@
-1.4.5|bridge/smf10.inc.php|1.4.5|1.7|optional|r@
-1.4.5|bridge/udb_base.inc.php|1.4.5|1.19|mandatory|r@
-1.4.5|bridge/vbulletin30.inc.php|1.4.5|1.16|optional|r@
-1.4.5|bridge/xmb.inc.php|1.4.5|1.5|optional|r@
-1.4.5|bridge/xoops.inc.php|1.4.5|1.7|optional|r@
-1.4.5|docs|||mandatory|r@
-1.4.5|docs/faq.htm|||optional|r@
-1.4.5|docs/faq_fr.htm|||optional|r@
-1.4.5|docs/index.htm||1.12|mandatory|r@
-1.4.5|docs/index_fr.htm||1.2|mandatory|r@
-1.4.5|docs/README.html||1.17|optional|r@
-1.4.5|docs/showdoc.php|1.4.5|1.6|mandatory|r@
-1.4.5|docs/style.css|1.4.5|1.4|mandatory|r@
-1.4.5|docs/theme.htm||1.10|optional|r@
-1.4.5|docs/translation.htm|||optional|r@
-1.4.5|docs/pics|||mandatory|r@
-1.4.5|docs/theme|||optional|r@
-1.4.5|docs/theme/edit_style.html|||optional|r@
-1.4.5|docs/theme/edit_template.html|||optional|r@
-1.4.5|docs/theme/edit_theme.html|1.4.5|1.6|optional|r@
-1.4.5|docs/theme/index.html||1.3|optional|r@
-1.4.5|docs/theme/style.css|1.4.5|1.4|optional|r@
-1.4.5|docs/theme/validation.html|||optional|r@
-1.4.5|include|||mandatory|w@
-1.4.5|include/archive.php|1.4.5|1.11|mandatory|r@
-1.4.5|include/config.inc.php|||mandatory|r@
-1.4.5|include/config.inc.php.sample|||optional|r@
-1.4.5|include/crop.inc.php|1.4.5|1.12|mandatory|r@
-1.4.5|include/debugger.inc.php|1.4.5|1.6|mandatory|r@
-1.4.5|include/exif.php|1.4.5|1.5|mandatory|r@
-1.4.5|include/exif_php.inc.php|1.4.5|1.14|mandatory|r@
-1.4.5|include/exifReader.inc.php|1.4.5|1.11|mandatory|r@
-1.4.5|include/functions.inc.php|1.4.5|1.44|mandatory|r@
-1.4.5|include/imageObjectGD.class.php|1.4.5|1.12|mandatory|r@
-1.4.5|include/imageObjectIM.class.php|1.4.5|1.11|mandatory|r@
-1.4.5|include/index.html|1.4.5|1.6|mandatory|r@
-1.4.5|include/init.inc.php|1.4.5|1.27|mandatory|r@
-1.4.5|include/iptc.inc.php|1.4.5|1.11|mandatory|r@
-1.4.5|include/keyword.inc.php|1.4.5|1.6|mandatory|r@
-1.4.5|include/langfallback.inc.php|1.4.5|1.10|mandatory|r@
-1.4.5|include/logger.inc.php|1.4.5|1.5|mandatory|r@
-1.4.5|include/mailer.inc.php|1.4.5|1.14|mandatory|r@
-1.4.5|include/mb.inc.php|1.4.5|1.6|mandatory|r@
-1.4.5|include/media.functions.inc.php|1.4.5|1.11|mandatory|r@
-1.4.5|include/phpmailer.lang-en.php|1.4.5|1.5|mandatory|r@
-1.4.5|include/picmgmt.inc.php|1.4.5|1.21|mandatory|r@
-1.4.5|include/plugin_api.inc.php|1.4.5|1.5|mandatory|r@
-1.4.5|include/search.inc.php|1.4.5|1.14|mandatory|r@
-1.4.5|include/select_lang.inc.php|1.4.5|1.14|mandatory|r@
-1.4.5|include/slideshow.inc.php|1.4.5|1.16|mandatory|r@
-1.4.5|include/smilies.inc.php|1.4.5|1.13|mandatory|r@
-1.4.5|include/smtp.inc.php|1.4.5|1.5|mandatory|r@
-1.4.5|include/sql_parse.php|1.4.5|1.13|mandatory|r@
-1.4.5|include/themes.inc.php|1.4.5|1.16|mandatory|r@
-1.4.5|include/update.inc.php|1.4.5|1.4|mandatory|r@
-1.4.5|include/zip.lib.php|1.4.5|1.5|mandatory|r@
-1.4.5|include/makers|||mandatory|w@
-1.4.5|include/makers/canon.php|1.4.5|1.5|mandatory|r@
-1.4.5|include/makers/fujifilm.php|1.4.5|1.5|mandatory|r@
-1.4.5|include/makers/gps.php|1.4.5|1.5|mandatory|r@
-1.4.5|include/makers/nikon.php|1.4.5|1.5|mandatory|r@
-1.4.5|include/makers/olympus.php|1.4.5|1.5|mandatory|r@
-1.4.5|include/makers/sanyo.php|1.4.5|1.5|mandatory|r@
-1.4.5|lang|||mandatory|r@
-1.4.5|lang/basque.php|1.4.5|1.7|optional|r@
-1.4.5|lang/chinese_big5.php|1.4.5|1.15|optional|r@
-1.4.5|lang/chinese_gb.php|1.4.5|1.17|optional|r@
-1.4.5|lang/czech.php|1.4.3|1.19|optional|r@
-1.4.5|lang/dutch.php|1.4.5|1.15|optional|r@
-1.4.5|lang/english.php|1.4.5|1.26|mandatory|r@
-1.4.5|lang/english_gb.php|1.4.5|1.4|optional|r@
-1.4.5|lang/french.php|1.4.5|1.21|optional|r@
-1.4.5|lang/galician.php|1.4.5|1.8|optional|r@
-1.4.5|lang/georgian.php|1.4.4|1.1|optional|r@
-1.4.5|lang/german.php|1.4.5|1.20|optional|r@
-1.4.5|lang/german_sie.php|1.4.5|1.11|optional|r@
-1.4.5|lang/italian.php|1.4.5|1.15|optional|r@
-1.4.5|lang/japanese.php|1.4.5|1.15|optional|r@
-1.4.5|lang/korean.php|1.4.5|1.9|optional|r@
-1.4.5|lang/norwegian.php|1.4.5|1.14|optional|r@
-1.4.5|lang/persian.php|1.4.4|1.4|optional|r@
-1.4.5|lang/polish.php|1.4.5|1.14|optional|r@
-1.4.5|lang/portuguese.php|1.4.5||optional|r@
-1.4.5|lang/russian.php|1.4.5|1.21|optional|r@
-1.4.5|lang/slovak.php|1.4.5|1.10|optional|r@
-1.4.5|lang/slovenian.php|1.4.5|1.11|optional|r@
-1.4.5|lang/spanish.php|1.4.5|1.13|optional|r@
-1.4.5|lang/swedish.php|1.4.5|1.14|optional|r@
-1.4.5|lang/turkish.php|1.4.5|1.16|optional|r@
-1.4.5|lang/ukrainian.php|1.4.5|1.7|optional|r@
-1.4.5|logs|||mandatory|w@
-1.4.5|logs/log_header.inc.php|1.4.5|1.5|mandatory|r@
-1.4.5|plugins|||optional|r@
-1.4.5|plugins/sample|||optional|r@
-1.4.5|plugins/sample/codebase.php|1.4.5|1.5|optional|r@
-1.4.5|plugins/sample/configuration.php|1.4.5|1.5|optional|r@
-1.4.5|plugins/sef_urls|||optional|r@
-1.4.5|plugins/sef_urls/codebase.php|1.4.5|1.8|optional|r@
-1.4.5|plugins/sef_urls/configuration.php|1.4.5|1.5|optional|r@
-1.4.5|plugins/sef_urls/ht.txt|1.4.5|1.7|optional|r@
-1.4.5|sql|||mandatory|r@
-1.4.5|sql/basic.sql|1.4.5|1.18|mandatory|r@
-1.4.5|sql/schema.sql|1.4.5|1.13|mandatory|r@
-1.4.5|sql/update.sql|1.4.5|1.23|mandatory|r@
-1.4.5|themes|||mandatory|r@
-1.4.5|themes/classic|||optional|r@
-1.4.5|themes/classic/style.css|1.4.5|1.10|optional|r@
-1.4.5|themes/classic/template.html||1.9|optional|r@
-1.4.5|themes/classic/theme.php|1.4.5|1.16|optional|r@
-1.4.5|themes/classic/images|||optional|r@
-1.4.5|themes/eyeball|||optional|r@
-1.4.5|themes/eyeball/style.css|1.4.5|1.10|optional|r@
-1.4.5|themes/eyeball/template.html||1.8|optional|r@
-1.4.5|themes/eyeball/theme.php|1.4.5|1.18|optional|r@
-1.4.5|themes/eyeball/images|||optional|r@
-1.4.5|themes/fruity|||optional|r@
-1.4.5|themes/fruity/style.css|1.4.5|1.12|optional|r@
-1.4.5|themes/fruity/template.html||1.8|optional|r@
-1.4.5|themes/fruity/theme.php|1.4.5|1.17|optional|r@
-1.4.5|themes/fruity/images|||optional|r@
-1.4.5|themes/hardwired|||optional|r@
-1.4.5|themes/hardwired/style.css|1.4.5|1.11|optional|r@
-1.4.5|themes/hardwired/template.html||1.9|optional|r@
-1.4.5|themes/hardwired/theme.php|1.4.5|1.19|optional|r@
-1.4.5|themes/hardwired/images|||optional|r@
-1.4.5|themes/igames|||optional|r@
-1.4.5|themes/igames/style.css|1.4.5|1.10|optional|r@
-1.4.5|themes/igames/template.html||1.9|optional|r@
-1.4.5|themes/igames/theme.php|1.4.5|1.18|optional|r@
-1.4.5|themes/igames/images|||optional|r@
-1.4.5|themes/mac_ox_x|||optional|r@
-1.4.5|themes/mac_ox_x/style.css|1.4.5|1.10|optional|r@
-1.4.5|themes/mac_ox_x/template.html||1.8|optional|r@
-1.4.5|themes/mac_ox_x/theme.php|1.4.5|1.17|optional|r@
-1.4.5|themes/mac_ox_x/images|||optional|r@
-1.4.5|themes/project_vii|||optional|r@
-1.4.5|themes/project_vii/style.css|1.4.5|1.13|optional|r@
-1.4.5|themes/project_vii/template.html||1.7|optional|r@
-1.4.5|themes/project_vii/theme.php|1.4.5|1.18|optional|r@
-1.4.5|themes/project_vii/images|||optional|r@
-1.4.5|themes/rainy_day|||optional|r@
-1.4.5|themes/rainy_day/style.css|1.4.5|1.11|optional|r@
-1.4.5|themes/rainy_day/template.html||1.6|optional|r@
-1.4.5|themes/rainy_day/theme.php|1.4.5|1.17|optional|r@
-1.4.5|themes/rainy_day/images|||optional|r@
-1.4.5|themes/sample|||optional|r@
-1.4.5|themes/sample/style.css|1.4.5|1.6|optional|r@
-1.4.5|themes/sample/template.html|||optional|r@
-1.4.5|themes/sample/theme.php|1.4.5|1.7|optional|r@
-1.4.5|themes/sample/images|||optional|r@
-1.4.5|themes/water_drop|||optional|r@
-1.4.5|themes/water_drop/style.css|1.4.5|1.12|optional|r@
-1.4.5|themes/water_drop/template.html||1.15|optional|r@
-1.4.5|themes/water_drop/theme.php|1.4.5|1.17|optional|r@
-1.4.5|themes/water_drop/images|||optional|r@
-1.4.6|addfav.php|1.4.6|3014|mandatory|r@
-1.4.6|addpic.php|1.4.6|3014|mandatory|r@
-1.4.6|admin.php|1.4.6|3014|mandatory|r@
-1.4.6|albmgr.php|1.4.6|3014|mandatory|r@
-1.4.6|anycontent.php|1.4.6|3014|mandatory|r@
-1.4.6|banning.php|1.4.6|3014|mandatory|r@
-1.4.6|bridgemgr.php|1.4.6|3014|mandatory|r@
-1.4.6|calendar.php|1.4.6|3014|mandatory|r@
-1.4.6|catmgr.php|1.4.6|3063|mandatory|r@
-1.4.6|charsetmgr.php|1.4.6|3014|mandatory|r@
-1.4.6|config.php|1.4.6|3014|optional|r@
-1.4.6|db_ecard.php|1.4.6|3014|mandatory|r@
-1.4.6|db_input.php|1.4.6|3069|mandatory|r@
-1.4.6|delete.php|1.4.6|3014|mandatory|r@
-1.4.6|displayecard.php|1.4.6|3014|mandatory|r@
-1.4.6|displayimage.php|1.4.6|3014|mandatory|r@
-1.4.6|displayreport.php|1.4.6|3014|mandatory|r@
-1.4.6|ecard.php|1.4.6|3014|mandatory|r@
-1.4.6|editOnePic.php|1.4.6|3069|mandatory|r@
-1.4.6|editpics.php|1.4.6|3069|mandatory|r@
-1.4.6|exifmgr.php|1.4.6|3014|mandatory|r@
-1.4.6|faq.php|1.4.6|3014|mandatory|r@
-1.4.6|forgot_passwd.php|1.4.6|3014|mandatory|r@
-1.4.6|getlang.php|1.4.6|3014|mandatory|r@
-1.4.6|groupmgr.php|1.4.6|3014|mandatory|r@
-1.4.6|image_processor.php|1.4.6|3014|mandatory|r@
-1.4.6|index.php|1.4.6|3053|mandatory|r@
-1.4.6|install.php|1.4.6|3074|mandatory|r@
-1.4.6|installer.css|1.4.6|3014|mandatory|r@
-1.4.6|keyword_create_dict.php|1.4.6|3014|mandatory|r@
-1.4.6|keyword_select.php|1.4.6|3051|mandatory|r@
-1.4.6|keywordmgr.php|1.4.6|3014|mandatory|r@
-1.4.6|login.php|1.4.6|3014|mandatory|r@
-1.4.6|logout.php|1.4.6|3014|mandatory|r@
-1.4.6|minibrowser.php|1.4.6|3014|mandatory|r@
-1.4.6|mode.php|1.4.6|3014|mandatory|r@
-1.4.6|modifyalb.php|1.4.6|3014|mandatory|r@
-1.4.6|phpinfo.php|1.4.6|3014|mandatory|r@
-1.4.6|picEditor.php|1.4.6|3014|mandatory|r@
-1.4.6|picmgr.php|1.4.6|3014|mandatory|r@
-1.4.6|pluginmgr.php|1.4.6|3014|mandatory|r@
-1.4.6|profile.php|1.4.6|3033|mandatory|r@
-1.4.6|ratepic.php|1.4.6|3014|mandatory|r@
-1.4.6|register.php|1.4.6|3014|mandatory|r@
-1.4.6|relocate_server.php|1.4.6|3014|optional|r@
-1.4.6|report_file.php|1.4.6|3014|mandatory|r@
-1.4.6|reviewcom.php|1.4.6|3014|mandatory|r@
-1.4.6|scripts.js|1.4.6|3014|mandatory|r@
-1.4.6|search.php|1.4.6|3014|mandatory|r@
-1.4.6|searchnew.php|1.4.6|3018|mandatory|r@
-1.4.6|showthumb.php|1.4.6|3014|mandatory|r@
-1.4.6|stat_details.php|1.4.6|3051|mandatory|r@
-1.4.6|thumbnails.php|1.4.6|3014|mandatory|r@
-1.4.6|update.php|1.4.6|3014|mandatory|r@
-1.4.6|upgrade-1.0-to-1.2.php|1.4.6|3014|mandatory|r@
-1.4.6|upload.php|1.4.6|3014|mandatory|r@
-1.4.6|usermgr.php|1.4.6|3014|mandatory|r@
-1.4.6|util.php|1.4.6|3014|mandatory|r@
-1.4.6|versioncheck.php|1.4.6|3078|mandatory|r@
-1.4.6|viewlog.php|1.4.6|3014|mandatory|r@
-1.4.6|xp_publish.php|1.4.6|3051|mandatory|r@
-1.4.6|zipdownload.php|1.4.6|3014|mandatory|r@
-1.4.6|**fullpath**|||mandatory|w@
-1.4.6|**fullpath**/index.php|||optional|w@
-1.4.6|**fullpath**/edit/index.html|||optional|w@
-1.4.6|**fullpath**/edit/no_FTP-uploads_into_this_folder!|||optional|w@
-1.4.6|**fullpath**/edit|||mandatory|w@
-1.4.6|**fullpath**/edit/index.html|||optional|w@
-1.4.6|**fullpath**/**userpics**|||mandatory|w@
-1.4.6|**fullpath**/**userpics**/index.php|||optional|w@
-1.4.6|**fullpath**/**userpics**/no_FTP-uploads_into_this_folder!|||optional|w@
-1.4.6|bridge|||mandatory|r@
-1.4.6|bridge/coppermine.inc.php|1.4.6|3014|mandatory|r@
-1.4.6|bridge/invisionboard20.inc.php|1.4.6|3015|optional|r@
-1.4.6|bridge/mambo.inc.php|1.4.6|3014|optional|r@
-1.4.6|bridge/mybb.inc.php|1.4.6|3014|optional|r@
-1.4.6|bridge/phorum.inc.php|1.4.6|3014|optional|r@
-1.4.6|bridge/phpbb.inc.php|1.4.6|3014|optional|r@
-1.4.6|bridge/phpbb2018.inc.php|1.4.6|3014|optional|r@
-1.4.6|bridge/phpbb22.inc.php|1.4.6|3014|optional|r@
-1.4.6|bridge/punbb115.inc.php|1.4.6|3014|optional|r@
-1.4.6|bridge/punbb12.inc.php|1.4.6|3014|optional|r@
-1.4.6|bridge/smf10.inc.php|1.4.6|3014|optional|r@
-1.4.6|bridge/udb_base.inc.php|1.4.6|3038|mandatory|r@
-1.4.6|bridge/vbulletin30.inc.php|1.4.6|3014|optional|r@
-1.4.6|bridge/xmb.inc.php|1.4.6|3014|optional|r@
-1.4.6|bridge/xoops.inc.php|1.4.6|3014|optional|r@
-1.4.6|docs|||mandatory|r@
-1.4.6|docs/faq.htm|||optional|r@
-1.4.6|docs/faq_fr.htm|||optional|r@
-1.4.6|docs/index.htm||3014|mandatory|r@
-1.4.6|docs/index_fr.htm||3014|mandatory|r@
-1.4.6|docs/README.html||3014|optional|r@
-1.4.6|docs/showdoc.php|1.4.6|3014|mandatory|r@
-1.4.6|docs/style.css|1.4.6|3014|mandatory|r@
-1.4.6|docs/theme.htm|||optional|r@
-1.4.6|docs/translation.htm|||optional|r@
-1.4.6|docs/pics|||mandatory|r@
-1.4.6|docs/theme|||optional|r@
-1.4.6|docs/theme/edit_style.html|||optional|r@
-1.4.6|docs/theme/edit_template.html|||optional|r@
-1.4.6|docs/theme/edit_theme.html|1.4.6||optional|r@
-1.4.6|docs/theme/index.html|||optional|r@
-1.4.6|docs/theme/style.css|1.4.6|3014|optional|r@
-1.4.6|docs/theme/validation.html|||optional|r@
-1.4.6|include|||mandatory|w@
-1.4.6|include/archive.php|1.4.6|3014|mandatory|r@
-1.4.6|include/config.inc.php|||mandatory|r@
-1.4.6|include/config.inc.php.sample|||optional|r@
-1.4.6|include/crop.inc.php|1.4.6|3014|mandatory|r@
-1.4.6|include/debugger.inc.php|1.4.6|3014|mandatory|r@
-1.4.6|include/exif.php|1.4.6|3014|mandatory|r@
-1.4.6|include/exif_php.inc.php|1.4.6|3014|mandatory|r@
-1.4.6|include/exifReader.inc.php|1.4.6|3014|mandatory|r@
-1.4.6|include/functions.inc.php|1.4.6|3068|mandatory|r@
-1.4.6|include/imageObjectGD.class.php|1.4.6|3014|mandatory|r@
-1.4.6|include/imageObjectIM.class.php|1.4.6|3014|mandatory|r@
-1.4.6|include/index.html|1.4.6|3014|mandatory|r@
-1.4.6|include/init.inc.php|1.4.6|3039|mandatory|r@
-1.4.6|include/iptc.inc.php|1.4.6|3014|mandatory|r@
-1.4.6|include/keyword.inc.php|1.4.6|3071|mandatory|r@
-1.4.6|include/langfallback.inc.php|1.4.6|3014|mandatory|r@
-1.4.6|include/logger.inc.php|1.4.6|3014|mandatory|r@
-1.4.6|include/mailer.inc.php|1.4.6|3014|mandatory|r@
-1.4.6|include/mb.inc.php|1.4.6|3014|mandatory|r@
-1.4.6|include/media.functions.inc.php|1.4.6|3014|mandatory|r@
-1.4.6|include/phpmailer.lang-en.php|1.4.6|3014|mandatory|r@
-1.4.6|include/picmgmt.inc.php|1.4.6|3055|mandatory|r@
-1.4.6|include/plugin_api.inc.php|1.4.6|3014|mandatory|r@
-1.4.6|include/search.inc.php|1.4.6|3036|mandatory|r@
-1.4.6|include/select_lang.inc.php|1.4.6|3014|mandatory|r@
-1.4.6|include/slideshow.inc.php|1.4.6|3014|mandatory|r@
-1.4.6|include/smilies.inc.php|1.4.6|3014|mandatory|r@
-1.4.6|include/smtp.inc.php|1.4.6|3014|mandatory|r@
-1.4.6|include/sql_parse.php|1.4.6|3014|mandatory|r@
-1.4.6|include/themes.inc.php|1.4.6|3053|mandatory|r@
-1.4.6|include/update.inc.php|1.4.6|3014|mandatory|r@
-1.4.6|include/zip.lib.php|1.4.6|3014|mandatory|r@
-1.4.6|include/makers|||mandatory|w@
-1.4.6|include/makers/canon.php|1.4.6|3014|mandatory|r@
-1.4.6|include/makers/fujifilm.php|1.4.6|3014|mandatory|r@
-1.4.6|include/makers/gps.php|1.4.6|3014|mandatory|r@
-1.4.6|include/makers/nikon.php|1.4.6|3014|mandatory|r@
-1.4.6|include/makers/olympus.php|1.4.6|3014|mandatory|r@
-1.4.6|include/makers/sanyo.php|1.4.6|3014|mandatory|r@
-1.4.6|lang|||mandatory|r@
-1.4.6|lang/basque.php|1.4.6|3014|optional|r@
-1.4.6|lang/chinese_big5.php|1.4.6|3014|optional|r@
-1.4.6|lang/chinese_gb.php|1.4.6|3014|optional|r@
-1.4.6|lang/czech.php|1.4.6|3075|optional|r@
-1.4.6|lang/dutch.php|1.4.6|3014|optional|r@
-1.4.6|lang/english.php|1.4.6|3014|mandatory|r@
-1.4.6|lang/english_gb.php|1.4.6|3030|optional|r@
-1.4.6|lang/french.php|1.4.6|3077|optional|r@
-1.4.6|lang/galician.php|1.4.6|3014|optional|r@
-1.4.6|lang/georgian.php|1.4.6|3076|optional|r@
-1.4.6|lang/german.php|1.4.6|3014|optional|r@
-1.4.6|lang/german_sie.php|1.4.6|3014|optional|r@
-1.4.6|lang/hebrew.php|1.4.6|3076|optional|r@
-1.4.6|lang/hungarian.php|1.4.6|3075|optional|r@
-1.4.6|lang/italian.php|1.4.6|3014|optional|r@
-1.4.6|lang/japanese.php|1.4.6|3014|optional|r@
-1.4.6|lang/korean.php|1.4.6|3014|optional|r@
-1.4.6|lang/norwegian.php|1.4.6|3014|optional|r@
-1.4.6|lang/persian.php|1.4.6|3077|optional|r@
-1.4.6|lang/polish.php|1.4.6|3014|optional|r@
-1.4.6|lang/portuguese.php|1.4.6|3077|optional|r@
-1.4.6|lang/russian.php|1.4.6|3014|optional|r@
-1.4.6|lang/slovak.php|1.4.6|3014|optional|r@
-1.4.6|lang/slovenian.php|1.4.6|3014|optional|r@
-1.4.6|lang/spanish.php|1.4.6|3014|optional|r@
-1.4.6|lang/swedish.php|1.4.6|3014|optional|r@
-1.4.6|lang/turkish.php|1.4.6|3077|optional|r@
-1.4.6|lang/ukrainian.php|1.4.6|3077|optional|r@
-1.4.6|logs|||mandatory|w@
-1.4.6|logs/log_header.inc.php|1.4.6|3014|mandatory|r@
-1.4.6|plugins|||optional|r@
-1.4.6|plugins/sample|||optional|r@
-1.4.6|plugins/sample/codebase.php|1.4.6|3014|optional|r@
-1.4.6|plugins/sample/configuration.php|1.4.6|3014|optional|r@
-1.4.6|plugins/sef_urls|||optional|r@
-1.4.6|plugins/sef_urls/codebase.php|1.4.6|3014|optional|r@
-1.4.6|plugins/sef_urls/configuration.php|1.4.6|3014|optional|r@
-1.4.6|plugins/sef_urls/ht.txt|1.4.6|3014|optional|r@
-1.4.6|sql|||mandatory|r@
-1.4.6|sql/basic.sql|1.4.6|3014|mandatory|r@
-1.4.6|sql/schema.sql|1.4.6|3014|mandatory|r@
-1.4.6|sql/update.sql|1.4.6|3014|mandatory|r@
-1.4.6|themes|||mandatory|r@
-1.4.6|themes/classic|||optional|r@
-1.4.6|themes/classic/style.css|1.4.6|3014|optional|r@
-1.4.6|themes/classic/template.html||3014|optional|r@
-1.4.6|themes/classic/theme.php|1.4.6|3014|optional|r@
-1.4.6|themes/classic/images|||optional|r@
-1.4.6|themes/eyeball|||optional|r@
-1.4.6|themes/eyeball/style.css|1.4.6|3014|optional|r@
-1.4.6|themes/eyeball/template.html||3014|optional|r@
-1.4.6|themes/eyeball/theme.php|1.4.6|3014|optional|r@
-1.4.6|themes/eyeball/images|||optional|r@
-1.4.6|themes/fruity|||optional|r@
-1.4.6|themes/fruity/style.css|1.4.6|3021|optional|r@
-1.4.6|themes/fruity/template.html||3014|optional|r@
-1.4.6|themes/fruity/theme.php|1.4.6|3014|optional|r@
-1.4.6|themes/fruity/images|||optional|r@
-1.4.6|themes/hardwired|||optional|r@
-1.4.6|themes/hardwired/style.css|1.4.6|3014|optional|r@
-1.4.6|themes/hardwired/template.html||3014|optional|r@
-1.4.6|themes/hardwired/theme.php|1.4.6|3014|optional|r@
-1.4.6|themes/hardwired/images|||optional|r@
-1.4.6|themes/igames|||optional|r@
-1.4.6|themes/igames/style.css|1.4.6|3014|optional|r@
-1.4.6|themes/igames/template.html||3014|optional|r@
-1.4.6|themes/igames/theme.php|1.4.6|3014|optional|r@
-1.4.6|themes/igames/images|||optional|r@
-1.4.6|themes/mac_ox_x|||optional|r@
-1.4.6|themes/mac_ox_x/style.css|1.4.6|3014|optional|r@
-1.4.6|themes/mac_ox_x/template.html||3014|optional|r@
-1.4.6|themes/mac_ox_x/theme.php|1.4.6|3014|optional|r@
-1.4.6|themes/mac_ox_x/images|||optional|r@
-1.4.6|themes/project_vii|||optional|r@
-1.4.6|themes/project_vii/style.css|1.4.6|3014|optional|r@
-1.4.6|themes/project_vii/template.html||3014|optional|r@
-1.4.6|themes/project_vii/theme.php|1.4.6|3014|optional|r@
-1.4.6|themes/project_vii/images|||optional|r@
-1.4.6|themes/rainy_day|||optional|r@
-1.4.6|themes/rainy_day/style.css|1.4.6|3014|optional|r@
-1.4.6|themes/rainy_day/template.html||3014|optional|r@
-1.4.6|themes/rainy_day/theme.php|1.4.6|3014|optional|r@
-1.4.6|themes/rainy_day/images|||optional|r@
-1.4.6|themes/sample|||optional|r@
-1.4.6|themes/sample/style.css|1.4.6|3014|optional|r@
-1.4.6|themes/sample/template.html||3014|optional|r@
-1.4.6|themes/sample/theme.php|1.4.6|3053|optional|r@
-1.4.6|themes/sample/images|||optional|r@
-1.4.6|themes/water_drop|||optional|r@
-1.4.6|themes/water_drop/style.css|1.4.6|3014|optional|r@
-1.4.6|themes/water_drop/template.html||3014|optional|r@
-1.4.6|themes/water_drop/theme.php|1.4.6|3014|optional|r@
-1.4.6|themes/water_drop/images|||optional|r@
-1.4.7|addfav.php|1.4.7|3082|mandatory|r@
-1.4.7|addpic.php|1.4.7|3082|mandatory|r@
-1.4.7|admin.php|1.4.7|3082|mandatory|r@
-1.4.7|albmgr.php|1.4.7|3082|mandatory|r@
-1.4.7|anycontent.php|1.4.7|3082|mandatory|r@
-1.4.7|banning.php|1.4.7|3082|mandatory|r@
-1.4.7|bridgemgr.php|1.4.7|3082|mandatory|r@
-1.4.7|calendar.php|1.4.7|3082|mandatory|r@
-1.4.7|catmgr.php|1.4.7|3082|mandatory|r@
-1.4.7|charsetmgr.php|1.4.7|3082|mandatory|r@
-1.4.7|config.php|1.4.7|3082|optional|r@
-1.4.7|db_ecard.php|1.4.7|3082|mandatory|r@
-1.4.7|db_input.php|1.4.7|3082|mandatory|r@
-1.4.7|delete.php|1.4.7|3082|mandatory|r@
-1.4.7|displayecard.php|1.4.7|3082|mandatory|r@
-1.4.7|displayimage.php|1.4.7|3082|mandatory|r@
-1.4.7|displayreport.php|1.4.7|3082|mandatory|r@
-1.4.7|ecard.php|1.4.7|3082|mandatory|r@
-1.4.7|editOnePic.php|1.4.7|3082|mandatory|r@
-1.4.7|editpics.php|1.4.7|3082|mandatory|r@
-1.4.7|exifmgr.php|1.4.7|3082|mandatory|r@
-1.4.7|faq.php|1.4.7|3082|mandatory|r@
-1.4.7|forgot_passwd.php|1.4.7|3082|mandatory|r@
-1.4.7|getlang.php|1.4.7|3082|mandatory|r@
-1.4.7|groupmgr.php|1.4.7|3082|mandatory|r@
-1.4.7|image_processor.php|1.4.7|3082|mandatory|r@
-1.4.7|index.php|1.4.7|3082|mandatory|r@
-1.4.7|install.php|1.4.7|3082|mandatory|r@
-1.4.7|installer.css|1.4.7|3082|mandatory|r@
-1.4.7|keyword_create_dict.php|1.4.7|3082|mandatory|r@
-1.4.7|keyword_select.php|1.4.7|3082|mandatory|r@
-1.4.7|keywordmgr.php|1.4.7|3082|mandatory|r@
-1.4.7|login.php|1.4.7|3082|mandatory|r@
-1.4.7|logout.php|1.4.7|3082|mandatory|r@
-1.4.7|minibrowser.php|1.4.7|3082|mandatory|r@
-1.4.7|mode.php|1.4.7|3082|mandatory|r@
-1.4.7|modifyalb.php|1.4.7|3082|mandatory|r@
-1.4.7|phpinfo.php|1.4.7|3082|mandatory|r@
-1.4.7|picEditor.php|1.4.7|3082|mandatory|r@
-1.4.7|picmgr.php|1.4.7|3082|mandatory|r@
-1.4.7|pluginmgr.php|1.4.7|3082|mandatory|r@
-1.4.7|profile.php|1.4.7|3082|mandatory|r@
-1.4.7|ratepic.php|1.4.7|3082|mandatory|r@
-1.4.7|register.php|1.4.7|3082|mandatory|r@
-1.4.7|relocate_server.php|1.4.7|3082|optional|r@
-1.4.7|report_file.php|1.4.7|3082|mandatory|r@
-1.4.7|reviewcom.php|1.4.7|3082|mandatory|r@
-1.4.7|scripts.js|1.4.7|3082|mandatory|r@
-1.4.7|search.php|1.4.7|3082|mandatory|r@
-1.4.7|searchnew.php|1.4.7|3082|mandatory|r@
-1.4.7|showthumb.php|1.4.7|3082|mandatory|r@
-1.4.7|stat_details.php|1.4.7|3082|mandatory|r@
-1.4.7|thumbnails.php|1.4.7|3082|mandatory|r@
-1.4.7|update.php|1.4.7|3082|mandatory|r@
-1.4.7|upgrade-1.0-to-1.2.php|1.4.7|3082|mandatory|r@
-1.4.7|upload.php|1.4.7|3082|mandatory|r@
-1.4.7|usermgr.php|1.4.7|3101|mandatory|r@
-1.4.7|util.php|1.4.7|3082|mandatory|r@
-1.4.7|versioncheck.php|1.4.7|3113|mandatory|r@
-1.4.7|viewlog.php|1.4.7|3082|mandatory|r@
-1.4.7|xp_publish.php|1.4.7|3082|mandatory|r@
-1.4.7|zipdownload.php|1.4.7|3082|mandatory|r@
-1.4.7|**fullpath**|||mandatory|w@
-1.4.7|**fullpath**/index.php|||optional|w@
-1.4.7|**fullpath**/edit/index.html|||optional|w@
-1.4.7|**fullpath**/edit/no_FTP-uploads_into_this_folder!|||optional|w@
-1.4.7|**fullpath**/edit|||mandatory|w@
-1.4.7|**fullpath**/edit/index.html|||optional|w@
-1.4.7|**fullpath**/**userpics**|||mandatory|w@
-1.4.7|**fullpath**/**userpics**/index.php|||optional|w@
-1.4.7|**fullpath**/**userpics**/no_FTP-uploads_into_this_folder!|||optional|w@
-1.4.7|bridge|||mandatory|r@
-1.4.7|bridge/coppermine.inc.php|1.4.7|3082|mandatory|r@
-1.4.7|bridge/invisionboard20.inc.php|1.4.7|3082|optional|r@
-1.4.7|bridge/mambo.inc.php|1.4.7|3082|optional|r@
-1.4.7|bridge/mybb.inc.php|1.4.7|3082|optional|r@
-1.4.7|bridge/phorum.inc.php|1.4.7|3082|optional|r@
-1.4.7|bridge/phpbb.inc.php|1.4.7|3082|optional|r@
-1.4.7|bridge/phpbb2018.inc.php|1.4.7|3082|optional|r@
-1.4.7|bridge/phpbb22.inc.php|1.4.7|3082|optional|r@
-1.4.7|bridge/punbb115.inc.php|1.4.7|3082|optional|r@
-1.4.7|bridge/punbb12.inc.php|1.4.7|3082|optional|r@
-1.4.7|bridge/smf10.inc.php|1.4.7|3082|optional|r@
-1.4.7|bridge/udb_base.inc.php|1.4.7|3082|mandatory|r@
-1.4.7|bridge/vbulletin30.inc.php|1.4.7|3082|optional|r@
-1.4.7|bridge/xmb.inc.php|1.4.7|3082|optional|r@
-1.4.7|bridge/xoops.inc.php|1.4.7|3082|optional|r@
-1.4.7|docs|||mandatory|r@
-1.4.7|docs/faq.htm|||optional|r@
-1.4.7|docs/faq_fr.htm|||optional|r@
-1.4.7|docs/index.htm||3082|mandatory|r@
-1.4.7|docs/index_fr.htm||3082|mandatory|r@
-1.4.7|docs/README.html||3082|optional|r@
-1.4.7|docs/showdoc.php|1.4.7|3082|mandatory|r@
-1.4.7|docs/style.css|1.4.7|3082|mandatory|r@
-1.4.7|docs/theme.htm|||optional|r@
-1.4.7|docs/translation.htm|||optional|r@
-1.4.7|docs/pics|||mandatory|r@
-1.4.7|docs/theme|||optional|r@
-1.4.7|docs/theme/edit_style.html|||optional|r@
-1.4.7|docs/theme/edit_template.html|||optional|r@
-1.4.7|docs/theme/edit_theme.html|1.4.7||optional|r@
-1.4.7|docs/theme/index.html|||optional|r@
-1.4.7|docs/theme/style.css|1.4.7|3082|optional|r@
-1.4.7|docs/theme/validation.html|||optional|r@
-1.4.7|include|||mandatory|w@
-1.4.7|include/archive.php|1.4.7|3082|mandatory|r@
-1.4.7|include/config.inc.php|||mandatory|r@
-1.4.7|include/config.inc.php.sample|||optional|r@
-1.4.7|include/crop.inc.php|1.4.7|3082|mandatory|r@
-1.4.7|include/debugger.inc.php|1.4.7|3082|mandatory|r@
-1.4.7|include/exif.php|1.4.7|3082|mandatory|r@
-1.4.7|include/exif_php.inc.php|1.4.7|3082|mandatory|r@
-1.4.7|include/exifReader.inc.php|1.4.7|3082|mandatory|r@
-1.4.7|include/functions.inc.php|1.4.7|3108|mandatory|r@
-1.4.7|include/imageObjectGD.class.php|1.4.7|3082|mandatory|r@
-1.4.7|include/imageObjectIM.class.php|1.4.7|3082|mandatory|r@
-1.4.7|include/index.html|1.4.7|3082|mandatory|r@
-1.4.7|include/init.inc.php|1.4.7|3082|mandatory|r@
-1.4.7|include/iptc.inc.php|1.4.7|3082|mandatory|r@
-1.4.7|include/keyword.inc.php|1.4.7|3082|mandatory|r@
-1.4.7|include/langfallback.inc.php|1.4.7|3082|mandatory|r@
-1.4.7|include/logger.inc.php|1.4.7|3082|mandatory|r@
-1.4.7|include/mailer.inc.php|1.4.7|3082|mandatory|r@
-1.4.7|include/mb.inc.php|1.4.7|3082|mandatory|r@
-1.4.7|include/media.functions.inc.php|1.4.7|3082|mandatory|r@
-1.4.7|include/phpmailer.lang-en.php|1.4.7|3082|mandatory|r@
-1.4.7|include/picmgmt.inc.php|1.4.7|3082|mandatory|r@
-1.4.7|include/plugin_api.inc.php|1.4.7|3082|mandatory|r@
-1.4.7|include/search.inc.php|1.4.7|3082|mandatory|r@
-1.4.7|include/select_lang.inc.php|1.4.7|3082|mandatory|r@
-1.4.7|include/slideshow.inc.php|1.4.7|3082|mandatory|r@
-1.4.7|include/smilies.inc.php|1.4.7|3082|mandatory|r@
-1.4.7|include/smtp.inc.php|1.4.7|3082|mandatory|r@
-1.4.7|include/sql_parse.php|1.4.7|3082|mandatory|r@
-1.4.7|include/themes.inc.php|1.4.7|3082|mandatory|r@
-1.4.7|include/update.inc.php|1.4.7|3082|mandatory|r@
-1.4.7|include/zip.lib.php|1.4.7|3082|mandatory|r@
-1.4.7|include/makers|||mandatory|w@
-1.4.7|include/makers/canon.php|1.4.7|3082|mandatory|r@
-1.4.7|include/makers/fujifilm.php|1.4.7|3082|mandatory|r@
-1.4.7|include/makers/gps.php|1.4.7|3082|mandatory|r@
-1.4.7|include/makers/nikon.php|1.4.7|3082|mandatory|r@
-1.4.7|include/makers/olympus.php|1.4.7|3082|mandatory|r@
-1.4.7|include/makers/sanyo.php|1.4.7|3082|mandatory|r@
-1.4.7|lang|||mandatory|r@
-1.4.7|lang/basque.php|1.4.7|3082|optional|r@
-1.4.7|lang/chinese_big5.php|1.4.7|3082|optional|r@
-1.4.7|lang/chinese_gb.php|1.4.7|3082|optional|r@
-1.4.7|lang/czech.php|1.4.7|3082|optional|r@
-1.4.7|lang/dutch.php|1.4.7|3085|optional|r@
-1.4.7|lang/english.php|1.4.7|3082|mandatory|r@
-1.4.7|lang/english_gb.php|1.4.7|3082|optional|r@
-1.4.7|lang/french.php|1.4.7|3082|optional|r@
-1.4.7|lang/galician.php|1.4.7|3082|optional|r@
-1.4.7|lang/georgian.php|1.4.7|3082|optional|r@
-1.4.7|lang/german.php|1.4.7|3082|optional|r@
-1.4.7|lang/german_sie.php|1.4.7|3082|optional|r@
-1.4.7|lang/hebrew.php|1.4.7|3082|optional|r@
-1.4.7|lang/hungarian.php|1.4.7|3082|optional|r@
-1.4.7|lang/italian.php|1.4.7|3082|optional|r@
-1.4.7|lang/japanese.php|1.4.7|3082|optional|r@
-1.4.7|lang/korean.php|1.4.7|3082|optional|r@
-1.4.7|lang/norwegian.php|1.4.7|3082|optional|r@
-1.4.7|lang/persian.php|1.4.7|3095|optional|r@
-1.4.7|lang/polish.php|1.4.7|3082|optional|r@
-1.4.7|lang/portuguese.php|1.4.7|3082|optional|r@
-1.4.7|lang/russian.php|1.4.7|3082|optional|r@
-1.4.7|lang/slovak.php|1.4.7|3082|optional|r@
-1.4.7|lang/slovenian.php|1.4.7|3086|optional|r@
-1.4.7|lang/spanish.php|1.4.7|3082|optional|r@
-1.4.7|lang/swedish.php|1.4.7|3082|optional|r@
-1.4.7|lang/turkish.php|1.4.7|3082|optional|r@
-1.4.7|lang/ukrainian.php|1.4.7|3082|optional|r@
-1.4.7|logs|||mandatory|w@
-1.4.7|logs/log_header.inc.php|1.4.7|3082|mandatory|r@
-1.4.7|plugins|||optional|r@
-1.4.7|plugins/sample|||optional|r@
-1.4.7|plugins/sample/codebase.php|1.4.7|3082|optional|r@
-1.4.7|plugins/sample/configuration.php|1.4.7|3082|optional|r@
-1.4.7|plugins/sef_urls|||optional|r@
-1.4.7|plugins/sef_urls/codebase.php|1.4.7|3082|optional|r@
-1.4.7|plugins/sef_urls/configuration.php|1.4.7|3082|optional|r@
-1.4.7|plugins/sef_urls/ht.txt|1.4.7|3082|optional|r@
-1.4.7|sql|||mandatory|r@
-1.4.7|sql/basic.sql|1.4.7|3082|mandatory|r@
-1.4.7|sql/schema.sql|1.4.7|3082|mandatory|r@
-1.4.7|sql/update.sql|1.4.7|3082|mandatory|r@
-1.4.7|themes|||mandatory|r@
-1.4.7|themes/classic|||optional|r@
-1.4.7|themes/classic/style.css|1.4.7|3082|optional|r@
-1.4.7|themes/classic/template.html||3082|optional|r@
-1.4.7|themes/classic/theme.php|1.4.7|3100|optional|r@
-1.4.7|themes/classic/images|||optional|r@
-1.4.7|themes/eyeball|||optional|r@
-1.4.7|themes/eyeball/style.css|1.4.7|3082|optional|r@
-1.4.7|themes/eyeball/template.html||3082|optional|r@
-1.4.7|themes/eyeball/theme.php|1.4.7|3082|optional|r@
-1.4.7|themes/eyeball/images|||optional|r@
-1.4.7|themes/fruity|||optional|r@
-1.4.7|themes/fruity/style.css|1.4.7|3082|optional|r@
-1.4.7|themes/fruity/template.html||3082|optional|r@
-1.4.7|themes/fruity/theme.php|1.4.7|3082|optional|r@
-1.4.7|themes/fruity/images|||optional|r@
-1.4.7|themes/hardwired|||optional|r@
-1.4.7|themes/hardwired/style.css|1.4.7|3082|optional|r@
-1.4.7|themes/hardwired/template.html||3082|optional|r@
-1.4.7|themes/hardwired/theme.php|1.4.7|3082|optional|r@
-1.4.7|themes/hardwired/images|||optional|r@
-1.4.7|themes/igames|||optional|r@
-1.4.7|themes/igames/style.css|1.4.7|3082|optional|r@
-1.4.7|themes/igames/template.html||3082|optional|r@
-1.4.7|themes/igames/theme.php|1.4.7|3082|optional|r@
-1.4.7|themes/igames/images|||optional|r@
-1.4.7|themes/mac_ox_x|||optional|r@
-1.4.7|themes/mac_ox_x/style.css|1.4.7|3082|optional|r@
-1.4.7|themes/mac_ox_x/template.html||3082|optional|r@
-1.4.7|themes/mac_ox_x/theme.php|1.4.7|3082|optional|r@
-1.4.7|themes/mac_ox_x/images|||optional|r@
-1.4.7|themes/project_vii|||optional|r@
-1.4.7|themes/project_vii/style.css|1.4.7|3082|optional|r@
-1.4.7|themes/project_vii/template.html||3082|optional|r@
-1.4.7|themes/project_vii/theme.php|1.4.7|3082|optional|r@
-1.4.7|themes/project_vii/images|||optional|r@
-1.4.7|themes/rainy_day|||optional|r@
-1.4.7|themes/rainy_day/style.css|1.4.7|3082|optional|r@
-1.4.7|themes/rainy_day/template.html||3082|optional|r@
-1.4.7|themes/rainy_day/theme.php|1.4.7|3082|optional|r@
-1.4.7|themes/rainy_day/images|||optional|r@
-1.4.7|themes/sample|||optional|r@
-1.4.7|themes/sample/style.css|1.4.7|3082|optional|r@
-1.4.7|themes/sample/template.html||3082|optional|r@
-1.4.7|themes/sample/theme.php|1.4.7|3082|optional|r@
-1.4.7|themes/sample/images|||optional|r@
-1.4.7|themes/water_drop|||optional|r@
-1.4.7|themes/water_drop/style.css|1.4.7|3082|optional|r@
-1.4.7|themes/water_drop/template.html||3082|optional|r@
-1.4.7|themes/water_drop/theme.php|1.4.7|3082|optional|r@
-1.4.7|themes/water_drop/images|||optional|r@
-1.4.8|addfav.php|1.4.8|3116|mandatory|r@
-1.4.8|addpic.php|1.4.8|3116|mandatory|r@
-1.4.8|admin.php|1.4.8|3116|mandatory|r@
-1.4.8|albmgr.php|1.4.8|3116|mandatory|r@
-1.4.8|anycontent.php|1.4.8|3116|mandatory|r@
-1.4.8|banning.php|1.4.8|3116|mandatory|r@
-1.4.8|bridgemgr.php|1.4.8|3116|mandatory|r@
-1.4.8|calendar.php|1.4.8|3116|mandatory|r@
-1.4.8|catmgr.php|1.4.8|3116|mandatory|r@
-1.4.8|charsetmgr.php|1.4.8|3116|mandatory|r@
-1.4.8|config.php|1.4.8|3116|optional|r@
-1.4.8|db_ecard.php|1.4.8|3116|mandatory|r@
-1.4.8|db_input.php|1.4.8|3116|mandatory|r@
-1.4.8|delete.php|1.4.8|3116|mandatory|r@
-1.4.8|displayecard.php|1.4.8|3116|mandatory|r@
-1.4.8|displayimage.php|1.4.8|3116|mandatory|r@
-1.4.8|displayreport.php|1.4.8|3116|mandatory|r@
-1.4.8|ecard.php|1.4.8|3116|mandatory|r@
-1.4.8|editOnePic.php|1.4.8|3116|mandatory|r@
-1.4.8|editpics.php|1.4.8|3116|mandatory|r@
-1.4.8|exifmgr.php|1.4.8|3116|mandatory|r@
-1.4.8|faq.php|1.4.8|3116|mandatory|r@
-1.4.8|forgot_passwd.php|1.4.8|3116|mandatory|r@
-1.4.8|getlang.php|1.4.8|3116|mandatory|r@
-1.4.8|groupmgr.php|1.4.8|3116|mandatory|r@
-1.4.8|image_processor.php|1.4.8|3116|mandatory|r@
-1.4.8|index.php|1.4.8|3116|mandatory|r@
-1.4.8|install.php|1.4.8|3116|mandatory|r@
-1.4.8|installer.css|1.4.8|3116|mandatory|r@
-1.4.8|keyword_create_dict.php|1.4.8|3116|mandatory|r@
-1.4.8|keyword_select.php|1.4.8|3116|mandatory|r@
-1.4.8|keywordmgr.php|1.4.8|3116|mandatory|r@
-1.4.8|login.php|1.4.8|3116|mandatory|r@
-1.4.8|logout.php|1.4.8|3116|mandatory|r@
-1.4.8|minibrowser.php|1.4.8|3116|mandatory|r@
-1.4.8|mode.php|1.4.8|3116|mandatory|r@
-1.4.8|modifyalb.php|1.4.8|3116|mandatory|r@
-1.4.8|phpinfo.php|1.4.8|3116|mandatory|r@
-1.4.8|picEditor.php|1.4.8|3116|mandatory|r@
-1.4.8|picmgr.php|1.4.8|3116|mandatory|r@
-1.4.8|pluginmgr.php|1.4.8|3116|mandatory|r@
-1.4.8|profile.php|1.4.8|3116|mandatory|r@
-1.4.8|ratepic.php|1.4.8|3116|mandatory|r@
-1.4.8|register.php|1.4.8|3116|mandatory|r@
-1.4.8|relocate_server.php|1.4.8|3116|optional|r@
-1.4.8|report_file.php|1.4.8|3116|mandatory|r@
-1.4.8|reviewcom.php|1.4.8|3116|mandatory|r@
-1.4.8|scripts.js|1.4.8|3116|mandatory|r@
-1.4.8|search.php|1.4.8|3116|mandatory|r@
-1.4.8|searchnew.php|1.4.8|3116|mandatory|r@
-1.4.8|showthumb.php|1.4.8|3116|mandatory|r@
-1.4.8|stat_details.php|1.4.8|3116|mandatory|r@
-1.4.8|thumbnails.php|1.4.8|3116|mandatory|r@
-1.4.8|update.php|1.4.8|3116|mandatory|r@
-1.4.8|upgrade-1.0-to-1.2.php|1.4.8|3116|mandatory|r@
-1.4.8|upload.php|1.4.8|3116|mandatory|r@
-1.4.8|usermgr.php|1.4.8|3116|mandatory|r@
-1.4.8|util.php|1.4.8|3116|mandatory|r@
-1.4.8|versioncheck.php|1.4.8|3119|mandatory|r@
-1.4.8|viewlog.php|1.4.8|3116|mandatory|r@
-1.4.8|xp_publish.php|1.4.8|3116|mandatory|r@
-1.4.8|zipdownload.php|1.4.8|3116|mandatory|r@
-1.4.8|**fullpath**|||mandatory|w@
-1.4.8|**fullpath**/index.php|||optional|w@
-1.4.8|**fullpath**/edit/index.html|||optional|w@
-1.4.8|**fullpath**/edit/no_FTP-uploads_into_this_folder!|||optional|w@
-1.4.8|**fullpath**/edit|||mandatory|w@
-1.4.8|**fullpath**/edit/index.html|||optional|w@
-1.4.8|**fullpath**/**userpics**|||mandatory|w@
-1.4.8|**fullpath**/**userpics**/index.php|||optional|w@
-1.4.8|**fullpath**/**userpics**/no_FTP-uploads_into_this_folder!|||optional|w@
-1.4.8|bridge|||mandatory|r@
-1.4.8|bridge/coppermine.inc.php|1.4.8|3116|mandatory|r@
-1.4.8|bridge/invisionboard20.inc.php|1.4.8|3116|optional|r@
-1.4.8|bridge/mambo.inc.php|1.4.8|3116|optional|r@
-1.4.8|bridge/mybb.inc.php|1.4.8|3116|optional|r@
-1.4.8|bridge/phorum.inc.php|1.4.8|3116|optional|r@
-1.4.8|bridge/phpbb.inc.php|1.4.8|3116|optional|r@
-1.4.8|bridge/phpbb2018.inc.php|1.4.8|3116|optional|r@
-1.4.8|bridge/phpbb22.inc.php|1.4.8|3116|optional|r@
-1.4.8|bridge/punbb115.inc.php|1.4.8|3116|optional|r@
-1.4.8|bridge/punbb12.inc.php|1.4.8|3116|optional|r@
-1.4.8|bridge/smf10.inc.php|1.4.8|3116|optional|r@
-1.4.8|bridge/udb_base.inc.php|1.4.8|3116|mandatory|r@
-1.4.8|bridge/vbulletin30.inc.php|1.4.8|3116|optional|r@
-1.4.8|bridge/xmb.inc.php|1.4.8|3116|optional|r@
-1.4.8|bridge/xoops.inc.php|1.4.8|3116|optional|r@
-1.4.8|docs|||mandatory|r@
-1.4.8|docs/faq.htm|||optional|r@
-1.4.8|docs/faq_fr.htm|||optional|r@
-1.4.8|docs/index.htm||3116|mandatory|r@
-1.4.8|docs/index_fr.htm||3116|mandatory|r@
-1.4.8|docs/README.html||3116|optional|r@
-1.4.8|docs/showdoc.php|1.4.8|3116|mandatory|r@
-1.4.8|docs/style.css|1.4.8|3116|mandatory|r@
-1.4.8|docs/theme.htm|||optional|r@
-1.4.8|docs/translation.htm|||optional|r@
-1.4.8|docs/pics|||mandatory|r@
-1.4.8|docs/theme|||optional|r@
-1.4.8|docs/theme/edit_style.html|||optional|r@
-1.4.8|docs/theme/edit_template.html|||optional|r@
-1.4.8|docs/theme/edit_theme.html|1.4.8||optional|r@
-1.4.8|docs/theme/index.html|||optional|r@
-1.4.8|docs/theme/style.css|1.4.8|3116|optional|r@
-1.4.8|docs/theme/validation.html|||optional|r@
-1.4.8|include|||mandatory|w@
-1.4.8|include/archive.php|1.4.8|3116|mandatory|r@
-1.4.8|include/config.inc.php|||mandatory|r@
-1.4.8|include/config.inc.php.sample|||optional|r@
-1.4.8|include/crop.inc.php|1.4.8|3116|mandatory|r@
-1.4.8|include/debugger.inc.php|1.4.8|3116|mandatory|r@
-1.4.8|include/exif.php|1.4.8|3116|mandatory|r@
-1.4.8|include/exif_php.inc.php|1.4.8|3116|mandatory|r@
-1.4.8|include/exifReader.inc.php|1.4.8|3116|mandatory|r@
-1.4.8|include/functions.inc.php|1.4.8|3116|mandatory|r@
-1.4.8|include/imageObjectGD.class.php|1.4.8|3116|mandatory|r@
-1.4.8|include/imageObjectIM.class.php|1.4.8|3116|mandatory|r@
-1.4.8|include/index.html|1.4.8|3116|mandatory|r@
-1.4.8|include/init.inc.php|1.4.8|3116|mandatory|r@
-1.4.8|include/iptc.inc.php|1.4.8|3116|mandatory|r@
-1.4.8|include/keyword.inc.php|1.4.8|3116|mandatory|r@
-1.4.8|include/langfallback.inc.php|1.4.8|3116|mandatory|r@
-1.4.8|include/logger.inc.php|1.4.8|3116|mandatory|r@
-1.4.8|include/mailer.inc.php|1.4.8|3116|mandatory|r@
-1.4.8|include/mb.inc.php|1.4.8|3116|mandatory|r@
-1.4.8|include/media.functions.inc.php|1.4.8|3116|mandatory|r@
-1.4.8|include/phpmailer.lang-en.php|1.4.8|3116|mandatory|r@
-1.4.8|include/picmgmt.inc.php|1.4.8|3116|mandatory|r@
-1.4.8|include/plugin_api.inc.php|1.4.8|3116|mandatory|r@
-1.4.8|include/search.inc.php|1.4.8|3116|mandatory|r@
-1.4.8|include/select_lang.inc.php|1.4.8|3116|mandatory|r@
-1.4.8|include/slideshow.inc.php|1.4.8|3116|mandatory|r@
-1.4.8|include/smilies.inc.php|1.4.8|3116|mandatory|r@
-1.4.8|include/smtp.inc.php|1.4.8|3116|mandatory|r@
-1.4.8|include/sql_parse.php|1.4.8|3116|mandatory|r@
-1.4.8|include/themes.inc.php|1.4.8|3116|mandatory|r@
-1.4.8|include/update.inc.php|1.4.8|3116|mandatory|r@
-1.4.8|include/zip.lib.php|1.4.8|3116|mandatory|r@
-1.4.8|include/makers|||mandatory|w@
-1.4.8|include/makers/canon.php|1.4.8|3116|mandatory|r@
-1.4.8|include/makers/fujifilm.php|1.4.8|3116|mandatory|r@
-1.4.8|include/makers/gps.php|1.4.8|3116|mandatory|r@
-1.4.8|include/makers/nikon.php|1.4.8|3116|mandatory|r@
-1.4.8|include/makers/olympus.php|1.4.8|3116|mandatory|r@
-1.4.8|include/makers/sanyo.php|1.4.8|3116|mandatory|r@
-1.4.8|lang|||mandatory|r@
-1.4.8|lang/basque.php|1.4.8|3116|optional|r@
-1.4.8|lang/bulgarian.php|1.4.8|1.287|optional|r@
-1.4.8|lang/chinese_big5.php|1.4.8|3116|optional|r@
-1.4.8|lang/chinese_gb.php|1.4.8|3116|optional|r@
-1.4.8|lang/czech.php|1.4.8|3116|optional|r@
-1.4.8|lang/danish.php|1.4.8|1.15|optional|r@
-1.4.8|lang/dutch.php|1.4.8|3116|optional|r@
-1.4.8|lang/english.php|1.4.8|3116|mandatory|r@
-1.4.8|lang/english_gb.php|1.4.8|3116|optional|r@
-1.4.8|lang/finnish.php|1.4.8|1.26|optional|r@
-1.4.8|lang/french.php|1.4.8|3116|optional|r@
-1.4.8|lang/galician.php|1.4.8|3116|optional|r@
-1.4.8|lang/georgian.php|1.4.8|3116|optional|r@
-1.4.8|lang/german.php|1.4.8|3116|optional|r@
-1.4.8|lang/german_sie.php|1.4.8|3116|optional|r@
-1.4.8|lang/hebrew.php|1.4.8|3116|optional|r@
-1.4.8|lang/hungarian.php|1.4.8|3116|optional|r@
-1.4.8|lang/italian.php|1.4.8|3116|optional|r@
-1.4.8|lang/japanese.php|1.4.8|3116|optional|r@
-1.4.8|lang/korean.php|1.4.8|3116|optional|r@
-1.4.8|lang/norwegian.php|1.4.8|3116|optional|r@
-1.4.8|lang/persian.php|1.4.8|3116|optional|r@
-1.4.8|lang/polish.php|1.4.8|3116|optional|r@
-1.4.8|lang/portuguese.php|1.4.8|3116|optional|r@
-1.4.8|lang/russian.php|1.4.8|3116|optional|r@
-1.4.8|lang/slovak.php|1.4.8|3116|optional|r@
-1.4.8|lang/slovenian.php|1.4.8|3116|optional|r@
-1.4.8|lang/spanish.php|1.4.8|3116|optional|r@
-1.4.8|lang/swedish.php|1.4.8|3116|optional|r@
-1.4.8|lang/turkish.php|1.4.8|3116|optional|r@
-1.4.8|lang/ukrainian.php|1.4.8|3116|optional|r@
-1.4.8|logs|||mandatory|w@
-1.4.8|logs/log_header.inc.php|1.4.8|3116|mandatory|r@
-1.4.8|plugins|||optional|r@
-1.4.8|plugins/sample|||optional|r@
-1.4.8|plugins/sample/codebase.php|1.4.8|3116|optional|r@
-1.4.8|plugins/sample/configuration.php|1.4.8|3116|optional|r@
-1.4.8|plugins/sef_urls|||optional|r@
-1.4.8|plugins/sef_urls/codebase.php|1.4.8|3116|optional|r@
-1.4.8|plugins/sef_urls/configuration.php|1.4.8|3116|optional|r@
-1.4.8|plugins/sef_urls/ht.txt|1.4.8|3116|optional|r@
-1.4.8|sql|||mandatory|r@
-1.4.8|sql/basic.sql|1.4.8|3116|mandatory|r@
-1.4.8|sql/schema.sql|1.4.8|3116|mandatory|r@
-1.4.8|sql/update.sql|1.4.8|3116|mandatory|r@
-1.4.8|themes|||mandatory|r@
-1.4.8|themes/classic|||optional|r@
-1.4.8|themes/classic/style.css|1.4.8|3116|optional|r@
-1.4.8|themes/classic/template.html||3116|optional|r@
-1.4.8|themes/classic/theme.php|1.4.8|3116|optional|r@
-1.4.8|themes/classic/images|||optional|r@
-1.4.8|themes/eyeball|||optional|r@
-1.4.8|themes/eyeball/style.css|1.4.8|3116|optional|r@
-1.4.8|themes/eyeball/template.html||3116|optional|r@
-1.4.8|themes/eyeball/theme.php|1.4.8|3116|optional|r@
-1.4.8|themes/eyeball/images|||optional|r@
-1.4.8|themes/fruity|||optional|r@
-1.4.8|themes/fruity/style.css|1.4.8|3116|optional|r@
-1.4.8|themes/fruity/template.html||3116|optional|r@
-1.4.8|themes/fruity/theme.php|1.4.8|3116|optional|r@
-1.4.8|themes/fruity/images|||optional|r@
-1.4.8|themes/hardwired|||optional|r@
-1.4.8|themes/hardwired/style.css|1.4.8|3116|optional|r@
-1.4.8|themes/hardwired/template.html||3116|optional|r@
-1.4.8|themes/hardwired/theme.php|1.4.8|3116|optional|r@
-1.4.8|themes/hardwired/images|||optional|r@
-1.4.8|themes/igames|||optional|r@
-1.4.8|themes/igames/style.css|1.4.8|3116|optional|r@
-1.4.8|themes/igames/template.html||3116|optional|r@
-1.4.8|themes/igames/theme.php|1.4.8|3116|optional|r@
-1.4.8|themes/igames/images|||optional|r@
-1.4.8|themes/mac_ox_x|||optional|r@
-1.4.8|themes/mac_ox_x/style.css|1.4.8|3116|optional|r@
-1.4.8|themes/mac_ox_x/template.html||3116|optional|r@
-1.4.8|themes/mac_ox_x/theme.php|1.4.8|3116|optional|r@
-1.4.8|themes/mac_ox_x/images|||optional|r@
-1.4.8|themes/project_vii|||optional|r@
-1.4.8|themes/project_vii/style.css|1.4.8|3116|optional|r@
-1.4.8|themes/project_vii/template.html||3116|optional|r@
-1.4.8|themes/project_vii/theme.php|1.4.8|3116|optional|r@
-1.4.8|themes/project_vii/images|||optional|r@
-1.4.8|themes/rainy_day|||optional|r@
-1.4.8|themes/rainy_day/style.css|1.4.8|3116|optional|r@
-1.4.8|themes/rainy_day/template.html||3116|optional|r@
-1.4.8|themes/rainy_day/theme.php|1.4.8|3116|optional|r@
-1.4.8|themes/rainy_day/images|||optional|r@
-1.4.8|themes/sample|||optional|r@
-1.4.8|themes/sample/style.css|1.4.8|3116|optional|r@
-1.4.8|themes/sample/template.html||3116|optional|r@
-1.4.8|themes/sample/theme.php|1.4.8|3116|optional|r@
-1.4.8|themes/sample/images|||optional|r@
-1.4.8|themes/water_drop|||optional|r@
-1.4.8|themes/water_drop/style.css|1.4.8|3116|optional|r@
-1.4.8|themes/water_drop/template.html||3116|optional|r@
-1.4.8|themes/water_drop/theme.php|1.4.8|3116|optional|r@
-1.4.8|themes/water_drop/images|||optional|r@
-1.4.9|addfav.php|1.4.9|3125|mandatory|r@
-1.4.9|addpic.php|1.4.9|3125|mandatory|r@
-1.4.9|admin.php|1.4.9|3125|mandatory|r@
-1.4.9|albmgr.php|1.4.9|3125|mandatory|r@
-1.4.9|anycontent.php|1.4.9|3125|mandatory|r@
-1.4.9|banning.php|1.4.9|3125|mandatory|r@
-1.4.9|bridgemgr.php|1.4.9|3125|mandatory|r@
-1.4.9|calendar.php|1.4.9|3125|mandatory|r@
-1.4.9|catmgr.php|1.4.9|3125|mandatory|r@
-1.4.9|charsetmgr.php|1.4.9|3142|mandatory|r@
-1.4.9|config.php|1.4.9|3125|optional|r@
-1.4.9|db_ecard.php|1.4.9|3125|mandatory|r@
-1.4.9|db_input.php|1.4.9|3125|mandatory|r@
-1.4.9|delete.php|1.4.9|3125|mandatory|r@
-1.4.9|displayecard.php|1.4.9|3227|mandatory|r@
-1.4.9|displayimage.php|1.4.9|3125|mandatory|r@
-1.4.9|displayreport.php|1.4.9|3125|mandatory|r@
-1.4.9|ecard.php|1.4.9|3125|mandatory|r@
-1.4.9|editOnePic.php|1.4.9|3125|mandatory|r@
-1.4.9|editpics.php|1.4.9|3125|mandatory|r@
-1.4.9|exifmgr.php|1.4.9|3125|mandatory|r@
-1.4.9|faq.php|1.4.9|3125|mandatory|r@
-1.4.9|forgot_passwd.php|1.4.9|3125|mandatory|r@
-1.4.9|getlang.php|1.4.9|3125|mandatory|r@
-1.4.9|groupmgr.php|1.4.9|3125|mandatory|r@
-1.4.9|image_processor.php|1.4.9|3125|mandatory|r@
-1.4.9|index.php|1.4.9|3125|mandatory|r@
-1.4.9|install.php|1.4.9|3125|mandatory|r@
-1.4.9|installer.css|1.4.9|3125|mandatory|r@
-1.4.9|keyword_create_dict.php|1.4.9|3125|mandatory|r@
-1.4.9|keyword_select.php|1.4.9|3125|mandatory|r@
-1.4.9|keywordmgr.php|1.4.9|3125|mandatory|r@
-1.4.9|login.php|1.4.9|3125|mandatory|r@
-1.4.9|logout.php|1.4.9|3125|mandatory|r@
-1.4.9|minibrowser.php|1.4.9|3125|mandatory|r@
-1.4.9|mode.php|1.4.9|3125|mandatory|r@
-1.4.9|modifyalb.php|1.4.9|3125|mandatory|r@
-1.4.9|phpinfo.php|1.4.9|3125|mandatory|r@
-1.4.9|picEditor.php|1.4.9|3125|mandatory|r@
-1.4.9|picmgr.php|1.4.9|3125|mandatory|r@
-1.4.9|pluginmgr.php|1.4.9|3224|mandatory|r@
-1.4.9|profile.php|1.4.9|3125|mandatory|r@
-1.4.9|ratepic.php|1.4.9|3157|mandatory|r@
-1.4.9|register.php|1.4.9|3215|mandatory|r@
-1.4.9|relocate_server.php|1.4.9|3125|optional|r@
-1.4.9|report_file.php|1.4.9|3125|mandatory|r@
-1.4.9|reviewcom.php|1.4.9|3125|mandatory|r@
-1.4.9|scripts.js|1.4.9|3125|mandatory|r@
-1.4.9|search.php|1.4.9|3125|mandatory|r@
-1.4.9|searchnew.php|1.4.9|3125|mandatory|r@
-1.4.9|showthumb.php|1.4.9|3125|mandatory|r@
-1.4.9|stat_details.php|1.4.9|3125|mandatory|r@
-1.4.9|thumbnails.php|1.4.9|3125|mandatory|r@
-1.4.9|update.php|1.4.9|3125|mandatory|r@
-1.4.9|upgrade-1.0-to-1.2.php|1.4.9|3125|mandatory|r@
-1.4.9|upload.php|1.4.9|3142|mandatory|r@
-1.4.9|usermgr.php|1.4.9|3142|mandatory|r@
-1.4.9|util.php|1.4.9|3125|mandatory|r@
-1.4.9|versioncheck.php|1.4.9|3261|mandatory|r@
-1.4.9|viewlog.php|1.4.9|3125|mandatory|r@
-1.4.9|xp_publish.php|1.4.9|3125|mandatory|r@
-1.4.9|zipdownload.php|1.4.9|3125|mandatory|r@
-1.4.9|**fullpath**|||mandatory|w@
-1.4.9|**fullpath**/index.php|||optional|w@
-1.4.9|**fullpath**/edit/index.html|||optional|w@
-1.4.9|**fullpath**/edit/no_FTP-uploads_into_this_folder!|||optional|w@
-1.4.9|**fullpath**/edit|||mandatory|w@
-1.4.9|**fullpath**/edit/index.html|||optional|w@
-1.4.9|**fullpath**/**userpics**|||mandatory|w@
-1.4.9|**fullpath**/**userpics**/index.php|||optional|w@
-1.4.9|**fullpath**/**userpics**/no_FTP-uploads_into_this_folder!|||optional|w@
-1.4.9|bridge|||mandatory|r@
-1.4.9|bridge/coppermine.inc.php|1.4.9|3125|mandatory|r@
-1.4.9|bridge/invisionboard20.inc.php|1.4.9|3125|optional|r@
-1.4.9|bridge/mambo.inc.php|1.4.9|3125|optional|r@
-1.4.9|bridge/mybb.inc.php|1.4.9|3125|optional|r@
-1.4.9|bridge/phorum.inc.php|1.4.9|3125|optional|r@
-1.4.9|bridge/phpbb.inc.php|1.4.9|3125|optional|r@
-1.4.9|bridge/phpbb2018.inc.php|1.4.9|3125|optional|r@
-1.4.9|bridge/phpbb22.inc.php|1.4.9|3125|optional|r@
-1.4.9|bridge/punbb115.inc.php|1.4.9|3125|optional|r@
-1.4.9|bridge/punbb12.inc.php|1.4.9|3125|optional|r@
-1.4.9|bridge/smf10.inc.php|1.4.9|3125|optional|r@
-1.4.9|bridge/udb_base.inc.php|1.4.9|3246|mandatory|r@
-1.4.9|bridge/vbulletin30.inc.php|1.4.9|3125|optional|r@
-1.4.9|bridge/xmb.inc.php|1.4.9|3125|optional|r@
-1.4.9|bridge/xoops.inc.php|1.4.9|3125|optional|r@
-1.4.9|docs|||mandatory|r@
-1.4.9|docs/faq.htm|||optional|r@
-1.4.9|docs/faq_fr.htm|||optional|r@
-1.4.9|docs/index.htm||3125|mandatory|r@
-1.4.9|docs/index_fr.htm||3125|mandatory|r@
-1.4.9|docs/README.html||3125|optional|r@
-1.4.9|docs/showdoc.php|1.4.9|3125|mandatory|r@
-1.4.9|docs/style.css|1.4.9|3125|mandatory|r@
-1.4.9|docs/theme.htm|||optional|r@
-1.4.9|docs/translation.htm|||optional|r@
-1.4.9|docs/pics|||mandatory|r@
-1.4.9|docs/theme|||optional|r@
-1.4.9|docs/theme/edit_style.html|||optional|r@
-1.4.9|docs/theme/edit_template.html|||optional|r@
-1.4.9|docs/theme/edit_theme.html|1.4.9||optional|r@
-1.4.9|docs/theme/index.html|||optional|r@
-1.4.9|docs/theme/style.css|1.4.9|3125|optional|r@
-1.4.9|docs/theme/validation.html|||optional|r@
-1.4.9|include|||mandatory|w@
-1.4.9|include/archive.php|1.4.9|3125|mandatory|r@
-1.4.9|include/config.inc.php|||mandatory|r@
-1.4.9|include/config.inc.php.sample|||optional|r@
-1.4.9|include/crop.inc.php|1.4.9|3125|mandatory|r@
-1.4.9|include/debugger.inc.php|1.4.9|3125|mandatory|r@
-1.4.9|include/exif.php|1.4.9|3125|mandatory|r@
-1.4.9|include/exif_php.inc.php|1.4.9|3125|mandatory|r@
-1.4.9|include/exifReader.inc.php|1.4.9|3125|mandatory|r@
-1.4.9|include/functions.inc.php|1.4.9|3142|mandatory|r@
-1.4.9|include/imageObjectGD.class.php|1.4.9|3125|mandatory|r@
-1.4.9|include/imageObjectIM.class.php|1.4.9|3125|mandatory|r@
-1.4.9|include/index.html|1.4.9|3125|mandatory|r@
-1.4.9|include/init.inc.php|1.4.9|3137|mandatory|r@
-1.4.9|include/iptc.inc.php|1.4.9|3125|mandatory|r@
-1.4.9|include/keyword.inc.php|1.4.9|3125|mandatory|r@
-1.4.9|include/langfallback.inc.php|1.4.9|3125|mandatory|r@
-1.4.9|include/logger.inc.php|1.4.9|3125|mandatory|r@
-1.4.9|include/mailer.inc.php|1.4.9|3125|mandatory|r@
-1.4.9|include/mb.inc.php|1.4.9|3125|mandatory|r@
-1.4.9|include/media.functions.inc.php|1.4.9|3125|mandatory|r@
-1.4.9|include/phpmailer.lang-en.php|1.4.9|3125|mandatory|r@
-1.4.9|include/picmgmt.inc.php|1.4.9|3125|mandatory|r@
-1.4.9|include/plugin_api.inc.php|1.4.9|3125|mandatory|r@
-1.4.9|include/search.inc.php|1.4.9|3125|mandatory|r@
-1.4.9|include/select_lang.inc.php|1.4.9|3125|mandatory|r@
-1.4.9|include/slideshow.inc.php|1.4.9|3125|mandatory|r@
-1.4.9|include/smilies.inc.php|1.4.9|3125|mandatory|r@
-1.4.9|include/smtp.inc.php|1.4.9|3125|mandatory|r@
-1.4.9|include/sql_parse.php|1.4.9|3125|mandatory|r@
-1.4.9|include/themes.inc.php|1.4.9|3223|mandatory|r@
-1.4.9|include/update.inc.php|1.4.9|3125|mandatory|r@
-1.4.9|include/zip.lib.php|1.4.9|3125|mandatory|r@
-1.4.9|include/makers|||mandatory|w@
-1.4.9|include/makers/canon.php|1.4.9|3125|mandatory|r@
-1.4.9|include/makers/fujifilm.php|1.4.9|3125|mandatory|r@
-1.4.9|include/makers/gps.php|1.4.9|3125|mandatory|r@
-1.4.9|include/makers/nikon.php|1.4.9|3125|mandatory|r@
-1.4.9|include/makers/olympus.php|1.4.9|3125|mandatory|r@
-1.4.9|include/makers/sanyo.php|1.4.9|3125|mandatory|r@
-1.4.9|lang|||mandatory|r@
-1.4.9|lang/albanian.php|1.4.9|3125|optional|r@
-1.4.9|lang/basque.php|1.4.9|3125|optional|r@
-1.4.9|lang/brazilian_portuguese.php|1.4.9|3116|optional|r@
-1.4.9|lang/bulgarian.php|1.4.9|1.287|optional|r@
-1.4.9|lang/chinese_big5.php|1.4.9|3125|optional|r@
-1.4.9|lang/chinese_gb.php|1.4.9|3125|optional|r@
-1.4.9|lang/czech.php|1.4.9|3125|optional|r@
-1.4.9|lang/danish.php|1.4.9|1.15|optional|r@
-1.4.9|lang/dutch.php|1.4.9|3212|optional|r@
-1.4.9|lang/english.php|1.4.9|3125|mandatory|r@
-1.4.9|lang/english_gb.php|1.4.9|3125|optional|r@
-1.4.9|lang/finnish.php|1.4.9|1.26|optional|r@
-1.4.9|lang/french.php|1.4.9|3125|optional|r@
-1.4.9|lang/galician.php|1.4.9|3125|optional|r@
-1.4.9|lang/georgian.php|1.4.9|3125|optional|r@
-1.4.9|lang/german.php|1.4.9|3125|optional|r@
-1.4.9|lang/german_sie.php|1.4.9|3125|optional|r@
-1.4.9|lang/hebrew.php|1.4.9|3219|optional|r@
-1.4.9|lang/hungarian.php|1.4.9|3125|optional|r@
-1.4.9|lang/italian.php|1.4.9|3125|optional|r@
-1.4.9|lang/japanese.php|1.4.9|3125|optional|r@
-1.4.9|lang/korean.php|1.4.9|3125|optional|r@
-1.4.9|lang/norwegian.php|1.4.9|3125|optional|r@
-1.4.9|lang/persian.php|1.4.9|3125|optional|r@
-1.4.9|lang/polish.php|1.4.9|3219|optional|r@
-1.4.9|lang/portuguese.php|1.4.9|3125|optional|r@
-1.4.9|lang/russian.php|1.4.9|3125|optional|r@
-1.4.9|lang/slovak.php|1.4.9|3125|optional|r@
-1.4.9|lang/slovenian.php|1.4.9|3219|optional|r@
-1.4.9|lang/spanish.php|1.4.9|3125|optional|r@
-1.4.9|lang/swedish.php|1.4.9|3125|optional|r@
-1.4.9|lang/turkish.php|1.4.9|3125|optional|r@
-1.4.9|lang/ukrainian.php|1.4.9|3125|optional|r@
-1.4.9|logs|||mandatory|w@
-1.4.9|logs/log_header.inc.php|1.4.9|3125|mandatory|r@
-1.4.9|plugins|||optional|r@
-1.4.9|plugins/sample|||optional|r@
-1.4.9|plugins/sample/codebase.php|1.4.9|3125|optional|r@
-1.4.9|plugins/sample/configuration.php|1.4.9|3224|optional|r@
-1.4.9|plugins/sef_urls|||optional|r@
-1.4.9|plugins/sef_urls/codebase.php|1.4.9|3125|optional|r@
-1.4.9|plugins/sef_urls/configuration.php|1.4.9|3125|optional|r@
-1.4.9|plugins/sef_urls/ht.txt|1.4.9|3231|optional|r@
-1.4.9|sql|||mandatory|r@
-1.4.9|sql/basic.sql|1.4.9|3125|mandatory|r@
-1.4.9|sql/schema.sql|1.4.9|3125|mandatory|r@
-1.4.9|sql/update.sql|1.4.9|3125|mandatory|r@
-1.4.9|themes|||mandatory|r@
-1.4.9|themes/classic|||optional|r@
-1.4.9|themes/classic/style.css|1.4.9|3197|optional|r@
-1.4.9|themes/classic/template.html||3125|optional|r@
-1.4.9|themes/classic/theme.php|1.4.9|3125|optional|r@
-1.4.9|themes/classic/images|||optional|r@
-1.4.9|themes/eyeball|||optional|r@
-1.4.9|themes/eyeball/style.css|1.4.9|3197|optional|r@
-1.4.9|themes/eyeball/template.html||3125|optional|r@
-1.4.9|themes/eyeball/theme.php|1.4.9|3125|optional|r@
-1.4.9|themes/eyeball/images|||optional|r@
-1.4.9|themes/fruity|||optional|r@
-1.4.9|themes/fruity/style.css|1.4.9|3197|optional|r@
-1.4.9|themes/fruity/template.html||3125|optional|r@
-1.4.9|themes/fruity/theme.php|1.4.9|3125|optional|r@
-1.4.9|themes/fruity/images|||optional|r@
-1.4.9|themes/hardwired|||optional|r@
-1.4.9|themes/hardwired/style.css|1.4.9|3125|optional|r@
-1.4.9|themes/hardwired/template.html||3125|optional|r@
-1.4.9|themes/hardwired/theme.php|1.4.9|3125|optional|r@
-1.4.9|themes/hardwired/images|||optional|r@
-1.4.9|themes/igames|||optional|r@
-1.4.9|themes/igames/style.css|1.4.9|3197|optional|r@
-1.4.9|themes/igames/template.html||3125|optional|r@
-1.4.9|themes/igames/theme.php|1.4.9|3125|optional|r@
-1.4.9|themes/igames/images|||optional|r@
-1.4.9|themes/mac_ox_x|||optional|r@
-1.4.9|themes/mac_ox_x/style.css|1.4.9|3197|optional|r@
-1.4.9|themes/mac_ox_x/template.html||3125|optional|r@
-1.4.9|themes/mac_ox_x/theme.php|1.4.9|3125|optional|r@
-1.4.9|themes/mac_ox_x/images|||optional|r@
-1.4.9|themes/project_vii|||optional|r@
-1.4.9|themes/project_vii/style.css|1.4.9|3197|optional|r@
-1.4.9|themes/project_vii/template.html||3125|optional|r@
-1.4.9|themes/project_vii/theme.php|1.4.9|3125|optional|r@
-1.4.9|themes/project_vii/images|||optional|r@
-1.4.9|themes/rainy_day|||optional|r@
-1.4.9|themes/rainy_day/style.css|1.4.9|3197|optional|r@
-1.4.9|themes/rainy_day/template.html||3125|optional|r@
-1.4.9|themes/rainy_day/theme.php|1.4.9|3125|optional|r@
-1.4.9|themes/rainy_day/images|||optional|r@
-1.4.9|themes/sample|||optional|r@
-1.4.9|themes/sample/style.css|1.4.9|3197|optional|r@
-1.4.9|themes/sample/template.html||3125|optional|r@
-1.4.9|themes/sample/theme.php|1.4.9|3223|optional|r@
-1.4.9|themes/sample/images|||optional|r@
-1.4.9|themes/water_drop|||optional|r@
-1.4.9|themes/water_drop/style.css|1.4.9|3197|optional|r@
-1.4.9|themes/water_drop/template.html||3125|optional|r@
-1.4.9|themes/water_drop/theme.php|1.4.9|3125|optional|r@
-1.4.9|themes/water_drop/images|||optional|r@
-1.4.10|addfav.php|1.4.10|3275|mandatory|r@
-1.4.10|addpic.php|1.4.10|3275|mandatory|r@
-1.4.10|admin.php|1.4.10|3275|mandatory|r@
-1.4.10|albmgr.php|1.4.10|3274|mandatory|r@
-1.4.10|anycontent.php|1.4.10|3275|mandatory|r@
-1.4.10|banning.php|1.4.10|3275|mandatory|r@
-1.4.10|bridgemgr.php|1.4.10|3275|mandatory|r@
-1.4.10|calendar.php|1.4.10|3275|mandatory|r@
-1.4.10|catmgr.php|1.4.10|3275|mandatory|r@
-1.4.10|charsetmgr.php|1.4.10|3275|mandatory|r@
-1.4.10|config.php|1.4.10|3275|optional|r@
-1.4.10|db_ecard.php|1.4.10|3275|mandatory|r@
-1.4.10|db_input.php|1.4.10|3275|mandatory|r@
-1.4.10|delete.php|1.4.10|3309|mandatory|r@
-1.4.10|displayecard.php|1.4.10|3275|mandatory|r@
-1.4.10|displayimage.php|1.4.10|3275|mandatory|r@
-1.4.10|displayreport.php|1.4.10|3275|mandatory|r@
-1.4.10|ecard.php|1.4.10|3275|mandatory|r@
-1.4.10|editOnePic.php|1.4.10|3275|mandatory|r@
-1.4.10|editpics.php|1.4.10|3275|mandatory|r@
-1.4.10|exifmgr.php|1.4.10|3275|mandatory|r@
-1.4.10|faq.php|1.4.10|3275|mandatory|r@
-1.4.10|forgot_passwd.php|1.4.10|3275|mandatory|r@
-1.4.10|getlang.php|1.4.10|3275|mandatory|r@
-1.4.10|groupmgr.php|1.4.10|3275|mandatory|r@
-1.4.10|image_processor.php|1.4.10|3275|mandatory|r@
-1.4.10|index.php|1.4.10|3275|mandatory|r@
-1.4.10|install.php|1.4.10|3275|mandatory|r@
-1.4.10|installer.css|1.4.10|3275|mandatory|r@
-1.4.10|keyword_create_dict.php|1.4.10|3275|mandatory|r@
-1.4.10|keyword_select.php|1.4.10|3275|mandatory|r@
-1.4.10|keywordmgr.php|1.4.10|3275|mandatory|r@
-1.4.10|login.php|1.4.10|3275|mandatory|r@
-1.4.10|logout.php|1.4.10|3275|mandatory|r@
-1.4.10|minibrowser.php|1.4.10|3275|mandatory|r@
-1.4.10|mode.php|1.4.10|3275|mandatory|r@
-1.4.10|modifyalb.php|1.4.10|3275|mandatory|r@
-1.4.10|phpinfo.php|1.4.10|3275|mandatory|r@
-1.4.10|picEditor.php|1.4.10|3275|mandatory|r@
-1.4.10|picmgr.php|1.4.10|3323|mandatory|r@
-1.4.10|pluginmgr.php|1.4.10|3275|mandatory|r@
-1.4.10|profile.php|1.4.10|3321|mandatory|r@
-1.4.10|ratepic.php|1.4.10|3275|mandatory|r@
-1.4.10|register.php|1.4.10|3275|mandatory|r@
-1.4.10|relocate_server.php|1.4.10|3275|optional|r@
-1.4.10|report_file.php|1.4.10|3275|mandatory|r@
-1.4.10|reviewcom.php|1.4.10|3275|mandatory|r@
-1.4.10|scripts.js|1.4.10|3275|mandatory|r@
-1.4.10|search.php|1.4.10|3275|mandatory|r@
-1.4.10|searchnew.php|1.4.10|3275|mandatory|r@
-1.4.10|showthumb.php|1.4.10|3275|mandatory|r@
-1.4.10|stat_details.php|1.4.10|3275|mandatory|r@
-1.4.10|thumbnails.php|1.4.10|3275|mandatory|r@
-1.4.10|update.php|1.4.10|3275|mandatory|r@
-1.4.10|upgrade-1.0-to-1.2.php|1.4.10|3275|mandatory|r@
-1.4.10|upload.php|1.4.10|3275|mandatory|r@
-1.4.10|usermgr.php|1.4.10|3275|mandatory|r@
-1.4.10|util.php|1.4.10|3275|mandatory|r@
-1.4.10|versioncheck.php|1.4.10|3328|mandatory|r@
-1.4.10|viewlog.php|1.4.10|3275|mandatory|r@
-1.4.10|xp_publish.php|1.4.10|3275|mandatory|r@
-1.4.10|zipdownload.php|1.4.10|3275|mandatory|r@
-1.4.10|**fullpath**|||mandatory|w@
-1.4.10|**fullpath**/index.php|||optional|w@
-1.4.10|**fullpath**/edit/index.html|||optional|w@
-1.4.10|**fullpath**/edit/no_FTP-uploads_into_this_folder!|||optional|w@
-1.4.10|**fullpath**/edit|||mandatory|w@
-1.4.10|**fullpath**/edit/index.html|||optional|w@
-1.4.10|**fullpath**/**userpics**|||mandatory|w@
-1.4.10|**fullpath**/**userpics**/index.php|||optional|w@
-1.4.10|**fullpath**/**userpics**/no_FTP-uploads_into_this_folder!|||optional|w@
-1.4.10|bridge|||mandatory|r@
-1.4.10|bridge/coppermine.inc.php|1.4.10|3275|mandatory|r@
-1.4.10|bridge/invisionboard20.inc.php|1.4.10|3275|optional|r@
-1.4.10|bridge/mambo.inc.php|1.4.10|3275|optional|r@
-1.4.10|bridge/mybb.inc.php|1.4.10|3275|optional|r@
-1.4.10|bridge/phorum.inc.php|1.4.10|3275|optional|r@
-1.4.10|bridge/phpbb.inc.php|1.4.10|3275|optional|r@
-1.4.10|bridge/phpbb2018.inc.php|1.4.10|3275|optional|r@
-1.4.10|bridge/phpbb22.inc.php|1.4.10|3275|optional|r@
-1.4.10|bridge/punbb115.inc.php|1.4.10|3275|optional|r@
-1.4.10|bridge/punbb12.inc.php|1.4.10|3275|optional|r@
-1.4.10|bridge/smf10.inc.php|1.4.10|3275|optional|r@
-1.4.10|bridge/udb_base.inc.php|1.4.10|3275|mandatory|r@
-1.4.10|bridge/vbulletin30.inc.php|1.4.10|3275|optional|r@
-1.4.10|bridge/xmb.inc.php|1.4.10|3275|optional|r@
-1.4.10|bridge/xoops.inc.php|1.4.10|3275|optional|r@
-1.4.10|docs|||mandatory|r@
-1.4.10|docs/faq.htm|||optional|r@
-1.4.10|docs/faq_fr.htm|||optional|r@
-1.4.10|docs/index.htm||3275|mandatory|r@
-1.4.10|docs/index_fr.htm||3275|mandatory|r@
-1.4.10|docs/README.html||3275|optional|r@
-1.4.10|docs/showdoc.php|1.4.10|3275|mandatory|r@
-1.4.10|docs/style.css|1.4.10|3275|mandatory|r@
-1.4.10|docs/theme.htm|||optional|r@
-1.4.10|docs/translation.htm|||optional|r@
-1.4.10|docs/pics|||mandatory|r@
-1.4.10|docs/theme|||optional|r@
-1.4.10|docs/theme/edit_style.html|||optional|r@
-1.4.10|docs/theme/edit_template.html|||optional|r@
-1.4.10|docs/theme/edit_theme.html|1.4.10||optional|r@
-1.4.10|docs/theme/index.html|||optional|r@
-1.4.10|docs/theme/style.css|1.4.10|3275|optional|r@
-1.4.10|docs/theme/validation.html|||optional|r@
-1.4.10|include|||mandatory|w@
-1.4.10|include/archive.php|1.4.10|3275|mandatory|r@
-1.4.10|include/config.inc.php|||mandatory|r@
-1.4.10|include/config.inc.php.sample|||optional|r@
-1.4.10|include/crop.inc.php|1.4.10|3275|mandatory|r@
-1.4.10|include/debugger.inc.php|1.4.10|3275|mandatory|r@
-1.4.10|include/exif.php|1.4.10|3275|mandatory|r@
-1.4.10|include/exif_php.inc.php|1.4.10|3303|mandatory|r@
-1.4.10|include/functions.inc.php|1.4.10|3275|mandatory|r@
-1.4.10|include/imageObjectGD.class.php|1.4.10|3275|mandatory|r@
-1.4.10|include/imageObjectIM.class.php|1.4.10|3275|mandatory|r@
-1.4.10|include/index.html|1.4.10|3275|mandatory|r@
-1.4.10|include/init.inc.php|1.4.10|3275|mandatory|r@
-1.4.10|include/iptc.inc.php|1.4.10|3275|mandatory|r@
-1.4.10|include/keyword.inc.php|1.4.10|3275|mandatory|r@
-1.4.10|include/langfallback.inc.php|1.4.10|3275|mandatory|r@
-1.4.10|include/logger.inc.php|1.4.10|3275|mandatory|r@
-1.4.10|include/mailer.inc.php|1.4.10|3318|mandatory|r@
-1.4.10|include/mb.inc.php|1.4.10|3275|mandatory|r@
-1.4.10|include/media.functions.inc.php|1.4.10|3275|mandatory|r@
-1.4.10|include/phpmailer.lang-en.php|1.4.10|3275|mandatory|r@
-1.4.10|include/picmgmt.inc.php|1.4.10|3275|mandatory|r@
-1.4.10|include/plugin_api.inc.php|1.4.10|3275|mandatory|r@
-1.4.10|include/search.inc.php|1.4.10|3319|mandatory|r@
-1.4.10|include/select_lang.inc.php|1.4.10|3275|mandatory|r@
-1.4.10|include/slideshow.inc.php|1.4.10|3275|mandatory|r@
-1.4.10|include/smilies.inc.php|1.4.10|3275|mandatory|r@
-1.4.10|include/smtp.inc.php|1.4.10|3275|mandatory|r@
-1.4.10|include/sql_parse.php|1.4.10|3275|mandatory|r@
-1.4.10|include/themes.inc.php|1.4.10|3325|mandatory|r@
-1.4.10|include/update.inc.php|1.4.10|3275|mandatory|r@
-1.4.10|include/zip.lib.php|1.4.10|3275|mandatory|r@
-1.4.10|include/makers|||mandatory|w@
-1.4.10|include/makers/canon.php|1.4.10|3275|mandatory|r@
-1.4.10|include/makers/fujifilm.php|1.4.10|3275|mandatory|r@
-1.4.10|include/makers/gps.php|1.4.10|3275|mandatory|r@
-1.4.10|include/makers/nikon.php|1.4.10|3275|mandatory|r@
-1.4.10|include/makers/olympus.php|1.4.10|3275|mandatory|r@
-1.4.10|include/makers/sanyo.php|1.4.10|3275|mandatory|r@
-1.4.10|lang|||mandatory|r@
-1.4.10|lang/albanian.php|1.4.10|3125|optional|r@
-1.4.10|lang/basque.php|1.4.10|3275|optional|r@
-1.4.10|lang/brazilian_portuguese.php|1.4.10|3116|optional|r@
-1.4.10|lang/bulgarian.php|1.4.10|1.287|optional|r@
-1.4.10|lang/chinese_big5.php|1.4.10|3275|optional|r@
-1.4.10|lang/chinese_gb.php|1.4.10|3275|optional|r@
-1.4.10|lang/czech.php|1.4.10|3275|optional|r@
-1.4.10|lang/danish.php|1.4.10|1.15|optional|r@
-1.4.10|lang/dutch.php|1.4.10|3275|optional|r@
-1.4.10|lang/english.php|1.4.10|3275|mandatory|r@
-1.4.10|lang/english_gb.php|1.4.10|3275|optional|r@
-1.4.10|lang/finnish.php|1.4.10|1.26|optional|r@
-1.4.10|lang/french.php|1.4.10|3275|optional|r@
-1.4.10|lang/galician.php|1.4.10|3275|optional|r@
-1.4.10|lang/georgian.php|1.4.10|3275|optional|r@
-1.4.10|lang/german.php|1.4.10|3275|optional|r@
-1.4.10|lang/german_sie.php|1.4.10|3275|optional|r@
-1.4.10|lang/hebrew.php|1.4.10|3275|optional|r@
-1.4.10|lang/hungarian.php|1.4.10|3275|optional|r@
-1.4.10|lang/italian.php|1.4.10|3275|optional|r@
-1.4.10|lang/japanese.php|1.4.10|3275|optional|r@
-1.4.10|lang/korean.php|1.4.10|3275|optional|r@
-1.4.10|lang/norwegian.php|1.4.10|3275|optional|r@
-1.4.10|lang/persian.php|1.4.10|3275|optional|r@
-1.4.10|lang/polish.php|1.4.10|3275|optional|r@
-1.4.10|lang/portuguese.php|1.4.10|3275|optional|r@
-1.4.10|lang/russian.php|1.4.10|3275|optional|r@
-1.4.10|lang/slovak.php|1.4.10|3275|optional|r@
-1.4.10|lang/slovenian.php|1.4.10|3275|optional|r@
-1.4.10|lang/spanish.php|1.4.10|3275|optional|r@
-1.4.10|lang/swedish.php|1.4.10|3275|optional|r@
-1.4.10|lang/turkish.php|1.4.10|3275|optional|r@
-1.4.10|lang/ukrainian.php|1.4.10|3275|optional|r@
-1.4.10|logs|||mandatory|w@
-1.4.10|logs/log_header.inc.php|1.4.10|3275|mandatory|r@
-1.4.10|plugins|||optional|r@
-1.4.10|plugins/sample|||optional|r@
-1.4.10|plugins/sample/codebase.php|1.4.10|3275|optional|r@
-1.4.10|plugins/sample/configuration.php|1.4.10|3275|optional|r@
-1.4.10|plugins/sef_urls|||optional|r@
-1.4.10|plugins/sef_urls/codebase.php|1.4.10|3275|optional|r@
-1.4.10|plugins/sef_urls/configuration.php|1.4.10|3275|optional|r@
-1.4.10|plugins/sef_urls/ht.txt|1.4.10|3275|optional|r@
-1.4.10|sql|||mandatory|r@
-1.4.10|sql/basic.sql|1.4.10|3275|mandatory|r@
-1.4.10|sql/schema.sql|1.4.10|3307|mandatory|r@
-1.4.10|sql/update.sql|1.4.10|3320|mandatory|r@
-1.4.10|themes|||mandatory|r@
-1.4.10|themes/classic|||optional|r@
-1.4.10|themes/classic/style.css|1.4.10|3275|optional|r@
-1.4.10|themes/classic/template.html||3275|optional|r@
-1.4.10|themes/classic/theme.php|1.4.10|3275|optional|r@
-1.4.10|themes/classic/images|||optional|r@
-1.4.10|themes/eyeball|||optional|r@
-1.4.10|themes/eyeball/style.css|1.4.10|3275|optional|r@
-1.4.10|themes/eyeball/template.html||3275|optional|r@
-1.4.10|themes/eyeball/theme.php|1.4.10|3275|optional|r@
-1.4.10|themes/eyeball/images|||optional|r@
-1.4.10|themes/fruity|||optional|r@
-1.4.10|themes/fruity/style.css|1.4.10|3275|optional|r@
-1.4.10|themes/fruity/template.html||3275|optional|r@
-1.4.10|themes/fruity/theme.php|1.4.10|3275|optional|r@
-1.4.10|themes/fruity/images|||optional|r@
-1.4.10|themes/hardwired|||optional|r@
-1.4.10|themes/hardwired/style.css|1.4.10|3275|optional|r@
-1.4.10|themes/hardwired/template.html||3275|optional|r@
-1.4.10|themes/hardwired/theme.php|1.4.10|3275|optional|r@
-1.4.10|themes/hardwired/images|||optional|r@
-1.4.10|themes/igames|||optional|r@
-1.4.10|themes/igames/style.css|1.4.10|3275|optional|r@
-1.4.10|themes/igames/template.html||3275|optional|r@
-1.4.10|themes/igames/theme.php|1.4.10|3275|optional|r@
-1.4.10|themes/igames/images|||optional|r@
-1.4.10|themes/mac_ox_x|||optional|r@
-1.4.10|themes/mac_ox_x/style.css|1.4.10|3275|optional|r@
-1.4.10|themes/mac_ox_x/template.html||3275|optional|r@
-1.4.10|themes/mac_ox_x/theme.php|1.4.10|3275|optional|r@
-1.4.10|themes/mac_ox_x/images|||optional|r@
-1.4.10|themes/project_vii|||optional|r@
-1.4.10|themes/project_vii/style.css|1.4.10|3275|optional|r@
-1.4.10|themes/project_vii/template.html||3275|optional|r@
-1.4.10|themes/project_vii/theme.php|1.4.10|3275|optional|r@
-1.4.10|themes/project_vii/images|||optional|r@
-1.4.10|themes/rainy_day|||optional|r@
-1.4.10|themes/rainy_day/style.css|1.4.10|3275|optional|r@
-1.4.10|themes/rainy_day/template.html||3275|optional|r@
-1.4.10|themes/rainy_day/theme.php|1.4.10|3275|optional|r@
-1.4.10|themes/rainy_day/images|||optional|r@
-1.4.10|themes/sample|||optional|r@
-1.4.10|themes/sample/style.css|1.4.10|3275|optional|r@
-1.4.10|themes/sample/template.html||3275|optional|r@
-1.4.10|themes/sample/theme.php|1.4.10|3275|optional|r@
-1.4.10|themes/sample/images|||optional|r@
-1.4.10|themes/water_drop|||optional|r@
-1.4.10|themes/water_drop/style.css|1.4.10|3275|optional|r@
-1.4.10|themes/water_drop/template.html||3275|optional|r@
-1.4.10|themes/water_drop/theme.php|1.4.10|3275|optional|r@
-1.4.10|themes/water_drop/images|||optional|r@
-1.4.11|addfav.php|1.4.11|3406|mandatory|r@
-1.4.11|addpic.php|1.4.11|3406|mandatory|r@
-1.4.11|admin.php|1.4.11|3406|mandatory|r@
-1.4.11|albmgr.php|1.4.11|3415|mandatory|r@
-1.4.11|anycontent.php|1.4.11|3406|mandatory|r@
-1.4.11|banning.php|1.4.11|3406|mandatory|r@
-1.4.11|bridgemgr.php|1.4.11|3406|mandatory|r@
-1.4.11|calendar.php|1.4.11|3406|mandatory|r@
-1.4.11|catmgr.php|1.4.11|3406|mandatory|r@
-1.4.11|charsetmgr.php|1.4.11|3406|mandatory|r@
-1.4.11|config.php|1.4.11|3406|optional|r@
-1.4.11|db_ecard.php|1.4.11|3406|mandatory|r@
-1.4.11|db_input.php|1.4.11|3406|mandatory|r@
-1.4.11|delete.php|1.4.11|3406|mandatory|r@
-1.4.11|displayecard.php|1.4.11|3406|mandatory|r@
-1.4.11|displayimage.php|1.4.11|3406|mandatory|r@
-1.4.11|displayreport.php|1.4.11|3406|mandatory|r@
-1.4.11|ecard.php|1.4.11|3406|mandatory|r@
-1.4.11|editOnePic.php|1.4.11|3406|mandatory|r@
-1.4.11|editpics.php|1.4.11|3406|mandatory|r@
-1.4.11|exifmgr.php|1.4.11|3406|mandatory|r@
-1.4.11|faq.php|1.4.11|3406|mandatory|r@
-1.4.11|forgot_passwd.php|1.4.11|3406|mandatory|r@
-1.4.11|getlang.php|1.4.11|3406|mandatory|r@
-1.4.11|groupmgr.php|1.4.11|3406|mandatory|r@
-1.4.11|image_processor.php|1.4.11|3406|mandatory|r@
-1.4.11|index.php|1.4.11|3406|mandatory|r@
-1.4.11|install.php|1.4.11|3406|mandatory|r@
-1.4.11|installer.css|1.4.11|3406|mandatory|r@
-1.4.11|keyword_create_dict.php|1.4.11|3406|mandatory|r@
-1.4.11|keyword_select.php|1.4.11|3406|mandatory|r@
-1.4.11|keywordmgr.php|1.4.11|3406|mandatory|r@
-1.4.11|login.php|1.4.11|3406|mandatory|r@
-1.4.11|logout.php|1.4.11|3406|mandatory|r@
-1.4.11|minibrowser.php|1.4.11|3406|mandatory|r@
-1.4.11|mode.php|1.4.11|3406|mandatory|r@
-1.4.11|modifyalb.php|1.4.11|3406|mandatory|r@
-1.4.11|phpinfo.php|1.4.11|3406|mandatory|r@
-1.4.11|picEditor.php|1.4.11|3410|mandatory|r@
-1.4.11|picmgr.php|1.4.11|3406|mandatory|r@
-1.4.11|pluginmgr.php|1.4.11|3406|mandatory|r@
-1.4.11|profile.php|1.4.11|3406|mandatory|r@
-1.4.11|ratepic.php|1.4.11|3406|mandatory|r@
-1.4.11|register.php|1.4.11|3406|mandatory|r@
-1.4.11|relocate_server.php|1.4.11|3406|optional|r@
-1.4.11|report_file.php|1.4.11|3406|mandatory|r@
-1.4.11|reviewcom.php|1.4.11|3406|mandatory|r@
-1.4.11|scripts.js|1.4.11|3406|mandatory|r@
-1.4.11|search.php|1.4.11|3406|mandatory|r@
-1.4.11|searchnew.php|1.4.11|3406|mandatory|r@
-1.4.11|showthumb.php|1.4.11|3406|mandatory|r@
-1.4.11|stat_details.php|1.4.11|3406|mandatory|r@
-1.4.11|thumbnails.php|1.4.11|3628|mandatory|r@
-1.4.11|update.php|1.4.11|3406|mandatory|r@
-1.4.11|upgrade-1.0-to-1.2.php|1.4.11|3406|mandatory|r@
-1.4.11|upload.php|1.4.11|3406|mandatory|r@
-1.4.11|usermgr.php|1.4.11|3406|mandatory|r@
-1.4.11|util.php|1.4.11|3406|mandatory|r@
-1.4.11|versioncheck.php|1.4.11|3634|mandatory|r@
-1.4.11|viewlog.php|1.4.11|3406|mandatory|r@
-1.4.11|xp_publish.php|1.4.11|3406|mandatory|r@
-1.4.11|zipdownload.php|1.4.11|3406|mandatory|r@
-1.4.11|**fullpath**|||mandatory|w@
-1.4.11|**fullpath**/index.php|||optional|w@
-1.4.11|**fullpath**/edit/index.html|||optional|w@
-1.4.11|**fullpath**/edit/no_FTP-uploads_into_this_folder!|||optional|w@
-1.4.11|**fullpath**/edit|||mandatory|w@
-1.4.11|**fullpath**/edit/index.html|||optional|w@
-1.4.11|**fullpath**/**userpics**|||mandatory|w@
-1.4.11|**fullpath**/**userpics**/index.php|||optional|w@
-1.4.11|**fullpath**/**userpics**/no_FTP-uploads_into_this_folder!|||optional|w@
-1.4.11|bridge|||mandatory|r@
-1.4.11|bridge/coppermine.inc.php|1.4.11|3406|mandatory|r@
-1.4.11|bridge/invisionboard20.inc.php|1.4.11|3406|optional|r@
-1.4.11|bridge/mambo.inc.php|1.4.11|3406|optional|r@
-1.4.11|bridge/mybb.inc.php|1.4.11|3406|optional|r@
-1.4.11|bridge/phorum.inc.php|1.4.11|3406|optional|r@
-1.4.11|bridge/phpbb.inc.php|1.4.11|3406|optional|r@
-1.4.11|bridge/phpbb2018.inc.php|1.4.11|3441|optional|r@
-1.4.11|bridge/phpbb22.inc.php|1.4.11|3406|optional|r@
-1.4.11|bridge/punbb115.inc.php|1.4.11|3406|optional|r@
-1.4.11|bridge/punbb12.inc.php|1.4.11|3406|optional|r@
-1.4.11|bridge/smf10.inc.php|1.4.11|3406|optional|r@
-1.4.11|bridge/udb_base.inc.php|1.4.11|3406|mandatory|r@
-1.4.11|bridge/vbulletin30.inc.php|1.4.11|3406|optional|r@
-1.4.11|bridge/xmb.inc.php|1.4.11|3406|optional|r@
-1.4.11|bridge/xoops.inc.php|1.4.11|3406|optional|r@
-1.4.11|docs|||mandatory|r@
-1.4.11|docs/faq.htm|||optional|r@
-1.4.11|docs/faq_fr.htm|||optional|r@
-1.4.11|docs/index.htm||3406|mandatory|r@
-1.4.11|docs/index_fr.htm||3406|mandatory|r@
-1.4.11|docs/README.html||3406|optional|r@
-1.4.11|docs/showdoc.php|1.4.11|3406|mandatory|r@
-1.4.11|docs/style.css|1.4.11|3406|mandatory|r@
-1.4.11|docs/theme.htm|||optional|r@
-1.4.11|docs/translation.htm|||optional|r@
-1.4.11|docs/pics|||mandatory|r@
-1.4.11|docs/theme|||optional|r@
-1.4.11|docs/theme/edit_style.html|||optional|r@
-1.4.11|docs/theme/edit_template.html|||optional|r@
-1.4.11|docs/theme/edit_theme.html|1.4.11||optional|r@
-1.4.11|docs/theme/index.html|||optional|r@
-1.4.11|docs/theme/style.css|1.4.11|3406|optional|r@
-1.4.11|docs/theme/validation.html|||optional|r@
-1.4.11|include|||mandatory|w@
-1.4.11|include/archive.php|1.4.11|3406|mandatory|r@
-1.4.11|include/config.inc.php|||mandatory|r@
-1.4.11|include/config.inc.php.sample|||optional|r@
-1.4.11|include/crop.inc.php|1.4.11|3406|mandatory|r@
-1.4.11|include/debugger.inc.php|1.4.11|3406|mandatory|r@
-1.4.11|include/exif.php|1.4.11|3406|mandatory|r@
-1.4.11|include/exif_php.inc.php|1.4.11|3406|mandatory|r@
-1.4.11|include/functions.inc.php|1.4.11|3630|mandatory|r@
-1.4.11|include/imageObjectGD.class.php|1.4.11|3406|mandatory|r@
-1.4.11|include/imageObjectIM.class.php|1.4.11|3406|mandatory|r@
-1.4.11|include/index.html|1.4.11|3406|mandatory|r@
-1.4.11|include/init.inc.php|1.4.11|3441|mandatory|r@
-1.4.11|include/iptc.inc.php|1.4.11|3406|mandatory|r@
-1.4.11|include/keyword.inc.php|1.4.11|3406|mandatory|r@
-1.4.11|include/langfallback.inc.php|1.4.11|3406|mandatory|r@
-1.4.11|include/logger.inc.php|1.4.11|3406|mandatory|r@
-1.4.11|include/mailer.inc.php|1.4.11|3406|mandatory|r@
-1.4.11|include/mb.inc.php|1.4.11|3406|mandatory|r@
-1.4.11|include/media.functions.inc.php|1.4.11|3406|mandatory|r@
-1.4.11|include/phpmailer.lang-en.php|1.4.11|3406|mandatory|r@
-1.4.11|include/picmgmt.inc.php|1.4.11|3406|mandatory|r@
-1.4.11|include/plugin_api.inc.php|1.4.11|3421|mandatory|r@
-1.4.11|include/search.inc.php|1.4.11|3406|mandatory|r@
-1.4.11|include/select_lang.inc.php|1.4.11|3406|mandatory|r@
-1.4.11|include/slideshow.inc.php|1.4.11|3406|mandatory|r@
-1.4.11|include/smilies.inc.php|1.4.11|3406|mandatory|r@
-1.4.11|include/smtp.inc.php|1.4.11|3406|mandatory|r@
-1.4.11|include/sql_parse.php|1.4.11|3406|mandatory|r@
-1.4.11|include/themes.inc.php|1.4.11|3406|mandatory|r@
-1.4.11|include/update.inc.php|1.4.11|3406|mandatory|r@
-1.4.11|include/zip.lib.php|1.4.11|3406|mandatory|r@
-1.4.11|include/makers|||mandatory|w@
-1.4.11|include/makers/canon.php|1.4.11|3406|mandatory|r@
-1.4.11|include/makers/fujifilm.php|1.4.11|3406|mandatory|r@
-1.4.11|include/makers/gps.php|1.4.11|3406|mandatory|r@
-1.4.11|include/makers/nikon.php|1.4.11|3406|mandatory|r@
-1.4.11|include/makers/olympus.php|1.4.11|3406|mandatory|r@
-1.4.11|include/makers/sanyo.php|1.4.11|3406|mandatory|r@
-1.4.11|lang|||mandatory|r@
-1.4.11|lang/albanian.php|1.4.11|3125|optional|r@
-1.4.11|lang/basque.php|1.4.11|3406|optional|r@
-1.4.11|lang/brazilian_portuguese.php|1.4.11|3116|optional|r@
-1.4.11|lang/bulgarian.php|1.4.11|1.287|optional|r@
-1.4.11|lang/chinese_big5.php|1.4.11|3406|optional|r@
-1.4.11|lang/chinese_gb.php|1.4.11|3406|optional|r@
-1.4.11|lang/czech.php|1.4.11|3406|optional|r@
-1.4.11|lang/danish.php|1.4.11|1.15|optional|r@
-1.4.11|lang/dutch.php|1.4.11|3406|optional|r@
-1.4.11|lang/english.php|1.4.11|3634|mandatory|r@
-1.4.11|lang/english_gb.php|1.4.11|3634|optional|r@
-1.4.11|lang/finnish.php|1.4.11|1.26|optional|r@
-1.4.11|lang/french.php|1.4.11|3406|optional|r@
-1.4.11|lang/galician.php|1.4.11|3406|optional|r@
-1.4.11|lang/georgian.php|1.4.11|3406|optional|r@
-1.4.11|lang/german.php|1.4.11|3629|optional|r@
-1.4.11|lang/german_sie.php|1.4.11|3629|optional|r@
-1.4.11|lang/hebrew.php|1.4.11|3629|optional|r@
-1.4.11|lang/hungarian.php|1.4.11|3629|optional|r@
-1.4.11|lang/italian.php|1.4.11|3406|optional|r@
-1.4.11|lang/japanese.php|1.4.11|3406|optional|r@
-1.4.11|lang/korean.php|1.4.11|3406|optional|r@
-1.4.11|lang/norwegian.php|1.4.11|3406|optional|r@
-1.4.11|lang/persian.php|1.4.11|3406|optional|r@
-1.4.11|lang/polish.php|1.4.11|3406|optional|r@
-1.4.11|lang/portuguese.php|1.4.11|3406|optional|r@
-1.4.11|lang/russian.php|1.4.11|3406|optional|r@
-1.4.11|lang/slovak.php|1.4.11|3406|optional|r@
-1.4.11|lang/slovenian.php|1.4.11|3629|optional|r@
-1.4.11|lang/spanish.php|1.4.11|3406|optional|r@
-1.4.11|lang/swedish.php|1.4.11|3406|optional|r@
-1.4.11|lang/turkish.php|1.4.11|3406|optional|r@
-1.4.11|lang/ukrainian.php|1.4.11|3406|optional|r@
-1.4.11|logs|||mandatory|w@
-1.4.11|logs/log_header.inc.php|1.4.11|3406|mandatory|r@
-1.4.11|plugins|||optional|r@
-1.4.11|plugins/sample|||optional|r@
-1.4.11|plugins/sample/codebase.php|1.4.11|3406|optional|r@
-1.4.11|plugins/sample/configuration.php|1.4.11|3406|optional|r@
-1.4.11|plugins/sef_urls|||optional|r@
-1.4.11|plugins/sef_urls/codebase.php|1.4.11|3406|optional|r@
-1.4.11|plugins/sef_urls/configuration.php|1.4.11|3406|optional|r@
-1.4.11|plugins/sef_urls/ht.txt|1.4.11|3406|optional|r@
-1.4.11|sql|||mandatory|r@
-1.4.11|sql/basic.sql|1.4.11|3495|mandatory|r@
-1.4.11|sql/schema.sql|1.4.11|3406|mandatory|r@
-1.4.11|sql/update.sql|1.4.11|3406|mandatory|r@
-1.4.11|themes|||mandatory|r@
-1.4.11|themes/classic|||optional|r@
-1.4.11|themes/classic/style.css|1.4.11|3406|optional|r@
-1.4.11|themes/classic/template.html||3406|optional|r@
-1.4.11|themes/classic/theme.php|1.4.11|3406|optional|r@
-1.4.11|themes/classic/images|||optional|r@
-1.4.11|themes/eyeball|||optional|r@
-1.4.11|themes/eyeball/style.css|1.4.11|3406|optional|r@
-1.4.11|themes/eyeball/template.html||3406|optional|r@
-1.4.11|themes/eyeball/theme.php|1.4.11|3406|optional|r@
-1.4.11|themes/eyeball/images|||optional|r@
-1.4.11|themes/fruity|||optional|r@
-1.4.11|themes/fruity/style.css|1.4.11|3406|optional|r@
-1.4.11|themes/fruity/template.html||3406|optional|r@
-1.4.11|themes/fruity/theme.php|1.4.11|3406|optional|r@
-1.4.11|themes/fruity/images|||optional|r@
-1.4.11|themes/hardwired|||optional|r@
-1.4.11|themes/hardwired/style.css|1.4.11|3406|optional|r@
-1.4.11|themes/hardwired/template.html||3406|optional|r@
-1.4.11|themes/hardwired/theme.php|1.4.11|3406|optional|r@
-1.4.11|themes/hardwired/images|||optional|r@
-1.4.11|themes/igames|||optional|r@
-1.4.11|themes/igames/style.css|1.4.11|3406|optional|r@
-1.4.11|themes/igames/template.html||3406|optional|r@
-1.4.11|themes/igames/theme.php|1.4.11|3406|optional|r@
-1.4.11|themes/igames/images|||optional|r@
-1.4.11|themes/mac_ox_x|||optional|r@
-1.4.11|themes/mac_ox_x/style.css|1.4.11|3406|optional|r@
-1.4.11|themes/mac_ox_x/template.html||3406|optional|r@
-1.4.11|themes/mac_ox_x/theme.php|1.4.11|3406|optional|r@
-1.4.11|themes/mac_ox_x/images|||optional|r@
-1.4.11|themes/project_vii|||optional|r@
-1.4.11|themes/project_vii/style.css|1.4.11|3406|optional|r@
-1.4.11|themes/project_vii/template.html||3406|optional|r@
-1.4.11|themes/project_vii/theme.php|1.4.11|3406|optional|r@
-1.4.11|themes/project_vii/images|||optional|r@
-1.4.11|themes/rainy_day|||optional|r@
-1.4.11|themes/rainy_day/style.css|1.4.11|3406|optional|r@
-1.4.11|themes/rainy_day/template.html||3406|optional|r@
-1.4.11|themes/rainy_day/theme.php|1.4.11|3406|optional|r@
-1.4.11|themes/rainy_day/images|||optional|r@
-1.4.11|themes/sample|||optional|r@
-1.4.11|themes/sample/style.css|1.4.11|3406|optional|r@
-1.4.11|themes/sample/template.html||3406|optional|r@
-1.4.11|themes/sample/theme.php|1.4.11|3406|optional|r@
-1.4.11|themes/sample/images|||optional|r@
-1.4.11|themes/water_drop|||optional|r@
-1.4.11|themes/water_drop/style.css|1.4.11|3406|optional|r@
-1.4.11|themes/water_drop/template.html||3406|optional|r@
-1.4.11|themes/water_drop/theme.php|1.4.11|3406|optional|r@
-1.4.11|themes/water_drop/images|||optional|r@
-1.4.12|addfav.php|1.4.12|3636|mandatory|r@
-1.4.12|addpic.php|1.4.12|3636|mandatory|r@
-1.4.12|admin.php|1.4.12|3636|mandatory|r@
-1.4.12|albmgr.php|1.4.12|3636|mandatory|r@
-1.4.12|anycontent.php|1.4.12|3636|mandatory|r@
-1.4.12|banning.php|1.4.12|3636|mandatory|r@
-1.4.12|bridgemgr.php|1.4.12|3636|mandatory|r@
-1.4.12|calendar.php|1.4.12|3636|mandatory|r@
-1.4.12|catmgr.php|1.4.12|3636|mandatory|r@
-1.4.12|charsetmgr.php|1.4.12|3636|mandatory|r@
-1.4.12|config.php|1.4.12|3636|optional|r@
-1.4.12|db_ecard.php|1.4.12|3636|mandatory|r@
-1.4.12|db_input.php|1.4.12|3636|mandatory|r@
-1.4.12|delete.php|1.4.12|3636|mandatory|r@
-1.4.12|displayecard.php|1.4.12|3636|mandatory|r@
-1.4.12|displayimage.php|1.4.12|3636|mandatory|r@
-1.4.12|displayreport.php|1.4.12|3636|mandatory|r@
-1.4.12|ecard.php|1.4.12|3636|mandatory|r@
-1.4.12|editOnePic.php|1.4.12|3636|mandatory|r@
-1.4.12|editpics.php|1.4.12|3636|mandatory|r@
-1.4.12|exifmgr.php|1.4.12|3636|mandatory|r@
-1.4.12|faq.php|1.4.12|3636|mandatory|r@
-1.4.12|forgot_passwd.php|1.4.12|3636|mandatory|r@
-1.4.12|getlang.php|1.4.12|3636|mandatory|r@
-1.4.12|groupmgr.php|1.4.12|3636|mandatory|r@
-1.4.12|image_processor.php|1.4.12|3636|mandatory|r@
-1.4.12|index.php|1.4.12|3636|mandatory|r@
-1.4.12|install.php|1.4.12|3636|mandatory|r@
-1.4.12|installer.css|1.4.12|3636|mandatory|r@
-1.4.12|keyword_create_dict.php|1.4.12|3636|mandatory|r@
-1.4.12|keyword_select.php|1.4.12|3636|mandatory|r@
-1.4.12|keywordmgr.php|1.4.12|3636|mandatory|r@
-1.4.12|login.php|1.4.12|3636|mandatory|r@
-1.4.12|logout.php|1.4.12|3636|mandatory|r@
-1.4.12|minibrowser.php|1.4.12|3636|mandatory|r@
-1.4.12|mode.php|1.4.12|3636|mandatory|r@
-1.4.12|modifyalb.php|1.4.12|3636|mandatory|r@
-1.4.12|phpinfo.php|1.4.12|3636|mandatory|r@
-1.4.12|picEditor.php|1.4.12|3636|mandatory|r@
-1.4.12|picmgr.php|1.4.12|3636|mandatory|r@
-1.4.12|pluginmgr.php|1.4.12|3636|mandatory|r@
-1.4.12|profile.php|1.4.12|3636|mandatory|r@
-1.4.12|ratepic.php|1.4.12|3636|mandatory|r@
-1.4.12|register.php|1.4.12|3636|mandatory|r@
-1.4.12|relocate_server.php|1.4.12|3636|optional|r@
-1.4.12|report_file.php|1.4.12|3636|mandatory|r@
-1.4.12|reviewcom.php|1.4.12|3636|mandatory|r@
-1.4.12|scripts.js|1.4.12|3636|mandatory|r@
-1.4.12|search.php|1.4.12|3636|mandatory|r@
-1.4.12|searchnew.php|1.4.12|3636|mandatory|r@
-1.4.12|showthumb.php|1.4.12|3636|mandatory|r@
-1.4.12|stat_details.php|1.4.12|3636|mandatory|r@
-1.4.12|thumbnails.php|1.4.12|3636|mandatory|r@
-1.4.12|update.php|1.4.12|3636|mandatory|r@
-1.4.12|upgrade-1.0-to-1.2.php|1.4.12|3636|mandatory|r@
-1.4.12|upload.php|1.4.12|3636|mandatory|r@
-1.4.12|usermgr.php|1.4.12|3636|mandatory|r@
-1.4.12|util.php|1.4.12|3636|mandatory|r@
-1.4.12|versioncheck.php|1.4.12|3662|mandatory|r@
-1.4.12|viewlog.php|1.4.12|3636|mandatory|r@
-1.4.12|xp_publish.php|1.4.12|3636|mandatory|r@
-1.4.12|zipdownload.php|1.4.12|3636|mandatory|r@
-1.4.12|**fullpath**|||mandatory|w@
-1.4.12|**fullpath**/index.php|||optional|w@
-1.4.12|**fullpath**/edit/index.html|||optional|w@
-1.4.12|**fullpath**/edit/no_FTP-uploads_into_this_folder!|||optional|w@
-1.4.12|**fullpath**/edit|||mandatory|w@
-1.4.12|**fullpath**/edit/index.html|||optional|w@
-1.4.12|**fullpath**/**userpics**|||mandatory|w@
-1.4.12|**fullpath**/**userpics**/index.php|||optional|w@
-1.4.12|**fullpath**/**userpics**/no_FTP-uploads_into_this_folder!|||optional|w@
-1.4.12|bridge|||mandatory|r@
-1.4.12|bridge/coppermine.inc.php|1.4.12|3636|mandatory|r@
-1.4.12|bridge/invisionboard20.inc.php|1.4.12|3636|optional|r@
-1.4.12|bridge/mambo.inc.php|1.4.12|3636|optional|r@
-1.4.12|bridge/mybb.inc.php|1.4.12|3636|optional|r@
-1.4.12|bridge/phorum.inc.php|1.4.12|3636|optional|r@
-1.4.12|bridge/phpbb.inc.php|1.4.12|3636|optional|r@
-1.4.12|bridge/phpbb2018.inc.php|1.4.12|3636|optional|r@
-1.4.12|bridge/phpbb22.inc.php|1.4.12|3636|optional|r@
-1.4.12|bridge/punbb115.inc.php|1.4.12|3636|optional|r@
-1.4.12|bridge/punbb12.inc.php|1.4.12|3636|optional|r@
-1.4.12|bridge/smf10.inc.php|1.4.12|3636|optional|r@
-1.4.12|bridge/udb_base.inc.php|1.4.12|3636|mandatory|r@
-1.4.12|bridge/vbulletin30.inc.php|1.4.12|3636|optional|r@
-1.4.12|bridge/xmb.inc.php|1.4.12|3636|optional|r@
-1.4.12|bridge/xoops.inc.php|1.4.12|3636|optional|r@
-1.4.12|docs|||mandatory|r@
-1.4.12|docs/faq.htm|||optional|r@
-1.4.12|docs/faq_fr.htm|||optional|r@
-1.4.12|docs/index.htm||3636|mandatory|r@
-1.4.12|docs/index_fr.htm||3636|mandatory|r@
-1.4.12|docs/README.html||3636|optional|r@
-1.4.12|docs/showdoc.php|1.4.12|3636|mandatory|r@
-1.4.12|docs/style.css|1.4.12|3658|mandatory|r@
-1.4.12|docs/theme.htm|||optional|r@
-1.4.12|docs/translation.htm|||optional|r@
-1.4.12|docs/pics|||mandatory|r@
-1.4.12|docs/theme|||optional|r@
-1.4.12|docs/theme/edit_style.html|||optional|r@
-1.4.12|docs/theme/edit_template.html|||optional|r@
-1.4.12|docs/theme/edit_theme.html|1.4.12||optional|r@
-1.4.12|docs/theme/index.html|||optional|r@
-1.4.12|docs/theme/style.css|1.4.12|3636|optional|r@
-1.4.12|docs/theme/validation.html|||optional|r@
-1.4.12|include|||mandatory|w@
-1.4.12|include/archive.php|1.4.12|3636|mandatory|r@
-1.4.12|include/config.inc.php|||mandatory|r@
-1.4.12|include/config.inc.php.sample|||optional|r@
-1.4.12|include/crop.inc.php|1.4.12|3636|mandatory|r@
-1.4.12|include/debugger.inc.php|1.4.12|3636|mandatory|r@
-1.4.12|include/exif.php|1.4.12|3636|mandatory|r@
-1.4.12|include/exif_php.inc.php|1.4.12|3636|mandatory|r@
-1.4.12|include/functions.inc.php|1.4.12|3641|mandatory|r@
-1.4.12|include/imageObjectGD.class.php|1.4.12|3636|mandatory|r@
-1.4.12|include/imageObjectIM.class.php|1.4.12|3636|mandatory|r@
-1.4.12|include/index.html|1.4.12|3636|mandatory|r@
-1.4.12|include/init.inc.php|1.4.12|3636|mandatory|r@
-1.4.12|include/iptc.inc.php|1.4.12|3636|mandatory|r@
-1.4.12|include/keyword.inc.php|1.4.12|3636|mandatory|r@
-1.4.12|include/langfallback.inc.php|1.4.12|3636|mandatory|r@
-1.4.12|include/logger.inc.php|1.4.12|3636|mandatory|r@
-1.4.12|include/mailer.inc.php|1.4.12|3636|mandatory|r@
-1.4.12|include/mb.inc.php|1.4.12|3636|mandatory|r@
-1.4.12|include/media.functions.inc.php|1.4.12|3636|mandatory|r@
-1.4.12|include/phpmailer.lang-en.php|1.4.12|3636|mandatory|r@
-1.4.12|include/picmgmt.inc.php|1.4.12|3636|mandatory|r@
-1.4.12|include/plugin_api.inc.php|1.4.12|3636|mandatory|r@
-1.4.12|include/search.inc.php|1.4.12|3636|mandatory|r@
-1.4.12|include/select_lang.inc.php|1.4.12|3636|mandatory|r@
-1.4.12|include/slideshow.inc.php|1.4.12|3636|mandatory|r@
-1.4.12|include/smilies.inc.php|1.4.12|3636|mandatory|r@
-1.4.12|include/smtp.inc.php|1.4.12|3636|mandatory|r@
-1.4.12|include/sql_parse.php|1.4.12|3636|mandatory|r@
-1.4.12|include/themes.inc.php|1.4.12|3657|mandatory|r@
-1.4.12|include/update.inc.php|1.4.12|3636|mandatory|r@
-1.4.12|include/zip.lib.php|1.4.12|3636|mandatory|r@
-1.4.12|include/makers|||mandatory|w@
-1.4.12|include/makers/canon.php|1.4.12|3636|mandatory|r@
-1.4.12|include/makers/fujifilm.php|1.4.12|3636|mandatory|r@
-1.4.12|include/makers/gps.php|1.4.12|3636|mandatory|r@
-1.4.12|include/makers/nikon.php|1.4.12|3636|mandatory|r@
-1.4.12|include/makers/olympus.php|1.4.12|3636|mandatory|r@
-1.4.12|include/makers/sanyo.php|1.4.12|3636|mandatory|r@
-1.4.12|lang|||mandatory|r@
-1.4.12|lang/albanian.php|1.4.12|3125|optional|r@
-1.4.12|lang/arabic.php|1.4.12|3275|optional|r@
-1.4.12|lang/basque.php|1.4.12|3654|optional|r@
-1.4.12|lang/brazilian_portuguese.php|1.4.12|3116|optional|r@
-1.4.12|lang/bulgarian.php|1.4.12|3660|optional|r@
-1.4.12|lang/chinese_big5.php|1.4.12|3636|optional|r@
-1.4.12|lang/chinese_gb.php|1.4.12|3636|optional|r@
-1.4.12|lang/czech.php|1.4.12|3654|optional|r@
-1.4.12|lang/danish.php|1.4.12|3275|optional|r@
-1.4.12|lang/dutch.php|1.4.12|3654|optional|r@
-1.4.12|lang/english.php|1.4.12|3654|mandatory|r@
-1.4.12|lang/english_gb.php|1.4.12|3654|optional|r@
-1.4.12|lang/finnish.php|1.4.12|1.26|optional|r@
-1.4.12|lang/french.php|1.4.12|3654|optional|r@
-1.4.12|lang/galician.php|1.4.12|3654|optional|r@
-1.4.12|lang/georgian.php|1.4.12|3636|optional|r@
-1.4.12|lang/german.php|1.4.12|3654|optional|r@
-1.4.12|lang/german_sie.php|1.4.12|3654|optional|r@
-1.4.12|lang/greek.php|1.4.12|3654|optional|r@
-1.4.12|lang/hebrew.php|1.4.12|3654|optional|r@
-1.4.12|lang/hindi.php|1.4.12|3125|optional|r@
-1.4.12|lang/hungarian.php|1.4.12|3654|optional|r@
-1.4.12|lang/indonesian.php|1.4.12|3125|optional|r@
-1.4.12|lang/italian.php|1.4.12|3654|optional|r@
-1.4.12|lang/japanese.php|1.4.12|3636|optional|r@
-1.4.12|lang/korean.php|1.4.12|3654|optional|r@
-1.4.12|lang/lithuanian.php|1.4.12|3275|optional|r@
-1.4.12|lang/norwegian.php|1.4.12|3654|optional|r@
-1.4.12|lang/persian.php|1.4.12|3654|optional|r@
-1.4.12|lang/polish.php|1.4.12|3654|optional|r@
-1.4.12|lang/portuguese.php|1.4.12|3654|optional|r@
-1.4.12|lang/russian.php|1.4.12|3652|optional|r@
-1.4.12|lang/slovak.php|1.4.12|3654|optional|r@
-1.4.12|lang/slovenian.php|1.4.12|3654|optional|r@
-1.4.12|lang/spanish.php|1.4.12|3654|optional|r@
-1.4.12|lang/swedish.php|1.4.12|3654|optional|r@
-1.4.12|lang/thai.php|1.4.12|3125|optional|r@
-1.4.12|lang/turkish.php|1.4.12|3660|optional|r@
-1.4.12|lang/ukrainian.php|1.4.12|3654|optional|r@
-1.4.12|lang/vietnamese.php|1.4.12|3275|optional|r@
-1.4.12|logs|||mandatory|w@
-1.4.12|logs/log_header.inc.php|1.4.12|3636|mandatory|r@
-1.4.12|plugins|||optional|r@
-1.4.12|plugins/sample|||optional|r@
-1.4.12|plugins/sample/codebase.php|1.4.12|3636|optional|r@
-1.4.12|plugins/sample/configuration.php|1.4.12|3636|optional|r@
-1.4.12|plugins/sef_urls|||optional|r@
-1.4.12|plugins/sef_urls/codebase.php|1.4.12|3636|optional|r@
-1.4.12|plugins/sef_urls/configuration.php|1.4.12|3636|optional|r@
-1.4.12|plugins/sef_urls/ht.txt|1.4.12|3636|optional|r@
-1.4.12|sql|||mandatory|r@
-1.4.12|sql/basic.sql|1.4.12|3636|mandatory|r@
-1.4.12|sql/schema.sql|1.4.12|3636|mandatory|r@
-1.4.12|sql/update.sql|1.4.12|3636|mandatory|r@
-1.4.12|themes|||mandatory|r@
-1.4.12|themes/classic|||optional|r@
-1.4.12|themes/classic/style.css|1.4.12|3636|optional|r@
-1.4.12|themes/classic/template.html||3636|optional|r@
-1.4.12|themes/classic/theme.php|1.4.12|3636|optional|r@
-1.4.12|themes/classic/images|||optional|r@
-1.4.12|themes/eyeball|||optional|r@
-1.4.12|themes/eyeball/style.css|1.4.12|3636|optional|r@
-1.4.12|themes/eyeball/template.html||3636|optional|r@
-1.4.12|themes/eyeball/theme.php|1.4.12|3636|optional|r@
-1.4.12|themes/eyeball/images|||optional|r@
-1.4.12|themes/fruity|||optional|r@
-1.4.12|themes/fruity/style.css|1.4.12|3636|optional|r@
-1.4.12|themes/fruity/template.html||3636|optional|r@
-1.4.12|themes/fruity/theme.php|1.4.12|3636|optional|r@
-1.4.12|themes/fruity/images|||optional|r@
-1.4.12|themes/hardwired|||optional|r@
-1.4.12|themes/hardwired/style.css|1.4.12|3636|optional|r@
-1.4.12|themes/hardwired/template.html||3636|optional|r@
-1.4.12|themes/hardwired/theme.php|1.4.12|3636|optional|r@
-1.4.12|themes/hardwired/images|||optional|r@
-1.4.12|themes/igames|||optional|r@
-1.4.12|themes/igames/style.css|1.4.12|3636|optional|r@
-1.4.12|themes/igames/template.html||3636|optional|r@
-1.4.12|themes/igames/theme.php|1.4.12|3636|optional|r@
-1.4.12|themes/igames/images|||optional|r@
-1.4.12|themes/mac_ox_x|||optional|r@
-1.4.12|themes/mac_ox_x/style.css|1.4.12|3636|optional|r@
-1.4.12|themes/mac_ox_x/template.html||3636|optional|r@
-1.4.12|themes/mac_ox_x/theme.php|1.4.12|3636|optional|r@
-1.4.12|themes/mac_ox_x/images|||optional|r@
-1.4.12|themes/project_vii|||optional|r@
-1.4.12|themes/project_vii/style.css|1.4.12|3636|optional|r@
-1.4.12|themes/project_vii/template.html||3636|optional|r@
-1.4.12|themes/project_vii/theme.php|1.4.12|3636|optional|r@
-1.4.12|themes/project_vii/images|||optional|r@
-1.4.12|themes/rainy_day|||optional|r@
-1.4.12|themes/rainy_day/style.css|1.4.12|3636|optional|r@
-1.4.12|themes/rainy_day/template.html||3636|optional|r@
-1.4.12|themes/rainy_day/theme.php|1.4.12|3636|optional|r@
-1.4.12|themes/rainy_day/images|||optional|r@
-1.4.12|themes/sample|||optional|r@
-1.4.12|themes/sample/style.css|1.4.12|3636|optional|r@
-1.4.12|themes/sample/template.html||3636|optional|r@
-1.4.12|themes/sample/theme.php|1.4.12|3657|optional|r@
-1.4.12|themes/sample/images|||optional|r@
-1.4.12|themes/water_drop|||optional|r@
-1.4.12|themes/water_drop/style.css|1.4.12|3636|optional|r@
-1.4.12|themes/water_drop/template.html||3636|optional|r@
-1.4.12|themes/water_drop/theme.php|1.4.12|3636|optional|r@
-1.4.12|themes/water_drop/images|||optional|r@
-1.4.13|addfav.php|1.4.13|3837|mandatory|r@
-1.4.13|addpic.php|1.4.13|3837|mandatory|r@
-1.4.13|admin.php|1.4.13|3861|mandatory|r@
-1.4.13|albmgr.php|1.4.13|3837|mandatory|r@
-1.4.13|anycontent.php|1.4.13|3837|mandatory|r@
-1.4.13|banning.php|1.4.13|3837|mandatory|r@
-1.4.13|bridgemgr.php|1.4.13|3933|mandatory|r@
-1.4.13|calendar.php|1.4.13|3837|mandatory|r@
-1.4.13|catmgr.php|1.4.13|3837|mandatory|r@
-1.4.13|charsetmgr.php|1.4.13|3837|mandatory|r@
-1.4.13|config.php|1.4.13|3837|optional|r@
-1.4.13|db_ecard.php|1.4.13|3837|mandatory|r@
-1.4.13|db_input.php|1.4.13|3837|mandatory|r@
-1.4.13|delete.php|1.4.13|3837|mandatory|r@
-1.4.13|displayecard.php|1.4.13|3837|mandatory|r@
-1.4.13|displayimage.php|1.4.13|3837|mandatory|r@
-1.4.13|displayreport.php|1.4.13|3837|mandatory|r@
-1.4.13|ecard.php|1.4.13|3837|mandatory|r@
-1.4.13|editOnePic.php|1.4.13|3837|mandatory|r@
-1.4.13|editpics.php|1.4.13|3837|mandatory|r@
-1.4.13|exifmgr.php|1.4.13|3837|mandatory|r@
-1.4.13|faq.php|1.4.13|3837|mandatory|r@
-1.4.13|forgot_passwd.php|1.4.13|3859|mandatory|r@
-1.4.13|getlang.php|1.4.13|3837|mandatory|r@
-1.4.13|groupmgr.php|1.4.13|3837|mandatory|r@
-1.4.13|image_processor.php|1.4.13|3837|mandatory|r@
-1.4.13|index.php|1.4.13|3837|mandatory|r@
-1.4.13|install.php|1.4.13|3915|mandatory|r@
-1.4.13|installer.css|1.4.13|3837|mandatory|r@
-1.4.13|keyword_create_dict.php|1.4.13|3837|mandatory|r@
-1.4.13|keyword_select.php|1.4.13|3837|mandatory|r@
-1.4.13|keywordmgr.php|1.4.13|3837|mandatory|r@
-1.4.13|login.php|1.4.13|3860|mandatory|r@
-1.4.13|logout.php|1.4.13|3837|mandatory|r@
-1.4.13|minibrowser.php|1.4.13|3837|mandatory|r@
-1.4.13|mode.php|1.4.13|3837|mandatory|r@
-1.4.13|modifyalb.php|1.4.13|3837|mandatory|r@
-1.4.13|phpinfo.php|1.4.13|3837|mandatory|r@
-1.4.13|picEditor.php|1.4.13|3837|mandatory|r@
-1.4.13|picmgr.php|1.4.13|3837|mandatory|r@
-1.4.13|pluginmgr.php|1.4.13|3837|mandatory|r@
-1.4.13|profile.php|1.4.13|3837|mandatory|r@
-1.4.13|ratepic.php|1.4.13|3837|mandatory|r@
-1.4.13|register.php|1.4.13|3837|mandatory|r@
-1.4.13|relocate_server.php|1.4.13|3837|optional|r@
-1.4.13|report_file.php|1.4.13|3863|mandatory|r@
-1.4.13|reviewcom.php|1.4.13|3837|mandatory|r@
-1.4.13|scripts.js|1.4.13|3837|mandatory|r@
-1.4.13|search.php|1.4.13|3837|mandatory|r@
-1.4.13|searchnew.php|1.4.13|3837|mandatory|r@
-1.4.13|showthumb.php|1.4.13|3837|mandatory|r@
-1.4.13|stat_details.php|1.4.13|3837|mandatory|r@
-1.4.13|thumbnails.php|1.4.13|3837|mandatory|r@
-1.4.13|update.php|1.4.13|3837|mandatory|r@
-1.4.13|upgrade-1.0-to-1.2.php|1.4.13|3837|mandatory|r@
-1.4.13|upload.php|1.4.13|3837|mandatory|r@
-1.4.13|usermgr.php|1.4.13|3837|mandatory|r@
-1.4.13|util.php|1.4.13|3837|mandatory|r@
-1.4.13|versioncheck.php|1.4.13|3961|mandatory|r@
-1.4.13|viewlog.php|1.4.13|3941|mandatory|r@
-1.4.13|xp_publish.php|1.4.13|3837|mandatory|r@
-1.4.13|zipdownload.php|1.4.13|3837|mandatory|r@
-1.4.13|**fullpath**|||mandatory|w@
-1.4.13|**fullpath**/index.php|||optional|w@
-1.4.13|**fullpath**/edit/index.html|||optional|w@
-1.4.13|**fullpath**/edit/no_FTP-uploads_into_this_folder!|||optional|w@
-1.4.13|**fullpath**/edit|||mandatory|w@
-1.4.13|**fullpath**/edit/index.html|||optional|w@
-1.4.13|**fullpath**/**userpics**|||mandatory|w@
-1.4.13|**fullpath**/**userpics**/index.php|||optional|w@
-1.4.13|**fullpath**/**userpics**/no_FTP-uploads_into_this_folder!|||optional|w@
-1.4.13|bridge|||mandatory|r@
-1.4.13|bridge/coppermine.inc.php|1.4.13|3837|mandatory|r@
-1.4.13|bridge/invisionboard20.inc.php|1.4.13|3837|optional|r@
-1.4.13|bridge/mambo.inc.php|1.4.13|3837|optional|r@
-1.4.13|bridge/mybb.inc.php|1.4.13|3837|optional|r@
-1.4.13|bridge/phorum.inc.php|1.4.13|3837|optional|r@
-1.4.13|bridge/phpbb.inc.php|1.4.13|3837|optional|r@
-1.4.13|bridge/phpbb2018.inc.php|1.4.13|3837|optional|r@
-1.4.13|bridge/phpbb22.inc.php|1.4.13|3837|optional|r@
-1.4.13|bridge/punbb115.inc.php|1.4.13|3837|optional|r@
-1.4.13|bridge/punbb12.inc.php|1.4.13|3837|optional|r@
-1.4.13|bridge/smf10.inc.php|1.4.13|3837|optional|r@
-1.4.13|bridge/udb_base.inc.php|1.4.13|3837|mandatory|r@
-1.4.13|bridge/vbulletin30.inc.php|1.4.13|3837|optional|r@
-1.4.13|bridge/xmb.inc.php|1.4.13|3837|optional|r@
-1.4.13|bridge/xoops.inc.php|1.4.13|3837|optional|r@
-1.4.13|docs|||mandatory|r@
-1.4.13|docs/faq.htm|||optional|r@
-1.4.13|docs/faq_de.htm|||optional|r@
-1.4.13|docs/faq_fr.htm|||optional|r@
-1.4.13|docs/index.htm|1.4.13|3956|mandatory|r@
-1.4.13|docs/index_fr.htm||3837|mandatory|r@
-1.4.13|docs/README.html||3837|optional|r@
-1.4.13|docs/showdoc.php|1.4.13|3837|mandatory|r@
-1.4.13|docs/style.css|1.4.13|3837|mandatory|r@
-1.4.13|docs/theme.htm|||optional|r@
-1.4.13|docs/translation.htm|||optional|r@
-1.4.13|docs/pics|||mandatory|r@
-1.4.13|docs/theme|||optional|r@
-1.4.13|docs/theme/edit_style.html|||optional|r@
-1.4.13|docs/theme/edit_template.html|||optional|r@
-1.4.13|docs/theme/edit_theme.html|1.4.13||optional|r@
-1.4.13|docs/theme/index.html|||optional|r@
-1.4.13|docs/theme/style.css|1.4.13|3837|optional|r@
-1.4.13|docs/theme/validation.html|||optional|r@
-1.4.13|include|||mandatory|w@
-1.4.13|include/archive.php|1.4.13|3837|mandatory|r@
-1.4.13|include/config.inc.php|||mandatory|r@
-1.4.13|include/config.inc.php.sample|||optional|r@
-1.4.13|include/crop.inc.php|1.4.13|3837|mandatory|r@
-1.4.13|include/debugger.inc.php|1.4.13|3837|mandatory|r@
-1.4.13|include/exif.php|1.4.13|3837|mandatory|r@
-1.4.13|include/exif_php.inc.php|1.4.13|3837|mandatory|r@
-1.4.13|include/functions.inc.php|1.4.13|3950|mandatory|r@
-1.4.13|include/imageObjectGD.class.php|1.4.13|3837|mandatory|r@
-1.4.13|include/imageObjectIM.class.php|1.4.13|3837|mandatory|r@
-1.4.13|include/index.html|1.4.13|3837|mandatory|r@
-1.4.13|include/init.inc.php|1.4.13|3950|mandatory|r@
-1.4.13|include/iptc.inc.php|1.4.13|3837|mandatory|r@
-1.4.13|include/keyword.inc.php|1.4.13|3864|mandatory|r@
-1.4.13|include/langfallback.inc.php|1.4.13|3837|mandatory|r@
-1.4.13|include/logger.inc.php|1.4.13|3837|mandatory|r@
-1.4.13|include/mailer.inc.php|1.4.13|3837|mandatory|r@
-1.4.13|include/mb.inc.php|1.4.13|3837|mandatory|r@
-1.4.13|include/media.functions.inc.php|1.4.13|3837|mandatory|r@
-1.4.13|include/phpmailer.lang-en.php|1.4.13|3837|mandatory|r@
-1.4.13|include/picmgmt.inc.php|1.4.13|3862|mandatory|r@
-1.4.13|include/plugin_api.inc.php|1.4.13|3837|mandatory|r@
-1.4.13|include/search.inc.php|1.4.13|3837|mandatory|r@
-1.4.13|include/select_lang.inc.php|1.4.13|3837|mandatory|r@
-1.4.13|include/slideshow.inc.php|1.4.13|3837|mandatory|r@
-1.4.13|include/smilies.inc.php|1.4.13|3837|mandatory|r@
-1.4.13|include/smtp.inc.php|1.4.13|3837|mandatory|r@
-1.4.13|include/sql_parse.php|1.4.13|3837|mandatory|r@
-1.4.13|include/themes.inc.php|1.4.13|3837|mandatory|r@
-1.4.13|include/update.inc.php|1.4.13|3837|mandatory|r@
-1.4.13|include/zip.lib.php|1.4.13|3837|mandatory|r@
-1.4.13|include/makers|||mandatory|w@
-1.4.13|include/makers/canon.php|1.4.13|3837|mandatory|r@
-1.4.13|include/makers/fujifilm.php|1.4.13|3837|mandatory|r@
-1.4.13|include/makers/gps.php|1.4.13|3837|mandatory|r@
-1.4.13|include/makers/nikon.php|1.4.13|3837|mandatory|r@
-1.4.13|include/makers/olympus.php|1.4.13|3837|mandatory|r@
-1.4.13|include/makers/sanyo.php|1.4.13|3837|mandatory|r@
-1.4.13|lang|||mandatory|r@
-1.4.13|lang/albanian.php|1.4.13|3125|optional|r@
-1.4.13|lang/arabic.php|1.4.13|3275|optional|r@
-1.4.13|lang/basque.php|1.4.13|3918|optional|r@
-1.4.13|lang/brazilian_portuguese.php|1.4.13|3116|optional|r@
-1.4.13|lang/bulgarian.php|1.4.13|3660|optional|r@
-1.4.13|lang/catalan.php|1.4.13|3918|optional|r@
-1.4.13|lang/chinese_big5.php|1.4.13|3837|optional|r@
-1.4.13|lang/chinese_gb.php|1.4.13|3837|optional|r@
-1.4.13|lang/czech.php|1.4.13|3918|optional|r@
-1.4.13|lang/danish.php|1.4.13|3275|optional|r@
-1.4.13|lang/dutch.php|1.4.13|3918|optional|r@
-1.4.13|lang/english.php|1.4.13|3918|mandatory|r@
-1.4.13|lang/english_gb.php|1.4.13|3918|optional|r@
-1.4.13|lang/finnish.php|1.4.13|3918|optional|r@
-1.4.13|lang/french.php|1.4.13|3918|optional|r@
-1.4.13|lang/galician.php|1.4.13|3918|optional|r@
-1.4.13|lang/georgian.php|1.4.13|3837|optional|r@
-1.4.13|lang/german.php|1.4.13|3918|optional|r@
-1.4.13|lang/german_sie.php|1.4.13|3918|optional|r@
-1.4.13|lang/greek.php|1.4.13|3918|optional|r@
-1.4.13|lang/hebrew.php|1.4.13|3918|optional|r@
-1.4.13|lang/hindi.php|1.4.13|3125|optional|r@
-1.4.13|lang/hungarian.php|1.4.13|3918|optional|r@
-1.4.13|lang/indonesian.php|1.4.13|3125|optional|r@
-1.4.13|lang/italian.php|1.4.13|3918|optional|r@
-1.4.13|lang/japanese.php|1.4.13|3837|optional|r@
-1.4.13|lang/korean.php|1.4.13|3837|optional|r@
-1.4.13|lang/lithuanian.php|1.4.13|3275|optional|r@
-1.4.13|lang/macedonian.php|1.4.13|3660|optional|r@
-1.4.13|lang/norwegian.php|1.4.13|3918|optional|r@
-1.4.13|lang/persian.php|1.4.13|3918|optional|r@
-1.4.13|lang/polish.php|1.4.13|3918|optional|r@
-1.4.13|lang/portuguese.php|1.4.13|3918|optional|r@
-1.4.13|lang/romanian.php|1.4.13|3654|optional|r@
-1.4.13|lang/russian.php|1.4.13|3950|optional|r@
-1.4.13|lang/slovak.php|1.4.13|3918|optional|r@
-1.4.13|lang/slovenian.php|1.4.13|3918|optional|r@
-1.4.13|lang/spanish.php|1.4.13|3918|optional|r@
-1.4.13|lang/swedish.php|1.4.13|3918|optional|r@
-1.4.13|lang/thai.php|1.4.13|3125|optional|r@
-1.4.13|lang/turkish.php|1.4.13|3918|optional|r@
-1.4.13|lang/ukrainian.php|1.4.13|3918|optional|r@
-1.4.13|lang/vietnamese.php|1.4.13|3275|optional|r@
-1.4.13|logs|||mandatory|w@
-1.4.13|logs/log_header.inc.php|1.4.13|3837|mandatory|r@
-1.4.13|plugins|||optional|r@
-1.4.13|plugins/sample|||optional|r@
-1.4.13|plugins/sample/codebase.php|1.4.13|3912|optional|r@
-1.4.13|plugins/sample/configuration.php|1.4.13|3912|optional|r@
-1.4.13|sql|||mandatory|r@
-1.4.13|sql/basic.sql|1.4.13|3918|mandatory|r@
-1.4.13|sql/schema.sql|1.4.13|3837|mandatory|r@
-1.4.13|sql/update.sql|1.4.13|3918|mandatory|r@
-1.4.13|themes|||mandatory|r@
-1.4.13|themes/classic|||optional|r@
-1.4.13|themes/classic/style.css|1.4.13|3837|optional|r@
-1.4.13|themes/classic/template.html||3837|optional|r@
-1.4.13|themes/classic/theme.php|1.4.13|3837|optional|r@
-1.4.13|themes/classic/images|||optional|r@
-1.4.13|themes/eyeball|||optional|r@
-1.4.13|themes/eyeball/style.css|1.4.13|3837|optional|r@
-1.4.13|themes/eyeball/template.html||3837|optional|r@
-1.4.13|themes/eyeball/theme.php|1.4.13|3837|optional|r@
-1.4.13|themes/eyeball/images|||optional|r@
-1.4.13|themes/fruity|||optional|r@
-1.4.13|themes/fruity/style.css|1.4.13|3837|optional|r@
-1.4.13|themes/fruity/template.html||3837|optional|r@
-1.4.13|themes/fruity/theme.php|1.4.13|3837|optional|r@
-1.4.13|themes/fruity/images|||optional|r@
-1.4.13|themes/hardwired|||optional|r@
-1.4.13|themes/hardwired/style.css|1.4.13|3837|optional|r@
-1.4.13|themes/hardwired/template.html||3837|optional|r@
-1.4.13|themes/hardwired/theme.php|1.4.13|3837|optional|r@
-1.4.13|themes/hardwired/images|||optional|r@
-1.4.13|themes/igames|||optional|r@
-1.4.13|themes/igames/style.css|1.4.13|3837|optional|r@
-1.4.13|themes/igames/template.html||3837|optional|r@
-1.4.13|themes/igames/theme.php|1.4.13|3837|optional|r@
-1.4.13|themes/igames/images|||optional|r@
-1.4.13|themes/mac_ox_x|||optional|r@
-1.4.13|themes/mac_ox_x/style.css|1.4.13|3837|optional|r@
-1.4.13|themes/mac_ox_x/template.html||3837|optional|r@
-1.4.13|themes/mac_ox_x/theme.php|1.4.13|3837|optional|r@
-1.4.13|themes/mac_ox_x/images|||optional|r@
-1.4.13|themes/project_vii|||optional|r@
-1.4.13|themes/project_vii/style.css|1.4.13|3837|optional|r@
-1.4.13|themes/project_vii/template.html||3837|optional|r@
-1.4.13|themes/project_vii/theme.php|1.4.13|3837|optional|r@
-1.4.13|themes/project_vii/images|||optional|r@
-1.4.13|themes/rainy_day|||optional|r@
-1.4.13|themes/rainy_day/style.css|1.4.13|3837|optional|r@
-1.4.13|themes/rainy_day/template.html||3837|optional|r@
-1.4.13|themes/rainy_day/theme.php|1.4.13|3837|optional|r@
-1.4.13|themes/rainy_day/images|||optional|r@
-1.4.13|themes/sample|||optional|r@
-1.4.13|themes/sample/style.css|1.4.13|3837|optional|r@
-1.4.13|themes/sample/template.html||3837|optional|r@
-1.4.13|themes/sample/theme.php|1.4.13|3837|optional|r@
-1.4.13|themes/sample/images|||optional|r@
-1.4.13|themes/water_drop|||optional|r@
-1.4.13|themes/water_drop/style.css|1.4.13|3837|optional|r@
-1.4.13|themes/water_drop/template.html||3837|optional|r@
-1.4.13|themes/water_drop/theme.php|1.4.13|3837|optional|r@
-1.4.13|themes/water_drop/images|||optional|r@
-1.4.14|addfav.php|1.4.14|3966|mandatory|r@
-1.4.14|addpic.php|1.4.14|3966|mandatory|r@
-1.4.14|admin.php|1.4.14|3966|mandatory|r@
-1.4.14|albmgr.php|1.4.14|3966|mandatory|r@
-1.4.14|anycontent.php|1.4.14|3966|mandatory|r@
-1.4.14|banning.php|1.4.14|3966|mandatory|r@
-1.4.14|bridgemgr.php|1.4.14|3966|mandatory|r@
-1.4.14|calendar.php|1.4.14|3966|mandatory|r@
-1.4.14|catmgr.php|1.4.14|3966|mandatory|r@
-1.4.14|charsetmgr.php|1.4.14|3966|mandatory|r@
-1.4.14|config.php|1.4.14|3966|optional|r@
-1.4.14|db_ecard.php|1.4.14|3966|mandatory|r@
-1.4.14|db_input.php|1.4.14|3966|mandatory|r@
-1.4.14|delete.php|1.4.14|3966|mandatory|r@
-1.4.14|displayecard.php|1.4.14|4013|mandatory|r@
-1.4.14|displayimage.php|1.4.14|3966|mandatory|r@
-1.4.14|displayreport.php|1.4.14|3966|mandatory|r@
-1.4.14|ecard.php|1.4.14|3966|mandatory|r@
-1.4.14|editOnePic.php|1.4.14|3966|mandatory|r@
-1.4.14|editpics.php|1.4.14|3966|mandatory|r@
-1.4.14|exifmgr.php|1.4.14|3966|mandatory|r@
-1.4.14|faq.php|1.4.14|3966|mandatory|r@
-1.4.14|forgot_passwd.php|1.4.14|3967|mandatory|r@
-1.4.14|getlang.php|1.4.14|3966|mandatory|r@
-1.4.14|groupmgr.php|1.4.14|3966|mandatory|r@
-1.4.14|image_processor.php|1.4.14|3966|mandatory|r@
-1.4.14|index.php|1.4.14|3966|mandatory|r@
-1.4.14|install.php|1.4.14|3966|mandatory|r@
-1.4.14|installer.css|1.4.14|3966|mandatory|r@
-1.4.14|keyword_create_dict.php|1.4.14|3966|mandatory|r@
-1.4.14|keyword_select.php|1.4.14|3966|mandatory|r@
-1.4.14|keywordmgr.php|1.4.14|3966|mandatory|r@
-1.4.14|login.php|1.4.14|3966|mandatory|r@
-1.4.14|logout.php|1.4.14|3966|mandatory|r@
-1.4.14|minibrowser.php|1.4.14|3966|mandatory|r@
-1.4.14|mode.php|1.4.14|3966|mandatory|r@
-1.4.14|modifyalb.php|1.4.14|3966|mandatory|r@
-1.4.14|phpinfo.php|1.4.14|3966|mandatory|r@
-1.4.14|picEditor.php|1.4.14|3966|mandatory|r@
-1.4.14|picmgr.php|1.4.14|3966|mandatory|r@
-1.4.14|pluginmgr.php|1.4.14|3966|mandatory|r@
-1.4.14|profile.php|1.4.14|3966|mandatory|r@
-1.4.14|ratepic.php|1.4.14|3966|mandatory|r@
-1.4.14|register.php|1.4.14|3966|mandatory|r@
-1.4.14|relocate_server.php|1.4.14|3966|optional|r@
-1.4.14|report_file.php|1.4.14|3966|mandatory|r@
-1.4.14|reviewcom.php|1.4.14|3966|mandatory|r@
-1.4.14|scripts.js|1.4.14|3966|mandatory|r@
-1.4.14|search.php|1.4.14|3966|mandatory|r@
-1.4.14|searchnew.php|1.4.14|3966|mandatory|r@
-1.4.14|showthumb.php|1.4.14|3966|mandatory|r@
-1.4.14|stat_details.php|1.4.14|3966|mandatory|r@
-1.4.14|thumbnails.php|1.4.14|3966|mandatory|r@
-1.4.14|update.php|1.4.14|3966|mandatory|r@
-1.4.14|upgrade-1.0-to-1.2.php|1.4.14|3966|mandatory|r@
-1.4.14|upload.php|1.4.14|3966|mandatory|r@
-1.4.14|usermgr.php|1.4.14|3966|mandatory|r@
-1.4.14|util.php|1.4.14|3966|mandatory|r@
-1.4.14|versioncheck.php|1.4.14|4029|mandatory|r@
-1.4.14|viewlog.php|1.4.14|3966|mandatory|r@
-1.4.14|xp_publish.php|1.4.14|3966|mandatory|r@
-1.4.14|zipdownload.php|1.4.14|3966|mandatory|r@
-1.4.14|**fullpath**|||mandatory|w@
-1.4.14|**fullpath**/index.php|||optional|w@
-1.4.14|**fullpath**/edit/index.html|||optional|w@
-1.4.14|**fullpath**/edit/no_FTP-uploads_into_this_folder!|||optional|w@
-1.4.14|**fullpath**/edit|||mandatory|w@
-1.4.14|**fullpath**/edit/index.html|||optional|w@
-1.4.14|**fullpath**/**userpics**|||mandatory|w@
-1.4.14|**fullpath**/**userpics**/index.php|||optional|w@
-1.4.14|**fullpath**/**userpics**/no_FTP-uploads_into_this_folder!|||optional|w@
-1.4.14|bridge|||mandatory|r@
-1.4.14|bridge/coppermine.inc.php|1.4.14|3966|mandatory|r@
-1.4.14|bridge/invisionboard20.inc.php|1.4.14|3966|optional|r@
-1.4.14|bridge/mambo.inc.php|1.4.14|3966|optional|r@
-1.4.14|bridge/mybb.inc.php|1.4.14|3966|optional|r@
-1.4.14|bridge/phorum.inc.php|1.4.14|3966|optional|r@
-1.4.14|bridge/phpbb.inc.php|1.4.14|3966|optional|r@
-1.4.14|bridge/phpbb2018.inc.php|1.4.14|3966|optional|r@
-1.4.14|bridge/phpbb22.inc.php|1.4.14|3966|optional|r@
-1.4.14|bridge/punbb115.inc.php|1.4.14|3966|optional|r@
-1.4.14|bridge/punbb12.inc.php|1.4.14|3966|optional|r@
-1.4.14|bridge/smf10.inc.php|1.4.14|3966|optional|r@
-1.4.14|bridge/udb_base.inc.php|1.4.14|3966|mandatory|r@
-1.4.14|bridge/vbulletin30.inc.php|1.4.14|3966|optional|r@
-1.4.14|bridge/xmb.inc.php|1.4.14|3966|optional|r@
-1.4.14|bridge/xoops.inc.php|1.4.14|3966|optional|r@
-1.4.14|docs|||mandatory|r@
-1.4.14|docs/faq.htm|||optional|r@
-1.4.14|docs/faq_de.htm|||optional|r@
-1.4.14|docs/faq_fr.htm|||optional|r@
-1.4.14|docs/index.htm|1.4.14|4028|mandatory|r@
-1.4.14|docs/index_fr.htm||3966|mandatory|r@
-1.4.14|docs/README.html||3966|optional|r@
-1.4.14|docs/showdoc.php|1.4.14|3966|mandatory|r@
-1.4.14|docs/style.css|1.4.14|3966|mandatory|r@
-1.4.14|docs/theme.htm|||optional|r@
-1.4.14|docs/translation.htm|||optional|r@
-1.4.14|docs/pics|||mandatory|r@
-1.4.14|docs/theme|||optional|r@
-1.4.14|docs/theme/edit_style.html|||optional|r@
-1.4.14|docs/theme/edit_template.html|||optional|r@
-1.4.14|docs/theme/edit_theme.html|1.4.14||optional|r@
-1.4.14|docs/theme/index.html|||optional|r@
-1.4.14|docs/theme/style.css|1.4.14|3966|optional|r@
-1.4.14|docs/theme/validation.html|||optional|r@
-1.4.14|include|||mandatory|w@
-1.4.14|include/archive.php|1.4.14|3966|mandatory|r@
-1.4.14|include/config.inc.php|||mandatory|r@
-1.4.14|include/config.inc.php.sample|||optional|r@
-1.4.14|include/crop.inc.php|1.4.14|3966|mandatory|r@
-1.4.14|include/debugger.inc.php|1.4.14|3966|mandatory|r@
-1.4.14|include/exif.php|1.4.14|3966|mandatory|r@
-1.4.14|include/exif_php.inc.php|1.4.14|3966|mandatory|r@
-1.4.14|include/functions.inc.php|1.4.14|3966|mandatory|r@
-1.4.14|include/imageObjectGD.class.php|1.4.14|3966|mandatory|r@
-1.4.14|include/imageObjectIM.class.php|1.4.14|3966|mandatory|r@
-1.4.14|include/index.html|1.4.14|3966|mandatory|r@
-1.4.14|include/init.inc.php|1.4.14|4028|mandatory|r@
-1.4.14|include/iptc.inc.php|1.4.14|3966|mandatory|r@
-1.4.14|include/keyword.inc.php|1.4.14|3966|mandatory|r@
-1.4.14|include/langfallback.inc.php|1.4.14|3966|mandatory|r@
-1.4.14|include/logger.inc.php|1.4.14|3966|mandatory|r@
-1.4.14|include/mailer.inc.php|1.4.14|3966|mandatory|r@
-1.4.14|include/mb.inc.php|1.4.14|3966|mandatory|r@
-1.4.14|include/media.functions.inc.php|1.4.14|3966|mandatory|r@
-1.4.14|include/phpmailer.lang-en.php|1.4.14|3966|mandatory|r@
-1.4.14|include/picmgmt.inc.php|1.4.14|3966|mandatory|r@
-1.4.14|include/plugin_api.inc.php|1.4.14|3966|mandatory|r@
-1.4.14|include/search.inc.php|1.4.14|3966|mandatory|r@
-1.4.14|include/select_lang.inc.php|1.4.14|3966|mandatory|r@
-1.4.14|include/slideshow.inc.php|1.4.14|3966|mandatory|r@
-1.4.14|include/smilies.inc.php|1.4.14|3966|mandatory|r@
-1.4.14|include/smtp.inc.php|1.4.14|3966|mandatory|r@
-1.4.14|include/sql_parse.php|1.4.14|3966|mandatory|r@
-1.4.14|include/themes.inc.php|1.4.14|3966|mandatory|r@
-1.4.14|include/update.inc.php|1.4.14|3966|mandatory|r@
-1.4.14|include/zip.lib.php|1.4.14|3966|mandatory|r@
-1.4.14|include/makers|||mandatory|w@
-1.4.14|include/makers/canon.php|1.4.14|3966|mandatory|r@
-1.4.14|include/makers/fujifilm.php|1.4.14|3966|mandatory|r@
-1.4.14|include/makers/gps.php|1.4.14|3966|mandatory|r@
-1.4.14|include/makers/nikon.php|1.4.14|3966|mandatory|r@
-1.4.14|include/makers/olympus.php|1.4.14|3966|mandatory|r@
-1.4.14|include/makers/sanyo.php|1.4.14|3966|mandatory|r@
-1.4.14|lang|||mandatory|r@
-1.4.14|lang/albanian.php|1.4.14|3125|optional|r@
-1.4.14|lang/arabic.php|1.4.14|3275|optional|r@
-1.4.14|lang/basque.php|1.4.14|3966|optional|r@
-1.4.14|lang/brazilian_portuguese.php|1.4.14|3116|optional|r@
-1.4.14|lang/bulgarian.php|1.4.14|3660|optional|r@
-1.4.14|lang/catalan.php|1.4.14|3918|optional|r@
-1.4.14|lang/chinese_big5.php|1.4.14|3966|optional|r@
-1.4.14|lang/chinese_gb.php|1.4.14|3966|optional|r@
-1.4.14|lang/czech.php|1.4.14|3966|optional|r@
-1.4.14|lang/danish.php|1.4.14|3275|optional|r@
-1.4.14|lang/dutch.php|1.4.14|3966|optional|r@
-1.4.14|lang/english.php|1.4.14|3966|mandatory|r@
-1.4.14|lang/english_gb.php|1.4.14|3966|optional|r@
-1.4.14|lang/finnish.php|1.4.14|3918|optional|r@
-1.4.14|lang/french.php|1.4.14|3966|optional|r@
-1.4.14|lang/galician.php|1.4.14|3966|optional|r@
-1.4.14|lang/georgian.php|1.4.14|3966|optional|r@
-1.4.14|lang/german.php|1.4.14|3966|optional|r@
-1.4.14|lang/german_sie.php|1.4.14|3966|optional|r@
-1.4.14|lang/greek.php|1.4.14|3966|optional|r@
-1.4.14|lang/hebrew.php|1.4.14|3966|optional|r@
-1.4.14|lang/hindi.php|1.4.14|3125|optional|r@
-1.4.14|lang/hungarian.php|1.4.14|3966|optional|r@
-1.4.14|lang/indonesian.php|1.4.14|3125|optional|r@
-1.4.14|lang/italian.php|1.4.14|3966|optional|r@
-1.4.14|lang/japanese.php|1.4.14|3966|optional|r@
-1.4.14|lang/korean.php|1.4.14|3966|optional|r@
-1.4.14|lang/lithuanian.php|1.4.14|3275|optional|r@
-1.4.14|lang/macedonian.php|1.4.14|3660|optional|r@
-1.4.14|lang/norwegian.php|1.4.14|3966|optional|r@
-1.4.14|lang/persian.php|1.4.14|3966|optional|r@
-1.4.14|lang/polish.php|1.4.14|3966|optional|r@
-1.4.14|lang/portuguese.php|1.4.14|3966|optional|r@
-1.4.14|lang/romanian.php|1.4.14|3654|optional|r@
-1.4.14|lang/russian.php|1.4.14|3966|optional|r@
-1.4.14|lang/slovak.php|1.4.14|3966|optional|r@
-1.4.14|lang/slovenian.php|1.4.14|3966|optional|r@
-1.4.14|lang/spanish.php|1.4.14|3966|optional|r@
-1.4.14|lang/swedish.php|1.4.14|3966|optional|r@
-1.4.14|lang/thai.php|1.4.14|3125|optional|r@
-1.4.14|lang/turkish.php|1.4.14|3966|optional|r@
-1.4.14|lang/ukrainian.php|1.4.14|3966|optional|r@
-1.4.14|lang/vietnamese.php|1.4.14|3275|optional|r@
-1.4.14|logs|||mandatory|w@
-1.4.14|logs/log_header.inc.php|1.4.14|3966|mandatory|r@
-1.4.14|plugins|||optional|r@
-1.4.14|plugins/sample|||optional|r@
-1.4.14|plugins/sample/codebase.php|1.4.14|3966|optional|r@
-1.4.14|plugins/sample/configuration.php|1.4.14|3966|optional|r@
-1.4.14|sql|||mandatory|r@
-1.4.14|sql/basic.sql|1.4.14|3966|mandatory|r@
-1.4.14|sql/schema.sql|1.4.14|3966|mandatory|r@
-1.4.14|sql/update.sql|1.4.14|3966|mandatory|r@
-1.4.14|themes|||mandatory|r@
-1.4.14|themes/classic|||optional|r@
-1.4.14|themes/classic/style.css|1.4.14|3966|optional|r@
-1.4.14|themes/classic/template.html||3966|optional|r@
-1.4.14|themes/classic/theme.php|1.4.14|3966|optional|r@
-1.4.14|themes/classic/images|||optional|r@
-1.4.14|themes/eyeball|||optional|r@
-1.4.14|themes/eyeball/style.css|1.4.14|3966|optional|r@
-1.4.14|themes/eyeball/template.html||3966|optional|r@
-1.4.14|themes/eyeball/theme.php|1.4.14|3966|optional|r@
-1.4.14|themes/eyeball/images|||optional|r@
-1.4.14|themes/fruity|||optional|r@
-1.4.14|themes/fruity/style.css|1.4.14|3966|optional|r@
-1.4.14|themes/fruity/template.html||3966|optional|r@
-1.4.14|themes/fruity/theme.php|1.4.14|3966|optional|r@
-1.4.14|themes/fruity/images|||optional|r@
-1.4.14|themes/hardwired|||optional|r@
-1.4.14|themes/hardwired/style.css|1.4.14|3966|optional|r@
-1.4.14|themes/hardwired/template.html||3966|optional|r@
-1.4.14|themes/hardwired/theme.php|1.4.14|3966|optional|r@
-1.4.14|themes/hardwired/images|||optional|r@
-1.4.14|themes/igames|||optional|r@
-1.4.14|themes/igames/style.css|1.4.14|3966|optional|r@
-1.4.14|themes/igames/template.html||3966|optional|r@
-1.4.14|themes/igames/theme.php|1.4.14|3966|optional|r@
-1.4.14|themes/igames/images|||optional|r@
-1.4.14|themes/mac_ox_x|||optional|r@
-1.4.14|themes/mac_ox_x/style.css|1.4.14|3966|optional|r@
-1.4.14|themes/mac_ox_x/template.html||3966|optional|r@
-1.4.14|themes/mac_ox_x/theme.php|1.4.14|3966|optional|r@
-1.4.14|themes/mac_ox_x/images|||optional|r@
-1.4.14|themes/project_vii|||optional|r@
-1.4.14|themes/project_vii/style.css|1.4.14|3966|optional|r@
-1.4.14|themes/project_vii/template.html||3966|optional|r@
-1.4.14|themes/project_vii/theme.php|1.4.14|3966|optional|r@
-1.4.14|themes/project_vii/images|||optional|r@
-1.4.14|themes/rainy_day|||optional|r@
-1.4.14|themes/rainy_day/style.css|1.4.14|3966|optional|r@
-1.4.14|themes/rainy_day/template.html||3966|optional|r@
-1.4.14|themes/rainy_day/theme.php|1.4.14|3966|optional|r@
-1.4.14|themes/rainy_day/images|||optional|r@
-1.4.14|themes/sample|||optional|r@
-1.4.14|themes/sample/style.css|1.4.14|3966|optional|r@
-1.4.14|themes/sample/template.html||3966|optional|r@
-1.4.14|themes/sample/theme.php|1.4.14|3966|optional|r@
-1.4.14|themes/sample/images|||optional|r@
-1.4.14|themes/water_drop|||optional|r@
-1.4.14|themes/water_drop/style.css|1.4.14|3966|optional|r@
-1.4.14|themes/water_drop/template.html||3966|optional|r@
-1.4.14|themes/water_drop/theme.php|1.4.14|3966|optional|r@
-1.4.14|themes/water_drop/images|||optional|r@
-1.4.15|addfav.php|1.4.15|4223|mandatory|r@
-1.4.15|addpic.php|1.4.15|4223|mandatory|r@
-1.4.15|admin.php|1.4.15|4223|mandatory|r@
-1.4.15|albmgr.php|1.4.15|4223|mandatory|r@
-1.4.15|anycontent.php|1.4.15|4223|mandatory|r@
-1.4.15|banning.php|1.4.15|4223|mandatory|r@
-1.4.15|bridgemgr.php|1.4.15|4223|mandatory|r@
-1.4.15|calendar.php|1.4.15|4223|mandatory|r@
-1.4.15|catmgr.php|1.4.15|4223|mandatory|r@
-1.4.15|charsetmgr.php|1.4.15|4223|mandatory|r@
-1.4.15|config.php|1.4.15|4223|optional|r@
-1.4.15|db_ecard.php|1.4.15|4223|mandatory|r@
-1.4.15|db_input.php|1.4.15|4223|mandatory|r@
-1.4.15|delete.php|1.4.15|4223|mandatory|r@
-1.4.15|displayecard.php|1.4.15|4223|mandatory|r@
-1.4.15|displayimage.php|1.4.15|4223|mandatory|r@
-1.4.15|displayreport.php|1.4.15|4223|mandatory|r@
-1.4.15|ecard.php|1.4.15|4223|mandatory|r@
-1.4.15|editOnePic.php|1.4.15|4223|mandatory|r@
-1.4.15|editpics.php|1.4.15|4223|mandatory|r@
-1.4.15|exifmgr.php|1.4.15|4223|mandatory|r@
-1.4.15|faq.php|1.4.15|4223|mandatory|r@
-1.4.15|forgot_passwd.php|1.4.15|4223|mandatory|r@
-1.4.15|getlang.php|1.4.15|4223|mandatory|r@
-1.4.15|groupmgr.php|1.4.15|4223|mandatory|r@
-1.4.15|image_processor.php|1.4.15|4223|mandatory|r@
-1.4.15|index.php|1.4.15|4223|mandatory|r@
-1.4.15|install.php|1.4.15|4223|mandatory|r@
-1.4.15|installer.css|1.4.15|4223|mandatory|r@
-1.4.15|keyword_create_dict.php|1.4.15|4223|mandatory|r@
-1.4.15|keyword_select.php|1.4.15|4223|mandatory|r@
-1.4.15|keywordmgr.php|1.4.15|4223|mandatory|r@
-1.4.15|login.php|1.4.15|4223|mandatory|r@
-1.4.15|logout.php|1.4.15|4223|mandatory|r@
-1.4.15|minibrowser.php|1.4.15|4223|mandatory|r@
-1.4.15|mode.php|1.4.15|4223|mandatory|r@
-1.4.15|modifyalb.php|1.4.15|4223|mandatory|r@
-1.4.15|phpinfo.php|1.4.15|4223|mandatory|r@
-1.4.15|picEditor.php|1.4.15|4223|mandatory|r@
-1.4.15|picmgr.php|1.4.15|4223|mandatory|r@
-1.4.15|pluginmgr.php|1.4.15|4223|mandatory|r@
-1.4.15|profile.php|1.4.15|4223|mandatory|r@
-1.4.15|ratepic.php|1.4.15|4223|mandatory|r@
-1.4.15|register.php|1.4.15|4223|mandatory|r@
-1.4.15|relocate_server.php|1.4.15|4223|optional|r@
-1.4.15|report_file.php|1.4.15|4223|mandatory|r@
-1.4.15|reviewcom.php|1.4.15|4223|mandatory|r@
-1.4.15|scripts.js|1.4.15|4223|mandatory|r@
-1.4.15|search.php|1.4.15|4223|mandatory|r@
-1.4.15|searchnew.php|1.4.15|4223|mandatory|r@
-1.4.15|showthumb.php|1.4.15|4223|mandatory|r@
-1.4.15|stat_details.php|1.4.15|4223|mandatory|r@
-1.4.15|thumbnails.php|1.4.15|4223|mandatory|r@
-1.4.15|update.php|1.4.15|4223|mandatory|r@
-1.4.15|upgrade-1.0-to-1.2.php|1.4.15|4223|mandatory|r@
-1.4.15|upload.php|1.4.15|4223|mandatory|r@
-1.4.15|usermgr.php|1.4.15|4223|mandatory|r@
-1.4.15|util.php|1.4.15|4223|mandatory|r@
-1.4.15|versioncheck.php|1.4.15|4229|mandatory|r@
-1.4.15|viewlog.php|1.4.15|4223|mandatory|r@
-1.4.15|xp_publish.php|1.4.15|4223|mandatory|r@
-1.4.15|zipdownload.php|1.4.15|4223|mandatory|r@
-1.4.15|**fullpath**|||mandatory|w@
-1.4.15|**fullpath**/index.php|||optional|w@
-1.4.15|**fullpath**/edit/index.html|||optional|w@
-1.4.15|**fullpath**/edit/no_FTP-uploads_into_this_folder!|||optional|w@
-1.4.15|**fullpath**/edit|||mandatory|w@
-1.4.15|**fullpath**/edit/index.html|||optional|w@
-1.4.15|**fullpath**/**userpics**|||mandatory|w@
-1.4.15|**fullpath**/**userpics**/index.php|||optional|w@
-1.4.15|**fullpath**/**userpics**/no_FTP-uploads_into_this_folder!|||optional|w@
-1.4.15|bridge|||mandatory|r@
-1.4.15|bridge/coppermine.inc.php|1.4.15|4223|mandatory|r@
-1.4.15|bridge/invisionboard20.inc.php|1.4.15|4223|optional|r@
-1.4.15|bridge/mambo.inc.php|1.4.15|4223|optional|r@
-1.4.15|bridge/mybb.inc.php|1.4.15|4223|optional|r@
-1.4.15|bridge/phorum.inc.php|1.4.15|4223|optional|r@
-1.4.15|bridge/phpbb.inc.php|1.4.15|4223|optional|r@
-1.4.15|bridge/phpbb2018.inc.php|1.4.15|4223|optional|r@
-1.4.15|bridge/phpbb22.inc.php|1.4.15|4223|optional|r@
-1.4.15|bridge/punbb115.inc.php|1.4.15|4223|optional|r@
-1.4.15|bridge/punbb12.inc.php|1.4.15|4223|optional|r@
-1.4.15|bridge/smf10.inc.php|1.4.15|4223|optional|r@
-1.4.15|bridge/smf20.inc.php|1.4.15|4223|optional|r@
-1.4.15|bridge/udb_base.inc.php|1.4.15|4223|mandatory|r@
-1.4.15|bridge/vbulletin30.inc.php|1.4.15|4223|optional|r@
-1.4.15|bridge/xmb.inc.php|1.4.15|4223|optional|r@
-1.4.15|bridge/xoops.inc.php|1.4.15|4223|optional|r@
-1.4.15|docs|||mandatory|r@
-1.4.15|docs/faq.htm|||optional|r@
-1.4.15|docs/faq_de.htm|||optional|r@
-1.4.15|docs/faq_fr.htm|||optional|r@
-1.4.15|docs/index.htm|1.4.15|4227|mandatory|r@
-1.4.15|docs/index_fr.htm||4223|mandatory|r@
-1.4.15|docs/README.html||4223|optional|r@
-1.4.15|docs/showdoc.php|1.4.15|4223|mandatory|r@
-1.4.15|docs/style.css|1.4.15|4223|mandatory|r@
-1.4.15|docs/theme.htm|||optional|r@
-1.4.15|docs/translation.htm|||optional|r@
-1.4.15|docs/pics|||mandatory|r@
-1.4.15|docs/theme|||optional|r@
-1.4.15|docs/theme/edit_style.html|||optional|r@
-1.4.15|docs/theme/edit_template.html|||optional|r@
-1.4.15|docs/theme/edit_theme.html|1.4.15||optional|r@
-1.4.15|docs/theme/index.html|||optional|r@
-1.4.15|docs/theme/style.css|1.4.15|4223|optional|r@
-1.4.15|docs/theme/validation.html|||optional|r@
-1.4.15|include|||mandatory|w@
-1.4.15|include/archive.php|1.4.15|4223|mandatory|r@
-1.4.15|include/config.inc.php|||mandatory|r@
-1.4.15|include/config.inc.php.sample|||optional|r@
-1.4.15|include/crop.inc.php|1.4.15|4223|mandatory|r@
-1.4.15|include/debugger.inc.php|1.4.15|4223|mandatory|r@
-1.4.15|include/exif.php|1.4.15|4223|mandatory|r@
-1.4.15|include/exif_php.inc.php|1.4.15|4223|mandatory|r@
-1.4.15|include/functions.inc.php|1.4.15|4223|mandatory|r@
-1.4.15|include/imageObjectGD.class.php|1.4.15|4223|mandatory|r@
-1.4.15|include/imageObjectIM.class.php|1.4.15|4223|mandatory|r@
-1.4.15|include/index.html|1.4.15|4223|mandatory|r@
-1.4.15|include/init.inc.php|1.4.15|4227|mandatory|r@
-1.4.15|include/iptc.inc.php|1.4.15|4223|mandatory|r@
-1.4.15|include/keyword.inc.php|1.4.15|4223|mandatory|r@
-1.4.15|include/langfallback.inc.php|1.4.15|4223|mandatory|r@
-1.4.15|include/logger.inc.php|1.4.15|4223|mandatory|r@
-1.4.15|include/mailer.inc.php|1.4.15|4223|mandatory|r@
-1.4.15|include/mb.inc.php|1.4.15|4223|mandatory|r@
-1.4.15|include/media.functions.inc.php|1.4.15|4223|mandatory|r@
-1.4.15|include/phpmailer.lang-en.php|1.4.15|4223|mandatory|r@
-1.4.15|include/picmgmt.inc.php|1.4.15|4223|mandatory|r@
-1.4.15|include/plugin_api.inc.php|1.4.15|4223|mandatory|r@
-1.4.15|include/search.inc.php|1.4.15|4223|mandatory|r@
-1.4.15|include/select_lang.inc.php|1.4.15|4223|mandatory|r@
-1.4.15|include/slideshow.inc.php|1.4.15|4223|mandatory|r@
-1.4.15|include/smilies.inc.php|1.4.15|4223|mandatory|r@
-1.4.15|include/smtp.inc.php|1.4.15|4223|mandatory|r@
-1.4.15|include/sql_parse.php|1.4.15|4223|mandatory|r@
-1.4.15|include/themes.inc.php|1.4.15|4223|mandatory|r@
-1.4.15|include/update.inc.php|1.4.15|4223|mandatory|r@
-1.4.15|include/zip.lib.php|1.4.15|4223|mandatory|r@
-1.4.15|include/makers|||mandatory|w@
-1.4.15|include/makers/canon.php|1.4.15|4223|mandatory|r@
-1.4.15|include/makers/fujifilm.php|1.4.15|4223|mandatory|r@
-1.4.15|include/makers/gps.php|1.4.15|4223|mandatory|r@
-1.4.15|include/makers/nikon.php|1.4.15|4223|mandatory|r@
-1.4.15|include/makers/olympus.php|1.4.15|4223|mandatory|r@
-1.4.15|include/makers/sanyo.php|1.4.15|4223|mandatory|r@
-1.4.15|lang|||mandatory|r@
-1.4.15|lang/albanian.php|1.4.15|4223|optional|r@
-1.4.15|lang/arabic.php|1.4.15|4223|optional|r@
-1.4.15|lang/basque.php|1.4.15|4223|optional|r@
-1.4.15|lang/brazilian_portuguese.php|1.4.15|4223|optional|r@
-1.4.15|lang/bulgarian.php|1.4.15|4223|optional|r@
-1.4.15|lang/catalan.php|1.4.15|4223|optional|r@
-1.4.15|lang/chinese_big5.php|1.4.15|4223|optional|r@
-1.4.15|lang/chinese_gb.php|1.4.15|4223|optional|r@
-1.4.15|lang/czech.php|1.4.15|4223|optional|r@
-1.4.15|lang/danish.php|1.4.15|4222|optional|r@
-1.4.15|lang/dutch.php|1.4.15|4223|optional|r@
-1.4.15|lang/english.php|1.4.15|4223|mandatory|r@
-1.4.15|lang/english_gb.php|1.4.15|4223|optional|r@
-1.4.15|lang/estonian.php|1.4.15|4223|optional|r@
-1.4.15|lang/finnish.php|1.4.15|4223|optional|r@
-1.4.15|lang/french.php|1.4.15|4223|optional|r@
-1.4.15|lang/galician.php|1.4.15|4223|optional|r@
-1.4.15|lang/georgian.php|1.4.15|4223|optional|r@
-1.4.15|lang/german.php|1.4.15|4223|optional|r@
-1.4.15|lang/german_sie.php|1.4.15|4223|optional|r@
-1.4.15|lang/greek.php|1.4.15|4223|optional|r@
-1.4.15|lang/hebrew.php|1.4.15|4223|optional|r@
-1.4.15|lang/hindi.php|1.4.15|4223|optional|r@
-1.4.15|lang/hungarian.php|1.4.15|4223|optional|r@
-1.4.15|lang/indonesian.php|1.4.15|4223|optional|r@
-1.4.15|lang/italian.php|1.4.15|4223|optional|r@
-1.4.15|lang/japanese.php|1.4.15|4223|optional|r@
-1.4.15|lang/korean.php|1.4.15|4223|optional|r@
-1.4.15|lang/lithuanian.php|1.4.15|4223|optional|r@
-1.4.15|lang/macedonian.php|1.4.15|4223|optional|r@
-1.4.15|lang/norwegian.php|1.4.15|4223|optional|r@
-1.4.15|lang/persian.php|1.4.15|4223|optional|r@
-1.4.15|lang/polish.php|1.4.15|4223|optional|r@
-1.4.15|lang/portuguese.php|1.4.15|4223|optional|r@
-1.4.15|lang/romanian.php|1.4.15|4223|optional|r@
-1.4.15|lang/russian.php|1.4.15|4223|optional|r@
-1.4.15|lang/serbian.php|1.4.15|4223|optional|r@
-1.4.15|lang/serbian_cy.php|1.4.15|3966|optional|r@
-1.4.15|lang/slovak.php|1.4.15|4223|optional|r@
-1.4.15|lang/slovenian.php|1.4.15|4223|optional|r@
-1.4.15|lang/spanish.php|1.4.15|4223|optional|r@
-1.4.15|lang/swedish.php|1.4.15|4223|optional|r@
-1.4.15|lang/thai.php|1.4.15|4223|optional|r@
-1.4.15|lang/turkish.php|1.4.15|4223|optional|r@
-1.4.15|lang/ukrainian.php|1.4.15|4223|optional|r@
-1.4.15|lang/vietnamese.php|1.4.15|4223|optional|r@
-1.4.15|logs|||mandatory|w@
-1.4.15|logs/log_header.inc.php|1.4.15|4223|mandatory|r@
-1.4.15|plugins|||optional|r@
-1.4.15|plugins/sample|||optional|r@
-1.4.15|plugins/sample/codebase.php|1.4.15|4223|optional|r@
-1.4.15|plugins/sample/configuration.php|1.4.15|4223|optional|r@
-1.4.15|sql|||mandatory|r@
-1.4.15|sql/basic.sql|1.4.15|4223|mandatory|r@
-1.4.15|sql/schema.sql|1.4.15|4223|mandatory|r@
-1.4.15|sql/update.sql|1.4.15|4223|mandatory|r@
-1.4.15|themes|||mandatory|r@
-1.4.15|themes/classic|||optional|r@
-1.4.15|themes/classic/style.css|1.4.15|4223|optional|r@
-1.4.15|themes/classic/template.html||4223|optional|r@
-1.4.15|themes/classic/theme.php|1.4.15|4223|optional|r@
-1.4.15|themes/classic/images|||optional|r@
-1.4.15|themes/eyeball|||optional|r@
-1.4.15|themes/eyeball/style.css|1.4.15|4223|optional|r@
-1.4.15|themes/eyeball/template.html||4223|optional|r@
-1.4.15|themes/eyeball/theme.php|1.4.15|4223|optional|r@
-1.4.15|themes/eyeball/images|||optional|r@
-1.4.15|themes/fruity|||optional|r@
-1.4.15|themes/fruity/style.css|1.4.15|4223|optional|r@
-1.4.15|themes/fruity/template.html||4223|optional|r@
-1.4.15|themes/fruity/theme.php|1.4.15|4223|optional|r@
-1.4.15|themes/fruity/images|||optional|r@
-1.4.15|themes/hardwired|||optional|r@
-1.4.15|themes/hardwired/style.css|1.4.15|4223|optional|r@
-1.4.15|themes/hardwired/template.html||4223|optional|r@
-1.4.15|themes/hardwired/theme.php|1.4.15|4223|optional|r@
-1.4.15|themes/hardwired/images|||optional|r@
-1.4.15|themes/igames|||optional|r@
-1.4.15|themes/igames/style.css|1.4.15|4223|optional|r@
-1.4.15|themes/igames/template.html||4223|optional|r@
-1.4.15|themes/igames/theme.php|1.4.15|4223|optional|r@
-1.4.15|themes/igames/images|||optional|r@
-1.4.15|themes/mac_ox_x|||optional|r@
-1.4.15|themes/mac_ox_x/style.css|1.4.15|4223|optional|r@
-1.4.15|themes/mac_ox_x/template.html||4223|optional|r@
-1.4.15|themes/mac_ox_x/theme.php|1.4.15|4223|optional|r@
-1.4.15|themes/mac_ox_x/images|||optional|r@
-1.4.15|themes/project_vii|||optional|r@
-1.4.15|themes/project_vii/style.css|1.4.15|4223|optional|r@
-1.4.15|themes/project_vii/template.html||4223|optional|r@
-1.4.15|themes/project_vii/theme.php|1.4.15|4223|optional|r@
-1.4.15|themes/project_vii/images|||optional|r@
-1.4.15|themes/rainy_day|||optional|r@
-1.4.15|themes/rainy_day/style.css|1.4.15|4223|optional|r@
-1.4.15|themes/rainy_day/template.html||4223|optional|r@
-1.4.15|themes/rainy_day/theme.php|1.4.15|4223|optional|r@
-1.4.15|themes/rainy_day/images|||optional|r@
-1.4.15|themes/sample|||optional|r@
-1.4.15|themes/sample/style.css|1.4.15|4223|optional|r@
-1.4.15|themes/sample/template.html||4223|optional|r@
-1.4.15|themes/sample/theme.php|1.4.15|4223|optional|r@
-1.4.15|themes/sample/images|||optional|r@
-1.4.15|themes/water_drop|||optional|r@
-1.4.15|themes/water_drop/style.css|1.4.15|4223|optional|r@
-1.4.15|themes/water_drop/template.html||4223|optional|r@
-1.4.15|themes/water_drop/theme.php|1.4.15|4223|optional|r@
-1.4.15|themes/water_drop/images|||optional|r@
-1.4.16|addfav.php|1.4.16|4233|mandatory|r@
-1.4.16|addpic.php|1.4.16|4233|mandatory|r@
-1.4.16|admin.php|1.4.16|4233|mandatory|r@
-1.4.16|albmgr.php|1.4.16|4233|mandatory|r@
-1.4.16|anycontent.php|1.4.16|4233|mandatory|r@
-1.4.16|banning.php|1.4.16|4233|mandatory|r@
-1.4.16|bridgemgr.php|1.4.16|4233|mandatory|r@
-1.4.16|calendar.php|1.4.16|4233|mandatory|r@
-1.4.16|catmgr.php|1.4.16|4233|mandatory|r@
-1.4.16|charsetmgr.php|1.4.16|4233|mandatory|r@
-1.4.16|config.php|1.4.16|4233|optional|r@
-1.4.16|db_ecard.php|1.4.16|4233|mandatory|r@
-1.4.16|db_input.php|1.4.16|4233|mandatory|r@
-1.4.16|delete.php|1.4.16|4233|mandatory|r@
-1.4.16|displayecard.php|1.4.16|4233|mandatory|r@
-1.4.16|displayimage.php|1.4.16|4233|mandatory|r@
-1.4.16|displayreport.php|1.4.16|4233|mandatory|r@
-1.4.16|ecard.php|1.4.16|4233|mandatory|r@
-1.4.16|editOnePic.php|1.4.16|4233|mandatory|r@
-1.4.16|editpics.php|1.4.16|4233|mandatory|r@
-1.4.16|exifmgr.php|1.4.16|4233|mandatory|r@
-1.4.16|faq.php|1.4.16|4233|mandatory|r@
-1.4.16|forgot_passwd.php|1.4.16|4233|mandatory|r@
-1.4.16|getlang.php|1.4.16|4233|mandatory|r@
-1.4.16|groupmgr.php|1.4.16|4233|mandatory|r@
-1.4.16|image_processor.php|1.4.16|4233|mandatory|r@
-1.4.16|index.php|1.4.16|4233|mandatory|r@
-1.4.16|install.php|1.4.16|4233|mandatory|r@
-1.4.16|installer.css|1.4.16|4233|mandatory|r@
-1.4.16|keyword_create_dict.php|1.4.16|4233|mandatory|r@
-1.4.16|keyword_select.php|1.4.16|4233|mandatory|r@
-1.4.16|keywordmgr.php|1.4.16|4233|mandatory|r@
-1.4.16|login.php|1.4.16|4233|mandatory|r@
-1.4.16|logout.php|1.4.16|4233|mandatory|r@
-1.4.16|minibrowser.php|1.4.16|4233|mandatory|r@
-1.4.16|mode.php|1.4.16|4233|mandatory|r@
-1.4.16|modifyalb.php|1.4.16|4233|mandatory|r@
-1.4.16|phpinfo.php|1.4.16|4233|mandatory|r@
-1.4.16|picEditor.php|1.4.16|4233|mandatory|r@
-1.4.16|picmgr.php|1.4.16|4233|mandatory|r@
-1.4.16|pluginmgr.php|1.4.16|4233|mandatory|r@
-1.4.16|profile.php|1.4.16|4233|mandatory|r@
-1.4.16|ratepic.php|1.4.16|4233|mandatory|r@
-1.4.16|register.php|1.4.16|4233|mandatory|r@
-1.4.16|relocate_server.php|1.4.16|4233|optional|r@
-1.4.16|report_file.php|1.4.16|4233|mandatory|r@
-1.4.16|reviewcom.php|1.4.16|4233|mandatory|r@
-1.4.16|scripts.js|1.4.16|4233|mandatory|r@
-1.4.16|search.php|1.4.16|4233|mandatory|r@
-1.4.16|searchnew.php|1.4.16|4233|mandatory|r@
-1.4.16|showthumb.php|1.4.16|4233|mandatory|r@
-1.4.16|stat_details.php|1.4.16|4233|mandatory|r@
-1.4.16|thumbnails.php|1.4.16|4233|mandatory|r@
-1.4.16|update.php|1.4.16|4233|mandatory|r@
-1.4.16|upgrade-1.0-to-1.2.php|1.4.16|4233|mandatory|r@
-1.4.16|upload.php|1.4.16|4233|mandatory|r@
-1.4.16|usermgr.php|1.4.16|4233|mandatory|r@
-1.4.16|util.php|1.4.16|4233|mandatory|r@
-1.4.16|versioncheck.php|1.4.16|4236|mandatory|r@
-1.4.16|viewlog.php|1.4.16|4233|mandatory|r@
-1.4.16|xp_publish.php|1.4.16|4233|mandatory|r@
-1.4.16|zipdownload.php|1.4.16|4233|mandatory|r@
-1.4.16|**fullpath**|||mandatory|w@
-1.4.16|**fullpath**/index.php|||optional|w@
-1.4.16|**fullpath**/edit/index.html|||optional|w@
-1.4.16|**fullpath**/edit/no_FTP-uploads_into_this_folder!|||optional|w@
-1.4.16|**fullpath**/edit|||mandatory|w@
-1.4.16|**fullpath**/edit/index.html|||optional|w@
-1.4.16|**fullpath**/**userpics**|||mandatory|w@
-1.4.16|**fullpath**/**userpics**/index.php|||optional|w@
-1.4.16|**fullpath**/**userpics**/no_FTP-uploads_into_this_folder!|||optional|w@
-1.4.16|bridge|||mandatory|r@
-1.4.16|bridge/coppermine.inc.php|1.4.16|4233|mandatory|r@
-1.4.16|bridge/invisionboard20.inc.php|1.4.16|4233|optional|r@
-1.4.16|bridge/mambo.inc.php|1.4.16|4233|optional|r@
-1.4.16|bridge/mybb.inc.php|1.4.16|4233|optional|r@
-1.4.16|bridge/phorum.inc.php|1.4.16|4233|optional|r@
-1.4.16|bridge/phpbb.inc.php|1.4.16|4233|optional|r@
-1.4.16|bridge/phpbb2018.inc.php|1.4.16|4233|optional|r@
-1.4.16|bridge/phpbb22.inc.php|1.4.16|4233|optional|r@
-1.4.16|bridge/punbb115.inc.php|1.4.16|4233|optional|r@
-1.4.16|bridge/punbb12.inc.php|1.4.16|4233|optional|r@
-1.4.16|bridge/smf10.inc.php|1.4.16|4233|optional|r@
-1.4.16|bridge/smf20.inc.php|1.4.16|4233|optional|r@
-1.4.16|bridge/udb_base.inc.php|1.4.16|4233|mandatory|r@
-1.4.16|bridge/vbulletin30.inc.php|1.4.16|4233|optional|r@
-1.4.16|bridge/xmb.inc.php|1.4.16|4233|optional|r@
-1.4.16|bridge/xoops.inc.php|1.4.16|4233|optional|r@
-1.4.16|docs|||mandatory|r@
-1.4.16|docs/faq.htm|||optional|r@
-1.4.16|docs/faq_de.htm|||optional|r@
-1.4.16|docs/faq_fr.htm|||optional|r@
-1.4.16|docs/index.htm|1.4.16|4234|mandatory|r@
-1.4.16|docs/index_fr.htm||4233|mandatory|r@
-1.4.16|docs/README.html||4233|optional|r@
-1.4.16|docs/showdoc.php|1.4.16|4233|mandatory|r@
-1.4.16|docs/style.css|1.4.16|4233|mandatory|r@
-1.4.16|docs/theme.htm|||optional|r@
-1.4.16|docs/translation.htm|||optional|r@
-1.4.16|docs/pics|||mandatory|r@
-1.4.16|docs/theme|||optional|r@
-1.4.16|docs/theme/edit_style.html|||optional|r@
-1.4.16|docs/theme/edit_template.html|||optional|r@
-1.4.16|docs/theme/edit_theme.html|1.4.16||optional|r@
-1.4.16|docs/theme/index.html|||optional|r@
-1.4.16|docs/theme/style.css|1.4.16|4233|optional|r@
-1.4.16|docs/theme/validation.html|||optional|r@
-1.4.16|include|||mandatory|w@
-1.4.16|include/archive.php|1.4.16|4233|mandatory|r@
-1.4.16|include/config.inc.php|||mandatory|r@
-1.4.16|include/config.inc.php.sample|||optional|r@
-1.4.16|include/crop.inc.php|1.4.16|4233|mandatory|r@
-1.4.16|include/debugger.inc.php|1.4.16|4233|mandatory|r@
-1.4.16|include/exif.php|1.4.16|4233|mandatory|r@
-1.4.16|include/exif_php.inc.php|1.4.16|4233|mandatory|r@
-1.4.16|include/functions.inc.php|1.4.16|4233|mandatory|r@
-1.4.16|include/imageObjectGD.class.php|1.4.16|4233|mandatory|r@
-1.4.16|include/imageObjectIM.class.php|1.4.16|4233|mandatory|r@
-1.4.16|include/index.html|1.4.16|4233|mandatory|r@
-1.4.16|include/init.inc.php|1.4.16|4235|mandatory|r@
-1.4.16|include/iptc.inc.php|1.4.16|4233|mandatory|r@
-1.4.16|include/keyword.inc.php|1.4.16|4233|mandatory|r@
-1.4.16|include/langfallback.inc.php|1.4.16|4233|mandatory|r@
-1.4.16|include/logger.inc.php|1.4.16|4233|mandatory|r@
-1.4.16|include/mailer.inc.php|1.4.16|4233|mandatory|r@
-1.4.16|include/mb.inc.php|1.4.16|4233|mandatory|r@
-1.4.16|include/media.functions.inc.php|1.4.16|4233|mandatory|r@
-1.4.16|include/phpmailer.lang-en.php|1.4.16|4233|mandatory|r@
-1.4.16|include/picmgmt.inc.php|1.4.16|4233|mandatory|r@
-1.4.16|include/plugin_api.inc.php|1.4.16|4233|mandatory|r@
-1.4.16|include/search.inc.php|1.4.16|4233|mandatory|r@
-1.4.16|include/select_lang.inc.php|1.4.16|4233|mandatory|r@
-1.4.16|include/slideshow.inc.php|1.4.16|4233|mandatory|r@
-1.4.16|include/smilies.inc.php|1.4.16|4233|mandatory|r@
-1.4.16|include/smtp.inc.php|1.4.16|4233|mandatory|r@
-1.4.16|include/sql_parse.php|1.4.16|4233|mandatory|r@
-1.4.16|include/themes.inc.php|1.4.16|4233|mandatory|r@
-1.4.16|include/update.inc.php|1.4.16|4233|mandatory|r@
-1.4.16|include/zip.lib.php|1.4.16|4233|mandatory|r@
-1.4.16|include/makers|||mandatory|w@
-1.4.16|include/makers/canon.php|1.4.16|4233|mandatory|r@
-1.4.16|include/makers/fujifilm.php|1.4.16|4233|mandatory|r@
-1.4.16|include/makers/gps.php|1.4.16|4233|mandatory|r@
-1.4.16|include/makers/nikon.php|1.4.16|4233|mandatory|r@
-1.4.16|include/makers/olympus.php|1.4.16|4233|mandatory|r@
-1.4.16|include/makers/sanyo.php|1.4.16|4233|mandatory|r@
-1.4.16|lang|||mandatory|r@
-1.4.16|lang/albanian.php|1.4.16|4233|optional|r@
-1.4.16|lang/arabic.php|1.4.16|4233|optional|r@
-1.4.16|lang/basque.php|1.4.16|4233|optional|r@
-1.4.16|lang/brazilian_portuguese.php|1.4.16|4233|optional|r@
-1.4.16|lang/bulgarian.php|1.4.16|4233|optional|r@
-1.4.16|lang/catalan.php|1.4.16|4233|optional|r@
-1.4.16|lang/chinese_big5.php|1.4.16|4233|optional|r@
-1.4.16|lang/chinese_gb.php|1.4.16|4233|optional|r@
-1.4.16|lang/czech.php|1.4.16|4233|optional|r@
-1.4.16|lang/danish.php|1.4.16|4233|optional|r@
-1.4.16|lang/dutch.php|1.4.16|4233|optional|r@
-1.4.16|lang/english.php|1.4.16|4233|mandatory|r@
-1.4.16|lang/english_gb.php|1.4.16|4233|optional|r@
-1.4.16|lang/estonian.php|1.4.16|4233|optional|r@
-1.4.16|lang/finnish.php|1.4.16|4233|optional|r@
-1.4.16|lang/french.php|1.4.16|4233|optional|r@
-1.4.16|lang/galician.php|1.4.16|4233|optional|r@
-1.4.16|lang/georgian.php|1.4.16|4233|optional|r@
-1.4.16|lang/german.php|1.4.16|4233|optional|r@
-1.4.16|lang/german_sie.php|1.4.16|4233|optional|r@
-1.4.16|lang/greek.php|1.4.16|4233|optional|r@
-1.4.16|lang/hebrew.php|1.4.16|4233|optional|r@
-1.4.16|lang/hindi.php|1.4.16|4233|optional|r@
-1.4.16|lang/hungarian.php|1.4.16|4233|optional|r@
-1.4.16|lang/indonesian.php|1.4.16|4233|optional|r@
-1.4.16|lang/italian.php|1.4.16|4233|optional|r@
-1.4.16|lang/japanese.php|1.4.16|4233|optional|r@
-1.4.16|lang/korean.php|1.4.16|4233|optional|r@
-1.4.16|lang/lithuanian.php|1.4.16|4233|optional|r@
-1.4.16|lang/macedonian.php|1.4.16|4233|optional|r@
-1.4.16|lang/norwegian.php|1.4.16|4233|optional|r@
-1.4.16|lang/persian.php|1.4.16|4233|optional|r@
-1.4.16|lang/polish.php|1.4.16|4233|optional|r@
-1.4.16|lang/portuguese.php|1.4.16|4233|optional|r@
-1.4.16|lang/romanian.php|1.4.16|4233|optional|r@
-1.4.16|lang/russian.php|1.4.16|4233|optional|r@
-1.4.16|lang/serbian.php|1.4.16|4233|optional|r@
-1.4.16|lang/serbian_cy.php|1.4.16|3966|optional|r@
-1.4.16|lang/slovak.php|1.4.16|4233|optional|r@
-1.4.16|lang/slovenian.php|1.4.16|4233|optional|r@
-1.4.16|lang/spanish.php|1.4.16|4233|optional|r@
-1.4.16|lang/swedish.php|1.4.16|4233|optional|r@
-1.4.16|lang/thai.php|1.4.16|4233|optional|r@
-1.4.16|lang/turkish.php|1.4.16|4233|optional|r@
-1.4.16|lang/ukrainian.php|1.4.16|4233|optional|r@
-1.4.16|lang/vietnamese.php|1.4.16|4233|optional|r@
-1.4.16|logs|||mandatory|w@
-1.4.16|logs/log_header.inc.php|1.4.16|4233|mandatory|r@
-1.4.16|plugins|||optional|r@
-1.4.16|plugins/sample|||optional|r@
-1.4.16|plugins/sample/codebase.php|1.4.16|4233|optional|r@
-1.4.16|plugins/sample/configuration.php|1.4.16|4233|optional|r@
-1.4.16|sql|||mandatory|r@
-1.4.16|sql/basic.sql|1.4.16|4233|mandatory|r@
-1.4.16|sql/schema.sql|1.4.16|4233|mandatory|r@
-1.4.16|sql/update.sql|1.4.16|4233|mandatory|r@
-1.4.16|themes|||mandatory|r@
-1.4.16|themes/classic|||optional|r@
-1.4.16|themes/classic/style.css|1.4.16|4233|optional|r@
-1.4.16|themes/classic/template.html||4233|optional|r@
-1.4.16|themes/classic/theme.php|1.4.16|4233|optional|r@
-1.4.16|themes/classic/images|||optional|r@
-1.4.16|themes/eyeball|||optional|r@
-1.4.16|themes/eyeball/style.css|1.4.16|4233|optional|r@
-1.4.16|themes/eyeball/template.html||4233|optional|r@
-1.4.16|themes/eyeball/theme.php|1.4.16|4233|optional|r@
-1.4.16|themes/eyeball/images|||optional|r@
-1.4.16|themes/fruity|||optional|r@
-1.4.16|themes/fruity/style.css|1.4.16|4233|optional|r@
-1.4.16|themes/fruity/template.html||4233|optional|r@
-1.4.16|themes/fruity/theme.php|1.4.16|4233|optional|r@
-1.4.16|themes/fruity/images|||optional|r@
-1.4.16|themes/hardwired|||optional|r@
-1.4.16|themes/hardwired/style.css|1.4.16|4233|optional|r@
-1.4.16|themes/hardwired/template.html||4233|optional|r@
-1.4.16|themes/hardwired/theme.php|1.4.16|4233|optional|r@
-1.4.16|themes/hardwired/images|||optional|r@
-1.4.16|themes/igames|||optional|r@
-1.4.16|themes/igames/style.css|1.4.16|4233|optional|r@
-1.4.16|themes/igames/template.html||4233|optional|r@
-1.4.16|themes/igames/theme.php|1.4.16|4233|optional|r@
-1.4.16|themes/igames/images|||optional|r@
-1.4.16|themes/mac_ox_x|||optional|r@
-1.4.16|themes/mac_ox_x/style.css|1.4.16|4233|optional|r@
-1.4.16|themes/mac_ox_x/template.html||4233|optional|r@
-1.4.16|themes/mac_ox_x/theme.php|1.4.16|4233|optional|r@
-1.4.16|themes/mac_ox_x/images|||optional|r@
-1.4.16|themes/project_vii|||optional|r@
-1.4.16|themes/project_vii/style.css|1.4.16|4233|optional|r@
-1.4.16|themes/project_vii/template.html||4233|optional|r@
-1.4.16|themes/project_vii/theme.php|1.4.16|4233|optional|r@
-1.4.16|themes/project_vii/images|||optional|r@
-1.4.16|themes/rainy_day|||optional|r@
-1.4.16|themes/rainy_day/style.css|1.4.16|4233|optional|r@
-1.4.16|themes/rainy_day/template.html||4233|optional|r@
-1.4.16|themes/rainy_day/theme.php|1.4.16|4233|optional|r@
-1.4.16|themes/rainy_day/images|||optional|r@
-1.4.16|themes/sample|||optional|r@
-1.4.16|themes/sample/style.css|1.4.16|4233|optional|r@
-1.4.16|themes/sample/template.html||4233|optional|r@
-1.4.16|themes/sample/theme.php|1.4.16|4233|optional|r@
-1.4.16|themes/sample/images|||optional|r@
-1.4.16|themes/water_drop|||optional|r@
-1.4.16|themes/water_drop/style.css|1.4.16|4233|optional|r@
-1.4.16|themes/water_drop/template.html||4233|optional|r@
-1.4.16|themes/water_drop/theme.php|1.4.16|4233|optional|r@
-1.4.16|themes/water_drop/images|||optional|r@
-1.4.17|addfav.php|1.4.17|4311|mandatory|r@
-1.4.17|addpic.php|1.4.17|4311|mandatory|r@
-1.4.17|admin.php|1.4.17|4311|mandatory|r@
-1.4.17|albmgr.php|1.4.17|4311|mandatory|r@
-1.4.17|anycontent.php|1.4.17|4311|mandatory|r@
-1.4.17|banning.php|1.4.17|4311|mandatory|r@
-1.4.17|bridgemgr.php|1.4.17|4311|mandatory|r@
-1.4.17|calendar.php|1.4.17|4311|mandatory|r@
-1.4.17|catmgr.php|1.4.17|4311|mandatory|r@
-1.4.17|charsetmgr.php|1.4.17|4311|mandatory|r@
-1.4.17|config.php|1.4.17|4311|optional|r@
-1.4.17|db_ecard.php|1.4.17|4311|mandatory|r@
-1.4.17|db_input.php|1.4.17|4311|mandatory|r@
-1.4.17|delete.php|1.4.17|4311|mandatory|r@
-1.4.17|displayecard.php|1.4.17|4311|mandatory|r@
-1.4.17|displayimage.php|1.4.17|4311|mandatory|r@
-1.4.17|displayreport.php|1.4.17|4311|mandatory|r@
-1.4.17|ecard.php|1.4.17|4311|mandatory|r@
-1.4.17|editOnePic.php|1.4.17|4311|mandatory|r@
-1.4.17|editpics.php|1.4.17|4311|mandatory|r@
-1.4.17|exifmgr.php|1.4.17|4311|mandatory|r@
-1.4.17|faq.php|1.4.17|4311|mandatory|r@
-1.4.17|forgot_passwd.php|1.4.17|4311|mandatory|r@
-1.4.17|getlang.php|1.4.17|4311|mandatory|r@
-1.4.17|groupmgr.php|1.4.17|4311|mandatory|r@
-1.4.17|image_processor.php|1.4.17|4311|mandatory|r@
-1.4.17|index.php|1.4.17|4311|mandatory|r@
-1.4.17|install.php|1.4.17|4311|mandatory|r@
-1.4.17|installer.css|1.4.17|4311|mandatory|r@
-1.4.17|keyword_create_dict.php|1.4.17|4311|mandatory|r@
-1.4.17|keyword_select.php|1.4.17|4311|mandatory|r@
-1.4.17|keywordmgr.php|1.4.17|4311|mandatory|r@
-1.4.17|login.php|1.4.17|4311|mandatory|r@
-1.4.17|logout.php|1.4.17|4311|mandatory|r@
-1.4.17|minibrowser.php|1.4.17|4311|mandatory|r@
-1.4.17|mode.php|1.4.17|4311|mandatory|r@
-1.4.17|modifyalb.php|1.4.17|4311|mandatory|r@
-1.4.17|phpinfo.php|1.4.17|4311|mandatory|r@
-1.4.17|picEditor.php|1.4.17|4311|mandatory|r@
-1.4.17|picmgr.php|1.4.17|4311|mandatory|r@
-1.4.17|pluginmgr.php|1.4.17|4311|mandatory|r@
-1.4.17|profile.php|1.4.17|4311|mandatory|r@
-1.4.17|ratepic.php|1.4.17|4311|mandatory|r@
-1.4.17|register.php|1.4.17|4311|mandatory|r@
-1.4.17|relocate_server.php|1.4.17|4311|optional|r@
-1.4.17|report_file.php|1.4.17|4311|mandatory|r@
-1.4.17|reviewcom.php|1.4.17|4311|mandatory|r@
-1.4.17|scripts.js|1.4.17|4311|mandatory|r@
-1.4.17|search.php|1.4.17|4311|mandatory|r@
-1.4.17|searchnew.php|1.4.17|4311|mandatory|r@
-1.4.17|showthumb.php|1.4.17|4311|mandatory|r@
-1.4.17|stat_details.php|1.4.17|4311|mandatory|r@
-1.4.17|thumbnails.php|1.4.17|4311|mandatory|r@
-1.4.17|update.php|1.4.17|4311|mandatory|r@
-1.4.17|upgrade-1.0-to-1.2.php|1.4.17|4311|mandatory|r@
-1.4.17|upload.php|1.4.17|4372|mandatory|r@
-1.4.17|usermgr.php|1.4.17|4311|mandatory|r@
-1.4.17|util.php|1.4.17|4311|mandatory|r@
-1.4.17|versioncheck.php|1.4.17|4377|mandatory|r@
-1.4.17|viewlog.php|1.4.17|4311|mandatory|r@
-1.4.17|xp_publish.php|1.4.17|4311|mandatory|r@
-1.4.17|zipdownload.php|1.4.17|4311|mandatory|r@
-1.4.17|**fullpath**|||mandatory|w@
-1.4.17|**fullpath**/index.php|||optional|w@
-1.4.17|**fullpath**/edit/index.html|||optional|w@
-1.4.17|**fullpath**/edit/no_FTP-uploads_into_this_folder!|||optional|w@
-1.4.17|**fullpath**/edit|||mandatory|w@
-1.4.17|**fullpath**/edit/index.html|||optional|w@
-1.4.17|**fullpath**/**userpics**|||mandatory|w@
-1.4.17|**fullpath**/**userpics**/index.php|||optional|w@
-1.4.17|**fullpath**/**userpics**/no_FTP-uploads_into_this_folder!|||optional|w@
-1.4.17|bridge|||mandatory|r@
-1.4.17|bridge/coppermine.inc.php|1.4.17|4311|mandatory|r@
-1.4.17|bridge/invisionboard20.inc.php|1.4.17|4311|optional|r@
-1.4.17|bridge/mambo.inc.php|1.4.17|4311|optional|r@
-1.4.17|bridge/mybb.inc.php|1.4.17|4311|optional|r@
-1.4.17|bridge/phorum.inc.php|1.4.17|4311|optional|r@
-1.4.17|bridge/phpbb.inc.php|1.4.17|4311|optional|r@
-1.4.17|bridge/phpbb2018.inc.php|1.4.17|4311|optional|r@
-1.4.17|bridge/phpbb22.inc.php|1.4.17|4311|optional|r@
-1.4.17|bridge/punbb115.inc.php|1.4.17|4311|optional|r@
-1.4.17|bridge/punbb12.inc.php|1.4.17|4311|optional|r@
-1.4.17|bridge/smf10.inc.php|1.4.17|4311|optional|r@
-1.4.17|bridge/smf20.inc.php|1.4.17|4311|optional|r@
-1.4.17|bridge/udb_base.inc.php|1.4.17|4311|mandatory|r@
-1.4.17|bridge/vbulletin30.inc.php|1.4.17|4311|optional|r@
-1.4.17|bridge/xmb.inc.php|1.4.17|4311|optional|r@
-1.4.17|bridge/xoops.inc.php|1.4.17|4311|optional|r@
-1.4.17|docs|||mandatory|r@
-1.4.17|docs/faq.htm|||optional|r@
-1.4.17|docs/faq_de.htm|||optional|r@
-1.4.17|docs/faq_fr.htm|||optional|r@
-1.4.17|docs/index.htm|1.4.17|4375|mandatory|r@
-1.4.17|docs/index_fr.htm||4311|mandatory|r@
-1.4.17|docs/README.html||4311|optional|r@
-1.4.17|docs/showdoc.php|1.4.17|4311|mandatory|r@
-1.4.17|docs/style.css|1.4.17|4311|mandatory|r@
-1.4.17|docs/theme.htm|||optional|r@
-1.4.17|docs/translation.htm|||optional|r@
-1.4.17|docs/pics|||mandatory|r@
-1.4.17|docs/theme|||optional|r@
-1.4.17|docs/theme/edit_style.html|||optional|r@
-1.4.17|docs/theme/edit_template.html|||optional|r@
-1.4.17|docs/theme/edit_theme.html|1.4.17||optional|r@
-1.4.17|docs/theme/index.html|||optional|r@
-1.4.17|docs/theme/style.css|1.4.17|4311|optional|r@
-1.4.17|docs/theme/validation.html|||optional|r@
-1.4.17|include|||mandatory|w@
-1.4.17|include/archive.php|1.4.17|4311|mandatory|r@
-1.4.17|include/config.inc.php|||mandatory|r@
-1.4.17|include/config.inc.php.sample|||optional|r@
-1.4.17|include/crop.inc.php|1.4.17|4311|mandatory|r@
-1.4.17|include/debugger.inc.php|1.4.17|4311|mandatory|r@
-1.4.17|include/exif.php|1.4.17|4311|mandatory|r@
-1.4.17|include/exif_php.inc.php|1.4.17|4311|mandatory|r@
-1.4.17|include/functions.inc.php|1.4.17|4343|mandatory|r@
-1.4.17|include/imageObjectGD.class.php|1.4.17|4311|mandatory|r@
-1.4.17|include/imageObjectIM.class.php|1.4.17|4311|mandatory|r@
-1.4.17|include/index.html|1.4.17|4311|mandatory|r@
-1.4.17|include/init.inc.php|1.4.17|4374|mandatory|r@
-1.4.17|include/iptc.inc.php|1.4.17|4311|mandatory|r@
-1.4.17|include/keyword.inc.php|1.4.17|4311|mandatory|r@
-1.4.17|include/langfallback.inc.php|1.4.17|4311|mandatory|r@
-1.4.17|include/logger.inc.php|1.4.17|4311|mandatory|r@
-1.4.17|include/mailer.inc.php|1.4.17|4311|mandatory|r@
-1.4.17|include/mb.inc.php|1.4.17|4311|mandatory|r@
-1.4.17|include/media.functions.inc.php|1.4.17|4311|mandatory|r@
-1.4.17|include/phpmailer.lang-en.php|1.4.17|4311|mandatory|r@
-1.4.17|include/picmgmt.inc.php|1.4.17|4311|mandatory|r@
-1.4.17|include/plugin_api.inc.php|1.4.17|4311|mandatory|r@
-1.4.17|include/search.inc.php|1.4.17|4311|mandatory|r@
-1.4.17|include/select_lang.inc.php|1.4.17|4340|mandatory|r@
-1.4.17|include/slideshow.inc.php|1.4.17|4311|mandatory|r@
-1.4.17|include/smilies.inc.php|1.4.17|4311|mandatory|r@
-1.4.17|include/smtp.inc.php|1.4.17|4311|mandatory|r@
-1.4.17|include/sql_parse.php|1.4.17|4311|mandatory|r@
-1.4.17|include/themes.inc.php|1.4.17|4311|mandatory|r@
-1.4.17|include/update.inc.php|1.4.17|4311|mandatory|r@
-1.4.17|include/zip.lib.php|1.4.17|4311|mandatory|r@
-1.4.17|include/makers|||mandatory|w@
-1.4.17|include/makers/canon.php|1.4.17|4311|mandatory|r@
-1.4.17|include/makers/fujifilm.php|1.4.17|4311|mandatory|r@
-1.4.17|include/makers/gps.php|1.4.17|4311|mandatory|r@
-1.4.17|include/makers/nikon.php|1.4.17|4311|mandatory|r@
-1.4.17|include/makers/olympus.php|1.4.17|4311|mandatory|r@
-1.4.17|include/makers/sanyo.php|1.4.17|4311|mandatory|r@
-1.4.17|lang|||mandatory|r@
-1.4.17|lang/albanian.php|1.4.17|4311|optional|r@
-1.4.17|lang/arabic.php|1.4.17|4311|optional|r@
-1.4.17|lang/basque.php|1.4.17|4311|optional|r@
-1.4.17|lang/brazilian_portuguese.php|1.4.17|4311|optional|r@
-1.4.17|lang/bulgarian.php|1.4.17|4311|optional|r@
-1.4.17|lang/catalan.php|1.4.17|4311|optional|r@
-1.4.17|lang/chinese_big5.php|1.4.17|4311|optional|r@
-1.4.17|lang/chinese_gb.php|1.4.17|4311|optional|r@
-1.4.17|lang/czech.php|1.4.17|4311|optional|r@
-1.4.17|lang/danish.php|1.4.17|4311|optional|r@
-1.4.17|lang/dutch.php|1.4.17|4311|optional|r@
-1.4.17|lang/english.php|1.4.17|4311|mandatory|r@
-1.4.17|lang/english_gb.php|1.4.17|4311|optional|r@
-1.4.17|lang/estonian.php|1.4.17|4311|optional|r@
-1.4.17|lang/finnish.php|1.4.17|4368|optional|r@
-1.4.17|lang/french.php|1.4.17|4311|optional|r@
-1.4.17|lang/galician.php|1.4.17|4311|optional|r@
-1.4.17|lang/georgian.php|1.4.17|4311|optional|r@
-1.4.17|lang/german.php|1.4.17|4311|optional|r@
-1.4.17|lang/german_sie.php|1.4.17|4311|optional|r@
-1.4.17|lang/greek.php|1.4.17|4311|optional|r@
-1.4.17|lang/hebrew.php|1.4.17|4311|optional|r@
-1.4.17|lang/hindi.php|1.4.17|4311|optional|r@
-1.4.17|lang/hungarian.php|1.4.17|4311|optional|r@
-1.4.17|lang/indonesian.php|1.4.17|4311|optional|r@
-1.4.17|lang/italian.php|1.4.17|4311|optional|r@
-1.4.17|lang/japanese.php|1.4.17|4311|optional|r@
-1.4.17|lang/korean.php|1.4.17|4311|optional|r@
-1.4.17|lang/lithuanian.php|1.4.17|4311|optional|r@
-1.4.17|lang/macedonian.php|1.4.17|4311|optional|r@
-1.4.17|lang/norwegian.php|1.4.17|4311|optional|r@
-1.4.17|lang/persian.php|1.4.17|4311|optional|r@
-1.4.17|lang/polish.php|1.4.17|4311|optional|r@
-1.4.17|lang/portuguese.php|1.4.17|4311|optional|r@
-1.4.17|lang/romanian.php|1.4.17|4349|optional|r@
-1.4.17|lang/russian.php|1.4.17|4311|optional|r@
-1.4.17|lang/serbian.php|1.4.17|4311|optional|r@
-1.4.17|lang/serbian_cy.php|1.4.17|3966|optional|r@
-1.4.17|lang/slovak.php|1.4.17|4311|optional|r@
-1.4.17|lang/slovenian.php|1.4.17|4311|optional|r@
-1.4.17|lang/spanish.php|1.4.17|4311|optional|r@
-1.4.17|lang/swedish.php|1.4.17|4311|optional|r@
-1.4.17|lang/thai.php|1.4.17|4311|optional|r@
-1.4.17|lang/turkish.php|1.4.17|4311|optional|r@
-1.4.17|lang/ukrainian.php|1.4.17|4311|optional|r@
-1.4.17|lang/vietnamese.php|1.4.17|4311|optional|r@
-1.4.17|logs|||mandatory|w@
-1.4.17|logs/log_header.inc.php|1.4.17|4311|mandatory|r@
-1.4.17|plugins|||optional|r@
-1.4.17|plugins/sample|||optional|r@
-1.4.17|plugins/sample/codebase.php|1.4.17|4311|optional|r@
-1.4.17|plugins/sample/configuration.php|1.4.17|4311|optional|r@
-1.4.17|sql|||mandatory|r@
-1.4.17|sql/basic.sql|1.4.17|4311|mandatory|r@
-1.4.17|sql/schema.sql|1.4.17|4311|mandatory|r@
-1.4.17|sql/update.sql|1.4.17|4311|mandatory|r@
-1.4.17|themes|||mandatory|r@
-1.4.17|themes/classic|||optional|r@
-1.4.17|themes/classic/style.css|1.4.17|4311|optional|r@
-1.4.17|themes/classic/template.html|1.4.17|4311|optional|r@
-1.4.17|themes/classic/theme.php|1.4.17|4311|optional|r@
-1.4.17|themes/classic/images|||optional|r@
-1.4.17|themes/eyeball|||optional|r@
-1.4.17|themes/eyeball/style.css|1.4.17|4311|optional|r@
-1.4.17|themes/eyeball/template.html|1.4.17|4311|optional|r@
-1.4.17|themes/eyeball/theme.php|1.4.17|4311|optional|r@
-1.4.17|themes/eyeball/images|||optional|r@
-1.4.17|themes/fruity|||optional|r@
-1.4.17|themes/fruity/style.css|1.4.17|4311|optional|r@
-1.4.17|themes/fruity/template.html|1.4.17|4311|optional|r@
-1.4.17|themes/fruity/theme.php|1.4.17|4311|optional|r@
-1.4.17|themes/fruity/images|||optional|r@
-1.4.17|themes/hardwired|||optional|r@
-1.4.17|themes/hardwired/style.css|1.4.17|4311|optional|r@
-1.4.17|themes/hardwired/template.html|1.4.17|4311|optional|r@
-1.4.17|themes/hardwired/theme.php|1.4.17|4311|optional|r@
-1.4.17|themes/hardwired/images|||optional|r@
-1.4.17|themes/igames|||optional|r@
-1.4.17|themes/igames/style.css|1.4.17|4311|optional|r@
-1.4.17|themes/igames/template.html|1.4.17|4311|optional|r@
-1.4.17|themes/igames/theme.php|1.4.17|4311|optional|r@
-1.4.17|themes/igames/images|||optional|r@
-1.4.17|themes/mac_ox_x|||optional|r@
-1.4.17|themes/mac_ox_x/style.css|1.4.17|4311|optional|r@
-1.4.17|themes/mac_ox_x/template.html|1.4.17|4311|optional|r@
-1.4.17|themes/mac_ox_x/theme.php|1.4.17|4311|optional|r@
-1.4.17|themes/mac_ox_x/images|||optional|r@
-1.4.17|themes/project_vii|||optional|r@
-1.4.17|themes/project_vii/style.css|1.4.17|4311|optional|r@
-1.4.17|themes/project_vii/template.html|1.4.17|4311|optional|r@
-1.4.17|themes/project_vii/theme.php|1.4.17|4311|optional|r@
-1.4.17|themes/project_vii/images|||optional|r@
-1.4.17|themes/rainy_day|||optional|r@
-1.4.17|themes/rainy_day/style.css|1.4.17|4311|optional|r@
-1.4.17|themes/rainy_day/template.html|1.4.17|4311|optional|r@
-1.4.17|themes/rainy_day/theme.php|1.4.17|4311|optional|r@
-1.4.17|themes/rainy_day/images|||optional|r@
-1.4.17|themes/sample|||optional|r@
-1.4.17|themes/sample/style.css|1.4.17|4311|optional|r@
-1.4.17|themes/sample/template.html|1.4.17|4311|optional|r@
-1.4.17|themes/sample/theme.php|1.4.17|4311|optional|r@
-1.4.17|themes/sample/images|||optional|r@
-1.4.17|themes/water_drop|||optional|r@
-1.4.17|themes/water_drop/style.css|1.4.17|4311|optional|r@
-1.4.17|themes/water_drop/template.html|1.4.17|4311|optional|r@
-1.4.17|themes/water_drop/theme.php|1.4.17|4311|optional|r@
-1.4.17|themes/water_drop/images|||optional|r@
-1.4.18|addpic.php|1.4.18|4380|mandatory|r@
-1.4.18|admin.php|1.4.18|4380|mandatory|r@
-1.4.18|albmgr.php|1.4.18|4380|mandatory|r@
-1.4.18|anycontent.php|1.4.18|4380|mandatory|r@
-1.4.18|banning.php|1.4.18|4380|mandatory|r@
-1.4.18|bridgemgr.php|1.4.18|4380|mandatory|r@
-1.4.18|calendar.php|1.4.18|4380|mandatory|r@
-1.4.18|catmgr.php|1.4.18|4380|mandatory|r@
-1.4.18|charsetmgr.php|1.4.18|4380|mandatory|r@
-1.4.18|config.php|1.4.18|4380|optional|r@
-1.4.18|db_ecard.php|1.4.18|4380|mandatory|r@
-1.4.18|db_input.php|1.4.18|4380|mandatory|r@
-1.4.18|delete.php|1.4.18|4380|mandatory|r@
-1.4.18|displayecard.php|1.4.18|4380|mandatory|r@
-1.4.18|displayimage.php|1.4.18|4380|mandatory|r@
-1.4.18|displayreport.php|1.4.18|4380|mandatory|r@
-1.4.18|ecard.php|1.4.18|4380|mandatory|r@
-1.4.18|editOnePic.php|1.4.18|4380|mandatory|r@
-1.4.18|editpics.php|1.4.18|4380|mandatory|r@
-1.4.18|exifmgr.php|1.4.18|4380|mandatory|r@
-1.4.18|faq.php|1.4.18|4380|mandatory|r@
-1.4.18|forgot_passwd.php|1.4.18|4380|mandatory|r@
-1.4.18|getlang.php|1.4.18|4380|mandatory|r@
-1.4.18|groupmgr.php|1.4.18|4380|mandatory|r@
-1.4.18|image_processor.php|1.4.18|4380|mandatory|r@
-1.4.18|index.php|1.4.18|4380|mandatory|r@
-1.4.18|install.php|1.4.18|4380|mandatory|r@
-1.4.18|installer.css|1.4.18|4380|mandatory|r@
-1.4.18|keyword_create_dict.php|1.4.18|4380|mandatory|r@
-1.4.18|keyword_select.php|1.4.18|4380|mandatory|r@
-1.4.18|keywordmgr.php|1.4.18|4380|mandatory|r@
-1.4.18|login.php|1.4.18|4380|mandatory|r@
-1.4.18|logout.php|1.4.18|4380|mandatory|r@
-1.4.18|minibrowser.php|1.4.18|4380|mandatory|r@
-1.4.18|mode.php|1.4.18|4380|mandatory|r@
-1.4.18|modifyalb.php|1.4.18|4380|mandatory|r@
-1.4.18|phpinfo.php|1.4.18|4380|mandatory|r@
-1.4.18|picEditor.php|1.4.18|4380|mandatory|r@
-1.4.18|picmgr.php|1.4.18|4380|mandatory|r@
-1.4.18|pluginmgr.php|1.4.18|4380|mandatory|r@
-1.4.18|profile.php|1.4.18|4380|mandatory|r@
-1.4.18|ratepic.php|1.4.18|4380|mandatory|r@
-1.4.18|register.php|1.4.18|4380|mandatory|r@
-1.4.18|relocate_server.php|1.4.18|4380|optional|r@
-1.4.18|report_file.php|1.4.18|4380|mandatory|r@
-1.4.18|reviewcom.php|1.4.18|4380|mandatory|r@
-1.4.18|scripts.js|1.4.18|4380|mandatory|r@
-1.4.18|search.php|1.4.18|4380|mandatory|r@
-1.4.18|searchnew.php|1.4.18|4380|mandatory|r@
-1.4.18|showthumb.php|1.4.18|4380|mandatory|r@
-1.4.18|stat_details.php|1.4.18|4380|mandatory|r@
-1.4.18|thumbnails.php|1.4.18|4380|mandatory|r@
-1.4.18|update.php|1.4.18|4380|mandatory|r@
-1.4.18|upgrade-1.0-to-1.2.php|1.4.18|4380|mandatory|r@
-1.4.18|upload.php|1.4.18|4380|mandatory|r@
-1.4.18|usermgr.php|1.4.18|4380|mandatory|r@
-1.4.18|util.php|1.4.18|4380|mandatory|r@
-1.4.18|versioncheck.php|1.4.18|4388|mandatory|r@
-1.4.18|viewlog.php|1.4.18|4380|mandatory|r@
-1.4.18|xp_publish.php|1.4.18|4380|mandatory|r@
-1.4.18|zipdownload.php|1.4.18|4380|mandatory|r@
-1.4.18|**fullpath**|||mandatory|w@
-1.4.18|**fullpath**/index.php|||optional|w@
-1.4.18|**fullpath**/edit/index.html|||optional|w@
-1.4.18|**fullpath**/edit/no_FTP-uploads_into_this_folder!|||optional|w@
-1.4.18|**fullpath**/edit|||mandatory|w@
-1.4.18|**fullpath**/edit/index.html|||optional|w@
-1.4.18|**fullpath**/**userpics**|||mandatory|w@
-1.4.18|**fullpath**/**userpics**/index.php|||optional|w@
-1.4.18|**fullpath**/**userpics**/no_FTP-uploads_into_this_folder!|||optional|w@
-1.4.18|bridge|||mandatory|r@
-1.4.18|bridge/coppermine.inc.php|1.4.18|4381|mandatory|r@
-1.4.18|bridge/invisionboard20.inc.php|1.4.18|4380|optional|r@
-1.4.18|bridge/mambo.inc.php|1.4.18|4380|optional|r@
-1.4.18|bridge/mybb.inc.php|1.4.18|4380|optional|r@
-1.4.18|bridge/phorum.inc.php|1.4.18|4380|optional|r@
-1.4.18|bridge/phpbb.inc.php|1.4.18|4380|optional|r@
-1.4.18|bridge/phpbb2018.inc.php|1.4.18|4380|optional|r@
-1.4.18|bridge/phpbb22.inc.php|1.4.18|4380|optional|r@
-1.4.18|bridge/punbb115.inc.php|1.4.18|4380|optional|r@
-1.4.18|bridge/punbb12.inc.php|1.4.18|4380|optional|r@
-1.4.18|bridge/smf10.inc.php|1.4.18|4380|optional|r@
-1.4.18|bridge/smf20.inc.php|1.4.18|4380|optional|r@
-1.4.18|bridge/udb_base.inc.php|1.4.18|4380|mandatory|r@
-1.4.18|bridge/vbulletin30.inc.php|1.4.18|4380|optional|r@
-1.4.18|bridge/xmb.inc.php|1.4.18|4380|optional|r@
-1.4.18|bridge/xoops.inc.php|1.4.18|4380|optional|r@
-1.4.18|docs|||mandatory|r@
-1.4.18|docs/faq.htm|||optional|r@
-1.4.18|docs/faq_de.htm|||optional|r@
-1.4.18|docs/faq_fr.htm|||optional|r@
-1.4.18|docs/index.htm|1.4.18|4387|mandatory|r@
-1.4.18|docs/index_fr.htm||4380|mandatory|r@
-1.4.18|docs/README.html||4380|optional|r@
-1.4.18|docs/showdoc.php|1.4.18|4380|mandatory|r@
-1.4.18|docs/style.css|1.4.18|4380|mandatory|r@
-1.4.18|docs/theme.htm|||optional|r@
-1.4.18|docs/translation.htm|||optional|r@
-1.4.18|docs/pics|||mandatory|r@
-1.4.18|docs/theme|||optional|r@
-1.4.18|docs/theme/edit_style.html|||optional|r@
-1.4.18|docs/theme/edit_template.html|||optional|r@
-1.4.18|docs/theme/edit_theme.html|1.4.18||optional|r@
-1.4.18|docs/theme/index.html|||optional|r@
-1.4.18|docs/theme/style.css|1.4.18|4380|optional|r@
-1.4.18|docs/theme/validation.html|||optional|r@
-1.4.18|include|||mandatory|w@
-1.4.18|include/archive.php|1.4.18|4380|mandatory|r@
-1.4.18|include/config.inc.php|||mandatory|r@
-1.4.18|include/config.inc.php.sample|||optional|r@
-1.4.18|include/crop.inc.php|1.4.18|4380|mandatory|r@
-1.4.18|include/debugger.inc.php|1.4.18|4380|mandatory|r@
-1.4.18|include/exif.php|1.4.18|4380|mandatory|r@
-1.4.18|include/exif_php.inc.php|1.4.18|4380|mandatory|r@
-1.4.18|include/functions.inc.php|1.4.18|4380|mandatory|r@
-1.4.18|include/imageObjectGD.class.php|1.4.18|4380|mandatory|r@
-1.4.18|include/imageObjectIM.class.php|1.4.18|4380|mandatory|r@
-1.4.18|include/index.html|1.4.18|4380|mandatory|r@
-1.4.18|include/init.inc.php|1.4.18|4384|mandatory|r@
-1.4.18|include/iptc.inc.php|1.4.18|4380|mandatory|r@
-1.4.18|include/keyword.inc.php|1.4.18|4380|mandatory|r@
-1.4.18|include/langfallback.inc.php|1.4.18|4380|mandatory|r@
-1.4.18|include/logger.inc.php|1.4.18|4380|mandatory|r@
-1.4.18|include/mailer.inc.php|1.4.18|4380|mandatory|r@
-1.4.18|include/mb.inc.php|1.4.18|4380|mandatory|r@
-1.4.18|include/media.functions.inc.php|1.4.18|4380|mandatory|r@
-1.4.18|include/phpmailer.lang-en.php|1.4.18|4380|mandatory|r@
-1.4.18|include/picmgmt.inc.php|1.4.18|4380|mandatory|r@
-1.4.18|include/plugin_api.inc.php|1.4.18|4380|mandatory|r@
-1.4.18|include/search.inc.php|1.4.18|4380|mandatory|r@
-1.4.18|include/select_lang.inc.php|1.4.18|4380|mandatory|r@
-1.4.18|include/slideshow.inc.php|1.4.18|4380|mandatory|r@
-1.4.18|include/smilies.inc.php|1.4.18|4380|mandatory|r@
-1.4.18|include/smtp.inc.php|1.4.18|4380|mandatory|r@
-1.4.18|include/sql_parse.php|1.4.18|4380|mandatory|r@
-1.4.18|include/themes.inc.php|1.4.18|4380|mandatory|r@
-1.4.18|include/update.inc.php|1.4.18|4380|mandatory|r@
-1.4.18|include/zip.lib.php|1.4.18|4380|mandatory|r@
-1.4.18|include/makers|||mandatory|w@
-1.4.18|include/makers/canon.php|1.4.18|4380|mandatory|r@
-1.4.18|include/makers/fujifilm.php|1.4.18|4380|mandatory|r@
-1.4.18|include/makers/gps.php|1.4.18|4380|mandatory|r@
-1.4.18|include/makers/nikon.php|1.4.18|4380|mandatory|r@
-1.4.18|include/makers/olympus.php|1.4.18|4380|mandatory|r@
-1.4.18|include/makers/sanyo.php|1.4.18|4380|mandatory|r@
-1.4.18|lang|||mandatory|r@
-1.4.18|lang/albanian.php|1.4.18|4380|optional|r@
-1.4.18|lang/arabic.php|1.4.18|4380|optional|r@
-1.4.18|lang/basque.php|1.4.18|4380|optional|r@
-1.4.18|lang/brazilian_portuguese.php|1.4.18|4380|optional|r@
-1.4.18|lang/bulgarian.php|1.4.18|4380|optional|r@
-1.4.18|lang/catalan.php|1.4.18|4380|optional|r@
-1.4.18|lang/chinese_big5.php|1.4.18|4380|optional|r@
-1.4.18|lang/chinese_gb.php|1.4.18|4380|optional|r@
-1.4.18|lang/czech.php|1.4.18|4380|optional|r@
-1.4.18|lang/danish.php|1.4.18|4380|optional|r@
-1.4.18|lang/dutch.php|1.4.18|4380|optional|r@
-1.4.18|lang/english.php|1.4.18|4380|mandatory|r@
-1.4.18|lang/english_gb.php|1.4.18|4380|optional|r@
-1.4.18|lang/estonian.php|1.4.18|4380|optional|r@
-1.4.18|lang/finnish.php|1.4.18|4380|optional|r@
-1.4.18|lang/french.php|1.4.18|4380|optional|r@
-1.4.18|lang/galician.php|1.4.18|4380|optional|r@
-1.4.18|lang/georgian.php|1.4.18|4380|optional|r@
-1.4.18|lang/german.php|1.4.18|4380|optional|r@
-1.4.18|lang/german_sie.php|1.4.18|4380|optional|r@
-1.4.18|lang/greek.php|1.4.18|4380|optional|r@
-1.4.18|lang/hebrew.php|1.4.18|4380|optional|r@
-1.4.18|lang/hindi.php|1.4.18|4380|optional|r@
-1.4.18|lang/hungarian.php|1.4.18|4380|optional|r@
-1.4.18|lang/indonesian.php|1.4.18|4380|optional|r@
-1.4.18|lang/italian.php|1.4.18|4380|optional|r@
-1.4.18|lang/japanese.php|1.4.18|4380|optional|r@
-1.4.18|lang/korean.php|1.4.18|4380|optional|r@
-1.4.18|lang/latvian.php|1.4.18|3966|optional|r@
-1.4.18|lang/lithuanian.php|1.4.18|4380|optional|r@
-1.4.18|lang/macedonian.php|1.4.18|4380|optional|r@
-1.4.18|lang/norwegian.php|1.4.18|4380|optional|r@
-1.4.18|lang/persian.php|1.4.18|4380|optional|r@
-1.4.18|lang/polish.php|1.4.18|4380|optional|r@
-1.4.18|lang/portuguese.php|1.4.18|4380|optional|r@
-1.4.18|lang/romanian.php|1.4.18|4380|optional|r@
-1.4.18|lang/russian.php|1.4.18|4380|optional|r@
-1.4.18|lang/serbian.php|1.4.18|4380|optional|r@
-1.4.18|lang/serbian_cy.php|1.4.18|3966|optional|r@
-1.4.18|lang/slovak.php|1.4.18|4380|optional|r@
-1.4.18|lang/slovenian.php|1.4.18|4380|optional|r@
-1.4.18|lang/spanish.php|1.4.18|4380|optional|r@
-1.4.18|lang/swedish.php|1.4.18|4380|optional|r@
-1.4.18|lang/thai.php|1.4.18|4380|optional|r@
-1.4.18|lang/turkish.php|1.4.18|4380|optional|r@
-1.4.18|lang/ukrainian.php|1.4.18|4380|optional|r@
-1.4.18|lang/vietnamese.php|1.4.18|4380|optional|r@
-1.4.18|lang/welsh.php|1.4.18|4380|optional|r@
-1.4.18|logs|||mandatory|w@
-1.4.18|logs/log_header.inc.php|1.4.18|4380|mandatory|r@
-1.4.18|plugins|||optional|r@
-1.4.18|plugins/sample|||optional|r@
-1.4.18|plugins/sample/codebase.php|1.4.18|4380|optional|r@
-1.4.18|plugins/sample/configuration.php|1.4.18|4380|optional|r@
-1.4.18|sql|||mandatory|r@
-1.4.18|sql/basic.sql|1.4.18|4380|mandatory|r@
-1.4.18|sql/schema.sql|1.4.18|4380|mandatory|r@
-1.4.18|sql/update.sql|1.4.18|4380|mandatory|r@
-1.4.18|themes|||mandatory|r@
-1.4.18|themes/classic|||optional|r@
-1.4.18|themes/classic/style.css|1.4.18|4380|optional|r@
-1.4.18|themes/classic/template.html|1.4.18|4380|optional|r@
-1.4.18|themes/classic/theme.php|1.4.18|4380|optional|r@
-1.4.18|themes/classic/images|||optional|r@
-1.4.18|themes/eyeball|||optional|r@
-1.4.18|themes/eyeball/style.css|1.4.18|4380|optional|r@
-1.4.18|themes/eyeball/template.html|1.4.18|4380|optional|r@
-1.4.18|themes/eyeball/theme.php|1.4.18|4380|optional|r@
-1.4.18|themes/eyeball/images|||optional|r@
-1.4.18|themes/fruity|||optional|r@
-1.4.18|themes/fruity/style.css|1.4.18|4380|optional|r@
-1.4.18|themes/fruity/template.html|1.4.18|4380|optional|r@
-1.4.18|themes/fruity/theme.php|1.4.18|4380|optional|r@
-1.4.18|themes/fruity/images|||optional|r@
-1.4.18|themes/hardwired|||optional|r@
-1.4.18|themes/hardwired/style.css|1.4.18|4380|optional|r@
-1.4.18|themes/hardwired/template.html|1.4.18|4380|optional|r@
-1.4.18|themes/hardwired/theme.php|1.4.18|4380|optional|r@
-1.4.18|themes/hardwired/images|||optional|r@
-1.4.18|themes/igames|||optional|r@
-1.4.18|themes/igames/style.css|1.4.18|4380|optional|r@
-1.4.18|themes/igames/template.html|1.4.18|4380|optional|r@
-1.4.18|themes/igames/theme.php|1.4.18|4380|optional|r@
-1.4.18|themes/igames/images|||optional|r@
-1.4.18|themes/mac_ox_x|||optional|r@
-1.4.18|themes/mac_ox_x/style.css|1.4.18|4380|optional|r@
-1.4.18|themes/mac_ox_x/template.html|1.4.18|4380|optional|r@
-1.4.18|themes/mac_ox_x/theme.php|1.4.18|4380|optional|r@
-1.4.18|themes/mac_ox_x/images|||optional|r@
-1.4.18|themes/project_vii|||optional|r@
-1.4.18|themes/project_vii/style.css|1.4.18|4380|optional|r@
-1.4.18|themes/project_vii/template.html|1.4.18|4380|optional|r@
-1.4.18|themes/project_vii/theme.php|1.4.18|4380|optional|r@
-1.4.18|themes/project_vii/images|||optional|r@
-1.4.18|themes/rainy_day|||optional|r@
-1.4.18|themes/rainy_day/style.css|1.4.18|4380|optional|r@
-1.4.18|themes/rainy_day/template.html|1.4.18|4380|optional|r@
-1.4.18|themes/rainy_day/theme.php|1.4.18|4380|optional|r@
-1.4.18|themes/rainy_day/images|||optional|r@
-1.4.18|themes/sample|||optional|r@
-1.4.18|themes/sample/style.css|1.4.18|4380|optional|r@
-1.4.18|themes/sample/template.html|1.4.18|4380|optional|r@
-1.4.18|themes/sample/theme.php|1.4.18|4380|optional|r@
-1.4.18|themes/sample/images|||optional|r@
-1.4.18|themes/water_drop|||optional|r@
-1.4.18|themes/water_drop/style.css|1.4.18|4380|optional|r@
-1.4.18|themes/water_drop/template.html|1.4.18|4380|optional|r@
-1.4.18|themes/water_drop/theme.php|1.4.18|4380|optional|r@
-1.4.18|themes/water_drop/images|||optional|r@
-1.4.19|addpic.php|1.4.19|4392|mandatory|r@
-1.4.19|admin.php|1.4.19|4392|mandatory|r@
-1.4.19|albmgr.php|1.4.19|4431|mandatory|r@
-1.4.19|anycontent.php|1.4.19|4392|mandatory|r@
-1.4.19|banning.php|1.4.19|4392|mandatory|r@
-1.4.19|bridgemgr.php|1.4.19|4392|mandatory|r@
-1.4.19|calendar.php|1.4.19|4392|mandatory|r@
-1.4.19|catmgr.php|1.4.19|4392|mandatory|r@
-1.4.19|charsetmgr.php|1.4.19|4392|mandatory|r@
-1.4.19|config.php|1.4.19|4392|optional|r@
-1.4.19|db_ecard.php|1.4.19|4392|mandatory|r@
-1.4.19|db_input.php|1.4.19|4392|mandatory|r@
-1.4.19|delete.php|1.4.19|4392|mandatory|r@
-1.4.19|displayecard.php|1.4.19|4392|mandatory|r@
-1.4.19|displayimage.php|1.4.19|4392|mandatory|r@
-1.4.19|displayreport.php|1.4.19|4392|mandatory|r@
-1.4.19|ecard.php|1.4.19|4441|mandatory|r@
-1.4.19|editOnePic.php|1.4.19|4416|mandatory|r@
-1.4.19|editpics.php|1.4.19|4438|mandatory|r@
-1.4.19|exifmgr.php|1.4.19|4392|mandatory|r@
-1.4.19|faq.php|1.4.19|4392|mandatory|r@
-1.4.19|forgot_passwd.php|1.4.19|4392|mandatory|r@
-1.4.19|getlang.php|1.4.19|4392|mandatory|r@
-1.4.19|groupmgr.php|1.4.19|4419|mandatory|r@
-1.4.19|image_processor.php|1.4.19|4392|mandatory|r@
-1.4.19|index.php|1.4.19|4392|mandatory|r@
-1.4.19|install.php|1.4.19|4392|mandatory|r@
-1.4.19|installer.css|1.4.19|4392|mandatory|r@
-1.4.19|keyword_create_dict.php|1.4.19|4392|mandatory|r@
-1.4.19|keyword_select.php|1.4.19|4392|mandatory|r@
-1.4.19|keywordmgr.php|1.4.19|4392|mandatory|r@
-1.4.19|login.php|1.4.19|4392|mandatory|r@
-1.4.19|logout.php|1.4.19|4392|mandatory|r@
-1.4.19|minibrowser.php|1.4.19|4392|mandatory|r@
-1.4.19|mode.php|1.4.19|4392|mandatory|r@
-1.4.19|modifyalb.php|1.4.19|4445|mandatory|r@
-1.4.19|phpinfo.php|1.4.19|4392|mandatory|r@
-1.4.19|picEditor.php|1.4.19|4420|mandatory|r@
-1.4.19|picmgr.php|1.4.19|4442|mandatory|r@
-1.4.19|pluginmgr.php|1.4.19|4392|mandatory|r@
-1.4.19|profile.php|1.4.19|4754|mandatory|r@
-1.4.19|ratepic.php|1.4.19|4392|mandatory|r@
-1.4.19|register.php|1.4.19|4392|mandatory|r@
-1.4.19|relocate_server.php|1.4.19|4392|optional|r@
-1.4.19|report_file.php|1.4.19|4437|mandatory|r@
-1.4.19|reviewcom.php|1.4.19|4421|mandatory|r@
-1.4.19|scripts.js|1.4.19|4392|mandatory|r@
-1.4.19|search.php|1.4.19|4392|mandatory|r@
-1.4.19|searchnew.php|1.4.19|4392|mandatory|r@
-1.4.19|showthumb.php|1.4.19|4392|mandatory|r@
-1.4.19|stat_details.php|1.4.19|4392|mandatory|r@
-1.4.19|thumbnails.php|1.4.19|4392|mandatory|r@
-1.4.19|update.php|1.4.19|4392|mandatory|r@
-1.4.19|upgrade-1.0-to-1.2.php|1.4.19|4392|mandatory|r@
-1.4.19|upload.php|1.4.19|4424|mandatory|r@
-1.4.19|usermgr.php|1.4.19|4392|mandatory|r@
-1.4.19|util.php|1.4.19|4392|mandatory|r@
-1.4.19|versioncheck.php|1.4.19|4766|mandatory|r@
-1.4.19|viewlog.php|1.4.19|4392|mandatory|r@
-1.4.19|xp_publish.php|1.4.19|4392|mandatory|r@
-1.4.19|zipdownload.php|1.4.19|4392|mandatory|r@
-1.4.19|**fullpath**|||mandatory|w@
-1.4.19|**fullpath**/index.php|||optional|w@
-1.4.19|**fullpath**/edit/index.html|||optional|w@
-1.4.19|**fullpath**/edit/no_FTP-uploads_into_this_folder!|||optional|w@
-1.4.19|**fullpath**/edit|||mandatory|w@
-1.4.19|**fullpath**/edit/index.html|||optional|w@
-1.4.19|**fullpath**/**userpics**|||mandatory|w@
-1.4.19|**fullpath**/**userpics**/index.php|||optional|w@
-1.4.19|**fullpath**/**userpics**/no_FTP-uploads_into_this_folder!|||optional|w@
-1.4.19|bridge|||mandatory|r@
-1.4.19|bridge/coppermine.inc.php|1.4.19|4392|mandatory|r@
-1.4.19|bridge/invisionboard20.inc.php|1.4.19|4392|optional|r@
-1.4.19|bridge/mambo.inc.php|1.4.19|4392|optional|r@
-1.4.19|bridge/mybb.inc.php|1.4.19|4392|optional|r@
-1.4.19|bridge/phorum.inc.php|1.4.19|4392|optional|r@
-1.4.19|bridge/phpbb.inc.php|1.4.19|4392|optional|r@
-1.4.19|bridge/phpbb2018.inc.php|1.4.19|4392|optional|r@
-1.4.19|bridge/phpbb22.inc.php|1.4.19|4392|optional|r@
-1.4.19|bridge/punbb115.inc.php|1.4.19|4392|optional|r@
-1.4.19|bridge/punbb12.inc.php|1.4.19|4392|optional|r@
-1.4.19|bridge/smf10.inc.php|1.4.19|4722|optional|r@
-1.4.19|bridge/smf20.inc.php|1.4.19|4722|optional|r@
-1.4.19|bridge/udb_base.inc.php|1.4.19|4428|mandatory|r@
-1.4.19|bridge/vbulletin30.inc.php|1.4.19|4392|optional|r@
-1.4.19|bridge/xmb.inc.php|1.4.19|4392|optional|r@
-1.4.19|bridge/xoops.inc.php|1.4.19|4392|optional|r@
-1.4.19|docs|||mandatory|r@
-1.4.19|docs/faq.htm|||optional|r@
-1.4.19|docs/faq_de.htm|||optional|r@
-1.4.19|docs/faq_fr.htm|||optional|r@
-1.4.19|docs/index.htm|1.4.19|4763|mandatory|r@
-1.4.19|docs/index_es.htm|1.4.19|4392|mandatory|r@
-1.4.19|docs/index_fr.htm||4392|mandatory|r@
-1.4.19|docs/README.html||4392|optional|r@
-1.4.19|docs/showdoc.php|1.4.19|4392|mandatory|r@
-1.4.19|docs/style.css|1.4.19|4392|mandatory|r@
-1.4.19|docs/theme.htm|||optional|r@
-1.4.19|docs/translation.htm|||optional|r@
-1.4.19|docs/pics|||mandatory|r@
-1.4.19|docs/theme|||optional|r@
-1.4.19|docs/theme/edit_style.html|||optional|r@
-1.4.19|docs/theme/edit_template.html|||optional|r@
-1.4.19|docs/theme/edit_theme.html|1.4.19||optional|r@
-1.4.19|docs/theme/index.html|||optional|r@
-1.4.19|docs/theme/style.css|1.4.19|4392|optional|r@
-1.4.19|docs/theme/validation.html|||optional|r@
-1.4.19|include|||mandatory|w@
-1.4.19|include/archive.php|1.4.19|4392|mandatory|r@
-1.4.19|include/config.inc.php|||mandatory|r@
-1.4.19|include/config.inc.php.sample|||optional|r@
-1.4.19|include/crop.inc.php|1.4.19|4392|mandatory|r@
-1.4.19|include/debugger.inc.php|1.4.19|4392|mandatory|r@
-1.4.19|include/exif.php|1.4.19|4392|mandatory|r@
-1.4.19|include/exif_php.inc.php|1.4.19|4392|mandatory|r@
-1.4.19|include/functions.inc.php|1.4.19|4753|mandatory|r@
-1.4.19|include/imageObjectGD.class.php|1.4.19|4392|mandatory|r@
-1.4.19|include/imageObjectIM.class.php|1.4.19|4392|mandatory|r@
-1.4.19|include/index.html|1.4.19|4392|mandatory|r@
-1.4.19|include/init.inc.php|1.4.19|4396|mandatory|r@
-1.4.19|include/iptc.inc.php|1.4.19|4392|mandatory|r@
-1.4.19|include/keyword.inc.php|1.4.19|4458|mandatory|r@
-1.4.19|include/langfallback.inc.php|1.4.19|4392|mandatory|r@
-1.4.19|include/logger.inc.php|1.4.19|4392|mandatory|r@
-1.4.19|include/mailer.inc.php|1.4.19|4392|mandatory|r@
-1.4.19|include/mb.inc.php|1.4.19|4392|mandatory|r@
-1.4.19|include/media.functions.inc.php|1.4.19|4392|mandatory|r@
-1.4.19|include/phpmailer.lang-en.php|1.4.19|4392|mandatory|r@
-1.4.19|include/picmgmt.inc.php|1.4.19|4392|mandatory|r@
-1.4.19|include/plugin_api.inc.php|1.4.19|4392|mandatory|r@
-1.4.19|include/search.inc.php|1.4.19|4392|mandatory|r@
-1.4.19|include/select_lang.inc.php|1.4.19|4392|mandatory|r@
-1.4.19|include/slideshow.inc.php|1.4.19|4449|mandatory|r@
-1.4.19|include/smilies.inc.php|1.4.19|4392|mandatory|r@
-1.4.19|include/smtp.inc.php|1.4.19|4392|mandatory|r@
-1.4.19|include/sql_parse.php|1.4.19|4450|mandatory|r@
-1.4.19|include/themes.inc.php|1.4.19|4454|mandatory|r@
-1.4.19|include/update.inc.php|1.4.19|4392|mandatory|r@
-1.4.19|include/zip.lib.php|1.4.19|4392|mandatory|r@
-1.4.19|include/makers|||mandatory|w@
-1.4.19|include/makers/canon.php|1.4.19|4392|mandatory|r@
-1.4.19|include/makers/fujifilm.php|1.4.19|4392|mandatory|r@
-1.4.19|include/makers/gps.php|1.4.19|4392|mandatory|r@
-1.4.19|include/makers/nikon.php|1.4.19|4392|mandatory|r@
-1.4.19|include/makers/olympus.php|1.4.19|4392|mandatory|r@
-1.4.19|include/makers/sanyo.php|1.4.19|4392|mandatory|r@
-1.4.19|lang|||mandatory|r@
-1.4.19|lang/albanian.php|1.4.19|4392|optional|r@
-1.4.19|lang/arabic.php|1.4.19|4392|optional|r@
-1.4.19|lang/basque.php|1.4.19|4392|optional|r@
-1.4.19|lang/brazilian_portuguese.php|1.4.19|4392|optional|r@
-1.4.19|lang/bulgarian.php|1.4.19|4392|optional|r@
-1.4.19|lang/catalan.php|1.4.19|4392|optional|r@
-1.4.19|lang/chinese_big5.php|1.4.19|4392|optional|r@
-1.4.19|lang/chinese_gb.php|1.4.19|4392|optional|r@
-1.4.19|lang/czech.php|1.4.19|4392|optional|r@
-1.4.19|lang/danish.php|1.4.19|4404|optional|r@
-1.4.19|lang/dutch.php|1.4.19|4392|optional|r@
-1.4.19|lang/english.php|1.4.19|4392|mandatory|r@
-1.4.19|lang/english_gb.php|1.4.19|4392|optional|r@
-1.4.19|lang/estonian.php|1.4.19|4392|optional|r@
-1.4.19|lang/finnish.php|1.4.19|4392|optional|r@
-1.4.19|lang/french.php|1.4.19|4392|optional|r@
-1.4.19|lang/galician.php|1.4.19|4392|optional|r@
-1.4.19|lang/georgian.php|1.4.19|4392|optional|r@
-1.4.19|lang/german.php|1.4.19|4392|optional|r@
-1.4.19|lang/german_sie.php|1.4.19|4475|optional|r@
-1.4.19|lang/greek.php|1.4.19|4392|optional|r@
-1.4.19|lang/hebrew.php|1.4.19|4392|optional|r@
-1.4.19|lang/hindi.php|1.4.19|4392|optional|r@
-1.4.19|lang/hungarian.php|1.4.19|4392|optional|r@
-1.4.19|lang/indonesian.php|1.4.19|4392|optional|r@
-1.4.19|lang/italian.php|1.4.19|4392|optional|r@
-1.4.19|lang/japanese.php|1.4.19|4392|optional|r@
-1.4.19|lang/korean.php|1.4.19|4392|optional|r@
-1.4.19|lang/latvian.php|1.4.19|3966|optional|r@
-1.4.19|lang/lithuanian.php|1.4.19|4392|optional|r@
-1.4.19|lang/macedonian.php|1.4.19|4392|optional|r@
-1.4.19|lang/norwegian.php|1.4.19|4392|optional|r@
-1.4.19|lang/persian.php|1.4.19|4392|optional|r@
-1.4.19|lang/polish.php|1.4.19|4392|optional|r@
-1.4.19|lang/portuguese.php|1.4.19|4392|optional|r@
-1.4.19|lang/romanian.php|1.4.19|4392|optional|r@
-1.4.19|lang/russian.php|1.4.19|4392|optional|r@
-1.4.19|lang/serbian.php|1.4.19|4392|optional|r@
-1.4.19|lang/serbian_cy.php|1.4.19|3966|optional|r@
-1.4.19|lang/slovak.php|1.4.19|4457|optional|r@
-1.4.19|lang/slovenian.php|1.4.19|4392|optional|r@
-1.4.19|lang/spanish.php|1.4.19|4392|optional|r@
-1.4.19|lang/swedish.php|1.4.19|4392|optional|r@
-1.4.19|lang/thai.php|1.4.19|4392|optional|r@
-1.4.19|lang/turkish.php|1.4.19|4392|optional|r@
-1.4.19|lang/ukrainian.php|1.4.19|4392|optional|r@
-1.4.19|lang/vietnamese.php|1.4.19|4392|optional|r@
-1.4.19|lang/welsh.php|1.4.19|4380|optional|r@
-1.4.19|logs|||mandatory|w@
-1.4.19|logs/log_header.inc.php|1.4.19|4392|mandatory|r@
-1.4.19|plugins|||optional|r@
-1.4.19|plugins/sample|||optional|r@
-1.4.19|plugins/sample/codebase.php|1.4.19|4392|optional|r@
-1.4.19|plugins/sample/configuration.php|1.4.19|4392|optional|r@
-1.4.19|sql|||mandatory|r@
-1.4.19|sql/basic.sql|1.4.19|4392|mandatory|r@
-1.4.19|sql/schema.sql|1.4.19|4392|mandatory|r@
-1.4.19|sql/update.sql|1.4.19|4392|mandatory|r@
-1.4.19|themes|||mandatory|r@
-1.4.19|themes/classic|||optional|r@
-1.4.19|themes/classic/style.css|1.4.19|4392|optional|r@
-1.4.19|themes/classic/template.html|1.4.19|4392|optional|r@
-1.4.19|themes/classic/theme.php|1.4.19|4392|optional|r@
-1.4.19|themes/classic/images|||optional|r@
-1.4.19|themes/eyeball|||optional|r@
-1.4.19|themes/eyeball/style.css|1.4.19|4392|optional|r@
-1.4.19|themes/eyeball/template.html|1.4.19|4392|optional|r@
-1.4.19|themes/eyeball/theme.php|1.4.19|4392|optional|r@
-1.4.19|themes/eyeball/images|||optional|r@
-1.4.19|themes/fruity|||optional|r@
-1.4.19|themes/fruity/style.css|1.4.19|4392|optional|r@
-1.4.19|themes/fruity/template.html|1.4.19|4392|optional|r@
-1.4.19|themes/fruity/theme.php|1.4.19|4392|optional|r@
-1.4.19|themes/fruity/images|||optional|r@
-1.4.19|themes/hardwired|||optional|r@
-1.4.19|themes/hardwired/style.css|1.4.19|4392|optional|r@
-1.4.19|themes/hardwired/template.html|1.4.19|4392|optional|r@
-1.4.19|themes/hardwired/theme.php|1.4.19|4392|optional|r@
-1.4.19|themes/hardwired/images|||optional|r@
-1.4.19|themes/igames|||optional|r@
-1.4.19|themes/igames/style.css|1.4.19|4392|optional|r@
-1.4.19|themes/igames/template.html|1.4.19|4392|optional|r@
-1.4.19|themes/igames/theme.php|1.4.19|4392|optional|r@
-1.4.19|themes/igames/images|||optional|r@
-1.4.19|themes/mac_ox_x|||optional|r@
-1.4.19|themes/mac_ox_x/style.css|1.4.19|4392|optional|r@
-1.4.19|themes/mac_ox_x/template.html|1.4.19|4392|optional|r@
-1.4.19|themes/mac_ox_x/theme.php|1.4.19|4392|optional|r@
-1.4.19|themes/mac_ox_x/images|||optional|r@
-1.4.19|themes/project_vii|||optional|r@
-1.4.19|themes/project_vii/style.css|1.4.19|4392|optional|r@
-1.4.19|themes/project_vii/template.html|1.4.19|4392|optional|r@
-1.4.19|themes/project_vii/theme.php|1.4.19|4392|optional|r@
-1.4.19|themes/project_vii/images|||optional|r@
-1.4.19|themes/rainy_day|||optional|r@
-1.4.19|themes/rainy_day/style.css|1.4.19|4392|optional|r@
-1.4.19|themes/rainy_day/template.html|1.4.19|4392|optional|r@
-1.4.19|themes/rainy_day/theme.php|1.4.19|4392|optional|r@
-1.4.19|themes/rainy_day/images|||optional|r@
-1.4.19|themes/sample|||optional|r@
-1.4.19|themes/sample/style.css|1.4.19|4392|optional|r@
-1.4.19|themes/sample/template.html|1.4.19|4392|optional|r@
-1.4.19|themes/sample/theme.php|1.4.19|4455|optional|r@
-1.4.19|themes/sample/images|||optional|r@
-1.4.19|themes/water_drop|||optional|r@
-1.4.19|themes/water_drop/style.css|1.4.19|4392|optional|r@
-1.4.19|themes/water_drop/template.html|1.4.19|4392|optional|r@
-1.4.19|themes/water_drop/theme.php|1.4.19|4392|optional|r@
-1.4.19|themes/water_drop/images|||optional|r@
-1.4.20|addpic.php|1.4.20|5705|mandatory|r@
-1.4.20|admin.php|1.4.20|5705|mandatory|r@
-1.4.20|albmgr.php|1.4.20|5705|mandatory|r@
-1.4.20|anycontent.php|1.4.20|5705|mandatory|r@
-1.4.20|banning.php|1.4.20|5705|mandatory|r@
-1.4.20|bridgemgr.php|1.4.20|5705|mandatory|r@
-1.4.20|calendar.php|1.4.20|5705|mandatory|r@
-1.4.20|catmgr.php|1.4.20|5705|mandatory|r@
-1.4.20|charsetmgr.php|1.4.20|5705|mandatory|r@
-1.4.20|config.php|1.4.20|5705|optional|r@
-1.4.20|db_ecard.php|1.4.20|5705|mandatory|r@
-1.4.20|db_input.php|1.4.20|5705|mandatory|r@
-1.4.20|delete.php|1.4.20|5705|mandatory|r@
-1.4.20|displayecard.php|1.4.20|5705|mandatory|r@
-1.4.20|displayimage.php|1.4.20|5705|mandatory|r@
-1.4.20|displayreport.php|1.4.20|5705|mandatory|r@
-1.4.20|ecard.php|1.4.20|5705|mandatory|r@
-1.4.20|editOnePic.php|1.4.20|5705|mandatory|r@
-1.4.20|editpics.php|1.4.20|5705|mandatory|r@
-1.4.20|exifmgr.php|1.4.20|5705|mandatory|r@
-1.4.20|faq.php|1.4.20|5705|mandatory|r@
-1.4.20|forgot_passwd.php|1.4.20|5705|mandatory|r@
-1.4.20|getlang.php|1.4.20|5705|mandatory|r@
-1.4.20|groupmgr.php|1.4.20|5705|mandatory|r@
-1.4.20|image_processor.php|1.4.20|5705|mandatory|r@
-1.4.20|index.php|1.4.20|5705|mandatory|r@
-1.4.20|install.php|1.4.20|5705|mandatory|r@
-1.4.20|installer.css|1.4.20|5705|mandatory|r@
-1.4.20|keyword_create_dict.php|1.4.20|5705|mandatory|r@
-1.4.20|keyword_select.php|1.4.20|5705|mandatory|r@
-1.4.20|keywordmgr.php|1.4.20|5705|mandatory|r@
-1.4.20|login.php|1.4.20|5705|mandatory|r@
-1.4.20|logout.php|1.4.20|5705|mandatory|r@
-1.4.20|minibrowser.php|1.4.20|5705|mandatory|r@
-1.4.20|mode.php|1.4.20|5705|mandatory|r@
-1.4.20|modifyalb.php|1.4.20|5705|mandatory|r@
-1.4.20|phpinfo.php|1.4.20|5705|mandatory|r@
-1.4.20|picEditor.php|1.4.20|5707|mandatory|r@
-1.4.20|picmgr.php|1.4.20|5705|mandatory|r@
-1.4.20|pluginmgr.php|1.4.20|5705|mandatory|r@
-1.4.20|profile.php|1.4.20|5705|mandatory|r@
-1.4.20|ratepic.php|1.4.20|5705|mandatory|r@
-1.4.20|register.php|1.4.20|5705|mandatory|r@
-1.4.20|relocate_server.php|1.4.20|5705|optional|r@
-1.4.20|report_file.php|1.4.20|5705|mandatory|r@
-1.4.20|reviewcom.php|1.4.20|5705|mandatory|r@
-1.4.20|scripts.js|1.4.20|5705|mandatory|r@
-1.4.20|search.php|1.4.20|5705|mandatory|r@
-1.4.20|searchnew.php|1.4.20|5705|mandatory|r@
-1.4.20|showthumb.php|1.4.20|5705|mandatory|r@
-1.4.20|stat_details.php|1.4.20|5705|mandatory|r@
-1.4.20|thumbnails.php|1.4.20|5705|mandatory|r@
-1.4.20|update.php|1.4.20|5705|mandatory|r@
-1.4.20|upgrade-1.0-to-1.2.php|1.4.20|5705|mandatory|r@
-1.4.20|upload.php|1.4.20|5705|mandatory|r@
-1.4.20|usermgr.php|1.4.20|5705|mandatory|r@
-1.4.20|util.php|1.4.20|5705|mandatory|r@
-1.4.20|versioncheck.php|1.4.20|5712|mandatory|r@
-1.4.20|viewlog.php|1.4.20|5705|mandatory|r@
-1.4.20|xp_publish.php|1.4.20|5705|mandatory|r@
-1.4.20|zipdownload.php|1.4.20|5705|mandatory|r@
-1.4.20|**fullpath**|||mandatory|w@
-1.4.20|**fullpath**/index.php|||optional|w@
-1.4.20|**fullpath**/edit/index.html|||optional|w@
-1.4.20|**fullpath**/edit/no_FTP-uploads_into_this_folder!|||optional|w@
-1.4.20|**fullpath**/edit|||mandatory|w@
-1.4.20|**fullpath**/edit/index.html|||optional|w@
-1.4.20|**fullpath**/**userpics**|||mandatory|w@
-1.4.20|**fullpath**/**userpics**/index.php|||optional|w@
-1.4.20|**fullpath**/**userpics**/no_FTP-uploads_into_this_folder!|||optional|w@
-1.4.20|bridge|||mandatory|r@
-1.4.20|bridge/coppermine.inc.php|1.4.20|5705|mandatory|r@
-1.4.20|bridge/invisionboard20.inc.php|1.4.20|5705|optional|r@
-1.4.20|bridge/mambo.inc.php|1.4.20|5705|optional|r@
-1.4.20|bridge/mybb.inc.php|1.4.20|5705|optional|r@
-1.4.20|bridge/phorum.inc.php|1.4.20|5705|optional|r@
-1.4.20|bridge/phpbb.inc.php|1.4.20|5705|optional|r@
-1.4.20|bridge/phpbb2018.inc.php|1.4.20|5705|optional|r@
-1.4.20|bridge/phpbb22.inc.php|1.4.20|5705|optional|r@
-1.4.20|bridge/punbb115.inc.php|1.4.20|5705|optional|r@
-1.4.20|bridge/punbb12.inc.php|1.4.20|5705|optional|r@
-1.4.20|bridge/smf10.inc.php|1.4.20|5705|optional|r@
-1.4.20|bridge/smf20.inc.php|1.4.20|5705|optional|r@
-1.4.20|bridge/udb_base.inc.php|1.4.20|5705|mandatory|r@
-1.4.20|bridge/vbulletin30.inc.php|1.4.20|5705|optional|r@
-1.4.20|bridge/xmb.inc.php|1.4.20|5706|optional|r@
-1.4.20|bridge/xoops.inc.php|1.4.20|5705|optional|r@
-1.4.20|docs|||mandatory|r@
-1.4.20|docs/faq.htm|||optional|r@
-1.4.20|docs/faq_de.htm|||optional|r@
-1.4.20|docs/faq_fr.htm|||optional|r@
-1.4.20|docs/index.htm|1.4.20|5710|mandatory|r@
-1.4.20|docs/index_es.htm|1.4.20|4392|mandatory|r@
-1.4.20|docs/index_fr.htm||5705|mandatory|r@
-1.4.20|docs/README.html||5705|optional|r@
-1.4.20|docs/showdoc.php|1.4.20|5705|mandatory|r@
-1.4.20|docs/style.css|1.4.20|5705|mandatory|r@
-1.4.20|docs/theme.htm|||optional|r@
-1.4.20|docs/translation.htm|||optional|r@
-1.4.20|docs/pics|||mandatory|r@
-1.4.20|docs/theme|||optional|r@
-1.4.20|docs/theme/edit_style.html|||optional|r@
-1.4.20|docs/theme/edit_template.html|||optional|r@
-1.4.20|docs/theme/edit_theme.html|1.4.20||optional|r@
-1.4.20|docs/theme/index.html|||optional|r@
-1.4.20|docs/theme/style.css|1.4.20|5705|optional|r@
-1.4.20|docs/theme/validation.html|||optional|r@
-1.4.20|include|||mandatory|w@
-1.4.20|include/archive.php|1.4.20|5705|mandatory|r@
-1.4.20|include/config.inc.php|||mandatory|r@
-1.4.20|include/config.inc.php.sample|||optional|r@
-1.4.20|include/crop.inc.php|1.4.20|5705|mandatory|r@
-1.4.20|include/debugger.inc.php|1.4.20|5705|mandatory|r@
-1.4.20|include/exif.php|1.4.20|5705|mandatory|r@
-1.4.20|include/exif_php.inc.php|1.4.20|5705|mandatory|r@
-1.4.20|include/functions.inc.php|1.4.20|5705|mandatory|r@
-1.4.20|include/imageObjectGD.class.php|1.4.20|5705|mandatory|r@
-1.4.20|include/imageObjectIM.class.php|1.4.20|5705|mandatory|r@
-1.4.20|include/index.html|1.4.20|4784|mandatory|r@
-1.4.20|include/init.inc.php|1.4.20|5710|mandatory|r@
-1.4.20|include/iptc.inc.php|1.4.20|5705|mandatory|r@
-1.4.20|include/keyword.inc.php|1.4.20|5705|mandatory|r@
-1.4.20|include/langfallback.inc.php|1.4.20|5705|mandatory|r@
-1.4.20|include/logger.inc.php|1.4.20|5705|mandatory|r@
-1.4.20|include/mailer.inc.php|1.4.20|5705|mandatory|r@
-1.4.20|include/mb.inc.php|1.4.20|5705|mandatory|r@
-1.4.20|include/media.functions.inc.php|1.4.20|5705|mandatory|r@
-1.4.20|include/phpmailer.lang-en.php|1.4.20|5705|mandatory|r@
-1.4.20|include/picmgmt.inc.php|1.4.20|5705|mandatory|r@
-1.4.20|include/plugin_api.inc.php|1.4.20|5705|mandatory|r@
-1.4.20|include/search.inc.php|1.4.20|5705|mandatory|r@
-1.4.20|include/select_lang.inc.php|1.4.20|5705|mandatory|r@
-1.4.20|include/slideshow.inc.php|1.4.20|5705|mandatory|r@
-1.4.20|include/smilies.inc.php|1.4.20|5705|mandatory|r@
-1.4.20|include/smtp.inc.php|1.4.20|5705|mandatory|r@
-1.4.20|include/sql_parse.php|1.4.20|5705|mandatory|r@
-1.4.20|include/themes.inc.php|1.4.20|5705|mandatory|r@
-1.4.20|include/update.inc.php|1.4.20|5705|mandatory|r@
-1.4.20|include/zip.lib.php|1.4.20|5705|mandatory|r@
-1.4.20|include/makers|||mandatory|w@
-1.4.20|include/makers/canon.php|1.4.20|5705|mandatory|r@
-1.4.20|include/makers/fujifilm.php|1.4.20|5705|mandatory|r@
-1.4.20|include/makers/gps.php|1.4.20|5705|mandatory|r@
-1.4.20|include/makers/nikon.php|1.4.20|5705|mandatory|r@
-1.4.20|include/makers/olympus.php|1.4.20|5705|mandatory|r@
-1.4.20|include/makers/sanyo.php|1.4.20|5705|mandatory|r@
-1.4.20|lang|||mandatory|r@
-1.4.20|lang/albanian.php|1.4.20|5705|optional|r@
-1.4.20|lang/arabic.php|1.4.20|5705|optional|r@
-1.4.20|lang/basque.php|1.4.20|5705|optional|r@
-1.4.20|lang/brazilian_portuguese.php|1.4.20|5705|optional|r@
-1.4.20|lang/bulgarian.php|1.4.20|5705|optional|r@
-1.4.20|lang/catalan.php|1.4.20|5705|optional|r@
-1.4.20|lang/chinese_big5.php|1.4.20|5705|optional|r@
-1.4.20|lang/chinese_gb.php|1.4.20|5705|optional|r@
-1.4.20|lang/czech.php|1.4.20|5705|optional|r@
-1.4.20|lang/danish.php|1.4.20|5705|optional|r@
-1.4.20|lang/dutch.php|1.4.20|5705|optional|r@
-1.4.20|lang/english.php|1.4.20|5705|mandatory|r@
-1.4.20|lang/english_gb.php|1.4.20|5705|optional|r@
-1.4.20|lang/estonian.php|1.4.20|5705|optional|r@
-1.4.20|lang/finnish.php|1.4.20|5705|optional|r@
-1.4.20|lang/french.php|1.4.20|5705|optional|r@
-1.4.20|lang/galician.php|1.4.20|5705|optional|r@
-1.4.20|lang/georgian.php|1.4.20|5705|optional|r@
-1.4.20|lang/german.php|1.4.20|5705|optional|r@
-1.4.20|lang/german_sie.php|1.4.20|5705|optional|r@
-1.4.20|lang/greek.php|1.4.20|5705|optional|r@
-1.4.20|lang/hebrew.php|1.4.20|5705|optional|r@
-1.4.20|lang/hindi.php|1.4.20|5705|optional|r@
-1.4.20|lang/hungarian.php|1.4.20|5705|optional|r@
-1.4.20|lang/indonesian.php|1.4.20|5705|optional|r@
-1.4.20|lang/italian.php|1.4.20|5705|optional|r@
-1.4.20|lang/japanese.php|1.4.20|5705|optional|r@
-1.4.20|lang/korean.php|1.4.20|5705|optional|r@
-1.4.20|lang/latvian.php|1.4.20|3966|optional|r@
-1.4.20|lang/lithuanian.php|1.4.20|5705|optional|r@
-1.4.20|lang/macedonian.php|1.4.20|5705|optional|r@
-1.4.20|lang/norwegian.php|1.4.20|5705|optional|r@
-1.4.20|lang/persian.php|1.4.20|5705|optional|r@
-1.4.20|lang/polish.php|1.4.20|5705|optional|r@
-1.4.20|lang/portuguese.php|1.4.20|5705|optional|r@
-1.4.20|lang/romanian.php|1.4.20|5705|optional|r@
-1.4.20|lang/russian.php|1.4.20|5705|optional|r@
-1.4.20|lang/serbian.php|1.4.20|5705|optional|r@
-1.4.20|lang/serbian_cy.php|1.4.20|3966|optional|r@
-1.4.20|lang/slovak.php|1.4.20|5705|optional|r@
-1.4.20|lang/slovenian.php|1.4.20|5705|optional|r@
-1.4.20|lang/spanish.php|1.4.20|5705|optional|r@
-1.4.20|lang/swedish.php|1.4.20|5705|optional|r@
-1.4.20|lang/thai.php|1.4.20|5705|optional|r@
-1.4.20|lang/turkish.php|1.4.20|5705|optional|r@
-1.4.20|lang/ukrainian.php|1.4.20|5705|optional|r@
-1.4.20|lang/vietnamese.php|1.4.20|5705|optional|r@
-1.4.20|lang/welsh.php|1.4.20|4380|optional|r@
-1.4.20|logs|||mandatory|w@
-1.4.20|logs/log_header.inc.php|1.4.20|5705|mandatory|r@
-1.4.20|plugins|||optional|r@
-1.4.20|plugins/sample|||optional|r@
-1.4.20|plugins/sample/codebase.php|1.4.20|5705|optional|r@
-1.4.20|plugins/sample/configuration.php|1.4.20|5705|optional|r@
-1.4.20|sql|||mandatory|r@
-1.4.20|sql/basic.sql|1.4.20|5705|mandatory|r@
-1.4.20|sql/schema.sql|1.4.20|5705|mandatory|r@
-1.4.20|sql/update.sql|1.4.20|5705|mandatory|r@
-1.4.20|themes|||mandatory|r@
-1.4.20|themes/classic|||optional|r@
-1.4.20|themes/classic/style.css|1.4.20|5705|optional|r@
-1.4.20|themes/classic/template.html|1.4.20|4784|optional|r@
-1.4.20|themes/classic/theme.php|1.4.20|5705|optional|r@
-1.4.20|themes/classic/images|||optional|r@
-1.4.20|themes/eyeball|||optional|r@
-1.4.20|themes/eyeball/style.css|1.4.20|5705|optional|r@
-1.4.20|themes/eyeball/template.html|1.4.20|4784|optional|r@
-1.4.20|themes/eyeball/theme.php|1.4.20|5705|optional|r@
-1.4.20|themes/eyeball/images|||optional|r@
-1.4.20|themes/fruity|||optional|r@
-1.4.20|themes/fruity/style.css|1.4.20|5705|optional|r@
-1.4.20|themes/fruity/template.html|1.4.20|4784|optional|r@
-1.4.20|themes/fruity/theme.php|1.4.20|5705|optional|r@
-1.4.20|themes/fruity/images|||optional|r@
-1.4.20|themes/hardwired|||optional|r@
-1.4.20|themes/hardwired/style.css|1.4.20|5705|optional|r@
-1.4.20|themes/hardwired/template.html|1.4.20|4784|optional|r@
-1.4.20|themes/hardwired/theme.php|1.4.20|5711|optional|r@
-1.4.20|themes/hardwired/images|||optional|r@
-1.4.20|themes/igames|||optional|r@
-1.4.20|themes/igames/style.css|1.4.20|5705|optional|r@
-1.4.20|themes/igames/template.html|1.4.20|4784|optional|r@
-1.4.20|themes/igames/theme.php|1.4.20|5705|optional|r@
-1.4.20|themes/igames/images|||optional|r@
-1.4.20|themes/mac_ox_x|||optional|r@
-1.4.20|themes/mac_ox_x/style.css|1.4.20|5705|optional|r@
-1.4.20|themes/mac_ox_x/template.html|1.4.20|4784|optional|r@
-1.4.20|themes/mac_ox_x/theme.php|1.4.20|5705|optional|r@
-1.4.20|themes/mac_ox_x/images|||optional|r@
-1.4.20|themes/project_vii|||optional|r@
-1.4.20|themes/project_vii/style.css|1.4.20|5705|optional|r@
-1.4.20|themes/project_vii/template.html|1.4.20|4784|optional|r@
-1.4.20|themes/project_vii/theme.php|1.4.20|5705|optional|r@
-1.4.20|themes/project_vii/images|||optional|r@
-1.4.20|themes/rainy_day|||optional|r@
-1.4.20|themes/rainy_day/style.css|1.4.20|5705|optional|r@
-1.4.20|themes/rainy_day/template.html|1.4.20|4784|optional|r@
-1.4.20|themes/rainy_day/theme.php|1.4.20|5705|optional|r@
-1.4.20|themes/rainy_day/images|||optional|r@
-1.4.20|themes/sample|||optional|r@
-1.4.20|themes/sample/style.css|1.4.20|5705|optional|r@
-1.4.20|themes/sample/template.html|1.4.20|4784|optional|r@
-1.4.20|themes/sample/theme.php|1.4.20|5705|optional|r@
-1.4.20|themes/sample/images|||optional|r@
-1.4.20|themes/water_drop|||optional|r@
-1.4.20|themes/water_drop/style.css|1.4.20|5705|optional|r@
-1.4.20|themes/water_drop/template.html|1.4.20|4784|optional|r@
-1.4.20|themes/water_drop/theme.php|1.4.20|5705|optional|r@
-1.4.20|themes/water_drop/images|||optional|r@
-1.4.21|addpic.php|1.4.21|5728|mandatory|r@
-1.4.21|admin.php|1.4.21|5728|mandatory|r@
-1.4.21|albmgr.php|1.4.21|5728|mandatory|r@
-1.4.21|anycontent.php|1.4.21|5728|mandatory|r@
-1.4.21|banning.php|1.4.21|5728|mandatory|r@
-1.4.21|bridgemgr.php|1.4.21|5728|mandatory|r@
-1.4.21|calendar.php|1.4.21|5728|mandatory|r@
-1.4.21|catmgr.php|1.4.21|5728|mandatory|r@
-1.4.21|charsetmgr.php|1.4.21|5728|mandatory|r@
-1.4.21|config.php|1.4.21|5728|optional|r@
-1.4.21|db_ecard.php|1.4.21|5728|mandatory|r@
-1.4.21|db_input.php|1.4.21|5728|mandatory|r@
-1.4.21|delete.php|1.4.21|5728|mandatory|r@
-1.4.21|displayecard.php|1.4.21|5728|mandatory|r@
-1.4.21|displayimage.php|1.4.21|5728|mandatory|r@
-1.4.21|displayreport.php|1.4.21|5728|mandatory|r@
-1.4.21|ecard.php|1.4.21|5728|mandatory|r@
-1.4.21|editOnePic.php|1.4.21|5728|mandatory|r@
-1.4.21|editpics.php|1.4.21|5728|mandatory|r@
-1.4.21|exifmgr.php|1.4.21|5728|mandatory|r@
-1.4.21|faq.php|1.4.21|5728|mandatory|r@
-1.4.21|forgot_passwd.php|1.4.21|5728|mandatory|r@
-1.4.21|getlang.php|1.4.21|5728|mandatory|r@
-1.4.21|groupmgr.php|1.4.21|5728|mandatory|r@
-1.4.21|image_processor.php|1.4.21|5728|mandatory|r@
-1.4.21|index.php|1.4.21|5728|mandatory|r@
-1.4.21|install.php|1.4.21|5728|mandatory|r@
-1.4.21|installer.css|1.4.21|5728|mandatory|r@
-1.4.21|keyword_create_dict.php|1.4.21|5728|mandatory|r@
-1.4.21|keyword_select.php|1.4.21|5728|mandatory|r@
-1.4.21|keywordmgr.php|1.4.21|5728|mandatory|r@
-1.4.21|login.php|1.4.21|5728|mandatory|r@
-1.4.21|logout.php|1.4.21|5728|mandatory|r@
-1.4.21|minibrowser.php|1.4.21|5728|mandatory|r@
-1.4.21|mode.php|1.4.21|5728|mandatory|r@
-1.4.21|modifyalb.php|1.4.21|5728|mandatory|r@
-1.4.21|phpinfo.php|1.4.21|5728|mandatory|r@
-1.4.21|picEditor.php|1.4.21|5728|mandatory|r@
-1.4.21|picmgr.php|1.4.21|5728|mandatory|r@
-1.4.21|pluginmgr.php|1.4.21|5728|mandatory|r@
-1.4.21|profile.php|1.4.21|5728|mandatory|r@
-1.4.21|ratepic.php|1.4.21|5730|mandatory|r@
-1.4.21|register.php|1.4.21|5728|mandatory|r@
-1.4.21|relocate_server.php|1.4.21|5728|optional|r@
-1.4.21|report_file.php|1.4.21|5728|mandatory|r@
-1.4.21|reviewcom.php|1.4.21|5728|mandatory|r@
-1.4.21|scripts.js|1.4.21|5728|mandatory|r@
-1.4.21|search.php|1.4.21|5728|mandatory|r@
-1.4.21|searchnew.php|1.4.21|5728|mandatory|r@
-1.4.21|showthumb.php|1.4.21|5728|mandatory|r@
-1.4.21|stat_details.php|1.4.21|5728|mandatory|r@
-1.4.21|thumbnails.php|1.4.21|5728|mandatory|r@
-1.4.21|update.php|1.4.21|5728|mandatory|r@
-1.4.21|upgrade-1.0-to-1.2.php|1.4.21|5728|mandatory|r@
-1.4.21|upload.php|1.4.21|5728|mandatory|r@
-1.4.21|usermgr.php|1.4.21|5728|mandatory|r@
-1.4.21|util.php|1.4.21|5728|mandatory|r@
-1.4.21|versioncheck.php|1.4.21|5738|mandatory|r@
-1.4.21|viewlog.php|1.4.21|5728|mandatory|r@
-1.4.21|xp_publish.php|1.4.21|5728|mandatory|r@
-1.4.21|zipdownload.php|1.4.21|5728|mandatory|r@
-1.4.21|**fullpath**|||mandatory|w@
-1.4.21|**fullpath**/index.php|||optional|w@
-1.4.21|**fullpath**/edit/index.html|||optional|w@
-1.4.21|**fullpath**/edit/no_FTP-uploads_into_this_folder!|||optional|w@
-1.4.21|**fullpath**/edit|||mandatory|w@
-1.4.21|**fullpath**/edit/index.html|||optional|w@
-1.4.21|**fullpath**/**userpics**|||mandatory|w@
-1.4.21|**fullpath**/**userpics**/index.php|||optional|w@
-1.4.21|**fullpath**/**userpics**/no_FTP-uploads_into_this_folder!|||optional|w@
-1.4.21|bridge|||mandatory|r@
-1.4.21|bridge/coppermine.inc.php|1.4.21|5728|mandatory|r@
-1.4.21|bridge/invisionboard20.inc.php|1.4.21|5728|optional|r@
-1.4.21|bridge/mambo.inc.php|1.4.21|5728|optional|r@
-1.4.21|bridge/mybb.inc.php|1.4.21|5728|optional|r@
-1.4.21|bridge/phorum.inc.php|1.4.21|5728|optional|r@
-1.4.21|bridge/phpbb.inc.php|1.4.21|5728|optional|r@
-1.4.21|bridge/phpbb2018.inc.php|1.4.21|5728|optional|r@
-1.4.21|bridge/phpbb22.inc.php|1.4.21|5728|optional|r@
-1.4.21|bridge/punbb115.inc.php|1.4.21|5728|optional|r@
-1.4.21|bridge/punbb12.inc.php|1.4.21|5728|optional|r@
-1.4.21|bridge/smf10.inc.php|1.4.21|5728|optional|r@
-1.4.21|bridge/smf20.inc.php|1.4.21|5728|optional|r@
-1.4.21|bridge/udb_base.inc.php|1.4.21|5728|mandatory|r@
-1.4.21|bridge/vbulletin30.inc.php|1.4.21|5728|optional|r@
-1.4.21|bridge/xmb.inc.php|1.4.21|5728|optional|r@
-1.4.21|bridge/xoops.inc.php|1.4.21|5728|optional|r@
-1.4.21|docs|||mandatory|r@
-1.4.21|docs/faq.htm|||optional|r@
-1.4.21|docs/faq_de.htm|||optional|r@
-1.4.21|docs/faq_fr.htm|||optional|r@
-1.4.21|docs/index.htm|1.4.21|5736|mandatory|r@
-1.4.21|docs/index_es.htm|1.4.21|4392|mandatory|r@
-1.4.21|docs/index_fr.htm||5728|mandatory|r@
-1.4.21|docs/README.html||5728|optional|r@
-1.4.21|docs/showdoc.php|1.4.21|5728|mandatory|r@
-1.4.21|docs/style.css|1.4.21|5728|mandatory|r@
-1.4.21|docs/theme.htm|||optional|r@
-1.4.21|docs/translation.htm|||optional|r@
-1.4.21|docs/pics|||mandatory|r@
-1.4.21|docs/theme|||optional|r@
-1.4.21|docs/theme/edit_style.html|||optional|r@
-1.4.21|docs/theme/edit_template.html|||optional|r@
-1.4.21|docs/theme/edit_theme.html|1.4.21||optional|r@
-1.4.21|docs/theme/index.html|||optional|r@
-1.4.21|docs/theme/style.css|1.4.21|5728|optional|r@
-1.4.21|docs/theme/validation.html|||optional|r@
-1.4.21|include|||mandatory|w@
-1.4.21|include/archive.php|1.4.21|5728|mandatory|r@
-1.4.21|include/config.inc.php|||mandatory|r@
-1.4.21|include/config.inc.php.sample|||optional|r@
-1.4.21|include/crop.inc.php|1.4.21|5728|mandatory|r@
-1.4.21|include/debugger.inc.php|1.4.21|5728|mandatory|r@
-1.4.21|include/exif.php|1.4.21|5728|mandatory|r@
-1.4.21|include/exif_php.inc.php|1.4.21|5728|mandatory|r@
-1.4.21|include/functions.inc.php|1.4.21|5737|mandatory|r@
-1.4.21|include/imageObjectGD.class.php|1.4.21|5728|mandatory|r@
-1.4.21|include/imageObjectIM.class.php|1.4.21|5728|mandatory|r@
-1.4.21|include/index.html|1.4.21|5728|mandatory|r@
-1.4.21|include/init.inc.php|1.4.21|5728|mandatory|r@
-1.4.21|include/iptc.inc.php|1.4.21|5728|mandatory|r@
-1.4.21|include/keyword.inc.php|1.4.21|5728|mandatory|r@
-1.4.21|include/langfallback.inc.php|1.4.21|5728|mandatory|r@
-1.4.21|include/logger.inc.php|1.4.21|5728|mandatory|r@
-1.4.21|include/mailer.inc.php|1.4.21|5728|mandatory|r@
-1.4.21|include/mb.inc.php|1.4.21|5728|mandatory|r@
-1.4.21|include/media.functions.inc.php|1.4.21|5728|mandatory|r@
-1.4.21|include/phpmailer.lang-en.php|1.4.21|5728|mandatory|r@
-1.4.21|include/picmgmt.inc.php|1.4.21|5728|mandatory|r@
-1.4.21|include/plugin_api.inc.php|1.4.21|5728|mandatory|r@
-1.4.21|include/search.inc.php|1.4.21|5728|mandatory|r@
-1.4.21|include/select_lang.inc.php|1.4.21|5728|mandatory|r@
-1.4.21|include/slideshow.inc.php|1.4.21|5728|mandatory|r@
-1.4.21|include/smilies.inc.php|1.4.21|5728|mandatory|r@
-1.4.21|include/smtp.inc.php|1.4.21|5728|mandatory|r@
-1.4.21|include/sql_parse.php|1.4.21|5728|mandatory|r@
-1.4.21|include/themes.inc.php|1.4.21|5728|mandatory|r@
-1.4.21|include/update.inc.php|1.4.21|5728|mandatory|r@
-1.4.21|include/zip.lib.php|1.4.21|5728|mandatory|r@
-1.4.21|include/makers|||mandatory|w@
-1.4.21|include/makers/canon.php|1.4.21|5728|mandatory|r@
-1.4.21|include/makers/fujifilm.php|1.4.21|5728|mandatory|r@
-1.4.21|include/makers/gps.php|1.4.21|5728|mandatory|r@
-1.4.21|include/makers/nikon.php|1.4.21|5728|mandatory|r@
-1.4.21|include/makers/olympus.php|1.4.21|5728|mandatory|r@
-1.4.21|include/makers/sanyo.php|1.4.21|5728|mandatory|r@
-1.4.21|lang|||mandatory|r@
-1.4.21|lang/albanian.php|1.4.21|5728|optional|r@
-1.4.21|lang/arabic.php|1.4.21|5728|optional|r@
-1.4.21|lang/basque.php|1.4.21|5728|optional|r@
-1.4.21|lang/brazilian_portuguese.php|1.4.21|5728|optional|r@
-1.4.21|lang/bulgarian.php|1.4.21|5728|optional|r@
-1.4.21|lang/catalan.php|1.4.21|5728|optional|r@
-1.4.21|lang/chinese_big5.php|1.4.21|5728|optional|r@
-1.4.21|lang/chinese_gb.php|1.4.21|5728|optional|r@
-1.4.21|lang/czech.php|1.4.21|5728|optional|r@
-1.4.21|lang/danish.php|1.4.21|5728|optional|r@
-1.4.21|lang/dutch.php|1.4.21|5728|optional|r@
-1.4.21|lang/english.php|1.4.21|5728|mandatory|r@
-1.4.21|lang/english_gb.php|1.4.21|5728|optional|r@
-1.4.21|lang/estonian.php|1.4.21|5728|optional|r@
-1.4.21|lang/finnish.php|1.4.21|5728|optional|r@
-1.4.21|lang/french.php|1.4.21|5728|optional|r@
-1.4.21|lang/galician.php|1.4.21|5728|optional|r@
-1.4.21|lang/georgian.php|1.4.21|5728|optional|r@
-1.4.21|lang/german.php|1.4.21|5728|optional|r@
-1.4.21|lang/german_sie.php|1.4.21|5728|optional|r@
-1.4.21|lang/greek.php|1.4.21|5728|optional|r@
-1.4.21|lang/hebrew.php|1.4.21|5728|optional|r@
-1.4.21|lang/hindi.php|1.4.21|5728|optional|r@
-1.4.21|lang/hungarian.php|1.4.21|5728|optional|r@
-1.4.21|lang/indonesian.php|1.4.21|5728|optional|r@
-1.4.21|lang/italian.php|1.4.21|5728|optional|r@
-1.4.21|lang/japanese.php|1.4.21|5728|optional|r@
-1.4.21|lang/korean.php|1.4.21|5728|optional|r@
-1.4.21|lang/latvian.php|1.4.21|3966|optional|r@
-1.4.21|lang/lithuanian.php|1.4.21|5728|optional|r@
-1.4.21|lang/macedonian.php|1.4.21|5728|optional|r@
-1.4.21|lang/norwegian.php|1.4.21|5728|optional|r@
-1.4.21|lang/persian.php|1.4.21|5728|optional|r@
-1.4.21|lang/polish.php|1.4.21|5728|optional|r@
-1.4.21|lang/portuguese.php|1.4.21|5728|optional|r@
-1.4.21|lang/romanian.php|1.4.21|5728|optional|r@
-1.4.21|lang/russian.php|1.4.21|5728|optional|r@
-1.4.21|lang/serbian.php|1.4.21|5728|optional|r@
-1.4.21|lang/serbian_cy.php|1.4.21|3966|optional|r@
-1.4.21|lang/slovak.php|1.4.21|5728|optional|r@
-1.4.21|lang/slovenian.php|1.4.21|5728|optional|r@
-1.4.21|lang/spanish.php|1.4.21|5728|optional|r@
-1.4.21|lang/swedish.php|1.4.21|5728|optional|r@
-1.4.21|lang/thai.php|1.4.21|5728|optional|r@
-1.4.21|lang/turkish.php|1.4.21|5728|optional|r@
-1.4.21|lang/ukrainian.php|1.4.21|5728|optional|r@
-1.4.21|lang/vietnamese.php|1.4.21|5728|optional|r@
-1.4.21|lang/welsh.php|1.4.21|4380|optional|r@
-1.4.21|logs|||mandatory|w@
-1.4.21|logs/log_header.inc.php|1.4.21|5728|mandatory|r@
-1.4.21|plugins|||optional|r@
-1.4.21|plugins/sample|||optional|r@
-1.4.21|plugins/sample/codebase.php|1.4.21|5728|optional|r@
-1.4.21|plugins/sample/configuration.php|1.4.21|5728|optional|r@
-1.4.21|sql|||mandatory|r@
-1.4.21|sql/basic.sql|1.4.21|5728|mandatory|r@
-1.4.21|sql/schema.sql|1.4.21|5728|mandatory|r@
-1.4.21|sql/update.sql|1.4.21|5728|mandatory|r@
-1.4.21|themes|||mandatory|r@
-1.4.21|themes/classic|||optional|r@
-1.4.21|themes/classic/style.css|1.4.21|5728|optional|r@
-1.4.21|themes/classic/template.html|1.4.21|5728|optional|r@
-1.4.21|themes/classic/theme.php|1.4.21|5728|optional|r@
-1.4.21|themes/classic/images|||optional|r@
-1.4.21|themes/eyeball|||optional|r@
-1.4.21|themes/eyeball/style.css|1.4.21|5728|optional|r@
-1.4.21|themes/eyeball/template.html|1.4.21|5728|optional|r@
-1.4.21|themes/eyeball/theme.php|1.4.21|5728|optional|r@
-1.4.21|themes/eyeball/images|||optional|r@
-1.4.21|themes/fruity|||optional|r@
-1.4.21|themes/fruity/style.css|1.4.21|5728|optional|r@
-1.4.21|themes/fruity/template.html|1.4.21|5728|optional|r@
-1.4.21|themes/fruity/theme.php|1.4.21|5728|optional|r@
-1.4.21|themes/fruity/images|||optional|r@
-1.4.21|themes/hardwired|||optional|r@
-1.4.21|themes/hardwired/style.css|1.4.21|5728|optional|r@
-1.4.21|themes/hardwired/template.html|1.4.21|5728|optional|r@
-1.4.21|themes/hardwired/theme.php|1.4.21|5728|optional|r@
-1.4.21|themes/hardwired/images|||optional|r@
-1.4.21|themes/igames|||optional|r@
-1.4.21|themes/igames/style.css|1.4.21|5728|optional|r@
-1.4.21|themes/igames/template.html|1.4.21|5728|optional|r@
-1.4.21|themes/igames/theme.php|1.4.21|5728|optional|r@
-1.4.21|themes/igames/images|||optional|r@
-1.4.21|themes/mac_ox_x|||optional|r@
-1.4.21|themes/mac_ox_x/style.css|1.4.21|5728|optional|r@
-1.4.21|themes/mac_ox_x/template.html|1.4.21|5728|optional|r@
-1.4.21|themes/mac_ox_x/theme.php|1.4.21|5728|optional|r@
-1.4.21|themes/mac_ox_x/images|||optional|r@
-1.4.21|themes/project_vii|||optional|r@
-1.4.21|themes/project_vii/style.css|1.4.21|5728|optional|r@
-1.4.21|themes/project_vii/template.html|1.4.21|5728|optional|r@
-1.4.21|themes/project_vii/theme.php|1.4.21|5728|optional|r@
-1.4.21|themes/project_vii/images|||optional|r@
-1.4.21|themes/rainy_day|||optional|r@
-1.4.21|themes/rainy_day/style.css|1.4.21|5728|optional|r@
-1.4.21|themes/rainy_day/template.html|1.4.21|5728|optional|r@
-1.4.21|themes/rainy_day/theme.php|1.4.21|5728|optional|r@
-1.4.21|themes/rainy_day/images|||optional|r@
-1.4.21|themes/sample|||optional|r@
-1.4.21|themes/sample/style.css|1.4.21|5728|optional|r@
-1.4.21|themes/sample/template.html|1.4.21|5728|optional|r@
-1.4.21|themes/sample/theme.php|1.4.21|5728|optional|r@
-1.4.21|themes/sample/images|||optional|r@
-1.4.21|themes/water_drop|||optional|r@
-1.4.21|themes/water_drop/style.css|1.4.21|5728|optional|r@
-1.4.21|themes/water_drop/template.html|1.4.21|5728|optional|r@
-1.4.21|themes/water_drop/theme.php|1.4.21|5728|optional|r@
-1.4.21|themes/water_drop/images|||optional|r@
-1.4.22|addpic.php|1.4.22|5740|mandatory|r@
-1.4.22|admin.php|1.4.22|5740|mandatory|r@
-1.4.22|albmgr.php|1.4.22|5740|mandatory|r@
-1.4.22|anycontent.php|1.4.22|5740|mandatory|r@
-1.4.22|banning.php|1.4.22|5740|mandatory|r@
-1.4.22|bridgemgr.php|1.4.22|5740|mandatory|r@
-1.4.22|calendar.php|1.4.22|5740|mandatory|r@
-1.4.22|catmgr.php|1.4.22|5740|mandatory|r@
-1.4.22|charsetmgr.php|1.4.22|5740|mandatory|r@
-1.4.22|config.php|1.4.22|5740|optional|r@
-1.4.22|db_ecard.php|1.4.22|5740|mandatory|r@
-1.4.22|db_input.php|1.4.22|5740|mandatory|r@
-1.4.22|delete.php|1.4.22|5740|mandatory|r@
-1.4.22|displayecard.php|1.4.22|5740|mandatory|r@
-1.4.22|displayimage.php|1.4.22|5740|mandatory|r@
-1.4.22|displayreport.php|1.4.22|5740|mandatory|r@
-1.4.22|ecard.php|1.4.22|5740|mandatory|r@
-1.4.22|editOnePic.php|1.4.22|5740|mandatory|r@
-1.4.22|editpics.php|1.4.22|5740|mandatory|r@
-1.4.22|exifmgr.php|1.4.22|5740|mandatory|r@
-1.4.22|faq.php|1.4.22|5740|mandatory|r@
-1.4.22|forgot_passwd.php|1.4.22|5740|mandatory|r@
-1.4.22|getlang.php|1.4.22|5740|mandatory|r@
-1.4.22|groupmgr.php|1.4.22|5740|mandatory|r@
-1.4.22|image_processor.php|1.4.22|5740|mandatory|r@
-1.4.22|index.php|1.4.22|5740|mandatory|r@
-1.4.22|install.php|1.4.22|5740|mandatory|r@
-1.4.22|installer.css|1.4.22|5740|mandatory|r@
-1.4.22|keyword_create_dict.php|1.4.22|5740|mandatory|r@
-1.4.22|keyword_select.php|1.4.22|5740|mandatory|r@
-1.4.22|keywordmgr.php|1.4.22|5740|mandatory|r@
-1.4.22|login.php|1.4.22|5740|mandatory|r@
-1.4.22|logout.php|1.4.22|5740|mandatory|r@
-1.4.22|minibrowser.php|1.4.22|5740|mandatory|r@
-1.4.22|mode.php|1.4.22|5740|mandatory|r@
-1.4.22|modifyalb.php|1.4.22|5740|mandatory|r@
-1.4.22|phpinfo.php|1.4.22|5740|mandatory|r@
-1.4.22|picEditor.php|1.4.22|5740|mandatory|r@
-1.4.22|picmgr.php|1.4.22|5740|mandatory|r@
-1.4.22|pluginmgr.php|1.4.22|5740|mandatory|r@
-1.4.22|profile.php|1.4.22|5740|mandatory|r@
-1.4.22|ratepic.php|1.4.22|5740|mandatory|r@
-1.4.22|register.php|1.4.22|5740|mandatory|r@
-1.4.22|relocate_server.php|1.4.22|5740|optional|r@
-1.4.22|report_file.php|1.4.22|5740|mandatory|r@
-1.4.22|reviewcom.php|1.4.22|5740|mandatory|r@
-1.4.22|scripts.js|1.4.22|5740|mandatory|r@
-1.4.22|search.php|1.4.22|5740|mandatory|r@
-1.4.22|searchnew.php|1.4.22|5740|mandatory|r@
-1.4.22|showthumb.php|1.4.22|5740|mandatory|r@
-1.4.22|stat_details.php|1.4.22|5740|mandatory|r@
-1.4.22|thumbnails.php|1.4.22|5740|mandatory|r@
-1.4.22|update.php|1.4.22|5740|mandatory|r@
-1.4.22|upgrade-1.0-to-1.2.php|1.4.22|5740|mandatory|r@
-1.4.22|upload.php|1.4.22|5740|mandatory|r@
-1.4.22|usermgr.php|1.4.22|5849|mandatory|r@
-1.4.22|util.php|1.4.22|5740|mandatory|r@
-1.4.22|versioncheck.php|1.4.22|5885|mandatory|r@
-1.4.22|viewlog.php|1.4.22|5740|mandatory|r@
-1.4.22|xp_publish.php|1.4.22|5740|mandatory|r@
-1.4.22|zipdownload.php|1.4.22|5740|mandatory|r@
-1.4.22|**fullpath**|||mandatory|w@
-1.4.22|**fullpath**/index.php|||optional|w@
-1.4.22|**fullpath**/edit/index.html|||optional|w@
-1.4.22|**fullpath**/edit/no_FTP-uploads_into_this_folder!|||optional|w@
-1.4.22|**fullpath**/edit|||mandatory|w@
-1.4.22|**fullpath**/edit/index.html|||optional|w@
-1.4.22|**fullpath**/**userpics**|||mandatory|w@
-1.4.22|**fullpath**/**userpics**/index.php|||optional|w@
-1.4.22|**fullpath**/**userpics**/no_FTP-uploads_into_this_folder!|||optional|w@
-1.4.22|bridge|||mandatory|r@
-1.4.22|bridge/coppermine.inc.php|1.4.22|5740|mandatory|r@
-1.4.22|bridge/invisionboard20.inc.php|1.4.22|5740|optional|r@
-1.4.22|bridge/mambo.inc.php|1.4.22|5740|optional|r@
-1.4.22|bridge/mybb.inc.php|1.4.22|5740|optional|r@
-1.4.22|bridge/phorum.inc.php|1.4.22|5740|optional|r@
-1.4.22|bridge/phpbb.inc.php|1.4.22|5740|optional|r@
-1.4.22|bridge/phpbb2018.inc.php|1.4.22|5740|optional|r@
-1.4.22|bridge/phpbb22.inc.php|1.4.22|5740|optional|r@
-1.4.22|bridge/punbb115.inc.php|1.4.22|5740|optional|r@
-1.4.22|bridge/punbb12.inc.php|1.4.22|5740|optional|r@
-1.4.22|bridge/smf10.inc.php|1.4.22|5740|optional|r@
-1.4.22|bridge/smf20.inc.php|1.4.22|5740|optional|r@
-1.4.22|bridge/udb_base.inc.php|1.4.22|5740|mandatory|r@
-1.4.22|bridge/vbulletin30.inc.php|1.4.22|5740|optional|r@
-1.4.22|bridge/xmb.inc.php|1.4.22|5740|optional|r@
-1.4.22|bridge/xoops.inc.php|1.4.22|5740|optional|r@
-1.4.22|docs|||mandatory|r@
-1.4.22|docs/faq.htm|1.4.22|5740|optional|r@
-1.4.22|docs/faq_de.htm|1.4.22|5740|optional|r@
-1.4.22|docs/faq_fr.htm|1.4.22|5740|optional|r@
-1.4.22|docs/index.htm|1.4.22|5882|mandatory|r@
-1.4.22|docs/index_es.htm|1.4.22|4392|mandatory|r@
-1.4.22|docs/index_fr.htm|1.4.22|5740|mandatory|r@
-1.4.22|docs/README.html|1.4.22|5740|optional|r@
-1.4.22|docs/showdoc.php|1.4.22|5879|mandatory|r@
-1.4.22|docs/style.css|1.4.22|5740|mandatory|r@
-1.4.22|docs/theme.htm|1.4.22|5740|optional|r@
-1.4.22|docs/translation.htm|1.4.22|5740|optional|r@
-1.4.22|docs/pics|||mandatory|r@
-1.4.22|docs/theme|||optional|r@
-1.4.22|docs/theme/edit_style.html|||optional|r@
-1.4.22|docs/theme/edit_template.html|||optional|r@
-1.4.22|docs/theme/edit_theme.html|1.4.22||optional|r@
-1.4.22|docs/theme/index.html|||optional|r@
-1.4.22|docs/theme/style.css|1.4.22|5740|optional|r@
-1.4.22|docs/theme/validation.html|||optional|r@
-1.4.22|include|||mandatory|w@
-1.4.22|include/archive.php|1.4.22|5740|mandatory|r@
-1.4.22|include/config.inc.php|||mandatory|r@
-1.4.22|include/config.inc.php.sample|||optional|r@
-1.4.22|include/crop.inc.php|1.4.22|5740|mandatory|r@
-1.4.22|include/debugger.inc.php|1.4.22|5740|mandatory|r@
-1.4.22|include/exif.php|1.4.22|5740|mandatory|r@
-1.4.22|include/exif_php.inc.php|1.4.22|5740|mandatory|r@
-1.4.22|include/functions.inc.php|1.4.22|5740|mandatory|r@
-1.4.22|include/imageObjectGD.class.php|1.4.22|5740|mandatory|r@
-1.4.22|include/imageObjectIM.class.php|1.4.22|5740|mandatory|r@
-1.4.22|include/index.html|1.4.22|5740|mandatory|r@
-1.4.22|include/init.inc.php|1.4.22|5880|mandatory|r@
-1.4.22|include/iptc.inc.php|1.4.22|5740|mandatory|r@
-1.4.22|include/keyword.inc.php|1.4.22|5740|mandatory|r@
-1.4.22|include/langfallback.inc.php|1.4.22|5740|mandatory|r@
-1.4.22|include/logger.inc.php|1.4.22|5740|mandatory|r@
-1.4.22|include/mailer.inc.php|1.4.22|5740|mandatory|r@
-1.4.22|include/mb.inc.php|1.4.22|5740|mandatory|r@
-1.4.22|include/media.functions.inc.php|1.4.22|5740|mandatory|r@
-1.4.22|include/phpmailer.lang-en.php|1.4.22|5740|mandatory|r@
-1.4.22|include/picmgmt.inc.php|1.4.22|5740|mandatory|r@
-1.4.22|include/plugin_api.inc.php|1.4.22|5740|mandatory|r@
-1.4.22|include/search.inc.php|1.4.22|5740|mandatory|r@
-1.4.22|include/select_lang.inc.php|1.4.22|5740|mandatory|r@
-1.4.22|include/slideshow.inc.php|1.4.22|5740|mandatory|r@
-1.4.22|include/smilies.inc.php|1.4.22|5740|mandatory|r@
-1.4.22|include/smtp.inc.php|1.4.22|5740|mandatory|r@
-1.4.22|include/sql_parse.php|1.4.22|5740|mandatory|r@
-1.4.22|include/themes.inc.php|1.4.22|5740|mandatory|r@
-1.4.22|include/update.inc.php|1.4.22|5740|mandatory|r@
-1.4.22|include/zip.lib.php|1.4.22|5740|mandatory|r@
-1.4.22|include/makers|||mandatory|w@
-1.4.22|include/makers/canon.php|1.4.22|5740|mandatory|r@
-1.4.22|include/makers/fujifilm.php|1.4.22|5740|mandatory|r@
-1.4.22|include/makers/gps.php|1.4.22|5740|mandatory|r@
-1.4.22|include/makers/nikon.php|1.4.22|5740|mandatory|r@
-1.4.22|include/makers/olympus.php|1.4.22|5740|mandatory|r@
-1.4.22|include/makers/sanyo.php|1.4.22|5740|mandatory|r@
-1.4.22|lang|||mandatory|r@
-1.4.22|lang/albanian.php|1.4.22|5740|optional|r@
-1.4.22|lang/arabic.php|1.4.22|5740|optional|r@
-1.4.22|lang/basque.php|1.4.22|5740|optional|r@
-1.4.22|lang/brazilian_portuguese.php|1.4.22|5740|optional|r@
-1.4.22|lang/bulgarian.php|1.4.22|5740|optional|r@
-1.4.22|lang/catalan.php|1.4.22|5740|optional|r@
-1.4.22|lang/chinese_big5.php|1.4.22|5740|optional|r@
-1.4.22|lang/chinese_gb.php|1.4.22|5740|optional|r@
-1.4.22|lang/czech.php|1.4.22|5740|optional|r@
-1.4.22|lang/danish.php|1.4.22|5740|optional|r@
-1.4.22|lang/dutch.php|1.4.22|5740|optional|r@
-1.4.22|lang/english.php|1.4.22|5740|mandatory|r@
-1.4.22|lang/english_gb.php|1.4.22|5740|optional|r@
-1.4.22|lang/estonian.php|1.4.22|5740|optional|r@
-1.4.22|lang/finnish.php|1.4.22|5740|optional|r@
-1.4.22|lang/french.php|1.4.22|5740|optional|r@
-1.4.22|lang/galician.php|1.4.22|5740|optional|r@
-1.4.22|lang/georgian.php|1.4.22|5740|optional|r@
-1.4.22|lang/german.php|1.4.22|5740|optional|r@
-1.4.22|lang/german_sie.php|1.4.22|5740|optional|r@
-1.4.22|lang/greek.php|1.4.22|5740|optional|r@
-1.4.22|lang/hebrew.php|1.4.22|5740|optional|r@
-1.4.22|lang/hindi.php|1.4.22|5740|optional|r@
-1.4.22|lang/hungarian.php|1.4.22|5740|optional|r@
-1.4.22|lang/indonesian.php|1.4.22|5740|optional|r@
-1.4.22|lang/italian.php|1.4.22|5740|optional|r@
-1.4.22|lang/japanese.php|1.4.22|5740|optional|r@
-1.4.22|lang/korean.php|1.4.22|5740|optional|r@
-1.4.22|lang/latvian.php|1.4.22|3966|optional|r@
-1.4.22|lang/lithuanian.php|1.4.22|5740|optional|r@
-1.4.22|lang/macedonian.php|1.4.22|5740|optional|r@
-1.4.22|lang/norwegian.php|1.4.22|5740|optional|r@
-1.4.22|lang/persian.php|1.4.22|5740|optional|r@
-1.4.22|lang/polish.php|1.4.22|5740|optional|r@
-1.4.22|lang/portuguese.php|1.4.22|5740|optional|r@
-1.4.22|lang/romanian.php|1.4.22|5740|optional|r@
-1.4.22|lang/russian.php|1.4.22|5740|optional|r@
-1.4.22|lang/serbian.php|1.4.22|5740|optional|r@
-1.4.22|lang/serbian_cy.php|1.4.22|3966|optional|r@
-1.4.22|lang/slovak.php|1.4.22|5740|optional|r@
-1.4.22|lang/slovenian.php|1.4.22|5740|optional|r@
-1.4.22|lang/spanish.php|1.4.22|5740|optional|r@
-1.4.22|lang/swedish.php|1.4.22|5740|optional|r@
-1.4.22|lang/thai.php|1.4.22|5740|optional|r@
-1.4.22|lang/turkish.php|1.4.22|5740|optional|r@
-1.4.22|lang/ukrainian.php|1.4.22|5740|optional|r@
-1.4.22|lang/vietnamese.php|1.4.22|5740|optional|r@
-1.4.22|lang/welsh.php|1.4.22|4380|optional|r@
-1.4.22|logs|||mandatory|w@
-1.4.22|logs/log_header.inc.php|1.4.22|5740|mandatory|r@
-1.4.22|plugins|||optional|r@
-1.4.22|plugins/sample|||optional|r@
-1.4.22|plugins/sample/codebase.php|1.4.22|5740|optional|r@
-1.4.22|plugins/sample/configuration.php|1.4.22|5740|optional|r@
-1.4.22|sql|||mandatory|r@
-1.4.22|sql/basic.sql|1.4.22|5827|mandatory|r@
-1.4.22|sql/schema.sql|1.4.22|5740|mandatory|r@
-1.4.22|sql/update.sql|1.4.22|5740|mandatory|r@
-1.4.22|themes|||mandatory|r@
-1.4.22|themes/classic|||optional|r@
-1.4.22|themes/classic/style.css|1.4.22|5740|optional|r@
-1.4.22|themes/classic/template.html|1.4.22|5740|optional|r@
-1.4.22|themes/classic/theme.php|1.4.22|5740|optional|r@
-1.4.22|themes/classic/images|||optional|r@
-1.4.22|themes/eyeball|||optional|r@
-1.4.22|themes/eyeball/style.css|1.4.22|5740|optional|r@
-1.4.22|themes/eyeball/template.html|1.4.22|5740|optional|r@
-1.4.22|themes/eyeball/theme.php|1.4.22|5740|optional|r@
-1.4.22|themes/eyeball/images|||optional|r@
-1.4.22|themes/fruity|||optional|r@
-1.4.22|themes/fruity/style.css|1.4.22|5740|optional|r@
-1.4.22|themes/fruity/template.html|1.4.22|5740|optional|r@
-1.4.22|themes/fruity/theme.php|1.4.22|5740|optional|r@
-1.4.22|themes/fruity/images|||optional|r@
-1.4.22|themes/hardwired|||optional|r@
-1.4.22|themes/hardwired/style.css|1.4.22|5740|optional|r@
-1.4.22|themes/hardwired/template.html|1.4.22|5740|optional|r@
-1.4.22|themes/hardwired/theme.php|1.4.22|5740|optional|r@
-1.4.22|themes/hardwired/images|||optional|r@
-1.4.22|themes/igames|||optional|r@
-1.4.22|themes/igames/style.css|1.4.22|5740|optional|r@
-1.4.22|themes/igames/template.html|1.4.22|5740|optional|r@
-1.4.22|themes/igames/theme.php|1.4.22|5740|optional|r@
-1.4.22|themes/igames/images|||optional|r@
-1.4.22|themes/mac_ox_x|||optional|r@
-1.4.22|themes/mac_ox_x/style.css|1.4.22|5740|optional|r@
-1.4.22|themes/mac_ox_x/template.html|1.4.22|5740|optional|r@
-1.4.22|themes/mac_ox_x/theme.php|1.4.22|5740|optional|r@
-1.4.22|themes/mac_ox_x/images|||optional|r@
-1.4.22|themes/project_vii|||optional|r@
-1.4.22|themes/project_vii/style.css|1.4.22|5740|optional|r@
-1.4.22|themes/project_vii/template.html|1.4.22|5740|optional|r@
-1.4.22|themes/project_vii/theme.php|1.4.22|5740|optional|r@
-1.4.22|themes/project_vii/images|||optional|r@
-1.4.22|themes/rainy_day|||optional|r@
-1.4.22|themes/rainy_day/style.css|1.4.22|5740|optional|r@
-1.4.22|themes/rainy_day/template.html|1.4.22|5740|optional|r@
-1.4.22|themes/rainy_day/theme.php|1.4.22|5740|optional|r@
-1.4.22|themes/rainy_day/images|||optional|r@
-1.4.22|themes/sample|||optional|r@
-1.4.22|themes/sample/style.css|1.4.22|5740|optional|r@
-1.4.22|themes/sample/template.html|1.4.22|5740|optional|r@
-1.4.22|themes/sample/theme.php|1.4.22|5740|optional|r@
-1.4.22|themes/sample/images|||optional|r@
-1.4.22|themes/water_drop|||optional|r@
-1.4.22|themes/water_drop/style.css|1.4.22|5740|optional|r@
-1.4.22|themes/water_drop/template.html|1.4.22|5740|optional|r@
-1.4.22|themes/water_drop/theme.php|1.4.22|5740|optional|r@
-1.4.22|themes/water_drop/images|||optional|r@
-1.4.23|addpic.php|1.4.23|5891|mandatory|r@
-1.4.23|admin.php|1.4.23|5957|mandatory|r@
-1.4.23|albmgr.php|1.4.23|5891|mandatory|r@
-1.4.23|anycontent.php|1.4.23|5891|mandatory|r@
-1.4.23|banning.php|1.4.23|5891|mandatory|r@
-1.4.23|bridgemgr.php|1.4.23|5891|mandatory|r@
-1.4.23|calendar.php|1.4.23|5891|mandatory|r@
-1.4.23|catmgr.php|1.4.23|5891|mandatory|r@
-1.4.23|charsetmgr.php|1.4.23|5891|mandatory|r@
-1.4.23|config.php|1.4.23|5891|optional|r@
-1.4.23|db_ecard.php|1.4.23|5891|mandatory|r@
-1.4.23|db_input.php|1.4.23|5949|mandatory|r@
-1.4.23|delete.php|1.4.23|5891|mandatory|r@
-1.4.23|displayecard.php|1.4.23|5949|mandatory|r@
-1.4.23|displayimage.php|1.4.23|5957|mandatory|r@
-1.4.23|displayreport.php|1.4.23|5891|mandatory|r@
-1.4.23|ecard.php|1.4.23|5891|mandatory|r@
-1.4.23|editOnePic.php|1.4.23|5891|mandatory|r@
-1.4.23|editpics.php|1.4.23|5891|mandatory|r@
-1.4.23|exifmgr.php|1.4.23|5891|mandatory|r@
-1.4.23|faq.php|1.4.23|5891|mandatory|r@
-1.4.23|forgot_passwd.php|1.4.23|5891|mandatory|r@
-1.4.23|getlang.php|1.4.23|5891|mandatory|r@
-1.4.23|groupmgr.php|1.4.23|5891|mandatory|r@
-1.4.23|image_processor.php|1.4.23|5891|mandatory|r@
-1.4.23|index.php|1.4.23|5957|mandatory|r@
-1.4.23|install.php|1.4.23|5891|mandatory|r@
-1.4.23|installer.css|1.4.23|5891|mandatory|r@
-1.4.23|keyword_create_dict.php|1.4.23|5891|mandatory|r@
-1.4.23|keyword_select.php|1.4.23|5891|mandatory|r@
-1.4.23|keywordmgr.php|1.4.23|5891|mandatory|r@
-1.4.23|login.php|1.4.23|5891|mandatory|r@
-1.4.23|logout.php|1.4.23|5891|mandatory|r@
-1.4.23|minibrowser.php|1.4.23|5891|mandatory|r@
-1.4.23|mode.php|1.4.23|5891|mandatory|r@
-1.4.23|modifyalb.php|1.4.23|5891|mandatory|r@
-1.4.23|phpinfo.php|1.4.23|5891|mandatory|r@
-1.4.23|picEditor.php|1.4.23|5891|mandatory|r@
-1.4.23|picmgr.php|1.4.23|5891|mandatory|r@
-1.4.23|pluginmgr.php|1.4.23|5891|mandatory|r@
-1.4.23|profile.php|1.4.23|5891|mandatory|r@
-1.4.23|ratepic.php|1.4.23|5891|mandatory|r@
-1.4.23|register.php|1.4.23|5891|mandatory|r@
-1.4.23|relocate_server.php|1.4.23|5891|optional|r@
-1.4.23|report_file.php|1.4.23|5891|mandatory|r@
-1.4.23|reviewcom.php|1.4.23|5891|mandatory|r@
-1.4.23|scripts.js|1.4.23|5891|mandatory|r@
-1.4.23|search.php|1.4.23|5891|mandatory|r@
-1.4.23|searchnew.php|1.4.23|5891|mandatory|r@
-1.4.23|showthumb.php|1.4.23|5891|mandatory|r@
-1.4.23|stat_details.php|1.4.23|5891|mandatory|r@
-1.4.23|thumbnails.php|1.4.23|5957|mandatory|r@
-1.4.23|update.php|1.4.23|5891|mandatory|r@
-1.4.23|upgrade-1.0-to-1.2.php|1.4.23|5891|mandatory|r@
-1.4.23|upload.php|1.4.23|5891|mandatory|r@
-1.4.23|usermgr.php|1.4.23|5891|mandatory|r@
-1.4.23|util.php|1.4.23|5891|mandatory|r@
-1.4.23|versioncheck.php|1.4.23|5968|mandatory|r@
-1.4.23|viewlog.php|1.4.23|5891|mandatory|r@
-1.4.23|xp_publish.php|1.4.23|5891|mandatory|r@
-1.4.23|zipdownload.php|1.4.23|5891|mandatory|r@
-1.4.23|**fullpath**|||mandatory|w@
-1.4.23|**fullpath**/index.php|||optional|w@
-1.4.23|**fullpath**/edit/index.html|||optional|w@
-1.4.23|**fullpath**/edit/no_FTP-uploads_into_this_folder!|||optional|w@
-1.4.23|**fullpath**/edit|||mandatory|w@
-1.4.23|**fullpath**/edit/index.html|||optional|w@
-1.4.23|**fullpath**/**userpics**|||mandatory|w@
-1.4.23|**fullpath**/**userpics**/index.php|||optional|w@
-1.4.23|**fullpath**/**userpics**/no_FTP-uploads_into_this_folder!|||optional|w@
-1.4.23|bridge|||mandatory|r@
-1.4.23|bridge/coppermine.inc.php|1.4.23|5891|mandatory|r@
-1.4.23|bridge/invisionboard20.inc.php|1.4.23|5891|optional|r@
-1.4.23|bridge/mambo.inc.php|1.4.23|5891|optional|r@
-1.4.23|bridge/mybb.inc.php|1.4.23|5891|optional|r@
-1.4.23|bridge/phorum.inc.php|1.4.23|5891|optional|r@
-1.4.23|bridge/phpbb.inc.php|1.4.23|5891|optional|r@
-1.4.23|bridge/phpbb2018.inc.php|1.4.23|5891|optional|r@
-1.4.23|bridge/phpbb22.inc.php|1.4.23|5891|optional|r@
-1.4.23|bridge/punbb115.inc.php|1.4.23|5891|optional|r@
-1.4.23|bridge/punbb12.inc.php|1.4.23|5891|optional|r@
-1.4.23|bridge/smf10.inc.php|1.4.23|5891|optional|r@
-1.4.23|bridge/smf20.inc.php|1.4.23|5891|optional|r@
-1.4.23|bridge/udb_base.inc.php|1.4.23|5891|mandatory|r@
-1.4.23|bridge/vbulletin30.inc.php|1.4.23|5891|optional|r@
-1.4.23|bridge/xmb.inc.php|1.4.23|5891|optional|r@
-1.4.23|bridge/xoops.inc.php|1.4.23|5891|optional|r@
-1.4.23|docs|||mandatory|r@
-1.4.23|docs/faq.htm|1.4.23|5891|optional|r@
-1.4.23|docs/faq_de.htm|1.4.23|5891|optional|r@
-1.4.23|docs/faq_fr.htm|1.4.23|5891|optional|r@
-1.4.23|docs/index.htm|1.4.23|5966|mandatory|r@
-1.4.23|docs/index_es.htm|1.4.23|4392|mandatory|r@
-1.4.23|docs/index_fr.htm|1.4.23|5965|mandatory|r@
-1.4.23|docs/README.html|1.4.23|5891|optional|r@
-1.4.23|docs/showdoc.php|1.4.23|5891|mandatory|r@
-1.4.23|docs/style.css|1.4.23|5891|mandatory|r@
-1.4.23|docs/theme.htm|1.4.23|5891|optional|r@
-1.4.23|docs/translation.htm|1.4.23|5891|optional|r@
-1.4.23|docs/pics|||mandatory|r@
-1.4.23|docs/theme|||optional|r@
-1.4.23|docs/theme/edit_style.html|||optional|r@
-1.4.23|docs/theme/edit_template.html|||optional|r@
-1.4.23|docs/theme/edit_theme.html|1.4.23||optional|r@
-1.4.23|docs/theme/index.html|||optional|r@
-1.4.23|docs/theme/style.css|1.4.23|5891|optional|r@
-1.4.23|docs/theme/validation.html|||optional|r@
-1.4.23|include|||mandatory|w@
-1.4.23|include/archive.php|1.4.23|5891|mandatory|r@
-1.4.23|include/config.inc.php|||mandatory|r@
-1.4.23|include/config.inc.php.sample|||optional|r@
-1.4.23|include/crop.inc.php|1.4.23|5891|mandatory|r@
-1.4.23|include/debugger.inc.php|1.4.23|5948|mandatory|r@
-1.4.23|include/exif.php|1.4.23|5891|mandatory|r@
-1.4.23|include/exif_php.inc.php|1.4.23|5891|mandatory|r@
-1.4.23|include/functions.inc.php|1.4.23|5891|mandatory|r@
-1.4.23|include/imageObjectGD.class.php|1.4.23|5891|mandatory|r@
-1.4.23|include/imageObjectIM.class.php|1.4.23|5891|mandatory|r@
-1.4.23|include/index.html|1.4.23|5891|mandatory|r@
-1.4.23|include/init.inc.php|1.4.23|5951|mandatory|r@
-1.4.23|include/iptc.inc.php|1.4.23|5891|mandatory|r@
-1.4.23|include/keyword.inc.php|1.4.23|5891|mandatory|r@
-1.4.23|include/langfallback.inc.php|1.4.23|5891|mandatory|r@
-1.4.23|include/logger.inc.php|1.4.23|5891|mandatory|r@
-1.4.23|include/mailer.inc.php|1.4.23|5891|mandatory|r@
-1.4.23|include/mb.inc.php|1.4.23|5891|mandatory|r@
-1.4.23|include/media.functions.inc.php|1.4.23|5891|mandatory|r@
-1.4.23|include/phpmailer.lang-en.php|1.4.23|5891|mandatory|r@
-1.4.23|include/picmgmt.inc.php|1.4.23|5891|mandatory|r@
-1.4.23|include/plugin_api.inc.php|1.4.23|5891|mandatory|r@
-1.4.23|include/search.inc.php|1.4.23|5891|mandatory|r@
-1.4.23|include/select_lang.inc.php|1.4.23|5891|mandatory|r@
-1.4.23|include/slideshow.inc.php|1.4.23|5891|mandatory|r@
-1.4.23|include/smilies.inc.php|1.4.23|5891|mandatory|r@
-1.4.23|include/smtp.inc.php|1.4.23|5891|mandatory|r@
-1.4.23|include/sql_parse.php|1.4.23|5891|mandatory|r@
-1.4.23|include/themes.inc.php|1.4.23|5963|mandatory|r@
-1.4.23|include/update.inc.php|1.4.23|5891|mandatory|r@
-1.4.23|include/zip.lib.php|1.4.23|5891|mandatory|r@
-1.4.23|include/makers|||mandatory|w@
-1.4.23|include/makers/canon.php|1.4.23|5891|mandatory|r@
-1.4.23|include/makers/fujifilm.php|1.4.23|5891|mandatory|r@
-1.4.23|include/makers/gps.php|1.4.23|5891|mandatory|r@
-1.4.23|include/makers/nikon.php|1.4.23|5891|mandatory|r@
-1.4.23|include/makers/olympus.php|1.4.23|5891|mandatory|r@
-1.4.23|include/makers/sanyo.php|1.4.23|5891|mandatory|r@
-1.4.23|lang|||mandatory|r@
-1.4.23|lang/albanian.php|1.4.23|5966|optional|r@
-1.4.23|lang/arabic.php|1.4.23|5966|optional|r@
-1.4.23|lang/basque.php|1.4.23|5966|optional|r@
-1.4.23|lang/brazilian_portuguese.php|1.4.23|5966|optional|r@
-1.4.23|lang/bulgarian.php|1.4.23|5966|optional|r@
-1.4.23|lang/catalan.php|1.4.23|5966|optional|r@
-1.4.23|lang/chinese_big5.php|1.4.23|5966|optional|r@
-1.4.23|lang/chinese_gb.php|1.4.23|5966|optional|r@
-1.4.23|lang/czech.php|1.4.23|5966|optional|r@
-1.4.23|lang/danish.php|1.4.23|5966|optional|r@
-1.4.23|lang/dutch.php|1.4.23|5966|optional|r@
-1.4.23|lang/english.php|1.4.23|5966|mandatory|r@
-1.4.23|lang/english_gb.php|1.4.23|5966|optional|r@
-1.4.23|lang/estonian.php|1.4.23|5966|optional|r@
-1.4.23|lang/finnish.php|1.4.23|5966|optional|r@
-1.4.23|lang/french.php|1.4.23|5966|optional|r@
-1.4.23|lang/galician.php|1.4.23|5966|optional|r@
-1.4.23|lang/georgian.php|1.4.23|5966|optional|r@
-1.4.23|lang/german.php|1.4.23|5966|optional|r@
-1.4.23|lang/german_sie.php|1.4.23|5966|optional|r@
-1.4.23|lang/greek.php|1.4.23|5966|optional|r@
-1.4.23|lang/hebrew.php|1.4.23|5966|optional|r@
-1.4.23|lang/hindi.php|1.4.23|5966|optional|r@
-1.4.23|lang/hungarian.php|1.4.23|5966|optional|r@
-1.4.23|lang/indonesian.php|1.4.23|5966|optional|r@
-1.4.23|lang/italian.php|1.4.23|5966|optional|r@
-1.4.23|lang/japanese.php|1.4.23|5966|optional|r@
-1.4.23|lang/korean.php|1.4.23|5966|optional|r@
-1.4.23|lang/latvian.php|1.4.23|3966|optional|r@
-1.4.23|lang/lithuanian.php|1.4.23|5966|optional|r@
-1.4.23|lang/macedonian.php|1.4.23|5966|optional|r@
-1.4.23|lang/norwegian.php|1.4.23|5966|optional|r@
-1.4.23|lang/persian.php|1.4.23|5966|optional|r@
-1.4.23|lang/polish.php|1.4.23|5966|optional|r@
-1.4.23|lang/portuguese.php|1.4.23|5966|optional|r@
-1.4.23|lang/romanian.php|1.4.23|5966|optional|r@
-1.4.23|lang/russian.php|1.4.23|5966|optional|r@
-1.4.23|lang/serbian.php|1.4.23|5966|optional|r@
-1.4.23|lang/serbian_cy.php|1.4.23|3966|optional|r@
-1.4.23|lang/slovak.php|1.4.23|5966|optional|r@
-1.4.23|lang/slovenian.php|1.4.23|5966|optional|r@
-1.4.23|lang/spanish.php|1.4.23|5966|optional|r@
-1.4.23|lang/swedish.php|1.4.23|5966|optional|r@
-1.4.23|lang/thai.php|1.4.23|5966|optional|r@
-1.4.23|lang/turkish.php|1.4.23|5966|optional|r@
-1.4.23|lang/ukrainian.php|1.4.23|5966|optional|r@
-1.4.23|lang/vietnamese.php|1.4.23|5966|optional|r@
-1.4.23|lang/welsh.php|1.4.23|5967|optional|r@
-1.4.23|logs|||mandatory|w@
-1.4.23|logs/log_header.inc.php|1.4.23|5891|mandatory|r@
-1.4.23|plugins|||optional|r@
-1.4.23|plugins/sample|||optional|r@
-1.4.23|plugins/sample/codebase.php|1.4.23|5891|optional|r@
-1.4.23|plugins/sample/configuration.php|1.4.23|5891|optional|r@
-1.4.23|sql|||mandatory|r@
-1.4.23|sql/basic.sql|1.4.23|5891|mandatory|r@
-1.4.23|sql/schema.sql|1.4.23|5891|mandatory|r@
-1.4.23|sql/update.sql|1.4.23|5891|mandatory|r@
-1.4.23|themes|||mandatory|r@
-1.4.23|themes/classic|||optional|r@
-1.4.23|themes/classic/style.css|1.4.23|5891|optional|r@
-1.4.23|themes/classic/template.html|1.4.23|5891|optional|r@
-1.4.23|themes/classic/theme.php|1.4.23|5891|optional|r@
-1.4.23|themes/classic/images|||optional|r@
-1.4.23|themes/eyeball|||optional|r@
-1.4.23|themes/eyeball/style.css|1.4.23|5891|optional|r@
-1.4.23|themes/eyeball/template.html|1.4.23|5891|optional|r@
-1.4.23|themes/eyeball/theme.php|1.4.23|5891|optional|r@
-1.4.23|themes/eyeball/images|||optional|r@
-1.4.23|themes/fruity|||optional|r@
-1.4.23|themes/fruity/style.css|1.4.23|5891|optional|r@
-1.4.23|themes/fruity/template.html|1.4.23|5891|optional|r@
-1.4.23|themes/fruity/theme.php|1.4.23|5891|optional|r@
-1.4.23|themes/fruity/images|||optional|r@
-1.4.23|themes/hardwired|||optional|r@
-1.4.23|themes/hardwired/style.css|1.4.23|5891|optional|r@
-1.4.23|themes/hardwired/template.html|1.4.23|5891|optional|r@
-1.4.23|themes/hardwired/theme.php|1.4.23|5891|optional|r@
-1.4.23|themes/hardwired/images|||optional|r@
-1.4.23|themes/igames|||optional|r@
-1.4.23|themes/igames/style.css|1.4.23|5891|optional|r@
-1.4.23|themes/igames/template.html|1.4.23|5891|optional|r@
-1.4.23|themes/igames/theme.php|1.4.23|5891|optional|r@
-1.4.23|themes/igames/images|||optional|r@
-1.4.23|themes/mac_ox_x|||optional|r@
-1.4.23|themes/mac_ox_x/style.css|1.4.23|5891|optional|r@
-1.4.23|themes/mac_ox_x/template.html|1.4.23|5891|optional|r@
-1.4.23|themes/mac_ox_x/theme.php|1.4.23|5891|optional|r@
-1.4.23|themes/mac_ox_x/images|||optional|r@
-1.4.23|themes/project_vii|||optional|r@
-1.4.23|themes/project_vii/style.css|1.4.23|5891|optional|r@
-1.4.23|themes/project_vii/template.html|1.4.23|5891|optional|r@
-1.4.23|themes/project_vii/theme.php|1.4.23|5891|optional|r@
-1.4.23|themes/project_vii/images|||optional|r@
-1.4.23|themes/rainy_day|||optional|r@
-1.4.23|themes/rainy_day/style.css|1.4.23|5891|optional|r@
-1.4.23|themes/rainy_day/template.html|1.4.23|5891|optional|r@
-1.4.23|themes/rainy_day/theme.php|1.4.23|5891|optional|r@
-1.4.23|themes/rainy_day/images|||optional|r@
-1.4.23|themes/sample|||optional|r@
-1.4.23|themes/sample/style.css|1.4.23|5891|optional|r@
-1.4.23|themes/sample/template.html|1.4.23|5891|optional|r@
-1.4.23|themes/sample/theme.php|1.4.23|5963|optional|r@
-1.4.23|themes/sample/images|||optional|r@
-1.4.23|themes/water_drop|||optional|r@
-1.4.23|themes/water_drop/style.css|1.4.23|5891|optional|r@
-1.4.23|themes/water_drop/template.html|1.4.23|5891|optional|r@
-1.4.23|themes/water_drop/theme.php|1.4.23|5891|optional|r@
-1.4.23|themes/water_drop/images|||optional|r@
-1.4.24|addpic.php|1.4.24|5969|mandatory|r@
-1.4.24|admin.php|1.4.24|5969|mandatory|r@
-1.4.24|albmgr.php|1.4.24|5969|mandatory|r@
-1.4.24|anycontent.php|1.4.24|5969|mandatory|r@
-1.4.24|banning.php|1.4.24|5988|mandatory|r@
-1.4.24|bridgemgr.php|1.4.24|5969|mandatory|r@
-1.4.24|calendar.php|1.4.24|5969|mandatory|r@
-1.4.24|catmgr.php|1.4.24|5969|mandatory|r@
-1.4.24|charsetmgr.php|1.4.24|5969|mandatory|r@
-1.4.24|config.php|1.4.24|5969|optional|r@
-1.4.24|db_ecard.php|1.4.24|5969|mandatory|r@
-1.4.24|db_input.php|1.4.24|5969|mandatory|r@
-1.4.24|delete.php|1.4.24|5969|mandatory|r@
-1.4.24|displayecard.php|1.4.24|5969|mandatory|r@
-1.4.24|displayimage.php|1.4.24|5978|mandatory|r@
-1.4.24|displayreport.php|1.4.24|5969|mandatory|r@
-1.4.24|ecard.php|1.4.24|5969|mandatory|r@
-1.4.24|editOnePic.php|1.4.24|5988|mandatory|r@
-1.4.24|editpics.php|1.4.24|5988|mandatory|r@
-1.4.24|exifmgr.php|1.4.24|5969|mandatory|r@
-1.4.24|faq.php|1.4.24|5969|mandatory|r@
-1.4.24|forgot_passwd.php|1.4.24|5969|mandatory|r@
-1.4.24|getlang.php|1.4.24|5969|mandatory|r@
-1.4.24|groupmgr.php|1.4.24|5969|mandatory|r@
-1.4.24|image_processor.php|1.4.24|5969|mandatory|r@
-1.4.24|index.php|1.4.24|5969|mandatory|r@
-1.4.24|install.php|1.4.24|5988|mandatory|r@
-1.4.24|installer.css|1.4.24|5969|mandatory|r@
-1.4.24|keyword_create_dict.php|1.4.24|5969|mandatory|r@
-1.4.24|keyword_select.php|1.4.24|5969|mandatory|r@
-1.4.24|keywordmgr.php|1.4.24|5969|mandatory|r@
-1.4.24|login.php|1.4.24|5969|mandatory|r@
-1.4.24|logout.php|1.4.24|5969|mandatory|r@
-1.4.24|minibrowser.php|1.4.24|5969|mandatory|r@
-1.4.24|mode.php|1.4.24|5969|mandatory|r@
-1.4.24|modifyalb.php|1.4.24|5969|mandatory|r@
-1.4.24|phpinfo.php|1.4.24|5969|mandatory|r@
-1.4.24|picEditor.php|1.4.24|5969|mandatory|r@
-1.4.24|picmgr.php|1.4.24|5969|mandatory|r@
-1.4.24|pluginmgr.php|1.4.24|5988|mandatory|r@
-1.4.24|profile.php|1.4.24|5969|mandatory|r@
-1.4.24|ratepic.php|1.4.24|5980|mandatory|r@
-1.4.24|register.php|1.4.24|5969|mandatory|r@
-1.4.24|relocate_server.php|1.4.24|5969|optional|r@
-1.4.24|report_file.php|1.4.24|5969|mandatory|r@
-1.4.24|reviewcom.php|1.4.24|5969|mandatory|r@
-1.4.24|scripts.js|1.4.24|5969|mandatory|r@
-1.4.24|search.php|1.4.24|5969|mandatory|r@
-1.4.24|searchnew.php|1.4.24|5993|mandatory|r@
-1.4.24|showthumb.php|1.4.24|5969|mandatory|r@
-1.4.24|stat_details.php|1.4.24|5969|mandatory|r@
-1.4.24|thumbnails.php|1.4.24|5969|mandatory|r@
-1.4.24|update.php|1.4.24|5969|mandatory|r@
-1.4.24|upgrade-1.0-to-1.2.php|1.4.24|5969|mandatory|r@
-1.4.24|upload.php|1.4.24|5969|mandatory|r@
-1.4.24|usermgr.php|1.4.24|5969|mandatory|r@
-1.4.24|util.php|1.4.24|5969|mandatory|r@
-1.4.24|versioncheck.php|1.4.24|5996|mandatory|r@
-1.4.24|viewlog.php|1.4.24|5969|mandatory|r@
-1.4.24|xp_publish.php|1.4.24|5969|mandatory|r@
-1.4.24|zipdownload.php|1.4.24|5969|mandatory|r@
-1.4.24|**fullpath**|||mandatory|w@
-1.4.24|**fullpath**/index.php|||optional|w@
-1.4.24|**fullpath**/edit/index.html|||optional|w@
-1.4.24|**fullpath**/edit/no_FTP-uploads_into_this_folder!|||optional|w@
-1.4.24|**fullpath**/edit|||mandatory|w@
-1.4.24|**fullpath**/edit/index.html|||optional|w@
-1.4.24|**fullpath**/**userpics**|||mandatory|w@
-1.4.24|**fullpath**/**userpics**/index.php|||optional|w@
-1.4.24|**fullpath**/**userpics**/no_FTP-uploads_into_this_folder!|||optional|w@
-1.4.24|bridge|||mandatory|r@
-1.4.24|bridge/coppermine.inc.php|1.4.24|5969|mandatory|r@
-1.4.24|bridge/invisionboard20.inc.php|1.4.24|5969|optional|r@
-1.4.24|bridge/mambo.inc.php|1.4.24|5969|optional|r@
-1.4.24|bridge/mybb.inc.php|1.4.24|5969|optional|r@
-1.4.24|bridge/phorum.inc.php|1.4.24|5969|optional|r@
-1.4.24|bridge/phpbb.inc.php|1.4.24|5969|optional|r@
-1.4.24|bridge/phpbb2018.inc.php|1.4.24|5969|optional|r@
-1.4.24|bridge/phpbb22.inc.php|1.4.24|5969|optional|r@
-1.4.24|bridge/punbb115.inc.php|1.4.24|5969|optional|r@
-1.4.24|bridge/punbb12.inc.php|1.4.24|5969|optional|r@
-1.4.24|bridge/smf10.inc.php|1.4.24|5969|optional|r@
-1.4.24|bridge/smf20.inc.php|1.4.24|5969|optional|r@
-1.4.24|bridge/udb_base.inc.php|1.4.24|5969|mandatory|r@
-1.4.24|bridge/vbulletin30.inc.php|1.4.24|5969|optional|r@
-1.4.24|bridge/xmb.inc.php|1.4.24|5969|optional|r@
-1.4.24|bridge/xoops.inc.php|1.4.24|5969|optional|r@
-1.4.24|docs|||mandatory|r@
-1.4.24|docs/faq.htm|1.4.24|5969|optional|r@
-1.4.24|docs/faq_de.htm|1.4.24|5969|optional|r@
-1.4.24|docs/faq_fr.htm|1.4.24|5969|optional|r@
-1.4.24|docs/index.htm|1.4.24|5993|mandatory|r@
-1.4.24|docs/index_es.htm|1.4.24|4392|mandatory|r@
-1.4.24|docs/index_fr.htm|1.4.24|5979|mandatory|r@
-1.4.24|docs/README.html|1.4.24|5969|optional|r@
-1.4.24|docs/showdoc.php|1.4.24|5969|mandatory|r@
-1.4.24|docs/style.css|1.4.24|5969|mandatory|r@
-1.4.24|docs/theme.htm|1.4.24|5969|optional|r@
-1.4.24|docs/translation.htm|1.4.24|5969|optional|r@
-1.4.24|docs/pics|||mandatory|r@
-1.4.24|docs/theme|||optional|r@
-1.4.24|docs/theme/edit_style.html|||optional|r@
-1.4.24|docs/theme/edit_template.html|||optional|r@
-1.4.24|docs/theme/edit_theme.html|1.4.24||optional|r@
-1.4.24|docs/theme/index.html|||optional|r@
-1.4.24|docs/theme/style.css|1.4.24|5969|optional|r@
-1.4.24|docs/theme/validation.html|||optional|r@
-1.4.24|include|||mandatory|w@
-1.4.24|include/archive.php|1.4.24|5969|mandatory|r@
-1.4.24|include/config.inc.php|||mandatory|r@
-1.4.24|include/config.inc.php.sample|||optional|r@
-1.4.24|include/crop.inc.php|1.4.24|5969|mandatory|r@
-1.4.24|include/debugger.inc.php|1.4.24|5969|mandatory|r@
-1.4.24|include/exif.php|1.4.24|5969|mandatory|r@
-1.4.24|include/exif_php.inc.php|1.4.24|5969|mandatory|r@
-1.4.24|include/functions.inc.php|1.4.24|5980|mandatory|r@
-1.4.24|include/imageObjectGD.class.php|1.4.24|5969|mandatory|r@
-1.4.24|include/imageObjectIM.class.php|1.4.24|5969|mandatory|r@
-1.4.24|include/index.html|1.4.24|5969|mandatory|r@
-1.4.24|include/init.inc.php|1.4.24|5991|mandatory|r@
-1.4.24|include/iptc.inc.php|1.4.24|5969|mandatory|r@
-1.4.24|include/keyword.inc.php|1.4.24|5969|mandatory|r@
-1.4.24|include/langfallback.inc.php|1.4.24|5969|mandatory|r@
-1.4.24|include/logger.inc.php|1.4.24|5969|mandatory|r@
-1.4.24|include/mailer.inc.php|1.4.24|5969|mandatory|r@
-1.4.24|include/mb.inc.php|1.4.24|5969|mandatory|r@
-1.4.24|include/media.functions.inc.php|1.4.24|5969|mandatory|r@
-1.4.24|include/phpmailer.lang-en.php|1.4.24|5969|mandatory|r@
-1.4.24|include/picmgmt.inc.php|1.4.24|5969|mandatory|r@
-1.4.24|include/plugin_api.inc.php|1.4.24|5969|mandatory|r@
-1.4.24|include/search.inc.php|1.4.24|5969|mandatory|r@
-1.4.24|include/select_lang.inc.php|1.4.24|5969|mandatory|r@
-1.4.24|include/slideshow.inc.php|1.4.24|5969|mandatory|r@
-1.4.24|include/smilies.inc.php|1.4.24|5969|mandatory|r@
-1.4.24|include/smtp.inc.php|1.4.24|5969|mandatory|r@
-1.4.24|include/sql_parse.php|1.4.24|5969|mandatory|r@
-1.4.24|include/themes.inc.php|1.4.24|5988|mandatory|r@
-1.4.24|include/update.inc.php|1.4.24|5969|mandatory|r@
-1.4.24|include/zip.lib.php|1.4.24|5969|mandatory|r@
-1.4.24|include/makers|||mandatory|w@
-1.4.24|include/makers/canon.php|1.4.24|5969|mandatory|r@
-1.4.24|include/makers/fujifilm.php|1.4.24|5969|mandatory|r@
-1.4.24|include/makers/gps.php|1.4.24|5969|mandatory|r@
-1.4.24|include/makers/nikon.php|1.4.24|5969|mandatory|r@
-1.4.24|include/makers/olympus.php|1.4.24|5969|mandatory|r@
-1.4.24|include/makers/sanyo.php|1.4.24|5969|mandatory|r@
-1.4.24|lang|||mandatory|r@
-1.4.24|lang/albanian.php|1.4.24|5988|optional|r@
-1.4.24|lang/arabic.php|1.4.24|5988|optional|r@
-1.4.24|lang/basque.php|1.4.24|5988|optional|r@
-1.4.24|lang/brazilian_portuguese.php|1.4.24|5988|optional|r@
-1.4.24|lang/bulgarian.php|1.4.24|5988|optional|r@
-1.4.24|lang/catalan.php|1.4.24|5988|optional|r@
-1.4.24|lang/chinese_big5.php|1.4.24|5988|optional|r@
-1.4.24|lang/chinese_gb.php|1.4.24|5988|optional|r@
-1.4.24|lang/czech.php|1.4.24|5988|optional|r@
-1.4.24|lang/danish.php|1.4.24|5988|optional|r@
-1.4.24|lang/dutch.php|1.4.24|5988|optional|r@
-1.4.24|lang/english.php|1.4.24|5988|mandatory|r@
-1.4.24|lang/english_gb.php|1.4.24|5988|optional|r@
-1.4.24|lang/estonian.php|1.4.24|5988|optional|r@
-1.4.24|lang/finnish.php|1.4.24|5988|optional|r@
-1.4.24|lang/french.php|1.4.24|5988|optional|r@
-1.4.24|lang/galician.php|1.4.24|5988|optional|r@
-1.4.24|lang/georgian.php|1.4.24|5988|optional|r@
-1.4.24|lang/german.php|1.4.24|5988|optional|r@
-1.4.24|lang/german_sie.php|1.4.24|5988|optional|r@
-1.4.24|lang/greek.php|1.4.24|5988|optional|r@
-1.4.24|lang/hebrew.php|1.4.24|5988|optional|r@
-1.4.24|lang/hindi.php|1.4.24|5988|optional|r@
-1.4.24|lang/hungarian.php|1.4.24|5988|optional|r@
-1.4.24|lang/indonesian.php|1.4.24|5988|optional|r@
-1.4.24|lang/italian.php|1.4.24|5988|optional|r@
-1.4.24|lang/japanese.php|1.4.24|5988|optional|r@
-1.4.24|lang/korean.php|1.4.24|5988|optional|r@
-1.4.24|lang/latvian.php|1.4.24|3966|optional|r@
-1.4.24|lang/lithuanian.php|1.4.24|5988|optional|r@
-1.4.24|lang/macedonian.php|1.4.24|5988|optional|r@
-1.4.24|lang/norwegian.php|1.4.24|5988|optional|r@
-1.4.24|lang/persian.php|1.4.24|5988|optional|r@
-1.4.24|lang/polish.php|1.4.24|5988|optional|r@
-1.4.24|lang/portuguese.php|1.4.24|5988|optional|r@
-1.4.24|lang/romanian.php|1.4.24|5988|optional|r@
-1.4.24|lang/russian.php|1.4.24|5988|optional|r@
-1.4.24|lang/serbian.php|1.4.24|5988|optional|r@
-1.4.24|lang/serbian_cy.php|1.4.24|3966|optional|r@
-1.4.24|lang/slovak.php|1.4.24|5988|optional|r@
-1.4.24|lang/slovenian.php|1.4.24|5988|optional|r@
-1.4.24|lang/spanish.php|1.4.24|5988|optional|r@
-1.4.24|lang/swedish.php|1.4.24|5988|optional|r@
-1.4.24|lang/thai.php|1.4.24|5988|optional|r@
-1.4.24|lang/turkish.php|1.4.24|5988|optional|r@
-1.4.24|lang/ukrainian.php|1.4.24|5988|optional|r@
-1.4.24|lang/vietnamese.php|1.4.24|5988|optional|r@
-1.4.24|lang/welsh.php|1.4.24|5988|optional|r@
-1.4.24|logs|||mandatory|w@
-1.4.24|logs/log_header.inc.php|1.4.24|5969|mandatory|r@
-1.4.24|plugins|||optional|r@
-1.4.24|plugins/sample|||optional|r@
-1.4.24|plugins/sample/codebase.php|1.4.24|5969|optional|r@
-1.4.24|plugins/sample/configuration.php|1.4.24|5988|optional|r@
-1.4.24|sql|||mandatory|r@
-1.4.24|sql/basic.sql|1.4.24|5969|mandatory|r@
-1.4.24|sql/schema.sql|1.4.24|5969|mandatory|r@
-1.4.24|sql/update.sql|1.4.24|5969|mandatory|r@
-1.4.24|themes|||mandatory|r@
-1.4.24|themes/classic|||optional|r@
-1.4.24|themes/classic/style.css|1.4.24|5969|optional|r@
-1.4.24|themes/classic/template.html|1.4.24|5969|optional|r@
-1.4.24|themes/classic/theme.php|1.4.24|5969|optional|r@
-1.4.24|themes/classic/images|||optional|r@
-1.4.24|themes/eyeball|||optional|r@
-1.4.24|themes/eyeball/style.css|1.4.24|5969|optional|r@
-1.4.24|themes/eyeball/template.html|1.4.24|5969|optional|r@
-1.4.24|themes/eyeball/theme.php|1.4.24|5969|optional|r@
-1.4.24|themes/eyeball/images|||optional|r@
-1.4.24|themes/fruity|||optional|r@
-1.4.24|themes/fruity/style.css|1.4.24|5969|optional|r@
-1.4.24|themes/fruity/template.html|1.4.24|5969|optional|r@
-1.4.24|themes/fruity/theme.php|1.4.24|5969|optional|r@
-1.4.24|themes/fruity/images|||optional|r@
-1.4.24|themes/hardwired|||optional|r@
-1.4.24|themes/hardwired/style.css|1.4.24|5969|optional|r@
-1.4.24|themes/hardwired/template.html|1.4.24|5969|optional|r@
-1.4.24|themes/hardwired/theme.php|1.4.24|5988|optional|r@
-1.4.24|themes/hardwired/images|||optional|r@
-1.4.24|themes/igames|||optional|r@
-1.4.24|themes/igames/style.css|1.4.24|5969|optional|r@
-1.4.24|themes/igames/template.html|1.4.24|5969|optional|r@
-1.4.24|themes/igames/theme.php|1.4.24|5969|optional|r@
-1.4.24|themes/igames/images|||optional|r@
-1.4.24|themes/mac_ox_x|||optional|r@
-1.4.24|themes/mac_ox_x/style.css|1.4.24|5969|optional|r@
-1.4.24|themes/mac_ox_x/template.html|1.4.24|5969|optional|r@
-1.4.24|themes/mac_ox_x/theme.php|1.4.24|5969|optional|r@
-1.4.24|themes/mac_ox_x/images|||optional|r@
-1.4.24|themes/project_vii|||optional|r@
-1.4.24|themes/project_vii/style.css|1.4.24|5969|optional|r@
-1.4.24|themes/project_vii/template.html|1.4.24|5969|optional|r@
-1.4.24|themes/project_vii/theme.php|1.4.24|5969|optional|r@
-1.4.24|themes/project_vii/images|||optional|r@
-1.4.24|themes/rainy_day|||optional|r@
-1.4.24|themes/rainy_day/style.css|1.4.24|5969|optional|r@
-1.4.24|themes/rainy_day/template.html|1.4.24|5969|optional|r@
-1.4.24|themes/rainy_day/theme.php|1.4.24|5969|optional|r@
-1.4.24|themes/rainy_day/images|||optional|r@
-1.4.24|themes/sample|||optional|r@
-1.4.24|themes/sample/style.css|1.4.24|5969|optional|r@
-1.4.24|themes/sample/template.html|1.4.24|5969|optional|r@
-1.4.24|themes/sample/theme.php|1.4.24|5988|optional|r@
-1.4.24|themes/sample/images|||optional|r@
-1.4.24|themes/water_drop|||optional|r@
-1.4.24|themes/water_drop/style.css|1.4.24|5969|optional|r@
-1.4.24|themes/water_drop/template.html|1.4.24|5969|optional|r@
-1.4.24|themes/water_drop/theme.php|1.4.24|5969|optional|r@
-1.4.24|themes/water_drop/images|||optional|r@
-';
-return $return;
-}
-
+<?php
+/*************************
+  Coppermine Photo Gallery
+  ************************
+  Copyright (c) 2003-2009 Coppermine Dev Team
+  v1.1 originally written by Gregory DEMAR
+
+  This program is free software; you can redistribute it and/or modify
+  it under the terms of the GNU General Public License version 3
+  as published by the Free Software Foundation.
+
+  ********************************************
+  Coppermine version: 1.4.25
+  $HeadURL: https://coppermine.svn.sourceforge.net/svnroot/coppermine/trunk/cpg1.4.x/versioncheck.php $
+  $Revision: 6218 $
+  $Author: gaugau $
+  $Date: 2009-06-22 09:41:17 +0200 (Mo, 22 Jun 2009) $
+**********************************************/
+
+define('IN_COPPERMINE', true);
+define('VERSIONCHECK_PHP', true);
+
+require('include/init.inc.php');
+
+if (!GALLERY_ADMIN_MODE) { cpg_die(ERROR, $lang_errors['access_denied'], __FILE__, __LINE__); }
+
+// define some vars
+$optional_files = $_REQUEST['optional_files'];
+$mandatory_files =  $_REQUEST['mandatory_files'];
+$file_versions =  $_REQUEST['file_versions'];
+$webcvs =  $_REQUEST['webcvs'];
+$errors_only =  $_REQUEST['errors_only'];
+$webroot =  $_REQUEST['webroot'];
+$online =  $_REQUEST['online'];
+$additional_info =  $_REQUEST['additional_info'];
+$permissions =  $_REQUEST['permissions'];
+$condensed_output =  $_REQUEST['condensed_output'];
+if (!$_REQUEST['changes']) { // set default settings for options
+    $optional_files = 1;
+    $mandatory_files = 1;
+    $file_versions = 1;
+    $webcvs = '0';
+    $errors_only = 0;
+    $webroot = 0;
+    $online = 1;
+    $additional_info = 1;
+    $permissions = 1;
+    $condensed_output = 0;
+}
+$counter_total_files = 0;
+$counter_file_mandatory_not_exist = 0;
+$counter_file_optional_not_exist = 0;
+$counter_cpg_version_older = 0;
+$counter_cpg_version_younger = 0;
+$counter_cvs_version_older = 0;
+$counter_cvs_version_younger = 0;
+$number_of_columns = 7;
+$line_counter = 0;
+$online_repository_connection = 0;
+$online_repository_url = 'http://coppermine-gallery.net/cpg14x.files.txt';
+if ($webcvs == 0) {$number_of_columns = $number_of_columns-1;}
+if ($file_versions == 0) {$number_of_columns = $number_of_columns-2;}
+
+
+// check if the file is being included as a pop-up; return the stuff from showdoc if true
+if (isset($_REQUEST['pop'])) { // pop-up start
+    $header = $_REQUEST['h'];
+    $text = $_REQUEST['t'];
+    $add_stylesheet = $_REQUEST['css'];
+    $style = $_REQUEST['style'];
+    $close = $_REQUEST['close'];
+    $base = $_REQUEST['base'];
+
+    if ($base != '') {
+        // content of header and text have been base64-encoded - decode it now
+        $header = @unserialize(@base64_decode($header));
+        $text = @unserialize(@base64_decode($text));
+    }
+    if ($close != 1) {
+        $close_link = '<br />&nbsp;<br /><div align="center"><a href="#" class="admin_menu" onclick="window.close();">close</a><br />&nbsp;</div>';
+    }
+    if ($header) {
+        $string = "<html>\n<head>\n<title>".$header."</title>\n" . '<link rel="stylesheet" href="themes/'.$add_stylesheet.'/style.css" />' . "\n</head>\n<body>\n<h2>" . $header . "</h2>\n" . $text . "\n".$close_link."\n</body>\n</html>";
+    }
+    print $string;
+    die;
+} // pop-up end
+
+// check if we're using a version older than cpg1.4.0, if yes use hard-coded language (english)
+if (is_array($lang_versioncheck_php) == false) {
+$older_version = true;
+}
+
+if (function_exists('cpg_display_help') == false ) {
+function cpg_display_help($reference = '', $width = '600', $height = '350') {
+global $CONFIG, $USER;
+if ($reference == '' || $CONFIG['enable_help'] == '0') {return; }
+if ($CONFIG['enable_help'] == '2' && GALLERY_ADMIN_MODE == false) {return; }
+$help_theme = $CONFIG['theme'];
+if ($USER['theme']) {
+    $help_theme = $USER['theme'];
+}
+// check if the help icon is there. If it isn't, display a plain question mark
+if (file_exists('images/help.gif') == true) { $help_icon = '<img src="images/help.gif" width="13" height="11" border="0" alt="" title="'.$lang_versioncheck_php['help'].'" />';
+} else { $help_icon = '<span style="background-color:#FFFAD3;color:#000000;font-weight:bold;border:1px solid black;font-size:8pt;margin:0px;padding:0px" title="'.$lang_versioncheck_php['help'].'"> ? </span>';
+}
+$help_html = "<a href=\"javascript:;\" onclick=\"MM_openBrWindow('".$_SERVER['PHP_SELF']."?pop=1&amp;css=" . $help_theme . "&amp;" . $reference . "','" . uniqid(rand()) . "','scrollbars=yes,toolbar=no,status=no,resizable=yes,width=" . $width . ",height=" . $height . "')\" style=\"cursor:help;text-decoration:none\">".$help_icon."</a>";
+return $help_html;
+}
+}
+
+if ($condensed_output == 1) {$table_width = '-1';} else {$table_width = '100%';}
+
+pageheader($lang_versioncheck_php['title']);
+starttable($table_width, $lang_versioncheck_php['title'], $number_of_columns);
+if ($additional_info != 0) { //display explanation what this file does: start
+echo <<< EOT
+<tr>
+<td colspan="$number_of_columns" class="tableb">{$lang_versioncheck_php['what_it_does']}</td>
+</tr>
+EOT;
+} //display explanation what this file does: start
+echo <<< EOT
+<style type="text/css">
+.green {
+        font-weight: bold;
+        color: green;
+}
+
+.red {
+        font-weight: bold;
+        color: red;
+}
+.yellow {
+        font-weight: bold;
+        color:#FFBE00;
+}
+.tablegreen {
+        color: #CFCFCF;
+        border: 1px solid #CFCFCF;
+        background-color:green;
+        margin: 0px;
+        padding-top: 0px;
+        padding-bottom: 0px;
+        padding-left: 10px;
+        padding-right: 10px;
+}
+.tableyellow {
+        color: black;
+        border: 1px solid #CFCFCF;
+        background-color:#FFBE00;
+        margin: 0px;
+        padding-top: 0px;
+        padding-bottom: 0px;
+        padding-left: 10px;
+        padding-right: 10px;
+}
+.tablered {
+        color: white;
+        border: 1px solid #CFCFCF;
+        background-color:red;
+        margin: 0px;
+        padding-top: 0px;
+        padding-bottom: 0px;
+        padding-left: 10px;
+        padding-right: 10px;
+}
+</style>
+EOT;
+
+if (isset($older_version) && $additional_info != 0) {
+    echo <<<EOT
+    <tr>
+    <td colspan="$number_of_columns" class="tableb">
+    Support for older versions than cpg1.4.x has run out - upgrade!
+    </td>
+    </tr>
+EOT;
+}
+
+// step x: display the options
+$form_output = '<form name="versioncheck_options" action="'.$_SERVER['PHP_SELF'].'" method="get">';
+$form_output .= '<tr>';
+$form_output .= '<td colspan="'.$number_of_columns.'" class="tableh2"><h2>'.$lang_versioncheck_php['options'].'</h2></td>';
+$form_output .= '</tr>';
+$form_output .= '<tr>';
+$form_output .= '<td colspan="'.$number_of_columns.'" class="tableb">';
+
+$form_output .= '<table border="0" cellspacing="0" cellpadding="0" width="100%">';
+$form_output .= '<tr>';
+$form_output .= '<td class="tableb">';
+if($optional_files == 1) {$option_checked = 'checked="checked"';}else{$option_checked = '';}
+$option_checked = $optional_files ? 'checked="checked"' : '';
+$form_output .= '<input type="Checkbox" name="optional_files" id="optional_files" value="1" '.$option_checked.' class="checkbox" /><label for="optional_files" class="clickable_option">'.$lang_versioncheck_php['show_optional_files'].'</label>';
+$form_output .= '</td>';
+$form_output .= '<td class="tableb">';
+if($errors_only == 1) {$option_checked = 'checked="checked"';}else{$option_checked = '';}
+$form_output .= '<input type="Checkbox" name="errors_only" id="errors_only" value="1" '.$option_checked.' class="checkbox" /><label for="errors_only" class="clickable_option">'.$lang_versioncheck_php['show_errors_only'].'</label>';
+$form_output .= '</td>';
+$form_output .= '<td class="tableb">';
+if($webcvs == 0) {$option_checked = 'checked="checked"';}else{$option_checked = '';}
+$form_output .= '<input type="Radio" name="webcvs" id="webcvs1" value="0" '.$option_checked.' class="radio" /><label for="webcvs1" class="clickable_option">'.$lang_versioncheck_php['no_webcvs_link'].'</label>';
+$form_output .= '</td>';
+$form_output .= '</tr>';
+$form_output .= '<tr>';
+$form_output .= '<td class="tableb">';
+if($mandatory_files == 1) {$option_checked = 'checked="checked"';}else{$option_checked = '';}
+$form_output .= '<input type="Checkbox" name="mandatory_files" id="mandatory_files" value="1" '.$option_checked.' class="checkbox" /><label for="mandatory_files" class="clickable_option">'.$lang_versioncheck_php['show_mandatory_files'].'</label>';
+$form_output .= '</td>';
+$form_output .= '<td class="tableb">';
+if($webroot == 1) {$option_checked = 'checked="checked"';}else{$option_checked = '';}
+$form_output .= '<input type="Checkbox" name="webroot" id="webroot" value="1" '.$option_checked.' class="checkbox" /><label for="webroot" class="clickable_option">'.$lang_versioncheck_php['coppermine_in_webroot'].'</label>';
+$form_output .= '</td>';
+$form_output .= '<td class="tableb">';
+if($webcvs == 'stable') {$option_checked = 'checked="checked"';}else{$option_checked = '';}
+$form_output .= '<input type="Radio" name="webcvs" id="webcvs2" value="stable" '.$option_checked.' class="radio" /><label for="webcvs2" class="clickable_option">'.$lang_versioncheck_php['stable_webcvs_link'].'</label>';
+$form_output .= '</td>';
+$form_output .= '</tr>';
+$form_output .= '<tr>';
+$form_output .= '<td class="tableb">';
+if($additional_info == 1) {$option_checked = 'checked="checked"';}else{$option_checked = '';}
+$form_output .= '<input type="Checkbox" name="additional_info" id="additional_info" value="1" '.$option_checked.' class="checkbox" /><label for="additional_info" class="clickable_option">'.$lang_versioncheck_php['show_additional_information'].'</label>';
+$form_output .= '</td>';
+$form_output .= '<td class="tableb">';
+if($online == 1) {$option_checked = 'checked="checked"';}else{$option_checked = '';}
+$form_output .= '<input type="Checkbox" name="online" id="online" value="1" '.$option_checked.' class="checkbox" /><label for="online" class="clickable_option">'.$lang_versioncheck_php['connect_online_repository'].'</label>';
+$form_output .= '</td>';
+$form_output .= '<td class="tableb">';
+if($webcvs == 'devel') {$option_checked = 'checked="checked"';}else{$option_checked = '';}
+$form_output .= '<input type="Radio" name="webcvs" id="webcvs3" value="devel" '.$option_checked.' class="radio" /><label for="webcvs3" class="clickable_option">'.$lang_versioncheck_php['devel_webcvs_link'].'</label>';
+$form_output .= '</td>';
+$form_output .= '</tr>';
+$form_output .= '<tr>';
+$form_output .= '<td class="tableb">';
+if($file_versions == 1) {$option_checked = 'checked="checked"';}else{$option_checked = '';}
+$form_output .= '<input type="Checkbox" name="file_versions" id="file_versions" value="1" '.$option_checked.' class="checkbox" /><label for="file_versions" class="clickable_option">'.$lang_versioncheck_php['show_file_versions'].'</label>';
+$form_output .= '</td>';
+$form_output .= '<td class="tableb">';
+if($permissions == 1) {$option_checked = 'checked="checked"';}else{$option_checked = '';}
+$form_output .= '<input type="Checkbox" name="permissions" id="permissions" value="1" '.$option_checked.' class="checkbox" /><label for="permissions" class="clickable_option">'.$lang_versioncheck_php['show_permissions'].'</label>';
+$form_output .= '</td>';
+$form_output .= '<td class="tableb">';
+if($condensed_output == 1) {$option_checked = 'checked="checked"';}else{$option_checked = '';}
+$form_output .= '<input type="Checkbox" name="condensed_output" id="condensed_output" value="1" '.$option_checked.' class="checkbox" /><label for="condensed_output" class="clickable_option">'.$lang_versioncheck_php['show_condensed_output'].'</label>';
+$form_output .= '</td>';
+$form_output .= '</tr>';
+$form_output .= '<tr>';
+$form_output .= '<td class="tablef">';
+
+$form_output .= '</td>';
+$form_output .= '<td class="tablef" align="center">';
+$form_output .= '<input type="hidden" name="changes" value="1" />';
+$form_output .= '<input type="submit" name="submit" value="'.$lang_versioncheck_php['submit'].'" class="button" />';
+$form_output .= '</td>';
+$form_output .= '<td class="tablef" align="center">';
+$form_output .= '&nbsp;<input type="button" name="reset" value="'.$lang_versioncheck_php['reset_to_defaults'].'" class="button" onclick="location.href=\''.$_SERVER['PHP_SELF'].'\'" />';
+$form_output .= '</td>';
+$form_output .= '</tr>';
+$form_output .= '</table>';
+
+$form_output .= '</td>';
+$form_output .= '</tr>';
+$form_output .= '</form>';
+print $form_output;
+
+
+// step one:  get the data from the online repository
+// connect to the online repository at sourceforge.net
+if ($online != 0) { //  try to connect to the online repository: start
+@ini_set("allow_url_fopen","1");
+$file = @fopen ($online_repository_url, 'r');
+if ($file) {
+    while (!feof ($file)) {
+       $line = fgets ($file, 1024);
+       //if (trim($line) != '') {$line_counter++;}
+       //print 'line '.$line_counter.':'.trim($line).'|<br />';
+       $repository_info = explode ( '|', $line);
+       if ($repository_info[0] == COPPERMINE_VERSION) {
+           $line_counter++;
+           $repository_filename[] = $repository_info[1];
+           $repository_version[$repository_info[1]] = $repository_info[2];
+           $repository_cvs[$repository_info[1]] = $repository_info[3];
+           $repository_needed[$repository_info[1]] = $repository_info[4];
+           $repository_readwrite[$repository_info[1]] = trim(str_replace('@', '', $repository_info[5]));
+       }
+    }
+    if ($line_counter > 0) {$online_repository_connection = 1;}
+    fclose($file);
+    @ini_set("allow_url_fopen","0");
+} // if ($file): end
+} //  try to connect to the online repository: end
+
+
+if ($online_repository_connection != 1) { // connecting to the online repository didn't work or didn't return any data
+    $err_reason1 = sprintf($lang_versioncheck_php['online_repository_reason1'],'<a href="'.$online_repository_url.'">'.$online_repository_url.'</a>');
+    $err_reason2 = sprintf($lang_versioncheck_php['online_repository_reason2'],'<a href="http://www.php.net/manual/en/ref.filesystem.php#ini.allow-url-fopen"><i>allow_url_fopen</i></a>','<a href="http://www.php.net/manual/en/function.ini-set.php"><i>ini_set</i></a>');
+if ($additional_info != 0 && $online == 1) { //display warning that repository connection was not possible: start
+    echo <<<EOT
+    <tr>
+    <td colspan="$number_of_columns" class="tableh2">
+    <h2>{$lang_versioncheck_php['online_repository_unable']}</h2>
+    </td>
+    </tr>
+    <tr><td colspan="$number_of_columns" class="tableb">
+    {$lang_versioncheck_php['online_repository_noconnect']}
+    <ul><li>
+    $err_reason1
+    </li><li>
+    $err_reason2
+    </li></ul>
+    {$lang_versioncheck_php['online_repository_to_local']}
+    </td></tr>
+EOT;
+//display warning that repository connection was not possible: end
+} elseif ($additional_info != 0 && $online != 1)
+{
+    echo <<<EOT
+    <tr>
+    <td colspan="$number_of_columns" class="tableh2">
+    <h2>{$lang_versioncheck_php['online_repository_skipped']}</h2>
+    </td>
+    </tr>
+    <tr><td colspan="$number_of_columns" class="tableb">
+    {$lang_versioncheck_php['online_repository_to_local']}
+    </td></tr>
+EOT;
+}
+
+    $online_repository_connection = 0;
+// use the data that comes with the distribution
+$local_file_name = 'repository.txt';
+$file = cpg_offline_repository();
+$line = explode ( '@', $file);
+    foreach ($line as $value) {
+       $repository_info = explode ( '|', $value);
+       $repository_info[0] = trim($repository_info[0]);
+       if ($repository_info[0] == COPPERMINE_VERSION) {
+           $repository_filename[] = cpg_replace_albums_name($repository_info[1]);
+           $repository_version[$repository_info[1]] = $repository_info[2];
+           $repository_cvs[$repository_info[1]] = $repository_info[3];
+           $repository_needed[$repository_info[1]] = $repository_info[4];
+           $repository_readwrite[$repository_info[1]] = trim($repository_info[5]);
+       }
+    }
+}
+
+$currently_installed = sprintf($lang_versioncheck_php['coppermine_version_info'],'<b>' . COPPERMINE_VERSION . '</b>');
+if ($additional_info != 0) { //display information about current version in use: start
+echo <<<EOT
+<tr>
+<td colspan="$number_of_columns" class="tableh2">
+<h2>{$lang_versioncheck_php['coppermine_version_header']}</h2>
+</td>
+</tr>
+<tr><td colspan="$number_of_columns" class="tableb">
+$currently_installed
+<br />
+{$lang_versioncheck_php['coppermine_version_explanation']}
+</td></tr>
+EOT;
+} //display information about current version in use: end
+
+// step two: draw the table header
+echo <<< EOT
+<tr>
+<td colspan="$number_of_columns" class="tableh2">
+<h2>{$lang_versioncheck_php['version_comparison']}</h2>
+</td>
+</tr>
+<tr>
+    <td class="tablef"><b>{$lang_versioncheck_php['folder_file']}</b></td>
+    <td class="tablef" colspan="2"><b>{$lang_versioncheck_php['coppermine_version']}</b></td>
+EOT;
+
+if ($file_versions != 0) {print '    <td class="tablef" colspan="2"><b>'.$lang_versioncheck_php['file_version'].'</b></td>';}
+if ($webcvs != '0') {print '    <td class="tablef"><b>'.$lang_versioncheck_php['webcvs'].'</b></td>';}
+print '</tr>';
+
+
+
+
+// step three: go through all files that exist in the repository and check if they're on the webserver as well
+if ($webroot == 1) {
+$dir = ''; // this is the place to start browsing for root folders
+} else {
+$dir = '../'.cpg_get_coppermine_path().'/'; // this is the place to start browsing
+}
+
+if (is_array($repository_filename)) {
+    foreach ($repository_filename as $rep_file) { //foreach start
+        $counter_total_files++;
+        $file_info = cpg_get_path_and_file($rep_file);
+        cpg_output_version_row(cpg_get_fileversion($dir.$file_info['path'], $file_info['file']), $file_info, $file_info['file']);
+    } //foreach end
+} else {
+echo <<<EOT
+<tr>
+<td colspan="$number_of_columns" class="tableb"><b>{$lang_versioncheck_php['error_no_data']}</b></td>
+</tr>
+EOT;
+}
+
+// show summary
+$number_of_columns_minus_one = $number_of_columns - 1;
+if ($counter_file_mandatory_not_exist == 0){$style_mandatory_files='';}else{$style_mandatory_files='red';}
+if ($counter_file_optional_not_exist == 0){$style_optional_files='';}else{$style_optional_files='yellow';}
+if ($counter_cpg_version_older == 0){$style_cpg_version_older='tableb';}else{$style_cpg_version_older='tablered';}
+if ($counter_cvs_version_older == 0){$style_cvs_version_older='tableb';}else{$style_cvs_version_older='tablered';}
+
+echo <<<EOT
+<tr>
+  <td colspan="$number_of_columns" class="tableh2">
+    <h2>{$lang_versioncheck_php['summary']}</h2>
+  </td>
+</tr>
+<tr>
+  <td class="tableb">
+    {$lang_versioncheck_php['total']}:
+  </td>
+  <td colspan="$number_of_columns_minus_one" class="tableb">
+    $counter_total_files
+  </td>
+</tr>
+<tr>
+  <td class="tableb">
+    {$lang_versioncheck_php['mandatory_files_missing']}:
+  </td>
+  <td colspan="$number_of_columns_minus_one" class="tableb">
+    <span class="$style_mandatory_files">
+    $counter_file_mandatory_not_exist
+    </span>
+  </td>
+</tr>
+<tr>
+  <td class="tableb">
+    {$lang_versioncheck_php['optional_files_missing']}:
+  </td>
+  <td colspan="$number_of_columns_minus_one" class="tableb">
+    <span class="$style_optional_files">
+    $counter_file_optional_not_exist
+    </span>
+  </td>
+</tr>
+<tr>
+  <td class="tableb">
+    {$lang_versioncheck_php['files_from_older_version']}:
+  </td>
+  <td colspan="$number_of_columns_minus_one" class="$style_cpg_version_older">
+    $counter_cpg_version_older
+  </td>
+</tr>
+<tr>
+  <td class="tableb">
+    {$lang_versioncheck_php['file_version_outdated']}:
+  </td>
+  <td colspan="$number_of_columns_minus_one" class="$style_cvs_version_older">
+    $counter_cvs_version_older
+  </td>
+</tr>
+EOT;
+
+
+endtable();
+print '<br />';
+pagefooter();
+
+
+////////////////////////////////// functions ///////////////////////////////
+
+function cpg_get_coppermine_path() {
+global $ORIGINAL_PHP_SELF;
+$return = str_replace('/', '',strrchr(str_replace('/'.str_replace('/', '',strrchr($ORIGINAL_PHP_SELF, '/')), '', $ORIGINAL_PHP_SELF),'/'));
+return $return;
+}
+
+function cpg_get_path_and_file($string) {
+    // check if $string contains delimiter that triggers replacement
+    $delimiter = '**';
+    while (strstr($string, $delimiter) == TRUE) {
+        $string = cpg_replace_vars_from_config($string, $delimiter);
+    }
+    $return['path'] = str_replace(str_replace('/', '', strrchr($string, '/')), '', $string);
+    $return['file'] = str_replace('/', '', strrchr($string, '/'));
+    if (strstr($return['path'], '.') != FALSE && $return['file'] == '') {
+        $return['file'] = $return['path'];
+        $return['path'] = '';
+    }
+    if (strstr($return['file'], '.') == FALSE) {
+        $return['path'] = $return['path'].$return['file'];
+        $return['file'] = '';
+    }
+    return $return;
+}
+
+function cpg_replace_vars_from_config($string, $delimiter = '**') {
+  global $CONFIG;
+  // check the string for $delimiter and replace the stuff within $delimiter with the config values
+  $asterisk = '';
+  $asterisk = strstr($string, $delimiter); // now the full string starting from the first $delimiter is in $asterrisk
+  $asterisk = ltrim($asterisk, $delimiter); // trim the first to $delimiter
+  $asterisk = str_replace(strstr($asterisk, $delimiter), '', $asterisk); // trim the bits after and including the remaining $delimiter. Now $asterisk contains only the keyword
+  // replace the keyword and $delimiter in $string with the actual $CONFIG value
+  $string = str_replace($delimiter.$asterisk.$delimiter, rtrim($CONFIG[$asterisk],'/'), $string);
+  return $string;
+}
+
+function cpg_get_fileversion($folder  = '',$file = '') {
+    $handle = @fopen($folder.$file, 'r');
+    $blob = @fread($handle, filesize($folder.$file));
+    @fclose($handle);
+    $cvs_string1 = '$'.'I'.'d'.':';
+    $cvs_string2 = '$'.'Revision'.':';
+    $cpg_version_determination = 'Coppermine' . ' ' . 'version:';
+
+    $blob = str_replace('<?php','',$blob);
+
+    // Determine the cpg version
+    $return['cpg_version'] = substr($blob,strpos($blob, $cpg_version_determination)); // chop off the first bit up to the string $cpg_version_determination
+    $double_slash_position = strpos($return['cpg_version'], '//');
+    if ($double_slash_position) {
+       $return['cpg_version'] = substr($return['cpg_version'],0,$double_slash_position);
+    }
+    $return['cpg_version'] = trim(str_replace($cpg_version_determination, '', $return['cpg_version']));
+    $return['cpg_version'] = trim(str_replace('#', '', $return['cpg_version']));
+    $return['cpg_version'] = trim(substr($return['cpg_version'], 0, strpos($return['cpg_version'], '$')));
+    if (strlen($return['cpg_version']) > 6) {$return['cpg_version']='n/a';}
+
+    // Fallback to the "old" cpg version determination method if no result (for compatibility with older versions)
+    if ($return['cpg_version'] == '') {
+      $return['cpg_version'] = substr($blob,strpos($blob, 'Coppermine Photo Gallery'));
+      $return['cpg_version'] = substr($return['cpg_version'],0,strpos($return['cpg_version'], '//'));
+      $return['cpg_version'] = trim(str_replace('Coppermine Photo Gallery', '', $return['cpg_version']));
+      if (strlen($return['cpg_version']) > 6) {$return['cpg_version']='n/a';}
+    }
+
+    // Determine file (cvs) revision
+    $return['cvs_version'] = str_replace($cvs_string2, '', substr($blob,strpos($blob, $cvs_string2),25));
+    $return['cvs_version'] = trim(substr($return['cvs_version'], 0, strpos($return['cvs_version'], '$')));
+
+    // Fallback to the "old" revision determination method if no result (for compatibility with older versions)
+    if ($return['cvs_version'] == '' || !is_numeric($return['cvs_version'])) {
+      $return['cvs_version'] = substr($blob,strpos($blob, $cvs_string1));
+      $return['cvs_version'] = substr($return['cvs_version'],0,strpos($return['cvs_version'], 'Exp'));
+      $return['cvs_version'] = str_replace($cvs_string1, '', $return['cvs_version']);
+      // get rid of the filename inside the string
+      $return['cvs_version'] = trim(str_replace($file.',v ', '',$return['cvs_version']));
+      $return['cvs_version'] = str_replace('v ', '', $return['cvs_version']);
+      //if ($file=='picmgmt.inc.php' || $file=='index.php') {print $folder.$file.':'.$return['cvs_version'].'<br />';}
+      $return['cvs_version'] = trim(str_replace(strstr($return['cvs_version'], ' '), '', $return['cvs_version']));
+    }
+    if (strlen($return['cvs_version']) > 5) {$return['cvs_version']='n/a';}
+
+    if (file_exists($folder.$file)) {
+        $return['exists'] = 1;
+    } else {
+        $return['exists'] = 0;
+    }
+
+    if($file == '') { //we have a folder here. Check if it's writable
+        $return['writable'] = cpg_is_writable($folder);
+    }
+// check for the existance of a folder
+$return['is_dir'] = 0;
+if ($file == '') {
+if ($handle = @opendir($folder.$file)) {
+$return['is_dir'] = 1;
+@closedir($handle);
+}
+}
+return $return;
+}
+
+function cpg_is_writable($folder)
+{
+$return = 0;
+$file_content = "this is just a test file that hasn't been deleted properly.\nIt's safe to delete it now";
+@unlink($folder.'/cpgvc_tf.txt');
+if ($fd = @fopen($folder.'/cpgvc_tf.txt', 'w')) {
+    @fwrite($fd, $file_content);
+    @fclose($fd);
+    @unlink($folder.'/cpgvc_tf.txt');
+    $return = 1;
+} else {
+    $return = -1;
+}
+return $return;
+}
+
+function cpg_output_version_row($file_version_info = '', $file_path = '', $cpg_is_file='') {
+global $repository_filename, $repository_version, $repository_cvs, $repository_needed, $repository_readwrite, $lang_versioncheck_php, $counter_file_mandatory_not_exist, $counter_file_optional_not_exist, $counter_cpg_version_older, $counter_cpg_version_younger, $counter_cvs_version_older, $counter_cvs_version_younger, $optional_files, $webcvs, $file_versions, $errors_only,$permissions, $mandatory_files;
+$file_complete_path = $file_path['path'].$file_path['file'];
+// don't return anything if the options are set to filter optional files the actual file IS optional
+if ($optional_files != 1 && $repository_needed[$file_complete_path] == 'optional') {return;}
+if ($mandatory_files != 1 && $repository_needed[$file_complete_path] == 'mandatory') {return;}
+$error_counter = 0;
+ob_start(); // stop output temporarily
+print '<tr>';
+print '<td class="tableb">';
+print '<a href="'.$file_path['path'].$file_path['file'].'">';
+if ($cpg_is_file == '') {
+print '<img src="images/folder.gif" width="16" height="16" border="0" alt="" title="" align="left" style="margin-left:0px;margin-right:10px" />';
+} else {
+print '<img src="images/spacer.gif" width="10" height="15" border="0" alt="" title="" style="border:1px solid black;margin-left:2px;margin-right:12px;background-color:#FFFFFF" align="left">';
+}
+print '</a>';
+$help_ouput = '';
+if ($file_version_info['exists'] == 1) {
+    $stylecolor = '';
+    $helptitle = '';
+} else {
+    if ($repository_needed[$file_complete_path] == 'optional') {
+        $stylecolor = 'yellow';
+        $helptitle = $lang_versioncheck_php['help_file_not_exist_optional1'];
+        $helpoutput = sprintf($lang_versioncheck_php['help_file_not_exist_optional2'], '&quot;<i>'.$file_complete_path.'</i>&quot;');
+        $counter_file_optional_not_exist++;
+        $error_counter++;
+    } else {
+        $stylecolor = 'red';
+        $helptitle = $lang_versioncheck_php['help_file_not_exist_mandatory1'];
+        $helpoutput = sprintf($lang_versioncheck_php['help_file_not_exist_mandatory2'], '&quot;<i>'.$file_complete_path.'</i>&quot;');
+        $counter_file_mandatory_not_exist++;
+        $error_counter++;
+    }
+}
+print '<span class="'.$stylecolor.'" title="'.$helptitle.'">';
+print $file_path['path'];
+print $file_path['file'];
+print '</span>';
+if ($stylecolor != '') {
+    print '&nbsp;';
+    print cpg_display_help('f=index.html&amp;base=64&amp;h='.urlencode(base64_encode(serialize($helptitle))).'&amp;t='.urlencode(base64_encode(serialize($helpoutput))),400,150);
+}
+
+
+// writable ? start
+if (!$cpg_is_file && $permissions == 1) { // we have a folder: start
+    $stylecolor = '';
+    $writable_output = '';
+    $helptitle = '';
+    $helpoutput = '';
+    // check if the writable icon is there. If it isn't, display a plain text
+    if (file_exists('images/writable_true_wrong.gif') == true && file_exists('images/writable_true_right.gif') == true && file_exists('images/writable_false_wrong.gif') == true && file_exists('images/writable_false_right.gif') == true) { // image files exist: start
+        $writable_true_wrong = '<img src="images/writable_true_wrong.gif" width="13" height="15" border="0" alt="" style="" title="'.$lang_versioncheck_php['writable'].'" />';
+        $writable_true_right = '<img src="images/writable_true_right.gif" width="13" height="15" border="0" alt="" style="" title="'.$lang_versioncheck_php['writable'].'" />';
+        $writable_false_wrong = '<img src="images/writable_false_wrong.gif" width="13" height="15" border="0" alt="" style="" title="'.$lang_versioncheck_php['not_writable'].'" />';
+        $writable_false_right = '<img src="images/writable_false_right.gif" width="13" height="15" border="0" alt="" style="" title="'.$lang_versioncheck_php['not_writable'].'" />';
+        $writable_false_undetermined = '<img src="images/writable_false_wrong.gif" width="13" height="15" border="0" alt="" style="border-width:1px;border-style:solid;border-color:yellow;" title="?" />';
+    } else { // image files exist: end
+        $writable_true_wrong = '(<span class="yellow">'.$lang_versioncheck_php['writable'].'</span>)';
+        $writable_true_right = '(<span class="green">'.$lang_versioncheck_php['writable'].'</span>)';
+        $writable_false_wrong = '(<span class="red">'.$lang_versioncheck_php['not_writable'].'</span>)';
+        $writable_false_right = '(<span class="green">'.$lang_versioncheck_php['not_writable'].'</span>)';
+        $writable_false_undetermined = '(<span class="yellow">?</span>';
+    }
+    if ($repository_readwrite[$file_complete_path] == 'w') {
+        if ($file_version_info['writable'] == '-1') {
+            $stylecolor = 'red';
+            $writable_output = $writable_false_wrong;
+            $helptitle = $lang_versioncheck_php['help_not_writable1'];
+            $helpoutput = sprintf($lang_versioncheck_php['help_not_writable2'], '&quot;<i>'.$file_complete_path.'</i>&quot;');
+            $error_counter++;
+        } elseif ($file_version_info['writable'] == 1) {
+            $stylecolor = 'green';
+            $writable_output = $writable_true_right;
+        } elseif ($file_version_info['writable'] == 0) {
+            $stylecolor = 'yellow';
+            $writable_output = $writable_false_undetermined;
+            $helptitle = $helptitle = $lang_versioncheck_php['help_not_writable1'];
+            $helpoutput = sprintf($lang_versioncheck_php['help_writable_undetermined'], '&quot;<i>'.$file_complete_path.'</i>&quot;');
+            $error_counter++;
+        }
+    } elseif ($repository_readwrite[$file_complete_path] == 'r') {
+        if ($file_version_info['writable'] == '-1') {
+            $stylecolor = 'green';
+            $writable_output = $writable_false_right;
+        } elseif ($file_version_info['writable'] == 1) {
+            $stylecolor = 'yellow';
+            $writable_output = $writable_true_wrong;
+            $helptitle = $lang_versioncheck_php['help_writable1'];
+            $helpoutput = sprintf($lang_versioncheck_php['help_writable2'], '&quot;<i>'.$file_complete_path.'</i>&quot;');
+            $error_counter++;
+        } elseif ($file_version_info['writable'] == 0) {
+            $stylecolor = 'yellow';
+            $writable_output = $writable_false_undetermined;
+            $helptitle = $lang_versioncheck_php['help_not_writable1'];
+            $helpoutput = sprintf($lang_versioncheck_php['help_writable_undetermined'], '&quot;<i>'.$file_complete_path.'</i>&quot;');
+            $error_counter++;
+        }
+    }
+    print ' ';
+    print $writable_output;
+    if ($helptitle != '') {
+        print '&nbsp;';
+        print cpg_display_help('f=index.html&amp;base=64&amp;h='.urlencode(base64_encode(serialize($helptitle))).'&amp;t='.urlencode(base64_encode(serialize($helpoutput)).'&amp;css=1'),400,150);
+        $helptitle = '';
+        $helpoutput = '';
+    }
+} // we have a folder: end
+// writable ? end
+
+
+print '</td>';
+// cpg version start
+    $cvs_version_check = 'enable';
+    if (!$repository_version[$file_complete_path]) {
+        $repository_version[$file_complete_path] = '?';
+    }
+    if ($file_version_info['exists'] != 1)
+    {
+        print '<td class="tableb" colspan="2" align="center">-</td><td class="tableb">';
+        $helptitle = '';
+    } elseif (!$file_version_info['cpg_version'] && $repository_version[$file_complete_path] == '?') {
+        print '<td class="tableb" colspan="2" align="center">';
+        print 'n/a';
+    } elseif ((!$file_version_info['cpg_version'] || $file_version_info['cpg_version'] == 'n/a') && $repository_version[$file_complete_path] != '?') {
+        $cvs_version_check = 'disable';
+        print '<td class="tableb" align="right" title="'.$lang_versioncheck_php['your_file'].'">';
+        print '?';
+        print cpg_vc_help($lang_versioncheck_php['help_no_local_version1'],$lang_versioncheck_php['help_no_local_version2']);
+        print '</td><td class="tableb" title="'.$lang_versioncheck_php['reference_file'].'">';
+        print $repository_version[$file_complete_path];
+        $counter_cpg_version_older++;
+        $error_counter++;
+    } elseif ((!$file_version_info['cpg_version'] || $file_version_info['cpg_version'] == 'n/a') && $repository_version[$file_complete_path] == '?') {
+        $cvs_version_check = 'disable';
+        print '<td class="tableb" colspan="2" align="center">';
+        print '-';
+    } elseif ($file_version_info['cpg_version'] == $repository_version[$file_complete_path]) {
+        print '<td class="tablegreen" align="right" class="green" title="'.$lang_versioncheck_php['your_file'].'">';
+        print $file_version_info['cpg_version'];
+        print '</td><td class="tablegreen" title="'.$lang_versioncheck_php['reference_file'].'">';
+        print $file_version_info['cpg_version'];
+    } elseif ($file_version_info['cpg_version'] < $repository_version[$file_complete_path]) {
+        $cvs_version_check = 'disable';
+        print '<td class="tablered" align="right" title="'.$lang_versioncheck_php['your_file'].'">';
+        print $file_version_info['cpg_version'];
+        print cpg_vc_help($lang_versioncheck_php['help_local_version_outdated1'],$lang_versioncheck_php['help_local_version_outdated2']);
+        print '</td><td class="tableb" title="'.$lang_versioncheck_php['reference_file'].'">';
+        print $repository_version[$file_complete_path];
+        $counter_cpg_version_older++;
+        $error_counter++;
+    } elseif ($file_version_info['cpg_version'] > $repository_version[$file_complete_path]) {
+        $cvs_version_check = 'disable';
+        print '<td class="tableb" align="right" title="'.$lang_versioncheck_php['your_file'].'">';
+        print $file_version_info['cpg_version'];
+        print '</td><td class="tableyellow" title="'.$lang_versioncheck_php['reference_file'].'">';
+        print $repository_version[$file_complete_path];
+        print cpg_vc_help($lang_versioncheck_php['help_local_version_dev1'],$lang_versioncheck_php['help_local_version_dev2']);
+        $counter_cpg_version_younger++;
+        $error_counter++;
+    } else {
+        $cvs_version_check = 'disable';
+        print '<td class="tablered" align="right" title="'.$lang_versioncheck_php['your_file'].'">';
+        print $file_version_info['cpg_version'];
+        print '</td><td class="tablered" title="'.$lang_versioncheck_php['reference_file'].'">';
+        print $repository_version[$file_complete_path];
+        $counter_cpg_version_older++;
+        $error_counter++;
+    }
+// cpg version end
+print '</td>';
+if ($file_versions == 1) { //display file versions: start
+//print '<td class="tableb">';
+// cvs version start
+    $helptitle = '';
+    if($file_version_info['cvs_version'] == '//') {$file_version_info['cvs_version'] = '';}
+    if ($cvs_version_check != 'disable') {
+        if (!$repository_cvs[$file_complete_path]) {
+            $repository_cvs[$file_complete_path] = '?';
+        }
+        if ($file_version_info['exists'] != 1)
+        {
+            print '<td class="tableb" colspan="2" align="center">-';
+        } elseif (!$file_version_info['cvs_version'] && $repository_cvs[$file_complete_path] == '?') {
+            print '<td class="tableb" colspan="2" align="center">n/a';
+        } elseif ($file_version_info['cvs_version'] == 'n/a' && $file_version_info['cvs_version'] == 'n/a') {
+            print '<td class="tableb" colspan="2" align="center" title="'.$lang_versioncheck_php['your_file'].'">n/a';
+        } elseif (!$file_version_info['cvs_version'] || $file_version_info['cvs_version'] == 'n/a') {
+            print '<td class="tablered" align="right" title="'.$lang_versioncheck_php['your_file'].'">';
+            print $file_version_info['cvs_version'];
+            print cpg_vc_help($lang_versioncheck_php['help_local_version_na1'],$lang_versioncheck_php['help_local_version_na2']);
+            print '</td>';
+            print '<td class="tableb" title="'.$lang_versioncheck_php['reference_file'].'">';
+            print $repository_cvs[$file_complete_path];
+            $counter_cvs_version_older++;
+            $error_counter++;
+        } elseif (cpg_version_compare($file_version_info['cvs_version']) == cpg_version_compare($repository_cvs[$file_complete_path])) {
+            print '<td class="tablegreen" align="right" title="'.$lang_versioncheck_php['your_file'].'">';
+            print $file_version_info['cvs_version'];
+            print '</td>';
+            print '<td class="tablegreen" align="left" title="'.$lang_versioncheck_php['reference_file'].'">';
+            print $repository_cvs[$file_complete_path];
+        } elseif (cpg_version_compare($file_version_info['cvs_version']) < cpg_version_compare($repository_cvs[$file_complete_path])) {
+            print '<td class="tablered" align="right" title="'.$lang_versioncheck_php['your_file'].'">';
+            print $file_version_info['cvs_version'];
+            print cpg_vc_help($lang_versioncheck_php['help_local_version_outdated1'],$lang_versioncheck_php['help_local_version_outdated2']);
+            print '</td>';
+            print '<td class="tableb" title="'.$lang_versioncheck_php['reference_file'].'">';
+            print $repository_cvs[$file_complete_path];
+            $counter_cvs_version_older++;
+            $error_counter++;
+        } elseif (cpg_version_compare($file_version_info['cvs_version']) > cpg_version_compare($repository_cvs[$file_complete_path])) {
+            print '<td class="tableb" align="right" title="'.$lang_versioncheck_php['your_file'].'">';
+            print $file_version_info['cvs_version'];
+            print '</td>';
+            print '<td class="tableyellow" title="'.$lang_versioncheck_php['reference_file'].'">';
+            print $repository_cvs[$file_complete_path];
+            print cpg_vc_help($lang_versioncheck_php['help_local_version_dev1'],$lang_versioncheck_php['help_local_version_dev2']);
+            $counter_cvs_version_younger++;
+            $error_counter++;
+        } else {
+            print '<td class="tablered" align="right" title="'.$lang_versioncheck_php['your_file'].'">';
+            print $file_version_info['cvs_version'];
+            print cpg_vc_help($lang_versioncheck_php['help_local_version_outdated1'],$lang_versioncheck_php['help_local_version_outdated2']);
+            print '</td>';
+            print '<td class="tablered" title="'.$lang_versioncheck_php['reference_file'].'">';
+            print $repository_cvs[$file_complete_path];
+            $counter_cvs_version_older++;
+            $error_counter++;
+        }
+    } else {
+            print '<td class="tableb" colspan="2" align="center">-</td>';
+    }
+// cvs version end
+print '</td>';
+} //display file versions: end
+if ($webcvs != '0') {
+print '<td class="tableb">';
+// web cvs start
+$webcvslink = 'http://svn.sourceforge.net/viewcvs.cgi/coppermine/trunk/';
+if ($webcvs == "devel") {$webcvslink .= 'cpg1.5.x/';} else {$webcvslink .= 'cpg1.4.x/';}
+$webcvslink .= $file_complete_path;
+print sprintf($lang_versioncheck_php['go_to_webcvs'],'<a href="'.$webcvslink.'">'.$lang_versioncheck_php['webcvs'].'</a>');
+// web cvs end
+print "</td>";
+}
+print "</tr>\n";
+$string = ob_get_contents();
+ob_end_clean();
+// don't return anything if the options are set to filter stuff and the conditions match
+if ($errors_only == '1' && $error_counter == 0) {return;}
+print $string;
+} //end of function
+
+function cpg_replace_albums_name($path) {
+global $CONFIG;
+//split the $path var
+$second_part = ltrim(strstr($path, '/'),'/');
+$first_part = str_replace($second_part, '', $path);
+$third_part = ltrim(strstr($second_part, '/'),'/');
+$second_part = str_replace($third_part, '', $second_part);
+if ($first_part == 'albums/') {$first_part = $CONFIG['fullpath'];}
+if ($second_part == 'userpics/') {$second_part = $CONFIG['userpics'];}
+if ($second_part == 'userpics' && $third_part == '') {$second_part = rtrim($CONFIG['userpics'], '/');}
+$return = $first_part.$second_part.$third_part;
+if ($return == 'albums'){$return = rtrim($CONFIG['fullpath'], '/');}
+return $return;
+}
+
+function cpg_version_compare($version)
+{
+    $return = '';
+    $version_info = explode ( '.', $version);
+    for ($i=0;$i<count($version_info);$i++) {
+        $power = @pow('100',count($version_info)-$i)*$version_info[$i];
+        $return = $return + $power;
+    }
+    return $return;
+}
+
+function cpg_vc_help($helptitle='',$helpoutput='') {
+   $return= '';
+   if ($helptitle != '') {
+      $return = '&nbsp;';
+      $return .= cpg_display_help('f=index.html&amp;base=64&amp;h='.urlencode(base64_encode(serialize($helptitle))).'&amp;t='.urlencode(base64_encode(serialize($helpoutput))),400,150);
+
+   }
+   return $return;
+}
+
+function cpg_offline_repository() {
+$return = '
+1.4.0|addfav.php|1.4.0|1.15|mandatory|r@
+1.4.0|addpic.php|1.4.0|1.11|mandatory|r@
+1.4.0|admin.php|1.4.0|1.14|mandatory|r@
+1.4.0|albmgr.php|1.4.0|1.13|mandatory|r@
+1.4.0|anycontent.php|1.4.0|1.10|mandatory|r@
+1.4.0|banning.php|1.4.0|1.20|mandatory|r@
+1.4.0|bridgemgr.php|1.4.0|1.13|mandatory|r@
+1.4.0|calendar.php|1.4.0|1.2|mandatory|r@
+1.4.0|catmgr.php|1.4.0|1.22|mandatory|r@
+1.4.0|db_ecard.php|1.4.0|1.11|mandatory|r@
+1.4.0|db_input.php|1.4.0|1.39|mandatory|r@
+1.4.0|delete.php|1.4.0|1.18|mandatory|r@
+1.4.0|displayecard.php|1.4.0|1.9|mandatory|r@
+1.4.0|displayimage.php|1.4.0|1.84|mandatory|r@
+1.4.0|ecard.php|1.4.0|1.23|mandatory|r@
+1.4.0|editOnePic.php|1.4.0|1.27|mandatory|r@
+1.4.0|editpics.php|1.4.0|1.29|mandatory|r@
+1.4.0|exifmgr.php|1.4.0|1.6|mandatory|r@
+1.4.0|faq.php|1.4.0|1.5|mandatory|r@
+1.4.0|forgot_passwd.php|1.4.0|1.12|mandatory|r@
+1.4.0|getlang.php|1.4.0|1.8|mandatory|r@
+1.4.0|groupmgr.php|1.4.0|1.19|mandatory|r@
+1.4.0|hitDetails.php|1.4.0|1.1|mandatory|r@
+1.4.0|image_processor.php|1.4.0|1.16|mandatory|r@
+1.4.0|index.php|1.4.0|1.71|mandatory|r@
+1.4.0|install.php|1.4.0|1.26|mandatory|r@
+1.4.0|installer.css|1.4.0|1.5|mandatory|r@
+1.4.0|keyword_create_dict.php|1.4.0|1.3|mandatory|r@
+1.4.0|keyword_select.php|1.4.0|1.3|mandatory|r@
+1.4.0|keywordmgr.php|1.4.0|1.4|mandatory|r@
+1.4.0|login.php|1.4.0|1.18|mandatory|r@
+1.4.0|logout.php|1.4.0|1.5|mandatory|r@
+1.4.0|mode.php|1.4.0|1.2|mandatory|r@
+1.4.0|modifyalb.php|1.4.0|1.23|mandatory|r@
+1.4.0|phpinfo.php|1.4.0|1.8|mandatory|r@
+1.4.0|picEditor.php|1.4.0|1.19|mandatory|r@
+1.4.0|picmgr.php|1.4.0|1.7|mandatory|r@
+1.4.0|pluginmgr.php|1.4.0|1.12|mandatory|r@
+1.4.0|profile.php|1.4.0|1.32|mandatory|r@
+1.4.0|ratepic.php|1.4.0|1.11|mandatory|r@
+1.4.0|register.php|1.4.0|1.20|mandatory|r@
+1.4.0|reviewcom.php|1.4.0|1.14|mandatory|r@
+1.4.0|scripts.js|1.4.0|1.7|mandatory|r@
+1.4.0|search.php|1.4.0|1.8|mandatory|r@
+1.4.0|searchnew.php|1.4.0|1.38|mandatory|r@
+1.4.0|showthumb.php|1.4.0|1.8|mandatory|r@
+1.4.0|thumbnails.php|1.4.0|1.20|mandatory|r@
+1.4.0|update.php|1.4.0|1.17|mandatory|r@
+1.4.0|upgrade-1.0-to-1.2.php|1.4.0|1.7|mandatory|r@
+1.4.0|upload.php|1.4.0|1.60|mandatory|r@
+1.4.0|usermgr.php|1.4.0|1.29|mandatory|r@
+1.4.0|util.php|1.4.0|1.23|mandatory|r@
+1.4.0|versioncheck.php|1.4.0|1.41|mandatory|r@
+1.4.0|viewlog.php|1.4.0|1.8|mandatory|r@
+1.4.0|voteDetails.php|1.4.0|1.1|mandatory|r@
+1.4.0|xp_publish.php|1.4.0|1.23|mandatory|r@
+1.4.0|zipdownload.php|1.4.0|1.8|mandatory|r@
+1.4.0|albums|||mandatory|w@
+1.4.0|albums/index.html||1.2|mandatory|w@
+1.4.0|albums/edit/index.html|||mandatory|w@
+1.4.0|albums/edit|||mandatory|w@
+1.4.0|albums/edit/index.html|||mandatory|w@
+1.4.0|albums/userpics|||mandatory|w@
+1.4.0|albums/userpics/index.html||1.2|mandatory|w@
+1.4.0|bridge/invisionboard.inc.php|1.4.0|1.19|optional|r@
+1.4.0|bridge/mambo.inc.php|1.4.0|1.7|optional|r@
+1.4.0|bridge/phpbb.inc.php|1.4.0|1.29|optional|r@
+1.4.0|bridge/smf.inc.php|1.4.0|1.27|optional|r@
+1.4.0|bridge/vbulletin23.inc.php|1.4.0|1.13|optional|r@
+1.4.0|bridge/vbulletin30.inc.php|1.4.0|1.15|optional|r@
+1.4.0|bridge/woltlab21.inc.php|1.4.0|1.18|optional|r@
+1.4.0|bridge/yabbse.inc.php|1.4.0|1.30|optional|r@
+1.4.0|docs|||mandatory|r@
+1.4.0|docs/credits.html||1.12|optional|r@
+1.4.0|docs/faq.htm|||optional|r@
+1.4.0|docs/index.htm||1.12|mandatory|r@
+1.4.0|docs/README.html||1.17|optional|r@
+1.4.0|docs/showdoc.php|1.4.0|1.11|mandatory|r@
+1.4.0|docs/theme.htm|||optional|r@
+1.4.0|docs/translation.htm|||optional|r@
+1.4.0|docs/pics|||mandatory|r@
+1.4.0|include|||mandatory|w@
+1.4.0|include/archive.php|1.4.0|1.3|mandatory|r@
+1.4.0|include/config.inc.php|||mandatory|r@
+1.4.0|include/crop.inc.php|1.4.0|1.11|mandatory|r@
+1.4.0|include/debugger.inc.php|1.4.0|1.5|mandatory|r@
+1.4.0|include/exif.php|1.4.0|1.3|mandatory|r@
+1.4.0|include/exif_php.inc.php|1.4.0|1.13|mandatory|r@
+1.4.0|include/exifReader.inc.php|1.4.0|1.5|mandatory|r@
+1.4.0|include/functions.inc.php|1.4.0|1.134|mandatory|r@
+1.4.0|include/imageObjectGD.class.php|1.4.0|1.6|mandatory|r@
+1.4.0|include/imageObjectIM.class.php|1.4.0|1.6|mandatory|r@
+1.4.0|include/index.html|||mandatory|r@
+1.4.0|include/init.inc.php|1.4.0|1.71|mandatory|r@
+1.4.0|include/iptc.inc.php|1.4.0|1.6|mandatory|r@
+1.4.0|include/keyword.inc.php|1.4.0|1.4|mandatory|r@
+1.4.0|include/langfallback.inc.php|1.4.0|1.24|mandatory|r@
+1.4.0|include/logger.inc.php|1.4.0|1.12|mandatory|r@
+1.4.0|include/mailer.inc.php|1.4.0|1.10|mandatory|r@
+1.4.0|include/media.functions.inc.php|1.4.0|1.9|mandatory|r@
+1.4.0|include/picmgmt.inc.php|1.4.0|1.27|mandatory|r@
+1.4.0|include/plugin_api.inc.php|1.4.0|1.11|mandatory|r@
+1.4.0|include/search.inc.php|1.4.0|1.11|mandatory|r@
+1.4.0|include/select_lang.inc.php|1.4.0|1.7|mandatory|r@
+1.4.0|include/slideshow.inc.php|1.4.0|1.10|mandatory|r@
+1.4.0|include/smilies.inc.php|1.4.0|1.12|mandatory|r@
+1.4.0|include/smtp.inc.php|1.4.0|1.2|mandatory|r@
+1.4.0|include/sql_parse.php|1.4.0|1.5|mandatory|r@
+1.4.0|include/zip.lib.php|1.4.0|1.2|mandatory|r@
+1.4.0|include/makers|||mandatory|w@
+1.4.0|include/makers/canon.php|1.4.0|1.2|mandatory|r@
+1.4.0|include/makers/fujifilm.php|1.4.0|1.2|mandatory|r@
+1.4.0|include/makers/gps.php|1.4.0|1.2|mandatory|r@
+1.4.0|include/makers/nikon.php|1.4.0|1.2|mandatory|r@
+1.4.0|include/makers/olympus.php|1.4.0|1.2|mandatory|r@
+1.4.0|include/makers/sanyo.php|1.4.0|1.2|mandatory|r@
+1.4.0|lang|||mandatory|r@
+1.4.0|lang/arabic.php|1.3.0|1.5|optional|r@
+1.4.0|lang/arabic-utf-8.php|1.3.0|1.3|optional|r@
+1.4.0|lang/brazilian_portuguese.php|1.3.0|1.6|optional|r@
+1.4.0|lang/brazilian_portuguese-utf-8.php|1.3.0|1.6|optional|r@
+1.4.0|lang/bulgarian.php|1.3.0|1.5|optional|r@
+1.4.0|lang/bulgarian-utf-8.php|1.3.2|1.5|optional|r@
+1.4.0|lang/chinese_big5.php|1.3.2|1.6|optional|r@
+1.4.0|lang/chinese_big5-utf-8.php|1.3.0|1.6|optional|r@
+1.4.0|lang/chinese_gb.php|1.3.0|1.5|optional|r@
+1.4.0|lang/chinese_gb-utf-8.php|1.3.0|1.5|optional|r@
+1.4.0|lang/catalan.php|1.3.2|1.1|optional|r@
+1.4.0|lang/catalan-utf-8.php|1.3.2|1.1|optional|r@
+1.4.0|lang/croatian.php|1.3.0|1.5|optional|r@
+1.4.0|lang/croatian-utf-8.php|1.3.2|1.6|optional|r@
+1.4.0|lang/czech.php|1.3.0|1.6|optional|r@
+1.4.0|lang/czech-utf-8.php|1.3.0|1.6|optional|r@
+1.4.0|lang/danish.php|1.3.0|1.11|optional|r@
+1.4.0|lang/danish-utf-8.php|1.3.0|1.6|optional|r@
+1.4.0|lang/dutch.php|1.3.2|1.12|optional|r@
+1.4.0|lang/dutch-utf-8.php|1.3.2|1.12|optional|r@
+1.4.0|lang/english.php|1.4.0|1.211|mandatory|r@
+1.4.0|lang/english-utf-8.php|1.3.0|1.14|mandatory|r@
+1.4.0|lang/estonian.php|1.3.2|1.6|optional|r@
+1.4.0|lang/estonian-utf-8.php|1.3.2|1.5|optional|r@
+1.4.0|lang/finnish.php|1.3.0|1.5|optional|r@
+1.4.0|lang/finnish-utf-8.php|1.3.0|1.5|optional|r@
+1.4.0|lang/french.php|1.3.2|1.18|optional|r@
+1.4.0|lang/french-utf-8.php|1.3.2|1.16|optional|r@
+1.4.0|lang/german.php|1.3.2|1.19|optional|r@
+1.4.0|lang/german-utf-8.php|1.3.2|1.20|optional|r@
+1.4.0|lang/german_sie.php|1.3.2|1.2|optional|r@
+1.4.0|lang/german_sie-utf-8.php|1.3.2|1.2|optional|r@
+1.4.0|lang/greek.php|1.3.0|1.7|optional|r@
+1.4.0|lang/greek-utf-8.php|1.3.0|1.7|optional|r@
+1.4.0|lang/hebrew.php|1.3.0|1.6|optional|r@
+1.4.0|lang/hebrew-utf-8.php|1.3.0|1.8|optional|r@
+1.4.0|lang/hungarian.php|1.3.0|1.8|optional|r@
+1.4.0|lang/hungarian-utf-8.php|1.3.0|1.9|optional|r@
+1.4.0|lang/indonesian.php|1.3.0|1.5|optional|r@
+1.4.0|lang/indonesian-utf-8.php|1.3.0|1.6|optional|r@
+1.4.0|lang/italian.php|1.3.0|1.7|optional|r@
+1.4.0|lang/italian2.php|1.3.0|1.1|optional|r@
+1.4.0|lang/italian2-utf-8.php|1.3.0|1.1|optional|r@
+1.4.0|lang/italian-utf-8.php|1.3.0|1.7|optional|r@
+1.4.0|lang/japanese.php|1.3.0|1.5|optional|r@
+1.4.0|lang/japanese-utf-8.php|1.3.0|1.6|optional|r@
+1.4.0|lang/latvian.php|1.3.0|1.7|optional|r@
+1.4.0|lang/latvian-utf-8.php|1.3.0|1.5|optional|r@
+1.4.0|lang/malay.php|1.3.0|1.1|optional|r@
+1.4.0|lang/malay-utf-8.php|1.3.0|1.1|optional|r@
+1.4.0|lang/norwegian.php|1.4.0|1.8|optional|r@
+1.4.0|lang/norwegian-utf-8.php|1.4.0|1.8|optional|r@
+1.4.0|lang/polish.php|1.3.0|1.4|optional|r@
+1.4.0|lang/polish-utf-8.php|1.3.0|1.3|optional|r@
+1.4.0|lang/romanian.php|1.4.0|1.4|optional|r@
+1.4.0|lang/romanian-utf-8.php|1.4.0|1.4|optional|r@
+1.4.0|lang/romanian_no_diacritics.php|1.4.0|1.1|optional|r@
+1.4.0|lang/romanian_no_diacritics-utf-8.php|1.4.0|1.1|optional|r@
+1.4.0|lang/russian.php|1.3.2|1.7|optional|r@
+1.4.0|lang/russian-utf-8.php|1.3.2|1.7|optional|r@
+1.4.0|lang/slovak.php|1.3.2|1.2|optional|r@
+1.4.0|lang/slovak-utf-8.php|1.3.2|1.2|optional|r@
+1.4.0|lang/slovenian.php|1.3.0|1.10|optional|r@
+1.4.0|lang/slovenian-utf-8.php|1.3.0|1.8|optional|r@
+1.4.0|lang/spanish.php|1.3.0|1.8|optional|r@
+1.4.0|lang/spanish-utf-8.php|1.3.0|1.8|optional|r@
+1.4.0|lang/swedish.php|1.3.0|1.6|optional|r@
+1.4.0|lang/swedish-utf-8.php|1.3.0|1.5|optional|r@
+1.4.0|lang/turkish.php|1.3.2|1.5|optional|r@
+1.4.0|lang/turkish-utf-8.php|1.3.2|1.5|optional|r@
+1.4.0|lang/uighur.php|1.3.2|1.2|optional|r@
+1.4.0|lang/uighur-utf-8.php|1.3.2|1.2|optional|r@
+1.4.0|lang/vietnamese.php|1.3.2|1.1|optional|r@
+1.4.0|lang/vietnamese-utf-8.php|1.3.2|1.1|optional|r@
+1.4.0|logs|||mandatory|w@
+1.4.0|logs/log_header.inc.php|1.4.0|1.3|mandatory|r@
+1.4.0|plugins|||optional|r@
+1.4.0|plugins/sample|||optional|r@
+1.4.0|plugins/sample/codebase.php|1.4.0|1.4|optional|r@
+1.4.0|plugins/sample/credits.php|1.4.0|1.2|optional|r@
+1.4.0|plugins/sef_urls|||optional|r@
+1.4.0|plugins/sef_urls/codebase.php|1.4.0|1.4|optional|r@
+1.4.0|plugins/sef_urls/credits.php|1.4.0|1.2|optional|r@
+1.4.0|plugins/sef_urls/ht.txt|||optional|r@
+1.4.0|sql|||mandatory|r@
+1.4.0|sql/basic.sql||1.49|mandatory|r@
+1.4.0|sql/schema.sql||1.23|mandatory|r@
+1.4.0|sql/update.sql||1.74|mandatory|r@
+1.4.0|themes|||mandatory|r@
+1.4.0|themes/classic|||optional|r@
+1.4.0|themes/classic/style.css||1.8|optional|r@
+1.4.0|themes/classic/template.html||1.9|optional|r@
+1.4.0|themes/classic/theme.php|1.4.0|1.31|optional|r@
+1.4.0|themes/classic/images|||optional|r@
+1.4.0|themes/eyeball|||optional|r@
+1.4.0|themes/eyeball/style.css||1.14|optional|r@
+1.4.0|themes/eyeball/template.html||1.8|optional|r@
+1.4.0|themes/eyeball/theme.php|1.4.0|1.52|optional|r@
+1.4.0|themes/eyeball/images|||optional|r@
+1.4.0|themes/fruity|||optional|r@
+1.4.0|themes/fruity/style.css||1.13|optional|r@
+1.4.0|themes/fruity/template.html||1.8|optional|r@
+1.4.0|themes/fruity/theme.php|1.4.0|1.50|optional|r@
+1.4.0|themes/fruity/images|||optional|r@
+1.4.0|themes/hardwired|||optional|r@
+1.4.0|themes/hardwired/style.css||1.16|optional|r@
+1.4.0|themes/hardwired/template.html||1.9|optional|r@
+1.4.0|themes/hardwired/theme.php|1.4.0|1.52|optional|r@
+1.4.0|themes/hardwired/images|||optional|r@
+1.4.0|themes/igames|||optional|r@
+1.4.0|themes/igames/style.css||1.15|optional|r@
+1.4.0|themes/igames/template.html||1.9|optional|r@
+1.4.0|themes/igames/theme.php|1.4.0|1.54|optional|r@
+1.4.0|themes/igames/images|||optional|r@
+1.4.0|themes/mac_ox_x|||optional|r@
+1.4.0|themes/mac_ox_x/style.css||1.14|optional|r@
+1.4.0|themes/mac_ox_x/template.html||1.8|optional|r@
+1.4.0|themes/mac_ox_x/theme.php|1.4.0|1.50|optional|r@
+1.4.0|themes/mac_ox_x/images|||optional|r@
+1.4.0|themes/classic|||optional|r@
+1.4.0|themes/project_vii/style.css||1.17|optional|r@
+1.4.0|themes/project_vii/template.html||1.7|optional|r@
+1.4.0|themes/project_vii/theme.php|1.4.0|1.52|optional|r@
+1.4.0|themes/project_vii/images|||optional|r@
+1.4.0|themes/rainy_day|||optional|r@
+1.4.0|themes/rainy_day/style.css||1.15|optional|r@
+1.4.0|themes/rainy_day/template.html||1.6|optional|r@
+1.4.0|themes/rainy_day/theme.php|1.4.0|1.55|optional|r@
+1.4.0|themes/rainy_day/images|||optional|r@
+1.4.0|themes/styleguide|||optional|r@
+1.4.0|themes/styleguide/domLib.js|||optional|r@
+1.4.0|themes/styleguide/domTT.js|||optional|r@
+1.4.0|themes/styleguide/readme.htm||1.2|optional|r@
+1.4.0|themes/styleguide/template.html||1.4|optional|r@
+1.4.0|themes/styleguide/theme.php|1.4.0|1.34|optional|r@
+1.4.0|themes/styleguide/images|||optional|r@
+1.4.0|themes/water_drop|||optional|r@
+1.4.0|themes/water_drop/style.css||1.14|optional|r@
+1.4.0|themes/water_drop/theme.php|1.4.0|1.52|optional|r@
+1.4.0|themes/water_drop/images|||optional|r@
+1.4.1|addfav.php|1.4.1|1.18|mandatory|r@
+1.4.1|addpic.php|1.4.1|1.14|mandatory|r@
+1.4.1|admin.php|1.4.1|1.27|mandatory|r@
+1.4.1|albmgr.php|1.4.1|1.17|mandatory|r@
+1.4.1|anycontent.php|1.4.1|1.13|mandatory|r@
+1.4.1|banning.php|1.4.1|1.27|mandatory|r@
+1.4.1|bridgemgr.php|1.4.1|1.26|mandatory|r@
+1.4.1|calendar.php|1.4.1|1.11|mandatory|r@
+1.4.1|catmgr.php|1.4.1|1.30|mandatory|r@
+1.4.1|charsetmgr.php|1.4.1|1.9|mandatory|r@
+1.4.1|db_ecard.php|1.4.1|1.15|mandatory|r@
+1.4.1|db_input.php|1.4.1|1.51|mandatory|r@
+1.4.1|delete.php|1.4.1|1.24|mandatory|r@
+1.4.1|displayecard.php|1.4.1|1.13|mandatory|r@
+1.4.1|displayimage.php|1.4.1|1.101|mandatory|r@
+1.4.1|displayreport.php|1.4.1|1.6|mandatory|r@
+1.4.1|ecard.php|1.4.1|1.37|mandatory|r@
+1.4.1|editOnePic.php|1.4.1|1.41|mandatory|r@
+1.4.1|editpics.php|1.4.1|1.40|mandatory|r@
+1.4.1|exifmgr.php|1.4.1|1.9|mandatory|r@
+1.4.1|faq.php|1.4.1|1.7|mandatory|r@
+1.4.1|forgot_passwd.php|1.4.1|1.20|mandatory|r@
+1.4.1|getlang.php|1.4.1|1.10|mandatory|r@
+1.4.1|groupmgr.php|1.4.1|1.35|mandatory|r@
+1.4.1|image_processor.php|1.4.1|1.21|mandatory|r@
+1.4.1|index.php|1.4.1|1.87|mandatory|r@
+1.4.1|install.php|1.4.1|1.34|mandatory|r@
+1.4.1|installer.css|1.4.1|1.11|mandatory|r@
+1.4.1|keyword_create_dict.php|1.4.1|1.7|mandatory|r@
+1.4.1|keyword_select.php|1.4.1|1.7|mandatory|r@
+1.4.1|keywordmgr.php|1.4.1|1.12|mandatory|r@
+1.4.1|login.php|1.4.1|1.25|mandatory|r@
+1.4.1|logout.php|1.4.1|1.10|mandatory|r@
+1.4.1|minibrowser.php|1.4.1|1.15|mandatory|r@
+1.4.1|mode.php|1.4.1|1.4|mandatory|r@
+1.4.1|modifyalb.php|1.4.1|1.31|mandatory|r@
+1.4.1|phpinfo.php|1.4.1|1.11|mandatory|r@
+1.4.1|picEditor.php|1.4.1|1.24|mandatory|r@
+1.4.1|picmgr.php|1.4.1|1.19|mandatory|r@
+1.4.1|pluginmgr.php|1.4.1|1.18|mandatory|r@
+1.4.1|profile.php|1.4.1|1.45|mandatory|r@
+1.4.1|ratepic.php|1.4.1|1.13|mandatory|r@
+1.4.1|register.php|1.4.1|1.33|mandatory|r@
+1.4.1|relocate_server.php|1.4.1|1.5|optional|r@
+1.4.1|report_file.php|1.4.1|1.22|mandatory|r@
+1.4.1|reviewcom.php|1.4.1|1.20|mandatory|r@
+1.4.1|scripts.js|1.4.1|1.13|mandatory|r@
+1.4.1|search.php|1.4.1|1.17|mandatory|r@
+1.4.1|searchnew.php|1.4.1|1.50|mandatory|r@
+1.4.1|showthumb.php|1.4.1|1.10|mandatory|r@
+1.4.1|stat_details.php|1.4.1|1.1|mandatory|r@
+1.4.1|thumbnails.php|1.4.1|1.29|mandatory|r@
+1.4.1|update.php|1.4.1|1.23|mandatory|r@
+1.4.1|upgrade-1.0-to-1.2.php|1.4.1|1.9|mandatory|r@
+1.4.1|upload.php|1.4.1|1.73|mandatory|r@
+1.4.1|usermgr.php|1.4.1|1.50|mandatory|r@
+1.4.1|util.php|1.4.1|1.30|mandatory|r@
+1.4.1|versioncheck.php|1.4.1|1.71|mandatory|r@
+1.4.1|viewlog.php|1.4.1|1.11|mandatory|r@
+1.4.1|xp_publish.php|1.4.1|1.30|mandatory|r@
+1.4.1|zipdownload.php|1.4.1|1.10|mandatory|r@
+1.4.1|**fullpath**|||mandatory|w@
+1.4.1|**fullpath**/index.php|||optional|w@
+1.4.1|**fullpath**/edit/index.html|||optional|w@
+1.4.1|**fullpath**/edit|||mandatory|w@
+1.4.1|**fullpath**/edit/index.html|||optional|w@
+1.4.1|**fullpath**/**userpics**|||mandatory|w@
+1.4.1|**fullpath**/**userpics**/index.php|||optional|w@
+1.4.1|bridge|||mandatory|r@
+1.4.1|bridge/coppermine.inc.php|1.4.1|1.20|mandatory|r@
+1.4.1|bridge/eblah.inc.php|1.4.1|1.4|optional|r@
+1.4.1|bridge/invisionboard20.inc.php|1.4.1|1.8|optional|r@
+1.4.1|bridge/mambo.inc.php|1.4.1|1.17|optional|r@
+1.4.1|bridge/mybb.inc.php|1.4.1|1.2|optional|r@
+1.4.1|bridge/phorum.inc.php|1.4.1|1.5|optional|r@
+1.4.1|bridge/phpbb.inc.php|1.4.1|1.42|optional|r@
+1.4.1|bridge/phpbb22.inc.php|1.4.1|1.10|optional|r@
+1.4.1|bridge/punbb115.inc.php|1.4.1|1.5|optional|r@
+1.4.1|bridge/punbb12.inc.php|1.4.1|1.12|optional|r@
+1.4.1|bridge/smf10.inc.php|1.4.1|1.13|optional|r@
+1.4.1|bridge/udb_base.inc.php|1.4.1|1.13|mandatory|r@
+1.4.1|bridge/vbulletin30.inc.php|1.4.1|1.23|optional|r@
+1.4.1|bridge/xmb.inc.php|1.4.1|1.4|optional|r@
+1.4.1|bridge/xoops.inc.php|1.4.1|1.4|optional|r@
+1.4.1|docs|||mandatory|r@
+1.4.1|docs/credits.html||1.12|optional|r@
+1.4.1|docs/faq.htm|||optional|r@
+1.4.1|docs/index.htm||1.12|mandatory|r@
+1.4.1|docs/README.html||1.17|optional|r@
+1.4.1|docs/showdoc.php|1.4.1|1.13|mandatory|r@
+1.4.1|docs/theme.htm||1.15|optional|r@
+1.4.1|docs/translation.htm|||optional|r@
+1.4.1|docs/pics|||mandatory|r@
+1.4.1|docs/theme|||optional|r@
+1.4.1|docs/theme/edit_style.html|||optional|r@
+1.4.1|docs/theme/edit_template.html|||optional|r@
+1.4.1|docs/theme/edit_theme.html|1.4.1|1.5|optional|r@
+1.4.1|docs/theme/index.html||1.1|optional|r@
+1.4.1|docs/theme/style.css|||optional|r@
+1.4.1|docs/theme/validation.html|||optional|r@
+1.4.1|include|||mandatory|w@
+1.4.1|include/archive.php|1.4.1|1.5|mandatory|r@
+1.4.1|include/config.inc.php|||mandatory|r@
+1.4.1|include/crop.inc.php|1.4.1|1.13|mandatory|r@
+1.4.1|include/debugger.inc.php|1.4.1|1.9|mandatory|r@
+1.4.1|include/exif.php|1.4.1|1.8|mandatory|r@
+1.4.1|include/exif_php.inc.php|1.4.1|1.15|mandatory|r@
+1.4.1|include/exifReader.inc.php|1.4.1|1.8|mandatory|r@
+1.4.1|include/functions.inc.php|1.4.1|1.205|mandatory|r@
+1.4.1|include/imageObjectGD.class.php|1.4.1|1.8|mandatory|r@
+1.4.1|include/imageObjectIM.class.php|1.4.1|1.8|mandatory|r@
+1.4.1|include/index.html|1.4.1|1.2|mandatory|r@
+1.4.1|include/init.inc.php|1.4.1|1.100|mandatory|r@
+1.4.1|include/iptc.inc.php|1.4.1|1.12|mandatory|r@
+1.4.1|include/keyword.inc.php|1.4.1|1.11|mandatory|r@
+1.4.1|include/langfallback.inc.php|1.4.1|1.31|mandatory|r@
+1.4.1|include/logger.inc.php|1.4.1|1.14|mandatory|r@
+1.4.1|include/mailer.inc.php|1.4.1|1.17|mandatory|r@
+1.4.1|include/mb.inc.php|1.4.1|1.4|mandatory|r@
+1.4.1|include/media.functions.inc.php|1.4.1|1.13|mandatory|r@
+1.4.1|include/phpmailer.lang-en.php|1.4.1|1.2|mandatory|r@
+1.4.1|include/picmgmt.inc.php|1.4.1|1.35|mandatory|r@
+1.4.1|include/plugin_api.inc.php|1.4.1|1.18|mandatory|r@
+1.4.1|include/search.inc.php|1.4.1|1.23|mandatory|r@
+1.4.1|include/select_lang.inc.php|1.4.1|1.10|mandatory|r@
+1.4.1|include/slideshow.inc.php|1.4.1|1.12|mandatory|r@
+1.4.1|include/smilies.inc.php|1.4.1|1.17|mandatory|r@
+1.4.1|include/smtp.inc.php|1.4.1|1.4|mandatory|r@
+1.4.1|include/sql_parse.php|1.4.1|1.7|mandatory|r@
+1.4.1|include/themes.inc.php|1.4.1|1.44|mandatory|r@
+1.4.1|include/update.inc.php|1.4.1|1.5|mandatory|r@
+1.4.1|include/zip.lib.php|1.4.1|1.4|mandatory|r@
+1.4.1|include/makers|||mandatory|w@
+1.4.1|include/makers/canon.php|1.4.1|1.6|mandatory|r@
+1.4.1|include/makers/fujifilm.php|1.4.1|1.6|mandatory|r@
+1.4.1|include/makers/gps.php|1.4.1|1.6|mandatory|r@
+1.4.1|include/makers/nikon.php|1.4.1|1.6|mandatory|r@
+1.4.1|include/makers/olympus.php|1.4.1|1.6|mandatory|r@
+1.4.1|include/makers/sanyo.php|1.4.1|1.6|mandatory|r@
+1.4.1|lang|||mandatory|r@
+1.4.1|lang/albanian.php|1.3.3|1.2|optional|r@
+1.4.1|lang/arabic.php|1.4.1|1.6|optional|r@
+1.4.1|lang/brazilian_portuguese.php|1.4.1|1.8|optional|r@
+1.4.1|lang/bulgarian.php|1.4.1|1.6|optional|r@
+1.4.1|lang/chinese_big5.php|1.4.1|1.8|optional|r@
+1.4.1|lang/chinese_gb.php|1.4.1|1.7|optional|r@
+1.4.1|lang/catalan.php|1.4.1|1.3|optional|r@
+1.4.1|lang/croatian.php|1.4.1|1.6|optional|r@
+1.4.1|lang/czech.php|1.4.1|1.7|optional|r@
+1.4.1|lang/danish.php|1.4.1|1.13|optional|r@
+1.4.1|lang/dutch.php|1.4.1|1.15|optional|r@
+1.4.1|lang/english.php|1.4.1|1.281|mandatory|r@
+1.4.1|lang/english_gb.php|1.4.1|1.4|optional|r@
+1.4.1|lang/estonian.php|1.4.1|1.7|optional|r@
+1.4.1|lang/finnish.php|1.4.1|1.8|optional|r@
+1.4.1|lang/french.php|1.4.1|1.24|optional|r@
+1.4.1|lang/galician.php|1.3.3|1.1|optional|r@
+1.4.1|lang/german.php|1.4.1|1.24|optional|r@
+1.4.1|lang/german_sie.php|1.4.1|1.4|optional|r@
+1.4.1|lang/greek.php|1.4.1|1.8|optional|r@
+1.4.1|lang/hebrew.php|1.4.1|1.7|optional|r@
+1.4.1|lang/hungarian.php|1.4.1|1.9|optional|r@
+1.4.1|lang/indonesian.php|1.4.1|1.7|optional|r@
+1.4.1|lang/italian.php|1.4.1|1.9|optional|r@
+1.4.1|lang/italian2.php|1.4.1|1.4|optional|r@
+1.4.1|lang/japanese.php|1.4.1|1.6|optional|r@
+1.4.1|lang/latvian.php|1.4.1|1.8|optional|r@
+1.4.1|lang/malay.php|1.4.1|1.3|optional|r@
+1.4.1|lang/norwegian.php|1.4.1|1.10|optional|r@
+1.4.1|lang/persian.php|1.3.2|1.1|optional|r@
+1.4.1|lang/polish.php|1.4.1|1.5|optional|r@
+1.4.1|lang/romanian.php|1.4.1|1.5|optional|r@
+1.4.1|lang/romanian_no_diacritics.php|1.4.1|1.2|optional|r@
+1.4.1|lang/russian.php|1.4.1|1.8|optional|r@
+1.4.1|lang/slovak.php|1.4.1|1.3|optional|r@
+1.4.1|lang/slovenian.php|1.4.1|1.12|optional|r@
+1.4.1|lang/spanish.php|1.4.1|1.10|optional|r@
+1.4.1|lang/swedish.php|1.4.1|1.8|optional|r@
+1.4.1|lang/thai.php|1.3.2|1.5|optional|r@
+1.4.1|lang/turkish.php|1.4.1|1.6|optional|r@
+1.4.1|lang/uighur.php|1.4.1|1.3|optional|r@
+1.4.1|lang/vietnamese.php|1.4.1|1.3|optional|r@
+1.4.1|lang/welsh.php|1.3.2|1.2|optional|r@
+1.4.1|logs|||mandatory|w@
+1.4.1|logs/log_header.inc.php|1.4.1|1.5|mandatory|r@
+1.4.1|plugins|||optional|r@
+1.4.1|plugins/sample|||optional|r@
+1.4.1|plugins/sample/codebase.php|1.4.1|1.8|optional|r@
+1.4.1|plugins/sample/configuration.php|1.4.1|1.1|optional|r@
+1.4.1|plugins/sef_urls|||optional|r@
+1.4.1|plugins/sef_urls/codebase.php|1.4.1|1.7|optional|r@
+1.4.1|plugins/sef_urls/configuration.php|1.4.1|1.2|optional|r@
+1.4.1|plugins/sef_urls/ht.txt|1.4.1|1.3|optional|r@
+1.4.1|sql|||mandatory|r@
+1.4.1|sql/basic.sql|1.4.1|1.91|mandatory|r@
+1.4.1|sql/schema.sql|1.4.1|1.40|mandatory|r@
+1.4.1|sql/update.sql|1.4.1|1.120|mandatory|r@
+1.4.1|themes|||mandatory|r@
+1.4.1|themes/classic|||optional|r@
+1.4.1|themes/classic/style.css|1.4.1|1.16|optional|r@
+1.4.1|themes/classic/template.html||1.9|optional|r@
+1.4.1|themes/classic/theme.php|1.4.1|1.70|optional|r@
+1.4.1|themes/classic/images|||optional|r@
+1.4.1|themes/eyeball|||optional|r@
+1.4.1|themes/eyeball/style.css|1.4.1|1.22|optional|r@
+1.4.1|themes/eyeball/template.html||1.8|optional|r@
+1.4.1|themes/eyeball/theme.php|1.4.1|1.64|optional|r@
+1.4.1|themes/eyeball/images|||optional|r@
+1.4.1|themes/fruity|||optional|r@
+1.4.1|themes/fruity/style.css|1.4.1|1.20|optional|r@
+1.4.1|themes/fruity/template.html||1.8|optional|r@
+1.4.1|themes/fruity/theme.php|1.4.1|1.61|optional|r@
+1.4.1|themes/fruity/images|||optional|r@
+1.4.1|themes/hardwired|||optional|r@
+1.4.1|themes/hardwired/style.css|1.4.1|1.25|optional|r@
+1.4.1|themes/hardwired/template.html||1.9|optional|r@
+1.4.1|themes/hardwired/theme.php|1.4.1|1.68|optional|r@
+1.4.1|themes/hardwired/images|||optional|r@
+1.4.1|themes/igames|||optional|r@
+1.4.1|themes/igames/style.css|1.4.1|1.23|optional|r@
+1.4.1|themes/igames/template.html||1.9|optional|r@
+1.4.1|themes/igames/theme.php|1.4.1|1.67|optional|r@
+1.4.1|themes/igames/images|||optional|r@
+1.4.1|themes/mac_ox_x|||optional|r@
+1.4.1|themes/mac_ox_x/style.css|1.4.1|1.21|optional|r@
+1.4.1|themes/mac_ox_x/template.html||1.8|optional|r@
+1.4.1|themes/mac_ox_x/theme.php|1.4.1|1.62|optional|r@
+1.4.1|themes/mac_ox_x/images|||optional|r@
+1.4.1|themes/project_vii|||optional|r@
+1.4.1|themes/project_vii/style.css|1.4.1|1.25|optional|r@
+1.4.1|themes/project_vii/template.html||1.7|optional|r@
+1.4.1|themes/project_vii/theme.php|1.4.1|1.61|optional|r@
+1.4.1|themes/project_vii/images|||optional|r@
+1.4.1|themes/rainy_day|||optional|r@
+1.4.1|themes/rainy_day/style.css|1.4.1|1.22|optional|r@
+1.4.1|themes/rainy_day/template.html||1.6|optional|r@
+1.4.1|themes/rainy_day/theme.php|1.4.1|1.64|optional|r@
+1.4.1|themes/rainy_day/images|||optional|r@
+1.4.1|themes/sample|||optional|r@
+1.4.1|themes/sample/style.css|1.4.1|1.1|optional|r@
+1.4.1|themes/sample/template.html|||optional|r@
+1.4.1|themes/sample/theme.php|1.4.1|1.5|optional|r@
+1.4.1|themes/sample/images|||optional|r@
+1.4.1|themes/water_drop|||optional|r@
+1.4.1|themes/water_drop/style.css|1.4.1|1.21|optional|r@
+1.4.1|themes/water_drop/template.html||1.15|optional|r@
+1.4.1|themes/water_drop/theme.php|1.4.1|1.64|optional|r@
+1.4.1|themes/water_drop/images|||optional|r@
+1.4.2|addfav.php|1.4.2|1.19|mandatory|r@
+1.4.2|addpic.php|1.4.2|1.15|mandatory|r@
+1.4.2|admin.php|1.4.2|1.28|mandatory|r@
+1.4.2|albmgr.php|1.4.2|1.18|mandatory|r@
+1.4.2|anycontent.php|1.4.2|1.14|mandatory|r@
+1.4.2|banning.php|1.4.2|1.28|mandatory|r@
+1.4.2|bridgemgr.php|1.4.2|1.28|mandatory|r@
+1.4.2|calendar.php|1.4.2|1.12|mandatory|r@
+1.4.2|catmgr.php|1.4.2|1.31|mandatory|r@
+1.4.2|charsetmgr.php|1.4.2|1.10|mandatory|r@
+1.4.2|db_ecard.php|1.4.2|1.16|mandatory|r@
+1.4.2|db_input.php|1.4.2|1.52|mandatory|r@
+1.4.2|delete.php|1.4.2|1.25|mandatory|r@
+1.4.2|displayecard.php|1.4.2|1.14|mandatory|r@
+1.4.2|displayimage.php|1.4.2|1.102|mandatory|r@
+1.4.2|displayreport.php|1.4.2|1.7|mandatory|r@
+1.4.2|ecard.php|1.4.2|1.38|mandatory|r@
+1.4.2|editOnePic.php|1.4.2|1.42|mandatory|r@
+1.4.2|editpics.php|1.4.2|1.41|mandatory|r@
+1.4.2|exifmgr.php|1.4.2|1.10|mandatory|r@
+1.4.2|faq.php|1.4.2|1.8|mandatory|r@
+1.4.2|forgot_passwd.php|1.4.2|1.21|mandatory|r@
+1.4.2|getlang.php|1.4.2|1.11|mandatory|r@
+1.4.2|groupmgr.php|1.4.2|1.36|mandatory|r@
+1.4.2|image_processor.php|1.4.2|1.24|mandatory|r@
+1.4.2|index.php|1.4.2|1.88|mandatory|r@
+1.4.2|install.php|1.4.2|1.36|mandatory|r@
+1.4.2|installer.css|1.4.2|1.12|mandatory|r@
+1.4.2|keyword_create_dict.php|1.4.2|1.8|mandatory|r@
+1.4.2|keyword_select.php|1.4.2|1.8|mandatory|r@
+1.4.2|keywordmgr.php|1.4.2|1.13|mandatory|r@
+1.4.2|login.php|1.4.2|1.26|mandatory|r@
+1.4.2|logout.php|1.4.2|1.11|mandatory|r@
+1.4.2|minibrowser.php|1.4.2|1.16|mandatory|r@
+1.4.2|mode.php|1.4.2|1.5|mandatory|r@
+1.4.2|modifyalb.php|1.4.2|1.32|mandatory|r@
+1.4.2|phpinfo.php|1.4.2|1.12|mandatory|r@
+1.4.2|picEditor.php|1.4.2|1.26|mandatory|r@
+1.4.2|picmgr.php|1.4.2|1.20|mandatory|r@
+1.4.2|pluginmgr.php|1.4.2|1.19|mandatory|r@
+1.4.2|profile.php|1.4.2|1.46|mandatory|r@
+1.4.2|ratepic.php|1.4.2|1.14|mandatory|r@
+1.4.2|register.php|1.4.2|1.34|mandatory|r@
+1.4.2|relocate_server.php|1.4.2|1.6|optional|r@
+1.4.2|report_file.php|1.4.2|1.23|mandatory|r@
+1.4.2|reviewcom.php|1.4.2|1.21|mandatory|r@
+1.4.2|scripts.js|1.4.2|1.14|mandatory|r@
+1.4.2|search.php|1.4.2|1.18|mandatory|r@
+1.4.2|searchnew.php|1.4.2|1.52|mandatory|r@
+1.4.2|showthumb.php|1.4.2|1.11|mandatory|r@
+1.4.2|stat_details.php|1.4.2|1.2|mandatory|r@
+1.4.2|thumbnails.php|1.4.2|1.30|mandatory|r@
+1.4.2|update.php|1.4.2|1.24|mandatory|r@
+1.4.2|upgrade-1.0-to-1.2.php|1.4.2|1.10|mandatory|r@
+1.4.2|upload.php|1.4.2|1.74|mandatory|r@
+1.4.2|usermgr.php|1.4.2|1.51|mandatory|r@
+1.4.2|util.php|1.4.2|1.31|mandatory|r@
+1.4.2|versioncheck.php|1.4.2|1.76|mandatory|r@
+1.4.2|viewlog.php|1.4.2|1.12|mandatory|r@
+1.4.2|xp_publish.php|1.4.2|1.33|mandatory|r@
+1.4.2|zipdownload.php|1.4.2|1.11|mandatory|r@
+1.4.2|**fullpath**|||mandatory|w@
+1.4.2|**fullpath**/index.php|||optional|w@
+1.4.2|**fullpath**/edit/index.html|||optional|w@
+1.4.2|**fullpath**/edit/no_FTP-uploads_into_this_folder!|||optional|w@
+1.4.2|**fullpath**/edit|||mandatory|w@
+1.4.2|**fullpath**/edit/index.html|||optional|w@
+1.4.2|**fullpath**/**userpics**|||mandatory|w@
+1.4.2|**fullpath**/**userpics**/index.php|||optional|w@
+1.4.2|**fullpath**/**userpics**/no_FTP-uploads_into_this_folder!|||optional|w@
+1.4.2|bridge|||mandatory|r@
+1.4.2|bridge/coppermine.inc.php|1.4.2|1.21|mandatory|r@
+1.4.2|bridge/eblah.inc.php|1.4.2|1.5|optional|r@
+1.4.2|bridge/invisionboard20.inc.php|1.4.2|1.9|optional|r@
+1.4.2|bridge/mambo.inc.php|1.4.2|1.18|optional|r@
+1.4.2|bridge/mybb.inc.php|1.4.2|1.3|optional|r@
+1.4.2|bridge/phorum.inc.php|1.4.2|1.6|optional|r@
+1.4.2|bridge/phpbb.inc.php|1.4.2|1.44|optional|r@
+1.4.2|bridge/phpbb2018.inc.php|1.4.2|1.1|optional|r@
+1.4.2|bridge/phpbb22.inc.php|1.4.2|1.11|optional|r@
+1.4.2|bridge/punbb115.inc.php|1.4.2|1.6|optional|r@
+1.4.2|bridge/punbb12.inc.php|1.4.2|1.13|optional|r@
+1.4.2|bridge/smf10.inc.php|1.4.2|1.17|optional|r@
+1.4.2|bridge/udb_base.inc.php|1.4.2|1.14|mandatory|r@
+1.4.2|bridge/vbulletin30.inc.php|1.4.2|1.24|optional|r@
+1.4.2|bridge/xmb.inc.php|1.4.2|1.5|optional|r@
+1.4.2|bridge/xoops.inc.php|1.4.2|1.5|optional|r@
+1.4.2|docs|||mandatory|r@
+1.4.2|docs/faq.htm|||optional|r@
+1.4.2|docs/faq_fr.htm|||optional|r@
+1.4.2|docs/index.htm||1.12|mandatory|r@
+1.4.2|docs/index_fr.htm||1.2|mandatory|r@
+1.4.2|docs/README.html||1.17|optional|r@
+1.4.2|docs/showdoc.php|1.4.2|1.15|mandatory|r@
+1.4.2|docs/style.css|1.4.2|1.6|mandatory|r@
+1.4.2|docs/theme.htm||1.16|optional|r@
+1.4.2|docs/translation.htm|||optional|r@
+1.4.2|docs/pics|||mandatory|r@
+1.4.2|docs/theme|||optional|r@
+1.4.2|docs/theme/edit_style.html|||optional|r@
+1.4.2|docs/theme/edit_template.html|||optional|r@
+1.4.2|docs/theme/edit_theme.html|1.4.2|1.6|optional|r@
+1.4.2|docs/theme/index.html||1.1|optional|r@
+1.4.2|docs/theme/style.css|1.4.2|1.3|optional|r@
+1.4.2|docs/theme/validation.html|||optional|r@
+1.4.2|include|||mandatory|w@
+1.4.2|include/archive.php|1.4.2|1.6|mandatory|r@
+1.4.2|include/config.inc.php|||mandatory|r@
+1.4.2|include/config.inc.php.sample|||optional|r@
+1.4.2|include/crop.inc.php|1.4.2|1.15|mandatory|r@
+1.4.2|include/debugger.inc.php|1.4.2|1.10|mandatory|r@
+1.4.2|include/exif.php|1.4.2|1.10|mandatory|r@
+1.4.2|include/exif_php.inc.php|1.4.2|1.16|mandatory|r@
+1.4.2|include/exifReader.inc.php|1.4.2|1.9|mandatory|r@
+1.4.2|include/functions.inc.php|1.4.2|1.207|mandatory|r@
+1.4.2|include/imageObjectGD.class.php|1.4.2|1.9|mandatory|r@
+1.4.2|include/imageObjectIM.class.php|1.4.2|1.9|mandatory|r@
+1.4.2|include/index.html|1.4.2|1.3|mandatory|r@
+1.4.2|include/init.inc.php|1.4.2|1.102|mandatory|r@
+1.4.2|include/iptc.inc.php|1.4.2|1.13|mandatory|r@
+1.4.2|include/keyword.inc.php|1.4.2|1.12|mandatory|r@
+1.4.2|include/langfallback.inc.php|1.4.2|1.32|mandatory|r@
+1.4.2|include/logger.inc.php|1.4.2|1.15|mandatory|r@
+1.4.2|include/mailer.inc.php|1.4.2|1.18|mandatory|r@
+1.4.2|include/mb.inc.php|1.4.2|1.5|mandatory|r@
+1.4.2|include/media.functions.inc.php|1.4.2|1.14|mandatory|r@
+1.4.2|include/phpmailer.lang-en.php|1.4.2|1.3|mandatory|r@
+1.4.2|include/picmgmt.inc.php|1.4.2|1.36|mandatory|r@
+1.4.2|include/plugin_api.inc.php|1.4.2|1.19|mandatory|r@
+1.4.2|include/search.inc.php|1.4.2|1.24|mandatory|r@
+1.4.2|include/select_lang.inc.php|1.4.2|1.11|mandatory|r@
+1.4.2|include/slideshow.inc.php|1.4.2|1.13|mandatory|r@
+1.4.2|include/smilies.inc.php|1.4.2|1.18|mandatory|r@
+1.4.2|include/smtp.inc.php|1.4.2|1.5|mandatory|r@
+1.4.2|include/sql_parse.php|1.4.2|1.8|mandatory|r@
+1.4.2|include/themes.inc.php|1.4.2|1.45|mandatory|r@
+1.4.2|include/update.inc.php|1.4.2|1.6|mandatory|r@
+1.4.2|include/zip.lib.php|1.4.2|1.5|mandatory|r@
+1.4.2|include/makers|||mandatory|w@
+1.4.2|include/makers/canon.php|1.4.2|1.9|mandatory|r@
+1.4.2|include/makers/fujifilm.php|1.4.2|1.9|mandatory|r@
+1.4.2|include/makers/gps.php|1.4.2|1.9|mandatory|r@
+1.4.2|include/makers/nikon.php|1.4.2|1.9|mandatory|r@
+1.4.2|include/makers/olympus.php|1.4.2|1.9|mandatory|r@
+1.4.2|include/makers/sanyo.php|1.4.2|1.9|mandatory|r@
+1.4.2|lang|||mandatory|r@
+1.4.2|lang/albanian.php|1.3.3|1.3|optional|r@
+1.4.2|lang/arabic.php|1.4.1|1.6|optional|r@
+1.4.2|lang/basque.php|1.4.1|1.6|optional|r@
+1.4.2|lang/brazilian_portuguese.php|1.4.1|1.8|optional|r@
+1.4.2|lang/bulgarian.php|1.4.1|1.6|optional|r@
+1.4.2|lang/catalan.php|1.4.1|1.3|optional|r@
+1.4.2|lang/chinese_big5.php|1.4.1|1.9|optional|r@
+1.4.2|lang/chinese_gb.php|1.4.1|1.7|optional|r@
+1.4.2|lang/croatian.php|1.4.1|1.6|optional|r@
+1.4.2|lang/czech.php|1.4.1|1.7|optional|r@
+1.4.2|lang/danish.php|1.4.1|1.14|optional|r@
+1.4.2|lang/dutch.php|1.4.1|1.17|optional|r@
+1.4.2|lang/english.php|1.4.1|1.281|mandatory|r@
+1.4.2|lang/english_gb.php|1.4.1|1.4|optional|r@
+1.4.2|lang/estonian.php|1.4.1|1.7|optional|r@
+1.4.2|lang/finnish.php|1.4.1|1.9|optional|r@
+1.4.2|lang/french.php|1.4.1|1.25|optional|r@
+1.4.2|lang/galician.php|1.3.4|1.3|optional|r@
+1.4.2|lang/german.php|1.4.2|1.29|optional|r@
+1.4.2|lang/german_sie.php|1.4.2|1.7|optional|r@
+1.4.2|lang/greek.php|1.4.1|1.8|optional|r@
+1.4.2|lang/hebrew.php|1.4.1|1.7|optional|r@
+1.4.2|lang/hungarian.php|1.4.1|1.9|optional|r@
+1.4.2|lang/indonesian.php|1.4.1|1.7|optional|r@
+1.4.2|lang/italian.php|1.3.4|1.10|optional|r@
+1.4.2|lang/italian2.php|1.3.4|1.4|optional|r@
+1.4.2|lang/japanese.php|1.4.1|1.6|optional|r@
+1.4.2|lang/korean.php|1.4.1|1.9|optional|r@
+1.4.2|lang/kurdish.php|1.4.1|1.2|optional|r@
+1.4.2|lang/latvian.php|1.4.1|1.8|optional|r@
+1.4.2|lang/malay.php|1.4.1|1.3|optional|r@
+1.4.2|lang/norwegian.php|1.4.1|1.13|optional|r@
+1.4.2|lang/persian.php|1.3.2|1.2|optional|r@
+1.4.2|lang/polish.php|1.4.1|1.7|optional|r@
+1.4.2|lang/portuguese.php|1.3.4|1.7|optional|r@
+1.4.2|lang/romanian.php|1.4.1|1.5|optional|r@
+1.4.2|lang/romanian_no_diacritics.php|1.4.1|1.2|optional|r@
+1.4.2|lang/russian.php|1.4.1|1.8|optional|r@
+1.4.2|lang/slovak.php|1.4.1|1.3|optional|r@
+1.4.2|lang/slovenian.php|1.4.1|1.12|optional|r@
+1.4.2|lang/spanish.php|1.4.1|1.10|optional|r@
+1.4.2|lang/swedish.php|1.4.1|1.8|optional|r@
+1.4.2|lang/thai.php|1.3.2|1.5|optional|r@
+1.4.2|lang/turkish.php|1.4.1|1.6|optional|r@
+1.4.2|lang/uighur.php|1.4.1|1.3|optional|r@
+1.4.2|lang/vietnamese.php|1.4.1|1.3|optional|r@
+1.4.2|lang/welsh.php|1.3.2|1.2|optional|r@
+1.4.2|logs|||mandatory|w@
+1.4.2|logs/log_header.inc.php|1.4.2|1.6|mandatory|r@
+1.4.2|plugins|||optional|r@
+1.4.2|plugins/sample|||optional|r@
+1.4.2|plugins/sample/codebase.php|1.4.2|1.9|optional|r@
+1.4.2|plugins/sample/configuration.php|1.4.2|1.2|optional|r@
+1.4.2|plugins/sef_urls|||optional|r@
+1.4.2|plugins/sef_urls/codebase.php|1.4.2|1.8|optional|r@
+1.4.2|plugins/sef_urls/configuration.php|1.4.2|1.3|optional|r@
+1.4.2|plugins/sef_urls/ht.txt|1.4.2|1.4|optional|r@
+1.4.2|sql|||mandatory|r@
+1.4.2|sql/basic.sql|1.4.2|1.92|mandatory|r@
+1.4.2|sql/schema.sql|1.4.2|1.42|mandatory|r@
+1.4.2|sql/update.sql|1.4.2|1.122|mandatory|r@
+1.4.2|themes|||mandatory|r@
+1.4.2|themes/classic|||optional|r@
+1.4.2|themes/classic/style.css|1.4.2|1.17|optional|r@
+1.4.2|themes/classic/template.html||1.9|optional|r@
+1.4.2|themes/classic/theme.php|1.4.2|1.71|optional|r@
+1.4.2|themes/classic/images|||optional|r@
+1.4.2|themes/eyeball|||optional|r@
+1.4.2|themes/eyeball/style.css|1.4.2|1.23|optional|r@
+1.4.2|themes/eyeball/template.html||1.8|optional|r@
+1.4.2|themes/eyeball/theme.php|1.4.2|1.66|optional|r@
+1.4.2|themes/eyeball/images|||optional|r@
+1.4.2|themes/fruity|||optional|r@
+1.4.2|themes/fruity/style.css|1.4.2|1.21|optional|r@
+1.4.2|themes/fruity/template.html||1.8|optional|r@
+1.4.2|themes/fruity/theme.php|1.4.2|1.62|optional|r@
+1.4.2|themes/fruity/images|||optional|r@
+1.4.2|themes/hardwired|||optional|r@
+1.4.2|themes/hardwired/style.css|1.4.2|1.26|optional|r@
+1.4.2|themes/hardwired/template.html||1.9|optional|r@
+1.4.2|themes/hardwired/theme.php|1.4.2|1.69|optional|r@
+1.4.2|themes/hardwired/images|||optional|r@
+1.4.2|themes/igames|||optional|r@
+1.4.2|themes/igames/style.css|1.4.2|1.24|optional|r@
+1.4.2|themes/igames/template.html||1.9|optional|r@
+1.4.2|themes/igames/theme.php|1.4.2|1.68|optional|r@
+1.4.2|themes/igames/images|||optional|r@
+1.4.2|themes/mac_ox_x|||optional|r@
+1.4.2|themes/mac_ox_x/style.css|1.4.2|1.23|optional|r@
+1.4.2|themes/mac_ox_x/template.html||1.8|optional|r@
+1.4.2|themes/mac_ox_x/theme.php|1.4.2|1.63|optional|r@
+1.4.2|themes/mac_ox_x/images|||optional|r@
+1.4.2|themes/project_vii|||optional|r@
+1.4.2|themes/project_vii/style.css|1.4.2|1.27|optional|r@
+1.4.2|themes/project_vii/template.html||1.7|optional|r@
+1.4.2|themes/project_vii/theme.php|1.4.2|1.62|optional|r@
+1.4.2|themes/project_vii/images|||optional|r@
+1.4.2|themes/rainy_day|||optional|r@
+1.4.2|themes/rainy_day/style.css|1.4.2|1.24|optional|r@
+1.4.2|themes/rainy_day/template.html||1.6|optional|r@
+1.4.2|themes/rainy_day/theme.php|1.4.2|1.65|optional|r@
+1.4.2|themes/rainy_day/images|||optional|r@
+1.4.2|themes/sample|||optional|r@
+1.4.2|themes/sample/style.css|1.4.2|1.3|optional|r@
+1.4.2|themes/sample/template.html|||optional|r@
+1.4.2|themes/sample/theme.php|1.4.2|1.6|optional|r@
+1.4.2|themes/sample/images|||optional|r@
+1.4.2|themes/water_drop|||optional|r@
+1.4.2|themes/water_drop/style.css|1.4.2|1.23|optional|r@
+1.4.2|themes/water_drop/template.html||1.15|optional|r@
+1.4.2|themes/water_drop/theme.php|1.4.2|1.65|optional|r@
+1.4.2|themes/water_drop/images|||optional|r@
+1.4.3|addfav.php|1.4.3|1.10|mandatory|r@
+1.4.3|addpic.php|1.4.3|1.13|mandatory|r@
+1.4.3|admin.php|1.4.3|1.13|mandatory|r@
+1.4.3|albmgr.php|1.4.3|1.10|mandatory|r@
+1.4.3|anycontent.php|1.4.3|1.10|mandatory|r@
+1.4.3|banning.php|1.4.3|1.11|mandatory|r@
+1.4.3|bridgemgr.php|1.4.3|1.4|mandatory|r@
+1.4.3|calendar.php|1.4.3|1.8|mandatory|r@
+1.4.3|catmgr.php|1.4.3|1.11|mandatory|r@
+1.4.3|charsetmgr.php|1.4.3|1.2|mandatory|r@
+1.4.3|db_ecard.php|1.4.3|1.9|mandatory|r@
+1.4.3|db_input.php|1.4.3|1.14|mandatory|r@
+1.4.3|delete.php|1.4.3|1.11|mandatory|r@
+1.4.3|displayecard.php|1.4.3|1.10|mandatory|r@
+1.4.3|displayimage.php|1.4.3|1.19|mandatory|r@
+1.4.3|displayreport.php|1.4.3|1.2|mandatory|r@
+1.4.3|ecard.php|1.4.3|1.17|mandatory|r@
+1.4.3|editOnePic.php|1.4.3|1.16|mandatory|r@
+1.4.3|editpics.php|1.4.3|1.12|mandatory|r@
+1.4.3|exifmgr.php|1.4.3|1.2|mandatory|r@
+1.4.3|faq.php|1.4.3|1.8|mandatory|r@
+1.4.3|forgot_passwd.php|1.4.3|1.10|mandatory|r@
+1.4.3|getlang.php|1.4.3|1.10|mandatory|r@
+1.4.3|groupmgr.php|1.4.3|1.11|mandatory|r@
+1.4.3|image_processor.php|1.4.3|1.9|mandatory|r@
+1.4.3|index.php|1.4.3|1.21|mandatory|r@
+1.4.3|install.php|1.4.3|1.21|mandatory|r@
+1.4.3|installer.css|1.4.3|1.8|mandatory|r@
+1.4.3|keyword_create_dict.php|1.4.3|1.2|mandatory|r@
+1.4.3|keyword_select.php|1.4.3|1.2|mandatory|r@
+1.4.3|keywordmgr.php|1.4.3|1.2|mandatory|r@
+1.4.3|login.php|1.4.3|1.10|mandatory|r@
+1.4.3|logout.php|1.4.3|1.10|mandatory|r@
+1.4.3|minibrowser.php|1.4.3|1.2|mandatory|r@
+1.4.3|mode.php|1.4.3|1.2|mandatory|r@
+1.4.3|modifyalb.php|1.4.3|1.11|mandatory|r@
+1.4.3|phpinfo.php|1.4.3|1.10|mandatory|r@
+1.4.3|picEditor.php|1.4.3|1.9|mandatory|r@
+1.4.3|picmgr.php|1.4.3|1.2|mandatory|r@
+1.4.3|pluginmgr.php|1.4.3|1.2|mandatory|r@
+1.4.3|profile.php|1.4.3|1.12|mandatory|r@
+1.4.3|ratepic.php|1.4.3|1.10|mandatory|r@
+1.4.3|register.php|1.4.3|1.16|mandatory|r@
+1.4.3|report_file.php|1.4.3|1.2|mandatory|r@
+1.4.3|reviewcom.php|1.4.3|1.10|mandatory|r@
+1.4.3|scripts.js|1.4.3|1.4|mandatory|r@
+1.4.3|search.php|1.4.3|1.10|mandatory|r@
+1.4.3|searchnew.php|1.4.3|1.14|mandatory|r@
+1.4.3|showthumb.php|1.4.3|1.10|mandatory|r@
+1.4.3|stat_details.php|1.4.3|1.2|mandatory|r@
+1.4.3|thumbnails.php|1.4.3|1.10|mandatory|r@
+1.4.3|update.php|1.4.3|1.13|mandatory|r@
+1.4.3|upgrade-1.0-to-1.2.php|1.4.3|1.11|mandatory|r@
+1.4.3|upload.php|1.4.3|1.19|mandatory|r@
+1.4.3|usermgr.php|1.4.3|1.11|mandatory|r@
+1.4.3|util.php|1.4.3|1.18|mandatory|r@
+1.4.3|versioncheck.php|1.4.3|1.22|mandatory|r@
+1.4.3|viewlog.php|1.4.3|1.2|mandatory|r@
+1.4.3|xp_publish.php|1.4.3|1.13|mandatory|r@
+1.4.3|zipdownload.php|1.4.3|1.9|mandatory|r@
+1.4.3|**fullpath**|||mandatory|w@
+1.4.3|**fullpath**/index.php|||optional|w@
+1.4.3|**fullpath**/edit/index.html|||optional|w@
+1.4.3|**fullpath**/edit/no_FTP-uploads_into_this_folder!|||optional|w@
+1.4.3|**fullpath**/edit|||mandatory|w@
+1.4.3|**fullpath**/edit/index.html|||optional|w@
+1.4.3|**fullpath**/**userpics**|||mandatory|w@
+1.4.3|**fullpath**/**userpics**/index.php|||optional|w@
+1.4.3|**fullpath**/**userpics**/no_FTP-uploads_into_this_folder!|||optional|w@
+1.4.3|bridge|||mandatory|r@
+1.4.3|bridge/coppermine.inc.php|1.4.3|1.6|mandatory|r@
+1.4.3|bridge/eblah.inc.php|1.4.3|1.3|optional|r@
+1.4.3|bridge/invisionboard20.inc.php|1.4.3|1.3|optional|r@
+1.4.3|bridge/mambo.inc.php|1.4.3|1.4|optional|r@
+1.4.3|bridge/mybb.inc.php|1.4.3|1.3|optional|r@
+1.4.3|bridge/phorum.inc.php|1.4.3|1.3|optional|r@
+1.4.3|bridge/phpbb.inc.php|1.4.3|1.17|optional|r@
+1.4.3|bridge/phpbb2018.inc.php|1.4.3|1.10|optional|r@
+1.4.3|bridge/phpbb22.inc.php|1.4.3|1.3|optional|r@
+1.4.3|bridge/punbb115.inc.php|1.4.3|1.3|optional|r@
+1.4.3|bridge/punbb12.inc.php|1.4.3|1.4|optional|r@
+1.4.3|bridge/smf10.inc.php|1.4.3|1.4|optional|r@
+1.4.3|bridge/udb_base.inc.php|1.4.3|1.13|mandatory|r@
+1.4.3|bridge/vbulletin30.inc.php|1.4.3|1.14|optional|r@
+1.4.3|bridge/xmb.inc.php|1.4.3|1.3|optional|r@
+1.4.3|bridge/xoops.inc.php|1.4.3|1.4|optional|r@
+1.4.3|docs|||mandatory|r@
+1.4.3|docs/faq.htm|||optional|r@
+1.4.3|docs/faq_fr.htm|||optional|r@
+1.4.3|docs/index.htm||1.12|mandatory|r@
+1.4.3|docs/index_fr.htm||1.2|mandatory|r@
+1.4.3|docs/README.html||1.17|optional|r@
+1.4.3|docs/showdoc.php|1.4.3|1.2|mandatory|r@
+1.4.3|docs/style.css|1.4.3|1.2|mandatory|r@
+1.4.3|docs/theme.htm||1.10|optional|r@
+1.4.3|docs/translation.htm|||optional|r@
+1.4.3|docs/pics|||mandatory|r@
+1.4.3|docs/theme|||optional|r@
+1.4.3|docs/theme/edit_style.html|||optional|r@
+1.4.3|docs/theme/edit_template.html|||optional|r@
+1.4.3|docs/theme/edit_theme.html|1.4.3|1.3|optional|r@
+1.4.3|docs/theme/index.html||1.1|optional|r@
+1.4.3|docs/theme/style.css|1.4.3|1.2|optional|r@
+1.4.3|docs/theme/validation.html|||optional|r@
+1.4.3|include|||mandatory|w@
+1.4.3|include/archive.php|1.4.3|1.8|mandatory|r@
+1.4.3|include/config.inc.php|||mandatory|r@
+1.4.3|include/config.inc.php.sample|||optional|r@
+1.4.3|include/crop.inc.php|1.4.3|1.9|mandatory|r@
+1.4.3|include/debugger.inc.php|1.4.3|1.3|mandatory|r@
+1.4.3|include/exif.php|1.4.3|1.2|mandatory|r@
+1.4.3|include/exif_php.inc.php|1.4.3|1.11|mandatory|r@
+1.4.3|include/exifReader.inc.php|1.4.3|1.8|mandatory|r@
+1.4.3|include/functions.inc.php|1.4.3|1.36|mandatory|r@
+1.4.3|include/imageObjectGD.class.php|1.4.3|1.9|mandatory|r@
+1.4.3|include/imageObjectIM.class.php|1.4.3|1.8|mandatory|r@
+1.4.3|include/index.html|1.4.3|1.3|mandatory|r@
+1.4.3|include/init.inc.php|1.4.3|1.21|mandatory|r@
+1.4.3|include/iptc.inc.php|1.4.3|1.8|mandatory|r@
+1.4.3|include/keyword.inc.php|1.4.3|1.3|mandatory|r@
+1.4.3|include/langfallback.inc.php|1.4.3|1.4|mandatory|r@
+1.4.3|include/logger.inc.php|1.4.3|1.2|mandatory|r@
+1.4.3|include/mailer.inc.php|1.4.3|1.11|mandatory|r@
+1.4.3|include/mb.inc.php|1.4.3|1.3|mandatory|r@
+1.4.3|include/media.functions.inc.php|1.4.3|1.8|mandatory|r@
+1.4.3|include/phpmailer.lang-en.php|1.4.3|1.2|mandatory|r@
+1.4.3|include/picmgmt.inc.php|1.4.3|1.16|mandatory|r@
+1.4.3|include/plugin_api.inc.php|1.4.3|1.2|mandatory|r@
+1.4.3|include/search.inc.php|1.4.3|1.11|mandatory|r@
+1.4.3|include/select_lang.inc.php|1.4.3|1.11|mandatory|r@
+1.4.3|include/slideshow.inc.php|1.4.3|1.13|mandatory|r@
+1.4.3|include/smilies.inc.php|1.4.3|1.10|mandatory|r@
+1.4.3|include/smtp.inc.php|1.4.3|1.2|mandatory|r@
+1.4.3|include/sql_parse.php|1.4.3|1.10|mandatory|r@
+1.4.3|include/themes.inc.php|1.4.3|1.6|mandatory|r@
+1.4.3|include/update.inc.php|1.4.3|1.2|mandatory|r@
+1.4.3|include/zip.lib.php|1.4.3|1.2|mandatory|r@
+1.4.3|include/makers|||mandatory|w@
+1.4.3|include/makers/canon.php|1.4.3|1.2|mandatory|r@
+1.4.3|include/makers/fujifilm.php|1.4.3|1.2|mandatory|r@
+1.4.3|include/makers/gps.php|1.4.3|1.2|mandatory|r@
+1.4.3|include/makers/nikon.php|1.4.3|1.2|mandatory|r@
+1.4.3|include/makers/olympus.php|1.4.3|1.2|mandatory|r@
+1.4.3|include/makers/sanyo.php|1.4.3|1.2|mandatory|r@
+1.4.3|lang|||mandatory|r@
+1.4.3|lang/basque.php|1.4.3|1.4|optional|r@
+1.4.3|lang/chinese_big5.php|1.4.3|1.13|optional|r@
+1.4.3|lang/dutch.php|1.4.3|1.12|optional|r@
+1.4.3|lang/english.php|1.4.3|1.24|mandatory|r@
+1.4.3|lang/english_gb.php|1.4.3|1.2|optional|r@
+1.4.3|lang/french.php|1.4.3|1.19|optional|r@
+1.4.3|lang/german.php|1.4.3|1.17|optional|r@
+1.4.3|lang/german_sie.php|1.4.3|1.8|optional|r@
+1.4.3|lang/italian.php|1.4.3|1.13|optional|r@
+1.4.3|lang/japanese.php|1.4.3|1.13|optional|r@
+1.4.3|lang/korean.php|1.4.3|1.7|optional|r@
+1.4.3|lang/norwegian.php|1.4.3|1.12|optional|r@
+1.4.3|lang/polish.php|1.4.3|1.9|optional|r@
+1.4.3|lang/russian.php|1.4.3|1.16|optional|r@
+1.4.3|lang/slovenian.php|1.4.3|1.9|optional|r@
+1.4.3|lang/spanish.php|1.4.3|1.11|optional|r@
+1.4.3|lang/swedish.php|1.4.3|1.12|optional|r@
+1.4.3|logs|||mandatory|w@
+1.4.3|logs/log_header.inc.php|1.4.3|1.2|mandatory|r@
+1.4.3|plugins|||optional|r@
+1.4.3|plugins/sample|||optional|r@
+1.4.3|plugins/sample/codebase.php|1.4.3|1.2|optional|r@
+1.4.3|plugins/sample/configuration.php|1.4.3|1.2|optional|r@
+1.4.3|plugins/sef_urls|||optional|r@
+1.4.3|plugins/sef_urls/codebase.php|1.4.3|1.2|optional|r@
+1.4.3|plugins/sef_urls/configuration.php|1.4.3|1.2|optional|r@
+1.4.3|plugins/sef_urls/ht.txt|1.4.3|1.2|optional|r@
+1.4.3|sql|||mandatory|r@
+1.4.3|sql/basic.sql|1.4.3|1.13|mandatory|r@
+1.4.3|sql/schema.sql|1.4.3|1.9|mandatory|r@
+1.4.3|sql/update.sql|1.4.3|1.19|mandatory|r@
+1.4.3|themes|||mandatory|r@
+1.4.3|themes/classic|||optional|r@
+1.4.3|themes/classic/style.css|1.4.3|1.6|optional|r@
+1.4.3|themes/classic/template.html||1.9|optional|r@
+1.4.3|themes/classic/theme.php|1.4.3|1.13|optional|r@
+1.4.3|themes/classic/images|||optional|r@
+1.4.3|themes/eyeball|||optional|r@
+1.4.3|themes/eyeball/style.css|1.4.3|1.7|optional|r@
+1.4.3|themes/eyeball/template.html||1.8|optional|r@
+1.4.3|themes/eyeball/theme.php|1.4.3|1.15|optional|r@
+1.4.3|themes/eyeball/images|||optional|r@
+1.4.3|themes/fruity|||optional|r@
+1.4.3|themes/fruity/style.css|1.4.3|1.7|optional|r@
+1.4.3|themes/fruity/template.html||1.8|optional|r@
+1.4.3|themes/fruity/theme.php|1.4.3|1.14|optional|r@
+1.4.3|themes/fruity/images|||optional|r@
+1.4.3|themes/hardwired|||optional|r@
+1.4.3|themes/hardwired/style.css|1.4.3|1.7|optional|r@
+1.4.3|themes/hardwired/template.html||1.9|optional|r@
+1.4.3|themes/hardwired/theme.php|1.4.3|1.16|optional|r@
+1.4.3|themes/hardwired/images|||optional|r@
+1.4.3|themes/igames|||optional|r@
+1.4.3|themes/igames/style.css|1.4.3|1.7|optional|r@
+1.4.3|themes/igames/template.html||1.9|optional|r@
+1.4.3|themes/igames/theme.php|1.4.3|1.15|optional|r@
+1.4.3|themes/igames/images|||optional|r@
+1.4.3|themes/mac_ox_x|||optional|r@
+1.4.3|themes/mac_ox_x/style.css|1.4.3|1.7|optional|r@
+1.4.3|themes/mac_ox_x/template.html||1.8|optional|r@
+1.4.3|themes/mac_ox_x/theme.php|1.4.3|1.14|optional|r@
+1.4.3|themes/mac_ox_x/images|||optional|r@
+1.4.3|themes/project_vii|||optional|r@
+1.4.3|themes/project_vii/style.css|1.4.3|1.9|optional|r@
+1.4.3|themes/project_vii/template.html||1.7|optional|r@
+1.4.3|themes/project_vii/theme.php|1.4.3|1.14|optional|r@
+1.4.3|themes/project_vii/images|||optional|r@
+1.4.3|themes/rainy_day|||optional|r@
+1.4.3|themes/rainy_day/style.css|1.4.3|1.7|optional|r@
+1.4.3|themes/rainy_day/template.html||1.6|optional|r@
+1.4.3|themes/rainy_day/theme.php|1.4.3|1.14|optional|r@
+1.4.3|themes/rainy_day/images|||optional|r@
+1.4.3|themes/sample|||optional|r@
+1.4.3|themes/sample/style.css|1.4.3|1.2|optional|r@
+1.4.3|themes/sample/template.html|||optional|r@
+1.4.3|themes/sample/theme.php|1.4.3|1.4|optional|r@
+1.4.3|themes/sample/images|||optional|r@
+1.4.3|themes/water_drop|||optional|r@
+1.4.3|themes/water_drop/style.css|1.4.3|1.8|optional|r@
+1.4.3|themes/water_drop/template.html||1.15|optional|r@
+1.4.3|themes/water_drop/theme.php|1.4.3|1.14|optional|r@
+1.4.3|themes/water_drop/images|||optional|r@
+1.4.4|addfav.php|1.4.4|1.14|mandatory|r@
+1.4.4|addpic.php|1.4.4|1.15|mandatory|r@
+1.4.4|admin.php|1.4.4|1.15|mandatory|r@
+1.4.4|albmgr.php|1.4.4|1.12|mandatory|r@
+1.4.4|anycontent.php|1.4.4|1.12|mandatory|r@
+1.4.4|banning.php|1.4.4|1.13|mandatory|r@
+1.4.4|bridgemgr.php|1.4.4|1.8|mandatory|r@
+1.4.4|calendar.php|1.4.4|1.10|mandatory|r@
+1.4.4|catmgr.php|1.4.4|1.13|mandatory|r@
+1.4.4|charsetmgr.php|1.4.4|1.4|mandatory|r@
+1.4.4|db_ecard.php|1.4.4|1.11|mandatory|r@
+1.4.4|db_input.php|1.4.4|1.18|mandatory|r@
+1.4.4|delete.php|1.4.4|1.14|mandatory|r@
+1.4.4|displayecard.php|1.4.4|1.12|mandatory|r@
+1.4.4|displayimage.php|1.4.4|1.23|mandatory|r@
+1.4.4|displayreport.php|1.4.4|1.4|mandatory|r@
+1.4.4|ecard.php|1.4.4|1.20|mandatory|r@
+1.4.4|editOnePic.php|1.4.4|1.20|mandatory|r@
+1.4.4|editpics.php|1.4.4|1.14|mandatory|r@
+1.4.4|exifmgr.php|1.4.4|1.4|mandatory|r@
+1.4.4|faq.php|1.4.4|1.10|mandatory|r@
+1.4.4|forgot_passwd.php|1.4.4|1.13|mandatory|r@
+1.4.4|getlang.php|1.4.4|1.12|mandatory|r@
+1.4.4|groupmgr.php|1.4.4|1.13|mandatory|r@
+1.4.4|image_processor.php|1.4.4|1.12|mandatory|r@
+1.4.4|index.php|1.4.4|1.23|mandatory|r@
+1.4.4|install.php|1.4.4|1.24|mandatory|r@
+1.4.4|installer.css|1.4.4|1.9|mandatory|r@
+1.4.4|keyword_create_dict.php|1.4.4|1.4|mandatory|r@
+1.4.4|keyword_select.php|1.4.4|1.4|mandatory|r@
+1.4.4|keywordmgr.php|1.4.4|1.4|mandatory|r@
+1.4.4|login.php|1.4.4|1.15|mandatory|r@
+1.4.4|logout.php|1.4.4|1.12|mandatory|r@
+1.4.4|minibrowser.php|1.4.4|1.4|mandatory|r@
+1.4.4|mode.php|1.4.4|1.4|mandatory|r@
+1.4.4|modifyalb.php|1.4.4|1.13|mandatory|r@
+1.4.4|phpinfo.php|1.4.4|1.12|mandatory|r@
+1.4.4|picEditor.php|1.4.4|1.11|mandatory|r@
+1.4.4|picmgr.php|1.4.4|1.4|mandatory|r@
+1.4.4|pluginmgr.php|1.4.4|1.4|mandatory|r@
+1.4.4|profile.php|1.4.4|1.14|mandatory|r@
+1.4.4|ratepic.php|1.4.4|1.12|mandatory|r@
+1.4.4|register.php|1.4.4|1.18|mandatory|r@
+1.4.4|report_file.php|1.4.4|1.4|mandatory|r@
+1.4.4|reviewcom.php|1.4.4|1.12|mandatory|r@
+1.4.4|scripts.js|1.4.4|1.5|mandatory|r@
+1.4.4|search.php|1.4.4|1.13|mandatory|r@
+1.4.4|searchnew.php|1.4.4|1.18|mandatory|r@
+1.4.4|showthumb.php|1.4.4|1.12|mandatory|r@
+1.4.4|stat_details.php|1.4.4|1.4|mandatory|r@
+1.4.4|thumbnails.php|1.4.4|1.16|mandatory|r@
+1.4.4|update.php|1.4.4|1.14|mandatory|r@
+1.4.4|upgrade-1.0-to-1.2.php|1.4.4|1.13|mandatory|r@
+1.4.4|upload.php|1.4.4|1.21|mandatory|r@
+1.4.4|usermgr.php|1.4.4|1.13|mandatory|r@
+1.4.4|util.php|1.4.4|1.20|mandatory|r@
+1.4.4|versioncheck.php|1.4.4|1.26|mandatory|r@
+1.4.4|viewlog.php|1.4.4|1.5|mandatory|r@
+1.4.4|xp_publish.php|1.4.4|1.15|mandatory|r@
+1.4.4|zipdownload.php|1.4.4|1.11|mandatory|r@
+1.4.4|**fullpath**|||mandatory|w@
+1.4.4|**fullpath**/index.php|||optional|w@
+1.4.4|**fullpath**/edit/index.html|||optional|w@
+1.4.4|**fullpath**/edit/no_FTP-uploads_into_this_folder!|||optional|w@
+1.4.4|**fullpath**/edit|||mandatory|w@
+1.4.4|**fullpath**/edit/index.html|||optional|w@
+1.4.4|**fullpath**/**userpics**|||mandatory|w@
+1.4.4|**fullpath**/**userpics**/index.php|||optional|w@
+1.4.4|**fullpath**/**userpics**/no_FTP-uploads_into_this_folder!|||optional|w@
+1.4.4|bridge|||mandatory|r@
+1.4.4|bridge/coppermine.inc.php|1.4.4|1.7|mandatory|r@
+1.4.4|bridge/invisionboard20.inc.php|1.4.4|1.4|optional|r@
+1.4.4|bridge/mambo.inc.php|1.4.4|1.5|optional|r@
+1.4.4|bridge/mybb.inc.php|1.4.4|1.5|optional|r@
+1.4.4|bridge/phorum.inc.php|1.4.4|1.4|optional|r@
+1.4.4|bridge/phpbb.inc.php|1.4.4|1.20|optional|r@
+1.4.4|bridge/phpbb2018.inc.php|1.4.4|1.13|optional|r@
+1.4.4|bridge/phpbb22.inc.php|1.4.4|1.4|optional|r@
+1.4.4|bridge/punbb115.inc.php|1.4.4|1.4|optional|r@
+1.4.4|bridge/punbb12.inc.php|1.4.4|1.5|optional|r@
+1.4.4|bridge/smf10.inc.php|1.4.4|1.6|optional|r@
+1.4.4|bridge/udb_base.inc.php|1.4.4|1.18|mandatory|r@
+1.4.4|bridge/vbulletin30.inc.php|1.4.4|1.15|optional|r@
+1.4.4|bridge/xmb.inc.php|1.4.4|1.4|optional|r@
+1.4.4|bridge/xoops.inc.php|1.4.4|1.6|optional|r@
+1.4.4|docs|||mandatory|r@
+1.4.4|docs/faq.htm|||optional|r@
+1.4.4|docs/faq_fr.htm|||optional|r@
+1.4.4|docs/index.htm||1.12|mandatory|r@
+1.4.4|docs/index_fr.htm||1.2|mandatory|r@
+1.4.4|docs/README.html||1.17|optional|r@
+1.4.4|docs/showdoc.php|1.4.4|1.5|mandatory|r@
+1.4.4|docs/style.css|1.4.4|1.3|mandatory|r@
+1.4.4|docs/theme.htm||1.10|optional|r@
+1.4.4|docs/translation.htm|||optional|r@
+1.4.4|docs/pics|||mandatory|r@
+1.4.4|docs/theme|||optional|r@
+1.4.4|docs/theme/edit_style.html|||optional|r@
+1.4.4|docs/theme/edit_template.html|||optional|r@
+1.4.4|docs/theme/edit_theme.html|1.4.4|1.5|optional|r@
+1.4.4|docs/theme/index.html||1.1|optional|r@
+1.4.4|docs/theme/style.css|1.4.4|1.3|optional|r@
+1.4.4|docs/theme/validation.html|||optional|r@
+1.4.4|include|||mandatory|w@
+1.4.4|include/archive.php|1.4.4|1.10|mandatory|r@
+1.4.4|include/config.inc.php|||mandatory|r@
+1.4.4|include/config.inc.php.sample|||optional|r@
+1.4.4|include/crop.inc.php|1.4.4|1.11|mandatory|r@
+1.4.4|include/debugger.inc.php|1.4.4|1.5|mandatory|r@
+1.4.4|include/exif.php|1.4.4|1.4|mandatory|r@
+1.4.4|include/exif_php.inc.php|1.4.4|1.13|mandatory|r@
+1.4.4|include/exifReader.inc.php|1.4.4|1.10|mandatory|r@
+1.4.4|include/functions.inc.php|1.4.4|1.41|mandatory|r@
+1.4.4|include/imageObjectGD.class.php|1.4.4|1.11|mandatory|r@
+1.4.4|include/imageObjectIM.class.php|1.4.4|1.10|mandatory|r@
+1.4.4|include/index.html|1.4.4|1.5|mandatory|r@
+1.4.4|include/init.inc.php|1.4.4|1.25|mandatory|r@
+1.4.4|include/iptc.inc.php|1.4.4|1.10|mandatory|r@
+1.4.4|include/keyword.inc.php|1.4.4|1.5|mandatory|r@
+1.4.4|include/langfallback.inc.php|1.4.4|1.9|mandatory|r@
+1.4.4|include/logger.inc.php|1.4.4|1.4|mandatory|r@
+1.4.4|include/mailer.inc.php|1.4.4|1.13|mandatory|r@
+1.4.4|include/mb.inc.php|1.4.4|1.5|mandatory|r@
+1.4.4|include/media.functions.inc.php|1.4.4|1.10|mandatory|r@
+1.4.4|include/phpmailer.lang-en.php|1.4.4|1.4|mandatory|r@
+1.4.4|include/picmgmt.inc.php|1.4.4|1.20|mandatory|r@
+1.4.4|include/plugin_api.inc.php|1.4.4|1.4|mandatory|r@
+1.4.4|include/search.inc.php|1.4.4|1.13|mandatory|r@
+1.4.4|include/select_lang.inc.php|1.4.4|1.13|mandatory|r@
+1.4.4|include/slideshow.inc.php|1.4.4|1.15|mandatory|r@
+1.4.4|include/smilies.inc.php|1.4.4|1.12|mandatory|r@
+1.4.4|include/smtp.inc.php|1.4.4|1.4|mandatory|r@
+1.4.4|include/sql_parse.php|1.4.4|1.12|mandatory|r@
+1.4.4|include/themes.inc.php|1.4.4|1.15|mandatory|r@
+1.4.4|include/update.inc.php|1.4.4|1.3|mandatory|r@
+1.4.4|include/zip.lib.php|1.4.4|1.4|mandatory|r@
+1.4.4|include/makers|||mandatory|w@
+1.4.4|include/makers/canon.php|1.4.4|1.4|mandatory|r@
+1.4.4|include/makers/fujifilm.php|1.4.4|1.4|mandatory|r@
+1.4.4|include/makers/gps.php|1.4.4|1.4|mandatory|r@
+1.4.4|include/makers/nikon.php|1.4.4|1.4|mandatory|r@
+1.4.4|include/makers/olympus.php|1.4.4|1.4|mandatory|r@
+1.4.4|include/makers/sanyo.php|1.4.4|1.4|mandatory|r@
+1.4.4|lang|||mandatory|r@
+1.4.4|lang/basque.php|1.4.4|1.6|optional|r@
+1.4.4|lang/chinese_big5.php|1.4.4|1.14|optional|r@
+1.4.4|lang/chinese_gb.php|1.4.4|1.16|optional|r@
+1.4.4|lang/czech.php|1.4.4|1.16|optional|r@
+1.4.4|lang/dutch.php|1.4.4|1.14|optional|r@
+1.4.4|lang/english.php|1.4.4|1.25|mandatory|r@
+1.4.4|lang/english_gb.php|1.4.4|1.3|optional|r@
+1.4.4|lang/french.php|1.4.4|1.20|optional|r@
+1.4.4|lang/galician.php|1.4.4|1.7|optional|r@
+1.4.4|lang/german.php|1.4.4|1.19|optional|r@
+1.4.4|lang/german_sie.php|1.4.4|1.10|optional|r@
+1.4.4|lang/italian.php|1.4.4|1.14|optional|r@
+1.4.4|lang/japanese.php|1.4.4|1.14|optional|r@
+1.4.4|lang/korean.php|1.4.4|1.8|optional|r@
+1.4.4|lang/norwegian.php|1.4.4|1.13|optional|r@
+1.4.4|lang/polish.php|1.4.4|1.13|optional|r@
+1.4.4|lang/russian.php|1.4.4|1.19|optional|r@
+1.4.4|lang/slovenian.php|1.4.4|1.10|optional|r@
+1.4.4|lang/spanish.php|1.4.4|1.12|optional|r@
+1.4.4|lang/swedish.php|1.4.4|1.13|optional|r@
+1.4.4|lang/turkish.php|1.4.4|1.15|optional|r@
+1.4.4|lang/ukrainian.php|1.4.4|1.15|optional|r@
+1.4.4|logs|||mandatory|w@
+1.4.4|logs/log_header.inc.php|1.4.4|1.4|mandatory|r@
+1.4.4|plugins|||optional|r@
+1.4.4|plugins/sample|||optional|r@
+1.4.4|plugins/sample/codebase.php|1.4.4|1.4|optional|r@
+1.4.4|plugins/sample/configuration.php|1.4.4|1.4|optional|r@
+1.4.4|plugins/sef_urls|||optional|r@
+1.4.4|plugins/sef_urls/codebase.php|1.4.4|1.7|optional|r@
+1.4.4|plugins/sef_urls/configuration.php|1.4.4|1.4|optional|r@
+1.4.4|plugins/sef_urls/ht.txt|1.4.4|1.6|optional|r@
+1.4.4|sql|||mandatory|r@
+1.4.4|sql/basic.sql|1.4.4|1.16|mandatory|r@
+1.4.4|sql/schema.sql|1.4.4|1.12|mandatory|r@
+1.4.4|sql/update.sql|1.4.4|1.22|mandatory|r@
+1.4.4|themes|||mandatory|r@
+1.4.4|themes/classic|||optional|r@
+1.4.4|themes/classic/style.css|1.4.4|1.9|optional|r@
+1.4.4|themes/classic/template.html||1.9|optional|r@
+1.4.4|themes/classic/theme.php|1.4.4|1.15|optional|r@
+1.4.4|themes/classic/images|||optional|r@
+1.4.4|themes/eyeball|||optional|r@
+1.4.4|themes/eyeball/style.css|1.4.4|1.9|optional|r@
+1.4.4|themes/eyeball/template.html||1.8|optional|r@
+1.4.4|themes/eyeball/theme.php|1.4.4|1.17|optional|r@
+1.4.4|themes/eyeball/images|||optional|r@
+1.4.4|themes/fruity|||optional|r@
+1.4.4|themes/fruity/style.css|1.4.4|1.11|optional|r@
+1.4.4|themes/fruity/template.html||1.8|optional|r@
+1.4.4|themes/fruity/theme.php|1.4.4|1.16|optional|r@
+1.4.4|themes/fruity/images|||optional|r@
+1.4.4|themes/hardwired|||optional|r@
+1.4.4|themes/hardwired/style.css|1.4.4|1.10|optional|r@
+1.4.4|themes/hardwired/template.html||1.9|optional|r@
+1.4.4|themes/hardwired/theme.php|1.4.4|1.18|optional|r@
+1.4.4|themes/hardwired/images|||optional|r@
+1.4.4|themes/igames|||optional|r@
+1.4.4|themes/igames/style.css|1.4.4|1.9|optional|r@
+1.4.4|themes/igames/template.html||1.9|optional|r@
+1.4.4|themes/igames/theme.php|1.4.4|1.17|optional|r@
+1.4.4|themes/igames/images|||optional|r@
+1.4.4|themes/mac_ox_x|||optional|r@
+1.4.4|themes/mac_ox_x/style.css|1.4.4|1.9|optional|r@
+1.4.4|themes/mac_ox_x/template.html||1.8|optional|r@
+1.4.4|themes/mac_ox_x/theme.php|1.4.4|1.16|optional|r@
+1.4.4|themes/mac_ox_x/images|||optional|r@
+1.4.4|themes/project_vii|||optional|r@
+1.4.4|themes/project_vii/style.css|1.4.4|1.12|optional|r@
+1.4.4|themes/project_vii/template.html||1.7|optional|r@
+1.4.4|themes/project_vii/theme.php|1.4.4|1.17|optional|r@
+1.4.4|themes/project_vii/images|||optional|r@
+1.4.4|themes/rainy_day|||optional|r@
+1.4.4|themes/rainy_day/style.css|1.4.4|1.10|optional|r@
+1.4.4|themes/rainy_day/template.html||1.6|optional|r@
+1.4.4|themes/rainy_day/theme.php|1.4.4|1.16|optional|r@
+1.4.4|themes/rainy_day/images|||optional|r@
+1.4.4|themes/sample|||optional|r@
+1.4.4|themes/sample/style.css|1.4.4|1.5|optional|r@
+1.4.4|themes/sample/template.html|||optional|r@
+1.4.4|themes/sample/theme.php|1.4.4|1.6|optional|r@
+1.4.4|themes/sample/images|||optional|r@
+1.4.4|themes/water_drop|||optional|r@
+1.4.4|themes/water_drop/style.css|1.4.4|1.11|optional|r@
+1.4.4|themes/water_drop/template.html||1.15|optional|r@
+1.4.4|themes/water_drop/theme.php|1.4.4|1.16|optional|r@
+1.4.4|themes/water_drop/images|||optional|r@
+1.4.5|addfav.php|1.4.5|1.15|mandatory|r@
+1.4.5|addpic.php|1.4.5|1.16|mandatory|r@
+1.4.5|admin.php|1.4.5|1.16|mandatory|r@
+1.4.5|albmgr.php|1.4.5|1.13|mandatory|r@
+1.4.5|anycontent.php|1.4.5|1.13|mandatory|r@
+1.4.5|banning.php|1.4.5|1.14|mandatory|r@
+1.4.5|bridgemgr.php|1.4.5|1.9|mandatory|r@
+1.4.5|calendar.php|1.4.5|1.11|mandatory|r@
+1.4.5|catmgr.php|1.4.5|1.14|mandatory|r@
+1.4.5|charsetmgr.php|1.4.5|1.5|mandatory|r@
+1.4.5|config.php|1.4.5|1.17|optional|r@
+1.4.5|db_ecard.php|1.4.5|1.12|mandatory|r@
+1.4.5|db_input.php|1.4.5|1.19|mandatory|r@
+1.4.5|delete.php|1.4.5|1.15|mandatory|r@
+1.4.5|displayecard.php|1.4.5|1.13|mandatory|r@
+1.4.5|displayimage.php|1.4.5|1.24|mandatory|r@
+1.4.5|displayreport.php|1.4.5|1.5|mandatory|r@
+1.4.5|ecard.php|1.4.5|1.21|mandatory|r@
+1.4.5|editOnePic.php|1.4.5|1.21|mandatory|r@
+1.4.5|editpics.php|1.4.5|1.15|mandatory|r@
+1.4.5|exifmgr.php|1.4.5|1.5|mandatory|r@
+1.4.5|faq.php|1.4.5|1.11|mandatory|r@
+1.4.5|forgot_passwd.php|1.4.5|1.14|mandatory|r@
+1.4.5|getlang.php|1.4.5|1.13|mandatory|r@
+1.4.5|groupmgr.php|1.4.5|1.14|mandatory|r@
+1.4.5|image_processor.php|1.4.5|1.13|mandatory|r@
+1.4.5|index.php|1.4.5|1.25|mandatory|r@
+1.4.5|install.php|1.4.5|1.26|mandatory|r@
+1.4.5|installer.css|1.4.5|1.10|mandatory|r@
+1.4.5|keyword_create_dict.php|1.4.5|1.5|mandatory|r@
+1.4.5|keyword_select.php|1.4.5|1.5|mandatory|r@
+1.4.5|keywordmgr.php|1.4.5|1.5|mandatory|r@
+1.4.5|login.php|1.4.5|1.16|mandatory|r@
+1.4.5|logout.php|1.4.5|1.13|mandatory|r@
+1.4.5|minibrowser.php|1.4.5|1.5|mandatory|r@
+1.4.5|mode.php|1.4.5|1.5|mandatory|r@
+1.4.5|modifyalb.php|1.4.5|1.14|mandatory|r@
+1.4.5|phpinfo.php|1.4.5|1.13|mandatory|r@
+1.4.5|picEditor.php|1.4.5|1.12|mandatory|r@
+1.4.5|picmgr.php|1.4.5|1.5|mandatory|r@
+1.4.5|pluginmgr.php|1.4.5|1.5|mandatory|r@
+1.4.5|profile.php|1.4.5|1.15|mandatory|r@
+1.4.5|ratepic.php|1.4.5|1.13|mandatory|r@
+1.4.5|register.php|1.4.5|1.19|mandatory|r@
+1.4.5|relocate_server.php|1.4.5|1.3|optional|r@
+1.4.5|report_file.php|1.4.5|1.5|mandatory|r@
+1.4.5|reviewcom.php|1.4.5|1.13|mandatory|r@
+1.4.5|scripts.js|1.4.5|1.6|mandatory|r@
+1.4.5|search.php|1.4.5|1.14|mandatory|r@
+1.4.5|searchnew.php|1.4.5|1.19|mandatory|r@
+1.4.5|showthumb.php|1.4.5|1.13|mandatory|r@
+1.4.5|stat_details.php|1.4.5|1.5|mandatory|r@
+1.4.5|thumbnails.php|1.4.5|1.17|mandatory|r@
+1.4.5|update.php|1.4.5|1.15|mandatory|r@
+1.4.5|upgrade-1.0-to-1.2.php|1.4.5|1.14|mandatory|r@
+1.4.5|upload.php|1.4.5|1.22|mandatory|r@
+1.4.5|usermgr.php|1.4.5|1.14|mandatory|r@
+1.4.5|util.php|1.4.5|1.21|mandatory|r@
+1.4.5|versioncheck.php|1.4.5|1.35|mandatory|r@
+1.4.5|viewlog.php|1.4.5|1.6|mandatory|r@
+1.4.5|xp_publish.php|1.4.5|1.16|mandatory|r@
+1.4.5|zipdownload.php|1.4.5|1.12|mandatory|r@
+1.4.5|**fullpath**|||mandatory|w@
+1.4.5|**fullpath**/index.php|||optional|w@
+1.4.5|**fullpath**/edit/index.html|||optional|w@
+1.4.5|**fullpath**/edit/no_FTP-uploads_into_this_folder!|||optional|w@
+1.4.5|**fullpath**/edit|||mandatory|w@
+1.4.5|**fullpath**/edit/index.html|||optional|w@
+1.4.5|**fullpath**/**userpics**|||mandatory|w@
+1.4.5|**fullpath**/**userpics**/index.php|||optional|w@
+1.4.5|**fullpath**/**userpics**/no_FTP-uploads_into_this_folder!|||optional|w@
+1.4.5|bridge|||mandatory|r@
+1.4.5|bridge/coppermine.inc.php|1.4.5|1.8|mandatory|r@
+1.4.5|bridge/invisionboard20.inc.php|1.4.5|1.5|optional|r@
+1.4.5|bridge/mambo.inc.php|1.4.5|1.6|optional|r@
+1.4.5|bridge/mybb.inc.php|1.4.5|1.6|optional|r@
+1.4.5|bridge/phorum.inc.php|1.4.5|1.5|optional|r@
+1.4.5|bridge/phpbb.inc.php|1.4.5|1.21|optional|r@
+1.4.5|bridge/phpbb2018.inc.php|1.4.5|1.14|optional|r@
+1.4.5|bridge/phpbb22.inc.php|1.4.5|1.5|optional|r@
+1.4.5|bridge/punbb115.inc.php|1.4.5|1.5|optional|r@
+1.4.5|bridge/punbb12.inc.php|1.4.5|1.6|optional|r@
+1.4.5|bridge/smf10.inc.php|1.4.5|1.7|optional|r@
+1.4.5|bridge/udb_base.inc.php|1.4.5|1.19|mandatory|r@
+1.4.5|bridge/vbulletin30.inc.php|1.4.5|1.16|optional|r@
+1.4.5|bridge/xmb.inc.php|1.4.5|1.5|optional|r@
+1.4.5|bridge/xoops.inc.php|1.4.5|1.7|optional|r@
+1.4.5|docs|||mandatory|r@
+1.4.5|docs/faq.htm|||optional|r@
+1.4.5|docs/faq_fr.htm|||optional|r@
+1.4.5|docs/index.htm||1.12|mandatory|r@
+1.4.5|docs/index_fr.htm||1.2|mandatory|r@
+1.4.5|docs/README.html||1.17|optional|r@
+1.4.5|docs/showdoc.php|1.4.5|1.6|mandatory|r@
+1.4.5|docs/style.css|1.4.5|1.4|mandatory|r@
+1.4.5|docs/theme.htm||1.10|optional|r@
+1.4.5|docs/translation.htm|||optional|r@
+1.4.5|docs/pics|||mandatory|r@
+1.4.5|docs/theme|||optional|r@
+1.4.5|docs/theme/edit_style.html|||optional|r@
+1.4.5|docs/theme/edit_template.html|||optional|r@
+1.4.5|docs/theme/edit_theme.html|1.4.5|1.6|optional|r@
+1.4.5|docs/theme/index.html||1.3|optional|r@
+1.4.5|docs/theme/style.css|1.4.5|1.4|optional|r@
+1.4.5|docs/theme/validation.html|||optional|r@
+1.4.5|include|||mandatory|w@
+1.4.5|include/archive.php|1.4.5|1.11|mandatory|r@
+1.4.5|include/config.inc.php|||mandatory|r@
+1.4.5|include/config.inc.php.sample|||optional|r@
+1.4.5|include/crop.inc.php|1.4.5|1.12|mandatory|r@
+1.4.5|include/debugger.inc.php|1.4.5|1.6|mandatory|r@
+1.4.5|include/exif.php|1.4.5|1.5|mandatory|r@
+1.4.5|include/exif_php.inc.php|1.4.5|1.14|mandatory|r@
+1.4.5|include/exifReader.inc.php|1.4.5|1.11|mandatory|r@
+1.4.5|include/functions.inc.php|1.4.5|1.44|mandatory|r@
+1.4.5|include/imageObjectGD.class.php|1.4.5|1.12|mandatory|r@
+1.4.5|include/imageObjectIM.class.php|1.4.5|1.11|mandatory|r@
+1.4.5|include/index.html|1.4.5|1.6|mandatory|r@
+1.4.5|include/init.inc.php|1.4.5|1.27|mandatory|r@
+1.4.5|include/iptc.inc.php|1.4.5|1.11|mandatory|r@
+1.4.5|include/keyword.inc.php|1.4.5|1.6|mandatory|r@
+1.4.5|include/langfallback.inc.php|1.4.5|1.10|mandatory|r@
+1.4.5|include/logger.inc.php|1.4.5|1.5|mandatory|r@
+1.4.5|include/mailer.inc.php|1.4.5|1.14|mandatory|r@
+1.4.5|include/mb.inc.php|1.4.5|1.6|mandatory|r@
+1.4.5|include/media.functions.inc.php|1.4.5|1.11|mandatory|r@
+1.4.5|include/phpmailer.lang-en.php|1.4.5|1.5|mandatory|r@
+1.4.5|include/picmgmt.inc.php|1.4.5|1.21|mandatory|r@
+1.4.5|include/plugin_api.inc.php|1.4.5|1.5|mandatory|r@
+1.4.5|include/search.inc.php|1.4.5|1.14|mandatory|r@
+1.4.5|include/select_lang.inc.php|1.4.5|1.14|mandatory|r@
+1.4.5|include/slideshow.inc.php|1.4.5|1.16|mandatory|r@
+1.4.5|include/smilies.inc.php|1.4.5|1.13|mandatory|r@
+1.4.5|include/smtp.inc.php|1.4.5|1.5|mandatory|r@
+1.4.5|include/sql_parse.php|1.4.5|1.13|mandatory|r@
+1.4.5|include/themes.inc.php|1.4.5|1.16|mandatory|r@
+1.4.5|include/update.inc.php|1.4.5|1.4|mandatory|r@
+1.4.5|include/zip.lib.php|1.4.5|1.5|mandatory|r@
+1.4.5|include/makers|||mandatory|w@
+1.4.5|include/makers/canon.php|1.4.5|1.5|mandatory|r@
+1.4.5|include/makers/fujifilm.php|1.4.5|1.5|mandatory|r@
+1.4.5|include/makers/gps.php|1.4.5|1.5|mandatory|r@
+1.4.5|include/makers/nikon.php|1.4.5|1.5|mandatory|r@
+1.4.5|include/makers/olympus.php|1.4.5|1.5|mandatory|r@
+1.4.5|include/makers/sanyo.php|1.4.5|1.5|mandatory|r@
+1.4.5|lang|||mandatory|r@
+1.4.5|lang/basque.php|1.4.5|1.7|optional|r@
+1.4.5|lang/chinese_big5.php|1.4.5|1.15|optional|r@
+1.4.5|lang/chinese_gb.php|1.4.5|1.17|optional|r@
+1.4.5|lang/czech.php|1.4.3|1.19|optional|r@
+1.4.5|lang/dutch.php|1.4.5|1.15|optional|r@
+1.4.5|lang/english.php|1.4.5|1.26|mandatory|r@
+1.4.5|lang/english_gb.php|1.4.5|1.4|optional|r@
+1.4.5|lang/french.php|1.4.5|1.21|optional|r@
+1.4.5|lang/galician.php|1.4.5|1.8|optional|r@
+1.4.5|lang/georgian.php|1.4.4|1.1|optional|r@
+1.4.5|lang/german.php|1.4.5|1.20|optional|r@
+1.4.5|lang/german_sie.php|1.4.5|1.11|optional|r@
+1.4.5|lang/italian.php|1.4.5|1.15|optional|r@
+1.4.5|lang/japanese.php|1.4.5|1.15|optional|r@
+1.4.5|lang/korean.php|1.4.5|1.9|optional|r@
+1.4.5|lang/norwegian.php|1.4.5|1.14|optional|r@
+1.4.5|lang/persian.php|1.4.4|1.4|optional|r@
+1.4.5|lang/polish.php|1.4.5|1.14|optional|r@
+1.4.5|lang/portuguese.php|1.4.5||optional|r@
+1.4.5|lang/russian.php|1.4.5|1.21|optional|r@
+1.4.5|lang/slovak.php|1.4.5|1.10|optional|r@
+1.4.5|lang/slovenian.php|1.4.5|1.11|optional|r@
+1.4.5|lang/spanish.php|1.4.5|1.13|optional|r@
+1.4.5|lang/swedish.php|1.4.5|1.14|optional|r@
+1.4.5|lang/turkish.php|1.4.5|1.16|optional|r@
+1.4.5|lang/ukrainian.php|1.4.5|1.7|optional|r@
+1.4.5|logs|||mandatory|w@
+1.4.5|logs/log_header.inc.php|1.4.5|1.5|mandatory|r@
+1.4.5|plugins|||optional|r@
+1.4.5|plugins/sample|||optional|r@
+1.4.5|plugins/sample/codebase.php|1.4.5|1.5|optional|r@
+1.4.5|plugins/sample/configuration.php|1.4.5|1.5|optional|r@
+1.4.5|plugins/sef_urls|||optional|r@
+1.4.5|plugins/sef_urls/codebase.php|1.4.5|1.8|optional|r@
+1.4.5|plugins/sef_urls/configuration.php|1.4.5|1.5|optional|r@
+1.4.5|plugins/sef_urls/ht.txt|1.4.5|1.7|optional|r@
+1.4.5|sql|||mandatory|r@
+1.4.5|sql/basic.sql|1.4.5|1.18|mandatory|r@
+1.4.5|sql/schema.sql|1.4.5|1.13|mandatory|r@
+1.4.5|sql/update.sql|1.4.5|1.23|mandatory|r@
+1.4.5|themes|||mandatory|r@
+1.4.5|themes/classic|||optional|r@
+1.4.5|themes/classic/style.css|1.4.5|1.10|optional|r@
+1.4.5|themes/classic/template.html||1.9|optional|r@
+1.4.5|themes/classic/theme.php|1.4.5|1.16|optional|r@
+1.4.5|themes/classic/images|||optional|r@
+1.4.5|themes/eyeball|||optional|r@
+1.4.5|themes/eyeball/style.css|1.4.5|1.10|optional|r@
+1.4.5|themes/eyeball/template.html||1.8|optional|r@
+1.4.5|themes/eyeball/theme.php|1.4.5|1.18|optional|r@
+1.4.5|themes/eyeball/images|||optional|r@
+1.4.5|themes/fruity|||optional|r@
+1.4.5|themes/fruity/style.css|1.4.5|1.12|optional|r@
+1.4.5|themes/fruity/template.html||1.8|optional|r@
+1.4.5|themes/fruity/theme.php|1.4.5|1.17|optional|r@
+1.4.5|themes/fruity/images|||optional|r@
+1.4.5|themes/hardwired|||optional|r@
+1.4.5|themes/hardwired/style.css|1.4.5|1.11|optional|r@
+1.4.5|themes/hardwired/template.html||1.9|optional|r@
+1.4.5|themes/hardwired/theme.php|1.4.5|1.19|optional|r@
+1.4.5|themes/hardwired/images|||optional|r@
+1.4.5|themes/igames|||optional|r@
+1.4.5|themes/igames/style.css|1.4.5|1.10|optional|r@
+1.4.5|themes/igames/template.html||1.9|optional|r@
+1.4.5|themes/igames/theme.php|1.4.5|1.18|optional|r@
+1.4.5|themes/igames/images|||optional|r@
+1.4.5|themes/mac_ox_x|||optional|r@
+1.4.5|themes/mac_ox_x/style.css|1.4.5|1.10|optional|r@
+1.4.5|themes/mac_ox_x/template.html||1.8|optional|r@
+1.4.5|themes/mac_ox_x/theme.php|1.4.5|1.17|optional|r@
+1.4.5|themes/mac_ox_x/images|||optional|r@
+1.4.5|themes/project_vii|||optional|r@
+1.4.5|themes/project_vii/style.css|1.4.5|1.13|optional|r@
+1.4.5|themes/project_vii/template.html||1.7|optional|r@
+1.4.5|themes/project_vii/theme.php|1.4.5|1.18|optional|r@
+1.4.5|themes/project_vii/images|||optional|r@
+1.4.5|themes/rainy_day|||optional|r@
+1.4.5|themes/rainy_day/style.css|1.4.5|1.11|optional|r@
+1.4.5|themes/rainy_day/template.html||1.6|optional|r@
+1.4.5|themes/rainy_day/theme.php|1.4.5|1.17|optional|r@
+1.4.5|themes/rainy_day/images|||optional|r@
+1.4.5|themes/sample|||optional|r@
+1.4.5|themes/sample/style.css|1.4.5|1.6|optional|r@
+1.4.5|themes/sample/template.html|||optional|r@
+1.4.5|themes/sample/theme.php|1.4.5|1.7|optional|r@
+1.4.5|themes/sample/images|||optional|r@
+1.4.5|themes/water_drop|||optional|r@
+1.4.5|themes/water_drop/style.css|1.4.5|1.12|optional|r@
+1.4.5|themes/water_drop/template.html||1.15|optional|r@
+1.4.5|themes/water_drop/theme.php|1.4.5|1.17|optional|r@
+1.4.5|themes/water_drop/images|||optional|r@
+1.4.6|addfav.php|1.4.6|3014|mandatory|r@
+1.4.6|addpic.php|1.4.6|3014|mandatory|r@
+1.4.6|admin.php|1.4.6|3014|mandatory|r@
+1.4.6|albmgr.php|1.4.6|3014|mandatory|r@
+1.4.6|anycontent.php|1.4.6|3014|mandatory|r@
+1.4.6|banning.php|1.4.6|3014|mandatory|r@
+1.4.6|bridgemgr.php|1.4.6|3014|mandatory|r@
+1.4.6|calendar.php|1.4.6|3014|mandatory|r@
+1.4.6|catmgr.php|1.4.6|3063|mandatory|r@
+1.4.6|charsetmgr.php|1.4.6|3014|mandatory|r@
+1.4.6|config.php|1.4.6|3014|optional|r@
+1.4.6|db_ecard.php|1.4.6|3014|mandatory|r@
+1.4.6|db_input.php|1.4.6|3069|mandatory|r@
+1.4.6|delete.php|1.4.6|3014|mandatory|r@
+1.4.6|displayecard.php|1.4.6|3014|mandatory|r@
+1.4.6|displayimage.php|1.4.6|3014|mandatory|r@
+1.4.6|displayreport.php|1.4.6|3014|mandatory|r@
+1.4.6|ecard.php|1.4.6|3014|mandatory|r@
+1.4.6|editOnePic.php|1.4.6|3069|mandatory|r@
+1.4.6|editpics.php|1.4.6|3069|mandatory|r@
+1.4.6|exifmgr.php|1.4.6|3014|mandatory|r@
+1.4.6|faq.php|1.4.6|3014|mandatory|r@
+1.4.6|forgot_passwd.php|1.4.6|3014|mandatory|r@
+1.4.6|getlang.php|1.4.6|3014|mandatory|r@
+1.4.6|groupmgr.php|1.4.6|3014|mandatory|r@
+1.4.6|image_processor.php|1.4.6|3014|mandatory|r@
+1.4.6|index.php|1.4.6|3053|mandatory|r@
+1.4.6|install.php|1.4.6|3074|mandatory|r@
+1.4.6|installer.css|1.4.6|3014|mandatory|r@
+1.4.6|keyword_create_dict.php|1.4.6|3014|mandatory|r@
+1.4.6|keyword_select.php|1.4.6|3051|mandatory|r@
+1.4.6|keywordmgr.php|1.4.6|3014|mandatory|r@
+1.4.6|login.php|1.4.6|3014|mandatory|r@
+1.4.6|logout.php|1.4.6|3014|mandatory|r@
+1.4.6|minibrowser.php|1.4.6|3014|mandatory|r@
+1.4.6|mode.php|1.4.6|3014|mandatory|r@
+1.4.6|modifyalb.php|1.4.6|3014|mandatory|r@
+1.4.6|phpinfo.php|1.4.6|3014|mandatory|r@
+1.4.6|picEditor.php|1.4.6|3014|mandatory|r@
+1.4.6|picmgr.php|1.4.6|3014|mandatory|r@
+1.4.6|pluginmgr.php|1.4.6|3014|mandatory|r@
+1.4.6|profile.php|1.4.6|3033|mandatory|r@
+1.4.6|ratepic.php|1.4.6|3014|mandatory|r@
+1.4.6|register.php|1.4.6|3014|mandatory|r@
+1.4.6|relocate_server.php|1.4.6|3014|optional|r@
+1.4.6|report_file.php|1.4.6|3014|mandatory|r@
+1.4.6|reviewcom.php|1.4.6|3014|mandatory|r@
+1.4.6|scripts.js|1.4.6|3014|mandatory|r@
+1.4.6|search.php|1.4.6|3014|mandatory|r@
+1.4.6|searchnew.php|1.4.6|3018|mandatory|r@
+1.4.6|showthumb.php|1.4.6|3014|mandatory|r@
+1.4.6|stat_details.php|1.4.6|3051|mandatory|r@
+1.4.6|thumbnails.php|1.4.6|3014|mandatory|r@
+1.4.6|update.php|1.4.6|3014|mandatory|r@
+1.4.6|upgrade-1.0-to-1.2.php|1.4.6|3014|mandatory|r@
+1.4.6|upload.php|1.4.6|3014|mandatory|r@
+1.4.6|usermgr.php|1.4.6|3014|mandatory|r@
+1.4.6|util.php|1.4.6|3014|mandatory|r@
+1.4.6|versioncheck.php|1.4.6|3078|mandatory|r@
+1.4.6|viewlog.php|1.4.6|3014|mandatory|r@
+1.4.6|xp_publish.php|1.4.6|3051|mandatory|r@
+1.4.6|zipdownload.php|1.4.6|3014|mandatory|r@
+1.4.6|**fullpath**|||mandatory|w@
+1.4.6|**fullpath**/index.php|||optional|w@
+1.4.6|**fullpath**/edit/index.html|||optional|w@
+1.4.6|**fullpath**/edit/no_FTP-uploads_into_this_folder!|||optional|w@
+1.4.6|**fullpath**/edit|||mandatory|w@
+1.4.6|**fullpath**/edit/index.html|||optional|w@
+1.4.6|**fullpath**/**userpics**|||mandatory|w@
+1.4.6|**fullpath**/**userpics**/index.php|||optional|w@
+1.4.6|**fullpath**/**userpics**/no_FTP-uploads_into_this_folder!|||optional|w@
+1.4.6|bridge|||mandatory|r@
+1.4.6|bridge/coppermine.inc.php|1.4.6|3014|mandatory|r@
+1.4.6|bridge/invisionboard20.inc.php|1.4.6|3015|optional|r@
+1.4.6|bridge/mambo.inc.php|1.4.6|3014|optional|r@
+1.4.6|bridge/mybb.inc.php|1.4.6|3014|optional|r@
+1.4.6|bridge/phorum.inc.php|1.4.6|3014|optional|r@
+1.4.6|bridge/phpbb.inc.php|1.4.6|3014|optional|r@
+1.4.6|bridge/phpbb2018.inc.php|1.4.6|3014|optional|r@
+1.4.6|bridge/phpbb22.inc.php|1.4.6|3014|optional|r@
+1.4.6|bridge/punbb115.inc.php|1.4.6|3014|optional|r@
+1.4.6|bridge/punbb12.inc.php|1.4.6|3014|optional|r@
+1.4.6|bridge/smf10.inc.php|1.4.6|3014|optional|r@
+1.4.6|bridge/udb_base.inc.php|1.4.6|3038|mandatory|r@
+1.4.6|bridge/vbulletin30.inc.php|1.4.6|3014|optional|r@
+1.4.6|bridge/xmb.inc.php|1.4.6|3014|optional|r@
+1.4.6|bridge/xoops.inc.php|1.4.6|3014|optional|r@
+1.4.6|docs|||mandatory|r@
+1.4.6|docs/faq.htm|||optional|r@
+1.4.6|docs/faq_fr.htm|||optional|r@
+1.4.6|docs/index.htm||3014|mandatory|r@
+1.4.6|docs/index_fr.htm||3014|mandatory|r@
+1.4.6|docs/README.html||3014|optional|r@
+1.4.6|docs/showdoc.php|1.4.6|3014|mandatory|r@
+1.4.6|docs/style.css|1.4.6|3014|mandatory|r@
+1.4.6|docs/theme.htm|||optional|r@
+1.4.6|docs/translation.htm|||optional|r@
+1.4.6|docs/pics|||mandatory|r@
+1.4.6|docs/theme|||optional|r@
+1.4.6|docs/theme/edit_style.html|||optional|r@
+1.4.6|docs/theme/edit_template.html|||optional|r@
+1.4.6|docs/theme/edit_theme.html|1.4.6||optional|r@
+1.4.6|docs/theme/index.html|||optional|r@
+1.4.6|docs/theme/style.css|1.4.6|3014|optional|r@
+1.4.6|docs/theme/validation.html|||optional|r@
+1.4.6|include|||mandatory|w@
+1.4.6|include/archive.php|1.4.6|3014|mandatory|r@
+1.4.6|include/config.inc.php|||mandatory|r@
+1.4.6|include/config.inc.php.sample|||optional|r@
+1.4.6|include/crop.inc.php|1.4.6|3014|mandatory|r@
+1.4.6|include/debugger.inc.php|1.4.6|3014|mandatory|r@
+1.4.6|include/exif.php|1.4.6|3014|mandatory|r@
+1.4.6|include/exif_php.inc.php|1.4.6|3014|mandatory|r@
+1.4.6|include/exifReader.inc.php|1.4.6|3014|mandatory|r@
+1.4.6|include/functions.inc.php|1.4.6|3068|mandatory|r@
+1.4.6|include/imageObjectGD.class.php|1.4.6|3014|mandatory|r@
+1.4.6|include/imageObjectIM.class.php|1.4.6|3014|mandatory|r@
+1.4.6|include/index.html|1.4.6|3014|mandatory|r@
+1.4.6|include/init.inc.php|1.4.6|3039|mandatory|r@
+1.4.6|include/iptc.inc.php|1.4.6|3014|mandatory|r@
+1.4.6|include/keyword.inc.php|1.4.6|3071|mandatory|r@
+1.4.6|include/langfallback.inc.php|1.4.6|3014|mandatory|r@
+1.4.6|include/logger.inc.php|1.4.6|3014|mandatory|r@
+1.4.6|include/mailer.inc.php|1.4.6|3014|mandatory|r@
+1.4.6|include/mb.inc.php|1.4.6|3014|mandatory|r@
+1.4.6|include/media.functions.inc.php|1.4.6|3014|mandatory|r@
+1.4.6|include/phpmailer.lang-en.php|1.4.6|3014|mandatory|r@
+1.4.6|include/picmgmt.inc.php|1.4.6|3055|mandatory|r@
+1.4.6|include/plugin_api.inc.php|1.4.6|3014|mandatory|r@
+1.4.6|include/search.inc.php|1.4.6|3036|mandatory|r@
+1.4.6|include/select_lang.inc.php|1.4.6|3014|mandatory|r@
+1.4.6|include/slideshow.inc.php|1.4.6|3014|mandatory|r@
+1.4.6|include/smilies.inc.php|1.4.6|3014|mandatory|r@
+1.4.6|include/smtp.inc.php|1.4.6|3014|mandatory|r@
+1.4.6|include/sql_parse.php|1.4.6|3014|mandatory|r@
+1.4.6|include/themes.inc.php|1.4.6|3053|mandatory|r@
+1.4.6|include/update.inc.php|1.4.6|3014|mandatory|r@
+1.4.6|include/zip.lib.php|1.4.6|3014|mandatory|r@
+1.4.6|include/makers|||mandatory|w@
+1.4.6|include/makers/canon.php|1.4.6|3014|mandatory|r@
+1.4.6|include/makers/fujifilm.php|1.4.6|3014|mandatory|r@
+1.4.6|include/makers/gps.php|1.4.6|3014|mandatory|r@
+1.4.6|include/makers/nikon.php|1.4.6|3014|mandatory|r@
+1.4.6|include/makers/olympus.php|1.4.6|3014|mandatory|r@
+1.4.6|include/makers/sanyo.php|1.4.6|3014|mandatory|r@
+1.4.6|lang|||mandatory|r@
+1.4.6|lang/basque.php|1.4.6|3014|optional|r@
+1.4.6|lang/chinese_big5.php|1.4.6|3014|optional|r@
+1.4.6|lang/chinese_gb.php|1.4.6|3014|optional|r@
+1.4.6|lang/czech.php|1.4.6|3075|optional|r@
+1.4.6|lang/dutch.php|1.4.6|3014|optional|r@
+1.4.6|lang/english.php|1.4.6|3014|mandatory|r@
+1.4.6|lang/english_gb.php|1.4.6|3030|optional|r@
+1.4.6|lang/french.php|1.4.6|3077|optional|r@
+1.4.6|lang/galician.php|1.4.6|3014|optional|r@
+1.4.6|lang/georgian.php|1.4.6|3076|optional|r@
+1.4.6|lang/german.php|1.4.6|3014|optional|r@
+1.4.6|lang/german_sie.php|1.4.6|3014|optional|r@
+1.4.6|lang/hebrew.php|1.4.6|3076|optional|r@
+1.4.6|lang/hungarian.php|1.4.6|3075|optional|r@
+1.4.6|lang/italian.php|1.4.6|3014|optional|r@
+1.4.6|lang/japanese.php|1.4.6|3014|optional|r@
+1.4.6|lang/korean.php|1.4.6|3014|optional|r@
+1.4.6|lang/norwegian.php|1.4.6|3014|optional|r@
+1.4.6|lang/persian.php|1.4.6|3077|optional|r@
+1.4.6|lang/polish.php|1.4.6|3014|optional|r@
+1.4.6|lang/portuguese.php|1.4.6|3077|optional|r@
+1.4.6|lang/russian.php|1.4.6|3014|optional|r@
+1.4.6|lang/slovak.php|1.4.6|3014|optional|r@
+1.4.6|lang/slovenian.php|1.4.6|3014|optional|r@
+1.4.6|lang/spanish.php|1.4.6|3014|optional|r@
+1.4.6|lang/swedish.php|1.4.6|3014|optional|r@
+1.4.6|lang/turkish.php|1.4.6|3077|optional|r@
+1.4.6|lang/ukrainian.php|1.4.6|3077|optional|r@
+1.4.6|logs|||mandatory|w@
+1.4.6|logs/log_header.inc.php|1.4.6|3014|mandatory|r@
+1.4.6|plugins|||optional|r@
+1.4.6|plugins/sample|||optional|r@
+1.4.6|plugins/sample/codebase.php|1.4.6|3014|optional|r@
+1.4.6|plugins/sample/configuration.php|1.4.6|3014|optional|r@
+1.4.6|plugins/sef_urls|||optional|r@
+1.4.6|plugins/sef_urls/codebase.php|1.4.6|3014|optional|r@
+1.4.6|plugins/sef_urls/configuration.php|1.4.6|3014|optional|r@
+1.4.6|plugins/sef_urls/ht.txt|1.4.6|3014|optional|r@
+1.4.6|sql|||mandatory|r@
+1.4.6|sql/basic.sql|1.4.6|3014|mandatory|r@
+1.4.6|sql/schema.sql|1.4.6|3014|mandatory|r@
+1.4.6|sql/update.sql|1.4.6|3014|mandatory|r@
+1.4.6|themes|||mandatory|r@
+1.4.6|themes/classic|||optional|r@
+1.4.6|themes/classic/style.css|1.4.6|3014|optional|r@
+1.4.6|themes/classic/template.html||3014|optional|r@
+1.4.6|themes/classic/theme.php|1.4.6|3014|optional|r@
+1.4.6|themes/classic/images|||optional|r@
+1.4.6|themes/eyeball|||optional|r@
+1.4.6|themes/eyeball/style.css|1.4.6|3014|optional|r@
+1.4.6|themes/eyeball/template.html||3014|optional|r@
+1.4.6|themes/eyeball/theme.php|1.4.6|3014|optional|r@
+1.4.6|themes/eyeball/images|||optional|r@
+1.4.6|themes/fruity|||optional|r@
+1.4.6|themes/fruity/style.css|1.4.6|3021|optional|r@
+1.4.6|themes/fruity/template.html||3014|optional|r@
+1.4.6|themes/fruity/theme.php|1.4.6|3014|optional|r@
+1.4.6|themes/fruity/images|||optional|r@
+1.4.6|themes/hardwired|||optional|r@
+1.4.6|themes/hardwired/style.css|1.4.6|3014|optional|r@
+1.4.6|themes/hardwired/template.html||3014|optional|r@
+1.4.6|themes/hardwired/theme.php|1.4.6|3014|optional|r@
+1.4.6|themes/hardwired/images|||optional|r@
+1.4.6|themes/igames|||optional|r@
+1.4.6|themes/igames/style.css|1.4.6|3014|optional|r@
+1.4.6|themes/igames/template.html||3014|optional|r@
+1.4.6|themes/igames/theme.php|1.4.6|3014|optional|r@
+1.4.6|themes/igames/images|||optional|r@
+1.4.6|themes/mac_ox_x|||optional|r@
+1.4.6|themes/mac_ox_x/style.css|1.4.6|3014|optional|r@
+1.4.6|themes/mac_ox_x/template.html||3014|optional|r@
+1.4.6|themes/mac_ox_x/theme.php|1.4.6|3014|optional|r@
+1.4.6|themes/mac_ox_x/images|||optional|r@
+1.4.6|themes/project_vii|||optional|r@
+1.4.6|themes/project_vii/style.css|1.4.6|3014|optional|r@
+1.4.6|themes/project_vii/template.html||3014|optional|r@
+1.4.6|themes/project_vii/theme.php|1.4.6|3014|optional|r@
+1.4.6|themes/project_vii/images|||optional|r@
+1.4.6|themes/rainy_day|||optional|r@
+1.4.6|themes/rainy_day/style.css|1.4.6|3014|optional|r@
+1.4.6|themes/rainy_day/template.html||3014|optional|r@
+1.4.6|themes/rainy_day/theme.php|1.4.6|3014|optional|r@
+1.4.6|themes/rainy_day/images|||optional|r@
+1.4.6|themes/sample|||optional|r@
+1.4.6|themes/sample/style.css|1.4.6|3014|optional|r@
+1.4.6|themes/sample/template.html||3014|optional|r@
+1.4.6|themes/sample/theme.php|1.4.6|3053|optional|r@
+1.4.6|themes/sample/images|||optional|r@
+1.4.6|themes/water_drop|||optional|r@
+1.4.6|themes/water_drop/style.css|1.4.6|3014|optional|r@
+1.4.6|themes/water_drop/template.html||3014|optional|r@
+1.4.6|themes/water_drop/theme.php|1.4.6|3014|optional|r@
+1.4.6|themes/water_drop/images|||optional|r@
+1.4.7|addfav.php|1.4.7|3082|mandatory|r@
+1.4.7|addpic.php|1.4.7|3082|mandatory|r@
+1.4.7|admin.php|1.4.7|3082|mandatory|r@
+1.4.7|albmgr.php|1.4.7|3082|mandatory|r@
+1.4.7|anycontent.php|1.4.7|3082|mandatory|r@
+1.4.7|banning.php|1.4.7|3082|mandatory|r@
+1.4.7|bridgemgr.php|1.4.7|3082|mandatory|r@
+1.4.7|calendar.php|1.4.7|3082|mandatory|r@
+1.4.7|catmgr.php|1.4.7|3082|mandatory|r@
+1.4.7|charsetmgr.php|1.4.7|3082|mandatory|r@
+1.4.7|config.php|1.4.7|3082|optional|r@
+1.4.7|db_ecard.php|1.4.7|3082|mandatory|r@
+1.4.7|db_input.php|1.4.7|3082|mandatory|r@
+1.4.7|delete.php|1.4.7|3082|mandatory|r@
+1.4.7|displayecard.php|1.4.7|3082|mandatory|r@
+1.4.7|displayimage.php|1.4.7|3082|mandatory|r@
+1.4.7|displayreport.php|1.4.7|3082|mandatory|r@
+1.4.7|ecard.php|1.4.7|3082|mandatory|r@
+1.4.7|editOnePic.php|1.4.7|3082|mandatory|r@
+1.4.7|editpics.php|1.4.7|3082|mandatory|r@
+1.4.7|exifmgr.php|1.4.7|3082|mandatory|r@
+1.4.7|faq.php|1.4.7|3082|mandatory|r@
+1.4.7|forgot_passwd.php|1.4.7|3082|mandatory|r@
+1.4.7|getlang.php|1.4.7|3082|mandatory|r@
+1.4.7|groupmgr.php|1.4.7|3082|mandatory|r@
+1.4.7|image_processor.php|1.4.7|3082|mandatory|r@
+1.4.7|index.php|1.4.7|3082|mandatory|r@
+1.4.7|install.php|1.4.7|3082|mandatory|r@
+1.4.7|installer.css|1.4.7|3082|mandatory|r@
+1.4.7|keyword_create_dict.php|1.4.7|3082|mandatory|r@
+1.4.7|keyword_select.php|1.4.7|3082|mandatory|r@
+1.4.7|keywordmgr.php|1.4.7|3082|mandatory|r@
+1.4.7|login.php|1.4.7|3082|mandatory|r@
+1.4.7|logout.php|1.4.7|3082|mandatory|r@
+1.4.7|minibrowser.php|1.4.7|3082|mandatory|r@
+1.4.7|mode.php|1.4.7|3082|mandatory|r@
+1.4.7|modifyalb.php|1.4.7|3082|mandatory|r@
+1.4.7|phpinfo.php|1.4.7|3082|mandatory|r@
+1.4.7|picEditor.php|1.4.7|3082|mandatory|r@
+1.4.7|picmgr.php|1.4.7|3082|mandatory|r@
+1.4.7|pluginmgr.php|1.4.7|3082|mandatory|r@
+1.4.7|profile.php|1.4.7|3082|mandatory|r@
+1.4.7|ratepic.php|1.4.7|3082|mandatory|r@
+1.4.7|register.php|1.4.7|3082|mandatory|r@
+1.4.7|relocate_server.php|1.4.7|3082|optional|r@
+1.4.7|report_file.php|1.4.7|3082|mandatory|r@
+1.4.7|reviewcom.php|1.4.7|3082|mandatory|r@
+1.4.7|scripts.js|1.4.7|3082|mandatory|r@
+1.4.7|search.php|1.4.7|3082|mandatory|r@
+1.4.7|searchnew.php|1.4.7|3082|mandatory|r@
+1.4.7|showthumb.php|1.4.7|3082|mandatory|r@
+1.4.7|stat_details.php|1.4.7|3082|mandatory|r@
+1.4.7|thumbnails.php|1.4.7|3082|mandatory|r@
+1.4.7|update.php|1.4.7|3082|mandatory|r@
+1.4.7|upgrade-1.0-to-1.2.php|1.4.7|3082|mandatory|r@
+1.4.7|upload.php|1.4.7|3082|mandatory|r@
+1.4.7|usermgr.php|1.4.7|3101|mandatory|r@
+1.4.7|util.php|1.4.7|3082|mandatory|r@
+1.4.7|versioncheck.php|1.4.7|3113|mandatory|r@
+1.4.7|viewlog.php|1.4.7|3082|mandatory|r@
+1.4.7|xp_publish.php|1.4.7|3082|mandatory|r@
+1.4.7|zipdownload.php|1.4.7|3082|mandatory|r@
+1.4.7|**fullpath**|||mandatory|w@
+1.4.7|**fullpath**/index.php|||optional|w@
+1.4.7|**fullpath**/edit/index.html|||optional|w@
+1.4.7|**fullpath**/edit/no_FTP-uploads_into_this_folder!|||optional|w@
+1.4.7|**fullpath**/edit|||mandatory|w@
+1.4.7|**fullpath**/edit/index.html|||optional|w@
+1.4.7|**fullpath**/**userpics**|||mandatory|w@
+1.4.7|**fullpath**/**userpics**/index.php|||optional|w@
+1.4.7|**fullpath**/**userpics**/no_FTP-uploads_into_this_folder!|||optional|w@
+1.4.7|bridge|||mandatory|r@
+1.4.7|bridge/coppermine.inc.php|1.4.7|3082|mandatory|r@
+1.4.7|bridge/invisionboard20.inc.php|1.4.7|3082|optional|r@
+1.4.7|bridge/mambo.inc.php|1.4.7|3082|optional|r@
+1.4.7|bridge/mybb.inc.php|1.4.7|3082|optional|r@
+1.4.7|bridge/phorum.inc.php|1.4.7|3082|optional|r@
+1.4.7|bridge/phpbb.inc.php|1.4.7|3082|optional|r@
+1.4.7|bridge/phpbb2018.inc.php|1.4.7|3082|optional|r@
+1.4.7|bridge/phpbb22.inc.php|1.4.7|3082|optional|r@
+1.4.7|bridge/punbb115.inc.php|1.4.7|3082|optional|r@
+1.4.7|bridge/punbb12.inc.php|1.4.7|3082|optional|r@
+1.4.7|bridge/smf10.inc.php|1.4.7|3082|optional|r@
+1.4.7|bridge/udb_base.inc.php|1.4.7|3082|mandatory|r@
+1.4.7|bridge/vbulletin30.inc.php|1.4.7|3082|optional|r@
+1.4.7|bridge/xmb.inc.php|1.4.7|3082|optional|r@
+1.4.7|bridge/xoops.inc.php|1.4.7|3082|optional|r@
+1.4.7|docs|||mandatory|r@
+1.4.7|docs/faq.htm|||optional|r@
+1.4.7|docs/faq_fr.htm|||optional|r@
+1.4.7|docs/index.htm||3082|mandatory|r@
+1.4.7|docs/index_fr.htm||3082|mandatory|r@
+1.4.7|docs/README.html||3082|optional|r@
+1.4.7|docs/showdoc.php|1.4.7|3082|mandatory|r@
+1.4.7|docs/style.css|1.4.7|3082|mandatory|r@
+1.4.7|docs/theme.htm|||optional|r@
+1.4.7|docs/translation.htm|||optional|r@
+1.4.7|docs/pics|||mandatory|r@
+1.4.7|docs/theme|||optional|r@
+1.4.7|docs/theme/edit_style.html|||optional|r@
+1.4.7|docs/theme/edit_template.html|||optional|r@
+1.4.7|docs/theme/edit_theme.html|1.4.7||optional|r@
+1.4.7|docs/theme/index.html|||optional|r@
+1.4.7|docs/theme/style.css|1.4.7|3082|optional|r@
+1.4.7|docs/theme/validation.html|||optional|r@
+1.4.7|include|||mandatory|w@
+1.4.7|include/archive.php|1.4.7|3082|mandatory|r@
+1.4.7|include/config.inc.php|||mandatory|r@
+1.4.7|include/config.inc.php.sample|||optional|r@
+1.4.7|include/crop.inc.php|1.4.7|3082|mandatory|r@
+1.4.7|include/debugger.inc.php|1.4.7|3082|mandatory|r@
+1.4.7|include/exif.php|1.4.7|3082|mandatory|r@
+1.4.7|include/exif_php.inc.php|1.4.7|3082|mandatory|r@
+1.4.7|include/exifReader.inc.php|1.4.7|3082|mandatory|r@
+1.4.7|include/functions.inc.php|1.4.7|3108|mandatory|r@
+1.4.7|include/imageObjectGD.class.php|1.4.7|3082|mandatory|r@
+1.4.7|include/imageObjectIM.class.php|1.4.7|3082|mandatory|r@
+1.4.7|include/index.html|1.4.7|3082|mandatory|r@
+1.4.7|include/init.inc.php|1.4.7|3082|mandatory|r@
+1.4.7|include/iptc.inc.php|1.4.7|3082|mandatory|r@
+1.4.7|include/keyword.inc.php|1.4.7|3082|mandatory|r@
+1.4.7|include/langfallback.inc.php|1.4.7|3082|mandatory|r@
+1.4.7|include/logger.inc.php|1.4.7|3082|mandatory|r@
+1.4.7|include/mailer.inc.php|1.4.7|3082|mandatory|r@
+1.4.7|include/mb.inc.php|1.4.7|3082|mandatory|r@
+1.4.7|include/media.functions.inc.php|1.4.7|3082|mandatory|r@
+1.4.7|include/phpmailer.lang-en.php|1.4.7|3082|mandatory|r@
+1.4.7|include/picmgmt.inc.php|1.4.7|3082|mandatory|r@
+1.4.7|include/plugin_api.inc.php|1.4.7|3082|mandatory|r@
+1.4.7|include/search.inc.php|1.4.7|3082|mandatory|r@
+1.4.7|include/select_lang.inc.php|1.4.7|3082|mandatory|r@
+1.4.7|include/slideshow.inc.php|1.4.7|3082|mandatory|r@
+1.4.7|include/smilies.inc.php|1.4.7|3082|mandatory|r@
+1.4.7|include/smtp.inc.php|1.4.7|3082|mandatory|r@
+1.4.7|include/sql_parse.php|1.4.7|3082|mandatory|r@
+1.4.7|include/themes.inc.php|1.4.7|3082|mandatory|r@
+1.4.7|include/update.inc.php|1.4.7|3082|mandatory|r@
+1.4.7|include/zip.lib.php|1.4.7|3082|mandatory|r@
+1.4.7|include/makers|||mandatory|w@
+1.4.7|include/makers/canon.php|1.4.7|3082|mandatory|r@
+1.4.7|include/makers/fujifilm.php|1.4.7|3082|mandatory|r@
+1.4.7|include/makers/gps.php|1.4.7|3082|mandatory|r@
+1.4.7|include/makers/nikon.php|1.4.7|3082|mandatory|r@
+1.4.7|include/makers/olympus.php|1.4.7|3082|mandatory|r@
+1.4.7|include/makers/sanyo.php|1.4.7|3082|mandatory|r@
+1.4.7|lang|||mandatory|r@
+1.4.7|lang/basque.php|1.4.7|3082|optional|r@
+1.4.7|lang/chinese_big5.php|1.4.7|3082|optional|r@
+1.4.7|lang/chinese_gb.php|1.4.7|3082|optional|r@
+1.4.7|lang/czech.php|1.4.7|3082|optional|r@
+1.4.7|lang/dutch.php|1.4.7|3085|optional|r@
+1.4.7|lang/english.php|1.4.7|3082|mandatory|r@
+1.4.7|lang/english_gb.php|1.4.7|3082|optional|r@
+1.4.7|lang/french.php|1.4.7|3082|optional|r@
+1.4.7|lang/galician.php|1.4.7|3082|optional|r@
+1.4.7|lang/georgian.php|1.4.7|3082|optional|r@
+1.4.7|lang/german.php|1.4.7|3082|optional|r@
+1.4.7|lang/german_sie.php|1.4.7|3082|optional|r@
+1.4.7|lang/hebrew.php|1.4.7|3082|optional|r@
+1.4.7|lang/hungarian.php|1.4.7|3082|optional|r@
+1.4.7|lang/italian.php|1.4.7|3082|optional|r@
+1.4.7|lang/japanese.php|1.4.7|3082|optional|r@
+1.4.7|lang/korean.php|1.4.7|3082|optional|r@
+1.4.7|lang/norwegian.php|1.4.7|3082|optional|r@
+1.4.7|lang/persian.php|1.4.7|3095|optional|r@
+1.4.7|lang/polish.php|1.4.7|3082|optional|r@
+1.4.7|lang/portuguese.php|1.4.7|3082|optional|r@
+1.4.7|lang/russian.php|1.4.7|3082|optional|r@
+1.4.7|lang/slovak.php|1.4.7|3082|optional|r@
+1.4.7|lang/slovenian.php|1.4.7|3086|optional|r@
+1.4.7|lang/spanish.php|1.4.7|3082|optional|r@
+1.4.7|lang/swedish.php|1.4.7|3082|optional|r@
+1.4.7|lang/turkish.php|1.4.7|3082|optional|r@
+1.4.7|lang/ukrainian.php|1.4.7|3082|optional|r@
+1.4.7|logs|||mandatory|w@
+1.4.7|logs/log_header.inc.php|1.4.7|3082|mandatory|r@
+1.4.7|plugins|||optional|r@
+1.4.7|plugins/sample|||optional|r@
+1.4.7|plugins/sample/codebase.php|1.4.7|3082|optional|r@
+1.4.7|plugins/sample/configuration.php|1.4.7|3082|optional|r@
+1.4.7|plugins/sef_urls|||optional|r@
+1.4.7|plugins/sef_urls/codebase.php|1.4.7|3082|optional|r@
+1.4.7|plugins/sef_urls/configuration.php|1.4.7|3082|optional|r@
+1.4.7|plugins/sef_urls/ht.txt|1.4.7|3082|optional|r@
+1.4.7|sql|||mandatory|r@
+1.4.7|sql/basic.sql|1.4.7|3082|mandatory|r@
+1.4.7|sql/schema.sql|1.4.7|3082|mandatory|r@
+1.4.7|sql/update.sql|1.4.7|3082|mandatory|r@
+1.4.7|themes|||mandatory|r@
+1.4.7|themes/classic|||optional|r@
+1.4.7|themes/classic/style.css|1.4.7|3082|optional|r@
+1.4.7|themes/classic/template.html||3082|optional|r@
+1.4.7|themes/classic/theme.php|1.4.7|3100|optional|r@
+1.4.7|themes/classic/images|||optional|r@
+1.4.7|themes/eyeball|||optional|r@
+1.4.7|themes/eyeball/style.css|1.4.7|3082|optional|r@
+1.4.7|themes/eyeball/template.html||3082|optional|r@
+1.4.7|themes/eyeball/theme.php|1.4.7|3082|optional|r@
+1.4.7|themes/eyeball/images|||optional|r@
+1.4.7|themes/fruity|||optional|r@
+1.4.7|themes/fruity/style.css|1.4.7|3082|optional|r@
+1.4.7|themes/fruity/template.html||3082|optional|r@
+1.4.7|themes/fruity/theme.php|1.4.7|3082|optional|r@
+1.4.7|themes/fruity/images|||optional|r@
+1.4.7|themes/hardwired|||optional|r@
+1.4.7|themes/hardwired/style.css|1.4.7|3082|optional|r@
+1.4.7|themes/hardwired/template.html||3082|optional|r@
+1.4.7|themes/hardwired/theme.php|1.4.7|3082|optional|r@
+1.4.7|themes/hardwired/images|||optional|r@
+1.4.7|themes/igames|||optional|r@
+1.4.7|themes/igames/style.css|1.4.7|3082|optional|r@
+1.4.7|themes/igames/template.html||3082|optional|r@
+1.4.7|themes/igames/theme.php|1.4.7|3082|optional|r@
+1.4.7|themes/igames/images|||optional|r@
+1.4.7|themes/mac_ox_x|||optional|r@
+1.4.7|themes/mac_ox_x/style.css|1.4.7|3082|optional|r@
+1.4.7|themes/mac_ox_x/template.html||3082|optional|r@
+1.4.7|themes/mac_ox_x/theme.php|1.4.7|3082|optional|r@
+1.4.7|themes/mac_ox_x/images|||optional|r@
+1.4.7|themes/project_vii|||optional|r@
+1.4.7|themes/project_vii/style.css|1.4.7|3082|optional|r@
+1.4.7|themes/project_vii/template.html||3082|optional|r@
+1.4.7|themes/project_vii/theme.php|1.4.7|3082|optional|r@
+1.4.7|themes/project_vii/images|||optional|r@
+1.4.7|themes/rainy_day|||optional|r@
+1.4.7|themes/rainy_day/style.css|1.4.7|3082|optional|r@
+1.4.7|themes/rainy_day/template.html||3082|optional|r@
+1.4.7|themes/rainy_day/theme.php|1.4.7|3082|optional|r@
+1.4.7|themes/rainy_day/images|||optional|r@
+1.4.7|themes/sample|||optional|r@
+1.4.7|themes/sample/style.css|1.4.7|3082|optional|r@
+1.4.7|themes/sample/template.html||3082|optional|r@
+1.4.7|themes/sample/theme.php|1.4.7|3082|optional|r@
+1.4.7|themes/sample/images|||optional|r@
+1.4.7|themes/water_drop|||optional|r@
+1.4.7|themes/water_drop/style.css|1.4.7|3082|optional|r@
+1.4.7|themes/water_drop/template.html||3082|optional|r@
+1.4.7|themes/water_drop/theme.php|1.4.7|3082|optional|r@
+1.4.7|themes/water_drop/images|||optional|r@
+1.4.8|addfav.php|1.4.8|3116|mandatory|r@
+1.4.8|addpic.php|1.4.8|3116|mandatory|r@
+1.4.8|admin.php|1.4.8|3116|mandatory|r@
+1.4.8|albmgr.php|1.4.8|3116|mandatory|r@
+1.4.8|anycontent.php|1.4.8|3116|mandatory|r@
+1.4.8|banning.php|1.4.8|3116|mandatory|r@
+1.4.8|bridgemgr.php|1.4.8|3116|mandatory|r@
+1.4.8|calendar.php|1.4.8|3116|mandatory|r@
+1.4.8|catmgr.php|1.4.8|3116|mandatory|r@
+1.4.8|charsetmgr.php|1.4.8|3116|mandatory|r@
+1.4.8|config.php|1.4.8|3116|optional|r@
+1.4.8|db_ecard.php|1.4.8|3116|mandatory|r@
+1.4.8|db_input.php|1.4.8|3116|mandatory|r@
+1.4.8|delete.php|1.4.8|3116|mandatory|r@
+1.4.8|displayecard.php|1.4.8|3116|mandatory|r@
+1.4.8|displayimage.php|1.4.8|3116|mandatory|r@
+1.4.8|displayreport.php|1.4.8|3116|mandatory|r@
+1.4.8|ecard.php|1.4.8|3116|mandatory|r@
+1.4.8|editOnePic.php|1.4.8|3116|mandatory|r@
+1.4.8|editpics.php|1.4.8|3116|mandatory|r@
+1.4.8|exifmgr.php|1.4.8|3116|mandatory|r@
+1.4.8|faq.php|1.4.8|3116|mandatory|r@
+1.4.8|forgot_passwd.php|1.4.8|3116|mandatory|r@
+1.4.8|getlang.php|1.4.8|3116|mandatory|r@
+1.4.8|groupmgr.php|1.4.8|3116|mandatory|r@
+1.4.8|image_processor.php|1.4.8|3116|mandatory|r@
+1.4.8|index.php|1.4.8|3116|mandatory|r@
+1.4.8|install.php|1.4.8|3116|mandatory|r@
+1.4.8|installer.css|1.4.8|3116|mandatory|r@
+1.4.8|keyword_create_dict.php|1.4.8|3116|mandatory|r@
+1.4.8|keyword_select.php|1.4.8|3116|mandatory|r@
+1.4.8|keywordmgr.php|1.4.8|3116|mandatory|r@
+1.4.8|login.php|1.4.8|3116|mandatory|r@
+1.4.8|logout.php|1.4.8|3116|mandatory|r@
+1.4.8|minibrowser.php|1.4.8|3116|mandatory|r@
+1.4.8|mode.php|1.4.8|3116|mandatory|r@
+1.4.8|modifyalb.php|1.4.8|3116|mandatory|r@
+1.4.8|phpinfo.php|1.4.8|3116|mandatory|r@
+1.4.8|picEditor.php|1.4.8|3116|mandatory|r@
+1.4.8|picmgr.php|1.4.8|3116|mandatory|r@
+1.4.8|pluginmgr.php|1.4.8|3116|mandatory|r@
+1.4.8|profile.php|1.4.8|3116|mandatory|r@
+1.4.8|ratepic.php|1.4.8|3116|mandatory|r@
+1.4.8|register.php|1.4.8|3116|mandatory|r@
+1.4.8|relocate_server.php|1.4.8|3116|optional|r@
+1.4.8|report_file.php|1.4.8|3116|mandatory|r@
+1.4.8|reviewcom.php|1.4.8|3116|mandatory|r@
+1.4.8|scripts.js|1.4.8|3116|mandatory|r@
+1.4.8|search.php|1.4.8|3116|mandatory|r@
+1.4.8|searchnew.php|1.4.8|3116|mandatory|r@
+1.4.8|showthumb.php|1.4.8|3116|mandatory|r@
+1.4.8|stat_details.php|1.4.8|3116|mandatory|r@
+1.4.8|thumbnails.php|1.4.8|3116|mandatory|r@
+1.4.8|update.php|1.4.8|3116|mandatory|r@
+1.4.8|upgrade-1.0-to-1.2.php|1.4.8|3116|mandatory|r@
+1.4.8|upload.php|1.4.8|3116|mandatory|r@
+1.4.8|usermgr.php|1.4.8|3116|mandatory|r@
+1.4.8|util.php|1.4.8|3116|mandatory|r@
+1.4.8|versioncheck.php|1.4.8|3119|mandatory|r@
+1.4.8|viewlog.php|1.4.8|3116|mandatory|r@
+1.4.8|xp_publish.php|1.4.8|3116|mandatory|r@
+1.4.8|zipdownload.php|1.4.8|3116|mandatory|r@
+1.4.8|**fullpath**|||mandatory|w@
+1.4.8|**fullpath**/index.php|||optional|w@
+1.4.8|**fullpath**/edit/index.html|||optional|w@
+1.4.8|**fullpath**/edit/no_FTP-uploads_into_this_folder!|||optional|w@
+1.4.8|**fullpath**/edit|||mandatory|w@
+1.4.8|**fullpath**/edit/index.html|||optional|w@
+1.4.8|**fullpath**/**userpics**|||mandatory|w@
+1.4.8|**fullpath**/**userpics**/index.php|||optional|w@
+1.4.8|**fullpath**/**userpics**/no_FTP-uploads_into_this_folder!|||optional|w@
+1.4.8|bridge|||mandatory|r@
+1.4.8|bridge/coppermine.inc.php|1.4.8|3116|mandatory|r@
+1.4.8|bridge/invisionboard20.inc.php|1.4.8|3116|optional|r@
+1.4.8|bridge/mambo.inc.php|1.4.8|3116|optional|r@
+1.4.8|bridge/mybb.inc.php|1.4.8|3116|optional|r@
+1.4.8|bridge/phorum.inc.php|1.4.8|3116|optional|r@
+1.4.8|bridge/phpbb.inc.php|1.4.8|3116|optional|r@
+1.4.8|bridge/phpbb2018.inc.php|1.4.8|3116|optional|r@
+1.4.8|bridge/phpbb22.inc.php|1.4.8|3116|optional|r@
+1.4.8|bridge/punbb115.inc.php|1.4.8|3116|optional|r@
+1.4.8|bridge/punbb12.inc.php|1.4.8|3116|optional|r@
+1.4.8|bridge/smf10.inc.php|1.4.8|3116|optional|r@
+1.4.8|bridge/udb_base.inc.php|1.4.8|3116|mandatory|r@
+1.4.8|bridge/vbulletin30.inc.php|1.4.8|3116|optional|r@
+1.4.8|bridge/xmb.inc.php|1.4.8|3116|optional|r@
+1.4.8|bridge/xoops.inc.php|1.4.8|3116|optional|r@
+1.4.8|docs|||mandatory|r@
+1.4.8|docs/faq.htm|||optional|r@
+1.4.8|docs/faq_fr.htm|||optional|r@
+1.4.8|docs/index.htm||3116|mandatory|r@
+1.4.8|docs/index_fr.htm||3116|mandatory|r@
+1.4.8|docs/README.html||3116|optional|r@
+1.4.8|docs/showdoc.php|1.4.8|3116|mandatory|r@
+1.4.8|docs/style.css|1.4.8|3116|mandatory|r@
+1.4.8|docs/theme.htm|||optional|r@
+1.4.8|docs/translation.htm|||optional|r@
+1.4.8|docs/pics|||mandatory|r@
+1.4.8|docs/theme|||optional|r@
+1.4.8|docs/theme/edit_style.html|||optional|r@
+1.4.8|docs/theme/edit_template.html|||optional|r@
+1.4.8|docs/theme/edit_theme.html|1.4.8||optional|r@
+1.4.8|docs/theme/index.html|||optional|r@
+1.4.8|docs/theme/style.css|1.4.8|3116|optional|r@
+1.4.8|docs/theme/validation.html|||optional|r@
+1.4.8|include|||mandatory|w@
+1.4.8|include/archive.php|1.4.8|3116|mandatory|r@
+1.4.8|include/config.inc.php|||mandatory|r@
+1.4.8|include/config.inc.php.sample|||optional|r@
+1.4.8|include/crop.inc.php|1.4.8|3116|mandatory|r@
+1.4.8|include/debugger.inc.php|1.4.8|3116|mandatory|r@
+1.4.8|include/exif.php|1.4.8|3116|mandatory|r@
+1.4.8|include/exif_php.inc.php|1.4.8|3116|mandatory|r@
+1.4.8|include/exifReader.inc.php|1.4.8|3116|mandatory|r@
+1.4.8|include/functions.inc.php|1.4.8|3116|mandatory|r@
+1.4.8|include/imageObjectGD.class.php|1.4.8|3116|mandatory|r@
+1.4.8|include/imageObjectIM.class.php|1.4.8|3116|mandatory|r@
+1.4.8|include/index.html|1.4.8|3116|mandatory|r@
+1.4.8|include/init.inc.php|1.4.8|3116|mandatory|r@
+1.4.8|include/iptc.inc.php|1.4.8|3116|mandatory|r@
+1.4.8|include/keyword.inc.php|1.4.8|3116|mandatory|r@
+1.4.8|include/langfallback.inc.php|1.4.8|3116|mandatory|r@
+1.4.8|include/logger.inc.php|1.4.8|3116|mandatory|r@
+1.4.8|include/mailer.inc.php|1.4.8|3116|mandatory|r@
+1.4.8|include/mb.inc.php|1.4.8|3116|mandatory|r@
+1.4.8|include/media.functions.inc.php|1.4.8|3116|mandatory|r@
+1.4.8|include/phpmailer.lang-en.php|1.4.8|3116|mandatory|r@
+1.4.8|include/picmgmt.inc.php|1.4.8|3116|mandatory|r@
+1.4.8|include/plugin_api.inc.php|1.4.8|3116|mandatory|r@
+1.4.8|include/search.inc.php|1.4.8|3116|mandatory|r@
+1.4.8|include/select_lang.inc.php|1.4.8|3116|mandatory|r@
+1.4.8|include/slideshow.inc.php|1.4.8|3116|mandatory|r@
+1.4.8|include/smilies.inc.php|1.4.8|3116|mandatory|r@
+1.4.8|include/smtp.inc.php|1.4.8|3116|mandatory|r@
+1.4.8|include/sql_parse.php|1.4.8|3116|mandatory|r@
+1.4.8|include/themes.inc.php|1.4.8|3116|mandatory|r@
+1.4.8|include/update.inc.php|1.4.8|3116|mandatory|r@
+1.4.8|include/zip.lib.php|1.4.8|3116|mandatory|r@
+1.4.8|include/makers|||mandatory|w@
+1.4.8|include/makers/canon.php|1.4.8|3116|mandatory|r@
+1.4.8|include/makers/fujifilm.php|1.4.8|3116|mandatory|r@
+1.4.8|include/makers/gps.php|1.4.8|3116|mandatory|r@
+1.4.8|include/makers/nikon.php|1.4.8|3116|mandatory|r@
+1.4.8|include/makers/olympus.php|1.4.8|3116|mandatory|r@
+1.4.8|include/makers/sanyo.php|1.4.8|3116|mandatory|r@
+1.4.8|lang|||mandatory|r@
+1.4.8|lang/basque.php|1.4.8|3116|optional|r@
+1.4.8|lang/bulgarian.php|1.4.8|1.287|optional|r@
+1.4.8|lang/chinese_big5.php|1.4.8|3116|optional|r@
+1.4.8|lang/chinese_gb.php|1.4.8|3116|optional|r@
+1.4.8|lang/czech.php|1.4.8|3116|optional|r@
+1.4.8|lang/danish.php|1.4.8|1.15|optional|r@
+1.4.8|lang/dutch.php|1.4.8|3116|optional|r@
+1.4.8|lang/english.php|1.4.8|3116|mandatory|r@
+1.4.8|lang/english_gb.php|1.4.8|3116|optional|r@
+1.4.8|lang/finnish.php|1.4.8|1.26|optional|r@
+1.4.8|lang/french.php|1.4.8|3116|optional|r@
+1.4.8|lang/galician.php|1.4.8|3116|optional|r@
+1.4.8|lang/georgian.php|1.4.8|3116|optional|r@
+1.4.8|lang/german.php|1.4.8|3116|optional|r@
+1.4.8|lang/german_sie.php|1.4.8|3116|optional|r@
+1.4.8|lang/hebrew.php|1.4.8|3116|optional|r@
+1.4.8|lang/hungarian.php|1.4.8|3116|optional|r@
+1.4.8|lang/italian.php|1.4.8|3116|optional|r@
+1.4.8|lang/japanese.php|1.4.8|3116|optional|r@
+1.4.8|lang/korean.php|1.4.8|3116|optional|r@
+1.4.8|lang/norwegian.php|1.4.8|3116|optional|r@
+1.4.8|lang/persian.php|1.4.8|3116|optional|r@
+1.4.8|lang/polish.php|1.4.8|3116|optional|r@
+1.4.8|lang/portuguese.php|1.4.8|3116|optional|r@
+1.4.8|lang/russian.php|1.4.8|3116|optional|r@
+1.4.8|lang/slovak.php|1.4.8|3116|optional|r@
+1.4.8|lang/slovenian.php|1.4.8|3116|optional|r@
+1.4.8|lang/spanish.php|1.4.8|3116|optional|r@
+1.4.8|lang/swedish.php|1.4.8|3116|optional|r@
+1.4.8|lang/turkish.php|1.4.8|3116|optional|r@
+1.4.8|lang/ukrainian.php|1.4.8|3116|optional|r@
+1.4.8|logs|||mandatory|w@
+1.4.8|logs/log_header.inc.php|1.4.8|3116|mandatory|r@
+1.4.8|plugins|||optional|r@
+1.4.8|plugins/sample|||optional|r@
+1.4.8|plugins/sample/codebase.php|1.4.8|3116|optional|r@
+1.4.8|plugins/sample/configuration.php|1.4.8|3116|optional|r@
+1.4.8|plugins/sef_urls|||optional|r@
+1.4.8|plugins/sef_urls/codebase.php|1.4.8|3116|optional|r@
+1.4.8|plugins/sef_urls/configuration.php|1.4.8|3116|optional|r@
+1.4.8|plugins/sef_urls/ht.txt|1.4.8|3116|optional|r@
+1.4.8|sql|||mandatory|r@
+1.4.8|sql/basic.sql|1.4.8|3116|mandatory|r@
+1.4.8|sql/schema.sql|1.4.8|3116|mandatory|r@
+1.4.8|sql/update.sql|1.4.8|3116|mandatory|r@
+1.4.8|themes|||mandatory|r@
+1.4.8|themes/classic|||optional|r@
+1.4.8|themes/classic/style.css|1.4.8|3116|optional|r@
+1.4.8|themes/classic/template.html||3116|optional|r@
+1.4.8|themes/classic/theme.php|1.4.8|3116|optional|r@
+1.4.8|themes/classic/images|||optional|r@
+1.4.8|themes/eyeball|||optional|r@
+1.4.8|themes/eyeball/style.css|1.4.8|3116|optional|r@
+1.4.8|themes/eyeball/template.html||3116|optional|r@
+1.4.8|themes/eyeball/theme.php|1.4.8|3116|optional|r@
+1.4.8|themes/eyeball/images|||optional|r@
+1.4.8|themes/fruity|||optional|r@
+1.4.8|themes/fruity/style.css|1.4.8|3116|optional|r@
+1.4.8|themes/fruity/template.html||3116|optional|r@
+1.4.8|themes/fruity/theme.php|1.4.8|3116|optional|r@
+1.4.8|themes/fruity/images|||optional|r@
+1.4.8|themes/hardwired|||optional|r@
+1.4.8|themes/hardwired/style.css|1.4.8|3116|optional|r@
+1.4.8|themes/hardwired/template.html||3116|optional|r@
+1.4.8|themes/hardwired/theme.php|1.4.8|3116|optional|r@
+1.4.8|themes/hardwired/images|||optional|r@
+1.4.8|themes/igames|||optional|r@
+1.4.8|themes/igames/style.css|1.4.8|3116|optional|r@
+1.4.8|themes/igames/template.html||3116|optional|r@
+1.4.8|themes/igames/theme.php|1.4.8|3116|optional|r@
+1.4.8|themes/igames/images|||optional|r@
+1.4.8|themes/mac_ox_x|||optional|r@
+1.4.8|themes/mac_ox_x/style.css|1.4.8|3116|optional|r@
+1.4.8|themes/mac_ox_x/template.html||3116|optional|r@
+1.4.8|themes/mac_ox_x/theme.php|1.4.8|3116|optional|r@
+1.4.8|themes/mac_ox_x/images|||optional|r@
+1.4.8|themes/project_vii|||optional|r@
+1.4.8|themes/project_vii/style.css|1.4.8|3116|optional|r@
+1.4.8|themes/project_vii/template.html||3116|optional|r@
+1.4.8|themes/project_vii/theme.php|1.4.8|3116|optional|r@
+1.4.8|themes/project_vii/images|||optional|r@
+1.4.8|themes/rainy_day|||optional|r@
+1.4.8|themes/rainy_day/style.css|1.4.8|3116|optional|r@
+1.4.8|themes/rainy_day/template.html||3116|optional|r@
+1.4.8|themes/rainy_day/theme.php|1.4.8|3116|optional|r@
+1.4.8|themes/rainy_day/images|||optional|r@
+1.4.8|themes/sample|||optional|r@
+1.4.8|themes/sample/style.css|1.4.8|3116|optional|r@
+1.4.8|themes/sample/template.html||3116|optional|r@
+1.4.8|themes/sample/theme.php|1.4.8|3116|optional|r@
+1.4.8|themes/sample/images|||optional|r@
+1.4.8|themes/water_drop|||optional|r@
+1.4.8|themes/water_drop/style.css|1.4.8|3116|optional|r@
+1.4.8|themes/water_drop/template.html||3116|optional|r@
+1.4.8|themes/water_drop/theme.php|1.4.8|3116|optional|r@
+1.4.8|themes/water_drop/images|||optional|r@
+1.4.9|addfav.php|1.4.9|3125|mandatory|r@
+1.4.9|addpic.php|1.4.9|3125|mandatory|r@
+1.4.9|admin.php|1.4.9|3125|mandatory|r@
+1.4.9|albmgr.php|1.4.9|3125|mandatory|r@
+1.4.9|anycontent.php|1.4.9|3125|mandatory|r@
+1.4.9|banning.php|1.4.9|3125|mandatory|r@
+1.4.9|bridgemgr.php|1.4.9|3125|mandatory|r@
+1.4.9|calendar.php|1.4.9|3125|mandatory|r@
+1.4.9|catmgr.php|1.4.9|3125|mandatory|r@
+1.4.9|charsetmgr.php|1.4.9|3142|mandatory|r@
+1.4.9|config.php|1.4.9|3125|optional|r@
+1.4.9|db_ecard.php|1.4.9|3125|mandatory|r@
+1.4.9|db_input.php|1.4.9|3125|mandatory|r@
+1.4.9|delete.php|1.4.9|3125|mandatory|r@
+1.4.9|displayecard.php|1.4.9|3227|mandatory|r@
+1.4.9|displayimage.php|1.4.9|3125|mandatory|r@
+1.4.9|displayreport.php|1.4.9|3125|mandatory|r@
+1.4.9|ecard.php|1.4.9|3125|mandatory|r@
+1.4.9|editOnePic.php|1.4.9|3125|mandatory|r@
+1.4.9|editpics.php|1.4.9|3125|mandatory|r@
+1.4.9|exifmgr.php|1.4.9|3125|mandatory|r@
+1.4.9|faq.php|1.4.9|3125|mandatory|r@
+1.4.9|forgot_passwd.php|1.4.9|3125|mandatory|r@
+1.4.9|getlang.php|1.4.9|3125|mandatory|r@
+1.4.9|groupmgr.php|1.4.9|3125|mandatory|r@
+1.4.9|image_processor.php|1.4.9|3125|mandatory|r@
+1.4.9|index.php|1.4.9|3125|mandatory|r@
+1.4.9|install.php|1.4.9|3125|mandatory|r@
+1.4.9|installer.css|1.4.9|3125|mandatory|r@
+1.4.9|keyword_create_dict.php|1.4.9|3125|mandatory|r@
+1.4.9|keyword_select.php|1.4.9|3125|mandatory|r@
+1.4.9|keywordmgr.php|1.4.9|3125|mandatory|r@
+1.4.9|login.php|1.4.9|3125|mandatory|r@
+1.4.9|logout.php|1.4.9|3125|mandatory|r@
+1.4.9|minibrowser.php|1.4.9|3125|mandatory|r@
+1.4.9|mode.php|1.4.9|3125|mandatory|r@
+1.4.9|modifyalb.php|1.4.9|3125|mandatory|r@
+1.4.9|phpinfo.php|1.4.9|3125|mandatory|r@
+1.4.9|picEditor.php|1.4.9|3125|mandatory|r@
+1.4.9|picmgr.php|1.4.9|3125|mandatory|r@
+1.4.9|pluginmgr.php|1.4.9|3224|mandatory|r@
+1.4.9|profile.php|1.4.9|3125|mandatory|r@
+1.4.9|ratepic.php|1.4.9|3157|mandatory|r@
+1.4.9|register.php|1.4.9|3215|mandatory|r@
+1.4.9|relocate_server.php|1.4.9|3125|optional|r@
+1.4.9|report_file.php|1.4.9|3125|mandatory|r@
+1.4.9|reviewcom.php|1.4.9|3125|mandatory|r@
+1.4.9|scripts.js|1.4.9|3125|mandatory|r@
+1.4.9|search.php|1.4.9|3125|mandatory|r@
+1.4.9|searchnew.php|1.4.9|3125|mandatory|r@
+1.4.9|showthumb.php|1.4.9|3125|mandatory|r@
+1.4.9|stat_details.php|1.4.9|3125|mandatory|r@
+1.4.9|thumbnails.php|1.4.9|3125|mandatory|r@
+1.4.9|update.php|1.4.9|3125|mandatory|r@
+1.4.9|upgrade-1.0-to-1.2.php|1.4.9|3125|mandatory|r@
+1.4.9|upload.php|1.4.9|3142|mandatory|r@
+1.4.9|usermgr.php|1.4.9|3142|mandatory|r@
+1.4.9|util.php|1.4.9|3125|mandatory|r@
+1.4.9|versioncheck.php|1.4.9|3261|mandatory|r@
+1.4.9|viewlog.php|1.4.9|3125|mandatory|r@
+1.4.9|xp_publish.php|1.4.9|3125|mandatory|r@
+1.4.9|zipdownload.php|1.4.9|3125|mandatory|r@
+1.4.9|**fullpath**|||mandatory|w@
+1.4.9|**fullpath**/index.php|||optional|w@
+1.4.9|**fullpath**/edit/index.html|||optional|w@
+1.4.9|**fullpath**/edit/no_FTP-uploads_into_this_folder!|||optional|w@
+1.4.9|**fullpath**/edit|||mandatory|w@
+1.4.9|**fullpath**/edit/index.html|||optional|w@
+1.4.9|**fullpath**/**userpics**|||mandatory|w@
+1.4.9|**fullpath**/**userpics**/index.php|||optional|w@
+1.4.9|**fullpath**/**userpics**/no_FTP-uploads_into_this_folder!|||optional|w@
+1.4.9|bridge|||mandatory|r@
+1.4.9|bridge/coppermine.inc.php|1.4.9|3125|mandatory|r@
+1.4.9|bridge/invisionboard20.inc.php|1.4.9|3125|optional|r@
+1.4.9|bridge/mambo.inc.php|1.4.9|3125|optional|r@
+1.4.9|bridge/mybb.inc.php|1.4.9|3125|optional|r@
+1.4.9|bridge/phorum.inc.php|1.4.9|3125|optional|r@
+1.4.9|bridge/phpbb.inc.php|1.4.9|3125|optional|r@
+1.4.9|bridge/phpbb2018.inc.php|1.4.9|3125|optional|r@
+1.4.9|bridge/phpbb22.inc.php|1.4.9|3125|optional|r@
+1.4.9|bridge/punbb115.inc.php|1.4.9|3125|optional|r@
+1.4.9|bridge/punbb12.inc.php|1.4.9|3125|optional|r@
+1.4.9|bridge/smf10.inc.php|1.4.9|3125|optional|r@
+1.4.9|bridge/udb_base.inc.php|1.4.9|3246|mandatory|r@
+1.4.9|bridge/vbulletin30.inc.php|1.4.9|3125|optional|r@
+1.4.9|bridge/xmb.inc.php|1.4.9|3125|optional|r@
+1.4.9|bridge/xoops.inc.php|1.4.9|3125|optional|r@
+1.4.9|docs|||mandatory|r@
+1.4.9|docs/faq.htm|||optional|r@
+1.4.9|docs/faq_fr.htm|||optional|r@
+1.4.9|docs/index.htm||3125|mandatory|r@
+1.4.9|docs/index_fr.htm||3125|mandatory|r@
+1.4.9|docs/README.html||3125|optional|r@
+1.4.9|docs/showdoc.php|1.4.9|3125|mandatory|r@
+1.4.9|docs/style.css|1.4.9|3125|mandatory|r@
+1.4.9|docs/theme.htm|||optional|r@
+1.4.9|docs/translation.htm|||optional|r@
+1.4.9|docs/pics|||mandatory|r@
+1.4.9|docs/theme|||optional|r@
+1.4.9|docs/theme/edit_style.html|||optional|r@
+1.4.9|docs/theme/edit_template.html|||optional|r@
+1.4.9|docs/theme/edit_theme.html|1.4.9||optional|r@
+1.4.9|docs/theme/index.html|||optional|r@
+1.4.9|docs/theme/style.css|1.4.9|3125|optional|r@
+1.4.9|docs/theme/validation.html|||optional|r@
+1.4.9|include|||mandatory|w@
+1.4.9|include/archive.php|1.4.9|3125|mandatory|r@
+1.4.9|include/config.inc.php|||mandatory|r@
+1.4.9|include/config.inc.php.sample|||optional|r@
+1.4.9|include/crop.inc.php|1.4.9|3125|mandatory|r@
+1.4.9|include/debugger.inc.php|1.4.9|3125|mandatory|r@
+1.4.9|include/exif.php|1.4.9|3125|mandatory|r@
+1.4.9|include/exif_php.inc.php|1.4.9|3125|mandatory|r@
+1.4.9|include/exifReader.inc.php|1.4.9|3125|mandatory|r@
+1.4.9|include/functions.inc.php|1.4.9|3142|mandatory|r@
+1.4.9|include/imageObjectGD.class.php|1.4.9|3125|mandatory|r@
+1.4.9|include/imageObjectIM.class.php|1.4.9|3125|mandatory|r@
+1.4.9|include/index.html|1.4.9|3125|mandatory|r@
+1.4.9|include/init.inc.php|1.4.9|3137|mandatory|r@
+1.4.9|include/iptc.inc.php|1.4.9|3125|mandatory|r@
+1.4.9|include/keyword.inc.php|1.4.9|3125|mandatory|r@
+1.4.9|include/langfallback.inc.php|1.4.9|3125|mandatory|r@
+1.4.9|include/logger.inc.php|1.4.9|3125|mandatory|r@
+1.4.9|include/mailer.inc.php|1.4.9|3125|mandatory|r@
+1.4.9|include/mb.inc.php|1.4.9|3125|mandatory|r@
+1.4.9|include/media.functions.inc.php|1.4.9|3125|mandatory|r@
+1.4.9|include/phpmailer.lang-en.php|1.4.9|3125|mandatory|r@
+1.4.9|include/picmgmt.inc.php|1.4.9|3125|mandatory|r@
+1.4.9|include/plugin_api.inc.php|1.4.9|3125|mandatory|r@
+1.4.9|include/search.inc.php|1.4.9|3125|mandatory|r@
+1.4.9|include/select_lang.inc.php|1.4.9|3125|mandatory|r@
+1.4.9|include/slideshow.inc.php|1.4.9|3125|mandatory|r@
+1.4.9|include/smilies.inc.php|1.4.9|3125|mandatory|r@
+1.4.9|include/smtp.inc.php|1.4.9|3125|mandatory|r@
+1.4.9|include/sql_parse.php|1.4.9|3125|mandatory|r@
+1.4.9|include/themes.inc.php|1.4.9|3223|mandatory|r@
+1.4.9|include/update.inc.php|1.4.9|3125|mandatory|r@
+1.4.9|include/zip.lib.php|1.4.9|3125|mandatory|r@
+1.4.9|include/makers|||mandatory|w@
+1.4.9|include/makers/canon.php|1.4.9|3125|mandatory|r@
+1.4.9|include/makers/fujifilm.php|1.4.9|3125|mandatory|r@
+1.4.9|include/makers/gps.php|1.4.9|3125|mandatory|r@
+1.4.9|include/makers/nikon.php|1.4.9|3125|mandatory|r@
+1.4.9|include/makers/olympus.php|1.4.9|3125|mandatory|r@
+1.4.9|include/makers/sanyo.php|1.4.9|3125|mandatory|r@
+1.4.9|lang|||mandatory|r@
+1.4.9|lang/albanian.php|1.4.9|3125|optional|r@
+1.4.9|lang/basque.php|1.4.9|3125|optional|r@
+1.4.9|lang/brazilian_portuguese.php|1.4.9|3116|optional|r@
+1.4.9|lang/bulgarian.php|1.4.9|1.287|optional|r@
+1.4.9|lang/chinese_big5.php|1.4.9|3125|optional|r@
+1.4.9|lang/chinese_gb.php|1.4.9|3125|optional|r@
+1.4.9|lang/czech.php|1.4.9|3125|optional|r@
+1.4.9|lang/danish.php|1.4.9|1.15|optional|r@
+1.4.9|lang/dutch.php|1.4.9|3212|optional|r@
+1.4.9|lang/english.php|1.4.9|3125|mandatory|r@
+1.4.9|lang/english_gb.php|1.4.9|3125|optional|r@
+1.4.9|lang/finnish.php|1.4.9|1.26|optional|r@
+1.4.9|lang/french.php|1.4.9|3125|optional|r@
+1.4.9|lang/galician.php|1.4.9|3125|optional|r@
+1.4.9|lang/georgian.php|1.4.9|3125|optional|r@
+1.4.9|lang/german.php|1.4.9|3125|optional|r@
+1.4.9|lang/german_sie.php|1.4.9|3125|optional|r@
+1.4.9|lang/hebrew.php|1.4.9|3219|optional|r@
+1.4.9|lang/hungarian.php|1.4.9|3125|optional|r@
+1.4.9|lang/italian.php|1.4.9|3125|optional|r@
+1.4.9|lang/japanese.php|1.4.9|3125|optional|r@
+1.4.9|lang/korean.php|1.4.9|3125|optional|r@
+1.4.9|lang/norwegian.php|1.4.9|3125|optional|r@
+1.4.9|lang/persian.php|1.4.9|3125|optional|r@
+1.4.9|lang/polish.php|1.4.9|3219|optional|r@
+1.4.9|lang/portuguese.php|1.4.9|3125|optional|r@
+1.4.9|lang/russian.php|1.4.9|3125|optional|r@
+1.4.9|lang/slovak.php|1.4.9|3125|optional|r@
+1.4.9|lang/slovenian.php|1.4.9|3219|optional|r@
+1.4.9|lang/spanish.php|1.4.9|3125|optional|r@
+1.4.9|lang/swedish.php|1.4.9|3125|optional|r@
+1.4.9|lang/turkish.php|1.4.9|3125|optional|r@
+1.4.9|lang/ukrainian.php|1.4.9|3125|optional|r@
+1.4.9|logs|||mandatory|w@
+1.4.9|logs/log_header.inc.php|1.4.9|3125|mandatory|r@
+1.4.9|plugins|||optional|r@
+1.4.9|plugins/sample|||optional|r@
+1.4.9|plugins/sample/codebase.php|1.4.9|3125|optional|r@
+1.4.9|plugins/sample/configuration.php|1.4.9|3224|optional|r@
+1.4.9|plugins/sef_urls|||optional|r@
+1.4.9|plugins/sef_urls/codebase.php|1.4.9|3125|optional|r@
+1.4.9|plugins/sef_urls/configuration.php|1.4.9|3125|optional|r@
+1.4.9|plugins/sef_urls/ht.txt|1.4.9|3231|optional|r@
+1.4.9|sql|||mandatory|r@
+1.4.9|sql/basic.sql|1.4.9|3125|mandatory|r@
+1.4.9|sql/schema.sql|1.4.9|3125|mandatory|r@
+1.4.9|sql/update.sql|1.4.9|3125|mandatory|r@
+1.4.9|themes|||mandatory|r@
+1.4.9|themes/classic|||optional|r@
+1.4.9|themes/classic/style.css|1.4.9|3197|optional|r@
+1.4.9|themes/classic/template.html||3125|optional|r@
+1.4.9|themes/classic/theme.php|1.4.9|3125|optional|r@
+1.4.9|themes/classic/images|||optional|r@
+1.4.9|themes/eyeball|||optional|r@
+1.4.9|themes/eyeball/style.css|1.4.9|3197|optional|r@
+1.4.9|themes/eyeball/template.html||3125|optional|r@
+1.4.9|themes/eyeball/theme.php|1.4.9|3125|optional|r@
+1.4.9|themes/eyeball/images|||optional|r@
+1.4.9|themes/fruity|||optional|r@
+1.4.9|themes/fruity/style.css|1.4.9|3197|optional|r@
+1.4.9|themes/fruity/template.html||3125|optional|r@
+1.4.9|themes/fruity/theme.php|1.4.9|3125|optional|r@
+1.4.9|themes/fruity/images|||optional|r@
+1.4.9|themes/hardwired|||optional|r@
+1.4.9|themes/hardwired/style.css|1.4.9|3125|optional|r@
+1.4.9|themes/hardwired/template.html||3125|optional|r@
+1.4.9|themes/hardwired/theme.php|1.4.9|3125|optional|r@
+1.4.9|themes/hardwired/images|||optional|r@
+1.4.9|themes/igames|||optional|r@
+1.4.9|themes/igames/style.css|1.4.9|3197|optional|r@
+1.4.9|themes/igames/template.html||3125|optional|r@
+1.4.9|themes/igames/theme.php|1.4.9|3125|optional|r@
+1.4.9|themes/igames/images|||optional|r@
+1.4.9|themes/mac_ox_x|||optional|r@
+1.4.9|themes/mac_ox_x/style.css|1.4.9|3197|optional|r@
+1.4.9|themes/mac_ox_x/template.html||3125|optional|r@
+1.4.9|themes/mac_ox_x/theme.php|1.4.9|3125|optional|r@
+1.4.9|themes/mac_ox_x/images|||optional|r@
+1.4.9|themes/project_vii|||optional|r@
+1.4.9|themes/project_vii/style.css|1.4.9|3197|optional|r@
+1.4.9|themes/project_vii/template.html||3125|optional|r@
+1.4.9|themes/project_vii/theme.php|1.4.9|3125|optional|r@
+1.4.9|themes/project_vii/images|||optional|r@
+1.4.9|themes/rainy_day|||optional|r@
+1.4.9|themes/rainy_day/style.css|1.4.9|3197|optional|r@
+1.4.9|themes/rainy_day/template.html||3125|optional|r@
+1.4.9|themes/rainy_day/theme.php|1.4.9|3125|optional|r@
+1.4.9|themes/rainy_day/images|||optional|r@
+1.4.9|themes/sample|||optional|r@
+1.4.9|themes/sample/style.css|1.4.9|3197|optional|r@
+1.4.9|themes/sample/template.html||3125|optional|r@
+1.4.9|themes/sample/theme.php|1.4.9|3223|optional|r@
+1.4.9|themes/sample/images|||optional|r@
+1.4.9|themes/water_drop|||optional|r@
+1.4.9|themes/water_drop/style.css|1.4.9|3197|optional|r@
+1.4.9|themes/water_drop/template.html||3125|optional|r@
+1.4.9|themes/water_drop/theme.php|1.4.9|3125|optional|r@
+1.4.9|themes/water_drop/images|||optional|r@
+1.4.10|addfav.php|1.4.10|3275|mandatory|r@
+1.4.10|addpic.php|1.4.10|3275|mandatory|r@
+1.4.10|admin.php|1.4.10|3275|mandatory|r@
+1.4.10|albmgr.php|1.4.10|3274|mandatory|r@
+1.4.10|anycontent.php|1.4.10|3275|mandatory|r@
+1.4.10|banning.php|1.4.10|3275|mandatory|r@
+1.4.10|bridgemgr.php|1.4.10|3275|mandatory|r@
+1.4.10|calendar.php|1.4.10|3275|mandatory|r@
+1.4.10|catmgr.php|1.4.10|3275|mandatory|r@
+1.4.10|charsetmgr.php|1.4.10|3275|mandatory|r@
+1.4.10|config.php|1.4.10|3275|optional|r@
+1.4.10|db_ecard.php|1.4.10|3275|mandatory|r@
+1.4.10|db_input.php|1.4.10|3275|mandatory|r@
+1.4.10|delete.php|1.4.10|3309|mandatory|r@
+1.4.10|displayecard.php|1.4.10|3275|mandatory|r@
+1.4.10|displayimage.php|1.4.10|3275|mandatory|r@
+1.4.10|displayreport.php|1.4.10|3275|mandatory|r@
+1.4.10|ecard.php|1.4.10|3275|mandatory|r@
+1.4.10|editOnePic.php|1.4.10|3275|mandatory|r@
+1.4.10|editpics.php|1.4.10|3275|mandatory|r@
+1.4.10|exifmgr.php|1.4.10|3275|mandatory|r@
+1.4.10|faq.php|1.4.10|3275|mandatory|r@
+1.4.10|forgot_passwd.php|1.4.10|3275|mandatory|r@
+1.4.10|getlang.php|1.4.10|3275|mandatory|r@
+1.4.10|groupmgr.php|1.4.10|3275|mandatory|r@
+1.4.10|image_processor.php|1.4.10|3275|mandatory|r@
+1.4.10|index.php|1.4.10|3275|mandatory|r@
+1.4.10|install.php|1.4.10|3275|mandatory|r@
+1.4.10|installer.css|1.4.10|3275|mandatory|r@
+1.4.10|keyword_create_dict.php|1.4.10|3275|mandatory|r@
+1.4.10|keyword_select.php|1.4.10|3275|mandatory|r@
+1.4.10|keywordmgr.php|1.4.10|3275|mandatory|r@
+1.4.10|login.php|1.4.10|3275|mandatory|r@
+1.4.10|logout.php|1.4.10|3275|mandatory|r@
+1.4.10|minibrowser.php|1.4.10|3275|mandatory|r@
+1.4.10|mode.php|1.4.10|3275|mandatory|r@
+1.4.10|modifyalb.php|1.4.10|3275|mandatory|r@
+1.4.10|phpinfo.php|1.4.10|3275|mandatory|r@
+1.4.10|picEditor.php|1.4.10|3275|mandatory|r@
+1.4.10|picmgr.php|1.4.10|3323|mandatory|r@
+1.4.10|pluginmgr.php|1.4.10|3275|mandatory|r@
+1.4.10|profile.php|1.4.10|3321|mandatory|r@
+1.4.10|ratepic.php|1.4.10|3275|mandatory|r@
+1.4.10|register.php|1.4.10|3275|mandatory|r@
+1.4.10|relocate_server.php|1.4.10|3275|optional|r@
+1.4.10|report_file.php|1.4.10|3275|mandatory|r@
+1.4.10|reviewcom.php|1.4.10|3275|mandatory|r@
+1.4.10|scripts.js|1.4.10|3275|mandatory|r@
+1.4.10|search.php|1.4.10|3275|mandatory|r@
+1.4.10|searchnew.php|1.4.10|3275|mandatory|r@
+1.4.10|showthumb.php|1.4.10|3275|mandatory|r@
+1.4.10|stat_details.php|1.4.10|3275|mandatory|r@
+1.4.10|thumbnails.php|1.4.10|3275|mandatory|r@
+1.4.10|update.php|1.4.10|3275|mandatory|r@
+1.4.10|upgrade-1.0-to-1.2.php|1.4.10|3275|mandatory|r@
+1.4.10|upload.php|1.4.10|3275|mandatory|r@
+1.4.10|usermgr.php|1.4.10|3275|mandatory|r@
+1.4.10|util.php|1.4.10|3275|mandatory|r@
+1.4.10|versioncheck.php|1.4.10|3328|mandatory|r@
+1.4.10|viewlog.php|1.4.10|3275|mandatory|r@
+1.4.10|xp_publish.php|1.4.10|3275|mandatory|r@
+1.4.10|zipdownload.php|1.4.10|3275|mandatory|r@
+1.4.10|**fullpath**|||mandatory|w@
+1.4.10|**fullpath**/index.php|||optional|w@
+1.4.10|**fullpath**/edit/index.html|||optional|w@
+1.4.10|**fullpath**/edit/no_FTP-uploads_into_this_folder!|||optional|w@
+1.4.10|**fullpath**/edit|||mandatory|w@
+1.4.10|**fullpath**/edit/index.html|||optional|w@
+1.4.10|**fullpath**/**userpics**|||mandatory|w@
+1.4.10|**fullpath**/**userpics**/index.php|||optional|w@
+1.4.10|**fullpath**/**userpics**/no_FTP-uploads_into_this_folder!|||optional|w@
+1.4.10|bridge|||mandatory|r@
+1.4.10|bridge/coppermine.inc.php|1.4.10|3275|mandatory|r@
+1.4.10|bridge/invisionboard20.inc.php|1.4.10|3275|optional|r@
+1.4.10|bridge/mambo.inc.php|1.4.10|3275|optional|r@
+1.4.10|bridge/mybb.inc.php|1.4.10|3275|optional|r@
+1.4.10|bridge/phorum.inc.php|1.4.10|3275|optional|r@
+1.4.10|bridge/phpbb.inc.php|1.4.10|3275|optional|r@
+1.4.10|bridge/phpbb2018.inc.php|1.4.10|3275|optional|r@
+1.4.10|bridge/phpbb22.inc.php|1.4.10|3275|optional|r@
+1.4.10|bridge/punbb115.inc.php|1.4.10|3275|optional|r@
+1.4.10|bridge/punbb12.inc.php|1.4.10|3275|optional|r@
+1.4.10|bridge/smf10.inc.php|1.4.10|3275|optional|r@
+1.4.10|bridge/udb_base.inc.php|1.4.10|3275|mandatory|r@
+1.4.10|bridge/vbulletin30.inc.php|1.4.10|3275|optional|r@
+1.4.10|bridge/xmb.inc.php|1.4.10|3275|optional|r@
+1.4.10|bridge/xoops.inc.php|1.4.10|3275|optional|r@
+1.4.10|docs|||mandatory|r@
+1.4.10|docs/faq.htm|||optional|r@
+1.4.10|docs/faq_fr.htm|||optional|r@
+1.4.10|docs/index.htm||3275|mandatory|r@
+1.4.10|docs/index_fr.htm||3275|mandatory|r@
+1.4.10|docs/README.html||3275|optional|r@
+1.4.10|docs/showdoc.php|1.4.10|3275|mandatory|r@
+1.4.10|docs/style.css|1.4.10|3275|mandatory|r@
+1.4.10|docs/theme.htm|||optional|r@
+1.4.10|docs/translation.htm|||optional|r@
+1.4.10|docs/pics|||mandatory|r@
+1.4.10|docs/theme|||optional|r@
+1.4.10|docs/theme/edit_style.html|||optional|r@
+1.4.10|docs/theme/edit_template.html|||optional|r@
+1.4.10|docs/theme/edit_theme.html|1.4.10||optional|r@
+1.4.10|docs/theme/index.html|||optional|r@
+1.4.10|docs/theme/style.css|1.4.10|3275|optional|r@
+1.4.10|docs/theme/validation.html|||optional|r@
+1.4.10|include|||mandatory|w@
+1.4.10|include/archive.php|1.4.10|3275|mandatory|r@
+1.4.10|include/config.inc.php|||mandatory|r@
+1.4.10|include/config.inc.php.sample|||optional|r@
+1.4.10|include/crop.inc.php|1.4.10|3275|mandatory|r@
+1.4.10|include/debugger.inc.php|1.4.10|3275|mandatory|r@
+1.4.10|include/exif.php|1.4.10|3275|mandatory|r@
+1.4.10|include/exif_php.inc.php|1.4.10|3303|mandatory|r@
+1.4.10|include/functions.inc.php|1.4.10|3275|mandatory|r@
+1.4.10|include/imageObjectGD.class.php|1.4.10|3275|mandatory|r@
+1.4.10|include/imageObjectIM.class.php|1.4.10|3275|mandatory|r@
+1.4.10|include/index.html|1.4.10|3275|mandatory|r@
+1.4.10|include/init.inc.php|1.4.10|3275|mandatory|r@
+1.4.10|include/iptc.inc.php|1.4.10|3275|mandatory|r@
+1.4.10|include/keyword.inc.php|1.4.10|3275|mandatory|r@
+1.4.10|include/langfallback.inc.php|1.4.10|3275|mandatory|r@
+1.4.10|include/logger.inc.php|1.4.10|3275|mandatory|r@
+1.4.10|include/mailer.inc.php|1.4.10|3318|mandatory|r@
+1.4.10|include/mb.inc.php|1.4.10|3275|mandatory|r@
+1.4.10|include/media.functions.inc.php|1.4.10|3275|mandatory|r@
+1.4.10|include/phpmailer.lang-en.php|1.4.10|3275|mandatory|r@
+1.4.10|include/picmgmt.inc.php|1.4.10|3275|mandatory|r@
+1.4.10|include/plugin_api.inc.php|1.4.10|3275|mandatory|r@
+1.4.10|include/search.inc.php|1.4.10|3319|mandatory|r@
+1.4.10|include/select_lang.inc.php|1.4.10|3275|mandatory|r@
+1.4.10|include/slideshow.inc.php|1.4.10|3275|mandatory|r@
+1.4.10|include/smilies.inc.php|1.4.10|3275|mandatory|r@
+1.4.10|include/smtp.inc.php|1.4.10|3275|mandatory|r@
+1.4.10|include/sql_parse.php|1.4.10|3275|mandatory|r@
+1.4.10|include/themes.inc.php|1.4.10|3325|mandatory|r@
+1.4.10|include/update.inc.php|1.4.10|3275|mandatory|r@
+1.4.10|include/zip.lib.php|1.4.10|3275|mandatory|r@
+1.4.10|include/makers|||mandatory|w@
+1.4.10|include/makers/canon.php|1.4.10|3275|mandatory|r@
+1.4.10|include/makers/fujifilm.php|1.4.10|3275|mandatory|r@
+1.4.10|include/makers/gps.php|1.4.10|3275|mandatory|r@
+1.4.10|include/makers/nikon.php|1.4.10|3275|mandatory|r@
+1.4.10|include/makers/olympus.php|1.4.10|3275|mandatory|r@
+1.4.10|include/makers/sanyo.php|1.4.10|3275|mandatory|r@
+1.4.10|lang|||mandatory|r@
+1.4.10|lang/albanian.php|1.4.10|3125|optional|r@
+1.4.10|lang/basque.php|1.4.10|3275|optional|r@
+1.4.10|lang/brazilian_portuguese.php|1.4.10|3116|optional|r@
+1.4.10|lang/bulgarian.php|1.4.10|1.287|optional|r@
+1.4.10|lang/chinese_big5.php|1.4.10|3275|optional|r@
+1.4.10|lang/chinese_gb.php|1.4.10|3275|optional|r@
+1.4.10|lang/czech.php|1.4.10|3275|optional|r@
+1.4.10|lang/danish.php|1.4.10|1.15|optional|r@
+1.4.10|lang/dutch.php|1.4.10|3275|optional|r@
+1.4.10|lang/english.php|1.4.10|3275|mandatory|r@
+1.4.10|lang/english_gb.php|1.4.10|3275|optional|r@
+1.4.10|lang/finnish.php|1.4.10|1.26|optional|r@
+1.4.10|lang/french.php|1.4.10|3275|optional|r@
+1.4.10|lang/galician.php|1.4.10|3275|optional|r@
+1.4.10|lang/georgian.php|1.4.10|3275|optional|r@
+1.4.10|lang/german.php|1.4.10|3275|optional|r@
+1.4.10|lang/german_sie.php|1.4.10|3275|optional|r@
+1.4.10|lang/hebrew.php|1.4.10|3275|optional|r@
+1.4.10|lang/hungarian.php|1.4.10|3275|optional|r@
+1.4.10|lang/italian.php|1.4.10|3275|optional|r@
+1.4.10|lang/japanese.php|1.4.10|3275|optional|r@
+1.4.10|lang/korean.php|1.4.10|3275|optional|r@
+1.4.10|lang/norwegian.php|1.4.10|3275|optional|r@
+1.4.10|lang/persian.php|1.4.10|3275|optional|r@
+1.4.10|lang/polish.php|1.4.10|3275|optional|r@
+1.4.10|lang/portuguese.php|1.4.10|3275|optional|r@
+1.4.10|lang/russian.php|1.4.10|3275|optional|r@
+1.4.10|lang/slovak.php|1.4.10|3275|optional|r@
+1.4.10|lang/slovenian.php|1.4.10|3275|optional|r@
+1.4.10|lang/spanish.php|1.4.10|3275|optional|r@
+1.4.10|lang/swedish.php|1.4.10|3275|optional|r@
+1.4.10|lang/turkish.php|1.4.10|3275|optional|r@
+1.4.10|lang/ukrainian.php|1.4.10|3275|optional|r@
+1.4.10|logs|||mandatory|w@
+1.4.10|logs/log_header.inc.php|1.4.10|3275|mandatory|r@
+1.4.10|plugins|||optional|r@
+1.4.10|plugins/sample|||optional|r@
+1.4.10|plugins/sample/codebase.php|1.4.10|3275|optional|r@
+1.4.10|plugins/sample/configuration.php|1.4.10|3275|optional|r@
+1.4.10|plugins/sef_urls|||optional|r@
+1.4.10|plugins/sef_urls/codebase.php|1.4.10|3275|optional|r@
+1.4.10|plugins/sef_urls/configuration.php|1.4.10|3275|optional|r@
+1.4.10|plugins/sef_urls/ht.txt|1.4.10|3275|optional|r@
+1.4.10|sql|||mandatory|r@
+1.4.10|sql/basic.sql|1.4.10|3275|mandatory|r@
+1.4.10|sql/schema.sql|1.4.10|3307|mandatory|r@
+1.4.10|sql/update.sql|1.4.10|3320|mandatory|r@
+1.4.10|themes|||mandatory|r@
+1.4.10|themes/classic|||optional|r@
+1.4.10|themes/classic/style.css|1.4.10|3275|optional|r@
+1.4.10|themes/classic/template.html||3275|optional|r@
+1.4.10|themes/classic/theme.php|1.4.10|3275|optional|r@
+1.4.10|themes/classic/images|||optional|r@
+1.4.10|themes/eyeball|||optional|r@
+1.4.10|themes/eyeball/style.css|1.4.10|3275|optional|r@
+1.4.10|themes/eyeball/template.html||3275|optional|r@
+1.4.10|themes/eyeball/theme.php|1.4.10|3275|optional|r@
+1.4.10|themes/eyeball/images|||optional|r@
+1.4.10|themes/fruity|||optional|r@
+1.4.10|themes/fruity/style.css|1.4.10|3275|optional|r@
+1.4.10|themes/fruity/template.html||3275|optional|r@
+1.4.10|themes/fruity/theme.php|1.4.10|3275|optional|r@
+1.4.10|themes/fruity/images|||optional|r@
+1.4.10|themes/hardwired|||optional|r@
+1.4.10|themes/hardwired/style.css|1.4.10|3275|optional|r@
+1.4.10|themes/hardwired/template.html||3275|optional|r@
+1.4.10|themes/hardwired/theme.php|1.4.10|3275|optional|r@
+1.4.10|themes/hardwired/images|||optional|r@
+1.4.10|themes/igames|||optional|r@
+1.4.10|themes/igames/style.css|1.4.10|3275|optional|r@
+1.4.10|themes/igames/template.html||3275|optional|r@
+1.4.10|themes/igames/theme.php|1.4.10|3275|optional|r@
+1.4.10|themes/igames/images|||optional|r@
+1.4.10|themes/mac_ox_x|||optional|r@
+1.4.10|themes/mac_ox_x/style.css|1.4.10|3275|optional|r@
+1.4.10|themes/mac_ox_x/template.html||3275|optional|r@
+1.4.10|themes/mac_ox_x/theme.php|1.4.10|3275|optional|r@
+1.4.10|themes/mac_ox_x/images|||optional|r@
+1.4.10|themes/project_vii|||optional|r@
+1.4.10|themes/project_vii/style.css|1.4.10|3275|optional|r@
+1.4.10|themes/project_vii/template.html||3275|optional|r@
+1.4.10|themes/project_vii/theme.php|1.4.10|3275|optional|r@
+1.4.10|themes/project_vii/images|||optional|r@
+1.4.10|themes/rainy_day|||optional|r@
+1.4.10|themes/rainy_day/style.css|1.4.10|3275|optional|r@
+1.4.10|themes/rainy_day/template.html||3275|optional|r@
+1.4.10|themes/rainy_day/theme.php|1.4.10|3275|optional|r@
+1.4.10|themes/rainy_day/images|||optional|r@
+1.4.10|themes/sample|||optional|r@
+1.4.10|themes/sample/style.css|1.4.10|3275|optional|r@
+1.4.10|themes/sample/template.html||3275|optional|r@
+1.4.10|themes/sample/theme.php|1.4.10|3275|optional|r@
+1.4.10|themes/sample/images|||optional|r@
+1.4.10|themes/water_drop|||optional|r@
+1.4.10|themes/water_drop/style.css|1.4.10|3275|optional|r@
+1.4.10|themes/water_drop/template.html||3275|optional|r@
+1.4.10|themes/water_drop/theme.php|1.4.10|3275|optional|r@
+1.4.10|themes/water_drop/images|||optional|r@
+1.4.11|addfav.php|1.4.11|3406|mandatory|r@
+1.4.11|addpic.php|1.4.11|3406|mandatory|r@
+1.4.11|admin.php|1.4.11|3406|mandatory|r@
+1.4.11|albmgr.php|1.4.11|3415|mandatory|r@
+1.4.11|anycontent.php|1.4.11|3406|mandatory|r@
+1.4.11|banning.php|1.4.11|3406|mandatory|r@
+1.4.11|bridgemgr.php|1.4.11|3406|mandatory|r@
+1.4.11|calendar.php|1.4.11|3406|mandatory|r@
+1.4.11|catmgr.php|1.4.11|3406|mandatory|r@
+1.4.11|charsetmgr.php|1.4.11|3406|mandatory|r@
+1.4.11|config.php|1.4.11|3406|optional|r@
+1.4.11|db_ecard.php|1.4.11|3406|mandatory|r@
+1.4.11|db_input.php|1.4.11|3406|mandatory|r@
+1.4.11|delete.php|1.4.11|3406|mandatory|r@
+1.4.11|displayecard.php|1.4.11|3406|mandatory|r@
+1.4.11|displayimage.php|1.4.11|3406|mandatory|r@
+1.4.11|displayreport.php|1.4.11|3406|mandatory|r@
+1.4.11|ecard.php|1.4.11|3406|mandatory|r@
+1.4.11|editOnePic.php|1.4.11|3406|mandatory|r@
+1.4.11|editpics.php|1.4.11|3406|mandatory|r@
+1.4.11|exifmgr.php|1.4.11|3406|mandatory|r@
+1.4.11|faq.php|1.4.11|3406|mandatory|r@
+1.4.11|forgot_passwd.php|1.4.11|3406|mandatory|r@
+1.4.11|getlang.php|1.4.11|3406|mandatory|r@
+1.4.11|groupmgr.php|1.4.11|3406|mandatory|r@
+1.4.11|image_processor.php|1.4.11|3406|mandatory|r@
+1.4.11|index.php|1.4.11|3406|mandatory|r@
+1.4.11|install.php|1.4.11|3406|mandatory|r@
+1.4.11|installer.css|1.4.11|3406|mandatory|r@
+1.4.11|keyword_create_dict.php|1.4.11|3406|mandatory|r@
+1.4.11|keyword_select.php|1.4.11|3406|mandatory|r@
+1.4.11|keywordmgr.php|1.4.11|3406|mandatory|r@
+1.4.11|login.php|1.4.11|3406|mandatory|r@
+1.4.11|logout.php|1.4.11|3406|mandatory|r@
+1.4.11|minibrowser.php|1.4.11|3406|mandatory|r@
+1.4.11|mode.php|1.4.11|3406|mandatory|r@
+1.4.11|modifyalb.php|1.4.11|3406|mandatory|r@
+1.4.11|phpinfo.php|1.4.11|3406|mandatory|r@
+1.4.11|picEditor.php|1.4.11|3410|mandatory|r@
+1.4.11|picmgr.php|1.4.11|3406|mandatory|r@
+1.4.11|pluginmgr.php|1.4.11|3406|mandatory|r@
+1.4.11|profile.php|1.4.11|3406|mandatory|r@
+1.4.11|ratepic.php|1.4.11|3406|mandatory|r@
+1.4.11|register.php|1.4.11|3406|mandatory|r@
+1.4.11|relocate_server.php|1.4.11|3406|optional|r@
+1.4.11|report_file.php|1.4.11|3406|mandatory|r@
+1.4.11|reviewcom.php|1.4.11|3406|mandatory|r@
+1.4.11|scripts.js|1.4.11|3406|mandatory|r@
+1.4.11|search.php|1.4.11|3406|mandatory|r@
+1.4.11|searchnew.php|1.4.11|3406|mandatory|r@
+1.4.11|showthumb.php|1.4.11|3406|mandatory|r@
+1.4.11|stat_details.php|1.4.11|3406|mandatory|r@
+1.4.11|thumbnails.php|1.4.11|3628|mandatory|r@
+1.4.11|update.php|1.4.11|3406|mandatory|r@
+1.4.11|upgrade-1.0-to-1.2.php|1.4.11|3406|mandatory|r@
+1.4.11|upload.php|1.4.11|3406|mandatory|r@
+1.4.11|usermgr.php|1.4.11|3406|mandatory|r@
+1.4.11|util.php|1.4.11|3406|mandatory|r@
+1.4.11|versioncheck.php|1.4.11|3634|mandatory|r@
+1.4.11|viewlog.php|1.4.11|3406|mandatory|r@
+1.4.11|xp_publish.php|1.4.11|3406|mandatory|r@
+1.4.11|zipdownload.php|1.4.11|3406|mandatory|r@
+1.4.11|**fullpath**|||mandatory|w@
+1.4.11|**fullpath**/index.php|||optional|w@
+1.4.11|**fullpath**/edit/index.html|||optional|w@
+1.4.11|**fullpath**/edit/no_FTP-uploads_into_this_folder!|||optional|w@
+1.4.11|**fullpath**/edit|||mandatory|w@
+1.4.11|**fullpath**/edit/index.html|||optional|w@
+1.4.11|**fullpath**/**userpics**|||mandatory|w@
+1.4.11|**fullpath**/**userpics**/index.php|||optional|w@
+1.4.11|**fullpath**/**userpics**/no_FTP-uploads_into_this_folder!|||optional|w@
+1.4.11|bridge|||mandatory|r@
+1.4.11|bridge/coppermine.inc.php|1.4.11|3406|mandatory|r@
+1.4.11|bridge/invisionboard20.inc.php|1.4.11|3406|optional|r@
+1.4.11|bridge/mambo.inc.php|1.4.11|3406|optional|r@
+1.4.11|bridge/mybb.inc.php|1.4.11|3406|optional|r@
+1.4.11|bridge/phorum.inc.php|1.4.11|3406|optional|r@
+1.4.11|bridge/phpbb.inc.php|1.4.11|3406|optional|r@
+1.4.11|bridge/phpbb2018.inc.php|1.4.11|3441|optional|r@
+1.4.11|bridge/phpbb22.inc.php|1.4.11|3406|optional|r@
+1.4.11|bridge/punbb115.inc.php|1.4.11|3406|optional|r@
+1.4.11|bridge/punbb12.inc.php|1.4.11|3406|optional|r@
+1.4.11|bridge/smf10.inc.php|1.4.11|3406|optional|r@
+1.4.11|bridge/udb_base.inc.php|1.4.11|3406|mandatory|r@
+1.4.11|bridge/vbulletin30.inc.php|1.4.11|3406|optional|r@
+1.4.11|bridge/xmb.inc.php|1.4.11|3406|optional|r@
+1.4.11|bridge/xoops.inc.php|1.4.11|3406|optional|r@
+1.4.11|docs|||mandatory|r@
+1.4.11|docs/faq.htm|||optional|r@
+1.4.11|docs/faq_fr.htm|||optional|r@
+1.4.11|docs/index.htm||3406|mandatory|r@
+1.4.11|docs/index_fr.htm||3406|mandatory|r@
+1.4.11|docs/README.html||3406|optional|r@
+1.4.11|docs/showdoc.php|1.4.11|3406|mandatory|r@
+1.4.11|docs/style.css|1.4.11|3406|mandatory|r@
+1.4.11|docs/theme.htm|||optional|r@
+1.4.11|docs/translation.htm|||optional|r@
+1.4.11|docs/pics|||mandatory|r@
+1.4.11|docs/theme|||optional|r@
+1.4.11|docs/theme/edit_style.html|||optional|r@
+1.4.11|docs/theme/edit_template.html|||optional|r@
+1.4.11|docs/theme/edit_theme.html|1.4.11||optional|r@
+1.4.11|docs/theme/index.html|||optional|r@
+1.4.11|docs/theme/style.css|1.4.11|3406|optional|r@
+1.4.11|docs/theme/validation.html|||optional|r@
+1.4.11|include|||mandatory|w@
+1.4.11|include/archive.php|1.4.11|3406|mandatory|r@
+1.4.11|include/config.inc.php|||mandatory|r@
+1.4.11|include/config.inc.php.sample|||optional|r@
+1.4.11|include/crop.inc.php|1.4.11|3406|mandatory|r@
+1.4.11|include/debugger.inc.php|1.4.11|3406|mandatory|r@
+1.4.11|include/exif.php|1.4.11|3406|mandatory|r@
+1.4.11|include/exif_php.inc.php|1.4.11|3406|mandatory|r@
+1.4.11|include/functions.inc.php|1.4.11|3630|mandatory|r@
+1.4.11|include/imageObjectGD.class.php|1.4.11|3406|mandatory|r@
+1.4.11|include/imageObjectIM.class.php|1.4.11|3406|mandatory|r@
+1.4.11|include/index.html|1.4.11|3406|mandatory|r@
+1.4.11|include/init.inc.php|1.4.11|3441|mandatory|r@
+1.4.11|include/iptc.inc.php|1.4.11|3406|mandatory|r@
+1.4.11|include/keyword.inc.php|1.4.11|3406|mandatory|r@
+1.4.11|include/langfallback.inc.php|1.4.11|3406|mandatory|r@
+1.4.11|include/logger.inc.php|1.4.11|3406|mandatory|r@
+1.4.11|include/mailer.inc.php|1.4.11|3406|mandatory|r@
+1.4.11|include/mb.inc.php|1.4.11|3406|mandatory|r@
+1.4.11|include/media.functions.inc.php|1.4.11|3406|mandatory|r@
+1.4.11|include/phpmailer.lang-en.php|1.4.11|3406|mandatory|r@
+1.4.11|include/picmgmt.inc.php|1.4.11|3406|mandatory|r@
+1.4.11|include/plugin_api.inc.php|1.4.11|3421|mandatory|r@
+1.4.11|include/search.inc.php|1.4.11|3406|mandatory|r@
+1.4.11|include/select_lang.inc.php|1.4.11|3406|mandatory|r@
+1.4.11|include/slideshow.inc.php|1.4.11|3406|mandatory|r@
+1.4.11|include/smilies.inc.php|1.4.11|3406|mandatory|r@
+1.4.11|include/smtp.inc.php|1.4.11|3406|mandatory|r@
+1.4.11|include/sql_parse.php|1.4.11|3406|mandatory|r@
+1.4.11|include/themes.inc.php|1.4.11|3406|mandatory|r@
+1.4.11|include/update.inc.php|1.4.11|3406|mandatory|r@
+1.4.11|include/zip.lib.php|1.4.11|3406|mandatory|r@
+1.4.11|include/makers|||mandatory|w@
+1.4.11|include/makers/canon.php|1.4.11|3406|mandatory|r@
+1.4.11|include/makers/fujifilm.php|1.4.11|3406|mandatory|r@
+1.4.11|include/makers/gps.php|1.4.11|3406|mandatory|r@
+1.4.11|include/makers/nikon.php|1.4.11|3406|mandatory|r@
+1.4.11|include/makers/olympus.php|1.4.11|3406|mandatory|r@
+1.4.11|include/makers/sanyo.php|1.4.11|3406|mandatory|r@
+1.4.11|lang|||mandatory|r@
+1.4.11|lang/albanian.php|1.4.11|3125|optional|r@
+1.4.11|lang/basque.php|1.4.11|3406|optional|r@
+1.4.11|lang/brazilian_portuguese.php|1.4.11|3116|optional|r@
+1.4.11|lang/bulgarian.php|1.4.11|1.287|optional|r@
+1.4.11|lang/chinese_big5.php|1.4.11|3406|optional|r@
+1.4.11|lang/chinese_gb.php|1.4.11|3406|optional|r@
+1.4.11|lang/czech.php|1.4.11|3406|optional|r@
+1.4.11|lang/danish.php|1.4.11|1.15|optional|r@
+1.4.11|lang/dutch.php|1.4.11|3406|optional|r@
+1.4.11|lang/english.php|1.4.11|3634|mandatory|r@
+1.4.11|lang/english_gb.php|1.4.11|3634|optional|r@
+1.4.11|lang/finnish.php|1.4.11|1.26|optional|r@
+1.4.11|lang/french.php|1.4.11|3406|optional|r@
+1.4.11|lang/galician.php|1.4.11|3406|optional|r@
+1.4.11|lang/georgian.php|1.4.11|3406|optional|r@
+1.4.11|lang/german.php|1.4.11|3629|optional|r@
+1.4.11|lang/german_sie.php|1.4.11|3629|optional|r@
+1.4.11|lang/hebrew.php|1.4.11|3629|optional|r@
+1.4.11|lang/hungarian.php|1.4.11|3629|optional|r@
+1.4.11|lang/italian.php|1.4.11|3406|optional|r@
+1.4.11|lang/japanese.php|1.4.11|3406|optional|r@
+1.4.11|lang/korean.php|1.4.11|3406|optional|r@
+1.4.11|lang/norwegian.php|1.4.11|3406|optional|r@
+1.4.11|lang/persian.php|1.4.11|3406|optional|r@
+1.4.11|lang/polish.php|1.4.11|3406|optional|r@
+1.4.11|lang/portuguese.php|1.4.11|3406|optional|r@
+1.4.11|lang/russian.php|1.4.11|3406|optional|r@
+1.4.11|lang/slovak.php|1.4.11|3406|optional|r@
+1.4.11|lang/slovenian.php|1.4.11|3629|optional|r@
+1.4.11|lang/spanish.php|1.4.11|3406|optional|r@
+1.4.11|lang/swedish.php|1.4.11|3406|optional|r@
+1.4.11|lang/turkish.php|1.4.11|3406|optional|r@
+1.4.11|lang/ukrainian.php|1.4.11|3406|optional|r@
+1.4.11|logs|||mandatory|w@
+1.4.11|logs/log_header.inc.php|1.4.11|3406|mandatory|r@
+1.4.11|plugins|||optional|r@
+1.4.11|plugins/sample|||optional|r@
+1.4.11|plugins/sample/codebase.php|1.4.11|3406|optional|r@
+1.4.11|plugins/sample/configuration.php|1.4.11|3406|optional|r@
+1.4.11|plugins/sef_urls|||optional|r@
+1.4.11|plugins/sef_urls/codebase.php|1.4.11|3406|optional|r@
+1.4.11|plugins/sef_urls/configuration.php|1.4.11|3406|optional|r@
+1.4.11|plugins/sef_urls/ht.txt|1.4.11|3406|optional|r@
+1.4.11|sql|||mandatory|r@
+1.4.11|sql/basic.sql|1.4.11|3495|mandatory|r@
+1.4.11|sql/schema.sql|1.4.11|3406|mandatory|r@
+1.4.11|sql/update.sql|1.4.11|3406|mandatory|r@
+1.4.11|themes|||mandatory|r@
+1.4.11|themes/classic|||optional|r@
+1.4.11|themes/classic/style.css|1.4.11|3406|optional|r@
+1.4.11|themes/classic/template.html||3406|optional|r@
+1.4.11|themes/classic/theme.php|1.4.11|3406|optional|r@
+1.4.11|themes/classic/images|||optional|r@
+1.4.11|themes/eyeball|||optional|r@
+1.4.11|themes/eyeball/style.css|1.4.11|3406|optional|r@
+1.4.11|themes/eyeball/template.html||3406|optional|r@
+1.4.11|themes/eyeball/theme.php|1.4.11|3406|optional|r@
+1.4.11|themes/eyeball/images|||optional|r@
+1.4.11|themes/fruity|||optional|r@
+1.4.11|themes/fruity/style.css|1.4.11|3406|optional|r@
+1.4.11|themes/fruity/template.html||3406|optional|r@
+1.4.11|themes/fruity/theme.php|1.4.11|3406|optional|r@
+1.4.11|themes/fruity/images|||optional|r@
+1.4.11|themes/hardwired|||optional|r@
+1.4.11|themes/hardwired/style.css|1.4.11|3406|optional|r@
+1.4.11|themes/hardwired/template.html||3406|optional|r@
+1.4.11|themes/hardwired/theme.php|1.4.11|3406|optional|r@
+1.4.11|themes/hardwired/images|||optional|r@
+1.4.11|themes/igames|||optional|r@
+1.4.11|themes/igames/style.css|1.4.11|3406|optional|r@
+1.4.11|themes/igames/template.html||3406|optional|r@
+1.4.11|themes/igames/theme.php|1.4.11|3406|optional|r@
+1.4.11|themes/igames/images|||optional|r@
+1.4.11|themes/mac_ox_x|||optional|r@
+1.4.11|themes/mac_ox_x/style.css|1.4.11|3406|optional|r@
+1.4.11|themes/mac_ox_x/template.html||3406|optional|r@
+1.4.11|themes/mac_ox_x/theme.php|1.4.11|3406|optional|r@
+1.4.11|themes/mac_ox_x/images|||optional|r@
+1.4.11|themes/project_vii|||optional|r@
+1.4.11|themes/project_vii/style.css|1.4.11|3406|optional|r@
+1.4.11|themes/project_vii/template.html||3406|optional|r@
+1.4.11|themes/project_vii/theme.php|1.4.11|3406|optional|r@
+1.4.11|themes/project_vii/images|||optional|r@
+1.4.11|themes/rainy_day|||optional|r@
+1.4.11|themes/rainy_day/style.css|1.4.11|3406|optional|r@
+1.4.11|themes/rainy_day/template.html||3406|optional|r@
+1.4.11|themes/rainy_day/theme.php|1.4.11|3406|optional|r@
+1.4.11|themes/rainy_day/images|||optional|r@
+1.4.11|themes/sample|||optional|r@
+1.4.11|themes/sample/style.css|1.4.11|3406|optional|r@
+1.4.11|themes/sample/template.html||3406|optional|r@
+1.4.11|themes/sample/theme.php|1.4.11|3406|optional|r@
+1.4.11|themes/sample/images|||optional|r@
+1.4.11|themes/water_drop|||optional|r@
+1.4.11|themes/water_drop/style.css|1.4.11|3406|optional|r@
+1.4.11|themes/water_drop/template.html||3406|optional|r@
+1.4.11|themes/water_drop/theme.php|1.4.11|3406|optional|r@
+1.4.11|themes/water_drop/images|||optional|r@
+1.4.12|addfav.php|1.4.12|3636|mandatory|r@
+1.4.12|addpic.php|1.4.12|3636|mandatory|r@
+1.4.12|admin.php|1.4.12|3636|mandatory|r@
+1.4.12|albmgr.php|1.4.12|3636|mandatory|r@
+1.4.12|anycontent.php|1.4.12|3636|mandatory|r@
+1.4.12|banning.php|1.4.12|3636|mandatory|r@
+1.4.12|bridgemgr.php|1.4.12|3636|mandatory|r@
+1.4.12|calendar.php|1.4.12|3636|mandatory|r@
+1.4.12|catmgr.php|1.4.12|3636|mandatory|r@
+1.4.12|charsetmgr.php|1.4.12|3636|mandatory|r@
+1.4.12|config.php|1.4.12|3636|optional|r@
+1.4.12|db_ecard.php|1.4.12|3636|mandatory|r@
+1.4.12|db_input.php|1.4.12|3636|mandatory|r@
+1.4.12|delete.php|1.4.12|3636|mandatory|r@
+1.4.12|displayecard.php|1.4.12|3636|mandatory|r@
+1.4.12|displayimage.php|1.4.12|3636|mandatory|r@
+1.4.12|displayreport.php|1.4.12|3636|mandatory|r@
+1.4.12|ecard.php|1.4.12|3636|mandatory|r@
+1.4.12|editOnePic.php|1.4.12|3636|mandatory|r@
+1.4.12|editpics.php|1.4.12|3636|mandatory|r@
+1.4.12|exifmgr.php|1.4.12|3636|mandatory|r@
+1.4.12|faq.php|1.4.12|3636|mandatory|r@
+1.4.12|forgot_passwd.php|1.4.12|3636|mandatory|r@
+1.4.12|getlang.php|1.4.12|3636|mandatory|r@
+1.4.12|groupmgr.php|1.4.12|3636|mandatory|r@
+1.4.12|image_processor.php|1.4.12|3636|mandatory|r@
+1.4.12|index.php|1.4.12|3636|mandatory|r@
+1.4.12|install.php|1.4.12|3636|mandatory|r@
+1.4.12|installer.css|1.4.12|3636|mandatory|r@
+1.4.12|keyword_create_dict.php|1.4.12|3636|mandatory|r@
+1.4.12|keyword_select.php|1.4.12|3636|mandatory|r@
+1.4.12|keywordmgr.php|1.4.12|3636|mandatory|r@
+1.4.12|login.php|1.4.12|3636|mandatory|r@
+1.4.12|logout.php|1.4.12|3636|mandatory|r@
+1.4.12|minibrowser.php|1.4.12|3636|mandatory|r@
+1.4.12|mode.php|1.4.12|3636|mandatory|r@
+1.4.12|modifyalb.php|1.4.12|3636|mandatory|r@
+1.4.12|phpinfo.php|1.4.12|3636|mandatory|r@
+1.4.12|picEditor.php|1.4.12|3636|mandatory|r@
+1.4.12|picmgr.php|1.4.12|3636|mandatory|r@
+1.4.12|pluginmgr.php|1.4.12|3636|mandatory|r@
+1.4.12|profile.php|1.4.12|3636|mandatory|r@
+1.4.12|ratepic.php|1.4.12|3636|mandatory|r@
+1.4.12|register.php|1.4.12|3636|mandatory|r@
+1.4.12|relocate_server.php|1.4.12|3636|optional|r@
+1.4.12|report_file.php|1.4.12|3636|mandatory|r@
+1.4.12|reviewcom.php|1.4.12|3636|mandatory|r@
+1.4.12|scripts.js|1.4.12|3636|mandatory|r@
+1.4.12|search.php|1.4.12|3636|mandatory|r@
+1.4.12|searchnew.php|1.4.12|3636|mandatory|r@
+1.4.12|showthumb.php|1.4.12|3636|mandatory|r@
+1.4.12|stat_details.php|1.4.12|3636|mandatory|r@
+1.4.12|thumbnails.php|1.4.12|3636|mandatory|r@
+1.4.12|update.php|1.4.12|3636|mandatory|r@
+1.4.12|upgrade-1.0-to-1.2.php|1.4.12|3636|mandatory|r@
+1.4.12|upload.php|1.4.12|3636|mandatory|r@
+1.4.12|usermgr.php|1.4.12|3636|mandatory|r@
+1.4.12|util.php|1.4.12|3636|mandatory|r@
+1.4.12|versioncheck.php|1.4.12|3662|mandatory|r@
+1.4.12|viewlog.php|1.4.12|3636|mandatory|r@
+1.4.12|xp_publish.php|1.4.12|3636|mandatory|r@
+1.4.12|zipdownload.php|1.4.12|3636|mandatory|r@
+1.4.12|**fullpath**|||mandatory|w@
+1.4.12|**fullpath**/index.php|||optional|w@
+1.4.12|**fullpath**/edit/index.html|||optional|w@
+1.4.12|**fullpath**/edit/no_FTP-uploads_into_this_folder!|||optional|w@
+1.4.12|**fullpath**/edit|||mandatory|w@
+1.4.12|**fullpath**/edit/index.html|||optional|w@
+1.4.12|**fullpath**/**userpics**|||mandatory|w@
+1.4.12|**fullpath**/**userpics**/index.php|||optional|w@
+1.4.12|**fullpath**/**userpics**/no_FTP-uploads_into_this_folder!|||optional|w@
+1.4.12|bridge|||mandatory|r@
+1.4.12|bridge/coppermine.inc.php|1.4.12|3636|mandatory|r@
+1.4.12|bridge/invisionboard20.inc.php|1.4.12|3636|optional|r@
+1.4.12|bridge/mambo.inc.php|1.4.12|3636|optional|r@
+1.4.12|bridge/mybb.inc.php|1.4.12|3636|optional|r@
+1.4.12|bridge/phorum.inc.php|1.4.12|3636|optional|r@
+1.4.12|bridge/phpbb.inc.php|1.4.12|3636|optional|r@
+1.4.12|bridge/phpbb2018.inc.php|1.4.12|3636|optional|r@
+1.4.12|bridge/phpbb22.inc.php|1.4.12|3636|optional|r@
+1.4.12|bridge/punbb115.inc.php|1.4.12|3636|optional|r@
+1.4.12|bridge/punbb12.inc.php|1.4.12|3636|optional|r@
+1.4.12|bridge/smf10.inc.php|1.4.12|3636|optional|r@
+1.4.12|bridge/udb_base.inc.php|1.4.12|3636|mandatory|r@
+1.4.12|bridge/vbulletin30.inc.php|1.4.12|3636|optional|r@
+1.4.12|bridge/xmb.inc.php|1.4.12|3636|optional|r@
+1.4.12|bridge/xoops.inc.php|1.4.12|3636|optional|r@
+1.4.12|docs|||mandatory|r@
+1.4.12|docs/faq.htm|||optional|r@
+1.4.12|docs/faq_fr.htm|||optional|r@
+1.4.12|docs/index.htm||3636|mandatory|r@
+1.4.12|docs/index_fr.htm||3636|mandatory|r@
+1.4.12|docs/README.html||3636|optional|r@
+1.4.12|docs/showdoc.php|1.4.12|3636|mandatory|r@
+1.4.12|docs/style.css|1.4.12|3658|mandatory|r@
+1.4.12|docs/theme.htm|||optional|r@
+1.4.12|docs/translation.htm|||optional|r@
+1.4.12|docs/pics|||mandatory|r@
+1.4.12|docs/theme|||optional|r@
+1.4.12|docs/theme/edit_style.html|||optional|r@
+1.4.12|docs/theme/edit_template.html|||optional|r@
+1.4.12|docs/theme/edit_theme.html|1.4.12||optional|r@
+1.4.12|docs/theme/index.html|||optional|r@
+1.4.12|docs/theme/style.css|1.4.12|3636|optional|r@
+1.4.12|docs/theme/validation.html|||optional|r@
+1.4.12|include|||mandatory|w@
+1.4.12|include/archive.php|1.4.12|3636|mandatory|r@
+1.4.12|include/config.inc.php|||mandatory|r@
+1.4.12|include/config.inc.php.sample|||optional|r@
+1.4.12|include/crop.inc.php|1.4.12|3636|mandatory|r@
+1.4.12|include/debugger.inc.php|1.4.12|3636|mandatory|r@
+1.4.12|include/exif.php|1.4.12|3636|mandatory|r@
+1.4.12|include/exif_php.inc.php|1.4.12|3636|mandatory|r@
+1.4.12|include/functions.inc.php|1.4.12|3641|mandatory|r@
+1.4.12|include/imageObjectGD.class.php|1.4.12|3636|mandatory|r@
+1.4.12|include/imageObjectIM.class.php|1.4.12|3636|mandatory|r@
+1.4.12|include/index.html|1.4.12|3636|mandatory|r@
+1.4.12|include/init.inc.php|1.4.12|3636|mandatory|r@
+1.4.12|include/iptc.inc.php|1.4.12|3636|mandatory|r@
+1.4.12|include/keyword.inc.php|1.4.12|3636|mandatory|r@
+1.4.12|include/langfallback.inc.php|1.4.12|3636|mandatory|r@
+1.4.12|include/logger.inc.php|1.4.12|3636|mandatory|r@
+1.4.12|include/mailer.inc.php|1.4.12|3636|mandatory|r@
+1.4.12|include/mb.inc.php|1.4.12|3636|mandatory|r@
+1.4.12|include/media.functions.inc.php|1.4.12|3636|mandatory|r@
+1.4.12|include/phpmailer.lang-en.php|1.4.12|3636|mandatory|r@
+1.4.12|include/picmgmt.inc.php|1.4.12|3636|mandatory|r@
+1.4.12|include/plugin_api.inc.php|1.4.12|3636|mandatory|r@
+1.4.12|include/search.inc.php|1.4.12|3636|mandatory|r@
+1.4.12|include/select_lang.inc.php|1.4.12|3636|mandatory|r@
+1.4.12|include/slideshow.inc.php|1.4.12|3636|mandatory|r@
+1.4.12|include/smilies.inc.php|1.4.12|3636|mandatory|r@
+1.4.12|include/smtp.inc.php|1.4.12|3636|mandatory|r@
+1.4.12|include/sql_parse.php|1.4.12|3636|mandatory|r@
+1.4.12|include/themes.inc.php|1.4.12|3657|mandatory|r@
+1.4.12|include/update.inc.php|1.4.12|3636|mandatory|r@
+1.4.12|include/zip.lib.php|1.4.12|3636|mandatory|r@
+1.4.12|include/makers|||mandatory|w@
+1.4.12|include/makers/canon.php|1.4.12|3636|mandatory|r@
+1.4.12|include/makers/fujifilm.php|1.4.12|3636|mandatory|r@
+1.4.12|include/makers/gps.php|1.4.12|3636|mandatory|r@
+1.4.12|include/makers/nikon.php|1.4.12|3636|mandatory|r@
+1.4.12|include/makers/olympus.php|1.4.12|3636|mandatory|r@
+1.4.12|include/makers/sanyo.php|1.4.12|3636|mandatory|r@
+1.4.12|lang|||mandatory|r@
+1.4.12|lang/albanian.php|1.4.12|3125|optional|r@
+1.4.12|lang/arabic.php|1.4.12|3275|optional|r@
+1.4.12|lang/basque.php|1.4.12|3654|optional|r@
+1.4.12|lang/brazilian_portuguese.php|1.4.12|3116|optional|r@
+1.4.12|lang/bulgarian.php|1.4.12|3660|optional|r@
+1.4.12|lang/chinese_big5.php|1.4.12|3636|optional|r@
+1.4.12|lang/chinese_gb.php|1.4.12|3636|optional|r@
+1.4.12|lang/czech.php|1.4.12|3654|optional|r@
+1.4.12|lang/danish.php|1.4.12|3275|optional|r@
+1.4.12|lang/dutch.php|1.4.12|3654|optional|r@
+1.4.12|lang/english.php|1.4.12|3654|mandatory|r@
+1.4.12|lang/english_gb.php|1.4.12|3654|optional|r@
+1.4.12|lang/finnish.php|1.4.12|1.26|optional|r@
+1.4.12|lang/french.php|1.4.12|3654|optional|r@
+1.4.12|lang/galician.php|1.4.12|3654|optional|r@
+1.4.12|lang/georgian.php|1.4.12|3636|optional|r@
+1.4.12|lang/german.php|1.4.12|3654|optional|r@
+1.4.12|lang/german_sie.php|1.4.12|3654|optional|r@
+1.4.12|lang/greek.php|1.4.12|3654|optional|r@
+1.4.12|lang/hebrew.php|1.4.12|3654|optional|r@
+1.4.12|lang/hindi.php|1.4.12|3125|optional|r@
+1.4.12|lang/hungarian.php|1.4.12|3654|optional|r@
+1.4.12|lang/indonesian.php|1.4.12|3125|optional|r@
+1.4.12|lang/italian.php|1.4.12|3654|optional|r@
+1.4.12|lang/japanese.php|1.4.12|3636|optional|r@
+1.4.12|lang/korean.php|1.4.12|3654|optional|r@
+1.4.12|lang/lithuanian.php|1.4.12|3275|optional|r@
+1.4.12|lang/norwegian.php|1.4.12|3654|optional|r@
+1.4.12|lang/persian.php|1.4.12|3654|optional|r@
+1.4.12|lang/polish.php|1.4.12|3654|optional|r@
+1.4.12|lang/portuguese.php|1.4.12|3654|optional|r@
+1.4.12|lang/russian.php|1.4.12|3652|optional|r@
+1.4.12|lang/slovak.php|1.4.12|3654|optional|r@
+1.4.12|lang/slovenian.php|1.4.12|3654|optional|r@
+1.4.12|lang/spanish.php|1.4.12|3654|optional|r@
+1.4.12|lang/swedish.php|1.4.12|3654|optional|r@
+1.4.12|lang/thai.php|1.4.12|3125|optional|r@
+1.4.12|lang/turkish.php|1.4.12|3660|optional|r@
+1.4.12|lang/ukrainian.php|1.4.12|3654|optional|r@
+1.4.12|lang/vietnamese.php|1.4.12|3275|optional|r@
+1.4.12|logs|||mandatory|w@
+1.4.12|logs/log_header.inc.php|1.4.12|3636|mandatory|r@
+1.4.12|plugins|||optional|r@
+1.4.12|plugins/sample|||optional|r@
+1.4.12|plugins/sample/codebase.php|1.4.12|3636|optional|r@
+1.4.12|plugins/sample/configuration.php|1.4.12|3636|optional|r@
+1.4.12|plugins/sef_urls|||optional|r@
+1.4.12|plugins/sef_urls/codebase.php|1.4.12|3636|optional|r@
+1.4.12|plugins/sef_urls/configuration.php|1.4.12|3636|optional|r@
+1.4.12|plugins/sef_urls/ht.txt|1.4.12|3636|optional|r@
+1.4.12|sql|||mandatory|r@
+1.4.12|sql/basic.sql|1.4.12|3636|mandatory|r@
+1.4.12|sql/schema.sql|1.4.12|3636|mandatory|r@
+1.4.12|sql/update.sql|1.4.12|3636|mandatory|r@
+1.4.12|themes|||mandatory|r@
+1.4.12|themes/classic|||optional|r@
+1.4.12|themes/classic/style.css|1.4.12|3636|optional|r@
+1.4.12|themes/classic/template.html||3636|optional|r@
+1.4.12|themes/classic/theme.php|1.4.12|3636|optional|r@
+1.4.12|themes/classic/images|||optional|r@
+1.4.12|themes/eyeball|||optional|r@
+1.4.12|themes/eyeball/style.css|1.4.12|3636|optional|r@
+1.4.12|themes/eyeball/template.html||3636|optional|r@
+1.4.12|themes/eyeball/theme.php|1.4.12|3636|optional|r@
+1.4.12|themes/eyeball/images|||optional|r@
+1.4.12|themes/fruity|||optional|r@
+1.4.12|themes/fruity/style.css|1.4.12|3636|optional|r@
+1.4.12|themes/fruity/template.html||3636|optional|r@
+1.4.12|themes/fruity/theme.php|1.4.12|3636|optional|r@
+1.4.12|themes/fruity/images|||optional|r@
+1.4.12|themes/hardwired|||optional|r@
+1.4.12|themes/hardwired/style.css|1.4.12|3636|optional|r@
+1.4.12|themes/hardwired/template.html||3636|optional|r@
+1.4.12|themes/hardwired/theme.php|1.4.12|3636|optional|r@
+1.4.12|themes/hardwired/images|||optional|r@
+1.4.12|themes/igames|||optional|r@
+1.4.12|themes/igames/style.css|1.4.12|3636|optional|r@
+1.4.12|themes/igames/template.html||3636|optional|r@
+1.4.12|themes/igames/theme.php|1.4.12|3636|optional|r@
+1.4.12|themes/igames/images|||optional|r@
+1.4.12|themes/mac_ox_x|||optional|r@
+1.4.12|themes/mac_ox_x/style.css|1.4.12|3636|optional|r@
+1.4.12|themes/mac_ox_x/template.html||3636|optional|r@
+1.4.12|themes/mac_ox_x/theme.php|1.4.12|3636|optional|r@
+1.4.12|themes/mac_ox_x/images|||optional|r@
+1.4.12|themes/project_vii|||optional|r@
+1.4.12|themes/project_vii/style.css|1.4.12|3636|optional|r@
+1.4.12|themes/project_vii/template.html||3636|optional|r@
+1.4.12|themes/project_vii/theme.php|1.4.12|3636|optional|r@
+1.4.12|themes/project_vii/images|||optional|r@
+1.4.12|themes/rainy_day|||optional|r@
+1.4.12|themes/rainy_day/style.css|1.4.12|3636|optional|r@
+1.4.12|themes/rainy_day/template.html||3636|optional|r@
+1.4.12|themes/rainy_day/theme.php|1.4.12|3636|optional|r@
+1.4.12|themes/rainy_day/images|||optional|r@
+1.4.12|themes/sample|||optional|r@
+1.4.12|themes/sample/style.css|1.4.12|3636|optional|r@
+1.4.12|themes/sample/template.html||3636|optional|r@
+1.4.12|themes/sample/theme.php|1.4.12|3657|optional|r@
+1.4.12|themes/sample/images|||optional|r@
+1.4.12|themes/water_drop|||optional|r@
+1.4.12|themes/water_drop/style.css|1.4.12|3636|optional|r@
+1.4.12|themes/water_drop/template.html||3636|optional|r@
+1.4.12|themes/water_drop/theme.php|1.4.12|3636|optional|r@
+1.4.12|themes/water_drop/images|||optional|r@
+1.4.13|addfav.php|1.4.13|3837|mandatory|r@
+1.4.13|addpic.php|1.4.13|3837|mandatory|r@
+1.4.13|admin.php|1.4.13|3861|mandatory|r@
+1.4.13|albmgr.php|1.4.13|3837|mandatory|r@
+1.4.13|anycontent.php|1.4.13|3837|mandatory|r@
+1.4.13|banning.php|1.4.13|3837|mandatory|r@
+1.4.13|bridgemgr.php|1.4.13|3933|mandatory|r@
+1.4.13|calendar.php|1.4.13|3837|mandatory|r@
+1.4.13|catmgr.php|1.4.13|3837|mandatory|r@
+1.4.13|charsetmgr.php|1.4.13|3837|mandatory|r@
+1.4.13|config.php|1.4.13|3837|optional|r@
+1.4.13|db_ecard.php|1.4.13|3837|mandatory|r@
+1.4.13|db_input.php|1.4.13|3837|mandatory|r@
+1.4.13|delete.php|1.4.13|3837|mandatory|r@
+1.4.13|displayecard.php|1.4.13|3837|mandatory|r@
+1.4.13|displayimage.php|1.4.13|3837|mandatory|r@
+1.4.13|displayreport.php|1.4.13|3837|mandatory|r@
+1.4.13|ecard.php|1.4.13|3837|mandatory|r@
+1.4.13|editOnePic.php|1.4.13|3837|mandatory|r@
+1.4.13|editpics.php|1.4.13|3837|mandatory|r@
+1.4.13|exifmgr.php|1.4.13|3837|mandatory|r@
+1.4.13|faq.php|1.4.13|3837|mandatory|r@
+1.4.13|forgot_passwd.php|1.4.13|3859|mandatory|r@
+1.4.13|getlang.php|1.4.13|3837|mandatory|r@
+1.4.13|groupmgr.php|1.4.13|3837|mandatory|r@
+1.4.13|image_processor.php|1.4.13|3837|mandatory|r@
+1.4.13|index.php|1.4.13|3837|mandatory|r@
+1.4.13|install.php|1.4.13|3915|mandatory|r@
+1.4.13|installer.css|1.4.13|3837|mandatory|r@
+1.4.13|keyword_create_dict.php|1.4.13|3837|mandatory|r@
+1.4.13|keyword_select.php|1.4.13|3837|mandatory|r@
+1.4.13|keywordmgr.php|1.4.13|3837|mandatory|r@
+1.4.13|login.php|1.4.13|3860|mandatory|r@
+1.4.13|logout.php|1.4.13|3837|mandatory|r@
+1.4.13|minibrowser.php|1.4.13|3837|mandatory|r@
+1.4.13|mode.php|1.4.13|3837|mandatory|r@
+1.4.13|modifyalb.php|1.4.13|3837|mandatory|r@
+1.4.13|phpinfo.php|1.4.13|3837|mandatory|r@
+1.4.13|picEditor.php|1.4.13|3837|mandatory|r@
+1.4.13|picmgr.php|1.4.13|3837|mandatory|r@
+1.4.13|pluginmgr.php|1.4.13|3837|mandatory|r@
+1.4.13|profile.php|1.4.13|3837|mandatory|r@
+1.4.13|ratepic.php|1.4.13|3837|mandatory|r@
+1.4.13|register.php|1.4.13|3837|mandatory|r@
+1.4.13|relocate_server.php|1.4.13|3837|optional|r@
+1.4.13|report_file.php|1.4.13|3863|mandatory|r@
+1.4.13|reviewcom.php|1.4.13|3837|mandatory|r@
+1.4.13|scripts.js|1.4.13|3837|mandatory|r@
+1.4.13|search.php|1.4.13|3837|mandatory|r@
+1.4.13|searchnew.php|1.4.13|3837|mandatory|r@
+1.4.13|showthumb.php|1.4.13|3837|mandatory|r@
+1.4.13|stat_details.php|1.4.13|3837|mandatory|r@
+1.4.13|thumbnails.php|1.4.13|3837|mandatory|r@
+1.4.13|update.php|1.4.13|3837|mandatory|r@
+1.4.13|upgrade-1.0-to-1.2.php|1.4.13|3837|mandatory|r@
+1.4.13|upload.php|1.4.13|3837|mandatory|r@
+1.4.13|usermgr.php|1.4.13|3837|mandatory|r@
+1.4.13|util.php|1.4.13|3837|mandatory|r@
+1.4.13|versioncheck.php|1.4.13|3961|mandatory|r@
+1.4.13|viewlog.php|1.4.13|3941|mandatory|r@
+1.4.13|xp_publish.php|1.4.13|3837|mandatory|r@
+1.4.13|zipdownload.php|1.4.13|3837|mandatory|r@
+1.4.13|**fullpath**|||mandatory|w@
+1.4.13|**fullpath**/index.php|||optional|w@
+1.4.13|**fullpath**/edit/index.html|||optional|w@
+1.4.13|**fullpath**/edit/no_FTP-uploads_into_this_folder!|||optional|w@
+1.4.13|**fullpath**/edit|||mandatory|w@
+1.4.13|**fullpath**/edit/index.html|||optional|w@
+1.4.13|**fullpath**/**userpics**|||mandatory|w@
+1.4.13|**fullpath**/**userpics**/index.php|||optional|w@
+1.4.13|**fullpath**/**userpics**/no_FTP-uploads_into_this_folder!|||optional|w@
+1.4.13|bridge|||mandatory|r@
+1.4.13|bridge/coppermine.inc.php|1.4.13|3837|mandatory|r@
+1.4.13|bridge/invisionboard20.inc.php|1.4.13|3837|optional|r@
+1.4.13|bridge/mambo.inc.php|1.4.13|3837|optional|r@
+1.4.13|bridge/mybb.inc.php|1.4.13|3837|optional|r@
+1.4.13|bridge/phorum.inc.php|1.4.13|3837|optional|r@
+1.4.13|bridge/phpbb.inc.php|1.4.13|3837|optional|r@
+1.4.13|bridge/phpbb2018.inc.php|1.4.13|3837|optional|r@
+1.4.13|bridge/phpbb22.inc.php|1.4.13|3837|optional|r@
+1.4.13|bridge/punbb115.inc.php|1.4.13|3837|optional|r@
+1.4.13|bridge/punbb12.inc.php|1.4.13|3837|optional|r@
+1.4.13|bridge/smf10.inc.php|1.4.13|3837|optional|r@
+1.4.13|bridge/udb_base.inc.php|1.4.13|3837|mandatory|r@
+1.4.13|bridge/vbulletin30.inc.php|1.4.13|3837|optional|r@
+1.4.13|bridge/xmb.inc.php|1.4.13|3837|optional|r@
+1.4.13|bridge/xoops.inc.php|1.4.13|3837|optional|r@
+1.4.13|docs|||mandatory|r@
+1.4.13|docs/faq.htm|||optional|r@
+1.4.13|docs/faq_de.htm|||optional|r@
+1.4.13|docs/faq_fr.htm|||optional|r@
+1.4.13|docs/index.htm|1.4.13|3956|mandatory|r@
+1.4.13|docs/index_fr.htm||3837|mandatory|r@
+1.4.13|docs/README.html||3837|optional|r@
+1.4.13|docs/showdoc.php|1.4.13|3837|mandatory|r@
+1.4.13|docs/style.css|1.4.13|3837|mandatory|r@
+1.4.13|docs/theme.htm|||optional|r@
+1.4.13|docs/translation.htm|||optional|r@
+1.4.13|docs/pics|||mandatory|r@
+1.4.13|docs/theme|||optional|r@
+1.4.13|docs/theme/edit_style.html|||optional|r@
+1.4.13|docs/theme/edit_template.html|||optional|r@
+1.4.13|docs/theme/edit_theme.html|1.4.13||optional|r@
+1.4.13|docs/theme/index.html|||optional|r@
+1.4.13|docs/theme/style.css|1.4.13|3837|optional|r@
+1.4.13|docs/theme/validation.html|||optional|r@
+1.4.13|include|||mandatory|w@
+1.4.13|include/archive.php|1.4.13|3837|mandatory|r@
+1.4.13|include/config.inc.php|||mandatory|r@
+1.4.13|include/config.inc.php.sample|||optional|r@
+1.4.13|include/crop.inc.php|1.4.13|3837|mandatory|r@
+1.4.13|include/debugger.inc.php|1.4.13|3837|mandatory|r@
+1.4.13|include/exif.php|1.4.13|3837|mandatory|r@
+1.4.13|include/exif_php.inc.php|1.4.13|3837|mandatory|r@
+1.4.13|include/functions.inc.php|1.4.13|3950|mandatory|r@
+1.4.13|include/imageObjectGD.class.php|1.4.13|3837|mandatory|r@
+1.4.13|include/imageObjectIM.class.php|1.4.13|3837|mandatory|r@
+1.4.13|include/index.html|1.4.13|3837|mandatory|r@
+1.4.13|include/init.inc.php|1.4.13|3950|mandatory|r@
+1.4.13|include/iptc.inc.php|1.4.13|3837|mandatory|r@
+1.4.13|include/keyword.inc.php|1.4.13|3864|mandatory|r@
+1.4.13|include/langfallback.inc.php|1.4.13|3837|mandatory|r@
+1.4.13|include/logger.inc.php|1.4.13|3837|mandatory|r@
+1.4.13|include/mailer.inc.php|1.4.13|3837|mandatory|r@
+1.4.13|include/mb.inc.php|1.4.13|3837|mandatory|r@
+1.4.13|include/media.functions.inc.php|1.4.13|3837|mandatory|r@
+1.4.13|include/phpmailer.lang-en.php|1.4.13|3837|mandatory|r@
+1.4.13|include/picmgmt.inc.php|1.4.13|3862|mandatory|r@
+1.4.13|include/plugin_api.inc.php|1.4.13|3837|mandatory|r@
+1.4.13|include/search.inc.php|1.4.13|3837|mandatory|r@
+1.4.13|include/select_lang.inc.php|1.4.13|3837|mandatory|r@
+1.4.13|include/slideshow.inc.php|1.4.13|3837|mandatory|r@
+1.4.13|include/smilies.inc.php|1.4.13|3837|mandatory|r@
+1.4.13|include/smtp.inc.php|1.4.13|3837|mandatory|r@
+1.4.13|include/sql_parse.php|1.4.13|3837|mandatory|r@
+1.4.13|include/themes.inc.php|1.4.13|3837|mandatory|r@
+1.4.13|include/update.inc.php|1.4.13|3837|mandatory|r@
+1.4.13|include/zip.lib.php|1.4.13|3837|mandatory|r@
+1.4.13|include/makers|||mandatory|w@
+1.4.13|include/makers/canon.php|1.4.13|3837|mandatory|r@
+1.4.13|include/makers/fujifilm.php|1.4.13|3837|mandatory|r@
+1.4.13|include/makers/gps.php|1.4.13|3837|mandatory|r@
+1.4.13|include/makers/nikon.php|1.4.13|3837|mandatory|r@
+1.4.13|include/makers/olympus.php|1.4.13|3837|mandatory|r@
+1.4.13|include/makers/sanyo.php|1.4.13|3837|mandatory|r@
+1.4.13|lang|||mandatory|r@
+1.4.13|lang/albanian.php|1.4.13|3125|optional|r@
+1.4.13|lang/arabic.php|1.4.13|3275|optional|r@
+1.4.13|lang/basque.php|1.4.13|3918|optional|r@
+1.4.13|lang/brazilian_portuguese.php|1.4.13|3116|optional|r@
+1.4.13|lang/bulgarian.php|1.4.13|3660|optional|r@
+1.4.13|lang/catalan.php|1.4.13|3918|optional|r@
+1.4.13|lang/chinese_big5.php|1.4.13|3837|optional|r@
+1.4.13|lang/chinese_gb.php|1.4.13|3837|optional|r@
+1.4.13|lang/czech.php|1.4.13|3918|optional|r@
+1.4.13|lang/danish.php|1.4.13|3275|optional|r@
+1.4.13|lang/dutch.php|1.4.13|3918|optional|r@
+1.4.13|lang/english.php|1.4.13|3918|mandatory|r@
+1.4.13|lang/english_gb.php|1.4.13|3918|optional|r@
+1.4.13|lang/finnish.php|1.4.13|3918|optional|r@
+1.4.13|lang/french.php|1.4.13|3918|optional|r@
+1.4.13|lang/galician.php|1.4.13|3918|optional|r@
+1.4.13|lang/georgian.php|1.4.13|3837|optional|r@
+1.4.13|lang/german.php|1.4.13|3918|optional|r@
+1.4.13|lang/german_sie.php|1.4.13|3918|optional|r@
+1.4.13|lang/greek.php|1.4.13|3918|optional|r@
+1.4.13|lang/hebrew.php|1.4.13|3918|optional|r@
+1.4.13|lang/hindi.php|1.4.13|3125|optional|r@
+1.4.13|lang/hungarian.php|1.4.13|3918|optional|r@
+1.4.13|lang/indonesian.php|1.4.13|3125|optional|r@
+1.4.13|lang/italian.php|1.4.13|3918|optional|r@
+1.4.13|lang/japanese.php|1.4.13|3837|optional|r@
+1.4.13|lang/korean.php|1.4.13|3837|optional|r@
+1.4.13|lang/lithuanian.php|1.4.13|3275|optional|r@
+1.4.13|lang/macedonian.php|1.4.13|3660|optional|r@
+1.4.13|lang/norwegian.php|1.4.13|3918|optional|r@
+1.4.13|lang/persian.php|1.4.13|3918|optional|r@
+1.4.13|lang/polish.php|1.4.13|3918|optional|r@
+1.4.13|lang/portuguese.php|1.4.13|3918|optional|r@
+1.4.13|lang/romanian.php|1.4.13|3654|optional|r@
+1.4.13|lang/russian.php|1.4.13|3950|optional|r@
+1.4.13|lang/slovak.php|1.4.13|3918|optional|r@
+1.4.13|lang/slovenian.php|1.4.13|3918|optional|r@
+1.4.13|lang/spanish.php|1.4.13|3918|optional|r@
+1.4.13|lang/swedish.php|1.4.13|3918|optional|r@
+1.4.13|lang/thai.php|1.4.13|3125|optional|r@
+1.4.13|lang/turkish.php|1.4.13|3918|optional|r@
+1.4.13|lang/ukrainian.php|1.4.13|3918|optional|r@
+1.4.13|lang/vietnamese.php|1.4.13|3275|optional|r@
+1.4.13|logs|||mandatory|w@
+1.4.13|logs/log_header.inc.php|1.4.13|3837|mandatory|r@
+1.4.13|plugins|||optional|r@
+1.4.13|plugins/sample|||optional|r@
+1.4.13|plugins/sample/codebase.php|1.4.13|3912|optional|r@
+1.4.13|plugins/sample/configuration.php|1.4.13|3912|optional|r@
+1.4.13|sql|||mandatory|r@
+1.4.13|sql/basic.sql|1.4.13|3918|mandatory|r@
+1.4.13|sql/schema.sql|1.4.13|3837|mandatory|r@
+1.4.13|sql/update.sql|1.4.13|3918|mandatory|r@
+1.4.13|themes|||mandatory|r@
+1.4.13|themes/classic|||optional|r@
+1.4.13|themes/classic/style.css|1.4.13|3837|optional|r@
+1.4.13|themes/classic/template.html||3837|optional|r@
+1.4.13|themes/classic/theme.php|1.4.13|3837|optional|r@
+1.4.13|themes/classic/images|||optional|r@
+1.4.13|themes/eyeball|||optional|r@
+1.4.13|themes/eyeball/style.css|1.4.13|3837|optional|r@
+1.4.13|themes/eyeball/template.html||3837|optional|r@
+1.4.13|themes/eyeball/theme.php|1.4.13|3837|optional|r@
+1.4.13|themes/eyeball/images|||optional|r@
+1.4.13|themes/fruity|||optional|r@
+1.4.13|themes/fruity/style.css|1.4.13|3837|optional|r@
+1.4.13|themes/fruity/template.html||3837|optional|r@
+1.4.13|themes/fruity/theme.php|1.4.13|3837|optional|r@
+1.4.13|themes/fruity/images|||optional|r@
+1.4.13|themes/hardwired|||optional|r@
+1.4.13|themes/hardwired/style.css|1.4.13|3837|optional|r@
+1.4.13|themes/hardwired/template.html||3837|optional|r@
+1.4.13|themes/hardwired/theme.php|1.4.13|3837|optional|r@
+1.4.13|themes/hardwired/images|||optional|r@
+1.4.13|themes/igames|||optional|r@
+1.4.13|themes/igames/style.css|1.4.13|3837|optional|r@
+1.4.13|themes/igames/template.html||3837|optional|r@
+1.4.13|themes/igames/theme.php|1.4.13|3837|optional|r@
+1.4.13|themes/igames/images|||optional|r@
+1.4.13|themes/mac_ox_x|||optional|r@
+1.4.13|themes/mac_ox_x/style.css|1.4.13|3837|optional|r@
+1.4.13|themes/mac_ox_x/template.html||3837|optional|r@
+1.4.13|themes/mac_ox_x/theme.php|1.4.13|3837|optional|r@
+1.4.13|themes/mac_ox_x/images|||optional|r@
+1.4.13|themes/project_vii|||optional|r@
+1.4.13|themes/project_vii/style.css|1.4.13|3837|optional|r@
+1.4.13|themes/project_vii/template.html||3837|optional|r@
+1.4.13|themes/project_vii/theme.php|1.4.13|3837|optional|r@
+1.4.13|themes/project_vii/images|||optional|r@
+1.4.13|themes/rainy_day|||optional|r@
+1.4.13|themes/rainy_day/style.css|1.4.13|3837|optional|r@
+1.4.13|themes/rainy_day/template.html||3837|optional|r@
+1.4.13|themes/rainy_day/theme.php|1.4.13|3837|optional|r@
+1.4.13|themes/rainy_day/images|||optional|r@
+1.4.13|themes/sample|||optional|r@
+1.4.13|themes/sample/style.css|1.4.13|3837|optional|r@
+1.4.13|themes/sample/template.html||3837|optional|r@
+1.4.13|themes/sample/theme.php|1.4.13|3837|optional|r@
+1.4.13|themes/sample/images|||optional|r@
+1.4.13|themes/water_drop|||optional|r@
+1.4.13|themes/water_drop/style.css|1.4.13|3837|optional|r@
+1.4.13|themes/water_drop/template.html||3837|optional|r@
+1.4.13|themes/water_drop/theme.php|1.4.13|3837|optional|r@
+1.4.13|themes/water_drop/images|||optional|r@
+1.4.14|addfav.php|1.4.14|3966|mandatory|r@
+1.4.14|addpic.php|1.4.14|3966|mandatory|r@
+1.4.14|admin.php|1.4.14|3966|mandatory|r@
+1.4.14|albmgr.php|1.4.14|3966|mandatory|r@
+1.4.14|anycontent.php|1.4.14|3966|mandatory|r@
+1.4.14|banning.php|1.4.14|3966|mandatory|r@
+1.4.14|bridgemgr.php|1.4.14|3966|mandatory|r@
+1.4.14|calendar.php|1.4.14|3966|mandatory|r@
+1.4.14|catmgr.php|1.4.14|3966|mandatory|r@
+1.4.14|charsetmgr.php|1.4.14|3966|mandatory|r@
+1.4.14|config.php|1.4.14|3966|optional|r@
+1.4.14|db_ecard.php|1.4.14|3966|mandatory|r@
+1.4.14|db_input.php|1.4.14|3966|mandatory|r@
+1.4.14|delete.php|1.4.14|3966|mandatory|r@
+1.4.14|displayecard.php|1.4.14|4013|mandatory|r@
+1.4.14|displayimage.php|1.4.14|3966|mandatory|r@
+1.4.14|displayreport.php|1.4.14|3966|mandatory|r@
+1.4.14|ecard.php|1.4.14|3966|mandatory|r@
+1.4.14|editOnePic.php|1.4.14|3966|mandatory|r@
+1.4.14|editpics.php|1.4.14|3966|mandatory|r@
+1.4.14|exifmgr.php|1.4.14|3966|mandatory|r@
+1.4.14|faq.php|1.4.14|3966|mandatory|r@
+1.4.14|forgot_passwd.php|1.4.14|3967|mandatory|r@
+1.4.14|getlang.php|1.4.14|3966|mandatory|r@
+1.4.14|groupmgr.php|1.4.14|3966|mandatory|r@
+1.4.14|image_processor.php|1.4.14|3966|mandatory|r@
+1.4.14|index.php|1.4.14|3966|mandatory|r@
+1.4.14|install.php|1.4.14|3966|mandatory|r@
+1.4.14|installer.css|1.4.14|3966|mandatory|r@
+1.4.14|keyword_create_dict.php|1.4.14|3966|mandatory|r@
+1.4.14|keyword_select.php|1.4.14|3966|mandatory|r@
+1.4.14|keywordmgr.php|1.4.14|3966|mandatory|r@
+1.4.14|login.php|1.4.14|3966|mandatory|r@
+1.4.14|logout.php|1.4.14|3966|mandatory|r@
+1.4.14|minibrowser.php|1.4.14|3966|mandatory|r@
+1.4.14|mode.php|1.4.14|3966|mandatory|r@
+1.4.14|modifyalb.php|1.4.14|3966|mandatory|r@
+1.4.14|phpinfo.php|1.4.14|3966|mandatory|r@
+1.4.14|picEditor.php|1.4.14|3966|mandatory|r@
+1.4.14|picmgr.php|1.4.14|3966|mandatory|r@
+1.4.14|pluginmgr.php|1.4.14|3966|mandatory|r@
+1.4.14|profile.php|1.4.14|3966|mandatory|r@
+1.4.14|ratepic.php|1.4.14|3966|mandatory|r@
+1.4.14|register.php|1.4.14|3966|mandatory|r@
+1.4.14|relocate_server.php|1.4.14|3966|optional|r@
+1.4.14|report_file.php|1.4.14|3966|mandatory|r@
+1.4.14|reviewcom.php|1.4.14|3966|mandatory|r@
+1.4.14|scripts.js|1.4.14|3966|mandatory|r@
+1.4.14|search.php|1.4.14|3966|mandatory|r@
+1.4.14|searchnew.php|1.4.14|3966|mandatory|r@
+1.4.14|showthumb.php|1.4.14|3966|mandatory|r@
+1.4.14|stat_details.php|1.4.14|3966|mandatory|r@
+1.4.14|thumbnails.php|1.4.14|3966|mandatory|r@
+1.4.14|update.php|1.4.14|3966|mandatory|r@
+1.4.14|upgrade-1.0-to-1.2.php|1.4.14|3966|mandatory|r@
+1.4.14|upload.php|1.4.14|3966|mandatory|r@
+1.4.14|usermgr.php|1.4.14|3966|mandatory|r@
+1.4.14|util.php|1.4.14|3966|mandatory|r@
+1.4.14|versioncheck.php|1.4.14|4029|mandatory|r@
+1.4.14|viewlog.php|1.4.14|3966|mandatory|r@
+1.4.14|xp_publish.php|1.4.14|3966|mandatory|r@
+1.4.14|zipdownload.php|1.4.14|3966|mandatory|r@
+1.4.14|**fullpath**|||mandatory|w@
+1.4.14|**fullpath**/index.php|||optional|w@
+1.4.14|**fullpath**/edit/index.html|||optional|w@
+1.4.14|**fullpath**/edit/no_FTP-uploads_into_this_folder!|||optional|w@
+1.4.14|**fullpath**/edit|||mandatory|w@
+1.4.14|**fullpath**/edit/index.html|||optional|w@
+1.4.14|**fullpath**/**userpics**|||mandatory|w@
+1.4.14|**fullpath**/**userpics**/index.php|||optional|w@
+1.4.14|**fullpath**/**userpics**/no_FTP-uploads_into_this_folder!|||optional|w@
+1.4.14|bridge|||mandatory|r@
+1.4.14|bridge/coppermine.inc.php|1.4.14|3966|mandatory|r@
+1.4.14|bridge/invisionboard20.inc.php|1.4.14|3966|optional|r@
+1.4.14|bridge/mambo.inc.php|1.4.14|3966|optional|r@
+1.4.14|bridge/mybb.inc.php|1.4.14|3966|optional|r@
+1.4.14|bridge/phorum.inc.php|1.4.14|3966|optional|r@
+1.4.14|bridge/phpbb.inc.php|1.4.14|3966|optional|r@
+1.4.14|bridge/phpbb2018.inc.php|1.4.14|3966|optional|r@
+1.4.14|bridge/phpbb22.inc.php|1.4.14|3966|optional|r@
+1.4.14|bridge/punbb115.inc.php|1.4.14|3966|optional|r@
+1.4.14|bridge/punbb12.inc.php|1.4.14|3966|optional|r@
+1.4.14|bridge/smf10.inc.php|1.4.14|3966|optional|r@
+1.4.14|bridge/udb_base.inc.php|1.4.14|3966|mandatory|r@
+1.4.14|bridge/vbulletin30.inc.php|1.4.14|3966|optional|r@
+1.4.14|bridge/xmb.inc.php|1.4.14|3966|optional|r@
+1.4.14|bridge/xoops.inc.php|1.4.14|3966|optional|r@
+1.4.14|docs|||mandatory|r@
+1.4.14|docs/faq.htm|||optional|r@
+1.4.14|docs/faq_de.htm|||optional|r@
+1.4.14|docs/faq_fr.htm|||optional|r@
+1.4.14|docs/index.htm|1.4.14|4028|mandatory|r@
+1.4.14|docs/index_fr.htm||3966|mandatory|r@
+1.4.14|docs/README.html||3966|optional|r@
+1.4.14|docs/showdoc.php|1.4.14|3966|mandatory|r@
+1.4.14|docs/style.css|1.4.14|3966|mandatory|r@
+1.4.14|docs/theme.htm|||optional|r@
+1.4.14|docs/translation.htm|||optional|r@
+1.4.14|docs/pics|||mandatory|r@
+1.4.14|docs/theme|||optional|r@
+1.4.14|docs/theme/edit_style.html|||optional|r@
+1.4.14|docs/theme/edit_template.html|||optional|r@
+1.4.14|docs/theme/edit_theme.html|1.4.14||optional|r@
+1.4.14|docs/theme/index.html|||optional|r@
+1.4.14|docs/theme/style.css|1.4.14|3966|optional|r@
+1.4.14|docs/theme/validation.html|||optional|r@
+1.4.14|include|||mandatory|w@
+1.4.14|include/archive.php|1.4.14|3966|mandatory|r@
+1.4.14|include/config.inc.php|||mandatory|r@
+1.4.14|include/config.inc.php.sample|||optional|r@
+1.4.14|include/crop.inc.php|1.4.14|3966|mandatory|r@
+1.4.14|include/debugger.inc.php|1.4.14|3966|mandatory|r@
+1.4.14|include/exif.php|1.4.14|3966|mandatory|r@
+1.4.14|include/exif_php.inc.php|1.4.14|3966|mandatory|r@
+1.4.14|include/functions.inc.php|1.4.14|3966|mandatory|r@
+1.4.14|include/imageObjectGD.class.php|1.4.14|3966|mandatory|r@
+1.4.14|include/imageObjectIM.class.php|1.4.14|3966|mandatory|r@
+1.4.14|include/index.html|1.4.14|3966|mandatory|r@
+1.4.14|include/init.inc.php|1.4.14|4028|mandatory|r@
+1.4.14|include/iptc.inc.php|1.4.14|3966|mandatory|r@
+1.4.14|include/keyword.inc.php|1.4.14|3966|mandatory|r@
+1.4.14|include/langfallback.inc.php|1.4.14|3966|mandatory|r@
+1.4.14|include/logger.inc.php|1.4.14|3966|mandatory|r@
+1.4.14|include/mailer.inc.php|1.4.14|3966|mandatory|r@
+1.4.14|include/mb.inc.php|1.4.14|3966|mandatory|r@
+1.4.14|include/media.functions.inc.php|1.4.14|3966|mandatory|r@
+1.4.14|include/phpmailer.lang-en.php|1.4.14|3966|mandatory|r@
+1.4.14|include/picmgmt.inc.php|1.4.14|3966|mandatory|r@
+1.4.14|include/plugin_api.inc.php|1.4.14|3966|mandatory|r@
+1.4.14|include/search.inc.php|1.4.14|3966|mandatory|r@
+1.4.14|include/select_lang.inc.php|1.4.14|3966|mandatory|r@
+1.4.14|include/slideshow.inc.php|1.4.14|3966|mandatory|r@
+1.4.14|include/smilies.inc.php|1.4.14|3966|mandatory|r@
+1.4.14|include/smtp.inc.php|1.4.14|3966|mandatory|r@
+1.4.14|include/sql_parse.php|1.4.14|3966|mandatory|r@
+1.4.14|include/themes.inc.php|1.4.14|3966|mandatory|r@
+1.4.14|include/update.inc.php|1.4.14|3966|mandatory|r@
+1.4.14|include/zip.lib.php|1.4.14|3966|mandatory|r@
+1.4.14|include/makers|||mandatory|w@
+1.4.14|include/makers/canon.php|1.4.14|3966|mandatory|r@
+1.4.14|include/makers/fujifilm.php|1.4.14|3966|mandatory|r@
+1.4.14|include/makers/gps.php|1.4.14|3966|mandatory|r@
+1.4.14|include/makers/nikon.php|1.4.14|3966|mandatory|r@
+1.4.14|include/makers/olympus.php|1.4.14|3966|mandatory|r@
+1.4.14|include/makers/sanyo.php|1.4.14|3966|mandatory|r@
+1.4.14|lang|||mandatory|r@
+1.4.14|lang/albanian.php|1.4.14|3125|optional|r@
+1.4.14|lang/arabic.php|1.4.14|3275|optional|r@
+1.4.14|lang/basque.php|1.4.14|3966|optional|r@
+1.4.14|lang/brazilian_portuguese.php|1.4.14|3116|optional|r@
+1.4.14|lang/bulgarian.php|1.4.14|3660|optional|r@
+1.4.14|lang/catalan.php|1.4.14|3918|optional|r@
+1.4.14|lang/chinese_big5.php|1.4.14|3966|optional|r@
+1.4.14|lang/chinese_gb.php|1.4.14|3966|optional|r@
+1.4.14|lang/czech.php|1.4.14|3966|optional|r@
+1.4.14|lang/danish.php|1.4.14|3275|optional|r@
+1.4.14|lang/dutch.php|1.4.14|3966|optional|r@
+1.4.14|lang/english.php|1.4.14|3966|mandatory|r@
+1.4.14|lang/english_gb.php|1.4.14|3966|optional|r@
+1.4.14|lang/finnish.php|1.4.14|3918|optional|r@
+1.4.14|lang/french.php|1.4.14|3966|optional|r@
+1.4.14|lang/galician.php|1.4.14|3966|optional|r@
+1.4.14|lang/georgian.php|1.4.14|3966|optional|r@
+1.4.14|lang/german.php|1.4.14|3966|optional|r@
+1.4.14|lang/german_sie.php|1.4.14|3966|optional|r@
+1.4.14|lang/greek.php|1.4.14|3966|optional|r@
+1.4.14|lang/hebrew.php|1.4.14|3966|optional|r@
+1.4.14|lang/hindi.php|1.4.14|3125|optional|r@
+1.4.14|lang/hungarian.php|1.4.14|3966|optional|r@
+1.4.14|lang/indonesian.php|1.4.14|3125|optional|r@
+1.4.14|lang/italian.php|1.4.14|3966|optional|r@
+1.4.14|lang/japanese.php|1.4.14|3966|optional|r@
+1.4.14|lang/korean.php|1.4.14|3966|optional|r@
+1.4.14|lang/lithuanian.php|1.4.14|3275|optional|r@
+1.4.14|lang/macedonian.php|1.4.14|3660|optional|r@
+1.4.14|lang/norwegian.php|1.4.14|3966|optional|r@
+1.4.14|lang/persian.php|1.4.14|3966|optional|r@
+1.4.14|lang/polish.php|1.4.14|3966|optional|r@
+1.4.14|lang/portuguese.php|1.4.14|3966|optional|r@
+1.4.14|lang/romanian.php|1.4.14|3654|optional|r@
+1.4.14|lang/russian.php|1.4.14|3966|optional|r@
+1.4.14|lang/slovak.php|1.4.14|3966|optional|r@
+1.4.14|lang/slovenian.php|1.4.14|3966|optional|r@
+1.4.14|lang/spanish.php|1.4.14|3966|optional|r@
+1.4.14|lang/swedish.php|1.4.14|3966|optional|r@
+1.4.14|lang/thai.php|1.4.14|3125|optional|r@
+1.4.14|lang/turkish.php|1.4.14|3966|optional|r@
+1.4.14|lang/ukrainian.php|1.4.14|3966|optional|r@
+1.4.14|lang/vietnamese.php|1.4.14|3275|optional|r@
+1.4.14|logs|||mandatory|w@
+1.4.14|logs/log_header.inc.php|1.4.14|3966|mandatory|r@
+1.4.14|plugins|||optional|r@
+1.4.14|plugins/sample|||optional|r@
+1.4.14|plugins/sample/codebase.php|1.4.14|3966|optional|r@
+1.4.14|plugins/sample/configuration.php|1.4.14|3966|optional|r@
+1.4.14|sql|||mandatory|r@
+1.4.14|sql/basic.sql|1.4.14|3966|mandatory|r@
+1.4.14|sql/schema.sql|1.4.14|3966|mandatory|r@
+1.4.14|sql/update.sql|1.4.14|3966|mandatory|r@
+1.4.14|themes|||mandatory|r@
+1.4.14|themes/classic|||optional|r@
+1.4.14|themes/classic/style.css|1.4.14|3966|optional|r@
+1.4.14|themes/classic/template.html||3966|optional|r@
+1.4.14|themes/classic/theme.php|1.4.14|3966|optional|r@
+1.4.14|themes/classic/images|||optional|r@
+1.4.14|themes/eyeball|||optional|r@
+1.4.14|themes/eyeball/style.css|1.4.14|3966|optional|r@
+1.4.14|themes/eyeball/template.html||3966|optional|r@
+1.4.14|themes/eyeball/theme.php|1.4.14|3966|optional|r@
+1.4.14|themes/eyeball/images|||optional|r@
+1.4.14|themes/fruity|||optional|r@
+1.4.14|themes/fruity/style.css|1.4.14|3966|optional|r@
+1.4.14|themes/fruity/template.html||3966|optional|r@
+1.4.14|themes/fruity/theme.php|1.4.14|3966|optional|r@
+1.4.14|themes/fruity/images|||optional|r@
+1.4.14|themes/hardwired|||optional|r@
+1.4.14|themes/hardwired/style.css|1.4.14|3966|optional|r@
+1.4.14|themes/hardwired/template.html||3966|optional|r@
+1.4.14|themes/hardwired/theme.php|1.4.14|3966|optional|r@
+1.4.14|themes/hardwired/images|||optional|r@
+1.4.14|themes/igames|||optional|r@
+1.4.14|themes/igames/style.css|1.4.14|3966|optional|r@
+1.4.14|themes/igames/template.html||3966|optional|r@
+1.4.14|themes/igames/theme.php|1.4.14|3966|optional|r@
+1.4.14|themes/igames/images|||optional|r@
+1.4.14|themes/mac_ox_x|||optional|r@
+1.4.14|themes/mac_ox_x/style.css|1.4.14|3966|optional|r@
+1.4.14|themes/mac_ox_x/template.html||3966|optional|r@
+1.4.14|themes/mac_ox_x/theme.php|1.4.14|3966|optional|r@
+1.4.14|themes/mac_ox_x/images|||optional|r@
+1.4.14|themes/project_vii|||optional|r@
+1.4.14|themes/project_vii/style.css|1.4.14|3966|optional|r@
+1.4.14|themes/project_vii/template.html||3966|optional|r@
+1.4.14|themes/project_vii/theme.php|1.4.14|3966|optional|r@
+1.4.14|themes/project_vii/images|||optional|r@
+1.4.14|themes/rainy_day|||optional|r@
+1.4.14|themes/rainy_day/style.css|1.4.14|3966|optional|r@
+1.4.14|themes/rainy_day/template.html||3966|optional|r@
+1.4.14|themes/rainy_day/theme.php|1.4.14|3966|optional|r@
+1.4.14|themes/rainy_day/images|||optional|r@
+1.4.14|themes/sample|||optional|r@
+1.4.14|themes/sample/style.css|1.4.14|3966|optional|r@
+1.4.14|themes/sample/template.html||3966|optional|r@
+1.4.14|themes/sample/theme.php|1.4.14|3966|optional|r@
+1.4.14|themes/sample/images|||optional|r@
+1.4.14|themes/water_drop|||optional|r@
+1.4.14|themes/water_drop/style.css|1.4.14|3966|optional|r@
+1.4.14|themes/water_drop/template.html||3966|optional|r@
+1.4.14|themes/water_drop/theme.php|1.4.14|3966|optional|r@
+1.4.14|themes/water_drop/images|||optional|r@
+1.4.15|addfav.php|1.4.15|4223|mandatory|r@
+1.4.15|addpic.php|1.4.15|4223|mandatory|r@
+1.4.15|admin.php|1.4.15|4223|mandatory|r@
+1.4.15|albmgr.php|1.4.15|4223|mandatory|r@
+1.4.15|anycontent.php|1.4.15|4223|mandatory|r@
+1.4.15|banning.php|1.4.15|4223|mandatory|r@
+1.4.15|bridgemgr.php|1.4.15|4223|mandatory|r@
+1.4.15|calendar.php|1.4.15|4223|mandatory|r@
+1.4.15|catmgr.php|1.4.15|4223|mandatory|r@
+1.4.15|charsetmgr.php|1.4.15|4223|mandatory|r@
+1.4.15|config.php|1.4.15|4223|optional|r@
+1.4.15|db_ecard.php|1.4.15|4223|mandatory|r@
+1.4.15|db_input.php|1.4.15|4223|mandatory|r@
+1.4.15|delete.php|1.4.15|4223|mandatory|r@
+1.4.15|displayecard.php|1.4.15|4223|mandatory|r@
+1.4.15|displayimage.php|1.4.15|4223|mandatory|r@
+1.4.15|displayreport.php|1.4.15|4223|mandatory|r@
+1.4.15|ecard.php|1.4.15|4223|mandatory|r@
+1.4.15|editOnePic.php|1.4.15|4223|mandatory|r@
+1.4.15|editpics.php|1.4.15|4223|mandatory|r@
+1.4.15|exifmgr.php|1.4.15|4223|mandatory|r@
+1.4.15|faq.php|1.4.15|4223|mandatory|r@
+1.4.15|forgot_passwd.php|1.4.15|4223|mandatory|r@
+1.4.15|getlang.php|1.4.15|4223|mandatory|r@
+1.4.15|groupmgr.php|1.4.15|4223|mandatory|r@
+1.4.15|image_processor.php|1.4.15|4223|mandatory|r@
+1.4.15|index.php|1.4.15|4223|mandatory|r@
+1.4.15|install.php|1.4.15|4223|mandatory|r@
+1.4.15|installer.css|1.4.15|4223|mandatory|r@
+1.4.15|keyword_create_dict.php|1.4.15|4223|mandatory|r@
+1.4.15|keyword_select.php|1.4.15|4223|mandatory|r@
+1.4.15|keywordmgr.php|1.4.15|4223|mandatory|r@
+1.4.15|login.php|1.4.15|4223|mandatory|r@
+1.4.15|logout.php|1.4.15|4223|mandatory|r@
+1.4.15|minibrowser.php|1.4.15|4223|mandatory|r@
+1.4.15|mode.php|1.4.15|4223|mandatory|r@
+1.4.15|modifyalb.php|1.4.15|4223|mandatory|r@
+1.4.15|phpinfo.php|1.4.15|4223|mandatory|r@
+1.4.15|picEditor.php|1.4.15|4223|mandatory|r@
+1.4.15|picmgr.php|1.4.15|4223|mandatory|r@
+1.4.15|pluginmgr.php|1.4.15|4223|mandatory|r@
+1.4.15|profile.php|1.4.15|4223|mandatory|r@
+1.4.15|ratepic.php|1.4.15|4223|mandatory|r@
+1.4.15|register.php|1.4.15|4223|mandatory|r@
+1.4.15|relocate_server.php|1.4.15|4223|optional|r@
+1.4.15|report_file.php|1.4.15|4223|mandatory|r@
+1.4.15|reviewcom.php|1.4.15|4223|mandatory|r@
+1.4.15|scripts.js|1.4.15|4223|mandatory|r@
+1.4.15|search.php|1.4.15|4223|mandatory|r@
+1.4.15|searchnew.php|1.4.15|4223|mandatory|r@
+1.4.15|showthumb.php|1.4.15|4223|mandatory|r@
+1.4.15|stat_details.php|1.4.15|4223|mandatory|r@
+1.4.15|thumbnails.php|1.4.15|4223|mandatory|r@
+1.4.15|update.php|1.4.15|4223|mandatory|r@
+1.4.15|upgrade-1.0-to-1.2.php|1.4.15|4223|mandatory|r@
+1.4.15|upload.php|1.4.15|4223|mandatory|r@
+1.4.15|usermgr.php|1.4.15|4223|mandatory|r@
+1.4.15|util.php|1.4.15|4223|mandatory|r@
+1.4.15|versioncheck.php|1.4.15|4229|mandatory|r@
+1.4.15|viewlog.php|1.4.15|4223|mandatory|r@
+1.4.15|xp_publish.php|1.4.15|4223|mandatory|r@
+1.4.15|zipdownload.php|1.4.15|4223|mandatory|r@
+1.4.15|**fullpath**|||mandatory|w@
+1.4.15|**fullpath**/index.php|||optional|w@
+1.4.15|**fullpath**/edit/index.html|||optional|w@
+1.4.15|**fullpath**/edit/no_FTP-uploads_into_this_folder!|||optional|w@
+1.4.15|**fullpath**/edit|||mandatory|w@
+1.4.15|**fullpath**/edit/index.html|||optional|w@
+1.4.15|**fullpath**/**userpics**|||mandatory|w@
+1.4.15|**fullpath**/**userpics**/index.php|||optional|w@
+1.4.15|**fullpath**/**userpics**/no_FTP-uploads_into_this_folder!|||optional|w@
+1.4.15|bridge|||mandatory|r@
+1.4.15|bridge/coppermine.inc.php|1.4.15|4223|mandatory|r@
+1.4.15|bridge/invisionboard20.inc.php|1.4.15|4223|optional|r@
+1.4.15|bridge/mambo.inc.php|1.4.15|4223|optional|r@
+1.4.15|bridge/mybb.inc.php|1.4.15|4223|optional|r@
+1.4.15|bridge/phorum.inc.php|1.4.15|4223|optional|r@
+1.4.15|bridge/phpbb.inc.php|1.4.15|4223|optional|r@
+1.4.15|bridge/phpbb2018.inc.php|1.4.15|4223|optional|r@
+1.4.15|bridge/phpbb22.inc.php|1.4.15|4223|optional|r@
+1.4.15|bridge/punbb115.inc.php|1.4.15|4223|optional|r@
+1.4.15|bridge/punbb12.inc.php|1.4.15|4223|optional|r@
+1.4.15|bridge/smf10.inc.php|1.4.15|4223|optional|r@
+1.4.15|bridge/smf20.inc.php|1.4.15|4223|optional|r@
+1.4.15|bridge/udb_base.inc.php|1.4.15|4223|mandatory|r@
+1.4.15|bridge/vbulletin30.inc.php|1.4.15|4223|optional|r@
+1.4.15|bridge/xmb.inc.php|1.4.15|4223|optional|r@
+1.4.15|bridge/xoops.inc.php|1.4.15|4223|optional|r@
+1.4.15|docs|||mandatory|r@
+1.4.15|docs/faq.htm|||optional|r@
+1.4.15|docs/faq_de.htm|||optional|r@
+1.4.15|docs/faq_fr.htm|||optional|r@
+1.4.15|docs/index.htm|1.4.15|4227|mandatory|r@
+1.4.15|docs/index_fr.htm||4223|mandatory|r@
+1.4.15|docs/README.html||4223|optional|r@
+1.4.15|docs/showdoc.php|1.4.15|4223|mandatory|r@
+1.4.15|docs/style.css|1.4.15|4223|mandatory|r@
+1.4.15|docs/theme.htm|||optional|r@
+1.4.15|docs/translation.htm|||optional|r@
+1.4.15|docs/pics|||mandatory|r@
+1.4.15|docs/theme|||optional|r@
+1.4.15|docs/theme/edit_style.html|||optional|r@
+1.4.15|docs/theme/edit_template.html|||optional|r@
+1.4.15|docs/theme/edit_theme.html|1.4.15||optional|r@
+1.4.15|docs/theme/index.html|||optional|r@
+1.4.15|docs/theme/style.css|1.4.15|4223|optional|r@
+1.4.15|docs/theme/validation.html|||optional|r@
+1.4.15|include|||mandatory|w@
+1.4.15|include/archive.php|1.4.15|4223|mandatory|r@
+1.4.15|include/config.inc.php|||mandatory|r@
+1.4.15|include/config.inc.php.sample|||optional|r@
+1.4.15|include/crop.inc.php|1.4.15|4223|mandatory|r@
+1.4.15|include/debugger.inc.php|1.4.15|4223|mandatory|r@
+1.4.15|include/exif.php|1.4.15|4223|mandatory|r@
+1.4.15|include/exif_php.inc.php|1.4.15|4223|mandatory|r@
+1.4.15|include/functions.inc.php|1.4.15|4223|mandatory|r@
+1.4.15|include/imageObjectGD.class.php|1.4.15|4223|mandatory|r@
+1.4.15|include/imageObjectIM.class.php|1.4.15|4223|mandatory|r@
+1.4.15|include/index.html|1.4.15|4223|mandatory|r@
+1.4.15|include/init.inc.php|1.4.15|4227|mandatory|r@
+1.4.15|include/iptc.inc.php|1.4.15|4223|mandatory|r@
+1.4.15|include/keyword.inc.php|1.4.15|4223|mandatory|r@
+1.4.15|include/langfallback.inc.php|1.4.15|4223|mandatory|r@
+1.4.15|include/logger.inc.php|1.4.15|4223|mandatory|r@
+1.4.15|include/mailer.inc.php|1.4.15|4223|mandatory|r@
+1.4.15|include/mb.inc.php|1.4.15|4223|mandatory|r@
+1.4.15|include/media.functions.inc.php|1.4.15|4223|mandatory|r@
+1.4.15|include/phpmailer.lang-en.php|1.4.15|4223|mandatory|r@
+1.4.15|include/picmgmt.inc.php|1.4.15|4223|mandatory|r@
+1.4.15|include/plugin_api.inc.php|1.4.15|4223|mandatory|r@
+1.4.15|include/search.inc.php|1.4.15|4223|mandatory|r@
+1.4.15|include/select_lang.inc.php|1.4.15|4223|mandatory|r@
+1.4.15|include/slideshow.inc.php|1.4.15|4223|mandatory|r@
+1.4.15|include/smilies.inc.php|1.4.15|4223|mandatory|r@
+1.4.15|include/smtp.inc.php|1.4.15|4223|mandatory|r@
+1.4.15|include/sql_parse.php|1.4.15|4223|mandatory|r@
+1.4.15|include/themes.inc.php|1.4.15|4223|mandatory|r@
+1.4.15|include/update.inc.php|1.4.15|4223|mandatory|r@
+1.4.15|include/zip.lib.php|1.4.15|4223|mandatory|r@
+1.4.15|include/makers|||mandatory|w@
+1.4.15|include/makers/canon.php|1.4.15|4223|mandatory|r@
+1.4.15|include/makers/fujifilm.php|1.4.15|4223|mandatory|r@
+1.4.15|include/makers/gps.php|1.4.15|4223|mandatory|r@
+1.4.15|include/makers/nikon.php|1.4.15|4223|mandatory|r@
+1.4.15|include/makers/olympus.php|1.4.15|4223|mandatory|r@
+1.4.15|include/makers/sanyo.php|1.4.15|4223|mandatory|r@
+1.4.15|lang|||mandatory|r@
+1.4.15|lang/albanian.php|1.4.15|4223|optional|r@
+1.4.15|lang/arabic.php|1.4.15|4223|optional|r@
+1.4.15|lang/basque.php|1.4.15|4223|optional|r@
+1.4.15|lang/brazilian_portuguese.php|1.4.15|4223|optional|r@
+1.4.15|lang/bulgarian.php|1.4.15|4223|optional|r@
+1.4.15|lang/catalan.php|1.4.15|4223|optional|r@
+1.4.15|lang/chinese_big5.php|1.4.15|4223|optional|r@
+1.4.15|lang/chinese_gb.php|1.4.15|4223|optional|r@
+1.4.15|lang/czech.php|1.4.15|4223|optional|r@
+1.4.15|lang/danish.php|1.4.15|4222|optional|r@
+1.4.15|lang/dutch.php|1.4.15|4223|optional|r@
+1.4.15|lang/english.php|1.4.15|4223|mandatory|r@
+1.4.15|lang/english_gb.php|1.4.15|4223|optional|r@
+1.4.15|lang/estonian.php|1.4.15|4223|optional|r@
+1.4.15|lang/finnish.php|1.4.15|4223|optional|r@
+1.4.15|lang/french.php|1.4.15|4223|optional|r@
+1.4.15|lang/galician.php|1.4.15|4223|optional|r@
+1.4.15|lang/georgian.php|1.4.15|4223|optional|r@
+1.4.15|lang/german.php|1.4.15|4223|optional|r@
+1.4.15|lang/german_sie.php|1.4.15|4223|optional|r@
+1.4.15|lang/greek.php|1.4.15|4223|optional|r@
+1.4.15|lang/hebrew.php|1.4.15|4223|optional|r@
+1.4.15|lang/hindi.php|1.4.15|4223|optional|r@
+1.4.15|lang/hungarian.php|1.4.15|4223|optional|r@
+1.4.15|lang/indonesian.php|1.4.15|4223|optional|r@
+1.4.15|lang/italian.php|1.4.15|4223|optional|r@
+1.4.15|lang/japanese.php|1.4.15|4223|optional|r@
+1.4.15|lang/korean.php|1.4.15|4223|optional|r@
+1.4.15|lang/lithuanian.php|1.4.15|4223|optional|r@
+1.4.15|lang/macedonian.php|1.4.15|4223|optional|r@
+1.4.15|lang/norwegian.php|1.4.15|4223|optional|r@
+1.4.15|lang/persian.php|1.4.15|4223|optional|r@
+1.4.15|lang/polish.php|1.4.15|4223|optional|r@
+1.4.15|lang/portuguese.php|1.4.15|4223|optional|r@
+1.4.15|lang/romanian.php|1.4.15|4223|optional|r@
+1.4.15|lang/russian.php|1.4.15|4223|optional|r@
+1.4.15|lang/serbian.php|1.4.15|4223|optional|r@
+1.4.15|lang/serbian_cy.php|1.4.15|3966|optional|r@
+1.4.15|lang/slovak.php|1.4.15|4223|optional|r@
+1.4.15|lang/slovenian.php|1.4.15|4223|optional|r@
+1.4.15|lang/spanish.php|1.4.15|4223|optional|r@
+1.4.15|lang/swedish.php|1.4.15|4223|optional|r@
+1.4.15|lang/thai.php|1.4.15|4223|optional|r@
+1.4.15|lang/turkish.php|1.4.15|4223|optional|r@
+1.4.15|lang/ukrainian.php|1.4.15|4223|optional|r@
+1.4.15|lang/vietnamese.php|1.4.15|4223|optional|r@
+1.4.15|logs|||mandatory|w@
+1.4.15|logs/log_header.inc.php|1.4.15|4223|mandatory|r@
+1.4.15|plugins|||optional|r@
+1.4.15|plugins/sample|||optional|r@
+1.4.15|plugins/sample/codebase.php|1.4.15|4223|optional|r@
+1.4.15|plugins/sample/configuration.php|1.4.15|4223|optional|r@
+1.4.15|sql|||mandatory|r@
+1.4.15|sql/basic.sql|1.4.15|4223|mandatory|r@
+1.4.15|sql/schema.sql|1.4.15|4223|mandatory|r@
+1.4.15|sql/update.sql|1.4.15|4223|mandatory|r@
+1.4.15|themes|||mandatory|r@
+1.4.15|themes/classic|||optional|r@
+1.4.15|themes/classic/style.css|1.4.15|4223|optional|r@
+1.4.15|themes/classic/template.html||4223|optional|r@
+1.4.15|themes/classic/theme.php|1.4.15|4223|optional|r@
+1.4.15|themes/classic/images|||optional|r@
+1.4.15|themes/eyeball|||optional|r@
+1.4.15|themes/eyeball/style.css|1.4.15|4223|optional|r@
+1.4.15|themes/eyeball/template.html||4223|optional|r@
+1.4.15|themes/eyeball/theme.php|1.4.15|4223|optional|r@
+1.4.15|themes/eyeball/images|||optional|r@
+1.4.15|themes/fruity|||optional|r@
+1.4.15|themes/fruity/style.css|1.4.15|4223|optional|r@
+1.4.15|themes/fruity/template.html||4223|optional|r@
+1.4.15|themes/fruity/theme.php|1.4.15|4223|optional|r@
+1.4.15|themes/fruity/images|||optional|r@
+1.4.15|themes/hardwired|||optional|r@
+1.4.15|themes/hardwired/style.css|1.4.15|4223|optional|r@
+1.4.15|themes/hardwired/template.html||4223|optional|r@
+1.4.15|themes/hardwired/theme.php|1.4.15|4223|optional|r@
+1.4.15|themes/hardwired/images|||optional|r@
+1.4.15|themes/igames|||optional|r@
+1.4.15|themes/igames/style.css|1.4.15|4223|optional|r@
+1.4.15|themes/igames/template.html||4223|optional|r@
+1.4.15|themes/igames/theme.php|1.4.15|4223|optional|r@
+1.4.15|themes/igames/images|||optional|r@
+1.4.15|themes/mac_ox_x|||optional|r@
+1.4.15|themes/mac_ox_x/style.css|1.4.15|4223|optional|r@
+1.4.15|themes/mac_ox_x/template.html||4223|optional|r@
+1.4.15|themes/mac_ox_x/theme.php|1.4.15|4223|optional|r@
+1.4.15|themes/mac_ox_x/images|||optional|r@
+1.4.15|themes/project_vii|||optional|r@
+1.4.15|themes/project_vii/style.css|1.4.15|4223|optional|r@
+1.4.15|themes/project_vii/template.html||4223|optional|r@
+1.4.15|themes/project_vii/theme.php|1.4.15|4223|optional|r@
+1.4.15|themes/project_vii/images|||optional|r@
+1.4.15|themes/rainy_day|||optional|r@
+1.4.15|themes/rainy_day/style.css|1.4.15|4223|optional|r@
+1.4.15|themes/rainy_day/template.html||4223|optional|r@
+1.4.15|themes/rainy_day/theme.php|1.4.15|4223|optional|r@
+1.4.15|themes/rainy_day/images|||optional|r@
+1.4.15|themes/sample|||optional|r@
+1.4.15|themes/sample/style.css|1.4.15|4223|optional|r@
+1.4.15|themes/sample/template.html||4223|optional|r@
+1.4.15|themes/sample/theme.php|1.4.15|4223|optional|r@
+1.4.15|themes/sample/images|||optional|r@
+1.4.15|themes/water_drop|||optional|r@
+1.4.15|themes/water_drop/style.css|1.4.15|4223|optional|r@
+1.4.15|themes/water_drop/template.html||4223|optional|r@
+1.4.15|themes/water_drop/theme.php|1.4.15|4223|optional|r@
+1.4.15|themes/water_drop/images|||optional|r@
+1.4.16|addfav.php|1.4.16|4233|mandatory|r@
+1.4.16|addpic.php|1.4.16|4233|mandatory|r@
+1.4.16|admin.php|1.4.16|4233|mandatory|r@
+1.4.16|albmgr.php|1.4.16|4233|mandatory|r@
+1.4.16|anycontent.php|1.4.16|4233|mandatory|r@
+1.4.16|banning.php|1.4.16|4233|mandatory|r@
+1.4.16|bridgemgr.php|1.4.16|4233|mandatory|r@
+1.4.16|calendar.php|1.4.16|4233|mandatory|r@
+1.4.16|catmgr.php|1.4.16|4233|mandatory|r@
+1.4.16|charsetmgr.php|1.4.16|4233|mandatory|r@
+1.4.16|config.php|1.4.16|4233|optional|r@
+1.4.16|db_ecard.php|1.4.16|4233|mandatory|r@
+1.4.16|db_input.php|1.4.16|4233|mandatory|r@
+1.4.16|delete.php|1.4.16|4233|mandatory|r@
+1.4.16|displayecard.php|1.4.16|4233|mandatory|r@
+1.4.16|displayimage.php|1.4.16|4233|mandatory|r@
+1.4.16|displayreport.php|1.4.16|4233|mandatory|r@
+1.4.16|ecard.php|1.4.16|4233|mandatory|r@
+1.4.16|editOnePic.php|1.4.16|4233|mandatory|r@
+1.4.16|editpics.php|1.4.16|4233|mandatory|r@
+1.4.16|exifmgr.php|1.4.16|4233|mandatory|r@
+1.4.16|faq.php|1.4.16|4233|mandatory|r@
+1.4.16|forgot_passwd.php|1.4.16|4233|mandatory|r@
+1.4.16|getlang.php|1.4.16|4233|mandatory|r@
+1.4.16|groupmgr.php|1.4.16|4233|mandatory|r@
+1.4.16|image_processor.php|1.4.16|4233|mandatory|r@
+1.4.16|index.php|1.4.16|4233|mandatory|r@
+1.4.16|install.php|1.4.16|4233|mandatory|r@
+1.4.16|installer.css|1.4.16|4233|mandatory|r@
+1.4.16|keyword_create_dict.php|1.4.16|4233|mandatory|r@
+1.4.16|keyword_select.php|1.4.16|4233|mandatory|r@
+1.4.16|keywordmgr.php|1.4.16|4233|mandatory|r@
+1.4.16|login.php|1.4.16|4233|mandatory|r@
+1.4.16|logout.php|1.4.16|4233|mandatory|r@
+1.4.16|minibrowser.php|1.4.16|4233|mandatory|r@
+1.4.16|mode.php|1.4.16|4233|mandatory|r@
+1.4.16|modifyalb.php|1.4.16|4233|mandatory|r@
+1.4.16|phpinfo.php|1.4.16|4233|mandatory|r@
+1.4.16|picEditor.php|1.4.16|4233|mandatory|r@
+1.4.16|picmgr.php|1.4.16|4233|mandatory|r@
+1.4.16|pluginmgr.php|1.4.16|4233|mandatory|r@
+1.4.16|profile.php|1.4.16|4233|mandatory|r@
+1.4.16|ratepic.php|1.4.16|4233|mandatory|r@
+1.4.16|register.php|1.4.16|4233|mandatory|r@
+1.4.16|relocate_server.php|1.4.16|4233|optional|r@
+1.4.16|report_file.php|1.4.16|4233|mandatory|r@
+1.4.16|reviewcom.php|1.4.16|4233|mandatory|r@
+1.4.16|scripts.js|1.4.16|4233|mandatory|r@
+1.4.16|search.php|1.4.16|4233|mandatory|r@
+1.4.16|searchnew.php|1.4.16|4233|mandatory|r@
+1.4.16|showthumb.php|1.4.16|4233|mandatory|r@
+1.4.16|stat_details.php|1.4.16|4233|mandatory|r@
+1.4.16|thumbnails.php|1.4.16|4233|mandatory|r@
+1.4.16|update.php|1.4.16|4233|mandatory|r@
+1.4.16|upgrade-1.0-to-1.2.php|1.4.16|4233|mandatory|r@
+1.4.16|upload.php|1.4.16|4233|mandatory|r@
+1.4.16|usermgr.php|1.4.16|4233|mandatory|r@
+1.4.16|util.php|1.4.16|4233|mandatory|r@
+1.4.16|versioncheck.php|1.4.16|4236|mandatory|r@
+1.4.16|viewlog.php|1.4.16|4233|mandatory|r@
+1.4.16|xp_publish.php|1.4.16|4233|mandatory|r@
+1.4.16|zipdownload.php|1.4.16|4233|mandatory|r@
+1.4.16|**fullpath**|||mandatory|w@
+1.4.16|**fullpath**/index.php|||optional|w@
+1.4.16|**fullpath**/edit/index.html|||optional|w@
+1.4.16|**fullpath**/edit/no_FTP-uploads_into_this_folder!|||optional|w@
+1.4.16|**fullpath**/edit|||mandatory|w@
+1.4.16|**fullpath**/edit/index.html|||optional|w@
+1.4.16|**fullpath**/**userpics**|||mandatory|w@
+1.4.16|**fullpath**/**userpics**/index.php|||optional|w@
+1.4.16|**fullpath**/**userpics**/no_FTP-uploads_into_this_folder!|||optional|w@
+1.4.16|bridge|||mandatory|r@
+1.4.16|bridge/coppermine.inc.php|1.4.16|4233|mandatory|r@
+1.4.16|bridge/invisionboard20.inc.php|1.4.16|4233|optional|r@
+1.4.16|bridge/mambo.inc.php|1.4.16|4233|optional|r@
+1.4.16|bridge/mybb.inc.php|1.4.16|4233|optional|r@
+1.4.16|bridge/phorum.inc.php|1.4.16|4233|optional|r@
+1.4.16|bridge/phpbb.inc.php|1.4.16|4233|optional|r@
+1.4.16|bridge/phpbb2018.inc.php|1.4.16|4233|optional|r@
+1.4.16|bridge/phpbb22.inc.php|1.4.16|4233|optional|r@
+1.4.16|bridge/punbb115.inc.php|1.4.16|4233|optional|r@
+1.4.16|bridge/punbb12.inc.php|1.4.16|4233|optional|r@
+1.4.16|bridge/smf10.inc.php|1.4.16|4233|optional|r@
+1.4.16|bridge/smf20.inc.php|1.4.16|4233|optional|r@
+1.4.16|bridge/udb_base.inc.php|1.4.16|4233|mandatory|r@
+1.4.16|bridge/vbulletin30.inc.php|1.4.16|4233|optional|r@
+1.4.16|bridge/xmb.inc.php|1.4.16|4233|optional|r@
+1.4.16|bridge/xoops.inc.php|1.4.16|4233|optional|r@
+1.4.16|docs|||mandatory|r@
+1.4.16|docs/faq.htm|||optional|r@
+1.4.16|docs/faq_de.htm|||optional|r@
+1.4.16|docs/faq_fr.htm|||optional|r@
+1.4.16|docs/index.htm|1.4.16|4234|mandatory|r@
+1.4.16|docs/index_fr.htm||4233|mandatory|r@
+1.4.16|docs/README.html||4233|optional|r@
+1.4.16|docs/showdoc.php|1.4.16|4233|mandatory|r@
+1.4.16|docs/style.css|1.4.16|4233|mandatory|r@
+1.4.16|docs/theme.htm|||optional|r@
+1.4.16|docs/translation.htm|||optional|r@
+1.4.16|docs/pics|||mandatory|r@
+1.4.16|docs/theme|||optional|r@
+1.4.16|docs/theme/edit_style.html|||optional|r@
+1.4.16|docs/theme/edit_template.html|||optional|r@
+1.4.16|docs/theme/edit_theme.html|1.4.16||optional|r@
+1.4.16|docs/theme/index.html|||optional|r@
+1.4.16|docs/theme/style.css|1.4.16|4233|optional|r@
+1.4.16|docs/theme/validation.html|||optional|r@
+1.4.16|include|||mandatory|w@
+1.4.16|include/archive.php|1.4.16|4233|mandatory|r@
+1.4.16|include/config.inc.php|||mandatory|r@
+1.4.16|include/config.inc.php.sample|||optional|r@
+1.4.16|include/crop.inc.php|1.4.16|4233|mandatory|r@
+1.4.16|include/debugger.inc.php|1.4.16|4233|mandatory|r@
+1.4.16|include/exif.php|1.4.16|4233|mandatory|r@
+1.4.16|include/exif_php.inc.php|1.4.16|4233|mandatory|r@
+1.4.16|include/functions.inc.php|1.4.16|4233|mandatory|r@
+1.4.16|include/imageObjectGD.class.php|1.4.16|4233|mandatory|r@
+1.4.16|include/imageObjectIM.class.php|1.4.16|4233|mandatory|r@
+1.4.16|include/index.html|1.4.16|4233|mandatory|r@
+1.4.16|include/init.inc.php|1.4.16|4235|mandatory|r@
+1.4.16|include/iptc.inc.php|1.4.16|4233|mandatory|r@
+1.4.16|include/keyword.inc.php|1.4.16|4233|mandatory|r@
+1.4.16|include/langfallback.inc.php|1.4.16|4233|mandatory|r@
+1.4.16|include/logger.inc.php|1.4.16|4233|mandatory|r@
+1.4.16|include/mailer.inc.php|1.4.16|4233|mandatory|r@
+1.4.16|include/mb.inc.php|1.4.16|4233|mandatory|r@
+1.4.16|include/media.functions.inc.php|1.4.16|4233|mandatory|r@
+1.4.16|include/phpmailer.lang-en.php|1.4.16|4233|mandatory|r@
+1.4.16|include/picmgmt.inc.php|1.4.16|4233|mandatory|r@
+1.4.16|include/plugin_api.inc.php|1.4.16|4233|mandatory|r@
+1.4.16|include/search.inc.php|1.4.16|4233|mandatory|r@
+1.4.16|include/select_lang.inc.php|1.4.16|4233|mandatory|r@
+1.4.16|include/slideshow.inc.php|1.4.16|4233|mandatory|r@
+1.4.16|include/smilies.inc.php|1.4.16|4233|mandatory|r@
+1.4.16|include/smtp.inc.php|1.4.16|4233|mandatory|r@
+1.4.16|include/sql_parse.php|1.4.16|4233|mandatory|r@
+1.4.16|include/themes.inc.php|1.4.16|4233|mandatory|r@
+1.4.16|include/update.inc.php|1.4.16|4233|mandatory|r@
+1.4.16|include/zip.lib.php|1.4.16|4233|mandatory|r@
+1.4.16|include/makers|||mandatory|w@
+1.4.16|include/makers/canon.php|1.4.16|4233|mandatory|r@
+1.4.16|include/makers/fujifilm.php|1.4.16|4233|mandatory|r@
+1.4.16|include/makers/gps.php|1.4.16|4233|mandatory|r@
+1.4.16|include/makers/nikon.php|1.4.16|4233|mandatory|r@
+1.4.16|include/makers/olympus.php|1.4.16|4233|mandatory|r@
+1.4.16|include/makers/sanyo.php|1.4.16|4233|mandatory|r@
+1.4.16|lang|||mandatory|r@
+1.4.16|lang/albanian.php|1.4.16|4233|optional|r@
+1.4.16|lang/arabic.php|1.4.16|4233|optional|r@
+1.4.16|lang/basque.php|1.4.16|4233|optional|r@
+1.4.16|lang/brazilian_portuguese.php|1.4.16|4233|optional|r@
+1.4.16|lang/bulgarian.php|1.4.16|4233|optional|r@
+1.4.16|lang/catalan.php|1.4.16|4233|optional|r@
+1.4.16|lang/chinese_big5.php|1.4.16|4233|optional|r@
+1.4.16|lang/chinese_gb.php|1.4.16|4233|optional|r@
+1.4.16|lang/czech.php|1.4.16|4233|optional|r@
+1.4.16|lang/danish.php|1.4.16|4233|optional|r@
+1.4.16|lang/dutch.php|1.4.16|4233|optional|r@
+1.4.16|lang/english.php|1.4.16|4233|mandatory|r@
+1.4.16|lang/english_gb.php|1.4.16|4233|optional|r@
+1.4.16|lang/estonian.php|1.4.16|4233|optional|r@
+1.4.16|lang/finnish.php|1.4.16|4233|optional|r@
+1.4.16|lang/french.php|1.4.16|4233|optional|r@
+1.4.16|lang/galician.php|1.4.16|4233|optional|r@
+1.4.16|lang/georgian.php|1.4.16|4233|optional|r@
+1.4.16|lang/german.php|1.4.16|4233|optional|r@
+1.4.16|lang/german_sie.php|1.4.16|4233|optional|r@
+1.4.16|lang/greek.php|1.4.16|4233|optional|r@
+1.4.16|lang/hebrew.php|1.4.16|4233|optional|r@
+1.4.16|lang/hindi.php|1.4.16|4233|optional|r@
+1.4.16|lang/hungarian.php|1.4.16|4233|optional|r@
+1.4.16|lang/indonesian.php|1.4.16|4233|optional|r@
+1.4.16|lang/italian.php|1.4.16|4233|optional|r@
+1.4.16|lang/japanese.php|1.4.16|4233|optional|r@
+1.4.16|lang/korean.php|1.4.16|4233|optional|r@
+1.4.16|lang/lithuanian.php|1.4.16|4233|optional|r@
+1.4.16|lang/macedonian.php|1.4.16|4233|optional|r@
+1.4.16|lang/norwegian.php|1.4.16|4233|optional|r@
+1.4.16|lang/persian.php|1.4.16|4233|optional|r@
+1.4.16|lang/polish.php|1.4.16|4233|optional|r@
+1.4.16|lang/portuguese.php|1.4.16|4233|optional|r@
+1.4.16|lang/romanian.php|1.4.16|4233|optional|r@
+1.4.16|lang/russian.php|1.4.16|4233|optional|r@
+1.4.16|lang/serbian.php|1.4.16|4233|optional|r@
+1.4.16|lang/serbian_cy.php|1.4.16|3966|optional|r@
+1.4.16|lang/slovak.php|1.4.16|4233|optional|r@
+1.4.16|lang/slovenian.php|1.4.16|4233|optional|r@
+1.4.16|lang/spanish.php|1.4.16|4233|optional|r@
+1.4.16|lang/swedish.php|1.4.16|4233|optional|r@
+1.4.16|lang/thai.php|1.4.16|4233|optional|r@
+1.4.16|lang/turkish.php|1.4.16|4233|optional|r@
+1.4.16|lang/ukrainian.php|1.4.16|4233|optional|r@
+1.4.16|lang/vietnamese.php|1.4.16|4233|optional|r@
+1.4.16|logs|||mandatory|w@
+1.4.16|logs/log_header.inc.php|1.4.16|4233|mandatory|r@
+1.4.16|plugins|||optional|r@
+1.4.16|plugins/sample|||optional|r@
+1.4.16|plugins/sample/codebase.php|1.4.16|4233|optional|r@
+1.4.16|plugins/sample/configuration.php|1.4.16|4233|optional|r@
+1.4.16|sql|||mandatory|r@
+1.4.16|sql/basic.sql|1.4.16|4233|mandatory|r@
+1.4.16|sql/schema.sql|1.4.16|4233|mandatory|r@
+1.4.16|sql/update.sql|1.4.16|4233|mandatory|r@
+1.4.16|themes|||mandatory|r@
+1.4.16|themes/classic|||optional|r@
+1.4.16|themes/classic/style.css|1.4.16|4233|optional|r@
+1.4.16|themes/classic/template.html||4233|optional|r@
+1.4.16|themes/classic/theme.php|1.4.16|4233|optional|r@
+1.4.16|themes/classic/images|||optional|r@
+1.4.16|themes/eyeball|||optional|r@
+1.4.16|themes/eyeball/style.css|1.4.16|4233|optional|r@
+1.4.16|themes/eyeball/template.html||4233|optional|r@
+1.4.16|themes/eyeball/theme.php|1.4.16|4233|optional|r@
+1.4.16|themes/eyeball/images|||optional|r@
+1.4.16|themes/fruity|||optional|r@
+1.4.16|themes/fruity/style.css|1.4.16|4233|optional|r@
+1.4.16|themes/fruity/template.html||4233|optional|r@
+1.4.16|themes/fruity/theme.php|1.4.16|4233|optional|r@
+1.4.16|themes/fruity/images|||optional|r@
+1.4.16|themes/hardwired|||optional|r@
+1.4.16|themes/hardwired/style.css|1.4.16|4233|optional|r@
+1.4.16|themes/hardwired/template.html||4233|optional|r@
+1.4.16|themes/hardwired/theme.php|1.4.16|4233|optional|r@
+1.4.16|themes/hardwired/images|||optional|r@
+1.4.16|themes/igames|||optional|r@
+1.4.16|themes/igames/style.css|1.4.16|4233|optional|r@
+1.4.16|themes/igames/template.html||4233|optional|r@
+1.4.16|themes/igames/theme.php|1.4.16|4233|optional|r@
+1.4.16|themes/igames/images|||optional|r@
+1.4.16|themes/mac_ox_x|||optional|r@
+1.4.16|themes/mac_ox_x/style.css|1.4.16|4233|optional|r@
+1.4.16|themes/mac_ox_x/template.html||4233|optional|r@
+1.4.16|themes/mac_ox_x/theme.php|1.4.16|4233|optional|r@
+1.4.16|themes/mac_ox_x/images|||optional|r@
+1.4.16|themes/project_vii|||optional|r@
+1.4.16|themes/project_vii/style.css|1.4.16|4233|optional|r@
+1.4.16|themes/project_vii/template.html||4233|optional|r@
+1.4.16|themes/project_vii/theme.php|1.4.16|4233|optional|r@
+1.4.16|themes/project_vii/images|||optional|r@
+1.4.16|themes/rainy_day|||optional|r@
+1.4.16|themes/rainy_day/style.css|1.4.16|4233|optional|r@
+1.4.16|themes/rainy_day/template.html||4233|optional|r@
+1.4.16|themes/rainy_day/theme.php|1.4.16|4233|optional|r@
+1.4.16|themes/rainy_day/images|||optional|r@
+1.4.16|themes/sample|||optional|r@
+1.4.16|themes/sample/style.css|1.4.16|4233|optional|r@
+1.4.16|themes/sample/template.html||4233|optional|r@
+1.4.16|themes/sample/theme.php|1.4.16|4233|optional|r@
+1.4.16|themes/sample/images|||optional|r@
+1.4.16|themes/water_drop|||optional|r@
+1.4.16|themes/water_drop/style.css|1.4.16|4233|optional|r@
+1.4.16|themes/water_drop/template.html||4233|optional|r@
+1.4.16|themes/water_drop/theme.php|1.4.16|4233|optional|r@
+1.4.16|themes/water_drop/images|||optional|r@
+1.4.17|addfav.php|1.4.17|4311|mandatory|r@
+1.4.17|addpic.php|1.4.17|4311|mandatory|r@
+1.4.17|admin.php|1.4.17|4311|mandatory|r@
+1.4.17|albmgr.php|1.4.17|4311|mandatory|r@
+1.4.17|anycontent.php|1.4.17|4311|mandatory|r@
+1.4.17|banning.php|1.4.17|4311|mandatory|r@
+1.4.17|bridgemgr.php|1.4.17|4311|mandatory|r@
+1.4.17|calendar.php|1.4.17|4311|mandatory|r@
+1.4.17|catmgr.php|1.4.17|4311|mandatory|r@
+1.4.17|charsetmgr.php|1.4.17|4311|mandatory|r@
+1.4.17|config.php|1.4.17|4311|optional|r@
+1.4.17|db_ecard.php|1.4.17|4311|mandatory|r@
+1.4.17|db_input.php|1.4.17|4311|mandatory|r@
+1.4.17|delete.php|1.4.17|4311|mandatory|r@
+1.4.17|displayecard.php|1.4.17|4311|mandatory|r@
+1.4.17|displayimage.php|1.4.17|4311|mandatory|r@
+1.4.17|displayreport.php|1.4.17|4311|mandatory|r@
+1.4.17|ecard.php|1.4.17|4311|mandatory|r@
+1.4.17|editOnePic.php|1.4.17|4311|mandatory|r@
+1.4.17|editpics.php|1.4.17|4311|mandatory|r@
+1.4.17|exifmgr.php|1.4.17|4311|mandatory|r@
+1.4.17|faq.php|1.4.17|4311|mandatory|r@
+1.4.17|forgot_passwd.php|1.4.17|4311|mandatory|r@
+1.4.17|getlang.php|1.4.17|4311|mandatory|r@
+1.4.17|groupmgr.php|1.4.17|4311|mandatory|r@
+1.4.17|image_processor.php|1.4.17|4311|mandatory|r@
+1.4.17|index.php|1.4.17|4311|mandatory|r@
+1.4.17|install.php|1.4.17|4311|mandatory|r@
+1.4.17|installer.css|1.4.17|4311|mandatory|r@
+1.4.17|keyword_create_dict.php|1.4.17|4311|mandatory|r@
+1.4.17|keyword_select.php|1.4.17|4311|mandatory|r@
+1.4.17|keywordmgr.php|1.4.17|4311|mandatory|r@
+1.4.17|login.php|1.4.17|4311|mandatory|r@
+1.4.17|logout.php|1.4.17|4311|mandatory|r@
+1.4.17|minibrowser.php|1.4.17|4311|mandatory|r@
+1.4.17|mode.php|1.4.17|4311|mandatory|r@
+1.4.17|modifyalb.php|1.4.17|4311|mandatory|r@
+1.4.17|phpinfo.php|1.4.17|4311|mandatory|r@
+1.4.17|picEditor.php|1.4.17|4311|mandatory|r@
+1.4.17|picmgr.php|1.4.17|4311|mandatory|r@
+1.4.17|pluginmgr.php|1.4.17|4311|mandatory|r@
+1.4.17|profile.php|1.4.17|4311|mandatory|r@
+1.4.17|ratepic.php|1.4.17|4311|mandatory|r@
+1.4.17|register.php|1.4.17|4311|mandatory|r@
+1.4.17|relocate_server.php|1.4.17|4311|optional|r@
+1.4.17|report_file.php|1.4.17|4311|mandatory|r@
+1.4.17|reviewcom.php|1.4.17|4311|mandatory|r@
+1.4.17|scripts.js|1.4.17|4311|mandatory|r@
+1.4.17|search.php|1.4.17|4311|mandatory|r@
+1.4.17|searchnew.php|1.4.17|4311|mandatory|r@
+1.4.17|showthumb.php|1.4.17|4311|mandatory|r@
+1.4.17|stat_details.php|1.4.17|4311|mandatory|r@
+1.4.17|thumbnails.php|1.4.17|4311|mandatory|r@
+1.4.17|update.php|1.4.17|4311|mandatory|r@
+1.4.17|upgrade-1.0-to-1.2.php|1.4.17|4311|mandatory|r@
+1.4.17|upload.php|1.4.17|4372|mandatory|r@
+1.4.17|usermgr.php|1.4.17|4311|mandatory|r@
+1.4.17|util.php|1.4.17|4311|mandatory|r@
+1.4.17|versioncheck.php|1.4.17|4377|mandatory|r@
+1.4.17|viewlog.php|1.4.17|4311|mandatory|r@
+1.4.17|xp_publish.php|1.4.17|4311|mandatory|r@
+1.4.17|zipdownload.php|1.4.17|4311|mandatory|r@
+1.4.17|**fullpath**|||mandatory|w@
+1.4.17|**fullpath**/index.php|||optional|w@
+1.4.17|**fullpath**/edit/index.html|||optional|w@
+1.4.17|**fullpath**/edit/no_FTP-uploads_into_this_folder!|||optional|w@
+1.4.17|**fullpath**/edit|||mandatory|w@
+1.4.17|**fullpath**/edit/index.html|||optional|w@
+1.4.17|**fullpath**/**userpics**|||mandatory|w@
+1.4.17|**fullpath**/**userpics**/index.php|||optional|w@
+1.4.17|**fullpath**/**userpics**/no_FTP-uploads_into_this_folder!|||optional|w@
+1.4.17|bridge|||mandatory|r@
+1.4.17|bridge/coppermine.inc.php|1.4.17|4311|mandatory|r@
+1.4.17|bridge/invisionboard20.inc.php|1.4.17|4311|optional|r@
+1.4.17|bridge/mambo.inc.php|1.4.17|4311|optional|r@
+1.4.17|bridge/mybb.inc.php|1.4.17|4311|optional|r@
+1.4.17|bridge/phorum.inc.php|1.4.17|4311|optional|r@
+1.4.17|bridge/phpbb.inc.php|1.4.17|4311|optional|r@
+1.4.17|bridge/phpbb2018.inc.php|1.4.17|4311|optional|r@
+1.4.17|bridge/phpbb22.inc.php|1.4.17|4311|optional|r@
+1.4.17|bridge/punbb115.inc.php|1.4.17|4311|optional|r@
+1.4.17|bridge/punbb12.inc.php|1.4.17|4311|optional|r@
+1.4.17|bridge/smf10.inc.php|1.4.17|4311|optional|r@
+1.4.17|bridge/smf20.inc.php|1.4.17|4311|optional|r@
+1.4.17|bridge/udb_base.inc.php|1.4.17|4311|mandatory|r@
+1.4.17|bridge/vbulletin30.inc.php|1.4.17|4311|optional|r@
+1.4.17|bridge/xmb.inc.php|1.4.17|4311|optional|r@
+1.4.17|bridge/xoops.inc.php|1.4.17|4311|optional|r@
+1.4.17|docs|||mandatory|r@
+1.4.17|docs/faq.htm|||optional|r@
+1.4.17|docs/faq_de.htm|||optional|r@
+1.4.17|docs/faq_fr.htm|||optional|r@
+1.4.17|docs/index.htm|1.4.17|4375|mandatory|r@
+1.4.17|docs/index_fr.htm||4311|mandatory|r@
+1.4.17|docs/README.html||4311|optional|r@
+1.4.17|docs/showdoc.php|1.4.17|4311|mandatory|r@
+1.4.17|docs/style.css|1.4.17|4311|mandatory|r@
+1.4.17|docs/theme.htm|||optional|r@
+1.4.17|docs/translation.htm|||optional|r@
+1.4.17|docs/pics|||mandatory|r@
+1.4.17|docs/theme|||optional|r@
+1.4.17|docs/theme/edit_style.html|||optional|r@
+1.4.17|docs/theme/edit_template.html|||optional|r@
+1.4.17|docs/theme/edit_theme.html|1.4.17||optional|r@
+1.4.17|docs/theme/index.html|||optional|r@
+1.4.17|docs/theme/style.css|1.4.17|4311|optional|r@
+1.4.17|docs/theme/validation.html|||optional|r@
+1.4.17|include|||mandatory|w@
+1.4.17|include/archive.php|1.4.17|4311|mandatory|r@
+1.4.17|include/config.inc.php|||mandatory|r@
+1.4.17|include/config.inc.php.sample|||optional|r@
+1.4.17|include/crop.inc.php|1.4.17|4311|mandatory|r@
+1.4.17|include/debugger.inc.php|1.4.17|4311|mandatory|r@
+1.4.17|include/exif.php|1.4.17|4311|mandatory|r@
+1.4.17|include/exif_php.inc.php|1.4.17|4311|mandatory|r@
+1.4.17|include/functions.inc.php|1.4.17|4343|mandatory|r@
+1.4.17|include/imageObjectGD.class.php|1.4.17|4311|mandatory|r@
+1.4.17|include/imageObjectIM.class.php|1.4.17|4311|mandatory|r@
+1.4.17|include/index.html|1.4.17|4311|mandatory|r@
+1.4.17|include/init.inc.php|1.4.17|4374|mandatory|r@
+1.4.17|include/iptc.inc.php|1.4.17|4311|mandatory|r@
+1.4.17|include/keyword.inc.php|1.4.17|4311|mandatory|r@
+1.4.17|include/langfallback.inc.php|1.4.17|4311|mandatory|r@
+1.4.17|include/logger.inc.php|1.4.17|4311|mandatory|r@
+1.4.17|include/mailer.inc.php|1.4.17|4311|mandatory|r@
+1.4.17|include/mb.inc.php|1.4.17|4311|mandatory|r@
+1.4.17|include/media.functions.inc.php|1.4.17|4311|mandatory|r@
+1.4.17|include/phpmailer.lang-en.php|1.4.17|4311|mandatory|r@
+1.4.17|include/picmgmt.inc.php|1.4.17|4311|mandatory|r@
+1.4.17|include/plugin_api.inc.php|1.4.17|4311|mandatory|r@
+1.4.17|include/search.inc.php|1.4.17|4311|mandatory|r@
+1.4.17|include/select_lang.inc.php|1.4.17|4340|mandatory|r@
+1.4.17|include/slideshow.inc.php|1.4.17|4311|mandatory|r@
+1.4.17|include/smilies.inc.php|1.4.17|4311|mandatory|r@
+1.4.17|include/smtp.inc.php|1.4.17|4311|mandatory|r@
+1.4.17|include/sql_parse.php|1.4.17|4311|mandatory|r@
+1.4.17|include/themes.inc.php|1.4.17|4311|mandatory|r@
+1.4.17|include/update.inc.php|1.4.17|4311|mandatory|r@
+1.4.17|include/zip.lib.php|1.4.17|4311|mandatory|r@
+1.4.17|include/makers|||mandatory|w@
+1.4.17|include/makers/canon.php|1.4.17|4311|mandatory|r@
+1.4.17|include/makers/fujifilm.php|1.4.17|4311|mandatory|r@
+1.4.17|include/makers/gps.php|1.4.17|4311|mandatory|r@
+1.4.17|include/makers/nikon.php|1.4.17|4311|mandatory|r@
+1.4.17|include/makers/olympus.php|1.4.17|4311|mandatory|r@
+1.4.17|include/makers/sanyo.php|1.4.17|4311|mandatory|r@
+1.4.17|lang|||mandatory|r@
+1.4.17|lang/albanian.php|1.4.17|4311|optional|r@
+1.4.17|lang/arabic.php|1.4.17|4311|optional|r@
+1.4.17|lang/basque.php|1.4.17|4311|optional|r@
+1.4.17|lang/brazilian_portuguese.php|1.4.17|4311|optional|r@
+1.4.17|lang/bulgarian.php|1.4.17|4311|optional|r@
+1.4.17|lang/catalan.php|1.4.17|4311|optional|r@
+1.4.17|lang/chinese_big5.php|1.4.17|4311|optional|r@
+1.4.17|lang/chinese_gb.php|1.4.17|4311|optional|r@
+1.4.17|lang/czech.php|1.4.17|4311|optional|r@
+1.4.17|lang/danish.php|1.4.17|4311|optional|r@
+1.4.17|lang/dutch.php|1.4.17|4311|optional|r@
+1.4.17|lang/english.php|1.4.17|4311|mandatory|r@
+1.4.17|lang/english_gb.php|1.4.17|4311|optional|r@
+1.4.17|lang/estonian.php|1.4.17|4311|optional|r@
+1.4.17|lang/finnish.php|1.4.17|4368|optional|r@
+1.4.17|lang/french.php|1.4.17|4311|optional|r@
+1.4.17|lang/galician.php|1.4.17|4311|optional|r@
+1.4.17|lang/georgian.php|1.4.17|4311|optional|r@
+1.4.17|lang/german.php|1.4.17|4311|optional|r@
+1.4.17|lang/german_sie.php|1.4.17|4311|optional|r@
+1.4.17|lang/greek.php|1.4.17|4311|optional|r@
+1.4.17|lang/hebrew.php|1.4.17|4311|optional|r@
+1.4.17|lang/hindi.php|1.4.17|4311|optional|r@
+1.4.17|lang/hungarian.php|1.4.17|4311|optional|r@
+1.4.17|lang/indonesian.php|1.4.17|4311|optional|r@
+1.4.17|lang/italian.php|1.4.17|4311|optional|r@
+1.4.17|lang/japanese.php|1.4.17|4311|optional|r@
+1.4.17|lang/korean.php|1.4.17|4311|optional|r@
+1.4.17|lang/lithuanian.php|1.4.17|4311|optional|r@
+1.4.17|lang/macedonian.php|1.4.17|4311|optional|r@
+1.4.17|lang/norwegian.php|1.4.17|4311|optional|r@
+1.4.17|lang/persian.php|1.4.17|4311|optional|r@
+1.4.17|lang/polish.php|1.4.17|4311|optional|r@
+1.4.17|lang/portuguese.php|1.4.17|4311|optional|r@
+1.4.17|lang/romanian.php|1.4.17|4349|optional|r@
+1.4.17|lang/russian.php|1.4.17|4311|optional|r@
+1.4.17|lang/serbian.php|1.4.17|4311|optional|r@
+1.4.17|lang/serbian_cy.php|1.4.17|3966|optional|r@
+1.4.17|lang/slovak.php|1.4.17|4311|optional|r@
+1.4.17|lang/slovenian.php|1.4.17|4311|optional|r@
+1.4.17|lang/spanish.php|1.4.17|4311|optional|r@
+1.4.17|lang/swedish.php|1.4.17|4311|optional|r@
+1.4.17|lang/thai.php|1.4.17|4311|optional|r@
+1.4.17|lang/turkish.php|1.4.17|4311|optional|r@
+1.4.17|lang/ukrainian.php|1.4.17|4311|optional|r@
+1.4.17|lang/vietnamese.php|1.4.17|4311|optional|r@
+1.4.17|logs|||mandatory|w@
+1.4.17|logs/log_header.inc.php|1.4.17|4311|mandatory|r@
+1.4.17|plugins|||optional|r@
+1.4.17|plugins/sample|||optional|r@
+1.4.17|plugins/sample/codebase.php|1.4.17|4311|optional|r@
+1.4.17|plugins/sample/configuration.php|1.4.17|4311|optional|r@
+1.4.17|sql|||mandatory|r@
+1.4.17|sql/basic.sql|1.4.17|4311|mandatory|r@
+1.4.17|sql/schema.sql|1.4.17|4311|mandatory|r@
+1.4.17|sql/update.sql|1.4.17|4311|mandatory|r@
+1.4.17|themes|||mandatory|r@
+1.4.17|themes/classic|||optional|r@
+1.4.17|themes/classic/style.css|1.4.17|4311|optional|r@
+1.4.17|themes/classic/template.html|1.4.17|4311|optional|r@
+1.4.17|themes/classic/theme.php|1.4.17|4311|optional|r@
+1.4.17|themes/classic/images|||optional|r@
+1.4.17|themes/eyeball|||optional|r@
+1.4.17|themes/eyeball/style.css|1.4.17|4311|optional|r@
+1.4.17|themes/eyeball/template.html|1.4.17|4311|optional|r@
+1.4.17|themes/eyeball/theme.php|1.4.17|4311|optional|r@
+1.4.17|themes/eyeball/images|||optional|r@
+1.4.17|themes/fruity|||optional|r@
+1.4.17|themes/fruity/style.css|1.4.17|4311|optional|r@
+1.4.17|themes/fruity/template.html|1.4.17|4311|optional|r@
+1.4.17|themes/fruity/theme.php|1.4.17|4311|optional|r@
+1.4.17|themes/fruity/images|||optional|r@
+1.4.17|themes/hardwired|||optional|r@
+1.4.17|themes/hardwired/style.css|1.4.17|4311|optional|r@
+1.4.17|themes/hardwired/template.html|1.4.17|4311|optional|r@
+1.4.17|themes/hardwired/theme.php|1.4.17|4311|optional|r@
+1.4.17|themes/hardwired/images|||optional|r@
+1.4.17|themes/igames|||optional|r@
+1.4.17|themes/igames/style.css|1.4.17|4311|optional|r@
+1.4.17|themes/igames/template.html|1.4.17|4311|optional|r@
+1.4.17|themes/igames/theme.php|1.4.17|4311|optional|r@
+1.4.17|themes/igames/images|||optional|r@
+1.4.17|themes/mac_ox_x|||optional|r@
+1.4.17|themes/mac_ox_x/style.css|1.4.17|4311|optional|r@
+1.4.17|themes/mac_ox_x/template.html|1.4.17|4311|optional|r@
+1.4.17|themes/mac_ox_x/theme.php|1.4.17|4311|optional|r@
+1.4.17|themes/mac_ox_x/images|||optional|r@
+1.4.17|themes/project_vii|||optional|r@
+1.4.17|themes/project_vii/style.css|1.4.17|4311|optional|r@
+1.4.17|themes/project_vii/template.html|1.4.17|4311|optional|r@
+1.4.17|themes/project_vii/theme.php|1.4.17|4311|optional|r@
+1.4.17|themes/project_vii/images|||optional|r@
+1.4.17|themes/rainy_day|||optional|r@
+1.4.17|themes/rainy_day/style.css|1.4.17|4311|optional|r@
+1.4.17|themes/rainy_day/template.html|1.4.17|4311|optional|r@
+1.4.17|themes/rainy_day/theme.php|1.4.17|4311|optional|r@
+1.4.17|themes/rainy_day/images|||optional|r@
+1.4.17|themes/sample|||optional|r@
+1.4.17|themes/sample/style.css|1.4.17|4311|optional|r@
+1.4.17|themes/sample/template.html|1.4.17|4311|optional|r@
+1.4.17|themes/sample/theme.php|1.4.17|4311|optional|r@
+1.4.17|themes/sample/images|||optional|r@
+1.4.17|themes/water_drop|||optional|r@
+1.4.17|themes/water_drop/style.css|1.4.17|4311|optional|r@
+1.4.17|themes/water_drop/template.html|1.4.17|4311|optional|r@
+1.4.17|themes/water_drop/theme.php|1.4.17|4311|optional|r@
+1.4.17|themes/water_drop/images|||optional|r@
+1.4.18|addpic.php|1.4.18|4380|mandatory|r@
+1.4.18|admin.php|1.4.18|4380|mandatory|r@
+1.4.18|albmgr.php|1.4.18|4380|mandatory|r@
+1.4.18|anycontent.php|1.4.18|4380|mandatory|r@
+1.4.18|banning.php|1.4.18|4380|mandatory|r@
+1.4.18|bridgemgr.php|1.4.18|4380|mandatory|r@
+1.4.18|calendar.php|1.4.18|4380|mandatory|r@
+1.4.18|catmgr.php|1.4.18|4380|mandatory|r@
+1.4.18|charsetmgr.php|1.4.18|4380|mandatory|r@
+1.4.18|config.php|1.4.18|4380|optional|r@
+1.4.18|db_ecard.php|1.4.18|4380|mandatory|r@
+1.4.18|db_input.php|1.4.18|4380|mandatory|r@
+1.4.18|delete.php|1.4.18|4380|mandatory|r@
+1.4.18|displayecard.php|1.4.18|4380|mandatory|r@
+1.4.18|displayimage.php|1.4.18|4380|mandatory|r@
+1.4.18|displayreport.php|1.4.18|4380|mandatory|r@
+1.4.18|ecard.php|1.4.18|4380|mandatory|r@
+1.4.18|editOnePic.php|1.4.18|4380|mandatory|r@
+1.4.18|editpics.php|1.4.18|4380|mandatory|r@
+1.4.18|exifmgr.php|1.4.18|4380|mandatory|r@
+1.4.18|faq.php|1.4.18|4380|mandatory|r@
+1.4.18|forgot_passwd.php|1.4.18|4380|mandatory|r@
+1.4.18|getlang.php|1.4.18|4380|mandatory|r@
+1.4.18|groupmgr.php|1.4.18|4380|mandatory|r@
+1.4.18|image_processor.php|1.4.18|4380|mandatory|r@
+1.4.18|index.php|1.4.18|4380|mandatory|r@
+1.4.18|install.php|1.4.18|4380|mandatory|r@
+1.4.18|installer.css|1.4.18|4380|mandatory|r@
+1.4.18|keyword_create_dict.php|1.4.18|4380|mandatory|r@
+1.4.18|keyword_select.php|1.4.18|4380|mandatory|r@
+1.4.18|keywordmgr.php|1.4.18|4380|mandatory|r@
+1.4.18|login.php|1.4.18|4380|mandatory|r@
+1.4.18|logout.php|1.4.18|4380|mandatory|r@
+1.4.18|minibrowser.php|1.4.18|4380|mandatory|r@
+1.4.18|mode.php|1.4.18|4380|mandatory|r@
+1.4.18|modifyalb.php|1.4.18|4380|mandatory|r@
+1.4.18|phpinfo.php|1.4.18|4380|mandatory|r@
+1.4.18|picEditor.php|1.4.18|4380|mandatory|r@
+1.4.18|picmgr.php|1.4.18|4380|mandatory|r@
+1.4.18|pluginmgr.php|1.4.18|4380|mandatory|r@
+1.4.18|profile.php|1.4.18|4380|mandatory|r@
+1.4.18|ratepic.php|1.4.18|4380|mandatory|r@
+1.4.18|register.php|1.4.18|4380|mandatory|r@
+1.4.18|relocate_server.php|1.4.18|4380|optional|r@
+1.4.18|report_file.php|1.4.18|4380|mandatory|r@
+1.4.18|reviewcom.php|1.4.18|4380|mandatory|r@
+1.4.18|scripts.js|1.4.18|4380|mandatory|r@
+1.4.18|search.php|1.4.18|4380|mandatory|r@
+1.4.18|searchnew.php|1.4.18|4380|mandatory|r@
+1.4.18|showthumb.php|1.4.18|4380|mandatory|r@
+1.4.18|stat_details.php|1.4.18|4380|mandatory|r@
+1.4.18|thumbnails.php|1.4.18|4380|mandatory|r@
+1.4.18|update.php|1.4.18|4380|mandatory|r@
+1.4.18|upgrade-1.0-to-1.2.php|1.4.18|4380|mandatory|r@
+1.4.18|upload.php|1.4.18|4380|mandatory|r@
+1.4.18|usermgr.php|1.4.18|4380|mandatory|r@
+1.4.18|util.php|1.4.18|4380|mandatory|r@
+1.4.18|versioncheck.php|1.4.18|4388|mandatory|r@
+1.4.18|viewlog.php|1.4.18|4380|mandatory|r@
+1.4.18|xp_publish.php|1.4.18|4380|mandatory|r@
+1.4.18|zipdownload.php|1.4.18|4380|mandatory|r@
+1.4.18|**fullpath**|||mandatory|w@
+1.4.18|**fullpath**/index.php|||optional|w@
+1.4.18|**fullpath**/edit/index.html|||optional|w@
+1.4.18|**fullpath**/edit/no_FTP-uploads_into_this_folder!|||optional|w@
+1.4.18|**fullpath**/edit|||mandatory|w@
+1.4.18|**fullpath**/edit/index.html|||optional|w@
+1.4.18|**fullpath**/**userpics**|||mandatory|w@
+1.4.18|**fullpath**/**userpics**/index.php|||optional|w@
+1.4.18|**fullpath**/**userpics**/no_FTP-uploads_into_this_folder!|||optional|w@
+1.4.18|bridge|||mandatory|r@
+1.4.18|bridge/coppermine.inc.php|1.4.18|4381|mandatory|r@
+1.4.18|bridge/invisionboard20.inc.php|1.4.18|4380|optional|r@
+1.4.18|bridge/mambo.inc.php|1.4.18|4380|optional|r@
+1.4.18|bridge/mybb.inc.php|1.4.18|4380|optional|r@
+1.4.18|bridge/phorum.inc.php|1.4.18|4380|optional|r@
+1.4.18|bridge/phpbb.inc.php|1.4.18|4380|optional|r@
+1.4.18|bridge/phpbb2018.inc.php|1.4.18|4380|optional|r@
+1.4.18|bridge/phpbb22.inc.php|1.4.18|4380|optional|r@
+1.4.18|bridge/punbb115.inc.php|1.4.18|4380|optional|r@
+1.4.18|bridge/punbb12.inc.php|1.4.18|4380|optional|r@
+1.4.18|bridge/smf10.inc.php|1.4.18|4380|optional|r@
+1.4.18|bridge/smf20.inc.php|1.4.18|4380|optional|r@
+1.4.18|bridge/udb_base.inc.php|1.4.18|4380|mandatory|r@
+1.4.18|bridge/vbulletin30.inc.php|1.4.18|4380|optional|r@
+1.4.18|bridge/xmb.inc.php|1.4.18|4380|optional|r@
+1.4.18|bridge/xoops.inc.php|1.4.18|4380|optional|r@
+1.4.18|docs|||mandatory|r@
+1.4.18|docs/faq.htm|||optional|r@
+1.4.18|docs/faq_de.htm|||optional|r@
+1.4.18|docs/faq_fr.htm|||optional|r@
+1.4.18|docs/index.htm|1.4.18|4387|mandatory|r@
+1.4.18|docs/index_fr.htm||4380|mandatory|r@
+1.4.18|docs/README.html||4380|optional|r@
+1.4.18|docs/showdoc.php|1.4.18|4380|mandatory|r@
+1.4.18|docs/style.css|1.4.18|4380|mandatory|r@
+1.4.18|docs/theme.htm|||optional|r@
+1.4.18|docs/translation.htm|||optional|r@
+1.4.18|docs/pics|||mandatory|r@
+1.4.18|docs/theme|||optional|r@
+1.4.18|docs/theme/edit_style.html|||optional|r@
+1.4.18|docs/theme/edit_template.html|||optional|r@
+1.4.18|docs/theme/edit_theme.html|1.4.18||optional|r@
+1.4.18|docs/theme/index.html|||optional|r@
+1.4.18|docs/theme/style.css|1.4.18|4380|optional|r@
+1.4.18|docs/theme/validation.html|||optional|r@
+1.4.18|include|||mandatory|w@
+1.4.18|include/archive.php|1.4.18|4380|mandatory|r@
+1.4.18|include/config.inc.php|||mandatory|r@
+1.4.18|include/config.inc.php.sample|||optional|r@
+1.4.18|include/crop.inc.php|1.4.18|4380|mandatory|r@
+1.4.18|include/debugger.inc.php|1.4.18|4380|mandatory|r@
+1.4.18|include/exif.php|1.4.18|4380|mandatory|r@
+1.4.18|include/exif_php.inc.php|1.4.18|4380|mandatory|r@
+1.4.18|include/functions.inc.php|1.4.18|4380|mandatory|r@
+1.4.18|include/imageObjectGD.class.php|1.4.18|4380|mandatory|r@
+1.4.18|include/imageObjectIM.class.php|1.4.18|4380|mandatory|r@
+1.4.18|include/index.html|1.4.18|4380|mandatory|r@
+1.4.18|include/init.inc.php|1.4.18|4384|mandatory|r@
+1.4.18|include/iptc.inc.php|1.4.18|4380|mandatory|r@
+1.4.18|include/keyword.inc.php|1.4.18|4380|mandatory|r@
+1.4.18|include/langfallback.inc.php|1.4.18|4380|mandatory|r@
+1.4.18|include/logger.inc.php|1.4.18|4380|mandatory|r@
+1.4.18|include/mailer.inc.php|1.4.18|4380|mandatory|r@
+1.4.18|include/mb.inc.php|1.4.18|4380|mandatory|r@
+1.4.18|include/media.functions.inc.php|1.4.18|4380|mandatory|r@
+1.4.18|include/phpmailer.lang-en.php|1.4.18|4380|mandatory|r@
+1.4.18|include/picmgmt.inc.php|1.4.18|4380|mandatory|r@
+1.4.18|include/plugin_api.inc.php|1.4.18|4380|mandatory|r@
+1.4.18|include/search.inc.php|1.4.18|4380|mandatory|r@
+1.4.18|include/select_lang.inc.php|1.4.18|4380|mandatory|r@
+1.4.18|include/slideshow.inc.php|1.4.18|4380|mandatory|r@
+1.4.18|include/smilies.inc.php|1.4.18|4380|mandatory|r@
+1.4.18|include/smtp.inc.php|1.4.18|4380|mandatory|r@
+1.4.18|include/sql_parse.php|1.4.18|4380|mandatory|r@
+1.4.18|include/themes.inc.php|1.4.18|4380|mandatory|r@
+1.4.18|include/update.inc.php|1.4.18|4380|mandatory|r@
+1.4.18|include/zip.lib.php|1.4.18|4380|mandatory|r@
+1.4.18|include/makers|||mandatory|w@
+1.4.18|include/makers/canon.php|1.4.18|4380|mandatory|r@
+1.4.18|include/makers/fujifilm.php|1.4.18|4380|mandatory|r@
+1.4.18|include/makers/gps.php|1.4.18|4380|mandatory|r@
+1.4.18|include/makers/nikon.php|1.4.18|4380|mandatory|r@
+1.4.18|include/makers/olympus.php|1.4.18|4380|mandatory|r@
+1.4.18|include/makers/sanyo.php|1.4.18|4380|mandatory|r@
+1.4.18|lang|||mandatory|r@
+1.4.18|lang/albanian.php|1.4.18|4380|optional|r@
+1.4.18|lang/arabic.php|1.4.18|4380|optional|r@
+1.4.18|lang/basque.php|1.4.18|4380|optional|r@
+1.4.18|lang/brazilian_portuguese.php|1.4.18|4380|optional|r@
+1.4.18|lang/bulgarian.php|1.4.18|4380|optional|r@
+1.4.18|lang/catalan.php|1.4.18|4380|optional|r@
+1.4.18|lang/chinese_big5.php|1.4.18|4380|optional|r@
+1.4.18|lang/chinese_gb.php|1.4.18|4380|optional|r@
+1.4.18|lang/czech.php|1.4.18|4380|optional|r@
+1.4.18|lang/danish.php|1.4.18|4380|optional|r@
+1.4.18|lang/dutch.php|1.4.18|4380|optional|r@
+1.4.18|lang/english.php|1.4.18|4380|mandatory|r@
+1.4.18|lang/english_gb.php|1.4.18|4380|optional|r@
+1.4.18|lang/estonian.php|1.4.18|4380|optional|r@
+1.4.18|lang/finnish.php|1.4.18|4380|optional|r@
+1.4.18|lang/french.php|1.4.18|4380|optional|r@
+1.4.18|lang/galician.php|1.4.18|4380|optional|r@
+1.4.18|lang/georgian.php|1.4.18|4380|optional|r@
+1.4.18|lang/german.php|1.4.18|4380|optional|r@
+1.4.18|lang/german_sie.php|1.4.18|4380|optional|r@
+1.4.18|lang/greek.php|1.4.18|4380|optional|r@
+1.4.18|lang/hebrew.php|1.4.18|4380|optional|r@
+1.4.18|lang/hindi.php|1.4.18|4380|optional|r@
+1.4.18|lang/hungarian.php|1.4.18|4380|optional|r@
+1.4.18|lang/indonesian.php|1.4.18|4380|optional|r@
+1.4.18|lang/italian.php|1.4.18|4380|optional|r@
+1.4.18|lang/japanese.php|1.4.18|4380|optional|r@
+1.4.18|lang/korean.php|1.4.18|4380|optional|r@
+1.4.18|lang/latvian.php|1.4.18|3966|optional|r@
+1.4.18|lang/lithuanian.php|1.4.18|4380|optional|r@
+1.4.18|lang/macedonian.php|1.4.18|4380|optional|r@
+1.4.18|lang/norwegian.php|1.4.18|4380|optional|r@
+1.4.18|lang/persian.php|1.4.18|4380|optional|r@
+1.4.18|lang/polish.php|1.4.18|4380|optional|r@
+1.4.18|lang/portuguese.php|1.4.18|4380|optional|r@
+1.4.18|lang/romanian.php|1.4.18|4380|optional|r@
+1.4.18|lang/russian.php|1.4.18|4380|optional|r@
+1.4.18|lang/serbian.php|1.4.18|4380|optional|r@
+1.4.18|lang/serbian_cy.php|1.4.18|3966|optional|r@
+1.4.18|lang/slovak.php|1.4.18|4380|optional|r@
+1.4.18|lang/slovenian.php|1.4.18|4380|optional|r@
+1.4.18|lang/spanish.php|1.4.18|4380|optional|r@
+1.4.18|lang/swedish.php|1.4.18|4380|optional|r@
+1.4.18|lang/thai.php|1.4.18|4380|optional|r@
+1.4.18|lang/turkish.php|1.4.18|4380|optional|r@
+1.4.18|lang/ukrainian.php|1.4.18|4380|optional|r@
+1.4.18|lang/vietnamese.php|1.4.18|4380|optional|r@
+1.4.18|lang/welsh.php|1.4.18|4380|optional|r@
+1.4.18|logs|||mandatory|w@
+1.4.18|logs/log_header.inc.php|1.4.18|4380|mandatory|r@
+1.4.18|plugins|||optional|r@
+1.4.18|plugins/sample|||optional|r@
+1.4.18|plugins/sample/codebase.php|1.4.18|4380|optional|r@
+1.4.18|plugins/sample/configuration.php|1.4.18|4380|optional|r@
+1.4.18|sql|||mandatory|r@
+1.4.18|sql/basic.sql|1.4.18|4380|mandatory|r@
+1.4.18|sql/schema.sql|1.4.18|4380|mandatory|r@
+1.4.18|sql/update.sql|1.4.18|4380|mandatory|r@
+1.4.18|themes|||mandatory|r@
+1.4.18|themes/classic|||optional|r@
+1.4.18|themes/classic/style.css|1.4.18|4380|optional|r@
+1.4.18|themes/classic/template.html|1.4.18|4380|optional|r@
+1.4.18|themes/classic/theme.php|1.4.18|4380|optional|r@
+1.4.18|themes/classic/images|||optional|r@
+1.4.18|themes/eyeball|||optional|r@
+1.4.18|themes/eyeball/style.css|1.4.18|4380|optional|r@
+1.4.18|themes/eyeball/template.html|1.4.18|4380|optional|r@
+1.4.18|themes/eyeball/theme.php|1.4.18|4380|optional|r@
+1.4.18|themes/eyeball/images|||optional|r@
+1.4.18|themes/fruity|||optional|r@
+1.4.18|themes/fruity/style.css|1.4.18|4380|optional|r@
+1.4.18|themes/fruity/template.html|1.4.18|4380|optional|r@
+1.4.18|themes/fruity/theme.php|1.4.18|4380|optional|r@
+1.4.18|themes/fruity/images|||optional|r@
+1.4.18|themes/hardwired|||optional|r@
+1.4.18|themes/hardwired/style.css|1.4.18|4380|optional|r@
+1.4.18|themes/hardwired/template.html|1.4.18|4380|optional|r@
+1.4.18|themes/hardwired/theme.php|1.4.18|4380|optional|r@
+1.4.18|themes/hardwired/images|||optional|r@
+1.4.18|themes/igames|||optional|r@
+1.4.18|themes/igames/style.css|1.4.18|4380|optional|r@
+1.4.18|themes/igames/template.html|1.4.18|4380|optional|r@
+1.4.18|themes/igames/theme.php|1.4.18|4380|optional|r@
+1.4.18|themes/igames/images|||optional|r@
+1.4.18|themes/mac_ox_x|||optional|r@
+1.4.18|themes/mac_ox_x/style.css|1.4.18|4380|optional|r@
+1.4.18|themes/mac_ox_x/template.html|1.4.18|4380|optional|r@
+1.4.18|themes/mac_ox_x/theme.php|1.4.18|4380|optional|r@
+1.4.18|themes/mac_ox_x/images|||optional|r@
+1.4.18|themes/project_vii|||optional|r@
+1.4.18|themes/project_vii/style.css|1.4.18|4380|optional|r@
+1.4.18|themes/project_vii/template.html|1.4.18|4380|optional|r@
+1.4.18|themes/project_vii/theme.php|1.4.18|4380|optional|r@
+1.4.18|themes/project_vii/images|||optional|r@
+1.4.18|themes/rainy_day|||optional|r@
+1.4.18|themes/rainy_day/style.css|1.4.18|4380|optional|r@
+1.4.18|themes/rainy_day/template.html|1.4.18|4380|optional|r@
+1.4.18|themes/rainy_day/theme.php|1.4.18|4380|optional|r@
+1.4.18|themes/rainy_day/images|||optional|r@
+1.4.18|themes/sample|||optional|r@
+1.4.18|themes/sample/style.css|1.4.18|4380|optional|r@
+1.4.18|themes/sample/template.html|1.4.18|4380|optional|r@
+1.4.18|themes/sample/theme.php|1.4.18|4380|optional|r@
+1.4.18|themes/sample/images|||optional|r@
+1.4.18|themes/water_drop|||optional|r@
+1.4.18|themes/water_drop/style.css|1.4.18|4380|optional|r@
+1.4.18|themes/water_drop/template.html|1.4.18|4380|optional|r@
+1.4.18|themes/water_drop/theme.php|1.4.18|4380|optional|r@
+1.4.18|themes/water_drop/images|||optional|r@
+1.4.19|addpic.php|1.4.19|4392|mandatory|r@
+1.4.19|admin.php|1.4.19|4392|mandatory|r@
+1.4.19|albmgr.php|1.4.19|4431|mandatory|r@
+1.4.19|anycontent.php|1.4.19|4392|mandatory|r@
+1.4.19|banning.php|1.4.19|4392|mandatory|r@
+1.4.19|bridgemgr.php|1.4.19|4392|mandatory|r@
+1.4.19|calendar.php|1.4.19|4392|mandatory|r@
+1.4.19|catmgr.php|1.4.19|4392|mandatory|r@
+1.4.19|charsetmgr.php|1.4.19|4392|mandatory|r@
+1.4.19|config.php|1.4.19|4392|optional|r@
+1.4.19|db_ecard.php|1.4.19|4392|mandatory|r@
+1.4.19|db_input.php|1.4.19|4392|mandatory|r@
+1.4.19|delete.php|1.4.19|4392|mandatory|r@
+1.4.19|displayecard.php|1.4.19|4392|mandatory|r@
+1.4.19|displayimage.php|1.4.19|4392|mandatory|r@
+1.4.19|displayreport.php|1.4.19|4392|mandatory|r@
+1.4.19|ecard.php|1.4.19|4441|mandatory|r@
+1.4.19|editOnePic.php|1.4.19|4416|mandatory|r@
+1.4.19|editpics.php|1.4.19|4438|mandatory|r@
+1.4.19|exifmgr.php|1.4.19|4392|mandatory|r@
+1.4.19|faq.php|1.4.19|4392|mandatory|r@
+1.4.19|forgot_passwd.php|1.4.19|4392|mandatory|r@
+1.4.19|getlang.php|1.4.19|4392|mandatory|r@
+1.4.19|groupmgr.php|1.4.19|4419|mandatory|r@
+1.4.19|image_processor.php|1.4.19|4392|mandatory|r@
+1.4.19|index.php|1.4.19|4392|mandatory|r@
+1.4.19|install.php|1.4.19|4392|mandatory|r@
+1.4.19|installer.css|1.4.19|4392|mandatory|r@
+1.4.19|keyword_create_dict.php|1.4.19|4392|mandatory|r@
+1.4.19|keyword_select.php|1.4.19|4392|mandatory|r@
+1.4.19|keywordmgr.php|1.4.19|4392|mandatory|r@
+1.4.19|login.php|1.4.19|4392|mandatory|r@
+1.4.19|logout.php|1.4.19|4392|mandatory|r@
+1.4.19|minibrowser.php|1.4.19|4392|mandatory|r@
+1.4.19|mode.php|1.4.19|4392|mandatory|r@
+1.4.19|modifyalb.php|1.4.19|4445|mandatory|r@
+1.4.19|phpinfo.php|1.4.19|4392|mandatory|r@
+1.4.19|picEditor.php|1.4.19|4420|mandatory|r@
+1.4.19|picmgr.php|1.4.19|4442|mandatory|r@
+1.4.19|pluginmgr.php|1.4.19|4392|mandatory|r@
+1.4.19|profile.php|1.4.19|4754|mandatory|r@
+1.4.19|ratepic.php|1.4.19|4392|mandatory|r@
+1.4.19|register.php|1.4.19|4392|mandatory|r@
+1.4.19|relocate_server.php|1.4.19|4392|optional|r@
+1.4.19|report_file.php|1.4.19|4437|mandatory|r@
+1.4.19|reviewcom.php|1.4.19|4421|mandatory|r@
+1.4.19|scripts.js|1.4.19|4392|mandatory|r@
+1.4.19|search.php|1.4.19|4392|mandatory|r@
+1.4.19|searchnew.php|1.4.19|4392|mandatory|r@
+1.4.19|showthumb.php|1.4.19|4392|mandatory|r@
+1.4.19|stat_details.php|1.4.19|4392|mandatory|r@
+1.4.19|thumbnails.php|1.4.19|4392|mandatory|r@
+1.4.19|update.php|1.4.19|4392|mandatory|r@
+1.4.19|upgrade-1.0-to-1.2.php|1.4.19|4392|mandatory|r@
+1.4.19|upload.php|1.4.19|4424|mandatory|r@
+1.4.19|usermgr.php|1.4.19|4392|mandatory|r@
+1.4.19|util.php|1.4.19|4392|mandatory|r@
+1.4.19|versioncheck.php|1.4.19|4766|mandatory|r@
+1.4.19|viewlog.php|1.4.19|4392|mandatory|r@
+1.4.19|xp_publish.php|1.4.19|4392|mandatory|r@
+1.4.19|zipdownload.php|1.4.19|4392|mandatory|r@
+1.4.19|**fullpath**|||mandatory|w@
+1.4.19|**fullpath**/index.php|||optional|w@
+1.4.19|**fullpath**/edit/index.html|||optional|w@
+1.4.19|**fullpath**/edit/no_FTP-uploads_into_this_folder!|||optional|w@
+1.4.19|**fullpath**/edit|||mandatory|w@
+1.4.19|**fullpath**/edit/index.html|||optional|w@
+1.4.19|**fullpath**/**userpics**|||mandatory|w@
+1.4.19|**fullpath**/**userpics**/index.php|||optional|w@
+1.4.19|**fullpath**/**userpics**/no_FTP-uploads_into_this_folder!|||optional|w@
+1.4.19|bridge|||mandatory|r@
+1.4.19|bridge/coppermine.inc.php|1.4.19|4392|mandatory|r@
+1.4.19|bridge/invisionboard20.inc.php|1.4.19|4392|optional|r@
+1.4.19|bridge/mambo.inc.php|1.4.19|4392|optional|r@
+1.4.19|bridge/mybb.inc.php|1.4.19|4392|optional|r@
+1.4.19|bridge/phorum.inc.php|1.4.19|4392|optional|r@
+1.4.19|bridge/phpbb.inc.php|1.4.19|4392|optional|r@
+1.4.19|bridge/phpbb2018.inc.php|1.4.19|4392|optional|r@
+1.4.19|bridge/phpbb22.inc.php|1.4.19|4392|optional|r@
+1.4.19|bridge/punbb115.inc.php|1.4.19|4392|optional|r@
+1.4.19|bridge/punbb12.inc.php|1.4.19|4392|optional|r@
+1.4.19|bridge/smf10.inc.php|1.4.19|4722|optional|r@
+1.4.19|bridge/smf20.inc.php|1.4.19|4722|optional|r@
+1.4.19|bridge/udb_base.inc.php|1.4.19|4428|mandatory|r@
+1.4.19|bridge/vbulletin30.inc.php|1.4.19|4392|optional|r@
+1.4.19|bridge/xmb.inc.php|1.4.19|4392|optional|r@
+1.4.19|bridge/xoops.inc.php|1.4.19|4392|optional|r@
+1.4.19|docs|||mandatory|r@
+1.4.19|docs/faq.htm|||optional|r@
+1.4.19|docs/faq_de.htm|||optional|r@
+1.4.19|docs/faq_fr.htm|||optional|r@
+1.4.19|docs/index.htm|1.4.19|4763|mandatory|r@
+1.4.19|docs/index_es.htm|1.4.19|4392|mandatory|r@
+1.4.19|docs/index_fr.htm||4392|mandatory|r@
+1.4.19|docs/README.html||4392|optional|r@
+1.4.19|docs/showdoc.php|1.4.19|4392|mandatory|r@
+1.4.19|docs/style.css|1.4.19|4392|mandatory|r@
+1.4.19|docs/theme.htm|||optional|r@
+1.4.19|docs/translation.htm|||optional|r@
+1.4.19|docs/pics|||mandatory|r@
+1.4.19|docs/theme|||optional|r@
+1.4.19|docs/theme/edit_style.html|||optional|r@
+1.4.19|docs/theme/edit_template.html|||optional|r@
+1.4.19|docs/theme/edit_theme.html|1.4.19||optional|r@
+1.4.19|docs/theme/index.html|||optional|r@
+1.4.19|docs/theme/style.css|1.4.19|4392|optional|r@
+1.4.19|docs/theme/validation.html|||optional|r@
+1.4.19|include|||mandatory|w@
+1.4.19|include/archive.php|1.4.19|4392|mandatory|r@
+1.4.19|include/config.inc.php|||mandatory|r@
+1.4.19|include/config.inc.php.sample|||optional|r@
+1.4.19|include/crop.inc.php|1.4.19|4392|mandatory|r@
+1.4.19|include/debugger.inc.php|1.4.19|4392|mandatory|r@
+1.4.19|include/exif.php|1.4.19|4392|mandatory|r@
+1.4.19|include/exif_php.inc.php|1.4.19|4392|mandatory|r@
+1.4.19|include/functions.inc.php|1.4.19|4753|mandatory|r@
+1.4.19|include/imageObjectGD.class.php|1.4.19|4392|mandatory|r@
+1.4.19|include/imageObjectIM.class.php|1.4.19|4392|mandatory|r@
+1.4.19|include/index.html|1.4.19|4392|mandatory|r@
+1.4.19|include/init.inc.php|1.4.19|4396|mandatory|r@
+1.4.19|include/iptc.inc.php|1.4.19|4392|mandatory|r@
+1.4.19|include/keyword.inc.php|1.4.19|4458|mandatory|r@
+1.4.19|include/langfallback.inc.php|1.4.19|4392|mandatory|r@
+1.4.19|include/logger.inc.php|1.4.19|4392|mandatory|r@
+1.4.19|include/mailer.inc.php|1.4.19|4392|mandatory|r@
+1.4.19|include/mb.inc.php|1.4.19|4392|mandatory|r@
+1.4.19|include/media.functions.inc.php|1.4.19|4392|mandatory|r@
+1.4.19|include/phpmailer.lang-en.php|1.4.19|4392|mandatory|r@
+1.4.19|include/picmgmt.inc.php|1.4.19|4392|mandatory|r@
+1.4.19|include/plugin_api.inc.php|1.4.19|4392|mandatory|r@
+1.4.19|include/search.inc.php|1.4.19|4392|mandatory|r@
+1.4.19|include/select_lang.inc.php|1.4.19|4392|mandatory|r@
+1.4.19|include/slideshow.inc.php|1.4.19|4449|mandatory|r@
+1.4.19|include/smilies.inc.php|1.4.19|4392|mandatory|r@
+1.4.19|include/smtp.inc.php|1.4.19|4392|mandatory|r@
+1.4.19|include/sql_parse.php|1.4.19|4450|mandatory|r@
+1.4.19|include/themes.inc.php|1.4.19|4454|mandatory|r@
+1.4.19|include/update.inc.php|1.4.19|4392|mandatory|r@
+1.4.19|include/zip.lib.php|1.4.19|4392|mandatory|r@
+1.4.19|include/makers|||mandatory|w@
+1.4.19|include/makers/canon.php|1.4.19|4392|mandatory|r@
+1.4.19|include/makers/fujifilm.php|1.4.19|4392|mandatory|r@
+1.4.19|include/makers/gps.php|1.4.19|4392|mandatory|r@
+1.4.19|include/makers/nikon.php|1.4.19|4392|mandatory|r@
+1.4.19|include/makers/olympus.php|1.4.19|4392|mandatory|r@
+1.4.19|include/makers/sanyo.php|1.4.19|4392|mandatory|r@
+1.4.19|lang|||mandatory|r@
+1.4.19|lang/albanian.php|1.4.19|4392|optional|r@
+1.4.19|lang/arabic.php|1.4.19|4392|optional|r@
+1.4.19|lang/basque.php|1.4.19|4392|optional|r@
+1.4.19|lang/brazilian_portuguese.php|1.4.19|4392|optional|r@
+1.4.19|lang/bulgarian.php|1.4.19|4392|optional|r@
+1.4.19|lang/catalan.php|1.4.19|4392|optional|r@
+1.4.19|lang/chinese_big5.php|1.4.19|4392|optional|r@
+1.4.19|lang/chinese_gb.php|1.4.19|4392|optional|r@
+1.4.19|lang/czech.php|1.4.19|4392|optional|r@
+1.4.19|lang/danish.php|1.4.19|4404|optional|r@
+1.4.19|lang/dutch.php|1.4.19|4392|optional|r@
+1.4.19|lang/english.php|1.4.19|4392|mandatory|r@
+1.4.19|lang/english_gb.php|1.4.19|4392|optional|r@
+1.4.19|lang/estonian.php|1.4.19|4392|optional|r@
+1.4.19|lang/finnish.php|1.4.19|4392|optional|r@
+1.4.19|lang/french.php|1.4.19|4392|optional|r@
+1.4.19|lang/galician.php|1.4.19|4392|optional|r@
+1.4.19|lang/georgian.php|1.4.19|4392|optional|r@
+1.4.19|lang/german.php|1.4.19|4392|optional|r@
+1.4.19|lang/german_sie.php|1.4.19|4475|optional|r@
+1.4.19|lang/greek.php|1.4.19|4392|optional|r@
+1.4.19|lang/hebrew.php|1.4.19|4392|optional|r@
+1.4.19|lang/hindi.php|1.4.19|4392|optional|r@
+1.4.19|lang/hungarian.php|1.4.19|4392|optional|r@
+1.4.19|lang/indonesian.php|1.4.19|4392|optional|r@
+1.4.19|lang/italian.php|1.4.19|4392|optional|r@
+1.4.19|lang/japanese.php|1.4.19|4392|optional|r@
+1.4.19|lang/korean.php|1.4.19|4392|optional|r@
+1.4.19|lang/latvian.php|1.4.19|3966|optional|r@
+1.4.19|lang/lithuanian.php|1.4.19|4392|optional|r@
+1.4.19|lang/macedonian.php|1.4.19|4392|optional|r@
+1.4.19|lang/norwegian.php|1.4.19|4392|optional|r@
+1.4.19|lang/persian.php|1.4.19|4392|optional|r@
+1.4.19|lang/polish.php|1.4.19|4392|optional|r@
+1.4.19|lang/portuguese.php|1.4.19|4392|optional|r@
+1.4.19|lang/romanian.php|1.4.19|4392|optional|r@
+1.4.19|lang/russian.php|1.4.19|4392|optional|r@
+1.4.19|lang/serbian.php|1.4.19|4392|optional|r@
+1.4.19|lang/serbian_cy.php|1.4.19|3966|optional|r@
+1.4.19|lang/slovak.php|1.4.19|4457|optional|r@
+1.4.19|lang/slovenian.php|1.4.19|4392|optional|r@
+1.4.19|lang/spanish.php|1.4.19|4392|optional|r@
+1.4.19|lang/swedish.php|1.4.19|4392|optional|r@
+1.4.19|lang/thai.php|1.4.19|4392|optional|r@
+1.4.19|lang/turkish.php|1.4.19|4392|optional|r@
+1.4.19|lang/ukrainian.php|1.4.19|4392|optional|r@
+1.4.19|lang/vietnamese.php|1.4.19|4392|optional|r@
+1.4.19|lang/welsh.php|1.4.19|4380|optional|r@
+1.4.19|logs|||mandatory|w@
+1.4.19|logs/log_header.inc.php|1.4.19|4392|mandatory|r@
+1.4.19|plugins|||optional|r@
+1.4.19|plugins/sample|||optional|r@
+1.4.19|plugins/sample/codebase.php|1.4.19|4392|optional|r@
+1.4.19|plugins/sample/configuration.php|1.4.19|4392|optional|r@
+1.4.19|sql|||mandatory|r@
+1.4.19|sql/basic.sql|1.4.19|4392|mandatory|r@
+1.4.19|sql/schema.sql|1.4.19|4392|mandatory|r@
+1.4.19|sql/update.sql|1.4.19|4392|mandatory|r@
+1.4.19|themes|||mandatory|r@
+1.4.19|themes/classic|||optional|r@
+1.4.19|themes/classic/style.css|1.4.19|4392|optional|r@
+1.4.19|themes/classic/template.html|1.4.19|4392|optional|r@
+1.4.19|themes/classic/theme.php|1.4.19|4392|optional|r@
+1.4.19|themes/classic/images|||optional|r@
+1.4.19|themes/eyeball|||optional|r@
+1.4.19|themes/eyeball/style.css|1.4.19|4392|optional|r@
+1.4.19|themes/eyeball/template.html|1.4.19|4392|optional|r@
+1.4.19|themes/eyeball/theme.php|1.4.19|4392|optional|r@
+1.4.19|themes/eyeball/images|||optional|r@
+1.4.19|themes/fruity|||optional|r@
+1.4.19|themes/fruity/style.css|1.4.19|4392|optional|r@
+1.4.19|themes/fruity/template.html|1.4.19|4392|optional|r@
+1.4.19|themes/fruity/theme.php|1.4.19|4392|optional|r@
+1.4.19|themes/fruity/images|||optional|r@
+1.4.19|themes/hardwired|||optional|r@
+1.4.19|themes/hardwired/style.css|1.4.19|4392|optional|r@
+1.4.19|themes/hardwired/template.html|1.4.19|4392|optional|r@
+1.4.19|themes/hardwired/theme.php|1.4.19|4392|optional|r@
+1.4.19|themes/hardwired/images|||optional|r@
+1.4.19|themes/igames|||optional|r@
+1.4.19|themes/igames/style.css|1.4.19|4392|optional|r@
+1.4.19|themes/igames/template.html|1.4.19|4392|optional|r@
+1.4.19|themes/igames/theme.php|1.4.19|4392|optional|r@
+1.4.19|themes/igames/images|||optional|r@
+1.4.19|themes/mac_ox_x|||optional|r@
+1.4.19|themes/mac_ox_x/style.css|1.4.19|4392|optional|r@
+1.4.19|themes/mac_ox_x/template.html|1.4.19|4392|optional|r@
+1.4.19|themes/mac_ox_x/theme.php|1.4.19|4392|optional|r@
+1.4.19|themes/mac_ox_x/images|||optional|r@
+1.4.19|themes/project_vii|||optional|r@
+1.4.19|themes/project_vii/style.css|1.4.19|4392|optional|r@
+1.4.19|themes/project_vii/template.html|1.4.19|4392|optional|r@
+1.4.19|themes/project_vii/theme.php|1.4.19|4392|optional|r@
+1.4.19|themes/project_vii/images|||optional|r@
+1.4.19|themes/rainy_day|||optional|r@
+1.4.19|themes/rainy_day/style.css|1.4.19|4392|optional|r@
+1.4.19|themes/rainy_day/template.html|1.4.19|4392|optional|r@
+1.4.19|themes/rainy_day/theme.php|1.4.19|4392|optional|r@
+1.4.19|themes/rainy_day/images|||optional|r@
+1.4.19|themes/sample|||optional|r@
+1.4.19|themes/sample/style.css|1.4.19|4392|optional|r@
+1.4.19|themes/sample/template.html|1.4.19|4392|optional|r@
+1.4.19|themes/sample/theme.php|1.4.19|4455|optional|r@
+1.4.19|themes/sample/images|||optional|r@
+1.4.19|themes/water_drop|||optional|r@
+1.4.19|themes/water_drop/style.css|1.4.19|4392|optional|r@
+1.4.19|themes/water_drop/template.html|1.4.19|4392|optional|r@
+1.4.19|themes/water_drop/theme.php|1.4.19|4392|optional|r@
+1.4.19|themes/water_drop/images|||optional|r@
+1.4.20|addpic.php|1.4.20|5705|mandatory|r@
+1.4.20|admin.php|1.4.20|5705|mandatory|r@
+1.4.20|albmgr.php|1.4.20|5705|mandatory|r@
+1.4.20|anycontent.php|1.4.20|5705|mandatory|r@
+1.4.20|banning.php|1.4.20|5705|mandatory|r@
+1.4.20|bridgemgr.php|1.4.20|5705|mandatory|r@
+1.4.20|calendar.php|1.4.20|5705|mandatory|r@
+1.4.20|catmgr.php|1.4.20|5705|mandatory|r@
+1.4.20|charsetmgr.php|1.4.20|5705|mandatory|r@
+1.4.20|config.php|1.4.20|5705|optional|r@
+1.4.20|db_ecard.php|1.4.20|5705|mandatory|r@
+1.4.20|db_input.php|1.4.20|5705|mandatory|r@
+1.4.20|delete.php|1.4.20|5705|mandatory|r@
+1.4.20|displayecard.php|1.4.20|5705|mandatory|r@
+1.4.20|displayimage.php|1.4.20|5705|mandatory|r@
+1.4.20|displayreport.php|1.4.20|5705|mandatory|r@
+1.4.20|ecard.php|1.4.20|5705|mandatory|r@
+1.4.20|editOnePic.php|1.4.20|5705|mandatory|r@
+1.4.20|editpics.php|1.4.20|5705|mandatory|r@
+1.4.20|exifmgr.php|1.4.20|5705|mandatory|r@
+1.4.20|faq.php|1.4.20|5705|mandatory|r@
+1.4.20|forgot_passwd.php|1.4.20|5705|mandatory|r@
+1.4.20|getlang.php|1.4.20|5705|mandatory|r@
+1.4.20|groupmgr.php|1.4.20|5705|mandatory|r@
+1.4.20|image_processor.php|1.4.20|5705|mandatory|r@
+1.4.20|index.php|1.4.20|5705|mandatory|r@
+1.4.20|install.php|1.4.20|5705|mandatory|r@
+1.4.20|installer.css|1.4.20|5705|mandatory|r@
+1.4.20|keyword_create_dict.php|1.4.20|5705|mandatory|r@
+1.4.20|keyword_select.php|1.4.20|5705|mandatory|r@
+1.4.20|keywordmgr.php|1.4.20|5705|mandatory|r@
+1.4.20|login.php|1.4.20|5705|mandatory|r@
+1.4.20|logout.php|1.4.20|5705|mandatory|r@
+1.4.20|minibrowser.php|1.4.20|5705|mandatory|r@
+1.4.20|mode.php|1.4.20|5705|mandatory|r@
+1.4.20|modifyalb.php|1.4.20|5705|mandatory|r@
+1.4.20|phpinfo.php|1.4.20|5705|mandatory|r@
+1.4.20|picEditor.php|1.4.20|5707|mandatory|r@
+1.4.20|picmgr.php|1.4.20|5705|mandatory|r@
+1.4.20|pluginmgr.php|1.4.20|5705|mandatory|r@
+1.4.20|profile.php|1.4.20|5705|mandatory|r@
+1.4.20|ratepic.php|1.4.20|5705|mandatory|r@
+1.4.20|register.php|1.4.20|5705|mandatory|r@
+1.4.20|relocate_server.php|1.4.20|5705|optional|r@
+1.4.20|report_file.php|1.4.20|5705|mandatory|r@
+1.4.20|reviewcom.php|1.4.20|5705|mandatory|r@
+1.4.20|scripts.js|1.4.20|5705|mandatory|r@
+1.4.20|search.php|1.4.20|5705|mandatory|r@
+1.4.20|searchnew.php|1.4.20|5705|mandatory|r@
+1.4.20|showthumb.php|1.4.20|5705|mandatory|r@
+1.4.20|stat_details.php|1.4.20|5705|mandatory|r@
+1.4.20|thumbnails.php|1.4.20|5705|mandatory|r@
+1.4.20|update.php|1.4.20|5705|mandatory|r@
+1.4.20|upgrade-1.0-to-1.2.php|1.4.20|5705|mandatory|r@
+1.4.20|upload.php|1.4.20|5705|mandatory|r@
+1.4.20|usermgr.php|1.4.20|5705|mandatory|r@
+1.4.20|util.php|1.4.20|5705|mandatory|r@
+1.4.20|versioncheck.php|1.4.20|5712|mandatory|r@
+1.4.20|viewlog.php|1.4.20|5705|mandatory|r@
+1.4.20|xp_publish.php|1.4.20|5705|mandatory|r@
+1.4.20|zipdownload.php|1.4.20|5705|mandatory|r@
+1.4.20|**fullpath**|||mandatory|w@
+1.4.20|**fullpath**/index.php|||optional|w@
+1.4.20|**fullpath**/edit/index.html|||optional|w@
+1.4.20|**fullpath**/edit/no_FTP-uploads_into_this_folder!|||optional|w@
+1.4.20|**fullpath**/edit|||mandatory|w@
+1.4.20|**fullpath**/edit/index.html|||optional|w@
+1.4.20|**fullpath**/**userpics**|||mandatory|w@
+1.4.20|**fullpath**/**userpics**/index.php|||optional|w@
+1.4.20|**fullpath**/**userpics**/no_FTP-uploads_into_this_folder!|||optional|w@
+1.4.20|bridge|||mandatory|r@
+1.4.20|bridge/coppermine.inc.php|1.4.20|5705|mandatory|r@
+1.4.20|bridge/invisionboard20.inc.php|1.4.20|5705|optional|r@
+1.4.20|bridge/mambo.inc.php|1.4.20|5705|optional|r@
+1.4.20|bridge/mybb.inc.php|1.4.20|5705|optional|r@
+1.4.20|bridge/phorum.inc.php|1.4.20|5705|optional|r@
+1.4.20|bridge/phpbb.inc.php|1.4.20|5705|optional|r@
+1.4.20|bridge/phpbb2018.inc.php|1.4.20|5705|optional|r@
+1.4.20|bridge/phpbb22.inc.php|1.4.20|5705|optional|r@
+1.4.20|bridge/punbb115.inc.php|1.4.20|5705|optional|r@
+1.4.20|bridge/punbb12.inc.php|1.4.20|5705|optional|r@
+1.4.20|bridge/smf10.inc.php|1.4.20|5705|optional|r@
+1.4.20|bridge/smf20.inc.php|1.4.20|5705|optional|r@
+1.4.20|bridge/udb_base.inc.php|1.4.20|5705|mandatory|r@
+1.4.20|bridge/vbulletin30.inc.php|1.4.20|5705|optional|r@
+1.4.20|bridge/xmb.inc.php|1.4.20|5706|optional|r@
+1.4.20|bridge/xoops.inc.php|1.4.20|5705|optional|r@
+1.4.20|docs|||mandatory|r@
+1.4.20|docs/faq.htm|||optional|r@
+1.4.20|docs/faq_de.htm|||optional|r@
+1.4.20|docs/faq_fr.htm|||optional|r@
+1.4.20|docs/index.htm|1.4.20|5710|mandatory|r@
+1.4.20|docs/index_es.htm|1.4.20|4392|mandatory|r@
+1.4.20|docs/index_fr.htm||5705|mandatory|r@
+1.4.20|docs/README.html||5705|optional|r@
+1.4.20|docs/showdoc.php|1.4.20|5705|mandatory|r@
+1.4.20|docs/style.css|1.4.20|5705|mandatory|r@
+1.4.20|docs/theme.htm|||optional|r@
+1.4.20|docs/translation.htm|||optional|r@
+1.4.20|docs/pics|||mandatory|r@
+1.4.20|docs/theme|||optional|r@
+1.4.20|docs/theme/edit_style.html|||optional|r@
+1.4.20|docs/theme/edit_template.html|||optional|r@
+1.4.20|docs/theme/edit_theme.html|1.4.20||optional|r@
+1.4.20|docs/theme/index.html|||optional|r@
+1.4.20|docs/theme/style.css|1.4.20|5705|optional|r@
+1.4.20|docs/theme/validation.html|||optional|r@
+1.4.20|include|||mandatory|w@
+1.4.20|include/archive.php|1.4.20|5705|mandatory|r@
+1.4.20|include/config.inc.php|||mandatory|r@
+1.4.20|include/config.inc.php.sample|||optional|r@
+1.4.20|include/crop.inc.php|1.4.20|5705|mandatory|r@
+1.4.20|include/debugger.inc.php|1.4.20|5705|mandatory|r@
+1.4.20|include/exif.php|1.4.20|5705|mandatory|r@
+1.4.20|include/exif_php.inc.php|1.4.20|5705|mandatory|r@
+1.4.20|include/functions.inc.php|1.4.20|5705|mandatory|r@
+1.4.20|include/imageObjectGD.class.php|1.4.20|5705|mandatory|r@
+1.4.20|include/imageObjectIM.class.php|1.4.20|5705|mandatory|r@
+1.4.20|include/index.html|1.4.20|4784|mandatory|r@
+1.4.20|include/init.inc.php|1.4.20|5710|mandatory|r@
+1.4.20|include/iptc.inc.php|1.4.20|5705|mandatory|r@
+1.4.20|include/keyword.inc.php|1.4.20|5705|mandatory|r@
+1.4.20|include/langfallback.inc.php|1.4.20|5705|mandatory|r@
+1.4.20|include/logger.inc.php|1.4.20|5705|mandatory|r@
+1.4.20|include/mailer.inc.php|1.4.20|5705|mandatory|r@
+1.4.20|include/mb.inc.php|1.4.20|5705|mandatory|r@
+1.4.20|include/media.functions.inc.php|1.4.20|5705|mandatory|r@
+1.4.20|include/phpmailer.lang-en.php|1.4.20|5705|mandatory|r@
+1.4.20|include/picmgmt.inc.php|1.4.20|5705|mandatory|r@
+1.4.20|include/plugin_api.inc.php|1.4.20|5705|mandatory|r@
+1.4.20|include/search.inc.php|1.4.20|5705|mandatory|r@
+1.4.20|include/select_lang.inc.php|1.4.20|5705|mandatory|r@
+1.4.20|include/slideshow.inc.php|1.4.20|5705|mandatory|r@
+1.4.20|include/smilies.inc.php|1.4.20|5705|mandatory|r@
+1.4.20|include/smtp.inc.php|1.4.20|5705|mandatory|r@
+1.4.20|include/sql_parse.php|1.4.20|5705|mandatory|r@
+1.4.20|include/themes.inc.php|1.4.20|5705|mandatory|r@
+1.4.20|include/update.inc.php|1.4.20|5705|mandatory|r@
+1.4.20|include/zip.lib.php|1.4.20|5705|mandatory|r@
+1.4.20|include/makers|||mandatory|w@
+1.4.20|include/makers/canon.php|1.4.20|5705|mandatory|r@
+1.4.20|include/makers/fujifilm.php|1.4.20|5705|mandatory|r@
+1.4.20|include/makers/gps.php|1.4.20|5705|mandatory|r@
+1.4.20|include/makers/nikon.php|1.4.20|5705|mandatory|r@
+1.4.20|include/makers/olympus.php|1.4.20|5705|mandatory|r@
+1.4.20|include/makers/sanyo.php|1.4.20|5705|mandatory|r@
+1.4.20|lang|||mandatory|r@
+1.4.20|lang/albanian.php|1.4.20|5705|optional|r@
+1.4.20|lang/arabic.php|1.4.20|5705|optional|r@
+1.4.20|lang/basque.php|1.4.20|5705|optional|r@
+1.4.20|lang/brazilian_portuguese.php|1.4.20|5705|optional|r@
+1.4.20|lang/bulgarian.php|1.4.20|5705|optional|r@
+1.4.20|lang/catalan.php|1.4.20|5705|optional|r@
+1.4.20|lang/chinese_big5.php|1.4.20|5705|optional|r@
+1.4.20|lang/chinese_gb.php|1.4.20|5705|optional|r@
+1.4.20|lang/czech.php|1.4.20|5705|optional|r@
+1.4.20|lang/danish.php|1.4.20|5705|optional|r@
+1.4.20|lang/dutch.php|1.4.20|5705|optional|r@
+1.4.20|lang/english.php|1.4.20|5705|mandatory|r@
+1.4.20|lang/english_gb.php|1.4.20|5705|optional|r@
+1.4.20|lang/estonian.php|1.4.20|5705|optional|r@
+1.4.20|lang/finnish.php|1.4.20|5705|optional|r@
+1.4.20|lang/french.php|1.4.20|5705|optional|r@
+1.4.20|lang/galician.php|1.4.20|5705|optional|r@
+1.4.20|lang/georgian.php|1.4.20|5705|optional|r@
+1.4.20|lang/german.php|1.4.20|5705|optional|r@
+1.4.20|lang/german_sie.php|1.4.20|5705|optional|r@
+1.4.20|lang/greek.php|1.4.20|5705|optional|r@
+1.4.20|lang/hebrew.php|1.4.20|5705|optional|r@
+1.4.20|lang/hindi.php|1.4.20|5705|optional|r@
+1.4.20|lang/hungarian.php|1.4.20|5705|optional|r@
+1.4.20|lang/indonesian.php|1.4.20|5705|optional|r@
+1.4.20|lang/italian.php|1.4.20|5705|optional|r@
+1.4.20|lang/japanese.php|1.4.20|5705|optional|r@
+1.4.20|lang/korean.php|1.4.20|5705|optional|r@
+1.4.20|lang/latvian.php|1.4.20|3966|optional|r@
+1.4.20|lang/lithuanian.php|1.4.20|5705|optional|r@
+1.4.20|lang/macedonian.php|1.4.20|5705|optional|r@
+1.4.20|lang/norwegian.php|1.4.20|5705|optional|r@
+1.4.20|lang/persian.php|1.4.20|5705|optional|r@
+1.4.20|lang/polish.php|1.4.20|5705|optional|r@
+1.4.20|lang/portuguese.php|1.4.20|5705|optional|r@
+1.4.20|lang/romanian.php|1.4.20|5705|optional|r@
+1.4.20|lang/russian.php|1.4.20|5705|optional|r@
+1.4.20|lang/serbian.php|1.4.20|5705|optional|r@
+1.4.20|lang/serbian_cy.php|1.4.20|3966|optional|r@
+1.4.20|lang/slovak.php|1.4.20|5705|optional|r@
+1.4.20|lang/slovenian.php|1.4.20|5705|optional|r@
+1.4.20|lang/spanish.php|1.4.20|5705|optional|r@
+1.4.20|lang/swedish.php|1.4.20|5705|optional|r@
+1.4.20|lang/thai.php|1.4.20|5705|optional|r@
+1.4.20|lang/turkish.php|1.4.20|5705|optional|r@
+1.4.20|lang/ukrainian.php|1.4.20|5705|optional|r@
+1.4.20|lang/vietnamese.php|1.4.20|5705|optional|r@
+1.4.20|lang/welsh.php|1.4.20|4380|optional|r@
+1.4.20|logs|||mandatory|w@
+1.4.20|logs/log_header.inc.php|1.4.20|5705|mandatory|r@
+1.4.20|plugins|||optional|r@
+1.4.20|plugins/sample|||optional|r@
+1.4.20|plugins/sample/codebase.php|1.4.20|5705|optional|r@
+1.4.20|plugins/sample/configuration.php|1.4.20|5705|optional|r@
+1.4.20|sql|||mandatory|r@
+1.4.20|sql/basic.sql|1.4.20|5705|mandatory|r@
+1.4.20|sql/schema.sql|1.4.20|5705|mandatory|r@
+1.4.20|sql/update.sql|1.4.20|5705|mandatory|r@
+1.4.20|themes|||mandatory|r@
+1.4.20|themes/classic|||optional|r@
+1.4.20|themes/classic/style.css|1.4.20|5705|optional|r@
+1.4.20|themes/classic/template.html|1.4.20|4784|optional|r@
+1.4.20|themes/classic/theme.php|1.4.20|5705|optional|r@
+1.4.20|themes/classic/images|||optional|r@
+1.4.20|themes/eyeball|||optional|r@
+1.4.20|themes/eyeball/style.css|1.4.20|5705|optional|r@
+1.4.20|themes/eyeball/template.html|1.4.20|4784|optional|r@
+1.4.20|themes/eyeball/theme.php|1.4.20|5705|optional|r@
+1.4.20|themes/eyeball/images|||optional|r@
+1.4.20|themes/fruity|||optional|r@
+1.4.20|themes/fruity/style.css|1.4.20|5705|optional|r@
+1.4.20|themes/fruity/template.html|1.4.20|4784|optional|r@
+1.4.20|themes/fruity/theme.php|1.4.20|5705|optional|r@
+1.4.20|themes/fruity/images|||optional|r@
+1.4.20|themes/hardwired|||optional|r@
+1.4.20|themes/hardwired/style.css|1.4.20|5705|optional|r@
+1.4.20|themes/hardwired/template.html|1.4.20|4784|optional|r@
+1.4.20|themes/hardwired/theme.php|1.4.20|5711|optional|r@
+1.4.20|themes/hardwired/images|||optional|r@
+1.4.20|themes/igames|||optional|r@
+1.4.20|themes/igames/style.css|1.4.20|5705|optional|r@
+1.4.20|themes/igames/template.html|1.4.20|4784|optional|r@
+1.4.20|themes/igames/theme.php|1.4.20|5705|optional|r@
+1.4.20|themes/igames/images|||optional|r@
+1.4.20|themes/mac_ox_x|||optional|r@
+1.4.20|themes/mac_ox_x/style.css|1.4.20|5705|optional|r@
+1.4.20|themes/mac_ox_x/template.html|1.4.20|4784|optional|r@
+1.4.20|themes/mac_ox_x/theme.php|1.4.20|5705|optional|r@
+1.4.20|themes/mac_ox_x/images|||optional|r@
+1.4.20|themes/project_vii|||optional|r@
+1.4.20|themes/project_vii/style.css|1.4.20|5705|optional|r@
+1.4.20|themes/project_vii/template.html|1.4.20|4784|optional|r@
+1.4.20|themes/project_vii/theme.php|1.4.20|5705|optional|r@
+1.4.20|themes/project_vii/images|||optional|r@
+1.4.20|themes/rainy_day|||optional|r@
+1.4.20|themes/rainy_day/style.css|1.4.20|5705|optional|r@
+1.4.20|themes/rainy_day/template.html|1.4.20|4784|optional|r@
+1.4.20|themes/rainy_day/theme.php|1.4.20|5705|optional|r@
+1.4.20|themes/rainy_day/images|||optional|r@
+1.4.20|themes/sample|||optional|r@
+1.4.20|themes/sample/style.css|1.4.20|5705|optional|r@
+1.4.20|themes/sample/template.html|1.4.20|4784|optional|r@
+1.4.20|themes/sample/theme.php|1.4.20|5705|optional|r@
+1.4.20|themes/sample/images|||optional|r@
+1.4.20|themes/water_drop|||optional|r@
+1.4.20|themes/water_drop/style.css|1.4.20|5705|optional|r@
+1.4.20|themes/water_drop/template.html|1.4.20|4784|optional|r@
+1.4.20|themes/water_drop/theme.php|1.4.20|5705|optional|r@
+1.4.20|themes/water_drop/images|||optional|r@
+1.4.21|addpic.php|1.4.21|5728|mandatory|r@
+1.4.21|admin.php|1.4.21|5728|mandatory|r@
+1.4.21|albmgr.php|1.4.21|5728|mandatory|r@
+1.4.21|anycontent.php|1.4.21|5728|mandatory|r@
+1.4.21|banning.php|1.4.21|5728|mandatory|r@
+1.4.21|bridgemgr.php|1.4.21|5728|mandatory|r@
+1.4.21|calendar.php|1.4.21|5728|mandatory|r@
+1.4.21|catmgr.php|1.4.21|5728|mandatory|r@
+1.4.21|charsetmgr.php|1.4.21|5728|mandatory|r@
+1.4.21|config.php|1.4.21|5728|optional|r@
+1.4.21|db_ecard.php|1.4.21|5728|mandatory|r@
+1.4.21|db_input.php|1.4.21|5728|mandatory|r@
+1.4.21|delete.php|1.4.21|5728|mandatory|r@
+1.4.21|displayecard.php|1.4.21|5728|mandatory|r@
+1.4.21|displayimage.php|1.4.21|5728|mandatory|r@
+1.4.21|displayreport.php|1.4.21|5728|mandatory|r@
+1.4.21|ecard.php|1.4.21|5728|mandatory|r@
+1.4.21|editOnePic.php|1.4.21|5728|mandatory|r@
+1.4.21|editpics.php|1.4.21|5728|mandatory|r@
+1.4.21|exifmgr.php|1.4.21|5728|mandatory|r@
+1.4.21|faq.php|1.4.21|5728|mandatory|r@
+1.4.21|forgot_passwd.php|1.4.21|5728|mandatory|r@
+1.4.21|getlang.php|1.4.21|5728|mandatory|r@
+1.4.21|groupmgr.php|1.4.21|5728|mandatory|r@
+1.4.21|image_processor.php|1.4.21|5728|mandatory|r@
+1.4.21|index.php|1.4.21|5728|mandatory|r@
+1.4.21|install.php|1.4.21|5728|mandatory|r@
+1.4.21|installer.css|1.4.21|5728|mandatory|r@
+1.4.21|keyword_create_dict.php|1.4.21|5728|mandatory|r@
+1.4.21|keyword_select.php|1.4.21|5728|mandatory|r@
+1.4.21|keywordmgr.php|1.4.21|5728|mandatory|r@
+1.4.21|login.php|1.4.21|5728|mandatory|r@
+1.4.21|logout.php|1.4.21|5728|mandatory|r@
+1.4.21|minibrowser.php|1.4.21|5728|mandatory|r@
+1.4.21|mode.php|1.4.21|5728|mandatory|r@
+1.4.21|modifyalb.php|1.4.21|5728|mandatory|r@
+1.4.21|phpinfo.php|1.4.21|5728|mandatory|r@
+1.4.21|picEditor.php|1.4.21|5728|mandatory|r@
+1.4.21|picmgr.php|1.4.21|5728|mandatory|r@
+1.4.21|pluginmgr.php|1.4.21|5728|mandatory|r@
+1.4.21|profile.php|1.4.21|5728|mandatory|r@
+1.4.21|ratepic.php|1.4.21|5730|mandatory|r@
+1.4.21|register.php|1.4.21|5728|mandatory|r@
+1.4.21|relocate_server.php|1.4.21|5728|optional|r@
+1.4.21|report_file.php|1.4.21|5728|mandatory|r@
+1.4.21|reviewcom.php|1.4.21|5728|mandatory|r@
+1.4.21|scripts.js|1.4.21|5728|mandatory|r@
+1.4.21|search.php|1.4.21|5728|mandatory|r@
+1.4.21|searchnew.php|1.4.21|5728|mandatory|r@
+1.4.21|showthumb.php|1.4.21|5728|mandatory|r@
+1.4.21|stat_details.php|1.4.21|5728|mandatory|r@
+1.4.21|thumbnails.php|1.4.21|5728|mandatory|r@
+1.4.21|update.php|1.4.21|5728|mandatory|r@
+1.4.21|upgrade-1.0-to-1.2.php|1.4.21|5728|mandatory|r@
+1.4.21|upload.php|1.4.21|5728|mandatory|r@
+1.4.21|usermgr.php|1.4.21|5728|mandatory|r@
+1.4.21|util.php|1.4.21|5728|mandatory|r@
+1.4.21|versioncheck.php|1.4.21|5738|mandatory|r@
+1.4.21|viewlog.php|1.4.21|5728|mandatory|r@
+1.4.21|xp_publish.php|1.4.21|5728|mandatory|r@
+1.4.21|zipdownload.php|1.4.21|5728|mandatory|r@
+1.4.21|**fullpath**|||mandatory|w@
+1.4.21|**fullpath**/index.php|||optional|w@
+1.4.21|**fullpath**/edit/index.html|||optional|w@
+1.4.21|**fullpath**/edit/no_FTP-uploads_into_this_folder!|||optional|w@
+1.4.21|**fullpath**/edit|||mandatory|w@
+1.4.21|**fullpath**/edit/index.html|||optional|w@
+1.4.21|**fullpath**/**userpics**|||mandatory|w@
+1.4.21|**fullpath**/**userpics**/index.php|||optional|w@
+1.4.21|**fullpath**/**userpics**/no_FTP-uploads_into_this_folder!|||optional|w@
+1.4.21|bridge|||mandatory|r@
+1.4.21|bridge/coppermine.inc.php|1.4.21|5728|mandatory|r@
+1.4.21|bridge/invisionboard20.inc.php|1.4.21|5728|optional|r@
+1.4.21|bridge/mambo.inc.php|1.4.21|5728|optional|r@
+1.4.21|bridge/mybb.inc.php|1.4.21|5728|optional|r@
+1.4.21|bridge/phorum.inc.php|1.4.21|5728|optional|r@
+1.4.21|bridge/phpbb.inc.php|1.4.21|5728|optional|r@
+1.4.21|bridge/phpbb2018.inc.php|1.4.21|5728|optional|r@
+1.4.21|bridge/phpbb22.inc.php|1.4.21|5728|optional|r@
+1.4.21|bridge/punbb115.inc.php|1.4.21|5728|optional|r@
+1.4.21|bridge/punbb12.inc.php|1.4.21|5728|optional|r@
+1.4.21|bridge/smf10.inc.php|1.4.21|5728|optional|r@
+1.4.21|bridge/smf20.inc.php|1.4.21|5728|optional|r@
+1.4.21|bridge/udb_base.inc.php|1.4.21|5728|mandatory|r@
+1.4.21|bridge/vbulletin30.inc.php|1.4.21|5728|optional|r@
+1.4.21|bridge/xmb.inc.php|1.4.21|5728|optional|r@
+1.4.21|bridge/xoops.inc.php|1.4.21|5728|optional|r@
+1.4.21|docs|||mandatory|r@
+1.4.21|docs/faq.htm|||optional|r@
+1.4.21|docs/faq_de.htm|||optional|r@
+1.4.21|docs/faq_fr.htm|||optional|r@
+1.4.21|docs/index.htm|1.4.21|5736|mandatory|r@
+1.4.21|docs/index_es.htm|1.4.21|4392|mandatory|r@
+1.4.21|docs/index_fr.htm||5728|mandatory|r@
+1.4.21|docs/README.html||5728|optional|r@
+1.4.21|docs/showdoc.php|1.4.21|5728|mandatory|r@
+1.4.21|docs/style.css|1.4.21|5728|mandatory|r@
+1.4.21|docs/theme.htm|||optional|r@
+1.4.21|docs/translation.htm|||optional|r@
+1.4.21|docs/pics|||mandatory|r@
+1.4.21|docs/theme|||optional|r@
+1.4.21|docs/theme/edit_style.html|||optional|r@
+1.4.21|docs/theme/edit_template.html|||optional|r@
+1.4.21|docs/theme/edit_theme.html|1.4.21||optional|r@
+1.4.21|docs/theme/index.html|||optional|r@
+1.4.21|docs/theme/style.css|1.4.21|5728|optional|r@
+1.4.21|docs/theme/validation.html|||optional|r@
+1.4.21|include|||mandatory|w@
+1.4.21|include/archive.php|1.4.21|5728|mandatory|r@
+1.4.21|include/config.inc.php|||mandatory|r@
+1.4.21|include/config.inc.php.sample|||optional|r@
+1.4.21|include/crop.inc.php|1.4.21|5728|mandatory|r@
+1.4.21|include/debugger.inc.php|1.4.21|5728|mandatory|r@
+1.4.21|include/exif.php|1.4.21|5728|mandatory|r@
+1.4.21|include/exif_php.inc.php|1.4.21|5728|mandatory|r@
+1.4.21|include/functions.inc.php|1.4.21|5737|mandatory|r@
+1.4.21|include/imageObjectGD.class.php|1.4.21|5728|mandatory|r@
+1.4.21|include/imageObjectIM.class.php|1.4.21|5728|mandatory|r@
+1.4.21|include/index.html|1.4.21|5728|mandatory|r@
+1.4.21|include/init.inc.php|1.4.21|5728|mandatory|r@
+1.4.21|include/iptc.inc.php|1.4.21|5728|mandatory|r@
+1.4.21|include/keyword.inc.php|1.4.21|5728|mandatory|r@
+1.4.21|include/langfallback.inc.php|1.4.21|5728|mandatory|r@
+1.4.21|include/logger.inc.php|1.4.21|5728|mandatory|r@
+1.4.21|include/mailer.inc.php|1.4.21|5728|mandatory|r@
+1.4.21|include/mb.inc.php|1.4.21|5728|mandatory|r@
+1.4.21|include/media.functions.inc.php|1.4.21|5728|mandatory|r@
+1.4.21|include/phpmailer.lang-en.php|1.4.21|5728|mandatory|r@
+1.4.21|include/picmgmt.inc.php|1.4.21|5728|mandatory|r@
+1.4.21|include/plugin_api.inc.php|1.4.21|5728|mandatory|r@
+1.4.21|include/search.inc.php|1.4.21|5728|mandatory|r@
+1.4.21|include/select_lang.inc.php|1.4.21|5728|mandatory|r@
+1.4.21|include/slideshow.inc.php|1.4.21|5728|mandatory|r@
+1.4.21|include/smilies.inc.php|1.4.21|5728|mandatory|r@
+1.4.21|include/smtp.inc.php|1.4.21|5728|mandatory|r@
+1.4.21|include/sql_parse.php|1.4.21|5728|mandatory|r@
+1.4.21|include/themes.inc.php|1.4.21|5728|mandatory|r@
+1.4.21|include/update.inc.php|1.4.21|5728|mandatory|r@
+1.4.21|include/zip.lib.php|1.4.21|5728|mandatory|r@
+1.4.21|include/makers|||mandatory|w@
+1.4.21|include/makers/canon.php|1.4.21|5728|mandatory|r@
+1.4.21|include/makers/fujifilm.php|1.4.21|5728|mandatory|r@
+1.4.21|include/makers/gps.php|1.4.21|5728|mandatory|r@
+1.4.21|include/makers/nikon.php|1.4.21|5728|mandatory|r@
+1.4.21|include/makers/olympus.php|1.4.21|5728|mandatory|r@
+1.4.21|include/makers/sanyo.php|1.4.21|5728|mandatory|r@
+1.4.21|lang|||mandatory|r@
+1.4.21|lang/albanian.php|1.4.21|5728|optional|r@
+1.4.21|lang/arabic.php|1.4.21|5728|optional|r@
+1.4.21|lang/basque.php|1.4.21|5728|optional|r@
+1.4.21|lang/brazilian_portuguese.php|1.4.21|5728|optional|r@
+1.4.21|lang/bulgarian.php|1.4.21|5728|optional|r@
+1.4.21|lang/catalan.php|1.4.21|5728|optional|r@
+1.4.21|lang/chinese_big5.php|1.4.21|5728|optional|r@
+1.4.21|lang/chinese_gb.php|1.4.21|5728|optional|r@
+1.4.21|lang/czech.php|1.4.21|5728|optional|r@
+1.4.21|lang/danish.php|1.4.21|5728|optional|r@
+1.4.21|lang/dutch.php|1.4.21|5728|optional|r@
+1.4.21|lang/english.php|1.4.21|5728|mandatory|r@
+1.4.21|lang/english_gb.php|1.4.21|5728|optional|r@
+1.4.21|lang/estonian.php|1.4.21|5728|optional|r@
+1.4.21|lang/finnish.php|1.4.21|5728|optional|r@
+1.4.21|lang/french.php|1.4.21|5728|optional|r@
+1.4.21|lang/galician.php|1.4.21|5728|optional|r@
+1.4.21|lang/georgian.php|1.4.21|5728|optional|r@
+1.4.21|lang/german.php|1.4.21|5728|optional|r@
+1.4.21|lang/german_sie.php|1.4.21|5728|optional|r@
+1.4.21|lang/greek.php|1.4.21|5728|optional|r@
+1.4.21|lang/hebrew.php|1.4.21|5728|optional|r@
+1.4.21|lang/hindi.php|1.4.21|5728|optional|r@
+1.4.21|lang/hungarian.php|1.4.21|5728|optional|r@
+1.4.21|lang/indonesian.php|1.4.21|5728|optional|r@
+1.4.21|lang/italian.php|1.4.21|5728|optional|r@
+1.4.21|lang/japanese.php|1.4.21|5728|optional|r@
+1.4.21|lang/korean.php|1.4.21|5728|optional|r@
+1.4.21|lang/latvian.php|1.4.21|3966|optional|r@
+1.4.21|lang/lithuanian.php|1.4.21|5728|optional|r@
+1.4.21|lang/macedonian.php|1.4.21|5728|optional|r@
+1.4.21|lang/norwegian.php|1.4.21|5728|optional|r@
+1.4.21|lang/persian.php|1.4.21|5728|optional|r@
+1.4.21|lang/polish.php|1.4.21|5728|optional|r@
+1.4.21|lang/portuguese.php|1.4.21|5728|optional|r@
+1.4.21|lang/romanian.php|1.4.21|5728|optional|r@
+1.4.21|lang/russian.php|1.4.21|5728|optional|r@
+1.4.21|lang/serbian.php|1.4.21|5728|optional|r@
+1.4.21|lang/serbian_cy.php|1.4.21|3966|optional|r@
+1.4.21|lang/slovak.php|1.4.21|5728|optional|r@
+1.4.21|lang/slovenian.php|1.4.21|5728|optional|r@
+1.4.21|lang/spanish.php|1.4.21|5728|optional|r@
+1.4.21|lang/swedish.php|1.4.21|5728|optional|r@
+1.4.21|lang/thai.php|1.4.21|5728|optional|r@
+1.4.21|lang/turkish.php|1.4.21|5728|optional|r@
+1.4.21|lang/ukrainian.php|1.4.21|5728|optional|r@
+1.4.21|lang/vietnamese.php|1.4.21|5728|optional|r@
+1.4.21|lang/welsh.php|1.4.21|4380|optional|r@
+1.4.21|logs|||mandatory|w@
+1.4.21|logs/log_header.inc.php|1.4.21|5728|mandatory|r@
+1.4.21|plugins|||optional|r@
+1.4.21|plugins/sample|||optional|r@
+1.4.21|plugins/sample/codebase.php|1.4.21|5728|optional|r@
+1.4.21|plugins/sample/configuration.php|1.4.21|5728|optional|r@
+1.4.21|sql|||mandatory|r@
+1.4.21|sql/basic.sql|1.4.21|5728|mandatory|r@
+1.4.21|sql/schema.sql|1.4.21|5728|mandatory|r@
+1.4.21|sql/update.sql|1.4.21|5728|mandatory|r@
+1.4.21|themes|||mandatory|r@
+1.4.21|themes/classic|||optional|r@
+1.4.21|themes/classic/style.css|1.4.21|5728|optional|r@
+1.4.21|themes/classic/template.html|1.4.21|5728|optional|r@
+1.4.21|themes/classic/theme.php|1.4.21|5728|optional|r@
+1.4.21|themes/classic/images|||optional|r@
+1.4.21|themes/eyeball|||optional|r@
+1.4.21|themes/eyeball/style.css|1.4.21|5728|optional|r@
+1.4.21|themes/eyeball/template.html|1.4.21|5728|optional|r@
+1.4.21|themes/eyeball/theme.php|1.4.21|5728|optional|r@
+1.4.21|themes/eyeball/images|||optional|r@
+1.4.21|themes/fruity|||optional|r@
+1.4.21|themes/fruity/style.css|1.4.21|5728|optional|r@
+1.4.21|themes/fruity/template.html|1.4.21|5728|optional|r@
+1.4.21|themes/fruity/theme.php|1.4.21|5728|optional|r@
+1.4.21|themes/fruity/images|||optional|r@
+1.4.21|themes/hardwired|||optional|r@
+1.4.21|themes/hardwired/style.css|1.4.21|5728|optional|r@
+1.4.21|themes/hardwired/template.html|1.4.21|5728|optional|r@
+1.4.21|themes/hardwired/theme.php|1.4.21|5728|optional|r@
+1.4.21|themes/hardwired/images|||optional|r@
+1.4.21|themes/igames|||optional|r@
+1.4.21|themes/igames/style.css|1.4.21|5728|optional|r@
+1.4.21|themes/igames/template.html|1.4.21|5728|optional|r@
+1.4.21|themes/igames/theme.php|1.4.21|5728|optional|r@
+1.4.21|themes/igames/images|||optional|r@
+1.4.21|themes/mac_ox_x|||optional|r@
+1.4.21|themes/mac_ox_x/style.css|1.4.21|5728|optional|r@
+1.4.21|themes/mac_ox_x/template.html|1.4.21|5728|optional|r@
+1.4.21|themes/mac_ox_x/theme.php|1.4.21|5728|optional|r@
+1.4.21|themes/mac_ox_x/images|||optional|r@
+1.4.21|themes/project_vii|||optional|r@
+1.4.21|themes/project_vii/style.css|1.4.21|5728|optional|r@
+1.4.21|themes/project_vii/template.html|1.4.21|5728|optional|r@
+1.4.21|themes/project_vii/theme.php|1.4.21|5728|optional|r@
+1.4.21|themes/project_vii/images|||optional|r@
+1.4.21|themes/rainy_day|||optional|r@
+1.4.21|themes/rainy_day/style.css|1.4.21|5728|optional|r@
+1.4.21|themes/rainy_day/template.html|1.4.21|5728|optional|r@
+1.4.21|themes/rainy_day/theme.php|1.4.21|5728|optional|r@
+1.4.21|themes/rainy_day/images|||optional|r@
+1.4.21|themes/sample|||optional|r@
+1.4.21|themes/sample/style.css|1.4.21|5728|optional|r@
+1.4.21|themes/sample/template.html|1.4.21|5728|optional|r@
+1.4.21|themes/sample/theme.php|1.4.21|5728|optional|r@
+1.4.21|themes/sample/images|||optional|r@
+1.4.21|themes/water_drop|||optional|r@
+1.4.21|themes/water_drop/style.css|1.4.21|5728|optional|r@
+1.4.21|themes/water_drop/template.html|1.4.21|5728|optional|r@
+1.4.21|themes/water_drop/theme.php|1.4.21|5728|optional|r@
+1.4.21|themes/water_drop/images|||optional|r@
+1.4.22|addpic.php|1.4.22|5740|mandatory|r@
+1.4.22|admin.php|1.4.22|5740|mandatory|r@
+1.4.22|albmgr.php|1.4.22|5740|mandatory|r@
+1.4.22|anycontent.php|1.4.22|5740|mandatory|r@
+1.4.22|banning.php|1.4.22|5740|mandatory|r@
+1.4.22|bridgemgr.php|1.4.22|5740|mandatory|r@
+1.4.22|calendar.php|1.4.22|5740|mandatory|r@
+1.4.22|catmgr.php|1.4.22|5740|mandatory|r@
+1.4.22|charsetmgr.php|1.4.22|5740|mandatory|r@
+1.4.22|config.php|1.4.22|5740|optional|r@
+1.4.22|db_ecard.php|1.4.22|5740|mandatory|r@
+1.4.22|db_input.php|1.4.22|5740|mandatory|r@
+1.4.22|delete.php|1.4.22|5740|mandatory|r@
+1.4.22|displayecard.php|1.4.22|5740|mandatory|r@
+1.4.22|displayimage.php|1.4.22|5740|mandatory|r@
+1.4.22|displayreport.php|1.4.22|5740|mandatory|r@
+1.4.22|ecard.php|1.4.22|5740|mandatory|r@
+1.4.22|editOnePic.php|1.4.22|5740|mandatory|r@
+1.4.22|editpics.php|1.4.22|5740|mandatory|r@
+1.4.22|exifmgr.php|1.4.22|5740|mandatory|r@
+1.4.22|faq.php|1.4.22|5740|mandatory|r@
+1.4.22|forgot_passwd.php|1.4.22|5740|mandatory|r@
+1.4.22|getlang.php|1.4.22|5740|mandatory|r@
+1.4.22|groupmgr.php|1.4.22|5740|mandatory|r@
+1.4.22|image_processor.php|1.4.22|5740|mandatory|r@
+1.4.22|index.php|1.4.22|5740|mandatory|r@
+1.4.22|install.php|1.4.22|5740|mandatory|r@
+1.4.22|installer.css|1.4.22|5740|mandatory|r@
+1.4.22|keyword_create_dict.php|1.4.22|5740|mandatory|r@
+1.4.22|keyword_select.php|1.4.22|5740|mandatory|r@
+1.4.22|keywordmgr.php|1.4.22|5740|mandatory|r@
+1.4.22|login.php|1.4.22|5740|mandatory|r@
+1.4.22|logout.php|1.4.22|5740|mandatory|r@
+1.4.22|minibrowser.php|1.4.22|5740|mandatory|r@
+1.4.22|mode.php|1.4.22|5740|mandatory|r@
+1.4.22|modifyalb.php|1.4.22|5740|mandatory|r@
+1.4.22|phpinfo.php|1.4.22|5740|mandatory|r@
+1.4.22|picEditor.php|1.4.22|5740|mandatory|r@
+1.4.22|picmgr.php|1.4.22|5740|mandatory|r@
+1.4.22|pluginmgr.php|1.4.22|5740|mandatory|r@
+1.4.22|profile.php|1.4.22|5740|mandatory|r@
+1.4.22|ratepic.php|1.4.22|5740|mandatory|r@
+1.4.22|register.php|1.4.22|5740|mandatory|r@
+1.4.22|relocate_server.php|1.4.22|5740|optional|r@
+1.4.22|report_file.php|1.4.22|5740|mandatory|r@
+1.4.22|reviewcom.php|1.4.22|5740|mandatory|r@
+1.4.22|scripts.js|1.4.22|5740|mandatory|r@
+1.4.22|search.php|1.4.22|5740|mandatory|r@
+1.4.22|searchnew.php|1.4.22|5740|mandatory|r@
+1.4.22|showthumb.php|1.4.22|5740|mandatory|r@
+1.4.22|stat_details.php|1.4.22|5740|mandatory|r@
+1.4.22|thumbnails.php|1.4.22|5740|mandatory|r@
+1.4.22|update.php|1.4.22|5740|mandatory|r@
+1.4.22|upgrade-1.0-to-1.2.php|1.4.22|5740|mandatory|r@
+1.4.22|upload.php|1.4.22|5740|mandatory|r@
+1.4.22|usermgr.php|1.4.22|5849|mandatory|r@
+1.4.22|util.php|1.4.22|5740|mandatory|r@
+1.4.22|versioncheck.php|1.4.22|5885|mandatory|r@
+1.4.22|viewlog.php|1.4.22|5740|mandatory|r@
+1.4.22|xp_publish.php|1.4.22|5740|mandatory|r@
+1.4.22|zipdownload.php|1.4.22|5740|mandatory|r@
+1.4.22|**fullpath**|||mandatory|w@
+1.4.22|**fullpath**/index.php|||optional|w@
+1.4.22|**fullpath**/edit/index.html|||optional|w@
+1.4.22|**fullpath**/edit/no_FTP-uploads_into_this_folder!|||optional|w@
+1.4.22|**fullpath**/edit|||mandatory|w@
+1.4.22|**fullpath**/edit/index.html|||optional|w@
+1.4.22|**fullpath**/**userpics**|||mandatory|w@
+1.4.22|**fullpath**/**userpics**/index.php|||optional|w@
+1.4.22|**fullpath**/**userpics**/no_FTP-uploads_into_this_folder!|||optional|w@
+1.4.22|bridge|||mandatory|r@
+1.4.22|bridge/coppermine.inc.php|1.4.22|5740|mandatory|r@
+1.4.22|bridge/invisionboard20.inc.php|1.4.22|5740|optional|r@
+1.4.22|bridge/mambo.inc.php|1.4.22|5740|optional|r@
+1.4.22|bridge/mybb.inc.php|1.4.22|5740|optional|r@
+1.4.22|bridge/phorum.inc.php|1.4.22|5740|optional|r@
+1.4.22|bridge/phpbb.inc.php|1.4.22|5740|optional|r@
+1.4.22|bridge/phpbb2018.inc.php|1.4.22|5740|optional|r@
+1.4.22|bridge/phpbb22.inc.php|1.4.22|5740|optional|r@
+1.4.22|bridge/punbb115.inc.php|1.4.22|5740|optional|r@
+1.4.22|bridge/punbb12.inc.php|1.4.22|5740|optional|r@
+1.4.22|bridge/smf10.inc.php|1.4.22|5740|optional|r@
+1.4.22|bridge/smf20.inc.php|1.4.22|5740|optional|r@
+1.4.22|bridge/udb_base.inc.php|1.4.22|5740|mandatory|r@
+1.4.22|bridge/vbulletin30.inc.php|1.4.22|5740|optional|r@
+1.4.22|bridge/xmb.inc.php|1.4.22|5740|optional|r@
+1.4.22|bridge/xoops.inc.php|1.4.22|5740|optional|r@
+1.4.22|docs|||mandatory|r@
+1.4.22|docs/faq.htm|1.4.22|5740|optional|r@
+1.4.22|docs/faq_de.htm|1.4.22|5740|optional|r@
+1.4.22|docs/faq_fr.htm|1.4.22|5740|optional|r@
+1.4.22|docs/index.htm|1.4.22|5882|mandatory|r@
+1.4.22|docs/index_es.htm|1.4.22|4392|mandatory|r@
+1.4.22|docs/index_fr.htm|1.4.22|5740|mandatory|r@
+1.4.22|docs/README.html|1.4.22|5740|optional|r@
+1.4.22|docs/showdoc.php|1.4.22|5879|mandatory|r@
+1.4.22|docs/style.css|1.4.22|5740|mandatory|r@
+1.4.22|docs/theme.htm|1.4.22|5740|optional|r@
+1.4.22|docs/translation.htm|1.4.22|5740|optional|r@
+1.4.22|docs/pics|||mandatory|r@
+1.4.22|docs/theme|||optional|r@
+1.4.22|docs/theme/edit_style.html|||optional|r@
+1.4.22|docs/theme/edit_template.html|||optional|r@
+1.4.22|docs/theme/edit_theme.html|1.4.22||optional|r@
+1.4.22|docs/theme/index.html|||optional|r@
+1.4.22|docs/theme/style.css|1.4.22|5740|optional|r@
+1.4.22|docs/theme/validation.html|||optional|r@
+1.4.22|include|||mandatory|w@
+1.4.22|include/archive.php|1.4.22|5740|mandatory|r@
+1.4.22|include/config.inc.php|||mandatory|r@
+1.4.22|include/config.inc.php.sample|||optional|r@
+1.4.22|include/crop.inc.php|1.4.22|5740|mandatory|r@
+1.4.22|include/debugger.inc.php|1.4.22|5740|mandatory|r@
+1.4.22|include/exif.php|1.4.22|5740|mandatory|r@
+1.4.22|include/exif_php.inc.php|1.4.22|5740|mandatory|r@
+1.4.22|include/functions.inc.php|1.4.22|5740|mandatory|r@
+1.4.22|include/imageObjectGD.class.php|1.4.22|5740|mandatory|r@
+1.4.22|include/imageObjectIM.class.php|1.4.22|5740|mandatory|r@
+1.4.22|include/index.html|1.4.22|5740|mandatory|r@
+1.4.22|include/init.inc.php|1.4.22|5880|mandatory|r@
+1.4.22|include/iptc.inc.php|1.4.22|5740|mandatory|r@
+1.4.22|include/keyword.inc.php|1.4.22|5740|mandatory|r@
+1.4.22|include/langfallback.inc.php|1.4.22|5740|mandatory|r@
+1.4.22|include/logger.inc.php|1.4.22|5740|mandatory|r@
+1.4.22|include/mailer.inc.php|1.4.22|5740|mandatory|r@
+1.4.22|include/mb.inc.php|1.4.22|5740|mandatory|r@
+1.4.22|include/media.functions.inc.php|1.4.22|5740|mandatory|r@
+1.4.22|include/phpmailer.lang-en.php|1.4.22|5740|mandatory|r@
+1.4.22|include/picmgmt.inc.php|1.4.22|5740|mandatory|r@
+1.4.22|include/plugin_api.inc.php|1.4.22|5740|mandatory|r@
+1.4.22|include/search.inc.php|1.4.22|5740|mandatory|r@
+1.4.22|include/select_lang.inc.php|1.4.22|5740|mandatory|r@
+1.4.22|include/slideshow.inc.php|1.4.22|5740|mandatory|r@
+1.4.22|include/smilies.inc.php|1.4.22|5740|mandatory|r@
+1.4.22|include/smtp.inc.php|1.4.22|5740|mandatory|r@
+1.4.22|include/sql_parse.php|1.4.22|5740|mandatory|r@
+1.4.22|include/themes.inc.php|1.4.22|5740|mandatory|r@
+1.4.22|include/update.inc.php|1.4.22|5740|mandatory|r@
+1.4.22|include/zip.lib.php|1.4.22|5740|mandatory|r@
+1.4.22|include/makers|||mandatory|w@
+1.4.22|include/makers/canon.php|1.4.22|5740|mandatory|r@
+1.4.22|include/makers/fujifilm.php|1.4.22|5740|mandatory|r@
+1.4.22|include/makers/gps.php|1.4.22|5740|mandatory|r@
+1.4.22|include/makers/nikon.php|1.4.22|5740|mandatory|r@
+1.4.22|include/makers/olympus.php|1.4.22|5740|mandatory|r@
+1.4.22|include/makers/sanyo.php|1.4.22|5740|mandatory|r@
+1.4.22|lang|||mandatory|r@
+1.4.22|lang/albanian.php|1.4.22|5740|optional|r@
+1.4.22|lang/arabic.php|1.4.22|5740|optional|r@
+1.4.22|lang/basque.php|1.4.22|5740|optional|r@
+1.4.22|lang/brazilian_portuguese.php|1.4.22|5740|optional|r@
+1.4.22|lang/bulgarian.php|1.4.22|5740|optional|r@
+1.4.22|lang/catalan.php|1.4.22|5740|optional|r@
+1.4.22|lang/chinese_big5.php|1.4.22|5740|optional|r@
+1.4.22|lang/chinese_gb.php|1.4.22|5740|optional|r@
+1.4.22|lang/czech.php|1.4.22|5740|optional|r@
+1.4.22|lang/danish.php|1.4.22|5740|optional|r@
+1.4.22|lang/dutch.php|1.4.22|5740|optional|r@
+1.4.22|lang/english.php|1.4.22|5740|mandatory|r@
+1.4.22|lang/english_gb.php|1.4.22|5740|optional|r@
+1.4.22|lang/estonian.php|1.4.22|5740|optional|r@
+1.4.22|lang/finnish.php|1.4.22|5740|optional|r@
+1.4.22|lang/french.php|1.4.22|5740|optional|r@
+1.4.22|lang/galician.php|1.4.22|5740|optional|r@
+1.4.22|lang/georgian.php|1.4.22|5740|optional|r@
+1.4.22|lang/german.php|1.4.22|5740|optional|r@
+1.4.22|lang/german_sie.php|1.4.22|5740|optional|r@
+1.4.22|lang/greek.php|1.4.22|5740|optional|r@
+1.4.22|lang/hebrew.php|1.4.22|5740|optional|r@
+1.4.22|lang/hindi.php|1.4.22|5740|optional|r@
+1.4.22|lang/hungarian.php|1.4.22|5740|optional|r@
+1.4.22|lang/indonesian.php|1.4.22|5740|optional|r@
+1.4.22|lang/italian.php|1.4.22|5740|optional|r@
+1.4.22|lang/japanese.php|1.4.22|5740|optional|r@
+1.4.22|lang/korean.php|1.4.22|5740|optional|r@
+1.4.22|lang/latvian.php|1.4.22|3966|optional|r@
+1.4.22|lang/lithuanian.php|1.4.22|5740|optional|r@
+1.4.22|lang/macedonian.php|1.4.22|5740|optional|r@
+1.4.22|lang/norwegian.php|1.4.22|5740|optional|r@
+1.4.22|lang/persian.php|1.4.22|5740|optional|r@
+1.4.22|lang/polish.php|1.4.22|5740|optional|r@
+1.4.22|lang/portuguese.php|1.4.22|5740|optional|r@
+1.4.22|lang/romanian.php|1.4.22|5740|optional|r@
+1.4.22|lang/russian.php|1.4.22|5740|optional|r@
+1.4.22|lang/serbian.php|1.4.22|5740|optional|r@
+1.4.22|lang/serbian_cy.php|1.4.22|3966|optional|r@
+1.4.22|lang/slovak.php|1.4.22|5740|optional|r@
+1.4.22|lang/slovenian.php|1.4.22|5740|optional|r@
+1.4.22|lang/spanish.php|1.4.22|5740|optional|r@
+1.4.22|lang/swedish.php|1.4.22|5740|optional|r@
+1.4.22|lang/thai.php|1.4.22|5740|optional|r@
+1.4.22|lang/turkish.php|1.4.22|5740|optional|r@
+1.4.22|lang/ukrainian.php|1.4.22|5740|optional|r@
+1.4.22|lang/vietnamese.php|1.4.22|5740|optional|r@
+1.4.22|lang/welsh.php|1.4.22|4380|optional|r@
+1.4.22|logs|||mandatory|w@
+1.4.22|logs/log_header.inc.php|1.4.22|5740|mandatory|r@
+1.4.22|plugins|||optional|r@
+1.4.22|plugins/sample|||optional|r@
+1.4.22|plugins/sample/codebase.php|1.4.22|5740|optional|r@
+1.4.22|plugins/sample/configuration.php|1.4.22|5740|optional|r@
+1.4.22|sql|||mandatory|r@
+1.4.22|sql/basic.sql|1.4.22|5827|mandatory|r@
+1.4.22|sql/schema.sql|1.4.22|5740|mandatory|r@
+1.4.22|sql/update.sql|1.4.22|5740|mandatory|r@
+1.4.22|themes|||mandatory|r@
+1.4.22|themes/classic|||optional|r@
+1.4.22|themes/classic/style.css|1.4.22|5740|optional|r@
+1.4.22|themes/classic/template.html|1.4.22|5740|optional|r@
+1.4.22|themes/classic/theme.php|1.4.22|5740|optional|r@
+1.4.22|themes/classic/images|||optional|r@
+1.4.22|themes/eyeball|||optional|r@
+1.4.22|themes/eyeball/style.css|1.4.22|5740|optional|r@
+1.4.22|themes/eyeball/template.html|1.4.22|5740|optional|r@
+1.4.22|themes/eyeball/theme.php|1.4.22|5740|optional|r@
+1.4.22|themes/eyeball/images|||optional|r@
+1.4.22|themes/fruity|||optional|r@
+1.4.22|themes/fruity/style.css|1.4.22|5740|optional|r@
+1.4.22|themes/fruity/template.html|1.4.22|5740|optional|r@
+1.4.22|themes/fruity/theme.php|1.4.22|5740|optional|r@
+1.4.22|themes/fruity/images|||optional|r@
+1.4.22|themes/hardwired|||optional|r@
+1.4.22|themes/hardwired/style.css|1.4.22|5740|optional|r@
+1.4.22|themes/hardwired/template.html|1.4.22|5740|optional|r@
+1.4.22|themes/hardwired/theme.php|1.4.22|5740|optional|r@
+1.4.22|themes/hardwired/images|||optional|r@
+1.4.22|themes/igames|||optional|r@
+1.4.22|themes/igames/style.css|1.4.22|5740|optional|r@
+1.4.22|themes/igames/template.html|1.4.22|5740|optional|r@
+1.4.22|themes/igames/theme.php|1.4.22|5740|optional|r@
+1.4.22|themes/igames/images|||optional|r@
+1.4.22|themes/mac_ox_x|||optional|r@
+1.4.22|themes/mac_ox_x/style.css|1.4.22|5740|optional|r@
+1.4.22|themes/mac_ox_x/template.html|1.4.22|5740|optional|r@
+1.4.22|themes/mac_ox_x/theme.php|1.4.22|5740|optional|r@
+1.4.22|themes/mac_ox_x/images|||optional|r@
+1.4.22|themes/project_vii|||optional|r@
+1.4.22|themes/project_vii/style.css|1.4.22|5740|optional|r@
+1.4.22|themes/project_vii/template.html|1.4.22|5740|optional|r@
+1.4.22|themes/project_vii/theme.php|1.4.22|5740|optional|r@
+1.4.22|themes/project_vii/images|||optional|r@
+1.4.22|themes/rainy_day|||optional|r@
+1.4.22|themes/rainy_day/style.css|1.4.22|5740|optional|r@
+1.4.22|themes/rainy_day/template.html|1.4.22|5740|optional|r@
+1.4.22|themes/rainy_day/theme.php|1.4.22|5740|optional|r@
+1.4.22|themes/rainy_day/images|||optional|r@
+1.4.22|themes/sample|||optional|r@
+1.4.22|themes/sample/style.css|1.4.22|5740|optional|r@
+1.4.22|themes/sample/template.html|1.4.22|5740|optional|r@
+1.4.22|themes/sample/theme.php|1.4.22|5740|optional|r@
+1.4.22|themes/sample/images|||optional|r@
+1.4.22|themes/water_drop|||optional|r@
+1.4.22|themes/water_drop/style.css|1.4.22|5740|optional|r@
+1.4.22|themes/water_drop/template.html|1.4.22|5740|optional|r@
+1.4.22|themes/water_drop/theme.php|1.4.22|5740|optional|r@
+1.4.22|themes/water_drop/images|||optional|r@
+1.4.23|addpic.php|1.4.23|5891|mandatory|r@
+1.4.23|admin.php|1.4.23|5957|mandatory|r@
+1.4.23|albmgr.php|1.4.23|5891|mandatory|r@
+1.4.23|anycontent.php|1.4.23|5891|mandatory|r@
+1.4.23|banning.php|1.4.23|5891|mandatory|r@
+1.4.23|bridgemgr.php|1.4.23|5891|mandatory|r@
+1.4.23|calendar.php|1.4.23|5891|mandatory|r@
+1.4.23|catmgr.php|1.4.23|5891|mandatory|r@
+1.4.23|charsetmgr.php|1.4.23|5891|mandatory|r@
+1.4.23|config.php|1.4.23|5891|optional|r@
+1.4.23|db_ecard.php|1.4.23|5891|mandatory|r@
+1.4.23|db_input.php|1.4.23|5949|mandatory|r@
+1.4.23|delete.php|1.4.23|5891|mandatory|r@
+1.4.23|displayecard.php|1.4.23|5949|mandatory|r@
+1.4.23|displayimage.php|1.4.23|5957|mandatory|r@
+1.4.23|displayreport.php|1.4.23|5891|mandatory|r@
+1.4.23|ecard.php|1.4.23|5891|mandatory|r@
+1.4.23|editOnePic.php|1.4.23|5891|mandatory|r@
+1.4.23|editpics.php|1.4.23|5891|mandatory|r@
+1.4.23|exifmgr.php|1.4.23|5891|mandatory|r@
+1.4.23|faq.php|1.4.23|5891|mandatory|r@
+1.4.23|forgot_passwd.php|1.4.23|5891|mandatory|r@
+1.4.23|getlang.php|1.4.23|5891|mandatory|r@
+1.4.23|groupmgr.php|1.4.23|5891|mandatory|r@
+1.4.23|image_processor.php|1.4.23|5891|mandatory|r@
+1.4.23|index.php|1.4.23|5957|mandatory|r@
+1.4.23|install.php|1.4.23|5891|mandatory|r@
+1.4.23|installer.css|1.4.23|5891|mandatory|r@
+1.4.23|keyword_create_dict.php|1.4.23|5891|mandatory|r@
+1.4.23|keyword_select.php|1.4.23|5891|mandatory|r@
+1.4.23|keywordmgr.php|1.4.23|5891|mandatory|r@
+1.4.23|login.php|1.4.23|5891|mandatory|r@
+1.4.23|logout.php|1.4.23|5891|mandatory|r@
+1.4.23|minibrowser.php|1.4.23|5891|mandatory|r@
+1.4.23|mode.php|1.4.23|5891|mandatory|r@
+1.4.23|modifyalb.php|1.4.23|5891|mandatory|r@
+1.4.23|phpinfo.php|1.4.23|5891|mandatory|r@
+1.4.23|picEditor.php|1.4.23|5891|mandatory|r@
+1.4.23|picmgr.php|1.4.23|5891|mandatory|r@
+1.4.23|pluginmgr.php|1.4.23|5891|mandatory|r@
+1.4.23|profile.php|1.4.23|5891|mandatory|r@
+1.4.23|ratepic.php|1.4.23|5891|mandatory|r@
+1.4.23|register.php|1.4.23|5891|mandatory|r@
+1.4.23|relocate_server.php|1.4.23|5891|optional|r@
+1.4.23|report_file.php|1.4.23|5891|mandatory|r@
+1.4.23|reviewcom.php|1.4.23|5891|mandatory|r@
+1.4.23|scripts.js|1.4.23|5891|mandatory|r@
+1.4.23|search.php|1.4.23|5891|mandatory|r@
+1.4.23|searchnew.php|1.4.23|5891|mandatory|r@
+1.4.23|showthumb.php|1.4.23|5891|mandatory|r@
+1.4.23|stat_details.php|1.4.23|5891|mandatory|r@
+1.4.23|thumbnails.php|1.4.23|5957|mandatory|r@
+1.4.23|update.php|1.4.23|5891|mandatory|r@
+1.4.23|upgrade-1.0-to-1.2.php|1.4.23|5891|mandatory|r@
+1.4.23|upload.php|1.4.23|5891|mandatory|r@
+1.4.23|usermgr.php|1.4.23|5891|mandatory|r@
+1.4.23|util.php|1.4.23|5891|mandatory|r@
+1.4.23|versioncheck.php|1.4.23|5968|mandatory|r@
+1.4.23|viewlog.php|1.4.23|5891|mandatory|r@
+1.4.23|xp_publish.php|1.4.23|5891|mandatory|r@
+1.4.23|zipdownload.php|1.4.23|5891|mandatory|r@
+1.4.23|**fullpath**|||mandatory|w@
+1.4.23|**fullpath**/index.php|||optional|w@
+1.4.23|**fullpath**/edit/index.html|||optional|w@
+1.4.23|**fullpath**/edit/no_FTP-uploads_into_this_folder!|||optional|w@
+1.4.23|**fullpath**/edit|||mandatory|w@
+1.4.23|**fullpath**/edit/index.html|||optional|w@
+1.4.23|**fullpath**/**userpics**|||mandatory|w@
+1.4.23|**fullpath**/**userpics**/index.php|||optional|w@
+1.4.23|**fullpath**/**userpics**/no_FTP-uploads_into_this_folder!|||optional|w@
+1.4.23|bridge|||mandatory|r@
+1.4.23|bridge/coppermine.inc.php|1.4.23|5891|mandatory|r@
+1.4.23|bridge/invisionboard20.inc.php|1.4.23|5891|optional|r@
+1.4.23|bridge/mambo.inc.php|1.4.23|5891|optional|r@
+1.4.23|bridge/mybb.inc.php|1.4.23|5891|optional|r@
+1.4.23|bridge/phorum.inc.php|1.4.23|5891|optional|r@
+1.4.23|bridge/phpbb.inc.php|1.4.23|5891|optional|r@
+1.4.23|bridge/phpbb2018.inc.php|1.4.23|5891|optional|r@
+1.4.23|bridge/phpbb22.inc.php|1.4.23|5891|optional|r@
+1.4.23|bridge/punbb115.inc.php|1.4.23|5891|optional|r@
+1.4.23|bridge/punbb12.inc.php|1.4.23|5891|optional|r@
+1.4.23|bridge/smf10.inc.php|1.4.23|5891|optional|r@
+1.4.23|bridge/smf20.inc.php|1.4.23|5891|optional|r@
+1.4.23|bridge/udb_base.inc.php|1.4.23|5891|mandatory|r@
+1.4.23|bridge/vbulletin30.inc.php|1.4.23|5891|optional|r@
+1.4.23|bridge/xmb.inc.php|1.4.23|5891|optional|r@
+1.4.23|bridge/xoops.inc.php|1.4.23|5891|optional|r@
+1.4.23|docs|||mandatory|r@
+1.4.23|docs/faq.htm|1.4.23|5891|optional|r@
+1.4.23|docs/faq_de.htm|1.4.23|5891|optional|r@
+1.4.23|docs/faq_fr.htm|1.4.23|5891|optional|r@
+1.4.23|docs/index.htm|1.4.23|5966|mandatory|r@
+1.4.23|docs/index_es.htm|1.4.23|4392|mandatory|r@
+1.4.23|docs/index_fr.htm|1.4.23|5965|mandatory|r@
+1.4.23|docs/README.html|1.4.23|5891|optional|r@
+1.4.23|docs/showdoc.php|1.4.23|5891|mandatory|r@
+1.4.23|docs/style.css|1.4.23|5891|mandatory|r@
+1.4.23|docs/theme.htm|1.4.23|5891|optional|r@
+1.4.23|docs/translation.htm|1.4.23|5891|optional|r@
+1.4.23|docs/pics|||mandatory|r@
+1.4.23|docs/theme|||optional|r@
+1.4.23|docs/theme/edit_style.html|||optional|r@
+1.4.23|docs/theme/edit_template.html|||optional|r@
+1.4.23|docs/theme/edit_theme.html|1.4.23||optional|r@
+1.4.23|docs/theme/index.html|||optional|r@
+1.4.23|docs/theme/style.css|1.4.23|5891|optional|r@
+1.4.23|docs/theme/validation.html|||optional|r@
+1.4.23|include|||mandatory|w@
+1.4.23|include/archive.php|1.4.23|5891|mandatory|r@
+1.4.23|include/config.inc.php|||mandatory|r@
+1.4.23|include/config.inc.php.sample|||optional|r@
+1.4.23|include/crop.inc.php|1.4.23|5891|mandatory|r@
+1.4.23|include/debugger.inc.php|1.4.23|5948|mandatory|r@
+1.4.23|include/exif.php|1.4.23|5891|mandatory|r@
+1.4.23|include/exif_php.inc.php|1.4.23|5891|mandatory|r@
+1.4.23|include/functions.inc.php|1.4.23|5891|mandatory|r@
+1.4.23|include/imageObjectGD.class.php|1.4.23|5891|mandatory|r@
+1.4.23|include/imageObjectIM.class.php|1.4.23|5891|mandatory|r@
+1.4.23|include/index.html|1.4.23|5891|mandatory|r@
+1.4.23|include/init.inc.php|1.4.23|5951|mandatory|r@
+1.4.23|include/iptc.inc.php|1.4.23|5891|mandatory|r@
+1.4.23|include/keyword.inc.php|1.4.23|5891|mandatory|r@
+1.4.23|include/langfallback.inc.php|1.4.23|5891|mandatory|r@
+1.4.23|include/logger.inc.php|1.4.23|5891|mandatory|r@
+1.4.23|include/mailer.inc.php|1.4.23|5891|mandatory|r@
+1.4.23|include/mb.inc.php|1.4.23|5891|mandatory|r@
+1.4.23|include/media.functions.inc.php|1.4.23|5891|mandatory|r@
+1.4.23|include/phpmailer.lang-en.php|1.4.23|5891|mandatory|r@
+1.4.23|include/picmgmt.inc.php|1.4.23|5891|mandatory|r@
+1.4.23|include/plugin_api.inc.php|1.4.23|5891|mandatory|r@
+1.4.23|include/search.inc.php|1.4.23|5891|mandatory|r@
+1.4.23|include/select_lang.inc.php|1.4.23|5891|mandatory|r@
+1.4.23|include/slideshow.inc.php|1.4.23|5891|mandatory|r@
+1.4.23|include/smilies.inc.php|1.4.23|5891|mandatory|r@
+1.4.23|include/smtp.inc.php|1.4.23|5891|mandatory|r@
+1.4.23|include/sql_parse.php|1.4.23|5891|mandatory|r@
+1.4.23|include/themes.inc.php|1.4.23|5963|mandatory|r@
+1.4.23|include/update.inc.php|1.4.23|5891|mandatory|r@
+1.4.23|include/zip.lib.php|1.4.23|5891|mandatory|r@
+1.4.23|include/makers|||mandatory|w@
+1.4.23|include/makers/canon.php|1.4.23|5891|mandatory|r@
+1.4.23|include/makers/fujifilm.php|1.4.23|5891|mandatory|r@
+1.4.23|include/makers/gps.php|1.4.23|5891|mandatory|r@
+1.4.23|include/makers/nikon.php|1.4.23|5891|mandatory|r@
+1.4.23|include/makers/olympus.php|1.4.23|5891|mandatory|r@
+1.4.23|include/makers/sanyo.php|1.4.23|5891|mandatory|r@
+1.4.23|lang|||mandatory|r@
+1.4.23|lang/albanian.php|1.4.23|5966|optional|r@
+1.4.23|lang/arabic.php|1.4.23|5966|optional|r@
+1.4.23|lang/basque.php|1.4.23|5966|optional|r@
+1.4.23|lang/brazilian_portuguese.php|1.4.23|5966|optional|r@
+1.4.23|lang/bulgarian.php|1.4.23|5966|optional|r@
+1.4.23|lang/catalan.php|1.4.23|5966|optional|r@
+1.4.23|lang/chinese_big5.php|1.4.23|5966|optional|r@
+1.4.23|lang/chinese_gb.php|1.4.23|5966|optional|r@
+1.4.23|lang/czech.php|1.4.23|5966|optional|r@
+1.4.23|lang/danish.php|1.4.23|5966|optional|r@
+1.4.23|lang/dutch.php|1.4.23|5966|optional|r@
+1.4.23|lang/english.php|1.4.23|5966|mandatory|r@
+1.4.23|lang/english_gb.php|1.4.23|5966|optional|r@
+1.4.23|lang/estonian.php|1.4.23|5966|optional|r@
+1.4.23|lang/finnish.php|1.4.23|5966|optional|r@
+1.4.23|lang/french.php|1.4.23|5966|optional|r@
+1.4.23|lang/galician.php|1.4.23|5966|optional|r@
+1.4.23|lang/georgian.php|1.4.23|5966|optional|r@
+1.4.23|lang/german.php|1.4.23|5966|optional|r@
+1.4.23|lang/german_sie.php|1.4.23|5966|optional|r@
+1.4.23|lang/greek.php|1.4.23|5966|optional|r@
+1.4.23|lang/hebrew.php|1.4.23|5966|optional|r@
+1.4.23|lang/hindi.php|1.4.23|5966|optional|r@
+1.4.23|lang/hungarian.php|1.4.23|5966|optional|r@
+1.4.23|lang/indonesian.php|1.4.23|5966|optional|r@
+1.4.23|lang/italian.php|1.4.23|5966|optional|r@
+1.4.23|lang/japanese.php|1.4.23|5966|optional|r@
+1.4.23|lang/korean.php|1.4.23|5966|optional|r@
+1.4.23|lang/latvian.php|1.4.23|3966|optional|r@
+1.4.23|lang/lithuanian.php|1.4.23|5966|optional|r@
+1.4.23|lang/macedonian.php|1.4.23|5966|optional|r@
+1.4.23|lang/norwegian.php|1.4.23|5966|optional|r@
+1.4.23|lang/persian.php|1.4.23|5966|optional|r@
+1.4.23|lang/polish.php|1.4.23|5966|optional|r@
+1.4.23|lang/portuguese.php|1.4.23|5966|optional|r@
+1.4.23|lang/romanian.php|1.4.23|5966|optional|r@
+1.4.23|lang/russian.php|1.4.23|5966|optional|r@
+1.4.23|lang/serbian.php|1.4.23|5966|optional|r@
+1.4.23|lang/serbian_cy.php|1.4.23|3966|optional|r@
+1.4.23|lang/slovak.php|1.4.23|5966|optional|r@
+1.4.23|lang/slovenian.php|1.4.23|5966|optional|r@
+1.4.23|lang/spanish.php|1.4.23|5966|optional|r@
+1.4.23|lang/swedish.php|1.4.23|5966|optional|r@
+1.4.23|lang/thai.php|1.4.23|5966|optional|r@
+1.4.23|lang/turkish.php|1.4.23|5966|optional|r@
+1.4.23|lang/ukrainian.php|1.4.23|5966|optional|r@
+1.4.23|lang/vietnamese.php|1.4.23|5966|optional|r@
+1.4.23|lang/welsh.php|1.4.23|5967|optional|r@
+1.4.23|logs|||mandatory|w@
+1.4.23|logs/log_header.inc.php|1.4.23|5891|mandatory|r@
+1.4.23|plugins|||optional|r@
+1.4.23|plugins/sample|||optional|r@
+1.4.23|plugins/sample/codebase.php|1.4.23|5891|optional|r@
+1.4.23|plugins/sample/configuration.php|1.4.23|5891|optional|r@
+1.4.23|sql|||mandatory|r@
+1.4.23|sql/basic.sql|1.4.23|5891|mandatory|r@
+1.4.23|sql/schema.sql|1.4.23|5891|mandatory|r@
+1.4.23|sql/update.sql|1.4.23|5891|mandatory|r@
+1.4.23|themes|||mandatory|r@
+1.4.23|themes/classic|||optional|r@
+1.4.23|themes/classic/style.css|1.4.23|5891|optional|r@
+1.4.23|themes/classic/template.html|1.4.23|5891|optional|r@
+1.4.23|themes/classic/theme.php|1.4.23|5891|optional|r@
+1.4.23|themes/classic/images|||optional|r@
+1.4.23|themes/eyeball|||optional|r@
+1.4.23|themes/eyeball/style.css|1.4.23|5891|optional|r@
+1.4.23|themes/eyeball/template.html|1.4.23|5891|optional|r@
+1.4.23|themes/eyeball/theme.php|1.4.23|5891|optional|r@
+1.4.23|themes/eyeball/images|||optional|r@
+1.4.23|themes/fruity|||optional|r@
+1.4.23|themes/fruity/style.css|1.4.23|5891|optional|r@
+1.4.23|themes/fruity/template.html|1.4.23|5891|optional|r@
+1.4.23|themes/fruity/theme.php|1.4.23|5891|optional|r@
+1.4.23|themes/fruity/images|||optional|r@
+1.4.23|themes/hardwired|||optional|r@
+1.4.23|themes/hardwired/style.css|1.4.23|5891|optional|r@
+1.4.23|themes/hardwired/template.html|1.4.23|5891|optional|r@
+1.4.23|themes/hardwired/theme.php|1.4.23|5891|optional|r@
+1.4.23|themes/hardwired/images|||optional|r@
+1.4.23|themes/igames|||optional|r@
+1.4.23|themes/igames/style.css|1.4.23|5891|optional|r@
+1.4.23|themes/igames/template.html|1.4.23|5891|optional|r@
+1.4.23|themes/igames/theme.php|1.4.23|5891|optional|r@
+1.4.23|themes/igames/images|||optional|r@
+1.4.23|themes/mac_ox_x|||optional|r@
+1.4.23|themes/mac_ox_x/style.css|1.4.23|5891|optional|r@
+1.4.23|themes/mac_ox_x/template.html|1.4.23|5891|optional|r@
+1.4.23|themes/mac_ox_x/theme.php|1.4.23|5891|optional|r@
+1.4.23|themes/mac_ox_x/images|||optional|r@
+1.4.23|themes/project_vii|||optional|r@
+1.4.23|themes/project_vii/style.css|1.4.23|5891|optional|r@
+1.4.23|themes/project_vii/template.html|1.4.23|5891|optional|r@
+1.4.23|themes/project_vii/theme.php|1.4.23|5891|optional|r@
+1.4.23|themes/project_vii/images|||optional|r@
+1.4.23|themes/rainy_day|||optional|r@
+1.4.23|themes/rainy_day/style.css|1.4.23|5891|optional|r@
+1.4.23|themes/rainy_day/template.html|1.4.23|5891|optional|r@
+1.4.23|themes/rainy_day/theme.php|1.4.23|5891|optional|r@
+1.4.23|themes/rainy_day/images|||optional|r@
+1.4.23|themes/sample|||optional|r@
+1.4.23|themes/sample/style.css|1.4.23|5891|optional|r@
+1.4.23|themes/sample/template.html|1.4.23|5891|optional|r@
+1.4.23|themes/sample/theme.php|1.4.23|5963|optional|r@
+1.4.23|themes/sample/images|||optional|r@
+1.4.23|themes/water_drop|||optional|r@
+1.4.23|themes/water_drop/style.css|1.4.23|5891|optional|r@
+1.4.23|themes/water_drop/template.html|1.4.23|5891|optional|r@
+1.4.23|themes/water_drop/theme.php|1.4.23|5891|optional|r@
+1.4.23|themes/water_drop/images|||optional|r@
+1.4.24|addpic.php|1.4.24|5969|mandatory|r@
+1.4.24|admin.php|1.4.24|5969|mandatory|r@
+1.4.24|albmgr.php|1.4.24|5969|mandatory|r@
+1.4.24|anycontent.php|1.4.24|5969|mandatory|r@
+1.4.24|banning.php|1.4.24|5988|mandatory|r@
+1.4.24|bridgemgr.php|1.4.24|5969|mandatory|r@
+1.4.24|calendar.php|1.4.24|5969|mandatory|r@
+1.4.24|catmgr.php|1.4.24|5969|mandatory|r@
+1.4.24|charsetmgr.php|1.4.24|5969|mandatory|r@
+1.4.24|config.php|1.4.24|5969|optional|r@
+1.4.24|db_ecard.php|1.4.24|5969|mandatory|r@
+1.4.24|db_input.php|1.4.24|5969|mandatory|r@
+1.4.24|delete.php|1.4.24|5969|mandatory|r@
+1.4.24|displayecard.php|1.4.24|5969|mandatory|r@
+1.4.24|displayimage.php|1.4.24|5978|mandatory|r@
+1.4.24|displayreport.php|1.4.24|5969|mandatory|r@
+1.4.24|ecard.php|1.4.24|5969|mandatory|r@
+1.4.24|editOnePic.php|1.4.24|5988|mandatory|r@
+1.4.24|editpics.php|1.4.24|5988|mandatory|r@
+1.4.24|exifmgr.php|1.4.24|5969|mandatory|r@
+1.4.24|faq.php|1.4.24|5969|mandatory|r@
+1.4.24|forgot_passwd.php|1.4.24|5969|mandatory|r@
+1.4.24|getlang.php|1.4.24|5969|mandatory|r@
+1.4.24|groupmgr.php|1.4.24|5969|mandatory|r@
+1.4.24|image_processor.php|1.4.24|5969|mandatory|r@
+1.4.24|index.php|1.4.24|5969|mandatory|r@
+1.4.24|install.php|1.4.24|5988|mandatory|r@
+1.4.24|installer.css|1.4.24|5969|mandatory|r@
+1.4.24|keyword_create_dict.php|1.4.24|5969|mandatory|r@
+1.4.24|keyword_select.php|1.4.24|5969|mandatory|r@
+1.4.24|keywordmgr.php|1.4.24|5969|mandatory|r@
+1.4.24|login.php|1.4.24|5969|mandatory|r@
+1.4.24|logout.php|1.4.24|5969|mandatory|r@
+1.4.24|minibrowser.php|1.4.24|5969|mandatory|r@
+1.4.24|mode.php|1.4.24|5969|mandatory|r@
+1.4.24|modifyalb.php|1.4.24|5969|mandatory|r@
+1.4.24|phpinfo.php|1.4.24|5969|mandatory|r@
+1.4.24|picEditor.php|1.4.24|5969|mandatory|r@
+1.4.24|picmgr.php|1.4.24|5969|mandatory|r@
+1.4.24|pluginmgr.php|1.4.24|5988|mandatory|r@
+1.4.24|profile.php|1.4.24|5969|mandatory|r@
+1.4.24|ratepic.php|1.4.24|5980|mandatory|r@
+1.4.24|register.php|1.4.24|5969|mandatory|r@
+1.4.24|relocate_server.php|1.4.24|5969|optional|r@
+1.4.24|report_file.php|1.4.24|5969|mandatory|r@
+1.4.24|reviewcom.php|1.4.24|5969|mandatory|r@
+1.4.24|scripts.js|1.4.24|5969|mandatory|r@
+1.4.24|search.php|1.4.24|5969|mandatory|r@
+1.4.24|searchnew.php|1.4.24|5993|mandatory|r@
+1.4.24|showthumb.php|1.4.24|5969|mandatory|r@
+1.4.24|stat_details.php|1.4.24|5969|mandatory|r@
+1.4.24|thumbnails.php|1.4.24|5969|mandatory|r@
+1.4.24|update.php|1.4.24|5969|mandatory|r@
+1.4.24|upgrade-1.0-to-1.2.php|1.4.24|5969|mandatory|r@
+1.4.24|upload.php|1.4.24|5969|mandatory|r@
+1.4.24|usermgr.php|1.4.24|5969|mandatory|r@
+1.4.24|util.php|1.4.24|5969|mandatory|r@
+1.4.24|versioncheck.php|1.4.24|5996|mandatory|r@
+1.4.24|viewlog.php|1.4.24|5969|mandatory|r@
+1.4.24|xp_publish.php|1.4.24|5969|mandatory|r@
+1.4.24|zipdownload.php|1.4.24|5969|mandatory|r@
+1.4.24|**fullpath**|||mandatory|w@
+1.4.24|**fullpath**/index.php|||optional|w@
+1.4.24|**fullpath**/edit/index.html|||optional|w@
+1.4.24|**fullpath**/edit/no_FTP-uploads_into_this_folder!|||optional|w@
+1.4.24|**fullpath**/edit|||mandatory|w@
+1.4.24|**fullpath**/edit/index.html|||optional|w@
+1.4.24|**fullpath**/**userpics**|||mandatory|w@
+1.4.24|**fullpath**/**userpics**/index.php|||optional|w@
+1.4.24|**fullpath**/**userpics**/no_FTP-uploads_into_this_folder!|||optional|w@
+1.4.24|bridge|||mandatory|r@
+1.4.24|bridge/coppermine.inc.php|1.4.24|5969|mandatory|r@
+1.4.24|bridge/invisionboard20.inc.php|1.4.24|5969|optional|r@
+1.4.24|bridge/mambo.inc.php|1.4.24|5969|optional|r@
+1.4.24|bridge/mybb.inc.php|1.4.24|5969|optional|r@
+1.4.24|bridge/phorum.inc.php|1.4.24|5969|optional|r@
+1.4.24|bridge/phpbb.inc.php|1.4.24|5969|optional|r@
+1.4.24|bridge/phpbb2018.inc.php|1.4.24|5969|optional|r@
+1.4.24|bridge/phpbb22.inc.php|1.4.24|5969|optional|r@
+1.4.24|bridge/punbb115.inc.php|1.4.24|5969|optional|r@
+1.4.24|bridge/punbb12.inc.php|1.4.24|5969|optional|r@
+1.4.24|bridge/smf10.inc.php|1.4.24|5969|optional|r@
+1.4.24|bridge/smf20.inc.php|1.4.24|5969|optional|r@
+1.4.24|bridge/udb_base.inc.php|1.4.24|5969|mandatory|r@
+1.4.24|bridge/vbulletin30.inc.php|1.4.24|5969|optional|r@
+1.4.24|bridge/xmb.inc.php|1.4.24|5969|optional|r@
+1.4.24|bridge/xoops.inc.php|1.4.24|5969|optional|r@
+1.4.24|docs|||mandatory|r@
+1.4.24|docs/faq.htm|1.4.24|5969|optional|r@
+1.4.24|docs/faq_de.htm|1.4.24|5969|optional|r@
+1.4.24|docs/faq_fr.htm|1.4.24|5969|optional|r@
+1.4.24|docs/index.htm|1.4.24|5993|mandatory|r@
+1.4.24|docs/index_es.htm|1.4.24|4392|mandatory|r@
+1.4.24|docs/index_fr.htm|1.4.24|5979|mandatory|r@
+1.4.24|docs/README.html|1.4.24|5969|optional|r@
+1.4.24|docs/showdoc.php|1.4.24|5969|mandatory|r@
+1.4.24|docs/style.css|1.4.24|5969|mandatory|r@
+1.4.24|docs/theme.htm|1.4.24|5969|optional|r@
+1.4.24|docs/translation.htm|1.4.24|5969|optional|r@
+1.4.24|docs/pics|||mandatory|r@
+1.4.24|docs/theme|||optional|r@
+1.4.24|docs/theme/edit_style.html|||optional|r@
+1.4.24|docs/theme/edit_template.html|||optional|r@
+1.4.24|docs/theme/edit_theme.html|1.4.24||optional|r@
+1.4.24|docs/theme/index.html|||optional|r@
+1.4.24|docs/theme/style.css|1.4.24|5969|optional|r@
+1.4.24|docs/theme/validation.html|||optional|r@
+1.4.24|include|||mandatory|w@
+1.4.24|include/archive.php|1.4.24|5969|mandatory|r@
+1.4.24|include/config.inc.php|||mandatory|r@
+1.4.24|include/config.inc.php.sample|||optional|r@
+1.4.24|include/crop.inc.php|1.4.24|5969|mandatory|r@
+1.4.24|include/debugger.inc.php|1.4.24|5969|mandatory|r@
+1.4.24|include/exif.php|1.4.24|5969|mandatory|r@
+1.4.24|include/exif_php.inc.php|1.4.24|5969|mandatory|r@
+1.4.24|include/functions.inc.php|1.4.24|5980|mandatory|r@
+1.4.24|include/imageObjectGD.class.php|1.4.24|5969|mandatory|r@
+1.4.24|include/imageObjectIM.class.php|1.4.24|5969|mandatory|r@
+1.4.24|include/index.html|1.4.24|5969|mandatory|r@
+1.4.24|include/init.inc.php|1.4.24|5991|mandatory|r@
+1.4.24|include/iptc.inc.php|1.4.24|5969|mandatory|r@
+1.4.24|include/keyword.inc.php|1.4.24|5969|mandatory|r@
+1.4.24|include/langfallback.inc.php|1.4.24|5969|mandatory|r@
+1.4.24|include/logger.inc.php|1.4.24|5969|mandatory|r@
+1.4.24|include/mailer.inc.php|1.4.24|5969|mandatory|r@
+1.4.24|include/mb.inc.php|1.4.24|5969|mandatory|r@
+1.4.24|include/media.functions.inc.php|1.4.24|5969|mandatory|r@
+1.4.24|include/phpmailer.lang-en.php|1.4.24|5969|mandatory|r@
+1.4.24|include/picmgmt.inc.php|1.4.24|5969|mandatory|r@
+1.4.24|include/plugin_api.inc.php|1.4.24|5969|mandatory|r@
+1.4.24|include/search.inc.php|1.4.24|5969|mandatory|r@
+1.4.24|include/select_lang.inc.php|1.4.24|5969|mandatory|r@
+1.4.24|include/slideshow.inc.php|1.4.24|5969|mandatory|r@
+1.4.24|include/smilies.inc.php|1.4.24|5969|mandatory|r@
+1.4.24|include/smtp.inc.php|1.4.24|5969|mandatory|r@
+1.4.24|include/sql_parse.php|1.4.24|5969|mandatory|r@
+1.4.24|include/themes.inc.php|1.4.24|5988|mandatory|r@
+1.4.24|include/update.inc.php|1.4.24|5969|mandatory|r@
+1.4.24|include/zip.lib.php|1.4.24|5969|mandatory|r@
+1.4.24|include/makers|||mandatory|w@
+1.4.24|include/makers/canon.php|1.4.24|5969|mandatory|r@
+1.4.24|include/makers/fujifilm.php|1.4.24|5969|mandatory|r@
+1.4.24|include/makers/gps.php|1.4.24|5969|mandatory|r@
+1.4.24|include/makers/nikon.php|1.4.24|5969|mandatory|r@
+1.4.24|include/makers/olympus.php|1.4.24|5969|mandatory|r@
+1.4.24|include/makers/sanyo.php|1.4.24|5969|mandatory|r@
+1.4.24|lang|||mandatory|r@
+1.4.24|lang/albanian.php|1.4.24|5988|optional|r@
+1.4.24|lang/arabic.php|1.4.24|5988|optional|r@
+1.4.24|lang/basque.php|1.4.24|5988|optional|r@
+1.4.24|lang/brazilian_portuguese.php|1.4.24|5988|optional|r@
+1.4.24|lang/bulgarian.php|1.4.24|5988|optional|r@
+1.4.24|lang/catalan.php|1.4.24|5988|optional|r@
+1.4.24|lang/chinese_big5.php|1.4.24|5988|optional|r@
+1.4.24|lang/chinese_gb.php|1.4.24|5988|optional|r@
+1.4.24|lang/czech.php|1.4.24|5988|optional|r@
+1.4.24|lang/danish.php|1.4.24|5988|optional|r@
+1.4.24|lang/dutch.php|1.4.24|5988|optional|r@
+1.4.24|lang/english.php|1.4.24|5988|mandatory|r@
+1.4.24|lang/english_gb.php|1.4.24|5988|optional|r@
+1.4.24|lang/estonian.php|1.4.24|5988|optional|r@
+1.4.24|lang/finnish.php|1.4.24|5988|optional|r@
+1.4.24|lang/french.php|1.4.24|5988|optional|r@
+1.4.24|lang/galician.php|1.4.24|5988|optional|r@
+1.4.24|lang/georgian.php|1.4.24|5988|optional|r@
+1.4.24|lang/german.php|1.4.24|5988|optional|r@
+1.4.24|lang/german_sie.php|1.4.24|5988|optional|r@
+1.4.24|lang/greek.php|1.4.24|5988|optional|r@
+1.4.24|lang/hebrew.php|1.4.24|5988|optional|r@
+1.4.24|lang/hindi.php|1.4.24|5988|optional|r@
+1.4.24|lang/hungarian.php|1.4.24|5988|optional|r@
+1.4.24|lang/indonesian.php|1.4.24|5988|optional|r@
+1.4.24|lang/italian.php|1.4.24|5988|optional|r@
+1.4.24|lang/japanese.php|1.4.24|5988|optional|r@
+1.4.24|lang/korean.php|1.4.24|5988|optional|r@
+1.4.24|lang/latvian.php|1.4.24|3966|optional|r@
+1.4.24|lang/lithuanian.php|1.4.24|5988|optional|r@
+1.4.24|lang/macedonian.php|1.4.24|5988|optional|r@
+1.4.24|lang/norwegian.php|1.4.24|5988|optional|r@
+1.4.24|lang/persian.php|1.4.24|5988|optional|r@
+1.4.24|lang/polish.php|1.4.24|5988|optional|r@
+1.4.24|lang/portuguese.php|1.4.24|5988|optional|r@
+1.4.24|lang/romanian.php|1.4.24|5988|optional|r@
+1.4.24|lang/russian.php|1.4.24|5988|optional|r@
+1.4.24|lang/serbian.php|1.4.24|5988|optional|r@
+1.4.24|lang/serbian_cy.php|1.4.24|3966|optional|r@
+1.4.24|lang/slovak.php|1.4.24|5988|optional|r@
+1.4.24|lang/slovenian.php|1.4.24|5988|optional|r@
+1.4.24|lang/spanish.php|1.4.24|5988|optional|r@
+1.4.24|lang/swedish.php|1.4.24|5988|optional|r@
+1.4.24|lang/thai.php|1.4.24|5988|optional|r@
+1.4.24|lang/turkish.php|1.4.24|5988|optional|r@
+1.4.24|lang/ukrainian.php|1.4.24|5988|optional|r@
+1.4.24|lang/vietnamese.php|1.4.24|5988|optional|r@
+1.4.24|lang/welsh.php|1.4.24|5988|optional|r@
+1.4.24|logs|||mandatory|w@
+1.4.24|logs/log_header.inc.php|1.4.24|5969|mandatory|r@
+1.4.24|plugins|||optional|r@
+1.4.24|plugins/sample|||optional|r@
+1.4.24|plugins/sample/codebase.php|1.4.24|5969|optional|r@
+1.4.24|plugins/sample/configuration.php|1.4.24|5988|optional|r@
+1.4.24|sql|||mandatory|r@
+1.4.24|sql/basic.sql|1.4.24|5969|mandatory|r@
+1.4.24|sql/schema.sql|1.4.24|5969|mandatory|r@
+1.4.24|sql/update.sql|1.4.24|5969|mandatory|r@
+1.4.24|themes|||mandatory|r@
+1.4.24|themes/classic|||optional|r@
+1.4.24|themes/classic/style.css|1.4.24|5969|optional|r@
+1.4.24|themes/classic/template.html|1.4.24|5969|optional|r@
+1.4.24|themes/classic/theme.php|1.4.24|5969|optional|r@
+1.4.24|themes/classic/images|||optional|r@
+1.4.24|themes/eyeball|||optional|r@
+1.4.24|themes/eyeball/style.css|1.4.24|5969|optional|r@
+1.4.24|themes/eyeball/template.html|1.4.24|5969|optional|r@
+1.4.24|themes/eyeball/theme.php|1.4.24|5969|optional|r@
+1.4.24|themes/eyeball/images|||optional|r@
+1.4.24|themes/fruity|||optional|r@
+1.4.24|themes/fruity/style.css|1.4.24|5969|optional|r@
+1.4.24|themes/fruity/template.html|1.4.24|5969|optional|r@
+1.4.24|themes/fruity/theme.php|1.4.24|5969|optional|r@
+1.4.24|themes/fruity/images|||optional|r@
+1.4.24|themes/hardwired|||optional|r@
+1.4.24|themes/hardwired/style.css|1.4.24|5969|optional|r@
+1.4.24|themes/hardwired/template.html|1.4.24|5969|optional|r@
+1.4.24|themes/hardwired/theme.php|1.4.24|5988|optional|r@
+1.4.24|themes/hardwired/images|||optional|r@
+1.4.24|themes/igames|||optional|r@
+1.4.24|themes/igames/style.css|1.4.24|5969|optional|r@
+1.4.24|themes/igames/template.html|1.4.24|5969|optional|r@
+1.4.24|themes/igames/theme.php|1.4.24|5969|optional|r@
+1.4.24|themes/igames/images|||optional|r@
+1.4.24|themes/mac_ox_x|||optional|r@
+1.4.24|themes/mac_ox_x/style.css|1.4.24|5969|optional|r@
+1.4.24|themes/mac_ox_x/template.html|1.4.24|5969|optional|r@
+1.4.24|themes/mac_ox_x/theme.php|1.4.24|5969|optional|r@
+1.4.24|themes/mac_ox_x/images|||optional|r@
+1.4.24|themes/project_vii|||optional|r@
+1.4.24|themes/project_vii/style.css|1.4.24|5969|optional|r@
+1.4.24|themes/project_vii/template.html|1.4.24|5969|optional|r@
+1.4.24|themes/project_vii/theme.php|1.4.24|5969|optional|r@
+1.4.24|themes/project_vii/images|||optional|r@
+1.4.24|themes/rainy_day|||optional|r@
+1.4.24|themes/rainy_day/style.css|1.4.24|5969|optional|r@
+1.4.24|themes/rainy_day/template.html|1.4.24|5969|optional|r@
+1.4.24|themes/rainy_day/theme.php|1.4.24|5969|optional|r@
+1.4.24|themes/rainy_day/images|||optional|r@
+1.4.24|themes/sample|||optional|r@
+1.4.24|themes/sample/style.css|1.4.24|5969|optional|r@
+1.4.24|themes/sample/template.html|1.4.24|5969|optional|r@
+1.4.24|themes/sample/theme.php|1.4.24|5988|optional|r@
+1.4.24|themes/sample/images|||optional|r@
+1.4.24|themes/water_drop|||optional|r@
+1.4.24|themes/water_drop/style.css|1.4.24|5969|optional|r@
+1.4.24|themes/water_drop/template.html|1.4.24|5969|optional|r@
+1.4.24|themes/water_drop/theme.php|1.4.24|5969|optional|r@
+1.4.24|themes/water_drop/images|||optional|r@
+1.4.25|addpic.php|1.4.25|5997|mandatory|r@
+1.4.25|admin.php|1.4.25|5997|mandatory|r@
+1.4.25|albmgr.php|1.4.25|5997|mandatory|r@
+1.4.25|anycontent.php|1.4.25|5997|mandatory|r@
+1.4.25|banning.php|1.4.25|5997|mandatory|r@
+1.4.25|bridgemgr.php|1.4.25|5997|mandatory|r@
+1.4.25|calendar.php|1.4.25|5997|mandatory|r@
+1.4.25|catmgr.php|1.4.25|5997|mandatory|r@
+1.4.25|charsetmgr.php|1.4.25|5997|mandatory|r@
+1.4.25|config.php|1.4.25|5997|optional|r@
+1.4.25|db_ecard.php|1.4.25|5997|mandatory|r@
+1.4.25|db_input.php|1.4.25|5997|mandatory|r@
+1.4.25|delete.php|1.4.25|5997|mandatory|r@
+1.4.25|displayecard.php|1.4.25|5997|mandatory|r@
+1.4.25|displayimage.php|1.4.25|5997|mandatory|r@
+1.4.25|displayreport.php|1.4.25|5997|mandatory|r@
+1.4.25|ecard.php|1.4.25|5997|mandatory|r@
+1.4.25|editOnePic.php|1.4.25|5997|mandatory|r@
+1.4.25|editpics.php|1.4.25|5997|mandatory|r@
+1.4.25|exifmgr.php|1.4.25|5997|mandatory|r@
+1.4.25|faq.php|1.4.25|5997|mandatory|r@
+1.4.25|forgot_passwd.php|1.4.25|5997|mandatory|r@
+1.4.25|getlang.php|1.4.25|5997|mandatory|r@
+1.4.25|groupmgr.php|1.4.25|5997|mandatory|r@
+1.4.25|image_processor.php|1.4.25|5997|mandatory|r@
+1.4.25|index.php|1.4.25|5997|mandatory|r@
+1.4.25|install.php|1.4.25|5997|mandatory|r@
+1.4.25|installer.css|1.4.25|5997|mandatory|r@
+1.4.25|keyword_create_dict.php|1.4.25|5997|mandatory|r@
+1.4.25|keyword_select.php|1.4.25|5997|mandatory|r@
+1.4.25|keywordmgr.php|1.4.25|5997|mandatory|r@
+1.4.25|login.php|1.4.25|5997|mandatory|r@
+1.4.25|logout.php|1.4.25|5997|mandatory|r@
+1.4.25|minibrowser.php|1.4.25|5997|mandatory|r@
+1.4.25|mode.php|1.4.25|5997|mandatory|r@
+1.4.25|modifyalb.php|1.4.25|5997|mandatory|r@
+1.4.25|phpinfo.php|1.4.25|5997|mandatory|r@
+1.4.25|picEditor.php|1.4.25|5997|mandatory|r@
+1.4.25|picmgr.php|1.4.25|5997|mandatory|r@
+1.4.25|pluginmgr.php|1.4.25|5997|mandatory|r@
+1.4.25|profile.php|1.4.25|5997|mandatory|r@
+1.4.25|ratepic.php|1.4.25|5997|mandatory|r@
+1.4.25|register.php|1.4.25|5997|mandatory|r@
+1.4.25|relocate_server.php|1.4.25|5997|optional|r@
+1.4.25|report_file.php|1.4.25|5997|mandatory|r@
+1.4.25|reviewcom.php|1.4.25|5997|mandatory|r@
+1.4.25|scripts.js|1.4.25|5997|mandatory|r@
+1.4.25|search.php|1.4.25|5997|mandatory|r@
+1.4.25|searchnew.php|1.4.25|5997|mandatory|r@
+1.4.25|showthumb.php|1.4.25|5997|mandatory|r@
+1.4.25|stat_details.php|1.4.25|5997|mandatory|r@
+1.4.25|thumbnails.php|1.4.25|5997|mandatory|r@
+1.4.25|update.php|1.4.25|5997|mandatory|r@
+1.4.25|upgrade-1.0-to-1.2.php|1.4.25|5997|mandatory|r@
+1.4.25|upload.php|1.4.25|5997|mandatory|r@
+1.4.25|usermgr.php|1.4.25|5997|mandatory|r@
+1.4.25|util.php|1.4.25|5997|mandatory|r@
+1.4.25|versioncheck.php|1.4.25|6218|mandatory|r@
+1.4.25|viewlog.php|1.4.25|5997|mandatory|r@
+1.4.25|xp_publish.php|1.4.25|5997|mandatory|r@
+1.4.25|zipdownload.php|1.4.25|5997|mandatory|r@
+1.4.25|**fullpath**|||mandatory|w@
+1.4.25|**fullpath**/index.php|||optional|w@
+1.4.25|**fullpath**/edit/index.html|||optional|w@
+1.4.25|**fullpath**/edit/no_FTP-uploads_into_this_folder!|||optional|w@
+1.4.25|**fullpath**/edit|||mandatory|w@
+1.4.25|**fullpath**/edit/index.html|||optional|w@
+1.4.25|**fullpath**/**userpics**|||mandatory|w@
+1.4.25|**fullpath**/**userpics**/index.php|||optional|w@
+1.4.25|**fullpath**/**userpics**/no_FTP-uploads_into_this_folder!|||optional|w@
+1.4.25|bridge|||mandatory|r@
+1.4.25|bridge/coppermine.inc.php|1.4.25|5997|mandatory|r@
+1.4.25|bridge/invisionboard20.inc.php|1.4.25|5997|optional|r@
+1.4.25|bridge/mambo.inc.php|1.4.25|5997|optional|r@
+1.4.25|bridge/mybb.inc.php|1.4.25|5997|optional|r@
+1.4.25|bridge/phorum.inc.php|1.4.25|5997|optional|r@
+1.4.25|bridge/phpbb.inc.php|1.4.25|5997|optional|r@
+1.4.25|bridge/phpbb2018.inc.php|1.4.25|5997|optional|r@
+1.4.25|bridge/phpbb22.inc.php|1.4.25|5997|optional|r@
+1.4.25|bridge/punbb115.inc.php|1.4.25|5997|optional|r@
+1.4.25|bridge/punbb12.inc.php|1.4.25|5997|optional|r@
+1.4.25|bridge/smf10.inc.php|1.4.25|5997|optional|r@
+1.4.25|bridge/smf20.inc.php|1.4.25|5997|optional|r@
+1.4.25|bridge/udb_base.inc.php|1.4.25|5997|mandatory|r@
+1.4.25|bridge/vbulletin30.inc.php|1.4.25|5997|optional|r@
+1.4.25|bridge/xmb.inc.php|1.4.25|5997|optional|r@
+1.4.25|bridge/xoops.inc.php|1.4.25|5997|optional|r@
+1.4.25|docs|||mandatory|r@
+1.4.25|docs/faq.htm|1.4.25|5997|optional|r@
+1.4.25|docs/faq_de.htm|1.4.25|5997|optional|r@
+1.4.25|docs/faq_fr.htm|1.4.25|5997|optional|r@
+1.4.25|docs/index.htm|1.4.25|6217|mandatory|r@
+1.4.25|docs/index_es.htm|1.4.25|4392|mandatory|r@
+1.4.25|docs/index_fr.htm|1.4.25|5997|mandatory|r@
+1.4.25|docs/README.html|1.4.25|5997|optional|r@
+1.4.25|docs/showdoc.php|1.4.25|5997|mandatory|r@
+1.4.25|docs/style.css|1.4.25|5997|mandatory|r@
+1.4.25|docs/theme.htm|1.4.25|5997|optional|r@
+1.4.25|docs/translation.htm|1.4.25|5997|optional|r@
+1.4.25|docs/pics|||mandatory|r@
+1.4.25|docs/theme|||optional|r@
+1.4.25|docs/theme/edit_style.html|||optional|r@
+1.4.25|docs/theme/edit_template.html|||optional|r@
+1.4.25|docs/theme/edit_theme.html|1.4.25||optional|r@
+1.4.25|docs/theme/index.html|||optional|r@
+1.4.25|docs/theme/style.css|1.4.25|5997|optional|r@
+1.4.25|docs/theme/validation.html|||optional|r@
+1.4.25|include|||mandatory|w@
+1.4.25|include/archive.php|1.4.25|5997|mandatory|r@
+1.4.25|include/config.inc.php|||mandatory|r@
+1.4.25|include/config.inc.php.sample|||optional|r@
+1.4.25|include/crop.inc.php|1.4.25|5997|mandatory|r@
+1.4.25|include/debugger.inc.php|1.4.25|5997|mandatory|r@
+1.4.25|include/exif.php|1.4.25|5997|mandatory|r@
+1.4.25|include/exif_php.inc.php|1.4.25|5997|mandatory|r@
+1.4.25|include/functions.inc.php|1.4.25|5997|mandatory|r@
+1.4.25|include/imageObjectGD.class.php|1.4.25|5997|mandatory|r@
+1.4.25|include/imageObjectIM.class.php|1.4.25|5997|mandatory|r@
+1.4.25|include/index.html|1.4.25|5997|mandatory|r@
+1.4.25|include/init.inc.php|1.4.25|6216|mandatory|r@
+1.4.25|include/iptc.inc.php|1.4.25|5997|mandatory|r@
+1.4.25|include/keyword.inc.php|1.4.25|5997|mandatory|r@
+1.4.25|include/langfallback.inc.php|1.4.25|5997|mandatory|r@
+1.4.25|include/logger.inc.php|1.4.25|5997|mandatory|r@
+1.4.25|include/mailer.inc.php|1.4.25|5997|mandatory|r@
+1.4.25|include/mb.inc.php|1.4.25|5997|mandatory|r@
+1.4.25|include/media.functions.inc.php|1.4.25|5997|mandatory|r@
+1.4.25|include/phpmailer.lang-en.php|1.4.25|5997|mandatory|r@
+1.4.25|include/picmgmt.inc.php|1.4.25|5997|mandatory|r@
+1.4.25|include/plugin_api.inc.php|1.4.25|6173|mandatory|r@
+1.4.25|include/search.inc.php|1.4.25|5997|mandatory|r@
+1.4.25|include/select_lang.inc.php|1.4.25|5997|mandatory|r@
+1.4.25|include/slideshow.inc.php|1.4.25|5997|mandatory|r@
+1.4.25|include/smilies.inc.php|1.4.25|5997|mandatory|r@
+1.4.25|include/smtp.inc.php|1.4.25|5997|mandatory|r@
+1.4.25|include/sql_parse.php|1.4.25|5997|mandatory|r@
+1.4.25|include/themes.inc.php|1.4.25|5997|mandatory|r@
+1.4.25|include/update.inc.php|1.4.25|5997|mandatory|r@
+1.4.25|include/zip.lib.php|1.4.25|5997|mandatory|r@
+1.4.25|include/makers|||mandatory|w@
+1.4.25|include/makers/canon.php|1.4.25|5997|mandatory|r@
+1.4.25|include/makers/fujifilm.php|1.4.25|5997|mandatory|r@
+1.4.25|include/makers/gps.php|1.4.25|5997|mandatory|r@
+1.4.25|include/makers/nikon.php|1.4.25|5997|mandatory|r@
+1.4.25|include/makers/olympus.php|1.4.25|5997|mandatory|r@
+1.4.25|include/makers/sanyo.php|1.4.25|5997|mandatory|r@
+1.4.25|lang|||mandatory|r@
+1.4.25|lang/albanian.php|1.4.25|5997|optional|r@
+1.4.25|lang/arabic.php|1.4.25|5997|optional|r@
+1.4.25|lang/basque.php|1.4.25|5997|optional|r@
+1.4.25|lang/brazilian_portuguese.php|1.4.25|5997|optional|r@
+1.4.25|lang/bulgarian.php|1.4.25|5997|optional|r@
+1.4.25|lang/catalan.php|1.4.25|5997|optional|r@
+1.4.25|lang/chinese_big5.php|1.4.25|5997|optional|r@
+1.4.25|lang/chinese_gb.php|1.4.25|5997|optional|r@
+1.4.25|lang/czech.php|1.4.25|5997|optional|r@
+1.4.25|lang/danish.php|1.4.25|6011|optional|r@
+1.4.25|lang/dutch.php|1.4.25|5997|optional|r@
+1.4.25|lang/english.php|1.4.25|5997|mandatory|r@
+1.4.25|lang/english_gb.php|1.4.25|5997|optional|r@
+1.4.25|lang/estonian.php|1.4.25|5997|optional|r@
+1.4.25|lang/finnish.php|1.4.25|5997|optional|r@
+1.4.25|lang/french.php|1.4.25|5997|optional|r@
+1.4.25|lang/galician.php|1.4.25|5997|optional|r@
+1.4.25|lang/georgian.php|1.4.25|5997|optional|r@
+1.4.25|lang/german.php|1.4.25|5997|optional|r@
+1.4.25|lang/german_sie.php|1.4.25|5997|optional|r@
+1.4.25|lang/greek.php|1.4.25|5997|optional|r@
+1.4.25|lang/hebrew.php|1.4.25|5997|optional|r@
+1.4.25|lang/hindi.php|1.4.25|5997|optional|r@
+1.4.25|lang/hungarian.php|1.4.25|5997|optional|r@
+1.4.25|lang/indonesian.php|1.4.25|5997|optional|r@
+1.4.25|lang/italian.php|1.4.25|5997|optional|r@
+1.4.25|lang/japanese.php|1.4.25|5997|optional|r@
+1.4.25|lang/korean.php|1.4.25|5997|optional|r@
+1.4.25|lang/latvian.php|1.4.25|3966|optional|r@
+1.4.25|lang/lithuanian.php|1.4.25|5997|optional|r@
+1.4.25|lang/macedonian.php|1.4.25|5997|optional|r@
+1.4.25|lang/norwegian.php|1.4.25|6027|optional|r@
+1.4.25|lang/persian.php|1.4.25|5997|optional|r@
+1.4.25|lang/polish.php|1.4.25|5997|optional|r@
+1.4.25|lang/portuguese.php|1.4.25|5997|optional|r@
+1.4.25|lang/romanian.php|1.4.25|5997|optional|r@
+1.4.25|lang/russian.php|1.4.25|5997|optional|r@
+1.4.25|lang/serbian.php|1.4.25|5997|optional|r@
+1.4.25|lang/serbian_cy.php|1.4.25|3966|optional|r@
+1.4.25|lang/slovak.php|1.4.25|5997|optional|r@
+1.4.25|lang/slovenian.php|1.4.25|5997|optional|r@
+1.4.25|lang/spanish.php|1.4.25|5997|optional|r@
+1.4.25|lang/swedish.php|1.4.25|5997|optional|r@
+1.4.25|lang/thai.php|1.4.25|5997|optional|r@
+1.4.25|lang/turkish.php|1.4.25|6000|optional|r@
+1.4.25|lang/ukrainian.php|1.4.25|5997|optional|r@
+1.4.25|lang/vietnamese.php|1.4.25|5997|optional|r@
+1.4.25|lang/welsh.php|1.4.25|5997|optional|r@
+1.4.25|logs|||mandatory|w@
+1.4.25|logs/log_header.inc.php|1.4.25|5997|mandatory|r@
+1.4.25|plugins|||optional|r@
+1.4.25|plugins/sample|||optional|r@
+1.4.25|plugins/sample/codebase.php|1.4.25|5997|optional|r@
+1.4.25|plugins/sample/configuration.php|1.4.25|5997|optional|r@
+1.4.25|sql|||mandatory|r@
+1.4.25|sql/basic.sql|1.4.25|5997|mandatory|r@
+1.4.25|sql/schema.sql|1.4.25|5997|mandatory|r@
+1.4.25|sql/update.sql|1.4.25|5997|mandatory|r@
+1.4.25|themes|||mandatory|r@
+1.4.25|themes/classic|||optional|r@
+1.4.25|themes/classic/style.css|1.4.25|5997|optional|r@
+1.4.25|themes/classic/template.html|1.4.25|5997|optional|r@
+1.4.25|themes/classic/theme.php|1.4.25|5997|optional|r@
+1.4.25|themes/classic/images|||optional|r@
+1.4.25|themes/eyeball|||optional|r@
+1.4.25|themes/eyeball/style.css|1.4.25|5997|optional|r@
+1.4.25|themes/eyeball/template.html|1.4.25|5997|optional|r@
+1.4.25|themes/eyeball/theme.php|1.4.25|5997|optional|r@
+1.4.25|themes/eyeball/images|||optional|r@
+1.4.25|themes/fruity|||optional|r@
+1.4.25|themes/fruity/style.css|1.4.25|5997|optional|r@
+1.4.25|themes/fruity/template.html|1.4.25|5997|optional|r@
+1.4.25|themes/fruity/theme.php|1.4.25|5997|optional|r@
+1.4.25|themes/fruity/images|||optional|r@
+1.4.25|themes/hardwired|||optional|r@
+1.4.25|themes/hardwired/style.css|1.4.25|5997|optional|r@
+1.4.25|themes/hardwired/template.html|1.4.25|5997|optional|r@
+1.4.25|themes/hardwired/theme.php|1.4.25|5997|optional|r@
+1.4.25|themes/hardwired/images|||optional|r@
+1.4.25|themes/igames|||optional|r@
+1.4.25|themes/igames/style.css|1.4.25|5997|optional|r@
+1.4.25|themes/igames/template.html|1.4.25|5997|optional|r@
+1.4.25|themes/igames/theme.php|1.4.25|5997|optional|r@
+1.4.25|themes/igames/images|||optional|r@
+1.4.25|themes/mac_ox_x|||optional|r@
+1.4.25|themes/mac_ox_x/style.css|1.4.25|5997|optional|r@
+1.4.25|themes/mac_ox_x/template.html|1.4.25|5997|optional|r@
+1.4.25|themes/mac_ox_x/theme.php|1.4.25|5997|optional|r@
+1.4.25|themes/mac_ox_x/images|||optional|r@
+1.4.25|themes/project_vii|||optional|r@
+1.4.25|themes/project_vii/style.css|1.4.25|5997|optional|r@
+1.4.25|themes/project_vii/template.html|1.4.25|5997|optional|r@
+1.4.25|themes/project_vii/theme.php|1.4.25|5997|optional|r@
+1.4.25|themes/project_vii/images|||optional|r@
+1.4.25|themes/rainy_day|||optional|r@
+1.4.25|themes/rainy_day/style.css|1.4.25|5997|optional|r@
+1.4.25|themes/rainy_day/template.html|1.4.25|5997|optional|r@
+1.4.25|themes/rainy_day/theme.php|1.4.25|5997|optional|r@
+1.4.25|themes/rainy_day/images|||optional|r@
+1.4.25|themes/sample|||optional|r@
+1.4.25|themes/sample/style.css|1.4.25|5997|optional|r@
+1.4.25|themes/sample/template.html|1.4.25|5997|optional|r@
+1.4.25|themes/sample/theme.php|1.4.25|5997|optional|r@
+1.4.25|themes/sample/images|||optional|r@
+1.4.25|themes/water_drop|||optional|r@
+1.4.25|themes/water_drop/style.css|1.4.25|5997|optional|r@
+1.4.25|themes/water_drop/template.html|1.4.25|5997|optional|r@
+1.4.25|themes/water_drop/theme.php|1.4.25|5997|optional|r@
+1.4.25|themes/water_drop/images|||optional|r@
+';
+return $return;
+}
+
 ?>
\ No newline at end of file
diff -x .svn -aruN 1.4.24.src/viewlog.php 1.4.25.src/viewlog.php
--- 1.4.24.src/viewlog.php	2009-05-21 15:03:09.000000000 -0500
+++ 1.4.25.src/viewlog.php	2009-05-26 11:25:52.000000000 -0500
@@ -1,120 +1,120 @@
-<?php
-/*************************
-  Coppermine Photo Gallery
-  ************************
-  Copyright (c) 2003-2009 Coppermine Dev Team
-  v1.1 originally written by Gregory DEMAR
-
-  This program is free software; you can redistribute it and/or modify
-  it under the terms of the GNU General Public License version 3
-  as published by the Free Software Foundation.
-
-  ********************************************
-  Coppermine version: 1.4.24
-  $HeadURL: https://coppermine.svn.sourceforge.net/svnroot/coppermine/trunk/cpg1.4.x/viewlog.php $
-  $Revision: 5969 $
-  $Author: gaugau $
-  $Date: 2009-05-21 22:03:33 +0200 (Do, 21 Mai 2009) $
-**********************************************/
-
-define('IN_COPPERMINE',1);
-define('VIEWLOG_PHP',1);
-
-require('include/init.inc.php');
-
-function display_log_list()
-{
-	global $lang_viewlog_php;
-
-	$log_list = getloglist('logs/');
-	if (count($log_list)>0) {
-			foreach ($log_list as $log) {
-					echo <<<EOT
-								<tr>
-										<td class="tableb">
-												<img src="images/folder.gif" alt="" />&nbsp;<a href= "{$_SERVER['PHP_SELF']}?log={$log['logname']}">{$log['logname']}</a>
-												&nbsp;&nbsp;&nbsp; ( <i>{$log['filesize']} KB</i> )
-										</td>
-								</tr>
-EOT;
-			}
-			echo <<<EOT
-								<tr>
-										<td class="tableb" align="center">
-												<input class="button" type="button" value="{$lang_viewlog_php['delete_all']}" name="dall" id="dall" onclick="window.location='viewlog.php?action=dall';" />
-										</td>
-								</tr>
-EOT;
-	} else {
-			cpg_die(INFORMATION,$lang_viewlog_php['no_logs'], __FILE__,1);
-	}
-}
-
-function display_log($logname)
-{
-		global $lang_viewlog_php;
-
-		echo <<<EOT
-				<tr>
-						<td class="tableb" align="center">
-								<input class="button" type="button" value="{$lang_viewlog_php['delete_all']}" name="dall1" id="dall1" onclick="window.location='viewlog.php?action=dall';" />
-								<input class="button" type="button" value="{$lang_viewlog_php['view_logs']}" name="back1" id="back1" onclick="window.location='viewlog.php';" />
-								<input class="button" type="button" value="{$lang_viewlog_php['delete_this']}" name="dthis1" id="dthis1" onclick="window.location='viewlog.php?action=dthis&amp;log=$logname';" />
-						</td>
-				</tr>
-				<tr>
-						<td class="tableb">
-								<pre>
-EOT;
-		log_read($logname);
-		echo <<<EOT
-								</pre>
-						</td>
-				</tr>
-				<tr>
-						<td class="tableb" align="center">
-								<input class="button" type="button" value="{$lang_viewlog_php['delete_all']}" name="dall2" id="dall2" onclick="window.location='viewlog.php?action=dall';" />
-								<input class="button" type="button" value="{$lang_viewlog_php['view_logs']}" name="back2" id="back2" onclick="window.location='viewlog.php';" />
-								<input class="button" type="button" value="{$lang_viewlog_php['delete_this']}" name="dthis2" id="dthis2" onclick="window.location='viewlog.php?action=dthis&amp;log=$logname';" />
-						</td>
-				</tr>
-
-EOT;
-}
-
-$log = @$_GET['log'];
-$action = @$_GET['action'];
-
-pageheader('Logs :: '.$log);
-
-if (!$USER_DATA['has_admin_access']) {
-		// Write access attempt to 'security' log file
-		if ($CONFIG['log_mode']) {
-				log_write('Denied privileged access to viewlog.php from user '.$USER_DATA['user_name'].' at '.$_SERVER['REMOTE_HOST'].' on '.date("F j, Y, g:i a"),CPG_SECURITY_LOG);
-		}
-		cpg_die(CRITICAL_ERROR,$lang_errors['access_denied'], __FILE__,1);
-}
-
-starttable("100%", "Logs :: ".$log);
-
-
-if (isset($action)) {
-		if ($action=='dthis' && isset($log)) {
-				log_delete($log);
-				unset($log);
-		} elseif ($action=='dall') {
-				unset($log);
-				log_delete();
-		}
-}
-
-// If log variable not set or log file's directory is not current directory then display logs list else display log with given name stripping risky characters from it
-if (!isset($log) || dirname($log) != '.') {
-	display_log_list();
-} else {
-	display_log(ereg_replace('\.|/|%00', '', $log));
-}
-
-endtable();
-pagefooter();
+<?php
+/*************************
+  Coppermine Photo Gallery
+  ************************
+  Copyright (c) 2003-2009 Coppermine Dev Team
+  v1.1 originally written by Gregory DEMAR
+
+  This program is free software; you can redistribute it and/or modify
+  it under the terms of the GNU General Public License version 3
+  as published by the Free Software Foundation.
+
+  ********************************************
+  Coppermine version: 1.4.25
+  $HeadURL: https://coppermine.svn.sourceforge.net/svnroot/coppermine/trunk/cpg1.4.x/viewlog.php $
+  $Revision: 5997 $
+  $Author: gaugau $
+  $Date: 2009-05-26 08:43:24 +0200 (Di, 26 Mai 2009) $
+**********************************************/
+
+define('IN_COPPERMINE',1);
+define('VIEWLOG_PHP',1);
+
+require('include/init.inc.php');
+
+function display_log_list()
+{
+	global $lang_viewlog_php;
+
+	$log_list = getloglist('logs/');
+	if (count($log_list)>0) {
+			foreach ($log_list as $log) {
+					echo <<<EOT
+								<tr>
+										<td class="tableb">
+												<img src="images/folder.gif" alt="" />&nbsp;<a href= "{$_SERVER['PHP_SELF']}?log={$log['logname']}">{$log['logname']}</a>
+												&nbsp;&nbsp;&nbsp; ( <i>{$log['filesize']} KB</i> )
+										</td>
+								</tr>
+EOT;
+			}
+			echo <<<EOT
+								<tr>
+										<td class="tableb" align="center">
+												<input class="button" type="button" value="{$lang_viewlog_php['delete_all']}" name="dall" id="dall" onclick="window.location='viewlog.php?action=dall';" />
+										</td>
+								</tr>
+EOT;
+	} else {
+			cpg_die(INFORMATION,$lang_viewlog_php['no_logs'], __FILE__,1);
+	}
+}
+
+function display_log($logname)
+{
+		global $lang_viewlog_php;
+
+		echo <<<EOT
+				<tr>
+						<td class="tableb" align="center">
+								<input class="button" type="button" value="{$lang_viewlog_php['delete_all']}" name="dall1" id="dall1" onclick="window.location='viewlog.php?action=dall';" />
+								<input class="button" type="button" value="{$lang_viewlog_php['view_logs']}" name="back1" id="back1" onclick="window.location='viewlog.php';" />
+								<input class="button" type="button" value="{$lang_viewlog_php['delete_this']}" name="dthis1" id="dthis1" onclick="window.location='viewlog.php?action=dthis&amp;log=$logname';" />
+						</td>
+				</tr>
+				<tr>
+						<td class="tableb">
+								<pre>
+EOT;
+		log_read($logname);
+		echo <<<EOT
+								</pre>
+						</td>
+				</tr>
+				<tr>
+						<td class="tableb" align="center">
+								<input class="button" type="button" value="{$lang_viewlog_php['delete_all']}" name="dall2" id="dall2" onclick="window.location='viewlog.php?action=dall';" />
+								<input class="button" type="button" value="{$lang_viewlog_php['view_logs']}" name="back2" id="back2" onclick="window.location='viewlog.php';" />
+								<input class="button" type="button" value="{$lang_viewlog_php['delete_this']}" name="dthis2" id="dthis2" onclick="window.location='viewlog.php?action=dthis&amp;log=$logname';" />
+						</td>
+				</tr>
+
+EOT;
+}
+
+$log = @$_GET['log'];
+$action = @$_GET['action'];
+
+pageheader('Logs :: '.$log);
+
+if (!$USER_DATA['has_admin_access']) {
+		// Write access attempt to 'security' log file
+		if ($CONFIG['log_mode']) {
+				log_write('Denied privileged access to viewlog.php from user '.$USER_DATA['user_name'].' at '.$_SERVER['REMOTE_HOST'].' on '.date("F j, Y, g:i a"),CPG_SECURITY_LOG);
+		}
+		cpg_die(CRITICAL_ERROR,$lang_errors['access_denied'], __FILE__,1);
+}
+
+starttable("100%", "Logs :: ".$log);
+
+
+if (isset($action)) {
+		if ($action=='dthis' && isset($log)) {
+				log_delete($log);
+				unset($log);
+		} elseif ($action=='dall') {
+				unset($log);
+				log_delete();
+		}
+}
+
+// If log variable not set or log file's directory is not current directory then display logs list else display log with given name stripping risky characters from it
+if (!isset($log) || dirname($log) != '.') {
+	display_log_list();
+} else {
+	display_log(ereg_replace('\.|/|%00', '', $log));
+}
+
+endtable();
+pagefooter();
 ?>
\ No newline at end of file
diff -x .svn -aruN 1.4.24.src/xp_publish.php 1.4.25.src/xp_publish.php
--- 1.4.24.src/xp_publish.php	2009-05-21 15:03:09.000000000 -0500
+++ 1.4.25.src/xp_publish.php	2009-05-26 11:25:52.000000000 -0500
@@ -1,896 +1,896 @@
-<?php
-/*************************
-  Coppermine Photo Gallery
-  ************************
-  Copyright (c) 2003-2009 Coppermine Dev Team
-  v1.1 originally written by Gregory DEMAR
-
-  This program is free software; you can redistribute it and/or modify
-  it under the terms of the GNU General Public License version 3
-  as published by the Free Software Foundation.
-  
-  ********************************************
-  Coppermine version: 1.4.24
-  $HeadURL: https://coppermine.svn.sourceforge.net/svnroot/coppermine/trunk/cpg1.4.x/xp_publish.php $
-  $Revision: 5969 $
-  $Author: gaugau $
-  $Date: 2009-05-21 22:03:33 +0200 (Do, 21 Mai 2009) $
-**********************************************/
-
-// ------------------------------------------------------------------------- //
-// Coppermine Windows XP Web Publishing Wizard Client                        //
-// Based on the article posted by Sebastian Delmont                          //
-// http://www.zonageek.com/code/misc/wizards/                                //
-// ------------------------------------------------------------------------- //
-// Other information can be found on Microsoft web site                      //
-// http://www.microsoft.com/whdc/hwdev/tech/WIA/imaging/webwizard.mspx       //
-// http://msdn.microsoft.com/library/default.asp?url=/library/en-us/shellcc/platform/shell/programmersguide/shell_basics/shell_basics_extending/publishing_wizard/pubwiz_intro.asp
-// ------------------------------------------------------------------------- //
-// Original implementation comes from Gallery                                //
-// http://gallery.menalto.com                                                //
-// ------------------------------------------------------------------------- //
-
-// Declare we are in Coppermine.
-define('IN_COPPERMINE', true);
-
-// Set the language block.
-define('XP_PUBLISH_PHP', true);
-
-// Activate more language block sets.
-define('LOGIN_PHP', true);
-define('DB_INPUT_PHP', true);
-define('ALBMGR_PHP', true);
-
-
-// Call necessaryy files and subroutines.
-require('include/init.inc.php');
-require('include/picmgmt.inc.php');
-
-// Set the log file path.
-define('LOGFILE', 'xp_publish.log');
-// ------------------------------------------------------------------------- //
-
-// HTML template for the login screen
-$template_login = <<<EOT
-        <p><b>{ENTER_LOGIN_PSWD}</b></p>
-        <form method="post" id="login" action="{POST_ACTION}">
-            <table border="0" cellpadding="0" cellspasing="0">
-                <tr>
-                        <td>{USERNAME}:&nbsp;</td>
-                        <td><input type="text" name="username" value="" maxlength="25" /></td>
-                </tr>
-                <tr>
-                        <td>{PASSWORD}:&nbsp;</td>
-                        <td><input type="password" name="password" value="" maxlength="25" /></td>
-            </tr>
-            </table>
-        </form>
-EOT;
-
-// HTML template for a successful login
-$template_login_success = <<< EOT
-        <p>{WELCOME}</p>
-        <form method="post" id="dummy" action="{POST_ACTION}">
-                <input type="hidden" name="dummy_val" value="1" />
-        </form>
-<script language="javascript" type="text/javascript">
-dummy.submit();
-</script>
-EOT;
-// HTML template for an unsuccessful login
-$template_login_failure = <<< EOT
-        <p>{ERROR}</p>
-        <form method="post" id="dummy" action="{POST_ACTION}">
-                <input type="hidden" name="dummy_val" value="1" />
-        </form>
-EOT;
-
-// HTML template for the select destination/create new album screen
-$template_select_album = <<<EOT
-        <p>{WELCOME}</p>
-        <br />
-<!-- BEGIN no_album -->
-        <p>{NO_ALBUM}</p>
-<!-- END no_album -->
-   <table border="0" cellpadding="0" cellspasing="0">
-<!-- BEGIN existing_albums -->
-        <tr>
-                <td colspan="2"><b>{UPLOAD}</b></td>
-        </tr>
-        <form id="selform">
-    <tr>
-                <td>{ALBUM}: &nbsp;</td>
-                <td><select id="album" name="album">{SELECT_ALBUM}</select></td>
-        </tr>
-        </form>
-        <tr>
-                <td>&nbsp;</td>
-        </tr>
-<!-- END existing_albums -->
-<!-- BEGIN create_album -->
-        <form method="post" id="createAlb" action="{POST_ACTION}">
-        <tr>
-                <td colspan="2"><b>{CREATE_NEW}</b></td>
-        </tr>
-    <tr>
-                <td>{ALBUM}: &nbsp;</td>
-                <td><input type="text" id="newAlbName" name="new_alb_name" value="" maxlength="255" /></td>
-        </tr>
-<!-- BEGIN select_category -->
-        <tr>
-                <td>{CATEGORY}: &nbsp;</td>
-                <td><select name="cat">{SELECT_CATEGORY}</select></td>
-        </tr>
-<!-- END select_category -->
-        </form>
-<!-- END create_album -->
-        </table>
-
-EOT;
-// HTML template for a successful album creation
-$template_create_album = <<<EOT
-        <p>{NEW_ALB_CREATED}</p>
-        <p>{CONTINUE}</p>
-        <form id="selform">
-                <input type="hidden" id="album" name="album" value ="{ALBUM_ID}" />
-        </form>
-
-EOT;
-// ------------------------------------------------------------------------- //
-
-// Simple die function (replace the cpg_die function that can't be used inside the wizard)
-function simple_die($msg_code, $msg_text, $error_file, $error_line, $output_buffer = false)
-{
-    global $CONFIG, $lang_cpg_die;
-
-    $msg = $lang_cpg_die[$msg_code] . ': ' . $msg_text;
-
-    if (!$CONFIG['debug_mode']) {
-        $msg .= '(' . $lang_cpg_die['file'] . ': ' . $error_file . ' / ' . $lang_cpg_die['line'] . ': ' . $error_line . ')';
-    }
-
-    echo $msg;
-    // If debug mode is active, write the output into a log file
-    if (!$CONFIG['debug_mode']) {
-        $ob = ob_get_contents();
-        fwrite(fopen(LOGFILE, 'w'), $ob);
-    }
-
-    exit;
-}
-// Quote a string in order to make a valid JavaScript string
-function javascript_string($str)
-{
-    // replace \ with \\ and then ' with \'.
-    $str = str_replace('\\', '\\\\', $str);
-    $str = str_replace('\'', '\\\'', $str);
-
-    return $str;
-}
-
-// Retrieve the category list
-function get_subcat_data($parent, $ident = '')
-{
-    global $CONFIG, $CAT_LIST;
-
-    $result = cpg_db_query("SELECT cid, name, description FROM {$CONFIG['TABLE_CATEGORIES']} WHERE parent = '$parent' AND cid != 1 ORDER BY pos");
-    if (mysql_num_rows($result) > 0) {
-        $rowset = cpg_db_fetch_rowset($result);
-        foreach ($rowset as $subcat) {
-            $CAT_LIST[] = array($subcat['cid'], $ident . $subcat['name']);
-            get_subcat_data($subcat['cid'], $ident . '&nbsp;&nbsp;&nbsp;');
-        }
-    }
-}
-
-// Return the HTML code for the album list select box
-function html_album_list(&$alb_count)
-{
-    global $CONFIG;
-
-    if (USER_IS_ADMIN) {
-        $public_albums = cpg_db_query("SELECT aid, title FROM {$CONFIG['TABLE_ALBUMS']} WHERE category < " . FIRST_USER_CAT . " ORDER BY title");
-        if (mysql_num_rows($public_albums)) {
-            $public_albums_list = cpg_db_fetch_rowset($public_albums);
-        } else {
-            $public_albums_list = array();
-        }
-    } else {
-        $public_albums_list = array();
-    }
-
-    if (USER_ID) {
-        $user_albums = cpg_db_query("SELECT aid, title FROM {$CONFIG['TABLE_ALBUMS']} WHERE category='" . (FIRST_USER_CAT + USER_ID) . "' ORDER BY title");
-        if (mysql_num_rows($user_albums)) {
-            $user_albums_list = cpg_db_fetch_rowset($user_albums);
-        } else {
-            $user_albums_list = array();
-        }
-    } else {
-        $user_albums_list = array();
-    }
-
-    $alb_count = count($public_albums_list) + count($user_albums_list);
-
-    $html = "\n";
-    foreach($user_albums_list as $album) {
-        $html .= '                        <option value="' . $album['aid'] . '">* ' . $album['title'] . "</option>\n";
-    }
-    foreach($public_albums_list as $album) {
-        $html .= '                        <option value="' . $album['aid'] . '">' . $album['title'] . "</option>\n";
-    }
-
-    return $html;
-}
-// Return the HTML code for the category list select box
-function html_cat_list()
-{
-    global $CONFIG, $CAT_LIST;
-    global $lang_albmgr_php;
-
-    $CAT_LIST = array();
-    if (USER_CAN_CREATE_ALBUMS) $CAT_LIST[] = array(FIRST_USER_CAT + USER_ID, $lang_albmgr_php['my_gallery']);
-    $CAT_LIST[] = array(0, $lang_albmgr_php['no_category']);
-
-    get_subcat_data(0, '');
-
-    $html = "\n";
-    foreach($CAT_LIST as $category) {
-        $html .= '                        <option value="' . $category[0] . '">' . $category[1] . "</option>\n";
-    }
-
-    return $html;
-}
-
-// Display information on how to use/install the wizard client
-function display_instructions()
-{
-    //global $PHP_SELF;
-    global $lang_xp_publish_required, $lang_xp_publish_client, $lang_xp_publish_select, $lang_xp_publish_testing, $lang_xp_publish_notes, $lang_xp_publish_flood, $lang_xp_publish_php;
-    global $CONFIG, $lang_charset;
-    ?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml">
-<head>
-<title>Coppermine Photo Gallery - XP Publish README</title>
-<meta http-equiv="Content-Type" content="text/html; charset=<?php echo $CONFIG['charset'] == 'language file' ? $lang_charset : $CONFIG['charset']; ?>" />
-<style type="text/css">
-<!--
-body {
-        font-family : Verdana, Arial, Helvetica, sans-serif;
-        font-size: 12px;
-        background : #F7F7F7 ;
-        color : Black;
-        margin: 30px;
-        line-height: 1.5;
-}
-
-td {
-        font-size: 12px;
-}
-
-h1{
-        font-weight: bold;
-        font-size: 22px;
-        font-family: "Trebuchet MS", Verdana, Arial, Helvetica, sans-serif;
-        text-decoration: none;
-        line-height : 120%;
-        color : #000000;
-}
-
-h2 {
-        font-family: Arial, Helvetica, sans-serif;
-        font-size: 18px;
-        color: #0E72A4;
-        text-decoration: underline;
-        margin-top: 20px;
-        margin-bottom: 10px;
-}
-
-h3 {
-        font-weight: bold;
-        font-family: Verdana, Arial, Helvetica, sans-serif;
-        font-size: 12px;
-        text-decoration: underline;
-}
-
-p {
-        font-family : Verdana, Arial, Helvetica, sans-serif;
-        font-size: 12px;
-        margin: 10px 10px 0px 0px;
-}
-
-ul {
-        margin-left: 5px;
-        margin-right: 0px;
-        margin-top: 10px;
-        margin-bottom: 10px;
-        padding: 0px;
-        list-style-type: square;
-}
-
-li {
-        margin-left: 10px;
-        margin-top: 6px;
-        margin-bottom: 6px;
-        padding: 0px;
-        list-style-position: outside;
-}
--->
-</style>
-<!-- $Id: xp_publish.php 5969 2009-05-21 20:03:33Z gaugau $ -->
-</head>
-
-<body>
-<?php echo $lang_xp_publish_client ?> Sebastian Delmont <a href="http://www.zonageek.com/code/misc/wizards/">Creating your own XP Publishing Wizard</a>.</p>
-
-<?php echo $lang_xp_publish_required ?> <a href="<?php echo $_SERVER['PHP_SELF'] ?>?cmd=send_reg"><?php echo $lang_xp_publish_php['link'] ?></a>. <?php echo $lang_xp_publish_select,
-$lang_xp_publish_testing,
-$lang_xp_publish_notes; ?>
-  <a href="<?php echo dirname($_SERVER['PHP_SELF']) . '/' . LOGFILE ?>"><?php echo LOGFILE ?></a>
-<?php echo $lang_xp_publish_flood ?>
-</body>
-</html>
-<?php
-}
-
-// Output page header
-function output_header()
-{
-    global $CONFIG;
-    global $lang_charset, $lang_text_dir, $lang_xp_publish_php;
-
-    ?>
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
-<html dir="ltr">
-<head>
-<title><?php echo $lang_xp_publish_php['title'] ?></title>
-<meta http-equiv="Content-Type" content="text/html; charset=<?php echo $CONFIG['charset'] == 'language file' ? $lang_charset : $CONFIG['charset'];
-    ?>" />
-<style type="text/css">
-<!--
-body {
-        font-family : Verdana, Arial, Helvetica, sans-serif;
-        font-size: 12px;
-        background : #FFFFFF ;
-        color : Black;
-        margin: 20px;
-        border: 1px solid #000000;
-}
-
-td {
-        font-size: 12px;
-        padding-top: 5px;
-        padding-bottom: 0px;
-}
-
-h1{
-        font-weight: bold;
-        font-size: 22px;
-        font-family: Arial, Helvetica, sans-serif;
-        text-decoration: none;
-        line-height : 120%;
-        color : #0E72A4;
-}
-
-h2 {
-        font-family: Arial, Helvetica, sans-serif;
-        font-size: 18px;
-        color: #0E72A4;
-        text-decoration: underline;
-}
-
-h3 {
-        font-weight: bold;
-        font-family: Verdana, Arial, Helvetica, sans-serif;
-        font-size: 12px;
-        text-decoration: underline;
-}
-
-p {
-        font-family : Verdana, Arial, Helvetica, sans-serif;
-        font-size: 12px;
-        margin: 10px 10px 0px 0px;
-}
-
-ul {
-        margin-left: 5px;
-        margin-right: 0px;
-        margin-top: 10px;
-        margin-bottom: 10px;
-        padding: 0px;
-}
-
-li {
-        margin-left: 10px;
-        margin-top: 4px;
-        margin-bottom: 4px;
-        padding: 0px;
-        list-style-position: outside;
-        list-style-type: disc;
-}
-
-form {
-        display: inline;
-}
-
-input {
-        width: 200px;
-}
-
--->
-</style>
-</head>
-
-<body>
-<h1><?php echo $lang_xp_publish_php['title'] ?></h1>
-<p></p>
-<?php
-}
-
-// Output page footer
-function output_footer()
-{
-    global $WIZARD_BUTTONS, $ONBACK_SCRIPT, $ONNEXT_SCRIPT;
-    global $CONFIG; //$PHP_SELF,
-
-    ?>
-
-<div id="content"></div>
-
-<script language="javascript" type="text/javascript">
-function create_alb() {
-        if (createAlb.newAlbName.value == ''){
-                return false;
-        } else {
-                createAlb.submit();
-        }
-}
-
-function create_alb_or_use_existing() {
-        if (createAlb.newAlbName.value == ''){
-                startUpload();
-        } else {
-                createAlb.submit();
-        }
-}
-
-function startUpload() {
-        var xml = window.external.Property('TransferManifest');
-        var files = xml.selectNodes('transfermanifest/filelist/file');
-
-        for (i = 0; i < files.length; i++) {
-                var postTag = xml.createNode(1, 'post', '');
-                postTag.setAttribute('href', '<?php echo trim($CONFIG['site_url'], '/') . '/' . $_SERVER['PHP_SELF'] . '?cmd=add_picture'?>&album=' + selform.album.value);
-                postTag.setAttribute('name', 'userpicture');
-
-                var dataTag = xml.createNode(1, 'formdata', '');
-                dataTag.setAttribute('name', 'MAX_FILE_SIZE');
-                dataTag.text = '10000000';
-                postTag.appendChild(dataTag);
-
-                files.item(i).appendChild(postTag);
-        }
-
-        var uploadTag = xml.createNode(1, 'uploadinfo', '');
-        uploadTag.setAttribute('friendlyname', '<?php echo javascript_string($CONFIG['gallery_name'])?>');
-        var htmluiTag = xml.createNode(1, 'htmlui', '');
-        htmluiTag.text = '<?php echo trim($CONFIG['site_url'], '/') . '/'?>';
-        uploadTag.appendChild(htmluiTag);
-
-        xml.documentElement.appendChild(uploadTag);
-
-        window.external.Property('TransferManifest')=xml;
-        window.external.SetWizardButtons(true,true,true);
-        content.innerHtml=xml;
-        window.external.FinalNext();
-}
-
-function OnBack() {
-        <?php echo $ONBACK_SCRIPT;
-    ?>
-        window.external.SetWizardButtons(false,true,false);
-}
-
-function OnNext() {
-        <?php echo $ONNEXT_SCRIPT;
-    ?>
-}
-
-function OnCancel() {
-}
-
-function window.onload() {
-        window.external.SetHeaderText('<?php echo javascript_string($CONFIG['gallery_name'])?>','<?php echo javascript_string($CONFIG['gallery_description'])?>');
-        window.external.SetWizardButtons(<?php echo $WIZARD_BUTTONS;
-    ?>);
-}
-</script>
-</body>
-</html>
-<?php
-}
-
-// Send the file needed to register the service under Windows XP
-function send_reg_file()
-{
-    global $CONFIG; //, $PHP_SELF;
-
-    header("Content-Type: application/octet-stream");
-    $time_stamp = time();
-        header("Content-Disposition: attachment; filename=cpg_".$time_stamp.".reg");
-
-    $lines[] = 'Windows Registry Editor Version 5.00';
-    //$lines[] = '[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\PublishingWizard\PublishingWizard\Providers\CopperminePhotoGallery]';
-        $lines[] = '[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\PublishingWizard\PublishingWizard\Providers\\'. $CONFIG['gallery_name'] .']';
-    $lines[] = '"displayname"="' . $CONFIG['gallery_name'] . '"';
-    $lines[] = '"description"="' . $CONFIG['gallery_description'] . '"';
-    $lines[] = '"href"="' . trim($CONFIG['site_url'], '/') . '/' . $_SERVER['PHP_SELF'] . '?cmd=publish"';
-    $lines[] = '"icon"="' . "http://" . $_SERVER['HTTP_HOST'] . '/favicon.ico"';
-    print join("\r\n", $lines);
-    print "\r\n";
-    exit;
-}
-
-// Display the login page
-function form_login()
-{
-    //global $PHP_SELF;
-    global $ONNEXT_SCRIPT, $ONBACK_SCRIPT, $WIZARD_BUTTONS;
-    global $template_login;
-    global $lang_login_php, $lang_xp_publish_php, $cpg_udb;
-	global $CONFIG;
-
-
-    if (!method_exists($cpg_udb,'login')) {
-        echo '<p>' . $lang_xp_publish_php['need_login'] . '</p>';
-        $ONNEXT_SCRIPT = '';
-        $ONBACK_SCRIPT = 'window.external.FinalBack();';
-        $WIZARD_BUTTONS = 'false,false,false';
-        return;
-    }
-
-    $params = array('{POST_ACTION}' => trim($CONFIG['site_url'], '/') . '/' . $_SERVER['PHP_SELF'] . '?cmd=publish',
-        '{ENTER_LOGIN_PSWD}' => $lang_login_php['enter_login_pswd'],
-        '{USERNAME}' => $lang_login_php['username'],
-        '{PASSWORD}' => $lang_login_php['password'],
-        );
-
-    echo template_eval($template_login, $params);
-
-    $ONNEXT_SCRIPT = 'login.submit();';
-    $ONBACK_SCRIPT = 'window.external.FinalBack();';
-    $WIZARD_BUTTONS = 'true,true,false';
-}
-
-// Process login information
-function process_login()
-{
-    global $CONFIG, $USER; //$PHP_SELF,
-    global $ONNEXT_SCRIPT, $ONBACK_SCRIPT, $WIZARD_BUTTONS;
-    global $template_login_success, $template_login_failure,$template_login;
-    global $lang_login_php, $cpg_udb;
-
-    $tt = 'worked';
-
-    if ( $USER_DATA = $cpg_udb->login(addslashes($_POST['username']), addslashes($_POST['password'])) ) {
-        $USER['am'] = 1;
-        user_save_profile();
-
-        $params = array('{WELCOME}' => sprintf($lang_login_php['welcome'], USER_NAME),
-            '{POST_ACTION}' => trim($CONFIG['site_url'], '/') . '/' . $_SERVER['PHP_SELF'] . '?cmd=publish',
-            );
-
-        echo template_eval($template_login_success, $params);
-    } else {
-        $params = array('{ERROR}' => $lang_login_php['err_login'],
-            '{POST_ACTION}' => trim($CONFIG['site_url'], '/') . '/' . $_SERVER['PHP_SELF'] . '?cmd=publish',
-            );
-
-
-        echo template_eval($template_login_failure, $params);
-    }
-
-    $ONNEXT_SCRIPT = 'dummy.submit();';
-    $ONBACK_SCRIPT = 'dummy.submit();';
-    $WIZARD_BUTTONS = 'true,true,false';
-}
-
-// Display the form that allows to choose/create the destination album
-function form_publish()
-{
-    global $CONFIG, $CAT_LIST; //, $PHP_SELF;
-    global $ONNEXT_SCRIPT, $ONBACK_SCRIPT, $WIZARD_BUTTONS;
-    global $template_select_album;
-    global $lang_xp_publish_php;
-
-    $alb_count = 0;
-    $html_album_list = html_album_list($alb_count);
-    $html_cat_list = html_cat_list();
-
-    if (!(USER_CAN_CREATE_ALBUMS || USER_IS_ADMIN)) {
-        template_extract_block($template_select_album, 'existing_albums');
-        template_extract_block($template_select_album, 'create_album');
-
-        $params = array('{WELCOME}' => sprintf($lang_xp_publish_php['welcome'], USER_NAME),
-            '{NO_ALBUM}' => $lang_xp_publish_php['no_alb'],
-            );
-
-        echo template_eval($template_select_album, $params);
-
-        $WIZARD_BUTTONS = "false,false,false";
-    } elseif (!$alb_count) {
-        template_extract_block($template_select_album, 'no_album');
-        template_extract_block($template_select_album, 'existing_albums');
-
-        if (!USER_IS_ADMIN) template_extract_block($template_select_album, 'select_category');
-
-        $params = array('{WELCOME}' => sprintf($lang_xp_publish_php['welcome'], USER_NAME),
-            '{CREATE_NEW}' => $lang_xp_publish_php['create_new'],
-            '{ALBUM}' => $lang_xp_publish_php['album'],
-            '{CATEGORY}' => $lang_xp_publish_php['category'],
-            '{SELECT_CATEGORY}' => $html_cat_list,
-            '{POST_ACTION}' => trim($CONFIG['site_url'], '/') . '/' . $_SERVER['PHP_SELF'] . '?cmd=create_album',
-            );
-
-        echo template_eval($template_select_album, $params);
-
-        $ONNEXT_SCRIPT = 'create_alb();';
-        $ONBACK_SCRIPT = 'window.external.FinalBack();';
-        $WIZARD_BUTTONS = 'true,true,false';
-    } else {
-        template_extract_block($template_select_album, 'no_album');
-
-        if (!USER_IS_ADMIN) template_extract_block($template_select_album, 'select_category');
-
-        $params = array('{WELCOME}' => sprintf($lang_xp_publish_php['welcome'], USER_NAME),
-            '{UPLOAD}' => $lang_xp_publish_php['upload'],
-            '{ALBUM}' => $lang_xp_publish_php['album'],
-            '{SELECT_ALBUM}' => $html_album_list,
-            '{CATEGORY}' => $lang_xp_publish_php['category'],
-            '{SELECT_CATEGORY}' => $html_cat_list,
-            '{CREATE_NEW}' => $lang_xp_publish_php['create_new'],
-            '{POST_ACTION}' => trim($CONFIG['site_url'], '/') . '/' . $_SERVER['PHP_SELF'] . '?cmd=create_album',
-            );
-
-        echo template_eval($template_select_album, $params);
-
-        $ONNEXT_SCRIPT = 'create_alb_or_use_existing();';
-        $ONBACK_SCRIPT = 'window.external.FinalBack();';
-        $WIZARD_BUTTONS = 'true,true,false';
-    }
-}
-
-// Create a new album where pictures will be uploaded
-function create_album()
-{
-    global $CONFIG;
-    global $ONNEXT_SCRIPT, $ONBACK_SCRIPT, $WIZARD_BUTTONS;
-    global $template_create_album;
-    global $lang_errors, $lang_xp_publish_php;
-
-    if (!(USER_CAN_CREATE_ALBUMS || USER_IS_ADMIN)) simple_die(ERROR, $lang_errors['perm_denied'], __FILE__, __LINE__);
-
-    if (USER_IS_ADMIN) {
-        $category = (int)$_POST['cat'];
-    } else {
-        $category = FIRST_USER_CAT + USER_ID;
-    }
-
-    $query = "INSERT INTO {$CONFIG['TABLE_ALBUMS']} (category, title, uploads, pos) VALUES ('$category', '" . addslashes($_POST['new_alb_name']) . "', 'NO',  '0')";
-    cpg_db_query($query);
-
-    $params = array('{NEW_ALB_CREATED}' => sprintf($lang_xp_publish_php['new_alb_created'], $_POST['new_alb_name']),
-        '{CONTINUE}' => $lang_xp_publish_php['continue'],
-        '{ALBUM_ID}' => mysql_insert_id(),
-        );
-
-    echo template_eval($template_create_album, $params);
-
-    $ONNEXT_SCRIPT = 'startUpload();';
-    $ONBACK_SCRIPT = 'window.external.FinalBack();';
-    $WIZARD_BUTTONS = 'true,true,true';
-}
-
-// Add a picture
-function process_picture()
-{
-    global $CONFIG, $IMG_TYPES;
-    global $lang_db_input_php, $lang_errors;
-
-    @unlink(LOGFILE);
-
-    if (!USER_ID || !USER_CAN_UPLOAD_PICTURES) simple_die(ERROR, $lang_errors['perm_denied'], __FILE__, __LINE__);
-
-    $album = (int)$_GET['album'];
-    $title = '';
-    $caption = '';
-    $keywords = '';
-    $user1 = '';
-    $user2 = '';
-    $user3 = '';
-    $user4 = '';
-    $position = 0;
-    // Check if the album id provided is valid
-    if (!USER_IS_ADMIN) {
-        $result = cpg_db_query("SELECT category FROM {$CONFIG['TABLE_ALBUMS']} WHERE aid='$album' and category = '" . (USER_ID + FIRST_USER_CAT) . "'");
-        if (mysql_num_rows($result) == 0) simple_die(ERROR, $lang_db_input_php['unknown_album'], __FILE__, __LINE__);
-        $row = mysql_fetch_array($result);
-        mysql_free_result($result);
-        $category = $row['category'];
-    } else {
-        $result = cpg_db_query("SELECT category FROM {$CONFIG['TABLE_ALBUMS']} WHERE aid='$album'");
-        if (mysql_num_rows($result) == 0) simple_die(ERROR, $lang_db_input_php['unknown_album'], __FILE__, __LINE__);
-        $row = mysql_fetch_array($result);
-        mysql_free_result($result);
-        $category = $row['category'];
-    }
-
-    // Get position
-    $result = cpg_db_query("SELECT position FROM {$CONFIG['TABLE_PICTURES']} WHERE aid='$album' order by position desc");
-    if (mysql_num_rows($result) == 0) {
-             $position = 100;
-    } else {
-             $row = mysql_fetch_array($result);
-             mysql_free_result($result);
-                     if ($row['position']) {
-                     $position = $row['position'];
-                             $position++;
-                                         }
-    }
-
-
-    // Test if the filename of the temporary uploaded picture is empty
-    if ($_FILES['userpicture']['tmp_name'] == '') simple_die(ERROR, $lang_db_input_php['no_pic_uploaded'], __FILE__, __LINE__);
-    // Create destination directory for pictures
-    if (USER_ID && !defined('SILLY_SAFE_MODE')) {
-        if (USER_IS_ADMIN && ($category != (USER_ID + FIRST_USER_CAT))) {
-            $filepath = 'wpw-' . date("Ymd");
-        } else {
-            $filepath = $CONFIG['userpics'] . (USER_ID + FIRST_USER_CAT);
-        }
-        $dest_dir = $CONFIG['fullpath'] . $filepath;
-        if (!is_dir($dest_dir)) {
-            mkdir($dest_dir, octdec($CONFIG['default_dir_mode']));
-            if (!is_dir($dest_dir)) simple_die(CRITICAL_ERROR, sprintf($lang_db_input_php['err_mkdir'], $dest_dir), __FILE__, __LINE__, true);
-            chmod($dest_dir, octdec($CONFIG['default_dir_mode']));
-            $fp = fopen($dest_dir . '/index.html', 'w');
-            fwrite($fp, ' ');
-            fclose($fp);
-        }
-        $dest_dir .= '/';
-        $filepath .= '/';
-    } else {
-        $filepath = $CONFIG['userpics'];
-        $dest_dir = $CONFIG['fullpath'] . $filepath;
-    }
-    // Check that target dir is writable
-    if (!is_writable($dest_dir)) simple_die(CRITICAL_ERROR, sprintf($lang_db_input_php['dest_dir_ro'], $dest_dir), __FILE__, __LINE__, true);
-
-    $matches = array();
-
-    if (get_magic_quotes_gpc()) $_FILES['userpicture']['name'] = stripslashes($_FILES['userpicture']['name']);
-    // Replace forbidden chars with underscores
-    $picture_name = replace_forbidden($_FILES['userpicture']['name']);
-    // Check that the file uploaded has a valid extension
-    if (!preg_match("/(.+)\.(.*?)\Z/", $picture_name, $matches)) {
-        $matches[1] = 'invalid_fname';
-        $matches[2] = 'xxx';
-    }
-
-    if ($matches[2] == '' || !is_known_filetype($matches)) {
-        simple_die(ERROR, sprintf($lang_db_input_php['err_invalid_fext'], $CONFIG['allowed_file_extensions']), __FILE__, __LINE__);
-    }
-
-    // Create a unique name for the uploaded file
-    $nr = 0;
-    $picture_name = $matches[1] . '.' . $matches[2];
-    while (file_exists($dest_dir . $picture_name)) {
-        $picture_name = $matches[1] . '~' . $nr++ . '.' . $matches[2];
-    }
-    $uploaded_pic = $dest_dir . $picture_name;
-    // Move the picture into its final location
-    if (!move_uploaded_file($_FILES['userpicture']['tmp_name'], $uploaded_pic))
-        simple_die(CRITICAL_ERROR, sprintf($lang_db_input_php['err_move'], $picture_name, $dest_dir), __FILE__, __LINE__, true);
-    // Change file permission
-    chmod($uploaded_pic, octdec($CONFIG['default_file_mode']));
-
-    // Check file size. Delete if it is excessive.
-    if (filesize($uploaded_pic) > ($CONFIG['max_upl_size'] << 10)) {
-        @unlink($uploaded_pic);
-        simple_die(ERROR, sprintf($lang_db_input_php['err_imgsize_too_large'], $CONFIG['max_upl_size']), __FILE__, __LINE__);
-    } elseif (is_image($picture_name)) {
-
-        // Get picture information
-        $imginfo = getimagesize($uploaded_pic);
-
-        // getimagesize does not recognize the file as a picture
-        if ($imginfo == null) {
-            @unlink($uploaded_pic);
-            simple_die(ERROR, $lang_db_input_php['err_invalid_img'], __FILE__, __LINE__, true);
-        }
-
-        // JPEG and PNG only are allowed with GD
-        //if ($imginfo[2] != GIS_JPG && $imginfo[2] != GIS_PNG && ($CONFIG['thumb_method'] == 'gd1' || $CONFIG['thumb_method'] == 'gd2')) {
-        if ($imginfo[2] != GIS_JPG && $imginfo[2] != GIS_PNG && $CONFIG['GIF_support'] == 0) {
-            @unlink($uploaded_pic);
-            simple_die(ERROR, $lang_errors['gd_file_type_err'], __FILE__, __LINE__, true);
-        }
-
-        // Check that picture size (in pixels) is lower than the maximum allowed
-        if (max($imginfo[0], $imginfo[1]) > $CONFIG['max_upl_width_height']) {
-            if ((USER_IS_ADMIN && $CONFIG['auto_resize'] == 1) || (!USER_IS_ADMIN && $CONFIG['auto_resize'] > 0)) //($CONFIG['auto_resize']==1)
-            {
-              //resize_image($uploaded_pic, $uploaded_pic, $CONFIG['max_upl_width_height'], $CONFIG['thumb_method'], $imginfo[0] > $CONFIG['max_upl_width_height'] ? 'wd' : 'ht');
-              resize_image($uploaded_pic, $uploaded_pic, $CONFIG['max_upl_width_height'], $CONFIG['thumb_method'], $CONFIG['thumb_use']);
-            }
-            else
-            {
-              @unlink($uploaded_pic);
-              simple_die(ERROR, sprintf($lang_db_input_php['err_fsize_too_large'], $CONFIG['max_upl_width_height'], $CONFIG['max_upl_width_height']), __FILE__, __LINE__);
-            }
-        }
-
-    }
-
-    // Create thumbnail and internediate image and add the image into the DB
-    $result = add_picture($album, $filepath, $picture_name, $position, $title, $caption, $keywords, $user1, $user2, $user3, $user4, $category);
-
-    if (!$result) {
-        @unlink($uploaded_pic);
-        simple_die(CRITICAL_ERROR, sprintf($lang_db_input_php['err_insert_pic'], $uploaded_pic) . '<br /><br />' . $ERROR, __FILE__, __LINE__, true);
-    } else {
-        echo ("SUCCESS");
-        exit;
-    }
-
-}
-// ------------------------------------------------------------------------- //
-if (USER_IS_ADMIN && !GALLERY_ADMIN_MODE) {
-    $USER['am'] = 1;
-    user_save_profile();
-}
-
-$cmd = empty($_GET['cmd']) ? '' : $_GET['cmd'];
-
-if (!USER_ID && $cmd && $cmd != 'send_reg') $cmd = 'login';
-if (!empty($_POST['username'])) $cmd = 'process_login';
-
-switch ($cmd) {
-    case 'login' :
-        output_header();
-        form_login();
-        output_footer();
-        break;
-
-    case 'process_login' :
-        output_header();
-        process_login();
-        output_footer();
-        break;
-
-    case 'publish' :
-        output_header();
-        form_publish();
-        output_footer();
-        break;
-
-    case 'create_album' :
-        output_header();
-        create_album();
-        output_footer();
-        break;
-
-    case 'add_picture' :
-        process_picture();
-        break;
-
-    case 'send_reg' :
-        send_reg_file();
-        break;
-
-    default:
-        display_instructions();
-} // switch
-
-?>
+<?php
+/*************************
+  Coppermine Photo Gallery
+  ************************
+  Copyright (c) 2003-2009 Coppermine Dev Team
+  v1.1 originally written by Gregory DEMAR
+
+  This program is free software; you can redistribute it and/or modify
+  it under the terms of the GNU General Public License version 3
+  as published by the Free Software Foundation.
+  
+  ********************************************
+  Coppermine version: 1.4.25
+  $HeadURL: https://coppermine.svn.sourceforge.net/svnroot/coppermine/trunk/cpg1.4.x/xp_publish.php $
+  $Revision: 5997 $
+  $Author: gaugau $
+  $Date: 2009-05-26 08:43:24 +0200 (Di, 26 Mai 2009) $
+**********************************************/
+
+// ------------------------------------------------------------------------- //
+// Coppermine Windows XP Web Publishing Wizard Client                        //
+// Based on the article posted by Sebastian Delmont                          //
+// http://www.zonageek.com/code/misc/wizards/                                //
+// ------------------------------------------------------------------------- //
+// Other information can be found on Microsoft web site                      //
+// http://www.microsoft.com/whdc/hwdev/tech/WIA/imaging/webwizard.mspx       //
+// http://msdn.microsoft.com/library/default.asp?url=/library/en-us/shellcc/platform/shell/programmersguide/shell_basics/shell_basics_extending/publishing_wizard/pubwiz_intro.asp
+// ------------------------------------------------------------------------- //
+// Original implementation comes from Gallery                                //
+// http://gallery.menalto.com                                                //
+// ------------------------------------------------------------------------- //
+
+// Declare we are in Coppermine.
+define('IN_COPPERMINE', true);
+
+// Set the language block.
+define('XP_PUBLISH_PHP', true);
+
+// Activate more language block sets.
+define('LOGIN_PHP', true);
+define('DB_INPUT_PHP', true);
+define('ALBMGR_PHP', true);
+
+
+// Call necessaryy files and subroutines.
+require('include/init.inc.php');
+require('include/picmgmt.inc.php');
+
+// Set the log file path.
+define('LOGFILE', 'xp_publish.log');
+// ------------------------------------------------------------------------- //
+
+// HTML template for the login screen
+$template_login = <<<EOT
+        <p><b>{ENTER_LOGIN_PSWD}</b></p>
+        <form method="post" id="login" action="{POST_ACTION}">
+            <table border="0" cellpadding="0" cellspasing="0">
+                <tr>
+                        <td>{USERNAME}:&nbsp;</td>
+                        <td><input type="text" name="username" value="" maxlength="25" /></td>
+                </tr>
+                <tr>
+                        <td>{PASSWORD}:&nbsp;</td>
+                        <td><input type="password" name="password" value="" maxlength="25" /></td>
+            </tr>
+            </table>
+        </form>
+EOT;
+
+// HTML template for a successful login
+$template_login_success = <<< EOT
+        <p>{WELCOME}</p>
+        <form method="post" id="dummy" action="{POST_ACTION}">
+                <input type="hidden" name="dummy_val" value="1" />
+        </form>
+<script language="javascript" type="text/javascript">
+dummy.submit();
+</script>
+EOT;
+// HTML template for an unsuccessful login
+$template_login_failure = <<< EOT
+        <p>{ERROR}</p>
+        <form method="post" id="dummy" action="{POST_ACTION}">
+                <input type="hidden" name="dummy_val" value="1" />
+        </form>
+EOT;
+
+// HTML template for the select destination/create new album screen
+$template_select_album = <<<EOT
+        <p>{WELCOME}</p>
+        <br />
+<!-- BEGIN no_album -->
+        <p>{NO_ALBUM}</p>
+<!-- END no_album -->
+   <table border="0" cellpadding="0" cellspasing="0">
+<!-- BEGIN existing_albums -->
+        <tr>
+                <td colspan="2"><b>{UPLOAD}</b></td>
+        </tr>
+        <form id="selform">
+    <tr>
+                <td>{ALBUM}: &nbsp;</td>
+                <td><select id="album" name="album">{SELECT_ALBUM}</select></td>
+        </tr>
+        </form>
+        <tr>
+                <td>&nbsp;</td>
+        </tr>
+<!-- END existing_albums -->
+<!-- BEGIN create_album -->
+        <form method="post" id="createAlb" action="{POST_ACTION}">
+        <tr>
+                <td colspan="2"><b>{CREATE_NEW}</b></td>
+        </tr>
+    <tr>
+                <td>{ALBUM}: &nbsp;</td>
+                <td><input type="text" id="newAlbName" name="new_alb_name" value="" maxlength="255" /></td>
+        </tr>
+<!-- BEGIN select_category -->
+        <tr>
+                <td>{CATEGORY}: &nbsp;</td>
+                <td><select name="cat">{SELECT_CATEGORY}</select></td>
+        </tr>
+<!-- END select_category -->
+        </form>
+<!-- END create_album -->
+        </table>
+
+EOT;
+// HTML template for a successful album creation
+$template_create_album = <<<EOT
+        <p>{NEW_ALB_CREATED}</p>
+        <p>{CONTINUE}</p>
+        <form id="selform">
+                <input type="hidden" id="album" name="album" value ="{ALBUM_ID}" />
+        </form>
+
+EOT;
+// ------------------------------------------------------------------------- //
+
+// Simple die function (replace the cpg_die function that can't be used inside the wizard)
+function simple_die($msg_code, $msg_text, $error_file, $error_line, $output_buffer = false)
+{
+    global $CONFIG, $lang_cpg_die;
+
+    $msg = $lang_cpg_die[$msg_code] . ': ' . $msg_text;
+
+    if (!$CONFIG['debug_mode']) {
+        $msg .= '(' . $lang_cpg_die['file'] . ': ' . $error_file . ' / ' . $lang_cpg_die['line'] . ': ' . $error_line . ')';
+    }
+
+    echo $msg;
+    // If debug mode is active, write the output into a log file
+    if (!$CONFIG['debug_mode']) {
+        $ob = ob_get_contents();
+        fwrite(fopen(LOGFILE, 'w'), $ob);
+    }
+
+    exit;
+}
+// Quote a string in order to make a valid JavaScript string
+function javascript_string($str)
+{
+    // replace \ with \\ and then ' with \'.
+    $str = str_replace('\\', '\\\\', $str);
+    $str = str_replace('\'', '\\\'', $str);
+
+    return $str;
+}
+
+// Retrieve the category list
+function get_subcat_data($parent, $ident = '')
+{
+    global $CONFIG, $CAT_LIST;
+
+    $result = cpg_db_query("SELECT cid, name, description FROM {$CONFIG['TABLE_CATEGORIES']} WHERE parent = '$parent' AND cid != 1 ORDER BY pos");
+    if (mysql_num_rows($result) > 0) {
+        $rowset = cpg_db_fetch_rowset($result);
+        foreach ($rowset as $subcat) {
+            $CAT_LIST[] = array($subcat['cid'], $ident . $subcat['name']);
+            get_subcat_data($subcat['cid'], $ident . '&nbsp;&nbsp;&nbsp;');
+        }
+    }
+}
+
+// Return the HTML code for the album list select box
+function html_album_list(&$alb_count)
+{
+    global $CONFIG;
+
+    if (USER_IS_ADMIN) {
+        $public_albums = cpg_db_query("SELECT aid, title FROM {$CONFIG['TABLE_ALBUMS']} WHERE category < " . FIRST_USER_CAT . " ORDER BY title");
+        if (mysql_num_rows($public_albums)) {
+            $public_albums_list = cpg_db_fetch_rowset($public_albums);
+        } else {
+            $public_albums_list = array();
+        }
+    } else {
+        $public_albums_list = array();
+    }
+
+    if (USER_ID) {
+        $user_albums = cpg_db_query("SELECT aid, title FROM {$CONFIG['TABLE_ALBUMS']} WHERE category='" . (FIRST_USER_CAT + USER_ID) . "' ORDER BY title");
+        if (mysql_num_rows($user_albums)) {
+            $user_albums_list = cpg_db_fetch_rowset($user_albums);
+        } else {
+            $user_albums_list = array();
+        }
+    } else {
+        $user_albums_list = array();
+    }
+
+    $alb_count = count($public_albums_list) + count($user_albums_list);
+
+    $html = "\n";
+    foreach($user_albums_list as $album) {
+        $html .= '                        <option value="' . $album['aid'] . '">* ' . $album['title'] . "</option>\n";
+    }
+    foreach($public_albums_list as $album) {
+        $html .= '                        <option value="' . $album['aid'] . '">' . $album['title'] . "</option>\n";
+    }
+
+    return $html;
+}
+// Return the HTML code for the category list select box
+function html_cat_list()
+{
+    global $CONFIG, $CAT_LIST;
+    global $lang_albmgr_php;
+
+    $CAT_LIST = array();
+    if (USER_CAN_CREATE_ALBUMS) $CAT_LIST[] = array(FIRST_USER_CAT + USER_ID, $lang_albmgr_php['my_gallery']);
+    $CAT_LIST[] = array(0, $lang_albmgr_php['no_category']);
+
+    get_subcat_data(0, '');
+
+    $html = "\n";
+    foreach($CAT_LIST as $category) {
+        $html .= '                        <option value="' . $category[0] . '">' . $category[1] . "</option>\n";
+    }
+
+    return $html;
+}
+
+// Display information on how to use/install the wizard client
+function display_instructions()
+{
+    //global $PHP_SELF;
+    global $lang_xp_publish_required, $lang_xp_publish_client, $lang_xp_publish_select, $lang_xp_publish_testing, $lang_xp_publish_notes, $lang_xp_publish_flood, $lang_xp_publish_php;
+    global $CONFIG, $lang_charset;
+    ?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+<title>Coppermine Photo Gallery - XP Publish README</title>
+<meta http-equiv="Content-Type" content="text/html; charset=<?php echo $CONFIG['charset'] == 'language file' ? $lang_charset : $CONFIG['charset']; ?>" />
+<style type="text/css">
+<!--
+body {
+        font-family : Verdana, Arial, Helvetica, sans-serif;
+        font-size: 12px;
+        background : #F7F7F7 ;
+        color : Black;
+        margin: 30px;
+        line-height: 1.5;
+}
+
+td {
+        font-size: 12px;
+}
+
+h1{
+        font-weight: bold;
+        font-size: 22px;
+        font-family: "Trebuchet MS", Verdana, Arial, Helvetica, sans-serif;
+        text-decoration: none;
+        line-height : 120%;
+        color : #000000;
+}
+
+h2 {
+        font-family: Arial, Helvetica, sans-serif;
+        font-size: 18px;
+        color: #0E72A4;
+        text-decoration: underline;
+        margin-top: 20px;
+        margin-bottom: 10px;
+}
+
+h3 {
+        font-weight: bold;
+        font-family: Verdana, Arial, Helvetica, sans-serif;
+        font-size: 12px;
+        text-decoration: underline;
+}
+
+p {
+        font-family : Verdana, Arial, Helvetica, sans-serif;
+        font-size: 12px;
+        margin: 10px 10px 0px 0px;
+}
+
+ul {
+        margin-left: 5px;
+        margin-right: 0px;
+        margin-top: 10px;
+        margin-bottom: 10px;
+        padding: 0px;
+        list-style-type: square;
+}
+
+li {
+        margin-left: 10px;
+        margin-top: 6px;
+        margin-bottom: 6px;
+        padding: 0px;
+        list-style-position: outside;
+}
+-->
+</style>
+<!-- $Id: xp_publish.php 5997 2009-05-26 06:43:24Z gaugau $ -->
+</head>
+
+<body>
+<?php echo $lang_xp_publish_client ?> Sebastian Delmont <a href="http://www.zonageek.com/code/misc/wizards/">Creating your own XP Publishing Wizard</a>.</p>
+
+<?php echo $lang_xp_publish_required ?> <a href="<?php echo $_SERVER['PHP_SELF'] ?>?cmd=send_reg"><?php echo $lang_xp_publish_php['link'] ?></a>. <?php echo $lang_xp_publish_select,
+$lang_xp_publish_testing,
+$lang_xp_publish_notes; ?>
+  <a href="<?php echo dirname($_SERVER['PHP_SELF']) . '/' . LOGFILE ?>"><?php echo LOGFILE ?></a>
+<?php echo $lang_xp_publish_flood ?>
+</body>
+</html>
+<?php
+}
+
+// Output page header
+function output_header()
+{
+    global $CONFIG;
+    global $lang_charset, $lang_text_dir, $lang_xp_publish_php;
+
+    ?>
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
+<html dir="ltr">
+<head>
+<title><?php echo $lang_xp_publish_php['title'] ?></title>
+<meta http-equiv="Content-Type" content="text/html; charset=<?php echo $CONFIG['charset'] == 'language file' ? $lang_charset : $CONFIG['charset'];
+    ?>" />
+<style type="text/css">
+<!--
+body {
+        font-family : Verdana, Arial, Helvetica, sans-serif;
+        font-size: 12px;
+        background : #FFFFFF ;
+        color : Black;
+        margin: 20px;
+        border: 1px solid #000000;
+}
+
+td {
+        font-size: 12px;
+        padding-top: 5px;
+        padding-bottom: 0px;
+}
+
+h1{
+        font-weight: bold;
+        font-size: 22px;
+        font-family: Arial, Helvetica, sans-serif;
+        text-decoration: none;
+        line-height : 120%;
+        color : #0E72A4;
+}
+
+h2 {
+        font-family: Arial, Helvetica, sans-serif;
+        font-size: 18px;
+        color: #0E72A4;
+        text-decoration: underline;
+}
+
+h3 {
+        font-weight: bold;
+        font-family: Verdana, Arial, Helvetica, sans-serif;
+        font-size: 12px;
+        text-decoration: underline;
+}
+
+p {
+        font-family : Verdana, Arial, Helvetica, sans-serif;
+        font-size: 12px;
+        margin: 10px 10px 0px 0px;
+}
+
+ul {
+        margin-left: 5px;
+        margin-right: 0px;
+        margin-top: 10px;
+        margin-bottom: 10px;
+        padding: 0px;
+}
+
+li {
+        margin-left: 10px;
+        margin-top: 4px;
+        margin-bottom: 4px;
+        padding: 0px;
+        list-style-position: outside;
+        list-style-type: disc;
+}
+
+form {
+        display: inline;
+}
+
+input {
+        width: 200px;
+}
+
+-->
+</style>
+</head>
+
+<body>
+<h1><?php echo $lang_xp_publish_php['title'] ?></h1>
+<p></p>
+<?php
+}
+
+// Output page footer
+function output_footer()
+{
+    global $WIZARD_BUTTONS, $ONBACK_SCRIPT, $ONNEXT_SCRIPT;
+    global $CONFIG; //$PHP_SELF,
+
+    ?>
+
+<div id="content"></div>
+
+<script language="javascript" type="text/javascript">
+function create_alb() {
+        if (createAlb.newAlbName.value == ''){
+                return false;
+        } else {
+                createAlb.submit();
+        }
+}
+
+function create_alb_or_use_existing() {
+        if (createAlb.newAlbName.value == ''){
+                startUpload();
+        } else {
+                createAlb.submit();
+        }
+}
+
+function startUpload() {
+        var xml = window.external.Property('TransferManifest');
+        var files = xml.selectNodes('transfermanifest/filelist/file');
+
+        for (i = 0; i < files.length; i++) {
+                var postTag = xml.createNode(1, 'post', '');
+                postTag.setAttribute('href', '<?php echo trim($CONFIG['site_url'], '/') . '/' . $_SERVER['PHP_SELF'] . '?cmd=add_picture'?>&album=' + selform.album.value);
+                postTag.setAttribute('name', 'userpicture');
+
+                var dataTag = xml.createNode(1, 'formdata', '');
+                dataTag.setAttribute('name', 'MAX_FILE_SIZE');
+                dataTag.text = '10000000';
+                postTag.appendChild(dataTag);
+
+                files.item(i).appendChild(postTag);
+        }
+
+        var uploadTag = xml.createNode(1, 'uploadinfo', '');
+        uploadTag.setAttribute('friendlyname', '<?php echo javascript_string($CONFIG['gallery_name'])?>');
+        var htmluiTag = xml.createNode(1, 'htmlui', '');
+        htmluiTag.text = '<?php echo trim($CONFIG['site_url'], '/') . '/'?>';
+        uploadTag.appendChild(htmluiTag);
+
+        xml.documentElement.appendChild(uploadTag);
+
+        window.external.Property('TransferManifest')=xml;
+        window.external.SetWizardButtons(true,true,true);
+        content.innerHtml=xml;
+        window.external.FinalNext();
+}
+
+function OnBack() {
+        <?php echo $ONBACK_SCRIPT;
+    ?>
+        window.external.SetWizardButtons(false,true,false);
+}
+
+function OnNext() {
+        <?php echo $ONNEXT_SCRIPT;
+    ?>
+}
+
+function OnCancel() {
+}
+
+function window.onload() {
+        window.external.SetHeaderText('<?php echo javascript_string($CONFIG['gallery_name'])?>','<?php echo javascript_string($CONFIG['gallery_description'])?>');
+        window.external.SetWizardButtons(<?php echo $WIZARD_BUTTONS;
+    ?>);
+}
+</script>
+</body>
+</html>
+<?php
+}
+
+// Send the file needed to register the service under Windows XP
+function send_reg_file()
+{
+    global $CONFIG; //, $PHP_SELF;
+
+    header("Content-Type: application/octet-stream");
+    $time_stamp = time();
+        header("Content-Disposition: attachment; filename=cpg_".$time_stamp.".reg");
+
+    $lines[] = 'Windows Registry Editor Version 5.00';
+    //$lines[] = '[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\PublishingWizard\PublishingWizard\Providers\CopperminePhotoGallery]';
+        $lines[] = '[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\PublishingWizard\PublishingWizard\Providers\\'. $CONFIG['gallery_name'] .']';
+    $lines[] = '"displayname"="' . $CONFIG['gallery_name'] . '"';
+    $lines[] = '"description"="' . $CONFIG['gallery_description'] . '"';
+    $lines[] = '"href"="' . trim($CONFIG['site_url'], '/') . '/' . $_SERVER['PHP_SELF'] . '?cmd=publish"';
+    $lines[] = '"icon"="' . "http://" . $_SERVER['HTTP_HOST'] . '/favicon.ico"';
+    print join("\r\n", $lines);
+    print "\r\n";
+    exit;
+}
+
+// Display the login page
+function form_login()
+{
+    //global $PHP_SELF;
+    global $ONNEXT_SCRIPT, $ONBACK_SCRIPT, $WIZARD_BUTTONS;
+    global $template_login;
+    global $lang_login_php, $lang_xp_publish_php, $cpg_udb;
+	global $CONFIG;
+
+
+    if (!method_exists($cpg_udb,'login')) {
+        echo '<p>' . $lang_xp_publish_php['need_login'] . '</p>';
+        $ONNEXT_SCRIPT = '';
+        $ONBACK_SCRIPT = 'window.external.FinalBack();';
+        $WIZARD_BUTTONS = 'false,false,false';
+        return;
+    }
+
+    $params = array('{POST_ACTION}' => trim($CONFIG['site_url'], '/') . '/' . $_SERVER['PHP_SELF'] . '?cmd=publish',
+        '{ENTER_LOGIN_PSWD}' => $lang_login_php['enter_login_pswd'],
+        '{USERNAME}' => $lang_login_php['username'],
+        '{PASSWORD}' => $lang_login_php['password'],
+        );
+
+    echo template_eval($template_login, $params);
+
+    $ONNEXT_SCRIPT = 'login.submit();';
+    $ONBACK_SCRIPT = 'window.external.FinalBack();';
+    $WIZARD_BUTTONS = 'true,true,false';
+}
+
+// Process login information
+function process_login()
+{
+    global $CONFIG, $USER; //$PHP_SELF,
+    global $ONNEXT_SCRIPT, $ONBACK_SCRIPT, $WIZARD_BUTTONS;
+    global $template_login_success, $template_login_failure,$template_login;
+    global $lang_login_php, $cpg_udb;
+
+    $tt = 'worked';
+
+    if ( $USER_DATA = $cpg_udb->login(addslashes($_POST['username']), addslashes($_POST['password'])) ) {
+        $USER['am'] = 1;
+        user_save_profile();
+
+        $params = array('{WELCOME}' => sprintf($lang_login_php['welcome'], USER_NAME),
+            '{POST_ACTION}' => trim($CONFIG['site_url'], '/') . '/' . $_SERVER['PHP_SELF'] . '?cmd=publish',
+            );
+
+        echo template_eval($template_login_success, $params);
+    } else {
+        $params = array('{ERROR}' => $lang_login_php['err_login'],
+            '{POST_ACTION}' => trim($CONFIG['site_url'], '/') . '/' . $_SERVER['PHP_SELF'] . '?cmd=publish',
+            );
+
+
+        echo template_eval($template_login_failure, $params);
+    }
+
+    $ONNEXT_SCRIPT = 'dummy.submit();';
+    $ONBACK_SCRIPT = 'dummy.submit();';
+    $WIZARD_BUTTONS = 'true,true,false';
+}
+
+// Display the form that allows to choose/create the destination album
+function form_publish()
+{
+    global $CONFIG, $CAT_LIST; //, $PHP_SELF;
+    global $ONNEXT_SCRIPT, $ONBACK_SCRIPT, $WIZARD_BUTTONS;
+    global $template_select_album;
+    global $lang_xp_publish_php;
+
+    $alb_count = 0;
+    $html_album_list = html_album_list($alb_count);
+    $html_cat_list = html_cat_list();
+
+    if (!(USER_CAN_CREATE_ALBUMS || USER_IS_ADMIN)) {
+        template_extract_block($template_select_album, 'existing_albums');
+        template_extract_block($template_select_album, 'create_album');
+
+        $params = array('{WELCOME}' => sprintf($lang_xp_publish_php['welcome'], USER_NAME),
+            '{NO_ALBUM}' => $lang_xp_publish_php['no_alb'],
+            );
+
+        echo template_eval($template_select_album, $params);
+
+        $WIZARD_BUTTONS = "false,false,false";
+    } elseif (!$alb_count) {
+        template_extract_block($template_select_album, 'no_album');
+        template_extract_block($template_select_album, 'existing_albums');
+
+        if (!USER_IS_ADMIN) template_extract_block($template_select_album, 'select_category');
+
+        $params = array('{WELCOME}' => sprintf($lang_xp_publish_php['welcome'], USER_NAME),
+            '{CREATE_NEW}' => $lang_xp_publish_php['create_new'],
+            '{ALBUM}' => $lang_xp_publish_php['album'],
+            '{CATEGORY}' => $lang_xp_publish_php['category'],
+            '{SELECT_CATEGORY}' => $html_cat_list,
+            '{POST_ACTION}' => trim($CONFIG['site_url'], '/') . '/' . $_SERVER['PHP_SELF'] . '?cmd=create_album',
+            );
+
+        echo template_eval($template_select_album, $params);
+
+        $ONNEXT_SCRIPT = 'create_alb();';
+        $ONBACK_SCRIPT = 'window.external.FinalBack();';
+        $WIZARD_BUTTONS = 'true,true,false';
+    } else {
+        template_extract_block($template_select_album, 'no_album');
+
+        if (!USER_IS_ADMIN) template_extract_block($template_select_album, 'select_category');
+
+        $params = array('{WELCOME}' => sprintf($lang_xp_publish_php['welcome'], USER_NAME),
+            '{UPLOAD}' => $lang_xp_publish_php['upload'],
+            '{ALBUM}' => $lang_xp_publish_php['album'],
+            '{SELECT_ALBUM}' => $html_album_list,
+            '{CATEGORY}' => $lang_xp_publish_php['category'],
+            '{SELECT_CATEGORY}' => $html_cat_list,
+            '{CREATE_NEW}' => $lang_xp_publish_php['create_new'],
+            '{POST_ACTION}' => trim($CONFIG['site_url'], '/') . '/' . $_SERVER['PHP_SELF'] . '?cmd=create_album',
+            );
+
+        echo template_eval($template_select_album, $params);
+
+        $ONNEXT_SCRIPT = 'create_alb_or_use_existing();';
+        $ONBACK_SCRIPT = 'window.external.FinalBack();';
+        $WIZARD_BUTTONS = 'true,true,false';
+    }
+}
+
+// Create a new album where pictures will be uploaded
+function create_album()
+{
+    global $CONFIG;
+    global $ONNEXT_SCRIPT, $ONBACK_SCRIPT, $WIZARD_BUTTONS;
+    global $template_create_album;
+    global $lang_errors, $lang_xp_publish_php;
+
+    if (!(USER_CAN_CREATE_ALBUMS || USER_IS_ADMIN)) simple_die(ERROR, $lang_errors['perm_denied'], __FILE__, __LINE__);
+
+    if (USER_IS_ADMIN) {
+        $category = (int)$_POST['cat'];
+    } else {
+        $category = FIRST_USER_CAT + USER_ID;
+    }
+
+    $query = "INSERT INTO {$CONFIG['TABLE_ALBUMS']} (category, title, uploads, pos) VALUES ('$category', '" . addslashes($_POST['new_alb_name']) . "', 'NO',  '0')";
+    cpg_db_query($query);
+
+    $params = array('{NEW_ALB_CREATED}' => sprintf($lang_xp_publish_php['new_alb_created'], $_POST['new_alb_name']),
+        '{CONTINUE}' => $lang_xp_publish_php['continue'],
+        '{ALBUM_ID}' => mysql_insert_id(),
+        );
+
+    echo template_eval($template_create_album, $params);
+
+    $ONNEXT_SCRIPT = 'startUpload();';
+    $ONBACK_SCRIPT = 'window.external.FinalBack();';
+    $WIZARD_BUTTONS = 'true,true,true';
+}
+
+// Add a picture
+function process_picture()
+{
+    global $CONFIG, $IMG_TYPES;
+    global $lang_db_input_php, $lang_errors;
+
+    @unlink(LOGFILE);
+
+    if (!USER_ID || !USER_CAN_UPLOAD_PICTURES) simple_die(ERROR, $lang_errors['perm_denied'], __FILE__, __LINE__);
+
+    $album = (int)$_GET['album'];
+    $title = '';
+    $caption = '';
+    $keywords = '';
+    $user1 = '';
+    $user2 = '';
+    $user3 = '';
+    $user4 = '';
+    $position = 0;
+    // Check if the album id provided is valid
+    if (!USER_IS_ADMIN) {
+        $result = cpg_db_query("SELECT category FROM {$CONFIG['TABLE_ALBUMS']} WHERE aid='$album' and category = '" . (USER_ID + FIRST_USER_CAT) . "'");
+        if (mysql_num_rows($result) == 0) simple_die(ERROR, $lang_db_input_php['unknown_album'], __FILE__, __LINE__);
+        $row = mysql_fetch_array($result);
+        mysql_free_result($result);
+        $category = $row['category'];
+    } else {
+        $result = cpg_db_query("SELECT category FROM {$CONFIG['TABLE_ALBUMS']} WHERE aid='$album'");
+        if (mysql_num_rows($result) == 0) simple_die(ERROR, $lang_db_input_php['unknown_album'], __FILE__, __LINE__);
+        $row = mysql_fetch_array($result);
+        mysql_free_result($result);
+        $category = $row['category'];
+    }
+
+    // Get position
+    $result = cpg_db_query("SELECT position FROM {$CONFIG['TABLE_PICTURES']} WHERE aid='$album' order by position desc");
+    if (mysql_num_rows($result) == 0) {
+             $position = 100;
+    } else {
+             $row = mysql_fetch_array($result);
+             mysql_free_result($result);
+                     if ($row['position']) {
+                     $position = $row['position'];
+                             $position++;
+                                         }
+    }
+
+
+    // Test if the filename of the temporary uploaded picture is empty
+    if ($_FILES['userpicture']['tmp_name'] == '') simple_die(ERROR, $lang_db_input_php['no_pic_uploaded'], __FILE__, __LINE__);
+    // Create destination directory for pictures
+    if (USER_ID && !defined('SILLY_SAFE_MODE')) {
+        if (USER_IS_ADMIN && ($category != (USER_ID + FIRST_USER_CAT))) {
+            $filepath = 'wpw-' . date("Ymd");
+        } else {
+            $filepath = $CONFIG['userpics'] . (USER_ID + FIRST_USER_CAT);
+        }
+        $dest_dir = $CONFIG['fullpath'] . $filepath;
+        if (!is_dir($dest_dir)) {
+            mkdir($dest_dir, octdec($CONFIG['default_dir_mode']));
+            if (!is_dir($dest_dir)) simple_die(CRITICAL_ERROR, sprintf($lang_db_input_php['err_mkdir'], $dest_dir), __FILE__, __LINE__, true);
+            chmod($dest_dir, octdec($CONFIG['default_dir_mode']));
+            $fp = fopen($dest_dir . '/index.html', 'w');
+            fwrite($fp, ' ');
+            fclose($fp);
+        }
+        $dest_dir .= '/';
+        $filepath .= '/';
+    } else {
+        $filepath = $CONFIG['userpics'];
+        $dest_dir = $CONFIG['fullpath'] . $filepath;
+    }
+    // Check that target dir is writable
+    if (!is_writable($dest_dir)) simple_die(CRITICAL_ERROR, sprintf($lang_db_input_php['dest_dir_ro'], $dest_dir), __FILE__, __LINE__, true);
+
+    $matches = array();
+
+    if (get_magic_quotes_gpc()) $_FILES['userpicture']['name'] = stripslashes($_FILES['userpicture']['name']);
+    // Replace forbidden chars with underscores
+    $picture_name = replace_forbidden($_FILES['userpicture']['name']);
+    // Check that the file uploaded has a valid extension
+    if (!preg_match("/(.+)\.(.*?)\Z/", $picture_name, $matches)) {
+        $matches[1] = 'invalid_fname';
+        $matches[2] = 'xxx';
+    }
+
+    if ($matches[2] == '' || !is_known_filetype($matches)) {
+        simple_die(ERROR, sprintf($lang_db_input_php['err_invalid_fext'], $CONFIG['allowed_file_extensions']), __FILE__, __LINE__);
+    }
+
+    // Create a unique name for the uploaded file
+    $nr = 0;
+    $picture_name = $matches[1] . '.' . $matches[2];
+    while (file_exists($dest_dir . $picture_name)) {
+        $picture_name = $matches[1] . '~' . $nr++ . '.' . $matches[2];
+    }
+    $uploaded_pic = $dest_dir . $picture_name;
+    // Move the picture into its final location
+    if (!move_uploaded_file($_FILES['userpicture']['tmp_name'], $uploaded_pic))
+        simple_die(CRITICAL_ERROR, sprintf($lang_db_input_php['err_move'], $picture_name, $dest_dir), __FILE__, __LINE__, true);
+    // Change file permission
+    chmod($uploaded_pic, octdec($CONFIG['default_file_mode']));
+
+    // Check file size. Delete if it is excessive.
+    if (filesize($uploaded_pic) > ($CONFIG['max_upl_size'] << 10)) {
+        @unlink($uploaded_pic);
+        simple_die(ERROR, sprintf($lang_db_input_php['err_imgsize_too_large'], $CONFIG['max_upl_size']), __FILE__, __LINE__);
+    } elseif (is_image($picture_name)) {
+
+        // Get picture information
+        $imginfo = getimagesize($uploaded_pic);
+
+        // getimagesize does not recognize the file as a picture
+        if ($imginfo == null) {
+            @unlink($uploaded_pic);
+            simple_die(ERROR, $lang_db_input_php['err_invalid_img'], __FILE__, __LINE__, true);
+        }
+
+        // JPEG and PNG only are allowed with GD
+        //if ($imginfo[2] != GIS_JPG && $imginfo[2] != GIS_PNG && ($CONFIG['thumb_method'] == 'gd1' || $CONFIG['thumb_method'] == 'gd2')) {
+        if ($imginfo[2] != GIS_JPG && $imginfo[2] != GIS_PNG && $CONFIG['GIF_support'] == 0) {
+            @unlink($uploaded_pic);
+            simple_die(ERROR, $lang_errors['gd_file_type_err'], __FILE__, __LINE__, true);
+        }
+
+        // Check that picture size (in pixels) is lower than the maximum allowed
+        if (max($imginfo[0], $imginfo[1]) > $CONFIG['max_upl_width_height']) {
+            if ((USER_IS_ADMIN && $CONFIG['auto_resize'] == 1) || (!USER_IS_ADMIN && $CONFIG['auto_resize'] > 0)) //($CONFIG['auto_resize']==1)
+            {
+              //resize_image($uploaded_pic, $uploaded_pic, $CONFIG['max_upl_width_height'], $CONFIG['thumb_method'], $imginfo[0] > $CONFIG['max_upl_width_height'] ? 'wd' : 'ht');
+              resize_image($uploaded_pic, $uploaded_pic, $CONFIG['max_upl_width_height'], $CONFIG['thumb_method'], $CONFIG['thumb_use']);
+            }
+            else
+            {
+              @unlink($uploaded_pic);
+              simple_die(ERROR, sprintf($lang_db_input_php['err_fsize_too_large'], $CONFIG['max_upl_width_height'], $CONFIG['max_upl_width_height']), __FILE__, __LINE__);
+            }
+        }
+
+    }
+
+    // Create thumbnail and internediate image and add the image into the DB
+    $result = add_picture($album, $filepath, $picture_name, $position, $title, $caption, $keywords, $user1, $user2, $user3, $user4, $category);
+
+    if (!$result) {
+        @unlink($uploaded_pic);
+        simple_die(CRITICAL_ERROR, sprintf($lang_db_input_php['err_insert_pic'], $uploaded_pic) . '<br /><br />' . $ERROR, __FILE__, __LINE__, true);
+    } else {
+        echo ("SUCCESS");
+        exit;
+    }
+
+}
+// ------------------------------------------------------------------------- //
+if (USER_IS_ADMIN && !GALLERY_ADMIN_MODE) {
+    $USER['am'] = 1;
+    user_save_profile();
+}
+
+$cmd = empty($_GET['cmd']) ? '' : $_GET['cmd'];
+
+if (!USER_ID && $cmd && $cmd != 'send_reg') $cmd = 'login';
+if (!empty($_POST['username'])) $cmd = 'process_login';
+
+switch ($cmd) {
+    case 'login' :
+        output_header();
+        form_login();
+        output_footer();
+        break;
+
+    case 'process_login' :
+        output_header();
+        process_login();
+        output_footer();
+        break;
+
+    case 'publish' :
+        output_header();
+        form_publish();
+        output_footer();
+        break;
+
+    case 'create_album' :
+        output_header();
+        create_album();
+        output_footer();
+        break;
+
+    case 'add_picture' :
+        process_picture();
+        break;
+
+    case 'send_reg' :
+        send_reg_file();
+        break;
+
+    default:
+        display_instructions();
+} // switch
+
+?>
diff -x .svn -aruN 1.4.24.src/zipdownload.php 1.4.25.src/zipdownload.php
--- 1.4.24.src/zipdownload.php	2009-05-21 15:03:09.000000000 -0500
+++ 1.4.25.src/zipdownload.php	2009-05-26 11:25:52.000000000 -0500
@@ -1,66 +1,66 @@
-<?php
-/*************************
-  Coppermine Photo Gallery
-  ************************
-  Copyright (c) 2003-2009 Coppermine Dev Team
-  v1.1 originally written by Gregory DEMAR
-
-  This program is free software; you can redistribute it and/or modify
-  it under the terms of the GNU General Public License version 3
-  as published by the Free Software Foundation.
-  
-  ********************************************
-  Coppermine version: 1.4.24
-  $HeadURL: https://coppermine.svn.sourceforge.net/svnroot/coppermine/trunk/cpg1.4.x/zipdownload.php $
-  $Revision: 5969 $
-  $Author: gaugau $
-  $Date: 2009-05-21 22:03:33 +0200 (Do, 21 Mai 2009) $
-**********************************************/
-
-define('IN_COPPERMINE', true);
-define('THUMBNAILS_PHP', true);
-define('INDEX_PHP', true);
-require('include/init.inc.php');
-include ( 'include/archive.php');
-
-if ($CONFIG['enable_zipdownload'] != 1) {
-//someone has entered the url manually, while the admin has disabled zipdownload
-pageheader($lang_error);
-starttable('-2', $lang_error);
-print <<<EOT
-<tr>
-        <td align="center" class="tableb">
-      {$lang_errors['perm_denied']}
-      </td>
-</tr>
-EOT;
-endtable();
-pagefooter();
-ob_end_flush();
-} else {
-// zipdownload allowed, go ahead...
-$filelist= array();
-
-if (count($FAVPICS)>0){
-        $favs = implode(",",$FAVPICS);
-
-        $select_columns = 'filepath,filename';
-
-        $result = cpg_db_query("SELECT $select_columns FROM {$CONFIG['TABLE_PICTURES']} WHERE approved = 'YES'AND pid IN ($favs)");
-        $rowset = cpg_db_fetch_rowset($result);
-        foreach ($rowset as $key => $row){
-
-                $filelist[] = $rowset[$key]['filepath'].$rowset[$key]['filename'];
-
-        }
-}
-
-$cwd = "./{$CONFIG['fullpath']}";
-$zip = new zip_file('pictures.zip');
-$zip->set_options(array('basedir' => $cwd, 'inmemory' => 1, 'recurse' => 0, 'storepaths' => 0));
-$zip->add_files($filelist);
-$zip->create_archive();
-ob_end_clean();
-$zip->download_file();
-}
+<?php
+/*************************
+  Coppermine Photo Gallery
+  ************************
+  Copyright (c) 2003-2009 Coppermine Dev Team
+  v1.1 originally written by Gregory DEMAR
+
+  This program is free software; you can redistribute it and/or modify
+  it under the terms of the GNU General Public License version 3
+  as published by the Free Software Foundation.
+  
+  ********************************************
+  Coppermine version: 1.4.25
+  $HeadURL: https://coppermine.svn.sourceforge.net/svnroot/coppermine/trunk/cpg1.4.x/zipdownload.php $
+  $Revision: 5997 $
+  $Author: gaugau $
+  $Date: 2009-05-26 08:43:24 +0200 (Di, 26 Mai 2009) $
+**********************************************/
+
+define('IN_COPPERMINE', true);
+define('THUMBNAILS_PHP', true);
+define('INDEX_PHP', true);
+require('include/init.inc.php');
+include ( 'include/archive.php');
+
+if ($CONFIG['enable_zipdownload'] != 1) {
+//someone has entered the url manually, while the admin has disabled zipdownload
+pageheader($lang_error);
+starttable('-2', $lang_error);
+print <<<EOT
+<tr>
+        <td align="center" class="tableb">
+      {$lang_errors['perm_denied']}
+      </td>
+</tr>
+EOT;
+endtable();
+pagefooter();
+ob_end_flush();
+} else {
+// zipdownload allowed, go ahead...
+$filelist= array();
+
+if (count($FAVPICS)>0){
+        $favs = implode(",",$FAVPICS);
+
+        $select_columns = 'filepath,filename';
+
+        $result = cpg_db_query("SELECT $select_columns FROM {$CONFIG['TABLE_PICTURES']} WHERE approved = 'YES'AND pid IN ($favs)");
+        $rowset = cpg_db_fetch_rowset($result);
+        foreach ($rowset as $key => $row){
+
+                $filelist[] = $rowset[$key]['filepath'].$rowset[$key]['filename'];
+
+        }
+}
+
+$cwd = "./{$CONFIG['fullpath']}";
+$zip = new zip_file('pictures.zip');
+$zip->set_options(array('basedir' => $cwd, 'inmemory' => 1, 'recurse' => 0, 'storepaths' => 0));
+$zip->add_files($filelist);
+$zip->create_archive();
+ob_end_clean();
+$zip->download_file();
+}
 ?>
\ No newline at end of file
